@cerberus-design/react 0.7.4-next-73e6ea1 → 0.7.4-next-dac90a8

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 (32) hide show
  1. package/build/legacy/_tsup-dts-rollup.d.ts +2 -2
  2. package/build/legacy/{chunk-XRED74C2.js → chunk-2VPKILZ6.js} +2 -2
  3. package/build/legacy/{chunk-2ATICEW3.js → chunk-6F34A7NZ.js} +4 -2
  4. package/build/legacy/chunk-6F34A7NZ.js.map +1 -0
  5. package/build/legacy/{chunk-4EMJR2AY.js → chunk-AAKIOHAX.js} +2 -2
  6. package/build/legacy/{chunk-DB2OA5PU.js → chunk-L46XIE3D.js} +2 -2
  7. package/build/legacy/components/Button.js +1 -1
  8. package/build/legacy/context/confirm-modal.js +2 -2
  9. package/build/legacy/context/notification-center.js +2 -2
  10. package/build/legacy/context/prompt-modal.js +2 -2
  11. package/build/legacy/index.js +4 -4
  12. package/build/modern/_tsup-dts-rollup.d.ts +2 -2
  13. package/build/modern/{chunk-2ATICEW3.js → chunk-6F34A7NZ.js} +4 -2
  14. package/build/modern/chunk-6F34A7NZ.js.map +1 -0
  15. package/build/modern/{chunk-BMQ7I2PL.js → chunk-LTDNZRUY.js} +2 -2
  16. package/build/modern/{chunk-UE5DPEKB.js → chunk-QO2UXGW4.js} +2 -2
  17. package/build/modern/{chunk-ZPWSMCZ5.js → chunk-Y5IY7O23.js} +2 -2
  18. package/build/modern/components/Button.js +1 -1
  19. package/build/modern/context/confirm-modal.js +2 -2
  20. package/build/modern/context/notification-center.js +2 -2
  21. package/build/modern/context/prompt-modal.js +2 -2
  22. package/build/modern/index.js +4 -4
  23. package/package.json +2 -2
  24. package/src/components/Button.tsx +6 -3
  25. package/build/legacy/chunk-2ATICEW3.js.map +0 -1
  26. package/build/modern/chunk-2ATICEW3.js.map +0 -1
  27. /package/build/legacy/{chunk-XRED74C2.js.map → chunk-2VPKILZ6.js.map} +0 -0
  28. /package/build/legacy/{chunk-4EMJR2AY.js.map → chunk-AAKIOHAX.js.map} +0 -0
  29. /package/build/legacy/{chunk-DB2OA5PU.js.map → chunk-L46XIE3D.js.map} +0 -0
  30. /package/build/modern/{chunk-BMQ7I2PL.js.map → chunk-LTDNZRUY.js.map} +0 -0
  31. /package/build/modern/{chunk-UE5DPEKB.js.map → chunk-QO2UXGW4.js.map} +0 -0
  32. /package/build/modern/{chunk-ZPWSMCZ5.js.map → chunk-Y5IY7O23.js.map} +0 -0
@@ -6,8 +6,8 @@ import { Announcements } from '@dnd-kit/core';
6
6
  import { applyModifiers } from '@dnd-kit/core';
7
7
  import { AutoScrollActivator } from '@dnd-kit/core';
8
8
  import { AutoScrollOptions } from '@dnd-kit/core';
9
- import { button } from '@cerberus/styled-system/recipes';
10
9
  import { ButtonHTMLAttributes } from 'react';
10
+ import { ButtonVariantProps } from '@cerberus/styled-system/recipes';
11
11
  import { CancelDrop } from '@dnd-kit/core';
12
12
  import { CarbonIconType } from '@cerberus/icons';
13
13
  import { ChangeEvent } from 'react';
@@ -172,7 +172,7 @@ export { Button as Button_alias_1 }
172
172
  * This module contains the Button component.
173
173
  * @module
174
174
  */
175
- declare type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & RecipeVariantProps<typeof button>;
175
+ declare type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariantProps;
176
176
  export { ButtonProps }
177
177
  export { ButtonProps as ButtonProps_alias_1 }
