@publish.os/nextjs 0.0.1-alpha.8 → 0.0.1-alpha.90
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/app/globals.css +1 -0
- package/compiler-assets/nextjs/defaults/group/index.tsx +50 -0
- package/compiler-assets/nextjs/defaults/group/layout.tsx +7 -3
- package/compiler-assets/nextjs/defaults/group/page.tsx +35 -43
- package/compiler-assets/nextjs/defaults/project/next.config.mjs +22 -11
- package/compiler-assets/nextjs/defaults/project/tsconfig.json.template +1 -4
- package/compiler-assets/nextjs/defaults/root/css/animation.css +131 -0
- package/compiler-assets/nextjs/defaults/root/css/components/dialog.css +4 -1
- package/compiler-assets/nextjs/defaults/root/css/components/menu.css +1 -1
- package/compiler-assets/nextjs/defaults/root/css/components/navigation-menu.css +1 -1
- package/compiler-assets/nextjs/defaults/root/css/components/popover.css +1 -1
- package/compiler-assets/nextjs/defaults/root/css/components/select.css +1 -1
- package/compiler-assets/nextjs/defaults/root/css/components/tooltip.css +1 -1
- package/compiler-assets/nextjs/defaults/root/css/shadow.css +6 -25
- package/compiler-assets/nextjs/defaults/root/css/typography.css +51 -68
- package/compiler-assets/nextjs/defaults/root/globals.css +25 -0
- package/compiler-assets/nextjs/defaults/root/{page.tsx → index.tsx} +6 -2
- package/compiler-assets/nextjs/defaults/root/layout.tsx +7 -1
- package/compiler-assets/nextjs/defaults/root/theme.css +22 -22
- package/compiler-assets/nextjs/shims/generated-group-page.tsx +19 -2
- package/compiler-assets/nextjs/shims/generated-leaf-page.tsx +16 -2
- package/compiler-assets/nextjs/shims/global-layout.tsx +11 -43
- package/compiler-assets/nextjs/shims/proxy.ts +21 -9
- package/compiler-assets/nextjs/shims/publish-os-theme-provider.tsx +76 -15
- package/compiler-assets/nextjs/shims/root-page.tsx +7 -1
- package/compiler-assets/nextjs/shims/site-fenced-code-block.tsx +34 -0
- package/compiler-assets/nextjs/shims/site-heading-level.tsx +14 -0
- package/compiler-assets/nextjs/shims/site-mdx-components.tsx +100 -0
- package/compiler-assets/nextjs/shims/site-mdx.tsx +12 -0
- package/compiler-assets/nextjs/shims/theme-defaults.css +41 -25
- package/dist/build-operation-2JAYBSKF.js +83 -0
- package/dist/button-CtzUJB8u.d.ts +11 -0
- package/dist/{button-CFdx-ohV.d.ts → button-c3WGnxIj.d.ts} +3 -3
- package/dist/chunk-535TM4A5.js +1455 -0
- package/dist/chunk-726GV2NF.js +2344 -0
- package/dist/chunk-7OGTPSKI.js +156 -0
- package/dist/chunk-AI2UULNX.js +9 -0
- package/dist/chunk-B2V22WRT.js +297 -0
- package/dist/chunk-DLDFHU7Y.js +191 -0
- package/dist/chunk-DWA3ZRGW.js +142 -0
- package/dist/chunk-GGKFQ3MA.js +621 -0
- package/dist/chunk-H6XILMZX.js +6154 -0
- package/dist/chunk-NECL5IBJ.js +318 -0
- package/dist/chunk-SVYGXXYR.js +36 -0
- package/dist/chunk-UF6ATARM.js +1100 -0
- package/dist/chunk-VO2I7MTM.js +56 -0
- package/dist/chunk-WDY4IK6Z.js +128 -0
- package/dist/chunk-WKTEO6RS.js +586 -0
- package/dist/chunk-YLTOLYWM.js +92 -0
- package/dist/compiler.d.ts +41 -7
- package/dist/compiler.js +48 -13143
- package/dist/compose-NN23UJGC.js +13 -0
- package/dist/config/createNextConfig.js +13 -0
- package/dist/dev-operation-TZDVJCN7.js +1055 -0
- package/dist/framework-selection-X4U6Y6QC.js +10 -0
- package/dist/ide-support-ZNW7ODFY.js +15 -0
- package/dist/index.d.ts +15 -3
- package/dist/kernel/components/blocks/AgentActions.js +71 -61
- package/dist/kernel/components/blocks/design-system-preview.d.ts +1 -1
- package/dist/kernel/components/blocks/design-system-preview.js +32 -13
- package/dist/kernel/components/blocks/link-playground.js +2 -2
- package/dist/kernel/components/blocks/logo-block.js +2 -2
- package/dist/kernel/components/blocks/nav-breadcrumb.d.ts +10 -2
- package/dist/kernel/components/blocks/nav-breadcrumb.js +20 -5
- package/dist/kernel/components/blocks/navbar.d.ts +2 -2
- package/dist/kernel/components/blocks/navbar.js +401 -60
- package/dist/kernel/components/blocks/navigation-progress-playground.js +4 -4
- package/dist/kernel/components/blocks/navigation-progress.js +4 -1
- package/dist/kernel/components/blocks/next-prev.d.ts +1 -1
- package/dist/kernel/components/blocks/next-prev.js +11 -23
- package/dist/kernel/components/blocks/page-list.d.ts +1 -1
- package/dist/kernel/components/blocks/page-list.js +5 -4
- package/dist/kernel/components/blocks/search.d.ts +83 -58
- package/dist/kernel/components/blocks/search.js +553 -426
- package/dist/kernel/components/blocks/sidebar-node.d.ts +2 -2
- package/dist/kernel/components/blocks/sidebar-node.js +11 -9
- package/dist/kernel/components/blocks/sidebar.d.ts +3 -3
- package/dist/kernel/components/blocks/sidebar.js +18 -11
- package/dist/kernel/components/blocks/theme-toggle.d.ts +2 -2
- package/dist/kernel/components/blocks/theme-toggle.js +48 -2
- package/dist/kernel/components/blocks/toc.js +3 -3
- package/dist/kernel/components/mdx/components/blockquote.js +1 -1
- package/dist/kernel/components/mdx/components/callout.d.ts +5 -7
- package/dist/kernel/components/mdx/components/callout.js +66 -35
- package/dist/kernel/components/mdx/components/code-block.d.ts +5 -2
- package/dist/kernel/components/mdx/components/code-block.js +106 -5
- package/dist/kernel/components/mdx/components/copy-code-button.d.ts +8 -0
- package/dist/kernel/components/mdx/components/copy-code-button.js +60 -0
- package/dist/kernel/components/mdx/components/figure-caption.js +1 -1
- package/dist/kernel/components/mdx/components/figure.js +1 -1
- package/dist/kernel/components/mdx/components/heading-copy-link.js +3 -3
- package/dist/kernel/components/mdx/components/image-zoom.d.ts +2 -2
- package/dist/kernel/components/mdx/components/image-zoom.js +1 -1
- package/dist/kernel/components/mdx/components/image.js +77 -56
- package/dist/kernel/components/mdx/components/inline-code.js +1 -1
- package/dist/kernel/components/mdx/components/kbd.d.ts +2 -2
- package/dist/kernel/components/mdx/components/kbd.js +3 -2
- package/dist/kernel/components/mdx/components/link.d.ts +35 -4
- package/dist/kernel/components/mdx/components/link.js +1 -1
- package/dist/kernel/components/mdx/components/paragraph.js +1 -4
- package/dist/kernel/components/mdx/components/task-list.js +1 -1
- package/dist/kernel/components/mdx/components/video-player.js +2 -2
- package/dist/kernel/components/mdx/components/video.js +1 -1
- package/dist/kernel/components/mdx/error-boundary.d.ts +1 -1
- package/dist/kernel/components/mdx/mdx.d.ts +12 -8
- package/dist/kernel/components/mdx/mdx.js +115 -39
- package/dist/kernel/components/mdx/rehype-heading-ids.js +1 -1
- package/dist/kernel/components/mdx/types.d.ts +1 -1
- package/dist/kernel/components/ui/breadcrumb-trail.d.ts +6 -23
- package/dist/kernel/components/ui/breadcrumb.d.ts +11 -3
- package/dist/kernel/components/ui/breadcrumb.js +6 -4
- package/dist/kernel/components/ui/button-group.d.ts +1 -1
- package/dist/kernel/components/ui/button-group.js +5 -4
- package/dist/kernel/components/ui/button.d.ts +2 -2
- package/dist/kernel/components/ui/button.js +6 -6
- package/dist/kernel/components/ui/card.d.ts +2 -2
- package/dist/kernel/components/ui/drawer.d.ts +3 -1
- package/dist/kernel/components/ui/drawer.js +5 -1
- package/dist/kernel/components/ui/input.d.ts +4 -4
- package/dist/kernel/components/ui/kbd.d.ts +1 -1
- package/dist/kernel/components/ui/kbd.js +9 -16
- package/dist/kernel/components/ui/link.d.ts +5 -3
- package/dist/kernel/components/ui/link.js +10 -9
- package/dist/kernel/components/ui/menu.js +5 -5
- package/dist/kernel/components/ui/mod-key.d.ts +10 -0
- package/dist/kernel/components/ui/mod-key.js +36 -0
- package/dist/kernel/components/ui/navigation-menu.js +2 -2
- package/dist/kernel/components/ui/progress.js +1 -1
- package/dist/kernel/components/ui/scroll-area.d.ts +8 -8
- package/dist/kernel/components/ui/scroll-area.js +4 -4
- package/dist/kernel/components/ui/select.js +7 -10
- package/dist/kernel/components/ui/text.d.ts +2 -2
- package/dist/kernel/components/ui/theme-toggle.d.ts +3 -3
- package/dist/kernel/components/ui/theme-toggle.js +4 -9
- package/dist/kernel/defaults.registry.d.ts +9 -9
- package/dist/kernel/defaults.registry.js +9 -9
- package/dist/kernel/routes/agent/markdown.d.ts +0 -1
- package/dist/kernel/routes/layouts/group.d.ts +1 -1
- package/dist/kernel/routes/metadata/feed.d.ts +1 -1
- package/dist/kernel/routes/metadata/feed.js +13 -9
- package/dist/kernel/routes/metadata/llms.d.ts +2 -1
- package/dist/kernel/routes/metadata/llms.js +4 -4
- package/dist/kernel/routes/metadata/robots.d.ts +1 -1
- package/dist/kernel/routes/metadata/robots.js +2 -2
- package/dist/kernel/routes/metadata/sitemap.d.ts +6 -3
- package/dist/kernel/routes/metadata/sitemap.js +48 -20
- package/dist/kernel/routes/pages/group.d.ts +1 -1
- package/dist/kernel/routes/pages/group.js +20 -12
- package/dist/kernel/routes/pages/leaf.d.ts +2 -2
- package/dist/kernel/routes/pages/leaf.js +20 -12
- package/dist/kernel/routes/pages/root.d.ts +2 -2
- package/dist/kernel/routes/pages/root.js +18 -12
- package/dist/resolvers/manifest-resolver.js +29 -6
- package/dist/search.d.ts +6 -7
- package/dist/search.js +47 -22
- package/dist/{sidebar-types-Bgchdfd6.d.ts → sidebar-types-DKpR27II.d.ts} +1 -1
- package/dist/{types-CIwwieNw.d.ts → types-BzkZty3r.d.ts} +23 -3
- package/dist/{types-DHBm7-j6.d.ts → types-CJWRG05y.d.ts} +20 -1
- package/dist/{types-B_b3C0U6.d.ts → types-CUtrppxt.d.ts} +8 -2
- package/dist/types.d.ts +14 -6
- package/dist/validate-local-source-XRL2Y7XE.js +14 -0
- package/dist/validate-publish-os-source-DAPZ4QGE.js +12 -0
- package/init/seed/minimal/.gitignore +1 -0
- 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
- package/init/seed/minimal/publish.os/docs/content/get-started.mdx +6 -10
- package/init/seed/minimal/publish.os/docs/content/groups.mdx +1 -1
- package/init/seed/minimal/publish.os/docs/content/{theme.mdx → themes.mdx} +14 -12
- package/init/seed/minimal/publish.os/publish.os.config.json +3 -7
- package/init/seed/minimal/publish.os/theme.css +52 -24
- package/init/seed/minimal/publish.os/tsconfig.json +3 -0
- package/init/seed/minimal/seed.json +4 -1
- package/init/seed/scratch/publish.os/docs/content/get-started.mdx +6 -0
- package/init/seed/scratch/publish.os/publish.os.config.json +4 -0
- package/init/seed/scratch/seed.json +5 -0
- package/package.json +12 -26
- package/release/app/phosphor/package.json +3 -3
- package/release/app/phosphor/pnpm-lock.yaml.template +523 -360
- package/release/app/phosphor/pnpm-workspace.yaml +3 -0
- package/release/compiler/package.json +1 -1
- package/release/compiler/pnpm-lock.yaml.template +439 -286
- package/release/compiler/pnpm-workspace.yaml +3 -0
- package/release/release.json +7 -36
- package/compiler-assets/nextjs/defaults/group/leaf.tsx +0 -48
- package/dist/icons.d.ts +0 -1
- package/dist/icons.js +0 -2
- package/dist/kernel/components/mdx/components/pre.d.ts +0 -6
- package/dist/kernel/components/mdx/components/pre.js +0 -18
- package/dist/kernel/components/ui/meta-key.d.ts +0 -17
- package/dist/kernel/components/ui/meta-key.js +0 -9
- package/dist/kernel/framework-icons.d.ts +0 -1
- package/dist/kernel/framework-icons.js +0 -39
- package/dist/link-CYaCRDb6.d.ts +0 -35
- package/dist/route-metadata-og-image-BeKKFHg7.d.ts +0 -58
- package/dist/types-sM2g9nW0.d.ts +0 -12
- package/release/app/lucide/package.json +0 -30
- package/release/app/lucide/pnpm-lock.yaml.template +0 -2905
- package/release/app/lucide/pnpm-workspace.yaml +0 -11
- package/release/app/tabler/package.json +0 -30
- package/release/app/tabler/pnpm-lock.yaml.template +0 -2911
- package/release/app/tabler/pnpm-workspace.yaml +0 -11
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// src/components/block/navigation/page-list.tsx
|
|
1
|
+
// src/components/block/page-navigation/page-list.tsx
|
|
2
2
|
import { Link } from "@publish.os/nextjs/kernel/components/ui/link";
|
|
3
3
|
|
|
4
|
-
// src/components/block/navigation/page-nodes.ts
|
|
4
|
+
// src/components/block/page-navigation/page-nodes.ts
|
|
5
5
|
function pageNodes(nodes) {
|
|
6
6
|
return nodes.flatMap((node) => node.type === "page" ? [node] : node.type === "section" || node.type === "folder" ? pageNodes(node.children) : []);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
// src/components/block/navigation/page-list.tsx
|
|
9
|
+
// src/components/block/page-navigation/page-list.tsx
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
11
11
|
function PageList({ tree, currentPath, className }) {
|
|
12
12
|
let pages = pageNodes(tree);
|
|
@@ -17,8 +17,9 @@ function PageList({ tree, currentPath, className }) {
|
|
|
17
17
|
{
|
|
18
18
|
active,
|
|
19
19
|
color: active ? "accent" : "default",
|
|
20
|
-
href: page.path,
|
|
20
|
+
href: page.href ?? page.path,
|
|
21
21
|
size: "sm",
|
|
22
|
+
target: "_self",
|
|
22
23
|
children: page.title
|
|
23
24
|
}
|
|
24
25
|
) }, `${page.group}:${page.fileID}`);
|
|
@@ -1,10 +1,41 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import
|
|
3
|
-
import { ReactNode,
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { ReactNode, ComponentPropsWithRef, ComponentPropsWithoutRef } from 'react';
|
|
4
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
5
|
+
import { B as ButtonProps } from '../../../button-c3WGnxIj.js';
|
|
6
|
+
import { Dialog } from '@base-ui/react/dialog';
|
|
7
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
8
|
+
import { Input } from '@base-ui/react/input';
|
|
9
|
+
import { VariantProps } from 'class-variance-authority';
|
|
6
10
|
|
|
7
|
-
type
|
|
11
|
+
type SearchSubResult = {
|
|
12
|
+
excerpt: string;
|
|
13
|
+
plainExcerpt: string;
|
|
14
|
+
title: string;
|
|
15
|
+
url: string;
|
|
16
|
+
};
|
|
17
|
+
type SearchResult = {
|
|
18
|
+
excerpt: string;
|
|
19
|
+
id: string;
|
|
20
|
+
meta: {
|
|
21
|
+
author?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
group?: string;
|
|
24
|
+
image?: string;
|
|
25
|
+
nodeId?: string;
|
|
26
|
+
path?: string;
|
|
27
|
+
publishedAt?: string;
|
|
28
|
+
section?: string;
|
|
29
|
+
tags?: string;
|
|
30
|
+
title?: string;
|
|
31
|
+
updatedAt?: string;
|
|
32
|
+
};
|
|
33
|
+
plainExcerpt: string;
|
|
34
|
+
score?: number;
|
|
35
|
+
subResults: SearchSubResult[];
|
|
36
|
+
title: string;
|
|
37
|
+
url: string;
|
|
38
|
+
};
|
|
8
39
|
|
|
9
40
|
type SearchProviderProps = {
|
|
10
41
|
children?: ReactNode;
|
|
@@ -12,77 +43,71 @@ type SearchProviderProps = {
|
|
|
12
43
|
limit?: number;
|
|
13
44
|
onOpenChange?: (open: boolean) => void;
|
|
14
45
|
open?: boolean;
|
|
15
|
-
shortcut?: string;
|
|
16
|
-
|
|
46
|
+
shortcut?: string | false;
|
|
47
|
+
};
|
|
48
|
+
declare function SearchProvider({ children, defaultOpen, limit, onOpenChange, open: controlledOpen, shortcut, }: SearchProviderProps): react_jsx_runtime.JSX.Element;
|
|
49
|
+
|
|
50
|
+
type DialogPortalProps = ComponentPropsWithRef<typeof Dialog.Portal>;
|
|
51
|
+
|
|
52
|
+
declare const inputVariants: (props?: ({
|
|
53
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
54
|
+
variant?: "ghost" | "default" | null | undefined;
|
|
55
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
56
|
+
type InputProps = ComponentPropsWithoutRef<typeof Input> & VariantProps<typeof inputVariants>;
|
|
57
|
+
|
|
58
|
+
type SearchResultsProps = Omit<ComponentPropsWithRef<"div">, "children"> & {
|
|
59
|
+
children?: (result: SearchResult) => ReactNode;
|
|
60
|
+
emptyText?: string;
|
|
61
|
+
itemClassName?: string;
|
|
17
62
|
};
|
|
63
|
+
declare function SearchResults({ children, className, emptyText, itemClassName, ...props }: SearchResultsProps): react_jsx_runtime.JSX.Element | null;
|
|
64
|
+
type SearchFooterProps = ComponentPropsWithRef<"div">;
|
|
65
|
+
declare function SearchFooter({ children, className, ...props }: SearchFooterProps): react_jsx_runtime.JSX.Element | null;
|
|
18
66
|
|
|
19
67
|
declare function SearchProgressBar({ className }: {
|
|
20
68
|
className?: string;
|
|
21
69
|
}): react_jsx_runtime.JSX.Element;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
className?: string;
|
|
25
|
-
};
|
|
26
|
-
declare function Root({ children, className, ...providerProps }: SearchRootProps): react_jsx_runtime.JSX.Element;
|
|
27
|
-
type SearchTriggerProps = {
|
|
28
|
-
asChild?: boolean;
|
|
29
|
-
children?: ReactElement<{
|
|
30
|
-
"aria-controls"?: string;
|
|
31
|
-
"aria-expanded"?: boolean;
|
|
32
|
-
className?: string;
|
|
33
|
-
}>;
|
|
34
|
-
className?: string;
|
|
70
|
+
|
|
71
|
+
type SearchTriggerProps = ButtonProps & {
|
|
35
72
|
icon?: ReactNode;
|
|
36
73
|
placeholder?: string;
|
|
37
|
-
|
|
74
|
+
render?: useRender.RenderProp<{
|
|
75
|
+
open: boolean;
|
|
76
|
+
}>;
|
|
38
77
|
shortcutClassName?: string;
|
|
39
|
-
showIcon?: boolean;
|
|
40
|
-
showShortcut?: boolean;
|
|
41
|
-
size?: ButtonVariantProps["size"];
|
|
42
|
-
variant?: ButtonVariantProps["variant"];
|
|
43
78
|
};
|
|
44
|
-
declare function Trigger({
|
|
79
|
+
declare function Trigger({ children, className, icon, placeholder, ref, render, shortcutClassName, size, variant, ...props }: SearchTriggerProps): react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
45
80
|
type SearchDialogProps = {
|
|
46
81
|
children?: ReactNode;
|
|
47
82
|
className?: string;
|
|
83
|
+
container?: DialogPortalProps["container"];
|
|
48
84
|
description?: string;
|
|
85
|
+
mobileQuery?: string;
|
|
49
86
|
title?: string;
|
|
50
87
|
};
|
|
51
|
-
declare function DialogContent({ children, className, description, title, }: SearchDialogProps): react_jsx_runtime.JSX.Element;
|
|
52
|
-
type SearchInputProps = {
|
|
53
|
-
|
|
88
|
+
declare function DialogContent({ children, className, container, description, mobileQuery, title, }: SearchDialogProps): react_jsx_runtime.JSX.Element;
|
|
89
|
+
type SearchInputProps = Omit<InputProps, "value" | "defaultValue" | "onValueChange"> & {
|
|
90
|
+
ref?: ComponentPropsWithRef<"input">["ref"];
|
|
54
91
|
closeClassName?: string;
|
|
55
92
|
closeLabel?: ReactNode;
|
|
56
|
-
|
|
93
|
+
icon?: ReactNode;
|
|
57
94
|
rootClassName?: string;
|
|
58
95
|
showCloseShortcut?: boolean;
|
|
59
96
|
};
|
|
60
|
-
declare function SearchInputField({ className, closeClassName, closeLabel, placeholder, rootClassName, showCloseShortcut, }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
61
|
-
type
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
declare
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
Command: typeof Command;
|
|
76
|
-
DefaultDesktop: typeof DefaultDesktop;
|
|
77
|
-
DefaultMobile: typeof DefaultMobile;
|
|
78
|
-
DesktopDialog: typeof DialogContent;
|
|
79
|
-
Dialog: typeof DialogContent;
|
|
80
|
-
Input: typeof SearchInputField;
|
|
81
|
-
MobileDialog: typeof DialogContent;
|
|
82
|
-
Progress: typeof SearchProgressBar;
|
|
83
|
-
Results: typeof SearchResults;
|
|
84
|
-
Root: typeof Root;
|
|
85
|
-
Trigger: typeof Trigger;
|
|
86
|
-
};
|
|
97
|
+
declare function SearchInputField({ className, closeClassName, closeLabel, icon, onChange, onKeyDown, placeholder, ref, rootClassName, showCloseShortcut, ...props }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
98
|
+
type SearchCommandProps = ComponentPropsWithRef<"div">;
|
|
99
|
+
declare function Command({ children, className, ...props }?: SearchCommandProps): react_jsx_runtime.JSX.Element;
|
|
100
|
+
type SearchProps = Omit<SearchProviderProps, "children">;
|
|
101
|
+
declare function Search(props: SearchProps): react_jsx_runtime.JSX.Element;
|
|
102
|
+
declare namespace Search {
|
|
103
|
+
var Root: typeof SearchProvider;
|
|
104
|
+
var Trigger: typeof Trigger;
|
|
105
|
+
var Dialog: typeof DialogContent;
|
|
106
|
+
var Command: typeof Command;
|
|
107
|
+
var Input: typeof SearchInputField;
|
|
108
|
+
var Progress: typeof SearchProgressBar;
|
|
109
|
+
var Results: typeof SearchResults;
|
|
110
|
+
var Footer: typeof SearchFooter;
|
|
111
|
+
}
|
|
87
112
|
|
|
88
|
-
export { Command,
|
|
113
|
+
export { Command, DialogContent as Dialog, SearchFooter as Footer, SearchInputField as Input, SearchProgressBar as Progress, SearchResults as Results, SearchProvider as Root, Search, type SearchCommandProps, type SearchDialogProps, type SearchFooterProps, type SearchInputProps, type SearchProps, type SearchResultsProps, type SearchTriggerProps, Trigger };
|