Tom Xu
50416b3a7b
improvement: Form default locale ( #23165 )
* improve: Form default locale
* fix lint
* fix lint
* improve form doc
* add test case
* improve form validate messages
5 years ago
二货机器人
cefb7b29f2
chore: Update Locale context ( #22762 )
* Upgrade locale context
* fix logic
* fix lint
* add context ignore in test case
5 years ago
Gibson C
875f1afc79
feat: Define PickerLocale typedef ( #22132 )
5 years ago
Gibson C
d2ef74b2ed
feat: Refine locale types ( #22103 )
5 years ago
二货机器人
0b5c92b1a4
chore: Clean up merged code ( #20595 )
* chore: Clean up merged code
* fix hy-am
5 years ago
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
5 years ago
zombiej
fa8ddb4104
merge master
5 years ago
afc163
7743967bf6
🐛 Fix ConfigProvider locale not working for confirm
close #18731
5 years ago
zombieJ
2d7df45ab7
fix: ConfigProvider wrapper locale no need with only children ( #18075 )
* fix: ConfigProvider wrapper locale no need with only children
* skip react 15
5 years ago
zombieJ
81d8eb8afe
feat: ConfigProvider support locale ( #17816 )
* ConfigProvider support locale
* update docs
* update category
* clean up
* moving locale
* update check script
* update related code
* add test case
* demo link
* update doc
* hide one rule of md with eslint
* update error link
5 years ago
陈帅
daca08b6f1
merge master
6 years ago
ztplz
c7452f3a9d
Fix type error
6 years ago
Damian Green
83b30d7513
migrate locale provider to new lifecycle method
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
afc163
e3446840fa
Fix test case of LocaleProvider
which is broken by #10047
use constructor over componentDidMount
7 years ago
Zheeeng
08f5c27b0b
Use componentDidMount to replace componentWillMount: componentWillMount is deprecating ( #10047 )
7 years ago
Kenneth Luján Rosas
d7b44bda07
Fixes LocaleProvider `moment` usage ( #9853 )
7 years ago
Wei Zhu
a7b939db43
Set moment.locale to en if no locale code provide
7 years ago
Wei Zhu
4f56b4d52d
Fix error when locale is null
7 years ago
Wei Zhu
7f5922b209
Lazy set moment locale ( #8785 )
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Alexander Suevalov
35b2c5e58f
Adding missing optional `Upload` property to LocaleProviderProps ( #7862 )
7 years ago
Wei Zhu
401519ec6f
Fix types
7 years ago
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
8 years ago
Hubert Argasinski
6530e76758
update Modal.confirm locale on LocaleProvider componentWillMount ( #5494 )
8 years ago
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
8 years ago
Patrick Gidich
21ec9cb985
fix: issue with TypeScript for children of LocaleProvider ( #4234 )
Similar to issue:
https://github.com/ant-design/ant-design/issues/4140
Fixed in similar manner to how this issue was resolved:
a28743f648 (diff-9ae0a9df19960a2d1b9608f30f6b19b3)
children?: React.ReactElement<any>
8 years ago
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
ddcat1115
ef84f8d408
refactor: ts LocaleProvider ( #2548 )
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
a3850a4df8
LocalePrivider should not dependconfirm
9 years ago
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
9 years ago
afc163
83f96e5f19
Make LocalProvider compatible with Modal.xxx
9 years ago
afc163
2482140d2f
Change context locale name
9 years ago
afc163
d8f599fd3a
Add LocalProvider, ref #1055
9 years ago