@hanzo/docs-base-ui 16.4.8 → 16.5.3
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/README.md +1 -1
- package/css/aspen.css +39 -1
- package/css/black.css +39 -1
- package/css/catppuccin.css +49 -1
- package/css/dusk.css +47 -1
- package/css/emerald.css +39 -1
- package/css/generated/docs.css +455 -0
- package/css/generated/flux.css +419 -0
- package/css/generated/home.css +201 -0
- package/css/generated/notebook.css +492 -0
- package/css/generated/shared.css +1033 -0
- package/css/lib/base.css +217 -0
- package/css/lib/default-colors.css +51 -0
- package/css/lib/shiki.css +90 -0
- package/css/neutral.css +7 -1
- package/css/ocean.css +44 -1
- package/css/preset.css +6 -7
- package/css/purple.css +39 -1
- package/css/ruby.css +39 -1
- package/css/shadcn.css +36 -1
- package/css/solar.css +75 -1
- package/css/vitepress.css +65 -1
- package/dist/_virtual/_rolldown/runtime.js +18 -0
- package/dist/components/accordion.d.ts +3 -3
- package/dist/components/accordion.d.ts.map +1 -1
- package/dist/components/accordion.js +6 -6
- package/dist/components/accordion.js.map +1 -1
- package/dist/components/banner.d.ts +2 -2
- package/dist/components/banner.d.ts.map +1 -1
- package/dist/components/banner.js +4 -4
- package/dist/components/banner.js.map +1 -1
- package/dist/components/callout.d.ts +5 -5
- package/dist/components/callout.d.ts.map +1 -1
- package/dist/components/callout.js +1 -1
- package/dist/components/callout.js.map +1 -1
- package/dist/components/card.d.ts +3 -3
- package/dist/components/card.d.ts.map +1 -1
- package/dist/components/card.js +2 -2
- package/dist/components/card.js.map +1 -1
- package/dist/components/codeblock.d.ts +7 -7
- package/dist/components/codeblock.d.ts.map +1 -1
- package/dist/components/codeblock.js +7 -7
- package/dist/components/codeblock.js.map +1 -1
- package/dist/components/dialog/search-algolia.d.ts +6 -6
- package/dist/components/dialog/search-algolia.d.ts.map +1 -1
- package/dist/components/dialog/search-algolia.js +7 -7
- package/dist/components/dialog/search-algolia.js.map +1 -1
- package/dist/components/dialog/search-default.d.ts +6 -6
- package/dist/components/dialog/search-default.d.ts.map +1 -1
- package/dist/components/dialog/search-default.js +7 -7
- package/dist/components/dialog/search-default.js.map +1 -1
- package/dist/components/dialog/search-orama.d.ts +6 -6
- package/dist/components/dialog/search-orama.d.ts.map +1 -1
- package/dist/components/dialog/search-orama.js +7 -7
- package/dist/components/dialog/search-orama.js.map +1 -1
- package/dist/components/dialog/search.d.ts +16 -16
- package/dist/components/dialog/search.d.ts.map +1 -1
- package/dist/components/dialog/search.js +19 -27
- package/dist/components/dialog/search.js.map +1 -1
- package/dist/components/dynamic-codeblock.core.d.ts +33 -0
- package/dist/components/dynamic-codeblock.core.d.ts.map +1 -0
- package/dist/components/dynamic-codeblock.core.js +66 -0
- package/dist/components/dynamic-codeblock.core.js.map +1 -0
- package/dist/components/dynamic-codeblock.d.ts +4 -28
- package/dist/components/dynamic-codeblock.d.ts.map +1 -1
- package/dist/components/dynamic-codeblock.js +9 -53
- package/dist/components/dynamic-codeblock.js.map +1 -1
- package/dist/components/files.d.ts.map +1 -1
- package/dist/components/files.js +2 -2
- package/dist/components/files.js.map +1 -1
- package/dist/components/github-info.d.ts +2 -2
- package/dist/components/github-info.d.ts.map +1 -1
- package/dist/components/github-info.js +1 -1
- package/dist/components/github-info.js.map +1 -1
- package/dist/components/heading.d.ts.map +1 -1
- package/dist/components/heading.js +1 -1
- package/dist/components/heading.js.map +1 -1
- package/dist/components/{image-zoom-CtfZieBH.css → image-zoom-DGvp66QF.css} +1 -1
- package/dist/components/{image-zoom-CtfZieBH.css.map → image-zoom-DGvp66QF.css.map} +1 -1
- package/dist/components/image-zoom.d.ts +3 -3
- package/dist/components/image-zoom.d.ts.map +1 -1
- package/dist/components/inline-toc.d.ts +2 -2
- package/dist/components/inline-toc.d.ts.map +1 -1
- package/dist/components/inline-toc.js +1 -1
- package/dist/components/inline-toc.js.map +1 -1
- package/dist/components/sidebar/base.d.ts +16 -16
- package/dist/components/sidebar/base.d.ts.map +1 -1
- package/dist/components/sidebar/base.js +5 -5
- package/dist/components/sidebar/base.js.map +1 -1
- package/dist/components/sidebar/link-item.d.ts +3 -3
- package/dist/components/sidebar/link-item.d.ts.map +1 -1
- package/dist/components/sidebar/link-item.js.map +1 -1
- package/dist/components/sidebar/page-tree.d.ts +2 -2
- package/dist/components/sidebar/page-tree.d.ts.map +1 -1
- package/dist/components/sidebar/page-tree.js +5 -5
- package/dist/components/sidebar/page-tree.js.map +1 -1
- package/dist/components/sidebar/tabs/dropdown.d.ts +3 -3
- package/dist/components/sidebar/tabs/dropdown.d.ts.map +1 -1
- package/dist/components/sidebar/tabs/dropdown.js +19 -19
- package/dist/components/sidebar/tabs/dropdown.js.map +1 -1
- package/dist/components/sidebar/tabs/index.d.ts.map +1 -1
- package/dist/components/steps.d.ts +3 -3
- package/dist/components/steps.d.ts.map +1 -1
- package/dist/components/tabs.d.ts +4 -4
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/components/tabs.js +2 -2
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/toc/clerk.d.ts +12 -1
- package/dist/components/toc/clerk.d.ts.map +1 -0
- package/dist/components/toc/clerk.js +106 -6
- package/dist/components/toc/clerk.js.map +1 -1
- package/dist/components/toc/default.d.ts +12 -1
- package/dist/components/toc/default.d.ts.map +1 -0
- package/dist/components/toc/default.js +34 -6
- package/dist/components/toc/default.js.map +1 -1
- package/dist/components/toc/index.d.ts +26 -1
- package/dist/components/toc/index.d.ts.map +1 -0
- package/dist/components/toc/index.js +76 -6
- package/dist/components/toc/index.js.map +1 -1
- package/dist/components/type-table.d.ts +2 -2
- package/dist/components/type-table.d.ts.map +1 -1
- package/dist/components/type-table.js +7 -7
- package/dist/components/type-table.js.map +1 -1
- package/dist/components/ui/accordion.d.ts +6 -6
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/accordion.js +1 -1
- package/dist/components/ui/accordion.js.map +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/collapsible.d.ts +6 -6
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/collapsible.js +1 -1
- package/dist/components/ui/collapsible.js.map +1 -1
- package/dist/components/ui/navigation-menu.d.ts +7 -7
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.js +2 -2
- package/dist/components/ui/navigation-menu.js.map +1 -1
- package/dist/components/ui/popover.d.ts +3 -3
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/popover.js +2 -2
- package/dist/components/ui/popover.js.map +1 -1
- package/dist/components/ui/scroll-area.d.ts +4 -4
- package/dist/components/ui/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/scroll-area.js +2 -2
- package/dist/components/ui/scroll-area.js.map +1 -1
- package/dist/components/ui/tabs.d.ts +7 -7
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +5 -5
- package/dist/components/ui/tabs.js.map +1 -1
- package/dist/contexts/i18n.d.ts +60 -1
- package/dist/contexts/i18n.d.ts.map +1 -0
- package/dist/contexts/i18n.js +54 -6
- package/dist/contexts/i18n.js.map +1 -1
- package/dist/contexts/search.d.ts +70 -4
- package/dist/contexts/search.d.ts.map +1 -1
- package/dist/contexts/search.js +62 -6
- package/dist/contexts/search.js.map +1 -1
- package/dist/contexts/tree.d.ts +22 -1
- package/dist/contexts/tree.d.ts.map +1 -0
- package/dist/contexts/tree.js +36 -6
- package/dist/contexts/tree.js.map +1 -1
- package/dist/i18n.d.ts +14 -1
- package/dist/i18n.d.ts.map +1 -0
- package/dist/i18n.js +19 -2
- package/dist/i18n.js.map +1 -0
- package/dist/layouts/docs/client.d.ts +7 -7
- package/dist/layouts/docs/client.d.ts.map +1 -1
- package/dist/layouts/docs/client.js +4 -4
- package/dist/layouts/docs/client.js.map +1 -1
- package/dist/layouts/docs/index.d.ts +3 -3
- package/dist/layouts/docs/index.d.ts.map +1 -1
- package/dist/layouts/docs/index.js +11 -11
- package/dist/layouts/docs/index.js.map +1 -1
- package/dist/layouts/docs/page/client.d.ts +7 -7
- package/dist/layouts/docs/page/client.d.ts.map +1 -1
- package/dist/layouts/docs/page/client.js +21 -21
- package/dist/layouts/docs/page/client.js.map +1 -1
- package/dist/layouts/docs/page/index.d.ts +5 -5
- package/dist/layouts/docs/page/index.d.ts.map +1 -1
- package/dist/layouts/docs/page/index.js +13 -13
- package/dist/layouts/docs/page/index.js.map +1 -1
- package/dist/layouts/docs/sidebar.d.ts +20 -19
- package/dist/layouts/docs/sidebar.d.ts.map +1 -1
- package/dist/layouts/docs/sidebar.js +6 -6
- package/dist/layouts/docs/sidebar.js.map +1 -1
- package/dist/layouts/flux/index.d.ts +79 -0
- package/dist/layouts/flux/index.d.ts.map +1 -0
- package/dist/layouts/flux/index.js +168 -0
- package/dist/layouts/flux/index.js.map +1 -0
- package/dist/layouts/flux/page/client.d.ts +45 -0
- package/dist/layouts/flux/page/client.d.ts.map +1 -0
- package/dist/layouts/flux/page/client.js +255 -0
- package/dist/layouts/flux/page/client.js.map +1 -0
- package/dist/layouts/flux/page/index.d.ts +98 -0
- package/dist/layouts/flux/page/index.d.ts.map +1 -0
- package/dist/layouts/flux/page/index.js +76 -0
- package/dist/layouts/flux/page/index.js.map +1 -0
- package/dist/layouts/flux/sidebar.d.ts +59 -0
- package/dist/layouts/flux/sidebar.d.ts.map +1 -0
- package/dist/layouts/flux/sidebar.js +197 -0
- package/dist/layouts/flux/sidebar.js.map +1 -0
- package/dist/layouts/flux/tab-dropdown.d.ts +21 -0
- package/dist/layouts/flux/tab-dropdown.d.ts.map +1 -0
- package/dist/layouts/flux/tab-dropdown.js +96 -0
- package/dist/layouts/flux/tab-dropdown.js.map +1 -0
- package/dist/layouts/home/client.d.ts +3 -3
- package/dist/layouts/home/client.d.ts.map +1 -1
- package/dist/layouts/home/client.js +20 -38
- package/dist/layouts/home/client.js.map +1 -1
- package/dist/layouts/home/index.d.ts +2 -2
- package/dist/layouts/home/index.d.ts.map +1 -1
- package/dist/layouts/home/index.js +1 -1
- package/dist/layouts/home/index.js.map +1 -1
- package/dist/layouts/home/navbar.d.ts +6 -6
- package/dist/layouts/home/navbar.d.ts.map +1 -1
- package/dist/layouts/home/navbar.js +2 -2
- package/dist/layouts/home/navbar.js.map +1 -1
- package/dist/layouts/notebook/client.d.ts +9 -9
- package/dist/layouts/notebook/client.d.ts.map +1 -1
- package/dist/layouts/notebook/client.js +8 -8
- package/dist/layouts/notebook/client.js.map +1 -1
- package/dist/layouts/notebook/index.d.ts +2 -2
- package/dist/layouts/notebook/index.d.ts.map +1 -1
- package/dist/layouts/notebook/index.js +18 -18
- package/dist/layouts/notebook/index.js.map +1 -1
- package/dist/layouts/notebook/page/client.d.ts +7 -7
- package/dist/layouts/notebook/page/client.d.ts.map +1 -1
- package/dist/layouts/notebook/page/client.js +21 -21
- package/dist/layouts/notebook/page/client.js.map +1 -1
- package/dist/layouts/notebook/page/index.d.ts +5 -5
- package/dist/layouts/notebook/page/index.d.ts.map +1 -1
- package/dist/layouts/notebook/page/index.js +13 -13
- package/dist/layouts/notebook/page/index.js.map +1 -1
- package/dist/layouts/notebook/sidebar.d.ts +15 -14
- package/dist/layouts/notebook/sidebar.d.ts.map +1 -1
- package/dist/layouts/notebook/sidebar.js +4 -4
- package/dist/layouts/notebook/sidebar.js.map +1 -1
- package/dist/layouts/shared/index.d.ts +13 -6
- package/dist/layouts/shared/index.d.ts.map +1 -1
- package/dist/layouts/shared/index.js +29 -2
- package/dist/layouts/shared/index.js.map +1 -1
- package/dist/layouts/shared/language-toggle.d.ts +2 -2
- package/dist/layouts/shared/language-toggle.d.ts.map +1 -1
- package/dist/layouts/shared/language-toggle.js +4 -4
- package/dist/layouts/shared/language-toggle.js.map +1 -1
- package/dist/layouts/shared/search-toggle.d.ts +3 -3
- package/dist/layouts/shared/search-toggle.d.ts.map +1 -1
- package/dist/layouts/shared/search-toggle.js +6 -6
- package/dist/layouts/shared/search-toggle.js.map +1 -1
- package/dist/layouts/shared/theme-toggle.d.ts +2 -2
- package/dist/layouts/shared/theme-toggle.d.ts.map +1 -1
- package/dist/layouts/shared/theme-toggle.js +7 -7
- package/dist/layouts/shared/theme-toggle.js.map +1 -1
- package/dist/mdx.d.ts +1 -1
- package/dist/mdx.d.ts.map +1 -1
- package/dist/mdx.js +2 -2
- package/dist/mdx.js.map +1 -1
- package/dist/mdx.server.d.ts +0 -1
- package/dist/mdx.server.d.ts.map +1 -1
- package/dist/og.d.ts +23 -1
- package/dist/og.d.ts.map +1 -0
- package/dist/og.js +69 -2
- package/dist/og.js.map +1 -0
- package/dist/page.d.ts +3 -3
- package/dist/page.d.ts.map +1 -1
- package/dist/page.js +5 -5
- package/dist/page.js.map +1 -1
- package/dist/provider/base.d.ts +4 -4
- package/dist/provider/base.d.ts.map +1 -1
- package/dist/provider/base.js +3 -3
- package/dist/provider/base.js.map +1 -1
- package/dist/provider/next.d.ts +3 -3
- package/dist/provider/next.d.ts.map +1 -1
- package/dist/provider/react-router.d.ts +3 -3
- package/dist/provider/react-router.d.ts.map +1 -1
- package/dist/provider/tanstack.d.ts +3 -3
- package/dist/provider/tanstack.d.ts.map +1 -1
- package/dist/provider/waku.d.ts +3 -3
- package/dist/provider/waku.d.ts.map +1 -1
- package/dist/style.css +187 -56
- package/dist/utils/cn.js +3 -0
- package/dist/utils/link-item.d.ts +86 -0
- package/dist/utils/link-item.d.ts.map +1 -0
- package/dist/utils/link-item.js +25 -0
- package/dist/utils/link-item.js.map +1 -0
- package/dist/utils/merge-refs.js +13 -0
- package/dist/utils/merge-refs.js.map +1 -0
- package/dist/utils/urls.js +17 -0
- package/dist/utils/urls.js.map +1 -0
- package/dist/utils/use-copy-button.d.ts +7 -1
- package/dist/utils/use-copy-button.d.ts.map +1 -0
- package/dist/utils/use-copy-button.js +29 -2
- package/dist/utils/use-copy-button.js.map +1 -0
- package/dist/utils/use-footer-items.d.ts +10 -1
- package/dist/utils/use-footer-items.d.ts.map +1 -0
- package/dist/utils/use-footer-items.js +27 -2
- package/dist/utils/use-footer-items.js.map +1 -0
- package/dist/utils/use-is-scroll-top.d.ts +9 -1
- package/dist/utils/use-is-scroll-top.d.ts.map +1 -0
- package/dist/utils/use-is-scroll-top.js +23 -2
- package/dist/utils/use-is-scroll-top.js.map +1 -0
- package/package.json +28 -17
- package/css/layouts/docs.css +0 -1
- package/css/layouts/home.css +0 -1
- package/css/layouts/notebook.css +0 -1
- package/dist/_virtual/rolldown_runtime.js +0 -36
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RootProvider as RootProvider$1 } from "./base.js";
|
|
2
|
-
import { Framework } from "@hanzo/docs-core/framework";
|
|
3
|
-
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
4
2
|
import { ComponentProps } from "react";
|
|
3
|
+
import { Framework } from "@hanzo/docs-core/framework";
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/provider/react-router.d.ts
|
|
7
7
|
interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
@@ -16,7 +16,7 @@ interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
|
16
16
|
declare function RootProvider({
|
|
17
17
|
components,
|
|
18
18
|
...props
|
|
19
|
-
}: RootProviderProps):
|
|
19
|
+
}: RootProviderProps): react_jsx_runtime0.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { RootProvider, RootProviderProps };
|
|
22
22
|
//# sourceMappingURL=react-router.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-router.d.ts","names":[],"sources":["../../src/provider/react-router.tsx"],"
|
|
1
|
+
{"version":3,"file":"react-router.d.ts","names":[],"sources":["../../src/provider/react-router.tsx"],"mappings":";;;;;;UAMiB,iBAAA,SAA0B,cAAA,QAAsB,cAAA;;;AAAjE;EAIE,UAAA;IACE,IAAA,GAAO,SAAA;IACP,KAAA,GAAQ,SAAA;EAAA;AAAA;AAAA,iBAII,YAAA,CAAA;EAAe,UAAA;EAAA,GAAe;AAAA,GAAS,iBAAA,GAAiB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RootProvider as RootProvider$1 } from "./base.js";
|
|
2
|
-
import { Framework } from "@hanzo/docs-core/framework";
|
|
3
|
-
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
4
2
|
import { ComponentProps } from "react";
|
|
3
|
+
import { Framework } from "@hanzo/docs-core/framework";
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/provider/tanstack.d.ts
|
|
7
7
|
interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
@@ -16,7 +16,7 @@ interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
|
16
16
|
declare function RootProvider({
|
|
17
17
|
components,
|
|
18
18
|
...props
|
|
19
|
-
}: RootProviderProps):
|
|
19
|
+
}: RootProviderProps): react_jsx_runtime0.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { RootProvider, RootProviderProps };
|
|
22
22
|
//# sourceMappingURL=tanstack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tanstack.d.ts","names":[],"sources":["../../src/provider/tanstack.tsx"],"
|
|
1
|
+
{"version":3,"file":"tanstack.d.ts","names":[],"sources":["../../src/provider/tanstack.tsx"],"mappings":";;;;;;UAMiB,iBAAA,SAA0B,cAAA,QAAsB,cAAA;;;AAAjE;EAIE,UAAA;IACE,IAAA,GAAO,SAAA;IACP,KAAA,GAAQ,SAAA;EAAA;AAAA;AAAA,iBAII,YAAA,CAAA;EAAe,UAAA;EAAA,GAAe;AAAA,GAAS,iBAAA,GAAiB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/provider/waku.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RootProvider as RootProvider$1 } from "./base.js";
|
|
2
|
-
import { Framework } from "@hanzo/docs-core/framework";
|
|
3
|
-
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
4
2
|
import { ComponentProps } from "react";
|
|
3
|
+
import { Framework } from "@hanzo/docs-core/framework";
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/provider/waku.d.ts
|
|
7
7
|
interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
@@ -16,7 +16,7 @@ interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
|
16
16
|
declare function RootProvider({
|
|
17
17
|
components,
|
|
18
18
|
...props
|
|
19
|
-
}: RootProviderProps):
|
|
19
|
+
}: RootProviderProps): react_jsx_runtime0.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { RootProvider, RootProviderProps };
|
|
22
22
|
//# sourceMappingURL=waku.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waku.d.ts","names":[],"sources":["../../src/provider/waku.tsx"],"
|
|
1
|
+
{"version":3,"file":"waku.d.ts","names":[],"sources":["../../src/provider/waku.tsx"],"mappings":";;;;;;UAMiB,iBAAA,SAA0B,cAAA,QAAsB,cAAA;;;AAAjE;EAIE,UAAA;IACE,IAAA,GAAO,SAAA;IACP,KAAA,GAAQ,SAAA;EAAA;AAAA;AAAA,iBAII,YAAA,CAAA;EAAe,UAAA;EAAA,GAAe;AAAA,GAAS,iBAAA,GAAiB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/style.css
CHANGED
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
33
33
|
--blur-xs: 4px;
|
|
34
34
|
--blur-sm: 8px;
|
|
35
|
+
--blur-md: 12px;
|
|
35
36
|
--blur-lg: 16px;
|
|
36
37
|
--default-transition-duration: 150ms;
|
|
37
38
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -231,9 +232,6 @@
|
|
|
231
232
|
.invisible {
|
|
232
233
|
visibility: hidden;
|
|
233
234
|
}
|
|
234
|
-
.visible {
|
|
235
|
-
visibility: visible;
|
|
236
|
-
}
|
|
237
235
|
.fd-step {
|
|
238
236
|
&:before {
|
|
239
237
|
background-color: var(--color-fd-secondary);
|
|
@@ -350,6 +348,9 @@
|
|
|
350
348
|
.bottom-1\.5 {
|
|
351
349
|
bottom: calc(var(--spacing) * 1.5);
|
|
352
350
|
}
|
|
351
|
+
.bottom-26 {
|
|
352
|
+
bottom: calc(var(--spacing) * 26);
|
|
353
|
+
}
|
|
353
354
|
.left-1\/2 {
|
|
354
355
|
left: calc(1/2 * 100%);
|
|
355
356
|
}
|
|
@@ -425,6 +426,9 @@
|
|
|
425
426
|
.-ms-1\.5 {
|
|
426
427
|
margin-inline-start: calc(var(--spacing) * -1.5);
|
|
427
428
|
}
|
|
429
|
+
.ms-1 {
|
|
430
|
+
margin-inline-start: calc(var(--spacing) * 1);
|
|
431
|
+
}
|
|
428
432
|
.ms-2 {
|
|
429
433
|
margin-inline-start: calc(var(--spacing) * 2);
|
|
430
434
|
}
|
|
@@ -950,6 +954,12 @@
|
|
|
950
954
|
.h-1\.5 {
|
|
951
955
|
height: calc(var(--spacing) * 1.5);
|
|
952
956
|
}
|
|
957
|
+
.h-8\.5 {
|
|
958
|
+
height: calc(var(--spacing) * 8.5);
|
|
959
|
+
}
|
|
960
|
+
.h-9 {
|
|
961
|
+
height: calc(var(--spacing) * 9);
|
|
962
|
+
}
|
|
953
963
|
.h-9\.5 {
|
|
954
964
|
height: calc(var(--spacing) * 9.5);
|
|
955
965
|
}
|
|
@@ -992,6 +1002,9 @@
|
|
|
992
1002
|
.min-h-0 {
|
|
993
1003
|
min-height: calc(var(--spacing) * 0);
|
|
994
1004
|
}
|
|
1005
|
+
.min-h-11 {
|
|
1006
|
+
min-height: calc(var(--spacing) * 11);
|
|
1007
|
+
}
|
|
995
1008
|
.w-\(--anchor-width\) {
|
|
996
1009
|
width: var(--anchor-width);
|
|
997
1010
|
}
|
|
@@ -1028,6 +1041,9 @@
|
|
|
1028
1041
|
.w-\[calc\(100\%-1rem\)\] {
|
|
1029
1042
|
width: calc(100% - 1rem);
|
|
1030
1043
|
}
|
|
1044
|
+
.w-\[calc\(100\%-var\(--removed-body-scroll-bar-size\,0px\)\)\] {
|
|
1045
|
+
width: calc(100% - var(--removed-body-scroll-bar-size,0px));
|
|
1046
|
+
}
|
|
1031
1047
|
.w-fit {
|
|
1032
1048
|
width: fit-content;
|
|
1033
1049
|
}
|
|
@@ -1073,6 +1089,9 @@
|
|
|
1073
1089
|
.max-w-sm {
|
|
1074
1090
|
max-width: var(--container-sm);
|
|
1075
1091
|
}
|
|
1092
|
+
.max-w-svw {
|
|
1093
|
+
max-width: 100svw;
|
|
1094
|
+
}
|
|
1076
1095
|
.min-w-0 {
|
|
1077
1096
|
min-width: calc(var(--spacing) * 0);
|
|
1078
1097
|
}
|
|
@@ -1106,6 +1125,10 @@
|
|
|
1106
1125
|
--tw-translate-x: calc(var(--spacing) * 2);
|
|
1107
1126
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1108
1127
|
}
|
|
1128
|
+
.translate-x-\[calc\(-50\%-var\(--removed-body-scroll-bar-size\,0px\)\/2\)\] {
|
|
1129
|
+
--tw-translate-x: calc(-50% - var(--removed-body-scroll-bar-size,0px) / 2);
|
|
1130
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1131
|
+
}
|
|
1109
1132
|
.-translate-y-1\/2 {
|
|
1110
1133
|
--tw-translate-y: calc(calc(1/2 * 100%) * -1);
|
|
1111
1134
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -1127,6 +1150,9 @@
|
|
|
1127
1150
|
.transform {
|
|
1128
1151
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
1129
1152
|
}
|
|
1153
|
+
.animate-fd-fade-in {
|
|
1154
|
+
animation: var(--animate-fd-fade-in);
|
|
1155
|
+
}
|
|
1130
1156
|
.animate-pulse {
|
|
1131
1157
|
animation: var(--animate-pulse);
|
|
1132
1158
|
}
|
|
@@ -1248,6 +1274,9 @@
|
|
|
1248
1274
|
.overflow-y-auto {
|
|
1249
1275
|
overflow-y: auto;
|
|
1250
1276
|
}
|
|
1277
|
+
.overflow-y-hidden {
|
|
1278
|
+
overflow-y: hidden;
|
|
1279
|
+
}
|
|
1251
1280
|
.overscroll-contain {
|
|
1252
1281
|
overscroll-behavior: contain;
|
|
1253
1282
|
}
|
|
@@ -1284,6 +1313,10 @@
|
|
|
1284
1313
|
border-style: var(--tw-border-style);
|
|
1285
1314
|
border-width: 1px;
|
|
1286
1315
|
}
|
|
1316
|
+
.border-x {
|
|
1317
|
+
border-inline-style: var(--tw-border-style);
|
|
1318
|
+
border-inline-width: 1px;
|
|
1319
|
+
}
|
|
1287
1320
|
.border-s {
|
|
1288
1321
|
border-inline-start-style: var(--tw-border-style);
|
|
1289
1322
|
border-inline-start-width: 1px;
|
|
@@ -1335,6 +1368,12 @@
|
|
|
1335
1368
|
.bg-fd-background {
|
|
1336
1369
|
background-color: var(--color-fd-background);
|
|
1337
1370
|
}
|
|
1371
|
+
.bg-fd-background\/60 {
|
|
1372
|
+
background-color: color-mix(in srgb, hsl(0, 0%, 96%) 60%, transparent);
|
|
1373
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1374
|
+
background-color: color-mix(in oklab, var(--color-fd-background) 60%, transparent);
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1338
1377
|
.bg-fd-background\/80 {
|
|
1339
1378
|
background-color: color-mix(in srgb, hsl(0, 0%, 96%) 80%, transparent);
|
|
1340
1379
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1368,6 +1407,12 @@
|
|
|
1368
1407
|
background-color: color-mix(in oklab, var(--color-fd-popover) 60%, transparent);
|
|
1369
1408
|
}
|
|
1370
1409
|
}
|
|
1410
|
+
.bg-fd-popover\/80 {
|
|
1411
|
+
background-color: color-mix(in srgb, hsl(0, 0%, 98%) 80%, transparent);
|
|
1412
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1413
|
+
background-color: color-mix(in oklab, var(--color-fd-popover) 80%, transparent);
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1371
1416
|
.bg-fd-primary {
|
|
1372
1417
|
background-color: var(--color-fd-primary);
|
|
1373
1418
|
}
|
|
@@ -1392,6 +1437,9 @@
|
|
|
1392
1437
|
.mask-\[linear-gradient\(to_bottom\,transparent\,white_16px\,white_calc\(100\%-16px\)\,transparent\)\] {
|
|
1393
1438
|
mask-image: linear-gradient(to bottom,transparent,white 16px,white calc(100% - 16px),transparent);
|
|
1394
1439
|
}
|
|
1440
|
+
.mask-\[linear-gradient\(to_bottom\,transparent\,white_calc\(var\(--spacing\)\*14\)\,white_calc\(100\%-var\(--spacing\)\*14\)\,transparent\)\] {
|
|
1441
|
+
mask-image: linear-gradient(to bottom,transparent,white calc(var(--spacing) * 14),white calc(100% - var(--spacing) * 14),transparent);
|
|
1442
|
+
}
|
|
1395
1443
|
.fill-\(--callout-color\) {
|
|
1396
1444
|
fill: var(--callout-color);
|
|
1397
1445
|
}
|
|
@@ -1428,6 +1476,12 @@
|
|
|
1428
1476
|
.p-4 {
|
|
1429
1477
|
padding: calc(var(--spacing) * 4);
|
|
1430
1478
|
}
|
|
1479
|
+
.px-0\.5 {
|
|
1480
|
+
padding-inline: calc(var(--spacing) * 0.5);
|
|
1481
|
+
}
|
|
1482
|
+
.px-1 {
|
|
1483
|
+
padding-inline: calc(var(--spacing) * 1);
|
|
1484
|
+
}
|
|
1431
1485
|
.px-1\.5 {
|
|
1432
1486
|
padding-inline: calc(var(--spacing) * 1.5);
|
|
1433
1487
|
}
|
|
@@ -1446,6 +1500,9 @@
|
|
|
1446
1500
|
.px-6 {
|
|
1447
1501
|
padding-inline: calc(var(--spacing) * 6);
|
|
1448
1502
|
}
|
|
1503
|
+
.py-0 {
|
|
1504
|
+
padding-block: calc(var(--spacing) * 0);
|
|
1505
|
+
}
|
|
1449
1506
|
.py-0\.5 {
|
|
1450
1507
|
padding-block: calc(var(--spacing) * 0.5);
|
|
1451
1508
|
}
|
|
@@ -1470,9 +1527,15 @@
|
|
|
1470
1527
|
.py-6 {
|
|
1471
1528
|
padding-block: calc(var(--spacing) * 6);
|
|
1472
1529
|
}
|
|
1530
|
+
.py-10 {
|
|
1531
|
+
padding-block: calc(var(--spacing) * 10);
|
|
1532
|
+
}
|
|
1473
1533
|
.py-12 {
|
|
1474
1534
|
padding-block: calc(var(--spacing) * 12);
|
|
1475
1535
|
}
|
|
1536
|
+
.py-16 {
|
|
1537
|
+
padding-block: calc(var(--spacing) * 16);
|
|
1538
|
+
}
|
|
1476
1539
|
.ps-1 {
|
|
1477
1540
|
padding-inline-start: calc(var(--spacing) * 1);
|
|
1478
1541
|
}
|
|
@@ -1515,6 +1578,9 @@
|
|
|
1515
1578
|
.pt-12 {
|
|
1516
1579
|
padding-top: calc(var(--spacing) * 12);
|
|
1517
1580
|
}
|
|
1581
|
+
.pr-\(--removed-body-scroll-bar-size\,0\) {
|
|
1582
|
+
padding-right: var(--removed-body-scroll-bar-size,0);
|
|
1583
|
+
}
|
|
1518
1584
|
.pb-1\.5 {
|
|
1519
1585
|
padding-bottom: calc(var(--spacing) * 1.5);
|
|
1520
1586
|
}
|
|
@@ -1524,6 +1590,9 @@
|
|
|
1524
1590
|
.pb-4 {
|
|
1525
1591
|
padding-bottom: calc(var(--spacing) * 4);
|
|
1526
1592
|
}
|
|
1593
|
+
.pb-24 {
|
|
1594
|
+
padding-bottom: calc(var(--spacing) * 24);
|
|
1595
|
+
}
|
|
1527
1596
|
.text-center {
|
|
1528
1597
|
text-align: center;
|
|
1529
1598
|
}
|
|
@@ -1679,6 +1748,11 @@
|
|
|
1679
1748
|
-webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
1680
1749
|
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
1681
1750
|
}
|
|
1751
|
+
.backdrop-blur-md {
|
|
1752
|
+
--tw-backdrop-blur: blur(var(--blur-md));
|
|
1753
|
+
-webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
1754
|
+
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
1755
|
+
}
|
|
1682
1756
|
.backdrop-blur-sm {
|
|
1683
1757
|
--tw-backdrop-blur: blur(var(--blur-sm));
|
|
1684
1758
|
-webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
@@ -1874,6 +1948,16 @@
|
|
|
1874
1948
|
flex-direction: column;
|
|
1875
1949
|
}
|
|
1876
1950
|
}
|
|
1951
|
+
.\*\:rounded-full {
|
|
1952
|
+
:is(& > *) {
|
|
1953
|
+
border-radius: calc(infinity * 1px);
|
|
1954
|
+
}
|
|
1955
|
+
}
|
|
1956
|
+
.\*\:rounded-lg {
|
|
1957
|
+
:is(& > *) {
|
|
1958
|
+
border-radius: var(--radius-lg);
|
|
1959
|
+
}
|
|
1960
|
+
}
|
|
1877
1961
|
.\*\:border-b {
|
|
1878
1962
|
:is(& > *) {
|
|
1879
1963
|
border-bottom-style: var(--tw-border-style);
|
|
@@ -1885,6 +1969,11 @@
|
|
|
1885
1969
|
margin-bottom: calc(var(--spacing) * 2);
|
|
1886
1970
|
}
|
|
1887
1971
|
}
|
|
1972
|
+
.group-data-panel-open\:rotate-180 {
|
|
1973
|
+
&:is(:where(.group)[data-panel-open] *) {
|
|
1974
|
+
rotate: 180deg;
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1888
1977
|
.group-data-\[active\]\:bg-fd-primary {
|
|
1889
1978
|
&:is(:where(.group)[data-active] *) {
|
|
1890
1979
|
background-color: var(--color-fd-primary);
|
|
@@ -1900,11 +1989,6 @@
|
|
|
1900
1989
|
rotate: 90deg;
|
|
1901
1990
|
}
|
|
1902
1991
|
}
|
|
1903
|
-
.group-data-\[panel-open\]\:rotate-180 {
|
|
1904
|
-
&:is(:where(.group)[data-panel-open] *) {
|
|
1905
|
-
rotate: 180deg;
|
|
1906
|
-
}
|
|
1907
|
-
}
|
|
1908
1992
|
.peer-hover\:opacity-100 {
|
|
1909
1993
|
&:is(:where(.peer):hover ~ *) {
|
|
1910
1994
|
@media (hover: hover) {
|
|
@@ -2140,6 +2224,58 @@
|
|
|
2140
2224
|
color: var(--color-fd-accent-foreground);
|
|
2141
2225
|
}
|
|
2142
2226
|
}
|
|
2227
|
+
.data-ending-style\:scale-90 {
|
|
2228
|
+
&[data-ending-style] {
|
|
2229
|
+
--tw-scale-x: 90%;
|
|
2230
|
+
--tw-scale-y: 90%;
|
|
2231
|
+
--tw-scale-z: 90%;
|
|
2232
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
.data-ending-style\:opacity-0 {
|
|
2236
|
+
&[data-ending-style] {
|
|
2237
|
+
opacity: 0%;
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
.data-ending-style\:duration-150 {
|
|
2241
|
+
&[data-ending-style] {
|
|
2242
|
+
--tw-duration: 150ms;
|
|
2243
|
+
transition-duration: 150ms;
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2246
|
+
.data-instant\:transition-none {
|
|
2247
|
+
&[data-instant] {
|
|
2248
|
+
transition-property: none;
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
.data-open\:bg-fd-accent {
|
|
2252
|
+
&[data-open] {
|
|
2253
|
+
background-color: var(--color-fd-accent);
|
|
2254
|
+
}
|
|
2255
|
+
}
|
|
2256
|
+
.data-open\:text-fd-accent-foreground {
|
|
2257
|
+
&[data-open] {
|
|
2258
|
+
color: var(--color-fd-accent-foreground);
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
.data-popup-open\:text-fd-primary {
|
|
2262
|
+
&[data-popup-open] {
|
|
2263
|
+
color: var(--color-fd-primary);
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
.data-starting-style\:scale-90 {
|
|
2267
|
+
&[data-starting-style] {
|
|
2268
|
+
--tw-scale-x: 90%;
|
|
2269
|
+
--tw-scale-y: 90%;
|
|
2270
|
+
--tw-scale-z: 90%;
|
|
2271
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
2272
|
+
}
|
|
2273
|
+
}
|
|
2274
|
+
.data-starting-style\:opacity-0 {
|
|
2275
|
+
&[data-starting-style] {
|
|
2276
|
+
opacity: 0%;
|
|
2277
|
+
}
|
|
2278
|
+
}
|
|
2143
2279
|
.data-\[active\]\:border-fd-primary {
|
|
2144
2280
|
&[data-active] {
|
|
2145
2281
|
border-color: var(--color-fd-primary);
|
|
@@ -2261,25 +2397,11 @@
|
|
|
2261
2397
|
height: calc(var(--spacing) * 0);
|
|
2262
2398
|
}
|
|
2263
2399
|
}
|
|
2264
|
-
.data-\[ending-style\]\:scale-90 {
|
|
2265
|
-
&[data-ending-style] {
|
|
2266
|
-
--tw-scale-x: 90%;
|
|
2267
|
-
--tw-scale-y: 90%;
|
|
2268
|
-
--tw-scale-z: 90%;
|
|
2269
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
2270
|
-
}
|
|
2271
|
-
}
|
|
2272
2400
|
.data-\[ending-style\]\:opacity-0 {
|
|
2273
2401
|
&[data-ending-style] {
|
|
2274
2402
|
opacity: 0%;
|
|
2275
2403
|
}
|
|
2276
2404
|
}
|
|
2277
|
-
.data-\[ending-style\]\:duration-150 {
|
|
2278
|
-
&[data-ending-style] {
|
|
2279
|
-
--tw-duration: 150ms;
|
|
2280
|
-
transition-duration: 150ms;
|
|
2281
|
-
}
|
|
2282
|
-
}
|
|
2283
2405
|
.data-\[ending-style\]\:data-\[activation-direction\=left\]\:translate-x-1\/2 {
|
|
2284
2406
|
&[data-ending-style] {
|
|
2285
2407
|
&[data-activation-direction="left"] {
|
|
@@ -2301,11 +2423,6 @@
|
|
|
2301
2423
|
display: none;
|
|
2302
2424
|
}
|
|
2303
2425
|
}
|
|
2304
|
-
.data-\[instant\]\:transition-none {
|
|
2305
|
-
&[data-instant] {
|
|
2306
|
-
transition-property: none;
|
|
2307
|
-
}
|
|
2308
|
-
}
|
|
2309
2426
|
.data-\[open\]\:animate-fd-dialog-in {
|
|
2310
2427
|
&[data-open] {
|
|
2311
2428
|
animation: var(--animate-fd-dialog-in);
|
|
@@ -2321,34 +2438,11 @@
|
|
|
2321
2438
|
animation: var(--animate-fd-popover-in);
|
|
2322
2439
|
}
|
|
2323
2440
|
}
|
|
2324
|
-
.data-\[open\]\:bg-fd-accent {
|
|
2325
|
-
&[data-open] {
|
|
2326
|
-
background-color: var(--color-fd-accent);
|
|
2327
|
-
}
|
|
2328
|
-
}
|
|
2329
|
-
.data-\[open\]\:text-fd-accent-foreground {
|
|
2330
|
-
&[data-open] {
|
|
2331
|
-
color: var(--color-fd-accent-foreground);
|
|
2332
|
-
}
|
|
2333
|
-
}
|
|
2334
|
-
.data-\[popup-open\]\:text-fd-primary {
|
|
2335
|
-
&[data-popup-open] {
|
|
2336
|
-
color: var(--color-fd-primary);
|
|
2337
|
-
}
|
|
2338
|
-
}
|
|
2339
2441
|
.data-\[starting-style\]\:h-0 {
|
|
2340
2442
|
&[data-starting-style] {
|
|
2341
2443
|
height: calc(var(--spacing) * 0);
|
|
2342
2444
|
}
|
|
2343
2445
|
}
|
|
2344
|
-
.data-\[starting-style\]\:scale-90 {
|
|
2345
|
-
&[data-starting-style] {
|
|
2346
|
-
--tw-scale-x: 90%;
|
|
2347
|
-
--tw-scale-y: 90%;
|
|
2348
|
-
--tw-scale-z: 90%;
|
|
2349
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
2446
|
.data-\[starting-style\]\:opacity-0 {
|
|
2353
2447
|
&[data-starting-style] {
|
|
2354
2448
|
opacity: 0%;
|
|
@@ -2454,11 +2548,42 @@
|
|
|
2454
2548
|
display: none;
|
|
2455
2549
|
}
|
|
2456
2550
|
}
|
|
2551
|
+
.sm\:bottom-6 {
|
|
2552
|
+
@media (width >= 40rem) {
|
|
2553
|
+
bottom: calc(var(--spacing) * 6);
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2457
2556
|
.sm\:hidden {
|
|
2458
2557
|
@media (width >= 40rem) {
|
|
2459
2558
|
display: none;
|
|
2460
2559
|
}
|
|
2461
2560
|
}
|
|
2561
|
+
.sm\:max-w-\[380px\] {
|
|
2562
|
+
@media (width >= 40rem) {
|
|
2563
|
+
max-width: 380px;
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
.sm\:max-w-\[400px\] {
|
|
2567
|
+
@media (width >= 40rem) {
|
|
2568
|
+
max-width: 400px;
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
.sm\:rounded-2xl {
|
|
2572
|
+
@media (width >= 40rem) {
|
|
2573
|
+
border-radius: var(--radius-2xl);
|
|
2574
|
+
}
|
|
2575
|
+
}
|
|
2576
|
+
.sm\:border {
|
|
2577
|
+
@media (width >= 40rem) {
|
|
2578
|
+
border-style: var(--tw-border-style);
|
|
2579
|
+
border-width: 1px;
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
.sm\:p-1 {
|
|
2583
|
+
@media (width >= 40rem) {
|
|
2584
|
+
padding: calc(var(--spacing) * 1);
|
|
2585
|
+
}
|
|
2586
|
+
}
|
|
2462
2587
|
.md\:top-\[calc\(50\%-250px\)\] {
|
|
2463
2588
|
@media (width >= 48rem) {
|
|
2464
2589
|
top: calc(50% - 250px);
|
|
@@ -2527,6 +2652,12 @@
|
|
|
2527
2652
|
align-items: center;
|
|
2528
2653
|
}
|
|
2529
2654
|
}
|
|
2655
|
+
.lg\:text-sm {
|
|
2656
|
+
@media (width >= 64rem) {
|
|
2657
|
+
font-size: var(--text-sm);
|
|
2658
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
2659
|
+
}
|
|
2660
|
+
}
|
|
2530
2661
|
.xl\:hidden {
|
|
2531
2662
|
@media (width >= 80rem) {
|
|
2532
2663
|
display: none;
|
|
@@ -2581,41 +2712,41 @@
|
|
|
2581
2712
|
}
|
|
2582
2713
|
}
|
|
2583
2714
|
.layout\:\[--fd-header-height\:--spacing\(14\)\] {
|
|
2584
|
-
#nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {
|
|
2715
|
+
#nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&), #nd-flux-layout:has(&) {
|
|
2585
2716
|
--fd-header-height: calc(var(--spacing) * 14);
|
|
2586
2717
|
}
|
|
2587
2718
|
}
|
|
2588
2719
|
.max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\] {
|
|
2589
2720
|
@media (width < 80rem) {
|
|
2590
|
-
#nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {
|
|
2721
|
+
#nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&), #nd-flux-layout:has(&) {
|
|
2591
2722
|
--fd-toc-popover-height: calc(var(--spacing) * 10);
|
|
2592
2723
|
}
|
|
2593
2724
|
}
|
|
2594
2725
|
}
|
|
2595
2726
|
.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\] {
|
|
2596
2727
|
@media (width < 48rem) {
|
|
2597
|
-
#nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {
|
|
2728
|
+
#nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&), #nd-flux-layout:has(&) {
|
|
2598
2729
|
--fd-header-height: calc(var(--spacing) * 14);
|
|
2599
2730
|
}
|
|
2600
2731
|
}
|
|
2601
2732
|
}
|
|
2602
2733
|
.md\:layout\:\[--fd-sidebar-width\:268px\] {
|
|
2603
2734
|
@media (width >= 48rem) {
|
|
2604
|
-
#nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {
|
|
2735
|
+
#nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&), #nd-flux-layout:has(&) {
|
|
2605
2736
|
--fd-sidebar-width: 268px;
|
|
2606
2737
|
}
|
|
2607
2738
|
}
|
|
2608
2739
|
}
|
|
2609
2740
|
.lg\:layout\:\[--fd-header-height\:--spacing\(24\)\] {
|
|
2610
2741
|
@media (width >= 64rem) {
|
|
2611
|
-
#nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {
|
|
2742
|
+
#nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&), #nd-flux-layout:has(&) {
|
|
2612
2743
|
--fd-header-height: calc(var(--spacing) * 24);
|
|
2613
2744
|
}
|
|
2614
2745
|
}
|
|
2615
2746
|
}
|
|
2616
2747
|
.xl\:layout\:\[--fd-toc-width\:268px\] {
|
|
2617
2748
|
@media (width >= 80rem) {
|
|
2618
|
-
#nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&) {
|
|
2749
|
+
#nd-docs-layout:has(&), #nd-notebook-layout:has(&), #nd-home-layout:has(&), #nd-flux-layout:has(&) {
|
|
2619
2750
|
--fd-toc-width: 268px;
|
|
2620
2751
|
}
|
|
2621
2752
|
}
|
package/dist/utils/cn.js
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/utils/link-item.d.ts
|
|
5
|
+
interface Filterable {
|
|
6
|
+
/**
|
|
7
|
+
* Restrict where the item is displayed
|
|
8
|
+
*
|
|
9
|
+
* @defaultValue 'all'
|
|
10
|
+
*/
|
|
11
|
+
on?: 'menu' | 'nav' | 'all';
|
|
12
|
+
}
|
|
13
|
+
interface WithHref {
|
|
14
|
+
url: string;
|
|
15
|
+
/**
|
|
16
|
+
* When the item is marked as active
|
|
17
|
+
*
|
|
18
|
+
* @defaultValue 'url'
|
|
19
|
+
*/
|
|
20
|
+
active?: 'url' | 'nested-url' | 'none';
|
|
21
|
+
external?: boolean;
|
|
22
|
+
}
|
|
23
|
+
interface MainItemType extends WithHref, Filterable {
|
|
24
|
+
type?: 'main';
|
|
25
|
+
icon?: ReactNode;
|
|
26
|
+
text: ReactNode;
|
|
27
|
+
description?: ReactNode;
|
|
28
|
+
}
|
|
29
|
+
interface IconItemType extends WithHref, Filterable {
|
|
30
|
+
type: 'icon';
|
|
31
|
+
/**
|
|
32
|
+
* `aria-label` of icon button
|
|
33
|
+
*/
|
|
34
|
+
label?: string;
|
|
35
|
+
icon: ReactNode;
|
|
36
|
+
text: ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* @defaultValue true
|
|
39
|
+
*/
|
|
40
|
+
secondary?: boolean;
|
|
41
|
+
}
|
|
42
|
+
interface ButtonItemType extends WithHref, Filterable {
|
|
43
|
+
type: 'button';
|
|
44
|
+
icon?: ReactNode;
|
|
45
|
+
text: ReactNode;
|
|
46
|
+
/**
|
|
47
|
+
* @defaultValue false
|
|
48
|
+
*/
|
|
49
|
+
secondary?: boolean;
|
|
50
|
+
}
|
|
51
|
+
interface MenuItemType extends Partial<WithHref>, Filterable {
|
|
52
|
+
type: 'menu';
|
|
53
|
+
icon?: ReactNode;
|
|
54
|
+
text: ReactNode;
|
|
55
|
+
items: ((MainItemType & {
|
|
56
|
+
/**
|
|
57
|
+
* Options when displayed on navigation menu
|
|
58
|
+
*/
|
|
59
|
+
menu?: ComponentProps<'a'> & {
|
|
60
|
+
banner?: ReactNode;
|
|
61
|
+
};
|
|
62
|
+
}) | CustomItemType)[];
|
|
63
|
+
/**
|
|
64
|
+
* @defaultValue false
|
|
65
|
+
*/
|
|
66
|
+
secondary?: boolean;
|
|
67
|
+
}
|
|
68
|
+
interface CustomItemType extends Filterable {
|
|
69
|
+
type: 'custom';
|
|
70
|
+
/**
|
|
71
|
+
* @defaultValue false
|
|
72
|
+
*/
|
|
73
|
+
secondary?: boolean;
|
|
74
|
+
children: ReactNode;
|
|
75
|
+
}
|
|
76
|
+
type LinkItemType = MainItemType | IconItemType | ButtonItemType | MenuItemType | CustomItemType;
|
|
77
|
+
declare function LinkItem({
|
|
78
|
+
ref,
|
|
79
|
+
item,
|
|
80
|
+
...props
|
|
81
|
+
}: Omit<ComponentProps<'a'>, 'href'> & {
|
|
82
|
+
item: WithHref;
|
|
83
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
84
|
+
//#endregion
|
|
85
|
+
export { ButtonItemType, CustomItemType, IconItemType, LinkItem, LinkItemType, MainItemType, MenuItemType };
|
|
86
|
+
//# sourceMappingURL=link-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link-item.d.ts","names":[],"sources":["../../src/utils/link-item.tsx"],"mappings":";;;;UAMU,UAAA;;;AAL6C;;;EAWrD,EAAA;AAAA;AAAA,UAGQ,QAAA;EACR,GAAA;;;;;;EAMA,MAAA;EACA,QAAA;AAAA;AAAA,UAGe,YAAA,SAAqB,QAAA,EAAU,UAAA;EAC9C,IAAA;EACA,IAAA,GAAO,SAAA;EACP,IAAA,EAAM,SAAA;EACN,WAAA,GAAc,SAAA;AAAA;AAAA,UAGC,YAAA,SAAqB,QAAA,EAAU,UAAA;EAC9C,IAAA;EARwD;;;EAYxD,KAAA;EACA,IAAA,EAAM,SAAA;EACN,IAAA,EAAM,SAAA;EAXN;;;EAeA,SAAA;AAAA;AAAA,UAGe,cAAA,SAAuB,QAAA,EAAU,UAAA;EAChD,IAAA;EACA,IAAA,GAAO,SAAA;EACP,IAAA,EAAM,SAAA;EAXA;;;EAeN,SAAA;AAAA;AAAA,UAGe,YAAA,SAAqB,OAAA,CAAQ,QAAA,GAAW,UAAA;EACvD,IAAA;EACA,IAAA,GAAO,SAAA;EACP,IAAA,EAAM,SAAA;EAEN,KAAA,IACK,YAAA;IAxBL;;;IA4BM,IAAA,GAAO,cAAA;MACL,MAAA,GAAS,SAAA;IAAA;EAAA,KAGb,cAAA;EAxBW;;;EA8Bf,SAAA;AAAA;AAAA,UAGe,cAAA,SAAuB,UAAA;EACtC,IAAA;EAlC0D;;;EAsC1D,SAAA;EACA,QAAA,EAAU,SAAA;AAAA;AAAA,KAGA,YAAA,GACR,YAAA,GACA,YAAA,GACA,cAAA,GACA,YAAA,GACA,cAAA;AAAA,iBAEY,QAAA,CAAA;EACd,GAAA;EACA,IAAA;EAAA,GACG;AAAA,GACF,IAAA,CAAK,cAAA;EAAiC,IAAA,EAAM,QAAA;AAAA,IAAU,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { isActive } from "./urls.js";
|
|
4
|
+
import { usePathname } from "@hanzo/docs-core/framework";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import Link from "@hanzo/docs-core/link";
|
|
7
|
+
|
|
8
|
+
//#region src/utils/link-item.tsx
|
|
9
|
+
function LinkItem({ ref, item, ...props }) {
|
|
10
|
+
const pathname = usePathname();
|
|
11
|
+
const activeType = item.active ?? "url";
|
|
12
|
+
const active = activeType !== "none" && isActive(item.url, pathname, activeType === "nested-url");
|
|
13
|
+
return /* @__PURE__ */ jsx(Link, {
|
|
14
|
+
ref,
|
|
15
|
+
href: item.url,
|
|
16
|
+
external: item.external,
|
|
17
|
+
...props,
|
|
18
|
+
"data-active": active,
|
|
19
|
+
children: props.children
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { LinkItem };
|
|
25
|
+
//# sourceMappingURL=link-item.js.map
|