Commit Graph

10 Commits

Author SHA1 Message Date
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