@arcadeai/design-system 3.32.0 → 3.33.1
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/dist/assets/icons/attio.js +6 -6
- package/dist/assets/icons/exa.js +10 -0
- package/dist/assets/icons/math-toolkit.js +10 -0
- package/dist/assets/images/arcade-grid.d.ts +5 -0
- package/dist/assets/images/arcade-grid.d.ts.map +1 -0
- package/dist/assets/images/arcade-grid.js +23 -0
- package/dist/assets/images/arcade-logo.d.ts +5 -10
- package/dist/assets/images/arcade-logo.d.ts.map +1 -0
- package/dist/assets/images/arcade-logo.js +31 -10
- package/dist/components/index.js +444 -399
- package/dist/components/ui/atoms/copy-button.d.ts.map +1 -1
- package/dist/components/ui/atoms/copy-button.js +41 -22
- package/dist/components/ui/atoms/icons/attio.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/attio.js +13 -25
- package/dist/components/ui/atoms/icons/exa.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/exa.js +11 -12
- package/dist/components/ui/atoms/icons/index.d.ts +1 -0
- package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/index.js +138 -136
- package/dist/components/ui/atoms/icons/math-toolkit.d.ts +4 -0
- package/dist/components/ui/atoms/icons/math-toolkit.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/math-toolkit.js +15 -0
- package/dist/components/ui/atoms/index.d.ts +1 -0
- package/dist/components/ui/atoms/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/index.js +295 -289
- package/dist/components/ui/atoms/markdown.d.ts +1 -1
- package/dist/components/ui/atoms/markdown.d.ts.map +1 -1
- package/dist/components/ui/atoms/markdown.js +1 -1
- package/dist/components/ui/atoms/scroll-button.d.ts.map +1 -1
- package/dist/components/ui/atoms/scroll-button.js +34 -28
- package/dist/components/ui/atoms/step-indicator.d.ts +17 -0
- package/dist/components/ui/atoms/step-indicator.d.ts.map +1 -0
- package/dist/components/ui/atoms/step-indicator.js +151 -0
- package/dist/components/ui/index.d.ts +2 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +444 -399
- package/dist/components/ui/molecules/chat-message-list.d.ts +74 -0
- package/dist/components/ui/molecules/chat-message-list.d.ts.map +1 -0
- package/dist/components/ui/molecules/chat-message-list.js +121 -0
- package/dist/components/ui/molecules/index.d.ts +6 -0
- package/dist/components/ui/molecules/index.d.ts.map +1 -1
- package/dist/components/ui/molecules/index.js +29 -20
- package/dist/components/ui/molecules/message.js +1 -1
- package/dist/components/ui/molecules/prompt-input.d.ts.map +1 -1
- package/dist/components/ui/molecules/prompt-input.js +42 -43
- package/dist/components/ui/molecules/requirement-badges.js +3 -3
- package/dist/components/ui/molecules/steps-progress.d.ts +13 -0
- package/dist/components/ui/molecules/steps-progress.d.ts.map +1 -0
- package/dist/components/ui/molecules/steps-progress.js +66 -0
- package/dist/components/ui/molecules/suggestion-card.d.ts +11 -0
- package/dist/components/ui/molecules/suggestion-card.d.ts.map +1 -0
- package/dist/components/ui/molecules/suggestion-card.js +53 -0
- package/dist/components/ui/molecules/toolkit-card.js +1 -1
- package/dist/components/ui/pages/chat-page.d.ts +75 -0
- package/dist/components/ui/pages/chat-page.d.ts.map +1 -0
- package/dist/components/ui/pages/chat-page.js +300 -0
- package/dist/components/ui/pages/index.d.ts +6 -0
- package/dist/components/ui/pages/index.d.ts.map +1 -0
- package/dist/components/ui/pages/index.js +6 -0
- package/dist/components/ui/pages/login-page.d.ts +20 -0
- package/dist/components/ui/pages/login-page.d.ts.map +1 -0
- package/dist/components/ui/pages/login-page.js +92 -0
- package/dist/components/ui/templates/auth-template.d.ts +44 -0
- package/dist/components/ui/templates/auth-template.d.ts.map +1 -0
- package/dist/components/ui/templates/auth-template.js +236 -0
- package/dist/components/ui/templates/chat-template.d.ts +20 -0
- package/dist/components/ui/templates/chat-template.d.ts.map +1 -0
- package/dist/components/ui/templates/chat-template.js +148 -0
- package/dist/components/ui/templates/index.d.ts +6 -0
- package/dist/components/ui/templates/index.d.ts.map +1 -0
- package/dist/components/ui/templates/index.js +28 -0
- package/dist/{highlighted-body-B3W2YXNL-Dg7ybfUq.js → highlighted-body-B3W2YXNL-D6XBJnwx.js} +1 -1
- package/dist/main.js +460 -414
- package/dist/{markdown-CSrGIfKB.js → markdown-ChximrBv.js} +3 -3
- package/dist/mermaid-3ZIDBTTL-DtIP-JZq.js +4 -0
- package/dist/metadata/constants.d.ts +1 -0
- package/dist/metadata/constants.d.ts.map +1 -1
- package/dist/metadata/constants.js +3 -2
- package/dist/metadata/index.js +20 -19
- package/dist/metadata/toolkit-icons.d.ts.map +1 -1
- package/dist/metadata/toolkit-icons.js +268 -259
- package/dist/metadata/toolkits.d.ts.map +1 -1
- package/dist/metadata/toolkits.js +80 -2
- package/dist/{toolkit-card-Birn0MUI.js → toolkit-card-Cb-KDQhU.js} +2 -2
- package/package.json +1 -1
- package/dist/mermaid-3ZIDBTTL-Co7GHGDL.js +0 -4
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Card as c, CardContent as s, CardDescription as m, CardFooter as d, CardHeader as p, CardTitle as f } from "../atoms/card.js";
|
|
3
|
+
import { cn as n } from "../../../lib/utils.js";
|
|
4
|
+
function g({ className: e, ...t }) {
|
|
5
|
+
return /* @__PURE__ */ r(
|
|
6
|
+
"div",
|
|
7
|
+
{
|
|
8
|
+
className: n(
|
|
9
|
+
"relative flex min-h-screen items-center justify-center overflow-hidden p-6",
|
|
10
|
+
e
|
|
11
|
+
),
|
|
12
|
+
...t
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
function T({
|
|
17
|
+
className: e,
|
|
18
|
+
...t
|
|
19
|
+
}) {
|
|
20
|
+
return /* @__PURE__ */ r(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
className: n(
|
|
24
|
+
"absolute inset-x-0 top-20 z-10 flex justify-center",
|
|
25
|
+
e
|
|
26
|
+
),
|
|
27
|
+
...t
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
function v({
|
|
32
|
+
className: e,
|
|
33
|
+
...t
|
|
34
|
+
}) {
|
|
35
|
+
return /* @__PURE__ */ r(
|
|
36
|
+
c,
|
|
37
|
+
{
|
|
38
|
+
className: n(
|
|
39
|
+
"z-20 w-full max-w-md gap-2 rounded-2xl border-border/50 bg-card pb-0 shadow-2xl lg:max-w-lg",
|
|
40
|
+
e
|
|
41
|
+
),
|
|
42
|
+
...t
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
function N({
|
|
47
|
+
className: e,
|
|
48
|
+
...t
|
|
49
|
+
}) {
|
|
50
|
+
return /* @__PURE__ */ r(p, { className: n("space-y-3 pb-6", e), ...t });
|
|
51
|
+
}
|
|
52
|
+
function A({
|
|
53
|
+
className: e,
|
|
54
|
+
...t
|
|
55
|
+
}) {
|
|
56
|
+
return /* @__PURE__ */ r(
|
|
57
|
+
f,
|
|
58
|
+
{
|
|
59
|
+
className: n(
|
|
60
|
+
"text-center font-bold font-serif text-3xl text-zinc-700 tracking-normal dark:text-zinc-300",
|
|
61
|
+
e
|
|
62
|
+
),
|
|
63
|
+
...t
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
function y({
|
|
68
|
+
className: e,
|
|
69
|
+
...t
|
|
70
|
+
}) {
|
|
71
|
+
return /* @__PURE__ */ r(
|
|
72
|
+
m,
|
|
73
|
+
{
|
|
74
|
+
className: n("text-center text-base", e),
|
|
75
|
+
...t
|
|
76
|
+
}
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
function k({
|
|
80
|
+
className: e,
|
|
81
|
+
...t
|
|
82
|
+
}) {
|
|
83
|
+
return /* @__PURE__ */ r(s, { className: n("px-8 pb-6", e), ...t });
|
|
84
|
+
}
|
|
85
|
+
function z({
|
|
86
|
+
className: e,
|
|
87
|
+
...t
|
|
88
|
+
}) {
|
|
89
|
+
return /* @__PURE__ */ r(
|
|
90
|
+
d,
|
|
91
|
+
{
|
|
92
|
+
className: n(
|
|
93
|
+
"flex flex-col rounded-b-2xl border-border/40 border-t bg-muted/20 py-6",
|
|
94
|
+
e
|
|
95
|
+
),
|
|
96
|
+
...t
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
function C({
|
|
101
|
+
className: e,
|
|
102
|
+
...t
|
|
103
|
+
}) {
|
|
104
|
+
return /* @__PURE__ */ r("div", { className: n("mb-4 text-center", e), ...t });
|
|
105
|
+
}
|
|
106
|
+
function w({
|
|
107
|
+
className: e,
|
|
108
|
+
...t
|
|
109
|
+
}) {
|
|
110
|
+
return /* @__PURE__ */ r(
|
|
111
|
+
"a",
|
|
112
|
+
{
|
|
113
|
+
className: n(
|
|
114
|
+
"font-medium text-primary text-sm transition-colors hover:underline",
|
|
115
|
+
e
|
|
116
|
+
),
|
|
117
|
+
...t
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
function L({
|
|
122
|
+
className: e,
|
|
123
|
+
...t
|
|
124
|
+
}) {
|
|
125
|
+
return /* @__PURE__ */ r(
|
|
126
|
+
"p",
|
|
127
|
+
{
|
|
128
|
+
className: n(
|
|
129
|
+
"px-6 text-center text-muted-foreground text-xs leading-relaxed",
|
|
130
|
+
e
|
|
131
|
+
),
|
|
132
|
+
...t
|
|
133
|
+
}
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
function j({
|
|
137
|
+
className: e,
|
|
138
|
+
...t
|
|
139
|
+
}) {
|
|
140
|
+
return /* @__PURE__ */ r(
|
|
141
|
+
"a",
|
|
142
|
+
{
|
|
143
|
+
className: n(
|
|
144
|
+
"font-medium text-primary transition-colors hover:underline",
|
|
145
|
+
e
|
|
146
|
+
),
|
|
147
|
+
...t
|
|
148
|
+
}
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
function P({
|
|
152
|
+
className: e,
|
|
153
|
+
...t
|
|
154
|
+
}) {
|
|
155
|
+
return /* @__PURE__ */ r(
|
|
156
|
+
"div",
|
|
157
|
+
{
|
|
158
|
+
className: n(
|
|
159
|
+
"absolute inset-0 z-0 bg-gradient-to-br from-orange-400/40 via-pink-500/30 to-purple-600/40 blur-md",
|
|
160
|
+
e
|
|
161
|
+
),
|
|
162
|
+
...t
|
|
163
|
+
}
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
function D({
|
|
167
|
+
className: e,
|
|
168
|
+
playbackRate: t = 0.7,
|
|
169
|
+
poster: a,
|
|
170
|
+
src: u,
|
|
171
|
+
videoClassName: l,
|
|
172
|
+
...i
|
|
173
|
+
}) {
|
|
174
|
+
return /* @__PURE__ */ r(
|
|
175
|
+
"div",
|
|
176
|
+
{
|
|
177
|
+
className: n("absolute -inset-4 z-0 motion-reduce:hidden", e),
|
|
178
|
+
...i,
|
|
179
|
+
children: /* @__PURE__ */ r(
|
|
180
|
+
"video",
|
|
181
|
+
{
|
|
182
|
+
autoPlay: !0,
|
|
183
|
+
className: n(
|
|
184
|
+
"size-full object-cover opacity-60 blur-lg brightness-50 contrast-110",
|
|
185
|
+
l
|
|
186
|
+
),
|
|
187
|
+
loop: !0,
|
|
188
|
+
muted: !0,
|
|
189
|
+
playsInline: !0,
|
|
190
|
+
poster: a,
|
|
191
|
+
preload: "none",
|
|
192
|
+
ref: (o) => {
|
|
193
|
+
o && (o.playbackRate = t);
|
|
194
|
+
},
|
|
195
|
+
children: /* @__PURE__ */ r("source", { src: u, type: "video/mp4" })
|
|
196
|
+
}
|
|
197
|
+
)
|
|
198
|
+
}
|
|
199
|
+
);
|
|
200
|
+
}
|
|
201
|
+
function B({
|
|
202
|
+
className: e,
|
|
203
|
+
gridUrl: t,
|
|
204
|
+
...a
|
|
205
|
+
}) {
|
|
206
|
+
return /* @__PURE__ */ r(
|
|
207
|
+
"div",
|
|
208
|
+
{
|
|
209
|
+
className: n("absolute inset-0 z-1 opacity-[0.01]", e),
|
|
210
|
+
style: {
|
|
211
|
+
backgroundImage: `url(${t})`,
|
|
212
|
+
backgroundPosition: "center center",
|
|
213
|
+
backgroundRepeat: "no-repeat",
|
|
214
|
+
backgroundSize: "cover"
|
|
215
|
+
},
|
|
216
|
+
...a
|
|
217
|
+
}
|
|
218
|
+
);
|
|
219
|
+
}
|
|
220
|
+
export {
|
|
221
|
+
g as AuthTemplate,
|
|
222
|
+
v as AuthTemplateCard,
|
|
223
|
+
k as AuthTemplateContent,
|
|
224
|
+
P as AuthTemplateDefaultBackground,
|
|
225
|
+
y as AuthTemplateDescription,
|
|
226
|
+
z as AuthTemplateFooter,
|
|
227
|
+
B as AuthTemplateGridOverlay,
|
|
228
|
+
N as AuthTemplateHeader,
|
|
229
|
+
L as AuthTemplateLegal,
|
|
230
|
+
j as AuthTemplateLegalLink,
|
|
231
|
+
T as AuthTemplateLogo,
|
|
232
|
+
C as AuthTemplatePrompt,
|
|
233
|
+
w as AuthTemplatePromptLink,
|
|
234
|
+
A as AuthTemplateTitle,
|
|
235
|
+
D as AuthTemplateVideoBackground
|
|
236
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
export type ChatTemplateProps = React.ComponentProps<"div">;
|
|
3
|
+
export declare function ChatTemplate({ className, ...props }: ChatTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export type ChatTemplateHeaderProps = React.ComponentProps<"header">;
|
|
5
|
+
export declare function ChatTemplateHeader({ className, ...props }: ChatTemplateHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export type ChatTemplateHeaderGroupProps = React.ComponentProps<"div">;
|
|
7
|
+
export declare function ChatTemplateHeaderGroup({ className, ...props }: ChatTemplateHeaderGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export type ChatTemplateBodyProps = React.ComponentProps<"div">;
|
|
9
|
+
export declare function ChatTemplateBody({ className, ...props }: ChatTemplateBodyProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export type ChatTemplateFooterProps = React.ComponentProps<"div">;
|
|
11
|
+
export declare function ChatTemplateFooter({ className, ...props }: ChatTemplateFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export type ChatTemplateOverviewProps = React.ComponentProps<"div">;
|
|
13
|
+
export declare function ChatTemplateOverview({ className, ...props }: ChatTemplateOverviewProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export type ChatTemplateOverviewTitleProps = React.ComponentProps<"h1">;
|
|
15
|
+
export declare function ChatTemplateOverviewTitle({ className, ...props }: ChatTemplateOverviewTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export type ChatTemplateOverviewSubtitleProps = React.ComponentProps<"h2">;
|
|
17
|
+
export declare function ChatTemplateOverviewSubtitle({ className, ...props }: ChatTemplateOverviewSubtitleProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export type ChatTemplateSuggestionsProps = React.ComponentProps<"div">;
|
|
19
|
+
export declare function ChatTemplateSuggestions({ className, ...props }: ChatTemplateSuggestionsProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=chat-template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-template.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/templates/chat-template.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE5D,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAWtE;AAID,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;AAErE,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,uBAAuB,2CAWzB;AAID,MAAM,MAAM,4BAA4B,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEvE,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,4BAA4B,2CAQ9B;AAID,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEhE,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,qBAAqB,2CAWvB;AAID,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAElE,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,uBAAuB,2CAWzB;AAID,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEpE,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,yBAAyB,2CAW3B;AAID,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AAExE,wBAAgB,yBAAyB,CAAC,EACxC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,8BAA8B,2CAWhC;AAID,MAAM,MAAM,iCAAiC,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AAE3E,wBAAgB,4BAA4B,CAAC,EAC3C,SAAS,EACT,GAAG,KAAK,EACT,EAAE,iCAAiC,2CAWnC;AAID,MAAM,MAAM,4BAA4B,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEvE,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,4BAA4B,2CAQ9B"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { cn as l } from "../../../lib/utils.js";
|
|
3
|
+
function m({ className: t, ...e }) {
|
|
4
|
+
return /* @__PURE__ */ a(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
className: l(
|
|
8
|
+
"relative flex h-dvh min-w-0 flex-col bg-background",
|
|
9
|
+
t
|
|
10
|
+
),
|
|
11
|
+
"data-slot": "chat-template",
|
|
12
|
+
...e
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
function n({
|
|
17
|
+
className: t,
|
|
18
|
+
...e
|
|
19
|
+
}) {
|
|
20
|
+
return /* @__PURE__ */ a(
|
|
21
|
+
"header",
|
|
22
|
+
{
|
|
23
|
+
className: l(
|
|
24
|
+
"sticky top-0 z-10 flex items-center gap-2 bg-background px-2 py-1.5",
|
|
25
|
+
t
|
|
26
|
+
),
|
|
27
|
+
"data-slot": "chat-template-header",
|
|
28
|
+
...e
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
function i({
|
|
33
|
+
className: t,
|
|
34
|
+
...e
|
|
35
|
+
}) {
|
|
36
|
+
return /* @__PURE__ */ a(
|
|
37
|
+
"div",
|
|
38
|
+
{
|
|
39
|
+
className: l("flex items-center gap-2", t),
|
|
40
|
+
"data-slot": "chat-template-header-group",
|
|
41
|
+
...e
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
function s({
|
|
46
|
+
className: t,
|
|
47
|
+
...e
|
|
48
|
+
}) {
|
|
49
|
+
return /* @__PURE__ */ a(
|
|
50
|
+
"div",
|
|
51
|
+
{
|
|
52
|
+
className: l(
|
|
53
|
+
"flex min-w-0 flex-1 flex-col gap-6 overflow-y-auto pt-4",
|
|
54
|
+
t
|
|
55
|
+
),
|
|
56
|
+
"data-slot": "chat-template-body",
|
|
57
|
+
...e
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
function d({
|
|
62
|
+
className: t,
|
|
63
|
+
...e
|
|
64
|
+
}) {
|
|
65
|
+
return /* @__PURE__ */ a(
|
|
66
|
+
"div",
|
|
67
|
+
{
|
|
68
|
+
className: l(
|
|
69
|
+
"mx-auto flex w-full flex-col gap-1.5 px-4 pt-2 pb-4 md:max-w-3xl md:pb-6",
|
|
70
|
+
t
|
|
71
|
+
),
|
|
72
|
+
"data-slot": "chat-template-footer",
|
|
73
|
+
...e
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
function c({
|
|
78
|
+
className: t,
|
|
79
|
+
...e
|
|
80
|
+
}) {
|
|
81
|
+
return /* @__PURE__ */ a(
|
|
82
|
+
"div",
|
|
83
|
+
{
|
|
84
|
+
className: l(
|
|
85
|
+
"mx-auto mt-8 flex max-w-xl flex-col rounded-xl p-6 text-center leading-relaxed sm:mt-16 md:mt-24",
|
|
86
|
+
t
|
|
87
|
+
),
|
|
88
|
+
"data-slot": "chat-template-overview",
|
|
89
|
+
...e
|
|
90
|
+
}
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
function p({
|
|
94
|
+
className: t,
|
|
95
|
+
...e
|
|
96
|
+
}) {
|
|
97
|
+
return /* @__PURE__ */ a(
|
|
98
|
+
"h1",
|
|
99
|
+
{
|
|
100
|
+
className: l(
|
|
101
|
+
"mb-2 bg-linear-to-r from-foreground to-foreground/70 bg-clip-text font-bold font-serif text-2xl text-transparent tracking-wide sm:mb-4 sm:text-3xl md:text-4xl",
|
|
102
|
+
t
|
|
103
|
+
),
|
|
104
|
+
"data-slot": "chat-template-overview-title",
|
|
105
|
+
...e
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
function x({
|
|
110
|
+
className: t,
|
|
111
|
+
...e
|
|
112
|
+
}) {
|
|
113
|
+
return /* @__PURE__ */ a(
|
|
114
|
+
"h2",
|
|
115
|
+
{
|
|
116
|
+
className: l(
|
|
117
|
+
"mb-4 bg-linear-to-r from-foreground/80 to-foreground/60 bg-clip-text font-medium text-transparent text-xl sm:mb-8 sm:text-2xl md:text-4xl",
|
|
118
|
+
t
|
|
119
|
+
),
|
|
120
|
+
"data-slot": "chat-template-overview-subtitle",
|
|
121
|
+
...e
|
|
122
|
+
}
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
function u({
|
|
126
|
+
className: t,
|
|
127
|
+
...e
|
|
128
|
+
}) {
|
|
129
|
+
return /* @__PURE__ */ a(
|
|
130
|
+
"div",
|
|
131
|
+
{
|
|
132
|
+
className: l("mb-2 grid w-full grid-cols-12 gap-4 pt-1", t),
|
|
133
|
+
"data-slot": "chat-template-suggestions",
|
|
134
|
+
...e
|
|
135
|
+
}
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
export {
|
|
139
|
+
m as ChatTemplate,
|
|
140
|
+
s as ChatTemplateBody,
|
|
141
|
+
d as ChatTemplateFooter,
|
|
142
|
+
n as ChatTemplateHeader,
|
|
143
|
+
i as ChatTemplateHeaderGroup,
|
|
144
|
+
c as ChatTemplateOverview,
|
|
145
|
+
x as ChatTemplateOverviewSubtitle,
|
|
146
|
+
p as ChatTemplateOverviewTitle,
|
|
147
|
+
u as ChatTemplateSuggestions
|
|
148
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** biome-ignore-all lint/performance/noBarrelFile: Barrel files are acceptable for atomic component folders */
|
|
2
|
+
export type { AuthTemplateCardProps, AuthTemplateContentProps, AuthTemplateDefaultBackgroundProps, AuthTemplateDescriptionProps, AuthTemplateFooterProps, AuthTemplateGridOverlayProps, AuthTemplateHeaderProps, AuthTemplateLegalLinkProps, AuthTemplateLegalProps, AuthTemplateLogoProps, AuthTemplatePromptLinkProps, AuthTemplatePromptProps, AuthTemplateProps, AuthTemplateTitleProps, AuthTemplateVideoBackgroundProps, } from './auth-template';
|
|
3
|
+
export { AuthTemplate, AuthTemplateCard, AuthTemplateContent, AuthTemplateDefaultBackground, AuthTemplateDescription, AuthTemplateFooter, AuthTemplateGridOverlay, AuthTemplateHeader, AuthTemplateLegal, AuthTemplateLegalLink, AuthTemplateLogo, AuthTemplatePrompt, AuthTemplatePromptLink, AuthTemplateTitle, AuthTemplateVideoBackground, } from './auth-template';
|
|
4
|
+
export type { ChatTemplateBodyProps, ChatTemplateFooterProps, ChatTemplateHeaderGroupProps, ChatTemplateHeaderProps, ChatTemplateOverviewProps, ChatTemplateOverviewSubtitleProps, ChatTemplateOverviewTitleProps, ChatTemplateProps, ChatTemplateSuggestionsProps, } from './chat-template';
|
|
5
|
+
export { ChatTemplate, ChatTemplateBody, ChatTemplateFooter, ChatTemplateHeader, ChatTemplateHeaderGroup, ChatTemplateOverview, ChatTemplateOverviewSubtitle, ChatTemplateOverviewTitle, ChatTemplateSuggestions, } from './chat-template';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/templates/index.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAE/G,YAAY,EACV,qBAAqB,EACrB,wBAAwB,EACxB,kCAAkC,EAClC,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,uBAAuB,EACvB,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,2BAA2B,EAC3B,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,gCAAgC,GACjC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,6BAA6B,EAC7B,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,2BAA2B,GAC5B,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,qBAAqB,EACrB,uBAAuB,EACvB,4BAA4B,EAC5B,uBAAuB,EACvB,yBAAyB,EACzB,iCAAiC,EACjC,8BAA8B,EAC9B,iBAAiB,EACjB,4BAA4B,GAC7B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,4BAA4B,EAC5B,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AuthTemplate as a, AuthTemplateCard as l, AuthTemplateContent as p, AuthTemplateDefaultBackground as m, AuthTemplateDescription as T, AuthTemplateFooter as h, AuthTemplateGridOverlay as r, AuthTemplateHeader as u, AuthTemplateLegal as o, AuthTemplateLegalLink as A, AuthTemplateLogo as i, AuthTemplatePrompt as C, AuthTemplatePromptLink as d, AuthTemplateTitle as n, AuthTemplateVideoBackground as g } from "./auth-template.js";
|
|
2
|
+
import { ChatTemplate as L, ChatTemplateBody as k, ChatTemplateFooter as O, ChatTemplateHeader as c, ChatTemplateHeaderGroup as f, ChatTemplateOverview as s, ChatTemplateOverviewSubtitle as w, ChatTemplateOverviewTitle as B, ChatTemplateSuggestions as H } from "./chat-template.js";
|
|
3
|
+
export {
|
|
4
|
+
a as AuthTemplate,
|
|
5
|
+
l as AuthTemplateCard,
|
|
6
|
+
p as AuthTemplateContent,
|
|
7
|
+
m as AuthTemplateDefaultBackground,
|
|
8
|
+
T as AuthTemplateDescription,
|
|
9
|
+
h as AuthTemplateFooter,
|
|
10
|
+
r as AuthTemplateGridOverlay,
|
|
11
|
+
u as AuthTemplateHeader,
|
|
12
|
+
o as AuthTemplateLegal,
|
|
13
|
+
A as AuthTemplateLegalLink,
|
|
14
|
+
i as AuthTemplateLogo,
|
|
15
|
+
C as AuthTemplatePrompt,
|
|
16
|
+
d as AuthTemplatePromptLink,
|
|
17
|
+
n as AuthTemplateTitle,
|
|
18
|
+
g as AuthTemplateVideoBackground,
|
|
19
|
+
L as ChatTemplate,
|
|
20
|
+
k as ChatTemplateBody,
|
|
21
|
+
O as ChatTemplateFooter,
|
|
22
|
+
c as ChatTemplateHeader,
|
|
23
|
+
f as ChatTemplateHeaderGroup,
|
|
24
|
+
s as ChatTemplateOverview,
|
|
25
|
+
w as ChatTemplateOverviewSubtitle,
|
|
26
|
+
B as ChatTemplateOverviewTitle,
|
|
27
|
+
H as ChatTemplateSuggestions
|
|
28
|
+
};
|
package/dist/{highlighted-body-B3W2YXNL-Dg7ybfUq.js → highlighted-body-B3W2YXNL-D6XBJnwx.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as h, K as c, Q as f } from "./markdown-
|
|
1
|
+
import { R as h, K as c, Q as f } from "./markdown-ChximrBv.js";
|
|
2
2
|
import { useContext as n, useState as d, useEffect as p } from "react";
|
|
3
3
|
import { jsx as x } from "react/jsx-runtime";
|
|
4
4
|
var K = ({ code: r, language: e, raw: a, className: g, ...i }) => {
|