@cloudvoyant/helix-react 0.14.0 → 0.15.0-rc.202608311146.0b9bacc

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 CHANGED
@@ -60,6 +60,16 @@ __export(index_exports, {
60
60
  ComboboxList: () => ComboboxList,
61
61
  ComboboxTrigger: () => ComboboxTrigger,
62
62
  Container: () => Container,
63
+ Dialog: () => Dialog,
64
+ DialogBackdrop: () => DialogBackdrop,
65
+ DialogContent: () => DialogContent,
66
+ DialogDescription: () => DialogDescription,
67
+ DialogDismiss: () => DialogDismiss,
68
+ DialogFooter: () => DialogFooter,
69
+ DialogHeader: () => DialogHeader,
70
+ DialogProvider: () => DialogProvider,
71
+ DialogTitle: () => DialogTitle,
72
+ DialogTrigger: () => DialogTrigger,
63
73
  Field: () => Field,
64
74
  FieldError: () => FieldError,
65
75
  FieldHelper: () => FieldHelper,
@@ -72,6 +82,7 @@ __export(index_exports, {
72
82
  HStack: () => HStack,
73
83
  Input: () => Input2,
74
84
  Item: () => Item,
85
+ Mermaid: () => Mermaid,
75
86
  Navbar: () => Navbar,
76
87
  NavbarActions: () => NavbarActions,
77
88
  NavbarActivationArea: () => NavbarActivationArea,
@@ -107,6 +118,16 @@ __export(index_exports, {
107
118
  PaginationItems: () => PaginationItems,
108
119
  PaginationNext: () => PaginationNext,
109
120
  PaginationPrevious: () => PaginationPrevious,
121
+ Popover: () => Popover,
122
+ PopoverAnchor: () => PopoverAnchor,
123
+ PopoverContent: () => PopoverContent,
124
+ PopoverDescription: () => PopoverDescription,
125
+ PopoverDismiss: () => PopoverDismiss,
126
+ PopoverIndicator: () => PopoverIndicator,
127
+ PopoverProvider: () => PopoverProvider,
128
+ PopoverTitle: () => PopoverTitle,
129
+ PopoverTrigger: () => PopoverTrigger,
130
+ Portal: () => import_portal5.Portal,
110
131
  Row: () => Row,
111
132
  Scroll: () => Scroll,
112
133
  Select: () => Select,
@@ -169,19 +190,41 @@ __export(index_exports, {
169
190
  Textarea: () => Textarea,
170
191
  ToggleButton: () => ToggleButton,
171
192
  ToggleButtonIndicator: () => ToggleButtonIndicator,
193
+ Tooltip: () => Tooltip,
194
+ TooltipContent: () => TooltipContent,
195
+ TooltipProvider: () => TooltipProvider,
196
+ TooltipTrigger: () => TooltipTrigger,
172
197
  VStack: () => VStack,
173
- navbarMenuTriggerStyle: () => import_helix45.navbarMenuTriggerStyle,
198
+ Window: () => Window,
199
+ WindowBody: () => WindowBody,
200
+ WindowControl: () => WindowControl,
201
+ WindowDismiss: () => WindowDismiss,
202
+ WindowDragTrigger: () => WindowDragTrigger,
203
+ WindowHeader: () => WindowHeader,
204
+ WindowProvider: () => WindowProvider,
205
+ WindowResizeTrigger: () => WindowResizeTrigger,
206
+ WindowStageTrigger: () => WindowStageTrigger,
207
+ WindowTitle: () => WindowTitle,
208
+ navbarMenuTriggerStyle: () => import_helix49.navbarMenuTriggerStyle,
174
209
  useCheckbox: () => useCheckbox,
175
210
  useCombobox: () => useCombobox,
211
+ useDialog: () => import_dialog.useDialog,
212
+ useDialogContext: () => import_dialog.useDialogContext,
176
213
  useField: () => useField,
177
214
  useMediaQuery: () => useMediaQuery,
178
215
  useNavbar: () => useNavbar,
179
216
  useNumberInput: () => useNumberInput,
217
+ usePopover: () => import_popover.usePopover,
218
+ usePopoverContext: () => import_popover.usePopoverContext,
180
219
  useSelect: () => useSelect,
181
220
  useSidebar: () => useSidebar,
182
221
  useSwitch: () => useSwitch,
183
222
  useTabs: () => useTabs,
184
- useTagInput: () => useTagInput
223
+ useTagInput: () => useTagInput,
224
+ useTooltip: () => import_tooltip.useTooltip,
225
+ useTooltipContext: () => import_tooltip.useTooltipContext,
226
+ useWindow: () => import_floating_panel.useFloatingPanel,
227
+ useWindowContext: () => import_floating_panel.useFloatingPanelContext
185
228
  });
186
229
  module.exports = __toCommonJS(index_exports);
187
230
 
@@ -204,57 +247,197 @@ function ToggleButtonIndicator(props) {
204
247
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_toggle.ToggleIndicator, { ...props });
205
248
  }
206
249
 
207
- // src/badge.tsx
208
- var import_factory2 = require("@ark-ui/react/factory");
250
+ // src/tooltip.tsx
251
+ var import_tooltip = require("@ark-ui/react/tooltip");
252
+ var import_portal = require("@ark-ui/react/portal");
209
253
  var import_helix3 = require("@cloudvoyant/helix");
210
254
  var import_jsx_runtime3 = require("react/jsx-runtime");
255
+ function Tooltip(props) {
256
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_tooltip.TooltipRoot, { ...props });
257
+ }
258
+ function TooltipProvider(props) {
259
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_tooltip.TooltipRootProvider, { ...props });
260
+ }
261
+ function TooltipTrigger({ className, ...props }) {
262
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_tooltip.TooltipTrigger, { className: (0, import_helix3.cn)(className), ...props });
263
+ }
264
+ function TooltipContent({ arrow = true, className, ...props }) {
265
+ const tooltip = (0, import_tooltip.useTooltipContext)();
266
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_portal.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_tooltip.TooltipPositioner, { className: import_helix3.tooltipPositionerBase, children: [
267
+ arrow && tooltip.open ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_tooltip.TooltipArrow, { className: import_helix3.tooltipArrowBase, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_tooltip.TooltipArrowTip, {}) }) : null,
268
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_tooltip.TooltipContent, { className: (0, import_helix3.cn)(import_helix3.tooltipContentBase, className), ...props })
269
+ ] }) });
270
+ }
271
+
272
+ // src/popover.tsx
273
+ var import_popover = require("@ark-ui/react/popover");
274
+ var import_portal2 = require("@ark-ui/react/portal");
275
+ var import_helix4 = require("@cloudvoyant/helix");
276
+ var import_jsx_runtime4 = require("react/jsx-runtime");
277
+ function Popover(props) {
278
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.PopoverRoot, { ...props });
279
+ }
280
+ function PopoverProvider(props) {
281
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.PopoverRootProvider, { ...props });
282
+ }
283
+ function PopoverTrigger({ className, ...props }) {
284
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.PopoverTrigger, { className: (0, import_helix4.cn)(className), ...props });
285
+ }
286
+ function PopoverAnchor({ className, ...props }) {
287
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.PopoverAnchor, { className: (0, import_helix4.cn)(className), ...props });
288
+ }
289
+ function PopoverContent({ arrow = false, className, ...props }) {
290
+ const popover = (0, import_popover.usePopoverContext)();
291
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_portal2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_popover.PopoverPositioner, { className: import_helix4.popoverPositionerBase, children: [
292
+ arrow && popover.open ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.PopoverArrow, { className: import_helix4.popoverArrowBase, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.PopoverArrowTip, {}) }) : null,
293
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.PopoverContent, { className: (0, import_helix4.cn)(import_helix4.popoverContentBase, className), ...props })
294
+ ] }) });
295
+ }
296
+ function PopoverTitle({ className, ...props }) {
297
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.PopoverTitle, { className: (0, import_helix4.cn)(import_helix4.popoverTitleBase, className), ...props });
298
+ }
299
+ function PopoverDescription({ className, ...props }) {
300
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.PopoverDescription, { className: (0, import_helix4.cn)(import_helix4.popoverDescriptionBase, className), ...props });
301
+ }
302
+ function PopoverDismiss({ className, ...props }) {
303
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.PopoverCloseTrigger, { "aria-label": "Close", className: (0, import_helix4.cn)(import_helix4.popoverCloseTriggerBase, className), ...props });
304
+ }
305
+ function PopoverIndicator({ className, ...props }) {
306
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.PopoverIndicator, { className: (0, import_helix4.cn)(import_helix4.popoverIndicatorBase, className), ...props });
307
+ }
308
+
309
+ // src/dialog.tsx
310
+ var import_dialog = require("@ark-ui/react/dialog");
311
+ var import_portal3 = require("@ark-ui/react/portal");
312
+ var import_helix5 = require("@cloudvoyant/helix");
313
+ var import_jsx_runtime5 = require("react/jsx-runtime");
314
+ function Dialog(props) {
315
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_dialog.DialogRoot, { ...props });
316
+ }
317
+ function DialogProvider(props) {
318
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_dialog.DialogRootProvider, { ...props });
319
+ }
320
+ function DialogTrigger({ className, ...props }) {
321
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_dialog.DialogTrigger, { className: (0, import_helix5.cn)(className), ...props });
322
+ }
323
+ function DialogBackdrop({ className, ...props }) {
324
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_portal3.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_dialog.DialogBackdrop, { className: (0, import_helix5.cn)(import_helix5.dialogBackdropBase, className), ...props }) });
325
+ }
326
+ function DialogContent({ positionerClassName, fullscreen, className, ...props }) {
327
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_portal3.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_dialog.DialogPositioner, { className: (0, import_helix5.cn)(import_helix5.dialogPositionerBase, fullscreen && "p-0", positionerClassName), children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
328
+ import_dialog.DialogContent,
329
+ {
330
+ className: (0, import_helix5.cn)(import_helix5.dialogContentBase, fullscreen && import_helix5.dialogFullscreenContentBase, className),
331
+ ...props
332
+ }
333
+ ) }) });
334
+ }
335
+ function DialogTitle({ className, ...props }) {
336
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_dialog.DialogTitle, { className: (0, import_helix5.cn)(import_helix5.dialogTitleBase, className), ...props });
337
+ }
338
+ function DialogDescription({ className, ...props }) {
339
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_dialog.DialogDescription, { className: (0, import_helix5.cn)(import_helix5.dialogDescriptionBase, className), ...props });
340
+ }
341
+ function DialogHeader({ sticky, className, ...props }) {
342
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: (0, import_helix5.cn)(import_helix5.dialogHeaderBase, sticky && import_helix5.dialogHeaderStickyBase, className), ...props });
343
+ }
344
+ function DialogFooter({ sticky, className, ...props }) {
345
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: (0, import_helix5.cn)(import_helix5.dialogFooterBase, sticky && import_helix5.dialogFooterStickyBase, className), ...props });
346
+ }
347
+ function DialogDismiss({ className, ...props }) {
348
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_dialog.DialogCloseTrigger, { "aria-label": "Close", className: (0, import_helix5.cn)(import_helix5.dialogCloseTriggerBase, className), ...props });
349
+ }
350
+
351
+ // src/window.tsx
352
+ var import_floating_panel = require("@ark-ui/react/floating-panel");
353
+ var import_portal4 = require("@ark-ui/react/portal");
354
+ var import_helix6 = require("@cloudvoyant/helix");
355
+ var import_jsx_runtime6 = require("react/jsx-runtime");
356
+ function Window({ className, positionerClassName, children, ...props }) {
357
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_floating_panel.FloatingPanelRoot, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_portal4.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_floating_panel.FloatingPanelPositioner, { className: (0, import_helix6.cn)(import_helix6.windowPositionerBase, positionerClassName), children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_floating_panel.FloatingPanelContent, { className: (0, import_helix6.cn)(import_helix6.windowContentBase, className), children }) }) }) });
358
+ }
359
+ function WindowProvider(props) {
360
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_floating_panel.FloatingPanelRootProvider, { ...props });
361
+ }
362
+ function WindowDragTrigger({ className, ...props }) {
363
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_floating_panel.FloatingPanelDragTrigger, { className: (0, import_helix6.cn)(import_helix6.windowDragTriggerBase, className), ...props });
364
+ }
365
+ function WindowHeader({ className, ...props }) {
366
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_floating_panel.FloatingPanelHeader, { className: (0, import_helix6.cn)(import_helix6.windowHeaderBase, className), ...props });
367
+ }
368
+ function WindowTitle({ className, ...props }) {
369
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_floating_panel.FloatingPanelTitle, { className: (0, import_helix6.cn)(import_helix6.windowTitleBase, className), ...props });
370
+ }
371
+ function WindowControl({ className, ...props }) {
372
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_floating_panel.FloatingPanelControl, { className: (0, import_helix6.cn)(import_helix6.windowControlBase, className), ...props });
373
+ }
374
+ function WindowStageTrigger({ className, ...props }) {
375
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_floating_panel.FloatingPanelStageTrigger, { className: (0, import_helix6.cn)(import_helix6.windowStageTriggerBase, className), ...props });
376
+ }
377
+ function WindowDismiss({ className, ...props }) {
378
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_floating_panel.FloatingPanelCloseTrigger, { "aria-label": "Close", className: (0, import_helix6.cn)(import_helix6.windowCloseTriggerBase, className), ...props });
379
+ }
380
+ function WindowBody({ className, ...props }) {
381
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_floating_panel.FloatingPanelBody, { className: (0, import_helix6.cn)(import_helix6.windowBodyBase, className), ...props });
382
+ }
383
+ function WindowResizeTrigger({ axis = "se", className, ...props }) {
384
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_floating_panel.FloatingPanelResizeTrigger, { axis, className: (0, import_helix6.cn)(import_helix6.windowResizeTriggerBase, className), ...props });
385
+ }
386
+
387
+ // src/badge.tsx
388
+ var import_factory2 = require("@ark-ui/react/factory");
389
+ var import_helix7 = require("@cloudvoyant/helix");
390
+ var import_jsx_runtime7 = require("react/jsx-runtime");
211
391
  function Badge({ className, variant, color, size, ...props }) {
212
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_factory2.ark.span, { className: (0, import_helix3.cn)((0, import_helix3.badgeVariants)({ variant, color, size }), className), ...props });
392
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_factory2.ark.span, { className: (0, import_helix7.cn)((0, import_helix7.badgeVariants)({ variant, color, size }), className), ...props });
213
393
  }
214
394
 
215
395
  // src/container.tsx
216
396
  var import_factory3 = require("@ark-ui/react/factory");
217
- var import_helix4 = require("@cloudvoyant/helix");
218
- var import_jsx_runtime4 = require("react/jsx-runtime");
397
+ var import_helix8 = require("@cloudvoyant/helix");
398
+ var import_jsx_runtime8 = require("react/jsx-runtime");
219
399
  function Container({ className, ...props }) {
220
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_factory3.ark.div, { className: (0, import_helix4.cn)(import_helix4.containerBase, className), ...props });
400
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_factory3.ark.div, { className: (0, import_helix8.cn)(import_helix8.containerBase, className), ...props });
221
401
  }
222
402
 
223
403
  // src/row.tsx
224
404
  var import_factory4 = require("@ark-ui/react/factory");
225
- var import_helix5 = require("@cloudvoyant/helix");
226
- var import_jsx_runtime5 = require("react/jsx-runtime");
405
+ var import_helix9 = require("@cloudvoyant/helix");
406
+ var import_jsx_runtime9 = require("react/jsx-runtime");
227
407
  function Row({ className, ...props }) {
228
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_factory4.ark.div, { className: (0, import_helix5.cn)(import_helix5.rowBase, className), ...props });
408
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_factory4.ark.div, { className: (0, import_helix9.cn)(import_helix9.rowBase, className), ...props });
229
409
  }
230
410
 
231
411
  // src/col.tsx
232
412
  var import_factory5 = require("@ark-ui/react/factory");
