ChuTao Zhang
abdb770683
demo: demo bug of draggable modal ( #41630 )
该值默认false时,弹出窗口,鼠标不经过modal 的header(即绕过header,从左/右/下方进入modal的body),鼠标左键在body区域按下=着不放并移动,modal也会跟着移动,有时需要选中复制body内文字时,modal一直跟着移动而造成无法选择文字
2 years ago
luo3house
4f819ea4ef
fix(useModal): forward modal config ( #41422 )
2 years ago
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>
2 years ago
muxin
2a7541b682
docs: update description of afterOpenChange api ( #41263 )
2 years ago
muxin
0ecb3caa61
chore: bump rc-dialog & rc-image version ( #41253 )
2 years ago
二货爱吃白萝卜
6770b7fb22
test: Use render for demo-extends test ( #41242 )
* test: update snapshot
* test: use render
* test: fix skip
* test: fix skip
2 years ago
afc163
d70f599a7e
test: fix Modal test cov agian ( #41216 )
* test: fix Modal footer test cov
* test: fix Modal footer test cov
* fix footer
* Update components/modal/PurePanel.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* fix footer
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
MadCcc
989d033978
test: fix cov ( #41214 )
2 years ago
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
2 years ago
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>
2 years ago
二货爱吃白萝卜
36f44575c8
chore: Static warning if exist theme in CP ( #41157 )
* chore: warning for dynamic theme
* chore: warning for static context
* chore: add ignore
2 years ago
dependabot[bot]
1df1034f20
chore(deps-dev): bump glob from 8.1.0 to 9.2.1 ( #41109 )
* chore(deps-dev): bump glob from 8.1.0 to 9.2.1
Bumps [glob](https://github.com/isaacs/node-glob ) from 8.1.0 to 9.2.1.
- [Release notes](https://github.com/isaacs/node-glob/releases )
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v8.1.0...v9.2.1 )
---
updated-dependencies:
- dependency-name: glob
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: update api
* fix
* fix
* fix path
* fix path
* update snap
* update snap
* update snap
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2 years ago
二货爱吃白萝卜
87f13b3ddc
fix: Popconfirm loading should finish ( #41121 )
* fix: Popconfirm loading should finish
* chore: update bug version
2 years ago
The 1975
88d5c67594
doc(modal): Update Modal.method() default icon ( #40966 )
* Update index.en-US.md
* Update index.zh-CN.md
2 years ago
Rafael Martins
14dd2cdcdb
fix: confirm modal firing onOk event twice ( #40719 )
* fix: confirm modal firing onOk event twice (#40272 )
* fix: use loading state instead using disabled
* test: update test to use mock timer
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
lijianan
412fe13d0c
refactoring: rewrite useLocale return value ( #40884 )
* refactoring: rewrite useLocale return
* rename
* revert name
2 years ago
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
2 years ago
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2 years ago
MadCcc
421ae105ad
refactor: adjust boxShadow token ( #40516 )
* refactor: adjust boxShadow token
* chore: code clean
2 years ago
weited
45b65f7991
fix: address mock data city spelling error ( #40431 )
2 years ago
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2 years ago
lijianan
b9a6b7b578
demo: update demo ( #40318 )
* demo: update demo
* add form
* clear
* add Select
* add
* fix style
* fix style
* fix
* revert
2 years ago
Danial Soheili
164ea65250
Bugfix/modal destroy all with context ( #40281 )
* 🐞 FIX: destroyAll not working with useModal
* 🧪 TEST: add test
* Update components/modal/useModal/index.tsx
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
2 years ago
二货爱吃白萝卜
8f81298027
docs: Adjust Modal demos ( #40274 )
* docs: Adjust modal demo
* test: update snapshot
2 years ago
lijianan
8501adbd84
fix: add displayName ( #40092 )
* fix: add displayName
* rerun ci
* rerun ci
2 years ago
Peter Gassner
25ea3a7202
fix: Allow users to handle promise rejections in ActionButton's onOk callback ( #40018 )
* fix: Allow users to handle promise rejections in onOk callback
Components that rely on ActionButton swallow rejected promises. This makes it impossible for userland code to handle them.
* polish: Fix linting problems
* polish: Return rejected promise instead of throwing
* refact: Remove test for unhandled promise rejection
This test breaks when run in parallel by Jest. At the moment we have no way of changing the way Jest works and it prohibits us from testing for "unhandledRejection" events.
See: https://github.com/ant-design/ant-design/pull/40018#issuecomment-1373590259
* test: hack for rejection
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
lijianan
d3764fcce3
test: refactor test case demo CC => FC ( #40070 )
* test: refactor test case demo CC => FC
* add type
* type
2 years ago
洋
512883e59a
fix: useModal default okText ( #39884 )
2 years ago
洋
dc77959e7c
fix: useModal default okText ( #39884 )
2 years ago
MadCcc
663d1454f2
chore: fix ci ( #39811 )
* chore: fix ci
* chore: code clean
* chore: update form test
* chore: test
2 years ago
lijianan
8180bb983b
docs: use en link in EN_US ( #39808 )
2 years ago
黑雨
74262023ea
docs: update doc ( #39753 )
* feat: update doc
* feat: update doc
* feat: update doc
* feat: update doc
2 years ago
Peach
6236e356b5
docs: update all site anchors ( #39687 )
* docs: update all site anchors
* docs: handle hash change from Link component
2 years ago
lijianan
b35fbcf7ac
fix: type definition optimization & add key for useModal ( #39701 )
* fix: add key for useModal
* fix
* fix
* fix lint
* revert
2 years ago
lijianan
120db80c25
type: Button type optimization ( #39533 )
* type: type optimization
* fix type
* fix type
* fix type
* update docs
2 years ago
Amumu
ca5b9a6ae0
docs: `CN` it. ( #39519 )
2 years ago
二货爱吃白萝卜
fe8d59754e
fix: Modal hooks not pass CP ( #39513 )
* fix: CP pass not override
* test: Update test case
* docs: missing demo
2 years ago
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
2 years ago
xhh0223
451d2f6ee2
feat(Popconfirm): make title bold and add description prop ( #39250 )
* feat(popconfirm): make title bold and add description prop
* feat(popconfirm): make title bold and add description prop(update demos)
* feat(popconfirm): make title bold and add description prop(the update of demos translation)
* feat(popconfirm): make title bold and add description prop(the update of snapshot)
* feat(popconfirm): make title bold and add description prop(the update of popconfirm md)
* feat(popconfirm): make title bold and add description prop(the update of popconfirm md)2
* feat(popconfirm): make title bold and add description prop(run all test.ts.snaps and update popconfirm)
2 years ago
Jung Min O
a836a3a3fe
feat: Modal.xxx supports footer ( #39048 )
https://github.com/ant-design/ant-design/issues/16644
2 years ago
MadCcc
7b3adcb5ae
fix: wireframe style for popconfirm ( #39313 )
* fix: wireframe style for popconfirm
* chore: add demos
2 years ago
muxin
ecd2b7372b
style(Modal): fix content break lines ( #39249 )
close #39247
2 years ago
Jung Min O
d76636ac95
style: modal content width issue without modal icon ( #39047 )
* Fix modal width issue without modal icon
* Update index.tsx
* Update index.tsx
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
MadCcc
e7edfa42d7
docs: update overview img ( #38946 )
* docs: update overview img
* chore: code clean
* chore: code clean
* chore: update
* chore: code clean
2 years ago
afc163
5310a0fa0c
docs: fill documentation about message/notification/Modal.xxx ( #39068 )
close #39066
2 years ago
lijianan
4efa3b2896
test: `console.error` should nullable in Console ( #39050 )
2 years ago
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs ( #38902 )
* refactor: Optimize theme export and add docs
* chore: fix lint
* chore: fix lint
* chore: fix lint
2 years ago
thinkasany
9e8b834d4a
docs: Optimize documents ( #38882 )
2 years ago
Yuki Zhang
0b54a18afe
fix: context issues for Space.Compact ( #38870 )
* fix: context issues for Space.Compact
* test: update snapshots
2 years ago
Sonu Sharma
7728eec447
docs: spelling and grammar fix ( #38743 )
2 years ago