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