@almanaclabs/blaze-ui 0.20.0 → 0.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,10 @@
1
1
  import * as React from 'react';
2
+ /** The sidebar's width when nothing is stored, and the width a double-click on the handle goes back to. */
3
+ declare const APP_SIDEBAR_DEFAULT_WIDTH = 188;
4
+ declare const APP_SIDEBAR_MIN_WIDTH = 160;
5
+ declare const APP_SIDEBAR_MAX_WIDTH = 360;
6
+ /** The collapsed icon rail. */
7
+ declare const APP_SIDEBAR_RAIL_WIDTH = 44;
2
8
  type AppShellProps = React.ComponentProps<'div'> & {
3
9
  /** The left column, usually an `AppSidebar`. It spans both rows. */
4
10
  sidebar?: React.ReactNode;
@@ -6,12 +12,24 @@ type AppShellProps = React.ComponentProps<'div'> & {
6
12
  topBar?: React.ReactNode;
7
13
  /** Classes for the white main panel. */
8
14
  mainClassName?: string;
15
+ /** The sidebar's starting width when nothing is stored. Defaults to 188. */
16
+ defaultSidebarWidth?: number;
17
+ /** Start on the icon rail when nothing is stored. */
18
+ defaultSidebarCollapsed?: boolean;
19
+ /**
20
+ * The `localStorage` key that remembers the sidebar's width and collapsed state on this browser. It is read before
21
+ * the first paint, so the layout does not jump. `null` remembers nothing.
22
+ */
23
+ sidebarStorageKey?: string | null;
9
24
  };
10
25
  /**
11
- * The application frame: a 188px sidebar column, a 56px top bar row, and the page in a white panel on the canvas.
26
+ * The application frame: a sidebar column, a 56px top bar row, and the page in a white panel on the canvas.
12
27
  * The panel is positioned, so a `ChatBar` or other floating element can sit inside it.
28
+ *
29
+ * From 768px up the sidebar can be dragged between 160 and 360px by its right edge (double-click goes back to the
30
+ * default) and collapsed to an icon rail with its header button, Cmd+B or Ctrl+B, or by dragging past the minimum.
13
31
  */
14
- declare function AppShell({ sidebar, topBar, mainClassName, className, children, ...props }: AppShellProps): React.JSX.Element;
32
+ declare function AppShell({ sidebar, topBar, mainClassName, defaultSidebarWidth, defaultSidebarCollapsed, sidebarStorageKey, className, style, children, ...props }: AppShellProps): React.JSX.Element;
15
33
  type AppTopBarProps = React.ComponentProps<'header'> & {
16
34
  /** Content at the end of the bar, such as the account avatar. */
17
35
  end?: React.ReactNode;
@@ -72,7 +90,7 @@ type AppSidebarRenderLink = (item: AppSidebarItem & {
72
90
  * The application's left navigation: a workspace switcher, a plain "New" row, labelled sections of destinations with
73
91
  * optional counts, and a group pinned to the bottom. The current destination is the raised white row.
74
92
  */
75
- declare function AppSidebar({ workspace, newItem, sections, bottomItems, activeId, onNavigate, navLabel, renderLink, className, ...props }: AppSidebarProps): React.JSX.Element;
93
+ declare function AppSidebar(props: AppSidebarProps): React.JSX.Element;
76
94
  type AppSidebarWorkspaceProps = {
77
95
  /** The workspace or business name. */
78
96
  name: string;
@@ -84,7 +102,7 @@ type AppSidebarWorkspaceProps = {
84
102
  triggerLabel?: string;
85
103
  className?: string;
86
104
  };
87
- /** The workspace switcher at the top of `AppSidebar`: the logo and name, opening a menu. */
105
+ /** The workspace switcher at the top of `AppSidebar`: the logo and name, opening a menu. Its caret shows only on hover, keyboard focus or while open. */
88
106
  declare function AppSidebarWorkspace({ name, logo, children, triggerLabel, className, }: AppSidebarWorkspaceProps): React.JSX.Element;
89
- export { AppShell, AppSidebar, AppSidebarWorkspace, AppTopBar, type AppShellProps, type AppSidebarIcon, type AppSidebarItem, type AppSidebarProps, type AppSidebarRenderLink, type AppSidebarSection, type AppSidebarWorkspaceProps, type AppTopBarProps, };
107
+ export { APP_SIDEBAR_DEFAULT_WIDTH, APP_SIDEBAR_MAX_WIDTH, APP_SIDEBAR_MIN_WIDTH, APP_SIDEBAR_RAIL_WIDTH, AppShell, AppSidebar, AppSidebarWorkspace, AppTopBar, type AppShellProps, type AppSidebarIcon, type AppSidebarItem, type AppSidebarProps, type AppSidebarRenderLink, type AppSidebarSection, type AppSidebarWorkspaceProps, type AppTopBarProps, };
90
108
  //# sourceMappingURL=app-shell.d.ts.map
@@ -1 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YAAY,EACZ,SAAS,GACV,EAAE,wBAAwB,qBA+C1B;AAED,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,GACpB,CAAA"}
@@ -1,149 +1,355 @@
1
1
  import { cn as e } from "../../lib/utils.js";
2
2
  import { Button as t } from "../button/button.js";
3
3
  import { DropdownMenu as n, DropdownMenuContent as r, DropdownMenuTrigger as i } from "../dropdown-menu/dropdown-menu.js";
4
- import { SidebarGroup as a, SidebarGroupContent as o, SidebarGroupLabel as s, SidebarMenu as c, SidebarMenuBadge as l, SidebarMenuButton as u, SidebarMenuItem as d, SidebarProvider as f } from "../sidebar/sidebar.js";
5
- import "react";
6
- import { jsx as p, jsxs as m } from "react/jsx-runtime";
7
- import { IconChevronDown as h, IconPlus as g } from "@tabler/icons-react";
4
+ import { Tooltip as a, TooltipContent as o, TooltipTrigger as s } from "../tooltip/tooltip.js";
5
+ import { SidebarGroup as c, SidebarGroupContent as l, SidebarGroupLabel as u, SidebarMenu as d, SidebarMenuBadge as f, SidebarMenuButton as p, SidebarMenuItem as m, SidebarProvider as h, useSidebar as g } from "../sidebar/sidebar.js";
6
+ import * as _ from "react";
7
+ import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
8
+ import { IconChevronDown as x, IconLayoutSidebarLeftCollapse as S, IconLayoutSidebarLeftExpand as C, IconPlus as w } from "@tabler/icons-react";
8
9
  //#region src/components/app-shell/app-shell.tsx
9
- function _({ sidebar: t, topBar: n, mainClassName: r, className: i, children: a, ...o }) {
10
- return /* @__PURE__ */ m("div", {
11
- "data-slot": "app-shell",
12
- className: e("grid min-h-screen grid-cols-[188px_minmax(0,1fr)] grid-rows-[56px_1fr] gap-x-2.5 bg-background px-4 pb-2.5 text-foreground", i),
13
- ...o,
14
- children: [
15
- t,
16
- n ?? /* @__PURE__ */ p("div", { "data-slot": "app-shell-top-bar-placeholder" }),
17
- /* @__PURE__ */ p("main", {
18
- "data-slot": "app-shell-main",
19
- className: e("relative min-w-0 rounded-2xl bg-card shadow-[0_1px_2px_rgb(0_0_0/0.04),0_6px_20px_rgb(0_0_0/0.07)]", r),
20
- children: a
10
+ var T = 188, E = 160, D = 360, O = 44, k = 8, A = "blaze-ui.app-sidebar";
11
+ function j(e) {
12
+ return Math.round(Math.min(360, Math.max(160, e)));
13
+ }
14
+ function M(e, t) {
15
+ if (!e || typeof window > "u") return t;
16
+ try {
17
+ let n = JSON.parse(window.localStorage.getItem(e) ?? "null");
18
+ return !n || typeof n != "object" ? t : {
19
+ width: typeof n.width == "number" && Number.isFinite(n.width) ? j(n.width) : t.width,
20
+ collapsed: typeof n.collapsed == "boolean" ? n.collapsed : t.collapsed
21
+ };
22
+ } catch {
23
+ return t;
24
+ }
25
+ }
26
+ function N(e, t) {
27
+ if (e) try {
28
+ window.localStorage.setItem(e, JSON.stringify(t));
29
+ } catch {}
30
+ }
31
+ var P = _.createContext(!1);
32
+ function F({ sidebar: t, topBar: n, mainClassName: r, defaultSidebarWidth: i = 188, defaultSidebarCollapsed: a = !1, sidebarStorageKey: o = A, className: s, style: c, children: l, ...u }) {
33
+ let d = j(i), [f, p] = _.useState(() => M(o, {
34
+ width: d,
35
+ collapsed: a
36
+ })), [m, g] = _.useState(!1);
37
+ _.useEffect(() => {
38
+ m || N(o, f);
39
+ }, [
40
+ f,
41
+ m,
42
+ o
43
+ ]);
44
+ let v = _.useCallback((e) => p((t) => ({
45
+ ...t,
46
+ collapsed: !e
47
+ })), []), x = f.collapsed ? 44 : f.width;
48
+ return /* @__PURE__ */ y(P.Provider, {
49
+ value: !!t,
50
+ children: /* @__PURE__ */ y(h, {
51
+ className: "contents",
52
+ open: !f.collapsed,
53
+ onOpenChange: v,
54
+ children: /* @__PURE__ */ b("div", {
55
+ "data-slot": "app-shell",
56
+ "data-sidebar-state": f.collapsed ? "collapsed" : "expanded",
57
+ "data-resizing": m || void 0,
58
+ style: {
59
+ "--app-shell-sidebar-width": `${x}px`,
60
+ ...c
61
+ },
62
+ className: e("relative grid min-h-screen grid-cols-[188px_minmax(0,1fr)] grid-rows-[56px_1fr] gap-x-2.5 bg-background px-4 pb-2.5 text-foreground", "md:grid-cols-[var(--app-shell-sidebar-width)_minmax(0,1fr)] md:transition-[grid-template-columns] md:duration-200 md:ease-out motion-reduce:transition-none data-resizing:transition-none", s),
63
+ ...u,
64
+ children: [
65
+ t,
66
+ n ?? /* @__PURE__ */ y("div", { "data-slot": "app-shell-top-bar-placeholder" }),
67
+ /* @__PURE__ */ y("main", {
68
+ "data-slot": "app-shell-main",
69
+ className: e("relative min-w-0 rounded-2xl bg-card shadow-[0_1px_2px_rgb(0_0_0/0.04),0_6px_20px_rgb(0_0_0/0.07)]", r),
70
+ children: l
71
+ }),
72
+ t ? /* @__PURE__ */ y(I, {
73
+ layout: f,
74
+ defaultWidth: d,
75
+ resizing: m,
76
+ onLayoutChange: p,
77
+ onResizingChange: g
78
+ }) : null
79
+ ]
21
80
  })
22
- ]
81
+ })
23
82
  });
24
83
  }
25
- function v({ end: t, className: n, children: r, ...i }) {
26
- return /* @__PURE__ */ m("header", {
84
+ function I({ layout: t, defaultWidth: n, resizing: r, onLayoutChange: i, onResizingChange: a }) {
85
+ let o = _.useRef(null), s = t.collapsed ? 44 : t.width, c = (e, t) => {
86
+ o.current?.pointerId === t && (o.current = null, e.hasPointerCapture?.(t) && e.releasePointerCapture(t), document.body.style.removeProperty("cursor"), document.body.style.removeProperty("user-select"), a(!1));
87
+ };
88
+ return /* @__PURE__ */ y("div", {
89
+ role: "separator",
90
+ tabIndex: 0,
91
+ "aria-label": "Resize sidebar",
92
+ "aria-orientation": "vertical",
93
+ "aria-valuemin": 44,
94
+ "aria-valuemax": 360,
95
+ "aria-valuenow": s,
96
+ "aria-valuetext": t.collapsed ? "Collapsed" : `${t.width} pixels`,
97
+ "data-slot": "app-shell-resize-handle",
98
+ "data-resizing": r || void 0,
99
+ style: { left: "calc(1rem + var(--app-shell-sidebar-width) + 5px)" },
100
+ className: e("absolute inset-y-0 z-20 hidden w-2 -translate-x-1/2 cursor-col-resize touch-none outline-none select-none md:block", "after:absolute after:inset-y-2.5 after:left-1/2 after:w-0.5 after:-translate-x-1/2 after:rounded-full after:transition-colors after:duration-100", "hover:after:bg-border focus-visible:after:bg-ring data-resizing:after:bg-foreground"),
101
+ onKeyDown: (e) => {
102
+ let n, { width: r, collapsed: a } = t;
103
+ e.key === "ArrowLeft" ? a || (n = r <= 160 ? {
104
+ width: r,
105
+ collapsed: !0
106
+ } : {
107
+ width: j(r - k),
108
+ collapsed: a
109
+ }) : e.key === "ArrowRight" ? n = a ? {
110
+ width: r,
111
+ collapsed: !1
112
+ } : {
113
+ width: j(r + k),
114
+ collapsed: a
115
+ } : e.key === "Home" ? n = {
116
+ width: r,
117
+ collapsed: !0
118
+ } : e.key === "End" ? n = {
119
+ width: 360,
120
+ collapsed: !1
121
+ } : e.key === "Enter" && (n = {
122
+ width: r,
123
+ collapsed: !a
124
+ }), n && (e.preventDefault(), i(n));
125
+ },
126
+ onDoubleClick: () => i({
127
+ width: n,
128
+ collapsed: !1
129
+ }),
130
+ onPointerDown: (e) => {
131
+ e.button === 0 && (e.preventDefault(), o.current = {
132
+ pointerId: e.pointerId,
133
+ startX: e.clientX,
134
+ startWidth: s,
135
+ expandedWidth: t.width
136
+ }, e.currentTarget.setPointerCapture?.(e.pointerId), document.body.style.cursor = "col-resize", document.body.style.userSelect = "none", a(!0));
137
+ },
138
+ onPointerMove: (e) => {
139
+ let t = o.current;
140
+ if (t?.pointerId !== e.pointerId) return;
141
+ let n = t.startWidth + e.clientX - t.startX;
142
+ i(n < 112 ? {
143
+ width: t.expandedWidth,
144
+ collapsed: !0
145
+ } : {
146
+ width: j(n),
147
+ collapsed: !1
148
+ });
149
+ },
150
+ onPointerUp: (e) => c(e.currentTarget, e.pointerId),
151
+ onPointerCancel: (e) => c(e.currentTarget, e.pointerId),
152
+ onLostPointerCapture: (e) => c(e.currentTarget, e.pointerId),
153
+ children: r && !t.collapsed ? /* @__PURE__ */ b("span", {
154
+ "aria-hidden": "true",
155
+ className: "type-meta pointer-events-none absolute top-16 left-full ml-1.5 rounded-md bg-foreground px-1.5 py-0.5 font-medium text-background tabular-nums",
156
+ children: [t.width, "px"]
157
+ }) : null
158
+ });
159
+ }
160
+ function L({ end: t, className: n, children: r, ...i }) {
161
+ return /* @__PURE__ */ b("header", {
27
162
  "data-slot": "app-top-bar",
28
163
  className: e("flex min-w-0 items-center gap-3", n),
29
164
  ...i,
30
- children: [/* @__PURE__ */ p("div", {
165
+ children: [/* @__PURE__ */ y("div", {
31
166
  "data-slot": "app-top-bar-start",
32
167
  className: "flex min-w-0 flex-1",
33
168
  children: r
34
- }), t ? /* @__PURE__ */ p("div", {
169
+ }), t ? /* @__PURE__ */ y("div", {
35
170
  "data-slot": "app-top-bar-end",
36
171
  className: "flex flex-none items-center gap-2",
37
172
  children: t
38
173
  }) : null]
39
174
  });
40
175
  }
41
- var y = (e) => /* @__PURE__ */ p("a", { href: e.href });
42
- function b({ item: e, active: t, onNavigate: n, renderLink: r }) {
43
- let i = e.icon, a = (t) => {
44
- t.detail > 0 && t.currentTarget.blur(), e.onSelect?.(), n?.(e);
176
+ var R = (e) => /* @__PURE__ */ y("a", { href: e.href });
177
+ function z({ item: t, active: n, collapsed: r, onNavigate: i, renderLink: a }) {
178
+ let o = t.icon, s = (e) => {
179
+ e.detail > 0 && e.currentTarget.blur(), t.onSelect?.(), i?.(t);
45
180
  };
46
- return /* @__PURE__ */ m(d, {
181
+ return /* @__PURE__ */ b(m, {
47
182
  "data-slot": "app-sidebar-item",
48
- children: [/* @__PURE__ */ m(u, {
183
+ children: [/* @__PURE__ */ b(p, {
49
184
  variant: "raised",
50
- isActive: t,
51
- "aria-current": t ? "page" : void 0,
52
- render: e.href ? r({
53
- ...e,
54
- href: e.href
185
+ isActive: n,
186
+ "aria-current": n ? "page" : void 0,
187
+ render: t.href ? a({
188
+ ...t,
189
+ href: t.href
55
190
  }) : void 0,
56
- onClick: a,
57
- children: [i ? /* @__PURE__ */ p(i, { "aria-hidden": "true" }) : null, /* @__PURE__ */ p("span", { children: e.label })]
58
- }), e.count ? /* @__PURE__ */ p(l, {
191
+ tooltip: { children: /* @__PURE__ */ b(v, { children: [t.label, t.count ? /* @__PURE__ */ y("span", {
192
+ className: "ml-1.5 tabular-nums opacity-70",
193
+ children: t.count
194
+ }) : null] }) },
195
+ className: e(r && "justify-center px-0"),
196
+ onClick: s,
197
+ children: [o ? /* @__PURE__ */ y(o, { "aria-hidden": "true" }) : null, r ? /* @__PURE__ */ b("span", {
198
+ className: "sr-only",
199
+ children: [t.label, t.count ? ` (${t.count})` : null]
200
+ }) : /* @__PURE__ */ y("span", {
201
+ className: "whitespace-nowrap",
202
+ children: t.label
203
+ })]
204
+ }), t.count && r ? /* @__PURE__ */ y("span", {
205
+ "aria-hidden": "true",
206
+ "data-slot": "app-sidebar-item-dot",
207
+ className: "pointer-events-none absolute top-1.5 right-2 size-1.5 rounded-full bg-primary ring-2 ring-background"
208
+ }) : t.count ? /* @__PURE__ */ y(f, {
59
209
  className: "top-1.5 rounded-full bg-primary/10 font-semibold text-primary",
60
- children: e.count
210
+ children: t.count
61
211
  }) : null]
62
212
  });
63
213
  }
64
- function x({ label: e, children: t }) {
65
- return /* @__PURE__ */ m(a, {
214
+ function B({ label: e, collapsed: t, children: n }) {
215
+ return /* @__PURE__ */ b(c, {
66
216
  className: "p-0",
67
- children: [e ? /* @__PURE__ */ p(s, {
68
- className: "px-2.5",
217
+ children: [e && t ? /* @__PURE__ */ y("div", {
218
+ "aria-hidden": "true",
219
+ className: "mx-auto mb-1.5 h-px w-5 bg-border"
220
+ }) : e ? /* @__PURE__ */ y(u, {
221
+ className: "px-2.5 whitespace-nowrap",
69
222
  children: e
70
- }) : null, /* @__PURE__ */ p(o, { children: /* @__PURE__ */ p(c, {
223
+ }) : null, /* @__PURE__ */ y(l, { children: /* @__PURE__ */ y(d, {
71
224
  className: "gap-px",
72
- children: t
225
+ children: n
73
226
  }) })]
74
227
  });
75
228
  }
76
- function S({ workspace: t, newItem: n, sections: r, bottomItems: i, activeId: a, onNavigate: o, navLabel: s = "Workspace", renderLink: c = y, className: l, ...u }) {
77
- let d = (e) => /* @__PURE__ */ p(b, {
229
+ function V({ collapsed: n }) {
230
+ let { toggleSidebar: r } = g(), i = n ? "Expand sidebar" : "Collapse sidebar", c = n ? C : S;
231
+ return /* @__PURE__ */ b(a, { children: [/* @__PURE__ */ y(s, {
232
+ render: /* @__PURE__ */ y(t, {
233
+ type: "button",
234
+ variant: "tertiary",
235
+ size: "icon-sm",
236
+ "data-slot": "app-sidebar-toggle",
237
+ "aria-label": i,
238
+ "aria-expanded": !n,
239
+ className: e("hidden flex-none opacity-0 transition-opacity duration-100 focus-visible:opacity-100 motion-reduce:transition-none md:inline-flex [@media(hover:none)]:opacity-100", n ? "absolute inset-0 m-auto size-8 bg-background group-hover/app-sidebar-header:opacity-100" : "group-hover/app-sidebar:opacity-100"),
240
+ onClick: r
241
+ }),
242
+ children: /* @__PURE__ */ y(c, { "aria-hidden": "true" })
243
+ }), /* @__PURE__ */ b(o, {
244
+ side: "right",
245
+ children: [i, /* @__PURE__ */ y("span", {
246
+ className: "ml-1.5 opacity-70",
247
+ children: H()
248
+ })]
249
+ })] });
250
+ }
251
+ function H() {
252
+ return typeof navigator > "u" ? "Ctrl+B" : /Mac|iPhone|iPad/.test(navigator.platform) ? "⌘B" : "Ctrl+B";
253
+ }
254
+ var U = _.createContext(!1);
255
+ function W(e) {
256
+ return _.useContext(P) ? /* @__PURE__ */ y(G, {
257
+ ...e,
258
+ collapsible: !0
259
+ }) : /* @__PURE__ */ y(h, {
260
+ className: "contents",
261
+ children: /* @__PURE__ */ y(G, {
262
+ ...e,
263
+ collapsible: !1
264
+ })
265
+ });
266
+ }
267
+ function G({ workspace: t, newItem: n, sections: r, bottomItems: i, activeId: a, onNavigate: o, navLabel: s = "Workspace", renderLink: c = R, collapsible: l, className: u, ...d }) {
268
+ let { state: f, isMobile: p } = g(), m = l && f === "collapsed" && !p, h = (e) => /* @__PURE__ */ y(z, {
78
269
  item: e,
79
270
  active: e.id === a,
271
+ collapsed: m,
80
272
  onNavigate: o,
81
273
  renderLink: c
82
- }, e.id), h = n ? d({
274
+ }, e.id), _ = n ? h({
83
275
  ...n,
84
- icon: n.icon ?? g
85
- }) : null, [_, ...v] = r, S = !!(h && _ && !_.label);
86
- return /* @__PURE__ */ p("aside", {
276
+ icon: n.icon ?? w
277
+ }) : null, [v, ...x] = r, S = !!(_ && v && !v.label);
278
+ return /* @__PURE__ */ y("aside", {
87
279
  "data-slot": "app-sidebar",
88
- className: e("sticky top-0 row-span-2 flex h-screen flex-col self-start overflow-y-auto pt-2.5 pb-3", l),
89
- ...u,
90
- children: /* @__PURE__ */ m(f, {
91
- className: "contents",
280
+ "data-state": m ? "collapsed" : "expanded",
281
+ className: e("group/app-sidebar sticky top-0 row-span-2 flex h-screen min-w-0 flex-col self-start overflow-x-hidden overflow-y-auto pt-2.5 pb-3", u),
282
+ ...d,
283
+ children: /* @__PURE__ */ b(U.Provider, {
284
+ value: m,
92
285
  children: [
93
- t,
94
- /* @__PURE__ */ m("nav", {
286
+ /* @__PURE__ */ b("div", {
287
+ "data-slot": "app-sidebar-header",
288
+ className: e("mb-4 flex items-center gap-1", m && "group/app-sidebar-header relative"),
289
+ children: [/* @__PURE__ */ y("div", {
290
+ className: "w-full min-w-0 flex-1",
291
+ children: t
292
+ }), l ? /* @__PURE__ */ y(V, { collapsed: m }) : null]
293
+ }),
294
+ /* @__PURE__ */ b("nav", {
95
295
  "aria-label": s,
96
296
  className: "flex flex-col gap-4",
97
297
  children: [
98
- h && !S ? /* @__PURE__ */ p(x, { children: h }) : null,
99
- _ ? /* @__PURE__ */ m(x, {
100
- label: _.label,
101
- children: [S ? h : null, _.items.map(d)]
102
- }, _.id) : null,
103
- v.map((e) => /* @__PURE__ */ p(x, {
298
+ _ && !S ? /* @__PURE__ */ y(B, {
299
+ collapsed: m,
300
+ children: _
301
+ }) : null,
302
+ v ? /* @__PURE__ */ b(B, {
303
+ label: v.label,
304
+ collapsed: m,
305
+ children: [S ? _ : null, v.items.map(h)]
306
+ }, v.id) : null,
307
+ x.map((e) => /* @__PURE__ */ y(B, {
104
308
  label: e.label,
105
- children: e.items.map(d)
309
+ collapsed: m,
310
+ children: e.items.map(h)
106
311
  }, e.id))
107
312
  ]
108
313
  }),
109
- i?.length ? /* @__PURE__ */ p("div", {
314
+ i?.length ? /* @__PURE__ */ y("div", {
110
315
  "data-slot": "app-sidebar-bottom",
111
316
  className: "mt-auto pt-4",
112
- children: /* @__PURE__ */ p(x, { children: i.map(d) })
317
+ children: /* @__PURE__ */ y(B, {
318
+ collapsed: m,
319
+ children: i.map(h)
320
+ })
113
321
  }) : null
114
322
  ]
115
323
  })
116
324
  });
117
325
  }
118
- function C({ name: a, logo: o, children: s, triggerLabel: c, className: l }) {
119
- return /* @__PURE__ */ m(n, { children: [/* @__PURE__ */ m(i, {
120
- render: /* @__PURE__ */ p(t, {
326
+ function K({ name: a, logo: o, children: s, triggerLabel: c, className: l }) {
327
+ let u = _.useContext(U);
328
+ return /* @__PURE__ */ b(n, { children: [/* @__PURE__ */ b(i, {
329
+ render: /* @__PURE__ */ y(t, {
121
330
  type: "button",
122
331
  variant: "tertiary",
123
332
  size: "lg",
124
333
  "data-slot": "app-sidebar-workspace",
125
334
  "aria-label": c ?? `Open workspace menu for ${a}`,
126
- className: e("mb-4 w-full justify-start gap-2.5 px-1.5", l)
335
+ className: e("w-full justify-start gap-2.5 px-1.5", u && "justify-center px-0", l)
127
336
  }),
128
- children: [
129
- o ? /* @__PURE__ */ p("span", {
130
- className: "flex size-8 flex-none items-center justify-center overflow-hidden rounded-md [&>img]:size-full [&>img]:object-cover",
131
- children: o
132
- }) : null,
133
- /* @__PURE__ */ p("span", {
134
- className: "type-label flex-1 truncate text-left font-medium",
135
- children: a
136
- }),
137
- /* @__PURE__ */ p(h, {
138
- "aria-hidden": "true",
139
- className: "icon-optical-16 text-muted-foreground"
140
- })
141
- ]
142
- }), s ? /* @__PURE__ */ p(r, {
337
+ children: [o ? /* @__PURE__ */ y("span", {
338
+ className: "flex size-8 flex-none items-center justify-center overflow-hidden rounded-md [&>img]:size-full [&>img]:object-cover",
339
+ children: o
340
+ }) : null, u ? null : /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y("span", {
341
+ className: "type-label flex-1 truncate text-left font-medium",
342
+ children: a
343
+ }), /* @__PURE__ */ y(x, {
344
+ "aria-hidden": "true",
345
+ "data-slot": "app-sidebar-workspace-caret",
346
+ className: "icon-optical-16 text-muted-foreground opacity-0 transition-opacity duration-100 group-hover/button:opacity-100 group-focus-visible/button:opacity-100 group-data-popup-open/button:opacity-100 motion-reduce:transition-none [@media(hover:none)]:opacity-100"
347
+ })] })]
348
+ }), s ? /* @__PURE__ */ y(r, {
143
349
  align: "start",
144
350
  className: "min-w-56",
145
351
  children: s
146
352
  }) : null] });
147
353
  }
148
354
  //#endregion
149
- export { _ as AppShell, S as AppSidebar, C as AppSidebarWorkspace, v as AppTopBar };
355
+ export { T as APP_SIDEBAR_DEFAULT_WIDTH, D as APP_SIDEBAR_MAX_WIDTH, E as APP_SIDEBAR_MIN_WIDTH, O as APP_SIDEBAR_RAIL_WIDTH, F as AppShell, W as AppSidebar, K as AppSidebarWorkspace, L as AppTopBar };
package/dist/index.js CHANGED
@@ -13,74 +13,74 @@ import { Sheet as ae, SheetClose as oe, SheetContent as se, SheetDescription as
13
13
  import { Skeleton as pe } from "./components/skeleton/skeleton.js";
14
14
  import { Tooltip as me, TooltipContent as he, TooltipProvider as ge, TooltipTrigger as _e } from "./components/tooltip/tooltip.js";
15
15
  import { Sidebar as ve, SidebarContent as ye, SidebarFooter as be, SidebarGroup as xe, SidebarGroupAction as Se, SidebarGroupContent as Ce, SidebarGroupLabel as we, SidebarHeader as Te, SidebarInput as Ee, SidebarInset as De, SidebarMenu as Oe, SidebarMenuAction as ke, SidebarMenuBadge as Ae, SidebarMenuButton as je, SidebarMenuItem as Me, SidebarMenuSkeleton as Ne, SidebarMenuSub as Pe, SidebarMenuSubButton as Fe, SidebarMenuSubItem as Ie, SidebarProvider as Le, SidebarRail as Re, SidebarSeparator as ze, SidebarTrigger as Be, useSidebar as Ve } from "./components/sidebar/sidebar.js";
16
- import { AppShell as He, AppSidebar as Ue, AppSidebarWorkspace as We, AppTopBar as Ge } from "./components/app-shell/app-shell.js";
17
- import { ApprovalCard as Ke } from "./components/approval-card/approval-card.js";
18
- import { AspectRatio as qe } from "./components/aspect-ratio/aspect-ratio.js";
19
- import { Attachment as Je, AttachmentAction as Ye, AttachmentActions as Xe, AttachmentContent as Ze, AttachmentDescription as Qe, AttachmentGroup as $e, AttachmentMedia as et, AttachmentTitle as tt, AttachmentTrigger as nt } from "./components/attachment/attachment.js";
20
- import { Avatar as rt, AvatarBadge as it, AvatarFallback as at, AvatarGroup as ot, AvatarGroupCount as st, AvatarImage as ct } from "./components/avatar/avatar.js";
21
- import { Badge as lt, badgeVariants as ut } from "./components/badge/badge.js";
22
- import { Breadcrumb as dt, BreadcrumbEllipsis as ft, BreadcrumbItem as pt, BreadcrumbLink as mt, BreadcrumbList as ht, BreadcrumbPage as gt, BreadcrumbSeparator as _t } from "./components/breadcrumb/breadcrumb.js";
23
- import { Bubble as vt, BubbleContent as yt, BubbleGroup as bt, BubbleReactions as xt } from "./components/bubble/bubble.js";
24
- import { ButtonGroup as St, ButtonGroupSeparator as Ct, ButtonGroupText as wt, buttonGroupVariants as Tt } from "./components/button-group/button-group.js";
25
- import { Calendar as Et, CalendarDayButton as Dt } from "./components/calendar/calendar.js";
26
- import { Carousel as Ot, CarouselContent as kt, CarouselItem as At, CarouselNext as jt, CarouselPrevious as Mt, useCarousel as Nt } from "./components/carousel/carousel.js";
27
- import { ChartContainer as Pt, ChartLegend as Ft, ChartLegendContent as It, ChartStyle as Lt, ChartTooltip as Rt, ChartTooltipContent as zt } from "./components/chart/chart.js";
28
- import { ChatBar as Bt, chatBarFormVariants as Vt } from "./components/chat-bar/chat-bar.js";
29
- import { Checkbox as Ht } from "./components/checkbox/checkbox.js";
30
- import { Collapsible as Ut, CollapsibleContent as Wt, CollapsibleTrigger as Gt } from "./components/collapsible/collapsible.js";
31
- import { Textarea as Kt } from "./components/textarea/textarea.js";
32
- import { InputGroup as qt, InputGroupAddon as Jt, InputGroupButton as Yt, InputGroupInput as Xt, InputGroupText as Zt, InputGroupTextarea as Qt } from "./components/input-group/input-group.js";
33
- import { Combobox as $t, ComboboxChip as en, ComboboxChips as tn, ComboboxChipsInput as nn, ComboboxCollection as rn, ComboboxContent as an, ComboboxEmpty as on, ComboboxGroup as sn, ComboboxInput as cn, ComboboxItem as ln, ComboboxLabel as un, ComboboxList as dn, ComboboxSeparator as fn, ComboboxTrigger as pn, ComboboxValue as mn, useComboboxAnchor as hn } from "./components/combobox/combobox.js";
34
- import { StatusIndicator as gn, statusDotVariants as _n } from "./components/status-indicator/status-indicator.js";
35
- import { ConnectNotice as vn } from "./components/connect-notice/connect-notice.js";
36
- import { Table as yn, TableBody as bn, TableCaption as xn, TableCell as Sn, TableFooter as Cn, TableHead as wn, TableHeader as Tn, TableRow as En } from "./components/table/table.js";
37
- import { DataTable as Dn } from "./components/data-table/data-table.js";
38
- import { Popover as On, PopoverContent as kn, PopoverDescription as An, PopoverHeader as jn, PopoverTitle as Mn, PopoverTrigger as Nn } from "./components/popover/popover.js";
39
- import { DatePicker as Pn } from "./components/date-picker/date-picker.js";
40
- import { DenseTable as Fn, DenseTableCell as In, DenseTableRow as Ln, sortDenseTableRows as Rn } from "./components/dense-table/dense-table.js";
41
- import { DetailList as zn, DetailListItem as Bn } from "./components/detail-list/detail-list.js";
42
- import { Dialog as Vn, DialogClose as Hn, DialogContent as Un, DialogDescription as Wn, DialogFooter as Gn, DialogHeader as Kn, DialogOverlay as qn, DialogPortal as Jn, DialogTitle as Yn, DialogTrigger as Xn } from "./components/dialog/dialog.js";
43
- import { Drawer as Zn, DrawerClose as Qn, DrawerContent as $n, DrawerDescription as er, DrawerFooter as tr, DrawerHeader as nr, DrawerOverlay as rr, DrawerPortal as ir, DrawerSwipeHandle as ar, DrawerTitle as or, DrawerTrigger as sr } from "./components/drawer/drawer.js";
44
- import { EditableText as cr } from "./components/editable-text/editable-text.js";
45
- import { Empty as lr, EmptyContent as ur, EmptyDescription as dr, EmptyHeader as fr, EmptyMedia as pr, EmptyTitle as mr } from "./components/empty/empty.js";
46
- import { BrandApple as hr, BrandBeehiiv as gr, BrandBing as _r, BrandBluesky as vr, BrandChatgpt as yr, BrandEmail as br, BrandFacebook as xr, BrandGithub as Sr, BrandGmail as Cr, BrandGodaddy as wr, BrandGoogle as Tr, BrandGoogleDocs as Er, BrandInstagram as Dr, BrandLinkedin as Or, BrandMeta as kr, BrandMicrosoft as Ar, BrandOutlook as jr, BrandPerplexity as Mr, BrandPhone as Nr, BrandReddit as Pr, BrandSearchConsole as Fr, BrandShopify as Ir, BrandSquarespace as Lr, BrandThreads as Rr, BrandTiktok as zr, BrandWordpress as Br, BrandX as Vr, BrandYelp as Hr, BrandYoutube as Ur, BrandZapier as Wr, PLATFORMS as Gr, PLATFORM_COLOR as Kr, PLATFORM_ICON as qr, PLATFORM_LABEL as Jr, PlatformIcon as Yr } from "./components/platform-icon/platform-icon.js";
47
- import { PlatformAvatar as Xr } from "./components/platform-avatar/platform-avatar.js";
48
- import { FaceStackButton as Zr } from "./components/face-stack-button/face-stack-button.js";
49
- import { FilterChips as Qr } from "./components/filter-chips/filter-chips.js";
50
- import { Progress as $r, ProgressIndicator as ei, ProgressLabel as ti, ProgressTrack as ni, ProgressValue as ri } from "./components/progress/progress.js";
51
- import { GoalCard as ii, PaceBadge as ai, PaceMeter as oi, paceStatusOf as si } from "./components/goal-card/goal-card.js";
52
- import { HoverCard as ci, HoverCardContent as li, HoverCardTrigger as ui } from "./components/hover-card/hover-card.js";
53
- import { IdentityMark as di, IdentityMarkImage as fi } from "./components/identity-mark/identity-mark.js";
54
- import { Item as pi, ItemActions as mi, ItemContent as hi, ItemDescription as gi, ItemFooter as _i, ItemGroup as vi, ItemHeader as yi, ItemMedia as bi, ItemSeparator as xi, ItemTitle as Si } from "./components/item/item.js";
55
- import { Marker as Ci, MarkerContent as wi, MarkerIcon as Ti, markerVariants as Ei } from "./components/marker/marker.js";
56
- import { MediaThumbnail as Di, mediaThumbnailVariants as Oi } from "./components/media-thumbnail/media-thumbnail.js";
57
- import { Message as ki, MessageAvatar as Ai, MessageContent as ji, MessageFooter as Mi, MessageGroup as Ni, MessageHeader as Pi } from "./components/message/message.js";
58
- import { MetricOverview as Fi } from "./components/metric-overview/metric-overview.js";
59
- import { MetricTile as Ii, metricTileVariants as Li } from "./components/metric-tile/metric-tile.js";
60
- import { NativeSelect as Ri, NativeSelectOptGroup as zi, NativeSelectOption as Bi } from "./components/native-select/native-select.js";
61
- import { NavigationAction as Vi, navigationActionVariants as Hi } from "./components/navigation-action/navigation-action.js";
62
- import { PageHeader as Ui } from "./components/page-header/page-header.js";
63
- import { Pagination as Wi, PaginationContent as Gi, PaginationEllipsis as Ki, PaginationItem as qi, PaginationLink as Ji, PaginationNext as Yi, PaginationPrevious as Xi } from "./components/pagination/pagination.js";
64
- import { CHANNELS as Zi, CHANNEL_COLOR as Qi } from "./components/platform-icon/channel-color.js";
65
- import { LetterMark as $i } from "./components/platform-icon/letter-mark.js";
66
- import { Questionnaire as ea, QuestionnaireActions as ta, QuestionnaireChoice as na, QuestionnaireChoiceDescription as ra, QuestionnaireChoices as ia, QuestionnaireDescription as aa, QuestionnaireError as oa, QuestionnaireInput as sa, QuestionnaireItem as ca, QuestionnaireNext as la, QuestionnairePrevious as ua, QuestionnaireProgress as da, QuestionnaireSkip as fa, QuestionnaireSubmit as pa, QuestionnaireTitle as ma } from "./components/questionnaire/questionnaire.js";
67
- import { RadioGroup as ha, RadioGroupItem as ga } from "./components/radio-group/radio-group.js";
68
- import { Rating as _a } from "./components/rating/rating.js";
69
- import { ScrollArea as va, ScrollBar as ya } from "./components/scroll-area/scroll-area.js";
70
- import { SectionHeader as ba } from "./components/section-header/section-header.js";
71
- import { Select as xa, SelectContent as Sa, SelectGroup as Ca, SelectItem as wa, SelectLabel as Ta, SelectScrollDownButton as Ea, SelectScrollUpButton as Da, SelectSeparator as Oa, SelectTrigger as ka, SelectValue as Aa } from "./components/select/select.js";
72
- import { SignalDots as ja, SignalStrip as Ma } from "./components/signal-strip/signal-strip.js";
73
- import { Slider as Na } from "./components/slider/slider.js";
74
- import { SourceAvatar as Pa } from "./components/source-avatar/source-avatar.js";
75
- import { Sparkline as Fa } from "./components/sparkline/sparkline.js";
76
- import { Spinner as Ia } from "./components/spinner/spinner.js";
77
- import { StaleBanner as La, StateBanner as Ra, stateBannerVariants as za } from "./components/state-banner/state-banner.js";
78
- import { SuggestChips as Ba } from "./components/suggest-chips/suggest-chips.js";
79
- import { Tabs as Va, TabsContent as Ha, TabsList as Ua, TabsTrigger as Wa, tabsListVariants as Ga } from "./components/tabs/tabs.js";
80
- import { Toggle as Ka, toggleVariants as qa } from "./components/toggle/toggle.js";
81
- import { StackedBarChart as Ja } from "./components/stacked-bar-chart/stacked-bar-chart.js";
82
- import { Switch as Ya } from "./components/switch/switch.js";
83
- import { Tag as Xa, TagList as Za } from "./components/tag/tag.js";
84
- import { Toast as Qa, ToastAction as $a, ToastClose as eo, ToastContent as to, ToastDescription as no, ToastPortal as ro, ToastProvider as io, ToastTitle as ao, ToastViewport as oo, Toaster as so, createToastManager as co, toast as lo, useToastManager as uo } from "./components/toast/toast.js";
85
- import { ToggleGroup as fo, ToggleGroupItem as po } from "./components/toggle-group/toggle-group.js";
86
- 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, hr as BrandApple, gr as BrandBeehiiv, _r as BrandBing, vr as BrandBluesky, yr as BrandChatgpt, br as BrandEmail, xr as BrandFacebook, Sr as BrandGithub, Cr as BrandGmail, wr as BrandGodaddy, Tr as BrandGoogle, Er as BrandGoogleDocs, Dr as BrandInstagram, Or as BrandLinkedin, kr as BrandMeta, Ar as BrandMicrosoft, jr as BrandOutlook, Mr as BrandPerplexity, Nr as BrandPhone, Pr as BrandReddit, Fr as BrandSearchConsole, Ir as BrandShopify, Lr as BrandSquarespace, Rr as BrandThreads, zr as BrandTiktok, Br as BrandWordpress, Vr as BrandX, Hr as BrandYelp, Ur as BrandYoutube, Wr 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, Qi 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, vn as ConnectNotice, Dn as DataTable, Pn as DatePicker, Fn as DenseTable, In as DenseTableCell, Ln as DenseTableRow, zn as DetailList, Bn as DetailListItem, Vn as Dialog, Hn as DialogClose, Un as DialogContent, Wn as DialogDescription, Gn as DialogFooter, Kn as DialogHeader, qn as DialogOverlay, Jn as DialogPortal, Yn as DialogTitle, Xn as DialogTrigger, Zn as Drawer, Qn as DrawerClose, $n as DrawerContent, er as DrawerDescription, tr as DrawerFooter, nr as DrawerHeader, rr as DrawerOverlay, ir as DrawerPortal, ar as DrawerSwipeHandle, or as DrawerTitle, sr 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, cr as EditableText, lr as Empty, ur as EmptyContent, dr as EmptyDescription, fr as EmptyHeader, pr as EmptyMedia, mr 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, Qr as FilterChips, ii as GoalCard, ci as HoverCard, li as HoverCardContent, ui as HoverCardTrigger, di as IdentityMark, fi as IdentityMarkImage, C as Input, qt as InputGroup, Jt as InputGroupAddon, Yt as InputGroupButton, Xt as InputGroupInput, Zt as InputGroupText, Qt as InputGroupTextarea, pi as Item, mi as ItemActions, hi as ItemContent, gi as ItemDescription, _i as ItemFooter, vi as ItemGroup, yi as ItemHeader, bi as ItemMedia, xi as ItemSeparator, Si as ItemTitle, d as Label, $i as LetterMark, Ci as Marker, wi as MarkerContent, Ti as MarkerIcon, Di as MediaThumbnail, ki as Message, Ai as MessageAvatar, ji as MessageContent, Mi as MessageFooter, Ni as MessageGroup, Pi as MessageHeader, Fi as MetricOverview, Ii as MetricTile, Ri as NativeSelect, zi as NativeSelectOptGroup, Bi as NativeSelectOption, Vi as NavigationAction, Gr as PLATFORMS, Kr as PLATFORM_COLOR, qr as PLATFORM_ICON, Jr as PLATFORM_LABEL, ai as PaceBadge, oi as PaceMeter, Ui as PageHeader, Wi as Pagination, Gi as PaginationContent, Ki as PaginationEllipsis, qi as PaginationItem, Ji as PaginationLink, Yi as PaginationNext, Xi as PaginationPrevious, Xr as PlatformAvatar, Yr as PlatformIcon, On as Popover, kn as PopoverContent, An as PopoverDescription, jn as PopoverHeader, Mn as PopoverTitle, Nn as PopoverTrigger, $r as Progress, ei as ProgressIndicator, ti as ProgressLabel, ni as ProgressTrack, ri as ProgressValue, ea as Questionnaire, ta as QuestionnaireActions, na as QuestionnaireChoice, ra as QuestionnaireChoiceDescription, ia as QuestionnaireChoices, aa as QuestionnaireDescription, oa as QuestionnaireError, sa as QuestionnaireInput, ca as QuestionnaireItem, la as QuestionnaireNext, ua as QuestionnairePrevious, da as QuestionnaireProgress, fa as QuestionnaireSkip, pa as QuestionnaireSubmit, ma as QuestionnaireTitle, ha as RadioGroup, ga as RadioGroupItem, _a as Rating, va as ScrollArea, ya as ScrollBar, ba as SectionHeader, xa as Select, Sa as SelectContent, Ca as SelectGroup, wa as SelectItem, Ta as SelectLabel, Ea as SelectScrollDownButton, Da as SelectScrollUpButton, Oa as SelectSeparator, ka as SelectTrigger, Aa 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, ja as SignalDots, Ma as SignalStrip, pe as Skeleton, Na as Slider, Pa as SourceAvatar, Fa as Sparkline, Ia as Spinner, Ja as StackedBarChart, La as StaleBanner, Ra as StateBanner, gn as StatusIndicator, Ba as SuggestChips, Ya as Switch, yn as Table, bn as TableBody, xn as TableCaption, Sn as TableCell, Cn as TableFooter, wn as TableHead, Tn as TableHeader, En as TableRow, Va as Tabs, Ha as TabsContent, Ua as TabsList, Wa as TabsTrigger, Xa as Tag, Za as TagList, Kt as Textarea, Qa as Toast, $a as ToastAction, eo as ToastClose, to as ToastContent, no as ToastDescription, ro as ToastPortal, io as ToastProvider, ao as ToastTitle, oo as ToastViewport, so as Toaster, Ka as Toggle, fo as ToggleGroup, po 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, co as createToastManager, Ei as markerVariants, Oi as mediaThumbnailVariants, Li as metricTileVariants, Hi as navigationActionVariants, si as paceStatusOf, Rn as sortDenseTableRows, za as stateBannerVariants, _n as statusDotVariants, Ga as tabsListVariants, lo as toast, qa as toggleVariants, Nt as useCarousel, hn as useComboboxAnchor, Ve as useSidebar, uo as useToastManager };
16
+ import { APP_SIDEBAR_DEFAULT_WIDTH as He, APP_SIDEBAR_MAX_WIDTH as Ue, APP_SIDEBAR_MIN_WIDTH as We, APP_SIDEBAR_RAIL_WIDTH as Ge, AppShell as Ke, AppSidebar as qe, AppSidebarWorkspace as Je, AppTopBar as Ye } from "./components/app-shell/app-shell.js";
17
+ import { ApprovalCard as Xe } from "./components/approval-card/approval-card.js";
18
+ import { AspectRatio as Ze } from "./components/aspect-ratio/aspect-ratio.js";
19
+ import { Attachment as Qe, AttachmentAction as $e, AttachmentActions as et, AttachmentContent as tt, AttachmentDescription as nt, AttachmentGroup as rt, AttachmentMedia as it, AttachmentTitle as at, AttachmentTrigger as ot } from "./components/attachment/attachment.js";
20
+ import { Avatar as st, AvatarBadge as ct, AvatarFallback as lt, AvatarGroup as ut, AvatarGroupCount as dt, AvatarImage as ft } from "./components/avatar/avatar.js";
21
+ import { Badge as pt, badgeVariants as mt } from "./components/badge/badge.js";
22
+ import { Breadcrumb as ht, BreadcrumbEllipsis as gt, BreadcrumbItem as _t, BreadcrumbLink as vt, BreadcrumbList as yt, BreadcrumbPage as bt, BreadcrumbSeparator as xt } from "./components/breadcrumb/breadcrumb.js";
23
+ import { Bubble as St, BubbleContent as Ct, BubbleGroup as wt, BubbleReactions as Tt } from "./components/bubble/bubble.js";
24
+ import { ButtonGroup as Et, ButtonGroupSeparator as Dt, ButtonGroupText as Ot, buttonGroupVariants as kt } from "./components/button-group/button-group.js";
25
+ import { Calendar as At, CalendarDayButton as jt } from "./components/calendar/calendar.js";
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
+ 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, chatBarFormVariants as Gt } from "./components/chat-bar/chat-bar.js";
29
+ import { Checkbox as Kt } from "./components/checkbox/checkbox.js";
30
+ import { Collapsible as qt, CollapsibleContent as Jt, CollapsibleTrigger as Yt } from "./components/collapsible/collapsible.js";
31
+ import { Textarea as Xt } from "./components/textarea/textarea.js";
32
+ import { InputGroup as Zt, InputGroupAddon as Qt, InputGroupButton as $t, InputGroupInput as en, InputGroupText as tn, InputGroupTextarea as nn } from "./components/input-group/input-group.js";
33
+ import { Combobox as rn, ComboboxChip as an, ComboboxChips as on, ComboboxChipsInput as sn, ComboboxCollection as cn, ComboboxContent as ln, ComboboxEmpty as un, ComboboxGroup as dn, ComboboxInput as fn, ComboboxItem as pn, ComboboxLabel as mn, ComboboxList as hn, ComboboxSeparator as gn, ComboboxTrigger as _n, ComboboxValue as vn, useComboboxAnchor as yn } from "./components/combobox/combobox.js";
34
+ import { StatusIndicator as bn, statusDotVariants as xn } from "./components/status-indicator/status-indicator.js";
35
+ import { ConnectNotice as Sn } from "./components/connect-notice/connect-notice.js";
36
+ import { Table as Cn, TableBody as wn, TableCaption as Tn, TableCell as En, TableFooter as Dn, TableHead as On, TableHeader as kn, TableRow as An } from "./components/table/table.js";
37
+ import { DataTable as jn } from "./components/data-table/data-table.js";
38
+ import { Popover as Mn, PopoverContent as Nn, PopoverDescription as Pn, PopoverHeader as Fn, PopoverTitle as In, PopoverTrigger as Ln } from "./components/popover/popover.js";
39
+ import { DatePicker as Rn } from "./components/date-picker/date-picker.js";
40
+ import { DenseTable as zn, DenseTableCell as Bn, DenseTableRow as Vn, sortDenseTableRows as Hn } from "./components/dense-table/dense-table.js";
41
+ import { DetailList as Un, DetailListItem as Wn } from "./components/detail-list/detail-list.js";
42
+ import { Dialog as Gn, DialogClose as Kn, DialogContent as qn, DialogDescription as Jn, DialogFooter as Yn, DialogHeader as Xn, DialogOverlay as Zn, DialogPortal as Qn, DialogTitle as $n, DialogTrigger as er } from "./components/dialog/dialog.js";
43
+ import { Drawer as tr, DrawerClose as nr, DrawerContent as rr, DrawerDescription as ir, DrawerFooter as ar, DrawerHeader as or, DrawerOverlay as sr, DrawerPortal as cr, DrawerSwipeHandle as lr, DrawerTitle as ur, DrawerTrigger as dr } from "./components/drawer/drawer.js";
44
+ import { EditableText as fr } from "./components/editable-text/editable-text.js";
45
+ import { Empty as pr, EmptyContent as mr, EmptyDescription as hr, EmptyHeader as gr, EmptyMedia as _r, EmptyTitle as vr } from "./components/empty/empty.js";
46
+ import { BrandApple as yr, BrandBeehiiv as br, BrandBing as xr, BrandBluesky as Sr, BrandChatgpt as Cr, BrandEmail as wr, BrandFacebook as Tr, BrandGithub as Er, BrandGmail as Dr, BrandGodaddy as Or, BrandGoogle as kr, BrandGoogleDocs as Ar, BrandInstagram as jr, BrandLinkedin as Mr, BrandMeta as Nr, BrandMicrosoft as Pr, BrandOutlook as Fr, BrandPerplexity as Ir, BrandPhone as Lr, BrandReddit as Rr, BrandSearchConsole as zr, BrandShopify as Br, BrandSquarespace as Vr, BrandThreads as Hr, BrandTiktok as Ur, BrandWordpress as Wr, BrandX as Gr, BrandYelp as Kr, BrandYoutube as qr, BrandZapier as Jr, PLATFORMS as Yr, PLATFORM_COLOR as Xr, PLATFORM_ICON as Zr, PLATFORM_LABEL as Qr, PlatformIcon as $r } from "./components/platform-icon/platform-icon.js";
47
+ import { PlatformAvatar as ei } from "./components/platform-avatar/platform-avatar.js";
48
+ import { FaceStackButton as ti } from "./components/face-stack-button/face-stack-button.js";
49
+ import { FilterChips as ni } from "./components/filter-chips/filter-chips.js";
50
+ import { Progress as ri, ProgressIndicator as ii, ProgressLabel as ai, ProgressTrack as oi, ProgressValue as si } from "./components/progress/progress.js";
51
+ import { GoalCard as ci, PaceBadge as li, PaceMeter as ui, paceStatusOf as di } from "./components/goal-card/goal-card.js";
52
+ import { HoverCard as fi, HoverCardContent as pi, HoverCardTrigger as mi } from "./components/hover-card/hover-card.js";
53
+ import { IdentityMark as hi, IdentityMarkImage as gi } from "./components/identity-mark/identity-mark.js";
54
+ import { Item as _i, ItemActions as vi, ItemContent as yi, ItemDescription as bi, ItemFooter as xi, ItemGroup as Si, ItemHeader as Ci, ItemMedia as wi, ItemSeparator as Ti, ItemTitle as Ei } from "./components/item/item.js";
55
+ import { Marker as Di, MarkerContent as Oi, MarkerIcon as ki, markerVariants as Ai } from "./components/marker/marker.js";
56
+ import { MediaThumbnail as ji, mediaThumbnailVariants as Mi } from "./components/media-thumbnail/media-thumbnail.js";
57
+ import { Message as Ni, MessageAvatar as Pi, MessageContent as Fi, MessageFooter as Ii, MessageGroup as Li, MessageHeader as Ri } from "./components/message/message.js";
58
+ import { MetricOverview as zi } from "./components/metric-overview/metric-overview.js";
59
+ import { MetricTile as Bi, metricTileVariants as Vi } from "./components/metric-tile/metric-tile.js";
60
+ import { NativeSelect as Hi, NativeSelectOptGroup as Ui, NativeSelectOption as Wi } from "./components/native-select/native-select.js";
61
+ import { NavigationAction as Gi, navigationActionVariants as Ki } from "./components/navigation-action/navigation-action.js";
62
+ import { PageHeader as qi } from "./components/page-header/page-header.js";
63
+ import { Pagination as Ji, PaginationContent as Yi, PaginationEllipsis as Xi, PaginationItem as Zi, PaginationLink as Qi, PaginationNext as $i, PaginationPrevious as ea } from "./components/pagination/pagination.js";
64
+ import { CHANNELS as ta, CHANNEL_COLOR as na } from "./components/platform-icon/channel-color.js";
65
+ import { LetterMark as ra } from "./components/platform-icon/letter-mark.js";
66
+ import { Questionnaire as ia, QuestionnaireActions as aa, QuestionnaireChoice as oa, QuestionnaireChoiceDescription as sa, QuestionnaireChoices as ca, QuestionnaireDescription as la, QuestionnaireError as ua, QuestionnaireInput as da, QuestionnaireItem as fa, QuestionnaireNext as pa, QuestionnairePrevious as ma, QuestionnaireProgress as ha, QuestionnaireSkip as ga, QuestionnaireSubmit as _a, QuestionnaireTitle as va } from "./components/questionnaire/questionnaire.js";
67
+ import { RadioGroup as ya, RadioGroupItem as ba } from "./components/radio-group/radio-group.js";
68
+ import { Rating as xa } from "./components/rating/rating.js";
69
+ import { ScrollArea as Sa, ScrollBar as Ca } from "./components/scroll-area/scroll-area.js";
70
+ import { SectionHeader as wa } from "./components/section-header/section-header.js";
71
+ import { Select as Ta, SelectContent as Ea, SelectGroup as Da, SelectItem as Oa, SelectLabel as ka, SelectScrollDownButton as Aa, SelectScrollUpButton as ja, SelectSeparator as Ma, SelectTrigger as Na, SelectValue as Pa } from "./components/select/select.js";
72
+ import { SignalDots as Fa, SignalStrip as Ia } from "./components/signal-strip/signal-strip.js";
73
+ import { Slider as La } from "./components/slider/slider.js";
74
+ import { SourceAvatar as Ra } from "./components/source-avatar/source-avatar.js";
75
+ import { Sparkline as za } from "./components/sparkline/sparkline.js";
76
+ import { Spinner as Ba } from "./components/spinner/spinner.js";
77
+ import { StaleBanner as Va, StateBanner as Ha, stateBannerVariants as Ua } from "./components/state-banner/state-banner.js";
78
+ import { SuggestChips as Wa } from "./components/suggest-chips/suggest-chips.js";
79
+ import { Tabs as Ga, TabsContent as Ka, TabsList as qa, TabsTrigger as Ja, tabsListVariants as Ya } from "./components/tabs/tabs.js";
80
+ import { Toggle as Xa, toggleVariants as Za } from "./components/toggle/toggle.js";
81
+ import { StackedBarChart as Qa } from "./components/stacked-bar-chart/stacked-bar-chart.js";
82
+ import { Switch as $a } from "./components/switch/switch.js";
83
+ import { Tag as eo, TagList as to } from "./components/tag/tag.js";
84
+ import { Toast as no, ToastAction as ro, ToastClose as io, ToastContent as ao, ToastDescription as oo, ToastPortal as so, ToastProvider as co, ToastTitle as lo, ToastViewport as uo, Toaster as fo, createToastManager as po, toast as mo, useToastManager as ho } from "./components/toast/toast.js";
85
+ import { ToggleGroup as go, ToggleGroupItem as _o } from "./components/toggle-group/toggle-group.js";
86
+ 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, yr as BrandApple, br as BrandBeehiiv, xr as BrandBing, Sr as BrandBluesky, Cr as BrandChatgpt, wr as BrandEmail, Tr as BrandFacebook, Er as BrandGithub, Dr as BrandGmail, Or as BrandGodaddy, kr as BrandGoogle, Ar as BrandGoogleDocs, jr as BrandInstagram, Mr as BrandLinkedin, Nr as BrandMeta, Pr as BrandMicrosoft, Fr as BrandOutlook, Ir as BrandPerplexity, Lr as BrandPhone, Rr as BrandReddit, zr as BrandSearchConsole, Br as BrandShopify, Vr as BrandSquarespace, Hr as BrandThreads, Ur as BrandTiktok, Wr as BrandWordpress, Gr as BrandX, Kr as BrandYelp, qr as BrandYoutube, Jr 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, ta as CHANNELS, na 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, Kt as Checkbox, qt as Collapsible, Jt as CollapsibleContent, Yt as CollapsibleTrigger, rn as Combobox, an as ComboboxChip, on as ComboboxChips, sn as ComboboxChipsInput, cn as ComboboxCollection, ln as ComboboxContent, un as ComboboxEmpty, dn as ComboboxGroup, fn as ComboboxInput, pn as ComboboxItem, mn as ComboboxLabel, hn as ComboboxList, gn as ComboboxSeparator, _n as ComboboxTrigger, vn as ComboboxValue, Sn as ConnectNotice, jn as DataTable, Rn as DatePicker, zn as DenseTable, Bn as DenseTableCell, Vn as DenseTableRow, Un as DetailList, Wn as DetailListItem, Gn as Dialog, Kn as DialogClose, qn as DialogContent, Jn as DialogDescription, Yn as DialogFooter, Xn as DialogHeader, Zn as DialogOverlay, Qn as DialogPortal, $n as DialogTitle, er as DialogTrigger, tr as Drawer, nr as DrawerClose, rr as DrawerContent, ir as DrawerDescription, ar as DrawerFooter, or as DrawerHeader, sr as DrawerOverlay, cr as DrawerPortal, lr as DrawerSwipeHandle, ur as DrawerTitle, dr 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, fr as EditableText, pr as Empty, mr as EmptyContent, hr as EmptyDescription, gr as EmptyHeader, _r as EmptyMedia, vr as EmptyTitle, ti 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, ni as FilterChips, ci as GoalCard, fi as HoverCard, pi as HoverCardContent, mi as HoverCardTrigger, hi as IdentityMark, gi as IdentityMarkImage, C as Input, Zt as InputGroup, Qt as InputGroupAddon, $t as InputGroupButton, en as InputGroupInput, tn as InputGroupText, nn as InputGroupTextarea, _i as Item, vi as ItemActions, yi as ItemContent, bi as ItemDescription, xi as ItemFooter, Si as ItemGroup, Ci as ItemHeader, wi as ItemMedia, Ti as ItemSeparator, Ei as ItemTitle, d as Label, ra as LetterMark, Di as Marker, Oi as MarkerContent, ki as MarkerIcon, ji as MediaThumbnail, Ni as Message, Pi as MessageAvatar, Fi as MessageContent, Ii as MessageFooter, Li as MessageGroup, Ri as MessageHeader, zi as MetricOverview, Bi as MetricTile, Hi as NativeSelect, Ui as NativeSelectOptGroup, Wi as NativeSelectOption, Gi as NavigationAction, Yr as PLATFORMS, Xr as PLATFORM_COLOR, Zr as PLATFORM_ICON, Qr as PLATFORM_LABEL, li as PaceBadge, ui as PaceMeter, qi as PageHeader, Ji as Pagination, Yi as PaginationContent, Xi as PaginationEllipsis, Zi as PaginationItem, Qi as PaginationLink, $i as PaginationNext, ea as PaginationPrevious, ei as PlatformAvatar, $r as PlatformIcon, Mn as Popover, Nn as PopoverContent, Pn as PopoverDescription, Fn as PopoverHeader, In as PopoverTitle, Ln as PopoverTrigger, ri as Progress, ii as ProgressIndicator, ai as ProgressLabel, oi as ProgressTrack, si as ProgressValue, ia as Questionnaire, aa as QuestionnaireActions, oa as QuestionnaireChoice, sa as QuestionnaireChoiceDescription, ca as QuestionnaireChoices, la as QuestionnaireDescription, ua as QuestionnaireError, da as QuestionnaireInput, fa as QuestionnaireItem, pa as QuestionnaireNext, ma as QuestionnairePrevious, ha as QuestionnaireProgress, ga as QuestionnaireSkip, _a as QuestionnaireSubmit, va as QuestionnaireTitle, ya as RadioGroup, ba as RadioGroupItem, xa as Rating, Sa as ScrollArea, Ca as ScrollBar, wa as SectionHeader, Ta as Select, Ea as SelectContent, Da as SelectGroup, Oa as SelectItem, ka as SelectLabel, Aa as SelectScrollDownButton, ja as SelectScrollUpButton, Ma as SelectSeparator, Na as SelectTrigger, Pa 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, Fa as SignalDots, Ia as SignalStrip, pe as Skeleton, La as Slider, Ra as SourceAvatar, za as Sparkline, Ba as Spinner, Qa as StackedBarChart, Va as StaleBanner, Ha as StateBanner, bn as StatusIndicator, Wa as SuggestChips, $a as Switch, Cn as Table, wn as TableBody, Tn as TableCaption, En as TableCell, Dn as TableFooter, On as TableHead, kn as TableHeader, An as TableRow, Ga as Tabs, Ka as TabsContent, qa as TabsList, Ja as TabsTrigger, eo as Tag, to as TagList, Xt as Textarea, no as Toast, ro as ToastAction, io as ToastClose, ao as ToastContent, oo as ToastDescription, so as ToastPortal, co as ToastProvider, lo as ToastTitle, uo as ToastViewport, fo as Toaster, Xa as Toggle, go as ToggleGroup, _o as ToggleGroupItem, me as Tooltip, he as TooltipContent, ge as TooltipProvider, _e as TooltipTrigger, mt as badgeVariants, kt as buttonGroupVariants, r as buttonVariants, Gt as chatBarFormVariants, e as cn, po as createToastManager, Ai as markerVariants, Mi as mediaThumbnailVariants, Vi as metricTileVariants, Ki as navigationActionVariants, di as paceStatusOf, Hn as sortDenseTableRows, Ua as stateBannerVariants, xn as statusDotVariants, Ya as tabsListVariants, mo as toast, Za as toggleVariants, Lt as useCarousel, yn as useComboboxAnchor, Ve as useSidebar, ho as useToastManager };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almanaclabs/blaze-ui",
3
- "version": "0.20.0",
3
+ "version": "0.21.1",
4
4
  "description": "Shared React components and design tokens for Blaze",
5
5
  "type": "module",
6
6
  "sideEffects": [