@tamagui/web 1.88.3 → 1.88.5

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 (112) hide show
  1. package/dist/cjs/createComponent.js.map +1 -1
  2. package/dist/cjs/createComponent.native.js.map +1 -1
  3. package/dist/cjs/helpers/getSplitStyles.js +22 -3
  4. package/dist/cjs/helpers/getSplitStyles.js.map +1 -1
  5. package/dist/cjs/helpers/getSplitStyles.native.js.map +1 -1
  6. package/dist/cjs/interfaces/KeyTypes.js +14 -0
  7. package/dist/cjs/interfaces/KeyTypes.js.map +6 -0
  8. package/dist/cjs/interfaces/KeyTypes.native.js +15 -0
  9. package/dist/cjs/interfaces/KeyTypes.native.js.map +6 -0
  10. package/dist/cjs/interfaces/TamaguiComponentEvents.js +14 -0
  11. package/dist/cjs/interfaces/TamaguiComponentEvents.js.map +6 -0
  12. package/dist/cjs/interfaces/TamaguiComponentEvents.native.js +15 -0
  13. package/dist/cjs/interfaces/TamaguiComponentEvents.native.js.map +6 -0
  14. package/dist/cjs/interfaces/TamaguiComponentPropsBaseBase.js +14 -0
  15. package/dist/cjs/interfaces/TamaguiComponentPropsBaseBase.js.map +6 -0
  16. package/dist/cjs/interfaces/TamaguiComponentPropsBaseBase.native.js +15 -0
  17. package/dist/cjs/interfaces/TamaguiComponentPropsBaseBase.native.js.map +6 -0
  18. package/dist/cjs/interfaces/TamaguiComponentState.js +14 -0
  19. package/dist/cjs/interfaces/TamaguiComponentState.js.map +6 -0
  20. package/dist/cjs/interfaces/TamaguiComponentState.native.js +15 -0
  21. package/dist/cjs/interfaces/TamaguiComponentState.native.js.map +6 -0
  22. package/dist/cjs/interfaces/WebOnlyPressEvents.js +14 -0
  23. package/dist/cjs/interfaces/WebOnlyPressEvents.js.map +6 -0
  24. package/dist/cjs/interfaces/WebOnlyPressEvents.native.js +15 -0
  25. package/dist/cjs/interfaces/WebOnlyPressEvents.native.js.map +6 -0
  26. package/dist/cjs/internalWithTheme.js +1 -1
  27. package/dist/cjs/internalWithTheme.js.map +1 -1
  28. package/dist/cjs/internalWithTheme.native.js +1 -1
  29. package/dist/cjs/internalWithTheme.native.js.map +1 -1
  30. package/dist/cjs/types.js +3 -1
  31. package/dist/cjs/types.js.map +1 -1
  32. package/dist/cjs/types.native.js +8 -1
  33. package/dist/cjs/types.native.js.map +1 -1
  34. package/dist/cjs/views/View.js.map +1 -1
  35. package/dist/cjs/views/View.native.js.map +1 -1
  36. package/dist/esm/createComponent.js.map +1 -1
  37. package/dist/esm/createComponent.native.js.map +1 -1
  38. package/dist/esm/helpers/getSplitStyles.js +22 -3
  39. package/dist/esm/helpers/getSplitStyles.js.map +1 -1
  40. package/dist/esm/helpers/getSplitStyles.native.js.map +1 -1
  41. package/dist/esm/interfaces/KeyTypes.js +1 -0
  42. package/dist/esm/interfaces/KeyTypes.js.map +6 -0
  43. package/dist/esm/interfaces/KeyTypes.native.js +15 -0
  44. package/dist/esm/interfaces/KeyTypes.native.js.map +6 -0
  45. package/dist/esm/interfaces/TamaguiComponentEvents.js +1 -0
  46. package/dist/esm/interfaces/TamaguiComponentEvents.js.map +6 -0
  47. package/dist/esm/interfaces/TamaguiComponentEvents.native.js +15 -0
  48. package/dist/esm/interfaces/TamaguiComponentEvents.native.js.map +6 -0
  49. package/dist/esm/interfaces/TamaguiComponentPropsBaseBase.js +1 -0
  50. package/dist/esm/interfaces/TamaguiComponentPropsBaseBase.js.map +6 -0
  51. package/dist/esm/interfaces/TamaguiComponentPropsBaseBase.native.js +15 -0
  52. package/dist/esm/interfaces/TamaguiComponentPropsBaseBase.native.js.map +6 -0
  53. package/dist/esm/interfaces/TamaguiComponentState.js +1 -0
  54. package/dist/esm/interfaces/TamaguiComponentState.js.map +6 -0
  55. package/dist/esm/interfaces/TamaguiComponentState.native.js +15 -0
  56. package/dist/esm/interfaces/TamaguiComponentState.native.js.map +6 -0
  57. package/dist/esm/interfaces/WebOnlyPressEvents.js +1 -0
  58. package/dist/esm/interfaces/WebOnlyPressEvents.js.map +6 -0
  59. package/dist/esm/interfaces/WebOnlyPressEvents.native.js +15 -0
  60. package/dist/esm/interfaces/WebOnlyPressEvents.native.js.map +6 -0
  61. package/dist/esm/internalWithTheme.js +1 -1
  62. package/dist/esm/internalWithTheme.js.map +1 -1
  63. package/dist/esm/internalWithTheme.native.js +1 -1
  64. package/dist/esm/internalWithTheme.native.js.map +1 -1
  65. package/dist/esm/types.js +2 -0
  66. package/dist/esm/types.js.map +2 -2
  67. package/dist/esm/types.native.js +8 -1
  68. package/dist/esm/types.native.js.map +1 -1
  69. package/dist/esm/views/View.js.map +1 -1
  70. package/dist/esm/views/View.native.js.map +1 -1
  71. package/package.json +10 -10
  72. package/src/createComponent.tsx +6 -11
  73. package/src/defaultComponentState.tsx +1 -1
  74. package/src/helpers/getSplitStyles.tsx +29 -6
  75. package/src/hooks/useProps.tsx +2 -2
  76. package/src/interfaces/KeyTypes.tsx +79 -0
  77. package/src/interfaces/TamaguiComponentEvents.tsx +18 -0
  78. package/src/interfaces/TamaguiComponentPropsBaseBase.tsx +202 -0
  79. package/src/interfaces/TamaguiComponentState.tsx +15 -0
  80. package/src/interfaces/WebOnlyPressEvents.tsx +17 -0
  81. package/src/internalWithTheme.tsx +4 -8
  82. package/src/setupHooks.ts +2 -2
  83. package/src/types.tsx +23 -354
  84. package/src/views/Stack.tsx +2 -2
  85. package/src/views/View.tsx +4 -2
  86. package/types/createComponent.d.ts +3 -3
  87. package/types/createComponent.d.ts.map +1 -1
  88. package/types/defaultComponentState.d.ts +1 -1
  89. package/types/defaultComponentState.d.ts.map +1 -1
  90. package/types/helpers/getSplitStyles.d.ts +2 -1
  91. package/types/helpers/getSplitStyles.d.ts.map +1 -1
  92. package/types/hooks/useProps.d.ts +2 -2
  93. package/types/hooks/useProps.d.ts.map +1 -1
  94. package/types/interfaces/KeyTypes.d.ts +4 -0
  95. package/types/interfaces/KeyTypes.d.ts.map +1 -0
  96. package/types/interfaces/TamaguiComponentEvents.d.ts +19 -0
  97. package/types/interfaces/TamaguiComponentEvents.d.ts.map +1 -0
  98. package/types/interfaces/TamaguiComponentPropsBaseBase.d.ts +81 -0
  99. package/types/interfaces/TamaguiComponentPropsBaseBase.d.ts.map +1 -0
  100. package/types/interfaces/TamaguiComponentState.d.ts +14 -0
  101. package/types/interfaces/TamaguiComponentState.d.ts.map +1 -0
  102. package/types/interfaces/WebOnlyPressEvents.d.ts +17 -0
  103. package/types/interfaces/WebOnlyPressEvents.d.ts.map +1 -0
  104. package/types/internalWithTheme.d.ts.map +1 -1
  105. package/types/setupHooks.d.ts +3 -1
  106. package/types/setupHooks.d.ts.map +1 -1
  107. package/types/types.d.ts +22 -144
  108. package/types/types.d.ts.map +1 -1
  109. package/types/views/Stack.d.ts +2 -2
  110. package/types/views/Stack.d.ts.map +1 -1
  111. package/types/views/View.d.ts +4 -3
  112. package/types/views/View.d.ts.map +1 -1
