Commit Graph

1095 Commits

Author SHA1 Message Date
MadCcc
9ece76b269
docs: use dumi alert (#46793)
* docs: use dumi alert

* chore: code clean
2024-01-05 10:12:22 +08:00
afc163
7fdb8941a1
docs: Update compatible-style.zh-CN.md (#46790)
Signed-off-by: afc163 <afc163@gmail.com>
2024-01-04 15:42:18 +08:00
hugo-syn
4704eb578b
chore: fix typo (#46758) 2024-01-03 03:38:28 +08:00
Navid
15f797de79
docs: update workarounds for sub-components with Next.js App router (#46711)
* docs: update workarounds for sub-components with Next.js App router

Signed-off-by: Navid <navidmafi2006@gmail.com>

* docs: (zh-CN) update workarounds for sub-components with Next.js App router

Signed-off-by: Navid <navidmafi2006@gmail.com>

* Apply suggestions from code review

Signed-off-by: Amumu <yoyo837@hotmail.com>

* Update docs/react/faq.zh-CN.md

Signed-off-by: Amumu <yoyo837@hotmail.com>

* Update docs/react/faq.zh-CN.md

Signed-off-by: Amumu <yoyo837@hotmail.com>

* Update docs/react/faq.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update docs/react/faq.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update docs/react/faq.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update faq.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update faq.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update docs/react/faq.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: Navid <navidmafi2006@gmail.com>
Signed-off-by: Amumu <yoyo837@hotmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-12-30 20:11:04 +08:00
afc163
f4822acafb
docs: Update faq (#46709)
* docs: Update faq

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

* Update faq.en-US.md

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-12-30 15:24:44 +08:00
MadCcc
4c4fec2fdb
docs: update nextjs docs (#46691)
* docs: update nextjs docs

* chore: code clean

* docs: update nextjs docs en

* chore: add Updated tag

* docs: update
2023-12-29 11:55:11 +08:00
afc163
0ac72622a8
docs: fix soft breaks in markdown (#46374) 2023-12-11 12:12:51 +08:00
Guo Yunhe
f6084990b7
docs: fix out-dated text (#46309)
Signed-off-by: Guo Yunhe <i@guoyunhe.me>
2023-12-07 15:09:24 +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
244339d16e
chore: merge master into feature 2023-11-25 05:25:29 +08:00
二货爱吃白萝卜
650cf96dbf
docs: fix link (#46058) 2023-11-24 10:56:04 +08:00
MadCcc
ff462adfa7 Merge branch 'master' into feature-merge-master 2023-11-17 14:21:30 +08:00
lijianan
dd05e18bca
chore: add image to Next.js doc (#45929)
* chore: add image to Next.js doc

* Update use-with-next.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update use-with-next.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-11-17 09:49:54 +08:00
lijianan
efbaf8d186
chore: update Next.js docs (#45907)
* docs: update Nextjs docs

* Update use-with-next.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update use-with-next.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* update

* Update use-with-next.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update use-with-next.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-11-16 20:14:27 +08:00
lijianan
4266517ddd
chore: merge master into feature 2023-11-14 02:59:19 +08:00
lijianan
6ba626ba32
docs: update Next.js docs (#45811)
* docs: update Next.js docs

* Update use-with-next.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update use-with-next.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-11-12 08:44:20 +08:00
kiner-tang(文辉)
5386b6204e Merge branch 'master' into feature-merge-master 2023-11-10 09:52:43 +08:00
Nerohero
e5a213d804
docs: Update recommendation (#45749)
* Update recommendation.zh-CN.md

原链接打开403

Signed-off-by: Nerohero <nerohero2020@163.com>

* Apply suggestions from code review

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

* Update recommendation.en-US.md

---------

Signed-off-by: Nerohero <nerohero2020@163.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-09 12:23:59 +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
52d2439fae Merge branch 'master' into feature-merge-master 2023-11-03 10:18:19 +08:00
Paweł Ciosek
bf15203758
Docs: usage with next.js, add information about workaround for Next.js 14 and App Router (#45642)
* Docs usage wit next.js, add information about workaround for Next.js 14 and App Router

* Update use-with-next.en-US.md

Revert reformat for US version

Signed-off-by: Paweł Ciosek <68032486+pavelee@users.noreply.github.com>

* Update use-with-next.zh-CN.md

Revert reformat for CN version

Signed-off-by: Paweł Ciosek <68032486+pavelee@users.noreply.github.com>

---------

Signed-off-by: Paweł Ciosek <68032486+pavelee@users.noreply.github.com>
2023-11-03 00:54:38 +08:00
lijianan
99d7bcfd04
docs: Update Next.js documentation (#45574)
* site: Update Next.js documentation

* Update use-with-next.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update use-with-next.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-10-29 14:51:39 +08:00
栗嘉男
661f3e8323 Merge branch 'master' into feature-merge-master 2023-10-29 14:04:47 +08:00
Tao Zhou
a559a90049
docs: fix minor errors and improve readability (#45565)
* docs: improve readability in use-with-umi.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: improve readability in introduce.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: improve readability in getting-started.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix typos in customize-theme.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: improve readability in compatible-style.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: improve readability in contributing.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

---------

Signed-off-by: Tao Zhou <taozhou@umich.edu>
2023-10-28 12:47:44 +08:00
wangzhihao
98e3f4a3eb
docs: Update migrate-less-variables.zh-CN.md (#45400)
Fix title hierarchy

Signed-off-by: wangzhihao <1269928993@qq.com>
2023-10-18 14:01:09 +08:00
lijianan
cd3e30e8df
site: update use-custom-date-library docs (#45350) 2023-10-15 20:32:28 +08:00
云泥
92c9c03858
docs: remove repeat code (#45260) 2023-10-10 22:01:40 -05:00
afc163
940a1a5f41
docs: Update compatible-style.zh-CN.md (#45248)
* Update compatible-style.zh-CN.md

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

* Update compatible-style.en-US.md

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

* Update compatible-style.en-US.md

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

* Update docs/react/compatible-style.zh-CN.md

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-10-10 19:08:46 +08:00
CYB292
e5daf772f5
docs: fix use-with-next.md (#45219)
Co-authored-by: chenyuanbao@baidu.com <chenyuanbao@baidu.com>
2023-10-08 06:41:34 -05:00
JiaQi
6f06787567
chore: update Ant Design Mini link (#45194) 2023-10-07 10:26:48 +08:00
ViPro (京京)
aaa9d7b7c9
docs: fix shadow dom css link (#45169) 2023-10-04 00:48:02 -05:00
bubucuo
65975f2e5f
docs: update docs link (#45121)
* chore: update link

The link here should point to server-side rendering, but the documentation mentions a link for customizing themes.

* Update faq.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update faq.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-09-29 13:27:59 +08:00
叶枫
05cc5f1254
docs: fix typos (#45116) 2023-09-27 12:17:33 +08:00
二货爱吃白萝卜
71d5784d36
docs: fix customize (#45022) 2023-09-22 17:02:19 +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
lijianan
de6232c352
docs: remove useless dep of React.useMemo (#44914) 2023-09-17 22:24:22 +08:00
b24cda1f97
docs: update FQA (#44902)
* docs: update FQA [skip ci]

* test(theme): supplement unit test case

* chore: update docs
2023-09-17 16:17:12 +08:00
Rinku Chaudhari
b2b961e058
docs: spelling and grammar fixes (#44807)
* refactor: convertLegacyProps function moved to buttonHelpers

* docs: spelling and grammar fixes
2023-09-13 11:32:58 +08:00
二货爱吃白萝卜
40032b119e
docs: add coexist doc (#44758) 2023-09-11 15:17:29 +08:00
栗嘉男
18af5374e8 Merge branch 'master' into feature-merge-master 2023-09-03 10:31:39 +08:00
Amumu
9d162d3408
docs: sort i18n table (#44603) 2023-09-03 01:09:17 +08:00
yoyo837
ad46da1697 Merge branch 'master' into feature-merge-master 2023-09-03 00:22:34 +08:00
Konv Suu
41ef050cb5
chore: typo (#44579)
update
2023-09-01 23:39:56 +08:00
lijianan
a3d8bf9c67
chore: update docs use with Next.js (#44569)
* Update use-with-next.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update use-with-next.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-09-01 10:51:21 +08:00
dingkang
ef61160942
doc: update token note (#44447) 2023-08-28 11:27:27 +08:00
github-actions[bot]
c07d61a2c9
chore: auto merge branches (#44448)
chore: merge master into feature
2023-08-27 07:56:32 +00:00
lijianan
e8b5a187e7
docs: update next.js docs (#44440)
* Update use-with-next.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

* Update use-with-next.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update use-with-next.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-08-26 23:28:18 +08:00
dingkang
477b1ec2f3
feat: migrate less to token for Form (#42774)
* docs: migrate less to token for Form

* feat:  migrate less to token for Form

* feat: migrate less to token for Form

* test: update form snapshots

* feat: migrate less to token for Form

* chore: code clean

* chore: code clean

* feat: form token

* chore: add comment

* chore: update docs

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-22 17:05:56 +08:00
dingkang
d57c86d92c
feat: migrate less to token for DatePicker (#42607)
* feat: migrate less to token for time-picker

* feat: add component-token demo

* feat:update token with  API Naming rules

* feat: migrate less to token for Time-pikker

* chore: code clean

* chore: code clean

* chore: udpate

* feat: picker token

* chore: add comment

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-22 16:28:20 +08:00
MadCcc
820a9213c3
feat: Spin token (#44334)
* feat: Spin token

* chore: code clean
2023-08-22 11:47:07 +08:00