红
72fc3b6f3c
chore(site): anchor jump don't work ( #45243 )
...
* chore: fix typo error
* chore: fix anchor jump failure
* Revert "chore: fix anchor jump failure"
This reverts commit 9a1127353d
.
* chore: fix
* Revert "chore: fix"
This reverts commit 9dc69f1164
.
* Revert "site: remove legacy code for hash jump (#44836 )"
This reverts commit 72da2678aa
.
* chore: remove
* Update .dumi/theme/layouts/DocLayout/index.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 红 <wxh16144@qq.com>
* chore: update
---------
Signed-off-by: 红 <wxh16144@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-10 17:30:46 +08:00
红
131a17d099
chore: improve demo dependency logic ( #45142 )
2023-10-07 09:45:27 +08:00
afc163
07eb5ba82d
docs: move copy button into code previewer ( #45099 )
2023-09-26 16:41:41 +08:00
afc163
fa5c98311a
docs: fix demo code copy function ( #44751 )
2023-09-11 11:52:36 +08:00
lijianan
fae1fef77d
fix: add role="button" props to div ( #44494 )
...
* fix: add role="button" props to div
* fix: fix
2023-08-29 15:04:03 +08:00
lijianan
4d1bac4651
site: add code-hide Button for CodePreviewer ( #44449 )
...
* site: add code-hide Button for CodePreviewer
* fix: fix style
* add token
* fix: fix css props
* fix
* fix: fix
* fix: fix
* Update .dumi/theme/builtins/Previewer/CodePreviewer.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* fix: fix
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-28 20:10:40 +08:00
afc163
0295322564
docs: prevent highlight code initially ( #44344 )
2023-08-22 19:00:06 +08:00
叶枫
80e1bc87bc
style: remove importOrderSeparation from prettier config ( #44336 )
2023-08-22 13:11:18 +08:00
MadCcc
da699b11be
docs: add fallback for previewer ( #44327 )
...
* docs: add fallback for previewer
* chore: code clean
2023-08-21 23:28:14 +08:00
MadCcc
b50928fb88
chore: split previewer ( #44310 )
2023-08-21 14:38:22 +08:00
afc163
c5cae926ff
docs: improve code previewer style ( #44071 )
...
* docs: improve code previewer style
* docs: simplify dom structure
2023-08-07 13:47:28 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint ( #43873 )
...
* chore: fix lint
* chore: fix lint
* test: fix 16
* fix: lint
2023-07-28 16:17:43 +08:00
afc163
cba1493a83
site: fix a11y issues ( #43779 )
2023-07-25 14:03:26 +08:00
afc163
05f9677df7
site: improve a11y score in ant.design site ( #43751 )
2023-07-24 15:38:49 +08:00
afc163
c831145cf4
site: improve a11y score in ant.design site ( #43699 )
2023-07-21 15:04:42 +08:00
MadCcc
e96059cd76
docs: migrate to antd-style ( #43623 )
...
* docs: migrate to antd-style
* [CodeFactor] Apply fixes
* chore: code clean
* chore: lint
* chore: try cache
* chore: try
* fix: ssr
* chore: code clean
---------
Co-authored-by: codefactor-io <support@codefactor.io>
2023-07-20 19:27:33 +08:00
thinkasany
0d31270277
site: optimization type & props ( #43433 )
...
* chore: optimization type & props
* fix: remove useless type
2023-07-07 18:28:13 +08:00
kiner-tang(文辉)
fddd84c0bd
fix(site): solve drawer open delay in safari issue ( #42922 )
...
* fix: solve drawer open delay in safari issue
* feat: update comment
* feat: reset debug code
* feat: optimize code
* feat: optimize code
2023-06-09 18:20:53 +08:00
洋
42ff0ea3de
docs: add rc-util to top level in codesandbox ( #42672 )
...
* fix: tem modify rc-util@latest in codesandbox
* fix: tem modify rc-util@:^5.32.0 in codesandbox
* fix: add pkgDep info in dumi local pilugin
* chore: rename
---------
Co-authored-by: 洋 <hetongyang@bytedance.com>
2023-05-27 20:46:28 +08:00
Wuxh
3ad2a34611
Revert "docs: fix debug demo style" ( #41743 )
...
* Revert "docs: fix debug demo style (#41738 )"
This reverts commit d998c2fabc
.
* chore: update
2023-04-11 10:13:58 +08:00
muxin
5b44e577a5
fix: fix demo filPath ( #41488 )
2023-03-27 19:34:14 +08:00
lijianan
39c19b6e4d
site: update codesandbox dependencies version ( #41448 )
2023-03-25 13:58:14 +08:00
MadCcc
a5c0dbba07
docs: make Calendar demo client-only ( #41359 )
2023-03-21 13:00:34 +08:00
MadCcc
ec34bc1874
docs: fix demo badge ( #41014 )
2023-03-02 13:35:10 +08:00
lijianan
8cf4a4cb15
fix: fix tsconfig error in stackblitz ( #41011 )
...
* fix: fix tsconfig error in stackblitz & codesandbox
* fix: fix tsconfig error in stackblitz & codesandbox
2023-03-02 11:21:43 +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
afc163
0bfdff2086
site: Improve code formatting in Previewer component ( #40813 )
...
- Remove unnecessary whitespace in the Demo.tsx file
- Replace `<style>` and `</style>` tags with empty strings in the index.css file
- Move the React import statement to the top of the index.js file
[.dumi/theme/builtins/Previewer/index.tsx]
- Remove unnecessary whitespace in the Demo.tsx file
- Replace `<style>` and `</style>` tags with empty strings in the index.css file
- Move the React import statement to the top of the index.js file
- Remove the unnecessary whitespace in the index.js file
2023-02-20 11:20:37 +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
MadCcc
650f0e5473
docs: fix pre-render
2023-02-08 20:59:23 +08:00
Wuxh
ba9870ef5d
chore: upgrade site && update pr-template ( #40563 )
...
* docs: update pr-template
* chore: update Previewer onlineUrl show logic
2023-02-06 13:03:14 +08:00
MadCcc
79c25f620a
chore: codepen input render on client ( #40478 )
...
* fix: codepen input render on client
* chore: client only
* chore: code clean
2023-02-01 11:16:22 +08:00
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
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
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
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
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
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
lijianan
ba999de764
chore: site code format ( #39457 )
...
* format: site code format
* Conflicting
* lint
* rename
2022-12-19 13:23:28 +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
97cfc17278
chore: use const replace var ( #39632 )
2022-12-19 10:07:52 +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
afc163
66754060f9
chore: remove unused devDeps ( #39392 )
2022-12-08 13:44:20 +08:00
lijianan
ee6ca79f0f
refactoring: jsx => tsx ( #39383 )
...
* refactoring: jsx => tsx
* fix lint
2022-12-08 10:13:38 +08:00
afc163
ed8fac4989
chore: fix SSG hydration issue ( #39359 )
2022-12-07 19:51:10 +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
afc163
4e460cde42
docs: fix demo card icons color ( #39191 )
2022-12-02 16:32:16 +08:00