@soroush.tech/styled-system 5.2.0 → 5.4.0

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 (74) hide show
  1. package/README.md +11 -6
  2. package/dist/background.d.cts +3 -2
  3. package/dist/background.d.mts +3 -2
  4. package/dist/border.d.cts +3 -2
  5. package/dist/border.d.mts +3 -2
  6. package/dist/color.d.cts +3 -2
  7. package/dist/color.d.mts +3 -2
  8. package/dist/core.d.cts +1 -1
  9. package/dist/core.d.mts +1 -1
  10. package/dist/flexbox.d.cts +3 -2
  11. package/dist/flexbox.d.mts +3 -2
  12. package/dist/grid.d.cts +3 -2
  13. package/dist/grid.d.mts +3 -2
  14. package/dist/{index-50KH4Mo7.d.cts → index--0QXsrzB.d.mts} +1 -2
  15. package/dist/{index-8PSQ0vkP.d.cts → index-5FNmSnEI.d.cts} +1 -2
  16. package/dist/{index-C3_fScux.d.mts → index-B4DiqzRr.d.cts} +1 -2
  17. package/dist/{index-DZaFk5pk.d.cts → index-BDKAW1u8.d.mts} +1 -2
  18. package/dist/{index-9ZhIewzy.d.mts → index-BFzj-f22.d.cts} +1 -2
  19. package/dist/{index-Nc-10syf.d.cts → index-BPHA_boa.d.mts} +1 -2
  20. package/dist/{index-BS9GuhQN.d.cts → index-Bd7E_7bm.d.cts} +1 -2
  21. package/dist/{index-CarHCWLQ.d.cts → index-BrXslH97.d.cts} +1 -2
  22. package/dist/index-BvNoOnuk.d.mts +5 -0
  23. package/dist/{index-D8EyRZ5p.d.cts → index-C6pWum7i.d.cts} +1 -1
  24. package/dist/{index-D8EyRZ5p.d.mts → index-C6pWum7i.d.mts} +1 -1
  25. package/dist/index-CTguR0fU.d.cts +6 -0
  26. package/dist/index-C_ikENGU.d.mts +6 -0
  27. package/dist/{index-BBTVE4EM.d.mts → index-CeQ5ox80.d.mts} +1 -2
  28. package/dist/{index-CrUx2vIP.d.mts → index-Cq-vX0It.d.mts} +1 -2
  29. package/dist/{index-CsS_gcI9.d.mts → index-CuQx9h4Q.d.cts} +1 -2
  30. package/dist/{index-DPWkvooj.d.mts → index-CvbdNFVK.d.cts} +1 -2
  31. package/dist/{index-CX2jWEGJ.d.mts → index-D7-Ctdwn.d.mts} +1 -2
  32. package/dist/index-D9W3cc9s.d.mts +5 -0
  33. package/dist/{index-Bx7IxKu-.d.mts → index-DLcnFzWU.d.mts} +1 -2
  34. package/dist/{index-z86wOHTb.d.cts → index-DS-HZ740.d.cts} +1 -2
  35. package/dist/index-Dxn97XnB.d.cts +5 -0
  36. package/dist/{index-BoMacn6F.d.cts → index-Dz8xde7b.d.cts} +1 -2
  37. package/dist/{index-C13YRARN.d.mts → index-DzPnzx9p.d.mts} +1 -2
  38. package/dist/{index-DVR6hZCd.d.cts → index-F79chYlR.d.mts} +1 -2
  39. package/dist/index-HNU5ME-U.d.cts +5 -0
  40. package/dist/index.cjs +7 -1
  41. package/dist/index.d.cts +15 -166
  42. package/dist/index.d.mts +15 -166
  43. package/dist/index.mjs +2 -1
  44. package/dist/layout.d.cts +3 -2
  45. package/dist/layout.d.mts +3 -2
  46. package/dist/position.d.cts +3 -2
  47. package/dist/position.d.mts +3 -2
  48. package/dist/prop-types.cjs +48 -0
  49. package/dist/prop-types.d.cts +22 -0
  50. package/dist/prop-types.d.mts +22 -0
  51. package/dist/prop-types.mjs +40 -0
  52. package/dist/rolldown-runtime-D6vf50IK.cjs +28 -0
  53. package/dist/shadow.d.cts +3 -2
  54. package/dist/shadow.d.mts +3 -2
  55. package/dist/should-forward-prop.cjs +2 -23
  56. package/dist/space.d.cts +3 -2
  57. package/dist/space.d.mts +3 -2
  58. package/dist/theme-get-CwPt9eDy.mjs +5 -0
  59. package/dist/theme-get-D0fH7Jrd.cjs +10 -0
  60. package/dist/theme-get.cjs +3 -6
  61. package/dist/theme-get.d.cts +1 -5
  62. package/dist/theme-get.d.mts +1 -5
  63. package/dist/theme-get.mjs +1 -4
  64. package/dist/types-CCujn9-2.d.cts +304 -0
  65. package/dist/types-CCujn9-2.d.mts +304 -0
  66. package/dist/typography.d.cts +3 -2
  67. package/dist/typography.d.mts +3 -2
  68. package/dist/variant.d.cts +3 -2
  69. package/dist/variant.d.mts +3 -2
  70. package/package.json +20 -2
  71. package/dist/index-Ce09s0FQ.d.cts +0 -6
  72. package/dist/index-D3t1Lyte.d.mts +0 -6
  73. package/dist/index-J3PebPto.d.mts +0 -6
  74. package/dist/index-j3E1mxCg.d.cts +0 -6
