@kimdw-rtk/ui 0.0.7 → 0.0.9

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 (190) hide show
  1. package/dist/_virtual/cjs.js +5 -0
  2. package/dist/_virtual/cssesc.js +5 -0
  3. package/dist/_virtual/jsx-runtime.js +5 -0
  4. package/dist/_virtual/jsx-runtime2.js +3 -0
  5. package/dist/_virtual/picocolors.js +5 -0
  6. package/dist/_virtual/picocolors2.js +3 -0
  7. package/dist/_virtual/react-jsx-runtime.development.js +3 -0
  8. package/dist/_virtual/react-jsx-runtime.production.min.js +3 -0
  9. package/dist/components/Accordion/Accordion.css.js +8 -5
  10. package/dist/components/Accordion/Accordion.js +13 -8
  11. package/dist/components/Accordion/AccordionContent.css.js +7 -4
  12. package/dist/components/Accordion/AccordionContent.js +18 -16
  13. package/dist/components/Accordion/AccordionContext.js +5 -2
  14. package/dist/components/Accordion/AccordionTrigger.css.js +7 -4
  15. package/dist/components/Accordion/AccordionTrigger.js +9 -7
  16. package/dist/components/Alert/index.js +49 -5
  17. package/dist/components/Box/Box.css.js +6 -3
  18. package/dist/components/Box/index.js +13 -7
  19. package/dist/components/Button/Button.css.js +11 -8
  20. package/dist/components/Button/index.js +57 -11
  21. package/dist/components/Card/Card.css.js +9 -6
  22. package/dist/components/Card/Card.js +14 -7
  23. package/dist/components/Card/CardContent.css.js +6 -3
  24. package/dist/components/Card/CardContent.js +12 -6
  25. package/dist/components/Card/CardInteraction.css.js +5 -2
  26. package/dist/components/Card/CardInteraction.js +53 -8
  27. package/dist/components/Card/CardThumbnail.css.js +5 -2
  28. package/dist/components/Card/CardThumbnail.js +12 -6
  29. package/dist/components/Chip/Chip.css.js +9 -6
  30. package/dist/components/Chip/Chip.js +14 -7
  31. package/dist/components/Confirm/index.js +48 -5
  32. package/dist/components/Dialog/Dialog.css.js +7 -4
  33. package/dist/components/Dialog/Dialog.js +51 -7
  34. package/dist/components/Dialog/DialogContent.css.js +8 -5
  35. package/dist/components/Dialog/DialogContent.js +51 -7
  36. package/dist/components/Dialog/DialogFooter.js +50 -6
  37. package/dist/components/Dialog/DialogHeader.css.js +7 -4
  38. package/dist/components/Dialog/DialogHeader.js +52 -8
  39. package/dist/components/Navigation/NavigationAside.css.js +5 -2
  40. package/dist/components/Navigation/NavigationAside.js +12 -7
  41. package/dist/components/Navigation/NavigationBar.css.js +8 -5
  42. package/dist/components/Navigation/NavigationBar.js +14 -7
  43. package/dist/components/Navigation/NavigationContainer.css.js +5 -2
  44. package/dist/components/Navigation/NavigationContainer.js +12 -6
  45. package/dist/components/Navigation/NavigationDrawer.css.js +9 -6
  46. package/dist/components/Navigation/NavigationDrawer.js +52 -8
  47. package/dist/components/Navigation/NavigationItem.css.js +9 -5
  48. package/dist/components/Navigation/NavigationItem.js +12 -6
  49. package/dist/components/Navigation/NavigationLogo.css.js +5 -2
  50. package/dist/components/Navigation/NavigationLogo.js +12 -6
  51. package/dist/components/Navigation/NavigationMenu.css.js +8 -5
  52. package/dist/components/Navigation/NavigationMenu.js +14 -7
  53. package/dist/components/Range/Range.css.js +12 -9
  54. package/dist/components/Range/Range.js +17 -11
  55. package/dist/components/ScrollArea/ScrollArea.css.js +10 -7
  56. package/dist/components/ScrollArea/ScrollArea.js +16 -10
  57. package/dist/components/Select/Select.css.js +6 -3
  58. package/dist/components/Select/Select.js +18 -12
  59. package/dist/components/Select/SelectContext.js +5 -2
  60. package/dist/components/Select/SelectOption.css.js +6 -3
  61. package/dist/components/Select/SelectOption.js +8 -6
  62. package/dist/components/Select/SelectOptionList.css.js +7 -4
  63. package/dist/components/Select/SelectOptionList.js +12 -8
  64. package/dist/components/Select/SelectTrigger.css.js +9 -6
  65. package/dist/components/Select/SelectTrigger.js +14 -9
  66. package/dist/components/Skeleton/Skeleton.css.js +7 -4
  67. package/dist/components/Skeleton/index.js +12 -6
  68. package/dist/components/Table/Table.css.js +6 -3
  69. package/dist/components/Table/Table.js +14 -7
  70. package/dist/components/Table/TableBody.js +11 -5
  71. package/dist/components/Table/TableCell.css.js +8 -5
  72. package/dist/components/Table/TableCell.js +13 -7
  73. package/dist/components/Table/TableHead.css.js +6 -3
  74. package/dist/components/Table/TableHead.js +13 -7
  75. package/dist/components/Table/TableHeader.js +11 -5
  76. package/dist/components/Table/TableRow.css.js +5 -2
  77. package/dist/components/Table/TableRow.js +12 -6
  78. package/dist/components/Tabs/Tabs.js +12 -7
  79. package/dist/components/Tabs/TabsContent.js +12 -7
  80. package/dist/components/Tabs/TabsList.css.js +6 -3
  81. package/dist/components/Tabs/TabsList.js +12 -6
  82. package/dist/components/Tabs/TabsProvider.js +5 -3
  83. package/dist/components/Tabs/TabsTrigger.css.js +6 -3
  84. package/dist/components/Tabs/TabsTrigger.js +13 -8
  85. package/dist/components/TextField/TextField.css.js +9 -6
  86. package/dist/components/TextField/index.js +14 -7
  87. package/dist/components/Toast/Toast.css.js +9 -6
  88. package/dist/components/Toast/index.js +54 -9
  89. package/dist/components/Typography/Typography.css.js +5 -2
  90. package/dist/components/Typography/index.js +13 -8
  91. package/dist/contexts/UIProvider.js +52 -6
  92. package/dist/hooks/useDialog/index.js +52 -7
  93. package/dist/hooks/useMouseScroll/index.js +4 -2
  94. package/dist/hooks/usePointerSlider/index.js +5 -3
  95. package/dist/hooks/useRipple/index.js +24 -22
  96. package/dist/hooks/useRipple/ripple.css.js +8 -5
  97. package/dist/hooks/useToast/ToastContainer.css.js +5 -2
  98. package/dist/hooks/useToast/ToastContainer.js +7 -4
  99. package/dist/hooks/useToast/ToastProvider.js +53 -10
  100. package/dist/hooks/useToast/index.js +5 -2
  101. package/dist/index.js +79 -8
  102. package/dist/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js +55 -0
  103. package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/adapter/dist/vanilla-extract-css-adapter.esm.js +51 -0
  104. package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/dist/taggedTemplateLiteral-10998315.esm.js +12 -0
  105. package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/dist/transformCss-0dba36bf.esm.js +955 -0
  106. package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.esm.js +390 -0
  107. package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/fileScope/dist/vanilla-extract-css-fileScope.esm.js +20 -0
  108. package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/functionSerializer/dist/vanilla-extract-css-functionSerializer.esm.js +11 -0
  109. package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/injectStyles/dist/vanilla-extract-css-injectStyles.esm.js +22 -0
  110. package/dist/node_modules/.pnpm/@vanilla-extract_private@1.0.9/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.esm.js +37 -0
  111. package/dist/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 +111 -0
  112. package/dist/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/vanilla-extract-recipes.esm.js +43 -0
  113. package/dist/node_modules/.pnpm/@vanilla-extract_sprinkles@1.6.5_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/sprinkles/dist/createSprinkles-74286718.esm.js +190 -0
  114. package/dist/node_modules/.pnpm/@vanilla-extract_sprinkles@1.6.5_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/sprinkles/dist/vanilla-extract-sprinkles.esm.js +146 -0
  115. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +3 -0
  116. package/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/es/parse.js +423 -0
  117. package/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/es/types.js +28 -0
  118. package/dist/node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js +119 -0
  119. package/dist/node_modules/.pnpm/dedent@1.6.0_babel-plugin-macros@3.1.0/node_modules/dedent/dist/dedent.js +68 -0
  120. package/dist/node_modules/.pnpm/deep-object-diff@1.1.9/node_modules/deep-object-diff/mjs/diff.js +39 -0
  121. package/dist/node_modules/.pnpm/deep-object-diff@1.1.9/node_modules/deep-object-diff/mjs/utils.js +8 -0
  122. package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js +142 -0
  123. package/dist/node_modules/.pnpm/lru-cache@10.4.3/node_modules/lru-cache/dist/esm/index.js +1542 -0
  124. package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js +45 -0
  125. package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js +30 -0
  126. package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js +20 -0
  127. package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/align-justify.js +18 -0
  128. package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/chevron-down.js +14 -0
  129. package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/x.js +17 -0
  130. package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js +28 -0
  131. package/dist/node_modules/.pnpm/media-query-parser@2.0.2/node_modules/media-query-parser/dist/media-query-parser.esm.js +1385 -0
  132. package/dist/node_modules/.pnpm/modern-ahocorasick@1.1.0/node_modules/modern-ahocorasick/dist/index.js +101 -0
  133. package/dist/node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js +86 -0
  134. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js +1325 -0
  135. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +24 -0
  136. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js +19 -0
  137. package/dist/styles/globalStyle.css.js +5 -2
  138. package/dist/styles/layers.css.js +6 -3
  139. package/dist/styles/overlay.css.js +7 -4
  140. package/dist/styles/sprinkles.css.js +16 -9
  141. package/dist/styles/sx.js +7 -2
  142. package/dist/themes/darkTheme.css.js +5 -2
  143. package/dist/themes/lightTheme.css.js +5 -2
  144. package/dist/themes/theme.css.js +7 -4
  145. package/dist/tokens/scale/color.js +5 -3
  146. package/dist/tokens/semantic/breakpoint.js +4 -6
  147. package/dist/tokens/semantic/color.js +3 -1
  148. package/dist/tokens/semantic/spacing.js +3 -1
  149. package/dist/tokens/semantic/typography.js +3 -1
  150. package/dist/utils/sprinklesUtils.js +8 -3
  151. package/dist/utils/styleUtils.css.js +10 -5
  152. package/package.json +10 -5
  153. package/dist/components/Accordion/Accordion.spec.js +0 -5
  154. package/dist/components/Accordion/index.js +0 -3
  155. package/dist/components/Box/Box.spec.js +0 -5
  156. package/dist/components/Button/Button.spec.js +0 -19
  157. package/dist/components/Card/Card.spec.js +0 -16
  158. package/dist/components/Card/index.js +0 -4
  159. package/dist/components/Chip/Chip.spec.js +0 -5
  160. package/dist/components/Chip/index.js +0 -1
  161. package/dist/components/Dialog/Dialog.spec.js +0 -16
  162. package/dist/components/Dialog/DialogFooter.css.js +0 -15
  163. package/dist/components/Dialog/index.js +0 -4
  164. package/dist/components/Navigation/Navigation.spec.js +0 -11
  165. package/dist/components/Navigation/index.js +0 -7
  166. package/dist/components/Range/Range.spec.js +0 -5
  167. package/dist/components/Range/index.js +0 -1
  168. package/dist/components/ScrollArea/ScrollArea.spec.js +0 -5
  169. package/dist/components/ScrollArea/index.js +0 -1
  170. package/dist/components/Select/Select.spec.js +0 -35
  171. package/dist/components/Select/index.js +0 -2
  172. package/dist/components/Skeleton/Skeleton.spec.js +0 -5
  173. package/dist/components/Table/Table.spec.js +0 -10
  174. package/dist/components/Table/index.js +0 -6
  175. package/dist/components/Tabs/Tabs.spec.js +0 -22
  176. package/dist/components/Tabs/index.js +0 -4
  177. package/dist/components/TextField/TextField.spec.js +0 -5
  178. package/dist/components/Toast/Toast.spec.js +0 -5
  179. package/dist/components/Typography/Typography.spec.js +0 -28
  180. package/dist/components/index.js +0 -18
  181. package/dist/contexts/index.js +0 -1
  182. package/dist/hooks/index.js +0 -5
  183. package/dist/hooks/useDialog/useDialog.spec.js +0 -53
  184. package/dist/styles/index.js +0 -4
  185. package/dist/tests/uiTest.js +0 -36
  186. package/dist/themes/index.js +0 -3
  187. package/dist/tokens/index.js +0 -5
  188. package/dist/types/index.js +0 -1
  189. package/dist/types/ui.types.js +0 -1
  190. package/dist/utils/index.js +0 -1
