Commit Graph

553 Commits

Author SHA1 Message Date
tanghui
d70de6c6e6 Merge branch 'master' into feature-merge-master 2024-04-26 17:20:46 +08:00
lijianan
b9d90f8299
chore: simplify import expression from package.json (#48602) 2024-04-24 11:06:12 +08:00
afc163
8812b14e9d
docs: improve Header menu style (#48597) 2024-04-24 09:51:46 +08:00
afc163
e08704f6a4
docs: fix space in import statement (#48552)
* chore: fix space in import statement

* chore: fix space in import statement

* Update .dumi/theme/builtins/ComponentMeta/index.tsx

Signed-off-by: afc163 <afc163@gmail.com>

* -C

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-04-23 10:21:29 +08:00
lijianan
27c942a00b
Merge pull request #48524 from ant-design/master
chore: merge master into feature
2024-04-18 10:11:58 +08:00
二货爱吃白萝卜
4cefa2fa64
doc: fix site render (#48514)
* docs: fix markdown

* docs: clean up
2024-04-17 17:27:16 +08:00
afc163
e7d685d4d6
docs: improve resource page style (#48460)
* docs: improve resource page style

* docs: improve resource page style

* docs: improve resource page style

* Update .dumi/theme/builtins/ResourceCards/index.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-16 10:31:13 +08:00
lijianan
8a4a83ace7
Merge pull request #48471 from ant-design/master
chore: merge master into feature
2024-04-16 10:17:57 +08:00
lijianan
daba39b88a
site: fix css var error of site (#48449) 2024-04-15 11:40:58 +08:00
lijianan
d1a8376e09
site: fix different font-size between jsx demo and tsx demo (#48448) 2024-04-15 10:27:51 +08:00
gin-lsl
72b5263344
site: sync all code type of demos when change one of them (#48436)
* site: sync all code type of demos when change one of them

* site: remove localStorage

---------

Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-04-13 23:11:29 +08:00
lijianan
d34ab00717
demo: update wrap="wrap" => wrap (#48409) 2024-04-12 12:10:38 +08:00
lijianan
4cba8b85d5
Merge pull request #48383 from ant-design/master
chore: merge master into feature
2024-04-10 20:30:10 +08:00
lijianan
6b3a6350c3
site: use css token (#48367) 2024-04-10 11:47:30 +08:00
叶枫
6dcd6e2dc1 feat: merge master 2024-04-08 14:37:05 +08:00
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
lijianan
24a65de3c5
Merge pull request #48317 from ant-design/master
chore: merge master into feature
2024-04-07 17:37:40 +08:00
lijianan
251e9c9128
site: site code optimization (#48299) 2024-04-07 10:10:25 +08:00
lijianan
2acb7b217a
site: use css token (#48294)
* site: use css token

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2024-04-06 16:11:17 +08:00
lijianan
bb74803437
Merge pull request #48293 from ant-design/master
chore: merge master into feature
2024-04-05 22:40:14 +08:00
kiner-tang
80af2a65ed
docs: Added ways to use bun installation dependencies (#48289)
* docs: add bun

* docs: add bun

* docs: add bun

* docs: add bun
2024-04-05 18:27:10 +08:00
lijianan
87fe058776
site: site code optimization (#48286) 2024-04-05 15:15:10 +08:00
lijianan
448cb81a7c
site: simplify bug reason & adjust padding (#48277)
* site: simplify bug reason

* Update .dumi/theme/common/ComponentChangelog/ComponentChangelog.tsx

Signed-off-by: kiner-tang <1127031143@qq.com>

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
2024-04-05 11:41:30 +08:00
Eden Wang
d62d51a76c
site: move the blur to inner div (#48283) 2024-04-05 11:41:02 +08:00
kiner-tang
1d79f6d962
site: opt site style (#48282) 2024-04-05 11:10:02 +08:00
kiner-tang
378dce71ad
docs: component log display bug versions (#48267)
* site: component changelog display bug versions

* site: component changelog display bug versions

* site: component changelog display bug versions

* site: component changelog display bug versions
2024-04-04 20:10:00 +08:00
lijianan
34a7faa082
Merge pull request #48256 from ant-design/master
chore: merge master into feature
2024-04-04 10:37:15 +08:00
二货爱吃白萝卜
9680481546
feat: Mix style framework support (#48229)
* chore: add layer mark

* docs: enable @layer for test

* docs: add doc of third part lib

* docs: update order

* Update docs/react/compatible-style.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* Update docs/react/compatible-style.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* docs: ssr or reset case

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-03 17:12:02 +08:00
lijianan
570c1be492
site: add component version to meta (#48226)
* site: add component version to meta

* Update .dumi/theme/builtins/ComponentMeta/index.tsx

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-02 16:33:57 +08:00
lijianan
0a79a79bc7
docs: update sidebar style of website (#48224)
* docs: update GetRef/GetProp/GetProps docs

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2024-04-02 14:05:03 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict (#47998)
* feat: tsconfig enable strict

* feat: add no-explicit-any

* feat: strict

* feat: as THEME

* feat: 优化 keys 类型写法

* feat: demo remove any

* feat: as number

* feat: this any

* feat: add eslint

* feat: cascader

* feat: props any

* feat: remove any

* feat: remove any

* feat: any 提示错误

* feat: remove any

* feat: add eslint

* feat: 允许 T = any 存在

* feat: color funciton

* feat: 恢复 lint

* feat: merge master

* feat: as ReactElement

* feat: type
2024-04-01 15:49:45 +08:00
lijianan
4eaa664d2e
type: fix useLocale type error of site (#48204) 2024-04-01 12:07:58 +08:00
lijianan
749ee4254e
site: fix the problem of the operating area being blocked (#48195) 2024-03-31 21:19:04 +08:00
lijianan
96f0ec60c5
site: site style optimization (#48088)
* site: site style optimization

* Update .dumi/theme/slots/Header/index.tsx

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-03-28 10:15:41 +08:00
konka
bc788704b5
site: fix the aside nav may cover the version dropdown box in so… (#48082)
* fix(site): fix the aside nav may cover the version dropdown box in some screen resolutions

* fix(review): fix code  review
2024-03-26 14:12:01 +08:00
叶枫
f9e49af521
feat: deprecated-codesandbox (#48081)
* feat: deprecated-codesandbox

* feat: debug show csb
2024-03-26 10:44:37 +08:00
MadCcc
030cb17329
docs: fix anchor flick when has popover (#48064) 2024-03-25 11:50:55 +08:00
afc163
15532f9ff1
docs: add docs edit link in meta (#48034)
* docs: add docs edit link in meta

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-03-23 18:47:23 +08:00
lijianan
dfd0106994
site: rewrite inline-style => cssinjs (#48018) 2024-03-22 15:43:15 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage (#48004)
* docs: init ref

* docs all support

* docs: fix link show
2024-03-22 14:22:42 +08:00
lijianan
505da69e68
site: update site scrollbar style (#48000) 2024-03-21 21:16:22 +08:00
afc163
f5e9d2df45
docs: fix Menu ellipsis style (#47997) 2024-03-21 14:28:12 +08:00
afc163
0d5e0df42c
docs: improve resource page style (#47708) 2024-03-05 13:34:43 +08:00
二货爱吃白萝卜
4fafb40147
docs: fix res page not work in dark mode (#47697) 2024-03-05 10:57:23 +08:00
lijianan
903aa71a40
chore: update getItemTag to react component (#47583)
* docs: update docs

* update docs

* chore: update .dumi
2024-03-01 22:19:06 +08:00
afc163
f6dec5ab76
site: fix banner text shift in home page (#47580) 2024-02-25 21:11:04 +08:00
winches
0a83d5b34b
docs: fix dark mode refresh miss dark attr (#47558)
* docs: fix dark mode refresh miss dark attr

* docs: fix dark mode refresh miss dark attr
2024-02-24 14:49:26 +08:00
二货爱吃白萝卜
d41e253f56
docs: re-order open link (#47540) 2024-02-22 15:40:14 +08:00
susuhhhhhh
8cf629f126
demo: replace abandoned APIs with new ones (#47519)
* fix:废弃 api 替换成新 api

* Update demo-extend.test.ts.snap

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-02-21 19:37:40 +08:00
daisy
f7877d0982
docs: code hide button sticky (#47497) 2024-02-20 19:44:22 +08:00
lijianan
bb59275276
site: Semantic style optimization (#47462) 2024-02-18 12:34:28 +08:00
lijianan
a84af71d14
site: code optimization (#47456) 2024-02-16 20:50:31 +08:00
afc163
c329efe45f
docs: tweak contributors fallback style (#47407) 2024-02-08 13:56:18 +08:00
二货爱吃白萝卜
7104513a84
docs: Support semantic preview (#47332)
* docs: init

* docs: semantic block

* docs: part of demo

* docs: modal

* docs: slider

* docs: space

* docs: all sementic

* docs: clean up

* chore: fix lint

* chore: clean up

* chore: update script

* test: fix test case

* test: update testcase
2024-02-05 11:45:42 +08:00
lijianan
371c10c01f
site: update dumi type (#47326)
* site: update dumi type

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2024-02-04 17:08:39 +08:00
MadCcc
b996149582
docs: fix toc max-height (#47302) 2024-02-02 13:46:26 +08:00
afc163
c21e948f14
docs: fix Icon warning (#47290)
* docs: fix Icon warning

* Update components/modal/interface.ts

Signed-off-by: afc163 <afc163@gmail.com>

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-02-02 11:17:28 +08:00
MadCcc
7ec7ab18da
docs: classify new icons (#47267)
* docs: classify new icons

* chore: code clean
2024-02-01 16:15:04 +08:00
MadCcc
441ba5f5d1
fix: component style without hash (#46609)
* fix: Select style without hash

* fix: common style logic

* fix: lint

* fix: menu style

* chore: update checkbox demo

* chore: fix test

* chore: rm test
2024-01-30 11:08:02 +08:00
KAM
601d4db14b
fix(Site): Fix the issue of font color not synchronizing with theme changes in code preview in dark mode on the document site. (#47179) 2024-01-27 17:06:14 +08:00
MadCcc
f9b2afa739
docs: fix code style (#47140)
* docs: fix code style

* chore: code clean
2024-01-24 14:43:03 +08:00
Peach
b966162d64
docs: update live demo feature (#47107)
* docs: update live demo feature

* docs: real iframe live demo
2024-01-23 13:30:15 +08:00
renovate[bot]
10f88d197c
chore(deps): update dependency @qixian.cs/github-contributors-list to v2 (#47081)
* chore(deps): update dependency @qixian.cs/github-contributors-list to v2

* fix: fix import

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-21 11:58:02 +08:00
MadCcc
5068137a1b
docs: add alert design page (#47037)
* docs: add alert design page

* chore: code clean

* fix: fallback style
2024-01-19 14:47:04 +08:00
afc163
573789c9cf
size: improve mirror modal style (#46993)
Co-authored-by: vagusX <vagusxl@gmail.com>
2024-01-17 14:28:37 +08:00
栗嘉男
b241f68a33 chore: merge master into feature 2024-01-11 14:43:16 +08:00
Peach
32052bf5d8
docs: update live demo logic with dumi 2.3 beta (#46805)
* docs: update live demo api with dumi 2.3 beta

* docs: lint fix

* refactor: update naming of demo source

* feat: optimize souce code editor style

* chore: update dumi version

* chore: restore dumi overrides

* ci: setup before lint only for ci

* chore: trigger ci re-run

* chore: bump dumi version

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-09 22:51:55 +08:00
afc163
dd9a69944e
docs: move ecosystem links (#46856)
* docs: move ecosystem links

* docs: update docs

* chore: remove Move reference'
2024-01-08 14:28:37 +08:00
舜岳
3a04ea1c5e
fix: document homepage style optimization (#46855) 2024-01-08 13:33:06 +08:00
lijianan
928eaf411a
Merge pull request #46830 from ant-design/master
chore: merge master into feature
2024-01-07 23:18:42 +08:00
lijianan
0ea3da719d
site: replace site page <Space /> with <Flex /> (#46834) 2024-01-06 18:05:25 +08:00
kelvine
e18b55a0da
docs: correction on Third Part(Y) grammar (#46831)
I added grammar corrections to fix the "third party" spelling

Signed-off-by: kelvine <kchawora@yahoo.com>
2024-01-05 23:00:32 +08:00
舜岳
a72ea642b2
fix: document homepage style optimization (#46818)
* fix: document homepage style optimization

* fix: use the wrap property of Space
2024-01-05 17:49:04 +08:00
MadCcc
9ece76b269
docs: use dumi alert (#46793)
* docs: use dumi alert

* chore: code clean
2024-01-05 10:12:22 +08:00
二货爱吃白萝卜
1d8f4235cb
Merge pull request #46798 from ant-design/master
chore: feature merge master
2024-01-04 20:44:01 +08:00
afc163
f1954384dc
docs: tweak changelog drawer width in small screen (#46791) 2024-01-04 15:42:11 +08:00
lijianan
bc5752eb6f
chore: merge master into feature 2024-01-03 08:54:15 +08:00
lijianan
1a4e6fb634
site: fix code-box style with Badge (#46743)
* site: fix code-box style with Badge

* fix: fix

* Update .dumi/theme/common/styles/Demo.tsx

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-01-02 18:31:33 +08:00
叶枫
8950642664
feat: config support holderRender (#46596)
* feat: config support container

* feat: add test

* feat: reset demo

* feat: test

* feat: test

* feat: test

* feat: test

* feat: md

* feat: limit

* fix: prefix

* feat: limit

* feat: message support app config

* feat: notification support app config

* feat: add maxCount test

* feat: icons

* feat: 增加 2 个 todo

* feat: holderRender

* feat: md

* feat: message 兼容旧逻辑

* feat: notification 兼容完成

* feat: modal 兼容完成

* feat: 优化 modal

* feat: 优化代码

* feat: 优化代码

* feat: 给 CP 添加 demo

* feat: 优先级完成/demo迁移完成

* feat: review

* feat: review

* feat: 优化 modal 代码

* feat: 支持 rtl

* feat: 修改注释

* feat: 优化单测

* feat: 优先级注释

* feat: remove getPrefixCls

* feat: demo

* feat: demo

* feat: demo

---------

Co-authored-by: MadCcc <madccc@foxmail.com>
2024-01-02 17:43:27 +08:00
MadCcc
4920955741
docs: hide banner (#46730)
* docs: hide banner

* chore: code clean

* Update GlobalLayout.tsx

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-02 17:01:08 +08:00
afc163
17a634b6a2
chore: move ThemeSwitch into Suspense (#46731) 2024-01-02 16:29:20 +08:00
lijianan
1db0daffc1
Merge branch master into master-merge-feature 2023-12-30 02:40:22 +08:00
afc163
3906010f4f
chore: footer should not in suspense (#46687) 2023-12-28 22:14:09 +08:00
afc163
398f924740
docs: load some components when in-viewport (#46629)
* docs: load some components in viewport

* chore: fix lint errors

* chore: fix fallback
2023-12-28 21:27:21 +08:00
Amumu
38375f3c31
chore: bump rc version (#46676)
* chore: bump rc version

* chore: use variant
2023-12-28 17:27:58 +08:00
MadCcc
55439cee71
docs: fix theme change (#46638)
* docs: fix theme change

* feat: make ssr cssVar always before cssinjs

* chore: code clean
2023-12-27 17:32:02 +08:00
lijianan
3d4e3ca089
site: site ContributorAvatar style optimization (#46623) 2023-12-26 12:08:50 +08:00
MadCcc
89e5c0c30b
docs: fix 4x url (#46498) 2023-12-18 11:03:24 +08:00
b7cf72d7cb
docs(theme): improve built-in component style (#46414)
* docs(theme): improve built-in component style

* chore: update style

* chore: update style

---------

Co-authored-by: MadCcc <madccc@foxmail.com>
2023-12-18 11:02:29 +08:00
afc163
acbbbfebc2
refactor: import other components async in component doc (#46491)
* refactor: ContributorAvatar component

* refactor: import other components async in component doc

* chore: fix lint

* docs: add suspense fallback

* docs: add suspense fallback

* docs: add suspense fallback
2023-12-17 15:33:54 +08:00
lijianan
f6d43add73
site: site code optimization (#46487) 2023-12-17 06:55:50 +08:00
afc163
fc432311f2
docs: improve document loading style (#46459) 2023-12-14 19:19:28 +08:00
afc163
2d28495c9c
docs: update Layout demos (#46378)
* docs: update Layout demos

* test: update snapshot
2023-12-11 12:22:23 +08:00
lijianan
02396c986c
site: update demo Tabs usage (#46351) 2023-12-09 19:32:10 +08:00
MadCcc
2565d5832a
docs: enable hash (#46271) 2023-12-05 17:11:32 +08:00
MadCcc
2d67c0f0e4
docs: site date client only (#46230)
* docs: site date client only

* chore: fix style

* chore: fix lint

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-12-04 15:12:49 +08:00
vagusx
71bd883126 Merge remote-tracking branch 'origin/master' into feature-merge-master-12-04 2023-12-04 10:32:45 +08:00
小林不是coder
c210e17eae
docs: color block display bug (#46207) 2023-12-01 23:20:25 +08:00
MadCcc
38c941e4e9
doc: update banner (#46206) 2023-12-01 14:43:32 +08:00
MadCcc
8816dc04c7 Merge branch 'master' into feature-merge-master 2023-11-30 20:22:00 +08:00