lijianan
a11d3b4b63
feat: CP support Modal closeIcon ( #47226 )
...
* feat: CP support Modal closeIcon
* fix: fix
2024-01-30 14:42:46 +08:00
afc163
100c2c4afe
fix: Modal footer button gap issue ( #46702 )
...
* chore: rename to style/confirm.tsx
* fix: Modal footer button gap implementation
* fix: lint error
2023-12-29 22:20:28 +08:00
二货爱吃白萝卜
6aff196c90
fix: Static method provides wrong zIndex context ( #46012 )
...
* fix: static confirm should has correct zIndex
* test: update test case
* chore: reorder
* fix: bump logic
2023-11-22 18:02:32 +08:00
二货爱吃白萝卜
dc25579c20
fix: zIndex miss of message ( #45911 )
...
* fix: zIndex miss of message
* fix: modal static index
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix zIndex test
* test: update test case
* chore: clean up
* test: coverage
2023-11-17 10:54:19 +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
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
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
二货爱吃白萝卜
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
栗嘉男
70466b0ebb
chore: merge master into feature
2023-09-06 02:49:25 +08:00
二货爱吃白萝卜
1b61870c5d
fix: Modal hooks press esc can not trigger await ( #44646 )
...
* test: test driven
* fix: await missing esc
2023-09-05 21:36:21 +08:00
二货爱吃白萝卜
d3c2f75ed3
refactor: ConfirmModal layout to fix batch of bug ( #44557 )
...
* refactor: Modal confirm style
* test: fix test case
* chore: merge wireframe
* chore: modify limit
* test: update snapshot
2023-08-31 22:21:32 +08:00
红果汁
e7c7601bc0
feat: Modal footer support custom render function ( #44318 )
2023-08-28 11:54:43 +08:00
二货爱吃白萝卜
b072d3a02c
feat: Modal hooks confirm function support await ( #43470 )
...
* docs: move demo to useModal
* docs: reorder
* chore: update ts def
* test: test case
* chore: fix compile
2023-07-11 09:58:25 +08:00
kiner-tang(文辉)
1d24fb5679
refactor: solve modal circular dependency issue ( #42808 )
...
* refactor: solve modal circluar dependency issue
* feat: optimize code
* feat: optimize code
2023-06-05 09:57:26 +08:00
二货爱吃白萝卜
43d7b9ca92
feat: ConfigProvider.config support theme config ( #42473 )
...
* chore: static config of theme
* chore: static all method
* test: add test case
* docs: comment
* docs: more info
* test: update snapshot
* test: fix test logic
2023-05-18 23:53:34 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
lijianan
f6c235462e
chore: Remove locale-provider ( #41289 )
...
* chore: rm locale-receiver
* chore: export useLocale in locale
* chore: comment
* chore: rm locale-provider dir
* docs: rm locale-provider in migration document
* chore: fix regexp
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-21 13:08:43 +08:00
afc163
c0d275b4ff
test: fix Modal.confirm test coverage to 100% ( #41182 )
...
* test: fix modal test cov
* test: fix modal test cov
* test: fix test case
2023-03-13 19:55:59 +08:00
Karlo Sudec
828305bea3
fix: ConfirmDialog passing wrong footer prop ( #41173 )
...
* fix: ConfirmDialog passing wrong footer prop
* test: add case
* fix: fix modal accidental rendering of footer
* test: update snapshot
* Revert "style(InputNumber): Fixed font highlighting when disabled (#41167 )"
This reverts commit 38b47f68f9
.
* test: update snapshot
* Align components/input-number/style/index.ts with master
---------
Co-authored-by: Karlo Sudec <karlo.sudec@brainit.agency>
Co-authored-by: wuxh <wxh1220@gmail.com>
2023-03-11 18:35:23 +08:00
lijianan
412fe13d0c
refactoring: rewrite useLocale return value ( #40884 )
...
* refactoring: rewrite useLocale return
* rename
* revert name
2023-02-24 10:51:59 +08:00
lijianan
288b10bd10
refactoring: use hook replace LocaleReceiver ( #40870 )
...
* chore: rename useLocaleReceiver => useLocale
* refactoring: use hook replace LocaleReceiver
* fix
* update snap
* fix
* update snap
* fix
* rename
2023-02-22 18:18:26 +08:00
Amumu
d689c7b855
feat: Remove locale-provider ( #39373 )
...
* feat: remove locale-provider
* chore: fix lint
* Empty-Commit
* test: remove test
* Revert "test: remove test"
This reverts commit 4f6b59883f6bf078f21a10898ef913c9e2adb913.
* chore: 阶段性兼容
* fix lint
* fix: fix lint
* fix: add index
* docs: update docs
* docs: update
* docs: update
* docs: update
2022-12-09 15:04:08 +08:00
Jung Min O
a836a3a3fe
feat: Modal.xxx supports footer ( #39048 )
...
https://github.com/ant-design/ant-design/issues/16644
2022-12-07 21:33:44 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
MadCcc
eb9179464b
Merge branch 'master' into next-merge-master
2022-09-22 11:47:05 +08:00
二货爱吃白萝卜
b4898946ea
fix: visible follow up of confirm back to true ( #37613 )
2022-09-18 11:22:05 +08:00
二货爱吃白萝卜
a8fc6e893a
fix: Fix icon set null
not hide icon ( #37532 )
...
* fix: Modal confirm can set icon to null
* test: add test case
2022-09-13 18:09:58 +08:00
MadCcc
b4f4873d54
feat: use filled icon by default ( #37450 )
...
* feat: use filled icon by default
* test: update snapshot
2022-09-08 09:51:32 +08:00
二货机器人
d9a9fdc509
chore: merge next
2022-08-23 17:48:00 +08:00
yykoypj
3d8cd0b451
feat: switch visible to open for Modal ( #37084 )
...
* feat: switch visible to open for Modal
* test: depcated check
* docs: site api update
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 16:55:57 +08:00
二货机器人
b8a2f0a0c7
feat: Modal PureRender type support type
( #36544 )
...
* feat: Modal type support PurePanel
* feat: Modal PurePanel support type
* chore: do fix
* chore: do fix
* fix: Static logic locale
2022-07-15 20:51:07 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
...
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
zombiej
24ec3ba662
chore: merge master
2021-11-26 10:15:39 +08:00
benben
30844793a2
fix: Modal.method bodyStyle not working ( #32934 )
...
* fix: Modal.method bodyStyle失效
* test: Modal.method bodyStyle失效
* Apply suggestions from code review
Co-authored-by: 晋文涛 <jinwentao@zhaojiafang.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-18 18:29:29 +08:00
WeijieChen
70e1d6a1d0
feat: Modal.xxx support wrapClassName prop ( #32676 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-28 18:41:30 +08:00
afc163
8416e31821
chore: resolve conflict between master and feature
2021-08-23 17:48:23 +08:00
xrkffgg
af63edb265
fix: Collapse crashing of hot-reload on change ( #31828 )
2021-08-18 11:40:03 +08:00
二货机器人
eb70f00513
feat: ConfigProvider static function support iconPrefixCls
( #30925 )
...
* feat: Static iconPrefixCls
* feat: message & notification support iconPrefixCls
* docs: Update doc
* chore: Force update
* fix: ts def
2021-06-09 15:36:59 +08:00
Wendell
5ddd9e6b97
feat(module:popconfirm): support closing based on promise ( #30871 )
...
* feat(module:popconfirm): support closing based on promise
fix: typos
fix: fix tests
fix: fix ActionButton for Popconfirm
* chore: cleanup
* test: add test
2021-06-09 12:18:52 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix ( #29268 )
...
* feat: add prefix
* fix: 剩余
* fix: test
* fix: test
* fix: test
* fix: test
* fix: 传了 name 则使用传的
* fix: pop 添加 prefix
* fix: Ok OK ?
* fix: modal confirm
* fix: select
* fix: test
2021-02-08 17:09:13 +08:00
Eugene Molokov
1852e7553e
feat: add a focusTriggerAfterClose prop to Modal for passing down to rc-dialog ( #27985 )
...
* Add a focusTriggerAfterClose prop to Modal for passing down to rc-dialog
- set default value to true, similarly to rc-dialog
- add comments to the Modal docs. CN is google-translated though.
* Add a version number to docs
From code review suggestions
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: Eugeny Molokov <eugeny.molokov@fastdev.se>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-30 16:57:33 +08:00
He Linming
0ca5326176
feat: Support closeIcon of Modal.method ( #27909 )
...
* feat: Support closeIcon of Modal.method
close #27900
* style: update modal conform close style
* test: update unit test for close button of confirm modal
* docs: update api doc
* refactor: reuse modal close button
* test: update unit test
* feat: add closable api for ConfirmDialog
* chore: use default props
* Update default.less
Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-21 21:13:28 +08:00
zombiej
0bf5a43e15
chore: feature merge master
2020-10-30 20:55:27 +08:00
xyb
9052af449b
fix: Modal missing modalRender prop ( #27272 )
...
close #27174
2020-10-30 19:52:12 +08:00
南北
7c0e88839c
feat: components used in confirm title and content support prefixCls ( #27376 )
2020-10-28 12:07:46 +08:00
Tom Xu
b969bb4df5
feat: Modal method add bodyStyle ( #27292 )
2020-10-22 11:24:49 +08:00
偏右
cf42a16505
feat: Modal.config rootPrefixCls ( #25613 )
...
* feat: Modal.config rootPrefixCls
* fix tsd
2020-07-14 18:43:55 +08:00