Commit Graph

2061 Commits

Author SHA1 Message Date
Mike Ellis
46a0c60d0c
fix: Adds aria-label to Table header checkbox (#38336)
* Adds aria-label to Table header checkbox

* Corrects inverted aria label

* Updates some napshots

* Updates transfer snapshots
2022-11-03 10:15:03 +08:00
Optimistic-Chen
036a2c20a1
chore: update table demo ts type (#38333)
* 虚拟滚动列表中的Parameters<typeof Table>[0]改为泛型传参

虚拟滚动列表中的Parameters<typeof Table>[0]改为泛型传参,可以定义通过datasource定义RecordType的值,而不是object

* Update virtual-list.md

* docs: virtualtable example use generic instead of 'Parameters[0]'

* Update components/table/demo/virtual-list.md

Co-authored-by: liangjun.chen <liangjun.chen@yunqutech.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-02 13:21:28 +08:00
github-actions[bot]
6c6913c367
chore: auto merge branches (#38278)
chore: merge feature into master
2022-10-31 03:22:15 +00:00
Bojack
892ef7e925
fix: The text should read "No data" (#38127) 2022-10-30 21:33:23 +08:00
MadCcc
5a218d0c4d Merge branch 'master' into feature-merge-master 2022-10-27 21:57:59 +08:00
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>
2022-10-23 15:28:26 +08:00
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender (#37885) 2022-10-23 00:33:45 +08:00
二货机器人
94b688ff8c chore: feature merge master 2022-10-22 22:53:41 +08:00
lijianan
3d33c34010
chore: use includes instead indexOf (#38139)
* chore: use includes instead indexOf

* fix: fix
2022-10-21 11:45:55 +08:00
github-actions[bot]
f8629ac588
chore: auto merge branches (#38093)
chore: sync master into feature
2022-10-18 14:32:45 +00:00
Wesley
e3abd1e77f
docs: Table Documentation interface description error (#38065)
Co-authored-by: YONGWEI PENG <yongweipeng@YONGWEIdeMacBook-Pro.local>
2022-10-17 18:06:38 +08:00
MadCcc
442176627f Merge branch 'master' into feature-merge-master 2022-10-17 17:55:50 +08:00
Alan Deng
e246f00899
docs(Table): fix log value of selected row keys (#38051) 2022-10-17 13:32:00 +08:00
liuycy
5442fc2412
fix: table header shadow issue (#28096) (#38023) 2022-10-17 09:47:16 +08:00
afc163
d667d1948f
chore: fix lint (#38005) 2022-10-13 18:22:00 +08:00
afc163
416c61f08e fix: Table ellipsis title missing
close #37977
2022-10-13 17:44:19 +08:00
lijianan
768ab54426
fix: delete defaultprops (#37966) 2022-10-12 11:39:06 +08:00
二货机器人
5f28b2e5a4 chore: merge maaster 2022-10-11 14:54:30 +08:00
hms181231
1928f10b69
test: Update table test sleep -> useFakeTimers (#37914)
* feat:update table test sleep -> useFakeTimers

* test: tabel test case waitFakeTimer(500) -> waitFakeTimer()
2022-10-10 15:04:19 +08:00
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo (#37890)
* test: Use SSR for testing demo

* chore: fix lint

* test: align with react 18
2022-10-08 16:17:20 +08:00
Santiago Vallejo
de76c7f311
feat: Performance improvement on React useState (#37875) 2022-10-07 11:39:16 +08:00
lijianan
ddaead6777
fix: delete defaultprops (#37822)
* fix: delete defaultprops

* fix: delete defaultprops
2022-09-30 17:44:24 +08:00
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>
2022-09-29 14:15:11 +08:00
二货机器人
7dbc5b735a test: Update snapshot 2022-09-28 17:29:47 +08:00
二货机器人
069e44bcc3 chore: merge master 2022-09-28 12:01:20 +08:00
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
2022-09-24 23:15:22 +08:00
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>
2022-09-22 10:13:07 +08:00
二货机器人
cdc20027b5 chore: merge master 2022-09-19 17:09:36 +08:00
二货爱吃白萝卜
09b6032ec4
fix: Table column.title missing filters prop (#37629)
* fix: Table title missing filter data

* test: add test case
2022-09-19 15:29:26 +08:00
edc-hui
ff6fd118de
fix(Table): filterSearch function does not execute when filterMode is tree (#37587) 2022-09-17 14:22:26 +08:00
huisiyu
711ed90141
docs: fix table filterSearch function doesn't work demo (#37536) 2022-09-14 10:09:59 +08:00
黑雨
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>
2022-09-09 15:51:35 +08:00
huisiyu
4692733ca9
fix(Popconfirm): the title element does not have padding when icon is not set and update jest snapshot (#37384) 2022-09-07 13:28:35 +08:00
afc163
133d899097
docs: fix Table ajax demo (#37431)
* docs: fix Table ajax demo

* Update ajax.md

* Update ajax.md
2022-09-06 22:57:46 +08:00
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
2022-09-05 19:41:32 +08:00
MadCcc
e5e2159882 Merge branch 'feature' into master-merge-feature 2022-09-04 14:46:28 +08:00
yykoypj
bcb0b4dff1
feat: switch visible to open for Dropdown (#37232)
* feat: switch visible to open for Dropdown

* fix: merge state

* fix: props pass

* test: fix coverage
2022-09-02 17:22:23 +08:00
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>
2022-08-30 10:57:13 +08:00
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>
2022-08-26 17:17:13 +08:00
二货机器人
cf49149ce7 chore: merge master 2022-08-23 11:53:24 +08:00
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>
2022-08-22 22:54:38 +08:00
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>
2022-08-22 11:19:53 +08:00
Dmitry Artamonov
a34c9cef7f
Fix: sortable columns are not indicated as such for screen readers (#37167) 2022-08-21 16:39:54 +08:00
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
2022-08-18 17:40:47 +08:00
二货机器人
bf8a7ace41 Merge remote-tracking branch 'origin/master' into feature 2022-08-18 10:57:17 +08:00
MadCcc
ab4d656b7b
test: add table multi-sort case (#37109)
* test: add table multi-sort case

* chore: code clean
2022-08-17 13:21:44 +08:00
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
2022-08-17 12:28:37 +08:00
MadCcc
0124f24595 Revert "fix(Table): onChange sorter param types (#36710)"
This reverts commit 9e7e32b60c.
2022-08-17 10:13:25 +08:00
github-actions[bot]
3115657010
chore: auto merge branches (#36944)
chore: feature merge master
2022-08-08 07:17:41 +00:00
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>
2022-08-08 13:31:55 +08:00