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
MadCcc
0a0f96798d
chore: snapshot
2 years ago
afc163
d667d1948f
chore: fix lint ( #38005 )
2 years ago
afc163
416c61f08e
fix: Table ellipsis title missing
close #37977
2 years ago
MadCcc
2471bf88aa
test: fix test
2 years ago
hms181231
1928f10b69
test: Update table test sleep -> useFakeTimers ( #37914 )
* feat:update table test sleep -> useFakeTimers
* test: tabel test case waitFakeTimer(500) -> waitFakeTimer()
2 years ago
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2 years ago
kiner-tang(文辉)
f6a3f40308
feat(table): support close fn to close filter dropdown only ( #37745 )
* feat: support close fn to close filter dropdown only
* feat: update demo
* feat: reset change
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2 years ago
二货机器人
7dbc5b735a
test: Update snapshot
2 years ago
二货机器人
069e44bcc3
chore: merge master
2 years ago
Wuxh
a70ef1b8da
fix(Badge): fix accidentally rendering an empty element when text props is empty ( #37681 )
* test(badge): add case
* fix(badge): fix accidentally rendering an empty element when text props is empty
* chore(badge): update demo
* test(badge): update snapshot
* docs: beautify docs
Add several supported ways to describe colors
* test(badge): update snapshot
* chore: update snapshot
* test: update snapshots
* Revert "test: update snapshots"
This reverts commit 2bd11650aea3b3a447a891f09708032f9c41cb3d.
* test: update snapshot
2 years ago
kiner-tang(文辉)
51e47bdbb4
fix: update FilterSearchType type definition ( #37610 )
* fix: 更新 FilterSearchType 类型描述
* fix: 更新 FilterSearchType 类型描述
* fix: 更新 FilterSearchType 类型描述
* fix: 更新 FilterSearchType 类型描述
* feat: 优化类型
* feat: update snapshots
* feat: add type test case
* feat: remove unused type declared
* feat: lint
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2 years ago
MadCcc
c61f283487
feat: switch motion ( #37658 )
* feat: switch motion
* chore: code clean
* feat: active text offset
* chore: update snapshot
2 years ago
MadCcc
415c22bc8c
refactor: menu theme style ( #37640 )
2 years ago
二货爱吃白萝卜
09b6032ec4
fix: Table column.title missing `filters` prop ( #37629 )
* fix: Table title missing filter data
* test: add test case
2 years ago
edc-hui
ff6fd118de
fix(Table): filterSearch function does not execute when filterMode is tree ( #37587 )
2 years ago
MadCcc
7a73035f82
chore: fix snapshot
2 years ago
huisiyu
711ed90141
docs: fix table filterSearch function doesn't work demo ( #37536 )
2 years ago
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
huisiyu
4692733ca9
fix(Popconfirm): the title element does not have padding when icon is not set and update jest snapshot ( #37384 )
2 years ago
二货爱吃白萝卜
44d8076304
chore: support deprecated visible in v5 but warning with this ( #37422 )
* chore: tags deprecated support
* chore: Slider Tooltip test
* chore: Table dropdown visible legacy
* chore: drawer warning of legacy
* chore: Modal legacy prop
* chore: dropdown open legacy prop
* chore: Tooltiop visible legacy info
* fix: format logic
* test: Update test for 18
* chore: fix lint
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
dependabot[bot]
7e7c47509f
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1 ( #37291 )
* chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.9.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint errors in test files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
yykoypj
6b658dab76
feat: switch visible to open for Tooltip ( #37241 )
* feat: switch visible to open for Tooltip & Popover & Popconfirm
* fix lint
* fix: merge state
* chore: Update ts part
* test: add legacy test
* test: fix test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
yykoypj
43d45330c5
feat: switch visible to open for Tooltip & Popover & Popconfirm ( #36807 )
* feat: switch visible to open for Tooltip
* feat: switch visible to open for Popover
* feat: switch visible to open for Popconfirm
* fix
* chore: resolve conflict
* test: fix test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
lijianan
db0344c85f
test: migrate part of ConfigProvider tests ( #37142 )
* test: migrate part of ConfigProvider tests
* test: migrate part of ConfigProvider tests
* test: update snap
* test: update snap
* test: migrate part of ConfigProvider tests
* fix: commented error case
* chore: update snapshot name
* test: csp test case
* test: revert test case
* test: Update snapshot
* test: Update ser logic
* test: more cov
* test: cascader snapshit
* test: update match
* test: more detact
* test: more handler
* chore: Update snapshot
* test: Table test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
yykoypj
a2605f757d
feat: switch filterDropdownVisible to filterDropdownOpen for Table ( #36747 )
* feat: change filterDropdownVisible to filterDropdownOpen for Table
* docs: resolve conflict
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
yykoypj
f0e4963187
feat: switch filterDropdownVisible to filterDropdownOpen for Table ( #37026 )
* feat: table filterDropdownVisible to filterDropdownOpen
* chore: adjust prosp pass
* test: Update test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
Dmitry Artamonov
a34c9cef7f
Fix: sortable columns are not indicated as such for screen readers ( #37167 )
2 years ago
lijianan
8010cd19b6
test: migrate part of DatePicker tests ( #37115 )
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* fix: update snap
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: remove useless methods
* test: add test ignore
2 years ago
MadCcc
ab4d656b7b
test: add table multi-sort case ( #37109 )
* test: add table multi-sort case
* chore: code clean
2 years ago
Dmitry Artamonov
5c62731b11
fix: Accordions are missing expand and collapse states ( #37065 )
* UIEN-1399 - Accordions are missing expand and collapse states
* update tests
* updated snapshots
2 years ago
MadCcc
0124f24595
Revert "fix(Table): onChange `sorter` param types ( #36710 )"
This reverts commit 9e7e32b60c
.
2 years ago
clean99
1239910f66
test: change act import from utils use act wrap timer and not wrap fireEvent ( #36921 )
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2 years ago
kalykun
9e7e32b60c
fix(Table): onChange `sorter` param types ( #36710 )
* fix(types): fixes `sorter` param types
* chore: add test case
* Update type.test.tsx
* Update type.test.tsx
2 years ago
MadCcc
d7c2f5f5d3
feat: menu theme implemented by design token ( #36738 )
* feat: menu theme implemented by design token
* test: fix test
* fix: lint
* fix: menu motion
* 偷偷加了几个token
Co-authored-by: 期贤 <qixian.cs@antgroup.com>
2 years ago
afc163
2146d18045
style: fix Table tree data ellipsis style problem ( #36608 )
close #36583
2 years ago
二货机器人
03ea767cad
fix: Form validate message shaking ( #36575 )
* refactor: move component out
* refactor: clean up code
* chore: stable it
* chore: back of container
* chore: adjust leave motion
* test: update snapshot
* chore: update motion logic
* fix: list start motion
* test: update snapshot
* test: update snapshot
* test: test for marginBottom
2 years ago
zombiej
ed5f4c3626
test: update snapshot
2 years ago
二货机器人
d24f67f66b
test: Fix table empty test ( #36290 )
2 years ago
afc163
eeedb876c0
chore: fix eslint warning and bisheng terminal log ( #36220 )
* chore: fix eslint warning
* chore: fix bisheng log
* Update basic.md
2 years ago
afc163
f8a9cb3498
fix: nested Table margin style ( #36209 )
* fix: nested Table margin style
* fix: tsx demo
* test: update snapshot
2 years ago
Dunqing
2971e3b081
fix: Reset the last selection key ( #34705 )
* fix: reset last selection key
* reset last selection key when deselect
* fix: add test case
* fix: remove unused code
* fix: enzyme bug
* fix: update test
* styles: remove empty line
* fix: lint error
* test: migrate to testing-libary
* fix: xxx.simulate is not a function
* fix: lint error
* fix: use wrong
* fix: solved test not work
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
二货机器人
63fc5055f9
fix: Table customize filterDropdown with Menu should not block default selectable ( #36098 )
* fix: Table customize Menu should be selectable
* test: Add test case
* test: Update snapshow
2 years ago
dingkang
52b049d170
test: replace Table part test with test lib ( #35989 )
* test: replace Table part test with test lib
* test: replace table test with test library
* test: update snapshot
* test: replace last mount
* test: fix 18 testing
Co-authored-by: zombiej <smith3816@gmail.com>
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
MadCcc
a5d8db0368
refactor: pagination mini className ( #35881 )
* refactor: pagination mini cls
* test: update snapshot
* test: update snapshot
* chore: code clean
* chore: code clean
* test: update snapshot
* test: update snapshot
3 years ago
afc163
9b95a30ec9
refactor: Table to CSS-IN-JS ( #35584 )
* style: add basic styles of table
* style: add basic border styles of table
* style: add more styles of table
* style: add more styles of table
* style: add pagination and summary styles
* add more styles
* style: add cell-ellipsis styles
* style: add Radius style
* style: add basic styles of table
* style: add basic border styles of table
* style: add more styles of table
* style: add more styles of table
* style: add pagination and summary styles
* add more styles
* style: add cell-ellipsis styles
* style: add Radius style
* style: add sorter style
* style: add sorter style
* style: add filter style
* style: add filter style
* style: add filter style
* style: fix filter and sort style
* style: fix bordered style
* style: fix bordered style
* style: fix bordered style
* style: add size style
* style: fix size style
* style: add selection style
* style: format code
* style: add sticky code
* style: add expand code
* style: add expand code
* style: add expand code
* style: add fixed code
* add fixed style
* style: fix diff place
* style: use number as px string
* chore: improve function name
* chore: use token
* style: rtl styles
* chore: fix marigin and padding logical properties
* fix: rtl styles
* fix: table filter dropdown style
* chore: remove useStyle
* chore: revert classNames
* fix: test case
* fix shadow in rtl
* Apply suggestions from code review
* chore: sub filter tree
* style: fix tree dropdown padding
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
二货机器人
99c16aa8d6
refactor: Fix Dropdown nesting menu injection logic ( #35810 )
* refactor: Dependency Inversion
* test: update snapshot
* test: Update snapshot
* test: more
* fix: table dropdown logic
* fix: menu lint
3 years ago