@publish.os/nextjs 0.0.1-alpha.91 → 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.
Files changed (153) hide show
  1. package/compiler-assets/nextjs/defaults/group/index.tsx +16 -11
  2. package/compiler-assets/nextjs/defaults/group/layout.tsx +6 -2
  3. package/compiler-assets/nextjs/defaults/group/page.tsx +7 -6
  4. package/compiler-assets/nextjs/defaults/project/next.config.mjs +2 -1
  5. package/compiler-assets/nextjs/defaults/root/index.tsx +16 -11
  6. package/compiler-assets/nextjs/defaults/root/layout.tsx +7 -3
  7. package/compiler-assets/nextjs/shims/agent-user-agents.ts +65 -0
  8. package/compiler-assets/nextjs/shims/document.tsx +9 -1
  9. package/compiler-assets/nextjs/shims/generated-leaf-page.tsx +3 -0
  10. package/compiler-assets/nextjs/shims/proxy.ts +156 -54
  11. package/dist/{build-operation-5QMLXF7N.js → build-operation-CJDUL4OW.js} +5 -5
  12. package/dist/{chunk-GBPLER5H.js → chunk-3T4HVDSC.js} +2 -2
  13. package/dist/{chunk-UYGCOWRF.js → chunk-DX7PXFCM.js} +860 -50
  14. package/dist/{chunk-F3AGNDF4.js → chunk-DZ3VWEV5.js} +860 -575
  15. package/dist/{chunk-OXOFRXEI.js → chunk-NHSLTARU.js} +1284 -1164
  16. package/dist/{chunk-ORIUWJBQ.js → chunk-SBMDONTV.js} +3 -2
  17. package/dist/compiler.js +42 -23
  18. package/dist/components/blocks/agent-actions.d.ts +7 -7
  19. package/dist/components/blocks/agent-actions.js +1 -32
  20. package/dist/components/blocks/toc.d.ts +7 -7
  21. package/dist/components/ui/button.d.ts +1 -2
  22. package/dist/{compose-CVBJRAF6.js → compose-44GJSMXD.js} +2 -2
  23. package/dist/config/createNextConfig.js +2 -0
  24. package/dist/{dev-operation-OSHHWRWK.js → dev-operation-WNECBHZ5.js} +17 -7
  25. package/dist/{ide-support-CU6Z5PVR.js → ide-support-TG74L4FF.js} +3 -3
  26. package/dist/index.d.ts +143 -126
  27. package/dist/index.js +25 -0
  28. package/dist/kernel/components/blocks/AgentActions.d.ts +7 -7
  29. package/dist/kernel/components/blocks/AgentActions.js +1 -32
  30. package/dist/kernel/components/blocks/agent-actions.d.ts +1 -2
  31. package/dist/kernel/components/blocks/agent-actions.js +1 -32
  32. package/dist/kernel/components/blocks/animated-icon-swap.d.ts +2 -2
  33. package/dist/kernel/components/blocks/color-palette.d.ts +2 -2
  34. package/dist/kernel/components/blocks/logo-block.d.ts +2 -2
  35. package/dist/kernel/components/blocks/nav-breadcrumb.d.ts +6 -5
  36. package/dist/kernel/components/blocks/nav-breadcrumb.js +19 -13
  37. package/dist/kernel/components/blocks/navbar.d.ts +5 -4
  38. package/dist/kernel/components/blocks/navbar.js +62 -42
  39. package/dist/kernel/components/blocks/navigation-progress.d.ts +2 -2
  40. package/dist/kernel/components/blocks/next-prev.d.ts +4 -4
  41. package/dist/kernel/components/blocks/next-prev.js +29 -6
  42. package/dist/kernel/components/blocks/page-list.d.ts +4 -4
  43. package/dist/kernel/components/blocks/page-list.js +30 -7
  44. package/dist/kernel/components/blocks/search.d.ts +9 -15
  45. package/dist/kernel/components/blocks/sidebar-node.d.ts +3 -5
  46. package/dist/kernel/components/blocks/sidebar-node.js +12 -2
  47. package/dist/kernel/components/blocks/sidebar.d.ts +6 -7
  48. package/dist/kernel/components/blocks/sidebar.js +132 -26
  49. package/dist/kernel/components/blocks/theme-toggle.d.ts +3 -4
  50. package/dist/kernel/components/blocks/toc-client.d.ts +7 -7
  51. package/dist/kernel/components/blocks/toc.d.ts +3 -3
  52. package/dist/kernel/components/mdx/components/blockquote.d.ts +2 -2
  53. package/dist/kernel/components/mdx/components/callout.d.ts +3 -3
  54. package/dist/kernel/components/mdx/components/code-block.d.ts +2 -2
  55. package/dist/kernel/components/mdx/components/copy-code-button.d.ts +2 -2
  56. package/dist/kernel/components/mdx/components/figure-caption.d.ts +2 -2
  57. package/dist/kernel/components/mdx/components/figure.d.ts +3 -3
  58. package/dist/kernel/components/mdx/components/footnotes.d.ts +2 -2
  59. package/dist/kernel/components/mdx/components/heading-copy-link.d.ts +2 -2
  60. package/dist/kernel/components/mdx/components/heading.d.ts +2 -2
  61. package/dist/kernel/components/mdx/components/hr.d.ts +4 -4
  62. package/dist/kernel/components/mdx/components/image-zoom.d.ts +3 -3
  63. package/dist/kernel/components/mdx/components/image-zoom.js +3 -2
  64. package/dist/kernel/components/mdx/components/image.d.ts +2 -2
  65. package/dist/kernel/components/mdx/components/image.js +1 -1
  66. package/dist/kernel/components/mdx/components/inline-code.d.ts +2 -2
  67. package/dist/kernel/components/mdx/components/kbd.d.ts +3 -3
  68. package/dist/kernel/components/mdx/components/link.d.ts +3 -3
  69. package/dist/kernel/components/mdx/components/paragraph.d.ts +2 -2
  70. package/dist/kernel/components/mdx/components/strikethrough.d.ts +2 -2
  71. package/dist/kernel/components/mdx/components/table.d.ts +7 -7
  72. package/dist/kernel/components/mdx/components/task-list.d.ts +3 -3
  73. package/dist/kernel/components/mdx/components/video-player.d.ts +2 -2
  74. package/dist/kernel/components/mdx/components/video.d.ts +2 -3
  75. package/dist/kernel/components/mdx/error-boundary.d.ts +2 -3
  76. package/dist/kernel/components/mdx/error-fallback.d.ts +2 -2
  77. package/dist/kernel/components/mdx/mdx.d.ts +42 -11
  78. package/dist/kernel/components/mdx/mdx.js +1 -1
  79. package/dist/kernel/components/next-image.d.ts +3 -3
  80. package/dist/kernel/components/ui/accordion.d.ts +7 -7
  81. package/dist/kernel/components/ui/breadcrumb-trail.d.ts +2 -3
  82. package/dist/kernel/components/ui/breadcrumb.d.ts +13 -13
  83. package/dist/kernel/components/ui/button-group.d.ts +5 -5
  84. package/dist/kernel/components/ui/button.d.ts +3 -3
  85. package/dist/kernel/components/ui/card.d.ts +7 -7
  86. package/dist/kernel/components/ui/dialog.d.ts +10 -10
  87. package/dist/kernel/components/ui/drawer.d.ts +12 -12
  88. package/dist/kernel/components/ui/kbd.d.ts +3 -3
  89. package/dist/kernel/components/ui/link.d.ts +3 -3
  90. package/dist/kernel/components/ui/menu.d.ts +22 -22
  91. package/dist/kernel/components/ui/mod-key.d.ts +2 -3
  92. package/dist/kernel/components/ui/navigation-menu.d.ts +15 -15
  93. package/dist/kernel/components/ui/popover.d.ts +11 -11
  94. package/dist/kernel/components/ui/progress.d.ts +7 -7
  95. package/dist/kernel/components/ui/scroll-area.d.ts +1 -2
  96. package/dist/kernel/components/ui/select.d.ts +16 -16
  97. package/dist/kernel/components/ui/separator.d.ts +3 -3
  98. package/dist/kernel/components/ui/table.d.ts +7 -7
  99. package/dist/kernel/components/ui/tabs.d.ts +12 -12
  100. package/dist/kernel/components/ui/tag.d.ts +3 -3
  101. package/dist/kernel/components/ui/text.d.ts +4 -4
  102. package/dist/kernel/components/ui/toast.d.ts +11 -11
  103. package/dist/kernel/components/ui/tooltip.d.ts +9 -9
  104. package/dist/kernel/defaults.registry.d.ts +2 -2
  105. package/dist/kernel/defaults.registry.js +2 -2
  106. package/dist/kernel/routes/agent/markdown.d.ts +4 -0
  107. package/dist/kernel/routes/agent/markdown.js +11 -7
  108. package/dist/kernel/routes/layouts/group.d.ts +1 -1
  109. package/dist/kernel/routes/metadata/feed.d.ts +1 -2
  110. package/dist/kernel/routes/metadata/feed.js +34 -29
  111. package/dist/kernel/routes/metadata/llms.d.ts +3 -31
  112. package/dist/kernel/routes/metadata/llms.js +2 -200
  113. package/dist/kernel/routes/metadata/robots.d.ts +5 -3
  114. package/dist/kernel/routes/metadata/robots.js +4 -25
  115. package/dist/kernel/routes/metadata/sitemap.d.ts +15 -1
  116. package/dist/kernel/routes/metadata/sitemap.js +200 -112
  117. package/dist/kernel/routes/not-found.js +1 -1
  118. package/dist/kernel/routes/pages/group.d.ts +3 -3
  119. package/dist/kernel/routes/pages/group.js +10 -4
  120. package/dist/kernel/routes/pages/leaf.d.ts +9 -4
  121. package/dist/kernel/routes/pages/leaf.js +16 -8
  122. package/dist/kernel/routes/pages/root.d.ts +3 -3
  123. package/dist/kernel/routes/pages/root.js +20 -5
  124. package/dist/keyboard-shortcuts.d.ts +2 -2
  125. package/dist/manifest-types-CcVPH_jh.d.ts +83 -0
  126. package/dist/resolvers/manifest-resolver.d.ts +2 -2
  127. package/dist/resolvers/manifest-resolver.js +65 -35
  128. package/dist/search.d.ts +2 -9
  129. package/dist/search.js +2 -7
  130. package/dist/sidebar-types-CMrMM0Nj.d.ts +105 -0
  131. package/dist/theme-scope.d.ts +2 -2
  132. package/dist/types-BbqmOzLC.d.ts +168 -0
  133. package/dist/types-TjH1ek0X.d.ts +22 -0
  134. package/dist/types.d.ts +116 -91
  135. package/dist/{validate-local-source-SV44DBQT.js → validate-local-source-EN2GW4FR.js} +3 -3
  136. package/dist/{validate-publish-os-source-NZJF3TB2.js → validate-publish-os-source-OEWQDB7B.js} +2 -2
  137. package/init/seed/minimal/publish.os/blog/index.tsx +25 -22
  138. package/init/seed/minimal/publish.os/blog/page.tsx +31 -16
  139. package/init/seed/minimal/publish.os/components/blog/copy-link.tsx +1 -1
  140. package/init/seed/minimal/publish.os/components/blog/frontmatter.ts +41 -0
  141. package/init/seed/minimal/publish.os/publish.os.config.json +13 -2
  142. package/init/seed/minimal/seed.json +1 -0
  143. package/init/seed/scratch/publish.os/publish.os.config.json +1 -1
  144. package/package.json +4 -4
  145. package/release/app/phosphor/package.json +1 -1
  146. package/release/app/phosphor/pnpm-lock.yaml.template +53 -127
  147. package/release/compiler/pnpm-lock.yaml.template +49 -123
  148. package/release/release.json +4 -4
  149. package/dist/sidebar-types-DKpR27II.d.ts +0 -25
  150. package/dist/types-CJWRG05y.d.ts +0 -76
  151. package/dist/types-CUtrppxt.d.ts +0 -69
  152. package/dist/types-J2w_puPF.d.ts +0 -128
  153. package/dist/{button-BdCScEKi.d.ts → button-D6Xp2HBm.d.ts} +1 -1
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
- declare function Table(props: React.ComponentPropsWithoutRef<"table">): react_jsx_runtime.JSX.Element;
4
- declare function TableHeadGroup(props: React.ComponentPropsWithoutRef<"thead">): react_jsx_runtime.JSX.Element;
5
- declare function TableBodyGroup(props: React.ComponentPropsWithoutRef<"tbody">): react_jsx_runtime.JSX.Element;
6
- declare function TableRowGroup(props: React.ComponentPropsWithoutRef<"tr">): react_jsx_runtime.JSX.Element;
7
- declare function TableHeaderCell(props: React.ComponentPropsWithoutRef<"th">): react_jsx_runtime.JSX.Element;
8
- declare function TableDataCell(props: React.ComponentPropsWithoutRef<"td">): react_jsx_runtime.JSX.Element;
3
+ declare function Table(props: React.ComponentPropsWithoutRef<"table">): react.JSX.Element;
4
+ declare function TableHeadGroup(props: React.ComponentPropsWithoutRef<"thead">): react.JSX.Element;
5
+ declare function TableBodyGroup(props: React.ComponentPropsWithoutRef<"tbody">): react.JSX.Element;
6
+ declare function TableRowGroup(props: React.ComponentPropsWithoutRef<"tr">): react.JSX.Element;
7
+ declare function TableHeaderCell(props: React.ComponentPropsWithoutRef<"th">): react.JSX.Element;
8
+ declare function TableDataCell(props: React.ComponentPropsWithoutRef<"td">): react.JSX.Element;
9
9
 
