@tamagui/toggle-group 1.88.9 → 1.88.11
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 +15 -15
- package/types/Toggle.d.ts +4 -38
- package/types/Toggle.d.ts.map +1 -1
- package/types/ToggleGroup.d.ts +10 -168
- package/types/ToggleGroup.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/toggle-group",
|
|
3
|
-
"version": "1.88.
|
|
3
|
+
"version": "1.88.11",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -32,25 +32,25 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tamagui/constants": "1.88.
|
|
36
|
-
"@tamagui/create-context": "1.88.
|
|
37
|
-
"@tamagui/focusable": "1.88.
|
|
38
|
-
"@tamagui/font-size": "1.88.
|
|
39
|
-
"@tamagui/get-token": "1.88.
|
|
40
|
-
"@tamagui/group": "1.88.
|
|
41
|
-
"@tamagui/helpers": "1.88.
|
|
42
|
-
"@tamagui/helpers-tamagui": "1.88.
|
|
43
|
-
"@tamagui/roving-focus": "1.88.
|
|
44
|
-
"@tamagui/stacks": "1.88.
|
|
45
|
-
"@tamagui/use-controllable-state": "1.88.
|
|
46
|
-
"@tamagui/use-direction": "1.88.
|
|
47
|
-
"@tamagui/web": "1.88.
|
|
35
|
+
"@tamagui/constants": "1.88.11",
|
|
36
|
+
"@tamagui/create-context": "1.88.11",
|
|
37
|
+
"@tamagui/focusable": "1.88.11",
|
|
38
|
+
"@tamagui/font-size": "1.88.11",
|
|
39
|
+
"@tamagui/get-token": "1.88.11",
|
|
40
|
+
"@tamagui/group": "1.88.11",
|
|
41
|
+
"@tamagui/helpers": "1.88.11",
|
|
42
|
+
"@tamagui/helpers-tamagui": "1.88.11",
|
|
43
|
+
"@tamagui/roving-focus": "1.88.11",
|
|
44
|
+
"@tamagui/stacks": "1.88.11",
|
|
45
|
+
"@tamagui/use-controllable-state": "1.88.11",
|
|
46
|
+
"@tamagui/use-direction": "1.88.11",
|
|
47
|
+
"@tamagui/web": "1.88.11"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"react": "*"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@tamagui/build": "1.88.
|
|
53
|
+
"@tamagui/build": "1.88.11",
|
|
54
54
|
"react": "^18.2.0"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|
package/types/Toggle.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare const ToggleFrame: import("@tamagui/web").TamaguiComponent<import
|
|
|
19
19
|
radiused?: boolean | undefined;
|
|
20
20
|
padded?: boolean | undefined;
|
|
21
21
|
chromeless?: boolean | "all" | undefined;
|
|
22
|
-
},
|
|
22
|
+
}, import("@tamagui/web").StaticConfigPublic>;
|
|
23
23
|
type ToggleFrameProps = GetProps<typeof ToggleFrame>;
|
|
24
24
|
type ToggleItemExtraProps = {
|
|
25
25
|
defaultValue?: string;
|
|
@@ -29,7 +29,7 @@ type ToggleItemExtraProps = {
|
|
|
29
29
|
onPressedChange?(pressed: boolean): void;
|
|
30
30
|
};
|
|
31
31
|
export type ToggleProps = ToggleFrameProps & ToggleItemExtraProps;
|
|
32
|
-
export declare const Toggle: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "unstyled" | "pressTheme" | "active" | "orientation" | "elevation" | keyof import("@tamagui/web").StackStyleBase | "transparent" | "fullscreen" | "circular" | "hoverTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & {
|
|
32
|
+
export declare const Toggle: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "unstyled" | "pressTheme" | "active" | "orientation" | "elevation" | keyof import("@tamagui/web").StackStyleBase | "transparent" | "fullscreen" | "circular" | "hoverTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
33
33
|
unstyled?: boolean | undefined;
|
|
34
34
|
pressTheme?: boolean | undefined;
|
|
35
35
|
active?: boolean | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const Toggle: React.ForwardRefExoticComponent<Omit<import("@tamag
|
|
|
46
46
|
radiused?: boolean | undefined;
|
|
47
47
|
padded?: boolean | undefined;
|
|
48
48
|
chromeless?: boolean | "all" | undefined;
|
|
49
|
-
}
|
|
49
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
50
50
|
unstyled?: boolean | undefined;
|
|
51
51
|
pressTheme?: boolean | undefined;
|
|
52
52
|
active?: boolean | undefined;
|
|
@@ -63,41 +63,7 @@ export declare const Toggle: React.ForwardRefExoticComponent<Omit<import("@tamag
|
|
|
63
63
|
radiused?: boolean | undefined;
|
|
64
64
|
padded?: boolean | undefined;
|
|
65
65
|
chromeless?: boolean | "all" | undefined;
|
|
66
|
-
}
|
|
67
|
-
unstyled?: boolean | undefined;
|
|
68
|
-
pressTheme?: boolean | undefined;
|
|
69
|
-
active?: boolean | undefined;
|
|
70
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
71
|
-
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
72
|
-
transparent?: boolean | undefined;
|
|
73
|
-
fullscreen?: boolean | undefined;
|
|
74
|
-
circular?: boolean | undefined;
|
|
75
|
-
hoverTheme?: boolean | undefined;
|
|
76
|
-
focusTheme?: boolean | undefined;
|
|
77
|
-
elevate?: boolean | undefined;
|
|
78
|
-
bordered?: number | boolean | undefined;
|
|
79
|
-
backgrounded?: boolean | undefined;
|
|
80
|
-
radiused?: boolean | undefined;
|
|
81
|
-
padded?: boolean | undefined;
|
|
82
|
-
chromeless?: boolean | "all" | undefined;
|
|
83
|
-
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & {
|
|
84
|
-
unstyled?: boolean | undefined;
|
|
85
|
-
pressTheme?: boolean | undefined;
|
|
86
|
-
active?: boolean | undefined;
|
|
87
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
88
|
-
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
89
|
-
transparent?: boolean | undefined;
|
|
90
|
-
fullscreen?: boolean | undefined;
|
|
91
|
-
circular?: boolean | undefined;
|
|
92
|
-
hoverTheme?: boolean | undefined;
|
|
93
|
-
focusTheme?: boolean | undefined;
|
|
94
|
-
elevate?: boolean | undefined;
|
|
95
|
-
bordered?: number | boolean | undefined;
|
|
96
|
-
backgrounded?: boolean | undefined;
|
|
97
|
-
radiused?: boolean | undefined;
|
|
98
|
-
padded?: boolean | undefined;
|
|
99
|
-
chromeless?: boolean | "all" | undefined;
|
|
100
|
-
}>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase & {
|
|
66
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {
|
|
101
67
|
unstyled?: boolean | undefined;
|
|
102
68
|
pressTheme?: boolean | undefined;
|
|
103
69
|
active?: boolean | undefined;
|
package/types/Toggle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../src/Toggle.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAU,MAAM,cAAc,CAAA;AAC/C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,KAAK,oBAAoB,GAAG,iBAAiB,CAAA;AAE7C,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAAA;AAEhD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../src/Toggle.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAU,MAAM,cAAc,CAAA;AAC/C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,KAAK,oBAAoB,GAAG,iBAAiB,CAAA;AAE7C,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAAA;AAEhD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;6CA4DtB,CAAA;AAEF,KAAK,gBAAgB,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAA;AAEpD,KAAK,oBAAoB,GAAG;IAC1B,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,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG,oBAAoB,CAAA;AAEjE,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oEAmClB,CAAA"}
|
package/types/ToggleGroup.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ declare const ToggleGroup: React.ForwardRefExoticComponent<(Omit<ToggleGroupSing
|
|
|
25
25
|
}, "ref"> | Omit<ToggleGroupMultipleProps & {
|
|
26
26
|
__scopeToggleGroup?: string | undefined;
|
|
27
27
|
}, "ref">) & React.RefAttributes<HTMLElement>> & {
|
|
28
|
-
Item: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "unstyled" | "pressTheme" | "active" | "orientation" | "elevation" | keyof import("@tamagui/web").StackStyleBase | "transparent" | "fullscreen" | "circular" | "hoverTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & {
|
|
28
|
+
Item: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "unstyled" | "pressTheme" | "active" | "orientation" | "elevation" | keyof import("@tamagui/web").StackStyleBase | "transparent" | "fullscreen" | "circular" | "hoverTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
29
29
|
unstyled?: boolean | undefined;
|
|
30
30
|
pressTheme?: boolean | undefined;
|
|
31
31
|
active?: boolean | undefined;
|
|
@@ -42,7 +42,7 @@ declare const ToggleGroup: React.ForwardRefExoticComponent<(Omit<ToggleGroupSing
|
|
|
42
42
|
radiused?: boolean | undefined;
|
|
43
43
|
padded?: boolean | undefined;
|
|
44
44
|
chromeless?: boolean | "all" | undefined;
|
|
45
|
-
}
|
|
45
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
46
46
|
unstyled?: boolean | undefined;
|
|
47
47
|
pressTheme?: boolean | undefined;
|
|
48
48
|
active?: boolean | undefined;
|
|
@@ -59,41 +59,7 @@ declare const ToggleGroup: React.ForwardRefExoticComponent<(Omit<ToggleGroupSing
|
|
|
59
59
|
radiused?: boolean | undefined;
|
|
60
60
|
padded?: boolean | undefined;
|
|
61
61
|
chromeless?: boolean | "all" | undefined;
|
|
62
|
-
}
|
|
63
|
-
unstyled?: boolean | undefined;
|
|
64
|
-
pressTheme?: boolean | undefined;
|
|
65
|
-
active?: boolean | undefined;
|
|
66
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
67
|
-
elevation?: number | SizeTokens | undefined;
|
|
68
|
-
transparent?: boolean | undefined;
|
|
69
|
-
fullscreen?: boolean | undefined;
|
|
70
|
-
circular?: boolean | undefined;
|
|
71
|
-
hoverTheme?: boolean | undefined;
|
|
72
|
-
focusTheme?: boolean | undefined;
|
|
73
|
-
elevate?: boolean | undefined;
|
|
74
|
-
bordered?: number | boolean | undefined;
|
|
75
|
-
backgrounded?: boolean | undefined;
|
|
76
|
-
radiused?: boolean | undefined;
|
|
77
|
-
padded?: boolean | undefined;
|
|
78
|
-
chromeless?: boolean | "all" | undefined;
|
|
79
|
-
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & {
|
|
80
|
-
unstyled?: boolean | undefined;
|
|
81
|
-
pressTheme?: boolean | undefined;
|
|
82
|
-
active?: boolean | undefined;
|
|
83
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
84
|
-
elevation?: number | SizeTokens | undefined;
|
|
85
|
-
transparent?: boolean | undefined;
|
|
86
|
-
fullscreen?: boolean | undefined;
|
|
87
|
-
circular?: boolean | undefined;
|
|
88
|
-
hoverTheme?: boolean | undefined;
|
|
89
|
-
focusTheme?: boolean | undefined;
|
|
90
|
-
elevate?: boolean | undefined;
|
|
91
|
-
bordered?: number | boolean | undefined;
|
|
92
|
-
backgrounded?: boolean | undefined;
|
|
93
|
-
radiused?: boolean | undefined;
|
|
94
|
-
padded?: boolean | undefined;
|
|
95
|
-
chromeless?: boolean | "all" | undefined;
|
|
96
|
-
}>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase & {
|
|
62
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {
|
|
97
63
|
unstyled?: boolean | undefined;
|
|
98
64
|
pressTheme?: boolean | undefined;
|
|
99
65
|
active?: boolean | undefined;
|
|
@@ -156,7 +122,7 @@ interface ToggleGroupImplMultipleProps extends ToggleGroupImplProps {
|
|
|
156
122
|
onValueChange?(value: string[]): void;
|
|
157
123
|
}
|
|
158
124
|
type RovingFocusGroupProps = React.ComponentPropsWithoutRef<typeof RovingFocusGroup>;
|
|
159
|
-
declare const ToggleGroupImplElementFrame: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/web/types/interfaces/TamaguiComponentPropsBaseBase").TamaguiComponentPropsBaseBase & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "unstyled" | "pressTheme" | "elevation" | keyof import("@tamagui/web").StackStyleBase | "transparent" | "fullscreen" | "circular" | "hoverTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless" | "size"> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & {
|
|
125
|
+
declare const ToggleGroupImplElementFrame: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/web/types/interfaces/TamaguiComponentPropsBaseBase").TamaguiComponentPropsBaseBase & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "unstyled" | "pressTheme" | "elevation" | keyof import("@tamagui/web").StackStyleBase | "transparent" | "fullscreen" | "circular" | "hoverTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless" | "size"> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
160
126
|
unstyled?: boolean | undefined;
|
|
161
127
|
size?: any;
|
|
162
128
|
elevation?: number | SizeTokens | undefined;
|
|
@@ -172,7 +138,7 @@ declare const ToggleGroupImplElementFrame: import("@tamagui/web").TamaguiCompone
|
|
|
172
138
|
radiused?: boolean | undefined;
|
|
173
139
|
padded?: boolean | undefined;
|
|
174
140
|
chromeless?: boolean | "all" | undefined;
|
|
175
|
-
}
|
|
141
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
176
142
|
unstyled?: boolean | undefined;
|
|
177
143
|
size?: any;
|
|
178
144
|
elevation?: number | SizeTokens | undefined;
|
|
@@ -188,41 +154,11 @@ declare const ToggleGroupImplElementFrame: import("@tamagui/web").TamaguiCompone
|
|
|
188
154
|
radiused?: boolean | undefined;
|
|
189
155
|
padded?: boolean | undefined;
|
|
190
156
|
chromeless?: boolean | "all" | undefined;
|
|
191
|
-
}
|
|
157
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {
|
|
192
158
|
unstyled?: boolean | undefined;
|
|
193
|
-
size?: any;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
fullscreen?: boolean | undefined;
|
|
197
|
-
circular?: boolean | undefined;
|
|
198
|
-
hoverTheme?: boolean | undefined;
|
|
199
|
-
pressTheme?: boolean | undefined;
|
|
200
|
-
focusTheme?: boolean | undefined;
|
|
201
|
-
elevate?: boolean | undefined;
|
|
202
|
-
bordered?: number | boolean | undefined;
|
|
203
|
-
backgrounded?: boolean | undefined;
|
|
204
|
-
radiused?: boolean | undefined;
|
|
205
|
-
padded?: boolean | undefined;
|
|
206
|
-
chromeless?: boolean | "all" | undefined;
|
|
207
|
-
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & {
|
|
208
|
-
unstyled?: boolean | undefined;
|
|
209
|
-
size?: any;
|
|
210
|
-
elevation?: number | SizeTokens | undefined;
|
|
211
|
-
transparent?: boolean | undefined;
|
|
212
|
-
fullscreen?: boolean | undefined;
|
|
213
|
-
circular?: boolean | undefined;
|
|
214
|
-
hoverTheme?: boolean | undefined;
|
|
215
|
-
pressTheme?: boolean | undefined;
|
|
216
|
-
focusTheme?: boolean | undefined;
|
|
217
|
-
elevate?: boolean | undefined;
|
|
218
|
-
bordered?: number | boolean | undefined;
|
|
219
|
-
backgrounded?: boolean | undefined;
|
|
220
|
-
radiused?: boolean | undefined;
|
|
221
|
-
padded?: boolean | undefined;
|
|
222
|
-
chromeless?: boolean | "all" | undefined;
|
|
223
|
-
}>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase & {
|
|
224
|
-
unstyled?: boolean | undefined;
|
|
225
|
-
size?: any;
|
|
159
|
+
size?: any; /**
|
|
160
|
+
* A string value for the toggle group item. All items within a toggle group should use a unique value.
|
|
161
|
+
*/
|
|
226
162
|
elevation?: number | SizeTokens | undefined;
|
|
227
163
|
transparent?: boolean | undefined;
|
|
228
164
|
fullscreen?: boolean | undefined;
|
|
@@ -249,101 +185,7 @@ declare const ToggleGroupImplElementFrame: import("@tamagui/web").TamaguiCompone
|
|
|
249
185
|
} & React.RefAttributes<import("@tamagui/web").TamaguiElement>, import("@tamagui/web").StackStyleBase, {
|
|
250
186
|
unstyled?: boolean | undefined;
|
|
251
187
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
252
|
-
},
|
|
253
|
-
unstyled?: boolean | undefined;
|
|
254
|
-
size?: any;
|
|
255
|
-
elevation?: number | SizeTokens | undefined;
|
|
256
|
-
transparent?: boolean | undefined;
|
|
257
|
-
fullscreen?: boolean | undefined;
|
|
258
|
-
circular?: boolean | undefined;
|
|
259
|
-
hoverTheme?: boolean | undefined;
|
|
260
|
-
pressTheme?: boolean | undefined;
|
|
261
|
-
focusTheme?: boolean | undefined;
|
|
262
|
-
elevate?: boolean | undefined;
|
|
263
|
-
bordered?: number | boolean | undefined;
|
|
264
|
-
backgrounded?: boolean | undefined;
|
|
265
|
-
radiused?: boolean | undefined;
|
|
266
|
-
padded?: boolean | undefined;
|
|
267
|
-
chromeless?: boolean | "all" | undefined;
|
|
268
|
-
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & {
|
|
269
|
-
unstyled?: boolean | undefined;
|
|
270
|
-
size?: any;
|
|
271
|
-
elevation?: number | SizeTokens | undefined;
|
|
272
|
-
transparent?: boolean | undefined;
|
|
273
|
-
fullscreen?: boolean | undefined;
|
|
274
|
-
circular?: boolean | undefined;
|
|
275
|
-
hoverTheme?: boolean | undefined;
|
|
276
|
-
pressTheme?: boolean | undefined;
|
|
277
|
-
focusTheme?: boolean | undefined;
|
|
278
|
-
elevate?: boolean | undefined;
|
|
279
|
-
bordered?: number | boolean | undefined;
|
|
280
|
-
backgrounded?: boolean | undefined;
|
|
281
|
-
radiused?: boolean | undefined;
|
|
282
|
-
padded?: boolean | undefined;
|
|
283
|
-
chromeless?: boolean | "all" | undefined;
|
|
284
|
-
}>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & {
|
|
285
|
-
unstyled?: boolean | undefined;
|
|
286
|
-
size?: any;
|
|
287
|
-
elevation?: number | SizeTokens | undefined;
|
|
288
|
-
transparent?: boolean | undefined;
|
|
289
|
-
fullscreen?: boolean | undefined;
|
|
290
|
-
circular?: boolean | undefined;
|
|
291
|
-
hoverTheme?: boolean | undefined;
|
|
292
|
-
pressTheme?: boolean | undefined;
|
|
293
|
-
focusTheme?: boolean | undefined;
|
|
294
|
-
elevate?: boolean | undefined;
|
|
295
|
-
bordered?: number | boolean | undefined;
|
|
296
|
-
backgrounded?: boolean | undefined;
|
|
297
|
-
radiused?: boolean | undefined;
|
|
298
|
-
padded?: boolean | undefined;
|
|
299
|
-
chromeless?: boolean | "all" | undefined;
|
|
300
|
-
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & {
|
|
301
|
-
unstyled?: boolean | undefined;
|
|
302
|
-
size?: any;
|
|
303
|
-
elevation?: number | SizeTokens | undefined;
|
|
304
|
-
transparent?: boolean | undefined;
|
|
305
|
-
fullscreen?: boolean | undefined;
|
|
306
|
-
circular?: boolean | undefined;
|
|
307
|
-
hoverTheme?: boolean | undefined;
|
|
308
|
-
pressTheme?: boolean | undefined;
|
|
309
|
-
focusTheme?: boolean | undefined;
|
|
310
|
-
elevate?: boolean | undefined;
|
|
311
|
-
bordered?: number | boolean | undefined;
|
|
312
|
-
backgrounded?: boolean | undefined;
|
|
313
|
-
radiused?: boolean | undefined;
|
|
314
|
-
padded?: boolean | undefined;
|
|
315
|
-
chromeless?: boolean | "all" | undefined;
|
|
316
|
-
}>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase & {
|
|
317
|
-
unstyled?: boolean | undefined;
|
|
318
|
-
size?: any;
|
|
319
|
-
elevation?: number | SizeTokens | undefined;
|
|
320
|
-
transparent?: boolean | undefined;
|
|
321
|
-
fullscreen?: boolean | undefined;
|
|
322
|
-
circular?: boolean | undefined;
|
|
323
|
-
hoverTheme?: boolean | undefined;
|
|
324
|
-
pressTheme?: boolean | undefined;
|
|
325
|
-
focusTheme?: boolean | undefined;
|
|
326
|
-
elevate?: boolean | undefined;
|
|
327
|
-
bordered?: number | boolean | undefined;
|
|
328
|
-
backgrounded?: boolean | undefined;
|
|
329
|
-
radiused?: boolean | undefined;
|
|
330
|
-
padded?: boolean | undefined;
|
|
331
|
-
chromeless?: boolean | "all" | undefined;
|
|
332
|
-
}>> & {
|
|
333
|
-
axis?: "horizontal" | "vertical" | undefined;
|
|
334
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
335
|
-
scrollable?: boolean | undefined;
|
|
336
|
-
showScrollIndicator?: boolean | undefined;
|
|
337
|
-
disabled?: boolean | undefined;
|
|
338
|
-
disablePassBorderRadius?: (boolean | "bottom" | "end" | "start" | "top") | undefined;
|
|
339
|
-
forceUseItem?: boolean | undefined;
|
|
340
|
-
} & {
|
|
341
|
-
__scopeGroup?: import("@tamagui/create-context").Scope;
|
|
342
|
-
} & React.RefAttributes<import("@tamagui/web").TamaguiElement>> & {
|
|
343
|
-
Item: (props: import("@tamagui/group").GroupItemProps & {
|
|
344
|
-
__scopeGroup?: import("@tamagui/create-context").Scope;
|
|
345
|
-
}) => any;
|
|
346
|
-
}>;
|
|
188
|
+
}, import("@tamagui/web").StaticConfigPublic>;
|
|
347
189
|
type ToggleGroupImplProps = GetProps<typeof ToggleGroupImplElementFrame> & GroupProps & {
|
|
348
190
|
rovingFocus?: boolean;
|
|
349
191
|
dir?: RovingFocusGroupProps['dir'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleGroup.d.ts","sourceRoot":"","sources":["../src/ToggleGroup.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAS,UAAU,EAAgB,MAAM,gBAAgB,CAAA;AAGhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAGxD,OAAO,EAEL,QAAQ,EACR,UAAU,EAKX,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAU,WAAW,EAAe,MAAM,UAAU,CAAA;AAsB3D,KAAK,oBAAoB,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,GAAG;IACzD,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,CAAA;AAsHD,UAAU,sBAA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