ant-design/components/locale-provider
Karott 338ec7dad7
perf: refactor devWarning for production code size (#35411)
* pref: better code style for production

* refactor `devWarning`

* don't use `useEffect` only wrap `devWarning`

* chore: add 'noop' to coverage

* chore: add test cases for devWarning

* chore: add test case

* chore: update test cases for devWarning

* chore: restore test script command

* fix: remove 'throw new Error'

* should not use `throw` for browser

* chore: update test case for AutoComplete

* perf: add prefix for `devWarning`

* update RegExp for UMD

* add prefix for ES and CJS

* chore: better code style

* perf:

* upgrade antd-tools

* remove `injectWarningCondition`

* rename `devWarning` to `warning`

* chore: better code style

* chore: better code style

* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
..
__tests__ test: update snapshot (#35452) 2022-05-09 20:25:55 +08:00
style meger feature to master (#16421) 2019-05-06 12:04:39 +08:00
ar_EG.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
az_AZ.tsx feat: Azerbaijani translation (#21387) 2020-02-15 22:28:12 +08:00
bg_BG.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
bn_BD.tsx feat: Added bn_BD Bangla language (#31257) 2021-07-05 10:58:48 +08:00
by_BY.tsx chore: improve code style (#27266) 2020-10-21 10:35:06 +08:00
ca_ES.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
context.ts chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
cs_CZ.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
da_DK.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
de_DE.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
default.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
el_GR.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
en_GB.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
en_US.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
es_ES.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
et_EE.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
fa_IR.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
fi_FI.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
fr_BE.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
fr_CA.tsx feat: add fr_CA locale (#29748) 2021-03-14 16:47:32 +08:00
fr_FR.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
ga_IE.tsx Added Irish(ga_IE) locale (#24609) 2020-05-31 12:40:10 +08:00
gl_ES.tsx feat: Galician Locale (#26015) 2020-08-21 18:26:36 +08:00
he_IL.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
hi_IN.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
hr_HR.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
hu_HU.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
hy_AM.tsx Fix issue with locale provider for the Armenian locales 2019-09-02 10:47:11 +08:00
id_ID.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
index.tsx perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
is_IS.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
it_IT.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
ja_JP.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
ka_GE.tsx feat: Georgian translation (#32106) 2021-09-09 19:40:26 +08:00
kk_KZ.tsx feat: add Kazakh locale (#27589) 2020-11-07 16:04:44 +08:00
km_KH.tsx feat: Add km_KH locale to component (#32853) 2021-11-20 15:02:28 +08:00
kmr_IQ.tsx refactor: 🌎 new kmr_IQ to replace ku_IQ (#26030) 2020-08-06 10:40:58 +08:00
kn_IN.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
ko_KR.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
ku_IQ.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
LocaleReceiver.tsx chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
lt_LT.tsx lithuanian language (#26312) 2020-08-21 17:07:48 +08:00
lv_LV.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
mk_MK.tsx feat: add a Macedonian translation (#19647) 2019-11-09 23:17:33 +08:00
ml_IN.tsx feat: Malayalam(ml_IN) translation (#31521) 2021-07-27 10:56:41 +08:00
mn_MN.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
ms_MY.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
nb_NO.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
ne_NP.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
nl_BE.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
nl_NL.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
pl_PL.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
pt_BR.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
pt_PT.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
ro_RO.tsx Added support for Romanian locale (#18163) 2019-08-08 17:24:31 +08:00
ru_RU.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
sk_SK.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
sl_SI.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
sr_RS.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
sv_SE.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
ta_IN.tsx refactor: 🌎 new kmr_IQ to replace ku_IQ (#26030) 2020-08-06 10:40:58 +08:00
th_TH.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
tr_TR.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
uk_UA.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
ur_PK.tsx feat: add urdu language intl (#31346) 2021-07-13 10:02:21 +08:00
vi_VN.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
zh_CN.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00
zh_HK.tsx 🇭🇰 zh-HK locale 2020-07-21 23:24:33 +08:00
zh_TW.tsx feat: ConfigProvider support locale (#17816) 2019-07-24 10:34:55 +08:00