@soroush.tech/styled-system 6.0.0-alpha.0 → 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/core.cjs +13 -16
- package/dist/core.mjs +13 -16
- package/dist/flexbox.d.cts +2 -2
- package/dist/flexbox.d.mts +2 -2
- package/dist/grid-CAuvylKs.mjs +158 -0
- package/dist/{grid-BlMUPDJM.cjs → grid-Cv-XGWcr.cjs} +69 -31
- 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-ClbGlQxq.d.mts → index-4_E8pg8R.d.mts} +1 -1
- package/dist/{index-Csbxj8Yo.d.cts → index-B7YL_4tg.d.cts} +1 -1
- package/dist/{index-CQWZd4iQ.d.mts → index-BgSrVqHI.d.mts} +1 -1
- package/dist/{index-BQPI7z-B.d.mts → index-BnfK4WNL.d.mts} +1 -1
- package/dist/{index-nfjmLzHF.d.mts → index-BvyUTPw5.d.mts} +1 -1
- package/dist/index-C0X-fL6a.d.mts +55 -0
- package/dist/{index-D5xp7RWT.d.cts → index-C8kegqfi.d.cts} +1 -1
- package/dist/{index-Bxh1FNcS.d.cts → index-CnHK2xHk.d.cts} +1 -1
- package/dist/{index-C1IdMVtQ.d.mts → index-CnVRmFIZ.d.mts} +1 -1
- package/dist/{index-D2v_oJEm.d.cts → index-CpS2pkHD.d.cts} +1 -1
- package/dist/{index-aRomguCQ.d.mts → index-D8sNCYCo.d.mts} +1 -1
- package/dist/index-DHAamdKa.d.cts +55 -0
- package/dist/{index-ByDfI1go.d.cts → index-DOzfQDfG.d.cts} +1 -1
- package/dist/{index-MbcUN6uf.d.mts → index-DbwnL32Q.d.mts} +1 -1
- package/dist/{index-CgJzEbXW.d.cts → index-Dpqn1WzM.d.cts} +1 -1
- package/dist/{index-CQyvhO-h.d.cts → index-ILo8rb05.d.cts} +1 -1
- package/dist/{index-Bwpwvg1h.d.cts → index-IfEDsoFj.d.cts} +1 -1
- package/dist/{index-BmyL5qR7.d.cts → index-PoT1oV9X.d.cts} +1 -1
- package/dist/{index-DKz4zEeT.d.mts → index-Xh-lC-ge.d.mts} +1 -1
- package/dist/{index-D1mRMWDm.d.cts → index-eWVK6SXF.d.cts} +1 -1
- package/dist/{index-90_abc05.d.mts → index-fuBvJDhs.d.mts} +1 -1
- package/dist/{index-pzogdlkS.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-DsxPfpSE.mjs → presets-B4QR0tKt.mjs} +1 -1
- package/dist/{presets-KURYP1_7.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-Cv5WjcVA.d.cts → types-Cj6Jx5LX.d.cts} +27 -13
- package/dist/{types-Cv5WjcVA.d.mts → types-Cj6Jx5LX.d.mts} +27 -13
- 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/grid-CYjL4-gb.mjs +0 -126
- package/dist/index-CXK27dY_.d.cts +0 -42
- package/dist/index-D7IZ8-Zq.d.mts +0 -42
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { a as Parser, l as StyleObject } from "./index-iVqAMF2L.cjs";
|
|
2
|
+
import "./types-Cj6Jx5LX.cjs";
|
|
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. */
|
|
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 at that breakpoint only.
|
|
22
|
+
*/
|
|
23
|
+
type LayoutGridValue = boolean | Record<string, LayoutGridEntry | LayoutGridEntry[keyof LayoutGridEntry]>;
|
|
24
|
+
/** The container a layout grid is drawn on: column tracks, or a wrapping flex row. */
|
|
25
|
+
type LayoutGridDisplay = 'grid' | 'flex';
|
|
26
|
+
/**
|
|
27
|
+
* The layout grid from `theme.layout`, per breakpoint: each breakpoint's `content` (columns,
|
|
28
|
+
* margin, gutter, fluid or fixed), inherited mobile-first. A field in `value` replaces the
|
|
29
|
+
* theme's at every breakpoint (`{ gutter: 8 }`); an entry under a breakpoint name replaces it
|
|
30
|
+
* there only, on top of those fields (`{ gutter: 8, md: { columns: 6 } }`), and the next
|
|
31
|
+
* breakpoint is back to the theme. Every written block carries the full set, so no block
|
|
32
|
+
* inherits a stale `max-width`. The layout owns what it writes - an explicit `gap`, padding or
|
|
33
|
+
* `maxWidth` on the same element does not override it; rows take `rowGap`.
|
|
34
|
+
*/
|
|
35
|
+
declare const layoutGridStyles: (theme: unknown, value: LayoutGridValue | undefined, display?: LayoutGridDisplay) => 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. 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. */
|
|
43
|
+
declare const layoutGrid: Parser;
|
|
44
|
+
/** The `layout` prop's columns on a flex container: a wrapping row with the same gutter. */
|
|
45
|
+
declare const layoutFlex: Parser;
|
|
46
|
+
/**
|
|
47
|
+
* The `span` prop: how many layout-grid columns an element takes. It writes both
|
|
48
|
+
* `grid-column: span N` (read by a Grid parent) and a flex basis from the parent's
|
|
49
|
+
* `--layout-columns` / `--layout-gutter` (read by a Flex parent); each container ignores the
|
|
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 }}`.
|
|
52
|
+
*/
|
|
53
|
+
declare const span: Parser;
|
|
54
|
+
//#endregion
|
|
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,23 +339,37 @@ 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 LayoutFrameEntryProps<ThemeType extends Theme> {
|
|
343
|
+
margin?: ThemeValue<'space', ThemeType> | string;
|
|
344
|
+
mode?: 'fluid' | 'fixed';
|
|
345
|
+
maxWidth?: string;
|
|
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
|
+
}
|
|
342
359
|
/**
|
|
343
360
|
* Not in upstream styled-system: the layout grid from `theme.layout` on a Grid or Flex - `true`
|
|
344
|
-
* for the theme's, or
|
|
345
|
-
* (`{ lg: { columns: 16 } }`).
|
|
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 } }`).
|
|
346
363
|
*/
|
|
347
364
|
interface LayoutGridProps<ThemeType extends Theme = RequiredTheme> {
|
|
348
|
-
layout?: boolean | { [key in BreakpointName<ThemeType>]?:
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
}; };
|
|
355
|
-
}
|
|
356
|
-
/** Not in upstream styled-system: how many layout-grid columns the element takes. */
|
|
365
|
+
layout?: boolean | (LayoutGridEntryProps<ThemeType> & { [key in BreakpointName<ThemeType>]?: LayoutGridEntryProps<ThemeType>; });
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* Not in upstream styled-system: how many layout-grid columns the element takes, or `'full'`
|
|
369
|
+
* for the whole row.
|
|
370
|
+
*/
|
|
357
371
|
interface SpanProps<ThemeType extends Theme = RequiredTheme> {
|
|
358
|
-
span?: ResponsiveValue<number, ThemeType>;
|
|
372
|
+
span?: ResponsiveValue<number | 'full', ThemeType>;
|
|
359
373
|
}
|
|
360
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> {}
|
|
361
375
|
interface BoxShadowProps<ThemeType extends Theme = RequiredTheme> {
|
|
@@ -375,4 +389,4 @@ interface ColorStyleProps<ThemeType extends Theme = RequiredTheme> {
|
|
|
375
389
|
colors?: ResponsiveValue<string, ThemeType>;
|
|
376
390
|
}
|
|
377
391
|
//#endregion
|
|
378
|
-
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,23 +339,37 @@ 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 LayoutFrameEntryProps<ThemeType extends Theme> {
|
|
343
|
+
margin?: ThemeValue<'space', ThemeType> | string;
|
|
344
|
+
mode?: 'fluid' | 'fixed';
|
|
345
|
+
maxWidth?: string;
|
|
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
|
+
}
|
|
342
359
|
/**
|
|
343
360
|
* Not in upstream styled-system: the layout grid from `theme.layout` on a Grid or Flex - `true`
|
|
344
|
-
* for the theme's, or
|
|
345
|
-
* (`{ lg: { columns: 16 } }`).
|
|
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 } }`).
|
|
346
363
|
*/
|
|
347
364
|
interface LayoutGridProps<ThemeType extends Theme = RequiredTheme> {
|
|
348
|
-
layout?: boolean | { [key in BreakpointName<ThemeType>]?:
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
}; };
|
|
355
|
-
}
|
|
356
|
-
/** Not in upstream styled-system: how many layout-grid columns the element takes. */
|
|
365
|
+
layout?: boolean | (LayoutGridEntryProps<ThemeType> & { [key in BreakpointName<ThemeType>]?: LayoutGridEntryProps<ThemeType>; });
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* Not in upstream styled-system: how many layout-grid columns the element takes, or `'full'`
|
|
369
|
+
* for the whole row.
|
|
370
|
+
*/
|
|
357
371
|
interface SpanProps<ThemeType extends Theme = RequiredTheme> {
|
|
358
|
-
span?: ResponsiveValue<number, ThemeType>;
|
|
372
|
+
span?: ResponsiveValue<number | 'full', ThemeType>;
|
|
359
373
|
}
|
|
360
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> {}
|
|
361
375
|
interface BoxShadowProps<ThemeType extends Theme = RequiredTheme> {
|
|
@@ -375,4 +389,4 @@ interface ColorStyleProps<ThemeType extends Theme = RequiredTheme> {
|
|
|
375
389
|
colors?: ResponsiveValue<string, ThemeType>;
|
|
376
390
|
}
|
|
377
391
|
//#endregion
|
|
378
|
-
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 };
|