@kimdw-rtk/ui 0.0.30 → 0.1.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 (197) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +1 -1
  2. package/dist/components/Accordion/Accordion.d.ts.map +1 -1
  3. package/dist/components/Accordion/AccordionTrigger.js +1 -1
  4. package/dist/components/Box/index.d.ts +2 -2
  5. package/dist/components/Box/index.d.ts.map +1 -1
  6. package/dist/components/Button/index.d.ts +2 -2
  7. package/dist/components/Button/index.d.ts.map +1 -1
  8. package/dist/components/Button/index.js +5 -3
  9. package/dist/components/Card/Card.css.d.ts +31 -0
  10. package/dist/components/Card/Card.css.d.ts.map +1 -1
  11. package/dist/components/Card/Card.css.js +3 -2
  12. package/dist/components/Card/Card.css.ts.vanilla.css +55 -38
  13. package/dist/components/Card/Card.d.ts +1 -1
  14. package/dist/components/Card/Card.d.ts.map +1 -1
  15. package/dist/components/Card/Card.js +2 -2
  16. package/dist/components/Card/CardContent.css.d.ts.map +1 -1
  17. package/dist/components/Card/CardContent.css.js +2 -0
  18. package/dist/components/Card/CardContent.css.ts.vanilla.css +1 -1
  19. package/dist/components/Card/CardContent.d.ts +1 -1
  20. package/dist/components/Card/CardContent.d.ts.map +1 -1
  21. package/dist/components/Card/CardHeader.css.d.ts +2 -0
  22. package/dist/components/Card/CardHeader.css.d.ts.map +1 -0
  23. package/dist/components/Card/CardHeader.css.js +10 -0
  24. package/dist/components/Card/CardHeader.css.ts.vanilla.css +7 -0
  25. package/dist/components/Card/CardHeader.d.ts +5 -0
  26. package/dist/components/Card/CardHeader.d.ts.map +1 -0
  27. package/dist/components/Card/CardHeader.js +12 -0
  28. package/dist/components/Card/CardInteraction.d.ts +1 -1
  29. package/dist/components/Card/CardInteraction.d.ts.map +1 -1
  30. package/dist/components/Card/CardThumbnail.css.d.ts.map +1 -1
  31. package/dist/components/Card/CardThumbnail.css.ts.vanilla.css +1 -2
  32. package/dist/components/Card/CardThumbnail.d.ts +1 -1
  33. package/dist/components/Card/CardThumbnail.d.ts.map +1 -1
  34. package/dist/components/Card/index.d.ts +1 -0
  35. package/dist/components/Card/index.d.ts.map +1 -1
  36. package/dist/components/Chip/Chip.d.ts +1 -1
  37. package/dist/components/Chip/Chip.d.ts.map +1 -1
  38. package/dist/components/Confirm/index.js +1 -1
  39. package/dist/components/Container/Container.css.d.ts +4 -0
  40. package/dist/components/Container/Container.css.d.ts.map +1 -0
  41. package/dist/components/Container/Container.css.js +9 -0
  42. package/dist/components/Container/Container.css.ts.vanilla.css +16 -0
  43. package/dist/components/Container/index.d.ts +7 -0
  44. package/dist/components/Container/index.d.ts.map +1 -0
  45. package/dist/components/Container/index.js +14 -0
  46. package/dist/components/Dialog/Dialog.d.ts +1 -1
  47. package/dist/components/Dialog/Dialog.d.ts.map +1 -1
  48. package/dist/components/Dialog/Dialog.js +1 -1
  49. package/dist/components/Dialog/DialogContent.d.ts +1 -1
  50. package/dist/components/Dialog/DialogContent.d.ts.map +1 -1
  51. package/dist/components/Dialog/DialogFooter.d.ts +1 -1
  52. package/dist/components/Dialog/DialogFooter.d.ts.map +1 -1
  53. package/dist/components/Dialog/DialogFooter.js +1 -1
  54. package/dist/components/Dialog/DialogHeader.d.ts +1 -1
  55. package/dist/components/Dialog/DialogHeader.d.ts.map +1 -1
  56. package/dist/components/Dialog/DialogHeader.js +1 -1
  57. package/dist/components/Flex/Flex.css.d.ts +2 -0
  58. package/dist/components/Flex/Flex.css.d.ts.map +1 -0
  59. package/dist/components/Flex/Flex.css.js +8 -0
  60. package/dist/components/Flex/Flex.css.ts.vanilla.css +6 -0
  61. package/dist/components/Flex/index.d.ts +6 -0
  62. package/dist/components/Flex/index.d.ts.map +1 -0
  63. package/dist/components/Flex/index.js +14 -0
  64. package/dist/components/Navigation/NavigationAside.d.ts +1 -1
  65. package/dist/components/Navigation/NavigationAside.d.ts.map +1 -1
  66. package/dist/components/Navigation/NavigationBar.css.d.ts +8 -0
  67. package/dist/components/Navigation/NavigationBar.css.d.ts.map +1 -1
  68. package/dist/components/Navigation/NavigationBar.css.js +1 -1
  69. package/dist/components/Navigation/NavigationBar.css.ts.vanilla.css +7 -1
  70. package/dist/components/Navigation/NavigationBar.d.ts +1 -1
  71. package/dist/components/Navigation/NavigationBar.d.ts.map +1 -1
  72. package/dist/components/Navigation/NavigationBar.js +4 -1
  73. package/dist/components/Navigation/NavigationContainer.d.ts +149 -4
  74. package/dist/components/Navigation/NavigationContainer.d.ts.map +1 -1
  75. package/dist/components/Navigation/NavigationContainer.js +2 -1
  76. package/dist/components/Navigation/NavigationDrawer.js +1 -1
  77. package/dist/components/Navigation/NavigationItem.d.ts +1 -1
  78. package/dist/components/Navigation/NavigationItem.d.ts.map +1 -1
  79. package/dist/components/Navigation/NavigationItem.js +1 -1
  80. package/dist/components/Navigation/NavigationLogo.d.ts +1 -1
  81. package/dist/components/Navigation/NavigationLogo.d.ts.map +1 -1
  82. package/dist/components/Navigation/NavigationMenu.d.ts +1 -1
  83. package/dist/components/Navigation/NavigationMenu.d.ts.map +1 -1
  84. package/dist/components/Range/Range.d.ts +1 -1
  85. package/dist/components/Range/Range.d.ts.map +1 -1
  86. package/dist/components/ScrollArea/ScrollArea.d.ts +1 -1
  87. package/dist/components/ScrollArea/ScrollArea.d.ts.map +1 -1
  88. package/dist/components/Select/Select.d.ts +1 -1
  89. package/dist/components/Select/Select.d.ts.map +1 -1
  90. package/dist/components/Select/Select.js +1 -1
  91. package/dist/components/Select/SelectTrigger.d.ts +1 -1
  92. package/dist/components/Select/SelectTrigger.d.ts.map +1 -1
  93. package/dist/components/Separator/index.d.ts +8 -0
  94. package/dist/components/Separator/index.d.ts.map +1 -0
  95. package/dist/components/Separator/index.js +9 -0
  96. package/dist/components/Skeleton/index.d.ts +1 -1
  97. package/dist/components/Skeleton/index.d.ts.map +1 -1
  98. package/dist/components/Table/Table.css.d.ts +25 -1
  99. package/dist/components/Table/Table.css.d.ts.map +1 -1
  100. package/dist/components/Table/Table.css.js +5 -3
  101. package/dist/components/Table/Table.css.ts.vanilla.css +13 -1
  102. package/dist/components/Table/Table.d.ts +2 -2
  103. package/dist/components/Table/Table.d.ts.map +1 -1
  104. package/dist/components/Table/Table.js +2 -2
  105. package/dist/components/Table/TableBody.d.ts +1 -1
  106. package/dist/components/Table/TableBody.d.ts.map +1 -1
  107. package/dist/components/Table/TableCell.css.d.ts.map +1 -1
  108. package/dist/components/Table/TableCell.css.ts.vanilla.css +6 -3
  109. package/dist/components/Table/TableCell.d.ts +1 -1
  110. package/dist/components/Table/TableCell.d.ts.map +1 -1
  111. package/dist/components/Table/TableCell.js +1 -1
  112. package/dist/components/Table/TableHead.d.ts +1 -1
  113. package/dist/components/Table/TableHead.d.ts.map +1 -1
  114. package/dist/components/Table/TableHead.js +1 -1
  115. package/dist/components/Table/TableHeader.d.ts +1 -1
  116. package/dist/components/Table/TableHeader.d.ts.map +1 -1
  117. package/dist/components/Table/TableRow.d.ts +1 -1
  118. package/dist/components/Table/TableRow.d.ts.map +1 -1
  119. package/dist/components/Tabs/Tabs.d.ts +1 -1
  120. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  121. package/dist/components/Tabs/TabsContent.d.ts +1 -1
  122. package/dist/components/Tabs/TabsContent.d.ts.map +1 -1
  123. package/dist/components/Tabs/TabsList.d.ts +1 -1
  124. package/dist/components/Tabs/TabsList.d.ts.map +1 -1
  125. package/dist/components/Tabs/TabsTrigger.d.ts +1 -1
  126. package/dist/components/Tabs/TabsTrigger.d.ts.map +1 -1
  127. package/dist/components/TextField/TextField.css.d.ts.map +1 -1
  128. package/dist/components/TextField/TextField.css.ts.vanilla.css +3 -1
  129. package/dist/components/TextField/index.d.ts +1 -1
  130. package/dist/components/TextField/index.d.ts.map +1 -1
  131. package/dist/components/TextField/index.js +1 -1
  132. package/dist/components/Toast/index.d.ts +1 -1
  133. package/dist/components/Toast/index.d.ts.map +1 -1
  134. package/dist/components/Toast/index.js +1 -1
  135. package/dist/components/Tooltip/Tooltip.css.d.ts +14 -0
  136. package/dist/components/Tooltip/Tooltip.css.d.ts.map +1 -0
  137. package/dist/components/Tooltip/Tooltip.css.js +9 -0
  138. package/dist/components/Tooltip/Tooltip.css.ts.vanilla.css +33 -0
  139. package/dist/components/Tooltip/index.d.ts +13 -0
  140. package/dist/components/Tooltip/index.d.ts.map +1 -0
  141. package/dist/components/Tooltip/index.js +32 -0
  142. package/dist/components/Typography/Typography.css.d.ts +7 -0
  143. package/dist/components/Typography/Typography.css.d.ts.map +1 -1
  144. package/dist/components/Typography/Typography.css.js +1 -1
  145. package/dist/components/Typography/Typography.css.ts.vanilla.css +5 -0
  146. package/dist/components/Typography/index.d.ts +7 -2
  147. package/dist/components/Typography/index.d.ts.map +1 -1
  148. package/dist/components/Typography/index.js +12 -2
  149. package/dist/components/index.d.ts +4 -0
  150. package/dist/components/index.d.ts.map +1 -1
  151. package/dist/contexts/UIProvider.d.ts +2 -1
  152. package/dist/contexts/UIProvider.d.ts.map +1 -1
  153. package/dist/contexts/UIProvider.js +4 -3
  154. package/dist/hooks/index.d.ts +2 -0
  155. package/dist/hooks/index.d.ts.map +1 -1
  156. package/dist/hooks/useContainer/ContainerProvider.d.ts +9 -0
  157. package/dist/hooks/useContainer/ContainerProvider.d.ts.map +1 -0
  158. package/dist/hooks/useContainer/ContainerProvider.js +10 -0
  159. package/dist/hooks/useContainer/index.d.ts +2 -0
  160. package/dist/hooks/useContainer/index.d.ts.map +1 -0
  161. package/dist/hooks/useContainer/index.js +12 -0
  162. package/dist/hooks/useDialog/index.js +1 -1
  163. package/dist/hooks/usePointerSlider/index.js +2 -2
  164. package/dist/hooks/useToast/ToastContainer.css.d.ts.map +1 -1
  165. package/dist/hooks/useToast/ToastContainer.css.ts.vanilla.css +1 -0
  166. package/dist/hooks/useToast/ToastProvider.d.ts +1 -1
  167. package/dist/hooks/useToast/ToastProvider.d.ts.map +1 -1
  168. package/dist/hooks/useToast/ToastProvider.js +10 -7
  169. package/dist/index.d.ts +1 -0
  170. package/dist/index.d.ts.map +1 -1
  171. package/dist/index.js +14 -1
  172. package/dist/styles/sprinkles.css.d.ts +1957 -52
  173. package/dist/styles/sprinkles.css.d.ts.map +1 -1
  174. package/dist/styles/sprinkles.css.js +7 -5
  175. package/dist/styles/sprinkles.css.ts.vanilla.css +3021 -1167
  176. package/dist/styles/sx.d.ts +1 -1
  177. package/dist/styles/sx.d.ts.map +1 -1
  178. package/dist/tests/uiTest.d.ts.map +1 -1
  179. package/dist/tokens/index.d.ts +2 -1
  180. package/dist/tokens/index.d.ts.map +1 -1
  181. package/dist/tokens/scale/color.js +578 -0
  182. package/dist/tokens/semantic/breakpoint.d.ts +4 -4
  183. package/dist/tokens/semantic/breakpoint.d.ts.map +1 -1
  184. package/dist/tokens/semantic/breakpoint.js +8 -0
  185. package/dist/tokens/semantic/color.js +12 -0
  186. package/dist/tokens/semantic/spacing.d.ts +2 -0
  187. package/dist/tokens/semantic/spacing.d.ts.map +1 -1
  188. package/dist/tokens/semantic/spacing.js +13 -0
  189. package/dist/tokens/semantic/typography.js +34 -0
  190. package/dist/tokens/semantic/width.d.ts +6 -0
  191. package/dist/tokens/semantic/width.d.ts.map +1 -0
  192. package/dist/tokens/semantic/width.js +7 -0
  193. package/dist/types/ui.types.d.ts +1 -1
  194. package/dist/types/ui.types.d.ts.map +1 -1
  195. package/dist/utils/sprinklesUtils.d.ts +1 -1
  196. package/dist/utils/sprinklesUtils.d.ts.map +1 -1
  197. package/package.json +15 -15