10
10
  export { Table, TableBodyGroup, TableDataCell, TableHeadGroup, TableHeaderCell, TableRowGroup };
@@ -1,8 +1,8 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
3
  type TaskListProps = React.ComponentPropsWithoutRef<"ul">;
4
4
  type TaskListInputProps = React.ComponentPropsWithoutRef<"input">;
5
- declare function TaskList({ className, ...props }: TaskListProps): react_jsx_runtime.JSX.Element;
6
- declare function TaskListInput({ checked, className, type, }: TaskListInputProps): react_jsx_runtime.JSX.Element | null;
5
+ declare function TaskList({ className, ...props }: TaskListProps): react.JSX.Element;
6
+ declare function TaskListInput({ checked, className, type, }: TaskListInputProps): react.JSX.Element | null;
7
7
 
8
8
  export { TaskList, TaskListInput, type TaskListInputProps, type TaskListProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ComponentPropsWithoutRef } from 'react';
3
3
 
4
4
  type VideoEmbed = {
@@ -17,6 +17,6 @@ declare function VideoPlayer({ className, embed, height, nativeProps, poster, sr
17
17
  src: string;
18
18
  title: string;
19
19
  width?: number;
20
- }): react_jsx_runtime.JSX.Element;
20
+ }): react.JSX.Element;
21
21
 
