Dunqing
f0c105d262
feat: insert use client
automatically at compilations instead of hardcode ( #44608 )
...
* feat: remove the hardcode of `use client`
* chore: update `@ant-design/tools`
* test: update
* fix: incorrect dictionary
* chore: update dep
* ci: check use client
* chore: update ci
* fix: should be LIB_DIR
* ci: should only run in dist
* chore: update check tsx files
2023-09-04 19:27:20 +08:00
MadCcc
b284648f11
refactor: fix compiling ( #44616 )
...
* refactor: fix compiling
* perf: code logic update
2023-09-04 17:20:30 +08:00
yoyo837
ad46da1697
Merge branch 'master' into feature-merge-master
2023-09-03 00:22:34 +08:00
Konv Suu
41ef050cb5
chore: typo ( #44579 )
...
update
2023-09-01 23:39:56 +08:00
栗嘉男
b12d69cf42
chore: merge master into feature
2023-09-01 00:02:50 +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
afc163
3f148d9112
docs: add help text for token customization
2023-08-30 23:02:35 +08:00
红果汁
e7c7601bc0
feat: Modal footer support custom render function ( #44318 )
2023-08-28 11:54:43 +08:00
栗嘉男
39ca9d89f4
chore: merge master into feature
2023-08-18 15:01:08 +08:00
二货爱吃白萝卜
ee984fee0a
fix: Modal open should not block dropdown hidden ( #44204 )
...
* refactor: adjust style
* fix: not event when hovering
* chore: add comment
2023-08-14 16:31:57 +08:00
github-actions[bot]
0a4463e68a
chore: auto merge branches ( #44202 )
...
chore: feature merge master
2023-08-14 06:19:20 +00:00
二货爱吃白萝卜
72b449a1a4
docs: update faq ( #44198 )
...
* docs: update faq
* chore: update lint
* chore: update lint
* chore: use returnType
2023-08-14 13:32:57 +08:00
MadCcc
ba90af13c0
Merge branch 'master' into feature-merge-master
2023-08-10 22:17:15 +08:00
红
da35a10f29
fix: update Modal defaultFooter Button disabled logic ( #43055 )
...
* test: add unit test
* fix: update disabled logic
* Revert "test: add unit test"
This reverts commit 7559a15af6
.
* test: add unit case
* test: update snapshot
* chore: update logic
* Revert "chore: update logic"
This reverts commit 89e2233eda
.
2023-08-10 16:48:28 +08:00
MadCcc
12efe328ac
docs: optimize site layout ( #44111 )
...
* docs: sticky header
* docs: adjust floatbutton zindex
* chore: code clean
2023-08-08 19:48:41 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc ( #44061 )
...
* docs: update rootClassName description
* docs: update rootClassName description
* docs: update docs
2023-08-08 18:27:48 +08:00
二货爱吃白萝卜
8a3870fc31
feat: Watermark support nest Modal & Drawer ( #44104 )
...
* docs: add demo
* refactor: init
* refactor: of it
* refactor: simple content
* chore: unique func
* chore: refactor
* chore: support modal watermark
* feat: support nest watermark
* test: add test case
* chore: fix lint
* chore: bump rc-image
* test: add test case
* refactor: use same func
2023-08-08 16:48:26 +08:00
二货爱吃白萝卜
5d3b45551d
test: snapshot of demo warning message ( #43947 )
...
* test: init of test
* test: update snapshot
* test: update snapshot
* chore: adjust size limit
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update snapshot
---------
Co-authored-by: lijianan <574980606@qq.com>
2023-08-02 14:20:13 +08:00
lijianan
755e1227f4
test: update icon snap ( #43942 )
...
* test: update snap
* chore: bump icons
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-08-02 02:15:02 +08:00
Gundsambuu
cc76cac953
fix: ant-design/icons import refactor ( #43915 )
...
which reduces @ant-design/icons bundle size on nextJS 13.
2023-07-31 23:55:25 +08:00
Amumu
b7eefe5a86
chore: fix comment and feature merge master ( #43899 )
...
* site: optimize site style in mobile (#43895 )
* site: ptimize site style in mobile
* fix
* fix: 合并冲突时注释错行
---------
Co-authored-by: lijianan <574980606@qq.com>
2023-07-30 22:22:50 +08:00
栗嘉男
d7cc34f9d8
test: add test case
2023-07-29 16:16:14 +08:00
栗嘉男
674ff129ce
Merge branch master into master-merge-feature
2023-07-28 16:43:15 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint ( #43873 )
...
* chore: fix lint
* chore: fix lint
* test: fix 16
* fix: lint
2023-07-28 16:17:43 +08:00
JiaQi
9088414d54
fix: Modal.confirm locale setting were reset ( #43277 )
...
* fix: Modal.confirm locale setting were reset
* chore: add test case
* test: update test case
* fix: lint
* fix: format
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-07-26 18:56:27 +08:00
github-actions[bot]
b0d69a6878
chore: auto merge branches ( #43575 )
...
chore: merge master into feature
2023-07-15 07:15:54 +00:00
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router ( #43573 )
...
* fix: prepend use-client directive for with Next.js App Router
* Update components/affix/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/badge/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/divider/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/cascader/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/list/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/qrcode/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/steps/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/time-picker/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/transfer/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/tree-select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-15 12:57:03 +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
栗嘉男
0e47a7673e
Merge branch master into master-merge-feature
2023-07-09 18:26:06 +08:00
liyunhe
2cb72a7fc0
demo: Update for Resolving deprecation of findDOMNode in StrictMode ( #43451 )
...
Resolving deprecation of findDOMNode in StrictMode
References: https://github.com/react-grid-layout/react-draggable/blob/master/CHANGELOG.md#440-may-12-2020
Signed-off-by: kookieaz <yunhe9337@gmail.com>
2023-07-08 18:55:26 +08:00
github-actions[bot]
1ad266f7bf
chore: auto merge branches ( #43378 )
...
chore: merge master into feature
2023-07-05 10:16:04 +00:00
MadCcc
b64a57d5d0
docs: component token meta ( #43337 )
...
* docs: component token meta
* docs: more
* docs: complete
2023-07-05 17:49:59 +08:00
muxin
4214fc7502
feat: config-provider support Modal className and style properties ( #43219 )
2023-06-27 17:14:08 +08:00
kiner-tang(文辉)
f93d5c8ba7
refactor(Tag): refactor closeIcon ( #43109 )
...
* refactor: refactor closeIcon
* feat: optimize code
* feat: optimize code
2023-06-20 13:42:55 +08:00
kiner-tang(文辉)
378b54281b
refactor(Modal): refactor closeIcon ( #43017 )
...
* refactor: refactor closeIcon
* docs: update docs
* refactor(Drawer): refactor drawer closeIcon (#42993 )
* feat: optimize closeIcon
* refactor: refactor closeIcon
* docs: update docs
* feat: optimize code
* feat: update test case
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* docs: update docs
* ✨ feat: migrate less to token for Slider (#42428 )
* ✨ feat: migrate less to token for Slider
* ✨ feat: update snap
* ✨ feat: update style
* ✨ feat: update style
* ✨ feat: test ci
* ✨ feat: test ci
* ✨ feat: test ci
* ✨ feat: test ci
* ✨ feat: update
* ✨ feat: update snap
* ✨ feat: update
* ✨ feat: update
* ✨ feat: 删除未使用token
* ✨ feat: update doc
* ✨ feat: update dome
* ✨ feat: update
* ✨ feat: test ci
* 📝 doc: update doc
* ✨ feat: update
* ✨ feat: update
* ✨ feat: update
* ✨ feat: update
* ✨ feat: add demo
* ✨ feat: add demo
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* ✨ feat: update for reviewer
* Apply suggestions from code review
---------
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* docs: update docs
---------
Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-16 15:36:28 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
...
This reverts commit 6759887c44
.
2023-06-07 21:59:21 +08:00
kiner-tang(文辉)
fe9121ebb9
docs: update docs about getContainer ( #42885 )
2023-06-07 13:49:31 +08:00
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
...
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
kiner-tang(文辉)
fca21af950
refactor: solve modal circular dependency issue ( #42841 )
2023-06-06 09:54:14 +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
github-actions[bot]
a8bc13e77b
chore: auto merge branches ( #42668 )
...
chore: feature merge master
2023-05-27 03:42:37 +00:00
二货爱吃白萝卜
e932210a52
chore: warning if use getContainer false ( #42596 )
...
* chore: warning if use getContainer false
* chore: revert tree demo
2023-05-25 14:24:29 +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
MadCcc
34af3ec550
feat: component token rename ( #42184 )
...
* feat: component token naming rules
* dcos: update
* feat: modal token rename
* feat: rename result token
* feat: statsitic token rename
* feat: steps token remane
* chore: update snapshot
* chore: fix lint
* feat: semantic part component
* revert: button & notification
* revert: files
* chore: code clean
2023-05-09 19:24:50 +08:00
yoyo837
7f5042c4fe
Merge branch 'master' into feature-merge-master
2023-05-06 19:03:11 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
二货机器人
252f516a5e
chore: merge master
2023-05-06 11:40:31 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
MadCcc
f89c97b488
feat: Modal Component Token ( #42000 )
...
* feat: Modal Component Token
* chore: code clean
* docs: less to component token
* docs: update
* chore: clean
* chore: clean
* docs: add alert
2023-04-26 21:55:58 +08:00
二货爱吃白萝卜
60dbef4963
feat: Disable motion ( #41856 )
...
* feat: Add motion off
* chore: update motion seed
* chore: all motion disabled
* test: add test case
* chore: fix lint
* chore: fix cov
* chore: fix motion of Switch & Segemented
* test: ignore empty
2023-04-23 15:42:36 +08:00
muxin
a496ecdb5d
fix: optimize the type definition of Modal ( #41742 )
...
* fix: optimize modal type
* test: update test
* test: update test
* fix: funcModal do not support afterOPenChange
* fix: funcModal do not support afterOPenChange1
* docs: use en exegesis
* docs: use en exegesis
2023-04-12 10:11:31 +08:00
黑雨
cef58664e8
📝 doc: add design token table ( #41717 )
...
* ✨ feat: add token
* 📝 doc: update lint
* 📝 doc: update doc
2023-04-11 10:25:24 +08:00
ChuTao Zhang
abdb770683
demo: demo bug of draggable modal ( #41630 )
...
该值默认false时,弹出窗口,鼠标不经过modal 的header(即绕过header,从左/右/下方进入modal的body),鼠标左键在body区域按下=着不放并移动,modal也会跟着移动,有时需要选中复制body内文字时,modal一直跟着移动而造成无法选择文字
2023-04-05 11:17:29 +08:00
栗嘉男
de2dde6613
Merge branch master into master-merge-feature
2023-03-28 22:01:23 +08:00
luo3house
4f819ea4ef
fix(useModal): forward modal config ( #41422 )
2023-03-24 17:23:39 +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
muxin
2a7541b682
docs: update description of afterOpenChange api ( #41263 )
2023-03-15 21:32:20 +08:00
muxin
0ecb3caa61
chore: bump rc-dialog & rc-image version ( #41253 )
2023-03-15 19:55:24 +08:00
二货爱吃白萝卜
6770b7fb22
test: Use render for demo-extends test ( #41242 )
...
* test: update snapshot
* test: use render
* test: fix skip
* test: fix skip
2023-03-15 00:08:31 +08:00
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>
2023-03-14 15:14:40 +08:00
MadCcc
989d033978
test: fix cov ( #41214 )
2023-03-14 11:17:05 +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
二货爱吃白萝卜
36f44575c8
chore: Static warning if exist theme in CP ( #41157 )
...
* chore: warning for dynamic theme
* chore: warning for static context
* chore: add ignore
2023-03-10 14:12:49 +08:00
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>
2023-03-10 11:50:12 +08:00
二货爱吃白萝卜
87f13b3ddc
fix: Popconfirm loading should finish ( #41121 )
...
* fix: Popconfirm loading should finish
* chore: update bug version
2023-03-08 17:20:17 +08:00
The 1975
88d5c67594
doc(modal): Update Modal.method() default icon ( #40966 )
...
* Update index.en-US.md
* Update index.zh-CN.md
2023-02-28 16:12:05 +08:00
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>
2023-02-24 16:59:57 +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
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
...
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2023-02-09 22:17:31 +08:00
MadCcc
421ae105ad
refactor: adjust boxShadow token ( #40516 )
...
* refactor: adjust boxShadow token
* chore: code clean
2023-02-03 11:20:21 +08:00
二货机器人
b02b7aeadb
chore: merge master
2023-01-31 10:21:17 +08:00
weited
45b65f7991
fix: address mock data city spelling error ( #40431 )
2023-01-29 12:46:00 +08:00
二货爱吃白萝卜
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
2023-01-20 11:03:50 +08:00
lijianan
b9a6b7b578
demo: update demo ( #40318 )
...
* demo: update demo
* add form
* clear
* add Select
* add
* fix style
* fix style
* fix
* revert
2023-01-19 15:37:54 +08:00
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>
2023-01-17 14:54:34 +08:00
二货爱吃白萝卜
8f81298027
docs: Adjust Modal demos ( #40274 )
...
* docs: Adjust modal demo
* test: update snapshot
2023-01-16 23:48:26 +08:00
lijianan
8501adbd84
fix: add displayName ( #40092 )
...
* fix: add displayName
* rerun ci
* rerun ci
2023-01-08 21:30:41 +08:00
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>
2023-01-08 00:27:33 +08:00
lijianan
d3764fcce3
test: refactor test case demo CC => FC ( #40070 )
...
* test: refactor test case demo CC => FC
* add type
* type
2023-01-07 21:15:59 +08:00
洋
dc77959e7c
fix: useModal default okText ( #39884 )
2022-12-29 17:05:50 +08:00
MadCcc
663d1454f2
chore: fix ci ( #39811 )
...
* chore: fix ci
* chore: code clean
* chore: update form test
* chore: test
2022-12-26 15:48:50 +08:00
lijianan
8180bb983b
docs: use en link in EN_US ( #39808 )
2022-12-26 11:55:18 +08:00
黑雨
74262023ea
docs: update doc ( #39753 )
...
* feat: update doc
* feat: update doc
* feat: update doc
* feat: update doc
2022-12-26 10:08:15 +08:00
Peach
6236e356b5
docs: update all site anchors ( #39687 )
...
* docs: update all site anchors
* docs: handle hash change from Link component
2022-12-22 14:12:26 +08:00
lijianan
b35fbcf7ac
fix: type definition optimization & add key for useModal ( #39701 )
...
* fix: add key for useModal
* fix
* fix
* fix lint
* revert
2022-12-21 14:39:12 +08:00
MadCcc
bd15aaedd6
Merge branch 'master' into feature-merge-master
2022-12-18 14:28:58 +08:00
lijianan
120db80c25
type: Button type optimization ( #39533 )
...
* type: type optimization
* fix type
* fix type
* fix type
* update docs
2022-12-15 17:48:29 +08:00
Amumu
ca5b9a6ae0
docs: CN
it. ( #39519 )
2022-12-13 15:49:05 +08:00
二货爱吃白萝卜
fe8d59754e
fix: Modal hooks not pass CP ( #39513 )
...
* fix: CP pass not override
* test: Update test case
* docs: missing demo
2022-12-13 13:57:17 +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
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)
2022-12-08 16:39:42 +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
MadCcc
7b3adcb5ae
fix: wireframe style for popconfirm ( #39313 )
...
* fix: wireframe style for popconfirm
* chore: add demos
2022-12-06 23:14:30 +08:00
muxin
ecd2b7372b
style(Modal): fix content break lines ( #39249 )
...
close #39247
2022-12-04 23:34:58 +08:00
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>
2022-12-01 15:15:30 +08:00
MadCcc
e7edfa42d7
docs: update overview img ( #38946 )
...
* docs: update overview img
* chore: code clean
* chore: code clean
* chore: update
* chore: code clean
2022-11-30 20:14:41 +08:00
afc163
5310a0fa0c
docs: fill documentation about message/notification/Modal.xxx ( #39068 )
...
close #39066
2022-11-29 10:39:57 +08:00
lijianan
4efa3b2896
test: console.error
should nullable in Console ( #39050 )
2022-11-28 14:19:25 +08:00