@cerberus-design/react 0.10.4-next-271fee4 → 0.10.4-next-57d0ee2

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 (87) hide show
  1. package/build/legacy/_tsup-dts-rollup.d.cts +75 -0
  2. package/build/legacy/components/Admonition.cjs +419 -0
  3. package/build/legacy/components/Admonition.cjs.map +1 -0
  4. package/build/legacy/components/Avatar.cjs +4 -4
  5. package/build/legacy/components/Avatar.cjs.map +1 -1
  6. package/build/legacy/components/Checkbox.cjs +4 -4
  7. package/build/legacy/components/Checkbox.cjs.map +1 -1
  8. package/build/legacy/components/FileStatus.cjs +4 -4
  9. package/build/legacy/components/FileStatus.cjs.map +1 -1
  10. package/build/legacy/components/FileUploader.cjs +4 -4
  11. package/build/legacy/components/FileUploader.cjs.map +1 -1
  12. package/build/legacy/components/Input.cjs +4 -4
  13. package/build/legacy/components/Input.cjs.map +1 -1
  14. package/build/legacy/components/Notification.cjs +4 -4
  15. package/build/legacy/components/Notification.cjs.map +1 -1
  16. package/build/legacy/components/Select.cjs +4 -4
  17. package/build/legacy/components/Select.cjs.map +1 -1
  18. package/build/legacy/components/Tag.cjs +4 -4
  19. package/build/legacy/components/Tag.cjs.map +1 -1
  20. package/build/legacy/components/Toggle.cjs +4 -4
  21. package/build/legacy/components/Toggle.cjs.map +1 -1
  22. package/build/legacy/config/cerbIcons.cjs +4 -4
  23. package/build/legacy/config/cerbIcons.cjs.map +1 -1
  24. package/build/legacy/config/defineIcons.cjs +4 -4
  25. package/build/legacy/config/defineIcons.cjs.map +1 -1
  26. package/build/legacy/context/confirm-modal.cjs +4 -4
  27. package/build/legacy/context/confirm-modal.cjs.map +1 -1
  28. package/build/legacy/context/notification-center.cjs +4 -4
  29. package/build/legacy/context/notification-center.cjs.map +1 -1
  30. package/build/legacy/context/prompt-modal.cjs +4 -4
  31. package/build/legacy/context/prompt-modal.cjs.map +1 -1
  32. package/build/legacy/index.cjs +552 -424
  33. package/build/legacy/index.cjs.map +1 -1
  34. package/build/modern/_tsup-dts-rollup.d.ts +75 -0
  35. package/build/modern/{chunk-QHVJAPSD.js → chunk-243VUIA6.js} +2 -2
  36. package/build/modern/{chunk-BADJ7VVO.js → chunk-3NE6C66J.js} +6 -6
  37. package/build/modern/{chunk-5NELG2TB.js → chunk-FT7DFRHQ.js} +2 -2
  38. package/build/modern/{chunk-P3THICWW.js → chunk-HCB5NQ5J.js} +3 -3
  39. package/build/modern/{chunk-A42MQEHJ.js → chunk-KLUBAM4U.js} +2 -2
  40. package/build/modern/{chunk-DH57GIIW.js → chunk-MDIUFBDX.js} +2 -2
  41. package/build/modern/{chunk-3XZRRGFQ.js → chunk-PA5EB7EO.js} +2 -2
  42. package/build/modern/{chunk-ZUQ2MHMQ.js → chunk-RDQHHCFR.js} +2 -2
  43. package/build/modern/{chunk-V7YG7JUJ.js → chunk-TMR7JGMP.js} +7 -8
  44. package/build/modern/chunk-TMR7JGMP.js.map +1 -0
  45. package/build/modern/{chunk-WSGQZZVU.js → chunk-UJKS4DDN.js} +2 -2
  46. package/build/modern/{chunk-XFKPALXB.js → chunk-X4Y4WTRU.js} +3 -3
  47. package/build/modern/{chunk-XREDYSAP.js → chunk-YMJMB6OP.js} +3 -3
  48. package/build/modern/{chunk-SRGQQYBQ.js → chunk-YWCTMLLO.js} +2 -2
  49. package/build/modern/chunk-ZW3FFE37.js +138 -0
  50. package/build/modern/chunk-ZW3FFE37.js.map +1 -0
  51. package/build/modern/{chunk-XWQEINEL.js → chunk-ZX6DBC2Z.js} +2 -2
  52. package/build/modern/components/Admonition.js +17 -0
  53. package/build/modern/components/Admonition.js.map +1 -0
  54. package/build/modern/components/Avatar.js +3 -3
  55. package/build/modern/components/Checkbox.js +3 -3
  56. package/build/modern/components/FileStatus.js +4 -4
  57. package/build/modern/components/FileUploader.js +4 -4
  58. package/build/modern/components/Input.js +3 -3
  59. package/build/modern/components/Notification.js +3 -3
  60. package/build/modern/components/Select.js +3 -3
  61. package/build/modern/components/Tag.js +3 -3
  62. package/build/modern/components/Toggle.js +3 -3
  63. package/build/modern/config/cerbIcons.js +1 -1
  64. package/build/modern/config/defineIcons.js +2 -2
  65. package/build/modern/context/confirm-modal.js +4 -4
  66. package/build/modern/context/notification-center.js +4 -4
  67. package/build/modern/context/prompt-modal.js +5 -5
  68. package/build/modern/index.js +38 -30
  69. package/build/modern/index.js.map +1 -1
  70. package/package.json +3 -3
  71. package/src/components/Admonition.tsx +186 -0
  72. package/src/config/cerbIcons.ts +6 -7
  73. package/src/index.ts +1 -0
  74. package/build/modern/chunk-V7YG7JUJ.js.map +0 -1
  75. /package/build/modern/{chunk-QHVJAPSD.js.map → chunk-243VUIA6.js.map} +0 -0
  76. /package/build/modern/{chunk-BADJ7VVO.js.map → chunk-3NE6C66J.js.map} +0 -0
  77. /package/build/modern/{chunk-5NELG2TB.js.map → chunk-FT7DFRHQ.js.map} +0 -0
  78. /package/build/modern/{chunk-P3THICWW.js.map → chunk-HCB5NQ5J.js.map} +0 -0
  79. /package/build/modern/{chunk-A42MQEHJ.js.map → chunk-KLUBAM4U.js.map} +0 -0
  80. /package/build/modern/{chunk-DH57GIIW.js.map → chunk-MDIUFBDX.js.map} +0 -0
  81. /package/build/modern/{chunk-3XZRRGFQ.js.map → chunk-PA5EB7EO.js.map} +0 -0
  82. /package/build/modern/{chunk-ZUQ2MHMQ.js.map → chunk-RDQHHCFR.js.map} +0 -0
  83. /package/build/modern/{chunk-WSGQZZVU.js.map → chunk-UJKS4DDN.js.map} +0 -0
  84. /package/build/modern/{chunk-XFKPALXB.js.map → chunk-X4Y4WTRU.js.map} +0 -0
  85. /package/build/modern/{chunk-XREDYSAP.js.map → chunk-YMJMB6OP.js.map} +0 -0
  86. /package/build/modern/{chunk-SRGQQYBQ.js.map → chunk-YWCTMLLO.js.map} +0 -0
  87. /package/build/modern/{chunk-XWQEINEL.js.map → chunk-ZX6DBC2Z.js.map} +0 -0
@@ -22,6 +22,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
24
  $cerberusIcons: () => $cerberusIcons,
25
+ Admonition: () => Admonition,
26
+ AdmonitionDescription: () => AdmonitionDescription,
27
+ AdmonitionHeading: () => AdmonitionHeading,
25
28
  Avatar: () => Avatar,
26
29
  Button: () => Button,
27
30
  Checkbox: () => Checkbox,
@@ -97,10 +100,10 @@ __export(src_exports, {
97
100
  });
98
101
  module.exports = __toCommonJS(src_exports);
99
102
 
100
- // src/components/Avatar.tsx
101
- var import_css = require("@cerberus/styled-system/css");
102
- var import_patterns = require("@cerberus/styled-system/patterns");
103
- var import_recipes = require("@cerberus/styled-system/recipes");
103
+ // src/components/Admonition.tsx
104
+ var import_recipes2 = require("@cerberus/styled-system/recipes");
105
+ var import_css2 = require("@cerberus-design/styled-system/css");
106
+ var import_patterns2 = require("@cerberus/styled-system/patterns");
104
107
 
105
108
  // src/config/cerbIcons.ts
106
109
  var import_icons = require("@cerberus/icons");
