@epicbagel/saas-kit 1.0.0 → 1.1.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/README.md +38 -1
- package/THIRD_PARTY_NOTICES.md +13 -7
- package/dist/chunk-2AU7ZRGX.cjs +96 -0
- package/dist/chunk-2BTDBZYN.cjs +154 -0
- package/dist/chunk-2HV2KKOE.cjs +38 -0
- package/dist/chunk-2KFZQJH5.cjs +29 -0
- package/dist/chunk-32Q4XOTU.cjs +204 -0
- package/dist/chunk-42RTTHND.js +29 -0
- package/dist/chunk-6FC65AZQ.js +38 -0
- package/dist/chunk-6V4XMQ6D.js +118 -0
- package/dist/chunk-B765DSRG.cjs +66 -0
- package/dist/chunk-ELPV44S6.cjs +44 -0
- package/dist/chunk-EOUO3ORO.cjs +244 -0
- package/dist/chunk-EZCKWTH7.js +204 -0
- package/dist/chunk-F366BHWH.js +116 -0
- package/dist/chunk-GFG2R5BZ.js +132 -0
- package/dist/chunk-HAC32ALJ.js +244 -0
- package/dist/chunk-I5UQSBBZ.cjs +118 -0
- package/dist/chunk-INNGGLMZ.js +44 -0
- package/dist/chunk-IW4ZIXXG.js +66 -0
- package/dist/chunk-JZOBIPFC.js +96 -0
- package/dist/chunk-KENBU3NV.cjs +27 -0
- package/dist/chunk-MHYAVXOE.js +159 -0
- package/dist/chunk-RIWLAMME.cjs +159 -0
- package/dist/chunk-SUB4BAYE.cjs +73 -0
- package/dist/chunk-THWIJG5C.js +73 -0
- package/dist/chunk-V4YWTRLD.cjs +116 -0
- package/dist/chunk-VY5U4VGV.js +27 -0
- package/dist/chunk-XABXUP6L.cjs +132 -0
- package/dist/chunk-Z45YKVAM.js +154 -0
- package/dist/primitives/action-dock.cjs +8 -0
- package/dist/primitives/action-dock.d.cts +10 -0
- package/dist/primitives/action-dock.d.ts +10 -0
- package/dist/primitives/action-dock.js +8 -0
- package/dist/primitives/alert.d.cts +1 -1
- package/dist/primitives/alert.d.ts +1 -1
- package/dist/primitives/attachment.cjs +25 -203
- package/dist/primitives/attachment.d.cts +1 -1
- package/dist/primitives/attachment.d.ts +1 -1
- package/dist/primitives/attachment.js +12 -190
- package/dist/primitives/badge.d.cts +1 -1
- package/dist/primitives/badge.d.ts +1 -1
- package/dist/primitives/board-view.cjs +3 -3
- package/dist/primitives/board-view.js +2 -2
- package/dist/primitives/bubble.cjs +14 -0
- package/dist/primitives/bubble.d.cts +21 -0
- package/dist/primitives/bubble.d.ts +21 -0
- package/dist/primitives/bubble.js +14 -0
- package/dist/primitives/button.d.cts +2 -2
- package/dist/primitives/button.d.ts +2 -2
- package/dist/primitives/chat.cjs +864 -0
- package/dist/primitives/chat.d.cts +326 -0
- package/dist/primitives/chat.d.ts +326 -0
- package/dist/primitives/chat.js +864 -0
- package/dist/primitives/connection.cjs +6 -6
- package/dist/primitives/connection.js +7 -7
- package/dist/primitives/file-dropzone.cjs +7 -113
- package/dist/primitives/file-dropzone.js +6 -112
- package/dist/primitives/input-group.cjs +21 -0
- package/dist/primitives/input-group.d.cts +20 -0
- package/dist/primitives/input-group.d.ts +20 -0
- package/dist/primitives/input-group.js +21 -0
- package/dist/primitives/item.cjs +197 -0
- package/dist/primitives/item.d.cts +28 -0
- package/dist/primitives/item.d.ts +28 -0
- package/dist/primitives/item.js +197 -0
- package/dist/primitives/lazy-markdown.cjs +10 -0
- package/dist/primitives/lazy-markdown.d.cts +20 -0
- package/dist/primitives/lazy-markdown.d.ts +20 -0
- package/dist/primitives/lazy-markdown.js +10 -0
- package/dist/primitives/markdown.cjs +17 -0
- package/dist/primitives/markdown.d.cts +32 -0
- package/dist/primitives/markdown.d.ts +32 -0
- package/dist/primitives/markdown.js +17 -0
- package/dist/primitives/marker.cjs +14 -0
- package/dist/primitives/marker.d.cts +15 -0
- package/dist/primitives/marker.d.ts +15 -0
- package/dist/primitives/marker.js +14 -0
- package/dist/primitives/message-scroller.cjs +26 -0
- package/dist/primitives/message-scroller.d.cts +16 -0
- package/dist/primitives/message-scroller.d.ts +16 -0
- package/dist/primitives/message-scroller.js +26 -0
- package/dist/primitives/message.cjs +7 -84
- package/dist/primitives/message.js +8 -85
- package/dist/primitives/resource-list.cjs +3 -3
- package/dist/primitives/resource-list.js +2 -2
- package/dist/primitives/rich-text.cjs +3 -38
- package/dist/primitives/rich-text.js +3 -38
- package/dist/primitives/section-header.d.cts +1 -1
- package/dist/primitives/section-header.d.ts +1 -1
- package/dist/primitives/spinner.cjs +23 -0
- package/dist/primitives/spinner.d.cts +6 -0
- package/dist/primitives/spinner.d.ts +6 -0
- package/dist/primitives/spinner.js +23 -0
- package/dist/primitives/suggestion.cjs +11 -0
- package/dist/primitives/suggestion.d.cts +19 -0
- package/dist/primitives/suggestion.d.ts +19 -0
- package/dist/primitives/suggestion.js +11 -0
- package/dist/primitives/switch-field.cjs +2 -2
- package/dist/primitives/switch-field.js +3 -3
- package/dist/primitives/textarea.cjs +4 -33
- package/dist/primitives/textarea.js +3 -32
- package/dist/primitives/toggle-group.d.cts +2 -2
- package/dist/primitives/toggle-group.d.ts +2 -2
- package/dist/primitives/toggle.d.cts +2 -2
- package/dist/primitives/toggle.d.ts +2 -2
- package/dist/primitives/trace.cjs +23 -0
- package/dist/primitives/trace.d.cts +22 -0
- package/dist/primitives/trace.d.ts +22 -0
- package/dist/primitives/trace.js +23 -0
- package/dist/primitives/voice-dictation-button.cjs +5 -239
- package/dist/primitives/voice-dictation-button.js +4 -238
- package/package.json +125 -2
- package/src/styles/components/bubble.css +81 -0
- package/src/styles/components/marker.css +27 -0
- package/src/styles/components/message-scroller.css +11 -0
- package/src/styles/components.css +3 -0
- package/src/styles/utilities.css +3 -2
- package/dist/{chunk-UGF2K6NR.js → chunk-HRLP4BHJ.js} +6 -6
- package/dist/{chunk-RWWOFWLP.cjs → chunk-IH3COANJ.cjs} +3 -3
|
@@ -1,203 +1,25 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
function Attachment({
|
|
30
|
-
className,
|
|
31
|
-
state = "done",
|
|
32
|
-
size = "default",
|
|
33
|
-
orientation = "horizontal",
|
|
34
|
-
...props
|
|
35
|
-
}) {
|
|
36
|
-
const resolvedOrientation = _nullishCoalesce(orientation, () => ( "horizontal"));
|
|
37
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38
|
-
"div",
|
|
39
|
-
{
|
|
40
|
-
"data-slot": "attachment",
|
|
41
|
-
"data-state": state,
|
|
42
|
-
"data-size": size,
|
|
43
|
-
"data-orientation": resolvedOrientation,
|
|
44
|
-
className: _chunkKWLSBTB2cjs.cn.call(void 0, attachmentVariants({ size, orientation }), className),
|
|
45
|
-
...props
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
var attachmentMediaVariants = _classvarianceauthority.cva.call(void 0,
|
|
50
|
-
"cn-attachment-media relative flex aspect-square shrink-0 items-center justify-center overflow-hidden group-data-[state=error]/attachment:bg-destructive/10 group-data-[state=error]/attachment:text-destructive [&_svg]:pointer-events-none",
|
|
51
|
-
{
|
|
52
|
-
variants: {
|
|
53
|
-
variant: {
|
|
54
|
-
icon: "cn-attachment-media-variant-icon",
|
|
55
|
-
image: "cn-attachment-media-variant-image *:[img]:aspect-square *:[img]:w-full *:[img]:object-cover"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
defaultVariants: {
|
|
59
|
-
variant: "icon"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
);
|
|
63
|
-
function AttachmentMedia({
|
|
64
|
-
className,
|
|
65
|
-
variant = "icon",
|
|
66
|
-
...props
|
|
67
|
-
}) {
|
|
68
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
69
|
-
"div",
|
|
70
|
-
{
|
|
71
|
-
"data-slot": "attachment-media",
|
|
72
|
-
"data-variant": variant,
|
|
73
|
-
className: _chunkKWLSBTB2cjs.cn.call(void 0, attachmentMediaVariants({ variant }), className),
|
|
74
|
-
...props
|
|
75
|
-
}
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
function AttachmentContent({
|
|
79
|
-
className,
|
|
80
|
-
...props
|
|
81
|
-
}) {
|
|
82
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
83
|
-
"div",
|
|
84
|
-
{
|
|
85
|
-
"data-slot": "attachment-content",
|
|
86
|
-
className: _chunkKWLSBTB2cjs.cn.call(void 0,
|
|
87
|
-
"cn-attachment-content max-w-full min-w-0 flex-1",
|
|
88
|
-
className
|
|
89
|
-
),
|
|
90
|
-
...props
|
|
91
|
-
}
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
function AttachmentTitle({
|
|
95
|
-
className,
|
|
96
|
-
...props
|
|
97
|
-
}) {
|
|
98
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
99
|
-
"span",
|
|
100
|
-
{
|
|
101
|
-
"data-slot": "attachment-title",
|
|
102
|
-
className: _chunkKWLSBTB2cjs.cn.call(void 0,
|
|
103
|
-
"cn-attachment-title block max-w-full min-w-0 truncate group-data-[state=processing]/attachment:shimmer group-data-[state=uploading]/attachment:shimmer",
|
|
104
|
-
className
|
|
105
|
-
),
|
|
106
|
-
...props
|
|
107
|
-
}
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
function AttachmentDescription({
|
|
111
|
-
className,
|
|
112
|
-
...props
|
|
113
|
-
}) {
|
|
114
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
115
|
-
"span",
|
|
116
|
-
{
|
|
117
|
-
"data-slot": "attachment-description",
|
|
118
|
-
className: _chunkKWLSBTB2cjs.cn.call(void 0,
|
|
119
|
-
"cn-attachment-description block min-w-0 truncate text-muted-foreground group-data-[state=error]/attachment:text-destructive/80",
|
|
120
|
-
"max-w-full",
|
|
121
|
-
className
|
|
122
|
-
),
|
|
123
|
-
...props
|
|
124
|
-
}
|
|
125
|
-
);
|
|
126
|
-
}
|
|
127
|
-
function AttachmentActions({
|
|
128
|
-
className,
|
|
129
|
-
...props
|
|
130
|
-
}) {
|
|
131
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
132
|
-
"div",
|
|
133
|
-
{
|
|
134
|
-
"data-slot": "attachment-actions",
|
|
135
|
-
className: _chunkKWLSBTB2cjs.cn.call(void 0,
|
|
136
|
-
"cn-attachment-actions flex shrink-0 items-center",
|
|
137
|
-
className
|
|
138
|
-
),
|
|
139
|
-
...props
|
|
140
|
-
}
|
|
141
|
-
);
|
|
142
|
-
}
|
|
143
|
-
function AttachmentAction({
|
|
144
|
-
className,
|
|
145
|
-
variant,
|
|
146
|
-
size = "icon-xs",
|
|
147
|
-
...props
|
|
148
|
-
}) {
|
|
149
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
150
|
-
_chunkL4DH72UFcjs.Button,
|
|
151
|
-
{
|
|
152
|
-
"data-slot": "attachment-action",
|
|
153
|
-
variant: _nullishCoalesce(variant, () => ( "ghost")),
|
|
154
|
-
size,
|
|
155
|
-
className: _chunkKWLSBTB2cjs.cn.call(void 0, "cn-attachment-action", className),
|
|
156
|
-
...props
|
|
157
|
-
}
|
|
158
|
-
);
|
|
159
|
-
}
|
|
160
|
-
function AttachmentTrigger({
|
|
161
|
-
className,
|
|
162
|
-
asChild = false,
|
|
163
|
-
type,
|
|
164
|
-
...props
|
|
165
|
-
}) {
|
|
166
|
-
const Comp = asChild ? _radixui.Slot.Root : "button";
|
|
167
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
168
|
-
Comp,
|
|
169
|
-
{
|
|
170
|
-
"data-slot": "attachment-trigger",
|
|
171
|
-
type: asChild ? void 0 : _nullishCoalesce(type, () => ( "button")),
|
|
172
|
-
className: _chunkKWLSBTB2cjs.cn.call(void 0,
|
|
173
|
-
"cn-attachment-trigger absolute inset-0 z-10 outline-none",
|
|
174
|
-
className
|
|
175
|
-
),
|
|
176
|
-
...props
|
|
177
|
-
}
|
|
178
|
-
);
|
|
179
|
-
}
|
|
180
|
-
function AttachmentGroup({ className, ...props }) {
|
|
181
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
182
|
-
"div",
|
|
183
|
-
{
|
|
184
|
-
"data-slot": "attachment-group",
|
|
185
|
-
className: _chunkKWLSBTB2cjs.cn.call(void 0,
|
|
186
|
-
"cn-attachment-group flex min-w-0 scroll-fade-x snap-x snap-mandatory scrollbar-none overflow-x-auto overscroll-x-contain *:data-[slot=attachment]:flex-none *:data-[slot=attachment]:snap-start",
|
|
187
|
-
className
|
|
188
|
-
),
|
|
189
|
-
...props
|
|
190
|
-
}
|
|
191
|
-
);
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
exports.Attachment = Attachment; exports.AttachmentAction = AttachmentAction; exports.AttachmentActions = AttachmentActions; exports.AttachmentContent = AttachmentContent; exports.AttachmentDescription = AttachmentDescription; exports.AttachmentGroup = AttachmentGroup; exports.AttachmentMedia = AttachmentMedia; exports.AttachmentTitle = AttachmentTitle; exports.AttachmentTrigger = AttachmentTrigger;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunk32Q4XOTUcjs = require('../chunk-32Q4XOTU.cjs');
|
|
13
|
+
require('../chunk-L4DH72UF.cjs');
|
|
14
|
+
require('../chunk-KWLSBTB2.cjs');
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
exports.Attachment = _chunk32Q4XOTUcjs.Attachment; exports.AttachmentAction = _chunk32Q4XOTUcjs.AttachmentAction; exports.AttachmentActions = _chunk32Q4XOTUcjs.AttachmentActions; exports.AttachmentContent = _chunk32Q4XOTUcjs.AttachmentContent; exports.AttachmentDescription = _chunk32Q4XOTUcjs.AttachmentDescription; exports.AttachmentGroup = _chunk32Q4XOTUcjs.AttachmentGroup; exports.AttachmentMedia = _chunk32Q4XOTUcjs.AttachmentMedia; exports.AttachmentTitle = _chunk32Q4XOTUcjs.AttachmentTitle; exports.AttachmentTrigger = _chunk32Q4XOTUcjs.AttachmentTrigger;
|
|
@@ -12,7 +12,7 @@ declare function Attachment({ className, state, size, orientation, ...props }: R
|
|
|
12
12
|
state?: "idle" | "uploading" | "processing" | "error" | "done";
|
|
13
13
|
}): react_jsx_runtime.JSX.Element;
|
|
14
14
|
declare const attachmentMediaVariants: (props?: ({
|
|
15
|
-
variant?: "
|
|
15
|
+
variant?: "image" | "icon" | null | undefined;
|
|
16
16
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
17
|
declare function AttachmentMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof attachmentMediaVariants>): react_jsx_runtime.JSX.Element;
|
|
18
18
|
declare function AttachmentContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
@@ -12,7 +12,7 @@ declare function Attachment({ className, state, size, orientation, ...props }: R
|
|
|
12
12
|
state?: "idle" | "uploading" | "processing" | "error" | "done";
|
|
13
13
|
}): react_jsx_runtime.JSX.Element;
|
|
14
14
|
declare const attachmentMediaVariants: (props?: ({
|
|
15
|
-
variant?: "
|
|
15
|
+
variant?: "image" | "icon" | null | undefined;
|
|
16
16
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
17
|
declare function AttachmentMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof attachmentMediaVariants>): react_jsx_runtime.JSX.Element;
|
|
18
18
|
declare function AttachmentContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
@@ -1,195 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
{
|
|
16
|
-
variants: {
|
|
17
|
-
size: {
|
|
18
|
-
default: "cn-attachment-size-default",
|
|
19
|
-
sm: "cn-attachment-size-sm",
|
|
20
|
-
xs: "cn-attachment-size-xs"
|
|
21
|
-
},
|
|
22
|
-
orientation: {
|
|
23
|
-
horizontal: "cn-attachment-orientation-horizontal items-center",
|
|
24
|
-
vertical: "cn-attachment-orientation-vertical flex-col"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
function Attachment({
|
|
30
|
-
className,
|
|
31
|
-
state = "done",
|
|
32
|
-
size = "default",
|
|
33
|
-
orientation = "horizontal",
|
|
34
|
-
...props
|
|
35
|
-
}) {
|
|
36
|
-
const resolvedOrientation = orientation ?? "horizontal";
|
|
37
|
-
return /* @__PURE__ */ jsx(
|
|
38
|
-
"div",
|
|
39
|
-
{
|
|
40
|
-
"data-slot": "attachment",
|
|
41
|
-
"data-state": state,
|
|
42
|
-
"data-size": size,
|
|
43
|
-
"data-orientation": resolvedOrientation,
|
|
44
|
-
className: cn(attachmentVariants({ size, orientation }), className),
|
|
45
|
-
...props
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
var attachmentMediaVariants = cva(
|
|
50
|
-
"cn-attachment-media relative flex aspect-square shrink-0 items-center justify-center overflow-hidden group-data-[state=error]/attachment:bg-destructive/10 group-data-[state=error]/attachment:text-destructive [&_svg]:pointer-events-none",
|
|
51
|
-
{
|
|
52
|
-
variants: {
|
|
53
|
-
variant: {
|
|
54
|
-
icon: "cn-attachment-media-variant-icon",
|
|
55
|
-
image: "cn-attachment-media-variant-image *:[img]:aspect-square *:[img]:w-full *:[img]:object-cover"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
defaultVariants: {
|
|
59
|
-
variant: "icon"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
);
|
|
63
|
-
function AttachmentMedia({
|
|
64
|
-
className,
|
|
65
|
-
variant = "icon",
|
|
66
|
-
...props
|
|
67
|
-
}) {
|
|
68
|
-
return /* @__PURE__ */ jsx(
|
|
69
|
-
"div",
|
|
70
|
-
{
|
|
71
|
-
"data-slot": "attachment-media",
|
|
72
|
-
"data-variant": variant,
|
|
73
|
-
className: cn(attachmentMediaVariants({ variant }), className),
|
|
74
|
-
...props
|
|
75
|
-
}
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
function AttachmentContent({
|
|
79
|
-
className,
|
|
80
|
-
...props
|
|
81
|
-
}) {
|
|
82
|
-
return /* @__PURE__ */ jsx(
|
|
83
|
-
"div",
|
|
84
|
-
{
|
|
85
|
-
"data-slot": "attachment-content",
|
|
86
|
-
className: cn(
|
|
87
|
-
"cn-attachment-content max-w-full min-w-0 flex-1",
|
|
88
|
-
className
|
|
89
|
-
),
|
|
90
|
-
...props
|
|
91
|
-
}
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
function AttachmentTitle({
|
|
95
|
-
className,
|
|
96
|
-
...props
|
|
97
|
-
}) {
|
|
98
|
-
return /* @__PURE__ */ jsx(
|
|
99
|
-
"span",
|
|
100
|
-
{
|
|
101
|
-
"data-slot": "attachment-title",
|
|
102
|
-
className: cn(
|
|
103
|
-
"cn-attachment-title block max-w-full min-w-0 truncate group-data-[state=processing]/attachment:shimmer group-data-[state=uploading]/attachment:shimmer",
|
|
104
|
-
className
|
|
105
|
-
),
|
|
106
|
-
...props
|
|
107
|
-
}
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
function AttachmentDescription({
|
|
111
|
-
className,
|
|
112
|
-
...props
|
|
113
|
-
}) {
|
|
114
|
-
return /* @__PURE__ */ jsx(
|
|
115
|
-
"span",
|
|
116
|
-
{
|
|
117
|
-
"data-slot": "attachment-description",
|
|
118
|
-
className: cn(
|
|
119
|
-
"cn-attachment-description block min-w-0 truncate text-muted-foreground group-data-[state=error]/attachment:text-destructive/80",
|
|
120
|
-
"max-w-full",
|
|
121
|
-
className
|
|
122
|
-
),
|
|
123
|
-
...props
|
|
124
|
-
}
|
|
125
|
-
);
|
|
126
|
-
}
|
|
127
|
-
function AttachmentActions({
|
|
128
|
-
className,
|
|
129
|
-
...props
|
|
130
|
-
}) {
|
|
131
|
-
return /* @__PURE__ */ jsx(
|
|
132
|
-
"div",
|
|
133
|
-
{
|
|
134
|
-
"data-slot": "attachment-actions",
|
|
135
|
-
className: cn(
|
|
136
|
-
"cn-attachment-actions flex shrink-0 items-center",
|
|
137
|
-
className
|
|
138
|
-
),
|
|
139
|
-
...props
|
|
140
|
-
}
|
|
141
|
-
);
|
|
142
|
-
}
|
|
143
|
-
function AttachmentAction({
|
|
144
|
-
className,
|
|
145
|
-
variant,
|
|
146
|
-
size = "icon-xs",
|
|
147
|
-
...props
|
|
148
|
-
}) {
|
|
149
|
-
return /* @__PURE__ */ jsx(
|
|
150
|
-
Button,
|
|
151
|
-
{
|
|
152
|
-
"data-slot": "attachment-action",
|
|
153
|
-
variant: variant ?? "ghost",
|
|
154
|
-
size,
|
|
155
|
-
className: cn("cn-attachment-action", className),
|
|
156
|
-
...props
|
|
157
|
-
}
|
|
158
|
-
);
|
|
159
|
-
}
|
|
160
|
-
function AttachmentTrigger({
|
|
161
|
-
className,
|
|
162
|
-
asChild = false,
|
|
163
|
-
type,
|
|
164
|
-
...props
|
|
165
|
-
}) {
|
|
166
|
-
const Comp = asChild ? Slot.Root : "button";
|
|
167
|
-
return /* @__PURE__ */ jsx(
|
|
168
|
-
Comp,
|
|
169
|
-
{
|
|
170
|
-
"data-slot": "attachment-trigger",
|
|
171
|
-
type: asChild ? void 0 : type ?? "button",
|
|
172
|
-
className: cn(
|
|
173
|
-
"cn-attachment-trigger absolute inset-0 z-10 outline-none",
|
|
174
|
-
className
|
|
175
|
-
),
|
|
176
|
-
...props
|
|
177
|
-
}
|
|
178
|
-
);
|
|
179
|
-
}
|
|
180
|
-
function AttachmentGroup({ className, ...props }) {
|
|
181
|
-
return /* @__PURE__ */ jsx(
|
|
182
|
-
"div",
|
|
183
|
-
{
|
|
184
|
-
"data-slot": "attachment-group",
|
|
185
|
-
className: cn(
|
|
186
|
-
"cn-attachment-group flex min-w-0 scroll-fade-x snap-x snap-mandatory scrollbar-none overflow-x-auto overscroll-x-contain *:data-[slot=attachment]:flex-none *:data-[slot=attachment]:snap-start",
|
|
187
|
-
className
|
|
188
|
-
),
|
|
189
|
-
...props
|
|
190
|
-
}
|
|
191
|
-
);
|
|
192
|
-
}
|
|
3
|
+
Attachment,
|
|
4
|
+
AttachmentAction,
|
|
5
|
+
AttachmentActions,
|
|
6
|
+
AttachmentContent,
|
|
7
|
+
AttachmentDescription,
|
|
8
|
+
AttachmentGroup,
|
|
9
|
+
AttachmentMedia,
|
|
10
|
+
AttachmentTitle,
|
|
11
|
+
AttachmentTrigger
|
|
12
|
+
} from "../chunk-EZCKWTH7.js";
|
|
13
|
+
import "../chunk-HQRWRRZJ.js";
|
|
14
|
+
import "../chunk-G6SRSWXB.js";
|
|
193
15
|
export {
|
|
194
16
|
Attachment,
|
|
195
17
|
AttachmentAction,
|
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
import { ElementType } from 'react';
|
|
5
5
|
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "error" | "info" | "neutral" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
10
10
|
weight?: "normal" | "semibold" | "bold";
|
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
4
4
|
import { ElementType } from 'react';
|
|
5
5
|
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "error" | "info" | "neutral" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
10
10
|
weight?: "normal" | "semibold" | "bold";
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkIH3COANJcjs = require('../chunk-IH3COANJ.cjs');
|
|
6
6
|
require('../chunk-PNWNU6JW.cjs');
|
|
7
7
|
require('../chunk-FNDBM67K.cjs');
|
|
8
|
-
require('../chunk-U2NES7VR.cjs');
|
|
9
8
|
require('../chunk-SGW4FWBX.cjs');
|
|
10
9
|
require('../chunk-PPX2VPGI.cjs');
|
|
11
10
|
require('../chunk-WNXVGUBF.cjs');
|
|
12
11
|
require('../chunk-IQZLUT2Y.cjs');
|
|
13
12
|
require('../chunk-LELBCBDT.cjs');
|
|
14
13
|
require('../chunk-R5L4CM6V.cjs');
|
|
14
|
+
require('../chunk-U2NES7VR.cjs');
|
|
15
15
|
require('../chunk-JH4GAGOQ.cjs');
|
|
16
16
|
require('../chunk-YYFVG5A6.cjs');
|
|
17
17
|
require('../chunk-XLIAY56V.cjs');
|
|
@@ -57,7 +57,7 @@ function BoardView({
|
|
|
57
57
|
onSortChange
|
|
58
58
|
}) {
|
|
59
59
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
60
|
-
|
|
60
|
+
_chunkIH3COANJcjs.ResourceList,
|
|
61
61
|
{
|
|
62
62
|
data,
|
|
63
63
|
loading,
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
ResourceList
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-HRLP4BHJ.js";
|
|
6
6
|
import "../chunk-LI5EOSQG.js";
|
|
7
7
|
import "../chunk-J3GQXM37.js";
|
|
8
|
-
import "../chunk-ZRLUUZHK.js";
|
|
9
8
|
import "../chunk-MLHNYRFX.js";
|
|
10
9
|
import "../chunk-G76JANB4.js";
|
|
11
10
|
import "../chunk-YG7FBJRM.js";
|
|
12
11
|
import "../chunk-E2TQMDO7.js";
|
|
13
12
|
import "../chunk-H2O6NMLZ.js";
|
|
14
13
|
import "../chunk-RRRD5EUI.js";
|
|
14
|
+
import "../chunk-ZRLUUZHK.js";
|
|
15
15
|
import "../chunk-OICAYRVH.js";
|
|
16
16
|
import "../chunk-62UTAG2C.js";
|
|
17
17
|
import "../chunk-LELFPLTE.js";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkV4YWTRLDcjs = require('../chunk-V4YWTRLD.cjs');
|
|
8
|
+
require('../chunk-KWLSBTB2.cjs');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.Bubble = _chunkV4YWTRLDcjs.Bubble; exports.BubbleContent = _chunkV4YWTRLDcjs.BubbleContent; exports.BubbleGroup = _chunkV4YWTRLDcjs.BubbleGroup; exports.BubbleReactions = _chunkV4YWTRLDcjs.BubbleReactions;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare function BubbleGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
7
|
+
declare const bubbleVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "muted" | "secondary" | "destructive" | "outline" | "ghost" | "tinted" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
declare function Bubble({ variant, align, className, ...props }: React.ComponentProps<"div"> & VariantProps<typeof bubbleVariants> & {
|
|
11
|
+
align?: "start" | "end";
|
|
12
|
+
}): react_jsx_runtime.JSX.Element;
|
|
13
|
+
declare function BubbleContent({ asChild, className, ...props }: React.ComponentProps<"div"> & {
|
|
14
|
+
asChild?: boolean;
|
|
15
|
+
}): react_jsx_runtime.JSX.Element;
|
|
16
|
+
declare function BubbleReactions({ side, align, className, ...props }: React.ComponentProps<"div"> & {
|
|
17
|
+
align?: "start" | "end";
|
|
18
|
+
side?: "top" | "bottom";
|
|
19
|
+
}): react_jsx_runtime.JSX.Element;
|
|
20
|
+
|
|
21
|
+
export { Bubble, BubbleContent, BubbleGroup, BubbleReactions };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare function BubbleGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
7
|
+
declare const bubbleVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "muted" | "secondary" | "destructive" | "outline" | "ghost" | "tinted" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
declare function Bubble({ variant, align, className, ...props }: React.ComponentProps<"div"> & VariantProps<typeof bubbleVariants> & {
|
|
11
|
+
align?: "start" | "end";
|
|
12
|
+
}): react_jsx_runtime.JSX.Element;
|
|
13
|
+
declare function BubbleContent({ asChild, className, ...props }: React.ComponentProps<"div"> & {
|
|
14
|
+
asChild?: boolean;
|
|
15
|
+
}): react_jsx_runtime.JSX.Element;
|
|
16
|
+
declare function BubbleReactions({ side, align, className, ...props }: React.ComponentProps<"div"> & {
|
|
17
|
+
align?: "start" | "end";
|
|
18
|
+
side?: "top" | "bottom";
|
|
19
|
+
}): react_jsx_runtime.JSX.Element;
|
|
20
|
+
|
|
21
|
+
export { Bubble, BubbleContent, BubbleGroup, BubbleReactions };
|
|
@@ -5,12 +5,12 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
7
|
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "outline-muted" | "ghost" | "quiet" | "ghost-destructive" | "link-muted" | "inverted" | "status-error" | "status-warning" | "status-muted" | null | undefined;
|
|
8
|
-
size?: "filter" | "status" | "
|
|
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" | "tone" | null | undefined;
|
|
9
9
|
width?: "auto" | "full" | "responsive" | null | undefined;
|
|
10
10
|
align?: "center" | "start" | null | undefined;
|
|
11
11
|
shrink?: boolean | null | undefined;
|
|
12
12
|
shape?: "circle" | "default" | null | undefined;
|
|
13
|
-
ring?: "
|
|
13
|
+
ring?: "none" | "surface" | null | undefined;
|
|
14
14
|
grow?: boolean | null | undefined;
|
|
15
15
|
minWidth?: "auto" | "zero" | null | undefined;
|
|
16
16
|
textAlign?: "center" | "start" | null | undefined;
|
|
@@ -5,12 +5,12 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
7
|
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "outline-muted" | "ghost" | "quiet" | "ghost-destructive" | "link-muted" | "inverted" | "status-error" | "status-warning" | "status-muted" | null | undefined;
|
|
8
|
-
size?: "filter" | "status" | "
|
|
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" | "tone" | null | undefined;
|
|
9
9
|
width?: "auto" | "full" | "responsive" | null | undefined;
|
|
10
10
|
align?: "center" | "start" | null | undefined;
|
|
11
11
|
shrink?: boolean | null | undefined;
|
|
12
12
|
shape?: "circle" | "default" | null | undefined;
|
|
13
|
-
ring?: "
|
|
13
|
+
ring?: "none" | "surface" | null | undefined;
|
|
14
14
|
grow?: boolean | null | undefined;
|
|
15
15
|
minWidth?: "auto" | "zero" | null | undefined;
|
|
16
16
|
textAlign?: "center" | "start" | null | undefined;
|