Commit Graph

15366 Commits

Author SHA1 Message Date
MadCcc
c224855c89 Merge branch 'master' into feature-merge-master 2022-11-25 20:15:08 +08:00
lijianan
30f7dcc107
docs: update demo use Space (#39001)
* docs: update demo use Space

* update snap
2022-11-25 19:33:07 +08:00
lijianan
66c0a31345
fix: update snap for fix master CI fail (#38997) 2022-11-25 18:32:31 +08:00
MadCcc
1fbb865204
fix: menu overflow (#38989) 2022-11-25 16:00:01 +08:00
afc163
72f7596209
docs: update dayjs weekStart demo (#38990)
close #38987
2022-11-25 15:58:56 +08:00
Amumu
e77b59ad37
fix(table): Fix reset columns filter err (#38982)
* fix(table): fix filter state when reset columns

* fix(table): Fix the problem that the old filter state still takes effect when the list filter column changes

* test: add test case
2022-11-25 15:13:05 +08:00
MadCcc
e04c2d69ae
docs: collect token API from tsdoc (#38964)
* chore: token doc

* docs: token meta

* chore: code clean

* chore: code clean

* chore: json

* chore: rename

* chore: style
2022-11-25 14:23:11 +08:00
Dunqing
963f95faba
fix: incorrect Select and Pagination text color for dark theme (#38979)
* fix: incorrect select text for dark theme

* Update components/select/style/index.tsx

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

* fix: same

Co-authored-by: afc163 <afc163@gmail.com>
2022-11-25 12:26:04 +08:00
Zhanghao
e66fcbd449
fix: The card body's border-radius will be invalid when the bodyStyle has backgroundColor attribute #38912 (#38973) 2022-11-25 11:53:28 +08:00
MadCcc
9c7b395a7d
fix: error palette (#38933)
* fix: error palette

* chore: update doc

* chore: update

* fix: button danger border color
2022-11-25 11:43:33 +08:00
黑雨
8fd6ae54e9
feat: fix support options (#38968)
* feat: fix support options

* feat: update package
2022-11-25 11:12:59 +08:00
Wuxh
8cd63a4d89
fix(badge): fix Badge and showZero can't be used with custom color (#38967)
* test(badge): add case

* fix(badge): fix `Badge` and `showZero` can't be used with custom color

issue: https://github.com/ant-design/ant-design/issues/38965

* test: update snapshots

* docs(badge): update demos

* test: update snapshot
2022-11-24 23:53:22 +08:00
Sagie501
3bdd9d0ff9
docs: Update Radio docs (#38957)
* Update index.en-US.md

* Update index.zh-CN.md

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
2022-11-24 23:51:00 +08:00
二货爱吃白萝卜
50377083ba
fix: form missing motion validate (#38962)
* fix: form missing motion validate

* test: Update snapshot
2022-11-24 21:43:35 +08:00
Yuki Zhang
a7ee3364eb
test: add test cases for Space.Compact context (#38929) 2022-11-24 20:13:16 +08:00
Cat-XHS
ce5d71d66f
feat(tour): TourStepProps ButtonProps ts definition update (#38939)
* feat: tour ts define update

* test: add more unit test
2022-11-24 15:38:42 +08:00
lijianan
0c3ba124b4
fix[BackTop]: delete visible & use visibilityHeight=0 replace visible (#38763)
* type: delete visible & code optimization

* add PureBackTop

* fix: update snap

* fix: cov

* fix: add istanbul ignore

* fix

* feat: use visibilityHeight=0 replace visible=true

* snap

* cov

* test case

* test case

* fix

* fix cov

* fix test

* simplify code

* rename function
2022-11-24 14:59:17 +08:00
Yuki Zhang
5fa56ece32
fix: Space.Compact when wrapping a single child component (#38896)
* fix: Space.Compact when wrapping a single child component

* fix: css selector priority
2022-11-24 12:10:54 +08:00
Yunhwan Logan Na
535501108e
docs: fix broken sub-menu docs (#38930)
* Fix broken sub-menu docs

* Update components/menu/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
2022-11-24 12:04:05 +08:00
afc163
be9c46ccac
docs: fix customize theme doc url (#38928) 2022-11-24 11:26:38 +08:00
thinkasany
98041591ff
fix: optimized type (#38925) 2022-11-24 10:08:44 +08:00
二货爱吃白萝卜
c2f75a2ba3
fix: Tabs missing slide motion def (#38892) 2022-11-23 23:56:24 +08:00
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs (#38902)
* refactor: Optimize theme export and add docs

* chore: fix lint

* chore: fix lint

* chore: fix lint
2022-11-23 20:22:38 +08:00
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
MadCcc
5ec18089e6 Merge branch 'master' into feature-merge-master 2022-11-22 16:47: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
黑雨
67ee019478
Mentions data driven (#38630)
* feat: reset and force update

* feat: update package

* feat: reset

* feat: update for viewer

* feat: update for viewer

* feat: update for viewer

* feat: update for viewer

* feat: update for viewer

* update doc

* feat: add waring

* feat: update doc

* feat: add test case
2022-11-21 21:34:23 +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
lijianan
6a8f5b5765
refactor(Menu): rewrite CC => FC (#38751) 2022-11-21 09:52:33 +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