afc163
f75d0cae7f
docs: use codesandbox as default reproduce link ( #51219 )
2024-10-13 20:45:19 +08:00
afc163
c2ae466235
site: fix suspense fallback when toggle debug mode ( #50985 )
2024-09-24 22:37:38 +08:00
二货爱吃白萝卜
6c6111a62c
docs: fix site css sandbox open ( #50305 )
2024-08-08 16:28:08 +08:00
afc163
d9990e3b2d
docs: fix findDOMNode warnings ( #50191 )
...
* docs: fix findDOMNode warnings
* docs: fix findDOMNode warnings
* fix ts type
2024-08-01 22:07:53 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ( #49536 )
...
* chore: add boime lint
* fix lint
* use files ignore
* revert change
* ignore clarity.js
* fix some errors
* fix some errors
* fix some errors
* fix some errors
* add yml file
* Update clarity.js
Signed-off-by: afc163 <afc163@gmail.com>
* add npm run lint:biome
* add npm run lint:biome
* fix test case
* fix ts errors
* fix ts errors
* fix lint and add .lintstagedrc
* shorten prop name
* chore: update package.json
* update biome.json
* chore: remove stylelint
* chore: useOptionalChain
* fix lint
* biome format
* prettier all code
* prettier all code
* fix site test
---------
Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +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
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
lijianan
d34ab00717
demo: update wrap="wrap"
=> wrap
( #48409 )
2024-04-12 12:10:38 +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
叶枫
f9e49af521
feat: deprecated-codesandbox ( #48081 )
...
* feat: deprecated-codesandbox
* feat: debug show csb
2024-03-26 10:44:37 +08:00
二货爱吃白萝卜
d41e253f56
docs: re-order open link ( #47540 )
2024-02-22 15:40:14 +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
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
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
fc432311f2
docs: improve document loading style ( #46459 )
2023-12-14 19:19:28 +08:00
lijianan
cc5724481c
Merge branch master into master-merge-feature
2023-11-28 07:58:49 +08:00
MadCcc
0e360ed861
chore: bump antd-tools version ( #46103 )
...
* chore: bump antd-tools version
* chore: bump
2023-11-27 17:53:05 +08:00
MadCcc
5f1dd427df
feat: css var ( #45589 )
...
* feat: css variables theme
* chore: temp
* chore temp
* chore: temp
* chore: temp
* chore: tmp
* chore: temp
* feat: full css variables
* feat: css var
* chore: code clean
* chore: code clean
* chore: bump cssinjs
* test: fix lint
* feat: better key logic
* feat: useStyle add param rootCls for cssVar scope
* chore: fix lint
* chore: code clean
* chore: fix lint
* perf: minimize component token size
* chore: make useId compatible
* chore: code clean
* chore: fix lint
* chore: code clean
* chore: update test case
* feat: genCSSVarRegister
* feat: RPN Calculator
* chore: add test for css var
* chore: code clean
* test: add test for calc
* feat: better calc type
* chore: code clean
* chore: update size limit
* feat: better useCSSVar
* chore: better useCSSVar
* test: add cov
* feat: better calc logic
* test: add test case
* chore: code clean
---------
Signed-off-by: MadCcc <madccc@foxmail.com>
2023-11-06 10:31:51 +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
红
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