二货爱吃白萝卜
8c094ba792
feat: ConfigProvider support config popupOverflow
for scroll logic ( #41676 )
...
* feat: popupOverflow
* test: add test case
* docs: preview
* docs: update preview
* test: update test case
2023-04-07 10:17:00 +08:00
muxin
5b44e577a5
fix: fix demo filPath ( #41488 )
2023-03-27 19:34:14 +08:00
二货爱吃白萝卜
2a9f5ea1ab
docs: more token info ( #41475 )
2023-03-27 15:33:22 +08:00
Amumu
fe0375f124
demo: revert #41209 #41225 ( #41467 )
2023-03-27 10:30:31 +08:00
lijianan
39c19b6e4d
site: update codesandbox dependencies version ( #41448 )
2023-03-25 13:58:14 +08:00
二货爱吃白萝卜
67a94febee
docs: more token info ( #41421 )
2023-03-23 17:17:28 +08:00
二货爱吃白萝卜
fd03bc1ceb
docs: fix 4.x mirror jump 404 ( #41393 )
...
* docs: fix mirror jump
* docs: adjust replace logic
2023-03-22 15:24:15 +08:00
wangxingkang
d418d0d0c0
chore: site style writing error ( #41391 )
2023-03-22 13:53:54 +08:00
lijianan
af5f9950f7
type: remove useless assertion ( #41385 )
2023-03-22 09:49:58 +08:00
MadCcc
a5c0dbba07
docs: make Calendar demo client-only ( #41359 )
2023-03-21 13:00:34 +08:00
MadCcc
772ab49baf
docs: fix hydration error when resizing ( #41370 )
...
* docs: fix hydration error when resizing
* docs: useLayoutState
2023-03-21 13:00:16 +08:00
MadCcc
18266ae336
docs: fix colorPicker could not open ( #41356 )
2023-03-20 20:42:10 +08:00
MARK
b5d3f9cd81
style: Demo Component overflow use auto ( #41225 )
...
Co-authored-by: xiechensheng <xiechensheng@kezaihui.com>
2023-03-16 20:13:13 +08:00
kiner-tang(文辉)
af0dbbd5d3
docs: blog support display author's avatar ( #41231 )
...
* feat: support author avatar in blog
* feat: author avatar
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: support custom authorInfos
* feat: comment
* feat: optimize code
* Update package.json
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: avatar skeleton
* feat: optimize code
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-16 11:27:25 +08:00
lijianan
1177762cff
chore: delete useless config ( #41267 )
2023-03-16 11:15:30 +08:00
kiner-tang(文辉)
384b1ea9ff
feat: optimize code ( #41234 )
2023-03-14 22:01:15 +08:00
MadCcc
5c0bc214cc
docs: fix duplicated desc ( #41217 )
...
* docs: fix duplicated desc
* fix: use remark plugin
* chore: fix ghost deps
* chore: better assign
* chore: use regexp
* chore: remove try catch
2023-03-14 20:34:36 +08:00
MARK
57df8e1c09
style: Demo Component overflow fix ( #41209 )
...
Co-authored-by: xiechensheng <xiechensheng@kezaihui.com>
2023-03-14 16:01:15 +08:00
二货爱吃白萝卜
9642564eea
docs: Button page show related token ( #41176 )
...
* docs: btn token
* docs: btn all tokens
2023-03-12 14:13:03 +08:00
lijianan
53b9559cc6
fix: revert color count ( #41111 )
2023-03-07 21:49:10 +08:00
lijianan
c2f5ed0bfc
fix: fix site type error ( #41033 )
2023-03-07 20:23:43 +08:00
Paul van Dyk
767db3c6ca
docs: add query searching to components overview ( #41095 )
2023-03-07 14:39:55 +08:00
MadCcc
8467428528
refactor: rename preset colors in token ( #41071 )
...
* refactor: rename preset colors in Design Token
* feat: rename preset color in token
2023-03-05 20:49:26 +08:00
MadCcc
79ac80a0a2
docs: fix duplicated description ( #41063 )
2023-03-05 17:17:16 +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
lijianan
0322964b75
chore: delete log ( #40993 )
2023-03-01 18:52:48 +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
二货机器人
35094551c1
docs: Fix footer zhihu columns link
2023-02-10 11:06:10 +08:00
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
...
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2023-02-09 22:17:31 +08:00
KuangPengfei
b0ea26bf64
docs: website SearchBar support dark theme ( #40652 )
2023-02-09 12:59: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
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
lijianan
cffd1e63d4
fix site style ( #40550 )
...
* fix site style
* fix md style
* update
* fix
2023-02-05 19:03:59 +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
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
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
MadCcc
40944a1c02
perf: only one parent selector in style ( #40325 )
...
* chore: add parent selector
* chore: update lint script
* chore: code clean
* perf: style
* chore: remove demo test cssinjs
* fix: input group
2023-01-20 10:31:27 +08:00
lijianan
b9a6b7b578
demo: update demo ( #40318 )
...
* demo: update demo
* add form
* clear
* add Select
* add
* fix style
* fix style
* fix
* revert
2023-01-19 15:37:54 +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
二货爱吃白萝卜
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
二货爱吃白萝卜
7276438486
docs: Report 404 for monitor ( #40278 )
...
* docs: monitor 404 report
* docs: Add source
* docs: patch
* docs: clean up
2023-01-17 14:27:14 +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
lijianan
977f4da9df
demo: update demo code ( #39982 )
...
* type: add Tab type
* add notes
* update demo code
2023-01-04 10:57:03 +08:00
Peach
0296b4357e
docs: page loading not working bug ( #39969 )
2023-01-03 18:23:43 +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
lijianan
9aec72c395
chore: remove useless tsx support ( #39890 )
...
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2022-12-29 18:33:13 +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
24059d42fc
docs: Theme Editor support export json file ( #39845 )
2022-12-27 17:09:18 +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
洋
ec900c937b
feat: add Theme Config Editor ( #39621 )
...
* feat: add Theme Editor theme upload
* verision 2
* 移除lodash、同步当前Config
* remove export,add into devDependencies,add tool link
2022-12-27 16:07:02 +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
lijianan
ad252b223c
fix: add img cdn link for site ( #39554 )
2022-12-15 10:18:41 +08:00
lijianan
f820cb257c
docs: update demo ( #39475 )
...
* docs: update demo
* update
* update
2022-12-12 11:40:18 +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