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 2c0e7d6ba3498e001e1f6411f687d03364d3c241.
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
二货机器人
20ae690b14
refactor: Cssinjs checkbox ( #34247 )
...
* refactor: Checkbox support cssinjs
* chore: clean up
* chore: clean up
2022-03-01 21:12:00 +08:00
王浩
6dd39c1f89
fix(checkbox): disabled checkbox should works well with tooltip ( #33772 )
...
Co-authored-by: wanghao <wanghao.wong@bytedance.com>
2022-01-20 19:23:14 +08:00
MadCcc
d777a5430c
fix: update prevValue of checkbox if value changed ( #33753 )
2022-01-20 10:15:42 +08:00
MadCcc
29f68f9e28
fix: checkbox group support options other than string ( #33678 )
...
* fix: checkbox group support options other than string
* docs: update checkbox docs
* fix: radio group support value other than string
* fix: only support number and string
* docs: update group options type
2022-01-12 22:57:43 +08:00
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
...
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
2021-12-23 11:51:10 +08:00
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
2021-12-04 17:06:36 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
...
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 ( #32451 )
...
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: autofix stylelint errors
* chore: autofix stylelint errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-13 15:38:59 +08:00
afc163
b56f6110fa
merge feature into master
2021-08-16 14:42:04 +08:00