Commit Graph

22705 Commits

Author SHA1 Message Date
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
github-actions[bot]
84475b4ea5
chore: auto merge branches (#38070)
chore: feature merge master
2022-10-18 06:44:07 +00:00
MadCcc
ee6657409b test: update test case 2022-10-18 14:15:41 +08:00
MadCcc
90937a75cf chore: code clean 2022-10-18 10:46:35 +08:00
MadCcc
b4fed31884 chore: udpate snapshot 2022-10-17 21:07:47 +08:00
MadCcc
442176627f Merge branch 'master' into feature-merge-master 2022-10-17 17:55:50 +08:00
二货爱吃白萝卜
7e70766193
docs: 4.23.6 changelog (#38058)
* docs: Update changelog

* docs: add textarea update

* docs: Adjust order

* docs: add rc-picker changelog
2022-10-17 17:06:47 +08:00
Zheeeng
d96ec8aa06
feat: add text config for editable (#37761) 2022-10-17 17:00:33 +08:00
叶枫
e72675da27
chore: stackblitz change tsx (#38039)
* feat: stackblitz change tsx

* feat: open

* feat: type

* feat: code
2022-10-17 16:39:30 +08:00
lijianan
a2de8f7b2e
chore: add isValidElement for isFragment (#38056) 2022-10-17 16:23:45 +08:00
afc163
14b83d97b5
Update package.json (#38050) 2022-10-17 16:17:22 +08:00
二货爱吃白萝卜
0992341f87
chore: docker update (#38053)
* chore: docker update

* chore: clean up

* fix: lock stylelint version

* Update package.json

Co-authored-by: MadCcc <1075746765@qq.com>

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-10-17 15:45:21 +08:00
Alan Deng
e246f00899
docs(Table): fix log value of selected row keys (#38051) 2022-10-17 13:32:00 +08:00
renovate[bot]
3c456c39c2
chore(deps): update dependency stylelint-config-standard to v29 (#38044)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-17 12:01:57 +08:00
liuycy
5442fc2412
fix: table header shadow issue (#28096) (#38023) 2022-10-17 09:47:16 +08:00
lijianan
9cec008e1a
refactor: CC => FC (#37969)
* refactor: CC => FC

* refactor: CC => FC

* refactor: CC => FC

* test: add test

* test: remove test

* test: add test

* fix: fix

* fix: fix

* test: del

* fix: fix debounce
2022-10-14 22:07:02 +08:00
MadCcc
92a32998ac
test: mock matchMedia configurable (#38034) 2022-10-14 19:58:24 +08:00
lijianan
2ef701be75
test: add test coverage (#37993)
* test: add test coverage

* fix: fix

* test: del test

* fix: fix

* fix: fix

* chore: update test

* chore: code clean

* chore: code clean

* test: update test case

Co-authored-by: MadCcc <1075746765@qq.com>
2022-10-14 15:53:29 +08:00
lijianan
82de4942d5
test: add case for coverage (#38018) 2022-10-14 14:03:01 +08:00
lijianan
71cfa31728
test: add test case (#38015) 2022-10-14 12:05:58 +08:00
lijianan
19eabb0819
fix: should support number 0 (#38006)
* fix: should support number `0`

* fix: should support number `0`

* test: add snap

* test: add snap

* test: add snap

* test: add snap
2022-10-14 11:37:48 +08:00
MadCcc
02b1176c43
chore: lock antd-imge-crop (#38014) 2022-10-14 10:41:53 +08:00
afc163
d667d1948f
chore: fix lint (#38005) 2022-10-13 18:22:00 +08:00
afc163
416c61f08e fix: Table ellipsis title missing
close #37977
2022-10-13 17:44:19 +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
xrkffgg
5148c31747
ci: use definite version (#37997) 2022-10-13 14:56:50 +08:00
MadCcc
220ec53d51
docs: fix csb source code type (#37990)
* docs: fix csb source code type

* chore: code clean
2022-10-13 11:55:41 +08:00
kiner-tang(文辉)
2559b2fb1b
feat(grid): row's 'align' and 'justify' support reponsive value (#37860)
* feat: row's 'align' and 'justify' support reponsive value

* refactor: refactor code

* refactor: refactor code

* refactor: refactor code

* refactor: refactor code

* refactor: refactor code

* refactor: refactor code

* refactor: refactor code

* docs: 更新文档

* docs: 更新文档

* docs: 更新文档

* docs: 更新文档

* feat: remove other

* Update components/grid/index.zh-CN.md

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

* docs: update support version

Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-10-12 23:52:29 +08:00
Yuki Zhang
4774497258
fix: Input.Search style in RTL (#37980) 2022-10-12 23:51:31 +08:00
hms181231
3f8962ec3e
test: Update Message test case sleep -> useFakeTimers (#37983) 2022-10-12 22:47:21 +08:00
hms181231
7709970d81
test: Update util test case sleep to useFakeTimers and deprecated HTMLDocument, use Document instead (#37984)
* test: Update util test case sleep to useFakeTimers and deprecated HTMLDocument, use Document instead

* test: Update util test case sleep to useFakeTimers
2022-10-12 22:46:16 +08:00
hms181231
56fe1ceeaa
test: Update Notification test case sleep -> useFakeTimers (#37985)
* test: Update Notification test case sleep -> useFakeTimers

* test: Update Notification test case sleep -> useFakeTimers
2022-10-12 22:44:28 +08:00
Hencky
1d89a9b2e6
docs: fix Dropdown.Button default placement (#37971) 2022-10-12 19:28:47 +08:00
黑雨
7387b2c443
feat: fix dropdownClassName (#37974) 2022-10-12 18:02:04 +08:00
lijianan
768ab54426
fix: delete defaultprops (#37966) 2022-10-12 11:39:06 +08:00
Zack Chang
e13dd21a9a
fix: correct a wrong title in demo of Datepicker (#37964)
* Update placement.md

* Update placement.md
2022-10-12 10:13:52 +08:00
lijianan
a76d07e0b2
test: add coverage (#37958) 2022-10-12 09:49:49 +08:00
hms181231
f2a6c07a67
test:Update Affix test case sleep -> useFakeTimers (#37956) 2022-10-11 22:51:59 +08:00
lijianan
7b285ea4c1
refactor: CC => FC (#37938)
* fix: f

* refactor: CC => FC

* fix: add ignore

* fix: fix

* fix: fix

* fix: remove onChange

* fix: remove onFinish

* fix: remove onFinish

* fix: remove useCallback

* fix: eslint error
2022-10-11 22:35:50 +08:00
hms181231
c04bdd0928
test: Update Anchor test case sleep -> useFakeTimers (#37955) 2022-10-11 22:22:36 +08:00
Zheeeng
e4568cee26
chore(deps): update typescript and eslint (#37942) 2022-10-11 16:12:12 +08:00
github-actions[bot]
8a454a136e
chore: auto merge branches (#37939)
chore: Feature merge master
2022-10-11 08:12:10 +00:00
Zheeeng
c96da09227
chore: update type resoving when importing from ant/lib/* (#37941) 2022-10-11 15:47:03 +08:00
二货机器人
20404ae03c test: Update snapshot 2022-10-11 15:44:49 +08:00
二货机器人
c376464329 fix: Upload disabled logic 2022-10-11 15:31:16 +08:00
Zheeeng
5325e19ba9
fix: remove unnecessary type assertion (#37930)
* fix: remove uncessary type assertion

* fix: remove as const
2022-10-11 15:20:37 +08:00
Zheeeng
8fc5af0d87
fix: the computed fontSize style may be empty string (#37928) 2022-10-11 15:20:06 +08:00
二货机器人
5f28b2e5a4 chore: merge maaster 2022-10-11 14:54:30 +08:00
二货爱吃白萝卜
44eb2505bd
fix: Tabs overflow calculation (#37937) 2022-10-11 14:35:56 +08:00
vagusX
760cb38dbf
fix: tsc error (#37932)
* fix: tsc issue

* fix: typo
2022-10-11 14:03:17 +08:00