MadCcc
9f88c1238a
feat: token update ( #38314 )
* feat: token update
* chore: update test
* chore: lint
* chore: code clean
* test: update test case
* feat: radius token update
* fix: form size
* chore: fix steps style
* chore: code clean
* chore: update test case
2 years ago
lijianan
3d33c34010
chore: use includes instead indexOf ( #38139 )
* chore: use includes instead indexOf
* fix: fix
2 years ago
Zheeeng
e91d25622b
chore: signatures for tests ( #37949 )
* fix: signatures for tests
* fix: remove unused
* fix: test cases
* fix: test cases
2 years ago
MadCcc
2a9bb7c80e
fix: fix checkbox checked hover style ( #37973 )
* fix: fix checkbox checked hover style
* fix: radio
2 years ago
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2 years ago
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups ( #37816 )
2 years ago
MadCcc
c60fc82ab3
style: v5 style optimization ( #37634 )
* style: ui update
* style: v5 style optimization
* chore: code clean
* style: modal close btn style
* style: notification close button style
* chore: code clean
2 years ago
kiner-tang(文辉)
92a3c719dc
feat: Components under Form support custom disabled to override disabled of Form ( #37628 )
* feat: 当表单组件处于一个禁用的表单时, 该表单组件的禁用状态应该优先取决于表单组件本身的禁用状态
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: reset mergedSize change
* feat: reset mergedSize change
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: 优化 Checkbox 组件 disabled 逻辑判断
* Update components/switch/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: remove upload default value
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
MadCcc
02f41204e7
fix: radio and checkbox box-sizing ( #37529 )
2 years ago
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
MadCcc
8e328d0ae2
feat: focus outline ( #37483 )
* feat: focus outline
* feat: add tree focus
2 years ago
MadCcc
2cf245969b
feat: v5 motion duration adjustment ( #37438 )
2 years ago
MadCcc
229d0d81b7
feat: v5 hover ( #37433 )
* feat: v5 hover
* feat: breadcrumb margin
* feat: badge hover
* feat: v5 error
* fix: badge ribbon corner
2 years ago
lijianan
c34caad24c
test: js => ts ( #37392 )
* test: js => ts
* test: add test
* fix: fix eslint error
* test: add test case
* fix: fix test error
* fix: fix eslint error
* fix: fix eslint error
* fix: eslint error fix
* fix: fallback eslint config & add test case
* test: add all test case
* fix: bugfix
* fix: bugFix
* fix: bugFix
* fix: bugFix
* fix: lint
* fix: add React.createRef
* fix: add breadcrumbName in Routes
* fix: any commit for restart ci/cd
* fix: remove type
* fix: test fix
* fix: test fix
* fix: add ts-ignore for id
* test: add Icon test case
* test: remove ts-ignore
* test: add Icon test case
2 years ago
MadCcc
93908debec
feat: v5 radius ( #37146 )
* feat: v5 radius
* test: fix test
2 years ago
afc163
24f9556134
style: use @checkbox-border-radius ( #37131 )
2 years ago
MadCcc
cdbfe45df1
feat: generate anchor style for all components ( #36460 )
* test: fix lint
* chore: code clean
* doc: anchor color
* chore: style order
2 years ago
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
2 years ago
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
2 years ago
MadCcc
8e4f1c6836
refactor: token update ( #36279 )
* refactor: token update
* chore: add js doc
* test: fix lint
* test: update test
2 years ago
二货机器人
de2992f96f
chore: move path ( #36243 )
* chore: base move
* chore: all path
* chore: fix script
2 years ago
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
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
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>
3 years ago
Bart Piotrowski
4bccb9985a
fix: Remove Grid row and cell aria roles ( #35616 )
close https://github.com/ant-design/ant-design/issues/35549
3 years ago
章鱼
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
3 years ago
二货机器人
a09333d287
chore: full token of anchor ( #35588 )
* chore: full token of anchor
* chore: rename
3 years ago
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
3 years ago
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
3 years ago
MadCcc
24773d5796
test: lint
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
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
3 years ago
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 `&`
3 years ago
TrickyPi
50d3d99a78
test: migrate part of checkbox tests ( #35354 )
3 years ago
MadCcc
eed87d6276
chore: remove keyframes declaration ( #35231 )
3 years ago
MadCcc
1d91507a59
feat: support Keyframes as 'animationName' value ( #35142 )
3 years ago
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>
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
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
.
3 years ago
MadCcc
064edfe22a
refactor: Checkbox & Tree migrate to genComponentStyleHook ( #34904 )
* refactor: Checkbox migrate to genComponentStyleHook
* refactor: tree migrate to genComponentStyleHook
3 years ago
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>
3 years ago
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
3 years ago
二货机器人
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
3 years ago
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
3 years ago
二货机器人
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
3 years ago
二货机器人
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
3 years ago
二货机器人
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
3 years ago
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
3 years ago
二货机器人
80bf60c717
chore: Add GenerateStyle ts def ( #34429 )
* chore: Alert with types
* chore: rest component
* chore: more
* chore: fix lint
3 years ago