@tamagui/shapes 1.72.3 → 1.73.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,7 +24,8 @@ const Square = (0, import_web.styled)(import_stacks.ThemeableStack, {
24
24
  justifyContent: "center",
25
25
  variants: {
26
26
  size: {
27
- "...size": import_getShapeSize.getShapeSize
27
+ "...size": import_getShapeSize.getShapeSize,
28
+ ":number": import_getShapeSize.getShapeSize
28
29
  }
29
30
  }
30
31
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Square.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA+B,4BAC/B,aAAiC,yBAEjC,sBAA6B;AAEtB,MAAM,aAAS,mBAAO,8BAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA+B,4BAC/B,aAAiC,yBAEjC,sBAA6B;AAEtB,MAAM,aAAS,mBAAO,8BAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,MACX,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -25,7 +25,8 @@ const Square = (0, import_web.styled)(import_stacks.ThemeableStack, {
25
25
  justifyContent: "center",
26
26
  variants: {
27
27
  size: {
28
- "...size": import_getShapeSize.getShapeSize
28
+ "...size": import_getShapeSize.getShapeSize,
29
+ ":number": import_getShapeSize.getShapeSize
29
30
  }
30
31
  }
31
32
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Square.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA+B,4BAC/B,aAAiC,yBAEjC,sBAA6B;AAEtB,MAAM,aAAS,mBAAO,8BAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA+B,4BAC/B,aAAiC,yBAEjC,sBAA6B;AAEtB,MAAM,aAAS,mBAAO,8BAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,MACX,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -7,7 +7,8 @@ const Square = styled(ThemeableStack, {
7
7
  justifyContent: "center",
8
8
  variants: {
9
9
  size: {
10
- "...size": getShapeSize
10
+ "...size": getShapeSize,
11
+ ":number": getShapeSize
11
12
  }
12
13
  }
13
14
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Square.tsx"],
4
- "mappings": "AAAA,SAAS,sBAAsB;AAC/B,SAAmB,cAAc;AAEjC,SAAS,oBAAoB;AAEtB,MAAM,SAAS,OAAO,gBAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": "AAAA,SAAS,sBAAsB;AAC/B,SAAmB,cAAc;AAEjC,SAAS,oBAAoB;AAEtB,MAAM,SAAS,OAAO,gBAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,MACX,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -7,7 +7,8 @@ const Square = styled(ThemeableStack, {
7
7
  justifyContent: "center",
8
8
  variants: {
9
9
  size: {
10
- "...size": getShapeSize
10
+ "...size": getShapeSize,
11
+ ":number": getShapeSize
11
12
  }
12
13
  }
13
14
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Square.tsx"],
4
- "mappings": "AAAA,SAAS,sBAAsB;AAC/B,SAAmB,cAAc;AAEjC,SAAS,oBAAoB;AAEtB,MAAM,SAAS,OAAO,gBAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": "AAAA,SAAS,sBAAsB;AAC/B,SAAmB,cAAc;AAEjC,SAAS,oBAAoB;AAEtB,MAAM,SAAS,OAAO,gBAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,MACX,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -7,7 +7,8 @@ const Square = styled(ThemeableStack, {
7
7
  justifyContent: "center",
8
8
  variants: {
9
9
  size: {
10
- "...size": getShapeSize
10
+ "...size": getShapeSize,
11
+ ":number": getShapeSize
11
12
  }
12
13
  }
13
14
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Square.tsx"],
4
- "mappings": "AAAA,SAAS,sBAAsB;AAC/B,SAAmB,cAAc;AAEjC,SAAS,oBAAoB;AAEtB,MAAM,SAAS,OAAO,gBAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": "AAAA,SAAS,sBAAsB;AAC/B,SAAmB,cAAc;AAEjC,SAAS,oBAAoB;AAEtB,MAAM,SAAS,OAAO,gBAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,MACX,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
5
5
  "names": []
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/shapes",
3
- "version": "1.72.3",
3
+ "version": "1.73.1",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -31,14 +31,14 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@tamagui/stacks": "1.72.3",
35
- "@tamagui/web": "1.72.3"
34
+ "@tamagui/stacks": "1.73.1",
35
+ "@tamagui/web": "1.73.1"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": "*"
39
39
  },
40
40
  "devDependencies": {
41
- "@tamagui/build": "1.72.3",
41
+ "@tamagui/build": "1.73.1",
42
42
  "react": "^18.2.0"
43
43
  },
44
44
  "publishConfig": {
package/src/Square.tsx CHANGED
@@ -11,6 +11,7 @@ export const Square = styled(ThemeableStack, {
11
11
  variants: {
12
12
  size: {
13
13
  '...size': getShapeSize,
14
+ ':number': getShapeSize,
14
15
  },
15
16
  } as const,
16
17
  })
package/types/Circle.d.ts CHANGED
@@ -1,10 +1,35 @@
1
1
  /// <reference types="react" />
2
2
  import { GetProps } from '@tamagui/web';
3
- export declare const Circle: import("@tamagui/web").TamaguiComponent<(Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
3
+ export declare const Circle: import("@tamagui/web").TamaguiComponent<(Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
4
+ target?: string | undefined;
5
+ hitSlop?: number | import("react-native").Insets | null | undefined;
6
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
7
+ dangerouslySetInnerHTML?: {
8
+ __html: string;
9
+ } | undefined;
10
+ children?: any;
11
+ debug?: import("@tamagui/web").DebugProp | undefined;
12
+ disabled?: boolean | undefined;
13
+ className?: string | undefined;
14
+ themeShallow?: boolean | undefined;
15
+ id?: string | undefined;
16
+ tag?: string | undefined;
17
+ theme?: string | null | undefined;
18
+ group?: undefined;
19
+ untilMeasured?: "hide" | "show" | undefined;
20
+ componentName?: string | undefined;
21
+ tabIndex?: string | number | undefined;
22
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
23
+ disableOptimization?: boolean | undefined;
24
+ forceStyle?: "hover" | "press" | "focus" | undefined;
25
+ disableClassName?: boolean | undefined;
26
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
27
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
28
+ } & {
4
29
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
5
30
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
6
31
  readonly fullscreen?: boolean | undefined;
7
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
32
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
8
33
  } & {
9
34
  readonly backgrounded?: boolean | undefined;
10
35
  readonly radiused?: boolean | undefined;
@@ -18,12 +43,37 @@ export declare const Circle: import("@tamagui/web").TamaguiComponent<(Omit<impor
18
43
  readonly transparent?: boolean | undefined;
19
44
  readonly chromeless?: boolean | "all" | undefined;
20
45
  }, "size"> & {
21
- readonly size?: import("@tamagui/web").SizeTokens | undefined;
22
- } & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
46
+ readonly size?: number | import("@tamagui/web").SizeTokens | undefined;
47
+ } & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
48
+ target?: string | undefined;
49
+ hitSlop?: number | import("react-native").Insets | null | undefined;
50
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
51
+ dangerouslySetInnerHTML?: {
52
+ __html: string;
53
+ } | undefined;
54
+ children?: any;
55
+ debug?: import("@tamagui/web").DebugProp | undefined;
56
+ disabled?: boolean | undefined;
57
+ className?: string | undefined;
58
+ themeShallow?: boolean | undefined;
59
+ id?: string | undefined;
60
+ tag?: string | undefined;
61
+ theme?: string | null | undefined;
62
+ group?: undefined;
63
+ untilMeasured?: "hide" | "show" | undefined;
64
+ componentName?: string | undefined;
65
+ tabIndex?: string | number | undefined;
66
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
67
+ disableOptimization?: boolean | undefined;
68
+ forceStyle?: "hover" | "press" | "focus" | undefined;
69
+ disableClassName?: boolean | undefined;
70
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
71
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
72
+ } & {
23
73
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
24
74
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
25
75
  readonly fullscreen?: boolean | undefined;
26
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
76
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
27
77
  } & {
28
78
  readonly backgrounded?: boolean | undefined;
29
79
  readonly radiused?: boolean | undefined;
@@ -37,12 +87,37 @@ export declare const Circle: import("@tamagui/web").TamaguiComponent<(Omit<impor
37
87
  readonly transparent?: boolean | undefined;
38
88
  readonly chromeless?: boolean | "all" | undefined;
39
89
  }, "size"> & {
40
- readonly size?: import("@tamagui/web").SizeTokens | undefined;
41
- }>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
90
+ readonly size?: number | import("@tamagui/web").SizeTokens | undefined;
91
+ }>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
92
+ target?: string | undefined;
93
+ hitSlop?: number | import("react-native").Insets | null | undefined;
94
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
95
+ dangerouslySetInnerHTML?: {
96
+ __html: string;
97
+ } | undefined;
98
+ children?: any;
99
+ debug?: import("@tamagui/web").DebugProp | undefined;
100
+ disabled?: boolean | undefined;
101
+ className?: string | undefined;
102
+ themeShallow?: boolean | undefined;
103
+ id?: string | undefined;
104
+ tag?: string | undefined;
105
+ theme?: string | null | undefined;
106
+ group?: undefined;
107
+ untilMeasured?: "hide" | "show" | undefined;
108
+ componentName?: string | undefined;
109
+ tabIndex?: string | number | undefined;
110
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
111
+ disableOptimization?: boolean | undefined;
112
+ forceStyle?: "hover" | "press" | "focus" | undefined;
113
+ disableClassName?: boolean | undefined;
114
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
115
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
116
+ } & {
42
117
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
43
118
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
44
119
  readonly fullscreen?: boolean | undefined;
45
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
120
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
46
121
  } & {
47
122
  readonly backgrounded?: boolean | undefined;
48
123
  readonly radiused?: boolean | undefined;
@@ -56,12 +131,37 @@ export declare const Circle: import("@tamagui/web").TamaguiComponent<(Omit<impor
56
131
  readonly transparent?: boolean | undefined;
57
132
  readonly chromeless?: boolean | "all" | undefined;
58
133
  }, "size"> & {
59
- readonly size?: import("@tamagui/web").SizeTokens | undefined;
60
- }>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
134
+ readonly size?: number | import("@tamagui/web").SizeTokens | undefined;
135
+ }>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
136
+ target?: string | undefined;
137
+ hitSlop?: number | import("react-native").Insets | null | undefined;
138
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
139
+ dangerouslySetInnerHTML?: {
140
+ __html: string;
141
+ } | undefined;
142
+ children?: any;
143
+ debug?: import("@tamagui/web").DebugProp | undefined;
144
+ disabled?: boolean | undefined;
145
+ className?: string | undefined;
146
+ themeShallow?: boolean | undefined;
147
+ id?: string | undefined;
148
+ tag?: string | undefined;
149
+ theme?: string | null | undefined;
150
+ group?: undefined;
151
+ untilMeasured?: "hide" | "show" | undefined;
152
+ componentName?: string | undefined;
153
+ tabIndex?: string | number | undefined;
154
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
155
+ disableOptimization?: boolean | undefined;
156
+ forceStyle?: "hover" | "press" | "focus" | undefined;
157
+ disableClassName?: boolean | undefined;
158
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
159
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
160
+ } & {
61
161
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
62
162
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
63
163
  readonly fullscreen?: boolean | undefined;
64
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
164
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
65
165
  } & {
66
166
  readonly backgrounded?: boolean | undefined;
67
167
  readonly radiused?: boolean | undefined;
@@ -75,14 +175,39 @@ export declare const Circle: import("@tamagui/web").TamaguiComponent<(Omit<impor
75
175
  readonly transparent?: boolean | undefined;
76
176
  readonly chromeless?: boolean | "all" | undefined;
77
177
  } & {
78
- readonly size?: import("@tamagui/web").SizeTokens | undefined;
178
+ readonly size?: number | import("@tamagui/web").SizeTokens | undefined;
79
179
  }, string | number> & {
80
180
  [x: string]: undefined;
81
- } & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
181
+ } & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
182
+ target?: string | undefined;
183
+ hitSlop?: number | import("react-native").Insets | null | undefined;
184
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
185
+ dangerouslySetInnerHTML?: {
186
+ __html: string;
187
+ } | undefined;
188
+ children?: any;
189
+ debug?: import("@tamagui/web").DebugProp | undefined;
190
+ disabled?: boolean | undefined;
191
+ className?: string | undefined;
192
+ themeShallow?: boolean | undefined;
193
+ id?: string | undefined;
194
+ tag?: string | undefined;
195
+ theme?: string | null | undefined;
196
+ group?: undefined;
197
+ untilMeasured?: "hide" | "show" | undefined;
198
+ componentName?: string | undefined;
199
+ tabIndex?: string | number | undefined;
200
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
201
+ disableOptimization?: boolean | undefined;
202
+ forceStyle?: "hover" | "press" | "focus" | undefined;
203
+ disableClassName?: boolean | undefined;
204
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
205
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
206
+ } & {
82
207
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
83
208
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
84
209
  readonly fullscreen?: boolean | undefined;
85
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
210
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
86
211
  } & {
87
212
  readonly backgrounded?: boolean | undefined;
88
213
  readonly radiused?: boolean | undefined;
@@ -96,14 +221,39 @@ export declare const Circle: import("@tamagui/web").TamaguiComponent<(Omit<impor
96
221
  readonly transparent?: boolean | undefined;
97
222
  readonly chromeless?: boolean | "all" | undefined;
98
223
  } & {
99
- readonly size?: import("@tamagui/web").SizeTokens | undefined;
224
+ readonly size?: number | import("@tamagui/web").SizeTokens | undefined;
100
225
  }, string | number> & {
101
226
  [x: string]: undefined;
102
- }>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
227
+ }>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
228
+ target?: string | undefined;
229
+ hitSlop?: number | import("react-native").Insets | null | undefined;
230
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
231
+ dangerouslySetInnerHTML?: {
232
+ __html: string;
233
+ } | undefined;
234
+ children?: any;
235
+ debug?: import("@tamagui/web").DebugProp | undefined;
236
+ disabled?: boolean | undefined;
237
+ className?: string | undefined;
238
+ themeShallow?: boolean | undefined;
239
+ id?: string | undefined;
240
+ tag?: string | undefined;
241
+ theme?: string | null | undefined;
242
+ group?: undefined;
243
+ untilMeasured?: "hide" | "show" | undefined;
244
+ componentName?: string | undefined;
245
+ tabIndex?: string | number | undefined;
246
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
247
+ disableOptimization?: boolean | undefined;
248
+ forceStyle?: "hover" | "press" | "focus" | undefined;
249
+ disableClassName?: boolean | undefined;
250
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
251
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
252
+ } & {
103
253
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
104
254
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
105
255
  readonly fullscreen?: boolean | undefined;
106
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
256
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
107
257
  } & {
108
258
  readonly backgrounded?: boolean | undefined;
109
259
  readonly radiused?: boolean | undefined;
@@ -117,14 +267,39 @@ export declare const Circle: import("@tamagui/web").TamaguiComponent<(Omit<impor
117
267
  readonly transparent?: boolean | undefined;
118
268
  readonly chromeless?: boolean | "all" | undefined;
119
269
  } & {
120
- readonly size?: import("@tamagui/web").SizeTokens | undefined;
270
+ readonly size?: number | import("@tamagui/web").SizeTokens | undefined;
121
271
  }, string | number> & {
122
272
  [x: string]: undefined;
123
- }>>), import("@tamagui/web").TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
273
+ }>>), import("@tamagui/web").TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
274
+ target?: string | undefined;
275
+ hitSlop?: number | import("react-native").Insets | null | undefined;
276
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
277
+ dangerouslySetInnerHTML?: {
278
+ __html: string;
279
+ } | undefined;
280
+ children?: any;
281
+ debug?: import("@tamagui/web").DebugProp | undefined;
282
+ disabled?: boolean | undefined;
283
+ className?: string | undefined;
284
+ themeShallow?: boolean | undefined;
285
+ id?: string | undefined;
286
+ tag?: string | undefined;
287
+ theme?: string | null | undefined;
288
+ group?: undefined;
289
+ untilMeasured?: "hide" | "show" | undefined;
290
+ componentName?: string | undefined;
291
+ tabIndex?: string | number | undefined;
292
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
293
+ disableOptimization?: boolean | undefined;
294
+ forceStyle?: "hover" | "press" | "focus" | undefined;
295
+ disableClassName?: boolean | undefined;
296
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
297
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
298
+ } & {
124
299
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
125
300
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps, {
126
301
  readonly fullscreen?: boolean | undefined;
127
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
302
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
128
303
  } & {
129
304
  readonly backgrounded?: boolean | undefined;
130
305
  readonly radiused?: boolean | undefined;
@@ -138,22 +313,72 @@ export declare const Circle: import("@tamagui/web").TamaguiComponent<(Omit<impor
138
313
  readonly transparent?: boolean | undefined;
139
314
  readonly chromeless?: boolean | "all" | undefined;
140
315
  } & {
141
- readonly size?: import("@tamagui/web").SizeTokens | undefined;
316
+ readonly size?: number | import("@tamagui/web").SizeTokens | undefined;
142
317
  } & ({} | {
143
318
  [x: string]: undefined;
144
319
  }), {
145
320
  displayName: string | undefined;
146
- __baseProps: Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
321
+ __baseProps: Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
322
+ target?: string | undefined;
323
+ hitSlop?: number | import("react-native").Insets | null | undefined;
324
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
325
+ dangerouslySetInnerHTML?: {
326
+ __html: string;
327
+ } | undefined;
328
+ children?: any;
329
+ debug?: import("@tamagui/web").DebugProp | undefined;
330
+ disabled?: boolean | undefined;
331
+ className?: string | undefined;
332
+ themeShallow?: boolean | undefined;
333
+ id?: string | undefined;
334
+ tag?: string | undefined;
335
+ theme?: string | null | undefined;
336
+ group?: undefined;
337
+ untilMeasured?: "hide" | "show" | undefined;
338
+ componentName?: string | undefined;
339
+ tabIndex?: string | number | undefined;
340
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
341
+ disableOptimization?: boolean | undefined;
342
+ forceStyle?: "hover" | "press" | "focus" | undefined;
343
+ disableClassName?: boolean | undefined;
344
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
345
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
346
+ } & {
147
347
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
148
348
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & {
349
+ target?: string | undefined;
350
+ hitSlop?: number | import("react-native").Insets | null | undefined;
351
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
352
+ dangerouslySetInnerHTML?: {
353
+ __html: string;
354
+ } | undefined;
355
+ children?: any;
356
+ debug?: import("@tamagui/web").DebugProp | undefined;
357
+ disabled?: boolean | undefined;
358
+ className?: string | undefined;
359
+ themeShallow?: boolean | undefined;
360
+ id?: string | undefined;
361
+ tag?: string | undefined;
362
+ theme?: string | null | undefined;
363
+ group?: undefined;
364
+ untilMeasured?: "hide" | "show" | undefined;
365
+ componentName?: string | undefined;
366
+ tabIndex?: string | number | undefined;
367
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
368
+ disableOptimization?: boolean | undefined;
369
+ forceStyle?: "hover" | "press" | "focus" | undefined;
370
+ disableClassName?: boolean | undefined;
371
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
372
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
373
+ } & {
149
374
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
150
375
  };
151
376
  __variantProps: {
152
377
  readonly fullscreen?: boolean | undefined;
153
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
378
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
154
379
  } & {
155
380
  readonly fullscreen?: boolean | undefined;
156
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
381
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
157
382
  } & {
158
383
  readonly backgrounded?: boolean | undefined;
159
384
  readonly radiused?: boolean | undefined;
@@ -167,7 +392,7 @@ export declare const Circle: import("@tamagui/web").TamaguiComponent<(Omit<impor
167
392
  readonly transparent?: boolean | undefined;
168
393
  readonly chromeless?: boolean | "all" | undefined;
169
394
  } & {
170
- readonly size?: import("@tamagui/web").SizeTokens | undefined;
395
+ readonly size?: number | import("@tamagui/web").SizeTokens | undefined;
171
396
  };
172
397
  }>;
173
398
  export type CircleProps = GetProps<typeof Circle>;
@@ -1 +1 @@
1
- {"version":3,"file":"Circle.d.ts","sourceRoot":"","sources":["../src/Circle.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAU,MAAM,cAAc,CAAA;AAI/C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGjB,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA"}
1
+ {"version":3,"file":"Circle.d.ts","sourceRoot":"","sources":["../src/Circle.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAU,MAAM,cAAc,CAAA;AAI/C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGjB,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA"}
package/types/Square.d.ts CHANGED
@@ -1,10 +1,35 @@
1
1
  /// <reference types="react" />
2
2
  import { GetProps } from '@tamagui/web';
3
- export declare const Square: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
3
+ export declare const Square: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
4
+ target?: string | undefined;
5
+ hitSlop?: number | import("react-native").Insets | null | undefined;
6
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
7
+ dangerouslySetInnerHTML?: {
8
+ __html: string;
9
+ } | undefined;
10
+ children?: any;
11
+ debug?: import("@tamagui/web").DebugProp | undefined;
12
+ disabled?: boolean | undefined;
13
+ className?: string | undefined;
14
+ themeShallow?: boolean | undefined;
15
+ id?: string | undefined;
16
+ tag?: string | undefined;
17
+ theme?: string | null | undefined;
18
+ group?: undefined;
19
+ untilMeasured?: "hide" | "show" | undefined;
20
+ componentName?: string | undefined;
21
+ tabIndex?: string | number | undefined;
22
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
23
+ disableOptimization?: boolean | undefined;
24
+ forceStyle?: "hover" | "press" | "focus" | undefined;
25
+ disableClassName?: boolean | undefined;
26
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
27
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
28
+ } & {
4
29
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
5
30
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
6
31
  readonly fullscreen?: boolean | undefined;
7
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
32
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
8
33
  } & {
9
34
  readonly backgrounded?: boolean | undefined;
10
35
  readonly radiused?: boolean | undefined;
@@ -18,12 +43,37 @@ export declare const Square: import("@tamagui/web").TamaguiComponent<Omit<import
18
43
  readonly transparent?: boolean | undefined;
19
44
  readonly chromeless?: boolean | "all" | undefined;
20
45
  }, "size"> & {
21
- readonly size?: import("@tamagui/web").SizeTokens | undefined;
22
- } & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
46
+ readonly size?: number | import("@tamagui/web").SizeTokens | undefined;
47
+ } & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
48
+ target?: string | undefined;
49
+ hitSlop?: number | import("react-native").Insets | null | undefined;
50
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
51
+ dangerouslySetInnerHTML?: {
52
+ __html: string;
53
+ } | undefined;
54
+ children?: any;
55
+ debug?: import("@tamagui/web").DebugProp | undefined;
56
+ disabled?: boolean | undefined;
57
+ className?: string | undefined;
58
+ themeShallow?: boolean | undefined;
59
+ id?: string | undefined;
60
+ tag?: string | undefined;
61
+ theme?: string | null | undefined;
62
+ group?: undefined;
63
+ untilMeasured?: "hide" | "show" | undefined;
64
+ componentName?: string | undefined;
65
+ tabIndex?: string | number | undefined;
66
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
67
+ disableOptimization?: boolean | undefined;
68
+ forceStyle?: "hover" | "press" | "focus" | undefined;
69
+ disableClassName?: boolean | undefined;
70
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
71
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
72
+ } & {
23
73
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
24
74
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
25
75
  readonly fullscreen?: boolean | undefined;
26
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
76
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
27
77
  } & {
28
78
  readonly backgrounded?: boolean | undefined;
29
79
  readonly radiused?: boolean | undefined;
@@ -37,12 +87,37 @@ export declare const Square: import("@tamagui/web").TamaguiComponent<Omit<import
37
87
  readonly transparent?: boolean | undefined;
38
88
  readonly chromeless?: boolean | "all" | undefined;
39
89
  }, "size"> & {
40
- readonly size?: import("@tamagui/web").SizeTokens | undefined;
41
- }>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
90
+ readonly size?: number | import("@tamagui/web").SizeTokens | undefined;
91
+ }>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
92
+ target?: string | undefined;
93
+ hitSlop?: number | import("react-native").Insets | null | undefined;
94
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
95
+ dangerouslySetInnerHTML?: {
96
+ __html: string;
97
+ } | undefined;
98
+ children?: any;
99
+ debug?: import("@tamagui/web").DebugProp | undefined;
100
+ disabled?: boolean | undefined;
101
+ className?: string | undefined;
102
+ themeShallow?: boolean | undefined;
103
+ id?: string | undefined;
104
+ tag?: string | undefined;
105
+ theme?: string | null | undefined;
106
+ group?: undefined;
107
+ untilMeasured?: "hide" | "show" | undefined;
108
+ componentName?: string | undefined;
109
+ tabIndex?: string | number | undefined;
110
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
111
+ disableOptimization?: boolean | undefined;
112
+ forceStyle?: "hover" | "press" | "focus" | undefined;
113
+ disableClassName?: boolean | undefined;
114
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
115
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
116
+ } & {
42
117
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
43
118
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
44
119
  readonly fullscreen?: boolean | undefined;
45
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
120
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
46
121
  } & {
47
122
  readonly backgrounded?: boolean | undefined;
48
123
  readonly radiused?: boolean | undefined;
@@ -56,12 +131,37 @@ export declare const Square: import("@tamagui/web").TamaguiComponent<Omit<import
56
131
  readonly transparent?: boolean | undefined;
57
132
  readonly chromeless?: boolean | "all" | undefined;
58
133
  }, "size"> & {
59
- readonly size?: import("@tamagui/web").SizeTokens | undefined;
60
- }>>, import("@tamagui/web").TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
134
+ readonly size?: number | import("@tamagui/web").SizeTokens | undefined;
135
+ }>>, import("@tamagui/web").TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
136
+ target?: string | undefined;
137
+ hitSlop?: number | import("react-native").Insets | null | undefined;
138
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
139
+ dangerouslySetInnerHTML?: {
140
+ __html: string;
141
+ } | undefined;
142
+ children?: any;
143
+ debug?: import("@tamagui/web").DebugProp | undefined;
144
+ disabled?: boolean | undefined;
145
+ className?: string | undefined;
146
+ themeShallow?: boolean | undefined;
147
+ id?: string | undefined;
148
+ tag?: string | undefined;
149
+ theme?: string | null | undefined;
150
+ group?: undefined;
151
+ untilMeasured?: "hide" | "show" | undefined;
152
+ componentName?: string | undefined;
153
+ tabIndex?: string | number | undefined;
154
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
155
+ disableOptimization?: boolean | undefined;
156
+ forceStyle?: "hover" | "press" | "focus" | undefined;
157
+ disableClassName?: boolean | undefined;
158
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
159
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
160
+ } & {
61
161
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
62
162
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps, {
63
163
  readonly fullscreen?: boolean | undefined;
64
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
164
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
65
165
  } & {
66
166
  readonly backgrounded?: boolean | undefined;
67
167
  readonly radiused?: boolean | undefined;
@@ -75,20 +175,70 @@ export declare const Square: import("@tamagui/web").TamaguiComponent<Omit<import
75
175
  readonly transparent?: boolean | undefined;
76
176
  readonly chromeless?: boolean | "all" | undefined;
77
177
  } & {
78
- readonly size?: import("@tamagui/web").SizeTokens | undefined;
178
+ readonly size?: number | import("@tamagui/web").SizeTokens | undefined;
79
179
  }, {
80
180
  displayName: string | undefined;
81
- __baseProps: Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
181
+ __baseProps: Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
182
+ target?: string | undefined;
183
+ hitSlop?: number | import("react-native").Insets | null | undefined;
184
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
185
+ dangerouslySetInnerHTML?: {
186
+ __html: string;
187
+ } | undefined;
188
+ children?: any;
189
+ debug?: import("@tamagui/web").DebugProp | undefined;
190
+ disabled?: boolean | undefined;
191
+ className?: string | undefined;
192
+ themeShallow?: boolean | undefined;
193
+ id?: string | undefined;
194
+ tag?: string | undefined;
195
+ theme?: string | null | undefined;
196
+ group?: undefined;
197
+ untilMeasured?: "hide" | "show" | undefined;
198
+ componentName?: string | undefined;
199
+ tabIndex?: string | number | undefined;
200
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
201
+ disableOptimization?: boolean | undefined;
202
+ forceStyle?: "hover" | "press" | "focus" | undefined;
203
+ disableClassName?: boolean | undefined;
204
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
205
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
206
+ } & {
82
207
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
83
208
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & {
209
+ target?: string | undefined;
210
+ hitSlop?: number | import("react-native").Insets | null | undefined;
211
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
212
+ dangerouslySetInnerHTML?: {
213
+ __html: string;
214
+ } | undefined;
215
+ children?: any;
216
+ debug?: import("@tamagui/web").DebugProp | undefined;
217
+ disabled?: boolean | undefined;
218
+ className?: string | undefined;
219
+ themeShallow?: boolean | undefined;
220
+ id?: string | undefined;
221
+ tag?: string | undefined;
222
+ theme?: string | null | undefined;
223
+ group?: undefined;
224
+ untilMeasured?: "hide" | "show" | undefined;
225
+ componentName?: string | undefined;
226
+ tabIndex?: string | number | undefined;
227
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
228
+ disableOptimization?: boolean | undefined;
229
+ forceStyle?: "hover" | "press" | "focus" | undefined;
230
+ disableClassName?: boolean | undefined;
231
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
232
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
233
+ } & {
84
234
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
85
235
  };
86
236
  __variantProps: {
87
237
  readonly fullscreen?: boolean | undefined;
88
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
238
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
89
239
  } & {
90
240
  readonly fullscreen?: boolean | undefined;
91
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
241
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
92
242
  } & {
93
243
  readonly backgrounded?: boolean | undefined;
94
244
  readonly radiused?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Square.d.ts","sourceRoot":"","sources":["../src/Square.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAU,MAAM,cAAc,CAAA;AAI/C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUjB,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA"}
1
+ {"version":3,"file":"Square.d.ts","sourceRoot":"","sources":["../src/Square.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAU,MAAM,cAAc,CAAA;AAI/C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWjB,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA"}