Commit Graph

13920 Commits

Author SHA1 Message Date
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
f9b80cbcc3
refactor: provide iconCls in token (#34869)
* perf: provide iconCls in token

* chore: code style

* chore: use import/export type
2022-04-06 12:20:52 +08:00
MadCcc
d0c4d7b0ec
feat: add useComponentStyle (#34802)
* feat: add useComponentStyle

* chore: auto generic

* feat: add overload

* feat: filter component token

* feat: genComponentStyleHook

* test: fix lint

* feat: button for test case

* chore: code clean

* chore: code clean

* feat: add componentCls into token

* feat: merge token statistic

* chore: code clean

* fix: cache token merge

* chore: code clean

* chore: add comment & rename variables

* chore: code  enhancement

* chore: FullToken<ComponentName>

* chore: clean input

* chore: code clean

* test: fix lint

* feat: inset prefixCls

Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-02 22:55:02 +08:00
Long Hao (龙濠)
bffdf0dee5
refactor: Empty cssinjs (#34842)
* feat: next-empty finish

* fix: add comment and remove type

Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-04-02 18:17:14 +08:00
二货机器人
1dc998ace5
docs: Access component use which token (#34827)
* chore: token of it

* chore: not only

* chore: site always can statistic

* chore: shows

* chore: ignore useless coverage
2022-04-01 17:00:12 +08:00
黑雨
ead003a8e6
feat: cssinjs for list (#34739)
* feat: cssinjs for list

* feat: update for style

* feat: update for lint

* feat: update for style
2022-04-01 10:23:34 +08:00
dengqing
4b7c95b445
refactor: descriptions cssinjs (#34786)
* refactor: less move to cssinjs

* feat: move rtl related less to cssinjs

* style: comment style

* fix: remove all hashIds expecting root hashId

* docs: add hard code in v4

* refactor: rtl support switched to logical properties

* refactor: shorthand rtl className

* styles: style invalid

Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2022-03-31 17:11:44 +08:00
JiquanWang99
582df1199b
refactor: migrate the grid from less to cssinjs (#34573)
* refactor: migrate the grid from less to cssinjs

* fix: remove the hashid in col component

* refactor: split the useStyle of grid

* chore: add deps-lint-skip-all

* chore: add a fixme comment

* chore: remove the preset grid sizes in grid
2022-03-31 12:45:41 +08:00
github-actions[bot]
6515d80431
chore: auto merge branchs (#34801)
chore: sync master to next
2022-03-30 14:09:09 +00:00
Yunwoo Ji
f5c6379bba
fix: correct className (#34791) 2022-03-30 16:59:17 +08:00
afc163
c0304cca55
fix: Pagination should display middle size Select when ConfigProvider componentSize is large (#34756)
* fix: Pagination should display middle size Select
when ConfigProvider componentSize is large

close #34744

* fix snapshot
2022-03-30 16:38:08 +08:00
二货机器人
2733977245
chore: React 18 test case (#34781)
* chore: add 18 test

* chore: update test flow

* chore: fail fast

* chore: foce ci

* chore: more if

* chore: test it

* chore: back of it

* chore: master only

* chore: fix spell

* chore: force install

* test: comment 16 tmp

* chore: use react 17

* chore: install 18

* chore: back of 16 & 17
2022-03-30 14:35:43 +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
MadCcc
003e27ff4f
fix: mentions status style (#34776)
* fix: mentions status style

* test: update snapshot

* chore: code clean
2022-03-30 14:10:59 +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
zombiej
c89e33d0b6 test: update snapshot 2022-03-30 11:54:22 +08:00
黑雨
35cb77ade5
feat: cssinjs for skeleton (#34698)
* feat: cssinjs for skeleton

* feat: update for review

* feat: update for style

* feat: update for style
2022-03-29 20:55:44 +08:00
zombiej
2425c019bc chore: merge master 2022-03-29 20:51:03 +08:00
MadCcc
ff02a4e265
docs: replace grid design img (#34771)
* chore: replace grid design img

* fix: code error
2022-03-29 19:46:16 +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
xrkffgg
bc143ca65c
refactor: avatar cssinjs (#34737)
* refactor: avatar cssinjs

* style: format

* fix: group
2022-03-29 13:56:19 +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
shuaijiumei
0c4281f875
test: Update snapshot (#34758)
* fix: ci fail rollback

* fix: ci fail rollback
2022-03-28 22:25:23 +08:00
dengqing
0299966291
fix: skeleton cannot display children (#34751)
* fix: skeleton cannot display children

* fix: type error

* fix: add test case

Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2022-03-28 19:52:06 +08:00
MadCcc
c5e8efb82f
feat: Dropdown support switch options with arrow keys (#34738)
* feat: dropdown support auto-focus

* chore: code clean
2022-03-28 14:43:10 +08:00
二货机器人
96ddf2e452
chore: more less variables (#34746) 2022-03-28 14:04:15 +08:00
二货机器人
9c7c424590
fix: tag-border-radius not work (#34741) 2022-03-27 22:15:38 +08:00
二货机器人
8a3ee71006
chore: add control-radius (#34727) 2022-03-27 00:20:38 +08:00
afc163
0e7e4fbef5
refactor: move Carousel to css in js (#34634)
* refactor: move to css in js

* move some styles

* fix styles

* add more styles

* add variables

* add rtl styles

* use rootPrefixCls

* fix rtl style

* improve code style

* use context

* fix some issues

* refactor: argument usage

* refactor: argument usage

* remove unused css code
2022-03-26 17:32:36 +08:00
黑雨
215d2ad883
feat: add showCheckedStrategy api for cascader (#34568)
* feat: add showCheckedStrategy api for cascader

* feat: update doc

* feat: add demo and update doc

* feat: update demo
2022-03-26 00:17:34 +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
zombiej
98b6ca175c Merge remote-tracking branch 'origin/master' into next 2022-03-25 20:13:00 +08:00
黑雨
9af935f7d3
refactor: use useContext in skeleton (#34699)
* feat: use useContext in skeleton

* feat: use useContext in skeleton

* feat: update for lint
2022-03-25 20:11:33 +08:00
MadCcc
cf18b1443b Merge branch 'feature' into next-merge-feature 2022-03-25 20:08:05 +08:00
afc163
1935ece582
fix: notification prevent interaction on elements which under it (#34716)
* fix: notification prevent interaction on elements which under it

close #34700

* fix test case
2022-03-25 19:38:28 +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
Yunwoo Ji
c7553c2ba5
docs: fix type of style in tabs component (#34706) 2022-03-25 14:27:30 +08:00
Zack Chang
c8b2b28c95
Refactor/spin cssinjs (#34653)
* TODO: fix test case

* TODO: 样式、test文件的import

* TODO: 伪类不生效

* temp changed

* fix: disable eslint

* chore: update snapshots

* chore: 解决伪类不生效

* chore: update token prop name

* TODO: mark FIXME

* fix: recover snapshot

* fix: recover snapshot again

* chore: update snapshot

Co-authored-by: Zack Chang <zackchangjx@foxmail.com>
2022-03-25 14:26:09 +08:00
xrkffgg
1627207255
refactor: popover cssinjs (#34607)
* refactor: popover cssinjs

* fix cls

* fix cls

* fix overlay

* fix: token

* fix: util

* fix: block -> line

* fix: interface
2022-03-25 13:20:42 +08:00
元凛
8fe2002860 test: update spin snap 2022-03-25 12:07:48 +08:00
xrkffgg
cea34d3a61
Merge pull request #34697 from ant-design/next-merge-feature
chore: merge feature into next
2022-03-25 10:18:28 +08:00
zombiej
8d04e4c1a1 chore: next merge master 2022-03-25 10:06:06 +08:00
zhao-huo-long
5588dae212
fix: Descriptions number 0 can't render span (#34696)
* fix: number 0 can't render span

* Update Cell.tsx

* chore: add test case
2022-03-25 09:38:55 +08:00
黑雨
6451b2ea04
feat: cssinjs for drawer (#34656) 2022-03-24 23:33:51 +08:00
MadCcc
8da22ae59c Merge branch 'feature' into next-merge-feature 2022-03-24 22:58:40 +08:00