@cerberus-design/react 0.15.0-next-5d7dc1e → 0.15.0-next-544221f

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 (53) hide show
  1. package/build/legacy/_tsup-dts-rollup.d.cts +131 -28
  2. package/build/legacy/components/radio/index.cjs +143 -0
  3. package/build/legacy/components/radio/index.cjs.map +1 -0
  4. package/build/legacy/components/radio/parts.cjs +113 -0
  5. package/build/legacy/components/radio/parts.cjs.map +1 -0
  6. package/build/legacy/components/radio/primitives.cjs +115 -0
  7. package/build/legacy/components/radio/primitives.cjs.map +1 -0
  8. package/build/legacy/components/radio/radio.cjs +82 -0
  9. package/build/legacy/components/radio/radio.cjs.map +1 -0
  10. package/build/legacy/index.cjs +250 -173
  11. package/build/legacy/index.cjs.map +1 -1
  12. package/build/modern/_tsup-dts-rollup.d.ts +131 -28
  13. package/build/modern/chunk-5RTNSVYU.js +88 -0
  14. package/build/modern/chunk-5RTNSVYU.js.map +1 -0
  15. package/build/modern/chunk-FUL2VRDU.js +25 -0
  16. package/build/modern/chunk-FUL2VRDU.js.map +1 -0
  17. package/build/modern/chunk-OGYMMATX.js +1 -0
  18. package/build/modern/{chunk-FK52US7K.js → chunk-RHCTPSKT.js} +7 -7
  19. package/build/modern/chunk-STLN7BMJ.js +22 -0
  20. package/build/modern/chunk-STLN7BMJ.js.map +1 -0
  21. package/build/modern/{chunk-CF3EHG42.js → chunk-ZFFW5ELD.js} +4 -4
  22. package/build/modern/components/AccordionItemGroup.js +1 -1
  23. package/build/modern/components/DatePicker.client.js +3 -3
  24. package/build/modern/components/FileStatus.js +2 -2
  25. package/build/modern/components/radio/index.js +30 -0
  26. package/build/modern/components/radio/index.js.map +1 -0
  27. package/build/modern/components/radio/parts.js +8 -0
  28. package/build/modern/components/radio/parts.js.map +1 -0
  29. package/build/modern/components/radio/primitives.js +21 -0
  30. package/build/modern/components/radio/primitives.js.map +1 -0
  31. package/build/modern/components/radio/radio.js +8 -0
  32. package/build/modern/components/radio/radio.js.map +1 -0
  33. package/build/modern/context/confirm-modal.js +1 -1
  34. package/build/modern/context/cta-modal.js +2 -2
  35. package/build/modern/context/notification-center.js +1 -1
  36. package/build/modern/context/prompt-modal.js +1 -1
  37. package/build/modern/index.js +83 -60
  38. package/build/modern/index.js.map +1 -1
  39. package/package.json +2 -2
  40. package/src/components/radio/index.ts +3 -0
  41. package/src/components/radio/parts.ts +65 -0
  42. package/src/components/radio/primitives.tsx +123 -0
  43. package/src/components/radio/radio.tsx +35 -0
  44. package/src/index.ts +1 -1
  45. package/build/legacy/components/Radio.cjs +0 -64
  46. package/build/legacy/components/Radio.cjs.map +0 -1
  47. package/build/modern/chunk-6WOJAMZV.js +0 -40
  48. package/build/modern/chunk-6WOJAMZV.js.map +0 -1
  49. package/build/modern/components/Radio.js +0 -7
  50. package/src/components/Radio.tsx +0 -68
  51. /package/build/modern/{components/Radio.js.map → chunk-OGYMMATX.js.map} +0 -0
  52. /package/build/modern/{chunk-FK52US7K.js.map → chunk-RHCTPSKT.js.map} +0 -0
  53. /package/build/modern/{chunk-CF3EHG42.js.map → chunk-ZFFW5ELD.js.map} +0 -0
@@ -125,6 +125,15 @@ __export(src_exports, {
125
125
  ProgressBar: () => ProgressBar,
126
126
  PromptModal: () => PromptModal,
127
127
  Radio: () => Radio,
128
+ RadioGroup: () => RadioGroup,
129
+ RadioGroupIndicator: () => RadioGroupIndicator,
130
+ RadioGroupItem: () => RadioGroupItem,
131
+ RadioGroupItemControl: () => RadioGroupItemControl,
132
+ RadioGroupItemHiddenInput: () => RadioGroupItemHiddenInput,
133
+ RadioGroupItemText: () => RadioGroupItemText,
134
+ RadioGroupLabel: () => RadioGroupLabel,
135
+ RadioGroupRoot: () => RadioGroupRoot,
136
+ RadioParts: () => RadioParts,
128
137
  RangePickerInput: () => RangePickerInput,
129
138
  Select: () => Select,
130
139
  SelectClearTrigger: () => SelectClearTrigger,
@@ -2462,41 +2471,100 @@ function NotificationDescription(props) {
2462
2471
  );
2463
2472
  }
2464
2473
 
2465
- // src/components/Radio.tsx
2466
- var import_field7 = require("@ark-ui/react/field");
2474
+ // src/components/radio/primitives.tsx
2475
+ var import_radio_group = require("@ark-ui/react/radio-group");
2467
2476
  var import_css37 = require("@cerberus/styled-system/css");
2468
- var import_patterns10 = require("@cerberus/styled-system/patterns");
2469
2477
  var import_recipes30 = require("@cerberus/styled-system/recipes");
2470
2478
  var import_jsx_runtime47 = require("react/jsx-runtime");
2471
- function Radio(props) {
2472
- const { children, size, ...nativeProps } = props;
2473
- const styles = (0, import_recipes30.radio)({ size });
2474
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
2475
- "div",
2479
+ function RadioGroupRoot(props) {
2480
+ const { size, orientation, ...rootProps } = props;
2481
+ const styles = (0, import_recipes30.radioGroup)({ size, orientation });
2482
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2483
+ import_radio_group.RadioGroup.Root,
2476
2484
  {
2477
- className: (0, import_css37.cx)(
2478
- "group",
2479
- (0, import_patterns10.hstack)({
2480
- gap: "sm"
2481
- }),
2482
- styles.root
2483
- ),
2484
- tabIndex: 0,
2485
- children: [
2486
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2487
- import_field7.Field.Input,
2488
- {
2489
- ...nativeProps,
2490
- className: (0, import_css37.cx)(nativeProps.className, styles.input),
2491
- tabIndex: -1,
2492
- type: "radio"
2493
- }
2494
- ),
2495
- children
2496
- ]
2485
+ ...rootProps,
2486
+ className: (0, import_css37.cx)(styles.root, rootProps.className)
2497
2487
  }
2498
2488
  );
2499
2489
  }
