@soroush.tech/styled-system 5.8.1 → 5.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- 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.d.cts +2 -2
- package/dist/grid.d.mts +2 -2
- package/dist/{index-BIbimgdO.d.mts → index-6cAxfKIl.d.mts} +1 -1
- package/dist/{index-Brk7KoTW.d.mts → index-B89zA95f.d.mts} +1 -1
- package/dist/{index-ogIIkqhV.d.cts → index-BBuQfHYC.d.cts} +1 -1
- package/dist/{index-BxEj-sWN.d.mts → index-BNnm8JPL.d.mts} +1 -1
- package/dist/{index-BwOWcSgh.d.cts → index-B_swWveU.d.cts} +1 -1
- package/dist/{index-CA8D2_fO.d.mts → index-Bqj29Szo.d.mts} +1 -1
- package/dist/{index-C4mjv3ia.d.mts → index-C-8kLZ_X.d.mts} +1 -1
- package/dist/{index-CSiiNuwr.d.cts → index-ClSRfFkX.d.cts} +1 -1
- package/dist/{index-C0U26AuK.d.cts → index-CpDyBw8z.d.cts} +1 -1
- package/dist/{index-C-ZUVzJ7.d.mts → index-D11y4gdv.d.mts} +1 -1
- package/dist/{index-6v6ZPLqN.d.mts → index-DLQzYvfH.d.mts} +1 -1
- package/dist/{index-Lx-0Fn6T.d.cts → index-DOmnNWoA.d.cts} +1 -1
- package/dist/{index-DFHqxqDI.d.cts → index-Daclwf93.d.cts} +1 -1
- package/dist/{index-lMfmNFGL.d.mts → index-DbknCBOx.d.mts} +1 -1
- package/dist/{index-P5vy3lm4.d.mts → index-DdlTo1c6.d.mts} +1 -1
- package/dist/{index-DPZut54X.d.cts → index-DluQIAXz.d.cts} +1 -1
- package/dist/{index-CLPj_nlH.d.mts → index-DuI1XGHT.d.mts} +1 -1
- package/dist/{index-Br4itelo.d.cts → index-NT55TmXe.d.cts} +1 -1
- package/dist/{index-BhQrpfIN.d.cts → index-O6xVfQo3.d.cts} +1 -1
- package/dist/{index-KOeCRVqs.d.cts → index-RXhfbqjT.d.cts} +1 -1
- package/dist/{index-BB5onzAO.d.cts → index-bHspW0eP.d.cts} +1 -1
- package/dist/{index-Dj0F79Bp.d.mts → index-yC71Yo0d.d.mts} +1 -1
- package/dist/index.d.cts +12 -12
- package/dist/index.d.mts +12 -12
- 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/shadow.d.cts +2 -2
- package/dist/shadow.d.mts +2 -2
- package/dist/space.d.cts +2 -2
- package/dist/space.d.mts +2 -2
- package/dist/{types-BEHYHdIq.d.cts → types-B52XAdkx.d.cts} +4 -4
- package/dist/{types-BEHYHdIq.d.mts → types-B52XAdkx.d.mts} +4 -4
- 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 +7 -8
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://www.npmjs.com/package/@soroush.tech/styled-system)
|
|
8
8
|
[](./LICENSE)
|
|
9
9
|
|
|
10
|
-
A maintained, first-class-TypeScript rewrite of [styled-system](https://github.com/jxnblk/styled-system) v5
|
|
10
|
+
A maintained, first-class-TypeScript rewrite of [styled-system](https://github.com/jxnblk/styled-system) v5 - responsive, theme-aware style props for CSS-in-JS.
|
|
11
11
|
|
|
12
12
|
It is a **drop-in replacement** for the `styled-system` runtime: the root export surface matches upstream verbatim, and the package ships its own types (replacing `@types/styled-system`).
|
|
13
13
|
|
|
@@ -19,7 +19,7 @@ It is a **drop-in replacement** for the `styled-system` runtime: the root export
|
|
|
19
19
|
- Typographic scale, and a spacing scale for `margin`, `padding` and `gap`
|
|
20
20
|
- Works with any color palette
|
|
21
21
|
- Works with most CSS-in-JS libraries, including [Emotion](https://emotion.sh) and [styled-components](https://styled-components.com)
|
|
22
|
-
- First-class TypeScript types
|
|
22
|
+
- First-class TypeScript types - theme-scale-aware props, replacing `@types/styled-system`
|
|
23
23
|
|
|
24
24
|
## Install
|
|
25
25
|
|
|
@@ -39,9 +39,9 @@ yarn add @soroush.tech/styled-system
|
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
`@emotion/is-prop-valid` (`^1.4.0`, peer) and `prop-types` (`^15.8.1`, optional peer) are
|
|
42
|
-
each used by a single [subpath](#subpath-imports)
|
|
42
|
+
each used by a single [subpath](#subpath-imports) - `should-forward-prop` and `prop-types`
|
|
43
43
|
respectively. Install one only if you import that subpath. You bring your own CSS-in-JS
|
|
44
|
-
library (Emotion, styled-components,
|
|
44
|
+
library (Emotion, styled-components, ...); the core carries neither at runtime.
|
|
45
45
|
|
|
46
46
|
## Usage
|
|
47
47
|
|
|
@@ -119,7 +119,7 @@ import shouldForwardProp, {
|
|
|
119
119
|
|
|
120
120
|
## Drop-in via alias
|
|
121
121
|
|
|
122
|
-
Existing `styled-system` users can swap with a package-manager alias
|
|
122
|
+
Existing `styled-system` users can swap with a package-manager alias - no code changes:
|
|
123
123
|
|
|
124
124
|
```jsonc
|
|
125
125
|
"dependencies": {
|
|
@@ -127,7 +127,7 @@ Existing `styled-system` users can swap with a package-manager alias — no code
|
|
|
127
127
|
}
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
The satellite `@styled-system/*` packages don't need separate aliases
|
|
130
|
+
The satellite `@styled-system/*` packages don't need separate aliases - import them as
|
|
131
131
|
subpaths off the aliased `styled-system` name, and they resolve through this package's
|
|
132
132
|
`exports`:
|
|
133
133
|
|
|
@@ -164,4 +164,4 @@ Per-version notes for every published release live in
|
|
|
164
164
|
|
|
165
165
|
## License
|
|
166
166
|
|
|
167
|
-
MIT
|
|
167
|
+
MIT - a rewrite of styled-system (© 2017-2021 Brent Jackson), see [`LICENSE`](https://github.com/soroush-tech/core/tree/main/packages/styled-system/LICENSE).
|
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-BBuQfHYC.cjs";
|
|
2
|
+
import { c as BackgroundProps, l as BackgroundRepeatProps, o as BackgroundImageProps, s as BackgroundPositionProps, u as BackgroundSizeProps } from "./types-B52XAdkx.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-yC71Yo0d.mjs";
|
|
2
|
+
import { c as BackgroundProps, l as BackgroundRepeatProps, o as BackgroundImageProps, s as BackgroundPositionProps, u as BackgroundSizeProps } from "./types-B52XAdkx.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-B52XAdkx.cjs";
|
|
2
|
+
import { t as border } from "./index-Daclwf93.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-B52XAdkx.mjs";
|
|
2
|
+
import { t as border } from "./index-DdlTo1c6.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 { C as ColorProps, Ot as TextColorProps, a as BackgroundColorProps, ft as OpacityProps } from "./types-
|
|
2
|
-
import { t as color } from "./index-
|
|
1
|
+
import { C as ColorProps, Ot as TextColorProps, a as BackgroundColorProps, ft as OpacityProps } from "./types-B52XAdkx.cjs";
|
|
2
|
+
import { t as color } from "./index-RXhfbqjT.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 { C as ColorProps, Ot as TextColorProps, a as BackgroundColorProps, ft as OpacityProps } from "./types-
|
|
2
|
-
import { t as color } from "./index-
|
|
1
|
+
import { C as ColorProps, Ot as TextColorProps, a as BackgroundColorProps, ft as OpacityProps } from "./types-B52XAdkx.mjs";
|
|
2
|
+
import { t as color } from "./index-BNnm8JPL.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 { $ as JustifyContentProps, A as FlexProps, D as FlexBasisProps, M as FlexWrapProps, N as FlexboxProps, O as FlexDirectionProps, et as JustifyItemsProps, j as FlexShrinkProps, k as FlexGrowProps, n as AlignItemsProps, pt as OrderProps, r as AlignSelfProps, t as AlignContentProps, tt as JustifySelfProps } from "./types-
|
|
2
|
-
import { t as flexbox } from "./index-
|
|
1
|
+
import { $ as JustifyContentProps, A as FlexProps, D as FlexBasisProps, M as FlexWrapProps, N as FlexboxProps, O as FlexDirectionProps, et as JustifyItemsProps, j as FlexShrinkProps, k as FlexGrowProps, n as AlignItemsProps, pt as OrderProps, r as AlignSelfProps, t as AlignContentProps, tt as JustifySelfProps } from "./types-B52XAdkx.cjs";
|
|
2
|
+
import { t as flexbox } from "./index-CpDyBw8z.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 { $ as JustifyContentProps, A as FlexProps, D as FlexBasisProps, M as FlexWrapProps, N as FlexboxProps, O as FlexDirectionProps, et as JustifyItemsProps, j as FlexShrinkProps, k as FlexGrowProps, n as AlignItemsProps, pt as OrderProps, r as AlignSelfProps, t as AlignContentProps, tt as JustifySelfProps } from "./types-
|
|
2
|
-
import { t as flexbox } from "./index-
|
|
1
|
+
import { $ as JustifyContentProps, A as FlexProps, D as FlexBasisProps, M as FlexWrapProps, N as FlexboxProps, O as FlexDirectionProps, et as JustifyItemsProps, j as FlexShrinkProps, k as FlexGrowProps, n as AlignItemsProps, pt as OrderProps, r as AlignSelfProps, t as AlignContentProps, tt as JustifySelfProps } from "./types-B52XAdkx.mjs";
|
|
2
|
+
import { t as flexbox } from "./index-DuI1XGHT.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 };
|
package/dist/grid.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { B as GridAutoColumnsProps, G as GridGapProps, H as GridAutoRowsProps, J as GridRowProps, K as GridProps, U as GridColumnGapProps, V as GridAutoFlowProps, W as GridColumnProps, X as GridTemplateColumnsProps, Y as GridTemplateAreasProps, Z as GridTemplateRowsProps, q as GridRowGapProps, z as GridAreaProps } from "./types-
|
|
2
|
-
import { t as grid } from "./index-
|
|
1
|
+
import { B as GridAutoColumnsProps, G as GridGapProps, H as GridAutoRowsProps, J as GridRowProps, K as GridProps, U as GridColumnGapProps, V as GridAutoFlowProps, W as GridColumnProps, X as GridTemplateColumnsProps, Y as GridTemplateAreasProps, Z as GridTemplateRowsProps, q as GridRowGapProps, z as GridAreaProps } from "./types-B52XAdkx.cjs";
|
|
2
|
+
import { t as grid } from "./index-ClSRfFkX.cjs";
|
|
3
3
|
export { type GridAreaProps, type GridAutoColumnsProps, type GridAutoFlowProps, type GridAutoRowsProps, type GridColumnGapProps, type GridColumnProps, type GridGapProps, type GridProps, type GridRowGapProps, type GridRowProps, type GridTemplateAreasProps, type GridTemplateColumnsProps, type GridTemplateRowsProps, grid as default, grid };
|
package/dist/grid.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { B as GridAutoColumnsProps, G as GridGapProps, H as GridAutoRowsProps, J as GridRowProps, K as GridProps, U as GridColumnGapProps, V as GridAutoFlowProps, W as GridColumnProps, X as GridTemplateColumnsProps, Y as GridTemplateAreasProps, Z as GridTemplateRowsProps, q as GridRowGapProps, z as GridAreaProps } from "./types-
|
|
2
|
-
import { t as grid } from "./index-
|
|
1
|
+
import { B as GridAutoColumnsProps, G as GridGapProps, H as GridAutoRowsProps, J as GridRowProps, K as GridProps, U as GridColumnGapProps, V as GridAutoFlowProps, W as GridColumnProps, X as GridTemplateColumnsProps, Y as GridTemplateAreasProps, Z as GridTemplateRowsProps, q as GridRowGapProps, z as GridAreaProps } from "./types-B52XAdkx.mjs";
|
|
2
|
+
import { t as grid } from "./index-Bqj29Szo.mjs";
|
|
3
3
|
export { type GridAreaProps, type GridAutoColumnsProps, type GridAutoFlowProps, type GridAutoRowsProps, type GridColumnGapProps, type GridColumnProps, type GridGapProps, type GridProps, type GridRowGapProps, type GridRowProps, type GridTemplateAreasProps, type GridTemplateColumnsProps, type GridTemplateRowsProps, grid as default, grid };
|
package/dist/index.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
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-C0SM54dQ.cjs";
|
|
2
|
-
import { t as background } from "./index-
|
|
3
|
-
import { $ as JustifyContentProps, A as FlexProps, At as TextDecorationLineProps, B as GridAutoColumnsProps, Bt as TopProps, C as ColorProps, Ct as SizeProps, D as FlexBasisProps, Dt as TextAlignProps, E as DisplayProps, Et as TextAlignLastProps, F as FontSizeProps, Ft as TextShadowProps, G as GridGapProps, Gt as ZIndexProps, H as GridAutoRowsProps, Ht as VerticalAlignProps, I as FontStyleProps, It as TextStyleProps, J as GridRowProps, K as GridProps, L as FontWeightProps, Lt as TextTransformProps, M as FlexWrapProps, Mt as TextDecorationStyleProps, N as FlexboxProps, Nt as TextDecorationThicknessProps, O as FlexDirectionProps, Ot as TextColorProps, P as FontFamilyProps, Pt as TextOverflowProps, Q as HeightProps, R as GapProps, Rt as Theme, S as ButtonStyleProps, St as ShadowProps, T as ColumnGapProps, Tt as TLengthStyledSystem, U as GridColumnGapProps, Ut as WhiteSpaceProps, V as GridAutoFlowProps, Vt as TypographyProps, W as GridColumnProps, Wt as WidthProps, X as GridTemplateColumnsProps, Y as GridTemplateAreasProps, Z as GridTemplateRowsProps, _ as BorderStyleProps, _t as RequiredTheme, a as BackgroundColorProps, at as LineHeightProps, b as BottomProps, bt as RowGapProps, c as BackgroundProps, ct as MaxWidthProps, d as BorderBottomProps, dt as ObjectOrArray, et as JustifyItemsProps, f as BorderColorProps, ft as OpacityProps, g as BorderRightProps, gt as PositionProps, h as BorderRadiusProps, ht as PaddingProps, i as AspectRatioProps, it as LetterSpacingProps, j as FlexShrinkProps, jt as TextDecorationProps, k as FlexGrowProps, kt as TextDecorationColorProps, l as BackgroundRepeatProps, lt as MinHeightProps, m as BorderProps, mt as OverflowProps, n as AlignItemsProps, nt as LayoutProps, o as BackgroundImageProps, ot as MarginProps, p as BorderLeftProps, pt as OrderProps, q as GridRowGapProps, r as AlignSelfProps, rt as LeftProps, s as BackgroundPositionProps, st as MaxHeightProps, t as AlignContentProps, tt as JustifySelfProps, u as BackgroundSizeProps, ut as MinWidthProps, v as BorderTopProps, vt as ResponsiveValue, w as ColorStyleProps, wt as SpaceProps, x as BoxShadowProps, xt as Scale, y as BorderWidthProps, yt as RightProps, z as GridAreaProps, zt as ThemeValue } from "./types-
|
|
4
|
-
import { t as border } from "./index-
|
|
5
|
-
import { t as color } from "./index-
|
|
6
|
-
import { t as flexbox } from "./index-
|
|
7
|
-
import { t as grid } from "./index-
|
|
8
|
-
import { i as space, n as margin, r as padding, t as gap } from "./index-
|
|
9
|
-
import { t as layout } from "./index-
|
|
10
|
-
import { t as typography } from "./index-
|
|
11
|
-
import { t as position } from "./index-
|
|
12
|
-
import { t as shadow } from "./index-
|
|
13
|
-
import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-
|
|
2
|
+
import { t as background } from "./index-BBuQfHYC.cjs";
|
|
3
|
+
import { $ as JustifyContentProps, A as FlexProps, At as TextDecorationLineProps, B as GridAutoColumnsProps, Bt as TopProps, C as ColorProps, Ct as SizeProps, D as FlexBasisProps, Dt as TextAlignProps, E as DisplayProps, Et as TextAlignLastProps, F as FontSizeProps, Ft as TextShadowProps, G as GridGapProps, Gt as ZIndexProps, H as GridAutoRowsProps, Ht as VerticalAlignProps, I as FontStyleProps, It as TextStyleProps, J as GridRowProps, K as GridProps, L as FontWeightProps, Lt as TextTransformProps, M as FlexWrapProps, Mt as TextDecorationStyleProps, N as FlexboxProps, Nt as TextDecorationThicknessProps, O as FlexDirectionProps, Ot as TextColorProps, P as FontFamilyProps, Pt as TextOverflowProps, Q as HeightProps, R as GapProps, Rt as Theme, S as ButtonStyleProps, St as ShadowProps, T as ColumnGapProps, Tt as TLengthStyledSystem, U as GridColumnGapProps, Ut as WhiteSpaceProps, V as GridAutoFlowProps, Vt as TypographyProps, W as GridColumnProps, Wt as WidthProps, X as GridTemplateColumnsProps, Y as GridTemplateAreasProps, Z as GridTemplateRowsProps, _ as BorderStyleProps, _t as RequiredTheme, a as BackgroundColorProps, at as LineHeightProps, b as BottomProps, bt as RowGapProps, c as BackgroundProps, ct as MaxWidthProps, d as BorderBottomProps, dt as ObjectOrArray, et as JustifyItemsProps, f as BorderColorProps, ft as OpacityProps, g as BorderRightProps, gt as PositionProps, h as BorderRadiusProps, ht as PaddingProps, i as AspectRatioProps, it as LetterSpacingProps, j as FlexShrinkProps, jt as TextDecorationProps, k as FlexGrowProps, kt as TextDecorationColorProps, l as BackgroundRepeatProps, lt as MinHeightProps, m as BorderProps, mt as OverflowProps, n as AlignItemsProps, nt as LayoutProps, o as BackgroundImageProps, ot as MarginProps, p as BorderLeftProps, pt as OrderProps, q as GridRowGapProps, r as AlignSelfProps, rt as LeftProps, s as BackgroundPositionProps, st as MaxHeightProps, t as AlignContentProps, tt as JustifySelfProps, u as BackgroundSizeProps, ut as MinWidthProps, v as BorderTopProps, vt as ResponsiveValue, w as ColorStyleProps, wt as SpaceProps, x as BoxShadowProps, xt as Scale, y as BorderWidthProps, yt as RightProps, z as GridAreaProps, zt as ThemeValue } from "./types-B52XAdkx.cjs";
|
|
4
|
+
import { t as border } from "./index-Daclwf93.cjs";
|
|
5
|
+
import { t as color } from "./index-RXhfbqjT.cjs";
|
|
6
|
+
import { t as flexbox } from "./index-CpDyBw8z.cjs";
|
|
7
|
+
import { t as grid } from "./index-ClSRfFkX.cjs";
|
|
8
|
+
import { i as space, n as margin, r as padding, t as gap } from "./index-O6xVfQo3.cjs";
|
|
9
|
+
import { t as layout } from "./index-NT55TmXe.cjs";
|
|
10
|
+
import { t as typography } from "./index-DluQIAXz.cjs";
|
|
11
|
+
import { t as position } from "./index-DOmnNWoA.cjs";
|
|
12
|
+
import { t as shadow } from "./index-B_swWveU.cjs";
|
|
13
|
+
import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-bHspW0eP.cjs";
|
|
14
14
|
//#region src/style/style.d.ts
|
|
15
15
|
interface StyleOptions {
|
|
16
16
|
prop: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
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-C0SM54dQ.mjs";
|
|
2
|
-
import { t as background } from "./index-
|
|
3
|
-
import { $ as JustifyContentProps, A as FlexProps, At as TextDecorationLineProps, B as GridAutoColumnsProps, Bt as TopProps, C as ColorProps, Ct as SizeProps, D as FlexBasisProps, Dt as TextAlignProps, E as DisplayProps, Et as TextAlignLastProps, F as FontSizeProps, Ft as TextShadowProps, G as GridGapProps, Gt as ZIndexProps, H as GridAutoRowsProps, Ht as VerticalAlignProps, I as FontStyleProps, It as TextStyleProps, J as GridRowProps, K as GridProps, L as FontWeightProps, Lt as TextTransformProps, M as FlexWrapProps, Mt as TextDecorationStyleProps, N as FlexboxProps, Nt as TextDecorationThicknessProps, O as FlexDirectionProps, Ot as TextColorProps, P as FontFamilyProps, Pt as TextOverflowProps, Q as HeightProps, R as GapProps, Rt as Theme, S as ButtonStyleProps, St as ShadowProps, T as ColumnGapProps, Tt as TLengthStyledSystem, U as GridColumnGapProps, Ut as WhiteSpaceProps, V as GridAutoFlowProps, Vt as TypographyProps, W as GridColumnProps, Wt as WidthProps, X as GridTemplateColumnsProps, Y as GridTemplateAreasProps, Z as GridTemplateRowsProps, _ as BorderStyleProps, _t as RequiredTheme, a as BackgroundColorProps, at as LineHeightProps, b as BottomProps, bt as RowGapProps, c as BackgroundProps, ct as MaxWidthProps, d as BorderBottomProps, dt as ObjectOrArray, et as JustifyItemsProps, f as BorderColorProps, ft as OpacityProps, g as BorderRightProps, gt as PositionProps, h as BorderRadiusProps, ht as PaddingProps, i as AspectRatioProps, it as LetterSpacingProps, j as FlexShrinkProps, jt as TextDecorationProps, k as FlexGrowProps, kt as TextDecorationColorProps, l as BackgroundRepeatProps, lt as MinHeightProps, m as BorderProps, mt as OverflowProps, n as AlignItemsProps, nt as LayoutProps, o as BackgroundImageProps, ot as MarginProps, p as BorderLeftProps, pt as OrderProps, q as GridRowGapProps, r as AlignSelfProps, rt as LeftProps, s as BackgroundPositionProps, st as MaxHeightProps, t as AlignContentProps, tt as JustifySelfProps, u as BackgroundSizeProps, ut as MinWidthProps, v as BorderTopProps, vt as ResponsiveValue, w as ColorStyleProps, wt as SpaceProps, x as BoxShadowProps, xt as Scale, y as BorderWidthProps, yt as RightProps, z as GridAreaProps, zt as ThemeValue } from "./types-
|
|
4
|
-
import { t as border } from "./index-
|
|
5
|
-
import { t as color } from "./index-
|
|
6
|
-
import { t as flexbox } from "./index-
|
|
7
|
-
import { t as grid } from "./index-
|
|
8
|
-
import { i as space, n as margin, r as padding, t as gap } from "./index-
|
|
9
|
-
import { t as layout } from "./index-
|
|
10
|
-
import { t as typography } from "./index-
|
|
11
|
-
import { t as position } from "./index-
|
|
12
|
-
import { t as shadow } from "./index-
|
|
13
|
-
import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-
|
|
2
|
+
import { t as background } from "./index-yC71Yo0d.mjs";
|
|
3
|
+
import { $ as JustifyContentProps, A as FlexProps, At as TextDecorationLineProps, B as GridAutoColumnsProps, Bt as TopProps, C as ColorProps, Ct as SizeProps, D as FlexBasisProps, Dt as TextAlignProps, E as DisplayProps, Et as TextAlignLastProps, F as FontSizeProps, Ft as TextShadowProps, G as GridGapProps, Gt as ZIndexProps, H as GridAutoRowsProps, Ht as VerticalAlignProps, I as FontStyleProps, It as TextStyleProps, J as GridRowProps, K as GridProps, L as FontWeightProps, Lt as TextTransformProps, M as FlexWrapProps, Mt as TextDecorationStyleProps, N as FlexboxProps, Nt as TextDecorationThicknessProps, O as FlexDirectionProps, Ot as TextColorProps, P as FontFamilyProps, Pt as TextOverflowProps, Q as HeightProps, R as GapProps, Rt as Theme, S as ButtonStyleProps, St as ShadowProps, T as ColumnGapProps, Tt as TLengthStyledSystem, U as GridColumnGapProps, Ut as WhiteSpaceProps, V as GridAutoFlowProps, Vt as TypographyProps, W as GridColumnProps, Wt as WidthProps, X as GridTemplateColumnsProps, Y as GridTemplateAreasProps, Z as GridTemplateRowsProps, _ as BorderStyleProps, _t as RequiredTheme, a as BackgroundColorProps, at as LineHeightProps, b as BottomProps, bt as RowGapProps, c as BackgroundProps, ct as MaxWidthProps, d as BorderBottomProps, dt as ObjectOrArray, et as JustifyItemsProps, f as BorderColorProps, ft as OpacityProps, g as BorderRightProps, gt as PositionProps, h as BorderRadiusProps, ht as PaddingProps, i as AspectRatioProps, it as LetterSpacingProps, j as FlexShrinkProps, jt as TextDecorationProps, k as FlexGrowProps, kt as TextDecorationColorProps, l as BackgroundRepeatProps, lt as MinHeightProps, m as BorderProps, mt as OverflowProps, n as AlignItemsProps, nt as LayoutProps, o as BackgroundImageProps, ot as MarginProps, p as BorderLeftProps, pt as OrderProps, q as GridRowGapProps, r as AlignSelfProps, rt as LeftProps, s as BackgroundPositionProps, st as MaxHeightProps, t as AlignContentProps, tt as JustifySelfProps, u as BackgroundSizeProps, ut as MinWidthProps, v as BorderTopProps, vt as ResponsiveValue, w as ColorStyleProps, wt as SpaceProps, x as BoxShadowProps, xt as Scale, y as BorderWidthProps, yt as RightProps, z as GridAreaProps, zt as ThemeValue } from "./types-B52XAdkx.mjs";
|
|
4
|
+
import { t as border } from "./index-DdlTo1c6.mjs";
|
|
5
|
+
import { t as color } from "./index-BNnm8JPL.mjs";
|
|
6
|
+
import { t as flexbox } from "./index-DuI1XGHT.mjs";
|
|
7
|
+
import { t as grid } from "./index-Bqj29Szo.mjs";
|
|
8
|
+
import { i as space, n as margin, r as padding, t as gap } from "./index-6cAxfKIl.mjs";
|
|
9
|
+
import { t as layout } from "./index-C-8kLZ_X.mjs";
|
|
10
|
+
import { t as typography } from "./index-B89zA95f.mjs";
|
|
11
|
+
import { t as position } from "./index-DLQzYvfH.mjs";
|
|
12
|
+
import { t as shadow } from "./index-D11y4gdv.mjs";
|
|
13
|
+
import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-DbknCBOx.mjs";
|
|
14
14
|
//#region src/style/style.d.ts
|
|
15
15
|
interface StyleOptions {
|
|
16
16
|
prop: string;
|
package/dist/layout.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Ct as SizeProps, E as DisplayProps, Ht as VerticalAlignProps, Q as HeightProps, Wt as WidthProps, ct as MaxWidthProps, i as AspectRatioProps, lt as MinHeightProps, mt as OverflowProps, nt as LayoutProps, st as MaxHeightProps, ut as MinWidthProps } from "./types-
|
|
2
|
-
import { t as layout } from "./index-
|
|
1
|
+
import { Ct as SizeProps, E as DisplayProps, Ht as VerticalAlignProps, Q as HeightProps, Wt as WidthProps, ct as MaxWidthProps, i as AspectRatioProps, lt as MinHeightProps, mt as OverflowProps, nt as LayoutProps, st as MaxHeightProps, ut as MinWidthProps } from "./types-B52XAdkx.cjs";
|
|
2
|
+
import { t as layout } from "./index-NT55TmXe.cjs";
|
|
3
3
|
export { type AspectRatioProps, 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 { Ct as SizeProps, E as DisplayProps, Ht as VerticalAlignProps, Q as HeightProps, Wt as WidthProps, ct as MaxWidthProps, i as AspectRatioProps, lt as MinHeightProps, mt as OverflowProps, nt as LayoutProps, st as MaxHeightProps, ut as MinWidthProps } from "./types-
|
|
2
|
-
import { t as layout } from "./index-
|
|
1
|
+
import { Ct as SizeProps, E as DisplayProps, Ht as VerticalAlignProps, Q as HeightProps, Wt as WidthProps, ct as MaxWidthProps, i as AspectRatioProps, lt as MinHeightProps, mt as OverflowProps, nt as LayoutProps, st as MaxHeightProps, ut as MinWidthProps } from "./types-B52XAdkx.mjs";
|
|
2
|
+
import { t as layout } from "./index-C-8kLZ_X.mjs";
|
|
3
3
|
export { type AspectRatioProps, 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 { Bt as TopProps, Gt as ZIndexProps, b as BottomProps, gt as PositionProps, rt as LeftProps, yt as RightProps } from "./types-
|
|
2
|
-
import { t as position } from "./index-
|
|
1
|
+
import { Bt as TopProps, Gt as ZIndexProps, b as BottomProps, gt as PositionProps, rt as LeftProps, yt as RightProps } from "./types-B52XAdkx.cjs";
|
|
2
|
+
import { t as position } from "./index-DOmnNWoA.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 { Bt as TopProps, Gt as ZIndexProps, b as BottomProps, gt as PositionProps, rt as LeftProps, yt as RightProps } from "./types-
|
|
2
|
-
import { t as position } from "./index-
|
|
1
|
+
import { Bt as TopProps, Gt as ZIndexProps, b as BottomProps, gt as PositionProps, rt as LeftProps, yt as RightProps } from "./types-B52XAdkx.mjs";
|
|
2
|
+
import { t as position } from "./index-DLQzYvfH.mjs";
|
|
3
3
|
export { type BottomProps, type LeftProps, type PositionProps, type RightProps, type TopProps, type ZIndexProps, position as default, position };
|
package/dist/shadow.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Ft as TextShadowProps, St as ShadowProps, x as BoxShadowProps } from "./types-
|
|
2
|
-
import { t as shadow } from "./index-
|
|
1
|
+
import { Ft as TextShadowProps, St as ShadowProps, x as BoxShadowProps } from "./types-B52XAdkx.cjs";
|
|
2
|
+
import { t as shadow } from "./index-B_swWveU.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 { Ft as TextShadowProps, St as ShadowProps, x as BoxShadowProps } from "./types-
|
|
2
|
-
import { t as shadow } from "./index-
|
|
1
|
+
import { Ft as TextShadowProps, St as ShadowProps, x as BoxShadowProps } from "./types-B52XAdkx.mjs";
|
|
2
|
+
import { t as shadow } from "./index-D11y4gdv.mjs";
|
|
3
3
|
export { type BoxShadowProps, type ShadowProps, type TextShadowProps, shadow as default, shadow };
|
package/dist/space.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { R as GapProps, T as ColumnGapProps, bt as RowGapProps, ht as PaddingProps, ot as MarginProps, wt as SpaceProps } from "./types-
|
|
2
|
-
import { i as space, n as margin, r as padding, t as gap } from "./index-
|
|
1
|
+
import { R as GapProps, T as ColumnGapProps, bt as RowGapProps, ht as PaddingProps, ot as MarginProps, wt as SpaceProps } from "./types-B52XAdkx.cjs";
|
|
2
|
+
import { i as space, n as margin, r as padding, t as gap } from "./index-O6xVfQo3.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 { R as GapProps, T as ColumnGapProps, bt as RowGapProps, ht as PaddingProps, ot as MarginProps, wt as SpaceProps } from "./types-
|
|
2
|
-
import { i as space, n as margin, r as padding, t as gap } from "./index-
|
|
1
|
+
import { R as GapProps, T as ColumnGapProps, bt as RowGapProps, ht as PaddingProps, ot as MarginProps, wt as SpaceProps } from "./types-B52XAdkx.mjs";
|
|
2
|
+
import { i as space, n as margin, r as padding, t as gap } from "./index-6cAxfKIl.mjs";
|
|
3
3
|
export { type ColumnGapProps, type GapProps, type MarginProps, type PaddingProps, type RowGapProps, type SpaceProps, space as default, space, gap, margin, padding };
|
|
@@ -61,15 +61,15 @@ interface PaddingProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValu
|
|
|
61
61
|
py?: ResponsiveValue<TVal, ThemeType>;
|
|
62
62
|
paddingY?: ResponsiveValue<TVal, ThemeType>;
|
|
63
63
|
}
|
|
64
|
-
/** Not in upstream styled-system
|
|
64
|
+
/** Not in upstream styled-system - it only ever scaled the grid-prefixed gaps. */
|
|
65
65
|
interface GapProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
|
|
66
66
|
gap?: ResponsiveValue<TVal, ThemeType>;
|
|
67
67
|
}
|
|
68
|
-
/** Not in upstream styled-system
|
|
68
|
+
/** Not in upstream styled-system - it only ever scaled the grid-prefixed gaps. */
|
|
69
69
|
interface RowGapProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
|
|
70
70
|
rowGap?: ResponsiveValue<TVal, ThemeType>;
|
|
71
71
|
}
|
|
72
|
-
/** Not in upstream styled-system
|
|
72
|
+
/** Not in upstream styled-system - it only ever scaled the grid-prefixed gaps. */
|
|
73
73
|
interface ColumnGapProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
|
|
74
74
|
columnGap?: ResponsiveValue<TVal, ThemeType>;
|
|
75
75
|
}
|
|
@@ -106,7 +106,7 @@ interface OverflowProps<ThemeType extends Theme = RequiredTheme> {
|
|
|
106
106
|
interface VerticalAlignProps<ThemeType extends Theme = RequiredTheme, TVal = CSS.Property.VerticalAlign<TLengthStyledSystem>> {
|
|
107
107
|
verticalAlign?: ResponsiveValue<TVal, ThemeType>;
|
|
108
108
|
}
|
|
109
|
-
/** Not in upstream styled-system
|
|
109
|
+
/** Not in upstream styled-system - its last release predates CSS `aspect-ratio`. */
|
|
110
110
|
interface AspectRatioProps<ThemeType extends Theme = RequiredTheme> {
|
|
111
111
|
aspectRatio?: ResponsiveValue<CSS.Property.AspectRatio, ThemeType>;
|
|
112
112
|
}
|
|
@@ -61,15 +61,15 @@ interface PaddingProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValu
|
|
|
61
61
|
py?: ResponsiveValue<TVal, ThemeType>;
|
|
62
62
|
paddingY?: ResponsiveValue<TVal, ThemeType>;
|
|
63
63
|
}
|
|
64
|
-
/** Not in upstream styled-system
|
|
64
|
+
/** Not in upstream styled-system - it only ever scaled the grid-prefixed gaps. */
|
|
65
65
|
interface GapProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
|
|
66
66
|
gap?: ResponsiveValue<TVal, ThemeType>;
|
|
67
67
|
}
|
|
68
|
-
/** Not in upstream styled-system
|
|
68
|
+
/** Not in upstream styled-system - it only ever scaled the grid-prefixed gaps. */
|
|
69
69
|
interface RowGapProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
|
|
70
70
|
rowGap?: ResponsiveValue<TVal, ThemeType>;
|
|
71
71
|
}
|
|
72
|
-
/** Not in upstream styled-system
|
|
72
|
+
/** Not in upstream styled-system - it only ever scaled the grid-prefixed gaps. */
|
|
73
73
|
interface ColumnGapProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
|
|
74
74
|
columnGap?: ResponsiveValue<TVal, ThemeType>;
|
|
75
75
|
}
|
|
@@ -106,7 +106,7 @@ interface OverflowProps<ThemeType extends Theme = RequiredTheme> {
|
|
|
106
106
|
interface VerticalAlignProps<ThemeType extends Theme = RequiredTheme, TVal = CSS.Property.VerticalAlign<TLengthStyledSystem>> {
|
|
107
107
|
verticalAlign?: ResponsiveValue<TVal, ThemeType>;
|
|
108
108
|
}
|
|
109
|
-
/** Not in upstream styled-system
|
|
109
|
+
/** Not in upstream styled-system - its last release predates CSS `aspect-ratio`. */
|
|
110
110
|
interface AspectRatioProps<ThemeType extends Theme = RequiredTheme> {
|
|
111
111
|
aspectRatio?: ResponsiveValue<CSS.Property.AspectRatio, ThemeType>;
|
|
112
112
|
}
|
package/dist/typography.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Dt as TextAlignProps, F as FontSizeProps, I as FontStyleProps, L as FontWeightProps, P as FontFamilyProps, Pt as TextOverflowProps, Ut as WhiteSpaceProps, Vt as TypographyProps, at as LineHeightProps, it as LetterSpacingProps } from "./types-
|
|
2
|
-
import { t as typography } from "./index-
|
|
1
|
+
import { Dt as TextAlignProps, F as FontSizeProps, I as FontStyleProps, L as FontWeightProps, P as FontFamilyProps, Pt as TextOverflowProps, Ut as WhiteSpaceProps, Vt as TypographyProps, at as LineHeightProps, it as LetterSpacingProps } from "./types-B52XAdkx.cjs";
|
|
2
|
+
import { t as typography } from "./index-DluQIAXz.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 { Dt as TextAlignProps, F as FontSizeProps, I as FontStyleProps, L as FontWeightProps, P as FontFamilyProps, Pt as TextOverflowProps, Ut as WhiteSpaceProps, Vt as TypographyProps, at as LineHeightProps, it as LetterSpacingProps } from "./types-
|
|
2
|
-
import { t as typography } from "./index-
|
|
1
|
+
import { Dt as TextAlignProps, F as FontSizeProps, I as FontStyleProps, L as FontWeightProps, P as FontFamilyProps, Pt as TextOverflowProps, Ut as WhiteSpaceProps, Vt as TypographyProps, at as LineHeightProps, it as LetterSpacingProps } from "./types-B52XAdkx.mjs";
|
|
2
|
+
import { t as typography } from "./index-B89zA95f.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 { It as TextStyleProps, S as ButtonStyleProps, w as ColorStyleProps } from "./types-
|
|
2
|
-
import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-
|
|
1
|
+
import { It as TextStyleProps, S as ButtonStyleProps, w as ColorStyleProps } from "./types-B52XAdkx.cjs";
|
|
2
|
+
import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-bHspW0eP.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 { It as TextStyleProps, S as ButtonStyleProps, w as ColorStyleProps } from "./types-
|
|
2
|
-
import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-
|
|
1
|
+
import { It as TextStyleProps, S as ButtonStyleProps, w as ColorStyleProps } from "./types-B52XAdkx.mjs";
|
|
2
|
+
import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-DbknCBOx.mjs";
|
|
3
3
|
export { type ButtonStyleProps, type ColorStyleProps, type TextStyleProps, VariantArgs, VariantOptions, buttonStyle, colorStyle, variant as default, variant, textStyle };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soroush.tech/styled-system",
|
|
3
|
-
"version": "5.8.
|
|
4
|
-
"description": "Maintained, first-class-TypeScript rewrite of styled-system
|
|
3
|
+
"version": "5.8.3",
|
|
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",
|
|
7
7
|
"css-in-js",
|
|
@@ -235,18 +235,17 @@
|
|
|
235
235
|
"@emotion/is-prop-valid": "^1.4.0",
|
|
236
236
|
"@types/prop-types": "^15.7.15",
|
|
237
237
|
"@vitest/coverage-v8": "^4.1.10",
|
|
238
|
-
"
|
|
239
|
-
"globals": "^17.9.0",
|
|
238
|
+
"oxlint": "^1.78.0",
|
|
240
239
|
"prop-types": "^15.8.1",
|
|
241
240
|
"tsdown": "^0.22.14",
|
|
242
|
-
"typescript": "~
|
|
241
|
+
"typescript": "~7.0.2",
|
|
243
242
|
"vitest": "^4.1.10",
|
|
244
|
-
"@soroush.tech/
|
|
245
|
-
"@soroush.tech/
|
|
243
|
+
"@soroush.tech/bench": "2.2.3",
|
|
244
|
+
"@soroush.tech/eslint-config": "0.0.0"
|
|
246
245
|
},
|
|
247
246
|
"scripts": {
|
|
248
247
|
"build": "tsdown",
|
|
249
|
-
"lint": "
|
|
248
|
+
"lint": "oxlint --deny-warnings",
|
|
250
249
|
"typecheck": "tsc --noEmit",
|
|
251
250
|
"test": "vitest run",
|
|
252
251
|
"test:coverage": "vitest run --coverage"
|