barua-ui 0.2.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/index.cjs ADDED
@@ -0,0 +1,2750 @@
1
+ "use client";
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
+ Accordion: () => Accordion,
25
+ Account: () => Account,
26
+ AccountSwitcher: () => AccountSwitcher,
27
+ ActionSheet: () => ActionSheet,
28
+ Alert: () => Alert,
29
+ AlertDialog: () => AlertDialog,
30
+ AppGrid: () => AppGrid,
31
+ AppTile: () => AppTile,
32
+ AreaChart: () => AreaChart,
33
+ AsyncImage: () => AsyncImage,
34
+ Audio: () => Audio,
35
+ Auth: () => Auth,
36
+ AuthCard: () => AuthCard,
37
+ Avatar: () => Avatar,
38
+ AvatarGroup: () => AvatarGroup,
39
+ Axis: () => Axis,
40
+ BackButton: () => BackButton,
41
+ Badge: () => Badge,
42
+ Banner: () => Banner,
43
+ Bars: () => Bars,
44
+ BaruaProvider: () => BaruaProvider,
45
+ Bento: () => Bento,
46
+ BottomNav: () => BottomNav,
47
+ BottomNavItem: () => BottomNavItem,
48
+ BottomSheet: () => BottomSheet,
49
+ Breadcrumbs: () => Breadcrumbs,
50
+ BulkActions: () => BulkActions,
51
+ Button: () => Button,
52
+ ButtonGroup: () => ButtonGroup,
53
+ ButtonLink: () => ButtonLink,
54
+ Calendar: () => Calendar,
55
+ CalendarDay: () => CalendarDay,
56
+ CalendarGrid: () => CalendarGrid,
57
+ CalendarHeader: () => CalendarHeader,
58
+ CalendarMonth: () => CalendarMonth,
59
+ CalendarView: () => CalendarView,
60
+ CalendarViewCell: () => CalendarViewCell,
61
+ CalendarViewHead: () => CalendarViewHead,
62
+ CalendarWeekday: () => CalendarWeekday,
63
+ Callout: () => Callout,
64
+ Card: () => Card,
65
+ CardBody: () => CardBody,
66
+ CardEyebrow: () => CardEyebrow,
67
+ CardFooter: () => CardFooter,
68
+ CardGrid: () => CardGrid,
69
+ CardHeader: () => CardHeader,
70
+ CardRail: () => CardRail,
71
+ CardSubtitle: () => CardSubtitle,
72
+ CardTitle: () => CardTitle,
73
+ Carousel: () => Carousel,
74
+ CarouselDots: () => CarouselDots,
75
+ CarouselSlide: () => CarouselSlide,
76
+ CarouselTrack: () => CarouselTrack,
77
+ Chapter: () => Chapter,
78
+ Chart: () => Chart,
79
+ ChartTip: () => ChartTip,
80
+ Checkbox: () => Checkbox,
81
+ Chip: () => Chip,
82
+ CircularProgress: () => CircularProgress,
83
+ CodeBlock: () => CodeBlock,
84
+ Columns: () => Columns,
85
+ Combobox: () => Combobox,
86
+ ComboboxEmpty: () => ComboboxEmpty,
87
+ ComboboxList: () => ComboboxList,
88
+ ComboboxOption: () => ComboboxOption,
89
+ CommandCenter: () => CommandCenter,
90
+ CommandCenterLabel: () => CommandCenterLabel,
91
+ CommandCenterStatus: () => CommandCenterStatus,
92
+ CommandCenterTile: () => CommandCenterTile,
93
+ CommandFooter: () => CommandFooter,
94
+ CommandGroupLabel: () => CommandGroupLabel,
95
+ CommandInput: () => CommandInput,
96
+ CommandItem: () => CommandItem,
97
+ CommandList: () => CommandList,
98
+ CommandPalette: () => CommandPalette,
99
+ Container: () => Container,
100
+ Dashboard: () => Dashboard,
101
+ DataGrid: () => DataGrid,
102
+ DatePicker: () => DatePicker,
103
+ DescriptionList: () => DescriptionList,
104
+ Disclosure: () => Disclosure,
105
+ Divider: () => Divider,
106
+ Dock: () => Dock,
107
+ DockItem: () => DockItem,
108
+ DockTray: () => DockTray,
109
+ Donut: () => Donut,
110
+ DragHandle: () => DragHandle,
111
+ Drawer: () => Drawer,
112
+ DrawerBody: () => DrawerBody,
113
+ DrawerHeader: () => DrawerHeader,
114
+ Dropdown: () => Dropdown,
115
+ Dropzone: () => Dropzone,
116
+ EmptyState: () => EmptyState,
117
+ ErrorText: () => ErrorText,
118
+ Event: () => Event,
119
+ Fab: () => Fab,
120
+ FeatureRow: () => FeatureRow,
121
+ Feed: () => Feed,
122
+ Field: () => Field,
123
+ Fieldset: () => Fieldset,
124
+ Figure: () => Figure,
125
+ FileBrowser: () => FileBrowser,
126
+ FileGrid: () => FileGrid,
127
+ FileTile: () => FileTile,
128
+ FilterBar: () => FilterBar,
129
+ FilterChip: () => FilterChip,
130
+ Footnote: () => Footnote,
131
+ Footnotes: () => Footnotes,
132
+ Form: () => Form,
133
+ FormActions: () => FormActions,
134
+ FormRow: () => FormRow,
135
+ FormSection: () => FormSection,
136
+ Gallery: () => Gallery,
137
+ Gantt: () => Gantt,
138
+ GanttBar: () => GanttBar,
139
+ GanttRow: () => GanttRow,
140
+ Gauge: () => Gauge,
141
+ GlassContainer: () => GlassContainer,
142
+ GlassInteractive: () => GlassInteractive,
143
+ Grid: () => Grid,
144
+ GridLines: () => GridLines,
145
+ GroupBox: () => GroupBox,
146
+ Grow: () => Grow,
147
+ HStack: () => HStack,
148
+ Heatmap: () => Heatmap,
149
+ Help: () => Help,
150
+ Hero: () => Hero,
151
+ HoverCard: () => HoverCard,
152
+ HoverCardHost: () => HoverCardHost,
153
+ Icon: () => Icon,
154
+ IconTile: () => IconTile,
155
+ ImageLens: () => ImageLens,
156
+ ImageViewer: () => ImageViewer,
157
+ ImageViewerBar: () => ImageViewerBar,
158
+ Input: () => Input,
159
+ InputGroup: () => InputGroup,
160
+ Inspector: () => Inspector,
161
+ Kanban: () => Kanban,
162
+ KanbanColumn: () => KanbanColumn,
163
+ KanbanList: () => KanbanList,
164
+ Kbd: () => Kbd,
165
+ Label: () => Label,
166
+ Labeled: () => Labeled,
167
+ Landing: () => Landing,
168
+ Legend: () => Legend,
169
+ Lightbox: () => Lightbox,
170
+ LineChart: () => LineChart,
171
+ LinearGauge: () => LinearGauge,
172
+ Link: () => Link,
173
+ LinkGroup: () => LinkGroup,
174
+ LiquidToggle: () => LiquidToggle,
175
+ List: () => List,
176
+ ListFooter: () => ListFooter,
177
+ ListHeader: () => ListHeader,
178
+ ListItem: () => ListItem,
179
+ Log: () => Log,
180
+ MarketingNav: () => MarketingNav,
181
+ MarketingNavBrand: () => MarketingNavBrand,
182
+ MarketingNavLinks: () => MarketingNavLinks,
183
+ MediaPlaceholder: () => MediaPlaceholder,
184
+ Menu: () => Menu,
185
+ MenuBar: () => MenuBar,
186
+ MenuBarItem: () => MenuBarItem,
187
+ MenuItem: () => MenuItem,
188
+ MenuLabel: () => MenuLabel,
189
+ MenuSeparator: () => MenuSeparator,
190
+ Modal: () => Modal,
191
+ Notification: () => Notification,
192
+ Onboarding: () => Onboarding,
193
+ OnboardingFeature: () => OnboardingFeature,
194
+ OnboardingHero: () => OnboardingHero,
195
+ Optional: () => Optional,
196
+ OtpInput: () => OtpInput,
197
+ Overline: () => Overline,
198
+ Pagination: () => Pagination,
199
+ PaginationEllipsis: () => PaginationEllipsis,
200
+ PaginationItem: () => PaginationItem,
201
+ PillNav: () => PillNav,
202
+ Popover: () => Popover,
203
+ Progress: () => Progress,
204
+ PromoBand: () => PromoBand,
205
+ Quote: () => Quote,
206
+ RadarChart: () => RadarChart,
207
+ Radio: () => Radio,
208
+ Rail: () => Rail,
209
+ RailItem: () => RailItem,
210
+ Range: () => Range,
211
+ Resizable: () => Resizable,
212
+ ResizeHandle: () => ResizeHandle,
213
+ Result: () => Result,
214
+ SafeArea: () => SafeArea,
215
+ ScatterChart: () => ScatterChart,
216
+ ScrollArea: () => ScrollArea,
217
+ SearchField: () => SearchField,
218
+ SearchResult: () => SearchResult,
219
+ SearchResults: () => SearchResults,
220
+ Section: () => Section,
221
+ Segmented: () => Segmented,
222
+ Select: () => Select,
223
+ SelectionCount: () => SelectionCount,
224
+ Share: () => Share,
225
+ Sheet: () => Sheet,
226
+ Sidebar: () => Sidebar,
227
+ SidebarGroup: () => SidebarGroup,
228
+ SidebarHeading: () => SidebarHeading,
229
+ SidebarItem: () => SidebarItem,
230
+ SiteFooter: () => SiteFooter,
231
+ SiteFooterGroup: () => SiteFooterGroup,
232
+ SiteFooterGroups: () => SiteFooterGroups,
233
+ SiteFooterHeading: () => SiteFooterHeading,
234
+ SiteFooterLegal: () => SiteFooterLegal,
235
+ Skeleton: () => Skeleton,
236
+ SkipLink: () => SkipLink,
237
+ Slider: () => Slider,
238
+ SortControl: () => SortControl,
239
+ Spacer: () => Spacer,
240
+ Span: () => Span,
241
+ Sparkline: () => Sparkline,
242
+ SpecStrip: () => SpecStrip,
243
+ Spinner: () => Spinner,
244
+ Split: () => Split,
245
+ SplitButton: () => SplitButton,
246
+ Stack: () => Stack,
247
+ Stage: () => Stage,
248
+ Stat: () => Stat,
249
+ StatusBar: () => StatusBar,
250
+ StatusBarItem: () => StatusBarItem,
251
+ StatusDot: () => StatusDot,
252
+ StepperInput: () => StepperInput,
253
+ Steps: () => Steps,
254
+ StoryCard: () => StoryCard,
255
+ Swatch: () => Swatch,
256
+ Swatches: () => Swatches,
257
+ Switch: () => Switch,
258
+ SysPage: () => SysPage,
259
+ TabPanel: () => TabPanel,
260
+ Table: () => Table,
261
+ TableNum: () => TableNum,
262
+ TableSortHeader: () => TableSortHeader,
263
+ TableWrap: () => TableWrap,
264
+ Tabs: () => Tabs,
265
+ Tag: () => Tag,
266
+ Task: () => Task,
267
+ TaskList: () => TaskList,
268
+ TaskRow: () => TaskRow,
269
+ Text: () => Text,
270
+ Textarea: () => Textarea,
271
+ ThemeScript: () => ThemeScript,
272
+ Thumb: () => Thumb,
273
+ Timeline: () => Timeline,
274
+ Tip: () => Tip,
275
+ ToastProvider: () => ToastProvider,
276
+ ToggleButton: () => ToggleButton,
277
+ Toolbar: () => Toolbar,
278
+ Tooltip: () => Tooltip,
279
+ TopNav: () => TopNav,
280
+ TopNavBrand: () => TopNavBrand,
281
+ TopNavLink: () => TopNavLink,
282
+ TopNavLinks: () => TopNavLinks,
283
+ Tree: () => Tree,
284
+ TreeItem: () => TreeItem,
285
+ Upload: () => Upload,
286
+ UploadItem: () => UploadItem,
287
+ UploadPreview: () => UploadPreview,
288
+ UploadPreviews: () => UploadPreviews,
289
+ VStack: () => VStack,
290
+ Video: () => Video,
291
+ Wall: () => Wall,
292
+ Waveform: () => Waveform,
293
+ Web: () => Web,
294
+ Workspace: () => Workspace,
295
+ WorkspaceMain: () => WorkspaceMain,
296
+ block: () => block,
297
+ buttonClasses: () => buttonClasses,
298
+ cn: () => cn,
299
+ iconNames: () => iconNames,
300
+ useBaruaTheme: () => useBaruaTheme,
301
+ useToast: () => useToast
302
+ });
303
+ module.exports = __toCommonJS(index_exports);
304
+
305
+ // src/provider.tsx
306
+ var import_react2 = require("react");
307
+
308
+ // src/toast.tsx
309
+ var import_react = require("react");
310
+ var import_react_dom = require("react-dom");
311
+
312
+ // src/cn.ts
313
+ function cn(...parts) {
314
+ return parts.filter(Boolean).join(" ");
315
+ }
316
+
317
+ // src/toast.tsx
318
+ var import_jsx_runtime = require("react/jsx-runtime");
319
+ var ToastContext = (0, import_react.createContext)(null);
320
+ var ICONS = {
321
+ success: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { viewBox: "0 0 20 20", fill: "none", children: [
322
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "10", cy: "10", r: "8.25", stroke: "currentColor", strokeWidth: "1.5" }),
323
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "m6.5 10.3 2.3 2.3 4.7-5.2", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
324
+ ] }),
325
+ danger: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { viewBox: "0 0 20 20", fill: "none", children: [
326
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "10", cy: "10", r: "8.25", stroke: "currentColor", strokeWidth: "1.5" }),
327
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M10 6v5m0 3v.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
328
+ ] }),
329
+ warning: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { viewBox: "0 0 20 20", fill: "none", children: [
330
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M10 3.5 18 17H2L10 3.5Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }),
331
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M10 8.5v3.5m0 2.2v.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
332
+ ] }),
333
+ info: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { viewBox: "0 0 20 20", fill: "none", children: [
334
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "10", cy: "10", r: "8.25", stroke: "currentColor", strokeWidth: "1.5" }),
335
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M10 9v5m0-8v.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
336
+ ] })
337
+ };
338
+ function useToast() {
339
+ const push = (0, import_react.useContext)(ToastContext);
340
+ if (!push) throw new Error("useToast must be used within <BaruaProvider>");
341
+ return push;
342
+ }
343
+ function ToastProvider({ children }) {
344
+ const [items, setItems] = (0, import_react.useState)([]);
345
+ const nextId = (0, import_react.useRef)(1);
346
+ const dismiss = (0, import_react.useCallback)((id) => {
347
+ setItems((list) => list.map((t) => t.id === id ? { ...t, leaving: true } : t));
348
+ setTimeout(() => setItems((list) => list.filter((t) => t.id !== id)), 260);
349
+ }, []);
350
+ const push = (0, import_react.useCallback)(
351
+ (opts) => {
352
+ const id = nextId.current++;
353
+ setItems((list) => [...list, { id, variant: "info", duration: 4e3, ...opts }]);
354
+ const duration = opts.duration ?? 4e3;
355
+ if (duration > 0) setTimeout(() => dismiss(id), duration);
356
+ },
357
+ [dismiss]
358
+ );
359
+ const [container, setContainer] = (0, import_react.useState)(null);
360
+ (0, import_react.useEffect)(() => setContainer(document.body), []);
361
+ const region = (0, import_react.useMemo)(
362
+ () => container === null ? null : (0, import_react_dom.createPortal)(
363
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "b-toast-region", "aria-live": "polite", children: items.map((t) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
364
+ "div",
365
+ {
366
+ role: "status",
367
+ className: cn("b-toast", `b-toast--${t.variant}`, t.leaving && "is-leaving"),
368
+ children: [
369
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "b-toast__icon", children: ICONS[t.variant ?? "info"] }),
370
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "b-toast__content", children: [
371
+ t.title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "b-toast__title", children: t.title }),
372
+ t.description && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "b-toast__desc", children: t.description })
373
+ ] }),
374
+ t.action && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
375
+ "button",
376
+ {
377
+ className: "b-toast__action",
378
+ onClick: () => {
379
+ t.action?.onClick();
380
+ dismiss(t.id);
381
+ },
382
+ children: t.action.label
383
+ }
384
+ )
385
+ ]
386
+ },
387
+ t.id
388
+ )) }),
389
+ container
390
+ ),
391
+ [items, dismiss, container]
392
+ );
393
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ToastContext.Provider, { value: push, children: [
394
+ children,
395
+ region
396
+ ] });
397
+ }
398
+
399
+ // src/provider.tsx
400
+ var import_jsx_runtime2 = require("react/jsx-runtime");
401
+ var ThemeContext = (0, import_react2.createContext)(null);
402
+ var MAP_URI = "data:image/svg+xml," + encodeURIComponent(
403
+ '<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256"><defs><linearGradient id="x" x1="0" x2="1" y1="0" y2="0"><stop offset="0" stop-color="#ff0000" stop-opacity="0"/><stop offset="1" stop-color="#ff0000"/></linearGradient><linearGradient id="y" x1="0" x2="0" y1="0" y2="1"><stop offset="0" stop-color="#00ff00" stop-opacity="0"/><stop offset="1" stop-color="#00ff00"/></linearGradient><radialGradient id="c"><stop offset="0" stop-color="#808000"/><stop offset="0.68" stop-color="#808000"/><stop offset="1" stop-color="#808000" stop-opacity="0"/></radialGradient></defs><rect width="256" height="256" fill="#000"/><rect width="256" height="256" fill="url(#x)" style="mix-blend-mode:screen"/><rect width="256" height="256" fill="url(#y)" style="mix-blend-mode:screen"/><rect width="256" height="256" fill="url(#c)"/></svg>'
404
+ );
405
+ function enableRefraction() {
406
+ if (typeof document === "undefined") return;
407
+ if (document.getElementById("b-refract")) {
408
+ document.documentElement.classList.add("b-refract");
409
+ return;
410
+ }
411
+ if (!("chrome" in window) || !CSS.supports("backdrop-filter", "url(#x)")) return;
412
+ const host = document.createElementNS("http://www.w3.org/2000/svg", "svg");
413
+ host.setAttribute("width", "0");
414
+ host.setAttribute("height", "0");
415
+ host.setAttribute("aria-hidden", "true");
416
+ host.style.position = "absolute";
417
+ host.innerHTML = `<filter id="b-refract" x="0" y="0" width="100%" height="100%" color-interpolation-filters="sRGB"><feImage href="${MAP_URI}" preserveAspectRatio="none" result="m"/><feDisplacementMap in="SourceGraphic" in2="m" scale="-32" xChannelSelector="R" yChannelSelector="G"/></filter>`;
418
+ document.body.appendChild(host);
419
+ document.documentElement.classList.add("b-refract");
420
+ }
421
+ function BaruaProvider({
422
+ children,
423
+ theme = "auto",
424
+ accent,
425
+ glass = false,
426
+ refraction = true
427
+ }) {
428
+ (0, import_react2.useEffect)(() => {
429
+ const root = document.documentElement;
430
+ if (theme === "auto") delete root.dataset.theme;
431
+ else root.dataset.theme = theme;
432
+ if (accent && accent !== "blue") root.dataset.accent = accent;
433
+ else delete root.dataset.accent;
434
+ if (glass) root.dataset.glass = "liquid";
435
+ else delete root.dataset.glass;
436
+ }, [theme, accent, glass]);
437
+ (0, import_react2.useEffect)(() => {
438
+ if (refraction) enableRefraction();
439
+ else document.documentElement.classList.remove("b-refract");
440
+ }, [refraction]);
441
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ThemeContext.Provider, { value: { theme }, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ToastProvider, { children }) });
442
+ }
443
+ function useBaruaTheme() {
444
+ const ctx = (0, import_react2.useContext)(ThemeContext);
445
+ if (!ctx) throw new Error("useBaruaTheme must be used within <BaruaProvider>");
446
+ return ctx;
447
+ }
448
+ function ThemeScript() {
449
+ const js = 'try{const t=localStorage.getItem("barua-theme");if(t)document.documentElement.dataset.theme=t;if(localStorage.getItem("barua-glass"))document.documentElement.dataset.glass="liquid"}catch(e){}';
450
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("script", { dangerouslySetInnerHTML: { __html: js } });
451
+ }
452
+
453
+ // src/actions.tsx
454
+ var import_react3 = require("react");
455
+ var import_jsx_runtime3 = require("react/jsx-runtime");
456
+ function buttonClasses(p, extra) {
457
+ return cn(
458
+ "b-btn",
459
+ p.variant === "liquid" ? "b-btn--primary b-btn--liquid" : p.variant && p.variant !== "default" && `b-btn--${p.variant}`,
460
+ p.size && p.size !== "md" && `b-btn--${p.size}`,
461
+ p.pill && "b-btn--pill",
462
+ p.block && "b-btn--block",
463
+ p.loading && "is-loading",
464
+ p.active && "is-active",
465
+ p.icon && "b-icon-btn",
466
+ extra
467
+ );
468
+ }
469
+ var Button = (0, import_react3.forwardRef)(function Button2({ variant, size, pill, block: block2, loading, icon, active, className, children, ...rest }, ref) {
470
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
471
+ "button",
472
+ {
473
+ ref,
474
+ className: buttonClasses({ variant, size, pill, block: block2, loading, icon, active }, className),
475
+ "aria-busy": loading || void 0,
476
+ ...rest,
477
+ children
478
+ }
479
+ );
480
+ });
481
+ var ButtonLink = (0, import_react3.forwardRef)(function ButtonLink2({ variant, size, pill, block: block2, loading, icon, active, className, children, ...rest }, ref) {
482
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
483
+ "a",
484
+ {
485
+ ref,
486
+ className: buttonClasses({ variant, size, pill, block: block2, loading, icon, active }, className),
487
+ ...rest,
488
+ children
489
+ }
490
+ );
491
+ });
492
+ var Fab = (0, import_react3.forwardRef)(function Fab2({ extended, inline, className, style, children, ...rest }, ref) {
493
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
494
+ "button",
495
+ {
496
+ ref,
497
+ className: cn("b-btn", !extended && "b-icon-btn", "b-fab", extended && "b-fab--extended", className),
498
+ style: inline ? { position: "static", ...style } : style,
499
+ ...rest,
500
+ children
501
+ }
502
+ );
503
+ });
504
+ function Toolbar({
505
+ glass,
506
+ className,
507
+ children,
508
+ ...rest
509
+ }) {
510
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { role: "toolbar", className: cn("b-toolbar", glass && "b-toolbar--glass", className), ...rest, children });
511
+ }
512
+
513
+ // src/forms.tsx
514
+ var import_react4 = require("react");
515
+ var import_jsx_runtime4 = require("react/jsx-runtime");
516
+ function Field({ label, help, error, required, htmlFor, className, children }) {
517
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: cn("b-field", error ? "is-invalid" : void 0, className), children: [
518
+ label && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("label", { className: cn("b-label", required && "b-label--required"), htmlFor, children: label }),
519
+ children,
520
+ help && !error && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: "b-help", children: help }),
521
+ error && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: "b-error", role: "alert", children: error })
522
+ ] });
523
+ }
524
+ var Input = (0, import_react4.forwardRef)(function Input2({ filled, density, className, ...rest }, ref) {
525
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
526
+ "input",
527
+ {
528
+ ref,
529
+ className: cn(
530
+ "b-input",
531
+ filled && "b-input--filled",
532
+ density && density !== "md" && `b-input--${density}`,
533
+ className
534
+ ),
535
+ ...rest
536
+ }
537
+ );
538
+ });
539
+ var Textarea = (0, import_react4.forwardRef)(
540
+ function Textarea2({ className, ...rest }, ref) {
541
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("textarea", { ref, className: cn("b-textarea", className), ...rest });
542
+ }
543
+ );
544
+ var Select = (0, import_react4.forwardRef)(
545
+ function Select2({ className, ...rest }, ref) {
546
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("select", { ref, className: cn("b-select", className), ...rest });
547
+ }
548
+ );
549
+ var Checkbox = (0, import_react4.forwardRef)(function Checkbox2({ label, className, ...rest }, ref) {
550
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("label", { className: cn("b-checkbox", className), children: [
551
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("input", { ref, type: "checkbox", ...rest }),
552
+ label && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: label })
553
+ ] });
554
+ });
555
+ var Radio = (0, import_react4.forwardRef)(function Radio2({ label, className, ...rest }, ref) {
556
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("label", { className: cn("b-radio", className), children: [
557
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("input", { ref, type: "radio", ...rest }),
558
+ label && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: label })
559
+ ] });
560
+ });
561
+ var Switch = (0, import_react4.forwardRef)(function Switch2({ label, small, className, ...rest }, ref) {
562
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("label", { className: cn("b-switch", small && "b-switch--sm", className), children: [
563
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("input", { ref, type: "checkbox", role: "switch", ...rest }),
564
+ label && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: label })
565
+ ] });
566
+ });
567
+ var Slider = (0, import_react4.forwardRef)(
568
+ function Slider2({ className, onInput, ...rest }, ref) {
569
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
570
+ "input",
571
+ {
572
+ ref,
573
+ type: "range",
574
+ className: cn("b-slider", className),
575
+ onInput: (e) => {
576
+ const el = e.currentTarget;
577
+ const min = Number(el.min) || 0;
578
+ const max = Number(el.max) || 100;
579
+ el.style.setProperty("--b-slider-fill", `${(Number(el.value) - min) / (max - min) * 100}%`);
580
+ onInput?.(e);
581
+ },
582
+ ...rest
583
+ }
584
+ );
585
+ }
586
+ );
587
+ function OtpInput({
588
+ length = 6,
589
+ value = "",
590
+ onChange,
591
+ invalid,
592
+ className,
593
+ "aria-label": ariaLabel = "One-time code"
594
+ }) {
595
+ const refs = (0, import_react4.useRef)([]);
596
+ const id = (0, import_react4.useId)();
597
+ const emit = (chars) => onChange?.(chars.join(""));
598
+ const setChar = (i, ch) => {
599
+ const chars = Array.from({ length }, (_, j) => value[j] ?? "");
600
+ chars[i] = ch;
601
+ emit(chars);
602
+ };
603
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: cn("b-otp", invalid && "is-invalid", className), role: "group", "aria-label": ariaLabel, children: Array.from({ length }, (_, i) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
604
+ "input",
605
+ {
606
+ id: `${id}-${i}`,
607
+ ref: (el) => {
608
+ refs.current[i] = el;
609
+ },
610
+ inputMode: "numeric",
611
+ autoComplete: i === 0 ? "one-time-code" : "off",
612
+ maxLength: 1,
613
+ "aria-label": `Digit ${i + 1}`,
614
+ className: value[i] ? "is-filled" : void 0,
615
+ value: value[i] ?? "",
616
+ onChange: (e) => {
617
+ const ch = e.target.value.replace(/\D/g, "").slice(-1);
618
+ setChar(i, ch);
619
+ if (ch) refs.current[i + 1]?.focus();
620
+ },
621
+ onKeyDown: (e) => {
622
+ if (e.key === "Backspace" && !value[i]) refs.current[i - 1]?.focus();
623
+ },
624
+ onPaste: (e) => {
625
+ const digits = e.clipboardData.getData("text").replace(/\D/g, "");
626
+ if (!digits) return;
627
+ e.preventDefault();
628
+ emit(Array.from({ length }, (_2, j) => digits[j] ?? ""));
629
+ refs.current[Math.min(digits.length, length - 1)]?.focus();
630
+ }
631
+ },
632
+ i
633
+ )) });
634
+ }
635
+
636
+ // src/content.tsx
637
+ var import_react5 = require("react");
638
+ var import_jsx_runtime5 = require("react/jsx-runtime");
639
+ var Card = (0, import_react5.forwardRef)(function Card2({ variant = "default", interactive, flush, className, ...rest }, ref) {
640
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
641
+ "div",
642
+ {
643
+ ref,
644
+ className: cn(
645
+ "b-card",
646
+ variant !== "default" && `b-card--${variant}`,
647
+ interactive && "b-card--interactive",
648
+ flush && "b-card--flush",
649
+ className
650
+ ),
651
+ ...rest
652
+ }
653
+ );
654
+ });
655
+ var CardHeader = (p) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ...p, className: cn("b-card__header", p.className) });
656
+ var CardBody = (p) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ...p, className: cn("b-card__body", p.className) });
657
+ var CardFooter = (p) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ...p, className: cn("b-card__footer", p.className) });
658
+ var CardTitle = (p) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ...p, className: cn("b-card__title", p.className) });
659
+ var CardSubtitle = (p) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ...p, className: cn("b-card__subtitle", p.className) });
660
+ var CardEyebrow = (p) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ...p, className: cn("b-card__eyebrow", p.className) });
661
+ function StoryCard({
662
+ media,
663
+ eyebrow,
664
+ title,
665
+ subtitle,
666
+ className,
667
+ ...rest
668
+ }) {
669
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: cn("b-card b-card--media-overlay", className), ...rest, children: [
670
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "b-card__media", children: media }),
671
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "b-card__overlay", children: [
672
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "b-card__eyebrow", children: eyebrow }),
673
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "b-card__title", children: title }),
674
+ subtitle && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "b-card__subtitle", children: subtitle })
675
+ ] })
676
+ ] });
677
+ }
678
+ function Badge({ variant = "default", dot, className, ...rest }) {
679
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
680
+ "span",
681
+ {
682
+ className: cn("b-badge", variant !== "default" && `b-badge--${variant}`, dot && "b-badge--dot", className),
683
+ ...rest
684
+ }
685
+ );
686
+ }
687
+ function Tag(p) {
688
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { ...p, className: cn("b-tag", p.className) });
689
+ }
690
+ function Chip({ selected, onRemove, className, children, ...rest }) {
691
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("button", { type: "button", className: cn("b-chip", selected && "is-selected", className), "aria-pressed": selected, ...rest, children: [
692
+ children,
693
+ onRemove && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
694
+ "span",
695
+ {
696
+ role: "button",
697
+ "aria-label": "Remove",
698
+ className: "b-chip__remove",
699
+ onClick: (e) => {
700
+ e.stopPropagation();
701
+ onRemove();
702
+ },
703
+ children: "\u2715"
704
+ }
705
+ )
706
+ ] });
707
+ }
708
+ function Avatar({ size = "md", src, alt, online, square, className, children, ...rest }) {
709
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
710
+ "span",
711
+ {
712
+ className: cn(
713
+ "b-avatar",
714
+ size !== "md" && `b-avatar--${size}`,
715
+ online && "b-avatar--online",
716
+ square && "b-avatar--square",
717
+ className
718
+ ),
719
+ ...rest,
720
+ children: src ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("img", { src, alt: alt ?? "" }) : children
721
+ }
722
+ );
723
+ }
724
+ function AvatarGroup(p) {
725
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { ...p, className: cn("b-avatar-group", p.className) });
726
+ }
727
+ function IconTile({ color = "accent", small, className, ...rest }) {
728
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
729
+ "span",
730
+ {
731
+ className: cn(
732
+ "b-icon-tile",
733
+ small && "b-icon-tile--sm",
734
+ color !== "accent" && `b-icon-tile--${color}`,
735
+ className
736
+ ),
737
+ ...rest
738
+ }
739
+ );
740
+ }
741
+ function List({ plain, insetDividers, className, ...rest }) {
742
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
743
+ "ul",
744
+ {
745
+ className: cn("b-list", plain && "b-list--plain", insetDividers && "b-list--inset-divider", className),
746
+ ...rest
747
+ }
748
+ );
749
+ }
750
+ function ListItem({
751
+ leading,
752
+ title,
753
+ subtitle,
754
+ trailing,
755
+ chevron,
756
+ interactive,
757
+ selected,
758
+ className,
759
+ children,
760
+ ...rest
761
+ }) {
762
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
763
+ "li",
764
+ {
765
+ className: cn("b-list-item", interactive && "b-list-item--interactive", selected && "is-selected", className),
766
+ ...rest,
767
+ children: [
768
+ leading && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "b-list-item__leading", children: leading }),
769
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: "b-list-item__content", children: [
770
+ title && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "b-list-item__title", children: title }),
771
+ subtitle && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "b-list-item__subtitle", children: subtitle }),
772
+ children
773
+ ] }),
774
+ (trailing || chevron) && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: "b-list-item__trailing", children: [
775
+ trailing,
776
+ chevron && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "b-list-item__chevron", children: "\u203A" })
777
+ ] })
778
+ ]
779
+ }
780
+ );
781
+ }
782
+ function Stat({
783
+ label,
784
+ value,
785
+ delta,
786
+ direction,
787
+ className,
788
+ ...rest
789
+ }) {
790
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: cn("b-stat", className), ...rest, children: [
791
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "b-stat__label", children: label }),
792
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "b-stat__value", children: value }),
793
+ delta && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: cn("b-stat__delta", direction === "up" && "is-up", direction === "down" && "is-down"), children: delta })
794
+ ] });
795
+ }
796
+ function EmptyState({
797
+ icon,
798
+ title,
799
+ description,
800
+ action,
801
+ className,
802
+ ...rest
803
+ }) {
804
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: cn("b-empty", className), ...rest, children: [
805
+ icon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "b-empty__icon", children: icon }),
806
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "b-empty__title", children: title }),
807
+ description && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("p", { className: "b-empty__desc", children: description }),
808
+ action
809
+ ] });
810
+ }
811
+ function GroupBox({
812
+ label,
813
+ icon,
814
+ className,
815
+ children,
816
+ ...rest
817
+ }) {
818
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: cn("b-groupbox", className), ...rest, children: [
819
+ label && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "b-groupbox__label", children: [
820
+ icon,
821
+ label
822
+ ] }),
823
+ children
824
+ ] });
825
+ }
826
+ function Labeled({
827
+ label,
828
+ sublabel,
829
+ className,
830
+ children,
831
+ ...rest
832
+ }) {
833
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: cn("b-labeled", className), ...rest, children: [
834
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: "b-labeled__label", children: [
835
+ label,
836
+ sublabel && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("small", { children: sublabel })
837
+ ] }),
838
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "b-labeled__value", children })
839
+ ] });
840
+ }
841
+ var ListHeader = (p) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ...p, className: cn("b-list__header", p.className) });
842
+ var ListFooter = (p) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { ...p, className: cn("b-list__footer", p.className) });
843
+
844
+ // src/feedback.tsx
845
+ var import_jsx_runtime6 = require("react/jsx-runtime");
846
+ function Alert({ variant = "info", title, icon, onClose, className, children, ...rest }) {
847
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
848
+ "div",
849
+ {
850
+ role: variant === "danger" ? "alert" : "status",
851
+ className: cn("b-alert", variant !== "info" && `b-alert--${variant}`, className),
852
+ ...rest,
853
+ children: [
854
+ icon && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "b-alert__icon", children: icon }),
855
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "b-alert__content", children: [
856
+ title && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "b-alert__title", children: title }),
857
+ children && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "b-alert__desc", children })
858
+ ] }),
859
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("button", { className: "b-alert__close", "aria-label": "Dismiss", onClick: onClose, children: "\u2715" })
860
+ ]
861
+ }
862
+ );
863
+ }
864
+ function Progress({ value, size = "md", variant = "accent", label, className, ...rest }) {
865
+ const indeterminate = value == null;
866
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
867
+ "div",
868
+ {
869
+ role: "progressbar",
870
+ "aria-label": label,
871
+ "aria-valuenow": indeterminate ? void 0 : Math.round(value),
872
+ "aria-valuemin": 0,
873
+ "aria-valuemax": 100,
874
+ className: cn(
875
+ "b-progress",
876
+ size !== "md" && `b-progress--${size}`,
877
+ variant !== "accent" && `b-progress--${variant}`,
878
+ indeterminate && "b-progress--indeterminate",
879
+ className
880
+ ),
881
+ ...rest,
882
+ children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "b-progress__fill", style: indeterminate ? void 0 : { width: `${value}%` } })
883
+ }
884
+ );
885
+ }
886
+ function Spinner({ size = "md", className, ...rest }) {
887
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
888
+ "span",
889
+ {
890
+ role: "status",
891
+ "aria-label": "Loading",
892
+ className: cn("b-spinner", size !== "md" && `b-spinner--${size}`, className),
893
+ ...rest
894
+ }
895
+ );
896
+ }
897
+ function Skeleton({
898
+ kind = "text",
899
+ className,
900
+ ...rest
901
+ }) {
902
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { "aria-hidden": "true", className: cn("b-skeleton", `b-skeleton--${kind}`, className), ...rest });
903
+ }
904
+ function StatusDot({
905
+ state = "neutral",
906
+ pulse,
907
+ className,
908
+ children,
909
+ ...rest
910
+ }) {
911
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
912
+ "span",
913
+ {
914
+ className: cn("b-status", state !== "neutral" && `b-status--${state}`, pulse && "b-status--pulse", className),
915
+ ...rest,
916
+ children
917
+ }
918
+ );
919
+ }
920
+ function Tip({
921
+ icon,
922
+ title,
923
+ description,
924
+ actions,
925
+ onClose,
926
+ className,
927
+ ...rest
928
+ }) {
929
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: cn("b-tip", className), ...rest, children: [
930
+ icon && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "b-tip__icon", children: icon }),
931
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "b-tip__content", children: [
932
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "b-tip__title", children: title }),
933
+ description && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "b-tip__desc", children: description }),
934
+ actions && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "b-tip__actions", children: actions })
935
+ ] }),
936
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("button", { className: "b-tip__close", "aria-label": "Dismiss tip", onClick: onClose, children: "\u2715" })
937
+ ] });
938
+ }
939
+ function LinearGauge({
940
+ value,
941
+ minLabel,
942
+ maxLabel,
943
+ plain,
944
+ label,
945
+ className,
946
+ ...rest
947
+ }) {
948
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
949
+ "div",
950
+ {
951
+ role: "meter",
952
+ "aria-label": label,
953
+ "aria-valuenow": Math.round(value),
954
+ "aria-valuemin": 0,
955
+ "aria-valuemax": 100,
956
+ className: cn("b-gauge-linear", className),
957
+ ...rest,
958
+ children: [
959
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: cn("b-gauge-linear__track", plain && "b-gauge-linear__track--plain"), children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "b-gauge-linear__marker", style: { "--v": `${value}%` } }) }),
960
+ (minLabel != null || maxLabel != null) && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "b-gauge-linear__labels", children: [
961
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { children: minLabel }),
962
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { children: maxLabel })
963
+ ] })
964
+ ]
965
+ }
966
+ );
967
+ }
968
+
969
+ // src/overlays.tsx
970
+ var import_react6 = require("react");
971
+ var import_jsx_runtime7 = require("react/jsx-runtime");
972
+ function useDialog(open) {
973
+ const ref = (0, import_react6.useRef)(null);
974
+ (0, import_react6.useEffect)(() => {
975
+ const d = ref.current;
976
+ if (!d) return;
977
+ if (open && !d.open) d.showModal();
978
+ else if (!open && d.open) d.close();
979
+ }, [open]);
980
+ return ref;
981
+ }
982
+ function backdropClose(onClose, dismissable = true) {
983
+ return (e) => {
984
+ if (!dismissable || !onClose) return;
985
+ if (e.target === e.currentTarget) onClose();
986
+ };
987
+ }
988
+ function Modal({
989
+ open,
990
+ onClose,
991
+ dismissable = true,
992
+ title,
993
+ footer,
994
+ size = "md",
995
+ glass,
996
+ className,
997
+ children,
998
+ ...rest
999
+ }) {
1000
+ const ref = useDialog(open);
1001
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
1002
+ "dialog",
1003
+ {
1004
+ ref,
1005
+ onClose: () => onClose?.(),
1006
+ onClick: backdropClose(onClose, dismissable),
1007
+ className: cn("b-modal", size !== "md" && `b-modal--${size}`, glass && "b-modal--glass", className),
1008
+ ...rest,
1009
+ children: [
1010
+ title != null && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("header", { className: "b-modal__header", children: [
1011
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("h2", { className: "b-modal__title", children: title }),
1012
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("button", { className: "b-modal__close", "aria-label": "Close", onClick: () => onClose?.(), children: "\u2715" })
1013
+ ] }),
1014
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "b-modal__body", children }),
1015
+ footer && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("footer", { className: "b-modal__footer", children: footer })
1016
+ ]
1017
+ }
1018
+ );
1019
+ }
1020
+ function AlertDialog({
1021
+ open,
1022
+ onClose,
1023
+ title,
1024
+ description,
1025
+ actions,
1026
+ row,
1027
+ className,
1028
+ ...rest
1029
+ }) {
1030
+ const ref = useDialog(open);
1031
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
1032
+ "dialog",
1033
+ {
1034
+ ref,
1035
+ onClose: () => onClose?.(),
1036
+ className: cn("b-modal b-alert-dialog", className),
1037
+ ...rest,
1038
+ children: [
1039
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "b-modal__body", children: [
1040
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "b-alert-dialog__title", children: title }),
1041
+ description && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { className: "b-alert-dialog__desc", children: description })
1042
+ ] }),
1043
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: cn("b-alert-dialog__actions", row && "b-alert-dialog__actions--row"), children: actions.map((a, i) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1044
+ "button",
1045
+ {
1046
+ className: cn(a.destructive && "is-destructive", a.primary && "is-primary"),
1047
+ onClick: a.onClick,
1048
+ children: a.label
1049
+ },
1050
+ i
1051
+ )) })
1052
+ ]
1053
+ }
1054
+ );
1055
+ }
1056
+ function Sheet({
1057
+ open,
1058
+ onClose,
1059
+ dismissable = true,
1060
+ title,
1061
+ className,
1062
+ children,
1063
+ ...rest
1064
+ }) {
1065
+ const ref = useDialog(open);
1066
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
1067
+ "dialog",
1068
+ {
1069
+ ref,
1070
+ onClose: () => onClose?.(),
1071
+ onClick: backdropClose(onClose, dismissable),
1072
+ className: cn("b-sheet", className),
1073
+ ...rest,
1074
+ children: [
1075
+ title != null && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("header", { className: "b-sheet__header", children: [
1076
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("h2", { className: "b-modal__title", children: title }),
1077
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("button", { className: "b-modal__close", "aria-label": "Close", onClick: () => onClose?.(), children: "\u2715" })
1078
+ ] }),
1079
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "b-sheet__body", children })
1080
+ ]
1081
+ }
1082
+ );
1083
+ }
1084
+ function BottomSheet({
1085
+ open,
1086
+ onClose,
1087
+ dismissable = true,
1088
+ detent,
1089
+ className,
1090
+ children,
1091
+ ...rest
1092
+ }) {
1093
+ const ref = useDialog(open);
1094
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
1095
+ "dialog",
1096
+ {
1097
+ ref,
1098
+ onClose: () => onClose?.(),
1099
+ onClick: backdropClose(onClose, dismissable),
1100
+ className: cn("b-bottom-sheet", detent && `b-bottom-sheet--${detent}`, className),
1101
+ ...rest,
1102
+ children: [
1103
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "b-bottom-sheet__grabber", "aria-hidden": "true" }),
1104
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "b-bottom-sheet__body", children })
1105
+ ]
1106
+ }
1107
+ );
1108
+ }
1109
+ function Popover({ title, arrow, card, anchored, className, children, ...rest }) {
1110
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
1111
+ "div",
1112
+ {
1113
+ className: cn(
1114
+ "b-popover",
1115
+ arrow && `b-popover--arrow-${arrow}`,
1116
+ card && "b-popover--card",
1117
+ anchored && "b-popover--anchored",
1118
+ className
1119
+ ),
1120
+ ...rest,
1121
+ children: [
1122
+ title && !card && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "b-popover__title", children: title }),
1123
+ children
1124
+ ]
1125
+ }
1126
+ );
1127
+ }
1128
+ function Tooltip({
1129
+ label,
1130
+ below,
1131
+ className,
1132
+ children,
1133
+ ...rest
1134
+ }) {
1135
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1136
+ "span",
1137
+ {
1138
+ "data-tooltip": label,
1139
+ className: cn("b-tooltip-host", below && "b-tooltip-host--bottom", className),
1140
+ ...rest,
1141
+ children
1142
+ }
1143
+ );
1144
+ }
1145
+ function ActionSheet({
1146
+ open,
1147
+ onClose,
1148
+ title,
1149
+ actions,
1150
+ cancelLabel = "Cancel",
1151
+ className,
1152
+ ...rest
1153
+ }) {
1154
+ const ref = useDialog(open);
1155
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("dialog", { ref, onClose: () => onClose?.(), className: cn("b-action-sheet", className), ...rest, children: [
1156
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "b-action-sheet__group", children: [
1157
+ title && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { className: "b-action-sheet__title", children: title }),
1158
+ actions.map((a, i) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("button", { className: cn(a.destructive && "is-destructive"), onClick: a.onClick, children: a.label }, i))
1159
+ ] }),
1160
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "b-action-sheet__group b-action-sheet__cancel", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("button", { onClick: () => onClose?.(), children: cancelLabel }) })
1161
+ ] });
1162
+ }
1163
+
1164
+ // src/nav.tsx
1165
+ var import_react7 = require("react");
1166
+ var import_jsx_runtime8 = require("react/jsx-runtime");
1167
+ function Segmented({
1168
+ options,
1169
+ value,
1170
+ onChange,
1171
+ block: block2,
1172
+ label,
1173
+ className,
1174
+ ...rest
1175
+ }) {
1176
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1177
+ "div",
1178
+ {
1179
+ role: "group",
1180
+ "aria-label": label,
1181
+ className: cn("b-segmented", block2 && "b-segmented--block", className),
1182
+ ...rest,
1183
+ children: options.map((o) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1184
+ "button",
1185
+ {
1186
+ type: "button",
1187
+ className: cn("b-segmented__item", o.value === value && "is-active"),
1188
+ "aria-pressed": o.value === value,
1189
+ onClick: () => onChange(o.value),
1190
+ children: o.label
1191
+ },
1192
+ o.value
1193
+ ))
1194
+ }
1195
+ );
1196
+ }
1197
+ function Tabs({
1198
+ items,
1199
+ value,
1200
+ onChange,
1201
+ className,
1202
+ ...rest
1203
+ }) {
1204
+ const id = (0, import_react7.useId)();
1205
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { role: "tablist", className: cn("b-tabs", className), ...rest, children: items.map((t, i) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1206
+ "button",
1207
+ {
1208
+ role: "tab",
1209
+ id: `${id}-tab-${t.id}`,
1210
+ "aria-selected": t.id === value,
1211
+ "aria-controls": `${id}-panel-${t.id}`,
1212
+ tabIndex: t.id === value ? 0 : -1,
1213
+ className: "b-tab",
1214
+ onClick: () => onChange(t.id),
1215
+ onKeyDown: (e) => {
1216
+ const dir = e.key === "ArrowRight" ? 1 : e.key === "ArrowLeft" ? -1 : 0;
1217
+ if (!dir) return;
1218
+ e.preventDefault();
1219
+ const next = items[(i + dir + items.length) % items.length];
1220
+ onChange(next.id);
1221
+ },
1222
+ children: t.label
1223
+ },
1224
+ t.id
1225
+ )) });
1226
+ }
1227
+ function TabPanel({
1228
+ active,
1229
+ className,
1230
+ ...rest
1231
+ }) {
1232
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { role: "tabpanel", hidden: !active, className: cn("b-tabpanel", className), ...rest });
1233
+ }
1234
+ function Breadcrumbs({
1235
+ items,
1236
+ className,
1237
+ ...rest
1238
+ }) {
1239
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("nav", { "aria-label": "Breadcrumb", ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("ol", { className: cn("b-breadcrumbs", className), children: items.map((c, i) => {
1240
+ const last = i === items.length - 1;
1241
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("li", { children: c.href && !last ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("a", { href: c.href, children: c.label }) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { "aria-current": last ? "page" : void 0, children: c.label }) }, i);
1242
+ }) }) });
1243
+ }
1244
+
1245
+ // src/icon.tsx
1246
+ var import_react8 = require("react");
1247
+ var import_jsx_runtime9 = require("react/jsx-runtime");
1248
+ var iconNames = [
1249
+ "arrow-up-right",
1250
+ "backward",
1251
+ "bell",
1252
+ "bolt",
1253
+ "bookmark",
1254
+ "calendar",
1255
+ "camera",
1256
+ "check",
1257
+ "chevron-down",
1258
+ "chevron-left",
1259
+ "chevron-right",
1260
+ "chevron-up",
1261
+ "clock",
1262
+ "close",
1263
+ "doc",
1264
+ "download",
1265
+ "drop",
1266
+ "filter",
1267
+ "flame",
1268
+ "folder",
1269
+ "forward",
1270
+ "garage",
1271
+ "gear",
1272
+ "grid",
1273
+ "heart",
1274
+ "house",
1275
+ "info",
1276
+ "lightbulb",
1277
+ "link",
1278
+ "lock",
1279
+ "mail",
1280
+ "message",
1281
+ "mic",
1282
+ "moon-stars",
1283
+ "music-note",
1284
+ "newspaper",
1285
+ "pause",
1286
+ "pencil",
1287
+ "people",
1288
+ "person",
1289
+ "photo",
1290
+ "pin",
1291
+ "play",
1292
+ "plus",
1293
+ "refresh",
1294
+ "repeat",
1295
+ "search",
1296
+ "send",
1297
+ "share",
1298
+ "shield",
1299
+ "sliders",
1300
+ "sparkles",
1301
+ "speaker",
1302
+ "star",
1303
+ "sun",
1304
+ "trash",
1305
+ "warning",
1306
+ "waveform",
1307
+ "wifi"
1308
+ ];
1309
+ var GLYPHS = {
1310
+ "arrow-up-right": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M6 14 14 6M7.5 6H14v6.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
1311
+ "backward": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1312
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M5.5 4.5v11", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round" }),
1313
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M15 5.6v8.8a.6.6 0 0 1-.93.5L7.6 10.5a.6.6 0 0 1 0-1l6.47-4.4a.6.6 0 0 1 .93.5Z", fill: "currentColor" })
1314
+ ] }),
1315
+ "bell": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1316
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 3.5A4.5 4.5 0 0 1 14.5 8c0 3 1 4 1.5 4.5H4c.5-.5 1.5-1.5 1.5-4.5A4.5 4.5 0 0 1 10 3.5Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }),
1317
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M8.5 15.5a1.6 1.6 0 0 0 3 0", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1318
+ ] }),
1319
+ "bolt": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M11 3 5 11h4l-1 6 6-8h-4l1-6Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }) }),
1320
+ "bookmark": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M5.5 5A1.5 1.5 0 0 1 7 3.5h6A1.5 1.5 0 0 1 14.5 5v11.5L10 13l-4.5 3.5V5Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }) }),
1321
+ "calendar": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1322
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "3.5", y: "4.5", width: "13", height: "12", rx: "2", stroke: "currentColor", strokeWidth: "1.5" }),
1323
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M7 3v3M13 3v3M3.5 8.5h13", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1324
+ ] }),
1325
+ "camera": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1326
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3.5 7A1.5 1.5 0 0 1 5 5.5h1.5L8 3.5h4l1.5 2H15A1.5 1.5 0 0 1 16.5 7v7a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 14V7Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }),
1327
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "10", cy: "10.5", r: "2.8", stroke: "currentColor", strokeWidth: "1.5" })
1328
+ ] }),
1329
+ "check": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M4 10.5 8.5 15 16 5.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
1330
+ "chevron-down": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m5 8 5 5 5-5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
1331
+ "chevron-left": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12 5l-5 5 5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
1332
+ "chevron-right": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m8 5 5 5-5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
1333
+ "chevron-up": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m5 12 5-5 5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
1334
+ "clock": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1335
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "10", cy: "10", r: "6.5", stroke: "currentColor", strokeWidth: "1.5" }),
1336
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 6.5V10l2.5 2", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1337
+ ] }),
1338
+ "close": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m5 5 10 10M15 5 5 15", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }) }),
1339
+ "doc": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1340
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M5.5 3.5h6L15 7v9.5H5.5V3.5Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }),
1341
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M11.5 3.5V7H15M8 10.5h4M8 13h4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1342
+ ] }),
1343
+ "download": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 3.5v9M6.5 9.5l3.5 3 3.5-3M4 16.5h12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
1344
+ "drop": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 2.8C7.7 6 5.5 8.6 5.5 11.4a4.5 4.5 0 0 0 9 0c0-2.8-2.2-5.4-4.5-8.6Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }) }),
1345
+ "filter": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3.5 5.5h13M6 10h8M8.5 14.5h3", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }) }),
1346
+ "flame": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 3c-2.5 3-4.5 5.2-4.5 7.4a4.5 4.5 0 0 0 9 0C14.5 8.2 12.5 6 10 3Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }) }),
1347
+ "folder": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3.5 5.5A1.5 1.5 0 0 1 5 4h3l1.5 2H15a1.5 1.5 0 0 1 1.5 1.5V14a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 14V5.5Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }) }),
1348
+ "forward": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1349
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M14.5 4.5v11", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round" }),
1350
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M5 5.6v8.8a.6.6 0 0 0 .93.5l6.47-4.4a.6.6 0 0 0 0-1L5.93 5.1a.6.6 0 0 0-.93.5Z", fill: "currentColor" })
1351
+ ] }),
1352
+ "garage": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3 9.5 10 4l7 5.5M5 8.5V16h10V8.5M7 11h6M7 13.5h6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
1353
+ "gear": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1354
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "10", cy: "10", r: "2.5", stroke: "currentColor", strokeWidth: "1.5" }),
1355
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 2.5v3M10 14.5v3M2.5 10h3M14.5 10h3M4.7 4.7l2.1 2.1M13.2 13.2l2.1 2.1M15.3 4.7l-2.1 2.1M6.8 13.2l-2.1 2.1", stroke: "currentColor", strokeWidth: "1.3", strokeLinecap: "round" })
1356
+ ] }),
1357
+ "grid": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1358
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "3.5", y: "3.5", width: "5.5", height: "5.5", rx: "1.5", stroke: "currentColor", strokeWidth: "1.5" }),
1359
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "11", y: "3.5", width: "5.5", height: "5.5", rx: "1.5", stroke: "currentColor", strokeWidth: "1.5" }),
1360
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "3.5", y: "11", width: "5.5", height: "5.5", rx: "1.5", stroke: "currentColor", strokeWidth: "1.5" }),
1361
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "11", y: "11", width: "5.5", height: "5.5", rx: "1.5", stroke: "currentColor", strokeWidth: "1.5" })
1362
+ ] }),
1363
+ "heart": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 16.5S3.5 12.5 3.5 8.2A3.6 3.6 0 0 1 10 6a3.6 3.6 0 0 1 6.5 2.2c0 4.3-6.5 8.3-6.5 8.3Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }) }),
1364
+ "house": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3 9.5 10 4l7 5.5M5 8.5V16h10V8.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
1365
+ "info": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1366
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "10", cy: "10", r: "6.5", stroke: "currentColor", strokeWidth: "1.5" }),
1367
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 9v4M10 6.4h.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1368
+ ] }),
1369
+ "lightbulb": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 3a5 5 0 0 0-2.5 9.3V14a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1.7A5 5 0 0 0 10 3ZM8.5 17h3", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
1370
+ "link": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M8.5 11.5a3 3 0 0 0 4.2 0l2.5-2.5a3 3 0 1 0-4.2-4.2l-1 1M11.5 8.5a3 3 0 0 0-4.2 0L4.8 11a3 3 0 1 0 4.2 4.2l1-1", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }) }),
1371
+ "lock": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1372
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "5", y: "9", width: "10", height: "7", rx: "2", stroke: "currentColor", strokeWidth: "1.5" }),
1373
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M7 9V6.5a3 3 0 0 1 6 0V9", stroke: "currentColor", strokeWidth: "1.5" })
1374
+ ] }),
1375
+ "mail": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1376
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "3", y: "4.5", width: "14", height: "11", rx: "2", stroke: "currentColor", strokeWidth: "1.5" }),
1377
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m4.5 7 5.5 4 5.5-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1378
+ ] }),
1379
+ "message": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M5.5 4h9a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H8.5l-3 3v-3a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }) }),
1380
+ "mic": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1381
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "7.5", y: "3.5", width: "5", height: "9", rx: "2.5", stroke: "currentColor", strokeWidth: "1.5" }),
1382
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M5.5 10a4.5 4.5 0 0 0 9 0M10 14.5v2", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1383
+ ] }),
1384
+ "moon-stars": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1385
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M14.5 12.5A6 6 0 0 1 7.5 5.5 6 6 0 1 0 14.5 12.5Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }),
1386
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m14 3.5.6 1.4 1.4.6-1.4.6-.6 1.4-.6-1.4-1.4-.6 1.4-.6.6-1.4Z", fill: "currentColor" })
1387
+ ] }),
1388
+ "music-note": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1389
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M8 15.5V5l7-1.5V13", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1390
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "6", cy: "15.5", r: "2", stroke: "currentColor", strokeWidth: "1.5" }),
1391
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "13", cy: "13", r: "2", stroke: "currentColor", strokeWidth: "1.5" })
1392
+ ] }),
1393
+ "newspaper": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1394
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "3", y: "4", width: "14", height: "12", rx: "1.8", stroke: "currentColor", strokeWidth: "1.5" }),
1395
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M6 7.5h4.5v3.5H6zM13 7.5h1M13 11h1M6 13.5h8", stroke: "currentColor", strokeWidth: "1.4", strokeLinecap: "round", strokeLinejoin: "round" })
1396
+ ] }),
1397
+ "pause": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M6 4.5h2.5v11H6zM11.5 4.5H14v11h-2.5z" }) }),
1398
+ "pencil": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1399
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m4 16 .8-3.2 8.8-8.8a1.4 1.4 0 0 1 2 0l.4.4a1.4 1.4 0 0 1 0 2l-8.8 8.8L4 16Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }),
1400
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m12.5 5.5 2 2", stroke: "currentColor", strokeWidth: "1.5" })
1401
+ ] }),
1402
+ "people": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1403
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "7.5", cy: "7", r: "2.6", stroke: "currentColor", strokeWidth: "1.5" }),
1404
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M2.5 16a5 5 0 0 1 10 0", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
1405
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M13 4.6a2.6 2.6 0 0 1 0 4.9M14.5 11.6a5 5 0 0 1 3 4.4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1406
+ ] }),
1407
+ "person": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1408
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "10", cy: "6.5", r: "3", stroke: "currentColor", strokeWidth: "1.5" }),
1409
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M4 16.5a6 6 0 0 1 12 0", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1410
+ ] }),
1411
+ "photo": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1412
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "3.5", y: "4.5", width: "13", height: "11", rx: "2", stroke: "currentColor", strokeWidth: "1.5" }),
1413
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "7.5", cy: "8", r: "1.2", fill: "currentColor" }),
1414
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m5 14 3.5-3.5 2 2L14 9l2.5 3", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1415
+ ] }),
1416
+ "pin": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1417
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 17s-5-4.3-5-8a5 5 0 0 1 10 0c0 3.7-5 8-5 8Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }),
1418
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "10", cy: "9", r: "1.8", stroke: "currentColor", strokeWidth: "1.5" })
1419
+ ] }),
1420
+ "play": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M7 4.9v10.2a.6.6 0 0 0 .92.5l8-5.1a.6.6 0 0 0 0-1l-8-5.1a.6.6 0 0 0-.92.5Z" }) }),
1421
+ "plus": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 4v12M4 10h12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }) }),
1422
+ "refresh": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M15.8 10A5.8 5.8 0 1 1 13 5.1M15.8 3.5v3.2h-3.2", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
1423
+ "repeat": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M5.5 8V7A2.5 2.5 0 0 1 8 4.5h6.5M12.5 2.5l2 2-2 2M14.5 12v1a2.5 2.5 0 0 1-2.5 2.5H5.5M7.5 17.5l-2-2 2-2", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
1424
+ "search": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1425
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "9", cy: "9", r: "5.5", stroke: "currentColor", strokeWidth: "1.5" }),
1426
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m13.5 13.5 3 3", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1427
+ ] }),
1428
+ "send": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m3.5 10 13-6-3.5 13-3.5-4.5L3.5 10Zm6 2.5L13 7", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }) }),
1429
+ "share": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1430
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 12.5v-9M7 6l3-2.8L13 6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1431
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M5.5 9.5H5A1.5 1.5 0 0 0 3.5 11v4A1.5 1.5 0 0 0 5 16.5h10a1.5 1.5 0 0 0 1.5-1.5v-4A1.5 1.5 0 0 0 15 9.5h-.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1432
+ ] }),
1433
+ "shield": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1434
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 3l6 2v5c0 3.5-2.5 5.8-6 7-3.5-1.2-6-3.5-6-7V5l6-2Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }),
1435
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m7.5 10 1.8 1.8L13 8.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1436
+ ] }),
1437
+ "sliders": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1438
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M3.5 6.5h5M12 6.5h4.5M3.5 13.5h3M10 13.5h6.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
1439
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "10.2", cy: "6.5", r: "1.8", stroke: "currentColor", strokeWidth: "1.5" }),
1440
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "8.2", cy: "13.5", r: "1.8", stroke: "currentColor", strokeWidth: "1.5" })
1441
+ ] }),
1442
+ "sparkles": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1443
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 3l1.2 3.3 3.3 1.2-3.3 1.2L10 12 8.8 8.7 5.5 7.5l3.3-1.2L10 3Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }),
1444
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m14.8 11.5.7 1.8 1.8.7-1.8.7-.7 1.8-.7-1.8-1.8-.7 1.8-.7.7-1.8Z", stroke: "currentColor", strokeWidth: "1.3", strokeLinejoin: "round" })
1445
+ ] }),
1446
+ "speaker": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1447
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M4 8v4h2.5L10 15V5L6.5 8H4Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }),
1448
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M12.5 7.5a3.5 3.5 0 0 1 0 5M14.5 5.5a6 6 0 0 1 0 9", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1449
+ ] }),
1450
+ "star": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "m10 3 2 4.4 4.8.5-3.6 3.2 1 4.7L10 13.4l-4.2 2.4 1-4.7L3.2 7.9 8 7.4 10 3Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }) }),
1451
+ "sun": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1452
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "10", cy: "10", r: "4", stroke: "currentColor", strokeWidth: "1.5" }),
1453
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 1.5v2m0 13v2M18.5 10h-2m-13 0h-2m14.5-6-1.4 1.4M4.9 15.1 3.5 16.5m0-13 1.4 1.4m10.2 10.2 1.4 1.4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1454
+ ] }),
1455
+ "trash": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M4 6h12M8 6V4.5h4V6M6.5 6l.5 10h6l.5-10M8.5 9v4M11.5 9v4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
1456
+ "warning": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1457
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 3.5 18 17H2L10 3.5Z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }),
1458
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10 8.5V12M10 14.5h.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1459
+ ] }),
1460
+ "waveform": /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M4 8.5v3M7 6v8M10 4v12M13 6.5v7M16 8.5v3", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }) }),
1461
+ "wifi": /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1462
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M2.5 8a11 11 0 0 1 15 0M5 11a7.3 7.3 0 0 1 10 0M7.6 13.8a3.6 3.6 0 0 1 4.8 0", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
1463
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "10", cy: "16.2", r: "1.1", fill: "currentColor" })
1464
+ ] })
1465
+ };
1466
+ var Icon = (0, import_react8.forwardRef)(function Icon2({ name, size, title, className, ...rest }, ref) {
1467
+ const glyph = GLYPHS[name];
1468
+ if (!glyph) return null;
1469
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1470
+ "svg",
1471
+ {
1472
+ ref,
1473
+ className: cn("b-icon", size && size !== "md" && `b-icon--${size}`, className),
1474
+ viewBox: "0 0 20 20",
1475
+ fill: "none",
1476
+ role: title ? "img" : void 0,
1477
+ "aria-hidden": title ? void 0 : true,
1478
+ ...rest,
1479
+ children: [
1480
+ title ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("title", { children: title }) : null,
1481
+ glyph
1482
+ ]
1483
+ }
1484
+ );
1485
+ });
1486
+
1487
+ // src/primitive.tsx
1488
+ var import_react9 = require("react");
1489
+ function block(defaultTag, base, displayName) {
1490
+ const Component = (0, import_react9.forwardRef)(function Block({ as, className, ...rest }, ref) {
1491
+ return (0, import_react9.createElement)(as ?? defaultTag, { ref, className: cn(base, className), ...rest });
1492
+ });
1493
+ Component.displayName = displayName;
1494
+ return Component;
1495
+ }
1496
+
1497
+ // src/layout.tsx
1498
+ var import_react10 = require("react");
1499
+ var import_jsx_runtime10 = require("react/jsx-runtime");
1500
+ function stackClasses(base, p, className) {
1501
+ return cn(
1502
+ base,
1503
+ p.gap !== void 0 && `b-gap-${p.gap}`,
1504
+ p.align && `b-stack--${p.align}`,
1505
+ p.wrap && "b-stack--wrap",
1506
+ className
1507
+ );
1508
+ }
1509
+ var Stack = (0, import_react10.forwardRef)(function Stack2({ as: Tag2 = "div", gap, align, wrap, className, children, ...rest }, ref) {
1510
+ const Component = Tag2;
1511
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Component, { ref, className: stackClasses("b-stack", { gap, align, wrap }, className), ...rest, children });
1512
+ });
1513
+ var VStack = Stack;
1514
+ var HStack = (0, import_react10.forwardRef)(function HStack2({ as: Tag2 = "div", gap, align, wrap, className, children, ...rest }, ref) {
1515
+ const Component = Tag2;
1516
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Component, { ref, className: stackClasses("b-hstack", { gap, align, wrap }, className), ...rest, children });
1517
+ });
1518
+ var Grid = (0, import_react10.forwardRef)(function Grid2({ as: Tag2 = "div", cols, gap, className, children, ...rest }, ref) {
1519
+ const Component = Tag2;
1520
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1521
+ Component,
1522
+ {
1523
+ ref,
1524
+ className: cn("b-grid", cols && `b-grid--${cols}`, gap !== void 0 && `b-gap-${gap}`, className),
1525
+ ...rest,
1526
+ children
1527
+ }
1528
+ );
1529
+ });
1530
+ var Container = (0, import_react10.forwardRef)(function Container2({ as: Tag2 = "div", size, className, children, ...rest }, ref) {
1531
+ const Component = Tag2;
1532
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Component, { ref, className: cn("b-container", size && `b-container--${size}`, className), ...rest, children });
1533
+ });
1534
+ var ScrollArea = (0, import_react10.forwardRef)(function ScrollArea2({ as: Tag2 = "div", axis, fade, className, children, ...rest }, ref) {
1535
+ const Component = Tag2;
1536
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1537
+ Component,
1538
+ {
1539
+ ref,
1540
+ className: cn("b-scroll-area", axis && `b-scroll-area--${axis}`, fade && "b-scroll-area--fade", className),
1541
+ ...rest,
1542
+ children
1543
+ }
1544
+ );
1545
+ });
1546
+ var Divider = (0, import_react10.forwardRef)(function Divider2({ as: Tag2 = "div", vertical, inset, label, className, children, ...rest }, ref) {
1547
+ const Component = Tag2;
1548
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1549
+ Component,
1550
+ {
1551
+ ref,
1552
+ role: children ? void 0 : "separator",
1553
+ className: cn(
1554
+ "b-divider",
1555
+ vertical && "b-divider--vertical",
1556
+ inset && "b-divider--inset",
1557
+ label && "b-divider--label",
1558
+ className
1559
+ ),
1560
+ ...rest,
1561
+ children
1562
+ }
1563
+ );
1564
+ });
1565
+ var Stage = block("div", "b-stage", "Stage");
1566
+ var Spacer = block("span", "b-spacer", "Spacer");
1567
+ var Grow = block("div", "b-grow", "Grow");
1568
+ var Split = block("div", "b-split", "Split");
1569
+ var Section = block("section", "b-section", "Section");
1570
+ var SafeArea = block("div", "b-safe-area", "SafeArea");
1571
+ var CardGrid = block("div", "b-card-grid", "CardGrid");
1572
+ var Bento = block("div", "b-bento", "Bento");
1573
+ var Dashboard = block("div", "b-dashboard", "Dashboard");
1574
+ var Workspace = block("div", "b-workspace", "Workspace");
1575
+ var WorkspaceMain = block("main", "b-workspace__main", "WorkspaceMain");
1576
+ var Inspector = block("aside", "b-inspector", "Inspector");
1577
+ var SkipLink = block("a", "b-skip-link", "SkipLink");
1578
+ var Span = (0, import_react10.forwardRef)(function Span2({ as: Tag2 = "div", span, className, children, ...rest }, ref) {
1579
+ const Component = Tag2;
1580
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Component, { ref, className: cn(`b-span-${span}`, className), ...rest, children });
1581
+ });
1582
+ var Sidebar = (0, import_react10.forwardRef)(function Sidebar2({ as: Tag2 = "nav", material, className, children, ...rest }, ref) {
1583
+ const Component = Tag2;
1584
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Component, { ref, className: cn("b-sidebar", material && `b-sidebar--${material}`, className), ...rest, children });
1585
+ });
1586
+ var SidebarHeading = block("div", "b-sidebar__heading", "SidebarHeading");
1587
+ var SidebarGroup = block("div", "b-sidebar__group", "SidebarGroup");
1588
+ var SidebarItem = (0, import_react10.forwardRef)(function SidebarItem2({ as: Tag2 = "a", active, className, children, ...rest }, ref) {
1589
+ const Component = Tag2;
1590
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1591
+ Component,
1592
+ {
1593
+ ref,
1594
+ className: cn("b-sidebar__item", active && "is-active", className),
1595
+ "aria-current": active ? "page" : void 0,
1596
+ ...rest,
1597
+ children
1598
+ }
1599
+ );
1600
+ });
1601
+
1602
+ // src/typography.tsx
1603
+ var import_react11 = require("react");
1604
+ var import_jsx_runtime11 = require("react/jsx-runtime");
1605
+ var ROLE_TAG = {
1606
+ "large-title": "h1",
1607
+ title1: "h1",
1608
+ title2: "h2",
1609
+ title3: "h3",
1610
+ headline: "h4",
1611
+ subheadline: "p",
1612
+ body: "p",
1613
+ callout: "p",
1614
+ caption: "span",
1615
+ caption2: "span",
1616
+ overline: "span"
1617
+ };
1618
+ var Text = (0, import_react11.forwardRef)(function Text2({ role = "body", as, tone, align, truncate, clamp, tabularNums, className, children, ...rest }, ref) {
1619
+ const Component = as ?? ROLE_TAG[role];
1620
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1621
+ Component,
1622
+ {
1623
+ ref,
1624
+ className: cn(
1625
+ `b-${role}`,
1626
+ tone && `b-text-${tone}`,
1627
+ align && `b-text-${align}`,
1628
+ truncate && "b-truncate",
1629
+ clamp && `b-line-clamp-${clamp}`,
1630
+ tabularNums && "b-tabular-nums",
1631
+ className
1632
+ ),
1633
+ ...rest,
1634
+ children
1635
+ }
1636
+ );
1637
+ });
1638
+ var Link = block("a", "b-link", "Link");
1639
+ var LinkGroup = block("div", "b-link-group", "LinkGroup");
1640
+ var Kbd = block("span", "b-kbd", "Kbd");
1641
+ var Overline = block("span", "b-overline", "Overline");
1642
+ var Footnote = block("p", "b-footnote", "Footnote");
1643
+ var Footnotes = block("div", "b-footnotes", "Footnotes");
1644
+ var Quote = (0, import_react11.forwardRef)(function Quote2({ cite, className, children, ...rest }, ref) {
1645
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("blockquote", { ref, className: cn("b-quote", className), ...rest, children: [
1646
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { children }),
1647
+ cite ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("cite", { children: cite }) : null
1648
+ ] });
1649
+ });
1650
+ var CodeBlock = (0, import_react11.forwardRef)(function CodeBlock2({ title, copy, copyLabel = "Copy", className, children, ...rest }, ref) {
1651
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { ref, className: cn("b-code", className), ...rest, children: [
1652
+ title || copy ? /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "b-code__header", children: [
1653
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: title }),
1654
+ copy ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1655
+ "button",
1656
+ {
1657
+ type: "button",
1658
+ className: "b-code__copy",
1659
+ onClick: (event) => {
1660
+ const pre = event.currentTarget.closest(".b-code")?.querySelector("code");
1661
+ if (pre?.textContent) void navigator.clipboard.writeText(pre.textContent);
1662
+ },
1663
+ children: copyLabel
1664
+ }
1665
+ ) : null
1666
+ ] }) : null,
1667
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("pre", { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("code", { children }) })
1668
+ ] });
1669
+ });
1670
+ var DescriptionList = (0, import_react11.forwardRef)(
1671
+ function DescriptionList2({ stacked, items, className, children, ...rest }, ref) {
1672
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("dl", { ref, className: cn("b-dl", stacked && "b-dl--stacked", className), ...rest, children: items ? items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_react11.Fragment, { children: [
1673
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("dt", { children: item.term }),
1674
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("dd", { children: item.description })
1675
+ ] }, i)) : children });
1676
+ }
1677
+ );
1678
+
1679
+ // src/data.tsx
1680
+ var import_react12 = require("react");
1681
+ var import_jsx_runtime12 = require("react/jsx-runtime");
1682
+ var Table = (0, import_react12.forwardRef)(function Table2({ striped, hover, compact, wrap = true, className, children, ...rest }, ref) {
1683
+ const table = /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1684
+ "table",
1685
+ {
1686
+ ref,
1687
+ className: cn(
1688
+ "b-table",
1689
+ striped && "b-table--striped",
1690
+ hover && "b-table--hover",
1691
+ compact && "b-table--compact",
1692
+ className
1693
+ ),
1694
+ ...rest,
1695
+ children
1696
+ }
1697
+ );
1698
+ return wrap ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "b-table-wrap", children: table }) : table;
1699
+ });
1700
+ var TableWrap = block("div", "b-table-wrap", "TableWrap");
1701
+ var TableNum = block("td", "b-table__num", "TableNum");
1702
+ var TableSortHeader = (0, import_react12.forwardRef)(
1703
+ function TableSortHeader2({ direction = null, className, children, ...rest }, ref) {
1704
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1705
+ "th",
1706
+ {
1707
+ ref,
1708
+ className: cn("b-table__sort", direction && `is-${direction}`, className),
1709
+ "aria-sort": direction === "asc" ? "ascending" : direction === "desc" ? "descending" : "none",
1710
+ ...rest,
1711
+ children
1712
+ }
1713
+ );
1714
+ }
1715
+ );
1716
+ var Gauge = (0, import_react12.forwardRef)(function Gauge2({ value, label, display, className, style, ...rest }, ref) {
1717
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1718
+ "div",
1719
+ {
1720
+ ref,
1721
+ className: cn("b-gauge", className),
1722
+ style: { ["--b-progress"]: value, ...style },
1723
+ role: "img",
1724
+ "aria-label": typeof label === "string" ? `${label}: ${value}%` : `${value}%`,
1725
+ ...rest,
1726
+ children: [
1727
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "b-gauge__value", children: display ?? `${value}%` }),
1728
+ label ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "b-gauge__label", children: label }) : null
1729
+ ]
1730
+ }
1731
+ );
1732
+ });
1733
+ var Donut = (0, import_react12.forwardRef)(function Donut2({ slices, value, label, description, className, ...rest }, ref) {
1734
+ let at = 0;
1735
+ const stops = slices.map((s) => {
1736
+ const from = at;
1737
+ at += s.value;
1738
+ const color = /^\d$/.test(s.color) ? `var(--b-chart-${s.color})` : s.color;
1739
+ return `${color} ${from}% ${at}%`;
1740
+ }).join(", ");
1741
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { ref, className: cn("b-donut", className), ...rest, children: [
1742
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1743
+ "div",
1744
+ {
1745
+ className: "b-pie",
1746
+ style: { ["--b-pie"]: stops },
1747
+ role: "img",
1748
+ "aria-label": description ?? slices.map((s) => `${s.label}: ${s.value}%`).join(", ")
1749
+ }
1750
+ ),
1751
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "b-donut__center", children: [
1752
+ value ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "b-stat__value", children: value }) : null,
1753
+ label ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "b-stat__label", children: label }) : null
1754
+ ] })
1755
+ ] });
1756
+ });
1757
+ var Sparkline = (0, import_react12.forwardRef)(function Sparkline2({ points, className, ...rest }, ref) {
1758
+ const max = Math.max(...points, 1);
1759
+ const min = Math.min(...points, 0);
1760
+ const span = max - min || 1;
1761
+ const d = points.map((p, i) => {
1762
+ const x = i / Math.max(points.length - 1, 1) * 100;
1763
+ const y = 22 - (p - min) / span * 20;
1764
+ return `${i === 0 ? "M" : "L"}${x.toFixed(1)} ${y.toFixed(1)}`;
1765
+ }).join(" ");
1766
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1767
+ "svg",
1768
+ {
1769
+ ref,
1770
+ className: cn("b-sparkline", className),
1771
+ viewBox: "0 0 100 24",
1772
+ preserveAspectRatio: "none",
1773
+ "aria-hidden": "true",
1774
+ ...rest,
1775
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("path", { d })
1776
+ }
1777
+ );
1778
+ });
1779
+ var Legend = (0, import_react12.forwardRef)(function Legend2({ items, className, ...rest }, ref) {
1780
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("ul", { ref, className: cn("b-legend", className), ...rest, children: items.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("li", { children: [
1781
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1782
+ "span",
1783
+ {
1784
+ className: "b-legend__swatch",
1785
+ style: item.color ? { background: /^\d$/.test(item.color) ? `var(--b-chart-${item.color})` : item.color } : void 0
1786
+ }
1787
+ ),
1788
+ item.label
1789
+ ] }, i)) });
1790
+ });
1791
+ var Columns = (0, import_react12.forwardRef)(function Columns2({ data, max, rounded, height, className, style, description, ...rest }, ref) {
1792
+ const top = max ?? Math.max(...data.map((d) => d.value), 1);
1793
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1794
+ "div",
1795
+ {
1796
+ ref,
1797
+ className: cn("b-columns", rounded && "b-columns--rounded", className),
1798
+ style: { ...height ? { ["--b-chart-h"]: height } : null, ...style },
1799
+ role: "img",
1800
+ "aria-label": description ?? data.map((d) => `${d.label}: ${d.value}`).join(", "),
1801
+ ...rest,
1802
+ children: data.map((d, i) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1803
+ "div",
1804
+ {
1805
+ className: "b-columns__bar",
1806
+ "data-label": d.label,
1807
+ style: { ["--v"]: `${Math.round(d.value / top * 100)}%` }
1808
+ },
1809
+ i
1810
+ ))
1811
+ }
1812
+ );
1813
+ });
1814
+ var Bars = (0, import_react12.forwardRef)(function Bars2({ data, max, description, className, ...rest }, ref) {
1815
+ const top = max ?? Math.max(...data.map((d) => d.value), 1);
1816
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1817
+ "div",
1818
+ {
1819
+ ref,
1820
+ className: cn("b-bars", className),
1821
+ role: "img",
1822
+ "aria-label": description ?? data.map((d) => `${d.label}: ${d.value}`).join(", "),
1823
+ ...rest,
1824
+ children: data.map((d, i) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "b-bars__row", children: [
1825
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "b-bars__label", children: d.label }),
1826
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "b-bars__track", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("i", { style: { ["--v"]: `${Math.round(d.value / top * 100)}%` } }) }),
1827
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "b-bars__value", children: d.display ?? d.value })
1828
+ ] }, i))
1829
+ }
1830
+ );
1831
+ });
1832
+ var Chart = block("figure", "b-chart", "Chart");
1833
+ var ChartTip = block("div", "b-chart-tip", "ChartTip");
1834
+ var Heatmap = block("div", "b-heatmap", "Heatmap");
1835
+
1836
+ // src/navigation.tsx
1837
+ var import_react13 = require("react");
1838
+ var import_jsx_runtime13 = require("react/jsx-runtime");
1839
+ var TopNav = block("header", "b-topnav", "TopNav");
1840
+ var TopNavBrand = block("a", "b-topnav__brand", "TopNavBrand");
1841
+ var TopNavLinks = block("nav", "b-topnav__links", "TopNavLinks");
1842
+ function navLink(base, displayName) {
1843
+ const Component = (0, import_react13.forwardRef)(function NavLink({ as: Tag2 = "a", active, className, children, ...rest }, ref) {
1844
+ const El = Tag2;
1845
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1846
+ El,
1847
+ {
1848
+ ref,
1849
+ className: cn(base, active && "is-active"),
1850
+ "aria-current": active ? "page" : void 0,
1851
+ ...rest,
1852
+ children
1853
+ }
1854
+ );
1855
+ });
1856
+ Component.displayName = displayName;
1857
+ return Component;
1858
+ }
1859
+ var TopNavLink = navLink("b-topnav__link", "TopNavLink");
1860
+ var BottomNavItem = navLink("b-bottomnav__item", "BottomNavItem");
1861
+ var DockItem = navLink("b-dock__item", "DockItem");
1862
+ var BottomNav = block("nav", "b-bottomnav", "BottomNav");
1863
+ var Dock = block("div", "b-dock", "Dock");
1864
+ var DockTray = block("div", "b-dock__tray", "DockTray");
1865
+ var PillNav = block("nav", "b-pill-nav", "PillNav");
1866
+ var BackButton = block("button", "b-back-btn", "BackButton");
1867
+ var MarketingNav = block("header", "b-marketing-nav", "MarketingNav");
1868
+ var MarketingNavBrand = block("a", "b-marketing-nav__brand", "MarketingNavBrand");
1869
+ var MarketingNavLinks = block("nav", "b-marketing-nav__links", "MarketingNavLinks");
1870
+ var Steps = (0, import_react13.forwardRef)(function Steps2({ steps, current, className, ...rest }, ref) {
1871
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("ol", { ref, className: cn("b-steps", className), ...rest, children: steps.map((step, i) => {
1872
+ const state = step.state ?? (current === void 0 ? void 0 : i < current ? "complete" : i === current ? "active" : void 0);
1873
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1874
+ "li",
1875
+ {
1876
+ className: state ? `is-${state}` : void 0,
1877
+ "data-step": i + 1,
1878
+ "aria-current": state === "active" ? "step" : void 0,
1879
+ children: step.label
1880
+ },
1881
+ i
1882
+ );
1883
+ }) });
1884
+ });
1885
+ var Drawer = (0, import_react13.forwardRef)(function Drawer2({ end, className, children, ...rest }, ref) {
1886
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("nav", { ref, className: cn("b-drawer", end && "b-drawer--end", className), ...rest, children });
1887
+ });
1888
+ var DrawerHeader = block("div", "b-drawer__header", "DrawerHeader");
1889
+ var DrawerBody = block("div", "b-drawer__body", "DrawerBody");
1890
+ var StatusBar = block("div", "b-statusbar", "StatusBar");
1891
+ var StatusBarItem = block("span", "b-statusbar__item", "StatusBarItem");
1892
+ var Menu = (0, import_react13.forwardRef)(function Menu2({ className, children, ...rest }, ref) {
1893
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("ul", { ref, className: cn("b-menu", className), role: "menu", ...rest, children });
1894
+ });
1895
+ var MenuItem = (0, import_react13.forwardRef)(function MenuItem2({ shortcut, danger, icon, className, children, ...rest }, ref) {
1896
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { role: "none", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1897
+ "button",
1898
+ {
1899
+ ref,
1900
+ type: "button",
1901
+ role: "menuitem",
1902
+ className: cn("b-menu__item", danger && "b-menu__item--danger", className),
1903
+ ...rest,
1904
+ children: [
1905
+ icon,
1906
+ children,
1907
+ shortcut ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "b-menu__shortcut", children: shortcut }) : null
1908
+ ]
1909
+ }
1910
+ ) });
1911
+ });
1912
+ var MenuLabel = block("li", "b-menu__label", "MenuLabel");
1913
+ var MenuSeparator = block("li", "b-menu__separator", "MenuSeparator");
1914
+ var Dropdown = (0, import_react13.forwardRef)(function Dropdown2({ label, variant = "button", end, triggerProps, className, children, ...rest }, ref) {
1915
+ const { className: triggerClass, ...triggerRest } = triggerProps ?? {};
1916
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("details", { ref, className: cn("b-dropdown", end && "b-dropdown--end", className), ...rest, children: [
1917
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1918
+ "summary",
1919
+ {
1920
+ className: cn(variant === "select" ? "b-select" : "b-btn", triggerClass),
1921
+ "aria-haspopup": variant === "select" ? "listbox" : "menu",
1922
+ ...triggerRest,
1923
+ children: label
1924
+ }
1925
+ ),
1926
+ children
1927
+ ] });
1928
+ });
1929
+
1930
+ // src/forms-extra.tsx
1931
+ var import_react14 = require("react");
1932
+ var import_jsx_runtime14 = require("react/jsx-runtime");
1933
+ var Form = block("form", "b-form", "Form");
1934
+ var FormRow = block("div", "b-form-row", "FormRow");
1935
+ var FormActions = block("div", "b-form-actions", "FormActions");
1936
+ var Fieldset = block("fieldset", "b-fieldset", "Fieldset");
1937
+ var Help = block("p", "b-help", "Help");
1938
+ var ErrorText = block("p", "b-error", "ErrorText");
1939
+ var Optional = block("span", "b-optional", "Optional");
1940
+ var FormSection = (0, import_react14.forwardRef)(function FormSection2({ title, description, className, children, ...rest }, ref) {
1941
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { ref, className: cn("b-form-section", className), ...rest, children: [
1942
+ title || description ? /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "b-form-section__header", children: [
1943
+ title ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "b-form-section__title", children: title }) : null,
1944
+ description ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { className: "b-form-section__desc", children: description }) : null
1945
+ ] }) : null,
1946
+ children
1947
+ ] });
1948
+ });
1949
+ var Label = (0, import_react14.forwardRef)(function Label2({ required, className, children, ...rest }, ref) {
1950
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("label", { ref, className: cn("b-label", required && "b-label--required", className), ...rest, children });
1951
+ });
1952
+ var InputGroup = (0, import_react14.forwardRef)(function InputGroup2({ prefix, suffix, className, children, ...rest }, ref) {
1953
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { ref, className: cn("b-input-group", className), ...rest, children: [
1954
+ prefix ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "b-input-affix b-input-affix--start", children: prefix }) : null,
1955
+ children,
1956
+ suffix ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "b-input-affix b-input-affix--end", children: suffix }) : null
1957
+ ] });
1958
+ });
1959
+ var StepperInput = (0, import_react14.forwardRef)(function StepperInput2({ decrementLabel = "Decrease", incrementLabel = "Increase", onStep, className, ...rest }, ref) {
1960
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: cn("b-stepper-input", className), children: [
1961
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { type: "button", "aria-label": decrementLabel, onClick: () => onStep?.(-1), children: "\u2212" }),
1962
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("input", { ref, type: "number", ...rest }),
1963
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("button", { type: "button", "aria-label": incrementLabel, onClick: () => onStep?.(1), children: "+" })
1964
+ ] });
1965
+ });
1966
+ var Range = (0, import_react14.forwardRef)(function Range2({ min = 0, max = 100, step = 1, value, onRangeChange, label, className, ...rest }, ref) {
1967
+ const id = (0, import_react14.useId)();
1968
+ const span = max - min || 1;
1969
+ const start = (Math.min(...value) - min) / span * 100;
1970
+ const width = (Math.max(...value) - Math.min(...value)) / span * 100;
1971
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { ref, className: cn("b-range", className), role: "group", "aria-label": label, ...rest, children: [
1972
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "b-range__fill", style: { insetInlineStart: `${start}%`, width: `${width}%` } }),
1973
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1974
+ "input",
1975
+ {
1976
+ type: "range",
1977
+ min,
1978
+ max,
1979
+ step,
1980
+ value: value[0],
1981
+ "aria-label": label ? `${label}, minimum` : "Minimum",
1982
+ id: `${id}-min`,
1983
+ onChange: (e) => onRangeChange?.([Number(e.target.value), value[1]])
1984
+ }
1985
+ ),
1986
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1987
+ "input",
1988
+ {
1989
+ type: "range",
1990
+ min,
1991
+ max,
1992
+ step,
1993
+ value: value[1],
1994
+ "aria-label": label ? `${label}, maximum` : "Maximum",
1995
+ id: `${id}-max`,
1996
+ onChange: (e) => onRangeChange?.([value[0], Number(e.target.value)])
1997
+ }
1998
+ )
1999
+ ] });
2000
+ });
2001
+ var Dropzone = (0, import_react14.forwardRef)(function Dropzone2({ active, className, children, ...rest }, ref) {
2002
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { ref, className: cn("b-dropzone", active && "is-active", className), ...rest, children });
2003
+ });
2004
+ var UploadItem = (0, import_react14.forwardRef)(function UploadItem2({ name, size, thumb, className, children, ...rest }, ref) {
2005
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("li", { ref, className: cn("b-upload-item", className), ...rest, children: [
2006
+ thumb ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "b-upload-item__thumb", children: thumb }) : null,
2007
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "b-upload-item__meta", children: [
2008
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "b-upload-item__name", children: name }),
2009
+ size ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "b-upload-item__size", children: size }) : null
2010
+ ] }),
2011
+ children
2012
+ ] });
2013
+ });
2014
+ var Upload = block("div", "b-upload", "Upload");
2015
+ var FilterBar = block("div", "b-filter-bar", "FilterBar");
2016
+ var Swatches = block("div", "b-swatches", "Swatches");
2017
+ var Swatch = block("button", "b-swatch", "Swatch");
2018
+ var SearchField = block("div", "b-search", "SearchField");
2019
+ var FilterChip = (0, import_react14.forwardRef)(function FilterChip2({ value, className, children, ...rest }, ref) {
2020
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("button", { ref, type: "button", className: cn("b-filter-chip", className), ...rest, children: [
2021
+ children,
2022
+ value ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "b-filter-chip__value", children: value }) : null
2023
+ ] });
2024
+ });
2025
+
2026
+ // src/productivity.tsx
2027
+ var import_react15 = require("react");
2028
+ var import_jsx_runtime15 = require("react/jsx-runtime");
2029
+ var Kanban = block("div", "b-kanban", "Kanban");
2030
+ var KanbanList = block("ul", "b-kanban-col__list", "KanbanList");
2031
+ var TaskList = block("ul", "b-task-list", "TaskList");
2032
+ var TaskRow = block("div", "b-task-row", "TaskRow");
2033
+ var DataGrid = block("div", "b-datagrid", "DataGrid");
2034
+ var Tree = block("ul", "b-tree", "Tree");
2035
+ var Feed = block("ul", "b-feed", "Feed");
2036
+ var Log = block("div", "b-log", "Log");
2037
+ var BulkActions = block("div", "b-bulk-actions", "BulkActions");
2038
+ var SelectionCount = block("span", "b-selection-count", "SelectionCount");
2039
+ var Resizable = block("div", "b-resizable", "Resizable");
2040
+ var ResizeHandle = block("div", "b-resize-handle", "ResizeHandle");
2041
+ var DragHandle = block("span", "b-drag-handle", "DragHandle");
2042
+ var KanbanColumn = (0, import_react15.forwardRef)(function KanbanColumn2({ title, count, className, children, ...rest }, ref) {
2043
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("section", { ref, className: cn("b-kanban-col", className), ...rest, children: [
2044
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("header", { className: "b-kanban-col__header", children: [
2045
+ title,
2046
+ count !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "b-kanban-col__count", children: count }) : null
2047
+ ] }),
2048
+ children
2049
+ ] });
2050
+ });
2051
+ var Task = (0, import_react15.forwardRef)(function Task2({ title, meta, className, children, ...rest }, ref) {
2052
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("li", { ref, className: cn("b-task", className), ...rest, children: [
2053
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "b-task__title", children: title }),
2054
+ meta ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "b-task__meta", children: meta }) : null,
2055
+ children
2056
+ ] });
2057
+ });
2058
+ var TreeItem = (0, import_react15.forwardRef)(function TreeItem2({ label, icon, defaultOpen, className, children, ...rest }, ref) {
2059
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("details", { ref, className: cn("b-tree-item", className), open: defaultOpen, ...rest, children: [
2060
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("summary", { children: [
2061
+ icon,
2062
+ label
2063
+ ] }),
2064
+ children
2065
+ ] }) });
2066
+ });
2067
+ var Timeline = (0, import_react15.forwardRef)(function Timeline2({ entries, className, ...rest }, ref) {
2068
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("ol", { ref, className: cn("b-timeline", className), ...rest, children: entries.map((entry, i) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("li", { className: entry.state ? `is-${entry.state}` : void 0, children: [
2069
+ entry.time ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "b-timeline__time", children: entry.time }) : null,
2070
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "b-timeline__title", children: entry.title }),
2071
+ entry.body ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "b-timeline__body", children: entry.body }) : null
2072
+ ] }, i)) });
2073
+ });
2074
+ var FileTile = (0, import_react15.forwardRef)(function FileTile2({ name, icon, selected, className, ...rest }, ref) {
2075
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
2076
+ "button",
2077
+ {
2078
+ ref,
2079
+ type: "button",
2080
+ className: cn("b-file-tile", selected && "is-selected", className),
2081
+ "aria-pressed": selected,
2082
+ ...rest,
2083
+ children: [
2084
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "b-file-tile__icon", children: icon }) : null,
2085
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "b-file-tile__name", children: name })
2086
+ ]
2087
+ }
2088
+ );
2089
+ });
2090
+ var FileGrid = block("div", "b-file-grid", "FileGrid");
2091
+ var FileBrowser = block("div", "b-file-browser", "FileBrowser");
2092
+
2093
+ // src/marketing.tsx
2094
+ var import_react16 = require("react");
2095
+ var import_jsx_runtime16 = require("react/jsx-runtime");
2096
+ var Landing = block("div", "b-landing", "Landing");
2097
+ var SpecStrip = block("div", "b-spec-strip", "SpecStrip");
2098
+ var CardRail = block("div", "b-card-rail", "CardRail");
2099
+ var SiteFooter = block("footer", "b-site-footer", "SiteFooter");
2100
+ var SiteFooterGroups = block("div", "b-site-footer__groups", "SiteFooterGroups");
2101
+ var SiteFooterGroup = block("div", "b-site-footer__group", "SiteFooterGroup");
2102
+ var SiteFooterHeading = block("div", "b-site-footer__heading", "SiteFooterHeading");
2103
+ var SiteFooterLegal = block("div", "b-site-footer__legal", "SiteFooterLegal");
2104
+ var Chapter = (0, import_react16.forwardRef)(function Chapter2({ eyebrow, title, lede, actions, tight, start, dark, className, children, ...rest }, ref) {
2105
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
2106
+ "section",
2107
+ {
2108
+ ref,
2109
+ className: cn(
2110
+ "b-chapter",
2111
+ tight && "b-chapter--tight",
2112
+ start && "b-chapter--start",
2113
+ dark && "b-chapter--dark",
2114
+ className
2115
+ ),
2116
+ ...rest,
2117
+ children: [
2118
+ eyebrow ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "b-chapter__eyebrow", children: eyebrow }) : null,
2119
+ title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h2", { className: "b-chapter__title", children: title }) : null,
2120
+ lede ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "b-chapter__lede", children: lede }) : null,
2121
+ actions ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "b-chapter__actions", children: actions }) : null,
2122
+ children
2123
+ ]
2124
+ }
2125
+ );
2126
+ });
2127
+ var Hero = (0, import_react16.forwardRef)(function Hero2({ title, media, className, children, ...rest }, ref) {
2128
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { ref, className: cn("b-hero", className), ...rest, children: [
2129
+ title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h1", { className: "b-hero__title", children: title }) : null,
2130
+ children,
2131
+ media ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "b-hero__media", children: media }) : null
2132
+ ] });
2133
+ });
2134
+ var Figure = (0, import_react16.forwardRef)(function Figure2({ caption, bleed, className, children, ...rest }, ref) {
2135
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("figure", { ref, className: cn("b-figure", bleed && "b-figure--bleed", className), ...rest, children: [
2136
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "b-figure__frame", children }),
2137
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("figcaption", { className: "b-figure__caption", children: caption }) : null
2138
+ ] });
2139
+ });
2140
+ var FeatureRow = (0, import_react16.forwardRef)(function FeatureRow2({ title, body, media, flip, className, children, ...rest }, ref) {
2141
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { ref, className: cn("b-feature-row", flip && "b-feature-row--flip", className), ...rest, children: [
2142
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { children: [
2143
+ title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h3", { className: "b-feature-row__title", children: title }) : null,
2144
+ body ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "b-feature-row__body", children: body }) : null,
2145
+ children
2146
+ ] }),
2147
+ media
2148
+ ] });
2149
+ });
2150
+ var PromoBand = (0, import_react16.forwardRef)(function PromoBand2({ title, body, className, children, ...rest }, ref) {
2151
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("section", { ref, className: cn("b-promo-band", className), ...rest, children: [
2152
+ title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "b-promo-band__title", children: title }) : null,
2153
+ body ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "b-promo-band__body", children: body }) : null,
2154
+ children
2155
+ ] });
2156
+ });
2157
+
2158
+ // src/system.tsx
2159
+ var import_react17 = require("react");
2160
+ var import_jsx_runtime17 = require("react/jsx-runtime");
2161
+ var Auth = block("div", "b-auth", "Auth");
2162
+ var Onboarding = block("div", "b-onboarding", "Onboarding");
2163
+ var OnboardingHero = block("div", "b-onboarding__hero", "OnboardingHero");
2164
+ var AppGrid = block("div", "b-app-grid", "AppGrid");
2165
+ var AppTile = block("a", "b-app-tile", "AppTile");
2166
+ var Callout = block("p", "b-callout", "Callout");
2167
+ var Notification = block("div", "b-notification", "Notification");
2168
+ var Wall = block("div", "b-wall", "Wall");
2169
+ var GlassContainer = block("div", "b-glass-container", "GlassContainer");
2170
+ var AuthCard = (0, import_react17.forwardRef)(function AuthCard2({ logo, title, subtitle, footer, className, children, ...rest }, ref) {
2171
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { ref, className: cn("b-auth-card", className), ...rest, children: [
2172
+ logo ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "b-auth-card__logo", "aria-hidden": "true", children: logo }) : null,
2173
+ title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "b-auth-card__title", children: title }) : null,
2174
+ subtitle ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "b-auth-card__subtitle", children: subtitle }) : null,
2175
+ children,
2176
+ footer ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "b-auth-card__footer", children: footer }) : null
2177
+ ] });
2178
+ });
2179
+ var Result = (0, import_react17.forwardRef)(function Result2({ tone, icon, title, description, actions, className, children, ...rest }, ref) {
2180
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { ref, className: cn("b-result", tone && `b-result--${tone}`, className), ...rest, children: [
2181
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "b-result__icon", "aria-hidden": "true", children: icon }) : null,
2182
+ title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "b-result__title", children: title }) : null,
2183
+ description ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "b-result__desc", children: description }) : null,
2184
+ children,
2185
+ actions ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "b-result__actions", children: actions }) : null
2186
+ ] });
2187
+ });
2188
+ var SysPage = (0, import_react17.forwardRef)(function SysPage2({ code, title, description, actions, className, children, ...rest }, ref) {
2189
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { ref, className: cn("b-syspage", className), ...rest, children: [
2190
+ code ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "b-syspage__code", children: code }) : null,
2191
+ title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "b-syspage__title", children: title }) : null,
2192
+ description ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "b-syspage__desc", children: description }) : null,
2193
+ children,
2194
+ actions ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "b-syspage__actions", children: actions }) : null
2195
+ ] });
2196
+ });
2197
+ var Banner = (0, import_react17.forwardRef)(function Banner2({ neutral, onDismiss, dismissLabel = "Dismiss", className, children, ...rest }, ref) {
2198
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { ref, className: cn("b-banner", neutral && "b-banner--neutral", className), role: "status", ...rest, children: [
2199
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { children }),
2200
+ onDismiss ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { type: "button", className: "b-banner__close", onClick: onDismiss, "aria-label": dismissLabel, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("svg", { viewBox: "0 0 20 20", fill: "none", width: "14", height: "14", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("path", { d: "m5.5 5.5 9 9m0-9-9 9", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }) }) }) : null
2201
+ ] });
2202
+ });
2203
+
2204
+ // src/command.tsx
2205
+ var import_react18 = require("react");
2206
+ var import_jsx_runtime18 = require("react/jsx-runtime");
2207
+ var CommandList = block("ul", "b-cmdk__list", "CommandList");
2208
+ var CommandGroupLabel = block("li", "b-cmdk__group-label", "CommandGroupLabel");
2209
+ var CommandFooter = block("footer", "b-cmdk__footer", "CommandFooter");
2210
+ var HoverCard = block("div", "b-hover-card", "HoverCard");
2211
+ var CommandPalette = (0, import_react18.forwardRef)(
2212
+ function CommandPalette2({ className, children, ...rest }, ref) {
2213
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("dialog", { ref, className: cn("b-modal b-cmdk", className), ...rest, children });
2214
+ }
2215
+ );
2216
+ var CommandInput = (0, import_react18.forwardRef)(
2217
+ function CommandInput2({ className, ...rest }, ref) {
2218
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("input", { ref, type: "search", className: cn("b-cmdk__input", className), ...rest });
2219
+ }
2220
+ );
2221
+ var CommandItem = (0, import_react18.forwardRef)(function CommandItem2({ active, icon, className, children, ...rest }, ref) {
2222
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
2223
+ "button",
2224
+ {
2225
+ ref,
2226
+ type: "button",
2227
+ className: cn("b-cmdk__item", active && "is-active", className),
2228
+ "aria-selected": active,
2229
+ ...rest,
2230
+ children: [
2231
+ icon,
2232
+ children
2233
+ ]
2234
+ }
2235
+ ) });
2236
+ });
2237
+
2238
+ // src/extras.tsx
2239
+ var import_react19 = require("react");
2240
+ var import_jsx_runtime19 = require("react/jsx-runtime");
2241
+ var ButtonGroup = (0, import_react19.forwardRef)(function ButtonGroup2({ attached, className, children, ...rest }, ref) {
2242
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2243
+ "div",
2244
+ {
2245
+ ref,
2246
+ className: cn("b-btn-group", attached && "b-btn-group--attached", className),
2247
+ role: "group",
2248
+ ...rest,
2249
+ children
2250
+ }
2251
+ );
2252
+ });
2253
+ var SplitButton = (0, import_react19.forwardRef)(function SplitButton2({ children, menu, menuLabel = "More options", className, ...rest }, ref) {
2254
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("span", { ref, className: cn("b-split-btn", className), ...rest, children: [
2255
+ children,
2256
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("button", { type: "button", className: "b-btn b-btn--primary", "aria-label": menuLabel, "aria-haspopup": "menu", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("svg", { viewBox: "0 0 20 20", fill: "none", width: "14", height: "14", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("path", { d: "m5 8 5 5 5-5", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round" }) }) }),
2257
+ menu
2258
+ ] });
2259
+ });
2260
+ var ToggleButton = (0, import_react19.forwardRef)(function ToggleButton2({ pressed, className, children, ...rest }, ref) {
2261
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2262
+ "button",
2263
+ {
2264
+ ref,
2265
+ type: "button",
2266
+ className: cn("b-toggle-btn", pressed && "is-active", className),
2267
+ "aria-pressed": pressed,
2268
+ ...rest,
2269
+ children
2270
+ }
2271
+ );
2272
+ });
2273
+ var SortControl = block("div", "b-sort-control", "SortControl");
2274
+ var Share = block("div", "b-share", "Share");
2275
+ var Accordion = block("div", "b-accordion", "Accordion");
2276
+ var Disclosure = (0, import_react19.forwardRef)(function Disclosure2({ title, plain, defaultOpen, className, children, ...rest }, ref) {
2277
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
2278
+ "details",
2279
+ {
2280
+ ref,
2281
+ className: cn("b-disclosure", plain && "b-disclosure--plain", className),
2282
+ open: defaultOpen,
2283
+ ...rest,
2284
+ children: [
2285
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("summary", { children: title }),
2286
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "b-disclosure__body", children })
2287
+ ]
2288
+ }
2289
+ );
2290
+ });
2291
+ var Calendar = block("div", "b-calendar", "Calendar");
2292
+ var CalendarGrid = block("div", "b-calendar__grid", "CalendarGrid");
2293
+ var CalendarMonth = block("span", "b-calendar__month", "CalendarMonth");
2294
+ var CalendarWeekday = block("span", "b-calendar__weekday", "CalendarWeekday");
2295
+ var CalendarHeader = block("div", "b-calendar__header", "CalendarHeader");
2296
+ var DatePicker = block("details", "b-datepicker", "DatePicker");
2297
+ var CalendarView = block("div", "b-calview", "CalendarView");
2298
+ var CalendarViewHead = block("div", "b-calview__head", "CalendarViewHead");
2299
+ var CalendarViewCell = block("div", "b-calview__cell", "CalendarViewCell");
2300
+ var CalendarDay = (0, import_react19.forwardRef)(function CalendarDay2({ muted, today, selected, className, children, ...rest }, ref) {
2301
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2302
+ "button",
2303
+ {
2304
+ ref,
2305
+ type: "button",
2306
+ className: cn("b-calendar__day", muted && "is-muted", today && "is-today", selected && "is-selected", className),
2307
+ "aria-current": today ? "date" : void 0,
2308
+ "aria-pressed": selected || void 0,
2309
+ ...rest,
2310
+ children
2311
+ }
2312
+ );
2313
+ });
2314
+ var Event = (0, import_react19.forwardRef)(function Event2({ tone, className, children, ...rest }, ref) {
2315
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { ref, className: cn("b-event", tone && `b-event--${tone}`, className), ...rest, children });
2316
+ });
2317
+ var Combobox = block("div", "b-combobox", "Combobox");
2318
+ var ComboboxList = block("ul", "b-combobox__list", "ComboboxList");
2319
+ var ComboboxEmpty = block("li", "b-combobox__empty", "ComboboxEmpty");
2320
+ var SearchResults = block("div", "b-search-results", "SearchResults");
2321
+ var ComboboxOption = (0, import_react19.forwardRef)(function ComboboxOption2({ selected, className, children, ...rest }, ref) {
2322
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2323
+ "li",
2324
+ {
2325
+ ref,
2326
+ role: "option",
2327
+ "aria-selected": selected,
2328
+ className: cn("b-combobox__option", selected && "is-active", className),
2329
+ ...rest,
2330
+ children
2331
+ }
2332
+ );
2333
+ });
2334
+ var SearchResult = (0, import_react19.forwardRef)(function SearchResult2({ title, snippet, path, className, ...rest }, ref) {
2335
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("a", { ref, className: cn("b-search-result", className), ...rest, children: [
2336
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "b-search-result__title", children: title }),
2337
+ snippet ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "b-search-result__snippet", children: snippet }) : null,
2338
+ path ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "b-search-result__path", children: path }) : null
2339
+ ] });
2340
+ });
2341
+ var Carousel = block("div", "b-carousel", "Carousel");
2342
+ var CarouselTrack = block("div", "b-carousel__track", "CarouselTrack");
2343
+ var CarouselSlide = block("div", "b-carousel__slide", "CarouselSlide");
2344
+ var CarouselDots = block("div", "b-carousel__dots", "CarouselDots");
2345
+ var Gallery = block("div", "b-gallery", "Gallery");
2346
+ var ImageViewer = block("div", "b-image-viewer", "ImageViewer");
2347
+ var ImageViewerBar = block("div", "b-image-viewer__bar", "ImageViewerBar");
2348
+ var UploadPreviews = block("div", "b-upload-previews", "UploadPreviews");
2349
+ var UploadPreview = block("div", "b-upload-preview", "UploadPreview");
2350
+ var Lightbox = (0, import_react19.forwardRef)(function Lightbox2({ caption, actions, className, children, ...rest }, ref) {
2351
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("dialog", { ref, className: cn("b-lightbox", className), ...rest, children: [
2352
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "b-lightbox__frame", children }),
2353
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "b-lightbox__caption", children: caption }) : null,
2354
+ actions ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "b-lightbox__actions", children: actions }) : null
2355
+ ] });
2356
+ });
2357
+ var AccountSwitcher = block("div", "b-account-switcher", "AccountSwitcher");
2358
+ var CommandCenter = block("div", "b-command-center", "CommandCenter");
2359
+ var Gantt = block("div", "b-gantt", "Gantt");
2360
+ var GanttRow = block("div", "b-gantt__row", "GanttRow");
2361
+ var GanttBar = block("div", "b-gantt__bar", "GanttBar");
2362
+ var HoverCardHost = block("span", "b-hover-card-host", "HoverCardHost");
2363
+ var GlassInteractive = block("div", "b-glass-interactive", "GlassInteractive");
2364
+ var Rail = (0, import_react19.forwardRef)(function Rail2({ material, className, children, ...rest }, ref) {
2365
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("nav", { ref, className: cn("b-rail", material && `b-rail--${material}`, className), ...rest, children });
2366
+ });
2367
+ var RailItem = block("a", "b-rail__item", "RailItem");
2368
+ var Account = (0, import_react19.forwardRef)(function Account2({ name, email, current, className, children, ...rest }, ref) {
2369
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { ref, className: cn("b-account", className), ...rest, children: [
2370
+ children,
2371
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("span", { className: "b-account__meta", children: [
2372
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "b-account__name", children: name }),
2373
+ email ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "b-account__email", children: email }) : null
2374
+ ] }),
2375
+ current ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "b-account__check", "aria-label": "Current account", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("svg", { viewBox: "0 0 20 20", fill: "none", width: "16", height: "16", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("path", { d: "M4 10.5 8.5 15 16 5.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) }) : null
2376
+ ] });
2377
+ });
2378
+ var OnboardingFeature = (0, import_react19.forwardRef)(
2379
+ function OnboardingFeature2({ title, description, icon, className, ...rest }, ref) {
2380
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { ref, className: cn("b-onboarding-feature", className), ...rest, children: [
2381
+ icon,
2382
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { children: [
2383
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "b-onboarding-feature__title", children: title }),
2384
+ description ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { className: "b-onboarding-feature__desc", children: description }) : null
2385
+ ] })
2386
+ ] });
2387
+ }
2388
+ );
2389
+
2390
+ // src/media.tsx
2391
+ var import_react20 = require("react");
2392
+ var import_jsx_runtime20 = require("react/jsx-runtime");
2393
+ var MediaPlaceholder = block("div", "b-media-placeholder", "MediaPlaceholder");
2394
+ var AsyncImage = block("span", "b-async-img", "AsyncImage");
2395
+ var Web = block("div", "b-web", "Web");
2396
+ var Video = block("video", "b-video", "Video");
2397
+ var Audio = block("div", "b-audio", "Audio");
2398
+ var Waveform = block("div", "b-waveform", "Waveform");
2399
+ var Thumb = (0, import_react20.forwardRef)(function Thumb2({ duration, className, children, ...rest }, ref) {
2400
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { ref, className: cn("b-thumb", duration !== void 0 && "b-thumb--video", className), ...rest, children: [
2401
+ children,
2402
+ duration ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "b-thumb__duration", children: duration }) : null
2403
+ ] });
2404
+ });
2405
+ var CircularProgress = (0, import_react20.forwardRef)(
2406
+ function CircularProgress2({ value, label, description, className, style, ...rest }, ref) {
2407
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "b-circular-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2408
+ "div",
2409
+ {
2410
+ ref,
2411
+ className: cn("b-circular", className),
2412
+ style: { ...value === void 0 ? null : { ["--b-progress"]: value }, ...style },
2413
+ role: "progressbar",
2414
+ "aria-valuenow": value,
2415
+ "aria-valuemin": value === void 0 ? void 0 : 0,
2416
+ "aria-valuemax": value === void 0 ? void 0 : 100,
2417
+ "aria-label": description,
2418
+ ...rest,
2419
+ children: label ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "b-circular__label", children: label }) : null
2420
+ }
2421
+ ) });
2422
+ }
2423
+ );
2424
+ var Axis = (0, import_react20.forwardRef)(function Axis2({ y, ticks, className, children, ...rest }, ref) {
2425
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { ref, className: cn("b-axis", y && "b-axis--y", className), "aria-hidden": "true", ...rest, children: ticks ? ticks.map((tick, i) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { children: tick }, i)) : children });
2426
+ });
2427
+ var RadarChart = block("svg", "b-radar-svg", "RadarChart");
2428
+ var LineChart = block("svg", "b-line-svg", "LineChart");
2429
+ var AreaChart = block("svg", "b-area-svg", "AreaChart");
2430
+ var ScatterChart = block("svg", "b-scatter-svg", "ScatterChart");
2431
+ var GridLines = block("div", "b-gridlines", "GridLines");
2432
+ var MenuBar = block("div", "b-menubar", "MenuBar");
2433
+ var MenuBarItem = block("button", "b-menubar__item", "MenuBarItem");
2434
+ var PaginationEllipsis = block("span", "b-pagination__ellipsis", "PaginationEllipsis");
2435
+ var Pagination = (0, import_react20.forwardRef)(function Pagination2({ label = "Pagination", className, children, ...rest }, ref) {
2436
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("nav", { ref, "aria-label": label, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("ul", { className: cn("b-pagination", className), children }) });
2437
+ });
2438
+ var PaginationItem = (0, import_react20.forwardRef)(
2439
+ function PaginationItem2({ current, className, children, ...rest }, ref) {
2440
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2441
+ "a",
2442
+ {
2443
+ ref,
2444
+ className: cn("b-pagination__item", current && "is-active", className),
2445
+ "aria-current": current ? "page" : void 0,
2446
+ ...rest,
2447
+ children
2448
+ }
2449
+ ) });
2450
+ }
2451
+ );
2452
+ var LiquidToggle = (0, import_react20.forwardRef)(function LiquidToggle2({ pressed, className, children, ...rest }, ref) {
2453
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2454
+ "button",
2455
+ {
2456
+ ref,
2457
+ type: "button",
2458
+ className: cn("b-liquid-toggle", className),
2459
+ "aria-pressed": pressed,
2460
+ ...rest,
2461
+ children
2462
+ }
2463
+ );
2464
+ });
2465
+ var CommandCenterTile = block("div", "b-cc__tile", "CommandCenterTile");
2466
+ var CommandCenterLabel = block("div", "b-cc__label", "CommandCenterLabel");
2467
+ var CommandCenterStatus = block("div", "b-cc__status", "CommandCenterStatus");
2468
+ var ImageLens = block("div", "b-lens", "ImageLens");
2469
+ // Annotate the CommonJS export names for ESM import in node:
2470
+ 0 && (module.exports = {
2471
+ Accordion,
2472
+ Account,
2473
+ AccountSwitcher,
2474
+ ActionSheet,
2475
+ Alert,
2476
+ AlertDialog,
2477
+ AppGrid,
2478
+ AppTile,
2479
+ AreaChart,
2480
+ AsyncImage,
2481
+ Audio,
2482
+ Auth,
2483
+ AuthCard,
2484
+ Avatar,
2485
+ AvatarGroup,
2486
+ Axis,
2487
+ BackButton,
2488
+ Badge,
2489
+ Banner,
2490
+ Bars,
2491
+ BaruaProvider,
2492
+ Bento,
2493
+ BottomNav,
2494
+ BottomNavItem,
2495
+ BottomSheet,
2496
+ Breadcrumbs,
2497
+ BulkActions,
2498
+ Button,
2499
+ ButtonGroup,
2500
+ ButtonLink,
2501
+ Calendar,
2502
+ CalendarDay,
2503
+ CalendarGrid,
2504
+ CalendarHeader,
2505
+ CalendarMonth,
2506
+ CalendarView,
2507
+ CalendarViewCell,
2508
+ CalendarViewHead,
2509
+ CalendarWeekday,
2510
+ Callout,
2511
+ Card,
2512
+ CardBody,
2513
+ CardEyebrow,
2514
+ CardFooter,
2515
+ CardGrid,
2516
+ CardHeader,
2517
+ CardRail,
2518
+ CardSubtitle,
2519
+ CardTitle,
2520
+ Carousel,
2521
+ CarouselDots,
2522
+ CarouselSlide,
2523
+ CarouselTrack,
2524
+ Chapter,
2525
+ Chart,
2526
+ ChartTip,
2527
+ Checkbox,
2528
+ Chip,
2529
+ CircularProgress,
2530
+ CodeBlock,
2531
+ Columns,
2532
+ Combobox,
2533
+ ComboboxEmpty,
2534
+ ComboboxList,
2535
+ ComboboxOption,
2536
+ CommandCenter,
2537
+ CommandCenterLabel,
2538
+ CommandCenterStatus,
2539
+ CommandCenterTile,
2540
+ CommandFooter,
2541
+ CommandGroupLabel,
2542
+ CommandInput,
2543
+ CommandItem,
2544
+ CommandList,
2545
+ CommandPalette,
2546
+ Container,
2547
+ Dashboard,
2548
+ DataGrid,
2549
+ DatePicker,
2550
+ DescriptionList,
2551
+ Disclosure,
2552
+ Divider,
2553
+ Dock,
2554
+ DockItem,
2555
+ DockTray,
2556
+ Donut,
2557
+ DragHandle,
2558
+ Drawer,
2559
+ DrawerBody,
2560
+ DrawerHeader,
2561
+ Dropdown,
2562
+ Dropzone,
2563
+ EmptyState,
2564
+ ErrorText,
2565
+ Event,
2566
+ Fab,
2567
+ FeatureRow,
2568
+ Feed,
2569
+ Field,
2570
+ Fieldset,
2571
+ Figure,
2572
+ FileBrowser,
2573
+ FileGrid,
2574
+ FileTile,
2575
+ FilterBar,
2576
+ FilterChip,
2577
+ Footnote,
2578
+ Footnotes,
2579
+ Form,
2580
+ FormActions,
2581
+ FormRow,
2582
+ FormSection,
2583
+ Gallery,
2584
+ Gantt,
2585
+ GanttBar,
2586
+ GanttRow,
2587
+ Gauge,
2588
+ GlassContainer,
2589
+ GlassInteractive,
2590
+ Grid,
2591
+ GridLines,
2592
+ GroupBox,
2593
+ Grow,
2594
+ HStack,
2595
+ Heatmap,
2596
+ Help,
2597
+ Hero,
2598
+ HoverCard,
2599
+ HoverCardHost,
2600
+ Icon,
2601
+ IconTile,
2602
+ ImageLens,
2603
+ ImageViewer,
2604
+ ImageViewerBar,
2605
+ Input,
2606
+ InputGroup,
2607
+ Inspector,
2608
+ Kanban,
2609
+ KanbanColumn,
2610
+ KanbanList,
2611
+ Kbd,
2612
+ Label,
2613
+ Labeled,
2614
+ Landing,
2615
+ Legend,
2616
+ Lightbox,
2617
+ LineChart,
2618
+ LinearGauge,
2619
+ Link,
2620
+ LinkGroup,
2621
+ LiquidToggle,
2622
+ List,
2623
+ ListFooter,
2624
+ ListHeader,
2625
+ ListItem,
2626
+ Log,
2627
+ MarketingNav,
2628
+ MarketingNavBrand,
2629
+ MarketingNavLinks,
2630
+ MediaPlaceholder,
2631
+ Menu,
2632
+ MenuBar,
2633
+ MenuBarItem,
2634
+ MenuItem,
2635
+ MenuLabel,
2636
+ MenuSeparator,
2637
+ Modal,
2638
+ Notification,
2639
+ Onboarding,
2640
+ OnboardingFeature,
2641
+ OnboardingHero,
2642
+ Optional,
2643
+ OtpInput,
2644
+ Overline,
2645
+ Pagination,
2646
+ PaginationEllipsis,
2647
+ PaginationItem,
2648
+ PillNav,
2649
+ Popover,
2650
+ Progress,
2651
+ PromoBand,
2652
+ Quote,
2653
+ RadarChart,
2654
+ Radio,
2655
+ Rail,
2656
+ RailItem,
2657
+ Range,
2658
+ Resizable,
2659
+ ResizeHandle,
2660
+ Result,
2661
+ SafeArea,
2662
+ ScatterChart,
2663
+ ScrollArea,
2664
+ SearchField,
2665
+ SearchResult,
2666
+ SearchResults,
2667
+ Section,
2668
+ Segmented,
2669
+ Select,
2670
+ SelectionCount,
2671
+ Share,
2672
+ Sheet,
2673
+ Sidebar,
2674
+ SidebarGroup,
2675
+ SidebarHeading,
2676
+ SidebarItem,
2677
+ SiteFooter,
2678
+ SiteFooterGroup,
2679
+ SiteFooterGroups,
2680
+ SiteFooterHeading,
2681
+ SiteFooterLegal,
2682
+ Skeleton,
2683
+ SkipLink,
2684
+ Slider,
2685
+ SortControl,
2686
+ Spacer,
2687
+ Span,
2688
+ Sparkline,
2689
+ SpecStrip,
2690
+ Spinner,
2691
+ Split,
2692
+ SplitButton,
2693
+ Stack,
2694
+ Stage,
2695
+ Stat,
2696
+ StatusBar,
2697
+ StatusBarItem,
2698
+ StatusDot,
2699
+ StepperInput,
2700
+ Steps,
2701
+ StoryCard,
2702
+ Swatch,
2703
+ Swatches,
2704
+ Switch,
2705
+ SysPage,
2706
+ TabPanel,
2707
+ Table,
2708
+ TableNum,
2709
+ TableSortHeader,
2710
+ TableWrap,
2711
+ Tabs,
2712
+ Tag,
2713
+ Task,
2714
+ TaskList,
2715
+ TaskRow,
2716
+ Text,
2717
+ Textarea,
2718
+ ThemeScript,
2719
+ Thumb,
2720
+ Timeline,
2721
+ Tip,
2722
+ ToastProvider,
2723
+ ToggleButton,
2724
+ Toolbar,
2725
+ Tooltip,
2726
+ TopNav,
2727
+ TopNavBrand,
2728
+ TopNavLink,
2729
+ TopNavLinks,
2730
+ Tree,
2731
+ TreeItem,
2732
+ Upload,
2733
+ UploadItem,
2734
+ UploadPreview,
2735
+ UploadPreviews,
2736
+ VStack,
2737
+ Video,
2738
+ Wall,
2739
+ Waveform,
2740
+ Web,
2741
+ Workspace,
2742
+ WorkspaceMain,
2743
+ block,
2744
+ buttonClasses,
2745
+ cn,
2746
+ iconNames,
2747
+ useBaruaTheme,
2748
+ useToast
2749
+ });
2750
+ //# sourceMappingURL=index.cjs.map