Commit Graph

952 Commits

Author SHA1 Message Date
LonelySnowman
5098e6e209
feat: progress add inside and bottom text position (#48157)
* feat: progress add inside and bottom text position

* feat: change progress percent position api

* fix: change to follow coding standards

* docs: reset i18n zh file

* fix: change to follow coding standards

* fix: change to follow coding standards

* docs: reset i18n file

* fix: change to follow coding standards

* docs: reset i18n file

* feat: progress inner text get brighten color

* feat: update progress snapshots

* fix: progress bottom layout center

* feat: update steps snapshots

* feat: update progress snapshots

* feat: update config provider snapshots

* feat: progress inner text add negate color

* feat: update progress snapshots

* feat: progress inner text add light bg color

* feat: progress inner text add light bg color

* feat: change progress percentPosition api

* feat: change progress component test

* feat: update progress line component snapshot

* feat: progress component outer start layout text adapt

* feat: progress line change to flex layout

* feat: update progress snapshots

* feat: update progress line style

* feat: update progress line style

* fix: progress line reset height use inline block

* fix: change progress is line type

* fix: change progress is line type

* fix: delete progress outer styles

* fix: change progress line type layout

* fix: progress add outer style

* feat: update progress snapshots

* fix: change progress text bright color

* fix: optimized code volume

* fix: progress delete after style on inner layout

* fix: update progress test file

---------

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-05-10 10:22:32 +08:00
thinkasany
b6b96d2d1d
demo(ConfigProvider): replace 'popupPlacement' and 'TabPane' (#48797) 2024-05-07 12:18:24 +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
tanghui
d70de6c6e6 Merge branch 'master' into feature-merge-master 2024-04-26 17:20:46 +08:00
lijianan
0dbbe8b9b7
docs: update api since date (#48610) 2024-04-24 22:32:50 +08:00
Cooper
c7f2760007
feat: add Tabs more props (#48321)
* feat: add Tabs more props

* fix

* fix

* Compatible with moreIcon

* compatible ConfigProvider with the moreIcon

* update site snap

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-17 12:05:43 +08:00
lijianan
8a4a83ace7
Merge pull request #48471 from ant-design/master
chore: merge master into feature
2024-04-16 10:17:57 +08:00
thinkasany
c648fd1513
docs(demo): Convert to lowercase (#48415) 2024-04-12 11:45:25 +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
叶枫
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
叶枫
14a1e6bd51
feat: tsconfig enable strict (#47998)
* feat: tsconfig enable strict

* feat: add no-explicit-any

* feat: strict

* feat: as THEME

* feat: 优化 keys 类型写法

* feat: demo remove any

* feat: as number

* feat: this any

* feat: add eslint

* feat: cascader

* feat: props any

* feat: remove any

* feat: remove any

* feat: any 提示错误

* feat: remove any

* feat: add eslint

* feat: 允许 T = any 存在

* feat: color funciton

* feat: 恢复 lint

* feat: merge master

* feat: as ReactElement

* feat: type
2024-04-01 15:49:45 +08:00
MadCcc
7b280d307b
chore: bump rc-table to v7.45.0 (#48190)
* chore: bump rc-table to v7.45.0

* feat: 补充类型

* feat: 补充类型

---------

Co-authored-by: 叶枫 <645381995@qq.com>
2024-03-31 16:04:36 +08:00
kiner-tang
506753c3ef
feat: Tag support aria-* in closable (#47678)
* feat: Tag support aria-* in closable

* 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

* 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

* feat: optimize code

* refactor: useClosable

* chore: modal

* fix: check logic

* chore: clean up

* feat: optimize code

* feat: optimize code

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-03-31 11:56:55 +08:00
lijianan
405394a8e4
Merge pull request #48133 from ant-design/master
chore: merge master into feature
2024-03-28 10:54:52 +08:00
lijianan
3e156b0a7f
docs: add more JSDoc (#48101) 2024-03-26 23:01:04 +08:00
github-actions[bot]
80f49bfcf2
chore: auto merge branches (#48020)
chore: merge master into feature
2024-03-23 16:15:34 +00: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
lijianan
ec4591b64a
docs: add JSDoc to cssVar props (#47965) 2024-03-20 10:50:36 +08:00
lijianan
5fbfecd5b2
feat: CP support FloatButton.Group closeIcon (#47953) 2024-03-19 17:14:22 +08:00
kiner-tang
6928fbc06d
feat: Modal support aria-* in closable (#47650)
* feat: Modal support aria-* in closable

* feat: Modal support aria-* in closable

* feat: Modal support aria-* in closable

* chore: bump rc-image

* feat: update snap

* feat: update snap
2024-03-01 10:58:50 +08:00
kiner-tang
15216614ed
feat: Drawer support aria in closable (#47543)
* feat: drawer support aria in closable prop

* 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
2024-02-28 14:11:15 +08:00
栗嘉男
a466d3fc8d chore: merge master into feature 2024-02-28 13:29:43 +08:00
lijianan
5276de61f7
type: optimization CP props type (#47621) 2024-02-28 11:53:01 +08:00
lijianan
271daafa39
feat: CP support Input.TextArea allowClear、autoComplete、className、classNames、style、styles (#47589)
* feat: CP support Input allowClear

* feat: CP support Input allowClear

* fix: fix

* fix: fix

* revert

* revert

* Update Input.tsx

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

* Update getAllowClear.tsx

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

* Update getAllowClear.tsx

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

* test: add test case

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-28 09:54:48 +08:00
lijianan
6c0d3e46c4
feat: CP support Input allowClear (#47602) 2024-02-27 10:25:35 +08:00
Yawen Xiao
c06dc8e960
type: styles should be optional for cardProps (#47601)
Co-authored-by: yawen.xiao <yawen.xiao@192.168.0.107>
2024-02-27 00:08:38 +08:00
lijianan
b28b0d883f
feat: CP support Menu expandIcon (#47561)
* feat: CP support Menu expandIcon

* fix: test case fix

* fix: test case fix

* fix: fix

* fix: fix

* chore: rename

* type: add type

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-26 09:55:08 +08:00
lijianan
cf51b5f34d
feat: CP support collapse expandIcon (#47473)
* feat: CP support Avatar icon

* fix: fix

* fix: fix

* test: fix test case

* fix: fix

* fix: fix type

* Update avatar.tsx

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

* Update avatar.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-20 14:02:43 +08:00
MadCcc
b96f4c8003
feat: css var prefix follow prefixCls by default (#47481)
* feat: css var prefix follow prefixCls by default

* docs: update
2024-02-20 09:47:21 +08:00
kiner-tang
23cb9c5fd6
feat: Alert support aria-* in closable (#47474)
* feat: Alert support aria-* in closable

* feat: Alert support aria-* in closable

* feat: Alert support aria-* in closable
2024-02-19 13:40:19 +08:00
lijianan
ed25a45c0d
Revert "feat: Alert support aria-* in closable (#47446)" (#47471)
This reverts commit 9d3211757c.
2024-02-19 10:25:15 +08:00
kiner-tang
9d3211757c
feat: Alert support aria-* in closable (#47446)
* feat: support aria-* in closeable

* feat: support aria-* in closeable

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2024-02-18 18:08:02 +08:00
afc163
39e7bc5d2f
Merge pull request #47383 from ant-design/master
chore: merge master into feature
2024-02-07 13:30:01 +08:00
MadCcc
2f6218a0f3
fix: inherit should not affect hashed and cssVar (#47360)
* fix: inherit should not affect hashed and cssVar

* chore: update

* chore: add test case
2024-02-06 17:38:03 +08:00
lijianan
cfe722667a
feat: Tabs support removeIcon prop (#47334)
* feat: Tabs support removeIcon prop

* feat: Tabs support removeIcon prop

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

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

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-05 11:45:24 +08:00
lijianan
0e28360622
feat: CP support Transfer selectionsIcon (#47301) 2024-02-02 10:48:05 +08:00
lijianan
326ae986b9
Merge pull request #47297 from ant-design/master
chore: merge master into feature
2024-02-01 23:59:16 +08:00
lijianan
e009ca9d4a
feat: CP support Tabs addIcon & moreIcon (#47274)
* feat: CP support Tabs addIcon & moreIcon

* fix: fix

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-01 19:14:54 +08:00
lijianan
a206593d28
feat: CP support Image closeIcon (#47252)
* feat: CP support Image closeIcon

* type: update type

* type: update type

* fix: fix
2024-02-01 17:43:00 +08:00
mr-chenguang
f1f4788e38
fix: use flex to correct avatar child position (#47236)
* fix: remove avatar border when height less then 16

* fix: 使用 flex 完成子元素居中布局

* fix: fix avatar tests snapshot

* fix: fix avatar tests snapshot

* Update components/avatar/style/index.ts

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>

* fix: changealign

* fix: update avatar snapshots

* fix:update snapshot

* fix: update snapshot

* fix: update snapshot

---------

Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-01-31 18:20:21 +08:00
lijianan
651914c46d
feat: CP support Tag closeIcon (#47250) 2024-01-31 10:07:16 +08:00
lijianan
b233f27ba0
feat: CP support Notification closeIcon (#47244)
* feat: CP support Notification closeIcon

* fix: fix
2024-01-30 20:13:22 +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
lijianan
aa36678a29
feat: CP support Alert closeIcon (#47235) 2024-01-30 16:47:42 +08:00
zhoulixiang
6ed0254ad5
feat: Add classNames and styles prop for card (#46811)
* feat: support classNames and styles for card

* feat: add lost info

* docs: update context of card

* feat: optimize classNames and styles code of card

* test: update card test case

* feat: remove headWrapper

* test: correct test

* feat: remove redundant snapshot

* feat: update config provider for card

* feat: update classNames and styles of card

* feat: add warning for headStyle and bodyStyle of card

* test: replace bodyStyle to styles.body in demo of flex

* docs: add jsDoc about deprecated for headStyle and bodyStyle

* snap: update table counts of card from 3 to 4

* docs: update version for styles and classnames of card

---------

Signed-off-by: zhoulixiang <18366276315@163.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
2024-01-30 15:00:25 +08:00
lijianan
a11d3b4b63
feat: CP support Modal closeIcon (#47226)
* feat: CP support Modal closeIcon

* fix: fix
2024-01-30 14:42:46 +08:00
lijianan
5031ca9032
feat: CP support Table expandIcon (#47225)
* feat: CP support Table expandIcon

* fix: fix

* type: fix type
2024-01-30 13:57:49 +08:00
MadCcc
441ba5f5d1
fix: component style without hash (#46609)
* fix: Select style without hash

* fix: common style logic

* fix: lint

* fix: menu style

* chore: update checkbox demo

* chore: fix test

* chore: rm test
2024-01-30 11:08:02 +08:00
二货爱吃白萝卜
18e85a7b81
feat: New Picker (#46982)
* chore: init

* chore: link picker

* chore: move files

* chore: update style

* chore: update types

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: fix test case

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: clesn up useless types

* chore: update types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: update style

* chore: clean up

* chore: update types

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* fix: format

* chore: update deps

* chore: feature merge master (#46794)

* fix: Fix typo s/Notificaiton/Notification/ (#46775)

* docs: supplement form preserve field description (#46788)

close https://github.com/ant-design/ant-design/issues/46773

* docs: tweak changelog drawer width in small screen (#46791)

* docs: Update compatible-style.zh-CN.md (#46790)

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>

* chore: update locale size

* chore: lock dumi

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: bump version

* test: update snapshot

* test: update snapshot

* chore: bump version

* chore: update limit

* test: update snapshot

* docs: update 7 days sample

* chore: rm useless style

* chore: clean up style

* docs: add buddihist era demo

* refactor: interface

* chore: add multiple types

* docs: add demo

* chore: init style

* chore: init style

* chore: fill style

* chore: fill style

* chore: style

* chore: size of it

* chore: size style

* docs: add align demo

* docs: needConfirm

* chore: fix showWeek style

* test: update snapshot

* chore: fix ts

* chore: fix ts

* chore: fix ts

* chore: fix ts

* fix: week style

* docs: update dayjs note

* fix: style missing

* chore: fix footer extra style missing

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: demo update

* docs: update demo

* docs: min & max date

* test: update snapshot

* docs: add order

* chore: update deps

* test: update snapshot

* test: update snapshot

* chore: adjust style

* chore: clean up style

* test: update snapshot

* chore: fix comment

* chore: update align

* chore: bump rc-picker

* test: update snapshot

* test: update snapshot

* test: update snapshot

---------

Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-29 15:34:48 +08:00