@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 { admonition } from "styled-system/recipes";
3
3
  //#region src/components/admonition/primitives.tsx
4
4
  /**
@@ -9,35 +9,35 @@ var { withSlotRecipe, withNoRecipe } = createCerberusPrimitive(admonition);
9
9
  /**
10
10
  * The `AdmonitionRoot` component is the container for the Admonition.
11
11
  */
12
- var AdmonitionRoot = withSlotRecipe(cerberus.aside, "root", { defaultProps: {
12
+ var AdmonitionRoot = withSlotRecipe("animateMotion", "root", { defaultProps: {
13
13
  "data-scope": "admonition",
14
14
  "data-part": "root"
15
15
  } });
16
16
  /**
17
17
  * The `AdmonitionIndicator` component is the indicator for the Admonition.
18
18
  */
19
- var AdmonitionIndicator = withNoRecipe(cerberus.span, { defaultProps: {
19
+ var AdmonitionIndicator = withNoRecipe("span", { defaultProps: {
20
20
  "data-scope": "admonition",
21
21
  "data-part": "indicator"
22
22
  } });
23
23
  /**
24
24
  * The `AdmonitionContent` component is the content for the Admonition.
25
25
  */
26
- var AdmonitionContent = withNoRecipe(cerberus.div, { defaultProps: {
26
+ var AdmonitionContent = withNoRecipe("div", { defaultProps: {
27
27
  "data-scope": "admonition",
28
28
  "data-part": "content"
29
29
  } });
30
30
  /**
31
31
  * The `AdmonitionHeading` component is the heading title for the Admonition.
32
32
  */
33
- var AdmonitionHeading = withSlotRecipe(cerberus.p, "heading", { defaultProps: {
33
+ var AdmonitionHeading = withSlotRecipe("p", "heading", { defaultProps: {
34
34
  "data-scope": "admonition",
35
35
  "data-part": "heading"
36
36
  } });
37
37
  /**
38
38
  * The `AdmonitionDescription` component is the description for the Admonition.
39
39
  */
40
- var AdmonitionDescription = withSlotRecipe(cerberus.p, "description", { defaultProps: {
40
+ var AdmonitionDescription = withSlotRecipe("p", "description", { defaultProps: {
41
41
  "data-scope": "admonition",
42
42
  "data-part": "description"
43
43
  } });
@@ -1,28 +1,19 @@
1
1
  import { Avatar, AvatarFallbackProps as ArkAvatarFallbackProps, AvatarImageProps as ArkAvatarImageProps, AvatarRootProps as ArkAvatarRootProps } from '@ark-ui/react/avatar';
2
2
  import { AvatarVariantProps } from 'styled-system/recipes';
3
3
  import { CerberusPrimitiveProps } from '../../system/index';
4
- import { RefAttributes } from 'react';
4
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
5
5
  /**
6
6
  * The root component of the Avatar.
7
7
  */
8
- export declare const AvatarRoot: {
9
- (internalProps: CerberusPrimitiveProps<Avatar.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
10
- displayName: string;
11
- };
8
+ export declare const AvatarRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Avatar.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
12
9
  export type AvatarRootProps = CerberusPrimitiveProps<ArkAvatarRootProps & AvatarVariantProps>;
13
10
  /**
14
11
  * The image component of the Avatar.
15
12
  */
16
- export declare const AvatarImage: {
17
- (internalProps: CerberusPrimitiveProps<Avatar.ImageProps & RefAttributes<HTMLImageElement>>): import("react/jsx-runtime").JSX.Element;
18
- displayName: string;
19
- };
13
+ export declare const AvatarImage: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Avatar.ImageProps & RefAttributes<HTMLImageElement>>, "ref"> & RefAttributes<HTMLElement>>;
20
14
  export type AvatarImageProps = CerberusPrimitiveProps<ArkAvatarImageProps>;
21
15
  /**
22
16
  * The fallback component of the Avatar.
23
17
  */
24
- export declare const AvatarFallback: {
25
- (internalProps: CerberusPrimitiveProps<Avatar.FallbackProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
26
- displayName: string;
27
- };
18
+ export declare const AvatarFallback: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Avatar.FallbackProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
28
19
  export type AvatarFallbackProps = CerberusPrimitiveProps<ArkAvatarFallbackProps>;
@@ -1,28 +1,19 @@
1
1
  import { Avatar, AvatarFallbackProps as ArkAvatarFallbackProps, AvatarImageProps as ArkAvatarImageProps, AvatarRootProps as ArkAvatarRootProps } from '@ark-ui/react/avatar';
2
2
  import { AvatarVariantProps } from 'styled-system/recipes';
3
3
  import { CerberusPrimitiveProps } from '../../system/index';
4
- import { RefAttributes } from 'react';
4
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
5
5
  /**
6
6
  * The root component of the Avatar.
7
7
  */
8
- export declare const AvatarRoot: {
9
- (internalProps: CerberusPrimitiveProps<Avatar.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
10
- displayName: string;
11
- };
8
+ export declare const AvatarRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Avatar.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
12
9
  export type AvatarRootProps = CerberusPrimitiveProps<ArkAvatarRootProps & AvatarVariantProps>;
13
10
  /**
14
11
  * The image component of the Avatar.
15
12
  */
16
- export declare const AvatarImage: {
17
- (internalProps: CerberusPrimitiveProps<Avatar.ImageProps & RefAttributes<HTMLImageElement>>): import("react/jsx-runtime").JSX.Element;
18
- displayName: string;
19
- };
13
+ export declare const AvatarImage: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Avatar.ImageProps & RefAttributes<HTMLImageElement>>, "ref"> & RefAttributes<HTMLElement>>;
20
14
  export type AvatarImageProps = CerberusPrimitiveProps<ArkAvatarImageProps>;
21
15
  /**
22
16
  * The fallback component of the Avatar.
23
17
  */
24
- export declare const AvatarFallback: {
25
- (internalProps: CerberusPrimitiveProps<Avatar.FallbackProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
26
- displayName: string;
27
- };
18
+ export declare const AvatarFallback: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Avatar.FallbackProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
28
19
  export type AvatarFallbackProps = CerberusPrimitiveProps<ArkAvatarFallbackProps>;
@@ -1,9 +1,11 @@
1
1
  "use client";
2
+ const require_index = require("../../system/index.cjs");
2
3
  const require_show = require("../show/show.cjs");
3
4
  const require_spinner = require("../spinner/spinner.cjs");
4
- const require_primitives = require("./primitives.cjs");
5
- let react_jsx_runtime = require("react/jsx-runtime");
5
+ let styled_system_recipes = require("styled-system/recipes");
6
6
  let react = require("react");
7
+ let styled_system_css = require("styled-system/css");
8
+ let react_jsx_runtime = require("react/jsx-runtime");
7
9
  let styled_system_jsx = require("styled-system/jsx");
8
10
  //#region src/components/button/button.tsx
9
11
  var ButtonContext = (0, react.createContext)({ pending: false });
@@ -11,16 +13,19 @@ var ButtonContext = (0, react.createContext)({ pending: false });
11
13
  * A component that allows the user to perform actions
12
14
  * @see https://cerberus.digitalu.design/react/button
13
15
  */
14
- function Button(props) {
15
- const { pending = false, ...nativeProps } = props;
16
+ function ButtonEl(props) {
17
+ const [variantProps, elProps] = styled_system_recipes.button.splitVariantProps(props);
18
+ const { pending = false, ...nativeProps } = elProps;
19
+ const styles = (0, styled_system_recipes.button)(variantProps);
16
20
  const value = (0, react.useMemo)(() => ({ pending }), [pending]);
17
21
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ButtonContext.Provider, {
18
22
  value,
19
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_primitives.ButtonRoot, {
20
- ...nativeProps,
23
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.cerberus.button, {
21
24
  "data-scope": "button",
22
25
  "data-part": "root",
23
- disabled: pending || nativeProps.disabled
26
+ ...nativeProps,
27
+ disabled: pending || nativeProps.disabled,
28
+ className: (0, styled_system_css.cx)(elProps.className, styles, (0, styled_system_css.css)(elProps.css))
24
29
  })
25
30
  });
26
31
  }
@@ -36,11 +41,18 @@ function ButtonIcon(props) {
36
41
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(styled_system_jsx.Box, {
37
42
  "data-scope": "button",
38
43
  "data-part": "button-spinner",
44
+ ref: props.ref,
39
45
  w: "4",
40
46
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_spinner.Spinner, {})
41
47
  })
42
48
  });
43
49
  }
50
+ function Button(props) {
51
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ButtonEl, { ...props });
52
+ }
53
+ Button.displayName = "Button";
54
+ Button.Icon = ButtonIcon;
55
+ ButtonIcon.displayName = "ButtonIcon";
44
56
  //#endregion
45
57
  exports.Button = Button;
46
58
  exports.ButtonIcon = ButtonIcon;
@@ -6,13 +6,16 @@ export interface ButtonProps extends ButtonRootProps {
6
6
  */
7
7
  pending?: boolean;
8
8
  }
9
- /**
10
- * A component that allows the user to perform actions
11
- * @see https://cerberus.digitalu.design/react/button
12
- */
13
- export declare function Button(props: ButtonProps): import("react/jsx-runtime").JSX.Element;
14
9
  /**
15
10
  * An icon to display in a button that utilizes the pending state to display
16
11
  * a loading spinner.
17
12
  */
18
13
  export declare function ButtonIcon(props: CerberusProps<'div'>): import("react/jsx-runtime").JSX.Element;
14
+ export declare namespace ButtonIcon {
15
+ var displayName: string;
16
+ }
17
+ export declare function Button(props: ButtonProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare namespace Button {
19
+ var displayName: string;
20
+ var Icon: typeof ButtonIcon;
21
+ }
@@ -6,13 +6,16 @@ export interface ButtonProps extends ButtonRootProps {
6
6
  */
7
7
  pending?: boolean;
8
8
  }
9
- /**
10
- * A component that allows the user to perform actions
11
- * @see https://cerberus.digitalu.design/react/button
12
- */
13
- export declare function Button(props: ButtonProps): import("react/jsx-runtime").JSX.Element;
14
9
  /**
15
10
  * An icon to display in a button that utilizes the pending state to display
16
11
  * a loading spinner.
17
12
  */
18
13
  export declare function ButtonIcon(props: CerberusProps<'div'>): import("react/jsx-runtime").JSX.Element;
14
+ export declare namespace ButtonIcon {
15
+ var displayName: string;
16
+ }
17
+ export declare function Button(props: ButtonProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare namespace Button {
19
+ var displayName: string;
20
+ var Icon: typeof ButtonIcon;
21
+ }
@@ -1,9 +1,11 @@
1
1
  "use client";
2
+ import { cerberus } from "../../system/index.js";
2
3
  import { Show } from "../show/show.js";
3
4
  import { Spinner } from "../spinner/spinner.js";
4
- import { ButtonRoot } from "./primitives.js";
5
- import { Fragment, jsx } from "react/jsx-runtime";
5
+ import { button } from "styled-system/recipes";
6
6
  import { createContext, useContext, useMemo } from "react";
7
+ import { css, cx } from "styled-system/css";
8
+ import { Fragment, jsx } from "react/jsx-runtime";
7
9
  import { Box } from "styled-system/jsx";
8
10
  //#region src/components/button/button.tsx
9
11
  var ButtonContext = createContext({ pending: false });
@@ -11,16 +13,19 @@ var ButtonContext = createContext({ pending: false });
11
13
  * A component that allows the user to perform actions
12
14
  * @see https://cerberus.digitalu.design/react/button
13
15
  */
14
- function Button(props) {
15
- const { pending = false, ...nativeProps } = props;
16
+ function ButtonEl(props) {
17
+ const [variantProps, elProps] = button.splitVariantProps(props);
18
+ const { pending = false, ...nativeProps } = elProps;
19
+ const styles = button(variantProps);
16
20
  const value = useMemo(() => ({ pending }), [pending]);
17
21
  return /* @__PURE__ */ jsx(ButtonContext.Provider, {
18
22
  value,
19
- children: /* @__PURE__ */ jsx(ButtonRoot, {
20
- ...nativeProps,
23
+ children: /* @__PURE__ */ jsx(cerberus.button, {
21
24
  "data-scope": "button",
22
25
  "data-part": "root",
23
- disabled: pending || nativeProps.disabled
26
+ ...nativeProps,
27
+ disabled: pending || nativeProps.disabled,
28
+ className: cx(elProps.className, styles, css(elProps.css))
24
29
  })
25
30
  });
26
31
  }
@@ -36,10 +41,17 @@ function ButtonIcon(props) {
36
41
  children: /* @__PURE__ */ jsx(Box, {
37
42
  "data-scope": "button",
38
43
  "data-part": "button-spinner",
44
+ ref: props.ref,
39
45
  w: "4",
40
46
  children: /* @__PURE__ */ jsx(Spinner, {})
41
47
  })
42
48
  });
43
49
  }
50
+ function Button(props) {
51
+ return /* @__PURE__ */ jsx(ButtonEl, { ...props });
52
+ }
53
+ Button.displayName = "Button";
54
+ Button.Icon = ButtonIcon;
55
+ ButtonIcon.displayName = "ButtonIcon";
44
56
  //#endregion
45
57
  export { Button, ButtonIcon };
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_primitives = require("./primitives.cjs");
3
2
  const require_button = require("./button.cjs");
4
3
  const require_parts = require("./parts.cjs");
4
+ const require_primitives = require("./primitives.cjs");
5
5
  exports.Button = require_button.Button;
6
6
  exports.ButtonGroup = require_primitives.ButtonGroup;
7
7
  exports.ButtonIcon = require_button.ButtonIcon;
@@ -1,4 +1,4 @@
1
- import { ButtonGroup } from "./primitives.js";
2
1
  import { Button, ButtonIcon } from "./button.js";
3
2
  import { ButtonParts } from "./parts.js";
3
+ import { ButtonGroup } from "./primitives.js";
4
4
  export { Button, ButtonGroup, ButtonIcon, ButtonParts };
@@ -1,6 +1,5 @@
1
1
  const require_index = require("../../system/index.cjs");
2
2
  let styled_system_recipes = require("styled-system/recipes");
3
- let _ark_ui_react_factory = require("@ark-ui/react/factory");
4
3
  let react_jsx_runtime = require("react/jsx-runtime");
5
4
  //#region src/components/button/primitives.tsx
6
5
  /**
@@ -9,11 +8,8 @@ let react_jsx_runtime = require("react/jsx-runtime");
9
8
  */
10
9
  var { withRecipe } = require_index.createCerberusPrimitive(styled_system_recipes.button);
11
10
  var { withRecipe: withGroupRecipe } = require_index.createCerberusPrimitive(styled_system_recipes.buttonGroup);
12
- /**
13
- * The root element of the Button component.
14
- */
15
- var ButtonRoot = withRecipe(_ark_ui_react_factory.ark.button);
16
- var ButtonGroupEl = withGroupRecipe(_ark_ui_react_factory.ark.div);
11
+ withRecipe("button");
12
+ var ButtonGroupEl = withGroupRecipe("div");
17
13
  /**
18
14
  * The ButtonGroup component is a wrapper that groups multiple Button
19
15
  * components together.
@@ -23,4 +19,3 @@ function ButtonGroup(props) {
23
19
  }
24
20
  //#endregion
25
21
  exports.ButtonGroup = ButtonGroup;
26
- exports.ButtonRoot = ButtonRoot;
@@ -1,15 +1,11 @@
1
- import { ButtonHTMLAttributes, HTMLAttributes, ClassAttributes } from 'react';
1
+ import { HTMLAttributes, ForwardRefExoticComponent, DetailedHTMLProps, ButtonHTMLAttributes, RefAttributes } from 'react';
2
2
  import { ButtonVariantProps, ButtonGroupVariantProps } from 'styled-system/recipes';
3
- import { CerberusPrimitiveProps } from '../../system/index';
4
- import { PolymorphicProps } from '@ark-ui/react';
3
+ import { CerberusProps, CerberusPrimitiveProps } from '../../system/index';
5
4
  /**
6
5
  * The root element of the Button component.
7
6
  */
8
- export declare const ButtonRoot: {
9
- (internalProps: CerberusPrimitiveProps< ClassAttributes<HTMLButtonElement> & ButtonHTMLAttributes<HTMLButtonElement> & PolymorphicProps>): import("react/jsx-runtime").JSX.Element;
10
- displayName: string;
11
- };
12
- export type ButtonRootProps = CerberusPrimitiveProps<ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariantProps>;
7
+ export declare const ButtonRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps< DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
8
+ export type ButtonRootProps = CerberusProps<'button'> & ButtonVariantProps;
13
9
  export type ButtonGroupProps = CerberusPrimitiveProps<HTMLAttributes<HTMLDivElement> & ButtonGroupVariantProps>;
14
10
  /**
15
11
  * The ButtonGroup component is a wrapper that groups multiple Button
@@ -1,15 +1,11 @@
1
- import { ButtonHTMLAttributes, HTMLAttributes, ClassAttributes } from 'react';
1
+ import { HTMLAttributes, ForwardRefExoticComponent, DetailedHTMLProps, ButtonHTMLAttributes, RefAttributes } from 'react';
2
2
  import { ButtonVariantProps, ButtonGroupVariantProps } from 'styled-system/recipes';
3
- import { CerberusPrimitiveProps } from '../../system/index';
4
- import { PolymorphicProps } from '@ark-ui/react';
3
+ import { CerberusProps, CerberusPrimitiveProps } from '../../system/index';
5
4
  /**
6
5
  * The root element of the Button component.
7
6
  */
8
- export declare const ButtonRoot: {
9
- (internalProps: CerberusPrimitiveProps< ClassAttributes<HTMLButtonElement> & ButtonHTMLAttributes<HTMLButtonElement> & PolymorphicProps>): import("react/jsx-runtime").JSX.Element;
10
- displayName: string;
11
- };
12
- export type ButtonRootProps = CerberusPrimitiveProps<ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariantProps>;
7
+ export declare const ButtonRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps< DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
8
+ export type ButtonRootProps = CerberusProps<'button'> & ButtonVariantProps;
13
9
  export type ButtonGroupProps = CerberusPrimitiveProps<HTMLAttributes<HTMLDivElement> & ButtonGroupVariantProps>;
14
10
  /**
15
11
  * The ButtonGroup component is a wrapper that groups multiple Button
@@ -1,6 +1,5 @@
1
1
  import { createCerberusPrimitive } from "../../system/index.js";
2
2
  import { button, buttonGroup } from "styled-system/recipes";
3
- import { ark } from "@ark-ui/react/factory";
4
3
  import { jsx } from "react/jsx-runtime";
5
4
  //#region src/components/button/primitives.tsx
6
5
  /**
@@ -9,11 +8,8 @@ import { jsx } from "react/jsx-runtime";
9
8
  */
10
9
  var { withRecipe } = createCerberusPrimitive(button);
11
10
  var { withRecipe: withGroupRecipe } = createCerberusPrimitive(buttonGroup);
12
- /**
13
- * The root element of the Button component.
14
- */
15
- var ButtonRoot = withRecipe(ark.button);
16
- var ButtonGroupEl = withGroupRecipe(ark.div);
11
+ withRecipe("button");
12
+ var ButtonGroupEl = withGroupRecipe("div");
17
13
  /**
18
14
  * The ButtonGroup component is a wrapper that groups multiple Button
19
15
  * components together.
@@ -22,4 +18,4 @@ function ButtonGroup(props) {
22
18
  return /* @__PURE__ */ jsx(ButtonGroupEl, { ...props });
23
19
  }
24
20
  //#endregion
25
- export { ButtonGroup, ButtonRoot };
21
+ export { ButtonGroup };
@@ -1,44 +1,20 @@
1
1
  import { Carousel, CarouselRootProps as ArkRootProps, CarouselControlProps as ArkControlProps, CarouselPrevTriggerProps as ArkPrevTriggerProps, CarouselNextTriggerProps as ArkNextTriggerProps, CarouselIndicatorGroupProps as ArkIndicatorGroupProps, CarouselIndicatorProps as ArkIndicatorProps, CarouselItemGroupProps as ArkItemGroupProps, CarouselItemProps as ArkItemProps } from '@ark-ui/react/carousel';
2
2
  import { CarouselVariantProps } from 'styled-system/recipes';
3
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
3
4
  import { CerberusPrimitiveProps } from '../..';
4
- import { RefAttributes } from 'react';
5
5
  export type CarouselRootProps = CarouselVariantProps & ArkRootProps;
6
- export declare const CarouselRoot: {
7
- (internalProps: CerberusPrimitiveProps<Carousel.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
6
+ export declare const CarouselRoot: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
10
7
  export type CarouselControlProps = CarouselVariantProps & ArkControlProps;
11
- export declare const CarouselControl: {
12
- (internalProps: CerberusPrimitiveProps<Carousel.ControlProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
13
- displayName: string;
14
- };
8
+ export declare const CarouselControl: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.ControlProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
15
9
  export type CarouselPrevTriggerProps = CarouselVariantProps & ArkPrevTriggerProps;
16
- export declare const CarouselPrevTrigger: {
17
- (internalProps: CerberusPrimitiveProps<Carousel.PrevTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
18
- displayName: string;
19
- };
10
+ export declare const CarouselPrevTrigger: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.PrevTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
20
11
  export type CarouselNextTriggerProps = CarouselVariantProps & ArkNextTriggerProps;
21
- export declare const CarouselNextTrigger: {
22
- (internalProps: CerberusPrimitiveProps<Carousel.NextTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
12
+ export declare const CarouselNextTrigger: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.NextTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
25
13
  export type CarouselIndicatorGroupProps = CarouselVariantProps & ArkIndicatorGroupProps;
26
- export declare const CarouselIndicatorGroup: {
27
- (internalProps: CerberusPrimitiveProps<Carousel.IndicatorGroupProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
28
- displayName: string;
29
- };
14
+ export declare const CarouselIndicatorGroup: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.IndicatorGroupProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
30
15
  export type CarouselIndicatorProps = CarouselVariantProps & ArkIndicatorProps;
31
- export declare const CarouselIndicator: {
32
- (internalProps: CerberusPrimitiveProps<Carousel.IndicatorProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
33
- displayName: string;
34
- };
16
+ export declare const CarouselIndicator: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.IndicatorProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
35
17
  export type CarouselItemGroupProps = CarouselVariantProps & ArkItemGroupProps;
36
- export declare const CarouselItemGroup: {
37
- (internalProps: CerberusPrimitiveProps<Carousel.ItemGroupProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
38
- displayName: string;
39
- };
18
+ export declare const CarouselItemGroup: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.ItemGroupProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
40
19
  export type CarouselItemProps = CarouselVariantProps & ArkItemProps;
41
- export declare const CarouselItem: {
42
- (internalProps: CerberusPrimitiveProps<Carousel.ItemProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
43
- displayName: string;
44
- };
20
+ export declare const CarouselItem: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.ItemProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
@@ -1,44 +1,20 @@
1
1
  import { Carousel, CarouselRootProps as ArkRootProps, CarouselControlProps as ArkControlProps, CarouselPrevTriggerProps as ArkPrevTriggerProps, CarouselNextTriggerProps as ArkNextTriggerProps, CarouselIndicatorGroupProps as ArkIndicatorGroupProps, CarouselIndicatorProps as ArkIndicatorProps, CarouselItemGroupProps as ArkItemGroupProps, CarouselItemProps as ArkItemProps } from '@ark-ui/react/carousel';
2
2
  import { CarouselVariantProps } from 'styled-system/recipes';
3
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
3
4
  import { CerberusPrimitiveProps } from '../..';
4
- import { RefAttributes } from 'react';
5
5
  export type CarouselRootProps = CarouselVariantProps & ArkRootProps;
6
- export declare const CarouselRoot: {
7
- (internalProps: CerberusPrimitiveProps<Carousel.RootProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
6
+ export declare const CarouselRoot: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
10
7
  export type CarouselControlProps = CarouselVariantProps & ArkControlProps;
11
- export declare const CarouselControl: {
12
- (internalProps: CerberusPrimitiveProps<Carousel.ControlProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
13
- displayName: string;
14
- };
8
+ export declare const CarouselControl: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.ControlProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
15
9
  export type CarouselPrevTriggerProps = CarouselVariantProps & ArkPrevTriggerProps;
16
- export declare const CarouselPrevTrigger: {
17
- (internalProps: CerberusPrimitiveProps<Carousel.PrevTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
18
- displayName: string;
19
- };
10
+ export declare const CarouselPrevTrigger: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.PrevTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
20
11
  export type CarouselNextTriggerProps = CarouselVariantProps & ArkNextTriggerProps;
21
- export declare const CarouselNextTrigger: {
22
- (internalProps: CerberusPrimitiveProps<Carousel.NextTriggerProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
12
+ export declare const CarouselNextTrigger: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.NextTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
25
13
  export type CarouselIndicatorGroupProps = CarouselVariantProps & ArkIndicatorGroupProps;
26
- export declare const CarouselIndicatorGroup: {
27
- (internalProps: CerberusPrimitiveProps<Carousel.IndicatorGroupProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
28
- displayName: string;
29
- };
14
+ export declare const CarouselIndicatorGroup: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.IndicatorGroupProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
30
15
  export type CarouselIndicatorProps = CarouselVariantProps & ArkIndicatorProps;
31
- export declare const CarouselIndicator: {
32
- (internalProps: CerberusPrimitiveProps<Carousel.IndicatorProps & RefAttributes<HTMLButtonElement>>): import("react/jsx-runtime").JSX.Element;
33
- displayName: string;
34
- };
16
+ export declare const CarouselIndicator: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.IndicatorProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<HTMLElement>>;
35
17
  export type CarouselItemGroupProps = CarouselVariantProps & ArkItemGroupProps;
36
- export declare const CarouselItemGroup: {
37
- (internalProps: CerberusPrimitiveProps<Carousel.ItemGroupProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
38
- displayName: string;
39
- };
18
+ export declare const CarouselItemGroup: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.ItemGroupProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
40
19
  export type CarouselItemProps = CarouselVariantProps & ArkItemProps;
41
- export declare const CarouselItem: {
42
- (internalProps: CerberusPrimitiveProps<Carousel.ItemProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
43
- displayName: string;
44
- };
20
+ export declare const CarouselItem: ForwardRefExoticComponent<Omit< CerberusPrimitiveProps<Carousel.ItemProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
@@ -1,57 +1,42 @@
1
1
  import { Checkbox, CheckboxControlProps as ArkCheckboxControlProps, CheckboxGroupProps as ArkCheckboxGroupProps, CheckboxIndicatorProps as ArkCheckboxIndicatorProps, CheckboxLabelProps as ArkCheckboxLabelProps, CheckboxRootProps as ArkCheckboxRootProps, CheckboxHiddenInputProps as ArkCheckboxHiddenInputProps } from '@ark-ui/react';
2
2
  import { CheckboxVariantProps } from 'styled-system/recipes';
3
3
  import { CerberusPrimitiveProps } from '../../system/index';
4
- import { RefAttributes } from 'react';
4
+ import { ForwardRefExoticComponent, RefAttributes } from 'react';
5
5
  /**
6
6
  * Checkbox Root component used to provide the context to all other checkbox
7
7
  * primitives.
8
8
  * @definition [Cerberus Docs](https://cerberus.digitalu.design/react/checkbox)
9
9
  * @definition [Primitive Docs](https://ark-ui.com/react/docs/components/checkbox)
10
10
  */
11
- export declare const CheckboxRoot: {
12
- (internalProps: CerberusPrimitiveProps<Checkbox.RootProps & RefAttributes<HTMLLabelElement>>): import("react/jsx-runtime").JSX.Element;
13
- displayName: string;
14
- };
11
+ export declare const CheckboxRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Checkbox.RootProps & RefAttributes<HTMLLabelElement>>, "ref"> & RefAttributes<HTMLElement>>;
15
12
  export type CheckboxRootProps = CerberusPrimitiveProps<ArkCheckboxRootProps>;
16
13
  /**
17
14
  * Checkbox Label component used to display the label of the checkbox.
18
15
  * @definition [Cerberus Docs](https://cerberus.digitalu.design/react/checkbox)
19
16
  * @definition [Primitive Docs](https://ark-ui.com/react/docs/components/checkbox)
20
17
  */
21
- export declare const CheckboxLabel: {
22
- (internalProps: CerberusPrimitiveProps<Checkbox.LabelProps & RefAttributes<HTMLSpanElement>>): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
18
+ export declare const CheckboxLabel: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Checkbox.LabelProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<HTMLElement>>;
25
19
  export type CheckboxLabelProps = CerberusPrimitiveProps<ArkCheckboxLabelProps & CheckboxVariantProps>;
26
20
  /**
27
21
  * Checkbox Control component used to display the control of the checkbox.
28
22
  * @definition [Cerberus Docs](https://cerberus.digitalu.design/react/checkbox)
29
23
  * @definition [Primitive Docs](https://ark-ui.com/react/docs/components/checkbox)
30
24
  */
31
- export declare const CheckboxControl: {
32
- (internalProps: CerberusPrimitiveProps<Checkbox.ControlProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
33
- displayName: string;
34
- };
25
+ export declare const CheckboxControl: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Checkbox.ControlProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
35
26
  export type CheckboxControlProps = CerberusPrimitiveProps<ArkCheckboxControlProps & CheckboxVariantProps>;
36
27
  /**
37
28
  * Checkbox Indicator component used to display the indicator of the checkbox.
38
29
  * @definition [Cerberus Docs](https://cerberus.digitalu.design/react/checkbox)
39
30
  * @definition [Primitive Docs](https://ark-ui.com/react/docs/components/checkbox)
40
31
  */
41
- export declare const CheckboxIndicator: {
42
- (internalProps: CerberusPrimitiveProps<Checkbox.IndicatorProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
43
- displayName: string;
44
- };
32
+ export declare const CheckboxIndicator: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Checkbox.IndicatorProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
45
33
  export type CheckboxIndicatorProps = CerberusPrimitiveProps<ArkCheckboxIndicatorProps>;
46
34
  /**
47
35
  * Checkbox HiddenInput component used to provide the native checkbox input.
48
36
  * @definition [Cerberus Docs](https://cerberus.digitalu.design/react/checkbox)
49
37
  * @definition [Primitive Docs](https://ark-ui.com/react/docs/components/checkbox)
50
38
  */
51
- export declare const CheckboxHiddenInput: {
52
- (props: CerberusPrimitiveProps<Checkbox.HiddenInputProps & RefAttributes<HTMLInputElement>>): import("react/jsx-runtime").JSX.Element;
53
- displayName: string;
54
- };
39
+ export declare const CheckboxHiddenInput: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Checkbox.HiddenInputProps & RefAttributes<HTMLInputElement>>, "ref"> & RefAttributes<HTMLElement>>;
55
40
  export type CheckboxHiddenInputProps = CerberusPrimitiveProps<ArkCheckboxHiddenInputProps>;
56
41
  /**
57
42
  * Checkbox Group is used to group checkboxes together in a consistently styled
@@ -59,8 +44,5 @@ export type CheckboxHiddenInputProps = CerberusPrimitiveProps<ArkCheckboxHiddenI
59
44
  * @definition [Cerberus Docs](https://cerberus.digitalu.design/react/checkbox)
60
45
  * @definition [Primitive Docs](https://ark-ui.com/react/docs/components/checkbox)
61
46
  */
62
- export declare const CheckboxGroup: {
63
- (internalProps: CerberusPrimitiveProps<Checkbox.GroupProps & RefAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
64
- displayName: string;
65
- };
47
+ export declare const CheckboxGroup: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Checkbox.GroupProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<HTMLElement>>;
66
48
  export type CheckboxGroupProps = CerberusPrimitiveProps<ArkCheckboxGroupProps>;