@soroush.tech/styled-system 6.0.0-alpha.0 → 6.0.0-alpha.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 (65) hide show
  1. package/dist/background.d.cts +2 -2
  2. package/dist/background.d.mts +2 -2
  3. package/dist/border.d.cts +2 -2
  4. package/dist/border.d.mts +2 -2
  5. package/dist/color.d.cts +2 -2
  6. package/dist/color.d.mts +2 -2
  7. package/dist/core.cjs +13 -16
  8. package/dist/core.mjs +13 -16
  9. package/dist/flexbox.d.cts +2 -2
  10. package/dist/flexbox.d.mts +2 -2
  11. package/dist/{grid-CYjL4-gb.mjs → grid-BdKZQBHF.mjs} +16 -7
  12. package/dist/{grid-BlMUPDJM.cjs → grid-CAlwl8LZ.cjs} +16 -7
  13. package/dist/grid.cjs +1 -1
  14. package/dist/grid.d.cts +2 -2
  15. package/dist/grid.d.mts +2 -2
  16. package/dist/grid.mjs +1 -1
  17. package/dist/{index-aRomguCQ.d.mts → index-BCO1q3Ee.d.mts} +1 -1
  18. package/dist/{index-Csbxj8Yo.d.cts → index-BgcnUGws.d.cts} +1 -1
  19. package/dist/{index-90_abc05.d.mts → index-BiZPbJuj.d.mts} +1 -1
  20. package/dist/{index-D5xp7RWT.d.cts → index-BolQQ69W.d.cts} +1 -1
  21. package/dist/{index-BmyL5qR7.d.cts → index-Bq7LA-5J.d.cts} +1 -1
  22. package/dist/{index-CgJzEbXW.d.cts → index-C4BUuCOD.d.cts} +1 -1
  23. package/dist/{index-MbcUN6uf.d.mts → index-CV2xW58U.d.mts} +1 -1
  24. package/dist/{index-DKz4zEeT.d.mts → index-CVxHdrQd.d.mts} +1 -1
  25. package/dist/{index-CQyvhO-h.d.cts → index-CXOIz3b_.d.cts} +1 -1
  26. package/dist/{index-nfjmLzHF.d.mts → index-CkSwZa-Z.d.mts} +1 -1
  27. package/dist/{index-C1IdMVtQ.d.mts → index-Cnya5hgU.d.mts} +1 -1
  28. package/dist/{index-ClbGlQxq.d.mts → index-Cow4kTN2.d.mts} +1 -1
  29. package/dist/{index-D7IZ8-Zq.d.mts → index-Cy51GZK8.d.mts} +11 -6
  30. package/dist/{index-pzogdlkS.d.mts → index-DBX-YuCP.d.mts} +1 -1
  31. package/dist/{index-D2v_oJEm.d.cts → index-DJw2NCm-.d.cts} +1 -1
  32. package/dist/{index-Bwpwvg1h.d.cts → index-DS5tvdki.d.cts} +1 -1
  33. package/dist/{index-CXK27dY_.d.cts → index-DrwsZZkS.d.cts} +11 -6
  34. package/dist/{index-ByDfI1go.d.cts → index-MqRHkwxm.d.cts} +1 -1
  35. package/dist/{index-BQPI7z-B.d.mts → index-k5b5FR_o.d.mts} +1 -1
  36. package/dist/{index-D1mRMWDm.d.cts → index-o6j0bywN.d.cts} +1 -1
  37. package/dist/{index-Bxh1FNcS.d.cts → index-ygAGm7QY.d.cts} +1 -1
  38. package/dist/{index-CQWZd4iQ.d.mts → index-z2p2DCxL.d.mts} +1 -1
  39. package/dist/index.cjs +1 -1
  40. package/dist/index.d.cts +12 -12
  41. package/dist/index.d.mts +12 -12
  42. package/dist/index.mjs +1 -1
  43. package/dist/layout.d.cts +2 -2
  44. package/dist/layout.d.mts +2 -2
  45. package/dist/position.d.cts +2 -2
  46. package/dist/position.d.mts +2 -2
  47. package/dist/{presets-DsxPfpSE.mjs → presets-DtE_nRxp.mjs} +1 -1
  48. package/dist/{presets-KURYP1_7.cjs → presets-fJFZ74qt.cjs} +1 -1
  49. package/dist/prop-types.cjs +1 -1
  50. package/dist/prop-types.mjs +1 -1
  51. package/dist/props.cjs +1 -1
  52. package/dist/props.mjs +1 -1
  53. package/dist/shadow.d.cts +2 -2
  54. package/dist/shadow.d.mts +2 -2
  55. package/dist/should-forward-prop.cjs +1 -1
  56. package/dist/should-forward-prop.mjs +1 -1
  57. package/dist/space.d.cts +2 -2
  58. package/dist/space.d.mts +2 -2
  59. package/dist/{types-Cv5WjcVA.d.cts → types-C4ogGxde.d.cts} +10 -9
  60. package/dist/{types-Cv5WjcVA.d.mts → types-C4ogGxde.d.mts} +10 -9
  61. package/dist/typography.d.cts +2 -2
  62. package/dist/typography.d.mts +2 -2
  63. package/dist/variant.d.cts +2 -2
  64. package/dist/variant.d.mts +2 -2
  65. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
- import { t as background } from "./index-Bwpwvg1h.cjs";
2
- import { c as BackgroundProps, l as BackgroundRepeatProps, o as BackgroundImageProps, s as BackgroundPositionProps, u as BackgroundSizeProps } from "./types-Cv5WjcVA.cjs";
1
+ import { t as background } from "./index-DS5tvdki.cjs";
2
+ import { c as BackgroundProps, l as BackgroundRepeatProps, o as BackgroundImageProps, s as BackgroundPositionProps, u as BackgroundSizeProps } from "./types-C4ogGxde.cjs";
3
3
  export { type BackgroundImageProps, type BackgroundPositionProps, type BackgroundProps, type BackgroundRepeatProps, type BackgroundSizeProps, background, background as default };
@@ -1,3 +1,3 @@
1
- import { t as background } from "./index-DKz4zEeT.mjs";
2
- import { c as BackgroundProps, l as BackgroundRepeatProps, o as BackgroundImageProps, s as BackgroundPositionProps, u as BackgroundSizeProps } from "./types-Cv5WjcVA.mjs";
1
+ import { t as background } from "./index-CVxHdrQd.mjs";
2
+ import { c as BackgroundProps, l as BackgroundRepeatProps, o as BackgroundImageProps, s as BackgroundPositionProps, u as BackgroundSizeProps } from "./types-C4ogGxde.mjs";
3
3
  export { type BackgroundImageProps, type BackgroundPositionProps, type BackgroundProps, type BackgroundRepeatProps, type BackgroundSizeProps, background, background as default };
package/dist/border.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { _ as BorderStyleProps, d as BorderBottomProps, f as BorderColorProps, g as BorderRightProps, h as BorderRadiusProps, m as BorderProps, p as BorderLeftProps, v as BorderTopProps, y as BorderWidthProps } from "./types-Cv5WjcVA.cjs";
2
- import { t as border } from "./index-D5xp7RWT.cjs";
1
+ import { _ as BorderStyleProps, d as BorderBottomProps, f as BorderColorProps, g as BorderRightProps, h as BorderRadiusProps, m as BorderProps, p as BorderLeftProps, v as BorderTopProps, y as BorderWidthProps } from "./types-C4ogGxde.cjs";
2
+ import { t as border } from "./index-BolQQ69W.cjs";
3
3
  export { type BorderBottomProps, type BorderColorProps, type BorderLeftProps, type BorderProps, type BorderRadiusProps, type BorderRightProps, type BorderStyleProps, type BorderTopProps, type BorderWidthProps, border, border as default };
package/dist/border.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { _ as BorderStyleProps, d as BorderBottomProps, f as BorderColorProps, g as BorderRightProps, h as BorderRadiusProps, m as BorderProps, p as BorderLeftProps, v as BorderTopProps, y as BorderWidthProps } from "./types-Cv5WjcVA.mjs";
2
- import { t as border } from "./index-CQWZd4iQ.mjs";
1
+ import { _ as BorderStyleProps, d as BorderBottomProps, f as BorderColorProps, g as BorderRightProps, h as BorderRadiusProps, m as BorderProps, p as BorderLeftProps, v as BorderTopProps, y as BorderWidthProps } from "./types-C4ogGxde.mjs";
2
+ import { t as border } from "./index-z2p2DCxL.mjs";
3
3
  export { type BorderBottomProps, type BorderColorProps, type BorderLeftProps, type BorderProps, type BorderRadiusProps, type BorderRightProps, type BorderStyleProps, type BorderTopProps, type BorderWidthProps, border, border as default };
package/dist/color.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { Mt as TextColorProps, a as BackgroundColorProps, ht as OpacityProps, w as ColorProps } from "./types-Cv5WjcVA.cjs";
2
- import { t as color } from "./index-ByDfI1go.cjs";
1
+ import { Mt as TextColorProps, a as BackgroundColorProps, ht as OpacityProps, w as ColorProps } from "./types-C4ogGxde.cjs";
2
+ import { t as color } from "./index-MqRHkwxm.cjs";
3
3
  export { type BackgroundColorProps, type ColorProps, type OpacityProps, type TextColorProps, color, color as default };