178
178
 
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-4CAT3FHV.js";
13
13
  import {
14
14
  Button
15
- } from "./chunk-2ATICEW3.js";
15
+ } from "./chunk-6F34A7NZ.js";
16
16
  import {
17
17
  Show
18
18
  } from "./chunk-4O4QFF4S.js";
@@ -119,4 +119,4 @@ export {
119
119
  NotificationCenter,
120
120
  useNotificationCenter
121
121
  };
122
- //# sourceMappingURL=chunk-XRED74C2.js.map
122
+ //# sourceMappingURL=chunk-2VPKILZ6.js.map
@@ -1,6 +1,8 @@
1
1
  // src/components/Button.tsx
2
2
  import { cx } from "@cerberus/styled-system/css";
3
- import { button } from "@cerberus/styled-system/recipes";
3
+ import {
4
+ button
5
+ } from "@cerberus/styled-system/recipes";
4
6
  import { jsx } from "react/jsx-runtime";
5
7
  function Button(props) {
6
8
  const { palette, usage, shape, ...nativeProps } = props;
@@ -23,4 +25,4 @@ function Button(props) {
23
25
  export {
24
26
  Button
25
27
  };
26
- //# sourceMappingURL=chunk-2ATICEW3.js.map
28
+ //# sourceMappingURL=chunk-6F34A7NZ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/Button.tsx"],"sourcesContent":["import type { ButtonHTMLAttributes } from 'react'\nimport { cx } from '@cerberus/styled-system/css'\nimport {\n button,\n type ButtonVariantProps,\n} from '@cerberus/styled-system/recipes'\n\n/**\n * This module contains the Button component.\n * @module\n */\n\nexport type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> &\n ButtonVariantProps\n\n/**\n * A component that allows the user to perform actions\n * @description https://github.com/omnifed/cerberus/blob/main/packages/react/src/components/Button.tsx\n */\nexport function Button(props: ButtonProps): JSX.Element {\n const { palette, usage, shape, ...nativeProps } = props\n return (\n <button\n {...nativeProps}\n className={cx(\n nativeProps.className,\n button({\n palette,\n usage,\n shape,\n }),\n )}\n />\n )\n}\n"],"mappings":";AACA,SAAS,UAAU;AACnB;AAAA,EACE;AAAA,OAEK;AAiBH;AAHG,SAAS,OAAO,OAAiC;AACtD,QAAM,EAAE,SAAS,OAAO,OAAO,GAAG,YAAY,IAAI;AAClD,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW;AAAA,QACT,YAAY;AAAA,QACZ,OAAO;AAAA,UACL;AAAA,UACA;AAAA,UACA;AAAA,QACF,CAAC;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-JJP2TFTU.js";
19
19
  import {
20
20
  Button
21
- } from "./chunk-2ATICEW3.js";
21
+ } from "./chunk-6F34A7NZ.js";
22
22
  import {
23
23
  Show
24
24
  } from "./chunk-4O4QFF4S.js";
@@ -152,4 +152,4 @@ export {
152
152
  ConfirmModal,
153
153
  useConfirmModal
154
154
  };
155
- //# sourceMappingURL=chunk-4EMJR2AY.js.map
155
+ //# sourceMappingURL=chunk-AAKIOHAX.js.map
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-JJP2TFTU.js";
25
25
  import {
26
26
  Button
27
- } from "./chunk-2ATICEW3.js";
27
+ } from "./chunk-6F34A7NZ.js";
28
28
  import {
29
29
  Field
30
30
  } from "./chunk-ZAU4JVLL.js";
@@ -205,4 +205,4 @@ export {
205
205
  PromptModal,
206
206
  usePromptModal
207
207
  };
208
- //# sourceMappingURL=chunk-DB2OA5PU.js.map
208
+ //# sourceMappingURL=chunk-L46XIE3D.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Button
3
- } from "../chunk-2ATICEW3.js";
3
+ } from "../chunk-6F34A7NZ.js";
4
4
  export {
5
5
  Button
6
6
  };
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  ConfirmModal,
4
4
  useConfirmModal
