@cerberus-design/react 1.2.0 → 1.3.0-rc.1

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 (154) hide show
  1. package/dist/components/accordion/primitives.d.cts +8 -23
  2. package/dist/components/accordion/primitives.d.ts +8 -23
  3. package/dist/components/admonition/match-avatar.cjs +1 -1
  4. package/dist/components/admonition/match-avatar.js +1 -1
  5. package/dist/components/admonition/primitives.cjs +5 -5
  6. package/dist/components/admonition/primitives.d.cts +13 -2871
  7. package/dist/components/admonition/primitives.d.ts +13 -2871
  8. package/dist/components/admonition/primitives.js +6 -6
  9. package/dist/components/avatar/primitives.d.cts +4 -13
  10. package/dist/components/avatar/primitives.d.ts +4 -13
  11. package/dist/components/button/button.cjs +19 -7
  12. package/dist/components/button/button.d.cts +8 -5
  13. package/dist/components/button/button.d.ts +8 -5
  14. package/dist/components/button/button.js +19 -7
  15. package/dist/components/button/index.cjs +1 -1
  16. package/dist/components/button/index.js +1 -1
  17. package/dist/components/button/primitives.cjs +2 -7
  18. package/dist/components/button/primitives.d.cts +4 -8
  19. package/dist/components/button/primitives.d.ts +4 -8
  20. package/dist/components/button/primitives.js +3 -7
  21. package/dist/components/carousel/primitives.d.cts +9 -33
  22. package/dist/components/carousel/primitives.d.ts +9 -33
  23. package/dist/components/checkbox/primitives.d.cts +7 -25
  24. package/dist/components/checkbox/primitives.d.ts +7 -25
  25. package/dist/components/circular-progress/primitives.d.cts +8 -29
  26. package/dist/components/circular-progress/primitives.d.ts +8 -29
  27. package/dist/components/clipboard/primitives.d.cts +7 -25
  28. package/dist/components/clipboard/primitives.d.ts +7 -25
  29. package/dist/components/collapsible/primitives.d.cts +6 -21
  30. package/dist/components/collapsible/primitives.d.ts +6 -21
  31. package/dist/components/combobox/primitives.d.cts +16 -61
  32. package/dist/components/combobox/primitives.d.ts +16 -61
  33. package/dist/components/combobox/use-stateful-collection.cjs +1 -1
  34. package/dist/components/combobox/use-stateful-collection.js +1 -1
  35. package/dist/components/cta-dialog/provider.cjs +2 -2
  36. package/dist/components/cta-dialog/provider.js +2 -2
  37. package/dist/components/date-picker/primitives.d.cts +24 -93
  38. package/dist/components/date-picker/primitives.d.ts +24 -93
  39. package/dist/components/dialog/close-icon-trigger.cjs +1 -1
  40. package/dist/components/dialog/close-icon-trigger.js +1 -1
  41. package/dist/components/dialog/dialog.cjs +1 -1
  42. package/dist/components/dialog/dialog.js +1 -1
  43. package/dist/components/dialog/index.cjs +2 -1
  44. package/dist/components/dialog/index.js +3 -3
  45. package/dist/components/dialog/primitives.cjs +2 -0
  46. package/dist/components/dialog/primitives.d.cts +14 -38
  47. package/dist/components/dialog/primitives.d.ts +14 -38
  48. package/dist/components/dialog/primitives.js +2 -1
  49. package/dist/components/field/primitives.d.cts +21 -48
  50. package/dist/components/field/primitives.d.ts +21 -48
  51. package/dist/components/fieldset/primitives.d.cts +5 -17
  52. package/dist/components/fieldset/primitives.d.ts +5 -17
  53. package/dist/components/file-upload/file-status.cjs +1 -1
  54. package/dist/components/file-upload/file-status.js +1 -1
  55. package/dist/components/file-upload/primitives.d.cts +19 -73
  56. package/dist/components/file-upload/primitives.d.ts +19 -73
  57. package/dist/components/group/primitives.d.cts +2 -5
  58. package/dist/components/group/primitives.d.ts +2 -5
  59. package/dist/components/icon-button/button.cjs +1 -3
  60. package/dist/components/icon-button/button.js +1 -3
  61. package/dist/components/icon-button/primitives.cjs +4 -2
  62. package/dist/components/icon-button/primitives.d.cts +5 -8
  63. package/dist/components/icon-button/primitives.d.ts +5 -8
  64. package/dist/components/icon-button/primitives.js +4 -2
  65. package/dist/components/menu/menu.d.cts +6 -21
  66. package/dist/components/menu/menu.d.ts +6 -21
  67. package/dist/components/menu/primitives.d.cts +11 -41
  68. package/dist/components/menu/primitives.d.ts +11 -41
  69. package/dist/components/notifications/center.cjs +7 -23
  70. package/dist/components/notifications/center.d.cts +2 -6
  71. package/dist/components/notifications/center.d.ts +2 -6
  72. package/dist/components/notifications/center.js +8 -23
  73. package/dist/components/notifications/index.cjs +0 -14
  74. package/dist/components/notifications/index.js +3 -3
  75. package/dist/components/notifications/match-icon.cjs +7 -1
  76. package/dist/components/notifications/match-icon.d.cts +1 -5
  77. package/dist/components/notifications/match-icon.d.ts +1 -5
  78. package/dist/components/notifications/match-icon.js +7 -1
  79. package/dist/components/notifications/primitives.d.cts +5 -20
  80. package/dist/components/notifications/primitives.d.ts +5 -20
  81. package/dist/components/notifications/toaster.d.cts +0 -1
  82. package/dist/components/notifications/toaster.d.ts +0 -1
  83. package/dist/components/notifications/toaster.js +2 -2
  84. package/dist/components/notifications/types.d.cts +4 -30
  85. package/dist/components/notifications/types.d.ts +4 -30
  86. package/dist/components/number-input/primitives.d.cts +8 -29
  87. package/dist/components/number-input/primitives.d.ts +8 -29
  88. package/dist/components/pagination/primitives.d.cts +8 -29
  89. package/dist/components/pagination/primitives.d.ts +8 -29
  90. package/dist/components/pagination/triggers.d.cts +2 -3
  91. package/dist/components/pagination/triggers.d.ts +2 -3
  92. package/dist/components/pin-input/primitives.d.cts +6 -21
  93. package/dist/components/pin-input/primitives.d.ts +6 -21
  94. package/dist/components/popover/primitives.d.cts +14 -53
  95. package/dist/components/popover/primitives.d.ts +14 -53
  96. package/dist/components/progress/primitives.cjs +2 -2
  97. package/dist/components/progress/primitives.d.cts +7 -1910
  98. package/dist/components/progress/primitives.d.ts +7 -1910
  99. package/dist/components/progress/primitives.js +3 -3
  100. package/dist/components/radio/primitives.d.cts +8 -29
  101. package/dist/components/radio/primitives.d.ts +8 -29
  102. package/dist/components/rating/primitives.d.cts +5 -17
  103. package/dist/components/rating/primitives.d.ts +5 -17
  104. package/dist/components/select/option-group.d.cts +3 -9
  105. package/dist/components/select/option-group.d.ts +3 -9
  106. package/dist/components/select/primitives.d.cts +16 -61
  107. package/dist/components/select/primitives.d.ts +16 -61
  108. package/dist/components/split-button/button.cjs +1 -1
  109. package/dist/components/split-button/button.js +1 -1
  110. package/dist/components/switch/primitives.d.cts +6 -21
  111. package/dist/components/switch/primitives.d.ts +6 -21
  112. package/dist/components/table/primitives.cjs +10 -10
  113. package/dist/components/table/primitives.d.cts +23 -9518
  114. package/dist/components/table/primitives.d.ts +23 -9518
  115. package/dist/components/table/primitives.js +11 -11
  116. package/dist/components/tabs/primitives.d.cts +6 -21
  117. package/dist/components/tabs/primitives.d.ts +6 -21
  118. package/dist/components/tag/primitives.d.cts +2 -5
  119. package/dist/components/tag/primitives.d.ts +2 -5
  120. package/dist/components/toggle/primitives.d.cts +3 -9
  121. package/dist/components/toggle/primitives.d.ts +3 -9
  122. package/dist/components/tooltip/primitives.d.cts +7 -25
  123. package/dist/components/tooltip/primitives.d.ts +7 -25
  124. package/dist/components/tooltip/renderer.cjs +11 -0
  125. package/dist/components/tooltip/renderer.d.cts +6 -0
  126. package/dist/components/tooltip/renderer.d.ts +6 -0
  127. package/dist/components/tooltip/renderer.js +11 -0
  128. package/dist/components/tooltip/tooltip.cjs +6 -2
  129. package/dist/components/tooltip/tooltip.d.cts +4 -0
  130. package/dist/components/tooltip/tooltip.d.ts +4 -0
  131. package/dist/components/tooltip/tooltip.js +6 -2
  132. package/dist/context/cerberus.cjs +1 -1
  133. package/dist/context/cerberus.js +1 -1
  134. package/dist/context/confirm-modal.cjs +1 -1
  135. package/dist/context/confirm-modal.js +1 -1
  136. package/dist/context/feature-flags.cjs +1 -1
  137. package/dist/context/feature-flags.js +1 -1
  138. package/dist/context/navMenu.cjs +1 -1
  139. package/dist/context/navMenu.js +1 -1
  140. package/dist/context/prompt-modal.cjs +2 -2
  141. package/dist/context/prompt-modal.js +2 -2
  142. package/dist/context/theme.cjs +1 -1
  143. package/dist/context/theme.js +1 -1
  144. package/dist/index.cjs +18 -19
  145. package/dist/index.client.d.cts +1 -1
  146. package/dist/index.client.d.ts +1 -1
  147. package/dist/index.client.js +2 -2
  148. package/dist/index.js +8 -8
  149. package/dist/panda.buildinfo.json +15 -3
  150. package/dist/system/primitive-factory.cjs +11 -9
  151. package/dist/system/primitive-factory.d.cts +4 -13
  152. package/dist/system/primitive-factory.d.ts +4 -13
  153. package/dist/system/primitive-factory.js +11 -9
  154. package/package.json +6 -6