233
- var import_helix6 = require("@cloudvoyant/helix");
234
- var import_jsx_runtime6 = require("react/jsx-runtime");
413
+ var import_helix10 = require("@cloudvoyant/helix");
414
+ var import_jsx_runtime10 = require("react/jsx-runtime");
235
415
  function Col({ className, ...props }) {
236
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_factory5.ark.div, { className: (0, import_helix6.cn)(import_helix6.colBase, className), ...props });
416
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_factory5.ark.div, { className: (0, import_helix10.cn)(import_helix10.colBase, className), ...props });
237
417
  }
238
418
 
239
419
  // src/center.tsx
240
420
  var import_factory6 = require("@ark-ui/react/factory");
241
- var import_helix7 = require("@cloudvoyant/helix");
242
- var import_jsx_runtime7 = require("react/jsx-runtime");
421
+ var import_helix11 = require("@cloudvoyant/helix");
422
+ var import_jsx_runtime11 = require("react/jsx-runtime");
243
423
  function Center({ className, ...props }) {
244
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_factory6.ark.div, { className: (0, import_helix7.cn)(import_helix7.centerBase, className), ...props });
424
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_factory6.ark.div, { className: (0, import_helix11.cn)(import_helix11.centerBase, className), ...props });
245
425
  }
246
426
 
427
+ // src/portal.tsx
428
+ var import_portal5 = require("@ark-ui/react/portal");
429
+
247
430
  // src/item.tsx
248
431
  var import_factory7 = require("@ark-ui/react/factory");
249
- var import_helix8 = require("@cloudvoyant/helix");
250
- var import_jsx_runtime8 = require("react/jsx-runtime");
432
+ var import_helix12 = require("@cloudvoyant/helix");
433
+ var import_jsx_runtime12 = require("react/jsx-runtime");
251
434
  function Item({ className, variant, ...props }) {
252
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_factory7.ark.div, { className: (0, import_helix8.cn)((0, import_helix8.itemVariants)({ variant }), className), ...props });
435
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_factory7.ark.div, { className: (0, import_helix12.cn)((0, import_helix12.itemVariants)({ variant }), className), ...props });
253
436
  }
254
437
 
255
438
  // src/card/root.tsx
256
439
  var import_factory8 = require("@ark-ui/react/factory");
257
- var import_helix9 = require("@cloudvoyant/helix");
440
+ var import_helix13 = require("@cloudvoyant/helix");
258
441
 
259
442
  // src/card/context.ts
260
443
  var import_react = require("react");
@@ -264,62 +447,62 @@ function useCardOrientation() {
264
447
  }
265
448
 
266
449
  // src/card/root.tsx
267
- var import_jsx_runtime9 = require("react/jsx-runtime");
450
+ var import_jsx_runtime13 = require("react/jsx-runtime");
268
451
  function Card({ className, variant, size, orientation, children, ...props }) {
269
452
  const resolvedOrientation = orientation ?? "vertical";
270
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CardOrientationContext.Provider, { value: resolvedOrientation, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_factory8.ark.div, { className: (0, import_helix9.cn)((0, import_helix9.cardVariants)({ variant, size, orientation: resolvedOrientation }), className), ...props, children }) });
453
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(CardOrientationContext.Provider, { value: resolvedOrientation, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_factory8.ark.div, { className: (0, import_helix13.cn)((0, import_helix13.cardVariants)({ variant, size, orientation: resolvedOrientation }), className), ...props, children }) });
271
454
  }
272
455
 
273
456
  // src/card/header.tsx
274
457
  var import_factory9 = require("@ark-ui/react/factory");
275
- var import_helix10 = require("@cloudvoyant/helix");
276
- var import_jsx_runtime10 = require("react/jsx-runtime");
458
+ var import_helix14 = require("@cloudvoyant/helix");
459
+ var import_jsx_runtime14 = require("react/jsx-runtime");
277
460
  function CardHeader({ className, ...props }) {
278
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_factory9.ark.div, { className: (0, import_helix10.cn)(import_helix10.cardHeaderBase, className), ...props });
461
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_factory9.ark.div, { className: (0, import_helix14.cn)(import_helix14.cardHeaderBase, className), ...props });
279
462
  }
280
463
 
281
464
  // src/card/body.tsx
282
465
  var import_factory10 = require("@ark-ui/react/factory");
283
- var import_helix11 = require("@cloudvoyant/helix");
284
- var import_jsx_runtime11 = require("react/jsx-runtime");
466
+ var import_helix15 = require("@cloudvoyant/helix");
467
+ var import_jsx_runtime15 = require("react/jsx-runtime");
285
468
  function CardBody({ className, ...props }) {
286
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_factory10.ark.div, { className: (0, import_helix11.cn)(import_helix11.cardBodyBase, className), ...props });
469
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_factory10.ark.div, { className: (0, import_helix15.cn)(import_helix15.cardBodyBase, className), ...props });
287
470
  }
288
471
 
289
472
  // src/card/footer.tsx
290
473
  var import_factory11 = require("@ark-ui/react/factory");
291
- var import_helix12 = require("@cloudvoyant/helix");
292
- var import_jsx_runtime12 = require("react/jsx-runtime");
474
+ var import_helix16 = require("@cloudvoyant/helix");
475
+ var import_jsx_runtime16 = require("react/jsx-runtime");
293
476
  function CardFooter({ className, ...props }) {
294
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_factory11.ark.div, { className: (0, import_helix12.cn)(import_helix12.cardFooterBase, className), ...props });
477
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_factory11.ark.div, { className: (0, import_helix16.cn)(import_helix16.cardFooterBase, className), ...props });
295
478
  }
296
479
 
297
480
  // src/card/title.tsx
298
481
  var import_factory12 = require("@ark-ui/react/factory");
299
- var import_helix13 = require("@cloudvoyant/helix");
300
- var import_jsx_runtime13 = require("react/jsx-runtime");
482
+ var import_helix17 = require("@cloudvoyant/helix");
483
+ var import_jsx_runtime17 = require("react/jsx-runtime");
301
484
  function CardTitle({ className, ...props }) {
302
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_factory12.ark.h3, { className: (0, import_helix13.cn)(import_helix13.cardTitleBase, className), ...props });
485
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_factory12.ark.h3, { className: (0, import_helix17.cn)(import_helix17.cardTitleBase, className), ...props });
303
486
  }
304
487
 
305
488
  // src/card/description.tsx
306
489
  var import_factory13 = require("@ark-ui/react/factory");
307
- var import_helix14 = require("@cloudvoyant/helix");
308
- var import_jsx_runtime14 = require("react/jsx-runtime");
490
+ var import_helix18 = require("@cloudvoyant/helix");
491
+ var import_jsx_runtime18 = require("react/jsx-runtime");
309
492
  function CardDescription({ className, ...props }) {
310
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_factory13.ark.p, { className: (0, import_helix14.cn)(import_helix14.cardDescriptionBase, className), ...props });
493
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_factory13.ark.p, { className: (0, import_helix18.cn)(import_helix18.cardDescriptionBase, className), ...props });
311
494
  }
312
495
 
313
496
  // src/card/cover.tsx
314
497
  var import_factory14 = require("@ark-ui/react/factory");
315
- var import_helix15 = require("@cloudvoyant/helix");
316
- var import_jsx_runtime15 = require("react/jsx-runtime");
498
+ var import_helix19 = require("@cloudvoyant/helix");
499
+ var import_jsx_runtime19 = require("react/jsx-runtime");
317
500
  function CardCover({ className, variant, orientation, ...props }) {
318
501
  const contextOrientation = useCardOrientation();
319
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
502
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
320
503
  import_factory14.ark.div,
321
504
  {
322
- className: (0, import_helix15.cn)((0, import_helix15.cardCoverVariants)({ variant, orientation: orientation ?? contextOrientation }), className),
505
+ className: (0, import_helix19.cn)((0, import_helix19.cardCoverVariants)({ variant, orientation: orientation ?? contextOrientation }), className),
323
506
  ...props
324
507
  }
325
508
  );
@@ -327,22 +510,22 @@ function CardCover({ className, variant, orientation, ...props }) {
327
510
 
328
511
  // src/stack.tsx
329
512
  var import_factory15 = require("@ark-ui/react/factory");
330
- var import_helix16 = require("@cloudvoyant/helix");
331
- var import_jsx_runtime16 = require("react/jsx-runtime");
513
+ var import_helix20 = require("@cloudvoyant/helix");
514
+ var import_jsx_runtime20 = require("react/jsx-runtime");
332
515
  function Stack({ className, ...props }) {
333
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_factory15.ark.div, { className: (0, import_helix16.cn)(import_helix16.stackBase, className), ...props });
516
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_factory15.ark.div, { className: (0, import_helix20.cn)(import_helix20.stackBase, className), ...props });
334
517
  }
335
518
  function HStack({ className, ...props }) {
336
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_factory15.ark.div, { className: (0, import_helix16.cn)(import_helix16.hstackBase, className), ...props });
519
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_factory15.ark.div, { className: (0, import_helix20.cn)(import_helix20.hstackBase, className), ...props });
337
520
  }
338
521
  function VStack({ className, ...props }) {
339
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_factory15.ark.div, { className: (0, import_helix16.cn)(import_helix16.vstackBase, className), ...props });
522
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_factory15.ark.div, { className: (0, import_helix20.cn)(import_helix20.vstackBase, className), ...props });
340
523
  }
341
524
 
342
525
  // src/scroll.tsx
343
526
  var import_scroll_area = require("@ark-ui/react/scroll-area");
344
- var import_helix17 = require("@cloudvoyant/helix");
345
- var import_jsx_runtime17 = require("react/jsx-runtime");
527
+ var import_helix21 = require("@cloudvoyant/helix");
528
+ var import_jsx_runtime21 = require("react/jsx-runtime");
346
529
  function Scroll({
347
530
  className,
348
531
  orientation = "vertical",
@@ -353,22 +536,22 @@ function Scroll({
353
536
  children,
354
537
  ...props
355
538
  }) {
356
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_scroll_area.ScrollAreaRoot, { className: (0, import_helix17.cn)(import_helix17.scrollRootBase, className), ...props, children: [
357
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_scroll_area.ScrollAreaViewport, { className: (0, import_helix17.cn)(import_helix17.scrollViewportBase, viewportClassName), children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_scroll_area.ScrollAreaContent, { className: (0, import_helix17.cn)(import_helix17.scrollContentBase, contentClassName), children }) }),
358
- variant === "hidden" ? null : /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
359
- (orientation === "vertical" || orientation === "both") && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_scroll_area.ScrollAreaScrollbar, { orientation: "vertical", className: import_helix17.scrollScrollbarBase, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_scroll_area.ScrollAreaThumb, { className: (0, import_helix17.cn)(import_helix17.scrollThumbBase, thumbClassName) }) }),
360
- (orientation === "horizontal" || orientation === "both") && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_scroll_area.ScrollAreaScrollbar, { orientation: "horizontal", className: import_helix17.scrollScrollbarBase, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_scroll_area.ScrollAreaThumb, { className: (0, import_helix17.cn)(import_helix17.scrollThumbBase, thumbClassName) }) }),
361
- orientation === "both" && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_scroll_area.ScrollAreaCorner, { className: import_helix17.scrollCornerBase })
539
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_scroll_area.ScrollAreaRoot, { className: (0, import_helix21.cn)(import_helix21.scrollRootBase, className), ...props, children: [
540
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_scroll_area.ScrollAreaViewport, { className: (0, import_helix21.cn)(import_helix21.scrollViewportBase, viewportClassName), children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_scroll_area.ScrollAreaContent, { className: (0, import_helix21.cn)(import_helix21.scrollContentBase, contentClassName), children }) }),
541
+ variant === "hidden" ? null : /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_jsx_runtime21.Fragment, { children: [
542
+ (orientation === "vertical" || orientation === "both") && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_scroll_area.ScrollAreaScrollbar, { orientation: "vertical", className: import_helix21.scrollScrollbarBase, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_scroll_area.ScrollAreaThumb, { className: (0, import_helix21.cn)(import_helix21.scrollThumbBase, thumbClassName) }) }),
543
+ (orientation === "horizontal" || orientation === "both") && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_scroll_area.ScrollAreaScrollbar, { orientation: "horizontal", className: import_helix21.scrollScrollbarBase, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_scroll_area.ScrollAreaThumb, { className: (0, import_helix21.cn)(import_helix21.scrollThumbBase, thumbClassName) }) }),
544
+ orientation === "both" && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_scroll_area.ScrollAreaCorner, { className: import_helix21.scrollCornerBase })
362
545
  ] })
363
546
  ] });
364
547
  }
365
548
 
366
549
  // src/page.tsx
367
550
  var import_factory16 = require("@ark-ui/react/factory");
368
- var import_helix18 = require("@cloudvoyant/helix");
369
- var import_jsx_runtime18 = require("react/jsx-runtime");
551
+ var import_helix22 = require("@cloudvoyant/helix");
552
+ var import_jsx_runtime22 = require("react/jsx-runtime");
370
553
  function Page({ variant = "default", className, children, ...props }) {
371
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_factory16.ark.div, { "data-slot": "page", className: (0, import_helix18.cn)((0, import_helix18.pageVariants)({ variant }), className), ...props, children });
554
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_factory16.ark.div, { "data-slot": "page", className: (0, import_helix22.cn)((0, import_helix22.pageVariants)({ variant }), className), ...props, children });
372
555
  }
373
556
  function PageGutter({
374
557
  side = "left",
@@ -378,22 +561,22 @@ function PageGutter({
378
561
  children,
379
562
  ...props
380
563
  }) {
381
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
564
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
382
565
  import_factory16.ark.div,
383
566
  {
384
567
  "data-slot": "page-gutter-area",
385
- className: (0, import_helix18.cn)(import_helix18.pageGutterAreaBase, side === "right" && "[grid-area:right]"),
386
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
568
+ className: (0, import_helix22.cn)(import_helix22.pageGutterAreaBase, side === "right" && "[grid-area:right]"),
569
+ children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
387
570
  import_factory16.ark.div,
388
571
  {
389
572
  "data-slot": "page-gutter",
390
- className: (0, import_helix18.cn)((0, import_helix18.pageGutterVariants)({ side }), className),
573
+ className: (0, import_helix22.cn)((0, import_helix22.pageGutterVariants)({ side }), className),
391
574
  ...props,
392
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
575
+ children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
393
576
  import_factory16.ark.div,
394
577
  {
395
578
  "data-slot": "page-gutter-content",
396
- className: (0, import_helix18.cn)((0, import_helix18.pageGutterContentVariants)({ align }), contentClassName),
579
+ className: (0, import_helix22.cn)((0, import_helix22.pageGutterContentVariants)({ align }), contentClassName),
397
580
  children
398
581
  }
399
582
  )
@@ -403,28 +586,28 @@ function PageGutter({
403
586
  );
404
587
  }
405
588
  function PageContent({ className, children, ...props }) {
406
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_factory16.ark.main, { "data-slot": "page-content", className: (0, import_helix18.cn)(import_helix18.pageContentBase, className), ...props, children });
589
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_factory16.ark.main, { "data-slot": "page-content", className: (0, import_helix22.cn)(import_helix22.pageContentBase, className), ...props, children });
407
590
  }
408
591
  function PageFooter({ className, children, ...props }) {
409
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_factory16.ark.footer, { "data-slot": "page-footer", className: (0, import_helix18.cn)(import_helix18.pageFooterBase, className), ...props, children });
592
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_factory16.ark.footer, { "data-slot": "page-footer", className: (0, import_helix22.cn)(import_helix22.pageFooterBase, className), ...props, children });
410
593
  }
411
594
  function PageSection({ className, children, ...props }) {
412
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_factory16.ark.section, { "data-slot": "page-section", className: (0, import_helix18.cn)(import_helix18.pageSectionBase, className), ...props, children });
595
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_factory16.ark.section, { "data-slot": "page-section", className: (0, import_helix22.cn)(import_helix22.pageSectionBase, className), ...props, children });
413
596
  }
414
597
 
415
598
  // src/splitter.tsx
416
599
  var import_splitter = require("@ark-ui/react/splitter");
