@tamagui/toggle-group 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/toggle-group",
3
- "version": "1.72.3",
3
+ "version": "1.73.1",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -31,23 +31,23 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@tamagui/create-context": "1.72.3",
35
- "@tamagui/focusable": "1.72.3",
36
- "@tamagui/font-size": "1.72.3",
37
- "@tamagui/get-token": "1.72.3",
38
- "@tamagui/group": "1.72.3",
39
- "@tamagui/helpers-tamagui": "1.72.3",
40
- "@tamagui/roving-focus": "1.72.3",
41
- "@tamagui/stacks": "1.72.3",
42
- "@tamagui/use-controllable-state": "1.72.3",
43
- "@tamagui/use-direction": "1.72.3",
44
- "@tamagui/web": "1.72.3"
34
+ "@tamagui/create-context": "1.73.1",
35
+ "@tamagui/focusable": "1.73.1",
36
+ "@tamagui/font-size": "1.73.1",
37
+ "@tamagui/get-token": "1.73.1",
38
+ "@tamagui/group": "1.73.1",
39
+ "@tamagui/helpers-tamagui": "1.73.1",
40
+ "@tamagui/roving-focus": "1.73.1",
41
+ "@tamagui/stacks": "1.73.1",
42
+ "@tamagui/use-controllable-state": "1.73.1",
43
+ "@tamagui/use-direction": "1.73.1",
44
+ "@tamagui/web": "1.73.1"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": "*"
48
48
  },
49
49
  "devDependencies": {
50
- "@tamagui/build": "1.72.3",
50
+ "@tamagui/build": "1.73.1",
51
51
  "react": "^18.2.0"
52
52
  },
