@cerberus-design/react 0.16.0-next-feeb186 → 0.16.0-next-22894bb

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 (47) hide show
  1. package/build/legacy/_tsup-dts-rollup.d.cts +166 -2
  2. package/build/legacy/components/checkbox/checkbox.cjs.map +1 -1
  3. package/build/legacy/components/checkbox/index.cjs.map +1 -1
  4. package/build/legacy/components/rating/index.cjs +167 -0
  5. package/build/legacy/components/rating/index.cjs.map +1 -0
  6. package/build/legacy/components/rating/parts.cjs +98 -0
  7. package/build/legacy/components/rating/parts.cjs.map +1 -0
  8. package/build/legacy/components/rating/primitives.cjs +97 -0
  9. package/build/legacy/components/rating/primitives.cjs.map +1 -0
  10. package/build/legacy/components/rating/rating.cjs +151 -0
  11. package/build/legacy/components/rating/rating.cjs.map +1 -0
  12. package/build/legacy/index.cjs +325 -217
  13. package/build/legacy/index.cjs.map +1 -1
  14. package/build/modern/_tsup-dts-rollup.d.ts +166 -2
  15. package/build/modern/{chunk-Z4342DRO.js → chunk-H5WNUPGH.js} +4 -4
  16. package/build/modern/chunk-OS73F4SR.js +25 -0
  17. package/build/modern/chunk-OS73F4SR.js.map +1 -0
  18. package/build/modern/chunk-QQCB6JXW.js +36 -0
  19. package/build/modern/chunk-QQCB6JXW.js.map +1 -0
  20. package/build/modern/{chunk-Y4ZEJ2EF.js → chunk-UNRQAXLJ.js} +1 -1
  21. package/build/modern/chunk-UNRQAXLJ.js.map +1 -0
  22. package/build/modern/chunk-W47QEZD5.js +71 -0
  23. package/build/modern/chunk-W47QEZD5.js.map +1 -0
  24. package/build/modern/chunk-ZOSGUATV.js +1 -0
  25. package/build/modern/chunk-ZOSGUATV.js.map +1 -0
  26. package/build/modern/components/checkbox/checkbox.js +1 -1
  27. package/build/modern/components/checkbox/index.js +1 -1
  28. package/build/modern/components/rating/index.js +31 -0
  29. package/build/modern/components/rating/index.js.map +1 -0
  30. package/build/modern/components/rating/parts.js +8 -0
  31. package/build/modern/components/rating/parts.js.map +1 -0
  32. package/build/modern/components/rating/primitives.js +19 -0
  33. package/build/modern/components/rating/primitives.js.map +1 -0
  34. package/build/modern/components/rating/rating.js +12 -0
  35. package/build/modern/components/rating/rating.js.map +1 -0
  36. package/build/modern/context/notification-center.js +2 -2
  37. package/build/modern/index.js +47 -22
  38. package/build/modern/index.js.map +1 -1
  39. package/package.json +2 -2
  40. package/src/components/checkbox/checkbox.tsx +2 -2
  41. package/src/components/rating/index.ts +8 -0
  42. package/src/components/rating/parts.tsx +65 -0
  43. package/src/components/rating/primitives.tsx +99 -0
  44. package/src/components/rating/rating.tsx +78 -0
  45. package/src/index.ts +1 -0
  46. package/build/modern/chunk-Y4ZEJ2EF.js.map +0 -1
  47. /package/build/modern/{chunk-Z4342DRO.js.map → chunk-H5WNUPGH.js.map} +0 -0
@@ -140,6 +140,15 @@ __export(src_exports, {
140
140
  RadioGroupRoot: () => RadioGroupRoot,
141
141
  RadioParts: () => RadioParts,
142
142
  RangePickerInput: () => RangePickerInput,
143
+ Rating: () => Rating,
144
+ RatingContext: () => RatingContext,
145
+ RatingControl: () => RatingControl,
146
+ RatingHiddenInput: () => RatingHiddenInput,
147
+ RatingItem: () => RatingItem,
148
+ RatingItemContext: () => RatingItemContext,
149
+ RatingLabel: () => RatingLabel,
150
+ RatingParts: () => RatingParts,
151
+ RatingRoot: () => RatingRoot,
143
152
  Select: () => Select2,
144
153
  SelectClearTrigger: () => SelectClearTrigger,
145
154
  SelectContent: () => SelectContent,
@@ -2816,108 +2825,198 @@ function Radio(props) {
2816
2825
  ] });
2817
2826
  }
2818
2827
 
2819
- // src/components/select/primitives.tsx
2820
- var import_select = require("@ark-ui/react/select");
2821
- var import_recipes33 = require("@cerberus/styled-system/recipes");
2828
+ // src/components/rating/primitives.tsx
2829
+ var import_rating_group = require("@ark-ui/react/rating-group");
2822
2830
  var import_css39 = require("@cerberus/styled-system/css");
2831
+ var import_recipes33 = require("@cerberus/styled-system/recipes");
2823
2832
  var import_jsx_runtime52 = require("react/jsx-runtime");
2833
+ function RatingRoot(props) {
2834
+ const { orientation, size, ...rootProps } = props;
2835
+ const styles = (0, import_recipes33.ratingGroup)({ orientation, size });
2836
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2837
+ import_rating_group.RatingGroup.Root,
2838
+ {
2839
+ ...rootProps,
2840
+ className: (0, import_css39.cx)(styles.root, rootProps.className)
2841
+ }
2842
+ );
2843
+ }
2844
+ function RatingLabel(props) {
2845
+ const styles = (0, import_recipes33.ratingGroup)();
2846
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2847
+ import_rating_group.RatingGroup.Label,
2848
+ {
2849
+ ...props,
2850
+ className: (0, import_css39.cx)(styles.label, props.className)
2851
+ }
2852
+ );
2853
+ }
2854
+ function RatingControl(props) {
2855
+ const styles = (0, import_recipes33.ratingGroup)();
2856
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2857
+ import_rating_group.RatingGroup.Control,
2858
+ {
2859
+ ...props,
2860
+ className: (0, import_css39.cx)(styles.control, props.className)
2861
+ }
2862
+ );
2863
+ }
2864
+ function RatingContext(props) {
2865
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_rating_group.RatingGroup.Context, { ...props });
2866
+ }
2867
+ function RatingItem(props) {
2868
+ const { palette, ...itemProps } = props;
2869
+ const styles = (0, import_recipes33.ratingGroup)({ palette });
2870
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2871
+ import_rating_group.RatingGroup.Item,
2872
+ {
2873
+ ...itemProps,
2874
+ className: (0, import_css39.cx)(styles.item, itemProps.className)
2875
+ }
2876
+ );
2877
+ }
2878
+ function RatingItemContext(props) {
2879
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_rating_group.RatingGroup.ItemContext, { ...props });
2880
+ }
2881
+ function RatingHiddenInput(props) {
2882
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_rating_group.RatingGroup.HiddenInput, { ...props });
2883
+ }
2884
+
2885
+ // src/components/rating/parts.tsx
2886
+ var RatingParts = {
2887
+ Root: RatingRoot,
2888
+ Label: RatingLabel,
2889
+ Control: RatingControl,
2890
+ Context: RatingContext,
2891
+ Item: RatingItem,
2892
+ ItemContext: RatingItemContext,
2893
+ HiddenInput: RatingHiddenInput
2894
+ };
2895
+
2896
+ // src/components/rating/rating.tsx
2897
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2898
+ function Rating(props) {
2899
+ const [{ label: label5 }, styleProps, rootProps] = splitProps(
2900
+ props,
2901
+ ["label"],
2902
+ ["orientation", "palette", "size"]
2903
+ );
2904
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(RatingParts.Root, { ...styleProps, ...rootProps, children: [
2905
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Show, { when: Boolean(label5), children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(RatingParts.Label, { children: label5 }) }),
2906
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(RatingParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(RatingParts.Context, { children: (context) => context.items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2907
+ RatingParts.Item,
2908
+ {
2909
+ index: item,
2910
+ palette: styleProps.palette,
2911
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(RatingParts.ItemContext, { children: rootProps.children })
2912
+ },
2913
+ item
2914
+ )) }) })
2915
+ ] });
2916
+ }
2917
+
2918
+ // src/components/select/primitives.tsx
2919
+ var import_select = require("@ark-ui/react/select");
2920
+ var import_recipes34 = require("@cerberus/styled-system/recipes");
2921
+ var import_css40 = require("@cerberus/styled-system/css");
2922
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2824
2923
  function SelectRoot(props) {
2825
2924
  const { size, ...rootProps } = props;
2826
- const styles = (0, import_recipes33.select)({ size });
2827
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2925
+ const styles = (0, import_recipes34.select)({ size });
2926
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2828
2927
  import_select.Select.Root,
2829
2928
  {
2830
2929
  ...rootProps,
2831
- className: (0, import_css39.cx)(styles.root, rootProps.className)
2930
+ className: (0, import_css40.cx)(styles.root, rootProps.className)
2832
2931
  }
2833
2932
  );
