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
MadCcc
ec3444a407
refactor: token udpate ( #36892 )
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
二货机器人
de2992f96f
chore: move path ( #36243 )
* chore: base move
* chore: all path
* chore: fix script
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
yykoypj
7dc56e3f00
test: move test cases to @testing/library for List ( #35850 )
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
二货机器人
aa9815303f
refactor: with empty token ( #35606 )
* refactor: with empty token
* chore: patch
* chore: more toke
* chore: add seedToken
* test: update snapshot
3 years ago
dingkang
196a4351e3
docs: replace class component with hooks ( #35580 )
* 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
* docs(config-provider): replace class component with hooks
* docs(date-picker): replace class component with hooks
* docs(drawer): replace class component with hooks
* docs(dropdown): replace class component with hooks
* docs(dropdown): replace class component with hooks
* docs(empty): replace class component with hooks
* docs(grid): replace class component with hooks
* docs(input): replace class component with hooks
* docs(input-number): replace class component with hooks
* docs(demo): fix lint error
* docs(layout): replace class component with hooks
* docs(list): replace class component with hooks
* docs(mentions): replace class component with hooks
* docs: fix code review issue
3 years ago
MadCcc
6dee8254de
refactor: List full token ( #35571 )
* refactor: List full token
* feat: line type
* feat: contentWidth
* fix: capitalize
3 years ago
二货机器人
3d21ec54e2
refactor: reduce empty cycling deps ( #35570 )
* chore: rm in root
* chore: fix ts
* test: Update snapshot
* chore: ignore part
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
Ron Šmeral
1d3fd70dbf
fix: bad List.Item type ( #35454 ) ( #35455 )
Co-authored-by: Ron Smeral <ron.smeral@merck.com>
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
Tom Xu
d1f85d94e5
fix: List.Item typescript ( #35418 )
3 years ago
Tom Xu
5d2475a2a1
fix: List.Item ref ( #35321 )
* fix: list item ref
* add test
* improve
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
MadCcc
1d91507a59
feat: support Keyframes as 'animationName' value ( #35142 )
3 years ago
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
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
zombiej
9c0fc05beb
test: Update snapshot
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
二货机器人
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
3 years ago
MadCcc
5d6bf9d2df
refactor: List migrate to genComponentStyleHook ( #34932 )
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
黑雨
ead003a8e6
feat: cssinjs for list ( #34739 )
* feat: cssinjs for list
* feat: update for style
* feat: update for lint
* feat: update for style
3 years ago
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>
3 years ago
Zack Chang
5e0c232077
chore: update Item component test case ( #34686 )
Co-authored-by: Zack Chang <zackchangjx@foxmail.com>
3 years ago
黑雨
e45fa77eb8
feat: add aria-* to Spin ( #34408 )
* feat: add aria
* feat: update other snap
* feat: update logic
3 years ago
afc163
c69604ad5f
chore: resposive.md => responsive.md ( #34368 )
* chore: resposive.md => responsive.md
* update snapshot
3 years ago
afc163
07dec4cb00
perf: Improve Components render perfermance when it's not reponsive ( #34122 )
* perf: Improve List render perfermance when grid is undefined
https://github.com/ant-design/ant-design/pull/34106/files#diff-9e016ea02fe7dd0ea42d8774d29d45e1a10b8dd108de9c89d50c828c74b993b8R146-R151
* chore: do not export useBreakpoint param
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
afc163
d38363e161
docs: fix procomponents links
3 years ago
二货机器人
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
3 years ago
二货机器人
ff88851c4c
chore: Bump Select related deps ( #33364 )
* chore: bump select related version
* test: Fix test case
* chore: bump rc-select version
* test: Update snapshot
* chore: Update Select ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* chore: Update ts definition
* chore: fix internal ts def
* test: update auto complete snapshot
* chore: update snapshot
* chore: bump version
* chore: fix demo ts
* chore: Move ValueType to the first place
* test: Update test case
3 years ago
afc163
ef8179e6b5
chore: remove react-virtualized from demo
3 years ago
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>
3 years ago
VIREAK KEOSOKVIBOL
f0c8402d65
feat: Add km_KH locale to component ( #32853 )
* Add km_KH locale to component
* Add test and docs
* Fix typo
* Add test snapshot
3 years ago
二货机器人
870b72af88
docs: 4.17.0 changelog ( #32859 )
* docs: 4.17.0 changelog
* test: Update snapshot
* docs: Update desc
* docs: merge changelog
3 years ago
afc163
e40b02b544
docs: fix List demo
close #32685
3 years ago
afc163
827225b895
chore: replace demo image to public avatar resources ( #32479 )
* docs: replace avatar image to joeschmoe placeholder
* docs: usage randomme avatar url
3 years ago
afc163
8cafb114a7
docs: react-infinite-scroller => react-infinite-scroll-component ( #32469 )
* docs: react-infinite-scroller => react-infinite-scroll-component
close #32388
* update
* replace recommendataion
* update snapshot
3 years ago
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>
3 years ago
二货机器人
e13c4d4131
fix: Less Maximum call stack size exceeded error ( #32063 )
* chore: create additional entry
* fix: rm recv call
* chore: Add default.less as index.less
* chore: update entry
* fix: row should also translate
* chore: rename index-default to index and add index-pure instead
* fix: missing transfer customize styl
3 years ago
Liron Lavy
02ca969711
fix: List rowKey prop type ( #32033 )
3 years ago
afc163
13a829d20c
fix: classNames typing errors ( #30018 )
4 years ago
Andre Zyczkowski
3c6e1ca877
docs: fixed List itemLayout prop definition ( #29592 )
4 years ago