@@ -1,4 +1,4 @@
1
- import { cerberus, createCerberusPrimitive } from "../../system/index.js";
1
+ import { createCerberusPrimitive } from "../../system/index.js";
2
2
  import { progressBar } from "styled-system/recipes";
3
3
  //#region src/components/progress/primitives.ts
4
4
  /**
@@ -6,11 +6,11 @@ import { progressBar } from "styled-system/recipes";
6
6
  * @module @cerberus-design/react/components/progress-bar/primitives
7
7
  */
8
8
  var { withSlotRecipe } = createCerberusPrimitive(progressBar);
9
- var ProgressBarRoot = withSlotRecipe(cerberus.div, "root", { defaultProps: {
9
+ var ProgressBarRoot = withSlotRecipe("div", "root", { defaultProps: {
10
10
  "aria-valuemin": "0",
11
11
  "aria-valuemax": "100",
12
12
  role: "progressbar"
13
13
  } });
14
- var ProgressBarBar = withSlotRecipe(cerberus.div, "bar");
14
+ var ProgressBarBar = withSlotRecipe("div", "bar");
15
15
  //#endregion
16
16
  export { ProgressBarBar, ProgressBarRoot };
@@ -1,37 +1,19 @@
1
1
  import { RadioGroup as ArkRadioGroup, RadioGroupIndicatorProps as ArkRadioGroupIndicatorProps, RadioGroupItemControlProps as ArkRadioGroupItemControlProps, RadioGroupItemHiddenInputProps as ArkRadioGroupItemHiddenInputProps, RadioGroupItemProps as ArkRadioGroupItemProps, RadioGroupItemTextProps as ArkRadioGroupItemTextProps, RadioGroupLabelProps as ArkRadioGroupLabelProps, RadioGroupRootProps as ArkRadioGroupRootProps } from '@ark-ui/react/radio-group';
2
2
  import { RadioGroupVariantProps } from 'styled-system/recipes';
3
3
  import { CerberusPrimitiveProps } from '../../system/index';
4
- import { RefAttributes, ForwardRefExoticComponent } from 'react';
4
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
5
5
  export type RadioGroupRootProps = CerberusPrimitiveProps<ArkRadioGroupRootProps & RadioGroupVariantProps>;
6
- export declare const RadioGroupRoot: {
7
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
6
+ export declare const RadioGroupRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
10
7
  export type RadioGroupLabelProps = CerberusPrimitiveProps<ArkRadioGroupLabelProps>;
11
- export declare const RadioGroupLabel: {
12
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.LabelProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
13
- displayName: string;
14
- };
8
+ export declare const RadioGroupLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.LabelProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
15
9
  export type RadioGroupIndicatorProps = CerberusPrimitiveProps<ArkRadioGroupIndicatorProps>;
16
- export declare const RadioGroupIndicator: {
17
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.IndicatorProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
18
- displayName: string;
19
- };
10
+ export declare const RadioGroupIndicator: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.IndicatorProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
20
11
  export type RadioGroupItemProps = CerberusPrimitiveProps<ArkRadioGroupItemProps>;
21
- export declare const RadioGroupItem: {
22
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.ItemProps & RefAttributes<HTMLLabelElement>>): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
12
+ export declare const RadioGroupItem: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.ItemProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<HTMLElement>>;
25
13
  export type RadioGroupItemTextProps = CerberusPrimitiveProps<ArkRadioGroupItemTextProps & RadioGroupVariantProps>;
26
- export declare const RadioGroupItemText: {
27
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.ItemTextProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
28
- displayName: string;
29
- };
14
+ export declare const RadioGroupItemText: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.ItemTextProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
30
15
  export type RadioGroupItemControlProps = CerberusPrimitiveProps<ArkRadioGroupItemControlProps & RadioGroupVariantProps>;
31
- export declare const RadioGroupItemControl: {
32
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.ItemControlProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
33
- displayName: string;
34
- };
16
+ export declare const RadioGroupItemControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.ItemControlProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
35
17
  export type RadioGroupItemHiddenInputProps = ArkRadioGroupItemHiddenInputProps;
36
18
  export declare const RadioGroupItemHiddenInput: ForwardRefExoticComponent<ArkRadioGroup.ItemHiddenInputProps & RefAttributes<HTMLInputElement>>;
37
19
  /**
@@ -50,7 +32,4 @@ export declare const RadioGroupItemHiddenInput: ForwardRefExoticComponent<ArkRad
50
32
  * </RadioGroup>
51
33
  * ```
52
34
  */
53
- export declare const RadioGroup: {
54
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
55
- displayName: string;
56
- };
35
+ export declare const RadioGroup: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
@@ -1,37 +1,19 @@
1
1
  import { RadioGroup as ArkRadioGroup, RadioGroupIndicatorProps as ArkRadioGroupIndicatorProps, RadioGroupItemControlProps as ArkRadioGroupItemControlProps, RadioGroupItemHiddenInputProps as ArkRadioGroupItemHiddenInputProps, RadioGroupItemProps as ArkRadioGroupItemProps, RadioGroupItemTextProps as ArkRadioGroupItemTextProps, RadioGroupLabelProps as ArkRadioGroupLabelProps, RadioGroupRootProps as ArkRadioGroupRootProps } from '@ark-ui/react/radio-group';
2
2
  import { RadioGroupVariantProps } from 'styled-system/recipes';
3
3
  import { CerberusPrimitiveProps } from '../../system/index';
4
- import { RefAttributes, ForwardRefExoticComponent } from 'react';
4
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
5
5
  export type RadioGroupRootProps = CerberusPrimitiveProps<ArkRadioGroupRootProps & RadioGroupVariantProps>;
6
- export declare const RadioGroupRoot: {
7
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
6
+ export declare const RadioGroupRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
10
7
  export type RadioGroupLabelProps = CerberusPrimitiveProps<ArkRadioGroupLabelProps>;
11
- export declare const RadioGroupLabel: {
12
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.LabelProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
13
- displayName: string;
14
- };
8
+ export declare const RadioGroupLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.LabelProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
15
9
  export type RadioGroupIndicatorProps = CerberusPrimitiveProps<ArkRadioGroupIndicatorProps>;
16
- export declare const RadioGroupIndicator: {
17
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.IndicatorProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
18
- displayName: string;
19
- };
10
+ export declare const RadioGroupIndicator: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.IndicatorProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
20
11
  export type RadioGroupItemProps = CerberusPrimitiveProps<ArkRadioGroupItemProps>;
21
- export declare const RadioGroupItem: {
22
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.ItemProps & RefAttributes<HTMLLabelElement>>): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
12
+ export declare const RadioGroupItem: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.ItemProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<HTMLElement>>;
25
13
  export type RadioGroupItemTextProps = CerberusPrimitiveProps<ArkRadioGroupItemTextProps & RadioGroupVariantProps>;
26
- export declare const RadioGroupItemText: {
27
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.ItemTextProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
28
- displayName: string;
29
- };
14
+ export declare const RadioGroupItemText: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.ItemTextProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
30
15
  export type RadioGroupItemControlProps = CerberusPrimitiveProps<ArkRadioGroupItemControlProps & RadioGroupVariantProps>;
31
- export declare const RadioGroupItemControl: {
32
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.ItemControlProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
33
- displayName: string;
34
- };
16
+ export declare const RadioGroupItemControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.ItemControlProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
35
17
  export type RadioGroupItemHiddenInputProps = ArkRadioGroupItemHiddenInputProps;
36
18
  export declare const RadioGroupItemHiddenInput: ForwardRefExoticComponent<ArkRadioGroup.ItemHiddenInputProps & RefAttributes<HTMLInputElement>>;
37
19
  /**
@@ -50,7 +32,4 @@ export declare const RadioGroupItemHiddenInput: ForwardRefExoticComponent<ArkRad
50
32
  * </RadioGroup>
51
33
  * ```
52
34
  */
53
- export declare const RadioGroup: {
54
- (internalProps: CerberusPrimitiveProps<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
55
- displayName: string;
56
- };
35
+ export declare const RadioGroup: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
@@ -1,29 +1,17 @@
1
1
  import { RatingGroup, RatingGroupContextProps as ArkRatingGroupContextProps, RatingGroupControlProps as ArkRatingGroupControlProps, RatingGroupHiddenInputProps as ArkRatingGroupHiddenInputProps, RatingGroupItemContextProps as ArkRatingGroupItemContextProps, RatingGroupItemProps as ArkRatingGroupItemProps, RatingGroupLabelProps as ArkRatingGroupLabelProps, RatingGroupRootProps as ArkRatingGroupRootProps } from '@ark-ui/react/rating-group';
2
2
  import { RatingGroupVariantProps } from 'styled-system/recipes';
3
3
  import { CerberusPrimitiveProps } from '../../system/index';
4
- import { RefAttributes, ReactNode, ForwardRefExoticComponent } from 'react';
4
+ import { ForwardRefExoticComponent, RefAttributes, ReactNode } from 'react';
5
5
  export type RatingRootProps = CerberusPrimitiveProps<ArkRatingGroupRootProps & RatingGroupVariantProps>;
6
- export declare const RatingRoot: {
7
- (internalProps: CerberusPrimitiveProps<RatingGroup.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
6
+ export declare const RatingRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<RatingGroup.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
10
7
  export type RatingLabelProps = CerberusPrimitiveProps<ArkRatingGroupLabelProps>;
11
- export declare const RatingLabel: {
12
- (internalProps: CerberusPrimitiveProps<RatingGroup.LabelProps & RefAttributes<HTMLLabelElement>>): import("react/jsx-runtime").JSX.Element;
13
- displayName: string;
14
- };
8
+ export declare const RatingLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<RatingGroup.LabelProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<HTMLElement>>;
15
9
  export type RatingGroupControlProps = CerberusPrimitiveProps<ArkRatingGroupControlProps>;
16
- export declare const RatingControl: {
17
- (internalProps: CerberusPrimitiveProps<RatingGroup.ControlProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
18
- displayName: string;
19
- };
10
+ export declare const RatingControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<RatingGroup.ControlProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
20
11
  export type RatingGroupContextProps = ArkRatingGroupContextProps;
21
12
  export declare const RatingContext: (props: RatingGroup.ContextProps) => ReactNode;
22
13
  export type RatingGroupItemProps = CerberusPrimitiveProps<ArkRatingGroupItemProps & RatingGroupVariantProps>;
23
- export declare const RatingItem: {
24
- (internalProps: CerberusPrimitiveProps<RatingGroup.ItemProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
25
- displayName: string;
26
- };
14
+ export declare const RatingItem: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<RatingGroup.ItemProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
27
15
  export type RatingGroupItemContextProps = ArkRatingGroupItemContextProps;
28
16
  export declare const RatingItemContext: (props: RatingGroup.ItemContextProps) => ReactNode;
29
17
  export type RatingGroupHiddenInputProps = ArkRatingGroupHiddenInputProps;
@@ -1,29 +1,17 @@
1
1
  import { RatingGroup, RatingGroupContextProps as ArkRatingGroupContextProps, RatingGroupControlProps as ArkRatingGroupControlProps, RatingGroupHiddenInputProps as ArkRatingGroupHiddenInputProps, RatingGroupItemContextProps as ArkRatingGroupItemContextProps, RatingGroupItemProps as ArkRatingGroupItemProps, RatingGroupLabelProps as ArkRatingGroupLabelProps, RatingGroupRootProps as ArkRatingGroupRootProps } from '@ark-ui/react/rating-group';
2
2
  import { RatingGroupVariantProps } from 'styled-system/recipes';
3
3
  import { CerberusPrimitiveProps } from '../../system/index';
4
- import { RefAttributes, ReactNode, ForwardRefExoticComponent } from 'react';
4
+ import { ForwardRefExoticComponent, RefAttributes, ReactNode } from 'react';
5
5
  export type RatingRootProps = CerberusPrimitiveProps<ArkRatingGroupRootProps & RatingGroupVariantProps>;
6
- export declare const RatingRoot: {
7
- (internalProps: CerberusPrimitiveProps<RatingGroup.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
6
+ export declare const RatingRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<RatingGroup.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
10
7
  export type RatingLabelProps = CerberusPrimitiveProps<ArkRatingGroupLabelProps>;
11
- export declare const RatingLabel: {
12
- (internalProps: CerberusPrimitiveProps<RatingGroup.LabelProps & RefAttributes<HTMLLabelElement>>): import("react/jsx-runtime").JSX.Element;
13
- displayName: string;
14
- };
8
+ export declare const RatingLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<RatingGroup.LabelProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<HTMLElement>>;
15
9
  export type RatingGroupControlProps = CerberusPrimitiveProps<ArkRatingGroupControlProps>;
16
- export declare const RatingControl: {
17
- (internalProps: CerberusPrimitiveProps<RatingGroup.ControlProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
18
- displayName: string;
19
- };
10
+ export declare const RatingControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<RatingGroup.ControlProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
20
11
  export type RatingGroupContextProps = ArkRatingGroupContextProps;
21
12
  export declare const RatingContext: (props: RatingGroup.ContextProps) => ReactNode;
22
13
  export type RatingGroupItemProps = CerberusPrimitiveProps<ArkRatingGroupItemProps & RatingGroupVariantProps>;
23
- export declare const RatingItem: {
24
- (internalProps: CerberusPrimitiveProps<RatingGroup.ItemProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
25
- displayName: string;
26
- };
14
+ export declare const RatingItem: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<RatingGroup.ItemProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
27
15
  export type RatingGroupItemContextProps = ArkRatingGroupItemContextProps;
28
16
  export declare const RatingItemContext: (props: RatingGroup.ItemContextProps) => ReactNode;
29
17
  export type RatingGroupHiddenInputProps = ArkRatingGroupHiddenInputProps;
@@ -1,6 +1,6 @@
1
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
1
2
  import { CerberusPrimitiveProps } from '../..';
2
3
  import { SelectItemGroupProps, SelectItemGroupLabelProps } from '@ark-ui/react';
3
- import { RefAttributes } from 'react';
4
4
  /**
5
5
  * This module contains the named abstractions OptionGroup and OptionGroupLabel
6
6
  * components for API consistency with the Select component.
@@ -18,10 +18,7 @@ import { RefAttributes } from 'react';
18
18
  * </OptionGroup>
19
19
  * ```
20
20
  */
21
- export declare const OptionGroup: {
22
- (props: CerberusPrimitiveProps< SelectItemGroupProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
21
+ export declare const OptionGroup: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps< SelectItemGroupProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
25
22
  /**
26
23
  * The OptionGroupLabel component is the label of the OptionGroup.
27
24
  * @definition [Select docs](https://cerberus.digitalu.design/react/select)
@@ -31,7 +28,4 @@ export declare const OptionGroup: {
31
28
  * <OptionGroupLabel>Greek gods</OptionGroupLabel>
32
29
  * ```
33
30
  */
34
- export declare const OptionGroupLabel: {
35
- (internalProps: CerberusPrimitiveProps< SelectItemGroupLabelProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
36
- displayName: string;
37
- };
31
+ export declare const OptionGroupLabel: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps< SelectItemGroupLabelProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
@@ -1,6 +1,6 @@
1
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
1
2
  import { CerberusPrimitiveProps } from '../..';
2
3
  import { SelectItemGroupProps, SelectItemGroupLabelProps } from '@ark-ui/react';
3
- import { RefAttributes } from 'react';
4
4
  /**
5
5
  * This module contains the named abstractions OptionGroup and OptionGroupLabel
6
6
  * components for API consistency with the Select component.
@@ -18,10 +18,7 @@ import { RefAttributes } from 'react';
18
18
  * </OptionGroup>
19
19
  * ```
20
20
  */
21
- export declare const OptionGroup: {
22
- (props: CerberusPrimitiveProps< SelectItemGroupProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
21
+ export declare const OptionGroup: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps< SelectItemGroupProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
25
22
  /**
26
23
  * The OptionGroupLabel component is the label of the OptionGroup.
27
24
  * @definition [Select docs](https://cerberus.digitalu.design/react/select)
@@ -31,7 +28,4 @@ export declare const OptionGroup: {
31
28
  * <OptionGroupLabel>Greek gods</OptionGroupLabel>
32
29
  * ```
33
30
  */
34
- export declare const OptionGroupLabel: {
35
- (internalProps: CerberusPrimitiveProps< SelectItemGroupLabelProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
36
- displayName: string;
37
- };
31
+ export declare const OptionGroupLabel: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps< SelectItemGroupLabelProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
@@ -2,82 +2,37 @@ import { Select, ListCollection, SelectClearTriggerProps as ArkSelectClearTrigge
2
2
  import { SelectVariantProps } from 'styled-system/recipes';
3
3
  import { CerberusPrimitiveProps } from '../../system/index';
4
4
  import { SelectCollectionItem } from './select';
5
- import { RefAttributes } from 'react';
5
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
6
6
  export type SelectRootProps = CerberusPrimitiveProps<ArkSelectRootProps<SelectCollectionItem> & SelectVariantProps>;
7
- export declare const SelectRoot: {
8
- (internalProps: CerberusPrimitiveProps<Omit<Select.RootProps<unknown>, never> & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
9
- displayName: string;
10
- };
7
+ export declare const SelectRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Omit<Select.RootProps<unknown>, never> & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
11
8
  export type SelectLabelProps = CerberusPrimitiveProps<ArkSelectLabelProps>;
12
- export declare const SelectLabel: {
13
- (internalProps: CerberusPrimitiveProps<Select.LabelProps & RefAttributes<HTMLLabelElement>>): import("react/jsx-runtime").JSX.Element;
14
- displayName: string;
15
- };
9
+ export declare const SelectLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.LabelProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<HTMLElement>>;
16
10
  export type SelectControlProps = CerberusPrimitiveProps<ArkSelectControlProps>;
17
- export declare const SelectControl: {
18
- (props: CerberusPrimitiveProps<Select.ControlProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
19
- displayName: string;
20
- };
11
+ export declare const SelectControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ControlProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
21
12
  export type SelectTriggerProps = CerberusPrimitiveProps<ArkSelectTriggerProps>;
22
- export declare const SelectTrigger: {
23
- (internalProps: CerberusPrimitiveProps<Select.TriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
24
- displayName: string;
25
- };
13
+ export declare const SelectTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.TriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
26
14
  export type SelectValueTextProps = CerberusPrimitiveProps<ArkSelectValueTextProps>;
27
- export declare const SelectValueText: {
28
- (props: CerberusPrimitiveProps<Select.ValueTextProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
29
- displayName: string;
30
- };
15
+ export declare const SelectValueText: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ValueTextProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
31
16
  export type SelectIndicatorProps = CerberusPrimitiveProps<ArkSelectIndicatorProps>;
32
- export declare const SelectIndicator: {
33
- (internalProps: CerberusPrimitiveProps<Select.IndicatorProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
34
- displayName: string;
35
- };
17
+ export declare const SelectIndicator: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.IndicatorProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
36
18
  export type SelectClearTriggerProps = CerberusPrimitiveProps<ArkSelectClearTrigger>;
37
- export declare const SelectClearTrigger: {
38
- (props: CerberusPrimitiveProps<Select.ClearTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
39
- displayName: string;
40
- };
19
+ export declare const SelectClearTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ClearTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
41
20
  export type SelectPositionerProps = CerberusPrimitiveProps<ArkSelectPositionerProps>;
42
- export declare const SelectPositioner: {
43
- (internalProps: CerberusPrimitiveProps<Select.PositionerProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
44
- displayName: string;
45
- };
21
+ export declare const SelectPositioner: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.PositionerProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
46
22
  export type SelectContentProps = CerberusPrimitiveProps<ArkSelectContentProps & SelectVariantProps>;
47
- export declare const SelectContent: {
48
- (internalProps: CerberusPrimitiveProps<Select.ContentProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
49
- displayName: string;
50
- };
23
+ export declare const SelectContent: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ContentProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
51
24
  export type SelectItemGroupProps = CerberusPrimitiveProps<ArkSelectItemGroupProps>;
52
- export declare const SelectItemGroup: {
53
- (props: CerberusPrimitiveProps<Select.ItemGroupProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
54
- displayName: string;
55
- };
25
+ export declare const SelectItemGroup: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ItemGroupProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
56
26
  export type SelectItemGroupLabelProps = CerberusPrimitiveProps<ArkSelectItemGroupLabelProps>;
57
- export declare const SelectItemGroupLabel: {
58
- (internalProps: CerberusPrimitiveProps<Select.ItemGroupLabelProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
59
- displayName: string;
60
- };
27
+ export declare const SelectItemGroupLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ItemGroupLabelProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
61
28
  export type SelectItemProps = CerberusPrimitiveProps<ArkSelectItemProps>;
62
- export declare const SelectItem: {
63
- (internalProps: CerberusPrimitiveProps<Select.ItemProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
64
- displayName: string;
65
- };
29
+ export declare const SelectItem: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ItemProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
66
30
  export type SelectItemTextProps = CerberusPrimitiveProps<ArkSelectItemTextProps>;
67
- export declare const SelectItemText: {
68
- (props: CerberusPrimitiveProps<Select.ItemTextProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
69
- displayName: string;
70
- };
31
+ export declare const SelectItemText: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ItemTextProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
71
32
  export type SelectItemIndicatorProps = CerberusPrimitiveProps<ArkSelectItemIndicatorProps>;
72
- export declare const SelectItemIndicator: {
73
- (internalProps: CerberusPrimitiveProps<Select.ItemIndicatorProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
74
- displayName: string;
75
- };
33
+ export declare const SelectItemIndicator: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ItemIndicatorProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
76
34
  export type SelectHiddenSelectProps = CerberusPrimitiveProps<ArkSelectHiddenSelectProps>;
77
- export declare const SelectHiddenSelect: {
78
- (props: CerberusPrimitiveProps<Select.HiddenSelectProps & RefAttributes<HTMLSelectElement>>): import("react/jsx-runtime").JSX.Element;
79
- displayName: string;
80
- };
35
+ export declare const SelectHiddenSelect: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.HiddenSelectProps & RefAttributes<HTMLSelectElement>>, "ref"> & RefAttributes<HTMLElement>>;
81
36
  /**
82
37
  * A helper function to create a SelectCollection object.
83
38
  * @param collection - An array of SelectCollectionItem objects that matches
@@ -2,82 +2,37 @@ import { Select, ListCollection, SelectClearTriggerProps as ArkSelectClearTrigge
2
2
  import { SelectVariantProps } from 'styled-system/recipes';
3
3
  import { CerberusPrimitiveProps } from '../../system/index';
4
4
  import { SelectCollectionItem } from './select';
5
- import { RefAttributes } from 'react';
5
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
6
6
  export type SelectRootProps = CerberusPrimitiveProps<ArkSelectRootProps<SelectCollectionItem> & SelectVariantProps>;
7
- export declare const SelectRoot: {
8
- (internalProps: CerberusPrimitiveProps<Omit<Select.RootProps<unknown>, never> & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
9
- displayName: string;
10
- };
7
+ export declare const SelectRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Omit<Select.RootProps<unknown>, never> & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
11
8
  export type SelectLabelProps = CerberusPrimitiveProps<ArkSelectLabelProps>;
12
- export declare const SelectLabel: {
13
- (internalProps: CerberusPrimitiveProps<Select.LabelProps & RefAttributes<HTMLLabelElement>>): import("react/jsx-runtime").JSX.Element;
14
- displayName: string;
15
- };
9
+ export declare const SelectLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.LabelProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<HTMLElement>>;
16
10
  export type SelectControlProps = CerberusPrimitiveProps<ArkSelectControlProps>;
17
- export declare const SelectControl: {
18
- (props: CerberusPrimitiveProps<Select.ControlProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
19
- displayName: string;
20
- };
11
+ export declare const SelectControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ControlProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
21
12
  export type SelectTriggerProps = CerberusPrimitiveProps<ArkSelectTriggerProps>;
22
- export declare const SelectTrigger: {
23
- (internalProps: CerberusPrimitiveProps<Select.TriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
24
- displayName: string;
25
- };
13
+ export declare const SelectTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.TriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
26
14
  export type SelectValueTextProps = CerberusPrimitiveProps<ArkSelectValueTextProps>;
27
- export declare const SelectValueText: {
28
- (props: CerberusPrimitiveProps<Select.ValueTextProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
29
- displayName: string;
30
- };
15
+ export declare const SelectValueText: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ValueTextProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
31
16
  export type SelectIndicatorProps = CerberusPrimitiveProps<ArkSelectIndicatorProps>;
32
- export declare const SelectIndicator: {
33
- (internalProps: CerberusPrimitiveProps<Select.IndicatorProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
34
- displayName: string;
35
- };
17
+ export declare const SelectIndicator: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.IndicatorProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
36
18
  export type SelectClearTriggerProps = CerberusPrimitiveProps<ArkSelectClearTrigger>;
37
- export declare const SelectClearTrigger: {
38
- (props: CerberusPrimitiveProps<Select.ClearTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
39
- displayName: string;
40
- };
19
+ export declare const SelectClearTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ClearTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
41
20
  export type SelectPositionerProps = CerberusPrimitiveProps<ArkSelectPositionerProps>;
42
- export declare const SelectPositioner: {
43
- (internalProps: CerberusPrimitiveProps<Select.PositionerProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
44
- displayName: string;
45
- };
21
+ export declare const SelectPositioner: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.PositionerProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
46
22
  export type SelectContentProps = CerberusPrimitiveProps<ArkSelectContentProps & SelectVariantProps>;
47
- export declare const SelectContent: {
48
- (internalProps: CerberusPrimitiveProps<Select.ContentProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
49
- displayName: string;
50
- };
23
+ export declare const SelectContent: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ContentProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
51
24
  export type SelectItemGroupProps = CerberusPrimitiveProps<ArkSelectItemGroupProps>;
52
- export declare const SelectItemGroup: {
53
- (props: CerberusPrimitiveProps<Select.ItemGroupProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
54
- displayName: string;
55
- };
25
+ export declare const SelectItemGroup: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ItemGroupProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
56
26
  export type SelectItemGroupLabelProps = CerberusPrimitiveProps<ArkSelectItemGroupLabelProps>;
57
- export declare const SelectItemGroupLabel: {
58
- (internalProps: CerberusPrimitiveProps<Select.ItemGroupLabelProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
59
- displayName: string;
60
- };
27
+ export declare const SelectItemGroupLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ItemGroupLabelProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
61
28
  export type SelectItemProps = CerberusPrimitiveProps<ArkSelectItemProps>;
62
- export declare const SelectItem: {
63
- (internalProps: CerberusPrimitiveProps<Select.ItemProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
64
- displayName: string;
65
- };
29
+ export declare const SelectItem: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ItemProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
66
30
  export type SelectItemTextProps = CerberusPrimitiveProps<ArkSelectItemTextProps>;
67
- export declare const SelectItemText: {
68
- (props: CerberusPrimitiveProps<Select.ItemTextProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
69
- displayName: string;
70
- };
31
+ export declare const SelectItemText: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ItemTextProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
71
32
  export type SelectItemIndicatorProps = CerberusPrimitiveProps<ArkSelectItemIndicatorProps>;
72
- export declare const SelectItemIndicator: {
73
- (internalProps: CerberusPrimitiveProps<Select.ItemIndicatorProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
74
- displayName: string;
75
- };
33
+ export declare const SelectItemIndicator: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.ItemIndicatorProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
76
34
  export type SelectHiddenSelectProps = CerberusPrimitiveProps<ArkSelectHiddenSelectProps>;
77
- export declare const SelectHiddenSelect: {
78
- (props: CerberusPrimitiveProps<Select.HiddenSelectProps & RefAttributes<HTMLSelectElement>>): import("react/jsx-runtime").JSX.Element;
79
- displayName: string;
80
- };
35
+ export declare const SelectHiddenSelect: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Select.HiddenSelectProps & RefAttributes<HTMLSelectElement>>, "ref"> & RefAttributes<HTMLElement>>;
81
36
  /**
82
37
  * A helper function to create a SelectCollection object.
83
38
  * @param collection - An array of SelectCollectionItem objects that matches
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  const require_index = require("../../utils/index.cjs");
3
3
  const require_cerberus = require("../../context/cerberus.cjs");
4
- const require_primitives = require("../button/primitives.cjs");
5
4
  const require_parts = require("../button/parts.cjs");
5
+ const require_primitives = require("../button/primitives.cjs");
6
6
  const require_button = require("../icon-button/button.cjs");
7
7
  const require_menu = require("../menu/menu.cjs");
8
8
  let react_jsx_runtime = require("react/jsx-runtime");
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { splitProps } from "../../utils/index.js";
3
3
  import { useCerberusContext } from "../../context/cerberus.js";
4
- import { ButtonGroup } from "../button/primitives.js";
5
4
  import { ButtonParts } from "../button/parts.js";
5
+ import { ButtonGroup } from "../button/primitives.js";
6
6
  import { IconButton } from "../icon-button/button.js";
7
7
  import { Menu, MenuContent, MenuTrigger } from "../menu/menu.js";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,29 +1,14 @@
1
1
  import { Switch, SwitchControlProps as ArkSwitchControlProps, SwitchHiddenInputProps as ArkSwitchHiddenInputProps, SwitchLabelProps as ArkSwitchLabelProps, SwitchRootProps as ArkSwitchRootProps, SwitchThumbProps as ArkSwitchThumbProps } from '@ark-ui/react/switch';
2
2
  import { SwitchRecipeVariantProps } from 'styled-system/recipes';
3
3
  import { CerberusPrimitiveProps } from '../../system/index';
4
- import { RefAttributes } from 'react';
4
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
5
5
  export type SwitchRootProps = CerberusPrimitiveProps<ArkSwitchRootProps & SwitchRecipeVariantProps>;
6
- export declare const SwitchRoot: {
7
- (internalProps: CerberusPrimitiveProps<Switch.RootProps & RefAttributes<HTMLLabelElement>>): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
6
+ export declare const SwitchRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.RootProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<HTMLElement>>;
10
7
  export type SwitchLabelProps = CerberusPrimitiveProps<ArkSwitchLabelProps>;
11
- export declare const SwitchLabel: {
12
- (internalProps: CerberusPrimitiveProps<Switch.LabelProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
13
- displayName: string;
14
- };
8
+ export declare const SwitchLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.LabelProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
15
9
  export type SwitchControlProps = CerberusPrimitiveProps<ArkSwitchControlProps>;
16
- export declare const SwitchControl: {
17
- (internalProps: CerberusPrimitiveProps<Switch.ControlProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
18
- displayName: string;
19
- };
10
+ export declare const SwitchControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.ControlProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
20
11
  export type SwitchThumbProps = CerberusPrimitiveProps<ArkSwitchThumbProps>;
21
- export declare const SwitchThumb: {
22
- (internalProps: CerberusPrimitiveProps<Switch.ThumbProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
12
+ export declare const SwitchThumb: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.ThumbProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
25
13
  export type SwitchHiddenInputProps = CerberusPrimitiveProps<ArkSwitchHiddenInputProps>;
26
- export declare const SwitchHiddenInput: {
27
- (props: CerberusPrimitiveProps<Switch.HiddenInputProps & RefAttributes<HTMLInputElement>>): import("react/jsx-runtime").JSX.Element;
28
- displayName: string;
29
- };
14
+ export declare const SwitchHiddenInput: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.HiddenInputProps & RefAttributes<HTMLInputElement>>, "ref"> & RefAttributes<HTMLElement>>;
@@ -1,29 +1,14 @@
1
1
  import { Switch, SwitchControlProps as ArkSwitchControlProps, SwitchHiddenInputProps as ArkSwitchHiddenInputProps, SwitchLabelProps as ArkSwitchLabelProps, SwitchRootProps as ArkSwitchRootProps, SwitchThumbProps as ArkSwitchThumbProps } from '@ark-ui/react/switch';
2
2
  import { SwitchRecipeVariantProps } from 'styled-system/recipes';
3
3
  import { CerberusPrimitiveProps } from '../../system/index';
4
- import { RefAttributes } from 'react';
4
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
5
5
  export type SwitchRootProps = CerberusPrimitiveProps<ArkSwitchRootProps & SwitchRecipeVariantProps>;
6
- export declare const SwitchRoot: {
7
- (internalProps: CerberusPrimitiveProps<Switch.RootProps & RefAttributes<HTMLLabelElement>>): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
6
+ export declare const SwitchRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.RootProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<HTMLElement>>;
10
7
  export type SwitchLabelProps = CerberusPrimitiveProps<ArkSwitchLabelProps>;
11
- export declare const SwitchLabel: {
12
- (internalProps: CerberusPrimitiveProps<Switch.LabelProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
13
- displayName: string;
14
- };
8
+ export declare const SwitchLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.LabelProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
15
9
  export type SwitchControlProps = CerberusPrimitiveProps<ArkSwitchControlProps>;
16
- export declare const SwitchControl: {
17
- (internalProps: CerberusPrimitiveProps<Switch.ControlProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
18
- displayName: string;
19
- };
10
+ export declare const SwitchControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.ControlProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
20
11
  export type SwitchThumbProps = CerberusPrimitiveProps<ArkSwitchThumbProps>;
21
- export declare const SwitchThumb: {
22
- (internalProps: CerberusPrimitiveProps<Switch.ThumbProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
12
+ export declare const SwitchThumb: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.ThumbProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
25
13
  export type SwitchHiddenInputProps = CerberusPrimitiveProps<ArkSwitchHiddenInputProps>;
26
- export declare const SwitchHiddenInput: {
27
- (props: CerberusPrimitiveProps<Switch.HiddenInputProps & RefAttributes<HTMLInputElement>>): import("react/jsx-runtime").JSX.Element;
28
- displayName: string;
29
- };
14
+ export declare const SwitchHiddenInput: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Switch.HiddenInputProps & RefAttributes<HTMLInputElement>>, "ref"> & RefAttributes<HTMLElement>>;