@@ -1,12 +1,13 @@
1
- import { style } from '@vanilla-extract/css';
2
- import { recipe } from '@vanilla-extract/recipes';
3
- import { theme } from '#themes';
4
- export const children = style({
1
+ import { style } from '../../node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.esm.js';
2
+ import { recipe } 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/vanilla-extract-recipes.esm.js';
3
+ import { theme } from '../../themes/theme.css.js';
4
+
5
+ const children = style({
5
6
  overflow: 'hidden',
6
7
  textOverflow: 'ellipsis',
7
8
  whiteSpace: 'nowrap',
8
9
  });
9
- export const icon = recipe({
10
+ const icon = recipe({
10
11
  base: {
11
12
  flexShrink: '0',
12
13
  lineHeight: '0',
@@ -24,7 +25,7 @@ export const icon = recipe({
24
25
  },
25
26
  },
26
27
  });
27
- export const selectTrigger = recipe({
28
+ const selectTrigger = recipe({
28
29
  base: {
29
30
  display: 'flex',
30
31
  alignItems: 'center',
@@ -57,3 +58,5 @@ export const selectTrigger = recipe({
57
58
  },
58
59
  },
59
60
  });
61
+
62
+ export { children, icon, selectTrigger };
@@ -1,11 +1,15 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
2
2
  import { useContext } from 'react';
3
- import clsx from 'clsx';
4
- import { ChevronDownIcon } from 'lucide-react';
5
- import { sx } from '#styles';
6
- import { SelectContext } from './SelectContext';
7
- import * as s from './SelectTrigger.css';
8
- const SelectTrigger = ({ children, className, variant, sx: propSx, }) => {
3
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
+ import '../../styles/layers.css.js';
5
+ import '../../styles/sprinkles.css.js';
6
+ import '../../styles/globalStyle.css.js';
7
+ import { sx } from '../../styles/sx.js';
8
+ import { SelectContext } from './SelectContext.js';
9
+ import { children, icon, selectTrigger } from './SelectTrigger.css.js';
10
+ import ChevronDown from '../../node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/chevron-down.js';
11
+
12
+ const SelectTrigger = ({ children: children$1, className, variant, sx: propSx, }) => {
9
13
  const selectContext = useContext(SelectContext);
10
14
  if (!selectContext) {
11
15
  throw new Error('SelectTrigger must be rendered within a Select.');
@@ -14,6 +18,7 @@ const SelectTrigger = ({ children, className, variant, sx: propSx, }) => {
14
18
  const handleClick = () => {
15
19
  dispatch({ type: 'TOGGLE' });
16
20
  };
17
- return (_jsxs("div", { className: clsx(s.selectTrigger({ isActive: state.isActive, variant }), className, sx(propSx)), onClick: handleClick, children: [_jsx("span", { className: s.children, children: children }), _jsx("span", { className: s.icon({ isActive: state.isActive }), children: _jsx(ChevronDownIcon, { size: "1em", strokeWidth: "2px" }) })] }));
21
+ return (jsxRuntimeExports.jsxs("div", { className: clsx(selectTrigger({ isActive: state.isActive, variant }), className, sx(propSx)), onClick: handleClick, children: [jsxRuntimeExports.jsx("span", { className: children, children: children$1 }), jsxRuntimeExports.jsx("span", { className: icon({ isActive: state.isActive }), children: jsxRuntimeExports.jsx(ChevronDown, { size: "1em", strokeWidth: "2px" }) })] }));
18
22
  };
19
- export default SelectTrigger;
23
+
24
+ export { SelectTrigger as default };
@@ -1,6 +1,7 @@
1
- import { keyframes } from '@vanilla-extract/css';
2
- import { styleWithLayer } from '#styleUtils';
3
- import { theme } from '#themes';
1
+ import { keyframes } from '../../node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.esm.js';
2
+ import { styleWithLayer } from '../../utils/styleUtils.css.js';
3
+ import { theme } from '../../themes/theme.css.js';
4
+
4
5
  const shimmer = keyframes({
5
6
  '0%': {
6
7
  backgroundPosition: '-300% 0',
@@ -9,7 +10,7 @@ const shimmer = keyframes({
9
10
  backgroundPosition: '300% 0',
10
11
  },
11
12
  });
12
- export const skeleton = styleWithLayer({
13
+ const skeleton = styleWithLayer({
13
14
  display: 'block',
14
15
  maxWidth: '100%',
15
16
  borderRadius: theme.borderRadius,
@@ -17,3 +18,5 @@ export const skeleton = styleWithLayer({
17
18
  backgroundSize: '300% 100%',
18
19
  animation: `${shimmer} 5s linear 0s infinite`,
19
20
  });
21
+
22
+ export { skeleton };
@@ -1,9 +1,15 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
2
2
  import { forwardRef } from 'react';
3
- import { clsx } from 'clsx';
4
- import { sx } from '#styles';
5
- import * as s from './Skeleton.css';
6
- export const Skeleton = forwardRef(({ className, width, height, style, sx: propSx, ...props }, ref) => {
7
- return (_jsx("div", { ref: ref, className: clsx(s.skeleton, className, sx(propSx)), style: { ...style, width, height }, ...props }));
3
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
+ import '../../styles/layers.css.js';
5
+ import '../../styles/sprinkles.css.js';
6
+ import '../../styles/globalStyle.css.js';
7
+ import { sx } from '../../styles/sx.js';
8
+ import { skeleton } from './Skeleton.css.js';
9
+
10
+ const Skeleton = forwardRef(({ className, width, height, style, sx: propSx, ...props }, ref) => {
11
+ return (jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(skeleton, className, sx(propSx)), style: { ...style, width, height }, ...props }));
8
12
  });
9
13
  Skeleton.displayName = 'Skeleton';
14
+
15
+ export { Skeleton };
@@ -1,7 +1,10 @@
1
- import { styleWithLayer } from '#styleUtils';
2
- export const table = styleWithLayer({
1
+ import { styleWithLayer } from '../../utils/styleUtils.css.js';
2
+
3
+ const table = styleWithLayer({
3
4
  width: '100%',
4
5
  tableLayout: 'fixed',
5
6
  borderSpacing: '0',
6
7
  });
7
- export const striped = styleWithLayer({});
8
+ const striped = styleWithLayer({});
9
+
10
+ export { striped, table };
@@ -1,10 +1,17 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
2
2
  import { forwardRef } from 'react';
3
- import clsx from 'clsx';
4
- import { sx } from '#styles';
5
- import * as s from './Table.css';
6
- export const Table = forwardRef(({ isStriped, className, sx: propSx, ...props }, ref) => {
7
- return (_jsx("table", { ref: ref, className: clsx(s.table, isStriped && s.striped, sx(propSx), className), ...props }));
3
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
+ import '../../styles/layers.css.js';
5
+ import '../../styles/sprinkles.css.js';
6
+ import '../../styles/globalStyle.css.js';
7
+ import { sx } from '../../styles/sx.js';
8
+ import { striped, table } from './Table.css.js';
9
+ import * as Table_css from './Table.css.js';
10
+ export { Table_css as tableCss };
11
+
12
+ const Table = forwardRef(({ isStriped, className, sx: propSx, ...props }, ref) => {
13
+ return (jsxRuntimeExports.jsx("table", { ref: ref, className: clsx(table, isStriped && striped, sx(propSx), className), ...props }));
8
14
  });
9
15
  Table.displayName = 'Table';
10
- export { s as tableCss };
16
+
17
+ export { Table };
@@ -1,6 +1,12 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import clsx from 'clsx';
3
- import { sx } from '#styles';
4
- export const TableBody = ({ className, sx: propSx, ...props }) => {
5
- return _jsx("tbody", { className: clsx(className, sx(propSx)), ...props });
1
+ import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
2
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
3
+ import '../../styles/layers.css.js';
4
+ import '../../styles/sprinkles.css.js';
5
+ import '../../styles/globalStyle.css.js';
6
+ import { sx } from '../../styles/sx.js';
7
+
8
+ const TableBody = ({ className, sx: propSx, ...props }) => {
9
+ return jsxRuntimeExports.jsx("tbody", { className: clsx(className, sx(propSx)), ...props });
6
10
  };
11
+
12
+ export { TableBody };
@@ -1,8 +1,9 @@
1
- import { styleWithLayer } from '#styleUtils';
2
- import { theme } from '#themes';
3
- import { striped } from './Table.css';
4
- import { interactive } from './TableRow.css';
5
- export const tableCell = styleWithLayer({
1
+ import { styleWithLayer } from '../../utils/styleUtils.css.js';
2
+ import { theme } from '../../themes/theme.css.js';
3
+ import { striped } from './Table.css.js';
4
+ import { interactive } from './TableRow.css.js';
5
+
6
+ const tableCell = styleWithLayer({
6
7
  padding: '0.5em',
7
8
  transition: 'background-color 0.1s ease, color 0.1s ease',
8
9
  selectors: {
@@ -30,3 +31,5 @@ export const tableCell = styleWithLayer({
30
31
  },
31
32
  },
32
33
  });
34
+
35
+ export { tableCell };
@@ -1,8 +1,14 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import {} from 'react';
3
- import clsx from 'clsx';
4
- import { sx } from '#styles';
5
- import * as s from './TableCell.css';
6
- export const TableCell = ({ width, textAlign, style, className, sx: propSx, ...props }) => {
7
- return (_jsx("td", { style: { ...style, width, textAlign }, className: clsx(s.tableCell, className, sx(propSx)), ...props }));
1
+ import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
2
+ import 'react';
3
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
+ import '../../styles/layers.css.js';
5
+ import '../../styles/sprinkles.css.js';
6
+ import '../../styles/globalStyle.css.js';
7
+ import { sx } from '../../styles/sx.js';
8
+ import { tableCell } from './TableCell.css.js';
9
+
10
+ const TableCell = ({ width, textAlign, style, className, sx: propSx, ...props }) => {
11
+ return (jsxRuntimeExports.jsx("td", { style: { ...style, width, textAlign }, className: clsx(tableCell, className, sx(propSx)), ...props }));
8
12
  };
13
+
14
+ export { TableCell };
@@ -1,8 +1,11 @@
1
- import { styleWithLayer } from '#styleUtils';
2
- import { theme } from '#themes';
3
- export const tableHead = styleWithLayer({
1
+ import { styleWithLayer } from '../../utils/styleUtils.css.js';
2
+ import { theme } from '../../themes/theme.css.js';
3
+
4
+ const tableHead = styleWithLayer({
4
5
  padding: '0.5em 0.625em',
5
6
  color: `rgb(${theme.color['accent-foreground']})`,
6
7
  fontSize: '0.9375em',
7
8
  fontWeight: '500',
8
9
  });
10
+
11
+ export { tableHead };
@@ -1,8 +1,14 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import {} from 'react';
3
- import clsx from 'clsx';
4
- import { sx } from '#styles';
5
- import * as s from './TableHead.css';
6
- export const TableHead = ({ width, textAlign, style, className, sx: propSx, ...props }) => {
7
- return (_jsx("th", { style: { ...style, width, textAlign }, className: clsx(s.tableHead, className, sx(propSx)), ...props }));
1
+ import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
2
+ import 'react';
3
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
+ import '../../styles/layers.css.js';
5
+ import '../../styles/sprinkles.css.js';
6
+ import '../../styles/globalStyle.css.js';
7
+ import { sx } from '../../styles/sx.js';
8
+ import { tableHead } from './TableHead.css.js';
9
+
10
+ const TableHead = ({ width, textAlign, style, className, sx: propSx, ...props }) => {
11
+ return (jsxRuntimeExports.jsx("th", { style: { ...style, width, textAlign }, className: clsx(tableHead, className, sx(propSx)), ...props }));
8
12
  };
13
+
14
+ export { TableHead };
@@ -1,6 +1,12 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import clsx from 'clsx';
3
- import { sx } from '#styles';
4
- export const TableHeader = ({ className, sx: propSx, ...props }) => {
5
- return _jsx("thead", { className: clsx(className, sx(propSx)), ...props });
1
+ import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
2
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
3
+ import '../../styles/layers.css.js';
4
+ import '../../styles/sprinkles.css.js';
5
+ import '../../styles/globalStyle.css.js';
6
+ import { sx } from '../../styles/sx.js';
7
+
8
+ const TableHeader = ({ className, sx: propSx, ...props }) => {
9
+ return jsxRuntimeExports.jsx("thead", { className: clsx(className, sx(propSx)), ...props });
6
10
  };
11
+
12
+ export { TableHeader };
@@ -1,2 +1,5 @@
1
- import { styleWithLayer } from '#styleUtils';
2
- export const interactive = styleWithLayer({});
1
+ import { styleWithLayer } from '../../utils/styleUtils.css.js';
2
+
3
+ const interactive = styleWithLayer({});
4
+
5
+ export { interactive };
@@ -1,7 +1,13 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import clsx from 'clsx';
3
- import { sx } from '#styles';
4
- import * as s from './TableRow.css';
5
- export const TableRow = ({ isInteractive = false, className, sx: propSx, ...props }) => {
6
- return (_jsx("tr", { className: clsx(isInteractive && s.interactive, className, sx(propSx)), ...props }));
1
+ import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
2
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
3
+ import '../../styles/layers.css.js';
4
+ import '../../styles/sprinkles.css.js';
5
+ import '../../styles/globalStyle.css.js';
6
+ import { sx } from '../../styles/sx.js';
7
+ import { interactive } from './TableRow.css.js';
8
+
9
+ const TableRow = ({ isInteractive = false, className, sx: propSx, ...props }) => {
10
+ return (jsxRuntimeExports.jsx("tr", { className: clsx(isInteractive && interactive, className, sx(propSx)), ...props }));
7
11
  };
12
+
13
+ export { TableRow };
@@ -1,11 +1,16 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
3
2
  import { forwardRef, useReducer } from 'react';
4
- import clsx from 'clsx';
5
- import { sx } from '#styles';
6
- import { TabsContext, tabsReducer } from './TabsProvider';
7
- export const Tabs = forwardRef(({ children, defaultValue, className, sx: propSx, ...props }, ref) => {
3
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
+ import '../../styles/layers.css.js';
5
+ import '../../styles/sprinkles.css.js';
6
+ import '../../styles/globalStyle.css.js';
7
+ import { sx } from '../../styles/sx.js';
8
+ import { tabsReducer, TabsContext } from './TabsProvider.js';
9
+
10
+ const Tabs = forwardRef(({ children, defaultValue, className, sx: propSx, ...props }, ref) => {
8
11
  const [value, setValue] = useReducer(tabsReducer, defaultValue);
9
- return (_jsx(TabsContext.Provider, { value: { value, setValue }, children: _jsx("div", { ref: ref, className: clsx(className, sx(propSx)), style: { width: '100%' }, ...props, children: children }) }));
12
+ return (jsxRuntimeExports.jsx(TabsContext.Provider, { value: { value, setValue }, children: jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(className, sx(propSx)), style: { width: '100%' }, ...props, children: children }) }));
10
13
  });
11
14
  Tabs.displayName = 'Tabs';
15
+
16
+ export { Tabs };
@@ -1,10 +1,13 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
3
2
  import { forwardRef, useContext } from 'react';
4
- import clsx from 'clsx';
5
- import { sx } from '#styles';
6
- import { TabsContext } from './TabsProvider';
7
- export const TabsContent = forwardRef(({ value, className, sx: propSx, ...props }, ref) => {
3
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
+ import '../../styles/layers.css.js';
5
+ import '../../styles/sprinkles.css.js';
6
+ import '../../styles/globalStyle.css.js';
7
+ import { sx } from '../../styles/sx.js';
8
+ import { TabsContext } from './TabsProvider.js';
9
+
10
+ const TabsContent = forwardRef(({ value, className, sx: propSx, ...props }, ref) => {
8
11
  const tabsContext = useContext(TabsContext);
9
12
  if (tabsContext === undefined) {
10
13
  throw new Error('TabsContext must be used within a Tabs.');
@@ -12,6 +15,8 @@ export const TabsContent = forwardRef(({ value, className, sx: propSx, ...props
12
15
  if (tabsContext.value !== value) {
13
16
  return null;
14
17
  }
15
- return _jsx("div", { ref: ref, className: clsx(className, sx(propSx)), ...props });
18
+ return jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(className, sx(propSx)), ...props });
16
19
  });
17
20
  TabsContent.displayName = 'TabsContent';
21
+
22
+ export { TabsContent };
@@ -1,8 +1,11 @@
1
- import { styleWithLayer } from '#styleUtils';
2
- import { theme } from '#themes';
3
- export const container = styleWithLayer({
1
+ import { styleWithLayer } from '../../utils/styleUtils.css.js';
2
+ import { theme } from '../../themes/theme.css.js';
3
+
4
+ const container = styleWithLayer({
4
5
  display: 'flex',
5
6
  height: '2.5em',
6
7
  boxShadow: `inset 0 -0.125em 0 rgb(${theme.color.muted})`,
7
8
  backgroundColor: `rgb(${theme.color.background})`,
8
9
  });
10
+
11
+ export { container };
@@ -1,9 +1,15 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
2
2
  import { forwardRef } from 'react';
3
- import clsx from 'clsx';
4
- import { sx } from '#styles';
5
- import * as s from './TabsList.css';
6
- export const TabsList = forwardRef(({ children, className, sx: propSx, ...props }, ref) => {
7
- return (_jsx("div", { ref: ref, className: clsx(className, s.container, sx(propSx)), ...props, children: children }));
3
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
+ import '../../styles/layers.css.js';
5
+ import '../../styles/sprinkles.css.js';
6
+ import '../../styles/globalStyle.css.js';
7
+ import { sx } from '../../styles/sx.js';
8
+ import { container } from './TabsList.css.js';
9
+
10
+ const TabsList = forwardRef(({ children, className, sx: propSx, ...props }, ref) => {
11
+ return (jsxRuntimeExports.jsx("div", { ref: ref, className: clsx(className, container, sx(propSx)), ...props, children: children }));
8
12
  });
9
13
  TabsList.displayName = 'TabsList';
14
+
15
+ export { TabsList };
@@ -1,6 +1,8 @@
1
- 'use client';
2
1
  import { createContext } from 'react';
3
- export const TabsContext = createContext(undefined);
4
- export const tabsReducer = (_, value) => {
2
+
3
+ const TabsContext = createContext(undefined);
4
+ const tabsReducer = (_, value) => {
5
5
  return value;
6
6
  };
7
+
8
+ export { TabsContext, tabsReducer };
@@ -1,6 +1,7 @@
1
- import { recipeWithLayer } from '#styleUtils';
2
- import { theme } from '#themes';
3
- export const container = recipeWithLayer({
1
+ import { recipeWithLayer } from '../../utils/styleUtils.css.js';
2
+ import { theme } from '../../themes/theme.css.js';
3
+
4
+ const container = recipeWithLayer({
4
5
  base: {
5
6
  overflow: 'hidden',
6
7
  height: '100%',
@@ -27,3 +28,5 @@ export const container = recipeWithLayer({
27
28
  },
28
29
  },
29
30
  });
31
+
32
+ export { container };
@@ -1,11 +1,14 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
3
2
  import { forwardRef, useContext } from 'react';
4
- import clsx from 'clsx';
5
- import { sx } from '#styles';
6
- import { TabsContext } from './TabsProvider';
7
- import * as s from './TabsTrigger.css';
8
- export const TabsTrigger = forwardRef(({ children, value, className, sx: propSx, ...props }, ref) => {
3
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
+ import '../../styles/layers.css.js';
5
+ import '../../styles/sprinkles.css.js';
6
+ import '../../styles/globalStyle.css.js';
7
+ import { sx } from '../../styles/sx.js';
8
+ import { TabsContext } from './TabsProvider.js';
9
+ import { container } from './TabsTrigger.css.js';
10
+
11
+ const TabsTrigger = forwardRef(({ children, value, className, sx: propSx, ...props }, ref) => {
9
12
  const tabsContext = useContext(TabsContext);
10
13
  if (tabsContext === undefined) {
11
14
  throw new Error('TabsTrigger must be used within a Tabs.');
@@ -14,6 +17,8 @@ export const TabsTrigger = forwardRef(({ children, value, className, sx: propSx,
14
17
  const handleClick = () => {
15
18
  tabsContext.setValue(value);
16
19
  };
17
- return (_jsx("button", { ref: ref, className: clsx(className, s.container({ isSelected }), sx(propSx)), onClick: handleClick, ...props, children: children }));
20
+ return (jsxRuntimeExports.jsx("button", { ref: ref, className: clsx(className, container({ isSelected }), sx(propSx)), onClick: handleClick, ...props, children: children }));
18
21
  });
19
22
  TabsTrigger.displayName = 'TabsTrigger';
23
+
24
+ export { TabsTrigger };
@@ -1,8 +1,9 @@
1
- import { createVar } from '@vanilla-extract/css';
2
- import { recipeWithLayer, styleWithLayer } from '#styleUtils';
3
- import { theme } from '#themes';
4
- import { semanticColor } from '#tokens';
5
- import { SCALE_COLOR } from '../../tokens/scale/color';
1
+ import { createVar } from '../../node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.esm.js';
2
+ import { styleWithLayer, recipeWithLayer } from '../../utils/styleUtils.css.js';
3
+ import { SCALE_COLOR } from '../../tokens/scale/color.js';
4
+ import { theme } from '../../themes/theme.css.js';
5
+ import { semanticColor } from '../../tokens/semantic/color.js';
6
+
6
7
  const backgroundVar = createVar();
7
8
  const semanticColors = semanticColor.reduce((prev, color) => ({
8
9
  ...prev,
@@ -20,7 +21,7 @@ const scaleColors = SCALE_COLOR.reduce((prev, value) => ({
20
21
  },
21
22
  }),
22
23
  }), {});
23
- export const textField = recipeWithLayer({
24
+ const textField = recipeWithLayer({
24
25
  base: {
25
26
  padding: '0.75em 0.5em',
26
27
  border: `1px solid`,
@@ -57,3 +58,5 @@ export const textField = recipeWithLayer({
57
58
  },
58
59
  },
59
60
  });
61
+
62
+ export { textField };
@@ -1,10 +1,17 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import jsxRuntimeExports from '../../_virtual/jsx-runtime.js';
2
2
  import { forwardRef } from 'react';
3
- import { clsx } from 'clsx';
4
- import { sx } from '#styles';
5
- import * as s from './TextField.css';
6
- export const TextField = forwardRef(({ className, type = 'text', size = 'md', color = 'primary', sx: propSx, ...props }, ref) => {
7
- return (_jsx("input", { ref: ref, type: type, className: clsx(className, s.textField({ size, color }), sx(propSx)), ...props }));
3
+ import { clsx } from '../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js';
4
+ import '../../styles/layers.css.js';
5
+ import '../../styles/sprinkles.css.js';
6
+ import '../../styles/globalStyle.css.js';
7
+ import { sx } from '../../styles/sx.js';
8
+ import { textField } from './TextField.css.js';
9
+ import * as TextField_css from './TextField.css.js';
10
+ export { TextField_css as textFieldCss };
11
+
12
+ const TextField = forwardRef(({ className, type = 'text', size = 'md', color = 'primary', sx: propSx, ...props }, ref) => {
13
+ return (jsxRuntimeExports.jsx("input", { ref: ref, type: type, className: clsx(className, textField({ size, color }), sx(propSx)), ...props }));
8
14
  });
9
15
  TextField.displayName = 'TextField';
10
- export { s as textFieldCss };
16
+
17
+ export { TextField };
@@ -1,7 +1,8 @@
1
- import { createVar, keyframes } from '@vanilla-extract/css';
2
- import { recipeWithLayer, styleWithLayer } from '#styleUtils';
3
- import { theme } from '#themes';
4
- import { semanticColor } from '#tokens';
1
+ import { createVar, keyframes } from '../../node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.esm.js';
2
+ import { styleWithLayer, recipeWithLayer } from '../../utils/styleUtils.css.js';
3
+ import { theme } from '../../themes/theme.css.js';
4
+ import { semanticColor } from '../../tokens/semantic/color.js';
5
+
5
6
  const colorVar = createVar();
6
7
  const foregroundVar = createVar();
7
8
  const semanticColors = semanticColor.reduce((prev, color) => ({
@@ -21,7 +22,7 @@ const fill = keyframes({
21
22
  transform: 'scaleX(1)',
22
23
  },
23
24
  });
24
- export const progress = recipeWithLayer({
25
+ const progress = recipeWithLayer({
25
26
  base: {
26
27
  position: 'absolute',
27
28
  inset: '0',
@@ -43,7 +44,7 @@ export const progress = recipeWithLayer({
43
44
  },
44
45
  },
45
46
  });
46
- export const toast = recipeWithLayer({
47
+ const toast = recipeWithLayer({
47
48
  base: {
48
49
  position: 'relative',
49
50
  overflow: 'hidden',
@@ -60,3 +61,5 @@ export const toast = recipeWithLayer({
60
61
  },
61
62
  },
62
63
  });
64
+
65
+ export { progress, toast };