Commit Graph

165 Commits

Author SHA1 Message Date
lijianan
130c22ab03
style: Code style optimization (#40083)
* style: Code style optimization

* add

* rename

* rename

* revert

* revert

* revert

* add
2023-01-08 15:36:50 +08:00
AkaraChen
c0ce8e5455
site: site code style optimization (#40088) 2023-01-08 13:26:35 +08:00
linxianxi
398d3e6937
site: fix anchor height (#40069) 2023-01-06 16:47:40 +08:00
afc163
de2a373d5f
site: update overview search style (#40060) 2023-01-06 14:52:08 +08:00
dongfang
0dc7815599
fix: missing css code in demo code preview (#39471)
* fix: missing demo style in windows

* fix: missing css code in demo preview

* fix: change TabPane to tabs items

* fix: change cn why-open url
2023-01-06 12:36:43 +08:00
lijianan
67e958fdd6
fix: find the missing code (#40047) 2023-01-06 09:46:47 +08:00
lijianan
e4dd7096af
site: refactor CC => FC (#40043)
* fix

* fix

* fix
2023-01-05 20:10:03 +08:00
afc163
7d77f3173d
site: improve demo card style (#40028)
* site: improve demo card style

* test: update snapshot

* test: update snapshot

* fix: demo card border

* docs: fix dark mode

* style: fix color
2023-01-05 15:30:59 +08:00
afc163
c8bc3ce6c6
site: fix home page rtl style and footer icons (#40003)
* docs: fix home page rtl style

* style: fix rtl style

* Update package.json

* style: fix card text align

* style: update footer icons
2023-01-04 19:37:57 +08:00
afc163
df4542e20c
site: make icon search affix (#40002)
* feature: update IconDisplay component in Icon docs template, affix icon search input box to the top of page

* style: change shadow style

Co-authored-by: Chang Wei <changwei1006@gmail.com>
2023-01-04 18:49:55 +08:00
MadCcc
7b06b662d1
chore: add cssinjs linter (#40001) 2023-01-04 17:55:23 +08:00
afc163
a9bab97d92
chore: update style of github contributors (#39994) 2023-01-04 13:45:02 +08:00
afc163
cfc763bce3
chore: fix header menu style in mobile device (#39967) 2023-01-03 14:06:57 +08:00
afc163
cf41f81dc7
chore: replace react-sticky to react-sticky-box in Tabs demo (#39898)
* docs: replace react-sticky to react-sticky-box in Tabs demo

* test: fix test case
2022-12-29 18:37:06 +08:00
MadCcc
f8dfdd0c96
docs: fix prerender (#39864)
* docs: fix prerender

* chore: add fallback

* chore: update spin

* chore: code clean
2022-12-28 18:17:17 +08:00
MadCcc
4efc8cc849
docs: fix ssr issue (#39825)
* docs: fix ssr issue

* docs: fix

* chore: code clean

* chore: update deps
2022-12-27 17:09:01 +08:00
afc163
06bd9d1852
perf: Remove IE11 from browserslist and babel targets (#38779)
* Update package.json

* chore: bump antd-tools

* Update package.json

* fix: browserslist in codesandbox

* chore: upgrade antd tools

* chore: upgrade antd tools

* test: fix Cannot access mockCanUseDom before initialization

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* Update package.json

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-25 18:37:57 +08:00
黑雨
2b947d0480
docs: preview images in markdown (#39739)
* feat: site previewImage

* feat: site previewImage

* feat: use image

* feat: update doc

* feat: delete align="right"

* feat: update doc

* feat: delete css

* feat: update doc

* feat: delete align="right"

* feat: update doc
2022-12-24 18:11:43 +08:00
MadCcc
940a29fe4c
docs: fix color palettes (#39759)
* docs: fix color palettes

* chore: code clean
2022-12-23 16:31:30 +08:00
Wuxh
76241f5d0b
chore(tabs): update demo (#39731)
* 做重复了

* Revert "做重复了"

This reverts commit 79c59e79ea66c6592df9dca0e41e10399044ec7a.

* site(theme): demo block supports no inner margin configuration

ref: https://d.umijs.org/guide/write-demo#%E4%B8%8D%E9%9C%80%E8%A6%81%E5%86%85%E8%BE%B9%E8%B7%9D

* docs(tabs): update demo styles

* chore: update style

* test: update snapshot

* Revert "site(theme): demo block supports no inner margin configuration"

This reverts commit ee2ff257961052eaab8ac6ae5d234efb582e049b.

* chore: update

* Revert "chore: update"

This reverts commit bbe449cb3f37a51e1dbcde57d1b3b94e53e3407a.

* Revert "Revert "site(theme): demo block supports no inner margin configuration""

This reverts commit 5eac19e7f2f045bf2b16166a166a0f3c81012701.

* chore: convert to debug demo

* chore: use emotion

* test: update snapshot
2022-12-23 12:12:24 +08:00
二货爱吃白萝卜
540e3aae46
docs: adjust mig & anchor (#39732) 2022-12-22 15:31:40 +08:00
Peach
6236e356b5
docs: update all site anchors (#39687)
* docs: update all site anchors

* docs: handle hash change from Link component
2022-12-22 14:12:26 +08:00
afc163
a692dc101c
docs: fix markdown table margin (#39683) 2022-12-21 10:20:38 +08:00
MadCcc
4714f851d4
docs: fix menu bg (#39649) 2022-12-19 17:22:25 +08:00
lijianan
ba999de764
chore: site code format (#39457)
* format: site code format

* Conflicting

* lint

* rename
2022-12-19 13:23:28 +08:00
lijianan
0eaf2b40cf
site: add blog about test library migration (#39591)
* add blog

* fix

* fix

* fix lint

* fix

* fix

* fix

* fix

* fix

* fix
2022-12-19 11:50:11 +08:00
Wuxh
36abb3df4e
chore(site): improve site (#39504)
* chore: merge context

* chore:  theme context

* chore(site): improve site

* chore: update components overview url

* chore: update

* chore: remove default theme button

* chore: update

* chore: update
2022-12-19 11:42:41 +08:00
lijianan
a0b713c98b
site: cc => fc (#39635) 2022-12-19 11:25:21 +08:00
lijianan
97cfc17278
chore: use const replace var (#39632) 2022-12-19 10:07:52 +08:00
lijianan
b93d040fce
site: icon update (#39534)
* site: icon update

* use href

* use Link

* fix style

* fix

* use token

* use token

* Update .dumi/theme/common/ThemeSwitch/index.tsx

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

* fix

Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-15 12:07:06 +08:00
PCCCCCCC
53470fc476
Adapt to the mobile mode of the new official website (#39043)
* feat: add basic css for title
feat: add basic Carousel structure
feat: modify some card with mobile mode
feat: style change for theme
feat: Extract public styles and improve some styles
fix: Fix code loss caused by handling conflicts

* feat: change the theme to carousel with image
2022-12-11 20:39:46 +08:00
afc163
0a846f8754
docs: improve markdown table style (#39446)
* docs: improve markdown table style

* docs: improve markdown table style
2022-12-10 04:03:03 +08:00
Dunqing
9ce2da2988
chore: fix demos not working in codepen (#39407)
* chore: fix incorrect external url for react-router

* chore: fix external url missing dayjs
2022-12-08 22:33:59 +08:00
afc163
cf476d9477
chore: improve ThemeSwitcher implementation (#39398)
* docs: theme should be in searchParams

* chore: use locale text

* chore: fix searchParams usage

* fix: compact can use with dark/light theme

* chore: fix lint
2022-12-08 17:44:49 +08:00
二货爱吃白萝卜
33deda5e38
docs: Update Blog (#39399)
* docs: auto order

* docs: getContainer blog

* chore: rm console
2022-12-08 16:46:48 +08:00
afc163
b2df64a057
chore: fix code box icons cannot display in Safari (#39395)
close #39318
2022-12-08 16:43:00 +08:00
afc163
66754060f9
chore: remove unused devDeps (#39392) 2022-12-08 13:44:20 +08:00
MadCcc
d04756c983
docs: add heading link (#39388)
* docs: add heading link

* refactor: global styles
2022-12-08 12:14:18 +08:00
lijianan
ee6ca79f0f
refactoring: jsx => tsx (#39383)
* refactoring: jsx => tsx

* fix lint
2022-12-08 10:13:38 +08:00
Wuxh
4a803962eb
site: update docs styles (#39348)
* site: update docs styles

* site(theme): add ColorChunk component

* chore: update

* docs: update docs
2022-12-07 22:36:08 +08:00
afc163
ed8fac4989
chore: fix SSG hydration issue (#39359) 2022-12-07 19:51:10 +08:00
lijianan
07fdd6dd60
refactoring: js => ts (#39360) 2022-12-07 18:26:29 +08:00
lijianan
7641b2f9c5
refactoring: js => ts (#39355) 2022-12-07 16:49:45 +08:00
lijianan
6bb9dbc692
chore: remove useless node_modules (#39261)
* chore: remore useless node_modules

* fix

* fix

* fix

* fix
2022-12-05 22:28:08 +08:00
二货机器人
c09dab5850 docs: fix site check where logic 2022-12-05 18:30:02 +08:00
afc163
8296b72585
style: fix RangePicker hover range style (#39266)
* style: fix DatePicker hover range style

close #39219

* chore: fix lint
2022-12-05 17:47:12 +08:00
afc163
80f167e5f2 docs: update footer 2022-12-05 16:42:03 +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
4e460cde42
docs: fix demo card icons color (#39191) 2022-12-02 16:32:16 +08:00
afc163
0baab01c39 docs: site detail 2022-12-01 23:53:20 +08:00
MadCcc
da097e63bf chore: update token-meta structure 2022-12-01 20:52:51 +08:00
MadCcc
f863703f12
chore: use startTransition to avoid affecting hydration (#39155)
* chore: use startTransition to avoid affecting hydration

* chore: code clean
2022-12-01 17:55:20 +08:00
MadCcc
d891db0ada
docs: fix hydration (#39153)
* docs: fix hydration

* chore: recover style
2022-12-01 16:10:53 +08:00
Peach
4a018d8c42
docs: fix server/client mismatch hydrate error (#39042)
* docs: fix server/client mismatch hydrate error

* chore: lint

Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-01 15:25:31 +08:00
lijianan
ada192f3a0
site: fix site error (#39138) 2022-12-01 12:21:42 +08:00
Wuxh
880a57298e
chore(site): support for opening debug component demos (#39132) 2022-12-01 10:43:52 +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
MadCcc
ffbb19e090
chore: lint (#39102)
* chore: enable tsc for demos

* chore: site lint

* chore: fix lint
2022-11-30 11:05:41 +08:00
二货爱吃白萝卜
fc1e818e99
docs: adjust icons (#39074) 2022-11-29 13:14:06 +08:00
二货爱吃白萝卜
e4938e4b5f
docs: Support blog (#38993)
* chore: simplify icon

* docs: simplify buttons

* docs: site blog part

* docs: fix trans

* docs: cssinjs

Co-authored-by: MadCcc <1075746765@qq.com>
2022-11-27 20:25:59 +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
Wuxh
d989a4e53b
chore: improve site (#38885)
* chore: update

* chore: improve-site

* chore(site): fix the address bar of switching writing mode Error problem

* chore: format

accept suggestion

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

* Revert "chore: update"

This reverts commit cb7e74d35061f864011330be12a642c8baf329d4.

Co-authored-by: MadCcc <1075746765@qq.com>
2022-11-25 00:04:27 +08:00
lijianan
8d2d18c7f3
type: remove type FC in site (#38959) 2022-11-24 20:11:50 +08:00
MadCcc
403d345577 docs: fix prerender 2022-11-24 15:47:13 +08:00
二货爱吃白萝卜
3d0a269c81
docs: change lang by lang (#38943) 2022-11-24 15:41:45 +08:00
二货爱吃白萝卜
0f26e51c23
docs: tip for legacy browser (#38917)
* docs: tip for legacy browser

* Update .dumi/theme/slots/Footer/AdditionalInfo.tsx

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

* Update .dumi/theme/slots/Footer/AdditionalInfo.tsx

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

* docs: sample

* chore: tmp adjust script

Co-authored-by: afc163 <afc163@gmail.com>
2022-11-24 11:14:29 +08:00
lijianan
5148b01183
chore: use translate3d for performance optimization (#38747)
* chore: use translate3d for performance optimization

* test: fix

* revert
2022-11-24 10:08:08 +08:00
MadCcc
3a5bb06c3e chore: fix mirror url 2022-11-23 19:28:10 +08:00
afc163
13e5451207
docs: improve markdown style (#38875) 2022-11-23 00:00:55 +08:00
MadCcc
9e7dc4dd4c docs: fix localstorage theme 2022-11-22 21:12:20 +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
Greedy1997
882b8740b1
docs: improve icon copied style (#38809)
Fixed the click text display issue
2022-11-21 22:43:04 +08:00
zqran
59772e9222
docs: update document Table style (#38727)
* docs: update document Table style

* docs: add className for component API table

* docs: optimize rehypeAntd logic
2022-11-21 17:39:46 +08:00
lijianan
33776d0195
fix: delete Chinese locale (#38790) 2022-11-21 16:34:21 +08:00
lijianan
588a912609
fix: fix OverviewPage style (#38782) 2022-11-21 14:30:51 +08:00
lijianan
14316b345e
fix: delete Chinese locale (#38781) 2022-11-21 14:12:59 +08:00
二货爱吃白萝卜
0c446bc9c3
docs: auto use Chinese mirror if in mirror (#38776)
* docs: auto use chinese mirror if in mirror

* Update .dumi/theme/themeConfig.ts

* Update .dumi/theme/themeConfig.ts

Co-authored-by: Amumu <yoyo837@hotmail.com>
2022-11-21 14:00:32 +08:00
afc163
68b1062ef1
docs: update zhihu blog url (#38737) 2022-11-19 19:25:27 +08:00
afc163
712f1894f6
docs: remove iconPicSearcher (#38738) 2022-11-19 19:18:01 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens (#38722) 2022-11-19 13:47:33 +08:00
子瞻 Luci
a8fc788f98
fix(dumi): get contributor error on 404 page (#38708) 2022-11-18 23:54:37 +08:00
afc163
def5960164
docs: fix edit button position (#38696) 2022-11-18 19:35:46 +08:00
Yvan Zhu
b0961b98db
Update index.tsx (#38690) 2022-11-18 18:43:00 +08:00
子瞻 Luci
c47b4e5d42
fix(dumi): update dumi theme (#38684) 2022-11-18 17:57:16 +08:00
Peach
7e6d6e3f38
docs: improve sourcecode styles (#38675) 2022-11-18 14:47:37 +08:00
Peach
979de5350f
docs: correct search bar space in header (#38668) 2022-11-18 13:11:31 +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
二货爱吃白萝卜
f5ed8fb29c
chore: bump notify on second time (#38665)
* chore: bump notify on second time

* docs: adjust notify
2022-11-18 13:10:13 +08:00
MadCcc
4b490834a0
fix: preview-img style (#38662)
* docs: PreviewImg

* docs: add preview-img style

* chore: style

* chore: clean
2022-11-18 11:54:06 +08:00
Peach
3b27471a85
docs: use dumi built-in search bar (#38658)
* docs: use dumi built-in search bar

* docs: detailed styles for search bar
2022-11-18 11:29:46 +08:00
afc163
af139e9d13
docs: remove hotjar (#38654) 2022-11-18 00:01:31 +08:00
afc163
a3692b7aed
chore: add yuque blog url (#38649) 2022-11-17 23:32:17 +08:00
二货爱吃白萝卜
ced4f0246e
docs: Adjust home page PurePanel & fix nav lang & popup for v5 (#38647)
* docs: add info

* docs: fix pure render

* docs: PurePanel eng
2022-11-17 23:15:27 +08:00
二货爱吃白萝卜
842f355f39
docs: less usage guide (#38641)
* docs: add static usage

* docs: migrate doc

* docs: migrate
2022-11-17 21:48:03 +08:00
afc163
c92ef74ea4
docs: add legacy version link of 4.x (#38638) 2022-11-17 21:24:40 +08:00
Peach
9dcc4aab2c
docs: correct style extract from markdown demo (#38637) 2022-11-17 21:13:31 +08:00
afc163
dc6bcc8acb
docs: improve some details about new site (#38635)
* docs: fix some issues

* docs: fix edit button

* docs: fix edit button
2022-11-17 20:56:35 +08:00
afc163
1cdb4503a2
docs: improve resouce page style (#38624) 2022-11-17 18:33:44 +08:00
afc163
e486979b30
docs: fix Grid demo color (#38633)
https://github.com/ant-design/ant-design/issues/38463#issuecomment-1318293831
2022-11-17 18:30:59 +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