二货爱吃白萝卜
100fa29bef
feat: Input.OTP component support ( #48076 )
...
* chore: basic control
* chore: input instad
* docs: update demo
* chore: adjust operation interactive
* chore: lock selection
* chore: fix patch logic
* chore: merge logic
* chore: patch autoFocus
* test: update snapshot
* test: add test case
* test: coverage
* chore: update size limit
* docs: update docs
* test: fix test case
* chore: update comment
* refactor: change to length
* chore: blur all
* chore: size limit
2024-03-28 14:05:58 +08:00
lijianan
6c0d3e46c4
feat: CP support Input allowClear ( #47602 )
2024-02-27 10:25:35 +08:00
Eden Wang
28aaeafbbc
feat(mentions): supports 'allowClear' option ( #46396 )
...
* feat(mentions): supports 'allowClear' option
* feat(mentions): add allowClear testcase
* feat(mentions): update package and styles
* feat(mentions): update lint and styles
* fix: fixed lint error
* test: add case for custom clearIcon
* feat: add useAllowClear hook
* feat: rename useAllowClear to getAllowClear
* feat: rename useAllowClear to getAllowClear
* feat(mentions): add demo for allowClear
* feat(mentions): update demo desc
* feat(mentions): update demo desc
* feat(mentions): style align middle
* feat: add multi line mentions demo and update icon position
* feat: fixing visual regression report
---------
Co-authored-by: afc163 <afc163@gmail.com>
2023-12-25 10:37:26 +08:00
MadCcc
924f46fd88
feat: form support variant ( #46573 )
2023-12-22 10:05:15 +08:00
MadCcc
3af521d422
feat: Input/InputNumber/Mentions support filled
variant ( #46435 )
...
* feat: Input filled variant
* feat: InputNumber filled variant
* feat: mentions variant
* fix: TextArea status with affix
* chore: update snapshot
* chore: update snapshot
* feat: pagination input
* fix: fix diff
* feat: input-number disabled
* fixL InputNumber
* chore: update snapshot
* feat: better style
* chore: update
* chore: update snapshot
* feat: use variant classNames
* chore: update snapshot
* feat: mentions affix style
* chore
2023-12-18 17:53:31 +08:00
github-actions[bot]
5f9e52a5a8
chore: auto merge branches ( #46446 )
...
chore: merge master into feature
2023-12-14 07:32:07 +00:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId ( #46424 )
...
* refactor: cssVarCls
* refactor: update
* chore: update
* fix: cascader & tree-select
* fix: ribbon
2023-12-14 14:58:53 +08:00
MadCcc
e0c1841180
feat: InputNumber support variant ( #46381 )
2023-12-11 15:34:07 +08:00
MadCcc
4a07e13685
feat: Select variant ( #46379 )
...
* feat: Select variant
* chore: clean
* chore: add test
* chore: update demo
2023-12-11 14:55:58 +08:00
MadCcc
c588e82a9c
feat: Input deprecate bordered
for variant
( #46337 )
...
* feat: Input deprecate for
* chore: code clean
* feat: TextArea
* chore: code clean
---------
Co-authored-by: lijianan <574980606@qq.com>
2023-12-11 10:20:32 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks ( #46038 )
...
* refactor: genStyleHooks
* chore: update sciprt
* refactor: affix
* refactor: select
* chore: update
* refactor: update
* refactor: update
* refactor: done
* chore: code clean
* chore: code clean
* chore: fix lint
* chore: decrease size limit
* chore: code clean
* chore: code clean
* chore: remove export
2023-11-29 17:23:45 +08:00
MadCcc
047bc53920
refactor: Input support css var ( #45782 )
...
* refactor: Input support css var
* chore: update type
2023-11-10 17:32:43 +08:00
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning ( #44791 )
...
* refactor: deprecatedWraning
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
2023-09-13 22:07:33 +08:00
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter ( #44613 )
...
* feat: add warningContext
* refactor: part refactor
* chore: fix compile
* chore: part of it
* chore: part of it
* chore: part of it
* chore: fix lint
* chore: fix test
* chore: clean uo
* chore: hide warning def tmp
* chore: comment test
* chore: fix lint
* chore: refactor select icons
* chore: fix warning message
* test: update test
* chore: rm dead code
2023-09-11 17:28:04 +08:00
muxin
4eb6b51f34
feat: config-provider support Input className and style properties ( #43227 )
...
* feat: config-provider support Input className and style properties
* feat: config-provider support Form className and style properties
* Revert "feat: config-provider support Form className and style properties"
This reverts commit 183010d40a
.
* feat: support styles & classNames
* test: optimize test
2023-06-28 11:53:26 +08:00
daisy
8a4203bec8
fix(Space): modify the priority of the component's size ( #42752 )
...
* fix(Space): modify the priority of the component's size
* chore: snapshot
* chore: snapshot
2023-06-19 14:26:48 +08:00
lijianan
9d1854763d
refactor: add useSize replace React.useContext ( #42282 )
...
* refactor: add useSize
* fix
* fix
* fix
* fix
* fix
2023-05-12 14:53:47 +08:00
MadCcc
72a03efead
feat: input semantic dom ( #41493 )
...
* feat: input semantic dom
* chore: update deps
* docs: add toc
2023-03-28 09:57:55 +08:00
carla-cn
fd2db7614f
fix: diabled Input abbdon should not have status style ( #40744 )
...
Co-authored-by: zhouling <zhouling@kezaihui.com>
2023-02-17 15:45:29 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
...
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2023-01-20 11:03:50 +08:00
github-actions[bot]
ede5121d5f
chore: auto merge branches ( #40244 )
...
chore: feature merge master
2023-01-16 03:37:15 +00:00
lijianan
28d1157d6b
type: optimization undefined type ( #40241 )
...
* type: optimization undefined type
* fix type
* fix type
* add
* revert
* revert
* revert
2023-01-16 09:55:52 +08:00
MadCcc
642bb582eb
refactor: TextArea ( #40045 )
...
* refactor: TextArea
* chore: update snapshot
* chore: update snapshot
* chore: fix lint
* chore: classes
* refactor: mentions
* chore: bump rc-textarea
* chore: code clean
* chore: code clean
* chore: UPDATE SNAPSHOT
* chore: code clean
* test: cov
* fix: textarea size
2023-01-11 14:18:13 +08:00
MadCcc
5c72d04b10
Merge branch 'feature' into next-merge-feature
2022-10-19 17:46:21 +08:00
Yuki Zhang
c3e51506cc
feat: add Space.Compact ( #37652 )
...
* feat: add Space.Compact
* feat: update input style
* feat: add CompactItem for context memoize
* feat: add demo
* feat: update button style
* feat: update input style
* feat: 提取 getCompactClassNames 公用方法
* feat: update button style
* feat: update picker
* feat: add block prop for Space.Compact
* feat: use Space.Compact for Input#addonBefore/After
* feat: update addon
* refactor: compact
* feat: update
* feat: update
* feat: migrate styles to compact for new Input/Input.Search
* feat: organize input demo
* feat: add more button compact demo
* feat: resolve select border collapse
* feat: fix input addon select style
* feat: add input addon demo in Space
* feat: add useCompactItemContext hook
* feat: update compact-item style
* feat: rollback input#addon implements
* feat: rollback input#addon and input.search style
* feat: select border collapse
* feat: add Space.Compact demo
* feat: Space.Compact vertical for Button
* refactor: useCompactItemContext
* feat: update Button vertical demo
* feat: rtl for compact mixin
* feat: rtl for compact button
* feat: input rtl
* feat: add docs for Space.Compact
* test: add some tests for Space.Compact
* test: add tests
* feat: select style
* feat: handle select focus style
* feat: add useCompactItemContext for Picker and Cascader
* style: add compact-item style for cascader
* feat: support nested Space.Compact
* style: Input.Search in Space.Compact
* chore: clean
* feat: add useCompactItemContext for TreeSelect
* fix: lint issues
* fix: style lint
* docs: update demos for Space.Compact
* docs: update demo
* fix: add deps-lint-skip for space
* fix: add deps-lint-skip for space
* fix: handle edge case for useCompactItemContext
* test: add search test case
* chore: + bundlesize
* style: merge button compact style into one file
* style: improve style for nested compact
* fix: stylelint
* docs: update Space.Compact docs
* test: update demo snapshot
* test: update input debug test snapshot
* docs: update doccs for Space.Compact
* test: improve test cases for Compact
* docs: clean demos for Compact
* refactor: improve Space.Compact
* fix: add useCompactItemContext for Input.Search
* style: improve compact border-radius implementation
* refactor: use context to make nested compact works
* fix: input-number focused style
* refactor: remove useless style
* refactor: improve style for vertical compact
* test: update snapshot
* test: update snapshot for input
* refactor: improve compact-item-border-radius
* fix: search group in RTL
* style: improve style for button compact
* style: use after
* fix: stylelint
* chore: update snapshot
* style: improve button compact
* refactor: improve btn-icon-only style in compact
2022-10-18 16:23:10 +08:00
MadCcc
442176627f
Merge branch 'master' into feature-merge-master
2022-10-17 17:55:50 +08:00
MadCcc
4490d9dbdc
Merge branch 'master' into next-merge-master
2022-10-14 11:35:18 +08:00
linxianxi
23285382f1
fix(Input): should not have value prop on input after click toggle icon ( #37900 )
...
* fix(Input): should not have value prop on input when click toggle icon
* fix: 修改参数名
* fix: 修改传参
2022-10-13 15:07:43 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
二货机器人
5f28b2e5a4
chore: merge maaster
2022-10-11 14:54:30 +08:00
lijianan
480cb3cbc3
fix: remove defaultProps ( #37815 )
...
* fix: remove defaultProps
* fix: remove defaultProps
* fix: update snap
* fix: fix
* fix: fix
2022-09-30 15:58:34 +08:00
MadCcc
c8f9b31168
fix: password should not have value prop during inputing ( #37801 )
...
ref #20544
2022-09-29 23:40:24 +08:00
kiner-tang(文辉)
92a3c719dc
feat: Components under Form support custom disabled to override disabled of Form ( #37628 )
...
* feat: 当表单组件处于一个禁用的表单时, 该表单组件的禁用状态应该优先取决于表单组件本身的禁用状态
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: reset mergedSize change
* feat: reset mergedSize change
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: 优化 Checkbox 组件 disabled 逻辑判断
* Update components/switch/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: remove upload default value
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-09-20 16:48:59 +08:00
二货机器人
d970d80fa0
chore: next merge feature
2022-08-05 15:23:36 +08:00
yifanwww
8dfef70868
chore: Make data-${string}
undefinable ( #36858 )
2022-08-04 10:03:58 +08:00
二货机器人
394aba4afe
chore: merge master
2022-07-29 15:56:11 +08:00
Zheeeng
fd5d463213
chore: write React.ChangeEvent<E> once ( #36644 )
2022-07-23 16:37:32 +08:00
zombiej
cffc4f05aa
chore: merge master
2022-06-07 21:13:52 +08:00
MadCcc
1f080c299e
fix: Form.Item noStyle should not be affected by parent Form.Item ( #35849 )
...
* fix: Form.Item noStyle should not be affected by parent Form.Item
* test: update snapshot
* fix: status
* chore: code clean
* fix: modal and drawer
* test: fix lint
* chore: code clean
* refactor: noFormStyle
* chore: code clean
* revert: revert change in Form.Item
* chore: code clean
2022-06-06 23:39:00 +08:00
MadCcc
2d70027f45
Merge branch 'master' into feature-merge-master
2022-05-12 15:56:18 +08:00
afc163
84a969e5e0
chore: sync master into next branch
2022-05-11 15:36:22 +08:00
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
afc163
594f138760
resolve conflict between feature and master
2022-05-08 17:01:54 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
zombiej
84662ce774
chore: next merge feature
2022-05-06 18:46:16 +08:00
黑雨
b0a652580a
feat: Form disabled ( #35210 )
...
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
2022-04-29 20:48:10 +08:00
MadCcc
e5efbee968
refactor: Components based on Input migrate to genHook ( #34884 )
...
* refactor: Input base components use genHook
* chore: code style
* chore: code clean
2022-04-06 21:49:30 +08:00
MadCcc
cf18b1443b
Merge branch 'feature' into next-merge-feature
2022-03-25 20:08:05 +08:00
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
...
* refactor: feedbackIcon migration
* test: update snapshot
2022-03-25 17:48:12 +08:00
MadCcc
8da22ae59c
Merge branch 'feature' into next-merge-feature
2022-03-24 22:58:40 +08:00