二货机器人
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
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
...
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
2021-02-23 10:45:11 +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
Tom Xu
db7c425663
Merge pull request #28381 from ant-design/master
...
chore: merge master into feature
2020-12-16 15:24:20 +08:00
偏右
a3a64dca73
fix: message.loading return hide type ( #28362 )
2020-12-15 14:52:17 +08:00
偏右
32470b2b08
fix: improve message.then type ( #28304 )
...
close #28160
2020-12-11 09:39:58 +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
ZeroToOne
08237bd6ae
feat: add onClick props to Message component ( #28131 ) ( #28148 )
...
* feat(message): add onClick method to Message component (#28131 )
* feat(message): remove unnecessary onClick method implementation
* test(message): update onClick test
* feat(message): add event parameter
2020-12-03 10:58:11 +08:00
二货机器人
3d5f9b0ac5
chore: bump rc-notification ( #26919 )
...
* chore: bump rc-notification
* test: fix on test
* test: Fix config.test
* fix test
* fix message test case
2020-09-28 00:41:16 +08:00
lihqi
cc37f7d189
fix: fix message.destroy parameter ( #26864 )
...
* fix: fix message.destroy parameter
* chore: use React.Key
2020-09-25 11:01:41 +08:00
lihqi
b92a9a5678
feat: message destroy the specified key ( #26052 )
...
close #25236
close #26054
2020-08-06 13:34:18 +08:00
07akioni
9951e583b6
Merge branch 'master' into resolve-conflict-1
2020-07-26 20:14:11 +08:00
偏右
436465bd8a
fix: ⌨️ improve Accessibility by adding role ( #25774 )
...
for Alert/message/notification
2020-07-23 15:00:14 +08:00
07akioni
01cec29a8e
feat: Message hooks API ( #25422 )
...
* chore: comment on usePatchElement
* refactor: conform message & notifaction code logic
* feat: message useMessage, wip
* feat: message.useMessage, it works now
* fix: promise on regular api
* feat: message hooks
* chore: fix lint
* chore: new line
* chore: revert new line
* refactor: prefixCls
* fix: prefixCls
* test: cov
* chore
* chore
* chore
* chore
* docs
* docs: message hooks faq
* test: remove useless config provider
* chore: remove some test codes
* chore
* docs: hooks version
2020-07-15 19:51:56 +08:00
Kermit Xuan
67a482f4e5
fix( #16659 ): support className and style for message ( #24024 )
...
* fix(#16659 ): support className and style for message;
* docs(message): update demo custom-style;
2020-05-11 12:11:15 +08:00
xrkffgg
18d424e5f6
style: add message rtl ( #22513 )
...
* style: add message rtl
* fix: change config
* fix: add rtl test
2020-04-04 13:35:36 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
...
* alert
* more icons
* another grouping
* all done
2020-03-02 12:09:38 +08:00
zefeng
5993fc3dcd
fix: crash when user dont pass icon props to message.open ( #21747 )
2020-03-02 10:26:26 +08:00
afc163
08f3643272
✅ resolve merge conflict
2020-01-03 12:09:35 +08:00
DiamondYuan
4297f33e85
fix: use Object.prototype.toString to check object ( #20546 )
...
close #20528
2019-12-30 22:14:17 +08:00
zombiej
d76283f2b9
merge master
2019-12-01 21:46:17 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons
deps ( #19979 )
...
* update icons deps
* update all icon ref
* fix lint
* update snapshot
2019-11-28 12:34:33 +08:00
邓波
d6430ad3f2
fix: update message content with a unique key and cancel manually ( #19967 )
2019-11-28 10:01:43 +08:00
zombiej
c75bbbd13d
merge master
2019-10-16 10:44:56 +08:00
Wendell
53b3c5af96
✨ support updating message content with a unique key
...
close #18621
fix: fix demo
docs: change key api version number
docs: fix docs
2019-09-25 12:30:50 +08:00
vagusX
149729e524
use ant design icons 4.0 ( #18217 )
...
* feat: use @ant-design/icons@4.0
* feat: use createFromIconfontCN to make site works
* feat: update doc for Icon
* feat: use icon in component Alert
* feat: use icon in component Avatar
* feat: use icon in component Breadcrumb
* feat: use icon in component Button
* feat: use icon in component Cascader
* feat: use icon in component Collapse
* feat: use icon in component Datepicker
* feat: use icon in component Dropdown
* feat: use icon in component Form
* feat: use icon in component Input
* feat: use icon in component InputNumber
* feat: use icon in component Layout
* feat: use icon in component Mention
* feat: use icon in component Message
* feat: use icon in component Modal
* feat: use icon in component Notification
* feat: use icon in component PageHeader
* feat: use icon in component Pagination
* feat: use icon in component Popconfirm
* feat: use icon in component Progress
* feat: use icon in component Rate
* feat: use icon in component Result
* feat: use icon in component Select
* feat: use icon in component Step
* feat: use icon in component Switch
* feat: use icon in component Table
* feat: use icon in component Tab
* feat: use icon in component Tag
* feat: handle rest component which using Icon
* fix: remove unused vars
* feat: use latest alpha ant design icons
* fix: failed test in uploadlist.test.js
* test: update snapshot for icons
* doc: add Icon for site
* doc: use @ant-design/icons in site
* chore: use latest icons
* fix: tslint issue
* fix: test cases
* fix: types for react
* fix: lint rules for import orders
* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render
* fix: eslint error in demo/**.md
* inject antd icons
* update snapshot
* fix site
* doc: update docs
* fix: code snippets icon in site
* feat: use latest @ant-design/icons
* fix: icon props in message
2019-08-13 14:07:17 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
afc163
57c28def68
revert unknown to any
2019-06-24 11:29:58 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
zombiej
e82d7a9c09
fix #12137 . Add miss return type of MessageApi
2018-09-09 22:50:12 +08:00
HeskeyBaozi
e3eb3c63a1
icons in message component use filled theme
2018-09-02 20:59:37 +08:00
HeskeyBaozi
ef54d3fbb7
cross -> close
2018-09-02 20:59:37 +08:00
Jack Hsieh
175ae5238e
Make message icons optional
2018-09-02 17:19:05 +08:00
Jinxuan Zhu
c2519e776b
Add promise-like interface ( #10470 )
...
* Add promise-like interface
* Keep hide interface
* Shorten
* Test Promise
* Update document
* Update demo: 2.5 second is insignificant with the default 3s hiding
* Update demo: then interface
* Fix line break
* Chainable
* Thenable demo
* Thenable test
* Fix tsc error
* Fix tsc error
* Better document
* Revert change in loading.md
* Change snapshot
2018-05-25 20:41:07 +08:00
Xiaoming
7f2159e928
Message doc update & change variable statement ( #10420 )
...
* eslint disallow use of chained assignment expressions
eslint disallow use of chained assignment expressions
* revert
* message-doc-update
1.If a variable is never reassigned, using the const declaration is
better.
2.Defaultvalue’s type must be ‘number’ depend on type
2018-05-08 21:59:28 +08:00
Jin ZHANG
e1c74eb799
add maxCount config to message ( #10169 )
2018-04-20 15:40:43 +08:00
MuYu
f61967b496
add transitionName from message.config ( #9580 )
...
* add transitionName from message.config
* Update index.en-US.md (#9579 )
* modify doc
2018-03-09 13:30:50 +08:00
afc163
4a81e5584f
Fix message destroy problem, close #8201
2017-11-22 14:44:06 +08:00
Wei Zhu
d8f6c3bd8c
Fix implicit any error for Modal and Message
2017-11-21 17:20:25 +08:00
afc163
797754d3fd
Fix message cannot hide bug, close #8201
2017-11-18 15:26:02 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
Kiho · Cham
31d1ce91f7
feat: duration argument is optional ( #7874 )
2017-10-14 14:28:57 +08:00
Benjy Cui
0bce5c83f9
deps: upgrade rc-notification to support react@16 ( #7844 )
2017-10-11 12:03:19 +08:00
afc163
edf8a4f239
longer default duration of message
2017-07-18 12:50:17 +08:00
lixiaoyang
f58615dc35
feat: Notification supports className and style ( #6014 )
...
* notification add className and style
Message add className and style
* revert message
2017-05-05 14:26:55 +08:00
偏右
81c1a77686
Fix get container ( #5381 )
...
* Fix message getContainer, close #5380
* Add test for message getContainer
* Add test for message config top
* more test for message destroy
2017-03-19 02:07:39 +08:00
偏右
c552b315bc
Add getContainer for message and notification, close #5019 ( #5066 )
2017-02-27 13:39:37 +08:00