@cerberus-design/react 0.9.2-next-f877bc3 → 0.9.2-next-5604236

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.
Files changed (52) hide show
  1. package/build/legacy/_tsup-dts-rollup.d.cts +51 -0
  2. package/build/legacy/components/CircularProgress.cjs +180 -0
  3. package/build/legacy/components/CircularProgress.cjs.map +1 -0
  4. package/build/legacy/components/FileStatus.cjs +1 -1
  5. package/build/legacy/components/FileStatus.cjs.map +1 -1
  6. package/build/legacy/components/ProgressBar.cjs +1 -1
  7. package/build/legacy/components/ProgressBar.cjs.map +1 -1
  8. package/build/legacy/components/Spinner.cjs.map +1 -1
  9. package/build/legacy/index.cjs +450 -297
  10. package/build/legacy/index.cjs.map +1 -1
  11. package/build/modern/_tsup-dts-rollup.d.ts +51 -0
  12. package/build/modern/chunk-A6CLBPFE.js +155 -0
  13. package/build/modern/chunk-A6CLBPFE.js.map +1 -0
  14. package/build/modern/{chunk-WFHZDHJB.js → chunk-AEDGCR25.js} +4 -4
  15. package/build/modern/{chunk-RSFFVJSM.js → chunk-CMKBUSGN.js} +7 -7
  16. package/build/modern/{chunk-TYTEREKZ.js → chunk-G6O7KRQ6.js} +2 -2
  17. package/build/modern/{chunk-TYTEREKZ.js.map → chunk-G6O7KRQ6.js.map} +1 -1
  18. package/build/modern/{chunk-ZCIJRM2X.js → chunk-GABTVDSB.js} +4 -4
  19. package/build/modern/{chunk-RN6HSKIG.js → chunk-IXOJLCNO.js} +1 -1
  20. package/build/modern/{chunk-RN6HSKIG.js.map → chunk-IXOJLCNO.js.map} +1 -1
  21. package/build/modern/{chunk-XGIACYC3.js → chunk-LAOQSNMN.js} +5 -5
  22. package/build/modern/{chunk-2FK7NR7Y.js → chunk-RQPDRHRP.js} +4 -4
  23. package/build/modern/{chunk-FMFKM2AB.js → chunk-SSY3KX3F.js} +4 -4
  24. package/build/modern/{chunk-VRPAW76S.js → chunk-XPVDT4VF.js} +4 -4
  25. package/build/modern/{chunk-V4Y7DU4B.js → chunk-ZBEHDXFT.js} +12 -12
  26. package/build/modern/components/Checkbox.js +2 -2
  27. package/build/modern/components/CircularProgress.js +8 -0
  28. package/build/modern/components/CircularProgress.js.map +1 -0
  29. package/build/modern/components/FileStatus.js +4 -4
  30. package/build/modern/components/Input.js +2 -2
  31. package/build/modern/components/Label.js +2 -2
  32. package/build/modern/components/ProgressBar.js +1 -1
  33. package/build/modern/components/Select.js +2 -2
  34. package/build/modern/components/Spinner.js +1 -1
  35. package/build/modern/context/confirm-modal.js +3 -3
  36. package/build/modern/context/notification-center.js +2 -2
  37. package/build/modern/context/prompt-modal.js +6 -6
  38. package/build/modern/index.js +34 -30
  39. package/build/modern/index.js.map +1 -1
  40. package/package.json +2 -2
  41. package/src/components/CircularProgress.tsx +170 -0
  42. package/src/components/ProgressBar.tsx +1 -1
  43. package/src/components/Spinner.tsx +15 -0
  44. package/src/index.ts +1 -0
  45. /package/build/modern/{chunk-WFHZDHJB.js.map → chunk-AEDGCR25.js.map} +0 -0
  46. /package/build/modern/{chunk-RSFFVJSM.js.map → chunk-CMKBUSGN.js.map} +0 -0
  47. /package/build/modern/{chunk-ZCIJRM2X.js.map → chunk-GABTVDSB.js.map} +0 -0
  48. /package/build/modern/{chunk-XGIACYC3.js.map → chunk-LAOQSNMN.js.map} +0 -0
  49. /package/build/modern/{chunk-2FK7NR7Y.js.map → chunk-RQPDRHRP.js.map} +0 -0
  50. /package/build/modern/{chunk-FMFKM2AB.js.map → chunk-SSY3KX3F.js.map} +0 -0
  51. /package/build/modern/{chunk-VRPAW76S.js.map → chunk-XPVDT4VF.js.map} +0 -0
  52. /package/build/modern/{chunk-V4Y7DU4B.js.map → chunk-ZBEHDXFT.js.map} +0 -0
@@ -25,6 +25,7 @@ __export(src_exports, {
25
25
  Avatar: () => Avatar,
26
26
  Button: () => Button,
27
27
  Checkbox: () => Checkbox,
28
+ CircularProgress: () => CircularProgress,
28
29
  ConfirmModal: () => ConfirmModal,
29
30
  Droppable: () => Droppable,
30
31
  FeatureFlag: () => FeatureFlag,
@@ -364,10 +365,161 @@ function Checkbox(props) {
364
365
  );
365
366
  }
366
367
 
368
+ // src/components/CircularProgress.tsx
369
+ var import_patterns3 = require("@cerberus/styled-system/patterns");
370
+ var import_css4 = require("@cerberus/styled-system/css");
371
+ var import_jsx_runtime6 = require("react/jsx-runtime");
372
+ function CircularProgress(props) {
373
+ const strokeW = 14;
374
+ const radius = `calc(50% * (1 - ${strokeW}/100))`;
375
+ const status = props.label ?? "Done";
376
+ const now = props.now >= 100 ? 100 : props.now;
377
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
378
+ "div",
379
+ {
380
+ "aria-valuemin": 0,
381
+ "aria-valuemax": 100,
382
+ "aria-valuenow": now,
383
+ className: (0, import_patterns3.cq)({
384
+ alignSelf: "stretch",
385
+ flex: 1,
386
+ m: "4px",
387
+ position: "relative"
388
+ }),
389
+ role: "progressbar",
390
+ children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
391
+ "svg",
392
+ {
393
+ "data-complete": now === 100,
394
+ className: (0, import_css4.css)({
395
+ display: "block",
396
+ rounded: "full",
397
+ transition: "all 0.5s ease"
398
+ }),
399
+ fill: "none",
400
+ strokeLinecap: "round",
401
+ strokeWidth: strokeW,
402
+ viewBox: "0 0 100 100",
403
+ xmlns: "http://www.w3.org/2000/svg",
404
+ children: [
405
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("title", { children: props.title }),
406
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("desc", { children: `${now}% ${status}` }),
407
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("mask", { id: "progMask", children: [
408
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { fill: "white", width: "100%", height: "100%" }),
409
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
410
+ "circle",
411
+ {
412
+ className: (0, import_css4.css)({
413
+ stroke: "page.bg.100"
414
+ }),
415
+ cx: "50%",
416
+ cy: "50%",
417
+ r: radius,
418
+ pathLength: "100"
419
+ }
420
+ ),
421
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
422
+ "circle",
423
+ {
424
+ className: (0, import_css4.css)({
425
+ transition: "stroke-dashoffset 0.5s ease"
426
+ }),
427
+ cx: "50%",
428
+ cy: "50%",
429
+ r: radius,
430
+ pathLength: "100",
431
+ stroke: "black",
432
+ strokeDasharray: "100",
433
+ strokeDashoffset: 100 - now,
434
+ transform: "rotate(-90 50 50)"
435
+ }
436
+ )
437
+ ] }),
438
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
439
+ "circle",
440
+ {
441
+ className: (0, import_css4.css)({
442
+ fill: "page.surface.initial"
443
+ }),
444
+ cx: "50%",
445
+ cy: "50%",
446
+ r: `calc(50% * (1 - ${strokeW}/100))`,
447
+ pathLength: "100"
448
+ }
449
+ ),
450
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
451
+ "circle",
452
+ {
453
+ className: (0, import_css4.css)({
454
+ stroke: "page.bg.100"
455
+ }),
456
+ cx: "50%",
457
+ cy: "50%",
458
+ r: radius,
459
+ pathLength: "100"
460
+ }
461
+ ),
462
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
463
+ "circle",
464
+ {
465
+ "data-complete": now === 100,
466
+ className: (0, import_css4.css)({
467
+ stroke: "action.bg.initial",
468
+ transition: "stroke-dashoffset 0.5s ease",
469
+ "&:is([data-complete=true])": {
470
+ stroke: "success.bg.initial"
471
+ }
472
+ }),
473
+ cx: "50%",
474
+ cy: "50%",
475
+ r: radius,
476
+ pathLength: "100",
477
+ strokeDasharray: "100",
478
+ strokeDashoffset: 100 - now,
479
+ transform: "rotate(-90 50 50)"
480
+ }
481
+ ),
482
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("g", { children: [
483
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
484
+ "text",
485
+ {
486
+ className: (0, import_css4.css)({
487
+ fill: "page.text.initial",
488
+ fontFamily: "mono",
489
+ textStyle: "1.25rem"
490
+ }),
491
+ x: "35%",
492
+ y: "50%",
493
+ children: [
494
+ now,
495
+ "%"
496
+ ]
497
+ }
498
+ ),
499
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
500
+ "text",
501
+ {
502
+ className: (0, import_css4.css)({
503
+ fill: "page.text.100",
504
+ fontSize: "0.5rem"
505
+ }),
506
+ x: "39%",
507
+ y: "60%",
508
+ children: status
509
+ }
510
+ )
511
+ ] })
512
+ ]
513
+ }
514
+ )
515
+ }
516
+ );
517
+ }
518
+
367
519
  // src/components/Droppable.tsx
368
520
  var import_core = require("@dnd-kit/core");
369
521
  var import_react3 = require("react");
