Commit Graph

17023 Commits

Author SHA1 Message Date
f3c37a3be4
refactor(color-picker): rename defaultCollapsed => defaultOpen (#45655) 2023-11-03 16:49:22 +08:00
afc163
321dfd8cc9
feat: show Slider tooltip when focus handler (#45653) 2023-11-03 16:30:04 +08:00
99138cb93e
feat(color-picker): preset colors support collapsing at initialization (#45607)
* feat(color-picker): preset colors support collapsing at initialization

(cherry picked from commit d8975b407f1d5a574cdefafd8be17374a4d5e8af)

* docs: update

(cherry picked from commit 74f6d70ebd22c752f57f559d4222c383fafea63a)

* test: add unit test

(cherry picked from commit 2ef2af49228d3fe672c1b24277f142f54f9b193a)

* chore: update

Co-authored-by: RedJue <RedJue@users.noreply.github.com>

* refactor: rename

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: RedJue <RedJue@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-11-03 11:47:52 +08:00
MadCcc
52d2439fae Merge branch 'master' into feature-merge-master 2023-11-03 10:18:19 +08:00
Simon He
56c2b56bf2
docs(input): add placeholder (#45643)
* docs(input): add placeholder

* chore: update input-number
2023-11-03 00:42:37 +08:00
MadCcc
95322eaad5
fix: InputNumber in Form with hasFeedback should not lose focus (#45632)
* fix: InputNumber in Form with hasFeedback should not lose focus

* chore: disable lint
2023-11-02 17:15:03 +08:00
叶枫
923aaba047
chore: add lodash eslint (#45627) 2023-11-02 15:10:56 +08:00
KotoriK
d8fbefcd36
feat(Modal): Modal static function accept 'styles' (#45558)
* feat(Modal): modal static function should accept 'styles'

* lint

* Update components/modal/interface.ts

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

* Update components/modal/ConfirmDialog.tsx

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

* Update components/modal/ConfirmDialog.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: KotoriK <52659125+KotoriK@users.noreply.github.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: KotoriK <52659125+KotoriK@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-02 10:12:41 +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
lijianan
f02ce413da
demo: update tooltip demo (#45620)
* demo: update tooltip demo

* fix: fix
2023-11-01 22:27:37 +08:00
lijianan
99faed814a
demo: update Spin demo layout to Flex Component (#45577)
Signed-off-by: lijianan <574980606@qq.com>
2023-11-01 22:26:02 +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
afc163
c1891d8d3b
demo: update Popover demos (#45598)
Signed-off-by: afc163 <afc163@gmail.com>
2023-10-31 20:58:01 +08:00
红果汁
fc5610653e
feat: Implement optionRender API (#45529)
* feat: implement optionRender api

* chore: bump rc-cascader

* chore: bump rc-tree-select

* docs: update demo

* Update components/select/demo/option-render.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* Update components/select/demo/option-render.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

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

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

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

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* docs: fix doc

* test: update snap

* docs: rename prop

---------

Signed-off-by: 红果汁 <pingfj77@gmail.com>
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-31 10:26:53 +08:00
afc163
67c8e8b259
demo: simplify demos (#45585) 2023-10-30 15:02:00 +08:00
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