@@ -249,10 +252,10 @@ var defaultIcons = {
249
252
  waitingFileUploader: import_icons.CloudUpload,
250
253
  fileUploader: AnimatingUploadIcon,
251
254
  indeterminate: IndeterminateIcon,
252
- infoNotification: import_icons.InformationFilled,
253
- successNotification: import_icons.CheckmarkFilled,
254
- warningNotification: import_icons.WarningFilled,
255
- dangerNotification: import_icons.ErrorFilled,
255
+ infoNotification: import_icons.Information,
256
+ successNotification: import_icons.CheckmarkOutline,
257
+ warningNotification: import_icons.WarningAlt,
258
+ dangerNotification: import_icons.WarningFilled,
256
259
  invalid: import_icons.WarningFilled,
257
260
  invalidAlt: import_icons.Warning,
258
261
  redo: import_icons.Restart,
@@ -278,6 +281,11 @@ function defineIcons(icons) {
278
281
  }
279
282
  var $cerberusIcons = defaultIcons;
280
283
 
284
+ // src/components/Avatar.tsx
285
+ var import_css = require("@cerberus/styled-system/css");
286
+ var import_patterns = require("@cerberus/styled-system/patterns");
287
+ var import_recipes = require("@cerberus/styled-system/recipes");
288
+
281
289
  // src/components/Show.tsx
282
290
  var import_react = require("react");
283
291
  function Show(props) {
@@ -377,19 +385,136 @@ var iconSizeMap = {
377
385
  "4xl": 32
378
386
  };
379
387
 
380
- // src/components/Button.tsx
381
- var import_css2 = require("@cerberus/styled-system/css");
382
- var import_recipes2 = require("@cerberus/styled-system/recipes");
388
+ // src/components/Admonition.tsx
383
389
  var import_jsx_runtime4 = require("react/jsx-runtime");
390
+ function Admonition(props) {
391
+ const { children, palette = "page", usage, icon, ...nativeProps } = props;
392
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
393
+ "aside",
394
+ {
395
+ ...nativeProps,
396
+ className: (0, import_css2.cx)(
397
+ nativeProps.className,
398
+ (0, import_patterns2.hstack)({
399
+ gap: "md",
400
+ w: "full"
401
+ }),
402
+ (0, import_recipes2.admonition)({ palette, usage }).root
403
+ ),
404
+ children: [
405
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Show, { when: Boolean(icon), fallback: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(MatchAvatar, { palette }), children: icon }),
406
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { children })
407
+ ]
408
+ }
409
+ );
410
+ }
411
+ function AdmonitionHeading(props) {
412
+ const { palette, usage, ...nativeProps } = props;
413
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
414
+ "p",
415
+ {
416
+ ...nativeProps,
417
+ className: (0, import_css2.cx)(
418
+ nativeProps.className,
419
+ (0, import_recipes2.admonition)({ palette, usage }).heading
420
+ )
421
+ }
422
+ );
423
+ }
424
+ function AdmonitionDescription(props) {
425
+ const { palette, usage, ...nativeProps } = props;
426
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
427
+ "p",
428
+ {
429
+ ...nativeProps,
430
+ className: (0, import_css2.cx)(
431
+ nativeProps.className,
432
+ (0, import_recipes2.admonition)({ palette, usage }).description
433
+ )
434
+ }
435
+ );
436
+ }
437
+ function MatchAvatar(props) {
438
+ const {
439
+ infoNotification: InfoIcon,
440
+ successNotification: SuccessIcon,
441
+ warningNotification: WarningIcon,
442
+ dangerNotification: DangerIcon
443
+ } = $cerberusIcons;
444
+ switch (props.palette) {
445
+ case "page":
446
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
447
+ Avatar,
448
+ {
449
+ gradient: "charon-light",
450
+ ariaLabel: "",
451
+ icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(InfoIcon, {}),
452
+ size: "sm",
453
+ src: ""
454
+ }
455
+ );
456
+ case "info":
457
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
458
+ Avatar,
459
+ {
460
+ gradient: "amphiaraus-dark",
461
+ ariaLabel: "",
462
+ icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(InfoIcon, {}),
463
+ size: "sm",
464
+ src: ""
465
+ }
466
+ );
467
+ case "success":
468
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
469
+ Avatar,
470
+ {
471
+ gradient: "thanatos-dark",
472
+ ariaLabel: "",
473
+ icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SuccessIcon, {}),
474
+ size: "sm",
475
+ src: ""
476
+ }
477
+ );
478
+ case "warning":
479
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
480
+ Avatar,
481
+ {
482
+ gradient: "asphodel-light",
483
+ ariaLabel: "",
484
+ icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(WarningIcon, {}),
485
+ size: "sm",
486
+ src: ""
487
+ }
488
+ );
489
+ case "danger":
490
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
491
+ Avatar,
492
+ {
493
+ gradient: "hades-light",
494
+ ariaLabel: "",
495
+ icon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(DangerIcon, {}),
496
+ size: "sm",
497
+ src: ""
498
+ }
499
+ );
500
+ default:
501
+ throw new Error("Unsupported admonition palette");
502
+ }
503
+ }
504
+
505
+ // src/components/Button.tsx
506
+ var import_css3 = require("@cerberus/styled-system/css");
507
+ var import_recipes3 = require("@cerberus/styled-system/recipes");
508
+ var import_jsx_runtime5 = require("react/jsx-runtime");
384
509
  function Button(props) {
385
510
  const { palette, usage, shape, ...nativeProps } = props;
386
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
511
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
387
512
  "button",
388
513
  {
389
514
  ...nativeProps,
390
- className: (0, import_css2.cx)(
515
+ className: (0, import_css3.cx)(
391
516
  nativeProps.className,
392
- (0, import_recipes2.button)({
517
+ (0, import_recipes3.button)({
393
518
  palette,
394
519
  usage,
395
520
  shape
@@ -400,13 +525,13 @@ function Button(props) {
400
525
  }
401
526
 
402
527
  // src/components/Checkbox.tsx
403
- var import_recipes3 = require("@cerberus/styled-system/recipes");
404
- var import_patterns2 = require("@cerberus/styled-system/patterns");
405
- var import_css3 = require("@cerberus/styled-system/css");
528
+ var import_recipes4 = require("@cerberus/styled-system/recipes");
529
+ var import_patterns3 = require("@cerberus/styled-system/patterns");
530
+ var import_css4 = require("@cerberus/styled-system/css");
406
531
 
407
532
  // src/context/field.tsx
408
533
  var import_react2 = require("react");
409
- var import_jsx_runtime5 = require("react/jsx-runtime");
534
+ var import_jsx_runtime6 = require("react/jsx-runtime");
410
535
  var FieldContext = (0, import_react2.createContext)(null);
411
536
  function Field(props) {
412
537
  const value = (0, import_react2.useMemo)(
@@ -418,7 +543,7 @@ function Field(props) {
418
543
  }),
419
544
  [props.disabled, props.readOnly, props.required, props.invalid]
420
545
  );
421
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(FieldContext.Provider, { value, children: props.children });
546
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(FieldContext.Provider, { value, children: props.children });
422
547
  }
423
548
  function useFieldContext() {
424
549
  const context = (0, import_react2.useContext)(FieldContext);
@@ -429,24 +554,24 @@ function useFieldContext() {
429
554
  }
430
555
 
431
556
  // src/components/Checkbox.tsx
432
- var import_jsx_runtime6 = require("react/jsx-runtime");
557
+ var import_jsx_runtime7 = require("react/jsx-runtime");
433
558
  function Checkbox(props) {
434
559
  const { describedBy, size, checked, mixed, ...nativeProps } = props;
435
560
  const { invalid, ...fieldStates } = useFieldContext();
436
- const styles = (0, import_recipes3.checkbox)({ size });
561
+ const styles = (0, import_recipes4.checkbox)({ size });
437
562
  const { checkbox: CheckIcon, indeterminate: IndeterminateIcon2 } = $cerberusIcons;
438
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
563
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
439
564
  "div",
440
565
  {
441
- className: (0, import_css3.cx)(
566
+ className: (0, import_css4.cx)(
442
567
  styles.root,
443
- (0, import_patterns2.vstack)({
568
+ (0, import_patterns3.vstack)({
444
569
  gap: "0",
445
570
  justify: "center"
446
571
  })
447
572
  ),
448
573
  children: [
449
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
574
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
450
575
  "input",
451
576
  {
452
577
  ...nativeProps,
@@ -454,28 +579,28 @@ function Checkbox(props) {
454
579
  ...describedBy && { "aria-describedby": describedBy },
455
580
  ...invalid && { "aria-invalid": true },
456
581
  ...mixed && { "aria-checked": "mixed" },
457
- className: (0, import_css3.cx)("peer", nativeProps.className, styles.input),
582
+ className: (0, import_css4.cx)("peer", nativeProps.className, styles.input),
458
583
  type: "checkbox"
459
584
  }
460
585
  ),
461
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Show, { when: checked && !mixed, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(CheckIcon, {}) }) }),
462
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Show, { when: mixed, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(IndeterminateIcon2, {}) }) })
586
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Show, { when: checked && !mixed, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CheckIcon, {}) }) }),
587
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Show, { when: mixed, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(IndeterminateIcon2, {}) }) })
463
588
  ]
464
589
  }
465
590
  );
466
591
  }
467
592
 
468
593
  // src/components/CircularProgress.tsx