2834
2933
  }
2835
2934
  function SelectLabel(props) {
2836
- const styles = (0, import_recipes33.select)();
2837
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_select.Select.Label, { ...props, className: (0, import_css39.cx)(styles.label, props.className) });
2935
+ const styles = (0, import_recipes34.select)();
2936
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_select.Select.Label, { ...props, className: (0, import_css40.cx)(styles.label, props.className) });
2838
2937
  }
2839
2938
  function SelectControl(props) {
2840
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_select.Select.Control, { ...props });
2939
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_select.Select.Control, { ...props });
2841
2940
  }
2842
2941
  function SelectTrigger(props) {
2843
- const styles = (0, import_recipes33.select)();
2844
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2942
+ const styles = (0, import_recipes34.select)();
2943
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2845
2944
  import_select.Select.Trigger,
2846
2945
  {
2847
2946
  ...props,
2848
- className: (0, import_css39.cx)(styles.trigger, props.className)
2947
+ className: (0, import_css40.cx)(styles.trigger, props.className)
2849
2948
  }
2850
2949
  );
2851
2950
  }
2852
2951
  function SelectValueText(props) {
2853
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_select.Select.ValueText, { ...props });
2952
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_select.Select.ValueText, { ...props });
2854
2953
  }
2855
2954
  function SelectIndicator(props) {
2856
- const styles = (0, import_recipes33.select)();
2857
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2955
+ const styles = (0, import_recipes34.select)();
2956
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2858
2957
  import_select.Select.Indicator,
2859
2958
  {
2860
2959
  ...props,
2861
- className: (0, import_css39.cx)(styles.indicator, props.className)
2960
+ className: (0, import_css40.cx)(styles.indicator, props.className)
2862
2961
  }
2863
2962
  );
2864
2963
  }
2865
2964
  function SelectClearTrigger(props) {
2866
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_select.Select.ClearTrigger, { ...props });
2965
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_select.Select.ClearTrigger, { ...props });
2867
2966
  }
2868
2967
  function SelectPositioner(props) {
2869
- const styles = (0, import_recipes33.select)();
2870
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2968
+ const styles = (0, import_recipes34.select)();
2969
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2871
2970
  import_select.Select.Positioner,
2872
2971
  {
2873
2972
  ...props,
2874
- className: (0, import_css39.cx)(styles.positioner, props.className)
2973
+ className: (0, import_css40.cx)(styles.positioner, props.className)
2875
2974
  }
2876
2975
  );
2877
2976
  }
2878
2977
  function SelectContent(props) {
2879
2978
  const { size, ...contentProps } = props;
2880
- const styles = (0, import_recipes33.select)({ size });
2881
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2979
+ const styles = (0, import_recipes34.select)({ size });
2980
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2882
2981
  import_select.Select.Content,
2883
2982
  {
2884
2983
  ...contentProps,
2885
- className: (0, import_css39.cx)(styles.content, contentProps.className)
2984
+ className: (0, import_css40.cx)(styles.content, contentProps.className)
2886
2985
  }
2887
2986
  );
2888
2987
  }
2889
2988
  function SelectItemGroup(props) {
2890
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_select.Select.ItemGroup, { ...props });
2989
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_select.Select.ItemGroup, { ...props });
2891
2990
  }
2892
2991
  function SelectItemGroupLabel(props) {
2893
- const styles = (0, import_recipes33.select)();
2894
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2992
+ const styles = (0, import_recipes34.select)();
2993
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2895
2994
  import_select.Select.ItemGroupLabel,
2896
2995
  {
2897
2996
  ...props,
2898
- className: (0, import_css39.cx)(styles.itemGroupLabel, props.className)
2997
+ className: (0, import_css40.cx)(styles.itemGroupLabel, props.className)
2899
2998
  }
2900
2999
  );
2901
3000
  }
2902
3001
  function SelectItem(props) {
2903
- const styles = (0, import_recipes33.select)();
2904
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_select.Select.Item, { ...props, className: (0, import_css39.cx)(styles.item, props.className) });
3002
+ const styles = (0, import_recipes34.select)();
3003
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_select.Select.Item, { ...props, className: (0, import_css40.cx)(styles.item, props.className) });
2905
3004
  }
2906
3005
  function SelectItemText(props) {
2907
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_select.Select.ItemText, { ...props });
3006
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_select.Select.ItemText, { ...props });
2908
3007
  }
2909
3008
  function SelectItemIndicator(props) {
2910
- const styles = (0, import_recipes33.select)();
2911
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3009
+ const styles = (0, import_recipes34.select)();
3010
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2912
3011
  import_select.Select.ItemIndicator,
2913
3012
  {
2914
3013
  ...props,
2915
- className: (0, import_css39.cx)(styles.itemIndicator, props.className)
3014
+ className: (0, import_css40.cx)(styles.itemIndicator, props.className)
2916
3015
  }
2917
3016
  );
2918
3017
  }
2919
3018
  function SelectHiddenSelect(props) {
2920
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_select.Select.HiddenSelect, { ...props });
3019
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_select.Select.HiddenSelect, { ...props });
2921
3020
  }