package/dist/color.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { Mt as TextColorProps, a as BackgroundColorProps, ht as OpacityProps, w as ColorProps } from "./types-Cv5WjcVA.mjs";
2
- import { t as color } from "./index-90_abc05.mjs";
1
+ import { Mt as TextColorProps, a as BackgroundColorProps, ht as OpacityProps, w as ColorProps } from "./types-C4ogGxde.mjs";
2
+ import { t as color } from "./index-BiZPbJuj.mjs";
3
3
  export { type BackgroundColorProps, type ColorProps, type OpacityProps, type TextColorProps, color, color as default };
package/dist/core.cjs CHANGED
@@ -56,33 +56,30 @@ const parseResponsiveObject = (keyed, sx, scale, raw, props) => {
56
56
  }
57
57
  return styles;
58
58
  };
59
+ const queriesFor = (cache, theme) => {
60
+ const breakpoints = get(theme, "breakpoints", defaults.breakpoints);
61
+ if (theme?.disableStyledSystemCache || cache.breakpoints !== breakpoints || !cache.queries) {
62
+ cache.breakpoints = breakpoints;
63
+ cache.queries = require_media.responsiveQueries(breakpoints);
64
+ }
65
+ return cache.queries;
66
+ };
59
67
  const createParser = (config) => {
60
68
  const cache = {};
61
69
  const parse = ((props) => {
62
70
  let styles = {};
63
71
  let shouldSort = false;
64
- const isCacheDisabled = props.theme?.disableStyledSystemCache;
65
72
  for (const key in props) {
66
73
  if (!config[key]) continue;
67
74
  const sx = config[key];
68
75
  const raw = props[key];
69
76
  const scale = get(props.theme, sx.scale, sx.defaults);
70
77
  if (typeof raw === "object") {
71
- const breakpoints = get(props.theme, "breakpoints", defaults.breakpoints);
72
- if (isCacheDisabled || cache.breakpoints !== breakpoints || !cache.queries) {
73
- cache.breakpoints = breakpoints;
74
- cache.queries = require_media.responsiveQueries(breakpoints);
75
- }
76
- const queries = cache.queries;
77
- if (Array.isArray(raw)) {
78
- styles = merge(styles, parseResponsiveStyle(queries.array, sx, scale, raw, props));
79
- shouldSort = true;
80
- continue;
81
- }
82
- if (raw !== null) {
83
- styles = merge(styles, parseResponsiveObject(queries.keyed, sx, scale, raw, props));
84
- shouldSort = true;
85
- }
78
+ if (raw === null) continue;
79
+ const { array, keyed } = queriesFor(cache, props.theme);
80
+ const responsive = Array.isArray(raw) ? parseResponsiveStyle(array, sx, scale, raw, props) : parseResponsiveObject(keyed, sx, scale, raw, props);
81
+ styles = merge(styles, responsive);
82
+ shouldSort = true;
86
83
  continue;
87
84
  }
88
85
  Object.assign(styles, sx(raw, scale, props));
package/dist/core.mjs CHANGED
@@ -55,33 +55,30 @@ const parseResponsiveObject = (keyed, sx, scale, raw, props) => {
55
55
  }
56
56
  return styles;
57
57
  };
58
+ const queriesFor = (cache, theme) => {
59
+ const breakpoints = get(theme, "breakpoints", defaults.breakpoints);
60
+ if (theme?.disableStyledSystemCache || cache.breakpoints !== breakpoints || !cache.queries) {
61
+ cache.breakpoints = breakpoints;
62
+ cache.queries = responsiveQueries(breakpoints);
63
+ }
64
+ return cache.queries;
65
+ };
58
66
  const createParser = (config) => {
59
67
  const cache = {};
60
68
  const parse = ((props) => {
61
69
  let styles = {};
62
70
  let shouldSort = false;
63
- const isCacheDisabled = props.theme?.disableStyledSystemCache;
64
71
  for (const key in props) {
65
72
  if (!config[key]) continue;
66
73
  const sx = config[key];
67
74
  const raw = props[key];
68
75
  const scale = get(props.theme, sx.scale, sx.defaults);
69
76
  if (typeof raw === "object") {
70
- const breakpoints = get(props.theme, "breakpoints", defaults.breakpoints);
71
- if (isCacheDisabled || cache.breakpoints !== breakpoints || !cache.queries) {
72
- cache.breakpoints = breakpoints;
73
- cache.queries = responsiveQueries(breakpoints);
74
- }
75
- const queries = cache.queries;
76
- if (Array.isArray(raw)) {
77
- styles = merge(styles, parseResponsiveStyle(queries.array, sx, scale, raw, props));
78
- shouldSort = true;
79
- continue;
80
- }
81
- if (raw !== null) {
82
- styles = merge(styles, parseResponsiveObject(queries.keyed, sx, scale, raw, props));
83
- shouldSort = true;
84
- }
77
+ if (raw === null) continue;
78
+ const { array, keyed } = queriesFor(cache, props.theme);
79
+ const responsive = Array.isArray(raw) ? parseResponsiveStyle(array, sx, scale, raw, props) : parseResponsiveObject(keyed, sx, scale, raw, props);
80
+ styles = merge(styles, responsive);
81
+ shouldSort = true;
85
82
  continue;
86
83
  }
87
84
  Object.assign(styles, sx(raw, scale, props));
@@ -1,3 +1,3 @@
1
- import { A as FlexDirectionProps, F as FlexboxProps, M as FlexProps, N as FlexShrinkProps, P as FlexWrapProps, gt as OrderProps, j as FlexGrowProps, k as FlexBasisProps, n as AlignItemsProps, nt as JustifyItemsProps, r as AlignSelfProps, rt as JustifySelfProps, t as AlignContentProps, tt as JustifyContentProps } from "./types-Cv5WjcVA.cjs";
2
- import { t as flexbox } from "./index-CQyvhO-h.cjs";
1
+ import { A as FlexDirectionProps, F as FlexboxProps, M as FlexProps, N as FlexShrinkProps, P as FlexWrapProps, gt as OrderProps, j as FlexGrowProps, k as FlexBasisProps, n as AlignItemsProps, nt as JustifyItemsProps, r as AlignSelfProps, rt as JustifySelfProps, t as AlignContentProps, tt as JustifyContentProps } from "./types-C4ogGxde.cjs";
2
+ import { t as flexbox } from "./index-CXOIz3b_.cjs";
3
3
  export { type AlignContentProps, type AlignItemsProps, type AlignSelfProps, type FlexBasisProps, type FlexDirectionProps, type FlexGrowProps, type FlexProps, type FlexShrinkProps, type FlexWrapProps, type FlexboxProps, type JustifyContentProps, type JustifyItemsProps, type JustifySelfProps, type OrderProps, flexbox as default, flexbox };
@@ -1,3 +1,3 @@
1
- import { A as FlexDirectionProps, F as FlexboxProps, M as FlexProps, N as FlexShrinkProps, P as FlexWrapProps, gt as OrderProps, j as FlexGrowProps, k as FlexBasisProps, n as AlignItemsProps, nt as JustifyItemsProps, r as AlignSelfProps, rt as JustifySelfProps, t as AlignContentProps, tt as JustifyContentProps } from "./types-Cv5WjcVA.mjs";
2
- import { t as flexbox } from "./index-aRomguCQ.mjs";
1
+ import { A as FlexDirectionProps, F as FlexboxProps, M as FlexProps, N as FlexShrinkProps, P as FlexWrapProps, gt as OrderProps, j as FlexGrowProps, k as FlexBasisProps, n as AlignItemsProps, nt as JustifyItemsProps, r as AlignSelfProps, rt as JustifySelfProps, t as AlignContentProps, tt as JustifyContentProps } from "./types-C4ogGxde.mjs";
2
+ import { t as flexbox } from "./index-BCO1q3Ee.mjs";
3
3
  export { type AlignContentProps, type AlignItemsProps, type AlignSelfProps, type FlexBasisProps, type FlexDirectionProps, type FlexGrowProps, type FlexProps, type FlexShrinkProps, type FlexWrapProps, type FlexboxProps, type JustifyContentProps, type JustifyItemsProps, type JustifySelfProps, type OrderProps, flexbox as default, flexbox };
@@ -61,15 +61,20 @@ const declarations = (theme, display, entry) => {
61
61
  };
62
62
  /**
63
63
  * The layout grid from `theme.layout`, per breakpoint: each breakpoint's `content` (columns,
64
- * margin, gutter, fluid or fixed), inherited mobile-first. An entry in `value` replaces the
65
- * theme's at the breakpoint it names only; the next breakpoint is back to the theme. Every
66
- * written block carries the full set, so no block inherits a stale `max-width`.
64
+ * margin, gutter, fluid or fixed), inherited mobile-first. A field in `value` replaces the
65
+ * theme's at every breakpoint (`{ gutter: 8 }`); an entry under a breakpoint name replaces it
66
+ * there only, on top of those fields (`{ gutter: 8, md: { columns: 6 } }`), and the next
67
+ * breakpoint is back to the theme. Every written block carries the full set, so no block
68
+ * inherits a stale `max-width`.
67
69
  */
68
70
  const layoutGridStyles = (theme, value, display = "grid") => {
69
71
  if (!value) return {};
70
72
  const breakpoints = get(theme, "breakpoints", {});
71
73
  const layout = get(theme, "layout", {});
72
- const overrides = typeof value === "object" ? value : {};
74
+ const fields = typeof value === "object" ? Object.entries(value) : [];
75
+ const everywhere = Object.fromEntries(fields.filter(([, field]) => typeof field !== "object"));
76
+ const overrides = Object.fromEntries(fields.filter(([, field]) => typeof field === "object"));
77
+ const hasEverywhere = Object.keys(everywhere).length > 0;
73
78
  const { keyed } = responsiveQueries(breakpoints);
74
79
  const styles = display === "grid" ? { display: "grid" } : {
75
80
  display: "flex",
@@ -80,7 +85,11 @@ const layoutGridStyles = (theme, value, display = "grid") => {
80
85
  let overridden = false;
81
86
  for (const key of Object.keys(breakpoints)) {
82
87
  const layer = layout[key]?.content;
83
- const override = Object.hasOwn(overrides, key) ? overrides[key] : void 0;
88
+ const named = Object.hasOwn(overrides, key) ? overrides[key] : void 0;
89
+ const override = hasEverywhere || named ? {
90
+ ...everywhere,
91
+ ...named
92
+ } : void 0;
84
93
  themed = {
85
94
  ...themed,
86
95
  ...layer
@@ -108,8 +117,8 @@ const layoutGrid = layoutParser("grid");
108
117
  /** The `layout` prop on a flex container: a wrapping row with the same gutter and margin. */
109
118
  const layoutFlex = layoutParser("flex");
110
119
  const flexSpan = (n) => {
111
- const columns = "var(--layout-columns, 1)";
112
- const gutter = "var(--layout-gutter, 0px)";
120
+ const columns = "var(--layout-columns)";
121
+ const gutter = "var(--layout-gutter)";
113
122
  return `0 0 calc((100% - (${columns} - 1) * ${gutter}) / ${columns} * ${n} + ${n - 1} * ${gutter})`;
114
123
  };
115
124
  /**
@@ -62,15 +62,20 @@ const declarations = (theme, display, entry) => {
62
62
  };
63
63
  /**
64
64
  * The layout grid from `theme.layout`, per breakpoint: each breakpoint's `content` (columns,
65
- * margin, gutter, fluid or fixed), inherited mobile-first. An entry in `value` replaces the
66
- * theme's at the breakpoint it names only; the next breakpoint is back to the theme. Every
67
- * written block carries the full set, so no block inherits a stale `max-width`.
65
+ * margin, gutter, fluid or fixed), inherited mobile-first. A field in `value` replaces the
66
+ * theme's at every breakpoint (`{ gutter: 8 }`); an entry under a breakpoint name replaces it
67
+ * there only, on top of those fields (`{ gutter: 8, md: { columns: 6 } }`), and the next
68
+ * breakpoint is back to the theme. Every written block carries the full set, so no block
69
+ * inherits a stale `max-width`.
68
70
  */
69
71
  const layoutGridStyles = (theme, value, display = "grid") => {
70
72
  if (!value) return {};
71
73
  const breakpoints = require_core.get(theme, "breakpoints", {});
72
74
  const layout = require_core.get(theme, "layout", {});
73
- const overrides = typeof value === "object" ? value : {};
75
+ const fields = typeof value === "object" ? Object.entries(value) : [];
76
+ const everywhere = Object.fromEntries(fields.filter(([, field]) => typeof field !== "object"));
77
+ const overrides = Object.fromEntries(fields.filter(([, field]) => typeof field === "object"));
78
+ const hasEverywhere = Object.keys(everywhere).length > 0;
74
79
  const { keyed } = require_media.responsiveQueries(breakpoints);
75
80
  const styles = display === "grid" ? { display: "grid" } : {
76
81
  display: "flex",
@@ -81,7 +86,11 @@ const layoutGridStyles = (theme, value, display = "grid") => {
81
86
  let overridden = false;
82
87
  for (const key of Object.keys(breakpoints)) {
83
88
  const layer = layout[key]?.content;
84
- const override = Object.hasOwn(overrides, key) ? overrides[key] : void 0;
89
+ const named = Object.hasOwn(overrides, key) ? overrides[key] : void 0;
90
+ const override = hasEverywhere || named ? {
91
+ ...everywhere,
92
+ ...named
93
+ } : void 0;
85
94
  themed = {
86
95
  ...themed,
87
96
  ...layer
@@ -109,8 +118,8 @@ const layoutGrid = layoutParser("grid");
109
118
  /** The `layout` prop on a flex container: a wrapping row with the same gutter and margin. */
110
119
  const layoutFlex = layoutParser("flex");
111
120
  const flexSpan = (n) => {
112
- const columns = "var(--layout-columns, 1)";
113
- const gutter = "var(--layout-gutter, 0px)";
121
+ const columns = "var(--layout-columns)";
122
+ const gutter = "var(--layout-gutter)";
114
123
  return `0 0 calc((100% - (${columns} - 1) * ${gutter}) / ${columns} * ${n} + ${n - 1} * ${gutter})`;
115
124
  };
116
125
  /**
package/dist/grid.cjs CHANGED
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_grid = require("./grid-BlMUPDJM.cjs");
5
+ const require_grid = require("./grid-CAlwl8LZ.cjs");
6
6
  exports.default = require_grid.grid;
7
7
  exports.grid = require_grid.grid;
8
8
  exports.layoutFlex = require_grid.layoutFlex;
package/dist/grid.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as GridTemplateRowsProps, G as GridColumnGapProps, H as GridAutoColumnsProps, J as GridProps, K as GridColumnProps, Ot as SpanProps, Q as GridTemplateColumnsProps, U as GridAutoFlowProps, V as GridAreaProps, W as GridAutoRowsProps, X as GridRowProps, Y as GridRowGapProps, Z as GridTemplateAreasProps, it as LayoutGridProps, q as GridGapProps } from "./types-Cv5WjcVA.cjs";
2
- import { a as layoutGrid, c as grid, i as layoutFlex, n as LayoutGridEntry, o as layoutGridStyles, r as LayoutGridValue, s as span, t as LayoutGridDisplay } from "./index-CXK27dY_.cjs";
1
+ import { $ as GridTemplateRowsProps, G as GridColumnGapProps, H as GridAutoColumnsProps, J as GridProps, K as GridColumnProps, Ot as SpanProps, Q as GridTemplateColumnsProps, U as GridAutoFlowProps, V as GridAreaProps, W as GridAutoRowsProps, X as GridRowProps, Y as GridRowGapProps, Z as GridTemplateAreasProps, it as LayoutGridProps, q as GridGapProps } from "./types-C4ogGxde.cjs";
2
+ import { a as layoutGrid, c as grid, i as layoutFlex, n as LayoutGridEntry, o as layoutGridStyles, r as LayoutGridValue, s as span, t as LayoutGridDisplay } from "./index-DrwsZZkS.cjs";
3
3
  export { type GridAreaProps, type GridAutoColumnsProps, type GridAutoFlowProps, type GridAutoRowsProps, type GridColumnGapProps, type GridColumnProps, type GridGapProps, type GridProps, type GridRowGapProps, type GridRowProps, type GridTemplateAreasProps, type GridTemplateColumnsProps, type GridTemplateRowsProps, LayoutGridDisplay, LayoutGridEntry, type LayoutGridProps, LayoutGridValue, type SpanProps, grid as default, grid, layoutFlex, layoutGrid, layoutGridStyles, span };
package/dist/grid.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as GridTemplateRowsProps, G as GridColumnGapProps, H as GridAutoColumnsProps, J as GridProps, K as GridColumnProps, Ot as SpanProps, Q as GridTemplateColumnsProps, U as GridAutoFlowProps, V as GridAreaProps, W as GridAutoRowsProps, X as GridRowProps, Y as GridRowGapProps, Z as GridTemplateAreasProps, it as LayoutGridProps, q as GridGapProps } from "./types-Cv5WjcVA.mjs";
2
- import { a as layoutGrid, c as grid, i as layoutFlex, n as LayoutGridEntry, o as layoutGridStyles, r as LayoutGridValue, s as span, t as LayoutGridDisplay } from "./index-D7IZ8-Zq.mjs";
1
+ import { $ as GridTemplateRowsProps, G as GridColumnGapProps, H as GridAutoColumnsProps, J as GridProps, K as GridColumnProps, Ot as SpanProps, Q as GridTemplateColumnsProps, U as GridAutoFlowProps, V as GridAreaProps, W as GridAutoRowsProps, X as GridRowProps, Y as GridRowGapProps, Z as GridTemplateAreasProps, it as LayoutGridProps, q as GridGapProps } from "./types-C4ogGxde.mjs";
2
+ import { a as layoutGrid, c as grid, i as layoutFlex, n as LayoutGridEntry, o as layoutGridStyles, r as LayoutGridValue, s as span, t as LayoutGridDisplay } from "./index-Cy51GZK8.mjs";
3
3
  export { type GridAreaProps, type GridAutoColumnsProps, type GridAutoFlowProps, type GridAutoRowsProps, type GridColumnGapProps, type GridColumnProps, type GridGapProps, type GridProps, type GridRowGapProps, type GridRowProps, type GridTemplateAreasProps, type GridTemplateColumnsProps, type GridTemplateRowsProps, LayoutGridDisplay, LayoutGridEntry, type LayoutGridProps, LayoutGridValue, type SpanProps, grid as default, grid, layoutFlex, layoutGrid, layoutGridStyles, span };
package/dist/grid.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { a as grid, i as span, n as layoutGrid, r as layoutGridStyles, t as layoutFlex } from "./grid-CYjL4-gb.mjs";
1
+ import { a as grid, i as span, n as layoutGrid, r as layoutGridStyles, t as layoutFlex } from "./grid-BdKZQBHF.mjs";
2
2
  export { grid as default, grid, layoutFlex, layoutGrid, layoutGridStyles, span };
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-IulNhyDt.mjs";
2
- import "./types-Cv5WjcVA.mjs";
2
+ import "./types-C4ogGxde.mjs";
3
3
  //#region src/flexbox/flexbox.d.ts
4
4
  declare const flexbox: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-iVqAMF2L.cjs";
2
- import "./types-Cv5WjcVA.cjs";
2
+ import "./types-C4ogGxde.cjs";
3
3
  //#region src/variant/variant.d.ts
4
4
  interface VariantOptions {
5
5
  scale?: string;
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-IulNhyDt.mjs";
2
- import "./types-Cv5WjcVA.mjs";
2
+ import "./types-C4ogGxde.mjs";
3
3
  //#region src/color/color.d.ts
4
4
  declare const color: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-iVqAMF2L.cjs";
2
- import "./types-Cv5WjcVA.cjs";
2
+ import "./types-C4ogGxde.cjs";
3
3
  //#region src/border/border.d.ts
4
4
  declare const border: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-iVqAMF2L.cjs";
2
- import "./types-Cv5WjcVA.cjs";
2
+ import "./types-C4ogGxde.cjs";
3
3
  //#region src/typography/typography.d.ts
4
4
  declare const typography: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-iVqAMF2L.cjs";
2
- import "./types-Cv5WjcVA.cjs";
2
+ import "./types-C4ogGxde.cjs";
3
3
  //#region src/space/space.d.ts
4
4
  declare const margin: Parser;
5
5
  declare const padding: Parser;
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-IulNhyDt.mjs";
2
- import "./types-Cv5WjcVA.mjs";
2
+ import "./types-C4ogGxde.mjs";
3
3
  //#region src/position/position.d.ts
4
4
  declare const position: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-IulNhyDt.mjs";
2
- import "./types-Cv5WjcVA.mjs";
2
+ import "./types-C4ogGxde.mjs";
3
3
  //#region src/background/background.d.ts
4
4
  declare const background: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-iVqAMF2L.cjs";
2
- import "./types-Cv5WjcVA.cjs";
2
+ import "./types-C4ogGxde.cjs";
3
3
  //#region src/flexbox/flexbox.d.ts
4
4
  declare const flexbox: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-IulNhyDt.mjs";
2
- import "./types-Cv5WjcVA.mjs";
2
+ import "./types-C4ogGxde.mjs";
3
3
  //#region src/typography/typography.d.ts
4
4
  declare const typography: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-IulNhyDt.mjs";
2
- import "./types-Cv5WjcVA.mjs";
2
+ import "./types-C4ogGxde.mjs";
3
3
  //#region src/shadow/shadow.d.ts
4
4
  declare const shadow: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-IulNhyDt.mjs";
2
- import "./types-Cv5WjcVA.mjs";
2
+ import "./types-C4ogGxde.mjs";
3
3
  //#region src/variant/variant.d.ts
4
4
  interface VariantOptions {
5
5
  scale?: string;
@@ -1,5 +1,5 @@
1
1
  import { a as Parser, l as StyleObject } from "./index-IulNhyDt.mjs";
2
- import "./types-Cv5WjcVA.mjs";
2
+ import "./types-C4ogGxde.mjs";
3
3
  //#region src/grid/grid.d.ts
4
4
  declare const grid: Parser;
5
5
  //#endregion
@@ -16,15 +16,20 @@ interface LayoutGridEntry {
16
16
  mode?: 'fluid' | 'fixed';
17
17
  maxWidth?: string | number;
18
18
  }
19
- /** `true` for the theme's layout grid, or entries for named breakpoints that replace it there. */
20
- type LayoutGridValue = boolean | Record<string, LayoutGridEntry>;
19
+ /**
20
+ * `true` for the theme's layout grid, or an entry: its fields replace the theme's at every
21
+ * breakpoint, and entries under breakpoint names replace it at that breakpoint only.
22
+ */
23
+ type LayoutGridValue = boolean | Record<string, LayoutGridEntry | LayoutGridEntry[keyof LayoutGridEntry]>;
21
24
  /** The container a layout grid is drawn on: column tracks, or a wrapping flex row. */
22
25
  type LayoutGridDisplay = 'grid' | 'flex';
23
26
  /**
24
27
  * The layout grid from `theme.layout`, per breakpoint: each breakpoint's `content` (columns,
25
- * margin, gutter, fluid or fixed), inherited mobile-first. An entry in `value` replaces the
26
- * theme's at the breakpoint it names only; the next breakpoint is back to the theme. Every
27
- * written block carries the full set, so no block inherits a stale `max-width`.
28
+ * margin, gutter, fluid or fixed), inherited mobile-first. A field in `value` replaces the
29
+ * theme's at every breakpoint (`{ gutter: 8 }`); an entry under a breakpoint name replaces it
30
+ * there only, on top of those fields (`{ gutter: 8, md: { columns: 6 } }`), and the next
31
+ * breakpoint is back to the theme. Every written block carries the full set, so no block
32
+ * inherits a stale `max-width`.
28
33
  */
29
34
  declare const layoutGridStyles: (theme: unknown, value: LayoutGridValue | undefined, display?: LayoutGridDisplay) => StyleObject;
30
35
  /** The `layout` prop on a grid container - see {@link layoutGridStyles}. */
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-IulNhyDt.mjs";
2
- import "./types-Cv5WjcVA.mjs";
2
+ import "./types-C4ogGxde.mjs";
3
3
  //#region src/layout/layout.d.ts
4
4
  declare const layout: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-iVqAMF2L.cjs";
2
- import "./types-Cv5WjcVA.cjs";
2
+ import "./types-C4ogGxde.cjs";
3
3
  //#region src/position/position.d.ts
4
4
  declare const position: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-iVqAMF2L.cjs";
2
- import "./types-Cv5WjcVA.cjs";
2
+ import "./types-C4ogGxde.cjs";
3
3
  //#region src/background/background.d.ts
4
4
  declare const background: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser, l as StyleObject } from "./index-iVqAMF2L.cjs";
2
- import "./types-Cv5WjcVA.cjs";
2
+ import "./types-C4ogGxde.cjs";
3
3
  //#region src/grid/grid.d.ts
4
4
  declare const grid: Parser;
5
5
  //#endregion
@@ -16,15 +16,20 @@ interface LayoutGridEntry {
16
16
  mode?: 'fluid' | 'fixed';
17
17
  maxWidth?: string | number;
18
18
  }
19
- /** `true` for the theme's layout grid, or entries for named breakpoints that replace it there. */
20
- type LayoutGridValue = boolean | Record<string, LayoutGridEntry>;
19
+ /**
20
+ * `true` for the theme's layout grid, or an entry: its fields replace the theme's at every
21
+ * breakpoint, and entries under breakpoint names replace it at that breakpoint only.
22
+ */
23
+ type LayoutGridValue = boolean | Record<string, LayoutGridEntry | LayoutGridEntry[keyof LayoutGridEntry]>;
21
24
  /** The container a layout grid is drawn on: column tracks, or a wrapping flex row. */
22
25
  type LayoutGridDisplay = 'grid' | 'flex';
23
26
  /**
24
27
  * The layout grid from `theme.layout`, per breakpoint: each breakpoint's `content` (columns,
25
- * margin, gutter, fluid or fixed), inherited mobile-first. An entry in `value` replaces the
26
- * theme's at the breakpoint it names only; the next breakpoint is back to the theme. Every
27
- * written block carries the full set, so no block inherits a stale `max-width`.
28
+ * margin, gutter, fluid or fixed), inherited mobile-first. A field in `value` replaces the
29
+ * theme's at every breakpoint (`{ gutter: 8 }`); an entry under a breakpoint name replaces it
30
+ * there only, on top of those fields (`{ gutter: 8, md: { columns: 6 } }`), and the next
31
+ * breakpoint is back to the theme. Every written block carries the full set, so no block
32
+ * inherits a stale `max-width`.
28
33
  */
29
34
  declare const layoutGridStyles: (theme: unknown, value: LayoutGridValue | undefined, display?: LayoutGridDisplay) => StyleObject;
30
35
  /** The `layout` prop on a grid container - see {@link layoutGridStyles}. */
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-iVqAMF2L.cjs";
2
- import "./types-Cv5WjcVA.cjs";
2
+ import "./types-C4ogGxde.cjs";
3
3
  //#region src/color/color.d.ts
4
4
  declare const color: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-IulNhyDt.mjs";
2
- import "./types-Cv5WjcVA.mjs";
2
+ import "./types-C4ogGxde.mjs";
3
3
  //#region src/space/space.d.ts
4
4
  declare const margin: Parser;
5
5
  declare const padding: Parser;
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-iVqAMF2L.cjs";
2
- import "./types-Cv5WjcVA.cjs";
2
+ import "./types-C4ogGxde.cjs";
3
3
  //#region src/shadow/shadow.d.ts
4
4
  declare const shadow: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-iVqAMF2L.cjs";
2
- import "./types-Cv5WjcVA.cjs";
2
+ import "./types-C4ogGxde.cjs";
3
3
  //#region src/layout/layout.d.ts
4
4
  declare const layout: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-IulNhyDt.mjs";
2
- import "./types-Cv5WjcVA.mjs";
2
+ import "./types-C4ogGxde.mjs";
3
3
  //#region src/border/border.d.ts
4
4
  declare const border: Parser;
5
5
  //#endregion
package/dist/index.cjs CHANGED
@@ -5,7 +5,7 @@ const require_background = require("./background-wugr6cG7.cjs");
5
5
  const require_border = require("./border-UuT-fTpy.cjs");
6
6
  const require_color = require("./color-BNs17Gw-.cjs");
7
7
  const require_flexbox = require("./flexbox-CFkO6PrP.cjs");
8
- const require_grid = require("./grid-BlMUPDJM.cjs");
8
+ const require_grid = require("./grid-CAlwl8LZ.cjs");
9
9
  const require_layout = require("./layout-D3pG7vBp.cjs");
10
10
  const require_position = require("./position-zWvCE4hD.cjs");
11
11
  const require_typography = require("./typography-7jHZXqtc.cjs");
package/dist/index.d.cts CHANGED
@@ -1,17 +1,17 @@
1
1
  import { a as ResponsiveQueries, c as createContainerQueries, d as responsiveQueries, i as QueryHelpers, l as createMediaHelpers, n as Breakpoints, o as breakpointQueries, r as ContainerQueries, s as containerKey, t as BreakpointInput, u as createMediaQuery } from "./media-CfYDomHt.cjs";
2
2
  import { a as Parser, c as StyleFn, f as Transform, g as get, h as createStyleFunction, i as ConfigStyle, l as StyleObject, m as createParser, n as Config, o as ParserConfig, p as compose, r as ConfigFunction, s as Props, u as SystemConfig, v as styleFn, y as system } from "./index-iVqAMF2L.cjs";
3
- import { t as background } from "./index-Bwpwvg1h.cjs";
4
- import { $ as GridTemplateRowsProps, A as FlexDirectionProps, At as TextAlignLastProps, B as GapProps, Bt as TextStyleProps, C as ButtonStyleProps, Ct as RowGapProps, D as ContainerProps, Dt as SpaceProps, E as ColumnGapProps, Et as SizeProps, F as FlexboxProps, Ft as TextDecorationProps, G as GridColumnGapProps, Gt as TypographyProps, H as GridAutoColumnsProps, Ht as Theme, I as FontFamilyProps, It as TextDecorationStyleProps, J as GridProps, Jt as WidthProps, K as GridColumnProps, Kt as VerticalAlignProps, L as FontSizeProps, Lt as TextDecorationThicknessProps, M as FlexProps, Mt as TextColorProps, N as FlexShrinkProps, Nt as TextDecorationColorProps, O as DisplayProps, Ot as SpanProps, P as FlexWrapProps, Pt as TextDecorationLineProps, Q as GridTemplateColumnsProps, R as FontStyleProps, Rt as TextOverflowProps, S as BreakpointName, St as RightProps, T as ColorStyleProps, Tt as ShadowProps, U as GridAutoFlowProps, Ut as ThemeValue, V as GridAreaProps, Vt as TextTransformProps, W as GridAutoRowsProps, Wt as TopProps, X as GridRowProps, Y as GridRowGapProps, Yt as ZIndexProps, Z as GridTemplateAreasProps, _ as BorderStyleProps, _t as OverflowProps, a as BackgroundColorProps, at as LayoutProps, b as BottomProps, bt as RequiredTheme, c as BackgroundProps, ct as LineHeightProps, d as BorderBottomProps, dt as MaxWidthProps, et as HeightProps, f as BorderColorProps, ft as MinHeightProps, g as BorderRightProps, gt as OrderProps, h as BorderRadiusProps, ht as OpacityProps, i as AspectRatioProps, it as LayoutGridProps, j as FlexGrowProps, jt as TextAlignProps, k as FlexBasisProps, kt as TLengthStyledSystem, l as BackgroundRepeatProps, lt as MarginProps, m as BorderProps, mt as ObjectOrArray, n as AlignItemsProps, nt as JustifyItemsProps, o as BackgroundImageProps, ot as LeftProps, p as BorderLeftProps, pt as MinWidthProps, q as GridGapProps, qt as WhiteSpaceProps, r as AlignSelfProps, rt as JustifySelfProps, s as BackgroundPositionProps, st as LetterSpacingProps, t as AlignContentProps, tt as JustifyContentProps, u as BackgroundSizeProps, ut as MaxHeightProps, v as BorderTopProps, vt as PaddingProps, w as ColorProps, wt as Scale, x as BoxShadowProps, xt as ResponsiveValue, y as BorderWidthProps, yt as PositionProps, z as FontWeightProps, zt as TextShadowProps } from "./types-Cv5WjcVA.cjs";
5
- import { t as border } from "./index-D5xp7RWT.cjs";
6
- import { t as color } from "./index-ByDfI1go.cjs";
7
- import { t as flexbox } from "./index-CQyvhO-h.cjs";
8
- import { a as layoutGrid, c as grid, i as layoutFlex, n as LayoutGridEntry, o as layoutGridStyles, r as LayoutGridValue, s as span, t as LayoutGridDisplay } from "./index-CXK27dY_.cjs";
9
- import { i as space, n as margin, r as padding, t as gap } from "./index-CgJzEbXW.cjs";
10
- import { t as layout } from "./index-Bxh1FNcS.cjs";
11
- import { t as typography } from "./index-BmyL5qR7.cjs";
12
- import { t as position } from "./index-D2v_oJEm.cjs";
13
- import { t as shadow } from "./index-D1mRMWDm.cjs";
14
- import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-Csbxj8Yo.cjs";
3
+ import { t as background } from "./index-DS5tvdki.cjs";
4
+ import { $ as GridTemplateRowsProps, A as FlexDirectionProps, At as TextAlignLastProps, B as GapProps, Bt as TextStyleProps, C as ButtonStyleProps, Ct as RowGapProps, D as ContainerProps, Dt as SpaceProps, E as ColumnGapProps, Et as SizeProps, F as FlexboxProps, Ft as TextDecorationProps, G as GridColumnGapProps, Gt as TypographyProps, H as GridAutoColumnsProps, Ht as Theme, I as FontFamilyProps, It as TextDecorationStyleProps, J as GridProps, Jt as WidthProps, K as GridColumnProps, Kt as VerticalAlignProps, L as FontSizeProps, Lt as TextDecorationThicknessProps, M as FlexProps, Mt as TextColorProps, N as FlexShrinkProps, Nt as TextDecorationColorProps, O as DisplayProps, Ot as SpanProps, P as FlexWrapProps, Pt as TextDecorationLineProps, Q as GridTemplateColumnsProps, R as FontStyleProps, Rt as TextOverflowProps, S as BreakpointName, St as RightProps, T as ColorStyleProps, Tt as ShadowProps, U as GridAutoFlowProps, Ut as ThemeValue, V as GridAreaProps, Vt as TextTransformProps, W as GridAutoRowsProps, Wt as TopProps, X as GridRowProps, Y as GridRowGapProps, Yt as ZIndexProps, Z as GridTemplateAreasProps, _ as BorderStyleProps, _t as OverflowProps, a as BackgroundColorProps, at as LayoutProps, b as BottomProps, bt as RequiredTheme, c as BackgroundProps, ct as LineHeightProps, d as BorderBottomProps, dt as MaxWidthProps, et as HeightProps, f as BorderColorProps, ft as MinHeightProps, g as BorderRightProps, gt as OrderProps, h as BorderRadiusProps, ht as OpacityProps, i as AspectRatioProps, it as LayoutGridProps, j as FlexGrowProps, jt as TextAlignProps, k as FlexBasisProps, kt as TLengthStyledSystem, l as BackgroundRepeatProps, lt as MarginProps, m as BorderProps, mt as ObjectOrArray, n as AlignItemsProps, nt as JustifyItemsProps, o as BackgroundImageProps, ot as LeftProps, p as BorderLeftProps, pt as MinWidthProps, q as GridGapProps, qt as WhiteSpaceProps, r as AlignSelfProps, rt as JustifySelfProps, s as BackgroundPositionProps, st as LetterSpacingProps, t as AlignContentProps, tt as JustifyContentProps, u as BackgroundSizeProps, ut as MaxHeightProps, v as BorderTopProps, vt as PaddingProps, w as ColorProps, wt as Scale, x as BoxShadowProps, xt as ResponsiveValue, y as BorderWidthProps, yt as PositionProps, z as FontWeightProps, zt as TextShadowProps } from "./types-C4ogGxde.cjs";
5
+ import { t as border } from "./index-BolQQ69W.cjs";
6
+ import { t as color } from "./index-MqRHkwxm.cjs";
7
+ import { t as flexbox } from "./index-CXOIz3b_.cjs";
8
+ import { a as layoutGrid, c as grid, i as layoutFlex, n as LayoutGridEntry, o as layoutGridStyles, r as LayoutGridValue, s as span, t as LayoutGridDisplay } from "./index-DrwsZZkS.cjs";
9
+ import { i as space, n as margin, r as padding, t as gap } from "./index-C4BUuCOD.cjs";
10
+ import { t as layout } from "./index-ygAGm7QY.cjs";
11
+ import { t as typography } from "./index-Bq7LA-5J.cjs";
12
+ import { t as position } from "./index-DJw2NCm-.cjs";
13
+ import { t as shadow } from "./index-o6j0bywN.cjs";
14
+ import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-BgcnUGws.cjs";
15
15
  //#region src/style/style.d.ts
16
16
  interface StyleOptions {
17
17
  prop: string;
package/dist/index.d.mts CHANGED
@@ -1,17 +1,17 @@
1
1
  import { a as ResponsiveQueries, c as createContainerQueries, d as responsiveQueries, i as QueryHelpers, l as createMediaHelpers, n as Breakpoints, o as breakpointQueries, r as ContainerQueries, s as containerKey, t as BreakpointInput, u as createMediaQuery } from "./media-CfYDomHt.mjs";
2
2
  import { a as Parser, c as StyleFn, f as Transform, g as get, h as createStyleFunction, i as ConfigStyle, l as StyleObject, m as createParser, n as Config, o as ParserConfig, p as compose, r as ConfigFunction, s as Props, u as SystemConfig, v as styleFn, y as system } from "./index-IulNhyDt.mjs";
3
- import { t as background } from "./index-DKz4zEeT.mjs";
4
- import { $ as GridTemplateRowsProps, A as FlexDirectionProps, At as TextAlignLastProps, B as GapProps, Bt as TextStyleProps, C as ButtonStyleProps, Ct as RowGapProps, D as ContainerProps, Dt as SpaceProps, E as ColumnGapProps, Et as SizeProps, F as FlexboxProps, Ft as TextDecorationProps, G as GridColumnGapProps, Gt as TypographyProps, H as GridAutoColumnsProps, Ht as Theme, I as FontFamilyProps, It as TextDecorationStyleProps, J as GridProps, Jt as WidthProps, K as GridColumnProps, Kt as VerticalAlignProps, L as FontSizeProps, Lt as TextDecorationThicknessProps, M as FlexProps, Mt as TextColorProps, N as FlexShrinkProps, Nt as TextDecorationColorProps, O as DisplayProps, Ot as SpanProps, P as FlexWrapProps, Pt as TextDecorationLineProps, Q as GridTemplateColumnsProps, R as FontStyleProps, Rt as TextOverflowProps, S as BreakpointName, St as RightProps, T as ColorStyleProps, Tt as ShadowProps, U as GridAutoFlowProps, Ut as ThemeValue, V as GridAreaProps, Vt as TextTransformProps, W as GridAutoRowsProps, Wt as TopProps, X as GridRowProps, Y as GridRowGapProps, Yt as ZIndexProps, Z as GridTemplateAreasProps, _ as BorderStyleProps, _t as OverflowProps, a as BackgroundColorProps, at as LayoutProps, b as BottomProps, bt as RequiredTheme, c as BackgroundProps, ct as LineHeightProps, d as BorderBottomProps, dt as MaxWidthProps, et as HeightProps, f as BorderColorProps, ft as MinHeightProps, g as BorderRightProps, gt as OrderProps, h as BorderRadiusProps, ht as OpacityProps, i as AspectRatioProps, it as LayoutGridProps, j as FlexGrowProps, jt as TextAlignProps, k as FlexBasisProps, kt as TLengthStyledSystem, l as BackgroundRepeatProps, lt as MarginProps, m as BorderProps, mt as ObjectOrArray, n as AlignItemsProps, nt as JustifyItemsProps, o as BackgroundImageProps, ot as LeftProps, p as BorderLeftProps, pt as MinWidthProps, q as GridGapProps, qt as WhiteSpaceProps, r as AlignSelfProps, rt as JustifySelfProps, s as BackgroundPositionProps, st as LetterSpacingProps, t as AlignContentProps, tt as JustifyContentProps, u as BackgroundSizeProps, ut as MaxHeightProps, v as BorderTopProps, vt as PaddingProps, w as ColorProps, wt as Scale, x as BoxShadowProps, xt as ResponsiveValue, y as BorderWidthProps, yt as PositionProps, z as FontWeightProps, zt as TextShadowProps } from "./types-Cv5WjcVA.mjs";
5
- import { t as border } from "./index-CQWZd4iQ.mjs";
6
- import { t as color } from "./index-90_abc05.mjs";
7
- import { t as flexbox } from "./index-aRomguCQ.mjs";
8
- import { a as layoutGrid, c as grid, i as layoutFlex, n as LayoutGridEntry, o as layoutGridStyles, r as LayoutGridValue, s as span, t as LayoutGridDisplay } from "./index-D7IZ8-Zq.mjs";
9
- import { i as space, n as margin, r as padding, t as gap } from "./index-BQPI7z-B.mjs";
10
- import { t as layout } from "./index-pzogdlkS.mjs";
11
- import { t as typography } from "./index-nfjmLzHF.mjs";
12
- import { t as position } from "./index-MbcUN6uf.mjs";
13
- import { t as shadow } from "./index-C1IdMVtQ.mjs";
14
- import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-ClbGlQxq.mjs";
3
+ import { t as background } from "./index-CVxHdrQd.mjs";
4
+ import { $ as GridTemplateRowsProps, A as FlexDirectionProps, At as TextAlignLastProps, B as GapProps, Bt as TextStyleProps, C as ButtonStyleProps, Ct as RowGapProps, D as ContainerProps, Dt as SpaceProps, E as ColumnGapProps, Et as SizeProps, F as FlexboxProps, Ft as TextDecorationProps, G as GridColumnGapProps, Gt as TypographyProps, H as GridAutoColumnsProps, Ht as Theme, I as FontFamilyProps, It as TextDecorationStyleProps, J as GridProps, Jt as WidthProps, K as GridColumnProps, Kt as VerticalAlignProps, L as FontSizeProps, Lt as TextDecorationThicknessProps, M as FlexProps, Mt as TextColorProps, N as FlexShrinkProps, Nt as TextDecorationColorProps, O as DisplayProps, Ot as SpanProps, P as FlexWrapProps, Pt as TextDecorationLineProps, Q as GridTemplateColumnsProps, R as FontStyleProps, Rt as TextOverflowProps, S as BreakpointName, St as RightProps, T as ColorStyleProps, Tt as ShadowProps, U as GridAutoFlowProps, Ut as ThemeValue, V as GridAreaProps, Vt as TextTransformProps, W as GridAutoRowsProps, Wt as TopProps, X as GridRowProps, Y as GridRowGapProps, Yt as ZIndexProps, Z as GridTemplateAreasProps, _ as BorderStyleProps, _t as OverflowProps, a as BackgroundColorProps, at as LayoutProps, b as BottomProps, bt as RequiredTheme, c as BackgroundProps, ct as LineHeightProps, d as BorderBottomProps, dt as MaxWidthProps, et as HeightProps, f as BorderColorProps, ft as MinHeightProps, g as BorderRightProps, gt as OrderProps, h as BorderRadiusProps, ht as OpacityProps, i as AspectRatioProps, it as LayoutGridProps, j as FlexGrowProps, jt as TextAlignProps, k as FlexBasisProps, kt as TLengthStyledSystem, l as BackgroundRepeatProps, lt as MarginProps, m as BorderProps, mt as ObjectOrArray, n as AlignItemsProps, nt as JustifyItemsProps, o as BackgroundImageProps, ot as LeftProps, p as BorderLeftProps, pt as MinWidthProps, q as GridGapProps, qt as WhiteSpaceProps, r as AlignSelfProps, rt as JustifySelfProps, s as BackgroundPositionProps, st as LetterSpacingProps, t as AlignContentProps, tt as JustifyContentProps, u as BackgroundSizeProps, ut as MaxHeightProps, v as BorderTopProps, vt as PaddingProps, w as ColorProps, wt as Scale, x as BoxShadowProps, xt as ResponsiveValue, y as BorderWidthProps, yt as PositionProps, z as FontWeightProps, zt as TextShadowProps } from "./types-C4ogGxde.mjs";
5
+ import { t as border } from "./index-z2p2DCxL.mjs";
6
+ import { t as color } from "./index-BiZPbJuj.mjs";
7
+ import { t as flexbox } from "./index-BCO1q3Ee.mjs";
8
+ import { a as layoutGrid, c as grid, i as layoutFlex, n as LayoutGridEntry, o as layoutGridStyles, r as LayoutGridValue, s as span, t as LayoutGridDisplay } from "./index-Cy51GZK8.mjs";
9
+ import { i as space, n as margin, r as padding, t as gap } from "./index-k5b5FR_o.mjs";
10
+ import { t as layout } from "./index-DBX-YuCP.mjs";
11
+ import { t as typography } from "./index-CkSwZa-Z.mjs";
12
+ import { t as position } from "./index-CV2xW58U.mjs";
13
+ import { t as shadow } from "./index-Cnya5hgU.mjs";
14
+ import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-Cow4kTN2.mjs";
15
15
  //#region src/style/style.d.ts
16
16
  interface StyleOptions {
17
17
  prop: string;
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import { t as background } from "./background-B-jql3jb.mjs";
4
4
  import { t as border } from "./border-Dder4Dhp.mjs";
5
5
  import { t as color } from "./color-CGmMe8yP.mjs";
6
6
  import { t as flexbox } from "./flexbox-XQnlnfa4.mjs";
7
- import { a as grid, i as span, n as layoutGrid, r as layoutGridStyles, t as layoutFlex } from "./grid-CYjL4-gb.mjs";
7
+ import { a as grid, i as span, n as layoutGrid, r as layoutGridStyles, t as layoutFlex } from "./grid-BdKZQBHF.mjs";
8
8
  import { t as layout } from "./layout-DF83ooFn.mjs";
9
9
  import { t as position } from "./position-jf6VlRyR.mjs";
10
10
  import { t as typography } from "./typography-p6qWP6Px.mjs";
package/dist/layout.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { D as ContainerProps, Et as SizeProps, Jt as WidthProps, Kt as VerticalAlignProps, O as DisplayProps, _t as OverflowProps, at as LayoutProps, dt as MaxWidthProps, et as HeightProps, ft as MinHeightProps, i as AspectRatioProps, pt as MinWidthProps, ut as MaxHeightProps } from "./types-Cv5WjcVA.cjs";
2
- import { t as layout } from "./index-Bxh1FNcS.cjs";
1
+ import { D as ContainerProps, Et as SizeProps, Jt as WidthProps, Kt as VerticalAlignProps, O as DisplayProps, _t as OverflowProps, at as LayoutProps, dt as MaxWidthProps, et as HeightProps, ft as MinHeightProps, i as AspectRatioProps, pt as MinWidthProps, ut as MaxHeightProps } from "./types-C4ogGxde.cjs";
2
+ import { t as layout } from "./index-ygAGm7QY.cjs";
3
3
  export { type AspectRatioProps, type ContainerProps, type DisplayProps, type HeightProps, type LayoutProps, type MaxHeightProps, type MaxWidthProps, type MinHeightProps, type MinWidthProps, type OverflowProps, type SizeProps, type VerticalAlignProps, type WidthProps, layout as default, layout };
package/dist/layout.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { D as ContainerProps, Et as SizeProps, Jt as WidthProps, Kt as VerticalAlignProps, O as DisplayProps, _t as OverflowProps, at as LayoutProps, dt as MaxWidthProps, et as HeightProps, ft as MinHeightProps, i as AspectRatioProps, pt as MinWidthProps, ut as MaxHeightProps } from "./types-Cv5WjcVA.mjs";
2
- import { t as layout } from "./index-pzogdlkS.mjs";
1
+ import { D as ContainerProps, Et as SizeProps, Jt as WidthProps, Kt as VerticalAlignProps, O as DisplayProps, _t as OverflowProps, at as LayoutProps, dt as MaxWidthProps, et as HeightProps, ft as MinHeightProps, i as AspectRatioProps, pt as MinWidthProps, ut as MaxHeightProps } from "./types-C4ogGxde.mjs";
2
+ import { t as layout } from "./index-DBX-YuCP.mjs";
3
3
  export { type AspectRatioProps, type ContainerProps, type DisplayProps, type HeightProps, type LayoutProps, type MaxHeightProps, type MaxWidthProps, type MinHeightProps, type MinWidthProps, type OverflowProps, type SizeProps, type VerticalAlignProps, type WidthProps, layout as default, layout };
@@ -1,3 +1,3 @@
1
- import { St as RightProps, Wt as TopProps, Yt as ZIndexProps, b as BottomProps, ot as LeftProps, yt as PositionProps } from "./types-Cv5WjcVA.cjs";
2
- import { t as position } from "./index-D2v_oJEm.cjs";
1
+ import { St as RightProps, Wt as TopProps, Yt as ZIndexProps, b as BottomProps, ot as LeftProps, yt as PositionProps } from "./types-C4ogGxde.cjs";
2
+ import { t as position } from "./index-DJw2NCm-.cjs";
3
3
  export { type BottomProps, type LeftProps, type PositionProps, type RightProps, type TopProps, type ZIndexProps, position as default, position };
@@ -1,3 +1,3 @@
1
- import { St as RightProps, Wt as TopProps, Yt as ZIndexProps, b as BottomProps, ot as LeftProps, yt as PositionProps } from "./types-Cv5WjcVA.mjs";
2
- import { t as position } from "./index-MbcUN6uf.mjs";
1
+ import { St as RightProps, Wt as TopProps, Yt as ZIndexProps, b as BottomProps, ot as LeftProps, yt as PositionProps } from "./types-C4ogGxde.mjs";
2
+ import { t as position } from "./index-CV2xW58U.mjs";
3
3
  export { type BottomProps, type LeftProps, type PositionProps, type RightProps, type TopProps, type ZIndexProps, position as default, position };
@@ -3,7 +3,7 @@ import { t as background } from "./background-B-jql3jb.mjs";
3
3
  import { t as border } from "./border-Dder4Dhp.mjs";
4
4
  import { t as color } from "./color-CGmMe8yP.mjs";
5
5
  import { t as flexbox } from "./flexbox-XQnlnfa4.mjs";
6
- import { a as grid, i as span } from "./grid-CYjL4-gb.mjs";
6
+ import { a as grid, i as span } from "./grid-BdKZQBHF.mjs";
7
7
  import { t as layout } from "./layout-DF83ooFn.mjs";
8
8
  import { t as position } from "./position-jf6VlRyR.mjs";
9
9
  import { t as typography } from "./typography-p6qWP6Px.mjs";
@@ -3,7 +3,7 @@ const require_background = require("./background-wugr6cG7.cjs");
3
3
  const require_border = require("./border-UuT-fTpy.cjs");
4
4
  const require_color = require("./color-BNs17Gw-.cjs");
5
5
  const require_flexbox = require("./flexbox-CFkO6PrP.cjs");
6
- const require_grid = require("./grid-BlMUPDJM.cjs");
6
+ const require_grid = require("./grid-CAlwl8LZ.cjs");
7
7
  const require_layout = require("./layout-D3pG7vBp.cjs");
8
8
  const require_position = require("./position-zWvCE4hD.cjs");
9
9
  const require_typography = require("./typography-7jHZXqtc.cjs");
@@ -7,7 +7,7 @@ const require_background = require("./background-wugr6cG7.cjs");
7
7
  const require_border = require("./border-UuT-fTpy.cjs");
8
8
  const require_color = require("./color-BNs17Gw-.cjs");
9
9
  const require_flexbox = require("./flexbox-CFkO6PrP.cjs");
10
- const require_grid = require("./grid-BlMUPDJM.cjs");
10
+ const require_grid = require("./grid-CAlwl8LZ.cjs");
11
11
  const require_layout = require("./layout-D3pG7vBp.cjs");
12
12
  const require_position = require("./position-zWvCE4hD.cjs");
13
13
  const require_typography = require("./typography-7jHZXqtc.cjs");
@@ -2,7 +2,7 @@ import { t as background } from "./background-B-jql3jb.mjs";
2
2
  import { t as border } from "./border-Dder4Dhp.mjs";
3
3
  import { t as color } from "./color-CGmMe8yP.mjs";
4
4
  import { t as flexbox } from "./flexbox-XQnlnfa4.mjs";
5
- import { a as grid } from "./grid-CYjL4-gb.mjs";
5
+ import { a as grid } from "./grid-BdKZQBHF.mjs";
6
6
  import { t as layout } from "./layout-DF83ooFn.mjs";
7
7
  import { t as position } from "./position-jf6VlRyR.mjs";
8
8
  import { t as typography } from "./typography-p6qWP6Px.mjs";
package/dist/props.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_presets = require("./presets-KURYP1_7.cjs");
2
+ const require_presets = require("./presets-fJFZ74qt.cjs");
3
3
  //#region src/props/props.ts
4
4
  const styledSystemProps = new Set(require_presets.all.propNames);
5
5
  const omit = (props) => {
package/dist/props.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as all } from "./presets-DsxPfpSE.mjs";
1
+ import { t as all } from "./presets-DtE_nRxp.mjs";
2
2
  //#region src/props/props.ts
3
3
  const styledSystemProps = new Set(all.propNames);
4
4
  const omit = (props) => {
package/dist/shadow.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { Tt as ShadowProps, x as BoxShadowProps, zt as TextShadowProps } from "./types-Cv5WjcVA.cjs";
2
- import { t as shadow } from "./index-D1mRMWDm.cjs";
1
+ import { Tt as ShadowProps, x as BoxShadowProps, zt as TextShadowProps } from "./types-C4ogGxde.cjs";
2
+ import { t as shadow } from "./index-o6j0bywN.cjs";
3
3
  export { type BoxShadowProps, type ShadowProps, type TextShadowProps, shadow as default, shadow };
package/dist/shadow.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { Tt as ShadowProps, x as BoxShadowProps, zt as TextShadowProps } from "./types-Cv5WjcVA.mjs";
2
- import { t as shadow } from "./index-C1IdMVtQ.mjs";
1
+ import { Tt as ShadowProps, x as BoxShadowProps, zt as TextShadowProps } from "./types-C4ogGxde.mjs";
2
+ import { t as shadow } from "./index-Cnya5hgU.mjs";
3
3
  export { type BoxShadowProps, type ShadowProps, type TextShadowProps, shadow as default, shadow };
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_rolldown_runtime = require("./rolldown-runtime-VH7oDXx4.cjs");
6
- const require_presets = require("./presets-KURYP1_7.cjs");
6
+ const require_presets = require("./presets-fJFZ74qt.cjs");
7
7
  let _emotion_is_prop_valid = require("@emotion/is-prop-valid");
8
8
  _emotion_is_prop_valid = require_rolldown_runtime.__toESM(_emotion_is_prop_valid, 1);
9
9
  //#region src/should-forward-prop/should-forward-prop.ts
@@ -1,4 +1,4 @@
1
- import { t as all } from "./presets-DsxPfpSE.mjs";
1
+ import { t as all } from "./presets-DtE_nRxp.mjs";
2
2
  import isPropValid from "@emotion/is-prop-valid";
3
3
  //#region src/should-forward-prop/should-forward-prop.ts
4
4
  const memoize = (fn) => {
package/dist/space.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { B as GapProps, Ct as RowGapProps, Dt as SpaceProps, E as ColumnGapProps, lt as MarginProps, vt as PaddingProps } from "./types-Cv5WjcVA.cjs";
2
- import { i as space, n as margin, r as padding, t as gap } from "./index-CgJzEbXW.cjs";
1
+ import { B as GapProps, Ct as RowGapProps, Dt as SpaceProps, E as ColumnGapProps, lt as MarginProps, vt as PaddingProps } from "./types-C4ogGxde.cjs";
2
+ import { i as space, n as margin, r as padding, t as gap } from "./index-C4BUuCOD.cjs";
3
3
  export { type ColumnGapProps, type GapProps, type MarginProps, type PaddingProps, type RowGapProps, type SpaceProps, space as default, space, gap, margin, padding };
package/dist/space.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { B as GapProps, Ct as RowGapProps, Dt as SpaceProps, E as ColumnGapProps, lt as MarginProps, vt as PaddingProps } from "./types-Cv5WjcVA.mjs";
2
- import { i as space, n as margin, r as padding, t as gap } from "./index-BQPI7z-B.mjs";
1
+ import { B as GapProps, Ct as RowGapProps, Dt as SpaceProps, E as ColumnGapProps, lt as MarginProps, vt as PaddingProps } from "./types-C4ogGxde.mjs";
2
+ import { i as space, n as margin, r as padding, t as gap } from "./index-k5b5FR_o.mjs";
3
3
  export { type ColumnGapProps, type GapProps, type MarginProps, type PaddingProps, type RowGapProps, type SpaceProps, space as default, space, gap, margin, padding };
@@ -339,19 +339,20 @@ interface GridTemplateAreasProps<ThemeType extends Theme = RequiredTheme> {
339
339
  interface GridAreaProps<ThemeType extends Theme = RequiredTheme> {
340
340
  gridArea?: ResponsiveValue<CSS.Property.GridArea, ThemeType>;
341
341
  }
342
+ interface LayoutGridEntryProps<ThemeType extends Theme> {
343
+ columns?: number;
344
+ margin?: ThemeValue<'space', ThemeType> | string;
345
+ gutter?: ThemeValue<'space', ThemeType> | string;
346
+ mode?: 'fluid' | 'fixed';
347
+ maxWidth?: string;
348
+ }
342
349
  /**
343
350
  * Not in upstream styled-system: the layout grid from `theme.layout` on a Grid or Flex - `true`
344
- * for the theme's, or entries for named breakpoints that replace it there only
345
- * (`{ lg: { columns: 16 } }`).
351
+ * for the theme's, or an entry whose fields replace it at every breakpoint (`{ gutter: 8 }`),
352
+ * with entries under breakpoint names that replace it there only (`{ lg: { columns: 16 } }`).
346
353
  */
347
354
  interface LayoutGridProps<ThemeType extends Theme = RequiredTheme> {
348
- layout?: boolean | { [key in BreakpointName<ThemeType>]?: {
349
- columns?: number;
350
- margin?: ThemeValue<'space', ThemeType> | string;
351
- gutter?: ThemeValue<'space', ThemeType> | string;
352
- mode?: 'fluid' | 'fixed';
353
- maxWidth?: string;
354
- }; };
355
+ layout?: boolean | (LayoutGridEntryProps<ThemeType> & { [key in BreakpointName<ThemeType>]?: LayoutGridEntryProps<ThemeType>; });
355
356
  }
356
357
  /** Not in upstream styled-system: how many layout-grid columns the element takes. */
357
358
  interface SpanProps<ThemeType extends Theme = RequiredTheme> {
@@ -339,19 +339,20 @@ interface GridTemplateAreasProps<ThemeType extends Theme = RequiredTheme> {
339
339
  interface GridAreaProps<ThemeType extends Theme = RequiredTheme> {
340
340
  gridArea?: ResponsiveValue<CSS.Property.GridArea, ThemeType>;
341
341
  }
342
+ interface LayoutGridEntryProps<ThemeType extends Theme> {
343
+ columns?: number;
344
+ margin?: ThemeValue<'space', ThemeType> | string;
345
+ gutter?: ThemeValue<'space', ThemeType> | string;
346
+ mode?: 'fluid' | 'fixed';
347
+ maxWidth?: string;
348
+ }
342
349
  /**
343
350
  * Not in upstream styled-system: the layout grid from `theme.layout` on a Grid or Flex - `true`
344
- * for the theme's, or entries for named breakpoints that replace it there only
345
- * (`{ lg: { columns: 16 } }`).
351
+ * for the theme's, or an entry whose fields replace it at every breakpoint (`{ gutter: 8 }`),
352
+ * with entries under breakpoint names that replace it there only (`{ lg: { columns: 16 } }`).
346
353
  */
347
354
  interface LayoutGridProps<ThemeType extends Theme = RequiredTheme> {
348
- layout?: boolean | { [key in BreakpointName<ThemeType>]?: {
349
- columns?: number;
350
- margin?: ThemeValue<'space', ThemeType> | string;
351
- gutter?: ThemeValue<'space', ThemeType> | string;
352
- mode?: 'fluid' | 'fixed';
353
- maxWidth?: string;
354
- }; };
355
+ layout?: boolean | (LayoutGridEntryProps<ThemeType> & { [key in BreakpointName<ThemeType>]?: LayoutGridEntryProps<ThemeType>; });
355
356
  }
356
357
  /** Not in upstream styled-system: how many layout-grid columns the element takes. */
357
358
  interface SpanProps<ThemeType extends Theme = RequiredTheme> {
@@ -1,3 +1,3 @@
1
- import { Gt as TypographyProps, I as FontFamilyProps, L as FontSizeProps, R as FontStyleProps, Rt as TextOverflowProps, ct as LineHeightProps, jt as TextAlignProps, qt as WhiteSpaceProps, st as LetterSpacingProps, z as FontWeightProps } from "./types-Cv5WjcVA.cjs";
2
- import { t as typography } from "./index-BmyL5qR7.cjs";
1
+ import { Gt as TypographyProps, I as FontFamilyProps, L as FontSizeProps, R as FontStyleProps, Rt as TextOverflowProps, ct as LineHeightProps, jt as TextAlignProps, qt as WhiteSpaceProps, st as LetterSpacingProps, z as FontWeightProps } from "./types-C4ogGxde.cjs";
2
+ import { t as typography } from "./index-Bq7LA-5J.cjs";
3
3
  export { type FontFamilyProps, type FontSizeProps, type FontStyleProps, type FontWeightProps, type LetterSpacingProps, type LineHeightProps, type TextAlignProps, type TextOverflowProps, type TypographyProps, type WhiteSpaceProps, typography as default, typography };
@@ -1,3 +1,3 @@
1
- import { Gt as TypographyProps, I as FontFamilyProps, L as FontSizeProps, R as FontStyleProps, Rt as TextOverflowProps, ct as LineHeightProps, jt as TextAlignProps, qt as WhiteSpaceProps, st as LetterSpacingProps, z as FontWeightProps } from "./types-Cv5WjcVA.mjs";
2
- import { t as typography } from "./index-nfjmLzHF.mjs";
1
+ import { Gt as TypographyProps, I as FontFamilyProps, L as FontSizeProps, R as FontStyleProps, Rt as TextOverflowProps, ct as LineHeightProps, jt as TextAlignProps, qt as WhiteSpaceProps, st as LetterSpacingProps, z as FontWeightProps } from "./types-C4ogGxde.mjs";
2
+ import { t as typography } from "./index-CkSwZa-Z.mjs";
3
3
  export { type FontFamilyProps, type FontSizeProps, type FontStyleProps, type FontWeightProps, type LetterSpacingProps, type LineHeightProps, type TextAlignProps, type TextOverflowProps, type TypographyProps, type WhiteSpaceProps, typography as default, typography };
@@ -1,3 +1,3 @@
1
- import { Bt as TextStyleProps, C as ButtonStyleProps, T as ColorStyleProps } from "./types-Cv5WjcVA.cjs";
2
- import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-Csbxj8Yo.cjs";
1
+ import { Bt as TextStyleProps, C as ButtonStyleProps, T as ColorStyleProps } from "./types-C4ogGxde.cjs";
2
+ import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-BgcnUGws.cjs";
3
3
  export { type ButtonStyleProps, type ColorStyleProps, type TextStyleProps, VariantArgs, VariantOptions, buttonStyle, colorStyle, variant as default, variant, textStyle };
@@ -1,3 +1,3 @@
1
- import { Bt as TextStyleProps, C as ButtonStyleProps, T as ColorStyleProps } from "./types-Cv5WjcVA.mjs";
2
- import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-ClbGlQxq.mjs";
1
+ import { Bt as TextStyleProps, C as ButtonStyleProps, T as ColorStyleProps } from "./types-C4ogGxde.mjs";
2
+ import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-Cow4kTN2.mjs";
3
3
  export { type ButtonStyleProps, type ColorStyleProps, type TextStyleProps, VariantArgs, VariantOptions, buttonStyle, colorStyle, variant as default, variant, textStyle };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soroush.tech/styled-system",
3
- "version": "6.0.0-alpha.0",
3
+ "version": "6.0.0-alpha.1",
4
4
  "description": "Maintained, first-class-TypeScript rewrite of styled-system - responsive, theme-aware style props for CSS-in-JS. Drop-in replacement for styled-system v5.",
5
5
  "keywords": [
6
6
  "styled-system",