Commit Graph

164 Commits

Author SHA1 Message Date
lijianan
dfd0106994
site: rewrite inline-style => cssinjs (#48018) 2024-03-22 15:43:15 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage (#48004)
* docs: init ref

* docs all support

* docs: fix link show
2024-03-22 14:22:42 +08:00
afc163
0d5e0df42c
docs: improve resource page style (#47708) 2024-03-05 13:34:43 +08:00
二货爱吃白萝卜
4fafb40147
docs: fix res page not work in dark mode (#47697) 2024-03-05 10:57:23 +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
MadCcc
7ec7ab18da
docs: classify new icons (#47267)
* docs: classify new icons

* chore: code clean
2024-02-01 16:15:04 +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
栗嘉男
b241f68a33 chore: merge master into feature 2024-01-11 14:43:16 +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
928eaf411a
Merge pull request #46830 from ant-design/master
chore: merge master into feature
2024-01-07 23:18:42 +08:00
lijianan
0ea3da719d
site: replace site page <Space /> with <Flex /> (#46834) 2024-01-06 18:05:25 +08:00
kelvine
e18b55a0da
docs: correction on Third Part(Y) grammar (#46831)
I added grammar corrections to fix the "third party" spelling

Signed-off-by: kelvine <kchawora@yahoo.com>
2024-01-05 23:00:32 +08:00
MadCcc
9ece76b269
docs: use dumi alert (#46793)
* docs: use dumi alert

* chore: code clean
2024-01-05 10:12:22 +08:00
Amumu
38375f3c31
chore: bump rc version (#46676)
* chore: bump rc version

* chore: use variant
2023-12-28 17:27:58 +08:00
b7cf72d7cb
docs(theme): improve built-in component style (#46414)
* docs(theme): improve built-in component style

* chore: update style

* chore: update style

---------

Co-authored-by: MadCcc <madccc@foxmail.com>
2023-12-18 11:02:29 +08:00
lijianan
f6d43add73
site: site code optimization (#46487) 2023-12-17 06:55:50 +08:00
afc163
fc432311f2
docs: improve document loading style (#46459) 2023-12-14 19:19:28 +08:00
lijianan
02396c986c
site: update demo Tabs usage (#46351) 2023-12-09 19:32:10 +08:00
MadCcc
2565d5832a
docs: enable hash (#46271) 2023-12-05 17:11:32 +08:00
MadCcc
2d67c0f0e4
docs: site date client only (#46230)
* docs: site date client only

* chore: fix style

* chore: fix lint

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-12-04 15:12:49 +08:00
MadCcc
e6bf2e24a6
docs: add css var documatation (#46189)
* docs: add css var documatation

* chore: remove hash
2023-11-30 17:19:57 +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
lijianan
244339d16e
chore: merge master into feature 2023-11-25 05:25:29 +08:00
lijianan
03409af97f
fix: remove extra parentheses
Signed-off-by: lijianan <574980606@qq.com>
2023-11-24 23:06:58 +08:00
afc163
f21695817e
docs: fix xpm install commend style (#46077) 2023-11-24 19:25:12 +08:00
MadCcc
4e29e8d1ce
feat: ConfigProvider cssvar support boolean (#45760)
* feat: css var

* chore: fix type

* chore: fix type

* chore: update
2023-11-10 10:02:46 +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
afc163
8ffa721412
chore: IconSearch ts errors (#45506)
* chore: IconSearch ts errors

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-10-24 16:11:01 +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
afc163
29551aaaba
chore: fix overview page search outline style (#45458) 2023-10-20 23:04:50 +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
叶枫
604948e6a9
e 2023-10-09 11:12:51 +08:00
叶枫
75611b7db8
chore: scroll to the top of the page when the search box value changes (#45211) 2023-10-08 15:41:50 +08:00
MadCcc
d5d9e723f8
chore: fix overview link (#45206)
* chore: fix overview link

* chore: update
2023-10-08 13:44:02 +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
MadCcc
e43686da70
docs: fix site issue (#45063)
* docs: fix site issue

* chore: code clean
2023-09-25 16:08:42 +08:00
a9d6422722
docs: improve display of color block in docs (#44790)
* chore: update blog style

* Revert "chore: update blog style"

This reverts commit afc0a1d927.

* Revert "site: update docs styles (#39348)"

This reverts commit 4a803962eb.

# Conflicts:
#	.dumi/theme/builtins/ColorChunk/index.tsx
#	.dumi/theme/builtins/TokenTable/index.tsx
#	docs/react/customize-theme.en-US.md
#	docs/react/customize-theme.zh-CN.md

* chore: revert

* chore:revert

* chore: rename props

* chore: update

* chore(deps): add `dumi-plugin-color-chunk` plugin

* chore: update docs

* chore: update

* Update package.json

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 红 <wxh16144@qq.com>

* docs: pick #44945

Co-authored-by: RedJue <RedJue@users.noreply.github.com>

---------

Signed-off-by: 红 <wxh16144@qq.com>
Signed-off-by: 红 <wxh1220@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: RedJue <RedJue@users.noreply.github.com>
2023-09-20 16:59:56 +08:00
cwg
2627caebb4
fix: site style conflict (#44899)
* fix: site style conflict

* chore: lint

* feat: optimize code
2023-09-15 22:03:53 +08:00
afc163
fa5c98311a
docs: fix demo code copy function (#44751) 2023-09-11 11:52:36 +08:00
afc163
ae53a452f2
docs: add help text for token customization (#44540)
* docs: add help text for token customization

* docs: add help text for token customization

* docs: add help text for token customization

* docs: add help text for token customization
2023-08-31 09:48:54 +08:00
afc163
3f148d9112 docs: add help text for token customization 2023-08-30 23:02:35 +08:00
叶枫
7e1e6d8e73
chore: fix overview search (#44523) 2023-08-30 09:53:18 +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