Commit Graph

560 Commits

Author SHA1 Message Date
github-actions[bot]
16f9543ba0
chore: auto merge branches (#50641)
chore: sync master to feature
2024-08-29 15:00:27 +00:00
afc163
bfd2c06987
docs: tweak document content area width (#50625) 2024-08-29 14:05:07 +08:00
lijianan
c8413cc78f
feat: FloatButton support placement (#50407)
* feat: 不要合并

* fix: fix

* fix: fix

* test: fix test

* test: fix test

* test: fix test

* test: fix test

* Update components/float-button/FloatButtonGroup.tsx

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

* Update components/float-button/__tests__/__snapshots__/demo-extend.test.ts.snap

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

* fix: fix

* fix: fix

* test: add test case

* fix: fix

* fix: fix

* site: update site style

* demo: update demo

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-20 10:16:07 +08:00
Jerryxin
a89bd934d7
site: fix image width issue in markdown (#50399)
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-14 22:52:13 +08:00
lijianan
16f018906b
fix(site): the img element of site should not be block (#50367) 2024-08-12 09:31:56 +08:00
lijianan
313b5ae924
fix(site): fix lost indent of site (#50366)
* fix(site): lost indent of site

* fix: fix style
2024-08-12 00:41:04 +08:00
lijianan
96a06943a5
demo: site & demo update (#50322) 2024-08-09 11:24:29 +08:00
二货爱吃白萝卜
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
github-actions[bot]
249c94fb50
chore: auto merge branches (#50198)
chore: merge master into feature
2024-08-02 03:58:13 +00: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
二货爱吃白萝卜
832cffcdf9
feat: ColorPicker support gradient color (#50050)
* refactor: support type update

* chore: update clear style

* chore: bump color picker

* chore: use slider

* chore: bump color picker

* chore: range slider

* chore: layout

* chore: useModeColor

* chore: simplify

* chore: bump color picker

* refactor: event

* chore: tmp lock check

* chore: of it

* chore: update ts def

* chore: update ts def

* chore: remove useless ts

* chore: linear

* chore: adjust style

* chore: rm useless code

* chore: fill color

* chore: basic linear

* chore: support toStr

* chore: limit minCount

* chore: use cache

* chore: drag support:

* chore: yes

* chore: update demo

* chore: useLayoutEffect instead

* chore: fix click to add point

* chore: add smmoth

* chore: support of locale

* chore: add locale

* chore: fix lint

* chore: adjust style

* chore: fix lint

* chore: fix style

* test: fix test case

* chore: fix popover

* test: fix test case

* chore: fix test

* test: clean up

* chore: fix lint

* chore: fix lint

* chore: fix lint

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* chore: fix docs

* docs: update demo desc

* chore: enhance hover range

* fix: delete not working

* chore: fix lint

* test: coverage

* test: coverage

* chore: clean up

* chore: adjust

* chore: highlight

* chore: adjust style

* chore: fix lint

* chore: update demo

* chore: memo perf

* refactor: up to down colors

* test: update snapshot
2024-07-29 16:38:50 +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
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