@tamagui/checkbox 1.43.17 → 1.45.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/checkbox",
3
- "version": "1.43.17",
3
+ "version": "1.45.0",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -20,15 +20,15 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@radix-ui/react-use-previous": "^1.0.0",
23
- "@tamagui/core": "1.43.17",
24
- "@tamagui/create-context": "1.43.17",
25
- "@tamagui/focusable": "1.43.17",
26
- "@tamagui/font-size": "1.43.17",
27
- "@tamagui/get-token": "1.43.17",
28
- "@tamagui/helpers-tamagui": "1.43.17",
29
- "@tamagui/label": "1.43.17",
30
- "@tamagui/stacks": "1.43.17",
31
- "@tamagui/use-controllable-state": "1.43.17"
23
+ "@tamagui/core": "1.45.0",
24
+ "@tamagui/create-context": "1.45.0",
25
+ "@tamagui/focusable": "1.45.0",
26
+ "@tamagui/font-size": "1.45.0",
27
+ "@tamagui/get-token": "1.45.0",
28
+ "@tamagui/helpers-tamagui": "1.45.0",
29
+ "@tamagui/label": "1.45.0",
30
+ "@tamagui/stacks": "1.45.0",
31
+ "@tamagui/use-controllable-state": "1.45.0"
32
32
  },
33
33
  "exports": {
34
34
  "./package.json": "./package.json",
@@ -42,7 +42,7 @@
42
42
  "react": "*"
43
43
  },
44
44
  "devDependencies": {
45
- "@tamagui/build": "1.43.17",
45
+ "@tamagui/build": "1.45.0",
46
46
  "react": "^18.2.0"
47
47
  },
48
48
  "publishConfig": {
@@ -66,24 +66,7 @@ declare const CheckboxIndicatorFrame: import("@tamagui/core").TamaguiComponent<(
66
66
  readonly bordered?: number | boolean | undefined;
67
67
  readonly transparent?: boolean | undefined;
68
68
  readonly chromeless?: boolean | "all" | undefined;
69
- } & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
70
- style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
71
- } & 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<{
72
- readonly fullscreen?: boolean | undefined;
73
- readonly elevation?: SizeTokens | undefined;
74
- }, "transparent" | "circular" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
75
- readonly backgrounded?: boolean | undefined;
76
- readonly radiused?: boolean | undefined;
77
- readonly hoverTheme?: boolean | undefined;
78
- readonly pressTheme?: boolean | undefined;
79
- readonly focusTheme?: boolean | undefined;
80
- readonly circular?: boolean | undefined;
81
- readonly padded?: boolean | undefined;
82
- readonly elevate?: boolean | undefined;
83
- readonly bordered?: number | boolean | undefined;
84
- readonly transparent?: boolean | undefined;
85
- readonly chromeless?: boolean | "all" | undefined;
86
- }>>>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
69
+ }>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
87
70
  style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
88
71
  } & 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<{
89
72
  readonly fullscreen?: boolean | undefined;
@@ -140,26 +123,7 @@ declare const CheckboxIndicatorFrame: import("@tamagui/core").TamaguiComponent<(
140
123
  readonly chromeless?: boolean | "all" | undefined;
141
124
  }, string | number> & {
142
125
  [x: string]: undefined;
143
- } & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
144
- style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
145
- } & 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<{
146
- readonly fullscreen?: boolean | undefined;
147
- readonly elevation?: SizeTokens | undefined;
148
- } & {
149
- readonly backgrounded?: boolean | undefined;
150
- readonly radiused?: boolean | undefined;
151
- readonly hoverTheme?: boolean | undefined;
152
- readonly pressTheme?: boolean | undefined;
153
- readonly focusTheme?: boolean | undefined;
154
- readonly circular?: boolean | undefined;
155
- readonly padded?: boolean | undefined;
156
- readonly elevate?: boolean | undefined;
157
- readonly bordered?: number | boolean | undefined;
158
- readonly transparent?: boolean | undefined;
159
- readonly chromeless?: boolean | "all" | undefined;
160
- }, string | number> & {
161
- [x: string]: undefined;
162
- }>>>>), TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
126
+ }>>), TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
163
127
  style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
