@tamagui/tabs 1.88.6 → 1.88.7
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 +13 -13
- package/types/Tabs.d.ts +78 -73
- package/types/Tabs.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/tabs",
|
|
3
|
-
"version": "1.88.
|
|
3
|
+
"version": "1.88.7",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -30,24 +30,24 @@
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@tamagui/compose-refs": "1.88.
|
|
34
|
-
"@tamagui/constants": "1.88.
|
|
35
|
-
"@tamagui/create-context": "1.88.
|
|
36
|
-
"@tamagui/get-button-sized": "1.88.
|
|
37
|
-
"@tamagui/group": "1.88.
|
|
38
|
-
"@tamagui/helpers": "1.88.
|
|
39
|
-
"@tamagui/roving-focus": "1.88.
|
|
40
|
-
"@tamagui/stacks": "1.88.
|
|
41
|
-
"@tamagui/use-controllable-state": "1.88.
|
|
42
|
-
"@tamagui/use-direction": "1.88.
|
|
43
|
-
"@tamagui/web": "1.88.
|
|
33
|
+
"@tamagui/compose-refs": "1.88.7",
|
|
34
|
+
"@tamagui/constants": "1.88.7",
|
|
35
|
+
"@tamagui/create-context": "1.88.7",
|
|
36
|
+
"@tamagui/get-button-sized": "1.88.7",
|
|
37
|
+
"@tamagui/group": "1.88.7",
|
|
38
|
+
"@tamagui/helpers": "1.88.7",
|
|
39
|
+
"@tamagui/roving-focus": "1.88.7",
|
|
40
|
+
"@tamagui/stacks": "1.88.7",
|
|
41
|
+
"@tamagui/use-controllable-state": "1.88.7",
|
|
42
|
+
"@tamagui/use-direction": "1.88.7",
|
|
43
|
+
"@tamagui/web": "1.88.7"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": "*",
|
|
47
47
|
"react-dom": "*"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@tamagui/build": "1.88.
|
|
50
|
+
"@tamagui/build": "1.88.7",
|
|
51
51
|
"react": "^18.2.0",
|
|
52
52
|
"react-dom": "^18.2.0"
|
|
53
53
|
},
|
package/types/Tabs.d.ts
CHANGED
|
@@ -12,9 +12,10 @@ type TabsListProps = TabsListFrameProps & {
|
|
|
12
12
|
loop?: boolean;
|
|
13
13
|
};
|
|
14
14
|
declare const TabsTriggerFrame: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
15
|
+
elevation?: number | SizeTokens | undefined;
|
|
16
|
+
disabled?: boolean | undefined;
|
|
15
17
|
unstyled?: boolean | undefined;
|
|
16
18
|
size?: SizeTokens | undefined;
|
|
17
|
-
elevation?: number | SizeTokens | undefined;
|
|
18
19
|
transparent?: boolean | undefined;
|
|
19
20
|
fullscreen?: boolean | undefined;
|
|
20
21
|
circular?: boolean | undefined;
|
|
@@ -27,7 +28,6 @@ declare const TabsTriggerFrame: import("@tamagui/web").TamaguiComponent<import("
|
|
|
27
28
|
radiused?: boolean | undefined;
|
|
28
29
|
padded?: boolean | undefined;
|
|
29
30
|
chromeless?: boolean | "all" | undefined;
|
|
30
|
-
disabled?: boolean | undefined;
|
|
31
31
|
active?: boolean | undefined;
|
|
32
32
|
}, {}>;
|
|
33
33
|
/**
|
|
@@ -77,8 +77,8 @@ type TabsContentExtraProps = {
|
|
|
77
77
|
};
|
|
78
78
|
type TabsContentProps = TabsContentFrameProps & TabsContentExtraProps;
|
|
79
79
|
declare const TabsFrame: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
80
|
-
size?: SizeTokens | undefined;
|
|
81
80
|
elevation?: number | SizeTokens | undefined;
|
|
81
|
+
size?: SizeTokens | undefined;
|
|
82
82
|
fullscreen?: boolean | undefined;
|
|
83
83
|
circular?: boolean | undefined;
|
|
84
84
|
hoverTheme?: boolean | undefined;
|
|
@@ -114,9 +114,20 @@ type TabsExtraProps = {
|
|
|
114
114
|
activationMode?: 'automatic' | 'manual';
|
|
115
115
|
};
|
|
116
116
|
type TabsProps = TabsFrameProps & TabsExtraProps;
|
|
117
|
-
export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui/
|
|
117
|
+
export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps & TabsExtraProps, "display" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "contain" | "touchAction" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "pointerEvents" | "userSelect" | "space" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "transformOrigin" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY"> & import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, keyof TabsExtraProps>, {
|
|
118
|
+
elevation?: number | SizeTokens | undefined;
|
|
118
119
|
size?: SizeTokens | undefined;
|
|
120
|
+
fullscreen?: boolean | undefined;
|
|
121
|
+
circular?: boolean | undefined;
|
|
122
|
+
hoverTheme?: boolean | undefined;
|
|
123
|
+
pressTheme?: boolean | undefined;
|
|
124
|
+
focusTheme?: boolean | undefined;
|
|
125
|
+
elevate?: boolean | undefined;
|
|
126
|
+
bordered?: number | boolean | undefined;
|
|
127
|
+
unstyled?: boolean | undefined;
|
|
128
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, keyof TabsExtraProps>, {
|
|
119
129
|
elevation?: number | SizeTokens | undefined;
|
|
130
|
+
size?: SizeTokens | undefined;
|
|
120
131
|
fullscreen?: boolean | undefined;
|
|
121
132
|
circular?: boolean | undefined;
|
|
122
133
|
hoverTheme?: boolean | undefined;
|
|
@@ -125,9 +136,20 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
125
136
|
elevate?: boolean | undefined;
|
|
126
137
|
bordered?: number | boolean | undefined;
|
|
127
138
|
unstyled?: boolean | undefined;
|
|
128
|
-
}
|
|
139
|
+
}>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, keyof TabsExtraProps>, {
|
|
140
|
+
elevation?: number | SizeTokens | undefined;
|
|
129
141
|
size?: SizeTokens | undefined;
|
|
142
|
+
fullscreen?: boolean | undefined;
|
|
143
|
+
circular?: boolean | undefined;
|
|
144
|
+
hoverTheme?: boolean | undefined;
|
|
145
|
+
pressTheme?: boolean | undefined;
|
|
146
|
+
focusTheme?: boolean | undefined;
|
|
147
|
+
elevate?: boolean | undefined;
|
|
148
|
+
bordered?: number | boolean | undefined;
|
|
149
|
+
unstyled?: boolean | undefined;
|
|
150
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, keyof TabsExtraProps>, {
|
|
130
151
|
elevation?: number | SizeTokens | undefined;
|
|
152
|
+
size?: SizeTokens | undefined;
|
|
131
153
|
fullscreen?: boolean | undefined;
|
|
132
154
|
circular?: boolean | undefined;
|
|
133
155
|
hoverTheme?: boolean | undefined;
|
|
@@ -136,9 +158,20 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
136
158
|
elevate?: boolean | undefined;
|
|
137
159
|
bordered?: number | boolean | undefined;
|
|
138
160
|
unstyled?: boolean | undefined;
|
|
139
|
-
}
|
|
161
|
+
}>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<Omit<import("@tamagui/web").StackStyleBase, keyof TabsExtraProps>, {
|
|
162
|
+
elevation?: number | SizeTokens | undefined;
|
|
140
163
|
size?: SizeTokens | undefined;
|
|
164
|
+
fullscreen?: boolean | undefined;
|
|
165
|
+
circular?: boolean | undefined;
|
|
166
|
+
hoverTheme?: boolean | undefined;
|
|
167
|
+
pressTheme?: boolean | undefined;
|
|
168
|
+
focusTheme?: boolean | undefined;
|
|
169
|
+
elevate?: boolean | undefined;
|
|
170
|
+
bordered?: number | boolean | undefined;
|
|
171
|
+
unstyled?: boolean | undefined;
|
|
172
|
+
}>> & React.RefAttributes<TamaguiElement>> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & TabsExtraProps, Omit<import("@tamagui/web").StackStyleBase, keyof TabsExtraProps>, {
|
|
141
173
|
elevation?: number | SizeTokens | undefined;
|
|
174
|
+
size?: SizeTokens | undefined;
|
|
142
175
|
fullscreen?: boolean | undefined;
|
|
143
176
|
circular?: boolean | undefined;
|
|
144
177
|
hoverTheme?: boolean | undefined;
|
|
@@ -148,20 +181,9 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
148
181
|
bordered?: number | boolean | undefined;
|
|
149
182
|
unstyled?: boolean | undefined;
|
|
150
183
|
}, {}> & Omit<{}, "staticConfig" | "extractable" | "styleable"> & {
|
|
151
|
-
__tama: [
|
|
152
|
-
size?: SizeTokens | undefined;
|
|
184
|
+
__tama: [import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & TabsExtraProps, Omit<import("@tamagui/web").StackStyleBase, keyof TabsExtraProps>, {
|
|
153
185
|
elevation?: number | SizeTokens | undefined;
|
|
154
|
-
fullscreen?: boolean | undefined;
|
|
155
|
-
circular?: boolean | undefined;
|
|
156
|
-
hoverTheme?: boolean | undefined;
|
|
157
|
-
pressTheme?: boolean | undefined;
|
|
158
|
-
focusTheme?: boolean | undefined;
|
|
159
|
-
elevate?: boolean | undefined;
|
|
160
|
-
bordered?: number | boolean | undefined;
|
|
161
|
-
unstyled?: boolean | undefined;
|
|
162
|
-
}>, keyof TabsExtraProps> & TabsExtraProps, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & TabsExtraProps, import("@tamagui/web").StackStyleBase, {
|
|
163
186
|
size?: SizeTokens | undefined;
|
|
164
|
-
elevation?: number | SizeTokens | undefined;
|
|
165
187
|
fullscreen?: boolean | undefined;
|
|
166
188
|
circular?: boolean | undefined;
|
|
167
189
|
hoverTheme?: boolean | undefined;
|
|
@@ -172,7 +194,7 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
172
194
|
unstyled?: boolean | undefined;
|
|
173
195
|
}, {}];
|
|
174
196
|
} & {
|
|
175
|
-
List: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps,
|
|
197
|
+
List: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase, {
|
|
176
198
|
unstyled?: boolean | undefined;
|
|
177
199
|
size?: any;
|
|
178
200
|
elevation?: number | SizeTokens | undefined;
|
|
@@ -188,7 +210,7 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
188
210
|
radiused?: boolean | undefined;
|
|
189
211
|
padded?: boolean | undefined;
|
|
190
212
|
chromeless?: boolean | "all" | undefined;
|
|
191
|
-
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
213
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase, {
|
|
192
214
|
unstyled?: boolean | undefined;
|
|
193
215
|
size?: any;
|
|
194
216
|
elevation?: number | SizeTokens | undefined;
|
|
@@ -204,7 +226,7 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
204
226
|
radiused?: boolean | undefined;
|
|
205
227
|
padded?: boolean | undefined;
|
|
206
228
|
chromeless?: boolean | "all" | undefined;
|
|
207
|
-
}>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
229
|
+
}>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase, {
|
|
208
230
|
unstyled?: boolean | undefined;
|
|
209
231
|
size?: any;
|
|
210
232
|
elevation?: number | SizeTokens | undefined;
|
|
@@ -220,7 +242,7 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
220
242
|
radiused?: boolean | undefined;
|
|
221
243
|
padded?: boolean | undefined;
|
|
222
244
|
chromeless?: boolean | "all" | undefined;
|
|
223
|
-
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
245
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase, {
|
|
224
246
|
unstyled?: boolean | undefined;
|
|
225
247
|
size?: any;
|
|
226
248
|
elevation?: number | SizeTokens | undefined;
|
|
@@ -236,7 +258,7 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
236
258
|
radiused?: boolean | undefined;
|
|
237
259
|
padded?: boolean | undefined;
|
|
238
260
|
chromeless?: boolean | "all" | undefined;
|
|
239
|
-
}>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase
|
|
261
|
+
}>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {
|
|
240
262
|
unstyled?: boolean | undefined;
|
|
241
263
|
size?: any;
|
|
242
264
|
elevation?: number | SizeTokens | undefined;
|
|
@@ -253,8 +275,8 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
253
275
|
padded?: boolean | undefined;
|
|
254
276
|
chromeless?: boolean | "all" | undefined;
|
|
255
277
|
}>> & {
|
|
256
|
-
axis?: "
|
|
257
|
-
orientation?: "
|
|
278
|
+
axis?: "horizontal" | "vertical" | undefined;
|
|
279
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
258
280
|
scrollable?: boolean | undefined;
|
|
259
281
|
showScrollIndicator?: boolean | undefined;
|
|
260
282
|
disabled?: boolean | undefined;
|
|
@@ -270,10 +292,11 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
270
292
|
/**
|
|
271
293
|
* @deprecated Use Tabs.Tab instead
|
|
272
294
|
*/
|
|
273
|
-
Trigger: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps,
|
|
295
|
+
Trigger: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase, {
|
|
296
|
+
elevation?: number | SizeTokens | undefined;
|
|
297
|
+
disabled?: boolean | undefined;
|
|
274
298
|
unstyled?: boolean | undefined;
|
|
275
299
|
size?: SizeTokens | undefined;
|
|
276
|
-
elevation?: number | SizeTokens | undefined;
|
|
277
300
|
transparent?: boolean | undefined;
|
|
278
301
|
fullscreen?: boolean | undefined;
|
|
279
302
|
circular?: boolean | undefined;
|
|
@@ -286,12 +309,12 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
286
309
|
radiused?: boolean | undefined;
|
|
287
310
|
padded?: boolean | undefined;
|
|
288
311
|
chromeless?: boolean | "all" | undefined;
|
|
289
|
-
disabled?: boolean | undefined;
|
|
290
312
|
active?: boolean | undefined;
|
|
291
|
-
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
313
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase, {
|
|
314
|
+
elevation?: number | SizeTokens | undefined;
|
|
315
|
+
disabled?: boolean | undefined;
|
|
292
316
|
unstyled?: boolean | undefined;
|
|
293
317
|
size?: SizeTokens | undefined;
|
|
294
|
-
elevation?: number | SizeTokens | undefined;
|
|
295
318
|
transparent?: boolean | undefined;
|
|
296
319
|
fullscreen?: boolean | undefined;
|
|
297
320
|
circular?: boolean | undefined;
|
|
@@ -304,12 +327,12 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
304
327
|
radiused?: boolean | undefined;
|
|
305
328
|
padded?: boolean | undefined;
|
|
306
329
|
chromeless?: boolean | "all" | undefined;
|
|
307
|
-
disabled?: boolean | undefined;
|
|
308
330
|
active?: boolean | undefined;
|
|
309
|
-
}>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
331
|
+
}>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase, {
|
|
332
|
+
elevation?: number | SizeTokens | undefined;
|
|
333
|
+
disabled?: boolean | undefined;
|
|
310
334
|
unstyled?: boolean | undefined;
|
|
311
335
|
size?: SizeTokens | undefined;
|
|
312
|
-
elevation?: number | SizeTokens | undefined;
|
|
313
336
|
transparent?: boolean | undefined;
|
|
314
337
|
fullscreen?: boolean | undefined;
|
|
315
338
|
circular?: boolean | undefined;
|
|
@@ -322,12 +345,12 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
322
345
|
radiused?: boolean | undefined;
|
|
323
346
|
padded?: boolean | undefined;
|
|
324
347
|
chromeless?: boolean | "all" | undefined;
|
|
325
|
-
disabled?: boolean | undefined;
|
|
326
348
|
active?: boolean | undefined;
|
|
327
|
-
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
349
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase, {
|
|
350
|
+
elevation?: number | SizeTokens | undefined;
|
|
351
|
+
disabled?: boolean | undefined;
|
|
328
352
|
unstyled?: boolean | undefined;
|
|
329
353
|
size?: SizeTokens | undefined;
|
|
330
|
-
elevation?: number | SizeTokens | undefined;
|
|
331
354
|
transparent?: boolean | undefined;
|
|
332
355
|
fullscreen?: boolean | undefined;
|
|
333
356
|
circular?: boolean | undefined;
|
|
@@ -340,12 +363,12 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
340
363
|
radiused?: boolean | undefined;
|
|
341
364
|
padded?: boolean | undefined;
|
|
342
365
|
chromeless?: boolean | "all" | undefined;
|
|
343
|
-
disabled?: boolean | undefined;
|
|
344
366
|
active?: boolean | undefined;
|
|
345
|
-
}>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase
|
|
367
|
+
}>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {
|
|
368
|
+
elevation?: number | SizeTokens | undefined;
|
|
369
|
+
disabled?: boolean | undefined;
|
|
346
370
|
unstyled?: boolean | undefined;
|
|
347
371
|
size?: SizeTokens | undefined;
|
|
348
|
-
elevation?: number | SizeTokens | undefined;
|
|
349
372
|
transparent?: boolean | undefined;
|
|
350
373
|
fullscreen?: boolean | undefined;
|
|
351
374
|
circular?: boolean | undefined;
|
|
@@ -358,7 +381,6 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
358
381
|
radiused?: boolean | undefined;
|
|
359
382
|
padded?: boolean | undefined;
|
|
360
383
|
chromeless?: boolean | "all" | undefined;
|
|
361
|
-
disabled?: boolean | undefined;
|
|
362
384
|
active?: boolean | undefined;
|
|
363
385
|
}>> & {
|
|
364
386
|
/** The value for the tabs state to be changed to after activation of the trigger */
|
|
@@ -368,10 +390,11 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
368
390
|
} & {
|
|
369
391
|
__scopeTabs?: string | undefined;
|
|
370
392
|
} & React.RefAttributes<TamaguiElement>>;
|
|
371
|
-
Tab: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps,
|
|
393
|
+
Tab: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase, {
|
|
394
|
+
elevation?: number | SizeTokens | undefined;
|
|
395
|
+
disabled?: boolean | undefined;
|
|
372
396
|
unstyled?: boolean | undefined;
|
|
373
397
|
size?: SizeTokens | undefined;
|
|
374
|
-
elevation?: number | SizeTokens | undefined;
|
|
375
398
|
transparent?: boolean | undefined;
|
|
376
399
|
fullscreen?: boolean | undefined;
|
|
377
400
|
circular?: boolean | undefined;
|
|
@@ -384,12 +407,12 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
384
407
|
radiused?: boolean | undefined;
|
|
385
408
|
padded?: boolean | undefined;
|
|
386
409
|
chromeless?: boolean | "all" | undefined;
|
|
387
|
-
disabled?: boolean | undefined;
|
|
388
410
|
active?: boolean | undefined;
|
|
389
|
-
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
411
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase, {
|
|
412
|
+
elevation?: number | SizeTokens | undefined;
|
|
413
|
+
disabled?: boolean | undefined;
|
|
390
414
|
unstyled?: boolean | undefined;
|
|
391
415
|
size?: SizeTokens | undefined;
|
|
392
|
-
elevation?: number | SizeTokens | undefined;
|
|
393
416
|
transparent?: boolean | undefined;
|
|
394
417
|
fullscreen?: boolean | undefined;
|
|
395
418
|
circular?: boolean | undefined;
|
|
@@ -402,12 +425,12 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
402
425
|
radiused?: boolean | undefined;
|
|
403
426
|
padded?: boolean | undefined;
|
|
404
427
|
chromeless?: boolean | "all" | undefined;
|
|
405
|
-
disabled?: boolean | undefined;
|
|
406
428
|
active?: boolean | undefined;
|
|
407
|
-
}>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
429
|
+
}>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase, {
|
|
430
|
+
elevation?: number | SizeTokens | undefined;
|
|
431
|
+
disabled?: boolean | undefined;
|
|
408
432
|
unstyled?: boolean | undefined;
|
|
409
433
|
size?: SizeTokens | undefined;
|
|
410
|
-
elevation?: number | SizeTokens | undefined;
|
|
411
434
|
transparent?: boolean | undefined;
|
|
412
435
|
fullscreen?: boolean | undefined;
|
|
413
436
|
circular?: boolean | undefined;
|
|
@@ -420,12 +443,12 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
420
443
|
radiused?: boolean | undefined;
|
|
421
444
|
padded?: boolean | undefined;
|
|
422
445
|
chromeless?: boolean | "all" | undefined;
|
|
423
|
-
disabled?: boolean | undefined;
|
|
424
446
|
active?: boolean | undefined;
|
|
425
|
-
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
447
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase, {
|
|
448
|
+
elevation?: number | SizeTokens | undefined;
|
|
449
|
+
disabled?: boolean | undefined;
|
|
426
450
|
unstyled?: boolean | undefined;
|
|
427
451
|
size?: SizeTokens | undefined;
|
|
428
|
-
elevation?: number | SizeTokens | undefined;
|
|
429
452
|
transparent?: boolean | undefined;
|
|
430
453
|
fullscreen?: boolean | undefined;
|
|
431
454
|
circular?: boolean | undefined;
|
|
@@ -438,12 +461,12 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
438
461
|
radiused?: boolean | undefined;
|
|
439
462
|
padded?: boolean | undefined;
|
|
440
463
|
chromeless?: boolean | "all" | undefined;
|
|
441
|
-
disabled?: boolean | undefined;
|
|
442
464
|
active?: boolean | undefined;
|
|
443
|
-
}>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase
|
|
465
|
+
}>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {
|
|
466
|
+
elevation?: number | SizeTokens | undefined;
|
|
467
|
+
disabled?: boolean | undefined;
|
|
444
468
|
unstyled?: boolean | undefined;
|
|
445
469
|
size?: SizeTokens | undefined;
|
|
446
|
-
elevation?: number | SizeTokens | undefined;
|
|
447
470
|
transparent?: boolean | undefined;
|
|
448
471
|
fullscreen?: boolean | undefined;
|
|
449
472
|
circular?: boolean | undefined;
|
|
@@ -456,7 +479,6 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
456
479
|
radiused?: boolean | undefined;
|
|
457
480
|
padded?: boolean | undefined;
|
|
458
481
|
chromeless?: boolean | "all" | undefined;
|
|
459
|
-
disabled?: boolean | undefined;
|
|
460
482
|
active?: boolean | undefined;
|
|
461
483
|
}>> & {
|
|
462
484
|
/** The value for the tabs state to be changed to after activation of the trigger */
|
|
@@ -466,24 +488,7 @@ export declare const Tabs: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
466
488
|
} & {
|
|
467
489
|
__scopeTabs?: string | undefined;
|
|
468
490
|
} & React.RefAttributes<TamaguiElement>>;
|
|
469
|
-
Content: import("@tamagui/web").TamaguiComponent<
|
|
470
|
-
elevation?: number | SizeTokens | undefined;
|
|
471
|
-
transparent?: boolean | undefined;
|
|
472
|
-
fullscreen?: boolean | undefined;
|
|
473
|
-
circular?: boolean | undefined;
|
|
474
|
-
hoverTheme?: boolean | undefined;
|
|
475
|
-
pressTheme?: boolean | undefined;
|
|
476
|
-
focusTheme?: boolean | undefined;
|
|
477
|
-
elevate?: boolean | undefined;
|
|
478
|
-
bordered?: number | boolean | undefined;
|
|
479
|
-
backgrounded?: boolean | undefined;
|
|
480
|
-
/**
|
|
481
|
-
* @deprecated use `TabTabsProps` instead
|
|
482
|
-
*/
|
|
483
|
-
radiused?: boolean | undefined;
|
|
484
|
-
padded?: boolean | undefined;
|
|
485
|
-
chromeless?: boolean | "all" | undefined;
|
|
486
|
-
}>, keyof TabsContentExtraProps> & TabsContentExtraProps, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & TabsContentExtraProps, import("@tamagui/web").StackStyleBase, {
|
|
491
|
+
Content: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & TabsContentExtraProps, Omit<import("@tamagui/web").StackStyleBase, keyof TabsContentExtraProps>, {
|
|
487
492
|
elevation?: number | SizeTokens | undefined;
|
|
488
493
|
transparent?: boolean | undefined;
|
|
489
494
|
fullscreen?: boolean | undefined;
|
package/types/Tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../src/Tabs.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAS,UAAU,EAAgB,MAAM,gBAAgB,CAAA;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAIxD,OAAO,EACL,QAAQ,EACR,UAAU,EACV,cAAc,EAKf,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAcnD,KAAK,kBAAkB,GAAG,UAAU,CAAA;AAEpC,KAAK,aAAa,GAAG,kBAAkB,GAAG;IACxC;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAsCD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;MAuDpB,CAAA;AAEF;;GAEG;AACH,KAAK,iBAAiB,GAAG,eAAe,CAAA;AACxC,KAAK,SAAS,GAAG,eAAe,CAAA;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