Commit Graph

509 Commits

Author SHA1 Message Date
afc163
59ad48476b
refactor: add boime lint and fix lint errrors (#49536)
* chore: add boime lint

* fix lint

* use files ignore

* revert change

* ignore clarity.js

* fix some errors

* fix some errors

* fix some errors

* fix some errors

* add yml file

* Update clarity.js

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

* add npm run lint:biome

* add npm run lint:biome

* fix test case

* fix ts errors

* fix ts errors

* fix lint and add .lintstagedrc

* shorten prop name

* chore: update package.json

* update biome.json

* chore: remove stylelint

* chore: useOptionalChain

* fix lint

* biome format

* prettier all code

* prettier all code

* fix site test

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
afc163
c5114b3f87
docs: fix change-log button position (#49552)
* docs: fix changelog button position

* fix lint
2024-06-22 16:51:41 +08:00
Jinbao1001
f56a4d6866
feat: support mako build (#49109)
* feat: mako build init

* chore: unlock

* dep: overrides dumi@alpha1

* chore: lock

* deps: update dumi version

* test: 查看磁盘

* chore: ping dumi

* chore: update deps

* chore: update deps

* chore: update deps

* chore: fix loading

* chore: ignore lint

* deps: update dumi

* fix: hydrate failed caused by modifyHtml

* deps: update dumi

* deps: update dumi

* deps: update dumi version

---------

Co-authored-by: xiaoxiao <xiaoxiao.lh@antgroup.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-13 20:37:02 +08:00
lijianan
0601867703
type: update event string type (#49387) 2024-06-13 09:32:53 +08:00
afc163
828360c6e9
chore: fix a11y issues (#49329)
* chore: fix a11y issues

* Update .dumi/pages/index/components/Theme/ColorPicker.tsx

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

* Apply suggestions from code review

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

* Update .dumi/pages/index/components/Theme/ThemePicker.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-11 23:47:48 +08:00
afc163
f4db94c10c
chore: fix site Link type errors (#49346) 2024-06-11 16:07:13 +08:00
afc163
b6b961efa1
chore: enable prefetch for dumi Link element (#49314) 2024-06-08 23:10:16 +08:00
afc163
308feb19fb
docs: fix notifcation/message import statement (#49283) 2024-06-06 17:25:50 +08:00
lijianan
c7dc0acfb7
site: rewrite global style => cssinjs (#49179) 2024-06-02 21:27:05 +08:00
lijianan
4f832aaac3
site: update site scrollbar style (#49088) 2024-05-28 02:22:37 +08:00
宋红凯
4ef3992c0d
style: widen component meta label to fix safari ui world wrap (#49023)
Co-authored-by: songhongkai <songhongkai@autohome.com.cn>
2024-05-22 19:26:47 +08:00
二货爱吃白萝卜
bf265c0efe
docs: fix some doc and lint issue (#48982)
* chore: fix dumi lint

* test: update snapshot
2024-05-20 14:26:51 +08:00
afc163
253b45eceb
docs: fix wrong brightness value in Palette Generation Tool (#48973) 2024-05-18 21:23:45 +08:00
thinkasany
1f39811047
site: use message hooks usage (#48862)
* refactor(iconSearch): use message hooks usage

* fix: use useApp
2024-05-10 15:35:16 +08:00
afc163
4384984c38
site: fix home page horizontal scrollbar (#48804)
* site: fix home page horizontal scrollbar

* Update .dumi/theme/slots/Header/index.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-05-08 16:50:34 +08:00
lijianan
b96c10ae1b
site: rm Menu children (#48799) 2024-05-07 15:31:58 +08:00
lijianan
01264592a7
site: rm gitee-pages enter (#48792) 2024-05-07 07:29:30 +08:00
lijianan
ddf70283ed
site: update site type { children: React.ReactNode } => React.PropsWithChildren (#48770)
* site: update site type React.ReactNode => React.PropsWithChildren

* fix: fix

* fix: fix
2024-05-06 15:28:52 +08:00
lijianan
8ef0a514bc
site: update site scroll-bar style (#48755)
* site: update site scroll-bar style

* site: update site scroll-bar style
2024-05-03 13:52:04 +08:00
afc163
4424dec28f
site: turn off @layer to fix styling lost (#48754) 2024-05-03 11:32:47 +08:00
栗嘉男
20f183cf6f chore: merge master into feature 2024-05-01 16:33:46 +08:00
afc163
6c7f161063
docs: fix ltr icon in Safari (#48711) 2024-04-30 14:58:18 +08:00
lijianan
ba5f9fe2f8
Merge pull request #48677 from ant-design/master
chore: merge master into feature
2024-04-28 14:02:49 +08:00
thinkasany
2afb721e5e
site: Replace card deprecated API 'bodyStyle' (#48644) 2024-04-26 17:37:14 +08:00
tanghui
d70de6c6e6 Merge branch 'master' into feature-merge-master 2024-04-26 17:20:46 +08:00
lijianan
b9d90f8299
chore: simplify import expression from package.json (#48602) 2024-04-24 11:06:12 +08:00
afc163
8812b14e9d
docs: improve Header menu style (#48597) 2024-04-24 09:51:46 +08:00
afc163
e08704f6a4
docs: fix space in import statement (#48552)
* chore: fix space in import statement

* chore: fix space in import statement

* Update .dumi/theme/builtins/ComponentMeta/index.tsx

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

* -C

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-04-23 10:21:29 +08:00
lijianan
27c942a00b
Merge pull request #48524 from ant-design/master
chore: merge master into feature
2024-04-18 10:11:58 +08:00
二货爱吃白萝卜
4cefa2fa64
doc: fix site render (#48514)
* docs: fix markdown

* docs: clean up
2024-04-17 17:27:16 +08:00
afc163
e7d685d4d6
docs: improve resource page style (#48460)
* docs: improve resource page style

* docs: improve resource page style

* docs: improve resource page style

* Update .dumi/theme/builtins/ResourceCards/index.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-16 10:31:13 +08:00
lijianan
8a4a83ace7
Merge pull request #48471 from ant-design/master
chore: merge master into feature
2024-04-16 10:17:57 +08:00
lijianan
daba39b88a
site: fix css var error of site (#48449) 2024-04-15 11:40:58 +08:00
lijianan
d1a8376e09
site: fix different font-size between jsx demo and tsx demo (#48448) 2024-04-15 10:27:51 +08:00
gin-lsl
72b5263344
site: sync all code type of demos when change one of them (#48436)
* site: sync all code type of demos when change one of them

* site: remove localStorage

---------

Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-04-13 23:11:29 +08:00
lijianan
d34ab00717
demo: update wrap="wrap" => wrap (#48409) 2024-04-12 12:10:38 +08:00
lijianan
4cba8b85d5
Merge pull request #48383 from ant-design/master
chore: merge master into feature
2024-04-10 20:30:10 +08:00
lijianan
6b3a6350c3
site: use css token (#48367) 2024-04-10 11:47:30 +08:00
叶枫
6dcd6e2dc1 feat: merge master 2024-04-08 14:37:05 +08:00
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
lijianan
24a65de3c5
Merge pull request #48317 from ant-design/master
chore: merge master into feature
2024-04-07 17:37:40 +08:00
lijianan
2acb7b217a
site: use css token (#48294)
* site: use css token

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2024-04-06 16:11:17 +08:00
lijianan
bb74803437
Merge pull request #48293 from ant-design/master
chore: merge master into feature
2024-04-05 22:40:14 +08:00
kiner-tang
80af2a65ed
docs: Added ways to use bun installation dependencies (#48289)
* docs: add bun

* docs: add bun

* docs: add bun

* docs: add bun
2024-04-05 18:27:10 +08:00
lijianan
87fe058776
site: site code optimization (#48286) 2024-04-05 15:15:10 +08:00
lijianan
448cb81a7c
site: simplify bug reason & adjust padding (#48277)
* site: simplify bug reason

* Update .dumi/theme/common/ComponentChangelog/ComponentChangelog.tsx

Signed-off-by: kiner-tang <1127031143@qq.com>

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
2024-04-05 11:41:30 +08:00
Eden Wang
d62d51a76c
site: move the blur to inner div (#48283) 2024-04-05 11:41:02 +08:00
kiner-tang
1d79f6d962
site: opt site style (#48282) 2024-04-05 11:10:02 +08:00
kiner-tang
378dce71ad
docs: component log display bug versions (#48267)
* site: component changelog display bug versions

* site: component changelog display bug versions

* site: component changelog display bug versions

* site: component changelog display bug versions
2024-04-04 20:10:00 +08:00
lijianan
34a7faa082
Merge pull request #48256 from ant-design/master
chore: merge master into feature
2024-04-04 10:37:15 +08:00
二货爱吃白萝卜
9680481546
feat: Mix style framework support (#48229)
* chore: add layer mark

* docs: enable @layer for test

* docs: add doc of third part lib

* docs: update order

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

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

* Update docs/react/compatible-style.en-US.md

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

* docs: ssr or reset case

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-03 17:12:02 +08:00
lijianan
570c1be492
site: add component version to meta (#48226)
* site: add component version to meta

* Update .dumi/theme/builtins/ComponentMeta/index.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-02 16:33:57 +08:00
lijianan
4eaa664d2e
type: fix useLocale type error of site (#48204) 2024-04-01 12:07:58 +08:00
lijianan
96f0ec60c5
site: site style optimization (#48088)
* site: site style optimization

* Update .dumi/theme/slots/Header/index.tsx

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-03-28 10:15:41 +08:00
konka
bc788704b5
site: fix the aside nav may cover the version dropdown box in so… (#48082)
* fix(site): fix the aside nav may cover the version dropdown box in some screen resolutions

* fix(review): fix code  review
2024-03-26 14:12:01 +08:00
叶枫
f9e49af521
feat: deprecated-codesandbox (#48081)
* feat: deprecated-codesandbox

* feat: debug show csb
2024-03-26 10:44:37 +08:00
MadCcc
030cb17329
docs: fix anchor flick when has popover (#48064) 2024-03-25 11:50:55 +08:00
afc163
15532f9ff1
docs: add docs edit link in meta (#48034)
* docs: add docs edit link in meta

* Apply suggestions from code review

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

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-03-23 18:47:23 +08:00
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
lijianan
505da69e68
site: update site scrollbar style (#48000) 2024-03-21 21:16:22 +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
winches
0a83d5b34b
docs: fix dark mode refresh miss dark attr (#47558)
* docs: fix dark mode refresh miss dark attr

* docs: fix dark mode refresh miss dark attr
2024-02-24 14:49:26 +08:00
二货爱吃白萝卜
d41e253f56
docs: re-order open link (#47540) 2024-02-22 15:40:14 +08:00
susuhhhhhh
8cf629f126
demo: replace abandoned APIs with new ones (#47519)
* fix:废弃 api 替换成新 api

* Update demo-extend.test.ts.snap

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-02-21 19:37:40 +08:00
daisy
f7877d0982
docs: code hide button sticky (#47497) 2024-02-20 19:44:22 +08:00
afc163
c329efe45f
docs: tweak contributors fallback style (#47407) 2024-02-08 13:56:18 +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
b996149582
docs: fix toc max-height (#47302) 2024-02-02 13:46:26 +08:00
afc163
c21e948f14
docs: fix Icon warning (#47290)
* docs: fix Icon warning

* Update components/modal/interface.ts

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

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-02-02 11:17:28 +08:00
MadCcc
7ec7ab18da
docs: classify new icons (#47267)
* docs: classify new icons

* chore: code clean
2024-02-01 16:15:04 +08:00
MadCcc
441ba5f5d1
fix: component style without hash (#46609)
* fix: Select style without hash

* fix: common style logic

* fix: lint

* fix: menu style

* chore: update checkbox demo

* chore: fix test

* chore: rm test
2024-01-30 11:08:02 +08:00
KAM
601d4db14b
fix(Site): Fix the issue of font color not synchronizing with theme changes in code preview in dark mode on the document site. (#47179) 2024-01-27 17:06:14 +08:00
MadCcc
f9b2afa739
docs: fix code style (#47140)
* docs: fix code style

* chore: code clean
2024-01-24 14:43:03 +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
renovate[bot]
10f88d197c
chore(deps): update dependency @qixian.cs/github-contributors-list to v2 (#47081)
* chore(deps): update dependency @qixian.cs/github-contributors-list to v2

* fix: fix import

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-21 11:58:02 +08:00
MadCcc
5068137a1b
docs: add alert design page (#47037)
* docs: add alert design page

* chore: code clean

* fix: fallback style
2024-01-19 14:47:04 +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
afc163
dd9a69944e
docs: move ecosystem links (#46856)
* docs: move ecosystem links

* docs: update docs

* chore: remove Move reference'
2024-01-08 14:28:37 +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
二货爱吃白萝卜
1d8f4235cb
Merge pull request #46798 from ant-design/master
chore: feature merge master
2024-01-04 20:44:01 +08:00
afc163
f1954384dc
docs: tweak changelog drawer width in small screen (#46791) 2024-01-04 15:42:11 +08:00
lijianan
bc5752eb6f
chore: merge master into feature 2024-01-03 08:54:15 +08:00
lijianan
1a4e6fb634
site: fix code-box style with Badge (#46743)
* site: fix code-box style with Badge

* fix: fix

* Update .dumi/theme/common/styles/Demo.tsx

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2024-01-02 18:31:33 +08:00
叶枫
8950642664
feat: config support holderRender (#46596)
* feat: config support container

* feat: add test

* feat: reset demo

* feat: test

* feat: test

* feat: test

* feat: test

* feat: md

* feat: limit

* fix: prefix

* feat: limit

* feat: message support app config

* feat: notification support app config

* feat: add maxCount test

* feat: icons

* feat: 增加 2 个 todo

* feat: holderRender

* feat: md

* feat: message 兼容旧逻辑

* feat: notification 兼容完成

* feat: modal 兼容完成

* feat: 优化 modal

* feat: 优化代码

* feat: 优化代码

* feat: 给 CP 添加 demo

* feat: 优先级完成/demo迁移完成

* feat: review

* feat: review

* feat: 优化 modal 代码

* feat: 支持 rtl

* feat: 修改注释

* feat: 优化单测

* feat: 优先级注释

* feat: remove getPrefixCls

* feat: demo

* feat: demo

* feat: demo

---------

Co-authored-by: MadCcc <madccc@foxmail.com>
2024-01-02 17:43:27 +08:00
MadCcc
4920955741
docs: hide banner (#46730)
* docs: hide banner

* chore: code clean

* Update GlobalLayout.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-02 17:01:08 +08:00
afc163
17a634b6a2
chore: move ThemeSwitch into Suspense (#46731) 2024-01-02 16:29:20 +08:00
lijianan
1db0daffc1
Merge branch master into master-merge-feature 2023-12-30 02:40:22 +08:00
afc163
3906010f4f
chore: footer should not in suspense (#46687) 2023-12-28 22:14:09 +08:00
afc163
398f924740
docs: load some components when in-viewport (#46629)
* docs: load some components in viewport

* chore: fix lint errors

* chore: fix fallback
2023-12-28 21:27:21 +08:00
Amumu
38375f3c31
chore: bump rc version (#46676)
* chore: bump rc version

* chore: use variant
2023-12-28 17:27:58 +08:00
MadCcc
55439cee71
docs: fix theme change (#46638)
* docs: fix theme change

* feat: make ssr cssVar always before cssinjs

* chore: code clean
2023-12-27 17:32:02 +08:00
lijianan
3d4e3ca089
site: site ContributorAvatar style optimization (#46623) 2023-12-26 12:08:50 +08:00
MadCcc
89e5c0c30b
docs: fix 4x url (#46498) 2023-12-18 11:03:24 +08:00