Commit Graph

110 Commits

Author SHA1 Message Date
MadCcc
79ac80a0a2
docs: fix duplicated description (#41063) 2023-03-05 17:17:16 +08:00
afc163
986718c81f
docs: fix antd version in codesandbox preview link (#40983)
- Update dependencies to latest versions
- Replace `FormattedMessage` with `useSiteData`
- Add `Badge`
- Update `useLocation` to include `useSiteData`
- Update `versionOptions` to include `pkg.version`
- Update `defaultValue` of `Select` to `pkg.version`
- Update `arrow` prop of `Popover` to include `arrowPointAtCenter`

[.dumi/theme/builtins/Previewer/CodePreviewer.tsx]
- Replace `FormattedMessage` with `useSiteData`
- Update `antd` version in dependencies
- Update `@ant-design/icons` version in dependencies
- Update `react` version in dependencies
- Update `react-dom` version in dependencies
- Update `dayjs` version in dependencies
- Update `react-router-dom` version in dependencies
- Update `react-router` version in dependencies
- Add `Badge.
[.dumi/theme/slots/Header/index.tsx]
- Change import of `useLocation` to include `useSiteData`
- Add `pkg` to `useSiteData`
- Update `versionOptions` to include `pkg.version`
- Update `defaultValue` of `Select` to `pkg.version`
- Update `arrow` prop of `Popover` to include `arrowPointAtCenter`
2023-03-01 13:40:19 +08:00
MadCcc
853283b7e4
docs: DatePicker design tab (#40745)
* docs: DatePicker design tab

* docs: add design demo

* docs: add anchor for design demo

* docs: init g6

* docs: behavior map

* test: fix test cov

* docs: behavior map comp

* docs: add map title

* docs: fix ssr

* docs: update demo

* docs: optimize copy ux

* docs: update demo

* chore: code clean
2023-02-20 10:51:18 +08:00
二货机器人
35094551c1 docs: Fix footer zhihu columns link 2023-02-10 11:06:10 +08:00
MadCcc
0e974511ad docs: fix page h1 2023-02-08 22:54:21 +08:00
MadCcc
10f78a916a docs: update box-shadow 2023-02-08 21:51:06 +08:00
lijianan
286a42b4e5
site style code optimization (#40524)
* site style code optimization

* site style code optimization

* del trigger

* revert
2023-02-03 13:39:46 +08:00
afc163
8f5f7cf814
site: fix 404 page (#40366) 2023-02-01 21:55:20 +08:00
lijianan
db5913696b
site: improve contributors list style when hover (#40362)
* site: improve contributors list style when hover

* fix
2023-01-22 01:30:01 +08:00
jc
bde9c6b9fb
docs: add antd-mini (#40248) 2023-01-16 13:39:23 +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
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
lijianan
7f222efff6
site: delete V5_NOTIFICATION (#40129)
* site: delete V5_NOTIFICATION

* clear code
2023-01-10 16:51:28 +08:00
linxianxi
398d3e6937
site: fix anchor height (#40069) 2023-01-06 16:47:40 +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
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
MadCcc
940a29fe4c
docs: fix color palettes (#39759)
* docs: fix color palettes

* chore: code clean
2022-12-23 16:31:30 +08:00
二货爱吃白萝卜
540e3aae46
docs: adjust mig & anchor (#39732) 2022-12-22 15:31:40 +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
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
二货爱吃白萝卜
33deda5e38
docs: Update Blog (#39399)
* docs: auto order

* docs: getContainer blog

* chore: rm console
2022-12-08 16:46:48 +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
0baab01c39 docs: site detail 2022-12-01 23:53:20 +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
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
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
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 cb7e74d350.

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
二货爱吃白萝卜
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
afc163
68b1062ef1
docs: update zhihu blog url (#38737) 2022-11-19 19:25:27 +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
Yvan Zhu
b0961b98db
Update index.tsx (#38690) 2022-11-18 18:43:00 +08:00
Peach
979de5350f
docs: correct search bar space in header (#38668) 2022-11-18 13:11:31 +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
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
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
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
04da1f3fdf docs: fix site issue 2022-11-17 01:22:09 +08:00
afc163
6f58250bc3
docs: update documentation (#38594)
* docs: update footer text

* docs: update IE support
2022-11-16 16:13:38 +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
Wuxh
61e63d2379
docs: component page document style beautify (#38557) 2022-11-15 10:09:24 +08:00
afc163
2f960df9e7
docs: remove custom scrollbar style (#38551)
https://github.com/ant-design/ant-design/issues/38463#issuecomment-1308806682
2022-11-14 17:03:38 +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
Dunqing
f25da16c52
docs: fix pnpm not work (#38472) 2022-11-10 16:36:20 +08:00
MadCcc
25dc2218cd
chore: site test (#38462) 2022-11-09 16:00:28 +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