Commit Graph

23600 Commits

Author SHA1 Message Date
MadCcc
b54c7db3e2
docs: add homepage link (#38486)
* fix: site issue

* fix: homepage link
2022-11-10 19:46:44 +08:00
Dunqing
382b2cacf7
fix(theme): inconsistent results with different algorithm order (#38481)
* fix(theme): inconsistent results with different algorithm order

* fix: revert

* fix: revert

* fix: revert again

* test: update

* fix: lint
2022-11-10 17:18:40 +08:00
Dunqing
f25da16c52
docs: fix pnpm not work (#38472) 2022-11-10 16:36:20 +08:00
Dunqing
022e44bb06
docs: fix div without close tag (#38465)
* docs: fix div without close tag

* docs: fix more

* fix: revert code

* docs: fix table

* docs: fix content
2022-11-10 15:00:10 +08:00
c0dedance
6d877e5617
fix: img default style is not reset, making the layout disordered (#38474) 2022-11-10 11:08:38 +08:00
MadCcc
2298ae6099 fix: anchor ball visible 2022-11-10 10:08:10 +08:00
MadCcc
25dc2218cd
chore: site test (#38462) 2022-11-09 16:00:28 +08:00
JarvisArt
28fd4620d6
fix: inline steps transitions to regular styles (#38449) 2022-11-09 14:44:49 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade (#38328)
* build: try to use dumi as doc tool

* docs: migrate demo structure to dumi way

* refactor: use type export & import

* docs: migrate demo previewer to dumi

* docs: create empty layout & components

* docs: apply custom rehype plugin

* docs: create empty extra pages

* docs: Add Banner component

* chore: move theme tsconfig.json

* docs: home page init

* docs: migrate header (#37896)

* docs: header

* docs: update

* docs: home init

* clean up

* test: fix site lint

* chore: tsc ignore demo

* chore: dumi demo migrate script

* chore: cards

* docs: home layout

* docs: Update locale logic

* docs: fix getLink logic

* chore: fix ci (#37899)

* chore: fix ci

* ci: remove check-ts-demo

* ci: preview build

* test: ignore demo.tsx

* chore: update script

* test: update snapshot

* test: update node and image test

* chore: add .surgeignore

* docs: layout providers (#37908)

* docs: add components sidebar (#37923)

* docs: sidebar

* docs: update docs title

* docs: update design doc

* chore: code clean

* docs: handle changelog page

* docs: add title

* docs: add subtitle

* docs: active header nav

* chore: code clean

* docs: overview

* chore: code clean

* docs: update intl (#37918)

* docs: update intl

* chore: code clean

* docs: update favicons

* chore: update testPathIgnorePatterns

* chore: code clean

* chore: code clean

* chore: copy 404.html (#37996)

* docs: Home page theme picker

* chore: Update migrate script

* docs: home page update

* docs: theme editor style

* docs: theme lang

* chore: update migrate.js

* docs: fix demo (#38094)

* chore: update migrate.js

* docs: update md

* docs: update demo

* test: fix snapshot

* chore: move debug to code attr in migrate script

* chore: update md

Co-authored-by: PeachScript <scdzwyxst@gmail.com>

* feat: overview page

* feat: Migrate `404` page (#38118)

* feat: migrate IconSearch component (#37916)

* feat<site/IconSearch>: copy IconDisplay from site to .dumi

* feat<site/IconSearch>: change docs of icon

* feat<site/IconSearch>: tweak

* feat<site/IconSearch>: use useIntl instead of injectIntl

* feat<site/IconSearch>: fix ts type error

* feat<site/IconSearch>: use intl.formatMessage to render text

* docs: Adjust home btn sizw

* docs: Update doc

* feat: v5 site overview page (#38131)

* feat: site

* fix: fix

* feat: v5 site overview page

* fix: fix path

* fix: fix

* fix: fix

* docs: fix margin logic

* feat: v5 site change-log page (#38137)

* feat: v5 site change-log page (#38162)

* docs: site redirect to home pag

* docs: theme picker

* docs: use react-intl from dumi (#38183)

* docs: Theme Picker

* docs: update dumi config

* docs: home back fix

* docs: picker colorful

* docs: locale of it

* docs: update components desc

* docs: site of links

* docs: update components list

* docs: update desc

* feat: Migrate `DemoWrapper` component (#38166)

* feat: Migrate `DemoWrapper` component

* feat: remove invalid comments and add comment for `key` prop

* docs: FloatButton pure panel

* chore: update demo

* chore: update dumi config

* Revert "chore: update demo"

This reverts commit 028265d3ba5987df5f13c3e9d42cf76cb1812b2e.

* chore: test logic adjust to support cnpm modules

* chore: add locale alias

* docs: /index to /

* docs: add locale redirect head script

* chore: adjust compact

* docs: fix missing token

* feat: compact switch

* chore: code clean

* docs: update home

* docs: fix radius token

* docs: hash of it

* chore: adjust home page

* docs: Add background map

* docs: site theme bac logic

* docs: avatar

* docs: update logo color

* docs: home banner

* docs: adjust tour size

* docs: purepanl update

* docs: transfooter

* docs: update banner gif

* docs: content (#38361)

* docs: title & EditButton

* docs: content

* chore: fix toc

* docs: resource page

* docs: transform resource data from hast

* docs: filename & Resource Card

* chore: enable prerender

* chore: remove less

* docs: toc style

* chore: fix lint

* docs: fix Layout page

* docs: fix CP page

* chore: update demos

* docs: workaround for export dynamic html

* chore: enable demo eslint

* docs: table style

* fix: header shadow

* chore: update snapshot

* fix: toc style

* docs: add title

* docs: Adjust site

* feat: helmet

* docs: site css

* fix: description

* feat: toc debug

* docs: update config-provider

* feat: use colorPanel

* fix: colorPanel value

* feat: anchor ink ball style

* feat: apply theme editor

* fix: code block style

* chore: update demo

* chore: fix lint

* chore: code clean

* chore: update snapshot

* feat: ts2js

* chore: description

* docs: site ready for ssr

includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion

* chore: bump testing lib

* docs: font size of title

* chore: remove react-sortable-hoc

* chore: update snapshot

* chore: update script

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
JarvisArt
60d8e91bd2
feat: Steps support inline (#38311)
* test: update snapshot

* docs: add inline demo

* chore: upgrage rc-steps
2022-11-08 15:57:28 +08:00
二货爱吃白萝卜
22193f70fa
fix: Input & InputNumber style (#38435)
* fix: input number height size issue

* fix: input-number align
2022-11-08 15:37:35 +08:00
二货机器人
3c599528e8 chore: update test script 2022-11-08 11:34:24 +08:00
二货机器人
2fe472d15b chore: add bail of jest test config 2022-11-08 11:06:57 +08:00
二货机器人
f2dc842eef chore: update script to support beta & rc 2022-11-08 10:37:00 +08:00
二货机器人
c82d1e915b chore: bump beta 5.0.0-beta.0 2022-11-08 10:21:27 +08:00
github-actions[bot]
cebfdc7e0b
chore: auto merge branches (#38426)
chore: Next merge master
2022-11-07 16:25:10 +00:00
二货机器人
3bc6bbd6d9 chore: fix ts def 2022-11-07 23:51:56 +08:00
二货机器人
dc9412ee55 chore: fix ts 2022-11-07 23:40:11 +08:00
二货机器人
d5cfd195dd chore: merge master 2022-11-07 23:32:46 +08:00
Ell Bradshaw
5a61762681
chore: clarify error about children of Form.Item with name (#38038)
* Clarify error about children of Form.Item with `name`

This is a common error and the message as written was not very clear.

This should be more helpful pointing people in the right direction

* Update error message in test

* Clarify more error messages

Referring to "render props" is confusing because the docs don't explain what that is, and it's not really a prop.

* Update tests for new error messages

Also improve the test names for some

* Further test message updates

Missed a couple messages

* Add short URLs

* Update test error messages

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Ell Bradshaw <joelbr@tailormed.co>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-07 17:32:58 +08:00
KotoriK
39f907a14d
refactor(Tree): solve circular import (#38421) 2022-11-07 17:20:07 +08:00
二货爱吃白萝卜
4a1622cd66
docs: unique id (#38422)
* docs: unique id

* test: Update snapshot
2022-11-07 16:45:16 +08:00
JarvisArt
f578a17d9b
fix: Fixed the steps progress icon text color (#38405) 2022-11-07 15:18:48 +08:00
章鱼怪
0438b0bbca
fix: Affix shake when switching from hide to show (#38410)
* fix: do not measure when Affix is hidden

* feat: add test
2022-11-07 11:58:32 +08:00
afc163
2c9fbc8f0c
chore: upgrade to rc-image 5.10.x (#38415) 2022-11-07 10:10:18 +08:00
renovate[bot]
3d762dbb0a
chore(deps): update dependency stylelint-config-standard to v29 (#38408)
* chore(deps): update dependency stylelint-config-standard to v29

* chore: ignore import-notation rule

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-06 17:39:11 +08:00
afc163
4b8ab8ecc8
docs: recommend react-colorful (#38409)
close #35381
2022-11-06 17:39:01 +08:00
afc163
b154c9c8ae
fix: Pagination simple should support showTotal (#38399)
* fix: Pagination simple should support showTotal

* test: add test case
2022-11-06 15:58:48 +08:00
afc163
f835c4bcc3
fix: Modal.confirm buttons should not be interative (#38400)
when modal is hiding

close #37329
2022-11-06 15:58:35 +08:00
咩咩
45b078a1ad
type: add React.ReactNode (#38404) 2022-11-05 21:34:20 +08:00
lijianan
66e4b1c91c
test: simplify test case (#38403) 2022-11-05 21:29:56 +08:00
kiner-tang(文辉)
2eb97400a1
chore: change node heap size to support test (#38397)
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-11-05 16:19:37 +08:00
lijianan
7cba2904dd
test: add test codecov & fix demo ts (#38398)
* test: add codecov

* type: optimization type

* fix: fix type

* fix: fix type

* fix: fix type

* fix: fix type
2022-11-05 14:55:34 +08:00
kiner-tang(文辉)
2dbfbea502
fix(table): fix Table aria-label contains [object Object] (#38389)
* fix: columns title render not as expected

* feat: code optimize

* feat: update test case

* feat: update test case

* feat: code optimize

* Update components/table/__tests__/Table.test.tsx

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

* feat: update aria-label

* feat: update test case

* feat: update snapshots

* feat: update snapshots

Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-05 12:44:37 +08:00
Ashish Kapoor
ce4d3a00d1
chore: Tree search demo type error (#38390)
* Update search.md

* Update search.md
2022-11-05 12:42:09 +08:00
JarvisArt
3579f44f50
test: update snapshot (#38387) 2022-11-05 10:14:59 +08:00
renovate[bot]
8d0d96223b
chore(deps): update dependency jest to v29 (#37270)
* chore(deps): update dependency jest to v29

* Update package.json

* chore: update snapshot

* chore(deps): update dependency jest to v29

* Update package.json

* test: fix test case

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-04 23:57:55 +08:00
afc163
1d582551ec
chore: fix Table customized filter dropdown behavior when pressing enter (#38393)
close #38392
2022-11-04 23:40:41 +08:00
afc163
c6762d9215
style: fix Drawer extra using Radio.Group (#38385)
* style: fix Drawer extra using Radio.Group

close #38297

* chore: adjust flex logic

* chore: fix lint

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-11-04 23:00:28 +08:00
lijianan
038c9d0763
type: optimization React.useRef type (#38388) 2022-11-04 18:36:54 +08:00
二货爱吃白萝卜
8a42af39a2
docs: 4.24.1 changelog (#38384)
* chore: 4.24.1 changelog

* docs: update
2022-11-04 16:58:57 +08:00
二货爱吃白萝卜
216f25c457
Revert "fix(table): aria-label should be use the first text content in element when column title is ReactElement in table" (#38383)
* Revert "fix(table): aria-label should be use the first text content in element when column title is ReactElement in table (#38160)"

This reverts commit 21c4bcf40a.

* test: Update snapshot
2022-11-04 16:18:43 +08:00
咩咩
e80e40b764
type: type optimization (#38381)
Co-authored-by: jiang_chunqiao <chunqiao_jiang@icloud.com>
2022-11-04 15:33:01 +08:00
dependabot[bot]
53bea24110
chore(deps-dev): bump jest-axe from 6.0.1 to 7.0.0 (#38367)
Bumps [jest-axe](https://github.com/nickcolley/jest-axe) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/nickcolley/jest-axe/releases)
- [Changelog](https://github.com/NickColley/jest-axe/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nickcolley/jest-axe/compare/v6.0.1...v7.0.0)

---
updated-dependencies:
- dependency-name: jest-axe
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-04 13:37:46 +08:00
afc163
8f0970d596 Merge branch 'master' of github.com:ant-design/ant-design 2022-11-04 11:58:36 +08:00
afc163
3bb6f4af4f Merge branch 'AdonLee-master' 2022-11-04 11:58:15 +08:00
afc163
9cc228f2af chore: add type test 2022-11-04 11:56:01 +08:00
afc163
f26e9c131d Merge branch 'master' of github.com:AdonLee/ant-design into AdonLee-master 2022-11-04 11:39:24 +08:00
lijianan
82ba22232d
test: simplify test case (#38375) 2022-11-04 11:24:56 +08:00
lijianan
d448c37cdb
test: simplify test case (#38374) 2022-11-04 11:23:59 +08:00