Commit Graph

479 Commits

Author SHA1 Message Date
二货爱吃白萝卜
6c6111a62c
docs: fix site css sandbox open (#50305) 2024-08-08 16:28:08 +08:00
renovate[bot]
7fdfb299eb
chore(deps): update dependency @typescript-eslint/parser to v8 (#50228)
* chore(deps): update dependency @typescript-eslint/parser to v8

* Update package.json

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

* fix eslint errors

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-04 12:24:35 +08:00
afc163
d9990e3b2d
docs: fix findDOMNode warnings (#50191)
* docs: fix findDOMNode warnings

* docs: fix findDOMNode warnings

* fix ts type
2024-08-01 22:07:53 +08:00
lijianan
e8fa5938ab
site: rewrite with CSS logical properties (#50109)
* site: use CSS logical properties

* Update components/anchor/demo/targetOffset.tsx

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

* fix: fix

* fix: fix

* chore: fix

* fix: add more

* fix: add more

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-28 10:43:45 +08:00
lijianan
f56fee1333
site: update site/demo style (#50107)
* site: update site/demo style

* fix: fix lint
2024-07-27 16:13:25 +08:00
thinkasany
06d69cfa22
site: use overlayStyle instead of popupStyle (#50095) 2024-07-26 16:12:49 +08:00
thinkasany
96094b0b7d
site: improve color type (#50089)
* type(theme): improve color type

* ThemeColorPickerProps

* lint-fix
2024-07-26 12:04:29 +08:00
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
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
二货爱吃白萝卜
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