417
- var import_helix19 = require("@cloudvoyant/helix");
418
- var import_jsx_runtime19 = require("react/jsx-runtime");
600
+ var import_helix23 = require("@cloudvoyant/helix");
601
+ var import_jsx_runtime23 = require("react/jsx-runtime");
419
602
  function Splitter({ className, ...props }) {
420
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_splitter.SplitterRoot, { className: (0, import_helix19.cn)(import_helix19.splitterRootBase, className), ...props });
603
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_splitter.SplitterRoot, { className: (0, import_helix23.cn)(import_helix23.splitterRootBase, className), ...props });
421
604
  }
422
605
  function SplitterPanel({ className, ...props }) {
423
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_splitter.SplitterPanel, { className: (0, import_helix19.cn)(import_helix19.splitterPanelBase, className), ...props });
606
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_splitter.SplitterPanel, { className: (0, import_helix23.cn)(import_helix23.splitterPanelBase, className), ...props });
424
607
  }
425
608
  function SplitterResizeTrigger({ className, children, ...props }) {
426
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_splitter.SplitterResizeTrigger, { className: (0, import_helix19.cn)(import_helix19.splitterResizeTriggerBase, className), ...props, children: [
427
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { "aria-hidden": true, "data-part": "separator", className: import_helix19.splitterResizeTriggerSeparatorBase }),
609
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_splitter.SplitterResizeTrigger, { className: (0, import_helix23.cn)(import_helix23.splitterResizeTriggerBase, className), ...props, children: [
610
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { "aria-hidden": true, "data-part": "separator", className: import_helix23.splitterResizeTriggerSeparatorBase }),
428
611
  children
429
612
  ] });
430
613
  }
@@ -432,10 +615,10 @@ function SplitterResizeTriggerIndicator({
432
615
  className,
433
616
  ...props
434
617
  }) {
435
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
618
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
436
619
  import_splitter.SplitterResizeTriggerIndicator,
437
620
  {
438
- className: (0, import_helix19.cn)(import_helix19.splitterResizeTriggerIndicatorBase, className),
621
+ className: (0, import_helix23.cn)(import_helix23.splitterResizeTriggerIndicatorBase, className),
439
622
  ...props
440
623
  }
441
624
  );
