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
b139dec663
chore: code style optimization ( #43457 )
* chore: Code style optimization
* style: code optimize
1 year ago
MadCcc
b64a57d5d0
docs: component token meta ( #43337 )
* docs: component token meta
* docs: more
* docs: complete
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
二货爱吃白萝卜
ecc384e8b6
chore: follow up of tooltip style ( #42466 )
2 years ago
二货爱吃白萝卜
4460ff4718
fix: Tag with Tooltip should not affact style ( #42414 )
2 years ago
二货爱吃白萝卜
49549ae210
fix: Use visible first ( #42394 )
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
ayang
9c4034a164
style: optimized code ( #41957 )
2 years ago
Amumu
6f2a829621
chore: rc-trigger move to dev depds ( #41808 )
* chore: rc-trigger move to dev depds
* test: fix type
* ci: lock react-sticky-box@2.0.0
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
黑雨
cef58664e8
📝 doc: add design token table ( #41717 )
* ✨ feat: add token
* 📝 doc: update lint
* 📝 doc: update doc
2 years ago
muxin
76b6909c2d
fix: forcePopupAlign is align to forceAlign instead ( #41540 )
* fix: forcePopupAlign is align to forceAlign instead
* test: add test
* test: update test
2 years ago
lijianan
d840f6a87a
🦄 ️ refactor: use React.useMemo replace function ( #41533 )
* 🦄 ️refactor: use React.useMemo replace function
* rename
2 years ago
MadCcc
86b26e6935
fix: fix cycle-deps ( #41499 )
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
MadCcc
8ae56f2371
feat: tooltip support arrow.pointAtCenter ( #40989 )
* feat: tooltip support arrow.pointAtCenter
* test: rm only
* fix: Popover
* fix: rm popover arrow logic
* test: update test
* chore: skip debug demo test
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
二货爱吃白萝卜
8f7f3608f8
fix: safari align ( #40818 )
2 years ago
二货爱吃白萝卜
0c0faaa9e1
docs: Update Tooltip docs ( #40754 )
* chore: update pkg
* docs: update doc
2 years ago
二货爱吃白萝卜
5c1162a140
docs: update demo ( #40732 )
* docs: update demo
* test: update snapshot
* test: update snapshot
* chore: fix lint
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
二货爱吃白萝卜
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
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
lijianan
26ec8fcdc9
demo: update demo ( #40295 )
* demo: update demo
* update demo
* update demo
2 years ago
lijianan
c35787696b
demo: update demo ( #40079 )
* demo: update demo
* rerun ci
2 years ago
lijianan
d3764fcce3
test: refactor test case demo CC => FC ( #40070 )
* test: refactor test case demo CC => FC
* add type
* type
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
7f189d56e5
refactor: merge preset colors ( #39742 )
* style: remove redundant code
* feat(style): add preset colour style generation method
(cherry picked from commit 1266e42ba27accb48a6544e3eddaa4a94daef00c)
* feat: uniform preset colour generation css selector method
(cherry picked from commit 5af87e8d5ffcfd23e755946167f200c0565f8222)
* chore: merge preset colors
(cherry picked from commit 05040dfb703f60a3ea1715326748c508acbf41a6)
* chore: update
(cherry picked from commit 241b40a1361469487a6a3e8f1ad07a25d250463d)
* chore: remove Badge preset inverse colors
* chore: remove fix
删除的这部分其实一个 Bug,但是为了给 PR 减负(尽可能单一, 后面新开一个 PR 来修复这个问题
* suggestions accepted
Update components/style/presetColor.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
二货爱吃白萝卜
3539e668f7
chore: adjust tooltip for cov ( #40013 )
* chore: adjust tooltip for cov
* chore: update bug version
2 years ago
lijianan
71eddd2c20
chore: remove useless tsx support ( #39934 )
* chore: remove useless tsx support
* add
* revert
* add
* fix
* fix
* add test case
* fix
2 years ago
lijianan
dedbbda5f2
type: LiteralUnion optimization ( #39871 )
2 years ago
二货爱吃白萝卜
6246647b50
fix: Slider Tooltip appear motion not working ( #39857 )
* fix: use native tooltip
* chore: clean up
* test: Update snapshot
* test: Update snapshot
2 years ago
lijianan
5d3381334c
chore: remove useless tsx support ( #39934 )
* chore: remove useless tsx support
* add
* revert
* add
* fix
* fix
* add test case
* fix
2 years ago
lijianan
d55d39b811
type: LiteralUnion optimization ( #39871 )
2 years ago
二货爱吃白萝卜
809252b431
fix: Slider Tooltip appear motion not working ( #39857 )
* fix: use native tooltip
* chore: clean up
* test: Update snapshot
* test: Update snapshot
2 years ago
dongfang
3039d62a72
fix: Slider tooltip missing animation ( #38492 ) ( #39463 )
* fix: change duration for zoom-big-fast to token.motionDurationFast
* fix: Slider tooltip missing animation (#38492 )
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
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
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
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
lijianan
9dc33bda54
chore: set default value for style ( #38689 )
* fix: set default value for style
* Update components/tooltip/util.ts
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
afc163
e027cbec1c
docs: format all markdown ( #38629 )
* chore: add prettier-ignore in markdown demo
* docs: format markdown api table
* docs: format markdown api table
2 years ago