@cognite/aura 0.1.4 → 0.1.6
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 +68 -0
- package/dist/colors.css +824 -0
- package/dist/components/index.d.ts +9 -2
- package/dist/components/index.js +279 -249
- package/dist/components/ui/core/accordion/accordion.d.ts +24 -0
- package/dist/components/ui/core/accordion/accordion.js +113 -0
- package/dist/components/ui/core/accordion/accordion.metadata.d.ts +2 -0
- package/dist/components/ui/core/accordion/accordion.metadata.js +9 -0
- package/dist/components/ui/core/alert/alert.js +65 -65
- package/dist/components/ui/core/avatar/avatar.js +29 -32
- package/dist/components/ui/core/badge/badge.d.ts +1 -1
- package/dist/components/ui/core/badge/badge.js +44 -52
- package/dist/components/ui/core/banner/banner.d.ts +40 -0
- package/dist/components/ui/core/banner/banner.js +218 -0
- package/dist/components/ui/core/banner/banner.metadata.d.ts +2 -0
- package/dist/components/ui/core/banner/banner.metadata.js +9 -0
- package/dist/components/ui/core/button/button.d.ts +2 -2
- package/dist/components/ui/core/button/button.js +19 -20
- package/dist/components/ui/core/button-group/button-group.js +10 -10
- package/dist/components/ui/core/card/card.js +1 -1
- package/dist/components/ui/core/code-block/code-block.d.ts +10 -3
- package/dist/components/ui/core/code-block/code-block.js +147 -94
- package/dist/components/ui/core/code-block/code-block.metadata.js +1 -1
- package/dist/components/ui/core/collapsible/collapsible.js +30 -24
- package/dist/components/ui/core/command/command.d.ts +2 -2
- package/dist/components/ui/core/command/command.js +30 -30
- package/dist/components/ui/core/dialog/dialog.js +8 -8
- package/dist/components/ui/core/dropdown-menu/dropdown-menu.js +35 -35
- package/dist/components/ui/core/helper-text/helper-text.js +8 -8
- package/dist/components/ui/core/hover-card/hover-card.js +5 -5
- package/dist/components/ui/core/inline-citation/inline-citation.js +19 -16
- package/dist/components/ui/core/input/input.d.ts +1 -5
- package/dist/components/ui/core/input/input.js +24 -30
- package/dist/components/ui/core/input-group/input-group.d.ts +2 -2
- package/dist/components/ui/core/input-group/input-group.js +104 -74
- package/dist/components/ui/core/label/label.d.ts +3 -1
- package/dist/components/ui/core/label/label.js +39 -16
- package/dist/components/ui/core/label/label.metadata.js +2 -2
- package/dist/components/ui/core/message/message-response-default-streamdown-controls.d.ts +11 -0
- package/dist/components/ui/core/message/message-response-default-streamdown-controls.js +13 -0
- package/dist/components/ui/core/message/message.d.ts +1 -1
- package/dist/components/ui/core/message/message.js +62 -44
- package/dist/components/ui/core/popover/popover.d.ts +10 -1
- package/dist/components/ui/core/popover/popover.js +137 -34
- package/dist/components/ui/core/popover/popover.metadata.js +9 -0
- package/dist/components/ui/core/progress/progress.d.ts +10 -0
- package/dist/components/ui/core/progress/progress.js +61 -0
- package/dist/components/ui/core/progress/progress.metadata.d.ts +2 -0
- package/dist/components/ui/core/progress/progress.metadata.js +9 -0
- package/dist/components/ui/core/prompt-input/prompt-input.d.ts +2 -2
- package/dist/components/ui/core/prompt-input/prompt-input.js +100 -100
- package/dist/components/ui/core/select/select.d.ts +3 -3
- package/dist/components/ui/core/select/select.js +69 -73
- package/dist/components/ui/core/skeleton/skeleton.js +6 -6
- package/dist/components/ui/core/sources/sources.js +8 -1
- package/dist/components/ui/core/textarea/textarea.d.ts +1 -8
- package/dist/components/ui/core/textarea/textarea.js +21 -45
- package/dist/components/ui/core/tool/tool.js +38 -34
- package/dist/components/ui/core/tooltip/tooltip.js +10 -10
- package/dist/eslint/index.d.ts +7 -0
- package/dist/eslint/index.js +10 -0
- package/dist/eslint/no-overriding-styles.d.ts +2 -0
- package/dist/eslint/no-overriding-styles.js +262 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +276 -249
- package/dist/lib/utils.d.ts +6 -6
- package/dist/lib/utils.js +26 -26
- package/dist/styles.css +1 -1
- package/dist/styles.source.css +3 -812
- package/package.json +26 -6
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as i, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as o } from "react";
|
|
3
3
|
import { Tooltip as e } from "@base-ui/react/tooltip";
|
|
4
4
|
import { usePortalContainer as g } from "../../../../lib/portal-container-context.js";
|
|
5
5
|
import { cn as c } from "../../../../lib/utils.js";
|
|
6
6
|
function P({
|
|
7
|
-
delayDuration: t =
|
|
7
|
+
delayDuration: t = 300,
|
|
8
8
|
...a
|
|
9
9
|
}) {
|
|
10
|
-
return /* @__PURE__ */
|
|
10
|
+
return /* @__PURE__ */ i(
|
|
11
11
|
e.Provider,
|
|
12
12
|
{
|
|
13
13
|
"data-slot": "tooltip-provider",
|
|
@@ -20,7 +20,7 @@ function w({
|
|
|
20
20
|
disableHoverableContent: t,
|
|
21
21
|
...a
|
|
22
22
|
}) {
|
|
23
|
-
return /* @__PURE__ */
|
|
23
|
+
return /* @__PURE__ */ i(
|
|
24
24
|
e.Root,
|
|
25
25
|
{
|
|
26
26
|
"data-slot": "tooltip",
|
|
@@ -29,7 +29,7 @@ function w({
|
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
31
|
}
|
|
32
|
-
const u =
|
|
32
|
+
const u = o((t, a) => /* @__PURE__ */ i(
|
|
33
33
|
e.Trigger,
|
|
34
34
|
{
|
|
35
35
|
ref: a,
|
|
@@ -38,7 +38,7 @@ const u = i((t, a) => /* @__PURE__ */ o(
|
|
|
38
38
|
}
|
|
39
39
|
));
|
|
40
40
|
u.displayName = "TooltipTrigger";
|
|
41
|
-
const h =
|
|
41
|
+
const h = o(
|
|
42
42
|
({
|
|
43
43
|
className: t,
|
|
44
44
|
side: a = "top",
|
|
@@ -49,7 +49,7 @@ const h = i(
|
|
|
49
49
|
...l
|
|
50
50
|
}, m) => {
|
|
51
51
|
const p = g();
|
|
52
|
-
return /* @__PURE__ */
|
|
52
|
+
return /* @__PURE__ */ i(e.Portal, { container: p, children: /* @__PURE__ */ i(
|
|
53
53
|
e.Positioner,
|
|
54
54
|
{
|
|
55
55
|
align: n,
|
|
@@ -63,13 +63,13 @@ const h = i(
|
|
|
63
63
|
ref: m,
|
|
64
64
|
"data-slot": "tooltip-content",
|
|
65
65
|
className: c(
|
|
66
|
-
"data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2 bg-
|
|
66
|
+
"data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2 bg-raised-background text-foreground-fixed-light z-50 inline-flex min-h-9 w-fit max-w-80 items-center origin-(--transform-origin) rounded-lg px-3 py-2 text-sm font-medium leading-4.5 shadow-sm",
|
|
67
67
|
t
|
|
68
68
|
),
|
|
69
69
|
...l,
|
|
70
70
|
children: [
|
|
71
71
|
s,
|
|
72
|
-
/* @__PURE__ */
|
|
72
|
+
/* @__PURE__ */ i(e.Arrow, { className: "size-2.5 -translate-y-1/2 rotate-45 rounded-xs data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 bg-raised-background fill-raised-background z-50 data-[side=bottom]:top-1 data-[side=bottom]:-mt-0.5 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5 data-[side=top]:-mt-0.5" })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
)
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
const N = /* @__PURE__ */ new Set([
|
|
2
|
+
"@cognite/aura/components",
|
|
3
|
+
"@cognite/aura-labs/components"
|
|
4
|
+
]), b = [
|
|
5
|
+
/^(block|inline|inline-block|flex|inline-flex|grid|inline-grid|contents|hidden)$/,
|
|
6
|
+
/^(w|h|min-w|max-w|min-h|max-h|size|aspect)-.+$/,
|
|
7
|
+
/^(m|mx|my|mt|mr|mb|ml|ms|me)-.+$/,
|
|
8
|
+
/^space-[xy]-.+$/,
|
|
9
|
+
/^gap(?:-[xy])?-.+$/,
|
|
10
|
+
/^(grow|grow-0|shrink|shrink-0)$/,
|
|
11
|
+
/^flex-(1|auto|initial|none|row|row-reverse|col|col-reverse|wrap|wrap-reverse|nowrap)$/,
|
|
12
|
+
/^basis-.+$/,
|
|
13
|
+
/^order-.+$/,
|
|
14
|
+
/^grid-(cols|rows)-.+$/,
|
|
15
|
+
/^auto-(cols|rows)-.+$/,
|
|
16
|
+
/^(col|row)-(auto|span-.+|start-.+|end-.+)$/,
|
|
17
|
+
/^justify-(start|end|center|between|around|evenly|stretch|normal)$/,
|
|
18
|
+
/^items-(start|end|center|baseline|stretch)$/,
|
|
19
|
+
/^content-(start|end|center|between|around|evenly|stretch|baseline)$/,
|
|
20
|
+
/^self-(auto|start|end|center|stretch|baseline)$/,
|
|
21
|
+
/^place-(items|content|self)-.+$/,
|
|
22
|
+
/^justify-self-.+$/,
|
|
23
|
+
/^(overflow|overflow-x|overflow-y|overscroll|overscroll-x|overscroll-y)-.+$/,
|
|
24
|
+
/^(whitespace|break)-.+$/,
|
|
25
|
+
/^(text-(left|center|right|justify|wrap|nowrap|balance|pretty))$/,
|
|
26
|
+
/^(truncate|line-clamp-.+)$/,
|
|
27
|
+
/^(static|fixed|absolute|relative|sticky)$/,
|
|
28
|
+
/^(inset|inset-x|inset-y|top|right|bottom|left|start|end|z)-.+$/,
|
|
29
|
+
/^(visible|invisible|isolate)$/
|
|
30
|
+
];
|
|
31
|
+
function l(e) {
|
|
32
|
+
return typeof e == "object" && e !== null;
|
|
33
|
+
}
|
|
34
|
+
function h(e) {
|
|
35
|
+
return l(e) && typeof e.type == "string";
|
|
36
|
+
}
|
|
37
|
+
function u(e, n) {
|
|
38
|
+
return h(e) && e.type === n;
|
|
39
|
+
}
|
|
40
|
+
function p(e) {
|
|
41
|
+
return u(e, "Literal");
|
|
42
|
+
}
|
|
43
|
+
function y(e) {
|
|
44
|
+
if (!l(e))
|
|
45
|
+
return !1;
|
|
46
|
+
const n = e, r = Array.isArray(n.expressions) && Array.isArray(n.quasis);
|
|
47
|
+
return u(n, "TemplateLiteral") && r;
|
|
48
|
+
}
|
|
49
|
+
function x(e) {
|
|
50
|
+
return u(e, "JSXExpressionContainer") && "expression" in e;
|
|
51
|
+
}
|
|
52
|
+
function $(e) {
|
|
53
|
+
if (!l(e))
|
|
54
|
+
return !1;
|
|
55
|
+
const n = e, r = Array.isArray(n.arguments) && "callee" in n;
|
|
56
|
+
return u(n, "CallExpression") && r;
|
|
57
|
+
}
|
|
58
|
+
function C(e) {
|
|
59
|
+
return u(e, "ConditionalExpression") && "consequent" in e && "alternate" in e;
|
|
60
|
+
}
|
|
61
|
+
function k(e) {
|
|
62
|
+
return u(e, "LogicalExpression") && "left" in e && "right" in e;
|
|
63
|
+
}
|
|
64
|
+
function E(e) {
|
|
65
|
+
if (!l(e))
|
|
66
|
+
return !1;
|
|
67
|
+
const n = e, r = Array.isArray(n.elements);
|
|
68
|
+
return u(n, "ArrayExpression") && r;
|
|
69
|
+
}
|
|
70
|
+
function w(e) {
|
|
71
|
+
if (!l(e))
|
|
72
|
+
return !1;
|
|
73
|
+
const n = e, r = typeof n.name == "string";
|
|
74
|
+
return u(n, "JSXIdentifier") && r;
|
|
75
|
+
}
|
|
76
|
+
function J(e) {
|
|
77
|
+
return u(e, "JSXAttribute") && "name" in e;
|
|
78
|
+
}
|
|
79
|
+
function T(e) {
|
|
80
|
+
if (!l(e))
|
|
81
|
+
return !1;
|
|
82
|
+
const n = e, r = Array.isArray(n.attributes) && "name" in n;
|
|
83
|
+
return u(n, "JSXOpeningElement") && r;
|
|
84
|
+
}
|
|
85
|
+
function O(e) {
|
|
86
|
+
if (!l(e))
|
|
87
|
+
return !1;
|
|
88
|
+
const n = e, r = Array.isArray(n.specifiers) && "source" in n;
|
|
89
|
+
return u(n, "ImportDeclaration") && r;
|
|
90
|
+
}
|
|
91
|
+
function I(e) {
|
|
92
|
+
return l(e.source) && typeof e.source.value == "string" ? e.source.value : null;
|
|
93
|
+
}
|
|
94
|
+
function L(e) {
|
|
95
|
+
if (!l(e) || !("local" in e))
|
|
96
|
+
return null;
|
|
97
|
+
const n = e.local;
|
|
98
|
+
return l(n) && typeof n.name == "string" ? n.name : null;
|
|
99
|
+
}
|
|
100
|
+
function j(e) {
|
|
101
|
+
return e.trim().split(":").at(-1)?.replace(/!$/, "").replace(/^-/, "");
|
|
102
|
+
}
|
|
103
|
+
function v(e) {
|
|
104
|
+
const n = j(e);
|
|
105
|
+
return n ? b.some(
|
|
106
|
+
(r) => r.test(n)
|
|
107
|
+
) : !1;
|
|
108
|
+
}
|
|
109
|
+
function g(e) {
|
|
110
|
+
return e.split(/\s+/).map((n) => n.trim()).filter(Boolean);
|
|
111
|
+
}
|
|
112
|
+
function S(e) {
|
|
113
|
+
return e.value?.cooked ?? "";
|
|
114
|
+
}
|
|
115
|
+
function m(e) {
|
|
116
|
+
return e ? p(e) ? typeof e.value == "string" ? g(e.value) : [] : y(e) ? e.quasis.flatMap(
|
|
117
|
+
(n) => g(S(n))
|
|
118
|
+
) : x(e) ? m(e.expression) : $(e) ? e.arguments.flatMap((n) => m(n)) : C(e) ? [
|
|
119
|
+
...m(e.consequent),
|
|
120
|
+
...m(e.alternate)
|
|
121
|
+
] : k(e) ? [
|
|
122
|
+
...m(e.left),
|
|
123
|
+
...m(e.right)
|
|
124
|
+
] : E(e) ? e.elements.flatMap((n) => m(n)) : [] : [];
|
|
125
|
+
}
|
|
126
|
+
function V(e) {
|
|
127
|
+
return w(e.name) ? e.name.name : null;
|
|
128
|
+
}
|
|
129
|
+
function d(e) {
|
|
130
|
+
return e.filter(v);
|
|
131
|
+
}
|
|
132
|
+
function z(e, n) {
|
|
133
|
+
return n.range ? e.text.slice(n.range[0], n.range[1]) : null;
|
|
134
|
+
}
|
|
135
|
+
function R({
|
|
136
|
+
expressionNode: e,
|
|
137
|
+
sourceCode: n,
|
|
138
|
+
sanitizedTokens: r,
|
|
139
|
+
valueNode: o
|
|
140
|
+
}) {
|
|
141
|
+
const t = r.join(" ");
|
|
142
|
+
if (p(o))
|
|
143
|
+
return t === "" ? null : `"${t}"`;
|
|
144
|
+
if (!x(o) || !e)
|
|
145
|
+
return null;
|
|
146
|
+
if (p(e))
|
|
147
|
+
return t === "" ? null : `{${JSON.stringify(t)}}`;
|
|
148
|
+
if (y(e) && e.expressions.length === 0)
|
|
149
|
+
return t === "" ? null : `{${JSON.stringify(t)}}`;
|
|
150
|
+
if (!$(e) || !l(e.callee) || (typeof e.callee.name == "string" ? e.callee.name : null) !== "cn")
|
|
151
|
+
return null;
|
|
152
|
+
const i = [];
|
|
153
|
+
for (const s of e.arguments) {
|
|
154
|
+
if (p(s) && typeof s.value == "string") {
|
|
155
|
+
const a = d(
|
|
156
|
+
g(s.value)
|
|
157
|
+
).join(" ");
|
|
158
|
+
a && i.push(JSON.stringify(a));
|
|
159
|
+
continue;
|
|
160
|
+
}
|
|
161
|
+
if (y(s) && s.expressions.length === 0) {
|
|
162
|
+
const a = S(s.quasis[0] ?? {}), A = d(
|
|
163
|
+
g(a)
|
|
164
|
+
).join(" ");
|
|
165
|
+
A && i.push(JSON.stringify(A));
|
|
166
|
+
continue;
|
|
167
|
+
}
|
|
168
|
+
if (!h(s))
|
|
169
|
+
return null;
|
|
170
|
+
const c = z(n, s);
|
|
171
|
+
if (c === null)
|
|
172
|
+
return null;
|
|
173
|
+
i.push(c);
|
|
174
|
+
}
|
|
175
|
+
return i.length === 0 ? null : `{cn(${i.join(", ")})}`;
|
|
176
|
+
}
|
|
177
|
+
function q({
|
|
178
|
+
classNameAttribute: e,
|
|
179
|
+
disallowedTokens: n,
|
|
180
|
+
sourceCode: r,
|
|
181
|
+
tokens: o
|
|
182
|
+
}) {
|
|
183
|
+
if (n.length === 0)
|
|
184
|
+
return null;
|
|
185
|
+
const t = e.value;
|
|
186
|
+
if (!t)
|
|
187
|
+
return null;
|
|
188
|
+
const f = x(t) ? t.expression : null, i = d(o), s = R({
|
|
189
|
+
expressionNode: f,
|
|
190
|
+
sanitizedTokens: i,
|
|
191
|
+
sourceCode: r,
|
|
192
|
+
valueNode: t
|
|
193
|
+
}), c = e.range;
|
|
194
|
+
return c ? (a) => s === null ? a.removeRange([c[0] - 1, c[1]]) : !h(t) || !t.range ? null : a.replaceTextRange(t.range, s) : null;
|
|
195
|
+
}
|
|
196
|
+
const X = {
|
|
197
|
+
meta: {
|
|
198
|
+
type: "suggestion",
|
|
199
|
+
fixable: "code",
|
|
200
|
+
hasSuggestions: !0,
|
|
201
|
+
docs: {
|
|
202
|
+
description: "Warn when consumers visually override Aura component styles via className"
|
|
203
|
+
},
|
|
204
|
+
schema: [],
|
|
205
|
+
messages: {
|
|
206
|
+
overridingAuraStyles: "Overriding Aura styles: only layout and sizing utilities should be passed via className. Move visual styling into Aura variants, props, or composition instead. Offending classes: {{classes}}.",
|
|
207
|
+
removeOverridingAuraStyles: "Remove disallowed Aura styling classes and keep only layout-safe utilities."
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
create(e) {
|
|
211
|
+
const n = /* @__PURE__ */ new Set(), r = e.sourceCode;
|
|
212
|
+
return {
|
|
213
|
+
ImportDeclaration(o) {
|
|
214
|
+
if (!O(o))
|
|
215
|
+
return;
|
|
216
|
+
const t = I(o);
|
|
217
|
+
if (!(!t || !N.has(t)))
|
|
218
|
+
for (const f of o.specifiers) {
|
|
219
|
+
const i = L(f);
|
|
220
|
+
i && n.add(i);
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
JSXOpeningElement(o) {
|
|
224
|
+
if (!T(o))
|
|
225
|
+
return;
|
|
226
|
+
const t = V(o);
|
|
227
|
+
if (!t || !n.has(t))
|
|
228
|
+
return;
|
|
229
|
+
const f = o.attributes.find(
|
|
230
|
+
(a) => J(a) && w(a.name) && a.name.name === "className"
|
|
231
|
+
);
|
|
232
|
+
if (!f?.value)
|
|
233
|
+
return;
|
|
234
|
+
const i = m(f.value), s = [...new Set(i)].filter(
|
|
235
|
+
(a) => !v(a)
|
|
236
|
+
), c = q({
|
|
237
|
+
classNameAttribute: f,
|
|
238
|
+
disallowedTokens: s,
|
|
239
|
+
sourceCode: r,
|
|
240
|
+
tokens: i
|
|
241
|
+
});
|
|
242
|
+
s.length !== 0 && e.report({
|
|
243
|
+
node: f,
|
|
244
|
+
messageId: "overridingAuraStyles",
|
|
245
|
+
data: {
|
|
246
|
+
classes: s.join(", ")
|
|
247
|
+
},
|
|
248
|
+
fix: c,
|
|
249
|
+
suggest: c ? [
|
|
250
|
+
{
|
|
251
|
+
messageId: "removeOverridingAuraStyles",
|
|
252
|
+
fix: c
|
|
253
|
+
}
|
|
254
|
+
] : void 0
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
export {
|
|
261
|
+
X as auraNoOverridingStylesRule
|
|
262
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionMetadata, AccordionTrigger, Alert, AlertActions, AlertButton, AlertClose, AlertDescription, AlertMetadata, AlertTitle, Avatar, AvatarFallback, AvatarIcon, AvatarImage, AvatarMetadata, Badge, BadgeMetadata, Banner, BannerAction, BannerActions, BannerClose, BannerIcon, BannerMetadata, BannerStatus, BannerTitle, badgeVariants, Button, ButtonGroup, ButtonGroupMetadata, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, ButtonMetadata, buttonVariants, Card, CardActions, CardContent, CardDescription, CardFooter, CardHeader, CardHeaderRight, CardIcon, CardMetadata, CardTitle, CodeBlock, CodeBlockCollapseButton, CodeBlockCopyButton, CodeBlockDownloadButton, CodeBlockMetadata, Collapsible, CollapsibleContent, CollapsibleMetadata, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandMetadata, CommandSeparator, CommandShortcut, type ComponentMeta, type ComponentStatusType, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogMetadata, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHeader, DropdownMenuItem, DropdownMenuLabel, DropdownMenuMetadata, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSectionLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, HelperText, HelperTextMetadata, HoverCard, HoverCardContent, HoverCardMetadata, HoverCardTrigger, InlineCitation, InlineCitationCard, InlineCitationCardBody, InlineCitationCardTrigger, InlineCitationGroup, InlineCitationLink, type InlineCitationLinkProps, InlineCitationMetadata, InlineCitationQuote, InlineCitationSource, InlineCitationText, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupMetadata, InputGroupText, InputGroupTextarea, InputMetadata, Label, LabelMetadata, Loader, LoaderMetadata, Message, MessageAction, MessageActions, MessageContent, MessageResponse, Popover, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverHeaderContent, PopoverMetadata, PopoverSlot, PopoverTitle, PopoverTrigger, PortalContainerContext, PromptInput, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuItem, PromptInputActionMenuTrigger, PromptInputBody, PromptInputButton, PromptInputCommand, PromptInputCommandEmpty, PromptInputCommandGroup, PromptInputCommandInput, PromptInputCommandItem, PromptInputCommandList, PromptInputCommandSeparator, PromptInputFooter, PromptInputHeader, PromptInputHoverCard, PromptInputHoverCardContent, PromptInputHoverCardTrigger, PromptInputMetadata, PromptInputModelSelect, PromptInputModelSelectContent, PromptInputModelSelectItem, PromptInputModelSelectTrigger, PromptInputModelSelectValue, PromptInputProvider, PromptInputSubmit, PromptInputTab, PromptInputTabBody, PromptInputTabItem, PromptInputTabLabel, PromptInputTabsList, PromptInputTextarea, PromptInputTools, Reasoning, ReasoningContent, ReasoningHeader, ReasoningItem, ReasoningMetadata, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectMetadata, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorMetadata, Shimmer, ShimmerMetadata, Skeleton, SkeletonMetadata, Source, Sources, SourcesTitle, Textarea, TextareaMetadata, Tool, ToolContent, ToolHeader, ToolInput, ToolMetadata, ToolOutput, Tooltip, TooltipContent, TooltipMetadata, TooltipProvider, TooltipTrigger, usePromptInputController, } from './components';
|