Commit Graph

256 Commits

Author SHA1 Message Date
一只前端汪
9e1c8f6c4e chore(components): [table] fix typo (#14473)
chore(other): update explanatory note
2023-10-08 14:39:45 +08:00
Frank Fang
5f028f8449 fix(components): [table] add tabindex to tbody to fix #13991 (#14020)
* fix(components): [table] add tabindex to tbody to fix #13991

* remove :focus style

* fix: remove the focus outline

* fix: replace focus with focus-visible

* chore: add comments to explain why the tabIndex attr is needed
2023-08-30 14:01:45 +08:00
Karolis_Stoncius_Sneakybox
b9a8879e06 fix(components): [table] add table selection checkbox aria-labels (#13908)
When checkboxes have no label, it causes accessibility issues. This commit adds aria-labels to
table's selection checkboxes
2023-08-12 13:35:58 +08:00
ZheGuangLi
7e81efd999 fix(components): fix the problem that chrome 72 table doesnotdisplaydata (#10640)
Fix the problem that the chrome 72 tab table does not display data. This is caused by the fact that
the extension operator becomes an empty object in a special scenario

BREAKING CHANGE :
The writing method of shallow copy is replaced

closed #8770,#9071,#7038

Co-authored-by: btea <2356281422@qq.com>
2023-08-12 10:00:45 +08:00
btea
7663040722 refactor(components): [table] reuse rAF (#13918) 2023-08-10 11:50:15 +08:00
lxy030988
1bd75dd6c9 fix(components): [el-table] rangeWidth dealing with loss of precision (#12938)
* fix(components): [el-table] rangeWidth use Math.ceil

Closes #12687

* fix(components): [el-table] rangeWidth calculate

Closes 12938

* fix(components): [el-table] offsetWidth calculate

Closes #12938
2023-07-30 08:59:28 +08:00
wonderl17
b1572a9c17 fix(components): [table] add filteredValue watcher (#13121) 2023-07-22 08:49:23 +08:00
Kaine
a1dd70eead style(theme-chalk): [table] fix th font weight (#13556)
style(theme-chalk): [table] change th font weight to 600

style(theme-chalk): [table] remove tag style files

Co-authored-by: kaine <kainewan@163.com>
2023-07-13 10:36:04 +08:00
btea
6f4560e57a fix(components): [table] multiple line ellipsis tooltip takes effect (#12805) 2023-07-02 17:26:19 +08:00
btea
2b668bd815 test: [table] add show-overflow-tooltip to table and table-column (#13323) 2023-06-21 19:56:02 +08:00
btea
74c2448ce4 fix(components): [table] adjust the showOverflowTooltip value logic (#13282)
* fix(components): [table] adjust the showOverflowTooltip value logic

* fix: set showOverflowTooltip default value to undefined
2023-06-20 16:04:26 +08:00
yuyin
b9799a1914 feat(components): [Table] add show-overflow-tooltip props (#13169)
* feat(components): [Table] add show-overflow-tooltip props

* docs(components): [Table] add usage for show-overflow-tooltip

* fix(components): [TableColumn] props priority

* test(components): add unit test for table
2023-06-17 21:30:53 +08:00
Masanori Doizaki
4218ef2594 fix(components): [table] fix clearFilter type (#13149) 2023-06-08 13:49:13 +00:00
dopamine
cb01089128 fix(components): [table] width of columns become 0 unexpectedly (#12920) 2023-06-03 21:07:58 +08:00
init-qy
e25caadcef fix(components): [table] add missing append height (#12676) 2023-06-03 11:03:55 +08:00
Xc
015ac099cb fix(components): [table] maxHeight shark (#12349) 2023-05-29 20:16:31 +08:00
btea
b1d84411d5 fix(components): [table] text node not have closest method (#12543) 2023-04-23 20:58:19 +08:00
btea
105d79b0d9 refactor: extract isClient and isNumber isBoolean (#12504)
* refactor: extract isClient and isNumber isBoolean

* test: update test

* refactor: extract isClient to browser
2023-04-20 20:00:49 +08:00
井柏然
87e9348d8e refactor(components): [table] remove useless brackets (#12283) 2023-04-01 21:24:46 +08:00
井柏然
9956249236 fix(components): [table-column] first default column set placeholder (#11705) 2023-03-14 12:30:29 +08:00
Mario34
da73213549 fix(components): [table] useZIndex is called outside setup (#11895) (#11900) 2023-03-08 22:30:43 +08:00
Jeremy
4c27822ef0 fix(components): circular referencing issue (#11777)
* fix(components): circular referencing issue

* Move sizes related into hooks.
* Remove size definitions in forms only re-exports.

* chore: fix failing tests
2023-03-01 16:44:09 +08:00
Jeremy
11925c8231 refactor(tokens) - [form] (#11743)
* refactor(tokens): [form] - remove tokens/form

* Move content in tokens/form to components/form.
* Replace token imports in components/form.

* chore: remove form/tokens and replace imports

* refactor(components): [form/form-item]

* Move `useForm` related hooks to components/form
* Replace references to reduce circular dependencies.
2023-02-27 13:19:20 +08:00
wonderl17
8280a0b322 chore(components): [table] fix table config typo (#11700) 2023-02-24 18:36:23 +09:00
Jacob Alspaw
e444e0c942 fix(components): [table] fix an undefined reference in table-layout (#11204)
Co-authored-by: zz <2418184580@qq.com>
2023-02-18 15:20:14 +08:00
ivan0525
609b3a76ce chore(components): [table] fix tests typo (#11445)
fix(components): [table] fix tests typo
2023-02-07 21:25:43 +08:00
井柏然
9721912342 fix(components): [table-column] column miss update due to key (#8528) (#10679)
* fix(components): [table-column] column miss update due to key (#8528)

* fix(components): [table-column] column miss update due to key (#8528)

* fix(components): [table-column] ts lint (#8528)

* fix(components): [table-column] column miss update due to key (#8528)

* fix(components): [table-column] states.updateOrderFns remove ref (#8528)

* fix(components): [table-column] add test for table (#8528)

* Update packages/components/table/src/store/watcher.ts

Co-authored-by: qiang <qw13131wang@gmail.com>

* fix(components): [table-column] fix ts define (#8528)

* fix(components): [table-column] column miss update due to key (#8528)

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2023-01-28 10:28:08 +08:00
bartoszrudzinski
65a9cca1ed fix(components): default table cell padding SCSS variable fix (#10708)
closed #10706

Co-authored-by: bartoszrudzinski <bartosz.rudzinski@infermedica.com>
2023-01-18 16:29:01 +08:00
Zhongxiang Wang
cf5847263f feat(components): [table] overflow tooltip supports enterable and customization (#10984)
* feat(components): [table] overflow tooltip supports `enterable`

* fix(components): [table] fix modifiers merge

* fix(components): [table] refine logic & fix popperClass isn't respected

* docs(components): [table] add docs for `tooltip-options` & `show-overflow-tooltip`

* docs(components): [table]

* docs(components): [table] update version tag

Co-authored-by: Xc <124118265@qq.com>
2022-12-22 12:20:07 +08:00
hankin.dream
e0150db5b6 fix(components): [table]fix the problem that show-overflow-tooltip will also be displayed when the browser is zoomed (#10816)
closed https://github.com/element-plus/element-plus/issues/10790
2022-12-02 13:13:43 +08:00
init-qy
ec434a7044 fix(components): [table] fix error in dynamic change table-column (#10713) 2022-11-26 11:52:48 +08:00
RealityBoy
d8a116c37f fix(components): [table] optimizate types export (#10677)
* fix(components): [table] optimizate types export

* chore: update
2022-11-20 16:51:04 +08:00
Xc
cb490ae3c1 docs(components): [scrollbar] (#10564)
* docs(components): [scrollbar]
2022-11-13 19:51:13 +08:00
faga
d2fb4ffc50 fix(component): [table] can't select row children (#10221)
* fix: table select children

* fix: table select children

* test(components): selectable tree table

* fix: toggle multiple-layer tree

* fix(components): [table]

toggleRowStatus fix

* chore: suggest code style

* chore: isArray instead of row.children

* chore: fix unit test error

* chore: select event trigger only once

* style: code style change

* chore: code style change

* chore: code integration

* chore: code style change

* chore: code style change

* chore: code style change

* chore: [table] code style change

* style: [table] brace style

Co-authored-by: faga <lzc295592@163.com>
2022-11-05 17:18:37 +08:00
tinyfind
9285109a0c fix(components): [table] fixed column supported in grouped header (#10096)
* fix(components): [table] fixed column supported in grouped header

* fix(components): [table] fixed column supported in grouped header

* fix(components): [table] fixed column supported in grouped header

* fix(components): [table] fixed column supported in grouped header
2022-10-23 19:56:20 +08:00
tinyfind
2fb99b01e1 fix(components): [table] fix merge cell cannot show side shadow (#10095) 2022-10-19 10:15:59 +08:00
Simon He
bae2a62ba0 fix(component): [table] row-key due to current-change trigger (#10060)
fix: table row-key due to current-change trigger
2022-10-18 12:23:29 +08:00
YangLGggggggggg
6a53793c6f feat: export type TableInstance TableColumnInstance (#10021) 2022-10-13 10:58:56 +08:00
init-qy
b9173bb658 fix(components): [table] wrong hover style in nested tables (#9932)
* fix(components): [table] wrong hover style in nested tables

* fix(components): [table] fix wrong hover style in nested tables

Co-authored-by: init-qy <953218204@qq.com>
2022-10-04 16:06:02 +08:00
热爱vue的小菜鸟
6218e4ddc5 fix(components): [table] throw error when no matching column (#9682)
* Cannot read properties of null (reading 'id')

* fix(components): [table] fix Cannot read properties of null (reading 'id')
2022-09-07 15:50:40 +08:00
zz
6def14db3b fix(components): [table] fix namespace (#9654) 2022-09-06 12:17:14 +08:00
LIUCHAO
401a275049 fix(components): [table] selection column don't create table placeholder (#9637)
closed #8363
2022-09-05 19:37:25 +08:00
小的的
d0dbd19f75 fix(components): [table] typed column's min-width not effect (#9540) (#9593) 2022-09-04 23:16:53 +08:00
wiidede
5f39b8950c fix(components): [table] toggleRowExpansion typing (#9512) 2022-09-01 09:41:56 +08:00
RealityBoy
a155663f19 perf(components): [table] export table defaults (#8393) 2022-08-31 15:08:49 +08:00
热爱vue的小菜鸟
0373b01940 Table using load to click to expand will trigger multiple load callbacks (#9397)
* Cannot read properties of null (reading 'id')

If columnKey is not set, execute clearFilter and prompt Cannot read properties of null (reading 'id')
Suggestion: Add judgment to clearly prompt developers

* Update util.ts

* Update util.ts

* Update util.ts

* Update config.ts

* fix:table

* Update util.ts
2022-08-31 13:39:16 +08:00
wiidede
a8a556d0ea fix(components): [table] el-table__placeholder class disappear(#9527) (#9529) 2022-08-31 11:49:45 +08:00
神楽坂みずき
954b8408af fix(components): [table] fix sort-change event behavior (#4640)
* fix(components): fix `sort-change` event behavior when sort condition is `null`

* chore: fix typo

* typo

* add tests

* apply suggestions

Co-authored-by: tolking <qw13131wang@gmail.com>

Co-authored-by: tolking <qw13131wang@gmail.com>
2022-08-30 17:52:40 +08:00
LIUCHAO
1347fdf35a fix(components): [table] bodyWrapper resized calculate scrollbarStyle (#9149)
* fix(components): [table] tableWrapper resized update scrollbar

* fix(components): [table] Listen to the bodyWrapper

* fix(components): [table] fix max-height

* fix(components): [table] modify scrollbar height error
2022-08-25 12:05:31 +08:00
qiang
43a2c69ad1 refactor(components): [table] style of the footer-wrapper (#9084)
* refactor(components): [table] style of the footer-wrapper

closed #9065

* fix(theme-chalk): [table] optimized style
2022-08-25 12:04:35 +08:00