5
- } from "../chunk-4EMJR2AY.js";
5
+ } from "../chunk-AAKIOHAX.js";
6
6
  import "../chunk-4CAT3FHV.js";
7
7
  import "../chunk-2UFNQM55.js";
8
8
  import "../chunk-4M4LCQ43.js";
9
9
  import "../chunk-QU7UV5DB.js";
10
10
  import "../chunk-JB7IQ2BM.js";
11
11
  import "../chunk-JJP2TFTU.js";
12
- import "../chunk-2ATICEW3.js";
12
+ import "../chunk-6F34A7NZ.js";
13
13
  import "../chunk-4O4QFF4S.js";
14
14
  import "../chunk-KESKDLX6.js";
15
15
  import "../chunk-BEYPMC73.js";
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  NotificationCenter,
4
4
  useNotificationCenter
5
- } from "../chunk-XRED74C2.js";
5
+ } from "../chunk-2VPKILZ6.js";
6
6
  import "../chunk-LF2QFS5S.js";
7
7
  import "../chunk-HW76XVA3.js";
8
8
  import "../chunk-3C2DJSEE.js";
9
9
  import "../chunk-4CAT3FHV.js";
10
- import "../chunk-2ATICEW3.js";
10
+ import "../chunk-6F34A7NZ.js";
11
11
  import "../chunk-4O4QFF4S.js";
12
12
  import "../chunk-KESKDLX6.js";
13
13
  import "../chunk-BEYPMC73.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  PromptModal,
4
4
  usePromptModal
5
- } from "../chunk-DB2OA5PU.js";
5
+ } from "../chunk-L46XIE3D.js";
6
6
  import "../chunk-4CAT3FHV.js";
7
7
  import "../chunk-XB4ZRAH4.js";
8
8
  import "../chunk-JJGZRBIR.js";
@@ -11,7 +11,7 @@ import "../chunk-4M4LCQ43.js";
11
11
  import "../chunk-QU7UV5DB.js";
12
12
  import "../chunk-JB7IQ2BM.js";
13
13
  import "../chunk-JJP2TFTU.js";
14
- import "../chunk-2ATICEW3.js";
14
+ import "../chunk-6F34A7NZ.js";
15
15
  import "../chunk-ZAU4JVLL.js";
16
16
  import "../chunk-4O4QFF4S.js";
17
17
  import "../chunk-KESKDLX6.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PromptModal,
3
3
  usePromptModal
4
- } from "./chunk-DB2OA5PU.js";
4
+ } from "./chunk-L46XIE3D.js";
5
5
  import {
6
6
  Th
7
7
  } from "./chunk-3GXISGPS.js";
@@ -14,11 +14,11 @@ import {
14
14
  import {
15
15
  ConfirmModal,
16
16
  useConfirmModal
17
- } from "./chunk-4EMJR2AY.js";
17
+ } from "./chunk-AAKIOHAX.js";
18
18
  import {
19
19
  NotificationCenter,
20
20
  useNotificationCenter
21
- } from "./chunk-XRED74C2.js";
21
+ } from "./chunk-2VPKILZ6.js";
22
22
  import {
23
23
  Tab
24
24
  } from "./chunk-NE5NHILF.js";
@@ -106,7 +106,7 @@ import {
106
106
  } from "./chunk-SCQVXJBT.js";
107
107
  import {
108
108
  Button
109
- } from "./chunk-2ATICEW3.js";
109
+ } from "./chunk-6F34A7NZ.js";
110
110
  import {
111
111
  Droppable
112
112
  } from "./chunk-7VJOPJVX.js";
@@ -6,8 +6,8 @@ import { Announcements } from '@dnd-kit/core';
6
6
  import { applyModifiers } from '@dnd-kit/core';
7
7
  import { AutoScrollActivator } from '@dnd-kit/core';
8
8
  import { AutoScrollOptions } from '@dnd-kit/core';
9
- import { button } from '@cerberus/styled-system/recipes';
10
9
  import { ButtonHTMLAttributes } from 'react';
10
+ import { ButtonVariantProps } from '@cerberus/styled-system/recipes';
11
11
  import { CancelDrop } from '@dnd-kit/core';
