lijianan
f438c133ff
type: React.forwardRef type optimization ( #43610 )
* type: React.forwardRef type optimization
* fix
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
1 year ago
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
afc163
39151c612b
fix: Upload progress bar fade motion ( #43471 )
close #43229
1 year ago
MadCcc
b64a57d5d0
docs: component token meta ( #43337 )
* docs: component token meta
* docs: more
* docs: complete
1 year ago
lijianan
62dd62f43c
feat: CP support Upload className and style ( #43325 )
* feat: CP support Tabs className and style
* revert
* test: update snap
* fix
* test: fix test case
1 year ago
二货爱吃白萝卜
1765c49cdc
fix: Upload with maxCount not trigger onChange ( #43193 )
* test: test driven
* fix: Upload maxCount not trigger onChange
1 year ago
daisy
feb8c569e1
refactor: Upload ListItem timeout optimization ( #42915 )
1 year ago
lijianan
3b0352178d
type: update unknow with UploadListRef ( #43054 )
1 year ago
二货爱吃白萝卜
b037433d2b
fix: upload event should not trigger the file out of maxCount ( #43034 )
* fix: upload event should not trigger the file out of maxCount
* chore: opt match logic
* chore: refactor use some
1 year ago
lijianan
1d1f4efcf4
type: update type unknown with UploadRef ( #42985 )
* type: update type unknown with UploadRef
* type: fix type
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
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
Zack Chang
ccb7251384
feat: migrate less to token for Upload ( #42042 )
* feat: migrate less to token for Upload
* feat: recover less variables
* feat: add debug demo
* feat: rename token
* chore: update snapshot
* chore: update snap
---------
Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
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
Nikhil Mishra
bb6e0f5ab9
docs: fixed some grammatical errors in index.en-US.md ( #42438 )
I corrected some spelling and added some articles.
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
Wuxh
6d0acb0518
fix: Upload disable state logic ( #42102 )
* chore(typo): update
* test(upload): add case
* fix: Upload disable state logic
* test: remove case
* chore: remove unused
2 years ago
lijianan
7b1c3990eb
chore: Migrate CJS to ESM ( #42077 )
* chore: Migrate CJS to ESM
* clear
2 years ago
dependabot[bot]
faffd45d57
chore(deps-dev): bump immer from 9.0.21 to 10.0.1 ( #41857 )
* chore(deps-dev): bump immer from 9.0.21 to 10.0.1
Bumps [immer](https://github.com/immerjs/immer ) from 9.0.21 to 10.0.1.
- [Release notes](https://github.com/immerjs/immer/releases )
- [Commits](https://github.com/immerjs/immer/compare/v9.0.21...v10.0.1 )
---
updated-dependencies:
- dependency-name: immer
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix
---------
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
黑雨
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
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
kiner-tang(文辉)
384b1ea9ff
feat: optimize code ( #41234 )
2 years ago
lijianan
c7832505ae
chore: fix ci fail ( #41205 )
* fix: fix ci fail
* fix: fix ci fail
* update rotationSlider prop
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
andy
3eacb8f036
docs: fixes Spelling and Grammar issues ( #41060 )
* Spelling & Grammar fixes.
Fixed up some spelling and grammar issues.
* Update snapshots
2 years ago
lijianan
c38108a63c
fix: Upload in React 18 sync problem ( #41082 )
* fix: Upload in React 18 sync problem
* test: add test case
2 years ago
lijianan
412fe13d0c
refactoring: rewrite useLocale return value ( #40884 )
* refactoring: rewrite useLocale return
* rename
* revert name
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
linxianxi
6c49fc9422
demo: fix upload drag can not preview ( #40837 )
2 years ago
afc163
3b2cd725cb
style: fix Upload picture card style alignment ( #40805 )
- Align SVG elements in the picture card style
- Update components/upload/style/picture.ts
[components/upload/style/picture.ts]
- Add vertical alignment for SVG elements in the picture card style
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
RamonEspinosa
9632b36b04
type: fix drag sorting demo typos ( #40697 )
2 years ago
linxianxi
c48c712371
demo: remove react-dnd, use dnd-kit ( #40674 )
* demo: remove react-dnd, use dnd-kit
* change type
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
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2 years ago
Riyad Elberkawy
21da39ae33
type: update upload UploadFile type ( #40634 )
2 years ago
lijianan
2b29093c52
type: update upload fileList type ( #40585 )
2 years ago
RamonEspinosa
6b55a32eef
demo: Remove immutability helper ( #40556 )
2 years ago
Danial Soheili
6ff094efba
Feat/upload list shape ( #40134 )
* 💄 STYLE: add **picture-circle** to `listType`
* 📖 DOC: update API table
* Update components/upload/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
* Update components/upload/index.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com>
* Update components/upload/Upload.tsx
Co-authored-by: Amumu <yoyo837@hotmail.com>
* 👌 IMPROVE: classNames
* 👌 IMPROVE: add missing className
* 📖 DOC: update Upload demo for icons
* 👌 IMPROVE: classNames order
* 🧪 TEST: update snapshots
* 👌 IMPROVE: Upload list classNames & snapshots
* 📖 DOC: add new demo & revert previous ones
* Update components/upload/index.zh-CN.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Update components/upload/index.en-US.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Update components/upload/index.zh-CN.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
---------
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
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
28d1157d6b
type: optimization undefined type ( #40241 )
* type: optimization undefined type
* fix type
* fix type
* add
* revert
* revert
* revert
2 years ago
lijianan
80498afea6
test: refactor test case CC => FC ( #40068 )
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