@soroush.tech/styled-system 5.2.0 → 5.3.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 (67) hide show
  1. package/dist/background.d.cts +3 -2
  2. package/dist/background.d.mts +3 -2
  3. package/dist/border.d.cts +3 -2
  4. package/dist/border.d.mts +3 -2
  5. package/dist/color.d.cts +3 -2
  6. package/dist/color.d.mts +3 -2
  7. package/dist/core.d.cts +1 -1
  8. package/dist/core.d.mts +1 -1
  9. package/dist/flexbox.d.cts +3 -2
  10. package/dist/flexbox.d.mts +3 -2
  11. package/dist/grid.d.cts +3 -2
  12. package/dist/grid.d.mts +3 -2
  13. package/dist/{index-50KH4Mo7.d.cts → index--0QXsrzB.d.mts} +1 -2
  14. package/dist/{index-8PSQ0vkP.d.cts → index-5FNmSnEI.d.cts} +1 -2
  15. package/dist/{index-C3_fScux.d.mts → index-B4DiqzRr.d.cts} +1 -2
  16. package/dist/{index-DZaFk5pk.d.cts → index-BDKAW1u8.d.mts} +1 -2
  17. package/dist/{index-9ZhIewzy.d.mts → index-BFzj-f22.d.cts} +1 -2
  18. package/dist/{index-Nc-10syf.d.cts → index-BPHA_boa.d.mts} +1 -2
  19. package/dist/{index-BS9GuhQN.d.cts → index-Bd7E_7bm.d.cts} +1 -2
  20. package/dist/{index-CarHCWLQ.d.cts → index-BrXslH97.d.cts} +1 -2
  21. package/dist/index-BvNoOnuk.d.mts +5 -0
  22. package/dist/{index-D8EyRZ5p.d.cts → index-C6pWum7i.d.cts} +1 -1
  23. package/dist/{index-D8EyRZ5p.d.mts → index-C6pWum7i.d.mts} +1 -1
  24. package/dist/index-CTguR0fU.d.cts +6 -0
  25. package/dist/index-C_ikENGU.d.mts +6 -0
  26. package/dist/{index-BBTVE4EM.d.mts → index-CeQ5ox80.d.mts} +1 -2
  27. package/dist/{index-CrUx2vIP.d.mts → index-Cq-vX0It.d.mts} +1 -2
  28. package/dist/{index-CsS_gcI9.d.mts → index-CuQx9h4Q.d.cts} +1 -2
  29. package/dist/{index-DPWkvooj.d.mts → index-CvbdNFVK.d.cts} +1 -2
  30. package/dist/{index-CX2jWEGJ.d.mts → index-D7-Ctdwn.d.mts} +1 -2
  31. package/dist/index-D9W3cc9s.d.mts +5 -0
  32. package/dist/{index-Bx7IxKu-.d.mts → index-DLcnFzWU.d.mts} +1 -2
  33. package/dist/{index-z86wOHTb.d.cts → index-DS-HZ740.d.cts} +1 -2
  34. package/dist/index-Dxn97XnB.d.cts +5 -0
  35. package/dist/{index-BoMacn6F.d.cts → index-Dz8xde7b.d.cts} +1 -2
  36. package/dist/{index-C13YRARN.d.mts → index-DzPnzx9p.d.mts} +1 -2
  37. package/dist/{index-DVR6hZCd.d.cts → index-F79chYlR.d.mts} +1 -2
  38. package/dist/index-HNU5ME-U.d.cts +5 -0
  39. package/dist/index.cjs +2 -0
  40. package/dist/index.d.cts +15 -166
  41. package/dist/index.d.mts +15 -166
  42. package/dist/index.mjs +2 -1
  43. package/dist/layout.d.cts +3 -2
  44. package/dist/layout.d.mts +3 -2
  45. package/dist/position.d.cts +3 -2
  46. package/dist/position.d.mts +3 -2
  47. package/dist/shadow.d.cts +3 -2
  48. package/dist/shadow.d.mts +3 -2
  49. package/dist/space.d.cts +3 -2
  50. package/dist/space.d.mts +3 -2
  51. package/dist/theme-get-CwPt9eDy.mjs +5 -0
  52. package/dist/theme-get-D0fH7Jrd.cjs +10 -0
  53. package/dist/theme-get.cjs +3 -6
  54. package/dist/theme-get.d.cts +1 -5
  55. package/dist/theme-get.d.mts +1 -5
  56. package/dist/theme-get.mjs +1 -4
  57. package/dist/types-CCujn9-2.d.cts +304 -0
  58. package/dist/types-CCujn9-2.d.mts +304 -0
  59. package/dist/typography.d.cts +3 -2
  60. package/dist/typography.d.mts +3 -2
  61. package/dist/variant.d.cts +3 -2
  62. package/dist/variant.d.mts +3 -2
  63. package/package.json +1 -1
  64. package/dist/index-Ce09s0FQ.d.cts +0 -6
  65. package/dist/index-D3t1Lyte.d.mts +0 -6
  66. package/dist/index-J3PebPto.d.mts +0 -6
  67. package/dist/index-j3E1mxCg.d.cts +0 -6
