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
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
Albert Zheng
23dd825afd
【Please review】Fixes for supporting TypeScript 2.0.3 ( #3439 )
* Fixes for supporting TypeScript 2.0.3
* Fixes for supporting TypeScript 2.0.3. Issue is #3358
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
Benjy Cui
8db2b79505
chore: fix compile errors
8 years ago
ddcat1115
a3a999441e
refactor: ts message ( #2544 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
yiminghe
fc55cf6919
keep .warn
9 years ago
snadn
3ce6139169
高度的 key 应该是 top ( #1679 )
修复高度设置的 key 错误
9 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
afc163
72af92c47e
Upgrade message icons
9 years ago
afc163
6b2c0e96a9
Add deperated code for xxx.warn
9 years ago
afc163
09b27ed288
warn => warning, close #1225
9 years ago
afc163
7cee16d153
Fix alert icons style
9 years ago
afc163
2e823f3c5b
Add global duration config for message and notification, close #1143
9 years ago
Benjy Cui
29825f20c8
style: update code style to please lint
9 years ago
afc163
66b7ee81ad
fix eslint problems, eslint-config-airbnb@4.x
9 years ago
afc163
4bbe1c0008
Add message.destroy and notification.destroy, close #902
9 years ago
Benjy Cui
41ed04e977
style: update code style to please lint
9 years ago
Benjy Cui
b72d18fd44
style: update code style to please the fucking lint
9 years ago
afc163
5908b11652
Add warn message and fix warn alert icon
9 years ago