2922
3021
  function createSelectCollection(collection) {
2923
3022
  return (0, import_select.createListCollection)({
@@ -2946,75 +3045,75 @@ var SelectParts = {
2946
3045
 
2947
3046
  // src/components/select/select.tsx
2948
3047
  var import_jsx5 = require("@cerberus/styled-system/jsx");
2949
- var import_jsx_runtime53 = require("react/jsx-runtime");
3048
+ var import_jsx_runtime55 = require("react/jsx-runtime");
2950
3049
  function Select2(props) {
2951
3050
  const { collection, placeholder, ...rootProps } = props;
2952
3051
  const { icons } = useCerberusContext();
2953
3052
  const { selectArrow: SelectArrow, invalid: InvalidIcon } = icons;
2954
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(SelectParts.Root, { collection, ...rootProps, children: [
2955
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(SelectParts.Trigger, { children: [
2956
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectParts.ValueText, { placeholder }),
2957
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx5.HStack, { children: [
2958
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Show, { when: props.invalid, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(InvalidIcon, { "data-part": "invalid-icon" }) }),
2959
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectParts.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectArrow, {}) })
3053
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(SelectParts.Root, { collection, ...rootProps, children: [
3054
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SelectParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(SelectParts.Trigger, { children: [
3055
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SelectParts.ValueText, { placeholder }),
3056
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx5.HStack, { children: [
3057
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Show, { when: props.invalid, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(InvalidIcon, { "data-part": "invalid-icon" }) }),
3058
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SelectParts.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SelectArrow, {}) })
2960
3059
  ] })
2961
3060
  ] }) }),
2962
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectParts.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectParts.Content, { size: rootProps.size, children: props.children }) }) }),
2963
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectParts.HiddenSelect, {})
3061
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SelectParts.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SelectParts.Content, { size: rootProps.size, children: props.children }) }) }),
3062
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SelectParts.HiddenSelect, {})
2964
3063
  ] });
2965
3064
  }
2966
3065
  function Option(props) {
2967
3066
  const { item, ...itemProps } = props;
2968
3067
  const { icons } = useCerberusContext();
2969
3068
  const { selectChecked: CheckedIcon } = icons;
2970
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(SelectParts.Item, { ...itemProps, item, children: [
2971
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectParts.ItemText, { children: item == null ? void 0 : item.label }),
2972
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectParts.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(CheckedIcon, {}) })
3069
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(SelectParts.Item, { ...itemProps, item, children: [
3070
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SelectParts.ItemText, { children: item == null ? void 0 : item.label }),
3071
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SelectParts.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(CheckedIcon, {}) })
2973
3072
  ] });
2974
3073
  }
2975
3074
 
2976
3075
  // src/components/select/option-group.tsx
2977
- var import_jsx_runtime54 = require("react/jsx-runtime");
3076
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2978
3077
  function OptionGroup(props) {
2979
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectItemGroup, { ...props });
3078
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SelectItemGroup, { ...props });
2980
3079
  }
2981
3080
  function OptionGroupLabel(props) {
2982
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectItemGroupLabel, { ...props });
3081
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SelectItemGroupLabel, { ...props });
2983
3082
  }
2984
3083
 
2985
3084
  // src/components/switch/primitives.tsx
2986
3085
  var import_react28 = require("@ark-ui/react");
2987
- var import_css40 = require("@cerberus/styled-system/css");
2988
- var import_recipes34 = require("@cerberus/styled-system/recipes");
2989
- var import_jsx_runtime55 = require("react/jsx-runtime");
3086
+ var import_css41 = require("@cerberus/styled-system/css");
3087
+ var import_recipes35 = require("@cerberus/styled-system/recipes");
3088
+ var import_jsx_runtime57 = require("react/jsx-runtime");
2990
3089
  function SwitchRoot(props) {
2991
3090
  const { size, ...rootProps } = props;
2992
- const styles = (0, import_recipes34.switchRecipe)({ size });
2993
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3091
+ const styles = (0, import_recipes35.switchRecipe)({ size });
3092
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2994
3093
  import_react28.Switch.Root,
2995
3094
  {
2996
3095
  ...rootProps,
2997
- className: (0, import_css40.cx)(styles.root, rootProps.className)
3096
+ className: (0, import_css41.cx)(styles.root, rootProps.className)
2998
3097
  }
2999
3098
  );
3000
3099
  }
3001
3100
  function SwitchLabel(props) {
3002
- const styles = (0, import_recipes34.switchRecipe)();
3003
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react28.Switch.Label, { ...props, className: (0, import_css40.cx)(styles.label, props.className) });
3101
+ const styles = (0, import_recipes35.switchRecipe)();
3102
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react28.Switch.Label, { ...props, className: (0, import_css41.cx)(styles.label, props.className) });
3004
3103
  }
3005
3104
  function SwitchControl(props) {
3006
- const styles = (0, import_recipes34.switchRecipe)();
3007
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3105
+ const styles = (0, import_recipes35.switchRecipe)();
3106
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3008
3107
  import_react28.Switch.Control,
3009
3108
  {
3010
3109
  ...props,
3011
- className: (0, import_css40.cx)(styles.control, props.className)
3110
+ className: (0, import_css41.cx)(styles.control, props.className)
3012
3111
  }
3013
3112
  );
3014
3113
  }
3015
3114
  function SwitchThumb(props) {
3016
- const styles = (0, import_recipes34.switchRecipe)();
3017
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react28.Switch.Thumb, { ...props, className: (0, import_css40.cx)(styles.thumb, props.className) });
3115
+ const styles = (0, import_recipes35.switchRecipe)();
3116
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react28.Switch.Thumb, { ...props, className: (0, import_css41.cx)(styles.thumb, props.className) });
3018
3117
  }
3019
3118
  var SwitchHiddenInput = import_react28.Switch.HiddenInput;
3020
3119
 
@@ -3028,40 +3127,40 @@ var SwitchParts = {
3028
3127
  };
3029
3128
 
3030
3129
  // src/components/switch/switch-indicator.tsx
3031
- var import_jsx_runtime56 = require("react/jsx-runtime");
3130
+ var import_jsx_runtime58 = require("react/jsx-runtime");
3032
3131
  function SwitchIndicator() {
3033
3132
  const { icons } = useCerberusContext();
3034
3133
  const { toggleChecked: CheckIcon } = icons;
3035
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CheckIcon, {});
3134
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CheckIcon, {});
3036
3135
  }
3037
3136
 
3038
3137
  // src/components/switch/switch.tsx
3039
- var import_jsx_runtime57 = require("react/jsx-runtime");
3138
+ var import_jsx_runtime59 = require("react/jsx-runtime");
3040
3139
  function Switch2(props) {
3041
3140
  const { children, ...rootProps } = props;
3042
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(SwitchParts.Root, { ...rootProps, children: [
3043
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SwitchParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SwitchParts.Thumb, { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SwitchIndicator, {}) }) }),
3044
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SwitchParts.Label, { children }),
3045
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SwitchParts.HiddenInput, {})
3141
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(SwitchParts.Root, { ...rootProps, children: [
3142
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SwitchParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SwitchParts.Thumb, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SwitchIndicator, {}) }) }),
3143
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SwitchParts.Label, { children }),
3144
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SwitchParts.HiddenInput, {})
3046
3145
  ] });