164
128
  } & 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, {
165
129
  readonly fullscreen?: boolean | undefined;
@@ -277,27 +241,7 @@ export declare const CheckboxFrame: import("@tamagui/core").TamaguiComponent<Omi
277
241
  }, "size" | "unstyled"> & {
278
242
  readonly unstyled?: boolean | undefined;
279
243
  readonly size?: SizeTokens | undefined;
280
- } & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
281
- style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
282
- } & 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<{
283
- readonly fullscreen?: boolean | undefined;
284
- readonly elevation?: SizeTokens | undefined;
285
- } & {
286
- readonly backgrounded?: boolean | undefined;
287
- readonly radiused?: boolean | undefined;
288
- readonly hoverTheme?: boolean | undefined;
289
- readonly pressTheme?: boolean | undefined;
290
- readonly focusTheme?: boolean | undefined;
291
- readonly circular?: boolean | undefined;
292
- readonly padded?: boolean | undefined;
293
- readonly elevate?: boolean | undefined;
294
- readonly bordered?: number | boolean | undefined;
295
- readonly transparent?: boolean | undefined;
296
- readonly chromeless?: boolean | "all" | undefined;
297
- }, "size" | "unstyled"> & {
298
- readonly unstyled?: boolean | undefined;
299
- readonly size?: SizeTokens | undefined;
300
- }>>>>, TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
244
+ }>>, TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
301
245
  style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
302
246
  } & 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, {
303
247
  readonly fullscreen?: boolean | undefined;
@@ -411,24 +355,7 @@ export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & R
411
355
  readonly bordered?: number | boolean | undefined;
412
356
  readonly transparent?: boolean | undefined;
413
357
  readonly chromeless?: boolean | "all" | undefined;
414
- } & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
415
- style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
416
- } & 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<{
417
- readonly fullscreen?: boolean | undefined;
418
- readonly elevation?: SizeTokens | undefined;
419
- }, "transparent" | "circular" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
420
- readonly backgrounded?: boolean | undefined;
421
- readonly radiused?: boolean | undefined;
422
- readonly hoverTheme?: boolean | undefined;
423
- readonly pressTheme?: boolean | undefined;
424
- readonly focusTheme?: boolean | undefined;
425
- readonly circular?: boolean | undefined;
426
- readonly padded?: boolean | undefined;
427
- readonly elevate?: boolean | undefined;
428
- readonly bordered?: number | boolean | undefined;
429
- readonly transparent?: boolean | undefined;
430
- readonly chromeless?: boolean | "all" | undefined;
431
- }>>>> & {
358
+ }>> & {
432
359
  /**
433
360
  * Used to force mounting when more control is needed. Useful when
434
361
  * controlling animation with React animation libraries.
@@ -495,26 +422,7 @@ export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & R
495
422
  readonly chromeless?: boolean | "all" | undefined;
496
423
  }, string | number> & {
497
424
  [x: string]: undefined;
498
- } & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
499
- style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
500
- } & 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<{
501
- readonly fullscreen?: boolean | undefined;
502
- readonly elevation?: SizeTokens | undefined;
503
- } & {
504
- readonly backgrounded?: boolean | undefined;
505
- readonly radiused?: boolean | undefined;
506
- readonly hoverTheme?: boolean | undefined;
507
- readonly pressTheme?: boolean | undefined;
508
- readonly focusTheme?: boolean | undefined;
509
- readonly circular?: boolean | undefined;
510
- readonly padded?: boolean | undefined;
511
- readonly elevate?: boolean | undefined;
512
- readonly bordered?: number | boolean | undefined;
513
- readonly transparent?: boolean | undefined;
514
- readonly chromeless?: boolean | "all" | undefined;
515
- }, string | number> & {
516
- [x: string]: undefined;
517
- }>>>> & {
425
+ }>> & {
518
426
  /**
519
427
  * Used to force mounting when more control is needed. Useful when
520
428
  * controlling animation with React animation libraries.
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../src/Checkbox.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,QAAQ,EACR,UAAU,EACV,cAAc,EAUf,MAAM,eAAe,CAAA;AAUtB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,eAAO,MAAM,qBAAqB;;;EAGhC,CAAA;AAEF,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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