@@ -443,7 +626,7 @@ function SplitterResizeTriggerIndicator({
443
626
 
444
627
  // src/sidebar/Provider.tsx
445
628
  var React2 = __toESM(require("react"), 1);
446
- var import_helix20 = require("@cloudvoyant/helix");
629
+ var import_helix24 = require("@cloudvoyant/helix");
447
630
 
448
631
  // src/sidebar/context.ts
449
632
  var React = __toESM(require("react"), 1);
@@ -457,7 +640,7 @@ function useSidebar() {
457
640
  }
458
641
 
459
642
  // src/sidebar/Provider.tsx
460
- var import_jsx_runtime20 = require("react/jsx-runtime");
643
+ var import_jsx_runtime24 = require("react/jsx-runtime");
461
644
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
462
645
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
463
646
  function useIsMobile() {
@@ -515,7 +698,7 @@ function Provider({
515
698
  }, [openProp]);
516
699
  React2.useEffect(() => {
517
700
  const handleKeyDown = (event) => {
518
- if (event.key === import_helix20.SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
701
+ if (event.key === import_helix24.SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
519
702
  event.preventDefault();
520
703
  toggleSidebar();
521
704
  }
@@ -536,16 +719,16 @@ function Provider({
536
719
  }),
537
720
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
538
721
  );
539
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
722
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
540
723
  Row,
541
724
  {
542
725
  "data-slot": "sidebar-wrapper",
543
726
  style: {
544
- "--sidebar-width": import_helix20.SIDEBAR_WIDTH,
545
- "--sidebar-width-icon": import_helix20.SIDEBAR_WIDTH_ICON,
727
+ "--sidebar-width": import_helix24.SIDEBAR_WIDTH,
728
+ "--sidebar-width-icon": import_helix24.SIDEBAR_WIDTH_ICON,
546
729
  ...style
547
730
  },
548
- className: (0, import_helix20.cn)(import_helix20.sidebarStyles.wrapperClass, className),
731
+ className: (0, import_helix24.cn)(import_helix24.sidebarStyles.wrapperClass, className),
549
732
  ...props,
550
733
  children
551
734
  }
@@ -554,8 +737,8 @@ function Provider({
554
737
 
555
738
  // src/sidebar/Root.tsx
556
739
  var import_drawer = require("@ark-ui/react/drawer");
557
- var import_helix21 = require("@cloudvoyant/helix");
558
- var import_jsx_runtime21 = require("react/jsx-runtime");
740
+ var import_helix25 = require("@cloudvoyant/helix");
741
+ var import_jsx_runtime25 = require("react/jsx-runtime");
559
742
  function Root({
560
743
  side = "left",
561
744
  variant = "sidebar",
@@ -566,39 +749,39 @@ function Root({
566
749
  }) {
567
750
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
568
751
  if (collapsible === "none") {
569
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
752
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
570
753
  Col,
571
754
  {
572
755
  "data-slot": "sidebar",
573
756
  "data-sidebar": "sidebar",
574
- className: (0, import_helix21.cn)("h-full w-(--sidebar-width) bg-sidebar text-sidebar-foreground", className),
757
+ className: (0, import_helix25.cn)("h-full w-(--sidebar-width) bg-sidebar text-sidebar-foreground", className),
575
758
  ...props,
576
759
  children
577
760
  }
578
761
  );
579
762
  }
580
763
  if (isMobile) {
581
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
764
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
582
765
  import_drawer.DrawerRoot,
583
766
  {
584
767
  open: openMobile,
585
768
  onOpenChange: (details) => setOpenMobile(details.open),
586
769
  ...props,
587
770
  children: [
588
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_drawer.DrawerBackdrop, {}),
589
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_drawer.DrawerPositioner, { className: "w-(--sidebar-width)", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
771
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_drawer.DrawerBackdrop, {}),
772
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_drawer.DrawerPositioner, { className: "w-(--sidebar-width)", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
590
773
  import_drawer.DrawerContent,
591
774
  {
592
775
  "data-sidebar": "sidebar",
593
776
  "data-slot": "sidebar",
594
777
  "data-mobile": "true",
595
- className: (0, import_helix21.cn)("w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground", className),
596
- style: { "--sidebar-width": import_helix21.SIDEBAR_WIDTH_MOBILE },
778
+ className: (0, import_helix25.cn)("w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground", className),
779
+ style: { "--sidebar-width": import_helix25.SIDEBAR_WIDTH_MOBILE },
597
780
  children: [
598
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_drawer.DrawerTitle, { className: "sr-only", children: "Sidebar" }),
599
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_drawer.DrawerDescription, { className: "sr-only", children: "Displays the mobile sidebar." }),
600
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_drawer.DrawerCloseTrigger, { className: "hidden" }),
601
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Col, { className: "h-full w-full", children })
781
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_drawer.DrawerTitle, { className: "sr-only", children: "Sidebar" }),
782
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_drawer.DrawerDescription, { className: "sr-only", children: "Displays the mobile sidebar." }),
783
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_drawer.DrawerCloseTrigger, { className: "hidden" }),
784
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Col, { className: "h-full w-full", children })
602
785
  ]
603
786
  }
604
787
  ) })
@@ -606,7 +789,7 @@ function Root({
606
789
  }
607
790
  );
608
791
  }
609
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
792
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
610
793
  "div",
611
794
  {
612
795
  className: "group peer hidden text-sidebar-foreground md:block",
@@ -616,35 +799,35 @@ function Root({
616
799
  "data-side": side,
617
800
  "data-slot": "sidebar",
618
801
  children: [
619
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
802
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
620
803
  "div",
621
804
  {
622
805
  "data-slot": "sidebar-gap",
623
- className: (0, import_helix21.cn)(
624
- import_helix21.sidebarStyles.gapClass,
806
+ className: (0, import_helix25.cn)(
807
+ import_helix25.sidebarStyles.gapClass,
625
808
  side === "right" && "rotate-180",
626
809
  variant === "floating" || variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)"
627
810
  )
628
811
  }
629
812
  ),
630
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
813
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
631
814
  "div",
632
815
  {
633
816
  "data-slot": "sidebar-container",
634
- className: (0, import_helix21.cn)(
635
- import_helix21.sidebarStyles.containerClass,
817
+ className: (0, import_helix25.cn)(
818
+ import_helix25.sidebarStyles.containerClass,
636
819
  side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
637
820
  variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
638
821
  className
639
822
  ),
640
823
  ...props,
641
- children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
824
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
642
825
  "div",
643
826
  {
644
827
  "data-sidebar": "sidebar",
645
828
  "data-slot": "sidebar-inner",
646
829
  "data-variant": variant,
647
- className: (0, import_helix21.cn)(import_helix21.sidebarStyles.innerClass),
830
+ className: (0, import_helix25.cn)(import_helix25.sidebarStyles.innerClass),
648
831
  children
649
832
  }
650
833
  )
@@ -656,30 +839,30 @@ function Root({
656
839
  }
657
840
 
658
841
  // src/sidebar/Header.tsx
659
- var import_helix22 = require("@cloudvoyant/helix");
660
- var import_jsx_runtime22 = require("react/jsx-runtime");
842
+ var import_helix26 = require("@cloudvoyant/helix");
843
+ var import_jsx_runtime26 = require("react/jsx-runtime");
661
844
  function Header({ className, ...props }) {
662
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
845
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
663
846
  Col,
664
847
  {
665
848
  "data-slot": "sidebar-header",
666
849
  "data-sidebar": "header",
667
- className: (0, import_helix22.cn)(import_helix22.sidebarStyles.headerClass, className),
850
+ className: (0, import_helix26.cn)(import_helix26.sidebarStyles.headerClass, className),
668
851
  ...props
669
852
  }
670
853
  );
671
854
  }
672
855
 
673
856
  // src/sidebar/Footer.tsx
674
- var import_helix23 = require("@cloudvoyant/helix");
675
- var import_jsx_runtime23 = require("react/jsx-runtime");
857
+ var import_helix27 = require("@cloudvoyant/helix");
858
+ var import_jsx_runtime27 = require("react/jsx-runtime");
676
859
  function Footer({ className, ...props }) {
677
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
860
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
678
861
  Col,
679
862
  {
680
863
  "data-slot": "sidebar-footer",
681
864
  "data-sidebar": "footer",
682
- className: (0, import_helix23.cn)(import_helix23.sidebarStyles.footerClass, className),
865
+ className: (0, import_helix27.cn)(import_helix27.sidebarStyles.footerClass, className),
683
866
  ...props
684
867
  }
685
868
  );
@@ -687,59 +870,59 @@ function Footer({ className, ...props }) {
687
870
 
688
871
  // src/sidebar/Separator.tsx
689
872
  var import_factory17 = require("@ark-ui/react/factory");
690
- var import_helix24 = require("@cloudvoyant/helix");
691
- var import_jsx_runtime24 = require("react/jsx-runtime");
873
+ var import_helix28 = require("@cloudvoyant/helix");
874
+ var import_jsx_runtime28 = require("react/jsx-runtime");
692
875
  function Separator({ className, ...props }) {
693
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
876
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
694
877
  import_factory17.ark.div,
695
878
  {
696
879
  "data-slot": "sidebar-separator",
697
880
  "data-sidebar": "separator",
698
881
  role: "separator",
699
- className: (0, import_helix24.cn)(import_helix24.sidebarStyles.separatorClass, className),
882
+ className: (0, import_helix28.cn)(import_helix28.sidebarStyles.separatorClass, className),
700
883
  ...props
701
884
  }
702
885
  );
703
886
  }
704
887
 
705
888
  // src/sidebar/Content.tsx
706
- var import_helix25 = require("@cloudvoyant/helix");
707
- var import_jsx_runtime25 = require("react/jsx-runtime");
889
+ var import_helix29 = require("@cloudvoyant/helix");
890
+ var import_jsx_runtime29 = require("react/jsx-runtime");
708
891
  function Content({ className, ...props }) {
709
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
892
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
710
893
  Col,
711
894
  {
712
895
  "data-slot": "sidebar-content",
713
896
  "data-sidebar": "content",
714
- className: (0, import_helix25.cn)(import_helix25.sidebarStyles.contentClass, className),
897
+ className: (0, import_helix29.cn)(import_helix29.sidebarStyles.contentClass, className),
715
898
  ...props
716
899
  }
717
900
  );
718
901
  }
719
902
 
720
903
  // src/sidebar/Group.tsx
721
- var import_helix26 = require("@cloudvoyant/helix");
722
- var import_jsx_runtime26 = require("react/jsx-runtime");
904
+ var import_helix30 = require("@cloudvoyant/helix");
905
+ var import_jsx_runtime30 = require("react/jsx-runtime");
723
906
  function Group({ label, className, children, ...props }) {
724
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(Col, { "data-slot": "sidebar-group", "data-sidebar": "group", className: (0, import_helix26.cn)(import_helix26.sidebarStyles.groupClass, className), ...props, children: [
725
- label && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { "data-slot": "sidebar-group-label", "data-sidebar": "group-label", className: (0, import_helix26.cn)(import_helix26.sidebarStyles.groupLabelClass), children: label }),
726
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { "data-slot": "sidebar-group-content", "data-sidebar": "group-content", className: (0, import_helix26.cn)(import_helix26.sidebarStyles.groupContentClass), children })
907
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Col, { "data-slot": "sidebar-group", "data-sidebar": "group", className: (0, import_helix30.cn)(import_helix30.sidebarStyles.groupClass, className), ...props, children: [
908
+ label && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { "data-slot": "sidebar-group-label", "data-sidebar": "group-label", className: (0, import_helix30.cn)(import_helix30.sidebarStyles.groupLabelClass), children: label }),
909
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { "data-slot": "sidebar-group-content", "data-sidebar": "group-content", className: (0, import_helix30.cn)(import_helix30.sidebarStyles.groupContentClass), children })
727
910
  ] });
728
911
  }
729
912
 
730
913
  // src/sidebar/GroupAction.tsx
731
914
  var import_factory18 = require("@ark-ui/react/factory");
732
- var import_helix27 = require("@cloudvoyant/helix");
733
- var import_jsx_runtime27 = require("react/jsx-runtime");
915
+ var import_helix31 = require("@cloudvoyant/helix");
916
+ var import_jsx_runtime31 = require("react/jsx-runtime");
734
917
  function GroupAction({ className, asChild = false, ...props }) {
735
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
918
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
736
919
  import_factory18.ark.button,
737
920
  {
738
921
  "data-slot": "sidebar-group-action",
739
922
  "data-sidebar": "group-action",
740
923
  asChild,
741
924
  type: "button",
742
- className: (0, import_helix27.cn)(import_helix27.sidebarStyles.groupActionClass, className),
925
+ className: (0, import_helix31.cn)(import_helix31.sidebarStyles.groupActionClass, className),
743
926
  ...props
744
927
  }
745
928
  );
@@ -747,15 +930,15 @@ function GroupAction({ className, asChild = false, ...props }) {
747
930
 
748
931
  // src/sidebar/Menu.tsx
749
932
  var import_factory19 = require("@ark-ui/react/factory");
750
- var import_helix28 = require("@cloudvoyant/helix");
751
- var import_jsx_runtime28 = require("react/jsx-runtime");
933
+ var import_helix32 = require("@cloudvoyant/helix");
934
+ var import_jsx_runtime32 = require("react/jsx-runtime");
752
935
  function Menu({ className, ...props }) {
753
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
936
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
754
937
  import_factory19.ark.ul,
755
938
  {
756
939
  "data-slot": "sidebar-menu",
757
940
  "data-sidebar": "menu",
758
- className: (0, import_helix28.cn)(import_helix28.sidebarStyles.menuClass, className),
941
+ className: (0, import_helix32.cn)(import_helix32.sidebarStyles.menuClass, className),
759
942
  ...props
760
943
  }
761
944
  );
@@ -763,15 +946,15 @@ function Menu({ className, ...props }) {
763
946
 
764
947
  // src/sidebar/MenuItem.tsx
765
948
  var import_factory20 = require("@ark-ui/react/factory");
766
- var import_helix29 = require("@cloudvoyant/helix");
767
- var import_jsx_runtime29 = require("react/jsx-runtime");
949
+ var import_helix33 = require("@cloudvoyant/helix");
950
+ var import_jsx_runtime33 = require("react/jsx-runtime");
768
951
  function MenuItem({ className, ...props }) {
769
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
952
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
770
953
  import_factory20.ark.li,
771
954
  {
772
955
  "data-slot": "sidebar-menu-item",
773
956
  "data-sidebar": "menu-item",
774
- className: (0, import_helix29.cn)(import_helix29.sidebarStyles.menuItemClass, className),
957
+ className: (0, import_helix33.cn)(import_helix33.sidebarStyles.menuItemClass, className),
775
958
  ...props
776
959
  }
777
960
  );
@@ -779,9 +962,9 @@ function MenuItem({ className, ...props }) {
779
962
 
780
963
  // src/sidebar/MenuButton.tsx
781
964
  var import_factory21 = require("@ark-ui/react/factory");
782
- var import_tooltip = require("@ark-ui/react/tooltip");
783
- var import_helix30 = require("@cloudvoyant/helix");
784
- var import_jsx_runtime30 = require("react/jsx-runtime");
965
+ var import_tooltip2 = require("@ark-ui/react/tooltip");
966
+ var import_helix34 = require("@cloudvoyant/helix");
967
+ var import_jsx_runtime34 = require("react/jsx-runtime");
785
968
  function MenuButton({
786
969
  asChild = false,
787
970
  isActive = false,
@@ -793,7 +976,7 @@ function MenuButton({
793
976
  ...props
794
977
  }) {
795
978
  const { isMobile, state } = useSidebar();
796
- const button = /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
979
+ const button = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
797
980
  import_factory21.ark.button,
798
981
  {
799
982
  "data-slot": "sidebar-menu-button",
@@ -802,7 +985,7 @@ function MenuButton({
802
985
  "data-active": isActive,
803
986
  asChild,
804
987
  type: "button",
805
- className: (0, import_helix30.cn)((0, import_helix30.sidebarMenuButtonVariants)({ variant, size }), className),
988
+ className: (0, import_helix34.cn)((0, import_helix34.sidebarMenuButtonVariants)({ variant, size }), className),
806
989
  ...props,
807
990
  children
808
991
  }
@@ -811,42 +994,42 @@ function MenuButton({
811
994
  return button;
812
995
  }
813
996
  const tooltipContent = typeof tooltip === "string" ? { children: tooltip } : tooltip;
814
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_tooltip.TooltipRoot, { openDelay: 0, positioning: { placement: "right", gutter: 8 }, children: [
815
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_tooltip.TooltipTrigger, { asChild: true, children: button }),
816
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_tooltip.TooltipPositioner, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_tooltip.TooltipContent, { className: (0, import_helix30.cn)(import_helix30.sidebarStyles.tooltipContentClass), ...tooltipContent }) })
997
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_tooltip2.TooltipRoot, { openDelay: 0, positioning: { placement: "right", gutter: 8 }, children: [
998
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_tooltip2.TooltipTrigger, { asChild: true, children: button }),
999
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_tooltip2.TooltipPositioner, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_tooltip2.TooltipContent, { className: (0, import_helix34.cn)(import_helix34.sidebarStyles.tooltipContentClass), ...tooltipContent }) })
817
1000
  ] });
818
1001
  }
819
1002
 
820
1003
  // src/sidebar/MenuLink.tsx
821
- var import_helix31 = require("@cloudvoyant/helix");
822
- var import_jsx_runtime31 = require("react/jsx-runtime");
1004
+ var import_helix35 = require("@cloudvoyant/helix");
1005
+ var import_jsx_runtime35 = require("react/jsx-runtime");
823
1006
  function MenuLink({ icon, href, onClick, isActive, variant, size, tooltip, className, children }) {
824
- const content = /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_jsx_runtime31.Fragment, { children: [
1007
+ const content = /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
825
1008
  icon,
826
- children != null && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { children })
1009
+ children != null && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { children })
827
1010
  ] });
828
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("li", { "data-slot": "sidebar-menu-item", "data-sidebar": "menu-item", className: (0, import_helix31.cn)(import_helix31.sidebarStyles.menuItemClass), children: href != null ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(MenuButton, { asChild: true, isActive, variant, size, tooltip, className, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("a", { href, onClick, children: content }) }) : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(MenuButton, { isActive, variant, size, tooltip, className, onClick, children: content }) });
1011
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("li", { "data-slot": "sidebar-menu-item", "data-sidebar": "menu-item", className: (0, import_helix35.cn)(import_helix35.sidebarStyles.menuItemClass), children: href != null ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(MenuButton, { asChild: true, isActive, variant, size, tooltip, className, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("a", { href, onClick, children: content }) }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(MenuButton, { isActive, variant, size, tooltip, className, onClick, children: content }) });
829
1012
  }
830
1013
 
831
1014
  // src/sidebar/MenuAction.tsx
832
1015
  var import_factory22 = require("@ark-ui/react/factory");
833
- var import_helix32 = require("@cloudvoyant/helix");
834
- var import_jsx_runtime32 = require("react/jsx-runtime");
1016
+ var import_helix36 = require("@cloudvoyant/helix");
1017
+ var import_jsx_runtime36 = require("react/jsx-runtime");
835
1018
  function MenuAction({
836
1019
  className,
837
1020
  asChild = false,
838
1021
  showOnHover = false,
839
1022
  ...props
840
1023
  }) {
841
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1024
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
842
1025
  import_factory22.ark.button,
843
1026
  {
844
1027
  "data-slot": "sidebar-menu-action",
845
1028
  "data-sidebar": "menu-action",
846
1029
  asChild,
847
1030
  type: "button",
848
- className: (0, import_helix32.cn)(
849
- import_helix32.sidebarStyles.menuActionClass,
1031
+ className: (0, import_helix36.cn)(
1032
+ import_helix36.sidebarStyles.menuActionClass,
850
1033
  showOnHover && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground data-[state=open]:opacity-100 md:opacity-0",
851
1034
  className
852
1035
  ),
@@ -857,15 +1040,15 @@ function MenuAction({
857
1040
 
858
1041
  // src/sidebar/MenuBadge.tsx
859
1042
  var import_factory23 = require("@ark-ui/react/factory");
860
- var import_helix33 = require("@cloudvoyant/helix");
861
- var import_jsx_runtime33 = require("react/jsx-runtime");
1043
+ var import_helix37 = require("@cloudvoyant/helix");
1044
+ var import_jsx_runtime37 = require("react/jsx-runtime");
862
1045
  function MenuBadge({ className, ...props }) {
863
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1046
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
864
1047
  import_factory23.ark.div,
865
1048
  {
866
1049
  "data-slot": "sidebar-menu-badge",
867
1050
  "data-sidebar": "menu-badge",
868
- className: (0, import_helix33.cn)(import_helix33.sidebarStyles.menuBadgeClass, className),
1051
+ className: (0, import_helix37.cn)(import_helix37.sidebarStyles.menuBadgeClass, className),
869
1052
  ...props
870
1053
  }
871
1054
  );
@@ -874,26 +1057,26 @@ function MenuBadge({ className, ...props }) {
874
1057
  // src/sidebar/MenuSkeleton.tsx
875
1058
  var React3 = __toESM(require("react"), 1);
876
1059
  var import_factory24 = require("@ark-ui/react/factory");
877
- var import_helix34 = require("@cloudvoyant/helix");
878
- var import_jsx_runtime34 = require("react/jsx-runtime");
1060
+ var import_helix38 = require("@cloudvoyant/helix");
1061
+ var import_jsx_runtime38 = require("react/jsx-runtime");
879
1062
  function MenuSkeleton({ className, showIcon = false, ...props }) {
880
1063
  const width = React3.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
881
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
1064
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
882
1065
  import_factory24.ark.div,
883
1066
  {
884
1067
  "data-slot": "sidebar-menu-skeleton",
885
1068
  "data-sidebar": "menu-skeleton",
886
- className: (0, import_helix34.cn)(import_helix34.sidebarStyles.menuSkeletonClass, className),
1069
+ className: (0, import_helix38.cn)(import_helix38.sidebarStyles.menuSkeletonClass, className),
887
1070
  ...props,
888
1071
  children: [
889
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1072
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
890
1073
  import_factory24.ark.div,
891
1074
  {
892
1075
  className: "size-4 shrink-0 animate-pulse rounded-md bg-sidebar-accent",
893
1076
  "data-sidebar": "menu-skeleton-icon"
894
1077
  }
895
1078
  ),
896
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1079
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
897
1080
  import_factory24.ark.div,
898
1081
  {
899
1082
  className: "h-4 max-w-(--skeleton-width) flex-1 animate-pulse rounded-md bg-sidebar-accent",
@@ -908,15 +1091,15 @@ function MenuSkeleton({ className, showIcon = false, ...props }) {
908
1091
 
909
1092
  // src/sidebar/MenuSub.tsx
910
1093
  var import_factory25 = require("@ark-ui/react/factory");
911
- var import_helix35 = require("@cloudvoyant/helix");
912
- var import_jsx_runtime35 = require("react/jsx-runtime");
1094
+ var import_helix39 = require("@cloudvoyant/helix");
1095
+ var import_jsx_runtime39 = require("react/jsx-runtime");
913
1096
  function MenuSub({ className, ...props }) {
914
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1097
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
915
1098
  import_factory25.ark.ul,
916
1099
  {
917
1100
  "data-slot": "sidebar-menu-sub",
918
1101
  "data-sidebar": "menu-sub",
919
- className: (0, import_helix35.cn)(import_helix35.sidebarStyles.menuSubClass, className),
1102
+ className: (0, import_helix39.cn)(import_helix39.sidebarStyles.menuSubClass, className),
920
1103
  ...props
921
1104
  }
922
1105
  );
@@ -924,15 +1107,15 @@ function MenuSub({ className, ...props }) {
924
1107
 
925
1108
  // src/sidebar/MenuSubItem.tsx
926
1109
  var import_factory26 = require("@ark-ui/react/factory");
927
- var import_helix36 = require("@cloudvoyant/helix");
928
- var import_jsx_runtime36 = require("react/jsx-runtime");
1110
+ var import_helix40 = require("@cloudvoyant/helix");
1111
+ var import_jsx_runtime40 = require("react/jsx-runtime");
929
1112
  function MenuSubItem({ className, ...props }) {
930
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1113
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
931
1114
  import_factory26.ark.li,
932
1115
  {
933
1116
  "data-slot": "sidebar-menu-sub-item",
934
1117
  "data-sidebar": "menu-sub-item",
935
- className: (0, import_helix36.cn)(import_helix36.sidebarStyles.menuSubItemClass, className),
1118
+ className: (0, import_helix40.cn)(import_helix40.sidebarStyles.menuSubItemClass, className),
936
1119
  ...props
937
1120
  }
938
1121
  );
@@ -940,8 +1123,8 @@ function MenuSubItem({ className, ...props }) {
940
1123
 
941
1124
  // src/sidebar/MenuSubButton.tsx
942
1125
  var import_factory27 = require("@ark-ui/react/factory");
943
- var import_helix37 = require("@cloudvoyant/helix");
944
- var import_jsx_runtime37 = require("react/jsx-runtime");
1126
+ var import_helix41 = require("@cloudvoyant/helix");
1127
+ var import_jsx_runtime41 = require("react/jsx-runtime");
945
1128
  function MenuSubButton({
946
1129
  asChild = false,
947
1130
  size = "md",
@@ -949,7 +1132,7 @@ function MenuSubButton({
949
1132
  className,
950
1133
  ...props
951
1134
  }) {
952
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1135
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
953
1136
  import_factory27.ark.a,
954
1137
  {
955
1138
  "data-slot": "sidebar-menu-sub-button",
@@ -957,7 +1140,7 @@ function MenuSubButton({
957
1140
  "data-size": size,
958
1141
  "data-active": isActive,
959
1142
  asChild,
960
- className: (0, import_helix37.cn)(import_helix37.sidebarStyles.menuSubButtonClass, className),
1143
+ className: (0, import_helix41.cn)(import_helix41.sidebarStyles.menuSubButtonClass, className),
961
1144
  ...props
962
1145
  }
963
1146
  );
@@ -965,18 +1148,18 @@ function MenuSubButton({
965
1148
 
966
1149
  // src/sidebar/Trigger.tsx
967
1150
  var import_factory28 = require("@ark-ui/react/factory");
968
- var import_helix38 = require("@cloudvoyant/helix");
969
- var import_jsx_runtime38 = require("react/jsx-runtime");
1151
+ var import_helix42 = require("@cloudvoyant/helix");
1152
+ var import_jsx_runtime42 = require("react/jsx-runtime");
970
1153
  function Trigger({ className, onClick, children, ...props }) {
971
1154
  const { toggleSidebar } = useSidebar();
972
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1155
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
973
1156
  import_factory28.ark.button,
974
1157
  {
975
1158
  "data-sidebar": "trigger",
976
1159
  "data-slot": "sidebar-trigger",
977
1160
  type: "button",
978
1161
  "aria-label": "Toggle Sidebar",
979
- className: (0, import_helix38.cn)(import_helix38.sidebarStyles.triggerClass, className),
1162
+ className: (0, import_helix42.cn)(import_helix42.sidebarStyles.triggerClass, className),
980
1163
  onClick: (event) => {
981
1164
  onClick?.(event);
982
1165
  toggleSidebar();
@@ -989,11 +1172,11 @@ function Trigger({ className, onClick, children, ...props }) {
989
1172
 
990
1173
  // src/sidebar/Rail.tsx
991
1174
  var import_factory29 = require("@ark-ui/react/factory");
992
- var import_helix39 = require("@cloudvoyant/helix");
993
- var import_jsx_runtime39 = require("react/jsx-runtime");
1175
+ var import_helix43 = require("@cloudvoyant/helix");
1176
+ var import_jsx_runtime43 = require("react/jsx-runtime");
994
1177
  function Rail({ className, ...props }) {
995
1178
  const { toggleSidebar } = useSidebar();
996
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1179
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
997
1180
  import_factory29.ark.button,
998
1181
  {
999
1182
  "data-sidebar": "rail",
@@ -1003,7 +1186,7 @@ function Rail({ className, ...props }) {
1003
1186
  tabIndex: -1,
1004
1187
  onClick: toggleSidebar,
1005
1188
  title: "Toggle Sidebar",
1006
- className: (0, import_helix39.cn)(import_helix39.sidebarStyles.railClass, className),
1189
+ className: (0, import_helix43.cn)(import_helix43.sidebarStyles.railClass, className),
1007
1190
  ...props
1008
1191
  }
1009
1192
  );
@@ -1011,23 +1194,23 @@ function Rail({ className, ...props }) {
1011
1194
 
1012
1195
  // src/sidebar/Inset.tsx
1013
1196
  var import_factory30 = require("@ark-ui/react/factory");
1014
- var import_helix40 = require("@cloudvoyant/helix");
1015
- var import_jsx_runtime40 = require("react/jsx-runtime");
1197
+ var import_helix44 = require("@cloudvoyant/helix");
1198
+ var import_jsx_runtime44 = require("react/jsx-runtime");
1016
1199
  function Inset({ className, ...props }) {
1017
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_factory30.ark.main, { "data-slot": "sidebar-inset", className: (0, import_helix40.cn)(import_helix40.sidebarStyles.insetClass, className), ...props });
1200
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_factory30.ark.main, { "data-slot": "sidebar-inset", className: (0, import_helix44.cn)(import_helix44.sidebarStyles.insetClass, className), ...props });
1018
1201
  }
1019
1202
 
1020
1203
  // src/sidebar/Input.tsx
1021
1204
  var import_factory31 = require("@ark-ui/react/factory");
1022
- var import_helix41 = require("@cloudvoyant/helix");
1023
- var import_jsx_runtime41 = require("react/jsx-runtime");
1205
+ var import_helix45 = require("@cloudvoyant/helix");
1206
+ var import_jsx_runtime45 = require("react/jsx-runtime");
1024
1207
  function Input({ className, ...props }) {
1025
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1208
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
1026
1209
  import_factory31.ark.input,
1027
1210
  {
1028
1211
  "data-slot": "sidebar-input",
1029
1212
  "data-sidebar": "input",
1030
- className: (0, import_helix41.cn)(import_helix41.sidebarStyles.inputClass, className),
1213
+ className: (0, import_helix45.cn)(import_helix45.sidebarStyles.inputClass, className),
1031
1214
  ...props
1032
1215
  }
1033
1216
  );
@@ -1035,44 +1218,44 @@ function Input({ className, ...props }) {
1035
1218
 
1036
1219
  // src/tabs.tsx
1037
1220
  var import_tabs = require("@ark-ui/react/tabs");
1038
- var import_helix42 = require("@cloudvoyant/helix");
1039
- var import_jsx_runtime42 = require("react/jsx-runtime");
1221
+ var import_helix46 = require("@cloudvoyant/helix");
1222
+ var import_jsx_runtime46 = require("react/jsx-runtime");
1040
1223
  function Tabs({ className, lazyMount = true, unmountOnExit = true, ...props }) {
1041
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1224
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
1042
1225
  import_tabs.TabsRoot,
1043
1226
  {
1044
1227
  lazyMount,
1045
1228
  unmountOnExit,
1046
- className: (0, import_helix42.cn)(import_helix42.tabsRootBase, className),
1229
+ className: (0, import_helix46.cn)(import_helix46.tabsRootBase, className),
1047
1230
  ...props
1048
1231
  }
1049
1232
  );
1050
1233
  }
1051
1234
  function TabsList({ variant = "default", className, children, ...props }) {
1052
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_tabs.TabList, { className: (0, import_helix42.cn)(import_helix42.tabsListBase, (0, import_helix42.tabsListVariants)({ variant }), className), ...props, children: [
1235
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_tabs.TabList, { className: (0, import_helix46.cn)(import_helix46.tabsListBase, (0, import_helix46.tabsListVariants)({ variant }), className), ...props, children: [
1053
1236
  children,
1054
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_tabs.TabIndicator, { className: (0, import_helix42.cn)(import_helix42.tabsIndicatorBase, (0, import_helix42.tabsIndicatorVariants)({ variant })) })
1237
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_tabs.TabIndicator, { className: (0, import_helix46.cn)(import_helix46.tabsIndicatorBase, (0, import_helix46.tabsIndicatorVariants)({ variant })) })
1055
1238
  ] });
1056
1239
  }
1057
1240
  function TabsTrigger({ className, ...props }) {
1058
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_tabs.TabTrigger, { className: (0, import_helix42.cn)(import_helix42.tabsTriggerBase, className), ...props });
1241
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_tabs.TabTrigger, { className: (0, import_helix46.cn)(import_helix46.tabsTriggerBase, className), ...props });
1059
1242
  }
1060
1243
  function TabsContent({ className, ...props }) {
1061
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_tabs.TabContent, { className: (0, import_helix42.cn)(import_helix42.tabsContentBase, className), ...props });
1244
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_tabs.TabContent, { className: (0, import_helix46.cn)(import_helix46.tabsContentBase, className), ...props });
1062
1245
  }
1063
1246
  var useTabs = import_tabs.useTabsContext;
1064
1247
 
1065
1248
  // src/pagination.tsx
1066
1249
  var import_pagination = require("@ark-ui/react/pagination");
1067
1250
  var import_factory32 = require("@ark-ui/react/factory");
1068
- var import_helix43 = require("@cloudvoyant/helix");
1069
- var import_jsx_runtime43 = require("react/jsx-runtime");
1251
+ var import_helix47 = require("@cloudvoyant/helix");
1252
+ var import_jsx_runtime47 = require("react/jsx-runtime");
1070
1253
  function Pagination({ className, ...props }) {
1071
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_pagination.PaginationRoot, { className: (0, import_helix43.cn)(import_helix43.paginationRootBase, className), ...props });
1254
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_pagination.PaginationRoot, { className: (0, import_helix47.cn)(import_helix47.paginationRootBase, className), ...props });
1072
1255
  }
1073
1256
  function PaginationPrevious(props) {
1074
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_pagination.PaginationPrevTrigger, { asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_factory32.ark.button, { className: (0, import_helix43.cn)(import_helix43.paginationTriggerBase), children: [
1075
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1257
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_pagination.PaginationPrevTrigger, { asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_factory32.ark.button, { className: (0, import_helix47.cn)(import_helix47.paginationTriggerBase), children: [
1258
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
1076
1259
  "svg",
1077
1260
  {
1078
1261
  viewBox: "0 0 24 24",
@@ -1082,16 +1265,16 @@ function PaginationPrevious(props) {
1082
1265
  strokeLinecap: "round",
1083
1266
  strokeLinejoin: "round",
1084
1267
  "aria-hidden": "true",
1085
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("path", { d: "m15 18-6-6 6-6" })
1268
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("path", { d: "m15 18-6-6 6-6" })
1086
1269
  }
1087
1270
  ),
1088
1271
  "Previous"
1089
1272
  ] }) });
1090
1273
  }
1091
1274
  function PaginationNext(props) {
1092
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_pagination.PaginationNextTrigger, { asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_factory32.ark.button, { className: (0, import_helix43.cn)(import_helix43.paginationTriggerBase), children: [
1275
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_pagination.PaginationNextTrigger, { asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_factory32.ark.button, { className: (0, import_helix47.cn)(import_helix47.paginationTriggerBase), children: [
1093
1276
  "Next",
1094
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1277
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
1095
1278
  "svg",
1096
1279
  {
1097
1280
  viewBox: "0 0 24 24",
@@ -1101,21 +1284,21 @@ function PaginationNext(props) {
1101
1284
  strokeLinecap: "round",
1102
1285
  strokeLinejoin: "round",
1103
1286
  "aria-hidden": "true",
1104
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("path", { d: "m9 18 6-6-6-6" })
1287
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("path", { d: "m9 18 6-6-6-6" })
1105
1288
  }
1106
1289
  )
1107
1290
  ] }) });
1108
1291
  }
1109
1292
  function PaginationItem({ className, children, ...rest }) {
1110
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_pagination.PaginationItem, { asChild: true, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_factory32.ark.button, { className: (0, import_helix43.cn)(import_helix43.paginationItemBase, className), children }) });
1293
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_pagination.PaginationItem, { asChild: true, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_factory32.ark.button, { className: (0, import_helix47.cn)(import_helix47.paginationItemBase, className), children }) });
1111
1294
  }
1112
1295
  function PaginationItems() {
1113
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_pagination.PaginationContext, { children: ({ pages }) => pages.map(
1114
- (page, index) => page.type === "page" ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(PaginationItem, { type: "page", value: page.value, children: page.value }, page.value) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(PaginationEllipsis, { index }, `ellipsis-${index}`)
1296
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_pagination.PaginationContext, { children: ({ pages }) => pages.map(
1297
+ (page, index) => page.type === "page" ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(PaginationItem, { type: "page", value: page.value, children: page.value }, page.value) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(PaginationEllipsis, { index }, `ellipsis-${index}`)
1115
1298
  ) });
1116
1299
  }
1117
1300
  function PaginationEllipsis({ className, ...rest }) {
1118
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_pagination.PaginationEllipsis, { className: (0, import_helix43.cn)(import_helix43.paginationEllipsisBase, className), ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
1301
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_pagination.PaginationEllipsis, { className: (0, import_helix47.cn)(import_helix47.paginationEllipsisBase, className), ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
1119
1302
  "svg",
1120
1303
  {
1121
1304
  viewBox: "0 0 24 24",
@@ -1126,9 +1309,9 @@ function PaginationEllipsis({ className, ...rest }) {
1126
1309
  strokeLinejoin: "round",
1127
1310
  "aria-hidden": "true",
1128
1311
  children: [
1129
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
1130
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
1131
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("circle", { cx: "5", cy: "12", r: "1" })
1312
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
1313
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
1314
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("circle", { cx: "5", cy: "12", r: "1" })
1132
1315
  ]
1133
1316
  }
1134
1317
  ) });
@@ -1137,13 +1320,13 @@ function PaginationEllipsis({ className, ...rest }) {
1137
1320
  // src/navbar.tsx
1138
1321
  var React4 = __toESM(require("react"), 1);
1139
1322
  var import_factory33 = require("@ark-ui/react/factory");
1140
- var import_portal = require("@ark-ui/react/portal");
1323
+ var import_portal6 = require("@ark-ui/react/portal");
1141
1324
  var import_collapsible = require("@ark-ui/react/collapsible");
1142
- var import_dialog = require("@ark-ui/react/dialog");
1325
+ var import_dialog2 = require("@ark-ui/react/dialog");
1143
1326
  var import_navigation_menu = require("@ark-ui/react/navigation-menu");
1144
- var import_helix44 = require("@cloudvoyant/helix");
1145
- var import_helix45 = require("@cloudvoyant/helix");
1146
- var import_jsx_runtime44 = require("react/jsx-runtime");
1327
+ var import_helix48 = require("@cloudvoyant/helix");
1328
+ var import_helix49 = require("@cloudvoyant/helix");
1329
+ var import_jsx_runtime48 = require("react/jsx-runtime");
1147
1330
  var SCROLL_THRESHOLD = 24;
1148
1331
  function resolveScrollContainer(el) {
1149
1332
  for (let n = el; n; n = n.parentElement) {
@@ -1206,7 +1389,7 @@ function NavbarProvider({
1206
1389
  }),
1207
1390
  [id, open, scrolled, hovered, slots, setSlot]
1208
1391
  );
1209
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NavbarContext.Provider, { value: contextValue, children });
1392
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(NavbarContext.Provider, { value: contextValue, children });
1210
1393
  }
1211
1394
  function Navbar({
1212
1395
  variant = "sticky",
@@ -1245,7 +1428,7 @@ function Navbar({
1245
1428
  el.style.overflow = prev;
1246
1429
  };
1247
1430
  }, [base.open]);
1248
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NavbarContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1431
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(NavbarContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1249
1432
  "header",
1250
1433
  {
1251
1434
  ref: headerRef,
@@ -1253,11 +1436,11 @@ function Navbar({
1253
1436
  "data-scrolled": base.scrolled || void 0,
1254
1437
  "data-hidden": hidden || void 0,
1255
1438
  "data-shrunk": shrunk || void 0,
1256
- className: (0, import_helix44.cn)(
1257
- (0, import_helix44.navbarVariants)({ variant, floating }),
1258
- import_helix44.navbarContainerBase,
1259
- (0, import_helix44.navbarDensityVariants)({ density }),
1260
- shrunk && import_helix44.navbarShrunkBase,
1439
+ className: (0, import_helix48.cn)(
1440
+ (0, import_helix48.navbarVariants)({ variant, floating }),
1441
+ import_helix48.navbarContainerBase,
1442
+ (0, import_helix48.navbarDensityVariants)({ density }),
1443
+ shrunk && import_helix48.navbarShrunkBase,
1261
1444
  className
1262
1445
  ),
1263
1446
  onMouseEnter: () => setHovered(true),
@@ -1269,11 +1452,11 @@ function Navbar({
1269
1452
  }
1270
1453
  function NavbarActivationArea({ className, children, ...props }) {
1271
1454
  const { setHovered } = useNavbar();
1272
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1455
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1273
1456
  import_factory33.ark.div,
1274
1457
  {
1275
1458
  "data-slot": "navbar-activation-area",
1276
- className: (0, import_helix44.cn)(import_helix44.navbarActivationAreaBase, className),
1459
+ className: (0, import_helix48.cn)(import_helix48.navbarActivationAreaBase, className),
1277
1460
  onMouseEnter: () => setHovered(true),
1278
1461
  onMouseLeave: () => setHovered(false),
1279
1462
  ...props,
@@ -1283,7 +1466,7 @@ function NavbarActivationArea({ className, children, ...props }) {
1283
1466
  }
1284
1467
  function NavbarBrand({ className, children, ...props }) {
1285
1468
  useNavbarSlot("brand", children);
1286
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_factory33.ark.div, { "data-slot": "navbar-brand", className: (0, import_helix44.cn)(import_helix44.navbarBrandBase, className), ...props, children });
1469
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_factory33.ark.div, { "data-slot": "navbar-brand", className: (0, import_helix48.cn)(import_helix48.navbarBrandBase, className), ...props, children });
1287
1470
  }
1288
1471
  function NavbarMenu({
1289
1472
  placement = "center",
@@ -1293,21 +1476,21 @@ function NavbarMenu({
1293
1476
  }) {
1294
1477
  const { scrolled, density, variant } = useNavbar();
1295
1478
  const menuDensity = density === "compact" || variant === "shrink" && scrolled ? "compact" : "relaxed";
1296
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NavbarMenuStyleContext.Provider, { value: { density: menuDensity, variant: "default", inContent: false }, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1479
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(NavbarMenuStyleContext.Provider, { value: { density: menuDensity, variant: "default", inContent: false }, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1297
1480
  import_factory33.ark.div,
1298
1481
  {
1299
1482
  "data-slot": "navbar-menu",
1300
1483
  "data-placement": placement,
1301
- className: (0, import_helix44.cn)(import_helix44.navbarMenuBase, (0, import_helix44.navbarMenuPlacementVariants)({ placement }), className),
1302
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_navigation_menu.NavigationMenuRoot, { "data-density": menuDensity, className: (0, import_helix44.cn)(import_helix44.navbarMenuRootBase), ...props, children: [
1484
+ className: (0, import_helix48.cn)(import_helix48.navbarMenuBase, (0, import_helix48.navbarMenuPlacementVariants)({ placement }), className),
1485
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_navigation_menu.NavigationMenuRoot, { "data-density": menuDensity, className: (0, import_helix48.cn)(import_helix48.navbarMenuRootBase), ...props, children: [
1303
1486
  children,
1304
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_navigation_menu.NavigationMenuViewportPositioner, { className: (0, import_helix44.cn)(import_helix44.navbarMenuViewportPositionerBase), children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_navigation_menu.NavigationMenuViewport, { className: (0, import_helix44.cn)(import_helix44.navbarMenuViewportBase) }) })
1487
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_navigation_menu.NavigationMenuViewportPositioner, { className: (0, import_helix48.cn)(import_helix48.navbarMenuViewportPositionerBase), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_navigation_menu.NavigationMenuViewport, { className: (0, import_helix48.cn)(import_helix48.navbarMenuViewportBase) }) })
1305
1488
  ] })
1306
1489
  }
1307
1490
  ) });
1308
1491
  }
1309
1492
  function NavbarMenuList({ className, children, ...props }) {
1310
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_navigation_menu.NavigationMenuList, { className: (0, import_helix44.cn)(import_helix44.navbarMenuListBase, className), ...props, children });
1493
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_navigation_menu.NavigationMenuList, { className: (0, import_helix48.cn)(import_helix48.navbarMenuListBase, className), ...props, children });
1311
1494
  }
1312
1495
  function NavbarMenuItem({
1313
1496
  variant = "default",
@@ -1315,11 +1498,11 @@ function NavbarMenuItem({
1315
1498
  ...props
1316
1499
  }) {
1317
1500
  const { density } = React4.useContext(NavbarMenuStyleContext);
1318
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NavbarMenuStyleContext.Provider, { value: { density, variant, inContent: false }, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_navigation_menu.NavigationMenuItem, { "data-variant": variant, className: (0, import_helix44.cn)(import_helix44.navbarMenuItemBase, className), ...props }) });
1501
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(NavbarMenuStyleContext.Provider, { value: { density, variant, inContent: false }, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_navigation_menu.NavigationMenuItem, { "data-variant": variant, className: (0, import_helix48.cn)(import_helix48.navbarMenuItemBase, className), ...props }) });
1319
1502
  }
1320
1503
  function NavbarMenuTrigger({ asChild, className, children, ...props }) {
1321
1504
  const { density, variant } = React4.useContext(NavbarMenuStyleContext);
1322
- const chevron = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1505
+ const chevron = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1323
1506
  "svg",
1324
1507
  {
1325
1508
  className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
@@ -1330,36 +1513,36 @@ function NavbarMenuTrigger({ asChild, className, children, ...props }) {
1330
1513
  strokeWidth: "2",
1331
1514
  strokeLinecap: "round",
1332
1515
  strokeLinejoin: "round",
1333
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { d: "m6 9 6 6 6-6" })
1516
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("path", { d: "m6 9 6 6 6-6" })
1334
1517
  }
1335
1518
  );
1336
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_navigation_menu.NavigationMenuTrigger, { asChild, className: (0, import_helix44.cn)((0, import_helix44.navbarMenuTriggerStyle)({ density, variant }), className), ...props, children: asChild ? children : /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
1519
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_navigation_menu.NavigationMenuTrigger, { asChild, className: (0, import_helix48.cn)((0, import_helix48.navbarMenuTriggerStyle)({ density, variant }), className), ...props, children: asChild ? children : /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
1337
1520
  children,
1338
1521
  chevron
1339
1522
  ] }) });
1340
1523
  }
1341
1524
  function NavbarMenuContent({ className, children, ...props }) {
1342
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NavbarMenuStyleContext.Provider, { value: { density: "relaxed", variant: "default", inContent: true }, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_navigation_menu.NavigationMenuContent, { className: (0, import_helix44.cn)(import_helix44.navbarMenuContentBase, className), ...props, children }) });
1525
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(NavbarMenuStyleContext.Provider, { value: { density: "relaxed", variant: "default", inContent: true }, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_navigation_menu.NavigationMenuContent, { className: (0, import_helix48.cn)(import_helix48.navbarMenuContentBase, className), ...props, children }) });
1343
1526
  }
1344
1527
  function NavbarMenuLink({ className, children, ...props }) {
1345
1528
  const { density, variant, inContent } = React4.useContext(NavbarMenuStyleContext);
1346
- const classes = inContent ? (0, import_helix44.cn)(import_helix44.navbarMenuLinkBase, className) : (0, import_helix44.cn)((0, import_helix44.navbarMenuTriggerStyle)({ density, variant }), className);
1347
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_navigation_menu.NavigationMenuLink, { className: classes, ...props, children });
1529
+ const classes = inContent ? (0, import_helix48.cn)(import_helix48.navbarMenuLinkBase, className) : (0, import_helix48.cn)((0, import_helix48.navbarMenuTriggerStyle)({ density, variant }), className);
1530
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_navigation_menu.NavigationMenuLink, { className: classes, ...props, children });
1348
1531
  }
1349
1532
  function NavbarMobileMenu({ className, children, ...props }) {
1350
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_collapsible.CollapsibleRoot, { "data-slot": "navbar-mobile-menu", className: (0, import_helix44.cn)("group", className), ...props, children });
1533
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_collapsible.CollapsibleRoot, { "data-slot": "navbar-mobile-menu", className: (0, import_helix48.cn)("group", className), ...props, children });
1351
1534
  }
1352
1535
  function NavbarMobileMenuTrigger({ className, children, ...props }) {
1353
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_collapsible.CollapsibleTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
1536
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_collapsible.CollapsibleTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
1354
1537
  "button",
1355
1538
  {
1356
1539
  type: "button",
1357
1540
  "data-slot": "navbar-mobile-menu-trigger",
1358
- className: (0, import_helix44.cn)(import_helix44.navbarMobileMenuTriggerBase, className),
1541
+ className: (0, import_helix48.cn)(import_helix48.navbarMobileMenuTriggerBase, className),
1359
1542
  ...props,
1360
1543
  children: [
1361
1544
  children,
1362
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1545
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1363
1546
  "svg",
1364
1547
  {
1365
1548
  className: "size-4 transition-transform duration-200 group-data-[state=open]:rotate-180",
@@ -1370,7 +1553,7 @@ function NavbarMobileMenuTrigger({ className, children, ...props }) {
1370
1553
  strokeWidth: "2",
1371
1554
  strokeLinecap: "round",
1372
1555
  strokeLinejoin: "round",
1373
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { d: "m6 9 6 6 6-6" })
1556
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("path", { d: "m6 9 6 6 6-6" })
1374
1557
  }
1375
1558
  )
1376
1559
  ]
@@ -1378,17 +1561,17 @@ function NavbarMobileMenuTrigger({ className, children, ...props }) {
1378
1561
  ) });
1379
1562
  }
1380
1563
  function NavbarMobileMenuContent({ className, children, ...props }) {
1381
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_collapsible.CollapsibleContent, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { "data-slot": "navbar-mobile-menu-content", className: (0, import_helix44.cn)(import_helix44.navbarMobileMenuContentBase, className), ...props, children }) });
1564
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_collapsible.CollapsibleContent, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { "data-slot": "navbar-mobile-menu-content", className: (0, import_helix48.cn)(import_helix48.navbarMobileMenuContentBase, className), ...props, children }) });
1382
1565
  }
