@soroush.tech/styled-system 6.0.0-alpha.1 → 6.0.0-alpha.2
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.
- package/dist/background.d.cts +2 -2
- package/dist/background.d.mts +2 -2
- package/dist/border.d.cts +2 -2
- package/dist/border.d.mts +2 -2
- package/dist/color.d.cts +2 -2
- package/dist/color.d.mts +2 -2
- package/dist/flexbox.d.cts +2 -2
- package/dist/flexbox.d.mts +2 -2
- package/dist/{grid-BdKZQBHF.mjs → grid-CAuvylKs.mjs} +53 -30
- package/dist/{grid-CAlwl8LZ.cjs → grid-Cv-XGWcr.cjs} +58 -29
- package/dist/grid.cjs +2 -1
- package/dist/grid.d.cts +3 -3
- package/dist/grid.d.mts +3 -3
- package/dist/grid.mjs +2 -2
- package/dist/{index-Cow4kTN2.d.mts → index-4_E8pg8R.d.mts} +1 -1
- package/dist/{index-BgcnUGws.d.cts → index-B7YL_4tg.d.cts} +1 -1
- package/dist/{index-z2p2DCxL.d.mts → index-BgSrVqHI.d.mts} +1 -1
- package/dist/{index-k5b5FR_o.d.mts → index-BnfK4WNL.d.mts} +1 -1
- package/dist/{index-CkSwZa-Z.d.mts → index-BvyUTPw5.d.mts} +1 -1
- package/dist/{index-Cy51GZK8.d.mts → index-C0X-fL6a.d.mts} +14 -6
- package/dist/{index-BolQQ69W.d.cts → index-C8kegqfi.d.cts} +1 -1
- package/dist/{index-ygAGm7QY.d.cts → index-CnHK2xHk.d.cts} +1 -1
- package/dist/{index-Cnya5hgU.d.mts → index-CnVRmFIZ.d.mts} +1 -1
- package/dist/{index-DJw2NCm-.d.cts → index-CpS2pkHD.d.cts} +1 -1
- package/dist/{index-BCO1q3Ee.d.mts → index-D8sNCYCo.d.mts} +1 -1
- package/dist/{index-DrwsZZkS.d.cts → index-DHAamdKa.d.cts} +14 -6
- package/dist/{index-MqRHkwxm.d.cts → index-DOzfQDfG.d.cts} +1 -1
- package/dist/{index-CV2xW58U.d.mts → index-DbwnL32Q.d.mts} +1 -1
- package/dist/{index-C4BUuCOD.d.cts → index-Dpqn1WzM.d.cts} +1 -1
- package/dist/{index-CXOIz3b_.d.cts → index-ILo8rb05.d.cts} +1 -1
- package/dist/{index-DS5tvdki.d.cts → index-IfEDsoFj.d.cts} +1 -1
- package/dist/{index-Bq7LA-5J.d.cts → index-PoT1oV9X.d.cts} +1 -1
- package/dist/{index-CVxHdrQd.d.mts → index-Xh-lC-ge.d.mts} +1 -1
- package/dist/{index-o6j0bywN.d.cts → index-eWVK6SXF.d.cts} +1 -1
- package/dist/{index-BiZPbJuj.d.mts → index-fuBvJDhs.d.mts} +1 -1
- package/dist/{index-DBX-YuCP.d.mts → index-kkyge37R.d.mts} +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +13 -13
- package/dist/index.d.mts +13 -13
- package/dist/index.mjs +2 -2
- package/dist/layout.d.cts +2 -2
- package/dist/layout.d.mts +2 -2
- package/dist/position.d.cts +2 -2
- package/dist/position.d.mts +2 -2
- package/dist/{presets-DtE_nRxp.mjs → presets-B4QR0tKt.mjs} +1 -1
- package/dist/{presets-fJFZ74qt.cjs → presets-Da2kvQPo.cjs} +1 -1
- package/dist/prop-types.cjs +1 -1
- package/dist/prop-types.mjs +1 -1
- package/dist/props.cjs +1 -1
- package/dist/props.mjs +1 -1
- package/dist/shadow.d.cts +2 -2
- package/dist/shadow.d.mts +2 -2
- package/dist/should-forward-prop.cjs +1 -1
- package/dist/should-forward-prop.mjs +1 -1
- package/dist/space.d.cts +2 -2
- package/dist/space.d.mts +2 -2
- package/dist/{types-C4ogGxde.d.cts → types-Cj6Jx5LX.d.cts} +19 -6
- package/dist/{types-C4ogGxde.d.mts → types-Cj6Jx5LX.d.mts} +19 -6
- package/dist/typography.d.cts +2 -2
- package/dist/typography.d.mts +2 -2
- package/dist/variant.d.cts +2 -2
- package/dist/variant.d.mts +2 -2
- package/package.json +1 -1
package/dist/background.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as background } from "./index-
|
|
2
|
-
import { c as BackgroundProps, l as BackgroundRepeatProps, o as BackgroundImageProps, s as BackgroundPositionProps, u as BackgroundSizeProps } from "./types-
|
|
1
|
+
import { t as background } from "./index-IfEDsoFj.cjs";
|
|
2
|
+
import { c as BackgroundProps, l as BackgroundRepeatProps, o as BackgroundImageProps, s as BackgroundPositionProps, u as BackgroundSizeProps } from "./types-Cj6Jx5LX.cjs";
|
|
3
3
|
export { type BackgroundImageProps, type BackgroundPositionProps, type BackgroundProps, type BackgroundRepeatProps, type BackgroundSizeProps, background, background as default };
|
package/dist/background.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as background } from "./index-
|
|
2
|
-
import { c as BackgroundProps, l as BackgroundRepeatProps, o as BackgroundImageProps, s as BackgroundPositionProps, u as BackgroundSizeProps } from "./types-
|
|
1
|
+
import { t as background } from "./index-Xh-lC-ge.mjs";
|
|
2
|
+
import { c as BackgroundProps, l as BackgroundRepeatProps, o as BackgroundImageProps, s as BackgroundPositionProps, u as BackgroundSizeProps } from "./types-Cj6Jx5LX.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-
|
|
2
|
-
import { t as border } from "./index-
|
|
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-Cj6Jx5LX.cjs";
|
|
2
|
+
import { t as border } from "./index-C8kegqfi.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-
|
|
2
|
-
import { t as border } from "./index-
|
|
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-Cj6Jx5LX.mjs";
|
|
2
|
+
import { t as border } from "./index-BgSrVqHI.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 {
|
|
2
|
-
import { t as color } from "./index-
|
|
1
|
+
import { Nt as TextColorProps, a as BackgroundColorProps, gt as OpacityProps, w as ColorProps } from "./types-Cj6Jx5LX.cjs";
|
|
2
|
+
import { t as color } from "./index-DOzfQDfG.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 {
|
|
2
|
-
import { t as color } from "./index-
|
|
1
|
+
import { Nt as TextColorProps, a as BackgroundColorProps, gt as OpacityProps, w as ColorProps } from "./types-Cj6Jx5LX.mjs";
|
|
2
|
+
import { t as color } from "./index-fuBvJDhs.mjs";
|
|
3
3
|
export { type BackgroundColorProps, type ColorProps, type OpacityProps, type TextColorProps, color, color as default };
|
package/dist/flexbox.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as FlexDirectionProps, F as FlexboxProps, M as FlexProps, N as FlexShrinkProps, P as FlexWrapProps,
|
|
2
|
-
import { t as flexbox } from "./index-
|
|
1
|
+
import { A as FlexDirectionProps, F as FlexboxProps, M as FlexProps, N as FlexShrinkProps, P as FlexWrapProps, _t 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-Cj6Jx5LX.cjs";
|
|
2
|
+
import { t as flexbox } from "./index-ILo8rb05.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 };
|
package/dist/flexbox.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as FlexDirectionProps, F as FlexboxProps, M as FlexProps, N as FlexShrinkProps, P as FlexWrapProps,
|
|
2
|
-
import { t as flexbox } from "./index-
|
|
1
|
+
import { A as FlexDirectionProps, F as FlexboxProps, M as FlexProps, N as FlexShrinkProps, P as FlexWrapProps, _t 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-Cj6Jx5LX.mjs";
|
|
2
|
+
import { t as flexbox } from "./index-D8sNCYCo.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 };
|
|
@@ -44,30 +44,37 @@ const spaceValue = (theme, value) => {
|
|
|
44
44
|
const resolved = get(theme, `space.${value}`, value);
|
|
45
45
|
return typeof resolved === "number" ? `${resolved}px` : resolved;
|
|
46
46
|
};
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
|
|
47
|
+
const frameDeclarations = (theme, { margin, mode, maxWidth }) => {
|
|
48
|
+
const width = mode === "fixed" && maxWidth !== void 0 ? spaceValue(theme, maxWidth) : void 0;
|
|
49
|
+
return {
|
|
50
|
+
paddingInline: margin === void 0 ? void 0 : spaceValue(theme, margin),
|
|
51
|
+
maxWidth: width ?? "none",
|
|
52
|
+
marginInline: width === void 0 ? 0 : `max(0px, calc((100% - ${width}) / 2))`
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
const columnDeclarations = (theme, display, { columns, gutter }) => {
|
|
50
56
|
const gap = gutter === void 0 ? void 0 : spaceValue(theme, gutter);
|
|
51
|
-
|
|
57
|
+
return {
|
|
52
58
|
"--layout-columns": columns,
|
|
53
59
|
"--layout-gutter": gap,
|
|
54
60
|
gridTemplateColumns: display === "grid" && columns !== void 0 ? `repeat(${columns}, minmax(0, 1fr))` : void 0,
|
|
55
|
-
columnGap: gap
|
|
56
|
-
paddingInline: margin === void 0 ? void 0 : spaceValue(theme, margin),
|
|
57
|
-
maxWidth: isFixed && maxWidth !== void 0 ? spaceValue(theme, maxWidth) : "none",
|
|
58
|
-
marginInline: isFixed ? "auto" : 0
|
|
61
|
+
columnGap: gap
|
|
59
62
|
};
|
|
63
|
+
};
|
|
64
|
+
const declarations = (theme, parts, entry) => {
|
|
65
|
+
const styles = Object.assign({}, ...parts.map((part) => part === "frame" ? frameDeclarations(theme, entry) : columnDeclarations(theme, part, entry)));
|
|
60
66
|
return Object.fromEntries(Object.entries(styles).filter(([, value]) => value !== void 0));
|
|
61
67
|
};
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
const DISPLAY = {
|
|
69
|
+
frame: {},
|
|
70
|
+
grid: { display: "grid" },
|
|
71
|
+
flex: {
|
|
72
|
+
display: "flex",
|
|
73
|
+
flexDirection: "row",
|
|
74
|
+
flexWrap: "wrap"
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
const layoutStyles = (theme, value, parts) => {
|
|
71
78
|
if (!value) return {};
|
|
72
79
|
const breakpoints = get(theme, "breakpoints", {});
|
|
73
80
|
const layout = get(theme, "layout", {});
|
|
@@ -76,11 +83,7 @@ const layoutGridStyles = (theme, value, display = "grid") => {
|
|
|
76
83
|
const overrides = Object.fromEntries(fields.filter(([, field]) => typeof field === "object"));
|
|
77
84
|
const hasEverywhere = Object.keys(everywhere).length > 0;
|
|
78
85
|
const { keyed } = responsiveQueries(breakpoints);
|
|
79
|
-
const styles =
|
|
80
|
-
display: "flex",
|
|
81
|
-
flexDirection: "row",
|
|
82
|
-
flexWrap: "wrap"
|
|
83
|
-
};
|
|
86
|
+
const styles = Object.assign({}, ...parts.map((part) => DISPLAY[part]));
|
|
84
87
|
let themed = {};
|
|
85
88
|
let overridden = false;
|
|
86
89
|
for (const key of Object.keys(breakpoints)) {
|
|
@@ -95,7 +98,7 @@ const layoutGridStyles = (theme, value, display = "grid") => {
|
|
|
95
98
|
...layer
|
|
96
99
|
};
|
|
97
100
|
if (layer || override || overridden) {
|
|
98
|
-
const block = declarations(theme,
|
|
101
|
+
const block = declarations(theme, parts, {
|
|
99
102
|
...themed,
|
|
100
103
|
...override
|
|
101
104
|
});
|
|
@@ -107,14 +110,30 @@ const layoutGridStyles = (theme, value, display = "grid") => {
|
|
|
107
110
|
}
|
|
108
111
|
return styles;
|
|
109
112
|
};
|
|
110
|
-
|
|
113
|
+
/**
|
|
114
|
+
* The layout grid from `theme.layout`, per breakpoint: each breakpoint's `content` (columns,
|
|
115
|
+
* margin, gutter, fluid or fixed), inherited mobile-first. A field in `value` replaces the
|
|
116
|
+
* theme's at every breakpoint (`{ gutter: 8 }`); an entry under a breakpoint name replaces it
|
|
117
|
+
* there only, on top of those fields (`{ gutter: 8, md: { columns: 6 } }`), and the next
|
|
118
|
+
* breakpoint is back to the theme. Every written block carries the full set, so no block
|
|
119
|
+
* inherits a stale `max-width`. The layout owns what it writes - an explicit `gap`, padding or
|
|
120
|
+
* `maxWidth` on the same element does not override it; rows take `rowGap`.
|
|
121
|
+
*/
|
|
122
|
+
const layoutGridStyles = (theme, value, display = "grid") => layoutStyles(theme, value, [display, "frame"]);
|
|
123
|
+
const layoutParser = (part) => Object.assign((props) => layoutStyles(props.theme, props.layout, [part]), {
|
|
111
124
|
config: {},
|
|
112
125
|
propNames: ["layout"],
|
|
113
126
|
cache: {}
|
|
114
127
|
});
|
|
115
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* The `layout` prop as the page frame alone: the margin and, in fixed mode, the centred max
|
|
130
|
+
* width per breakpoint - no columns, and `display` is left alone. Compose it with `layoutGrid`
|
|
131
|
+
* or `layoutFlex` for the columns; {@link layoutGridStyles} writes both in a style function.
|
|
132
|
+
*/
|
|
133
|
+
const layoutFrame = layoutParser("frame");
|
|
134
|
+
/** The `layout` prop's columns on a grid container: tracks, gutter, `--layout-*` variables. */
|
|
116
135
|
const layoutGrid = layoutParser("grid");
|
|
117
|
-
/** The `layout` prop on a flex container: a wrapping row with the same gutter
|
|
136
|
+
/** The `layout` prop's columns on a flex container: a wrapping row with the same gutter. */
|
|
118
137
|
const layoutFlex = layoutParser("flex");
|
|
119
138
|
const flexSpan = (n) => {
|
|
120
139
|
const columns = "var(--layout-columns)";
|
|
@@ -125,11 +144,15 @@ const flexSpan = (n) => {
|
|
|
125
144
|
* The `span` prop: how many layout-grid columns an element takes. It writes both
|
|
126
145
|
* `grid-column: span N` (read by a Grid parent) and a flex basis from the parent's
|
|
127
146
|
* `--layout-columns` / `--layout-gutter` (read by a Flex parent); each container ignores the
|
|
128
|
-
* other's property.
|
|
147
|
+
* other's property. `span="full"` takes the whole row whatever the column count - in any grid,
|
|
148
|
+
* layout grid or not. Responsive like any prop: `span={{ xs: 'full', md: 6 }}`.
|
|
129
149
|
*/
|
|
130
|
-
const span = system({ span: (n) =>
|
|
150
|
+
const span = system({ span: (n) => n === "full" ? {
|
|
151
|
+
gridColumn: "1 / -1",
|
|
152
|
+
flex: "0 0 100%"
|
|
153
|
+
} : {
|
|
131
154
|
gridColumn: `span ${n}`,
|
|
132
155
|
flex: flexSpan(n)
|
|
133
|
-
}
|
|
156
|
+
} });
|
|
134
157
|
//#endregion
|
|
135
|
-
export {
|
|
158
|
+
export { span as a, layoutGridStyles as i, layoutFrame as n, grid as o, layoutGrid as r, layoutFlex as t };
|
|
@@ -45,30 +45,37 @@ const spaceValue = (theme, value) => {
|
|
|
45
45
|
const resolved = require_core.get(theme, `space.${value}`, value);
|
|
46
46
|
return typeof resolved === "number" ? `${resolved}px` : resolved;
|
|
47
47
|
};
|
|
48
|
-
const
|
|
49
|
-
const
|
|
50
|
-
|
|
48
|
+
const frameDeclarations = (theme, { margin, mode, maxWidth }) => {
|
|
49
|
+
const width = mode === "fixed" && maxWidth !== void 0 ? spaceValue(theme, maxWidth) : void 0;
|
|
50
|
+
return {
|
|
51
|
+
paddingInline: margin === void 0 ? void 0 : spaceValue(theme, margin),
|
|
52
|
+
maxWidth: width ?? "none",
|
|
53
|
+
marginInline: width === void 0 ? 0 : `max(0px, calc((100% - ${width}) / 2))`
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
const columnDeclarations = (theme, display, { columns, gutter }) => {
|
|
51
57
|
const gap = gutter === void 0 ? void 0 : spaceValue(theme, gutter);
|
|
52
|
-
|
|
58
|
+
return {
|
|
53
59
|
"--layout-columns": columns,
|
|
54
60
|
"--layout-gutter": gap,
|
|
55
61
|
gridTemplateColumns: display === "grid" && columns !== void 0 ? `repeat(${columns}, minmax(0, 1fr))` : void 0,
|
|
56
|
-
columnGap: gap
|
|
57
|
-
paddingInline: margin === void 0 ? void 0 : spaceValue(theme, margin),
|
|
58
|
-
maxWidth: isFixed && maxWidth !== void 0 ? spaceValue(theme, maxWidth) : "none",
|
|
59
|
-
marginInline: isFixed ? "auto" : 0
|
|
62
|
+
columnGap: gap
|
|
60
63
|
};
|
|
64
|
+
};
|
|
65
|
+
const declarations = (theme, parts, entry) => {
|
|
66
|
+
const styles = Object.assign({}, ...parts.map((part) => part === "frame" ? frameDeclarations(theme, entry) : columnDeclarations(theme, part, entry)));
|
|
61
67
|
return Object.fromEntries(Object.entries(styles).filter(([, value]) => value !== void 0));
|
|
62
68
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
const DISPLAY = {
|
|
70
|
+
frame: {},
|
|
71
|
+
grid: { display: "grid" },
|
|
72
|
+
flex: {
|
|
73
|
+
display: "flex",
|
|
74
|
+
flexDirection: "row",
|
|
75
|
+
flexWrap: "wrap"
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
const layoutStyles = (theme, value, parts) => {
|
|
72
79
|
if (!value) return {};
|
|
73
80
|
const breakpoints = require_core.get(theme, "breakpoints", {});
|
|
74
81
|
const layout = require_core.get(theme, "layout", {});
|
|
@@ -77,11 +84,7 @@ const layoutGridStyles = (theme, value, display = "grid") => {
|
|
|
77
84
|
const overrides = Object.fromEntries(fields.filter(([, field]) => typeof field === "object"));
|
|
78
85
|
const hasEverywhere = Object.keys(everywhere).length > 0;
|
|
79
86
|
const { keyed } = require_media.responsiveQueries(breakpoints);
|
|
80
|
-
const styles =
|
|
81
|
-
display: "flex",
|
|
82
|
-
flexDirection: "row",
|
|
83
|
-
flexWrap: "wrap"
|
|
84
|
-
};
|
|
87
|
+
const styles = Object.assign({}, ...parts.map((part) => DISPLAY[part]));
|
|
85
88
|
let themed = {};
|
|
86
89
|
let overridden = false;
|
|
87
90
|
for (const key of Object.keys(breakpoints)) {
|
|
@@ -96,7 +99,7 @@ const layoutGridStyles = (theme, value, display = "grid") => {
|
|
|
96
99
|
...layer
|
|
97
100
|
};
|
|
98
101
|
if (layer || override || overridden) {
|
|
99
|
-
const block = declarations(theme,
|
|
102
|
+
const block = declarations(theme, parts, {
|
|
100
103
|
...themed,
|
|
101
104
|
...override
|
|
102
105
|
});
|
|
@@ -108,14 +111,30 @@ const layoutGridStyles = (theme, value, display = "grid") => {
|
|
|
108
111
|
}
|
|
109
112
|
return styles;
|
|
110
113
|
};
|
|
111
|
-
|
|
114
|
+
/**
|
|
115
|
+
* The layout grid from `theme.layout`, per breakpoint: each breakpoint's `content` (columns,
|
|
116
|
+
* margin, gutter, fluid or fixed), inherited mobile-first. A field in `value` replaces the
|
|
117
|
+
* theme's at every breakpoint (`{ gutter: 8 }`); an entry under a breakpoint name replaces it
|
|
118
|
+
* there only, on top of those fields (`{ gutter: 8, md: { columns: 6 } }`), and the next
|
|
119
|
+
* breakpoint is back to the theme. Every written block carries the full set, so no block
|
|
120
|
+
* inherits a stale `max-width`. The layout owns what it writes - an explicit `gap`, padding or
|
|
121
|
+
* `maxWidth` on the same element does not override it; rows take `rowGap`.
|
|
122
|
+
*/
|
|
123
|
+
const layoutGridStyles = (theme, value, display = "grid") => layoutStyles(theme, value, [display, "frame"]);
|
|
124
|
+
const layoutParser = (part) => Object.assign((props) => layoutStyles(props.theme, props.layout, [part]), {
|
|
112
125
|
config: {},
|
|
113
126
|
propNames: ["layout"],
|
|
114
127
|
cache: {}
|
|
115
128
|
});
|
|
116
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* The `layout` prop as the page frame alone: the margin and, in fixed mode, the centred max
|
|
131
|
+
* width per breakpoint - no columns, and `display` is left alone. Compose it with `layoutGrid`
|
|
132
|
+
* or `layoutFlex` for the columns; {@link layoutGridStyles} writes both in a style function.
|
|
133
|
+
*/
|
|
134
|
+
const layoutFrame = layoutParser("frame");
|
|
135
|
+
/** The `layout` prop's columns on a grid container: tracks, gutter, `--layout-*` variables. */
|
|
117
136
|
const layoutGrid = layoutParser("grid");
|
|
118
|
-
/** The `layout` prop on a flex container: a wrapping row with the same gutter
|
|
137
|
+
/** The `layout` prop's columns on a flex container: a wrapping row with the same gutter. */
|
|
119
138
|
const layoutFlex = layoutParser("flex");
|
|
120
139
|
const flexSpan = (n) => {
|
|
121
140
|
const columns = "var(--layout-columns)";
|
|
@@ -126,12 +145,16 @@ const flexSpan = (n) => {
|
|
|
126
145
|
* The `span` prop: how many layout-grid columns an element takes. It writes both
|
|
127
146
|
* `grid-column: span N` (read by a Grid parent) and a flex basis from the parent's
|
|
128
147
|
* `--layout-columns` / `--layout-gutter` (read by a Flex parent); each container ignores the
|
|
129
|
-
* other's property.
|
|
148
|
+
* other's property. `span="full"` takes the whole row whatever the column count - in any grid,
|
|
149
|
+
* layout grid or not. Responsive like any prop: `span={{ xs: 'full', md: 6 }}`.
|
|
130
150
|
*/
|
|
131
|
-
const span = require_core.system({ span: (n) =>
|
|
151
|
+
const span = require_core.system({ span: (n) => n === "full" ? {
|
|
152
|
+
gridColumn: "1 / -1",
|
|
153
|
+
flex: "0 0 100%"
|
|
154
|
+
} : {
|
|
132
155
|
gridColumn: `span ${n}`,
|
|
133
156
|
flex: flexSpan(n)
|
|
134
|
-
}
|
|
157
|
+
} });
|
|
135
158
|
//#endregion
|
|
136
159
|
Object.defineProperty(exports, "grid", {
|
|
137
160
|
enumerable: true,
|
|
@@ -145,6 +168,12 @@ Object.defineProperty(exports, "layoutFlex", {
|
|
|
145
168
|
return layoutFlex;
|
|
146
169
|
}
|
|
147
170
|
});
|
|
171
|
+
Object.defineProperty(exports, "layoutFrame", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function() {
|
|
174
|
+
return layoutFrame;
|
|
175
|
+
}
|
|
176
|
+
});
|
|
148
177
|
Object.defineProperty(exports, "layoutGrid", {
|
|
149
178
|
enumerable: true,
|
|
150
179
|
get: function() {
|
package/dist/grid.cjs
CHANGED
|
@@ -2,10 +2,11 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_grid = require("./grid-
|
|
5
|
+
const require_grid = require("./grid-Cv-XGWcr.cjs");
|
|
6
6
|
exports.default = require_grid.grid;
|
|
7
7
|
exports.grid = require_grid.grid;
|
|
8
8
|
exports.layoutFlex = require_grid.layoutFlex;
|
|
9
|
+
exports.layoutFrame = require_grid.layoutFrame;
|
|
9
10
|
exports.layoutGrid = require_grid.layoutGrid;
|
|
10
11
|
exports.layoutGridStyles = require_grid.layoutGridStyles;
|
|
11
12
|
exports.span = require_grid.span;
|
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,
|
|
2
|
-
import { a as
|
|
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 };
|
|
1
|
+
import { $ as GridTemplateRowsProps, G as GridColumnGapProps, H as GridAutoColumnsProps, J as GridProps, K as GridColumnProps, Q as GridTemplateColumnsProps, U as GridAutoFlowProps, V as GridAreaProps, W as GridAutoRowsProps, X as GridRowProps, Y as GridRowGapProps, Z as GridTemplateAreasProps, at as LayoutGridProps, it as LayoutFrameProps, kt as SpanProps, q as GridGapProps } from "./types-Cj6Jx5LX.cjs";
|
|
2
|
+
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";
|
|
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, type LayoutFrameProps, LayoutGridDisplay, LayoutGridEntry, type LayoutGridProps, LayoutGridValue, type SpanProps, grid as default, grid, layoutFlex, layoutFrame, 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,
|
|
2
|
-
import { a as
|
|
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 };
|
|
1
|
+
import { $ as GridTemplateRowsProps, G as GridColumnGapProps, H as GridAutoColumnsProps, J as GridProps, K as GridColumnProps, Q as GridTemplateColumnsProps, U as GridAutoFlowProps, V as GridAreaProps, W as GridAutoRowsProps, X as GridRowProps, Y as GridRowGapProps, Z as GridTemplateAreasProps, at as LayoutGridProps, it as LayoutFrameProps, kt as SpanProps, q as GridGapProps } from "./types-Cj6Jx5LX.mjs";
|
|
2
|
+
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";
|
|
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, type LayoutFrameProps, LayoutGridDisplay, LayoutGridEntry, type LayoutGridProps, LayoutGridValue, type SpanProps, grid as default, grid, layoutFlex, layoutFrame, layoutGrid, layoutGridStyles, span };
|
package/dist/grid.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { grid as default, grid, layoutFlex, layoutGrid, layoutGridStyles, span };
|
|
1
|
+
import { a as span, i as layoutGridStyles, n as layoutFrame, o as grid, r as layoutGrid, t as layoutFlex } from "./grid-CAuvylKs.mjs";
|
|
2
|
+
export { grid as default, grid, layoutFlex, layoutFrame, layoutGrid, layoutGridStyles, span };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as Parser, l as StyleObject } from "./index-IulNhyDt.mjs";
|
|
2
|
-
import "./types-
|
|
2
|
+
import "./types-Cj6Jx5LX.mjs";
|
|
3
3
|
//#region src/grid/grid.d.ts
|
|
4
4
|
declare const grid: Parser;
|
|
5
5
|
//#endregion
|
|
@@ -29,19 +29,27 @@ type LayoutGridDisplay = 'grid' | 'flex';
|
|
|
29
29
|
* theme's at every breakpoint (`{ gutter: 8 }`); an entry under a breakpoint name replaces it
|
|
30
30
|
* there only, on top of those fields (`{ gutter: 8, md: { columns: 6 } }`), and the next
|
|
31
31
|
* breakpoint is back to the theme. Every written block carries the full set, so no block
|
|
32
|
-
* inherits a stale `max-width`.
|
|
32
|
+
* inherits a stale `max-width`. The layout owns what it writes - an explicit `gap`, padding or
|
|
33
|
+
* `maxWidth` on the same element does not override it; rows take `rowGap`.
|
|
33
34
|
*/
|
|
34
35
|
declare const layoutGridStyles: (theme: unknown, value: LayoutGridValue | undefined, display?: LayoutGridDisplay) => StyleObject;
|
|
35
|
-
/**
|
|
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. Compose it with `layoutGrid`
|
|
39
|
+
* or `layoutFlex` for the columns; {@link layoutGridStyles} writes both in a style function.
|
|
40
|
+
*/
|
|
41
|
+
declare const layoutFrame: Parser;
|
|
42
|
+
/** The `layout` prop's columns on a grid container: tracks, gutter, `--layout-*` variables. */
|
|
36
43
|
declare const layoutGrid: Parser;
|
|
37
|
-
/** The `layout` prop on a flex container: a wrapping row with the same gutter
|
|
44
|
+
/** The `layout` prop's columns on a flex container: a wrapping row with the same gutter. */
|
|
38
45
|
declare const layoutFlex: Parser;
|
|
39
46
|
/**
|
|
40
47
|
* The `span` prop: how many layout-grid columns an element takes. It writes both
|
|
41
48
|
* `grid-column: span N` (read by a Grid parent) and a flex basis from the parent's
|
|
42
49
|
* `--layout-columns` / `--layout-gutter` (read by a Flex parent); each container ignores the
|
|
43
|
-
* other's property.
|
|
50
|
+
* other's property. `span="full"` takes the whole row whatever the column count - in any grid,
|
|
51
|
+
* layout grid or not. Responsive like any prop: `span={{ xs: 'full', md: 6 }}`.
|
|
44
52
|
*/
|
|
45
53
|
declare const span: Parser;
|
|
46
54
|
//#endregion
|
|
47
|
-
export {
|
|
55
|
+
export { layoutFrame as a, span as c, layoutFlex as i, grid as l, LayoutGridEntry as n, layoutGrid as o, LayoutGridValue as r, layoutGridStyles as s, LayoutGridDisplay as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as Parser, l as StyleObject } from "./index-iVqAMF2L.cjs";
|
|
2
|
-
import "./types-
|
|
2
|
+
import "./types-Cj6Jx5LX.cjs";
|
|
3
3
|
//#region src/grid/grid.d.ts
|
|
4
4
|
declare const grid: Parser;
|
|
5
5
|
//#endregion
|
|
@@ -29,19 +29,27 @@ type LayoutGridDisplay = 'grid' | 'flex';
|
|
|
29
29
|
* theme's at every breakpoint (`{ gutter: 8 }`); an entry under a breakpoint name replaces it
|
|
30
30
|
* there only, on top of those fields (`{ gutter: 8, md: { columns: 6 } }`), and the next
|
|
31
31
|
* breakpoint is back to the theme. Every written block carries the full set, so no block
|
|
32
|
-
* inherits a stale `max-width`.
|
|
32
|
+
* inherits a stale `max-width`. The layout owns what it writes - an explicit `gap`, padding or
|
|
33
|
+
* `maxWidth` on the same element does not override it; rows take `rowGap`.
|
|
33
34
|
*/
|
|
34
35
|
declare const layoutGridStyles: (theme: unknown, value: LayoutGridValue | undefined, display?: LayoutGridDisplay) => StyleObject;
|
|
35
|
-
/**
|
|
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. Compose it with `layoutGrid`
|
|
39
|
+
* or `layoutFlex` for the columns; {@link layoutGridStyles} writes both in a style function.
|
|
40
|
+
*/
|
|
41
|
+
declare const layoutFrame: Parser;
|
|
42
|
+
/** The `layout` prop's columns on a grid container: tracks, gutter, `--layout-*` variables. */
|
|
36
43
|
declare const layoutGrid: Parser;
|
|
37
|
-
/** The `layout` prop on a flex container: a wrapping row with the same gutter
|
|
44
|
+
/** The `layout` prop's columns on a flex container: a wrapping row with the same gutter. */
|
|
38
45
|
declare const layoutFlex: Parser;
|
|
39
46
|
/**
|
|
40
47
|
* The `span` prop: how many layout-grid columns an element takes. It writes both
|
|
41
48
|
* `grid-column: span N` (read by a Grid parent) and a flex basis from the parent's
|
|
42
49
|
* `--layout-columns` / `--layout-gutter` (read by a Flex parent); each container ignores the
|
|
43
|
-
* other's property.
|
|
50
|
+
* other's property. `span="full"` takes the whole row whatever the column count - in any grid,
|
|
51
|
+
* layout grid or not. Responsive like any prop: `span={{ xs: 'full', md: 6 }}`.
|
|
44
52
|
*/
|
|
45
53
|
declare const span: Parser;
|
|
46
54
|
//#endregion
|
|
47
|
-
export {
|
|
55
|
+
export { layoutFrame as a, span as c, layoutFlex as i, grid as l, LayoutGridEntry as n, layoutGrid as o, LayoutGridValue as r, layoutGridStyles as s, LayoutGridDisplay as t };
|
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-
|
|
8
|
+
const require_grid = require("./grid-Cv-XGWcr.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");
|
|
@@ -170,6 +170,7 @@ exports.justifyItems = justifyItems;
|
|
|
170
170
|
exports.justifySelf = justifySelf;
|
|
171
171
|
exports.layout = require_layout.layout;
|
|
172
172
|
exports.layoutFlex = require_grid.layoutFlex;
|
|
173
|
+
exports.layoutFrame = require_grid.layoutFrame;
|
|
173
174
|
exports.layoutGrid = require_grid.layoutGrid;
|
|
174
175
|
exports.layoutGridStyles = require_grid.layoutGridStyles;
|
|
175
176
|
exports.left = left;
|
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-
|
|
4
|
-
import { $ as GridTemplateRowsProps, A as FlexDirectionProps, At as
|
|
5
|
-
import { t as border } from "./index-
|
|
6
|
-
import { t as color } from "./index-
|
|
7
|
-
import { t as flexbox } from "./index-
|
|
8
|
-
import { a as
|
|
9
|
-
import { i as space, n as margin, r as padding, t as gap } from "./index-
|
|
10
|
-
import { t as layout } from "./index-
|
|
11
|
-
import { t as typography } from "./index-
|
|
12
|
-
import { t as position } from "./index-
|
|
13
|
-
import { t as shadow } from "./index-
|
|
14
|
-
import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-
|
|
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";
|
|
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, 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, 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 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 };
|
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-
|
|
4
|
-
import { $ as GridTemplateRowsProps, A as FlexDirectionProps, At as
|
|
5
|
-
import { t as border } from "./index-
|
|
6
|
-
import { t as color } from "./index-
|
|
7
|
-
import { t as flexbox } from "./index-
|
|
8
|
-
import { a as
|
|
9
|
-
import { i as space, n as margin, r as padding, t as gap } from "./index-
|
|
10
|
-
import { t as layout } from "./index-
|
|
11
|
-
import { t as typography } from "./index-
|
|
12
|
-
import { t as position } from "./index-
|
|
13
|
-
import { t as shadow } from "./index-
|
|
14
|
-
import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-
|
|
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";
|
|
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, 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, 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 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 };
|
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
|
|
7
|
+
import { a as span, i as layoutGridStyles, n as layoutFrame, o as grid, r as layoutGrid, t as layoutFlex } from "./grid-CAuvylKs.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, 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, 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 };
|
package/dist/layout.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { D as ContainerProps,
|
|
2
|
-
import { t as layout } from "./index-
|
|
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";
|
|
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,
|
|
2
|
-
import { t as layout } from "./index-
|
|
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";
|
|
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/position.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as position } from "./index-
|
|
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";
|
|
3
3
|
export { type BottomProps, type LeftProps, type PositionProps, type RightProps, type TopProps, type ZIndexProps, position as default, position };
|
package/dist/position.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as position } from "./index-
|
|
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";
|
|
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
|
|
6
|
+
import { a as span, o as grid } from "./grid-CAuvylKs.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-
|
|
6
|
+
const require_grid = require("./grid-Cv-XGWcr.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");
|
package/dist/prop-types.cjs
CHANGED
|
@@ -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-
|
|
10
|
+
const require_grid = require("./grid-Cv-XGWcr.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");
|
package/dist/prop-types.mjs
CHANGED
|
@@ -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 {
|
|
5
|
+
import { o as grid } from "./grid-CAuvylKs.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-
|
|
2
|
+
const require_presets = require("./presets-Da2kvQPo.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
package/dist/shadow.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as shadow } from "./index-
|
|
1
|
+
import { Bt as TextShadowProps, Et as ShadowProps, x as BoxShadowProps } from "./types-Cj6Jx5LX.cjs";
|
|
2
|
+
import { t as shadow } from "./index-eWVK6SXF.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 {
|
|
2
|
-
import { t as shadow } from "./index-
|
|
1
|
+
import { Bt as TextShadowProps, Et as ShadowProps, x as BoxShadowProps } from "./types-Cj6Jx5LX.mjs";
|
|
2
|
+
import { t as shadow } from "./index-CnVRmFIZ.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-
|
|
6
|
+
const require_presets = require("./presets-Da2kvQPo.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
|
package/dist/space.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { B as GapProps,
|
|
2
|
-
import { i as space, n as margin, r as padding, t as gap } from "./index-
|
|
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";
|
|
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,
|
|
2
|
-
import { i as space, n as margin, r as padding, t as gap } from "./index-
|
|
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";
|
|
3
3
|
export { type ColumnGapProps, type GapProps, type MarginProps, type PaddingProps, type RowGapProps, type SpaceProps, space as default, space, gap, margin, padding };
|
|
@@ -339,13 +339,23 @@ 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
|
|
343
|
-
columns?: number;
|
|
342
|
+
interface LayoutFrameEntryProps<ThemeType extends Theme> {
|
|
344
343
|
margin?: ThemeValue<'space', ThemeType> | string;
|
|
345
|
-
gutter?: ThemeValue<'space', ThemeType> | string;
|
|
346
344
|
mode?: 'fluid' | 'fixed';
|
|
347
345
|
maxWidth?: string;
|
|
348
346
|
}
|
|
347
|
+
interface LayoutGridEntryProps<ThemeType extends Theme> extends LayoutFrameEntryProps<ThemeType> {
|
|
348
|
+
columns?: number;
|
|
349
|
+
gutter?: ThemeValue<'space', ThemeType> | string;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* Not in upstream styled-system: the page frame from `theme.layout` - its margin and max width
|
|
353
|
+
* per breakpoint, no columns. Takes the same values as {@link LayoutGridProps}, minus the
|
|
354
|
+
* column fields.
|
|
355
|
+
*/
|
|
356
|
+
interface LayoutFrameProps<ThemeType extends Theme = RequiredTheme> {
|
|
357
|
+
layout?: boolean | (LayoutFrameEntryProps<ThemeType> & { [key in BreakpointName<ThemeType>]?: LayoutFrameEntryProps<ThemeType>; });
|
|
358
|
+
}
|
|
349
359
|
/**
|
|
350
360
|
* Not in upstream styled-system: the layout grid from `theme.layout` on a Grid or Flex - `true`
|
|
351
361
|
* for the theme's, or an entry whose fields replace it at every breakpoint (`{ gutter: 8 }`),
|
|
@@ -354,9 +364,12 @@ interface LayoutGridEntryProps<ThemeType extends Theme> {
|
|
|
354
364
|
interface LayoutGridProps<ThemeType extends Theme = RequiredTheme> {
|
|
355
365
|
layout?: boolean | (LayoutGridEntryProps<ThemeType> & { [key in BreakpointName<ThemeType>]?: LayoutGridEntryProps<ThemeType>; });
|
|
356
366
|
}
|
|
357
|
-
/**
|
|
367
|
+
/**
|
|
368
|
+
* Not in upstream styled-system: how many layout-grid columns the element takes, or `'full'`
|
|
369
|
+
* for the whole row.
|
|
370
|
+
*/
|
|
358
371
|
interface SpanProps<ThemeType extends Theme = RequiredTheme> {
|
|
359
|
-
span?: ResponsiveValue<number, ThemeType>;
|
|
372
|
+
span?: ResponsiveValue<number | 'full', ThemeType>;
|
|
360
373
|
}
|
|
361
374
|
interface GridProps<ThemeType extends Theme = RequiredTheme> extends GridGapProps<ThemeType>, GridColumnGapProps<ThemeType>, GridRowGapProps<ThemeType>, GridColumnProps<ThemeType>, GridRowProps<ThemeType>, GridAutoFlowProps<ThemeType>, GridAutoColumnsProps<ThemeType>, GridAutoRowsProps<ThemeType>, GridTemplateColumnsProps<ThemeType>, GridTemplateRowsProps<ThemeType>, GridTemplateAreasProps<ThemeType>, GridAreaProps<ThemeType> {}
|
|
362
375
|
interface BoxShadowProps<ThemeType extends Theme = RequiredTheme> {
|
|
@@ -376,4 +389,4 @@ interface ColorStyleProps<ThemeType extends Theme = RequiredTheme> {
|
|
|
376
389
|
colors?: ResponsiveValue<string, ThemeType>;
|
|
377
390
|
}
|
|
378
391
|
//#endregion
|
|
379
|
-
export { GridTemplateRowsProps as $, FlexDirectionProps as A,
|
|
392
|
+
export { GridTemplateRowsProps as $, FlexDirectionProps as A, TLengthStyledSystem as At, GapProps as B, TextShadowProps as Bt, ButtonStyleProps as C, RightProps as Ct, ContainerProps as D, SizeProps as Dt, ColumnGapProps as E, ShadowProps as Et, FlexboxProps as F, TextDecorationLineProps as Ft, GridColumnGapProps as G, TopProps as Gt, GridAutoColumnsProps as H, TextTransformProps as Ht, FontFamilyProps as I, TextDecorationProps as It, GridProps as J, WhiteSpaceProps as Jt, GridColumnProps as K, TypographyProps as Kt, FontSizeProps as L, TextDecorationStyleProps as Lt, FlexProps as M, TextAlignProps as Mt, FlexShrinkProps as N, TextColorProps as Nt, DisplayProps as O, SpaceProps as Ot, FlexWrapProps as P, TextDecorationColorProps as Pt, GridTemplateColumnsProps as Q, FontStyleProps as R, TextDecorationThicknessProps as Rt, BreakpointName as S, ResponsiveValue as St, ColorStyleProps as T, Scale as Tt, GridAutoFlowProps as U, Theme as Ut, GridAreaProps as V, TextStyleProps as Vt, GridAutoRowsProps as W, ThemeValue as Wt, GridRowProps as X, ZIndexProps as Xt, GridRowGapProps as Y, WidthProps as Yt, GridTemplateAreasProps as Z, BorderStyleProps as _, OrderProps as _t, BackgroundColorProps as a, LayoutGridProps as at, BottomProps as b, PositionProps as bt, BackgroundProps as c, LetterSpacingProps as ct, BorderBottomProps as d, MaxHeightProps as dt, HeightProps as et, BorderColorProps as f, MaxWidthProps as ft, BorderRightProps as g, OpacityProps as gt, BorderRadiusProps as h, ObjectOrArray as ht, AspectRatioProps as i, LayoutFrameProps as it, FlexGrowProps as j, TextAlignLastProps as jt, FlexBasisProps as k, SpanProps as kt, BackgroundRepeatProps as l, LineHeightProps as lt, BorderProps as m, MinWidthProps as mt, AlignItemsProps as n, JustifyItemsProps as nt, BackgroundImageProps as o, LayoutProps as ot, BorderLeftProps as p, MinHeightProps as pt, GridGapProps as q, VerticalAlignProps as qt, AlignSelfProps as r, JustifySelfProps as rt, BackgroundPositionProps as s, LeftProps as st, AlignContentProps as t, JustifyContentProps as tt, BackgroundSizeProps as u, MarginProps as ut, BorderTopProps as v, OverflowProps as vt, ColorProps as w, RowGapProps as wt, BoxShadowProps as x, RequiredTheme as xt, BorderWidthProps as y, PaddingProps as yt, FontWeightProps as z, TextOverflowProps as zt };
|
|
@@ -339,13 +339,23 @@ 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
|
|
343
|
-
columns?: number;
|
|
342
|
+
interface LayoutFrameEntryProps<ThemeType extends Theme> {
|
|
344
343
|
margin?: ThemeValue<'space', ThemeType> | string;
|
|
345
|
-
gutter?: ThemeValue<'space', ThemeType> | string;
|
|
346
344
|
mode?: 'fluid' | 'fixed';
|
|
347
345
|
maxWidth?: string;
|
|
348
346
|
}
|
|
347
|
+
interface LayoutGridEntryProps<ThemeType extends Theme> extends LayoutFrameEntryProps<ThemeType> {
|
|
348
|
+
columns?: number;
|
|
349
|
+
gutter?: ThemeValue<'space', ThemeType> | string;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* Not in upstream styled-system: the page frame from `theme.layout` - its margin and max width
|
|
353
|
+
* per breakpoint, no columns. Takes the same values as {@link LayoutGridProps}, minus the
|
|
354
|
+
* column fields.
|
|
355
|
+
*/
|
|
356
|
+
interface LayoutFrameProps<ThemeType extends Theme = RequiredTheme> {
|
|
357
|
+
layout?: boolean | (LayoutFrameEntryProps<ThemeType> & { [key in BreakpointName<ThemeType>]?: LayoutFrameEntryProps<ThemeType>; });
|
|
358
|
+
}
|
|
349
359
|
/**
|
|
350
360
|
* Not in upstream styled-system: the layout grid from `theme.layout` on a Grid or Flex - `true`
|
|
351
361
|
* for the theme's, or an entry whose fields replace it at every breakpoint (`{ gutter: 8 }`),
|
|
@@ -354,9 +364,12 @@ interface LayoutGridEntryProps<ThemeType extends Theme> {
|
|
|
354
364
|
interface LayoutGridProps<ThemeType extends Theme = RequiredTheme> {
|
|
355
365
|
layout?: boolean | (LayoutGridEntryProps<ThemeType> & { [key in BreakpointName<ThemeType>]?: LayoutGridEntryProps<ThemeType>; });
|
|
356
366
|
}
|
|
357
|
-
/**
|
|
367
|
+
/**
|
|
368
|
+
* Not in upstream styled-system: how many layout-grid columns the element takes, or `'full'`
|
|
369
|
+
* for the whole row.
|
|
370
|
+
*/
|
|
358
371
|
interface SpanProps<ThemeType extends Theme = RequiredTheme> {
|
|
359
|
-
span?: ResponsiveValue<number, ThemeType>;
|
|
372
|
+
span?: ResponsiveValue<number | 'full', ThemeType>;
|
|
360
373
|
}
|
|
361
374
|
interface GridProps<ThemeType extends Theme = RequiredTheme> extends GridGapProps<ThemeType>, GridColumnGapProps<ThemeType>, GridRowGapProps<ThemeType>, GridColumnProps<ThemeType>, GridRowProps<ThemeType>, GridAutoFlowProps<ThemeType>, GridAutoColumnsProps<ThemeType>, GridAutoRowsProps<ThemeType>, GridTemplateColumnsProps<ThemeType>, GridTemplateRowsProps<ThemeType>, GridTemplateAreasProps<ThemeType>, GridAreaProps<ThemeType> {}
|
|
362
375
|
interface BoxShadowProps<ThemeType extends Theme = RequiredTheme> {
|
|
@@ -376,4 +389,4 @@ interface ColorStyleProps<ThemeType extends Theme = RequiredTheme> {
|
|
|
376
389
|
colors?: ResponsiveValue<string, ThemeType>;
|
|
377
390
|
}
|
|
378
391
|
//#endregion
|
|
379
|
-
export { GridTemplateRowsProps as $, FlexDirectionProps as A,
|
|
392
|
+
export { GridTemplateRowsProps as $, FlexDirectionProps as A, TLengthStyledSystem as At, GapProps as B, TextShadowProps as Bt, ButtonStyleProps as C, RightProps as Ct, ContainerProps as D, SizeProps as Dt, ColumnGapProps as E, ShadowProps as Et, FlexboxProps as F, TextDecorationLineProps as Ft, GridColumnGapProps as G, TopProps as Gt, GridAutoColumnsProps as H, TextTransformProps as Ht, FontFamilyProps as I, TextDecorationProps as It, GridProps as J, WhiteSpaceProps as Jt, GridColumnProps as K, TypographyProps as Kt, FontSizeProps as L, TextDecorationStyleProps as Lt, FlexProps as M, TextAlignProps as Mt, FlexShrinkProps as N, TextColorProps as Nt, DisplayProps as O, SpaceProps as Ot, FlexWrapProps as P, TextDecorationColorProps as Pt, GridTemplateColumnsProps as Q, FontStyleProps as R, TextDecorationThicknessProps as Rt, BreakpointName as S, ResponsiveValue as St, ColorStyleProps as T, Scale as Tt, GridAutoFlowProps as U, Theme as Ut, GridAreaProps as V, TextStyleProps as Vt, GridAutoRowsProps as W, ThemeValue as Wt, GridRowProps as X, ZIndexProps as Xt, GridRowGapProps as Y, WidthProps as Yt, GridTemplateAreasProps as Z, BorderStyleProps as _, OrderProps as _t, BackgroundColorProps as a, LayoutGridProps as at, BottomProps as b, PositionProps as bt, BackgroundProps as c, LetterSpacingProps as ct, BorderBottomProps as d, MaxHeightProps as dt, HeightProps as et, BorderColorProps as f, MaxWidthProps as ft, BorderRightProps as g, OpacityProps as gt, BorderRadiusProps as h, ObjectOrArray as ht, AspectRatioProps as i, LayoutFrameProps as it, FlexGrowProps as j, TextAlignLastProps as jt, FlexBasisProps as k, SpanProps as kt, BackgroundRepeatProps as l, LineHeightProps as lt, BorderProps as m, MinWidthProps as mt, AlignItemsProps as n, JustifyItemsProps as nt, BackgroundImageProps as o, LayoutProps as ot, BorderLeftProps as p, MinHeightProps as pt, GridGapProps as q, VerticalAlignProps as qt, AlignSelfProps as r, JustifySelfProps as rt, BackgroundPositionProps as s, LeftProps as st, AlignContentProps as t, JustifyContentProps as tt, BackgroundSizeProps as u, MarginProps as ut, BorderTopProps as v, OverflowProps as vt, ColorProps as w, RowGapProps as wt, BoxShadowProps as x, RequiredTheme as xt, BorderWidthProps as y, PaddingProps as yt, FontWeightProps as z, TextOverflowProps as zt };
|
package/dist/typography.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as typography } from "./index-
|
|
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";
|
|
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 };
|
package/dist/typography.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as typography } from "./index-
|
|
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";
|
|
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 };
|
package/dist/variant.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-
|
|
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";
|
|
3
3
|
export { type ButtonStyleProps, type ColorStyleProps, type TextStyleProps, VariantArgs, VariantOptions, buttonStyle, colorStyle, variant as default, variant, textStyle };
|
package/dist/variant.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-
|
|
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";
|
|
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.
|
|
3
|
+
"version": "6.0.0-alpha.2",
|
|
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",
|