@ultraviolet/ui 3.0.0-beta.7 → 3.0.0-beta.8

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 (73) hide show
  1. package/dist/components/ActionBar/styles.css.cjs +1 -0
  2. package/dist/components/ActionBar/styles.css.js +1 -0
  3. package/dist/components/Avatar/styles.css.cjs +0 -1
  4. package/dist/components/Avatar/styles.css.js +0 -1
  5. package/dist/components/Avatar/variables.css.cjs +1 -0
  6. package/dist/components/Avatar/variables.css.js +1 -0
  7. package/dist/components/Chip/ChipContext.d.ts +1 -1
  8. package/dist/components/Chip/ChipIcon.cjs +10 -21
  9. package/dist/components/Chip/ChipIcon.js +10 -19
  10. package/dist/components/Chip/index.cjs +2 -56
  11. package/dist/components/Chip/index.d.ts +1 -1
  12. package/dist/components/Chip/index.js +2 -54
  13. package/dist/components/Chip/styles.css.cjs +7 -0
  14. package/dist/components/Chip/styles.css.d.ts +2 -0
  15. package/dist/components/Chip/styles.css.js +7 -0
  16. package/dist/components/Dialog/index.d.ts +1 -1
  17. package/dist/components/Meter/styles.css.cjs +0 -1
  18. package/dist/components/Meter/styles.css.js +0 -1
  19. package/dist/components/Notice/index.cjs +2 -12
  20. package/dist/components/Notice/index.js +2 -10
  21. package/dist/components/Notice/styles.css.cjs +5 -0
  22. package/dist/components/Notice/styles.css.d.ts +1 -0
  23. package/dist/components/Notice/styles.css.js +5 -0
  24. package/dist/components/NumberInput/index.cjs +12 -9
  25. package/dist/components/NumberInput/index.d.ts +1 -1
  26. package/dist/components/NumberInput/index.js +12 -9
  27. package/dist/components/Popup/styles.css.cjs +1 -0
  28. package/dist/components/Popup/styles.css.js +1 -0
  29. package/dist/components/Popup/variables.css.cjs +0 -1
  30. package/dist/components/Popup/variables.css.js +0 -1
  31. package/dist/components/Radio/index.d.ts +11 -13
  32. package/dist/components/Row/index.cjs +28 -38
  33. package/dist/components/Row/index.d.ts +8 -10
  34. package/dist/components/Row/index.js +29 -37
  35. package/dist/components/Row/styles.css.cjs +17 -0
  36. package/dist/components/Row/styles.css.d.ts +460 -0
  37. package/dist/components/Row/styles.css.js +17 -0
  38. package/dist/components/Row/variables.css.cjs +6 -0
  39. package/dist/components/Row/variables.css.d.ts +4 -0
  40. package/dist/components/Row/variables.css.js +6 -0
  41. package/dist/components/Slider/styles.d.ts +12 -14
  42. package/dist/components/Snippet/index.cjs +10 -10
  43. package/dist/components/Snippet/index.js +10 -10
  44. package/dist/components/Stack/index.cjs +65 -44
  45. package/dist/components/Stack/index.d.ts +17 -20
  46. package/dist/components/Stack/index.js +65 -42
  47. package/dist/components/Stack/styles.css.cjs +19 -0
  48. package/dist/components/Stack/styles.css.d.ts +470 -0
  49. package/dist/components/Stack/styles.css.js +19 -0
  50. package/dist/components/Stack/variables.css.cjs +10 -0
  51. package/dist/components/Stack/variables.css.d.ts +4 -0
  52. package/dist/components/Stack/variables.css.js +10 -0
  53. package/dist/components/Status/constant.d.ts +1 -0
  54. package/dist/components/Status/index.cjs +10 -66
  55. package/dist/components/Status/index.d.ts +2 -20
  56. package/dist/components/Status/index.js +10 -64
  57. package/dist/components/Status/styles.css.cjs +11 -0
  58. package/dist/components/Status/styles.css.d.ts +23 -0
  59. package/dist/components/Status/styles.css.js +11 -0
  60. package/dist/components/StepList/index.cjs +9 -41
  61. package/dist/components/StepList/index.d.ts +2 -1
  62. package/dist/components/StepList/index.js +9 -39
  63. package/dist/components/StepList/styles.css.cjs +10 -0
  64. package/dist/components/StepList/styles.css.d.ts +23 -0
  65. package/dist/components/StepList/styles.css.js +10 -0
  66. package/dist/components/Table/index.d.ts +1 -1
  67. package/dist/components/Tabs/index.d.ts +1 -1
  68. package/dist/components/TextInput/index.d.ts +23 -27
  69. package/dist/components/Tooltip/index.d.ts +1 -1
  70. package/dist/ui.css +1 -1
  71. package/dist/utils/animationVanillaExtract.css.d.ts +1 -0
  72. package/dist/utils/index.d.ts +1 -1
  73. package/package.json +4 -2
@@ -1,56 +1,77 @@
1
1
  "use client";