@@ -0,0 +1,15 @@
1
+ import { GroupState } from '../types'
2
+
3
+ export type TamaguiComponentState = {
4
+ hover: boolean
5
+ press: boolean
6
+ pressIn: boolean
7
+ focus: boolean
8
+ unmounted: boolean | 'should-enter'
9
+ animation?: null | {
10
+ style?: any
11
+ avoidClasses?: boolean
12
+ }
13
+ // for groups:
14
+ group?: Record<string, GroupState>
15
+ }
@@ -0,0 +1,17 @@
1
+ import type { PressableProps } from 'react-native'
2
+ import { DivAttributes } from '../types'
3
+
4
+ export interface WebOnlyPressEvents {
5
+ onPress?: PressableProps['onPress']
6
+ onLongPress?: PressableProps['onLongPress']
7
+ onPressIn?: PressableProps['onPress']
8
+ onPressOut?: PressableProps['onPress']
9
+ onHoverIn?: DivAttributes['onMouseEnter']
10
+ onHoverOut?: DivAttributes['onMouseLeave']
11
+ onMouseEnter?: DivAttributes['onMouseEnter']
12
+ onMouseLeave?: DivAttributes['onMouseLeave']
13
+ onMouseDown?: DivAttributes['onMouseDown']
14
+ onMouseUp?: DivAttributes['onMouseUp']
15
+ onFocus?: DivAttributes['onFocus']
16
+ onBlur?: DivAttributes['onBlur']
17
+ }
@@ -1,13 +1,9 @@
1
- import { useMemo } from 'react'
2
-
3
1
  import { useTheme } from './hooks/useTheme'
4
2
 
5
3
  /** internal: this is for tamagui babel plugin usage only */
6
4
 
