@tamagui/checkbox 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,343 @@
1
+ import { GetProps, SizeTokens, TamaguiElement } from '@tamagui/core';
2
+ import * as React from 'react';
3
+ export type CheckedState = boolean | 'indeterminate';
4
+ export declare function isIndeterminate(checked?: CheckedState): checked is 'indeterminate';
5
+ export declare function getState(checked: CheckedState): "indeterminate" | "checked" | "unchecked";
6
+ type InputProps = any;
7
+ interface BubbleInputProps extends Omit<InputProps, 'checked'> {
8
+ checked: CheckedState;
9
+ control: HTMLElement | null;
10
+ bubbles: boolean;
11
+ isHidden?: boolean;
12
+ }
13
+ export declare const BubbleInput: (props: BubbleInputProps) => JSX.Element;
14
+ declare const CheckboxIndicatorFrame: import("@tamagui/core").TamaguiComponent<(Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
15
+ readonly fullscreen?: boolean | undefined;
16
+ readonly elevation?: SizeTokens | undefined;
17
+ }, "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
18
+ readonly backgrounded?: boolean | undefined;
19
+ readonly radiused?: boolean | undefined;
20
+ readonly hoverTheme?: boolean | undefined;
21
+ readonly pressTheme?: boolean | undefined;
22
+ readonly focusTheme?: boolean | undefined;
23
+ readonly circular?: boolean | undefined;
24
+ readonly padded?: boolean | undefined;
25
+ readonly elevate?: boolean | undefined;
26
+ readonly bordered?: number | boolean | undefined;
27
+ readonly transparent?: boolean | undefined;
28
+ readonly chromeless?: boolean | "all" | undefined;
29
+ } & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
30
+ readonly fullscreen?: boolean | undefined;
31
+ readonly elevation?: SizeTokens | undefined;
32
+ }, "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
33
+ readonly backgrounded?: boolean | undefined;
34
+ readonly radiused?: boolean | undefined;
35
+ readonly hoverTheme?: boolean | undefined;
36
+ readonly pressTheme?: boolean | undefined;
37
+ readonly focusTheme?: boolean | undefined;
38
+ readonly circular?: boolean | undefined;
39
+ readonly padded?: boolean | undefined;
40
+ readonly elevate?: boolean | undefined;
41
+ readonly bordered?: number | boolean | undefined;
42
+ readonly transparent?: boolean | undefined;
43
+ readonly chromeless?: boolean | "all" | undefined;
44
+ }>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
45
+ readonly fullscreen?: boolean | undefined;
46
+ readonly elevation?: SizeTokens | undefined;
47
+ }, "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
48
+ readonly backgrounded?: boolean | undefined;
49
+ readonly radiused?: boolean | undefined;
50
+ readonly hoverTheme?: boolean | undefined;
51
+ readonly pressTheme?: boolean | undefined;
52
+ readonly focusTheme?: boolean | undefined;
53
+ readonly circular?: boolean | undefined;
54
+ readonly padded?: boolean | undefined;
55
+ readonly elevate?: boolean | undefined;
56
+ readonly bordered?: number | boolean | undefined;
57
+ readonly transparent?: boolean | undefined;
58
+ readonly chromeless?: boolean | "all" | undefined;
59
+ }>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
60
+ readonly fullscreen?: boolean | undefined;
61
+ readonly elevation?: SizeTokens | undefined;
62
+ } & {
63
+ readonly backgrounded?: boolean | undefined;
64
+ readonly radiused?: boolean | undefined;
65
+ readonly hoverTheme?: boolean | undefined;
66
+ readonly pressTheme?: boolean | undefined;
67
+ readonly focusTheme?: boolean | undefined;
68
+ readonly circular?: boolean | undefined;
69
+ readonly padded?: boolean | undefined;
70
+ readonly elevate?: boolean | undefined;
71
+ readonly bordered?: number | boolean | undefined;
72
+ readonly transparent?: boolean | undefined;
73
+ readonly chromeless?: boolean | "all" | undefined;
74
+ }, string | number> & {
75
+ [x: string]: undefined;
76
+ } & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
77
+ readonly fullscreen?: boolean | undefined;
78
+ readonly elevation?: SizeTokens | undefined;
79
+ } & {
80
+ readonly backgrounded?: boolean | undefined;
81
+ readonly radiused?: boolean | undefined;
82
+ readonly hoverTheme?: boolean | undefined;
83
+ readonly pressTheme?: boolean | undefined;
84
+ readonly focusTheme?: boolean | undefined;
85
+ readonly circular?: boolean | undefined;
86
+ readonly padded?: boolean | undefined;
87
+ readonly elevate?: boolean | undefined;
88
+ readonly bordered?: number | boolean | undefined;
89
+ readonly transparent?: boolean | undefined;
90
+ readonly chromeless?: boolean | "all" | undefined;
91
+ }, string | number> & {
92
+ [x: string]: undefined;
93
+ }>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
94
+ readonly fullscreen?: boolean | undefined;
95
+ readonly elevation?: SizeTokens | undefined;
96
+ } & {
97
+ readonly backgrounded?: boolean | undefined;
98
+ readonly radiused?: boolean | undefined;
99
+ readonly hoverTheme?: boolean | undefined;
100
+ readonly pressTheme?: boolean | undefined;
101
+ readonly focusTheme?: boolean | undefined;
102
+ readonly circular?: boolean | undefined;
103
+ readonly padded?: boolean | undefined;
104
+ readonly elevate?: boolean | undefined;
105
+ readonly bordered?: number | boolean | undefined;
106
+ readonly transparent?: boolean | undefined;
107
+ readonly chromeless?: boolean | "all" | undefined;
108
+ }, string | number> & {
109
+ [x: string]: undefined;
110
+ }>>), TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
111
+ readonly fullscreen?: boolean | undefined;
112
+ readonly elevation?: SizeTokens | undefined;
113
+ } & {
114
+ readonly backgrounded?: boolean | undefined;
115
+ readonly radiused?: boolean | undefined;
116
+ readonly hoverTheme?: boolean | undefined;
117
+ readonly pressTheme?: boolean | undefined;
118
+ readonly focusTheme?: boolean | undefined;
119
+ readonly circular?: boolean | undefined;
120
+ readonly padded?: boolean | undefined;
121
+ readonly elevate?: boolean | undefined;
122
+ readonly bordered?: number | boolean | undefined;
123
+ readonly transparent?: boolean | undefined;
124
+ readonly chromeless?: boolean | "all" | undefined;
125
+ } & ({} | {
126
+ [x: string]: undefined;
127
+ })>;
128
+ type CheckboxIndicatorFrameProps = GetProps<typeof CheckboxIndicatorFrame>;
129
+ export type CheckboxIndicatorProps = CheckboxIndicatorFrameProps & {
130
+ /**
131
+ * Used to force mounting when more control is needed. Useful when
132
+ * controlling animation with React animation libraries.
133
+ */
134
+ forceMount?: true;
135
+ /**
136
+ * Used to disable passing styles down to children.
137
+ */
138
+ disablePassStyles?: boolean;
139
+ };
140
+ export declare const CheckboxFrame: import("@tamagui/core").TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
141
+ readonly fullscreen?: boolean | undefined;
142
+ readonly elevation?: SizeTokens | undefined;
143
+ } & {
144
+ readonly backgrounded?: boolean | undefined;
145
+ readonly radiused?: boolean | undefined;
146
+ readonly hoverTheme?: boolean | undefined;
147
+ readonly pressTheme?: boolean | undefined;
148
+ readonly focusTheme?: boolean | undefined;
149
+ readonly circular?: boolean | undefined;
150
+ readonly padded?: boolean | undefined;
151
+ readonly elevate?: boolean | undefined;
152
+ readonly bordered?: number | boolean | undefined;
153
+ readonly transparent?: boolean | undefined;
154
+ readonly chromeless?: boolean | "all" | undefined;
155
+ }, "size"> & {
156
+ readonly size?: SizeTokens | undefined;
157
+ } & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
158
+ readonly fullscreen?: boolean | undefined;
159
+ readonly elevation?: SizeTokens | undefined;
160
+ } & {
161
+ readonly backgrounded?: boolean | undefined;
162
+ readonly radiused?: boolean | undefined;
163
+ readonly hoverTheme?: boolean | undefined;
164
+ readonly pressTheme?: boolean | undefined;
165
+ readonly focusTheme?: boolean | undefined;
166
+ readonly circular?: boolean | undefined;
167
+ readonly padded?: boolean | undefined;
168
+ readonly elevate?: boolean | undefined;
169
+ readonly bordered?: number | boolean | undefined;
170
+ readonly transparent?: boolean | undefined;
171
+ readonly chromeless?: boolean | "all" | undefined;
172
+ }, "size"> & {
173
+ readonly size?: SizeTokens | undefined;
174
+ }>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
175
+ readonly fullscreen?: boolean | undefined;
176
+ readonly elevation?: SizeTokens | undefined;
177
+ } & {
178
+ readonly backgrounded?: boolean | undefined;
179
+ readonly radiused?: boolean | undefined;
180
+ readonly hoverTheme?: boolean | undefined;
181
+ readonly pressTheme?: boolean | undefined;
182
+ readonly focusTheme?: boolean | undefined;
183
+ readonly circular?: boolean | undefined;
184
+ readonly padded?: boolean | undefined;
185
+ readonly elevate?: boolean | undefined;
186
+ readonly bordered?: number | boolean | undefined;
187
+ readonly transparent?: boolean | undefined;
188
+ readonly chromeless?: boolean | "all" | undefined;
189
+ }, "size"> & {
190
+ readonly size?: SizeTokens | undefined;
191
+ }>>, TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
192
+ readonly fullscreen?: boolean | undefined;
193
+ readonly elevation?: SizeTokens | undefined;
194
+ } & {
195
+ readonly backgrounded?: boolean | undefined;
196
+ readonly radiused?: boolean | undefined;
197
+ readonly hoverTheme?: boolean | undefined;
198
+ readonly pressTheme?: boolean | undefined;
199
+ readonly focusTheme?: boolean | undefined;
200
+ readonly circular?: boolean | undefined;
201
+ readonly padded?: boolean | undefined;
202
+ readonly elevate?: boolean | undefined;
203
+ readonly bordered?: number | boolean | undefined;
204
+ readonly transparent?: boolean | undefined;
205
+ readonly chromeless?: boolean | "all" | undefined;
206
+ } & {
207
+ readonly size?: SizeTokens | undefined;
208
+ }>;
209
+ declare const createCheckboxScope: import("@tamagui/create-context").CreateScope;
210
+ type CheckboxFrameProps = GetProps<typeof CheckboxFrame>;
211
+ export interface CheckboxProps extends Omit<CheckboxFrameProps, 'checked' | 'defaultChecked'> {
212
+ checked?: CheckedState;
213
+ defaultChecked?: CheckedState;
214
+ required?: boolean;
215
+ onCheckedChange?(checked: CheckedState): void;
216
+ labelledBy?: string;
217
+ name?: string;
218
+ value?: string;
219
+ native?: boolean;
220
+ scaleIcon?: number;
221
+ sizeAdjust?: number;
222
+ }
223
+ export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>> & {
224
+ Indicator: React.ForwardRefExoticComponent<((Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
225
+ readonly fullscreen?: boolean | undefined;
226
+ readonly elevation?: SizeTokens | undefined;
227
+ }, "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
228
+ readonly backgrounded?: boolean | undefined;
229
+ readonly radiused?: boolean | undefined;
230
+ readonly hoverTheme?: boolean | undefined;
231
+ readonly pressTheme?: boolean | undefined;
232
+ readonly focusTheme?: boolean | undefined;
233
+ readonly circular?: boolean | undefined;
234
+ readonly padded?: boolean | undefined;
235
+ readonly elevate?: boolean | undefined;
236
+ readonly bordered?: number | boolean | undefined;
237
+ readonly transparent?: boolean | undefined;
238
+ readonly chromeless?: boolean | "all" | undefined;
239
+ } & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
240
+ readonly fullscreen?: boolean | undefined;
241
+ readonly elevation?: SizeTokens | undefined;
242
+ }, "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
243
+ readonly backgrounded?: boolean | undefined;
244
+ readonly radiused?: boolean | undefined;
245
+ readonly hoverTheme?: boolean | undefined;
246
+ readonly pressTheme?: boolean | undefined;
247
+ readonly focusTheme?: boolean | undefined;
248
+ readonly circular?: boolean | undefined;
249
+ readonly padded?: boolean | undefined;
250
+ readonly elevate?: boolean | undefined;
251
+ readonly bordered?: number | boolean | undefined;
252
+ readonly transparent?: boolean | undefined;
253
+ readonly chromeless?: boolean | "all" | undefined;
254
+ }>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
255
+ readonly fullscreen?: boolean | undefined;
256
+ readonly elevation?: SizeTokens | undefined;
257
+ }, "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
258
+ readonly backgrounded?: boolean | undefined;
259
+ readonly radiused?: boolean | undefined;
260
+ readonly hoverTheme?: boolean | undefined;
261
+ readonly pressTheme?: boolean | undefined;
262
+ readonly focusTheme?: boolean | undefined;
263
+ readonly circular?: boolean | undefined;
264
+ readonly padded?: boolean | undefined;
265
+ readonly elevate?: boolean | undefined;
266
+ readonly bordered?: number | boolean | undefined;
267
+ readonly transparent?: boolean | undefined;
268
+ readonly chromeless?: boolean | "all" | undefined;
269
+ }>> & {
270
+ /**
271
+ * Used to force mounting when more control is needed. Useful when
272
+ * controlling animation with React animation libraries.
273
+ */
274
+ forceMount?: true | undefined;
275
+ /**
276
+ * Used to disable passing styles down to children.
277
+ */
278
+ disablePassStyles?: boolean | undefined;
279
+ }) | Pick<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
280
+ readonly fullscreen?: boolean | undefined;
281
+ readonly elevation?: SizeTokens | undefined;
282
+ } & {
283
+ readonly backgrounded?: boolean | undefined;
284
+ readonly radiused?: boolean | undefined;
285
+ readonly hoverTheme?: boolean | undefined;
286
+ readonly pressTheme?: boolean | undefined;
287
+ readonly focusTheme?: boolean | undefined;
288
+ readonly circular?: boolean | undefined;
289
+ readonly padded?: boolean | undefined;
290
+ readonly elevate?: boolean | undefined;
291
+ readonly bordered?: number | boolean | undefined;
292
+ readonly transparent?: boolean | undefined;
293
+ readonly chromeless?: boolean | "all" | undefined;
294
+ }, string | number> & {
295
+ [x: string]: undefined;
296
+ } & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
297
+ readonly fullscreen?: boolean | undefined;
298
+ readonly elevation?: SizeTokens | undefined;
299
+ } & {
300
+ readonly backgrounded?: boolean | undefined;
301
+ readonly radiused?: boolean | undefined;
302
+ readonly hoverTheme?: boolean | undefined;
303
+ readonly pressTheme?: boolean | undefined;
304
+ readonly focusTheme?: boolean | undefined;
305
+ readonly circular?: boolean | undefined;
306
+ readonly padded?: boolean | undefined;
307
+ readonly elevate?: boolean | undefined;
308
+ readonly bordered?: number | boolean | undefined;
309
+ readonly transparent?: boolean | undefined;
310
+ readonly chromeless?: boolean | "all" | undefined;
311
+ }, string | number> & {
312
+ [x: string]: undefined;
313
+ }>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
314
+ readonly fullscreen?: boolean | undefined;
315
+ readonly elevation?: SizeTokens | undefined;
316
+ } & {
317
+ readonly backgrounded?: boolean | undefined;
318
+ readonly radiused?: boolean | undefined;
319
+ readonly hoverTheme?: boolean | undefined;
320
+ readonly pressTheme?: boolean | undefined;
321
+ readonly focusTheme?: boolean | undefined;
322
+ readonly circular?: boolean | undefined;
323
+ readonly padded?: boolean | undefined;
324
+ readonly elevate?: boolean | undefined;
325
+ readonly bordered?: number | boolean | undefined;
326
+ readonly transparent?: boolean | undefined;
327
+ readonly chromeless?: boolean | "all" | undefined;
328
+ }, string | number> & {
329
+ [x: string]: undefined;
330
+ }>> & {
331
+ /**
332
+ * Used to force mounting when more control is needed. Useful when
333
+ * controlling animation with React animation libraries.
334
+ */
335
+ forceMount?: true | undefined;
336
+ /**
337
+ * Used to disable passing styles down to children.
338
+ */
339
+ disablePassStyles?: boolean | undefined;
340
+ }, string | number>) & React.RefAttributes<TamaguiElement>>;
341
+ };
342
+ export { createCheckboxScope };
343
+ //# sourceMappingURL=Checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../src/Checkbox.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,QAAQ,EACR,UAAU,EACV,cAAc,EAWf,MAAM,eAAe,CAAA;AAUtB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,eAAe,CAAA;AAEpD,wBAAgB,eAAe,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,IAAI,eAAe,CAElF;AAED,wBAAgB,QAAQ,CAAC,OAAO,EAAE,YAAY,6CAE7C;AAED,KAAK,UAAU,GAAG,GAAG,CAAA;AACrB,UAAU,gBAAiB,SAAQ,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC;IAC5D,OAAO,EAAE,YAAY,CAAA;IACrB,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B,OAAO,EAAE,OAAO,CAAA;IAEhB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,WAAW,UAAW,gBAAgB,gBAkDlD,CAAA;AAQD,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAE1B,CAAA;AAEF,KAAK,2BAA2B,GAAG,QAAQ,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE1E,MAAM,MAAM,sBAAsB,GAAG,2BAA2B,GAAG;IACjE;;;OAGG;IACH,UAAU,CAAC,EAAE,IAAI,CAAA;IACjB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,CAAA;AAqDD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BxB,CAAA;AAGF,QAAA,MAA8B,mBAAmB,+CAAqC,CAAA;AAYtF,KAAK,kBAAkB,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAA;AACxD,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,gBAAgB,CAAC;IAC9D,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,cAAc,CAAC,EAAE,YAAY,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,eAAe,CAAC,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAA;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAzHnB;;;WAGG;;QAEH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAPH;;;WAGG;;QAEH;;WAEG;;;CA+PJ,CAAA;AAID,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './Checkbox';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}