Commit Graph

382 Commits

Author SHA1 Message Date
MadCcc
cdbfe45df1
feat: generate anchor style for all components (#36460)
* test: fix lint

* chore: code clean

* doc: anchor color

* chore: style order
2022-07-11 15:35:58 +08:00
MadCcc
8e27cf986f
chore: rm component less file (#36244)
* chore: rm component less file

* refactor: less file

* refactor: rm less

* refactor: rm page-header and comment

* chore: rm less in components

* chore: update dist config

* chore: update image test

* chore: update dekko

* chore: rm lib dekko

* chore: update dist dekko

* chore: udpate bundle size

* test: update snapshot

* test: rm theme test

* test: update snapshot

* test: update snapshot

* chore: copy reset.css

* test: update image test

* chore: copy reset.css to es

* chore: update site script
2022-07-05 21:55:21 +08:00
MadCcc
9d7c11f391 Merge branch 'master' into next-merge-master 2022-07-03 09:42:26 +08:00
MadCcc
0a7b4d331d
fix: checkbox should be disabled by form (#36345)
* fix: checkbox should be disabled by form

* chore: code clean

* test: update snapshot

* chore: snapshot
2022-07-01 21:29:31 +08:00
MadCcc
8e4f1c6836
refactor: token update (#36279)
* refactor: token update

* chore: add js doc

* test: fix lint

* test: update test
2022-06-28 20:33:01 +08:00
二货机器人
de2992f96f
chore: move path (#36243)
* chore: base move

* chore: all path

* chore: fix script
2022-06-27 14:25:59 +08:00
MadCcc
9f2f9bb57f
refactor: default theme with algorithm (#36175)
* refactor: alias token

* refactor: use palettes

* refactor: default theme

* chore: code clean

* refactor: component token

* feat: light tokens

* feat: add dark theme

* feat: dark derivative

* chore: code clean

* refactor: fix colorBgContainer

* refactor: rename token

* test: fix lint

* chore: code clean

* chore: code clen

* refactor: badge shadow color

* test: add test case
2022-06-24 11:11:42 +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
zombiej
91245c16ad chore: merge master 2022-06-21 19:40:22 +08:00
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment (#36126)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:24:52 +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
zombiej
f58efe9b32 chore: merge master 2022-05-23 14:37:16 +08:00
zombiej
cd0ace3d40 chore: merge master 2022-05-21 22:14:15 +08:00
Bart Piotrowski
4bccb9985a
fix: Remove Grid row and cell aria roles (#35616)
close https://github.com/ant-design/ant-design/issues/35549
2022-05-19 10:05:40 +08:00
章鱼
7fd093bd0a
docs: feat components TS demo (#34742)
* docs: add general components TS demo

* docs: add layout components TS demo

* docs: add navigation components TS demo

* docs: add data entry components TS demo

* chore(deps): add types for qs

* docs: add data display TS demo

* docs: add feedback components TS demo

* docs: add other components TS demo

* chore(deps): add types

* docs: unified demo code style

* docs: fix lint error

* docs: add demo TS type

* docs: fix demo TS type

* test: update snapshot

* docs: fix TS demo

* feat: update Rate character type

* docs: fix lint error

* feat: update Rate character type

* feat: update Rate character type
2022-05-19 09:46:26 +08:00
二货机器人
a09333d287
chore: full token of anchor (#35588)
* chore: full token of anchor

* chore: rename
2022-05-17 18:04:24 +08:00
afc163
84a969e5e0 chore: sync master into next branch 2022-05-11 15:36:22 +08:00
dingkang
5cf579c37a
docs: replace class component with hooks (#35472)
* docs(badge): replace class component with hooks

* docs(button): replace class component with hooks

* docs(calendar): replace class component with hooks

* docs(card): replace class component with hooks

* docs(button): replace class component with hooks

* chore(deps): remove webpack devDependencies

* docs(cascader): replace class component with hooks

* docs(checkbox): replace class component with hooks

* docs(collapse): replace class component with hooks

* docs(comment): replace class component with hooks

* docs(descriptions): replace class component with hooks
2022-05-10 20:49:42 +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
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
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
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
miracles1919
6b6c8cb6b1
refactor: Tree checkbox style (#35389)
* fix: Checkbox inner disabled color

* refactor: Tree checkbox style

* refactor: adjust tree checkbox span

* refactor: adjust tree checkbox span

* refactor: remove useless `&`
2022-05-06 15:58:32 +08:00
zombiej
7460c95b65 chore: merge master 2022-05-06 12:03:15 +08:00
TrickyPi
50d3d99a78
test: migrate part of checkbox tests (#35354) 2022-05-05 10:25:22 +08:00
MadCcc
eed87d6276
chore: remove keyframes declaration (#35231) 2022-04-26 01:00:39 +08:00
MadCcc
1d91507a59
feat: support Keyframes as 'animationName' value (#35142) 2022-04-21 02:06:22 +08:00
afc163
756f06c2fe chore: sync master into next branch 2022-04-20 11:30:55 +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
afc163
0f0e2f9f43
docs: simplify demo code, #30853 (#35050) 2022-04-15 16:20:56 +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
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
Dzmitry Yarmoshkin
1a8a5ee06f
fix: add aria-checked prop to checkbox (#34862)
* fix: add aria-checked prop to checkbox

* fix: update snapshots

* fix: update aria-checked logic and snapshots

* refactor: change props order

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

Co-authored-by: Dzmitry Yarmoshkin <dzmitry_yarmoshkin@epam.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-04-06 10:04:09 +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
二货机器人
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
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
二货机器人
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
30e0d57302
test: fix cssinjs ci (#34434)
* test: fix cssinjs ci

* test: fix ci

* test: fix alert trl

* fix: fix tree icon rotation direction in RTL mode
2022-03-11 17:07:16 +08: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
二货机器人
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