@almanaclabs/blaze-ui 0.12.0 → 0.14.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/approval-card/approval-card.d.ts +8 -1
- package/dist/components/approval-card/approval-card.d.ts.map +1 -1
- package/dist/components/approval-card/approval-card.js +47 -34
- package/dist/components/button/button.d.ts +3 -2
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/button.js +17 -9
- package/dist/components/detail-list/detail-list.d.ts +25 -0
- package/dist/components/detail-list/detail-list.d.ts.map +1 -0
- package/dist/components/detail-list/detail-list.js +38 -0
- package/dist/components/detail-list/index.d.ts +2 -0
- package/dist/components/detail-list/index.d.ts.map +1 -0
- package/dist/components/filter-chips/filter-chips.d.ts +2 -0
- package/dist/components/filter-chips/filter-chips.d.ts.map +1 -1
- package/dist/components/filter-chips/filter-chips.js +10 -6
- package/dist/components/item/item.d.ts +1 -1
- package/dist/components/marker/marker.d.ts +1 -1
- package/dist/components/metric-tile/metric-tile.d.ts +4 -2
- package/dist/components/metric-tile/metric-tile.d.ts.map +1 -1
- package/dist/components/metric-tile/metric-tile.js +51 -45
- package/dist/components/platform-icon/channel-color.d.ts +15 -0
- package/dist/components/platform-icon/channel-color.d.ts.map +1 -0
- package/dist/components/platform-icon/channel-color.js +20 -0
- package/dist/components/platform-icon/index.d.ts +2 -0
- package/dist/components/platform-icon/index.d.ts.map +1 -1
- package/dist/components/platform-icon/letter-mark.d.ts +20 -0
- package/dist/components/platform-icon/letter-mark.d.ts.map +1 -0
- package/dist/components/platform-icon/letter-mark.js +34 -0
- package/dist/components/platform-icon/platform-icon.d.ts +8 -2
- package/dist/components/platform-icon/platform-icon.d.ts.map +1 -1
- package/dist/components/platform-icon/platform-icon.js +69 -45
- package/dist/components/rating/index.d.ts +2 -0
- package/dist/components/rating/index.d.ts.map +1 -0
- package/dist/components/rating/rating.d.ts +15 -0
- package/dist/components/rating/rating.d.ts.map +1 -0
- package/dist/components/rating/rating.js +27 -0
- package/dist/components/section-header/index.d.ts +2 -0
- package/dist/components/section-header/index.d.ts.map +1 -0
- package/dist/components/section-header/section-header.d.ts +20 -0
- package/dist/components/section-header/section-header.d.ts.map +1 -0
- package/dist/components/section-header/section-header.js +32 -0
- package/dist/components/sparkline/index.d.ts +2 -0
- package/dist/components/sparkline/index.d.ts.map +1 -0
- package/dist/components/sparkline/sparkline.d.ts +19 -0
- package/dist/components/sparkline/sparkline.d.ts.map +1 -0
- package/dist/components/sparkline/sparkline.js +69 -0
- package/dist/components/stacked-bar-chart/stacked-bar-chart.d.ts +6 -0
- package/dist/components/stacked-bar-chart/stacked-bar-chart.d.ts.map +1 -1
- package/dist/components/stacked-bar-chart/stacked-bar-chart.js +81 -54
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/components/tag/index.d.ts +2 -0
- package/dist/components/tag/index.d.ts.map +1 -0
- package/dist/components/tag/tag.d.ts +25 -0
- package/dist/components/tag/tag.d.ts.map +1 -0
- package/dist/components/tag/tag.js +60 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +47 -40
- package/package.json +1 -1
- package/src/styles/globals.css +181 -0
|
@@ -5,13 +5,13 @@ import { Tabs as r, TabsList as i, TabsTrigger as a } from "../tabs/tabs.js";
|
|
|
5
5
|
import { Toggle as o } from "../toggle/toggle.js";
|
|
6
6
|
import * as s from "react";
|
|
7
7
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
|
-
import { Bar as u, BarChart as d, CartesianGrid as f, Cell as p, ReferenceLine as
|
|
8
|
+
import { Bar as u, BarChart as d, CartesianGrid as f, Cell as p, ReferenceLine as m, XAxis as h, YAxis as ee } from "recharts";
|
|
9
9
|
//#region src/components/stacked-bar-chart/stacked-bar-chart.tsx
|
|
10
10
|
var g = new Intl.NumberFormat("en-US", {
|
|
11
11
|
notation: "compact",
|
|
12
12
|
maximumFractionDigits: 1
|
|
13
13
|
}), _ = (e) => g.format(e), v = (e) => e.toLocaleString("en-US");
|
|
14
|
-
function
|
|
14
|
+
function te(e, t, n = 4) {
|
|
15
15
|
let r = (t - e) / n || 1, i = 10 ** Math.floor(Math.log10(r)), a = ([
|
|
16
16
|
1,
|
|
17
17
|
2,
|
|
@@ -22,20 +22,23 @@ function y(e, t, n = 4) {
|
|
|
22
22
|
for (let n = Math.floor(e / a) * a; n <= Math.ceil(t / a) * a + a / 2; n += a) o.push(+n.toFixed(6));
|
|
23
23
|
return o;
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var y = "__index", b = (e) => `series:${e}`, x = "__projected", S = "projection", ne = {
|
|
26
26
|
section: 52,
|
|
27
27
|
card: 44
|
|
28
28
|
};
|
|
29
|
-
function
|
|
29
|
+
function C(e, t, n) {
|
|
30
30
|
let [r, i] = s.useState(t);
|
|
31
31
|
return [e === void 0 ? r : e, (t) => {
|
|
32
32
|
e === void 0 && i(t), n?.(t);
|
|
33
33
|
}];
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
let [j, M] =
|
|
37
|
-
let n = {
|
|
38
|
-
|
|
35
|
+
function w({ series: s, metrics: g, title: w, metric: re, defaultMetric: ie, onMetricChange: T, hiddenSeries: E, defaultHiddenSeries: D = [], onHiddenSeriesChange: ae, variant: O = "section", height: oe, labelEvery: se, className: k, ...A }) {
|
|
36
|
+
let [j, M] = C(re, ie ?? g[0]?.value ?? "", T), [N, P] = C(E, D, ae), F = g.find((e) => e.value === j) ?? g[0], I = F?.data ?? [], L = F?.formatValue ?? v, R = F?.formatTick ?? _, z = F?.title ?? w, B = F?.ariaLabel ?? (typeof z == "string" ? z : "Stacked bar chart"), V = s.filter((e) => I.some((t) => t.values[e.key] != null)), H = V.filter((e) => !N.includes(e.key)), U = (e) => P(N.includes(e) ? N.filter((t) => t !== e) : [...N, e]), W = I.map((e, t) => {
|
|
37
|
+
let n = {
|
|
38
|
+
[y]: t,
|
|
39
|
+
[x]: e.projected ?? null
|
|
40
|
+
};
|
|
41
|
+
for (let t of H) n[b(t.key)] = e.values[t.key] ?? null;
|
|
39
42
|
return n;
|
|
40
43
|
}), G = 0, K = 0;
|
|
41
44
|
for (let e of I) {
|
|
@@ -44,9 +47,9 @@ function C({ series: s, metrics: g, title: C, metric: w, defaultMetric: T, onMet
|
|
|
44
47
|
let i = e.values[r.key] ?? 0;
|
|
45
48
|
i > 0 ? t += i : n += i;
|
|
46
49
|
}
|
|
47
|
-
G = Math.max(G, t), K = Math.min(K, n);
|
|
50
|
+
G = Math.max(G, t, e.projected ?? 0), K = Math.min(K, n, e.projected ?? 0);
|
|
48
51
|
}
|
|
49
|
-
let q =
|
|
52
|
+
let q = I.some((e) => e.projected != null), J = te(K, Math.max(G, 1)), ce = [J[0] ?? 0, J[J.length - 1] ?? 1], le = se ?? (I.length <= 10 ? 1 : 7), Y = oe ?? (O === "card" ? 220 : 300), X = O === "card", Z = g.length > 1 ? /* @__PURE__ */ c(r, {
|
|
50
53
|
value: F?.value,
|
|
51
54
|
onValueChange: (e) => M(e),
|
|
52
55
|
children: /* @__PURE__ */ c(i, {
|
|
@@ -80,7 +83,7 @@ function C({ series: s, metrics: g, title: C, metric: w, defaultMetric: T, onMet
|
|
|
80
83
|
e.label
|
|
81
84
|
]
|
|
82
85
|
}, e.key);
|
|
83
|
-
}),
|
|
86
|
+
}), ue = Object.fromEntries(s.map((e) => [e.key, {
|
|
84
87
|
label: e.label,
|
|
85
88
|
color: e.color
|
|
86
89
|
}])), $ = /* @__PURE__ */ c("div", {
|
|
@@ -89,7 +92,7 @@ function C({ series: s, metrics: g, title: C, metric: w, defaultMetric: T, onMet
|
|
|
89
92
|
"aria-label": B,
|
|
90
93
|
className: X ? "mt-3" : "mt-4",
|
|
91
94
|
children: /* @__PURE__ */ c(t, {
|
|
92
|
-
config:
|
|
95
|
+
config: ue,
|
|
93
96
|
className: "type-meta aspect-auto w-full [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-surface-subtle",
|
|
94
97
|
style: { height: Y },
|
|
95
98
|
initialDimension: {
|
|
@@ -112,26 +115,31 @@ function C({ series: s, metrics: g, title: C, metric: w, defaultMetric: T, onMet
|
|
|
112
115
|
vertical: !1,
|
|
113
116
|
stroke: "var(--border-subtle)"
|
|
114
117
|
}),
|
|
115
|
-
/* @__PURE__ */ c(
|
|
116
|
-
dataKey:
|
|
118
|
+
/* @__PURE__ */ c(h, {
|
|
119
|
+
dataKey: y,
|
|
117
120
|
interval: 0,
|
|
118
121
|
tickLine: !1,
|
|
119
122
|
axisLine: !1,
|
|
120
123
|
tickMargin: X ? 4 : 8,
|
|
121
124
|
height: X ? 22 : 28,
|
|
122
|
-
tickFormatter: (e) => (I.length - 1 - e) %
|
|
125
|
+
tickFormatter: (e) => (I.length - 1 - e) % le == 0 ? I[e]?.label ?? "" : ""
|
|
123
126
|
}),
|
|
124
|
-
/* @__PURE__ */ c(h, {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
+
q ? /* @__PURE__ */ c(h, {
|
|
128
|
+
dataKey: y,
|
|
129
|
+
xAxisId: S,
|
|
130
|
+
hide: !0
|
|
131
|
+
}) : null,
|
|
132
|
+
/* @__PURE__ */ c(ee, {
|
|
133
|
+
domain: ce,
|
|
134
|
+
ticks: J,
|
|
127
135
|
interval: 0,
|
|
128
136
|
tickLine: !1,
|
|
129
137
|
axisLine: !1,
|
|
130
|
-
width:
|
|
138
|
+
width: ne[O],
|
|
131
139
|
tickMargin: X ? 6 : 8,
|
|
132
140
|
tickFormatter: R
|
|
133
141
|
}),
|
|
134
|
-
/* @__PURE__ */ c(
|
|
142
|
+
/* @__PURE__ */ c(m, {
|
|
135
143
|
y: 0,
|
|
136
144
|
stroke: "var(--border)"
|
|
137
145
|
}),
|
|
@@ -151,54 +159,73 @@ function C({ series: s, metrics: g, title: C, metric: w, defaultMetric: T, onMet
|
|
|
151
159
|
children: r.tooltipLabel ?? r.label
|
|
152
160
|
}), /* @__PURE__ */ l("ul", {
|
|
153
161
|
className: "mt-1.5 flex flex-col gap-1",
|
|
154
|
-
children: [
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
className: "flex-1",
|
|
177
|
-
children: "
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
162
|
+
children: [
|
|
163
|
+
H.map((e) => {
|
|
164
|
+
let t = r.values[e.key];
|
|
165
|
+
return /* @__PURE__ */ l("li", {
|
|
166
|
+
className: "type-body flex items-center gap-2 text-foreground",
|
|
167
|
+
children: [
|
|
168
|
+
/* @__PURE__ */ c("span", {
|
|
169
|
+
className: "size-2.5 rounded-full",
|
|
170
|
+
style: { background: e.color }
|
|
171
|
+
}),
|
|
172
|
+
/* @__PURE__ */ c("span", {
|
|
173
|
+
className: "flex-1",
|
|
174
|
+
children: e.label
|
|
175
|
+
}),
|
|
176
|
+
/* @__PURE__ */ c("span", {
|
|
177
|
+
className: "font-medium tabular-nums",
|
|
178
|
+
children: t == null ? "–" : L(t)
|
|
179
|
+
})
|
|
180
|
+
]
|
|
181
|
+
}, e.key);
|
|
182
|
+
}),
|
|
183
|
+
H.length > 1 ? /* @__PURE__ */ l("li", {
|
|
184
|
+
className: "type-body mt-1 flex items-center gap-2 border-t border-border-subtle pt-1.5 font-medium text-foreground",
|
|
185
|
+
children: [/* @__PURE__ */ c("span", {
|
|
186
|
+
className: "flex-1",
|
|
187
|
+
children: "Total"
|
|
188
|
+
}), /* @__PURE__ */ c("span", {
|
|
189
|
+
className: "tabular-nums",
|
|
190
|
+
children: L(i)
|
|
191
|
+
})]
|
|
192
|
+
}) : null,
|
|
193
|
+
r.projected == null ? null : /* @__PURE__ */ l("li", {
|
|
194
|
+
"data-slot": "stacked-bar-chart-projection",
|
|
195
|
+
className: "type-meta mt-0.5 text-muted-foreground",
|
|
196
|
+
children: ["On pace for ", L(r.projected)]
|
|
197
|
+
})
|
|
198
|
+
]
|
|
183
199
|
})]
|
|
184
200
|
});
|
|
185
201
|
}
|
|
186
202
|
}),
|
|
187
203
|
H.map((e) => /* @__PURE__ */ c(u, {
|
|
188
|
-
dataKey: e.key,
|
|
204
|
+
dataKey: b(e.key),
|
|
189
205
|
stackId: "stack",
|
|
190
206
|
fill: e.color,
|
|
191
207
|
maxBarSize: 56,
|
|
192
208
|
isAnimationActive: !1,
|
|
193
209
|
children: I.map((e, t) => /* @__PURE__ */ c(p, { fillOpacity: e.partial ? .45 : 1 }, t))
|
|
194
|
-
}, e.key))
|
|
210
|
+
}, e.key)),
|
|
211
|
+
q ? /* @__PURE__ */ c(u, {
|
|
212
|
+
dataKey: x,
|
|
213
|
+
xAxisId: S,
|
|
214
|
+
fill: "none",
|
|
215
|
+
stroke: "var(--muted-foreground)",
|
|
216
|
+
strokeWidth: 1,
|
|
217
|
+
strokeDasharray: "3 3",
|
|
218
|
+
maxBarSize: 56,
|
|
219
|
+
isAnimationActive: !1,
|
|
220
|
+
className: "[&_path]:pointer-events-none"
|
|
221
|
+
}) : null
|
|
195
222
|
]
|
|
196
223
|
})
|
|
197
224
|
})
|
|
198
225
|
});
|
|
199
226
|
return X ? /* @__PURE__ */ l("div", {
|
|
200
227
|
"data-slot": "stacked-bar-chart",
|
|
201
|
-
"data-variant":
|
|
228
|
+
"data-variant": O,
|
|
202
229
|
className: e("rounded-xl border border-border bg-card p-5", k),
|
|
203
230
|
...A,
|
|
204
231
|
children: [
|
|
@@ -217,7 +244,7 @@ function C({ series: s, metrics: g, title: C, metric: w, defaultMetric: T, onMet
|
|
|
217
244
|
]
|
|
218
245
|
}) : /* @__PURE__ */ l("div", {
|
|
219
246
|
"data-slot": "stacked-bar-chart",
|
|
220
|
-
"data-variant":
|
|
247
|
+
"data-variant": O,
|
|
221
248
|
className: k,
|
|
222
249
|
...A,
|
|
223
250
|
children: [
|
|
@@ -237,4 +264,4 @@ function C({ series: s, metrics: g, title: C, metric: w, defaultMetric: T, onMet
|
|
|
237
264
|
});
|
|
238
265
|
}
|
|
239
266
|
//#endregion
|
|
240
|
-
export {
|
|
267
|
+
export { w as StackedBarChart };
|
|
@@ -2,7 +2,7 @@ import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';
|
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare function Tabs({ className, orientation, ...props }: TabsPrimitive.Root.Props): import("react").JSX.Element;
|
|
4
4
|
declare const tabsListVariants: (props?: ({
|
|
5
|
-
variant?: "
|
|
5
|
+
variant?: "default" | "line" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
declare function TabsList({ className, variant, ...props }: TabsPrimitive.List.Props & VariantProps<typeof tabsListVariants>): import("react").JSX.Element;
|
|
8
8
|
declare function TabsTrigger({ className, ...props }: TabsPrimitive.Tab.Props): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tag/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type TagProps = React.ComponentProps<'span'> & {
|
|
3
|
+
/** `added` marks a tag just added for the owner, in the primary tint. */
|
|
4
|
+
variant?: 'default' | 'added';
|
|
5
|
+
/** Shows a remove button. */
|
|
6
|
+
onRemove?: () => void;
|
|
7
|
+
/** The remove button's accessible name. Defaults to "Remove <children>" when the children are text. */
|
|
8
|
+
removeLabel?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* A rounded label, such as a topic or a content preference, with an optional
|
|
13
|
+
* remove button. Inside a `TagList` it is a list item.
|
|
14
|
+
*/
|
|
15
|
+
declare function Tag({ variant, onRemove, removeLabel, disabled, className, children, ...props }: TagProps): React.JSX.Element;
|
|
16
|
+
type TagListProps = React.ComponentProps<'div'> & {
|
|
17
|
+
/** Shows an add button after the tags. */
|
|
18
|
+
onAdd?: () => void;
|
|
19
|
+
/** The add button's text. */
|
|
20
|
+
addLabel?: React.ReactNode;
|
|
21
|
+
};
|
|
22
|
+
/** A wrapping row of `Tag`s, with an optional add button at the end. */
|
|
23
|
+
declare function TagList({ onAdd, addLabel, className, children, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, ...props }: TagListProps): React.JSX.Element;
|
|
24
|
+
export { Tag, TagList, type TagListProps, type TagProps };
|
|
25
|
+
//# sourceMappingURL=tag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/components/tag/tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG;IAC7C,yEAAyE;IACzE,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,CAAA;IAC7B,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,uGAAuG;IACvG,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED;;;GAGG;AACH,iBAAS,GAAG,CAAC,EACX,OAAmB,EACnB,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,QAAQ,qBAoCV;AAID,KAAK,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAChD,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAED,wEAAwE;AACxE,iBAAS,OAAO,CAAC,EACf,KAAK,EACL,QAAgB,EAChB,SAAS,EACT,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EACjC,GAAG,KAAK,EACT,EAAE,YAAY,qBA6Bd;AAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,QAAQ,EAAE,CAAA"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { cn as e } from "../../lib/utils.js";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
import { IconPlus as i, IconX as a } from "@tabler/icons-react";
|
|
5
|
+
//#region src/components/tag/tag.tsx
|
|
6
|
+
function o({ variant: i = "default", onRemove: o, removeLabel: c, disabled: l, className: u, children: d, ...f }) {
|
|
7
|
+
let p = t.useContext(s), m = c ?? (typeof d == "string" ? `Remove ${d}` : "Remove");
|
|
8
|
+
return /* @__PURE__ */ r("span", {
|
|
9
|
+
"data-slot": "tag",
|
|
10
|
+
"data-variant": i,
|
|
11
|
+
role: p ? "listitem" : void 0,
|
|
12
|
+
"aria-disabled": l || void 0,
|
|
13
|
+
className: e("type-body inline-flex h-8 max-w-full items-center gap-1.5 rounded-full border px-3 whitespace-nowrap aria-disabled:opacity-50", i === "added" ? "border-primary/25 bg-primary/10 text-foreground" : "border-border bg-card text-foreground", o && "pr-1.5", u),
|
|
14
|
+
...f,
|
|
15
|
+
children: [/* @__PURE__ */ n("span", {
|
|
16
|
+
className: "truncate",
|
|
17
|
+
children: d
|
|
18
|
+
}), o ? /* @__PURE__ */ n("button", {
|
|
19
|
+
type: "button",
|
|
20
|
+
"data-slot": "tag-remove",
|
|
21
|
+
"aria-label": m,
|
|
22
|
+
disabled: l,
|
|
23
|
+
onClick: o,
|
|
24
|
+
className: "inline-flex size-5 flex-none cursor-pointer items-center justify-center rounded-full text-muted-foreground transition-colors outline-none hover:bg-muted hover:text-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none",
|
|
25
|
+
children: /* @__PURE__ */ n(a, {
|
|
26
|
+
"aria-hidden": "true",
|
|
27
|
+
className: "icon-optical-14"
|
|
28
|
+
})
|
|
29
|
+
}) : null]
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
var s = t.createContext(!1);
|
|
33
|
+
function c({ onAdd: t, addLabel: a = "Add", className: o, children: c, "aria-label": l, "aria-labelledby": u, ...d }) {
|
|
34
|
+
return /* @__PURE__ */ r("div", {
|
|
35
|
+
"data-slot": "tag-list",
|
|
36
|
+
className: e("flex flex-wrap items-center gap-2", o),
|
|
37
|
+
...d,
|
|
38
|
+
children: [/* @__PURE__ */ n("div", {
|
|
39
|
+
role: "list",
|
|
40
|
+
"aria-label": l,
|
|
41
|
+
"aria-labelledby": u,
|
|
42
|
+
className: "contents",
|
|
43
|
+
children: /* @__PURE__ */ n(s.Provider, {
|
|
44
|
+
value: !0,
|
|
45
|
+
children: c
|
|
46
|
+
})
|
|
47
|
+
}), t ? /* @__PURE__ */ r("button", {
|
|
48
|
+
type: "button",
|
|
49
|
+
"data-slot": "tag-list-add",
|
|
50
|
+
onClick: t,
|
|
51
|
+
className: "type-body inline-flex h-8 cursor-pointer items-center gap-1 rounded-full border border-border bg-card px-3 text-link transition-colors outline-none hover:bg-primary/5 focus-visible:ring-[3px] focus-visible:ring-ring/50",
|
|
52
|
+
children: [/* @__PURE__ */ n(i, {
|
|
53
|
+
"aria-hidden": "true",
|
|
54
|
+
className: "icon-optical-14"
|
|
55
|
+
}), a]
|
|
56
|
+
}) : null]
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
//#endregion
|
|
60
|
+
export { o as Tag, c as TagList };
|
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export * from './components/combobox';
|
|
|
26
26
|
export * from './components/data-table';
|
|
27
27
|
export * from './components/date-picker';
|
|
28
28
|
export * from './components/dense-table';
|
|
29
|
+
export * from './components/detail-list';
|
|
29
30
|
export * from './components/dialog';
|
|
30
31
|
export * from './components/drawer';
|
|
31
32
|
export * from './components/dropdown-menu';
|
|
@@ -53,7 +54,9 @@ export * from './components/popover';
|
|
|
53
54
|
export * from './components/progress';
|
|
54
55
|
export * from './components/questionnaire';
|
|
55
56
|
export * from './components/radio-group';
|
|
57
|
+
export * from './components/rating';
|
|
56
58
|
export * from './components/scroll-area';
|
|
59
|
+
export * from './components/section-header';
|
|
57
60
|
export * from './components/select';
|
|
58
61
|
export * from './components/sheet';
|
|
59
62
|
export * from './components/sidebar';
|
|
@@ -61,6 +64,7 @@ export * from './components/signal-strip';
|
|
|
61
64
|
export * from './components/skeleton';
|
|
62
65
|
export * from './components/slider';
|
|
63
66
|
export * from './components/source-avatar';
|
|
67
|
+
export * from './components/sparkline';
|
|
64
68
|
export * from './components/spinner';
|
|
65
69
|
export * from './components/state-banner';
|
|
66
70
|
export * from './components/status-indicator';
|
|
@@ -69,6 +73,7 @@ export * from './components/stacked-bar-chart';
|
|
|
69
73
|
export * from './components/switch';
|
|
70
74
|
export * from './components/table';
|
|
71
75
|
export * from './components/tabs';
|
|
76
|
+
export * from './components/tag';
|
|
72
77
|
export * from './components/textarea';
|
|
73
78
|
export * from './components/toast';
|
|
74
79
|
export * from './components/toggle';
|
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,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c,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -36,43 +36,50 @@ import { DataTable as wn } from "./components/data-table/data-table.js";
|
|
|
36
36
|
import { Popover as Tn, PopoverContent as En, PopoverDescription as Dn, PopoverHeader as On, PopoverTitle as kn, PopoverTrigger as An } from "./components/popover/popover.js";
|
|
37
37
|
import { DatePicker as jn } from "./components/date-picker/date-picker.js";
|
|
38
38
|
import { DenseTable as Mn, DenseTableCell as Nn, DenseTableRow as Pn } from "./components/dense-table/dense-table.js";
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
|
|
39
|
+
import { DetailList as Fn, DetailListItem as In } from "./components/detail-list/detail-list.js";
|
|
40
|
+
import { Dialog as Ln, DialogClose as Rn, DialogContent as zn, DialogDescription as Bn, DialogFooter as Vn, DialogHeader as Hn, DialogOverlay as Un, DialogPortal as Wn, DialogTitle as Gn, DialogTrigger as Kn } from "./components/dialog/dialog.js";
|
|
41
|
+
import { Drawer as qn, DrawerClose as Jn, DrawerContent as Yn, DrawerDescription as Xn, DrawerFooter as Zn, DrawerHeader as Qn, DrawerOverlay as $n, DrawerPortal as er, DrawerSwipeHandle as tr, DrawerTitle as nr, DrawerTrigger as rr } from "./components/drawer/drawer.js";
|
|
42
|
+
import { EditableText as ir } from "./components/editable-text/editable-text.js";
|
|
43
|
+
import { Empty as ar, EmptyContent as or, EmptyDescription as sr, EmptyHeader as cr, EmptyMedia as lr, EmptyTitle as ur } from "./components/empty/empty.js";
|
|
44
|
+
import { BrandApple as dr, BrandBeehiiv as fr, BrandBing as pr, BrandBluesky as mr, BrandChatgpt as hr, BrandEmail as gr, BrandFacebook as _r, BrandGmail as vr, BrandGoogle as yr, BrandInstagram as br, BrandLinkedin as xr, BrandMeta as Sr, BrandMicrosoft as Cr, BrandOutlook as wr, BrandPhone as Tr, BrandReddit as Er, BrandThreads as Dr, BrandTiktok as Or, BrandWordpress as kr, BrandX as Ar, BrandYoutube as jr, BrandZapier as Mr, PLATFORMS as Nr, PLATFORM_COLOR as Pr, PLATFORM_ICON as Fr, PLATFORM_LABEL as Ir, PlatformIcon as Lr } from "./components/platform-icon/platform-icon.js";
|
|
45
|
+
import { PlatformAvatar as Rr } from "./components/platform-avatar/platform-avatar.js";
|
|
46
|
+
import { FaceStackButton as zr } from "./components/face-stack-button/face-stack-button.js";
|
|
47
|
+
import { FilterChips as Br } from "./components/filter-chips/filter-chips.js";
|
|
48
|
+
import { Progress as Vr, ProgressIndicator as Hr, ProgressLabel as Ur, ProgressTrack as Wr, ProgressValue as Gr } from "./components/progress/progress.js";
|
|
49
|
+
import { GoalCard as Kr, PaceBadge as qr, PaceMeter as Jr, paceStatusOf as Yr } from "./components/goal-card/goal-card.js";
|
|
50
|
+
import { HoverCard as Xr, HoverCardContent as Zr, HoverCardTrigger as Qr } from "./components/hover-card/hover-card.js";
|
|
51
|
+
import { IdentityMark as $r, IdentityMarkImage as ei } from "./components/identity-mark/identity-mark.js";
|
|
52
|
+
import { Item as ti, ItemActions as ni, ItemContent as ri, ItemDescription as ii, ItemFooter as ai, ItemGroup as oi, ItemHeader as si, ItemMedia as ci, ItemSeparator as li, ItemTitle as ui } from "./components/item/item.js";
|
|
53
|
+
import { Marker as di, MarkerContent as fi, MarkerIcon as pi, markerVariants as mi } from "./components/marker/marker.js";
|
|
54
|
+
import { MediaThumbnail as hi, mediaThumbnailVariants as gi } from "./components/media-thumbnail/media-thumbnail.js";
|
|
55
|
+
import { Message as _i, MessageAvatar as vi, MessageContent as yi, MessageFooter as bi, MessageGroup as xi, MessageHeader as Si } from "./components/message/message.js";
|
|
56
|
+
import { MetricOverview as Ci } from "./components/metric-overview/metric-overview.js";
|
|
57
|
+
import { MetricTile as wi, metricTileVariants as Ti } from "./components/metric-tile/metric-tile.js";
|
|
58
|
+
import { NativeSelect as Ei, NativeSelectOptGroup as Di, NativeSelectOption as Oi } from "./components/native-select/native-select.js";
|
|
59
|
+
import { NavigationAction as ki, navigationActionVariants as Ai } from "./components/navigation-action/navigation-action.js";
|
|
60
|
+
import { PageHeader as ji } from "./components/page-header/page-header.js";
|
|
61
|
+
import { Pagination as Mi, PaginationContent as Ni, PaginationEllipsis as Pi, PaginationItem as Fi, PaginationLink as Ii, PaginationNext as Li, PaginationPrevious as Ri } from "./components/pagination/pagination.js";
|
|
62
|
+
import { CHANNELS as zi, CHANNEL_COLOR as Bi } from "./components/platform-icon/channel-color.js";
|
|
63
|
+
import { LetterMark as Vi } from "./components/platform-icon/letter-mark.js";
|
|
64
|
+
import { Questionnaire as Hi, QuestionnaireActions as Ui, QuestionnaireChoice as Wi, QuestionnaireChoiceDescription as Gi, QuestionnaireChoices as Ki, QuestionnaireDescription as qi, QuestionnaireError as Ji, QuestionnaireInput as Yi, QuestionnaireItem as Xi, QuestionnaireNext as Zi, QuestionnairePrevious as Qi, QuestionnaireProgress as $i, QuestionnaireSkip as ea, QuestionnaireSubmit as ta, QuestionnaireTitle as na } from "./components/questionnaire/questionnaire.js";
|
|
65
|
+
import { RadioGroup as ra, RadioGroupItem as ia } from "./components/radio-group/radio-group.js";
|
|
66
|
+
import { Rating as aa } from "./components/rating/rating.js";
|
|
67
|
+
import { ScrollArea as oa, ScrollBar as sa } from "./components/scroll-area/scroll-area.js";
|
|
68
|
+
import { SectionHeader as ca } from "./components/section-header/section-header.js";
|
|
69
|
+
import { Select as la, SelectContent as ua, SelectGroup as da, SelectItem as fa, SelectLabel as pa, SelectScrollDownButton as ma, SelectScrollUpButton as ha, SelectSeparator as ga, SelectTrigger as _a, SelectValue as va } from "./components/select/select.js";
|
|
70
|
+
import { SignalDots as ya, SignalStrip as ba } from "./components/signal-strip/signal-strip.js";
|
|
71
|
+
import { Slider as xa } from "./components/slider/slider.js";
|
|
72
|
+
import { SourceAvatar as Sa } from "./components/source-avatar/source-avatar.js";
|
|
73
|
+
import { Sparkline as Ca } from "./components/sparkline/sparkline.js";
|
|
74
|
+
import { Spinner as wa } from "./components/spinner/spinner.js";
|
|
75
|
+
import { StaleBanner as Ta, StateBanner as Ea, stateBannerVariants as Da } from "./components/state-banner/state-banner.js";
|
|
76
|
+
import { StatusIndicator as Oa, statusDotVariants as ka } from "./components/status-indicator/status-indicator.js";
|
|
77
|
+
import { SuggestChips as Aa } from "./components/suggest-chips/suggest-chips.js";
|
|
78
|
+
import { Tabs as ja, TabsContent as Ma, TabsList as Na, TabsTrigger as Pa, tabsListVariants as Fa } from "./components/tabs/tabs.js";
|
|
79
|
+
import { Toggle as Ia, toggleVariants as La } from "./components/toggle/toggle.js";
|
|
80
|
+
import { StackedBarChart as Ra } from "./components/stacked-bar-chart/stacked-bar-chart.js";
|
|
81
|
+
import { Switch as za } from "./components/switch/switch.js";
|
|
82
|
+
import { Tag as Ba, TagList as Va } from "./components/tag/tag.js";
|
|
83
|
+
import { Toast as Ha, ToastAction as Ua, ToastClose as Wa, ToastContent as Ga, ToastDescription as Ka, ToastPortal as qa, ToastProvider as Ja, ToastTitle as Ya, ToastViewport as Xa, Toaster as Za, createToastManager as Qa, toast as $a, useToastManager as eo } from "./components/toast/toast.js";
|
|
84
|
+
import { ToggleGroup as to, ToggleGroupItem as no } from "./components/toggle-group/toggle-group.js";
|
|
85
|
+
export { 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, He as AppShell, Ue as AppSidebar, We as AppSidebarWorkspace, Ge as AppTopBar, Ke as ApprovalCard, qe as AspectRatio, Je as Attachment, Ye as AttachmentAction, Xe as AttachmentActions, Ze as AttachmentContent, Qe as AttachmentDescription, $e as AttachmentGroup, et as AttachmentMedia, tt as AttachmentTitle, nt as AttachmentTrigger, rt as Avatar, it as AvatarBadge, at as AvatarFallback, ot as AvatarGroup, st as AvatarGroupCount, ct as AvatarImage, lt as Badge, dr as BrandApple, fr as BrandBeehiiv, pr as BrandBing, mr as BrandBluesky, hr as BrandChatgpt, gr as BrandEmail, _r as BrandFacebook, vr as BrandGmail, yr as BrandGoogle, br as BrandInstagram, xr as BrandLinkedin, Sr as BrandMeta, Cr as BrandMicrosoft, wr as BrandOutlook, Tr as BrandPhone, Er as BrandReddit, Dr as BrandThreads, Or as BrandTiktok, kr as BrandWordpress, Ar as BrandX, jr as BrandYoutube, Mr as BrandZapier, dt as Breadcrumb, ft as BreadcrumbEllipsis, pt as BreadcrumbItem, mt as BreadcrumbLink, ht as BreadcrumbList, gt as BreadcrumbPage, _t as BreadcrumbSeparator, vt as Bubble, yt as BubbleContent, bt as BubbleGroup, xt as BubbleReactions, t as Button, St as ButtonGroup, Ct as ButtonGroupSeparator, wt as ButtonGroupText, n as ButtonLabel, zi as CHANNELS, Bi as CHANNEL_COLOR, Et as Calendar, Dt as CalendarDayButton, i as Card, a as CardAction, o as CardContent, s as CardDescription, c as CardFooter, l as CardHeader, u as CardTitle, Ot as Carousel, kt as CarouselContent, At as CarouselItem, jt as CarouselNext, Mt as CarouselPrevious, Pt as ChartContainer, Ft as ChartLegend, It as ChartLegendContent, Lt as ChartStyle, Rt as ChartTooltip, zt as ChartTooltipContent, Bt as ChatBar, Ht as Checkbox, Ut as Collapsible, Wt as CollapsibleContent, Gt as CollapsibleTrigger, $t as Combobox, en as ComboboxChip, tn as ComboboxChips, nn as ComboboxChipsInput, rn as ComboboxCollection, an as ComboboxContent, on as ComboboxEmpty, sn as ComboboxGroup, cn as ComboboxInput, ln as ComboboxItem, un as ComboboxLabel, dn as ComboboxList, fn as ComboboxSeparator, pn as ComboboxTrigger, mn as ComboboxValue, wn as DataTable, jn as DatePicker, Mn as DenseTable, Nn as DenseTableCell, Pn as DenseTableRow, Fn as DetailList, In as DetailListItem, Ln as Dialog, Rn as DialogClose, zn as DialogContent, Bn as DialogDescription, Vn as DialogFooter, Hn as DialogHeader, Un as DialogOverlay, Wn as DialogPortal, Gn as DialogTitle, Kn as DialogTrigger, qn as Drawer, Jn as DrawerClose, Yn as DrawerContent, Xn as DrawerDescription, Zn as DrawerFooter, Qn as DrawerHeader, $n as DrawerOverlay, er as DrawerPortal, tr as DrawerSwipeHandle, nr as DrawerTitle, rr 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, ir as EditableText, ar as Empty, or as EmptyContent, sr as EmptyDescription, cr as EmptyHeader, lr as EmptyMedia, ur as EmptyTitle, zr 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, Br as FilterChips, Kr as GoalCard, Xr as HoverCard, Zr as HoverCardContent, Qr as HoverCardTrigger, $r as IdentityMark, ei as IdentityMarkImage, C as Input, qt as InputGroup, Jt as InputGroupAddon, Yt as InputGroupButton, Xt as InputGroupInput, Zt as InputGroupText, Qt as InputGroupTextarea, ti as Item, ni as ItemActions, ri as ItemContent, ii as ItemDescription, ai as ItemFooter, oi as ItemGroup, si as ItemHeader, ci as ItemMedia, li as ItemSeparator, ui as ItemTitle, d as Label, Vi as LetterMark, di as Marker, fi as MarkerContent, pi as MarkerIcon, hi as MediaThumbnail, _i as Message, vi as MessageAvatar, yi as MessageContent, bi as MessageFooter, xi as MessageGroup, Si as MessageHeader, Ci as MetricOverview, wi as MetricTile, Ei as NativeSelect, Di as NativeSelectOptGroup, Oi as NativeSelectOption, ki as NavigationAction, Nr as PLATFORMS, Pr as PLATFORM_COLOR, Fr as PLATFORM_ICON, Ir as PLATFORM_LABEL, qr as PaceBadge, Jr as PaceMeter, ji as PageHeader, Mi as Pagination, Ni as PaginationContent, Pi as PaginationEllipsis, Fi as PaginationItem, Ii as PaginationLink, Li as PaginationNext, Ri as PaginationPrevious, Rr as PlatformAvatar, Lr as PlatformIcon, Tn as Popover, En as PopoverContent, Dn as PopoverDescription, On as PopoverHeader, kn as PopoverTitle, An as PopoverTrigger, Vr as Progress, Hr as ProgressIndicator, Ur as ProgressLabel, Wr as ProgressTrack, Gr as ProgressValue, Hi as Questionnaire, Ui as QuestionnaireActions, Wi as QuestionnaireChoice, Gi as QuestionnaireChoiceDescription, Ki as QuestionnaireChoices, qi as QuestionnaireDescription, Ji as QuestionnaireError, Yi as QuestionnaireInput, Xi as QuestionnaireItem, Zi as QuestionnaireNext, Qi as QuestionnairePrevious, $i as QuestionnaireProgress, ea as QuestionnaireSkip, ta as QuestionnaireSubmit, na as QuestionnaireTitle, ra as RadioGroup, ia as RadioGroupItem, aa as Rating, oa as ScrollArea, sa as ScrollBar, ca as SectionHeader, la as Select, ua as SelectContent, da as SelectGroup, fa as SelectItem, pa as SelectLabel, ma as SelectScrollDownButton, ha as SelectScrollUpButton, ga as SelectSeparator, _a as SelectTrigger, va 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, ya as SignalDots, ba as SignalStrip, pe as Skeleton, xa as Slider, Sa as SourceAvatar, Ca as Sparkline, wa as Spinner, Ra as StackedBarChart, Ta as StaleBanner, Ea as StateBanner, Oa as StatusIndicator, Aa as SuggestChips, za as Switch, gn as Table, _n as TableBody, vn as TableCaption, yn as TableCell, bn as TableFooter, xn as TableHead, Sn as TableHeader, Cn as TableRow, ja as Tabs, Ma as TabsContent, Na as TabsList, Pa as TabsTrigger, Ba as Tag, Va as TagList, Kt as Textarea, Ha as Toast, Ua as ToastAction, Wa as ToastClose, Ga as ToastContent, Ka as ToastDescription, qa as ToastPortal, Ja as ToastProvider, Ya as ToastTitle, Xa as ToastViewport, Za as Toaster, Ia as Toggle, to as ToggleGroup, no as ToggleGroupItem, me as Tooltip, he as TooltipContent, ge as TooltipProvider, _e as TooltipTrigger, ut as badgeVariants, Tt as buttonGroupVariants, r as buttonVariants, Vt as chatBarFormVariants, e as cn, Qa as createToastManager, mi as markerVariants, gi as mediaThumbnailVariants, Ti as metricTileVariants, Ai as navigationActionVariants, Yr as paceStatusOf, Da as stateBannerVariants, ka as statusDotVariants, Fa as tabsListVariants, $a as toast, La as toggleVariants, Nt as useCarousel, hn as useComboboxAnchor, Ve as useSidebar, eo as useToastManager };
|