Commit Graph

492 Commits

Author SHA1 Message Date
MadCcc
373f0c5a65
refactor: shadow alias (#36213)
* refactor: shadow

* refactor: component box shadow

* refactor: shadow alias
2022-06-24 10:45:29 +08:00
二货机器人
c5b742d253
docs: warning for alpha (#36194)
* docs: warning for alpha

* chore: move to file

* fix: warning client only

* chore: move
2022-06-23 14:37:22 +08:00
zombiej
8749c1ae04 chore: merge master 2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
MadCcc
11833c275d chore: add dark theme 2022-06-21 17:17:19 +08:00
MadCcc
1bcfe0cce3
refactor: motion (#36136)
* fix: modal motion

* fix: image motion

* refactor: popover & tooltip motion

* chore: code clean

* refactor: move motion

* refactor

* chore: code clean

* refactor: dropdown support move motion
2022-06-21 00:34:51 +08:00
MadCcc
5639e1a5ba
feat: update token (#36095)
* feat: update token

* feat: update token

* fix: override ts definition

* fix: rename token
2022-06-17 18:47:47 +08:00
MadCcc
711601e93e
feat: support custom token (#36057)
* feat: useCustomToken

* feat: simplify useCustomToken

* test: fix lint

* feat: genGenComponentStyle

* test: fix lint

* feat: use prefixCls

* feat: default genStyleHook

* test: fix lint

* test: fix lint

* docs: add jsdoc

* feat: remove  in useCustomToken params

* feat: useStyle

* feat: useStyel

* chore: code clean
2022-06-17 18:17:39 +08:00
MadCcc
2fccf8aee9
fix: override token (#35956)
* fix: override token

* feat: format token correctly

* test: add test
2022-06-09 10:42:22 +08:00
zombiej
cffc4f05aa chore: merge master 2022-06-07 21:13:52 +08:00
二货机器人
fb322cd70e
refactor: Full token tooltip (#35896)
* refactor: full token

* refactor: full token

* test: Udpate snapshot
2022-06-02 22:15:54 +08:00
MadCcc
d065cc768b
refactor: Tabs full token (#35891)
* refactor: tabs full token

* refactor: tabs full token
2022-06-02 19:28:06 +08:00
MadCcc
407958de8a
refactor: pagination full token (#35872)
* refactor: pagination full token

* chore: code clean
2022-06-02 19:27:31 +08:00
Luobo Zhang
a5074efcb0
refactor: Wave in React 18 StrictMode (#35889) 2022-06-02 18:39:32 +08:00
二货机器人
4975cbff05
refactor: Full token transfer (#35882)
* more

* refactor: full token

* refactor: full token
2022-06-02 16:17:40 +08:00
MadCcc
1356b52719
refactor: skeleton full token (#35866)
* refactor: skeleton full token

* refactor: skeleton full token

* chore: code clean

* chore: code clean
2022-06-02 15:06:27 +08:00
MadCcc
a434ec7614
refactor: Steps full token (#35841)
* refactor: steps full token

* refactor: progress dot

* refactor: no hard code

* refactor: token optimization
2022-06-01 11:19:05 +08:00
二货机器人
997cafaeae
refactor: full token of Radio (#35838)
* refactor: full token

* chore: fix lint
2022-06-01 10:14:57 +08:00
二货机器人
3b1539c711
refactor: full token (#35834) 2022-05-31 20:32:00 +08:00
afc163
9b95a30ec9
refactor: Table to CSS-IN-JS (#35584)
* style: add basic styles of table

* style: add basic border styles of table

* style: add more styles of table

* style: add more styles of table

* style: add pagination and summary styles

* add more styles

* style: add cell-ellipsis styles

* style: add Radius style

* style: add basic styles of table

* style: add basic border styles of table

* style: add more styles of table

* style: add more styles of table

* style: add pagination and summary styles

* add more styles

* style: add cell-ellipsis styles

* style: add Radius style

* style: add sorter style

* style: add sorter style

* style: add filter style

* style: add filter style

* style: add filter style

* style: fix filter and sort style

* style: fix bordered style

* style: fix bordered style

* style: fix bordered style

* style: add size style

* style: fix size style

* style: add selection style

* style: format code

* style: add sticky code

* style: add expand code

* style: add expand code

* style: add expand code

* style: add fixed code

* add fixed style

* style: fix diff place

* style: use number as px string

* chore: improve function name

* chore: use token

* style: rtl styles

* chore: fix marigin and padding logical properties

* fix: rtl styles

* fix: table filter dropdown style

* chore: remove useStyle

* chore: revert classNames

* fix: test case

* fix shadow in rtl

* Apply suggestions from code review

* chore: sub filter tree

* style: fix tree dropdown padding

Co-authored-by: zombiej <smith3816@gmail.com>
2022-05-31 10:10:35 +08:00
MadCcc
47493c0e90
chore: collect statistic after compile (#35813)
* chore: collect statistic after compile

* chore: code clean

* chore: code clean

* chore: code clean

* chore: remove export in ConfigProvider

* chore: only lib

* test: fix lint

* chore: code clean
2022-05-30 20:22:48 +08:00
二货机器人
024d5cfad9
refactor: full token of avatar (#35764) 2022-05-27 13:37:24 +08:00
二货机器人
7802029ea4
refactor: Full token popover (#35712)
* refactor: full token

* chore: rest token

* docs: revert

* refactor: remove hardcode arrow position

* refactor: remove arrow hack part

* chore: code clean

Co-authored-by: MadCcc <1075746765@qq.com>
2022-05-27 11:07:58 +08:00
MadCcc
24f684925a
refactor: spin full token (#35746)
* refactor: spin full token

* refactor: rename token
2022-05-26 16:05:21 +08:00
MadCcc
2077af6795
feat: component token in statistic (#35705)
* feat: component token in statistic

* chore: rearrange
2022-05-24 19:48:44 +08:00
二货机器人
8d558202cb
refactor: alert full token (#35702)
* refactor: alert full token

* chore: bump bundle size

* fix: miss token
2022-05-24 15:45:41 +08:00
TrickyPi
49bd49f711
refactor(message): refactor to cssinjs (#35565) 2022-05-24 09:29:33 +08:00
Peach
3c506b86b3
refactor: cssinjs for Breadcrumb (#35125)
* feat: add override token for breadcrumb

* refactor: cssinjs for Breadcrumb

* fix: hover color

Co-authored-by: MadCcc <1075746765@qq.com>
2022-05-24 01:13:36 +08:00
二货机器人
0ecddfdb0d
refactor: Popconfirm cssinjs (#35683)
* chore: init

* chore: part of

* fix: Buttons style

* chore: refactor dom structure

* test: Update snapshot

* test: more coverage
2022-05-23 20:34:20 +08:00
二货机器人
47d73d8e33
Refactor: Menu full token (#35650)
* chore: more style

* chore: more style

* chore: more and more

* chore: more and more

* chore: all about it

* chore: more style

* chore: more & more

* chore: more

* chore: hover style

* chore: theme of it

* move

* chore: status color

* chore: full token

* chore: update

* chore: update

* chore: force cache update

* chore: force cache back

* fix: commented
2022-05-23 10:58:30 +08:00
MadCcc
d560df6dfc
refactor: picker full token (#35615)
* refactor: picker full token

* refactor: calendar full-token

* refactor: calendar token

* refactor: less token

* chore: less token

* feat: token optimize
2022-05-20 14:33:33 +08:00
二货机器人
b67bae6a6e
refactor: Layout full token (#35628)
* refactor: Layout full token

* chore: commenr
2022-05-19 16:23:12 +08:00
二货机器人
aa9815303f
refactor: with empty token (#35606)
* refactor: with empty token

* chore: patch

* chore: more toke

* chore: add seedToken

* test: update snapshot
2022-05-18 15:37:27 +08:00
MadCcc
440d84b52f
refactor: Empty use genComponentStyleHook (#34900)
* refactor: Empty use genComponentStyleHook

* chore: code clean

* chore: code clean

* test: fix lint

* chore: use import type

* chore: export

* test: fix ci

* chore: code clean

* chore: avoid default export

* chore: code clan
2022-05-17 18:39:13 +08:00
二货机器人
a09333d287
chore: full token of anchor (#35588)
* chore: full token of anchor

* chore: rename
2022-05-17 18:04:24 +08:00
二货机器人
178d8d6f19
chore: Patch Notification tmpl (#35568)
* chore: init notification style

* chore: comment style

* chore: clean up recv deps

* chore: trigger
2022-05-16 18:02:46 +08:00
MadCcc
6dee8254de
refactor: List full token (#35571)
* refactor: List full token

* feat: line type

* feat: contentWidth

* fix: capitalize
2022-05-16 17:52:35 +08:00
miracles1919
aefba96f13
refactor: cssinjs for Transfer (#35508)
* refactor: Transfer cssinjs

* chore: add fixme

* chore: fix lint

* chore: fix lint

* chore: bundle size

* chore: fix test

* refactor: adjust status style
2022-05-16 12:21:14 +08:00
MadCcc
99139aa77d
refactor: Card full token (#35514)
* refactor: card full tokn

* refactor: card token

* fix: border color
2022-05-13 16:38:33 +08:00
Dunqing
77cad90c08
refactor: Calendar cssinjs (#34835)
* refactor: to cssinjs

* fix: css logical properties

* refactor: use mergeTokens handle customize token

* refactor: export genPanelStyle

* feat: add picker panel style

* fix: remove unused token

* refactor: replace arrowWidth with sizePopupArrow

* fix: add fixme

* fix: type error

* fix: remove arrowWidth

* fix: add fixme

* fix: remove comment

* fix: add fixme

* chore: code style

* test: fix lint

* test: fix lint

Co-authored-by: MadCcc <1075746765@qq.com>
2022-05-11 20:07:40 +08:00
vagusX
5d66b0ba3f
refactor: cssinjs for segmented (#35134)
* refactor: cssinjs for segmented

* fix: disabled styles

* feat: sync code from master
2022-05-11 19:35:00 +08:00
afc163
84a969e5e0 chore: sync master into next branch 2022-05-11 15:36:22 +08:00
shuaijiumei
fc3688965d
refactor: progress cssinjs (#34692)
* refactor: progress cssinjs

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: delete the useless wrapSSR and hashId

* fix: ci fail

* fix: ci fail

* fix: ci fail rollback

* fix: single ''

* fix: single ''

* fix: single ''

* feat: update code

* feat: update code

* feat: update code

* feat: update code

* fix: RTL-model

* fix: RTL-model

* feat: new css-in-js type

* feat: new css-in-js type

* feat: new css-in-js type

* refactor: simplify the code

* refactor: Progress css in js

* test: fix lint

* fix: patch

* chore: code clean

* chore: code clean

Co-authored-by: MadCcc <1075746765@qq.com>
2022-05-11 10:52:10 +08:00
MadCcc
9ca7973521
refactor: image full token (#35465)
* refactor: image full token

* chore: remain switch size

* refactor: less token

* chore: text color
2022-05-10 17:30:01 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size (#35411)
* pref: better code style for production

* refactor `devWarning`

* don't use `useEffect` only wrap `devWarning`

* chore: add 'noop' to coverage

* chore: add test cases for devWarning

* chore: add test case

* chore: update test cases for devWarning

* chore: restore test script command

* fix: remove 'throw new Error'

* should not use `throw` for browser

* chore: update test case for AutoComplete

* perf: add prefix for `devWarning`

* update RegExp for UMD

* add prefix for ES and CJS

* chore: better code style

* perf:

* upgrade antd-tools

* remove `injectWarningCondition`

* rename `devWarning` to `warning`

* chore: better code style

* chore: better code style

* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
MadCcc
cde2103e48
refactor: image full token (#35449)
* refactor: image full token

* refactor: less component token
2022-05-10 10:16:46 +08:00
MadCcc
24773d5796 test: lint 2022-05-09 22:20:07 +08:00
MadCcc
1f5e271eb6 Merge branch 'master' into next-merge-master 2022-05-09 21:26:25 +08:00
foryuki
5f12d88c69 refactor: cssinjs for modal components/modal/style/modal.less 2022-05-07 21:09:17 +08:00
MadCcc
83ed62aa0e Merge branch 'feature' into next-merge-feature 2022-05-07 15:19: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
一个道士
94e43c4821
refactor: cssinjs for Space component (#35211) 2022-05-04 22:00:39 +08:00
PCCCCCCC
b3e8e2d555
Refactor:Component Tooltip Less to cssinjs (#35340)
* refactor: add basic css layout for tooltip

* style: handle the special mutilte repeat property

* style: complete the custom color style

* style: replace with Logical properties

* style: skip check some logic property

* docs: add FIXME necessary

* chore: adjust bundle size and trigger the preview ci
2022-05-03 22:41:59 +08:00
Long Hao (龙濠)
32d0067d55
refactor: Anchor cssinjs (#35139)
* refactor: anchor cssinjs

* fix: padding use logical css

* fix: link padding wrong
2022-04-29 17:23:23 +08:00
MadCcc
b22aa64884
feat: component path (#35303) 2022-04-28 18:32:33 +08:00
afc163
08d1a71ff4
refactor: Move Upload from less to css in js (#34528)
* refactor: Upload to CSS-in-JS

* chore: clean up outdated code

* chore: add FIXME

* revert useless change of UploadList

* fix: upload animation
2022-04-25 18:46:53 +08:00
xrkffgg
274c1f7fa3
refactor: collpase cssinjs (#35066) 2022-04-25 14:45:26 +08:00
二货机器人
b4730281a9
refactor: Dropdown cssinjs support (#35214)
* chore: init

* chore: dropdown style

* chore: more style

* chore: icon style

* chore: more style

* chore: diff shows the cache path

* chore: motion support

* chore: more style

* feat: status

* chore: sub menu style

* chore: all dropdown style

* fix: ts

* chore: update snapshot

* Update components/dropdown/style/index.tsx

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

* chore: update style

Co-authored-by: MadCcc <1075746765@qq.com>
2022-04-25 10:54:00 +08:00
afc163
3d23b809b1
refactor: import css-in-js utils from theme (#35215) 2022-04-24 18:05:08 +08:00
afc163
4ebe262426
refactor: Carousel code style (#35213) 2022-04-24 17:42:36 +08:00
zombiej
1a84acb3fb chore: merge master 2022-04-22 18:21:45 +08:00
二货机器人
f8e7cba353
refactor: Simplify Button Group Style (#35175)
* chore: refactor grp with context

* test: Update snapshot

* chore: clean up

* test: fix test case

* chore: clean up

* test: fix test
2022-04-22 17:40:52 +08:00
PCCCCCCC
a74fdbc911
Refactor:Component Layout Less to cssinjs (#35102)
* refactor: add basic cssinjs strcture

* refactor: add more refactor style

* style: modify more style

* style: keep the code style consistent
2022-04-22 15:00:18 +08:00
MadCcc
a106459dd1
feat: add zoom animation (#35148)
* feat: support Keyframes as 'animationName' value

* feat: add zoom animation

* chore: code clean

* test: fix anim

* chore: move file

* chore: dep clean
2022-04-21 17:28:02 +08:00
MadCcc
1d91507a59
feat: support Keyframes as 'animationName' value (#35142) 2022-04-21 02:06:22 +08:00
Long Hao (龙濠)
959049f03e
refactor: BackTop cssinjs (#34882)
* feat: finish half

* feat: next-backtop finish

* fix: delete px and add duration

* fix: use genComponentStyleHook and change right to logical css

Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
Co-authored-by: 龙濠 <longhao@longhaodeMacBook-Pro.local>
2022-04-20 19:36:59 +08:00
黑雨
87a5ddf0be
feat: cssinjs for menu (#34958)
* feat: cssinjs for menu

* feat: merge next

* feat: update for lint

* feat: update for test

* feat: update for style

* feat: update snap
2022-04-20 15:31:04 +08:00
二货机器人
c4dab10188
chore: dynamic salt on dev env (#35120) 2022-04-20 15:18:25 +08:00
afc163
756f06c2fe chore: sync master into next branch 2022-04-20 11:30:55 +08:00
MadCcc
e8991979fd
refactor: picker cssinjs (#35037)
* refactor: picker cssinjs

* feat: cssinjs

* feat: panel style

* refactor: picker status style

* feat: rtl style

* test: fix lint

* fix: fix && selector

* fix: range style

* fix: time panel style

* fix: round arrow style

* fix: style

* fix: ranges

* fix: logical

* chore: comment
2022-04-19 16:54:52 +08:00
PCCCCCCC
f4411d9393
Refactor:Component Steps Less to cssInJs (#35058)
* refactor: Steps cssInJs add basic structure

* refactor: change Component Steps less into cssInJs

* refactor: ♻️ steps cssInJs code formated

* style: 💄 change Steps cssinjs left and right into Logical Properties

* style: 💄 steps cssinjs add FIXME for number hardcode

* style: 💄 steps cssinjs dismiss useless rtl style

* style: 💄 step cssinjs fix the 'not compatible with RTL mode' warning and fix the style in RTL mode

* style: code formated for FIXME

* style: revert the change about _skip_check_

* style: step cssinjs margin/padding used with Logical properties

* ci: fix lint check

* style: fix the style on RTL

* style: try fix the step subtitle order on RTL mode

* style: optimization the style on RTL and dismiss duplicate styles with logical properties
2022-04-19 11:28:06 +08:00
MadCcc
617449ddd2
test: add cssinjs test (#35077)
* test: add cssinjs test

* test: demoTest test cssinjs

* test: update snapshot

* test: adjust text
2022-04-19 11:27:09 +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
miracles1919
9f0397c585
refactor: cssinjs for Card (#35008)
* refactor: cssinjs for Card

* refactor: remove float skip

* chore: fix lint
2022-04-13 16:22:28 +08:00
zombiej
d907338d79 chore: merge feature 2022-04-12 15:59:36 +08:00
LuZhenJie1999
a5e9547b26
feat: add cssinjs of timeline (#34980)
* feat: add cssinjs of timeline

* fix: fix cr problems

* chore: revert unreteated code

* chore: revert unreteated code

* chore: clean code

Co-authored-by: 歆其 <luzhenjie.lzj@antgroup.com>
2022-04-12 00:17:57 +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
二货机器人
688422b490
test: back of coverage (#34964)
* test: fix coverage

* chore: bump bisheng

* chore: clean up

* chore: update deps

* chore: test coverage
2022-04-11 15:32:00 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 (#34937)
* chore: bump types def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: free --legacy-peer-deps

* chore: ignore peer

* chore: fix ts logic

* chore: use fork docsearch

* chore: fix demo ts
2022-04-08 22:55:42 +08:00
MadCcc
ab402c1976
refactor: Image migrate to genComponentStyleHook (#34933) 2022-04-08 18:05:50 +08:00
MadCcc
5d6bf9d2df
refactor: List migrate to genComponentStyleHook (#34932) 2022-04-08 17:43:44 +08:00
MadCcc
05643ab9f3
refactor: Drawer migrate to genComponentStyleHook (#34931) 2022-04-08 15:43:28 +08:00
MadCcc
87827c193b
refactor: Descriptions migrate to genComponentStyleHook (#34930) 2022-04-08 15:28:34 +08:00
MadCcc
ef2d66ec42
refactor: Spin migrate to genComponentStyleHook (#34929) 2022-04-08 15:28:24 +08:00
MadCcc
c9dc63df75
refactor: Grid migrate to genComponentHook (#34928) 2022-04-08 15:24:07 +08:00
MadCcc
7392a6d05b
refactor: Skeleton migrate to genComponentStyleHook (#34922) 2022-04-08 14:36:50 +08:00
MadCcc
1a0efc22d1
refactor: Switch migrate to genComponentStyleHook (#34920)
* refactor: Switch migrate to genComponentStyleHook

* test: fix lint

* chore: code clean
2022-04-08 14:36:26 +08:00
MadCcc
32b993feee
refactor: Rate migrate to genComponentStyleHook (#34919) 2022-04-08 11:10:46 +08:00
MadCcc
c0d1359098
refactor: Statistic migrate to genComponentStyleHook (#34917) 2022-04-08 00:18:31 +08:00
MadCcc
a2e6e3cec4
refactor: Badge migrate to genComponentStyleHook (#34916) 2022-04-08 00:18:02 +08:00
MadCcc
662653952e
refactor: Result migrate to genComponentStyleHook (#34915) 2022-04-07 22:25:04 +08:00
MadCcc
41452045e0
refactor: Tag migrate to genComponentStyleHook (#34914) 2022-04-07 22:19:56 +08:00
miracles1919
f581159cb5
refactor: cssinjs for Tabs (#34811)
* refactor: cssinjs for Tabs

* doc: update demo css

* refactor: use genHook

* refactor: add skip check

* fix: remove useless skip

* refactor: remove rootPrefixCls
2022-04-07 22:07:18 +08:00
MadCcc
aa9a36da43
refactor: Popover & Avatar migrate to genComponentStyleHook (#34913) 2022-04-07 21:50:35 +08:00
MadCcc
5d54fa9be5
refactor: Alert migrate to genComponentStyleHook (#34912) 2022-04-07 21:29:50 +08:00
MadCcc
064edfe22a
refactor: Checkbox & Tree migrate to genComponentStyleHook (#34904)
* refactor: Checkbox migrate to genComponentStyleHook

* refactor: tree migrate to genComponentStyleHook
2022-04-07 18:24:45 +08:00
MadCcc
8dd16a1f57
refactor: Carousel migrate to genComponentStyleHook (#34902) 2022-04-07 17:02:54 +08:00
MadCcc
811c48795a
refactor: affix use genComponentStyleHook (#34896) 2022-04-07 14:53:13 +08:00
MadCcc
821ac5bc97
refactor: select use genHook (#34891)
* refactor: select use genHook

* chore: code clean

* refactor: tree-select support genHook

* chore: code clean

* chore: code clean

* fix: tree style
2022-04-07 12:20:34 +08:00
MadCcc
8cb60ad7f1
feat: provide antCls in token (#34889) 2022-04-07 00:19:37 +08:00
MadCcc
b7c7abfdd4
refactor: form use genHook (#34888) 2022-04-06 22:14:16 +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
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
二货机器人
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
Tmk
c4ffbff841
fix: set requestId to null after fn was cancelled (#34858) 2022-04-05 13:01:18 +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
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
二货机器人
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
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
二货机器人
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
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
二货机器人
ebf52122a2
refactor: Button use full token & remove all withPrefixCls & support overrides (#34690)
* chore: init

* chore: button token

* chore: rm all withPrefixCls

* feat: overrides work

* feat: theme can be nest

* test: Update snapshot

* fix: memo logic
2022-03-24 18:44:42 +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
二货机器人
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
Long Hao (龙濠)
18c4fe5fd9
refactor: next-affix change affix use cssinjs (#34558)
* refactor: next-affix

* fix: wrong spell

* fix: add fixme

* fix: prefixnam

* fix: change hash to classname

* fix: omit hashclassName

* fix: change name to rootclassName

* fix: rootClassName add

Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-03-22 13:27:12 +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
二货机器人
f3f1dbf1b1
refactor: Move design token in (#34624)
* chore: move in

* wip: refactor the structure of design token

* refactor: merge override

* chore: mv in

* chore: fix ts

* chore: tmp all

* chore: comment

* chore: comment

* chore: use variables

* fix: compile error

Co-authored-by: arvinxx <arvinx@foxmail.com>
2022-03-21 16:48:25 +08:00
iamkun
5d3bdf4c34
refactor: refactor badge component with css in js (#34386)
* refactor: refactor badge component with css in js

* refactor: refactor ribbon component with css in js

* update: update ribbon css

* fix review

* fix review

* fix review
2022-03-18 17:26:17 +08:00
afc163
ef09eefb85
refactor: Typography move to cssinjs (#34372)
* refactor: move to css in js

* add some style

* update code style

* update

* update

* update

* update

* add reset styles

* use token.errorColors

* remove less files

* add operationUnit

* getEditableStyles

* fix overflow

* fix ediable/copy

* fix ediable/copy

* refactor: move to css in js

* add some style

* update code style

* update

* update

* update

* update

* add reset styles

* use token.errorColors

* remove less files

* add operationUnit

* getEditableStyles

* fix overflow

* fix ediable/copy

* fix ediable/copy

* rtl style

* rtl style

* add TypographyToken

* fix ts

* use GenerateStyle<TypographyToken>

* fix ts errors

* fix ediable

* remove comment

* fix ediable

* fix ediable

* revert less files

* comment less

* fix review issues

* fix review issues

* fix review issues

* fix missing style
2022-03-16 19:10:36 +08:00
vagusX
11ffb1ba6f
refactor: cssinjs for tag (#34422)
* feat: basic implements

* feat: add rtl

* feat: reorganize types

* test: add test cases for capitalize

* test: improve coverage

* chore: improve types

* chore: update

* chore: update
2022-03-15 15:33:50 +08:00
zombiej
a338a1b00e Merge branch 'master' into next 2022-03-15 14:14:14 +08:00
CommanderRoot
7c34addf57
refactor: replace deprecated String.prototype.substr() (#34498)
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with functions which aren't.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-15 10:41:12 +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
二货机器人
cd30664ce3
refactor: slider with cssinjs (#34489)
* chore: slider cssinjs

* chore: clean up
2022-03-14 19:12:10 +08:00
github-actions[bot]
15112c0653
chore: auto merge branchs (#34432)
chore: sync master into next
2022-03-11 07:27:50 +00:00
二货机器人
80bf60c717
chore: Add GenerateStyle ts def (#34429)
* chore: Alert with types

* chore: rest component

* chore: more

* chore: fix lint
2022-03-11 14:29:29 +08:00
二货机器人
b51c900847
refactor: rm useDestroy hook (#34418) 2022-03-10 18:54:32 +08:00
Long Hao (龙濠)
4db1fc1a20
refactor: change divider into cssinjs (#34364)
* refactor: change divider into cssinjs

* fix: token and logical css

* fix: token to margin

* fix: token add marginLG 24px margin * 1.5 = 16 * 1.5

* fix: comment the _style less

* fix: move file

* fix: add px for marginNumber

* fix: borderwidth

* fix: delete test css

* fix: add comment fixme

* fix: add dividerNotDefaultTextPadding token to divider

* fix: add prefixCls to fix the inner classname

* fix: delete useless code

* fix: delete withPrefix

* fix: delete import

* fix: wrapper with prefixCls

Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-03-10 13:59:49 +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
二货机器人
de24558a6c
refactor: Cascader cssinjs (#34374) 2022-03-09 00:29:00 +08:00
二货机器人
068584b76c
refactor: change Select into CSSINJS (#34339)
* chore: init

* chore: init single

* chore: merge next

* chore: select single base

* chore: basic all style of select

* chore: speed of dropdown

* chore: move size in single

* chore: single size

* chore: lg style

* chore: left & right

* chore: rtl

* chore: auto rtl

* chore: rtl

* fix: height cal

* chore: clean up

* chore: status color
2022-03-08 10:29:00 +08:00
vagusX
4459a200bb
refactor: cssinjs for Result (#34317)
* refactor: cssinjs for Result

* chore: add some comments

* style: use marign inline to remove rtl styles
2022-03-07 14:20:10 +08:00
xrkffgg
8b1e5a2ab5
refactor: cssinjs alert (#34285)
* refactor: cssinjs alert

* fix: color

* fix: default

* fix: cs

* fix: ssr

* fix: ssr

* fix: ssr

* fix: ssr
2022-03-04 19:09:55 +08:00
github-actions[bot]
6b08487afc
chore: auto merge branchs (#34284)
chore: merge master into next
2022-03-03 09:52:51 +00:00
二货机器人
43eaa357b4
chore: cssinjs hashed as default (#34272)
* checkbox hashId support

* chore: tree hashed

* chore: fix lint

* fix: compile
2022-03-03 14:55:19 +08:00
二货机器人
989a27ada8
refactor: tree support cssinjs (#34258)
* chore: part of tree

* chore: tree cssinjs

* chore: fix lint

* refactor: RTL support

* fix: checkbox hover logic

* chore: rtl use same style

* fix: check style priority
2022-03-02 20:32:25 +08:00
二货机器人
20ae690b14
refactor: Cssinjs checkbox (#34247)
* refactor: Checkbox support cssinjs

* chore: clean up

* chore: clean up
2022-03-01 21:12:00 +08:00
zombiej
4aac9f7522 chore: simplify style requirement 2022-02-27 22:17:17 +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
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
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
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement (#33541)
* feat: select components add placement api

* feat: select components add placement api

* fix: delete placement

* fix: change md demo and delete export

* feat: cascader and tree-select add placement

* feat: datapicker add placement api

* fix: change repeat static declaration to single

* test: updata test units

* doc: change doc

* fix: delete merge message & delete decalare ts

* test: fix unit test

* fix: add transName in select & treeSelect & cascader

* fix: change common api in utils

* fix: change useless if block to only

* fix: change placement string to enum

* fix: lint done

Co-authored-by: 礼检 <ljj337009@antgroup.com>
2022-01-20 16:54:47 +08:00
MadCcc
e5451a95cb
feat: dropdown support arrow pointing at center (#33658)
* feat: add pointAtCenter prop for dropdown

* feat: dropdown support arrow pointing at center

* chore: code clean

* chore: use getPlacements in tooltip

* feat: dropdown support 'top' and 'bottom'

* chore: update snapshot

* chore: move placements to util folder

* feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated

* test: update snapshot

* test: add test for topCenter and bottomCenter
2022-01-13 13:34:34 +08:00
MadCcc
3effa51572 refactor: refactor useMounted to useDestroyed 2021-12-29 17:10:16 +08:00