lijianan
b8f2b2165d
feat: CP support Spin className and style ( #43071 )
* feat: CP support Spin className and style
* fix: remove useMemo
* docs: update docs
* fix
* fix
* fix
* fix
1 year ago
lijianan
5c32480f6f
feat: CP support Typography className and style ( #43070 )
* feat: CP support Typography className and style
* fix: remove useMemo
* docs: update docs
* fix
* fix
* docs: update docs
1 year ago
muxin
785115c580
feat: config-provider support divider className and style properties ( #43042 )
* feat: config-provider support divider className and style properties
* fix: simple ts definition
* fix: merge style & className
* fix: fix space className
* feat: optimize type definition
* feat: optimize type definition
* feat: add version
* test: update test
* test: update test
* fix: fix type
* fix: fix api sort
* fix: fix docs
* docs: add another api table
* Apply suggestions from code review
---------
Co-authored-by: MadCcc <1075746765@qq.com>
1 year ago
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
红果汁
946569aacf
feat: ConfigProvider support Space classNames and styles properties ( #42748 )
* feat: config-provider support space classNames and styles
* fix: add className and style
* docs: update doc
* docs: update doc
* fix: fix override style
2 years ago
Mehmet Yarar
f6dc5f39e0
enhance: Improve the a11y of the upload progress bar ( #42704 )
* improve the a11y of the upload progress
* add a11y test, update snapshots
* pass aria props as part of restProps
* use kebab-case instead of camelCase for aria attributes
---------
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
LuZhenJie1999
b6442fe285
feat: add style/className/styles/classNames to ConfigProvider ( #42623 )
* feat: add style/className/styles/classNames to ConfigProvider
* chore: better code
* Update components/config-provider/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
* Update components/config-provider/index.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com>
---------
Co-authored-by: 歆其 <luzhenjie.lzj@antgroup.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2 years ago
二货爱吃白萝卜
765cafb2cd
refactor: ConfigProvider form dependency inversion ( #42604 )
* refactor: dependency inversion
* chore: use rc-util
2 years ago
afc163
8fb97df92c
feat: Pagination size change select component is searchable ( #42608 )
* feat: Paginaition size change select enable search
close https://github.com/ant-design/ant-design/issues/27684
* test: update snapshot
* test: update snapshot
2 years ago
二货爱吃白萝卜
43d7b9ca92
feat: ConfigProvider.config support theme config ( #42473 )
* chore: static config of theme
* chore: static all method
* test: add test case
* docs: comment
* docs: more info
* test: update snapshot
* test: fix test logic
2 years ago
afc163
d90c1c62c0
fix: upgrade @ant-design/icons to 5.1.0 ( #42443 )
* Update package.json
* Update package.json
* chore: update snapshot
* style: #1890ff => #1677ff
* style: fix Upload icon color
* style: fix Upload icon color
* revert menu v4 demo
2 years ago
afc163
7271b7cb91
fix: Popconfirm margin problem when icon is null ( #42433 )
* fix: Popconfirm margin issue when icon is null
* test: update snapshot
* demo: update snapshot
* chore: improve code
* demo: update snapshot
* refactor: remove used css
* demo: update snapshot
2 years ago
红果汁
aeabe74fbc
docs: replace react-color with color-picker ( #42350 )
* style: fix prettier problem
* docs: add presets label
* style: fix prettier problem
* style: fix prettier
2 years ago
lijianan
9d1854763d
refactor: add useSize replace React.useContext ( #42282 )
* refactor: add useSize
* fix
* fix
* fix
* fix
* fix
2 years ago
huiwang
da67b481b8
fix: fix Steps size small of CP ( #42278 )
* fix: fix Steps size small of CP
* fix: update snap
2 years ago
Ec-tracker
24dd5351e9
fix: Space.Compact not work with CP component size ( #42199 )
* test(space): add test cases
* fix(Space.Compact): fix the size is not inherited from ConfigProvider when the componentSize is set
* test(Space.Compact): move Space.Compact test cases to the corresponding folder
* test: update snapshot
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货爱吃白萝卜
f4858ff581
chore: align motion follow popup point ( #42225 )
* chore: align motion follow popup point
* test: update snapshot
2 years ago
二货爱吃白萝卜
8c725caa73
chore: fix Pagination size small of CP ( #42206 )
2 years ago
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
This reverts commit ea8ed28209
.
2 years ago
lijianan
ea8ed28209
chore: unified import method ( #42149 )
* chore: unified import method
* fix lint
2 years ago
MadCcc
e18400a554
chore: bump rc-dropdown ( #42013 )
* chore: update snapshot
* chore: update placement
* chore: postProps
* chore: update snapshot
* test: update table test case
* chore: update pure-panel style
* chore: update snap
2 years ago
二货爱吃白萝卜
60dbef4963
feat: Disable motion ( #41856 )
* feat: Add motion off
* chore: update motion seed
* chore: all motion disabled
* test: add test case
* chore: fix lint
* chore: fix cov
* chore: fix motion of Switch & Segemented
* test: ignore empty
2 years ago
二货爱吃白萝卜
b1c42a3292
test: Diff of React 17 & 18 ( #41739 )
* test: prepare for 17 & 18 diff
* test: prepare for 17 & 18 diff
* test: update snapshot
* test: fix arr check
* test: update snapshot
* test: update snapshot
2 years ago
黑雨
41ed9bd430
feat: Button semantic dom ( #41456 )
* feat: add semantic doc
* 🔀 feat: rebase feature
* feat: update for code reviewer
* feat: update snap
* feat: update snap
* 🐛 bug: update for cov
* Message
* bug: update snap
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* ♻️ feat: ref code
* 🩺 feat: update for review
* 💄 style: update style
* 📝 doc: update doc
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 💄 style: update style
* 📸 feat:update snap
* 🚧 feat: clean up
* 🚧 feat: clean up
* feat: icon wrapper
* test: update snapshot
* chore: code clean
* fix: icon only font size
* chore: rollback unexpected commit
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
JiaQi
1688d5995f
chore: Update random image sources ( #41704 )
* chore: update demo
* chore: update test case
* chore: update snap
2 years ago
二货爱吃白萝卜
8c094ba792
feat: ConfigProvider support config `popupOverflow` for scroll logic ( #41676 )
* feat: popupOverflow
* test: add test case
* docs: preview
* docs: update preview
* test: update test case
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
二货机器人
d6a73f3c6b
chore: feature merge master
2 years ago
二货爱吃白萝卜
f0d3e43faa
fix: CP nonce should work on cssinjs ( #41482 )
2 years ago
二货爱吃白萝卜
36f44575c8
chore: Static warning if exist theme in CP ( #41157 )
* chore: warning for dynamic theme
* chore: warning for static context
* chore: add ignore
2 years ago
二货爱吃白萝卜
dcbf0d7b5c
refactor: picker trigger version ( #41090 )
* refactor: picker version
* chore: update deps
* chore: bump trigger version
* test: update snapshot
* chore: fix missing deps
* test: update snapshot
* update snap
---------
Co-authored-by: 栗嘉男 <574980606@qq.com>
2 years ago
MadCcc
6f82f41d5c
refactor: checkbox ( #41117 )
* refactor: checkbox
* type: export CheckboxRef
* type: fix
2 years ago
吾乃大咸者
5c1c5f7e9e
docs(ConfigProvider): update ConfigProvider demo ( #41042 )
* docs(ConfigProvider): update ConfigProvider demo
* docs(ConfigProvider): update ConfigProvider demo
2 years ago
二货爱吃白萝卜
9d546ed51a
chore: bump select tree-select cascader version ( #41013 )
* chore: bump select tree-select cascader version
* chore: adjust align prepare style
* chore: bump trigger version
* test: update snapshot
2 years ago
kiner-tang(文辉)
da3babbe39
refactor(progress): progress size ( #40903 )
* feat: progress size
* feat: update snapshots
* feat: update demo
* feat: update demo
* docs: fix lint
* feat: update demo
* feat: update demo
* docs: update doc
* feat: update snapshots
* docs: update doc
* docs: update doc
* docs: update doc
* Update components/progress/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
* Update components/progress/index.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* Update components/progress/utils.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* Update components/progress/Circle.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: optimize code
* docs: update doc
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
Wuxh
bd13944c4e
docs: locale demo update ( #40930 )
* docs: update local demo
* docs: update
2 years ago
lijianan
895f2591b4
demo: demo update ( #40924 )
2 years ago
Wuxh
b82710fe9e
fix: fix `ConfigProvider` form validation message order ( #40533 )
* test: add case
* fix: fix the default format error of form check message
* docs: update docs
* fix
* chore: remove redundancy logic
* perf: add validateMessage memorization
* chore: update useMemo
* Update components/form/index.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* docs: update docs
---------
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
黑雨
51c615dd42
refactor: Breadcrumb separator use `li` instead `span` ( #40887 )
* fix: fix 'span' to 'li'
* fix: fix 'span' to 'li'
* fix: update snap
* fix: update span to li
* feat: update snap
* feat: update snap
* feat: update snap
* feat: breadCrumb support items
* feat: update snap
* feat: update snap
* feat: update snap
2 years ago
Lioness100
fd0d8b6031
docs: fix typos ( #40791 )
* docs: fix typos
* Update index.zh-CN.md
* test: update snapshot
* docs: fix demo ref
* chore: force trigger ci
* chore: force trigger ci
* chore: bump dumi ver
---------
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
lijianan
288b10bd10
refactoring: use hook replace LocaleReceiver ( #40870 )
* chore: rename useLocaleReceiver => useLocale
* refactoring: use hook replace LocaleReceiver
* fix
* update snap
* fix
* update snap
* fix
* rename
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
carla-cn
fd2db7614f
fix: diabled Input abbdon should not have status style ( #40744 )
Co-authored-by: zhouling <zhouling@kezaihui.com>
2 years ago
二货爱吃白萝卜
86b5c50cb4
refactor: Tooltip support auto arrow & auto shift ( #40632 )
* chore: adjust doc
* chore: simplify arrow offset
* chore: auto adjust shift
* docs: adjust demo
* chore: update snapshot
* chore: provide ref
* test: prepare
* chore: update deps
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: update snapshot
* fix: missing pure render
* fix: Popover pure panel
* test: update snapshot
* test: update tour snapshot
* chore: bump trigger ver
* test: fix render ssr logic
* test: skip unnecessary case
* test: fix test case
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: fix test case
* chore: clean up useless warning
* test: add check for placement
* chore: ignore default
2 years ago
xliez
0d67bde239
feat: add useConfig hook to ConfigProvider ( #40215 )
* feat: add useConfig hook to ConfigProvider
* docs: format config-provide markdown
* doc: add available version
* test: add useConfig test
* docs: add debug
* chore: fix lint error
* fix: getter dead loop
* test: promote useConfig test coverage
* docs(ConfigProvider): update available version
2 years ago
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2 years ago
Alina Andrieieva
ad707df22e
Accessibility fix: aria-label cannot be used with role="presentation". ( #40413 )
* Acessibility fix: aria-label cannot be used with role="presentation".
* Acessibility fix: added aria-hidden to the wrapper
---------
Co-authored-by: Alina Andrieieva <Alina_Andrieieva@epam.com>
2 years ago
Martin Litvaj
0bf4a3e15b
Export ThemeConfig type ( #40370 )
2 years ago
JiaQi
9d51345f90
feat(Collapse): Collapse support for setting size ( #40286 )
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2 years ago