@hanzo/docs 16.2.6
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 +249 -0
- package/CHANGELOG.md +12 -0
- package/LICENSE +21 -0
- package/dist/cli/build.d.ts +117 -0
- package/dist/cli/build.js +2 -0
- package/dist/content-collections/index.d.ts +1 -0
- package/dist/content-collections/index.js +2 -0
- package/dist/core/breadcrumb.d.ts +1 -0
- package/dist/core/breadcrumb.js +2 -0
- package/dist/core/content/github.d.ts +1 -0
- package/dist/core/content/github.js +2 -0
- package/dist/core/content/index.d.ts +1 -0
- package/dist/core/content/index.js +2 -0
- package/dist/core/content/toc.d.ts +1 -0
- package/dist/core/content/toc.js +2 -0
- package/dist/core/dynamic-link.d.ts +1 -0
- package/dist/core/dynamic-link.js +2 -0
- package/dist/core/framework/index.d.ts +1 -0
- package/dist/core/framework/index.js +2 -0
- package/dist/core/framework/next.d.ts +1 -0
- package/dist/core/framework/next.js +2 -0
- package/dist/core/framework/react-router.d.ts +1 -0
- package/dist/core/framework/react-router.js +2 -0
- package/dist/core/framework/tanstack.d.ts +1 -0
- package/dist/core/framework/tanstack.js +2 -0
- package/dist/core/framework/waku.d.ts +1 -0
- package/dist/core/framework/waku.js +2 -0
- package/dist/core/highlight/client.d.ts +1 -0
- package/dist/core/highlight/client.js +2 -0
- package/dist/core/highlight/index.d.ts +1 -0
- package/dist/core/highlight/index.js +2 -0
- package/dist/core/i18n/index.d.ts +1 -0
- package/dist/core/i18n/index.js +2 -0
- package/dist/core/i18n/middleware.d.ts +1 -0
- package/dist/core/i18n/middleware.js +2 -0
- package/dist/core/link.d.ts +2 -0
- package/dist/core/link.js +6 -0
- package/dist/core/mdx-plugins/codeblock-utils.d.ts +1 -0
- package/dist/core/mdx-plugins/codeblock-utils.js +2 -0
- package/dist/core/mdx-plugins/index.d.ts +1 -0
- package/dist/core/mdx-plugins/index.js +2 -0
- package/dist/core/mdx-plugins/rehype-code.d.ts +1 -0
- package/dist/core/mdx-plugins/rehype-code.js +2 -0
- package/dist/core/mdx-plugins/remark-gfm.d.ts +1 -0
- package/dist/core/mdx-plugins/remark-gfm.js +2 -0
- package/dist/core/mdx-plugins/remark-steps.d.ts +1 -0
- package/dist/core/mdx-plugins/remark-steps.js +2 -0
- package/dist/core/mdx-plugins/remark-structure.d.ts +1 -0
- package/dist/core/mdx-plugins/remark-structure.js +2 -0
- package/dist/core/negotiation.d.ts +1 -0
- package/dist/core/negotiation.js +2 -0
- package/dist/core/page-tree.d.ts +1 -0
- package/dist/core/page-tree.js +2 -0
- package/dist/core/search/algolia.d.ts +1 -0
- package/dist/core/search/algolia.js +2 -0
- package/dist/core/search/client.d.ts +1 -0
- package/dist/core/search/client.js +2 -0
- package/dist/core/search/index.d.ts +1 -0
- package/dist/core/search/index.js +2 -0
- package/dist/core/search/orama-cloud.d.ts +1 -0
- package/dist/core/search/orama-cloud.js +2 -0
- package/dist/core/search/server.d.ts +1 -0
- package/dist/core/search/server.js +2 -0
- package/dist/core/source/client.d.ts +1 -0
- package/dist/core/source/client.js +2 -0
- package/dist/core/source/index.d.ts +1 -0
- package/dist/core/source/index.js +2 -0
- package/dist/core/source/lucide-icons.d.ts +1 -0
- package/dist/core/source/lucide-icons.js +2 -0
- package/dist/core/source/schema.d.ts +1 -0
- package/dist/core/source/schema.js +2 -0
- package/dist/core/toc.d.ts +1 -0
- package/dist/core/toc.js +2 -0
- package/dist/docgen/index.d.ts +1 -0
- package/dist/docgen/index.js +2 -0
- package/dist/docgen/remark-ts2js.d.ts +1 -0
- package/dist/docgen/remark-ts2js.js +2 -0
- package/dist/mdx/bun.d.ts +1 -0
- package/dist/mdx/bun.js +2 -0
- package/dist/mdx/config.d.ts +1 -0
- package/dist/mdx/config.js +2 -0
- package/dist/mdx/index.d.ts +1 -0
- package/dist/mdx/index.js +2 -0
- package/dist/mdx/next.d.ts +1 -0
- package/dist/mdx/next.js +2 -0
- package/dist/mdx/plugins/index-file.d.ts +1 -0
- package/dist/mdx/plugins/index-file.js +2 -0
- package/dist/mdx/plugins/json-schema.d.ts +2 -0
- package/dist/mdx/plugins/json-schema.js +6 -0
- package/dist/mdx/plugins/last-modified.d.ts +2 -0
- package/dist/mdx/plugins/last-modified.js +6 -0
- package/dist/mdx/runtime/browser.d.ts +1 -0
- package/dist/mdx/runtime/browser.js +2 -0
- package/dist/mdx/runtime/dynamic.d.ts +1 -0
- package/dist/mdx/runtime/dynamic.js +2 -0
- package/dist/mdx/runtime/server.d.ts +1 -0
- package/dist/mdx/runtime/server.js +2 -0
- package/dist/mdx/runtime/types.d.ts +1 -0
- package/dist/mdx/runtime/types.js +2 -0
- package/dist/mdx/vite.d.ts +2 -0
- package/dist/mdx/vite.js +6 -0
- package/dist/mdx-remote/client.d.ts +1 -0
- package/dist/mdx-remote/client.js +2 -0
- package/dist/mdx-remote/index.d.ts +1 -0
- package/dist/mdx-remote/index.js +2 -0
- package/dist/obsidian/index.d.ts +1 -0
- package/dist/obsidian/index.js +2 -0
- package/dist/obsidian/mdx.d.ts +1 -0
- package/dist/obsidian/mdx.js +2 -0
- package/dist/obsidian/ui.d.ts +1 -0
- package/dist/obsidian/ui.js +2 -0
- package/dist/openapi/css/preset.css +1 -0
- package/dist/openapi/index.d.ts +1 -0
- package/dist/openapi/index.js +2 -0
- package/dist/openapi/server.d.ts +1 -0
- package/dist/openapi/server.js +2 -0
- package/dist/openapi/ui.d.ts +1 -0
- package/dist/openapi/ui.js +2 -0
- package/dist/press/index.d.ts +1 -0
- package/dist/press/index.js +2 -0
- package/dist/press/vite.d.ts +1 -0
- package/dist/press/vite.js +2 -0
- package/dist/python/components.d.ts +1 -0
- package/dist/python/components.js +2 -0
- package/dist/python/index.d.ts +1 -0
- package/dist/python/index.js +2 -0
- package/dist/twoslash/cache-fs.d.ts +1 -0
- package/dist/twoslash/cache-fs.js +2 -0
- package/dist/twoslash/index.d.ts +1 -0
- package/dist/twoslash/index.js +2 -0
- package/dist/twoslash/twoslash.css +225 -0
- package/dist/twoslash/ui.d.ts +1 -0
- package/dist/twoslash/ui.js +2 -0
- package/dist/typescript/index.d.ts +1 -0
- package/dist/typescript/index.js +2 -0
- package/dist/typescript/ui.d.ts +1 -0
- package/dist/typescript/ui.js +2 -0
- package/dist/ui/components/accordion.d.ts +1 -0
- package/dist/ui/components/accordion.js +2 -0
- package/dist/ui/components/banner.d.ts +1 -0
- package/dist/ui/components/banner.js +2 -0
- package/dist/ui/components/callout.d.ts +1 -0
- package/dist/ui/components/callout.js +2 -0
- package/dist/ui/components/card.d.ts +1 -0
- package/dist/ui/components/card.js +2 -0
- package/dist/ui/components/codeblock.d.ts +1 -0
- package/dist/ui/components/codeblock.js +2 -0
- package/dist/ui/components/dialog/search-algolia.d.ts +1 -0
- package/dist/ui/components/dialog/search-algolia.js +2 -0
- package/dist/ui/components/dialog/search-default.d.ts +1 -0
- package/dist/ui/components/dialog/search-default.js +2 -0
- package/dist/ui/components/dialog/search-orama.d.ts +1 -0
- package/dist/ui/components/dialog/search-orama.js +2 -0
- package/dist/ui/components/dialog/search.d.ts +1 -0
- package/dist/ui/components/dialog/search.js +2 -0
- package/dist/ui/components/dynamic-codeblock.d.ts +1 -0
- package/dist/ui/components/dynamic-codeblock.js +2 -0
- package/dist/ui/components/files.d.ts +1 -0
- package/dist/ui/components/files.js +2 -0
- package/dist/ui/components/github-info.d.ts +1 -0
- package/dist/ui/components/github-info.js +2 -0
- package/dist/ui/components/heading.d.ts +1 -0
- package/dist/ui/components/heading.js +2 -0
- package/dist/ui/components/image-zoom.d.ts +1 -0
- package/dist/ui/components/image-zoom.js +2 -0
- package/dist/ui/components/inline-toc.d.ts +1 -0
- package/dist/ui/components/inline-toc.js +2 -0
- package/dist/ui/components/sidebar/base.d.ts +1 -0
- package/dist/ui/components/sidebar/base.js +2 -0
- package/dist/ui/components/sidebar/link-item.d.ts +1 -0
- package/dist/ui/components/sidebar/link-item.js +2 -0
- package/dist/ui/components/sidebar/page-tree.d.ts +1 -0
- package/dist/ui/components/sidebar/page-tree.js +2 -0
- package/dist/ui/components/steps.d.ts +1 -0
- package/dist/ui/components/steps.js +2 -0
- package/dist/ui/components/tabs.d.ts +1 -0
- package/dist/ui/components/tabs.js +2 -0
- package/dist/ui/components/tabs.unstyled.d.ts +1 -0
- package/dist/ui/components/tabs.unstyled.js +2 -0
- package/dist/ui/components/toc/clerk.d.ts +1 -0
- package/dist/ui/components/toc/clerk.js +2 -0
- package/dist/ui/components/toc/default.d.ts +1 -0
- package/dist/ui/components/toc/default.js +2 -0
- package/dist/ui/components/toc/index.d.ts +1 -0
- package/dist/ui/components/toc/index.js +2 -0
- package/dist/ui/components/type-table.d.ts +1 -0
- package/dist/ui/components/type-table.js +2 -0
- package/dist/ui/components/ui/accordion.d.ts +1 -0
- package/dist/ui/components/ui/accordion.js +2 -0
- package/dist/ui/components/ui/button.d.ts +1 -0
- package/dist/ui/components/ui/button.js +2 -0
- package/dist/ui/components/ui/collapsible.d.ts +1 -0
- package/dist/ui/components/ui/collapsible.js +2 -0
- package/dist/ui/components/ui/navigation-menu.d.ts +1 -0
- package/dist/ui/components/ui/navigation-menu.js +2 -0
- package/dist/ui/components/ui/popover.d.ts +1 -0
- package/dist/ui/components/ui/popover.js +2 -0
- package/dist/ui/components/ui/scroll-area.d.ts +1 -0
- package/dist/ui/components/ui/scroll-area.js +2 -0
- package/dist/ui/components/ui/tabs.d.ts +1 -0
- package/dist/ui/components/ui/tabs.js +2 -0
- package/dist/ui/contexts/i18n.d.ts +1 -0
- package/dist/ui/contexts/i18n.js +2 -0
- package/dist/ui/contexts/tree.d.ts +1 -0
- package/dist/ui/contexts/tree.js +2 -0
- package/dist/ui/css/black.css +39 -0
- package/dist/ui/css/catppuccin.css +49 -0
- package/dist/ui/css/colors/index.css +51 -0
- package/dist/ui/css/dusk.css +47 -0
- package/dist/ui/css/layouts/docs.css +1 -0
- package/dist/ui/css/layouts/home.css +1 -0
- package/dist/ui/css/layouts/notebook.css +1 -0
- package/dist/ui/css/neutral.css +7 -0
- package/dist/ui/css/ocean.css +48 -0
- package/dist/ui/css/preset.css +305 -0
- package/dist/ui/css/purple.css +39 -0
- package/dist/ui/css/shadcn.css +36 -0
- package/dist/ui/css/shiki.css +90 -0
- package/dist/ui/css/solar.css +75 -0
- package/dist/ui/css/style.css +9 -0
- package/dist/ui/css/vitepress.css +77 -0
- package/dist/ui/dist/theme/typography/index.d.ts +10 -0
- package/dist/ui/dist/theme/typography/index.d.ts.map +1 -0
- package/dist/ui/dist/theme/typography/index.js +137 -0
- package/dist/ui/dist/theme/typography/styles.d.ts +93 -0
- package/dist/ui/dist/theme/typography/styles.d.ts.map +1 -0
- package/dist/ui/dist/theme/typography/styles.js +433 -0
- package/dist/ui/i18n.d.ts +1 -0
- package/dist/ui/i18n.js +2 -0
- package/dist/ui/image-zoom.css +77 -0
- package/dist/ui/layouts/docs/page.d.ts +1 -0
- package/dist/ui/layouts/docs/page.js +2 -0
- package/dist/ui/layouts/docs.d.ts +1 -0
- package/dist/ui/layouts/docs.js +2 -0
- package/dist/ui/layouts/home/navbar.d.ts +1 -0
- package/dist/ui/layouts/home/navbar.js +2 -0
- package/dist/ui/layouts/home.d.ts +1 -0
- package/dist/ui/layouts/home.js +2 -0
- package/dist/ui/layouts/notebook/page.d.ts +1 -0
- package/dist/ui/layouts/notebook/page.js +2 -0
- package/dist/ui/layouts/notebook.d.ts +1 -0
- package/dist/ui/layouts/notebook.js +2 -0
- package/dist/ui/layouts/shared.d.ts +1 -0
- package/dist/ui/layouts/shared.js +2 -0
- package/dist/ui/mdx.d.ts +2 -0
- package/dist/ui/mdx.js +6 -0
- package/dist/ui/og.d.ts +1 -0
- package/dist/ui/og.js +2 -0
- package/dist/ui/page.d.ts +1 -0
- package/dist/ui/page.js +2 -0
- package/dist/ui/provider/base.d.ts +1 -0
- package/dist/ui/provider/base.js +2 -0
- package/dist/ui/provider/next.d.ts +1 -0
- package/dist/ui/provider/next.js +2 -0
- package/dist/ui/provider/react-router.d.ts +1 -0
- package/dist/ui/provider/react-router.js +2 -0
- package/dist/ui/provider/tanstack.d.ts +1 -0
- package/dist/ui/provider/tanstack.js +2 -0
- package/dist/ui/provider/waku.d.ts +1 -0
- package/dist/ui/provider/waku.js +2 -0
- package/dist/ui/style.css +3306 -0
- package/dist/ui/utils/use-copy-button.d.ts +1 -0
- package/dist/ui/utils/use-copy-button.js +2 -0
- package/package.json +146 -0
- package/scripts/copy-css.js +57 -0
- package/scripts/generate-exports.ts +2 -0
- package/src/cli/build.ts +1 -0
- package/src/content-collections/index.ts +1 -0
- package/src/core/breadcrumb.ts +1 -0
- package/src/core/content/github.ts +1 -0
- package/src/core/content/index.ts +1 -0
- package/src/core/content/toc.ts +1 -0
- package/src/core/dynamic-link.ts +1 -0
- package/src/core/framework/index.ts +1 -0
- package/src/core/framework/next.ts +1 -0
- package/src/core/framework/react-router.ts +1 -0
- package/src/core/framework/tanstack.ts +1 -0
- package/src/core/framework/waku.ts +1 -0
- package/src/core/highlight/client.ts +1 -0
- package/src/core/highlight/index.ts +1 -0
- package/src/core/i18n/index.ts +1 -0
- package/src/core/i18n/middleware.ts +1 -0
- package/src/core/link.ts +2 -0
- package/src/core/mdx-plugins/codeblock-utils.ts +1 -0
- package/src/core/mdx-plugins/index.ts +1 -0
- package/src/core/mdx-plugins/rehype-code.ts +1 -0
- package/src/core/mdx-plugins/remark-gfm.ts +1 -0
- package/src/core/mdx-plugins/remark-steps.ts +1 -0
- package/src/core/mdx-plugins/remark-structure.ts +1 -0
- package/src/core/negotiation.ts +1 -0
- package/src/core/page-tree.ts +1 -0
- package/src/core/search/algolia.ts +1 -0
- package/src/core/search/client.ts +1 -0
- package/src/core/search/index.ts +1 -0
- package/src/core/search/orama-cloud.ts +1 -0
- package/src/core/search/server.ts +1 -0
- package/src/core/source/client.ts +1 -0
- package/src/core/source/index.ts +1 -0
- package/src/core/source/lucide-icons.ts +1 -0
- package/src/core/source/schema.ts +1 -0
- package/src/core/toc.ts +1 -0
- package/src/docgen/index.ts +1 -0
- package/src/docgen/remark-ts2js.ts +1 -0
- package/src/mdx/bun.ts +1 -0
- package/src/mdx/config.ts +1 -0
- package/src/mdx/index.ts +1 -0
- package/src/mdx/next.ts +1 -0
- package/src/mdx/plugins/index-file.ts +1 -0
- package/src/mdx/plugins/json-schema.ts +2 -0
- package/src/mdx/plugins/last-modified.ts +2 -0
- package/src/mdx/runtime/browser.ts +1 -0
- package/src/mdx/runtime/dynamic.ts +1 -0
- package/src/mdx/runtime/server.ts +1 -0
- package/src/mdx/runtime/types.ts +1 -0
- package/src/mdx/vite.ts +2 -0
- package/src/mdx-remote/client.ts +1 -0
- package/src/mdx-remote/index.ts +1 -0
- package/src/obsidian/index.ts +1 -0
- package/src/obsidian/mdx.ts +1 -0
- package/src/obsidian/ui.ts +1 -0
- package/src/openapi/index.ts +1 -0
- package/src/openapi/server.ts +1 -0
- package/src/openapi/ui.ts +1 -0
- package/src/press/index.ts +1 -0
- package/src/press/vite.ts +1 -0
- package/src/python/components.ts +1 -0
- package/src/python/index.ts +1 -0
- package/src/twoslash/cache-fs.ts +1 -0
- package/src/twoslash/index.ts +1 -0
- package/src/twoslash/ui.ts +1 -0
- package/src/typescript/index.ts +1 -0
- package/src/typescript/ui.ts +1 -0
- package/src/ui/components/accordion.ts +1 -0
- package/src/ui/components/banner.ts +1 -0
- package/src/ui/components/callout.ts +1 -0
- package/src/ui/components/card.ts +1 -0
- package/src/ui/components/codeblock.ts +1 -0
- package/src/ui/components/dialog/search-algolia.ts +1 -0
- package/src/ui/components/dialog/search-default.ts +1 -0
- package/src/ui/components/dialog/search-orama.ts +1 -0
- package/src/ui/components/dialog/search.ts +1 -0
- package/src/ui/components/dynamic-codeblock.ts +1 -0
- package/src/ui/components/files.ts +1 -0
- package/src/ui/components/github-info.ts +1 -0
- package/src/ui/components/heading.ts +1 -0
- package/src/ui/components/image-zoom.ts +1 -0
- package/src/ui/components/inline-toc.ts +1 -0
- package/src/ui/components/sidebar/base.ts +1 -0
- package/src/ui/components/sidebar/link-item.ts +1 -0
- package/src/ui/components/sidebar/page-tree.ts +1 -0
- package/src/ui/components/steps.ts +1 -0
- package/src/ui/components/tabs.ts +1 -0
- package/src/ui/components/tabs.unstyled.ts +1 -0
- package/src/ui/components/toc/clerk.ts +1 -0
- package/src/ui/components/toc/default.ts +1 -0
- package/src/ui/components/toc/index.ts +1 -0
- package/src/ui/components/type-table.ts +1 -0
- package/src/ui/components/ui/accordion.ts +1 -0
- package/src/ui/components/ui/button.ts +1 -0
- package/src/ui/components/ui/collapsible.ts +1 -0
- package/src/ui/components/ui/navigation-menu.ts +1 -0
- package/src/ui/components/ui/popover.ts +1 -0
- package/src/ui/components/ui/scroll-area.ts +1 -0
- package/src/ui/components/ui/tabs.ts +1 -0
- package/src/ui/contexts/i18n.ts +1 -0
- package/src/ui/contexts/tree.ts +1 -0
- package/src/ui/i18n.ts +1 -0
- package/src/ui/layouts/docs/page.ts +1 -0
- package/src/ui/layouts/docs.ts +1 -0
- package/src/ui/layouts/home/navbar.ts +1 -0
- package/src/ui/layouts/home.ts +1 -0
- package/src/ui/layouts/notebook/page.ts +1 -0
- package/src/ui/layouts/notebook.ts +1 -0
- package/src/ui/layouts/shared.ts +1 -0
- package/src/ui/mdx.ts +2 -0
- package/src/ui/og.ts +1 -0
- package/src/ui/page.ts +1 -0
- package/src/ui/provider/base.ts +1 -0
- package/src/ui/provider/next.ts +1 -0
- package/src/ui/provider/react-router.ts +1 -0
- package/src/ui/provider/tanstack.ts +1 -0
- package/src/ui/provider/waku.ts +1 -0
- package/src/ui/utils/use-copy-button.ts +1 -0
- package/tsconfig.json +20 -0
- package/tsup.config.ts +50 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-core/search/client';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-core/search';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-core/search/orama-cloud';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-core/search/server';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-core/source/client';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-core/source';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-core/source/lucide-icons';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-core/source/schema';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-core/toc';
|
package/dist/core/toc.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-docgen';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-docgen/remark-ts2js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-mdx/bun';
|
package/dist/mdx/bun.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-mdx/config';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-mdx';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-mdx/next';
|
package/dist/mdx/next.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-mdx/plugins/index-file';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-mdx/runtime/browser';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-mdx/runtime/dynamic';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-mdx/runtime/server';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-mdx/runtime/types';
|
package/dist/mdx/vite.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-mdx-remote/client';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-mdx-remote';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-obsidian';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-obsidian/mdx';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-obsidian/ui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@source '../dist/**/*.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-openapi';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-openapi/server';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-openapi/ui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-press';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-press/vite';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-python/components';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-python';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-twoslash/cache-fs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-twoslash';
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
/* ===== Basic ===== */
|
|
2
|
+
@theme {
|
|
3
|
+
--color-twoslash-error-foreground: #d45656;
|
|
4
|
+
--color-twoslash-error: #d4565620;
|
|
5
|
+
--color-twoslash-tag-foreground: #3772cf;
|
|
6
|
+
--color-twoslash-tag: #3772cf20;
|
|
7
|
+
--color-twoslash-tag-warn-foreground: #c37d0d;
|
|
8
|
+
--color-twoslash-tag-warn: #c37d0d20;
|
|
9
|
+
--color-twoslash-tag-annotate-foreground: #1ba673;
|
|
10
|
+
--color-twoslash-tag-annotate: #1ba67320;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.twoslash-meta-line {
|
|
14
|
+
display: flex;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.twoslash-completion-list,
|
|
18
|
+
.twoslash-popup-container {
|
|
19
|
+
position: relative;
|
|
20
|
+
user-select: none;
|
|
21
|
+
display: flex;
|
|
22
|
+
margin-top: 8px;
|
|
23
|
+
width: 20rem;
|
|
24
|
+
margin-right: -20rem;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
white-space: normal;
|
|
27
|
+
box-shadow:
|
|
28
|
+
0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
29
|
+
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
30
|
+
border: 1px solid var(--color-fd-border);
|
|
31
|
+
border-radius: 6px;
|
|
32
|
+
padding: 8px;
|
|
33
|
+
z-index: 8;
|
|
34
|
+
color: var(--color-fd-popover-foreground);
|
|
35
|
+
background-color: var(--color-fd-popover);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.twoslash-completion-cursor {
|
|
39
|
+
display: inline-flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.twoslash-completion-list:hover {
|
|
44
|
+
user-select: auto;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.twoslash-popup-arrow {
|
|
48
|
+
position: absolute;
|
|
49
|
+
top: -4px;
|
|
50
|
+
left: 1em;
|
|
51
|
+
transform: rotate(-45deg);
|
|
52
|
+
pointer-events: none;
|
|
53
|
+
width: 6px;
|
|
54
|
+
height: 6px;
|
|
55
|
+
border-top-width: 1px;
|
|
56
|
+
border-right-width: 1px;
|
|
57
|
+
border-color: var(--color-fd-primary);
|
|
58
|
+
background-color: var(--color-fd-popover);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.twoslash-popup-docs-tag {
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: row;
|
|
64
|
+
gap: 0.5em;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.twoslash-popup-docs-tag-name {
|
|
68
|
+
font-weight: 600;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.twoslash-popup-code {
|
|
72
|
+
font-size: 13px !important;
|
|
73
|
+
overflow-wrap: anywhere;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.twoslash-popup-code .line {
|
|
77
|
+
padding-left: 0 !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.twoslash-popup-docs,
|
|
81
|
+
.twoslash-popup-docs-tags {
|
|
82
|
+
font-size: 14px !important;
|
|
83
|
+
line-height: 20px !important;
|
|
84
|
+
margin-top: 8px !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* ===== Hover Info ===== */
|
|
88
|
+
.twoslash:hover .twoslash-hover {
|
|
89
|
+
border-color: currentColor;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.twoslash .twoslash-hover {
|
|
93
|
+
/* Reset button styles to make it behave like inline text */
|
|
94
|
+
all: unset;
|
|
95
|
+
|
|
96
|
+
/* Restore the original hover indicator styles */
|
|
97
|
+
position: relative;
|
|
98
|
+
transition: border 300ms;
|
|
99
|
+
border-bottom: 1px dotted;
|
|
100
|
+
border-color: transparent;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* ===== Error Line ===== */
|
|
104
|
+
.twoslash .twoslash-error-line {
|
|
105
|
+
position: relative;
|
|
106
|
+
background-color: var(--twoslash-error-bg);
|
|
107
|
+
border-left: 3px solid var(--color-twoslash-error-foreground);
|
|
108
|
+
color: var(--color-twoslash-error-foreground);
|
|
109
|
+
padding: 6px 12px;
|
|
110
|
+
margin: 0.2em 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.twoslash .twoslash-error {
|
|
114
|
+
text-decoration: wavy underline var(--color-twoslash-error-foreground);
|
|
115
|
+
padding-bottom: 2px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* ===== Completions ===== */
|
|
119
|
+
.twoslash-completion-cursor::before {
|
|
120
|
+
width: 1px;
|
|
121
|
+
height: 1.4em;
|
|
122
|
+
content: ' ';
|
|
123
|
+
background-color: var(--color-fd-foreground);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.twoslash-completion-list {
|
|
127
|
+
display: inline-flex;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.twoslash-completion-list li {
|
|
131
|
+
font-size: 13px;
|
|
132
|
+
display: inline-flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
overflow: hidden;
|
|
135
|
+
text-overflow: ellipsis;
|
|
136
|
+
white-space: nowrap;
|
|
137
|
+
gap: 0.5rem;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.twoslash-completion-list li span.twoslash-completions-unmatched {
|
|
141
|
+
color: var(--color-fd-muted-foreground);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.twoslash-completion-list .deprecated {
|
|
145
|
+
text-decoration: line-through;
|
|
146
|
+
opacity: 0.5;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* Icons */
|
|
150
|
+
.twoslash-completion-list .twoslash-completions-icon {
|
|
151
|
+
width: 1em;
|
|
152
|
+
flex: none;
|
|
153
|
+
color: var(--color-fd-muted-foreground);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* Custom Tags */
|
|
157
|
+
.twoslash .twoslash-tag-line {
|
|
158
|
+
position: relative;
|
|
159
|
+
background-color: var(--color-twoslash-tag);
|
|
160
|
+
border-left: 3px solid var(--color-twoslash-tag-foreground);
|
|
161
|
+
color: var(--color-twoslash-tag-foreground);
|
|
162
|
+
padding: 6px 10px;
|
|
163
|
+
margin: 0.2em 0;
|
|
164
|
+
display: flex;
|
|
165
|
+
align-items: center;
|
|
166
|
+
gap: 0.3em;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.twoslash .twoslash-tag-line .twoslash-tag-icon {
|
|
170
|
+
width: 1.1em;
|
|
171
|
+
color: inherit;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.twoslash .twoslash-tag-line.twoslash-tag-error-line {
|
|
175
|
+
background-color: var(--color-twoslash-error);
|
|
176
|
+
border-left: 3px solid var(--color-twoslash-error-foreground);
|
|
177
|
+
color: var(--color-twoslash-error-foreground);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.twoslash .twoslash-tag-line.twoslash-tag-warn-line {
|
|
181
|
+
background-color: var(--color-twoslash-tag-warn);
|
|
182
|
+
border-left: 3px solid var(--color-twoslash-tag-warn-foreground);
|
|
183
|
+
color: var(--color-twoslash-tag-warn-foreground);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.twoslash .twoslash-tag-line.twoslash-tag-annotate-line {
|
|
187
|
+
background-color: var(--color-twoslash-tag-annotate);
|
|
188
|
+
border-left: 3px solid var(--color-twoslash-tag-annotate-foreground);
|
|
189
|
+
color: var(--color-twoslash-tag-annotate-foreground);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/* Respect people's wishes to not have animations */
|
|
193
|
+
@media (prefers-reduced-motion: reduce) {
|
|
194
|
+
.twoslash * {
|
|
195
|
+
transition: none !important;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.fd-twoslash-popover {
|
|
200
|
+
z-index: 50;
|
|
201
|
+
min-width: 240px;
|
|
202
|
+
max-width: min(450px, 96vw);
|
|
203
|
+
max-height: 400px;
|
|
204
|
+
overflow: auto;
|
|
205
|
+
border-radius: var(--radius-xl);
|
|
206
|
+
border: 1px solid var(--color-fd-border);
|
|
207
|
+
background-color: var(--color-fd-popover);
|
|
208
|
+
padding: calc(var(--spacing) * 3);
|
|
209
|
+
font-size: var(--text-sm);
|
|
210
|
+
color: var(--color-fd-popover-foreground);
|
|
211
|
+
box-shadow: var(--shadow-md);
|
|
212
|
+
transform-origin: var(--radix-popover-content-transform-origin);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.fd-twoslash-popover[data-state='open'] {
|
|
216
|
+
animation: var(--animate-fd-popover-in);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.fd-twoslash-popover[data-state='closed'] {
|
|
220
|
+
animation: var(--animate-fd-popover-out);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.fd-twoslash-popover:focus-visible {
|
|
224
|
+
outline-style: none;
|
|
225
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-twoslash/ui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-typescript';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-typescript/ui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-ui/components/accordion';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-ui/components/banner';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-ui/components/callout';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-ui/components/card';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-ui/components/codeblock';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-ui/components/dialog/search-algolia';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-ui/components/dialog/search-default';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-ui/components/dialog/search-orama';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-ui/components/dialog/search';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hanzo/docs-ui/components/dynamic-codeblock';
|