susiwen
85e483921b
Add missing info in documents
2019-06-27 15:46:00 +08:00
afc163
57c28def68
revert unknown to any
2019-06-24 11:29:58 +08:00
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
...
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
陈帅
82b85709be
style: run lint-fix ( #17172 )
2019-06-19 19:09:08 +08:00
zombieJ
dc4102d879
reset line-height of TextArea & Picker ( #17165 )
2019-06-19 11:23:21 +08:00
zombieJ
dc1572cff1
fix style ( #17126 )
2019-06-17 12:24:08 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
Ahmad Abdelaziz
482491ae87
Fixing date formats for Arabic-Egypt locale
2019-06-13 18:03:23 +02:00
afc163
6295cb4597
📝 Add FAQ for DatePicker/RangePicker mode prop usage
2019-06-05 22:03:17 +08:00
afc163
13379aa0d8
💄 Optimize examples code style
2019-05-27 22:04:17 +08:00
Kimmo Saari
cd6f5ff3f1
Locale (feat #16752 ): Added Latvian localization ( #16780 )
2019-05-26 10:02:40 +08:00
afc163
b780070351
💄 prittier all files
2019-05-07 14:57:32 +08:00
陈帅
785c132262
meger feature to master ( #16421 )
...
* use ul in list
* update snapshot
* update comment
* feat: TreeSelect support `showSearch` in multiple mode (#15933 )
* update rc-tree-select
* typo
* update desc & snapshot
* update desc & snapshot
* check default showSearch
* feat: table customizing variable (#15971 )
* feat: added table selected row color variable
* fix: @table-selected-row-color default is inherit
* feat: Upload support customize previewFile (#15984 )
* support preview file
* use promise
* dealy load
* use canvas of render
* use domHook of test
* update demo
* add snapshot
* update types
* update testcase
* feat: form customizing variables (#15954 )
* fix: added styling form input background-color
* feat: added '@form-warning-input-bg' variable
* feat: added '@form-error-input-bg' variable
* use li wrap with comment
* feat: Support append theme less file with less-variable (#16118 )
* add override
* add override support
* update doc
* feat: dropdown support set right icon
* docs: update doc of dropdown component
* style: format dropdown-button.md
* test: update updateSnapshot
* style: format dropdown-button.md
* test: update updateSnapshot
* test: update updateSnapshot
* style: change style of dropdown-button demo
* fix: fix document table order
* feat: Support SkeletonAvatarProps.size accept number (#16078 ) (#16128 )
* chore:update style of demo
* feat: Notification functions accept top, bottom and getContainer as arguments
* drawer: add afterVisibleChange
* rm onVisibleChange
* update
* feat: 🇭🇷 hr_HR locale (#16258 )
* Added Croatian locale
* fixed lint error
* ✅ Add test cases for hr_HR
* 📝 update i18n documentation
* feat: add `htmlFor` in Form.Item (#16278 )
* add htmlFor in Form.Item
* update doc
* feat: Button support `link` type (#16289 )
close #15892
* feat: Add Timeline.Item.position (#16148 ) (#16193 )
* fix: Timeline.pendingDot interface documentation there is a small problem (#16177 )
* feat: Add Timeline.Item.position (#16148 )
* doc: add version infomation for Timeline.Item.position
* refactor: Update Tree & TreeSelect deps (#16330 )
* use CSSMotion
* update snapshot
* feat: Collapse support `expandIconPosition` (#16365 )
* update doc
* support expandIconPosition
* update snapshot
* feat: Breadcrumb support DropDown (#16315 )
* breadcrumbs support drop down menu
* update doc
* add require less
* fix test
* fix md doc
* less code
* fix style warning
* update snap
* add children render test
* feat: TreeNode support checkable
* feat: add optional to support top and left slick dots (#16186 ) (#16225 )
* add optional to support top and left slick dots
* update carousel snapshot
* Update doc, add placement demo
* update carousel placement demo snapshots
* rename dots placement to position
* update vertical as deprecated
* rename dotsPosition to dotPosition
* refine code
* add warning testcase for vertical
* remove unused warning
* update expression
* Additional test case for dotPosition
* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402 )
* upgrade `rc-tree-select`
* update snapshot
* 3.17.0 changelog
* fix warning
* fix review warning
2019-05-06 12:04:39 +08:00
Sebastian Busch
4af2b62cb5
fix: Add some missing TypeScript prop definititions and clean up date-picker definitions ( #16342 )
...
* Add some missing TypeScript prop definitition, clean up date-picker definitions
* use DatePickerMode instead of redundant enumeration of modes
* decade was missing from the list of modes
See https://codesandbox.io/s/388xplj646
- activate DatePicker
- click on year in header
- click on years in header
- "decade" is printed on footer as mode for renderExtraFooter()
* add decade as possible value for mode prop
2019-05-03 21:55:18 +08:00
Sebastian Busch
7a514c1b94
Fix TypeScript def for RangePicker.renderExtraFooter(), gets no args
2019-04-26 14:31:38 +02:00
Sebastian Busch
e8229d8ec9
rc-calendar RangeCalendar calls renderFooter() without args
2019-04-26 13:40:59 +02:00
saxenanihal95
9fd4b2de63
Refactor: created InputIcon of common code in RangePicker and WeekPicker
2019-04-20 23:10:01 +05:30
zombieJ
7db67ae8f1
add interopDefault ( #16110 )
2019-04-16 11:39:43 +08:00
zombieJ
15b900bbfb
another try ( #16077 )
2019-04-15 14:56:21 +08:00
afc163
a2a9831abb
💄 Fix less code style
2019-04-15 11:05:06 +08:00
zombieJ
41316e69e8
update snapshot ( #16017 )
2019-04-11 12:48:36 +08:00
zombieJ
100ebc9795
warning DatePicker of invalidate time ( #15920 )
2019-04-08 11:41:31 +08:00
ycjcl868
7f2a1d427b
fix RangePicker endtime-input not editable
2019-04-07 10:28:30 +08:00
afc163
2916a35325
fix(DatePicker): fix RangePicker time-input not editable
...
close #15863
2019-04-04 15:42:25 +08:00
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
2019-04-03 15:54:26 +08:00
zombiej
41f2316370
Merge branch 'feature' into merge-feature
2019-04-01 14:51:18 +08:00
alex89lj
e3b252b527
Fixed an issue about the component(RangePicker) could not select the … ( #15427 )
...
close #13302
2019-04-01 14:49:40 +08:00
ztplz
298a86f601
Add separator
prop for RangePicker ( #15765 )
...
* Add `separator` prop for RangePicker
* Update
2019-03-31 12:59:37 +08:00
偏右
f3a07ac7ad
🐛 Fix disabled and selected date cell style of DatePicker ( #15608 )
...
close #15580
2019-03-24 19:50:58 +08:00
DiamondYuan
4eb33eb149
fix: set min-width instead of width ( #15547 )
...
* fix: set min-width instead of width
* test: updte snapshots
2019-03-21 11:31:58 +08:00
zombieJ
0dadee3233
revert input ( #15516 )
2019-03-19 18:33:31 +08:00
ztplz
b40c0d3db3
Update DatePicker docs ( #15092 )
2019-03-16 14:00:44 +08:00
zombiej
f9d8e50a1f
rm input from datePicker
2019-03-13 16:04:42 +08:00
zombiej
96a95e65d3
update deps lint
2019-03-11 11:48:17 +08:00
afc163
881dce9a3e
💄 prettier codes
2019-03-06 13:45:40 +08:00
afc163
5d450d2a23
💄 unified DatePicker and TimePicker cursor style
2019-03-06 11:01:56 +08:00
偏右
19d916fd20
Merge pull request #15156 from ant-design/date-picker-popup
...
fix configProvider getPopupContainer not work with DatePicker
2019-03-04 19:04:27 +08:00
zombiej
0af6bded1d
fix configProvider getPopupContainer not work with DatePicker
2019-03-04 11:11:50 +08:00
陈帅
5e298dba51
3.14.0 Changelog ( #15145 )
...
* add responsive property to carousel (#15071 )
* add responsive property to carousel #15065
* extend carousel props from Slick type definitions #15065
* rm key in OptionProps (#15104 )
* update doc
* fix cascader should tab twice to exist (#15117 )
* fix cascader should tab twice to exist
* update snapshot
* Drawer Body padding should be variable
* fix DatePicker to support an array of formats (#15116 )
ref #13148
* table reader mobile friendly
* up
* up
* doc: add 3.14.0 changelog
* doc: fix ci warning
* doc: fix ci warning
* doc: fix typo
* doc: fix ci warning
* doc: fix ci warning
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* -m
* -m
* doc: fix cr warning
2019-03-04 10:45:15 +08:00
Yann Normand
e26c5133a5
fix DatePicker to support an array of formats ( #15116 )
...
ref #13148
2019-03-01 13:50:28 +08:00
zombieJ
5ce7e71007
RangePicker support customize separator ( #15055 )
...
* support separator
* add version
* fix css
2019-02-28 16:11:10 +08:00
zombieJ
4d1a998246
add component param in warning ( #15078 )
...
* add component param in warning
* update snapshot
2019-02-27 15:32:29 +08:00
yinjs
f602a9b153
fix #15035 datepicker onPanelChange ts declaration missing
2019-02-26 10:35:27 +08:00
zombieJ
fb6a493f11
support name prop ( #15029 )
2019-02-25 11:28:31 +08:00
afc163
5d46fa9679
📝 site: fix document punctuation
2019-02-22 17:15:48 +08:00
米老朱
6936599aef
Enhance stylelint rules ( #14803 )
...
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
mraiguo
86f0f97376
rangePicker clear when controlled ( #14796 )
2019-02-14 17:50:37 +08:00
zombieJ
aa5ed8c237
Continue works on #12667 ( #14668 )
...
* Update index.tsx
* add limitation on checking labelPlacement
* add type checking of 'mode' in DatePickerProps
2019-01-31 16:52:29 +08:00
kuitos
fc56fe9ce5
typing fix
2019-01-31 14:45:45 +08:00
afc163
3fcb8fa0b3
💄 Fix stylelint errors
2019-01-28 19:06:38 +08:00
zombieJ
a379c47162
add missing defaultFormat ( #14593 )
2019-01-28 14:07:26 +08:00
zombieJ
04111fb40e
Support date format in locale ( #14340 )
...
* use locale format
* remove monthFormat
* use locale format
* add test case
2019-01-15 16:58:40 +08:00
诸岳
307c877a02
Merge master branch
2019-01-13 21:18:38 +08:00
Yangzhedi
41e2103c80
test(date-picker): add date-picker not auto focus test
2019-01-10 21:56:13 +08:00
Yangzhedi
319949ee1a
fix(date-picker): fix open judgement
2019-01-10 21:56:13 +08:00
Yangzhedi
ee1beaa459
fix(date-picker): fix open prop
2019-01-10 21:56:13 +08:00
Yangzhedi
f52b087194
fix(date-picker): fix focus
2019-01-10 21:56:13 +08:00
zombiej
0a67272ae4
add locale update
2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca
icon add aria-label support
2019-01-10 21:55:21 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict ( #14126 )
...
* adjust table fixed column z-index (#14036 )
fix #13930
* 📝 Add instruction for one column without width left in fixed table
* Add full PR template link in template (#14061 )
* add full tmpl link
* adjust
* simplify it
* add cn link
* Fix Affix flickering when scrolling
* update
* fix: top border disappeared under some ie9
* fix calendar month range display (#14049 )
* Fix tslint warning
* Correct typescript usage (#14074 )
* 🐛 Fix steps style under IE9
close #14001
* 🐛 tweak style for not affecting vertical steps
* 📝 enhance upload documentation
* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010
* 🐛 Fix disabled button style in DatePicker panel
https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png
* 📝 site: fix BackTop been covered by footer
close #14093
* Update PULL_REQUEST_TEMPLATE.md
* Update pr_cn.md
* 🐛 Fix nested Timeline last item missing line (#14110 )
close #14108
* init Spin should also support delay trigger (#14105 )
fix #14100
* Update table docs
* bugfix
* Format
* update snapshot
* test: fix spin test
2019-01-06 13:25:59 +08:00
zombieJ
c397ad8c34
Update rc-calendar to use new lifecycle methods & input auto focus ( #14051 )
...
close #11848
2019-01-03 11:52:31 +08:00
zombiej
874ed98e31
merge master
2019-01-02 17:12:34 +08:00
Van Nguyen
1e14139610
Revise DatePicker callbacks with possibly null date
2018-12-29 17:42:34 +08:00
afc163
3f1be96866
Merge branch 'master' into feature
...
* master: (23 commits)
✅ fix snapshots
Add docs for the List rowKey prop
💄 don't reset font-family in each component
💄 chore card less variable
Remove classNames from custom-typing file
add collapsed faq ref: #13953
feat: support define card border radius
Fix dateRender not supported at WeekPicker
📝 Add links in Home Page
📝 Fix site responsive interaction, close #13954
💄 chore Steps[labelPlacement="vertical"] style
✅ fix warning in test case
📝 update tech antfin cases
🐛 site menu open bug
🐛 fix site defaultOpenKeys
Correct docs
💄 chore button code style
fix spaces in curly brackets
fix two more code style issues
Fix method argument name
...
2018-12-28 12:11:18 +08:00
afc163
26a6d0382b
✅ fix snapshots
2018-12-28 10:56:10 +08:00
aashutoshrathi
0e42cbf7e6
Added Hindi Locale
2018-12-27 18:11:42 +08:00
afc163
465b85f773
Fix dateRender not supported at WeekPicker
...
close #13957
2018-12-27 14:32:23 +08:00
Rahul Gurung
1a4fce7d0f
#13576 - Kannada locale added (kn_IN)
2018-12-27 10:35:12 +08:00
HarlanLuo
41aa37bd99
fix doc error and add test case for WeekPicker
2018-12-24 18:03:08 +08:00
HarlanLuo
a7bedca0e2
WeekPicker: support renderExtraFooter
2018-12-24 18:03:08 +08:00
HarlanLuo
015945ed83
DatePicker: show extra footer in all mode
2018-12-24 18:03:08 +08:00
afc163
3c007a85dd
⚡ renderFooter should applied to all mode, close #11618
2018-12-24 13:45:31 +08:00
afc163
9c8f6bdb56
Merge branch 'master' into feature
2018-12-22 19:37:03 +08:00
afc163
88615024b1
✅ Fix test snapshots
2018-12-22 19:36:46 +08:00
zombiej
cdf4c1e6b8
merge origin/master
2018-12-18 19:18:08 +08:00
zombiej
9a386e7336
update test case, OK button under calendar should not clickable
2018-12-18 10:36:51 +08:00
zombiej
c9aeb29b43
update snapshot
2018-12-18 10:32:33 +08:00
偏右
14fff83a4a
Merge pull request #13674 from iugo/patch-2
...
fix date-picker doc type
2018-12-18 10:09:15 +08:00
偏右
92e10eb015
Merge pull request #13650 from iugo/patch-1
...
fix RangePickerProps onOk type
2018-12-18 10:08:53 +08:00
iugo
30a6d38898
Update index.zh-CN.md
2018-12-18 09:32:02 +08:00
iugo
21b0f329b9
fix date-picker en doc type
2018-12-18 09:30:59 +08:00
iugo
a98e42784e
fix date-picker doc type
2018-12-18 09:28:25 +08:00
afc163
26936de2e8
🐛 Fix WeekPicker width, close #13629
2018-12-17 20:34:34 +08:00
iugo
5681d6381a
fix RangePickerProps onOk type
2018-12-17 11:39:47 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
df356a586c
Merge branch 'master' into feature
2018-12-07 18:52:13 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
afc163
1865e97393
💄 fix WeekPicker popup placement
...
https://gw.alipayobjects.com/zos/rmsportal/DUTKByAmrAqkfKHyltgA.png
2018-12-07 12:33:10 +08:00
afc163
677677c4f2
Add blanks
2018-12-07 12:15:36 +08:00
afc163
ff8eb02fc4
✅ Add test case for #12475
2018-12-07 11:35:26 +08:00
afc163
bc704c3af4
✅ Fix WeekPicker snapshot
2018-12-07 11:23:30 +08:00
afc163
d81364c7a9
🐛 Should focus date picker after select date value
...
close #12475
revert e5cfef5
to fix #7443 again
also fix #13424
2018-12-06 17:37:52 +08:00
amedora
0aeb9a356b
use color definitions insted of numbers
2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
cc6402aec6
✅ Upgrade TypeScript version to 3.2
2018-12-04 20:18:16 +08:00
lyhper
655ae8e4b4
fix: datepicker style error
2018-12-01 22:57:13 +08:00
zombiej
9f5d421cd6
merge master
2018-11-30 14:48:37 +08:00
zombiej
62810dbde6
datePicker support string[] format
...
close #13148
2018-11-30 14:34:58 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
afc163
18f705fcf6
Merge branch 'master' into feature
...
* master: (28 commits)
remove overflowY on TextArea autoSize since height transition has been removed for a long time fix #10151
💄 tweak form control margin, close #13183
Update Crowdin configuration file
Correct date-picker demo
📝 upgrade ts comment
💄 tweak tree switcher icon size
Fix regular error in firefox and safri
add change log
add checkbox-border-width
add style to SwitchProps
update rc-tree-select
Snapshot fixed.
tabIndex prop added to DatePicker
Improve form demo
prefer logical AND over ternary (#13254 )
fix form demo
format (#13252 )
📝 improve document images
migrate locale provider to new lifecycle method
types: add generic type for Select[value]
...
2018-11-27 11:26:16 +08:00
ztplz
8e7da2a480
Correct date-picker demo
2018-11-26 21:44:57 +08:00
arifemrecelik
b2f6655061
Snapshot fixed.
2018-11-23 16:41:28 +08:00
arifemrecelik
f11a4c1b3c
tabIndex prop added to DatePicker
2018-11-23 16:41:28 +08:00
spideeee
7f8ad51c01
Moved "onCalendarChange" prop from DatePicker to RangePicker for English version
2018-11-20 22:06:35 +08:00
zombiej
5ef2e23bcf
Merge remote-tracking branch 'origin/master' into feature
2018-11-20 16:36:18 +08:00
afc163
8a49fea94a
🐛 Fix small RangePicker 1px align problem
...
close #13105
2018-11-16 18:20:08 +08:00
ztplz
b42d1dc3b1
update
2018-11-15 20:32:31 +08:00
ztplz
e515db334b
Fix typo
2018-11-15 20:32:31 +08:00
zombiej
56585d700f
add defaultPickerValue in datePicker doc
...
close #10402
2018-11-15 16:21:27 +08:00
zombiej
b75486fe85
merge master
2018-11-14 15:28:27 +08:00
afc163
c7b9eee709
⚡ improve getDerivedStateFromProps return value
2018-11-13 18:03:57 +08:00
afc163
cdafee70f2
Merge branch 'master' into feature
...
* master:
🔥 update less code style
⬆️ upgrade react-dnd version
update
Remove unused dependencies
3.10.7 changelog
🐛 Fix typo, #12978
update changelog
✨ Release 3.10.6
🚑 Fix Button[href] 1px align bug in another way
tweak style
💄 tweak button style
2018-11-12 12:06:24 +08:00
CORP\lianyufeng
02cedda1e9
Add support for Indonesian internationalization
2018-11-12 12:05:46 +08:00
afc163
a616f89a1b
🔥 update less code style
2018-11-12 12:02:30 +08:00
afc163
11384384d0
Merge branch 'master' into feature
2018-11-10 22:10:07 +08:00
ztplz
6ad23c370e
Fix CI
2018-11-10 22:09:29 +08:00
ilanus
1dfe222933
🌐 adding hungarian localisations
2018-11-09 21:53:15 +08:00
kuitos
2bb6369e3e
typing correct
2018-11-09 19:31:47 +08:00
afc163
d05c0c19a2
Merge branch 'master' into feature
...
* master:
revert deleting @font-variant-base by accident
update default menu background
site: update header responsive ui
update FAQ doc
add test case for month picker
2018-11-05 13:56:19 +08:00
zombiej
782881e3ca
add test case for month picker
2018-11-04 19:49:20 +08:00
afc163
ad0f9b28ec
Merge branch 'master' into feature
...
* master:
site: add Community discusstion links
🌐 site: transition component category, close #11629
Fix Collapse Panel id definition, close #12357
Fix style overlap with sorter when long text in Table column header
Add more recommendation
adjust datepick reset logic
reset showDate when picker is closed fix #12929
2018-11-04 17:15:29 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
zombiej
69a2a92864
adjust datepick reset logic
2018-11-04 14:54:06 +08:00
zombiej
81a7d11ba3
reset showDate when picker is closed
...
fix #12929
2018-11-03 23:19:33 +08:00
afc163
0fc32da6ea
Merge branch 'master' into feature
...
* master: (27 commits)
Fix sort order broken issue when columns were put in render
fix Modal docs typo
Improve Alert
update select props :onPopupScroll
add transform-origin on dropdown as menu
Update validate-other.md
should not hide avatar in vertical item layout of List
fix stylelint again by locking version :sad:
Fix fixed-columns Table border issue, close #9687
site: still need the fallback scrollIntoView, #12683
use latest stylelint
site: fix npm run site error
Update jsdom requirement from ^12.1.0 to ^13.0.0
🐛 dynamic form doc fix
Fix button icon margin style bug
remove babel-plugin deps
clean up useless deps
Use recomended babel-preset-env
findDOMNode to refs, close #12843
componentWillReceiveProps => getDerivedStateFromProps
...
2018-11-01 14:36:14 +08:00
MuYu
72a6febcc4
fix: select type definition ( #12865 )
...
* fix: select type definition
* fix: wrapPicker type definition
* fix: select type definition
2018-10-30 10:52:27 +08:00
Wei Zhu
af54f500eb
Merge branch 'master' into feature
2018-10-29 19:40:08 +08:00
zombiej
c2e62c1910
fix doc
...
close #12806
2018-10-28 13:32:29 +08:00
afc163
ba5409afa3
Merge branch 'master' into feature
2018-10-26 18:48:34 +08:00
Michael Krog
cde74cd39a
Adds danish locale
2018-10-19 19:26:12 +08:00
Hieu Ho
ea25889f1a
Add VN locale for date picker component
2018-10-16 12:09:17 +08:00
afc163
c8d36568bb
Merge branch 'master' into feature
2018-10-12 19:52:04 +08:00
afc163
436cbeed7b
fix DatePicker clear behavior bring by 3640754
2018-10-12 16:25:23 +08:00
afc163
965fd231b3
Merge branch 'master' into feature
2018-10-11 15:17:57 +08:00
Oren Kosto
b0c061772b
Updated the rc-calendar and rc-pagination libs, and the locale-provider snapshot
2018-10-11 14:54:10 +08:00
Oren Kosto
b05488c3b0
Added Hebrew translations
2018-10-11 14:54:10 +08:00
zombiej
e5cfef565b
fix #12475 . Picker should get focus after selection.
2018-10-09 17:44:22 +08:00
zombiej
364075421b
fix #12536 . Adjust date-picker icon
2018-10-08 20:53:28 +08:00
afc163
74f36c6e69
Merge branch 'feature' of github.com:ant-design/ant-design into feature
2018-09-21 14:02:58 +08:00
HeskeyBaozi
2b7bd92cf6
datepicker: suffix -> suffixIcon
2018-09-21 13:40:27 +08:00
HeskeyBaozi
844a5a92d7
add suffix icon to tree-select
2018-09-21 13:40:27 +08:00
HeskeyBaozi
160d34aeba
add suffix icon to date-picker
2018-09-21 13:40:27 +08:00
XuMM_12
0219aa259a
fix demo in date-picker doc ( #12290 )
...
ref to https://ant.design/components/calendar-cn/ and moment doc, import locale file from moment/locale just defines the locale without use.
2018-09-18 16:57:04 +08:00
leijingdao
e157e313fa
fix:onOpenChange handler not being called in RangePicker for preset r… ( #12142 )
...
* fix:onOpenChange handler not being called in RangePicker for preset ranges(#11631 )
2018-09-10 00:26:26 +08:00
HeskeyBaozi
976f6969f4
update test snapshot
2018-09-07 14:14:23 +08:00
zombiej
0ea5d6af70
adjust time picker default width since font number to be laregr
2018-09-06 19:16:37 +08:00
digz6666
8f41d5f774
Added Mongolian locale provider and tested. Translated calender,
...
date-picker, time-picker.
2018-09-04 11:55:55 +08:00
afc163
06898a0619
Merge RangePicker extra and built-in footers
2018-09-02 21:45:27 +08:00
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911
upgdate test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
c7069b27fe
fix icon theme code style
2018-09-02 20:59:37 +08:00
HeskeyBaozi
fd81e4575c
fix date-picker clear-icon size
2018-09-02 20:59:37 +08:00
HeskeyBaozi
3de0acabd1
use rc-calendar@~9.7.0
2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d
update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
0c9465aaf9
upgrade icons library
2018-08-27 20:40:11 +08:00
HeskeyBaozi
d9b38aee4b
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
...
# Conflicts:
# package.json
2018-08-25 13:24:44 +08:00
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
2018-08-24 18:36:08 +08:00
afc163
c9901acb7f
Fix WeekPicker style, close #11738
2018-08-22 00:41:29 +08:00
HeskeyBaozi
796de6390b
update test snapshot
2018-08-14 15:32:29 +08:00
HeskeyBaozi
b9a9c308c9
[breaking] remove iconfont-font class helper
2018-08-14 15:31:20 +08:00
HeskeyBaozi
35974d67b2
update test snap shot
2018-08-13 20:51:01 +08:00
HeskeyBaozi
3baec95628
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-08-13 09:26:33 +08:00
afc163
287d08890a
renew typescript typings
2018-08-07 23:52:59 +08:00
HeskeyBaozi
b2ab727c89
resolve conflicts
2018-08-06 15:06:06 +08:00
afc163
e450ab64fa
Merge branch 'feature-3.8.0'
2018-08-04 17:00:17 +08:00
afc163
afeda4fe70
demo: update presetted-ranges description
2018-08-04 12:04:07 +08:00
Thibault Derousseaux
43abea3212
Use tabular-nums font variant instead of switching to Tahoma for figures
...
Using a completely different font for figures leads to inconsistencies: https://github.com/ant-design/ant-design/issues/9422 .
Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures ).
One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals ).
There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric ) that can be set to `tabular-nums`.
This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used.
It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/ ).
2018-08-04 11:28:14 +08:00
HeskeyBaozi
cc180e2605
resolve conflict.
2018-08-02 18:02:31 +08:00
Kian
6a28b44eca
add tagPrefixCls props
2018-07-31 21:15:10 +08:00
HeskeyBaozi
6c42d711e8
Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-07-31 15:36:23 +08:00
afc163
636c343b16
Merge branch 'master' into feature-3.8.0
2018-07-29 15:06:36 +08:00
afc163
af03ae67f9
Fix TimePanel jump issue of hovering, close #11460
2018-07-29 15:03:35 +08:00
afc163
af4ed3988a
chore DatePicker and TimePicker font style
2018-07-29 15:02:34 +08:00
Eden Wang
6804094fa2
export mouse enter and mouse leave event for datepicker
2018-07-29 12:41:46 +08:00
Ilan Hasanov
86398d910a
💬 misc typos and blank spaces fixes
2018-07-29 01:15:02 +08:00
Wei Zhu
9f76f1c276
chore: add tests for b9992f4
2018-07-25 16:31:18 +08:00
Wei Zhu
b9992f4a08
fix: DatePicker can not change year/month when under control
...
React 16.4 call getDerivedStateFromProps on every render
close #11447
close #11440
close #11439
close #11416
close #11405
2018-07-25 15:42:48 +08:00
HeskeyBaozi
768af40c4c
Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
...
# Conflicts:
# components/drawer/__tests__/__snapshots__/Drawer.test.js.snap
# components/drawer/__tests__/__snapshots__/DrawerEvent.test.js.snap
# components/drawer/index.tsx
2018-07-25 12:03:00 +08:00
HeskeyBaozi
ee16585b6d
update test cases
2018-07-25 11:51:19 +08:00
HeskeyBaozi
ca644505be
replace date-picker font icon
2018-07-23 12:06:38 +08:00
HeskeyBaozi
bab50e6bed
Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
...
# Conflicts:
# components/locale-provider/__tests__/__snapshots__/demo.test.js.snap
# components/locale-provider/__tests__/__snapshots__/index.test.js.snap
# components/transfer/__tests__/__snapshots__/demo.test.js.snap
# components/transfer/__tests__/__snapshots__/index.test.js.snap
2018-07-23 09:58:55 +08:00
Amumu
f728fbe5ab
getDerivedStateFromProp return null if not change
...
A valid state object (or null) must be returned. You have returned undefined.
2018-07-22 11:59:40 +08:00
HeskeyBaozi
4a553a2006
upgrade test cases
2018-07-19 20:37:47 +08:00
रोहन मल्होत्रा
12b99970f3
Migrated to new lifecycle method for datepiceker ( #10309 )
...
…picker
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd ).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.
Extra checklist:
**if** *isBugFix* **:**
no
**elif** *isNewFeature* **:**
#9792
2018-07-19 11:26:47 +08:00
baozefeng
825d770254
bugfix: Chinese doc website date-picker demo link go to English website
2018-07-18 20:07:22 +08:00
HeskeyBaozi
9338f33c1c
update test cases
2018-07-18 10:33:54 +08:00
付引
31b2517261
mport -> import
2018-07-15 12:54:23 +08:00
afc163
8eb8c686ce
Merge branch 'master' into feature-3.7.0
2018-07-11 22:21:01 +08:00
afc163
00afce3a4b
Improve design of RangePicker presets link
2018-07-11 20:09:58 +08:00
Wei Zhu
4b045fc43f
Revert "docs: update moment locale usage"
...
This reverts commit 89228118af
.
The original purpose to import locale from src is that some projects
adding `jsnext:main` to the `resolve.mainFields` config of webpack which leads
webpack load moment from `src/moment.js`. But import from `locale`
should works for most projects.
2018-07-11 15:17:15 +08:00
afc163
0c4d356e54
Merge branch 'master' into feature-3.7.0
2018-07-03 19:54:48 +08:00
afc163
60ebb434c1
Fix form controls align issue in IE11
...
close #9827
close #11133
2018-07-03 14:04:46 +08:00
愚道
004561ba1f
fix style in range select
2018-07-02 19:51:58 +08:00
愚道
450a3142ee
fix: fix datepicker selected item style, close #9529
2018-07-02 19:51:58 +08:00
zombiej
11dba9c305
update snapshot
2018-06-28 17:12:16 +08:00
afc163
56020cda39
Merge branch 'master' into feature-3.7.0
2018-06-27 16:14:14 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
Matt Lein
e63f9d4beb
Pass data and aria props to the date picker input.
...
Pass data and aria props to the alert div.
add wrapProps to ModalProps
2018-06-25 16:53:04 +08:00
Wei Zhu
aa580beb8b
docs: sort api table
2018-06-24 17:09:18 +08:00
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
2018-06-22 21:05:13 +08:00
afc163
7fc1483fe1
Fix style of RangePicker with preset ranges, close #10986
2018-06-22 12:13:25 +08:00
Wei Zhu
89228118af
docs: update moment locale usage
2018-06-08 12:22:22 +08:00
afc163
cbff10db15
test: update snapshots
2018-05-25 14:25:26 +08:00
sosohime
d4ed303bcd
doc: Update DatePicker document about locale ( #10598 )
2018-05-21 21:51:39 +08:00
afc163
7f8f89cbff
doc: Add mode and onPanelChange in API document, close #9785
2018-04-27 20:17:39 +08:00
Jin ZHANG
f3f3c63c30
fix class for week date render ( #10081 )
2018-04-17 13:50:27 +08:00
zombiej
c5f84c7902
clean up
2018-03-29 18:03:14 +08:00
zombiej
52f0ac10a4
Revert "Fix WeekPick style prop, close #9848 "
...
This reverts commit c526e175c7
.
2018-03-29 17:53:54 +08:00
afc163
c526e175c7
Fix WeekPick style prop, close #9848
2018-03-29 11:26:38 +08:00
gregahren
b6ce947894
Slovenian locale added (sl_SI) ( #9724 )
...
* Add sl_SI locale (Slovenian)
* fix lint issues
snapshot tests
* add description
* bump rc pagination to 1.16.1 which includes sl_SI(Slovenian) locale
then include it
2018-03-26 11:44:27 +08:00
Wei Zhu
edbbaac5f9
Fix date mocking
...
new Date returns a UTC time in node
Close #9743
2018-03-21 12:27:41 +08:00
Wei Zhu
62c9dee43e
Remove timezone from mock date
2018-03-12 11:22:59 +08:00
zhuyue
ed70ba694e
Merge branch 'feature-3.3.0'
2018-03-11 14:50:25 +08:00
诸岳
398788b2c9
Fix: import correct locale file from rc-calendar, close #9373 ( #9613 )
...
* fix: import correct locale file from rc-calendar, close #9373
* Update snapshot
2018-03-11 00:11:21 +08:00
Wei Zhu
fe4d294c64
Fix moment require ( #9528 )
...
Fix #9502
2018-03-09 15:04:21 +08:00
Pierre
1259d703c7
Fix typo WeexPickerProps -> WeekPickerProps ( #9564 )
2018-03-07 23:56:24 +08:00
愚道
59b7195c06
Merge branch 'master' into feature-3.3.0
2018-03-07 14:17:43 +08:00
Wei Zhu
1b3118e1dc
Use week year
...
Fix #9463
2018-03-01 17:24:06 +08:00
afc163
e8fa1f168b
Merge branch 'master' into feature-3.3.0
2018-02-11 11:51:05 +08:00
诸岳
240289ed73
Remove TimePicker wrong line-height style, close #9292 ( #9317 )
2018-02-09 11:36:43 +08:00
jim
50863acb1b
datePicker add dropdownClassName prop fix #7211
2018-02-09 11:35:13 +08:00
Wei Zhu
e992682aa8
Ignore invalid end date
...
Fix #9267
2018-02-07 14:23:17 +08:00
Wei Zhu
1735d89a66
docs: Update RangePicker[ranges] type
2018-02-04 20:35:28 +08:00
Wei Zhu
49c2a6220b
Merge branch 'feature-3.2'
2018-02-04 17:24:16 +08:00
Wei Zhu
70f30ef065
Trigger onOk when click on preset range ( #9213 )
...
Close #7747
2018-02-04 02:41:02 -06:00
Wei Zhu
29969959f8
Revert "Add test for 3b0a704"
...
This reverts commit 980b2cc32b
.
2018-02-02 15:36:35 +08:00
Wei Zhu
980b2cc32b
Add test for 3b0a704
2018-02-02 14:50:55 +08:00
Wei Zhu
3b0a704df8
Only clear hoverValue when picker is open
...
Fix #6364
2018-02-02 12:20:26 +08:00
Wei Zhu
ef55562deb
Attempt to fix #8885 again, add more tests ( #9164 )
2018-02-01 02:12:42 -06:00
Wei Zhu
bebed2c4ae
Allow function for preset range ( #9195 )
...
* Allow function for preset range
Close #8281
* Rename RangePickerRange to RangePickerPresetRange
2018-02-01 02:05:57 -06:00
Wei Zhu
842c7f21d9
Fix RangePicker input ( #9009 )
...
fix #6999
fix https://github.com/react-component/calendar/issues/286
2018-01-30 22:01:27 -06:00
Wei Zhu
3b931e97c4
Merge branch 'master' into feature-3.2
2018-01-31 10:08:23 +08:00
Wei Zhu
17e26ecb71
Revert "docs: fix DatePicker start end demo"
...
This reverts commit b9120980fb
.
2018-01-30 16:01:11 +08:00
Wei Zhu
b9120980fb
docs: fix DatePicker start end demo
...
Close #9163
2018-01-29 19:19:36 +08:00
Wei Zhu
fa14765695
Revert "Control Calendar value, fix #8885 ( #9141 )"
...
This reverts commit 98387ad819
.
2018-01-28 21:49:02 +08:00
nikogu
3ad71ea36a
Merge branch 'master' into feature-3.2
2018-01-27 22:30:34 +08:00
Wei Zhu
98387ad819
Control Calendar value, fix #8885 ( #9141 )
...
If not control Calendar value, the internal value of Calendar will keep a
different date than parent component.
2018-01-26 23:14:40 +08:00
Wei Zhu
5afb1a28b6
Merge branch 'master' into feature-3.2
2018-01-26 17:14:44 +08:00
niko
f2ba99978d
upgrade snapshots ( #9127 )
2018-01-25 18:24:59 +08:00
Wei Zhu
d47325bf51
Convert RangePicker showDate locale
...
Fix #8970
2018-01-25 18:00:07 +08:00
ahalimkara
937f249b38
Kurdish translation ( #9064 )
...
* Revert "Merge branch 'master' into feature-3.2"
This reverts commit b7901e541a
, reversing
changes made to 7a7933038c
.
* Revert "Revert "Merge branch 'master' into feature-3.2""
This reverts commit ebf5e4c4f0
.
* Kurdish translation
* Update jest snapshot for ku-iq
2018-01-24 21:40:29 +08:00
mgrdevport
cfdb1cab4b
Pass id prop to DatePicker input field ( #8598 )
2018-01-24 10:48:34 +08:00
Wei Zhu
4332613633
Revert "Pass id prop to DatePicker input field ( #8598 )"
...
This reverts commit 38bf0be4ab
.
2018-01-24 10:48:03 +08:00
mgrdevport
38bf0be4ab
Pass id prop to DatePicker input field ( #8598 )
2018-01-23 20:45:46 -06:00
Wei Zhu
6ea33da9f8
Don't use ISO week ( #9025 )
...
https://en.wikipedia.org/wiki/ISO_week_date
fix #9021
2018-01-21 01:05:19 +08:00
Wei Zhu
a8a4152c65
Clear RangePicker hover value after panel close ( #9029 )
...
Fix #8839
2018-01-21 01:03:51 +08:00
Wei Zhu
0bb531aca6
Refactor DatePicker types
2018-01-19 19:07:18 +08:00
Wei Zhu
46b45acb12
Remove babel-plugin-add-module-exports ( #8888 )
2018-01-13 05:11:53 -06:00
lizhen
a6d545f9fa
issue #8608
...
use moment to prevent some problem
2018-01-08 20:51:59 +08:00
ascoders
9bf76ff76a
fix: add props define - onPanelChange in DatePicker.RangePicker
2018-01-08 16:43:14 +08:00
ziyi.hzy
3ce9188056
fix: add props define - mode in DatePicker.RangePicker
2018-01-08 16:31:50 +08:00
Wei Zhu
999d6184ad
docs: Sort api table
2017-12-29 20:22:58 +08:00
Wei Zhu
974809e6f2
export RangePickerValue
2017-12-21 17:50:12 +08:00
Wei Zhu
e22fbe70e5
Add RangePickerState interface
2017-12-21 17:06:59 +08:00
afc163
a03ff5d574
Fix test case
2017-12-19 16:32:20 +08:00
afc163
80686df38e
update snapshot
2017-12-18 09:48:43 +08:00
afc163
0ecb6ad45f
Fix prop locale not working in DatePicker/RangePicker
...
close #8635
2017-12-17 17:11:54 +08:00
afc163
7a98f6236f
Fix ts error
2017-12-16 21:10:15 +08:00
afc163
d6e429cd70
Tweak RangePicker align
2017-12-12 10:14:38 +08:00
Kamron Batman
3eb91cef47
docs: update start-end.md ( #8462 )
...
Fixes english and spelling in start-end.md.
2017-12-06 09:35:34 +08:00
Wei Zhu
e613dc9050
Remove debug flag
2017-12-01 19:29:51 +08:00
Wei Zhu
d2dc88c470
Add focus() and blur() document
...
Close #3790
2017-12-01 19:28:41 +08:00
Flynn
071149cfbb
feature:add onCalendarChange for RangePicker ( #8355 )
...
* feature:add onCalendarChange for RangePicker
The event trigger when start time or end time is changing, which is useful for districting range user can select.
* Update index.zh-CN.md
update doc
* Update index.zh-CN.md
* Update index.zh-CN.md
2017-12-01 10:50:25 +08:00
Wei Zhu
b44a0c93cd
Add focus() blur() and autoFocus to DatePicker ( #8345 )
2017-11-30 09:54:31 +08:00
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
2017-11-30 09:53:32 +08:00
niko
be1cbd4eae
upgrade rc-calendar dependency to 9.3.0 ( #8353 )
2017-11-29 11:23:15 +08:00
Wei Zhu
9fd3588ac4
Fix implicit any error for DatePicker
2017-11-21 21:09:24 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
Oleksandr Kovalchuk
fce6862696
Feature: uk_UA locale ( #8169 )
...
* Add uk-UA localization
Ukrainian localization for the following components:
- locale-provider
- DatePicker
- TimePicker
- Calendar
* Add uk_UA locale to test suite
* Add uk_UA locale to tests snapshot
Tests on CI are failing because there are no snapshot for uk_UA locale.
Generate a snapshot with `npm test -u` command and add it to the test
suite.
2017-11-14 16:10:54 +08:00
Wei Zhu
55c85f77a1
Update dependendies ( #8150 )
...
* deps: upgrade rc-menu, and close : #2837
* test: update snapshots
* Update rc-calendar
* Update rc-cascader
* Update rc-dialog
* Update dropdown
* Update rc-select@7.1.0
* Update rc-slider
* Update rc-time-picker
* Update rc-tooltip
* Update rc-tree-select
* Mock rc-trigger and Portal
* Fix animation warning when inlineCollapsed changes
* fix: should use SubMenu[popupClassName]
* Fix typescript error
* Fix lint
* fix: style for menu
* Mock rc-trigger for React 15
* Remvoe allow_failures
2017-11-11 00:07:03 +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
Benjy Cui
67be1eafa9
test: fix CI
2017-10-24 14:08:39 +08:00
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
2017-10-20 14:54:38 +08:00
afc163
a9073988ec
Merge branch 'master' into antd-3.0
2017-10-18 14:07:53 +08:00
afc163
e7eb8693b6
Fix snap
2017-10-17 21:32:01 +08:00
Benjy Cui
7841386fcd
fix: should close panel when click presetted ranges, close : #7747
2017-10-17 13:57:39 +08:00
afc163
91a64d0567
Tweak styles
2017-10-16 21:12:49 +08:00
Mohamed Seada
fa315e9f6d
Add new locale (ar-EG: Arabic Egypt) #3 ( #7888 )
...
* Add new locale (ar-EG: Arabic Egypt)
* resolve snapshot testing problem
* Add new locale (ar-EG: Arabic Egypt) to docs
2017-10-14 14:30:54 +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
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +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
afc163
7bfe6878dd
fix snapshot
2017-09-27 09:56:03 +08:00
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
...
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
2017-09-26 23:12:47 +08:00
afc163
4719309bd7
Merge branch 'master' into antd-3.0
2017-09-26 16:29:57 +08:00
778758944
4e726fdfd7
修复disabledTime interface定义错误 ( #7740 )
2017-09-26 16:11:28 +08:00
afc163
420c2666a9
docs: add chinese description for dateRender
2017-09-25 22:16:30 +08:00
Henri Normak
36a54a8a8c
Expose renderDate function for DatePicker ( #7710 )
...
* Expose renderDate function for Calendar dates
* Use the original prop name
2017-09-25 22:10:26 +08:00
afc163
412d7eebba
Merge branch 'master' into antd-3.0
2017-09-22 18:37:08 +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
Marco Afonso
81435e2798
feat: add Portuguese locale ( #7449 )
...
* Add pt_PT Locale
* Adding pt_PT Locale (fix comma)
* Adding pt_PT Locale to docs
* Add pt_PT locale to tests
* Update imports for rc-pagination and rc-calendar
* Add pt_PT Locale
* Adding pt_PT Locale (fix comma)
* Adding pt_PT Locale to docs
* Add pt_PT locale to tests
* Update imports for rc-pagination and rc-calendar
* Add pt_PT to tests
2017-09-21 21:02:01 -05: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
Stefan Paunovic
0ac7ccaa8f
feat: add is_IS locale ( #7561 )
2017-09-12 09:10:42 +08:00
afc163
ab6620f1f1
Fix WeekPicker style, #3825
2017-09-06 13:18:43 +08:00
afc163
0f778d2a4a
Merge from master
2017-09-05 16:19:34 +08:00
偏右
f3911b3707
Feat week picker ( #7404 )
...
* New Component WeekPicker
close #212
* Add WeexPicker in API doc
* update snapshot
* Add test cases
* update snapshot
2017-08-31 20:44:22 +08:00
afc163
96dd7132e8
Merge branch 'master' into feature-2.13
2017-08-30 13:22:38 +08:00
afc163
429cdb448d
Fix RangePicker text overlap
2017-08-29 15:08:55 +08:00
afc163
a5733f5de3
Fix RangePicker text overlap
2017-08-29 15:08:06 +08:00
Benjy Cui
2620318172
feat: support controlled panels for DatePicker and RangePicker, close : #5190 ( #7049 )
2017-08-21 21:15:44 +08:00
afc163
d4171badfd
Merge from master
2017-08-19 12:40:40 +08:00
afc163
b84b17d981
Merge branch 'master' into antd-3.0
2017-08-17 18:03:28 +08:00
afc163
ad6dbcb9c6
Fix button in DatePicker
2017-08-16 15:38:12 +08:00
Stefan Paunovic
7d8c7d72b7
feat: add sr_RS locale (Serbian) ( #7201 )
2017-08-15 09:24:30 +08:00
nikogu
7d49cc18a9
Merge branch 'master' into feature-2.13
2017-08-12 11:16:33 +08:00
afc163
b48f749e26
Merge branch 'feature-2.13' into antd-3.0
2017-08-10 16:33:18 +08:00
afc163
43751c9930
revert eb3c274
, close #7162
2017-08-10 10:54:02 +08:00
Vemund Santi
b69a6886d7
Locale/nb-NO ( #7122 )
...
* locale: Add Norwegian Bokmål locales to Ant Design
* Add Vemund Santi to authors.
* docs: add Norwegian to list of i18n language examples
* test: add tests for Norwegian Bokmål
* Update dependencies. Use locales from rc-pagination.
2017-08-09 20:36:01 +08:00
afc163
47c5de29f3
tweak range picker style
2017-08-09 16:21:18 +08:00
偏右
eb3c274e01
Fix extra space in RangePicker
...
https://gw.alipayobjects.com/zos/rmsportal/sTMIijZIrTkBDaGrEXmI.png
2017-08-09 15:33:30 +08:00
afc163
5a33774238
Fix ~ mis-position bug
2017-08-07 15:35:05 +08:00
Michalis Macheras
94d46e4c01
add el_GR locale (Greek) ( #6928 )
...
Update index.test.js
Syntactic error corrected
2017-08-07 10:41:38 +08:00
mkermani144
e8ef77b963
Add fa_IR locale
2017-08-07 10:40:34 +08:00
Benjy Cui
4880b6ec16
fix: should not throw error when select after clear, close : #7077
2017-08-04 16:50:05 +08:00
afc163
6748221ed3
tweak time-picker style
2017-08-03 22:08:14 +08:00
afc163
8618a387da
tweak date-picker style
2017-08-02 21:15:03 +08:00
afc163
fb70e9d70b
code style
2017-08-02 13:02:01 +08:00
afc163
50466ed281
Fix ok button style
2017-07-31 16:12:41 +08:00
afc163
dc8be3fcfd
Tweak icon position of DatePicker
2017-07-25 19:45:58 +08:00
Benjy Cui
119d498935
chore: replace http with https, close : #6893
2017-07-19 14:00:11 +08:00
imosapatryk
79afe8ef89
Update pl_PL.tsx
...
You import wrong files.
2017-07-17 16:02:25 +02:00
Benjy Cui
43bf6c4846
test: fix CI, ref: 27a1742
2017-07-12 15:15:21 +08:00
afc163
19fa96754d
Fix snapshot
2017-07-12 15:07:04 +08:00
Benjy Cui
9c7cec3e39
refactor: remove span[disabled]
2017-07-12 14:23:47 +08:00
Benjy Cui
27a17428de
fix: should show correct panel, close : #6764 point 3
2017-07-12 14:00:20 +08:00
偏右
b653a2c055
Merge branch 'master' into feature-2.12
2017-07-07 19:41:37 +08:00
柚子男
6d06f2f4b4
fix lint
2017-07-06 23:06:21 +08:00
Sakol Assawasagool
bc7e0bad3e
feat: add th_TH translation ( #6721 )
2017-07-04 17:54:36 +08:00
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
2017-07-03 16:57:11 +08:00
偏右
bb9957ff45
Merge pull request #6655 from megawac/date-picker-style
...
Make -clear and -icon styles consistent at different input sizes
2017-06-30 11:50:00 +08:00
Benjy Cui
950c321b25
fix: should generate showHour from format k
2017-06-29 11:22:12 +08:00
Graeme Yeates
9429aedffc
Fix tilde placement on rangepickers
2017-06-28 15:23:00 -04:00
Graeme Yeates
974f544713
Make -clear and -icon styles consistent at different input sizes
2017-06-28 15:09:50 -04:00
Benjy Cui
00932da89b
test: update snapshot for rc-calendar and rc-input-number
2017-06-28 16:29:26 +08:00
newraina
e560cb26c3
fix dataPicker onOk type definition ( #6619 )
2017-06-28 10:19:53 +08:00
Benjy Cui
1920d9af46
chore: update details for #6584
2017-06-27 15:32:18 +08:00
Alexander
9131a79377
chore: add className prop to DatePicker ( #6584 )
...
* Add className to DatePicker
* Add className to MonthPicker and RangePicker
2017-06-27 14:27:02 +08:00
afc163
fe564335bf
Tweak range picker style
2017-06-26 21:25:47 +08:00
afc163
48b63734c6
Tweak date picker icon style
2017-06-26 21:19:23 +08:00
Graeme Yeates
aaf2a508be
Fix calendar clear background color
2017-06-21 12:41:45 -04:00
Benjy Cui
c61bba1020
chore: make disabled today different from other disabled day
2017-06-19 15:14:53 +08:00
afc163
61d67f4563
Fix DatePicker footer extra border
2017-06-13 15:31:47 +08:00
Benjy Cui
9b025806b8
fix: remove align.offset, ref: 0a1c0712
2017-06-08 17:27:28 +08:00
Benjy Cui
b0040bfc37
test: update snapshot
2017-06-07 17:39:44 +08:00
Benjy Cui
14de57c32e
test: update snapshot
2017-06-06 17:55:01 +08:00
Benjy Cui
2e313ef8f0
Merge branch 'master' into feature-2.11
2017-06-06 17:26:06 +08:00
偏右
920b32e94c
Merge pull request #6344 from damiangreen/master
...
Add en-GB, it-IT, fr-FR + nl_BE locales
2017-06-05 18:05:22 +08:00
afc163
268336a651
update snapshots
2017-06-05 17:15:41 +08:00
afc163
6790e80f3e
Add renderExtraFooter for DatePicker
...
close #6122 , close #5188
2017-06-05 17:11:58 +08:00
afc163
d086ee253e
update snapshots for #6347
2017-06-03 01:38:26 +08:00
afc163
0a1c0712a2
Fix DatePicker panel position, close #6347
2017-06-03 01:37:02 +08:00
Damian Green
6d74ea346f
Add en-GB, it-IT, fr-FR + nl_BE locales
2017-06-02 14:40:32 +01:00
Patryk
e2be361cd0
Add Polish language support
2017-06-01 22:43:12 +02:00
Adrian Dimitrov
d629086c74
feat: added Bulgarian translation ( #6297 )
...
* Added Bulgarian translation
* Update bg_BG.tsx
2017-06-01 10:32:10 +08:00
afc163
fd625ef1a0
upgrade and fix tslint problems
2017-05-31 15:48:35 +08:00
Benjy Cui
35095fc776
test: fix CI
2017-05-31 11:19:17 +08:00
afc163
fa235b7876
Fix RangePicker test case
2017-05-29 16:19:59 +08:00
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +08:00
afc163
f414398fae
Fix disabledDate of Calendar, close #6074
2017-05-23 17:10:56 +08:00
Benjy Cui
1dae0b65f2
chore: improve UX of RangePicker ( #6200 )
...
* chore: improve UX of RangePicker
* test: fix CI
2017-05-22 09:42:04 +08:00
Benjy Cui
361df26f3a
fix: should support DatePicker|RangePicker[showTime.defaultValue], ( #6160 )
...
close : #5691 #2375
2017-05-18 14:51:06 +08:00
Benjy Cui
8c06fc6527
test: update snapshot
2017-05-15 16:41:44 +08:00
afc163
29e54c2339
fix lint in demo
2017-05-15 16:40:10 +08:00
Benjy Cui
555dbb9b29
docs: add MonthPicker disableDate demo
2017-05-15 16:18:08 +08:00
Benjy Cui
12a6060304
docs: fix code style
2017-05-15 14:37:22 +08:00
Benjy Cui
61d6cf14ff
deps: upgrade eslint relative deps
2017-05-15 12:10:28 +08:00
afc163
ed17464a5f
Fix vertical align of RangePicker input in safari and 360, close #6061
2017-05-13 15:16:25 +08:00
偏右
1a775b1d3b
Merge pull request #5964 from megawac/active-item-bg
...
Add @active-item-bg to control hover and active states
2017-05-04 12:02:55 +08:00
Graeme Yeates
98ba816bfb
Add @time-picker-selected-bg to control the selected state of time-picker
2017-05-03 11:06:07 -04:00
Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
2017-05-03 10:57:14 -04:00
afc163
54f443a266
tweak clear icon position
2017-05-03 15:19:33 +08:00
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
2017-05-02 11:05:28 -04:00
偏右
d3aa5f3cbf
fix: time picker layout ( #5983 )
...
* Add popupClassName
* Fix showTime panel width bug, close #5959
* Add test case
2017-05-02 16:24:29 +08:00
偏右
5fde1e7550
Merge branch 'master' into background-color-base
2017-05-01 13:51:11 +08:00
偏右
6787e41257
Merge pull request #5962 from megawac/fix-calendar-input-background
...
Fix calendar input background to use @input-bg
2017-05-01 13:38:52 +08:00
Graeme Yeates
5841746ec9
Decompose @background-color-base into several variables
2017-04-28 16:04:41 -04:00
Graeme Yeates
ede77a8aa7
Consistently use @background-color-base for disabled states
2017-04-28 15:43:02 -04:00
Graeme Yeates
e6d619b3cf
Fix calendar input background to use @input-bg
2017-04-28 13:24:12 -04:00
Benjy Cui
5f80e50d31
Merge branch 'feature-2.10'
2017-04-28 09:41:34 +08:00
Tino D
5c25452de8
fix: update locale es_ES (Spanish) ( #5932 )
...
* Update locale es_ES (Spanish)
* Fix indent
2017-04-28 09:39:35 +08:00
Hai Phan Nguyen
c6832d1235
feat: add Vietnamese localization support ( #5927 )
...
* Add Vietnamese locale
* add Vietnamese locale
2017-04-27 16:39:46 +08:00
Benjy Cui
44c4d5c167
fix: should not reset showDate when value is empty array, close : #5872 ( #5898 )
2017-04-26 14:44:07 +08:00
Kimmo Saari
b6eecef255
Add locale fi_FI ( #5674 )
2017-04-22 22:52:37 +08:00
OAwan
1903b75d38
Traditional Chinese locale provider added ( #5665 )
2017-04-22 22:52:01 +08:00
Benjy Cui
f5fa64c17b
fix: hack to fix ts compile errors
2017-04-21 11:39:01 +08:00
Benjy Cui
5fe3cb9318
refactor: to ES6 class style
2017-04-20 17:12:14 +08:00
Yiming
c9a09a1d01
Update index.zh-CN.md
...
fix typo
2017-04-19 10:39:42 +08:00
afc163
6b1cec2bf6
Use height over padding for button size, close #5256
2017-04-16 19:01:46 +08:00
偏右
9319764eb8
Merge pull request #5663 from ant-design/ux-range-picker
...
chore: improve ux of RangeCalendar, close : #4985
2017-04-13 13:32:54 +08:00
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
...
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
leadream
193b2b7684
not aligned after customizing the size of input
...
For some reasons I customized the size of <Input/>. Now the default height of <Input> is 40px. But there's a problem in <RangePicker/> after doing that: the texts and icon inside it are not aligned vertically at center.
When I look into the code I found the height of `ant-calendar-range-picker-input` is 18px. I modified it to 100% and it aligned. I'm not sure if it can affect the other code.
----------------------------------------
因为某些原因我自定义了 <Input/> 的尺寸,现在它的默认高度是40px。但是当我使用 <RangePicker/> 组件时,我发现了一个问题:输入框里面的文字和图标在垂直方向不能居中对齐。我看了一下 css 代码,发现里面的 `ant-calendar-range-picker-input` 高度是固定的18px,我把它改成100%就可以垂直居中对齐了。我不知道这个改动是否会影响其他代码。
2017-04-11 18:48:03 +08:00
Benjy Cui
d8e465d579
css: fix height of MonthPicker
2017-04-10 15:30:24 +08:00
Benjy Cui
360a657264
chore: improve ux of RangeCalendar, close : #4985
2017-04-10 11:33:00 +08:00
Wei Zhu
6dd3304976
Revert "Traditional Chinese locale provider added ( #5665 )"
...
This reverts commit 65bac17e58
.
2017-04-09 03:37:49 +08:00
OAwan
65bac17e58
Traditional Chinese locale provider added ( #5665 )
2017-04-07 19:19:38 +08:00
Benjy Cui
b643aa752f
fix: month/year panel of DatePicker[showToday=false], close : #5620 ( #5635 )
2017-04-06 18:44:11 +08:00
Wei Zhu
1a8e738142
Set snapshotSerializers
2017-04-02 18:09:23 +08:00
Benjy Cui
30f55b923a
deps: upgrade rc-calendar
2017-04-01 14:43:36 +08:00
乐仪
2bba8bee98
fix RangePicker placeholder color
2017-03-31 17:10:40 +08:00
Ayhan
2265a49dbf
Turkish locale provider added ( #5536 )
2017-03-28 21:26:07 +08:00
afc163
4f89e54cb2
Merge from branch "master"
2017-03-28 15:58:41 +08:00
Yusuke Ito
b342dbefa2
Japanese locale ( #5529 )
...
* add ja_JP translation
* fix Japanese locale
* fix i18n docs
* update rc-pagination version
* add locale test for ja_JP
2017-03-28 15:11:33 +08:00
HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
2017-03-28 13:20:05 +08:00
afc163
8f286d6700
change comments to English
2017-03-27 10:09:38 +08:00
偏右
0308138974
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-27 10:09:38 +08:00
afc163
849c5fbf75
Fix getPopupContainer ts type
2017-03-27 10:09:06 +08:00
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
afc163
4a396c4d7b
change comments to English
2017-03-23 21:32:29 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
afc163
322e9efdc9
Fix getPopupContainer ts type
2017-03-21 16:35:31 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Benjy Cui
174c3b7d62
docs: MonthPicker doesn't support onOk, close : #5350
2017-03-17 10:24:32 +08:00
afc163
8bc0e8ab9d
Remove used code and add test case for #5191
2017-03-07 18:49:22 +08:00
Graeme Yeates
18077894f2
Remove DatePicker temporary values [ fix #5189 ] ( #5191 )
2017-03-07 18:00:51 +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
Graeme Yeates
7cd590b3b0
Use @input-color to set calendar's input color ( #5147 )
2017-03-03 10:46:51 +08:00
afc163
b3a325dc29
Fix disabled DatePicker hover border color
2017-03-01 15:26:12 +08:00
Benjy Cui
758559f718
test: update snapshots
2017-02-28 16:14:53 +08:00
Benjy Cui
69d9d1edda
chore: add warning for typo, close : #5044
2017-02-28 14:44:12 +08:00
afc163
376806dab8
Merge from "master"
2017-02-26 18:45:16 +08:00
afc163
2bf6e22653
fix documentation for onOk, close #5044
2017-02-24 18:08:35 +08:00
Benjy Cui
3aac9adc40
docs: remove some demo
2017-02-24 16:17:52 +08:00
Graeme Yeates
19c11dd173
chore: RangePicker TimePicker component locking background to white ( #5031 )
2017-02-24 10:42:45 +08:00
Benjy Cui
4e59e9e769
docs: recommend to use LocaleProvider, ref: #5017
2017-02-24 10:22:21 +08:00
Benjy Cui
1c837963e2
chore: add warning for deprecated API
2017-02-23 16:04:27 +08:00
afc163
5068343b0c
fix tslint
2017-02-23 13:18:06 +08:00
afc163
a7c6c027ce
Fix ts definition of Table & RangePicker
...
close https://segmentfault.com/q/1010000008423156
2017-02-23 12:51:40 +08:00
afc163
7181e3c9e8
revert d9ec4bf
and ef0b708
, close #4997
2017-02-22 16:50:24 +08:00
Benjy Cui
e4d9e5af54
test: update snapshot
2017-02-22 15:52:43 +08:00
Benjy Cui
d9ec4bf732
fix: RangePicker style
2017-02-22 15:33:21 +08:00
afc163
a9a564779e
Merge from "master"
2017-02-20 12:18:41 +08:00
afc163
3308bce9b9
fix snapshot test
2017-02-20 11:36:57 +08:00
afc163
626e0c9d1e
Fix DatePicker default width, close #4947 , ref #4920
2017-02-20 11:36:19 +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
afc163
28dbdd17ed
fix for #4920
2017-02-17 14:11:10 +08:00
afc163
a87016ce54
Make sure DatePicker style.width can be effective, close #4920
2017-02-17 12:05:22 +08:00
afc163
e801cd022e
fix snapshot
2017-02-15 16:40:26 +08:00
afc163
ec81fe4f1c
update MonthPicker demo
2017-02-15 16:32:20 +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
251930f183
docs: fix some link
2017-02-09 17:55:26 +08:00
偏右
75a4b06e44
Unified border radius, close #4772 ( #4773 )
2017-02-08 14:21:29 +08:00
Benjy Cui
5d7fc8c2b8
chore: add comment for tricky code
2017-02-07 12:10:20 +08:00
Benjy Cui
c565d42847
Revert "chore: remove useless code, close : #4402 "
...
This reverts commit 9b77a21a16
.
2017-02-07 12:05:12 +08:00
Benjy Cui
9b77a21a16
chore: remove useless code, close : #4402
2017-02-06 18:04:37 +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
afc163
9c6ce3fe48
fix RangePicker snapshot
2017-01-20 14:12:06 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
Benjy Cui
e3758168e4
fix: should switch to right panels, close : #4561 ( #4614 )
...
* fix: should switch to right panels, close : #4561
* docs: update demo
2017-01-19 13:55:04 +08:00
afc163
784915e55b
Fix DatePicker time scroll issue, close #4412
2017-01-15 14:10:20 +08:00
Benjy Cui
97221a6f63
css: fix style issue, close : #4415
2017-01-12 10:35:17 +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
7d75a2673a
components/date-picker/locale/sv_SE.jsx
2017-01-08 19:24:55 +08:00
Jesper We
c6f6de3605
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:28 +08:00
Benjy Cui
df18edda79
chore: update link to locale format
2017-01-08 19:14:02 +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
afc163
56bd431cc6
clean demo
2017-01-04 11:07:49 +08:00
afc163
11f509a972
clean demo
2017-01-04 11:00:58 +08:00
Benjy Cui
9d92066d1f
chore: update data-picker detail, ref: #4415
2017-01-04 10:48:40 +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
afc163
c3982b02aa
Fix monthCellContentRender and wrong documentation, close #4394
2016-12-30 15:04:13 +08:00
afc163
ecd2e57ef2
controlled DatePicker should not be clear
2016-12-20 11:01:10 +08:00
Benjy Cui
f3c55c6ef8
Revert "site: use cdn to improve performance, close : #3646 "
...
This reverts commit 47f56eab23
.
2016-12-20 10:19:06 +08:00
Benjy Cui
47f56eab23
site: use cdn to improve performance, close : #3646
2016-12-19 20:22:29 +08:00
Wei Zhu
666e80a1ba
tests: Fix table import
2016-12-14 15:38:26 +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
afc163
b912f1cea6
Fix DatePicker[showTime] default width
2016-12-11 13:59:06 +08:00
Benjy Cui
904be38493
docs: update locale format ( #4150 )
2016-12-07 10:45:20 +08:00
kdenz
aab32236c6
hours array should be from 0 to 23, not 0 to 59 ( #4157 )
2016-12-07 10:05:31 +08:00
Benjy Cui
273faafaa2
fix: should use moment.isMoment, close : #4147
2016-12-06 14:21:17 +08:00
afc163
f9bad27469
Fix DatePicker input style
2016-12-05 00:27:03 +08:00
afc163
8df23e2d06
revert value undefined for resetFields, close #3846
2016-12-03 15:50:36 +08:00
afc163
edd57defa5
use moment.isMoment
...
http://momentjs.com/docs/#/query/is-a-moment/
2016-12-03 14:48:44 +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
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
Wei Zhu
bd55d21f83
style: Fix jsx-no-multiline-js ( #3994 )
...
* Fix jsx-no-multiline-js
* TimePicker addon test
* Transfer search test
2016-11-25 12:03:39 +08:00
Nathan Tavares Nascimento
c97e687edd
feature: add pt_BR locale support ( #4004 )
2016-11-25 09:44:28 +08:00
afc163
f3df6205a4
fix RangePicker placeholder not working bug
2016-11-23 20:35:34 +08:00
Wei Zhu
ccbebe60cc
style: Fix jsx alignment, #3966 ( #3967 )
2016-11-23 17:53:10 +08:00
afc163
7b61b84145
Add missing doc for DatePicker[placeholder]
2016-11-23 11:30:05 +08:00
afc163
3b8ac48e6b
update DatePicker demo format
2016-11-23 11:23:18 +08:00
Benjy Cui
1ae5bb9845
chore: remove quick selector label, ref: #3753
2016-11-21 11:41:33 +08:00
Benjy Cui
38fd7f6feb
chore: improve detail
2016-11-18 10:22:11 +08:00
Benjy Cui
e5deba620d
css: improve style according to design, ref: #1418
2016-11-18 10:22:11 +08:00
Benjy Cui
f499a026ce
feat: basic impl of RangePicker[ranges], ref: #1418
2016-11-18 10:22:11 +08:00
RaoHai
d4269f8f30
fix format
props of RangePicker
...
+ close #3808
2016-11-14 20:27:51 +08:00
afc163
fc3d320872
much better way for #3748 and fix ok close animation
2016-11-14 19:38:24 +08:00
afc163
82fa3ed2a5
update DatePicker doc and demo
2016-11-14 19:13:37 +08:00
afc163
1850e4b7cf
fix disabled today style
2016-11-14 19:00:17 +08:00
Benjy Cui
bbef274aae
feat: expose DatePicker[showToday], ref: #3793
2016-11-14 11:57:12 +08:00
feng zhi hao
b6fbc266c5
add declaration in DatePicker ( #3829 )
2016-11-14 10:57:52 +08:00
Benjy Cui
26c5c8e11c
fix: should work with latest rc-time-picker ( #3810 )
2016-11-11 18:23:11 +08:00
Benjy Cui
c073e78074
fix: should work with timepicker without minutes and so on, ref: #3793 ( #3799 )
2016-11-11 17:50:48 +08:00
Benjy Cui
d4b5b701bd
docs: update demos for TimePicker
2016-11-11 16:06:11 +08:00
Benjy Cui
4da0ae4f42
docs: update demos for DatePicker, ref: #3793
2016-11-11 12:08:18 +08:00
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
...
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
e4974ac72a
use @font-size-base ( #1752 )
2016-11-08 20:57:07 +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
afc163
8f01552e0f
better way to fixing #3748
2016-11-07 15:41:03 +08:00
afc163
0acbba9838
fix DatePicker[showTime] now link, close #3748
2016-11-07 14:52:57 +08:00
Wei Zhu
caf09cd99e
Release 2.3.0 ( #3735 )
...
* docs: add change log for 2.3.0
* Update dependencies.
* Add TimePicker addon demo
2016-11-06 14:32:47 +08:00
afc163
d0c34380d4
simplify form demo code
2016-11-02 18:08:48 +08:00
afc163
4ae2467668
Merge branch 'master' of github.com:ant-design/ant-design
2016-11-02 16:55:50 +08:00
afc163
137299f4c8
blur DatePicker[showTime] will trigger onChange
2016-11-02 15:02:21 +08:00
Benjy Cui
168370fb82
docs: remove documentation about timezone
2016-11-02 13:59:28 +08:00
Benjy Cui
2dc5b11c43
docs: update docs about timezone
2016-11-02 13:47:05 +08:00
afc163
82c816fbc9
Fix controlled DatePicker[showTime] not working, close #3665
2016-11-02 12:03:13 +08:00
Benjy Cui
60ecb3c628
refactor: each message should warn just once
2016-11-01 11:10:11 +08:00
Benjy Cui
0b7856b712
fix: should check undefined value, close : #3665
2016-11-01 10:12:34 +08:00
Benjy Cui
eeb6ab5a01
docs: update docs for DatePicker and so on
2016-10-28 10:32:09 +08:00
Benjy Cui
f7e480ad53
feat: add DatePicker[allowClear], close : #3618
2016-10-28 10:10:02 +08:00
陆离
d051d94af4
feat: RangePicker disabledTime ( #3568 )
...
* RangePicker disabledTime
* update API document of RangePicker
2016-10-25 17:39:17 +08:00
Benjy Cui
4878258f6c
refactor: ref: #3490
2016-10-24 12:04:26 +08:00
feng zhi hao
0257e02e65
optimize declaration ( #3531 )
2016-10-21 16:27:26 +08:00
Benjy Cui
6343e6b763
docs: update demo
2016-10-21 15:18:13 +08:00
afc163
9e322ea445
remove unused demo
2016-10-21 12:20:14 +08:00
afc163
1700ae6078
better way to fix #3523
2016-10-21 12:19:34 +08:00
afc163
a0c96783c0
fix DatePicker align
2016-10-21 11:45:57 +08:00
afc163
ea6a84d9cf
fix DatePicker[showTime] onChange, close #3523
2016-10-20 22:11:55 +08:00
yiminghe
c2d3f16dfb
update tslint
2016-10-20 19:19:16 +08:00
Benjy Cui
3112b0d7ca
site: support debug mode for demo, close : #3506
2016-10-20 17:45:38 +08:00
Benjy Cui
5d4d9f5cea
style: update code style
2016-10-20 14:48:13 +08:00
Benjy Cui
39cf0899f5
fix: DatePicker should be vertical-align: middle, close : #3481
2016-10-19 11:22:10 +08:00
feng zhi hao
6bcd489c50
chore: optimize DatePicker`s declaration ( #3468 )
2016-10-18 15:20: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
afc163
c4665a78e2
remove strange margin-right of DatePicker confirm button in safari
2016-10-14 11:39:21 +08:00
Wei Zhu
26921cf234
fix: Pass format to Calendar ( #3407 )
2016-10-13 16:13:05 +08:00
陆离
24a68a8961
fix again: Datepicker 触发两次 onChange ( #3417 )
...
* fix again
* fix lint
2016-10-13 14:48:09 +08:00
陆离
2232c6b647
fix ( #3391 )
2016-10-12 11:47:34 +08:00
afc163
1566011720
continue to fix #3312 & #3307
2016-10-07 16:04:11 +08:00
afc163
f1d0223b66
Fix conflict less var, fix #3312
2016-10-07 15:41:11 +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
2d383067ce
docs: should remove domain, close : #3215
2016-09-29 15:08:57 +08:00
Benjy Cui
76d43e8d1b
docs: update demo
2016-09-29 14:36:18 +08:00
afc163
2875d024f9
fix range picker style
2016-09-29 12:20:21 +08:00
Benjy Cui
d8e9fff5ba
deps: upgrade dependencies, close : #3161 ( #3162 )
...
* deps: upgrade dependencies, close : #3161
* css: update style for DatePicker[showTime]
2016-09-27 13:42:30 +08:00
Benjy Cui
247757f63f
css: fix RangePicker's style
2016-09-21 16:43:09 +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
afc163
483b9e4888
Fix hover bounce style in DatePicker time panel
2016-09-18 14:21:45 +08:00
Benjy Cui
af7635a73c
fix: should work with rc-form, close : #3046
2016-09-18 10:20:35 +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
马斯特
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
2a57a4af27
fix: css of DatePicker
2016-09-14 14:22:27 +08:00
Benjy Cui
7459be26aa
docs: update docs about timezone, ref: #3020
2016-09-14 09:42:16 +08:00
Benjy Cui
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
Benjy Cui
58745edecf
docs: update
2016-09-13 11:51:34 +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
bab669d17d
Merge branch "1.x-stable"
2016-09-08 15:17:39 +08:00
afc163
87e6ec8940
fix date-picker demo
2016-09-08 14:09:36 +08:00
afc163
10862b30a2
Add missing prop open
into document, close #2792
2016-09-08 14:07:38 +08:00
afc163
903bb1aa82
fix lesshint
2016-09-08 11:14:39 +08:00
afc163
1dd810ebcb
update doc
2016-09-01 14:25:05 +08:00
Benjy Cui
a6d7cc0035
style: update code style to please lint
2016-08-24 16:56:29 +08:00
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
2016-08-22 17:26:14 +08:00
Benjy Cui
e6280a7ea6
Merge branch '1.x-stable'
2016-08-22 17:05:37 +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
ddcat1115
6289d1202b
docs: LocaleProvider, DatePicker 补充时区说明 ( #2761 )
2016-08-18 15:39:57 +08:00
afc163
77fa03240b
Merge branch '1.x-stable'
2016-08-03 11:43:43 +08:00
Benjy Cui
a4d91fb99a
fix: should hide close button if not hover, close : #2584
2016-08-03 09:48:53 +08:00
afc163
0eeca99f02
Merge 1.x-stable
2016-07-26 22:20:33 +08:00
afc163
ca57794ae7
better implement for a2804cb
2016-07-25 14:03:56 +08:00
afc163
45c0a6e38f
blank line
2016-07-25 11:28:19 +08:00
afc163
32ab285886
Merge branch '1.x-stable'
2016-07-24 13:49:42 +08:00
afc163
2face80716
Click todayButton should trigger onChange, close #1902
2016-07-22 16:14:50 +08:00
afc163
a2804cbff5
Make clear icon more clear
2016-07-21 20:57:44 +08:00
afc163
92d127d8a5
Fix DatePicker style
2016-07-21 15:20:01 +08:00
afc163
5eb52885d6
@background-color-base
2016-07-21 15:02:24 +08:00
afc163
db4cbabf0c
Merge
2016-07-21 14:39:28 +08:00
afc163
42d34a5db3
Merge branch '1.x-stable'
2016-07-21 14:34:37 +08:00
RaoHai
8c739abeb5
style lint
2016-07-19 16:00:19 +08:00
RaoHai
7dd4a019d5
DatePicker 组件优化
...
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
面板上的 TimePicker
+ DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
+ RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
+ RangePicker showTime : 点击框外和确定均为确定操作。
+ RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
+ RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
+ RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
2016-07-19 16:00:19 +08:00
afc163
e2cc2838fd
Fix lesshint
2016-07-18 22:24:53 +08:00
afc163
f0995bd1e3
Merge 1.x-stable
2016-07-15 16:42:58 +08:00
afc163
43d8c0a4a2
Fix DatePicker onChange and onOk when showTime
...
onChange should be triggered at clicking ok button
when showTime is true. You can use onChange replace onOk
anytime.
This commit revert a05b4e6
, which break the behavious above.
close #2399 , also fix #2120
2016-07-15 16:26:14 +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
d68d42f69b
Merge 1.x-stable
2016-07-07 17:26:16 +08:00
afc163
842b55128f
Fix clear icon in RangePicker, close #2252
2016-07-07 16:28:00 +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
afc163
a24634f3ec
Merge 1.x-stable
2016-06-27 14:36:19 +08:00
afc163
6dcc1bc915
fix clear icon style, close #2182
2016-06-27 14:13:30 +08:00
afc163
c7da69036d
revert mistake of DatePicker time changed
2016-06-24 17:48:50 +08:00
afc163
619ceffd7e
fix createPicker.tsx
2016-06-24 14:43:46 +08:00
afc163
cc4cab5b1e
Merge 1.x-stable
2016-06-23 23:11:14 +08:00
afc163
7f8cb3f5cf
improve DatePicker clear icon
...
close #1707 , close #1708
ref #1817
2016-06-23 15:40:42 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00
ddcat1115
88f77f85ca
docs: translation-DatePicker ( #1932 )
2016-06-19 11:17:09 +08:00
afc163
94423f60f2
use readOnly
2016-06-15 17:49:16 +08:00
afc163
bec5d311a0
Improve DatePicker start-end demo expierence
2016-06-15 17:46:59 +08:00
afc163
a2d435aad7
Fix range cell background
2016-06-15 16:14:40 +08:00
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
2016-06-06 13:54:10 +08:00
afc163
81dad0452f
fix today link style
2016-06-02 21:20:40 +08:00
afc163
a05b4e6747
remove unused compatibility code, fix #1902
2016-06-02 21:19:28 +08:00
RaoHai
c65f201d51
DatePicker improvement
...
close #1701
2016-05-23 15:58:10 +08:00
afc163
5960ecab7a
fix code style
2016-05-21 21:45:07 +08:00
afc163
2464d2acfc
Merge branch 'master' of https://github.com/ecofe/ant-design into ecofe-master
2016-05-21 21:44:01 +08:00
afc163
239eaca72c
fix doc, close #1761
2016-05-19 11:19:09 +08:00
kaifei
e3ba415822
add callback toggleOpen
2016-05-18 15:55:50 +08:00
Benjy Cui
8842d9342a
site: update components' type
2016-05-16 15:41:55 +08:00
Benjy Cui
dd57b6d707
fix: should pass locale to TimePicker
2016-05-11 14:59:32 +08:00
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
2016-05-11 09:32:33 +08:00
afc163
4a3fe9e102
fix TimePicker style in DatePicker
2016-05-10 15:29:15 +08:00
afc163
fcf3242570
upgrade eslint-config-airbnb and fix lints
2016-05-10 15:15:09 +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
Benjy Cui
22e35544b6
fix: should not cache formatter, close #1509
2016-04-27 11:15:20 +08:00
Leon Shi
baac12d1c4
fix lint ( #1513 )
...
* fix lint `prefer-stateless-function`
* fix lint `arrow-body-style`
2016-04-26 14:09:19 +08:00
afc163
293812098a
Merge branch master into develop-1.0.0
2016-04-25 19:34:01 +08:00
afc163
0805d4365d
update locale demo
2016-04-25 19:27:02 +08:00
afc163
8a422ba2cd
update demo
2016-04-15 23:54:47 +08:00
qubaoming
2d72bc58d2
adjust props position & range-picker add showTime options
2016-04-15 14:47:39 +08:00
qubaoming
94e0488812
adjust props position
2016-04-14 16:48:34 +08:00
qubaoming
fc66d27042
change timepicker options to rctimepicker options
2016-04-14 15:48:16 +08:00
qubaoming
6b3a97b902
change timepicker options to rctimepicker options
2016-04-14 15:42:03 +08:00
qubaoming
a674657287
data-picker extent options
2016-04-14 15:14:17 +08:00
qubaoming
c4bdf93a33
Merge remote-tracking branch 'upstream/develop-1.0.0' into develop-1.0.0
2016-04-14 15:10:43 +08:00
qubaoming
fd57f4c12d
date-picker extend options
2016-04-14 12:32:25 +08:00
plandem
9af3e4fc55
ru locale ( #1411 )
2016-04-14 11:57:59 +08:00
Benjy Cui
0ebf6c2ecc
style: enable react/prefer-es6-class
2016-04-13 17:23:14 +08:00
afc163
ec04fcac36
Merge branch master into develop-1.0.0
2016-04-13 15:33:44 +08:00
afc163
f75deafc6e
Merge branch 'master' of github.com:ant-design/ant-design
2016-04-13 14:37:33 +08:00
afc163
455d3654b8
Fix dateInput format of DatePicker, close #1403
2016-04-13 14:36:43 +08:00
Benjy Cui
208ecf5081
docs: update docs for MonthPicker
2016-04-13 09:25:29 +08:00
afc163
b155ba15cb
fix react@15 warning, ref #1340
2016-04-07 18:07:18 +08:00
afc163
1abf831ae8
Merge branch master into develop-1.0.0
2016-04-07 17:55:06 +08:00
afc163
f726979af9
fix(DatePicker): showTime locale problem
...
close #1356
2016-04-07 17:44:13 +08:00
afc163
655e4d5a7d
Add LocaleProvider support for RangePicker
2016-04-01 13:53:37 +08:00
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
2016-04-01 10:08:19 +08:00
Bruce Mitchener
fa65f25b1e
Switch RangePicker to ES6 class.
2016-03-31 20:23:39 +07:00
Bruce Mitchener
50d61eb7de
Fix RangePicker handleChange callback.
...
There was a minor typo in 2e86463a6a
which broke the handleChange callback (this.props was replaced with
props.props rather than just props).
2016-03-31 19:32:43 +07:00
Benjy Cui
2a3febfe4c
deps: remove useless dependencies
2016-03-31 16:47:03 +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
Benjy Cui
fd3406bd03
style: enable react/jsx-no-bind
2016-03-30 17:06:19 +08:00
Benjy Cui
2e86463a6a
refactor: remove mixin
2016-03-30 10:52:15 +08:00
Benjy Cui
6157d21089
refactor: DatePicker
2016-03-30 09:50:44 +08:00
Benjy Cui
193ba74bff
style: update code style
2016-03-30 09:41:18 +08:00
afc163
703cf31868
Add dateString to DatePicker & TimePicker onChange
...
close #1104
2016-03-28 12:18:30 +08:00
Benjy Cui
5e4786440d
deps: remove object-assign
2016-03-25 18:16:48 +08:00
afc163
66179b2760
Merge master into develop-1.0.0
2016-03-23 18:41:58 +08:00
afc163
20211d448c
Add default width for showTime DatePicker
2016-03-23 15:58:46 +08:00
Bruce Mitchener
11c0a6a203
Name classes without Ant* prefix.
...
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.
The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
2016-03-21 20:16:38 +07:00
Benjy Cui
ebab622add
Merge branch 'master' of github.com:ant-design/ant-design into develop-1.0.0
2016-03-15 09:47:55 +08:00
afc163
2482140d2f
Change context locale name
2016-03-10 10:32:50 +08:00
afc163
99b58e67ec
Add other component for locale
2016-03-10 10:32:49 +08:00
afc163
56fb20b76d
Fix date-picker style prop
2016-03-09 11:33:05 +08:00
afc163
8070e05de1
update demo
2016-03-02 15:45:37 +08:00
Benjy Cui
c1659c2ce3
style: update code style to please lint
2016-02-22 10:52:30 +08:00
afc163
812225ea41
Fix DatePicker clear not work when showTime
2016-02-19 17:15:31 +08:00
afc163
c1bd0098d2
update code style
2016-02-19 17:14:53 +08:00
afc163
893248dec7
some style and doc
2016-02-18 21:13:13 +08:00
yiminghe
698ebb13b3
optimize calendar
2016-02-18 19:15:23 +08:00
afc163
72d077be1f
rollback time format problem, ref #953
2016-02-18 17:50:29 +08:00
Benjy Cui
29825f20c8
style: update code style to please lint
2016-02-17 18:04:42 +08:00
afc163
411f529242
Add getCalendarContainer prop to DatePicker, close #991
2016-02-03 14:30:58 +08:00
afc163
a92bfa7ac8
update date-picker doc
2016-02-02 17:51:59 +08:00
afc163
11f6582235
Fix date-picker onOk
2016-02-02 17:49:44 +08:00
afc163
21eac259b6
fix dateInput format when contains time-picker, close #953
2016-01-30 16:15:43 +08:00
Benjy Cui
68b51e298d
style: update code style for space-before-function-paren
2016-01-27 17:00:58 +08:00
Benjy Cui
cd1391e6a2
style: update code style for object-curly-spacing
2016-01-27 17:00:58 +08:00
Benjy Cui
61df1eb1dc
fix: should pass formatter to rc-calendar #917
2016-01-26 10:24:15 +08:00
afc163
5fdb2109f4
fix time-picker demo
2016-01-26 00:28:50 +08:00
afc163
14447cb6ae
Merge from master
2016-01-19 18:51:45 +08:00
Benjy Cui
07cfe19095
fix: locale should be passed to timePicker #837
2016-01-19 09:26:24 +08:00
yiminghe
dc3b34510b
compatible with rc-form
2016-01-14 19:15:21 +08:00
afc163
a16903009e
merge from master
2016-01-13 22:22:33 +08:00
afc163
a479bc8fe3
Fix MonthPicker style, close #848
2016-01-13 17:30:54 +08:00
Benjy Cui
aa5c4f9595
style: update code style to please lint
2016-01-11 09:49:31 +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
1e001d2d82
upgrade eslint-config-airbnb
2016-01-11 09:48:29 +08:00
yiminghe
a5efd5d028
fix range picker
2016-01-02 17:03:56 +08:00
afc163
98b899d0cc
timePicker en-US, ref #771
2015-12-29 22:40:09 +08:00
afc163
91bd7f22c0
use mountNode replace the long getElementById
2015-12-29 12:08:58 +08:00
yiminghe
1f22b567d2
fix parseDateFromValue
2015-12-28 11:43:43 +08:00
afc163
c45c6877f8
fix lint problems
2015-12-27 16:20:59 +08:00
afc163
e0fb571ebc
Add dateInputPlaceholder
2015-12-25 18:04:01 +08:00
afc163
8dea7fbe15
Rollback with-time-picker demo but do not show
2015-12-25 15:34:32 +08:00
afc163
82bb807932
update RangePicker style
2015-12-25 15:27:24 +08:00
afc163
2fd64b4997
update date-picker api
2015-12-25 01:52:52 +08:00
afc163
69faeb9145
Fix button text whitespace
2015-12-25 01:44:06 +08:00
afc163
2ea1fb48a4
rm onSelect
2015-12-25 01:21:46 +08:00
afc163
cbf7d27664
improve rangepicker and add showTime prop
2015-12-25 01:21:03 +08:00
Benjy Cui
afa40dd919
feat: add RangePicker
2015-12-24 14:45:22 +08:00
afc163
56336717ab
Add hint for name changing
2015-12-23 19:09:31 +08:00
afc163
41660c3814
fix value prop of DatePicker to controlled prop
2015-12-12 13:38:25 +08:00
afc163
d759d1f489
Datepicker => DatePicker, Timepicker => TimePicker
2015-12-10 16:30:18 +08:00