3047
3146
  }
3048
3147
 
3049
3148
  // src/components/Tabs.client.tsx
3050
3149
  var import_tabs2 = require("@ark-ui/react/tabs");
3051
- var import_css41 = require("@cerberus/styled-system/css");
3150
+ var import_css42 = require("@cerberus/styled-system/css");
3052
3151
 
3053
3152
  // src/context/tabs.tsx
3054
3153
  var import_tabs = require("@ark-ui/react/tabs");
3055
- var import_recipes35 = require("@cerberus/styled-system/recipes");
3154
+ var import_recipes36 = require("@cerberus/styled-system/recipes");
3056
3155
  var import_react29 = require("react");
3057
- var import_jsx_runtime58 = require("react/jsx-runtime");
3156
+ var import_jsx_runtime60 = require("react/jsx-runtime");
3058
3157
  var TabsContext = (0, import_react29.createContext)(null);
3059
3158
  function Tabs(props) {
3060
3159
  const { cache, defaultValue, palette, uuid, ...arkProps } = props;
3061
3160
  const [activeTab, setActiveTab] = (0, import_react29.useState)(
3062
3161
  () => cache ? "" : defaultValue
3063
3162
  );
3064
- const styles = (0, import_recipes35.tabs)({ palette });
3163
+ const styles = (0, import_recipes36.tabs)({ palette });
3065
3164
  const cacheKey = (0, import_react29.useMemo)(
3066
3165
  () => uuid ? `cerberus-tabs-${uuid}` : "cerberus-tabs",
3067
3166
  [uuid]
@@ -3088,7 +3187,7 @@ function Tabs(props) {
3088
3187
  }),
3089
3188
  [activeTab, palette, styles]
3090
3189
  );
3091
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(TabsContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
3190
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(TabsContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3092
3191
  import_tabs.Tabs.Root,
3093
3192
  {
3094
3193
  ...arkProps,
@@ -3110,18 +3209,18 @@ function useTabsContext() {
3110
3209
  }
3111
3210
 
3112
3211
  // src/components/Tabs.client.tsx
3113
- var import_jsx_runtime59 = require("react/jsx-runtime");
3212
+ var import_jsx_runtime61 = require("react/jsx-runtime");
3114
3213
  function TabsList(props) {
3115
3214
  const { children, ...tabsProps } = props;
3116
3215
  const { styles } = useTabsContext();
3117
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
3216
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
3118
3217
  import_tabs2.Tabs.List,
3119
3218
  {
3120
3219
  ...tabsProps,
3121
- className: (0, import_css41.cx)(tabsProps.className, styles.list),
3220
+ className: (0, import_css42.cx)(tabsProps.className, styles.list),
3122
3221
  children: [
3123
3222
  children,
3124
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TabIndicator, {})
3223
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(TabIndicator, {})
3125
3224
  ]
3126
3225
  }
3127
3226
  );
@@ -3129,90 +3228,90 @@ function TabsList(props) {
3129
3228
  var TabList = TabsList;
3130
3229
  function Tab(props) {
3131
3230
  const { styles } = useTabsContext();
3132
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3231
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3133
3232
  import_tabs2.Tabs.Trigger,
3134
3233
  {
3135
3234
  ...props,
3136
- className: (0, import_css41.cx)(props.className, styles.trigger)
3235
+ className: (0, import_css42.cx)(props.className, styles.trigger)
3137
3236
  }
3138
3237
  );
3139
3238
  }
3140
3239
  function TabIndicator(props) {
3141
3240
  const { styles } = useTabsContext();
3142
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3241
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3143
3242
  import_tabs2.Tabs.Indicator,
3144
3243
  {
3145
3244
  ...props,
3146
- className: (0, import_css41.cx)(props.className, styles.indicator)
3245
+ className: (0, import_css42.cx)(props.className, styles.indicator)
3147
3246
  }
3148
3247
  );
3149
3248
  }
3150
3249
  function TabPanel(props) {
3151
3250
  const { styles } = useTabsContext();
3152
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3251
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3153
3252
  import_tabs2.Tabs.Content,
3154
3253
  {
3155
3254
  ...props,
3156
- className: (0, import_css41.cx)(props.className, styles.content)
3255
+ className: (0, import_css42.cx)(props.className, styles.content)
3157
3256
  }
3158
3257
  );
3159
3258
  }
3160
3259
 
3161
3260
  // src/components/Table.tsx
3162
- var import_css42 = require("@cerberus/styled-system/css");
3163
- var import_recipes36 = require("@cerberus/styled-system/recipes");
3164
- var import_jsx_runtime60 = require("react/jsx-runtime");
3261
+ var import_css43 = require("@cerberus/styled-system/css");
3262
+ var import_recipes37 = require("@cerberus/styled-system/recipes");
3263
+ var import_jsx_runtime62 = require("react/jsx-runtime");
3165
3264
  function Table(props) {
3166
3265
  const { caption, children, ...nativeProps } = props;
3167
- const styles = (0, import_recipes36.table)();
3168
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: styles.container, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
3266
+ const styles = (0, import_recipes37.table)();
3267
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: styles.container, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
3169
3268
  "table",
3170
3269
  {
3171
3270
  ...nativeProps,
3172
- className: (0, import_css42.cx)(nativeProps.className, styles.table),
3271
+ className: (0, import_css43.cx)(nativeProps.className, styles.table),
3173
3272
  children: [
3174
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("caption", { className: styles.caption, children: caption }),
3273
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("caption", { className: styles.caption, children: caption }),
3175
3274
  children
3176
3275
  ]
3177
3276
  }
3178
3277
  ) });
3179
3278
  }
3180
3279
  function Tr(props) {
3181
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("tr", { ...props });
3280
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("tr", { ...props });
3182
3281
  }
3183
3282
 
3184
3283
  // src/components/Thead.tsx
3185
- var import_css43 = require("@cerberus/styled-system/css");
3186
- var import_recipes37 = require("@cerberus/styled-system/recipes");
3187
- var import_jsx_runtime61 = require("react/jsx-runtime");
3284
+ var import_css44 = require("@cerberus/styled-system/css");
3285
+ var import_recipes38 = require("@cerberus/styled-system/recipes");
3286
+ var import_jsx_runtime63 = require("react/jsx-runtime");
3188
3287
  function Thead(props) {
3189
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("thead", { ...props, className: (0, import_css43.cx)(props.className, (0, import_recipes37.thead)()) });
3288
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("thead", { ...props, className: (0, import_css44.cx)(props.className, (0, import_recipes38.thead)()) });
3190
3289
  }
3191
3290
 
3192
3291
  // src/components/Th.tsx
