@epicbagel/saas-kit 1.32.0 → 1.33.0
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/THIRD_PARTY_NOTICES.md +6 -5
- package/dist/chunk-2DCJ2SFU.js +20 -0
- package/dist/chunk-2FVFPGP5.js +489 -0
- package/dist/{chunk-HTPPNW74.js → chunk-AWCXVYPL.js} +1 -1
- package/dist/chunk-B54ZEKBG.cjs +63 -0
- package/dist/chunk-CXAFTEEP.cjs +20 -0
- package/dist/{chunk-MOJHETNO.cjs → chunk-F3D5HA2F.cjs} +10 -10
- package/dist/chunk-G3SF4RRA.cjs +489 -0
- package/dist/chunk-HTTRUJQU.cjs +60 -0
- package/dist/{chunk-JS6BLIWL.js → chunk-IZF4WCK6.js} +11 -11
- package/dist/{chunk-PH2TV7XI.cjs → chunk-KOR2QR7I.cjs} +5 -5
- package/dist/{chunk-BGCNGYPL.cjs → chunk-PTMZTP3V.cjs} +2 -2
- package/dist/{chunk-6O3DUMF7.js → chunk-REGA2L5S.js} +1 -1
- package/dist/{chunk-PNI354BY.cjs → chunk-SL6ECEN6.cjs} +2 -2
- package/dist/{chunk-ZGTPNSR7.js → chunk-TS4MC3B3.js} +4 -4
- package/dist/chunk-TUQVHPSI.js +60 -0
- package/dist/chunk-VWOWPNKT.js +73 -0
- package/dist/chunk-XH2I3YJ6.js +63 -0
- package/dist/chunk-Y6X6XDHE.cjs +73 -0
- package/dist/primitives/accent-theme.cjs +66 -0
- package/dist/primitives/accent-theme.d.cts +32 -0
- package/dist/primitives/accent-theme.d.ts +32 -0
- package/dist/primitives/accent-theme.js +66 -0
- package/dist/primitives/activity-feed.cjs +2 -2
- package/dist/primitives/activity-feed.js +2 -2
- package/dist/primitives/agent-audio-visualizer-bar.cjs +3 -3
- package/dist/primitives/agent-audio-visualizer-bar.js +2 -2
- package/dist/primitives/alert.d.cts +1 -1
- package/dist/primitives/alert.d.ts +1 -1
- package/dist/primitives/app-layout.cjs +114 -0
- package/dist/primitives/app-layout.d.cts +47 -0
- package/dist/primitives/app-layout.d.ts +47 -0
- package/dist/primitives/app-layout.js +114 -0
- package/dist/primitives/app-sidebar.cjs +52 -0
- package/dist/primitives/app-sidebar.d.cts +105 -0
- package/dist/primitives/app-sidebar.d.ts +105 -0
- package/dist/primitives/app-sidebar.js +52 -0
- package/dist/primitives/archive-confirmation-dialog.cjs +2 -2
- package/dist/primitives/archive-confirmation-dialog.js +3 -3
- package/dist/primitives/back-bar.cjs +37 -0
- package/dist/primitives/back-bar.d.cts +31 -0
- package/dist/primitives/back-bar.d.ts +31 -0
- package/dist/primitives/back-bar.js +37 -0
- package/dist/primitives/badge.d.cts +1 -1
- package/dist/primitives/badge.d.ts +1 -1
- package/dist/primitives/batch-action-bar.cjs +134 -0
- package/dist/primitives/batch-action-bar.d.cts +27 -0
- package/dist/primitives/batch-action-bar.d.ts +27 -0
- package/dist/primitives/batch-action-bar.js +134 -0
- package/dist/primitives/board-view-internals.cjs +3 -3
- package/dist/primitives/board-view-internals.js +2 -2
- package/dist/primitives/board-view.cjs +8 -8
- package/dist/primitives/board-view.js +7 -7
- package/dist/primitives/brand-mark.cjs +26 -0
- package/dist/primitives/brand-mark.d.cts +10 -0
- package/dist/primitives/brand-mark.d.ts +10 -0
- package/dist/primitives/brand-mark.js +26 -0
- package/dist/primitives/bubble.d.cts +1 -1
- package/dist/primitives/bubble.d.ts +1 -1
- package/dist/primitives/button.d.cts +2 -2
- package/dist/primitives/button.d.ts +2 -2
- package/dist/primitives/chat.cjs +27 -27
- package/dist/primitives/chat.js +21 -21
- package/dist/primitives/code-block.cjs +4 -4
- package/dist/primitives/code-block.js +3 -3
- package/dist/primitives/command.cjs +129 -0
- package/dist/primitives/command.d.cts +60 -0
- package/dist/primitives/command.d.ts +60 -0
- package/dist/primitives/command.js +129 -0
- package/dist/primitives/compact-list.cjs +24 -0
- package/dist/primitives/compact-list.d.cts +18 -0
- package/dist/primitives/compact-list.d.ts +18 -0
- package/dist/primitives/compact-list.js +24 -0
- package/dist/primitives/connection.cjs +6 -6
- package/dist/primitives/connection.js +8 -8
- package/dist/primitives/context-bar.cjs +57 -0
- package/dist/primitives/context-bar.d.cts +50 -0
- package/dist/primitives/context-bar.d.ts +50 -0
- package/dist/primitives/context-bar.js +57 -0
- package/dist/primitives/copy-button.cjs +3 -3
- package/dist/primitives/copy-button.js +2 -2
- package/dist/primitives/cycling-prompt.cjs +102 -0
- package/dist/primitives/cycling-prompt.d.cts +24 -0
- package/dist/primitives/cycling-prompt.d.ts +24 -0
- package/dist/primitives/cycling-prompt.js +102 -0
- package/dist/primitives/dialog.d.cts +9 -9
- package/dist/primitives/dialog.d.ts +9 -9
- package/dist/primitives/dotted-list.cjs +41 -0
- package/dist/primitives/dotted-list.d.cts +28 -0
- package/dist/primitives/dotted-list.d.ts +28 -0
- package/dist/primitives/dotted-list.js +41 -0
- package/dist/primitives/drawer.d.cts +6 -6
- package/dist/primitives/drawer.d.ts +6 -6
- package/dist/primitives/field.cjs +3 -3
- package/dist/primitives/field.js +2 -2
- package/dist/primitives/file-dropzone.cjs +3 -3
- package/dist/primitives/file-dropzone.js +2 -2
- package/dist/primitives/file-preview.cjs +4 -4
- package/dist/primitives/file-preview.js +3 -3
- package/dist/primitives/filter-bar.cjs +4 -4
- package/dist/primitives/filter-bar.js +3 -3
- package/dist/primitives/fixed-action-bar.cjs +46 -0
- package/dist/primitives/fixed-action-bar.d.cts +15 -0
- package/dist/primitives/fixed-action-bar.d.ts +15 -0
- package/dist/primitives/fixed-action-bar.js +46 -0
- package/dist/primitives/floating-action-button.cjs +65 -0
- package/dist/primitives/floating-action-button.d.cts +52 -0
- package/dist/primitives/floating-action-button.d.ts +52 -0
- package/dist/primitives/floating-action-button.js +65 -0
- package/dist/primitives/form-section.cjs +38 -0
- package/dist/primitives/form-section.d.cts +43 -0
- package/dist/primitives/form-section.d.ts +43 -0
- package/dist/primitives/form-section.js +38 -0
- package/dist/primitives/key-value-grid.cjs +52 -0
- package/dist/primitives/key-value-grid.d.cts +20 -0
- package/dist/primitives/key-value-grid.d.ts +20 -0
- package/dist/primitives/key-value-grid.js +52 -0
- package/dist/primitives/marketing-footer.cjs +34 -0
- package/dist/primitives/marketing-footer.d.cts +29 -0
- package/dist/primitives/marketing-footer.d.ts +29 -0
- package/dist/primitives/marketing-footer.js +34 -0
- package/dist/primitives/marketing-header.cjs +41 -0
- package/dist/primitives/marketing-header.d.cts +31 -0
- package/dist/primitives/marketing-header.d.ts +31 -0
- package/dist/primitives/marketing-header.js +41 -0
- package/dist/primitives/marketing-section.cjs +8 -0
- package/dist/primitives/marketing-section.d.cts +35 -0
- package/dist/primitives/marketing-section.d.ts +35 -0
- package/dist/primitives/marketing-section.js +8 -0
- package/dist/primitives/marketing-shell.cjs +28 -0
- package/dist/primitives/marketing-shell.d.cts +14 -0
- package/dist/primitives/marketing-shell.d.ts +14 -0
- package/dist/primitives/marketing-shell.js +28 -0
- package/dist/primitives/notes.cjs +4 -4
- package/dist/primitives/notes.js +4 -4
- package/dist/primitives/page-header.cjs +3 -67
- package/dist/primitives/page-header.js +3 -67
- package/dist/primitives/page-tabs.cjs +4 -57
- package/dist/primitives/page-tabs.js +4 -57
- package/dist/primitives/pager.cjs +85 -0
- package/dist/primitives/pager.d.cts +39 -0
- package/dist/primitives/pager.d.ts +39 -0
- package/dist/primitives/pager.js +85 -0
- package/dist/primitives/pagination.cjs +119 -0
- package/dist/primitives/pagination.d.cts +41 -0
- package/dist/primitives/pagination.d.ts +41 -0
- package/dist/primitives/pagination.js +119 -0
- package/dist/primitives/poster.cjs +11 -1
- package/dist/primitives/poster.d.cts +12 -1
- package/dist/primitives/poster.d.ts +12 -1
- package/dist/primitives/poster.js +10 -0
- package/dist/primitives/resource-list.cjs +8 -8
- package/dist/primitives/resource-list.js +7 -7
- package/dist/primitives/responsive-embed.cjs +29 -0
- package/dist/primitives/responsive-embed.d.cts +14 -0
- package/dist/primitives/responsive-embed.d.ts +14 -0
- package/dist/primitives/responsive-embed.js +29 -0
- package/dist/primitives/save-bar.cjs +91 -0
- package/dist/primitives/save-bar.d.cts +55 -0
- package/dist/primitives/save-bar.d.ts +55 -0
- package/dist/primitives/save-bar.js +91 -0
- package/dist/primitives/settings-list.cjs +10 -0
- package/dist/primitives/settings-list.d.cts +31 -0
- package/dist/primitives/settings-list.d.ts +31 -0
- package/dist/primitives/settings-list.js +10 -0
- package/dist/primitives/settings-section.cjs +34 -0
- package/dist/primitives/settings-section.d.cts +44 -0
- package/dist/primitives/settings-section.d.ts +44 -0
- package/dist/primitives/settings-section.js +34 -0
- package/dist/primitives/sheet.d.cts +9 -9
- package/dist/primitives/sheet.d.ts +9 -9
- package/dist/primitives/short-video.cjs +110 -0
- package/dist/primitives/short-video.d.cts +30 -0
- package/dist/primitives/short-video.d.ts +30 -0
- package/dist/primitives/short-video.js +110 -0
- package/dist/primitives/stats-card.cjs +46 -0
- package/dist/primitives/stats-card.d.cts +19 -0
- package/dist/primitives/stats-card.d.ts +19 -0
- package/dist/primitives/stats-card.js +46 -0
- package/dist/primitives/stats-strip.cjs +38 -0
- package/dist/primitives/stats-strip.d.cts +24 -0
- package/dist/primitives/stats-strip.d.ts +24 -0
- package/dist/primitives/stats-strip.js +38 -0
- package/dist/primitives/step-list.cjs +32 -0
- package/dist/primitives/step-list.d.cts +19 -0
- package/dist/primitives/step-list.d.ts +19 -0
- package/dist/primitives/step-list.js +32 -0
- package/dist/primitives/steps.cjs +77 -0
- package/dist/primitives/steps.d.cts +35 -0
- package/dist/primitives/steps.d.ts +35 -0
- package/dist/primitives/steps.js +77 -0
- package/dist/primitives/tabbed-page-header.cjs +53 -0
- package/dist/primitives/tabbed-page-header.d.cts +26 -0
- package/dist/primitives/tabbed-page-header.d.ts +26 -0
- package/dist/primitives/tabbed-page-header.js +53 -0
- package/dist/primitives/theme-selector.cjs +17 -17
- package/dist/primitives/theme-selector.js +5 -5
- package/dist/primitives/voice-dictation-button.cjs +5 -5
- package/dist/primitives/voice-dictation-button.js +4 -4
- package/dist/primitives/voice-session-controls.cjs +4 -4
- package/dist/primitives/voice-session-controls.js +3 -3
- package/dist/primitives/workflow-assistant.cjs +5 -5
- package/dist/primitives/workflow-assistant.js +3 -3
- package/package.json +312 -1
- package/src/styles/components/poster.css +42 -1
- package/dist/{chunk-5OF6D3GH.js → chunk-4TJBXXUE.js} +3 -3
- package/dist/{chunk-DILYV4FI.js → chunk-7ZRFXJVN.js} +3 -3
- package/dist/{chunk-YYFVG5A6.cjs → chunk-D46FNEZ5.cjs} +2 -2
- package/dist/{chunk-NKWHDI4C.cjs → chunk-FB3VY2PL.cjs} +2 -2
- package/dist/{chunk-MW67PHAQ.cjs → chunk-GUVQAWUW.cjs} +9 -9
- package/dist/{chunk-WHDHUYS6.js → chunk-HBRVOGLA.js} +3 -3
- package/dist/{chunk-FARCLWLU.cjs → chunk-HHF5DEKM.cjs} +3 -3
- package/dist/{chunk-TWCJMFST.js → chunk-O42YC6ZQ.js} +3 -3
- package/dist/{chunk-ZJFYOXSM.cjs → chunk-SRVRNHCX.cjs} +2 -2
- package/dist/{chunk-UFFHGKI7.js → chunk-SW4T3O7M.js} +9 -9
- package/dist/{chunk-62UTAG2C.js → chunk-ULZB4A2I.js} +3 -3
- package/dist/{chunk-ZLEM2SAU.cjs → chunk-Z3JJSNR5.cjs} +2 -2
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
cn
|
|
4
|
+
} from "../chunk-G6SRSWXB.js";
|
|
5
|
+
|
|
6
|
+
// src/primitives/brand-mark.tsx
|
|
7
|
+
import { forwardRef } from "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
var sizeStyles = {
|
|
10
|
+
sm: "h-6 max-w-36",
|
|
11
|
+
md: "h-7 max-w-44",
|
|
12
|
+
lg: "h-9 max-w-52"
|
|
13
|
+
};
|
|
14
|
+
var BrandMark = forwardRef(function BrandMark2({ size = "md", className, ...props }, ref) {
|
|
15
|
+
return /* @__PURE__ */ jsx(
|
|
16
|
+
"img",
|
|
17
|
+
{
|
|
18
|
+
ref,
|
|
19
|
+
className: cn("w-auto object-contain", sizeStyles[size], className),
|
|
20
|
+
...props
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
BrandMark
|
|
26
|
+
};
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare function BubbleGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
7
7
|
declare const bubbleVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "muted" | "
|
|
8
|
+
variant?: "default" | "muted" | "ghost" | "secondary" | "destructive" | "outline" | "tinted" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
declare function Bubble({ variant, align, className, ...props }: React.ComponentProps<"div"> & VariantProps<typeof bubbleVariants> & {
|
|
11
11
|
align?: "start" | "end";
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare function BubbleGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
7
7
|
declare const bubbleVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "muted" | "
|
|
8
|
+
variant?: "default" | "muted" | "ghost" | "secondary" | "destructive" | "outline" | "tinted" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
declare function Bubble({ variant, align, className, ...props }: React.ComponentProps<"div"> & VariantProps<typeof bubbleVariants> & {
|
|
11
11
|
align?: "start" | "end";
|
|
@@ -4,8 +4,8 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "outline-muted" | "
|
|
8
|
-
size?: "filter" | "status" | "toolbar" | "sm" | "lg" | "default" | "micro" | "compact" | "hero" | "icon" | "icon-lg" | "icon-sm" | "icon-md" | "icon-xs" | "icon-compact" | "icon-micro" | "bare" | "voice-sm" | "voice" | "suggestion" |
|
|
7
|
+
variant?: "link" | "default" | "ghost" | "secondary" | "destructive" | "outline" | "outline-muted" | "quiet" | "ghost-destructive" | "link-muted" | "inverted" | "status-error" | "status-warning" | "status-muted" | null | undefined;
|
|
8
|
+
size?: "filter" | "status" | "toolbar" | "sm" | "lg" | "default" | "micro" | "tone" | "compact" | "hero" | "icon" | "icon-lg" | "icon-sm" | "icon-md" | "icon-xs" | "icon-compact" | "icon-micro" | "bare" | "voice-sm" | "voice" | "suggestion" | null | undefined;
|
|
9
9
|
width?: "auto" | "full" | "responsive" | null | undefined;
|
|
10
10
|
align?: "center" | "start" | null | undefined;
|
|
11
11
|
shrink?: boolean | null | undefined;
|
|
@@ -4,8 +4,8 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "outline-muted" | "
|
|
8
|
-
size?: "filter" | "status" | "toolbar" | "sm" | "lg" | "default" | "micro" | "compact" | "hero" | "icon" | "icon-lg" | "icon-sm" | "icon-md" | "icon-xs" | "icon-compact" | "icon-micro" | "bare" | "voice-sm" | "voice" | "suggestion" |
|
|
7
|
+
variant?: "link" | "default" | "ghost" | "secondary" | "destructive" | "outline" | "outline-muted" | "quiet" | "ghost-destructive" | "link-muted" | "inverted" | "status-error" | "status-warning" | "status-muted" | null | undefined;
|
|
8
|
+
size?: "filter" | "status" | "toolbar" | "sm" | "lg" | "default" | "micro" | "tone" | "compact" | "hero" | "icon" | "icon-lg" | "icon-sm" | "icon-md" | "icon-xs" | "icon-compact" | "icon-micro" | "bare" | "voice-sm" | "voice" | "suggestion" | null | undefined;
|
|
9
9
|
width?: "auto" | "full" | "responsive" | null | undefined;
|
|
10
10
|
align?: "center" | "start" | null | undefined;
|
|
11
11
|
shrink?: boolean | null | undefined;
|
package/dist/primitives/chat.cjs
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
var _chunk2BTDBZYNcjs = require('../chunk-2BTDBZYN.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkKOR2QR7Icjs = require('../chunk-KOR2QR7I.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkSL6ECEN6cjs = require('../chunk-SL6ECEN6.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -24,13 +24,13 @@ var _chunkWP7CKIPEcjs = require('../chunk-WP7CKIPE.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var _chunkB765DSRGcjs = require('../chunk-B765DSRG.cjs');
|
|
28
27
|
|
|
29
28
|
|
|
29
|
+
var _chunkNWDPH2Z7cjs = require('../chunk-NWDPH2Z7.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunkB765DSRGcjs = require('../chunk-B765DSRG.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
@@ -44,15 +44,15 @@ require('../chunk-2HV2KKOE.cjs');
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
var _chunkDHXKCMKYcjs = require('../chunk-DHXKCMKY.cjs');
|
|
47
|
-
require('../chunk-NQK5ZWC7.cjs');
|
|
48
47
|
|
|
49
48
|
|
|
50
49
|
|
|
51
|
-
var
|
|
50
|
+
var _chunkZ3JJSNR5cjs = require('../chunk-Z3JJSNR5.cjs');
|
|
52
51
|
|
|
53
52
|
|
|
54
53
|
var _chunkKENBU3NVcjs = require('../chunk-KENBU3NV.cjs');
|
|
55
54
|
require('../chunk-ELPV44S6.cjs');
|
|
55
|
+
require('../chunk-7Q4EFCUI.cjs');
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
|
|
@@ -80,7 +80,9 @@ var _chunkZBWL7OUWcjs = require('../chunk-ZBWL7OUW.cjs');
|
|
|
80
80
|
var _chunk23IETCLVcjs = require('../chunk-23IETCLV.cjs');
|
|
81
81
|
require('../chunk-DMPSKGFM.cjs');
|
|
82
82
|
require('../chunk-Z2H4LJVG.cjs');
|
|
83
|
-
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
var _chunk4LXN6GLZcjs = require('../chunk-4LXN6GLZ.cjs');
|
|
84
86
|
|
|
85
87
|
|
|
86
88
|
|
|
@@ -98,29 +100,27 @@ require('../chunk-W5HPHEE7.cjs');
|
|
|
98
100
|
|
|
99
101
|
|
|
100
102
|
var _chunkFYRQFEU4cjs = require('../chunk-FYRQFEU4.cjs');
|
|
103
|
+
require('../chunk-FB3VY2PL.cjs');
|
|
104
|
+
require('../chunk-2BSFYU22.cjs');
|
|
105
|
+
require('../chunk-NQK5ZWC7.cjs');
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
var _chunkR35FT53Gcjs = require('../chunk-R35FT53G.cjs');
|
|
109
|
+
require('../chunk-U2NES7VR.cjs');
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
var _chunkH2UFRLLNcjs = require('../chunk-H2UFRLLN.cjs');
|
|
101
113
|
|
|
102
114
|
|
|
103
115
|
var _chunk2KFZQJH5cjs = require('../chunk-2KFZQJH5.cjs');
|
|
104
116
|
require('../chunk-PQUSJEXL.cjs');
|
|
105
117
|
require('../chunk-WABCLRBR.cjs');
|
|
106
|
-
require('../chunk-NKWHDI4C.cjs');
|
|
107
118
|
|
|
108
119
|
|
|
109
120
|
var _chunkJDEXZGIYcjs = require('../chunk-JDEXZGIY.cjs');
|
|
110
121
|
|
|
111
122
|
|
|
112
123
|
var _chunkKWLSBTB2cjs = require('../chunk-KWLSBTB2.cjs');
|
|
113
|
-
require('../chunk-2BSFYU22.cjs');
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
var _chunk4LXN6GLZcjs = require('../chunk-4LXN6GLZ.cjs');
|
|
117
|
-
require('../chunk-7Q4EFCUI.cjs');
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
var _chunkR35FT53Gcjs = require('../chunk-R35FT53G.cjs');
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
var _chunkH2UFRLLNcjs = require('../chunk-H2UFRLLN.cjs');
|
|
124
124
|
|
|
125
125
|
// src/primitives/chat.tsx
|
|
126
126
|
|
|
@@ -541,7 +541,7 @@ function ChatInput({
|
|
|
541
541
|
children: header
|
|
542
542
|
}
|
|
543
543
|
),
|
|
544
|
-
liveVoiceActive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7LDJAXRXcjs.InputGroupAddon, { align: "block-start", className: "w-full cursor-default border-b border-border p-0 [.border-b]:pb-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
544
|
+
liveVoiceActive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7LDJAXRXcjs.InputGroupAddon, { align: "block-start", className: "w-full cursor-default border-b border-border p-0 [.border-b]:pb-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSL6ECEN6cjs.VoiceSessionControls, { ...voiceSession }) }),
|
|
545
545
|
attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
546
546
|
ChatAttachmentList,
|
|
547
547
|
{
|
|
@@ -620,7 +620,7 @@ function ChatInput({
|
|
|
620
620
|
) : null,
|
|
621
621
|
(!helperText || compact) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
622
622
|
voice && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
623
|
-
|
|
623
|
+
_chunkKOR2QR7Icjs.VoiceDictationButton,
|
|
624
624
|
{
|
|
625
625
|
size: "icon",
|
|
626
626
|
title: voiceTitle,
|
|
@@ -634,7 +634,7 @@ function ChatInput({
|
|
|
634
634
|
)
|
|
635
635
|
}
|
|
636
636
|
),
|
|
637
|
-
voiceSession && !liveVoiceActive && !hasText && attachments.length === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
637
|
+
voiceSession && !liveVoiceActive && !hasText && attachments.length === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSL6ECEN6cjs.VoiceSessionControls, { ...voiceSession, disabled: voiceSession.disabled || isDisabled }) : submitLabel ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
638
638
|
_chunkJDEXZGIYcjs.Button,
|
|
639
639
|
{
|
|
640
640
|
type: "submit",
|
|
@@ -696,9 +696,9 @@ function VoiceHero({
|
|
|
696
696
|
}) {
|
|
697
697
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center gap-5 py-6", children: [
|
|
698
698
|
voiceSession ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
699
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
699
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSL6ECEN6cjs.VoiceSessionControls, { ...voiceSession, size: "hero" }),
|
|
700
700
|
voice && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
701
|
-
|
|
701
|
+
_chunkKOR2QR7Icjs.VoiceDictationButton,
|
|
702
702
|
{
|
|
703
703
|
size: "icon",
|
|
704
704
|
title: voiceTitle,
|
|
@@ -708,7 +708,7 @@ function VoiceHero({
|
|
|
708
708
|
}
|
|
709
709
|
)
|
|
710
710
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
711
|
-
|
|
711
|
+
_chunkKOR2QR7Icjs.VoiceDictationButton,
|
|
712
712
|
{
|
|
713
713
|
size: "lg",
|
|
714
714
|
title: voiceTitle,
|
|
@@ -1150,7 +1150,7 @@ var Chat = _react.forwardRef.call(void 0, function Chat2({
|
|
|
1150
1150
|
const liveVoiceActive = voiceSession && voiceSession.state !== "disconnected" && voiceSession.state !== "error";
|
|
1151
1151
|
const showEmptyPending = !conversationStarted && pending && Boolean(emptyPendingContent) && !liveVoiceActive;
|
|
1152
1152
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1153
|
-
|
|
1153
|
+
_chunkZ3JJSNR5cjs.FileDropArea,
|
|
1154
1154
|
{
|
|
1155
1155
|
"data-slot": "chat",
|
|
1156
1156
|
"data-layout": layout,
|
|
@@ -1218,7 +1218,7 @@ var Chat = _react.forwardRef.call(void 0, function Chat2({
|
|
|
1218
1218
|
),
|
|
1219
1219
|
children: [
|
|
1220
1220
|
showEmptyFileDropzone && onFilesSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1221
|
-
|
|
1221
|
+
_chunkZ3JJSNR5cjs.FileDropzone,
|
|
1222
1222
|
{
|
|
1223
1223
|
multiple: true,
|
|
1224
1224
|
onFiles: onFilesSelected,
|
package/dist/primitives/chat.js
CHANGED
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "../chunk-Z45YKVAM.js";
|
|
8
8
|
import {
|
|
9
9
|
VoiceDictationButton
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-TS4MC3B3.js";
|
|
11
11
|
import {
|
|
12
12
|
VoiceSessionControls
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-REGA2L5S.js";
|
|
14
14
|
import {
|
|
15
15
|
Suggestion,
|
|
16
16
|
Suggestions
|
|
@@ -21,16 +21,16 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
PersonAvatar
|
|
23
23
|
} from "../chunk-T5AFBLP2.js";
|
|
24
|
-
import {
|
|
25
|
-
Marker,
|
|
26
|
-
MarkerContent
|
|
27
|
-
} from "../chunk-IW4ZIXXG.js";
|
|
28
24
|
import {
|
|
29
25
|
Message,
|
|
30
26
|
MessageAction,
|
|
31
27
|
MessageActions,
|
|
32
28
|
MessageContent
|
|
33
29
|
} from "../chunk-H4XH2PPU.js";
|
|
30
|
+
import {
|
|
31
|
+
Marker,
|
|
32
|
+
MarkerContent
|
|
33
|
+
} from "../chunk-IW4ZIXXG.js";
|
|
34
34
|
import {
|
|
35
35
|
InputGroup,
|
|
36
36
|
InputGroupAddon,
|
|
@@ -44,15 +44,15 @@ import {
|
|
|
44
44
|
ItemMedia,
|
|
45
45
|
ItemTitle
|
|
46
46
|
} from "../chunk-SG4ZE2EN.js";
|
|
47
|
-
import "../chunk-HYTILYE5.js";
|
|
48
47
|
import {
|
|
49
48
|
FileDropArea,
|
|
50
49
|
FileDropzone
|
|
51
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-HBRVOGLA.js";
|
|
52
51
|
import {
|
|
53
52
|
LazyMarkdown
|
|
54
53
|
} from "../chunk-VY5U4VGV.js";
|
|
55
54
|
import "../chunk-INNGGLMZ.js";
|
|
55
|
+
import "../chunk-RPSRCB5O.js";
|
|
56
56
|
import {
|
|
57
57
|
Drawer,
|
|
58
58
|
DrawerClose,
|
|
@@ -80,7 +80,9 @@ import {
|
|
|
80
80
|
} from "../chunk-OUZSIA5G.js";
|
|
81
81
|
import "../chunk-36LNA4WM.js";
|
|
82
82
|
import "../chunk-GA5SX7FE.js";
|
|
83
|
-
import
|
|
83
|
+
import {
|
|
84
|
+
useCopyToClipboard
|
|
85
|
+
} from "../chunk-ZWZAAGQF.js";
|
|
84
86
|
import {
|
|
85
87
|
Bubble,
|
|
86
88
|
BubbleContent
|
|
@@ -98,29 +100,27 @@ import {
|
|
|
98
100
|
AttachmentTitle,
|
|
99
101
|
AttachmentTrigger
|
|
100
102
|
} from "../chunk-CYDICVH2.js";
|
|
103
|
+
import "../chunk-4TJBXXUE.js";
|
|
104
|
+
import "../chunk-GJ7S3L6R.js";
|
|
105
|
+
import "../chunk-HYTILYE5.js";
|
|
106
|
+
import {
|
|
107
|
+
useIsMobile
|
|
108
|
+
} from "../chunk-PIU5SSUV.js";
|
|
109
|
+
import "../chunk-ZRLUUZHK.js";
|
|
110
|
+
import {
|
|
111
|
+
formatRelativeLong
|
|
112
|
+
} from "../chunk-CS7DM3NV.js";
|
|
101
113
|
import {
|
|
102
114
|
ActionDock
|
|
103
115
|
} from "../chunk-42RTTHND.js";
|
|
104
116
|
import "../chunk-QMA3WVB7.js";
|
|
105
117
|
import "../chunk-3OWGL4Q2.js";
|
|
106
|
-
import "../chunk-5OF6D3GH.js";
|
|
107
118
|
import {
|
|
108
119
|
Button
|
|
109
120
|
} from "../chunk-W326GKML.js";
|
|
110
121
|
import {
|
|
111
122
|
cn
|
|
112
123
|
} from "../chunk-G6SRSWXB.js";
|
|
113
|
-
import "../chunk-GJ7S3L6R.js";
|
|
114
|
-
import {
|
|
115
|
-
useCopyToClipboard
|
|
116
|
-
} from "../chunk-ZWZAAGQF.js";
|
|
117
|
-
import "../chunk-RPSRCB5O.js";
|
|
118
|
-
import {
|
|
119
|
-
useIsMobile
|
|
120
|
-
} from "../chunk-PIU5SSUV.js";
|
|
121
|
-
import {
|
|
122
|
-
formatRelativeLong
|
|
123
|
-
} from "../chunk-CS7DM3NV.js";
|
|
124
124
|
|
|
125
125
|
// src/primitives/chat.tsx
|
|
126
126
|
import {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkPTMZTP3Vcjs = require('../chunk-PTMZTP3V.cjs');
|
|
5
|
+
require('../chunk-HHF5DEKM.cjs');
|
|
6
|
+
require('../chunk-4LXN6GLZ.cjs');
|
|
6
7
|
require('../chunk-JDEXZGIY.cjs');
|
|
7
8
|
require('../chunk-KWLSBTB2.cjs');
|
|
8
|
-
require('../chunk-4LXN6GLZ.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.CodeBlock =
|
|
11
|
+
exports.CodeBlock = _chunkPTMZTP3Vcjs.CodeBlock;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
CodeBlock
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-AWCXVYPL.js";
|
|
5
|
+
import "../chunk-7ZRFXJVN.js";
|
|
6
|
+
import "../chunk-ZWZAAGQF.js";
|
|
6
7
|
import "../chunk-W326GKML.js";
|
|
7
8
|
import "../chunk-G6SRSWXB.js";
|
|
8
|
-
import "../chunk-ZWZAAGQF.js";
|
|
9
9
|
export {
|
|
10
10
|
CodeBlock
|
|
11
11
|
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkWDXEJDMOcjs = require('../chunk-WDXEJDMO.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkKWLSBTB2cjs = require('../chunk-KWLSBTB2.cjs');
|
|
9
|
+
|
|
10
|
+
// src/primitives/command.tsx
|
|
11
|
+
var _cmdk = require('cmdk');
|
|
12
|
+
var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
13
|
+
var _lucidereact = require('lucide-react');
|
|
14
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
15
|
+
var Command = React.forwardRef(({ className, height = "full", surface = "plain", ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16
|
+
_cmdk.Command,
|
|
17
|
+
{
|
|
18
|
+
ref,
|
|
19
|
+
className: _chunkKWLSBTB2cjs.cn.call(void 0,
|
|
20
|
+
"flex w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
|
|
21
|
+
height === "full" && "h-full",
|
|
22
|
+
surface === "bordered" && "border",
|
|
23
|
+
className
|
|
24
|
+
),
|
|
25
|
+
...props
|
|
26
|
+
}
|
|
27
|
+
));
|
|
28
|
+
Command.displayName = _cmdk.Command.displayName;
|
|
29
|
+
var CommandDialog = ({ children, ...props }) => {
|
|
30
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWDXEJDMOcjs.Dialog, { ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWDXEJDMOcjs.DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children }) }) });
|
|
31
|
+
};
|
|
32
|
+
var CommandInput = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
33
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
34
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35
|
+
_cmdk.Command.Input,
|
|
36
|
+
{
|
|
37
|
+
ref,
|
|
38
|
+
className: _chunkKWLSBTB2cjs.cn.call(void 0,
|
|
39
|
+
"flex h-11 w-full rounded-md bg-transparent py-3 text-[16px] md:text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
40
|
+
className
|
|
41
|
+
),
|
|
42
|
+
...props
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
] }));
|
|
46
|
+
CommandInput.displayName = _cmdk.Command.Input.displayName;
|
|
47
|
+
var CommandList = React.forwardRef(({ className, maxHeight = "default", ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
48
|
+
_cmdk.Command.List,
|
|
49
|
+
{
|
|
50
|
+
ref,
|
|
51
|
+
className: _chunkKWLSBTB2cjs.cn.call(void 0,
|
|
52
|
+
maxHeight === "default" ? "max-h-[300px]" : "max-h-44",
|
|
53
|
+
"overflow-y-auto overflow-x-hidden",
|
|
54
|
+
className
|
|
55
|
+
),
|
|
56
|
+
...props
|
|
57
|
+
}
|
|
58
|
+
));
|
|
59
|
+
CommandList.displayName = _cmdk.Command.List.displayName;
|
|
60
|
+
var CommandEmpty = React.forwardRef((props, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
61
|
+
_cmdk.Command.Empty,
|
|
62
|
+
{
|
|
63
|
+
ref,
|
|
64
|
+
className: "py-6 text-center text-sm",
|
|
65
|
+
...props
|
|
66
|
+
}
|
|
67
|
+
));
|
|
68
|
+
CommandEmpty.displayName = _cmdk.Command.Empty.displayName;
|
|
69
|
+
var CommandGroup = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
70
|
+
_cmdk.Command.Group,
|
|
71
|
+
{
|
|
72
|
+
ref,
|
|
73
|
+
className: _chunkKWLSBTB2cjs.cn.call(void 0,
|
|
74
|
+
"overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
|
|
75
|
+
className
|
|
76
|
+
),
|
|
77
|
+
...props
|
|
78
|
+
}
|
|
79
|
+
));
|
|
80
|
+
CommandGroup.displayName = _cmdk.Command.Group.displayName;
|
|
81
|
+
var CommandSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
82
|
+
_cmdk.Command.Separator,
|
|
83
|
+
{
|
|
84
|
+
ref,
|
|
85
|
+
className: _chunkKWLSBTB2cjs.cn.call(void 0, "-mx-1 h-px bg-border", className),
|
|
86
|
+
...props
|
|
87
|
+
}
|
|
88
|
+
));
|
|
89
|
+
CommandSeparator.displayName = _cmdk.Command.Separator.displayName;
|
|
90
|
+
var CommandItem = React.forwardRef(({ className, gap = "none", ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
91
|
+
_cmdk.Command.Item,
|
|
92
|
+
{
|
|
93
|
+
ref,
|
|
94
|
+
className: _chunkKWLSBTB2cjs.cn.call(void 0,
|
|
95
|
+
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[disabled=false]:pointer-events-auto data-[disabled=false]:opacity-100 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
96
|
+
gap === "sm" && "gap-2",
|
|
97
|
+
className
|
|
98
|
+
),
|
|
99
|
+
...props
|
|
100
|
+
}
|
|
101
|
+
));
|
|
102
|
+
CommandItem.displayName = _cmdk.Command.Item.displayName;
|
|
103
|
+
var CommandShortcut = ({
|
|
104
|
+
className,
|
|
105
|
+
...props
|
|
106
|
+
}) => {
|
|
107
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
108
|
+
"span",
|
|
109
|
+
{
|
|
110
|
+
className: _chunkKWLSBTB2cjs.cn.call(void 0,
|
|
111
|
+
"ml-auto text-xs tracking-widest text-muted-foreground",
|
|
112
|
+
className
|
|
113
|
+
),
|
|
114
|
+
...props
|
|
115
|
+
}
|
|
116
|
+
);
|
|
117
|
+
};
|
|
118
|
+
CommandShortcut.displayName = "CommandShortcut";
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandInput = CommandInput; exports.CommandItem = CommandItem; exports.CommandList = CommandList; exports.CommandSeparator = CommandSeparator; exports.CommandShortcut = CommandShortcut;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
3
|
+
import { Command as Command$1 } from 'cmdk';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
|
|
6
|
+
interface CommandProps extends React.ComponentPropsWithoutRef<typeof Command$1> {
|
|
7
|
+
height?: "full" | "auto";
|
|
8
|
+
surface?: "plain" | "bordered";
|
|
9
|
+
}
|
|
10
|
+
declare const Command: React.ForwardRefExoticComponent<CommandProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
interface CommandDialogProps extends DialogProps {
|
|
12
|
+
}
|
|
13
|
+
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
14
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
15
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
16
|
+
} & {
|
|
17
|
+
asChild?: boolean;
|
|
18
|
+
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
19
|
+
value?: string;
|
|
20
|
+
onValueChange?: (search: string) => void;
|
|
21
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
22
|
+
interface CommandListProps extends React.ComponentPropsWithoutRef<typeof Command$1.List> {
|
|
23
|
+
maxHeight?: "default" | "sm";
|
|
24
|
+
}
|
|
25
|
+
declare const CommandList: React.ForwardRefExoticComponent<CommandListProps & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
27
|
+
children?: React.ReactNode;
|
|
28
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
29
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
30
|
+
} & {
|
|
31
|
+
asChild?: boolean;
|
|
32
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
34
|
+
children?: React.ReactNode;
|
|
35
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
36
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
37
|
+
} & {
|
|
38
|
+
asChild?: boolean;
|
|
39
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
|
|
40
|
+
heading?: React.ReactNode;
|
|
41
|
+
value?: string;
|
|
42
|
+
forceMount?: boolean;
|
|
43
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
45
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
46
|
+
} & {
|
|
47
|
+
asChild?: boolean;
|
|
48
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
49
|
+
alwaysRender?: boolean;
|
|
50
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
51
|
+
interface CommandItemProps extends React.ComponentPropsWithoutRef<typeof Command$1.Item> {
|
|
52
|
+
gap?: "none" | "sm";
|
|
53
|
+
}
|
|
54
|
+
declare const CommandItem: React.ForwardRefExoticComponent<CommandItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
55
|
+
declare const CommandShortcut: {
|
|
56
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
57
|
+
displayName: string;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, CommandShortcut };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
3
|
+
import { Command as Command$1 } from 'cmdk';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
|
|
6
|
+
interface CommandProps extends React.ComponentPropsWithoutRef<typeof Command$1> {
|
|
7
|
+
height?: "full" | "auto";
|
|
8
|
+
surface?: "plain" | "bordered";
|
|
9
|
+
}
|
|
10
|
+
declare const Command: React.ForwardRefExoticComponent<CommandProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
interface CommandDialogProps extends DialogProps {
|
|
12
|
+
}
|
|
13
|
+
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
14
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
15
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
16
|
+
} & {
|
|
17
|
+
asChild?: boolean;
|
|
18
|
+
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
19
|
+
value?: string;
|
|
20
|
+
onValueChange?: (search: string) => void;
|
|
21
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
22
|
+
interface CommandListProps extends React.ComponentPropsWithoutRef<typeof Command$1.List> {
|
|
23
|
+
maxHeight?: "default" | "sm";
|
|
24
|
+
}
|
|
25
|
+
declare const CommandList: React.ForwardRefExoticComponent<CommandListProps & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
27
|
+
children?: React.ReactNode;
|
|
28
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
29
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
30
|
+
} & {
|
|
31
|
+
asChild?: boolean;
|
|
32
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
34
|
+
children?: React.ReactNode;
|
|
35
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
36
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
37
|
+
} & {
|
|
38
|
+
asChild?: boolean;
|
|
39
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
|
|
40
|
+
heading?: React.ReactNode;
|
|
41
|
+
value?: string;
|
|
42
|
+
forceMount?: boolean;
|
|
43
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
45
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
46
|
+
} & {
|
|
47
|
+
asChild?: boolean;
|
|
48
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
49
|
+
alwaysRender?: boolean;
|
|
50
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
51
|
+
interface CommandItemProps extends React.ComponentPropsWithoutRef<typeof Command$1.Item> {
|
|
52
|
+
gap?: "none" | "sm";
|
|
53
|
+
}
|
|
54
|
+
declare const CommandItem: React.ForwardRefExoticComponent<CommandItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
55
|
+
declare const CommandShortcut: {
|
|
56
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
57
|
+
displayName: string;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, CommandShortcut };
|