Commit Graph

594 Commits

Author SHA1 Message Date
7120673495
chore: update blog (#50069)
* chore: update blog

* chore(dumi): fix code previewer
2024-07-26 03:26:31 +08:00
vagusX
38cf5e8a75
docs: unify component export file as index.tsx (#50013)
* docs: unify component export file as index.tsx

* docs: compatible with old anchors

* chore: clean

* test: update snapshot

* fix: window env

---------

Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-07-23 22:22:24 +08:00
lijianan
4a84f7e335
docs: update blog ref to zhuanlan (#49960) 2024-07-19 11:00:46 +08:00
lijianan
82da7ac040
site: update site style (#49938)
* site: update site style

* site: update site style
2024-07-18 10:54:16 +08:00
afc163
7329c8a293
site: fix a11y issue that <button> is nested inside <a> in homepage (#49848)
* site: fix a11y issue that <button> is nested inside <a>

* Update .dumi/theme/common/LinkButton.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-07-15 09:22:02 +08:00
lijianan
0651f84ee7
site: rm useless Button in LiveError (#49814) 2024-07-11 10:02:04 +08:00
lijianan
0c2ff77b41
site: site code optimization (#49758)
* site: site code optimization

* site: site code optimization

* site: site code optimization

* site: site code optimization

* site: site code optimization
2024-07-08 10:01:27 +08:00
afc163
89b7ef6ada
site: use message api from App (#49682) 2024-07-02 21:44:58 +08:00
thinkasany
2d09d73183
site: fix RadiusPicker parser (#49666)
* site: opt RadiusPicker parser

* fix
2024-07-01 18:23:47 +08:00
Jinbao1001
3952fd8312
fix: dom crash with ssr hydrate error (#49576)
* fix: ssr hydrate error

* deps: lock react and react-dom

* chore: script react/react-dom --nosave

* chore(deps): update dumi version

* chore: back #49595

* chore(deps): update dumi
2024-06-28 10:26:05 +08:00
gin-lsl
381df56fd8
docs: fix pro-components link broken (#49614) 2024-06-27 11:34:03 +08:00
MadCcc
4145305b16
docs: fix site FOUC (#49595) 2024-06-25 16:59:30 +08:00
afc163
a81603d720
docs: fix nav menu cannot click (#49569) 2024-06-24 13:33:56 +08:00
lijianan
2b629ef391
type: rm useless type of reducer (#49555)
* type: rm useless type of reducer

* Update components/_util/ActionButton.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-06-22 23:57:39 +08:00
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
afc163
c1566bead4
chore: add clarity script (#48993)
* chore: add clarity script

* chore: add clarity script
2024-05-21 20:46:04 +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
Wanpan
7232733134
chore: development mode not prompt for redirection (#48943) 2024-05-15 21:25:00 +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
二货爱吃白萝卜
cf6e9c8b6e
docs: update RangePicker month demo (#48844)
* docs: clean up useless code

* docs: update demo

* docs: fix typo
2024-05-10 09:55:31 +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
251e9c9128
site: site code optimization (#48299) 2024-04-07 10:10:25 +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
0a79a79bc7
docs: update sidebar style of website (#48224)
* docs: update GetRef/GetProp/GetProps docs

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2024-04-02 14:05:03 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict (#47998)
* feat: tsconfig enable strict

* feat: add no-explicit-any

* feat: strict

* feat: as THEME

* feat: 优化 keys 类型写法

* feat: demo remove any

* feat: as number

* feat: this any

* feat: add eslint

* feat: cascader

* feat: props any

* feat: remove any

* feat: remove any

* feat: any 提示错误

* feat: remove any

* feat: add eslint

* feat: 允许 T = any 存在

* feat: color funciton

* feat: 恢复 lint

* feat: merge master

* feat: as ReactElement

* feat: type
2024-04-01 15:49:45 +08:00
lijianan
4eaa664d2e
type: fix useLocale type error of site (#48204) 2024-04-01 12:07:58 +08:00
lijianan
749ee4254e
site: fix the problem of the operating area being blocked (#48195) 2024-03-31 21:19:04 +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
f5e9d2df45
docs: fix Menu ellipsis style (#47997) 2024-03-21 14:28:12 +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
lijianan
903aa71a40
chore: update getItemTag to react component (#47583)
* docs: update docs

* update docs

* chore: update .dumi
2024-03-01 22:19:06 +08:00
afc163
f6dec5ab76
site: fix banner text shift in home page (#47580) 2024-02-25 21:11:04 +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
lijianan
bb59275276
site: Semantic style optimization (#47462) 2024-02-18 12:34:28 +08:00
lijianan
a84af71d14
site: code optimization (#47456) 2024-02-16 20:50:31 +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