Commit Graph

155 Commits

Author SHA1 Message Date
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
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