Commit Graph

17058 Commits

Author SHA1 Message Date
MadCcc
31393135a0
fix: optimize TimePicker scrollbar style (#45586) 2023-10-30 14:48:15 +08:00
afc163
7e284736a8
demo: improve popconfirm/popover/tootlip placement demo code style (#45581) 2023-10-30 13:57:57 +08:00
afc163
2dbc6abce8
style: fix Typography code broken border when ellipsis (#45575) 2023-10-30 10:02:02 +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
George H
8c45c73222
style(data-picker): add time-picker scrollbar styles (#45478)
* style(data-picker): add time-picker scrollbar styles

Signed-off-by: George H <default_hyn@163.com>

* style(data-picker): add time-picker scrollbar styles

Signed-off-by: George H <default_hyn@163.com>

* style(time-picker) :Compatible with firefox

---------

Signed-off-by: George H <default_hyn@163.com>
2023-10-27 10:17:17 +08:00
afc163
670cdf4ed9
docs: Update Table sorter description (#45552)
* docs: Update Table sorter description

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

* Update index.zh-CN.md

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-10-26 22:32:10 +08:00
Leslie Wu
e9dcc4fea3
docs: update doc for table sorter (#45548)
Co-authored-by: leslie-home <wwwsuonggg@gmail.com>
2023-10-26 21:51:25 +08:00
lijianan
017c04c8a3
feat: BackTop ref support nativeElement (#45547) 2023-10-26 21:00:35 +08:00
MadCcc
62bb2faae9
fix: add default value for gap (#45537) 2023-10-26 15:49:15 +08:00
kyriewen
5a45276565
feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285)
* feat: add useMultipleSelect hooks

* docs: update README

* chore: update size limit

* refactor:  prevSelectedIndex ref to state、initial value

* refactor: useMultipleSelect

* refactor: reset last select key after deselect

* chore: useMultipleSelect params type

* refactor: should params key be in useMultipleSelect hooks

* feat: getKey must be required

* chore: useless code

* refactor: remove useless code

* feat: onItemSelect params event must be required

* feat: remove params event

* chore: remove onItemSelect params event; refactor transfer listBody onClick fnName

* revert(modal): revert modal demo dark

* refactor: props onItemSelect

* refactor: onItemSelect fn name

* refactor: transfer children type

* refactor: renderList props

* test: add test case

* chore: args -> arguments

* test(transfer): add test case

---------

Signed-off-by: kyriewen <64134946+zbw-zbw@users.noreply.github.com>
Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-10-26 11:46:22 +08:00
Vyacheslav Sedykh
f3cf13a466
fix(Dropdown): Prevented closing if menu is in multiple mode (#45513)
* fix(Dropdown): Prevented closing if menu is in multiple mode

* Update components/dropdown/dropdown.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Vyacheslav Sedykh <zlav24va@mail.ru>

* test: Added test for dropdown in multiple mode

---------

Signed-off-by: Vyacheslav Sedykh <zlav24va@mail.ru>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-26 10:21:54 +08:00
kiner-tang(文辉)
bceb2e2504 Merge branch 'feature' into refactor-z-index-context 2023-10-24 22:28:30 +08:00
kiner-tang(文辉)
de442ca964
feat: menu support z-index manager (#45498)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

* feat: ColorPicker support z-index manager

* feat: DatePicker & TimePicker support z-index manager

* feat: menu support z-index manager

* feat: update snap

* feat: update snap

* feat: update snap

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 22:25:32 +08:00
kiner-tang(文辉)
3ec0ec23ee
feat: DatePicker & TimePicker support z-index manager (#45497)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

* feat: ColorPicker support z-index manager

* feat: DatePicker & TimePicker support z-index manager

* feat: update snap

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 21:54:36 +08:00
kiner-tang(文辉)
e7109d31b0
feat: ColorPicker support z-index manager (#45496)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

* feat: ColorPicker support z-index manager

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 21:17:16 +08:00
AlanQtten
41fabbc0be
chore: remove useless code in Form (#45295)
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-24 16:05:45 +08:00
Zhou Bill
a29a0796ae
feat: columnTitle render props (#41937)
* feat: columnTitle render props

* feat: 添加测试

* docs: 修改table rowSelection interface

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-24 16:05:29 +08:00
kiner-tang(文辉)
3cb273803b
feat: SelectLike components support z-index manager (#45494)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 11:49:30 +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
github-actions[bot]
2940f626d4
chore: auto merge branches (#45501)
chore: merge master into feature
2023-10-23 16:26:10 +00:00
MadCcc
91f77ee6b7
fix: notification blur (#45500) 2023-10-23 23:30:42 +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
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
kiner-tang(文辉)
e7402691c1
feat: z-index container opt (#45490)
* feat: container opt

* feat: container opt

* feat: container opt

* feat: container opt
2023-10-23 04:16:41 -05:00
kiner-tang(文辉)
a340566cd3
feat: update document about modal (#45483) 2023-10-23 11:19:46 +08:00
Minjie Sun
1fb889011a
type: useAppProps modal type definition (#45462) 2023-10-21 14:14:37 +08:00
yoyo837
77846177bc Merge branch 'master' into feature-merge-master 2023-10-21 09:16:54 +08:00
kiner-tang(文辉)
3627031098
feat: Drawer support z-index manager (#45417) 2023-10-20 06:22:55 -05:00
Gideon
cc0b7fdd8f
demo: keydown bug on custom dropdown menu example (#44983)
Prevent keydown bug when using custom dropdown render in multiple mode Select component. Example case: when pressing backspace on inner dropdown's Input component, the selected option in the Select component also getting triggered by backspace.

Signed-off-by: Gideon <106825924+gidgudgod@users.noreply.github.com>
2023-10-20 18:07:15 +08:00
lijianan
820f26fadf
fix: add React.forwardRef to fix warning (#45390)
* fix: add React.forwardRef to fix warning

* test: add test case

* Update components/float-button/interface.ts

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

* fix: rename

* Update components/float-button/interface.ts

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

* update ref

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-10-20 17:19:17 +08:00
cheng87126
1203a12567
fix: ColorPicker does not support arbitrary data-* attributes (#45413)
* fix #44341

* update snapshot
2023-10-20 17:10:00 +08:00
vagusX
1c16788dfb
chore: remove useless disabled style in Upload (#45446) 2023-10-20 16:28:42 +08:00
lijianan
30c8e426c3
feat: add transition to spin fullscreen (#45436) 2023-10-20 16:28:24 +08:00
kiner-tang(文辉)
193c3b467e
feat: Tour support z-index manager (#45425) 2023-10-20 02:33:38 -05:00
kiner-tang(文辉)
bf1468a9cf
feat: Tooltip support z-index manager (#45422)
* feat: Tooltip support z-index manager

* feat: optimize code
2023-10-20 01:53:57 -05:00
kiner-tang(文辉)
8c49b38e94
feat: Popover support z-index manager (#45420)
* feat: Popover support z-index manager

* feat: update snap

* Update components/popover/__tests__/index.test.tsx

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-20 01:53:36 -05:00
kiner-tang(文辉)
0fd730a107
feat: Popconfirm support z-index manager (#45421)
* feat: Popconfirm support z-index manager

* Update components/popconfirm/__tests__/index.test.tsx

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-20 01:53:15 -05:00
kiner-tang(文辉)
bff04cdbfc Merge branch 'feature' into refactor-z-index-context 2023-10-20 14:02:22 +08:00
github-actions[bot]
f25fd3cac7
chore: auto merge branches (#45444)
chore: merge master into feature
2023-10-20 06:01:13 +00:00
kiner-tang(文辉)
d51de67bc8 Merge branch 'feature' into refactor-z-index-context 2023-10-20 10:16:32 +08:00
kiner-tang(文辉)
dde36511e6
feat: Modal & Select support z-index context to manage z-index (#45346)
* feat: z-index manager

* feat: z-index manager

* feat: update snap

* chore: update site-limit

* feat: optimize code

* feat: optimize code

* feat: add test case

* 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-10-19 02:03:20 -05:00
Rafael Martins
cc223a102c
feat(spin): Adds fullscreen property to <Spin /> component (#44986)
* feat: start the implementation of the fullscreen prop in Spin

* docs: change main spin demo

* docs: enhance demo

* test: update snapshot

* fix: address pr comments

* fix: use logical property on fullscreen class

* fix: address pr review

* feat: Added background color token

* fix: remove onClick and change demo

* feat: change spin to white when fullcreen

also use the bgmask as background, removing the bgColor token

* fix: unused import

* test: update snapshot

* Update components/spin/style/index.tsx

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

* fix: use white color from token

* fix: not needed interpolation and version

* fix: address pr review

* fix: tip prop was not working

* test: cover tip & fullscreen case

* fix: addrress pr coments

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-10-19 13:47:48 +08:00
afc163
49ef16b5ff
fix: Table sorter tooltip cannot be open when showSorterTooltip is a object (#45403) 2023-10-19 10:08:10 +08:00
二货爱吃白萝卜
2e8e67fcea
feat: support changeOnBlur (#45395) 2023-10-18 13:50:46 +08:00
afc163
8c475a52ea
type: Table pagination.position support none as value (#45398) 2023-10-18 13:33:25 +08:00
二货爱吃白萝卜
3ab42ad0db
feat: support dirty (#45389) 2023-10-17 20:45:05 +08:00
MadCcc
7ceb1fb31c
fix: Notification RTL should have corrent margin (#45386) 2023-10-17 03:57:54 -05:00
JiaQi
fc5abff7d3
style: inline mode form overlap elements on the small screen (#45340) 2023-10-17 15:20:42 +08:00
二货爱吃白萝卜
a337fee815
fix: dropdown not trigger onOpenChange when click menu item (#45378)
* fix: dropdown not trigger onOpenChange when click menu item

* chore: add source

* docs: update

* test: update test
2023-10-17 14:50:54 +08:00
二货爱吃白萝卜
d8140e03b5
Merge pull request #45381 from ant-design/master
chore: feature merge master
2023-10-17 14:06:52 +08:00
二货爱吃白萝卜
11cdac4a02
chore: bump rc-tabs (#45370)
* chore: bump rc-tabs

* chore: update limit

* chore: fix lint
2023-10-17 10:50:12 +08:00
二货爱吃白萝卜
7f9aff2cfb
enhance: auto layout hasSider (#45361)
* enhance: auto layout hasSider

* test: update snapshot
2023-10-16 14:49:01 +08:00
二货爱吃白萝卜
98a8d30439
feat: Tabs items support destroyInactiveTabPane (#45359) 2023-10-16 13:40:47 +08:00
kiner-tang(文辉)
75d4d29ad3
site: update affix demo style (#45358) 2023-10-15 22:19:35 -05:00
kiner-tang(文辉)
442e175194 feat: update snap 2023-10-15 13:09:40 +08:00
lijianan
8b486f3d7f Merge branch master into master-merge-feature 2023-10-15 11:33:10 +08:00
kiner-tang(文辉)
5f000b89f5
docs: update docs about modal (#45345) 2023-10-15 10:36:32 +08:00
lijianan
406817a86a
demo: add border for demo (#45342)
* demo: update demo

* demo: update demo
2023-10-14 11:58:20 +08:00
lijianan
34e0a3e0cf
style: simplify code 2023-10-14 11:57:53 +08:00
mingming-ma
73c0cd7b49
fix: Affix target add listeners protect (#45291) (#45314)
* Fix: Affix target add listeners protect (#45291)

* Update components/affix/index.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-14 10:49:23 +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
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
afc163
4650d74f16
style: fix Segmented text jump issue in Safari (#45310)
Co-authored-by: 红 <wxh1220@gmail.com>
2023-10-13 18:39:31 +08:00
二货爱吃白萝卜
44e1493db6
feat: Watermark support inherit to disable passing (#45319)
* docs: init

* feat: support inherit

* test: update snapshot
2023-10-13 15:16:08 +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
MadCcc
bf1b73e902
feat: Input focus style (#45286)
* feat: input focus style

* chore: update

* feat: revert control outline back
2023-10-12 17:24:51 +08:00
JiaQi
7f134954b9
fix(watermark): can be hidden through the Hide Element feature in the browser (#45290)
* fix(watermark): can be hidden through the Hide Element feature in the browser

* chore: add emphasized style

* chore: update snapshot
2023-10-12 13:50:06 +08:00
MadCcc
53034b0e50
fix: Input background should not be transparent when hovered or focused (#45297) 2023-10-12 11:49:37 +08:00
二货爱吃白萝卜
eaf4949ef0
feat: App support component (#45292)
* feat: App support component

* test: update test case

* chore: update ts
2023-10-12 11:08:01 +08:00
二货爱吃白萝卜
012e8781c5
Merge pull request #45271 from ant-design/master
chore: feature merge master
2023-10-12 10:58:20 +08:00
二货爱吃白萝卜
70ce748d57
fix: options missing id (#45287) 2023-10-12 09:43:35 +08:00
梓安
80da4e5885
fix (DirectoryTree) : selectedNodes in onSelect method could not get a value when configuring fieldNames (#45036)
* fix🐛(DirectoryTree): fieldNames support

* fix🐛(DirectoryTree): fieldNames support

* test(DirectoryTree): Update  directoryTree test

* test(DirectoryTree): Update directoryTree test

* chore: simple code

* chore: align logic

---------

Co-authored-by: yuanzhian <yuanzhian@cai-inc.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-10-11 17:03:15 +08:00
MadCcc
e093b100d5
fix: Card head fit small size tabs (#45272)
* fix: Card tabs should fit small size

* chore: update snapshot
2023-10-11 15:43:59 +08:00
二货爱吃白萝卜
000589bf7d
docs: update Flex diff (#45270) 2023-10-11 14:45:09 +08:00
二货爱吃白萝卜
bef9539e22
feat: Table support scrollTo reference (#45245)
* feat: add ref

* feat: table support reference

* chore: rename

* chore: proxy

* test: add test case

* chore: fix lint

* docs: update desc

* docs: update desc

* docs: update desc

* chore: clean up

* chore: fix lint
2023-10-11 13:55:20 +08:00
JiaQi
dd4ef28239
docs: add description of the available components of Space.Compact (#45259) 2023-10-11 10:31:36 +08:00
二货爱吃白萝卜
6af1d95cf4
feat: Input & TextArea support count (#45140)
* docs: init

* chore: update example

* test: update test

* docs: update doc

* chore: fix lint

* chore: update limit
2023-10-10 16:22:23 +08:00
MadCcc
854db006c4
Merge pull request #45225 from ant-design/master
chore: merge master into feature
2023-10-09 14:20:11 +08:00
MadCcc
04c804eb2c
fix: Input addonBg should work (#45222) 2023-10-09 09:41:30 +08:00
afc163
cece6e27df
style: fix Modal.confirm description long text layout (#45212)
* style: fix Modal.confirm description long text layout

* demo: update Modal demos
2023-10-08 16:38:54 +08:00
JiaQi
b57dc7a4cc
fix(typography): menu item title cannot be centered vertically (#41146)
* fix(typography): menu item title cannot be centered vertically

* chore: add example
2023-10-08 09:57:58 +08:00
lijianan
be92498f15
refactor: rewrite Affix CC => FC (#42674)
* fix

* test

* Update index.ts

* fix

* fix

* fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* update docs

* Update components/affix/index.tsx

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix

* test: add test case

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

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

* update demo

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-07 18:53:14 +08:00
JiaQi
f42d0667c8
fix(Autocomplete): internal input cannot apply fontFamily (#45197) 2023-10-07 17:06:28 +08:00
JiaQi
2f063a26e6
style: inputNumber border unmerged (#45004)
* style: inputNumber border unmerged

* chore: update snapshot
2023-10-07 17:06:10 +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
Amumu
485e95236d
chore: update snapshot (#45196) 2023-10-07 03:03:54 -05:00
Adrián Salgado
fc2b4af8cf
fix(SliderTooltipProps): extends from SliderTooltipProps (#44656) 2023-10-07 12:14:30 +08:00
a2192281be
docs: improve document type description (#45189) 2023-10-06 21:27:41 +08:00
ajuner
9af09d56b6
docs(table): update pro-component link (#45118)
Signed-off-by: ajuner <106791576@qq.com>
2023-10-04 21:40:44 -05:00
栗嘉男
ad5efc0fc3 chore: merge master into feature 2023-10-05 03:13:04 +08:00
mingming-ma
a4939fabcf
fix: CheckableTag support ref (#45164)
* fix: CheckableTag support ref (#45070)

* optimize test code (#45070)
2023-10-03 22:59:54 +08:00
Antoni Sierakowski
c3ea21ab82
fix: add missing Tour pl_PL locale (#45166)
Co-authored-by: Antoni Sierakowski <antoni.sierakowski@alphamoon.ai>
2023-10-03 21:58:14 +08:00
栗嘉男
b972466de9 fix: fix 2023-10-03 10:52:04 +08:00
Sven
90d6377d65
fix: Avatar group responsive font not working (#34722)
* fix: Avatar group responsive font not working

* Update index.less

* chore: 兼容IE

* Update components/avatar/style/index.less

* Update avatar.tsx

---------

Co-authored-by: Sven <laishiwen@coding.net>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-10-03 06:56:51 +08:00
Rinku Chaudhari
c4040ec81b
chore: fix docs comments (#45156)
* refactor: convertLegacyProps function moved to buttonHelpers

* docs: spelling and grammar fixes

* docs: fix comments grammar
2023-10-03 05:44:09 +08:00
Jung Min O
3586a7d85f
fix: update ko_KR lang (#45150)
Signed-off-by: Jung Min O <owjs3901@naver.com>
2023-09-30 20:02:48 +08:00
kiner-tang(文辉)
780a50bed0
types: export notification's ArgsProps type as NotificationArgsProps (#45147) 2023-09-30 17:40:44 +08:00
github-actions[bot]
d4cdcefcfc
chore: auto merge branches (#45117)
chore: feature merge master
2023-09-27 12:55:52 +00:00