370
- var import_jsx_runtime6 = require("react/jsx-runtime");
522
+ var import_jsx_runtime7 = require("react/jsx-runtime");
371
523
  function Droppable(props) {
372
524
  const { dropped, id, disabled, data, resizeObserverConfig, ...nativeProps } = props;
373
525
  const uuid = (0, import_react3.useId)();
@@ -377,7 +529,7 @@ function Droppable(props) {
377
529
  id: id || uuid,
378
530
  resizeObserverConfig
379
531
  });
380
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
532
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
381
533
  "div",
382
534
  {
383
535
  ...nativeProps,
@@ -390,27 +542,27 @@ function Droppable(props) {
390
542
  }
391
543
 
392
544
  // src/components/FieldMessage.tsx
393
- var import_css4 = require("@cerberus/styled-system/css");
545
+ var import_css5 = require("@cerberus/styled-system/css");
394
546
  var import_recipes4 = require("@cerberus/styled-system/recipes");
395
- var import_jsx_runtime7 = require("react/jsx-runtime");
547
+ var import_jsx_runtime8 = require("react/jsx-runtime");
396
548
  function FieldMessage(props) {
397
549
  const { invalid } = useFieldContext();
398
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
550
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
399
551
  "small",
400
552
  {
401
553
  ...props,
402
554
  ...invalid && { "aria-invalid": true },
403
- className: (0, import_css4.cx)(props.className, (0, import_recipes4.fieldMessage)())
555
+ className: (0, import_css5.cx)(props.className, (0, import_recipes4.fieldMessage)())
404
556
  }
405
557
  );
406
558
  }
407
559
 
408
560
  // src/context/feature-flags.tsx
409
561
  var import_react4 = require("react");
410
- var import_jsx_runtime8 = require("react/jsx-runtime");
562
+ var import_jsx_runtime9 = require("react/jsx-runtime");
411
563
  var FeatureFlagContext = (0, import_react4.createContext)(null);
412
564
  function FeatureFlags(props) {
413
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(FeatureFlagContext.Provider, { value: props.flags, children: props.children });
565
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(FeatureFlagContext.Provider, { value: props.flags, children: props.children });
414
566
  }
415
567
  function useFeatureFlags(key) {
416
568
  const context = (0, import_react4.useContext)(FeatureFlagContext);
@@ -423,19 +575,19 @@ function useFeatureFlags(key) {
423
575
  }
424
576
 
425
577
  // src/components/FeatureFlag.tsx
426
- var import_jsx_runtime9 = require("react/jsx-runtime");
578
+ var import_jsx_runtime10 = require("react/jsx-runtime");
427
579
  function FeatureFlag(props) {
428
580
  const showContent = useFeatureFlags(props.flag);
429
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Show, { when: showContent, children: props.children });
581
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Show, { when: showContent, children: props.children });
430
582
  }
431
583
 
432
584
  // src/components/FileStatus.tsx
433
585
  var import_react5 = require("react");
434
586
 
435
587
  // src/components/ProgressBar.tsx
436
- var import_css5 = require("@cerberus/styled-system/css");
588
+ var import_css6 = require("@cerberus/styled-system/css");
437
589
  var import_recipes5 = require("@cerberus/styled-system/recipes");
438
- var import_jsx_runtime10 = require("react/jsx-runtime");
590
+ var import_jsx_runtime11 = require("react/jsx-runtime");
439
591
  function ProgressBar(props) {
440
592
  const { indeterminate, size, usage, now, ...nativeProps } = props;
441
593
  const styles = (0, import_recipes5.progressBar)({ size, usage });
@@ -443,16 +595,16 @@ function ProgressBar(props) {
443
595
  const width = {
444
596
  width: indeterminate ? "50%" : `${nowClamped}%`
445
597
  };
446
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
598
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
447
599
  "div",
448
600
  {
449
601
  ...nativeProps,
450
602
  "aria-valuemin": 0,
451
603
  "aria-valuemax": 100,
452
604
  "aria-valuenow": indeterminate ? 0 : nowClamped,
453
- className: (0, import_css5.cx)(nativeProps.className, styles.root),
454
- role: "meter",
455
- children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
605
+ className: (0, import_css6.cx)(nativeProps.className, styles.root),
606
+ role: "progressbar",
607
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
456
608
  "div",
457
609
  {
458
610
  ...indeterminate && { "data-indeterminate": true },
@@ -466,19 +618,19 @@ function ProgressBar(props) {
466
618
  }
467
619
 
468
620
  // src/components/IconButton.tsx
469
- var import_css6 = require("@cerberus/styled-system/css");
621
+ var import_css7 = require("@cerberus/styled-system/css");
470
622
  var import_recipes6 = require("@cerberus/styled-system/recipes");
471
- var import_jsx_runtime11 = require("react/jsx-runtime");
623
+ var import_jsx_runtime12 = require("react/jsx-runtime");
472
624
  function IconButton(props) {
473
625
  const { ariaLabel, palette, usage, size, ...nativeProps } = props;
474
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
626
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
475
627
  "button",
476
628
  {
477
629
  ...nativeProps,
478
630
  "data-tooltip": true,
479
631
  "data-position": props.tooltipPosition ?? "top",
480
632
  "aria-label": ariaLabel ?? "Icon Button",
481
- className: (0, import_css6.cx)(
633
+ className: (0, import_css7.cx)(
482
634
  nativeProps.className,
483
635
  (0, import_recipes6.iconButton)({
484
636
  palette,
@@ -492,9 +644,9 @@ function IconButton(props) {
492
644
 
493
645
  // src/components/FileStatus.tsx
494
646
  var import_recipes7 = require("@cerberus/styled-system/recipes");
495
- var import_css7 = require("@cerberus/styled-system/css");
496
- var import_patterns3 = require("@cerberus/styled-system/patterns");
497
- var import_jsx_runtime12 = require("react/jsx-runtime");
647
+ var import_css8 = require("@cerberus/styled-system/css");
648
+ var import_patterns4 = require("@cerberus/styled-system/patterns");
649
+ var import_jsx_runtime13 = require("react/jsx-runtime");
498
650
  var processStatus = /* @__PURE__ */ ((processStatus2) => {
499
651
  processStatus2["TODO"] = "todo";
500
652
  processStatus2["PROCESSING"] = "processing";
@@ -530,62 +682,62 @@ function FileStatus(props) {
530
682
  },
531
683
  [onClick]
532
684
  );
533
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
685
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
534
686
  "div",
535
687
  {
536
688
  ...nativeProps,
537
- className: (0, import_css7.cx)(nativeProps.className, styles.root, (0, import_patterns3.hstack)()),
689
+ className: (0, import_css8.cx)(nativeProps.className, styles.root, (0, import_patterns4.hstack)()),
538
690
  children: [
539
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
691
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
540
692
  Avatar,
541
693
  {
542
694
  ariaLabel: "",
543
695
  gradient: modalIconPalette,
544
- icon: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(MatchFileStatusIcon, { size: 24, status }),
696
+ icon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(MatchFileStatusIcon, { size: 24, status }),
545
697
  src: ""
546
698
  }
547
699
  ),
548
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
700
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
549
701
  "div",
550
702
  {
551
- className: (0, import_patterns3.vstack)({
703
+ className: (0, import_patterns4.vstack)({
552
704
  alignItems: "flex-start",
553
705
  gap: "0.12rem",
554
706
  w: "full"
555
707
  }),
556
708
  children: [
557
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
709
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
558
710
  "small",
559
711
  {
560
- className: (0, import_css7.css)({
712
+ className: (0, import_css8.css)({
561
713
  color: "page.text.initial",
562
714
  textStyle: "label-sm"
563
715
  }),
564
716
  children: file
565
717
  }
566
718
  ),
567
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ProgressBar, { now, size: "sm" }),
568
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Field, { invalid: modalIconPalette === "hades-dark", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
719
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ProgressBar, { now, size: "sm" }),
720
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Field, { invalid: modalIconPalette === "hades-dark", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
569
721
  FieldMessage,
570
722
  {
571
- className: (0, import_css7.css)({
723
+ className: (0, import_css8.css)({
572
724
  color: "page.text.100"
573
725
  }),
574
726
  id: `help:${file}`,
575
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(MatchFileStatusText, { status, now })
727
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(MatchFileStatusText, { status, now })
576
728
  }
577
729
  ) })
578
730
  ]
579
731
  }
580
732
  ),
581
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
733
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
582
734
  IconButton,
583
735
  {
584
736
  ariaLabel: actionLabel,
585
737
  onClick: handleClick,
586
738
  palette,
587
739
  size: "sm",
588
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(MatchStatusAction, { status })
740
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(MatchStatusAction, { status })
589
741
  }
590
742
  )
591
743
  ]
@@ -601,11 +753,11 @@ function MatchFileStatusIcon(props) {
601
753
  switch (props.status) {
602
754
  case "todo" /* TODO */:
603
755
  case "processing" /* PROCESSING */:
604
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(FileUploaderIcon, { size: props.size });
756
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(FileUploaderIcon, { size: props.size });
605
757
  case "done" /* DONE */:
606
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(DoneIcon, { size: props.size });
758
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(DoneIcon, { size: props.size });
607
759
  case "error" /* ERROR */:
608
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(InvalidIcon, { size: props.size });
760
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(InvalidIcon, { size: props.size });
609
761
  default:
610
762
  throw new Error("Unknown status");
611
763
  }
@@ -629,11 +781,11 @@ function MatchStatusAction(props) {
629
781
  switch (props.status) {
630
782
  case "todo" /* TODO */:
631
783
  case "processing" /* PROCESSING */:
632
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(CloseIcon, {});
784
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(CloseIcon, {});
633
785
  case "error" /* ERROR */:
634
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(RedoIcon, {});
786
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(RedoIcon, {});
635
787
  case "done" /* DONE */:
636
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(TrashIcon, {});
788
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(TrashIcon, {});
637
789
  default:
638
790
  throw new Error("Invalid status");
639
791
  }
@@ -679,55 +831,55 @@ function getModalIconPalette(status) {
679
831
  }
680
832
 
681
833
  // src/components/FileUploader.tsx
682
- var import_css8 = require("@cerberus/styled-system/css");
683
- var import_patterns4 = require("@cerberus/styled-system/patterns");
834
+ var import_css9 = require("@cerberus/styled-system/css");
835
+ var import_patterns5 = require("@cerberus/styled-system/patterns");
684
836
  var import_recipes8 = require("@cerberus/styled-system/recipes");
685
- var import_jsx_runtime13 = require("react/jsx-runtime");
837
+ var import_jsx_runtime14 = require("react/jsx-runtime");
686
838
  function FileUploader(props) {
687
839
  var _a;
688
840
  const styles = (0, import_recipes8.fileUploader)();
689
841
  const Icon = $cerberusIcons.fileUploader;
690
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
842
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
691
843
  "div",
692
844
  {
693
- className: (0, import_css8.cx)(
694
- (0, import_patterns4.vstack)({
845
+ className: (0, import_css9.cx)(
846
+ (0, import_patterns5.vstack)({
695
847
  justify: "center"
696
848
  }),
697
849
  styles.container
698
850
  ),
699
851
  children: [
700
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
852
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
701
853
  Avatar,
702
854
  {
703
855
  gradient: "charon-light",
704
856
  ariaLabel: "",
705
- icon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, {}),
857
+ icon: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, {}),
706
858
  size: "md",
707
859
  src: ""
708
860
  }
709
861
  ) }),
710
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
862
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
711
863
  "label",
712
864
  {
713
- className: (0, import_css8.cx)(
714
- (0, import_patterns4.vstack)({
865
+ className: (0, import_css9.cx)(
866
+ (0, import_patterns5.vstack)({
715
867
  justify: "center"
716
868
  }),
717
869
  styles.label
718
870
  ),
719
871
  htmlFor: props.name,
720
872
  children: [
721
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Show, { when: Boolean(props.heading), children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { className: styles.heading, children: props.heading }) }),
873
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Show, { when: Boolean(props.heading), children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { className: styles.heading, children: props.heading }) }),
722
874
  "Import ",
723
875
  (_a = props.accept) == null ? void 0 : _a.replace(",", ", "),
724
876
  " files",
725
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { className: styles.description, children: "Click to select files" }),
726
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
877
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { className: styles.description, children: "Click to select files" }),
878
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
727
879
  "input",
728
880
  {
729
881
  ...props,
730
- className: (0, import_css8.cx)(props.className, styles.input),
882
+ className: (0, import_css9.cx)(props.className, styles.input),
731
883
  type: "file"
732
884
  }
733
885
  )
@@ -741,17 +893,17 @@ function FileUploader(props) {
741
893
 
742
894
  // src/components/Input.tsx
743
895
  var import_recipes9 = require("@cerberus/styled-system/recipes");
744
- var import_css9 = require("@cerberus/styled-system/css");
745
- var import_jsx_runtime14 = require("react/jsx-runtime");
896
+ var import_css10 = require("@cerberus/styled-system/css");
897
+ var import_jsx_runtime15 = require("react/jsx-runtime");
746
898
  function Input(props) {
747
899
  const { describedBy, size, startIcon, endIcon, ...nativeProps } = props;
748
900
  const inputStyles = (0, import_recipes9.input)({ size });
749
901
  const { invalid, ...fieldStates } = useFieldContext();
750
902
  const hasEndIcon = Boolean(endIcon);
751
903
  const { invalid: InvalidIcon } = $cerberusIcons;
752
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: inputStyles.root, children: [
753
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Show, { when: Boolean(startIcon), children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: inputStyles.startIcon, children: startIcon }) }),
754
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
904
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: inputStyles.root, children: [
905
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Show, { when: Boolean(startIcon), children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: inputStyles.startIcon, children: startIcon }) }),
906
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
755
907
  "input",
756
908
  {
757
909
  ...nativeProps,
@@ -759,42 +911,42 @@ function Input(props) {
759
911
  ...describedBy && { "aria-describedby": describedBy },
760
912
  ...invalid && { "aria-invalid": true },
761
913
  "data-start-icon": Boolean(startIcon),
762
- className: (0, import_css9.cx)("peer", nativeProps.className, inputStyles.input)
914
+ className: (0, import_css10.cx)("peer", nativeProps.className, inputStyles.input)
763
915
  }
764
916
  ),
765
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Show, { when: invalid, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(InvalidIcon, { className: inputStyles.icon }) }),
766
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Show, { when: hasEndIcon && !invalid, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: inputStyles.icon, children: endIcon }) })
917
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Show, { when: invalid, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(InvalidIcon, { className: inputStyles.icon }) }),
918
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Show, { when: hasEndIcon && !invalid, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: inputStyles.icon, children: endIcon }) })
767
919
  ] });
