二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
...
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
2022-04-08 22:55:42 +08:00
二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
...
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
2022-04-06 11:07:15 +08:00
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
...
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
qdzhaoxiaodao
6c1057724a
feat: add variable for aliyun theme of modal ( #34191 )
...
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
2022-02-27 13:51:58 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
2022-02-11 15:02:59 +08:00
WeijieChen
3324bb2f59
docs: fix version error ( #33443 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-12-28 13:29:43 +08:00
zombiej
6ed4d855b1
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-27 10:45:42 +08:00
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
...
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
2021-12-23 11:51:10 +08:00
zombiej
dd1670a3b4
chore: merge master
2021-11-26 15:19:31 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
...
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
zombiej
24ec3ba662
chore: merge master
2021-11-26 10:15:39 +08:00
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
WeijieChen
b4d16125dd
docs: add Version ( #32678 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-29 08:50:01 +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
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