22
22
  export { type NativeVideoProps, type VideoEmbed, VideoPlayer };
@@ -1,6 +1,5 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { NativeVideoProps } from './video-player.js';
3
- import 'react';
4
3
 
5
4
  type VideoProps = NativeVideoProps & {
6
5
  caption?: React.ReactNode;
@@ -12,6 +11,6 @@ type VideoProps = NativeVideoProps & {
12
11
  title?: string;
13
12
  width?: number | string;
14
13
  };
15
- declare function Video({ caption, className, frame, height, poster, src, title, width, ...nativeProps }: VideoProps): react_jsx_runtime.JSX.Element | null;
14
+ declare function Video({ caption, className, frame, height, poster, src, title, width, ...nativeProps }: VideoProps): react.JSX.Element | null;
16
15
 
17
16
  export { Video, type VideoProps };
@@ -1,8 +1,7 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { M as MdxErrorBoundaryProps } from '../../../types-sM2g9nW0.js';
3
3
  import 'mdx/types.js';
4
- import 'react';
5
4
 
6
- declare function MDXErrorBoundary({ errorMessage, pageId, slug, children, }: MdxErrorBoundaryProps): react_jsx_runtime.JSX.Element;
5
+ declare function MDXErrorBoundary({ errorMessage, pageId, slug, children, }: MdxErrorBoundaryProps): react.JSX.Element;
7
6
 
8
7
  export { MDXErrorBoundary };
@@ -1,9 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
3
  declare function MDXErrorFallback({ errorMessage, pageId, slug, }: {
4
4
  errorMessage?: string;
5
5
  pageId?: string;
6
6
  slug?: string;
7
- }): react_jsx_runtime.JSX.Element;
7
+ }): react.JSX.Element;
8
8
 
9
9
  export { MDXErrorFallback };
@@ -1,21 +1,52 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { a as MDXComponents } from '../../../types-sM2g9nW0.js';
3
- import { P as PageData } from '../../../types-CJWRG05y.js';
1
+ import * as react from 'react';
4
2
  import { ReactNode, AnchorHTMLAttributes, ComponentPropsWithoutRef } from 'react';
3
+ import { a as MDXComponents } from '../../../types-sM2g9nW0.js';
5
4
  import * as class_variance_authority_types from 'class-variance-authority/types';
6
- import { a as ButtonVariantProps } from '../../../button-BdCScEKi.js';
5
+ import { a as ButtonVariantProps } from '../../../button-D6Xp2HBm.js';
7
6
  import { VariantProps } from 'class-variance-authority';
8
7
  import { LinkProps as LinkProps$1 } from 'next/link';
9
8
  import 'mdx/types.js';
10
9
 
10
+ type OgImageMetadata = string | {
11
+ src: string;
12
+ alt?: string;
13
+ };
14
+ type OgMetadata = {
15
+ title?: string;
16
+ description?: string;
17
+ image?: OgImageMetadata;
18
+ };
19
+ type PageStatus = "published" | "draft";
20
+ type PageMetadata = {
21
+ openGraph?: OgMetadata;
22
+ robots?: {
23
+ index?: boolean;
24
+ follow?: boolean;
25
+ };
26
+ };
27
+ type PageFrontmatter<TCustom extends Record<string, unknown> = Record<string, unknown>> = TCustom & {
28
+ title: string;
29
+ description: string;
30
+ slug: string;
31
+ status: PageStatus;
32
+ metadata: PageMetadata;
33
+ };
34
+ type PageData<TCustom extends Record<string, unknown> = Record<string, unknown>> = {
35
+ fileID: string;
36
+ group: string;
37
+ path: string;
38
+ frontmatter: PageFrontmatter<TCustom>;
39
+ body: string;
40
+ };
41
+
11
42
  type FigureCaptionProps = React.ComponentProps<"figcaption">;
12
- declare function FigureCaption({ className, ...props }: FigureCaptionProps): react_jsx_runtime.JSX.Element;
43
+ declare function FigureCaption({ className, ...props }: FigureCaptionProps): react.JSX.Element;
13
44
 
14
45
  type FigureProps = React.ComponentProps<"figure"> & {
15
46
  /** A fallback caption after the children. An authored caption takes precedence. */
16
47
  caption?: ReactNode;
17
48
  };
18
- declare function Figure({ caption, children, className, ...props }: FigureProps): react_jsx_runtime.JSX.Element;
49
+ declare function Figure({ caption, children, className, ...props }: FigureProps): react.JSX.Element;
19
50
  declare namespace Figure {
20
51
  var Caption: typeof FigureCaption;
21
52
  }
@@ -36,7 +67,7 @@ type ImageProps = Omit<React.ComponentPropsWithoutRef<"img">, "height" | "sizes"
36
67
  width?: number;
37
68
  zoom?: boolean;
38
69
  };
39
- declare function Image({ alt, aspect, caption, className, decorative: authoredDecorative, fill: authoredFill, frame, height, intrinsicHeight, intrinsicWidth, optimized: authoredOptimized, priority: authoredPriority, quality, sizes, src, width, zoom: authoredZoom, ...props }: ImageProps): react_jsx_runtime.JSX.Element | null;
70
+ declare function Image({ alt, aspect, caption, className, decorative: authoredDecorative, fill: authoredFill, frame, height, intrinsicHeight, intrinsicWidth, optimized: authoredOptimized, priority: authoredPriority, quality, sizes, src, width, zoom: authoredZoom, ...props }: ImageProps): react.JSX.Element | null;
40
71
 