12
12
  import { CarbonIconType } from '@cerberus/icons';
13
13
  import { ChangeEvent } from 'react';
@@ -172,7 +172,7 @@ export { Button as Button_alias_1 }
172
172
  * This module contains the Button component.
173
173
  * @module
174
174
  */
175
- declare type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & RecipeVariantProps<typeof button>;
175
+ declare type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariantProps;
176
176
  export { ButtonProps }
177
177
  export { ButtonProps as ButtonProps_alias_1 }
178
178
 
@@ -1,6 +1,8 @@
1
1
  // src/components/Button.tsx
2
2
  import { cx } from "@cerberus/styled-system/css";
3
- import { button } from "@cerberus/styled-system/recipes";
3
+ import {
4
+ button
5
+ } from "@cerberus/styled-system/recipes";
4
6
  import { jsx } from "react/jsx-runtime";
5
7
  function Button(props) {
6
8
  const { palette, usage, shape, ...nativeProps } = props;
@@ -23,4 +25,4 @@ function Button(props) {
23
25
  export {
24
26
  Button
25
27
  };
26
- //# sourceMappingURL=chunk-2ATICEW3.js.map
28
+ //# sourceMappingURL=chunk-6F34A7NZ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/Button.tsx"],"sourcesContent":["import type { ButtonHTMLAttributes } from 'react'\nimport { cx } from '@cerberus/styled-system/css'\nimport {\n button,\n type ButtonVariantProps,\n} from '@cerberus/styled-system/recipes'\n\n/**\n * This module contains the Button component.\n * @module\n */\n\nexport type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> &\n ButtonVariantProps\n\n/**\n * A component that allows the user to perform actions\n * @description https://github.com/omnifed/cerberus/blob/main/packages/react/src/components/Button.tsx\n */\nexport function Button(props: ButtonProps): JSX.Element {\n const { palette, usage, shape, ...nativeProps } = props\n return (\n <button\n {...nativeProps}\n className={cx(\n nativeProps.className,\n button({\n palette,\n usage,\n shape,\n }),\n )}\n />\n )\n}\n"],"mappings":";AACA,SAAS,UAAU;AACnB;AAAA,EACE;AAAA,OAEK;AAiBH;AAHG,SAAS,OAAO,OAAiC;AACtD,QAAM,EAAE,SAAS,OAAO,OAAO,GAAG,YAAY,IAAI;AAClD,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW;AAAA,QACT,YAAY;AAAA,QACZ,OAAO;AAAA,UACL;AAAA,UACA;AAAA,UACA;AAAA,QACF,CAAC;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-JJP2TFTU.js";
25
25
  import {
26
26
  Button
27
- } from "./chunk-2ATICEW3.js";
27
+ } from "./chunk-6F34A7NZ.js";
28
28
  import {
29
29
  Field
30
30
  } from "./chunk-ZAU4JVLL.js";
@@ -204,4 +204,4 @@ export {
204
204
  PromptModal,
205
205
  usePromptModal
206
206
  };
207
- //# sourceMappingURL=chunk-BMQ7I2PL.js.map
207
+ //# sourceMappingURL=chunk-LTDNZRUY.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-4CAT3FHV.js";
13
13
  import {
14
14
  Button
15
- } from "./chunk-2ATICEW3.js";
15
+ } from "./chunk-6F34A7NZ.js";
16
16
  import {
17
17
  Show
18
18
  } from "./chunk-4O4QFF4S.js";
@@ -119,4 +119,4 @@ export {
119
119
  NotificationCenter,
120
120
  useNotificationCenter
121
121
  };
122
- //# sourceMappingURL=chunk-UE5DPEKB.js.map
122
+ //# sourceMappingURL=chunk-QO2UXGW4.js.map
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-JJP2TFTU.js";
19
19
  import {
20
20
  Button
21
- } from "./chunk-2ATICEW3.js";
21
+ } from "./chunk-6F34A7NZ.js";
22
22
  import {
23
23
  Show
24
24
  } from "./chunk-4O4QFF4S.js";
@@ -151,4 +151,4 @@ export {
151
151
  ConfirmModal,
152
152
  useConfirmModal
153
153
  };
