MadCcc
e5efbee968
refactor: Components based on Input migrate to genHook ( #34884 )
* refactor: Input base components use genHook
* chore: code style
* chore: code clean
3 years ago
二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
3 years ago
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
3 years ago
MadCcc
833ff22728
refactor: form cssinjs ( #34679 )
* refactor: form cssinjs
* fix: use rootPrefixCls
* feat: enhance
* test: update snapshot
* chore: code clean
* refactor: code enhance
* chore: code clean
* feat: add feedback icon style
* fix: padding
* feat: add motion easeout
* fix: explain padding
* fix: style
* chore: code clean
* test: update snapshot
3 years ago
Peach
25078f4673
refactor: cssinjs for Pagination ( #34661 )
* refactor: restore marginSM theme alias
* feat: export sm from input style
* refactor: cssinjs for Pagination
* refactor: use updated design token for Pagination
* refactor: update design token for Pagination
* refactor: update changed design token for Pagination
* chore: fixme for Pagination style
3 years ago
二货机器人
d437f9fad9
refactor: More token used on component ( #34766 )
* chore: add fontSizeIcon
* chore: cascader
* chore: slider token
* chore: slider token
* chore: move to outline
* chore: input style
* chore: input align
* chore: slider full
* chore: align inputNumber
* chore: input token
* chore: input-number token
* chore: mention token
* fix: ts def
3 years ago
MadCcc
2bff96fdd5
feat: Input.Group prevent components from getting style from Form.Item ( #34764 )
* feat: Input.Group provide isFormInput false
* test: update snapshot
* chore: code clean
3 years ago
二货机器人
8a3ee71006
chore: add control-radius ( #34727 )
3 years ago
MadCcc
a58bcdcaaf
test: fix lint
3 years ago
MadCcc
0d4cc5ed33
refactor: adjust TextArea in form ( #34714 )
3 years ago
二货机器人
2aa33578c2
refactor: Align with token ( #34713 )
* chore: Divider full token
* chore: typography with tokn
* chore: select with token
* chore: tree with token
* chore: select style
* chore: select style
* chore: clean up
3 years ago
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
* refactor: feedbackIcon migration
* test: update snapshot
3 years ago
MadCcc
0de1e66ff1
refactor: move override code in form ( #34694 )
* refactor: move override code in form
* refactor: radio and checkbox
* chore: code clean
* test: fix lint
* test: fix lint
3 years ago
二货机器人
d952088650
refactor: More alias token ( #34681 )
* chore: colorHighlight
* chore: bgSecondary
* chore: colorLink
* chore: link style
* chore: rm fly variables
* chore: colorAction
* chore: add warning comment
* chore: token outline
* chore: colorBgXXX
* chore: alert
* rm: zIndex
* chore: rm zIndexComponent
* fix: tag color checkabl
* chore: tags tmp
3 years ago
二货机器人
b967f9eb81
refactor: More alias token ( #34658 )
* chore: rm disabled color
* chore: color heading
* chore: shows tokn
* chore: fix color mapping
* chore: status colors
* chore: durations
* chore: outline color
* chore: comment info
* chore: background color
* chore: merge nexr
3 years ago
二货机器人
a7a180b913
refactor: Color related token ( #34648 )
* chore: move controlHeight in der
* chore: controlLineWidth
* chore: controlRadius
* chore: color
* chore: outline width
* chore: outline width
* chore: rm outlineBlurSize
* chore: colorTextLightSolid
3 years ago
二货机器人
608ce271b1
refactor: Move token to latest one ( #34637 )
* chore: rename motion
* chore: primary color
* chore: success color
* chore: all colors
* chore: mv control height up
* chore: font size format
3 years ago
MadCcc
47282f73bf
fix: clear icon style ( #34610 )
3 years ago
afc163
86b045e12c
test: add type test for Input
3 years ago
vagusX
fcbae92f5a
docs: update Input docs for default size in Form ( #34537 )
3 years ago
vagusX
4eb097cef9
fix: typos in Input.tsx ( #34534 )
3 years ago
MadCcc
d446bafc6b
refactor: cssinjs for textarea ( #34484 )
* refactor: cssinjs for textarea
* chore: code clean
* refactor: better code style
* test: fix lint
* chore: code clean
* test: fix rtl warning
3 years ago
MadCcc
c9b6a24978
chore: add focus warning for Input ( #34475 )
* chore: add focus warning for Input
* chore: code clean
* chore: remove duplicate variables
3 years ago
MadCcc
14e719295e
fix: input classname in affix wrapper ( #34474 )
3 years ago
MadCcc
249ae9fda8
refactor: input number cssinjs ( #34384 )
* refactor: input number cssinjs
* refactor: rtl
* chore: code clean
* pref: better code style
* test: fix lint
* perf: better style
* chore: code style
* chore: use GenerateStyle
* chore: remove useless px
3 years ago
高喵喵
fbb98f2b4f
Fix InputProps supports data attributes ( #34410 )
* fix: add data-xx for inputProps and convert input/_tests/index.test.js to tsx file
* fix: run tests
3 years ago
MadCcc
4c666f5775
fix: clear status in input addon ( #34412 )
3 years ago
MadCcc
b199d9d2fa
fix: input lg font size ( #34381 )
3 years ago
MadCcc
228d451832
refactor: input support cssinjs ( #34288 )
* refactor: input with cssinjs
* refactor: input cssinjs
* refactor: rtl
* chore: code clean
* chore: code clean
* refactor: adapt hash
* refactor: use input token
* refactor: status
* fix: style
* fix: rtl
* chore: update token
* chore: code clean
* chore: code clean
* chore: code clean
* refactor: enhance token
* fix: enhance padding
* perf: replace rtl styles
* refactor: place placeholder in input
* perf: rtl
* refactor: code perf
* style: code style
* fix: prefixCls
3 years ago
MadCcc
33ddc539df
refactor: Input.Group use context hook ( #34361 )
3 years ago
MadCcc
6ef85f654d
fix: password icon color ( #34354 )
3 years ago
MadCcc
c7f6e1f199
refactor: clearIcon in allowClear ( #34340 )
* refactor: Input allowClear api upadte
* test: add test
3 years ago
MadCcc
77960c3f75
feat: Input support clearIcon ( #34325 )
* feat: Input support clearIcon
* docs: update Input api
3 years ago
MadCcc
8d7f137a09
test: add boolean value input test ( #34324 )
3 years ago
MadCcc
5d51e8b5b4
fix: limit input class due to rc-input won't override input class ( #34294 )
* fix: limit input class due to rc-input won't override input class
* fix: add feedback into affix judgement
3 years ago
aghArdeshir
b1fc8a5d7d
style: remove overriding !important from input border right width styles ( #34178 )
3 years ago
MadCcc
bfebb88bdb
feat: introduce rc-input ( #34206 )
* feat: introduce rc-input
* fix: export InputRef alias
* docs: fix demo
* chore: code clean
* test: fix lint
* test: test coverage
* chore: code clean
* chore: code clean
* test: update snapshot
3 years ago
二货机器人
912ffb15d0
refactor: Button with cssinjs ( #33890 )
* init
* chore: cssinjs base button
* chore: more style
* chore: mix style
* chore: size
* chore: more style
* misc
* chore: re-structrue
* chore: icon onlt
* chore: back of disabled
* chore: loading status
* chore: loading motion
* chore: add active style
* docs: site prepare dynamic theme
* chore: bump antd cssinjs
* chore: color type check
* chore: bump cssinjs version
* chore: clean up useless ts def
* chore: ignore button style
* chore: rename ci
* chore: update cssinjs ver
* chore: ssr default wrapper
* chore: bump cssinjs version
* chore: ssr support
* chore: fix script
* test: fix node snapshot
* chore: move cssinjs pkg size from css to js
* test: coverage
3 years ago
MadCcc
2c88f606c3
fix: remove duplicated style ( #34101 )
* fix: remove duplicated style
* chore: reduce bundle size limitation
* chore: raise bundle size
3 years ago
MadCcc
8054abe81f
feat: DatePicker and TimePicker support status ( #34073 )
* feat: DatePicker and TimePicker support status
* docs: demo add version
* chore: code clean
3 years ago
MadCcc
6a7acfbf6e
feat: inputNumber support status ( #34042 )
* feat: inputNumber support status
* test: fix test
* feat: custom status first
* refactor: getMergedStatus pass status in params
3 years ago
MadCcc
37e042358d
feat: Input support status ( #33995 )
* feat: remove form status style && input support status
* test: update snapshot
* feat: update status prop in config provider
* fix: form item validateStatus support
* chore: code clean
* feat: status classname change
* test: update snapshot
* refactor: move formItemStatusContext to form folder
* refactor: merge utils
* refactor: rename statusUtils
* chore: code clean
* test: fix coverage
* chore: remove status prop of Form.Item
* chore: code clean
* docs: update demo
* test: fix lint
* feat: status only success and warning
* test: fix lint
* docs: update deamo
3 years ago
chenyizhongx
38b4a03c56
fix textarea maxlength issue ( #33910 )
* fix: textarea maxlength
* refactor: delete some useless code
* refactor: fix ci
* refactor and fix test case fall
* update snapshot
* add testcase
* refactor type defined
3 years ago
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
3 years ago
zhenfan.yu
0092253460
fix Input及相关组件设置 hidden 时展示问题 ( #33735 )
* fix: Image 图片底部空白 #30825
* feat: Input、Input.search、Input.Textarea、Input.password 设置 hidden 时 所有 prefix or suffix or showCount or allowClear or addonBefore or addonAfter 都应该隐藏
* fix: lint
* fix: test
* fix: test ui
3 years ago
hydraZty
aecf52e4b0
fix: Input can not be hidden when prefix is set ( #33706 )
* fix: Input can not be hidden when prefix is set
* test: jest case for #33692
Co-authored-by: hydraZty <hydra_zty@163.com>
3 years ago
whwangms
1c38ef941d
fix: remove input showCount attribute from parent component ( #33686 )
3 years ago
Jason Miller
36a5485870
fix: Avoid mutating Event properties that are supposed to be getters ( #33536 )
* Avoid mutating Event properties that are supposed to be getters
React's synthetic Event objects have mutable `target` and `currentTarget` properties. These are an incorrect emulation of the corresponding DOM Event properties, which are _getters_ and cannot be assigned-to. AntD's input handling attempts to assign to these getters, which fails in Preact because it uses native Event objects. The solution is to replace the simple property assignments with property definitions, which is likely smaller anyway due to the existing use of `Object.create()` to construct a prototypal facade of Event objects.
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
二货机器人
0c621c4832
fix: input not support number value ( #33462 )
3 years ago
WeijieChen
3324bb2f59
docs: fix version error ( #33443 )
Co-authored-by: machixian <machixian@myweimai.com>
3 years ago