Commit Graph

15513 Commits

Author SHA1 Message Date
Wuxh
325225e80d
chore(tree): remove flex style (#39209)
* chore(tree): remove flex style

fix: #39194

* update
2022-12-04 17:43:07 +08:00
Dunqing
9e204c2117
docs: fix table drag demo style is incorrect (#39236) 2022-12-04 15:28:34 +08:00
二货爱吃白萝卜
fe60528e84
fix: Dropdown sub-menu missing motion (#39235)
* chore: fix dropdown motion miss

* fix: dropdown missing motion & site check
2022-12-04 13:22:57 +08:00
afc163
86de75649e
style: fix TimePicker panel style inside RangePicker (#39228)
close #39223
2022-12-04 00:45:10 +08:00
afc163
0d6e46b253
docs: fix extra line in index.md (#39225) 2022-12-03 22:57:01 +08:00
Arnaud Benhamdine
33e06a2b92
chore(Drawer): Improve warning message wording and demo doc (#39207)
* Improve warning message wording

* Improve wording in demo

* Fix test
2022-12-03 19:36:03 +08:00
muxin
f9b97897b3
fix(Card): fix card actions' style (#39210)
close #39210
2022-12-03 14:56:31 +08:00
bluelovers
5309b68cfc
docs: Update index.zh-CN.md (#39213) 2022-12-03 14:51:28 +08:00
二货爱吃白萝卜
4d33b7443b
docs: Add more desc & warning (#39201) 2022-12-02 22:44:16 +08:00
github-actions[bot]
834f00022e
chore: auto merge branches (#39192)
chore: feature merge master
2022-12-02 08:22:43 +00:00
lijianan
eb77c5a7e6
fix: fix Badge Wave borderColor error (#39182)
* fix: fix Badge borderColor error

* update demo

* fix

* update demo

* fix

* fix
2022-12-02 14:42:39 +08:00
Wuxh
a4153d5399
fix(radio): fix disabled status check style (#39165) 2022-12-01 21:02:55 +08:00
51wangping
705575a2af
fix: textarea attr(data-count) style (#39121)
* fix: textarea attr(data-count) style

* fix: direction value is equal to rtl then float value is left
2022-12-01 20:16:23 +08:00
二货爱吃白萝卜
720b514ac5
refactor: bump rc-input-number (#39154)
* chore: bump rc-input-number

* chore: fix lint
2022-12-01 16:47:35 +08:00
binyellow
4130e47df4
chore: fixed the value of color.hex when border-radius is changed (#39152) 2022-12-01 16:06:22 +08:00
Jung Min O
d76636ac95
style: modal content width issue without modal icon (#39047)
* Fix modal width issue without modal icon

* Update index.tsx

* Update index.tsx

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
2022-12-01 15:15:30 +08:00
edc-hui
30e2e68bce
fix(Transfer): clicking the checkbox position cannot be unchecked and onSelectChange is triggered twice (#39078) 2022-12-01 14:37:22 +08:00
Dave
337703d550
refactor(type): replace interface with type for export component (#39060) 2022-12-01 14:33:51 +08:00
lijianan
65af95093b
type: type enhance (#39140) 2022-12-01 12:22:11 +08:00
Wuxh
a7f94d5457
fix(steps): fix steps style (#39100)
* fix(steps): fix steps style

* docs(steps): update demo

* style: formater

* docs(steps): update demo

* test: update snapshot

* fix(steps): fix the line style in vertical state

* chore: supplement 8abeac7643

* fix: coverage
2022-12-01 10:57:48 +08:00
二货爱吃白萝卜
134647d12f
fix: form responsive logic (#39130) 2022-12-01 10:37:52 +08:00
二货爱吃白萝卜
15e9260d6b
docs: Update demo (#39128) 2022-11-30 22:50:57 +08:00
二货爱吃白萝卜
07d0a305fe
docs: Fix notification demo (#39122) 2022-11-30 21:19:11 +08:00
MadCcc
e7edfa42d7
docs: update overview img (#38946)
* docs: update overview img

* chore: code clean

* chore: code clean

* chore: update

* chore: code clean
2022-11-30 20:14:41 +08:00
MadCcc
876b4f3b9a
fix: submenu style (#39093) 2022-11-30 18:56:36 +08:00
afc163
aa92f02911
fix: textarea reset style (#39118)
close #39099
close #39113
2022-11-30 17:32:02 +08:00
MadCcc
f5605dd53c fix: sidbar order 2022-11-30 15:57:10 +08:00
Yuki Zhang
51da7e3dc1
feat: Anchor component changed to data-driven (#39034)
* feat: Anchor component changed to data-driven

* test: add test cases for data driven items

* fix: type

* chore: mark deprecated for anchor children prop

* docs: add items description

* test: update snapshot

* docs: demos changed to data-driven

* docs: Keep the old jsx syntax demo for debugging
2022-11-30 15:55:43 +08:00
MARK
a364e58061
style: Upload loading icon should be primary color (#39114)
Co-authored-by: xiechensheng <xiechensheng@kezaihui.com>
2022-11-30 13:43:55 +08:00
Arvin Xu
479e4e8884
📚 docs: add token meta info to token system model (#39101)
* ♻️ refactor token system interface

* 📝 docs: add more token meta info to seeds and map token

* 🔨 chore: update token meta generator scripts

* 🚨 chore: fix lint

* 📝 docs: 补充 token 的 meta 信息

* chore: add json in pkg

* chore: update script

* chore: update flag

Co-authored-by: MadCcc <1075746765@qq.com>
2022-11-30 11:48:47 +08:00
github-actions[bot]
7037b470c0
chore: auto merge branches (#39111)
chore: feature merge master
2022-11-30 03:25:40 +00:00
MadCcc
ffbb19e090
chore: lint (#39102)
* chore: enable tsc for demos

* chore: site lint

* chore: fix lint
2022-11-30 11:05:41 +08:00
Semro
02e2104b45
docs: fix typo (#39104) 2022-11-30 10:07:11 +08:00
@linhf2021
59d6e6a6c2
docs: antd 5 deletes Message.warn (#39092) 2022-11-29 20:28:17 +08:00
snowingfox
6e9fed530b
fix: fix typo (#39089) 2022-11-29 19:48:53 +08:00
Humble
626814729a
style: fix color change (#38921) (#39077) 2022-11-29 15:43:58 +08:00
易风
f15f85b196
docs: Refine the table options (#39070)
* docs: Refine the table options

* docs: Refine the table options
2022-11-29 15:41:21 +08:00
sribich
8cca17f5ce
fix: adjust spin styles to support sm/lg variants (#38923)
* fix: adjust spin styles to support sm/lg variants

* doc: add sized tip examples to Spin docs

* test: update spin component snapshots
2022-11-29 14:09:58 +08:00
MadCcc
def280b6a1
fix: dev ssr (#39069)
* fix: dev ssr

* chore: code clean
2022-11-29 11:29:53 +08:00
afc163
5310a0fa0c
docs: fill documentation about message/notification/Modal.xxx (#39068)
close #39066
2022-11-29 10:39:57 +08:00
MadCcc
a546eedd88
fix: FloatButton motion (#39061) 2022-11-28 23:08:07 +08:00
lijianan
0a004930d3
type: fix demo types error (#39059) 2022-11-28 21:38:36 +08:00
lijianan
4efa3b2896
test: console.error should nullable in Console (#39050) 2022-11-28 14:19:25 +08:00
afc163
aae35a4d3c
perf(bundlesize): remove lodash padStart/padEnd (#39040) 2022-11-28 00:20:50 +08:00
justanotheranonymoususer
42a12e26f4
fix: Card meta default width (#39026) 2022-11-27 22:14:21 +08:00
lijianan
390d497015
docs: add docs description (#39029) 2022-11-27 17:39:35 +08:00
lijianan
b4f6e931ab
docs: add en description (#39024) 2022-11-27 01:58:55 +08:00
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
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