7
- export const internalWithTheme = (Component: any, styleProvider: any) => {
8
- return (props) => {
9
- const { expressions, ...rest } = props
10
- const theme = useTheme()
11
- return <Component style={styleProvider(theme, props.expressions)} {...rest} />
12
- }
5
+ export const internalWithTheme = (Component: any, styleProvider: any) => (props) => {
6
+ const { expressions, ...rest } = props
7
+ const theme = useTheme()
8
+ return <Component style={styleProvider(theme, expressions)} {...rest} />
13
9
  }
package/src/setupHooks.ts CHANGED
@@ -3,11 +3,11 @@ import { RefObject } from 'react'
3
3
  import {
4
4
  GetStyleResult,
5
5
  StaticConfig,
6
- TamaguiComponentEvents,
7
- TamaguiComponentState,
8
6
  TamaguiComponentStateRef,
9
7
  TamaguiElement,
10
8
  } from './types'
9
+ import { TamaguiComponentState } from './interfaces/TamaguiComponentState'
10
+ import { TamaguiComponentEvents } from './interfaces/TamaguiComponentEvents'
11
11
 
12
12
  export const hooks: InternalHooks = {}
13
13
 
package/src/types.tsx CHANGED
@@ -10,7 +10,6 @@ import {
10
10
  RefObject,
11
11
  } from 'react'
12
12
  import type {
13
- PressableProps,
14
13
  Text as RNText,
15
14
  TextProps as ReactTextProps,
16
15
  TextStyle,
@@ -23,9 +22,15 @@ import type { Variable } from './createVariable'
23
22
  import { StyledContext } from './helpers/createStyledContext'
24
23
  import { CSSColorNames } from './interfaces/CSSColorNames'
25
24
  import { RNOnlyProps } from './interfaces/RNExclusiveTypes'
26
- import { Role } from './interfaces/Role'
27
25
  import type { LanguageContextType } from './views/FontLanguage.types'
28
26
  import type { ThemeProviderProps } from './views/ThemeProvider'
27
+ import { TamaguiComponentState } from './interfaces/TamaguiComponentState'
28
+ import { WebOnlyPressEvents } from './interfaces/WebOnlyPressEvents'
29
+ import { TamaguiComponentPropsBaseBase } from './interfaces/TamaguiComponentPropsBaseBase'
30
+ import { SizeKeys, SpaceKeys, ColorKeys } from './interfaces/KeyTypes'
31
+
32
+ export * from './interfaces/KeyTypes'
33
+ export * from './interfaces/TamaguiComponentState'
29
34
 
30
35
  export type { MediaStyleObject, StyleObject } from '@tamagui/helpers'
31
36
 
@@ -40,221 +45,6 @@ export type TamaguiTextElement = HTMLElement | RNText
40
45
 
41
46
  export type DebugProp = boolean | 'break' | 'verbose' | 'visualize' | 'profile'
42
47
 
43
- export type TamaguiComponentPropsBaseBase = {
44
- target?: string
45
-
46
- /**
47
- * When truthy passes through all props to a single child element, and avoids rendering its own element.
48
- * Must pass just one child React element that will receive all the props.
49
- *
50
- * The option "except-style" will avoid passing any style related props.
51
- *
52
- * The option "web" will map all React Native style props to web props (onPress becomes onClick).
53
- *
54
- * The option "except-style-web" combines the except-style and web options.
55
- *
56
- */
57
- asChild?: boolean | 'except-style' | 'except-style-web' | 'web'
58
-
59
- dangerouslySetInnerHTML?: { __html: string }
60
- children?: any | any[]
61
-
62
- debug?: DebugProp
63
-
64
- disabled?: boolean
65
-
66
- /**
67
- * Same as the web className property, useful for applying styles from CSS on web only
68
- */
69
- className?: string
70
-
71
- /**
72
- * If given a theme it will only apply to this element, instead of passing down to children
73
- */
74
- themeShallow?: boolean
75
-
76
- themeInverse?: boolean
77
-
78
- /**
79
- * Same as the web id property for setting a uid on an element
80
- */
81
- id?: string
82
-
83
- /**
84
- * Controls the output tag on web
85
- * {@see https://developer.mozilla.org/en-US/docs/Web/HTML/Element}
86
- */
87
- tag?:
88
- | (string & {})
89
- | 'address'
90
- | 'article'
91
- | 'aside'
92
- | 'footer'
93
- | 'header'
94
- | 'h1'
95
- | 'h2'
96
- | 'h3'
97
- | 'h4'
98
- | 'h5'
99
- | 'h6'
100
- | 'main'
101
- | 'nav'
102
- | 'section'
103
- | 'search'
104
- | 'blockquote'
105
- | 'dd'
106
- | 'div'
107
- | 'dl'
108
- | 'dt'
109
- | 'figcaption'
110
- | 'figure'
111
- | 'hr'
112
- | 'li'
113
- | 'ol'
114
- | 'ul'
115
- | 'p'
116
- | 'pre'
117
- | 'a'
118
- | 'abbr'
119
- | 'p'
120
- | 'b'
121
- | 'abbr'
122
- | 'bdi'
123
- | 'bdo'
124
- | 'br'
125
- | 'cite'
126
- | 'code'
127
- | 'data'
128
- | 'dfn'
129
- | 'em'
130
- | 'i'
131
- | 'kbd'
132
- | 'mark'
133
- | 'q'
134
- | 'rp'
135
- | 'rt'
136
- | 'rtc'
137
- | 'ruby'
138
- | 's'
139
- | 'samp'
140
- | 'small'
141
- | 'span'
142
- | 'strong'
143
- | 'sub'
144
- | 'sup'
145
- | 'time'
146
- | 'u'
147
- | 'var'
148
- | 'wbr'
149
- | 'area'
150
- | 'audio'
151
- | 'img'
152
- | 'map'
153
- | 'track'
154
- | 'video'
155
- | 'embed'
156
- | 'object'
157
- | 'param'
158
- | 'picture'
159
- | 'source'
160
- | 'canvas'
161
- | 'noscript'
162
- | 'script'
163
- | 'del'
164
- | 'ins'
165
- | 'caption'
166
- | 'col'
167
- | 'colgroup'
168
- | 'table'
169
- | 'thead'
170
- | 'tbody'
171
- | 'td'
172
- | 'th'
173
- | 'tr'
174
- | 'button'
175
- | 'datalist'
176
- | 'fieldset'
177
- | 'form'
178
- | 'input'
179
- | 'label'
180
- | 'legend'
181
- | 'meter'
182
- | 'optgroup'
183
- | 'option'
184
- | 'output'
185
- | 'progress'
186
- | 'select'
187
- | 'textarea'
188
- | 'details'
189
- | 'dialog'
190
- | 'menu'
191
- | 'summary'
192
- | 'template'
193
-
194
- /**
195
- * Applies a theme to this element
196
- */
197
- theme?: ThemeName | null
198
-
199
- /**
200
- * Marks this component as a group for use in styling children based on parents named group
201
- * See: https://tamagui.dev/docs/intro/props
202
- */
203
- group?: GroupNames
204
-
205
- /**
206
- * Works only alongside group, when children of the group are using container based sizing on native you can hide them until parent is measured.
207
- * See: https://tamagui.dev/docs/intro/props
208
- */
209
- untilMeasured?: 'hide' | 'show'
210
-
211
- /**
212
- * Equivalent to "name" property on styled() for automatically applying a theme
213
- */
214
- componentName?: string
215
-
216
- /**
217
- * Used for controlling the order of focus with keyboard or assistive device enavigation
218
- * See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
219
- */
220
- tabIndex?: string | number
221
-
222
- /**
223
- * Equivalent to role="" attribute on web for accessibility
224
- */
225
- role?: Role
226
-
227
- /**
228
- * Disable all compiler optimization
229
- */
230
- disableOptimization?: boolean
231
-
232
- /**
233
- * Forces the pseudo style state to be on
234
- */
235
- forceStyle?: 'hover' | 'press' | 'focus'
236
-
237
- /**
238
- * Disables className output of styles, instead using only inline styles
239
- */
240
- disableClassName?: boolean
241
- }
242
-
243
- export interface WebOnlyPressEvents {
244
- onPress?: PressableProps['onPress']
245
- onLongPress?: PressableProps['onLongPress']
246
- onPressIn?: PressableProps['onPress']
247
- onPressOut?: PressableProps['onPress']
248
- onHoverIn?: DivAttributes['onMouseEnter']
249
- onHoverOut?: DivAttributes['onMouseLeave']
250
- onMouseEnter?: DivAttributes['onMouseEnter']
251
- onMouseLeave?: DivAttributes['onMouseLeave']
252
- onMouseDown?: DivAttributes['onMouseDown']
253
- onMouseUp?: DivAttributes['onMouseUp']
254
- onFocus?: DivAttributes['onFocus']
255
- onBlur?: DivAttributes['onBlur']
256
- }
257
-
258
48
  export interface TamaguiComponentPropsBase
259
49
  extends TamaguiComponentPropsBaseBase,
260
50
  WebOnlyPressEvents {}
@@ -285,7 +75,7 @@ export type TamaguiProjectInfo = {
285
75
 
286
76
  // base props that are accepted by createComponent (additional to react-native-web)
287
77
 
288
- type DivAttributes = HTMLAttributes<HTMLDivElement>
78
+ export type DivAttributes = HTMLAttributes<HTMLDivElement>
289
79
 
290
80
  export type ReactComponentWithRef<Props, Ref> = ForwardRefExoticComponent<
291
81
  Props & RefAttributes<Ref>
@@ -653,19 +443,17 @@ type GetAltThemeNames<S> =
653
443
  | (S extends `${string}_${infer Alt}` ? GetAltThemeNames<Alt> : S)
654
444
  | S
655
445
 
656
- export type SpacerPropsBase = {
657
- size?: SpaceValue
446
+ export type SpacerUniqueProps = {
447
+ size?: SpaceValue | number
658
448
  flex?: boolean | number
659
- direction?: SpaceDirection | 'unset'
449
+ direction?: SpaceDirection
660
450
  }
661
451
 
662
- type SpacerOwnProps = SpacerPropsBase &
663
- //
664
- WithThemeShorthandsPseudosMedia<SpacerPropsBase>
452
+ export interface SpacerStyleProps
453
+ extends Omit<StackStyleBase, keyof SpacerUniqueProps>,
454
+ SpacerUniqueProps {}
665
455
 
666
- export type SpacerProps = Omit<StackProps, 'flex' | 'direction' | 'size'> &
667
- //
668
- SpacerOwnProps
456
+ export type SpacerProps = WithThemeShorthandsPseudosMedia<SpacerStyleProps>
669
457
 
670
458
  type AllowedValueSettingBase =
671
459
  | boolean
@@ -772,7 +560,7 @@ export type TamaguiSettings = TamaguiConfig['settings']
772
560
  export type BaseStyleProps = {
773
561
  [Key in keyof TextStylePropsBase]?: TextStyleProps[Key] | GetThemeValueForKey<Key>
774
562
  } & {
775
- [Key in keyof StackStylePropsBase]?: StackStyleProps[Key] | GetThemeValueForKey<Key>
563
+ [Key in keyof StackStyleBase]?: StackStyle[Key] | GetThemeValueForKey<Key>
776
564
  }
777
565
 
778
566
  export type CreateTamaguiProps = {
@@ -1460,7 +1248,7 @@ interface OverrideNonStyledProps
1460
1248
  display?: 'inherit' | 'none' | 'inline' | 'block' | 'contents' | 'flex' | 'inline-flex'
1461
1249
  }
1462
1250
 
1463
- export interface StackStylePropsBase
1251
+ export interface StackStyleBase
1464
1252
  extends Omit<ViewStyle, keyof OverrideNonStyledProps | 'elevation'>,
1465
1253
  TransformStyleProps,
1466
1254
  ExtraStyleProps,
@@ -1501,9 +1289,9 @@ export interface StackNonStyleProps
1501
1289
  style?: StyleProp<LooseCombinedObjects<React.CSSProperties, ViewStyle>>
1502
1290
  }
1503
1291
 
1504
- export type StackStyleProps = WithThemeShorthandsPseudosMedia<StackStylePropsBase>
1292
+ export type StackStyle = WithThemeShorthandsPseudosMedia<StackStyleBase>
1505
1293
 
1506
- export type StackProps = StackNonStyleProps & StackStyleProps
1294
+ export type StackProps = StackNonStyleProps & StackStyle
1507
1295
 
1508
1296
  //
1509
1297
  // Text props
@@ -1598,12 +1386,6 @@ export type TamaguiComponent<
1598
1386
  __tama: [Props, Ref, NonStyledProps, BaseStyles, VariantProps, ParentStaticProperties]
1599
1387
  }
1600
1388
 
1601
- export type GetStyledProps<A extends StylableComponent> = A extends {
1602
- __tama: [any, any, any, infer BaseStyles, infer VariantProps, any]
1603
- }
1604
- ? BaseStyles & VariantProps
1605
- : GetProps<A>
1606
-
1607
1389
  export type InferGenericComponentProps<A> = A extends ComponentType<infer Props>
1608
1390
  ? Props
1609
1391
  : A extends new (
@@ -1648,7 +1430,7 @@ export type GetBaseStyles<A, B> = A extends {
1648
1430
  ? C
1649
1431
  : B extends { isText: true }
1650
1432
  ? TextStylePropsBase
1651
- : StackStylePropsBase
1433
+ : StackStyleBase
1652
1434
 
1653
1435
  export type GetStyledVariants<A> = A extends {
1654
1436
  __tama: [any, any, any, any, infer B, any]
@@ -1692,7 +1474,7 @@ export type StaticComponentObject<
1692
1474
  export type TamaguiComponentExpectingVariants<
1693
1475
  Props = {},
1694
1476
  Variants extends Object = {},
1695
- > = TamaguiComponent<Props, any, any, Variants>
1477
+ > = TamaguiComponent<Props, any, any, any, Variants>
1696
1478
 
1697
1479
  export type TamaguiProviderProps = Partial<Omit<ThemeProviderProps, 'children'>> & {
1698
1480
  config: TamaguiInternalConfig
@@ -1899,7 +1681,7 @@ export type GetStyleableProps<
1899
1681
  ? GetFinalProps<{}, BaseStyles & VariantProps>
1900
1682
  : Props
1901
1683
  : WithThemeShorthandsPseudosMedia<
1902
- IsText extends true ? TextStylePropsBase : StackStylePropsBase
1684
+ IsText extends true ? TextStylePropsBase : StackStyleBase
1903
1685
  >
1904
1686
 
1905
1687
  export type VariantDefinitionFromProps<MyProps, Val> = MyProps extends Object
@@ -2029,100 +1811,6 @@ export type ThemeVariantSpreadFunction<A extends PropLike> = VariantSpreadFuncti
2029
1811
  * --------------------------------------------
2030
1812
  */
2031
1813
 
2032
- export type SizeKeys =
2033
- | 'width'
2034
- | 'height'
2035
- | 'minWidth'
2036
- | 'minHeight'
2037
- | 'maxWidth'
2038
- | 'maxHeight'
2039
- | 'shadowRadius'
2040
-
2041
- export type ColorKeys =
2042
- | 'color'
2043
- | 'backgroundColor'
2044
- | 'borderColor'
2045
- | 'borderBottomColor'
2046
- | 'borderTopColor'
2047
- | 'borderLeftColor'
2048
- | 'borderRightColor'
2049
- | 'shadowColor'
2050
- | 'outlineColor'
2051
- | 'textShadowColor'
2052
- | 'borderBlockColor'
2053
- | 'borderBlockEndColor'
2054
- | 'borderBlockStartColor'
2055
-
2056
- export type SpaceKeys =
2057
- | 'space'
2058
- | 'padding'
2059
- | 'paddingHorizontal'
2060
- | 'paddingVertical'
2061
- | 'paddingLeft'
2062
- | 'paddingTop'
2063
- | 'paddingBottom'
2064
- | 'paddingLeft'
2065
- | 'paddingRight'
2066
- | 'paddingEnd'
2067
- | 'paddingStart'
2068
- | 'margin'
2069
- | 'marginHorizontal'
2070
- | 'marginVertical'
2071
- | 'marginLeft'
2072
- | 'marginTop'
2073
- | 'marginBottom'
2074
- | 'marginLeft'
2075
- | 'marginRight'
2076
- | 'marginEnd'
2077
- | 'marginStart'
2078
- | 'x'
2079
- | 'y'
2080
- | 'gap'
2081
- | 'rowGap'
2082
- | 'columnGap'
2083
- | 'scale'
2084
- | 'scaleX'
2085
- | 'scaleY'
2086
- | 'borderTopEndRadius'
2087
- | 'borderTopLeftRadius'
2088
- | 'borderTopRightRadius'
2089
- | 'borderTopStartRadius'
2090
- | 'borderBottomEndRadius'
2091
- | 'borderBottomLeftRadius'
2092
- | 'borderBottomRightRadius'
2093
- | 'borderBottomStartRadius'
2094
- | 'borderBottomWidth'
2095
- | 'borderLeftWidth'
2096
- | 'borderRadius'
2097
- | 'borderRightWidth'
2098
- | 'borderTopEndRadius'
2099
- | 'borderTopLeftRadius'
2100
- | 'borderTopRightRadius'
2101
- | 'borderEndWidth'
2102
- | 'borderStartWidth'
2103
- | 'borderTopStartRadius'
2104
- | 'borderTopWidth'
2105
- | 'borderWidth'
2106
- | 'left'
2107
- | 'top'
2108
- | 'right'
2109
- | 'bottom'
2110
- | 'shadowOffset'
2111
-
2112
- export type TamaguiComponentState = {
2113
- hover: boolean
2114
- press: boolean
2115
- pressIn: boolean
2116
- focus: boolean
2117
- unmounted: boolean | 'should-enter'
2118
- animation?: null | {
2119
- style?: any
2120
- avoidClasses?: boolean
2121
- }
2122
- // for groups:
2123
- group?: Record<string, GroupState>
2124
- }
2125
-
2126
1814
  export type ResolveVariableAs = 'auto' | 'value' | 'variable' | 'none' | 'web'
2127
1815
 
2128
1816
  export type SplitStyleProps = {
@@ -2248,7 +1936,7 @@ export type UseAnimationHook = (props: {
2248
1936
  onDidAnimate?: any
2249
1937
  delay?: number
2250
1938
  }) => null | {
2251
- style?: StackStylePropsBase | StackStylePropsBase[]
1939
+ style?: StackStyleBase | StackStyleBase[]
2252
1940
  }
2253
1941
 
2254
1942
  export type GestureReponderEvent = Exclude<
@@ -2276,25 +1964,6 @@ export type GetStyleResult = {
2276
1964
 
2277
1965
  export type ClassNamesObject = Record<string, string>
2278
1966
 
2279
- export type TamaguiComponentEvents = {
2280
- cancelable?: boolean | undefined
2281
- disabled?: any
2282
- hitSlop?: any
2283
- delayLongPress?: any
2284
- delayPressIn?: any
2285
- delayPressOut?: any
2286
- focusable?: any
2287
- minPressDuration?: number | undefined
2288
- onPressIn: ((e: any) => void) | undefined
2289
- onPress: ((e: any) => void) | undefined
2290
- onLongPress?: ((e: any) => void) | undefined
2291
- onMouseEnter?: ((e: any) => void) | undefined
2292
- onMouseLeave?: ((e: any) => void) | undefined
2293
- onPressOut: ((e: any) => void) | undefined
2294
- onFocus?: ((e: any) => void) | undefined
2295
- onBlur?: ((e: any) => void) | undefined
2296
- }
2297
-
2298
1967
  export type ModifyTamaguiComponentStyleProps<
2299
1968
  Comp extends TamaguiComponent,
2300
1969
  ChangedProps extends Object,
@@ -5,7 +5,7 @@ import { createComponent } from '../createComponent'
5
5
  import type {
6
6
  StackNonStyleProps,
7
7
  StackProps,
8
- StackStylePropsBase,
8
+ StackStyleBase,
9
9
  TamaguiElement,
10
10
  } from '../types'
11
11
 
@@ -15,7 +15,7 @@ export const Stack = createComponent<
15
15
  StackProps,
16
16
  Stack,
17
17
  StackNonStyleProps,
18
- StackStylePropsBase
18
+ StackStyleBase
19
19
  >({
20
20
  acceptsClassName: true,
21
21
  defaultProps: stackDefaultStyles,
@@ -5,14 +5,16 @@ import { createComponent } from '../createComponent'
5
5
  import type {
6
6
  StackNonStyleProps,
7
7
  StackProps,
8
- StackStylePropsBase,
8
+ StackStyle,
9
+ StackStyleBase,
9
10
  TamaguiElement,
10
11
  } from '../types'
11
12
 
12
13
  export type View = TamaguiElement
13
14
  export type ViewProps = StackProps
14
15
  export type ViewNonStyleProps = StackNonStyleProps
15
- export type ViewStylePropsBase = StackStylePropsBase
16
+ export type ViewStylePropsBase = StackStyleBase
17
+ export type ViewStyle = StackStyle
16
18
 
17
19
  export const View = createComponent<
18
20
  StackProps,
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
- import { DebugProp, SpaceDirection, SpaceValue, SpacerProps, SpacerPropsBase, StackNonStyleProps, StackProps, StackStylePropsBase, StaticConfig, TamaguiComponent, TamaguiElement, TextProps } from './types';
2
+ import { DebugProp, SpaceDirection, SpaceValue, SpacerProps, SpacerStyleProps, StackNonStyleProps, StaticConfig, TamaguiComponent, TamaguiElement } from './types';
3
3
  export declare const mouseUps: Set<Function>;
4
- export declare function createComponent<ComponentPropTypes extends StackProps | TextProps = {}, Ref extends TamaguiElement = TamaguiElement, BaseProps = never, BaseStyles extends Object = never>(staticConfig: StaticConfig): TamaguiComponent<ComponentPropTypes, Ref, BaseProps, BaseStyles, void>;
4
+ export declare function createComponent<ComponentPropTypes extends Record<string, any> = {}, Ref extends TamaguiElement = TamaguiElement, BaseProps = never, BaseStyles extends Object = never>(staticConfig: StaticConfig): TamaguiComponent<ComponentPropTypes, Ref, BaseProps, BaseStyles, void>;
5
5
  export declare function Unspaced(props: {
6
6
  children?: any;
7
7
  }): any;
8
8
  export declare namespace Unspaced {
9
9
  var isUnspaced: boolean;
10
10
  }
11
- export declare const Spacer: TamaguiComponent<SpacerProps, TamaguiElement, StackNonStyleProps, StackStylePropsBase & SpacerPropsBase, void>;
11
+ export declare const Spacer: TamaguiComponent<SpacerProps, TamaguiElement, StackNonStyleProps, SpacerStyleProps, void>;
12
12
  export type SpacedChildrenProps = {
13
13
  isZStack?: boolean;
14
14
  children?: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../src/createComponent.tsx"],"names":[],"mappings":"AAIA,OAAO,KAYN,MAAM,OAAO,CAAA;AAuBd,OAAO,EAEL,SAAS,EAMT,cAAc,EACd,UAAU,EACV,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,mBAAmB,EACnB,YAAY,EAEZ,gBAAgB,EAIhB,cAAc,EAEd,SAAS,EAKV,MAAM,SAAS,CAAA;AAiBhB,eAAO,MAAM,QAAQ,eAAsB,CAAA;AA6D3C,wBAAgB,eAAe,CAC7B,kBAAkB,SAAS,UAAU,GAAG,SAAS,GAAG,EAAE,EACtD,GAAG,SAAS,cAAc,GAAG,cAAc,EAC3C,SAAS,GAAG,KAAK,EACjB,UAAU,SAAS,MAAM,GAAG,KAAK,EACjC,YAAY,EAAE,YAAY,0EAirC3B;AAsBD,wBAAgB,QAAQ,CAAC,KAAK,EAAE;IAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;CAAE,OAEjD;yBAFe,QAAQ;;;AAkBxB,eAAO,MAAM,MAAM,gHA2CjB,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC5B,SAAS,CAAC,EAAE,cAAc,GAAG,OAAO,CAAA;IACpC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB,CAAA;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,mBAiGxD"}
1
+ {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../src/createComponent.tsx"],"names":[],"mappings":"AAIA,OAAO,KAYN,MAAM,OAAO,CAAA;AAuBd,OAAO,EAEL,SAAS,EAMT,cAAc,EACd,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAElB,YAAY,EAEZ,gBAAgB,EAEhB,cAAc,EAMf,MAAM,SAAS,CAAA;AAiBhB,eAAO,MAAM,QAAQ,eAAsB,CAAA;AA6D3C,wBAAgB,eAAe,CAC7B,kBAAkB,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,EAAE,EACnD,GAAG,SAAS,cAAc,GAAG,cAAc,EAC3C,SAAS,GAAG,KAAK,EACjB,UAAU,SAAS,MAAM,GAAG,KAAK,EACjC,YAAY,EAAE,YAAY,0EAirC3B;AAsBD,wBAAgB,QAAQ,CAAC,KAAK,EAAE;IAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;CAAE,OAEjD;yBAFe,QAAQ;;;AAkBxB,eAAO,MAAM,MAAM,2FA0CjB,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC5B,SAAS,CAAC,EAAE,cAAc,GAAG,OAAO,CAAA;IACpC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB,CAAA;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,mBAiGxD"}
@@ -1,4 +1,4 @@
1
- import { TamaguiComponentState } from './types';
1
+ import { TamaguiComponentState } from './interfaces/TamaguiComponentState';
2
2
  export declare const defaultComponentState: TamaguiComponentState;
3
3
  export declare const defaultComponentStateMounted: TamaguiComponentState;
4
4
  export declare const defaultComponentStateShouldEnter: TamaguiComponentState;
@@ -1 +1 @@
1
- {"version":3,"file":"defaultComponentState.d.ts","sourceRoot":"","sources":["../src/defaultComponentState.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAE/C,eAAO,MAAM,qBAAqB,EAAE,qBAMnC,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,qBAG1C,CAAA;AAED,eAAO,MAAM,gCAAgC,EAAE,qBAG9C,CAAA"}
1
+ {"version":3,"file":"defaultComponentState.d.ts","sourceRoot":"","sources":["../src/defaultComponentState.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAA;AAE1E,eAAO,MAAM,qBAAqB,EAAE,qBAMnC,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,qBAG1C,CAAA;AAED,eAAO,MAAM,gCAAgC,EAAE,qBAG9C,CAAA"}
@@ -1,4 +1,5 @@
1
- import type { ComponentContextI, DebugProp, GetStyleResult, GetStyleState, SplitStyleProps, StaticConfig, TamaguiComponentState, TextStyleProps, ThemeParsed } from '../types';
1
+ import type { ComponentContextI, DebugProp, GetStyleResult, GetStyleState, SplitStyleProps, StaticConfig, TextStyleProps, ThemeParsed } from '../types';
2
+ import type { TamaguiComponentState } from '../interfaces/TamaguiComponentState';
2
3
  export type SplitStyles = ReturnType<typeof getSplitStyles>;
3
4
  export type SplitStyleResult = ReturnType<typeof getSplitStyles>;
4
5
  type StyleSplitter = (props: {
@@ -1 +1 @@
1
- {"version":3,"file":"getSplitStyles.d.ts","sourceRoot":"","sources":["../../src/helpers/getSplitStyles.tsx"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAEV,iBAAiB,EACjB,SAAS,EACT,cAAc,EACd,aAAa,EAOb,eAAe,EACf,YAAY,EAEZ,qBAAqB,EAErB,cAAc,EACd,WAAW,EAEZ,MAAM,UAAU,CAAA;AA4BjB,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAMhE,KAAK,aAAa,GAAG,CACnB,KAAK,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,EAC7B,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,WAAW,EAClB,SAAS,EAAE,MAAM,EACjB,cAAc,EAAE,qBAAqB,EACrC,UAAU,EAAE,eAAe,EAC3B,iBAAiB,CAAC,EAAE,cAAc,GAAG,IAAI,EACzC,OAAO,CAAC,EAAE,iBAAiB,EAE3B,WAAW,CAAC,EAAE,MAAM,EACpB,KAAK,CAAC,EAAE,SAAS,KACd,cAAc,CAAA;AAEnB,eAAO,MAAM,UAAU,MAAM,CAAA;AA+B7B,eAAO,MAAM,cAAc,EAAE,aAooC5B,CAAA;AA2DD,eAAO,MAAM,WAAW,eACV,aAAa,UACjB,MAAM,WACL,MAAM,wBACO,OAAO,KAC5B,cA2BF,CAAA;AAqBD,eAAO,MAAM,cAAc,EAAE,aAQ5B,CAAA"}
1
+ {"version":3,"file":"getSplitStyles.d.ts","sourceRoot":"","sources":["../../src/helpers/getSplitStyles.tsx"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAEV,iBAAiB,EACjB,SAAS,EACT,cAAc,EACd,aAAa,EAOb,eAAe,EACf,YAAY,EAGZ,cAAc,EACd,WAAW,EAEZ,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAA;AA4BhF,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAMhE,KAAK,aAAa,GAAG,CACnB,KAAK,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,EAC7B,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,WAAW,EAClB,SAAS,EAAE,MAAM,EACjB,cAAc,EAAE,qBAAqB,EACrC,UAAU,EAAE,eAAe,EAC3B,iBAAiB,CAAC,EAAE,cAAc,GAAG,IAAI,EACzC,OAAO,CAAC,EAAE,iBAAiB,EAE3B,WAAW,CAAC,EAAE,MAAM,EACpB,KAAK,CAAC,EAAE,SAAS,KACd,cAAc,CAAA;AAEnB,eAAO,MAAM,UAAU,MAAM,CAAA;AA+B7B,eAAO,MAAM,cAAc,EAAE,aAooC5B,CAAA;AA2DD,eAAO,MAAM,WAAW,eACV,aAAa,UACjB,MAAM,WACL,MAAM,wBACO,OAAO,KAC5B,cA2BF,CAAA;AAqBD,eAAO,MAAM,cAAc,EAAE,aAQ5B,CAAA"}
@@ -1,4 +1,4 @@
1
- import { SplitStyleProps, StackStyleProps, StaticConfig, ThemeParsed, UseMediaState } from '../types';
1
+ import { SplitStyleProps, StackStyle, StaticConfig, ThemeParsed, UseMediaState } from '../types';
2
2
  type UsePropsOptions = Pick<SplitStyleProps, 'noExpand' | 'noNormalize' | 'noClassNames' | 'resolveValues'> & {
3
3
  disableExpandShorthands?: boolean;
4
4
  forComponent?: {
@@ -8,7 +8,7 @@ type UsePropsOptions = Pick<SplitStyleProps, 'noExpand' | 'noNormalize' | 'noCla
8
8
  export type PropsWithoutMediaStyles<A> = {
9
9
  [Key in keyof A extends `$${string}` ? never : keyof A]?: A[Key];
10
10
  };
11
- type StyleLikeObject = (StackStyleProps & Record<string, any>) | Object;
11
+ type StyleLikeObject = (StackStyle & Record<string, any>) | Object;
12
12
  /**
13
13
  * Returns props and style as a single object, expanding and merging shorthands and media queries.
14
14
  *
@@ -1 +1 @@
1
- {"version":3,"file":"useProps.d.ts","sourceRoot":"","sources":["../../src/hooks/useProps.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,eAAe,EACf,eAAe,EACf,YAAY,EACZ,WAAW,EACX,aAAa,EACd,MAAM,UAAU,CAAA;AAKjB,KAAK,eAAe,GAAG,IAAI,CACzB,eAAe,EACf,UAAU,GAAG,aAAa,GAAG,cAAc,GAAG,eAAe,CAC9D,GAAG;IACF,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,YAAY,CAAC,EAAE;QAAE,YAAY,EAAE,YAAY,CAAA;KAAE,CAAA;CAC9C,CAAA;AAED,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI;KAEtC,GAAG,IAAI,MAAM,CAAC,SAAS,IAAI,MAAM,EAAE,GAAG,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC;CACjE,CAAA;AAED,KAAK,eAAe,GAAG,CAAC,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,MAAM,CAAA;AAEvE;;;;;KAKK;AACL,wBAAgB,QAAQ,CAAC,CAAC,SAAS,eAAe,EAChD,KAAK,EAAE,CAAC,EACR,IAAI,CAAC,EAAE,eAAe,GACrB,uBAAuB,CAAC,CAAC,CAAC,CAW5B;AAED;;;;;KAKK;AACL,wBAAgB,QAAQ,CAAC,CAAC,SAAS,eAAe,EAChD,KAAK,EAAE,CAAC,EACR,IAAI,CAAC,EAAE,eAAe,GACrB,uBAAuB,CAAC,CAAC,CAAC,CAE5B;AAED;;;;;KAKK;AACL,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,eAAe,EACxD,KAAK,EAAE,CAAC,EACR,IAAI,CAAC,EAAE,eAAe,GACrB,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAAE,uBAAuB,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,aAAa,CAAC,CAyBtF"}
1
+ {"version":3,"file":"useProps.d.ts","sourceRoot":"","sources":["../../src/hooks/useProps.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,eAAe,EACf,UAAU,EACV,YAAY,EACZ,WAAW,EACX,aAAa,EACd,MAAM,UAAU,CAAA;AAKjB,KAAK,eAAe,GAAG,IAAI,CACzB,eAAe,EACf,UAAU,GAAG,aAAa,GAAG,cAAc,GAAG,eAAe,CAC9D,GAAG;IACF,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,YAAY,CAAC,EAAE;QAAE,YAAY,EAAE,YAAY,CAAA;KAAE,CAAA;CAC9C,CAAA;AAED,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI;KAEtC,GAAG,IAAI,MAAM,CAAC,SAAS,IAAI,MAAM,EAAE,GAAG,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC;CACjE,CAAA;AAED,KAAK,eAAe,GAAG,CAAC,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,MAAM,CAAA;AAElE;;;;;KAKK;AACL,wBAAgB,QAAQ,CAAC,CAAC,SAAS,eAAe,EAChD,KAAK,EAAE,CAAC,EACR,IAAI,CAAC,EAAE,eAAe,GACrB,uBAAuB,CAAC,CAAC,CAAC,CAW5B;AAED;;;;;KAKK;AACL,wBAAgB,QAAQ,CAAC,CAAC,SAAS,eAAe,EAChD,KAAK,EAAE,CAAC,EACR,IAAI,CAAC,EAAE,eAAe,GACrB,uBAAuB,CAAC,CAAC,CAAC,CAE5B;AAED;;;;;KAKK;AACL,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,eAAe,EACxD,KAAK,EAAE,CAAC,EACR,IAAI,CAAC,EAAE,eAAe,GACrB,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAAE,uBAAuB,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,aAAa,CAAC,CAyBtF"}
@@ -0,0 +1,4 @@
1
+ export type SizeKeys = 'width' | 'height' | 'minWidth' | 'minHeight' | 'maxWidth' | 'maxHeight' | 'shadowRadius';
2
+ export type ColorKeys = 'color' | 'backgroundColor' | 'borderColor' | 'borderBottomColor' | 'borderTopColor' | 'borderLeftColor' | 'borderRightColor' | 'shadowColor' | 'outlineColor' | 'textShadowColor' | 'borderBlockColor' | 'borderBlockEndColor' | 'borderBlockStartColor';
3
+ export type SpaceKeys = 'space' | 'padding' | 'paddingHorizontal' | 'paddingVertical' | 'paddingLeft' | 'paddingTop' | 'paddingBottom' | 'paddingLeft' | 'paddingRight' | 'paddingEnd' | 'paddingStart' | 'margin' | 'marginHorizontal' | 'marginVertical' | 'marginLeft' | 'marginTop' | 'marginBottom' | 'marginLeft' | 'marginRight' | 'marginEnd' | 'marginStart' | 'x' | 'y' | 'gap' | 'rowGap' | 'columnGap' | 'scale' | 'scaleX' | 'scaleY' | 'borderTopEndRadius' | 'borderTopLeftRadius' | 'borderTopRightRadius' | 'borderTopStartRadius' | 'borderBottomEndRadius' | 'borderBottomLeftRadius' | 'borderBottomRightRadius' | 'borderBottomStartRadius' | 'borderBottomWidth' | 'borderLeftWidth' | 'borderRadius' | 'borderRightWidth' | 'borderTopEndRadius' | 'borderTopLeftRadius' | 'borderTopRightRadius' | 'borderEndWidth' | 'borderStartWidth' | 'borderTopStartRadius' | 'borderTopWidth' | 'borderWidth' | 'left' | 'top' | 'right' | 'bottom' | 'shadowOffset';
4
+ //# sourceMappingURL=KeyTypes.d.ts.map