@arcadeai/design-system 3.36.0 → 3.37.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.
Files changed (76) hide show
  1. package/dist/assets/index.css +1 -1
  2. package/dist/assets/tokens.css +1 -1
  3. package/dist/assets/variables.css +1 -1
  4. package/dist/components/index.js +412 -396
  5. package/dist/components/ui/atoms/arcade-gradient.d.ts.map +1 -0
  6. package/dist/components/ui/atoms/{icons/arcade-gradient.js → arcade-gradient.js} +1 -1
  7. package/dist/components/ui/atoms/icons/index.d.ts +0 -1
  8. package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
  9. package/dist/components/ui/atoms/icons/index.js +294 -296
  10. package/dist/components/ui/atoms/index.d.ts +1 -0
  11. package/dist/components/ui/atoms/index.d.ts.map +1 -1
  12. package/dist/components/ui/atoms/index.js +112 -112
  13. package/dist/components/ui/atoms/loader.d.ts +1 -1
  14. package/dist/components/ui/atoms/loader.d.ts.map +1 -1
  15. package/dist/components/ui/atoms/loader.js +91 -61
  16. package/dist/components/ui/atoms/virtualized-grid.d.ts.map +1 -1
  17. package/dist/components/ui/atoms/virtualized-grid.js +16 -16
  18. package/dist/components/ui/index.js +412 -396
  19. package/dist/components/ui/molecules/chat-history-item.d.ts +21 -0
  20. package/dist/components/ui/molecules/chat-history-item.d.ts.map +1 -0
  21. package/dist/components/ui/molecules/chat-history-item.js +88 -0
  22. package/dist/components/ui/molecules/chat-message-list.d.ts +6 -0
  23. package/dist/components/ui/molecules/chat-message-list.d.ts.map +1 -1
  24. package/dist/components/ui/molecules/chat-message-list.js +117 -61
  25. package/dist/components/ui/molecules/confirm-popover.d.ts +20 -0
  26. package/dist/components/ui/molecules/confirm-popover.d.ts.map +1 -0
  27. package/dist/components/ui/molecules/confirm-popover.js +50 -0
  28. package/dist/components/ui/molecules/error-state.d.ts +17 -0
  29. package/dist/components/ui/molecules/error-state.d.ts.map +1 -0
  30. package/dist/components/ui/molecules/error-state.js +45 -0
  31. package/dist/components/ui/molecules/index.d.ts +10 -6
  32. package/dist/components/ui/molecules/index.d.ts.map +1 -1
  33. package/dist/components/ui/molecules/index.js +52 -51
  34. package/dist/components/ui/molecules/requirement-badges.js +4 -5
  35. package/dist/components/ui/molecules/steps-progress.d.ts +1 -0
  36. package/dist/components/ui/molecules/steps-progress.d.ts.map +1 -1
  37. package/dist/components/ui/molecules/steps-progress.js +75 -52
  38. package/dist/components/ui/molecules/suggestion-card.d.ts +2 -0
  39. package/dist/components/ui/molecules/suggestion-card.d.ts.map +1 -1
  40. package/dist/components/ui/molecules/suggestion-card.js +42 -16
  41. package/dist/components/ui/molecules/tool-call-accordion.d.ts +6 -1
  42. package/dist/components/ui/molecules/tool-call-accordion.d.ts.map +1 -1
  43. package/dist/components/ui/molecules/tool-call-accordion.js +153 -96
  44. package/dist/components/ui/molecules/toolkit-card.js +1 -1
  45. package/dist/components/ui/pages/chat-page-skeleton.d.ts +7 -0
  46. package/dist/components/ui/pages/chat-page-skeleton.d.ts.map +1 -0
  47. package/dist/components/ui/pages/chat-page-skeleton.js +18 -0
  48. package/dist/components/ui/pages/index.d.ts +2 -2
  49. package/dist/components/ui/pages/index.d.ts.map +1 -1
  50. package/dist/components/ui/pages/index.js +4 -4
  51. package/dist/components/ui/templates/chat-template-skeletons.d.ts +12 -0
  52. package/dist/components/ui/templates/chat-template-skeletons.d.ts.map +1 -0
  53. package/dist/components/ui/templates/chat-template-skeletons.js +119 -0
  54. package/dist/components/ui/templates/error-template.d.ts +20 -0
  55. package/dist/components/ui/templates/error-template.d.ts.map +1 -0
  56. package/dist/components/ui/templates/error-template.js +117 -0
  57. package/dist/components/ui/templates/index.d.ts +4 -0
  58. package/dist/components/ui/templates/index.d.ts.map +1 -1
  59. package/dist/components/ui/templates/index.js +37 -22
  60. package/dist/hooks/use-mobile.d.ts.map +1 -1
  61. package/dist/hooks/use-mobile.js +12 -11
  62. package/dist/main.js +381 -365
  63. package/dist/metadata/toolkit-icons.d.ts.map +1 -1
  64. package/dist/metadata/toolkit-icons.js +187 -186
  65. package/dist/metadata/toolkits.d.ts.map +1 -1
  66. package/dist/metadata/toolkits.js +13 -0
  67. package/dist/{toolkit-card-B97E7TBA.js → toolkit-card-CB1oiaei.js} +2 -3
  68. package/package.json +1 -1
  69. package/dist/components/ui/atoms/icons/arcade-gradient.d.ts.map +0 -1
  70. package/dist/components/ui/molecules/switcher.d.ts +0 -83
  71. package/dist/components/ui/molecules/switcher.d.ts.map +0 -1
  72. package/dist/components/ui/molecules/switcher.js +0 -164
  73. package/dist/components/ui/pages/chat-page.d.ts +0 -83
  74. package/dist/components/ui/pages/chat-page.d.ts.map +0 -1
  75. package/dist/components/ui/pages/chat-page.js +0 -385
  76. /package/dist/components/ui/atoms/{icons/arcade-gradient.d.ts → arcade-gradient.d.ts} +0 -0