53
53
  "publishConfig": {
package/types/Toggle.d.ts CHANGED
@@ -1,10 +1,35 @@
1
1
  import { GetProps } from '@tamagui/web';
2
2
  import * as React from 'react';
3
- declare const ToggleFrame: 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
+ declare const ToggleFrame: 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: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
27
+ onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
28
+ } & {
4
29
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (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;
@@ -21,11 +46,36 @@ declare const ToggleFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
21
46
  readonly unstyled?: boolean | undefined;
22
47
  readonly active?: boolean | undefined;
23
48
  readonly orientation?: "horizontal" | "vertical" | undefined;
24
- } & 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 & {
49
+ } & 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 & {
50
+ target?: string | undefined;
51
+ hitSlop?: number | import("react-native").Insets | null | undefined;
52
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
53
+ dangerouslySetInnerHTML?: {
54
+ __html: string;
55
+ } | undefined;
56
+ children?: any;
57
+ debug?: import("@tamagui/web").DebugProp | undefined;
58
+ disabled?: boolean | undefined;
59
+ className?: string | undefined;
60
+ themeShallow?: boolean | undefined;
61
+ id?: string | undefined;
62
+ tag?: string | undefined;
63
+ theme?: string | null | undefined;
64
+ group?: undefined;
65
+ untilMeasured?: "hide" | "show" | undefined;
66
+ componentName?: string | undefined;
67
+ tabIndex?: string | number | undefined;
68
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
69
+ disableOptimization?: boolean | undefined;
70
+ forceStyle?: "hover" | "press" | "focus" | undefined;
71
+ disableClassName?: boolean | undefined;
72
+ onFocus?: ((event: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
73
+ onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
74
+ } & {
25
75
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
26
76
  } & 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<{
27
77
  readonly fullscreen?: boolean | undefined;
28
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
78
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
29
79
  } & {
30
80
  readonly backgrounded?: boolean | undefined;
31
81
  readonly radiused?: boolean | undefined;
@@ -42,11 +92,36 @@ declare const ToggleFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
42
92
  readonly unstyled?: boolean | undefined;
43
93
  readonly active?: boolean | undefined;
44
94
  readonly orientation?: "horizontal" | "vertical" | undefined;
45
- }>> & 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 & {
95
+ }>> & 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 & {
96
+ target?: string | undefined;
97
+ hitSlop?: number | import("react-native").Insets | null | undefined;
98
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
99
+ dangerouslySetInnerHTML?: {
100
+ __html: string;
101
+ } | undefined;
102
+ children?: any;
103
+ debug?: import("@tamagui/web").DebugProp | undefined;
104
+ disabled?: boolean | undefined;
105
+ className?: string | undefined;
106
+ themeShallow?: boolean | undefined;
107
+ id?: string | undefined;
108
+ tag?: string | undefined;
109
+ theme?: string | null | undefined;
110
+ group?: undefined;
111
+ untilMeasured?: "hide" | "show" | undefined;
112
+ componentName?: string | undefined;
113
+ tabIndex?: string | number | undefined;
114
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
115
+ disableOptimization?: boolean | undefined;
116
+ forceStyle?: "hover" | "press" | "focus" | undefined;
117
+ disableClassName?: boolean | undefined;
118
+ onFocus?: ((event: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
119
+ onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
120
+ } & {
46
121
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
47
122
  } & 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<{
48
123
  readonly fullscreen?: boolean | undefined;
49
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
124
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
50
125
  } & {
51
126
  readonly backgrounded?: boolean | undefined;
52
127
  readonly radiused?: boolean | undefined;
@@ -63,11 +138,36 @@ declare const ToggleFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
63
138
  readonly unstyled?: boolean | undefined;
64
139
  readonly active?: boolean | undefined;
65
140
  readonly orientation?: "horizontal" | "vertical" | undefined;
66
- }>>, 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 & {
141
+ }>>, 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 & {
142
+ target?: string | undefined;
143
+ hitSlop?: number | import("react-native").Insets | null | undefined;
144
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
145
+ dangerouslySetInnerHTML?: {
146
+ __html: string;
147
+ } | undefined;
148
+ children?: any;
149
+ debug?: import("@tamagui/web").DebugProp | undefined;
150
+ disabled?: boolean | undefined;
151
+ className?: string | undefined;
152
+ themeShallow?: boolean | undefined;
153
+ id?: string | undefined;
154
+ tag?: string | undefined;
155
+ theme?: string | null | undefined;
156
+ group?: undefined;
157
+ untilMeasured?: "hide" | "show" | undefined;
158
+ componentName?: string | undefined;
159
+ tabIndex?: string | number | undefined;
160
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
161
+ disableOptimization?: boolean | undefined;
162
+ forceStyle?: "hover" | "press" | "focus" | undefined;
163
+ disableClassName?: boolean | undefined;
164
+ onFocus?: ((event: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
165
+ onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
166
+ } & {
67
167
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
68
168
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps, {
69
169
  readonly fullscreen?: boolean | undefined;
70
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
170
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
71
171
  } & {
72
172
  readonly backgrounded?: boolean | undefined;
73
173
  readonly radiused?: boolean | undefined;
@@ -86,17 +186,67 @@ declare const ToggleFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
86
186
  readonly orientation?: "horizontal" | "vertical" | undefined;
87
187
  }, {
88
188
  displayName: string | undefined;
89
- __baseProps: Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
189
+ __baseProps: Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
190
+ target?: string | undefined;
191
+ hitSlop?: number | import("react-native").Insets | null | undefined;
192
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
193
+ dangerouslySetInnerHTML?: {
194
+ __html: string;
195
+ } | undefined;
196
+ children?: any;
197
+ debug?: import("@tamagui/web").DebugProp | undefined;
198
+ disabled?: boolean | undefined;
199
+ className?: string | undefined;
200
+ themeShallow?: boolean | undefined;
201
+ id?: string | undefined;
202
+ tag?: string | undefined;
203
+ theme?: string | null | undefined;
204
+ group?: undefined;
205
+ untilMeasured?: "hide" | "show" | undefined;
206
+ componentName?: string | undefined;
207
+ tabIndex?: string | number | undefined;
208
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
209
+ disableOptimization?: boolean | undefined;
210
+ forceStyle?: "hover" | "press" | "focus" | undefined;
211
+ disableClassName?: boolean | undefined;
212
+ onFocus?: ((event: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
213
+ onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
214
+ } & {
90
215
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
91
216
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & {
217
+ target?: string | undefined;
218
+ hitSlop?: number | import("react-native").Insets | null | undefined;
219
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
220
+ dangerouslySetInnerHTML?: {
221
+ __html: string;
222
+ } | undefined;
223
+ children?: any;
224
+ debug?: import("@tamagui/web").DebugProp | undefined;
225
+ disabled?: boolean | undefined;
226
+ className?: string | undefined;
227
+ themeShallow?: boolean | undefined;
228
+ id?: string | undefined;
229
+ tag?: string | undefined;
230
+ theme?: string | null | undefined;
231
+ group?: undefined;
232
+ untilMeasured?: "hide" | "show" | undefined;
233
+ componentName?: string | undefined;
234
+ tabIndex?: string | number | undefined;
235
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
236
+ disableOptimization?: boolean | undefined;
237
+ forceStyle?: "hover" | "press" | "focus" | undefined;
238
+ disableClassName?: boolean | undefined;
239
+ onFocus?: ((event: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
240
+ onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
241
+ } & {
92
242
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
93
243
  };
94
244
  __variantProps: {
95
245
  readonly fullscreen?: boolean | undefined;
96
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
246
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
97
247
  } & {
98
248
  readonly fullscreen?: boolean | undefined;
99
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
249
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
100
250
  } & {
101
251
  readonly backgrounded?: boolean | undefined;
102
252
  readonly radiused?: boolean | undefined;
@@ -119,11 +269,36 @@ type ToggleProps = ToggleFrameProps & {
119
269
  defaultPressed?: boolean;
120
270
  onPressedChange?(pressed: boolean): void;
121
271
  };
122
- declare const Toggle: React.ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
272
+ declare const Toggle: React.ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
273
+ target?: string | undefined;
274
+ hitSlop?: number | import("react-native").Insets | null | undefined;
275
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
276
+ dangerouslySetInnerHTML?: {
277
+ __html: string;
278
+ } | undefined;
279
+ children?: any;
280
+ debug?: import("@tamagui/web").DebugProp | undefined;
281
+ disabled?: boolean | undefined;
282
+ className?: string | undefined;
283
+ themeShallow?: boolean | undefined;
284
+ id?: string | undefined;
285
+ tag?: string | undefined;
286
+ theme?: string | null | undefined;
287
+ group?: undefined;
288
+ untilMeasured?: "hide" | "show" | undefined;
289
+ componentName?: string | undefined;
290
+ tabIndex?: string | number | undefined;
291
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
292
+ disableOptimization?: boolean | undefined;
293
+ forceStyle?: "hover" | "press" | "focus" | undefined;
294
+ disableClassName?: boolean | undefined;
295
+ onFocus?: ((event: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
296
+ onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
297
+ } & {
123
298
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
124
299
  } & 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<{
125
300
  readonly fullscreen?: boolean | undefined;
126
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
301
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
127
302
  } & {
128
303
  readonly backgrounded?: boolean | undefined;
129
304
  readonly radiused?: boolean | undefined;
@@ -140,11 +315,36 @@ declare const Toggle: React.ForwardRefExoticComponent<Omit<import("react-native"
140
315
  readonly unstyled?: boolean | undefined;
141
316
  readonly active?: boolean | undefined;
142
317
  readonly orientation?: "horizontal" | "vertical" | undefined;
143
- } & 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 & {
318
+ } & 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 & {
319
+ target?: string | undefined;
320
+ hitSlop?: number | import("react-native").Insets | null | undefined;
321
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
322
+ dangerouslySetInnerHTML?: {
323
+ __html: string;
324
+ } | undefined;
325
+ children?: any;
326
+ debug?: import("@tamagui/web").DebugProp | undefined;
327
+ disabled?: boolean | undefined;
328
+ className?: string | undefined;
329
+ themeShallow?: boolean | undefined;
330
+ id?: string | undefined;
331
+ tag?: string | undefined;
332
+ theme?: string | null | undefined;
333
+ group?: undefined;
334
+ untilMeasured?: "hide" | "show" | undefined;
335
+ componentName?: string | undefined;
336
+ tabIndex?: string | number | undefined;
337
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
338
+ disableOptimization?: boolean | undefined;
339
+ forceStyle?: "hover" | "press" | "focus" | undefined;
340
+ disableClassName?: boolean | undefined;
341
+ onFocus?: ((event: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
342
+ onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
343
+ } & {
144
344
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
145
345
  } & 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<{
146
346
  readonly fullscreen?: boolean | undefined;
147
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
347
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
148
348
  } & {
149
349
  readonly backgrounded?: boolean | undefined;
150
350
  readonly radiused?: boolean | undefined;
@@ -161,11 +361,36 @@ declare const Toggle: React.ForwardRefExoticComponent<Omit<import("react-native"
161
361
  readonly unstyled?: boolean | undefined;
162
362
  readonly active?: boolean | undefined;
163
363
  readonly orientation?: "horizontal" | "vertical" | undefined;
164
- }>> & 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 & {
364
+ }>> & 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 & {
365
+ target?: string | undefined;
366
+ hitSlop?: number | import("react-native").Insets | null | undefined;
367
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
368
+ dangerouslySetInnerHTML?: {
369
+ __html: string;
370
+ } | undefined;
371
+ children?: any;
372
+ debug?: import("@tamagui/web").DebugProp | undefined;
373
+ disabled?: boolean | undefined;
374
+ className?: string | undefined;
375
+ themeShallow?: boolean | undefined;
376
+ id?: string | undefined;
377
+ tag?: string | undefined;
378
+ theme?: string | null | undefined;
379
+ group?: undefined;
380
+ untilMeasured?: "hide" | "show" | undefined;
381
+ componentName?: string | undefined;
382
+ tabIndex?: string | number | undefined;
383
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
384
+ disableOptimization?: boolean | undefined;
385
+ forceStyle?: "hover" | "press" | "focus" | undefined;
386
+ disableClassName?: boolean | undefined;
387
+ onFocus?: ((event: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
388
+ onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
389
+ } & {
165
390
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
166
391
  } & 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<{
167
392
  readonly fullscreen?: boolean | undefined;
168
- readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
393
+ readonly elevation?: number | import("@tamagui/web").SizeTokens | undefined;
169
394
  } & {
170
395
  readonly backgrounded?: boolean | undefined;
171
396
  readonly radiused?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../src/Toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAA8C,MAAM,cAAc,CAAA;AACnF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAY9B,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyDf,CAAA;AAEF,KAAK,gBAAgB,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAA;AAEpD,KAAK,WAAW,GAAG,gBAAgB,GAAG;IACpC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,eAAe,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;CACzC,CAAA;AAED,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAHgB,OAAO,GAAG,IAAI;2CAiDzC,CAAA;AAKD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,CAAA;AAC9B,YAAY,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../src/Toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAA8C,MAAM,cAAc,CAAA;AACnF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAY9B,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyDf,CAAA;AAEF,KAAK,gBAAgB,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAA;AAEpD,KAAK,WAAW,GAAG,gBAAgB,GAAG;IACpC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,eAAe,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;CACzC,CAAA;AAED,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAHgB,OAAO,GAAG,IAAI;2CAiDzC,CAAA;AAKD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,CAAA;AAC9B,YAAY,EAAE,WAAW,EAAE,CAAA"}