1383
1566
  function NavbarMenuViewport({ className, ...props }) {
1384
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_navigation_menu.NavigationMenuViewport, { className: (0, import_helix44.cn)(import_helix44.navbarMenuViewportBase, className), ...props });
1567
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_navigation_menu.NavigationMenuViewport, { className: (0, import_helix48.cn)(import_helix48.navbarMenuViewportBase, className), ...props });
1385
1568
  }
1386
1569
  function NavbarMenuIndicator({ className, ...props }) {
1387
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_navigation_menu.NavigationMenuIndicator, { className: (0, import_helix44.cn)(import_helix44.navbarMenuIndicatorBase, className), ...props });
1570
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_navigation_menu.NavigationMenuIndicator, { className: (0, import_helix48.cn)(import_helix48.navbarMenuIndicatorBase, className), ...props });
1388
1571
  }
1389
1572
  function NavbarActions({ className, children, ...props }) {
1390
1573
  useNavbarSlot("actions", children);
1391
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_factory33.ark.div, { "data-slot": "navbar-actions", className: (0, import_helix44.cn)(import_helix44.navbarActionsBase, className), ...props, children });
1574
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_factory33.ark.div, { "data-slot": "navbar-actions", className: (0, import_helix48.cn)(import_helix48.navbarActionsBase, className), ...props, children });
1392
1575
  }