package/dist/index.d.mts 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.mjs";
2
- import { t as background } from "./index-9ZhIewzy.mjs";
3
- import { t as border } from "./index-Bx7IxKu-.mjs";
4
- import { t as color } from "./index-D3t1Lyte.mjs";
5
- import { t as flexbox } from "./index-CX2jWEGJ.mjs";
6
- import { t as grid } from "./index-J3PebPto.mjs";
7
- import { n as padding, r as space, t as margin } from "./index-C3_fScux.mjs";
8
- import { t as layout } from "./index-CsS_gcI9.mjs";
9
- import { t as typography } from "./index-C13YRARN.mjs";
10
- import { t as position } from "./index-CrUx2vIP.mjs";
11
- import { t as shadow } from "./index-DPWkvooj.mjs";
12
- import { a as variant, i as textStyle, n as buttonStyle, r as colorStyle } from "./index-BBTVE4EM.mjs";
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.mjs";
2
+ import { t as background } from "./index-BDKAW1u8.mjs";
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.mjs";
4
+ import { t as border } from "./index-DLcnFzWU.mjs";
5
+ import { t as color } from "./index-D9W3cc9s.mjs";
6
+ import { t as flexbox } from "./index-D7-Ctdwn.mjs";
7
+ import { t as grid } from "./index-BvNoOnuk.mjs";
8
+ import { n as padding, r as space, t as margin } from "./index--0QXsrzB.mjs";
9
+ import { t as layout } from "./index-BPHA_boa.mjs";
10
+ import { t as typography } from "./index-DzPnzx9p.mjs";
11
+ import { t as position } from "./index-Cq-vX0It.mjs";
12
+ import { t as shadow } from "./index-F79chYlR.mjs";
13
+ import { a as variant, i as textStyle, n as buttonStyle, r as colorStyle } from "./index-CeQ5ox80.mjs";
14
+ import { t as themeGet } from "./index-C_ikENGU.mjs";
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, 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, themeGet, top, typography, variant, verticalAlign, width, zIndex };
package/dist/index.mjs CHANGED
@@ -10,6 +10,7 @@ import { t as typography } from "./typography-CptBXSy0.mjs";
10
10
  import { n as padding, r as space, t as margin } from "./space-DEf9-0r9.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-DQA9pqwW.mjs";
13
+ import { t as themeGet } from "./theme-get-CwPt9eDy.mjs";
13
14
  //#region src/style/style.ts
