afc163
0d5f4ff95c
chore: remove useless var ( #51689 )
2024-11-19 17:31:13 +08:00
afc163
e34a6a8c6f
fix: Button custom icon is not align center ( #51652 )
2024-11-18 12:03:52 +08:00
afc163
a1bc111875
refactor: tweak button style code ( #51646 )
2024-11-18 10:27:12 +08:00
二货爱吃白萝卜
d704816731
refactor: Button inner logic & use effect to get focus ( #51624 )
...
* chore: init
* test: update test
2024-11-14 11:50:00 +08:00
𝑾𝒖𝒙𝒉
7379233810
Revert "fix(icon-button): Button icon not vertically centered error" ( #51588 )
2024-11-12 13:49:12 +08:00
afc163
8a64ec6a9e
chore: merge branch
2024-11-07 16:51:58 +08:00
Jony J
08a9325182
feat: add a11y test for components demo ( #51414 )
...
* test: add accessibility test utilities
* refactor(tests): replace polling with Promise chain for axe test queue management
* test: add a11y test for components demo
* feat: add a11y test utils
* test: add a11y test for components demo
* test: add a11y test for components demo
* chore: remove unnecessary code
* feat: add polyfill for test environment
* test: add a11y test for components demo
* test: add a11y test for components demo
* chore: adjust code style
2024-11-01 11:30:11 +08:00
Muhammad Abuzar
49cf576f46
docs: documentation improvement ( #51442 )
...
* Update index.en-US.md
Corrected a grammar error in shape prop
Signed-off-by: Muhammad Abuzar <muhammadabuzar010@gmail.com>
* Update components/button/index.en-US.md
Signed-off-by: lijianan <574980606@qq.com>
* Update components/button/index.en-US.md
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: Muhammad Abuzar <muhammadabuzar010@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-10-31 08:04:11 +08:00
𝑾𝒖𝒙𝒉
c69e943eeb
fix(icon-button): Button icon not vertically centered error ( #51381 )
2024-10-26 23:54:03 +08:00
lijianan
1776d741ce
type: rm unnecessary button type ( #51332 )
2024-10-22 09:57:14 +08:00
Muhammad Sohaib Raza
4b5cee0b3f
refactor: minor refactoring + optimization ( #42037 )
...
Co-authored-by: mac <mac@macs-MacBook-Pro.local>
Co-authored-by: SohaibRaza <sohaib.raza@devcrew.io>
Co-authored-by: lijianan <574980606@qq.com>
2024-10-20 21:12:53 +08:00
ice
a15d9a3e4b
style(button): modify the text suspension bgColor ( #51187 )
2024-10-13 13:15:46 +08:00
ice
696c9dde02
fix(button): type=link error token & add prefix cls (color/variant) & specificity too high ( #50962 )
2024-09-24 23:52:50 +08:00
renovate[bot]
863f61d908
chore(deps): update dependency eslint to v9 ( #50690 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00
章鱼怪
b5b0918970
feat: Text Button tokens ( #47870 )
2024-09-18 23:26:56 +08:00
lijianan
5b467654aa
feat: FloatButton support button htmlType ( #50892 )
2024-09-17 17:15:26 +08:00
二货爱吃白萝卜
fbf8b10425
docs: update button doc desc ( #50770 )
...
Co-authored-by: ice <1597834867@qq.com>
2024-09-09 22:30:49 +08:00
二货机器人
9d0e67de28
chore: merge master
2024-09-04 14:11:23 +08:00
ice
badfbe3cfe
feat(Button): support variant and color ( #50051 )
...
* feat(button): variant & color types
* feat: type -> color/variant
* feat: type -> color/variant
* feat: add variant filled
* test: snap
* refactor(button): rename type -> variant
* docs: add demo
* feat: add danger ghost style
* refactor: remove deprecated
* refactor: eslint
* docs: change color&variant
* test: updated snap
* docs: color-variant
* docs: add debug color&variant
* feat: global token
* refactor: remove comment
* docs: add color&variant docs
* docs: remove default
* docs: add space
* docs: code
* test: update snap
* test: fix snap
* test: btn querySelect
* feat: change filled hoverStyle
* test: fix
* feat: support grey wave
* refactor: enhance
* docs: color/variant -> v 5.21
* test: snap
* feat: add token
* test: to do
* test: fix test
* ci: rebuild
* style: remove
* style: space
* docs: add note & FQA
* feat: add componentsToken
* refactor: remove isNotGrey
* test: add case
* docs: tile button
* test: snap
* docs: site & snap
* Update components/button/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* fix: token color & undef
* docs: site
* docs: responsive
* docs: enhance FAQ
* docs: gap middle
* test: snap
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* refactor: rename
* docs: prettier
* chore: eslint
* refactor: cls
* test: add solidTextColor case
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* fix: rename
* docs: text
* fix: remove border
* feat: add token colorErrorBgFilledHover
* chore: add size-limit
* refactor: rename
---------
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2024-09-03 17:39:02 +08:00
ice
cfc07f2985
docs(button): bump from @emotion/css to antd-style ( #50662 )
2024-08-30 22:27:36 +08:00
Arvin Xu
700e0aeebe
chore: Add comments to token interfaces ( #50386 )
2024-08-13 13:31:10 +08:00
lijianan
1421eccb04
chore: update componentCls key again ( #50251 )
...
* chore: update componentCls key again
* Update components/skeleton/style/index.ts
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
2024-08-05 22:30:55 +08:00
renovate[bot]
7fdfb299eb
chore(deps): update dependency @typescript-eslint/parser to v8 ( #50228 )
...
* chore(deps): update dependency @typescript-eslint/parser to v8
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* fix eslint errors
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-04 12:24:35 +08:00
二货爱吃白萝卜
832cffcdf9
feat: ColorPicker support gradient color ( #50050 )
...
* refactor: support type update
* chore: update clear style
* chore: bump color picker
* chore: use slider
* chore: bump color picker
* chore: range slider
* chore: layout
* chore: useModeColor
* chore: simplify
* chore: bump color picker
* refactor: event
* chore: tmp lock check
* chore: of it
* chore: update ts def
* chore: update ts def
* chore: remove useless ts
* chore: linear
* chore: adjust style
* chore: rm useless code
* chore: fill color
* chore: basic linear
* chore: support toStr
* chore: limit minCount
* chore: use cache
* chore: drag support:
* chore: yes
* chore: update demo
* chore: useLayoutEffect instead
* chore: fix click to add point
* chore: add smmoth
* chore: support of locale
* chore: add locale
* chore: fix lint
* chore: adjust style
* chore: fix lint
* chore: fix style
* test: fix test case
* chore: fix popover
* test: fix test case
* chore: fix test
* test: clean up
* chore: fix lint
* chore: fix lint
* chore: fix lint
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* chore: fix docs
* docs: update demo desc
* chore: enhance hover range
* fix: delete not working
* chore: fix lint
* test: coverage
* test: coverage
* chore: clean up
* chore: adjust
* chore: highlight
* chore: adjust style
* chore: fix lint
* chore: update demo
* chore: memo perf
* refactor: up to down colors
* test: update snapshot
2024-07-29 16:38:50 +08:00
🏎️ Yumo
b71752ffb0
Merge branch 'master' into refactor/cssinjs-utils
2024-07-24 12:44:44 +08:00
vagusX
38cf5e8a75
docs: unify component export file as index.tsx ( #50013 )
...
* docs: unify component export file as index.tsx
* docs: compatible with old anchors
* chore: clean
* test: update snapshot
* fix: window env
---------
Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-07-23 22:22:24 +08:00
🏎️ Yumo
3ec77d32b0
refactor(theme): migrate and refactor type GenStyleFn
by @ant-design/cssinjs-utils
2024-07-23 17:15:39 +08:00
ice
6b9df6b461
docs(button): delete useless introductions ( #49820 )
...
* docs(button): delete useless introductions
* docs: remove space
2024-07-11 11:52:12 +08:00
afc163
ce1721b169
demo: improve button gradient demo ( #49786 )
...
* demo: improve button gradient demo
* demo: improve button gradient demo
2024-07-09 17:27:16 +08:00
Alperen Kılıç
895511e79d
docs: Icon button English document typo fixed ( #49684 )
2024-07-02 19:50:48 +08:00
github-actions[bot]
05d107ce4d
chore: auto merge branches ( #49556 )
...
chore: sync master to feature
2024-06-22 15:30:17 +00:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ( #49536 )
...
* chore: add boime lint
* fix lint
* use files ignore
* revert change
* ignore clarity.js
* fix some errors
* fix some errors
* fix some errors
* fix some errors
* add yml file
* Update clarity.js
Signed-off-by: afc163 <afc163@gmail.com>
* add npm run lint:biome
* add npm run lint:biome
* fix test case
* fix ts errors
* fix ts errors
* fix lint and add .lintstagedrc
* shorten prop name
* chore: update package.json
* update biome.json
* chore: remove stylelint
* chore: useOptionalChain
* fix lint
* biome format
* prettier all code
* prettier all code
* fix site test
---------
Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
Wanpan
73f7b80388
docs: update zh-CN demo ref link ( #49500 )
2024-06-20 14:21:08 +08:00
DerianRambo
b29c314b4c
docs: improved grammar on certain documentation pages ( #49374 )
...
* button documentation grammar fixes
* english float button documentation changes
* english documentation grammar changes for icons
* english typography documentation grammar changes
* english divider documenation changes
* english layout documentation fixes
* english cascader documentation improvements
* english color-picker documentation changes
* english date-picker documentation changes
* english form documentation changes
* English documentation changes for select
* English documentation changes for slider
* English documentation changes for time-picker
* English documenation changes for transfer
2024-06-12 14:27:15 +08:00
栗嘉男
e642d5ea4a
chore: merge master into feature
2024-06-02 21:48:48 +08:00
ice
664f3e6b2e
refactor(button): change bool type ( #49156 )
2024-05-31 15:19:25 +08:00
tanghui
b9a1cabd9f
Merge branch 'master' into feature-merge-master
2024-05-18 15:31:20 +08:00
二货爱吃白萝卜
b62b81958b
test: Fix React 18.3 findDOMNode warning ( #48958 )
...
* fix: try to fix React 18.3 warning
* chore: back of ci
* chore: fix type
* chore: fix lint
* chore: update deps
* fix: component error
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update deps
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update deps
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: bump version
2024-05-18 15:07:26 +08:00
afc163
b49f70fb74
Merge pull request #48911 from ant-design/master
...
chore: merge master into feature
2024-05-14 11:33:39 +08:00
LonelySnowman
8b8021083e
fix: button component add colorErrorBgActive token ( #48876 )
2024-05-12 20:16:58 +08:00
afc163
a343fcd035
refactor: button icon only style ( #48840 )
2024-05-09 18:34:12 +08:00
afc163
6957a5f90d
style: fix Button align issue ( #47318 )
...
* style: fix Button align issue
* test: fix test case
* test: fix AutoComplete image diff
* test: fix Transfer image diff
* refactor: simpify icon position code
* chore: remove unused import
* chore: update snapshot
* chore: fix button style
* chore: fix button style
2024-05-09 17:41:26 +08:00
afc163
766ae3b320
fix: Button icon order and margin in rtl mode ( #48821 )
...
* fix: Button icon order and margin in rtl mode
* demo: default iconPosition should be end
* fix: test case
2024-05-08 20:07:57 +08:00
lijianan
8b1f79c1f5
demo: update demo type { children: React.ReactNode }
=> React.PropsWithChildren
( #48771 )
...
* demo: update demo type React.ReactNode => React.PropsWithChildren
* fix: fix
2024-05-06 12:04:27 +08:00
lijianan
ba5f9fe2f8
Merge pull request #48677 from ant-design/master
...
chore: merge master into feature
2024-04-28 14:02:49 +08:00
lijianan
029cb1dff0
test: rm legacy react-dom/test-utils
for compatible React-18.3.1 ( #48667 )
...
* test: rm legacy react-dom/test-utils for compatible React-18.3.0
* fix: fix
* chore: cls
* chore: update
* fix: fix
2024-04-28 09:52:54 +08:00
lijianan
d34ab00717
demo: update wrap="wrap"
=> wrap
( #48409 )
2024-04-12 12:10:38 +08:00
lijianan
6a7945d2fd
feat: Button support autoInsertSpace prop ( #48348 )
...
* feat: Button support autoInsertSpaceInButton prop
* demo: update demo
* fix: fix
* test: add test case
* docs: update docs
* chore: deprecated autoInsertSpaceInButton prop
* Update components/button/button.tsx
Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* fix: fix
* Update components/button/button.tsx
Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* Update components/button/button.tsx
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
* fix: fix
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-04-11 15:29:10 +08:00
lijianan
4cba8b85d5
Merge pull request #48383 from ant-design/master
...
chore: merge master into feature
2024-04-10 20:30:10 +08:00
lijianan
854cdb4352
type: optimize CompoundedComponent type ( #48346 )
...
* type: optimize CompoundedComponent type
* chore: fix
* type: fix type
* chore: fix
* type: fix type
* type: add ts-ignore
* fix: fix
* chore: revert
2024-04-09 16:49:47 +08:00