lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router ( #43573 )
* fix: prepend use-client directive for with Next.js App Router
* Update components/affix/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/badge/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/divider/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/cascader/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/list/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/qrcode/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/steps/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/time-picker/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/transfer/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/tree-select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
1 year ago
thinkasany
82e5555ff3
chore: code style optimization ( #43497 )
* chore: code style optimization
* revert: 直接解构, 不用 props
* chore: fix classNames useless boolean
* fix: remove classname useless boolean
* fix: revert delete progress classnames boolean
1 year ago
VovkaGoodwin
c683c50bdd
type: changed import type to common import ( #43501 )
Co-authored-by: Vladimir Radko <volodya.radko@gmail.com>
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
daisy
8a4203bec8
fix(Space): modify the priority of the component's size ( #42752 )
* fix(Space): modify the priority of the component's size
* chore: snapshot
* chore: snapshot
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
kiner-tang(文辉)
f3e9b8de2f
refactor: solve space circular dependency issue ( #42811 )
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
红果汁
20e09e6c31
feat: Space support classNames and styles ( #42743 )
* feat: add styles and classNames properties
* Update components/space/index.en-US.md
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
* docs: fix prettier issue
---------
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
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
lijianan
9d1854763d
refactor: add useSize replace React.useContext ( #42282 )
* refactor: add useSize
* fix
* fix
* fix
* fix
* fix
2 years ago
红果汁
c76d9fe4f4
feat: Space support ref ( #42266 )
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
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
lijianan
f580ac85cf
type: remove useless type ( #42054 )
2 years ago
Yuki Zhang
0495be222c
fix: styling issues with the Popover component within the Space.Compa… ( #41707 )
* fix: styling issues with the Popover component within the Space.Compact wrapper
* fix: styling issues with the Tooltip based component within the Space.Compact wrapper
* test: update snapshots
* test: update snapshots
* refactor: memoOverlay
* test: update snapshot
* Revert "test: update snapshot"
This reverts commit 85d8142498
.
* test: adjust check logic
* test: add test case for popover content
* test: update tooltip case
* fix: test coverage
* fix: lint
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
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
黑雨
cef58664e8
📝 doc: add design token table ( #41717 )
* ✨ feat: add token
* 📝 doc: update lint
* 📝 doc: update doc
2 years ago
afc163
9619c8c37e
style: remove Space font style ( #40326 )
* refactor: simplify code
* style: fix Space font style
* demo: fix Select demo
2 years ago
二货机器人
d6a73f3c6b
chore: feature merge master
2 years ago
二货爱吃白萝卜
6770b7fb22
test: Use render for demo-extends test ( #41242 )
* test: update snapshot
* test: use render
* test: fix skip
* test: fix skip
2 years ago
dependabot[bot]
1df1034f20
chore(deps-dev): bump glob from 8.1.0 to 9.2.1 ( #41109 )
* chore(deps-dev): bump glob from 8.1.0 to 9.2.1
Bumps [glob](https://github.com/isaacs/node-glob ) from 8.1.0 to 9.2.1.
- [Release notes](https://github.com/isaacs/node-glob/releases )
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v8.1.0...v9.2.1 )
---
updated-dependencies:
- dependency-name: glob
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: update api
* fix
* fix
* fix path
* fix path
* update snap
* update snap
* update snap
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
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
二货爱吃白萝卜
6c32399bd4
chore: Select like component always showArrow ( #41028 )
* chore: always showArrow
* test: update snapshot
* fix: autoComplete arrow logic
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
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
二货爱吃白萝卜
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
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2 years ago
Yanlin Jiang
8a5cbf330c
fix(space): fix ant-space-item selector ( #40554 )
2 years ago
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2 years ago
lijianan
b9a6b7b578
demo: update demo ( #40318 )
* demo: update demo
* add form
* clear
* add Select
* add
* fix style
* fix style
* fix
* revert
2 years ago
lijianan
8501adbd84
fix: add displayName ( #40092 )
* fix: add displayName
* rerun ci
* rerun ci
2 years ago
ChenXiao
70115e75c8
update components/space/style/index.tsx, change flex-baseline to baseline ( #39748 )
2 years ago
Peach
6236e356b5
docs: update all site anchors ( #39687 )
* docs: update all site anchors
* docs: handle hash change from Link component
2 years ago
Yuki Zhang
977a9a92ff
Fix the issue where the clear icon does not show when hovering over the Select series component under the Space component. ( #39468 )
* fix: Fix the problem that the clear icon is not displayed when the Select series component hovers under the Space component
* refactor: 修改 Space.Compact css 优先级以及简化调用
* refactor: 修改 Space.Compact 垂直方向 css 优先级以及简化调用
* docs: 添加注释
* fix: lint
* test: update snapshot
* test: update snapshot
2 years ago
MadCcc
7b3adcb5ae
fix: wireframe style for popconfirm ( #39313 )
* fix: wireframe style for popconfirm
* chore: add demos
2 years ago
afc163
e975e5d41d
chore: update tree snapshot ( #39242 )
* chore: update tree snapshot
* chore: bump rc-util
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
MadCcc
e7edfa42d7
docs: update overview img ( #38946 )
* docs: update overview img
* chore: code clean
* chore: code clean
* chore: update
* chore: code clean
2 years ago
lijianan
4efa3b2896
test: `console.error` should nullable in Console ( #39050 )
2 years ago
lijianan
b4f6e931ab
docs: add en description ( #39024 )
2 years ago
Yuki Zhang
a7ee3364eb
test: add test cases for Space.Compact context ( #38929 )
2 years ago
Yuki Zhang
5fa56ece32
fix: Space.Compact when wrapping a single child component ( #38896 )
* fix: Space.Compact when wrapping a single child component
* fix: css selector priority
2 years ago
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs ( #38902 )
* refactor: Optimize theme export and add docs
* chore: fix lint
* chore: fix lint
* chore: fix lint
2 years ago
Yuki Zhang
0b54a18afe
fix: context issues for Space.Compact ( #38870 )
* fix: context issues for Space.Compact
* test: update snapshots
2 years ago
MadCcc
91b25d554e
feat: empty simple in dark theme ( #38785 )
* feat: empty simple in dark theme
* chore: fix lint
* chore: update snapshot
* chore: update snaot
2 years ago
Dave
d32a1fe274
fix(types): external module type error (CompoundedComponent) ( #38666 )
* fix(types): external module type error (CompoundedComponent)
* refactor(types): rename and replace internal CompoundedComponent type
2 years ago