马斯特
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
8 years ago
Benjy Cui
8db2b79505
chore: fix compile errors
8 years ago
afc163
0e6f677ff9
Fix doc headings
8 years ago
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
8 years ago
afc163
67fc242c6b
fix propTypes
8 years ago
afc163
6ba30bc485
Fix calendar card style
8 years ago
afc163
b6222f7c22
fix lints
8 years ago
afc163
363f610d8b
Fix tsc errors beside DatePicker
8 years ago
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
8 years ago
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
8 years ago
Benjy Cui
3128b15ea5
docs: fix demo format
8 years ago
Benjy Cui
6884b4cd53
docs: fix demo format
8 years ago
afc163
a458de0a88
fix prefer-const
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
afc163
089f1ae512
update components category name
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
guoxin.zgx
3206196a7b
fix(component):fix translation for calendar component
9 years ago
Benjy Cui
8842d9342a
site: update components' type
9 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
afc163
03cb74ead5
upgrade eslint-config-airbnb version and fix some problems
9 years ago
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
9 years ago
afc163
11499d54d5
Merge branch master into develop-1.0.0
9 years ago
afc163
48f74fd5bd
fix missing Option ( #1521 )
9 years ago
Marshall Chen
972cfa7a8b
Missing Option const ( #1522 )
cause Option is not defined error
9 years ago
plandem
9af3e4fc55
ru locale ( #1411 )
9 years ago
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
9 years ago
afc163
eba37c9ef7
Add LocaleProvider support for Calendar
9 years ago
Benjy Cui
d5a6932c15
docs: update documentation format
9 years ago
Benjy Cui
03d09b66e8
docs: update demo format
9 years ago
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
9 years ago
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.
9 years ago
afc163
09b27ed288
warn => warning, close #1225
9 years ago
Bruce Mitchener
50a2163518
Don't directly import Component, use React.Component.
This is another step towards making the code internally consistent.
9 years ago
Benjy Cui
c1659c2ce3
style: update code style to please lint
9 years ago
Benjy Cui
29825f20c8
style: update code style to please lint
9 years ago
Benjy Cui
41ed04e977
style: update code style to please lint
9 years ago
Benjy Cui
aa5c4f9595
style: update code style to please lint
9 years ago
Benjy Cui
209170e813
style: update demo code style to please lint
9 years ago
Benjy Cui
711d2d7413
style: update code style to please lint
9 years ago
afc163
1e001d2d82
upgrade eslint-config-airbnb
9 years ago
afc163
91bd7f22c0
use mountNode replace the long getElementById
9 years ago
afc163
74036396fe
fix calendar switch, close #753
9 years ago
afc163
679d377e87
fix select error of calendar
9 years ago
afc163
c45c6877f8
fix lint problems
9 years ago
afc163
d759d1f489
Datepicker => DatePicker, Timepicker => TimePicker
9 years ago
afc163
16abf46071
Fix markdown eslint errors, update .eslintrc
9 years ago
yiminghe
697fb5d8f9
add locale for calendar
9 years ago
yiminghe
162bcf3aca
upgrade calendar
9 years ago