Commit Graph

16 Commits

Author SHA1 Message Date
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
偏右
f7ed77b52f
feat: support Modal.config for prefixCls (#25603)
* chore: refactor test cases

*  support Modal.config

* fix lint

* remove extra default prefixCls value

* fix tsd

* docs: fix api

* Update components/message/index.en-US.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: xrk <xrkffgg@gmail.com>
2020-07-14 11:14:46 +08:00
xrkffgg
b8fb4c411d
feat: modal method rtl (#24682)
* fix: modal rtl

* fix: use hooks

* Update components/modal/index.zh-CN.md
2020-06-03 17:20:04 +08:00
二货机器人
2e284aa017
chore: small bundle size (#24135)
* update warning

* rm warning

* replace with dev warning

* fix test

* fix site

* Update webpack.config.js

Co-authored-by: 偏右 <afc163@gmail.com>

* Update webpack.config.js

* fix sytax

* adjust

* move into function

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
二货机器人
d02c486052
feat: Modal support hooks (#20949)
* init hooks

* portal it in

* children with 2 context demo

* Remove config since not more second demo

* Quit with same Component for logic reuse

* add rest functions

* use localeReceiver

* use localeReceiver

* update test case

* fix lint

* update docs

* update demo title
2020-02-03 13:00:35 +08:00