154
- //# sourceMappingURL=chunk-ZPWSMCZ5.js.map
154
+ //# sourceMappingURL=chunk-Y5IY7O23.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Button
3
- } from "../chunk-2ATICEW3.js";
3
+ } from "../chunk-6F34A7NZ.js";
4
4
  export {
5
5
  Button
6
6
  };
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  ConfirmModal,
4
4
  useConfirmModal
5
- } from "../chunk-ZPWSMCZ5.js";
5
+ } from "../chunk-Y5IY7O23.js";
6
6
  import "../chunk-4CAT3FHV.js";
7
7
  import "../chunk-2UFNQM55.js";
8
8
  import "../chunk-4M4LCQ43.js";
9
9
  import "../chunk-QU7UV5DB.js";
10
10
  import "../chunk-JB7IQ2BM.js";
11
11
  import "../chunk-JJP2TFTU.js";
12
- import "../chunk-2ATICEW3.js";
12
+ import "../chunk-6F34A7NZ.js";
13
13
  import "../chunk-4O4QFF4S.js";
14
14
  import "../chunk-JIZQFTW6.js";
15
15
  import "../chunk-BEYPMC73.js";
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  NotificationCenter,
4
4
  useNotificationCenter
5
- } from "../chunk-UE5DPEKB.js";
5
+ } from "../chunk-QO2UXGW4.js";
6
6
  import "../chunk-4N2L357B.js";
7
7
  import "../chunk-HW76XVA3.js";
8
8
  import "../chunk-3C2DJSEE.js";
9
9
  import "../chunk-4CAT3FHV.js";
10
- import "../chunk-2ATICEW3.js";
10
+ import "../chunk-6F34A7NZ.js";
11
11
  import "../chunk-4O4QFF4S.js";
12
12
  import "../chunk-JIZQFTW6.js";
13
13
  import "../chunk-BEYPMC73.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  PromptModal,
4
4
  usePromptModal
5
- } from "../chunk-BMQ7I2PL.js";
5
+ } from "../chunk-LTDNZRUY.js";
6
6
  import "../chunk-4CAT3FHV.js";
7
7
  import "../chunk-XB4ZRAH4.js";
8
8
  import "../chunk-JJGZRBIR.js";
@@ -11,7 +11,7 @@ import "../chunk-4M4LCQ43.js";
11
11
  import "../chunk-QU7UV5DB.js";
12
12
  import "../chunk-JB7IQ2BM.js";
13
13
  import "../chunk-JJP2TFTU.js";
14
- import "../chunk-2ATICEW3.js";
14
+ import "../chunk-6F34A7NZ.js";
15
15
  import "../chunk-ZAU4JVLL.js";
16
16
  import "../chunk-4O4QFF4S.js";
17
17
  import "../chunk-JIZQFTW6.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PromptModal,
3
3
  usePromptModal
4
- } from "./chunk-BMQ7I2PL.js";
4
+ } from "./chunk-LTDNZRUY.js";
5
5
  import {
6
6
  Th
7
7
  } from "./chunk-3GXISGPS.js";
@@ -14,11 +14,11 @@ import {
14
14
  import {
15
15
  ConfirmModal,
16
16
  useConfirmModal
17
- } from "./chunk-ZPWSMCZ5.js";
17
+ } from "./chunk-Y5IY7O23.js";
18
18
  import {
19
19
  NotificationCenter,
20
20
  useNotificationCenter
21
- } from "./chunk-UE5DPEKB.js";
21
+ } from "./chunk-QO2UXGW4.js";
22
22
  import {
23
23
  Tab
24
24
  } from "./chunk-SONHHNYQ.js";
@@ -106,7 +106,7 @@ import {
106
106
  } from "./chunk-QEA6N6TN.js";
107
107
  import {
108
108
  Button
109
- } from "./chunk-2ATICEW3.js";
109
+ } from "./chunk-6F34A7NZ.js";
110
110
  import {
111
111
  Droppable
112
112
  } from "./chunk-7VJOPJVX.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cerberus-design/react",
