Commit Graph

160 Commits

Author SHA1 Message Date
Vic
7c7125b7fa fix(notifiction): Complement duration missing type definition. (#9120) 2018-01-24 22:29:03 -06:00
afc163
202230356a Fix notification width in small screen, close #8631 2017-12-16 18:25:08 +08:00
afc163
0402e0333d Fix Notification less compile error, close #8437 2017-12-06 10:19:50 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints (#8358)
* upgrade devDeps and fix lint

* Fix stylelint problems
2017-11-29 21:00:16 +08:00
Wei Zhu
8292808292 Fix implicit any error for Notification 2017-11-21 15:48:53 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
afc163
bf36ebdf5e Merge branch 'master' into antd-3.0 2017-11-13 21:24:32 +08:00
Wei Zhu
645be586f3 Run jest.useFakeTimers in beforeAll 2017-11-13 10:46:54 +08:00
afc163
b53e76cbd5 Merge branch 'master' into antd-3.0 2017-11-09 20:37:30 +08:00
afc163
54188b8e97 Reset timer in test 2017-11-09 20:33:25 +08:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
afc163
ef443ad047 Merge branch 'master' into antd-3.0 2017-10-20 15:47:42 +08:00
afc163
3d6b142621 fix notification ci 2017-10-20 15:10:53 +08:00
afc163
161f0800d3 fix ci 2017-10-16 21:38:14 +08:00
Benjy Cui
0bce5c83f9 deps: upgrade rc-notification to support react@16 (#7844) 2017-10-11 12:03:19 +08:00
偏右
9053192ae9 Fix component style (#7848)
* fix components style

* fix snapshot

* update travis node version

* change upload action in ci
2017-10-11 12:01:27 +08:00
afc163
d3b98d311a Merge branch 'master' into antd-3.0 2017-10-10 14:09:03 +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
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
afc163
4eb9d5ef56 Merge branch 'master' into antd-3.0 2017-10-09 13:33:59 +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
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
偏右
759b0bb821 seperate reset styles (#7682)
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, #5851

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close #6162
2017-09-22 18:33:29 +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