Wei Zhu
645be586f3
Run jest.useFakeTimers in beforeAll
2017-11-13 10:46:54 +08:00
afc163
54188b8e97
Reset timer in test
2017-11-09 20:33:25 +08:00
Wei Zhu
36227a10db
docs: sort api table
2017-10-25 10:25:44 +08:00
afc163
3d6b142621
fix notification ci
2017-10-20 15:10:53 +08:00
Bastian Sieker
d4c75d43a1
Fix notification ArgsProps typing ( #7834 )
...
* Fix notification ArgsProps typing
close #7832
* Improve notification ArgsProps typing
see #7832
* Improve notification ArgsProps typing
see #7832
2017-10-09 19:58:30 +08:00
afc163
942ea41b02
update snapshot for new jest
2017-10-09 13:32:11 +08:00
afc163
475e4ff23d
upgrade eslint-config-airbnb
2017-10-09 13:27:35 +08:00
Wei Zhu
250c7a9c68
Revert "Mock rc-trigger"
...
This reverts commit 9d2c91598b
.
2017-09-15 16:42:25 +08:00
Wei Zhu
9d2c91598b
Mock rc-trigger
...
Ref #5522
2017-09-15 16:14:26 +08:00
Khalifa Lame
aa3458deb6
docs: update Notification English doc ( #7539 )
...
Fixed numerous typos and inconsistencies.
2017-09-11 11:08:34 +08:00
Benjy Cui
e061ada71a
test: fix CI
2017-08-17 15:33:26 +08:00
Benjy Cui
9abce572a4
fix: notification.xxx shoud not affect defualtPlacement, close : #5895
2017-08-17 15:23:47 +08:00
Mars Wong
e9b3c36866
fix: correct Notification interface ( #7073 ) ( #7088 )
2017-08-06 13:29:11 +08:00
afc163
59e219e138
Fix notification type, close #7073
2017-08-04 16:44:42 +08:00
Wei Zhu
401519ec6f
Fix types
2017-07-31 01:50:46 +08:00
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
2017-07-03 16:57:11 +08:00
Jordan Hornblow
51655e2e7c
Allow Number type table keys. Make notification success, error, info, warn and warning non-optional ( #6434 )
...
* Allow Number type table keys. Make notification success, error, info, warn and warning non-optional
* Fix build error
2017-06-13 14:43:19 +08:00
Rex
f3c38d5811
fix: notification.destroy
bug ( #6161 )
2017-05-17 10:24:16 +08:00
hardfist
da935ec4af
fix Notification getContainer config bug ( #6099 )
...
Change-Id: I8eb84c640bb75c7e3b7c9c35b3105ca147888d54
2017-05-14 00:13:34 +08:00
Rex
83a322f2d3
fix: notification are overlapping ( #5994 )
...
* fix notification are overlapping
* update test case
* update test case
2017-05-08 16:57:43 +08:00
Benjy Cui
0d672d5c2d
test: fix CI
2017-05-05 14:47:37 +08:00
Benjy Cui
f870db26f5
docs: update API docs for Notification
2017-05-05 14:34:33 +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
乐仪
bf755f8daa
fix notification can't close after 4.5s
2017-04-24 16:12:50 +08:00
afc163
455a23f1bb
should only affect notification without description and with icon, #5846
2017-04-22 01:28:54 +08:00
afc163
12a9f1e5b5
Auto adjust notification style for singleline message, close #5846
2017-04-22 01:11:18 +08:00
afc163
b9851f84c8
fix link focus style
2017-04-15 15:12:41 +08:00
afc163
6b2f6af85d
use @info-color over @primary-color, close #5442
2017-03-23 13:57:30 +08:00
afc163
d09b7638b8
Add test case for notification destroy
2017-03-19 02:04:32 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
偏右
c552b315bc
Add getContainer for message and notification, close #5019 ( #5066 )
2017-02-27 13:39:37 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
afc163
f2bb4afd4d
Merge from master
2017-01-27 17:23:51 +08:00
Rex
aadf623dc6
support notification pop up from topLeft or bottomRight or bottomLeft ( #4700 )
...
* update snapshots
* update snapshots
* support notification pop up from topLeft or bottomRight or bottomLeft
* update snapshots
* 1. add test
2. update doc
3. support `placement` arguments in `open` method
* update doc
* update doc.
2017-01-27 17:12:25 +08:00
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
...
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
afc163
041457fa5e
fix typo
2017-01-15 13:39:44 +08:00
afc163
0620d52adc
Allow to config top multiply
2016-12-19 16:50:20 +08:00
afc163
bda303a38e
fix snap
2016-12-14 18:11:01 +08:00
afc163
dc4cfd3e5f
Improve notification style when there is no descrption
2016-12-14 18:07:36 +08:00
afc163
99824d3e9f
remove unused className
2016-12-14 17:58:06 +08:00
afc163
b7597e947f
update notification demo code style
2016-12-14 17:57:15 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +08:00
Benjy Cui
932443099a
css: use @component-background, ref: #4040
2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
2016-11-29 09:54:54 +08:00
afc163
ca9ed27445
upgrade demo primary-color
2016-11-18 14:24:50 +08:00
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
...
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
0ec4276eab
@font-size-lg ( #1752 )
2016-11-08 21:07:01 +08:00
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
2016-11-08 20:48:03 +08:00