Commit Graph

92 Commits

Author SHA1 Message Date
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router (#43573)
* fix: prepend use-client directive for with Next.js App Router

* Update components/affix/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/badge/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/cascader/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/list/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/qrcode/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/spin/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/select/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/spin/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/spin/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/steps/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/time-picker/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/transfer/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/tree-select/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-15 12:57:03 +08:00
afc163
86a5de1f37 chore: resolve merge conflict 2023-06-25 10:47:34 +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
KAM
0dcd6e8c22
fix(InputNumber): Fix incorrect disable state style for input box com… (#42974)
* fix(InputNumber): Fix incorrect disable state style for input box components with front and rear label configuration

* fix(InputNumber): Add case previews for pre and post tags and prefix activation in the disabled state in InputNumber, and add corresponding test cases

* fix(InputNumber): Fix the issue of incorrect inputNumber background color caused by the original prefix icon being disabled

* fix(InputNumber): Remove the toggle disable state interaction in the addon case

* fix(InputNumber): Optimize and merge style processing

* fix(InputNumber): Adjust the addon case and remove irrelevant cases

* fix(InputNumber): Update the snapshot in the InputNumber component unit test

* fix(InputNumber): Fix the issue of incorrect test snapshots caused by adjusting the controls in the disabled state display

* fix(InputNumber): Fix the issue of incorrect test snapshots caused by adjusting the controls in the disabled state display

* fix(InputNumber): Fix the issue of incorrect test snapshots caused by adjusting the controls in the disabled state display

* fix(InputNumber): Fix the issue of incorrect test snapshots caused by adjusting the controls in the disabled state display

* fix(InputNumber): Fix the issue of incorrect test snapshots caused by adjusting the controls in the disabled state display
2023-06-16 14:04:13 +08:00
muxin
5d62e636a1
refactor: rc-input-number refactored with baseInput (#42762) (#43000)
* refactor: refactor with BaseInput

* chore: bump rc-mentions & rc-textarea

* test: update snapshots

* test: update snapshots

* chore: bump rc-input

* fix: bump rc-input

* test: update snapshot

* test: update snapshot penta

* test: update snapshot

* fix: optimize function props

* test: update test

* test: update test

* test: update test

* fix: delete useless className

* feat: let baseInput cal class

* chore: bump rc-input-number

* test: update test

* Revert "test: update test"

This reverts commit a44b35a744.

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: bump rc-input-number

* chore: bump rc-input-number & rc-mentions

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-14 11:28:40 +08:00
MadCcc
3eb62fad15 Revert "refactor: rc-input-number refactored with baseInput (#42762)"
This reverts commit 3efb68ce6f.
2023-06-13 21:36:40 +08:00
muxin
3efb68ce6f
refactor: rc-input-number refactored with baseInput (#42762)
* refactor: refactor with BaseInput

* chore: bump rc-mentions & rc-textarea

* test: update snapshots

* test: update snapshots

* chore: bump rc-input

* fix: bump rc-input

* test: update snapshot

* test: update snapshot penta

* test: update snapshot

* fix: optimize function props

* test: update test

* test: update test

* test: update test

* fix: delete useless className

* feat: let baseInput cal class

* chore: bump rc-input-number

* test: update test

* Revert "test: update test"

This reverts commit a44b35a744.

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: bump rc-input-number

* chore: bump rc-input-number & rc-mentions

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-13 20:55:39 +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
lijianan
ac5a06027e
revert: "chore: unified import method (#42149)" (#42180)
This reverts commit ea8ed28209.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method (#42149)
* chore: unified import method

* fix lint
2023-05-05 20:52:44 +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
lijianan
8501adbd84
fix: add displayName (#40092)
* fix: add displayName

* rerun ci

* rerun ci
2023-01-08 21:30:41 +08:00
wangxingkang
2ad7a98368
chore: unify useContext usage (#39314)
* feat: replace useContext to React.useContext

* docs(checkbox): update defaultValue、value type
2022-12-06 21:09:59 +08:00
二货爱吃白萝卜
720b514ac5
refactor: bump rc-input-number (#39154)
* chore: bump rc-input-number

* chore: fix lint
2022-12-01 16:47:35 +08:00
Yuki Zhang
0b54a18afe
fix: context issues for Space.Compact (#38870)
* fix: context issues for Space.Compact

* test: update snapshots
2022-11-22 22:52:40 +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
03a1ae427d Merge branch 'feature' into next-merge-feature 2022-10-11 20:29:55 +08:00
二货爱吃白萝卜
9c78386f31
fix: InputNumber purepanel cmp with new override token (#37695)
* fix: override of components

* test: Update snapshot
2022-09-22 14:34:59 +08:00
二货爱吃白萝卜
9818c71eb7
feat: InputNumber support pure panel (#37526)
* feat: InputNumber support purePanel

* test: Update snapshot

* chore: simplify code
2022-09-22 11:54:05 +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
二货机器人
1cad665d15 chore: merge master 2022-09-07 10:35:16 +08:00
lijianan
7ca136230d
type: add type null (#37421)
* type: add type null

* fix: type fix
2022-09-06 17:00:17 +08:00
MadCcc
93908debec
feat: v5 radius (#37146)
* feat: v5 radius

* test: fix test
2022-08-19 10:10:51 +08:00
zombiej
91245c16ad chore: merge master 2022-06-21 19:40:22 +08:00
RainyLiao
7045aa7d7b
fix: repeat a css class in readOnly, which has been declared in rc-input-number (#36120)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:28:40 +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
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
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
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
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
MadCcc
4c666f5775
fix: clear status in input addon (#34412) 2022-03-10 19:04: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
黑雨
ee17f7185d
feat: inputNumber controls support customize upIcon/downIcon (#33914)
* feat: inputNumber controls support customize upIcon/downIcon

* feat: 修改代码格式问题

* feat: 更新snapshot,修改代码开启prettier

* feat: 更新snapshot,order 属性修改

* feat: upIcon/downIcon写法调整

* feat: 更新snapshot
2022-02-09 18:06:36 +08:00
Austaras
d1f87ccc80
feat: input number support prefix (#32600) 2021-10-30 22:25:12 +08:00
Austaras
d86e1b5153
feat: InputNumber support addon (#31432)
* feat: InputNumber support addon

* docs: Update InputNumber doc

* chore: Update snapshot and fix lint

* chore: Add release version

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>
2021-08-31 13:09:03 +08:00
Zuobin Wang
7f16838631
chore(all): delete useless Omit define (#31661) 2021-08-04 20:07:28 +08:00
二货机器人
bec5a08368
feat: InputNumber support stringMode (#29373)
* add input-number demo

* update snapshot

* update demo

* docs: Update desc

* update doc

* clean up React useLayoutEffect warning

* fix ts definition

* re-trigger

* update rc-uitl version

* bump rc-input-number

* update

* update

* fix ts

* update demo snapshot

* update doc

* update demo
2021-02-22 22:07:19 +08:00
xrkffgg
40663fb928
feat: InputNumber support bordered prop (#29105)
* feat: InputNumber support bordered prop

* update style
2021-02-01 17:06:20 +08:00
冷方冰
a4194baa25
fix: InputNumber的onChange的value的类型增加null (#28769)
Co-authored-by: 冷方冰 <lengfangbing@bytedance.com>
2021-01-08 20:15:37 +08:00
Tom Xu
b64d02fda9
refactor(input-number): useContext (#27086) 2020-10-12 10:59:40 +08:00
偏右
94cab40b04
feat: InputNumber support onStep (#27075)
* feat: InputNumber support onStep

* fix test case

* fix dep
2020-10-10 17:49:50 +08:00