二货机器人
2e5c848799
fix: message with prefixCls should not break ( #29574 )
* fix: compitable for legacy usage
* chore: Add modal warning
* fix lint
* test: ConfigProvider.config
4 years ago
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
4 years ago
叶枫
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
4 years ago
叶枫
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
4 years ago
偏右
a3a64dca73
fix: message.loading return hide type ( #28362 )
4 years ago
偏右
32470b2b08
fix: improve message.then type ( #28304 )
close #28160
4 years ago
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>
4 years ago
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
4 years ago
二货机器人
3d5f9b0ac5
chore: bump rc-notification ( #26919 )
* chore: bump rc-notification
* test: fix on test
* test: Fix config.test
* fix test
* fix message test case
4 years ago
lihqi
cc37f7d189
fix: fix message.destroy parameter ( #26864 )
* fix: fix message.destroy parameter
* chore: use React.Key
4 years ago
lihqi
b92a9a5678
feat: message destroy the specified key ( #26052 )
close #25236
close #26054
4 years ago
偏右
436465bd8a
fix: ⌨️ improve Accessibility by adding role ( #25774 )
for Alert/message/notification
4 years ago
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
4 years ago
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;
5 years ago
xrkffgg
18d424e5f6
style: add message rtl ( #22513 )
* style: add message rtl
* fix: change config
* fix: add rtl test
5 years ago
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
* alert
* more icons
* another grouping
* all done
5 years ago
zefeng
5993fc3dcd
fix: crash when user dont pass icon props to message.open ( #21747 )
5 years ago
DiamondYuan
4297f33e85
fix: use Object.prototype.toString to check object ( #20546 )
close #20528
5 years ago
二货机器人
64b905e9bd
chore: Update `@ant-design/icons` deps ( #19979 )
* update icons deps
* update all icon ref
* fix lint
* update snapshot
5 years ago
邓波
d6430ad3f2
fix: update message content with a unique key and cancel manually ( #19967 )
5 years ago
Wendell
53b3c5af96
✨ support updating message content with a unique key
close #18621
fix: fix demo
docs: change key api version number
docs: fix docs
5 years ago
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
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
afc163
57c28def68
revert unknown to any
6 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombiej
e82d7a9c09
fix #12137 . Add miss return type of MessageApi
6 years ago
HeskeyBaozi
e3eb3c63a1
icons in message component use filled theme
6 years ago
HeskeyBaozi
ef54d3fbb7
cross -> close
6 years ago
Jack Hsieh
175ae5238e
Make message icons optional
6 years ago
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
7 years ago
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
7 years ago
Jin ZHANG
e1c74eb799
add maxCount config to message ( #10169 )
7 years ago
MuYu
f61967b496
add transitionName from message.config ( #9580 )
* add transitionName from message.config
* Update index.en-US.md (#9579 )
* modify doc
7 years ago
afc163
4a81e5584f
Fix message destroy problem, close #8201
7 years ago
Wei Zhu
d8f6c3bd8c
Fix implicit any error for Modal and Message
7 years ago
afc163
797754d3fd
Fix message cannot hide bug, close #8201
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Kiho · Cham
31d1ce91f7
feat: duration argument is optional ( #7874 )
7 years ago
Benjy Cui
0bce5c83f9
deps: upgrade rc-notification to support react@16 ( #7844 )
7 years ago
afc163
edf8a4f239
longer default duration of message
7 years ago
lixiaoyang
f58615dc35
feat: Notification supports className and style ( #6014 )
* notification add className and style
Message add className and style
* revert message
8 years ago
偏右
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
8 years ago
偏右
c552b315bc
Add getContainer for message and notification, close #5019 ( #5066 )
8 years ago
afc163
0620d52adc
Allow to config top multiply
8 years ago
Benjy Cui
55e9e83be0
Revert "feat: 给message组件添加stack全局配置 #3543 ( #3548 )"
This reverts commit 818deacfee
.
8 years ago
Benjy Cui
ca2e9c6dc2
Revert "fix: should cache correctly"
This reverts commit 75423ed4b1
.
8 years ago
Benjy Cui
75423ed4b1
fix: should cache correctly
8 years ago
yeliex
818deacfee
feat: 给message组件添加stack全局配置 #3543 ( #3548 )
8 years ago