Commit Graph

15390 Commits

Author SHA1 Message Date
thinkasany
9e8b834d4a
docs: Optimize documents (#38882) 2022-11-23 11:06:20 +08:00
dainli
8907c3910f bugfix(DisabledContextProvider): fix disabled logic (#38886)
* bugfix(DisabledContextProvider): fix disabled logic

* test: add test for ConfigProvider componentDisabled

Co-authored-by: dian.li <dian.li@yunzhanghu.com>
2022-11-23 11:05:06 +08:00
黑雨
e12580bedb
dcos: update Tour api doc (#38877) 2022-11-23 00:02:21 +08:00
jjlstruggle
c4c2ee7e32
fix(button): Button block prop not working (#38869) 2022-11-22 23:25:25 +08:00
Yuki Zhang
0b54a18afe
fix: context issues for Space.Compact (#38870)
* fix: context issues for Space.Compact

* test: update snapshots
2022-11-22 22:52:40 +08:00
afc163
bc252da0ad
docs: update table demo (#38861)
* Update size.tsx

* chore: update snapshot
2022-11-22 20:34:20 +08:00
章鱼怪
ee3b94fcfc
fix: Dropdown.Button's dropdownRender is not executed (#38862) 2022-11-22 20:33:10 +08:00
Wuxh
e93f660830
fix(badge): fix the style issue in RTL mode (#38829)
* chore: update style

* docs(badge): add debug demo

* test: update snapshot

* test: offset solution

ref: https://github.com/ant-design/ant-design/pull/38828

* chore: update style

* Revert "test: offset solution"

This reverts commit aacf9c3378.

* Revert "docs(badge): add debug demo"

This reverts commit 52b0dab942.

* test: update snapshot
2022-11-22 19:15:44 +08:00
afc163
0cca743a9e
docs: fix TextArea showCount demo (#38849)
* docs: fix TextArea showCount demo

* chore: update snapshot
2022-11-22 17:02:07 +08:00
MadCcc
5038bf467d
docs: theme switch (#38848)
* docs: theme switch

* chore: code clean

* fix: conflict with theme editor

* docs: use own theme in theme editor

* chore: code clean
2022-11-22 17:00:28 +08:00
Sheralijon
870080bfd0
fix: expand icon row-indentation issue (#38823) 2022-11-22 15:28:31 +08:00
二货机器人
b9cab0fa2e chore: add FormItemInputContext for v3 compatible usage 2022-11-22 11:40:17 +08:00
isaced
c7a1074dc2
docs(Tabs): fix markdown format (#38810) 2022-11-21 22:16:01 +08:00
HzLin
f11d628be6
docs(Badge): change file name (#38801) 2022-11-21 18:18:04 +08:00
MadCcc
91b25d554e
feat: empty simple in dark theme (#38785)
* feat: empty simple in dark theme

* chore: fix lint

* chore: update snapshot

* chore: update snaot
2022-11-21 17:12:10 +08:00
karasu
2de26c0cbd
fix: collapsed inline menu style (#38791) 2022-11-21 16:40:59 +08:00
子瞻 Luci
68b88d98f4
fix(menu): menu horizontal border bottom when dark (#38741) 2022-11-21 12:03:17 +08:00
lijianan
e92cb1ae4f
fix: back-top animation error (#38770) 2022-11-21 11:46:44 +08:00
hms181231
153f232243
test: Update button test case (#38768)
* test: Update button test case

* test: Update button test case
2022-11-21 10:00:13 +08:00
hms181231
f9ef37e9be
test: Update message test case (#38766) 2022-11-21 00:51:58 +08:00
JarvisArt
c51bba2530
fix: menu expansion submenu jitter (#38748) 2022-11-20 01:08:15 +08:00
Sonu Sharma
7728eec447
docs: spelling and grammar fix (#38743) 2022-11-19 22:56:58 +08:00
二货爱吃白萝卜
c511557e76
fix: style parse error (#38742) 2022-11-19 21:49:11 +08:00
lijianan
ff73eb9eb1
chore: simplify strokeWidth code (#38733) 2022-11-19 18:27:48 +08:00
Dave
d32a1fe274
fix(types): external module type error (CompoundedComponent) (#38666)
* fix(types): external module type error (CompoundedComponent)

* refactor(types): rename and replace internal CompoundedComponent type
2022-11-19 16:56:23 +08:00
hms181231
39689bd81c
chore: Definition message.config type (#38723)
* chore: message config ts

* chore: message config test case
2022-11-19 15:24:28 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens (#38722) 2022-11-19 13:47:33 +08:00
lijianan
52cb37f487
chore: remove throttleByAnimationFrameDecorator (#38693)
* chore: remove throttleByAnimationFrameDecorator

* fix

* fix
2022-11-19 13:45:56 +08:00
JarvisArt
30fb068ba5
fix: submenu margin (#38714) 2022-11-18 23:58:17 +08:00
hms181231
52d2b41f9d
chore: Update message hooks demo (#38707)
* chore: update message hooks demo

* chore: update message hooks demo
2022-11-18 23:36:29 +08:00
afc163
c2fb6f4842
chore: fix lgtm errors (#38711) 2022-11-18 23:34:07 +08:00
lijianan
c39e1223f8
chore: type optimization (#38698)
* chore: type optimization

* fix: rename direction

* Update index.tsx
2022-11-18 23:11:03 +08:00
lijianan
a552a5eea5
type: fix type (#38697) 2022-11-18 22:20:18 +08:00
lijianan
9dc33bda54
chore: set default value for style (#38689)
* fix: set default value for style

* Update components/tooltip/util.ts

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

Co-authored-by: afc163 <afc163@gmail.com>
2022-11-18 18:37:18 +08:00
MadCcc
e399a962ed docs: update config-provider theme demo 2022-11-18 17:23:21 +08:00
MadCcc
4ab8693693 docs: fix gfm 2022-11-18 16:59:42 +08:00
afc163
f4d4135480
test: fix upload image test by skip one (#38676) 2022-11-18 15:19:20 +08:00
MadCcc
73139eb5af
docs: 5.0.0 changelog (#38642)
* docs: 5.0.0 changelog

* chore: bump version

* chore: english changelog

* chore: code clean

* docs: add missing break line

* docs: eng version pretter

* chore: update

* chore: clean

* chore: remove backtop doc

* chore: update changelog

* chore: code clean

* docs: update

* rm eng log

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-11-18 13:10:45 +08:00
afc163
8d59e84446
style: fix large Input size (#38664)
* style: fix large Input size

close #38659

* Update components/input/style/index.tsx

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

Co-authored-by: MadCcc <1075746765@qq.com>
2022-11-18 11:51:57 +08:00
MadCcc
6848b23169
fix: global icon style (#38617)
* fix: global icon style

* chore: code clean

* feat: icon style in CP

* chore: code clean

* chore: code clean

* chore: support ss

* feat: wrapSSR only if iconPrefixCls does not equal parent

* chore: code clean

* chore: fix lint

* chore: fix lint

* chore: test

* chore: wrap children

* chore: code clean

* chore: fix lint
2022-11-18 09:55:42 +08:00
afc163
85b171a6e2
style: fix SubMenu offset (#38645) 2022-11-18 00:18:18 +08:00
MadCcc
0162d2e2d8
feat: change transiton to mid duration (#38648) 2022-11-17 23:31:41 +08:00
Peach
35af9b180b
docs: correct demo style for tag (#38650)
* docs: correct colorful demo style for tag

* docs: correct colorful-inverse demo style for tag
2022-11-17 23:24:08 +08:00
Wuxh
d225c56c31
docs: improve component demo style (#38643)
* chore: examine badge

* chore: examine button

* chore: examine alert

* test: update snapshot
2022-11-17 23:19:28 +08:00
Wuxh
03f891a78c
fix: Pagination jumper style (#38639)
* chore: update styles

* chore: Reverse format

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
2022-11-17 22:20:08 +08:00
afc163
ac1e1c230b
docs: fix Skeleton style and demo layout (#38625)
* docs: fix skeleton demo style

* docs: update skeleton demo
2022-11-17 18:49:41 +08:00
JarvisArt
c6c35cc0ad
fix: menu paddingTop centered with icon (#38626) 2022-11-17 18:37:48 +08:00
afc163
ac143ffb4d
docs: fix component demo column number (#38631)
* docs: fix component demo column number

* test: skip test case
2022-11-17 18:28:13 +08:00
afc163
e027cbec1c
docs: format all markdown (#38629)
* chore: add prettier-ignore in markdown demo

* docs: format markdown api table

* docs: format markdown api table
2022-11-17 17:31:26 +08:00
MadCcc
de555912c9
feat: anchor ink ball style (#38616)
* feat: anchor ink ball style

* chore: code clean

* chore: code clean

* chore: code clean

* chore: update snapshot

* chore: change cover
2022-11-17 16:49:09 +08:00
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 1f75a99f8c.

* 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 63e50f426a.

* 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 028265d3ba.

* 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
lijianan
fe9ac7b936
fix: incorrect warning (#38446) 2022-11-09 09:46:27 +08:00
Sagie501
87817ea172
docs: Update index.en-US.md (#38445)
Fix steps docs
2022-11-09 09:44:13 +08:00
Katsiaryna Pustakhod
cc67f63785
fix: Adds role progressbar to Progress component (#38447)
* Add role to progress component

* Update snapshots
2022-11-09 09:42:10 +08:00
tinyfind
7ee9873a45
fix: Paragraph break-word (#38439) 2022-11-08 20:26:26 +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
二货机器人
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
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
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
二货爱吃白萝卜
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
afc163
8f0970d596 Merge branch 'master' of github.com:ant-design/ant-design 2022-11-04 11:58:36 +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
lijianan
9cbacd148e
test: add unmount for test case (#38373) 2022-11-04 11:20:53 +08:00
章鱼怪
ad3c7747e1
feat: add padding less variable for Alert (#38369)
* feat: add padding less variable for Alert

* feat: Alert less variable
2022-11-04 10:43:29 +08:00
二货机器人
92b37eebbf fix: rm useless background color of FloatButton group 2022-11-03 14:29:31 +08:00
黑雨
53c2be01ca
chore: update rc-steps and add test case (#38319)
* feat: update rc-steps

* feat: update rc-steps

* feat: update rc-steps

* feat: fix items
2022-11-03 14:28:03 +08:00
afc163
f151990700
fix: Popover icon color get polluted (#38355)
close #38353
2022-11-03 12:12:40 +08:00
二货机器人
5cce2cd7c4 chore: adjust Popover PurePanel style pos 2022-11-03 11:06:34 +08:00
Mike Ellis
46a0c60d0c
fix: Adds aria-label to Table header checkbox (#38336)
* Adds aria-label to Table header checkbox

* Corrects inverted aria label

* Updates some napshots

* Updates transfer snapshots
2022-11-03 10:15:03 +08:00
二货爱吃白萝卜
d6e643a46d
feat: Tour support PurePanel (#38348)
* feat: PurePanel

* test: Update snapshot

* test: coverage
2022-11-03 00:43:26 +08:00
lijianan
a38e411b72
fix: remove strokeWidth limit (#38320)
* fix: remove limit

* fix: fix

* fix: fix

* fix: update snap
2022-11-02 22:21:28 +08:00
MadCcc
abf45ca898
fix: Tour should not trigger onNext if finish (#38347)
* fix: Tour should not trigger onNext if finish

* test: update test case

* chore: update test case
2022-11-02 21:54:55 +08:00
叶枫
b36ddace4c
docs: add doc (#38345)
* feat: done

* feat: done
2022-11-02 17:50:50 +08:00
黑雨
b0850139f2
[new component] Next tour (#37867)
* feat: init

* feat: update

* feat: upate

* feat: update

* feat: update

* feat: init

* feat: init

* feat: init

* feat: update

* feat: update

* feat: update

* feat: update rc-tour

* feat: init component

* feat: init component

* chore: update pck

* doc: update doc

* doc: update reviewer

* doc: update reviewer

* doc: update reviewer

* feat: update reviewer

* feat: update reviewer

* feat: update doc

* feat: update deme

* feat: update demo doc

* feat: update demo

* feat: update demo

* feat: update style

* feat: update dom & style

* feat: update dome

* feat: update dome

* docs: update demo

* feat: update doc

* feat: update dome

* feat: add locale

* doc: update locale

* doc: add test

* feat: add test case

* feat: add test case

* feat: update package

* feat: update ts

* feat: update ts

* feat: update snapshots

* feat: update demo

* feat: update demo

* feat: update demo

* feat: edit maxSize

* feat: edit maxSize

* feat: update lint

* feat: update lint

* feat: update style reviewer

* feat: update style

* feat: merge next

* feat: add locale

* feat: reset bundleSize

* feat: change maxSize

* feat: update test coverage

* feat: update test coverage

* feat: add type

* chore: simplify en locale

* feat: update

* feat: update test snap

* docs: demo update

* chore: adjust style

* chore: adjust style

* chore: bump rc-tour

* Update package.json

* feat: update package

* feat: update package

* feat: update cover

* docs: update api

* docs: update overview snap

* feat: update token

* feat: delete repeat ts

* feat: remove finishButtonProps

* chore: update demo

* feat: tour style

* test: fix lint

* chore: code clean

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-11-02 16:25:28 +08:00
MadCcc
8f6f223f2d
fix: image preview style (#38339)
* fix: image preview style

* chore: code clean
2022-11-02 13:59:23 +08:00
Optimistic-Chen
036a2c20a1
chore: update table demo ts type (#38333)
* 虚拟滚动列表中的Parameters<typeof Table>[0]改为泛型传参

虚拟滚动列表中的Parameters<typeof Table>[0]改为泛型传参,可以定义通过datasource定义RecordType的值,而不是object

* Update virtual-list.md

* docs: virtualtable example use generic instead of 'Parameters[0]'

* Update components/table/demo/virtual-list.md

Co-authored-by: liangjun.chen <liangjun.chen@yunqutech.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-02 13:21:28 +08:00
lijianan
81864f9b8a
fix: ball lose (#38338)
* fix: ball lose

* Update components/anchor/style/index.less

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

* fix: fix style

Co-authored-by: afc163 <afc163@gmail.com>
2022-11-02 12:00:11 +08:00
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
2022-11-01 15:06:38 +08:00