@soroush.tech/styled-system 6.0.0-alpha.2 → 6.0.0-alpha.3

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 (67) 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/flexbox.d.cts +2 -2
  8. package/dist/flexbox.d.mts +2 -2
  9. package/dist/grid-CvJv0uga.cjs +198 -0
  10. package/dist/grid-Du9HrjII.mjs +168 -0
  11. package/dist/grid.cjs +1 -2
  12. package/dist/grid.d.cts +3 -3
  13. package/dist/grid.d.mts +3 -3
  14. package/dist/grid.mjs +2 -2
  15. package/dist/{index-CnVRmFIZ.d.mts → index--7PfXEZf.d.mts} +1 -1
  16. package/dist/{index-B7YL_4tg.d.cts → index-BDUZ7qQu.d.cts} +1 -1
  17. package/dist/{index-BvyUTPw5.d.mts → index-BQUTi5eL.d.mts} +1 -1
  18. package/dist/{index-fuBvJDhs.d.mts → index-BTZ4J3Ql.d.mts} +1 -1
  19. package/dist/{index-ILo8rb05.d.cts → index-BUX09rTq.d.cts} +1 -1
  20. package/dist/{index-Dpqn1WzM.d.cts → index-BUa_KRfs.d.cts} +1 -1
  21. package/dist/{index-CpS2pkHD.d.cts → index-BVNmdtmk.d.cts} +1 -1
  22. package/dist/index-BZI1xwTA.d.cts +55 -0
  23. package/dist/{index-D8sNCYCo.d.mts → index-BZs9fI-P.d.mts} +1 -1
  24. package/dist/{index-kkyge37R.d.mts → index-Bhpc-68J.d.mts} +1 -1
  25. package/dist/{index-C8kegqfi.d.cts → index-BqZjtkzF.d.cts} +1 -1
  26. package/dist/{index-PoT1oV9X.d.cts → index-C56_VCbD.d.cts} +1 -1
  27. package/dist/{index-eWVK6SXF.d.cts → index-DGGFii8s.d.cts} +1 -1
  28. package/dist/{index-BgSrVqHI.d.mts → index-DXURX22V.d.mts} +1 -1
  29. package/dist/{index-4_E8pg8R.d.mts → index-DYc5_RYF.d.mts} +1 -1
  30. package/dist/{index-BnfK4WNL.d.mts → index-D_XDxNlm.d.mts} +1 -1
  31. package/dist/{index-IfEDsoFj.d.cts → index-Di8gHXKt.d.cts} +1 -1
  32. package/dist/{index-DbwnL32Q.d.mts → index-Dr5JeEjc.d.mts} +1 -1
  33. package/dist/{index-CnHK2xHk.d.cts → index-Dv3K2IAS.d.cts} +1 -1
  34. package/dist/{index-DOzfQDfG.d.cts → index-DwJSd01p.d.cts} +1 -1
  35. package/dist/index-Np-KvYhu.d.mts +55 -0
  36. package/dist/{index-Xh-lC-ge.d.mts → index-mSyoGVmz.d.mts} +1 -1
  37. package/dist/index.cjs +1 -2
  38. package/dist/index.d.cts +13 -13
  39. package/dist/index.d.mts +13 -13
  40. package/dist/index.mjs +2 -2
  41. package/dist/layout.d.cts +2 -2
  42. package/dist/layout.d.mts +2 -2
  43. package/dist/position.d.cts +2 -2
  44. package/dist/position.d.mts +2 -2
  45. package/dist/{presets-B4QR0tKt.mjs → presets-Cxa2Xoxa.mjs} +1 -1
  46. package/dist/{presets-Da2kvQPo.cjs → presets-mePesdYM.cjs} +1 -1
  47. package/dist/prop-types.cjs +1 -1
  48. package/dist/prop-types.mjs +1 -1
  49. package/dist/props.cjs +1 -1
  50. package/dist/props.mjs +1 -1
  51. package/dist/shadow.d.cts +2 -2
  52. package/dist/shadow.d.mts +2 -2
  53. package/dist/should-forward-prop.cjs +1 -1
  54. package/dist/should-forward-prop.mjs +1 -1
  55. package/dist/space.d.cts +2 -2
  56. package/dist/space.d.mts +2 -2
  57. package/dist/{types-Cj6Jx5LX.d.cts → types-Cl2haWqC.d.cts} +6 -6
  58. package/dist/{types-Cj6Jx5LX.d.mts → types-Cl2haWqC.d.mts} +6 -6
  59. package/dist/typography.d.cts +2 -2
  60. package/dist/typography.d.mts +2 -2
  61. package/dist/variant.d.cts +2 -2
  62. package/dist/variant.d.mts +2 -2
  63. package/package.json +1 -1
  64. package/dist/grid-CAuvylKs.mjs +0 -158
  65. package/dist/grid-Cv-XGWcr.cjs +0 -194
  66. package/dist/index-C0X-fL6a.d.mts +0 -55
  67. package/dist/index-DHAamdKa.d.cts +0 -55
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-iVqAMF2L.cjs";
2
- import "./types-Cj6Jx5LX.cjs";
2
+ import "./types-Cl2haWqC.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 } from "./index-IulNhyDt.mjs";
2
- import "./types-Cj6Jx5LX.mjs";
2
+ import "./types-Cl2haWqC.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-iVqAMF2L.cjs";
2
- import "./types-Cj6Jx5LX.cjs";
2
+ import "./types-Cl2haWqC.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-iVqAMF2L.cjs";
2
- import "./types-Cj6Jx5LX.cjs";
2
+ import "./types-Cl2haWqC.cjs";
3
3
  //#region src/color/color.d.ts
4
4
  declare const color: Parser;
5
5
  //#endregion