3
- "version": "0.7.4-next-73e6ea1",
3
+ "version": "0.7.4-next-dac90a8",
4
4
  "description": "The Cerberus Design React component library.",
5
5
  "browserslist": "> 0.25%, not dead",
6
6
  "sideEffects": false,
@@ -26,7 +26,7 @@
26
26
  "react-dom": "^18",
27
27
  "tsup": "^8.1.0",
28
28
  "@cerberus-design/configs": "0.0.0",
29
- "@cerberus-design/styled-system": "0.7.4-next-73e6ea1"
29
+ "@cerberus-design/styled-system": "0.7.4-next-dac90a8"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
@@ -1,6 +1,9 @@
1
1
  import type { ButtonHTMLAttributes } from 'react'
2
- import { cx, type RecipeVariantProps } from '@cerberus/styled-system/css'
3
- import { button } from '@cerberus/styled-system/recipes'
2
+ import { cx } from '@cerberus/styled-system/css'
3
+ import {
4
+ button,
5
+ type ButtonVariantProps,
6
+ } from '@cerberus/styled-system/recipes'
4
7
 
5
8
  /**
6
9
  * This module contains the Button component.
@@ -8,7 +11,7 @@ import { button } from '@cerberus/styled-system/recipes'
8
11
  */
9
12
 
10
13
  export type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> &
11
- RecipeVariantProps<typeof button>
14
+ ButtonVariantProps
12
15
 
13
16
  /**
14
17
  * A component that allows the user to perform actions
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/components/Button.tsx"],"sourcesContent":["import type { ButtonHTMLAttributes } from 'react'\nimport { cx, type RecipeVariantProps } from '@cerberus/styled-system/css'\nimport { button } from '@cerberus/styled-system/recipes'\n\n/**\n * This module contains the Button component.\n * @module\n */\n\nexport type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> &\n RecipeVariantProps<typeof button>\n\n/**\n * A component that allows the user to perform actions\n * @description https://github.com/omnifed/cerberus/blob/main/packages/react/src/components/Button.tsx\n */\nexport function Button(props: ButtonProps): JSX.Element {\n const { palette, usage, shape, ...nativeProps } = props\n return (\n <button\n {...nativeProps}\n className={cx(\n nativeProps.className,\n button({\n palette,\n usage,\n shape,\n }),\n )}\n />\n )\n}\n"],"mappings":";AACA,SAAS,UAAmC;AAC5C,SAAS,cAAc;AAiBnB;AAHG,SAAS,OAAO,OAAiC;AACtD,QAAM,EAAE,SAAS,OAAO,OAAO,GAAG,YAAY,IAAI;AAClD,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW;AAAA,QACT,YAAY;AAAA,QACZ,OAAO;AAAA,UACL;AAAA,UACA;AAAA,UACA;AAAA,QACF,CAAC;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/components/Button.tsx"],"sourcesContent":["import type { ButtonHTMLAttributes } from 'react'\nimport { cx, type RecipeVariantProps } from '@cerberus/styled-system/css'\nimport { button } from '@cerberus/styled-system/recipes'\n\n/**\n * This module contains the Button component.\n * @module\n */\n\nexport type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> &\n RecipeVariantProps<typeof button>\n\n/**\n * A component that allows the user to perform actions\n * @description https://github.com/omnifed/cerberus/blob/main/packages/react/src/components/Button.tsx\n */\nexport function Button(props: ButtonProps): JSX.Element {\n const { palette, usage, shape, ...nativeProps } = props\n return (\n <button\n {...nativeProps}\n className={cx(\n nativeProps.className,\n button({\n palette,\n usage,\n shape,\n }),\n )}\n />\n )\n}\n"],"mappings":";AACA,SAAS,UAAmC;AAC5C,SAAS,cAAc;AAiBnB;AAHG,SAAS,OAAO,OAAiC;AACtD,QAAM,EAAE,SAAS,OAAO,OAAO,GAAG,YAAY,IAAI;AAClD,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW;AAAA,QACT,YAAY;AAAA,QACZ,OAAO;AAAA,UACL;AAAA,UACA;AAAA,UACA;AAAA,QACF,CAAC;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}