@almanaclabs/blaze-ui 0.21.2 → 0.22.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/dist/components/chat-bar/chat-bar.d.ts +32 -2
- package/dist/components/chat-bar/chat-bar.d.ts.map +1 -1
- package/dist/components/chat-bar/chat-bar.js +111 -43
- package/dist/components/turn-steps/index.d.ts +2 -0
- package/dist/components/turn-steps/index.d.ts.map +1 -0
- package/dist/components/turn-steps/turn-steps.d.ts +28 -0
- package/dist/components/turn-steps/turn-steps.d.ts.map +1 -0
- package/dist/components/turn-steps/turn-steps.js +91 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +60 -59
- package/package.json +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { Button } from '../button';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
declare const chatBarFormVariants: (props?: ({
|
|
4
5
|
size?: "default" | "compact" | null | undefined;
|
|
6
|
+
withStart?: boolean | null | undefined;
|
|
5
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
8
|
type ChatBarProps = Omit<React.ComponentProps<'div'>, 'onSubmit' | 'defaultValue'> & VariantProps<typeof chatBarFormVariants> & {
|
|
7
9
|
/** Called with the trimmed message when the owner sends it. Empty messages are not sent. */
|
|
@@ -19,8 +21,36 @@ type ChatBarProps = Omit<React.ComponentProps<'div'>, 'onSubmit' | 'defaultValue
|
|
|
19
21
|
floating?: boolean;
|
|
20
22
|
/** Content under the bar, such as suggestion chips. */
|
|
21
23
|
children?: React.ReactNode;
|
|
24
|
+
/** Content inside the bar before the input, such as `ChatBarAddButton`. */
|
|
25
|
+
start?: React.ReactNode;
|
|
26
|
+
/** Content above the bar, such as a row of `ChatBarAttachment` thumbnails waiting to send. */
|
|
27
|
+
attachments?: React.ReactNode;
|
|
28
|
+
/** Send an empty message too, when something else goes with it (attachments). */
|
|
29
|
+
canSendEmpty?: boolean;
|
|
22
30
|
};
|
|
23
31
|
/** The chat bar: a floating rounded input with a round send button. Enter sends. */
|
|
24
|
-
declare function ChatBar({ onSend, placeholder, inputLabel, sendLabel, defaultValue, floating, size, className, children, ...props }: ChatBarProps): React.JSX.Element;
|
|
25
|
-
|
|
32
|
+
declare function ChatBar({ onSend, placeholder, inputLabel, sendLabel, defaultValue, floating, size, className, children, start, attachments, canSendEmpty, ...props }: ChatBarProps): React.JSX.Element;
|
|
33
|
+
type ChatBarAttachmentProps = Omit<React.ComponentProps<'div'>, 'children'> & {
|
|
34
|
+
/** The image to show. */
|
|
35
|
+
src: string;
|
|
36
|
+
/** What the image is, read by screen readers and used to name its Remove button. */
|
|
37
|
+
alt: string;
|
|
38
|
+
/** Called when the owner removes it. Without it there is no Remove button. */
|
|
39
|
+
onRemove?: () => void;
|
|
40
|
+
/** The Remove button's accessible name; defaults to "Remove <alt>". */
|
|
41
|
+
removeLabel?: string;
|
|
42
|
+
};
|
|
43
|
+
/** One image waiting to send with the message: a small thumbnail with a Remove button on its corner. */
|
|
44
|
+
declare function ChatBarAttachment({ src, alt, onRemove, removeLabel, className, ...props }: ChatBarAttachmentProps): React.JSX.Element;
|
|
45
|
+
type ChatBarAddButtonProps = Omit<React.ComponentProps<typeof Button>, 'children' | 'size' | 'variant' | 'className'> & {
|
|
46
|
+
/** The button's accessible name and tooltip. */
|
|
47
|
+
label?: string;
|
|
48
|
+
className?: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* The + at the start of the bar that adds images (or anything else): an icon-only quiet button with a tooltip. Pass it
|
|
52
|
+
* as `start`, and open a file picker from `onClick`.
|
|
53
|
+
*/
|
|
54
|
+
declare function ChatBarAddButton({ label, className, ...props }: ChatBarAddButtonProps): React.JSX.Element;
|
|
55
|
+
export { ChatBar, ChatBarAddButton, ChatBarAttachment, chatBarFormVariants, type ChatBarAddButtonProps, type ChatBarAttachmentProps, type ChatBarProps, };
|
|
26
56
|
//# sourceMappingURL=chat-bar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-bar.d.ts","sourceRoot":"","sources":["../../../src/components/chat-bar/chat-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"chat-bar.d.ts","sourceRoot":"","sources":["../../../src/components/chat-bar/chat-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAI5C,QAAA,MAAM,mBAAmB;;;8EAqBxB,CAAA;AAcD,KAAK,YAAY,GAAG,IAAI,CACtB,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAC3B,UAAU,GAAG,cAAc,CAC5B,GACC,YAAY,CAAC,OAAO,mBAAmB,CAAC,GAAG;IACzC,4FAA4F;IAC5F,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,2EAA2E;IAC3E,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACvB,8FAA8F;IAC9F,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,iFAAiF;IACjF,YAAY,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
1
1
|
import { cn as e } from "../../lib/utils.js";
|
|
2
2
|
import { Button as t } from "../button/button.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { Tooltip as n, TooltipContent as r, TooltipTrigger as i } from "../tooltip/tooltip.js";
|
|
4
|
+
import * as a from "react";
|
|
5
|
+
import { cva as o } from "class-variance-authority";
|
|
6
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
7
|
+
import { IconArrowUp as l, IconPlus as u, IconX as d } from "@tabler/icons-react";
|
|
7
8
|
//#region src/components/chat-bar/chat-bar.tsx
|
|
8
|
-
var
|
|
9
|
-
variants: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
var f = o("pointer-events-auto mx-auto flex w-full items-center rounded-full border border-border bg-card", {
|
|
10
|
+
variants: {
|
|
11
|
+
size: {
|
|
12
|
+
default: "min-h-[60px] max-w-[680px] gap-2.5 py-2 pr-2.5 pl-6 shadow-[0_10px_34px_-12px_rgb(0_0_0/.22),0_1px_3px_rgb(0_0_0/.06)]",
|
|
13
|
+
compact: "max-w-[560px] gap-2 py-1.5 pr-1.5 pl-5 shadow-sm"
|
|
14
|
+
},
|
|
15
|
+
withStart: {
|
|
16
|
+
true: "",
|
|
17
|
+
false: ""
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
compoundVariants: [{
|
|
21
|
+
size: "default",
|
|
22
|
+
withStart: !0,
|
|
23
|
+
className: "pl-2.5"
|
|
24
|
+
}, {
|
|
25
|
+
size: "compact",
|
|
26
|
+
withStart: !0,
|
|
27
|
+
className: "pl-1.5"
|
|
28
|
+
}],
|
|
29
|
+
defaultVariants: {
|
|
30
|
+
size: "default",
|
|
31
|
+
withStart: !1
|
|
32
|
+
}
|
|
33
|
+
}), p = o("flex-none rounded-full", {
|
|
15
34
|
variants: { size: {
|
|
16
35
|
default: "size-10 [--icon-stroke-width:var(--icon-stroke-20)] [&_svg:not([class*=size-])]:size-5",
|
|
17
36
|
compact: "size-8 [--icon-stroke-width:var(--icon-stroke-16)] [&_svg:not([class*=size-])]:size-4"
|
|
18
37
|
} },
|
|
19
38
|
defaultVariants: { size: "default" }
|
|
20
39
|
});
|
|
21
|
-
function
|
|
22
|
-
let [
|
|
23
|
-
return /* @__PURE__ */
|
|
40
|
+
function m({ onSend: n, placeholder: r = "Ask me anything, or tell me what to do", inputLabel: i = "Message", sendLabel: o = "Send", defaultValue: u = "", floating: d = !0, size: m = "default", className: h, children: g, start: _, attachments: v, canSendEmpty: y = !1, ...b }) {
|
|
41
|
+
let [x, S] = a.useState(u), C = m === "compact" ? "max-w-[560px]" : "max-w-[680px]";
|
|
42
|
+
return /* @__PURE__ */ c("div", {
|
|
24
43
|
"data-slot": "chat-bar",
|
|
25
44
|
"data-size": m,
|
|
26
|
-
className: e(
|
|
27
|
-
...
|
|
28
|
-
children: [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
45
|
+
className: e(d && "pointer-events-none sticky bottom-0 z-10 rounded-b-2xl bg-linear-to-t from-card from-75% to-transparent px-6 pt-6 pb-6", h),
|
|
46
|
+
...b,
|
|
47
|
+
children: [
|
|
48
|
+
v ? /* @__PURE__ */ s("div", {
|
|
49
|
+
"data-slot": "chat-bar-attachments",
|
|
50
|
+
className: e("pointer-events-auto mx-auto mb-2 flex flex-wrap gap-2 px-2", C),
|
|
51
|
+
children: v
|
|
52
|
+
}) : null,
|
|
53
|
+
/* @__PURE__ */ c("form", {
|
|
54
|
+
"data-slot": "chat-bar-form",
|
|
55
|
+
className: e(f({
|
|
56
|
+
size: m,
|
|
57
|
+
withStart: !!_
|
|
58
|
+
})),
|
|
59
|
+
onSubmit: (e) => {
|
|
60
|
+
e.preventDefault();
|
|
61
|
+
let t = x.trim();
|
|
62
|
+
!t && !y || (n?.(t), S(""));
|
|
63
|
+
},
|
|
64
|
+
children: [
|
|
65
|
+
_,
|
|
66
|
+
/* @__PURE__ */ s("input", {
|
|
67
|
+
"data-slot": "chat-bar-input",
|
|
68
|
+
"aria-label": i,
|
|
69
|
+
value: x,
|
|
70
|
+
onChange: (e) => S(e.target.value),
|
|
71
|
+
placeholder: r,
|
|
72
|
+
className: "type-body min-w-0 flex-1 bg-transparent text-foreground outline-none placeholder:text-foreground-tertiary"
|
|
73
|
+
}),
|
|
74
|
+
/* @__PURE__ */ s(t, {
|
|
75
|
+
type: "submit",
|
|
76
|
+
"aria-label": o,
|
|
77
|
+
size: m === "compact" ? "icon-md" : "icon-lg",
|
|
78
|
+
className: p({ size: m }),
|
|
79
|
+
children: /* @__PURE__ */ s(l, { "aria-hidden": "true" })
|
|
80
|
+
})
|
|
81
|
+
]
|
|
82
|
+
}),
|
|
83
|
+
g ? /* @__PURE__ */ s("div", {
|
|
84
|
+
"data-slot": "chat-bar-footer",
|
|
85
|
+
className: e("pointer-events-auto mx-auto mt-3", C),
|
|
86
|
+
children: g
|
|
87
|
+
}) : null
|
|
88
|
+
]
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
function h({ src: t, alt: n, onRemove: r, removeLabel: i, className: a, ...o }) {
|
|
92
|
+
return /* @__PURE__ */ c("div", {
|
|
93
|
+
"data-slot": "chat-bar-attachment",
|
|
94
|
+
className: e("relative size-16 flex-none", a),
|
|
95
|
+
...o,
|
|
96
|
+
children: [/* @__PURE__ */ s("img", {
|
|
97
|
+
src: t,
|
|
98
|
+
alt: n,
|
|
99
|
+
className: "size-full rounded-lg border border-border object-cover"
|
|
100
|
+
}), r ? /* @__PURE__ */ s("button", {
|
|
101
|
+
type: "button",
|
|
102
|
+
"aria-label": i ?? `Remove ${n}`,
|
|
103
|
+
onClick: r,
|
|
104
|
+
className: "absolute -top-1.5 -right-1.5 flex size-5 items-center justify-center rounded-full bg-foreground text-background shadow-sm outline-none focus-visible:ring-3 focus-visible:ring-ring/50",
|
|
105
|
+
children: /* @__PURE__ */ s(d, {
|
|
106
|
+
"aria-hidden": "true",
|
|
107
|
+
className: "size-3"
|
|
108
|
+
})
|
|
54
109
|
}) : null]
|
|
55
110
|
});
|
|
56
111
|
}
|
|
112
|
+
function g({ label: a = "Add images", className: o, ...l }) {
|
|
113
|
+
return /* @__PURE__ */ c(n, { children: [/* @__PURE__ */ s(i, {
|
|
114
|
+
render: /* @__PURE__ */ s(t, {
|
|
115
|
+
type: "button",
|
|
116
|
+
"aria-label": a,
|
|
117
|
+
size: "icon-md",
|
|
118
|
+
variant: "tertiary",
|
|
119
|
+
className: e("flex-none rounded-full text-muted-foreground hover:text-foreground", o),
|
|
120
|
+
...l
|
|
121
|
+
}),
|
|
122
|
+
children: /* @__PURE__ */ s(u, { "aria-hidden": "true" })
|
|
123
|
+
}), /* @__PURE__ */ s(r, { children: a })] });
|
|
124
|
+
}
|
|
57
125
|
//#endregion
|
|
58
|
-
export {
|
|
126
|
+
export { m as ChatBar, g as ChatBarAddButton, h as ChatBarAttachment, f as chatBarFormVariants };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/turn-steps/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type TurnStep = {
|
|
3
|
+
id: string;
|
|
4
|
+
/** What the agent is doing, in a few plain words: "Reading your notes". */
|
|
5
|
+
label: string;
|
|
6
|
+
status: 'pending' | 'running' | 'done' | 'failed';
|
|
7
|
+
/** For a failed step: why, in one line. */
|
|
8
|
+
detail?: string;
|
|
9
|
+
};
|
|
10
|
+
type TurnStepsProps = Omit<React.ComponentProps<'div'>, 'children'> & {
|
|
11
|
+
/** The turn's real stages, in order, as they stream in. */
|
|
12
|
+
steps: TurnStep[];
|
|
13
|
+
/** Offered on a failed step; reruns the turn. */
|
|
14
|
+
onRetry?: () => void;
|
|
15
|
+
retryLabel?: string;
|
|
16
|
+
/** The folded line once every step is done; defaults to "Worked through N steps". */
|
|
17
|
+
summary?: (count: number) => string;
|
|
18
|
+
/** Open the folded list at first. */
|
|
19
|
+
defaultOpen?: boolean;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* What an agent is doing on its turn, like Claude's: a live list of real steps, each with a spinner that turns into a
|
|
23
|
+
* check. Once every step is done the list folds into one quiet line ("Worked through 5 steps") that opens on click. A
|
|
24
|
+
* failed step shows an ×, a one-line reason and Try again, and the list stays open.
|
|
25
|
+
*/
|
|
26
|
+
declare function TurnSteps({ steps, onRetry, retryLabel, summary, defaultOpen, className, ...props }: TurnStepsProps): React.JSX.Element;
|
|
27
|
+
export { TurnSteps, type TurnStep, type TurnStepsProps };
|
|
28
|
+
//# sourceMappingURL=turn-steps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"turn-steps.d.ts","sourceRoot":"","sources":["../../../src/components/turn-steps/turn-steps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAY9B,KAAK,QAAQ,GAAG;IACd,EAAE,EAAE,MAAM,CAAA;IACV,2EAA2E;IAC3E,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAA;IACjD,2CAA2C;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,KAAK,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;IACpE,2DAA2D;IAC3D,KAAK,EAAE,QAAQ,EAAE,CAAA;IACjB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,qFAAqF;IACrF,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IACnC,qCAAqC;IACrC,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAA;AA8FD;;;;GAIG;AACH,iBAAS,SAAS,CAAC,EACjB,KAAK,EACL,OAAO,EACP,UAAwB,EACxB,OAC6D,EAC7D,WAAmB,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,qBAmChB;AAED,OAAO,EAAE,SAAS,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/utils.js";
|
|
2
|
+
import { Button as t } from "../button/button.js";
|
|
3
|
+
import { Collapsible as n, CollapsibleContent as r, CollapsibleTrigger as i } from "../collapsible/collapsible.js";
|
|
4
|
+
import { Spinner as a } from "../spinner/spinner.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
7
|
+
import { IconCheck as c, IconChevronRight as l, IconX as u } from "@tabler/icons-react";
|
|
8
|
+
//#region src/components/turn-steps/turn-steps.tsx
|
|
9
|
+
function d({ status: e }) {
|
|
10
|
+
return e === "done" ? /* @__PURE__ */ o(c, {
|
|
11
|
+
"aria-label": "Done",
|
|
12
|
+
role: "img",
|
|
13
|
+
className: "size-3.5 text-success"
|
|
14
|
+
}) : e === "failed" ? /* @__PURE__ */ o(u, {
|
|
15
|
+
"aria-label": "Failed",
|
|
16
|
+
role: "img",
|
|
17
|
+
className: "size-3.5 text-destructive"
|
|
18
|
+
}) : e === "running" ? /* @__PURE__ */ o(a, {
|
|
19
|
+
"aria-label": "Working",
|
|
20
|
+
className: "size-3.5"
|
|
21
|
+
}) : /* @__PURE__ */ o("span", {
|
|
22
|
+
"aria-label": "Waiting",
|
|
23
|
+
role: "img",
|
|
24
|
+
className: "size-2.5 rounded-full border border-border"
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function f({ steps: n, onRetry: r, retryLabel: i, quiet: a }) {
|
|
28
|
+
return /* @__PURE__ */ o("ol", {
|
|
29
|
+
"data-slot": "turn-steps-list",
|
|
30
|
+
className: e("m-0 flex list-none flex-col p-0", a ? "type-detail gap-1 border-l border-border py-0.5 pl-3 text-muted-foreground" : "type-body gap-2"),
|
|
31
|
+
children: n.map((n) => /* @__PURE__ */ s("li", {
|
|
32
|
+
"data-status": n.status,
|
|
33
|
+
className: "flex items-start gap-2.5",
|
|
34
|
+
children: [/* @__PURE__ */ o("span", {
|
|
35
|
+
className: "flex h-[1lh] w-4 flex-none items-center justify-center",
|
|
36
|
+
children: /* @__PURE__ */ o(d, { status: n.status })
|
|
37
|
+
}), /* @__PURE__ */ s("span", {
|
|
38
|
+
className: "flex min-w-0 flex-col gap-1",
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ o("span", {
|
|
41
|
+
className: e(n.status === "pending" && "text-foreground-tertiary", n.status === "done" && !a && "text-muted-foreground", (n.status === "running" || n.status === "failed") && "font-medium text-foreground"),
|
|
42
|
+
children: n.label
|
|
43
|
+
}),
|
|
44
|
+
n.status === "failed" && n.detail ? /* @__PURE__ */ o("span", {
|
|
45
|
+
className: "type-detail text-muted-foreground",
|
|
46
|
+
children: n.detail
|
|
47
|
+
}) : null,
|
|
48
|
+
n.status === "failed" && r ? /* @__PURE__ */ o(t, {
|
|
49
|
+
type: "button",
|
|
50
|
+
size: "sm",
|
|
51
|
+
variant: "secondary",
|
|
52
|
+
className: "self-start",
|
|
53
|
+
onClick: r,
|
|
54
|
+
children: i
|
|
55
|
+
}) : null
|
|
56
|
+
]
|
|
57
|
+
})]
|
|
58
|
+
}, n.id))
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
function p({ steps: e, onRetry: t, retryLabel: a = "Try again", summary: c = (e) => `Worked through ${e} ${e === 1 ? "step" : "steps"}`, defaultOpen: u = !1, className: d, ...p }) {
|
|
62
|
+
let m = e.length > 0 && e.every((e) => e.status === "done");
|
|
63
|
+
return /* @__PURE__ */ o("div", {
|
|
64
|
+
"data-slot": "turn-steps",
|
|
65
|
+
"data-state": m ? "done" : "live",
|
|
66
|
+
"aria-live": "polite",
|
|
67
|
+
className: d,
|
|
68
|
+
...p,
|
|
69
|
+
children: m ? /* @__PURE__ */ s(n, {
|
|
70
|
+
defaultOpen: u,
|
|
71
|
+
className: "flex flex-col gap-1.5",
|
|
72
|
+
children: [/* @__PURE__ */ s(i, {
|
|
73
|
+
className: "group type-detail flex items-center gap-1.5 self-start rounded-sm text-muted-foreground outline-none hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",
|
|
74
|
+
children: [/* @__PURE__ */ o(l, {
|
|
75
|
+
"aria-hidden": "true",
|
|
76
|
+
className: "size-3 transition-transform group-data-[panel-open]:rotate-90"
|
|
77
|
+
}), c(e.length)]
|
|
78
|
+
}), /* @__PURE__ */ o(r, { children: /* @__PURE__ */ o(f, {
|
|
79
|
+
steps: e,
|
|
80
|
+
retryLabel: a,
|
|
81
|
+
quiet: !0
|
|
82
|
+
}) })]
|
|
83
|
+
}) : /* @__PURE__ */ o(f, {
|
|
84
|
+
steps: e,
|
|
85
|
+
onRetry: t,
|
|
86
|
+
retryLabel: a
|
|
87
|
+
})
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
//#endregion
|
|
91
|
+
export { p as TurnSteps };
|
package/dist/index.d.ts
CHANGED
|
@@ -80,5 +80,6 @@ export * from './components/toast';
|
|
|
80
80
|
export * from './components/toggle';
|
|
81
81
|
export * from './components/toggle-group';
|
|
82
82
|
export * from './components/tooltip';
|
|
83
|
+
export * from './components/turn-steps';
|
|
83
84
|
export { cn } from './lib/utils';
|
|
84
85
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,WAAW,EACX,cAAc,EACd,KAAK,WAAW,GACjB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,IAAI,EACJ,UAAU,EACV,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,KAAK,EACL,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,cAAc,EACd,QAAQ,EACR,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,UAAU,GAChB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAA;AACvE,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,2BAA2B,CAAA;AACzC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA;AACxC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xC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -25,62 +25,63 @@ import { ButtonGroup as Et, ButtonGroupSeparator as Dt, ButtonGroupText as Ot, b
|
|
|
25
25
|
import { Calendar as At, CalendarDayButton as jt } from "./components/calendar/calendar.js";
|
|
26
26
|
import { Carousel as Mt, CarouselContent as Nt, CarouselItem as Pt, CarouselNext as Ft, CarouselPrevious as It, useCarousel as Lt } from "./components/carousel/carousel.js";
|
|
27
27
|
import { ChartContainer as Rt, ChartLegend as zt, ChartLegendContent as Bt, ChartStyle as Vt, ChartTooltip as Ht, ChartTooltipContent as Ut } from "./components/chart/chart.js";
|
|
28
|
-
import { ChatBar as Wt,
|
|
29
|
-
import { Checkbox as
|
|
30
|
-
import { Collapsible as
|
|
31
|
-
import { Textarea as
|
|
32
|
-
import { InputGroup as
|
|
33
|
-
import { Combobox as
|
|
34
|
-
import { StatusIndicator as
|
|
35
|
-
import { ConnectNotice as
|
|
36
|
-
import { Table as
|
|
37
|
-
import { DataTable as
|
|
38
|
-
import { Popover as
|
|
39
|
-
import { DatePicker as
|
|
40
|
-
import { DenseTable as
|
|
41
|
-
import { DetailList as
|
|
42
|
-
import { Dialog as
|
|
43
|
-
import { Drawer as
|
|
44
|
-
import { EditableText as
|
|
45
|
-
import { Empty as
|
|
46
|
-
import { BrandApple as
|
|
47
|
-
import { PlatformAvatar as
|
|
48
|
-
import { FaceStackButton as
|
|
49
|
-
import { FilterChips as
|
|
50
|
-
import { Progress as
|
|
51
|
-
import { GoalCard as
|
|
52
|
-
import { HoverCard as
|
|
53
|
-
import { IdentityMark as
|
|
54
|
-
import { Item as
|
|
55
|
-
import { Marker as
|
|
56
|
-
import { MediaThumbnail as
|
|
57
|
-
import { Message as
|
|
58
|
-
import { MetricOverview as
|
|
59
|
-
import { MetricTile as
|
|
60
|
-
import { NativeSelect as
|
|
61
|
-
import { NavigationAction as
|
|
62
|
-
import { PageHeader as
|
|
63
|
-
import { Pagination as
|
|
64
|
-
import { CHANNELS as
|
|
65
|
-
import { LetterMark as
|
|
66
|
-
import { Questionnaire as
|
|
67
|
-
import { RadioGroup as
|
|
68
|
-
import { Rating as
|
|
69
|
-
import { ScrollArea as
|
|
70
|
-
import { SectionHeader as
|
|
71
|
-
import { Select as
|
|
72
|
-
import { SignalDots as
|
|
73
|
-
import { Slider as
|
|
74
|
-
import { SourceAvatar as
|
|
75
|
-
import { Sparkline as
|
|
76
|
-
import { Spinner as
|
|
77
|
-
import { StaleBanner as
|
|
78
|
-
import { SuggestChips as
|
|
79
|
-
import { Tabs as
|
|
80
|
-
import { Toggle as
|
|
81
|
-
import { StackedBarChart as
|
|
82
|
-
import { Switch as
|
|
83
|
-
import { Tag as
|
|
84
|
-
import { Toast as
|
|
85
|
-
import { ToggleGroup as
|
|
86
|
-
|
|
28
|
+
import { ChatBar as Wt, ChatBarAddButton as Gt, ChatBarAttachment as Kt, chatBarFormVariants as qt } from "./components/chat-bar/chat-bar.js";
|
|
29
|
+
import { Checkbox as Jt } from "./components/checkbox/checkbox.js";
|
|
30
|
+
import { Collapsible as Yt, CollapsibleContent as Xt, CollapsibleTrigger as Zt } from "./components/collapsible/collapsible.js";
|
|
31
|
+
import { Textarea as Qt } from "./components/textarea/textarea.js";
|
|
32
|
+
import { InputGroup as $t, InputGroupAddon as en, InputGroupButton as tn, InputGroupInput as nn, InputGroupText as rn, InputGroupTextarea as an } from "./components/input-group/input-group.js";
|
|
33
|
+
import { Combobox as on, ComboboxChip as sn, ComboboxChips as cn, ComboboxChipsInput as ln, ComboboxCollection as un, ComboboxContent as dn, ComboboxEmpty as fn, ComboboxGroup as pn, ComboboxInput as mn, ComboboxItem as hn, ComboboxLabel as gn, ComboboxList as _n, ComboboxSeparator as vn, ComboboxTrigger as yn, ComboboxValue as bn, useComboboxAnchor as xn } from "./components/combobox/combobox.js";
|
|
34
|
+
import { StatusIndicator as Sn, statusDotVariants as Cn } from "./components/status-indicator/status-indicator.js";
|
|
35
|
+
import { ConnectNotice as wn } from "./components/connect-notice/connect-notice.js";
|
|
36
|
+
import { Table as Tn, TableBody as En, TableCaption as Dn, TableCell as On, TableFooter as kn, TableHead as An, TableHeader as jn, TableRow as Mn } from "./components/table/table.js";
|
|
37
|
+
import { DataTable as Nn } from "./components/data-table/data-table.js";
|
|
38
|
+
import { Popover as Pn, PopoverContent as Fn, PopoverDescription as In, PopoverHeader as Ln, PopoverTitle as Rn, PopoverTrigger as zn } from "./components/popover/popover.js";
|
|
39
|
+
import { DatePicker as Bn } from "./components/date-picker/date-picker.js";
|
|
40
|
+
import { DenseTable as Vn, DenseTableCell as Hn, DenseTableRow as Un, sortDenseTableRows as Wn } from "./components/dense-table/dense-table.js";
|
|
41
|
+
import { DetailList as Gn, DetailListItem as Kn } from "./components/detail-list/detail-list.js";
|
|
42
|
+
import { Dialog as qn, DialogClose as Jn, DialogContent as Yn, DialogDescription as Xn, DialogFooter as Zn, DialogHeader as Qn, DialogOverlay as $n, DialogPortal as er, DialogTitle as tr, DialogTrigger as nr } from "./components/dialog/dialog.js";
|
|
43
|
+
import { Drawer as rr, DrawerClose as ir, DrawerContent as ar, DrawerDescription as or, DrawerFooter as sr, DrawerHeader as cr, DrawerOverlay as lr, DrawerPortal as ur, DrawerSwipeHandle as dr, DrawerTitle as fr, DrawerTrigger as pr } from "./components/drawer/drawer.js";
|
|
44
|
+
import { EditableText as mr } from "./components/editable-text/editable-text.js";
|
|
45
|
+
import { Empty as hr, EmptyContent as gr, EmptyDescription as _r, EmptyHeader as vr, EmptyMedia as yr, EmptyTitle as br } from "./components/empty/empty.js";
|
|
46
|
+
import { BrandApple as xr, BrandBeehiiv as Sr, BrandBing as Cr, BrandBluesky as wr, BrandChatgpt as Tr, BrandEmail as Er, BrandFacebook as Dr, BrandGithub as Or, BrandGmail as kr, BrandGodaddy as Ar, BrandGoogle as jr, BrandGoogleDocs as Mr, BrandInstagram as Nr, BrandLinkedin as Pr, BrandMeta as Fr, BrandMicrosoft as Ir, BrandOutlook as Lr, BrandPerplexity as Rr, BrandPhone as zr, BrandReddit as Br, BrandSearchConsole as Vr, BrandShopify as Hr, BrandSquarespace as Ur, BrandThreads as Wr, BrandTiktok as Gr, BrandWordpress as Kr, BrandX as qr, BrandYelp as Jr, BrandYoutube as Yr, BrandZapier as Xr, PLATFORMS as Zr, PLATFORM_COLOR as Qr, PLATFORM_ICON as $r, PLATFORM_LABEL as ei, PlatformIcon as ti } from "./components/platform-icon/platform-icon.js";
|
|
47
|
+
import { PlatformAvatar as ni } from "./components/platform-avatar/platform-avatar.js";
|
|
48
|
+
import { FaceStackButton as ri } from "./components/face-stack-button/face-stack-button.js";
|
|
49
|
+
import { FilterChips as ii } from "./components/filter-chips/filter-chips.js";
|
|
50
|
+
import { Progress as ai, ProgressIndicator as oi, ProgressLabel as si, ProgressTrack as ci, ProgressValue as li } from "./components/progress/progress.js";
|
|
51
|
+
import { GoalCard as ui, PaceBadge as di, PaceMeter as fi, paceStatusOf as pi } from "./components/goal-card/goal-card.js";
|
|
52
|
+
import { HoverCard as mi, HoverCardContent as hi, HoverCardTrigger as gi } from "./components/hover-card/hover-card.js";
|
|
53
|
+
import { IdentityMark as _i, IdentityMarkImage as vi } from "./components/identity-mark/identity-mark.js";
|
|
54
|
+
import { Item as yi, ItemActions as bi, ItemContent as xi, ItemDescription as Si, ItemFooter as Ci, ItemGroup as wi, ItemHeader as Ti, ItemMedia as Ei, ItemSeparator as Di, ItemTitle as Oi } from "./components/item/item.js";
|
|
55
|
+
import { Marker as ki, MarkerContent as Ai, MarkerIcon as ji, markerVariants as Mi } from "./components/marker/marker.js";
|
|
56
|
+
import { MediaThumbnail as Ni, mediaThumbnailVariants as Pi } from "./components/media-thumbnail/media-thumbnail.js";
|
|
57
|
+
import { Message as Fi, MessageAvatar as Ii, MessageContent as Li, MessageFooter as Ri, MessageGroup as zi, MessageHeader as Bi } from "./components/message/message.js";
|
|
58
|
+
import { MetricOverview as Vi } from "./components/metric-overview/metric-overview.js";
|
|
59
|
+
import { MetricTile as Hi, metricTileVariants as Ui } from "./components/metric-tile/metric-tile.js";
|
|
60
|
+
import { NativeSelect as Wi, NativeSelectOptGroup as Gi, NativeSelectOption as Ki } from "./components/native-select/native-select.js";
|
|
61
|
+
import { NavigationAction as qi, navigationActionVariants as Ji } from "./components/navigation-action/navigation-action.js";
|
|
62
|
+
import { PageHeader as Yi } from "./components/page-header/page-header.js";
|
|
63
|
+
import { Pagination as Xi, PaginationContent as Zi, PaginationEllipsis as Qi, PaginationItem as $i, PaginationLink as ea, PaginationNext as ta, PaginationPrevious as na } from "./components/pagination/pagination.js";
|
|
64
|
+
import { CHANNELS as ra, CHANNEL_COLOR as ia } from "./components/platform-icon/channel-color.js";
|
|
65
|
+
import { LetterMark as aa } from "./components/platform-icon/letter-mark.js";
|
|
66
|
+
import { Questionnaire as oa, QuestionnaireActions as sa, QuestionnaireChoice as ca, QuestionnaireChoiceDescription as la, QuestionnaireChoices as ua, QuestionnaireDescription as da, QuestionnaireError as fa, QuestionnaireInput as pa, QuestionnaireItem as ma, QuestionnaireNext as ha, QuestionnairePrevious as ga, QuestionnaireProgress as _a, QuestionnaireSkip as va, QuestionnaireSubmit as ya, QuestionnaireTitle as ba } from "./components/questionnaire/questionnaire.js";
|
|
67
|
+
import { RadioGroup as xa, RadioGroupItem as Sa } from "./components/radio-group/radio-group.js";
|
|
68
|
+
import { Rating as Ca } from "./components/rating/rating.js";
|
|
69
|
+
import { ScrollArea as wa, ScrollBar as Ta } from "./components/scroll-area/scroll-area.js";
|
|
70
|
+
import { SectionHeader as Ea } from "./components/section-header/section-header.js";
|
|
71
|
+
import { Select as Da, SelectContent as Oa, SelectGroup as ka, SelectItem as Aa, SelectLabel as ja, SelectScrollDownButton as Ma, SelectScrollUpButton as Na, SelectSeparator as Pa, SelectTrigger as Fa, SelectValue as Ia } from "./components/select/select.js";
|
|
72
|
+
import { SignalDots as La, SignalStrip as Ra } from "./components/signal-strip/signal-strip.js";
|
|
73
|
+
import { Slider as za } from "./components/slider/slider.js";
|
|
74
|
+
import { SourceAvatar as Ba } from "./components/source-avatar/source-avatar.js";
|
|
75
|
+
import { Sparkline as Va } from "./components/sparkline/sparkline.js";
|
|
76
|
+
import { Spinner as Ha } from "./components/spinner/spinner.js";
|
|
77
|
+
import { StaleBanner as Ua, StateBanner as Wa, stateBannerVariants as Ga } from "./components/state-banner/state-banner.js";
|
|
78
|
+
import { SuggestChips as Ka } from "./components/suggest-chips/suggest-chips.js";
|
|
79
|
+
import { Tabs as qa, TabsContent as Ja, TabsList as Ya, TabsTrigger as Xa, tabsListVariants as Za } from "./components/tabs/tabs.js";
|
|
80
|
+
import { Toggle as Qa, toggleVariants as $a } from "./components/toggle/toggle.js";
|
|
81
|
+
import { StackedBarChart as eo } from "./components/stacked-bar-chart/stacked-bar-chart.js";
|
|
82
|
+
import { Switch as to } from "./components/switch/switch.js";
|
|
83
|
+
import { Tag as no, TagList as ro } from "./components/tag/tag.js";
|
|
84
|
+
import { Toast as io, ToastAction as ao, ToastClose as oo, ToastContent as so, ToastDescription as co, ToastPortal as lo, ToastProvider as uo, ToastTitle as fo, ToastViewport as po, Toaster as mo, createToastManager as ho, toast as go, useToastManager as _o } from "./components/toast/toast.js";
|
|
85
|
+
import { ToggleGroup as vo, ToggleGroupItem as yo } from "./components/toggle-group/toggle-group.js";
|
|
86
|
+
import { TurnSteps as bo } from "./components/turn-steps/turn-steps.js";
|
|
87
|
+
export { He as APP_SIDEBAR_DEFAULT_WIDTH, Ue as APP_SIDEBAR_MAX_WIDTH, We as APP_SIDEBAR_MIN_WIDTH, Ge as APP_SIDEBAR_RAIL_WIDTH, w as Accordion, T as AccordionContent, E as AccordionItem, D as AccordionTrigger, O as Alert, k as AlertAction, A as AlertDescription, M as AlertDialog, N as AlertDialogAction, P as AlertDialogCancel, F as AlertDialogContent, I as AlertDialogDescription, L as AlertDialogFooter, R as AlertDialogHeader, z as AlertDialogMedia, B as AlertDialogOverlay, V as AlertDialogPortal, H as AlertDialogTitle, U as AlertDialogTrigger, j as AlertTitle, Ke as AppShell, qe as AppSidebar, Je as AppSidebarWorkspace, Ye as AppTopBar, Xe as ApprovalCard, Ze as AspectRatio, Qe as Attachment, $e as AttachmentAction, et as AttachmentActions, tt as AttachmentContent, nt as AttachmentDescription, rt as AttachmentGroup, it as AttachmentMedia, at as AttachmentTitle, ot as AttachmentTrigger, st as Avatar, ct as AvatarBadge, lt as AvatarFallback, ut as AvatarGroup, dt as AvatarGroupCount, ft as AvatarImage, pt as Badge, xr as BrandApple, Sr as BrandBeehiiv, Cr as BrandBing, wr as BrandBluesky, Tr as BrandChatgpt, Er as BrandEmail, Dr as BrandFacebook, Or as BrandGithub, kr as BrandGmail, Ar as BrandGodaddy, jr as BrandGoogle, Mr as BrandGoogleDocs, Nr as BrandInstagram, Pr as BrandLinkedin, Fr as BrandMeta, Ir as BrandMicrosoft, Lr as BrandOutlook, Rr as BrandPerplexity, zr as BrandPhone, Br as BrandReddit, Vr as BrandSearchConsole, Hr as BrandShopify, Ur as BrandSquarespace, Wr as BrandThreads, Gr as BrandTiktok, Kr as BrandWordpress, qr as BrandX, Jr as BrandYelp, Yr as BrandYoutube, Xr as BrandZapier, ht as Breadcrumb, gt as BreadcrumbEllipsis, _t as BreadcrumbItem, vt as BreadcrumbLink, yt as BreadcrumbList, bt as BreadcrumbPage, xt as BreadcrumbSeparator, St as Bubble, Ct as BubbleContent, wt as BubbleGroup, Tt as BubbleReactions, t as Button, Et as ButtonGroup, Dt as ButtonGroupSeparator, Ot as ButtonGroupText, n as ButtonLabel, ra as CHANNELS, ia as CHANNEL_COLOR, At as Calendar, jt as CalendarDayButton, i as Card, a as CardAction, o as CardContent, s as CardDescription, c as CardFooter, l as CardHeader, u as CardTitle, Mt as Carousel, Nt as CarouselContent, Pt as CarouselItem, Ft as CarouselNext, It as CarouselPrevious, Rt as ChartContainer, zt as ChartLegend, Bt as ChartLegendContent, Vt as ChartStyle, Ht as ChartTooltip, Ut as ChartTooltipContent, Wt as ChatBar, Gt as ChatBarAddButton, Kt as ChatBarAttachment, Jt as Checkbox, Yt as Collapsible, Xt as CollapsibleContent, Zt as CollapsibleTrigger, on as Combobox, sn as ComboboxChip, cn as ComboboxChips, ln as ComboboxChipsInput, un as ComboboxCollection, dn as ComboboxContent, fn as ComboboxEmpty, pn as ComboboxGroup, mn as ComboboxInput, hn as ComboboxItem, gn as ComboboxLabel, _n as ComboboxList, vn as ComboboxSeparator, yn as ComboboxTrigger, bn as ComboboxValue, wn as ConnectNotice, Nn as DataTable, Bn as DatePicker, Vn as DenseTable, Hn as DenseTableCell, Un as DenseTableRow, Gn as DetailList, Kn as DetailListItem, qn as Dialog, Jn as DialogClose, Yn as DialogContent, Xn as DialogDescription, Zn as DialogFooter, Qn as DialogHeader, $n as DialogOverlay, er as DialogPortal, tr as DialogTitle, nr as DialogTrigger, rr as Drawer, ir as DrawerClose, ar as DrawerContent, or as DrawerDescription, sr as DrawerFooter, cr as DrawerHeader, lr as DrawerOverlay, ur as DrawerPortal, dr as DrawerSwipeHandle, fr as DrawerTitle, pr as DrawerTrigger, W as DropdownMenu, G as DropdownMenuCheckboxItem, K as DropdownMenuContent, q as DropdownMenuGroup, J as DropdownMenuItem, Y as DropdownMenuLabel, X as DropdownMenuPortal, Z as DropdownMenuRadioGroup, Q as DropdownMenuRadioItem, $ as DropdownMenuSeparator, ee as DropdownMenuShortcut, te as DropdownMenuSub, ne as DropdownMenuSubContent, re as DropdownMenuSubTrigger, ie as DropdownMenuTrigger, mr as EditableText, hr as Empty, gr as EmptyContent, _r as EmptyDescription, vr as EmptyHeader, yr as EmptyMedia, br as EmptyTitle, ri as FaceStackButton, p as Field, m as FieldContent, h as FieldDescription, g as FieldError, _ as FieldGroup, v as FieldLabel, y as FieldLegend, b as FieldSeparator, x as FieldSet, S as FieldTitle, ii as FilterChips, ui as GoalCard, mi as HoverCard, hi as HoverCardContent, gi as HoverCardTrigger, _i as IdentityMark, vi as IdentityMarkImage, C as Input, $t as InputGroup, en as InputGroupAddon, tn as InputGroupButton, nn as InputGroupInput, rn as InputGroupText, an as InputGroupTextarea, yi as Item, bi as ItemActions, xi as ItemContent, Si as ItemDescription, Ci as ItemFooter, wi as ItemGroup, Ti as ItemHeader, Ei as ItemMedia, Di as ItemSeparator, Oi as ItemTitle, d as Label, aa as LetterMark, ki as Marker, Ai as MarkerContent, ji as MarkerIcon, Ni as MediaThumbnail, Fi as Message, Ii as MessageAvatar, Li as MessageContent, Ri as MessageFooter, zi as MessageGroup, Bi as MessageHeader, Vi as MetricOverview, Hi as MetricTile, Wi as NativeSelect, Gi as NativeSelectOptGroup, Ki as NativeSelectOption, qi as NavigationAction, Zr as PLATFORMS, Qr as PLATFORM_COLOR, $r as PLATFORM_ICON, ei as PLATFORM_LABEL, di as PaceBadge, fi as PaceMeter, Yi as PageHeader, Xi as Pagination, Zi as PaginationContent, Qi as PaginationEllipsis, $i as PaginationItem, ea as PaginationLink, ta as PaginationNext, na as PaginationPrevious, ni as PlatformAvatar, ti as PlatformIcon, Pn as Popover, Fn as PopoverContent, In as PopoverDescription, Ln as PopoverHeader, Rn as PopoverTitle, zn as PopoverTrigger, ai as Progress, oi as ProgressIndicator, si as ProgressLabel, ci as ProgressTrack, li as ProgressValue, oa as Questionnaire, sa as QuestionnaireActions, ca as QuestionnaireChoice, la as QuestionnaireChoiceDescription, ua as QuestionnaireChoices, da as QuestionnaireDescription, fa as QuestionnaireError, pa as QuestionnaireInput, ma as QuestionnaireItem, ha as QuestionnaireNext, ga as QuestionnairePrevious, _a as QuestionnaireProgress, va as QuestionnaireSkip, ya as QuestionnaireSubmit, ba as QuestionnaireTitle, xa as RadioGroup, Sa as RadioGroupItem, Ca as Rating, wa as ScrollArea, Ta as ScrollBar, Ea as SectionHeader, Da as Select, Oa as SelectContent, ka as SelectGroup, Aa as SelectItem, ja as SelectLabel, Ma as SelectScrollDownButton, Na as SelectScrollUpButton, Pa as SelectSeparator, Fa as SelectTrigger, Ia as SelectValue, f as Separator, ae as Sheet, oe as SheetClose, se as SheetContent, ce as SheetDescription, le as SheetFooter, ue as SheetHeader, de as SheetTitle, fe as SheetTrigger, ve as Sidebar, ye as SidebarContent, be as SidebarFooter, xe as SidebarGroup, Se as SidebarGroupAction, Ce as SidebarGroupContent, we as SidebarGroupLabel, Te as SidebarHeader, Ee as SidebarInput, De as SidebarInset, Oe as SidebarMenu, ke as SidebarMenuAction, Ae as SidebarMenuBadge, je as SidebarMenuButton, Me as SidebarMenuItem, Ne as SidebarMenuSkeleton, Pe as SidebarMenuSub, Fe as SidebarMenuSubButton, Ie as SidebarMenuSubItem, Le as SidebarProvider, Re as SidebarRail, ze as SidebarSeparator, Be as SidebarTrigger, La as SignalDots, Ra as SignalStrip, pe as Skeleton, za as Slider, Ba as SourceAvatar, Va as Sparkline, Ha as Spinner, eo as StackedBarChart, Ua as StaleBanner, Wa as StateBanner, Sn as StatusIndicator, Ka as SuggestChips, to as Switch, Tn as Table, En as TableBody, Dn as TableCaption, On as TableCell, kn as TableFooter, An as TableHead, jn as TableHeader, Mn as TableRow, qa as Tabs, Ja as TabsContent, Ya as TabsList, Xa as TabsTrigger, no as Tag, ro as TagList, Qt as Textarea, io as Toast, ao as ToastAction, oo as ToastClose, so as ToastContent, co as ToastDescription, lo as ToastPortal, uo as ToastProvider, fo as ToastTitle, po as ToastViewport, mo as Toaster, Qa as Toggle, vo as ToggleGroup, yo as ToggleGroupItem, me as Tooltip, he as TooltipContent, ge as TooltipProvider, _e as TooltipTrigger, bo as TurnSteps, mt as badgeVariants, kt as buttonGroupVariants, r as buttonVariants, qt as chatBarFormVariants, e as cn, ho as createToastManager, Mi as markerVariants, Pi as mediaThumbnailVariants, Ui as metricTileVariants, Ji as navigationActionVariants, pi as paceStatusOf, Wn as sortDenseTableRows, Ga as stateBannerVariants, Cn as statusDotVariants, Za as tabsListVariants, go as toast, $a as toggleVariants, Lt as useCarousel, xn as useComboboxAnchor, Ve as useSidebar, _o as useToastManager };
|