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
Ivan Trofimov
33c58a8ef6
Update ru_RU.tsx ( #10616 )
...
* Update locale-provider ru_RU and tests
* Update locale-provider ru_RU and tests: patch-2
2018-05-22 16:31:12 +08:00
Junbin Huang
3a3d550b54
chore: upgrade menu ( #10305 )
...
* chore: upgrade menu and select
* Add test case for coverage percent
2018-04-29 23:01:58 +08:00
afc163
9b64a778d0
demo: fix console warning
2018-04-15 15:13:59 +08:00
afc163
4486c569f2
demo: update localeProvider demo
2018-04-15 15:11:59 +08:00
afc163
e3446840fa
Fix test case of LocaleProvider
...
which is broken by #10047
use constructor over componentDidMount
2018-04-15 15:09:13 +08:00
Zheeeng
08f5c27b0b
Use componentDidMount to replace componentWillMount: componentWillMount is deprecating ( #10047 )
2018-04-14 13:37:24 +08:00
Wei Zhu
502e7df2e5
Update snapshot for React 16.3
2018-03-30 11:04:49 +08:00
Kenneth Luján Rosas
d7b44bda07
Fixes LocaleProvider moment
usage ( #9853 )
2018-03-29 10:42:33 +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
afc163
ec6f370d8d
update snapshot
2018-03-23 15:29:02 +08:00
Yunus EŞ
9413f20ef6
Pagination Turkish Update ( #9679 )
2018-03-23 14:21:32 +08:00
Wei Zhu
1c0b5ed21e
Revert "Update snapshot"
...
This reverts commit 98356e87ff
.
2018-03-21 12:01:58 +08:00
zhuyue
98356e87ff
Update snapshot
2018-03-21 10:51:52 +08:00
afc163
8db3b1f46f
update snapshot
2018-03-15 11:42:42 +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
c5fc656ec8
Fix date mocking
...
Close #9599
It's an interesting bug, the time we store in the snapshot is in the summertime when you run it in wintertime, it fails.
2018-03-10 17:25:28 +08:00
偏右
8226ede38e
Fix test case for new jsdom ( #9527 )
...
* Fix test case for new jsdom
* use setTimeout as raf in jest jsdom
* Fix cancelAnimationFrame
* Add comment for facebook/jest#5147
* longer timeout
* fix snap
* upgrade antd-tools
2018-03-06 21:21:01 +08:00
afc163
f27bc6bd9d
fix snapshot
2018-02-09 17:07:33 +08:00
Wei Zhu
3b931e97c4
Merge branch 'master' into feature-3.2
2018-01-31 10:08:23 +08:00
Wei Zhu
1c27c28ba9
Fix Turkish locale
2018-01-29 11:13:55 +08:00
Wei Zhu
5950c09bf8
Update snapshot
2018-01-26 23:00:13 +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
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
Wei Zhu
a7b939db43
Set moment.locale to en if no locale code provide
2018-01-15 14:59:09 +08:00
Wei Zhu
96c312f8fb
Revert "docs: Fix LocelProvider demo"
...
This reverts commit 6f9c8da502
.
2018-01-15 14:59:09 +08:00
Wei Zhu
4f56b4d52d
Fix error when locale is null
2018-01-14 01:30:21 +08:00
Wei Zhu
6f9c8da502
docs: Fix LocelProvider demo
2018-01-14 01:09:46 +08:00
Wei Zhu
7f5922b209
Lazy set moment locale ( #8785 )
2018-01-13 03:53:25 -06:00
afc163
df89715d5f
update demo
2018-01-13 14:00:51 +08:00
Wei Zhu
5cda605d00
Fix date mock
2017-12-29 19:51:05 +08:00
Wei Zhu
8bd124b0e2
Remove empty test
2017-12-29 18:45:26 +08:00
Wei Zhu
b439ca7502
Improve LocaleProvider test
2017-12-29 18:44:19 +08:00
Wei Zhu
09ee79ec8c
Fix indent
2017-12-29 18:18:55 +08:00
Wei Zhu
18ba398f95
docs: Improve LocalProvider document
...
Close #8691
2017-12-28 17:17:24 +08:00
afc163
790a21a4ee
Fix snapshot
2017-12-19 19:33:44 +08:00
afc163
80686df38e
update snapshot
2017-12-18 09:48:43 +08:00
konakona
b77adb352f
Fix wrong translate ( #8488 )
2017-12-07 11:28:53 +08:00
Wei Zhu
01f4b4e713
Merge branch 'master' into antd-3.0
2017-12-01 11:50:07 +08:00
Mathew
6f37caefe7
Update de_DE.tsx to support Upload component ( #8394 )
...
- Added german translations
2017-12-01 10:30:31 +08:00
Wei Zhu
b44a0c93cd
Add focus() blur() and autoFocus to DatePicker ( #8345 )
2017-11-30 09:54:31 +08:00
Wei Zhu
bcbdd12ce1
Fix implicit any error for LocalProvider
2017-11-21 20:38:30 +08:00
Benjy Cui
e8b4892a70
site: fix demo, close : #8227
2017-11-20 15:19:43 +08:00
Wei Zhu
9678d3fcfd
Focus && blur support ( #8204 )
...
* Add test for select
* Add focus() and blur() for AutoComplete
* Add focus() and blur() to Cascader
* Add focus test for input
* Add focus() and blur() for Checkbox
* Add focus() and blur() for Radio
* Add focus() and blur() for Switch
* Add blur() for TimePicker
* Add focus() and blur() to TreeSelect
2017-11-19 01:41:40 +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
偏右
bdceb5f083
Review fix ( #8125 )
...
* Fix style
* Fix style
* fix lint
* Fix more styles
* Fix more styles
* update snap
2017-11-06 21:28:51 +08:00
Benjy Cui
b38c9c11a8
test: simplify snapshots for LocaleProvider
2017-10-31 14:55:53 +08:00
afc163
25a013a84b
Fix snapshot
2017-10-28 15:23:46 +08:00
Benjy Cui
e5699aff68
fix: should not import moment while useless, close : #8013
2017-10-26 10:50:18 +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
afc163
43f5ed30ac
Fix snapshot
2017-10-23 20:43:31 +08:00
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
2017-10-20 14:54:38 +08:00
afc163
11ff9e0d6a
Add snapshot for new locale
2017-10-14 14:49:44 +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
afc163
94c6c910ff
Merge branch 'master' into antd-3.0
2017-10-12 20:07:31 +08:00
Alexander Suevalov
35b2c5e58f
Adding missing optional Upload
property to LocaleProviderProps ( #7862 )
2017-10-11 07:13:39 -05:00
afc163
244a2fd2da
update locale-provider snap
2017-10-10 20:15:41 +08:00
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +08:00
afc163
b544e3aef8
update snapshot
2017-10-09 13:37:45 +08:00
afc163
4eb9d5ef56
Merge branch 'master' into antd-3.0
2017-10-09 13:33:59 +08:00
afc163
942ea41b02
update snapshot for new jest
2017-10-09 13:32:11 +08:00
afc163
475e4ff23d
upgrade eslint-config-airbnb
2017-10-09 13:27:35 +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
412d7eebba
Merge branch 'master' into antd-3.0
2017-09-22 18:37:08 +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
Kirill Stiopin
49080aa01d
fix: update for Dutch locale-provider: added missing translations ( #7694 )
2017-09-21 20:57:52 -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
Wei Zhu
579becd894
Update snapshot
2017-09-15 10:03:46 +08:00
afc163
9e319990d2
update snapshot
2017-09-14 18:09:30 +08:00
Stefan Paunovic
0ac7ccaa8f
feat: add is_IS locale ( #7561 )
2017-09-12 09:10:42 +08:00
afc163
7d619dfbd7
update snapshot for #7495
2017-09-06 19:39:46 +08:00
afc163
843d82f6bd
fix demo sanpshot
2017-08-30 14:24:47 +08:00
afc163
d4171badfd
Merge from master
2017-08-19 12:40:40 +08:00
Ramsés Moreno
20ea524ef1
fix: corrections in the Spanish locale ( #7234 )
...
* Corrections in the Spanish locale. In Spanish, the only uppercase letter in a sentece is the first letter and not in every word. Some othe minor changes.
* Corrections in the Spanish locale. In Spanish, the only uppercase letter in a sentece is the first letter and not in every word. Some othe minor changes.
2017-08-17 09:36:52 +08:00
Stefan Paunovic
7d8c7d72b7
feat: add sr_RS locale (Serbian) ( #7201 )
2017-08-15 09:24:30 +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
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
Wei Zhu
401519ec6f
Fix types
2017-07-31 01:50:46 +08:00
偏右
05473dcd0b
Merge pull request #6869 from imosapatryk/patch-2
...
Update pl_PL.tsx
2017-07-17 23:55:16 +08:00
imosapatryk
18bf973e94
Update pl_PL.tsx
...
'Search here' in Polish is just 'Szukaj'. 'Wyszukaj tutaj' sounds bad.
2017-07-17 16:10:51 +02:00
imosapatryk
3ccef11dec
Update pl_PL.tsx
...
Wrong file import
2017-07-17 16:05:58 +02:00
afc163
a481134cea
no need to import moment locale
2017-07-12 11:54:46 +08:00
Ivo Stratev
0bb73534b2
Fixing typos ( #6788 )
...
It should be "Добре" instead of "Дибре"
2017-07-11 00:28:34 +08:00
Sakol Assawasagool
bc7e0bad3e
feat: add th_TH translation ( #6721 )
2017-07-04 17:54:36 +08:00
afc163
2382250d82
Fix snapshot
2017-06-20 22:10:26 +08:00
afc163
78e39a5520
improve table locale text
2017-06-20 21:36:33 +08:00
Pierre Neter
7df095414c
docs: update i18n support 24 language ( #6483 )
...
Signed-off-by: Pierre Neter <pierreneter@gmail.com>
2017-06-15 17:34:38 +08:00
afc163
602cf0a309
Add test case
2017-06-09 20:00:16 +08:00
Evgeny Kuznetsov
1b79b74bea
Update et_EE.tsx
2017-06-07 21:52:08 +03:00
Evgeny Kuznetsov
23df258f50
Update es_EE.tsx
...
Pagination import was ommited, so chinese placeholders appeared.
2017-06-07 17:00:19 +03:00
Benjy Cui
b0040bfc37
test: update snapshot
2017-06-07 17:39:44 +08:00