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
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
叶枫
6dcd6e2dc1
feat: merge master
2024-04-08 14:37:05 +08:00
叶枫
502dac12aa
docs: format code ( #48309 )
...
* docs: fix code
* feat: lint
* feat: prettier
* feat: test
* feat: review
* feat: format html
* feat: format html
2024-04-08 14:04:08 +08:00
George H
14f8279aea
feat: Support iconPosition with button icon ( #47791 )
...
* feat: button support iconPosition
* fix: iconPosition compatible LoadingIcon
* docs(Button): update Button with iconPosition demo
* fix: delete debug type
* fix: iconPosition for InnerLoadingIcon with not existIcon
* chore: update button snapshots
* fix: fixed loading-icon-end style
* chore: refactor buttonContent with genButtonContent
* fix: iconPosition compatible with rtl
* docs(Button): update button with iconPosition demo
* chore: update test
* fix: iconPosition compatible with rtl
* docs(Buttob): add icon-position demo
* restore icon demo
* update snapshots
* docs: update icon button demo
* docs: update iconPosition button demo
* Update components/button/index.zh-CN.md
Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: George H <default_hyn@163.com>
* Update components/button/index.zh-CN.md
Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: George H <default_hyn@163.com>
* Update components/button/demo/icon-position.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>
* Update components/button/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>
* Update components/button/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>
---------
Signed-off-by: George H <default_hyn@163.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-07 22:42:20 +08:00
afc163
b63a94108f
demo: fix linear gradient button demo and remove debug flag ( #48320 )
...
* demo: fix linear gradient button demo and remove debug flag
* fix active colors
2024-04-07 19:14:56 +08:00
momesana
18f9be6a6e
fix: vertically center icons in icon-only buttons ( #48178 )
...
Co-authored-by: Mehdi Salem <mehdi.salem@qt.io>
2024-03-30 22:14:34 +08:00
lijianan
82720bc503
type: update Wave props type ( #48092 )
...
* fix: fix the Wave not disappear when motion === false
* docs: update docs
* type: update type
* type: update type
* docs: revert
2024-03-26 18:20:28 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage ( #48004 )
...
* docs: init ref
* docs all support
* docs: fix link show
2024-03-22 14:22:42 +08:00
Cooper
be1d14d4cb
docs: text optimize ( #48012 )
2024-03-22 11:57:58 +08:00
afc163
96bade2dad
chore: update token descriptions ( #47918 )
...
* fix: Modify button token annotation error
fix: Modify button token annotation error
Signed-off-by: 孙术 <18046567175@163.com>
* Apply suggestions from code review
Signed-off-by: afc163 <afc163@gmail.com>
* Apply suggestions from code review
Signed-off-by: afc163 <afc163@gmail.com>
* Update token.ts
Signed-off-by: afc163 <afc163@gmail.com>
* Update token.ts
Signed-off-by: afc163 <afc163@gmail.com>
* Update token.ts
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: 孙术 <18046567175@163.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 孙术 <18046567175@163.com>
2024-03-16 22:17:56 +08:00
孙术
67b890af26
chore: Modify button token annotation error ( #46914 )
...
* fix: Modify button token annotation error
fix: Modify button token annotation error
Signed-off-by: 孙术 <18046567175@163.com>
* Apply suggestions from code review
Signed-off-by: afc163 <afc163@gmail.com>
* Apply suggestions from code review
Signed-off-by: afc163 <afc163@gmail.com>
* Update token.ts
Signed-off-by: afc163 <afc163@gmail.com>
* Update token.ts
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: 孙术 <18046567175@163.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-16 22:13:58 +08:00
宋红凯
f9e9b8b8ed
docs(Button): change paddingBlock type def desc ( #47856 )
2024-03-14 11:42:14 +08:00
二货爱吃白萝卜
01f923effe
fix: Compatible with v4 logic ( #47612 )
2024-02-27 19:11:46 +08:00
lijianan
a84af71d14
site: code optimization ( #47456 )
2024-02-16 20:50:31 +08:00
二货爱吃白萝卜
7104513a84
docs: Support semantic preview ( #47332 )
...
* docs: init
* docs: semantic block
* docs: part of demo
* docs: modal
* docs: slider
* docs: space
* docs: all sementic
* docs: clean up
* chore: fix lint
* chore: clean up
* chore: update script
* test: fix test case
* test: update testcase
2024-02-05 11:45:42 +08:00
lijianan
231e873b3f
Merge pull request #47238 from ant-design/master
...
chore: merge master into feature
2024-01-30 20:00:58 +08:00
MadCcc
4ecc0d7f95
docs: optimize overview svg ( #47203 )
...
* docs: optimize overview svg
* docs: update
* docs: dark
2024-01-29 14:50:36 +08:00
章鱼怪
3c477ee52d
feat: Button add tokens ( #47075 )
...
* feat: default button add tokens
* fix: var name
2024-01-26 14:00:21 +08:00
叶枫
ea02766934
Fix button size style ( #47074 )
...
* fix: Button size style
* fix: Button size style
* feat: default 补充默认样式
* feat: style
* feat: style
* feat: style
2024-01-23 10:20:57 +08:00
叶枫
842791b2cb
fix: react 16 test ( #47016 )
2024-01-17 22:28:15 +08:00