lijianan
80498afea6
test: refactor test case CC => FC ( #40068 )
2 years ago
kiner-tang(文辉)
b91bab09b2
fix(table): reset aria-label in table column ( #39738 )
* feat: reset aria-label in table column
* feat: reset aria-label in table column
2 years ago
afc163
08e4598baa
fix(Table): don't trigger sort when pressing enter in filter dropdown ( #38585 )
close #38579
2 years ago
kiner-tang(文辉)
2dbfbea502
fix(table): fix Table `aria-label` contains `[object Object]` ( #38389 )
* fix: columns title render not as expected
* feat: code optimize
* feat: update test case
* feat: update test case
* feat: code optimize
* Update components/table/__tests__/Table.test.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* feat: update aria-label
* feat: update test case
* feat: update snapshots
* feat: update snapshots
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
二货爱吃白萝卜
216f25c457
Revert "fix(table): aria-label should be use the first text content in element when column title is ReactElement in table" ( #38383 )
* Revert "fix(table): aria-label should be use the first text content in element when column title is ReactElement in table (#38160 )"
This reverts commit 21c4bcf40a
.
* test: Update snapshot
2 years ago
kiner-tang(文辉)
21c4bcf40a
fix(table): aria-label should be use the first text content in element when column title is ReactElement in table ( #38160 )
* fix: aria-lable should be use the first text content in element when title is ReactElement
* fix: aria-label should be use the first text content in element when title is ReactElement
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: update snapshots
* feat: update snapshots
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2 years ago
lijianan
c34caad24c
test: js => ts ( #37392 )
* test: js => ts
* test: add test
* fix: fix eslint error
* test: add test case
* fix: fix test error
* fix: fix eslint error
* fix: fix eslint error
* fix: eslint error fix
* fix: fallback eslint config & add test case
* test: add all test case
* fix: bugfix
* fix: bugFix
* fix: bugFix
* fix: bugFix
* fix: lint
* fix: add React.createRef
* fix: add breadcrumbName in Routes
* fix: any commit for restart ci/cd
* fix: remove type
* fix: test fix
* fix: test fix
* fix: add ts-ignore for id
* test: add Icon test case
* test: remove ts-ignore
* test: add Icon test case
2 years ago
Dmitry Artamonov
a34c9cef7f
Fix: sortable columns are not indicated as such for screen readers ( #37167 )
2 years ago
MadCcc
ab4d656b7b
test: add table multi-sort case ( #37109 )
* test: add table multi-sort case
* chore: code clean
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
dingkang
dfd1897063
test: replace test case with test library ( #35925 )
* test: replace test case with test library
* test: replace test case with test library
* test: update snapshots
3 years ago
afc163
5a6b3ccd98
fix: Table columns sorter a11y experience ( #35269 )
* Make table sortable columns focusable and keyboard accessible.
* Fix typo.
* Change focus style for sortable table column header from broken outline to color text.
* Update snapshots.
* Change order to fix lint error.
* Add unit test to test sorting with keypress.
* Update components/table/hooks/useSorter.tsx
* chore: improve code style
* style: use focus-visible
* fix: test case
* test: update snapshot
Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com>
3 years ago
MadCcc
222ee1f3ad
Revert "revert: Revert "Merge branch 'feature' into master" ( #33903 )"
This reverts commit 6b1a48d5ed
.
3 years ago
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" ( #33903 )
This reverts commit 40433f357d
, reversing
changes made to 27a498e021
.
3 years ago
Dan Greene
a39ddcf798
feat: resolves issue 33572 re aria-sort on tables ( #33603 )
* feat: resolves issue 33572 re aria-sort on tables
* fixing snapshots
* removing code that can't be hit anyway
3 years ago
afc163
082f626a3e
style: redesign Table header action ( #30651 )
* feat: improve Table filter and sorter position
* fix: edge cases of th border
* fix lint
* style: apply new design
* fix css detail
* fix stylelint
* fix css error
* style: sorter icon hover color
* fix test cases
* update snapshot
* fix th padding
* fix calc
* style: fix dark theme
4 years ago
陈帅
40f9be9417
megre Feature into master ( #29141 )
* feat: Allow user to configure the Tooltip in the Table header (#29002 )
* feat: Table header supports tooltipPlacement
* docs: add Table tooltipPlacement
* feat: Allow user to configure the Tooltip in the Table header
* fix: fix jsx and use old code style
* fix: replace if blocks with ternary operator
* docs: fix url
Co-authored-by: 偏右 <afc163@gmail.com>
* docs: fix url
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
* fix: Row with gutter has additional gap (#29059 )
* chore: init gutter
* feat: col support gap
* chore: Update playground
* fix: Safari padding
* test: fix test case
* test: More test case
* docs: Update demo
* test: Update coverage
* test: Update test hack
* feat(input-number): add keyboard prop to support disable keyboard (#29110 )
Co-authored-by: Ant Design GitHub Bot <yesmeck+ant-design-bot@gmail.com>
Co-authored-by: Harrison <stlebea@foxmail.com>
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
4 years ago
Harrison
755669a68b
feat: Allow user to configure the Tooltip in the Table header ( #29002 )
* feat: Table header supports tooltipPlacement
* docs: add Table tooltipPlacement
* feat: Allow user to configure the Tooltip in the Table header
* fix: fix jsx and use old code style
* fix: replace if blocks with ternary operator
* docs: fix url
Co-authored-by: 偏右 <afc163@gmail.com>
* docs: fix url
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
4 years ago
二货机器人
d6d3de8a1b
fix: table multiple sorter ( #24852 )
* fix sort callback
* add test case
5 years ago
二货机器人
0d46d07ad1
test: Add test coverage ( #23884 )
5 years ago
二货机器人
b28b2007be
fix: Center not work in Table ( #22858 )
* fix: Center not work in Table
* update snapshot
* fix test case
5 years ago
二货机器人
9dbd41a853
fix: Table column group with controlled sorter ( #22450 )
* update interface
* support group sorterOrder controlled
* add test case
* fix test case
5 years ago
二货机器人
e868c87530
fix: Table.Column sortOrder is not working in JSX mode ( #21719 )
* fix: Table.Column sortOrder is not working in JSX mode
* clean up
* update snapshot
5 years ago
zefeng
e262d14c2b
feat: more obviously tips for next sort ( #21631 )
5 years ago
二货机器人
b4519407b8
fix: Table.Column should correct handle sorter state ( #21194 )
5 years ago
偏右
df8f34309f
revert Table page return 1 after sort ( #20507 )
close #16978
close #17770
close #17648
close #18099
close #17075
close #19369
5 years ago
二货机器人
7b4123258b
fix: table should not show sorter when sorter is falsy ( #20187 )
fix #20096
5 years ago
二货机器人
72a7ba618f
New Table ( #19678 )
* chore: update rc-table
* add basic table style
* checked all logic
* checkbox support disabled
* selection style
* selection support radio
* add selections support
* selection extra style
* select all locale
* sorter logic
* add more desc
* init Filter hooks
* init filter hooks
* update style
* filter style
* filter style
* fix filter
* sort control
* ajax it
* add expandedable css
* expandable view style
* fixed style
* border style
* empty style
* fix pagination style
* add fixed demo
* un-comment
* clean up
* fix filter check logic
* fix overflow & ellipsis conflict
* fix tes
* adjust scroll shadow
* fix border fixed style
* add part of test case
* add filter test part
* more test case
* issue related test
* filter test
* adjust pagination logic
* fix pagination test case
* all selection test case
* table sorter test case
* table basic test
* fix test case
* update faq
* update expandable doc
* add v4 doc
* add summary docs
* more demo
* fix selection
* update snapshot
* update test case
* fix ff styling
* update rc-table
* update snapshot
* update snapshot
* fix lint
* fix style lint
* fix style
* update snapshot
* update desc
* fix missing icon
5 years ago
afc163
b697ef1213
🐛 Fix Table Column defaultSortOrder not working
5 years ago
afc163
0bdf682a80
🐛 Fix Table inifinite loop issue
5 years ago
afc163
99d8f07607
🐛 Fix sort order of columns in render
array value of columns
close #19398
5 years ago
yoyo837
5a07b85d9e
upgrade `fires change event` test case
5 years ago
afc163
916c0659bd
✅ increase Table test coverage
5 years ago
afc163
66ca4a8b25
✅ more test cases
5 years ago
orzyyyy
ac3f319ad2
fix: lint:es
5 years ago
zombieJ
e67270cd59
fix: Table with sort should reset to first page ( #17020 )
* sort reset pagination
* add test case
6 years ago
Harlan
6b6ec278cc
Table: add prop `sortDirections` for table and column ( #13773 )
* Table: add prop `sortMethods`
with `sortMethods` user can change table sort methods and its order
* Table: `sortMethods` can be set on column prop
* rename `sortMethods` to `sortDirections`
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
Laith
2bf0fadb11
Starting sort order with 'ascend', then 'descend', then undefined. ( #13069 )
6 years ago
afc163
a7f17b4cde
Fix sort order broken issue when columns were put in render
will handle these situation
- with 'key'
- with function has same stringify value
close #12870
close #12737
6 years ago
afc163
688f4ec8d6
Fix sort state not change when columns in render
close #12571
6 years ago
afc163
8d3cb85142
fix sort state when toggle between multiple columns
6 years ago
afc163
f0974e0da7
support column.title as render props
```jsx
columns={[{
title: (filters, sortOrder) => <div>Title</div>,
}]}
```
close #11246
6 years ago
afc163
8feb15ea72
fix test case
6 years ago
Ash Kumar
013932e6d3
Feature: (Issue 10213): Column 'sorter' function is passed 'sortOrder' as param ( #10306 )
* Table Column's sorter prop can now be provided a fn to which 'sortOrder' is passed as param
* head.md: added documentation for new use of 'sorter' prop function
7 years ago
Graeme Yeates
8395de01a2
Add support for column defaultSortOrder ( #6449 ) ( #8111 )
Fixes #6449
7 years ago
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
7 years ago
Wei Zhu
1547b889b7
Revert "Add support for table default sort order" ( #7414 )
7 years ago