@tamagui/switch 1.0.1-beta.130 → 1.0.1-beta.133
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 +9 -9
- package/types/Switch.d.ts +10 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/switch",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.133",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@radix-ui/react-use-previous": "^0.1.1",
|
|
25
|
-
"@tamagui/compose-refs": "^1.0.1-beta.
|
|
26
|
-
"@tamagui/core": "^1.0.1-beta.
|
|
27
|
-
"@tamagui/create-context": "^1.0.1-beta.
|
|
28
|
-
"@tamagui/focusable": "^1.0.1-beta.
|
|
29
|
-
"@tamagui/label": "^1.0.1-beta.
|
|
30
|
-
"@tamagui/stacks": "^1.0.1-beta.
|
|
31
|
-
"@tamagui/use-controllable-state": "^1.0.1-beta.
|
|
25
|
+
"@tamagui/compose-refs": "^1.0.1-beta.133",
|
|
26
|
+
"@tamagui/core": "^1.0.1-beta.133",
|
|
27
|
+
"@tamagui/create-context": "^1.0.1-beta.133",
|
|
28
|
+
"@tamagui/focusable": "^1.0.1-beta.133",
|
|
29
|
+
"@tamagui/label": "^1.0.1-beta.133",
|
|
30
|
+
"@tamagui/stacks": "^1.0.1-beta.133",
|
|
31
|
+
"@tamagui/use-controllable-state": "^1.0.1-beta.133"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": "*",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"react-native": "*"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
39
|
+
"@tamagui/build": "^1.0.1-beta.133",
|
|
40
40
|
"@types/react-native": "^0.69.2",
|
|
41
41
|
"react": "*",
|
|
42
42
|
"react-dom": "*",
|
package/types/Switch.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare const SwitchThumbFrame: import("@tamagui/core").TamaguiComponent<
|
|
|
17
17
|
elevate?: boolean | undefined;
|
|
18
18
|
bordered?: number | boolean | undefined;
|
|
19
19
|
transparent?: boolean | undefined;
|
|
20
|
-
chromeless?: boolean | undefined;
|
|
20
|
+
chromeless?: boolean | "all" | undefined;
|
|
21
21
|
}, "size"> & {
|
|
22
22
|
size?: SizeTokens | undefined;
|
|
23
23
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
@@ -35,7 +35,7 @@ export declare const SwitchThumbFrame: import("@tamagui/core").TamaguiComponent<
|
|
|
35
35
|
elevate?: boolean | undefined;
|
|
36
36
|
bordered?: number | boolean | undefined;
|
|
37
37
|
transparent?: boolean | undefined;
|
|
38
|
-
chromeless?: boolean | undefined;
|
|
38
|
+
chromeless?: boolean | "all" | undefined;
|
|
39
39
|
}, "size"> & {
|
|
40
40
|
size?: SizeTokens | undefined;
|
|
41
41
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
@@ -53,7 +53,7 @@ export declare const SwitchThumbFrame: import("@tamagui/core").TamaguiComponent<
|
|
|
53
53
|
elevate?: boolean | undefined;
|
|
54
54
|
bordered?: number | boolean | undefined;
|
|
55
55
|
transparent?: boolean | undefined;
|
|
56
|
-
chromeless?: boolean | undefined;
|
|
56
|
+
chromeless?: boolean | "all" | undefined;
|
|
57
57
|
}, "size"> & {
|
|
58
58
|
size?: SizeTokens | undefined;
|
|
59
59
|
}>>, any, import("@tamagui/core").StackPropsBase, {
|
|
@@ -71,7 +71,7 @@ export declare const SwitchThumbFrame: import("@tamagui/core").TamaguiComponent<
|
|
|
71
71
|
elevate?: boolean | undefined;
|
|
72
72
|
bordered?: number | boolean | undefined;
|
|
73
73
|
transparent?: boolean | undefined;
|
|
74
|
-
chromeless?: boolean | undefined;
|
|
74
|
+
chromeless?: boolean | "all" | undefined;
|
|
75
75
|
} & {
|
|
76
76
|
size?: SizeTokens | undefined;
|
|
77
77
|
}>;
|
|
@@ -91,7 +91,7 @@ export declare const SwitchThumb: React.ForwardRefExoticComponent<Omit<import("r
|
|
|
91
91
|
elevate?: boolean | undefined;
|
|
92
92
|
bordered?: number | boolean | undefined;
|
|
93
93
|
transparent?: boolean | undefined;
|
|
94
|
-
chromeless?: boolean | undefined;
|
|
94
|
+
chromeless?: boolean | "all" | undefined;
|
|
95
95
|
}, "size"> & {
|
|
96
96
|
size?: SizeTokens | undefined;
|
|
97
97
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
@@ -109,7 +109,7 @@ export declare const SwitchThumb: React.ForwardRefExoticComponent<Omit<import("r
|
|
|
109
109
|
elevate?: boolean | undefined;
|
|
110
110
|
bordered?: number | boolean | undefined;
|
|
111
111
|
transparent?: boolean | undefined;
|
|
112
|
-
chromeless?: boolean | undefined;
|
|
112
|
+
chromeless?: boolean | "all" | undefined;
|
|
113
113
|
}, "size"> & {
|
|
114
114
|
size?: SizeTokens | undefined;
|
|
115
115
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
@@ -127,7 +127,7 @@ export declare const SwitchThumb: React.ForwardRefExoticComponent<Omit<import("r
|
|
|
127
127
|
elevate?: boolean | undefined;
|
|
128
128
|
bordered?: number | boolean | undefined;
|
|
129
129
|
transparent?: boolean | undefined;
|
|
130
|
-
chromeless?: boolean | undefined;
|
|
130
|
+
chromeless?: boolean | "all" | undefined;
|
|
131
131
|
}, "size"> & {
|
|
132
132
|
size?: SizeTokens | undefined;
|
|
133
133
|
}>> & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -201,7 +201,7 @@ export declare const Switch: React.ForwardRefExoticComponent<Omit<import("react-
|
|
|
201
201
|
elevate?: boolean | undefined;
|
|
202
202
|
bordered?: number | boolean | undefined;
|
|
203
203
|
transparent?: boolean | undefined;
|
|
204
|
-
chromeless?: boolean | undefined;
|
|
204
|
+
chromeless?: boolean | "all" | undefined;
|
|
205
205
|
}, "size"> & {
|
|
206
206
|
size?: SizeTokens | undefined;
|
|
207
207
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
@@ -219,7 +219,7 @@ export declare const Switch: React.ForwardRefExoticComponent<Omit<import("react-
|
|
|
219
219
|
elevate?: boolean | undefined;
|
|
220
220
|
bordered?: number | boolean | undefined;
|
|
221
221
|
transparent?: boolean | undefined;
|
|
222
|
-
chromeless?: boolean | undefined;
|
|
222
|
+
chromeless?: boolean | "all" | undefined;
|
|
223
223
|
}, "size"> & {
|
|
224
224
|
size?: SizeTokens | undefined;
|
|
225
225
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
@@ -237,7 +237,7 @@ export declare const Switch: React.ForwardRefExoticComponent<Omit<import("react-
|
|
|
237
237
|
elevate?: boolean | undefined;
|
|
238
238
|
bordered?: number | boolean | undefined;
|
|
239
239
|
transparent?: boolean | undefined;
|
|
240
|
-
chromeless?: boolean | undefined;
|
|
240
|
+
chromeless?: boolean | "all" | undefined;
|
|
241
241
|
}, "size"> & {
|
|
242
242
|
size?: SizeTokens | undefined;
|
|
243
243
|
}>> & React.RefAttributes<HTMLSpanElement>>;
|