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
叶枫
7e877dc799
test: support react 16 lint ( #46963 )
...
* feat: support react 16 lint
* feat: test
* feat: test
* feat: test
* feat: test
* feat: 不增加 package script
2024-01-14 17:15:39 +08:00
MadCcc
2fe9b46bc1
feat: Button support lineHeight token ( #46936 )
...
* feat: Button support lineHeight token
* refactor: rm format
* chore: code clean
* chore: fix test
2024-01-12 15:03:03 +08:00
二货爱吃白萝卜
e7aa014c31
chore: Add type util ( #46923 )
...
* docs: init
* chore: all types
* docs: faq
* chore: fix lint
2024-01-11 15:55:58 +08:00
MadCcc
c35e0982cb
fix: Button padding token should follow contentFontSize ( #46901 )
2024-01-11 11:18:21 +08:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId ( #46424 )
...
* refactor: cssVarCls
* refactor: update
* chore: update
* fix: cascader & tree-select
* fix: ribbon
2023-12-14 14:58:53 +08:00
vagusx
71bd883126
Merge remote-tracking branch 'origin/master' into feature-merge-master-12-04
2023-12-04 10:32:45 +08:00
afc163
83f969b2be
style: Button support gradient background ( #46192 )
...
* style: Button support gradient background
* chore: fix test case
2023-12-01 23:25:46 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks ( #46038 )
...
* refactor: genStyleHooks
* chore: update sciprt
* refactor: affix
* refactor: select
* chore: update
* refactor: update
* refactor: update
* refactor: done
* chore: code clean
* chore: code clean
* chore: fix lint
* chore: decrease size limit
* chore: code clean
* chore: code clean
* chore: remove export
2023-11-29 17:23:45 +08:00