@@ -1,4 +1,4 @@
1
- import type { UIComponent } from '../../types';
1
+ import type { UIComponent } from '#types';
2
2
  import * as s from './Accordion.css';
3
3
  interface AccordionProps extends UIComponent<'div', typeof s.accordion> {
4
4
  isExpanded?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,OAAO,KAAK,CAAC,MAAM,iBAAiB,CAAC;AAGrC,UAAU,cAAe,SAAQ,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC;IACrE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,SAAS,wHA0BrB,CAAC"}
1
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,KAAK,CAAC,MAAM,iBAAiB,CAAC;AAGrC,UAAU,cAAe,SAAQ,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC;IACrE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,SAAS,wHA0BrB,CAAC"}
@@ -11,7 +11,7 @@ const AccordionTrigger = ({ children, iconPosition = 'right', }) => {
11
11
  throw new Error('AccordionTrigger must be used within an Accordion component.');
12
12
  }
13
13
  const { dispatch, isExpanded } = accordionContext;
14
- return (jsxs("div", { className: triggerContainer({ iconPosition }), "aria-expanded": isExpanded, onClick: () => dispatch(!isExpanded), children: [jsx("span", { children: children }), jsx("span", { className: arrow({ expand: isExpanded }), children: jsx(ChevronDown, { size: "1em" }) })] }));
14
+ return (jsxs("div", { "aria-expanded": isExpanded, className: triggerContainer({ iconPosition }), onClick: () => dispatch(!isExpanded), children: [jsx("span", { children: children }), jsx("span", { className: arrow({ expand: isExpanded }), children: jsx(ChevronDown, { size: "1em" }) })] }));
15
15
  };