2490
+ function RadioGroupLabel(props) {
2491
+ const styles = (0, import_recipes30.radioGroup)();
2492
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2493
+ import_radio_group.RadioGroup.Label,
2494
+ {
2495
+ ...props,
2496
+ className: (0, import_css37.cx)(styles.label, props.className)
2497
+ }
2498
+ );
2499
+ }
2500
+ function RadioGroupIndicator(props) {
2501
+ const styles = (0, import_recipes30.radioGroup)();
2502
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2503
+ import_radio_group.RadioGroup.Indicator,
2504
+ {
2505
+ ...props,
2506
+ className: (0, import_css37.cx)(styles.indicator, props.className)
2507
+ }
2508
+ );
2509
+ }
2510
+ function RadioGroupItem(props) {
2511
+ const styles = (0, import_recipes30.radioGroup)();
2512
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2513
+ import_radio_group.RadioGroup.Item,
2514
+ {
2515
+ ...props,
2516
+ className: (0, import_css37.cx)(styles.item, props.className)
2517
+ }
2518
+ );
2519
+ }
2520
+ function RadioGroupItemText(props) {
2521
+ const { size, orientation, ...itemTextProps } = props;
2522
+ const styles = (0, import_recipes30.radioGroup)({ size, orientation });
2523
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2524
+ import_radio_group.RadioGroup.ItemText,
2525
+ {
2526
+ ...itemTextProps,
2527
+ className: (0, import_css37.cx)(styles.itemText, itemTextProps.className)
2528
+ }
2529
+ );
2530
+ }
2531
+ function RadioGroupItemControl(props) {
2532
+ const { size, orientation, ...itemControlProps } = props;
2533
+ const styles = (0, import_recipes30.radioGroup)({ size, orientation });
2534
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2535
+ import_radio_group.RadioGroup.ItemControl,
2536
+ {
2537
+ ...itemControlProps,
2538
+ className: (0, import_css37.cx)(styles.itemControl, itemControlProps.className)
2539
+ }
2540
+ );
2541
+ }
2542
+ function RadioGroupItemHiddenInput(props) {
2543
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_radio_group.RadioGroup.ItemHiddenInput, { ...props });
2544
+ }
2545
+ var RadioGroup = RadioGroupRoot;
2546
+
2547
+ // src/components/radio/parts.ts
2548
+ var RadioParts = {
2549
+ Root: RadioGroupRoot,
2550
+ Label: RadioGroupLabel,
2551
+ Indicator: RadioGroupIndicator,
2552
+ Item: RadioGroupItem,
2553
+ ItemText: RadioGroupItemText,
2554
+ ItemControl: RadioGroupItemControl,
2555
+ ItemHiddenInput: RadioGroupItemHiddenInput
2556
+ };
2557
+
2558
+ // src/components/radio/radio.tsx
2559
+ var import_jsx_runtime48 = require("react/jsx-runtime");
2560
+ function Radio(props) {
2561
+ const { size, children, ...groupProps } = props;
2562
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(RadioGroupItem, { ...groupProps, children: [
2563
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(RadioGroupItemControl, { size }),
2564
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(RadioGroupItemText, { size, children }),
2565
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(RadioGroupItemHiddenInput, {})
2566
+ ] });
2567
+ }
2500
2568
 
2501
2569
  // src/components/Tabs.client.tsx
2502
2570
  var import_tabs2 = require("@ark-ui/react/tabs");
@@ -2506,7 +2574,7 @@ var import_css38 = require("@cerberus/styled-system/css");
2506
2574
  var import_tabs = require("@ark-ui/react/tabs");
2507
2575
  var import_recipes31 = require("@cerberus/styled-system/recipes");
2508
2576
  var import_react24 = require("react");
2509
- var import_jsx_runtime48 = require("react/jsx-runtime");
2577
+ var import_jsx_runtime49 = require("react/jsx-runtime");
2510
2578
  var TabsContext = (0, import_react24.createContext)(null);
2511
2579
  function Tabs(props) {
2512
2580
  const { cache, defaultValue, palette, uuid, ...arkProps } = props;
@@ -2540,7 +2608,7 @@ function Tabs(props) {
2540
2608
  }),
2541
2609
  [activeTab, palette, styles]
2542
2610
  );
