MadCcc
4184cc782c
Merge branch 'master' into feature-merge-master
2022-05-07 12:24:25 +08:00
Karott Schu
d07dcd46b7
fix(<Row/>): wipe out unnecessary prop ( #35409 )
...
* fix: wipe out unnecessary prop
* wipe out unnecessary prop(`row-gap: 0px`) on <Row />
* add test case
* chore: remove unnecessary import
* chore: add prop to Row and Col
* chore: update snapshot (Form/Grid/Card)
* chore: update snapshot
* chore: move location
2022-05-07 11:44:48 +08:00
zombiej
84662ce774
chore: next merge feature
2022-05-06 18:46:16 +08:00
github-actions[bot]
25de1c4d31
chore: auto merge branchs ( #35399 )
...
chore: feature merge master
2022-05-06 05:52:21 +00:00
zombiej
7460c95b65
chore: merge master
2022-05-06 12:03:15 +08:00
二货机器人
7511b9e8ac
test: replace textarea some test case with testing lib ( #35398 )
...
* test: replace textarea some test case with testing lib
* test: full process
* test: mv input test to input scope
* test: fix lint
2022-05-06 11:48:18 +08:00
zombiej
3e69660e52
chore: merge master
2022-05-01 16:32:08 +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
qyzzzz
8ca52a1dda
fix: input onSearch trigger wrongly ( #34844 ) ( #35164 )
...
Co-authored-by: zhangqingyang@mindlinker.com <zhangqingyang@mindlinker.com>
2022-04-26 15:00:48 +08:00
afc163
756f06c2fe
chore: sync master into next branch
2022-04-20 11:30:55 +08:00
zombiej
5dfa8678c0
docs: add input showCount lose focus desc. close #35080
2022-04-20 10:33:42 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
2022-04-20 00:16:39 +08:00
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
...
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-18 21:02:11 +08:00
github-actions[bot]
16fb0e88a3
chore: auto merge branchs ( #35054 )
...
chore: sync master into next
2022-04-17 15:03:21 +00:00
MadCcc
1c8e499f9c
test: migrate some test case to testing-library ( #35062 )
...
* test: migrate some test case to testing-library
* chore: code clean
* test: fix stylelint
* test: test case
2022-04-17 22:36:36 +08:00
MadCcc
e4a87750ac
test: update test cases to testing-lib ( #35056 )
2022-04-15 23:33:10 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
zombiej
a8010d5422
chore: next merge master
2022-04-15 15:44:02 +08:00
二货机器人
67ccf39bd3
fix: Notification & message throw createRoot
warning in React 18 ( #35030 )
...
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
2022-04-14 18:09:19 +08:00
maxin
3142c10b04
docs(input): use Intl.NumberFormat ( #34985 )
...
Co-authored-by: maxin <maxin@growingio.com>
2022-04-13 18:24:12 +08:00
zombiej
d907338d79
chore: merge feature
2022-04-12 15:59:36 +08:00
zombiej
a0d1440050
chore: merge conflict
2022-04-11 17:41:54 +08:00
MadCcc
101865cf7e
fix: statistic token ( #34962 )
...
* fix: statistic token
* fix: all components token
* test: fix lint
* chore: code clean
* Revert "chore: code clean"
This reverts commit 2c0e7d6ba3
.
2022-04-11 16:04:00 +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
二货机器人
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
2022-04-06 11:07:15 +08:00
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
2022-04-03 23:27:45 +08:00
afc163
a73629fb85
chore: merge feature
2022-03-31 09:57:33 +08:00
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
2022-03-30 14:13:36 +08:00
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
2022-03-30 13:54:21 +08:00
二货机器人
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
2022-03-29 15:57:39 +08:00
MadCcc
c84a7aa7ec
Merge branch 'feature' into next-merge-feature
2022-03-29 14:55:39 +08:00
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
2022-03-29 13:49:50 +08:00
zombiej
8489c59b61
chore: merge master
2022-03-28 22:27:58 +08:00
二货机器人
8a3ee71006
chore: add control-radius ( #34727 )
2022-03-27 00:20:38 +08:00
MadCcc
a58bcdcaaf
test: fix lint
2022-03-25 20:42:05 +08:00
MadCcc
9f3dc50df6
Merge branch 'next' into next-merge-feature
2022-03-25 20:19:42 +08:00
MadCcc
cf18b1443b
Merge branch 'feature' into next-merge-feature
2022-03-25 20:08:05 +08:00
MadCcc
0d4cc5ed33
refactor: adjust TextArea in form ( #34714 )
2022-03-25 19:31:42 +08:00
二货机器人
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
2022-03-25 17:54:57 +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
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
2022-03-24 21:54:20 +08:00
二货机器人
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
2022-03-24 14:30:48 +08:00
MadCcc
b63bdc47e5
Merge branch 'master' into next-merge-master
2022-03-23 22:08:40 +08:00
二货机器人
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
2022-03-22 20:02:04 +08:00
二货机器人
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
2022-03-22 13:26:29 +08:00
二货机器人
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
2022-03-22 09:37:37 +08:00
MadCcc
47282f73bf
fix: clear icon style ( #34610 )
2022-03-21 12:04:34 +08:00
afc163
15fd642f7e
chore: merge next to master
2022-03-19 17:23:54 +08:00
afc163
86b045e12c
test: add type test for Input
2022-03-17 14:20:14 +08:00
vagusX
fcbae92f5a
docs: update Input docs for default size in Form ( #34537 )
2022-03-16 17:34:07 +08:00
vagusX
4eb097cef9
fix: typos in Input.tsx ( #34534 )
2022-03-16 16:04:01 +08:00
MadCcc
bb096ca201
Merge branch 'master' into next-merge-master
2022-03-14 21:07:48 +08:00
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
2022-03-14 20:57:01 +08:00
MadCcc
c9b6a24978
chore: add focus warning for Input ( #34475 )
...
* chore: add focus warning for Input
* chore: code clean
* chore: remove duplicate variables
2022-03-14 15:37:02 +08:00
MadCcc
14e719295e
fix: input classname in affix wrapper ( #34474 )
2022-03-14 15:05:24 +08:00
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
2022-03-14 11:40:13 +08:00
github-actions[bot]
15112c0653
chore: auto merge branchs ( #34432 )
...
chore: sync master into next
2022-03-11 07:27:50 +00:00
高喵喵
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
2022-03-10 19:26:01 +08:00
MadCcc
4c666f5775
fix: clear status in input addon ( #34412 )
2022-03-10 19:04:51 +08:00
MadCcc
b199d9d2fa
fix: input lg font size ( #34381 )
2022-03-09 17:08:29 +08:00
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
2022-03-09 10:38:02 +08:00
github-actions[bot]
99c2b1a266
chore: auto merge branchs ( #34362 )
...
chore: merge master into next
2022-03-08 07:52:16 +00:00
MadCcc
33ddc539df
refactor: Input.Group use context hook ( #34361 )
2022-03-08 15:09:02 +08:00
github-actions[bot]
6bc219b13b
chore: auto merge branchs ( #34358 )
...
chore: merge master into next
2022-03-08 06:56:08 +00:00
MadCcc
6ef85f654d
fix: password icon color ( #34354 )
2022-03-08 13:46:11 +08:00
MadCcc
c7f6e1f199
refactor: clearIcon in allowClear ( #34340 )
...
* refactor: Input allowClear api upadte
* test: add test
2022-03-08 01:40:24 +08:00
github-actions[bot]
465c30f8fc
chore: auto merge branchs ( #34334 )
...
chore: sync master into next
2022-03-07 14:42:19 +00:00
MadCcc
77960c3f75
feat: Input support clearIcon ( #34325 )
...
* feat: Input support clearIcon
* docs: update Input api
2022-03-07 14:02:37 +08:00
MadCcc
8d7f137a09
test: add boolean value input test ( #34324 )
2022-03-07 13:09:07 +08:00
github-actions[bot]
fa90168c4c
chore: auto merge branchs ( #34297 )
...
chore: merge master into next
2022-03-04 08:28:28 +00:00
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
2022-03-04 12:07:25 +08:00
github-actions[bot]
6b08487afc
chore: auto merge branchs ( #34284 )
...
chore: merge master into next
2022-03-03 09:52:51 +00:00
github-actions[bot]
9bcd45fac2
chore: auto merge branchs ( #34266 )
...
chore: sync master into feature
2022-03-03 02:23:48 +00:00
aghArdeshir
b1fc8a5d7d
style: remove overriding !important from input border right width styles ( #34178 )
2022-03-02 18:57:15 +08:00
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
2022-03-01 14:17:48 +08:00
二货机器人
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
2022-02-18 14:17:32 +08:00
MadCcc
2c88f606c3
fix: remove duplicated style ( #34101 )
...
* fix: remove duplicated style
* chore: reduce bundle size limitation
* chore: raise bundle size
2022-02-18 10:31:19 +08:00
MadCcc
8054abe81f
feat: DatePicker and TimePicker support status ( #34073 )
...
* feat: DatePicker and TimePicker support status
* docs: demo add version
* chore: code clean
2022-02-16 21:14:51 +08:00
MadCcc
6a7acfbf6e
feat: inputNumber support status ( #34042 )
...
* feat: inputNumber support status
* test: fix test
* feat: custom status first
* refactor: getMergedStatus pass status in params
2022-02-16 11:48:24 +08:00
MadCcc
76ad890deb
Merge branch 'master' into feature-merge-master
2022-02-15 14:05:33 +08:00
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
2022-02-14 17:09:35 +08:00
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
2022-02-14 11:27:52 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
2022-02-11 15:02:59 +08:00
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
2022-01-15 22:08:19 +08:00
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>
2022-01-13 16:23:27 +08:00
whwangms
1c38ef941d
fix: remove input showCount attribute from parent component ( #33686 )
2022-01-12 23:03:23 +08:00
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>
2022-01-04 22:41:12 +08:00
二货机器人
0c621c4832
fix: input not support number value ( #33462 )
2021-12-29 11:32:49 +08:00
WeijieChen
3324bb2f59
docs: fix version error ( #33443 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-12-28 13:29:43 +08:00
zombiej
7ae451729f
test: update snapshot
2021-12-27 10:58:29 +08:00
zombiej
6ed4d855b1
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-27 10:45:42 +08:00
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
...
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
2021-12-23 11:51:10 +08:00
二货机器人
ff88851c4c
chore: Bump Select related deps ( #33364 )
...
* chore: bump select related version
* test: Fix test case
* chore: bump rc-select version
* test: Update snapshot
* chore: Update Select ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* chore: Update ts definition
* chore: fix internal ts def
* test: update auto complete snapshot
* chore: update snapshot
* chore: bump version
* chore: fix demo ts
* chore: Move ValueType to the first place
* test: Update test case
2021-12-21 21:38:11 +08:00
zombiej
396cfab983
test: Update snapshot
2021-12-16 10:51:32 +08:00
zombiej
42bc6dcdef
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-16 10:40:55 +08:00
二货机器人
d91ebe9acf
test: fix initial test case ( #33313 )
...
* test: fix initial test case
* chore: replace with exist fn
* chore: rm dep conflict
* chore: fix dev jest env
2021-12-16 00:57:03 +08:00
afc163
b1642233e8
fix: Revert "fix: TextArea missing maxLength attr." ( #33312 )
...
* Revert "fix: TextArea missing maxLength attribute (#32448 )"
This reverts commit ee703c187e
.
* fix: snapshot
2021-12-15 21:36:36 +08:00
zombiej
1698426161
test: Update snapshot
2021-12-01 22:52:49 +08:00
二货机器人
c6c0662b97
docs: Cascader displayRender data ( #33087 )
...
* docs: Cascader displayRender data
* ts: clean up
* test: Update rc-resize-observer version
* test: fix resize related test case
* chore: fix ts error
* test: Fix resize logic
2021-11-30 17:26:51 +08:00