469
- var import_patterns3 = require("@cerberus/styled-system/patterns");
470
- var import_css4 = require("@cerberus/styled-system/css");
471
- var import_jsx_runtime7 = require("react/jsx-runtime");
594
+ var import_patterns4 = require("@cerberus/styled-system/patterns");
595
+ var import_css5 = require("@cerberus/styled-system/css");
596
+ var import_jsx_runtime8 = require("react/jsx-runtime");
472
597
  function CircularProgress(props) {
473
598
  const strokeW = 14;
474
599
  const radius = `calc(50% * (1 - ${strokeW}/100))`;
475
600
  const status = props.syntax ?? "Done";
476
601
  const now = props.now >= 100 ? 100 : props.now;
477
602
  const bgStyle = props.bgStyle ?? "filled";
478
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
603
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
479
604
  "div",
480
605
  {
481
606
  id: props.id,
@@ -483,18 +608,18 @@ function CircularProgress(props) {
483
608
  "aria-valuemin": 0,
484
609
  "aria-valuemax": 100,
485
610
  "aria-valuenow": now,
486
- className: (0, import_patterns3.cq)({
611
+ className: (0, import_patterns4.cq)({
487
612
  alignSelf: "stretch",
488
613
  flex: 1,
489
614
  m: "4px",
490
615
  position: "relative"
491
616
  }),
492
617
  role: "progressbar",
493
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
618
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
494
619
  "svg",
495
620
  {
496
621
  "data-complete": now === 100,
497
- className: (0, import_css4.css)({
622
+ className: (0, import_css5.css)({
498
623
  display: "block",
499
624
  rounded: "full",
500
625
  transition: "all 0.5s ease"
@@ -505,17 +630,17 @@ function CircularProgress(props) {
505
630
  viewBox: "0 0 100 100",
506
631
  xmlns: "http://www.w3.org/2000/svg",
507
632
  children: [
508
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("title", { children: props.title }),
509
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("desc", { children: `${now}% ${status}` }),
510
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("linearGradient", { id: "gradient", children: [
511
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
633
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("title", { children: props.title }),
634
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("desc", { children: `${now}% ${status}` }),
635
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("linearGradient", { id: "gradient", children: [
636
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
512
637
  "stop",
513
638
  {
514
639
  offset: "0%",
515
640
  stopColor: "var(--cerberus-colors-data-viz-progress-start)"
516
641
  }
517
642
  ),
518
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
643
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
519
644
  "stop",
520
645
  {
521
646
  offset: "100%",
@@ -523,10 +648,10 @@ function CircularProgress(props) {
523
648
  }
524
649
  )
525
650
  ] }) }),
526
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Show, { when: bgStyle === "filled", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
651
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Show, { when: bgStyle === "filled", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
527
652
  "circle",
528
653
  {
529
- className: (0, import_css4.css)({
654
+ className: (0, import_css5.css)({
530
655
  fill: "page.surface.initial"
531
656
  }),
532
657
  cx: "50%",
@@ -535,10 +660,10 @@ function CircularProgress(props) {
535
660
  pathLength: "100"
536
661
  }
537
662
  ) }),
538
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
663
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
539
664
  "circle",
540
665
  {
541
- className: (0, import_css4.css)({
666
+ className: (0, import_css5.css)({
542
667
  stroke: "page.bg.100"
543
668
  }),
544
669
  cx: "50%",
@@ -547,11 +672,11 @@ function CircularProgress(props) {
547
672
  pathLength: "100"
548
673
  }
549
674
  ),
550
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
675
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
551
676
  "circle",
552
677
  {
553
678
  "data-complete": now === 100,
554
- className: (0, import_css4.css)({
679
+ className: (0, import_css5.css)({
555
680
  stroke: "url(#gradient)",
556
681
  transition: "stroke-dashoffset, stroke 0.5s ease",
557
682
  _isComplete: {
@@ -568,11 +693,11 @@ function CircularProgress(props) {
568
693
  transform: "rotate(-90 50 50)"
569
694
  }
570
695
  ),
571
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("g", { children: [
572
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
696
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("g", { children: [
697
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
573
698
  "text",
574
699
  {
575
- className: (0, import_css4.css)({
700
+ className: (0, import_css5.css)({
576
701
  fill: "page.text.initial",
577
702
  fontFamily: "mono",
578
703
  textStyle: "1.25rem"
@@ -587,10 +712,10 @@ function CircularProgress(props) {
587
712
  ]
588
713
  }
589
714
  ),
590
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
715
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
591
716
  "text",
592
717
  {
593
- className: (0, import_css4.css)({
718
+ className: (0, import_css5.css)({
594
719
  fill: "page.text.100",
595
720
  fontSize: "0.5rem",
596
721
  fontWeight: 600
@@ -613,7 +738,7 @@ function CircularProgress(props) {
613
738
  // src/components/Droppable.tsx
614
739
  var import_core = require("@dnd-kit/core");
615
740
  var import_react3 = require("react");
616
- var import_jsx_runtime8 = require("react/jsx-runtime");
741
+ var import_jsx_runtime9 = require("react/jsx-runtime");
617
742
  function Droppable(props) {
618
743
  const { dropped, id, disabled, data, resizeObserverConfig, ...nativeProps } = props;
619
744
  const uuid = (0, import_react3.useId)();
@@ -623,7 +748,7 @@ function Droppable(props) {
623
748
  id: id || uuid,
624
749
  resizeObserverConfig
625
750
  });
626
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
751
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
627
752
  "div",
628
753
  {
629
754
  ...nativeProps,
@@ -636,27 +761,27 @@ function Droppable(props) {
636
761
  }
637
762
 
638
763
  // src/components/FieldMessage.tsx
639
- var import_css5 = require("@cerberus/styled-system/css");
640
- var import_recipes4 = require("@cerberus/styled-system/recipes");
641
- var import_jsx_runtime9 = require("react/jsx-runtime");
764
+ var import_css6 = require("@cerberus/styled-system/css");
765
+ var import_recipes5 = require("@cerberus/styled-system/recipes");
766
+ var import_jsx_runtime10 = require("react/jsx-runtime");
642
767
  function FieldMessage(props) {
643
768
  const { invalid } = useFieldContext();
644
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
769
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
645
770
  "small",
646
771
  {
647
772
  ...props,
648
773
  ...invalid && { "aria-invalid": true },
649
- className: (0, import_css5.cx)(props.className, (0, import_recipes4.fieldMessage)())
774
+ className: (0, import_css6.cx)(props.className, (0, import_recipes5.fieldMessage)())
650
775
  }
651
776
  );
652
777
  }
653
778
 
654
779
  // src/context/feature-flags.tsx
655
780
  var import_react4 = require("react");
656
- var import_jsx_runtime10 = require("react/jsx-runtime");
781
+ var import_jsx_runtime11 = require("react/jsx-runtime");
657
782
  var FeatureFlagContext = (0, import_react4.createContext)(null);
658
783
  function FeatureFlags(props) {
659
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(FeatureFlagContext.Provider, { value: props.flags, children: props.children });
784
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(FeatureFlagContext.Provider, { value: props.flags, children: props.children });
660
785
  }
661
786
  function useFeatureFlags(key) {
662
787
  const context = (0, import_react4.useContext)(FeatureFlagContext);
@@ -669,26 +794,26 @@ function useFeatureFlags(key) {
669
794
  }
670
795
 
671
796
  // src/components/FeatureFlag.tsx
672
- var import_jsx_runtime11 = require("react/jsx-runtime");
797
+ var import_jsx_runtime12 = require("react/jsx-runtime");
673
798
  function FeatureFlag(props) {
674
799
  const showContent = useFeatureFlags(props.flag);
675
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Show, { when: showContent, children: props.children });
800
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Show, { when: showContent, children: props.children });
676
801
  }
677
802
 
678
803
  // src/components/Fieldset.tsx
679
- var import_css6 = require("@cerberus/styled-system/css");
680
- var import_jsx_runtime12 = require("react/jsx-runtime");
804
+ var import_css7 = require("@cerberus/styled-system/css");
805
+ var import_jsx_runtime13 = require("react/jsx-runtime");
681
806
  function Fieldset(props) {
682
807
  const { invalid, ...formState } = useFieldContext();
683
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
808
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
684
809
  "fieldset",
685
810
  {
686
811
  ...props,
687
812
  ...formState,
688
813
  ...invalid && { "aria-invalid": true },
689
- className: (0, import_css6.cx)(
814
+ className: (0, import_css7.cx)(
690
815
  props.className,
691
- (0, import_css6.css)({
816
+ (0, import_css7.css)({
692
817
  border: "none",
693
818
  pt: 2,
694
819
  margin: 0
@@ -699,18 +824,18 @@ function Fieldset(props) {
699
824
  }
700
825
 
701
826
  // src/components/FieldsetLabel.tsx
702
- var import_css7 = require("@cerberus/styled-system/css");
703
- var import_recipes5 = require("@cerberus/styled-system/recipes");
704
- var import_jsx_runtime13 = require("react/jsx-runtime");
827
+ var import_css8 = require("@cerberus/styled-system/css");
828
+ var import_recipes6 = require("@cerberus/styled-system/recipes");
829
+ var import_jsx_runtime14 = require("react/jsx-runtime");
705
830
  function FieldsetLabel(props) {
706
831
  const { size, usage, ...nativeProps } = props;
707
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
832
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
708
833
  "label",
709
834
  {
710
835
  ...nativeProps,
711
- className: (0, import_css7.cx)(
836
+ className: (0, import_css8.cx)(
712
837
  nativeProps.className,
713
- (0, import_recipes5.label)({
838
+ (0, import_recipes6.label)({
714
839
  size,
715
840
  usage
716
841
  })
@@ -721,22 +846,22 @@ function FieldsetLabel(props) {
721
846
 
722
847
  // src/components/FileStatus.tsx
723
848
  var import_react5 = require("react");
724
- var import_recipes8 = require("@cerberus/styled-system/recipes");
725
- var import_css10 = require("@cerberus/styled-system/css");
726
- var import_patterns4 = require("@cerberus/styled-system/patterns");
849
+ var import_recipes9 = require("@cerberus/styled-system/recipes");
850
+ var import_css11 = require("@cerberus/styled-system/css");
851
+ var import_patterns5 = require("@cerberus/styled-system/patterns");
727
852
 
728
853
  // src/components/ProgressBar.tsx
729
- var import_css8 = require("@cerberus/styled-system/css");
730
- var import_recipes6 = require("@cerberus/styled-system/recipes");
731
- var import_jsx_runtime14 = require("react/jsx-runtime");
854
+ var import_css9 = require("@cerberus/styled-system/css");
855
+ var import_recipes7 = require("@cerberus/styled-system/recipes");
856
+ var import_jsx_runtime15 = require("react/jsx-runtime");
732
857
  function ProgressBar(props) {
733
858
  const { indeterminate, size, usage, now, label: label4, ...nativeProps } = props;
734
- const styles = (0, import_recipes6.progressBar)({ size, usage });
859
+ const styles = (0, import_recipes7.progressBar)({ size, usage });
735
860
  const nowClamped = Math.min(100, Math.max(0, now || 0));
736
861
  const width = {
737
862
  width: indeterminate ? "50%" : `${nowClamped}%`
738
863
  };
739
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
864
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
740
865
  "div",
741
866
  {
742
867
  ...nativeProps,
@@ -744,9 +869,9 @@ function ProgressBar(props) {
744
869
  "aria-valuemin": 0,
745
870
  "aria-valuemax": 100,
746
871
  "aria-valuenow": indeterminate ? 0 : nowClamped,
747
- className: (0, import_css8.cx)(nativeProps.className, styles.root),
872
+ className: (0, import_css9.cx)(nativeProps.className, styles.root),
748
873
  role: "progressbar",
749
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
874
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
750
875
  "div",
751
876
  {
752
877
  ...indeterminate && { "data-indeterminate": true },
@@ -760,19 +885,19 @@ function ProgressBar(props) {
760
885
  }
761
886
 
762
887
  // src/components/IconButton.tsx
763
- var import_css9 = require("@cerberus/styled-system/css");
764
- var import_recipes7 = require("@cerberus/styled-system/recipes");
765
- var import_jsx_runtime15 = require("react/jsx-runtime");
888
+ var import_css10 = require("@cerberus/styled-system/css");
889
+ var import_recipes8 = require("@cerberus/styled-system/recipes");
890
+ var import_jsx_runtime16 = require("react/jsx-runtime");
766
891
  function IconButton(props) {
767
892
  const { ariaLabel, palette, usage, size, ...nativeProps } = props;
768
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
893
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
769
894
  "button",
770
895
  {
771
896
  ...nativeProps,
772
897
  "aria-label": ariaLabel ?? "Icon Button",
773
- className: (0, import_css9.cx)(
898
+ className: (0, import_css10.cx)(
774
899
  nativeProps.className,
775
- (0, import_recipes7.iconButton)({
900
+ (0, import_recipes8.iconButton)({
776
901
  palette,
777
902
  usage,
778
903
  size
@@ -783,7 +908,7 @@ function IconButton(props) {
783
908
  }
784
909
 
785
910
  // src/components/FileStatus.tsx
786
- var import_jsx_runtime16 = require("react/jsx-runtime");
911
+ var import_jsx_runtime17 = require("react/jsx-runtime");
787
912
  var processStatus = /* @__PURE__ */ ((processStatus2) => {
788
913
  processStatus2["TODO"] = "todo";
789
914
  processStatus2["PROCESSING"] = "processing";
@@ -799,15 +924,15 @@ function FileStatus(props) {
799
924
  const styles = (0, import_react5.useMemo)(() => {
800
925
  switch (status) {
801
926
  case "todo" /* TODO */:
802
- return (0, import_recipes8.fileStatus)({ status: "todo" });
927
+ return (0, import_recipes9.fileStatus)({ status: "todo" });
803
928
  case "processing" /* PROCESSING */:
804
- return (0, import_recipes8.fileStatus)({ status: "processing" });
929
+ return (0, import_recipes9.fileStatus)({ status: "processing" });
805
930
  case "done" /* DONE */:
806
- return (0, import_recipes8.fileStatus)({ status: "done" });
931
+ return (0, import_recipes9.fileStatus)({ status: "done" });
807
932
  case "error" /* ERROR */:
808
- return (0, import_recipes8.fileStatus)({ status: "error" });
933
+ return (0, import_recipes9.fileStatus)({ status: "error" });
809
934
  default:
810
- return (0, import_recipes8.fileStatus)();
935
+ return (0, import_recipes9.fileStatus)();
811
936
  }
812
937
  }, [status]);
813
938
  const handleClick = (0, import_react5.useCallback)(
@@ -819,41 +944,41 @@ function FileStatus(props) {
819
944
  },
820
945
  [onClick]
821
946
  );
822
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
947
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
823
948
  "div",
824
949
  {
825
950
  ...nativeProps,
826
- className: (0, import_css10.cx)(nativeProps.className, styles.root, (0, import_patterns4.hstack)()),
951
+ className: (0, import_css11.cx)(nativeProps.className, styles.root, (0, import_patterns5.hstack)()),
827
952
  children: [
828
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
953
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
829
954
  Avatar,
830
955
  {
831
956
  ariaLabel: "",
832
957
  gradient: modalIconPalette,
833
- icon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(MatchFileStatusIcon, { size: 24, status }),
958
+ icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(MatchFileStatusIcon, { size: 24, status }),
834
959
  src: ""
835
960
  }
836
961
  ),
837
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
962
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
838
963
  "div",
839
964
  {
840
- className: (0, import_patterns4.vstack)({
965
+ className: (0, import_patterns5.vstack)({
841
966
  alignItems: "flex-start",
842
967
  gap: "0.12rem",
843
968
  w: "full"
844
969
  }),
845
970
  children: [
846
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
971
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
847
972
  "small",
848
973
  {
849
- className: (0, import_css10.css)({
974
+ className: (0, import_css11.css)({
850
975
  color: "page.text.initial",
851
976
  textStyle: "label-sm"
852
977
  }),
853
978
  children: file
854
979
  }
855
980
  ),
856
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
981
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
857
982
  ProgressBar,
858
983
  {
859
984
  id: props.id,
@@ -862,27 +987,27 @@ function FileStatus(props) {
862
987
  size: "sm"
863
988
  }
864
989
  ),
865
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Field, { invalid: modalIconPalette === "hades-dark", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
990
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Field, { invalid: modalIconPalette === "hades-dark", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
866
991
  FieldMessage,
867
992
  {
868
- className: (0, import_css10.css)({
993
+ className: (0, import_css11.css)({
869
994
  color: "page.text.100"
870
995
  }),
871
996
  id: `help:${file}`,
872
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(MatchFileStatusText, { status, now })
997
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(MatchFileStatusText, { status, now })
873
998
  }
874
999
  ) })
875
1000
  ]
876
1001
  }
877
1002
  ),
878
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1003
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
879
1004
  IconButton,
880
1005
  {
881
1006
  ariaLabel: actionLabel,
882
1007
  onClick: handleClick,
883
1008
  palette,
884
1009
  size: "sm",
885
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(MatchStatusAction, { status })
1010
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(MatchStatusAction, { status })
886
1011
  }
887
1012
  )
888
1013
  ]
@@ -898,13 +1023,13 @@ function MatchFileStatusIcon(props) {
898
1023
  } = $cerberusIcons;
899
1024
  switch (props.status) {
900
1025
  case "todo" /* TODO */:
901
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(TodoIcon, { size: props.size });
1026
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(TodoIcon, { size: props.size });
902
1027
  case "processing" /* PROCESSING */:
903
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(FileUploaderIcon, { size: props.size });
1028
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(FileUploaderIcon, { size: props.size });
904
1029
  case "done" /* DONE */:
905
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DoneIcon, { size: props.size });
1030
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DoneIcon, { size: props.size });
906
1031
  case "error" /* ERROR */:
907
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(InvalidIcon, { size: props.size });
1032
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(InvalidIcon, { size: props.size });
908
1033
  default:
909
1034
  throw new Error("Unknown status");
910
1035
  }
@@ -928,11 +1053,11 @@ function MatchStatusAction(props) {
928
1053
  switch (props.status) {
929
1054
  case "todo" /* TODO */:
930
1055
  case "processing" /* PROCESSING */:
931
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CloseIcon, {});
1056
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(CloseIcon, {});
932
1057
  case "error" /* ERROR */:
933
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(RedoIcon, {});
1058
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(RedoIcon, {});
934
1059
  case "done" /* DONE */:
935
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(TrashIcon, {});
1060
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(TrashIcon, {});
936
1061
  default:
937
1062
  throw new Error("Invalid status");
938
1063
  }
@@ -978,56 +1103,56 @@ function getModalIconPalette(status) {
978
1103
  }
979
1104
 
980
1105
  // src/components/FileUploader.tsx
981
- var import_css11 = require("@cerberus/styled-system/css");
982
- var import_patterns5 = require("@cerberus/styled-system/patterns");
983
- var import_recipes9 = require("@cerberus/styled-system/recipes");
984
- var import_jsx_runtime17 = require("react/jsx-runtime");
1106
+ var import_css12 = require("@cerberus/styled-system/css");
1107
+ var import_patterns6 = require("@cerberus/styled-system/patterns");
1108
+ var import_recipes10 = require("@cerberus/styled-system/recipes");
1109
+ var import_jsx_runtime18 = require("react/jsx-runtime");
985
1110
  function FileUploader(props) {
986
1111
  var _a;
987
- const styles = (0, import_recipes9.fileUploader)();
1112
+ const styles = (0, import_recipes10.fileUploader)();
988
1113
  const { waitingFileUploader: Icon } = $cerberusIcons;
989
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1114
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
990
1115
  "div",
991
1116
  {
992
1117
  ...props.disabled ? { "aria-disabled": true } : {},
993
- className: (0, import_css11.cx)(
994
- (0, import_patterns5.vstack)({
1118
+ className: (0, import_css12.cx)(
1119
+ (0, import_patterns6.vstack)({
995
1120
  justify: "center"
996
1121
  }),
997
1122
  styles.container
998
1123
  ),
999
1124
  children: [
1000
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1125
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1001
1126
  Avatar,
1002
1127
  {
1003
1128
  gradient: "charon-light",
1004
1129
  ariaLabel: "",
1005
- icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Icon, {}),
1130
+ icon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, {}),
1006
1131
  size: "md",
1007
1132
  src: ""
1008
1133
  }
1009
1134
  ) }),
1010
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1135
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1011
1136
  "label",
1012
1137
  {
1013
- className: (0, import_css11.cx)(
1014
- (0, import_patterns5.vstack)({
1138
+ className: (0, import_css12.cx)(
1139
+ (0, import_patterns6.vstack)({
1015
1140
  justify: "center"
1016
1141
  }),
1017
1142
  styles.label
1018
1143
  ),
1019
1144
  htmlFor: props.name,
1020
1145
  children: [
1021
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Show, { when: Boolean(props.heading), children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: styles.heading, children: props.heading }) }),
1146
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Show, { when: Boolean(props.heading), children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: styles.heading, children: props.heading }) }),
1022
1147
  "Import ",
1023
1148
  (_a = props.accept) == null ? void 0 : _a.replace(",", ", "),
1024
1149
  " files",
1025
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: styles.description, children: "Click to select files" }),
1026
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1150
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: styles.description, children: "Click to select files" }),
1151
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1027
1152
  "input",
1028
1153
  {
1029
1154
  ...props,
1030
- className: (0, import_css11.cx)(props.className, styles.input),
1155
+ className: (0, import_css12.cx)(props.className, styles.input),
1031
1156
  type: "file"
1032
1157
  }
1033
1158
  )
@@ -1040,18 +1165,18 @@ function FileUploader(props) {
1040
1165
  }
1041
1166
 
1042
1167
  // src/components/Input.tsx
1043
- var import_recipes10 = require("@cerberus/styled-system/recipes");
1044
- var import_css12 = require("@cerberus/styled-system/css");
1045
- var import_jsx_runtime18 = require("react/jsx-runtime");
1168
+ var import_recipes11 = require("@cerberus/styled-system/recipes");
1169
+ var import_css13 = require("@cerberus/styled-system/css");
1170
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1046
1171
  function Input(props) {
1047
1172
  const { describedBy, size, startIcon, endIcon, ...nativeProps } = props;
1048
- const inputStyles = (0, import_recipes10.input)({ size });
1173
+ const inputStyles = (0, import_recipes11.input)({ size });
1049
1174
  const { invalid, ...fieldStates } = useFieldContext();
1050
1175
  const hasEndIcon = Boolean(endIcon);
1051
1176
  const { invalid: InvalidIcon } = $cerberusIcons;
1052
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: inputStyles.root, children: [
1053
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Show, { when: Boolean(startIcon), children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: inputStyles.startIcon, children: startIcon }) }),
1054
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1177
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: inputStyles.root, children: [
1178
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Show, { when: Boolean(startIcon), children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: inputStyles.startIcon, children: startIcon }) }),
1179
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1055
1180
  "input",
1056
1181
  {
1057
1182
  ...nativeProps,
@@ -1059,42 +1184,42 @@ function Input(props) {
1059
1184
  ...describedBy && { "aria-describedby": describedBy },
1060
1185
  ...invalid && { "aria-invalid": true },
1061
1186
  "data-start-icon": Boolean(startIcon),
1062
- className: (0, import_css12.cx)("peer", nativeProps.className, inputStyles.input)
1187
+ className: (0, import_css13.cx)("peer", nativeProps.className, inputStyles.input)
1063
1188
  }
1064
1189
  ),
1065
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Show, { when: invalid, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(InvalidIcon, { className: inputStyles.icon }) }),
1066
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Show, { when: hasEndIcon && !invalid, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: inputStyles.icon, children: endIcon }) })
1190
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Show, { when: invalid, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(InvalidIcon, { className: inputStyles.icon }) }),
1191
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Show, { when: hasEndIcon && !invalid, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: inputStyles.icon, children: endIcon }) })
1067
1192
  ] });
1068
1193
  }
1069
1194
 
1070
1195
  // src/components/Label.tsx
1071
- var import_recipes11 = require("@cerberus/styled-system/recipes");
1072
- var import_css13 = require("@cerberus/styled-system/css");
1073
- var import_patterns6 = require("@cerberus/styled-system/patterns");
1074
- var import_jsx_runtime19 = require("react/jsx-runtime");
1196
+ var import_recipes12 = require("@cerberus/styled-system/recipes");
1197
+ var import_css14 = require("@cerberus/styled-system/css");
1198
+ var import_patterns7 = require("@cerberus/styled-system/patterns");
1199
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1075
1200
  function Label(props) {
1076
1201
  const { hidden, size, ...nativeProps } = props;
1077
1202
  const { required, disabled } = useFieldContext();
1078
1203
  const usage = hidden ? "hidden" : "visible";
1079
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
1204
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1080
1205
  "label",
1081
1206
  {
1082
1207
  ...nativeProps,
1083
1208
  ...disabled && { "data-disabled": true },
1084
- className: (0, import_css13.cx)(
1209
+ className: (0, import_css14.cx)(
1085
1210
  nativeProps.className,
1086
- (0, import_recipes11.label)({ size, usage }),
1087
- (0, import_patterns6.hstack)({
1211
+ (0, import_recipes12.label)({ size, usage }),
1212
+ (0, import_patterns7.hstack)({
1088
1213
  justify: "space-between",
1089
1214
  w: "full"
1090
1215
  })
1091
1216
  ),
1092
1217
  children: [
1093
1218
  props.children,
1094
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Show, { when: required, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1219
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Show, { when: required, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1095
1220
  "span",
1096
1221
  {
1097
- className: (0, import_css13.css)({
1222
+ className: (0, import_css14.css)({
1098
1223
  color: "page.text.100",
1099
1224
  fontSize: "inherit"
1100
1225
  }),
@@ -1107,35 +1232,35 @@ function Label(props) {
1107
1232
  }
1108
1233
 
1109
1234
  // src/components/Legend.tsx
1110
- var import_css14 = require("@cerberus/styled-system/css");
1111
- var import_recipes12 = require("@cerberus-design/styled-system/recipes");
1112
- var import_patterns7 = require("@cerberus-design/styled-system/patterns");
1113
- var import_jsx_runtime20 = require("react/jsx-runtime");
1235
+ var import_css15 = require("@cerberus/styled-system/css");
1236
+ var import_recipes13 = require("@cerberus-design/styled-system/recipes");
1237
+ var import_patterns8 = require("@cerberus-design/styled-system/patterns");
1238
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1114
1239
  function Legend(props) {
1115
1240
  const { size, ...nativeProps } = props;
1116
1241
  const { invalid, ...formState } = useFieldContext();
1117
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1242
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1118
1243
  "legend",
1119
1244
  {
1120
1245
  ...nativeProps,
1121
1246
  ...formState,
1122
1247
  ...invalid && { "aria-invalid": true },
1123
- className: (0, import_css14.cx)(
1248
+ className: (0, import_css15.cx)(
1124
1249
  nativeProps.className,
1125
- (0, import_patterns7.hstack)({
1250
+ (0, import_patterns8.hstack)({
1126
1251
  justify: "space-between",
1127
1252
  w: "full"
1128
1253
  }),
1129
- (0, import_recipes12.label)({
1254
+ (0, import_recipes13.label)({
1130
1255
  size
1131
1256
  })
1132
1257
  ),
1133
1258
  children: [
1134
1259
  nativeProps.children,
1135
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Show, { when: formState.required, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1260
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Show, { when: formState.required, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1136
1261
  "span",
1137
1262
  {
1138
- className: (0, import_css14.css)({
1263
+ className: (0, import_css15.css)({
1139
1264
  color: "page.text.100",
1140
1265
  fontSize: "inherit"
1141
1266
  }),
@@ -1148,16 +1273,16 @@ function Legend(props) {
1148
1273
  }
1149
1274
 
1150
1275
  // src/components/Modal.tsx
1151
- var import_css15 = require("@cerberus/styled-system/css");
1152
- var import_recipes13 = require("@cerberus/styled-system/recipes");
1276
+ var import_css16 = require("@cerberus/styled-system/css");
1277
+ var import_recipes14 = require("@cerberus/styled-system/recipes");
1153
1278
  var import_react6 = require("react");
1154
- var import_jsx_runtime21 = require("react/jsx-runtime");
1279
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1155
1280
  function ModalEl(props, ref) {
1156
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1281
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1157
1282
  "dialog",
1158
1283
  {
1159
1284
  ...props,
1160
- className: (0, import_css15.cx)(props.className, (0, import_recipes13.modal)().dialog),
1285
+ className: (0, import_css16.cx)(props.className, (0, import_recipes14.modal)().dialog),
1161
1286
  ref
1162
1287
  }
1163
1288
  );
@@ -1165,17 +1290,17 @@ function ModalEl(props, ref) {
1165
1290
  var Modal = (0, import_react6.forwardRef)(ModalEl);
1166
1291
 
1167
1292
  // src/components/ModalHeader.tsx
1168
- var import_css16 = require("@cerberus/styled-system/css");
1169
- var import_patterns8 = require("@cerberus/styled-system/patterns");
1170
- var import_jsx_runtime22 = require("react/jsx-runtime");
1293
+ var import_css17 = require("@cerberus/styled-system/css");
1294
+ var import_patterns9 = require("@cerberus/styled-system/patterns");
1295
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1171
1296
  function ModalHeader(props) {
1172
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1297
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1173
1298
  "div",
1174
1299
  {
1175
1300
  ...props,
1176
- className: (0, import_css16.cx)(
1301
+ className: (0, import_css17.cx)(
1177
1302
  props.className,
1178
- (0, import_patterns8.vstack)({
1303
+ (0, import_patterns9.vstack)({
1179
1304
  alignItems: "flex-start",
1180
1305
  gap: "md",
1181
1306
  mb: "md"
@@ -1186,25 +1311,25 @@ function ModalHeader(props) {
1186
1311
  }
1187
1312
 
1188
1313
  // src/components/ModalHeading.tsx
1189
- var import_css17 = require("@cerberus/styled-system/css");
1190
- var import_recipes14 = require("@cerberus/styled-system/recipes");
1191
- var import_jsx_runtime23 = require("react/jsx-runtime");
1314
+ var import_css18 = require("@cerberus/styled-system/css");
1315
+ var import_recipes15 = require("@cerberus/styled-system/recipes");
1316
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1192
1317
  function ModalHeading(props) {
1193
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { ...props, className: (0, import_css17.cx)(props.className, (0, import_recipes14.modal)().heading) });
1318
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { ...props, className: (0, import_css18.cx)(props.className, (0, import_recipes15.modal)().heading) });
1194
1319
  }
1195
1320
 
1196
1321
  // src/components/ModalDescription.tsx
1197
- var import_css18 = require("@cerberus/styled-system/css");
1198
- var import_recipes15 = require("@cerberus/styled-system/recipes");
1199
- var import_jsx_runtime24 = require("react/jsx-runtime");
1322
+ var import_css19 = require("@cerberus/styled-system/css");
1323
+ var import_recipes16 = require("@cerberus/styled-system/recipes");
1324
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1200
1325
  function ModalDescription(props) {
1201
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { ...props, className: (0, import_css18.cx)(props.className, (0, import_recipes15.modal)().description) });
1326
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { ...props, className: (0, import_css19.cx)(props.className, (0, import_recipes16.modal)().description) });
1202
1327
  }
1203
1328
 
1204
1329
  // src/components/NavMenuTrigger.tsx
1205
1330
  var import_react8 = require("react");
1206
- var import_css20 = require("@cerberus/styled-system/css");
1207
- var import_recipes16 = require("@cerberus/styled-system/recipes");
1331
+ var import_css21 = require("@cerberus/styled-system/css");
1332
+ var import_recipes17 = require("@cerberus/styled-system/recipes");
1208
1333
 
1209
1334
  // src/aria-helpers/nav-menu.aria.ts
1210
1335
  function createNavTriggerProps(values) {
@@ -1215,9 +1340,9 @@ function createNavTriggerProps(values) {
1215
1340
  }
1216
1341
 
1217
1342
  // src/context/navMenu.tsx
1218
- var import_css19 = require("@cerberus/styled-system/css");
1343
+ var import_css20 = require("@cerberus/styled-system/css");
1219
1344
  var import_react7 = require("react");
1220
- var import_jsx_runtime25 = require("react/jsx-runtime");
1345
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1221
1346
  var NavMenuContext = (0, import_react7.createContext)(null);
1222
1347
  function NavMenu(props) {
1223
1348
  const triggerRef = (0, import_react7.useRef)(null);
@@ -1235,10 +1360,10 @@ function NavMenu(props) {
1235
1360
  }),
1236
1361
  [expanded, handleToggle]
1237
1362
  );
1238
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(NavMenuContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1363
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(NavMenuContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1239
1364
  "nav",
1240
1365
  {
1241
- className: (0, import_css19.css)({
1366
+ className: (0, import_css20.css)({
1242
1367
  position: "relative"
1243
1368
  }),
1244
1369
  children: props.children
@@ -1254,7 +1379,7 @@ function useNavMenuContext() {
1254
1379
  }
1255
1380
 
1256
1381
  // src/components/NavMenuTrigger.tsx
1257
- var import_jsx_runtime26 = require("react/jsx-runtime");
1382
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1258
1383
  function NavMenuTrigger(props) {
1259
1384
  const {
1260
1385
  as,
@@ -1280,18 +1405,18 @@ function NavMenuTrigger(props) {
1280
1405
  },
1281
1406
  [onClick, onToggle]
1282
1407
  );
1283
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1408
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1284
1409
  Show,
1285
1410
  {
1286
1411
  when: hasAs,
1287
- fallback: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1412
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1288
1413
  "button",
1289
1414
  {
1290
1415
  ...nativeProps,
1291
1416
  ...ariaProps,
1292
- className: (0, import_css20.cx)(
1417
+ className: (0, import_css21.cx)(
1293
1418
  nativeProps.className,
1294
- (0, import_recipes16.button)({
1419
+ (0, import_recipes17.button)({
1295
1420
  palette,
1296
1421
  usage,
1297
1422
  shape
@@ -1302,7 +1427,7 @@ function NavMenuTrigger(props) {
1302
1427
  children: props.children
1303
1428
  }
1304
1429
  ),
1305
- children: hasAs && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1430
+ children: hasAs && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1306
1431
  AsSub,
1307
1432
  {
1308
1433
  ...nativeProps,
@@ -1317,9 +1442,9 @@ function NavMenuTrigger(props) {
1317
1442
 
1318
1443
  // src/components/NavMenuList.tsx
1319
1444
  var import_react9 = require("react");
1320
- var import_css21 = require("@cerberus/styled-system/css");
1321
- var import_patterns9 = require("@cerberus/styled-system/patterns");
1322
- var import_jsx_runtime27 = require("react/jsx-runtime");
1445
+ var import_css22 = require("@cerberus/styled-system/css");
1446
+ var import_patterns10 = require("@cerberus/styled-system/patterns");
1447
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1323
1448
  function getPosition(position) {
1324
1449
  const defaultPositions = {
1325
1450
  left: "auto",
@@ -1340,7 +1465,7 @@ function getPosition(position) {
1340
1465
  return defaultPositions;
1341
1466
  }
1342
1467
  }
1343
- var navListStyles = (0, import_patterns9.vstack)({
1468
+ var navListStyles = (0, import_patterns10.vstack)({
1344
1469
  alignItems: "flex-start",
1345
1470
  bgColor: "page.surface.100",
1346
1471
  boxShadow: "lg",
@@ -1377,12 +1502,12 @@ function NavMenuList(props) {
1377
1502
  () => getPosition(position ?? "bottom"),
1378
1503
  [position]
1379
1504
  );
1380
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Show, { when: expanded, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1505
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Show, { when: expanded, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1381
1506
  "ul",
1382
1507
  {
1383
1508
  ...nativeProps,
1384
1509
  "data-position": position ?? "bottom",
1385
- className: (0, import_css21.cx)(nativeProps.className, navListStyles),
1510
+ className: (0, import_css22.cx)(nativeProps.className, navListStyles),
1386
1511
  ref: menuRef,
1387
1512
  style: locationStyles
1388
1513
  }
@@ -1390,29 +1515,29 @@ function NavMenuList(props) {
1390
1515
  }
1391
1516
 
1392
1517
  // src/components/NavMenuLink.tsx
1393
- var import_css22 = require("@cerberus/styled-system/css");
1394
- var import_jsx_runtime28 = require("react/jsx-runtime");
1518
+ var import_css23 = require("@cerberus/styled-system/css");
1519
+ var import_jsx_runtime29 = require("react/jsx-runtime");
1395
1520
  function NavMenuLink(props) {
1396
1521
  const { as, ...nativeProps } = props;
1397
1522
  const hasAs = Boolean(as);
1398
1523
  const AsSub = as;
1399
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1524
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1400
1525
  "li",
1401
1526
  {
1402
- className: (0, import_css22.css)({
1527
+ className: (0, import_css23.css)({
1403
1528
  w: "full"
1404
1529
  }),
1405
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1530
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1406
1531
  Show,
1407
1532
  {
1408
1533
  when: hasAs,
1409
- fallback: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1534
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1410
1535
  "a",
1411
1536
  {
1412
1537
  ...nativeProps,
1413
- className: (0, import_css22.cx)(
1538
+ className: (0, import_css23.cx)(
1414
1539
  nativeProps.className,
1415
- (0, import_css22.css)({
1540
+ (0, import_css23.css)({
1416
1541
  color: "action.navigation.initial",
1417
1542
  textStyle: "link",
1418
1543
  _hover: {
@@ -1422,7 +1547,7 @@ function NavMenuLink(props) {
1422
1547
  )
1423
1548
  }
1424
1549
  ),
1425
- children: hasAs && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(AsSub, { ...nativeProps })
1550
+ children: hasAs && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(AsSub, { ...nativeProps })
1426
1551
  }
1427
1552
  )
1428
1553
  }
@@ -1430,9 +1555,9 @@ function NavMenuLink(props) {
1430
1555
  }
1431
1556
 
1432
1557
  // src/components/Notification.tsx
1433
- var import_css23 = require("@cerberus/styled-system/css");
1434
- var import_patterns10 = require("@cerberus/styled-system/patterns");
1435
- var import_recipes17 = require("@cerberus/styled-system/recipes");
1558
+ var import_css24 = require("@cerberus/styled-system/css");
1559
+ var import_patterns11 = require("@cerberus/styled-system/patterns");
1560
+ var import_recipes18 = require("@cerberus/styled-system/recipes");
1436
1561
  var import_react10 = require("react");
1437
1562
  var import_icons2 = require("@cerberus/icons");
1438
1563
 
@@ -1463,25 +1588,25 @@ function trapFocus(modalRef) {
1463
1588
  }
1464
1589
 
1465
1590
  // src/components/Notification.tsx
1466
- var import_jsx_runtime29 = require("react/jsx-runtime");
1591
+ var import_jsx_runtime30 = require("react/jsx-runtime");
1467
1592
  function MatchNotificationIcon(props) {
1468
1593
  const palette = props.palette || "info";
1469
1594
  const key = `${palette}Notification`;
1470
1595
  const Icon = $cerberusIcons[key];
1471
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, {});
1596
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon, {});
1472
1597
  }
1473
1598
  function Notification(props) {
1474
1599
  const { children, palette, onClose, ...nativeProps } = props;
1475
1600
  const ref = (0, import_react10.useRef)(null);
1476
1601
  const onKeyDown = trapFocus(ref);
1477
- const styles = (0, import_recipes17.notification)({ palette });
1478
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
1602
+ const styles = (0, import_recipes18.notification)({ palette });
1603
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1479
1604
  "dialog",
1480
1605
  {
1481
1606
  ...nativeProps,
1482
- className: (0, import_css23.cx)(
1607
+ className: (0, import_css24.cx)(
1483
1608
  nativeProps.className,
1484
- (0, import_patterns10.hstack)({
1609
+ (0, import_patterns11.hstack)({
1485
1610
  position: "relative",
1486
1611
  gap: "4"
1487
1612
  }),
@@ -1490,11 +1615,11 @@ function Notification(props) {
1490
1615
  onKeyDown,
1491
1616
  ref,
1492
1617
  children: [
1493
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(MatchNotificationIcon, { palette }) }),
1494
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1618
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(MatchNotificationIcon, { palette }) }),
1619
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1495
1620
  "div",
1496
1621
  {
1497
- className: (0, import_patterns10.vstack)({
1622
+ className: (0, import_patterns11.vstack)({
1498
1623
  alignItems: "flex-start",
1499
1624
  gap: "0",
1500
1625
  py: "2"
@@ -1502,14 +1627,14 @@ function Notification(props) {
1502
1627
  children
1503
1628
  }
1504
1629
  ),
1505
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1630
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1506
1631
  "button",
1507
1632
  {
1508
1633
  "aria-label": "Close",
1509
1634
  className: styles.close,
1510
1635
  onClick: onClose,
1511
1636
  value: props.id,
1512
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_icons2.Close, {})
1637
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_icons2.Close, {})
1513
1638
  }
1514
1639
  )
1515
1640
  ]
@@ -1518,26 +1643,26 @@ function Notification(props) {
1518
1643
  }
1519
1644
 
1520
1645
  // src/components/NotificationHeading.tsx
1521
- var import_css24 = require("@cerberus/styled-system/css");
1522
- var import_recipes18 = require("@cerberus/styled-system/recipes");
1523
- var import_jsx_runtime30 = require("react/jsx-runtime");
1646
+ var import_css25 = require("@cerberus/styled-system/css");
1647
+ var import_recipes19 = require("@cerberus/styled-system/recipes");
1648
+ var import_jsx_runtime31 = require("react/jsx-runtime");
1524
1649
  function NotificationHeading(props) {
1525
1650
  const { palette, ...nativeProps } = props;
1526
- const styles = (0, import_recipes18.notification)({ palette });
1527
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("p", { className: (0, import_css24.cx)(nativeProps.className, styles.heading), ...nativeProps });
1651
+ const styles = (0, import_recipes19.notification)({ palette });
1652
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("p", { className: (0, import_css25.cx)(nativeProps.className, styles.heading), ...nativeProps });
1528
1653
  }
1529
1654
 
1530
1655
  // src/components/NotificationDescription.tsx
1531
- var import_css25 = require("@cerberus/styled-system/css");
1532
- var import_recipes19 = require("@cerberus/styled-system/recipes");
1533
- var import_jsx_runtime31 = require("react/jsx-runtime");
1656
+ var import_css26 = require("@cerberus/styled-system/css");
1657
+ var import_recipes20 = require("@cerberus/styled-system/recipes");
1658
+ var import_jsx_runtime32 = require("react/jsx-runtime");
1534
1659
  function NotificationDescription(props) {
1535
1660
  const { palette, ...nativeProps } = props;
1536
- const styles = (0, import_recipes19.notification)({ palette });
1537
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1661
+ const styles = (0, import_recipes20.notification)({ palette });
1662
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1538
1663
  "p",
1539
1664
  {
1540
- className: (0, import_css25.cx)(nativeProps.className, styles.description),
1665
+ className: (0, import_css26.cx)(nativeProps.className, styles.description),
1541
1666
  ...nativeProps
1542
1667
  }
1543
1668
  );
@@ -1554,33 +1679,33 @@ function Portal(props) {
1554
1679
  }
1555
1680
 
1556
1681
  // src/components/Radio.tsx
1557
- var import_css26 = require("@cerberus/styled-system/css");
1558
- var import_patterns11 = require("@cerberus/styled-system/patterns");
1559
- var import_recipes20 = require("@cerberus/styled-system/recipes");
1560
- var import_jsx_runtime32 = require("react/jsx-runtime");
1682
+ var import_css27 = require("@cerberus/styled-system/css");
1683
+ var import_patterns12 = require("@cerberus/styled-system/patterns");
1684
+ var import_recipes21 = require("@cerberus/styled-system/recipes");
1685
+ var import_jsx_runtime33 = require("react/jsx-runtime");
1561
1686
  function Radio(props) {
1562
1687
  const { children, size, ...nativeProps } = props;
1563
1688
  const { invalid, ...state } = useFieldContext();
1564
- const styles = (0, import_recipes20.radio)({ size });
1565
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
1689
+ const styles = (0, import_recipes21.radio)({ size });
1690
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
1566
1691
  "div",
1567
1692
  {
1568
- className: (0, import_css26.cx)(
1693
+ className: (0, import_css27.cx)(
1569
1694
  "group",
1570
- (0, import_patterns11.hstack)({
1695
+ (0, import_patterns12.hstack)({
1571
1696
  gap: "sm"
1572
1697
  }),
1573
1698
  styles.root
1574
1699
  ),
1575
1700
  tabIndex: 0,
1576
1701
  children: [
1577
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1702
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1578
1703
  "input",
1579
1704
  {
1580
1705
  ...nativeProps,
1581
1706
  ...state,
1582
1707
  ...invalid && { "aria-invalid": true },
1583
- className: (0, import_css26.cx)(nativeProps.className, styles.input),
1708
+ className: (0, import_css27.cx)(nativeProps.className, styles.input),
1584
1709
  tabIndex: -1,
1585
1710
  type: "radio"
1586
1711
  }
@@ -1592,19 +1717,19 @@ function Radio(props) {
1592
1717
  }
1593
1718
 
1594
1719
  // src/components/Select.tsx
1595
- var import_css27 = require("@cerberus/styled-system/css");
1596
- var import_patterns12 = require("@cerberus/styled-system/patterns");
1597
- var import_recipes21 = require("@cerberus/styled-system/recipes");
1598
- var import_jsx_runtime33 = require("react/jsx-runtime");
1720
+ var import_css28 = require("@cerberus/styled-system/css");
1721
+ var import_patterns13 = require("@cerberus/styled-system/patterns");
1722
+ var import_recipes22 = require("@cerberus/styled-system/recipes");
1723
+ var import_jsx_runtime34 = require("react/jsx-runtime");
1599
1724
  function Select(props) {
1600
1725
  const { describedBy, size, ...nativeProps } = props;
1601
1726
  const { invalid, ...fieldStates } = useFieldContext();
1602
1727
  const { invalid: InvalidIcon, selectArrow: SelectArrow } = $cerberusIcons;
1603
- const styles = (0, import_recipes21.select)({
1728
+ const styles = (0, import_recipes22.select)({
1604
1729
  size
1605
1730
  });
1606
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: styles.root, children: [
1607
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1731
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: styles.root, children: [
1732
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1608
1733
  "select",
1609
1734
  {
1610
1735
  ...nativeProps,
@@ -1614,38 +1739,38 @@ function Select(props) {
1614
1739
  className: styles.input
1615
1740
  }
1616
1741
  ),
1617
- /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
1742
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
1618
1743
  "span",
1619
1744
  {
1620
- className: (0, import_css27.cx)(
1745
+ className: (0, import_css28.cx)(
1621
1746
  styles.iconStack,
1622
- (0, import_patterns12.hstack)({
1747
+ (0, import_patterns13.hstack)({
1623
1748
  gap: "2"
1624
1749
  })
1625
1750
  ),
1626
1751
  children: [
1627
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Show, { when: invalid, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1752
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Show, { when: invalid, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1628
1753
  "span",
1629
1754
  {
1630
1755
  ...invalid && { "data-invalid": true },
1631
1756
  className: styles.stateIcon,
1632
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InvalidIcon, {})
1757
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(InvalidIcon, {})
1633
1758
  }
1634
1759
  ) }),
1635
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: styles.arrowIcon, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectArrow, {}) })
1760
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: styles.arrowIcon, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectArrow, {}) })
1636
1761
  ]
1637
1762
  }
1638
1763
  )
1639
1764
  ] });
1640
1765
  }
1641
1766
  function Option(props) {
1642
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("option", { ...props });
1767
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("option", { ...props });
1643
1768
  }
1644
1769
 
1645
1770
  // src/components/Spinner.tsx
1646
- var import_jsx_runtime34 = require("react/jsx-runtime");
1771
+ var import_jsx_runtime35 = require("react/jsx-runtime");
1647
1772
  function Spinner(props) {
1648
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1773
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1649
1774
  "svg",
1650
1775
  {
1651
1776
  "aria-busy": "true",
@@ -1655,7 +1780,7 @@ function Spinner(props) {
1655
1780
  width: props.size,
1656
1781
  viewBox: "0 0 24 24",
1657
1782
  ...props,
1658
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
1783
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
1659
1784
  "g",
1660
1785
  {
1661
1786
  fill: "none",
@@ -1664,14 +1789,14 @@ function Spinner(props) {
1664
1789
  strokeLinejoin: "round",
1665
1790
  strokeWidth: 2,
1666
1791
  children: [
1667
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
1792
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
1668
1793
  "path",
1669
1794
  {
1670
1795
  strokeDasharray: 16,
1671
1796
  strokeDashoffset: 16,
1672
1797
  d: "M12 3c4.97 0 9 4.03 9 9",
1673
1798
  children: [
1674
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1799
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1675
1800
  "animate",
1676
1801
  {
1677
1802
  fill: "freeze",
@@ -1680,7 +1805,7 @@ function Spinner(props) {
1680
1805
  values: "16;0"
1681
1806
  }
1682
1807
  ),
1683
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1808
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1684
1809
  "animateTransform",
1685
1810
  {
1686
1811
  attributeName: "transform",
@@ -1693,14 +1818,14 @@ function Spinner(props) {
1693
1818
  ]
1694
1819
  }
1695
1820
  ),
1696
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1821
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1697
1822
  "path",
1698
1823
  {
1699
1824
  strokeDasharray: 64,
1700
1825
  strokeDashoffset: 64,
1701
1826
  strokeOpacity: 0.3,
1702
1827
  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",
1703
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1828
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1704
1829
  "animate",
1705
1830
  {
1706
1831
  fill: "freeze",
@@ -1722,9 +1847,9 @@ function Spinner(props) {
1722
1847
  var import_react13 = require("react");
1723
1848
 
1724
1849
  // src/context/tabs.tsx
1725
- var import_recipes22 = require("@cerberus/styled-system/recipes");
1850
+ var import_recipes23 = require("@cerberus/styled-system/recipes");
1726
1851
  var import_react11 = require("react");
1727
- var import_jsx_runtime35 = require("react/jsx-runtime");
1852
+ var import_jsx_runtime36 = require("react/jsx-runtime");
1728
1853
  var TabsContext = (0, import_react11.createContext)(null);
1729
1854
  function Tabs(props) {
1730
1855
  const { cache, active, id, palette } = props;
@@ -1738,7 +1863,7 @@ function Tabs(props) {
1738
1863
  tabs: tabsList,
1739
1864
  id: uuid,
1740
1865
  active: activeTab,
1741
- styles: (0, import_recipes22.tabs)({ palette }),
1866
+ styles: (0, import_recipes23.tabs)({ palette }),
1742
1867
  onTabUpdate: setActiveTab
1743
1868
  }),
1744
1869
  [activeTab, setActiveTab, palette, uuid, tabsList]
@@ -1756,7 +1881,7 @@ function Tabs(props) {
1756
1881
  window.localStorage.setItem(uuid, activeTab);
1757
1882
  }
1758
1883
  }, [activeTab, cache]);
1759
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(TabsContext.Provider, { value, children: props.children });
1884
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(TabsContext.Provider, { value, children: props.children });
1760
1885
  }
1761
1886
  function useTabsContext() {
1762
1887
  const context = (0, import_react11.useContext)(TabsContext);
@@ -1767,7 +1892,7 @@ function useTabsContext() {
1767
1892
  }
1768
1893
 
1769
1894
  // src/components/Tab.tsx
1770
- var import_css28 = require("@cerberus/styled-system/css");
1895
+ var import_css29 = require("@cerberus/styled-system/css");
1771
1896
 
1772
1897
  // src/aria-helpers/tabs.aria.ts
1773
1898
  var import_react12 = require("react");
@@ -1826,7 +1951,7 @@ function useTabsKeyboardNavigation() {
1826
1951
  }
1827
1952
 
1828
1953
  // src/components/Tab.tsx
1829
- var import_jsx_runtime36 = require("react/jsx-runtime");
1954
+ var import_jsx_runtime37 = require("react/jsx-runtime");
1830
1955
  function Tab(props) {
1831
1956
  const { value, ...nativeProps } = props;
1832
1957
  const { active, onTabUpdate, styles } = useTabsContext();
@@ -1838,7 +1963,7 @@ function Tab(props) {
1838
1963
  (_a = props.onClick) == null ? void 0 : _a.call(props, e);
1839
1964
  startTransition(() => onTabUpdate(e.currentTarget.value));
1840
1965
  }
1841
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1966
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1842
1967
  "button",
1843
1968
  {
1844
1969
  ...nativeProps,
@@ -1847,7 +1972,7 @@ function Tab(props) {
1847
1972
  "aria-busy": isPending,
1848
1973
  "aria-selected": isActive,
1849
1974
  id: `tab:${value}`,
1850
- className: (0, import_css28.cx)(nativeProps.className, styles.tab),
1975
+ className: (0, import_css29.cx)(nativeProps.className, styles.tab),
1851
1976
  onClick: handleClick,
1852
1977
  role: "tab",
1853
1978
  ref,
@@ -1857,20 +1982,20 @@ function Tab(props) {
1857
1982
  }
1858
1983
 
1859
1984
  // src/components/TabList.tsx
1860
- var import_css29 = require("@cerberus/styled-system/css");
1861
- var import_patterns13 = require("@cerberus/styled-system/patterns");
1862
- var import_jsx_runtime37 = require("react/jsx-runtime");
1985
+ var import_css30 = require("@cerberus/styled-system/css");
1986
+ var import_patterns14 = require("@cerberus/styled-system/patterns");
1987
+ var import_jsx_runtime38 = require("react/jsx-runtime");
1863
1988
  function TabList(props) {
1864
1989
  const { description, ...nativeProps } = props;
1865
1990
  const { id, styles } = useTabsContext();
1866
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1991
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1867
1992
  "div",
1868
1993
  {
1869
1994
  ...nativeProps,
1870
1995
  "aria-label": description,
1871
- className: (0, import_css29.cx)(
1996
+ className: (0, import_css30.cx)(
1872
1997
  nativeProps.className,
1873
- (0, import_patterns13.hstack)({
1998
+ (0, import_patterns14.hstack)({
1874
1999
  gap: "0"
1875
2000
  }),
1876
2001
  styles.tabList
@@ -1882,20 +2007,20 @@ function TabList(props) {
1882
2007
  }
1883
2008
 
1884
2009
  // src/components/TabPanel.tsx
1885
- var import_css30 = require("@cerberus/styled-system/css");
2010
+ var import_css31 = require("@cerberus/styled-system/css");
1886
2011
  var import_react14 = require("react");
1887
- var import_jsx_runtime38 = require("react/jsx-runtime");
2012
+ var import_jsx_runtime39 = require("react/jsx-runtime");
1888
2013
  function TabPanel(props) {
1889
2014
  const { tab, ...nativeProps } = props;
1890
2015
  const { active, styles } = useTabsContext();
1891
2016
  const isActive = (0, import_react14.useMemo)(() => active === tab, [active, tab]);
1892
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Show, { when: isActive, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2017
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Show, { when: isActive, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1893
2018
  "div",
1894
2019
  {
1895
2020
  ...nativeProps,
1896
2021
  ...isActive && { tabIndex: 0 },
1897
2022
  "aria-labelledby": `tab:${tab}`,
1898
- className: (0, import_css30.cx)(nativeProps.className, styles.tabPanel),
2023
+ className: (0, import_css31.cx)(nativeProps.className, styles.tabPanel),
1899
2024
  id: `panel:${tab}`,
1900
2025
  role: "tabpanel"
1901
2026
  }
@@ -1903,60 +2028,60 @@ function TabPanel(props) {
1903
2028
  }
1904
2029
 
1905
2030
  // src/components/Table.tsx
1906
- var import_css31 = require("@cerberus/styled-system/css");
1907
- var import_recipes23 = require("@cerberus/styled-system/recipes");
1908
- var import_jsx_runtime39 = require("react/jsx-runtime");
2031
+ var import_css32 = require("@cerberus/styled-system/css");
2032
+ var import_recipes24 = require("@cerberus/styled-system/recipes");
2033
+ var import_jsx_runtime40 = require("react/jsx-runtime");
1909
2034
  function Table(props) {
1910
2035
  const { caption, children, ...nativeProps } = props;
1911
- const styles = (0, import_recipes23.table)();
1912
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: styles.container, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2036
+ const styles = (0, import_recipes24.table)();
2037
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: styles.container, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
1913
2038
  "table",
1914
2039
  {
1915
2040
  ...nativeProps,
1916
- className: (0, import_css31.cx)(nativeProps.className, styles.table),
2041
+ className: (0, import_css32.cx)(nativeProps.className, styles.table),
1917
2042
  children: [
1918
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("caption", { className: styles.caption, children: caption }),
2043
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("caption", { className: styles.caption, children: caption }),
1919
2044
  children
1920
2045
  ]
1921
2046
  }
1922
2047
  ) });
1923
2048
  }
1924
2049
  function Tr(props) {
1925
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("tr", { ...props });
2050
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("tr", { ...props });
1926
2051
  }
1927
2052
 
1928
2053
  // src/components/Thead.tsx
1929
- var import_css32 = require("@cerberus/styled-system/css");
1930
- var import_recipes24 = require("@cerberus/styled-system/recipes");
1931
- var import_jsx_runtime40 = require("react/jsx-runtime");
2054
+ var import_css33 = require("@cerberus/styled-system/css");
2055
+ var import_recipes25 = require("@cerberus/styled-system/recipes");
2056
+ var import_jsx_runtime41 = require("react/jsx-runtime");
1932
2057
  function Thead(props) {
1933
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("thead", { ...props, className: (0, import_css32.cx)(props.className, (0, import_recipes24.thead)()) });
2058
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("thead", { ...props, className: (0, import_css33.cx)(props.className, (0, import_recipes25.thead)()) });
1934
2059
  }
1935
2060
 
1936
2061
  // src/components/Th.tsx
1937
- var import_css33 = require("@cerberus/styled-system/css");
1938
- var import_recipes25 = require("@cerberus/styled-system/recipes");
1939
- var import_jsx_runtime41 = require("react/jsx-runtime");
2062
+ var import_css34 = require("@cerberus/styled-system/css");
2063
+ var import_recipes26 = require("@cerberus/styled-system/recipes");
2064
+ var import_jsx_runtime42 = require("react/jsx-runtime");
1940
2065
  function Th(props) {
1941
2066
  const { size, onClick, ...nativeProps } = props;
1942
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2067
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1943
2068
  Show,
1944
2069
  {
1945
2070
  when: Boolean(onClick),
1946
- fallback: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2071
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1947
2072
  "th",
1948
2073
  {
1949
2074
  ...nativeProps,
1950
- className: (0, import_css33.cx)(nativeProps.className, (0, import_recipes25.th)({ size }))
2075
+ className: (0, import_css34.cx)(nativeProps.className, (0, import_recipes26.th)({ size }))
1951
2076
  }
1952
2077
  ),
1953
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("th", { ...nativeProps, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2078
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("th", { ...nativeProps, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
1954
2079
  "button",
1955
2080
  {
1956
- className: (0, import_css33.cx)(
2081
+ className: (0, import_css34.cx)(
1957
2082
  nativeProps.className,
1958
- (0, import_recipes25.th)({ size }),
1959
- (0, import_css33.css)({
2083
+ (0, import_recipes26.th)({ size }),
2084
+ (0, import_css34.css)({
1960
2085
  alignItems: "center",
1961
2086
  display: "inline-flex",
1962
2087
  justifyContent: "space-between",
@@ -1976,18 +2101,18 @@ function Th(props) {
1976
2101
  }
1977
2102
 
1978
2103
  // src/components/Td.tsx
1979
- var import_css34 = require("@cerberus/styled-system/css");
1980
- var import_recipes26 = require("@cerberus/styled-system/recipes");
1981
- var import_jsx_runtime42 = require("react/jsx-runtime");
2104
+ var import_css35 = require("@cerberus/styled-system/css");
2105
+ var import_recipes27 = require("@cerberus/styled-system/recipes");
2106
+ var import_jsx_runtime43 = require("react/jsx-runtime");
1982
2107
  function Td(props) {
1983
2108
  const { size, ...nativeProps } = props;
1984
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2109
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1985
2110
  "td",
1986
2111
  {
1987
2112
  ...nativeProps,
1988
- className: (0, import_css34.cx)(
2113
+ className: (0, import_css35.cx)(
1989
2114
  nativeProps.className,
1990
- (0, import_recipes26.td)({
2115
+ (0, import_recipes27.td)({
1991
2116
  size
1992
2117
  })
1993
2118
  )
@@ -1996,18 +2121,18 @@ function Td(props) {
1996
2121
  }
1997
2122
 
1998
2123
  // src/components/Tbody.tsx
1999
- var import_recipes27 = require("@cerberus/styled-system/recipes");
2000
- var import_css35 = require("@cerberus/styled-system/css");
2001
- var import_jsx_runtime43 = require("react/jsx-runtime");
2124
+ var import_recipes28 = require("@cerberus/styled-system/recipes");
2125
+ var import_css36 = require("@cerberus/styled-system/css");
2126
+ var import_jsx_runtime44 = require("react/jsx-runtime");
2002
2127
  function Tbody(props) {
2003
2128
  const { decoration, ...nativeProps } = props;
2004
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2129
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2005
2130
  "tbody",
2006
2131
  {
2007
2132
  ...nativeProps,
2008
- className: (0, import_css35.cx)(
2133
+ className: (0, import_css36.cx)(
2009
2134
  nativeProps.className,
2010
- (0, import_recipes27.tbody)({
2135
+ (0, import_recipes28.tbody)({
2011
2136
  decoration
2012
2137
  })
2013
2138
  )
@@ -2016,9 +2141,9 @@ function Tbody(props) {
2016
2141
  }
2017
2142
 
2018
2143
  // src/components/Tag.tsx
2019
- var import_css36 = require("@cerberus/styled-system/css");
2020
- var import_recipes28 = require("@cerberus/styled-system/recipes");
2021
- var import_jsx_runtime44 = require("react/jsx-runtime");
2144
+ var import_css37 = require("@cerberus/styled-system/css");
2145
+ var import_recipes29 = require("@cerberus/styled-system/recipes");
2146
+ var import_jsx_runtime45 = require("react/jsx-runtime");
2022
2147
  function Tag(props) {
2023
2148
  const { shape: initShape, gradient, onClick, usage, ...nativeProps } = props;
2024
2149
  const palette = (props == null ? void 0 : props.palette) ?? "page";
@@ -2026,13 +2151,13 @@ function Tag(props) {
2026
2151
  const shape = isClosable ? "pill" : initShape;
2027
2152
  const closableStyles = isClosable ? closableCss : "";
2028
2153
  const { close: Close2 } = $cerberusIcons;
2029
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2154
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
2030
2155
  "span",
2031
2156
  {
2032
2157
  ...nativeProps,
2033
- className: (0, import_css36.cx)(
2158
+ className: (0, import_css37.cx)(
2034
2159
  nativeProps.className,
2035
- (0, import_recipes28.tag)({
2160
+ (0, import_recipes29.tag)({
2036
2161
  gradient,
2037
2162
  palette,
2038
2163
  shape,
@@ -2042,47 +2167,47 @@ function Tag(props) {
2042
2167
  ),
2043
2168
  children: [
2044
2169
  props.children,
2045
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Show, { when: isClosable, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2170
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Show, { when: isClosable, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2046
2171
  "button",
2047
2172
  {
2048
2173
  "aria-label": "Close",
2049
- className: (0, import_recipes28.iconButton)({
2174
+ className: (0, import_recipes29.iconButton)({
2050
2175
  palette: "action",
2051
2176
  usage: "filled",
2052
2177
  size: "sm"
2053
2178
  }),
2054
2179
  onClick,
2055
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Close2, {})
2180
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Close2, {})
2056
2181
  }
2057
2182
  ) })
2058
2183
  ]
2059
2184
  }
2060
2185
  );
2061
2186
  }
2062
- var closableCss = (0, import_css36.css)({
2187
+ var closableCss = (0, import_css37.css)({
2063
2188
  bgColor: "action.bg.active",
2064
2189
  color: "action.text.initial",
2065
2190
  paddingInlineEnd: "0"
2066
2191
  });
2067
2192
 
2068
2193
  // src/components/Textarea.tsx
2069
- var import_css37 = require("@cerberus/styled-system/css");
2070
- var import_recipes29 = require("@cerberus/styled-system/recipes");
2071
- var import_jsx_runtime45 = require("react/jsx-runtime");
2194
+ var import_css38 = require("@cerberus/styled-system/css");
2195
+ var import_recipes30 = require("@cerberus/styled-system/recipes");
2196
+ var import_jsx_runtime46 = require("react/jsx-runtime");
2072
2197
  function Textarea(props) {
2073
2198
  const { describedBy, ...nativeProps } = props;
2074
2199
  const { invalid, ...fieldState } = useFieldContext();
2075
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2200
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2076
2201
  "textarea",
2077
2202
  {
2078
2203
  ...nativeProps,
2079
2204
  ...fieldState,
2080
2205
  ...describedBy && { "aria-describedby": describedBy },
2081
2206
  ...invalid && { "aria-invalid": true },
2082
- className: (0, import_css37.cx)(
2207
+ className: (0, import_css38.cx)(
2083
2208
  props.className,
2084
- (0, import_recipes29.input)().input,
2085
- (0, import_css37.css)({
2209
+ (0, import_recipes30.input)().input,
2210
+ (0, import_css38.css)({
2086
2211
  pxi: "2",
2087
2212
  py: "2",
2088
2213
  resize: "vertical"
@@ -2094,43 +2219,43 @@ function Textarea(props) {
2094
2219
  }
2095
2220
 
2096
2221
  // src/components/Toggle.tsx
2097
- var import_css38 = require("@cerberus/styled-system/css");
2098
- var import_patterns14 = require("@cerberus/styled-system/patterns");
2099
- var import_recipes30 = require("@cerberus/styled-system/recipes");
2100
- var import_jsx_runtime46 = require("react/jsx-runtime");
2222
+ var import_css39 = require("@cerberus/styled-system/css");
2223
+ var import_patterns15 = require("@cerberus/styled-system/patterns");
2224
+ var import_recipes31 = require("@cerberus/styled-system/recipes");
2225
+ var import_jsx_runtime47 = require("react/jsx-runtime");
2101
2226
  function Toggle(props) {
2102
2227
  const { size, describedBy, ...nativeProps } = props;
2103
- const styles = (0, import_recipes30.toggle)({ size });
2228
+ const styles = (0, import_recipes31.toggle)({ size });
2104
2229
  const { invalid, ...state } = useFieldContext();
2105
2230
  const Icon = $cerberusIcons.toggleChecked;
2106
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
2231
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
2107
2232
  "span",
2108
2233
  {
2109
- className: (0, import_css38.cx)("group", styles.track, (0, import_patterns14.hstack)()),
2234
+ className: (0, import_css39.cx)("group", styles.track, (0, import_patterns15.hstack)()),
2110
2235
  "data-checked": props.checked || props.defaultChecked,
2111
2236
  children: [
2112
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2237
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2113
2238
  "input",
2114
2239
  {
2115
2240
  ...nativeProps,
2116
2241
  ...state,
2117
2242
  ...describedBy && { "aria-describedby": describedBy },
2118
2243
  ...invalid && { "aria-invalid": true },
2119
- className: (0, import_css38.cx)("peer", styles.input),
2244
+ className: (0, import_css39.cx)("peer", styles.input),
2120
2245
  role: "switch",
2121
2246
  type: "checkbox"
2122
2247
  }
2123
2248
  ),
2124
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2249
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2125
2250
  "span",
2126
2251
  {
2127
- className: (0, import_css38.cx)(
2252
+ className: (0, import_css39.cx)(
2128
2253
  styles.thumb,
2129
- (0, import_patterns14.vstack)({
2254
+ (0, import_patterns15.vstack)({
2130
2255
  justify: "center"
2131
2256
  })
2132
2257
  ),
2133
- children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Icon, {})
2258
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Icon, {})
2134
2259
  }
2135
2260
  )
2136
2261
  ]
@@ -2140,8 +2265,8 @@ function Toggle(props) {
2140
2265
 
2141
2266
  // src/context/confirm-modal.tsx
2142
2267
  var import_react16 = require("react");
2143
- var import_css39 = require("@cerberus/styled-system/css");
2144
- var import_patterns15 = require("@cerberus/styled-system/patterns");
2268
+ var import_css40 = require("@cerberus/styled-system/css");
2269
+ var import_patterns16 = require("@cerberus/styled-system/patterns");
2145
2270
 
2146
2271
  // src/hooks/useModal.ts
2147
2272
  var import_react15 = require("react");
@@ -2169,7 +2294,7 @@ function useModal() {
2169
2294
  }
2170
2295
 
2171
2296
  // src/context/confirm-modal.tsx
2172
- var import_jsx_runtime47 = require("react/jsx-runtime");
2297
+ var import_jsx_runtime48 = require("react/jsx-runtime");
2173
2298
  var ConfirmModalContext = (0, import_react16.createContext)(null);
2174
2299
  function ConfirmModal(props) {
2175
2300
  const { modalRef, show, close } = useModal();
@@ -2209,36 +2334,36 @@ function ConfirmModal(props) {
2209
2334
  }),
2210
2335
  [handleShow]
2211
2336
  );
2212
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(ConfirmModalContext.Provider, { value, children: [
2337
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(ConfirmModalContext.Provider, { value, children: [
2213
2338
  props.children,
2214
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Modal, { onKeyDown: focusTrap, ref: modalRef, children: [
2215
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(ModalHeader, { children: [
2216
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2339
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Modal, { onKeyDown: focusTrap, ref: modalRef, children: [
2340
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(ModalHeader, { children: [
2341
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2217
2342
  "div",
2218
2343
  {
2219
- className: (0, import_patterns15.hstack)({
2344
+ className: (0, import_patterns16.hstack)({
2220
2345
  justify: "center",
2221
2346
  w: "full"
2222
2347
  }),
2223
- children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2348
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2224
2349
  Show,
2225
2350
  {
2226
2351
  when: palette === "danger",
2227
- fallback: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2352
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2228
2353
  Avatar,
2229
2354
  {
2230
2355
  ariaLabel: "",
2231
2356
  gradient: "charon-light",
2232
- icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ConfirmIcon, { size: 24 }),
2357
+ icon: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ConfirmIcon, { size: 24 }),
2233
2358
  src: ""
2234
2359
  }
2235
2360
  ),
2236
- children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2361
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2237
2362
  Avatar,
2238
2363
  {
2239
2364
  ariaLabel: "",
2240
2365
  gradient: "hades-dark",
2241
- icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ConfirmIcon, { size: 24 }),
2366
+ icon: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ConfirmIcon, { size: 24 }),
2242
2367
  src: ""
2243
2368
  }
2244
2369
  )
@@ -2246,21 +2371,21 @@ function ConfirmModal(props) {
2246
2371
  )
2247
2372
  }
2248
2373
  ),
2249
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ModalHeading, { children: content == null ? void 0 : content.heading }),
2250
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ModalDescription, { children: content == null ? void 0 : content.description })
2374
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ModalHeading, { children: content == null ? void 0 : content.heading }),
2375
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ModalDescription, { children: content == null ? void 0 : content.description })
2251
2376
  ] }),
2252
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
2377
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
2253
2378
  "div",
2254
2379
  {
2255
- className: (0, import_patterns15.hstack)({
2380
+ className: (0, import_patterns16.hstack)({
2256
2381
  gap: "4"
2257
2382
  }),
2258
2383
  children: [
2259
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2384
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2260
2385
  Button,
2261
2386
  {
2262
2387
  autoFocus: true,
2263
- className: (0, import_css39.css)({
2388
+ className: (0, import_css40.css)({
2264
2389
  w: "1/2"
2265
2390
  }),
2266
2391
  name: "confirm",
@@ -2270,10 +2395,10 @@ function ConfirmModal(props) {
2270
2395
  children: content == null ? void 0 : content.actionText
2271
2396
  }
2272
2397
  ),
2273
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2398
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2274
2399
  Button,
2275
2400
  {
2276
- className: (0, import_css39.css)({
2401
+ className: (0, import_css40.css)({
2277
2402
  w: "1/2"
2278
2403
  }),
2279
2404
  name: "cancel",
@@ -2301,14 +2426,14 @@ function useConfirmModal() {
2301
2426
 
2302
2427
  // src/context/notification-center.tsx
2303
2428
  var import_react17 = require("react");
2304
- var import_patterns16 = require("@cerberus/styled-system/patterns");
2305
- var import_recipes31 = require("@cerberus/styled-system/recipes");
2306
- var import_css40 = require("@cerberus/styled-system/css");
2307
- var import_jsx_runtime48 = require("react/jsx-runtime");
2429
+ var import_patterns17 = require("@cerberus/styled-system/patterns");
2430
+ var import_recipes32 = require("@cerberus/styled-system/recipes");
2431
+ var import_css41 = require("@cerberus/styled-system/css");
2432
+ var import_jsx_runtime49 = require("react/jsx-runtime");
2308
2433
  var NotificationsContext = (0, import_react17.createContext)(null);
2309
2434
  function NotificationCenter(props) {
2310
2435
  const [activeNotifications, setActiveNotifications] = (0, import_react17.useState)([]);
2311
- const styles = (0, import_recipes31.notification)();
2436
+ const styles = (0, import_recipes32.notification)();
2312
2437
  const handleNotify = (0, import_react17.useCallback)((options) => {
2313
2438
  setActiveNotifications((prev) => {
2314
2439
  const id = `${options.palette}:${prev.length + 1}`;
@@ -2337,13 +2462,13 @@ function NotificationCenter(props) {
2337
2462
  }),
2338
2463
  [handleNotify]
2339
2464
  );
2340
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(NotificationsContext.Provider, { value, children: [
2465
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(NotificationsContext.Provider, { value, children: [
2341
2466
  props.children,
2342
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Show, { when: activeNotifications.length > 0, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Portal, { container: props.container, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: styles.center, children: [
2343
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Show, { when: activeNotifications.length >= 4, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2467
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Show, { when: activeNotifications.length > 0, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Portal, { container: props.container, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: styles.center, children: [
2468
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Show, { when: activeNotifications.length >= 4, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2344
2469
  Button,
2345
2470
  {
2346
- className: (0, import_css40.cx)(styles.closeAll, (0, import_patterns16.animateIn)()),
2471
+ className: (0, import_css41.cx)(styles.closeAll, (0, import_patterns17.animateIn)()),
2347
2472
  onClick: handleCloseAll,
2348
2473
  palette: "action",
2349
2474
  shape: "rounded",
@@ -2352,17 +2477,17 @@ function NotificationCenter(props) {
2352
2477
  children: "Close all"
2353
2478
  }
2354
2479
  ) }),
2355
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2480
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2356
2481
  "div",
2357
2482
  {
2358
- className: (0, import_patterns16.vstack)({
2483
+ className: (0, import_patterns17.vstack)({
2359
2484
  alignItems: "flex-end",
2360
2485
  gap: "4"
2361
2486
  }),
2362
2487
  style: {
2363
2488
  alignItems: "flex-end"
2364
2489
  },
2365
- children: activeNotifications.map((option) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2490
+ children: activeNotifications.map((option) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2366
2491
  MatchNotification,
2367
2492
  {
2368
2493
  ...option,
@@ -2379,7 +2504,7 @@ function MatchNotification(props) {
2379
2504
  const { palette, id, onClose, heading, description } = props;
2380
2505
  switch (palette) {
2381
2506
  case "success":
2382
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
2507
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
2383
2508
  Notification,
2384
2509
  {
2385
2510
  id,
@@ -2387,14 +2512,14 @@ function MatchNotification(props) {
2387
2512
  open: true,
2388
2513
  palette: "success",
2389
2514
  children: [
2390
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(NotificationHeading, { palette: "success", children: heading }),
2391
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(NotificationDescription, { palette: "success", children: description })
2515
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NotificationHeading, { palette: "success", children: heading }),
2516
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NotificationDescription, { palette: "success", children: description })
2392
2517
  ]
2393
2518
  },
2394
2519
  id
2395
2520
  );
2396
2521
  case "warning":
2397
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
2522
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
2398
2523
  Notification,
2399
2524
  {
2400
2525
  id,
@@ -2402,22 +2527,22 @@ function MatchNotification(props) {
2402
2527
  open: true,
2403
2528
  palette: "warning",
2404
2529
  children: [
2405
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(NotificationHeading, { palette: "warning", children: heading }),
2406
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(NotificationDescription, { palette: "warning", children: description })
2530
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NotificationHeading, { palette: "warning", children: heading }),
2531
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NotificationDescription, { palette: "warning", children: description })
2407
2532
  ]
2408
2533
  },
2409
2534
  id
2410
2535
  );
2411
2536
  case "danger":
2412
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Notification, { id, onClose, open: true, palette: "danger", children: [
2413
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(NotificationHeading, { palette: "danger", children: heading }),
2414
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(NotificationDescription, { palette: "danger", children: description })
2537
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Notification, { id, onClose, open: true, palette: "danger", children: [
2538
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NotificationHeading, { palette: "danger", children: heading }),
2539
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NotificationDescription, { palette: "danger", children: description })
2415
2540
  ] }, id);
2416
2541
  case "info":
2417
2542
  default:
2418
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Notification, { id, onClose, open: true, palette: "info", children: [
2419
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(NotificationHeading, { palette: "info", children: heading }),
2420
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(NotificationDescription, { palette: "info", children: description })
2543
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Notification, { id, onClose, open: true, palette: "info", children: [
2544
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NotificationHeading, { palette: "info", children: heading }),
2545
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NotificationDescription, { palette: "info", children: description })
2421
2546
  ] }, id);
2422
2547
  }
2423
2548
  }
@@ -2433,9 +2558,9 @@ function useNotificationCenter() {
2433
2558
 
2434
2559
  // src/context/prompt-modal.tsx
2435
2560
  var import_react18 = require("react");
2436
- var import_css41 = require("@cerberus/styled-system/css");
2437
- var import_patterns17 = require("@cerberus/styled-system/patterns");
2438
- var import_jsx_runtime49 = require("react/jsx-runtime");
2561
+ var import_css42 = require("@cerberus/styled-system/css");
2562
+ var import_patterns18 = require("@cerberus/styled-system/patterns");
2563
+ var import_jsx_runtime50 = require("react/jsx-runtime");
2439
2564
  var PromptModalContext = (0, import_react18.createContext)(null);
2440
2565
  function PromptModal(props) {
2441
2566
  const { modalRef, show, close } = useModal();
@@ -2485,36 +2610,36 @@ function PromptModal(props) {
2485
2610
  }),
2486
2611
  [handleShow]
2487
2612
  );
2488
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(PromptModalContext.Provider, { value, children: [
2613
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(PromptModalContext.Provider, { value, children: [
2489
2614
  props.children,
2490
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Modal, { onKeyDown: focusTrap, ref: modalRef, children: [
2491
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(ModalHeader, { children: [
2492
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2615
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Modal, { onKeyDown: focusTrap, ref: modalRef, children: [
2616
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(ModalHeader, { children: [
2617
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2493
2618
  "div",
2494
2619
  {
2495
- className: (0, import_patterns17.hstack)({
2620
+ className: (0, import_patterns18.hstack)({
2496
2621
  justify: "center",
2497
2622
  w: "full"
2498
2623
  }),
2499
- children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2624
+ children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2500
2625
  Show,
2501
2626
  {
2502
2627
  when: palette === "danger",
2503
- fallback: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2628
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2504
2629
  Avatar,
2505
2630
  {
2506
2631
  ariaLabel: "",
2507
2632
  gradient: "charon-light",
2508
- icon: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(PromptIcon, { size: 24 }),
2633
+ icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(PromptIcon, { size: 24 }),
2509
2634
  src: ""
2510
2635
  }
2511
2636
  ),
2512
- children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2637
+ children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2513
2638
  Avatar,
2514
2639
  {
2515
2640
  ariaLabel: "",
2516
2641
  gradient: "hades-dark",
2517
- icon: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(PromptIcon, { size: 24 }),
2642
+ icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(PromptIcon, { size: 24 }),
2518
2643
  src: ""
2519
2644
  }
2520
2645
  )
@@ -2522,22 +2647,22 @@ function PromptModal(props) {
2522
2647
  )
2523
2648
  }
2524
2649
  ),
2525
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ModalHeading, { children: content == null ? void 0 : content.heading }),
2526
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ModalDescription, { children: content == null ? void 0 : content.description })
2650
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ModalHeading, { children: content == null ? void 0 : content.heading }),
2651
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ModalDescription, { children: content == null ? void 0 : content.description })
2527
2652
  ] }),
2528
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2653
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2529
2654
  "div",
2530
2655
  {
2531
- className: (0, import_patterns17.vstack)({
2656
+ className: (0, import_patterns18.vstack)({
2532
2657
  alignItems: "flex-start",
2533
2658
  mt: "4",
2534
2659
  mb: "8"
2535
2660
  }),
2536
- children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Field, { invalid: !isValid, children: [
2537
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
2661
+ children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Field, { invalid: !isValid, children: [
2662
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
2538
2663
  Label,
2539
2664
  {
2540
- className: (0, import_css41.css)({
2665
+ className: (0, import_css42.css)({
2541
2666
  gap: 1,
2542
2667
  justifyContent: "flex-start"
2543
2668
  }),
@@ -2545,10 +2670,10 @@ function PromptModal(props) {
2545
2670
  size: "md",
2546
2671
  children: [
2547
2672
  "Type",
2548
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2673
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2549
2674
  "strong",
2550
2675
  {
2551
- className: (0, import_css41.css)({
2676
+ className: (0, import_css42.css)({
2552
2677
  textTransform: "uppercase"
2553
2678
  }),
2554
2679
  children: content == null ? void 0 : content.key
@@ -2558,7 +2683,7 @@ function PromptModal(props) {
2558
2683
  ]
2559
2684
  }
2560
2685
  ),
2561
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2686
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2562
2687
  Input,
2563
2688
  {
2564
2689
  id: "confirm",
@@ -2570,19 +2695,19 @@ function PromptModal(props) {
2570
2695
  ] })
2571
2696
  }
2572
2697
  ),
2573
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
2698
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
2574
2699
  "div",
2575
2700
  {
2576
- className: (0, import_patterns17.hstack)({
2701
+ className: (0, import_patterns18.hstack)({
2577
2702
  justifyContent: "stretch",
2578
2703
  gap: "4"
2579
2704
  }),
2580
2705
  children: [
2581
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2706
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2582
2707
  Button,
2583
2708
  {
2584
2709
  autoFocus: true,
2585
- className: (0, import_css41.css)({
2710
+ className: (0, import_css42.css)({
2586
2711
  w: "1/2"
2587
2712
  }),
2588
2713
  disabled: !isValid,
@@ -2593,10 +2718,10 @@ function PromptModal(props) {
2593
2718
  children: content == null ? void 0 : content.actionText
2594
2719
  }
2595
2720
  ),
2596
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2721
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2597
2722
  Button,
2598
2723
  {
2599
- className: (0, import_css41.css)({
2724
+ className: (0, import_css42.css)({
2600
2725
  w: "1/2"
2601
2726
  }),
2602
2727
  name: "cancel",
@@ -2687,7 +2812,7 @@ function useTheme(defaultTheme = "cerberus", defaultColorMode = "light", options
2687
2812
  }
2688
2813
 
2689
2814
  // src/context/theme.tsx
2690
- var import_jsx_runtime50 = require("react/jsx-runtime");
2815
+ var import_jsx_runtime51 = require("react/jsx-runtime");
2691
2816
  var ThemeContext = (0, import_react20.createContext)(
2692
2817
  null
2693
2818
  );
@@ -2697,7 +2822,7 @@ function ThemeProvider(props) {
2697
2822
  updateMode: props.updateMode,
2698
2823
  updateTheme: props.updateTheme
2699
2824
  });
2700
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ThemeContext.Provider, { value: state, children: props.children });
2825
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ThemeContext.Provider, { value: state, children: props.children });
2701
2826
  }
2702
2827
  function useThemeContext() {
2703
2828
  const context = (0, import_react20.useContext)(ThemeContext);
@@ -2730,6 +2855,9 @@ __reExport(src_exports, require("@dnd-kit/core"), module.exports);
2730
2855
  // Annotate the CommonJS export names for ESM import in node:
2731
2856
  0 && (module.exports = {
2732
2857
  $cerberusIcons,
2858
+ Admonition,
2859
+ AdmonitionDescription,
2860
+ AdmonitionHeading,
2733
2861
  Avatar,
2734
2862
  Button,
2735
2863
  Checkbox,