Commit Graph

105 Commits

Author SHA1 Message Date
Avan
3f228b35b6
chore: disable the default behavior of the Alert closable () 2024-11-08 11:13:19 +08:00
afc163
cf68622654
docs: improve homepage banner card style () 2024-10-14 18:11:31 +08:00
renovate[bot]
863f61d908
chore(deps): update dependency eslint to v9 ()
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00
二货爱吃白萝卜
832cffcdf9
feat: ColorPicker support gradient color ()
* 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 ()
* 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 ()
* site: update site/demo style

* fix: fix lint
2024-07-27 16:13:25 +08:00
thinkasany
96094b0b7d
site: improve color type ()
* type(theme): improve color type

* ThemeColorPickerProps

* lint-fix
2024-07-26 12:04:29 +08:00
afc163
7329c8a293
site: fix a11y issue that <button> is nested inside <a> in homepage ()
* 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
afc163
89b7ef6ada
site: use message api from App () 2024-07-02 21:44:58 +08:00
thinkasany
2d09d73183
site: fix RadiusPicker parser ()
* site: opt RadiusPicker parser

* fix
2024-07-01 18:23:47 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ()
* 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
828360c6e9
chore: fix a11y issues ()
* 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 () 2024-06-11 16:07:13 +08:00
afc163
b6b961efa1
chore: enable prefetch for dumi Link element () 2024-06-08 23:10:16 +08:00
二货爱吃白萝卜
cf6e9c8b6e
docs: update RangePicker month demo ()
* docs: clean up useless code

* docs: update demo

* docs: fix typo
2024-05-10 09:55:31 +08:00
lijianan
ddf70283ed
site: update site type { children: React.ReactNode } => React.PropsWithChildren ()
* site: update site type React.ReactNode => React.PropsWithChildren

* fix: fix

* fix: fix
2024-05-06 15:28:52 +08:00
lijianan
d34ab00717
demo: update wrap="wrap" => wrap () 2024-04-12 12:10:38 +08:00
lijianan
251e9c9128
site: site code optimization () 2024-04-07 10:10:25 +08:00
lijianan
2acb7b217a
site: use css token ()
* 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
叶枫
14a1e6bd51
feat: tsconfig enable strict ()
* 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
749ee4254e
site: fix the problem of the operating area being blocked () 2024-03-31 21:19:04 +08:00
afc163
f6dec5ab76
site: fix banner text shift in home page () 2024-02-25 21:11:04 +08:00
舜岳
3a04ea1c5e
fix: document homepage style optimization () 2024-01-08 13:33:06 +08:00
lijianan
0ea3da719d
site: replace site page <Space /> with <Flex /> () 2024-01-06 18:05:25 +08:00
舜岳
a72ea642b2
fix: document homepage style optimization ()
* fix: document homepage style optimization

* fix: use the wrap property of Space
2024-01-05 17:49:04 +08:00
MadCcc
2d67c0f0e4
docs: site date client only ()
* docs: site date client only

* chore: fix style

* chore: fix lint

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-12-04 15:12:49 +08:00
MadCcc
8816dc04c7 Merge branch 'master' into feature-merge-master 2023-11-30 20:22:00 +08:00
MadCcc
e6bf2e24a6
docs: add css var documatation ()
* docs: add css var documatation

* chore: remove hash
2023-11-30 17:19:57 +08:00
MadCcc
735553503e
docs: update banner () 2023-11-29 19:05:19 +08:00
lijianan
aed105b6db
fix: fix site home page banner min-height () 2023-11-29 12:32:15 +08:00
MadCcc
e2e0e9f9e5
docs: banner recommendation ()
* docs: recover banner

* docs: rec

* chore: add banner recommends
2023-11-28 15:31:36 +08:00
lijianan
bb40c380da
demo: update segmented demo from Space to Flex () 2023-11-28 11:03:22 +08:00
afc163
5aafe6d39a site: use vanilla-tilt.js for banner motion 2023-11-22 17:57:53 +08:00
MadCcc
6a525ccbec
docs: fix banner blur () 2023-10-25 10:54:42 +08:00
afc163
9dd9db079b
chore: fix banner style in safari () 2023-10-23 15:02:51 +08:00
afc163
fb0297f7bf
chore: load home page component lazily ()
* chore: load home page component lazily

* chore: improve home page blur style in Chrome
2023-10-21 16:39:59 +08:00
afc163
cd03c11727
docs: improve home page banner style () 2023-10-20 23:05:04 +08:00
MadCcc
984977177a
docs: bump theme editor () 2023-10-16 20:37:05 +08:00
MadCcc
04cc086fb5
chore: fix tsc () 2023-10-15 19:17:32 +08:00
二货爱吃白萝卜
70ce748d57
fix: options missing id () 2023-10-12 09:43:35 +08:00
afc163
f03a4de272
chore: improve switch theme perf in home page () 2023-10-08 15:29:45 +08:00
afc163
9455ebec44
docs: update 5.9.2 changelog and lock @types/react ()
* docs: update 5.9.2 changelog and lock @types/react

* docs: update 5.9.2 changelog and lock @types/react
2023-09-19 12:35:37 +08:00
lijianan
a0699ea1a0
type: fix .dumi type error () 2023-09-17 23:32:14 +08:00
afc163
4489eec5b1
docs: add banner mouse effect animation ()
* docs: add banner mouse effect animation

* refactor to useRef

* refactor to react way

* refactor to hooks

* type: add type

* fix: fix error

* fix: fix error

* fix: update RTL

---------

Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-09-10 12:27:10 +08:00
期贤
a873471f5a merge 2023-09-07 12:05:16 +08:00
lijianan
7344f5e275
chore: replace useToken with useInternalToken () 2023-09-07 10:15:58 +08:00
kiner-tang(文辉)
e23cc690e7
feat: support hide expandIcon ()
* site: hide theme example menu's expandIcon

* feat: optimize code

* feat: optimize code

* feat: update test case
2023-09-01 11:09:48 +08:00
afc163
07056fa791
docs: fix theme card style in Firefox () 2023-08-28 19:48:55 +08:00
二货爱吃白萝卜
50bf708e59
fix: hooks call warning () 2023-08-27 19:57:19 +08:00
二货爱吃白萝卜
4e9ac02b08
fix: Tour panel token & home support dark mode ()
* docs: update home page

* docs: home support dark mode

* docs: fix mobile

* docs: fix rtl

* docs: update locale
2023-08-25 19:08:52 +08:00