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
9796351e72
docs: Example titles begin with uppercase ( #43345 )
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
二货爱吃白萝卜
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
iola1999
26555fcd12
fix: tour arrow color ( #41761 )
* fix: tour arrow color
* test: updte
* fix: duplicate class name
* test: update snapshot
* chore: speedup
* fix: update current step props by onChange
* chore: optimization
* fix: props.current may change
* chore: save
* test: coverage
* chore: optimization
* chore: add useMergedType
* chore: save
* chore: optimization
* chore: optimization
* chore: optimization
* chore: move file
* refactor: useMergedType hook
* chore: save
* chore: optimization
* test: ci
* chore: remove useMemo
* chore: use nullish coalescing operator
* chore: rename setInnerCurrent to updateInnerCurrent
2 years ago
二货机器人
9ea790d0d5
test: fix snapshot
2 years ago
二货机器人
fe3ff7aa8a
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
acyza
4792b879ca
fix: double arrow ( #41578 )
* fix: double arrow
* chore: fix test
2 years ago
lijianan
f6c235462e
chore: Remove locale-provider ( #41289 )
* chore: rm locale-receiver
* chore: export useLocale in locale
* chore: comment
* chore: rm locale-provider dir
* docs: rm locale-provider in migration document
* chore: fix regexp
---------
Co-authored-by: MadCcc <1075746765@qq.com>
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
张玉印
704d2e78b0
docs: fix docs of Tour ( #41115 )
2 years ago
kiner-tang(文辉)
e7acb487f3
feat(tour): tour support custom zIndex ( #40982 )
* feat: tour support custom zIndex
* feat: update snapshots
2 years ago
lijianan
412fe13d0c
refactoring: rewrite useLocale return value ( #40884 )
* refactoring: rewrite useLocale return
* rename
* revert name
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
kiner-tang(文辉)
36b47f6233
refactor: update @rc-component/tour version ( #40872 )
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
lijianan
c885a42e3b
refactor: rewrite panelRender function to funtion component ( #40670 )
* fix: Indicators support number 0
* fix
* fix
* fix
* fix
* fix
* refactoring: rewrite panelRender function to funtion component
* restart ci
* fix
* fix
* fix
* Update index.test.tsx
* Update index.en-US.md
* Update components/tour/panelRender.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* raname
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
lijianan
774bd8e6aa
fix: Indicators support number 0、null、undefined ( #40631 )
* fix: Indicators support number 0
* fix
* fix
* fix
* fix
* fix
* Update components/tour/__tests__/index.test.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* test: add test
* Update index.zh-CN.md
* Update index.en-US.md
* fix: update test
* test case
* Update components/tour/__tests__/index.test.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tour/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* fix style
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
Sunny-117
3cd756a514
chore(test): replace toEqual with toBe for boolean results ( #40673 )
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
lijianan
57d0fdde8e
fix: deleted margin of the last indicator ( #40624 )
2 years ago
lijianan
47d5fd5c93
feat: support indicatorsRender ( #40613 )
2 years ago
MadCcc
421ae105ad
refactor: adjust boxShadow token ( #40516 )
* refactor: adjust boxShadow token
* chore: code clean
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
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
kiner-tang(文辉)
508ea27328
feat(tour): tour support custom scroll into view options ( #39980 )
* feat: support custom scrollIntoViewOptions
* feat: support custom scrollIntoViewOptions
* docs: update docs
* docs: update docs
* docs: update docs
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
8f9a25c021
type: remove ForwardRefRenderFunction ( #39924 )
* type
* fix
2 years ago
lijianan
4f16966e28
refactor[Wave]: CC => FC ( #39705 )
* fix
* refactor[Wave]: CC => FC
* fix lint
* fix
* fix
* fix
* add test case
* add test case
* fix test
* fix test
* test case
* add test case
* fix
* fix
* fix
* fix
* raname
* fix
* test case
* test case
* test case
* fix test
* test case
* refactor: Use React way
* test: coverage
* chore: clean up
* rerun fail ci
* fix: React 17 error
* test: fix test case
* test: fix test case
* fix borderRadius
* test: fix test case
* chore: clean up
* chore: clean up
Co-authored-by: 二货机器人 <smith3816@gmail.com>
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
kiner-tang(文辉)
78235623c4
feat: tour support custom mask style and fill color ( #39919 )
2 years ago
lijianan
54d7f30018
type: remove ForwardRefRenderFunction ( #39924 )
* type
* fix
2 years ago
lijianan
4e45276c4e
refactor[Wave]: CC => FC ( #39705 )
* fix
* refactor[Wave]: CC => FC
* fix lint
* fix
* fix
* fix
* add test case
* add test case
* fix test
* fix test
* test case
* add test case
* fix
* fix
* fix
* fix
* raname
* fix
* test case
* test case
* test case
* fix test
* test case
* refactor: Use React way
* test: coverage
* chore: clean up
* rerun fail ci
* fix: React 17 error
* test: fix test case
* test: fix test case
* fix borderRadius
* test: fix test case
* chore: clean up
* chore: clean up
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
黑雨
1eaf125528
fix: Fix tour step type ( #39382 )
* feat: fix-step-type
* feat: fix-step-type
* feat: add test
* feat: update test
* feat: update test snapshots
* feat: update test snapshots
* feat: update test snapshots
* fix: PurePanel style
* test: update snapshot
* feat: update package
* feat: fix-step-type
* feat: fix-step-type
* feat: add test
* feat: update test
* feat: update test snapshots
* feat: update test snapshots
* feat: update test snapshots
* feat: update package
* fix: PurePanel style
* test: update snapshot
* feat: update for checks
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
Amumu
d689c7b855
feat: Remove locale-provider ( #39373 )
* feat: remove locale-provider
* chore: fix lint
* Empty-Commit
* test: remove test
* Revert "test: remove test"
This reverts commit 4f6b59883f6bf078f21a10898ef913c9e2adb913.
* chore: 阶段性兼容
* fix lint
* fix: fix lint
* fix: add index
* docs: update docs
* docs: update
* docs: update
* docs: update
2 years ago
lijianan
240210a281
feat: New Component QRCode ( #38948 )
* feat: qrcode
* chore: code clean
* feat: New Component Qr-Code (#38891 )
* feat: QrCode
* fix
* fix
* fix: fix bug
* fix: fix bug
* fix
* fix
* fix
* delete
* delete
* test case
* fix lint
* bundlesize
* demo
* fix: fix test
* remove dep
* update snap
* en docs
* refactor: rename tests dir
* Update components/qr-code/demo/base.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/demo/base.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/demo/download.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/demo/download.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/demo/download.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/demo/logo.md
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qr-code/demo/logo.md
Co-authored-by: MadCcc <1075746765@qq.com>
* rename
* fix
* adjust text
* rename
* fix title
* rename
* rename
* fix: snap
* fix
* bundlesize
* update demo
* update docs
* add demo
* add docs
* add docs
* test: add warning
* update demo
* bundlesize
* update test case
* update demo
* feat: add onRefresh、add status
* fix: fix demo
* fix: fix demo
* add locale
* add locale
* add test case
* update snap
* fix demo
* update demo
* update demo
* update demo
* Update components/qrcode/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qrcode/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qrcode/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qrcode/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qrcode/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qrcode/interface.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/qrcode/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* fix
* Update components/qrcode/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* fix
* fix
* fix
* add decs
* fix
* fix
* fix type
* fix
* fix demo
* fix lint
* fix lint
* add test case for bordered
* prettier-ignore
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: 栗嘉男 <lijianan@lijianandeMacBook-Pro.local>
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
ffbb19e090
chore: lint ( #39102 )
* chore: enable tsc for demos
* chore: site lint
* chore: fix lint
2 years ago
Cat-XHS
ce5d71d66f
feat(tour): TourStepProps ButtonProps ts definition update ( #38939 )
* feat: tour ts define update
* test: add more unit test
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
黑雨
e12580bedb
dcos: update Tour api doc ( #38877 )
2 years ago
Sonu Sharma
7728eec447
docs: spelling and grammar fix ( #38743 )
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
MadCcc
0162d2e2d8
feat: change transiton to mid duration ( #38648 )
2 years ago