Commit Graph

883 Commits

Author SHA1 Message Date
lijianan
ca39a4b1ee
refactor: refactor indicator props (#46786)
* refactor: refactor indicator props

* Update components/tabs/index.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: update

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* test: add test case

* docs: update docs

* Update components/config-provider/index.en-US.md

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/config-provider/index.zh-CN.md

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/tabs/index.tsx

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/tabs/index.tsx

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

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

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

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

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

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

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-01-05 10:56:11 +08:00
叶枫
8950642664
feat: config support holderRender (#46596)
* feat: config support container

* feat: add test

* feat: reset demo

* feat: test

* feat: test

* feat: test

* feat: test

* feat: md

* feat: limit

* fix: prefix

* feat: limit

* feat: message support app config

* feat: notification support app config

* feat: add maxCount test

* feat: icons

* feat: 增加 2 个 todo

* feat: holderRender

* feat: md

* feat: message 兼容旧逻辑

* feat: notification 兼容完成

* feat: modal 兼容完成

* feat: 优化 modal

* feat: 优化代码

* feat: 优化代码

* feat: 给 CP 添加 demo

* feat: 优先级完成/demo迁移完成

* feat: review

* feat: review

* feat: 优化 modal 代码

* feat: 支持 rtl

* feat: 修改注释

* feat: 优化单测

* feat: 优先级注释

* feat: remove getPrefixCls

* feat: demo

* feat: demo

* feat: demo

---------

Co-authored-by: MadCcc <madccc@foxmail.com>
2024-01-02 17:43:27 +08:00
lijianan
276e66cdaa
Merge pull request #46710 from ant-design/master
chore: merge master into feature
2023-12-31 06:57:55 +08:00
afc163
8705640a19
fix: Upload accessibility experience (#46432)
* fix: Upload tab experience

* test: update snapshot

* fix lint
2023-12-30 15:21:52 +08:00
lijianan
7fd21c5163
test: update snap 2023-12-23 04:35:12 +08:00
lijianan
ef3dd04731
test: update snap 2023-12-23 02:51:31 +08:00
lijianan
a09ed506d3
chore: merge master into feature 2023-12-22 03:26:11 +08:00
MadCcc
bf7085882d
feat: DatePicker support variant (#46568)
* feat: DatePicker support variant

* chore: update snapshot

* chore: update api table

* chore: update snapshot
2023-12-21 20:43:40 +08:00
二货爱吃白萝卜
76f6ddc7e6
fix: ColorPicker not support prefixCls (#46561)
* fix: ColorPicker should support prefixCls

* test: add test case
2023-12-21 14:39:43 +08:00
MadCcc
5f395fbed3
feat: select/cascader/tree-select support variant filled (#46549)
* feat: Select filled style

* chore: update snapshot

* feat: Cascader and TreeSelect support variant

* feat: multiple style

* fix: import

* chore: fix lint

* chore: update auto-complete docs

* fix: clearIcon bg

* chore: code clean
2023-12-21 13:39:04 +08:00
MadCcc
3af521d422
feat: Input/InputNumber/Mentions support filled variant (#46435)
* feat: Input filled variant

* feat: InputNumber filled variant

* feat: mentions variant

* fix: TextArea status with affix

* chore: update snapshot

* chore: update snapshot

* feat: pagination input

* fix: fix diff

* feat: input-number disabled

* fixL InputNumber

* chore: update snapshot

* feat: better style

* chore: update

* chore: update snapshot

* feat: use variant classNames

* chore: update snapshot

* feat: mentions affix style

* chore
2023-12-18 17:53:31 +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
MadCcc
937a1a2a85
fix: compatible with react 17 (#46261) 2023-12-05 11:33:43 +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
77d1328f5e
fix: line Progress gradient should be full width (#46209)
* fix: line Progress gradient should be full width

* chore: code clean

* chore: update snapshot
2023-12-01 16:48:53 +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
e3fcec43c6
fix: zIndexPopup should not united (#45889) 2023-11-15 14:31:59 +08:00
MadCcc
67a3f1e9d8
fix: genCSSVarRegister unitless should work (#45885)
* fix: genCSSVarRegister unitless should work

* chore: update
2023-11-15 11:26:35 +08:00
MadCcc
b2300fa2d3
fix: global token in components with css var should work (#45860) 2023-11-14 11:59:14 +08:00
MadCcc
4e29e8d1ce
feat: ConfigProvider cssvar support boolean (#45760)
* feat: css var

* chore: fix type

* chore: fix type

* chore: update
2023-11-10 10:02:46 +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
452bdcdb53
refactor: select support css var (#45727)
* refactor: select support css var

* chore: code clean

* chore: add useCSSVarCls

* chore: update style

* chore: perf code
2023-11-09 09:35:45 +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
叶枫
923aaba047
chore: add lodash eslint (#45627) 2023-11-02 15:10:56 +08:00
lijianan
b14faf04bf
feat: CP support Dropdown className and style (#45621)
* feat: CP support Dropdown className and style

* test: fix test case
2023-11-02 00:48:26 +08:00
Chen_Z
d04e9efe16
feat: config-provider support rangePicker className and style (#45479)
* feat: config-provider support rangePicker className and style properties

* test: add rangepicker className & style test

* chore: change props  verison

* feat:RangePicker className and style properties

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-10-24 00:57:38 +08:00
MadCcc
67165a78fc
docs: live demo (#45383)
* docs: live demo

* chore: bump dumi

* chore: fix lint

* chore: fix lint

* chore: update demo

* chore: bump dumi

* docs: enhance live demo

* docs: update text
2023-10-23 22:49:49 +08:00
Alexey Teterin
bce43064ff
fix: CSP nonce attribute should be set to all the style tags (#45326) (#45334)
Co-authored-by: Alexey Teterin <ateterin@naumen.ru>
2023-10-13 23:14:49 +08:00
afc163
e587a5ff68
chore: update select snapshot (#45333) 2023-10-13 20:56:06 +08:00
二货爱吃白萝卜
317dac6a8e
refactor: more cache (#45302)
* chore: cache

* chore: clean up

* chore: clean up

* refactor: part

* chore: bump

* chore: fix lint

* chore: fix lint

* chore: fix alt
2023-10-13 11:54:05 +08:00
lijianan
e1f3b795e5
Merge pull request #45198 from ant-design/master
chore: merge master into feature
2023-10-07 17:00:49 +08:00
a2192281be
docs: improve document type description (#45189) 2023-10-06 21:27:41 +08:00
kiner-tang(文辉)
69d048784f
feat: Drawer support classNames (#44935)
* feat: drawer support classNames

* docs: update docs

* feat: bump rc-drawer

* feat: bump rc-drawer

* feat: optimize style

* feat: optimize type

* feat: optimize type

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-09-25 20:37:37 +08:00
kiner-tang(文辉)
ceed98582c
feat(modal): support classNames (#44934)
* feat: modal support classNames

* docs: update docs

* feat: bump rc-dialog

* feat: bump rc-dialog

* feat: update rc-image

* feat: optimize style

* feat: optimize type

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-09-25 14:27:41 +08:00
github-actions[bot]
081b33d7b8
chore: auto merge branches (#44995)
chore: feature merge master
2023-09-21 09:30:12 +00:00
二货爱吃白萝卜
ef03563334
test: update snapshot (#44989)
* test: update snapshot

* test: update snapshot

* test: fix test logic
2023-09-21 16:37:54 +08:00
github-actions[bot]
f3a4b6c429
chore: auto merge branches (#44915)
chore: merge master into feature
2023-09-17 16:08:27 +00:00
lyy
7f992b4e8c
demo: simplify deletion operations (#44909)
Signed-off-by: lyy <72189350+leoyongyuan@users.noreply.github.com>
2023-09-16 15:35:22 +08:00
kiner-tang(文辉)
4717b5c649 Merge branch 'master' into feature-merge-master 2023-09-16 11:11:47 +08:00
lijianan
1e0c3b8c58
🔥feat: new component Flex (#44362)
* feat: new component Flex

* feat: new component Flex

* fix: fix

* test: add test case

* fix: fix

* update size-limit

* test: update snap

* fix: fix

* test: update snap

* chore: add use client

* fix: lint

* test: update snap

* fix

* docs: add docs

* fix: fix demo

* clear

* demo: update demo

* update demos

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* test: update snap

* fix: fix

* fix: fix

* demo: update demo

* feat: CP

* fix: use token

* fix: fix

* fix: fix test case

* test: update snap

* Update components/flex/style/index.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/flex/demo/align.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* demo: update demo

* fix: fix

* docs

* update cover

* fix: fix

* test: update case

* fix: rerun CI

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* demo: update demo

* fix: fix lint

* fix: fix

* fix: fix

* fix: fix

* fix:  fix

* fix: fix test case

* fix: fix

* docs: update docs

* fix: fix

* chore: fix

* chore: fix

* docs: update docs

* docs: update

* fix: fix demo

* type: update type

* add debug demo

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: 栗嘉男 <mac@macdeMacBook-Pro.local>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-09-14 17:04:05 +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
二货爱吃白萝卜
b3428c678f
feat: ConfigProvider support config warning level (#44809)
* test: add test case

* chore: use console.warn instead

* chore: support agg

* chore: fix lint
2023-09-13 11:49:30 +08:00
lijianan
c59a85a23c
demo: update Tag demo (#44771)
* demo: update Tag demo

* chore: code clear

* fix: fix
2023-09-12 12:18:54 +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