@@ -0,0 +1,20 @@
1
+ import type * as React from "react";
2
+ export type ErrorTemplateProps = React.ComponentProps<"div">;
3
+ export declare function ErrorTemplate({ className, ...props }: ErrorTemplateProps): import("react/jsx-runtime").JSX.Element;
4
+ export type ErrorTemplateLogoProps = React.ComponentProps<"div">;
5
+ export declare function ErrorTemplateLogo({ className, ...props }: ErrorTemplateLogoProps): import("react/jsx-runtime").JSX.Element;
6
+ export type ErrorTemplateIconProps = React.ComponentProps<"div">;
7
+ export declare function ErrorTemplateIcon({ className, ...props }: ErrorTemplateIconProps): import("react/jsx-runtime").JSX.Element;
8
+ export type ErrorTemplateContentProps = React.ComponentProps<"main">;
9
+ export declare function ErrorTemplateContent({ className, ...props }: ErrorTemplateContentProps): import("react/jsx-runtime").JSX.Element;
10
+ export type ErrorTemplateTitleProps = React.ComponentProps<"h1">;
11
+ export declare function ErrorTemplateTitle({ className, ...props }: ErrorTemplateTitleProps): import("react/jsx-runtime").JSX.Element;
12
+ export type ErrorTemplateDescriptionProps = React.ComponentProps<"p">;
13
+ export declare function ErrorTemplateDescription({ className, ...props }: ErrorTemplateDescriptionProps): import("react/jsx-runtime").JSX.Element;
14
+ export type ErrorTemplateUrlProps = {
15
+ url: string;
16
+ } & Omit<React.ComponentProps<"div">, "children">;
17
+ export declare function ErrorTemplateUrl({ className, url, ...props }: ErrorTemplateUrlProps): import("react/jsx-runtime").JSX.Element;
18
+ export type ErrorTemplateActionsProps = React.ComponentProps<"div">;
19
+ export declare function ErrorTemplateActions({ className, ...props }: ErrorTemplateActionsProps): import("react/jsx-runtime").JSX.Element;
20
+ //# sourceMappingURL=error-template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-template.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/templates/error-template.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE7D,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAUxE;AAID,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEjE,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,sBAAsB,2CAExB;AAID,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEjE,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,sBAAsB,2CAExB;AAID,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;AAErE,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,yBAAyB,2CAU3B;AAID,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AAEjE,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,uBAAuB,2CAUzB;AAID,MAAM,MAAM,6BAA6B,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;AAEtE,wBAAgB,wBAAwB,CAAC,EACvC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,6BAA6B,2CAU/B;AAID,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;CACb,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAElD,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,GAAG,EACH,GAAG,KAAK,EACT,EAAE,qBAAqB,2CAkBvB;AAID,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEpE,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,yBAAyB,2CAU3B"}
@@ -0,0 +1,117 @@
1
+ import { jsx as t, jsxs as m } from "react/jsx-runtime";
2
+ import { cn as n } from "../../../lib/utils.js";
3
+ function s({ className: e, ...r }) {
4
+ return /* @__PURE__ */ t(
5
+ "div",
6
+ {
7
+ className: n(
8
+ "relative flex min-h-svh w-full flex-col items-center justify-center overflow-hidden bg-background pb-12 text-foreground",
9
+ e
10
+ ),
11
+ ...r
12
+ }
13
+ );
14
+ }
15
+ function c({
16
+ className: e,
17
+ ...r
18
+ }) {
19
+ return /* @__PURE__ */ t("div", { className: n("mb-6", e), ...r });
20
+ }
21
+ function i({
22
+ className: e,
23
+ ...r
24
+ }) {
25
+ return /* @__PURE__ */ t("div", { className: n("mb-6", e), ...r });
26
+ }
27
+ function u({
28
+ className: e,
29
+ ...r
30
+ }) {
31
+ return /* @__PURE__ */ t(
32
+ "main",
33
+ {
34
+ className: n(
35
+ "relative mx-auto flex w-full max-w-2xl flex-col items-center text-center",
36
+ e
37
+ ),
38
+ ...r
39
+ }
40
+ );
41
+ }
42
+ function x({
43
+ className: e,
44
+ ...r
45
+ }) {
46
+ return /* @__PURE__ */ t(
47
+ "h1",
48
+ {
49
+ className: n(
50
+ "font-medium text-muted-foreground text-sm uppercase tracking-[0.2em]",
51
+ e
52
+ ),
53
+ ...r
54
+ }
55
+ );
56
+ }
57
+ function d({
58
+ className: e,
59
+ ...r
60
+ }) {
61
+ return /* @__PURE__ */ t(
62
+ "p",
63
+ {
64
+ className: n(
65
+ "mx-auto mt-3 max-w-md text-muted-foreground text-sm leading-relaxed",
66
+ e
67
+ ),
68
+ ...r
69
+ }
70
+ );
71
+ }
72
+ function f({
73
+ className: e,
74
+ url: r,
75
+ ...o
76
+ }) {
77
+ return /* @__PURE__ */ m(
78
+ "div",
79
+ {
80
+ className: n(
81
+ "mt-5 inline-flex max-w-sm items-center gap-2 rounded-lg border border-border/40 bg-muted/20 px-3 py-1.5",
82
+ e
83
+ ),
84
+ ...o,
85
+ children: [
86
+ /* @__PURE__ */ t("span", { className: "shrink-0 text-muted-foreground text-xs uppercase tracking-widest", children: "URL" }),
87
+ /* @__PURE__ */ t("span", { className: "h-3 w-px bg-border/60" }),
88
+ /* @__PURE__ */ t("span", { className: "truncate font-mono text-foreground/70 text-xs", children: r })
89
+ ]
90
+ }
91
+ );
92
+ }
93
+ function p({
94
+ className: e,
95
+ ...r
96
+ }) {
97
+ return /* @__PURE__ */ t(
98
+ "div",
99
+ {
100
+ className: n(
101
+ "mt-8 flex w-full flex-col gap-3 sm:flex-row sm:justify-center",
102
+ e
103
+ ),
104
+ ...r
105
+ }
106
+ );
107
+ }
108
+ export {
109
+ s as ErrorTemplate,
110
+ p as ErrorTemplateActions,
111
+ u as ErrorTemplateContent,
112
+ d as ErrorTemplateDescription,
113
+ i as ErrorTemplateIcon,
114
+ c as ErrorTemplateLogo,
115
+ x as ErrorTemplateTitle,
116
+ f as ErrorTemplateUrl
117
+ };
@@ -3,4 +3,8 @@ export type { AuthTemplateCardProps, AuthTemplateContentProps, AuthTemplateDefau
3
3
  export { AuthTemplate, AuthTemplateCard, AuthTemplateContent, AuthTemplateDefaultBackground, AuthTemplateDescription, AuthTemplateFooter, AuthTemplateGridOverlay, AuthTemplateHeader, AuthTemplateLegal, AuthTemplateLegalLink, AuthTemplateLogo, AuthTemplatePrompt, AuthTemplatePromptLink, AuthTemplateTitle, AuthTemplateVideoBackground, } from './auth-template';
4
4
  export type { ChatTemplateBodyProps, ChatTemplateFooterProps, ChatTemplateHeaderGroupProps, ChatTemplateHeaderProps, ChatTemplateOverviewProps, ChatTemplateOverviewSubtitleProps, ChatTemplateOverviewTitleProps, ChatTemplateProps, ChatTemplateSuggestionsProps, } from './chat-template';
5
5
  export { ChatTemplate, ChatTemplateBody, ChatTemplateFooter, ChatTemplateHeader, ChatTemplateHeaderGroup, ChatTemplateOverview, ChatTemplateOverviewSubtitle, ChatTemplateOverviewTitle, ChatTemplateSuggestions, } from './chat-template';
6
+ export type { ChatBodySkeletonProps, ChatContentSkeletonProps, ChatFooterSkeletonProps, ChatHeaderSkeletonProps, ChatSidebarSkeletonProps, } from './chat-template-skeletons';
7
+ export { ChatBodySkeleton, ChatContentSkeleton, ChatFooterSkeleton, ChatHeaderSkeleton, ChatSidebarSkeleton, } from './chat-template-skeletons';
8
+ export type { ErrorTemplateActionsProps, ErrorTemplateContentProps, ErrorTemplateDescriptionProps, ErrorTemplateIconProps, ErrorTemplateLogoProps, ErrorTemplateProps, ErrorTemplateTitleProps, ErrorTemplateUrlProps, } from './error-template';
9
+ export { ErrorTemplate, ErrorTemplateActions, ErrorTemplateContent, ErrorTemplateDescription, ErrorTemplateIcon, ErrorTemplateLogo, ErrorTemplateTitle, ErrorTemplateUrl, } from './error-template';
6
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
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;AACzB,YAAY,EACV,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV,yBAAyB,EACzB,yBAAyB,EACzB,6BAA6B,EAC7B,sBAAsB,EACtB,sBAAsB,EACtB,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,EACxB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC"}
@@ -1,28 +1,43 @@
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";
1
+ import { AuthTemplate as a, AuthTemplateCard as r, AuthTemplateContent as o, AuthTemplateDefaultBackground as l, AuthTemplateDescription as p, AuthTemplateFooter as m, AuthTemplateGridOverlay as T, AuthTemplateHeader as h, AuthTemplateLegal as u, AuthTemplateLegalLink as n, AuthTemplateLogo as i, AuthTemplatePrompt as C, AuthTemplatePromptLink as A, AuthTemplateTitle as d, AuthTemplateVideoBackground as k } from "./auth-template.js";
2
+ import { ChatTemplate as E, ChatTemplateBody as S, ChatTemplateFooter as v, ChatTemplateHeader as c, ChatTemplateHeaderGroup as L, ChatTemplateOverview as f, ChatTemplateOverviewSubtitle as s, ChatTemplateOverviewTitle as x, ChatTemplateSuggestions as B } from "./chat-template.js";
3
+ import { ChatBodySkeleton as O, ChatContentSkeleton as w, ChatFooterSkeleton as y, ChatHeaderSkeleton as D, ChatSidebarSkeleton as F } from "./chat-template-skeletons.js";
4
+ import { ErrorTemplate as G, ErrorTemplateActions as P, ErrorTemplateContent as I, ErrorTemplateDescription as U, ErrorTemplateIcon as V, ErrorTemplateLogo as j, ErrorTemplateTitle as q, ErrorTemplateUrl as z } from "./error-template.js";
3
5
  export {
4
6
  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,
7
+ r as AuthTemplateCard,
8
+ o as AuthTemplateContent,
9
+ l as AuthTemplateDefaultBackground,
10
+ p as AuthTemplateDescription,
11
+ m as AuthTemplateFooter,
12
+ T as AuthTemplateGridOverlay,
13
+ h as AuthTemplateHeader,
14
+ u as AuthTemplateLegal,
15
+ n as AuthTemplateLegalLink,
14
16
  i as AuthTemplateLogo,
15
17
  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,
18
+ A as AuthTemplatePromptLink,
19
+ d as AuthTemplateTitle,
20
+ k as AuthTemplateVideoBackground,
21
+ O as ChatBodySkeleton,
22
+ w as ChatContentSkeleton,
23
+ y as ChatFooterSkeleton,
24
+ D as ChatHeaderSkeleton,
25
+ F as ChatSidebarSkeleton,
26
+ E as ChatTemplate,
27
+ S as ChatTemplateBody,
28
+ v as ChatTemplateFooter,
22
29
  c as ChatTemplateHeader,
23
- f as ChatTemplateHeaderGroup,
24
- s as ChatTemplateOverview,
25
- w as ChatTemplateOverviewSubtitle,
26
- B as ChatTemplateOverviewTitle,
27
- H as ChatTemplateSuggestions
30
+ L as ChatTemplateHeaderGroup,
31
+ f as ChatTemplateOverview,
32
+ s as ChatTemplateOverviewSubtitle,
33
+ x as ChatTemplateOverviewTitle,
34
+ B as ChatTemplateSuggestions,
35
+ G as ErrorTemplate,
36
+ P as ErrorTemplateActions,
37
+ I as ErrorTemplateContent,
38
+ U as ErrorTemplateDescription,
39
+ V as ErrorTemplateIcon,
40
+ j as ErrorTemplateLogo,
41
+ q as ErrorTemplateTitle,
42
+ z as ErrorTemplateUrl
28
43
  };
@@ -1 +1 @@
1
- {"version":3,"file":"use-mobile.d.ts","sourceRoot":"","sources":["../../lib/hooks/use-mobile.ts"],"names":[],"mappings":"AAIA,wBAAgB,WAAW,YAgB1B"}
1
+ {"version":3,"file":"use-mobile.d.ts","sourceRoot":"","sources":["../../lib/hooks/use-mobile.ts"],"names":[],"mappings":"AAWA,wBAAgB,WAAW,YAa1B"}
@@ -1,16 +1,17 @@
1
- import * as o from "react";
1
+ import * as i from "react";
2
2
  const e = 768;
3
- function r() {
4
- const [s, n] = o.useState(
5
- void 0
6
- );
7
- return o.useEffect(() => {
8
- const t = window.matchMedia(`(max-width: ${e - 1}px)`), i = () => {
9
- n(window.innerWidth < e);
3
+ function s() {
4
+ return typeof window > "u" ? !1 : window.innerWidth < e;
5
+ }
6
+ function d() {
7
+ const [o, r] = i.useState(s);
8
+ return i.useEffect(() => {
9
+ const n = window.matchMedia(`(max-width: ${e - 1}px)`), t = () => {
10
+ r(window.innerWidth < e);
10
11
  };
11
- return t.addEventListener("change", i), n(window.innerWidth < e), () => t.removeEventListener("change", i);
12
- }, []), !!s;
12
+ return n.addEventListener("change", t), () => n.removeEventListener("change", t);
13
+ }, []), o;
13
14
  }
14
15
  export {
15
- r as useIsMobile
16
+ d as useIsMobile
16
17
  };