Commit Graph

15240 Commits

Author SHA1 Message Date
MadCcc
f36a01a647 chore: update snapshot 2022-11-17 14:07:37 +08:00
MadCcc
ab4bcc4463 Merge branch 'master' into next-merge-master 2022-11-17 14:04:31 +08:00
Wuxh
34a277cdaa
docs: improve component demo style (#38598)
* docs: delete redundant codes

repetitive examples that can make it difficult for developers to read

* chore: update snapshot

* docs(badge): wrapping documents with `Space`

* chore: update snapshot

* chore(space): optimize documents

easy to read

* chore: update badge demo

* chore: update demo

* Revert "chore(space): optimize documents"

This reverts commit 88a4378f16cede5b628f885a48a341d507fd53e3.

* chore: update snapshots

* chore(button): add debug demo

* test(button): update snapshots

* docs(button): example document beautify

* test(button): update snapshots

commit by af04705c8f

* test(alert): update snapshots

* chore: Reverse format
2022-11-17 13:20:58 +08:00
dependabot[bot]
1a4c696926
chore(deps-dev): bump typescript from 4.8.4 to 4.9.3 (#38604)
* chore(deps-dev): bump typescript from 4.8.4 to 4.9.3

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.8.4 to 4.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore: fix ts error in test case

* Update Table.pagination.test.tsx

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-17 13:02:49 +08:00
Peach
415cc833cf
docs: correct code iframe values (#38603)
* docs: correct code iframe values

* chore: remove useless migrate script

Co-authored-by: lijianan <574980606@qq.com>
2022-11-17 11:30:20 +08:00
MadCcc
8df44ddffd chore: fix api table 2022-11-17 01:51:18 +08:00
MadCcc
ca4d23ac7e chore: fix api table 2022-11-17 01:50:42 +08:00
MadCcc
04da1f3fdf docs: fix site issue 2022-11-17 01:22:09 +08:00
MadCcc
a77f1aa8fc chore: rename theme separated to inherit 2022-11-17 01:06:33 +08:00
MadCcc
c0de3b2737
feat: theme seperated (#38608)
* feat: theme seperated

* chore: code clean

* chore: update API
2022-11-17 00:22:15 +08:00
二货爱吃白萝卜
319b3966c4
docs: less no (#38602) 2022-11-16 23:38:38 +08:00
afc163
7c1652d677
docs: fix Grid demos (#38595) 2022-11-16 16:02:54 +08:00
Matthew
52dedca8ed
fix: Pass custom prefixCls to Typography from Base (#38580) (#38586)
* fix: Pass custom prefixCls to Typography from Base (#38580)

* test: Added test for typography custom prefixCls
2022-11-16 10:23:51 +08:00
afc163
08e4598baa
fix(Table): don't trigger sort when pressing enter in filter dropdown (#38585)
close #38579
2022-11-15 23:35:16 +08:00
MadCcc
fab90b09f4
docs: fix site issue (#38552)
* docs: put an example loading component

* fix: site issue

* fix: site issue

* feat: add loading

* feat: alert

* docs: rm ReactDOM.render in md

* docs: use style tag

* chore: update snapshot

* Revert "docs: use style tag"

This reverts commit 1f75a99f8c972dc72f05391b472641245f6d8a17.

* docs: update demo

* chore: update demo

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
2022-11-15 22:55:01 +08:00
MadCcc
31a401ba1a
fix: segmented dark mode (#38582) 2022-11-15 22:22:04 +08:00
kiner-tang(文辉)
1ca984a19c
feat(modal): support pass mousePosition to control modal's animation origin position (#38584)
* feat: support pass mousePosition to control modal's animation target position

* feat: update test case

* Update components/modal/demo/custom-mouse-position.md

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

* docs: update docs

Co-authored-by: afc163 <afc163@gmail.com>
2022-11-15 22:20:02 +08:00
二货爱吃白萝卜
c85e570fd7
fix: menu style missing (#38583) 2022-11-15 22:08:30 +08:00
JackLiR8
3c96997210
fix(Input.Search): pressing enter key don't trigger onSearch while loading (#38575) (#38578) 2022-11-15 18:40:04 +08:00
lijianan
5ef12dfaa5
chore: fix typo (#38568) 2022-11-15 15:51:34 +08:00
lijianan
8cd60cc9bd
fix: Breadcrumb overlay deprecated warning (#38567)
* fix: incorrect warning

* Update components/breadcrumb/__tests__/Breadcrumb.test.tsx

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

Co-authored-by: afc163 <afc163@gmail.com>
2022-11-15 15:10:47 +08:00
Wuxh
4bc23b3ca6
chore: fix the wrong link address (#38543)
* chore: fix the wrong link address

repo: https://github.com/ant-design/u.ant.design

* Revert "chore: fix the wrong link address"

This reverts commit 63e50f426a8d8b9128a7f8fd86fde9415c661f30.

* one more time
2022-11-14 16:32:34 +08:00
MadCcc
49aaa23691
fix: collapse end arrow rotate (#38547)
* fix: collapse end arrow rotate

* chore: menu layout
2022-11-14 15:46:51 +08:00
MadCcc
5b8ebdc337
fix: checkbox trans in Firefox (#38503)
* fix: checkbox trans in Firefox

* chore: code
2022-11-14 15:11:56 +08:00
Wuxh
f458858559
chore: remove Slider outline (#38489)
* chore: remove `Slider` outline

the `::before` pseudo-element here seems to make no sense and gives an incorrect border when setting the `:focus-visible` style.

* chore: optimize focus style

* chore: update hover style

* chore: accept suggested

Co-authored-by: MadCcc <1075746765@qq.com>

* chore: remove noused

Co-authored-by: MadCcc <1075746765@qq.com>
2022-11-14 15:01:07 +08:00
二货机器人
989dcae1a0 chore: bump 5.0.0-beta.2 2022-11-14 14:48:55 +08:00
周晨阳
6a5f53d6e6
docs(Layout): update demo style to sticky (#38542)
* Update fixed.md

* Update demo.test.ts.snap

* update snapshot
2022-11-14 11:16:34 +08:00
二货机器人
3da377036f fix: picker motion 2022-11-13 21:45:37 +08:00
二货机器人
a099cf635d test: update test 2022-11-13 15:07:36 +08:00
二货机器人
a33e344546 fix: lint 2022-11-13 14:43:50 +08:00
二货机器人
ac85fbec6f chore: merge master 2022-11-13 14:33:07 +08:00
thinkasany
2f38076b3d
docs: Optimized description (#38535) 2022-11-13 14:07:22 +08:00
JarvisArt
089e332980
chore: upgrade rc-image to 5.12.0 (#38531)
* test: add snapshot
2022-11-12 21:05:31 +08:00
kiner-tang(文辉)
796e8e16bf
fix: onBlur gets triggered when selecting date in RangePicker (#38411)
* feat: update picker version

* Update package.json

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

* feat: update test case

* feat: RangePicker blurDelay

Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-12 16:32:41 +08:00
二货爱吃白萝卜
38d75cf346
fix: menu grp item style missing (#38525) 2022-11-12 16:27:31 +08:00
Yanlin Jiang
99d281082d
fix: passthrough backtop float button rest props (#38475) 2022-11-11 20:51:51 +08:00
lijianan
d52b8c6afb
type: type optimization (#38510) 2022-11-11 18:15:02 +08:00
黑雨
f035c9d57f
feat: add tour animated (#38469)
* feat: add animated

* feat: update doc

* feat: update doc

* feat: update doc

* feat: update dome

* feat: update lint

* feat: update style

* feat: update reviewer

* feat: update

* feat: update
2022-11-10 22:30:48 +08:00
MadCcc
bcaf197b31
fix: menu margin (#38495)
* fix: menu margin

* chore: code clean
2022-11-10 22:03:34 +08:00
二货爱吃白萝卜
0741f59216
fix: Image operation can not hide & export default seedToken (#38494)
* chore: export defaultSeed

* fix: image motion operation miss
2022-11-10 21:27:37 +08:00
MadCcc
b54c7db3e2
docs: add homepage link (#38486)
* fix: site issue

* fix: homepage link
2022-11-10 19:46:44 +08:00
afc163
07462491ab
fix: Result should hide icon when it is falsy (#38488)
close #38484
2022-11-10 19:27:36 +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
JarvisArt
8af0b4f1f2
fix: The image preview operations are occluded (#38456) 2022-11-10 14:35:29 +08:00
MadCcc
2298ae6099 fix: anchor ball visible 2022-11-10 10:08:10 +08:00
叶枫
b0598e0d41
fix: List key (#38431)
* fix: 修复 key

* feat: remove old key

* feat: test

* feat: test

* feat: test
2022-11-09 23:13:54 +08:00
lijianan
d292257e47
chore: type optimization (#38460) 2022-11-09 17:36:49 +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
lijianan
b36f013e2a
test: add mockRestore to fix incorrect test case (#38454) 2022-11-09 11:55:11 +08:00