thinkasany
fc83371a00
type(button): add style type React.CSSProperties ( #43588 )
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
kiner-tang(文辉)
ef7b6e888b
fix: resolve ghost button lose disabled state when use type='ghost' ( #43558 )
1 year ago
炒米粉
8a7f8d0a88
docs: corrected a mistake of a demo description. ( #43499 )
1 year ago
thinkasany
efa427072a
chore: code style optimization ( #43458 )
1 year ago
thinkasany
9b03ce476d
type: remove unnecessary code ( #43439 )
1 year ago
thinkasany
f566e3b24b
type: supplementary React.FC type ( #43410 )
* type: supplementary React.FC type
* fix: remove useless code
* revert: remove useStyle
* revert: card-top
* Update card-top.tsx
1 year ago
洋
cb338a2c61
fix: Button disabled style with link or href case ( #43091 )
* fix: Button disabled style with link or href case
* chore: update
* fix: update link disable logic
* test: update snapshot
* chore: update
* chore: update code
Co-authored-by: wxh16144 <wxh16144@users.noreply.github.com>
* Update components/button/style/index.ts
Co-authored-by: Wuxh <wxh16144@qq.com>
---------
Co-authored-by: 洋 <hetongyang@bytedance.com>
Co-authored-by: wuxh <wxh1220@gmail.com>
Co-authored-by: wxh16144 <wxh16144@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: Wuxh <wxh16144@qq.com>
1 year ago
thinkasany
4a4d276d25
type: correct type & remove useless type ( #43256 )
1 year ago
kiner-tang(文辉)
cc4277eb55
chore(Button): spelling optimization ( #43157 )
1 year ago
lijianan
209f062131
type: update string type with React.HTMLAttributeAnchorTarget ( #43129 )
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
kiner-tang(文辉)
f0a94139e7
fix(Button): button's children should be disabled when button is disabled ( #42949 )
* fix: button's children should be disabled when button is disabled
* feat: update test case
* feat: update 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
LuZhenJie1999
b6442fe285
feat: add style/className/styles/classNames to ConfigProvider ( #42623 )
* feat: add style/className/styles/classNames to ConfigProvider
* chore: better code
* Update components/config-provider/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
* Update components/config-provider/index.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com>
---------
Co-authored-by: 歆其 <luzhenjie.lzj@antgroup.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2 years ago
MadCcc
5d53884919
fix: fix wrong button icon size and margin ( #42516 )
2 years ago
lijianan
9d1854763d
refactor: add useSize replace React.useContext ( #42282 )
* refactor: add useSize
* fix
* fix
* fix
* fix
* fix
2 years ago
MadCcc
34af3ec550
feat: component token rename ( #42184 )
* feat: component token naming rules
* dcos: update
* feat: modal token rename
* feat: rename result token
* feat: statsitic token rename
* feat: steps token remane
* chore: update snapshot
* chore: fix lint
* feat: semantic part component
* revert: button & notification
* revert: files
* chore: code clean
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
4cf6f1b83b
feat: Button support buttonFontWeight ( #42121 )
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
4ecac35a29
chore: use `composeRef(ref, internalRef)` replace `ref || internalRef` ( #42036 )
* chore: use composeRef replace ref || internalRef
* style
* revert
2 years ago
MadCcc
3e921d707c
chore: update snapshot
2 years ago
ayang
e5fad4c2d6
style: optimize button code ( #42005 )
2 years ago
lijianan
99f0db6ea6
docs: update demo ( #41946 )
* docs: update demo
* demo: delete div
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
3b22b89e6d
type: fix type error ( #41650 )
* type: fix type error
* fix
2 years ago
JiaQi
6c02a0e14c
fix(button): Focus outline being blocked by other elements ( #41282 )
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
二货爱吃白萝卜
9642564eea
docs: Button page show related token ( #41176 )
* docs: btn token
* docs: btn all tokens
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
红果汁
0a24676845
fix: use loading delay not delay at first time ( #40751 ) ( #40759 )
* fix: use loading delay not delay at first time
* perf: test code
* refactor: optimization code
* fix: lint problem
* refactor: prefer code
* refactor: prefer code
* refactor: prefer code
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
lijianan
0a75cfe9e2
refactoring: use React.createRef replace ref function ( #40538 )
* style: use React.createRef replace ref function
* style: use React.createRef replace ref function
* add useRef
* fix
* rename
2 years ago
lyn
0ab8419d6b
docs: update Button/Segmented docs ( #40461 )
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
lijianan
b9a6b7b578
demo: update demo ( #40318 )
* demo: update demo
* add form
* clear
* add Select
* add
* fix style
* fix style
* fix
* revert
2 years ago
Danial Soheili
a91ef95184
💄 STYLE: Button's color should override child anchor's color ( #40269 )
2 years ago
lijianan
a318fabe6c
chore: ts optimization ( #40258 )
2 years ago
lijianan
1c8f6507ce
site: improve overview page ( #40126 )
* site: imp
* update fontsize
* add scrollTo(0)
* revert
* add style return type
* add resize Event when input onChange
* docs: fix affix height and revert resize event
* fix: justifycontent => justify-content
* fix style
Co-authored-by: afc163 <afc163@gmail.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
c35787696b
demo: update demo ( #40079 )
* demo: update demo
* rerun ci
2 years ago
lijianan
e597fe8ec6
fix: Button block prop not work ( #39992 )
* fix: Button block prop not work
* fix
* remove auto
* update demo
* fix
* fix
* fix width
* fix
* update demo
2 years ago
二货爱吃白萝卜
99b32a3c37
fix: wave target position switch ( #39966 )
* fix: Node delay for wave pos
* test: test case update
* test: test case update
* chore: update ignore
* test: test case update
* chore: resize check for size changing
* test: coverage
* chore: save code
2 years ago