1393
1576
  function NavbarTrigger({
1394
1577
  className,
@@ -1397,7 +1580,7 @@ function NavbarTrigger({
1397
1580
  ...props
1398
1581
  }) {
1399
1582
  const { id, open, setOpen, floating } = useNavbar();
1400
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1583
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1401
1584
  "button",
1402
1585
  {
1403
1586
  type: "button",
@@ -1405,10 +1588,10 @@ function NavbarTrigger({
1405
1588
  "aria-expanded": open,
1406
1589
  "aria-controls": id,
1407
1590
  "aria-label": ariaLabel ?? "Toggle navigation menu",
1408
- className: (0, import_helix44.cn)((0, import_helix44.navbarTriggerVariants)({ floating }), "md:hidden", className),
1591
+ className: (0, import_helix48.cn)((0, import_helix48.navbarTriggerVariants)({ floating }), "md:hidden", className),
1409
1592
  onClick: () => setOpen(!open),
1410
1593
  ...props,
1411
- children: children ?? /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
1594
+ children: children ?? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
1412
1595
  "svg",
1413
1596
  {
1414
1597
  className: "size-4",
@@ -1420,9 +1603,9 @@ function NavbarTrigger({
1420
1603
  strokeLinejoin: "round",
1421
1604
  "aria-hidden": "true",
1422
1605
  children: [
1423
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("line", { x1: "4", x2: "20", y1: "6", y2: "6" }),
1424
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("line", { x1: "4", x2: "20", y1: "12", y2: "12" }),
1425
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("line", { x1: "4", x2: "20", y1: "18", y2: "18" })
1606
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("line", { x1: "4", x2: "20", y1: "6", y2: "6" }),
1607
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("line", { x1: "4", x2: "20", y1: "12", y2: "12" }),
1608
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("line", { x1: "4", x2: "20", y1: "18", y2: "18" })
1426
1609
  ]
1427
1610
  }
1428
1611
  )
@@ -1439,14 +1622,14 @@ function NavbarMobileOverlay({ className, children, ...props }) {
1439
1622
  document.addEventListener("keydown", onKeydown);
1440
1623
  return () => document.removeEventListener("keydown", onKeydown);
1441
1624
  }, [open, setOpen]);
1442
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_portal.Portal, { container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_dialog.DialogRoot, { open, lazyMount: true, unmountOnExit: true, onOpenChange: ({ open: open2 }) => setOpen(open2), preventScroll: false, children: [
1443
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_dialog.DialogBackdrop, { className: "absolute inset-0 z-[100] bg-background/60 backdrop-blur-sm" }),
1444
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_dialog.DialogPositioner, { className: "absolute inset-0 z-[100]", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_dialog.DialogContent, { id, "data-slot": "navbar-mobile-overlay", className: (0, import_helix44.cn)(import_helix44.navbarMobileContentBase, className), ...props, children: [
1445
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_dialog.DialogTitle, { className: "sr-only", children: "Navigation menu" }),
1446
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_dialog.DialogDescription, { className: "sr-only", children: "Mobile navigation menu" }),
1447
- /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: import_helix44.navbarMobileHeaderBase, children: [
1625
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_portal6.Portal, { container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_dialog2.DialogRoot, { open, lazyMount: true, unmountOnExit: true, onOpenChange: ({ open: open2 }) => setOpen(open2), preventScroll: false, children: [
1626
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_dialog2.DialogBackdrop, { className: "absolute inset-0 z-[100] bg-background/60 backdrop-blur-sm" }),
1627
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_dialog2.DialogPositioner, { className: "absolute inset-0 z-[100]", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_dialog2.DialogContent, { id, "data-slot": "navbar-mobile-overlay", className: (0, import_helix48.cn)(import_helix48.navbarMobileContentBase, className), ...props, children: [
1628
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_dialog2.DialogTitle, { className: "sr-only", children: "Navigation menu" }),
1629
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_dialog2.DialogDescription, { className: "sr-only", children: "Mobile navigation menu" }),
1630
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: import_helix48.navbarMobileHeaderBase, children: [
1448
1631
  slots.brand,
1449
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_dialog.DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("button", { type: "button", "aria-label": "Close navigation menu", className: (0, import_helix44.cn)((0, import_helix44.navbarTriggerVariants)({ floating })), children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1632
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_dialog2.DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("button", { type: "button", "aria-label": "Close navigation menu", className: (0, import_helix48.cn)((0, import_helix48.navbarTriggerVariants)({ floating })), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
1450
1633
  "svg",
1451
1634
  {
1452
1635
  className: "size-4",
@@ -1457,12 +1640,12 @@ function NavbarMobileOverlay({ className, children, ...props }) {
1457
1640
  strokeLinecap: "round",
1458
1641
  strokeLinejoin: "round",
1459
1642
  "aria-hidden": "true",
1460
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { d: "M18 6 6 18M6 6l12 12" })
1643
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("path", { d: "M18 6 6 18M6 6l12 12" })
1461
1644
  }
1462
1645
  ) }) })
1463
1646
  ] }),
1464
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: import_helix44.navbarMobileMenuBase, children }),
1465
- slots.actions ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: import_helix44.navbarMobileActionsBase, children: slots.actions }) : null
1647
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: import_helix48.navbarMobileMenuBase, children }),
1648
+ slots.actions ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: import_helix48.navbarMobileActionsBase, children: slots.actions }) : null
1466
1649
  ] }) })
1467
1650
  ] }) });
1468
1651
  }
@@ -1470,131 +1653,131 @@ function NavbarMobileOverlay({ className, children, ...props }) {
1470
1653
  // src/field.tsx
1471
1654
  var import_field = require("@ark-ui/react/field");
1472
1655
  var import_fieldset = require("@ark-ui/react/fieldset");
1473
- var import_helix46 = require("@cloudvoyant/helix");
1474
- var import_jsx_runtime45 = require("react/jsx-runtime");
1656
+ var import_helix50 = require("@cloudvoyant/helix");
1657
+ var import_jsx_runtime49 = require("react/jsx-runtime");
1475
1658
  function Field({ className, ...props }) {
1476
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_field.FieldRoot, { className: (0, import_helix46.cn)(import_helix46.fieldRootBase, className), ...props });
1659
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_field.FieldRoot, { className: (0, import_helix50.cn)(import_helix50.fieldRootBase, className), ...props });
1477
1660
  }
1478
1661
  function FieldLabel({ className, ...props }) {
1479
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_field.FieldLabel, { className: (0, import_helix46.cn)(import_helix46.fieldLabelBase, className), ...props });
1662
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_field.FieldLabel, { className: (0, import_helix50.cn)(import_helix50.fieldLabelBase, className), ...props });
1480
1663
  }
1481
1664
  function FieldHelper({ className, ...props }) {
1482
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_field.FieldHelperText, { className: (0, import_helix46.cn)(import_helix46.fieldHelperBase, className), ...props });
1665
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_field.FieldHelperText, { className: (0, import_helix50.cn)(import_helix50.fieldHelperBase, className), ...props });
1483
1666
  }
1484
1667
  function FieldError({ className, ...props }) {
1485
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_field.FieldErrorText, { className: (0, import_helix46.cn)(import_helix46.fieldErrorBase, className), ...props });
1668
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_field.FieldErrorText, { className: (0, import_helix50.cn)(import_helix50.fieldErrorBase, className), ...props });
1486
1669
  }
1487
1670
  function FieldRequiredIndicator({ className, ...props }) {
1488
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_field.FieldRequiredIndicator, { className: (0, import_helix46.cn)(import_helix46.fieldRequiredIndicatorBase, className), ...props });
1671
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_field.FieldRequiredIndicator, { className: (0, import_helix50.cn)(import_helix50.fieldRequiredIndicatorBase, className), ...props });
1489
1672
  }
1490
1673
  function FieldSet({ className, ...props }) {
1491
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_fieldset.FieldsetRoot, { className: (0, import_helix46.cn)(import_helix46.fieldsetRootBase, className), ...props });
1674
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_fieldset.FieldsetRoot, { className: (0, import_helix50.cn)(import_helix50.fieldsetRootBase, className), ...props });
1492
1675
  }
1493
1676
  function FieldSetLegend({ className, ...props }) {
1494
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_fieldset.FieldsetLegend, { className: (0, import_helix46.cn)(import_helix46.fieldsetLegendBase, className), ...props });
1677
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_fieldset.FieldsetLegend, { className: (0, import_helix50.cn)(import_helix50.fieldsetLegendBase, className), ...props });
1495
1678
  }
1496
1679
  function FieldSetHelper({ className, ...props }) {
1497
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_fieldset.FieldsetHelperText, { className: (0, import_helix46.cn)(import_helix46.fieldsetHelperBase, className), ...props });
1680
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_fieldset.FieldsetHelperText, { className: (0, import_helix50.cn)(import_helix50.fieldsetHelperBase, className), ...props });
1498
1681
  }
1499
1682
  function FieldSetError({ className, ...props }) {
1500
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_fieldset.FieldsetErrorText, { className: (0, import_helix46.cn)(import_helix46.fieldsetErrorBase, className), ...props });
1683
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_fieldset.FieldsetErrorText, { className: (0, import_helix50.cn)(import_helix50.fieldsetErrorBase, className), ...props });
1501
1684
  }
1502
1685
  var useField = import_field.useFieldContext;
1503
1686
 
1504
1687
  // src/input.tsx
1505
1688
  var import_field2 = require("@ark-ui/react/field");
1506
- var import_helix47 = require("@cloudvoyant/helix");
1507
- var import_jsx_runtime46 = require("react/jsx-runtime");
1689
+ var import_helix51 = require("@cloudvoyant/helix");
1690
+ var import_jsx_runtime50 = require("react/jsx-runtime");
1508
1691
  function Input2({ className, size, ...props }) {
1509
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_field2.FieldInput, { className: (0, import_helix47.cn)((0, import_helix47.inputVariants)({ size }), className), ...props });
1692
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_field2.FieldInput, { className: (0, import_helix51.cn)((0, import_helix51.inputVariants)({ size }), className), ...props });
1510
1693
  }
1511
1694
 
1512
1695
  // src/textarea.tsx
1513
1696
  var import_field3 = require("@ark-ui/react/field");
