Commit Graph

127 Commits

Author SHA1 Message Date
Rinku Chaudhari
055624f85b
reformat/typo: removed useless ts-ignore and 'ignore' typo fix (#40298)
* reformat/typo: removed useless ts-ignore and 'ignore' typo fix

* fix: components/version/index.ts typescript error

Co-authored-by: rinku.chaudhary <rinku.chaudhary@amniltech.com>
2023-01-18 13:37:44 +08:00
二货爱吃白萝卜
cc1870d8bd
chore: add linter of not selector (#40264)
* chore: add linter of not selector

* chore: update tree style

* fix: DatePicker

* fix: compact

* fix: compact vertical

* perf: style

* fix: vertical compact

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-17 17:51:59 +08:00
jc
bde9c6b9fb
docs: add antd-mini (#40248) 2023-01-16 13:39:23 +08:00
lijianan
28d1157d6b
type: optimization undefined type (#40241)
* type: optimization undefined type

* fix type

* fix type

* add

* revert

* revert

* revert
2023-01-16 09:55:52 +08:00
Wuxh
0051a877e2
fix(site): fix the failure of website code folding function (#40198)
* fix(site): fix the failure of website code folding function

* remove

* chore: update
2023-01-13 10:41:54 +08:00
afc163
fdc6709977
chore: fix lint and refactor some site code (#40185)
* chore: refactor header code style

* fix lint
2023-01-12 11:57:54 +08:00
二货爱吃白萝卜
108ab5d0f3
docs: Update mark of third part (#40178) 2023-01-11 23:21:14 +08:00
lijianan
1c8f6507ce
site: improve overview page (#40126)
* site: imp

* update fontsize

* add scrollTo(0)

* revert

* add style return type

* add resize Event when input onChange

* docs: fix affix height and revert resize event

* fix: justifycontent => justify-content

* fix style

Co-authored-by: afc163 <afc163@gmail.com>
2023-01-11 21:37:12 +08:00
Wuxh
d30b5a28e7
dev: upgrade the developer experience (#40080)
* chore: update site

* dev: add the ability to open the demo website address in development mode
2023-01-10 21:35:01 +08:00
lijianan
7f222efff6
site: delete V5_NOTIFICATION (#40129)
* site: delete V5_NOTIFICATION

* clear code
2023-01-10 16:51:28 +08:00
Peach
51375683c7
docs: override debug prop when show all demo (#40130)
* docs: override debug prop when show all demo

* chore: add annotation
2023-01-10 15:45:23 +08:00
Danial Soheili
b242dde04c
fix: add direction prop to ConfigProvider of demos (#40089) 2023-01-08 23:06:45 +08:00
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 ee2ff25796.

* chore: update

* Revert "chore: update"

This reverts commit bbe449cb3f.

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

This reverts commit 5eac19e7f2.

* 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