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
morning-star
677f7a79a7
chore: fix typo ( #43549 )
Signed-off-by: morning-star <Chenguangstart@outlook.com>
1 year ago
lijianan
2d9f7de524
chore: code style optimization ( #43478 )
* chore: code style optimization
* add type
1 year ago
Fly me to the moon
a998569adb
test: optimization type in test case ( #43449 )
* test: optimization type in test case
* fix lint
---------
Co-authored-by: 我们去月球漫步 <13105694+flymetothemoon-wj@user.noreply.gitee.com>
1 year ago
二货爱吃白萝卜
588ee4cac2
docs: Add motion & dropdown faq ( #43403 )
* docs: motion usage case
* docs: faq
* docs: update
1 year ago
MadCcc
b64a57d5d0
docs: component token meta ( #43337 )
* docs: component token meta
* docs: more
* docs: complete
1 year ago
JiaQi
8cdb76bad6
fix(dropdown): Dropdown menu support transmit ref ( #43002 )
* fix(dropdown): Dropdown menu support transmit ref
* chore: add test case
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
Dunqing
e1e5c740e0
refactor: avoid circular import ( #42764 )
2 years ago
MadCcc
f09e9cb0c9
refactor: Menu migrate to @rc-component/trigger ( #42554 )
* refactor: Menu migrate to @rc-component/trigger
* chore: remove rc-trigger
* chore: bump version
* chore: bump version
* chore: update size limit
* chore: update snapshot
2 years ago
MadCcc
5d53884919
fix: fix wrong button icon size and margin ( #42516 )
2 years ago
二货爱吃白萝卜
f4858ff581
chore: align motion follow popup point ( #42225 )
* chore: align motion follow popup point
* test: update snapshot
2 years ago
二货爱吃白萝卜
711c9d6754
chore: fix ts def ( #42218 )
* chore: fix ts def
* chore: fix ts
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
二货爱吃白萝卜
a5d420b941
chore: bump motion ( #41873 )
* chore: bump motion
* 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
lijianan
65224d357d
🦄 ️ refactor: use React.useMemo replace function ( #41550 )
* 🦄 ️ refactor: use React.useMemo replace function
* add
* fix
* add
* add
2 years ago
MadCcc
3ef08ed0ef
fix: dropdown down icon size ( #41501 )
2 years ago
二货爱吃白萝卜
2a9f5ea1ab
docs: more token info ( #41475 )
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
二货爱吃白萝卜
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
lijianan
ed94e03705
docs: update docs ( #40902 )
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
MadCcc
12596a06f2
fix: optimize arrow style ( #40521 )
* perf: optimize arrow style
* chore: code clean
* chore: code clean
2 years ago
afc163
467741f558
fix: Dropdown submenu wrong position ( #40349 )
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
MadCcc
40944a1c02
perf: only one parent selector in style ( #40325 )
* chore: add parent selector
* chore: update lint script
* chore: code clean
* perf: style
* chore: remove demo test cssinjs
* fix: input group
2 years ago
二货爱吃白萝卜
1bcb25166b
test: update snapshot ( #40328 )
2 years ago
kiner-tang(文辉)
8b3868ac63
feat(tooltip): tooltip support arrow prop ( #40234 )
* feat: tooltip support arrow props
* docs: update docs
* chore: update rc-tooltip version
* feat: update snapshots
* feat: update snapshots
* style: format code
* Update components/tooltip/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tooltip/index.zh-CN.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tooltip/demo/arrow.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tooltip/demo/arrow.md
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: code optimize
* docs: update docs
* feat: code optimize
* feat: del doc
* feat: update snapshots
* feat: update snapshots
* feat: update snapshots
* feat: refactor dropdown arrow style
* feat: comment
* Update components/tooltip/demo/arrow.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: popover support arrow prop
* feat: tour arrow style optimize
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: update test case
* feat: update test case
* feat: update test case
* Update components/popover/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tooltip/index.zh-CN.md
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
Muhammad Sohaib Raza
5191b85b96
refactor: button ( #40077 )
* fix: type updated from any, and comments removed #15930
* refactor: removed unnecessary comments, created helper for button
* fix: cleanupTimer
* fix: import fixed
* Update components/button/button.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/dropdown/dropdown-button.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
lijianan
8501adbd84
fix: add displayName ( #40092 )
* fix: add displayName
* rerun ci
* rerun ci
2 years ago
Wuxh
0086884179
fix(menu): fix custom expand icon cannot be hidden ( #40071 )
* test: add case
* fix: fix the error of missing custom icon className
* test: add case
* fix(menu): fix the bug that the custom expand icon is not hidden in collapse mode
* test: update snapshot
* Revert "fix: fix the error of missing custom icon className"
This reverts commit 71c79a3f75
.
* test: update case
* fix: fix the error of missing custom icon className
2 years ago
dongfang
0dc7815599
fix: missing css code in demo code preview ( #39471 )
* fix: missing demo style in windows
* fix: missing css code in demo preview
* fix: change TabPane to tabs items
* fix: change cn why-open url
2 years ago
Wuxh
5836724dc4
fix: dropdown menu style issue ( #39904 )
* fix: dropdown menu item in danger
Disable dropdown menu item when type is equal to danger
increase disabled CSS specificity
remove unnecessary changes
fix: remove reordering functions
Remove reordering functions by increasing `disable` class on line 350 CSS specificity
Revert "fix: remove reordering functions "
This reverts commit bd94daaddf973f5f8ef1641ea3081f5aab2fc3a2.
* chore: update style
* chore: update demo
ref: https://github.com/ant-design/ant-design/issues/39322
* test: update snapshot
Co-authored-by: samyar <75088294+samyarkd@users.noreply.github.com>
2 years ago
lijianan
3ed7ec906e
chore: remove useless tsx support ( #39890 )
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2 years ago
JarvisArt
8d7e17a11c
chore: dropdown context-menu demo supports dark mode ( #39859 )
2 years ago
Wuxh
5f40fe874b
fix: dropdown menu style issue ( #39904 )
* fix: dropdown menu item in danger
Disable dropdown menu item when type is equal to danger
increase disabled CSS specificity
remove unnecessary changes
fix: remove reordering functions
Remove reordering functions by increasing `disable` class on line 350 CSS specificity
Revert "fix: remove reordering functions "
This reverts commit bd94daaddf973f5f8ef1641ea3081f5aab2fc3a2.
* chore: update style
* chore: update demo
ref: https://github.com/ant-design/ant-design/issues/39322
* test: update snapshot
Co-authored-by: samyar <75088294+samyarkd@users.noreply.github.com>
2 years ago
lijianan
9aec72c395
chore: remove useless tsx support ( #39890 )
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2 years ago
JarvisArt
fbeddb572e
chore: dropdown context-menu demo supports dark mode ( #39859 )
2 years ago
MadCcc
e3e1b8534d
feat: Dropdown support autoAdjustOverflow ( #39735 )
* feat: Dropdown support autoAdjustOverflow
* docs: api
* docs: update api desc
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
JarvisArt
1ce7d3a13d
fix: Optimize the custom-dropdown demo style ( #39626 )
* fix: Optimize the custom-dropdown demo style
* chore: Using the token variable
2 years ago
lijianan
120db80c25
type: Button type optimization ( #39533 )
* type: type optimization
* fix type
* fix type
* fix type
* update docs
2 years ago
Amumu
ca5b9a6ae0
docs: `CN` it. ( #39519 )
2 years ago
lijianan
12543277b7
type: remove tuple、tupleNum、ElementOf ( #39478 )
* type: remove tuple
* type: remove tuple
* type: remove tuple
* fix
* fix
* fix type
* fix type
* fix type
* fix type
* fix type
* Update ColorPicker.tsx
* Update components/badge/utils.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* fix type
* fix type
* fix type
* fix
* fix
* fix type
* fix type
* fix type
* update snap
* update snap
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago