Commit Graph

38 Commits

Author SHA1 Message Date
MadCcc
4203208af5
feat: cssVar could be disabled by set to false (#45987)
* feat: cssVar could be disabled by set to false

* chore: update test case
2023-11-22 09:46:18 +08:00
MadCcc
3a0ab9d371
chore: add lint for cssVar (#45828)
* chore: add lint for css var

* chore: code clean

* chore: use linter

* chore: code clean

* chore: clean

* chore: update

* chore: code clean
2023-11-13 11:56:13 +08:00
MadCcc
04cc086fb5
chore: fix tsc (#45352) 2023-10-15 19:17:32 +08:00
MadCcc
e41026ab59
docs: fix site issues (#44970) 2023-09-20 16:50:55 +08:00
MadCcc
6939a2fcdf
docs: fix hydration (#44952) 2023-09-19 21:01:07 +08:00
cwg
5ac472d042
site: add LocalStorage caching for bannerVisible (#44910)
* feat: add LocalStorage caching for banner visible

* feat: add cache expiration time
2023-09-16 23:42:12 +08:00
cwg
2627caebb4
fix: site style conflict (#44899)
* fix: site style conflict

* chore: lint

* feat: optimize code
2023-09-15 22:03:53 +08:00
MadCcc
9ec402cfe1
docs: try to fix hydration error (#44797) 2023-09-13 09:31:22 +08:00
kiner-tang(文辉)
b9dfb1847d
site: solve display exception when use happy work theme in dark mode (#44720)
* site: solve display exception when use happly work theme in dark mode

* feat: remove log

* feat: optimize code
2023-09-11 11:17:11 +08:00
KuangPengfei
24c7b2ea42
site: optimize site scroll bar dark mode style (#44588)
* style(site): set `prefers-color-scheme` value to optimize the dark mode style of the site scroll bar

* style(site): optimize the value acquisition logic of `prefers-color-scheme`
2023-09-02 12:17:20 +08:00
二货爱吃白萝卜
4e9ac02b08
fix: Tour panel token & home support dark mode (#44428)
* 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
MadCcc
dc065177f9
docs: sandpack block support config (#44072)
* docs: sandpack block support config

* chore: fix lint
2023-08-07 14:24:05 +08:00
二货爱吃白萝卜
e8f9f6a88d
docs: Add happy wave package (#44031)
* docs: theme add happy work

* docs: update happy

* fix: lint

* docs: rename
2023-08-07 10:44:04 +08:00
MadCcc
76dd6dc1bb
[WIP] docs: use sandpack for demo (#43854)
* docs: use sandpack for demo

* chore: update

* docs: adjust theme

* docs: sandpack ssr

* docs: sandpack fallback

* fix: ssr

* chore: fix css extract

* chore: fix lint

* fix: fix lint

* chore: rm theme

* fix: solve ssr sissue

* chore: fix lint

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-08-01 10:53:55 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint (#43873)
* chore: fix lint

* chore: fix lint

* test: fix 16

* fix: lint
2023-07-28 16:17:43 +08:00
二货爱吃白萝卜
7c1d913f49
docs: antd component export by page level (#43762)
* chore: init for clean

* docs: comment

* chore: ping

* fix: lint

* chore: clean up
2023-07-27 16:22:53 +08:00
二货爱吃白萝卜
39d3baef43
enhance: not extract message notification style in SSR (#43808)
* enhance: message not render style in SSR

* enhance: notification not render style in SSR

* docs: not render App if in demo page
2023-07-26 11:03:42 +08:00
二货爱吃白萝卜
e78b8f6f27
chore: bump cssinjs (#43691)
* chore: bump cssinjs

* chore: bump cssinjs

* chore: default light & motion

* test: snapshot ignore motion

* chore: clean up

* chore: bump cssinjs version

* chore: adjust log

* chore: adjust log
2023-07-21 14:53:35 +08:00
MadCcc
9e1934248b Merge branch 'master' into feature-merge-master 2023-04-27 10:16:07 +08:00
二货爱吃白萝卜
60dbef4963
feat: Disable motion (#41856)
* feat: Add motion off

* chore: update motion seed

* chore: all motion disabled

* test: add test case

* chore: fix lint

* chore: fix cov

* chore: fix motion of Switch & Segemented

* test: ignore empty
2023-04-23 15:42:36 +08:00
MadCcc
90ebd6f497
docs: fix site theme (#41898)
* docs: fix site theme

* chore: code clean
2023-04-20 10:47:06 +08:00
MadCcc
e073fc7add
docs: fix prev next footer (#41846) 2023-04-18 15:29:34 +08:00
MadCcc
772ab49baf
docs: fix hydration error when resizing (#41370)
* docs: fix hydration error when resizing

* docs: useLayoutState
2023-03-21 13:00:16 +08:00
MadCcc
853283b7e4
docs: DatePicker design tab (#40745)
* docs: DatePicker design tab

* docs: add design demo

* docs: add anchor for design demo

* docs: init g6

* docs: behavior map

* test: fix test cov

* docs: behavior map comp

* docs: add map title

* docs: fix ssr

* docs: update demo

* docs: optimize copy ux

* docs: update demo

* chore: code clean
2023-02-20 10:51:18 +08:00
MadCcc
40944a1c02
perf: only one parent selector in style (#40325)
* chore: add parent selector

* chore: update lint script

* chore: code clean

* perf: style

* chore: remove demo test cssinjs

* fix: input group
2023-01-20 10:31:27 +08:00
二货爱吃白萝卜
cc1870d8bd
chore: add linter of not selector (#40264)
* chore: add linter of not selector

* chore: update tree style

* fix: DatePicker

* fix: compact

* fix: compact vertical

* perf: style

* fix: vertical compact

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-17 17:51:59 +08:00
MadCcc
7b06b662d1
chore: add cssinjs linter (#40001) 2023-01-04 17:55:23 +08:00
MadCcc
4efc8cc849
docs: fix ssr issue (#39825)
* docs: fix ssr issue

* docs: fix

* chore: code clean

* chore: update deps
2022-12-27 17:09:01 +08:00
Wuxh
36abb3df4e
chore(site): improve site (#39504)
* chore: merge context

* chore:  theme context

* chore(site): improve site

* chore: update components overview url

* chore: update

* chore: remove default theme button

* chore: update

* chore: update
2022-12-19 11:42:41 +08:00
afc163
cf476d9477
chore: improve ThemeSwitcher implementation (#39398)
* docs: theme should be in searchParams

* chore: use locale text

* chore: fix searchParams usage

* fix: compact can use with dark/light theme

* chore: fix lint
2022-12-08 17:44:49 +08:00
MadCcc
f863703f12
chore: use startTransition to avoid affecting hydration (#39155)
* chore: use startTransition to avoid affecting hydration

* chore: code clean
2022-12-01 17:55:20 +08:00
MadCcc
d891db0ada
docs: fix hydration (#39153)
* docs: fix hydration

* chore: recover style
2022-12-01 16:10:53 +08:00
MadCcc
ffbb19e090
chore: lint (#39102)
* chore: enable tsc for demos

* chore: site lint

* chore: fix lint
2022-11-30 11:05:41 +08:00
lijianan
8d2d18c7f3
type: remove type FC in site (#38959) 2022-11-24 20:11:50 +08:00
MadCcc
9e7dc4dd4c docs: fix localstorage theme 2022-11-22 21:12:20 +08:00
MadCcc
5038bf467d
docs: theme switch (#38848)
* docs: theme switch

* chore: code clean

* fix: conflict with theme editor

* docs: use own theme in theme editor

* chore: code clean
2022-11-22 17:00:28 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens (#38722) 2022-11-19 13:47:33 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade (#38328)
* build: try to use dumi as doc tool

* docs: migrate demo structure to dumi way

* refactor: use type export & import

* docs: migrate demo previewer to dumi

* docs: create empty layout & components

* docs: apply custom rehype plugin

* docs: create empty extra pages

* docs: Add Banner component

* chore: move theme tsconfig.json

* docs: home page init

* docs: migrate header (#37896)

* docs: header

* docs: update

* docs: home init

* clean up

* test: fix site lint

* chore: tsc ignore demo

* chore: dumi demo migrate script

* chore: cards

* docs: home layout

* docs: Update locale logic

* docs: fix getLink logic

* chore: fix ci (#37899)

* chore: fix ci

* ci: remove check-ts-demo

* ci: preview build

* test: ignore demo.tsx

* chore: update script

* test: update snapshot

* test: update node and image test

* chore: add .surgeignore

* docs: layout providers (#37908)

* docs: add components sidebar (#37923)

* docs: sidebar

* docs: update docs title

* docs: update design doc

* chore: code clean

* docs: handle changelog page

* docs: add title

* docs: add subtitle

* docs: active header nav

* chore: code clean

* docs: overview

* chore: code clean

* docs: update intl (#37918)

* docs: update intl

* chore: code clean

* docs: update favicons

* chore: update testPathIgnorePatterns

* chore: code clean

* chore: code clean

* chore: copy 404.html (#37996)

* docs: Home page theme picker

* chore: Update migrate script

* docs: home page update

* docs: theme editor style

* docs: theme lang

* chore: update migrate.js

* docs: fix demo (#38094)

* chore: update migrate.js

* docs: update md

* docs: update demo

* test: fix snapshot

* chore: move debug to code attr in migrate script

* chore: update md

Co-authored-by: PeachScript <scdzwyxst@gmail.com>

* feat: overview page

* feat: Migrate `404` page (#38118)

* feat: migrate IconSearch component (#37916)

* feat<site/IconSearch>: copy IconDisplay from site to .dumi

* feat<site/IconSearch>: change docs of icon

* feat<site/IconSearch>: tweak

* feat<site/IconSearch>: use useIntl instead of injectIntl

* feat<site/IconSearch>: fix ts type error

* feat<site/IconSearch>: use intl.formatMessage to render text

* docs: Adjust home btn sizw

* docs: Update doc

* feat: v5 site overview page (#38131)

* feat: site

* fix: fix

* feat: v5 site overview page

* fix: fix path

* fix: fix

* fix: fix

* docs: fix margin logic

* feat: v5 site change-log page (#38137)

* feat: v5 site change-log page (#38162)

* docs: site redirect to home pag

* docs: theme picker

* docs: use react-intl from dumi (#38183)

* docs: Theme Picker

* docs: update dumi config

* docs: home back fix

* docs: picker colorful

* docs: locale of it

* docs: update components desc

* docs: site of links

* docs: update components list

* docs: update desc

* feat: Migrate `DemoWrapper` component (#38166)

* feat: Migrate `DemoWrapper` component

* feat: remove invalid comments and add comment for `key` prop

* docs: FloatButton pure panel

* chore: update demo

* chore: update dumi config

* Revert "chore: update demo"

This reverts commit 028265d3ba.

* chore: test logic adjust to support cnpm modules

* chore: add locale alias

* docs: /index to /

* docs: add locale redirect head script

* chore: adjust compact

* docs: fix missing token

* feat: compact switch

* chore: code clean

* docs: update home

* docs: fix radius token

* docs: hash of it

* chore: adjust home page

* docs: Add background map

* docs: site theme bac logic

* docs: avatar

* docs: update logo color

* docs: home banner

* docs: adjust tour size

* docs: purepanl update

* docs: transfooter

* docs: update banner gif

* docs: content (#38361)

* docs: title & EditButton

* docs: content

* chore: fix toc

* docs: resource page

* docs: transform resource data from hast

* docs: filename & Resource Card

* chore: enable prerender

* chore: remove less

* docs: toc style

* chore: fix lint

* docs: fix Layout page

* docs: fix CP page

* chore: update demos

* docs: workaround for export dynamic html

* chore: enable demo eslint

* docs: table style

* fix: header shadow

* chore: update snapshot

* fix: toc style

* docs: add title

* docs: Adjust site

* feat: helmet

* docs: site css

* fix: description

* feat: toc debug

* docs: update config-provider

* feat: use colorPanel

* fix: colorPanel value

* feat: anchor ink ball style

* feat: apply theme editor

* fix: code block style

* chore: update demo

* chore: fix lint

* chore: code clean

* chore: update snapshot

* feat: ts2js

* chore: description

* docs: site ready for ssr

includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion

* chore: bump testing lib

* docs: font size of title

* chore: remove react-sortable-hoc

* chore: update snapshot

* chore: update script

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00