@tamagui/button 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.
- package/dist/cjs/Button.js +25 -15
- package/dist/cjs/Button.js.map +1 -1
- package/dist/cjs/Button.native.js +25 -15
- package/dist/cjs/Button.native.js.map +1 -1
- package/dist/esm/Button.js +25 -15
- package/dist/esm/Button.js.map +1 -1
- package/dist/jsx/Button.js +25 -15
- package/dist/jsx/Button.js.map +1 -1
- package/dist/jsx/Button.native.js +25 -15
- package/dist/jsx/Button.native.js.map +1 -1
- package/package.json +7 -7
- package/src/Button.tsx +39 -27
- package/types/Button.d.ts +759 -41
- package/types/Button.d.ts.map +1 -1
package/types/Button.d.ts
CHANGED
|
@@ -37,11 +37,36 @@ type ButtonProps = TextParentStyles & GetProps<typeof ButtonFrame> & ThemeablePr
|
|
|
37
37
|
*/
|
|
38
38
|
unstyled?: boolean;
|
|
39
39
|
};
|
|
40
|
-
declare const ButtonFrame: 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").
|
|
40
|
+
declare const ButtonFrame: 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 & {
|
|
41
|
+
target?: string | undefined;
|
|
42
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
43
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
44
|
+
dangerouslySetInnerHTML?: {
|
|
45
|
+
__html: string;
|
|
46
|
+
} | undefined;
|
|
47
|
+
children?: any;
|
|
48
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
49
|
+
disabled?: boolean | undefined;
|
|
50
|
+
className?: string | undefined;
|
|
51
|
+
themeShallow?: boolean | undefined;
|
|
52
|
+
id?: string | undefined;
|
|
53
|
+
tag?: string | undefined;
|
|
54
|
+
theme?: string | null | undefined;
|
|
55
|
+
group?: undefined;
|
|
56
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
57
|
+
componentName?: string | undefined;
|
|
58
|
+
tabIndex?: string | number | undefined;
|
|
59
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
60
|
+
disableOptimization?: boolean | undefined;
|
|
61
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
62
|
+
disableClassName?: boolean | undefined;
|
|
63
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
64
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
65
|
+
} & {
|
|
41
66
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
42
67
|
} & 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<{
|
|
43
68
|
readonly fullscreen?: boolean | undefined;
|
|
44
|
-
readonly elevation?: SizeTokens | undefined;
|
|
69
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
45
70
|
} & {
|
|
46
71
|
readonly backgrounded?: boolean | undefined;
|
|
47
72
|
readonly radiused?: boolean | undefined;
|
|
@@ -59,11 +84,36 @@ declare const ButtonFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
|
|
|
59
84
|
readonly variant?: "outlined" | undefined;
|
|
60
85
|
readonly size?: SizeTokens | undefined;
|
|
61
86
|
readonly disabled?: boolean | undefined;
|
|
62
|
-
} & 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").
|
|
87
|
+
} & 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 & {
|
|
88
|
+
target?: string | undefined;
|
|
89
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
90
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
91
|
+
dangerouslySetInnerHTML?: {
|
|
92
|
+
__html: string;
|
|
93
|
+
} | undefined;
|
|
94
|
+
children?: any;
|
|
95
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
96
|
+
disabled?: boolean | undefined;
|
|
97
|
+
className?: string | undefined;
|
|
98
|
+
themeShallow?: boolean | undefined;
|
|
99
|
+
id?: string | undefined;
|
|
100
|
+
tag?: string | undefined;
|
|
101
|
+
theme?: string | null | undefined;
|
|
102
|
+
group?: undefined;
|
|
103
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
104
|
+
componentName?: string | undefined;
|
|
105
|
+
tabIndex?: string | number | undefined;
|
|
106
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
107
|
+
disableOptimization?: boolean | undefined;
|
|
108
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
109
|
+
disableClassName?: boolean | undefined;
|
|
110
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
111
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
112
|
+
} & {
|
|
63
113
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
64
114
|
} & 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<{
|
|
65
115
|
readonly fullscreen?: boolean | undefined;
|
|
66
|
-
readonly elevation?: SizeTokens | undefined;
|
|
116
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
67
117
|
} & {
|
|
68
118
|
readonly backgrounded?: boolean | undefined;
|
|
69
119
|
readonly radiused?: boolean | undefined;
|
|
@@ -81,11 +131,36 @@ declare const ButtonFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
|
|
|
81
131
|
readonly variant?: "outlined" | undefined;
|
|
82
132
|
readonly size?: SizeTokens | undefined;
|
|
83
133
|
readonly disabled?: boolean | undefined;
|
|
84
|
-
}>> & 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").
|
|
134
|
+
}>> & 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 & {
|
|
135
|
+
target?: string | undefined;
|
|
136
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
137
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
138
|
+
dangerouslySetInnerHTML?: {
|
|
139
|
+
__html: string;
|
|
140
|
+
} | undefined;
|
|
141
|
+
children?: any;
|
|
142
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
143
|
+
disabled?: boolean | undefined;
|
|
144
|
+
className?: string | undefined;
|
|
145
|
+
themeShallow?: boolean | undefined;
|
|
146
|
+
id?: string | undefined;
|
|
147
|
+
tag?: string | undefined;
|
|
148
|
+
theme?: string | null | undefined;
|
|
149
|
+
group?: undefined;
|
|
150
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
151
|
+
componentName?: string | undefined;
|
|
152
|
+
tabIndex?: string | number | undefined;
|
|
153
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
154
|
+
disableOptimization?: boolean | undefined;
|
|
155
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
156
|
+
disableClassName?: boolean | undefined;
|
|
157
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
158
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
159
|
+
} & {
|
|
85
160
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
86
161
|
} & 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<{
|
|
87
162
|
readonly fullscreen?: boolean | undefined;
|
|
88
|
-
readonly elevation?: SizeTokens | undefined;
|
|
163
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
89
164
|
} & {
|
|
90
165
|
readonly backgrounded?: boolean | undefined;
|
|
91
166
|
readonly radiused?: boolean | undefined;
|
|
@@ -103,11 +178,36 @@ declare const ButtonFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
|
|
|
103
178
|
readonly variant?: "outlined" | undefined;
|
|
104
179
|
readonly size?: SizeTokens | undefined;
|
|
105
180
|
readonly disabled?: boolean | undefined;
|
|
106
|
-
}>>, 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").
|
|
181
|
+
}>>, 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 & {
|
|
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
|
+
} & {
|
|
107
207
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
108
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, {
|
|
109
209
|
readonly fullscreen?: boolean | undefined;
|
|
110
|
-
readonly elevation?: SizeTokens | undefined;
|
|
210
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
111
211
|
} & {
|
|
112
212
|
readonly backgrounded?: boolean | undefined;
|
|
113
213
|
readonly radiused?: boolean | undefined;
|
|
@@ -127,17 +227,67 @@ declare const ButtonFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
|
|
|
127
227
|
readonly disabled?: boolean | undefined;
|
|
128
228
|
}, {
|
|
129
229
|
displayName: string | undefined;
|
|
130
|
-
__baseProps: Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").
|
|
230
|
+
__baseProps: Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
231
|
+
target?: string | undefined;
|
|
232
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
233
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
234
|
+
dangerouslySetInnerHTML?: {
|
|
235
|
+
__html: string;
|
|
236
|
+
} | undefined;
|
|
237
|
+
children?: any;
|
|
238
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
239
|
+
disabled?: boolean | undefined;
|
|
240
|
+
className?: string | undefined;
|
|
241
|
+
themeShallow?: boolean | undefined;
|
|
242
|
+
id?: string | undefined;
|
|
243
|
+
tag?: string | undefined;
|
|
244
|
+
theme?: string | null | undefined;
|
|
245
|
+
group?: undefined;
|
|
246
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
247
|
+
componentName?: string | undefined;
|
|
248
|
+
tabIndex?: string | number | undefined;
|
|
249
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
250
|
+
disableOptimization?: boolean | undefined;
|
|
251
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
252
|
+
disableClassName?: boolean | undefined;
|
|
253
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
254
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
255
|
+
} & {
|
|
131
256
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
132
257
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & {
|
|
258
|
+
target?: string | undefined;
|
|
259
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
260
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
261
|
+
dangerouslySetInnerHTML?: {
|
|
262
|
+
__html: string;
|
|
263
|
+
} | undefined;
|
|
264
|
+
children?: any;
|
|
265
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
266
|
+
disabled?: boolean | undefined;
|
|
267
|
+
className?: string | undefined;
|
|
268
|
+
themeShallow?: boolean | undefined;
|
|
269
|
+
id?: string | undefined;
|
|
270
|
+
tag?: string | undefined;
|
|
271
|
+
theme?: string | null | undefined;
|
|
272
|
+
group?: undefined;
|
|
273
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
274
|
+
componentName?: string | undefined;
|
|
275
|
+
tabIndex?: string | number | undefined;
|
|
276
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
277
|
+
disableOptimization?: boolean | undefined;
|
|
278
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
279
|
+
disableClassName?: boolean | undefined;
|
|
280
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
281
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
282
|
+
} & {
|
|
133
283
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
134
284
|
};
|
|
135
285
|
__variantProps: {
|
|
136
286
|
readonly fullscreen?: boolean | undefined;
|
|
137
|
-
readonly elevation?: SizeTokens | undefined;
|
|
287
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
138
288
|
} & {
|
|
139
289
|
readonly fullscreen?: boolean | undefined;
|
|
140
|
-
readonly elevation?: SizeTokens | undefined;
|
|
290
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
141
291
|
} & {
|
|
142
292
|
readonly backgrounded?: boolean | undefined;
|
|
143
293
|
readonly radiused?: boolean | undefined;
|
|
@@ -152,21 +302,96 @@ declare const ButtonFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
|
|
|
152
302
|
readonly chromeless?: boolean | "all" | undefined;
|
|
153
303
|
};
|
|
154
304
|
}>;
|
|
155
|
-
declare const ButtonText: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").
|
|
305
|
+
declare const ButtonText: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
306
|
+
target?: string | undefined;
|
|
307
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
308
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
309
|
+
dangerouslySetInnerHTML?: {
|
|
310
|
+
__html: string;
|
|
311
|
+
} | undefined;
|
|
312
|
+
children?: any;
|
|
313
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
314
|
+
disabled?: boolean | undefined;
|
|
315
|
+
className?: string | undefined;
|
|
316
|
+
themeShallow?: boolean | undefined;
|
|
317
|
+
id?: string | undefined;
|
|
318
|
+
tag?: string | undefined;
|
|
319
|
+
theme?: string | null | undefined;
|
|
320
|
+
group?: undefined;
|
|
321
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
322
|
+
componentName?: string | undefined;
|
|
323
|
+
tabIndex?: string | number | undefined;
|
|
324
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
325
|
+
disableOptimization?: boolean | undefined;
|
|
326
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
327
|
+
disableClassName?: boolean | undefined;
|
|
328
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
329
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
330
|
+
} & {
|
|
156
331
|
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
157
332
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
158
333
|
readonly unstyled?: boolean | undefined;
|
|
159
334
|
readonly size?: FontSizeTokens | undefined;
|
|
160
335
|
}, "unstyled"> & {
|
|
161
336
|
readonly unstyled?: boolean | undefined;
|
|
162
|
-
} & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").
|
|
337
|
+
} & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
338
|
+
target?: string | undefined;
|
|
339
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
340
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
341
|
+
dangerouslySetInnerHTML?: {
|
|
342
|
+
__html: string;
|
|
343
|
+
} | undefined;
|
|
344
|
+
children?: any;
|
|
345
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
346
|
+
disabled?: boolean | undefined;
|
|
347
|
+
className?: string | undefined;
|
|
348
|
+
themeShallow?: boolean | undefined;
|
|
349
|
+
id?: string | undefined;
|
|
350
|
+
tag?: string | undefined;
|
|
351
|
+
theme?: string | null | undefined;
|
|
352
|
+
group?: undefined;
|
|
353
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
354
|
+
componentName?: string | undefined;
|
|
355
|
+
tabIndex?: string | number | undefined;
|
|
356
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
357
|
+
disableOptimization?: boolean | undefined;
|
|
358
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
359
|
+
disableClassName?: boolean | undefined;
|
|
360
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
361
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
362
|
+
} & {
|
|
163
363
|
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
164
364
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
165
365
|
readonly unstyled?: boolean | undefined;
|
|
166
366
|
readonly size?: FontSizeTokens | undefined;
|
|
167
367
|
}, "unstyled"> & {
|
|
168
368
|
readonly unstyled?: boolean | undefined;
|
|
169
|
-
}>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").
|
|
369
|
+
}>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
370
|
+
target?: string | undefined;
|
|
371
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
372
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
373
|
+
dangerouslySetInnerHTML?: {
|
|
374
|
+
__html: string;
|
|
375
|
+
} | undefined;
|
|
376
|
+
children?: any;
|
|
377
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
378
|
+
disabled?: boolean | undefined;
|
|
379
|
+
className?: string | undefined;
|
|
380
|
+
themeShallow?: boolean | undefined;
|
|
381
|
+
id?: string | undefined;
|
|
382
|
+
tag?: string | undefined;
|
|
383
|
+
theme?: string | null | undefined;
|
|
384
|
+
group?: undefined;
|
|
385
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
386
|
+
componentName?: string | undefined;
|
|
387
|
+
tabIndex?: string | number | undefined;
|
|
388
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
389
|
+
disableOptimization?: boolean | undefined;
|
|
390
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
391
|
+
disableClassName?: boolean | undefined;
|
|
392
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
393
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
394
|
+
} & {
|
|
170
395
|
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
171
396
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
172
397
|
readonly unstyled?: boolean | undefined;
|
|
@@ -180,7 +405,32 @@ declare const ButtonText: import("@tamagui/web").TamaguiComponent<Omit<import("r
|
|
|
180
405
|
readonly unstyled?: boolean | undefined;
|
|
181
406
|
}, {
|
|
182
407
|
displayName: string | undefined;
|
|
183
|
-
__baseProps: Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").
|
|
408
|
+
__baseProps: Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
409
|
+
target?: string | undefined;
|
|
410
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
411
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
412
|
+
dangerouslySetInnerHTML?: {
|
|
413
|
+
__html: string;
|
|
414
|
+
} | undefined;
|
|
415
|
+
children?: any;
|
|
416
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
417
|
+
disabled?: boolean | undefined;
|
|
418
|
+
className?: string | undefined;
|
|
419
|
+
themeShallow?: boolean | undefined;
|
|
420
|
+
id?: string | undefined;
|
|
421
|
+
tag?: string | undefined;
|
|
422
|
+
theme?: string | null | undefined;
|
|
423
|
+
group?: undefined;
|
|
424
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
425
|
+
componentName?: string | undefined;
|
|
426
|
+
tabIndex?: string | number | undefined;
|
|
427
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
428
|
+
disableOptimization?: boolean | undefined;
|
|
429
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
430
|
+
disableClassName?: boolean | undefined;
|
|
431
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
432
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
433
|
+
} & {
|
|
184
434
|
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
185
435
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>;
|
|
186
436
|
__variantProps: {
|
|
@@ -199,28 +449,131 @@ declare const buttonStaticConfig: {
|
|
|
199
449
|
inlineProps: Set<string>;
|
|
200
450
|
};
|
|
201
451
|
declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextStyles & {
|
|
202
|
-
textProps?: Partial<Omit<import("react-native").TextProps, "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").
|
|
452
|
+
textProps?: Partial<Omit<import("react-native").TextProps, "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
453
|
+
target?: string | undefined;
|
|
454
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
455
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
456
|
+
dangerouslySetInnerHTML?: {
|
|
457
|
+
__html: string;
|
|
458
|
+
} | undefined;
|
|
459
|
+
children?: any;
|
|
460
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
461
|
+
disabled?: boolean | undefined;
|
|
462
|
+
className?: string | undefined;
|
|
463
|
+
themeShallow?: boolean | undefined;
|
|
464
|
+
id?: string | undefined;
|
|
465
|
+
tag?: string | undefined;
|
|
466
|
+
theme?: string | null | undefined;
|
|
467
|
+
group?: undefined;
|
|
468
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
469
|
+
componentName?: string | undefined;
|
|
470
|
+
tabIndex?: string | number | undefined;
|
|
471
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
472
|
+
disableOptimization?: boolean | undefined;
|
|
473
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
474
|
+
disableClassName?: boolean | undefined;
|
|
475
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
476
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
477
|
+
} & {
|
|
203
478
|
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
204
479
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{}, "size" | "unstyled"> & {
|
|
205
480
|
readonly unstyled?: boolean | undefined;
|
|
206
481
|
readonly size?: FontSizeTokens | undefined;
|
|
207
|
-
} & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").
|
|
482
|
+
} & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
483
|
+
target?: string | undefined;
|
|
484
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
485
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
486
|
+
dangerouslySetInnerHTML?: {
|
|
487
|
+
__html: string;
|
|
488
|
+
} | undefined;
|
|
489
|
+
children?: any;
|
|
490
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
491
|
+
disabled?: boolean | undefined;
|
|
492
|
+
className?: string | undefined;
|
|
493
|
+
themeShallow?: boolean | undefined;
|
|
494
|
+
id?: string | undefined;
|
|
495
|
+
tag?: string | undefined;
|
|
496
|
+
theme?: string | null | undefined;
|
|
497
|
+
group?: undefined;
|
|
498
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
499
|
+
componentName?: string | undefined;
|
|
500
|
+
tabIndex?: string | number | undefined;
|
|
501
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
502
|
+
disableOptimization?: boolean | undefined;
|
|
503
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
504
|
+
disableClassName?: boolean | undefined;
|
|
505
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
506
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
507
|
+
} & {
|
|
208
508
|
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
209
509
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{}, "size" | "unstyled"> & {
|
|
210
510
|
readonly unstyled?: boolean | undefined;
|
|
211
511
|
readonly size?: FontSizeTokens | undefined;
|
|
212
|
-
}>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").
|
|
512
|
+
}>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
513
|
+
target?: string | undefined;
|
|
514
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
515
|
+
/**
|
|
516
|
+
* @deprecated Instead of useButton, see the Button docs for the newer and much improved Advanced customization pattern: https://tamagui.dev/docs/components/button
|
|
517
|
+
*/
|
|
518
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
519
|
+
dangerouslySetInnerHTML?: {
|
|
520
|
+
__html: string;
|
|
521
|
+
} | undefined;
|
|
522
|
+
children?: any;
|
|
523
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
524
|
+
disabled?: boolean | undefined;
|
|
525
|
+
className?: string | undefined;
|
|
526
|
+
themeShallow?: boolean | undefined;
|
|
527
|
+
id?: string | undefined;
|
|
528
|
+
tag?: string | undefined;
|
|
529
|
+
theme?: string | null | undefined;
|
|
530
|
+
group?: undefined;
|
|
531
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
532
|
+
componentName?: string | undefined;
|
|
533
|
+
tabIndex?: string | number | undefined;
|
|
534
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
535
|
+
disableOptimization?: boolean | undefined;
|
|
536
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
537
|
+
disableClassName?: boolean | undefined;
|
|
538
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
539
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
540
|
+
} & {
|
|
213
541
|
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
214
542
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{}, "size" | "unstyled"> & {
|
|
215
543
|
readonly unstyled?: boolean | undefined;
|
|
216
544
|
readonly size?: FontSizeTokens | undefined;
|
|
217
545
|
}>>> | undefined;
|
|
218
546
|
noTextWrap?: boolean | undefined;
|
|
219
|
-
} & Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").
|
|
547
|
+
} & Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
548
|
+
target?: string | undefined;
|
|
549
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
550
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
551
|
+
dangerouslySetInnerHTML?: {
|
|
552
|
+
__html: string;
|
|
553
|
+
} | undefined;
|
|
554
|
+
children?: any;
|
|
555
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
556
|
+
disabled?: boolean | undefined;
|
|
557
|
+
className?: string | undefined;
|
|
558
|
+
themeShallow?: boolean | undefined;
|
|
559
|
+
id?: string | undefined;
|
|
560
|
+
tag?: string | undefined;
|
|
561
|
+
theme?: string | null | undefined;
|
|
562
|
+
group?: undefined;
|
|
563
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
564
|
+
componentName?: string | undefined;
|
|
565
|
+
tabIndex?: string | number | undefined;
|
|
566
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
567
|
+
disableOptimization?: boolean | undefined;
|
|
568
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
569
|
+
disableClassName?: boolean | undefined;
|
|
570
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
571
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
572
|
+
} & {
|
|
220
573
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
221
574
|
} & 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<{
|
|
222
575
|
readonly fullscreen?: boolean | undefined;
|
|
223
|
-
readonly elevation?: SizeTokens | undefined;
|
|
576
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
224
577
|
} & {
|
|
225
578
|
readonly backgrounded?: boolean | undefined;
|
|
226
579
|
readonly radiused?: boolean | undefined;
|
|
@@ -238,11 +591,36 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
238
591
|
readonly variant?: "outlined" | undefined;
|
|
239
592
|
readonly size?: SizeTokens | undefined;
|
|
240
593
|
readonly disabled?: boolean | undefined;
|
|
241
|
-
} & 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").
|
|
594
|
+
} & 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 & {
|
|
595
|
+
target?: string | undefined;
|
|
596
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
597
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
598
|
+
dangerouslySetInnerHTML?: {
|
|
599
|
+
__html: string;
|
|
600
|
+
} | undefined;
|
|
601
|
+
children?: any;
|
|
602
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
603
|
+
disabled?: boolean | undefined;
|
|
604
|
+
className?: string | undefined;
|
|
605
|
+
themeShallow?: boolean | undefined;
|
|
606
|
+
id?: string | undefined;
|
|
607
|
+
tag?: string | undefined;
|
|
608
|
+
theme?: string | null | undefined;
|
|
609
|
+
group?: undefined;
|
|
610
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
611
|
+
componentName?: string | undefined;
|
|
612
|
+
tabIndex?: string | number | undefined;
|
|
613
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
614
|
+
disableOptimization?: boolean | undefined;
|
|
615
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
616
|
+
disableClassName?: boolean | undefined;
|
|
617
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
618
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
619
|
+
} & {
|
|
242
620
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
243
621
|
} & 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<{
|
|
244
622
|
readonly fullscreen?: boolean | undefined;
|
|
245
|
-
readonly elevation?: SizeTokens | undefined;
|
|
623
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
246
624
|
} & {
|
|
247
625
|
readonly backgrounded?: boolean | undefined;
|
|
248
626
|
readonly radiused?: boolean | undefined;
|
|
@@ -260,11 +638,36 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
260
638
|
readonly variant?: "outlined" | undefined;
|
|
261
639
|
readonly size?: SizeTokens | undefined;
|
|
262
640
|
readonly disabled?: boolean | undefined;
|
|
263
|
-
}>> & 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").
|
|
641
|
+
}>> & 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 & {
|
|
642
|
+
target?: string | undefined;
|
|
643
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
644
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
645
|
+
dangerouslySetInnerHTML?: {
|
|
646
|
+
__html: string;
|
|
647
|
+
} | undefined;
|
|
648
|
+
children?: any;
|
|
649
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
650
|
+
disabled?: boolean | undefined;
|
|
651
|
+
className?: string | undefined;
|
|
652
|
+
themeShallow?: boolean | undefined;
|
|
653
|
+
id?: string | undefined;
|
|
654
|
+
tag?: string | undefined;
|
|
655
|
+
theme?: string | null | undefined;
|
|
656
|
+
group?: undefined;
|
|
657
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
658
|
+
componentName?: string | undefined;
|
|
659
|
+
tabIndex?: string | number | undefined;
|
|
660
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
661
|
+
disableOptimization?: boolean | undefined;
|
|
662
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
663
|
+
disableClassName?: boolean | undefined;
|
|
664
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
665
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
666
|
+
} & {
|
|
264
667
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
265
668
|
} & 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<{
|
|
266
669
|
readonly fullscreen?: boolean | undefined;
|
|
267
|
-
readonly elevation?: SizeTokens | undefined;
|
|
670
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
268
671
|
} & {
|
|
269
672
|
readonly backgrounded?: boolean | undefined;
|
|
270
673
|
readonly radiused?: boolean | undefined;
|
|
@@ -309,11 +712,83 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
309
712
|
* remove default styles
|
|
310
713
|
*/
|
|
311
714
|
unstyled?: boolean | undefined;
|
|
312
|
-
} & Omit<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").
|
|
715
|
+
} & Omit<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
716
|
+
target?: string | undefined;
|
|
717
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
718
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
719
|
+
dangerouslySetInnerHTML?: {
|
|
720
|
+
__html: string;
|
|
721
|
+
} | undefined;
|
|
722
|
+
children?: any;
|
|
723
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
724
|
+
disabled?: boolean | undefined;
|
|
725
|
+
className?: string | undefined;
|
|
726
|
+
themeShallow?: boolean | undefined;
|
|
727
|
+
id?: string | undefined;
|
|
728
|
+
tag?: string | undefined;
|
|
729
|
+
theme?: string | null | undefined;
|
|
730
|
+
group?: undefined;
|
|
731
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
732
|
+
componentName?: string | undefined;
|
|
733
|
+
tabIndex?: string | number | undefined;
|
|
734
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
735
|
+
disableOptimization?: boolean | undefined;
|
|
736
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
737
|
+
disableClassName?: boolean | undefined;
|
|
738
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
739
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
740
|
+
} & {
|
|
741
|
+
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
742
|
+
} & 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<{
|
|
743
|
+
readonly fullscreen?: boolean | undefined;
|
|
744
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
745
|
+
} & {
|
|
746
|
+
readonly backgrounded?: boolean | undefined;
|
|
747
|
+
readonly radiused?: boolean | undefined;
|
|
748
|
+
readonly hoverTheme?: boolean | undefined;
|
|
749
|
+
readonly pressTheme?: boolean | undefined;
|
|
750
|
+
readonly focusTheme?: boolean | undefined;
|
|
751
|
+
readonly circular?: boolean | undefined;
|
|
752
|
+
readonly padded?: boolean | undefined;
|
|
753
|
+
readonly elevate?: boolean | undefined;
|
|
754
|
+
readonly bordered?: number | boolean | undefined;
|
|
755
|
+
readonly transparent?: boolean | undefined;
|
|
756
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
757
|
+
}, "size" | "disabled" | "unstyled" | "variant"> & {
|
|
758
|
+
readonly unstyled?: boolean | undefined;
|
|
759
|
+
readonly variant?: "outlined" | undefined;
|
|
760
|
+
readonly size?: SizeTokens | undefined;
|
|
761
|
+
readonly disabled?: boolean | undefined;
|
|
762
|
+
} & 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 & {
|
|
763
|
+
target?: string | undefined;
|
|
764
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
765
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
766
|
+
dangerouslySetInnerHTML?: {
|
|
767
|
+
__html: string;
|
|
768
|
+
} | undefined;
|
|
769
|
+
children?: any;
|
|
770
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
771
|
+
disabled?: boolean | undefined;
|
|
772
|
+
className?: string | undefined;
|
|
773
|
+
themeShallow?: boolean | undefined;
|
|
774
|
+
id?: string | undefined;
|
|
775
|
+
tag?: string | undefined;
|
|
776
|
+
theme?: string | null | undefined;
|
|
777
|
+
group?: undefined;
|
|
778
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
779
|
+
componentName?: string | undefined;
|
|
780
|
+
tabIndex?: string | number | undefined;
|
|
781
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
782
|
+
disableOptimization?: boolean | undefined;
|
|
783
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
784
|
+
disableClassName?: boolean | undefined;
|
|
785
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
786
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
787
|
+
} & {
|
|
313
788
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
314
789
|
} & 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<{
|
|
315
790
|
readonly fullscreen?: boolean | undefined;
|
|
316
|
-
readonly elevation?: SizeTokens | undefined;
|
|
791
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
317
792
|
} & {
|
|
318
793
|
readonly backgrounded?: boolean | undefined;
|
|
319
794
|
readonly radiused?: boolean | undefined;
|
|
@@ -331,11 +806,36 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
331
806
|
readonly variant?: "outlined" | undefined;
|
|
332
807
|
readonly size?: SizeTokens | undefined;
|
|
333
808
|
readonly disabled?: boolean | undefined;
|
|
334
|
-
} & import("@tamagui/web").
|
|
809
|
+
}>> & 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 & {
|
|
810
|
+
target?: string | undefined;
|
|
811
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
812
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
813
|
+
dangerouslySetInnerHTML?: {
|
|
814
|
+
__html: string;
|
|
815
|
+
} | undefined;
|
|
816
|
+
children?: any;
|
|
817
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
818
|
+
disabled?: boolean | undefined;
|
|
819
|
+
className?: string | undefined;
|
|
820
|
+
themeShallow?: boolean | undefined;
|
|
821
|
+
id?: string | undefined;
|
|
822
|
+
tag?: string | undefined;
|
|
823
|
+
theme?: string | null | undefined;
|
|
824
|
+
group?: undefined;
|
|
825
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
826
|
+
componentName?: string | undefined;
|
|
827
|
+
tabIndex?: string | number | undefined;
|
|
828
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
829
|
+
disableOptimization?: boolean | undefined;
|
|
830
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
831
|
+
disableClassName?: boolean | undefined;
|
|
832
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
833
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
834
|
+
} & {
|
|
335
835
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
336
836
|
} & 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<{
|
|
337
837
|
readonly fullscreen?: boolean | undefined;
|
|
338
|
-
readonly elevation?: SizeTokens | undefined;
|
|
838
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
339
839
|
} & {
|
|
340
840
|
readonly backgrounded?: boolean | undefined;
|
|
341
841
|
readonly radiused?: boolean | undefined;
|
|
@@ -353,11 +853,54 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
353
853
|
readonly variant?: "outlined" | undefined;
|
|
354
854
|
readonly size?: SizeTokens | undefined;
|
|
355
855
|
readonly disabled?: boolean | undefined;
|
|
356
|
-
}
|
|
856
|
+
}>>, "size" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "backgroundColor" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderLeftColor" | "borderLeftWidth" | "borderColor" | "borderRadius" | "borderStyle" | "borderRightWidth" | "borderRightColor" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "borderWidth" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "maxHeight" | "maxWidth" | "marginBottom" | "minHeight" | "minWidth" | "marginLeft" | "marginRight" | "marginTop" | "marginHorizontal" | "marginVertical" | "opacity" | "overflow" | "padding" | "paddingBottom" | "paddingLeft" | "position" | "paddingRight" | "paddingTop" | "paddingHorizontal" | "paddingVertical" | "right" | "shadowColor" | "shadowRadius" | "shadowOffset" | "shadowOpacity" | "top" | "width" | `$${string}` | `$${number}` | keyof TextContextStyles | "children" | "style" | "id" | "testID" | "nativeID" | "disabled" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "elevation" | keyof {
|
|
857
|
+
columnGap?: import("@tamagui/web").SpaceValue | undefined;
|
|
858
|
+
contain?: import("csstype").Property.Contain | undefined;
|
|
859
|
+
cursor?: import("csstype").Property.Cursor | undefined;
|
|
860
|
+
display?: "flex" | "none" | "inherit" | "inline" | "block" | "contents" | "inline-flex" | undefined;
|
|
861
|
+
gap?: import("@tamagui/web").SpaceValue | undefined;
|
|
862
|
+
outlineColor?: import("csstype").Property.OutlineColor | undefined;
|
|
863
|
+
outlineOffset?: import("@tamagui/web").SpaceValue | undefined;
|
|
864
|
+
outlineStyle?: import("csstype").Property.OutlineStyle | undefined;
|
|
865
|
+
outlineWidth?: import("@tamagui/web").SpaceValue | undefined;
|
|
866
|
+
pointerEvents?: "none" | "auto" | "box-none" | "box-only" | undefined;
|
|
867
|
+
rowGap?: import("@tamagui/web").SpaceValue | undefined;
|
|
868
|
+
space?: import("@tamagui/web").SpaceValue | undefined;
|
|
869
|
+
spaceDirection?: import("@tamagui/web").SpaceDirection | undefined;
|
|
870
|
+
separator?: import("react").ReactNode;
|
|
871
|
+
animation?: import("@tamagui/web").AnimationProp | null | undefined;
|
|
872
|
+
animateOnly?: string[] | undefined;
|
|
873
|
+
userSelect?: import("csstype").Property.UserSelect | undefined;
|
|
874
|
+
} | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopEndRadius" | "borderTopStartRadius" | "aspectRatio" | "borderEndWidth" | "borderStartWidth" | "end" | "marginEnd" | "marginStart" | "paddingEnd" | "paddingStart" | "start" | "direction" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "unstyled" | keyof import("@tamagui/web").TransformStyleProps | "hitSlop" | "removeClippedSubviews" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "group" | `$theme-${string}` | `$theme-${number}` | keyof import("@tamagui/web").WebOnlyPressEvents | "target" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "tag" | "untilMeasured" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "onFocus" | "onScroll" | "transparent" | "circular" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless" | "fullscreen" | keyof import("@tamagui/core").RNViewProps | "variant" | keyof 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 & {
|
|
875
|
+
target?: string | undefined;
|
|
876
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
877
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
878
|
+
dangerouslySetInnerHTML?: {
|
|
879
|
+
__html: string;
|
|
880
|
+
} | undefined;
|
|
881
|
+
children?: any;
|
|
882
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
883
|
+
disabled?: boolean | undefined;
|
|
884
|
+
className?: string | undefined;
|
|
885
|
+
themeShallow?: boolean | undefined;
|
|
886
|
+
id?: string | undefined;
|
|
887
|
+
tag?: string | undefined;
|
|
888
|
+
theme?: string | null | undefined;
|
|
889
|
+
group?: undefined;
|
|
890
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
891
|
+
componentName?: string | undefined;
|
|
892
|
+
tabIndex?: string | number | undefined;
|
|
893
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
894
|
+
disableOptimization?: boolean | undefined;
|
|
895
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
896
|
+
disableClassName?: boolean | undefined;
|
|
897
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
898
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
899
|
+
} & {
|
|
357
900
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
358
901
|
} & 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<{
|
|
359
902
|
readonly fullscreen?: boolean | undefined;
|
|
360
|
-
readonly elevation?: SizeTokens | undefined;
|
|
903
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
361
904
|
} & {
|
|
362
905
|
readonly backgrounded?: boolean | undefined;
|
|
363
906
|
readonly radiused?: boolean | undefined;
|
|
@@ -375,13 +918,38 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
375
918
|
readonly variant?: "outlined" | undefined;
|
|
376
919
|
readonly size?: SizeTokens | undefined;
|
|
377
920
|
readonly disabled?: boolean | undefined;
|
|
378
|
-
}
|
|
921
|
+
}>> | "textProps" | "noTextWrap" | keyof ThemeableProps | "icon" | "iconAfter" | "scaleIcon" | "spaceFlex" | "scaleSpace">, import("@tamagui/web").TamaguiElement> & {
|
|
379
922
|
staticConfig: import("@tamagui/web").StaticConfig;
|
|
380
|
-
styleable: import("@tamagui/web").Styleable<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").
|
|
923
|
+
styleable: import("@tamagui/web").Styleable<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
924
|
+
target?: string | undefined;
|
|
925
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
926
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
927
|
+
dangerouslySetInnerHTML?: {
|
|
928
|
+
__html: string;
|
|
929
|
+
} | undefined;
|
|
930
|
+
children?: any;
|
|
931
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
932
|
+
disabled?: boolean | undefined;
|
|
933
|
+
className?: string | undefined;
|
|
934
|
+
themeShallow?: boolean | undefined;
|
|
935
|
+
id?: string | undefined;
|
|
936
|
+
tag?: string | undefined;
|
|
937
|
+
theme?: string | null | undefined;
|
|
938
|
+
group?: undefined;
|
|
939
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
940
|
+
componentName?: string | undefined;
|
|
941
|
+
tabIndex?: string | number | undefined;
|
|
942
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
943
|
+
disableOptimization?: boolean | undefined;
|
|
944
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
945
|
+
disableClassName?: boolean | undefined;
|
|
946
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
947
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
948
|
+
} & {
|
|
381
949
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
382
950
|
} & 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<{
|
|
383
951
|
readonly fullscreen?: boolean | undefined;
|
|
384
|
-
readonly elevation?: SizeTokens | undefined;
|
|
952
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
385
953
|
} & {
|
|
386
954
|
readonly backgrounded?: boolean | undefined;
|
|
387
955
|
readonly radiused?: boolean | undefined;
|
|
@@ -399,11 +967,36 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
399
967
|
readonly variant?: "outlined" | undefined;
|
|
400
968
|
readonly size?: SizeTokens | undefined;
|
|
401
969
|
readonly disabled?: boolean | undefined;
|
|
402
|
-
} & 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").
|
|
970
|
+
} & 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 & {
|
|
971
|
+
target?: string | undefined;
|
|
972
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
973
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
974
|
+
dangerouslySetInnerHTML?: {
|
|
975
|
+
__html: string;
|
|
976
|
+
} | undefined;
|
|
977
|
+
children?: any;
|
|
978
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
979
|
+
disabled?: boolean | undefined;
|
|
980
|
+
className?: string | undefined;
|
|
981
|
+
themeShallow?: boolean | undefined;
|
|
982
|
+
id?: string | undefined;
|
|
983
|
+
tag?: string | undefined;
|
|
984
|
+
theme?: string | null | undefined;
|
|
985
|
+
group?: undefined;
|
|
986
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
987
|
+
componentName?: string | undefined;
|
|
988
|
+
tabIndex?: string | number | undefined;
|
|
989
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
990
|
+
disableOptimization?: boolean | undefined;
|
|
991
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
992
|
+
disableClassName?: boolean | undefined;
|
|
993
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
994
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
995
|
+
} & {
|
|
403
996
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
404
997
|
} & 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<{
|
|
405
998
|
readonly fullscreen?: boolean | undefined;
|
|
406
|
-
readonly elevation?: SizeTokens | undefined;
|
|
999
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
407
1000
|
} & {
|
|
408
1001
|
readonly backgrounded?: boolean | undefined;
|
|
409
1002
|
readonly radiused?: boolean | undefined;
|
|
@@ -421,11 +1014,36 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
421
1014
|
readonly variant?: "outlined" | undefined;
|
|
422
1015
|
readonly size?: SizeTokens | undefined;
|
|
423
1016
|
readonly disabled?: boolean | undefined;
|
|
424
|
-
}>> & 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").
|
|
1017
|
+
}>> & 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 & {
|
|
1018
|
+
target?: string | undefined;
|
|
1019
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
1020
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
1021
|
+
dangerouslySetInnerHTML?: {
|
|
1022
|
+
__html: string;
|
|
1023
|
+
} | undefined;
|
|
1024
|
+
children?: any;
|
|
1025
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
1026
|
+
disabled?: boolean | undefined;
|
|
1027
|
+
className?: string | undefined;
|
|
1028
|
+
themeShallow?: boolean | undefined;
|
|
1029
|
+
id?: string | undefined;
|
|
1030
|
+
tag?: string | undefined;
|
|
1031
|
+
theme?: string | null | undefined;
|
|
1032
|
+
group?: undefined;
|
|
1033
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
1034
|
+
componentName?: string | undefined;
|
|
1035
|
+
tabIndex?: string | number | undefined;
|
|
1036
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
1037
|
+
disableOptimization?: boolean | undefined;
|
|
1038
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
1039
|
+
disableClassName?: boolean | undefined;
|
|
1040
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
1041
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
1042
|
+
} & {
|
|
425
1043
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
426
1044
|
} & 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<{
|
|
427
1045
|
readonly fullscreen?: boolean | undefined;
|
|
428
|
-
readonly elevation?: SizeTokens | undefined;
|
|
1046
|
+
readonly elevation?: number | SizeTokens | undefined;
|
|
429
1047
|
} & {
|
|
430
1048
|
readonly backgrounded?: boolean | undefined;
|
|
431
1049
|
readonly radiused?: boolean | undefined;
|
|
@@ -445,21 +1063,96 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
445
1063
|
readonly disabled?: boolean | undefined;
|
|
446
1064
|
}>>, import("@tamagui/web").TamaguiElement>;
|
|
447
1065
|
} & {
|
|
448
|
-
Text: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").
|
|
1066
|
+
Text: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
1067
|
+
target?: string | undefined;
|
|
1068
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
1069
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
1070
|
+
dangerouslySetInnerHTML?: {
|
|
1071
|
+
__html: string;
|
|
1072
|
+
} | undefined;
|
|
1073
|
+
children?: any;
|
|
1074
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
1075
|
+
disabled?: boolean | undefined;
|
|
1076
|
+
className?: string | undefined;
|
|
1077
|
+
themeShallow?: boolean | undefined;
|
|
1078
|
+
id?: string | undefined;
|
|
1079
|
+
tag?: string | undefined;
|
|
1080
|
+
theme?: string | null | undefined;
|
|
1081
|
+
group?: undefined;
|
|
1082
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
1083
|
+
componentName?: string | undefined;
|
|
1084
|
+
tabIndex?: string | number | undefined;
|
|
1085
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
1086
|
+
disableOptimization?: boolean | undefined;
|
|
1087
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
1088
|
+
disableClassName?: boolean | undefined;
|
|
1089
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
1090
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
1091
|
+
} & {
|
|
449
1092
|
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
450
1093
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
451
1094
|
readonly unstyled?: boolean | undefined;
|
|
452
1095
|
readonly size?: FontSizeTokens | undefined;
|
|
453
1096
|
}, "unstyled"> & {
|
|
454
1097
|
readonly unstyled?: boolean | undefined;
|
|
455
|
-
} & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").
|
|
1098
|
+
} & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
1099
|
+
target?: string | undefined;
|
|
1100
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
1101
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
1102
|
+
dangerouslySetInnerHTML?: {
|
|
1103
|
+
__html: string;
|
|
1104
|
+
} | undefined;
|
|
1105
|
+
children?: any;
|
|
1106
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
1107
|
+
disabled?: boolean | undefined;
|
|
1108
|
+
className?: string | undefined;
|
|
1109
|
+
themeShallow?: boolean | undefined;
|
|
1110
|
+
id?: string | undefined;
|
|
1111
|
+
tag?: string | undefined;
|
|
1112
|
+
theme?: string | null | undefined;
|
|
1113
|
+
group?: undefined;
|
|
1114
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
1115
|
+
componentName?: string | undefined;
|
|
1116
|
+
tabIndex?: string | number | undefined;
|
|
1117
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
1118
|
+
disableOptimization?: boolean | undefined;
|
|
1119
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
1120
|
+
disableClassName?: boolean | undefined;
|
|
1121
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
1122
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
1123
|
+
} & {
|
|
456
1124
|
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
457
1125
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
458
1126
|
readonly unstyled?: boolean | undefined;
|
|
459
1127
|
readonly size?: FontSizeTokens | undefined;
|
|
460
1128
|
}, "unstyled"> & {
|
|
461
1129
|
readonly unstyled?: boolean | undefined;
|
|
462
|
-
}>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").
|
|
1130
|
+
}>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
1131
|
+
target?: string | undefined;
|
|
1132
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
1133
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
1134
|
+
dangerouslySetInnerHTML?: {
|
|
1135
|
+
__html: string;
|
|
1136
|
+
} | undefined;
|
|
1137
|
+
children?: any;
|
|
1138
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
1139
|
+
disabled?: boolean | undefined;
|
|
1140
|
+
className?: string | undefined;
|
|
1141
|
+
themeShallow?: boolean | undefined;
|
|
1142
|
+
id?: string | undefined;
|
|
1143
|
+
tag?: string | undefined;
|
|
1144
|
+
theme?: string | null | undefined;
|
|
1145
|
+
group?: undefined;
|
|
1146
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
1147
|
+
componentName?: string | undefined;
|
|
1148
|
+
tabIndex?: string | number | undefined;
|
|
1149
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
1150
|
+
disableOptimization?: boolean | undefined;
|
|
1151
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
1152
|
+
disableClassName?: boolean | undefined;
|
|
1153
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
1154
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
1155
|
+
} & {
|
|
463
1156
|
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
464
1157
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
465
1158
|
readonly unstyled?: boolean | undefined;
|
|
@@ -473,7 +1166,32 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
473
1166
|
readonly unstyled?: boolean | undefined;
|
|
474
1167
|
}, {
|
|
475
1168
|
displayName: string | undefined;
|
|
476
|
-
__baseProps: Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").
|
|
1169
|
+
__baseProps: Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
|
|
1170
|
+
target?: string | undefined;
|
|
1171
|
+
hitSlop?: number | import("react-native").Insets | null | undefined;
|
|
1172
|
+
asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
|
|
1173
|
+
dangerouslySetInnerHTML?: {
|
|
1174
|
+
__html: string;
|
|
1175
|
+
} | undefined;
|
|
1176
|
+
children?: any;
|
|
1177
|
+
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
1178
|
+
disabled?: boolean | undefined;
|
|
1179
|
+
className?: string | undefined;
|
|
1180
|
+
themeShallow?: boolean | undefined;
|
|
1181
|
+
id?: string | undefined;
|
|
1182
|
+
tag?: string | undefined;
|
|
1183
|
+
theme?: string | null | undefined;
|
|
1184
|
+
group?: undefined;
|
|
1185
|
+
untilMeasured?: "hide" | "show" | undefined;
|
|
1186
|
+
componentName?: string | undefined;
|
|
1187
|
+
tabIndex?: string | number | undefined;
|
|
1188
|
+
role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
|
|
1189
|
+
disableOptimization?: boolean | undefined;
|
|
1190
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
1191
|
+
disableClassName?: boolean | undefined;
|
|
1192
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
1193
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
1194
|
+
} & {
|
|
477
1195
|
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
478
1196
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>;
|
|
479
1197
|
__variantProps: {
|