2543
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TabsContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2611
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(TabsContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2544
2612
  import_tabs.Tabs.Root,
2545
2613
  {
2546
2614
  ...arkProps,
@@ -2562,18 +2630,18 @@ function useTabsContext() {
2562
2630
  }
2563
2631
 
2564
2632
  // src/components/Tabs.client.tsx
2565
- var import_jsx_runtime49 = require("react/jsx-runtime");
2633
+ var import_jsx_runtime50 = require("react/jsx-runtime");
2566
2634
  function TabsList(props) {
2567
2635
  const { children, ...tabsProps } = props;
2568
2636
  const { styles } = useTabsContext();
2569
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
2637
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
2570
2638
  import_tabs2.Tabs.List,
2571
2639
  {
2572
2640
  ...tabsProps,
2573
2641
  className: (0, import_css38.cx)(tabsProps.className, styles.list),
2574
2642
  children: [
2575
2643
  children,
2576
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(TabIndicator, {})
2644
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TabIndicator, {})
2577
2645
  ]
2578
2646
  }
2579
2647
  );
@@ -2581,7 +2649,7 @@ function TabsList(props) {
2581
2649
  var TabList = TabsList;
2582
2650
  function Tab(props) {
2583
2651
  const { styles } = useTabsContext();
2584
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2652
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2585
2653
  import_tabs2.Tabs.Trigger,
2586
2654
  {
2587
2655
  ...props,
@@ -2591,7 +2659,7 @@ function Tab(props) {
2591
2659
  }
2592
2660
  function TabIndicator(props) {
2593
2661
  const { styles } = useTabsContext();
2594
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2662
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2595
2663
  import_tabs2.Tabs.Indicator,
2596
2664
  {
2597
2665
  ...props,
@@ -2601,7 +2669,7 @@ function TabIndicator(props) {
2601
2669
  }
2602
2670
  function TabPanel(props) {
2603
2671
  const { styles } = useTabsContext();
2604
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2672
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2605
2673
  import_tabs2.Tabs.Content,
2606
2674
  {
2607
2675
  ...props,
@@ -2613,52 +2681,52 @@ function TabPanel(props) {
2613
2681
  // src/components/Table.tsx
2614
2682
  var import_css39 = require("@cerberus/styled-system/css");
2615
2683
  var import_recipes32 = require("@cerberus/styled-system/recipes");
2616
- var import_jsx_runtime50 = require("react/jsx-runtime");
2684
+ var import_jsx_runtime51 = require("react/jsx-runtime");
2617
2685
  function Table(props) {
2618
2686
  const { caption, children, ...nativeProps } = props;
2619
2687
  const styles = (0, import_recipes32.table)();
2620
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: styles.container, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
2688
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: styles.container, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
2621
2689
  "table",
2622
2690
  {
2623
2691
  ...nativeProps,
2624
2692
  className: (0, import_css39.cx)(nativeProps.className, styles.table),
2625
2693
  children: [
2626
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("caption", { className: styles.caption, children: caption }),
2694
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("caption", { className: styles.caption, children: caption }),
2627
2695
  children
2628
2696
  ]
2629
2697
  }
2630
2698
  ) });
2631
2699
  }
2632
2700
  function Tr(props) {
2633
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("tr", { ...props });
2701
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("tr", { ...props });
2634
2702
  }
2635
2703
 
2636
2704
  // src/components/Thead.tsx
2637
2705
  var import_css40 = require("@cerberus/styled-system/css");
2638
2706
  var import_recipes33 = require("@cerberus/styled-system/recipes");
2639
- var import_jsx_runtime51 = require("react/jsx-runtime");
2707
+ var import_jsx_runtime52 = require("react/jsx-runtime");
2640
2708
  function Thead(props) {
2641
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("thead", { ...props, className: (0, import_css40.cx)(props.className, (0, import_recipes33.thead)()) });
2709
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("thead", { ...props, className: (0, import_css40.cx)(props.className, (0, import_recipes33.thead)()) });
2642
2710
  }
2643
2711
 
2644
2712
  // src/components/Th.tsx
2645
2713
  var import_css41 = require("@cerberus/styled-system/css");
2646
2714
  var import_recipes34 = require("@cerberus/styled-system/recipes");
2647
- var import_jsx_runtime52 = require("react/jsx-runtime");
2715
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2648
2716
  function Th(props) {
2649
2717
  const { size, onClick, ...nativeProps } = props;
2650
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2718
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2651
2719
  Show,
2652
2720
  {
2653
2721
  when: Boolean(onClick),
2654
- fallback: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2722
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2655
2723
  "th",
2656
2724
  {
2657
2725
  ...nativeProps,
2658
2726
  className: (0, import_css41.cx)(nativeProps.className, (0, import_recipes34.th)({ size }))
2659
2727
  }
2660
2728
  ),
2661
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("th", { ...nativeProps, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2729
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("th", { ...nativeProps, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2662
2730
  "button",
2663
2731
  {
2664
2732
  className: (0, import_css41.cx)(
@@ -2686,10 +2754,10 @@ function Th(props) {
2686
2754
  // src/components/Td.tsx
2687
2755
  var import_css42 = require("@cerberus/styled-system/css");
2688
2756
  var import_recipes35 = require("@cerberus/styled-system/recipes");
2689
- var import_jsx_runtime53 = require("react/jsx-runtime");
2757
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2690
2758
  function Td(props) {
2691
2759
  const { size, ...nativeProps } = props;
2692
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2760
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2693
2761
  "td",
2694
2762
  {
2695
2763
  ...nativeProps,
@@ -2706,10 +2774,10 @@ function Td(props) {
2706
2774
  // src/components/Tbody.tsx
2707
2775
  var import_recipes36 = require("@cerberus/styled-system/recipes");
2708
2776
  var import_css43 = require("@cerberus/styled-system/css");
2709
- var import_jsx_runtime54 = require("react/jsx-runtime");
2777
+ var import_jsx_runtime55 = require("react/jsx-runtime");
2710
2778
  function Tbody(props) {
2711
2779
  const { decoration, ...nativeProps } = props;
2712
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2780
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
2713
2781
  "tbody",
2714
2782
  {
2715
2783
  ...nativeProps,
@@ -2726,7 +2794,7 @@ function Tbody(props) {
2726
2794
  // src/components/Tag.tsx
2727
2795
  var import_css44 = require("@cerberus/styled-system/css");
2728
2796
  var import_recipes37 = require("@cerberus/styled-system/recipes");
2729
- var import_jsx_runtime55 = require("react/jsx-runtime");
2797
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2730
2798
  function Tag(props) {
2731
2799
  const { shape: initShape, gradient, onClick, usage, ...nativeProps } = props;
2732
2800
  const palette = (props == null ? void 0 : props.palette) ?? "page";
@@ -2735,7 +2803,7 @@ function Tag(props) {
2735
2803
  const closableStyles = isClosable ? closableCss : "";
2736
2804
  const { icons } = useCerberusContext();
2737
2805
  const { close: Close } = icons;
2738
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
2806
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
2739
2807
  "span",
2740
2808
  {
2741
2809
  ...nativeProps,
@@ -2751,7 +2819,7 @@ function Tag(props) {
2751
2819
  ),
2752
2820
  children: [
2753
2821
  props.children,
2754
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Show, { when: isClosable, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
2822
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Show, { when: isClosable, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
2755
2823
  "button",
2756
2824
  {
2757
2825
  "aria-label": "Close",
@@ -2761,7 +2829,7 @@ function Tag(props) {
2761
2829
  size: "sm"
2762
2830
  }),
2763
2831
  onClick,
2764
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Close, {})
2832
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Close, {})
2765
2833
  }
2766
2834
  ) })
2767
2835
  ]
@@ -2775,24 +2843,24 @@ var closableCss = (0, import_css44.css)({
2775
2843
  });
2776
2844
 
2777
2845
  // src/components/Toggle.tsx
2778
- var import_field8 = require("@ark-ui/react/field");
2846
+ var import_field7 = require("@ark-ui/react/field");
2779
2847
  var import_css45 = require("@cerberus/styled-system/css");
2780
- var import_patterns11 = require("@cerberus/styled-system/patterns");
2848
+ var import_patterns10 = require("@cerberus/styled-system/patterns");
2781
2849
  var import_recipes38 = require("@cerberus/styled-system/recipes");
2782
- var import_jsx_runtime56 = require("react/jsx-runtime");
2850
+ var import_jsx_runtime57 = require("react/jsx-runtime");
2783
2851
  function Toggle(props) {
2784
2852
  const { size, ...nativeProps } = props;
2785
2853
  const styles = (0, import_recipes38.toggle)({ size });
2786
- const { invalid, disabled, readOnly, required, ariaDescribedby } = (0, import_field8.useFieldContext)();
2854
+ const { invalid, disabled, readOnly, required, ariaDescribedby } = (0, import_field7.useFieldContext)();
2787
2855
  const { icons } = useCerberusContext();
2788
2856
  const CheckedIcon = icons.toggleChecked;
2789
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
2857
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
2790
2858
  "span",
2791
2859
  {
2792
- className: (0, import_css45.cx)("group", styles.track, (0, import_patterns11.hstack)()),
2860
+ className: (0, import_css45.cx)("group", styles.track, (0, import_patterns10.hstack)()),
2793
2861
  "data-checked": props.checked || props.defaultChecked,
2794
2862
  children: [
2795
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
2863
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2796
2864
  "input",
2797
2865
  {
2798
2866
  ...nativeProps,
@@ -2808,16 +2876,16 @@ function Toggle(props) {
2808
2876
  type: "checkbox"
2809
2877
  }
2810
2878
  ),
2811
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
2879
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2812
2880
  "span",
2813
2881
  {
2814
2882
  className: (0, import_css45.cx)(
2815
2883
  styles.thumb,
2816
- (0, import_patterns11.vstack)({
2884
+ (0, import_patterns10.vstack)({
2817
2885
  justify: "center"
2818
2886
  })
2819
2887
  ),
2820
- children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CheckedIcon, {})
2888
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(CheckedIcon, {})
2821
2889
  }
2822
2890
  )
2823
2891
  ]
@@ -2829,22 +2897,22 @@ function Toggle(props) {
2829
2897
  var import_tooltip = require("@ark-ui/react/tooltip");
2830
2898
  var import_css46 = require("@cerberus/styled-system/css");
2831
2899
  var import_recipes39 = require("@cerberus/styled-system/recipes");
2832
- var import_jsx_runtime57 = require("react/jsx-runtime");
2900
+ var import_jsx_runtime58 = require("react/jsx-runtime");
2833
2901
  function Tooltip(props) {
2834
2902
  const { content, children, asChild, ...nativeProps } = props;
2835
2903
  const styles = (0, import_recipes39.tooltip)();
2836
2904
  const position = {
2837
2905
  placement: props.position || "top"
2838
2906
  };
2839
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_tooltip.Tooltip.Root, { openDelay: 400, positioning: position, children: [
2840
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_tooltip.Tooltip.Trigger, { className: styles.trigger, asChild, children }),
2841
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_tooltip.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
2907
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_tooltip.Tooltip.Root, { openDelay: 400, positioning: position, children: [
2908
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_tooltip.Tooltip.Trigger, { className: styles.trigger, asChild, children }),
2909
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_tooltip.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
2842
2910
  import_tooltip.Tooltip.Content,
2843
2911
  {
2844
2912
  ...nativeProps,
2845
2913
  className: (0, import_css46.cx)(nativeProps.className, styles.content),
2846
2914
  children: [
2847
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_tooltip.Tooltip.Arrow, { className: styles.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_tooltip.Tooltip.ArrowTip, { className: styles.arrowTip }) }),
2915
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_tooltip.Tooltip.Arrow, { className: styles.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_tooltip.Tooltip.ArrowTip, { className: styles.arrowTip }) }),
2848
2916
  content
2849
2917
  ]
2850
2918
  }
@@ -2860,12 +2928,12 @@ var import_jsx4 = require("@cerberus/styled-system/jsx");
2860
2928
 
2861
2929
  // src/components/Select.server.tsx
2862
2930
  var import_select = require("@ark-ui/react/select");
2863
- var import_jsx_runtime58 = require("react/jsx-runtime");
2931
+ var import_jsx_runtime59 = require("react/jsx-runtime");
2864
2932
  function SelectRoot(props) {
2865
2933
  const { children, ...rootProps } = props;
2866
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_select.Select.Root, { ...rootProps, children: [
2934
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_select.Select.Root, { ...rootProps, children: [
2867
2935
  children,
2868
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_select.Select.HiddenSelect, {})
2936
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_select.Select.HiddenSelect, {})
2869
2937
  ] });
2870
2938
  }
2871
2939
  var SelectLabel = import_select.Select.Label;
@@ -2883,22 +2951,22 @@ var SelectItemText = import_select.Select.ItemText;
2883
2951
  var SelectItemIndicator = import_select.Select.ItemIndicator;
2884
2952
 
2885
2953
  // src/components/Select.tsx
2886
- var import_jsx_runtime59 = require("react/jsx-runtime");
2954
+ var import_jsx_runtime60 = require("react/jsx-runtime");
2887
2955
  function Select(props) {
2888
2956
  const { collection, placeholder, size, ...rootProps } = props;
2889
2957
  const { icons } = useCerberusContext();
2890
2958
  const { selectArrow: SelectArrow, invalid: InvalidIcon } = icons;
2891
2959
  const styles = (0, import_recipes40.select)({ size });
2892
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(SelectRoot, { className: styles.root, collection, ...rootProps, children: [
2893
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SelectControl, { className: styles.control, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(SelectTrigger, { className: styles.trigger, children: [
2894
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SelectValueText, { placeholder }),
2895
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx4.HStack, { children: [
2896
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Show, { when: props.invalid, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(InvalidIcon, { "data-part": "invalid-icon" }) }),
2897
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SelectIndicator, { className: styles.indicator, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SelectArrow, {}) })
2960
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(SelectRoot, { className: styles.root, collection, ...rootProps, children: [
2961
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SelectControl, { className: styles.control, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(SelectTrigger, { className: styles.trigger, children: [
2962
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SelectValueText, { placeholder }),
2963
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx4.HStack, { children: [
2964
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Show, { when: props.invalid, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(InvalidIcon, { "data-part": "invalid-icon" }) }),
2965
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SelectIndicator, { className: styles.indicator, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SelectArrow, {}) })
2898
2966
  ] })
2899
2967
  ] }) }),
2900
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SelectPositioner, { className: styles.positioner, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SelectContent, { className: styles.content, children: props.children }) }) }),
2901
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_select2.Select.HiddenSelect, {})
2968
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SelectPositioner, { className: styles.positioner, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SelectContent, { className: styles.content, children: props.children }) }) }),
2969
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_select2.Select.HiddenSelect, {})
2902
2970
  ] });
2903
2971
  }
2904
2972
  function Option(props) {
@@ -2906,17 +2974,17 @@ function Option(props) {
2906
2974
  const { icons } = useCerberusContext();
2907
2975
  const { selectChecked: CheckedIcon } = icons;
2908
2976
  const styles = (0, import_recipes40.select)();
2909
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(SelectItem, { ...itemProps, item, className: styles.item, children: [
2910
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SelectItemText, { className: styles.itemText, children: item == null ? void 0 : item.label }),
2911
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SelectItemIndicator, { className: styles.itemIndicator, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(CheckedIcon, {}) })
2977
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(SelectItem, { ...itemProps, item, className: styles.item, children: [
2978
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SelectItemText, { className: styles.itemText, children: item == null ? void 0 : item.label }),
2979
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SelectItemIndicator, { className: styles.itemIndicator, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(CheckedIcon, {}) })
2912
2980
  ] });
2913
2981
  }
2914
2982
  function OptionGroup(props) {
2915
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SelectItemGroup, { ...props });
2983
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SelectItemGroup, { ...props });
2916
2984
  }
2917
2985
  function OptionGroupLabel(props) {
2918
2986
  const styles = (0, import_recipes40.select)();
2919
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
2987
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2920
2988
  SelectItemGroupLabel,
2921
2989
  {
2922
2990
  ...props,
@@ -2934,7 +3002,7 @@ function createSelectCollection(collection) {
2934
3002
  var import_react25 = require("react");
2935
3003
  var import_css48 = require("@cerberus/styled-system/css");
2936
3004
  var import_jsx5 = require("@cerberus/styled-system/jsx");
2937
- var import_jsx_runtime60 = require("react/jsx-runtime");
3005
+ var import_jsx_runtime61 = require("react/jsx-runtime");
2938
3006
  var ConfirmModalContext = (0, import_react25.createContext)(null);
2939
3007
  function ConfirmModal(props) {
2940
3008
  const [open, setOpen] = (0, import_react25.useState)(false);
@@ -2975,36 +3043,36 @@ function ConfirmModal(props) {
2975
3043
  }),
2976
3044
  [handleShow]
2977
3045
  );
2978
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(ConfirmModalContext.Provider, { value, children: [
3046
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(ConfirmModalContext.Provider, { value, children: [
2979
3047
  props.children,
2980
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Dialog, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx5.VStack, { gap: "xl", w: "full", children: [
2981
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx5.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: [
2982
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3048
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Dialog, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx5.VStack, { gap: "xl", w: "full", children: [
3049
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx5.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: [
3050
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2983
3051
  import_jsx5.HStack,
2984
3052
  {
2985
3053
  alignSelf: "center",
2986
3054
  justify: "center",
2987
3055
  paddingBlockEnd: "md",
2988
3056
  w: "full",
2989
- children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3057
+ children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2990
3058
  Show,
2991
3059
  {
2992
3060
  when: palette === "danger",
2993
- fallback: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3061
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2994
3062
  Avatar,
2995
3063
  {
2996
3064
  ariaLabel: "",
2997
3065
  gradient: "charon-light",
2998
- icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ConfirmIcon, { size: 24 }),
3066
+ icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ConfirmIcon, { size: 24 }),
2999
3067
  src: ""
3000
3068
  }
3001
3069
  ),
3002
- children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3070
+ children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3003
3071
  Avatar,
3004
3072
  {
3005
3073
  ariaLabel: "",
3006
3074
  gradient: "hades-dark",
3007
- icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ConfirmIcon, { size: 24 }),
3075
+ icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ConfirmIcon, { size: 24 }),
3008
3076
  src: ""
3009
3077
  }
3010
3078
  )
@@ -3012,11 +3080,11 @@ function ConfirmModal(props) {
3012
3080
  )
3013
3081
  }
3014
3082
  ),
3015
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
3016
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
3083
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
3084
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
3017
3085
  ] }),
3018
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx5.HStack, { gap: "4", w: "full", children: [
3019
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3086
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx5.HStack, { gap: "4", w: "full", children: [
3087
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3020
3088
  Button,
3021
3089
  {
3022
3090
  autoFocus: true,
@@ -3030,7 +3098,7 @@ function ConfirmModal(props) {
3030
3098
  children: content == null ? void 0 : content.actionText
3031
3099
  }
3032
3100
  ),
3033
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3101
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3034
3102
  Button,
3035
3103
  {
3036
3104
  className: (0, import_css48.css)({
@@ -3062,7 +3130,7 @@ var import_react26 = require("react");
3062
3130
  var import_jsx6 = require("@cerberus/styled-system/jsx");
3063
3131
  var import_css49 = require("@cerberus/styled-system/css");
3064
3132
  var import_jsx7 = require("@cerberus/styled-system/jsx");
3065
- var import_jsx_runtime61 = require("react/jsx-runtime");
3133
+ var import_jsx_runtime62 = require("react/jsx-runtime");
3066
3134
  var CTAModalContext = (0, import_react26.createContext)(null);
3067
3135
  function CTAModal(props) {
3068
3136
  var _a, _b;
@@ -3100,32 +3168,32 @@ function CTAModal(props) {
3100
3168
  }),
3101
3169
  [handleShow]
3102
3170
  );
3103
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(CTAModalContext.Provider, { value, children: [
3171
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(CTAModalContext.Provider, { value, children: [
3104
3172
  props.children,
3105
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Dialog, { size: "sm", children: [
3106
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogCloseIconTrigger, {}),
3107
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx7.VStack, { gap: "xl", w: "full", children: [
3108
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_jsx7.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx7.VStack, { gap: "lg", w: "full", children: [
3109
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3173
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Dialog, { size: "sm", children: [
3174
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(DialogCloseIconTrigger, {}),
3175
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx7.VStack, { gap: "xl", w: "full", children: [
3176
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_jsx7.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx7.VStack, { gap: "lg", w: "full", children: [
3177
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3110
3178
  Avatar,
3111
3179
  {
3112
3180
  ariaLabel: "",
3113
3181
  gradient: "charon-light",
3114
- icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3182
+ icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3115
3183
  Show,
3116
3184
  {
3117
3185
  when: Boolean(confirmIcon),
3118
- fallback: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(FallbackIcon, { size: 24 }),
3186
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(FallbackIcon, { size: 24 }),
3119
3187
  children: confirmIcon
3120
3188
  }
3121
3189
  ),
3122
3190
  src: ""
3123
3191
  }
3124
3192
  ),
3125
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
3126
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
3193
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
3194
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
3127
3195
  ] }) }),
3128
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_jsx6.HStack, { gap: "md", w: "full", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Show, { when: Boolean((_a = content == null ? void 0 : content.actions) == null ? void 0 : _a.length), children: (_b = content == null ? void 0 : content.actions) == null ? void 0 : _b.map((action, index) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3196
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_jsx6.HStack, { gap: "md", w: "full", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Show, { when: Boolean((_a = content == null ? void 0 : content.actions) == null ? void 0 : _a.length), children: (_b = content == null ? void 0 : content.actions) == null ? void 0 : _b.map((action, index) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3129
3197
  Button,
3130
3198
  {
3131
3199
  "data-index": index,
@@ -3153,7 +3221,7 @@ function useCTAModal() {
3153
3221
 
3154
3222
  // src/context/notification-center.tsx
3155
3223
  var import_react27 = require("react");
3156
- var import_patterns12 = require("@cerberus/styled-system/patterns");
3224
+ var import_patterns11 = require("@cerberus/styled-system/patterns");
3157
3225
  var import_recipes41 = require("@cerberus/styled-system/recipes");
3158
3226
  var import_css50 = require("@cerberus/styled-system/css");
3159
3227
 
@@ -3188,7 +3256,7 @@ function clearNotificationState(dispatch) {
3188
3256
  }
3189
3257
 
3190
3258
  // src/context/notification-center.tsx
3191
- var import_jsx_runtime62 = require("react/jsx-runtime");
3259
+ var import_jsx_runtime63 = require("react/jsx-runtime");
3192
3260
  var NotificationsContext = (0, import_react27.createContext)(null);
3193
3261
  function NotificationCenter(props) {
3194
3262
  const [state, dispatch] = (0, import_react27.useReducer)(notificationCenterReducer, []);
@@ -3242,13 +3310,13 @@ function NotificationCenter(props) {
3242
3310
  }),
3243
3311
  [handleNotify]
3244
3312
  );
3245
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(NotificationsContext.Provider, { value, children: [
3313
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(NotificationsContext.Provider, { value, children: [
3246
3314
  props.children,
3247
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Show, { when: state.length > 0, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Portal, { container: props.container, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: styles.center, children: [
3248
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Show, { when: state.length >= 4, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3315
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Show, { when: state.length > 0, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Portal, { container: props.container, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: styles.center, children: [
3316
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Show, { when: state.length >= 4, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3249
3317
  Button,
3250
3318
  {
3251
- className: (0, import_css50.cx)(styles.closeAll, (0, import_patterns12.animateIn)()),
3319
+ className: (0, import_css50.cx)(styles.closeAll, (0, import_patterns11.animateIn)()),
3252
3320
  onClick: handleCloseAll,
3253
3321
  palette: "action",
3254
3322
  shape: "rounded",
@@ -3257,17 +3325,17 @@ function NotificationCenter(props) {
3257
3325
  children: "Close all"
3258
3326
  }
3259
3327
  ) }),
3260
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3328
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3261
3329
  "div",
3262
3330
  {
3263
- className: (0, import_patterns12.vstack)({
3331
+ className: (0, import_patterns11.vstack)({
3264
3332
  alignItems: "flex-end",
3265
3333
  gap: "4"
3266
3334
  }),
3267
3335
  style: {
3268
3336
  alignItems: "flex-end"
3269
3337
  },
3270
- children: state.map((option) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3338
+ children: state.map((option) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3271
3339
  MatchNotification,
3272
3340
  {
3273
3341
  ...option,
@@ -3294,25 +3362,25 @@ function MatchNotification(props) {
3294
3362
  );
3295
3363
  switch (palette) {
3296
3364
  case "success":
3297
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Notification, { ...sharedProps, palette: "success", children: [
3298
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(NotificationHeading, { palette: "success", children: heading }),
3299
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(NotificationDescription, { palette: "success", children: description })
3365
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Notification, { ...sharedProps, palette: "success", children: [
3366
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(NotificationHeading, { palette: "success", children: heading }),
3367
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(NotificationDescription, { palette: "success", children: description })
3300
3368
  ] });
3301
3369
  case "warning":
3302
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Notification, { ...sharedProps, palette: "warning", children: [
3303
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(NotificationHeading, { palette: "warning", children: heading }),
3304
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(NotificationDescription, { palette: "warning", children: description })
3370
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Notification, { ...sharedProps, palette: "warning", children: [
3371
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(NotificationHeading, { palette: "warning", children: heading }),
3372
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(NotificationDescription, { palette: "warning", children: description })
3305
3373
  ] });
3306
3374
  case "danger":
3307
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Notification, { ...sharedProps, palette: "danger", children: [
3308
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(NotificationHeading, { palette: "danger", children: heading }),
3309
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(NotificationDescription, { palette: "danger", children: description })
3375
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Notification, { ...sharedProps, palette: "danger", children: [
3376
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(NotificationHeading, { palette: "danger", children: heading }),
3377
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(NotificationDescription, { palette: "danger", children: description })
3310
3378
  ] });
3311
3379
  case "info":
3312
3380
  default:
3313
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Notification, { ...sharedProps, palette: "info", children: [
3314
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(NotificationHeading, { palette: "info", children: heading }),
3315
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(NotificationDescription, { palette: "info", children: description })
3381
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Notification, { ...sharedProps, palette: "info", children: [
3382
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(NotificationHeading, { palette: "info", children: heading }),
3383
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(NotificationDescription, { palette: "info", children: description })
3316
3384
  ] });
3317
3385
  }
3318
3386
  }
@@ -3331,8 +3399,8 @@ var import_react28 = require("react");
3331
3399
  var import_react29 = require("@ark-ui/react");
3332
3400
  var import_jsx8 = require("@cerberus/styled-system/jsx");
3333
3401
  var import_css51 = require("@cerberus/styled-system/css");
3334
- var import_patterns13 = require("@cerberus/styled-system/patterns");
3335
- var import_jsx_runtime63 = require("react/jsx-runtime");
3402
+ var import_patterns12 = require("@cerberus/styled-system/patterns");
3403
+ var import_jsx_runtime64 = require("react/jsx-runtime");
3336
3404
  var PromptModalContext = (0, import_react28.createContext)(null);
3337
3405
  function PromptModal(props) {
3338
3406
  const resolveRef = (0, import_react28.useRef)(null);
@@ -3382,36 +3450,36 @@ function PromptModal(props) {
3382
3450
  }),
3383
3451
  [handleShow]
3384
3452
  );
3385
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(PromptModalContext.Provider, { value, children: [
3453
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(PromptModalContext.Provider, { value, children: [
3386
3454
  props.children,
3387
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Dialog, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx8.VStack, { gap: "xl", w: "full", children: [
3388
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx8.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: [
3389
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3455
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Dialog, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx8.VStack, { gap: "xl", w: "full", children: [
3456
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx8.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: [
3457
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3390
3458
  import_jsx8.HStack,
3391
3459
  {
3392
3460
  alignSelf: "center",
3393
3461
  justify: "center",
3394
3462
  paddingBlockEnd: "md",
3395
3463
  w: "full",
3396
- children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3464
+ children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3397
3465
  Show,
3398
3466
  {
3399
3467
  when: palette === "danger",
3400
- fallback: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3468
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3401
3469
  Avatar,
3402
3470
  {
3403
3471
  ariaLabel: "",
3404
3472
  gradient: "charon-light",
3405
- icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(PromptIcon, { size: 24 }),
3473
+ icon: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(PromptIcon, { size: 24 }),
3406
3474
  src: ""
3407
3475
  }
3408
3476
  ),
3409
- children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3477
+ children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3410
3478
  Avatar,
3411
3479
  {
3412
3480
  ariaLabel: "",
3413
3481
  gradient: "hades-dark",
3414
- icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(PromptIcon, { size: 24 }),
3482
+ icon: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(PromptIcon, { size: 24 }),
3415
3483
  src: ""
3416
3484
  }
3417
3485
  )
@@ -3419,17 +3487,17 @@ function PromptModal(props) {
3419
3487
  )
3420
3488
  }
3421
3489
  ),
3422
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
3423
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
3490
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
3491
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
3424
3492
  ] }),
3425
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3493
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3426
3494
  import_jsx8.VStack,
3427
3495
  {
3428
3496
  alignItems: "flex-start",
3429
3497
  marginBlockStart: "md",
3430
3498
  marginBlockEnd: "lg",
3431
3499
  w: "full",
3432
- children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
3500
+ children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
3433
3501
  FieldRoot,
3434
3502
  {
3435
3503
  ids: {
@@ -3437,10 +3505,10 @@ function PromptModal(props) {
3437
3505
  },
3438
3506
  invalid: !isValid,
3439
3507
  children: [
3440
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
3508
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
3441
3509
  FieldLabel,
3442
3510
  {
3443
- className: (0, import_patterns13.hstack)({
3511
+ className: (0, import_patterns12.hstack)({
3444
3512
  gap: "xs",
3445
3513
  justify: "flex-start !important",
3446
3514
  marginBlockEnd: "xs",
@@ -3448,19 +3516,19 @@ function PromptModal(props) {
3448
3516
  }),
3449
3517
  children: [
3450
3518
  "Type",
3451
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Text, { as: "strong", textTransform: "uppercase", children: content == null ? void 0 : content.key }),
3519
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Text, { as: "strong", textTransform: "uppercase", children: content == null ? void 0 : content.key }),
3452
3520
  "to confirm"
3453
3521
  ]
3454
3522
  }
3455
3523
  ),
3456
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Input, { name: "confirm", onChange: handleChange, type: "text" })
3524
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Input, { name: "confirm", onChange: handleChange, type: "text" })
3457
3525
  ]
3458
3526
  }
3459
3527
  )
3460
3528
  }
3461
3529
  ),
3462
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx8.HStack, { gap: "md", justify: "stretch", w: "full", children: [
3463
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3530
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx8.HStack, { gap: "md", justify: "stretch", w: "full", children: [
3531
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3464
3532
  Button,
3465
3533
  {
3466
3534
  autoFocus: true,
@@ -3475,7 +3543,7 @@ function PromptModal(props) {
3475
3543
  children: content == null ? void 0 : content.actionText
3476
3544
  }
3477
3545
  ),
3478
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react29.DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3546
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react29.DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3479
3547
  Button,
3480
3548
  {
3481
3549
  className: (0, import_css51.css)({
@@ -3567,7 +3635,7 @@ function useTheme(defaultTheme = "cerberus", defaultColorMode = "light", options
3567
3635
  }
3568
3636
 
3569
3637
  // src/context/theme.tsx
3570
- var import_jsx_runtime64 = require("react/jsx-runtime");
3638
+ var import_jsx_runtime65 = require("react/jsx-runtime");
3571
3639
  var ThemeContext = (0, import_react31.createContext)(
3572
3640
  null
3573
3641
  );
@@ -3577,7 +3645,7 @@ function ThemeProvider(props) {
3577
3645
  updateMode: props.updateMode,
3578
3646
  updateTheme: props.updateTheme
3579
3647
  });
3580
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ThemeContext.Provider, { value: state, children: props.children });
3648
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ThemeContext.Provider, { value: state, children: props.children });
3581
3649
  }
3582
3650
  function useThemeContext() {
3583
3651
  const context = (0, import_react31.useContext)(ThemeContext);
@@ -3665,9 +3733,9 @@ function rootColorsReducer(state, action) {
3665
3733
  }
3666
3734
 
3667
3735
  // src/config/icons/checkbox.icons.tsx
3668
- var import_jsx_runtime65 = require("react/jsx-runtime");
3736
+ var import_jsx_runtime66 = require("react/jsx-runtime");
3669
3737
  function CheckmarkIcon(props) {
3670
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3738
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3671
3739
  "svg",
3672
3740
  {
3673
3741
  "aria-hidden": "true",
@@ -3676,7 +3744,7 @@ function CheckmarkIcon(props) {
3676
3744
  role: "img",
3677
3745
  viewBox: "0 0 24 24",
3678
3746
  ...props,
3679
- children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3747
+ children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3680
3748
  "path",
3681
3749
  {
3682
3750
  fill: "currentColor",
@@ -3687,7 +3755,7 @@ function CheckmarkIcon(props) {
3687
3755
  );
3688
3756
  }
3689
3757
  function IndeterminateIcon(props) {
3690
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3758
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3691
3759
  "svg",
3692
3760
  {
3693
3761
  "aria-hidden": "true",
@@ -3696,15 +3764,15 @@ function IndeterminateIcon(props) {
3696
3764
  fill: "none",
3697
3765
  viewBox: "0 0 24 24",
3698
3766
  ...props,
3699
- children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("path", { fill: "currentColor", d: "M4 11h16v2.667H4z" })
3767
+ children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("path", { fill: "currentColor", d: "M4 11h16v2.667H4z" })
3700
3768
  }
3701
3769
  );
3702
3770
  }
3703
3771
 
3704
3772
  // src/components/AnimatingUploadIcon.tsx
3705
- var import_jsx_runtime66 = require("react/jsx-runtime");
3773
+ var import_jsx_runtime67 = require("react/jsx-runtime");
3706
3774
  function AnimatingUploadIcon(props) {
3707
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3775
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3708
3776
  "svg",
3709
3777
  {
3710
3778
  "aria-hidden": "true",
@@ -3712,7 +3780,7 @@ function AnimatingUploadIcon(props) {
3712
3780
  width: props.size ?? "1em",
3713
3781
  height: props.size ?? "1em",
3714
3782
  viewBox: "0 0 24 24",
3715
- children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
3783
+ children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
3716
3784
  "g",
3717
3785
  {
3718
3786
  fill: "none",
@@ -3721,14 +3789,14 @@ function AnimatingUploadIcon(props) {
3721
3789
  strokeLinejoin: "round",
3722
3790
  strokeWidth: 1.5,
3723
3791
  children: [
3724
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3792
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3725
3793
  "path",
3726
3794
  {
3727
3795
  "data-name": "animating-trail",
3728
3796
  strokeDasharray: "2 4",
3729
3797
  strokeDashoffset: 6,
3730
3798
  d: "M12 21c-4.97 0 -9 -4.03 -9 -9c0 -4.97 4.03 -9 9 -9",
3731
- children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3799
+ children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3732
3800
  "animate",
3733
3801
  {
3734
3802
  attributeName: "stroke-dashoffset",
@@ -3739,14 +3807,14 @@ function AnimatingUploadIcon(props) {
3739
3807
  )
3740
3808
  }
3741
3809
  ),
3742
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3810
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3743
3811
  "path",
3744
3812
  {
3745
3813
  "data-name": "half-circle",
3746
3814
  strokeDasharray: 32,
3747
3815
  strokeDashoffset: 32,
3748
3816
  d: "M12 3c4.97 0 9 4.03 9 9c0 4.97 -4.03 9 -9 9",
3749
- children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3817
+ children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3750
3818
  "animate",
3751
3819
  {
3752
3820
  fill: "freeze",
@@ -3758,7 +3826,7 @@ function AnimatingUploadIcon(props) {
3758
3826
  )
3759
3827
  }
3760
3828
  ),
3761
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3829
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3762
3830
  "svg",
3763
3831
  {
3764
3832
  "aria-hidden": "true",
@@ -3768,7 +3836,7 @@ function AnimatingUploadIcon(props) {
3768
3836
  x: "27%",
3769
3837
  y: "27%",
3770
3838
  viewBox: "0 0 24 24",
3771
- children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3839
+ children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3772
3840
  "polygon",
3773
3841
  {
3774
3842
  fill: "currentColor",
@@ -3776,7 +3844,7 @@ function AnimatingUploadIcon(props) {
3776
3844
  strokeWidth: 0.8,
3777
3845
  opacity: "1",
3778
3846
  points: "3.7,6.7 7.5,2.9 7.5,15 8.5,15 8.5,2.9 12.3,6.7 13,6 8,1 3,6 ",
3779
- children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3847
+ children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3780
3848
  "animate",
3781
3849
  {
3782
3850
  fill: "freeze",
@@ -3923,6 +3991,15 @@ __reExport(src_exports, require("@dnd-kit/core"), module.exports);
3923
3991
  ProgressBar,
3924
3992
  PromptModal,
3925
3993
  Radio,
3994
+ RadioGroup,
3995
+ RadioGroupIndicator,
3996
+ RadioGroupItem,
3997
+ RadioGroupItemControl,
3998
+ RadioGroupItemHiddenInput,
3999
+ RadioGroupItemText,
4000
+ RadioGroupLabel,
4001
+ RadioGroupRoot,
4002
+ RadioParts,
3926
4003
  RangePickerInput,
3927
4004
  Select,
3928
4005
  SelectClearTrigger,