afc163
285fa6e407
fix: Modal centered not centered ( #33022 )
...
close #33021
2021-11-25 18:06:40 +08:00
ppbl
9166e9940b
refactor: Remove unnecessary div containers ( #31492 )
2021-11-19 22:43:44 +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
huangkairan
b03fae3f70
chore: fix types declaration ( #32935 )
2021-11-18 14:39:22 +08:00
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 ( #32451 )
...
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: autofix stylelint errors
* chore: autofix stylelint errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-13 15:38:59 +08:00
Xuxin Zhang
bff590f561
docs: Fix the explanation typo in the comment ( #32410 )
...
[[中文版模板 / Chinese template](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE/pr_cn.md )]
### 🤔 This is a ...
- [ ] New feature
- [ ] Bug fix
- [x] Site / documentation update
- [ ] Demo update
- [ ] Component style update
- [ ] TypeScript definition update
- [ ] Bundle size optimization
- [ ] Performance optimization
- [ ] Enhancement feature
- [ ] Internationalization
- [ ] Refactoring
- [ ] Code style optimization
- [ ] Test Case
- [ ] Branch merge
- [ ] Other (about what?)
### 🔗 Related issue link
<!--
1. Describe the source of requirement, like related issue link.
-->
### 💡 Background and solution
<!--
1. Describe the problem and the scenario.
2. GIF or snapshot should be provided if includes UI/interactive modification.
3. How to fix the problem, and list final API implementation and usage sample if that is a new feature.
-->
### 📝 Changelog
Fix the typo in the comment to help foreign users better understand the usage of Modal.useModal()
| Language | Changelog |
| ---------- | --------- |
| 🇺🇸 English | docs update |
| 🇨🇳 Chinese | docs update |
### ☑️ Self Check before Merge
⚠️ Please check all items below before review. ⚠️
- [x] Doc is updated/provided or not needed
- [x] Demo is updated/provided or not needed
- [x] TypeScript definition is updated/provided or not needed
- [x] Changelog is provided or not needed
2021-10-09 12:03:30 +08:00
afc163
8cd4c24afc
chore: fix modal demo in small screen
2021-09-13 19:27:31 +08:00
二货机器人
e13c4d4131
fix: Less Maximum call stack size exceeded error ( #32063 )
...
* chore: create additional entry
* fix: rm recv call
* chore: Add default.less as index.less
* chore: update entry
* fix: row should also translate
* chore: rename index-default to index and add index-pure instead
* fix: missing transfer customize styl
2021-09-07 16:14:20 +08:00
afc163
7085e22a96
merge feature into master
2021-08-31 13:35:13 +08:00
afc163
af805c098b
test: fix eslint errors ( #31961 )
...
* test: fix eslint errors
* test: fix eslint errors
2021-08-30 13:04:21 +08:00
xrkffgg
c1a539b696
test: add modal hook content with direction ( #31882 )
2021-08-23 19:59:04 +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
zhyupe
4097a6c7c6
fix: circular dependencies in Modal & Input ( #31817 )
...
* fix(input): fix circular dependencies
* fix(input): fix circular dependencies
* fix(modal): fix circular dependencies
* fix(modal): fix test
2021-08-17 16:22:42 +08:00
afc163
85935e18c0
chore: merge feature into master
2021-08-02 18:36:27 +08:00
afc163
a9a329d37c
fix: deps and TypeScript types ( #31519 )
...
* fix tsc errors
* fix tsc errors
2021-07-26 16:47:55 +08:00
github-actions[bot]
442ef88a91
chore: auto merge branchs ( #31308 )
...
chore: sync master into feature
2021-07-08 05:42:19 +00:00
afc163
af1d176d70
test: update snapshot
2021-07-08 12:58:11 +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
Map1en_
579e3c5f78
fix(modal): fix Dropdown.Button not correctly rendered in Modal footer ( #30328 )
...
close #30317
2021-04-28 12:19:40 +08:00
不吃猫的鱼
f465589bd6
fix: Modal footer buttons not spaced when using href in button ( #29681 )
...
* fix: Modal footer buttons not spaced when using href in button
* fix: resolve comments
2021-03-09 20:51:43 +08:00
不吃猫的鱼
1f3a64a5d1
refactor: remove redundant less variable ( #29668 )
2021-03-09 13:32:22 +08:00
二货机器人
992b99c011
fix: Modal hooks update & destroy ( #29584 )
...
* fix: Modal update before render
* test: Add test case
* test: More test
2021-03-02 18:52:47 +08:00
二货机器人
2e5c848799
fix: message with prefixCls should not break ( #29574 )
...
* fix: compitable for legacy usage
* chore: Add modal warning
* fix lint
* test: ConfigProvider.config
2021-03-02 11:53:12 +08:00
Tom Xu
e5d908a078
docs: format api ( #29537 )
2021-03-01 19:20:48 +08:00
二货机器人
9e5e4c8743
chore: Fix ts ( #29383 )
2021-02-20 14:08:49 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
...
* refactor: use optional chaining instead of if
* revert some code
2021-02-19 18:26:53 +08:00
叶枫
10c326ee94
feat: 添加全局静态配置 ( #29285 )
...
* feat: 添加全局静态配置
* chore: change globalConfig
* chore: change globalPrefixCls
* chore: review
* feat: 恢复 message 静态 prefix
* feat: modal
* feat: notification
* fix: prefix
* fix: prefix
* fix: 添加 test
* chore: review
* docs: doc
* chore: en
* chore: test
* fix: notification config set empty
* chore: link
* chore: change name
* chore: doc
* chore: doc
2021-02-09 21:49:15 +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
二货机器人
f45bb9f8e2
fix: Row with gutter has additional gap ( #29059 )
...
* chore: init gutter
* feat: col support gap
* chore: Update playground
* fix: Safari padding
* test: fix test case
* test: More test case
* docs: Update demo
* test: Update coverage
* test: Update test hack
2021-01-27 14:03:05 +08:00
cnjs
a5925e0ef1
refactor: improve Modal type definition ( #28997 )
2021-01-24 17:40:30 +08:00
偏右
f235f721ce
chore: upgrade rc-dialog and rc-drawer ( #28749 )
...
* chore: upgrade rc-dialog and rc-drawer (#28687 )
* chore: upgrade rc-dialog and rc-drawer
* upgrade rc-util
* update snapshots
* upgrade rc-util
* upgrade rc-util
* update snapshots
* upgrade rc-dialog
* perf: remove duplicated rc-dialog
Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
2021-01-07 17:17:38 +08:00
afc163
f2188064b2
merge feature into master
2020-12-28 15:32:03 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
2020-12-28 15:30:18 +08:00
mumiao
7ae07c1726
fix: draggable Modal should have boundary ( #28527 )
...
* fix: draggle handler not allowed outside of screen
* fix: draggable Modal should have boundary
* ci: fix error
2020-12-28 10:45:06 +08:00
zombiej
99d5451dba
chore: merge master
2020-12-26 23:11:46 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
2020-12-22 11:08:12 +08:00
Mirza Hashir Baig
ca65a985a9
docs: Fixed typo in documentation ( #28421 )
2020-12-18 18:19:16 +08:00
偏右
1b24bbea90
test( ✅ ): fix Modal coverage ( #28402 )
2020-12-17 17:59:16 +08:00
Tom Xu
db7c425663
Merge pull request #28381 from ant-design/master
...
chore: merge master into feature
2020-12-16 15:24:20 +08:00
二货机器人
857cbe1b23
fix: Fixed columns z-index issue ( #28346 )
...
* fix: Fixed columns z-index issue
* fix lint
2020-12-14 16:04:23 +08:00
偏右
474dce90dc
Merge pull request #28273 from ant-design/master
...
chore: merge master into feature
2020-12-09 17:54:36 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
...
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
Tom Xu
03909941b8
docs: fix tree api and improve other api ( #28264 )
2020-12-09 09:54:44 +08:00
liuchao233
f3ff21eca6
feat: Modal.method support afterClose ( #28053 )
...
* Modal.method support afterClose
* Update index.en-US.md
* Update index.zh-CN.md
* docs(dropdown): improve demo (#28032 )
* Modal.method support afterClose
* add afterClose test case
* resolve conflix
* Update index.en-US.md
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-12-07 13:44:06 +08:00
Elaina Cherudim
52ceeafa7e
chore: optimize useModal performance - Do not trigger rerender of parent component ( #28122 )
2020-12-02 20:00:31 +08:00
二货机器人
6bb9701e23
Merge pull request #28081 from ant-design/feature
...
chore: merge feature into master, again
2020-11-30 18:09:33 +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
二货机器人
6fcebabd8b
Merge pull request #27738 from ant-design/feature
...
chore: merge feature into master
2020-11-30 16:17:12 +08:00