768
920
  }
769
921
 
770
922
  // src/components/Label.tsx
771
923
  var import_recipes10 = require("@cerberus/styled-system/recipes");
772
- var import_css10 = require("@cerberus/styled-system/css");
773
- var import_patterns5 = require("@cerberus/styled-system/patterns");
774
- var import_jsx_runtime15 = require("react/jsx-runtime");
924
+ var import_css11 = require("@cerberus/styled-system/css");
925
+ var import_patterns6 = require("@cerberus/styled-system/patterns");
926
+ var import_jsx_runtime16 = require("react/jsx-runtime");
775
927
  function Label(props) {
776
928
  const { hidden, size, ...nativeProps } = props;
777
929
  const { required, disabled } = useFieldContext();
778
930
  const usage = hidden ? "hidden" : "visible";
779
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
931
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
780
932
  "label",
781
933
  {
782
934
  ...nativeProps,
783
935
  ...disabled && { "data-disabled": true },
784
- className: (0, import_css10.cx)(
936
+ className: (0, import_css11.cx)(
785
937
  nativeProps.className,
786
938
  (0, import_recipes10.label)({ size, usage }),
787
- (0, import_patterns5.hstack)({
939
+ (0, import_patterns6.hstack)({
788
940
  justify: "space-between",
789
941
  w: "full"
790
942
  })
791
943
  ),
792
944
  children: [
793
945
  props.children,
794
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Show, { when: required, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
946
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Show, { when: required, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
795
947
  "span",
796
948
  {
797
- className: (0, import_css10.css)({
949
+ className: (0, import_css11.css)({
798
950
  color: "inherit",
799
951
  fontSize: "inherit"
800
952
  }),
@@ -807,16 +959,16 @@ function Label(props) {
807
959
  }
808
960
 
809
961
  // src/components/Modal.tsx
810
- var import_css11 = require("@cerberus/styled-system/css");
962
+ var import_css12 = require("@cerberus/styled-system/css");
811
963
  var import_recipes11 = require("@cerberus/styled-system/recipes");
812
964
  var import_react6 = require("react");
813
- var import_jsx_runtime16 = require("react/jsx-runtime");
965
+ var import_jsx_runtime17 = require("react/jsx-runtime");
814
966
  function ModalEl(props, ref) {
815
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
967
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
816
968
  "dialog",
817
969
  {
818
970
  ...props,
819
- className: (0, import_css11.cx)(props.className, (0, import_recipes11.modal)().dialog),
971
+ className: (0, import_css12.cx)(props.className, (0, import_recipes11.modal)().dialog),
820
972
  ref
821
973
  }
822
974
  );
@@ -824,17 +976,17 @@ function ModalEl(props, ref) {
824
976
  var Modal = (0, import_react6.forwardRef)(ModalEl);
825
977
 
826
978
  // src/components/ModalHeader.tsx
827
- var import_css12 = require("@cerberus/styled-system/css");
828
- var import_patterns6 = require("@cerberus/styled-system/patterns");
829
- var import_jsx_runtime17 = require("react/jsx-runtime");
979
+ var import_css13 = require("@cerberus/styled-system/css");
980
+ var import_patterns7 = require("@cerberus/styled-system/patterns");
981
+ var import_jsx_runtime18 = require("react/jsx-runtime");
830
982
  function ModalHeader(props) {
831
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
983
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
832
984
  "div",
833
985
  {
834
986
  ...props,
835
- className: (0, import_css12.cx)(
987
+ className: (0, import_css13.cx)(
836
988
  props.className,
837
- (0, import_patterns6.vstack)({
989
+ (0, import_patterns7.vstack)({
838
990
  alignItems: "flex-start",
839
991
  gap: "4",
840
992
  mb: "8"
@@ -845,24 +997,24 @@ function ModalHeader(props) {
845
997
  }
846
998
 
847
999
  // src/components/ModalHeading.tsx
848
- var import_css13 = require("@cerberus/styled-system/css");
1000
+ var import_css14 = require("@cerberus/styled-system/css");
849
1001
  var import_recipes12 = require("@cerberus/styled-system/recipes");
850
- var import_jsx_runtime18 = require("react/jsx-runtime");
1002
+ var import_jsx_runtime19 = require("react/jsx-runtime");
851
1003
  function ModalHeading(props) {
852
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { ...props, className: (0, import_css13.cx)(props.className, (0, import_recipes12.modal)().heading) });
1004
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { ...props, className: (0, import_css14.cx)(props.className, (0, import_recipes12.modal)().heading) });
853
1005
  }
854
1006
 
855
1007
  // src/components/ModalDescription.tsx
856
- var import_css14 = require("@cerberus/styled-system/css");
1008
+ var import_css15 = require("@cerberus/styled-system/css");
857
1009
  var import_recipes13 = require("@cerberus/styled-system/recipes");
858
- var import_jsx_runtime19 = require("react/jsx-runtime");
1010
+ var import_jsx_runtime20 = require("react/jsx-runtime");
859
1011
  function ModalDescription(props) {
860
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { ...props, className: (0, import_css14.cx)(props.className, (0, import_recipes13.modal)().description) });
1012
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { ...props, className: (0, import_css15.cx)(props.className, (0, import_recipes13.modal)().description) });
861
1013
  }
862
1014
 
863
1015
  // src/components/NavMenuTrigger.tsx
864
1016
  var import_react8 = require("react");
865
- var import_css16 = require("@cerberus/styled-system/css");
1017
+ var import_css17 = require("@cerberus/styled-system/css");
866
1018
  var import_recipes14 = require("@cerberus/styled-system/recipes");
867
1019
 
868
1020
  // src/aria-helpers/nav-menu.aria.ts
@@ -874,9 +1026,9 @@ function createNavTriggerProps(values) {
874
1026
  }
875
1027
 
876
1028
  // src/context/navMenu.tsx
877
- var import_css15 = require("@cerberus/styled-system/css");
1029
+ var import_css16 = require("@cerberus/styled-system/css");
878
1030
  var import_react7 = require("react");
879
- var import_jsx_runtime20 = require("react/jsx-runtime");
1031
+ var import_jsx_runtime21 = require("react/jsx-runtime");
880
1032
  var NavMenuContext = (0, import_react7.createContext)(null);
881
1033
  function NavMenu(props) {
882
1034
  const triggerRef = (0, import_react7.useRef)(null);
@@ -894,10 +1046,10 @@ function NavMenu(props) {
894
1046
  }),
895
1047
  [expanded, handleToggle]
896
1048
  );
897
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(NavMenuContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1049
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(NavMenuContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
898
1050
  "nav",
899
1051
  {
900
- className: (0, import_css15.css)({
1052
+ className: (0, import_css16.css)({
901
1053
  position: "relative"
902
1054
  }),
903
1055
  children: props.children
@@ -913,7 +1065,7 @@ function useNavMenuContext() {
913
1065
  }
914
1066
 
915
1067
  // src/components/NavMenuTrigger.tsx
916
- var import_jsx_runtime21 = require("react/jsx-runtime");
1068
+ var import_jsx_runtime22 = require("react/jsx-runtime");
917
1069
  function NavMenuTrigger(props) {
918
1070
  const {
919
1071
  as,
@@ -939,16 +1091,16 @@ function NavMenuTrigger(props) {
939
1091
  },
940
1092
  [onClick, onToggle]
941
1093
  );
942
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1094
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
943
1095
  Show,
944
1096
  {
945
1097
  when: hasAs,
946
- fallback: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1098
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
947
1099
  "button",
948
1100
  {
949
1101
  ...nativeProps,
950
1102
  ...ariaProps,
951
- className: (0, import_css16.cx)(
1103
+ className: (0, import_css17.cx)(
952
1104
  nativeProps.className,
953
1105
  (0, import_recipes14.button)({
954
1106
  palette,
@@ -961,7 +1113,7 @@ function NavMenuTrigger(props) {
961
1113
  children: props.children
962
1114
  }
963
1115
  ),
964
- children: hasAs && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1116
+ children: hasAs && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
965
1117
  AsSub,
966
1118
  {
967
1119
  ...nativeProps,
@@ -976,9 +1128,9 @@ function NavMenuTrigger(props) {
976
1128
 
977
1129
  // src/components/NavMenuList.tsx
978
1130
  var import_react9 = require("react");
979
- var import_css17 = require("@cerberus/styled-system/css");
980
- var import_patterns7 = require("@cerberus/styled-system/patterns");
981
- var import_jsx_runtime22 = require("react/jsx-runtime");
1131
+ var import_css18 = require("@cerberus/styled-system/css");
1132
+ var import_patterns8 = require("@cerberus/styled-system/patterns");
1133
+ var import_jsx_runtime23 = require("react/jsx-runtime");
982
1134
  function getPosition(position) {
983
1135
  const defaultPositions = {
984
1136
  left: "auto",
@@ -999,7 +1151,7 @@ function getPosition(position) {
999
1151
  return defaultPositions;
1000
1152
  }
1001
1153
  }
1002
- var navListStyles = (0, import_patterns7.vstack)({
1154
+ var navListStyles = (0, import_patterns8.vstack)({
1003
1155
  alignItems: "flex-start",
1004
1156
  bgColor: "page.surface.100",
1005
1157
  boxShadow: "lg",
@@ -1036,12 +1188,12 @@ function NavMenuList(props) {
1036
1188
  () => getPosition(position ?? "bottom"),
1037
1189
  [position]
1038
1190
  );
1039
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Show, { when: expanded, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1191
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Show, { when: expanded, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1040
1192
  "ul",
1041
1193
  {
1042
1194
  ...nativeProps,
1043
1195
  "data-position": position ?? "bottom",
1044
- className: (0, import_css17.cx)(nativeProps.className, navListStyles),
1196
+ className: (0, import_css18.cx)(nativeProps.className, navListStyles),
1045
1197
  ref: menuRef,
1046
1198
  style: locationStyles
1047
1199
  }
@@ -1049,29 +1201,29 @@ function NavMenuList(props) {
1049
1201
  }
1050
1202
 
1051
1203
  // src/components/NavMenuLink.tsx
1052
- var import_css18 = require("@cerberus/styled-system/css");
1053
- var import_jsx_runtime23 = require("react/jsx-runtime");
1204
+ var import_css19 = require("@cerberus/styled-system/css");
1205
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1054
1206
  function NavMenuLink(props) {
1055
1207
  const { as, ...nativeProps } = props;
1056
1208
  const hasAs = Boolean(as);
1057
1209
  const AsSub = as;
1058
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1210
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1059
1211
  "li",
1060
1212
  {
1061
- className: (0, import_css18.css)({
1213
+ className: (0, import_css19.css)({
1062
1214
  w: "full"
1063
1215
  }),
1064
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1216
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1065
1217
  Show,
1066
1218
  {
1067
1219
  when: hasAs,
1068
- fallback: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1220
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1069
1221
  "a",
1070
1222
  {
1071
1223
  ...nativeProps,
1072
- className: (0, import_css18.cx)(
1224
+ className: (0, import_css19.cx)(
1073
1225
  nativeProps.className,
1074
- (0, import_css18.css)({
1226
+ (0, import_css19.css)({
1075
1227
  color: "action.navigation.initial",
1076
1228
  textStyle: "link",
1077
1229
  _hover: {
@@ -1081,7 +1233,7 @@ function NavMenuLink(props) {
1081
1233
  )
1082
1234
  }
1083
1235
  ),
1084
- children: hasAs && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(AsSub, { ...nativeProps })
1236
+ children: hasAs && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(AsSub, { ...nativeProps })
1085
1237
  }
1086
1238
  )
1087
1239
  }
@@ -1089,8 +1241,8 @@ function NavMenuLink(props) {
1089
1241
  }
1090
1242
 
1091
1243
  // src/components/Notification.tsx
1092
- var import_css19 = require("@cerberus/styled-system/css");
1093
- var import_patterns8 = require("@cerberus/styled-system/patterns");
1244
+ var import_css20 = require("@cerberus/styled-system/css");
1245
+ var import_patterns9 = require("@cerberus/styled-system/patterns");
1094
1246
  var import_recipes15 = require("@cerberus/styled-system/recipes");
1095
1247
  var import_react10 = require("react");
1096
1248
  var import_icons2 = require("@cerberus/icons");
@@ -1122,25 +1274,25 @@ function trapFocus(modalRef) {
1122
1274
  }
1123
1275
 
1124
1276
  // src/components/Notification.tsx
1125
- var import_jsx_runtime24 = require("react/jsx-runtime");
1277
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1126
1278
  function MatchNotificationIcon(props) {
1127
1279
  const palette = props.palette || "info";
1128
1280
  const key = `${palette}Notification`;
1129
1281
  const Icon = $cerberusIcons[key];
1130
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, {});
1282
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Icon, {});
1131
1283
  }
1132
1284
  function Notification(props) {
1133
1285
  const { children, palette, onClose, ...nativeProps } = props;
1134
1286
  const ref = (0, import_react10.useRef)(null);
1135
1287
  const onKeyDown = trapFocus(ref);
1136
1288
  const styles = (0, import_recipes15.notification)({ palette });
1137
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1289
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1138
1290
  "dialog",
1139
1291
  {
1140
1292
  ...nativeProps,
1141
- className: (0, import_css19.cx)(
1293
+ className: (0, import_css20.cx)(
1142
1294
  nativeProps.className,
1143
- (0, import_patterns8.hstack)({
1295
+ (0, import_patterns9.hstack)({
1144
1296
  position: "relative",
1145
1297
  gap: "4"
1146
1298
  }),
@@ -1150,11 +1302,11 @@ function Notification(props) {
1150
1302
  ref,
1151
1303
  role: "alert",
1152
1304
  children: [
1153
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(MatchNotificationIcon, { palette }) }),
1154
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1305
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(MatchNotificationIcon, { palette }) }),
1306
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1155
1307
  "div",
1156
1308
  {
1157
- className: (0, import_patterns8.vstack)({
1309
+ className: (0, import_patterns9.vstack)({
1158
1310
  alignItems: "flex-start",
1159
1311
  gap: "0",
1160
1312
  py: "2"
@@ -1162,14 +1314,14 @@ function Notification(props) {
1162
1314
  children
1163
1315
  }
1164
1316
  ),
1165
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1317
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1166
1318
  "button",
1167
1319
  {
1168
1320
  "aria-label": "Close",
1169
1321
  className: styles.close,
1170
1322
  onClick: onClose,
1171
1323
  value: props.id,
1172
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons2.Close, {})
1324
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_icons2.Close, {})
1173
1325
  }
1174
1326
  )
1175
1327
  ]
@@ -1178,26 +1330,26 @@ function Notification(props) {
1178
1330
  }
1179
1331
 
1180
1332
  // src/components/NotificationHeading.tsx
1181
- var import_css20 = require("@cerberus/styled-system/css");
1333
+ var import_css21 = require("@cerberus/styled-system/css");
1182
1334
  var import_recipes16 = require("@cerberus/styled-system/recipes");
1183
- var import_jsx_runtime25 = require("react/jsx-runtime");
1335
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1184
1336
  function NotificationHeading(props) {
1185
1337
  const { palette, ...nativeProps } = props;
1186
1338
  const styles = (0, import_recipes16.notification)({ palette });
1187
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: (0, import_css20.cx)(nativeProps.className, styles.heading), ...nativeProps });
1339
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: (0, import_css21.cx)(nativeProps.className, styles.heading), ...nativeProps });
1188
1340
  }
1189
1341
 
1190
1342
  // src/components/NotificationDescription.tsx
1191
- var import_css21 = require("@cerberus/styled-system/css");
1343
+ var import_css22 = require("@cerberus/styled-system/css");
1192
1344
  var import_recipes17 = require("@cerberus/styled-system/recipes");
1193
- var import_jsx_runtime26 = require("react/jsx-runtime");
1345
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1194
1346
  function NotificationDescription(props) {
1195
1347
  const { palette, ...nativeProps } = props;
1196
1348
  const styles = (0, import_recipes17.notification)({ palette });
1197
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1349
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1198
1350
  "p",
1199
1351
  {
1200
- className: (0, import_css21.cx)(nativeProps.className, styles.description),
1352
+ className: (0, import_css22.cx)(nativeProps.className, styles.description),
1201
1353
  ...nativeProps
1202
1354
  }
1203
1355
  );
@@ -1211,22 +1363,22 @@ function Portal(props) {
1211
1363
  }
1212
1364
 
1213
1365
  // src/components/Radio.tsx
1214
- var import_css22 = require("@cerberus/styled-system/css");
1215
- var import_patterns9 = require("@cerberus/styled-system/patterns");
1366
+ var import_css23 = require("@cerberus/styled-system/css");
1367
+ var import_patterns10 = require("@cerberus/styled-system/patterns");
1216
1368
  var import_recipes18 = require("@cerberus/styled-system/recipes");
1217
- var import_jsx_runtime27 = require("react/jsx-runtime");
1369
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1218
1370
  function Radio(props) {
1219
1371
  const { children, size, ...nativeProps } = props;
1220
1372
  const { invalid, ...state } = useFieldContext();
1221
1373
  const styles = (0, import_recipes18.radio)({ size });
1222
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: (0, import_css22.cx)("group", (0, import_patterns9.hstack)(), styles.root), tabIndex: 0, children: [
1223
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1374
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: (0, import_css23.cx)("group", (0, import_patterns10.hstack)(), styles.root), tabIndex: 0, children: [
1375
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1224
1376
  "input",
1225
1377
  {
1226
1378
  ...nativeProps,
1227
1379
  ...state,
1228
1380
  ...invalid && { "aria-invalid": true },
1229
- className: (0, import_css22.cx)(nativeProps.className, styles.input),
1381
+ className: (0, import_css23.cx)(nativeProps.className, styles.input),
1230
1382
  tabIndex: -1,
1231
1383
  type: "radio"
1232
1384
  }
@@ -1236,10 +1388,10 @@ function Radio(props) {
1236
1388
  }
1237
1389
 
1238
1390
  // src/components/Select.tsx
1239
- var import_css23 = require("@cerberus/styled-system/css");
1240
- var import_patterns10 = require("@cerberus/styled-system/patterns");
1391
+ var import_css24 = require("@cerberus/styled-system/css");
1392
+ var import_patterns11 = require("@cerberus/styled-system/patterns");
1241
1393
  var import_recipes19 = require("@cerberus/styled-system/recipes");
1242
- var import_jsx_runtime28 = require("react/jsx-runtime");
1394
+ var import_jsx_runtime29 = require("react/jsx-runtime");
1243
1395
  function Select(props) {
1244
1396
  const { describedBy, size, ...nativeProps } = props;
1245
1397
  const { invalid, ...fieldStates } = useFieldContext();
@@ -1247,8 +1399,8 @@ function Select(props) {
1247
1399
  const styles = (0, import_recipes19.select)({
1248
1400
  size
1249
1401
  });
1250
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: styles.root, children: [
1251
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1402
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: styles.root, children: [
1403
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1252
1404
  "select",
1253
1405
  {
1254
1406
  ...nativeProps,
@@ -1258,38 +1410,38 @@ function Select(props) {
1258
1410
  className: styles.input
1259
1411
  }
1260
1412
  ),
1261
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1413
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
1262
1414
  "span",
1263
1415
  {
1264
- className: (0, import_css23.cx)(
1416
+ className: (0, import_css24.cx)(
1265
1417
  styles.iconStack,
1266
- (0, import_patterns10.hstack)({
1418
+ (0, import_patterns11.hstack)({
1267
1419
  gap: "2"
1268
1420
  })
1269
1421
  ),
1270
1422
  children: [
1271
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Show, { when: invalid, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1423
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Show, { when: invalid, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1272
1424
  "span",
1273
1425
  {
1274
1426
  ...invalid && { "data-invalid": true },
1275
1427
  className: styles.stateIcon,
1276
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(InvalidIcon, {})
1428
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(InvalidIcon, {})
1277
1429
  }
1278
1430
  ) }),
1279
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: styles.arrowIcon, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SelectArrow, {}) })
1431
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: styles.arrowIcon, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SelectArrow, {}) })
1280
1432
  ]
1281
1433
  }
1282
1434
  )
1283
1435
  ] });
1284
1436
  }
1285
1437
  function Option(props) {
1286
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("option", { ...props });
1438
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("option", { ...props });
1287
1439
  }
1288
1440
 
1289
1441
  // src/components/Spinner.tsx
1290
- var import_jsx_runtime29 = require("react/jsx-runtime");
1442
+ var import_jsx_runtime30 = require("react/jsx-runtime");
1291
1443
  function Spinner(props) {
1292
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1444
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1293
1445
  "svg",
1294
1446
  {
1295
1447
  "aria-busy": "true",
@@ -1299,7 +1451,7 @@ function Spinner(props) {
1299
1451
  width: props.size,
1300
1452
  viewBox: "0 0 24 24",
1301
1453
  ...props,
1302
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
1454
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1303
1455
  "g",
1304
1456
  {
1305
1457
  fill: "none",
@@ -1308,14 +1460,14 @@ function Spinner(props) {
1308
1460
  strokeLinejoin: "round",
1309
1461
  strokeWidth: 2,
1310
1462
  children: [
1311
- /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
1463
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1312
1464
  "path",
1313
1465
  {
1314
1466
  strokeDasharray: 16,
1315
1467
  strokeDashoffset: 16,
1316
1468
  d: "M12 3c4.97 0 9 4.03 9 9",
1317
1469
  children: [
1318
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1470
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1319
1471
  "animate",
1320
1472
  {
1321
1473
  fill: "freeze",
@@ -1324,7 +1476,7 @@ function Spinner(props) {
1324
1476
  values: "16;0"
1325
1477
  }
1326
1478
  ),
1327
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1479
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1328
1480
  "animateTransform",
1329
1481
  {
1330
1482
  attributeName: "transform",
@@ -1337,14 +1489,14 @@ function Spinner(props) {
1337
1489
  ]
1338
1490
  }
1339
1491
  ),
1340
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1492
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1341
1493
  "path",
1342
1494
  {
1343
1495
  strokeDasharray: 64,
1344
1496
  strokeDashoffset: 64,
1345
1497
  strokeOpacity: 0.3,
1346
1498
  d: "M12 3c4.97 0 9 4.03 9 9c0 4.97 -4.03 9 -9 9c-4.97 0 -9 -4.03 -9 -9c0 -4.97 4.03 -9 9 -9Z",
1347
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1499
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1348
1500
  "animate",
1349
1501
  {
1350
1502
  fill: "freeze",
@@ -1368,7 +1520,7 @@ var import_react13 = require("react");
1368
1520
  // src/context/tabs.tsx
1369
1521
  var import_recipes20 = require("@cerberus/styled-system/recipes");
1370
1522
  var import_react11 = require("react");
1371
- var import_jsx_runtime30 = require("react/jsx-runtime");
1523
+ var import_jsx_runtime31 = require("react/jsx-runtime");
1372
1524
  var TabsContext = (0, import_react11.createContext)(null);
1373
1525
  function Tabs(props) {
1374
1526
  const { cache, active, id, palette } = props;
@@ -1400,7 +1552,7 @@ function Tabs(props) {
1400
1552
  window.localStorage.setItem(uuid, activeTab);
1401
1553
  }
1402
1554
  }, [activeTab, cache]);
1403
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(TabsContext.Provider, { value, children: props.children });
1555
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(TabsContext.Provider, { value, children: props.children });
1404
1556
  }
1405
1557
  function useTabsContext() {
1406
1558
  const context = (0, import_react11.useContext)(TabsContext);
@@ -1411,7 +1563,7 @@ function useTabsContext() {
1411
1563
  }
1412
1564
 
1413
1565
  // src/components/Tab.tsx
1414
- var import_css24 = require("@cerberus/styled-system/css");
1566
+ var import_css25 = require("@cerberus/styled-system/css");
1415
1567
 
1416
1568
  // src/aria-helpers/tabs.aria.ts
1417
1569
  var import_react12 = require("react");
@@ -1470,7 +1622,7 @@ function useTabsKeyboardNavigation() {
1470
1622
  }
1471
1623
 
1472
1624
  // src/components/Tab.tsx
1473
- var import_jsx_runtime31 = require("react/jsx-runtime");
1625
+ var import_jsx_runtime32 = require("react/jsx-runtime");
1474
1626
  function Tab(props) {
1475
1627
  const { value, ...nativeProps } = props;
1476
1628
  const { active, onTabUpdate, styles } = useTabsContext();
@@ -1482,7 +1634,7 @@ function Tab(props) {
1482
1634
  (_a = props.onClick) == null ? void 0 : _a.call(props, e);
1483
1635
  startTransition(() => onTabUpdate(e.currentTarget.value));
1484
1636
  }
1485
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1637
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1486
1638
  "button",
1487
1639
  {
1488
1640
  ...nativeProps,
@@ -1491,7 +1643,7 @@ function Tab(props) {
1491
1643
  "aria-busy": isPending,
1492
1644
  "aria-selected": isActive,
1493
1645
  id: value,
1494
- className: (0, import_css24.cx)(nativeProps.className, styles.tab),
1646
+ className: (0, import_css25.cx)(nativeProps.className, styles.tab),
1495
1647
  onClick: handleClick,
1496
1648
  role: "tab",
1497
1649
  ref,
@@ -1501,20 +1653,20 @@ function Tab(props) {
1501
1653
  }
1502
1654
 
1503
1655
  // src/components/TabList.tsx
1504
- var import_css25 = require("@cerberus/styled-system/css");
1505
- var import_patterns11 = require("@cerberus/styled-system/patterns");
1506
- var import_jsx_runtime32 = require("react/jsx-runtime");
1656
+ var import_css26 = require("@cerberus/styled-system/css");
1657
+ var import_patterns12 = require("@cerberus/styled-system/patterns");
1658
+ var import_jsx_runtime33 = require("react/jsx-runtime");
1507
1659
  function TabList(props) {
1508
1660
  const { description, ...nativeProps } = props;
1509
1661
  const { id, styles } = useTabsContext();
1510
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1662
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1511
1663
  "div",
1512
1664
  {
1513
1665
  ...nativeProps,
1514
1666
  "aria-describedby": description,
1515
- className: (0, import_css25.cx)(
1667
+ className: (0, import_css26.cx)(
1516
1668
  nativeProps.className,
1517
- (0, import_patterns11.hstack)({
1669
+ (0, import_patterns12.hstack)({
1518
1670
  gap: "0"
1519
1671
  }),
1520
1672
  styles.tabList
@@ -1525,20 +1677,20 @@ function TabList(props) {
1525
1677
  }
1526
1678
 
1527
1679
  // src/components/TabPanel.tsx
1528
- var import_css26 = require("@cerberus/styled-system/css");
1680
+ var import_css27 = require("@cerberus/styled-system/css");
1529
1681
  var import_react14 = require("react");
1530
- var import_jsx_runtime33 = require("react/jsx-runtime");
1682
+ var import_jsx_runtime34 = require("react/jsx-runtime");
1531
1683
  function TabPanel(props) {
1532
1684
  const { tab, ...nativeProps } = props;
1533
1685
  const { active, styles } = useTabsContext();
1534
1686
  const isActive = (0, import_react14.useMemo)(() => active === tab, [active, tab]);
1535
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Show, { when: isActive, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1687
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Show, { when: isActive, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1536
1688
  "div",
1537
1689
  {
1538
1690
  ...nativeProps,
1539
1691
  ...isActive && { tabIndex: 0 },
1540
1692
  "aria-labelledby": tab,
1541
- className: (0, import_css26.cx)(nativeProps.className, styles.tabPanel),
1693
+ className: (0, import_css27.cx)(nativeProps.className, styles.tabPanel),
1542
1694
  id: `panel:${tab}`,
1543
1695
  role: "tabpanel"
1544
1696
  }
@@ -1546,60 +1698,60 @@ function TabPanel(props) {
1546
1698
  }
1547
1699
 
1548
1700
  // src/components/Table.tsx
1549
- var import_css27 = require("@cerberus/styled-system/css");
1701
+ var import_css28 = require("@cerberus/styled-system/css");
1550
1702
  var import_recipes21 = require("@cerberus/styled-system/recipes");
1551
- var import_jsx_runtime34 = require("react/jsx-runtime");
1703
+ var import_jsx_runtime35 = require("react/jsx-runtime");
1552
1704
  function Table(props) {
1553
1705
  const { caption, children, ...nativeProps } = props;
1554
1706
  const styles = (0, import_recipes21.table)();
1555
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: styles.container, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
1707
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: styles.container, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
1556
1708
  "table",
1557
1709
  {
1558
1710
  ...nativeProps,
1559
- className: (0, import_css27.cx)(nativeProps.className, styles.table),
1711
+ className: (0, import_css28.cx)(nativeProps.className, styles.table),
1560
1712
  children: [
1561
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("caption", { className: styles.caption, children: caption }),
1713
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("caption", { className: styles.caption, children: caption }),
1562
1714
  children
1563
1715
  ]
1564
1716
  }
1565
1717
  ) });
1566
1718
  }
1567
1719
  function Tr(props) {
1568
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("tr", { ...props });
1720
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("tr", { ...props });
1569
1721
  }
1570
1722
 
1571
1723
  // src/components/Thead.tsx
1572
- var import_css28 = require("@cerberus/styled-system/css");
1724
+ var import_css29 = require("@cerberus/styled-system/css");
1573
1725
  var import_recipes22 = require("@cerberus/styled-system/recipes");
1574
- var import_jsx_runtime35 = require("react/jsx-runtime");
1726
+ var import_jsx_runtime36 = require("react/jsx-runtime");
1575
1727
  function Thead(props) {
1576
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("thead", { ...props, className: (0, import_css28.cx)(props.className, (0, import_recipes22.thead)()) });
1728
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("thead", { ...props, className: (0, import_css29.cx)(props.className, (0, import_recipes22.thead)()) });
1577
1729
  }
1578
1730
 
1579
1731
  // src/components/Th.tsx
1580
- var import_css29 = require("@cerberus/styled-system/css");
1732
+ var import_css30 = require("@cerberus/styled-system/css");
1581
1733
  var import_recipes23 = require("@cerberus/styled-system/recipes");
1582
- var import_jsx_runtime36 = require("react/jsx-runtime");
1734
+ var import_jsx_runtime37 = require("react/jsx-runtime");
1583
1735
  function Th(props) {
1584
1736
  const { size, onClick, ...nativeProps } = props;
1585
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1737
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1586
1738
  Show,
1587
1739
  {
1588
1740
  when: Boolean(onClick),
1589
- fallback: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1741
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1590
1742
  "th",
1591
1743
  {
1592
1744
  ...nativeProps,
1593
- className: (0, import_css29.cx)(nativeProps.className, (0, import_recipes23.th)({ size }))
1745
+ className: (0, import_css30.cx)(nativeProps.className, (0, import_recipes23.th)({ size }))
1594
1746
  }
1595
1747
  ),
1596
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("th", { ...nativeProps, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1748
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("th", { ...nativeProps, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1597
1749
  "button",
1598
1750
  {
1599
- className: (0, import_css29.cx)(
1751
+ className: (0, import_css30.cx)(
1600
1752
  nativeProps.className,
1601
1753
  (0, import_recipes23.th)({ size }),
1602
- (0, import_css29.css)({
1754
+ (0, import_css30.css)({
1603
1755
  alignItems: "center",
1604
1756
  display: "inline-flex",
1605
1757
  justifyContent: "space-between",
@@ -1616,16 +1768,16 @@ function Th(props) {
1616
1768
  }
1617
1769
 
1618
1770
  // src/components/Td.tsx
1619
- var import_css30 = require("@cerberus/styled-system/css");
1771
+ var import_css31 = require("@cerberus/styled-system/css");
1620
1772
  var import_recipes24 = require("@cerberus/styled-system/recipes");
1621
- var import_jsx_runtime37 = require("react/jsx-runtime");
1773
+ var import_jsx_runtime38 = require("react/jsx-runtime");
1622
1774
  function Td(props) {
1623
1775
  const { size, ...nativeProps } = props;
1624
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1776
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1625
1777
  "td",
1626
1778
  {
1627
1779
  ...nativeProps,
1628
- className: (0, import_css30.cx)(
1780
+ className: (0, import_css31.cx)(
1629
1781
  nativeProps.className,
1630
1782
  (0, import_recipes24.td)({
1631
1783
  size
@@ -1637,15 +1789,15 @@ function Td(props) {
1637
1789
 
1638
1790
  // src/components/Tbody.tsx
1639
1791
  var import_recipes25 = require("@cerberus/styled-system/recipes");
1640
- var import_css31 = require("@cerberus/styled-system/css");
1641
- var import_jsx_runtime38 = require("react/jsx-runtime");
1792
+ var import_css32 = require("@cerberus/styled-system/css");
1793
+ var import_jsx_runtime39 = require("react/jsx-runtime");
1642
1794
  function Tbody(props) {
1643
1795
  const { decoration, ...nativeProps } = props;
1644
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1796
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1645
1797
  "tbody",
1646
1798
  {
1647
1799
  ...nativeProps,
1648
- className: (0, import_css31.cx)(
1800
+ className: (0, import_css32.cx)(
1649
1801
  nativeProps.className,
1650
1802
  (0, import_recipes25.tbody)({
1651
1803
  decoration
@@ -1657,20 +1809,20 @@ function Tbody(props) {
1657
1809
 
1658
1810
  // src/components/Tag.tsx
1659
1811
  var import_icons3 = require("@cerberus/icons");
1660
- var import_css32 = require("@cerberus/styled-system/css");
1812
+ var import_css33 = require("@cerberus/styled-system/css");
1661
1813
  var import_recipes26 = require("@cerberus/styled-system/recipes");
1662
- var import_jsx_runtime39 = require("react/jsx-runtime");
1814
+ var import_jsx_runtime40 = require("react/jsx-runtime");
1663
1815
  function Tag(props) {
1664
1816
  const { shape: initShape, gradient, onClick, usage, ...nativeProps } = props;
1665
1817
  const palette = (props == null ? void 0 : props.palette) ?? "page";
1666
1818
  const isClosable = Boolean(onClick);
1667
1819
  const shape = isClosable ? "pill" : initShape;
1668
1820
  const closableStyles = isClosable ? closableCss : "";
1669
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
1821
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
1670
1822
  "span",
1671
1823
  {
1672
1824
  ...nativeProps,
1673
- className: (0, import_css32.cx)(
1825
+ className: (0, import_css33.cx)(
1674
1826
  nativeProps.className,
1675
1827
  (0, import_recipes26.tag)({
1676
1828
  gradient,
@@ -1682,7 +1834,7 @@ function Tag(props) {
1682
1834
  ),
1683
1835
  children: [
1684
1836
  props.children,
1685
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Show, { when: isClosable, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1837
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Show, { when: isClosable, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1686
1838
  "button",
1687
1839
  {
1688
1840
  "aria-label": "Close",
@@ -1692,37 +1844,37 @@ function Tag(props) {
1692
1844
  size: "sm"
1693
1845
  }),
1694
1846
  onClick,
1695
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_icons3.Close, {})
1847
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons3.Close, {})
1696
1848
  }
1697
1849
  ) })
1698
1850
  ]
1699
1851
  }
1700
1852
  );
1701
1853
  }
1702
- var closableCss = (0, import_css32.css)({
1854
+ var closableCss = (0, import_css33.css)({
1703
1855
  bgColor: "action.bg.active",
1704
1856
  color: "action.text.initial",
1705
1857
  paddingInlineEnd: "0"
1706
1858
  });
1707
1859
 
1708
1860
  // src/components/Textarea.tsx
1709
- var import_css33 = require("@cerberus/styled-system/css");
1861
+ var import_css34 = require("@cerberus/styled-system/css");
1710
1862
  var import_recipes27 = require("@cerberus/styled-system/recipes");
1711
- var import_jsx_runtime40 = require("react/jsx-runtime");
1863
+ var import_jsx_runtime41 = require("react/jsx-runtime");
1712
1864
  function Textarea(props) {
1713
1865
  const { describedBy, ...nativeProps } = props;
1714
1866
  const { invalid, ...fieldState } = useFieldContext();
1715
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1867
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1716
1868
  "textarea",
1717
1869
  {
1718
1870
  ...nativeProps,
1719
1871
  ...fieldState,
1720
1872
  ...describedBy && { "aria-describedby": describedBy },
1721
1873
  ...invalid && { "aria-invalid": true },
1722
- className: (0, import_css33.cx)(
1874
+ className: (0, import_css34.cx)(
1723
1875
  props.className,
1724
1876
  (0, import_recipes27.input)().input,
1725
- (0, import_css33.css)({
1877
+ (0, import_css34.css)({
1726
1878
  pxi: "2",
1727
1879
  py: "2",
1728
1880
  resize: "vertical"
@@ -1734,43 +1886,43 @@ function Textarea(props) {
1734
1886
  }
1735
1887
 
1736
1888
  // src/components/Toggle.tsx
1737
- var import_css34 = require("@cerberus/styled-system/css");
1738
- var import_patterns12 = require("@cerberus/styled-system/patterns");
1889
+ var import_css35 = require("@cerberus/styled-system/css");
1890
+ var import_patterns13 = require("@cerberus/styled-system/patterns");
1739
1891
  var import_recipes28 = require("@cerberus/styled-system/recipes");
1740
- var import_jsx_runtime41 = require("react/jsx-runtime");
1892
+ var import_jsx_runtime42 = require("react/jsx-runtime");
1741
1893
  function Toggle(props) {
1742
1894
  const { size, describedBy, ...nativeProps } = props;
1743
1895
  const styles = (0, import_recipes28.toggle)({ size });
1744
1896
  const { invalid, ...state } = useFieldContext();
1745
1897
  const Icon = $cerberusIcons.toggleChecked;
1746
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
1898
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
1747
1899
  "span",
1748
1900
  {
1749
- className: (0, import_css34.cx)("group", styles.track, (0, import_patterns12.hstack)()),
1901
+ className: (0, import_css35.cx)("group", styles.track, (0, import_patterns13.hstack)()),
1750
1902
  "data-checked": props.checked || props.defaultChecked,
1751
1903
  children: [
1752
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1904
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1753
1905
  "input",
1754
1906
  {
1755
1907
  ...nativeProps,
1756
1908
  ...state,
1757
1909
  ...describedBy && { "aria-describedby": describedBy },
1758
1910
  ...invalid && { "aria-invalid": true },
1759
- className: (0, import_css34.cx)("peer", styles.input),
1911
+ className: (0, import_css35.cx)("peer", styles.input),
1760
1912
  role: "switch",
1761
1913
  type: "checkbox"
1762
1914
  }
1763
1915
  ),
1764
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
1916
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1765
1917
  "span",
1766
1918
  {
1767
- className: (0, import_css34.cx)(
1919
+ className: (0, import_css35.cx)(
1768
1920
  styles.thumb,
1769
- (0, import_patterns12.vstack)({
1921
+ (0, import_patterns13.vstack)({
1770
1922
  justify: "center"
1771
1923
  })
1772
1924
  ),
1773
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, {})
1925
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, {})
1774
1926
  }
1775
1927
  )
1776
1928
  ]
@@ -1780,8 +1932,8 @@ function Toggle(props) {
1780
1932
 
1781
1933
  // src/context/confirm-modal.tsx
1782
1934
  var import_react16 = require("react");
1783
- var import_css35 = require("@cerberus/styled-system/css");
1784
- var import_patterns13 = require("@cerberus/styled-system/patterns");
1935
+ var import_css36 = require("@cerberus/styled-system/css");
1936
+ var import_patterns14 = require("@cerberus/styled-system/patterns");
1785
1937
 
1786
1938
  // src/hooks/useModal.ts
1787
1939
  var import_react15 = require("react");
@@ -1805,7 +1957,7 @@ function useModal() {
1805
1957
  }
1806
1958
 
1807
1959
  // src/context/confirm-modal.tsx
1808
- var import_jsx_runtime42 = require("react/jsx-runtime");
1960
+ var import_jsx_runtime43 = require("react/jsx-runtime");
1809
1961
  var ConfirmModalContext = (0, import_react16.createContext)(null);
1810
1962
  function ConfirmModal(props) {
1811
1963
  const { modalRef, show, close } = useModal();
@@ -1845,36 +1997,36 @@ function ConfirmModal(props) {
1845
1997
  }),
1846
1998
  [handleShow]
1847
1999
  );
1848
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(ConfirmModalContext.Provider, { value, children: [
2000
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(ConfirmModalContext.Provider, { value, children: [
1849
2001
  props.children,
1850
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Modal, { onKeyDown: focusTrap, ref: modalRef, children: [
1851
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(ModalHeader, { children: [
1852
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2002
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Modal, { onKeyDown: focusTrap, ref: modalRef, children: [
2003
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(ModalHeader, { children: [
2004
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1853
2005
  "div",
1854
2006
  {
1855
- className: (0, import_patterns13.hstack)({
2007
+ className: (0, import_patterns14.hstack)({
1856
2008
  justify: "center",
1857
2009
  w: "full"
1858
2010
  }),
1859
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2011
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1860
2012
  Show,
1861
2013
  {
1862
2014
  when: palette === "danger",
1863
- fallback: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2015
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1864
2016
  Avatar,
1865
2017
  {
1866
2018
  ariaLabel: "",
1867
2019
  gradient: "charon-light",
1868
- icon: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ConfirmIcon, { size: 24 }),
2020
+ icon: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ConfirmIcon, { size: 24 }),
1869
2021
  src: ""
1870
2022
  }
1871
2023
  ),
1872
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2024
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1873
2025
  Avatar,
1874
2026
  {
1875
2027
  ariaLabel: "",
1876
2028
  gradient: "hades-dark",
1877
- icon: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ConfirmIcon, { size: 24 }),
2029
+ icon: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ConfirmIcon, { size: 24 }),
1878
2030
  src: ""
1879
2031
  }
1880
2032
  )
@@ -1882,21 +2034,21 @@ function ConfirmModal(props) {
1882
2034
  )
1883
2035
  }
1884
2036
  ),
1885
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ModalHeading, { children: content == null ? void 0 : content.heading }),
1886
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ModalDescription, { children: content == null ? void 0 : content.description })
2037
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ModalHeading, { children: content == null ? void 0 : content.heading }),
2038
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ModalDescription, { children: content == null ? void 0 : content.description })
1887
2039
  ] }),
1888
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2040
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
1889
2041
  "div",
1890
2042
  {
1891
- className: (0, import_patterns13.hstack)({
2043
+ className: (0, import_patterns14.hstack)({
1892
2044
  gap: "4"
1893
2045
  }),
1894
2046
  children: [
1895
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2047
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1896
2048
  Button,
1897
2049
  {
1898
2050
  autoFocus: true,
1899
- className: (0, import_css35.css)({
2051
+ className: (0, import_css36.css)({
1900
2052
  w: "1/2"
1901
2053
  }),
1902
2054
  name: "confirm",
@@ -1906,10 +2058,10 @@ function ConfirmModal(props) {
1906
2058
  children: content == null ? void 0 : content.actionText
1907
2059
  }
1908
2060
  ),
1909
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2061
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1910
2062
  Button,
1911
2063
  {
1912
- className: (0, import_css35.css)({
2064
+ className: (0, import_css36.css)({
1913
2065
  w: "1/2"
1914
2066
  }),
1915
2067
  name: "cancel",
@@ -1937,10 +2089,10 @@ function useConfirmModal() {
1937
2089
 
1938
2090
  // src/context/notification-center.tsx
1939
2091
  var import_react17 = require("react");
1940
- var import_patterns14 = require("@cerberus/styled-system/patterns");
2092
+ var import_patterns15 = require("@cerberus/styled-system/patterns");
1941
2093
  var import_recipes29 = require("@cerberus/styled-system/recipes");
1942
- var import_css36 = require("@cerberus/styled-system/css");
1943
- var import_jsx_runtime43 = require("react/jsx-runtime");
2094
+ var import_css37 = require("@cerberus/styled-system/css");
2095
+ var import_jsx_runtime44 = require("react/jsx-runtime");
1944
2096
  var NotificationsContext = (0, import_react17.createContext)(null);
1945
2097
  function NotificationCenter(props) {
1946
2098
  const [activeNotifications, setActiveNotifications] = (0, import_react17.useState)([]);
@@ -1973,13 +2125,13 @@ function NotificationCenter(props) {
1973
2125
  }),
1974
2126
  [handleNotify]
1975
2127
  );
1976
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(NotificationsContext.Provider, { value, children: [
2128
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(NotificationsContext.Provider, { value, children: [
1977
2129
  props.children,
1978
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Show, { when: activeNotifications.length > 0, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Portal, { container: props.container, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: styles.center, children: [
1979
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Show, { when: activeNotifications.length >= 4, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2130
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Show, { when: activeNotifications.length > 0, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Portal, { container: props.container, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: styles.center, children: [
2131
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Show, { when: activeNotifications.length >= 4, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1980
2132
  Button,
1981
2133
  {
1982
- className: (0, import_css36.cx)(styles.closeAll, (0, import_patterns14.animateIn)()),
2134
+ className: (0, import_css37.cx)(styles.closeAll, (0, import_patterns15.animateIn)()),
1983
2135
  onClick: handleCloseAll,
1984
2136
  palette: "action",
1985
2137
  shape: "rounded",
@@ -1988,17 +2140,17 @@ function NotificationCenter(props) {
1988
2140
  children: "Close all"
1989
2141
  }
1990
2142
  ) }),
1991
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2143
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
1992
2144
  "div",
1993
2145
  {
1994
- className: (0, import_patterns14.vstack)({
2146
+ className: (0, import_patterns15.vstack)({
1995
2147
  alignItems: "flex-end",
1996
2148
  gap: "4"
1997
2149
  }),
1998
2150
  style: {
1999
2151
  alignItems: "flex-end"
2000
2152
  },
2001
- children: activeNotifications.map((option) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2153
+ children: activeNotifications.map((option) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2002
2154
  MatchNotification,
2003
2155
  {
2004
2156
  ...option,
@@ -2015,7 +2167,7 @@ function MatchNotification(props) {
2015
2167
  const { palette, id, onClose, heading, description } = props;
2016
2168
  switch (palette) {
2017
2169
  case "success":
2018
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
2170
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2019
2171
  Notification,
2020
2172
  {
2021
2173
  id,
@@ -2023,14 +2175,14 @@ function MatchNotification(props) {
2023
2175
  open: true,
2024
2176
  palette: "success",
2025
2177
  children: [
2026
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(NotificationHeading, { palette: "success", children: heading }),
2027
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(NotificationDescription, { palette: "success", children: description })
2178
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NotificationHeading, { palette: "success", children: heading }),
2179
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NotificationDescription, { palette: "success", children: description })
2028
2180
  ]
2029
2181
  },
2030
2182
  id
2031
2183
  );
2032
2184
  case "warning":
2033
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
2185
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2034
2186
  Notification,
2035
2187
  {
2036
2188
  id,
@@ -2038,22 +2190,22 @@ function MatchNotification(props) {
2038
2190
  open: true,
2039
2191
  palette: "warning",
2040
2192
  children: [
2041
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(NotificationHeading, { palette: "warning", children: heading }),
2042
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(NotificationDescription, { palette: "warning", children: description })
2193
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NotificationHeading, { palette: "warning", children: heading }),
2194
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NotificationDescription, { palette: "warning", children: description })
2043
2195
  ]
2044
2196
  },
2045
2197
  id
2046
2198
  );
2047
2199
  case "danger":
2048
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Notification, { id, onClose, open: true, palette: "danger", children: [
2049
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(NotificationHeading, { palette: "danger", children: heading }),
2050
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(NotificationDescription, { palette: "danger", children: description })
2200
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Notification, { id, onClose, open: true, palette: "danger", children: [
2201
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NotificationHeading, { palette: "danger", children: heading }),
2202
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NotificationDescription, { palette: "danger", children: description })
2051
2203
  ] }, id);
2052
2204
  case "info":
2053
2205
  default:
2054
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Notification, { id, onClose, open: true, palette: "info", children: [
2055
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(NotificationHeading, { palette: "info", children: heading }),
2056
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(NotificationDescription, { palette: "info", children: description })
2206
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Notification, { id, onClose, open: true, palette: "info", children: [
2207
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NotificationHeading, { palette: "info", children: heading }),
2208
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NotificationDescription, { palette: "info", children: description })
2057
2209
  ] }, id);
2058
2210
  }
2059
2211
  }
@@ -2069,9 +2221,9 @@ function useNotificationCenter() {
2069
2221
 
2070
2222
  // src/context/prompt-modal.tsx
2071
2223
  var import_react18 = require("react");
2072
- var import_css37 = require("@cerberus/styled-system/css");
2073
- var import_patterns15 = require("@cerberus/styled-system/patterns");
2074
- var import_jsx_runtime44 = require("react/jsx-runtime");
2224
+ var import_css38 = require("@cerberus/styled-system/css");
2225
+ var import_patterns16 = require("@cerberus/styled-system/patterns");
2226
+ var import_jsx_runtime45 = require("react/jsx-runtime");
2075
2227
  var PromptModalContext = (0, import_react18.createContext)(null);
2076
2228
  function PromptModal(props) {
2077
2229
  const { modalRef, show, close } = useModal();
@@ -2121,36 +2273,36 @@ function PromptModal(props) {
2121
2273
  }),
2122
2274
  [handleShow]
2123
2275
  );
2124
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(PromptModalContext.Provider, { value, children: [
2276
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(PromptModalContext.Provider, { value, children: [
2125
2277
  props.children,
2126
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Modal, { onKeyDown: focusTrap, ref: modalRef, children: [
2127
- /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(ModalHeader, { children: [
2128
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2278
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Modal, { onKeyDown: focusTrap, ref: modalRef, children: [
2279
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(ModalHeader, { children: [
2280
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2129
2281
  "div",
2130
2282
  {
2131
- className: (0, import_patterns15.hstack)({
2283
+ className: (0, import_patterns16.hstack)({
2132
2284
  justify: "center",
2133
2285
  w: "full"
2134
2286
  }),
2135
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2287
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2136
2288
  Show,
2137
2289
  {
2138
2290
  when: palette === "danger",
2139
- fallback: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2291
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2140
2292
  Avatar,
2141
2293
  {
2142
2294
  ariaLabel: "",
2143
2295
  gradient: "charon-light",
2144
- icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(PromptIcon, { size: 24 }),
2296
+ icon: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(PromptIcon, { size: 24 }),
2145
2297
  src: ""
2146
2298
  }
2147
2299
  ),
2148
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2300
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2149
2301
  Avatar,
2150
2302
  {
2151
2303
  ariaLabel: "",
2152
2304
  gradient: "hades-dark",
2153
- icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(PromptIcon, { size: 24 }),
2305
+ icon: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(PromptIcon, { size: 24 }),
2154
2306
  src: ""
2155
2307
  }
2156
2308
  )
@@ -2158,24 +2310,24 @@ function PromptModal(props) {
2158
2310
  )
2159
2311
  }
2160
2312
  ),
2161
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ModalHeading, { children: content == null ? void 0 : content.heading }),
2162
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ModalDescription, { children: content == null ? void 0 : content.description })
2313
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ModalHeading, { children: content == null ? void 0 : content.heading }),
2314
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ModalDescription, { children: content == null ? void 0 : content.description })
2163
2315
  ] }),
2164
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2316
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2165
2317
  "div",
2166
2318
  {
2167
- className: (0, import_patterns15.vstack)({
2319
+ className: (0, import_patterns16.vstack)({
2168
2320
  alignItems: "flex-start",
2169
2321
  mt: "4",
2170
2322
  mb: "8"
2171
2323
  }),
2172
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Field, { invalid: !isValid, children: [
2173
- /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Label, { htmlFor: "confirm", size: "md", children: [
2324
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Field, { invalid: !isValid, children: [
2325
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Label, { htmlFor: "confirm", size: "md", children: [
2174
2326
  "Type",
2175
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2327
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2176
2328
  "strong",
2177
2329
  {
2178
- className: (0, import_css37.css)({
2330
+ className: (0, import_css38.css)({
2179
2331
  textTransform: "uppercase"
2180
2332
  }),
2181
2333
  children: content == null ? void 0 : content.key
@@ -2183,7 +2335,7 @@ function PromptModal(props) {
2183
2335
  ),
2184
2336
  "to confirm"
2185
2337
  ] }),
2186
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2338
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2187
2339
  Input,
2188
2340
  {
2189
2341
  id: "confirm",
@@ -2195,19 +2347,19 @@ function PromptModal(props) {
2195
2347
  ] })
2196
2348
  }
2197
2349
  ),
2198
- /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2350
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
2199
2351
  "div",
2200
2352
  {
2201
- className: (0, import_patterns15.hstack)({
2353
+ className: (0, import_patterns16.hstack)({
2202
2354
  justifyContent: "stretch",
2203
2355
  gap: "4"
2204
2356
  }),
2205
2357
  children: [
2206
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2358
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2207
2359
  Button,
2208
2360
  {
2209
2361
  autoFocus: true,
2210
- className: (0, import_css37.css)({
2362
+ className: (0, import_css38.css)({
2211
2363
  w: "1/2"
2212
2364
  }),
2213
2365
  disabled: !isValid,
@@ -2218,10 +2370,10 @@ function PromptModal(props) {
2218
2370
  children: content == null ? void 0 : content.actionText
2219
2371
  }
2220
2372
  ),
2221
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2373
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2222
2374
  Button,
2223
2375
  {
2224
- className: (0, import_css37.css)({
2376
+ className: (0, import_css38.css)({
2225
2377
  w: "1/2"
2226
2378
  }),
2227
2379
  name: "cancel",
@@ -2312,7 +2464,7 @@ function useTheme(defaultTheme = "cerberus", defaultColorMode = "light", options
2312
2464
  }
2313
2465
 
2314
2466
  // src/context/theme.tsx
2315
- var import_jsx_runtime45 = require("react/jsx-runtime");
2467
+ var import_jsx_runtime46 = require("react/jsx-runtime");
2316
2468
  var ThemeContext = (0, import_react20.createContext)(
2317
2469
  null
2318
2470
  );
@@ -2322,7 +2474,7 @@ function ThemeProvider(props) {
2322
2474
  updateMode: props.updateMode,
2323
2475
  updateTheme: props.updateTheme
2324
2476
  });
2325
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ThemeContext.Provider, { value: state, children: props.children });
2477
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ThemeContext.Provider, { value: state, children: props.children });
2326
2478
  }
2327
2479
  function useThemeContext() {
2328
2480
  const context = (0, import_react20.useContext)(ThemeContext);
@@ -2358,6 +2510,7 @@ __reExport(src_exports, require("@dnd-kit/core"), module.exports);
2358
2510
  Avatar,
2359
2511
  Button,
2360
2512
  Checkbox,
2513
+ CircularProgress,
2361
2514
  ConfirmModal,
2362
2515
  Droppable,
2363
2516
  FeatureFlag,