16
16
 
17
17
  export { AccordionTrigger };
@@ -1,5 +1,5 @@
1
- import { type SprinklesProps } from '../../styles';
2
- import type { UIComponent } from '../../types';
1
+ import { type SprinklesProps } from '#styles';
2
+ import type { UIComponent } from '#types';
3
3
  import * as s from './Box.css';
4
4
  type BoxProps = UIComponent<'div', typeof s.box> & SprinklesProps;
5
5
  export declare const Box: import("react").ForwardRefExoticComponent<Omit<BoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Box/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,KAAK,QAAQ,GAAG,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,GAAG,CAAC,GAAG,cAAc,CAAC;AAElE,eAAO,MAAM,GAAG,kHA2Bf,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Box/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAG1C,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,KAAK,QAAQ,GAAG,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,GAAG,CAAC,GAAG,cAAc,CAAC;AAElE,eAAO,MAAM,GAAG,kHA2Bf,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { type ReactElement } from 'react';
2
- import type { UIComponent } from '../../types';
2
+ import type { UIComponent } from '#types';
3
3
  import * as s from './Button.css';
4
- interface ButtonProps extends Omit<UIComponent<'button', typeof s.button>, 'hasIcon'> {
4
+ interface ButtonProps extends UIComponent<'button', typeof s.button> {
5
5
  icon?: ReactElement;
6
6
  }
7
7
  export declare const Button: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAMtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,UAAU,WACR,SAAQ,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC;IAC/D,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,eAAO,MAAM,MAAM,wHAuClB,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAM9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,UAAU,WAAY,SAAQ,WAAW,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,MAAM,CAAC;IAClE,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,eAAO,MAAM,MAAM,wHAyClB,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,SAAS,EAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
- import { forwardRef } from 'react';
3
+ import { forwardRef, useRef } from 'react';
4
4
  import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
5
5
  import { icon, span, button } from './Button.css.js';
6
6
  import * as Button_css from './Button.css.js';
@@ -9,8 +9,10 @@ import { useRipple } from '../../hooks/useRipple/index.js';
9
9
  import { sx } from '../../styles/sx.js';
10
10
 
11
11
  const Button = forwardRef(({ children, color = 'primary', size = 'md', variant = 'contained', pulse = false, className, sx: propSx, icon: icon$1, ...props }, ref) => {
12
- const { ripple } = useRipple(ref);
13
- return (jsxs("button", { ref: ref, className: clsx(className, button({
12
+ const localRef = useRef(null);
13
+ const elementRef = ref || localRef;
14
+ const { ripple } = useRipple(elementRef);
15
+ return (jsxs("button", { ref: elementRef, className: clsx(className, button({
14
16
  color,
15
17
  size,
16
18
  variant,
@@ -1,3 +1,4 @@
1
+ export declare const paddingVar: `var(--${string})`;
1
2
  export declare const card: import("@vanilla-extract/recipes").RuntimeFn<{
2
3
  variant: {
3
4
  contained: {};
@@ -26,6 +27,9 @@ export declare const card: import("@vanilla-extract/recipes").RuntimeFn<{
26
27
  };
27
28
  };
28
29
  color: {
30
+ transparent: {
31
+ backgroundColor: "transparent";
32
+ };
29
33
  red: string;
30
34
  orange: string;
31
35
  amber: string;
@@ -57,5 +61,32 @@ export declare const card: import("@vanilla-extract/recipes").RuntimeFn<{
57
61
  warning: string;
58
62
  success: string;
59
63
  };
64
+ size: {
65
+ sm: {
66
+ vars: {
67
+ [paddingVar]: "0.25em";
68
+ };
69
+ };
70
+ md: {
71
+ vars: {
72
+ [paddingVar]: "0.5em";
73
+ };
74
+ };
75
+ lg: {
76
+ vars: {
77
+ [paddingVar]: "0.75em";
78
+ };
79
+ };
80
+ xl: {
81
+ vars: {
82
+ [paddingVar]: "1em";
83
+ };
84
+ };
85
+ '2xl': {
86
+ vars: {
87
+ [paddingVar]: "1.5em";
88
+ };
89
+ };
90
+ };
60
91
  }>;
61
92
  //# sourceMappingURL=Card.css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Card.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.css.ts"],"names":[],"mappings":"AA2BA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiEf,CAAC"}
1
+ {"version":3,"file":"Card.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.css.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU,oBAAc,CAAC;AAsBtC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAsEP,CAAC,UAAU,CAAC,WAAY;;;;;gBAMxB,CAAC,UAAU,CAAC,UAAY;;;;;gBAMxB,CAAC,UAAU,CAAC,WAAY;;;;;gBAMxB,CAAC,UAAU,CAAC,QAAY;;;;;gBAMxB,CAAC,UAAU,CAAC,UAAgB;;;;EAKpC,CAAC"}
@@ -5,6 +5,7 @@ import './CardInteraction.css.ts.vanilla.css';
5
5
  import './Card.css.ts.vanilla.css';
6
6
  import { c as createRuntimeFn } from '../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js';
7
7
 
8
- var card = createRuntimeFn({defaultClassName:'Card__1foreksy Card_layeredBase__1foreksu',variantClassNames:{variant:{contained:'Card_styleWithLayer__1foreksv',outlined:'Card_styleWithLayer__1foreksw',glass:'Card_styleWithLayer__1foreksx'},color:{primary:'Card_styleWithLayer__1foreks0',secondary:'Card_styleWithLayer__1foreks1',muted:'Card_styleWithLayer__1foreks2',accent:'Card_styleWithLayer__1foreks3',card:'Card_styleWithLayer__1foreks4',danger:'Card_styleWithLayer__1foreks5',warning:'Card_styleWithLayer__1foreks6',success:'Card_styleWithLayer__1foreks7',red:'Card_styleWithLayer__1foreks8',orange:'Card_styleWithLayer__1foreks9',amber:'Card_styleWithLayer__1foreksa',yellow:'Card_styleWithLayer__1foreksb',lime:'Card_styleWithLayer__1foreksc',green:'Card_styleWithLayer__1foreksd',emerald:'Card_styleWithLayer__1forekse',teal:'Card_styleWithLayer__1foreksf',cyan:'Card_styleWithLayer__1foreksg',sky:'Card_styleWithLayer__1foreksh',blue:'Card_styleWithLayer__1foreksi',indigo:'Card_styleWithLayer__1foreksj',violet:'Card_styleWithLayer__1foreksk',purple:'Card_styleWithLayer__1foreksl',fuchsia:'Card_styleWithLayer__1foreksm',pink:'Card_styleWithLayer__1foreksn',rose:'Card_styleWithLayer__1forekso',slate:'Card_styleWithLayer__1foreksp',gray:'Card_styleWithLayer__1foreksq',zinc:'Card_styleWithLayer__1foreksr',neutral:'Card_styleWithLayer__1forekss',stone:'Card_styleWithLayer__1forekst'}},defaultVariants:{},compoundVariants:[]});
8
+ var card = createRuntimeFn({defaultClassName:'Card__1foreks15 Card_layeredBase__1foreksv',variantClassNames:{variant:{contained:'Card_styleWithLayer__1foreksw',outlined:'Card_styleWithLayer__1foreksx',glass:'Card_styleWithLayer__1foreksy'},color:{primary:'Card_styleWithLayer__1foreks1',secondary:'Card_styleWithLayer__1foreks2',muted:'Card_styleWithLayer__1foreks3',accent:'Card_styleWithLayer__1foreks4',card:'Card_styleWithLayer__1foreks5',danger:'Card_styleWithLayer__1foreks6',warning:'Card_styleWithLayer__1foreks7',success:'Card_styleWithLayer__1foreks8',red:'Card_styleWithLayer__1foreks9',orange:'Card_styleWithLayer__1foreksa',amber:'Card_styleWithLayer__1foreksb',yellow:'Card_styleWithLayer__1foreksc',lime:'Card_styleWithLayer__1foreksd',green:'Card_styleWithLayer__1forekse',emerald:'Card_styleWithLayer__1foreksf',teal:'Card_styleWithLayer__1foreksg',cyan:'Card_styleWithLayer__1foreksh',sky:'Card_styleWithLayer__1foreksi',blue:'Card_styleWithLayer__1foreksj',indigo:'Card_styleWithLayer__1foreksk',violet:'Card_styleWithLayer__1foreksl',purple:'Card_styleWithLayer__1foreksm',fuchsia:'Card_styleWithLayer__1foreksn',pink:'Card_styleWithLayer__1forekso',rose:'Card_styleWithLayer__1foreksp',slate:'Card_styleWithLayer__1foreksq',gray:'Card_styleWithLayer__1foreksr',zinc:'Card_styleWithLayer__1forekss',neutral:'Card_styleWithLayer__1forekst',stone:'Card_styleWithLayer__1foreksu',transparent:'Card_styleWithLayer__1foreksz'},size:{sm:'Card_styleWithLayer__1foreks10',md:'Card_styleWithLayer__1foreks11',lg:'Card_styleWithLayer__1foreks12',xl:'Card_styleWithLayer__1foreks13','2xl':'Card_styleWithLayer__1foreks14'}},defaultVariants:{},compoundVariants:[]});
9
+ var paddingVar = 'var(--paddingVar__1foreks0)';
9
10
 
10
- export { card };
11
+ export { card, paddingVar };
@@ -1,121 +1,120 @@
1
1
  @layer components;
2
2
  @layer components {
3
- .Card_styleWithLayer__1foreks0 {
3
+ .Card_styleWithLayer__1foreks1 {
4
4
  background-color: rgb(var(--color-primary__n6e2fs7));
5
5
  }
6
- .Card_styleWithLayer__1foreks1 {
6
+ .Card_styleWithLayer__1foreks2 {
7
7
  background-color: rgb(var(--color-secondary__n6e2fs9));
8
8
  }
9
- .Card_styleWithLayer__1foreks2 {
9
+ .Card_styleWithLayer__1foreks3 {
10
10
  background-color: rgb(var(--color-muted__n6e2fsb));
11
11
  }
12
- .Card_styleWithLayer__1foreks3 {
12
+ .Card_styleWithLayer__1foreks4 {
13
13
  background-color: rgb(var(--color-accent__n6e2fsd));
14
14
  }
15
- .Card_styleWithLayer__1foreks4 {
15
+ .Card_styleWithLayer__1foreks5 {
16
16
  background-color: rgb(var(--color-card__n6e2fsf));
17
17
  }
18
- .Card_styleWithLayer__1foreks5 {
18
+ .Card_styleWithLayer__1foreks6 {
19
19
  background-color: rgb(var(--color-danger__n6e2fsh));
20
20
  }
21
- .Card_styleWithLayer__1foreks6 {
21
+ .Card_styleWithLayer__1foreks7 {
22
22
  background-color: rgb(var(--color-warning__n6e2fsj));
23
23
  }
24
- .Card_styleWithLayer__1foreks7 {
24
+ .Card_styleWithLayer__1foreks8 {
25
25
  background-color: rgb(var(--color-success__n6e2fsl));
26
26
  }
27
- .Card_styleWithLayer__1foreks8 {
27
+ .Card_styleWithLayer__1foreks9 {
28
28
  background-color: color-mix(in srgb, rgb(var(--color-red-500__n6e2fss)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
29
29
  }
30
- .Card_styleWithLayer__1foreks9 {
30
+ .Card_styleWithLayer__1foreksa {
31
31
  background-color: color-mix(in srgb, rgb(var(--color-orange-500__n6e2fs13)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
32
32
  }
33
- .Card_styleWithLayer__1foreksa {
33
+ .Card_styleWithLayer__1foreksb {
34
34
  background-color: color-mix(in srgb, rgb(var(--color-amber-500__n6e2fs1e)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
35
35
  }
36
- .Card_styleWithLayer__1foreksb {
36
+ .Card_styleWithLayer__1foreksc {
37
37
  background-color: color-mix(in srgb, rgb(var(--color-yellow-500__n6e2fs1p)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
38
38
  }
39
- .Card_styleWithLayer__1foreksc {
39
+ .Card_styleWithLayer__1foreksd {
40
40
  background-color: color-mix(in srgb, rgb(var(--color-lime-500__n6e2fs20)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
41
41
  }
42
- .Card_styleWithLayer__1foreksd {
42
+ .Card_styleWithLayer__1forekse {
43
43
  background-color: color-mix(in srgb, rgb(var(--color-green-500__n6e2fs2b)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
44
44
  }
45
- .Card_styleWithLayer__1forekse {
45
+ .Card_styleWithLayer__1foreksf {
46
46
  background-color: color-mix(in srgb, rgb(var(--color-emerald-500__n6e2fs2m)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
47
47
  }
48
- .Card_styleWithLayer__1foreksf {
48
+ .Card_styleWithLayer__1foreksg {
49
49
  background-color: color-mix(in srgb, rgb(var(--color-teal-500__n6e2fs2x)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
50
50
  }
51
- .Card_styleWithLayer__1foreksg {
51
+ .Card_styleWithLayer__1foreksh {
52
52
  background-color: color-mix(in srgb, rgb(var(--color-cyan-500__n6e2fs38)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
53
53
  }
54
- .Card_styleWithLayer__1foreksh {
54
+ .Card_styleWithLayer__1foreksi {
55
55
  background-color: color-mix(in srgb, rgb(var(--color-sky-500__n6e2fs3j)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
56
56
  }
57
- .Card_styleWithLayer__1foreksi {
57
+ .Card_styleWithLayer__1foreksj {
58
58
  background-color: color-mix(in srgb, rgb(var(--color-blue-500__n6e2fs3u)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
59
59
  }
60
- .Card_styleWithLayer__1foreksj {
60
+ .Card_styleWithLayer__1foreksk {
61
61
  background-color: color-mix(in srgb, rgb(var(--color-indigo-500__n6e2fs45)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
62
62
  }
63
- .Card_styleWithLayer__1foreksk {
63
+ .Card_styleWithLayer__1foreksl {
64
64
  background-color: color-mix(in srgb, rgb(var(--color-violet-500__n6e2fs4g)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
65
65
  }
66
- .Card_styleWithLayer__1foreksl {
66
+ .Card_styleWithLayer__1foreksm {
67
67
  background-color: color-mix(in srgb, rgb(var(--color-purple-500__n6e2fs4r)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
68
68
  }
69
- .Card_styleWithLayer__1foreksm {
69
+ .Card_styleWithLayer__1foreksn {
70
70
  background-color: color-mix(in srgb, rgb(var(--color-fuchsia-500__n6e2fs52)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
71
71
  }
72
- .Card_styleWithLayer__1foreksn {
72
+ .Card_styleWithLayer__1forekso {
73
73
  background-color: color-mix(in srgb, rgb(var(--color-pink-500__n6e2fs5d)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
74
74
  }
75
- .Card_styleWithLayer__1forekso {
75
+ .Card_styleWithLayer__1foreksp {
76
76
  background-color: color-mix(in srgb, rgb(var(--color-rose-500__n6e2fs5o)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
77
77
  }
78
- .Card_styleWithLayer__1foreksp {
78
+ .Card_styleWithLayer__1foreksq {
79
79
  background-color: color-mix(in srgb, rgb(var(--color-slate-500__n6e2fs5z)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
80
80
  }
81
- .Card_styleWithLayer__1foreksq {
81
+ .Card_styleWithLayer__1foreksr {
82
82
  background-color: color-mix(in srgb, rgb(var(--color-gray-500__n6e2fs6a)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
83
83
  }
84
- .Card_styleWithLayer__1foreksr {
84
+ .Card_styleWithLayer__1forekss {
85
85
  background-color: color-mix(in srgb, rgb(var(--color-zinc-500__n6e2fs6l)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
86
86
  }
87
- .Card_styleWithLayer__1forekss {
87
+ .Card_styleWithLayer__1forekst {
88
88
  background-color: color-mix(in srgb, rgb(var(--color-neutral-500__n6e2fs6w)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
89
89
  }
90
- .Card_styleWithLayer__1forekst {
90
+ .Card_styleWithLayer__1foreksu {
91
91
  background-color: color-mix(in srgb, rgb(var(--color-stone-500__n6e2fs77)) 20%, rgb(var(--color-background__n6e2fs1)) 80%);
92
92
  }
93
- .Card_layeredBase__1foreksu {
93
+ .Card_layeredBase__1foreksv {
94
94
  display: flex;
95
95
  flex-direction: column;
96
- overflow: hidden;
97
96
  position: relative;
98
97
  border-radius: var(--borderRadius__n6e2fs0);
99
98
  color: rgb(var(--color-foreground__n6e2fs2));
100
99
  transition: border-color 0.2s ease, transform 0.4s ease;
101
100
  }
102
- .Card_layeredBase__1foreksu:has(.CardInteraction_styleWithLayer__3n4sac0:hover) {
101
+ .Card_layeredBase__1foreksv:has(.CardInteraction_styleWithLayer__3n4sac0:hover) {
103
102
  border-color: color-mix(in srgb, rgb(var(--color-primary__n6e2fs7)) 10%, rgb(var(--color-border__n6e2fs3)) 90%);
104
103
  }
105
- .Card_layeredBase__1foreksu:has(.CardInteraction_styleWithLayer__3n4sac0:active) {
104
+ .Card_layeredBase__1foreksv:has(.CardInteraction_styleWithLayer__3n4sac0:active) {
106
105
  border-color: color-mix(in srgb, rgb(var(--color-primary__n6e2fs7)) 40%, rgb(var(--color-border__n6e2fs3)) 60%);
107
106
  }
108
- .Card_styleWithLayer__1foreksw {
107
+ .Card_styleWithLayer__1foreksx {
109
108
  border: 1px solid;
110
109
  border-color: rgb(var(--color-border__n6e2fs3));
111
110
  }
112
- .Card_styleWithLayer__1foreksx {
111
+ .Card_styleWithLayer__1foreksy {
113
112
  border: 1px solid rgb(var(--color-border\.weak__n6e2fs4));
114
113
  border-radius: 0.75rem;
115
114
  background: linear-gradient(rgba(var(--color-card\.gradient__n6e2fs5), 0.06) 0%, rgba(var(--color-card\.gradient__n6e2fs5), 0.02) 100%);
116
115
  backdrop-filter: blur(1rem);
117
116
  }
118
- .Card_styleWithLayer__1foreksx::before {
117
+ .Card_styleWithLayer__1foreksy::before {
119
118
  content: "";
120
119
  position: absolute;
121
120
  inset: 0;
@@ -123,7 +122,25 @@
123
122
  opacity: 0;
124
123
  transition: opacity 0.3s ease;
125
124
  }
126
- .Card_styleWithLayer__1foreksx:hover::before {
125
+ .Card_styleWithLayer__1foreksy:hover::before {
127
126
  opacity: 1;
128
127
  }
128
+ .Card_styleWithLayer__1foreksz {
129
+ background-color: transparent;
130
+ }
131
+ .Card_styleWithLayer__1foreks10 {
132
+ --paddingVar__1foreks0: 0.25em;
133
+ }
134
+ .Card_styleWithLayer__1foreks11 {
135
+ --paddingVar__1foreks0: 0.5em;
136
+ }
137
+ .Card_styleWithLayer__1foreks12 {
138
+ --paddingVar__1foreks0: 0.75em;
139
+ }
140
+ .Card_styleWithLayer__1foreks13 {
141
+ --paddingVar__1foreks0: 1em;
142
+ }
143
+ .Card_styleWithLayer__1foreks14 {
144
+ --paddingVar__1foreks0: 1.5em;
145
+ }
129
146
  }
@@ -1,5 +1,5 @@
1
1
  import { type CSSProperties } from 'react';
2
- import type { UIComponent } from '../../types';
2
+ import type { UIComponent } from '#types';
3
3
  import * as s from './Card.css';
4
4
  interface CardProps extends UIComponent<'div', typeof s.card> {
5
5
  width?: CSSProperties['width'];
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAKvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,OAAO,KAAK,CAAC,MAAM,YAAY,CAAC;AAEhC,UAAU,SAAU,SAAQ,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC;IAC3D,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,IAAI,mHAuBhB,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAKvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,KAAK,CAAC,MAAM,YAAY,CAAC;AAEhC,UAAU,SAAU,SAAQ,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC;IAC3D,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,IAAI,mHA4BhB,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,OAAO,EAAE,CAAC"}
@@ -6,8 +6,8 @@ import * as Card_css from './Card.css.js';
6
6
  export { Card_css as cardCss };
7
7
  import { sx } from '../../styles/sx.js';
8
8
 
9
- const Card = forwardRef(({ width, height, color = 'card', variant = 'outlined', className, style, sx: propSx, ...props }, ref) => {
10
- return (jsx("div", { ref: ref, className: clsx(card({ color, variant }), className, sx(propSx)), style: { width, height, ...style }, ...props }));
9
+ const Card = forwardRef(({ width, height, color = 'card', variant = 'outlined', size = 'md', className, style, sx: propSx, ...props }, ref) => {
10
+ return (jsx("div", { ref: ref, className: clsx(card({ color, size, variant }), className, sx(propSx)), style: { width, height, ...style }, ...props }));
11
11
  });
12
12
  Card.displayName = 'Card';
13
13
 
@@ -1 +1 @@
1
- {"version":3,"file":"CardContent.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,QAItB,CAAC"}
1
+ {"version":3,"file":"CardContent.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,QAItB,CAAC"}
@@ -1,6 +1,8 @@
1
1
  import './../../styles/layers.css.ts.vanilla.css';
2
2
  import './../../styles/sprinkles.css.ts.vanilla.css';
3
3
  import './../../styles/globalStyle.css.ts.vanilla.css';
4
+ import './CardInteraction.css.ts.vanilla.css';
5
+ import './Card.css.ts.vanilla.css';
4
6
  import './CardContent.css.ts.vanilla.css';
5
7
 
6
8
  var cardContent = 'CardContent_styleWithLayer__1nhygmc0';
@@ -2,6 +2,6 @@
2
2
  @layer components {
3
3
  .CardContent_styleWithLayer__1nhygmc0 {
4
4
  flex: 1 1 auto;
5
- padding: 0.5em;
5
+ padding: var(--paddingVar__1foreks0);
6
6
  }
7
7
  }
@@ -1,4 +1,4 @@
1
- import type { UIComponent } from '../../types';
1
+ import type { UIComponent } from '#types';
2
2
  type CardContentProps = UIComponent<'div'>;
3
3
  export declare const CardContent: import("react").ForwardRefExoticComponent<Omit<CardContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
4
4
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,KAAK,gBAAgB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,eAAO,MAAM,WAAW,0HAUvB,CAAC"}
1
+ {"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,KAAK,gBAAgB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,eAAO,MAAM,WAAW,0HAUvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const cardHeader: string;
2
+ //# sourceMappingURL=CardHeader.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardHeader.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardHeader.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,QAGrB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import './../../styles/layers.css.ts.vanilla.css';
2
+ import './../../styles/sprinkles.css.ts.vanilla.css';
3
+ import './../../styles/globalStyle.css.ts.vanilla.css';
4
+ import './CardInteraction.css.ts.vanilla.css';
5
+ import './Card.css.ts.vanilla.css';
6
+ import './CardHeader.css.ts.vanilla.css';
7
+
8
+ var cardHeader = 'CardHeader_styleWithLayer__1mpqtlh0';
9
+
10
+ export { cardHeader };
@@ -0,0 +1,7 @@
1
+ @layer components;
2
+ @layer components {
3
+ .CardHeader_styleWithLayer__1mpqtlh0 {
4
+ padding: var(--paddingVar__1foreks0);
5
+ padding-bottom: 0;
6
+ }
7
+ }
@@ -0,0 +1,5 @@
1
+ import type { UIComponent } from '#types';
2
+ type CardHeaderProps = UIComponent<'div'>;
3
+ export declare const CardHeader: import("react").ForwardRefExoticComponent<Omit<CardHeaderProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ export {};
5
+ //# sourceMappingURL=CardHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardHeader.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,KAAK,eAAe,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE1C,eAAO,MAAM,UAAU,yHAUtB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { forwardRef } from 'react';
3
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
+ import { cardHeader } from './CardHeader.css.js';
5
+ import { sx } from '../../styles/sx.js';
6
+
7
+ const CardHeader = forwardRef(({ className, sx: propSx, ...props }, ref) => {
8
+ return (jsx("div", { ref: ref, className: clsx(cardHeader, className, sx(propSx)), ...props }));
9
+ });
10
+ CardHeader.displayName = 'CardHeader';
11
+
12
+ export { CardHeader };
@@ -1,4 +1,4 @@
1
- import type { UIComponent } from '../../types';
1
+ import type { UIComponent } from '#types';
2
2
  type CardInteractionProps = UIComponent<'div'>;
3
3
  export declare const CardInteraction: import("react").ForwardRefExoticComponent<Omit<CardInteractionProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
4
4
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"CardInteraction.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardInteraction.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,KAAK,oBAAoB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE/C,eAAO,MAAM,eAAe,8HAoB3B,CAAC"}
1
+ {"version":3,"file":"CardInteraction.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardInteraction.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,KAAK,oBAAoB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE/C,eAAO,MAAM,eAAe,8HAoB3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CardThumbnail.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardThumbnail.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,QAGpB,CAAC"}
1
+ {"version":3,"file":"CardThumbnail.css.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardThumbnail.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,QAEpB,CAAC"}
@@ -1,7 +1,6 @@
1
1
  @layer components;
2
2
  @layer components {
3
3
  .CardThumbnail_styleWithLayer__1c08tgo0 {
4
- width: auto;
5
- max-width: 100%;
4
+ width: 100%;
6
5
  }
7
6
  }
@@ -1,4 +1,4 @@
1
- import type { UIComponent } from '../../types';
1
+ import type { UIComponent } from '#types';
2
2
  type CardThumbnailProps = UIComponent<'img'>;
3
3
  export declare const CardThumbnail: import("react").ForwardRefExoticComponent<Omit<CardThumbnailProps, "ref"> & import("react").RefAttributes<HTMLImageElement>>;
4
4
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"CardThumbnail.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardThumbnail.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,KAAK,kBAAkB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE7C,eAAO,MAAM,aAAa,8HAUzB,CAAC"}
1
+ {"version":3,"file":"CardThumbnail.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardThumbnail.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,KAAK,kBAAkB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;AAE7C,eAAO,MAAM,aAAa,8HAUzB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export * from './Card';
2
2
  export * from './CardContent';
3
+ export * from './CardHeader';
3
4
  export * from './CardInteraction';
4
5
  export * from './CardThumbnail';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { UIComponent } from '../../types';
1
+ import type { UIComponent } from '#types';
2
2
  import * as s from './Chip.css';
3
3
  type ChipProps = UIComponent<'div', typeof s.chip>;
4
4
  export declare const Chip: import("react").ForwardRefExoticComponent<Omit<ChipProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,OAAO,KAAK,CAAC,MAAM,YAAY,CAAC;AAEhC,KAAK,SAAS,GAAG,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAEnD,eAAO,MAAM,IAAI,mHAsBhB,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,KAAK,CAAC,MAAM,YAAY,CAAC;AAEhC,KAAK,SAAS,GAAG,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAEnD,eAAO,MAAM,IAAI,mHAsBhB,CAAC;AAGF,OAAO,EAAE,CAAC,IAAI,OAAO,EAAE,CAAC"}
@@ -14,7 +14,7 @@ const Confirm = ({ children, ref, onConfirm, onCancle, }) => {
14
14
  useImperativeHandle(ref, () => ({
15
15
  close,
16
16
  }));
17
- return (jsxs(Dialog, { children: [jsx(DialogContent, { children: children }), jsx(DialogFooter, { children: jsxs(Box, { flex: true, gap: "md", children: [jsx(Button, { size: "sm", onClick: onConfirm, children: "\uD655\uC778" }), jsx(Button, { color: "secondary", size: "sm", onClick: onCancle, children: "\uCDE8\uC18C" })] }) })] }));
17
+ return (jsxs(Dialog, { children: [jsx(DialogContent, { children: children }), jsx(DialogFooter, { children: jsxs(Box, { gap: "md", flex: true, children: [jsx(Button, { size: "sm", onClick: onConfirm, children: "\uD655\uC778" }), jsx(Button, { color: "secondary", size: "sm", onClick: onCancle, children: "\uCDE8\uC18C" })] }) })] }));
18
18
  };
19
19
 
20
20
  export { Confirm };
@@ -0,0 +1,4 @@
1
+ export declare const container: import("@vanilla-extract/recipes").RuntimeFn<{
2
+ size: Record<"sm" | "md" | "lg", string>;
3
+ }>;
4
+ //# sourceMappingURL=Container.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Container.css.d.ts","sourceRoot":"","sources":["../../../src/components/Container/Container.css.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,SAAS;;EASpB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import './../../styles/layers.css.ts.vanilla.css';
2
+ import './../../styles/sprinkles.css.ts.vanilla.css';
3
+ import './../../styles/globalStyle.css.ts.vanilla.css';
4
+ import './Container.css.ts.vanilla.css';
5
+ import { c as createRuntimeFn } from '../../node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js';
6
+
7
+ var container = createRuntimeFn({defaultClassName:'Container__1ku3u154 Container_layeredBase__1ku3u153',variantClassNames:{size:{sm:'Container_styleWithLayer__1ku3u150',md:'Container_styleWithLayer__1ku3u151',lg:'Container_styleWithLayer__1ku3u152'}},defaultVariants:{},compoundVariants:[]});
8
+
9
+ export { container };
@@ -0,0 +1,16 @@
1
+ @layer components;
2
+ @layer components {
3
+ .Container_styleWithLayer__1ku3u150 {
4
+ max-width: 768px;
5
+ }
6
+ .Container_styleWithLayer__1ku3u151 {
7
+ max-width: 1024px;
8
+ }
9
+ .Container_styleWithLayer__1ku3u152 {
10
+ max-width: 1440px;
11
+ }
12
+ .Container_layeredBase__1ku3u153 {
13
+ margin-inline: auto;
14
+ width: 100%;
15
+ }
16
+ }
@@ -0,0 +1,7 @@
1
+ import { type SprinklesProps } from '#styles';
2
+ import type { UIComponent } from '#types';
3
+ import * as s from './Container.css';
4
+ type ContainerProps = UIComponent<'div', typeof s.container> & SprinklesProps;
5
+ export declare const Container: import("react").ForwardRefExoticComponent<Omit<ContainerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Container/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAG1C,OAAO,KAAK,CAAC,MAAM,iBAAiB,CAAC;AAErC,KAAK,cAAc,GAAG,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,GAAG,cAAc,CAAC;AAE9E,eAAO,MAAM,SAAS,wHAiBrB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { forwardRef } from 'react';
3
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
+ import { container } from './Container.css.js';
5
+ import { omitSprinkles, filterSprinkles } from '../../utils/sprinklesUtils.js';
6
+ import { sprinkles } from '../../styles/sprinkles.css.js';
7
+ import { sx } from '../../styles/sx.js';
8
+
9
+ const Container = forwardRef(({ children, className, size, sx: propSx, ...props }, ref) => {
10
+ return (jsx("div", { ref: ref, className: clsx(className, container({ size }), sx(propSx), sprinkles(filterSprinkles(props))), ...omitSprinkles(props), children: children }));
11
+ });
12
+ Container.displayName = 'Container';
13
+
14
+ export { Container };
@@ -1,4 +1,4 @@
1
- import type { UIComponent } from '../../types';
1
+ import type { UIComponent } from '#types';
2
2
  type DialogProps = Omit<UIComponent<'div'>, 'color'>;
3
3
  export declare const Dialog: import("react").ForwardRefExoticComponent<Omit<DialogProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
4
4
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,KAAK,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC;AAErD,eAAO,MAAM,MAAM,qHAgBlB,CAAC"}
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,KAAK,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC;AAErD,eAAO,MAAM,MAAM,qHAgBlB,CAAC"}