1514
- var import_helix48 = require("@cloudvoyant/helix");
1515
- var import_jsx_runtime47 = require("react/jsx-runtime");
1697
+ var import_helix52 = require("@cloudvoyant/helix");
1698
+ var import_jsx_runtime51 = require("react/jsx-runtime");
1516
1699
  function Textarea({ className, ...props }) {
1517
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_field3.FieldTextarea, { className: (0, import_helix48.cn)(import_helix48.textareaBase, className), ...props });
1700
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_field3.FieldTextarea, { className: (0, import_helix52.cn)(import_helix52.textareaBase, className), ...props });
1518
1701
  }
1519
1702
 
1520
1703
  // src/number-input.tsx
1521
1704
  var import_number_input = require("@ark-ui/react/number-input");
1522
- var import_helix49 = require("@cloudvoyant/helix");
1523
- var import_jsx_runtime48 = require("react/jsx-runtime");
1705
+ var import_helix53 = require("@cloudvoyant/helix");
1706
+ var import_jsx_runtime52 = require("react/jsx-runtime");
1524
1707
  function NumberInput({ className, ...props }) {
1525
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_number_input.NumberInputRoot, { className: (0, import_helix49.cn)(import_helix49.numberInputRootBase, className), ...props });
1708
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_number_input.NumberInputRoot, { className: (0, import_helix53.cn)(import_helix53.numberInputRootBase, className), ...props });
1526
1709
  }
1527
1710
  function NumberInputControl({ className, ...props }) {
1528
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_number_input.NumberInputControl, { className: (0, import_helix49.cn)(import_helix49.numberInputControlBase, className), ...props });
1711
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_number_input.NumberInputControl, { className: (0, import_helix53.cn)(import_helix53.numberInputControlBase, className), ...props });
1529
1712
  }
1530
1713
  function NumberInputInput({ className, ...props }) {
1531
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_number_input.NumberInputInput, { className: (0, import_helix49.cn)(import_helix49.numberInputInputBase, className), ...props });
1714
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_number_input.NumberInputInput, { className: (0, import_helix53.cn)(import_helix53.numberInputInputBase, className), ...props });
1532
1715
  }
1533
1716
  function NumberInputDecrement({ className, ...props }) {
1534
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_number_input.NumberInputDecrementTrigger, { "aria-label": "Decrement", className: (0, import_helix49.cn)(import_helix49.numberInputTriggerBase, className), ...props });
1717
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_number_input.NumberInputDecrementTrigger, { "aria-label": "Decrement", className: (0, import_helix53.cn)(import_helix53.numberInputTriggerBase, className), ...props });
1535
1718
  }
1536
1719
  function NumberInputIncrement({ className, ...props }) {
1537
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_number_input.NumberInputIncrementTrigger, { "aria-label": "Increment", className: (0, import_helix49.cn)(import_helix49.numberInputTriggerBase, className), ...props });
1720
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_number_input.NumberInputIncrementTrigger, { "aria-label": "Increment", className: (0, import_helix53.cn)(import_helix53.numberInputTriggerBase, className), ...props });
1538
1721
  }
1539
1722
  var useNumberInput = import_number_input.useNumberInputContext;
1540
1723
 
1541
1724
  // src/checkbox.tsx
1542
1725
  var import_react2 = require("react");
1543
1726
  var import_checkbox = require("@ark-ui/react/checkbox");
1544
- var import_helix50 = require("@cloudvoyant/helix");
1545
- var import_jsx_runtime49 = require("react/jsx-runtime");
1727
+ var import_helix54 = require("@cloudvoyant/helix");
1728
+ var import_jsx_runtime53 = require("react/jsx-runtime");
1546
1729
  var CheckboxSizeContext = (0, import_react2.createContext)("md");
1547
1730
  function Checkbox({ className, size = "md", children, ...props }) {
1548
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(CheckboxSizeContext.Provider, { value: size, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_checkbox.CheckboxRoot, { className: (0, import_helix50.cn)("flex items-center gap-2", className), ...props, children: [
1731
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(CheckboxSizeContext.Provider, { value: size, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_checkbox.CheckboxRoot, { className: (0, import_helix54.cn)("flex items-center gap-2", className), ...props, children: [
1549
1732
  children,
1550
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_checkbox.CheckboxHiddenInput, {})
1733
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_checkbox.CheckboxHiddenInput, {})
1551
1734
  ] }) });
1552
1735
  }
1553
1736
  function CheckboxControl({ className, ...props }) {
1554
1737
  const size = (0, import_react2.useContext)(CheckboxSizeContext);
1555
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_checkbox.CheckboxControl, { className: (0, import_helix50.cn)((0, import_helix50.checkboxVariants)({ size }), className), ...props });
1738
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_checkbox.CheckboxControl, { className: (0, import_helix54.cn)((0, import_helix54.checkboxVariants)({ size }), className), ...props });
1556
1739
  }
1557
1740
  function CheckboxIndicator({ className, ...props }) {
1558
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_checkbox.CheckboxIndicator, { className: (0, import_helix50.cn)(import_helix50.checkboxIndicatorBase, className), ...props });
1741
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_checkbox.CheckboxIndicator, { className: (0, import_helix54.cn)(import_helix54.checkboxIndicatorBase, className), ...props });
1559
1742
  }
1560
1743
  function CheckboxLabel({ className, ...props }) {
1561
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_checkbox.CheckboxLabel, { className: (0, import_helix50.cn)(import_helix50.checkboxLabelBase, className), ...props });
1744
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_checkbox.CheckboxLabel, { className: (0, import_helix54.cn)(import_helix54.checkboxLabelBase, className), ...props });
1562
1745
  }
1563
1746
  function CheckboxGroup({ className, ...props }) {
1564
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_checkbox.CheckboxGroup, { className: (0, import_helix50.cn)(import_helix50.checkboxGroupBase, className), ...props });
1747
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_checkbox.CheckboxGroup, { className: (0, import_helix54.cn)(import_helix54.checkboxGroupBase, className), ...props });
1565
1748
  }
1566
1749
  var useCheckbox = import_checkbox.useCheckboxContext;
1567
1750
 
1568
1751
  // src/switch.tsx
1569
1752
  var import_react3 = require("react");
1570
1753
  var import_switch = require("@ark-ui/react/switch");
1571
- var import_helix51 = require("@cloudvoyant/helix");
1572
- var import_jsx_runtime50 = require("react/jsx-runtime");
1754
+ var import_helix55 = require("@cloudvoyant/helix");
1755
+ var import_jsx_runtime54 = require("react/jsx-runtime");
1573
1756
  var SwitchSizeContext = (0, import_react3.createContext)("md");
1574
1757
  function Switch({ className, size = "md", children, ...props }) {
1575
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SwitchSizeContext.Provider, { value: size, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_switch.SwitchRoot, { className: (0, import_helix51.cn)("flex items-center gap-2", className), ...props, children: [
1758
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SwitchSizeContext.Provider, { value: size, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_switch.SwitchRoot, { className: (0, import_helix55.cn)("flex items-center gap-2", className), ...props, children: [
1576
1759
  children,
1577
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_switch.SwitchHiddenInput, {})
1760
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_switch.SwitchHiddenInput, {})
1578
1761
  ] }) });
1579
1762
  }
1580
1763
  function SwitchControl({ className, ...props }) {
1581
1764
  const size = (0, import_react3.useContext)(SwitchSizeContext);
1582
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_switch.SwitchControl, { className: (0, import_helix51.cn)((0, import_helix51.switchVariants)({ size }), import_helix51.switchControlBase, className), ...props });
1765
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_switch.SwitchControl, { className: (0, import_helix55.cn)((0, import_helix55.switchVariants)({ size }), import_helix55.switchControlBase, className), ...props });
1583
1766
  }
1584
1767
  function SwitchThumb({ className, ...props }) {
1585
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_switch.SwitchThumb, { className: (0, import_helix51.cn)(import_helix51.switchThumbBase, className), ...props });
1768
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_switch.SwitchThumb, { className: (0, import_helix55.cn)(import_helix55.switchThumbBase, className), ...props });
1586
1769
  }
1587
1770
  function SwitchLabel({ className, ...props }) {
1588
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_switch.SwitchLabel, { className: (0, import_helix51.cn)(import_helix51.switchLabelBase, className), ...props });
1771
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_switch.SwitchLabel, { className: (0, import_helix55.cn)(import_helix55.switchLabelBase, className), ...props });
1589
1772
  }
1590
1773
  var useSwitch = import_switch.useSwitchContext;
1591
1774
 
1592
1775
  // src/select.tsx
1593
1776
  var import_factory34 = require("@ark-ui/react/factory");
1594
- var import_portal2 = require("@ark-ui/react/portal");
1777
+ var import_portal7 = require("@ark-ui/react/portal");
1595
1778
  var import_react5 = require("react");
1596
1779
  var import_select = require("@ark-ui/react/select");
1597
- var import_helix52 = require("@cloudvoyant/helix");
1780
+ var import_helix56 = require("@cloudvoyant/helix");
1598
1781
 
1599
1782
  // src/use-media-query.ts
1600
1783
  var import_react4 = require("react");
@@ -1611,7 +1794,7 @@ function useMediaQuery(query) {
1611
1794
  }
1612
1795
 
1613
1796
  // src/select.tsx
1614
- var import_jsx_runtime51 = require("react/jsx-runtime");
1797
+ var import_jsx_runtime55 = require("react/jsx-runtime");
1615
1798
  function Select({ items, collection, size, children, ...props }) {
1616
1799
  const isCoarse = useMediaQuery("(pointer: coarse)");
1617
1800
  const resolvedCollection = (0, import_react5.useMemo)(
@@ -1619,7 +1802,7 @@ function Select({ items, collection, size, children, ...props }) {
1619
1802
  [collection, items]
1620
1803
  );
1621
1804
  if (isCoarse && items) {
1622
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
1805
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
1623
1806
  SelectNative,
1624
1807
  {
1625
1808
  items,
@@ -1635,44 +1818,44 @@ function Select({ items, collection, size, children, ...props }) {
1635
1818
  }
1636
1819
  );
1637
1820
  }
1638
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_select.SelectRoot, { collection: resolvedCollection, ...props, children: [
1821
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_select.SelectRoot, { collection: resolvedCollection, ...props, children: [
1639
1822
  children,
1640
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_select.SelectHiddenSelect, {})
1823
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_select.SelectHiddenSelect, {})
1641
1824
  ] });
1642
1825
  }
1643
1826
  function SelectTrigger({ size = "md", className, ...props }) {
1644
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_select.SelectTrigger, { className: (0, import_helix52.cn)((0, import_helix52.inputVariants)({ size }), import_helix52.selectTriggerBase, className), ...props });
1827
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_select.SelectTrigger, { className: (0, import_helix56.cn)((0, import_helix56.inputVariants)({ size }), import_helix56.selectTriggerBase, className), ...props });
1645
1828
  }
1646
1829
  function SelectValue({ className, ...props }) {
1647
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_select.SelectValueText, { className: (0, import_helix52.cn)(import_helix52.selectValueBase, className), ...props });
1830
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_select.SelectValueText, { className: (0, import_helix56.cn)(import_helix56.selectValueBase, className), ...props });
1648
1831
  }
1649
1832
  function SelectIndicator({ className, ...props }) {
1650
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_select.SelectIndicator, { className: (0, import_helix52.cn)(import_helix52.selectIndicatorBase, className), ...props });
1833
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_select.SelectIndicator, { className: (0, import_helix56.cn)(import_helix56.selectIndicatorBase, className), ...props });
1651
1834
  }
1652
1835
  function SelectClearTrigger({ className, ...props }) {
1653
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_select.SelectClearTrigger, { "aria-label": "Clear selection", className: (0, import_helix52.cn)(import_helix52.selectClearTriggerBase, className), ...props });
1836
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_select.SelectClearTrigger, { "aria-label": "Clear selection", className: (0, import_helix56.cn)(import_helix56.selectClearTriggerBase, className), ...props });
1654
1837
  }
1655
1838
  function SelectContent({ className, ...props }) {
1656
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_portal2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_select.SelectPositioner, { className: import_helix52.selectPositionerBase, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_select.SelectContent, { className: (0, import_helix52.cn)(import_helix52.selectContentBase, className), ...props }) }) });
1839
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_portal7.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_select.SelectPositioner, { className: import_helix56.selectPositionerBase, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_select.SelectContent, { className: (0, import_helix56.cn)(import_helix56.selectContentBase, className), ...props }) }) });
1657
1840
  }
1658
1841
  function SelectItemGroup({ className, ...props }) {
1659
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_select.SelectItemGroup, { className, ...props });
1842
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_select.SelectItemGroup, { className, ...props });
1660
1843
  }
1661
1844
  function SelectItemGroupLabel({ className, ...props }) {
1662
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_select.SelectItemGroupLabel, { className: (0, import_helix52.cn)(import_helix52.selectItemGroupLabelBase, className), ...props });
1845
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_select.SelectItemGroupLabel, { className: (0, import_helix56.cn)(import_helix56.selectItemGroupLabelBase, className), ...props });
1663
1846
  }
1664
1847
  function SelectItem({ item, className, ...props }) {
1665
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_select.SelectItem, { item, className: (0, import_helix52.cn)(import_helix52.selectItemBase, className), ...props });
1848
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_select.SelectItem, { item, className: (0, import_helix56.cn)(import_helix56.selectItemBase, className), ...props });
1666
1849
  }
1667
1850
  function SelectItemText({ className, ...props }) {
1668
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_select.SelectItemText, { className: (0, import_helix52.cn)(import_helix52.selectItemTextBase, className), ...props });
1851
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_select.SelectItemText, { className: (0, import_helix56.cn)(import_helix56.selectItemTextBase, className), ...props });
1669
1852
  }
1670
1853
  function SelectItemIndicator({ className, ...props }) {
1671
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_select.SelectItemIndicator, { className: (0, import_helix52.cn)(import_helix52.selectItemIndicatorBase, className), ...props });
1854
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_select.SelectItemIndicator, { className: (0, import_helix56.cn)(import_helix56.selectItemIndicatorBase, className), ...props });
1672
1855
  }
1673
1856
  var useSelect = import_select.useSelectContext;
1674
1857
  function ChevronDownIcon() {
1675
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
1858
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
1676
1859
  "svg",
1677
1860
  {
1678
1861
  viewBox: "0 0 24 24",
@@ -1682,7 +1865,7 @@ function ChevronDownIcon() {
1682
1865
  strokeLinecap: "round",
1683
1866
  strokeLinejoin: "round",
1684
1867
  "aria-hidden": true,
1685
- children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("path", { d: "m6 9 6 6 6-6" })
1868
+ children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", { d: "m6 9 6 6 6-6" })
1686
1869
  }
1687
1870
  );
1688
1871
  }
@@ -1697,29 +1880,29 @@ function SelectNative({
1697
1880
  className,
1698
1881
  ...props
1699
1882
  }) {
1700
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_factory34.ark.div, { className: (0, import_helix52.cn)(import_helix52.nativeSelectWrapperBase, className), children: [
1701
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
1883
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_factory34.ark.div, { className: (0, import_helix56.cn)(import_helix56.nativeSelectWrapperBase, className), children: [
1884
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
1702
1885
  import_factory34.ark.select,
1703
1886
  {
1704
- className: (0, import_helix52.nativeSelectVariants)({ size }),
1887
+ className: (0, import_helix56.nativeSelectVariants)({ size }),
1705
1888
  value,
1706
1889
  defaultValue,
1707
1890
  onChange: (event) => onValueChange?.(event.currentTarget.value),
1708
1891
  "aria-invalid": invalid,
1709
1892
  ...props,
1710
- children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_factory34.ark.option, { value: item.value, disabled: item.disabled, children: item.label }, item.value))
1893
+ children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_factory34.ark.option, { value: item.value, disabled: item.disabled, children: item.label }, item.value))
1711
1894
  }
1712
1895
  ),
1713
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_factory34.ark.span, { className: import_helix52.nativeSelectIconBase, "aria-hidden": true, children: icon ?? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ChevronDownIcon, {}) })
1896
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_factory34.ark.span, { className: import_helix56.nativeSelectIconBase, "aria-hidden": true, children: icon ?? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ChevronDownIcon, {}) })
1714
1897
  ] });
1715
1898
  }
1716
1899
 
1717
1900
  // src/combobox.tsx
1718
- var import_portal3 = require("@ark-ui/react/portal");
1901
+ var import_portal8 = require("@ark-ui/react/portal");
1719
1902
  var import_react6 = require("react");