@@ -0,0 +1,55 @@
1
+ import { a as Parser, l as StyleObject } from "./index-IulNhyDt.mjs";
2
+ import "./types-Cl2haWqC.mjs";
3
+ //#region src/grid/grid.d.ts
4
+ declare const grid: Parser;
5
+ //#endregion
6
+ //#region src/grid/layoutGrid.d.ts
7
+ /** The layout grid at one breakpoint - the `content` part of a `theme.layout` entry. */
8
+ interface LayoutGridEntry {
9
+ /** Equal columns. */
10
+ columns?: number;
11
+ /** Inline padding - a `theme.space` key or a CSS length. */
12
+ margin?: string | number;
13
+ /** Gap between columns - a `theme.space` key or a CSS length. Set per element with `gap`. */
14
+ gutter?: string | number;
15
+ /** `fluid` spans the space; `fixed` is a container centred at `maxWidth`. */
16
+ mode?: 'fluid' | 'fixed';
17
+ maxWidth?: string | number;
18
+ }
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 from that breakpoint up.
22
+ */
23
+ type LayoutGridValue = boolean | Record<string, LayoutGridEntry | LayoutGridEntry[keyof LayoutGridEntry]>;
24
+ /** A `gap` / `columnGap` value: one value, an array by breakpoint position, or an object by name. */
25
+ type LayoutGridGap = string | number | null | undefined | Array<string | number | null> | Record<string, string | number | null>;
26
+ /**
27
+ * The layout grid from `theme.layout`, per breakpoint: each breakpoint's `content` (columns,
28
+ * margin, gutter, fluid or fixed), mobile-first. A field in `value` replaces the theme's at
29
+ * every breakpoint (`{ maxWidth: '1280px' }`); an entry under a breakpoint name replaces it
30
+ * from that breakpoint up, on top of those fields (`{ lg: { columns: 16 } }`). `gap` - the
31
+ * element's own `gap` / `columnGap` - sets the gutter the same way, single or responsive; where
32
+ * it is not set, the theme's gutter applies. Every written block carries the full set, so no
33
+ * block inherits a stale `max-width`. Rows take `rowGap` (or `gap`'s row half), never the layout.
34
+ */
35
+ declare const layoutGridStyles: (theme: unknown, value: LayoutGridValue | undefined, gap?: LayoutGridGap) => StyleObject;
36
+ /**
37
+ * The `layout` prop as the page frame alone: the margin and, in fixed mode, the centred max
38
+ * width per breakpoint - no columns, and `display` is left alone. Every View-based component
39
+ * takes it; compose it with `layoutGrid` for the columns.
40
+ */
41
+ declare const layoutFrame: Parser;
42
+ /**
43
+ * The `layout` prop's columns on a grid container: the tracks and the gutter. The gutter is the
44
+ * element's own `columnGap` or `gap` where it sets one, the theme's elsewhere - so `column-gap`
45
+ * has a single source and an explicit gap is never silently replaced.
46
+ */
47
+ declare const layoutGrid: Parser;
48
+ /**
49
+ * The `span` prop: how many columns of a grid an element takes - `grid-column: span N` - or
50
+ * `span="full"` for the whole row whatever the column count. Responsive like any prop:
51
+ * `span={{ xs: 'full', md: 6 }}`.
52
+ */
53
+ declare const span: Parser;
54
+ //#endregion
55
+ export { layoutGrid as a, grid as c, layoutFrame as i, LayoutGridGap as n, layoutGridStyles as o, LayoutGridValue as r, span as s, LayoutGridEntry as t };
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-IulNhyDt.mjs";
2
- import "./types-Cj6Jx5LX.mjs";
2
+ import "./types-Cl2haWqC.mjs";
3
3
  //#region src/background/background.d.ts
4
4
  declare const background: 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-Cv-XGWcr.cjs");
8
+ const require_grid = require("./grid-CvJv0uga.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");
@@ -169,7 +169,6 @@ exports.justifyContent = justifyContent;
169
169
  exports.justifyItems = justifyItems;
170
170
  exports.justifySelf = justifySelf;
171
171
  exports.layout = require_layout.layout;
172
- exports.layoutFlex = require_grid.layoutFlex;
173
172
  exports.layoutFrame = require_grid.layoutFrame;
174
173
  exports.layoutGrid = require_grid.layoutGrid;
175
174
  exports.layoutGridStyles = require_grid.layoutGridStyles;
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-IfEDsoFj.cjs";
4
- import { $ as GridTemplateRowsProps, A as FlexDirectionProps, At as TLengthStyledSystem, B as GapProps, Bt as TextShadowProps, C as ButtonStyleProps, Ct as RightProps, D as ContainerProps, Dt as SizeProps, E as ColumnGapProps, Et as ShadowProps, F as FlexboxProps, Ft as TextDecorationLineProps, G as GridColumnGapProps, Gt as TopProps, H as GridAutoColumnsProps, Ht as TextTransformProps, I as FontFamilyProps, It as TextDecorationProps, J as GridProps, Jt as WhiteSpaceProps, K as GridColumnProps, Kt as TypographyProps, L as FontSizeProps, Lt as TextDecorationStyleProps, M as FlexProps, Mt as TextAlignProps, N as FlexShrinkProps, Nt as TextColorProps, O as DisplayProps, Ot as SpaceProps, P as FlexWrapProps, Pt as TextDecorationColorProps, Q as GridTemplateColumnsProps, R as FontStyleProps, Rt as TextDecorationThicknessProps, S as BreakpointName, St as ResponsiveValue, T as ColorStyleProps, Tt as Scale, U as GridAutoFlowProps, Ut as Theme, V as GridAreaProps, Vt as TextStyleProps, W as GridAutoRowsProps, Wt as ThemeValue, X as GridRowProps, Xt as ZIndexProps, Y as GridRowGapProps, Yt as WidthProps, Z as GridTemplateAreasProps, _ as BorderStyleProps, _t as OrderProps, a as BackgroundColorProps, at as LayoutGridProps, b as BottomProps, bt as PositionProps, c as BackgroundProps, ct as LetterSpacingProps, d as BorderBottomProps, dt as MaxHeightProps, et as HeightProps, f as BorderColorProps, ft as MaxWidthProps, g as BorderRightProps, gt as OpacityProps, h as BorderRadiusProps, ht as ObjectOrArray, i as AspectRatioProps, it as LayoutFrameProps, j as FlexGrowProps, jt as TextAlignLastProps, k as FlexBasisProps, kt as SpanProps, l as BackgroundRepeatProps, lt as LineHeightProps, m as BorderProps, mt as MinWidthProps, n as AlignItemsProps, nt as JustifyItemsProps, o as BackgroundImageProps, ot as LayoutProps, p as BorderLeftProps, pt as MinHeightProps, q as GridGapProps, qt as VerticalAlignProps, r as AlignSelfProps, rt as JustifySelfProps, s as BackgroundPositionProps, st as LeftProps, t as AlignContentProps, tt as JustifyContentProps, u as BackgroundSizeProps, ut as MarginProps, v as BorderTopProps, vt as OverflowProps, w as ColorProps, wt as RowGapProps, x as BoxShadowProps, xt as RequiredTheme, y as BorderWidthProps, yt as PaddingProps, z as FontWeightProps, zt as TextOverflowProps } from "./types-Cj6Jx5LX.cjs";
5
- import { t as border } from "./index-C8kegqfi.cjs";
6
- import { t as color } from "./index-DOzfQDfG.cjs";
7
- import { t as flexbox } from "./index-ILo8rb05.cjs";
8
- import { a as layoutFrame, c as span, i as layoutFlex, l as grid, n as LayoutGridEntry, o as layoutGrid, r as LayoutGridValue, s as layoutGridStyles, t as LayoutGridDisplay } from "./index-DHAamdKa.cjs";
9
- import { i as space, n as margin, r as padding, t as gap } from "./index-Dpqn1WzM.cjs";
10
- import { t as layout } from "./index-CnHK2xHk.cjs";
11
- import { t as typography } from "./index-PoT1oV9X.cjs";
12
- import { t as position } from "./index-CpS2pkHD.cjs";
13
- import { t as shadow } from "./index-eWVK6SXF.cjs";
14
- import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-B7YL_4tg.cjs";
3
+ import { t as background } from "./index-Di8gHXKt.cjs";
4
+ import { $ as GridTemplateRowsProps, A as FlexDirectionProps, At as TLengthStyledSystem, B as GapProps, Bt as TextShadowProps, C as ButtonStyleProps, Ct as RightProps, D as ContainerProps, Dt as SizeProps, E as ColumnGapProps, Et as ShadowProps, F as FlexboxProps, Ft as TextDecorationLineProps, G as GridColumnGapProps, Gt as TopProps, H as GridAutoColumnsProps, Ht as TextTransformProps, I as FontFamilyProps, It as TextDecorationProps, J as GridProps, Jt as WhiteSpaceProps, K as GridColumnProps, Kt as TypographyProps, L as FontSizeProps, Lt as TextDecorationStyleProps, M as FlexProps, Mt as TextAlignProps, N as FlexShrinkProps, Nt as TextColorProps, O as DisplayProps, Ot as SpaceProps, P as FlexWrapProps, Pt as TextDecorationColorProps, Q as GridTemplateColumnsProps, R as FontStyleProps, Rt as TextDecorationThicknessProps, S as BreakpointName, St as ResponsiveValue, T as ColorStyleProps, Tt as Scale, U as GridAutoFlowProps, Ut as Theme, V as GridAreaProps, Vt as TextStyleProps, W as GridAutoRowsProps, Wt as ThemeValue, X as GridRowProps, Xt as ZIndexProps, Y as GridRowGapProps, Yt as WidthProps, Z as GridTemplateAreasProps, _ as BorderStyleProps, _t as OrderProps, a as BackgroundColorProps, at as LayoutGridProps, b as BottomProps, bt as PositionProps, c as BackgroundProps, ct as LetterSpacingProps, d as BorderBottomProps, dt as MaxHeightProps, et as HeightProps, f as BorderColorProps, ft as MaxWidthProps, g as BorderRightProps, gt as OpacityProps, h as BorderRadiusProps, ht as ObjectOrArray, i as AspectRatioProps, it as LayoutFrameProps, j as FlexGrowProps, jt as TextAlignLastProps, k as FlexBasisProps, kt as SpanProps, l as BackgroundRepeatProps, lt as LineHeightProps, m as BorderProps, mt as MinWidthProps, n as AlignItemsProps, nt as JustifyItemsProps, o as BackgroundImageProps, ot as LayoutProps, p as BorderLeftProps, pt as MinHeightProps, q as GridGapProps, qt as VerticalAlignProps, r as AlignSelfProps, rt as JustifySelfProps, s as BackgroundPositionProps, st as LeftProps, t as AlignContentProps, tt as JustifyContentProps, u as BackgroundSizeProps, ut as MarginProps, v as BorderTopProps, vt as OverflowProps, w as ColorProps, wt as RowGapProps, x as BoxShadowProps, xt as RequiredTheme, y as BorderWidthProps, yt as PaddingProps, z as FontWeightProps, zt as TextOverflowProps } from "./types-Cl2haWqC.cjs";
5
+ import { t as border } from "./index-BqZjtkzF.cjs";
6
+ import { t as color } from "./index-DwJSd01p.cjs";
7
+ import { t as flexbox } from "./index-BUX09rTq.cjs";
8
+ import { a as layoutGrid, c as grid, i as layoutFrame, n as LayoutGridGap, o as layoutGridStyles, r as LayoutGridValue, s as span, t as LayoutGridEntry } from "./index-BZI1xwTA.cjs";
9
+ import { i as space, n as margin, r as padding, t as gap } from "./index-BUa_KRfs.cjs";
10
+ import { t as layout } from "./index-Dv3K2IAS.cjs";
11
+ import { t as typography } from "./index-C56_VCbD.cjs";
12
+ import { t as position } from "./index-BVNmdtmk.cjs";
13
+ import { t as shadow } from "./index-DGGFii8s.cjs";
14
+ import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-BDUZ7qQu.cjs";
15
15
  //#region src/style/style.d.ts
