MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
This reverts commit 6759887c44
.
1 year ago
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
1 year ago
二货爱吃白萝卜
8c725caa73
chore: fix Pagination size small of CP ( #42206 )
2 years ago
JiaQi
1688d5995f
chore: Update random image sources ( #41704 )
* chore: update demo
* chore: update test case
* chore: update snap
2 years ago
二货爱吃白萝卜
851d551906
refactor: warning for deprecated `dropdownMatchSelectWidth` ( #41627 )
* chore: warning for dropdownMatchSelectWidth
* test: update snapshot
* test: update test case
* fix: align context
* chore: warning deprecated
* chore: fix lint
2 years ago
lijianan
33275b6e80
demo: fixed the avatars are all the same picture ( #40809 )
* demo: update demo
* update snap
* update snap
* update snap
2 years ago
lijianan
0c3ba124b4
fix[BackTop]: delete visible & use visibilityHeight=0 replace visible ( #38763 )
* type: delete visible & code optimization
* add PureBackTop
* fix: update snap
* fix: cov
* fix: add istanbul ignore
* fix
* feat: use visibilityHeight=0 replace visible=true
* snap
* cov
* test case
* test case
* fix
* fix cov
* fix test
* simplify code
* rename function
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender ( #37885 )
2 years ago
黑雨
65f067eb13
feat: Steps supports items ( #37531 )
* feat: support items
* feat: update demo
* test: update package
* test: update use type
* test: update for test
* test: update for lint
* feat: update doc
* test: update for lint
* test: update for lint
* test: update for lint
* test: add deprecated dome
* test: add deprecated dome
* doc: update doc
* feat: update package
* test: add test case
2 years ago
MadCcc
3a5a9385b6
test: fix lint
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
lijianan
60da9bfc61
test: remove Array.from() ( #37252 )
2 years ago
lijianan
5c61ea7f57
test: config-provider case rewrite js => ts ( #37194 )
2 years ago
yykoypj
1919b5f7d9
feat: switch visible to open for Drawer ( #37047 )
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
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
yykoypj
42bbd9e24f
feat: change slide tooltip api ( #37043 )
* feat: change slide tooltip api
* fix
* fix
* fix: Slider test in config-provider
* fix: Slider test
* chore: adjust prosp pass
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
yykoypj
aa97494625
feat: change slide tooltip api ( #37000 )
* feat: change slide tooltip api
* fix: deprecated warning
* refactor: remove boolean type support for Slider tooltip
* feat: update warning text
* chore: fix typo
* chore: save prod perf
* test: back of test case
* chore: clean up
* chore: fix test require
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
MadCcc
8e27cf986f
chore: rm component less file ( #36244 )
* chore: rm component less file
* refactor: less file
* refactor: rm less
* refactor: rm page-header and comment
* chore: rm less in components
* chore: update dist config
* chore: update image test
* chore: update dekko
* chore: rm lib dekko
* chore: update dist dekko
* chore: udpate bundle size
* test: update snapshot
* test: rm theme test
* test: update snapshot
* test: update snapshot
* chore: copy reset.css
* test: update image test
* chore: copy reset.css to es
* chore: update site script
2 years ago
MadCcc
25c4f7921e
test: fix lint
3 years ago
MadCcc
414f049697
feat: config provider support componentDisabled ( #35718 )
* feat: config provider support componentDisable
* test: update snapshot
* docs: update
* chore: code
3 years ago
Zack Chang
c8b2b28c95
Refactor/spin cssinjs ( #34653 )
* TODO: fix test case
* TODO: 样式、test文件的import
* TODO: 伪类不生效
* temp changed
* fix: disable eslint
* chore: update snapshots
* chore: 解决伪类不生效
* chore: update token prop name
* TODO: mark FIXME
* fix: recover snapshot
* fix: recover snapshot again
* chore: update snapshot
Co-authored-by: Zack Chang <zackchangjx@foxmail.com>
3 years ago
iamkun
b22815d4d2
feat(moment-to-dayjs): replace date-time lib Moment.js with Day.js
3 years ago
afc163
827225b895
chore: replace demo image to public avatar resources ( #32479 )
* docs: replace avatar image to joeschmoe placeholder
* docs: usage randomme avatar url
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
Tom Xu
747691f600
feat: ConfigProvider support virtual and dropdownMatchSelectWidth ( #23841 )
* feat: ConfigProvider support virtual and dropdownMatchSelectWidth
* update snap
* Update demo.test.js.snap
* update snap
5 years ago
Tom Xu
6e1ffb96ca
fix: Input.Search ConfigProvider size ( #23331 )
* fix: Input.Search ConfigProvider size
* Update Search.tsx
* add test
* Update size.md
5 years ago
tdida
23e48552ad
fix: Input.Password ConfigProvider prefixCls not work ( #21953 )
* fix: Input.Password ConfigProvider prefixCls not work
* test: add ConfigProvider Input.Password test
Co-authored-by: TDiDa <>
5 years ago
偏右
30a3ac63ef
✅ Add test case for ConfigProvider and Spin ( #21384 )
5 years ago
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
5 years ago
二货机器人
5fc62314af
chore: Remove LocaleProvider & Mention in export ( #19935 )
* chore: Clean up
* clean up test case
* clean up
5 years ago
陈帅
c675354744
fix eslint error
5 years ago
陈帅
338018eba3
feat: Pageheader new style and props ( #19100 )
* pure page header style
* add type props
* add prue demo
* add config provider doc
* fix lint
* fix lint error
* change pure to ghost
* fix test
* default ghost is true
* fix review style
* fix review warning
* use online style
* remove defualt and remove comment
* add test
5 years ago
jljsj
786bde9ca1
update modal and drawer protal
5 years ago
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
6 years ago
zombieJ
4e54aa8a46
ConfigProvider support `autoInsertSpaceInButton` ( #14230 )
close #14229
6 years ago
zombieJ
ff13ac0f5e
New component Statistic / Countdown ( #14154 )
* init
* number format
* add Countdown
* ⚡ Try something ts stuff
* move out Countdown
* add format
* support countdown
* add prefix & suffix
* Move Number to Statistic
* adjust ts
* clean up
* roll back of lodash
* update doc & style
* variable of the less style
* add demo test
* full coverage
* hide title if not need
* update snapshot
* update accessiblity
* update color
* stop countdown when time is out
* formatTimeStr adjust
* use reset class
* add miss tab index
* update doc
* update title prop & snapshot
* rm additional aria. It's over design
* use card sample on unit demo
* sfc
* adjust demo
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago