Commit Graph

2096 Commits

Author SHA1 Message Date
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
Mayowa Sogbein
300c1f3f79
docs: remove dead links (#45624) 2023-11-02 09:39:25 +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
Tao Zhou
2e9354c3b3
docs: fix minor errors and improve readability (#45514)
* docs: replace an abbreviation with a better word in direct.zh-CN.md

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

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

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

* docs: replace unnecessary abbreviations with translations in invitation.zh-CN.md

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

* docs: fix a typo, remove an extra space and replace an unnecessary abbreviation in transition.zh-CN.md

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

* docs: improve readability in visualization-page.zh-CN.md

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

* docs: fix a typo and improve readability in detail-page.zh-CN.md

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

* docs: improve readability in research-form.zh-CN.md

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

* docs: improve readability in research-list.zh-CN.md

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

* docs: fix a typo in research-result.zh-CN.md

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

* docs: fix a wrong img tag in research-navigation.zh-CN.md

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

* docs: improve readability in research-empty.zh-CN.md

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

* docs: fix punctuation inconsistency and improve readability in visual.zh-CN.md

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

* docs: fix typos and improve readability in motion.zh-CN.md

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

* docs: fix punctuation errors and improve readability in illustration.zh-CN.md

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

---------

Signed-off-by: Tao Zhou <taozhou@umich.edu>
2023-10-25 09:30:25 +08:00
Tao Zhou
bc7853eb2d
docs: fix minor errors and improve readability (#45505)
* docs: fix some grammatical mistakes in values.zh-CN.md

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

* docs: fix punctuation inconsistency and improve readability in icon.zh-CN.md

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

* docs: fix punctuation errors in shadow.zh-CN.md

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

* docs: fix punctuation inconsistency in overview.zh-CN.md

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

* docs: fix an incorrect example in data-format.zh-CN.md

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

* docs: fix punctuation inconsistency and typos in copywriting.zh-CN.md

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

* docs: add spaces around ampersand and fix punctuation inconsistency in buttons.zh-CN.md

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

---------

Signed-off-by: Tao Zhou <taozhou@umich.edu>
2023-10-24 11:04:46 +08:00
Tao Zhou
355793c1ec
docs: fix some grammatical mistakes in introduce.zh-CN.md (#45503)
Signed-off-by: Tao Zhou <taozhou@umich.edu>
2023-10-24 10:39:30 +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
Jonasz
4cacadbce0
docs: added AntBlocks UI to the resources docs (#44439)
* Update resources.en-US.md

Resource update - added AntBlocks UI

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: Mateusz Wierzbicki <wierzbicki.mateusz27@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-11 23:07:52 +08:00
二货爱吃白萝卜
7dda41df03
docs: Historical Debt of API (#45263)
* docs: Historical Debt of API

* docs: update doc
2023-10-11 13:47:11 +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
killa
cb256e5808
docs: add nodejs recruit info (#45247) 2023-10-10 18:12:58 +08:00
MadCcc
854db006c4
Merge pull request #45225 from ant-design/master
chore: merge master into feature
2023-10-09 14:20:11 +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
kiner-tang(文辉)
97df6f615c
docs: Update notification-stack.en-US.md (#45200)
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-07 19:03:55 +08:00
MadCcc
e76606f771
docs: notificaiton blog (#45199)
* docs: notificaiton blog

* chore: update

* Update docs/blog/notification-stack.zh-CN.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: MadCcc <1075746765@qq.com>

* chore: typo

* docs: add en

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-07 18:52:49 +08: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
omahs
3c1f0997b2
docs: fix typos (#44998)
* fix typos

Signed-off-by: omahs <73983677+omahs@users.noreply.github.com>

* fix typo

Signed-off-by: omahs <73983677+omahs@users.noreply.github.com>

* fix typos

Signed-off-by: omahs <73983677+omahs@users.noreply.github.com>

* fix typo

Signed-off-by: omahs <73983677+omahs@users.noreply.github.com>

* fix typo

Signed-off-by: omahs <73983677+omahs@users.noreply.github.com>

* fix typos

Signed-off-by: omahs <73983677+omahs@users.noreply.github.com>

---------

Signed-off-by: omahs <73983677+omahs@users.noreply.github.com>
2023-09-21 17:35:22 +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
红果汁
eda546af41
docs: replace blog pic (#44945) 2023-09-19 12:39:19 +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
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning (#44791)
* refactor: deprecatedWraning

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-09-13 22:07:33 +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
红果汁
32d0a1f569
docs: replace blog pic (#44717) 2023-09-08 18:06:26 +08:00
红果汁
ec607dd828
docs: add blog (#44698)
* docs: add blog

* docs: update blog

* docs: update blog title
2023-09-08 12:17:40 +08:00
coconut
59366da948
docs: correct typos (#44705) 2023-09-08 10:19:46 +08:00
MadCcc
114ff39f8c Merge branch 'master' into feature-merge-master 2023-09-05 13:41:06 +08:00
MadCcc
ef4ccaeaac
chore: migrate to actions/checkout@v4 (#44623) 2023-09-05 11:55:52 +08:00
二货爱吃白萝卜
c29e91d1d0
docs: Blog of extends of ConfigProvider (#44606)
* docs: init

* docs: cp theme blog

* docs: demo back
2023-09-04 11:41:23 +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
afc163
e689878359
chore: Update happy-work.zh-CN.md (#44572)
改成中文标点。

Signed-off-by: afc163 <afc163@gmail.com>
2023-09-01 12:42:24 +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
二货爱吃白萝卜
659054ee49
docs: Blog virtual table (#44526)
* docs: virtual table

* docs: fix other blog style

* docs: more
2023-08-30 21:18:09 +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
MadCcc
ba90af13c0 Merge branch 'master' into feature-merge-master 2023-08-10 22:17:15 +08:00
MadCcc
5465975b1a
feat: table component token (#44118)
* feat: table component token

* chore: add typedoc
2023-08-09 10:52:39 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc (#44061)
* docs: update rootClassName description

* docs: update rootClassName description

* docs: update docs
2023-08-08 18:27:48 +08:00
MadCcc
4fe27ba027
feat: button component token (#44090)
* feat: button component token

* chore: add demo

* chore: update
2023-08-08 14:03:31 +08:00
MadCcc
3d22c1a26f
docs: add v4 theme guide (#44078)
* docs: add v4 theme guide

* chore: code clean

* chore: code clean

* docs: update docs en
2023-08-07 19:35:32 +08:00
MadCcc
dc065177f9
docs: sandpack block support config (#44072)
* docs: sandpack block support config

* chore: fix lint
2023-08-07 14:24:05 +08:00
二货爱吃白萝卜
e8f9f6a88d
docs: Add happy wave package (#44031)
* docs: theme add happy work

* docs: update happy

* fix: lint

* docs: rename
2023-08-07 10:44:04 +08:00
二货爱吃白萝卜
527e1bf03e
docs: add blog of happy work (#44050) 2023-08-07 09:42:09 +08:00
MadCcc
d9c7a0cc82
docs: react docs arrange (#44029)
* docs: react docs arrange

* chore: code clean

* docs: arrange docs en

* docs: update

* docs: update

* docs: update en doc

* docs: update
2023-08-04 19:27:38 +08:00
kiner-tang(文辉)
0e493b3c88
docs: update docs (#44011) 2023-08-03 23:28:59 +08:00
MadCcc
76dd6dc1bb
[WIP] docs: use sandpack for demo (#43854)
* docs: use sandpack for demo

* chore: update

* docs: adjust theme

* docs: sandpack ssr

* docs: sandpack fallback

* fix: ssr

* chore: fix css extract

* chore: fix lint

* fix: fix lint

* chore: rm theme

* fix: solve ssr sissue

* chore: fix lint

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-08-01 10:53:55 +08:00
栗嘉男
674ff129ce Merge branch master into master-merge-feature 2023-07-28 16:43:15 +08:00
thinkasany
b2d7e86393
docs(blog): Delete duplicate zh in en document (#43859) 2023-07-28 09:48:01 +08:00
二货爱吃白萝卜
231857b297
docs: cssinjs less (#43707)
* docs: cssinjs less

* docs: update blog

* docs: typo

* docs: fix lint
2023-07-27 18:04:31 +08:00
MadCcc
94b3d03765
feat: component token support algorithm (#43810)
* feat: component theme

* feat: component token support algorith,

* docs: fix form

* chore: add test

* chore: fix test case

* chore: code clean

* chore: code clean

* chore: code clean

* docs: update toc

* chore: update cssinjs

* chore
2023-07-27 11:31:38 +08:00
afc163
8f7630273c
docs: update FAQ about useApp (#43785)
* Update faq.zh-CN.md

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-07-25 17:19:41 +08:00
janily
2a0419b513
📖 DOC: 设计资源卡片中新增 figma 插件如意设计助手链接,插件支持使用 antd 组件库进行设计,交付组件代码 (#43758)
* 📖  DOC: 设计资源卡片中新增 figma 插件如意设计助手链接,插件支持使用 antd 组件库进行设计,交付组件代码

* Update docs/resources.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update docs/resources.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update docs/resources.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: janilychen <janilychen@tencent.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-25 10:51:02 +08:00
lijianan
85de4d4dfc
site: update docs Usage with Next.js (#43720)
* site: update docs Usage with Next.js

* docs: update

* docs: update
2023-07-22 21:43:13 +08:00
lijianan
07d3a46e42
site: update doc example in next.js agin (#43663) 2023-07-20 00:24:57 +08:00
kiner-tang(文辉)
0ca05a7e39
docs: update _document example in next.js (#43657) 2023-07-19 18:43:44 +08:00
kiner-tang(文辉)
9d66105558
docs: add faq about using sub-component in next.js App Router mode (#43655) 2023-07-19 17:49:07 +08:00
kiner-tang(文辉)
20b5babd9e
docs: update docs about nextjs pages router (#43651)
* docs: update docs about nextjs pages router

* Update docs/react/use-with-next.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

* docs: update docs

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-19 16:56:08 +08:00
MadCcc
614228ae50
docs: add suspense doc (#43643) 2023-07-19 11:50:50 +08:00
二货爱吃白萝卜
cf40fb02b9
docs: fix docs problems (#43622)
* docs: fix bug

* docs: fix link

* docs: fix video

* chore: en
2023-07-18 18:22:47 +08:00
Wuxh
b76a322f9f
docs: supplement px2rem docs (#43594)
* docs: supplement `px2rem` docs

* chore: update
2023-07-17 15:08:44 +08:00
MadCcc
74c7d207c1
refactor: menu component token (#43576)
* docs: update examples link

* refacor: menu component token

* chore: update demo

* chore: update test case

* fix: token

* chore: fix

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

* chore: fix lint

* refactor: more token

---------

Signed-off-by: MadCcc <1075746765@qq.com>
2023-07-17 10:13:22 +08:00
lijianan
1847fd6e24
site: improve docs use-with-next (#43590) 2023-07-16 23:43:48 +08:00
kiner-tang(文辉)
ca35f2f891
docs: update docs about app router in use-with-next (#43579)
* docs: update docs

* docs: update docs

* feat: optimize code

* docs: update docs

* docs: update docs
2023-07-16 12:13:22 +08:00
vagusX
46db582197
Merge branch 'master' into feature 2023-07-10 16:10:15 +08:00
MadCcc
c3e56bc94b
docs: update examples link (#43463)
* docs: update examples link

* chore: code clean
2023-07-10 14:25:07 +08:00
lijianan
9494f39c68
site: update Next.js docs (#43448)
* site: update nextjs docs

* fix

* add
2023-07-10 10:08:28 +08:00
栗嘉男
6d547cac34 Merge branch master into feature-merge-master 2023-07-07 23:28:35 +08:00
二货爱吃白萝卜
e36d50f379
docs: blog of suspense breaks styles (#43421)
* docs: Suspense breaks styles

* Update docs/blog/suspense.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* Update docs/blog/suspense.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* docs: clean up

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-07-07 17:21:54 +08:00
github-actions[bot]
bf960bed60
chore: auto merge branches (#43420)
chore: merge master into feature
2023-07-06 15:26:20 +00:00
二货爱吃白萝卜
588ee4cac2
docs: Add motion & dropdown faq (#43403)
* docs: motion usage case

* docs: faq

* docs: update
2023-07-06 16:14:11 +08:00
栗嘉男
60a2ae6319 chore: merge master into feature 2023-07-04 11:41:25 +08:00
kiner-tang(文辉)
873afe1e0b
docs: update faq about strictNullChecks (#43332)
* docs: update faq about strictNullChecks

* docs: update faq about strictNullChecks
2023-07-03 21:22:22 +08:00
那里好脏不可以
c583d3217b
Update data-format.zh-CN.md (#43324)
Signed-off-by: 那里好脏不可以 <gaosheng@kuaishou.com>
2023-07-03 15:50:30 +08:00
kang
24e0347a55
docs: transition docs lose content (#43273) 2023-06-29 18:52:00 +08:00
github-actions[bot]
238d89ec7f
chore: auto merge branches (#43223)
chore: merge master into feature
2023-06-27 08:25:33 +00:00
kiner-tang(文辉)
aa98891607
docs: update docs about faq (#43213) 2023-06-27 15:01:48 +08:00
lijianan
643a94afbe
site: add yuque blog link (#43185) 2023-06-26 18:50:33 +08:00
lijianan
285753c67f
site: add juejin column card (#43171) 2023-06-25 12:27:03 +08:00
afc163
86a5de1f37 chore: resolve merge conflict 2023-06-25 10:47:34 +08:00
二货爱吃白萝卜
f4caa2d9df
docs: blog of bundle size (#43165) 2023-06-25 00:43:31 +08:00
lijianan
c01972edb2
site: add zhihu & yuque column card (#43122)
* site: add zhihu card

* fix

* fix

* fix

* Update .dumi/theme/slots/Content/ZhihuCard.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* fix

* fix

* fix

* Update basic.tsx

* Update .dumi/theme/slots/Content/ZhihuCard.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* fix

* update style

* fix

* fix

* fix: rename

* update

* update

* update url

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-22 21:11:12 +08:00
白飞飞
480e8ae603
docs: Update docs (#43132)
Co-authored-by: yeyulin <miraiwhite27@gmail.com>
2023-06-21 10:21:11 +08:00
kiner-tang(文辉)
96ff8b946e
docs: update development workflow in the document about contributing (#43037)
* docs: update development workflow in the document about contributing

* docs: update docs

* docs: update docs

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-06-16 01:07:51 +08:00
lijianan
828ff5efb3
docs: update docs use-with-create-react-app (#43018)
* docs: update docs

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

* Update use-with-umi.zh-CN.md
2023-06-15 13:39:47 +08:00
黑雨
4ae0d6bcf5
feat: migrate less to token for Slider (#42428)
*  feat: migrate less to token for Slider

*  feat: update snap

*  feat: update style

*  feat: update style

*  feat: test ci

*  feat: test ci

*  feat: test ci

*  feat: test ci

*  feat: update

*  feat: update snap

*  feat: update

*  feat: update

*  feat: 删除未使用token

*  feat: update doc

*  feat: update dome

*  feat: update

*  feat: test ci

* 📝 doc: update doc

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: add demo

*  feat: add demo

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

* Apply suggestions from code review

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-15 10:22:17 +08:00
afc163
b72d313448
docs: update getting-started documentation (#43015) 2023-06-14 20:17:52 +08:00
lijianan
4a6c09ca2a
site: site optimization (#43007)
* site: site optimization

* Update practical-projects.zh-CN.md
2023-06-14 16:28:38 +08:00
Dunqing
02d03ba4ca
docs: replace vite with Vite (#43004) 2023-06-14 13:23:40 +08:00
MadCcc
c7a80f88de
docs: title level (#42988) 2023-06-13 13:11:02 +08:00
lijianan
348d835f8a
docs: update site use-with-typescript (#42905)
* docs: update use-with-typescript

* update

* add img
2023-06-12 17:50:57 +08:00
lijianan
b8eef9d1b2
docs: update site use-with-create-react-app (#42904)
* docs: update use-with-create-react-app

* update
2023-06-12 16:45:59 +08:00
lijianan
05b8436c05
docs: update site use-with-next (#42903)
* docs: update use-with-next

* update

* update
2023-06-12 16:42:06 +08:00
lijianan
81c26096be
docs: update site use-with-vite (#42906)
* docs: update use-with-vite

* update

* fix
2023-06-12 15:44:44 +08:00
Leon Lin
0e520f730a
docs: update spec/lightweight (#42952) 2023-06-12 10:17:17 +08:00
kiner-tang(文辉)
66017c9f1a
docs: fix design documentation style (#42956) 2023-06-12 10:03:10 +08:00
ZiJason
b3c13cad0b
docs: update data-format.zh-CN.md (#42951) 2023-06-11 19:35:06 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest (#42506)" (#42900)
This reverts commit 6759887c44.
2023-06-07 21:59:21 +08:00
Wuxh
7087537745
docs(blog): add blog (#42022)
* docs(blog): add blog [skip ci]

* docs: update

* docs(blog): update

* docs: update

* chore: update

* Update docs/blog/github-actions-workflow.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* chore: update

* chore: update title

* docs: update

* chore: update

* chore: update date

* chore: update

* chore: update

* chore: update

* chore: update

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 14:29:32 +08:00
Dunqing
6759887c44
chore: migrate to vitest (#42506)
* chore: migrate to vitest

* chore: update ci

* fix: test correctly

* test: support puppeteer

* chore: update coverage

* chore: update include/exclude

* chore: update config

* test: update incorrect tests

* chore: update script

* chore: update

* fix: should close browser at the ended

* chore: improve

* fix: test cause tsc error

* fix: eslint error

* chore: exclude correctly

* test: update snap and fix some tests

* chore: update test config

* fix: countup.js

* fix: incorrect test

* chore: update reference

* test: update

* fix: countup.js

* fix: timeout

* chore: update site test

* fix: fixed countup version

* chore: remove unsed code

* test: update

* test: update demo timeout

* test: update timeout

* chore: update image test

* chore: update threads

* fix: image/svg+xml test failed

* chore: limits threads

* test: update test coverage include

* chore: remove jest files

* chore: rename jest to vi

* chore: update document

* chore: fix missing @types/jsdom

* chore: update coverage

* chore: update snap

* fix:watermark test cases are incorrect

* feat: update ignore comment

* test: fix test case

* test: reset body scrollTop

* test: clean up

* test: use vi

* test: update snapshot

* test: update snapshot

* test: fix dropdown test failed

* fix: toHaveStyle cause test fail

* test: improve test case

* test: fix

* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560

* test: fix

* test: fix

* test: fix circular import

* test: revert

* ci: coverage failed

* test: fix c8 ignore comment

* chore: incorrect config

* chore: fix ignore ci

* test: revert svg+xml

* test: fix realTimers

* feat: rc-trigger should be remove

* test: fix some failed test

* chore: remove unused deps and configure eslint-plugin-vitest

* test: update snap

* chore: remove jest

* test: fix lint error

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
lijianan
9b22fd4258
site: add translate (#42879)
* site: add translate

* add
2023-06-07 11:15:32 +08:00
lijianan
3244e6491c
docs: update TypeScript version (#42875)
* docs: update TypeScript version

* Update use-in-typescript.en-US.md

* Update use-in-typescript.zh-CN.md

* Update use-in-typescript.en-US.md

* Update use-in-typescript.zh-CN.md
2023-06-07 10:04:08 +08:00
MadCcc
661befa9f7
docs: update text (#42868) 2023-06-06 20:48:48 +08:00
MadCcc
25e9f44e3f
Merge pull request #42860 from ant-design/master-merge-feature
chore: master merge feature
2023-06-06 17:37:11 +08:00
kiner-tang(文辉)
8b8efcc13b
docs: update docs (#42858) 2023-06-06 16:35:53 +08:00
MadCcc
8ebb7be7b0 Merge branch 'feature' into master-merge-feature 2023-06-06 16:31:22 +08:00
MadCcc
2710923800
docs: add instruction for component token (#42838) 2023-06-05 20:25:58 +08:00
MadCcc
596104cc68
feat: static getDesignToken (#42723)
* feat: static getDesignToken

* chore: code clean
2023-06-05 17:45:33 +08:00
JiaQi
f579e695bc
feat: migrate less to token for Radio (#42050)
* feat: migrate Radio less variables

* feat: token rename

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-05 16:16:43 +08:00
kiner-tang(文辉)
2de151da7a Merge branch 'master' into feature-merge-master 2023-06-04 11:10:56 +08:00
GUAN MING
32cca6e5a8
feat: migrate less to token for Image (#42048)
* feat: migrate less to token for Image

* docs: update migrate-less-variables.en-US.md

* docs: update migrate-less-variables.zh-CN.md

* docs: fix error

* docs: fix typo

* docs: remove Chinese in English docs

* feat: migrate less to token for Image

* docs: update migrate-less-variables.en-US.md

* docs: remove Chinese in English docs

* docs: fix typo

* docs: fix docs error

* feat: add demo

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

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

* fix: remove token

* docs: Update docs/react/migrate-less-variables.en-US.md

* fix: correct token name

* fix: demo token name

* docs: update global token in docs

* docs: update

* chore: fix lint

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-02 15:48:18 +08:00
GUAN MING
5c09e7a387
feat: migrate less to token for Tooltip (#42046)
* feat: less to component token for Tooltip

* refactor: rewrite several attributes

* docs: update migrate-less-variables

* feat: add demo

* docs: fix version error

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* fix: remove demo

* fix: recover previous version

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-02 13:46:19 +08:00