@hanzo/docs 16.2.7 → 16.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +165 -167
- package/CHANGELOG.md +13 -0
- package/dist/cli/build.d.ts +64 -65
- package/dist/mdx/bun.d.ts +1 -1
- package/dist/mdx/bun.js +1 -1
- package/dist/mdx/config.d.ts +1 -1
- package/dist/mdx/config.js +1 -1
- package/dist/mdx/index.d.ts +1 -1
- package/dist/mdx/index.js +1 -1
- package/dist/mdx/next.d.ts +1 -1
- package/dist/mdx/next.js +1 -1
- package/dist/mdx/plugins/index-file.d.ts +1 -1
- package/dist/mdx/plugins/index-file.js +1 -1
- package/dist/mdx/plugins/json-schema.d.ts +2 -2
- package/dist/mdx/plugins/json-schema.js +2 -2
- package/dist/mdx/plugins/last-modified.d.ts +2 -2
- package/dist/mdx/plugins/last-modified.js +2 -2
- package/dist/mdx/runtime/browser.d.ts +1 -1
- package/dist/mdx/runtime/browser.js +1 -1
- package/dist/mdx/runtime/dynamic.d.ts +1 -1
- package/dist/mdx/runtime/dynamic.js +1 -1
- package/dist/mdx/runtime/server.d.ts +1 -1
- package/dist/mdx/runtime/server.js +1 -1
- package/dist/mdx/runtime/types.d.ts +1 -1
- package/dist/mdx/runtime/types.js +1 -1
- package/dist/mdx/vite.d.ts +2 -2
- package/dist/mdx/vite.js +2 -2
- package/dist/mdx-remote/client.d.ts +1 -1
- package/dist/mdx-remote/client.js +1 -1
- package/dist/mdx-remote/index.d.ts +1 -1
- package/dist/mdx-remote/index.js +1 -1
- package/dist/ui/components/accordion.d.ts +1 -1
- package/dist/ui/components/accordion.js +1 -1
- package/dist/ui/components/banner.d.ts +1 -1
- package/dist/ui/components/banner.js +1 -1
- package/dist/ui/components/callout.d.ts +1 -1
- package/dist/ui/components/callout.js +1 -1
- package/dist/ui/components/card.d.ts +1 -1
- package/dist/ui/components/card.js +1 -1
- package/dist/ui/components/codeblock.d.ts +1 -1
- package/dist/ui/components/codeblock.js +1 -1
- package/dist/ui/components/dialog/search-algolia.d.ts +1 -1
- package/dist/ui/components/dialog/search-algolia.js +1 -1
- package/dist/ui/components/dialog/search-default.d.ts +1 -1
- package/dist/ui/components/dialog/search-default.js +1 -1
- package/dist/ui/components/dialog/search-orama.d.ts +1 -1
- package/dist/ui/components/dialog/search-orama.js +1 -1
- package/dist/ui/components/dialog/search.d.ts +1 -1
- package/dist/ui/components/dialog/search.js +1 -1
- package/dist/ui/components/dynamic-codeblock.d.ts +1 -1
- package/dist/ui/components/dynamic-codeblock.js +1 -1
- package/dist/ui/components/files.d.ts +1 -1
- package/dist/ui/components/files.js +1 -1
- package/dist/ui/components/github-info.d.ts +1 -1
- package/dist/ui/components/github-info.js +1 -1
- package/dist/ui/components/heading.d.ts +1 -1
- package/dist/ui/components/heading.js +1 -1
- package/dist/ui/components/image-zoom.d.ts +1 -1
- package/dist/ui/components/image-zoom.js +1 -1
- package/dist/ui/components/inline-toc.d.ts +1 -1
- package/dist/ui/components/inline-toc.js +1 -1
- package/dist/ui/components/sidebar/base.d.ts +1 -1
- package/dist/ui/components/sidebar/base.js +1 -1
- package/dist/ui/components/sidebar/link-item.d.ts +1 -1
- package/dist/ui/components/sidebar/link-item.js +1 -1
- package/dist/ui/components/sidebar/page-tree.d.ts +1 -1
- package/dist/ui/components/sidebar/page-tree.js +1 -1
- package/dist/ui/components/steps.d.ts +1 -1
- package/dist/ui/components/steps.js +1 -1
- package/dist/ui/components/tabs.d.ts +1 -1
- package/dist/ui/components/tabs.js +1 -1
- package/dist/ui/components/toc/clerk.d.ts +1 -1
- package/dist/ui/components/toc/clerk.js +1 -1
- package/dist/ui/components/toc/default.d.ts +1 -1
- package/dist/ui/components/toc/default.js +1 -1
- package/dist/ui/components/toc/index.d.ts +1 -1
- package/dist/ui/components/toc/index.js +1 -1
- package/dist/ui/components/type-table.d.ts +1 -1
- package/dist/ui/components/type-table.js +1 -1
- package/dist/ui/components/ui/accordion.d.ts +1 -1
- package/dist/ui/components/ui/accordion.js +1 -1
- package/dist/ui/components/ui/button.d.ts +1 -1
- package/dist/ui/components/ui/button.js +1 -1
- package/dist/ui/components/ui/collapsible.d.ts +1 -1
- package/dist/ui/components/ui/collapsible.js +1 -1
- package/dist/ui/components/ui/navigation-menu.d.ts +1 -1
- package/dist/ui/components/ui/navigation-menu.js +1 -1
- package/dist/ui/components/ui/popover.d.ts +1 -1
- package/dist/ui/components/ui/popover.js +1 -1
- package/dist/ui/components/ui/scroll-area.d.ts +1 -1
- package/dist/ui/components/ui/scroll-area.js +1 -1
- package/dist/ui/components/ui/tabs.d.ts +1 -1
- package/dist/ui/components/ui/tabs.js +1 -1
- package/dist/ui/contexts/i18n.d.ts +1 -1
- package/dist/ui/contexts/i18n.js +1 -1
- package/dist/ui/contexts/tree.d.ts +1 -1
- package/dist/ui/contexts/tree.js +1 -1
- package/dist/ui/css/black.css +1 -39
- package/dist/ui/css/catppuccin.css +1 -49
- package/dist/ui/css/dusk.css +1 -47
- package/dist/ui/css/neutral.css +1 -7
- package/dist/ui/css/ocean.css +1 -48
- package/dist/ui/css/preset.css +1 -296
- package/dist/ui/css/purple.css +1 -39
- package/dist/ui/css/shadcn.css +1 -36
- package/dist/ui/css/solar.css +1 -75
- package/dist/ui/css/vitepress.css +1 -77
- package/dist/ui/i18n.d.ts +1 -1
- package/dist/ui/i18n.js +1 -1
- package/dist/ui/layouts/docs/page.d.ts +1 -1
- package/dist/ui/layouts/docs/page.js +1 -1
- package/dist/ui/layouts/docs.d.ts +1 -1
- package/dist/ui/layouts/docs.js +1 -1
- package/dist/ui/layouts/home/navbar.d.ts +1 -1
- package/dist/ui/layouts/home/navbar.js +1 -1
- package/dist/ui/layouts/home.d.ts +1 -1
- package/dist/ui/layouts/home.js +1 -1
- package/dist/ui/layouts/notebook/page.d.ts +1 -1
- package/dist/ui/layouts/notebook/page.js +1 -1
- package/dist/ui/layouts/notebook.d.ts +1 -1
- package/dist/ui/layouts/notebook.js +1 -1
- package/dist/ui/layouts/shared.d.ts +1 -1
- package/dist/ui/layouts/shared.js +1 -1
- package/dist/ui/mdx.d.ts +2 -2
- package/dist/ui/mdx.js +2 -2
- package/dist/ui/og.d.ts +1 -1
- package/dist/ui/og.js +1 -1
- package/dist/ui/page.d.ts +1 -1
- package/dist/ui/page.js +1 -1
- package/dist/ui/provider/base.d.ts +1 -1
- package/dist/ui/provider/base.js +1 -1
- package/dist/ui/provider/next.d.ts +1 -1
- package/dist/ui/provider/next.js +1 -1
- package/dist/ui/provider/react-router.d.ts +1 -1
- package/dist/ui/provider/react-router.js +1 -1
- package/dist/ui/provider/tanstack.d.ts +1 -1
- package/dist/ui/provider/tanstack.js +1 -1
- package/dist/ui/provider/waku.d.ts +1 -1
- package/dist/ui/provider/waku.js +1 -1
- package/dist/ui/style.css +225 -351
- package/dist/ui/utils/use-copy-button.d.ts +1 -1
- package/dist/ui/utils/use-copy-button.js +1 -1
- package/package.json +16 -15
- package/scripts/copy-css.js +3 -3
- package/src/mdx/bun.ts +1 -1
- package/src/mdx/config.ts +1 -1
- package/src/mdx/index.ts +1 -1
- package/src/mdx/next.ts +1 -1
- package/src/mdx/plugins/index-file.ts +1 -1
- package/src/mdx/plugins/json-schema.ts +2 -2
- package/src/mdx/plugins/last-modified.ts +2 -2
- package/src/mdx/runtime/browser.ts +1 -1
- package/src/mdx/runtime/dynamic.ts +1 -1
- package/src/mdx/runtime/server.ts +1 -1
- package/src/mdx/runtime/types.ts +1 -1
- package/src/mdx/vite.ts +2 -2
- package/src/mdx-remote/client.ts +1 -1
- package/src/mdx-remote/index.ts +1 -1
- package/src/ui/components/accordion.ts +1 -1
- package/src/ui/components/banner.ts +1 -1
- package/src/ui/components/callout.ts +1 -1
- package/src/ui/components/card.ts +1 -1
- package/src/ui/components/codeblock.ts +1 -1
- package/src/ui/components/dialog/search-algolia.ts +1 -1
- package/src/ui/components/dialog/search-default.ts +1 -1
- package/src/ui/components/dialog/search-orama.ts +1 -1
- package/src/ui/components/dialog/search.ts +1 -1
- package/src/ui/components/dynamic-codeblock.ts +1 -1
- package/src/ui/components/files.ts +1 -1
- package/src/ui/components/github-info.ts +1 -1
- package/src/ui/components/heading.ts +1 -1
- package/src/ui/components/image-zoom.ts +1 -1
- package/src/ui/components/inline-toc.ts +1 -1
- package/src/ui/components/sidebar/base.ts +1 -1
- package/src/ui/components/sidebar/link-item.ts +1 -1
- package/src/ui/components/sidebar/page-tree.ts +1 -1
- package/src/ui/components/steps.ts +1 -1
- package/src/ui/components/tabs.ts +1 -1
- package/src/ui/components/toc/clerk.ts +1 -1
- package/src/ui/components/toc/default.ts +1 -1
- package/src/ui/components/toc/index.ts +1 -1
- package/src/ui/components/type-table.ts +1 -1
- package/src/ui/components/ui/accordion.ts +1 -1
- package/src/ui/components/ui/button.ts +1 -1
- package/src/ui/components/ui/collapsible.ts +1 -1
- package/src/ui/components/ui/navigation-menu.ts +1 -1
- package/src/ui/components/ui/popover.ts +1 -1
- package/src/ui/components/ui/scroll-area.ts +1 -1
- package/src/ui/components/ui/tabs.ts +1 -1
- package/src/ui/contexts/i18n.ts +1 -1
- package/src/ui/contexts/tree.ts +1 -1
- package/src/ui/i18n.ts +1 -1
- package/src/ui/layouts/docs/page.ts +1 -1
- package/src/ui/layouts/docs.ts +1 -1
- package/src/ui/layouts/home/navbar.ts +1 -1
- package/src/ui/layouts/home.ts +1 -1
- package/src/ui/layouts/notebook/page.ts +1 -1
- package/src/ui/layouts/notebook.ts +1 -1
- package/src/ui/layouts/shared.ts +1 -1
- package/src/ui/mdx.ts +2 -2
- package/src/ui/og.ts +1 -1
- package/src/ui/page.ts +1 -1
- package/src/ui/provider/base.ts +1 -1
- package/src/ui/provider/next.ts +1 -1
- package/src/ui/provider/react-router.ts +1 -1
- package/src/ui/provider/tanstack.ts +1 -1
- package/src/ui/provider/waku.ts +1 -1
- package/src/ui/utils/use-copy-button.ts +1 -1
- package/tsup.config.ts +3 -2
- package/dist/ui/components/tabs.unstyled.d.ts +0 -1
- package/dist/ui/components/tabs.unstyled.js +0 -2
- package/dist/ui/css/colors/index.css +0 -51
- package/dist/ui/css/shiki.css +0 -90
- package/dist/ui/dist/theme/typography/index.d.ts +0 -10
- package/dist/ui/dist/theme/typography/index.d.ts.map +0 -1
- package/dist/ui/dist/theme/typography/index.js +0 -137
- package/dist/ui/dist/theme/typography/styles.d.ts +0 -93
- package/dist/ui/dist/theme/typography/styles.d.ts.map +0 -1
- package/dist/ui/dist/theme/typography/styles.js +0 -433
- package/src/ui/components/tabs.unstyled.ts +0 -1
package/dist/ui/css/neutral.css
CHANGED
package/dist/ui/css/ocean.css
CHANGED
|
@@ -1,48 +1 @@
|
|
|
1
|
-
@import '
|
|
2
|
-
|
|
3
|
-
@theme {
|
|
4
|
-
--color-fd-background: hsl(0, 0%, 98%);
|
|
5
|
-
--color-fd-foreground: hsl(0, 0%, 3.9%);
|
|
6
|
-
--color-fd-muted: hsl(220, 90%, 96.1%);
|
|
7
|
-
--color-fd-muted-foreground: hsl(0, 0%, 45.1%);
|
|
8
|
-
--color-fd-popover: hsl(0, 0%, 98%);
|
|
9
|
-
--color-fd-popover-foreground: hsl(0, 0%, 15.1%);
|
|
10
|
-
--color-fd-card: hsl(220, 50%, 98%);
|
|
11
|
-
--color-fd-card-foreground: hsl(0, 0%, 3.9%);
|
|
12
|
-
--color-fd-border: hsl(220, 50%, 89.8%);
|
|
13
|
-
--color-fd-primary: hsl(210, 80%, 20.2%);
|
|
14
|
-
--color-fd-primary-foreground: hsl(0, 0%, 98%);
|
|
15
|
-
--color-fd-secondary: hsl(220, 90%, 96.1%);
|
|
16
|
-
--color-fd-secondary-foreground: hsl(0, 0%, 9%);
|
|
17
|
-
--color-fd-accent: hsl(220, 50%, 94.1%);
|
|
18
|
-
--color-fd-accent-foreground: hsl(0, 0%, 9%);
|
|
19
|
-
--color-fd-ring: hsl(220, 100%, 63.9%);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.dark {
|
|
23
|
-
--color-fd-background: hsl(220, 60%, 8%);
|
|
24
|
-
--color-fd-foreground: hsl(220, 60%, 94.5%);
|
|
25
|
-
--color-fd-muted: hsl(220, 50%, 10%);
|
|
26
|
-
--color-fd-muted-foreground: hsl(220, 30%, 65%);
|
|
27
|
-
--color-fd-popover: hsl(220, 50%, 10%);
|
|
28
|
-
--color-fd-popover-foreground: hsl(220, 60%, 94.5%);
|
|
29
|
-
--color-fd-card: hsla(220, 56%, 15%, 0.4);
|
|
30
|
-
--color-fd-card-foreground: hsl(220, 60%, 94.5%);
|
|
31
|
-
--color-fd-border: hsla(220, 50%, 50%, 0.2);
|
|
32
|
-
--color-fd-primary: hsl(205, 100%, 85%);
|
|
33
|
-
--color-fd-primary-foreground: hsl(0, 0%, 9%);
|
|
34
|
-
--color-fd-secondary: hsl(220, 50%, 20%);
|
|
35
|
-
--color-fd-secondary-foreground: hsl(220, 80%, 90%);
|
|
36
|
-
--color-fd-accent: hsl(220, 40%, 20%);
|
|
37
|
-
--color-fd-accent-foreground: hsl(220, 80%, 90%);
|
|
38
|
-
--color-fd-ring: hsl(205, 100%, 85%);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.dark body {
|
|
42
|
-
background-image: linear-gradient(
|
|
43
|
-
rgba(5, 105, 255, 0.15),
|
|
44
|
-
transparent 20rem,
|
|
45
|
-
transparent
|
|
46
|
-
);
|
|
47
|
-
background-repeat: no-repeat;
|
|
48
|
-
}
|
|
1
|
+
@import '@hanzo/docs-ui/css/colors/ocean.css';
|
package/dist/ui/css/preset.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import '
|
|
1
|
+
@import '@hanzo/docs-ui/css/base.css';
|
|
2
2
|
|
|
3
3
|
/* TODO: remove them on next major */
|
|
4
4
|
@import './layouts/docs.css';
|
|
@@ -8,298 +8,3 @@
|
|
|
8
8
|
@source '../dist/*.js';
|
|
9
9
|
@source '../dist/{components,contexts,provider,utils}/**/*.js';
|
|
10
10
|
@source '../dist/layouts/shared/**/*.js';
|
|
11
|
-
|
|
12
|
-
@plugin '../dist/theme/typography/index.js';
|
|
13
|
-
|
|
14
|
-
:root {
|
|
15
|
-
--fd-sidebar-drawer-offset: 100%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
[dir='rtl'] {
|
|
19
|
-
--fd-sidebar-drawer-offset: -100%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@theme {
|
|
23
|
-
--animate-fd-fade-in: fd-fade-in 300ms ease;
|
|
24
|
-
--animate-fd-fade-out: fd-fade-out 300ms ease;
|
|
25
|
-
|
|
26
|
-
--animate-fd-dialog-in: fd-dialog-in 300ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
27
|
-
--animate-fd-dialog-out: fd-dialog-out 300ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
28
|
-
|
|
29
|
-
--animate-fd-popover-in: fd-popover-in 100ms ease;
|
|
30
|
-
--animate-fd-popover-out: fd-popover-out 100ms ease;
|
|
31
|
-
|
|
32
|
-
--animate-fd-collapsible-down: fd-collapsible-down 150ms
|
|
33
|
-
cubic-bezier(0.45, 0, 0.55, 1);
|
|
34
|
-
--animate-fd-collapsible-up: fd-collapsible-up 150ms
|
|
35
|
-
cubic-bezier(0.45, 0, 0.55, 1);
|
|
36
|
-
|
|
37
|
-
--animate-fd-accordion-down: fd-accordion-down 200ms ease-out;
|
|
38
|
-
--animate-fd-accordion-up: fd-accordion-up 200ms ease-out;
|
|
39
|
-
|
|
40
|
-
--animate-fd-nav-menu-in: fd-nav-menu-in 200ms ease;
|
|
41
|
-
--animate-fd-nav-menu-out: fd-nav-menu-out 200ms ease;
|
|
42
|
-
|
|
43
|
-
--animate-fd-enterFromLeft: fd-enterFromLeft 250ms ease;
|
|
44
|
-
--animate-fd-enterFromRight: fd-enterFromRight 250ms ease;
|
|
45
|
-
|
|
46
|
-
--animate-fd-sidebar-in: fd-sidebar-in 250ms ease;
|
|
47
|
-
--animate-fd-sidebar-out: fd-sidebar-out 250ms ease;
|
|
48
|
-
|
|
49
|
-
--animate-fd-exitToLeft: fd-exitToLeft 250ms ease;
|
|
50
|
-
--animate-fd-exitToRight: fd-exitToRight 250ms ease;
|
|
51
|
-
|
|
52
|
-
@keyframes fd-sidebar-in {
|
|
53
|
-
from {
|
|
54
|
-
transform: translateX(var(--fd-sidebar-drawer-offset));
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@keyframes fd-sidebar-out {
|
|
59
|
-
to {
|
|
60
|
-
transform: translateX(var(--fd-sidebar-drawer-offset));
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@keyframes fd-collapsible-down {
|
|
65
|
-
from {
|
|
66
|
-
height: 0;
|
|
67
|
-
opacity: 0;
|
|
68
|
-
}
|
|
69
|
-
to {
|
|
70
|
-
height: var(--radix-collapsible-content-height);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@keyframes fd-collapsible-up {
|
|
75
|
-
from {
|
|
76
|
-
height: var(--radix-collapsible-content-height);
|
|
77
|
-
}
|
|
78
|
-
to {
|
|
79
|
-
height: 0;
|
|
80
|
-
opacity: 0;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
@keyframes fd-accordion-down {
|
|
85
|
-
from {
|
|
86
|
-
height: 0;
|
|
87
|
-
opacity: 0.5;
|
|
88
|
-
}
|
|
89
|
-
to {
|
|
90
|
-
height: var(--radix-accordion-content-height);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
@keyframes fd-accordion-up {
|
|
95
|
-
from {
|
|
96
|
-
height: var(--radix-accordion-content-height);
|
|
97
|
-
}
|
|
98
|
-
to {
|
|
99
|
-
height: 0;
|
|
100
|
-
opacity: 0.5;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@keyframes fd-dialog-in {
|
|
105
|
-
from {
|
|
106
|
-
transform: scale(1.06);
|
|
107
|
-
opacity: 0;
|
|
108
|
-
}
|
|
109
|
-
to {
|
|
110
|
-
transform: scale(1);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
@keyframes fd-dialog-out {
|
|
115
|
-
from {
|
|
116
|
-
transform: scale(1);
|
|
117
|
-
}
|
|
118
|
-
to {
|
|
119
|
-
transform: scale(1.04);
|
|
120
|
-
opacity: 0;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
@keyframes fd-popover-in {
|
|
125
|
-
from {
|
|
126
|
-
opacity: 0;
|
|
127
|
-
transform: scale(0.9);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
@keyframes fd-popover-out {
|
|
132
|
-
to {
|
|
133
|
-
opacity: 0;
|
|
134
|
-
transform: scale(0.9);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@keyframes fd-fade-in {
|
|
139
|
-
from {
|
|
140
|
-
opacity: 0;
|
|
141
|
-
}
|
|
142
|
-
to {
|
|
143
|
-
opacity: 1;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@keyframes fd-fade-out {
|
|
148
|
-
from {
|
|
149
|
-
opacity: 1;
|
|
150
|
-
}
|
|
151
|
-
to {
|
|
152
|
-
opacity: 0;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
@keyframes fd-enterFromRight {
|
|
157
|
-
from {
|
|
158
|
-
opacity: 0;
|
|
159
|
-
transform: translateX(200px);
|
|
160
|
-
}
|
|
161
|
-
to {
|
|
162
|
-
opacity: 1;
|
|
163
|
-
transform: translateX(0);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
@keyframes fd-enterFromLeft {
|
|
168
|
-
from {
|
|
169
|
-
opacity: 0;
|
|
170
|
-
transform: translateX(-200px);
|
|
171
|
-
}
|
|
172
|
-
to {
|
|
173
|
-
opacity: 1;
|
|
174
|
-
transform: translateX(0);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
@keyframes fd-exitToRight {
|
|
179
|
-
from {
|
|
180
|
-
opacity: 1;
|
|
181
|
-
transform: translateX(0);
|
|
182
|
-
}
|
|
183
|
-
to {
|
|
184
|
-
opacity: 0;
|
|
185
|
-
transform: translateX(200px);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
@keyframes fd-exitToLeft {
|
|
190
|
-
from {
|
|
191
|
-
opacity: 1;
|
|
192
|
-
transform: translateX(0);
|
|
193
|
-
}
|
|
194
|
-
to {
|
|
195
|
-
opacity: 0;
|
|
196
|
-
transform: translateX(-200px);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
@keyframes fd-nav-menu-in {
|
|
201
|
-
from {
|
|
202
|
-
opacity: 0;
|
|
203
|
-
height: 0px;
|
|
204
|
-
}
|
|
205
|
-
to {
|
|
206
|
-
opacity: 1;
|
|
207
|
-
height: var(--radix-navigation-menu-viewport-height);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
@keyframes fd-nav-menu-out {
|
|
212
|
-
from {
|
|
213
|
-
opacity: 1;
|
|
214
|
-
height: var(--radix-navigation-menu-viewport-height);
|
|
215
|
-
}
|
|
216
|
-
to {
|
|
217
|
-
opacity: 0;
|
|
218
|
-
height: 0px;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
@layer base {
|
|
224
|
-
*,
|
|
225
|
-
::after,
|
|
226
|
-
::before,
|
|
227
|
-
::backdrop,
|
|
228
|
-
::file-selector-button {
|
|
229
|
-
border-color: var(--color-fd-border, currentColor);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
body {
|
|
233
|
-
background-color: var(--color-fd-background);
|
|
234
|
-
color: var(--color-fd-foreground);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
@utility fd-scroll-container {
|
|
239
|
-
&::-webkit-scrollbar {
|
|
240
|
-
width: 5px;
|
|
241
|
-
height: 5px;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
&::-webkit-scrollbar-thumb {
|
|
245
|
-
border-radius: 5px;
|
|
246
|
-
background: var(--color-fd-border);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
&::-webkit-scrollbar-track {
|
|
250
|
-
background: transparent;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
&::-webkit-scrollbar-corner {
|
|
254
|
-
display: none;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
@utility fd-steps {
|
|
259
|
-
counter-reset: step;
|
|
260
|
-
position: relative;
|
|
261
|
-
@apply pl-6 ml-2 border-l sm:ml-4 sm:pl-7;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
@utility fd-step {
|
|
265
|
-
&:before {
|
|
266
|
-
background-color: var(--color-fd-secondary);
|
|
267
|
-
color: var(--color-fd-secondary-foreground);
|
|
268
|
-
content: counter(step);
|
|
269
|
-
counter-increment: step;
|
|
270
|
-
justify-content: center;
|
|
271
|
-
align-items: center;
|
|
272
|
-
font-size: 0.875rem;
|
|
273
|
-
line-height: 1.25rem;
|
|
274
|
-
display: flex;
|
|
275
|
-
position: absolute;
|
|
276
|
-
@apply size-8 -start-4 rounded-full;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
@utility prose-no-margin {
|
|
281
|
-
& > :first-child {
|
|
282
|
-
margin-top: 0;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
& > :last-child {
|
|
286
|
-
margin-bottom: 0;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
@property --radix-collapsible-content-height {
|
|
291
|
-
syntax: '<length>';
|
|
292
|
-
inherits: false;
|
|
293
|
-
initial-value: 0px;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
@variant dark (&:where(.dark, .dark *));
|
|
297
|
-
|
|
298
|
-
/* define/override layout variables */
|
|
299
|
-
@variant layout {
|
|
300
|
-
#nd-docs-layout:has(&),
|
|
301
|
-
#nd-notebook-layout:has(&),
|
|
302
|
-
#nd-home-layout:has(&) {
|
|
303
|
-
@slot;
|
|
304
|
-
}
|
|
305
|
-
}
|
package/dist/ui/css/purple.css
CHANGED
|
@@ -1,39 +1 @@
|
|
|
1
|
-
@import '
|
|
2
|
-
|
|
3
|
-
@theme {
|
|
4
|
-
--color-fd-background: hsl(256, 100%, 96%);
|
|
5
|
-
--color-fd-primary: hsl(270, 100%, 52%);
|
|
6
|
-
--color-fd-border: hsla(270, 40%, 80%, 0.5);
|
|
7
|
-
--color-fd-accent: hsl(270, 40%, 88%);
|
|
8
|
-
--color-fd-accent-foreground: hsl(270, 100%, 20%);
|
|
9
|
-
--color-fd-muted: hsl(256, 60%, 94%);
|
|
10
|
-
--color-fd-muted-foreground: hsl(256, 50%, 50%);
|
|
11
|
-
--color-fd-foreground: hsl(256, 60%, 26%);
|
|
12
|
-
--color-fd-secondary: hsl(270, 60%, 90%);
|
|
13
|
-
--color-fd-secondary-foreground: hsl(256, 60%, 10%);
|
|
14
|
-
--color-fd-card: hsl(256, 60%, 92%);
|
|
15
|
-
--color-fd-card-foreground: hsl(256, 100%, 20%);
|
|
16
|
-
--color-fd-popover-foreground: hsl(256, 100%, 20%);
|
|
17
|
-
--color-fd-popover: hsl(256, 60%, 96%);
|
|
18
|
-
--color-fd-primary-foreground: hsl(270, 100%, 20%);
|
|
19
|
-
--color-fd-ring: hsl(270, 100%, 52%);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.dark {
|
|
23
|
-
--color-fd-background: hsl(256, 20%, 6%);
|
|
24
|
-
--color-fd-primary: hsl(270, 100%, 86%);
|
|
25
|
-
--color-fd-border: hsla(270, 50%, 40%, 0.3);
|
|
26
|
-
--color-fd-accent: hsl(256, 23%, 22%);
|
|
27
|
-
--color-fd-accent-foreground: hsl(270, 40%, 86%);
|
|
28
|
-
--color-fd-muted: hsl(256, 23%, 10%);
|
|
29
|
-
--color-fd-foreground: hsl(256, 60%, 90%);
|
|
30
|
-
--color-fd-muted-foreground: hsl(256, 50%, 75%);
|
|
31
|
-
--color-fd-secondary: hsl(270, 23%, 20%);
|
|
32
|
-
--color-fd-secondary-foreground: hsl(256, 60%, 90%);
|
|
33
|
-
--color-fd-card: hsl(256, 23%, 10%);
|
|
34
|
-
--color-fd-card-foreground: hsl(256, 60%, 90%);
|
|
35
|
-
--color-fd-popover-foreground: hsl(256, 60%, 90%);
|
|
36
|
-
--color-fd-popover: hsl(256, 23%, 6%);
|
|
37
|
-
--color-fd-primary-foreground: hsl(256, 60%, 6%);
|
|
38
|
-
--color-fd-ring: hsl(270, 100%, 86%);
|
|
39
|
-
}
|
|
1
|
+
@import '@hanzo/docs-ui/css/colors/purple.css';
|
package/dist/ui/css/shadcn.css
CHANGED
|
@@ -1,36 +1 @@
|
|
|
1
|
-
@import '
|
|
2
|
-
|
|
3
|
-
:root,
|
|
4
|
-
.dark {
|
|
5
|
-
--color-fd-background: var(--background);
|
|
6
|
-
--color-fd-foreground: var(--foreground);
|
|
7
|
-
--color-fd-muted: var(--muted);
|
|
8
|
-
--color-fd-muted-foreground: var(--muted-foreground);
|
|
9
|
-
--color-fd-popover: var(--popover);
|
|
10
|
-
--color-fd-popover-foreground: var(--popover-foreground);
|
|
11
|
-
--color-fd-card: var(--card);
|
|
12
|
-
--color-fd-card-foreground: var(--card-foreground);
|
|
13
|
-
--color-fd-border: var(--border);
|
|
14
|
-
--color-fd-primary: var(--primary);
|
|
15
|
-
--color-fd-primary-foreground: var(--primary-foreground);
|
|
16
|
-
--color-fd-secondary: var(--secondary);
|
|
17
|
-
--color-fd-secondary-foreground: var(--secondary-foreground);
|
|
18
|
-
--color-fd-accent: var(--accent);
|
|
19
|
-
--color-fd-accent-foreground: var(--accent-foreground);
|
|
20
|
-
--color-fd-ring: var(--ring);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
#nd-sidebar {
|
|
24
|
-
background-color: var(--sidebar);
|
|
25
|
-
color: var(--sidebar-foreground);
|
|
26
|
-
border-color: var(--sidebar-border);
|
|
27
|
-
|
|
28
|
-
--color-fd-accent: var(--sidebar-accent);
|
|
29
|
-
--color-fd-accent-foreground: var(--sidebar-accent-foreground);
|
|
30
|
-
--color-fd-ring: var(--sidebar-ring);
|
|
31
|
-
--color-fd-primary-foreground: var(--sidebar-primary-foreground);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@theme static {
|
|
35
|
-
--color-fd-error: var(--destructive);
|
|
36
|
-
}
|
|
1
|
+
@import '@hanzo/docs-ui/css/colors/shadcn.css';
|
package/dist/ui/css/solar.css
CHANGED
|
@@ -1,75 +1 @@
|
|
|
1
|
-
@import '
|
|
2
|
-
|
|
3
|
-
@theme {
|
|
4
|
-
--color-fd-primary: oklch(0.487 0.083 262.691);
|
|
5
|
-
--color-fd-article: hsl(0, 0%, 97%);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
:root {
|
|
9
|
-
letter-spacing: -0.25px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.dark {
|
|
13
|
-
--color-fd-primary: oklch(0.902 0.0461 259.51);
|
|
14
|
-
--color-fd-article: hsl(0, 0%, 7.04%);
|
|
15
|
-
--color-fd-background: hsl(0, 0%, 5.04%);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@variant md {
|
|
19
|
-
#nd-docs-layout {
|
|
20
|
-
#nd-page {
|
|
21
|
-
@apply relative md:px-9 xl:px-12;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
#nd-page:before {
|
|
25
|
-
content: '';
|
|
26
|
-
@apply absolute inset-0 bg-fd-article rounded-xl border shadow-xl m-4 mb-2 -z-1;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
[data-toc-popover-trigger],
|
|
30
|
-
[data-toc-popover-content] {
|
|
31
|
-
@apply px-4;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
[data-toc-popover] {
|
|
35
|
-
top: calc(var(--fd-docs-row-1) + 2.5 * var(--spacing));
|
|
36
|
-
@apply mx-4 mt-2.5;
|
|
37
|
-
|
|
38
|
-
header {
|
|
39
|
-
transform-origin: top center;
|
|
40
|
-
@apply border rounded-xl shadow-lg transition-[margin] has-data-[active=true]:-mx-2 has-data-[active=true]:bg-fd-popover/80;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
#nd-notebook-layout {
|
|
46
|
-
#nd-page {
|
|
47
|
-
@apply relative md:px-9 xl:px-12;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
#nd-page:before {
|
|
51
|
-
content: '';
|
|
52
|
-
@apply absolute inset-0 bg-fd-article rounded-xl border shadow-xl m-4 mb-2 -z-1;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
[data-toc-popover-trigger],
|
|
56
|
-
[data-toc-popover-content] {
|
|
57
|
-
@apply px-4;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
[data-toc-popover] {
|
|
61
|
-
top: calc(var(--fd-docs-row-2) + 2.5 * var(--spacing));
|
|
62
|
-
@apply mx-4 mt-2.5;
|
|
63
|
-
|
|
64
|
-
header {
|
|
65
|
-
transform-origin: top center;
|
|
66
|
-
@apply border rounded-xl shadow-lg transition-[margin] has-data-[active=true]:-mx-2 has-data-[active=true]:bg-fd-popover/80;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
#nd-sidebar[data-collapsed='false'] {
|
|
73
|
-
border: none;
|
|
74
|
-
@apply bg-fd-background;
|
|
75
|
-
}
|
|
1
|
+
@import '@hanzo/docs-ui/css/colors/solar.css';
|
|
@@ -1,77 +1 @@
|
|
|
1
|
-
@import '
|
|
2
|
-
|
|
3
|
-
@theme {
|
|
4
|
-
--color-fd-muted: hsl(0, 0%, 96.1%);
|
|
5
|
-
--color-fd-popover: hsl(0, 0%, 100%);
|
|
6
|
-
--color-fd-popover-foreground: hsl(0, 0%, 15.1%);
|
|
7
|
-
--color-fd-card-foreground: hsl(0, 0%, 3.9%);
|
|
8
|
-
--color-fd-border: hsl(0, 0%, 89.8%);
|
|
9
|
-
--color-fd-primary-foreground: hsl(0, 0%, 98%);
|
|
10
|
-
--color-fd-secondary-foreground: hsl(0, 0%, 9%);
|
|
11
|
-
--color-fd-accent: hsl(0, 0%, 94.1%);
|
|
12
|
-
--color-fd-ring: hsl(0, 0%, 63.9%);
|
|
13
|
-
|
|
14
|
-
--color-fd-background: hsl(0, 0%, 100%);
|
|
15
|
-
--color-fd-card: hsl(0, 0%, 100%);
|
|
16
|
-
--color-fd-foreground: hsl(240, 6%, 25%);
|
|
17
|
-
--color-fd-muted-foreground: hsl(240, 6%, 50%);
|
|
18
|
-
--color-fd-secondary: hsl(240, 6%, 97%);
|
|
19
|
-
--color-fd-accent-foreground: hsl(240, 6%, 25%);
|
|
20
|
-
--color-fd-primary: hsl(226, 55%, 45%);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.dark {
|
|
24
|
-
--color-fd-ring: hsl(234, 100%, 83%);
|
|
25
|
-
--color-fd-primary: hsl(234, 100%, 83%);
|
|
26
|
-
--color-fd-secondary-foreground: hsl(60, 100%, 98%);
|
|
27
|
-
--color-fd-card-foreground: hsl(60, 100%, 98%);
|
|
28
|
-
--color-fd-background: hsl(240, 7%, 11%);
|
|
29
|
-
--color-fd-foreground: hsl(60, 100%, 98%);
|
|
30
|
-
--color-fd-popover: hsl(240, 7%, 11%);
|
|
31
|
-
--color-fd-popover-foreground: hsl(60, 100%, 98%);
|
|
32
|
-
--color-fd-primary-foreground: hsl(240, 7%, 11%);
|
|
33
|
-
--color-fd-card: hsl(240, 7%, 11%);
|
|
34
|
-
--color-fd-muted: hsl(0, 0%, 13%);
|
|
35
|
-
--color-fd-border: hsl(240, 4%, 19%);
|
|
36
|
-
--color-fd-accent: hsl(0, 0%, 15%);
|
|
37
|
-
--color-fd-secondary: hsl(240, 4%, 9%);
|
|
38
|
-
--color-fd-accent-foreground: hsl(0, 0%, 100%);
|
|
39
|
-
--color-fd-muted-foreground: hsl(240, 4%, 65%);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.prose {
|
|
43
|
-
--tw-prose-body: color-mix(
|
|
44
|
-
in oklab,
|
|
45
|
-
var(--color-fd-foreground) 85%,
|
|
46
|
-
transparent
|
|
47
|
-
);
|
|
48
|
-
--tw-prose-headings: color-mix(
|
|
49
|
-
in oklab,
|
|
50
|
-
var(--color-fd-foreground) 85%,
|
|
51
|
-
transparent
|
|
52
|
-
);
|
|
53
|
-
--tw-prose-links: var(--color-fd-primary);
|
|
54
|
-
--tw-prose-code: var(--color-fd-primary);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.prose :where(code):not(:where([class~='not-prose'], [class~='not-prose'] *)) {
|
|
58
|
-
border: none;
|
|
59
|
-
background-color: color-mix(
|
|
60
|
-
in oklab,
|
|
61
|
-
var(--color-fd-primary) 10%,
|
|
62
|
-
transparent
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
#nd-sidebar {
|
|
67
|
-
background-color: hsl(240, 6%, 97%);
|
|
68
|
-
border-color: transparent;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.dark #nd-sidebar {
|
|
72
|
-
background-color: hsl(240, 4%, 9%);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
button[data-search-full] {
|
|
76
|
-
background-color: var(--color-fd-background);
|
|
77
|
-
}
|
|
1
|
+
@import '@hanzo/docs-ui/css/colors/vitepress.css';
|
package/dist/ui/i18n.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@hanzo/docs-ui/i18n';
|
|
1
|
+
export * from '@hanzo/docs-base-ui/i18n';
|
package/dist/ui/i18n.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// src/ui/i18n.ts
|
|
2
|
-
export * from "@hanzo/docs-ui/i18n";
|
|
2
|
+
export * from "@hanzo/docs-base-ui/i18n";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@hanzo/docs-ui/layouts/docs/page';
|
|
1
|
+
export * from '@hanzo/docs-base-ui/layouts/docs/page';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// src/ui/layouts/docs/page.ts
|
|
2
|
-
export * from "@hanzo/docs-ui/layouts/docs/page";
|
|
2
|
+
export * from "@hanzo/docs-base-ui/layouts/docs/page";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@hanzo/docs-ui/layouts/docs';
|
|
1
|
+
export * from '@hanzo/docs-base-ui/layouts/docs';
|
package/dist/ui/layouts/docs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// src/ui/layouts/docs.ts
|
|
2
|
-
export * from "@hanzo/docs-ui/layouts/docs";
|
|
2
|
+
export * from "@hanzo/docs-base-ui/layouts/docs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@hanzo/docs-ui/layouts/home/navbar';
|
|
1
|
+
export * from '@hanzo/docs-base-ui/layouts/home/navbar';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// src/ui/layouts/home/navbar.ts
|
|
2
|
-
export * from "@hanzo/docs-ui/layouts/home/navbar";
|
|
2
|
+
export * from "@hanzo/docs-base-ui/layouts/home/navbar";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@hanzo/docs-ui/layouts/home';
|
|
1
|
+
export * from '@hanzo/docs-base-ui/layouts/home';
|
package/dist/ui/layouts/home.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// src/ui/layouts/home.ts
|
|
2
|
-
export * from "@hanzo/docs-ui/layouts/home";
|
|
2
|
+
export * from "@hanzo/docs-base-ui/layouts/home";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@hanzo/docs-ui/layouts/notebook/page';
|
|
1
|
+
export * from '@hanzo/docs-base-ui/layouts/notebook/page';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// src/ui/layouts/notebook/page.ts
|
|
2
|
-
export * from "@hanzo/docs-ui/layouts/notebook/page";
|
|
2
|
+
export * from "@hanzo/docs-base-ui/layouts/notebook/page";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@hanzo/docs-ui/layouts/notebook';
|
|
1
|
+
export * from '@hanzo/docs-base-ui/layouts/notebook';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// src/ui/layouts/notebook.ts
|
|
2
|
-
export * from "@hanzo/docs-ui/layouts/notebook";
|
|
2
|
+
export * from "@hanzo/docs-base-ui/layouts/notebook";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@hanzo/docs-ui/layouts/shared';
|
|
1
|
+
export * from '@hanzo/docs-base-ui/layouts/shared';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// src/ui/layouts/shared.ts
|
|
2
|
-
export * from "@hanzo/docs-ui/layouts/shared";
|
|
2
|
+
export * from "@hanzo/docs-base-ui/layouts/shared";
|
package/dist/ui/mdx.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '@hanzo/docs-ui/mdx';
|
|
2
|
-
export { default } from '@hanzo/docs-ui/mdx';
|
|
1
|
+
export * from '@hanzo/docs-base-ui/mdx';
|
|
2
|
+
export { default } from '@hanzo/docs-base-ui/mdx';
|
package/dist/ui/mdx.js
CHANGED
package/dist/ui/og.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@hanzo/docs-ui/og';
|
|
1
|
+
export * from '@hanzo/docs-base-ui/og';
|