41
72
  declare const linkVariants: (props?: ({
42
73
  color?: "default" | "accent" | null | undefined;
@@ -63,7 +94,7 @@ type LinkProps = {
63
94
  } & Omit<LinkVariantProps, "color" | "variant"> & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "color" | "href">;
64
95
 
65
96
  type MdxLinkProps = LinkProps;
66
- declare function Link({ color, href, size, variant, ...props }: MdxLinkProps): react_jsx_runtime.JSX.Element;
97
+ declare function Link({ color, href, size, variant, ...props }: MdxLinkProps): react.JSX.Element;
67
98
 
68
99
  /** Native playback options and media events applied after the Play button. */
69
100
  type NativeVideoProps = Pick<ComponentPropsWithoutRef<"video">, "autoPlay" | "controls" | "controlsList" | "crossOrigin" | "disablePictureInPicture" | "disableRemotePlayback" | "loop" | "muted" | "playsInline" | "preload" | "onAbort" | "onCanPlay" | "onCanPlayThrough" | "onDurationChange" | "onEmptied" | "onEncrypted" | "onEnded" | "onError" | "onLoadedData" | "onLoadedMetadata" | "onLoadStart" | "onPause" | "onPlay" | "onPlaying" | "onProgress" | "onRateChange" | "onResize" | "onSeeked" | "onSeeking" | "onStalled" | "onSuspend" | "onTimeUpdate" | "onVolumeChange" | "onWaiting">;
@@ -78,7 +109,7 @@ type VideoProps = NativeVideoProps & {
78
109
  title?: string;
79
110
  width?: number | string;
80
111
  };
81
- declare function Video({ caption, className, frame, height, poster, src, title, width, ...nativeProps }: VideoProps): react_jsx_runtime.JSX.Element | null;
112
+ declare function Video({ caption, className, frame, height, poster, src, title, width, ...nativeProps }: VideoProps): react.JSX.Element | null;
82
113
 
83
114
  type MDXProps = {
84
115
  components?: MDXComponents;
@@ -87,7 +118,7 @@ type MDXProps = {
87
118
  declare function renderMdx({ components, page, siteComponents, importedComponents, }: MDXProps & {
88
119
  siteComponents?: MDXComponents;
89
120
  importedComponents?: MDXComponents;
90
- }): Promise<react_jsx_runtime.JSX.Element>;
91
- declare function MDX(props: MDXProps): Promise<react_jsx_runtime.JSX.Element>;
121
+ }): Promise<react.JSX.Element>;
122
+ declare function MDX(props: MDXProps): Promise<react.JSX.Element>;
92
123
 
93
124
  export { Figure, Image, Link, MDX, MDXComponents, type MDXProps, Video, renderMdx };
@@ -363,7 +363,7 @@ async function renderMdx({
363
363
  {
364
364
  errorMessage: mdx.errorMessage,
365
365
  pageId: page.fileID,
366
- slug: page.slug,
366
+ slug: page.frontmatter.slug,
367
367
  children: /* @__PURE__ */ jsx2("div", { className: "markdown-prose", children: mdx.compiledContent })
368
368
  }
369
369
  );
@@ -1,12 +1,12 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import NextImage, { getImageProps as getImageProps$1 } from 'next/dist/shared/lib/image-external';
1
+ import * as react from 'react';
3
2
  import { ComponentProps } from 'react';
3
+ import NextImage, { getImageProps as getImageProps$1 } from 'next/dist/shared/lib/image-external';
4
4
  export { ImageProps } from 'next/image';
5
5
 
6
6
  type NextImageComponentProps = ComponentProps<typeof NextImage>;
7
7
  /** Keep the helper callable from server and client components. */
8
8
  declare function getImageProps(props: Parameters<typeof getImageProps$1>[0]): ReturnType<typeof getImageProps$1>;
9
9
  /** Keep remote image URLs direct while preserving Next.js behavior for local assets. */
10
- declare function PublishOsNextImage(props: NextImageComponentProps): react_jsx_runtime.JSX.Element;
10
+ declare function PublishOsNextImage(props: NextImageComponentProps): react.JSX.Element;
11
11
 
12
12
  export { PublishOsNextImage as default, getImageProps };
@@ -1,16 +1,16 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
1
+ import * as react from 'react';
3
2
  import { ComponentPropsWithoutRef } from 'react';
3
+ import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
4
4
 
5
5
  type AccordionProps = ComponentPropsWithoutRef<typeof Accordion$1.Root>;
6
6
  type AccordionItemProps = ComponentPropsWithoutRef<typeof Accordion$1.Item>;
7
7
  type AccordionHeaderProps = ComponentPropsWithoutRef<typeof Accordion$1.Header>;
8
8
  type AccordionTriggerProps = ComponentPropsWithoutRef<typeof Accordion$1.Trigger>;
9
9
  type AccordionPanelProps = ComponentPropsWithoutRef<typeof Accordion$1.Panel>;
10
- declare function Accordion(props: AccordionProps): react_jsx_runtime.JSX.Element;
11
- declare function AccordionItem({ className, ...props }: AccordionItemProps): react_jsx_runtime.JSX.Element;
12
- declare function AccordionHeader({ className, ...props }: AccordionHeaderProps): react_jsx_runtime.JSX.Element;
13
- declare function AccordionTrigger({ className, ...props }: AccordionTriggerProps): react_jsx_runtime.JSX.Element;
14
- declare function AccordionPanel({ className, ...props }: AccordionPanelProps): react_jsx_runtime.JSX.Element;
10
+ declare function Accordion(props: AccordionProps): react.JSX.Element;
11
+ declare function AccordionItem({ className, ...props }: AccordionItemProps): react.JSX.Element;
12
+ declare function AccordionHeader({ className, ...props }: AccordionHeaderProps): react.JSX.Element;
13
+ declare function AccordionTrigger({ className, ...props }: AccordionTriggerProps): react.JSX.Element;
14
+ declare function AccordionPanel({ className, ...props }: AccordionPanelProps): react.JSX.Element;
15
15
 
16
16
  export { Accordion, AccordionHeader, type AccordionHeaderProps, AccordionItem, type AccordionItemProps, AccordionPanel, type AccordionPanelProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps };
@@ -1,14 +1,13 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { BreadcrumbTrailProps } from './breadcrumb.js';
3
3
  import 'class-variance-authority/types';
4
4
  import './button.js';
5
5
  import 'class-variance-authority';
6
- import 'react';
7
6
  import 'next/link';
8
7
 
9
8
  type CollapsibleBreadcrumbTrailProps = BreadcrumbTrailProps & {
10
9
  menuLabel?: string;
11
10
  };
12
- declare function CollapsibleBreadcrumbTrail({ className, items, menuLabel, size, variant, }: CollapsibleBreadcrumbTrailProps): react_jsx_runtime.JSX.Element;
11
+ declare function CollapsibleBreadcrumbTrail({ className, items, menuLabel, size, variant, }: CollapsibleBreadcrumbTrailProps): react.JSX.Element;
13
12
 
14
13
  export { CollapsibleBreadcrumbTrail, type CollapsibleBreadcrumbTrailProps };
@@ -1,12 +1,12 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
+ import { ReactNode, ComponentPropsWithoutRef, HTMLAttributes } from 'react';
2
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
4
  import { ButtonVariantProps } from './button.js';
4
5
  import { VariantProps } from 'class-variance-authority';
5
6
  import NextLink from 'next/link';
6
- import { ReactNode, ComponentPropsWithoutRef, HTMLAttributes } from 'react';
7
7
 
8
8
  declare const linkVariants: (props?: ({
9
- color?: "accent" | "default" | null | undefined;
9
+ color?: "default" | "accent" | null | undefined;
10
10
  size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
11
11
  variant?: "inline" | "standalone" | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string;
@@ -23,18 +23,18 @@ type BreadcrumbSizeProps = Pick<BreadcrumbVariantProps, "size">;
23
23
  type BreadcrumbStyleProps = {
24
24
  variant?: BreadcrumbStyleVariant;
25
25
  };
26
- declare function Breadcrumb({ className, ...props }: ComponentPropsWithoutRef<"nav">): react_jsx_runtime.JSX.Element;
27
- declare function BreadcrumbList({ className, size, ...props }: BreadcrumbSizeProps & ComponentPropsWithoutRef<"ol">): react_jsx_runtime.JSX.Element;
28
- declare function BreadcrumbItem({ className, size, ...props }: BreadcrumbSizeProps & ComponentPropsWithoutRef<"li">): react_jsx_runtime.JSX.Element;
26
+ declare function Breadcrumb({ className, ...props }: ComponentPropsWithoutRef<"nav">): react.JSX.Element;
27
+ declare function BreadcrumbList({ className, size, ...props }: BreadcrumbSizeProps & ComponentPropsWithoutRef<"ol">): react.JSX.Element;
28
+ declare function BreadcrumbItem({ className, size, ...props }: BreadcrumbSizeProps & ComponentPropsWithoutRef<"li">): react.JSX.Element;
29
29
  type BreadcrumbLinkProps = {
30
30
  active?: boolean;
31
31
  children?: ReactNode;
32
32
  href: string;
33
33
  } & BreadcrumbSizeProps & BreadcrumbStyleProps & Omit<ComponentPropsWithoutRef<typeof NextLink>, "href">;
34
- declare function BreadcrumbLink({ active, children, className, href, size, variant, ...props }: BreadcrumbLinkProps): react_jsx_runtime.JSX.Element;
35
- declare function BreadcrumbPage({ className, size, variant, ...props }: BreadcrumbSizeProps & BreadcrumbStyleProps & ComponentPropsWithoutRef<"span">): react_jsx_runtime.JSX.Element;
36
- declare function BreadcrumbSeparator({ children, className, size, ...props }: BreadcrumbSizeProps & HTMLAttributes<HTMLLIElement>): react_jsx_runtime.JSX.Element;
37
- declare function BreadcrumbEllipsis({ className, size, ...props }: BreadcrumbSizeProps & ComponentPropsWithoutRef<"span">): react_jsx_runtime.JSX.Element;
34
+ declare function BreadcrumbLink({ active, children, className, href, size, variant, ...props }: BreadcrumbLinkProps): react.JSX.Element;
35
+ declare function BreadcrumbPage({ className, size, variant, ...props }: BreadcrumbSizeProps & BreadcrumbStyleProps & ComponentPropsWithoutRef<"span">): react.JSX.Element;
36
+ declare function BreadcrumbSeparator({ children, className, size, ...props }: BreadcrumbSizeProps & HTMLAttributes<HTMLLIElement>): react.JSX.Element;
37
+ declare function BreadcrumbEllipsis({ className, size, ...props }: BreadcrumbSizeProps & ComponentPropsWithoutRef<"span">): react.JSX.Element;
38
38
  type BreadcrumbTrailItem = {
39
39
  current?: boolean;
40
40
  href: string;
@@ -46,11 +46,11 @@ type BreadcrumbTrailProps = {
46
46
  } & BreadcrumbSizeProps & BreadcrumbStyleProps;
47
47
  declare function BreadcrumbTrailEntry({ item, size, variant, }: {
48
48
  item: BreadcrumbTrailItem;
49
- } & BreadcrumbSizeProps & BreadcrumbStyleProps): react_jsx_runtime.JSX.Element;
49
+ } & BreadcrumbSizeProps & BreadcrumbStyleProps): react.JSX.Element;
50
50
  declare function BreadcrumbTrailMenu({ hidden, menuLabel, size, }: {
51
51
  hidden: BreadcrumbTrailItem[];
52
52
  menuLabel: string;
53
- } & BreadcrumbSizeProps & BreadcrumbStyleProps): react_jsx_runtime.JSX.Element;
54
- declare function BreadcrumbTrail({ className, items, size, variant, }: BreadcrumbTrailProps): react_jsx_runtime.JSX.Element;
53
+ } & BreadcrumbSizeProps & BreadcrumbStyleProps): react.JSX.Element;
54
+ declare function BreadcrumbTrail({ className, items, size, variant, }: BreadcrumbTrailProps): react.JSX.Element;
55
55
 
56
56
  export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type BreadcrumbStyleVariant, BreadcrumbTrail, BreadcrumbTrailEntry, type BreadcrumbTrailItem, BreadcrumbTrailMenu, type BreadcrumbTrailProps, type BreadcrumbVariantProps, breadcrumbVariants };
@@ -1,8 +1,8 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
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 { ButtonVariantProps } from './button.js';
4
5
  import { Separator } from '@base-ui/react/separator';
5
- import { ComponentPropsWithoutRef } from 'react';
6
6
  import { VariantProps } from 'class-variance-authority';
7
7
 
8
8
  type SeparatorProps = ComponentPropsWithoutRef<typeof Separator>;
@@ -11,10 +11,10 @@ declare const buttonGroupVariants: (props?: ({
11
11
  orientation?: "horizontal" | "vertical" | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string;
13
13
  type ButtonGroupProps = ComponentPropsWithoutRef<"div"> & VariantProps<typeof buttonGroupVariants>;
14
- declare function ButtonGroup({ className, orientation, ...props }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
14
+ declare function ButtonGroup({ className, orientation, ...props }: ButtonGroupProps): react.JSX.Element;
15
15
  type ButtonGroupTextProps = Omit<ComponentPropsWithoutRef<"div">, "color"> & Pick<ButtonVariantProps, "size" | "variant">;
16
- declare function ButtonGroupText({ className, size, variant, ...props }: ButtonGroupTextProps): react_jsx_runtime.JSX.Element;
16
+ declare function ButtonGroupText({ className, size, variant, ...props }: ButtonGroupTextProps): react.JSX.Element;
17
17
  type ButtonGroupSeparatorProps = SeparatorProps;
18
- declare function ButtonGroupSeparator({ className, orientation, ...props }: ButtonGroupSeparatorProps): react_jsx_runtime.JSX.Element;
18
+ declare function ButtonGroupSeparator({ className, orientation, ...props }: ButtonGroupSeparatorProps): react.JSX.Element;
19
19
 
20
20
  export { ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, buttonGroupVariants };
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
+ import { ReactNode, ComponentPropsWithRef } 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 { ReactNode, ComponentPropsWithRef } from 'react';
5
5
 
6
6
  declare const buttonVariantBase: string;
7
7
  /**
@@ -69,6 +69,6 @@ type ButtonProps = {
69
69
  loading?: boolean;
70
70
  rightIcon?: ReactNode;
71
71
  } & ButtonVariantProps & Omit<ComponentPropsWithRef<"button">, "children" | "className">;
72
- declare function Button({ active, children, className, disabled, iconOnly, leftIcon, loading, rightIcon, size, type, variant, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
72
+ declare function Button({ active, children, className, disabled, iconOnly, leftIcon, loading, rightIcon, size, type, variant, ...props }: ButtonProps): react.JSX.Element;
73
73
 
74
74
  export { Button, type ButtonProps, type ButtonVariantProps, buttonVariantBase, buttonVariantConfig, buttonVariants };
@@ -1,17 +1,17 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
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 cardVariants: (props?: ({
7
7
  variant?: "default" | "elevated" | "ghost" | "inset" | null | undefined;
8
8
  padding?: "none" | "sm" | "md" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  type CardProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardVariants>;
11
- declare function Card({ className, padding, variant, ...props }: CardProps): react_jsx_runtime.JSX.Element;
12
- declare function CardHeader({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
13
- declare function CardTitle({ className, ...props }: HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
14
- declare function CardDescription({ className, ...props }: HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
15
- declare function CardContent({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
11
+ declare function Card({ className, padding, variant, ...props }: CardProps): react.JSX.Element;
12
+ declare function CardHeader({ className, ...props }: HTMLAttributes<HTMLDivElement>): react.JSX.Element;
13
+ declare function CardTitle({ className, ...props }: HTMLAttributes<HTMLHeadingElement>): react.JSX.Element;
14
+ declare function CardDescription({ className, ...props }: HTMLAttributes<HTMLParagraphElement>): react.JSX.Element;
15
+ declare function CardContent({ className, ...props }: HTMLAttributes<HTMLDivElement>): react.JSX.Element;
16
16
 
17
17
  export { Card, CardContent, CardDescription, CardHeader, type CardProps, CardTitle, cardVariants };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
1
+ import * as react from 'react';
3
2
  import { ComponentPropsWithRef } from 'react';
3
+ import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
4
4
 
5
5
  type DialogProps = ComponentPropsWithRef<typeof Dialog$1.Root>;
6
6
  type DialogTriggerProps = ComponentPropsWithRef<typeof Dialog$1.Trigger>;
@@ -10,13 +10,13 @@ type DialogPopupProps = ComponentPropsWithRef<typeof Dialog$1.Popup>;
10
10
  type DialogTitleProps = ComponentPropsWithRef<typeof Dialog$1.Title>;
11
11
  type DialogDescriptionProps = ComponentPropsWithRef<typeof Dialog$1.Description>;
12
12
  type DialogCloseProps = ComponentPropsWithRef<typeof Dialog$1.Close>;
13
- declare function Dialog(props: DialogProps): react_jsx_runtime.JSX.Element;
14
- declare function DialogTrigger({ className, ...props }: DialogTriggerProps): react_jsx_runtime.JSX.Element;
15
- declare function DialogPortal(props: DialogPortalProps): react_jsx_runtime.JSX.Element;
16
- declare function DialogBackdrop({ className, ...props }: DialogBackdropProps): react_jsx_runtime.JSX.Element;
17
- declare function DialogPopup({ className, ...props }: DialogPopupProps): react_jsx_runtime.JSX.Element;
18
- declare function DialogTitle({ className, ...props }: DialogTitleProps): react_jsx_runtime.JSX.Element;
19
- declare function DialogDescription({ className, ...props }: DialogDescriptionProps): react_jsx_runtime.JSX.Element;
20
- declare function DialogClose({ className, ...props }: DialogCloseProps): react_jsx_runtime.JSX.Element;
13
+ declare function Dialog(props: DialogProps): react.JSX.Element;
14
+ declare function DialogTrigger({ className, ...props }: DialogTriggerProps): react.JSX.Element;
15
+ declare function DialogPortal(props: DialogPortalProps): react.JSX.Element;
16
+ declare function DialogBackdrop({ className, ...props }: DialogBackdropProps): react.JSX.Element;
17
+ declare function DialogPopup({ className, ...props }: DialogPopupProps): react.JSX.Element;
18
+ declare function DialogTitle({ className, ...props }: DialogTitleProps): react.JSX.Element;
19
+ declare function DialogDescription({ className, ...props }: DialogDescriptionProps): react.JSX.Element;
20
+ declare function DialogClose({ className, ...props }: DialogCloseProps): react.JSX.Element;
21
21
 
22
22
  export { Dialog, DialogBackdrop, type DialogBackdropProps, DialogClose, type DialogCloseProps, DialogDescription, type DialogDescriptionProps, DialogPopup, type DialogPopupProps, DialogPortal, type DialogPortalProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Drawer as Drawer$1 } from '@base-ui/react/drawer';
1
+ import * as react from 'react';
3
2
  import { ComponentPropsWithRef } from 'react';
3
+ import { Drawer as Drawer$1 } from '@base-ui/react/drawer';
4
4
 
5
5
  type DrawerProps = ComponentPropsWithRef<typeof Drawer$1.Root>;
6
6
  type DrawerTriggerProps = ComponentPropsWithRef<typeof Drawer$1.Trigger>;
@@ -12,15 +12,15 @@ type DrawerPopupProps = ComponentPropsWithRef<typeof Drawer$1.Popup>;
12
12
  type DrawerTitleProps = ComponentPropsWithRef<typeof Drawer$1.Title>;
13
13
  type DrawerDescriptionProps = ComponentPropsWithRef<typeof Drawer$1.Description>;
14
14
  type DrawerCloseProps = ComponentPropsWithRef<typeof Drawer$1.Close>;
15
- declare function Drawer(props: DrawerProps): react_jsx_runtime.JSX.Element;
16
- declare function DrawerVirtualKeyboardProvider(props: DrawerVirtualKeyboardProviderProps): react_jsx_runtime.JSX.Element;
17
- declare function DrawerTrigger({ className, ...props }: DrawerTriggerProps): react_jsx_runtime.JSX.Element;
18
- declare function DrawerPortal(props: DrawerPortalProps): react_jsx_runtime.JSX.Element;
19
- declare function DrawerBackdrop({ className, ...props }: DrawerBackdropProps): react_jsx_runtime.JSX.Element;
20
- declare function DrawerViewport({ className, ...props }: DrawerViewportProps): react_jsx_runtime.JSX.Element;
21
- declare function DrawerPopup({ className, ...props }: DrawerPopupProps): react_jsx_runtime.JSX.Element;
22
- declare function DrawerTitle({ className, ...props }: DrawerTitleProps): react_jsx_runtime.JSX.Element;
23
- declare function DrawerDescription({ className, ...props }: DrawerDescriptionProps): react_jsx_runtime.JSX.Element;
24
- declare function DrawerClose({ className, ...props }: DrawerCloseProps): react_jsx_runtime.JSX.Element;
15
+ declare function Drawer(props: DrawerProps): react.JSX.Element;
16
+ declare function DrawerVirtualKeyboardProvider(props: DrawerVirtualKeyboardProviderProps): react.JSX.Element;
17
+ declare function DrawerTrigger({ className, ...props }: DrawerTriggerProps): react.JSX.Element;
18
+ declare function DrawerPortal(props: DrawerPortalProps): react.JSX.Element;
19
+ declare function DrawerBackdrop({ className, ...props }: DrawerBackdropProps): react.JSX.Element;
20
+ declare function DrawerViewport({ className, ...props }: DrawerViewportProps): react.JSX.Element;
21
+ declare function DrawerPopup({ className, ...props }: DrawerPopupProps): react.JSX.Element;
22
+ declare function DrawerTitle({ className, ...props }: DrawerTitleProps): react.JSX.Element;
23
+ declare function DrawerDescription({ className, ...props }: DrawerDescriptionProps): react.JSX.Element;
24
+ declare function DrawerClose({ className, ...props }: DrawerCloseProps): react.JSX.Element;
25
25
 
26
26
  export { Drawer, DrawerBackdrop, type DrawerBackdropProps, DrawerClose, type DrawerCloseProps, DrawerDescription, type DrawerDescriptionProps, DrawerPopup, type DrawerPopupProps, DrawerPortal, type DrawerPortalProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DrawerViewport, type DrawerViewportProps, DrawerVirtualKeyboardProvider, type DrawerVirtualKeyboardProviderProps };
@@ -1,13 +1,13 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
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 kbdVariants: (props?: ({
7
7
  size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
8
8
  square?: boolean | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  type KbdProps = HTMLAttributes<HTMLElement> & VariantProps<typeof kbdVariants>;
11
- declare function Kbd({ children, className, size, square, ...props }: KbdProps): react_jsx_runtime.JSX.Element;
11
+ declare function Kbd({ children, className, size, square, ...props }: KbdProps): react.JSX.Element;
12
12
 
13
13
  export { Kbd, type KbdProps, kbdVariants };
@@ -1,8 +1,8 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
+ import { ReactNode, AnchorHTMLAttributes } from 'react';
2
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
4
  import { VariantProps } from 'class-variance-authority';
4
5
  import { LinkProps as LinkProps$1 } from 'next/link';
5
- import { ReactNode, AnchorHTMLAttributes } from 'react';
6
6
 
7
7
  declare const buttonVariants: (props?: ({
8
8
  readonly variant?: "ghost" | "solid" | "soft" | "outline" | null | undefined;
@@ -34,6 +34,6 @@ type LinkProps = {
34
34
  rightIcon?: ReactNode;
35
35
  variant?: LinkVariant;
36
36
  } & Omit<LinkVariantProps, "color" | "variant"> & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "color" | "href">;
37
- declare function Link({ active, children, className, color, disabled, href, iconOnly, leftIcon, prefetch, rel, rightIcon, size, style, target, variant, ...props }: LinkProps): react_jsx_runtime.JSX.Element;
37
+ declare function Link({ active, children, className, color, disabled, href, iconOnly, leftIcon, prefetch, rel, rightIcon, size, style, target, variant, ...props }: LinkProps): react.JSX.Element;
38
38
 
39
39
  export { Link, type LinkButtonVariant, type LinkProps, type LinkStyleVariant, type LinkVariant, type LinkVariantProps, linkVariants };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Menu as Menu$1 } from '@base-ui/react/menu';
1
+ import * as react from 'react';
3
2
  import { ComponentPropsWithRef } from 'react';
3
+ import { Menu as Menu$1 } from '@base-ui/react/menu';
4
4
 
5
5
  type MenuProps = ComponentPropsWithRef<typeof Menu$1.Root>;
6
6
  type MenuArrowProps = ComponentPropsWithRef<typeof Menu$1.Arrow>;
@@ -22,26 +22,26 @@ type MenuRadioItemIndicatorProps = ComponentPropsWithRef<typeof Menu$1.RadioItem
22
22
  type MenuGroupProps = ComponentPropsWithRef<typeof Menu$1.Group>;
23
23
  type MenuGroupLabelProps = ComponentPropsWithRef<typeof Menu$1.GroupLabel>;
24
24
  type MenuSeparatorProps = ComponentPropsWithRef<typeof Menu$1.Separator>;
25
- declare function MenuRoot(props: MenuProps): react_jsx_runtime.JSX.Element;
26
- declare function MenuTrigger({ className, ...props }: MenuTriggerProps): react_jsx_runtime.JSX.Element;
27
- declare function MenuPortal(props: MenuPortalProps): react_jsx_runtime.JSX.Element;
28
- declare function MenuBackdrop({ className, ...props }: MenuBackdropProps): react_jsx_runtime.JSX.Element;
29
- declare function MenuPositioner({ className, sideOffset, ...props }: MenuPositionerProps): react_jsx_runtime.JSX.Element;
30
- declare function MenuPopup({ className, ...props }: MenuPopupProps): react_jsx_runtime.JSX.Element;
31
- declare function MenuArrow({ className, ...props }: MenuArrowProps): react_jsx_runtime.JSX.Element;
32
- declare function MenuViewport({ className, ...props }: MenuViewportProps): react_jsx_runtime.JSX.Element;
33
- declare function MenuItem({ className, ...props }: MenuItemProps): react_jsx_runtime.JSX.Element;
34
- declare function MenuLinkItem({ className, ...props }: MenuLinkItemProps): react_jsx_runtime.JSX.Element;
35
- declare function MenuSubmenuRoot(props: MenuSubmenuRootProps): react_jsx_runtime.JSX.Element;
36
- declare function MenuSubmenuTrigger({ className, ...props }: MenuSubmenuTriggerProps): react_jsx_runtime.JSX.Element;
37
- declare function MenuCheckboxItem({ className, ...props }: MenuCheckboxItemProps): react_jsx_runtime.JSX.Element;
38
- declare function MenuCheckboxItemIndicator({ children, className, ...props }: MenuCheckboxItemIndicatorProps): react_jsx_runtime.JSX.Element;
39
- declare function MenuRadioGroup({ className, ...props }: MenuRadioGroupProps): react_jsx_runtime.JSX.Element;
40
- declare function MenuRadioItem({ className, ...props }: MenuRadioItemProps): react_jsx_runtime.JSX.Element;
41
- declare function MenuRadioItemIndicator({ children, className, ...props }: MenuRadioItemIndicatorProps): react_jsx_runtime.JSX.Element;
42
- declare function MenuGroup({ className, ...props }: MenuGroupProps): react_jsx_runtime.JSX.Element;
43
- declare function MenuGroupLabel({ className, ...props }: MenuGroupLabelProps): react_jsx_runtime.JSX.Element;
44
- declare function MenuSeparator({ className, ...props }: MenuSeparatorProps): react_jsx_runtime.JSX.Element;
25
+ declare function MenuRoot(props: MenuProps): react.JSX.Element;
26
+ declare function MenuTrigger({ className, ...props }: MenuTriggerProps): react.JSX.Element;
27
+ declare function MenuPortal(props: MenuPortalProps): react.JSX.Element;
28
+ declare function MenuBackdrop({ className, ...props }: MenuBackdropProps): react.JSX.Element;
29
+ declare function MenuPositioner({ className, sideOffset, ...props }: MenuPositionerProps): react.JSX.Element;
30
+ declare function MenuPopup({ className, ...props }: MenuPopupProps): react.JSX.Element;
31
+ declare function MenuArrow({ className, ...props }: MenuArrowProps): react.JSX.Element;
32
+ declare function MenuViewport({ className, ...props }: MenuViewportProps): react.JSX.Element;
33
+ declare function MenuItem({ className, ...props }: MenuItemProps): react.JSX.Element;
34
+ declare function MenuLinkItem({ className, ...props }: MenuLinkItemProps): react.JSX.Element;
35
+ declare function MenuSubmenuRoot(props: MenuSubmenuRootProps): react.JSX.Element;
36
+ declare function MenuSubmenuTrigger({ className, ...props }: MenuSubmenuTriggerProps): react.JSX.Element;
37
+ declare function MenuCheckboxItem({ className, ...props }: MenuCheckboxItemProps): react.JSX.Element;
38
+ declare function MenuCheckboxItemIndicator({ children, className, ...props }: MenuCheckboxItemIndicatorProps): react.JSX.Element;
39
+ declare function MenuRadioGroup({ className, ...props }: MenuRadioGroupProps): react.JSX.Element;
40
+ declare function MenuRadioItem({ className, ...props }: MenuRadioItemProps): react.JSX.Element;
41
+ declare function MenuRadioItemIndicator({ children, className, ...props }: MenuRadioItemIndicatorProps): react.JSX.Element;
42
+ declare function MenuGroup({ className, ...props }: MenuGroupProps): react.JSX.Element;
43
+ declare function MenuGroupLabel({ className, ...props }: MenuGroupLabelProps): react.JSX.Element;
44
+ declare function MenuSeparator({ className, ...props }: MenuSeparatorProps): react.JSX.Element;
45
45
  declare const createMenuHandle: typeof Menu$1.createHandle;
46
46
  declare const Menu: typeof MenuRoot & {
47
47
  Arrow: typeof MenuArrow;
@@ -1,10 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { KbdProps } from './kbd.js';
3
3
  import 'class-variance-authority/types';
4
4
  import 'class-variance-authority';
5
- import 'react';
6
5
 
7
6
  type ModKeyProps = Omit<KbdProps, "children">;
8
- declare function ModKey({ className, square, ...props }: ModKeyProps): react_jsx_runtime.JSX.Element;
7
+ declare function ModKey({ className, square, ...props }: ModKeyProps): react.JSX.Element;
9
8
 
10
9
  export { ModKey, type ModKeyProps };
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-menu';
1
+ import * as react from 'react';
3
2
  import { ComponentPropsWithRef } from 'react';
3
+ import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-menu';
4
4
 
5
5
  type NavigationMenuProps = ComponentPropsWithRef<typeof NavigationMenu$1.Root>;
6
6
  type NavigationMenuListProps = ComponentPropsWithRef<typeof NavigationMenu$1.List>;
@@ -15,19 +15,19 @@ type NavigationMenuPositionerProps = ComponentPropsWithRef<typeof NavigationMenu
15
15
  type NavigationMenuPopupProps = ComponentPropsWithRef<typeof NavigationMenu$1.Popup>;
16
16
  type NavigationMenuViewportProps = ComponentPropsWithRef<typeof NavigationMenu$1.Viewport>;
17
17
  type NavigationMenuArrowProps = ComponentPropsWithRef<typeof NavigationMenu$1.Arrow>;
18
- declare function NavigationMenuRoot({ className, ...props }: NavigationMenuProps): react_jsx_runtime.JSX.Element;
19
- declare function NavigationMenuList({ className, ...props }: NavigationMenuListProps): react_jsx_runtime.JSX.Element;
20
- declare function NavigationMenuItem(props: NavigationMenuItemProps): react_jsx_runtime.JSX.Element;
21
- declare function NavigationMenuTrigger({ className, ...props }: NavigationMenuTriggerProps): react_jsx_runtime.JSX.Element;
22
- declare function NavigationMenuIcon({ className, ...props }: NavigationMenuIconProps): react_jsx_runtime.JSX.Element;
23
- declare function NavigationMenuContent({ className, ...props }: NavigationMenuContentProps): react_jsx_runtime.JSX.Element;
24
- declare function NavigationMenuLink({ className, ...props }: NavigationMenuLinkProps): react_jsx_runtime.JSX.Element;
25
- declare function NavigationMenuBackdrop({ className, ...props }: NavigationMenuBackdropProps): react_jsx_runtime.JSX.Element;
26
- declare function NavigationMenuPortal(props: NavigationMenuPortalProps): react_jsx_runtime.JSX.Element;
27
- declare function NavigationMenuPositioner({ className, sideOffset, ...props }: NavigationMenuPositionerProps): react_jsx_runtime.JSX.Element;
28
- declare function NavigationMenuPopup({ className, ...props }: NavigationMenuPopupProps): react_jsx_runtime.JSX.Element;
29
- declare function NavigationMenuViewport({ className, ...props }: NavigationMenuViewportProps): react_jsx_runtime.JSX.Element;
30
- declare function NavigationMenuArrow({ className, ...props }: NavigationMenuArrowProps): react_jsx_runtime.JSX.Element;
18
+ declare function NavigationMenuRoot({ className, ...props }: NavigationMenuProps): react.JSX.Element;
19
+ declare function NavigationMenuList({ className, ...props }: NavigationMenuListProps): react.JSX.Element;
20
+ declare function NavigationMenuItem(props: NavigationMenuItemProps): react.JSX.Element;
21
+ declare function NavigationMenuTrigger({ className, ...props }: NavigationMenuTriggerProps): react.JSX.Element;
22
+ declare function NavigationMenuIcon({ className, ...props }: NavigationMenuIconProps): react.JSX.Element;
23
+ declare function NavigationMenuContent({ className, ...props }: NavigationMenuContentProps): react.JSX.Element;
24
+ declare function NavigationMenuLink({ className, ...props }: NavigationMenuLinkProps): react.JSX.Element;
25
+ declare function NavigationMenuBackdrop({ className, ...props }: NavigationMenuBackdropProps): react.JSX.Element;
26
+ declare function NavigationMenuPortal(props: NavigationMenuPortalProps): react.JSX.Element;
27
+ declare function NavigationMenuPositioner({ className, sideOffset, ...props }: NavigationMenuPositionerProps): react.JSX.Element;
28
+ declare function NavigationMenuPopup({ className, ...props }: NavigationMenuPopupProps): react.JSX.Element;
29
+ declare function NavigationMenuViewport({ className, ...props }: NavigationMenuViewportProps): react.JSX.Element;
30
+ declare function NavigationMenuArrow({ className, ...props }: NavigationMenuArrowProps): react.JSX.Element;
31
31
  declare const NavigationMenu: typeof NavigationMenuRoot & {
32
32
  Arrow: typeof NavigationMenuArrow;
33
33
  Backdrop: typeof NavigationMenuBackdrop;