ant-design/components
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__ feat: add new component Segmented (#34319) 2022-04-11 11:13:16 +08:00
_util perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
affix chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
alert docs: simplify demo code, #30853 (#35050) 2022-04-15 16:20:56 +08:00
anchor chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
auto-complete perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
avatar perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
back-top docs: demo support react18 (#34843) 2022-04-03 23:27:45 +08:00
badge docs: replace class component with hooks (#35461) 2022-05-10 13:00:31 +08:00
breadcrumb perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
button perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
calendar docs: replace class component with hooks (#35461) 2022-05-10 13:00:31 +08:00
card docs: replace class component with hooks (#35461) 2022-05-10 13:00:31 +08:00
carousel chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
cascader perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
checkbox perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
col
collapse perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
comment fix(<Row/>): wipe out unnecessary prop (#35409) 2022-05-07 11:44:48 +08:00
config-provider perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
date-picker perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
descriptions perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
divider docs: demo support react18 (#34843) 2022-04-03 23:27:45 +08:00
drawer chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
dropdown perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
empty test: replace Empty part test with test lib (#35289) 2022-04-29 23:25:13 +08:00
form perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
grid chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
icon perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
image chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
input perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
input-number chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
layout chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
list perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
locale fix: add missing localizations (#35430) 2022-05-08 22:35:46 +08:00
locale-provider perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
mentions chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
menu perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
message chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
modal perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
notification chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
overview docs: fix typo on Component Overview docs (#27919) 2020-11-21 08:29:38 +08:00
page-header chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
pagination chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
popconfirm chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
popover chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
progress perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
radio perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
rate chore: update snapshot due to rc-trigger bumped (#35106) 2022-04-20 00:16:39 +08:00
result perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
row
segmented chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
select chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
skeleton chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
slider chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
space chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
spin chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
statistic chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
steps chore: update snapshot due to rc-trigger bumped (#35106) 2022-04-20 00:16:39 +08:00
style fix: arrow style (#35401) 2022-05-07 12:04:46 +08:00
switch perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
table perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
tabs perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
tag chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
time-picker perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
timeline chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
tooltip chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
transfer perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
tree chore: eslint add consistent-type-imports (#35419) 2022-05-07 14:31:54 +08:00
tree-select perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
typography perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
upload perf: refactor devWarning for production code size (#35411) 2022-05-10 15:43:29 +08:00
version
index.tsx fix: DropDownProps => DropdownProps (#35161) 2022-04-21 22:09:59 +08:00