Commit Graph

163 Commits

Author SHA1 Message Date
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
Benjy Cui
4878258f6c refactor: ref: #3490 2016-10-24 12:04:26 +08:00
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
2016-10-18 11:55:00 +08:00
afc163
d92a24d477 Improve overlay border design 2016-10-14 15:40:39 +08:00
Benjy Cui
87753482bf style: update code style to please lint, close: #2811 2016-09-27 10:06:34 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
feng zhi hao
cad2d19be2 fix: complete loss declaration (#3068)
* complete loss declaration

* fix error in ts-lint

* fix Icon name error
2016-09-19 10:17:07 +08:00
偏右
354759cb17 Redesigned icons (#3041)
* redesigned icons

* change iconfont content

* use same icons

* fix missing icons

* improve icon size
2016-09-18 09:54:47 +08:00
afc163
6d2e0b80eb fix notifiaction duration, close #3049 2016-09-16 14:40:34 +08:00
马斯特
a25ec29fb8 refactor: 保证所有的tsx和less都正确使用prefix (#3024)
* refactor: extract prefix cls as less variable

* refactor: apply ant icon prefix cls in less files

* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
Benjy Cui
14fb2c78ba chore: remove deprecated code (#2920)
* chore: remove deprecated code

* chore: add warning for Breadcrumb
2016-09-09 13:55:46 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
afc163
59d7a7ee2d Support customize the icon for Notification 2016-08-28 17:45:27 +08:00
afc163
f76a6bf107 Improve Alert and notification style 2016-08-28 17:16:43 +08:00
Gray Choi
3e5015e351 docs: translate notification (#2731) 2016-08-17 11:07:02 +08:00
ddcat1115
3bdd8212ec refactor: Ts rewrite patination notification modal menu (#2699) 2016-08-15 12:00:05 +08:00
afc163
5eb52885d6 @background-color-base 2016-07-21 15:02:24 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
afc163
95351bfffa Merge branch '1.x-stable' 2016-06-27 19:31:38 +08:00
afc163
089f1ae512 update components category name 2016-06-27 18:21:12 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
yiminghe
fc55cf6919 keep .warn 2016-05-31 15:29:24 +08:00
Wei Zhu
b9cbb21f55 defaultDuration should be 4.5 seconds (#1778) 2016-05-19 20:40:47 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
0ca6a1c24a css modularize (#1448)
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
ac4358024c refactor notification code style 2016-04-10 13:08:56 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
afc163
6b2c0e96a9 Add deperated code for xxx.warn 2016-03-28 18:03:00 +08:00
afc163
09b27ed288 warn => warning, close #1225 2016-03-28 17:43:38 +08:00
afc163
fbda3c7b88 Merge master into develop-1.0.0 2016-03-28 16:15:36 +08:00
afc163
7cee16d153 Fix alert icons style 2016-03-28 16:09:13 +08:00
Benjy Cui
5e4786440d deps: remove object-assign 2016-03-25 18:16:48 +08:00
afc163
2e823f3c5b Add global duration config for message and notification, close #1143 2016-03-09 21:55:46 +08:00
afc163
5cf7c592e1 typo 2016-02-25 17:07:31 +08:00
afc163
ed9fc679b8 Remove some demos 2016-02-25 15:32:59 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
Benjy Cui
9d022ff84c style: update code style to please lint 2016-02-17 15:57:33 +08:00
Benjy Cui
68b51e298d style: update code style for space-before-function-paren 2016-01-27 17:00:58 +08:00
afc163
69935c5bbf Add size for RadioButton, close #904 2016-01-21 22:45:21 +08:00
afc163
4bbe1c0008 Add message.destroy and notification.destroy, close #902 2016-01-21 14:13:28 +08:00
afc163
3eb57c1888 merge master 2016-01-20 15:14:49 +08:00
afc163
3337e6072b Fix indent 2016-01-19 16:32:12 +08:00
afc163
f4a7ed76f5 resolve package.json conflicat 2016-01-19 11:44:17 +08:00
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +08:00
Benjy Cui
209170e813 style: update demo code style to please lint 2016-01-11 09:49:30 +08:00
Benjy Cui
711d2d7413 style: update code style to please lint 2016-01-11 09:49:30 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
tom
7f7e66070e fix bug: 只有在存在btn情况下才能调用close 2015-12-07 18:53:28 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
afc163
e058e67cb4 fix iconfont 2015-11-20 11:05:34 +08:00
afc163
cd4ec87064 fix #486 temporarily 2015-11-06 14:11:47 +08:00
yiminghe
8005455ddd use div 2015-11-04 18:07:42 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
afc163
cad3fdff45 lg => large, sm => small 2015-10-26 11:02:48 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
Benjy Cui
5b86a4be1d refactor: replace button tag with Button component 2015-10-08 15:13:04 +08:00
elrrrrrrr
ac6505e68a chore: 迁移 notification iconfont 2015-10-02 15:48:56 +08:00
afc163
691b0147b1 update eslintrc and fix code 2015-09-01 16:19:39 +08:00
afc163
23fce559b0 Fix autoclose duration 2015-08-29 13:02:37 +08:00
afc163
ae859acc31 fix #185 typo 2015-08-24 15:36:42 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
zhujun24
fefd039242 format alert & notification demo var xxx = antd.xxx 2015-08-20 17:16:53 +08:00
zhujun24
4bb76f0d73 remove btnClose and demo 2015-08-18 11:12:32 +08:00
yiminghe
58bd830f40 remove btnClick 2015-08-18 00:57:02 +08:00
zhujun24
bcaa2ed0f5 optimize close function 2015-08-17 15:58:38 +08:00
afc163
2eecc1071b update eslint and fix indent problems 2015-08-15 15:08:55 +08:00
zhujun24
72e760d0bd bug still exist 2015-08-06 20:55:30 +08:00
zhujun24
ec462fde00 merge 0.8.0 2015-08-06 18:28:48 +08:00
afc163
8a4c6c37be code style 2015-08-06 17:42:13 +08:00
afc163
a22e135a78 Add duration config for notification 2015-08-06 15:32:18 +08:00
afc163
9963c41029 improve code style 2015-08-06 15:19:45 +08:00
afc163
287c9ec5fd remove config global top demo of notification 2015-08-06 15:13:30 +08:00
afc163
9a200ec782 update text 2015-08-05 21:18:34 +08:00
zhujun24
3c003cd00a remove top.md add duration.md 2015-08-04 17:43:51 +08:00