package/README.md CHANGED
@@ -38,10 +38,10 @@ pnpm add @soroush.tech/styled-system
38
38
  yarn add @soroush.tech/styled-system
39
39
  ```
40
40
 
41
- `@emotion/is-prop-valid` (`^1.4.0`) is a peer dependency used only by the
42
- [`should-forward-prop`](#subpath-imports) entry — install it if you import that subpath.
43
- You bring your own CSS-in-JS library (Emotion, styled-components, …); the core carries
44
- neither at runtime.
41
+ `@emotion/is-prop-valid` (`^1.4.0`, peer) and `prop-types` (`^15.8.1`, optional peer) are
42
+ each used by a single [subpath](#subpath-imports) — `should-forward-prop` and `prop-types`
43
+ respectively. Install one only if you import that subpath. You bring your own CSS-in-JS
44
+ library (Emotion, styled-components, …); the core carries neither at runtime.
45
45
 
46
46
  ## Usage
47
47
 
@@ -110,12 +110,16 @@ Subpaths mirror the original `@styled-system/*` packages:
110
110
  import { css } from '@soroush.tech/styled-system/css'
111
111
  import { themeGet } from '@soroush.tech/styled-system/theme-get'
112
112
  import { pick, omit } from '@soroush.tech/styled-system/props'
113
+ import propTypes, { createPropTypes } from '@soroush.tech/styled-system/prop-types'
113
114
  import shouldForwardProp, {
114
115
  createShouldForwardProp,
115
116
  props,
116
117
  } from '@soroush.tech/styled-system/should-forward-prop'
117
118
  ```
118
119
 
120
+ `themeGet` is also re-exported from the package root (as both a named and the default
121
+ export), so `import { themeGet } from '@soroush.tech/styled-system'` works too.
122
+
119
123
  ## Drop-in via alias
120
124
 
121
125
  Existing `styled-system` users can swap with a package-manager alias — no code changes:
@@ -126,8 +130,9 @@ Existing `styled-system` users can swap with a package-manager alias — no code
126
130
  }
127
131
  ```
128
132
 
129
- `@styled-system/should-forward-prop` maps to the
130
- `@soroush.tech/styled-system/should-forward-prop` subpath.
133
+ Every `@styled-system/*` satellite maps 1:1 to the matching
134
+ `@soroush.tech/styled-system/*` subpath — e.g. `@styled-system/should-forward-prop`,
135
+ `@styled-system/prop-types`, `@styled-system/theme-get`, `@styled-system/css`.
131
136
 
132
137
  ## Documentation
133
138
 
@@ -1,2 +1,3 @@
1
- import { t as background } from "./index-DZaFk5pk.cjs";
2
- export { background, background as default };
1
+ import { t as background } from "./index-BFzj-f22.cjs";
2
+ import { a as BackgroundImageProps, c as BackgroundRepeatProps, l as BackgroundSizeProps, o as BackgroundPositionProps, s as BackgroundProps } from "./types-CCujn9-2.cjs";
3
+ export { type BackgroundImageProps, type BackgroundPositionProps, type BackgroundProps, type BackgroundRepeatProps, type BackgroundSizeProps, background, background as default };
@@ -1,2 +1,3 @@
1
- import { t as background } from "./index-9ZhIewzy.mjs";
2
- export { background, background as default };
1
+ import { t as background } from "./index-BDKAW1u8.mjs";
2
+ import { a as BackgroundImageProps, c as BackgroundRepeatProps, l as BackgroundSizeProps, o as BackgroundPositionProps, s as BackgroundProps } from "./types-CCujn9-2.mjs";
3
+ export { type BackgroundImageProps, type BackgroundPositionProps, type BackgroundProps, type BackgroundRepeatProps, type BackgroundSizeProps, background, background as default };
package/dist/border.d.cts CHANGED
@@ -1,2 +1,3 @@
1
- import { t as border } from "./index-BoMacn6F.cjs";
2
- export { border, border as default };
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-CCujn9-2.cjs";
2
+ import { t as border } from "./index-Dz8xde7b.cjs";
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,2 +1,3 @@
1
- import { t as border } from "./index-Bx7IxKu-.mjs";
2
- export { border, border as default };
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-CCujn9-2.mjs";
2
+ import { t as border } from "./index-DLcnFzWU.mjs";
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,2 +1,3 @@
1
- import { t as color } from "./index-j3E1mxCg.cjs";
2
- export { color, color as default };
1
+ import { Ct as TextColorProps, S as ColorProps, i as BackgroundColorProps, lt as OpacityProps } from "./types-CCujn9-2.cjs";
2
+ import { t as color } from "./index-Dxn97XnB.cjs";
3
+ export { type BackgroundColorProps, type ColorProps, type OpacityProps, type TextColorProps, color, color as default };
package/dist/color.d.mts CHANGED
@@ -1,2 +1,3 @@
1
- import { t as color } from "./index-D3t1Lyte.mjs";
2
- export { color, color as default };
1
+ import { Ct as TextColorProps, S as ColorProps, i as BackgroundColorProps, lt as OpacityProps } from "./types-CCujn9-2.mjs";
2
+ import { t as color } from "./index-D9W3cc9s.mjs";
3
+ export { type BackgroundColorProps, type ColorProps, type OpacityProps, type TextColorProps, color, color as default };
package/dist/core.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as Props, c as SystemConfig, d as compose, f as createParser, g as system, h as merge, i as ParserConfig, l as Theme, m as get, n as ConfigStyle, o as StyleFn, p as createStyleFunction, r as Parser, s as StyleObject, t as CSSObject, u as Transform } from "./index-D8EyRZ5p.cjs";
1
+ import { a as Props, c as SystemConfig, d as compose, f as createParser, g as system, h as merge, i as ParserConfig, l as Theme, m as get, n as ConfigStyle, o as StyleFn, p as createStyleFunction, r as Parser, s as StyleObject, t as CSSObject, u as Transform } from "./index-C6pWum7i.cjs";
2
2
  export { CSSObject, ConfigStyle, Parser, ParserConfig, Props, StyleFn, StyleObject, SystemConfig, Theme, Transform, compose, createParser, createStyleFunction, get, merge, system };
package/dist/core.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as Props, c as SystemConfig, d as compose, f as createParser, g as system, h as merge, i as ParserConfig, l as Theme, m as get, n as ConfigStyle, o as StyleFn, p as createStyleFunction, r as Parser, s as StyleObject, t as CSSObject, u as Transform } from "./index-D8EyRZ5p.mjs";
1
+ import { a as Props, c as SystemConfig, d as compose, f as createParser, g as system, h as merge, i as ParserConfig, l as Theme, m as get, n as ConfigStyle, o as StyleFn, p as createStyleFunction, r as Parser, s as StyleObject, t as CSSObject, u as Transform } from "./index-C6pWum7i.mjs";
2
2
  export { CSSObject, ConfigStyle, Parser, ParserConfig, Props, StyleFn, StyleObject, SystemConfig, Theme, Transform, compose, createParser, createStyleFunction, get, merge, system };
@@ -1,2 +1,3 @@
1
- import { t as flexbox } from "./index-BS9GuhQN.cjs";
2
- export { flexbox as default, flexbox };
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-CCujn9-2.cjs";
2
+ import { t as flexbox } from "./index-Bd7E_7bm.cjs";
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,2 +1,3 @@
1
- import { t as flexbox } from "./index-CX2jWEGJ.mjs";
2
- export { flexbox as default, flexbox };
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-CCujn9-2.mjs";
2
+ import { t as flexbox } from "./index-D7-Ctdwn.mjs";
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,2 +1,3 @@
1
- import { t as grid } from "./index-Ce09s0FQ.cjs";
2
- export { grid as default, grid };
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-CCujn9-2.cjs";
2
+ import { t as grid } from "./index-HNU5ME-U.cjs";
3
+ export { type GridAreaProps, type GridAutoColumnsProps, type GridAutoFlowProps, type GridAutoRowsProps, type GridColumnGapProps, type GridColumnProps, type GridGapProps, type GridProps, type GridRowGapProps, type GridRowProps, type GridTemplateAreasProps, type GridTemplateColumnsProps, type GridTemplateRowsProps, grid as default, grid };
package/dist/grid.d.mts CHANGED
@@ -1,2 +1,3 @@
1
- import { t as grid } from "./index-J3PebPto.mjs";
2
- export { grid as default, grid };
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-CCujn9-2.mjs";
2
+ import { t as grid } from "./index-BvNoOnuk.mjs";
3
+ export { type GridAreaProps, type GridAutoColumnsProps, type GridAutoFlowProps, type GridAutoRowsProps, type GridColumnGapProps, type GridColumnProps, type GridGapProps, type GridProps, type GridRowGapProps, type GridRowProps, type GridTemplateAreasProps, type GridTemplateColumnsProps, type GridTemplateRowsProps, grid as default, grid };
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.cjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.mjs";
3
2
  //#region src/space/space.d.ts
4
3
  declare const margin: Parser;
5
4
  declare const padding: Parser;
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.cjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.cjs";
3
2
  //#region src/variant/variant.d.ts
4
3
  interface VariantOptions {
5
4
  scale?: string;
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.mjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.cjs";
3
2
  //#region src/space/space.d.ts
4
3
  declare const margin: Parser;
5
4
  declare const padding: Parser;
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.cjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.mjs";
3
2
  //#region src/background/background.d.ts
4
3
  declare const background: Parser;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.mjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.cjs";
3
2
  //#region src/background/background.d.ts
4
3
  declare const background: Parser;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.cjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.mjs";
3
2
  //#region src/layout/layout.d.ts
4
3
  declare const layout: Parser;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.cjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.cjs";
3
2
  //#region src/flexbox/flexbox.d.ts
4
3
  declare const flexbox: Parser;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.cjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.cjs";
3
2
  //#region src/typography/typography.d.ts
4
3
  declare const typography: Parser;
5
4
  //#endregion
@@ -0,0 +1,5 @@
1
+ import { r as Parser } from "./index-C6pWum7i.mjs";
2
+ //#region src/grid/grid.d.ts
3
+ declare const grid: Parser;
4
+ //#endregion
5
+ export { grid as t };
@@ -21,7 +21,7 @@ interface Props {
21
21
  theme?: Theme;
22
22
  [key: string]: unknown;
23
23
  }
24
- type Transform = (value: unknown, scale?: unknown, props?: Props) => unknown;
24
+ type Transform = (value: any, scale?: any, props?: Props) => any;
25
25
  interface StyleFn {
26
26
  (value: unknown, scale?: unknown, props?: Props): StyleObject | undefined;
27
27
  scale?: string;
@@ -21,7 +21,7 @@ interface Props {
21
21
  theme?: Theme;
22
22
  [key: string]: unknown;
23
23
  }
24
- type Transform = (value: unknown, scale?: unknown, props?: Props) => unknown;
24
+ type Transform = (value: any, scale?: any, props?: Props) => any;
25
25
  interface StyleFn {
26
26
  (value: unknown, scale?: unknown, props?: Props): StyleObject | undefined;
27
27
  scale?: string;
@@ -0,0 +1,6 @@
1
+ import { a as Props } from "./index-C6pWum7i.cjs";
2
+
3
+ //#region src/theme-get/theme-get.d.ts
4
+ declare const themeGet: (path: string, fallback?: unknown) => (props: Props) => unknown;
5
+ //#endregion
6
+ export { themeGet as t };
@@ -0,0 +1,6 @@
1
+ import { a as Props } from "./index-C6pWum7i.mjs";
2
+
3
+ //#region src/theme-get/theme-get.d.ts
4
+ declare const themeGet: (path: string, fallback?: unknown) => (props: Props) => unknown;
5
+ //#endregion
6
+ export { themeGet as t };
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.mjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.mjs";
3
2
  //#region src/variant/variant.d.ts
4
3
  interface VariantOptions {
5
4
  scale?: string;
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.mjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.mjs";
3
2
  //#region src/position/position.d.ts
4
3
  declare const position: Parser;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.mjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.cjs";
3
2
  //#region src/layout/layout.d.ts
4
3
  declare const layout: Parser;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.mjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.cjs";
3
2
  //#region src/shadow/shadow.d.ts
4
3
  declare const shadow: Parser;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.mjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.mjs";
3
2
  //#region src/flexbox/flexbox.d.ts
4
3
  declare const flexbox: Parser;
5
4
  //#endregion
@@ -0,0 +1,5 @@
1
+ import { r as Parser } from "./index-C6pWum7i.mjs";
2
+ //#region src/color/color.d.ts
3
+ declare const color: Parser;
4
+ //#endregion
5
+ export { color as t };
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.mjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.mjs";
3
2
  //#region src/border/border.d.ts
4
3
  declare const border: Parser;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.cjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.cjs";
3
2
  //#region src/position/position.d.ts
4
3
  declare const position: Parser;
5
4
  //#endregion
@@ -0,0 +1,5 @@
1
+ import { r as Parser } from "./index-C6pWum7i.cjs";
2
+ //#region src/color/color.d.ts
3
+ declare const color: Parser;
4
+ //#endregion
5
+ export { color as t };
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.cjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.cjs";
3
2
  //#region src/border/border.d.ts
4
3
  declare const border: Parser;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.mjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.mjs";
3
2
  //#region src/typography/typography.d.ts
4
3
  declare const typography: Parser;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
- import { r as Parser } from "./index-D8EyRZ5p.cjs";
2
-
1
+ import { r as Parser } from "./index-C6pWum7i.mjs";
3
2
  //#region src/shadow/shadow.d.ts
4
3
  declare const shadow: Parser;
5
4
  //#endregion
@@ -0,0 +1,5 @@
1
+ import { r as Parser } from "./index-C6pWum7i.cjs";
2
+ //#region src/grid/grid.d.ts
3
+ declare const grid: Parser;
4
+ //#endregion
5
+ export { grid as t };
package/dist/index.cjs CHANGED
@@ -1,4 +1,7 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
1
+ Object.defineProperties(exports, {
2
+ __esModule: { value: true },
3
+ [Symbol.toStringTag]: { value: "Module" }
4
+ });
2
5
  const require_core = require("./core.cjs");
3
6
  const require_background = require("./background-wugr6cG7.cjs");
4
7
  const require_border = require("./border-UuT-fTpy.cjs");
@@ -11,6 +14,7 @@ const require_typography = require("./typography-DD_eWLLx.cjs");
11
14
  const require_space = require("./space-CAX_62yL.cjs");
12
15
  const require_shadow = require("./shadow-BrDnaQQl.cjs");
13
16
  const require_variant = require("./variant-C7vPzZHo.cjs");
17
+ const require_theme_get = require("./theme-get-D0fH7Jrd.cjs");
14
18
  //#region src/style/style.ts
15
19
  const style = ({ prop, cssProperty, alias, key, transformValue, scale, properties }) => {
16
20
  const config = {};
@@ -122,6 +126,7 @@ exports.colorStyle = require_variant.colorStyle;
122
126
  exports.compose = require_core.compose;
123
127
  exports.createParser = require_core.createParser;
124
128
  exports.createStyleFunction = require_core.createStyleFunction;
129
+ exports.default = require_theme_get.themeGet;
125
130
  exports.display = display;
126
131
  exports.flex = flex;
127
132
  exports.flexBasis = flexBasis;
@@ -177,6 +182,7 @@ exports.system = require_core.system;
177
182
  exports.textAlign = textAlign;
178
183
  exports.textShadow = require_shadow.shadow;
179
184
  exports.textStyle = require_variant.textStyle;
185
+ exports.themeGet = require_theme_get.themeGet;
180
186
  exports.top = top;
181
187
  exports.typography = require_typography.typography;
182
188
  exports.variant = require_variant.variant;
package/dist/index.d.cts CHANGED
@@ -1,16 +1,17 @@
1
- import { a as Props, c as SystemConfig, d as compose, f as createParser, g as system, i as ParserConfig, m as get, n as ConfigStyle, o as StyleFn, p as createStyleFunction, r as Parser, s as StyleObject, u as Transform } from "./index-D8EyRZ5p.cjs";
2
- import { t as background } from "./index-DZaFk5pk.cjs";
3
- import { t as border } from "./index-BoMacn6F.cjs";
4
- import { t as color } from "./index-j3E1mxCg.cjs";
5
- import { t as flexbox } from "./index-BS9GuhQN.cjs";
6
- import { t as grid } from "./index-Ce09s0FQ.cjs";
7
- import { n as padding, r as space, t as margin } from "./index-50KH4Mo7.cjs";
8
- import { t as layout } from "./index-Nc-10syf.cjs";
9
- import { t as typography } from "./index-CarHCWLQ.cjs";
10
- import { t as position } from "./index-z86wOHTb.cjs";
11
- import { t as shadow } from "./index-DVR6hZCd.cjs";
12
- import { a as variant, i as textStyle, n as buttonStyle, r as colorStyle } from "./index-8PSQ0vkP.cjs";
13
- import * as CSS from "csstype";
1
+ import { a as Props, c as SystemConfig, d as compose, f as createParser, g as system, i as ParserConfig, m as get, n as ConfigStyle, o as StyleFn, p as createStyleFunction, r as Parser, s as StyleObject, u as Transform } from "./index-C6pWum7i.cjs";
2
+ import { t as background } from "./index-BFzj-f22.cjs";
3
+ import { $ as LayoutProps, A as FlexWrapProps, At as VerticalAlignProps, B as GridColumnGapProps, C as ColorStyleProps, Ct as TextColorProps, D as FlexGrowProps, Dt as ThemeValue, E as FlexDirectionProps, Et as Theme, F as FontWeightProps, G as GridRowProps, H as GridGapProps, I as GridAreaProps, J as GridTemplateRowsProps, K as GridTemplateAreasProps, L as GridAutoColumnsProps, M as FontFamilyProps, Mt as ZIndexProps, N as FontSizeProps, O as FlexProps, Ot as TopProps, P as FontStyleProps, Q as JustifySelfProps, R as GridAutoFlowProps, S as ColorProps, St as TextAlignProps, T as FlexBasisProps, Tt as TextStyleProps, 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 WidthProps, k as FlexShrinkProps, kt as TypographyProps, 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 TextShadowProps, x as ButtonStyleProps, xt as TLengthStyledSystem, y as BottomProps, yt as SizeProps, z as GridAutoRowsProps } from "./types-CCujn9-2.cjs";
4
+ import { t as border } from "./index-Dz8xde7b.cjs";
5
+ import { t as color } from "./index-Dxn97XnB.cjs";
6
+ import { t as flexbox } from "./index-Bd7E_7bm.cjs";
7
+ import { t as grid } from "./index-HNU5ME-U.cjs";
8
+ import { n as padding, r as space, t as margin } from "./index-B4DiqzRr.cjs";
9
+ import { t as layout } from "./index-CuQx9h4Q.cjs";
10
+ import { t as typography } from "./index-BrXslH97.cjs";
11
+ import { t as position } from "./index-DS-HZ740.cjs";
12
+ import { t as shadow } from "./index-CvbdNFVK.cjs";
13
+ import { a as variant, i as textStyle, n as buttonStyle, r as colorStyle } from "./index-5FNmSnEI.cjs";
14
+ import { t as themeGet } from "./index-CTguR0fU.cjs";
14
15
 
15
16
  //#region src/style/style.d.ts
16
17
  interface StyleOptions {
@@ -32,158 +33,6 @@ declare const style: ({
32
33
  properties
33
34
  }: StyleOptions) => Parser;
34
35
  //#endregion
35
- //#region src/types.d.ts
36
- type ObjectOrArray<T, K extends keyof never = keyof never> = T[] | Record<K, T | Record<K, T> | T[]>;
37
- type Scale = ObjectOrArray<number | string>;
38
- type TLengthStyledSystem = string | number;
39
- interface Theme<TLength = TLengthStyledSystem> {
40
- breakpoints?: ObjectOrArray<number | string | symbol>;
41
- mediaQueries?: {
42
- [size: string]: string;
43
- };
44
- space?: ObjectOrArray<CSS.Property.Margin<number | string>>;
45
- fontSizes?: ObjectOrArray<CSS.Property.FontSize<number>>;
46
- colors?: ObjectOrArray<CSS.Property.Color>;
47
- fonts?: ObjectOrArray<CSS.Property.FontFamily>;
48
- fontWeights?: ObjectOrArray<CSS.Property.FontWeight>;
49
- lineHeights?: ObjectOrArray<CSS.Property.LineHeight<TLength>>;
50
- letterSpacings?: ObjectOrArray<CSS.Property.LetterSpacing<TLength>>;
51
- sizes?: ObjectOrArray<CSS.Property.Height<object> | CSS.Property.Width<object>>;
52
- borders?: ObjectOrArray<CSS.Property.Border<object>>;
53
- borderStyles?: ObjectOrArray<CSS.Property.Border<object>>;
54
- borderWidths?: ObjectOrArray<CSS.Property.BorderWidth<TLength>>;
55
- radii?: ObjectOrArray<CSS.Property.BorderRadius<TLength>>;
56
- shadows?: ObjectOrArray<CSS.Property.BoxShadow>;
57
- zIndices?: ObjectOrArray<CSS.Property.ZIndex>;
58
- buttons?: ObjectOrArray<CSS.StandardProperties>;
59
- colorStyles?: ObjectOrArray<CSS.StandardProperties>;
60
- textStyles?: ObjectOrArray<CSS.StandardProperties>;
61
- }
62
- type RequiredTheme = Required<Theme>;
63
- type ThemeValue<K extends keyof ThemeType, ThemeType, TVal = unknown> = NonNullable<ThemeType[K]> extends TVal[] ? number : NonNullable<ThemeType[K]> extends Record<infer E, TVal> ? E : NonNullable<ThemeType[K]> extends ObjectOrArray<infer F> ? F : never;
64
- type ResponsiveValue<T, ThemeType extends Theme = RequiredTheme> = T | null | Array<T | null> | { [key in (ThemeValue<'breakpoints', ThemeType> & string) | number]?: T };
65
- interface SpaceProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> extends MarginProps<ThemeType, TVal>, PaddingProps<ThemeType, TVal> {}
66
- interface MarginProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
67
- m?: ResponsiveValue<TVal, ThemeType>;
68
- margin?: ResponsiveValue<TVal, ThemeType>;
69
- mt?: ResponsiveValue<TVal, ThemeType>;
70
- marginTop?: ResponsiveValue<TVal, ThemeType>;
71
- mr?: ResponsiveValue<TVal, ThemeType>;
72
- marginRight?: ResponsiveValue<TVal, ThemeType>;
73
- mb?: ResponsiveValue<TVal, ThemeType>;
74
- marginBottom?: ResponsiveValue<TVal, ThemeType>;
75
- ml?: ResponsiveValue<TVal, ThemeType>;
76
- marginLeft?: ResponsiveValue<TVal, ThemeType>;
77
- mx?: ResponsiveValue<TVal, ThemeType>;
78
- marginX?: ResponsiveValue<TVal, ThemeType>;
79
- my?: ResponsiveValue<TVal, ThemeType>;
80
- marginY?: ResponsiveValue<TVal, ThemeType>;
81
- }
82
- interface PaddingProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'space', ThemeType>> {
83
- p?: ResponsiveValue<TVal, ThemeType>;
84
- padding?: ResponsiveValue<TVal, ThemeType>;
85
- pt?: ResponsiveValue<TVal, ThemeType>;
86
- paddingTop?: ResponsiveValue<TVal, ThemeType>;
87
- pr?: ResponsiveValue<TVal, ThemeType>;
88
- paddingRight?: ResponsiveValue<TVal, ThemeType>;
89
- pb?: ResponsiveValue<TVal, ThemeType>;
90
- paddingBottom?: ResponsiveValue<TVal, ThemeType>;
91
- pl?: ResponsiveValue<TVal, ThemeType>;
92
- paddingLeft?: ResponsiveValue<TVal, ThemeType>;
93
- px?: ResponsiveValue<TVal, ThemeType>;
94
- paddingX?: ResponsiveValue<TVal, ThemeType>;
95
- py?: ResponsiveValue<TVal, ThemeType>;
96
- paddingY?: ResponsiveValue<TVal, ThemeType>;
97
- }
98
- interface LayoutProps<ThemeType extends Theme = RequiredTheme> {
99
- width?: ResponsiveValue<CSS.Property.Width<TLengthStyledSystem>, ThemeType>;
100
- height?: ResponsiveValue<CSS.Property.Height<TLengthStyledSystem>, ThemeType>;
101
- minWidth?: ResponsiveValue<CSS.Property.MinWidth<TLengthStyledSystem>, ThemeType>;
102
- minHeight?: ResponsiveValue<CSS.Property.MinHeight<TLengthStyledSystem>, ThemeType>;
103
- maxWidth?: ResponsiveValue<CSS.Property.MaxWidth<TLengthStyledSystem>, ThemeType>;
104
- maxHeight?: ResponsiveValue<CSS.Property.MaxHeight<TLengthStyledSystem>, ThemeType>;
105
- size?: ResponsiveValue<CSS.Property.Width<TLengthStyledSystem>, ThemeType>;
106
- overflow?: ResponsiveValue<CSS.Property.Overflow, ThemeType>;
107
- overflowX?: ResponsiveValue<CSS.Property.OverflowX, ThemeType>;
108
- overflowY?: ResponsiveValue<CSS.Property.OverflowY, ThemeType>;
109
- display?: ResponsiveValue<CSS.Property.Display, ThemeType>;
110
- verticalAlign?: ResponsiveValue<CSS.Property.VerticalAlign<TLengthStyledSystem>, ThemeType>;
111
- }
112
- interface TypographyProps<ThemeType extends Theme = RequiredTheme> {
113
- fontFamily?: ResponsiveValue<CSS.Property.FontFamily, ThemeType>;
114
- fontSize?: ResponsiveValue<ThemeValue<'fontSizes', ThemeType>, ThemeType>;
115
- fontWeight?: ResponsiveValue<ThemeValue<'fontWeights', ThemeType> | string, ThemeType>;
116
- lineHeight?: ResponsiveValue<ThemeValue<'lineHeights', ThemeType>, ThemeType>;
117
- letterSpacing?: ResponsiveValue<CSS.Property.LetterSpacing<TLengthStyledSystem>, ThemeType>;
118
- textAlign?: ResponsiveValue<CSS.Property.TextAlign, ThemeType>;
119
- fontStyle?: ResponsiveValue<CSS.Property.FontStyle, ThemeType>;
120
- }
121
- interface FlexboxProps<ThemeType extends Theme = RequiredTheme> {
122
- alignItems?: ResponsiveValue<CSS.Property.AlignItems, ThemeType>;
123
- alignContent?: ResponsiveValue<CSS.Property.AlignContent, ThemeType>;
124
- justifyItems?: ResponsiveValue<CSS.Property.JustifyItems, ThemeType>;
125
- justifyContent?: ResponsiveValue<CSS.Property.JustifyContent, ThemeType>;
126
- flexWrap?: ResponsiveValue<CSS.Property.FlexWrap, ThemeType>;
127
- flexDirection?: ResponsiveValue<CSS.Property.FlexDirection, ThemeType>;
128
- flex?: ResponsiveValue<CSS.Property.Flex<TLengthStyledSystem>, ThemeType>;
129
- flexGrow?: ResponsiveValue<CSS.Property.FlexGrow, ThemeType>;
130
- flexShrink?: ResponsiveValue<CSS.Property.FlexShrink, ThemeType>;
131
- flexBasis?: ResponsiveValue<CSS.Property.FlexBasis<TLengthStyledSystem>, ThemeType>;
132
- justifySelf?: ResponsiveValue<CSS.Property.JustifySelf, ThemeType>;
133
- alignSelf?: ResponsiveValue<CSS.Property.AlignSelf, ThemeType>;
134
- order?: ResponsiveValue<CSS.Property.Order, ThemeType>;
135
- }
136
- interface PositionProps<ThemeType extends Theme = RequiredTheme> {
137
- position?: ResponsiveValue<CSS.Property.Position, ThemeType>;
138
- zIndex?: ResponsiveValue<CSS.Property.ZIndex, ThemeType>;
139
- top?: ResponsiveValue<CSS.Property.Top<TLengthStyledSystem>, ThemeType>;
140
- right?: ResponsiveValue<CSS.Property.Right<TLengthStyledSystem>, ThemeType>;
141
- bottom?: ResponsiveValue<CSS.Property.Bottom<TLengthStyledSystem>, ThemeType>;
142
- left?: ResponsiveValue<CSS.Property.Left<TLengthStyledSystem>, ThemeType>;
143
- }
144
- interface ColorProps<ThemeType extends Theme = RequiredTheme, TVal = ThemeValue<'colors', ThemeType>> {
145
- color?: ResponsiveValue<TVal, ThemeType>;
146
- backgroundColor?: ResponsiveValue<TVal, ThemeType>;
147
- bg?: ResponsiveValue<TVal, ThemeType>;
148
- opacity?: ResponsiveValue<CSS.Property.Opacity, ThemeType>;
149
- }
150
- interface BorderProps<ThemeType extends Theme = RequiredTheme> {
151
- border?: ResponsiveValue<CSS.Property.Border<TLengthStyledSystem>, ThemeType>;
152
- borderWidth?: ResponsiveValue<CSS.Property.BorderWidth<TLengthStyledSystem>, ThemeType>;
153
- borderStyle?: ResponsiveValue<CSS.Property.BorderStyle, ThemeType>;
154
- borderColor?: ResponsiveValue<ThemeValue<'colors', ThemeType>, ThemeType>;
155
- borderRadius?: ResponsiveValue<ThemeValue<'radii', ThemeType>, ThemeType>;
156
- borderTop?: ResponsiveValue<CSS.Property.BorderTop<TLengthStyledSystem>, ThemeType>;
157
- borderRight?: ResponsiveValue<CSS.Property.BorderRight<TLengthStyledSystem>, ThemeType>;
158
- borderBottom?: ResponsiveValue<CSS.Property.BorderBottom<TLengthStyledSystem>, ThemeType>;
159
- borderLeft?: ResponsiveValue<CSS.Property.BorderLeft<TLengthStyledSystem>, ThemeType>;
160
- }
161
- interface BackgroundProps<ThemeType extends Theme = RequiredTheme> {
162
- background?: ResponsiveValue<CSS.Property.Background<TLengthStyledSystem>, ThemeType>;
163
- backgroundImage?: ResponsiveValue<CSS.Property.BackgroundImage, ThemeType>;
164
- backgroundSize?: ResponsiveValue<CSS.Property.BackgroundSize<TLengthStyledSystem>, ThemeType>;
165
- backgroundPosition?: ResponsiveValue<CSS.Property.BackgroundPosition<TLengthStyledSystem>, ThemeType>;
166
- backgroundRepeat?: ResponsiveValue<CSS.Property.BackgroundRepeat, ThemeType>;
167
- }
168
- interface GridProps<ThemeType extends Theme = RequiredTheme> {
169
- gridGap?: ResponsiveValue<CSS.Property.GridGap<TLengthStyledSystem>, ThemeType>;
170
- gridColumnGap?: ResponsiveValue<CSS.Property.GridColumnGap<TLengthStyledSystem>, ThemeType>;
171
- gridRowGap?: ResponsiveValue<CSS.Property.GridRowGap<TLengthStyledSystem>, ThemeType>;
172
- gridColumn?: ResponsiveValue<CSS.Property.GridColumn, ThemeType>;
173
- gridRow?: ResponsiveValue<CSS.Property.GridRow, ThemeType>;
174
- gridAutoFlow?: ResponsiveValue<CSS.Property.GridAutoFlow, ThemeType>;
175
- gridAutoColumns?: ResponsiveValue<CSS.Property.GridAutoColumns<TLengthStyledSystem>, ThemeType>;
176
- gridAutoRows?: ResponsiveValue<CSS.Property.GridAutoRows<TLengthStyledSystem>, ThemeType>;
177
- gridTemplateColumns?: ResponsiveValue<CSS.Property.GridTemplateColumns<TLengthStyledSystem>, ThemeType>;
178
- gridTemplateRows?: ResponsiveValue<CSS.Property.GridTemplateRows<TLengthStyledSystem>, ThemeType>;
179
- gridTemplateAreas?: ResponsiveValue<CSS.Property.GridTemplateAreas, ThemeType>;
180
- gridArea?: ResponsiveValue<CSS.Property.GridArea, ThemeType>;
181
- }
182
- interface ShadowProps<ThemeType extends Theme = RequiredTheme> {
183
- boxShadow?: ResponsiveValue<CSS.Property.BoxShadow | string, ThemeType>;
184
- textShadow?: ResponsiveValue<CSS.Property.TextShadow | string, ThemeType>;
185
- }
186
- //#endregion
187
36
  //#region src/index.d.ts
188
37
  declare const width: Parser;
189
38
  declare const height: Parser;
@@ -248,4 +97,4 @@ declare const right: Parser;
248
97
  declare const bottom: Parser;
249
98
  declare const left: Parser;
250
99
  //#endregion
251
- export { BackgroundProps, BorderProps, ColorProps, type ConfigStyle, FlexboxProps, GridProps, LayoutProps, MarginProps, ObjectOrArray, PaddingProps, type Parser, type ParserConfig, PositionProps, type Props, RequiredTheme, ResponsiveValue, Scale, ShadowProps, SpaceProps, type StyleFn, type StyleObject, type SystemConfig, TLengthStyledSystem, Theme, ThemeValue, type Transform, TypographyProps, 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, textStyle, top, typography, variant, verticalAlign, width, zIndex };
100
+ 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 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, 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 SystemConfig, TLengthStyledSystem, TextAlignProps, TextColorProps, TextShadowProps, TextStyleProps, Theme, ThemeValue, TopProps, type Transform, TypographyProps, 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, themeGet as default, themeGet, 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, textStyle, top, typography, variant, verticalAlign, width, zIndex };