3193
- var import_css44 = require("@cerberus/styled-system/css");
3194
- var import_recipes38 = require("@cerberus/styled-system/recipes");
3195
- var import_jsx_runtime62 = require("react/jsx-runtime");
3292
+ var import_css45 = require("@cerberus/styled-system/css");
3293
+ var import_recipes39 = require("@cerberus/styled-system/recipes");
3294
+ var import_jsx_runtime64 = require("react/jsx-runtime");
3196
3295
  function Th(props) {
3197
3296
  const { size, onClick, ...nativeProps } = props;
3198
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3297
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3199
3298
  Show,
3200
3299
  {
3201
3300
  when: Boolean(onClick),
3202
- fallback: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3301
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3203
3302
  "th",
3204
3303
  {
3205
3304
  ...nativeProps,
3206
- className: (0, import_css44.cx)(nativeProps.className, (0, import_recipes38.th)({ size }))
3305
+ className: (0, import_css45.cx)(nativeProps.className, (0, import_recipes39.th)({ size }))
3207
3306
  }
3208
3307
  ),
3209
- children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("th", { ...nativeProps, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3308
+ children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("th", { ...nativeProps, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3210
3309
  "button",
3211
3310
  {
3212
- className: (0, import_css44.cx)(
3311
+ className: (0, import_css45.cx)(
3213
3312
  nativeProps.className,
3214
- (0, import_recipes38.th)({ size }),
3215
- (0, import_css44.css)({
3313
+ (0, import_recipes39.th)({ size }),
3314
+ (0, import_css45.css)({
3216
3315
  alignItems: "center",
3217
3316
  display: "inline-flex",
3218
3317
  justifyContent: "space-between",
@@ -3232,18 +3331,18 @@ function Th(props) {
3232
3331
  }
3233
3332
 
3234
3333
  // src/components/Td.tsx
3235
- var import_css45 = require("@cerberus/styled-system/css");
3236
- var import_recipes39 = require("@cerberus/styled-system/recipes");
3237
- var import_jsx_runtime63 = require("react/jsx-runtime");
3334
+ var import_css46 = require("@cerberus/styled-system/css");
3335
+ var import_recipes40 = require("@cerberus/styled-system/recipes");
3336
+ var import_jsx_runtime65 = require("react/jsx-runtime");
3238
3337
  function Td(props) {
3239
3338
  const { size, ...nativeProps } = props;
3240
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3339
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3241
3340
  "td",
3242
3341
  {
3243
3342
  ...nativeProps,
3244
- className: (0, import_css45.cx)(
3343
+ className: (0, import_css46.cx)(
3245
3344
  nativeProps.className,
3246
- (0, import_recipes39.td)({
3345
+ (0, import_recipes40.td)({
3247
3346
  size
3248
3347
  })
3249
3348
  )
@@ -3252,18 +3351,18 @@ function Td(props) {
3252
3351
  }
3253
3352
 
3254
3353
  // src/components/Tbody.tsx
3255
- var import_recipes40 = require("@cerberus/styled-system/recipes");
3256
- var import_css46 = require("@cerberus/styled-system/css");
3257
- var import_jsx_runtime64 = require("react/jsx-runtime");
3354
+ var import_recipes41 = require("@cerberus/styled-system/recipes");
3355
+ var import_css47 = require("@cerberus/styled-system/css");
3356
+ var import_jsx_runtime66 = require("react/jsx-runtime");
3258
3357
  function Tbody(props) {
3259
3358
  const { decoration, ...nativeProps } = props;
3260
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3359
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3261
3360
  "tbody",
3262
3361
  {
3263
3362
  ...nativeProps,
3264
- className: (0, import_css46.cx)(
3363
+ className: (0, import_css47.cx)(
3265
3364
  nativeProps.className,
3266
- (0, import_recipes40.tbody)({
3365
+ (0, import_recipes41.tbody)({
3267
3366
  decoration
3268
3367
  })
3269
3368
  )
@@ -3272,9 +3371,9 @@ function Tbody(props) {
3272
3371
  }
3273
3372
 
3274
3373
  // src/components/Tag.tsx
3275
- var import_css47 = require("@cerberus/styled-system/css");
3276
- var import_recipes41 = require("@cerberus/styled-system/recipes");
3277
- var import_jsx_runtime65 = require("react/jsx-runtime");
3374
+ var import_css48 = require("@cerberus/styled-system/css");
3375
+ var import_recipes42 = require("@cerberus/styled-system/recipes");
3376
+ var import_jsx_runtime67 = require("react/jsx-runtime");
3278
3377
  function Tag(props) {
3279
3378
  const { shape: initShape, gradient, onClick, usage, ...nativeProps } = props;
3280
3379
  const palette = (props == null ? void 0 : props.palette) ?? "page";
@@ -3283,13 +3382,13 @@ function Tag(props) {
3283
3382
  const closableStyles = isClosable ? closableCss : "";
3284
3383
  const { icons } = useCerberusContext();
3285
3384
  const { close: Close } = icons;
3286
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
3385
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
3287
3386
  "span",
3288
3387
  {
3289
3388
  ...nativeProps,
3290
- className: (0, import_css47.cx)(
3389
+ className: (0, import_css48.cx)(
3291
3390
  nativeProps.className,
3292
- (0, import_recipes41.tag)({
3391
+ (0, import_recipes42.tag)({
3293
3392
  gradient,
3294
3393
  palette,
3295
3394
  shape,
@@ -3299,24 +3398,24 @@ function Tag(props) {
3299
3398
  ),
3300
3399
  children: [
3301
3400
  props.children,
3302
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Show, { when: isClosable, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3401
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Show, { when: isClosable, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3303
3402
  "button",
3304
3403
  {
3305
3404
  "aria-label": "Close",
3306
- className: (0, import_recipes41.iconButton)({
3405
+ className: (0, import_recipes42.iconButton)({
3307
3406
  palette: "action",
3308
3407
  usage: "filled",
3309
3408
  size: "sm"
3310
3409
  }),
3311
3410
  onClick,
3312
- children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Close, {})
3411
+ children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Close, {})
3313
3412
  }
3314
3413
  ) })
3315
3414
  ]
3316
3415
  }
3317
3416
  );
3318
3417
  }
3319
- var closableCss = (0, import_css47.css)({
3418
+ var closableCss = (0, import_css48.css)({
3320
3419
  bgColor: "action.bg.active",
3321
3420
  color: "action.text.initial",
3322
3421
  paddingInlineEnd: "0"
@@ -3335,24 +3434,24 @@ var ToggleParts = {
3335
3434
 
3336
3435
  // src/components/Tooltip.tsx
3337
3436
  var import_tooltip = require("@ark-ui/react/tooltip");
3338
- var import_css48 = require("@cerberus/styled-system/css");
3339
- var import_recipes42 = require("@cerberus/styled-system/recipes");
3340
- var import_jsx_runtime66 = require("react/jsx-runtime");
3437
+ var import_css49 = require("@cerberus/styled-system/css");
3438
+ var import_recipes43 = require("@cerberus/styled-system/recipes");
3439
+ var import_jsx_runtime68 = require("react/jsx-runtime");
3341
3440
  function Tooltip(props) {
3342
3441
  const { content, children, asChild, ...nativeProps } = props;
3343
- const styles = (0, import_recipes42.tooltip)();
3442
+ const styles = (0, import_recipes43.tooltip)();
3344
3443
  const position = {
3345
3444
  placement: props.position || "top"
3346
3445
  };
3347
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_tooltip.Tooltip.Root, { openDelay: 400, positioning: position, children: [
3348
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_tooltip.Tooltip.Trigger, { className: styles.trigger, asChild, children }),
3349
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_tooltip.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
3446
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_tooltip.Tooltip.Root, { openDelay: 400, positioning: position, children: [
3447
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_tooltip.Tooltip.Trigger, { className: styles.trigger, asChild, children }),
3448
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_tooltip.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
3350
3449
  import_tooltip.Tooltip.Content,
3351
3450
  {
3352
3451
  ...nativeProps,
3353
- className: (0, import_css48.cx)(nativeProps.className, styles.content),
3452
+ className: (0, import_css49.cx)(nativeProps.className, styles.content),
3354
3453
  children: [
3355
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_tooltip.Tooltip.Arrow, { className: styles.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_tooltip.Tooltip.ArrowTip, { className: styles.arrowTip }) }),
3454
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_tooltip.Tooltip.Arrow, { className: styles.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_tooltip.Tooltip.ArrowTip, { className: styles.arrowTip }) }),
3356
3455
  content
3357
3456
  ]
3358
3457
  }
@@ -3362,9 +3461,9 @@ function Tooltip(props) {
3362
3461
 
3363
3462
  // src/context/confirm-modal.tsx
3364
3463
  var import_react30 = require("react");
3365
- var import_css49 = require("@cerberus/styled-system/css");
3464
+ var import_css50 = require("@cerberus/styled-system/css");
3366
3465
  var import_jsx6 = require("@cerberus/styled-system/jsx");
3367
- var import_jsx_runtime67 = require("react/jsx-runtime");
3466
+ var import_jsx_runtime69 = require("react/jsx-runtime");
3368
3467
  var ConfirmModalContext = (0, import_react30.createContext)(null);
3369
3468
  function ConfirmModal(props) {
3370
3469
  const [open, setOpen] = (0, import_react30.useState)(false);
@@ -3405,36 +3504,36 @@ function ConfirmModal(props) {
3405
3504
  }),
3406
3505
  [handleShow]
3407
3506
  );
3408
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(ConfirmModalContext.Provider, { value, children: [
3507
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(ConfirmModalContext.Provider, { value, children: [
3409
3508
  props.children,
3410
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Dialog, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx6.VStack, { gap: "xl", w: "full", children: [
3411
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx6.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: [
3412
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3509
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Dialog, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx6.VStack, { gap: "xl", w: "full", children: [
3510
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx6.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: [
3511
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3413
3512
  import_jsx6.HStack,
3414
3513
  {
3415
3514
  alignSelf: "center",
3416
3515
  justify: "center",
3417
3516
  paddingBlockEnd: "md",
3418
3517
  w: "full",
3419
- children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3518
+ children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3420
3519
  Show,
3421
3520
  {
3422
3521
  when: palette === "danger",
3423
- fallback: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3522
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3424
3523
  Avatar,
3425
3524
  {
3426
3525
  ariaLabel: "",
3427
3526
  gradient: "charon-light",
3428
- icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ConfirmIcon, { size: 24 }),
3527
+ icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ConfirmIcon, { size: 24 }),
3429
3528
  src: ""
3430
3529
  }
3431
3530
  ),
3432
- children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3531
+ children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3433
3532
  Avatar,
3434
3533
  {
3435
3534
  ariaLabel: "",
3436
3535
  gradient: "hades-dark",
3437
- icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ConfirmIcon, { size: 24 }),
3536
+ icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ConfirmIcon, { size: 24 }),
3438
3537
  src: ""
3439
3538
  }
3440
3539
  )
@@ -3442,15 +3541,15 @@ function ConfirmModal(props) {
3442
3541
  )
3443
3542
  }
3444
3543
  ),
3445
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
3446
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
3544
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
3545
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
3447
3546
  ] }),
3448
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx6.HStack, { gap: "4", w: "full", children: [
3449
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3547
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx6.HStack, { gap: "4", w: "full", children: [
3548
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3450
3549
  Button,
3451
3550
  {
3452
3551
  autoFocus: true,
3453
- className: (0, import_css49.css)({
3552
+ className: (0, import_css50.css)({
3454
3553
  w: "1/2"
3455
3554
  }),
3456
3555
  name: "confirm",
@@ -3460,10 +3559,10 @@ function ConfirmModal(props) {
3460
3559
  children: content == null ? void 0 : content.actionText
3461
3560
  }
3462
3561
  ),
3463
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3562
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3464
3563
  Button,
3465
3564
  {
3466
- className: (0, import_css49.css)({
3565
+ className: (0, import_css50.css)({
3467
3566
  w: "1/2"
3468
3567
  }),
3469
3568
  name: "cancel",
@@ -3490,8 +3589,8 @@ function useConfirmModal() {
3490
3589
  // src/context/notification-center.tsx
3491
3590
  var import_react31 = require("react");
3492
3591
  var import_patterns10 = require("@cerberus/styled-system/patterns");
3493
- var import_recipes43 = require("@cerberus/styled-system/recipes");
3494
- var import_css50 = require("@cerberus/styled-system/css");
3592
+ var import_recipes44 = require("@cerberus/styled-system/recipes");
3593
+ var import_css51 = require("@cerberus/styled-system/css");
3495
3594
 
3496
3595
  // src/context/notification-center/store.ts
3497
3596
  function notificationCenterReducer(state, action) {
@@ -3524,11 +3623,11 @@ function clearNotificationState(dispatch) {
3524
3623
  }
3525
3624
 
3526
3625
  // src/context/notification-center.tsx
3527
- var import_jsx_runtime68 = require("react/jsx-runtime");
3626
+ var import_jsx_runtime70 = require("react/jsx-runtime");
3528
3627
  var NotificationsContext = (0, import_react31.createContext)(null);
3529
3628
  function NotificationCenter(props) {
3530
3629
  const [state, dispatch] = (0, import_react31.useReducer)(notificationCenterReducer, []);
3531
- const styles = (0, import_recipes43.notification)();
3630
+ const styles = (0, import_recipes44.notification)();
3532
3631
  const timeout = (0, import_react31.useMemo)(
3533
3632
  () => props.duration || 6e3,
3534
3633
  [props.duration]
@@ -3578,13 +3677,13 @@ function NotificationCenter(props) {
3578
3677
  }),
3579
3678
  [handleNotify]
3580
3679
  );
3581
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(NotificationsContext.Provider, { value, children: [
3680
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(NotificationsContext.Provider, { value, children: [
3582
3681
  props.children,
3583
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Show, { when: state.length > 0, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Portal, { container: props.container, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: styles.center, children: [
3584
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Show, { when: state.length >= 4, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3682
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Show, { when: state.length > 0, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Portal, { container: props.container, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: styles.center, children: [
3683
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Show, { when: state.length >= 4, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3585
3684
  Button,
3586
3685
  {
3587
- className: (0, import_css50.cx)(styles.closeAll, (0, import_patterns10.animateIn)()),
3686
+ className: (0, import_css51.cx)(styles.closeAll, (0, import_patterns10.animateIn)()),
3588
3687
  onClick: handleCloseAll,
3589
3688
  palette: "action",
3590
3689
  shape: "rounded",
@@ -3593,7 +3692,7 @@ function NotificationCenter(props) {
3593
3692
  children: "Close all"
3594
3693
  }
3595
3694
  ) }),
3596
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3695
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3597
3696
  "div",
3598
3697
  {
3599
3698
  className: (0, import_patterns10.vstack)({
@@ -3603,7 +3702,7 @@ function NotificationCenter(props) {
3603
3702
  style: {
3604
3703
  alignItems: "flex-end"
3605
3704
  },
3606
- children: state.map((option) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3705
+ children: state.map((option) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3607
3706
  MatchNotification,
3608
3707
  {
3609
3708
  ...option,
@@ -3630,25 +3729,25 @@ function MatchNotification(props) {
3630
3729
  );
3631
3730
  switch (palette) {
3632
3731
  case "success":
3633
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Notification, { ...sharedProps, palette: "success", children: [
3634
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(NotificationHeading, { palette: "success", children: heading }),
3635
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(NotificationDescription, { palette: "success", children: description })
3732
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(Notification, { ...sharedProps, palette: "success", children: [
3733
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(NotificationHeading, { palette: "success", children: heading }),
3734
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(NotificationDescription, { palette: "success", children: description })
3636
3735
  ] });
3637
3736
  case "warning":
3638
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Notification, { ...sharedProps, palette: "warning", children: [
3639
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(NotificationHeading, { palette: "warning", children: heading }),
3640
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(NotificationDescription, { palette: "warning", children: description })
3737
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(Notification, { ...sharedProps, palette: "warning", children: [
3738
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(NotificationHeading, { palette: "warning", children: heading }),
3739
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(NotificationDescription, { palette: "warning", children: description })
3641
3740
  ] });
3642
3741
  case "danger":
3643
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Notification, { ...sharedProps, palette: "danger", children: [
3644
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(NotificationHeading, { palette: "danger", children: heading }),
3645
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(NotificationDescription, { palette: "danger", children: description })
3742
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(Notification, { ...sharedProps, palette: "danger", children: [
3743
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(NotificationHeading, { palette: "danger", children: heading }),
3744
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(NotificationDescription, { palette: "danger", children: description })
3646
3745
  ] });
3647
3746
  case "info":
3648
3747
  default:
3649
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Notification, { ...sharedProps, palette: "info", children: [
3650
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(NotificationHeading, { palette: "info", children: heading }),
3651
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(NotificationDescription, { palette: "info", children: description })
3748
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(Notification, { ...sharedProps, palette: "info", children: [
3749
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(NotificationHeading, { palette: "info", children: heading }),
3750
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(NotificationDescription, { palette: "info", children: description })
3652
3751
  ] });
3653
3752
  }
3654
3753
  }
@@ -3666,9 +3765,9 @@ function useNotificationCenter() {
3666
3765
  var import_react32 = require("react");
3667
3766
  var import_react33 = require("@ark-ui/react");
3668
3767
  var import_jsx7 = require("@cerberus/styled-system/jsx");
3669
- var import_css51 = require("@cerberus/styled-system/css");
3768
+ var import_css52 = require("@cerberus/styled-system/css");
3670
3769
  var import_patterns11 = require("@cerberus/styled-system/patterns");
3671
- var import_jsx_runtime69 = require("react/jsx-runtime");
3770
+ var import_jsx_runtime71 = require("react/jsx-runtime");
3672
3771
  var PromptModalContext = (0, import_react32.createContext)(null);
3673
3772
  function PromptModal(props) {
3674
3773
  const resolveRef = (0, import_react32.useRef)(null);
@@ -3718,36 +3817,36 @@ function PromptModal(props) {
3718
3817
  }),
3719
3818
  [handleShow]
3720
3819
  );
3721
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(PromptModalContext.Provider, { value, children: [
3820
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(PromptModalContext.Provider, { value, children: [
3722
3821
  props.children,
3723
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Dialog, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx7.VStack, { gap: "xl", w: "full", children: [
3724
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx7.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: [
3725
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3822
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Dialog, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx7.VStack, { gap: "xl", w: "full", children: [
3823
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx7.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: [
3824
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3726
3825
  import_jsx7.HStack,
3727
3826
  {
3728
3827
  alignSelf: "center",
3729
3828
  justify: "center",
3730
3829
  paddingBlockEnd: "md",
3731
3830
  w: "full",
3732
- children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3831
+ children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3733
3832
  Show,
3734
3833
  {
3735
3834
  when: palette === "danger",
3736
- fallback: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3835
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3737
3836
  Avatar,
3738
3837
  {
3739
3838
  ariaLabel: "",
3740
3839
  gradient: "charon-light",
3741
- icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(PromptIcon, { size: 24 }),
3840
+ icon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(PromptIcon, { size: 24 }),
3742
3841
  src: ""
3743
3842
  }
3744
3843
  ),
3745
- children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3844
+ children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3746
3845
  Avatar,
3747
3846
  {
3748
3847
  ariaLabel: "",
3749
3848
  gradient: "hades-dark",
3750
- icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(PromptIcon, { size: 24 }),
3849
+ icon: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(PromptIcon, { size: 24 }),
3751
3850
  src: ""
3752
3851
  }
3753
3852
  )
@@ -3755,17 +3854,17 @@ function PromptModal(props) {
3755
3854
  )
3756
3855
  }
3757
3856
  ),
3758
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
3759
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
3857
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
3858
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
3760
3859
  ] }),
3761
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3860
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3762
3861
  import_jsx7.VStack,
3763
3862
  {
3764
3863
  alignItems: "flex-start",
3765
3864
  marginBlockStart: "md",
3766
3865
  marginBlockEnd: "lg",
3767
3866
  w: "full",
3768
- children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
3867
+ children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
3769
3868
  FieldRoot,
3770
3869
  {
3771
3870
  ids: {
@@ -3773,7 +3872,7 @@ function PromptModal(props) {
3773
3872
  },
3774
3873
  invalid: !isValid,
3775
3874
  children: [
3776
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
3875
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
3777
3876
  FieldLabel,
3778
3877
  {
3779
3878
  className: (0, import_patterns11.hstack)({
@@ -3784,23 +3883,23 @@ function PromptModal(props) {
3784
3883
  }),
3785
3884
  children: [
3786
3885
  "Type",
3787
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Text, { as: "strong", textTransform: "uppercase", children: content == null ? void 0 : content.key }),
3886
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Text, { as: "strong", textTransform: "uppercase", children: content == null ? void 0 : content.key }),
3788
3887
  "to confirm"
3789
3888
  ]
3790
3889
  }
3791
3890
  ),
3792
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Input, { name: "confirm", onChange: handleChange, type: "text" })
3891
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Input, { name: "confirm", onChange: handleChange, type: "text" })
3793
3892
  ]
3794
3893
  }
3795
3894
  )
3796
3895
  }
3797
3896
  ),
3798
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx7.HStack, { gap: "md", justify: "stretch", w: "full", children: [
3799
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3897
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx7.HStack, { gap: "md", justify: "stretch", w: "full", children: [
3898
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3800
3899
  Button,
3801
3900
  {
3802
3901
  autoFocus: true,
3803
- className: (0, import_css51.css)({
3902
+ className: (0, import_css52.css)({
3804
3903
  w: "1/2"
3805
3904
  }),
3806
3905
  disabled: !isValid,
@@ -3811,10 +3910,10 @@ function PromptModal(props) {
3811
3910
  children: content == null ? void 0 : content.actionText
3812
3911
  }
3813
3912
  ),
3814
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react33.DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3913
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react33.DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
3815
3914
  Button,
3816
3915
  {
3817
- className: (0, import_css51.css)({
3916
+ className: (0, import_css52.css)({
3818
3917
  w: "1/2"
3819
3918
  }),
3820
3919
  name: "cancel",
@@ -3903,7 +4002,7 @@ function useTheme(defaultTheme = "cerberus", defaultColorMode = "light", options
3903
4002
  }
3904
4003
 
3905
4004
  // src/context/theme.tsx
3906
- var import_jsx_runtime70 = require("react/jsx-runtime");
4005
+ var import_jsx_runtime72 = require("react/jsx-runtime");
3907
4006
  var ThemeContext = (0, import_react35.createContext)(
3908
4007
  null
3909
4008
  );
@@ -3913,7 +4012,7 @@ function ThemeProvider(props) {
3913
4012
  updateMode: props.updateMode,
3914
4013
  updateTheme: props.updateTheme
3915
4014
  });
3916
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ThemeContext.Provider, { value: state, children: props.children });
4015
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ThemeContext.Provider, { value: state, children: props.children });
3917
4016
  }
3918
4017
  function useThemeContext() {
3919
4018
  const context = (0, import_react35.useContext)(ThemeContext);
@@ -3958,9 +4057,9 @@ function rootColorsReducer(state, action) {
3958
4057
  }
3959
4058
 
3960
4059
  // src/config/icons/checkbox.icons.tsx
3961
- var import_jsx_runtime71 = require("react/jsx-runtime");
4060
+ var import_jsx_runtime73 = require("react/jsx-runtime");
3962
4061
  function CheckmarkIcon(props) {
3963
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
4062
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3964
4063
  "svg",
3965
4064
  {
3966
4065
  "aria-hidden": "true",
@@ -3969,7 +4068,7 @@ function CheckmarkIcon(props) {
3969
4068
  role: "img",
3970
4069
  viewBox: "0 0 24 24",
3971
4070
  ...props,
3972
- children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
4071
+ children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3973
4072
  "path",
3974
4073
  {
3975
4074
  fill: "currentColor",
@@ -3980,7 +4079,7 @@ function CheckmarkIcon(props) {
3980
4079
  );
3981
4080
  }
3982
4081
  function IndeterminateIcon(props) {
3983
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
4082
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3984
4083
  "svg",
3985
4084
  {
3986
4085
  "aria-hidden": "true",
@@ -3989,15 +4088,15 @@ function IndeterminateIcon(props) {
3989
4088
  fill: "none",
3990
4089
  viewBox: "0 0 24 24",
3991
4090
  ...props,
3992
- children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("path", { fill: "currentColor", d: "M4 11h16v2.667H4z" })
4091
+ children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("path", { fill: "currentColor", d: "M4 11h16v2.667H4z" })
3993
4092
  }
3994
4093
  );
3995
4094
  }
3996
4095
 
3997
4096
  // src/components/AnimatingUploadIcon.tsx
3998
- var import_jsx_runtime72 = require("react/jsx-runtime");
4097
+ var import_jsx_runtime74 = require("react/jsx-runtime");
3999
4098
  function AnimatingUploadIcon(props) {
4000
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4099
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4001
4100
  "svg",
4002
4101
  {
4003
4102
  "aria-hidden": "true",
@@ -4005,7 +4104,7 @@ function AnimatingUploadIcon(props) {
4005
4104
  width: props.size ?? "1em",
4006
4105
  height: props.size ?? "1em",
4007
4106
  viewBox: "0 0 24 24",
4008
- children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
4107
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
4009
4108
  "g",
4010
4109
  {
4011
4110
  fill: "none",
@@ -4014,14 +4113,14 @@ function AnimatingUploadIcon(props) {
4014
4113
  strokeLinejoin: "round",
4015
4114
  strokeWidth: 1.5,
4016
4115
  children: [
4017
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4116
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4018
4117
  "path",
4019
4118
  {
4020
4119
  "data-name": "animating-trail",
4021
4120
  strokeDasharray: "2 4",
4022
4121
  strokeDashoffset: 6,
4023
4122
  d: "M12 21c-4.97 0 -9 -4.03 -9 -9c0 -4.97 4.03 -9 9 -9",
4024
- children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4123
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4025
4124
  "animate",
4026
4125
  {
4027
4126
  attributeName: "stroke-dashoffset",
@@ -4032,14 +4131,14 @@ function AnimatingUploadIcon(props) {
4032
4131
  )
4033
4132
  }
4034
4133
  ),
4035
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4134
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4036
4135
  "path",
4037
4136
  {
4038
4137
  "data-name": "half-circle",
4039
4138
  strokeDasharray: 32,
4040
4139
  strokeDashoffset: 32,
4041
4140
  d: "M12 3c4.97 0 9 4.03 9 9c0 4.97 -4.03 9 -9 9",
4042
- children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4141
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4043
4142
  "animate",
4044
4143
  {
4045
4144
  fill: "freeze",
@@ -4051,7 +4150,7 @@ function AnimatingUploadIcon(props) {
4051
4150
  )
4052
4151
  }
4053
4152
  ),
4054
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4153
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4055
4154
  "svg",
4056
4155
  {
4057
4156
  "aria-hidden": "true",
@@ -4061,7 +4160,7 @@ function AnimatingUploadIcon(props) {
4061
4160
  x: "27%",
4062
4161
  y: "27%",
4063
4162
  viewBox: "0 0 24 24",
4064
- children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4163
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4065
4164
  "polygon",
4066
4165
  {
4067
4166
  fill: "currentColor",
@@ -4069,7 +4168,7 @@ function AnimatingUploadIcon(props) {
4069
4168
  strokeWidth: 0.8,
4070
4169
  opacity: "1",
4071
4170
  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 ",
4072
- children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4171
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4073
4172
  "animate",
4074
4173
  {
4075
4174
  fill: "freeze",
@@ -4231,6 +4330,15 @@ __reExport(src_exports, require("@dnd-kit/core"), module.exports);
4231
4330
  RadioGroupRoot,
4232
4331
  RadioParts,
4233
4332
  RangePickerInput,
4333
+ Rating,
4334
+ RatingContext,
4335
+ RatingControl,
4336
+ RatingHiddenInput,
4337
+ RatingItem,
4338
+ RatingItemContext,
4339
+ RatingLabel,
4340
+ RatingParts,
4341
+ RatingRoot,
4234
4342
  Select,
4235
4343
  SelectClearTrigger,
4236
4344
  SelectContent,