2
2
  "use strict";
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const _styled = require("@emotion/styled/base");
5
- const _interopDefaultCompat = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
6
- const _styled__default = /* @__PURE__ */ _interopDefaultCompat(_styled);
7
- const Stack = /* @__PURE__ */ _styled__default.default("div", process.env.NODE_ENV === "production" ? {
8
- shouldForwardProp: (prop) => !["gap", "direction", "alignItems", "justifyContent", "wrap", "width", "maxWidth", "minWidth", "flex"].includes(prop),
9
- target: "ehpbis70"
10
- } : {
11
- shouldForwardProp: (prop) => !["gap", "direction", "alignItems", "justifyContent", "wrap", "width", "maxWidth", "minWidth", "flex"].includes(prop),
12
- target: "ehpbis70",
13
- label: "Stack"
14
- })("display:flex;", ({
15
- theme,
4
+ const jsxRuntime = require("@emotion/react/jsx-runtime");
5
+ const themes = require("@ultraviolet/themes");
6
+ const dynamic = require("@vanilla-extract/dynamic");
7
+ const react = require("react");
8
+ const styles_css = require("./styles.css.cjs");
9
+ const variables_css = require("./variables.css.cjs");
10
+ const mapRepsonsiveGap = (object) => object ? Object.keys(object).reduce((acc, key) => ({
11
+ ...acc,
12
+ [key]: themes.consoleLightTheme.space[object[key]]
13
+ }), {}) : {};
14
+ const Stack = ({
16
15
  gap,
17
16
  direction = "column",
18
17
  alignItems = "normal",
19
18
  justifyContent = "normal",
20
19
  wrap = "nowrap",
20
+ className,
21
+ children,
22
+ id,
23
+ "data-testid": dataTestId,
21
24
  width,
22
25
  maxWidth,
23
26
  minWidth,
24
- flex
25
- }) => `
26
- ${wrap && typeof wrap === "boolean" ? "flex-wrap: wrap;" : ""}
27
- ${wrap && typeof wrap === "object" ? Object.entries(wrap).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
28
- flex-wrap: ${value};
29
- }`).join(" ") : `${wrap && typeof wrap !== "boolean" ? `flex-wrap: ${wrap};` : ""}`}
30
- ${minWidth && typeof minWidth === "object" ? Object.entries(minWidth).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
31
- min-width: ${value};
32
- }`).join(" ") : `${minWidth ? `min-width: ${minWidth};` : ""}`}
33
- ${maxWidth && typeof maxWidth === "object" ? Object.entries(maxWidth).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
34
- max-width: ${value};
35
- }`).join(" ") : `${maxWidth ? `max-width: ${maxWidth};` : ""}`}
36
- ${width && typeof width === "object" ? Object.entries(width).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
37
- width: ${value};
38
- }`).join(" ") : `${width ? `width: ${width};` : ""}`}
39
- ${flex && typeof flex === "object" ? Object.entries(flex).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
40
- flex: ${value};
41
- }`).join(" ") : `${flex ? `flex: ${flex};` : ""}`}
42
- ${alignItems && typeof alignItems === "object" ? Object.entries(alignItems).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
43
- align-items: ${value};
44
- }`).join(" ") : `${alignItems ? `align-items: ${alignItems};` : ""}`}
45
- ${justifyContent && typeof justifyContent === "object" ? Object.entries(justifyContent).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
46
- justify-content: ${value};
47
- }`).join(" ") : `${justifyContent ? `justify-content: ${justifyContent};` : ""}`}
48
- ${direction && typeof direction === "object" ? Object.entries(direction).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
49
- flex-direction: ${value};
50
- }`).join(" ") : `${direction ? `flex-direction: ${direction};` : ""}`}
51
-
52
- ${gap && typeof gap === "object" ? Object.entries(gap).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
53
- gap: ${theme.space[value.toString()]};
54
- }`).join(" ") : `${gap ? `gap: ${theme.space[gap]};` : ""}`}
55
- `, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMapp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wICE9PSAnYm9vbGVhbicgPyBgZmxleC13cmFwOiAke3dyYXB9O2AgOiAnJ31gXG4gICAgfVxuICAgICR7XG4gICAgICBtaW5XaWR0aCAmJiB0eXBlb2YgbWluV2lkdGggPT09ICdvYmplY3QnXG4gICAgICAgID8gT2JqZWN0LmVudHJpZXMobWluV2lkdGgpXG4gICAgICAgICAgICAubWFwKFxuICAgICAgICAgICAgICAoW2JyZWFrcG9pbnQsIHZhbHVlXSkgPT5cbiAgICAgICAgICAgICAgICBgQG1lZGlhIChtaW4td2lkdGg6ICR7dGhlbWUuYnJlYWtwb2ludHNbYnJlYWtwb2ludCBhcyBrZXlvZiBVbHRyYXZpb2xldFVJVGhlbWVbJ2JyZWFrcG9pbnRzJ11dfSkge1xuICAgICAgICAgICAgICAgIG1pbi13aWR0aDogJHt2YWx1ZX07XG4gICAgICAgICAgICAgIH1gLFxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgLmpvaW4oJyAnKVxuICAgICAgICA6IGAke21pbldpZHRoID8gYG1pbi13aWR0aDogJHttaW5XaWR0aH07YCA6ICcnfWBcbiAgICB9XG4gICAgJHtcbiAgICAgIG1heFdpZHRoICYmIHR5cGVvZiBtYXhXaWR0aCA9PT0gJ29iamVjdCdcbiAgICAgICAgPyBPYmplY3QuZW50cmllcyhtYXhXaWR0aClcbiAgICAgICAgICAgIC5tYXAoXG4gICAgICAgICAgICAgIChbYnJlYWtwb2ludCwgdmFsdWVdKSA9PlxuICAgICAgICAgICAgICAgIGBAbWVkaWEgKG1pbi13aWR0aDogJHt0aGVtZS5icmVha3BvaW50c1ticmVha3BvaW50IGFzIGtleW9mIFVsdHJhdmlvbGV0VUlUaGVtZVsnYnJlYWtwb2ludHMnXV19KSB7XG4gICAgICAgICAgICAgICAgbWF4LXdpZHRoOiAke3ZhbHVlfTtcbiAgICAgICAgICAgICAgfWAsXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuam9pbignICcpXG4gICAgICAgIDogYCR7bWF4V2lkdGggPyBgbWF4LXdpZHRoOiAke21heFdpZHRofTtgIDogJyd9YFxuICAgIH1cbiAgICAke1xuICAgICAgd2lkdGggJiYgdHlwZW9mIHdpZHRoID09PSAnb2JqZWN0J1xuICAgICAgICA/IE9iamVjdC5lbnRyaWVzKHdpZHRoKVxuICAgICAgICAgICAgLm1hcChcbiAgICAgICAgICAgICAgKFticmVha3BvaW50LCB2YWx1ZV0pID0+XG4gICAgICAgICAgICAgICAgYEBtZWRpYSAobWluLXdpZHRoOiAke3RoZW1lLmJyZWFrcG9pbnRzW2JyZWFrcG9pbnQgYXMga2V5b2YgVWx0cmF2aW9sZXRVSVRoZW1lWydicmVha3BvaW50cyddXX0pIHtcbiAgICAgICAgICAgICAgICB3aWR0aDogJHt2YWx1ZX07XG4gICAgICAgICAgICAgIH1gLFxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgLmpvaW4oJyAnKVxuICAgICAgICA6IGAke3dpZHRoID8gYHdpZHRoOiAke3dpZHRofTtgIDogJyd9YFxuICAgIH1cbiAgICAke1xuICAgICAgZmxleCAmJiB0eXBlb2YgZmxleCA9PT0gJ29iamVjdCdcbiAgICAgICAgPyBPYmplY3QuZW50cmllcyhmbGV4KVxuICAgICAgICAgICAgLm1hcChcbiAgICAgICAgICAgICAgKFticmVha3BvaW50LCB2YWx1ZV0pID0+XG4gICAgICAgICAgICAgICAgYEBtZWRpYSAobWluLXdpZHRoOiAke3RoZW1lLmJyZWFrcG9pbnRzW2JyZWFrcG9pbnQgYXMga2V5b2YgVWx0cmF2aW9sZXRVSVRoZW1lWydicmVha3BvaW50cyddXX0pIHtcbiAgICAgICAgICAgICAgICBmbGV4OiAke3ZhbHVlfTtcbiAgICAgICAgICAgICAgfWAsXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuam9pbignICcpXG4gICAgICAgIDogYCR7ZmxleCA/IGBmbGV4OiAke2ZsZXh9O2AgOiAnJ31gXG4gICAgfVxuICAgICR7XG4gICAgICBhbGlnbkl0ZW1zICYmIHR5cGVvZiBhbGlnbkl0ZW1zID09PSAnb2JqZWN0J1xuICAgICAgICA/IE9iamVjdC5lbnRyaWVzKGFsaWduSXRlbXMpXG4gICAgICAgICAgICAubWFwKFxuICAgICAgICAgICAgICAoW2JyZWFrcG9pbnQsIHZhbHVlXSkgPT5cbiAgICAgICAgICAgICAgICBgQG1lZGlhIChtaW4td2lkdGg6ICR7dGhlbWUuYnJlYWtwb2ludHNbYnJlYWtwb2ludCBhcyBrZXlvZiBVbHRyYXZpb2xldFVJVGhlbWVbJ2JyZWFrcG9pbnRzJ11dfSkge1xuICAgICAgICAgICAgICAgIGFsaWduLWl0ZW1zOiAke3ZhbHVlfTtcbiAgICAgICAgICAgICAgfWAsXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuam9pbignICcpXG4gICAgICAgIDogYCR7YWxpZ25JdGVtcyA/IGBhbGlnbi1pdGVtczogJHthbGlnbkl0ZW1zfTtgIDogJyd9YFxuICAgIH1cbiAgICAke1xuICAgICAganVzdGlmeUNvbnRlbnQgJiYgdHlwZW9mIGp1c3RpZnlDb250ZW50ID09PSAnb2JqZWN0J1xuICAgICAgICA/IE9iamVjdC5lbnRyaWVzKGp1c3RpZnlDb250ZW50KVxuICAgICAgICAgICAgLm1hcChcbiAgICAgICAgICAgICAgKFticmVha3BvaW50LCB2YWx1ZV0pID0+XG4gICAgICAgICAgICAgICAgYEBtZWRpYSAobWluLXdpZHRoOiAke3RoZW1lLmJyZWFrcG9pbnRzW2JyZWFrcG9pbnQgYXMga2V5b2YgVWx0cmF2aW9sZXRVSVRoZW1lWydicmVha3BvaW50cyddXX0pIHtcbiAgICAgICAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6ICR7dmFsdWV9O1xuICAgICAgICAgICAgICB9YCxcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC5qb2luKCcgJylcbiAgICAgICAgOiBgJHtqdXN0aWZ5Q29udGVudCA/IGBqdXN0aWZ5LWNvbnRlbnQ6ICR7anVzdGlmeUNvbnRlbnR9O2AgOiAnJ31gXG4gICAgfVxuICAgICR7XG4gICAgICBkaXJlY3Rpb24gJiYgdHlwZW9mIGRpcmVjdGlvbiA9PT0gJ29iamVjdCdcbiAgICAgICAgPyBPYmplY3QuZW50cmllcyhkaXJlY3Rpb24pXG4gICAgICAgICAgICAubWFwKFxuICAgICAgICAgICAgICAoW2JyZWFrcG9pbnQsIHZhbHVlXSkgPT5cbiAgICAgICAgICAgICAgICBgQG1lZGlhIChtaW4td2lkdGg6ICR7dGhlbWUuYnJlYWtwb2ludHNbYnJlYWtwb2ludCBhcyBrZXlvZiBVbHRyYXZpb2xldFVJVGhlbWVbJ2JyZWFrcG9pbnRzJ11dfSkge1xuICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiAke3ZhbHVlfTtcbiAgICAgICAgICAgICAgfWAsXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuam9pbignICcpXG4gICAgICAgIDogYCR7ZGlyZWN0aW9uID8gYGZsZXgtZGlyZWN0aW9uOiAke2RpcmVjdGlvbn07YCA6ICcnfWBcbiAgICB9XG5cbiAgICAke1xuICAgICAgZ2FwICYmIHR5cGVvZiBnYXAgPT09ICdvYmplY3QnXG4gICAgICAgID8gT2JqZWN0LmVudHJpZXMoZ2FwKVxuICAgICAgICAgICAgLm1hcChcbiAgICAgICAgICAgICAgKFticmVha3BvaW50LCB2YWx1ZV0pID0+XG4gICAgICAgICAgICAgICAgYEBtZWRpYSAobWluLXdpZHRoOiAke3RoZW1lLmJyZWFrcG9pbnRzW2JyZWFrcG9pbnQgYXMga2V5b2YgVWx0cmF2aW9sZXRVSVRoZW1lWydicmVha3BvaW50cyddXX0pIHtcbiAgICAgICAgICAgICAgICBnYXA6ICR7dGhlbWUuc3BhY2VbdmFsdWUudG9TdHJpbmcoKSBhcyBrZXlvZiBVbHRyYXZpb2xldFVJVGhlbWVbJ3NwYWNlJ11dfTtcbiAgICAgICAgICAgICAgfWAsXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuam9pbignICcpXG4gICAgICAgIDogYCR7Z2FwID8gYGdhcDogJHt0aGVtZS5zcGFjZVtnYXAgYXMga2V5b2YgVWx0cmF2aW9sZXRVSVRoZW1lWydzcGFjZSddXX07YCA6ICcnfWBcbiAgICB9XG4gIGB9XG5gXG4iXX0= */"));
27
+ flex,
28
+ ref,
29
+ ...props
30
+ }) => {
31
+ const wrapValue = react.useMemo(() => {
32
+ if (typeof wrap === "boolean") {
33
+ return wrap ? "wrap" : "nowrap";
34
+ }
35
+ if (typeof wrap === "object") {
36
+ return Object.keys(wrap).reduce((acc, key) => ({
37
+ ...acc,
38
+ [key]: wrap[key] ? "wrap" : "nowrap"
39
+ }), {});
40
+ }
41
+ return wrap;
42
+ }, [wrap]);
43
+ return /* @__PURE__ */ jsxRuntime.jsx(
44
+ "div",
45
+ {
46
+ className: `${className ? `${className} ` : ""}${styles_css.stack} ${styles_css.sprinkles({
47
+ alignItems: typeof alignItems === "object" ? alignItems : {
48
+ xxsmall: alignItems
49
+ },
50
+ flexDirection: typeof direction === "object" ? direction : {
51
+ xxsmall: direction
52
+ },
53
+ flexWrap: typeof wrapValue === "object" ? wrapValue : {
54
+ xxsmall: wrapValue
55
+ },
56
+ gap: typeof gap === "object" ? mapRepsonsiveGap(gap) : {
57
+ xxsmall: gap ? themes.consoleLightTheme.space[gap] : void 0
58
+ },
59
+ justifyContent: typeof justifyContent === "object" ? justifyContent : {
60
+ xxsmall: justifyContent
61
+ }
62
+ })}`,
63
+ "data-testid": dataTestId,
64
+ id,
65
+ ref,
66
+ style: dynamic.assignInlineVars({
67
+ [variables_css.widthVar]: width?.toString(),
68
+ [variables_css.maxWidthVar]: maxWidth?.toString(),
69
+ [variables_css.minWidthVar]: minWidth?.toString(),
70
+ [variables_css.flexVar]: flex?.toString()
71
+ }),
72
+ ...props,
73
+ children
74
+ }
75
+ );
76
+ };
56
77
  exports.Stack = Stack;
@@ -1,26 +1,23 @@
1
- import type { CSSProperties, ReactNode } from 'react';
1
+ import type { CSSProperties, HTMLAttributes, ReactNode, Ref } from 'react';
2
2
  import type { UltravioletUITheme } from '../../theme';
3
- type StackProps = {
4
- gap?: keyof UltravioletUITheme['space'] | number | Partial<Record<keyof UltravioletUITheme['breakpoints'], keyof UltravioletUITheme['space'] | number>>;
5
- direction?: 'row' | 'column' | Partial<Record<keyof UltravioletUITheme['breakpoints'], 'row' | 'column'>>;
6
- alignItems?: CSSProperties['alignItems'] | Partial<Record<keyof UltravioletUITheme['breakpoints'], CSSProperties['alignItems']>>;
7
- justifyContent?: CSSProperties['justifyContent'] | Partial<Record<keyof UltravioletUITheme['breakpoints'], CSSProperties['justifyContent']>>;
8
- wrap?: boolean | CSSProperties['flexWrap'] | Partial<Record<keyof UltravioletUITheme['breakpoints'], boolean | CSSProperties['flexWrap']>>;
9
- width?: CSSProperties['width'] | Partial<Record<keyof UltravioletUITheme['breakpoints'], CSSProperties['width']>>;
10
- maxWidth?: CSSProperties['maxWidth'] | Partial<Record<keyof UltravioletUITheme['breakpoints'], CSSProperties['maxWidth']>>;
11
- minWidth?: CSSProperties['minWidth'] | Partial<Record<keyof UltravioletUITheme['breakpoints'], CSSProperties['minWidth']>>;
12
- flex?: CSSProperties['flex'] | Partial<Record<keyof UltravioletUITheme['breakpoints'], CSSProperties['flex']>>;
3
+ import type { AlignItemsType, JustifyContentType } from './styles.css';
4
+ type ResponsiveProp<T> = T | Partial<Record<keyof UltravioletUITheme['breakpoints'], T>>;
5
+ type ToNumber<T extends string> = T extends `${infer N extends number}` ? N : never;
6
+ export type StackProps = {
7
+ gap?: ResponsiveProp<keyof UltravioletUITheme['space'] | ToNumber<keyof UltravioletUITheme['space']>>;
8
+ direction?: ResponsiveProp<'row' | 'column' | 'row-reverse' | 'column-reverse'>;
9
+ alignItems?: ResponsiveProp<AlignItemsType>;
10
+ justifyContent?: ResponsiveProp<JustifyContentType>;
11
+ wrap?: ResponsiveProp<boolean | CSSProperties['flexWrap']>;
12
+ width?: CSSProperties['width'];
13
+ maxWidth?: CSSProperties['maxWidth'];
14
+ minWidth?: CSSProperties['minWidth'];
15
+ flex?: CSSProperties['flex'];
13
16
  className?: string;
14
17
  children: ReactNode;
15
18
  'data-testid'?: string;
16
19
  id?: string;
17
- };
18
- /**
19
- * A Stack is a widget that organize children in a vertical or horizontal layout based on css Flex,
20
- * it accepts few props to deal with spacing and align.
21
- */
22
- export declare const Stack: import("@emotion/styled").StyledComponent<{
23
- theme?: import("@emotion/react").Theme;
24
- as?: React.ElementType;
25
- } & StackProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
+ ref?: Ref<HTMLDivElement>;
21
+ } & Omit<HTMLAttributes<HTMLDivElement>, 'children'>;
22
+ export declare const Stack: ({ gap, direction, alignItems, justifyContent, wrap, className, children, id, "data-testid": dataTestId, width, maxWidth, minWidth, flex, ref, ...props }: StackProps) => import("@emotion/react/jsx-runtime").JSX.Element;
26
23
  export {};
@@ -1,54 +1,77 @@
1
1
  "use client";
2
- import _styled from "@emotion/styled/base";
3
- const Stack = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "production" ? {
4
- shouldForwardProp: (prop) => !["gap", "direction", "alignItems", "justifyContent", "wrap", "width", "maxWidth", "minWidth", "flex"].includes(prop),
5
- target: "ehpbis70"
6
- } : {
7
- shouldForwardProp: (prop) => !["gap", "direction", "alignItems", "justifyContent", "wrap", "width", "maxWidth", "minWidth", "flex"].includes(prop),
8
- target: "ehpbis70",
9
- label: "Stack"
10
- })("display:flex;", ({
11
- theme,
2
+ import { jsx } from "@emotion/react/jsx-runtime";
3
+ import { consoleLightTheme } from "@ultraviolet/themes";
4
+ import { assignInlineVars } from "@vanilla-extract/dynamic";
5
+ import { useMemo } from "react";
6
+ import { stack, sprinkles } from "./styles.css.js";
7
+ import { flexVar, minWidthVar, maxWidthVar, widthVar } from "./variables.css.js";
8
+ const mapRepsonsiveGap = (object) => object ? Object.keys(object).reduce((acc, key) => ({
9
+ ...acc,
10
+ [key]: consoleLightTheme.space[object[key]]
11
+ }), {}) : {};
12
+ const Stack = ({
12
13
  gap,
13
14
  direction = "column",
14
15
  alignItems = "normal",
15
16
  justifyContent = "normal",
16
17
  wrap = "nowrap",
18
+ className,
19
+ children,
20
+ id,
21
+ "data-testid": dataTestId,
17
22
  width,
18
23
  maxWidth,
19
24
  minWidth,
20
- flex
21
- }) => `
22
- ${wrap && typeof wrap === "boolean" ? "flex-wrap: wrap;" : ""}
23
- ${wrap && typeof wrap === "object" ? Object.entries(wrap).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
24
- flex-wrap: ${value};
25
- }`).join(" ") : `${wrap && typeof wrap !== "boolean" ? `flex-wrap: ${wrap};` : ""}`}
26
- ${minWidth && typeof minWidth === "object" ? Object.entries(minWidth).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
27
- min-width: ${value};
28
- }`).join(" ") : `${minWidth ? `min-width: ${minWidth};` : ""}`}
29
- ${maxWidth && typeof maxWidth === "object" ? Object.entries(maxWidth).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
30
- max-width: ${value};
31
- }`).join(" ") : `${maxWidth ? `max-width: ${maxWidth};` : ""}`}
32
- ${width && typeof width === "object" ? Object.entries(width).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
33
- width: ${value};
34
- }`).join(" ") : `${width ? `width: ${width};` : ""}`}
35
- ${flex && typeof flex === "object" ? Object.entries(flex).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
36
- flex: ${value};
37
- }`).join(" ") : `${flex ? `flex: ${flex};` : ""}`}
38
- ${alignItems && typeof alignItems === "object" ? Object.entries(alignItems).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
39
- align-items: ${value};
40
- }`).join(" ") : `${alignItems ? `align-items: ${alignItems};` : ""}`}
41
- ${justifyContent && typeof justifyContent === "object" ? Object.entries(justifyContent).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
42
- justify-content: ${value};
43
- }`).join(" ") : `${justifyContent ? `justify-content: ${justifyContent};` : ""}`}
44
- ${direction && typeof direction === "object" ? Object.entries(direction).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
45
- flex-direction: ${value};
46
- }`).join(" ") : `${direction ? `flex-direction: ${direction};` : ""}`}
47
-
48
- ${gap && typeof gap === "object" ? Object.entries(gap).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
49
- gap: ${theme.space[value.toString()]};
50
- }`).join(" ") : `${gap ? `gap: ${theme.space[gap]};` : ""}`}
51
- `, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3VpL3NyYy9jb21wb25lbnRzL1N0YWNrL2luZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE4RmMiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdWx0cmF2aW9sZXQvdWx0cmF2aW9sZXQvcGFja2FnZXMvdWkvc3JjL2NvbXBvbmVudHMvU3RhY2svaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBjbGllbnQnXG5cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHR5cGUgeyBDU1NQcm9wZXJ0aWVzLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCdcbmltcG9ydCB0eXBlIHsgVWx0cmF2aW9sZXRVSVRoZW1lIH0gZnJvbSAnLi4vLi4vdGhlbWUnXG5cbnR5cGUgU3RhY2tQcm9wcyA9IHtcbiAgZ2Fw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ZW9mIHdyYXAgPT09ICdvYmplY3QnXG4gICAgICAgID8gT2JqZWN0LmVudHJpZXMod3JhcClcbiAgICAgICAgICAgIC5tYXAoXG4gICAgICAgICAgICAgIChbYnJlYWtwb2ludCwgdmFsdWVdKSA9PlxuICAgICAgICAgICAgICAgIGBAbWVkaWEgKG1pbi13aWR0aDogJHt0aGVtZS5icmVha3BvaW50c1ticmVha3BvaW50IGFzIGtleW9mIFVsdHJhdmlvbGV0VUlUaGVtZVsnYnJlYWtwb2ludHMnXV19KSB7XG4gICAgICAgICAgICAgICBmbGV4LXdyYXA6ICR7dmFsdWV9O1xuICAgICAgICAgICAgICB9YCxcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC5qb2luKCcgJylcbiAgICAgICAgOiBgJHt3cmFwICYmIHR5cGVvZiB3cmFwICE9PSAnYm9vbGVhbicgPyBgZmxleC13cmFwOiAke3dyYXB9O2AgOiAnJ31gXG4gICAgfVxuICAgICR7XG4gICAgICBtaW5XaWR0aCAmJiB0eXBlb2YgbWluV2lkdGggPT09ICdvYmplY3QnXG4gICAgICAgID8gT2JqZWN0LmVudHJpZXMobWluV2lkdGgpXG4gICAgICAgICAgICAubWFwKFxuICAgICAgICAgICAgICAoW2JyZWFrcG9pbnQsIHZhbHVlXSkgPT5cbiAgICAgICAgICAgICAgICBgQG1lZGlhIChtaW4td2lkdGg6ICR7dGhlbWUuYnJlYWtwb2ludHNbYnJlYWtwb2ludCBhcyBrZXlvZiBVbHRyYXZpb2xldFVJVGhlbWVbJ2JyZWFrcG9pbnRzJ11dfSkge1xuICAgICAgICAgICAgICAgIG1pbi13aWR0aDogJHt2YWx1ZX07XG4gICAgICAgICAgICAgIH1gLFxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgLmpvaW4oJyAnKVxuICAgICAgICA6IGAke21pbldpZHRoID8gYG1pbi13aWR0aDogJHttaW5XaWR0aH07YCA6ICcnfWBcbiAgICB9XG4gICAgJHtcbiAgICAgIG1heFdpZHRoICYmIHR5cGVvZiBtYXhXaWR0aCA9PT0gJ29iamVjdCdcbiAgICAgICAgPyBPYmplY3QuZW50cmllcyhtYXhXaWR0aClcbiAgICAgICAgICAgIC5tYXAoXG4gICAgICAgICAgICAgIChbYnJlYWtwb2ludCwgdmFsdWVdKSA9PlxuICAgICAgICAgICAgICAgIGBAbWVkaWEgKG1pbi13aWR0aDogJHt0aGVtZS5icmVha3BvaW50c1ticmVha3BvaW50IGFzIGtleW9mIFVsdHJhdmlvbGV0VUlUaGVtZVsnYnJlYWtwb2ludHMnXV19KSB7XG4gICAgICAgICAgICAgICAgbWF4LXdpZHRoOiAke3ZhbHVlfTtcbiAgICAgICAgICAgICAgfWAsXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuam9pbignICcpXG4gICAgICAgIDogYCR7bWF4V2lkdGggPyBgbWF4LXdpZHRoOiAke21heFdpZHRofTtgIDogJyd9YFxuICAgIH1cbiAgICAke1xuICAgICAgd2lkdGggJiYgdHlwZW9mIHdpZHRoID09PSAnb2JqZWN0J1xuICAgICAgICA/IE9iamVjdC5lbnRyaWVzKHdpZHRoKVxuICAgICAgICAgICAgLm1hcChcbiAgICAgICAgICAgICAgKFticmVha3BvaW50LCB2YWx1ZV0pID0+XG4gICAgICAgICAgICAgICAgYEBtZWRpYSAobWluLXdpZHRoOiAke3RoZW1lLmJyZWFrcG9pbnRzW2JyZWFrcG9pbnQgYXMga2V5b2YgVWx0cmF2aW9sZXRVSVRoZW1lWydicmVha3BvaW50cyddXX0pIHtcbiAgICAgICAgICAgICAgICB3aWR0aDogJHt2YWx1ZX07XG4gICAgICAgICAgICAgIH1gLFxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgLmpvaW4oJyAnKVxuICAgICAgICA6IGAke3dpZHRoID8gYHdpZHRoOiAke3dpZHRofTtgIDogJyd9YFxuICAgIH1cbiAgICAke1xuICAgICAgZmxleCAmJiB0eXBlb2YgZmxleCA9PT0gJ29iamVjdCdcbiAgICAgICAgPyBPYmplY3QuZW50cmllcyhmbGV4KVxuICAgICAgICAgICAgLm1hcChcbiAgICAgICAgICAgICAgKFticmVha3BvaW50LCB2YWx1ZV0pID0+XG4gICAgICAgICAgICAgICAgYEBtZWRpYSAobWluLXdpZHRoOiAke3RoZW1lLmJyZWFrcG9pbnRzW2JyZWFrcG9pbnQgYXMga2V5b2YgVWx0cmF2aW9sZXRVSVRoZW1lWydicmVha3BvaW50cyddXX0pIHtcbiAgICAgICAgICAgICAgICBmbGV4OiAke3ZhbHVlfTtcbiAgICAgICAgICAgICAgfWAsXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuam9pbignICcpXG4gICAgICAgIDogYCR7ZmxleCA/IGBmbGV4OiAke2ZsZXh9O2AgOiAnJ31gXG4gICAgfVxuICAgICR7XG4gICAgICBhbGlnbkl0ZW1zICYmIHR5cGVvZiBhbGlnbkl0ZW1zID09PSAnb2JqZWN0J1xuICAgICAgICA/IE9iamVjdC5lbnRyaWVzKGFsaWduSXRlbXMpXG4gICAgICAgICAgICAubWFwKFxuICAgICAgICAgICAgICAoW2JyZWFrcG9pbnQsIHZhbHVlXSkgPT5cbiAgICAgICAgICAgICAgICBgQG1lZGlhIChtaW4td2lkdGg6ICR7dGhlbWUuYnJlYWtwb2ludHNbYnJlYWtwb2ludCBhcyBrZXlvZiBVbHRyYXZpb2xldFVJVGhlbWVbJ2JyZWFrcG9pbnRzJ11dfSkge1xuICAgICAgICAgICAgICAgIGFsaWduLWl0ZW1zOiAke3ZhbHVlfTtcbiAgICAgICAgICAgICAgfWAsXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuam9pbignICcpXG4gICAgICAgIDogYCR7YWxpZ25JdGVtcyA/IGBhbGlnbi1pdGVtczogJHthbGlnbkl0ZW1zfTtgIDogJyd9YFxuICAgIH1cbiAgICAke1xuICAgICAganVzdGlmeUNvbnRlbnQgJiYgdHlwZW9mIGp1c3RpZnlDb250ZW50ID09PSAnb2JqZWN0J1xuICAgICAgICA/IE9iamVjdC5lbnRyaWVzKGp1c3RpZnlDb250ZW50KVxuICAgICAgICAgICAgLm1hcChcbiAgICAgICAgICAgICAgKFticmVha3BvaW50LCB2YWx1ZV0pID0+XG4gICAgICAgICAgICAgICAgYEBtZWRpYSAobWluLXdpZHRoOiAke3RoZW1lLmJyZWFrcG9pbnRzW2JyZWFrcG9pbnQgYXMga2V5b2YgVWx0cmF2aW9sZXRVSVRoZW1lWydicmVha3BvaW50cyddXX0pIHtcbiAgICAgICAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6ICR7dmFsdWV9O1xuICAgICAgICAgICAgICB9YCxcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC5qb2luKCcgJylcbiAgICAgICAgOiBgJHtqdXN0aWZ5Q29udGVudCA/IGBqdXN0aWZ5LWNvbnRlbnQ6ICR7anVzdGlmeUNvbnRlbnR9O2AgOiAnJ31gXG4gICAgfVxuICAgICR7XG4gICAgICBkaXJlY3Rpb24gJiYgdHlwZW9mIGRpcmVjdGlvbiA9PT0gJ29iamVjdCdcbiAgICAgICAgPyBPYmplY3QuZW50cmllcyhkaXJlY3Rpb24pXG4gICAgICAgICAgICAubWFwKFxuICAgICAgICAgICAgICAoW2JyZWFrcG9pbnQsIHZhbHVlXSkgPT5cbiAgICAgICAgICAgICAgICBgQG1lZGlhIChtaW4td2lkdGg6ICR7dGhlbWUuYnJlYWtwb2ludHNbYnJlYWtwb2ludCBhcyBrZXlvZiBVbHRyYXZpb2xldFVJVGhlbWVbJ2JyZWFrcG9pbnRzJ11dfSkge1xuICAgICAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiAke3ZhbHVlfTtcbiAgICAgICAgICAgICAgfWAsXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuam9pbignICcpXG4gICAgICAgIDogYCR7ZGlyZWN0aW9uID8gYGZsZXgtZGlyZWN0aW9uOiAke2RpcmVjdGlvbn07YCA6ICcnfWBcbiAgICB9XG5cbiAgICAke1xuICAgICAgZ2FwICYmIHR5cGVvZiBnYXAgPT09ICdvYmplY3QnXG4gICAgICAgID8gT2JqZWN0LmVudHJpZXMoZ2FwKVxuICAgICAgICAgICAgLm1hcChcbiAgICAgICAgICAgICAgKFticmVha3BvaW50LCB2YWx1ZV0pID0+XG4gICAgICAgICAgICAgICAgYEBtZWRpYSAobWluLXdpZHRoOiAke3RoZW1lLmJyZWFrcG9pbnRzW2JyZWFrcG9pbnQgYXMga2V5b2YgVWx0cmF2aW9sZXRVSVRoZW1lWydicmVha3BvaW50cyddXX0pIHtcbiAgICAgICAgICAgICAgICBnYXA6ICR7dGhlbWUuc3BhY2VbdmFsdWUudG9TdHJpbmcoKSBhcyBrZXlvZiBVbHRyYXZpb2xldFVJVGhlbWVbJ3NwYWNlJ11dfTtcbiAgICAgICAgICAgICAgfWAsXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuam9pbignICcpXG4gICAgICAgIDogYCR7Z2FwID8gYGdhcDogJHt0aGVtZS5zcGFjZVtnYXAgYXMga2V5b2YgVWx0cmF2aW9sZXRVSVRoZW1lWydzcGFjZSddXX07YCA6ICcnfWBcbiAgICB9XG4gIGB9XG5gXG4iXX0= */"));
25
+ flex,
26
+ ref,
27
+ ...props
28
+ }) => {
29
+ const wrapValue = useMemo(() => {
30
+ if (typeof wrap === "boolean") {
31
+ return wrap ? "wrap" : "nowrap";
32
+ }
33
+ if (typeof wrap === "object") {
34
+ return Object.keys(wrap).reduce((acc, key) => ({
35
+ ...acc,
36
+ [key]: wrap[key] ? "wrap" : "nowrap"
37
+ }), {});
38
+ }
39
+ return wrap;
40
+ }, [wrap]);
41
+ return /* @__PURE__ */ jsx(
42
+ "div",
43
+ {
44
+ className: `${className ? `${className} ` : ""}${stack} ${sprinkles({
45
+ alignItems: typeof alignItems === "object" ? alignItems : {
46
+ xxsmall: alignItems
47
+ },
48
+ flexDirection: typeof direction === "object" ? direction : {
49
+ xxsmall: direction
50
+ },
51
+ flexWrap: typeof wrapValue === "object" ? wrapValue : {
52
+ xxsmall: wrapValue
53
+ },
54
+ gap: typeof gap === "object" ? mapRepsonsiveGap(gap) : {
55
+ xxsmall: gap ? consoleLightTheme.space[gap] : void 0
56
+ },
57
+ justifyContent: typeof justifyContent === "object" ? justifyContent : {
58
+ xxsmall: justifyContent
59
+ }
60
+ })}`,
61
+ "data-testid": dataTestId,
62
+ id,
63
+ ref,
64
+ style: assignInlineVars({
65
+ [widthVar]: width?.toString(),
66
+ [maxWidthVar]: maxWidth?.toString(),
67
+ [minWidthVar]: minWidth?.toString(),
68
+ [flexVar]: flex?.toString()
69
+ }),
70
+ ...props,
71
+ children
72
+ }
73
+ );
74
+ };
52
75
  export {
53
76
  Stack
54
77
  };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ ;/* empty css */
