Commit Graph

895 Commits

Author SHA1 Message Date
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
lijianan
17dff7c630
chore: merge master into feature 2023-11-23 03:09:24 +08:00
MadCcc
08a85d284c
fix: disabled link button should not have navigate when right click (#46021)
* fix: disabled link button should not have navigate when right click

* chore: update snapshot
2023-11-22 21:09:02 +08:00
MadCcc
80e46b7662
chore: enable cssVar in imageTest (#45985)
* chore: enable cssVar in imageTest

* fix: tree select style

* chore: fix avatar group style

* fix: cascader panel style

* fix: form style

* fix: slider disabled style

* fix: mentions style

* fix: tag style

* fix: tabs style

* fix: Rate style

* fix: table custom token

* chore: update snapshot

* fix: menu style

* fix: InputNumber style

* chore: recover image test

* chore: add css var image test
2023-11-22 20:53:48 +08:00
MadCcc
4203208af5
feat: cssVar could be disabled by set to false (#45987)
* feat: cssVar could be disabled by set to false

* chore: update test case
2023-11-22 09:46:18 +08:00
MadCcc
ff462adfa7 Merge branch 'master' into feature-merge-master 2023-11-17 14:21:30 +08:00
MadCcc
2dda417e29
fix: disabled btn with link should not be focused (#45910)
* fix: disabled btn with link should not be focused

* chore: update snapshot

* chore: update snapshot
2023-11-16 11:36:51 +08:00
kiner-tang(文辉)
5386b6204e Merge branch 'master' into feature-merge-master 2023-11-10 09:52:43 +08:00
二货爱吃白萝卜
c31fc76443
fix: Dropdown with nest menu zIndex error (#45761)
* chore: fix zIndex logic

* chore: detect if needed

* docs: update bug version

* test: update snapshot

* test: update snapshot

* test: update snapshot
2023-11-09 19:07:22 +08:00
MadCcc
53b4235796
refactor: useCSSVarCls in Dropdown (#45746)
* chore: update snapshot

* chore: update snapshot

* chore: code clean

* chore: update snapshot
2023-11-09 13:38:00 +08:00
MadCcc
96fa23ea7c
refactor: Tooltip, Popover, Dropdown, Tour support css var (#45705)
* feat: Tooltip, Popover, Dropdown, Tour support css var

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: add test
2023-11-08 14:56:15 +08:00
MadCcc
5f1dd427df
feat: css var (#45589)
* feat: css variables theme

* chore: temp

* chore temp

* chore: temp

* chore: temp

* chore: tmp

* chore: temp

* feat: full css variables

* feat: css var

* chore: code clean

* chore: code clean

* chore: bump cssinjs

* test: fix lint

* feat: better key logic

* feat: useStyle add param rootCls for cssVar scope

* chore: fix lint

* chore: code clean

* chore: fix lint

* perf: minimize component token size

* chore: make useId compatible

* chore: code clean

* chore: fix lint

* chore: code clean

* chore: update test case

* feat: genCSSVarRegister

* feat: RPN Calculator

* chore: add test for css var

* chore: code clean

* test: add test for calc

* feat: better calc type

* chore: code clean

* chore: update size limit

* feat: better useCSSVar

* chore: better useCSSVar

* test: add cov

* feat: better calc logic

* test: add test case

* chore: code clean

---------

Signed-off-by: MadCcc <madccc@foxmail.com>
2023-11-06 10:31:51 +08:00
MadCcc
52d2439fae Merge branch 'master' into feature-merge-master 2023-11-03 10:18:19 +08:00
leixd1994
46246268ac
docs: add example for autoInsertSpaceInButton (#45608)
* 增加autoInsertSpaceInButton属性的样例代码,防止加错位置

* 格式修改

* Update components/button/index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/button/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/button/index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update components/button/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-11-01 10:15:29 +08:00
栗嘉男
661f3e8323 Merge branch 'master' into feature-merge-master 2023-10-29 14:04:47 +08:00
lijianan
4b99c4ed31
demo: update Button demo layout to Flex Component (#45566) 2023-10-29 02:11:17 +08:00
kiner-tang(文辉)
6d9db9fd99
feat: dropdown support z-index manager (#45486)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code
2023-10-23 06:46:08 -05:00
YDFlame13
da23a00dfa
fix: Button loading={delay: 0} did not show correctly (#45282)
* fix: Button loading={delay: 0} 不显示加载

* fix:add item test to bug 45273

---------

Co-authored-by: wswang9 <wswang9@iflytek.com>
Co-authored-by: YDFlame13 <ydflame@tom.com>
2023-10-13 18:52:47 +08:00
MadCcc
9f55e6c11a
fix: Button two Chinese chars (#45126) 2023-09-27 20:17:40 +08:00
Zhaolin Liang
ef7c500a8e
fix(Button): loading icon appearing when rendering (#45030) 2023-09-26 11:57:03 +08:00
JiaQi
51fc8dcbcd
refactor(tootip): delete the logic related to the disabled children (#44895)
* refactor(tootip): delete the logic related to the disabled children

* chore: update test case

* chore: update snapshots
2023-09-22 10:11:31 +08:00
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning (#44791)
* refactor: deprecatedWraning

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-09-13 22:07:33 +08:00
Rinku Chaudhari
c9e94c26f6
refactor: convertLegacyProps function moved to buttonHelpers (#44777) 2023-09-12 11:38:11 +08:00
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter (#44613)
* feat: add warningContext

* refactor: part refactor

* chore: fix compile

* chore: part of it

* chore: part of it

* chore: part of it

* chore: fix lint

* chore: fix test

* chore: clean uo

* chore: hide warning def tmp

* chore: comment test

* chore: fix lint

* chore: refactor select icons

* chore: fix warning message

* test: update test

* chore: rm dead code
2023-09-11 17:28:04 +08:00
MadCcc
114ff39f8c Merge branch 'master' into feature-merge-master 2023-09-05 13:41:06 +08:00
lijianan
6a5e7ded43
refactor: remove Space & Grid IE compatible logic (#44620)
* refactor: remove IE compatible logic

* fix: fix

* fix: fix

* fix: fix
2023-09-05 10:17:56 +08:00
Dunqing
f0c105d262
feat: insert use client automatically at compilations instead of hardcode (#44608)
* feat: remove the hardcode of `use client`

* chore: update `@ant-design/tools`

* test: update

* fix: incorrect dictionary

* chore: update dep

* ci: check use client

* chore: update ci

* fix: should be LIB_DIR

* ci: should only run in dist

* chore: update check tsx files
2023-09-04 19:27:20 +08:00
栗嘉男
b12d69cf42 chore: merge master into feature 2023-09-01 00:02:50 +08:00