Commit Graph

1079 Commits

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

* 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
MadCcc
d1d3b57dcb
feat: input token (#44325)
* feat: input token

* feat: input number token

* feat: input token

* fix: date-picker & calendar

* fix: calendar style

* fix: token use
2023-08-22 09:38:11 +08:00
栗嘉男
558ec7fbe9 Merge branch master into feature-merge-master 2023-08-18 17:14:18 +08:00
Artyom Vancyan
7226c53c15
docs: add third-party library to the development section (#44283)
* Add `antd-phone-input` as a third-party library

Signed-off-by: Artyom Vancyan <44609997+ArtyomVancyan@users.noreply.github.com>

* Update recommendation.zh-CN.md regarding to the en-US docs

Signed-off-by: Artyom Vancyan <44609997+ArtyomVancyan@users.noreply.github.com>

* Update docs/react/recommendation.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Artyom Vancyan <44609997+ArtyomVancyan@users.noreply.github.com>

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Artyom Vancyan <44609997+ArtyomVancyan@users.noreply.github.com>

---------

Signed-off-by: Artyom Vancyan <44609997+ArtyomVancyan@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-08-18 15:18:51 +08:00
栗嘉男
39ca9d89f4 chore: merge master into feature 2023-08-18 15:01:08 +08:00
MadCcc
74d9654423
feat: tree token (#44282) 2023-08-18 10:23:57 +08:00
afc163
3525966682
docs: Update faq.zh-CN.md (#44274)
* docs: Update faq.zh-CN.md

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

* Update faq.zh-CN.md

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-08-17 19:12:26 +08:00
MadCcc
030f38594c
feat: cascader token (#44261)
* feat: cascader token

* docs: en
2023-08-17 15:03:23 +08:00
@linhf2023
cdc4e50873
feat: migrate less to token for Alert (#42142)
* feat: migrate less to token for Alert

* fix: lint

* feat(alert): add component token demo

* test: add snap

* Update docs/react/migrate-less-variables.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* feat(alert): update token name

* feat(alert): update demo

* feat: update snap

* doc: update migrate

* chore: code clean

* feat: alert token

* chore: code clean

* chore: fix lint

---------

Co-authored-by: @linhf2023 <32009993+any1024@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-17 15:00:04 +08:00
JiaQi
b9f77fde6c
feat: migrate less to token for Switch (#42192)
* feat: migrate less to token for Switch

* chore: add demo

* chore: code clean

* chore: update demo

* docs: update docs en

* chore: code clean

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-16 19:17:12 +08:00
MadCcc
65989b4eff
feat: select component token (#44228)
* feat: select token

* feat: select token

* docs: add demo
2023-08-15 17:05:06 +08:00
1b479c4b45
feat(collapse): migrate less to token (#42938)
* feat(collapse): migrate less to token

* docs: add component token demo

* test: update snapshot

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: update

* chore: update demo

* chore: style

* chore: fix lint

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-14 19:19:32 +08:00
afc163
d1bd2d0605
docs: Update recommendation (#44207)
* Update recommendation.zh-CN.md

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

* Update recommendation.en-US.md

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-08-14 18:27:05 +08:00
6a6f1b741f
feat(badge): migrate less to token (#42778)
* chore: update

* docs: add component token demo

* test: update snapshot

* chore: update

* test: update snapshot

* feat: token

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: code clean

* chore: code clean

* chore: update

* chore: fix lint

* fix: fontsizesm

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-14 17:18:42 +08:00
hms181231
db07a2fe0a
feat: Progress Component Token (#42757)
* feat: Progress Component Token

* feat: add defaultColor&circleTextColor  update infoTextColor -> textColor

* chore: update

* chore: add comment

* chore: update snapshot

* chore: fix lint

* chore: rm ignore file

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-14 15:24:01 +08:00
MadCcc
a5203ebb80
feat: layout token (#44174)
* feat: layout token

* feat: layout component token
2023-08-11 19:37:44 +08:00
hms181231
1c1ebbe36d
feat: Divider Component Token (#42627)
* feat: Divider Component Token

* feat: 更改token命名规范

* feat: 增加token demo

* test: Update Test Snapshots

* feat: token

* chore: update

* fix: lint

* chore: lint

* chore: update snapshot

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-11 13:43:44 +08:00