@publish.os/nextjs 0.0.1-alpha.90 → 0.0.1-alpha.92
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/compiler-assets/nextjs/defaults/group/index.tsx +16 -11
- package/compiler-assets/nextjs/defaults/group/layout.tsx +6 -6
- package/compiler-assets/nextjs/defaults/group/page.tsx +36 -26
- package/compiler-assets/nextjs/defaults/project/next.config.mjs +21 -11
- package/compiler-assets/nextjs/defaults/project/tsconfig.json.template +10 -0
- package/compiler-assets/nextjs/defaults/root/css/components/code-block.css +18 -0
- package/compiler-assets/nextjs/defaults/root/index.tsx +16 -11
- package/compiler-assets/nextjs/defaults/root/layout.tsx +7 -3
- package/compiler-assets/nextjs/shims/agent-user-agents.ts +65 -0
- package/compiler-assets/nextjs/shims/document.tsx +46 -0
- package/compiler-assets/nextjs/shims/generated-leaf-page.tsx +5 -0
- package/compiler-assets/nextjs/shims/global-layout.tsx +8 -42
- package/compiler-assets/nextjs/shims/global-not-found.tsx +69 -0
- package/compiler-assets/nextjs/shims/markdown-route.ts +2 -0
- package/compiler-assets/nextjs/shims/metadata-icons.tsx +39 -0
- package/compiler-assets/nextjs/shims/not-found-content.tsx +53 -0
- package/compiler-assets/nextjs/shims/not-found-navigation.tsx +60 -0
- package/compiler-assets/nextjs/shims/proxy.ts +254 -86
- package/compiler-assets/nextjs/shims/site-fenced-code-block.tsx +2 -6
- package/compiler-assets/nextjs/shims/site-mdx-components.tsx +28 -16
- package/compiler-assets/nextjs/shims/site-mdx.tsx +6 -1
- package/dist/{build-operation-2JAYBSKF.js → build-operation-CJDUL4OW.js} +29 -23
- package/dist/{button-c3WGnxIj.d.ts → button-D6Xp2HBm.d.ts} +4 -4
- package/dist/capture-local-source-WGGDIUU2.js +258 -0
- package/dist/chunk-22RSSUNV.js +13 -0
- package/dist/chunk-3T4HVDSC.js +426 -0
- package/dist/{chunk-WKTEO6RS.js → chunk-4BC2L2KA.js} +46 -12
- package/dist/{chunk-WDY4IK6Z.js → chunk-5J3YUNRY.js} +3 -10
- package/dist/chunk-5KAD7W53.js +248 -0
- package/dist/{chunk-DWA3ZRGW.js → chunk-6C65KV7O.js} +2 -2
- package/dist/{chunk-GGKFQ3MA.js → chunk-6D2E6UMD.js} +144 -70
- package/dist/{chunk-7OGTPSKI.js → chunk-7NY22B5U.js} +8 -3
- package/dist/chunk-DX7PXFCM.js +2519 -0
- package/dist/{chunk-726GV2NF.js → chunk-DZ3VWEV5.js} +950 -632
- package/dist/chunk-EFO6AWXN.js +19 -0
- package/dist/chunk-IL4RJOKI.js +186 -0
- package/dist/{chunk-H6XILMZX.js → chunk-NHSLTARU.js} +2588 -1493
- package/dist/{chunk-DLDFHU7Y.js → chunk-NNBJZPFM.js} +4 -2
- package/dist/{chunk-VO2I7MTM.js → chunk-SBMDONTV.js} +10 -7
- package/dist/{chunk-YLTOLYWM.js → chunk-WL75GQ5M.js} +6 -18
- package/dist/compiler.d.ts +15 -2
- package/dist/compiler.js +111 -23
- package/dist/components/blocks/agent-actions.d.ts +81 -0
- package/dist/components/blocks/agent-actions.js +563 -0
- package/dist/components/blocks/toc.d.ts +43 -0
- package/dist/components/blocks/toc.js +136 -0
- package/dist/components/ui/button.d.ts +4 -0
- package/dist/components/ui/button.js +94 -0
- package/dist/compose-44GJSMXD.js +16 -0
- package/dist/config/createNextConfig.js +19 -3
- package/dist/{dev-operation-TZDVJCN7.js → dev-operation-WNECBHZ5.js} +134 -84
- package/dist/{framework-selection-X4U6Y6QC.js → framework-selection-ZVO323PK.js} +3 -2
- package/dist/ide-support-TG74L4FF.js +16 -0
- package/dist/index.d.ts +151 -95
- package/dist/index.js +25 -0
- package/dist/jsx-dev-runtime.d.ts +6 -0
- package/dist/jsx-dev-runtime.js +100 -0
- package/dist/jsx-runtime.d.ts +7 -0
- package/dist/jsx-runtime.js +97 -0
- package/dist/kernel/components/blocks/AgentActions.d.ts +37 -8
- package/dist/kernel/components/blocks/AgentActions.js +384 -174
- package/dist/kernel/components/blocks/agent-actions.d.ts +4 -0
- package/dist/kernel/components/blocks/agent-actions.js +563 -0
- package/dist/kernel/components/blocks/animated-icon-swap.d.ts +2 -2
- package/dist/kernel/components/blocks/animated-icon-swap.js +1 -1
- package/dist/kernel/components/blocks/color-palette.d.ts +2 -2
- package/dist/kernel/components/blocks/color-palette.js +4 -4
- package/dist/kernel/components/blocks/logo-block.d.ts +2 -2
- package/dist/kernel/components/blocks/logo-block.js +1 -1
- package/dist/kernel/components/blocks/nav-breadcrumb.d.ts +6 -5
- package/dist/kernel/components/blocks/nav-breadcrumb.js +21 -15
- package/dist/kernel/components/blocks/navbar.d.ts +5 -4
- package/dist/kernel/components/blocks/navbar.js +79 -59
- package/dist/kernel/components/blocks/navigation-progress.d.ts +2 -2
- package/dist/kernel/components/blocks/navigation-progress.js +2 -2
- package/dist/kernel/components/blocks/next-prev.d.ts +4 -4
- package/dist/kernel/components/blocks/next-prev.js +30 -7
- package/dist/kernel/components/blocks/page-list.d.ts +4 -4
- package/dist/kernel/components/blocks/page-list.js +32 -9
- package/dist/kernel/components/blocks/search.d.ts +9 -15
- package/dist/kernel/components/blocks/search.js +16 -17
- package/dist/kernel/components/blocks/sidebar-node.d.ts +3 -5
- package/dist/kernel/components/blocks/sidebar-node.js +13 -3
- package/dist/kernel/components/blocks/sidebar.d.ts +6 -7
- package/dist/kernel/components/blocks/sidebar.js +137 -28
- package/dist/kernel/components/blocks/theme-toggle.d.ts +3 -4
- package/dist/kernel/components/blocks/theme-toggle.js +5 -5
- package/dist/kernel/components/blocks/toc-client.d.ts +40 -0
- package/dist/kernel/components/blocks/toc-client.js +495 -0
- package/dist/kernel/components/blocks/toc.d.ts +20 -2
- package/dist/kernel/components/blocks/toc.js +121 -179
- package/dist/kernel/components/mdx/components/blockquote.d.ts +2 -2
- package/dist/kernel/components/mdx/components/blockquote.js +1 -1
- package/dist/kernel/components/mdx/components/callout.d.ts +3 -3
- package/dist/kernel/components/mdx/components/callout.js +1 -1
- package/dist/kernel/components/mdx/components/code-block.d.ts +2 -2
- package/dist/kernel/components/mdx/components/code-block.js +2 -2
- package/dist/kernel/components/mdx/components/copy-code-button.d.ts +2 -2
- package/dist/kernel/components/mdx/components/copy-code-button.js +5 -4
- package/dist/kernel/components/mdx/components/figure-caption.d.ts +3 -3
- package/dist/kernel/components/mdx/components/figure-caption.js +3 -2
- package/dist/kernel/components/mdx/components/figure.d.ts +8 -4
- package/dist/kernel/components/mdx/components/figure.js +23 -13
- package/dist/kernel/components/mdx/components/footnotes.d.ts +2 -2
- package/dist/kernel/components/mdx/components/footnotes.js +1 -1
- package/dist/kernel/components/mdx/components/heading-copy-link.d.ts +2 -2
- package/dist/kernel/components/mdx/components/heading-copy-link.js +1 -1
- package/dist/kernel/components/mdx/components/heading.d.ts +2 -2
- package/dist/kernel/components/mdx/components/heading.js +6 -3
- package/dist/kernel/components/mdx/components/hr.d.ts +4 -4
- package/dist/kernel/components/mdx/components/hr.js +2 -2
- package/dist/kernel/components/mdx/components/image-zoom.d.ts +3 -3
- package/dist/kernel/components/mdx/components/image-zoom.js +4 -3
- package/dist/kernel/components/mdx/components/image.d.ts +2 -2
- package/dist/kernel/components/mdx/components/image.js +22 -17
- package/dist/kernel/components/mdx/components/inline-code.d.ts +2 -2
- package/dist/kernel/components/mdx/components/inline-code.js +1 -1
- package/dist/kernel/components/mdx/components/kbd.d.ts +3 -3
- package/dist/kernel/components/mdx/components/kbd.js +2 -2
- package/dist/kernel/components/mdx/components/link.d.ts +6 -6
- package/dist/kernel/components/mdx/components/link.js +2 -2
- package/dist/kernel/components/mdx/components/paragraph.d.ts +2 -2
- package/dist/kernel/components/mdx/components/paragraph.js +1 -1
- package/dist/kernel/components/mdx/components/strikethrough.d.ts +2 -2
- package/dist/kernel/components/mdx/components/strikethrough.js +1 -1
- package/dist/kernel/components/mdx/components/table.d.ts +7 -7
- package/dist/kernel/components/mdx/components/table.js +2 -2
- package/dist/kernel/components/mdx/components/task-list.d.ts +3 -3
- package/dist/kernel/components/mdx/components/task-list.js +1 -1
- package/dist/kernel/components/mdx/components/video-player.d.ts +8 -4
- package/dist/kernel/components/mdx/components/video-player.js +6 -2
- package/dist/kernel/components/mdx/components/video.d.ts +5 -4
- package/dist/kernel/components/mdx/components/video.js +7 -5
- package/dist/kernel/components/mdx/error-boundary.d.ts +3 -4
- package/dist/kernel/components/mdx/error-boundary.js +2 -2
- package/dist/kernel/components/mdx/error-fallback.d.ts +2 -2
- package/dist/kernel/components/mdx/error-fallback.js +1 -1
- package/dist/kernel/components/mdx/mdx.d.ts +57 -16
- package/dist/kernel/components/mdx/mdx.js +232 -35
- package/dist/kernel/components/mdx/rehype-heading-ids.d.ts +1 -0
- package/dist/kernel/components/mdx/rehype-heading-ids.js +5 -3
- package/dist/kernel/components/mdx/types.d.ts +1 -1
- package/dist/kernel/components/next-image.d.ts +12 -0
- package/dist/kernel/components/next-image.js +61 -0
- package/dist/kernel/components/ui/accordion.d.ts +7 -7
- package/dist/kernel/components/ui/accordion.js +1 -1
- package/dist/kernel/components/ui/breadcrumb-trail.d.ts +3 -4
- package/dist/kernel/components/ui/breadcrumb-trail.js +2 -2
- package/dist/kernel/components/ui/breadcrumb.d.ts +14 -14
- package/dist/kernel/components/ui/breadcrumb.js +4 -4
- package/dist/kernel/components/ui/button-group.d.ts +6 -6
- package/dist/kernel/components/ui/button-group.js +3 -3
- package/dist/kernel/components/ui/button.d.ts +59 -7
- package/dist/kernel/components/ui/button.js +43 -39
- package/dist/kernel/components/ui/card.d.ts +7 -7
- package/dist/kernel/components/ui/card.js +1 -1
- package/dist/kernel/components/ui/dialog.d.ts +10 -10
- package/dist/kernel/components/ui/dialog.js +1 -1
- package/dist/kernel/components/ui/drawer.d.ts +12 -12
- package/dist/kernel/components/ui/drawer.js +1 -1
- package/dist/kernel/components/ui/input.d.ts +2 -2
- package/dist/kernel/components/ui/input.js +1 -1
- package/dist/kernel/components/ui/kbd.d.ts +4 -4
- package/dist/kernel/components/ui/kbd.js +1 -1
- package/dist/kernel/components/ui/link.d.ts +11 -5
- package/dist/kernel/components/ui/link.js +2 -2
- package/dist/kernel/components/ui/menu.d.ts +22 -22
- package/dist/kernel/components/ui/menu.js +1 -1
- package/dist/kernel/components/ui/mod-key.d.ts +2 -3
- package/dist/kernel/components/ui/mod-key.js +2 -2
- package/dist/kernel/components/ui/navigation-menu.d.ts +15 -15
- package/dist/kernel/components/ui/navigation-menu.js +1 -1
- package/dist/kernel/components/ui/popover.d.ts +11 -11
- package/dist/kernel/components/ui/popover.js +1 -1
- package/dist/kernel/components/ui/progress.d.ts +7 -7
- package/dist/kernel/components/ui/progress.js +1 -1
- package/dist/kernel/components/ui/scroll-area.d.ts +9 -10
- package/dist/kernel/components/ui/scroll-area.js +1 -1
- package/dist/kernel/components/ui/select.d.ts +16 -16
- package/dist/kernel/components/ui/select.js +1 -1
- package/dist/kernel/components/ui/separator.d.ts +3 -3
- package/dist/kernel/components/ui/separator.js +1 -1
- package/dist/kernel/components/ui/table.d.ts +7 -7
- package/dist/kernel/components/ui/table.js +1 -1
- package/dist/kernel/components/ui/tabs.d.ts +12 -12
- package/dist/kernel/components/ui/tabs.js +1 -1
- package/dist/kernel/components/ui/tag.d.ts +3 -3
- package/dist/kernel/components/ui/tag.js +1 -1
- package/dist/kernel/components/ui/text.d.ts +4 -4
- package/dist/kernel/components/ui/text.js +1 -1
- package/dist/kernel/components/ui/toast.d.ts +11 -11
- package/dist/kernel/components/ui/toast.js +1 -1
- package/dist/kernel/components/ui/tooltip.d.ts +9 -9
- package/dist/kernel/components/ui/tooltip.js +1 -1
- package/dist/kernel/defaults.registry.d.ts +4 -17
- package/dist/kernel/defaults.registry.js +4 -19
- package/dist/kernel/routes/agent/markdown.d.ts +7 -0
- package/dist/kernel/routes/agent/markdown.js +229 -54
- package/dist/kernel/routes/layouts/group.d.ts +1 -1
- package/dist/kernel/routes/layouts/group.js +5 -7
- package/dist/kernel/routes/metadata/feed.d.ts +1 -2
- package/dist/kernel/routes/metadata/feed.js +119 -88
- package/dist/kernel/routes/metadata/llms.d.ts +3 -23
- package/dist/kernel/routes/metadata/llms.js +2 -103
- package/dist/kernel/routes/metadata/og-image.js +1 -1
- package/dist/kernel/routes/metadata/robots.d.ts +5 -3
- package/dist/kernel/routes/metadata/robots.js +4 -25
- package/dist/kernel/routes/metadata/sitemap.d.ts +36 -3
- package/dist/kernel/routes/metadata/sitemap.js +277 -49
- package/dist/kernel/routes/not-found.d.ts +34 -0
- package/dist/kernel/routes/not-found.js +213 -0
- package/dist/kernel/routes/pages/group.d.ts +5 -5
- package/dist/kernel/routes/pages/group.js +11 -5
- package/dist/kernel/routes/pages/leaf.d.ts +38 -6
- package/dist/kernel/routes/pages/leaf.js +21 -12
- package/dist/kernel/routes/pages/root.d.ts +5 -5
- package/dist/kernel/routes/pages/root.js +21 -6
- package/dist/keyboard-shortcuts.d.ts +2 -2
- package/dist/keyboard-shortcuts.js +1 -1
- package/dist/manifest-types-CcVPH_jh.d.ts +83 -0
- package/dist/resolvers/manifest-resolver.d.ts +2 -2
- package/dist/resolvers/manifest-resolver.js +65 -35
- package/dist/route-metadata-og-image-BeKKFHg7.d.ts +58 -0
- package/dist/search.d.ts +2 -9
- package/dist/search.js +9 -16
- package/dist/sidebar-types-CMrMM0Nj.d.ts +105 -0
- package/dist/theme-scope.d.ts +2 -2
- package/dist/theme-scope.js +1 -1
- package/dist/types-BbqmOzLC.d.ts +168 -0
- package/dist/types-TjH1ek0X.d.ts +22 -0
- package/dist/types-sM2g9nW0.d.ts +12 -0
- package/dist/types.d.ts +117 -91
- package/dist/utils/heading-ids.js +30 -11
- package/dist/utils/toc-selection.d.ts +7 -0
- package/dist/utils/toc-selection.js +14 -0
- package/dist/validate-local-source-EN2GW4FR.js +16 -0
- package/dist/validate-publish-os-source-OEWQDB7B.js +14 -0
- package/init/seed/minimal/publish.os/assets/blog/hello-world.svg +13 -0
- package/init/seed/minimal/publish.os/assets/favicon.dark.svg +13 -0
- package/init/seed/minimal/publish.os/assets/favicon.svg +13 -0
- package/init/seed/minimal/publish.os/blog/content/hello-world.mdx +48 -0
- package/init/seed/minimal/publish.os/blog/content/series-a.mdx +11 -0
- package/init/seed/minimal/publish.os/blog/index.tsx +85 -0
- package/init/seed/minimal/publish.os/blog/layout.tsx +13 -0
- package/init/seed/minimal/publish.os/blog/page.tsx +91 -0
- package/init/seed/minimal/publish.os/components/blog/copy-link.tsx +64 -0
- package/init/seed/minimal/publish.os/components/blog/frontmatter.ts +41 -0
- package/init/seed/minimal/publish.os/docs/content/get-started.mdx +2 -3
- package/init/seed/minimal/publish.os/docs/content/groups.mdx +5 -6
- package/init/seed/minimal/publish.os/publish.os.config.json +17 -2
- package/init/seed/minimal/publish.os/theme.css +3 -3
- package/init/seed/minimal/seed.json +12 -4
- package/init/seed/scratch/publish.os/docs/content/get-started.mdx +1 -1
- package/init/seed/scratch/publish.os/publish.os.config.json +1 -1
- package/package.json +48 -23
- package/release/app/phosphor/package.json +4 -4
- package/release/app/phosphor/pnpm-lock.yaml.template +123 -184
- package/release/compiler/package.json +5 -3
- package/release/compiler/pnpm-lock.yaml.template +153 -183
- package/release/release.json +6 -6
- package/dist/button-CtzUJB8u.d.ts +0 -11
- package/dist/chunk-535TM4A5.js +0 -1455
- package/dist/chunk-B2V22WRT.js +0 -297
- package/dist/chunk-NECL5IBJ.js +0 -318
- package/dist/chunk-SVYGXXYR.js +0 -36
- package/dist/chunk-UF6ATARM.js +0 -1100
- package/dist/compose-NN23UJGC.js +0 -13
- package/dist/ide-support-ZNW7ODFY.js +0 -15
- package/dist/kernel/components/blocks/design-system-preview.d.ts +0 -61
- package/dist/kernel/components/blocks/design-system-preview.js +0 -667
- package/dist/kernel/components/blocks/link-playground.d.ts +0 -5
- package/dist/kernel/components/blocks/link-playground.js +0 -744
- package/dist/kernel/components/blocks/navigation-progress-playground.d.ts +0 -5
- package/dist/kernel/components/blocks/navigation-progress-playground.js +0 -629
- package/dist/kernel/components/ui/theme-toggle.d.ts +0 -24
- package/dist/kernel/components/ui/theme-toggle.js +0 -53
- package/dist/sidebar-types-DKpR27II.d.ts +0 -25
- package/dist/types-BzkZty3r.d.ts +0 -147
- package/dist/types-CJWRG05y.d.ts +0 -76
- package/dist/types-CUtrppxt.d.ts +0 -69
- package/dist/validate-local-source-XRL2Y7XE.js +0 -14
- package/dist/validate-publish-os-source-DAPZ4QGE.js +0 -12
- package/init/seed/minimal/publish.os/assets/favicon/favicon.dark.png +0 -0
- package/init/seed/minimal/publish.os/assets/favicon/favicon.png +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { Popover as Popover$1 } from '@base-ui/react/popover';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ComponentPropsWithRef } from 'react';
|
|
3
|
+
import { Popover as Popover$1 } from '@base-ui/react/popover';
|
|
4
4
|
|
|
5
5
|
type PopoverProps = ComponentPropsWithRef<typeof Popover$1.Root>;
|
|
6
6
|
type PopoverTriggerProps = ComponentPropsWithRef<typeof Popover$1.Trigger>;
|
|
@@ -11,14 +11,14 @@ type PopoverTitleProps = ComponentPropsWithRef<typeof Popover$1.Title>;
|
|
|
11
11
|
type PopoverDescriptionProps = ComponentPropsWithRef<typeof Popover$1.Description>;
|
|
12
12
|
type PopoverCloseProps = ComponentPropsWithRef<typeof Popover$1.Close>;
|
|
13
13
|
type PopoverArrowProps = ComponentPropsWithRef<typeof Popover$1.Arrow>;
|
|
14
|
-
declare function Popover(props: PopoverProps):
|
|
15
|
-
declare function PopoverTrigger({ className, ...props }: PopoverTriggerProps):
|
|
16
|
-
declare function PopoverPortal(props: PopoverPortalProps):
|
|
17
|
-
declare function PopoverPositioner({ className, sideOffset, ...props }: PopoverPositionerProps):
|
|
18
|
-
declare function PopoverPopup({ className, ...props }: PopoverPopupProps):
|
|
19
|
-
declare function PopoverTitle({ className, ...props }: PopoverTitleProps):
|
|
20
|
-
declare function PopoverDescription({ className, ...props }: PopoverDescriptionProps):
|
|
21
|
-
declare function PopoverClose({ className, ...props }: PopoverCloseProps):
|
|
22
|
-
declare function PopoverArrow({ className, ...props }: PopoverArrowProps):
|
|
14
|
+
declare function Popover(props: PopoverProps): react.JSX.Element;
|
|
15
|
+
declare function PopoverTrigger({ className, ...props }: PopoverTriggerProps): react.JSX.Element;
|
|
16
|
+
declare function PopoverPortal(props: PopoverPortalProps): react.JSX.Element;
|
|
17
|
+
declare function PopoverPositioner({ className, sideOffset, ...props }: PopoverPositionerProps): react.JSX.Element;
|
|
18
|
+
declare function PopoverPopup({ className, ...props }: PopoverPopupProps): react.JSX.Element;
|
|
19
|
+
declare function PopoverTitle({ className, ...props }: PopoverTitleProps): react.JSX.Element;
|
|
20
|
+
declare function PopoverDescription({ className, ...props }: PopoverDescriptionProps): react.JSX.Element;
|
|
21
|
+
declare function PopoverClose({ className, ...props }: PopoverCloseProps): react.JSX.Element;
|
|
22
|
+
declare function PopoverArrow({ className, ...props }: PopoverArrowProps): react.JSX.Element;
|
|
23
23
|
|
|
24
24
|
export { Popover, PopoverArrow, type PopoverArrowProps, PopoverClose, type PopoverCloseProps, PopoverDescription, type PopoverDescriptionProps, PopoverPopup, type PopoverPopupProps, PopoverPortal, type PopoverPortalProps, PopoverPositioner, type PopoverPositionerProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps };
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Popover as BasePopover } from "@base-ui/react/popover";
|
|
5
5
|
import { useThemeScope } from "@publish.os/nextjs/theme-scope";
|
|
6
6
|
import { cn } from "@publish.os/nextjs/utils/cn";
|
|
7
|
-
import { jsx } from "
|
|
7
|
+
import { jsx } from "@publish.os/nextjs/jsx-runtime";
|
|
8
8
|
function Popover(props) {
|
|
9
9
|
return /* @__PURE__ */ jsx(BasePopover.Root, { ...props });
|
|
10
10
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { Progress as Progress$1 } from '@base-ui/react/progress';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
import { Progress as Progress$1 } from '@base-ui/react/progress';
|
|
4
4
|
|
|
5
5
|
type ProgressProps = ComponentPropsWithoutRef<typeof Progress$1.Root>;
|
|
6
6
|
type ProgressTrackProps = ComponentPropsWithoutRef<typeof Progress$1.Track>;
|
|
7
7
|
type ProgressIndicatorProps = ComponentPropsWithoutRef<typeof Progress$1.Indicator>;
|
|
8
8
|
type ProgressLabelProps = ComponentPropsWithoutRef<typeof Progress$1.Label>;
|
|
9
9
|
type ProgressValueProps = ComponentPropsWithoutRef<typeof Progress$1.Value>;
|
|
10
|
-
declare function Progress(props: ProgressProps):
|
|
11
|
-
declare function ProgressTrack({ className, ...props }: ProgressTrackProps):
|
|
12
|
-
declare function ProgressIndicator({ className, ...props }: ProgressIndicatorProps):
|
|
13
|
-
declare function ProgressLabel({ className, ...props }: ProgressLabelProps):
|
|
14
|
-
declare function ProgressValue({ className, ...props }: ProgressValueProps):
|
|
10
|
+
declare function Progress(props: ProgressProps): react.JSX.Element;
|
|
11
|
+
declare function ProgressTrack({ className, ...props }: ProgressTrackProps): react.JSX.Element;
|
|
12
|
+
declare function ProgressIndicator({ className, ...props }: ProgressIndicatorProps): react.JSX.Element;
|
|
13
|
+
declare function ProgressLabel({ className, ...props }: ProgressLabelProps): react.JSX.Element;
|
|
14
|
+
declare function ProgressValue({ className, ...props }: ProgressValueProps): react.JSX.Element;
|
|
15
15
|
|
|
16
16
|
export { Progress, ProgressIndicator, type ProgressIndicatorProps, ProgressLabel, type ProgressLabelProps, type ProgressProps, ProgressTrack, type ProgressTrackProps, ProgressValue, type ProgressValueProps };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// src/components/ui/progress.tsx
|
|
4
4
|
import { Progress as BaseProgress } from "@base-ui/react/progress";
|
|
5
5
|
import { cn } from "@publish.os/nextjs/utils/cn";
|
|
6
|
-
import { jsx } from "
|
|
6
|
+
import { jsx } from "@publish.os/nextjs/jsx-runtime";
|
|
7
7
|
function Progress(props) {
|
|
8
8
|
return /* @__PURE__ */ jsx(BaseProgress.Root, { ...props });
|
|
9
9
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as react from 'react';
|
|
3
2
|
import { ComponentPropsWithoutRef, ReactNode, Ref, ComponentRef } from 'react';
|
|
4
|
-
import * as
|
|
5
|
-
import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
|
|
3
|
+
import * as _base_ui_react from '@base-ui/react';
|
|
6
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
+
import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
|
|
7
6
|
import { VariantProps } from 'class-variance-authority';
|
|
8
7
|
|
|
9
8
|
declare const scrollAreaVariants: (props?: ({
|
|
@@ -47,12 +46,12 @@ type ScrollAreaProps = ScrollAreaRootProps & ScrollAreaVariantProps & {
|
|
|
47
46
|
viewportProps?: ScrollAreaViewportProps;
|
|
48
47
|
viewportRef?: Ref<ComponentRef<typeof ScrollArea$1.Viewport>>;
|
|
49
48
|
};
|
|
50
|
-
declare const ScrollAreaRoot: react.ForwardRefExoticComponent<Omit<Omit<
|
|
51
|
-
declare function ScrollArea({ border, borderEndClassName, borderStartClassName, children, className, contentClassName, contentProps, corner, cornerClassName, cornerProps, mask, orientation, scrollbar, scrollbarClassName, scrollbarProps, thumbClassName, thumbProps, variant, viewportClassName, viewportProps, viewportRef, ...props }: ScrollAreaProps):
|
|
52
|
-
declare const ScrollAreaViewport: react.ForwardRefExoticComponent<Omit<Omit<
|
|
53
|
-
declare const ScrollAreaContent: react.ForwardRefExoticComponent<Omit<Omit<
|
|
54
|
-
declare const ScrollAreaScrollbar: react.ForwardRefExoticComponent<Omit<Omit<
|
|
55
|
-
declare const ScrollAreaThumb: react.ForwardRefExoticComponent<Omit<Omit<
|
|
56
|
-
declare const ScrollAreaCorner: react.ForwardRefExoticComponent<Omit<Omit<
|
|
49
|
+
declare const ScrollAreaRoot: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaRootProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
50
|
+
declare function ScrollArea({ border, borderEndClassName, borderStartClassName, children, className, contentClassName, contentProps, corner, cornerClassName, cornerProps, mask, orientation, scrollbar, scrollbarClassName, scrollbarProps, thumbClassName, thumbProps, variant, viewportClassName, viewportProps, viewportRef, ...props }: ScrollAreaProps): react.JSX.Element;
|
|
51
|
+
declare const ScrollAreaViewport: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaViewportProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
declare const ScrollAreaContent: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaContentProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
53
|
+
declare const ScrollAreaScrollbar: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaScrollbarProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
54
|
+
declare const ScrollAreaThumb: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaThumbProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
55
|
+
declare const ScrollAreaCorner: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaCornerProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
57
56
|
|
|
58
57
|
export { ScrollArea, type ScrollAreaBorder, ScrollAreaContent, type ScrollAreaContentProps, ScrollAreaCorner, type ScrollAreaCornerProps, type ScrollAreaMaskAxis, type ScrollAreaMaskConfig, type ScrollAreaOrientation, type ScrollAreaProps, ScrollAreaRoot, type ScrollAreaRootProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, type ScrollAreaVariantProps, ScrollAreaViewport, type ScrollAreaViewportProps, scrollAreaVariants };
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
useRef,
|
|
14
14
|
useState
|
|
15
15
|
} from "react";
|
|
16
|
-
import { jsx, jsxs } from "
|
|
16
|
+
import { jsx, jsxs } from "@publish.os/nextjs/jsx-runtime";
|
|
17
17
|
var scrollAreaVariants = cva(
|
|
18
18
|
"relative overflow-hidden rounded-scrollarea text-foreground-1",
|
|
19
19
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
4
|
import { Select as Select$1 } from '@base-ui/react/select';
|
|
4
5
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { ComponentPropsWithRef } from 'react';
|
|
6
6
|
|
|
7
7
|
type SelectRootProps = ComponentPropsWithRef<typeof Select$1.Root>;
|
|
8
8
|
type SelectLabelProps = ComponentPropsWithRef<typeof Select$1.Label>;
|
|
@@ -22,19 +22,19 @@ type SelectItemIndicatorProps = ComponentPropsWithRef<typeof Select$1.ItemIndica
|
|
|
22
22
|
type SelectItemTextProps = ComponentPropsWithRef<typeof Select$1.ItemText>;
|
|
23
23
|
type SelectGroupProps = ComponentPropsWithRef<typeof Select$1.Group>;
|
|
24
24
|
type SelectGroupLabelProps = ComponentPropsWithRef<typeof Select$1.GroupLabel>;
|
|
25
|
-
declare function Select(props: SelectRootProps):
|
|
26
|
-
declare function SelectLabel({ className, ...props }: SelectLabelProps):
|
|
27
|
-
declare function SelectTrigger({ className, size, ...props }: SelectTriggerProps):
|
|
28
|
-
declare function SelectValue({ className, ...props }: SelectValueProps):
|
|
29
|
-
declare function SelectIcon({ children, className, ...props }: SelectIconProps):
|
|
30
|
-
declare function SelectPortal(props: SelectPortalProps):
|
|
31
|
-
declare function SelectPositioner({ className, sideOffset, ...props }: SelectPositionerProps):
|
|
32
|
-
declare function SelectPopup({ className, ...props }: SelectPopupProps):
|
|
33
|
-
declare function SelectList({ className, ...props }: SelectListProps):
|
|
34
|
-
declare function SelectItem({ className, ...props }: SelectItemProps):
|
|
35
|
-
declare function SelectItemIndicator({ children, className, ...props }: SelectItemIndicatorProps):
|
|
36
|
-
declare function SelectItemText({ className, ...props }: SelectItemTextProps):
|
|
37
|
-
declare function SelectGroup({ className, ...props }: SelectGroupProps):
|
|
38
|
-
declare function SelectGroupLabel({ className, ...props }: SelectGroupLabelProps):
|
|
25
|
+
declare function Select(props: SelectRootProps): react.JSX.Element;
|
|
26
|
+
declare function SelectLabel({ className, ...props }: SelectLabelProps): react.JSX.Element;
|
|
27
|
+
declare function SelectTrigger({ className, size, ...props }: SelectTriggerProps): react.JSX.Element;
|
|
28
|
+
declare function SelectValue({ className, ...props }: SelectValueProps): react.JSX.Element;
|
|
29
|
+
declare function SelectIcon({ children, className, ...props }: SelectIconProps): react.JSX.Element;
|
|
30
|
+
declare function SelectPortal(props: SelectPortalProps): react.JSX.Element;
|
|
31
|
+
declare function SelectPositioner({ className, sideOffset, ...props }: SelectPositionerProps): react.JSX.Element;
|
|
32
|
+
declare function SelectPopup({ className, ...props }: SelectPopupProps): react.JSX.Element;
|
|
33
|
+
declare function SelectList({ className, ...props }: SelectListProps): react.JSX.Element;
|
|
34
|
+
declare function SelectItem({ className, ...props }: SelectItemProps): react.JSX.Element;
|
|
35
|
+
declare function SelectItemIndicator({ children, className, ...props }: SelectItemIndicatorProps): react.JSX.Element;
|
|
36
|
+
declare function SelectItemText({ className, ...props }: SelectItemTextProps): react.JSX.Element;
|
|
37
|
+
declare function SelectGroup({ className, ...props }: SelectGroupProps): react.JSX.Element;
|
|
38
|
+
declare function SelectGroupLabel({ className, ...props }: SelectGroupLabelProps): react.JSX.Element;
|
|
39
39
|
|
|
40
40
|
export { Select, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectIcon, type SelectIconProps, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectLabel, type SelectLabelProps, SelectList, type SelectListProps, SelectPopup, type SelectPopupProps, SelectPortal, type SelectPortalProps, SelectPositioner, type SelectPositionerProps, type SelectRootProps, SelectTrigger, type SelectTriggerProps, type SelectTriggerVariantProps, SelectValue, type SelectValueProps, selectTriggerVariants };
|
|
@@ -6,7 +6,7 @@ import { CaretDownIcon, CheckIcon } from "@phosphor-icons/react/ssr";
|
|
|
6
6
|
import { useThemeScope } from "@publish.os/nextjs/theme-scope";
|
|
7
7
|
import { cn } from "@publish.os/nextjs/utils/cn";
|
|
8
8
|
import { cva } from "class-variance-authority";
|
|
9
|
-
import { jsx } from "
|
|
9
|
+
import { jsx } from "@publish.os/nextjs/jsx-runtime";
|
|
10
10
|
var selectTriggerVariants = cva(
|
|
11
11
|
[
|
|
12
12
|
"inline-flex w-full min-w-0 items-center justify-between gap-2 rounded-input border border-stroke-2 bg-surface-1 text-foreground-1 transition-colors",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
4
4
|
|
|
5
5
|
type SeparatorProps = ComponentPropsWithoutRef<typeof Separator$1>;
|
|
6
|
-
declare function Separator({ className, orientation, ...props }: SeparatorProps):
|
|
6
|
+
declare function Separator({ className, orientation, ...props }: SeparatorProps): react.JSX.Element;
|
|
7
7
|
|
|
8
8
|
export { Separator, type SeparatorProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/components/ui/separator.tsx
|
|
2
2
|
import { Separator as BaseSeparator } from "@base-ui/react/separator";
|
|
3
3
|
import { cn } from "@publish.os/nextjs/utils/cn";
|
|
4
|
-
import { jsx } from "
|
|
4
|
+
import { jsx } from "@publish.os/nextjs/jsx-runtime";
|
|
5
5
|
function Separator({
|
|
6
6
|
className,
|
|
7
7
|
orientation = "horizontal",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ComponentPropsWithoutRef } from 'react';
|
|
3
3
|
|
|
4
|
-
declare function Table({ className, ...props }: ComponentPropsWithoutRef<"table">):
|
|
5
|
-
declare function TableHeader({ className, ...props }: ComponentPropsWithoutRef<"thead">):
|
|
6
|
-
declare function TableBody({ className, ...props }: ComponentPropsWithoutRef<"tbody">):
|
|
7
|
-
declare function TableRow({ className, ...props }: ComponentPropsWithoutRef<"tr">):
|
|
8
|
-
declare function TableHead({ className, style, ...props }: ComponentPropsWithoutRef<"th">):
|
|
9
|
-
declare function TableCell({ className, style, ...props }: ComponentPropsWithoutRef<"td">):
|
|
4
|
+
declare function Table({ className, ...props }: ComponentPropsWithoutRef<"table">): react.JSX.Element;
|
|
5
|
+
declare function TableHeader({ className, ...props }: ComponentPropsWithoutRef<"thead">): react.JSX.Element;
|
|
6
|
+
declare function TableBody({ className, ...props }: ComponentPropsWithoutRef<"tbody">): react.JSX.Element;
|
|
7
|
+
declare function TableRow({ className, ...props }: ComponentPropsWithoutRef<"tr">): react.JSX.Element;
|
|
8
|
+
declare function TableHead({ className, style, ...props }: ComponentPropsWithoutRef<"th">): react.JSX.Element;
|
|
9
|
+
declare function TableCell({ className, style, ...props }: ComponentPropsWithoutRef<"td">): react.JSX.Element;
|
|
10
10
|
|
|
11
11
|
export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
4
|
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
4
5
|
import { VariantProps } from 'class-variance-authority';
|
|
5
6
|
import { LinkProps } from 'next/link';
|
|
6
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
7
7
|
|
|
8
8
|
declare const tabsListVariants: (props?: ({
|
|
9
9
|
variant?: "base" | "button" | "underline" | null | undefined;
|
|
@@ -56,11 +56,11 @@ type TabsIndicatorProps = ComponentPropsWithoutRef<typeof Tabs$1.Indicator> & Ta
|
|
|
56
56
|
*/
|
|
57
57
|
indicatorColor?: TabsIndicatorColor;
|
|
58
58
|
};
|
|
59
|
-
declare function Tabs({ children, className, indicatorAnimation, indicatorColor, style, variant, ...props }: TabsProps):
|
|
60
|
-
declare function TabsList({ className, variant, ...props }: TabsListProps):
|
|
61
|
-
declare function TabsTab({ className, variant, ...props }: TabsTabProps):
|
|
62
|
-
declare function TabsPanel({ className, ...props }: TabsPanelProps):
|
|
63
|
-
declare function TabsIndicator({ className, indicatorAnimation, indicatorColor, render, style, variant, ...props }: TabsIndicatorProps):
|
|
59
|
+
declare function Tabs({ children, className, indicatorAnimation, indicatorColor, style, variant, ...props }: TabsProps): react.JSX.Element;
|
|
60
|
+
declare function TabsList({ className, variant, ...props }: TabsListProps): react.JSX.Element;
|
|
61
|
+
declare function TabsTab({ className, variant, ...props }: TabsTabProps): react.JSX.Element;
|
|
62
|
+
declare function TabsPanel({ className, ...props }: TabsPanelProps): react.JSX.Element;
|
|
63
|
+
declare function TabsIndicator({ className, indicatorAnimation, indicatorColor, render, style, variant, ...props }: TabsIndicatorProps): react.JSX.Element;
|
|
64
64
|
type NavigationTabsProps = TabsProps;
|
|
65
65
|
type NavigationTabsListProps = TabsListProps;
|
|
66
66
|
type NavigationTabsIndicatorProps = TabsIndicatorProps;
|
|
@@ -73,10 +73,10 @@ type NavigationTabsLinkProps = Omit<TabsTabProps, "nativeButton" | "render"> & P
|
|
|
73
73
|
*/
|
|
74
74
|
render?: TabsTabProps["render"];
|
|
75
75
|
};
|
|
76
|
-
declare function NavigationTabs(props: NavigationTabsProps):
|
|
77
|
-
declare function NavigationTabsList(props: NavigationTabsListProps):
|
|
78
|
-
declare function NavigationTabsIndicator(props: NavigationTabsIndicatorProps):
|
|
79
|
-
declare function NavigationTabsLink({ active, children, href, rel, render, target, ...props }: NavigationTabsLinkProps):
|
|
80
|
-
declare function NavigationTabsTab(props: NavigationTabsLinkProps):
|
|
76
|
+
declare function NavigationTabs(props: NavigationTabsProps): react.JSX.Element;
|
|
77
|
+
declare function NavigationTabsList(props: NavigationTabsListProps): react.JSX.Element;
|
|
78
|
+
declare function NavigationTabsIndicator(props: NavigationTabsIndicatorProps): react.JSX.Element;
|
|
79
|
+
declare function NavigationTabsLink({ active, children, href, rel, render, target, ...props }: NavigationTabsLinkProps): react.JSX.Element;
|
|
80
|
+
declare function NavigationTabsTab(props: NavigationTabsLinkProps): react.JSX.Element;
|
|
81
81
|
|
|
82
82
|
export { NavigationTabs, NavigationTabsIndicator, type NavigationTabsIndicatorProps, NavigationTabsLink, type NavigationTabsLinkProps, NavigationTabsList, type NavigationTabsListProps, type NavigationTabsProps, NavigationTabsTab, Tabs, TabsIndicator, type TabsIndicatorAnimation, type TabsIndicatorColor, type TabsIndicatorProps, TabsList, type TabsListProps, TabsPanel, type TabsPanelProps, type TabsProps, TabsTab, type TabsTabProps, type TabsVariant, type TabsVariantProps, tabsIndicatorVariants, tabsListVariants, tabsTabVariants };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { HTMLAttributes } from 'react';
|
|
2
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
4
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { HTMLAttributes } from 'react';
|
|
5
5
|
|
|
6
6
|
declare const tagVariants: (props?: ({
|
|
7
7
|
borderStyle?: "dotted" | "solid" | null | undefined;
|
|
@@ -9,6 +9,6 @@ declare const tagVariants: (props?: ({
|
|
|
9
9
|
variant?: "solid" | "outline" | "soft" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
11
|
type TagProps = HTMLAttributes<HTMLSpanElement> & VariantProps<typeof tagVariants>;
|
|
12
|
-
declare function Tag({ borderStyle, className, tone, variant, ...props }: TagProps):
|
|
12
|
+
declare function Tag({ borderStyle, className, tone, variant, ...props }: TagProps): react.JSX.Element;
|
|
13
13
|
|
|
14
14
|
export { Tag, type TagProps, tagVariants };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/components/ui/tag.tsx
|
|
2
2
|
import { cn } from "@publish.os/nextjs/utils/cn";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
|
-
import { jsx } from "
|
|
4
|
+
import { jsx } from "@publish.os/nextjs/jsx-runtime";
|
|
5
5
|
var tagVariants = cva(
|
|
6
6
|
"inline-flex shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-tag border px-2 py-0.5 text-xs font-medium leading-5 [&_svg]:shrink-0",
|
|
7
7
|
{
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ElementType, ComponentPropsWithoutRef } from 'react';
|
|
2
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
4
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { ElementType, ComponentPropsWithoutRef } from 'react';
|
|
5
5
|
|
|
6
6
|
declare const textVariants: (props?: ({
|
|
7
7
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
|
|
8
8
|
variant?: "body" | "label" | "overline" | "headline" | null | undefined;
|
|
9
|
-
weight?: "bold" | "
|
|
9
|
+
weight?: "bold" | "medium" | "default" | "semibold" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
11
|
type TextProps<T extends ElementType = "p"> = {
|
|
12
12
|
as?: T;
|
|
13
13
|
className?: string;
|
|
14
14
|
} & VariantProps<typeof textVariants> & Omit<ComponentPropsWithoutRef<T>, "as" | "className" | "color">;
|
|
15
|
-
declare function Text<T extends ElementType = "p">({ as, className, size, variant, weight, ...props }: TextProps<T>):
|
|
15
|
+
declare function Text<T extends ElementType = "p">({ as, className, size, variant, weight, ...props }: TextProps<T>): react.JSX.Element;
|
|
16
16
|
|
|
17
17
|
export { Text, type TextProps, textVariants };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/components/ui/text.tsx
|
|
2
2
|
import { cn } from "@publish.os/nextjs/utils/cn";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
|
-
import { jsx } from "
|
|
4
|
+
import { jsx } from "@publish.os/nextjs/jsx-runtime";
|
|
5
5
|
var textVariants = cva(
|
|
6
6
|
"text-[var(--text-foreground,var(--foreground-1))]",
|
|
7
7
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { Toast as Toast$1 } from '@base-ui/react/toast';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ComponentPropsWithRef } from 'react';
|
|
3
|
+
import { Toast as Toast$1 } from '@base-ui/react/toast';
|
|
4
4
|
|
|
5
5
|
declare const createToastManager: typeof Toast$1.createToastManager;
|
|
6
6
|
declare const useToastManager: typeof Toast$1.useToastManager;
|
|
@@ -13,14 +13,14 @@ type ToastDescriptionProps = ComponentPropsWithRef<typeof Toast$1.Description>;
|
|
|
13
13
|
type ToastCloseProps = ComponentPropsWithRef<typeof Toast$1.Close>;
|
|
14
14
|
type ToastPortalProps = ComponentPropsWithRef<typeof Toast$1.Portal>;
|
|
15
15
|
type ToastPositionerProps = ComponentPropsWithRef<typeof Toast$1.Positioner>;
|
|
16
|
-
declare function ToastProvider(props: ToastProviderProps):
|
|
17
|
-
declare function ToastViewport({ className, ...props }: ToastViewportProps):
|
|
18
|
-
declare function Toast({ className, ...props }: ToastProps):
|
|
19
|
-
declare function ToastContent({ className, ...props }: ToastContentProps):
|
|
20
|
-
declare function ToastTitle({ className, ...props }: ToastTitleProps):
|
|
21
|
-
declare function ToastDescription({ className, ...props }: ToastDescriptionProps):
|
|
22
|
-
declare function ToastClose({ className, ...props }: ToastCloseProps):
|
|
23
|
-
declare function ToastPortal(props: ToastPortalProps):
|
|
24
|
-
declare function ToastPositioner({ className, ...props }: ToastPositionerProps):
|
|
16
|
+
declare function ToastProvider(props: ToastProviderProps): react.JSX.Element;
|
|
17
|
+
declare function ToastViewport({ className, ...props }: ToastViewportProps): react.JSX.Element;
|
|
18
|
+
declare function Toast({ className, ...props }: ToastProps): react.JSX.Element;
|
|
19
|
+
declare function ToastContent({ className, ...props }: ToastContentProps): react.JSX.Element;
|
|
20
|
+
declare function ToastTitle({ className, ...props }: ToastTitleProps): react.JSX.Element;
|
|
21
|
+
declare function ToastDescription({ className, ...props }: ToastDescriptionProps): react.JSX.Element;
|
|
22
|
+
declare function ToastClose({ className, ...props }: ToastCloseProps): react.JSX.Element;
|
|
23
|
+
declare function ToastPortal(props: ToastPortalProps): react.JSX.Element;
|
|
24
|
+
declare function ToastPositioner({ className, ...props }: ToastPositionerProps): react.JSX.Element;
|
|
25
25
|
|
|
26
26
|
export { Toast, ToastClose, type ToastCloseProps, ToastContent, type ToastContentProps, ToastDescription, type ToastDescriptionProps, ToastPortal, type ToastPortalProps, ToastPositioner, type ToastPositionerProps, type ToastProps, ToastProvider, type ToastProviderProps, ToastTitle, type ToastTitleProps, ToastViewport, type ToastViewportProps, createToastManager, useToastManager };
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Toast as BaseToast } from "@base-ui/react/toast";
|
|
5
5
|
import { useThemeScope } from "@publish.os/nextjs/theme-scope";
|
|
6
6
|
import { cn } from "@publish.os/nextjs/utils/cn";
|
|
7
|
-
import { jsx } from "
|
|
7
|
+
import { jsx } from "@publish.os/nextjs/jsx-runtime";
|
|
8
8
|
var createToastManager = BaseToast.createToastManager, useToastManager = BaseToast.useToastManager;
|
|
9
9
|
function ToastProvider(props) {
|
|
10
10
|
return /* @__PURE__ */ jsx(BaseToast.Provider, { ...props });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ComponentPropsWithRef } from 'react';
|
|
3
|
+
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
4
4
|
|
|
5
5
|
type TooltipProviderProps = ComponentPropsWithRef<typeof Tooltip$1.Provider>;
|
|
6
6
|
type TooltipProps = ComponentPropsWithRef<typeof Tooltip$1.Root>;
|
|
@@ -9,12 +9,12 @@ type TooltipPortalProps = ComponentPropsWithRef<typeof Tooltip$1.Portal>;
|
|
|
9
9
|
type TooltipPositionerProps = ComponentPropsWithRef<typeof Tooltip$1.Positioner>;
|
|
10
10
|
type TooltipPopupProps = ComponentPropsWithRef<typeof Tooltip$1.Popup>;
|
|
11
11
|
type TooltipArrowProps = ComponentPropsWithRef<typeof Tooltip$1.Arrow>;
|
|
12
|
-
declare function TooltipProvider(props: TooltipProviderProps):
|
|
13
|
-
declare function Tooltip(props: TooltipProps):
|
|
14
|
-
declare function TooltipTrigger({ className, ...props }: TooltipTriggerProps):
|
|
15
|
-
declare function TooltipPortal(props: TooltipPortalProps):
|
|
16
|
-
declare function TooltipPositioner({ className, sideOffset, ...props }: TooltipPositionerProps):
|
|
17
|
-
declare function TooltipPopup({ className, ...props }: TooltipPopupProps):
|
|
18
|
-
declare function TooltipArrow({ className, ...props }: TooltipArrowProps):
|
|
12
|
+
declare function TooltipProvider(props: TooltipProviderProps): react.JSX.Element;
|
|
13
|
+
declare function Tooltip(props: TooltipProps): react.JSX.Element;
|
|
14
|
+
declare function TooltipTrigger({ className, ...props }: TooltipTriggerProps): react.JSX.Element;
|
|
15
|
+
declare function TooltipPortal(props: TooltipPortalProps): react.JSX.Element;
|
|
16
|
+
declare function TooltipPositioner({ className, sideOffset, ...props }: TooltipPositionerProps): react.JSX.Element;
|
|
17
|
+
declare function TooltipPopup({ className, ...props }: TooltipPopupProps): react.JSX.Element;
|
|
18
|
+
declare function TooltipArrow({ className, ...props }: TooltipArrowProps): react.JSX.Element;
|
|
19
19
|
|
|
20
20
|
export { Tooltip, TooltipArrow, type TooltipArrowProps, TooltipPopup, type TooltipPopupProps, TooltipPortal, type TooltipPortalProps, TooltipPositioner, type TooltipPositionerProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps };
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Tooltip as BaseTooltip } from "@base-ui/react/tooltip";
|
|
5
5
|
import { useThemeScope } from "@publish.os/nextjs/theme-scope";
|
|
6
6
|
import { cn } from "@publish.os/nextjs/utils/cn";
|
|
7
|
-
import { jsx } from "
|
|
7
|
+
import { jsx } from "@publish.os/nextjs/jsx-runtime";
|
|
8
8
|
function TooltipProvider(props) {
|
|
9
9
|
return /* @__PURE__ */ jsx(BaseTooltip.Provider, { ...props });
|
|
10
10
|
}
|
|
@@ -36,8 +36,8 @@ declare const kernelDefaultsRegistry: {
|
|
|
36
36
|
readonly name: "AgentActions";
|
|
37
37
|
readonly status: "available";
|
|
38
38
|
readonly description: "Agent-readable page actions for opening Markdown in AI chats, copying Markdown, and linking to Markdown artifacts.";
|
|
39
|
-
readonly kernelImport: "@publish.os/nextjs/kernel/components/blocks/
|
|
40
|
-
readonly projectPath: "publish.os/components/blocks/
|
|
39
|
+
readonly kernelImport: "@publish.os/nextjs/kernel/components/blocks/agent-actions";
|
|
40
|
+
readonly projectPath: "publish.os/components/blocks/agent-actions.tsx";
|
|
41
41
|
readonly contract: "AgentActionsProps";
|
|
42
42
|
}, {
|
|
43
43
|
readonly category: "ui";
|
|
@@ -226,7 +226,7 @@ declare const kernelDefaultsRegistry: {
|
|
|
226
226
|
readonly category: "block";
|
|
227
227
|
readonly name: "Sidebar";
|
|
228
228
|
readonly status: "available";
|
|
229
|
-
readonly description: "
|
|
229
|
+
readonly description: "Navigation hierarchy with stable layout width, scroll area, focused views, and collapsible groups. Uses the copied SidebarNode primitive for node markup.";
|
|
230
230
|
readonly kernelImport: "@publish.os/nextjs/kernel/components/blocks/sidebar";
|
|
231
231
|
readonly projectPath: "publish.os/components/blocks/sidebar.tsx";
|
|
232
232
|
readonly contract: "SidebarProps";
|
|
@@ -245,17 +245,11 @@ declare const kernelDefaultsRegistry: {
|
|
|
245
245
|
readonly description: "Route transition progress indicator backed by the Progress primitive.";
|
|
246
246
|
readonly kernelImport: "@publish.os/nextjs/kernel/components/blocks/navigation-progress";
|
|
247
247
|
readonly projectPath: "publish.os/components/blocks/navigation-progress.tsx";
|
|
248
|
-
}, {
|
|
249
|
-
readonly category: "block";
|
|
250
|
-
readonly name: "LinkPlayground";
|
|
251
|
-
readonly status: "available";
|
|
252
|
-
readonly description: "Design-system playground for tuning UI and MDX link styling.";
|
|
253
|
-
readonly kernelImport: "@publish.os/nextjs/kernel/components/blocks/link-playground";
|
|
254
248
|
}, {
|
|
255
249
|
readonly category: "block";
|
|
256
250
|
readonly name: "NavBreadcrumb";
|
|
257
251
|
readonly status: "available";
|
|
258
|
-
readonly description: "Breadcrumb trail derived from the
|
|
252
|
+
readonly description: "Breadcrumb trail derived from the resolved navigation hierarchy.";
|
|
259
253
|
readonly kernelImport: "@publish.os/nextjs/kernel/components/blocks/nav-breadcrumb";
|
|
260
254
|
readonly projectPath: "publish.os/components/blocks/nav-breadcrumb.tsx";
|
|
261
255
|
}, {
|
|
@@ -287,13 +281,6 @@ declare const kernelDefaultsRegistry: {
|
|
|
287
281
|
readonly description: "Current token/color preview block. Will be replaced by DesignSystemPreview.";
|
|
288
282
|
readonly kernelImport: "@publish.os/nextjs/kernel/components/blocks/color-palette";
|
|
289
283
|
readonly projectPath: "publish.os/components/blocks/color-palette.tsx";
|
|
290
|
-
}, {
|
|
291
|
-
readonly category: "block";
|
|
292
|
-
readonly name: "DesignSystemPreview";
|
|
293
|
-
readonly status: "available";
|
|
294
|
-
readonly description: "Tabbed preview for active tokens, typography, UI, MDX, and blocks.";
|
|
295
|
-
readonly kernelImport: "@publish.os/nextjs/kernel/components/blocks/design-system-preview";
|
|
296
|
-
readonly projectPath: "publish.os/components/blocks/design-system-preview.tsx";
|
|
297
284
|
}, {
|
|
298
285
|
readonly category: "mdx";
|
|
299
286
|
readonly name: "Heading";
|
|
@@ -24,8 +24,8 @@ var kernelDefaultsRegistry = {
|
|
|
24
24
|
name: "AgentActions",
|
|
25
25
|
status: "available",
|
|
26
26
|
description: "Agent-readable page actions for opening Markdown in AI chats, copying Markdown, and linking to Markdown artifacts.",
|
|
27
|
-
kernelImport: "@publish.os/nextjs/kernel/components/blocks/
|
|
28
|
-
projectPath: "publish.os/components/blocks/
|
|
27
|
+
kernelImport: "@publish.os/nextjs/kernel/components/blocks/agent-actions",
|
|
28
|
+
projectPath: "publish.os/components/blocks/agent-actions.tsx",
|
|
29
29
|
contract: "AgentActionsProps"
|
|
30
30
|
},
|
|
31
31
|
{
|
|
@@ -240,7 +240,7 @@ var kernelDefaultsRegistry = {
|
|
|
240
240
|
category: "block",
|
|
241
241
|
name: "Sidebar",
|
|
242
242
|
status: "available",
|
|
243
|
-
description: "
|
|
243
|
+
description: "Navigation hierarchy with stable layout width, scroll area, focused views, and collapsible groups. Uses the copied SidebarNode primitive for node markup.",
|
|
244
244
|
kernelImport: "@publish.os/nextjs/kernel/components/blocks/sidebar",
|
|
245
245
|
projectPath: "publish.os/components/blocks/sidebar.tsx",
|
|
246
246
|
contract: "SidebarProps"
|
|
@@ -262,18 +262,11 @@ var kernelDefaultsRegistry = {
|
|
|
262
262
|
kernelImport: "@publish.os/nextjs/kernel/components/blocks/navigation-progress",
|
|
263
263
|
projectPath: "publish.os/components/blocks/navigation-progress.tsx"
|
|
264
264
|
},
|
|
265
|
-
{
|
|
266
|
-
category: "block",
|
|
267
|
-
name: "LinkPlayground",
|
|
268
|
-
status: "available",
|
|
269
|
-
description: "Design-system playground for tuning UI and MDX link styling.",
|
|
270
|
-
kernelImport: "@publish.os/nextjs/kernel/components/blocks/link-playground"
|
|
271
|
-
},
|
|
272
265
|
{
|
|
273
266
|
category: "block",
|
|
274
267
|
name: "NavBreadcrumb",
|
|
275
268
|
status: "available",
|
|
276
|
-
description: "Breadcrumb trail derived from the
|
|
269
|
+
description: "Breadcrumb trail derived from the resolved navigation hierarchy.",
|
|
277
270
|
kernelImport: "@publish.os/nextjs/kernel/components/blocks/nav-breadcrumb",
|
|
278
271
|
projectPath: "publish.os/components/blocks/nav-breadcrumb.tsx"
|
|
279
272
|
},
|
|
@@ -310,14 +303,6 @@ var kernelDefaultsRegistry = {
|
|
|
310
303
|
kernelImport: "@publish.os/nextjs/kernel/components/blocks/color-palette",
|
|
311
304
|
projectPath: "publish.os/components/blocks/color-palette.tsx"
|
|
312
305
|
},
|
|
313
|
-
{
|
|
314
|
-
category: "block",
|
|
315
|
-
name: "DesignSystemPreview",
|
|
316
|
-
status: "available",
|
|
317
|
-
description: "Tabbed preview for active tokens, typography, UI, MDX, and blocks.",
|
|
318
|
-
kernelImport: "@publish.os/nextjs/kernel/components/blocks/design-system-preview",
|
|
319
|
-
projectPath: "publish.os/components/blocks/design-system-preview.tsx"
|
|
320
|
-
},
|
|
321
306
|
{
|
|
322
307
|
category: "mdx",
|
|
323
308
|
name: "Heading",
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { NotFoundScope } from '../not-found.js';
|
|
2
|
+
|
|
1
3
|
type MarkdownRouteArtifact = {
|
|
2
4
|
body: string;
|
|
3
5
|
bodyHash?: string;
|
|
@@ -5,6 +7,10 @@ type MarkdownRouteArtifact = {
|
|
|
5
7
|
htmlPath: string;
|
|
6
8
|
markdownPath: string;
|
|
7
9
|
sourceHash?: string;
|
|
10
|
+
robots?: {
|
|
11
|
+
index?: boolean;
|
|
12
|
+
follow?: boolean;
|
|
13
|
+
};
|
|
8
14
|
title: string;
|
|
9
15
|
};
|
|
10
16
|
type MarkdownRouteArtifacts = Record<string, MarkdownRouteArtifact>;
|
|
@@ -37,6 +43,7 @@ type MarkdownRouteDiscoveryLinks = {
|
|
|
37
43
|
};
|
|
38
44
|
type MarkdownRouteHandlerOptions = {
|
|
39
45
|
discoveryLinks?: MarkdownRouteDiscoveryLinks;
|
|
46
|
+
notFoundScopes?: readonly NotFoundScope[];
|
|
40
47
|
};
|
|
41
48
|
type RouteContext = {
|
|
42
49
|
params?: Promise<{
|