@tamagui/switch 1.0.1-rc.8 → 1.0.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 +11 -11
- package/types/Switch.d.ts +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/switch",
|
|
3
|
-
"version": "1.0.1
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@radix-ui/react-use-previous": "^0.1.1",
|
|
27
|
-
"@tamagui/compose-refs": "^1.0.1
|
|
28
|
-
"@tamagui/core": "^1.0.1
|
|
29
|
-
"@tamagui/create-context": "^1.0.1
|
|
30
|
-
"@tamagui/focusable": "^1.0.1
|
|
31
|
-
"@tamagui/label": "^1.0.1
|
|
32
|
-
"@tamagui/stacks": "^1.0.1
|
|
33
|
-
"@tamagui/use-controllable-state": "^1.0.1
|
|
27
|
+
"@tamagui/compose-refs": "^1.0.1",
|
|
28
|
+
"@tamagui/core": "^1.0.1",
|
|
29
|
+
"@tamagui/create-context": "^1.0.1",
|
|
30
|
+
"@tamagui/focusable": "^1.0.1",
|
|
31
|
+
"@tamagui/label": "^1.0.1",
|
|
32
|
+
"@tamagui/stacks": "^1.0.1",
|
|
33
|
+
"@tamagui/use-controllable-state": "^1.0.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"react": "
|
|
37
|
-
"react-dom": "
|
|
36
|
+
"react": "*",
|
|
37
|
+
"react-dom": "*",
|
|
38
38
|
"react-native": "*"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@tamagui/build": "^1.0.1
|
|
41
|
+
"@tamagui/build": "^1.0.1",
|
|
42
42
|
"react": "^18.2.0",
|
|
43
43
|
"react-dom": "^18.2.0",
|
|
44
44
|
"react-native": "*"
|
package/types/Switch.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export declare const SwitchThumbFrame: import("@tamagui/core").TamaguiComponent<
|
|
|
6
6
|
readonly fullscreen?: boolean | undefined;
|
|
7
7
|
readonly elevation?: SizeTokens | undefined;
|
|
8
8
|
} & {
|
|
9
|
-
readonly fontFamily?: unknown;
|
|
10
9
|
readonly backgrounded?: boolean | undefined;
|
|
11
10
|
readonly radiused?: boolean | undefined;
|
|
12
11
|
readonly hoverTheme?: boolean | undefined;
|
|
@@ -24,7 +23,6 @@ export declare const SwitchThumbFrame: import("@tamagui/core").TamaguiComponent<
|
|
|
24
23
|
readonly fullscreen?: boolean | undefined;
|
|
25
24
|
readonly elevation?: SizeTokens | undefined;
|
|
26
25
|
} & {
|
|
27
|
-
readonly fontFamily?: unknown;
|
|
28
26
|
readonly backgrounded?: boolean | undefined;
|
|
29
27
|
readonly radiused?: boolean | undefined;
|
|
30
28
|
readonly hoverTheme?: boolean | undefined;
|
|
@@ -42,7 +40,6 @@ export declare const SwitchThumbFrame: import("@tamagui/core").TamaguiComponent<
|
|
|
42
40
|
readonly fullscreen?: boolean | undefined;
|
|
43
41
|
readonly elevation?: SizeTokens | undefined;
|
|
44
42
|
} & {
|
|
45
|
-
readonly fontFamily?: unknown;
|
|
46
43
|
readonly backgrounded?: boolean | undefined;
|
|
47
44
|
readonly radiused?: boolean | undefined;
|
|
48
45
|
readonly hoverTheme?: boolean | undefined;
|
|
@@ -60,7 +57,6 @@ export declare const SwitchThumbFrame: import("@tamagui/core").TamaguiComponent<
|
|
|
60
57
|
readonly fullscreen?: boolean | undefined;
|
|
61
58
|
readonly elevation?: SizeTokens | undefined;
|
|
62
59
|
} & {
|
|
63
|
-
readonly fontFamily?: unknown;
|
|
64
60
|
readonly backgrounded?: boolean | undefined;
|
|
65
61
|
readonly radiused?: boolean | undefined;
|
|
66
62
|
readonly hoverTheme?: boolean | undefined;
|
|
@@ -80,7 +76,6 @@ export declare const SwitchThumb: React.ForwardRefExoticComponent<Omit<import("r
|
|
|
80
76
|
readonly fullscreen?: boolean | undefined;
|
|
81
77
|
readonly elevation?: SizeTokens | undefined;
|
|
82
78
|
} & {
|
|
83
|
-
readonly fontFamily?: unknown;
|
|
84
79
|
readonly backgrounded?: boolean | undefined;
|
|
85
80
|
readonly radiused?: boolean | undefined;
|
|
86
81
|
readonly hoverTheme?: boolean | undefined;
|
|
@@ -98,7 +93,6 @@ export declare const SwitchThumb: React.ForwardRefExoticComponent<Omit<import("r
|
|
|
98
93
|
readonly fullscreen?: boolean | undefined;
|
|
99
94
|
readonly elevation?: SizeTokens | undefined;
|
|
100
95
|
} & {
|
|
101
|
-
readonly fontFamily?: unknown;
|
|
102
96
|
readonly backgrounded?: boolean | undefined;
|
|
103
97
|
readonly radiused?: boolean | undefined;
|
|
104
98
|
readonly hoverTheme?: boolean | undefined;
|
|
@@ -116,7 +110,6 @@ export declare const SwitchThumb: React.ForwardRefExoticComponent<Omit<import("r
|
|
|
116
110
|
readonly fullscreen?: boolean | undefined;
|
|
117
111
|
readonly elevation?: SizeTokens | undefined;
|
|
118
112
|
} & {
|
|
119
|
-
readonly fontFamily?: unknown;
|
|
120
113
|
readonly backgrounded?: boolean | undefined;
|
|
121
114
|
readonly radiused?: boolean | undefined;
|
|
122
115
|
readonly hoverTheme?: boolean | undefined;
|
|
@@ -190,7 +183,6 @@ export declare const Switch: React.ForwardRefExoticComponent<Omit<import("react-
|
|
|
190
183
|
readonly fullscreen?: boolean | undefined;
|
|
191
184
|
readonly elevation?: SizeTokens | undefined;
|
|
192
185
|
} & {
|
|
193
|
-
readonly fontFamily?: unknown;
|
|
194
186
|
readonly backgrounded?: boolean | undefined;
|
|
195
187
|
readonly radiused?: boolean | undefined;
|
|
196
188
|
readonly hoverTheme?: boolean | undefined;
|
|
@@ -208,7 +200,6 @@ export declare const Switch: React.ForwardRefExoticComponent<Omit<import("react-
|
|
|
208
200
|
readonly fullscreen?: boolean | undefined;
|
|
209
201
|
readonly elevation?: SizeTokens | undefined;
|
|
210
202
|
} & {
|
|
211
|
-
readonly fontFamily?: unknown;
|
|
212
203
|
readonly backgrounded?: boolean | undefined;
|
|
213
204
|
readonly radiused?: boolean | undefined;
|
|
214
205
|
readonly hoverTheme?: boolean | undefined;
|
|
@@ -226,7 +217,6 @@ export declare const Switch: React.ForwardRefExoticComponent<Omit<import("react-
|
|
|
226
217
|
readonly fullscreen?: boolean | undefined;
|
|
227
218
|
readonly elevation?: SizeTokens | undefined;
|
|
228
219
|
} & {
|
|
229
|
-
readonly fontFamily?: unknown;
|
|
230
220
|
readonly backgrounded?: boolean | undefined;
|
|
231
221
|
readonly radiused?: boolean | undefined;
|
|
232
222
|
readonly hoverTheme?: boolean | undefined;
|