二货爱吃白萝卜
b4015b6370
chore: test clean up log ( #40955 )
2 years ago
kiner-tang(文辉)
796e8e16bf
fix: onBlur gets triggered when selecting date in RangePicker ( #38411 )
* feat: update picker version
* Update package.json
Co-authored-by: afc163 <afc163@gmail.com>
* feat: update test case
* feat: RangePicker blurDelay
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
renovate[bot]
8d0d96223b
chore(deps): update dependency jest to v29 ( #37270 )
* chore(deps): update dependency jest to v29
* Update package.json
* chore: update snapshot
* chore(deps): update dependency jest to v29
* Update package.json
* test: fix test case
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
Zheeeng
e91d25622b
chore: signatures for tests ( #37949 )
* fix: signatures for tests
* fix: remove unused
* fix: test cases
* fix: test cases
2 years ago
MadCcc
92a32998ac
test: mock matchMedia configurable ( #38034 )
2 years ago
vagusX
760cb38dbf
fix: tsc error ( #37932 )
* fix: tsc issue
* fix: typo
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
lijianan
c2d7fe4f0d
chore: delete Enzyme ( #37854 )
* chore: delete Enzyme
* fix: fix
2 years ago
二货机器人
437182b2e6
test: Update snapshot
2 years ago
二货机器人
069e44bcc3
chore: merge master
2 years ago
二货爱吃白萝卜
6f1e67d9b8
test: Refactor Spin part test case with fakeTimer ( #37759 )
* test: Update test case
* chore: fix lint
2 years ago
二货爱吃白萝卜
356715f4a6
fix: Typography tooltip bug ( #37754 )
* chore: basic
* fix: diff icon logic
* fix: Tooltip logic
* chore: fix lint
2 years ago
二货爱吃白萝卜
f90296b2b3
test: Refactor Affix related test case ( #37715 )
* test: refactor
* test: Refactor Affix test case
* test: refactor more test case
* test: fix lint
2 years ago
lijianan
1bb58174c3
test: delete icon.svg ( #37499 )
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
二货爱吃白萝卜
7c087deded
chore: Add theme=null export for vite build error ( #37462 )
* fix: Vite build error
* test: Update snapshot
* chore: Update snapshot
2 years ago
lijianan
f47535a153
test: migrate part of rtlTest tests ( #37315 )
* test: migrate part of rtlTest tests
* style: performance optimize
* fix: add type
* fix: fallback
2 years ago
黑雨
5a2c6edefd
test: replace testing-lib in focusTest ( #37280 )
* feat: replace testing-lib
* feat: update for lint
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
二货爱吃白萝卜
304b36a5bf
refactor: Replace Tabs motion ( #36943 )
* chore: bump rc-tabs
* refactor: use internal motion
* test: Update snapshot
* chore: clean up
* test: Update snapshot
* test: coverage
* test: resolve conflict
2 years ago
clean99
20a2bb3374
fix: testing act error ( #36915 )
* test: switch act from react-dom/test-utils to testing-library/react
* test: fix jest.runAllTimers usage with act
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2 years ago
二货机器人
ddb97b22ba
chore: collapse title text auto width ( #36761 )
* chore: collapse title text auto width
* test: fix mock snapshot
2 years ago
dingkang
1ef45439d6
test: replace Cascader test case with test library ( #36475 )
* test: relpace test case with test library
* test: fix test case
* test: replace snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货机器人
d422d71c1e
refactor: Drawer refactor ( #36672 )
* chore: back part of styl
* chore: all basic
* test: part test case
* test: part test case
* test: more test case
* test: update snapshot
* test: demo test support
* test: update snapshot
* chore: adjust mock logic to inject on rc-drawer instead
* test: more snapshot
* chore: adjust pos
* chore: back of render
* test: drawer demo extends test
2 years ago
二货机器人
d24f67f66b
test: Fix table empty test ( #36290 )
2 years ago
郑国庆
6e55310fca
test: replace Input part test with test lib ( #35754 )
* test: replace Input part test with test lib
* test: test input case
* test: update textarea case
Co-authored-by: z1399 <zhenggq@dtdream.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
afc163
a61671f32f
chore: upgrade to jest-image-snapshot 5.x ( #35818 )
3 years ago
afc163
ed4d41676e
chore(deps-dev): upgrade to jest 28 ( #35334 )
https://jestjs.io/zh-Hans/docs/upgrading-to-jest28
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
Zack Chang
19d5f07c16
test: Rewrite mountTest with testing lib ( #35326 )
3 years ago
Camol
bdabee4db4
feat(Typography): copyable text support format ( #35219 )
Co-authored-by: kanweiwei <kanweiwei@nutstore.net>
3 years ago
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
MadCcc
e4a87750ac
test: update test cases to testing-lib ( #35056 )
3 years ago
二货机器人
67ccf39bd3
fix: Notification & message throw `createRoot` warning in React 18 ( #35030 )
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
3 years ago
vagusX
ae4e660a05
feat: add new component `Segmented` ( #34319 )
* feat: basic implements in antd
* feat: use rc-segmented
* feat: add some demos
* feat: support dark theme
* docs: add more demos
* feat: support `icon` in segmented
* docs: format content
* test: add test cases
* docs: update docs
* chore: update
* fix: lint issues
* style: add border-radius for selected effect
* style: change border-radius-base
* chore: update gitignore
* feat: segmented support block
* chore: update gitignore
* feat: support block
* feat: add test case
* feat: support size
* docs: update demos
* chore: update
* chore: update
* test: update
* style: update colors
* style: hover and focus styles
* doc: add version mark in docs
* fix: style lint issue
* fix: some lint issues
* doc: add version in demo mds
* doc: add version mark before api details
* Revert "doc: add version in demo mds"
This reverts commit 2a9e86f6ffc2331f7d73eae6edac7c889358a838.
* test: only test for thumb appear
* style: update color vars
* style: add transition
* style: text vertial align
* test: update snapshots
* feat: add preview svg and support dark theme
* fix: update test snapshot
* docs: update docs
* fix: remove useless z-index
* build: add 1kb for bundlesize of antd.variable.min.css
Co-authored-by: taian.lta <taian.lta@antgroup.com>
3 years ago
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
3 years ago
二货机器人
811fed2fc2
refactor: Update rc-slider ( #34234 )
* chore: Update rc-slider version
* chore: bump
* chore: update sty;e
* fix: style
* test: update snapshot
* test: all fixed
* fix lint
3 years ago
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
3 years ago
Stef Schenkelaars
98e36aa036
test: add test helper for accessibility
As proposed in #22343 , the components can be automatically validated
for accessibility. This adds a test helper that runs Axe to check
for accessibility violations.
3 years ago
二货机器人
c6c0662b97
docs: Cascader displayRender data ( #33087 )
* docs: Cascader displayRender data
* ts: clean up
* test: Update rc-resize-observer version
* test: fix resize related test case
* chore: fix ts error
* test: Fix resize logic
3 years ago
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
afc163
6d3973fb95
chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1 ( #32444 )
* chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 24.7.0 to 25.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/v24.7.0...v25.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 and warnings
* fix rc-slider version
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
zombiej
b388da62cc
test: Update snapshot
3 years ago
二货机器人
020c4ba7d0
fix: missing `default.css` ( #32116 )
* chore: Add CI for compile
* chore: Add missing compile file
3 years ago
二货机器人
282b7c8575
feat: Cascader support multiple mode ( #31936 )
* chore: Update cascader version
* chore: replace cascader
* chore: default allowClear
* chore: Update docs
* test: Back of part
* test: More snapshot
* test: more and more
* test: Failed of defaultValue
* test: all basic test case
* test: All snapshot
* chore: Update cascader
* chore: disable react/jsx-no-bind
* chore: fix lint
* chore: fix less order
* chore: fix deps
* docs: Update multiple demo
* docs: Add multiple example
* test: Update snapshot
* test: update snapshot
3 years ago
二货机器人
75cd2a9649
fix: lint update ( #29336 )
4 years ago
陈帅
a4f0957576
docs: add 4.12.0 changelog ( #29131 )
* docs: add 4.11.3 changelog
* update docs
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* update docs
* add 4.12.0 changelog
* update docs
* fix typo
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* fix changelog
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* update docs
* Update CHANGELOG.zh-CN.md
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>
* fix typo
* fix typo
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>
4 years ago
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
* style: prettier code
* update
* Update index.less
4 years ago
陈帅
0afdbe4d4a
fix: exporting common types ( #28963 )
* exporting common types
* no use importype
* fix test
* try fix test
* Update components/index.tsx
Co-authored-by: 偏右 <afc163@gmail.com>
* remove typo
* fix test
Co-authored-by: 偏右 <afc163@gmail.com>
4 years ago