@soroush.tech/styled-system 5.7.1 → 5.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +7 -7
  2. package/dist/background.d.cts +2 -2
  3. package/dist/background.d.mts +2 -2
  4. package/dist/border.d.cts +2 -2
  5. package/dist/border.d.mts +2 -2
  6. package/dist/color.d.cts +2 -2
  7. package/dist/color.d.mts +2 -2
  8. package/dist/flexbox.d.cts +2 -2
  9. package/dist/flexbox.d.mts +2 -2
  10. package/dist/grid.d.cts +2 -2
  11. package/dist/grid.d.mts +2 -2
  12. package/dist/{index-DC9UrOgS.d.mts → index-6v6ZPLqN.d.mts} +1 -1
  13. package/dist/{index-BArxeLmS.d.cts → index-BB5onzAO.d.cts} +1 -1
  14. package/dist/{index-DGqSJkFh.d.mts → index-BIbimgdO.d.mts} +3 -2
  15. package/dist/{index-cXURIs6r.d.cts → index-BhQrpfIN.d.cts} +3 -2
  16. package/dist/{index-C_CRcytY.d.cts → index-Br4itelo.d.cts} +1 -1
  17. package/dist/{index-C0pw8Qd2.d.mts → index-Brk7KoTW.d.mts} +1 -1
  18. package/dist/{index-QsPFe11Z.d.cts → index-BwOWcSgh.d.cts} +1 -1
  19. package/dist/{index-T0HR3aLX.d.mts → index-BxEj-sWN.d.mts} +1 -1
  20. package/dist/{index-CMBI9D0A.d.mts → index-C-ZUVzJ7.d.mts} +1 -1
  21. package/dist/{index-yrWGltsJ.d.cts → index-C0U26AuK.d.cts} +1 -1
  22. package/dist/{index-CVY-wfFH.d.mts → index-C4mjv3ia.d.mts} +1 -1
  23. package/dist/{index-VEj6m-by.d.mts → index-CA8D2_fO.d.mts} +1 -1
  24. package/dist/{index-DCva7aHv.d.mts → index-CLPj_nlH.d.mts} +1 -1
  25. package/dist/{index-rkfNt3hR.d.cts → index-CSiiNuwr.d.cts} +1 -1
  26. package/dist/{index-DVd2byi6.d.cts → index-DFHqxqDI.d.cts} +1 -1
  27. package/dist/{index-D3lp-1cf.d.cts → index-DPZut54X.d.cts} +1 -1
  28. package/dist/{index-DPElfVnc.d.mts → index-Dj0F79Bp.d.mts} +1 -1
  29. package/dist/{index-C8xX5EfB.d.cts → index-KOeCRVqs.d.cts} +1 -1
  30. package/dist/{index-CAwPEtqy.d.cts → index-Lx-0Fn6T.d.cts} +1 -1
  31. package/dist/{index-DQVt2B8L.d.mts → index-P5vy3lm4.d.mts} +1 -1
  32. package/dist/{index-QdL-_E8w.d.mts → index-lMfmNFGL.d.mts} +1 -1
  33. package/dist/{index-BDtY1uVY.d.cts → index-ogIIkqhV.d.cts} +1 -1
  34. package/dist/index.cjs +8 -3
  35. package/dist/index.d.cts +15 -13
  36. package/dist/index.d.mts +15 -13
  37. package/dist/index.mjs +6 -4
  38. package/dist/{layout-JlwVxg8y.cjs → layout-kqQ2OsL5.cjs} +2 -1
  39. package/dist/{layout-Dx0Un_6l.mjs → layout-lG3i5mWZ.mjs} +2 -1
  40. package/dist/layout.cjs +1 -1
  41. package/dist/layout.d.cts +3 -3
  42. package/dist/layout.d.mts +3 -3
  43. package/dist/layout.mjs +1 -1
  44. package/dist/position.d.cts +2 -2
  45. package/dist/position.d.mts +2 -2
  46. package/dist/{presets-B971SnR8.cjs → presets-B2nFh_Zn.cjs} +3 -3
  47. package/dist/{presets-Ch4IJvkJ.mjs → presets-Dg3yjRZU.mjs} +3 -3
  48. package/dist/prop-types.cjs +4 -4
  49. package/dist/prop-types.mjs +3 -3
  50. package/dist/props.cjs +1 -1
  51. package/dist/props.mjs +1 -1
  52. package/dist/{rolldown-runtime-D6vf50IK.cjs → rolldown-runtime-VH7oDXx4.cjs} +1 -1
  53. package/dist/shadow.d.cts +2 -2
  54. package/dist/shadow.d.mts +2 -2
  55. package/dist/should-forward-prop.cjs +2 -2
  56. package/dist/should-forward-prop.mjs +1 -1
  57. package/dist/{space-DEf9-0r9.mjs → space-Df3n3G6a.mjs} +20 -2
  58. package/dist/{space-CAX_62yL.cjs → space-Q-1mECZz.cjs} +25 -1
  59. package/dist/space.cjs +2 -1
  60. package/dist/space.d.cts +3 -3
  61. package/dist/space.d.mts +3 -3
  62. package/dist/space.mjs +2 -2
  63. package/dist/{types-BcPNeOu9.d.cts → types-BEHYHdIq.d.cts} +26 -4
  64. package/dist/{types-BcPNeOu9.d.mts → types-BEHYHdIq.d.mts} +26 -4
  65. package/dist/{typography-DHWhpnqa.cjs → typography-7jHZXqtc.cjs} +3 -1
  66. package/dist/{typography-CCYBDjpD.mjs → typography-p6qWP6Px.mjs} +3 -1
  67. package/dist/typography.cjs +1 -1
  68. package/dist/typography.d.cts +3 -3
  69. package/dist/typography.d.mts +3 -3
  70. package/dist/typography.mjs +1 -1
  71. package/dist/variant.d.cts +2 -2
  72. package/dist/variant.d.mts +2 -2
  73. package/package.json +6 -5
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # @soroush.tech/styled-system
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/@soroush.tech/styled-system.svg)](https://www.npmjs.com/package/@soroush.tech/styled-system)
4
- [![npm downloads](https://img.shields.io/npm/dm/@soroush.tech/styled-system.svg)](https://www.npmjs.com/package/@soroush.tech/styled-system)
3
+ [![npm version](https://img.shields.io/npm/v/@soroush.tech/styled-system.svg?cacheSeconds=86400)](https://www.npmjs.com/package/@soroush.tech/styled-system)
4
+ [![npm downloads](https://img.shields.io/npm/dm/@soroush.tech/styled-system.svg?cacheSeconds=86400)](https://www.npmjs.com/package/@soroush.tech/styled-system)
5
5
  [![coverage](https://codecov.io/gh/soroush-tech/core/branch/main/graph/badge.svg?flag=styled-system)](https://app.codecov.io/gh/soroush-tech/core?flags%5B0%5D=styled-system)
6
- [![unpacked size](https://img.shields.io/npm/unpacked-size/@soroush.tech/styled-system.svg)](https://www.npmjs.com/package/@soroush.tech/styled-system)
7
- [![types included](https://img.shields.io/npm/types/@soroush.tech/styled-system.svg)](https://www.npmjs.com/package/@soroush.tech/styled-system)
8
- [![license](https://img.shields.io/npm/l/@soroush.tech/styled-system.svg)](./LICENSE)
6
+ [![unpacked size](https://img.shields.io/npm/unpacked-size/@soroush.tech/styled-system.svg?cacheSeconds=86400)](https://www.npmjs.com/package/@soroush.tech/styled-system)
7
+ [![types included](https://img.shields.io/npm/types/@soroush.tech/styled-system.svg?cacheSeconds=86400)](https://www.npmjs.com/package/@soroush.tech/styled-system)
8
+ [![license](https://img.shields.io/npm/l/@soroush.tech/styled-system.svg?cacheSeconds=86400)](./LICENSE)
9
9
 
10
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
 
@@ -14,9 +14,9 @@ It is a **drop-in replacement** for the `styled-system` runtime: the root export
14
14
  ## Features
15
15
 
16
16
  - Add style props that hook into your own theme
17
- - Quickly set responsive `font-size`, `margin`, `padding`, `width`, and more with props
17
+ - Quickly set responsive `font-size`, `margin`, `padding`, `gap`, `width`, and more with props
18
18
  - Influenced by constraint-based design-system principles
19
- - Typographic scale, and a spacing scale for `margin` and `padding`
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
22
  - First-class TypeScript types — theme-scale-aware props, replacing `@types/styled-system`
@@ -1,3 +1,3 @@
1
- import { t as background } from "./index-BDtY1uVY.cjs";
2
- import { a as BackgroundImageProps, c as BackgroundRepeatProps, l as BackgroundSizeProps, o as BackgroundPositionProps, s as BackgroundProps } from "./types-BcPNeOu9.cjs";
1
+ import { t as background } from "./index-ogIIkqhV.cjs";
2
+ import { c as BackgroundProps, l as BackgroundRepeatProps, o as BackgroundImageProps, s as BackgroundPositionProps, u as BackgroundSizeProps } from "./types-BEHYHdIq.cjs";
3
3
  export { type BackgroundImageProps, type BackgroundPositionProps, type BackgroundProps, type BackgroundRepeatProps, type BackgroundSizeProps, background, background as default };
@@ -1,3 +1,3 @@
1
- import { t as background } from "./index-DPElfVnc.mjs";
2
- import { a as BackgroundImageProps, c as BackgroundRepeatProps, l as BackgroundSizeProps, o as BackgroundPositionProps, s as BackgroundProps } from "./types-BcPNeOu9.mjs";
1
+ import { t as background } from "./index-Dj0F79Bp.mjs";
2
+ import { c as BackgroundProps, l as BackgroundRepeatProps, o as BackgroundImageProps, s as BackgroundPositionProps, u as BackgroundSizeProps } from "./types-BEHYHdIq.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 BorderTopProps, d as BorderColorProps, f as BorderLeftProps, g as BorderStyleProps, h as BorderRightProps, m as BorderRadiusProps, p as BorderProps, u as BorderBottomProps, v as BorderWidthProps } from "./types-BcPNeOu9.cjs";
2
- import { t as border } from "./index-DVd2byi6.cjs";
1
+ import { _ as BorderStyleProps, d as BorderBottomProps, f as BorderColorProps, g as BorderRightProps, h as BorderRadiusProps, m as BorderProps, p as BorderLeftProps, v as BorderTopProps, y as BorderWidthProps } from "./types-BEHYHdIq.cjs";
2
+ import { t as border } from "./index-DFHqxqDI.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 BorderTopProps, d as BorderColorProps, f as BorderLeftProps, g as BorderStyleProps, h as BorderRightProps, m as BorderRadiusProps, p as BorderProps, u as BorderBottomProps, v as BorderWidthProps } from "./types-BcPNeOu9.mjs";
2
- import { t as border } from "./index-DQVt2B8L.mjs";
1
+ import { _ as BorderStyleProps, d as BorderBottomProps, f as BorderColorProps, g as BorderRightProps, h as BorderRadiusProps, m as BorderProps, p as BorderLeftProps, v as BorderTopProps, y as BorderWidthProps } from "./types-BEHYHdIq.mjs";
2
+ import { t as border } from "./index-P5vy3lm4.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 { S as ColorProps, i as BackgroundColorProps, lt as OpacityProps, wt as TextColorProps } from "./types-BcPNeOu9.cjs";
2
- import { t as color } from "./index-C8xX5EfB.cjs";
1
+ import { C as ColorProps, Ot as TextColorProps, a as BackgroundColorProps, ft as OpacityProps } from "./types-BEHYHdIq.cjs";
2
+ import { t as color } from "./index-KOeCRVqs.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 { S as ColorProps, i as BackgroundColorProps, lt as OpacityProps, wt as TextColorProps } from "./types-BcPNeOu9.mjs";
2
- import { t as color } from "./index-T0HR3aLX.mjs";
1
+ import { C as ColorProps, Ot as TextColorProps, a as BackgroundColorProps, ft as OpacityProps } from "./types-BEHYHdIq.mjs";
2
+ import { t as color } from "./index-BxEj-sWN.mjs";
3
3
  export { type BackgroundColorProps, type ColorProps, type OpacityProps, type TextColorProps, color, color as default };
@@ -1,3 +1,3 @@
1
- import { A as FlexWrapProps, D as FlexGrowProps, E as FlexDirectionProps, O as FlexProps, Q as JustifySelfProps, T as FlexBasisProps, X as JustifyContentProps, Z as JustifyItemsProps, j as FlexboxProps, k as FlexShrinkProps, n as AlignItemsProps, r as AlignSelfProps, t as AlignContentProps, ut as OrderProps } from "./types-BcPNeOu9.cjs";
2
- import { t as flexbox } from "./index-yrWGltsJ.cjs";
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-BEHYHdIq.cjs";
2
+ import { t as flexbox } from "./index-C0U26AuK.cjs";
3
3
  export { type AlignContentProps, type AlignItemsProps, type AlignSelfProps, type FlexBasisProps, type FlexDirectionProps, type FlexGrowProps, type FlexProps, type FlexShrinkProps, type FlexWrapProps, type FlexboxProps, type JustifyContentProps, type JustifyItemsProps, type JustifySelfProps, type OrderProps, flexbox as default, flexbox };
@@ -1,3 +1,3 @@
1
- import { A as FlexWrapProps, D as FlexGrowProps, E as FlexDirectionProps, O as FlexProps, Q as JustifySelfProps, T as FlexBasisProps, X as JustifyContentProps, Z as JustifyItemsProps, j as FlexboxProps, k as FlexShrinkProps, n as AlignItemsProps, r as AlignSelfProps, t as AlignContentProps, ut as OrderProps } from "./types-BcPNeOu9.mjs";
2
- import { t as flexbox } from "./index-DCva7aHv.mjs";
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-BEHYHdIq.mjs";
2
+ import { t as flexbox } from "./index-CLPj_nlH.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 GridColumnGapProps, G as GridRowProps, H as GridGapProps, I as GridAreaProps, J as GridTemplateRowsProps, K as GridTemplateAreasProps, L as GridAutoColumnsProps, R as GridAutoFlowProps, U as GridProps, V as GridColumnProps, W as GridRowGapProps, q as GridTemplateColumnsProps, z as GridAutoRowsProps } from "./types-BcPNeOu9.cjs";
2
- import { t as grid } from "./index-rkfNt3hR.cjs";
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-BEHYHdIq.cjs";
2
+ import { t as grid } from "./index-CSiiNuwr.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 GridColumnGapProps, G as GridRowProps, H as GridGapProps, I as GridAreaProps, J as GridTemplateRowsProps, K as GridTemplateAreasProps, L as GridAutoColumnsProps, R as GridAutoFlowProps, U as GridProps, V as GridColumnProps, W as GridRowGapProps, q as GridTemplateColumnsProps, z as GridAutoRowsProps } from "./types-BcPNeOu9.mjs";
2
- import { t as grid } from "./index-VEj6m-by.mjs";
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-BEHYHdIq.mjs";
2
+ import { t as grid } from "./index-CA8D2_fO.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 };
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.mjs";
2
- import "./types-BcPNeOu9.mjs";
2
+ import "./types-BEHYHdIq.mjs";
3
3
  //#region src/position/position.d.ts
4
4
  declare const position: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.cjs";
2
- import "./types-BcPNeOu9.cjs";
2
+ import "./types-BEHYHdIq.cjs";
3
3
  //#region src/variant/variant.d.ts
4
4
  interface VariantOptions {
5
5
  scale?: string;
@@ -1,8 +1,9 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.mjs";
2
- import "./types-BcPNeOu9.mjs";
2
+ import "./types-BEHYHdIq.mjs";
3
3
  //#region src/space/space.d.ts
4
4
  declare const margin: Parser;
5
5
  declare const padding: Parser;
6
+ declare const gap: Parser;
6
7
  declare const space: Parser;
7
8
  //#endregion
8
- export { padding as n, space as r, margin as t };
9
+ export { space as i, margin as n, padding as r, gap as t };
@@ -1,8 +1,9 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.cjs";
2
- import "./types-BcPNeOu9.cjs";
2
+ import "./types-BEHYHdIq.cjs";
3
3
  //#region src/space/space.d.ts
4
4
  declare const margin: Parser;
5
5
  declare const padding: Parser;
6
+ declare const gap: Parser;
6
7
  declare const space: Parser;
7
8
  //#endregion
8
- export { padding as n, space as r, margin as t };
9
+ export { space as i, margin as n, padding as r, gap as t };
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.cjs";
2
- import "./types-BcPNeOu9.cjs";
2
+ import "./types-BEHYHdIq.cjs";
3
3
  //#region src/layout/layout.d.ts
4
4
  declare const layout: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.mjs";
2
- import "./types-BcPNeOu9.mjs";
2
+ import "./types-BEHYHdIq.mjs";
3
3
  //#region src/typography/typography.d.ts
4
4
  declare const typography: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.cjs";
2
- import "./types-BcPNeOu9.cjs";
2
+ import "./types-BEHYHdIq.cjs";
3
3
  //#region src/shadow/shadow.d.ts
4
4
  declare const shadow: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.mjs";
2
- import "./types-BcPNeOu9.mjs";
2
+ import "./types-BEHYHdIq.mjs";
3
3
  //#region src/color/color.d.ts
4
4
  declare const color: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.mjs";
2
- import "./types-BcPNeOu9.mjs";
2
+ import "./types-BEHYHdIq.mjs";
3
3
  //#region src/shadow/shadow.d.ts
4
4
  declare const shadow: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.cjs";
2
- import "./types-BcPNeOu9.cjs";
2
+ import "./types-BEHYHdIq.cjs";
3
3
  //#region src/flexbox/flexbox.d.ts
4
4
  declare const flexbox: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.mjs";
2
- import "./types-BcPNeOu9.mjs";
2
+ import "./types-BEHYHdIq.mjs";
3
3
  //#region src/layout/layout.d.ts
4
4
  declare const layout: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.mjs";
2
- import "./types-BcPNeOu9.mjs";
2
+ import "./types-BEHYHdIq.mjs";
3
3
  //#region src/grid/grid.d.ts
4
4
  declare const grid: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.mjs";
2
- import "./types-BcPNeOu9.mjs";
2
+ import "./types-BEHYHdIq.mjs";
3
3
  //#region src/flexbox/flexbox.d.ts
4
4
  declare const flexbox: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.cjs";
2
- import "./types-BcPNeOu9.cjs";
2
+ import "./types-BEHYHdIq.cjs";
3
3
  //#region src/grid/grid.d.ts
4
4
  declare const grid: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.cjs";
2
- import "./types-BcPNeOu9.cjs";
2
+ import "./types-BEHYHdIq.cjs";
3
3
  //#region src/border/border.d.ts
4
4
  declare const border: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.cjs";
2
- import "./types-BcPNeOu9.cjs";
2
+ import "./types-BEHYHdIq.cjs";
3
3
  //#region src/typography/typography.d.ts
4
4
  declare const typography: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.mjs";
2
- import "./types-BcPNeOu9.mjs";
2
+ import "./types-BEHYHdIq.mjs";
3
3
  //#region src/background/background.d.ts
4
4
  declare const background: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.cjs";
2
- import "./types-BcPNeOu9.cjs";
2
+ import "./types-BEHYHdIq.cjs";
3
3
  //#region src/color/color.d.ts
4
4
  declare const color: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.cjs";
2
- import "./types-BcPNeOu9.cjs";
2
+ import "./types-BEHYHdIq.cjs";
3
3
  //#region src/position/position.d.ts
4
4
  declare const position: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.mjs";
2
- import "./types-BcPNeOu9.mjs";
2
+ import "./types-BEHYHdIq.mjs";
3
3
  //#region src/border/border.d.ts
4
4
  declare const border: Parser;
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.mjs";
2
- import "./types-BcPNeOu9.mjs";
2
+ import "./types-BEHYHdIq.mjs";
3
3
  //#region src/variant/variant.d.ts
4
4
  interface VariantOptions {
5
5
  scale?: string;
@@ -1,5 +1,5 @@
1
1
  import { a as Parser } from "./index-C0SM54dQ.cjs";
2
- import "./types-BcPNeOu9.cjs";
2
+ import "./types-BEHYHdIq.cjs";
3
3
  //#region src/background/background.d.ts
4
4
  declare const background: Parser;
5
5
  //#endregion
package/dist/index.cjs CHANGED
@@ -5,10 +5,10 @@ const require_border = require("./border-UuT-fTpy.cjs");
5
5
  const require_color = require("./color-BNs17Gw-.cjs");
6
6
  const require_flexbox = require("./flexbox-CFkO6PrP.cjs");
7
7
  const require_grid = require("./grid-CpvRIng4.cjs");
8
- const require_layout = require("./layout-JlwVxg8y.cjs");
8
+ const require_layout = require("./layout-kqQ2OsL5.cjs");
9
9
  const require_position = require("./position-zWvCE4hD.cjs");
10
- const require_typography = require("./typography-DHWhpnqa.cjs");
11
- const require_space = require("./space-CAX_62yL.cjs");
10
+ const require_typography = require("./typography-7jHZXqtc.cjs");
11
+ const require_space = require("./space-Q-1mECZz.cjs");
12
12
  const require_shadow = require("./shadow-BrDnaQQl.cjs");
13
13
  const require_variant = require("./variant-BSwNEY5l.cjs");
14
14
  //#region src/style/style.ts
@@ -55,6 +55,8 @@ const textDecorationStyle = typographyFns.textDecorationStyle;
55
55
  const textDecorationThickness = typographyFns.textDecorationThickness;
56
56
  const textDecorationColor = typographyFns.textDecorationColor;
57
57
  const letterSpacing = typographyFns.letterSpacing;
58
+ const whiteSpace = typographyFns.whiteSpace;
59
+ const textOverflow = typographyFns.textOverflow;
58
60
  const flexboxFns = require_flexbox.flexbox;
59
61
  const alignItems = flexboxFns.alignItems;
60
62
  const alignContent = flexboxFns.alignContent;
@@ -141,6 +143,7 @@ exports.fontFamily = fontFamily;
141
143
  exports.fontSize = fontSize;
142
144
  exports.fontStyle = fontStyle;
143
145
  exports.fontWeight = fontWeight;
146
+ exports.gap = require_space.gap;
144
147
  exports.get = require_core.get;
145
148
  exports.grid = require_grid.grid;
146
149
  exports.gridArea = gridArea;
@@ -188,6 +191,7 @@ exports.textDecorationColor = textDecorationColor;
188
191
  exports.textDecorationLine = textDecorationLine;
189
192
  exports.textDecorationStyle = textDecorationStyle;
190
193
  exports.textDecorationThickness = textDecorationThickness;
194
+ exports.textOverflow = textOverflow;
191
195
  exports.textShadow = require_shadow.shadow;
192
196
  exports.textStyle = require_variant.textStyle;
193
197
  exports.textTransform = textTransform;
@@ -195,5 +199,6 @@ exports.top = top;
195
199
  exports.typography = require_typography.typography;
196
200
  exports.variant = require_variant.variant;
197
201
  exports.verticalAlign = verticalAlign;
202
+ exports.whiteSpace = whiteSpace;
198
203
  exports.width = width;
199
204
  exports.zIndex = zIndex;
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-BDtY1uVY.cjs";
3
- import { $ as LayoutProps, A as FlexWrapProps, At as TextShadowProps, B as GridColumnGapProps, C as ColorStyleProps, Ct as TextAlignProps, D as FlexGrowProps, Dt as TextDecorationProps, E as FlexDirectionProps, Et as TextDecorationLineProps, F as FontWeightProps, Ft as TopProps, G as GridRowProps, H as GridGapProps, I as GridAreaProps, It as TypographyProps, J as GridTemplateRowsProps, K as GridTemplateAreasProps, L as GridAutoColumnsProps, Lt as VerticalAlignProps, M as FontFamilyProps, Mt as TextTransformProps, N as FontSizeProps, Nt as Theme, O as FlexProps, Ot as TextDecorationStyleProps, P as FontStyleProps, Pt as ThemeValue, Q as JustifySelfProps, R as GridAutoFlowProps, Rt as WidthProps, S as ColorProps, St as TextAlignLastProps, T as FlexBasisProps, Tt as TextDecorationColorProps, U as GridProps, V as GridColumnProps, W as GridRowGapProps, X as JustifyContentProps, Y as HeightProps, Z as JustifyItemsProps, _ as BorderTopProps, _t as Scale, a as BackgroundImageProps, at as MaxWidthProps, b as BoxShadowProps, bt as SpaceProps, c as BackgroundRepeatProps, ct as ObjectOrArray, d as BorderColorProps, dt as OverflowProps, et as LeftProps, f as BorderLeftProps, ft as PaddingProps, g as BorderStyleProps, gt as RightProps, h as BorderRightProps, ht as ResponsiveValue, i as BackgroundColorProps, it as MaxHeightProps, j as FlexboxProps, jt as TextStyleProps, k as FlexShrinkProps, kt as TextDecorationThicknessProps, l as BackgroundSizeProps, lt as OpacityProps, m as BorderRadiusProps, mt as RequiredTheme, n as AlignItemsProps, nt as LineHeightProps, o as BackgroundPositionProps, ot as MinHeightProps, p as BorderProps, pt as PositionProps, q as GridTemplateColumnsProps, r as AlignSelfProps, rt as MarginProps, s as BackgroundProps, st as MinWidthProps, t as AlignContentProps, tt as LetterSpacingProps, u as BorderBottomProps, ut as OrderProps, v as BorderWidthProps, vt as ShadowProps, w as DisplayProps, wt as TextColorProps, x as ButtonStyleProps, xt as TLengthStyledSystem, y as BottomProps, yt as SizeProps, z as GridAutoRowsProps, zt as ZIndexProps } from "./types-BcPNeOu9.cjs";
4
- import { t as border } from "./index-DVd2byi6.cjs";
5
- import { t as color } from "./index-C8xX5EfB.cjs";
6
- import { t as flexbox } from "./index-yrWGltsJ.cjs";
7
- import { t as grid } from "./index-rkfNt3hR.cjs";
8
- import { n as padding, r as space, t as margin } from "./index-cXURIs6r.cjs";
9
- import { t as layout } from "./index-C_CRcytY.cjs";
10
- import { t as typography } from "./index-D3lp-1cf.cjs";
11
- import { t as position } from "./index-CAwPEtqy.cjs";
12
- import { t as shadow } from "./index-QsPFe11Z.cjs";
13
- import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-BArxeLmS.cjs";
2
+ import { t as background } from "./index-ogIIkqhV.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-BEHYHdIq.cjs";
4
+ import { t as border } from "./index-DFHqxqDI.cjs";
5
+ import { t as color } from "./index-KOeCRVqs.cjs";
6
+ import { t as flexbox } from "./index-C0U26AuK.cjs";
7
+ import { t as grid } from "./index-CSiiNuwr.cjs";
8
+ import { i as space, n as margin, r as padding, t as gap } from "./index-BhQrpfIN.cjs";
9
+ import { t as layout } from "./index-Br4itelo.cjs";
10
+ import { t as typography } from "./index-DPZut54X.cjs";
11
+ import { t as position } from "./index-Lx-0Fn6T.cjs";
12
+ import { t as shadow } from "./index-BwOWcSgh.cjs";
13
+ import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-BB5onzAO.cjs";
14
14
  //#region src/style/style.d.ts
15
15
  interface StyleOptions {
16
16
  prop: string;
@@ -53,6 +53,8 @@ declare const textDecorationStyle: Parser;
53
53
  declare const textDecorationThickness: Parser;
54
54
  declare const textDecorationColor: Parser;
55
55
  declare const letterSpacing: Parser;
56
+ declare const whiteSpace: Parser;
57
+ declare const textOverflow: Parser;
56
58
  declare const alignItems: Parser;
57
59
  declare const alignContent: Parser;
58
60
  declare const justifyItems: Parser;
@@ -96,4 +98,4 @@ declare const right: Parser;
96
98
  declare const bottom: Parser;
97
99
  declare const left: Parser;
98
100
  //#endregion
99
- export { AlignContentProps, AlignItemsProps, AlignSelfProps, BackgroundColorProps, BackgroundImageProps, BackgroundPositionProps, BackgroundProps, BackgroundRepeatProps, BackgroundSizeProps, BorderBottomProps, BorderColorProps, BorderLeftProps, BorderProps, BorderRadiusProps, BorderRightProps, BorderStyleProps, BorderTopProps, BorderWidthProps, BottomProps, BoxShadowProps, ButtonStyleProps, ColorProps, ColorStyleProps, type Config, type ConfigFunction, type ConfigStyle, DisplayProps, FlexBasisProps, FlexDirectionProps, FlexGrowProps, FlexProps, FlexShrinkProps, FlexWrapProps, FlexboxProps, FontFamilyProps, FontSizeProps, FontStyleProps, FontWeightProps, GridAreaProps, GridAutoColumnsProps, GridAutoFlowProps, GridAutoRowsProps, GridColumnGapProps, GridColumnProps, GridGapProps, GridProps, GridRowGapProps, GridRowProps, GridTemplateAreasProps, GridTemplateColumnsProps, GridTemplateRowsProps, HeightProps, JustifyContentProps, JustifyItemsProps, JustifySelfProps, LayoutProps, LeftProps, LetterSpacingProps, LineHeightProps, type LowLevelStyleFunctionArguments, MarginProps, MaxHeightProps, MaxWidthProps, MinHeightProps, MinWidthProps, ObjectOrArray, OpacityProps, OrderProps, OverflowProps, PaddingProps, type Parser, type ParserConfig, PositionProps, type Props, RequiredTheme, ResponsiveValue, RightProps, Scale, ShadowProps, SizeProps, SpaceProps, type StyleFn, type StyleObject, type StyleOptions, type SystemConfig, TLengthStyledSystem, TextAlignLastProps, TextAlignProps, TextColorProps, TextDecorationColorProps, TextDecorationLineProps, TextDecorationProps, TextDecorationStyleProps, TextDecorationThicknessProps, TextShadowProps, TextStyleProps, TextTransformProps, Theme, ThemeValue, TopProps, type Transform, TypographyProps, type VariantArgs, type VariantOptions, VerticalAlignProps, 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, buttonStyle, color, colorStyle, compose, createParser, createStyleFunction, display, flex, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, flexbox, fontFamily, fontSize, fontStyle, fontWeight, get, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnGap, gridGap, gridRow, gridRowGap, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, height, justifyContent, justifyItems, justifySelf, layout, left, letterSpacing, lineHeight, margin, maxHeight, maxWidth, minHeight, minWidth, opacity, order, overflow, overflowX, overflowY, padding, position, right, size, space, style, type styleFn, system, textAlign, textAlignLast, textDecoration, textDecorationColor, textDecorationLine, textDecorationStyle, textDecorationThickness, textStyle, textTransform, top, typography, variant, verticalAlign, width, zIndex };
101
+ export { AlignContentProps, AlignItemsProps, AlignSelfProps, AspectRatioProps, BackgroundColorProps, BackgroundImageProps, BackgroundPositionProps, BackgroundProps, BackgroundRepeatProps, BackgroundSizeProps, BorderBottomProps, BorderColorProps, BorderLeftProps, BorderProps, BorderRadiusProps, BorderRightProps, BorderStyleProps, BorderTopProps, BorderWidthProps, BottomProps, BoxShadowProps, ButtonStyleProps, ColorProps, ColorStyleProps, ColumnGapProps, type Config, type ConfigFunction, type ConfigStyle, 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, LayoutProps, LeftProps, LetterSpacingProps, LineHeightProps, type LowLevelStyleFunctionArguments, MarginProps, MaxHeightProps, MaxWidthProps, MinHeightProps, MinWidthProps, ObjectOrArray, OpacityProps, OrderProps, OverflowProps, PaddingProps, type Parser, type ParserConfig, PositionProps, type Props, RequiredTheme, ResponsiveValue, RightProps, RowGapProps, Scale, ShadowProps, SizeProps, SpaceProps, 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, buttonStyle, color, colorStyle, compose, 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, left, letterSpacing, lineHeight, margin, maxHeight, maxWidth, minHeight, minWidth, opacity, order, overflow, overflowX, overflowY, padding, position, right, size, space, 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,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-DPElfVnc.mjs";
3
- import { $ as LayoutProps, A as FlexWrapProps, At as TextShadowProps, B as GridColumnGapProps, C as ColorStyleProps, Ct as TextAlignProps, D as FlexGrowProps, Dt as TextDecorationProps, E as FlexDirectionProps, Et as TextDecorationLineProps, F as FontWeightProps, Ft as TopProps, G as GridRowProps, H as GridGapProps, I as GridAreaProps, It as TypographyProps, J as GridTemplateRowsProps, K as GridTemplateAreasProps, L as GridAutoColumnsProps, Lt as VerticalAlignProps, M as FontFamilyProps, Mt as TextTransformProps, N as FontSizeProps, Nt as Theme, O as FlexProps, Ot as TextDecorationStyleProps, P as FontStyleProps, Pt as ThemeValue, Q as JustifySelfProps, R as GridAutoFlowProps, Rt as WidthProps, S as ColorProps, St as TextAlignLastProps, T as FlexBasisProps, Tt as TextDecorationColorProps, U as GridProps, V as GridColumnProps, W as GridRowGapProps, X as JustifyContentProps, Y as HeightProps, Z as JustifyItemsProps, _ as BorderTopProps, _t as Scale, a as BackgroundImageProps, at as MaxWidthProps, b as BoxShadowProps, bt as SpaceProps, c as BackgroundRepeatProps, ct as ObjectOrArray, d as BorderColorProps, dt as OverflowProps, et as LeftProps, f as BorderLeftProps, ft as PaddingProps, g as BorderStyleProps, gt as RightProps, h as BorderRightProps, ht as ResponsiveValue, i as BackgroundColorProps, it as MaxHeightProps, j as FlexboxProps, jt as TextStyleProps, k as FlexShrinkProps, kt as TextDecorationThicknessProps, l as BackgroundSizeProps, lt as OpacityProps, m as BorderRadiusProps, mt as RequiredTheme, n as AlignItemsProps, nt as LineHeightProps, o as BackgroundPositionProps, ot as MinHeightProps, p as BorderProps, pt as PositionProps, q as GridTemplateColumnsProps, r as AlignSelfProps, rt as MarginProps, s as BackgroundProps, st as MinWidthProps, t as AlignContentProps, tt as LetterSpacingProps, u as BorderBottomProps, ut as OrderProps, v as BorderWidthProps, vt as ShadowProps, w as DisplayProps, wt as TextColorProps, x as ButtonStyleProps, xt as TLengthStyledSystem, y as BottomProps, yt as SizeProps, z as GridAutoRowsProps, zt as ZIndexProps } from "./types-BcPNeOu9.mjs";
4
- import { t as border } from "./index-DQVt2B8L.mjs";
5
- import { t as color } from "./index-T0HR3aLX.mjs";
6
- import { t as flexbox } from "./index-DCva7aHv.mjs";
7
- import { t as grid } from "./index-VEj6m-by.mjs";
8
- import { n as padding, r as space, t as margin } from "./index-DGqSJkFh.mjs";
9
- import { t as layout } from "./index-CVY-wfFH.mjs";
10
- import { t as typography } from "./index-C0pw8Qd2.mjs";
11
- import { t as position } from "./index-DC9UrOgS.mjs";
12
- import { t as shadow } from "./index-CMBI9D0A.mjs";
13
- import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-QdL-_E8w.mjs";
2
+ import { t as background } from "./index-Dj0F79Bp.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-BEHYHdIq.mjs";
4
+ import { t as border } from "./index-P5vy3lm4.mjs";
5
+ import { t as color } from "./index-BxEj-sWN.mjs";
6
+ import { t as flexbox } from "./index-CLPj_nlH.mjs";
7
+ import { t as grid } from "./index-CA8D2_fO.mjs";
8
+ import { i as space, n as margin, r as padding, t as gap } from "./index-BIbimgdO.mjs";
9
+ import { t as layout } from "./index-C4mjv3ia.mjs";
10
+ import { t as typography } from "./index-Brk7KoTW.mjs";
11
+ import { t as position } from "./index-6v6ZPLqN.mjs";
12
+ import { t as shadow } from "./index-C-ZUVzJ7.mjs";
13
+ import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-lMfmNFGL.mjs";
14
14
  //#region src/style/style.d.ts
15
15
  interface StyleOptions {
16
16
  prop: string;
@@ -53,6 +53,8 @@ declare const textDecorationStyle: Parser;
53
53
  declare const textDecorationThickness: Parser;
54
54
  declare const textDecorationColor: Parser;
55
55
  declare const letterSpacing: Parser;
56
+ declare const whiteSpace: Parser;
57
+ declare const textOverflow: Parser;
56
58
  declare const alignItems: Parser;
57
59
  declare const alignContent: Parser;
58
60
  declare const justifyItems: Parser;
@@ -96,4 +98,4 @@ declare const right: Parser;
96
98
  declare const bottom: Parser;
97
99
  declare const left: Parser;
98
100
  //#endregion
99
- export { AlignContentProps, AlignItemsProps, AlignSelfProps, BackgroundColorProps, BackgroundImageProps, BackgroundPositionProps, BackgroundProps, BackgroundRepeatProps, BackgroundSizeProps, BorderBottomProps, BorderColorProps, BorderLeftProps, BorderProps, BorderRadiusProps, BorderRightProps, BorderStyleProps, BorderTopProps, BorderWidthProps, BottomProps, BoxShadowProps, ButtonStyleProps, ColorProps, ColorStyleProps, type Config, type ConfigFunction, type ConfigStyle, DisplayProps, FlexBasisProps, FlexDirectionProps, FlexGrowProps, FlexProps, FlexShrinkProps, FlexWrapProps, FlexboxProps, FontFamilyProps, FontSizeProps, FontStyleProps, FontWeightProps, GridAreaProps, GridAutoColumnsProps, GridAutoFlowProps, GridAutoRowsProps, GridColumnGapProps, GridColumnProps, GridGapProps, GridProps, GridRowGapProps, GridRowProps, GridTemplateAreasProps, GridTemplateColumnsProps, GridTemplateRowsProps, HeightProps, JustifyContentProps, JustifyItemsProps, JustifySelfProps, LayoutProps, LeftProps, LetterSpacingProps, LineHeightProps, type LowLevelStyleFunctionArguments, MarginProps, MaxHeightProps, MaxWidthProps, MinHeightProps, MinWidthProps, ObjectOrArray, OpacityProps, OrderProps, OverflowProps, PaddingProps, type Parser, type ParserConfig, PositionProps, type Props, RequiredTheme, ResponsiveValue, RightProps, Scale, ShadowProps, SizeProps, SpaceProps, type StyleFn, type StyleObject, type StyleOptions, type SystemConfig, TLengthStyledSystem, TextAlignLastProps, TextAlignProps, TextColorProps, TextDecorationColorProps, TextDecorationLineProps, TextDecorationProps, TextDecorationStyleProps, TextDecorationThicknessProps, TextShadowProps, TextStyleProps, TextTransformProps, Theme, ThemeValue, TopProps, type Transform, TypographyProps, type VariantArgs, type VariantOptions, VerticalAlignProps, 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, buttonStyle, color, colorStyle, compose, createParser, createStyleFunction, display, flex, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, flexbox, fontFamily, fontSize, fontStyle, fontWeight, get, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnGap, gridGap, gridRow, gridRowGap, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, height, justifyContent, justifyItems, justifySelf, layout, left, letterSpacing, lineHeight, margin, maxHeight, maxWidth, minHeight, minWidth, opacity, order, overflow, overflowX, overflowY, padding, position, right, size, space, style, type styleFn, system, textAlign, textAlignLast, textDecoration, textDecorationColor, textDecorationLine, textDecorationStyle, textDecorationThickness, textStyle, textTransform, top, typography, variant, verticalAlign, width, zIndex };
101
+ export { AlignContentProps, AlignItemsProps, AlignSelfProps, AspectRatioProps, BackgroundColorProps, BackgroundImageProps, BackgroundPositionProps, BackgroundProps, BackgroundRepeatProps, BackgroundSizeProps, BorderBottomProps, BorderColorProps, BorderLeftProps, BorderProps, BorderRadiusProps, BorderRightProps, BorderStyleProps, BorderTopProps, BorderWidthProps, BottomProps, BoxShadowProps, ButtonStyleProps, ColorProps, ColorStyleProps, ColumnGapProps, type Config, type ConfigFunction, type ConfigStyle, 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, LayoutProps, LeftProps, LetterSpacingProps, LineHeightProps, type LowLevelStyleFunctionArguments, MarginProps, MaxHeightProps, MaxWidthProps, MinHeightProps, MinWidthProps, ObjectOrArray, OpacityProps, OrderProps, OverflowProps, PaddingProps, type Parser, type ParserConfig, PositionProps, type Props, RequiredTheme, ResponsiveValue, RightProps, RowGapProps, Scale, ShadowProps, SizeProps, SpaceProps, 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, buttonStyle, color, colorStyle, compose, 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, left, letterSpacing, lineHeight, margin, maxHeight, maxWidth, minHeight, minWidth, opacity, order, overflow, overflowX, overflowY, padding, position, right, size, space, 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,10 +4,10 @@ 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
6
  import { t as grid } from "./grid-Bpk-QjhF.mjs";
7
- import { t as layout } from "./layout-Dx0Un_6l.mjs";
7
+ import { t as layout } from "./layout-lG3i5mWZ.mjs";
8
8
  import { t as position } from "./position-jf6VlRyR.mjs";
9
- import { t as typography } from "./typography-CCYBDjpD.mjs";
10
- import { n as padding, r as space, t as margin } from "./space-DEf9-0r9.mjs";
9
+ import { t as typography } from "./typography-p6qWP6Px.mjs";
10
+ import { i as space, n as margin, r as padding, t as gap } from "./space-Df3n3G6a.mjs";
11
11
  import { t as shadow } from "./shadow-Bp7lx_41.mjs";
12
12
  import { i as variant, n as colorStyle, r as textStyle, t as buttonStyle } from "./variant-NupmzzRg.mjs";
13
13
  //#region src/style/style.ts
@@ -54,6 +54,8 @@ const textDecorationStyle = typographyFns.textDecorationStyle;
54
54
  const textDecorationThickness = typographyFns.textDecorationThickness;
55
55
  const textDecorationColor = typographyFns.textDecorationColor;
56
56
  const letterSpacing = typographyFns.letterSpacing;
57
+ const whiteSpace = typographyFns.whiteSpace;
58
+ const textOverflow = typographyFns.textOverflow;
57
59
  const flexboxFns = flexbox;
58
60
  const alignItems = flexboxFns.alignItems;
59
61
  const alignContent = flexboxFns.alignContent;
@@ -102,4 +104,4 @@ const right = positionFns.right;
102
104
  const bottom = positionFns.bottom;
103
105
  const left = positionFns.left;
104
106
  //#endregion
105
- 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, buttonStyle, color, colorStyle, compose, createParser, createStyleFunction, display, flex, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, flexbox, fontFamily, fontSize, fontStyle, fontWeight, get, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnGap, gridGap, gridRow, gridRowGap, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, height, justifyContent, justifyItems, justifySelf, layout, left, letterSpacing, lineHeight, margin, maxHeight, maxWidth, minHeight, minWidth, opacity, order, overflow, overflowX, overflowY, padding, position, right, size, space, style, system, textAlign, textAlignLast, textDecoration, textDecorationColor, textDecorationLine, textDecorationStyle, textDecorationThickness, textStyle, textTransform, top, typography, variant, verticalAlign, width, zIndex };
107
+ 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, buttonStyle, color, colorStyle, compose, 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, left, letterSpacing, lineHeight, margin, maxHeight, maxWidth, minHeight, minWidth, opacity, order, overflow, overflowX, overflowY, padding, position, right, size, space, style, system, textAlign, textAlignLast, textDecoration, textDecorationColor, textDecorationLine, textDecorationStyle, textDecorationThickness, textOverflow, textStyle, textTransform, top, typography, variant, verticalAlign, whiteSpace, width, zIndex };
@@ -36,7 +36,8 @@ const config = {
36
36
  overflowX: true,
37
37
  overflowY: true,
38
38
  display: true,
39
- verticalAlign: true
39
+ verticalAlign: true,
40
+ aspectRatio: true
40
41
  };
41
42
  const layout = require_core.system(config);
42
43
  //#endregion
@@ -36,7 +36,8 @@ const layout = system({
36
36
  overflowX: true,
37
37
  overflowY: true,
38
38
  display: true,
39
- verticalAlign: true
39
+ verticalAlign: true,
40
+ aspectRatio: true
40
41
  });
41
42
  //#endregion
42
43
  export { layout as t };
package/dist/layout.cjs CHANGED
@@ -2,6 +2,6 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_layout = require("./layout-JlwVxg8y.cjs");
5
+ const require_layout = require("./layout-kqQ2OsL5.cjs");
6
6
  exports.default = require_layout.layout;
7
7
  exports.layout = require_layout.layout;
package/dist/layout.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as LayoutProps, Lt as VerticalAlignProps, Rt as WidthProps, Y as HeightProps, at as MaxWidthProps, dt as OverflowProps, it as MaxHeightProps, ot as MinHeightProps, st as MinWidthProps, w as DisplayProps, yt as SizeProps } from "./types-BcPNeOu9.cjs";
2
- import { t as layout } from "./index-C_CRcytY.cjs";
3
- export { type DisplayProps, type HeightProps, type LayoutProps, type MaxHeightProps, type MaxWidthProps, type MinHeightProps, type MinWidthProps, type OverflowProps, type SizeProps, type VerticalAlignProps, type WidthProps, layout as default, layout };
1
+ 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-BEHYHdIq.cjs";
2
+ import { t as layout } from "./index-Br4itelo.cjs";
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 { $ as LayoutProps, Lt as VerticalAlignProps, Rt as WidthProps, Y as HeightProps, at as MaxWidthProps, dt as OverflowProps, it as MaxHeightProps, ot as MinHeightProps, st as MinWidthProps, w as DisplayProps, yt as SizeProps } from "./types-BcPNeOu9.mjs";
2
- import { t as layout } from "./index-CVY-wfFH.mjs";
3
- export { type DisplayProps, type HeightProps, type LayoutProps, type MaxHeightProps, type MaxWidthProps, type MinHeightProps, type MinWidthProps, type OverflowProps, type SizeProps, type VerticalAlignProps, type WidthProps, layout as default, layout };
1
+ 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-BEHYHdIq.mjs";
2
+ import { t as layout } from "./index-C4mjv3ia.mjs";
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.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { t as layout } from "./layout-Dx0Un_6l.mjs";
1
+ import { t as layout } from "./layout-lG3i5mWZ.mjs";
2
2
  export { layout as default, layout };
@@ -1,3 +1,3 @@
1
- import { Ft as TopProps, et as LeftProps, gt as RightProps, pt as PositionProps, y as BottomProps, zt as ZIndexProps } from "./types-BcPNeOu9.cjs";
2
- import { t as position } from "./index-CAwPEtqy.cjs";
1
+ import { Bt as TopProps, Gt as ZIndexProps, b as BottomProps, gt as PositionProps, rt as LeftProps, yt as RightProps } from "./types-BEHYHdIq.cjs";
2
+ import { t as position } from "./index-Lx-0Fn6T.cjs";
3
3
  export { type BottomProps, type LeftProps, type PositionProps, type RightProps, type TopProps, type ZIndexProps, position as default, position };
@@ -1,3 +1,3 @@
1
- import { Ft as TopProps, et as LeftProps, gt as RightProps, pt as PositionProps, y as BottomProps, zt as ZIndexProps } from "./types-BcPNeOu9.mjs";
2
- import { t as position } from "./index-DC9UrOgS.mjs";
1
+ import { Bt as TopProps, Gt as ZIndexProps, b as BottomProps, gt as PositionProps, rt as LeftProps, yt as RightProps } from "./types-BEHYHdIq.mjs";
2
+ import { t as position } from "./index-6v6ZPLqN.mjs";
3
3
  export { type BottomProps, type LeftProps, type PositionProps, type RightProps, type TopProps, type ZIndexProps, position as default, position };
@@ -4,10 +4,10 @@ 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
6
  const require_grid = require("./grid-CpvRIng4.cjs");
7
- const require_layout = require("./layout-JlwVxg8y.cjs");
7
+ const require_layout = require("./layout-kqQ2OsL5.cjs");
8
8
  const require_position = require("./position-zWvCE4hD.cjs");
9
- const require_typography = require("./typography-DHWhpnqa.cjs");
10
- const require_space = require("./space-CAX_62yL.cjs");
9
+ const require_typography = require("./typography-7jHZXqtc.cjs");
10
+ const require_space = require("./space-Q-1mECZz.cjs");
11
11
  const require_shadow = require("./shadow-BrDnaQQl.cjs");
12
12
  const require_variant = require("./variant-BSwNEY5l.cjs");
13
13
  //#region src/presets/presets.ts
@@ -4,10 +4,10 @@ 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
6
  import { t as grid } from "./grid-Bpk-QjhF.mjs";
7
- import { t as layout } from "./layout-Dx0Un_6l.mjs";
7
+ import { t as layout } from "./layout-lG3i5mWZ.mjs";
8
8
  import { t as position } from "./position-jf6VlRyR.mjs";
9
- import { t as typography } from "./typography-CCYBDjpD.mjs";
10
- import { r as space } from "./space-DEf9-0r9.mjs";
9
+ import { t as typography } from "./typography-p6qWP6Px.mjs";
10
+ import { i as space } from "./space-Df3n3G6a.mjs";
11
11
  import { t as shadow } from "./shadow-Bp7lx_41.mjs";
12
12
  import { n as colorStyle, r as textStyle, t as buttonStyle } from "./variant-NupmzzRg.mjs";
13
13
  //#region src/presets/presets.ts
@@ -2,16 +2,16 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_rolldown_runtime = require("./rolldown-runtime-D6vf50IK.cjs");
5
+ const require_rolldown_runtime = require("./rolldown-runtime-VH7oDXx4.cjs");
6
6
  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
10
  const require_grid = require("./grid-CpvRIng4.cjs");
11
- const require_layout = require("./layout-JlwVxg8y.cjs");
11
+ const require_layout = require("./layout-kqQ2OsL5.cjs");
12
12
  const require_position = require("./position-zWvCE4hD.cjs");
13
- const require_typography = require("./typography-DHWhpnqa.cjs");
14
- const require_space = require("./space-CAX_62yL.cjs");
13
+ const require_typography = require("./typography-7jHZXqtc.cjs");
14
+ const require_space = require("./space-Q-1mECZz.cjs");
15
15
  const require_shadow = require("./shadow-BrDnaQQl.cjs");
16
16
  const require_variant = require("./variant-BSwNEY5l.cjs");
17
17
  let prop_types = require("prop-types");
@@ -3,10 +3,10 @@ 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
5
  import { t as grid } from "./grid-Bpk-QjhF.mjs";
6
- import { t as layout } from "./layout-Dx0Un_6l.mjs";
6
+ import { t as layout } from "./layout-lG3i5mWZ.mjs";
7
7
  import { t as position } from "./position-jf6VlRyR.mjs";
8
- import { t as typography } from "./typography-CCYBDjpD.mjs";
9
- import { r as space } from "./space-DEf9-0r9.mjs";
8
+ import { t as typography } from "./typography-p6qWP6Px.mjs";
9
+ import { i as space } from "./space-Df3n3G6a.mjs";
10
10
  import { t as shadow } from "./shadow-Bp7lx_41.mjs";
11
11
  import { n as colorStyle, r as textStyle, t as buttonStyle } from "./variant-NupmzzRg.mjs";
12
12
  import PropTypes from "prop-types";
package/dist/props.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_presets = require("./presets-B971SnR8.cjs");
2
+ const require_presets = require("./presets-B2nFh_Zn.cjs");
3
3
  //#region src/props/props.ts
4
4
  const styledSystemProps = new Set(require_presets.all.propNames);
5
5
  const omit = (props) => {
package/dist/props.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as all } from "./presets-Ch4IJvkJ.mjs";
1
+ import { t as all } from "./presets-Dg3yjRZU.mjs";
2
2
  //#region src/props/props.ts
3
3
  const styledSystemProps = new Set(all.propNames);
4
4
  const omit = (props) => {
@@ -15,7 +15,7 @@ var __copyProps = (to, from, except, desc) => {
15
15
  }
16
16
  return to;
17
17
  };
18
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
19
19
  value: mod,
20
20
  enumerable: true
21
21
  }) : target, mod));
package/dist/shadow.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { At as TextShadowProps, b as BoxShadowProps, vt as ShadowProps } from "./types-BcPNeOu9.cjs";
2
- import { t as shadow } from "./index-QsPFe11Z.cjs";
1
+ import { Ft as TextShadowProps, St as ShadowProps, x as BoxShadowProps } from "./types-BEHYHdIq.cjs";
2
+ import { t as shadow } from "./index-BwOWcSgh.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 { At as TextShadowProps, b as BoxShadowProps, vt as ShadowProps } from "./types-BcPNeOu9.mjs";
2
- import { t as shadow } from "./index-CMBI9D0A.mjs";
1
+ import { Ft as TextShadowProps, St as ShadowProps, x as BoxShadowProps } from "./types-BEHYHdIq.mjs";
2
+ import { t as shadow } from "./index-C-ZUVzJ7.mjs";
3
3
  export { type BoxShadowProps, type ShadowProps, type TextShadowProps, shadow as default, shadow };
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_rolldown_runtime = require("./rolldown-runtime-D6vf50IK.cjs");
6
- const require_presets = require("./presets-B971SnR8.cjs");
5
+ const require_rolldown_runtime = require("./rolldown-runtime-VH7oDXx4.cjs");
6
+ const require_presets = require("./presets-B2nFh_Zn.cjs");
7
7
  let _emotion_is_prop_valid = require("@emotion/is-prop-valid");
8
8
  _emotion_is_prop_valid = require_rolldown_runtime.__toESM(_emotion_is_prop_valid, 1);
9
9
  //#region src/should-forward-prop/should-forward-prop.ts
@@ -1,4 +1,4 @@
1
- import { t as all } from "./presets-Ch4IJvkJ.mjs";
1
+ import { t as all } from "./presets-Dg3yjRZU.mjs";
2
2
  import isPropValid from "@emotion/is-prop-valid";
3
3
  //#region src/should-forward-prop/should-forward-prop.ts
4
4
  const memoize = (fn) => {
@@ -115,8 +115,26 @@ paddingConfig.pb = paddingConfig.paddingBottom;
115
115
  paddingConfig.pl = paddingConfig.paddingLeft;
116
116
  paddingConfig.px = paddingConfig.paddingX;
117
117
  paddingConfig.py = paddingConfig.paddingY;
118
+ const gapConfig = {
119
+ gap: {
120
+ property: "gap",
121
+ scale: "space",
122
+ defaultScale: spaceScale
123
+ },
124
+ rowGap: {
125
+ property: "rowGap",
126
+ scale: "space",
127
+ defaultScale: spaceScale
128
+ },
129
+ columnGap: {
130
+ property: "columnGap",
131
+ scale: "space",
132
+ defaultScale: spaceScale
133
+ }
134
+ };
118
135
  const margin = system(marginConfig);
119
136
  const padding = system(paddingConfig);
120
- const space = compose(margin, padding);
137
+ const gap = system(gapConfig);
138
+ const space = compose(margin, padding, gap);
121
139
  //#endregion
122
- export { padding as n, space as r, margin as t };
140
+ export { space as i, margin as n, padding as r, gap as t };
@@ -115,10 +115,34 @@ paddingConfig.pb = paddingConfig.paddingBottom;
115
115
  paddingConfig.pl = paddingConfig.paddingLeft;
116
116
  paddingConfig.px = paddingConfig.paddingX;
117
117
  paddingConfig.py = paddingConfig.paddingY;
118
+ const gapConfig = {
119
+ gap: {
120
+ property: "gap",
121
+ scale: "space",
122
+ defaultScale: spaceScale
123
+ },
124
+ rowGap: {
125
+ property: "rowGap",
126
+ scale: "space",
127
+ defaultScale: spaceScale
128
+ },
129
+ columnGap: {
130
+ property: "columnGap",
131
+ scale: "space",
132
+ defaultScale: spaceScale
133
+ }
134
+ };
118
135
  const margin = require_core.system(marginConfig);
119
136
  const padding = require_core.system(paddingConfig);
120
- const space = require_core.compose(margin, padding);
137
+ const gap = require_core.system(gapConfig);
138
+ const space = require_core.compose(margin, padding, gap);
121
139
  //#endregion
140
+ Object.defineProperty(exports, "gap", {
141
+ enumerable: true,
142
+ get: function() {
143
+ return gap;
144
+ }
145
+ });
122
146
  Object.defineProperty(exports, "margin", {
123
147
  enumerable: true,
124
148
  get: function() {
package/dist/space.cjs CHANGED
@@ -2,8 +2,9 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_space = require("./space-CAX_62yL.cjs");
5
+ const require_space = require("./space-Q-1mECZz.cjs");
6
6
  exports.default = require_space.space;
7
+ exports.gap = require_space.gap;
7
8
  exports.margin = require_space.margin;
8
9
  exports.padding = require_space.padding;
9
10
  exports.space = require_space.space;
package/dist/space.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { bt as SpaceProps, ft as PaddingProps, rt as MarginProps } from "./types-BcPNeOu9.cjs";
2
- import { n as padding, r as space, t as margin } from "./index-cXURIs6r.cjs";
3
- export { type MarginProps, type PaddingProps, type SpaceProps, space as default, space, margin, padding };
1
+ import { R as GapProps, T as ColumnGapProps, bt as RowGapProps, ht as PaddingProps, ot as MarginProps, wt as SpaceProps } from "./types-BEHYHdIq.cjs";
2
+ import { i as space, n as margin, r as padding, t as gap } from "./index-BhQrpfIN.cjs";
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 { bt as SpaceProps, ft as PaddingProps, rt as MarginProps } from "./types-BcPNeOu9.mjs";
2
- import { n as padding, r as space, t as margin } from "./index-DGqSJkFh.mjs";
3
- export { type MarginProps, type PaddingProps, type SpaceProps, space as default, space, margin, padding };
1
+ import { R as GapProps, T as ColumnGapProps, bt as RowGapProps, ht as PaddingProps, ot as MarginProps, wt as SpaceProps } from "./types-BEHYHdIq.mjs";
2
+ import { i as space, n as margin, r as padding, t as gap } from "./index-BIbimgdO.mjs";
3
+ export { type ColumnGapProps, type GapProps, type MarginProps, type PaddingProps, type RowGapProps, type SpaceProps, space as default, space, gap, margin, padding };
package/dist/space.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { n as padding, r as space, t as margin } from "./space-DEf9-0r9.mjs";
2
- export { space as default, space, margin, padding };
1
+ import { i as space, n as margin, r as padding, t as gap } from "./space-Df3n3G6a.mjs";
2
+ export { space as default, space, gap, margin, padding };
@@ -61,7 +61,19 @@ interface PaddingProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValu
61
61
  py?: ResponsiveValue<TVal, ThemeType>;
62
62
  paddingY?: ResponsiveValue<TVal, ThemeType>;
63
63
  }
64
- interface SpaceProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> extends MarginProps<ThemeType, TVal>, PaddingProps<ThemeType, TVal> {}
64
+ /** Not in upstream styled-system — it only ever scaled the grid-prefixed gaps. */
65
+ interface GapProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
66
+ gap?: ResponsiveValue<TVal, ThemeType>;
67
+ }
68
+ /** Not in upstream styled-system — it only ever scaled the grid-prefixed gaps. */
69
+ interface RowGapProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
70
+ rowGap?: ResponsiveValue<TVal, ThemeType>;
71
+ }
72
+ /** Not in upstream styled-system — it only ever scaled the grid-prefixed gaps. */
73
+ interface ColumnGapProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
74
+ columnGap?: ResponsiveValue<TVal, ThemeType>;
75
+ }
76
+ interface SpaceProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> extends MarginProps<ThemeType, TVal>, PaddingProps<ThemeType, TVal>, GapProps<ThemeType, TVal>, RowGapProps<ThemeType, TVal>, ColumnGapProps<ThemeType, TVal> {}
65
77
  interface WidthProps<ThemeType extends Theme = RequiredTheme, TVal = CSS.Property.Width<TLengthStyledSystem>> {
66
78
  width?: ResponsiveValue<TVal, ThemeType>;
67
79
  }
@@ -94,7 +106,11 @@ interface OverflowProps<ThemeType extends Theme = RequiredTheme> {
94
106
  interface VerticalAlignProps<ThemeType extends Theme = RequiredTheme, TVal = CSS.Property.VerticalAlign<TLengthStyledSystem>> {
95
107
  verticalAlign?: ResponsiveValue<TVal, ThemeType>;
96
108
  }
97
- interface LayoutProps<ThemeType extends Theme = RequiredTheme> extends WidthProps<ThemeType>, HeightProps<ThemeType>, MinWidthProps<ThemeType>, MinHeightProps<ThemeType>, MaxWidthProps<ThemeType>, MaxHeightProps<ThemeType>, DisplayProps<ThemeType>, VerticalAlignProps<ThemeType>, SizeProps<ThemeType>, OverflowProps<ThemeType> {}
109
+ /** Not in upstream styled-system — its last release predates CSS `aspect-ratio`. */
110
+ interface AspectRatioProps<ThemeType extends Theme = RequiredTheme> {
111
+ aspectRatio?: ResponsiveValue<CSS.Property.AspectRatio, ThemeType>;
112
+ }
113
+ interface LayoutProps<ThemeType extends Theme = RequiredTheme> extends WidthProps<ThemeType>, HeightProps<ThemeType>, MinWidthProps<ThemeType>, MinHeightProps<ThemeType>, MaxWidthProps<ThemeType>, MaxHeightProps<ThemeType>, DisplayProps<ThemeType>, VerticalAlignProps<ThemeType>, AspectRatioProps<ThemeType>, SizeProps<ThemeType>, OverflowProps<ThemeType> {}
98
114
  interface FontFamilyProps<ThemeType extends Theme = RequiredTheme> {
99
115
  fontFamily?: ResponsiveValue<CSS.Property.FontFamily, ThemeType>;
100
116
  }
@@ -137,7 +153,13 @@ interface TextDecorationThicknessProps<ThemeType extends Theme = RequiredTheme,
137
153
  interface TextDecorationColorProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'colors', ThemeType>> {
138
154
  textDecorationColor?: ResponsiveValue<TVal, ThemeType>;
139
155
  }
140
- interface TypographyProps<ThemeType extends Theme = RequiredTheme> extends FontFamilyProps<ThemeType>, FontSizeProps<ThemeType>, FontWeightProps<ThemeType>, LineHeightProps<ThemeType>, LetterSpacingProps<ThemeType>, FontStyleProps<ThemeType>, TextAlignProps<ThemeType>, TextTransformProps<ThemeType>, TextAlignLastProps<ThemeType>, TextDecorationProps<ThemeType>, TextDecorationLineProps<ThemeType>, TextDecorationStyleProps<ThemeType>, TextDecorationThicknessProps<ThemeType>, TextDecorationColorProps<ThemeType> {}
156
+ interface WhiteSpaceProps<ThemeType extends Theme = RequiredTheme> {
157
+ whiteSpace?: ResponsiveValue<CSS.Property.WhiteSpace, ThemeType>;
158
+ }
159
+ interface TextOverflowProps<ThemeType extends Theme = RequiredTheme> {
160
+ textOverflow?: ResponsiveValue<CSS.Property.TextOverflow, ThemeType>;
161
+ }
162
+ interface TypographyProps<ThemeType extends Theme = RequiredTheme> extends FontFamilyProps<ThemeType>, FontSizeProps<ThemeType>, FontWeightProps<ThemeType>, LineHeightProps<ThemeType>, LetterSpacingProps<ThemeType>, FontStyleProps<ThemeType>, TextAlignProps<ThemeType>, TextTransformProps<ThemeType>, TextAlignLastProps<ThemeType>, TextDecorationProps<ThemeType>, TextDecorationLineProps<ThemeType>, TextDecorationStyleProps<ThemeType>, TextDecorationThicknessProps<ThemeType>, TextDecorationColorProps<ThemeType>, WhiteSpaceProps<ThemeType>, TextOverflowProps<ThemeType> {}
141
163
  interface AlignItemsProps<ThemeType extends Theme = RequiredTheme> {
142
164
  alignItems?: ResponsiveValue<CSS.Property.AlignItems, ThemeType>;
143
165
  }
@@ -321,4 +343,4 @@ interface ColorStyleProps<ThemeType extends Theme = RequiredTheme> {
321
343
  colors?: ResponsiveValue<string, ThemeType>;
322
344
  }
323
345
  //#endregion
324
- export { LayoutProps as $, FlexWrapProps as A, TextShadowProps as At, GridColumnGapProps as B, ColorStyleProps as C, TextAlignProps as Ct, FlexGrowProps as D, TextDecorationProps as Dt, FlexDirectionProps as E, TextDecorationLineProps as Et, FontWeightProps as F, TopProps as Ft, GridRowProps as G, GridGapProps as H, GridAreaProps as I, TypographyProps as It, GridTemplateRowsProps as J, GridTemplateAreasProps as K, GridAutoColumnsProps as L, VerticalAlignProps as Lt, FontFamilyProps as M, TextTransformProps as Mt, FontSizeProps as N, Theme as Nt, FlexProps as O, TextDecorationStyleProps as Ot, FontStyleProps as P, ThemeValue as Pt, JustifySelfProps as Q, GridAutoFlowProps as R, WidthProps as Rt, ColorProps as S, TextAlignLastProps as St, FlexBasisProps as T, TextDecorationColorProps as Tt, GridProps as U, GridColumnProps as V, GridRowGapProps as W, JustifyContentProps as X, HeightProps as Y, JustifyItemsProps as Z, BorderTopProps as _, Scale as _t, BackgroundImageProps as a, MaxWidthProps as at, BoxShadowProps as b, SpaceProps as bt, BackgroundRepeatProps as c, ObjectOrArray as ct, BorderColorProps as d, OverflowProps as dt, LeftProps as et, BorderLeftProps as f, PaddingProps as ft, BorderStyleProps as g, RightProps as gt, BorderRightProps as h, ResponsiveValue as ht, BackgroundColorProps as i, MaxHeightProps as it, FlexboxProps as j, TextStyleProps as jt, FlexShrinkProps as k, TextDecorationThicknessProps as kt, BackgroundSizeProps as l, OpacityProps as lt, BorderRadiusProps as m, RequiredTheme as mt, AlignItemsProps as n, LineHeightProps as nt, BackgroundPositionProps as o, MinHeightProps as ot, BorderProps as p, PositionProps as pt, GridTemplateColumnsProps as q, AlignSelfProps as r, MarginProps as rt, BackgroundProps as s, MinWidthProps as st, AlignContentProps as t, LetterSpacingProps as tt, BorderBottomProps as u, OrderProps as ut, BorderWidthProps as v, ShadowProps as vt, DisplayProps as w, TextColorProps as wt, ButtonStyleProps as x, TLengthStyledSystem as xt, BottomProps as y, SizeProps as yt, GridAutoRowsProps as z, ZIndexProps as zt };
346
+ export { JustifyContentProps as $, FlexProps as A, TextDecorationLineProps as At, GridAutoColumnsProps as B, TopProps as Bt, ColorProps as C, SizeProps as Ct, FlexBasisProps as D, TextAlignProps as Dt, DisplayProps as E, TextAlignLastProps as Et, FontSizeProps as F, TextShadowProps as Ft, GridGapProps as G, ZIndexProps as Gt, GridAutoRowsProps as H, VerticalAlignProps as Ht, FontStyleProps as I, TextStyleProps as It, GridRowProps as J, GridProps as K, FontWeightProps as L, TextTransformProps as Lt, FlexWrapProps as M, TextDecorationStyleProps as Mt, FlexboxProps as N, TextDecorationThicknessProps as Nt, FlexDirectionProps as O, TextColorProps as Ot, FontFamilyProps as P, TextOverflowProps as Pt, HeightProps as Q, GapProps as R, Theme as Rt, ButtonStyleProps as S, ShadowProps as St, ColumnGapProps as T, TLengthStyledSystem as Tt, GridColumnGapProps as U, WhiteSpaceProps as Ut, GridAutoFlowProps as V, TypographyProps as Vt, GridColumnProps as W, WidthProps as Wt, GridTemplateColumnsProps as X, GridTemplateAreasProps as Y, GridTemplateRowsProps as Z, BorderStyleProps as _, RequiredTheme as _t, BackgroundColorProps as a, LineHeightProps as at, BottomProps as b, RowGapProps as bt, BackgroundProps as c, MaxWidthProps as ct, BorderBottomProps as d, ObjectOrArray as dt, JustifyItemsProps as et, BorderColorProps as f, OpacityProps as ft, BorderRightProps as g, PositionProps as gt, BorderRadiusProps as h, PaddingProps as ht, AspectRatioProps as i, LetterSpacingProps as it, FlexShrinkProps as j, TextDecorationProps as jt, FlexGrowProps as k, TextDecorationColorProps as kt, BackgroundRepeatProps as l, MinHeightProps as lt, BorderProps as m, OverflowProps as mt, AlignItemsProps as n, LayoutProps as nt, BackgroundImageProps as o, MarginProps as ot, BorderLeftProps as p, OrderProps as pt, GridRowGapProps as q, AlignSelfProps as r, LeftProps as rt, BackgroundPositionProps as s, MaxHeightProps as st, AlignContentProps as t, JustifySelfProps as tt, BackgroundSizeProps as u, MinWidthProps as ut, BorderTopProps as v, ResponsiveValue as vt, ColorStyleProps as w, SpaceProps as wt, BoxShadowProps as x, Scale as xt, BorderWidthProps as y, RightProps as yt, GridAreaProps as z, ThemeValue as zt };
@@ -61,7 +61,19 @@ interface PaddingProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValu
61
61
  py?: ResponsiveValue<TVal, ThemeType>;
62
62
  paddingY?: ResponsiveValue<TVal, ThemeType>;
63
63
  }
64
- interface SpaceProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> extends MarginProps<ThemeType, TVal>, PaddingProps<ThemeType, TVal> {}
64
+ /** Not in upstream styled-system — it only ever scaled the grid-prefixed gaps. */
65
+ interface GapProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
66
+ gap?: ResponsiveValue<TVal, ThemeType>;
67
+ }
68
+ /** Not in upstream styled-system — it only ever scaled the grid-prefixed gaps. */
69
+ interface RowGapProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
70
+ rowGap?: ResponsiveValue<TVal, ThemeType>;
71
+ }
72
+ /** Not in upstream styled-system — it only ever scaled the grid-prefixed gaps. */
73
+ interface ColumnGapProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
74
+ columnGap?: ResponsiveValue<TVal, ThemeType>;
75
+ }
76
+ interface SpaceProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> extends MarginProps<ThemeType, TVal>, PaddingProps<ThemeType, TVal>, GapProps<ThemeType, TVal>, RowGapProps<ThemeType, TVal>, ColumnGapProps<ThemeType, TVal> {}
65
77
  interface WidthProps<ThemeType extends Theme = RequiredTheme, TVal = CSS.Property.Width<TLengthStyledSystem>> {
66
78
  width?: ResponsiveValue<TVal, ThemeType>;
67
79
  }
@@ -94,7 +106,11 @@ interface OverflowProps<ThemeType extends Theme = RequiredTheme> {
94
106
  interface VerticalAlignProps<ThemeType extends Theme = RequiredTheme, TVal = CSS.Property.VerticalAlign<TLengthStyledSystem>> {
95
107
  verticalAlign?: ResponsiveValue<TVal, ThemeType>;
96
108
  }
97
- interface LayoutProps<ThemeType extends Theme = RequiredTheme> extends WidthProps<ThemeType>, HeightProps<ThemeType>, MinWidthProps<ThemeType>, MinHeightProps<ThemeType>, MaxWidthProps<ThemeType>, MaxHeightProps<ThemeType>, DisplayProps<ThemeType>, VerticalAlignProps<ThemeType>, SizeProps<ThemeType>, OverflowProps<ThemeType> {}
109
+ /** Not in upstream styled-system — its last release predates CSS `aspect-ratio`. */
110
+ interface AspectRatioProps<ThemeType extends Theme = RequiredTheme> {
111
+ aspectRatio?: ResponsiveValue<CSS.Property.AspectRatio, ThemeType>;
112
+ }
113
+ interface LayoutProps<ThemeType extends Theme = RequiredTheme> extends WidthProps<ThemeType>, HeightProps<ThemeType>, MinWidthProps<ThemeType>, MinHeightProps<ThemeType>, MaxWidthProps<ThemeType>, MaxHeightProps<ThemeType>, DisplayProps<ThemeType>, VerticalAlignProps<ThemeType>, AspectRatioProps<ThemeType>, SizeProps<ThemeType>, OverflowProps<ThemeType> {}
98
114
  interface FontFamilyProps<ThemeType extends Theme = RequiredTheme> {
99
115
  fontFamily?: ResponsiveValue<CSS.Property.FontFamily, ThemeType>;
100
116
  }
@@ -137,7 +153,13 @@ interface TextDecorationThicknessProps<ThemeType extends Theme = RequiredTheme,
137
153
  interface TextDecorationColorProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'colors', ThemeType>> {
138
154
  textDecorationColor?: ResponsiveValue<TVal, ThemeType>;
139
155
  }
140
- interface TypographyProps<ThemeType extends Theme = RequiredTheme> extends FontFamilyProps<ThemeType>, FontSizeProps<ThemeType>, FontWeightProps<ThemeType>, LineHeightProps<ThemeType>, LetterSpacingProps<ThemeType>, FontStyleProps<ThemeType>, TextAlignProps<ThemeType>, TextTransformProps<ThemeType>, TextAlignLastProps<ThemeType>, TextDecorationProps<ThemeType>, TextDecorationLineProps<ThemeType>, TextDecorationStyleProps<ThemeType>, TextDecorationThicknessProps<ThemeType>, TextDecorationColorProps<ThemeType> {}
156
+ interface WhiteSpaceProps<ThemeType extends Theme = RequiredTheme> {
157
+ whiteSpace?: ResponsiveValue<CSS.Property.WhiteSpace, ThemeType>;
158
+ }
159
+ interface TextOverflowProps<ThemeType extends Theme = RequiredTheme> {
160
+ textOverflow?: ResponsiveValue<CSS.Property.TextOverflow, ThemeType>;
161
+ }
162
+ interface TypographyProps<ThemeType extends Theme = RequiredTheme> extends FontFamilyProps<ThemeType>, FontSizeProps<ThemeType>, FontWeightProps<ThemeType>, LineHeightProps<ThemeType>, LetterSpacingProps<ThemeType>, FontStyleProps<ThemeType>, TextAlignProps<ThemeType>, TextTransformProps<ThemeType>, TextAlignLastProps<ThemeType>, TextDecorationProps<ThemeType>, TextDecorationLineProps<ThemeType>, TextDecorationStyleProps<ThemeType>, TextDecorationThicknessProps<ThemeType>, TextDecorationColorProps<ThemeType>, WhiteSpaceProps<ThemeType>, TextOverflowProps<ThemeType> {}
141
163
  interface AlignItemsProps<ThemeType extends Theme = RequiredTheme> {
142
164
  alignItems?: ResponsiveValue<CSS.Property.AlignItems, ThemeType>;
143
165
  }
@@ -321,4 +343,4 @@ interface ColorStyleProps<ThemeType extends Theme = RequiredTheme> {
321
343
  colors?: ResponsiveValue<string, ThemeType>;
322
344
  }
323
345
  //#endregion
324
- export { LayoutProps as $, FlexWrapProps as A, TextShadowProps as At, GridColumnGapProps as B, ColorStyleProps as C, TextAlignProps as Ct, FlexGrowProps as D, TextDecorationProps as Dt, FlexDirectionProps as E, TextDecorationLineProps as Et, FontWeightProps as F, TopProps as Ft, GridRowProps as G, GridGapProps as H, GridAreaProps as I, TypographyProps as It, GridTemplateRowsProps as J, GridTemplateAreasProps as K, GridAutoColumnsProps as L, VerticalAlignProps as Lt, FontFamilyProps as M, TextTransformProps as Mt, FontSizeProps as N, Theme as Nt, FlexProps as O, TextDecorationStyleProps as Ot, FontStyleProps as P, ThemeValue as Pt, JustifySelfProps as Q, GridAutoFlowProps as R, WidthProps as Rt, ColorProps as S, TextAlignLastProps as St, FlexBasisProps as T, TextDecorationColorProps as Tt, GridProps as U, GridColumnProps as V, GridRowGapProps as W, JustifyContentProps as X, HeightProps as Y, JustifyItemsProps as Z, BorderTopProps as _, Scale as _t, BackgroundImageProps as a, MaxWidthProps as at, BoxShadowProps as b, SpaceProps as bt, BackgroundRepeatProps as c, ObjectOrArray as ct, BorderColorProps as d, OverflowProps as dt, LeftProps as et, BorderLeftProps as f, PaddingProps as ft, BorderStyleProps as g, RightProps as gt, BorderRightProps as h, ResponsiveValue as ht, BackgroundColorProps as i, MaxHeightProps as it, FlexboxProps as j, TextStyleProps as jt, FlexShrinkProps as k, TextDecorationThicknessProps as kt, BackgroundSizeProps as l, OpacityProps as lt, BorderRadiusProps as m, RequiredTheme as mt, AlignItemsProps as n, LineHeightProps as nt, BackgroundPositionProps as o, MinHeightProps as ot, BorderProps as p, PositionProps as pt, GridTemplateColumnsProps as q, AlignSelfProps as r, MarginProps as rt, BackgroundProps as s, MinWidthProps as st, AlignContentProps as t, LetterSpacingProps as tt, BorderBottomProps as u, OrderProps as ut, BorderWidthProps as v, ShadowProps as vt, DisplayProps as w, TextColorProps as wt, ButtonStyleProps as x, TLengthStyledSystem as xt, BottomProps as y, SizeProps as yt, GridAutoRowsProps as z, ZIndexProps as zt };
346
+ export { JustifyContentProps as $, FlexProps as A, TextDecorationLineProps as At, GridAutoColumnsProps as B, TopProps as Bt, ColorProps as C, SizeProps as Ct, FlexBasisProps as D, TextAlignProps as Dt, DisplayProps as E, TextAlignLastProps as Et, FontSizeProps as F, TextShadowProps as Ft, GridGapProps as G, ZIndexProps as Gt, GridAutoRowsProps as H, VerticalAlignProps as Ht, FontStyleProps as I, TextStyleProps as It, GridRowProps as J, GridProps as K, FontWeightProps as L, TextTransformProps as Lt, FlexWrapProps as M, TextDecorationStyleProps as Mt, FlexboxProps as N, TextDecorationThicknessProps as Nt, FlexDirectionProps as O, TextColorProps as Ot, FontFamilyProps as P, TextOverflowProps as Pt, HeightProps as Q, GapProps as R, Theme as Rt, ButtonStyleProps as S, ShadowProps as St, ColumnGapProps as T, TLengthStyledSystem as Tt, GridColumnGapProps as U, WhiteSpaceProps as Ut, GridAutoFlowProps as V, TypographyProps as Vt, GridColumnProps as W, WidthProps as Wt, GridTemplateColumnsProps as X, GridTemplateAreasProps as Y, GridTemplateRowsProps as Z, BorderStyleProps as _, RequiredTheme as _t, BackgroundColorProps as a, LineHeightProps as at, BottomProps as b, RowGapProps as bt, BackgroundProps as c, MaxWidthProps as ct, BorderBottomProps as d, ObjectOrArray as dt, JustifyItemsProps as et, BorderColorProps as f, OpacityProps as ft, BorderRightProps as g, PositionProps as gt, BorderRadiusProps as h, PaddingProps as ht, AspectRatioProps as i, LetterSpacingProps as it, FlexShrinkProps as j, TextDecorationProps as jt, FlexGrowProps as k, TextDecorationColorProps as kt, BackgroundRepeatProps as l, MinHeightProps as lt, BorderProps as m, OverflowProps as mt, AlignItemsProps as n, LayoutProps as nt, BackgroundImageProps as o, MarginProps as ot, BorderLeftProps as p, OrderProps as pt, GridRowGapProps as q, AlignSelfProps as r, LeftProps as rt, BackgroundPositionProps as s, MaxHeightProps as st, AlignContentProps as t, JustifySelfProps as tt, BackgroundSizeProps as u, MinWidthProps as ut, BorderTopProps as v, ResponsiveValue as vt, ColorStyleProps as w, SpaceProps as wt, BoxShadowProps as x, Scale as xt, BorderWidthProps as y, RightProps as yt, GridAreaProps as z, ThemeValue as zt };
@@ -41,7 +41,9 @@ const typography = require("./core.cjs").system({
41
41
  property: "textDecorationColor",
42
42
  scale: "colors"
43
43
  },
44
- textAlignLast: true
44
+ textAlignLast: true,
45
+ whiteSpace: true,
46
+ textOverflow: true
45
47
  });
46
48
  //#endregion
47
49
  Object.defineProperty(exports, "typography", {
@@ -42,7 +42,9 @@ const typography = system({
42
42
  property: "textDecorationColor",
43
43
  scale: "colors"
44
44
  },
45
- textAlignLast: true
45
+ textAlignLast: true,
46
+ whiteSpace: true,
47
+ textOverflow: true
46
48
  });
47
49
  //#endregion
48
50
  export { typography as t };
@@ -2,6 +2,6 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_typography = require("./typography-DHWhpnqa.cjs");
5
+ const require_typography = require("./typography-7jHZXqtc.cjs");
6
6
  exports.default = require_typography.typography;
7
7
  exports.typography = require_typography.typography;
@@ -1,3 +1,3 @@
1
- import { Ct as TextAlignProps, F as FontWeightProps, It as TypographyProps, M as FontFamilyProps, N as FontSizeProps, P as FontStyleProps, nt as LineHeightProps, tt as LetterSpacingProps } from "./types-BcPNeOu9.cjs";
2
- import { t as typography } from "./index-D3lp-1cf.cjs";
3
- export { type FontFamilyProps, type FontSizeProps, type FontStyleProps, type FontWeightProps, type LetterSpacingProps, type LineHeightProps, type TextAlignProps, type TypographyProps, typography as default, typography };
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-BEHYHdIq.cjs";
2
+ import { t as typography } from "./index-DPZut54X.cjs";
3
+ export { type FontFamilyProps, type FontSizeProps, type FontStyleProps, type FontWeightProps, type LetterSpacingProps, type LineHeightProps, type TextAlignProps, type TextOverflowProps, type TypographyProps, type WhiteSpaceProps, typography as default, typography };
@@ -1,3 +1,3 @@
1
- import { Ct as TextAlignProps, F as FontWeightProps, It as TypographyProps, M as FontFamilyProps, N as FontSizeProps, P as FontStyleProps, nt as LineHeightProps, tt as LetterSpacingProps } from "./types-BcPNeOu9.mjs";
2
- import { t as typography } from "./index-C0pw8Qd2.mjs";
3
- export { type FontFamilyProps, type FontSizeProps, type FontStyleProps, type FontWeightProps, type LetterSpacingProps, type LineHeightProps, type TextAlignProps, type TypographyProps, typography as default, typography };
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-BEHYHdIq.mjs";
2
+ import { t as typography } from "./index-Brk7KoTW.mjs";
3
+ export { type FontFamilyProps, type FontSizeProps, type FontStyleProps, type FontWeightProps, type LetterSpacingProps, type LineHeightProps, type TextAlignProps, type TextOverflowProps, type TypographyProps, type WhiteSpaceProps, typography as default, typography };
@@ -1,2 +1,2 @@
1
- import { t as typography } from "./typography-CCYBDjpD.mjs";
1
+ import { t as typography } from "./typography-p6qWP6Px.mjs";
2
2
  export { typography as default, typography };
@@ -1,3 +1,3 @@
1
- import { C as ColorStyleProps, jt as TextStyleProps, x as ButtonStyleProps } from "./types-BcPNeOu9.cjs";
2
- import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-BArxeLmS.cjs";
1
+ import { It as TextStyleProps, S as ButtonStyleProps, w as ColorStyleProps } from "./types-BEHYHdIq.cjs";
2
+ import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-BB5onzAO.cjs";
3
3
  export { type ButtonStyleProps, type ColorStyleProps, type TextStyleProps, VariantArgs, VariantOptions, buttonStyle, colorStyle, variant as default, variant, textStyle };
@@ -1,3 +1,3 @@
1
- import { C as ColorStyleProps, jt as TextStyleProps, x as ButtonStyleProps } from "./types-BcPNeOu9.mjs";
2
- import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-QdL-_E8w.mjs";
1
+ import { It as TextStyleProps, S as ButtonStyleProps, w as ColorStyleProps } from "./types-BEHYHdIq.mjs";
2
+ import { a as textStyle, i as colorStyle, n as VariantOptions, o as variant, r as buttonStyle, t as VariantArgs } from "./index-lMfmNFGL.mjs";
3
3
  export { type ButtonStyleProps, type ColorStyleProps, type TextStyleProps, VariantArgs, VariantOptions, buttonStyle, colorStyle, variant as default, variant, textStyle };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soroush.tech/styled-system",
3
- "version": "5.7.1",
3
+ "version": "5.8.1",
4
4
  "description": "Maintained, first-class-TypeScript rewrite of styled-system — responsive, theme-aware style props for CSS-in-JS. Drop-in replacement for styled-system v5.",
5
5
  "keywords": [
6
6
  "styled-system",
@@ -235,13 +235,14 @@
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
- "eslint": "^10.7.0",
239
- "globals": "^17.7.0",
238
+ "eslint": "^10.8.0",
239
+ "globals": "^17.9.0",
240
240
  "prop-types": "^15.8.1",
241
- "tsdown": "^0.22.7",
241
+ "tsdown": "^0.22.14",
242
242
  "typescript": "~6.0.3",
243
243
  "vitest": "^4.1.10",
244
- "@soroush.tech/eslint-config": "0.0.0"
244
+ "@soroush.tech/eslint-config": "0.0.0",
245
+ "@soroush.tech/bench": "2.2.0"
245
246
  },
246
247
  "scripts": {
247
248
  "build": "tsdown",