14
15
  const style = ({ prop, cssProperty, alias, key, transformValue, scale, properties }) => {
15
16
  const config = {};
@@ -95,4 +96,4 @@ const right = positionFns.right;
95
96
  const bottom = positionFns.bottom;
96
97
  const left = positionFns.left;
97
98
  //#endregion
98
- 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, textStyle, top, typography, variant, verticalAlign, width, zIndex };
99
+ 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, textStyle, themeGet, top, typography, variant, verticalAlign, width, zIndex };
package/dist/layout.d.cts CHANGED
@@ -1,2 +1,3 @@
1
- import { t as layout } from "./index-Nc-10syf.cjs";
2
- export { layout as default, layout };
1
+ import { $ as LayoutProps, At as VerticalAlignProps, Y as HeightProps, at as MaxWidthProps, dt as OverflowProps, it as MaxHeightProps, jt as WidthProps, ot as MinHeightProps, st as MinWidthProps, w as DisplayProps, yt as SizeProps } from "./types-CCujn9-2.cjs";
2
+ import { t as layout } from "./index-CuQx9h4Q.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 };
package/dist/layout.d.mts CHANGED
@@ -1,2 +1,3 @@
1
- import { t as layout } from "./index-CsS_gcI9.mjs";
2
- export { layout as default, layout };
1
+ import { $ as LayoutProps, At as VerticalAlignProps, Y as HeightProps, at as MaxWidthProps, dt as OverflowProps, it as MaxHeightProps, jt as WidthProps, ot as MinHeightProps, st as MinWidthProps, w as DisplayProps, yt as SizeProps } from "./types-CCujn9-2.mjs";
2
+ import { t as layout } from "./index-BPHA_boa.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,2 +1,3 @@
1
- import { t as position } from "./index-z86wOHTb.cjs";
2
- export { position as default, position };
1
+ import { Mt as ZIndexProps, Ot as TopProps, et as LeftProps, gt as RightProps, pt as PositionProps, y as BottomProps } from "./types-CCujn9-2.cjs";
2
+ import { t as position } from "./index-DS-HZ740.cjs";
3
+ export { type BottomProps, type LeftProps, type PositionProps, type RightProps, type TopProps, type ZIndexProps, position as default, position };
@@ -1,2 +1,3 @@
1
- import { t as position } from "./index-CrUx2vIP.mjs";
2
- export { position as default, position };
1
+ import { Mt as ZIndexProps, Ot as TopProps, et as LeftProps, gt as RightProps, pt as PositionProps, y as BottomProps } from "./types-CCujn9-2.mjs";
2
+ import { t as position } from "./index-Cq-vX0It.mjs";
3
+ export { type BottomProps, type LeftProps, type PositionProps, type RightProps, type TopProps, type ZIndexProps, position as default, position };
package/dist/shadow.d.cts CHANGED
@@ -1,2 +1,3 @@
1
- import { t as shadow } from "./index-DVR6hZCd.cjs";
2
- export { shadow as default, shadow };
1
+ import { b as BoxShadowProps, vt as ShadowProps, wt as TextShadowProps } from "./types-CCujn9-2.cjs";
2
+ import { t as shadow } from "./index-CvbdNFVK.cjs";
3
+ export { type BoxShadowProps, type ShadowProps, type TextShadowProps, shadow as default, shadow };
package/dist/shadow.d.mts CHANGED
@@ -1,2 +1,3 @@
1
- import { t as shadow } from "./index-DPWkvooj.mjs";
2
- export { shadow as default, shadow };
1
+ import { b as BoxShadowProps, vt as ShadowProps, wt as TextShadowProps } from "./types-CCujn9-2.mjs";
2
+ import { t as shadow } from "./index-F79chYlR.mjs";
3
+ export { type BoxShadowProps, type ShadowProps, type TextShadowProps, shadow as default, shadow };
package/dist/space.d.cts CHANGED
@@ -1,2 +1,3 @@
1
- import { n as padding, r as space, t as margin } from "./index-50KH4Mo7.cjs";
2
- export { space as default, space, margin, padding };
1
+ import { bt as SpaceProps, ft as PaddingProps, rt as MarginProps } from "./types-CCujn9-2.cjs";
2
+ import { n as padding, r as space, t as margin } from "./index-B4DiqzRr.cjs";
3
+ export { type MarginProps, type PaddingProps, type SpaceProps, space as default, space, margin, padding };
package/dist/space.d.mts CHANGED
@@ -1,2 +1,3 @@
1
- import { n as padding, r as space, t as margin } from "./index-C3_fScux.mjs";
2
- export { space as default, space, margin, padding };
1
+ import { bt as SpaceProps, ft as PaddingProps, rt as MarginProps } from "./types-CCujn9-2.mjs";
2
+ import { n as padding, r as space, t as margin } from "./index--0QXsrzB.mjs";
3
+ export { type MarginProps, type PaddingProps, type SpaceProps, space as default, space, margin, padding };
@@ -0,0 +1,5 @@
1
+ import { get } from "./core.mjs";
2
+ //#region src/theme-get/theme-get.ts
3
+ const themeGet = (path, fallback = null) => (props) => get(props.theme, path, fallback);
4
+ //#endregion
5
+ export { themeGet as t };
@@ -0,0 +1,10 @@
1
+ const require_core = require("./core.cjs");
2
+ //#region src/theme-get/theme-get.ts
3
+ const themeGet = (path, fallback = null) => (props) => require_core.get(props.theme, path, fallback);
4
+ //#endregion
5
+ Object.defineProperty(exports, "themeGet", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return themeGet;
9
+ }
10
+ });
@@ -2,9 +2,6 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_core = require("./core.cjs");
6
- //#region src/theme-get/theme-get.ts
7
- const themeGet = (path, fallback = null) => (props) => require_core.get(props.theme, path, fallback);
8
- //#endregion
9
- exports.default = themeGet;
10
- exports.themeGet = themeGet;
5
+ const require_theme_get = require("./theme-get-D0fH7Jrd.cjs");
6
+ exports.default = require_theme_get.themeGet;
7
+ exports.themeGet = require_theme_get.themeGet;
@@ -1,6 +1,2 @@
1
- import { a as Props } from "./index-D8EyRZ5p.cjs";
2
-
3
- //#region src/theme-get/theme-get.d.ts
4
- declare const themeGet: (path: string, fallback?: unknown) => (props: Props) => unknown;
5
- //#endregion
1
+ import { t as themeGet } from "./index-CTguR0fU.cjs";
6
2
  export { themeGet as default, themeGet };
@@ -1,6 +1,2 @@
1
- import { a as Props } from "./index-D8EyRZ5p.mjs";
2
-
3
- //#region src/theme-get/theme-get.d.ts
4
- declare const themeGet: (path: string, fallback?: unknown) => (props: Props) => unknown;
5
- //#endregion
1
+ import { t as themeGet } from "./index-C_ikENGU.mjs";
6
2
  export { themeGet as default, themeGet };
@@ -1,5 +1,2 @@
1
- import { get } from "./core.mjs";
2
- //#region src/theme-get/theme-get.ts
3
- const themeGet = (path, fallback = null) => (props) => get(props.theme, path, fallback);
4
- //#endregion
1
+ import { t as themeGet } from "./theme-get-CwPt9eDy.mjs";
5
2
  export { themeGet as default, themeGet };