Commit Graph

152 Commits

Author SHA1 Message Date
lijianan
ddf70283ed
site: update site type { children: React.ReactNode } => React.PropsWithChildren (#48770)
* site: update site type React.ReactNode => React.PropsWithChildren

* fix: fix

* fix: fix
2024-05-06 15:28:52 +08:00
栗嘉男
20f183cf6f chore: merge master into feature 2024-05-01 16:33:46 +08:00
afc163
6c7f161063
docs: fix ltr icon in Safari (#48711) 2024-04-30 14:58:18 +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
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
叶枫
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
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
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
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
二货爱吃白萝卜
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
4eaa664d2e
type: fix useLocale type error of site (#48204) 2024-04-01 12:07:58 +08:00
daisy
f7877d0982
docs: code hide button sticky (#47497) 2024-02-20 19:44:22 +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
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
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
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
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
lijianan
0ea3da719d
site: replace site page <Space /> with <Flex /> (#46834) 2024-01-06 18:05:25 +08:00
afc163
f1954384dc
docs: tweak changelog drawer width in small screen (#46791) 2024-01-04 15:42:11 +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
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
小林不是coder
c210e17eae
docs: color block display bug (#46207) 2023-12-01 23:20:25 +08:00
afc163
f21695817e
docs: fix xpm install commend style (#46077) 2023-11-24 19:25:12 +08:00
MadCcc
e6d9232777
docs: fix demo editor shadow (#45636) 2023-11-02 19:33:00 +08:00
MadCcc
9f1b8f13d0
docs: fix code selection style issue (#45631) 2023-11-02 16:40:33 +08:00
afc163
7e284736a8
demo: improve popconfirm/popover/tootlip placement demo code style (#45581) 2023-10-30 13:57:57 +08:00
MadCcc
67165a78fc
docs: live demo (#45383)
* docs: live demo

* chore: bump dumi

* chore: fix lint

* chore: fix lint

* chore: update demo

* chore: bump dumi

* docs: enhance live demo

* docs: update text
2023-10-23 22:49:49 +08:00
MadCcc
04cc086fb5
chore: fix tsc (#45352) 2023-10-15 19:17:32 +08:00
MadCcc
d5d9e723f8
chore: fix overview link (#45206)
* chore: fix overview link

* chore: update
2023-10-08 13:44:02 +08:00
afc163
abba072bd5
docs: fix API Table styling (#45001)
Signed-off-by: afc163 <afc163@gmail.com>
2023-10-07 12:13:20 +08:00
kiner-tang(文辉)
af38d9f9ee
docs: API table style optimize (#45185) 2023-10-06 09:23:53 +08:00
afc163
07eb5ba82d
docs: move copy button into code previewer (#45099) 2023-09-26 16:41:41 +08:00
MadCcc
e43686da70
docs: fix site issue (#45063)
* docs: fix site issue

* chore: code clean
2023-09-25 16:08:42 +08:00
MadCcc
e41026ab59
docs: fix site issues (#44970) 2023-09-20 16:50:55 +08:00
MadCcc
6939a2fcdf
docs: fix hydration (#44952) 2023-09-19 21:01:07 +08:00
二货爱吃白萝卜
dfe6c2c490
docs: Part of update (#44930)
* chore: fix changelog parser

* chore: clean up

* chore: fix site image style

* chore: bug version

* chore: clean up
2023-09-18 15:30:30 +08:00
lijianan
a0699ea1a0
type: fix .dumi type error (#44916) 2023-09-17 23:32:14 +08:00
cwg
4d3814478c
site: optimize banner display (#44894) 2023-09-15 18:48:34 +08:00
红果汁
2cf22e8ed3
docs: add theme toggle animation (#44655)
* docs: add theme toggle animation

* fix: add compatibility judgment

* refactor: optimization code

* fix: server document not found

* fix: animation lag

* fix: transition issue

* fix: scroll bar theme color
2023-09-08 17:42:12 +08:00
yoyo837
ad46da1697 Merge branch 'master' into feature-merge-master 2023-09-03 00:22:34 +08:00
KuangPengfei
24c7b2ea42
site: optimize site scroll bar dark mode style (#44588)
* style(site): set `prefers-color-scheme` value to optimize the dark mode style of the site scroll bar

* style(site): optimize the value acquisition logic of `prefers-color-scheme`
2023-09-02 12:17:20 +08:00
二货爱吃白萝卜
659054ee49
docs: Blog virtual table (#44526)
* docs: virtual table

* docs: fix other blog style

* docs: more
2023-08-30 21:18:09 +08:00