Commit Graph

488 Commits

Author SHA1 Message Date
Madis Väin
7696c1cd05 feat: Add et_EE locale (Estonian) (#5266)
* add Estonian translations

* add other translations except pagination for Estonian

* add to tests

* linting fixes

* remove comments
2017-03-24 10:54:36 +08:00
Martin Litvaj
82b516c77f feat: SK Localization (#5304) 2017-03-24 10:30:37 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
ddcat1115
7ab95b7eae - fix ts error (#5145)
- typescript upgrade to 2.2.1
2017-03-06 15:48:03 +08:00
Wei Zhu
67bbae9ea8 Merge branch 'feature-2.8' 2017-03-05 21:34:57 +08:00
Minsung Ryu
914ee21a4d Add locale ko_KR(Korean) 2017-03-05 20:15:04 +08:00
Martin Novák
e59bb6b609 cz translation (#5169) 2017-03-05 20:11:24 +08:00
偏右
9a9db14b4c Feat calendar select (#5127)
* use less variables in calendar style

* Make calendar selectable

* Add test case

* fix test typo

* update demo title
2017-03-03 15:26:23 +08:00
wonyun
27e3f660b4 Add dateFullCellRender and monthFullCellRender for calendar component (#5138) 2017-03-02 13:35:07 +08:00
Wei Zhu
8bfbe9b6df update snapshot 2017-03-02 11:01:12 +08:00
afc163
5eef3fa467 fix snapshot test 2017-03-01 13:33:17 +08:00
Benjy Cui
758559f718 test: update snapshots 2017-02-28 16:14:53 +08:00
afc163
376806dab8 Merge from "master" 2017-02-26 18:45:16 +08:00
Benjy Cui
3aac9adc40 docs: remove some demo 2017-02-24 16:17:52 +08:00
Benjy Cui
4e59e9e769 docs: recommend to use LocaleProvider, ref: #5017 2017-02-24 10:22:21 +08:00
Benjy Cui
ce0d4c39f2 docs: add missing info in Calendar, close: #5017 2017-02-23 15:58:02 +08:00
Aaron Planell López
05fd5a6825 Add locale ca_ES (Catalan) (#4929)
* Add locale ca_ES (Catalan)

* Add locale ca_ES (Catalan). Modify global locale in local-provider.
2017-02-19 14:27:14 +08:00
Benjy Cui
63476d0bc0 Merge branch 'master' into feature-2.8 2017-02-14 10:56:33 +08:00
corneyl
28961856aa feat: Added Dutch locale and bumped dep versions so they include Dutch locales (#4785)
* Added Dutch locale and bumped dep versions so they include Dutch locales

Bumped versions so they include Dutch locales
- rc-calendar to ~7.6.2
- rc-pagination to ~1.6.6

* Added dutch locale to LocaleProvider test
2017-02-13 15:46:13 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
Benjy Cui
d2b8d65c87 style: update code style to please lint, close: #2179 2017-02-06 12:09:58 +08:00
Graeme Yeates
1006015ef0 Add border customization variables (#4734)
* Add border customization variables (#4712)

* Make border styles customizable (fixes #4712)
2017-01-31 16:05:10 +08:00
afc163
f2bb4afd4d Merge from master 2017-01-27 17:23:51 +08:00
Simon Waloschek
fd233cf430 Added German locale (#4686)
* Added German locale

* Added German locale for pagination
2017-01-25 21:12:27 +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
afc163
35523be6e9 Merge from master 2017-01-20 18:28:09 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
afc163
6a073c8c6e fix snap test 2017-01-13 19:03:59 +08:00
Benjy Cui
c4c1078f2d docs: update demos for Calendar 2017-01-13 17:11:26 +08:00
bokzor
47fcd7651f feat: Add french locale (#4538)
* add french locale

* Add french locale
2017-01-11 10:28:47 +08:00
Benjy Cui
3fa5d10da3 Merge branch 'master' into feature-2.7 2017-01-10 10:50:40 +08:00
Benjy Cui
0aabdb3d8b fix: locale should follow LocaleProvider, close: #4495 (#4503)
* fix: locale should follow LocaleProvider, close: #4495

* test: update snapshot

* fix: fix some bugs
2017-01-09 16:25:58 +08:00
afc163
b5d0acee45 Merge branch 'master' into feature-2.7 2017-01-09 12:56:36 +08:00
afc163
6dcfa9519c fix snapshot 2017-01-09 12:56:16 +08:00
afc163
6a8c88fd6b Merge branch 'master' into feature-2.7 2017-01-09 12:10:30 +08:00
afc163
c208aea654 demo: fix duplicate key 2017-01-09 12:10:08 +08:00
afc163
c040c410e2 Merge branch 'master' into feature-2.7 2017-01-09 11:54:29 +08:00
afc163
024e398ad0 Fix lint for latest eslint-config-airbnb 2017-01-09 11:51:56 +08:00
Jesper We
11ebc915eb feat: Add support for Swedish locale (#4455)
* Swedish locale

* Create sv_SE.tsx

* Create sv_SE.tsx

* Create sv_SE.tsx
2017-01-08 19:14:01 +08:00
偏右
d811ebee5c New color system (#4426)
* Add new color patterns algorithm

* Add color palettes

* update other colors

* fix gray color

* update more tint/shade to colorPalette

* new font color

* Update doc for new color system

* improve doc style
2017-01-01 22:20:06 +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
904be38493 docs: update locale format (#4150) 2016-12-07 10:45:20 +08:00
Benjy Cui
273faafaa2 fix: should use moment.isMoment, close: #4147 2016-12-06 14:21:17 +08:00
Benjy Cui
c4d8c4770c Add upgrade warning (#4028)
* chore: add upgrade warning for time related value

* chore: update warning

* chore: update demo url
2016-12-02 15:07:33 +08:00
Will Chen
6b774a1343 docs: improve docs' detail (#4050) 2016-11-29 17:13:24 +08:00
Nathan Tavares Nascimento
c97e687edd feature: add pt_BR locale support (#4004) 2016-11-25 09:44:28 +08:00
afc163
ca9ed27445 upgrade demo primary-color 2016-11-18 14:24:50 +08:00
Bruce Mitchener
36508ffabd Typo fixes. 2016-11-16 20:33:37 +07:00
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
0a48c62dcb use @text-color 2016-11-08 20:50:59 +08:00
afc163
9b81fe86d9 clear less variables and add @text-color-secondary 2016-11-08 20:48:03 +08:00
Benjy Cui
e9111a855f refactor: remove propTypes in private components 2016-10-24 16:51:53 +08:00
Benjy Cui
4878258f6c refactor: ref: #3490 2016-10-24 12:04:26 +08:00
Benjy Cui
5d4d9f5cea style: update code style 2016-10-20 14:48:13 +08:00
Benjy Cui
64079f181a docs: update demos text 2016-10-02 08:55:40 +08:00
kvetoslavnovak
e1b1f7f374 docs: Calendar - Demo of notice - English Translation (#3266) 2016-10-02 08:47:34 +08:00
kvetoslavnovak
bf105e64c9 docs: Calendar Custom Render - English Translation (#3265) 2016-10-02 08:40:34 +08:00
Benjy Cui
5705f72fb8 fix: make sure en|ru locale import after zh-CN (#3246)
* fix: make sure en|ru locale import after zh-CN

* refactor: simplify code
2016-10-01 00:17:31 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +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
Benjy Cui
8db2b79505 chore: fix compile errors 2016-09-13 15:31:29 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
Benjy Cui
4026221d45 deps: hello moment (#2887)
* deps: upgrade TimePicker

* deps: upgrade DatePicker

* deps: upgrade Calendar

* fix: moment should work with LocaleProvider

* feat: update API of TimePicker

* feat: update Calendar's APIs

* feat: update DatePicker's APIs

* doc: update demo

* revert: add dateString and timeString and so on

* feat: add Calendar[defaultValue]

* feat: add defaultPickerValue

* docs: update docs about date picker

* feat: set moment locale to zh-cn automatically
2016-09-09 13:55:21 +08:00
afc163
497ff0cabb Merge branch "1.x-stable" 2016-08-31 15:00:13 +08:00
afc163
67fc242c6b fix propTypes 2016-08-31 14:45:38 +08:00
afc163
6ba30bc485 Fix calendar card style 2016-08-30 21:30:55 +08:00
afc163
b6222f7c22 fix lints 2016-08-28 17:47:06 +08:00
afc163
363f610d8b Fix tsc errors beside DatePicker 2016-08-24 16:09:55 +08:00
Benjy Cui
5dcce12c2c fix: some tsc errors (#2804) 2016-08-22 17:26:14 +08:00
Benjy Cui
3411765ce9 Refactor ts (#2760)
* refactor: add interface form Calendar

* refactor: add interface for layout

* refactor: add interface for DatePicker

* refactor: add interface for Icon

* refactor: add interface for InputNumber

* refactor: add interface for Input
2016-08-19 17:11:06 +08:00
afc163
24d2973c32 Merge branch "1.x-stable" 2016-08-16 17:54:59 +08:00
Benjy Cui
3128b15ea5 docs: fix demo format 2016-08-15 11:42:44 +08:00
Benjy Cui
6884b4cd53 docs: fix demo format 2016-08-15 11:23:19 +08:00
afc163
a72d9ec381 Merge 2016-07-21 18:10:13 +08:00
afc163
a458de0a88 fix prefer-const 2016-07-21 18:05:15 +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
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
guoxin.zgx
3206196a7b fix(component):fix translation for calendar component 2016-05-24 21:04:18 +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
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +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
11499d54d5 Merge branch master into develop-1.0.0 2016-04-27 11:25:32 +08:00
afc163
16a702f5a0 Merge branch 'master' into develop-1.0.0 2016-04-27 11:25:16 +08:00
afc163
48f74fd5bd fix missing Option (#1521) 2016-04-27 11:23:18 +08:00
Marshall Chen
972cfa7a8b Missing Option const (#1522)
cause Option is not defined error
2016-04-27 11:20:58 +08:00
plandem
9af3e4fc55 ru locale (#1411) 2016-04-14 11:57:59 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
afc163
eba37c9ef7 Add LocaleProvider support for Calendar 2016-03-31 17:37:24 +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
Bruce Mitchener
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07:00
Bruce Mitchener
71594b0e5c Remove manual binding for 'this'.
Use ES7 style class members for event handlers so that 'this' is
automatically bound and each definition site doesn't need to manually
invoke 'bind'.

This makes all existing ES2015 class usages in components use the
same mechanism for binding.
2016-03-28 20:36:11 +07:00
afc163
09b27ed288 warn => warning, close #1225 2016-03-28 17:43:38 +08:00
Bruce Mitchener
50a2163518 Don't directly import Component, use React.Component.
This is another step towards making the code internally consistent.
2016-03-26 16:22:39 +07:00
Benjy Cui
c1659c2ce3 style: update code style to please lint 2016-02-22 10:52:30 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
Benjy Cui
41ed04e977 style: update code style to please lint 2016-01-14 16:46:38 +08:00
Benjy Cui
aa5c4f9595 style: update code style to please lint 2016-01-11 09:49:31 +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
1e001d2d82 upgrade eslint-config-airbnb 2016-01-11 09:48:29 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
afc163
74036396fe fix calendar switch, close #753 2015-12-28 11:28:00 +08:00
afc163
679d377e87 fix select error of calendar 2015-12-27 23:39:33 +08:00
afc163
c45c6877f8 fix lint problems 2015-12-27 16:20:59 +08:00
afc163
d759d1f489 Datepicker => DatePicker, Timepicker => TimePicker 2015-12-10 16:30:18 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
yiminghe
697fb5d8f9 add locale for calendar 2015-11-16 20:24:37 +08:00
yiminghe
162bcf3aca upgrade calendar 2015-11-16 20:10:29 +08:00
血诺
37437014ae add header select minWidth style 2015-11-16 15:07:02 +08:00
afc163
d907ce62da better code style 2015-11-16 14:20:15 +08:00
血诺
d517a2d030 fix mode change when click month cell 2015-11-16 14:20:15 +08:00
afc163
652195c9f7 Fix calendar controlled value 2015-11-15 21:40:01 +08:00
afc163
e54cd51162 make calendar value can be changed from outside 2015-11-15 15:46:05 +08:00
afc163
081be0c842 Add notice calendar demo 2015-11-13 22:34:49 +08:00
afc163
077f7de4ba improve calendar style 2015-11-13 21:24:25 +08:00
afc163
5540ac7c9c type => mode 2015-11-13 20:32:54 +08:00
afc163
cf48526655 props.value is original Date object now 2015-11-13 20:20:54 +08:00
afc163
e8bc6f58ba rm NoteList, it should be in demo 2015-11-13 19:56:34 +08:00
afc163
4b4b2dbe36 custom render demo 2015-11-13 19:19:08 +08:00
afc163
756cea0524 typo 2015-11-13 18:21:13 +08:00
afc163
1dadd262b9 update calendar 2015-11-13 18:20:22 +08:00
血诺
4c50d5caf2 docs add onTypeChange 2015-11-13 17:27:30 +08:00
血诺
62bc47300a add onTypeChange 2015-11-13 15:11:38 +08:00
血诺
522c3fb0e7 remove selected cell style 2015-11-13 14:56:16 +08:00
血诺
1ec5bbb66f fix details 2015-11-12 23:51:38 +08:00
血诺
d950c63c80 improve calendar 2015-11-12 21:34:33 +08:00
血诺
6c5a051d92 change listdata to listData 2015-11-11 14:32:58 +08:00
血诺
a2e7ff51fb fix details 2015-11-11 14:30:15 +08:00
血诺
a3e4043567 fix cols 2015-11-11 13:41:22 +08:00
血诺
7f4854a2c1 fix&improve 2015-11-11 13:11:47 +08:00
血诺
4db12ff733 add components/calendar 2015-11-11 13:11:47 +08:00