1720
1903
  var import_combobox = require("@ark-ui/react/combobox");
1721
- var import_helix53 = require("@cloudvoyant/helix");
1722
- var import_jsx_runtime52 = require("react/jsx-runtime");
1904
+ var import_helix57 = require("@cloudvoyant/helix");
1905
+ var import_jsx_runtime56 = require("react/jsx-runtime");
1723
1906
  function Combobox({
1724
1907
  items,
1725
1908
  collection,
@@ -1732,7 +1915,7 @@ function Combobox({
1732
1915
  () => collection ?? (0, import_combobox.createListCollection)({ items: items ?? [] }),
1733
1916
  [collection, items]
1734
1917
  );
1735
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
1918
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
1736
1919
  import_combobox.ComboboxRoot,
1737
1920
  {
1738
1921
  collection: resolvedCollection,
@@ -1744,79 +1927,137 @@ function Combobox({
1744
1927
  );
1745
1928
  }
1746
1929
  function ComboboxControl({ className, ...props }) {
1747
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_combobox.ComboboxControl, { className: (0, import_helix53.cn)(import_helix53.comboboxControlBase, className), ...props });
1930
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_combobox.ComboboxControl, { className: (0, import_helix57.cn)(import_helix57.comboboxControlBase, className), ...props });
1748
1931
  }
1749
1932
  function ComboboxInput({ size = "md", className, ...props }) {
1750
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_combobox.ComboboxInput, { className: (0, import_helix53.cn)((0, import_helix53.inputVariants)({ size }), import_helix53.comboboxInputBase, className), ...props });
1933
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_combobox.ComboboxInput, { className: (0, import_helix57.cn)((0, import_helix57.inputVariants)({ size }), import_helix57.comboboxInputBase, className), ...props });
1751
1934
  }
1752
1935
  function ComboboxTrigger({ className, ...props }) {
1753
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_combobox.ComboboxTrigger, { className: (0, import_helix53.cn)(import_helix53.comboboxTriggerBase, className), ...props });
1936
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_combobox.ComboboxTrigger, { className: (0, import_helix57.cn)(import_helix57.comboboxTriggerBase, className), ...props });
1754
1937
  }
1755
1938
  function ComboboxClear({ className, ...props }) {
1756
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_combobox.ComboboxClearTrigger, { "aria-label": "Clear", className: (0, import_helix53.cn)(import_helix53.comboboxClearTriggerBase, className), ...props });
1939
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_combobox.ComboboxClearTrigger, { "aria-label": "Clear", className: (0, import_helix57.cn)(import_helix57.comboboxClearTriggerBase, className), ...props });
1757
1940
  }
1758
1941
  function ComboboxContent({ className, ...props }) {
1759
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_portal3.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_combobox.ComboboxPositioner, { className: import_helix53.comboboxPositionerBase, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_combobox.ComboboxContent, { className: (0, import_helix53.cn)(import_helix53.comboboxContentBase, className), ...props }) }) });
1942
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_portal8.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_combobox.ComboboxPositioner, { className: import_helix57.comboboxPositionerBase, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_combobox.ComboboxContent, { className: (0, import_helix57.cn)(import_helix57.comboboxContentBase, className), ...props }) }) });
1760
1943
  }
1761
1944
  function ComboboxItemGroup({ className, ...props }) {
1762
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_combobox.ComboboxItemGroup, { className, ...props });
1945
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_combobox.ComboboxItemGroup, { className, ...props });
1763
1946
  }
1764
1947
  function ComboboxItemGroupLabel({ className, ...props }) {
1765
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_combobox.ComboboxItemGroupLabel, { className: (0, import_helix53.cn)(import_helix53.comboboxItemGroupLabelBase, className), ...props });
1948
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_combobox.ComboboxItemGroupLabel, { className: (0, import_helix57.cn)(import_helix57.comboboxItemGroupLabelBase, className), ...props });
1766
1949
  }
1767
1950
  function ComboboxItem({ item, showIndicator = true, className, ...props }) {
1768
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_combobox.ComboboxItem, { item, persistFocus: true, className: (0, import_helix53.cn)((0, import_helix53.comboboxItemVariants)({ showIndicator }), className), ...props });
1951
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_combobox.ComboboxItem, { item, persistFocus: true, className: (0, import_helix57.cn)((0, import_helix57.comboboxItemVariants)({ showIndicator }), className), ...props });
1769
1952
  }
1770
1953
  function ComboboxItemText({ className, ...props }) {
1771
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_combobox.ComboboxItemText, { className, ...props });
1954
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_combobox.ComboboxItemText, { className, ...props });
1772
1955
  }
1773
1956
  function ComboboxItemIndicator({ className, ...props }) {
1774
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_combobox.ComboboxItemIndicator, { className: (0, import_helix53.cn)(import_helix53.comboboxItemIndicatorBase, className), ...props });
1957
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_combobox.ComboboxItemIndicator, { className: (0, import_helix57.cn)(import_helix57.comboboxItemIndicatorBase, className), ...props });
1775
1958
  }
1776
1959
  function ComboboxList({ className, ...props }) {
1777
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_combobox.ComboboxList, { className: (0, import_helix53.cn)(import_helix53.comboboxListBase, className), ...props });
1960
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_combobox.ComboboxList, { className: (0, import_helix57.cn)(import_helix57.comboboxListBase, className), ...props });
1778
1961
  }
1779
1962
  function ComboboxEmpty({ className, children, ...props }) {
1780
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_combobox.ComboboxEmpty, { className: (0, import_helix53.cn)(import_helix53.comboboxEmptyBase, className), ...props, children: children ?? "No results found." });
1963
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_combobox.ComboboxEmpty, { className: (0, import_helix57.cn)(import_helix57.comboboxEmptyBase, className), ...props, children: children ?? "No results found." });
1781
1964
  }
1782
1965
  var useCombobox = import_combobox.useComboboxContext;
1783
1966
 
1784
1967
  // src/tags-input.tsx
1785
1968
  var import_tags_input = require("@ark-ui/react/tags-input");
1786
- var import_helix54 = require("@cloudvoyant/helix");
1787
- var import_jsx_runtime53 = require("react/jsx-runtime");
1969
+ var import_helix58 = require("@cloudvoyant/helix");
1970
+ var import_jsx_runtime57 = require("react/jsx-runtime");
1788
1971
  function TagInput({ className, editable = false, children, ...props }) {
1789
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_tags_input.TagsInputRoot, { className: (0, import_helix54.cn)(import_helix54.tagsInputRootBase, className), editable, ...props, children: [
1972
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_tags_input.TagsInputRoot, { className: (0, import_helix58.cn)(import_helix58.tagsInputRootBase, className), editable, ...props, children: [
1790
1973
  children,
1791
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tags_input.TagsInputHiddenInput, {})
1974
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_tags_input.TagsInputHiddenInput, {})
1792
1975
  ] });
1793
1976
  }
1794
1977
  function TagInputControl({ className, ...props }) {
1795
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tags_input.TagsInputControl, { className: (0, import_helix54.cn)(import_helix54.tagsInputControlBase, className), ...props });
1978
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_tags_input.TagsInputControl, { className: (0, import_helix58.cn)(import_helix58.tagsInputControlBase, className), ...props });
1796
1979
  }
1797
1980
  function TagInputInput({ className, ...props }) {
1798
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tags_input.TagsInputInput, { className: (0, import_helix54.cn)(import_helix54.tagsInputInputBase, className), ...props });
1981
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_tags_input.TagsInputInput, { className: (0, import_helix58.cn)(import_helix58.tagsInputInputBase, className), ...props });
1799
1982
  }
1800
1983
  function TagInputItem({ className, ...props }) {
1801
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tags_input.TagsInputItem, { className: (0, import_helix54.cn)(import_helix54.tagsInputItemBase, className), ...props });
1984
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_tags_input.TagsInputItem, { className: (0, import_helix58.cn)(import_helix58.tagsInputItemBase, className), ...props });
1802
1985
  }
1803
1986
  function TagInputItemPreview({ className, ...props }) {
1804
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tags_input.TagsInputItemPreview, { className, ...props });
1987
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_tags_input.TagsInputItemPreview, { className, ...props });
1805
1988
  }
1806
1989
  function TagInputItemText({ className, ...props }) {
1807
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tags_input.TagsInputItemText, { className: (0, import_helix54.cn)(import_helix54.tagsInputItemTextBase, className), ...props });
1990
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_tags_input.TagsInputItemText, { className: (0, import_helix58.cn)(import_helix58.tagsInputItemTextBase, className), ...props });
1808
1991
  }
1809
1992
  function TagInputItemInput({ className, ...props }) {
1810
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tags_input.TagsInputItemInput, { className: (0, import_helix54.cn)(import_helix54.tagsInputItemInputBase, className), ...props });
1993
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_tags_input.TagsInputItemInput, { className: (0, import_helix58.cn)(import_helix58.tagsInputItemInputBase, className), ...props });
1811
1994
  }
1812
1995
  function TagInputItemDeleteTrigger({ className, ...props }) {
1813
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tags_input.TagsInputItemDeleteTrigger, { "aria-label": "Remove tag", className: (0, import_helix54.cn)(import_helix54.tagsInputItemDeleteTriggerBase, className), ...props });
1996
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_tags_input.TagsInputItemDeleteTrigger, { "aria-label": "Remove tag", className: (0, import_helix58.cn)(import_helix58.tagsInputItemDeleteTriggerBase, className), ...props });
1814
1997
  }
1815
1998
  function TagInputClearTrigger({ className, ...props }) {
1816
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_tags_input.TagsInputClearTrigger, { "aria-label": "Clear all tags", className: (0, import_helix54.cn)(import_helix54.tagsInputClearTriggerBase, className), ...props });
1999
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_tags_input.TagsInputClearTrigger, { "aria-label": "Clear all tags", className: (0, import_helix58.cn)(import_helix58.tagsInputClearTriggerBase, className), ...props });
1817
2000
  }
1818
2001
  var TagInputContext = import_tags_input.TagsInputContext;
1819
2002
  var useTagInput = import_tags_input.useTagsInputContext;
2003
+
2004
+ // src/mermaid.tsx
2005
+ var import_react7 = require("react");
2006
+ var import_factory35 = require("@ark-ui/react/factory");
2007
+ var import_helix59 = require("@cloudvoyant/helix");
2008
+ var import_jsx_runtime58 = require("react/jsx-runtime");
2009
+ function Mermaid({ code, svg, className, ...props }) {
2010
+ const [status, setStatus] = (0, import_react7.useState)(svg !== void 0 ? "done" : "loading");
2011
+ const [rendered, setRendered] = (0, import_react7.useState)(svg ?? null);
2012
+ const aspectRatio = rendered !== null ? (0, import_helix59.mermaidSvgAspectRatio)(rendered) : void 0;
2013
+ (0, import_react7.useEffect)(() => {
2014
+ if (svg !== void 0) return;
2015
+ let cancelled = false;
2016
+ setStatus("loading");
2017
+ setRendered(null);
2018
+ (0, import_helix59.renderMermaidSource)(code).then((markup) => {
2019
+ if (!cancelled) {
2020
+ setRendered(markup);
2021
+ setStatus("done");
2022
+ }
2023
+ }).catch(() => {
2024
+ if (!cancelled) setStatus("error");
2025
+ });
2026
+ return () => {
2027
+ cancelled = true;
2028
+ };
2029
+ }, [code, svg]);
2030
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
2031
+ import_factory35.ark.div,
2032
+ {
2033
+ ...props,
2034
+ "data-mermaid-code": JSON.stringify(code),
2035
+ "data-mermaid-src": rendered !== null ? code : void 0,
2036
+ "data-mermaid-state": status,
2037
+ style: aspectRatio !== void 0 ? { ...props.style, aspectRatio } : props.style,
2038
+ className: (0, import_helix59.cn)(import_helix59.mermaidRootBase, className),
2039
+ children: rendered !== null ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: import_helix59.mermaidSvgBase, dangerouslySetInnerHTML: { __html: rendered } }) : status === "error" ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("pre", { className: import_helix59.mermaidSourceBase, children: code }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_jsx_runtime58.Fragment, { children: [
2040
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
2041
+ "div",
2042
+ {
2043
+ className: import_helix59.mermaidLoadingBase,
2044
+ role: "status",
2045
+ "aria-label": "Rendering diagram",
2046
+ "data-mermaid-loading": true,
2047
+ children: [
2048
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { "aria-hidden": "true", className: "h-5 w-5 shrink-0 animate-spin rounded-full border-2 border-muted-foreground/25 border-t-muted-foreground" }),
2049
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "text-sm text-muted-foreground", children: "Rendering diagram" })
2050
+ ]
2051
+ }
2052
+ ),
2053
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("noscript", { children: [
2054
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("style", { children: "[data-mermaid-loading]{display:none}" }),
2055
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("pre", { className: import_helix59.mermaidSourceBase, children: code })
2056
+ ] })
2057
+ ] })
2058
+ }
2059
+ );
2060
+ }
1820
2061
  // Annotate the CommonJS export names for ESM import in node:
1821
2062
  0 && (module.exports = {
1822
2063
  Badge,
@@ -1849,6 +2090,16 @@ var useTagInput = import_tags_input.useTagsInputContext;
1849
2090
  ComboboxList,
1850
2091
  ComboboxTrigger,
1851
2092
  Container,
2093
+ Dialog,
2094
+ DialogBackdrop,
2095
+ DialogContent,
2096
+ DialogDescription,
2097
+ DialogDismiss,
2098
+ DialogFooter,
2099
+ DialogHeader,
2100
+ DialogProvider,
2101
+ DialogTitle,
2102
+ DialogTrigger,
1852
2103
  Field,
1853
2104
  FieldError,
1854
2105
  FieldHelper,
@@ -1861,6 +2112,7 @@ var useTagInput = import_tags_input.useTagsInputContext;
1861
2112
  HStack,
1862
2113
  Input,
1863
2114
  Item,
2115
+ Mermaid,
1864
2116
  Navbar,
1865
2117
  NavbarActions,
1866
2118
  NavbarActivationArea,
@@ -1896,6 +2148,16 @@ var useTagInput = import_tags_input.useTagsInputContext;
1896
2148
  PaginationItems,
1897
2149
  PaginationNext,
1898
2150
  PaginationPrevious,
2151
+ Popover,
2152
+ PopoverAnchor,
2153
+ PopoverContent,
2154
+ PopoverDescription,
2155
+ PopoverDismiss,
2156
+ PopoverIndicator,
2157
+ PopoverProvider,
2158
+ PopoverTitle,
2159
+ PopoverTrigger,
2160
+ Portal,
1899
2161
  Row,
1900
2162
  Scroll,
1901
2163
  Select,
@@ -1958,17 +2220,39 @@ var useTagInput = import_tags_input.useTagsInputContext;
1958
2220
  Textarea,
1959
2221
  ToggleButton,
1960
2222
  ToggleButtonIndicator,
2223
+ Tooltip,
2224
+ TooltipContent,
2225
+ TooltipProvider,
2226
+ TooltipTrigger,
1961
2227
  VStack,
2228
+ Window,
2229
+ WindowBody,
2230
+ WindowControl,
2231
+ WindowDismiss,
2232
+ WindowDragTrigger,
2233
+ WindowHeader,
2234
+ WindowProvider,
2235
+ WindowResizeTrigger,
2236
+ WindowStageTrigger,
2237
+ WindowTitle,
1962
2238
  navbarMenuTriggerStyle,
1963
2239
  useCheckbox,
1964
2240
  useCombobox,
2241
+ useDialog,
2242
+ useDialogContext,
1965
2243
  useField,
1966
2244
  useMediaQuery,
1967
2245
  useNavbar,
1968
2246
  useNumberInput,
2247
+ usePopover,
2248
+ usePopoverContext,
1969
2249
  useSelect,
1970
2250
  useSidebar,
1971
2251
  useSwitch,
1972
2252
  useTabs,
1973
- useTagInput
2253
+ useTagInput,
2254
+ useTooltip,
2255
+ useTooltipContext,
2256
+ useWindow,
2257
+ useWindowContext
1974
2258
  });