16
16
  interface StyleOptions {
17
17
  prop: string;
@@ -99,4 +99,4 @@ declare const right: Parser;
99
99
  declare const bottom: Parser;
100
100
  declare const left: Parser;
101
101
  //#endregion
102
- export { AlignContentProps, AlignItemsProps, AlignSelfProps, AspectRatioProps, BackgroundColorProps, BackgroundImageProps, BackgroundPositionProps, BackgroundProps, BackgroundRepeatProps, BackgroundSizeProps, BorderBottomProps, BorderColorProps, BorderLeftProps, BorderProps, BorderRadiusProps, BorderRightProps, BorderStyleProps, BorderTopProps, BorderWidthProps, BottomProps, BoxShadowProps, type BreakpointInput, BreakpointName, type Breakpoints, ButtonStyleProps, ColorProps, ColorStyleProps, ColumnGapProps, type Config, type ConfigFunction, type ConfigStyle, ContainerProps, type ContainerQueries, DisplayProps, FlexBasisProps, FlexDirectionProps, FlexGrowProps, FlexProps, FlexShrinkProps, FlexWrapProps, FlexboxProps, FontFamilyProps, FontSizeProps, FontStyleProps, FontWeightProps, GapProps, GridAreaProps, GridAutoColumnsProps, GridAutoFlowProps, GridAutoRowsProps, GridColumnGapProps, GridColumnProps, GridGapProps, GridProps, GridRowGapProps, GridRowProps, GridTemplateAreasProps, GridTemplateColumnsProps, GridTemplateRowsProps, HeightProps, JustifyContentProps, JustifyItemsProps, JustifySelfProps, LayoutFrameProps, type LayoutGridDisplay, type LayoutGridEntry, LayoutGridProps, type LayoutGridValue, LayoutProps, LeftProps, LetterSpacingProps, LineHeightProps, type LowLevelStyleFunctionArguments, MarginProps, MaxHeightProps, MaxWidthProps, MinHeightProps, MinWidthProps, ObjectOrArray, OpacityProps, OrderProps, OverflowProps, PaddingProps, type Parser, type ParserConfig, PositionProps, type Props, type QueryHelpers, RequiredTheme, type ResponsiveQueries, ResponsiveValue, RightProps, RowGapProps, Scale, ShadowProps, SizeProps, SpaceProps, SpanProps, type StyleFn, type StyleObject, type StyleOptions, type SystemConfig, TLengthStyledSystem, TextAlignLastProps, TextAlignProps, TextColorProps, TextDecorationColorProps, TextDecorationLineProps, TextDecorationProps, TextDecorationStyleProps, TextDecorationThicknessProps, TextOverflowProps, TextShadowProps, TextStyleProps, TextTransformProps, Theme, ThemeValue, TopProps, type Transform, TypographyProps, type VariantArgs, type VariantOptions, VerticalAlignProps, WhiteSpaceProps, WidthProps, ZIndexProps, alignContent, alignItems, alignSelf, background, backgroundImage, backgroundPosition, backgroundRepeat, backgroundSize, border, border as borders, borderBottom, borderColor, borderLeft, borderRadius, borderRight, borderStyle, borderTop, borderWidth, bottom, shadow as boxShadow, shadow, shadow as textShadow, breakpointQueries, buttonStyle, color, colorStyle, compose, containerKey, createContainerQueries, createMediaHelpers, createMediaQuery, createParser, createStyleFunction, display, flex, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, flexbox, fontFamily, fontSize, fontStyle, fontWeight, gap, get, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnGap, gridGap, gridRow, gridRowGap, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, height, justifyContent, justifyItems, justifySelf, layout, layoutFlex, layoutFrame, layoutGrid, layoutGridStyles, left, letterSpacing, lineHeight, margin, maxHeight, maxWidth, minHeight, minWidth, opacity, order, overflow, overflowX, overflowY, padding, position, responsiveQueries, right, size, space, span, style, type styleFn, system, textAlign, textAlignLast, textDecoration, textDecorationColor, textDecorationLine, textDecorationStyle, textDecorationThickness, textOverflow, textStyle, textTransform, top, typography, variant, verticalAlign, whiteSpace, width, zIndex };
102
+ export { AlignContentProps, AlignItemsProps, AlignSelfProps, AspectRatioProps, BackgroundColorProps, BackgroundImageProps, BackgroundPositionProps, BackgroundProps, BackgroundRepeatProps, BackgroundSizeProps, BorderBottomProps, BorderColorProps, BorderLeftProps, BorderProps, BorderRadiusProps, BorderRightProps, BorderStyleProps, BorderTopProps, BorderWidthProps, BottomProps, BoxShadowProps, type BreakpointInput, BreakpointName, type Breakpoints, ButtonStyleProps, ColorProps, ColorStyleProps, ColumnGapProps, type Config, type ConfigFunction, type ConfigStyle, ContainerProps, type ContainerQueries, DisplayProps, FlexBasisProps, FlexDirectionProps, FlexGrowProps, FlexProps, FlexShrinkProps, FlexWrapProps, FlexboxProps, FontFamilyProps, FontSizeProps, FontStyleProps, FontWeightProps, GapProps, GridAreaProps, GridAutoColumnsProps, GridAutoFlowProps, GridAutoRowsProps, GridColumnGapProps, GridColumnProps, GridGapProps, GridProps, GridRowGapProps, GridRowProps, GridTemplateAreasProps, GridTemplateColumnsProps, GridTemplateRowsProps, HeightProps, JustifyContentProps, JustifyItemsProps, JustifySelfProps, LayoutFrameProps, type LayoutGridEntry, type LayoutGridGap, LayoutGridProps, type LayoutGridValue, LayoutProps, LeftProps, LetterSpacingProps, LineHeightProps, type LowLevelStyleFunctionArguments, MarginProps, MaxHeightProps, MaxWidthProps, MinHeightProps, MinWidthProps, ObjectOrArray, OpacityProps, OrderProps, OverflowProps, PaddingProps, type Parser, type ParserConfig, PositionProps, type Props, type QueryHelpers, RequiredTheme, type ResponsiveQueries, ResponsiveValue, RightProps, RowGapProps, Scale, ShadowProps, SizeProps, SpaceProps, SpanProps, type StyleFn, type StyleObject, type StyleOptions, type SystemConfig, TLengthStyledSystem, TextAlignLastProps, TextAlignProps, TextColorProps, TextDecorationColorProps, TextDecorationLineProps, TextDecorationProps, TextDecorationStyleProps, TextDecorationThicknessProps, TextOverflowProps, TextShadowProps, TextStyleProps, TextTransformProps, Theme, ThemeValue, TopProps, type Transform, TypographyProps, type VariantArgs, type VariantOptions, VerticalAlignProps, WhiteSpaceProps, WidthProps, ZIndexProps, alignContent, alignItems, alignSelf, background, backgroundImage, backgroundPosition, backgroundRepeat, backgroundSize, border, border as borders, borderBottom, borderColor, borderLeft, borderRadius, borderRight, borderStyle, borderTop, borderWidth, bottom, shadow as boxShadow, shadow, shadow as textShadow, breakpointQueries, buttonStyle, color, colorStyle, compose, containerKey, createContainerQueries, createMediaHelpers, createMediaQuery, createParser, createStyleFunction, display, flex, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, flexbox, fontFamily, fontSize, fontStyle, fontWeight, gap, get, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnGap, gridGap, gridRow, gridRowGap, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, height, justifyContent, justifyItems, justifySelf, layout, layoutFrame, layoutGrid, layoutGridStyles, left, letterSpacing, lineHeight, margin, maxHeight, maxWidth, minHeight, minWidth, opacity, order, overflow, overflowX, overflowY, padding, position, responsiveQueries, right, size, space, span, style, type styleFn, system, textAlign, textAlignLast, textDecoration, textDecorationColor, textDecorationLine, textDecorationStyle, textDecorationThickness, textOverflow, textStyle, textTransform, top, typography, variant, verticalAlign, whiteSpace, width, zIndex };
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-Xh-lC-ge.mjs";
4
- import { $ as GridTemplateRowsProps, A as FlexDirectionProps, At as TLengthStyledSystem, B as GapProps, Bt as TextShadowProps, C as ButtonStyleProps, Ct as RightProps, D as ContainerProps, Dt as SizeProps, E as ColumnGapProps, Et as ShadowProps, F as FlexboxProps, Ft as TextDecorationLineProps, G as GridColumnGapProps, Gt as TopProps, H as GridAutoColumnsProps, Ht as TextTransformProps, I as FontFamilyProps, It as TextDecorationProps, J as GridProps, Jt as WhiteSpaceProps, K as GridColumnProps, Kt as TypographyProps, L as FontSizeProps, Lt as TextDecorationStyleProps, M as FlexProps, Mt as TextAlignProps, N as FlexShrinkProps, Nt as TextColorProps, O as DisplayProps, Ot as SpaceProps, P as FlexWrapProps, Pt as TextDecorationColorProps, Q as GridTemplateColumnsProps, R as FontStyleProps, Rt as TextDecorationThicknessProps, S as BreakpointName, St as ResponsiveValue, T as ColorStyleProps, Tt as Scale, U as GridAutoFlowProps, Ut as Theme, V as GridAreaProps, Vt as TextStyleProps, W as GridAutoRowsProps, Wt as ThemeValue, X as GridRowProps, Xt as ZIndexProps, Y as GridRowGapProps, Yt as WidthProps, Z as GridTemplateAreasProps, _ as BorderStyleProps, _t as OrderProps, a as BackgroundColorProps, at as LayoutGridProps, b as BottomProps, bt as PositionProps, c as BackgroundProps, ct as LetterSpacingProps, d as BorderBottomProps, dt as MaxHeightProps, et as HeightProps, f as BorderColorProps, ft as MaxWidthProps, g as BorderRightProps, gt as OpacityProps, h as BorderRadiusProps, ht as ObjectOrArray, i as AspectRatioProps, it as LayoutFrameProps, j as FlexGrowProps, jt as TextAlignLastProps, k as FlexBasisProps, kt as SpanProps, l as BackgroundRepeatProps, lt as LineHeightProps, m as BorderProps, mt as MinWidthProps, n as AlignItemsProps, nt as JustifyItemsProps, o as BackgroundImageProps, ot as LayoutProps, p as BorderLeftProps, pt as MinHeightProps, q as GridGapProps, qt as VerticalAlignProps, r as AlignSelfProps, rt as JustifySelfProps, s as BackgroundPositionProps, st as LeftProps, t as AlignContentProps, tt as JustifyContentProps, u as BackgroundSizeProps, ut as MarginProps, v as BorderTopProps, vt as OverflowProps, w as ColorProps, wt as RowGapProps, x as BoxShadowProps, xt as RequiredTheme, y as BorderWidthProps, yt as PaddingProps, z as FontWeightProps, zt as TextOverflowProps } from "./types-Cj6Jx5LX.mjs";
5
- import { t as border } from "./index-BgSrVqHI.mjs";
6
- import { t as color } from "./index-fuBvJDhs.mjs";
7
- import { t as flexbox } from "./index-D8sNCYCo.mjs";
8
- import { a as layoutFrame, c as span, i as layoutFlex, l as grid, n as LayoutGridEntry, o as layoutGrid, r as LayoutGridValue, s as layoutGridStyles, t as LayoutGridDisplay } from "./index-C0X-fL6a.mjs";
9
- import { i as space, n as margin, r as padding, t as gap } from "./index-BnfK4WNL.mjs";
10
- import { t as layout } from "./index-kkyge37R.mjs";
11
- import { t as typography } from "./index-BvyUTPw5.mjs";
12
- import { t as position } from "./index-DbwnL32Q.mjs";
13
- import { t as shadow } from "./index-CnVRmFIZ.mjs";
14
- import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-4_E8pg8R.mjs";
3
+ import { t as background } from "./index-mSyoGVmz.mjs";
4
+ import { $ as GridTemplateRowsProps, A as FlexDirectionProps, At as TLengthStyledSystem, B as GapProps, Bt as TextShadowProps, C as ButtonStyleProps, Ct as RightProps, D as ContainerProps, Dt as SizeProps, E as ColumnGapProps, Et as ShadowProps, F as FlexboxProps, Ft as TextDecorationLineProps, G as GridColumnGapProps, Gt as TopProps, H as GridAutoColumnsProps, Ht as TextTransformProps, I as FontFamilyProps, It as TextDecorationProps, J as GridProps, Jt as WhiteSpaceProps, K as GridColumnProps, Kt as TypographyProps, L as FontSizeProps, Lt as TextDecorationStyleProps, M as FlexProps, Mt as TextAlignProps, N as FlexShrinkProps, Nt as TextColorProps, O as DisplayProps, Ot as SpaceProps, P as FlexWrapProps, Pt as TextDecorationColorProps, Q as GridTemplateColumnsProps, R as FontStyleProps, Rt as TextDecorationThicknessProps, S as BreakpointName, St as ResponsiveValue, T as ColorStyleProps, Tt as Scale, U as GridAutoFlowProps, Ut as Theme, V as GridAreaProps, Vt as TextStyleProps, W as GridAutoRowsProps, Wt as ThemeValue, X as GridRowProps, Xt as ZIndexProps, Y as GridRowGapProps, Yt as WidthProps, Z as GridTemplateAreasProps, _ as BorderStyleProps, _t as OrderProps, a as BackgroundColorProps, at as LayoutGridProps, b as BottomProps, bt as PositionProps, c as BackgroundProps, ct as LetterSpacingProps, d as BorderBottomProps, dt as MaxHeightProps, et as HeightProps, f as BorderColorProps, ft as MaxWidthProps, g as BorderRightProps, gt as OpacityProps, h as BorderRadiusProps, ht as ObjectOrArray, i as AspectRatioProps, it as LayoutFrameProps, j as FlexGrowProps, jt as TextAlignLastProps, k as FlexBasisProps, kt as SpanProps, l as BackgroundRepeatProps, lt as LineHeightProps, m as BorderProps, mt as MinWidthProps, n as AlignItemsProps, nt as JustifyItemsProps, o as BackgroundImageProps, ot as LayoutProps, p as BorderLeftProps, pt as MinHeightProps, q as GridGapProps, qt as VerticalAlignProps, r as AlignSelfProps, rt as JustifySelfProps, s as BackgroundPositionProps, st as LeftProps, t as AlignContentProps, tt as JustifyContentProps, u as BackgroundSizeProps, ut as MarginProps, v as BorderTopProps, vt as OverflowProps, w as ColorProps, wt as RowGapProps, x as BoxShadowProps, xt as RequiredTheme, y as BorderWidthProps, yt as PaddingProps, z as FontWeightProps, zt as TextOverflowProps } from "./types-Cl2haWqC.mjs";
5
+ import { t as border } from "./index-DXURX22V.mjs";
6
+ import { t as color } from "./index-BTZ4J3Ql.mjs";
7
+ import { t as flexbox } from "./index-BZs9fI-P.mjs";
8
+ import { a as layoutGrid, c as grid, i as layoutFrame, n as LayoutGridGap, o as layoutGridStyles, r as LayoutGridValue, s as span, t as LayoutGridEntry } from "./index-Np-KvYhu.mjs";
9
+ import { i as space, n as margin, r as padding, t as gap } from "./index-D_XDxNlm.mjs";
10
+ import { t as layout } from "./index-Bhpc-68J.mjs";
11
+ import { t as typography } from "./index-BQUTi5eL.mjs";
12
+ import { t as position } from "./index-Dr5JeEjc.mjs";
13
+ import { t as shadow } from "./index--7PfXEZf.mjs";
14
+ import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-DYc5_RYF.mjs";
15
15
  //#region src/style/style.d.ts
16
16
  interface StyleOptions {
17
17
  prop: string;
@@ -99,4 +99,4 @@ declare const right: Parser;
99
99
  declare const bottom: Parser;
100
100
  declare const left: Parser;
101
101
  //#endregion
102
- export { AlignContentProps, AlignItemsProps, AlignSelfProps, AspectRatioProps, BackgroundColorProps, BackgroundImageProps, BackgroundPositionProps, BackgroundProps, BackgroundRepeatProps, BackgroundSizeProps, BorderBottomProps, BorderColorProps, BorderLeftProps, BorderProps, BorderRadiusProps, BorderRightProps, BorderStyleProps, BorderTopProps, BorderWidthProps, BottomProps, BoxShadowProps, type BreakpointInput, BreakpointName, type Breakpoints, ButtonStyleProps, ColorProps, ColorStyleProps, ColumnGapProps, type Config, type ConfigFunction, type ConfigStyle, ContainerProps, type ContainerQueries, DisplayProps, FlexBasisProps, FlexDirectionProps, FlexGrowProps, FlexProps, FlexShrinkProps, FlexWrapProps, FlexboxProps, FontFamilyProps, FontSizeProps, FontStyleProps, FontWeightProps, GapProps, GridAreaProps, GridAutoColumnsProps, GridAutoFlowProps, GridAutoRowsProps, GridColumnGapProps, GridColumnProps, GridGapProps, GridProps, GridRowGapProps, GridRowProps, GridTemplateAreasProps, GridTemplateColumnsProps, GridTemplateRowsProps, HeightProps, JustifyContentProps, JustifyItemsProps, JustifySelfProps, LayoutFrameProps, type LayoutGridDisplay, type LayoutGridEntry, LayoutGridProps, type LayoutGridValue, LayoutProps, LeftProps, LetterSpacingProps, LineHeightProps, type LowLevelStyleFunctionArguments, MarginProps, MaxHeightProps, MaxWidthProps, MinHeightProps, MinWidthProps, ObjectOrArray, OpacityProps, OrderProps, OverflowProps, PaddingProps, type Parser, type ParserConfig, PositionProps, type Props, type QueryHelpers, RequiredTheme, type ResponsiveQueries, ResponsiveValue, RightProps, RowGapProps, Scale, ShadowProps, SizeProps, SpaceProps, SpanProps, type StyleFn, type StyleObject, type StyleOptions, type SystemConfig, TLengthStyledSystem, TextAlignLastProps, TextAlignProps, TextColorProps, TextDecorationColorProps, TextDecorationLineProps, TextDecorationProps, TextDecorationStyleProps, TextDecorationThicknessProps, TextOverflowProps, TextShadowProps, TextStyleProps, TextTransformProps, Theme, ThemeValue, TopProps, type Transform, TypographyProps, type VariantArgs, type VariantOptions, VerticalAlignProps, WhiteSpaceProps, WidthProps, ZIndexProps, alignContent, alignItems, alignSelf, background, backgroundImage, backgroundPosition, backgroundRepeat, backgroundSize, border, border as borders, borderBottom, borderColor, borderLeft, borderRadius, borderRight, borderStyle, borderTop, borderWidth, bottom, shadow as boxShadow, shadow, shadow as textShadow, breakpointQueries, buttonStyle, color, colorStyle, compose, containerKey, createContainerQueries, createMediaHelpers, createMediaQuery, createParser, createStyleFunction, display, flex, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, flexbox, fontFamily, fontSize, fontStyle, fontWeight, gap, get, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnGap, gridGap, gridRow, gridRowGap, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, height, justifyContent, justifyItems, justifySelf, layout, layoutFlex, layoutFrame, layoutGrid, layoutGridStyles, left, letterSpacing, lineHeight, margin, maxHeight, maxWidth, minHeight, minWidth, opacity, order, overflow, overflowX, overflowY, padding, position, responsiveQueries, right, size, space, span, style, type styleFn, system, textAlign, textAlignLast, textDecoration, textDecorationColor, textDecorationLine, textDecorationStyle, textDecorationThickness, textOverflow, textStyle, textTransform, top, typography, variant, verticalAlign, whiteSpace, width, zIndex };
102
+ export { AlignContentProps, AlignItemsProps, AlignSelfProps, AspectRatioProps, BackgroundColorProps, BackgroundImageProps, BackgroundPositionProps, BackgroundProps, BackgroundRepeatProps, BackgroundSizeProps, BorderBottomProps, BorderColorProps, BorderLeftProps, BorderProps, BorderRadiusProps, BorderRightProps, BorderStyleProps, BorderTopProps, BorderWidthProps, BottomProps, BoxShadowProps, type BreakpointInput, BreakpointName, type Breakpoints, ButtonStyleProps, ColorProps, ColorStyleProps, ColumnGapProps, type Config, type ConfigFunction, type ConfigStyle, ContainerProps, type ContainerQueries, DisplayProps, FlexBasisProps, FlexDirectionProps, FlexGrowProps, FlexProps, FlexShrinkProps, FlexWrapProps, FlexboxProps, FontFamilyProps, FontSizeProps, FontStyleProps, FontWeightProps, GapProps, GridAreaProps, GridAutoColumnsProps, GridAutoFlowProps, GridAutoRowsProps, GridColumnGapProps, GridColumnProps, GridGapProps, GridProps, GridRowGapProps, GridRowProps, GridTemplateAreasProps, GridTemplateColumnsProps, GridTemplateRowsProps, HeightProps, JustifyContentProps, JustifyItemsProps, JustifySelfProps, LayoutFrameProps, type LayoutGridEntry, type LayoutGridGap, LayoutGridProps, type LayoutGridValue, LayoutProps, LeftProps, LetterSpacingProps, LineHeightProps, type LowLevelStyleFunctionArguments, MarginProps, MaxHeightProps, MaxWidthProps, MinHeightProps, MinWidthProps, ObjectOrArray, OpacityProps, OrderProps, OverflowProps, PaddingProps, type Parser, type ParserConfig, PositionProps, type Props, type QueryHelpers, RequiredTheme, type ResponsiveQueries, ResponsiveValue, RightProps, RowGapProps, Scale, ShadowProps, SizeProps, SpaceProps, SpanProps, type StyleFn, type StyleObject, type StyleOptions, type SystemConfig, TLengthStyledSystem, TextAlignLastProps, TextAlignProps, TextColorProps, TextDecorationColorProps, TextDecorationLineProps, TextDecorationProps, TextDecorationStyleProps, TextDecorationThicknessProps, TextOverflowProps, TextShadowProps, TextStyleProps, TextTransformProps, Theme, ThemeValue, TopProps, type Transform, TypographyProps, type VariantArgs, type VariantOptions, VerticalAlignProps, WhiteSpaceProps, WidthProps, ZIndexProps, alignContent, alignItems, alignSelf, background, backgroundImage, backgroundPosition, backgroundRepeat, backgroundSize, border, border as borders, borderBottom, borderColor, borderLeft, borderRadius, borderRight, borderStyle, borderTop, borderWidth, bottom, shadow as boxShadow, shadow, shadow as textShadow, breakpointQueries, buttonStyle, color, colorStyle, compose, containerKey, createContainerQueries, createMediaHelpers, createMediaQuery, createParser, createStyleFunction, display, flex, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, flexbox, fontFamily, fontSize, fontStyle, fontWeight, gap, get, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnGap, gridGap, gridRow, gridRowGap, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, height, justifyContent, justifyItems, justifySelf, layout, layoutFrame, layoutGrid, layoutGridStyles, left, letterSpacing, lineHeight, margin, maxHeight, maxWidth, minHeight, minWidth, opacity, order, overflow, overflowX, overflowY, padding, position, responsiveQueries, right, size, space, span, style, type styleFn, system, textAlign, textAlignLast, textDecoration, textDecorationColor, textDecorationLine, textDecorationStyle, textDecorationThickness, textOverflow, textStyle, textTransform, top, typography, variant, verticalAlign, whiteSpace, width, zIndex };
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 span, i as layoutGridStyles, n as layoutFrame, o as grid, r as layoutGrid, t as layoutFlex } from "./grid-CAuvylKs.mjs";
7
+ import { a as grid, i as span, n as layoutGrid, r as layoutGridStyles, t as layoutFrame } from "./grid-Du9HrjII.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";
@@ -105,4 +105,4 @@ const right = positionFns.right;
105
105
  const bottom = positionFns.bottom;
106
106
  const left = positionFns.left;
107
107
  //#endregion
108
- export { alignContent, alignItems, alignSelf, background, backgroundImage, backgroundPosition, backgroundRepeat, backgroundSize, border, border as borders, borderBottom, borderColor, borderLeft, borderRadius, borderRight, borderStyle, borderTop, borderWidth, bottom, shadow as boxShadow, shadow, shadow as textShadow, breakpointQueries, buttonStyle, color, colorStyle, compose, containerKey, createContainerQueries, createMediaHelpers, createMediaQuery, createParser, createStyleFunction, display, flex, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, flexbox, fontFamily, fontSize, fontStyle, fontWeight, gap, get, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnGap, gridGap, gridRow, gridRowGap, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, height, justifyContent, justifyItems, justifySelf, layout, layoutFlex, layoutFrame, layoutGrid, layoutGridStyles, left, letterSpacing, lineHeight, margin, maxHeight, maxWidth, minHeight, minWidth, opacity, order, overflow, overflowX, overflowY, padding, position, responsiveQueries, right, size, space, span, style, system, textAlign, textAlignLast, textDecoration, textDecorationColor, textDecorationLine, textDecorationStyle, textDecorationThickness, textOverflow, textStyle, textTransform, top, typography, variant, verticalAlign, whiteSpace, width, zIndex };
108
+ export { alignContent, alignItems, alignSelf, background, backgroundImage, backgroundPosition, backgroundRepeat, backgroundSize, border, border as borders, borderBottom, borderColor, borderLeft, borderRadius, borderRight, borderStyle, borderTop, borderWidth, bottom, shadow as boxShadow, shadow, shadow as textShadow, breakpointQueries, buttonStyle, color, colorStyle, compose, containerKey, createContainerQueries, createMediaHelpers, createMediaQuery, createParser, createStyleFunction, display, flex, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, flexbox, fontFamily, fontSize, fontStyle, fontWeight, gap, get, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnGap, gridGap, gridRow, gridRowGap, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, height, justifyContent, justifyItems, justifySelf, layout, layoutFrame, layoutGrid, layoutGridStyles, left, letterSpacing, lineHeight, margin, maxHeight, maxWidth, minHeight, minWidth, opacity, order, overflow, overflowX, overflowY, padding, position, responsiveQueries, right, size, space, span, style, system, textAlign, textAlignLast, textDecoration, textDecorationColor, textDecorationLine, textDecorationStyle, textDecorationThickness, textOverflow, textStyle, textTransform, top, typography, variant, verticalAlign, whiteSpace, width, zIndex };
package/dist/layout.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { D as ContainerProps, Dt as SizeProps, O as DisplayProps, Yt as WidthProps, dt as MaxHeightProps, et as HeightProps, ft as MaxWidthProps, i as AspectRatioProps, mt as MinWidthProps, ot as LayoutProps, pt as MinHeightProps, qt as VerticalAlignProps, vt as OverflowProps } from "./types-Cj6Jx5LX.cjs";
2
- import { t as layout } from "./index-CnHK2xHk.cjs";
1
+ import { D as ContainerProps, Dt as SizeProps, O as DisplayProps, Yt as WidthProps, dt as MaxHeightProps, et as HeightProps, ft as MaxWidthProps, i as AspectRatioProps, mt as MinWidthProps, ot as LayoutProps, pt as MinHeightProps, qt as VerticalAlignProps, vt as OverflowProps } from "./types-Cl2haWqC.cjs";
2
+ import { t as layout } from "./index-Dv3K2IAS.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, Dt as SizeProps, O as DisplayProps, Yt as WidthProps, dt as MaxHeightProps, et as HeightProps, ft as MaxWidthProps, i as AspectRatioProps, mt as MinWidthProps, ot as LayoutProps, pt as MinHeightProps, qt as VerticalAlignProps, vt as OverflowProps } from "./types-Cj6Jx5LX.mjs";
2
- import { t as layout } from "./index-kkyge37R.mjs";
1
+ import { D as ContainerProps, Dt as SizeProps, O as DisplayProps, Yt as WidthProps, dt as MaxHeightProps, et as HeightProps, ft as MaxWidthProps, i as AspectRatioProps, mt as MinWidthProps, ot as LayoutProps, pt as MinHeightProps, qt as VerticalAlignProps, vt as OverflowProps } from "./types-Cl2haWqC.mjs";
2
+ import { t as layout } from "./index-Bhpc-68J.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 { Ct as RightProps, Gt as TopProps, Xt as ZIndexProps, b as BottomProps, bt as PositionProps, st as LeftProps } from "./types-Cj6Jx5LX.cjs";
2
- import { t as position } from "./index-CpS2pkHD.cjs";
1
+ import { Ct as RightProps, Gt as TopProps, Xt as ZIndexProps, b as BottomProps, bt as PositionProps, st as LeftProps } from "./types-Cl2haWqC.cjs";
2
+ import { t as position } from "./index-BVNmdtmk.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 { Ct as RightProps, Gt as TopProps, Xt as ZIndexProps, b as BottomProps, bt as PositionProps, st as LeftProps } from "./types-Cj6Jx5LX.mjs";
2
- import { t as position } from "./index-DbwnL32Q.mjs";
1
+ import { Ct as RightProps, Gt as TopProps, Xt as ZIndexProps, b as BottomProps, bt as PositionProps, st as LeftProps } from "./types-Cl2haWqC.mjs";
2
+ import { t as position } from "./index-Dr5JeEjc.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 span, o as grid } from "./grid-CAuvylKs.mjs";
6
+ import { a as grid, i as span } from "./grid-Du9HrjII.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-Cv-XGWcr.cjs");
6
+ const require_grid = require("./grid-CvJv0uga.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-Cv-XGWcr.cjs");
10
+ const require_grid = require("./grid-CvJv0uga.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 { o as grid } from "./grid-CAuvylKs.mjs";
5
+ import { a as grid } from "./grid-Du9HrjII.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-Da2kvQPo.cjs");
2
+ const require_presets = require("./presets-mePesdYM.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-B4QR0tKt.mjs";
1
+ import { t as all } from "./presets-Cxa2Xoxa.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 { Bt as TextShadowProps, Et as ShadowProps, x as BoxShadowProps } from "./types-Cj6Jx5LX.cjs";
2
- import { t as shadow } from "./index-eWVK6SXF.cjs";
1
+ import { Bt as TextShadowProps, Et as ShadowProps, x as BoxShadowProps } from "./types-Cl2haWqC.cjs";
2
+ import { t as shadow } from "./index-DGGFii8s.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 { Bt as TextShadowProps, Et as ShadowProps, x as BoxShadowProps } from "./types-Cj6Jx5LX.mjs";
2
- import { t as shadow } from "./index-CnVRmFIZ.mjs";
1
+ import { Bt as TextShadowProps, Et as ShadowProps, x as BoxShadowProps } from "./types-Cl2haWqC.mjs";
2
+ import { t as shadow } from "./index--7PfXEZf.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-Da2kvQPo.cjs");
6
+ const require_presets = require("./presets-mePesdYM.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-B4QR0tKt.mjs";
1
+ import { t as all } from "./presets-Cxa2Xoxa.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, E as ColumnGapProps, Ot as SpaceProps, ut as MarginProps, wt as RowGapProps, yt as PaddingProps } from "./types-Cj6Jx5LX.cjs";
2
- import { i as space, n as margin, r as padding, t as gap } from "./index-Dpqn1WzM.cjs";
1
+ import { B as GapProps, E as ColumnGapProps, Ot as SpaceProps, ut as MarginProps, wt as RowGapProps, yt as PaddingProps } from "./types-Cl2haWqC.cjs";
2
+ import { i as space, n as margin, r as padding, t as gap } from "./index-BUa_KRfs.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, E as ColumnGapProps, Ot as SpaceProps, ut as MarginProps, wt as RowGapProps, yt as PaddingProps } from "./types-Cj6Jx5LX.mjs";
2
- import { i as space, n as margin, r as padding, t as gap } from "./index-BnfK4WNL.mjs";
1
+ import { B as GapProps, E as ColumnGapProps, Ot as SpaceProps, ut as MarginProps, wt as RowGapProps, yt as PaddingProps } from "./types-Cl2haWqC.mjs";
2
+ import { i as space, n as margin, r as padding, t as gap } from "./index-D_XDxNlm.mjs";
3
3
  export { type ColumnGapProps, type GapProps, type MarginProps, type PaddingProps, type RowGapProps, type SpaceProps, space as default, space, gap, margin, padding };
@@ -346,7 +346,6 @@ interface LayoutFrameEntryProps<ThemeType extends Theme> {
346
346
  }
347
347
  interface LayoutGridEntryProps<ThemeType extends Theme> extends LayoutFrameEntryProps<ThemeType> {
348
348
  columns?: number;
349
- gutter?: ThemeValue<'space', ThemeType> | string;
350
349
  }
351
350
  /**
352
351
  * Not in upstream styled-system: the page frame from `theme.layout` - its margin and max width
@@ -357,16 +356,17 @@ interface LayoutFrameProps<ThemeType extends Theme = RequiredTheme> {
357
356
  layout?: boolean | (LayoutFrameEntryProps<ThemeType> & { [key in BreakpointName<ThemeType>]?: LayoutFrameEntryProps<ThemeType>; });
358
357
  }
359
358
  /**
360
- * Not in upstream styled-system: the layout grid from `theme.layout` on a Grid or Flex - `true`
361
- * for the theme's, or an entry whose fields replace it at every breakpoint (`{ gutter: 8 }`),
362
- * with entries under breakpoint names that replace it there only (`{ lg: { columns: 16 } }`).
359
+ * Not in upstream styled-system: the layout grid from `theme.layout` on a Grid - `true` for the
360
+ * theme's, or an entry whose fields replace it at every breakpoint (`{ maxWidth: '1280px' }`),
361
+ * with entries under breakpoint names that replace it from there up (`{ lg: { columns: 16 } }`).
362
+ * The gutter is the grid's own `gap` / `columnGap`.
363
363
  */
364
364
  interface LayoutGridProps<ThemeType extends Theme = RequiredTheme> {
365
365
  layout?: boolean | (LayoutGridEntryProps<ThemeType> & { [key in BreakpointName<ThemeType>]?: LayoutGridEntryProps<ThemeType>; });
366
366
  }
367
367
  /**
368
- * Not in upstream styled-system: how many layout-grid columns the element takes, or `'full'`
369
- * for the whole row.
368
+ * Not in upstream styled-system: how many columns of a grid the element takes, or `'full'` for
369
+ * the whole row.
370
370
  */
371
371
  interface SpanProps<ThemeType extends Theme = RequiredTheme> {
372
372
  span?: ResponsiveValue<number | 'full', ThemeType>;
@@ -346,7 +346,6 @@ interface LayoutFrameEntryProps<ThemeType extends Theme> {
346
346
  }
347
347
  interface LayoutGridEntryProps<ThemeType extends Theme> extends LayoutFrameEntryProps<ThemeType> {
348
348
  columns?: number;
349
- gutter?: ThemeValue<'space', ThemeType> | string;
350
349
  }
351
350
  /**
352
351
  * Not in upstream styled-system: the page frame from `theme.layout` - its margin and max width
@@ -357,16 +356,17 @@ interface LayoutFrameProps<ThemeType extends Theme = RequiredTheme> {
357
356
  layout?: boolean | (LayoutFrameEntryProps<ThemeType> & { [key in BreakpointName<ThemeType>]?: LayoutFrameEntryProps<ThemeType>; });
358
357
  }
359
358
  /**
360
- * Not in upstream styled-system: the layout grid from `theme.layout` on a Grid or Flex - `true`
361
- * for the theme's, or an entry whose fields replace it at every breakpoint (`{ gutter: 8 }`),
362
- * with entries under breakpoint names that replace it there only (`{ lg: { columns: 16 } }`).
359
+ * Not in upstream styled-system: the layout grid from `theme.layout` on a Grid - `true` for the
360
+ * theme's, or an entry whose fields replace it at every breakpoint (`{ maxWidth: '1280px' }`),
361
+ * with entries under breakpoint names that replace it from there up (`{ lg: { columns: 16 } }`).
362
+ * The gutter is the grid's own `gap` / `columnGap`.
363
363
  */
364
364
  interface LayoutGridProps<ThemeType extends Theme = RequiredTheme> {
365
365
  layout?: boolean | (LayoutGridEntryProps<ThemeType> & { [key in BreakpointName<ThemeType>]?: LayoutGridEntryProps<ThemeType>; });
366
366
  }
367
367
  /**
368
- * Not in upstream styled-system: how many layout-grid columns the element takes, or `'full'`
369
- * for the whole row.
368
+ * Not in upstream styled-system: how many columns of a grid the element takes, or `'full'` for
369
+ * the whole row.
370
370
  */
371
371
  interface SpanProps<ThemeType extends Theme = RequiredTheme> {
372
372
  span?: ResponsiveValue<number | 'full', ThemeType>;
@@ -1,3 +1,3 @@
1
- import { I as FontFamilyProps, Jt as WhiteSpaceProps, Kt as TypographyProps, L as FontSizeProps, Mt as TextAlignProps, R as FontStyleProps, ct as LetterSpacingProps, lt as LineHeightProps, z as FontWeightProps, zt as TextOverflowProps } from "./types-Cj6Jx5LX.cjs";
2
- import { t as typography } from "./index-PoT1oV9X.cjs";
1
+ import { I as FontFamilyProps, Jt as WhiteSpaceProps, Kt as TypographyProps, L as FontSizeProps, Mt as TextAlignProps, R as FontStyleProps, ct as LetterSpacingProps, lt as LineHeightProps, z as FontWeightProps, zt as TextOverflowProps } from "./types-Cl2haWqC.cjs";
2
+ import { t as typography } from "./index-C56_VCbD.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 { I as FontFamilyProps, Jt as WhiteSpaceProps, Kt as TypographyProps, L as FontSizeProps, Mt as TextAlignProps, R as FontStyleProps, ct as LetterSpacingProps, lt as LineHeightProps, z as FontWeightProps, zt as TextOverflowProps } from "./types-Cj6Jx5LX.mjs";
2
- import { t as typography } from "./index-BvyUTPw5.mjs";
1
+ import { I as FontFamilyProps, Jt as WhiteSpaceProps, Kt as TypographyProps, L as FontSizeProps, Mt as TextAlignProps, R as FontStyleProps, ct as LetterSpacingProps, lt as LineHeightProps, z as FontWeightProps, zt as TextOverflowProps } from "./types-Cl2haWqC.mjs";
2
+ import { t as typography } from "./index-BQUTi5eL.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 { C as ButtonStyleProps, T as ColorStyleProps, Vt as TextStyleProps } from "./types-Cj6Jx5LX.cjs";
2
- import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-B7YL_4tg.cjs";
1
+ import { C as ButtonStyleProps, T as ColorStyleProps, Vt as TextStyleProps } from "./types-Cl2haWqC.cjs";
2
+ import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-BDUZ7qQu.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 { C as ButtonStyleProps, T as ColorStyleProps, Vt as TextStyleProps } from "./types-Cj6Jx5LX.mjs";
2
- import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-4_E8pg8R.mjs";
1
+ import { C as ButtonStyleProps, T as ColorStyleProps, Vt as TextStyleProps } from "./types-Cl2haWqC.mjs";
2
+ import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-DYc5_RYF.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.2",
3
+ "version": "6.0.0-alpha.3",
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",