4
+ ;/* empty css */
5
+ const createRuntimeSprinkles = require("@vanilla-extract/sprinkles/createRuntimeSprinkles");
6
+ var stack = "uv_toi52u0";
7
+ var responsiveProperties = function() {
8
+ var x = { conditions: { defaultCondition: "xxsmall", conditionNames: ["xxsmall", "xsmall", "small", "medium", "large", "xlarge"], responsiveArray: ["xxsmall", "xsmall", "small", "medium", "large"] }, styles: { gap: { values: { "0rem": { conditions: { xxsmall: "uv_toi52u1", xsmall: "uv_toi52u2", small: "uv_toi52u3", medium: "uv_toi52u4", large: "uv_toi52u5", xlarge: "uv_toi52u6" }, defaultClass: "uv_toi52u1" }, "0.5rem": { conditions: { xxsmall: "uv_toi52u7", xsmall: "uv_toi52u8", small: "uv_toi52u9", medium: "uv_toi52ua", large: "uv_toi52ub", xlarge: "uv_toi52uc" }, defaultClass: "uv_toi52u7" }, "1rem": { conditions: { xxsmall: "uv_toi52ud", xsmall: "uv_toi52ue", small: "uv_toi52uf", medium: "uv_toi52ug", large: "uv_toi52uh", xlarge: "uv_toi52ui" }, defaultClass: "uv_toi52ud" }, "1.5rem": { conditions: { xxsmall: "uv_toi52uj", xsmall: "uv_toi52uk", small: "uv_toi52ul", medium: "uv_toi52um", large: "uv_toi52un", xlarge: "uv_toi52uo" }, defaultClass: "uv_toi52uj" }, "2rem": { conditions: { xxsmall: "uv_toi52up", xsmall: "uv_toi52uq", small: "uv_toi52ur", medium: "uv_toi52us", large: "uv_toi52ut", xlarge: "uv_toi52uu" }, defaultClass: "uv_toi52up" }, "2.5rem": { conditions: { xxsmall: "uv_toi52uv", xsmall: "uv_toi52uw", small: "uv_toi52ux", medium: "uv_toi52uy", large: "uv_toi52uz", xlarge: "uv_toi52u10" }, defaultClass: "uv_toi52uv" }, "3rem": { conditions: { xxsmall: "uv_toi52u11", xsmall: "uv_toi52u12", small: "uv_toi52u13", medium: "uv_toi52u14", large: "uv_toi52u15", xlarge: "uv_toi52u16" }, defaultClass: "uv_toi52u11" }, "3.5rem": { conditions: { xxsmall: "uv_toi52u17", xsmall: "uv_toi52u18", small: "uv_toi52u19", medium: "uv_toi52u1a", large: "uv_toi52u1b", xlarge: "uv_toi52u1c" }, defaultClass: "uv_toi52u17" }, "4rem": { conditions: { xxsmall: "uv_toi52u1d", xsmall: "uv_toi52u1e", small: "uv_toi52u1f", medium: "uv_toi52u1g", large: "uv_toi52u1h", xlarge: "uv_toi52u1i" }, defaultClass: "uv_toi52u1d" }, "4.5rem": { conditions: { xxsmall: "uv_toi52u1j", xsmall: "uv_toi52u1k", small: "uv_toi52u1l", medium: "uv_toi52u1m", large: "uv_toi52u1n", xlarge: "uv_toi52u1o" }, defaultClass: "uv_toi52u1j" }, "5rem": { conditions: { xxsmall: "uv_toi52u1p", xsmall: "uv_toi52u1q", small: "uv_toi52u1r", medium: "uv_toi52u1s", large: "uv_toi52u1t", xlarge: "uv_toi52u1u" }, defaultClass: "uv_toi52u1p" }, "0.25rem": { conditions: { xxsmall: "uv_toi52u1v", xsmall: "uv_toi52u1w", small: "uv_toi52u1x", medium: "uv_toi52u1y", large: "uv_toi52u1z", xlarge: "uv_toi52u20" }, defaultClass: "uv_toi52u1v" }, "0.125rem": { conditions: { xxsmall: "uv_toi52u21", xsmall: "uv_toi52u22", small: "uv_toi52u23", medium: "uv_toi52u24", large: "uv_toi52u25", xlarge: "uv_toi52u26" }, defaultClass: "uv_toi52u21" }, "0.75rem": { conditions: { xxsmall: "uv_toi52u27", xsmall: "uv_toi52u28", small: "uv_toi52u29", medium: "uv_toi52u2a", large: "uv_toi52u2b", xlarge: "uv_toi52u2c" }, defaultClass: "uv_toi52u27" } }, responsiveArray: void 0 }, flexDirection: { values: { column: { conditions: { xxsmall: "uv_toi52u2d", xsmall: "uv_toi52u2e", small: "uv_toi52u2f", medium: "uv_toi52u2g", large: "uv_toi52u2h", xlarge: "uv_toi52u2i" }, defaultClass: "uv_toi52u2d" }, row: { conditions: { xxsmall: "uv_toi52u2j", xsmall: "uv_toi52u2k", small: "uv_toi52u2l", medium: "uv_toi52u2m", large: "uv_toi52u2n", xlarge: "uv_toi52u2o" }, defaultClass: "uv_toi52u2j" }, "row-reverse": { conditions: { xxsmall: "uv_toi52u2p", xsmall: "uv_toi52u2q", small: "uv_toi52u2r", medium: "uv_toi52u2s", large: "uv_toi52u2t", xlarge: "uv_toi52u2u" }, defaultClass: "uv_toi52u2p" }, "column-reverse": { conditions: { xxsmall: "uv_toi52u2v", xsmall: "uv_toi52u2w", small: "uv_toi52u2x", medium: "uv_toi52u2y", large: "uv_toi52u2z", xlarge: "uv_toi52u30" }, defaultClass: "uv_toi52u2v" } }, responsiveArray: void 0 }, alignItems: { values: { normal: { conditions: { xxsmall: "uv_toi52u31", xsmall: "uv_toi52u32", small: "uv_toi52u33", medium: "uv_toi52u34", large: "uv_toi52u35", xlarge: "uv_toi52u36" }, defaultClass: "uv_toi52u31" }, stretch: { conditions: { xxsmall: "uv_toi52u37", xsmall: "uv_toi52u38", small: "uv_toi52u39", medium: "uv_toi52u3a", large: "uv_toi52u3b", xlarge: "uv_toi52u3c" }, defaultClass: "uv_toi52u37" }, center: { conditions: { xxsmall: "uv_toi52u3d", xsmall: "uv_toi52u3e", small: "uv_toi52u3f", medium: "uv_toi52u3g", large: "uv_toi52u3h", xlarge: "uv_toi52u3i" }, defaultClass: "uv_toi52u3d" }, start: { conditions: { xxsmall: "uv_toi52u3j", xsmall: "uv_toi52u3k", small: "uv_toi52u3l", medium: "uv_toi52u3m", large: "uv_toi52u3n", xlarge: "uv_toi52u3o" }, defaultClass: "uv_toi52u3j" }, end: { conditions: { xxsmall: "uv_toi52u3p", xsmall: "uv_toi52u3q", small: "uv_toi52u3r", medium: "uv_toi52u3s", large: "uv_toi52u3t", xlarge: "uv_toi52u3u" }, defaultClass: "uv_toi52u3p" }, "flex-start": { conditions: { xxsmall: "uv_toi52u3v", xsmall: "uv_toi52u3w", small: "uv_toi52u3x", medium: "uv_toi52u3y", large: "uv_toi52u3z", xlarge: "uv_toi52u40" }, defaultClass: "uv_toi52u3v" }, "flex-end": { conditions: { xxsmall: "uv_toi52u41", xsmall: "uv_toi52u42", small: "uv_toi52u43", medium: "uv_toi52u44", large: "uv_toi52u45", xlarge: "uv_toi52u46" }, defaultClass: "uv_toi52u41" }, "self-start": { conditions: { xxsmall: "uv_toi52u47", xsmall: "uv_toi52u48", small: "uv_toi52u49", medium: "uv_toi52u4a", large: "uv_toi52u4b", xlarge: "uv_toi52u4c" }, defaultClass: "uv_toi52u47" }, "self-end": { conditions: { xxsmall: "uv_toi52u4d", xsmall: "uv_toi52u4e", small: "uv_toi52u4f", medium: "uv_toi52u4g", large: "uv_toi52u4h", xlarge: "uv_toi52u4i" }, defaultClass: "uv_toi52u4d" }, baseline: { conditions: { xxsmall: "uv_toi52u4j", xsmall: "uv_toi52u4k", small: "uv_toi52u4l", medium: "uv_toi52u4m", large: "uv_toi52u4n", xlarge: "uv_toi52u4o" }, defaultClass: "uv_toi52u4j" }, "first baseline": { conditions: { xxsmall: "uv_toi52u4p", xsmall: "uv_toi52u4q", small: "uv_toi52u4r", medium: "uv_toi52u4s", large: "uv_toi52u4t", xlarge: "uv_toi52u4u" }, defaultClass: "uv_toi52u4p" }, "last baseline": { conditions: { xxsmall: "uv_toi52u4v", xsmall: "uv_toi52u4w", small: "uv_toi52u4x", medium: "uv_toi52u4y", large: "uv_toi52u4z", xlarge: "uv_toi52u50" }, defaultClass: "uv_toi52u4v" }, "safe center": { conditions: { xxsmall: "uv_toi52u51", xsmall: "uv_toi52u52", small: "uv_toi52u53", medium: "uv_toi52u54", large: "uv_toi52u55", xlarge: "uv_toi52u56" }, defaultClass: "uv_toi52u51" }, "unsafe center": { conditions: { xxsmall: "uv_toi52u57", xsmall: "uv_toi52u58", small: "uv_toi52u59", medium: "uv_toi52u5a", large: "uv_toi52u5b", xlarge: "uv_toi52u5c" }, defaultClass: "uv_toi52u57" } }, responsiveArray: void 0 }, justifyContent: { values: { normal: { conditions: { xxsmall: "uv_toi52u5d", xsmall: "uv_toi52u5e", small: "uv_toi52u5f", medium: "uv_toi52u5g", large: "uv_toi52u5h", xlarge: "uv_toi52u5i" }, defaultClass: "uv_toi52u5d" }, center: { conditions: { xxsmall: "uv_toi52u5j", xsmall: "uv_toi52u5k", small: "uv_toi52u5l", medium: "uv_toi52u5m", large: "uv_toi52u5n", xlarge: "uv_toi52u5o" }, defaultClass: "uv_toi52u5j" }, start: { conditions: { xxsmall: "uv_toi52u5p", xsmall: "uv_toi52u5q", small: "uv_toi52u5r", medium: "uv_toi52u5s", large: "uv_toi52u5t", xlarge: "uv_toi52u5u" }, defaultClass: "uv_toi52u5p" }, end: { conditions: { xxsmall: "uv_toi52u5v", xsmall: "uv_toi52u5w", small: "uv_toi52u5x", medium: "uv_toi52u5y", large: "uv_toi52u5z", xlarge: "uv_toi52u60" }, defaultClass: "uv_toi52u5v" }, "flex-start": { conditions: { xxsmall: "uv_toi52u61", xsmall: "uv_toi52u62", small: "uv_toi52u63", medium: "uv_toi52u64", large: "uv_toi52u65", xlarge: "uv_toi52u66" }, defaultClass: "uv_toi52u61" }, "flex-end": { conditions: { xxsmall: "uv_toi52u67", xsmall: "uv_toi52u68", small: "uv_toi52u69", medium: "uv_toi52u6a", large: "uv_toi52u6b", xlarge: "uv_toi52u6c" }, defaultClass: "uv_toi52u67" }, left: { conditions: { xxsmall: "uv_toi52u6d", xsmall: "uv_toi52u6e", small: "uv_toi52u6f", medium: "uv_toi52u6g", large: "uv_toi52u6h", xlarge: "uv_toi52u6i" }, defaultClass: "uv_toi52u6d" }, right: { conditions: { xxsmall: "uv_toi52u6j", xsmall: "uv_toi52u6k", small: "uv_toi52u6l", medium: "uv_toi52u6m", large: "uv_toi52u6n", xlarge: "uv_toi52u6o" }, defaultClass: "uv_toi52u6j" }, "space-between": { conditions: { xxsmall: "uv_toi52u6p", xsmall: "uv_toi52u6q", small: "uv_toi52u6r", medium: "uv_toi52u6s", large: "uv_toi52u6t", xlarge: "uv_toi52u6u" }, defaultClass: "uv_toi52u6p" }, "space-around": { conditions: { xxsmall: "uv_toi52u6v", xsmall: "uv_toi52u6w", small: "uv_toi52u6x", medium: "uv_toi52u6y", large: "uv_toi52u6z", xlarge: "uv_toi52u70" }, defaultClass: "uv_toi52u6v" }, "space-evenly": { conditions: { xxsmall: "uv_toi52u71", xsmall: "uv_toi52u72", small: "uv_toi52u73", medium: "uv_toi52u74", large: "uv_toi52u75", xlarge: "uv_toi52u76" }, defaultClass: "uv_toi52u71" }, stretch: { conditions: { xxsmall: "uv_toi52u77", xsmall: "uv_toi52u78", small: "uv_toi52u79", medium: "uv_toi52u7a", large: "uv_toi52u7b", xlarge: "uv_toi52u7c" }, defaultClass: "uv_toi52u77" } }, responsiveArray: void 0 }, flexWrap: { values: { nowrap: { conditions: { xxsmall: "uv_toi52u7d", xsmall: "uv_toi52u7e", small: "uv_toi52u7f", medium: "uv_toi52u7g", large: "uv_toi52u7h", xlarge: "uv_toi52u7i" }, defaultClass: "uv_toi52u7d" }, wrap: { conditions: { xxsmall: "uv_toi52u7j", xsmall: "uv_toi52u7k", small: "uv_toi52u7l", medium: "uv_toi52u7m", large: "uv_toi52u7n", xlarge: "uv_toi52u7o" }, defaultClass: "uv_toi52u7j" }, "wrap-reverse": { conditions: { xxsmall: "uv_toi52u7p", xsmall: "uv_toi52u7q", small: "uv_toi52u7r", medium: "uv_toi52u7s", large: "uv_toi52u7t", xlarge: "uv_toi52u7u" }, defaultClass: "uv_toi52u7p" } }, responsiveArray: void 0 } } };
9
+ x.styles.gap.responsiveArray = x.conditions.responsiveArray;
10
+ x.styles.flexDirection.responsiveArray = x.conditions.responsiveArray;
11
+ x.styles.alignItems.responsiveArray = x.conditions.responsiveArray;
12
+ x.styles.justifyContent.responsiveArray = x.conditions.responsiveArray;
13
+ x.styles.flexWrap.responsiveArray = x.conditions.responsiveArray;
14
+ return x;
15
+ }();
16
+ var sprinkles = createRuntimeSprinkles.createSprinkles(responsiveProperties);
17
+ exports.responsiveProperties = responsiveProperties;
18
+ exports.sprinkles = sprinkles;
19
+ exports.stack = stack;