@tamagui/tabs 2.7.7 → 3.0.0-beta.643.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/dist/cjs/StyledContext.cjs +16 -20
- package/dist/cjs/StyledContext.native.cjs +31 -0
- package/dist/cjs/StyledContext.native.js +17 -20
- package/dist/cjs/StyledContext.native.js.map +1 -1
- package/dist/cjs/Tabs.cjs +227 -68
- package/dist/cjs/Tabs.native.cjs +250 -0
- package/dist/cjs/Tabs.native.js +233 -67
- package/dist/cjs/Tabs.native.js.map +1 -1
- package/dist/cjs/index.cjs +10 -27
- package/dist/cjs/index.native.cjs +22 -0
- package/dist/cjs/index.native.js +11 -27
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/esm/StyledContext.mjs +3 -4
- package/dist/esm/StyledContext.mjs.map +1 -1
- package/dist/esm/StyledContext.native.js +3 -4
- package/dist/esm/StyledContext.native.js.map +1 -1
- package/dist/esm/Tabs.mjs +206 -55
- package/dist/esm/Tabs.mjs.map +1 -1
- package/dist/esm/Tabs.native.js +212 -55
- package/dist/esm/Tabs.native.js.map +1 -1
- package/dist/esm/index.js +3 -11
- package/dist/esm/index.mjs +3 -11
- package/dist/esm/index.native.js +3 -11
- package/dist/jsx/StyledContext.mjs +3 -4
- package/dist/jsx/StyledContext.mjs.map +1 -1
- package/dist/jsx/StyledContext.native.cjs +31 -0
- package/dist/jsx/StyledContext.native.js +17 -20
- package/dist/jsx/StyledContext.native.js.map +1 -1
- package/dist/jsx/Tabs.mjs +206 -55
- package/dist/jsx/Tabs.mjs.map +1 -1
- package/dist/jsx/Tabs.native.cjs +250 -0
- package/dist/jsx/Tabs.native.js +233 -67
- package/dist/jsx/Tabs.native.js.map +1 -1
- package/dist/jsx/index.js +3 -11
- package/dist/jsx/index.mjs +3 -11
- package/dist/jsx/index.native.cjs +22 -0
- package/dist/jsx/index.native.js +11 -27
- package/dist/jsx/index.native.js.map +1 -1
- package/package.json +11 -17
- package/src/StyledContext.tsx +3 -3
- package/src/Tabs.tsx +368 -55
- package/src/index.ts +1 -9
- package/types/StyledContext.d.ts +3 -3
- package/types/StyledContext.d.ts.map +1 -1
- package/types/Tabs.d.ts +398 -35
- package/types/Tabs.d.ts.map +1 -1
- package/types/index.d.ts +1 -537
- package/types/index.d.ts.map +1 -1
- package/dist/cjs/createTabs.cjs +0 -293
- package/dist/cjs/createTabs.native.js +0 -308
- package/dist/cjs/createTabs.native.js.map +0 -1
- package/dist/esm/createTabs.mjs +0 -257
- package/dist/esm/createTabs.mjs.map +0 -1
- package/dist/esm/createTabs.native.js +0 -269
- package/dist/esm/createTabs.native.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js.map +0 -1
- package/dist/jsx/createTabs.mjs +0 -257
- package/dist/jsx/createTabs.mjs.map +0 -1
- package/dist/jsx/createTabs.native.js +0 -308
- package/dist/jsx/createTabs.native.js.map +0 -1
- package/dist/jsx/index.js.map +0 -1
- package/dist/jsx/index.mjs.map +0 -1
- package/src/createTabs.tsx +0 -438
- package/types/createTabs.d.ts +0 -527
- package/types/createTabs.d.ts.map +0 -1
package/types/Tabs.d.ts
CHANGED
|
@@ -1,38 +1,401 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { type RovingFocusGroupProps } from '@tamagui/roving-focus';
|
|
2
|
+
import { type TokenSize } from '@tamagui/size';
|
|
3
|
+
import type { GetProps, TamaguiElement } from '@tamagui/web';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import type { LayoutRectangle } from 'react-native';
|
|
6
|
+
export declare const TabsFrame: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
7
|
+
size?: TokenSize | undefined;
|
|
8
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & {
|
|
9
|
+
ref?: React.Ref<TamaguiElement> | undefined;
|
|
10
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
11
|
+
size?: TokenSize | undefined;
|
|
12
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
13
|
+
__tama: [import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
14
|
+
size?: TokenSize | undefined;
|
|
15
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
16
|
+
};
|
|
17
|
+
export declare const TabsListFrame: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
18
|
+
size?: TokenSize | undefined;
|
|
19
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & {
|
|
20
|
+
ref?: React.Ref<TamaguiElement> | undefined;
|
|
21
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
22
|
+
size?: TokenSize | undefined;
|
|
23
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
24
|
+
__tama: [import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
25
|
+
size?: TokenSize | undefined;
|
|
26
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
27
|
+
};
|
|
28
|
+
export declare const TabsTabFrame: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disabled" | "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
21
29
|
disabled?: boolean | undefined;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
size?: TokenSize | undefined;
|
|
31
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & {
|
|
32
|
+
ref?: React.Ref<TamaguiElement> | undefined;
|
|
33
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
34
|
+
disabled?: boolean | undefined;
|
|
35
|
+
size?: TokenSize | undefined;
|
|
36
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
37
|
+
__tama: [import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
38
|
+
disabled?: boolean | undefined;
|
|
39
|
+
size?: TokenSize | undefined;
|
|
40
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
41
|
+
};
|
|
42
|
+
export declare const TabsContentFrame: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
43
|
+
size?: TokenSize | undefined;
|
|
44
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & {
|
|
45
|
+
ref?: React.Ref<TamaguiElement> | undefined;
|
|
46
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
47
|
+
size?: TokenSize | undefined;
|
|
48
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
49
|
+
__tama: [import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
50
|
+
size?: TokenSize | undefined;
|
|
51
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
52
|
+
};
|
|
53
|
+
type TabsScopeProps = {
|
|
54
|
+
__scopeTabs?: string;
|
|
55
|
+
};
|
|
56
|
+
type TabsFrameProps = GetProps<typeof TabsFrame>;
|
|
57
|
+
type TabsExtraProps<Tab = string> = TabsScopeProps & {
|
|
58
|
+
/** The value for the selected tab, if controlled */
|
|
59
|
+
value?: string;
|
|
60
|
+
/** The value of the tab to select by default, if uncontrolled */
|
|
61
|
+
defaultValue?: Tab;
|
|
62
|
+
/** A function called when a new tab is selected */
|
|
63
|
+
onValueChange?: (value: Tab) => void;
|
|
64
|
+
/** Coordinates a size value with styled descendants. */
|
|
65
|
+
size?: TokenSize;
|
|
66
|
+
/**
|
|
67
|
+
* The orientation the tabs are laid out.
|
|
68
|
+
* Mainly so arrow navigation is done accordingly (left & right vs. up & down).
|
|
69
|
+
* @defaultValue horizontal
|
|
70
|
+
*/
|
|
71
|
+
orientation?: RovingFocusGroupProps['orientation'];
|
|
72
|
+
/** The direction of navigation between tab triggers. */
|
|
73
|
+
dir?: RovingFocusGroupProps['dir'];
|
|
74
|
+
/**
|
|
75
|
+
* Whether a tab is activated automatically or manually. Automatic activation is only
|
|
76
|
+
* supported on web; native tabs always activate manually.
|
|
77
|
+
* @defaultValue automatic
|
|
78
|
+
*/
|
|
79
|
+
activationMode?: 'automatic' | 'manual';
|
|
80
|
+
};
|
|
81
|
+
export type TabsProps<Tab = string> = TabsFrameProps & TabsExtraProps<Tab>;
|
|
82
|
+
type TabsListExtraProps = TabsScopeProps & {
|
|
83
|
+
/** Whether keyboard navigation loops after the first or last trigger. */
|
|
84
|
+
loop?: boolean;
|
|
85
|
+
/** Disables every trigger in the list. */
|
|
86
|
+
disabled?: boolean;
|
|
87
|
+
};
|
|
88
|
+
export type TabsListProps = GetProps<typeof TabsListFrame> & TabsListExtraProps;
|
|
89
|
+
export type InteractionType = 'select' | 'focus' | 'hover';
|
|
90
|
+
export type TabLayout = LayoutRectangle;
|
|
91
|
+
export type TabsTriggerLayout = LayoutRectangle;
|
|
92
|
+
type TabsTabExtraProps = TabsScopeProps & {
|
|
93
|
+
/** The value selected when this trigger is activated. */
|
|
94
|
+
value: string;
|
|
95
|
+
/** Reports the measured trigger rectangle for custom indicators. */
|
|
96
|
+
onInteraction?: (type: InteractionType, layout: TabLayout | null) => void;
|
|
97
|
+
/** Custom styles to apply while this trigger is selected. */
|
|
98
|
+
activeStyle?: GetProps<typeof TabsTabFrame>;
|
|
99
|
+
/** Theme to apply while this trigger is selected. */
|
|
100
|
+
activeTheme?: string | null;
|
|
101
|
+
};
|
|
102
|
+
export type TabsTabProps = GetProps<typeof TabsTabFrame> & TabsTabExtraProps;
|
|
103
|
+
type TabsContentExtraProps = TabsScopeProps & {
|
|
104
|
+
/** The value that selects this content. */
|
|
105
|
+
value: string;
|
|
106
|
+
/** Mounts the content even when its value is not selected. */
|
|
107
|
+
forceMount?: boolean;
|
|
108
|
+
};
|
|
109
|
+
export type TabsContentProps = GetProps<typeof TabsContentFrame> & TabsContentExtraProps;
|
|
110
|
+
export declare const TabsList: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
111
|
+
size?: TokenSize | undefined;
|
|
112
|
+
}>, "__scopeTabs" | "loop" | "size" | keyof import("@tamagui/core").RNTamaguiViewNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
113
|
+
size?: TokenSize | undefined;
|
|
114
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
115
|
+
/** Whether keyboard navigation loops after the first or last trigger. */
|
|
116
|
+
loop?: boolean;
|
|
117
|
+
/** Disables every trigger in the list. */
|
|
118
|
+
disabled?: boolean;
|
|
119
|
+
}, import("react-native").View | (HTMLElement & import("@tamagui/web").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
120
|
+
size?: TokenSize | undefined;
|
|
121
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
122
|
+
/** Whether keyboard navigation loops after the first or last trigger. */
|
|
123
|
+
loop?: boolean;
|
|
124
|
+
/** Disables every trigger in the list. */
|
|
125
|
+
disabled?: boolean;
|
|
126
|
+
}, import("@tamagui/web").StackStyleBase, {
|
|
127
|
+
size?: TokenSize | undefined;
|
|
128
|
+
}, import("@tamagui/web").StaticConfigPublic>;
|
|
129
|
+
export declare const TabsTab: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
130
|
+
disabled?: boolean | undefined;
|
|
131
|
+
size?: TokenSize | undefined;
|
|
132
|
+
}>, "__scopeTabs" | "accessibilityActions" | "accessibilityElementsHidden" | "accessibilityHint" | "accessibilityIgnoresInvertColors" | "accessibilityLabel" | "accessibilityLabelledBy" | "accessibilityLanguage" | "accessibilityLargeContentTitle" | "accessibilityLiveRegion" | "accessibilityRespondsToUserInteraction" | "accessibilityRole" | "accessibilityShowsLargeContentViewer" | "accessibilityState" | "accessibilityValue" | "accessibilityViewIsModal" | "accessible" | "activeStyle" | "activeTheme" | "animatedBy" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-hidden" | "aria-label" | "aria-labelledby" | "aria-live" | "aria-modal" | "aria-selected" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "asChild" | "children" | "className" | "collapsable" | "collapsableChildren" | "container" | "dangerouslySetInnerHTML" | "debug" | "disableClassName" | "disableNativeStyle" | "disableOptimization" | "disabled" | "download" | "elevationAndroid" | "forceStyle" | "group" | "hasTVPreferredFocus" | "hitSlop" | "htmlFor" | "id" | "importantForAccessibility" | "isTVSelectable" | "name" | "nativeID" | "needsOffscreenAlphaCompositing" | "onAccessibilityAction" | "onAccessibilityEscape" | "onAccessibilityTap" | "onBeforeInput" | "onBlur" | "onChange" | "onClick" | "onContextMenu" | "onCopy" | "onCut" | "onDoubleClick" | "onDrag" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDragStart" | "onDrop" | "onFocus" | "onInput" | "onInteraction" | "onKeyDown" | "onKeyUp" | "onLayout" | "onLongPress" | "onMagicTap" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOut" | "onMouseOver" | "onMouseUp" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onPaste" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPress" | "onPressIn" | "onPressOut" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScroll" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "onTouchCancel" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchStart" | "onWheel" | "rel" | "removeClippedSubviews" | "render" | "renderToHardwareTextureAndroid" | "role" | "screenReaderFocusable" | "shouldRasterizeIOS" | "size" | "style" | "tabIndex" | "target" | "testID" | "theme" | "themeShallow" | "tvParallaxMagnification" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "untilMeasured" | "value" | keyof import("@tamagui/web").StackStyleBase> & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disabled" | "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
133
|
+
disabled?: boolean | undefined;
|
|
134
|
+
size?: TokenSize | undefined;
|
|
135
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
136
|
+
/** The value selected when this trigger is activated. */
|
|
137
|
+
value: string;
|
|
138
|
+
/** Reports the measured trigger rectangle for custom indicators. */
|
|
139
|
+
onInteraction?: (type: InteractionType, layout: TabLayout | null) => void;
|
|
140
|
+
/** Custom styles to apply while this trigger is selected. */
|
|
141
|
+
activeStyle?: GetProps<typeof TabsTabFrame>;
|
|
142
|
+
/** Theme to apply while this trigger is selected. */
|
|
143
|
+
activeTheme?: string | null;
|
|
144
|
+
}, import("react-native").View | (HTMLElement & import("@tamagui/web").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disabled" | "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
145
|
+
disabled?: boolean | undefined;
|
|
146
|
+
size?: TokenSize | undefined;
|
|
147
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
148
|
+
/** The value selected when this trigger is activated. */
|
|
149
|
+
value: string;
|
|
150
|
+
/** Reports the measured trigger rectangle for custom indicators. */
|
|
151
|
+
onInteraction?: (type: InteractionType, layout: TabLayout | null) => void;
|
|
152
|
+
/** Custom styles to apply while this trigger is selected. */
|
|
153
|
+
activeStyle?: GetProps<typeof TabsTabFrame>;
|
|
154
|
+
/** Theme to apply while this trigger is selected. */
|
|
155
|
+
activeTheme?: string | null;
|
|
156
|
+
}, import("@tamagui/web").StackStyleBase, {
|
|
157
|
+
disabled?: boolean | undefined;
|
|
158
|
+
size?: TokenSize | undefined;
|
|
159
|
+
}, import("@tamagui/web").StaticConfigPublic>;
|
|
160
|
+
export declare const TabsContent: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
161
|
+
size?: TokenSize | undefined;
|
|
162
|
+
}>, "__scopeTabs" | "forceMount" | "size" | "value" | keyof import("@tamagui/core").RNTamaguiViewNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
163
|
+
size?: TokenSize | undefined;
|
|
164
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
165
|
+
/** The value that selects this content. */
|
|
166
|
+
value: string;
|
|
167
|
+
/** Mounts the content even when its value is not selected. */
|
|
168
|
+
forceMount?: boolean;
|
|
169
|
+
}, import("react-native").View | (HTMLElement & import("@tamagui/web").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
170
|
+
size?: TokenSize | undefined;
|
|
171
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
172
|
+
/** The value that selects this content. */
|
|
173
|
+
value: string;
|
|
174
|
+
/** Mounts the content even when its value is not selected. */
|
|
175
|
+
forceMount?: boolean;
|
|
176
|
+
}, import("@tamagui/web").StackStyleBase, {
|
|
177
|
+
size?: TokenSize | undefined;
|
|
178
|
+
}, import("@tamagui/web").StaticConfigPublic>;
|
|
179
|
+
export declare const Tabs: React.FunctionComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
180
|
+
size?: TokenSize | undefined;
|
|
181
|
+
}>, "__scopeTabs" | "activationMode" | "defaultValue" | "dir" | "onValueChange" | "orientation" | "size" | "value" | keyof import("@tamagui/core").RNTamaguiViewNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
182
|
+
size?: TokenSize | undefined;
|
|
183
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
184
|
+
/** The value for the selected tab, if controlled */
|
|
185
|
+
value?: string;
|
|
186
|
+
/** The value of the tab to select by default, if uncontrolled */
|
|
187
|
+
defaultValue?: string | undefined;
|
|
188
|
+
/** A function called when a new tab is selected */
|
|
189
|
+
onValueChange?: ((value: string) => void) | undefined;
|
|
190
|
+
/** Coordinates a size value with styled descendants. */
|
|
191
|
+
size?: TokenSize;
|
|
192
|
+
/**
|
|
193
|
+
* The orientation the tabs are laid out.
|
|
194
|
+
* Mainly so arrow navigation is done accordingly (left & right vs. up & down).
|
|
195
|
+
* @defaultValue horizontal
|
|
196
|
+
*/
|
|
197
|
+
orientation?: RovingFocusGroupProps['orientation'];
|
|
198
|
+
/** The direction of navigation between tab triggers. */
|
|
199
|
+
dir?: RovingFocusGroupProps['dir'];
|
|
200
|
+
/**
|
|
201
|
+
* Whether a tab is activated automatically or manually. Automatic activation is only
|
|
202
|
+
* supported on web; native tabs always activate manually.
|
|
203
|
+
* @defaultValue automatic
|
|
204
|
+
*/
|
|
205
|
+
activationMode?: 'automatic' | 'manual';
|
|
206
|
+
} & {
|
|
207
|
+
ref?: React.Ref<import("react-native").View | (HTMLElement & import("@tamagui/web").TamaguiElementMethods)> | undefined;
|
|
208
|
+
}> & import("@tamagui/web").StaticComponentObject<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
209
|
+
size?: TokenSize | undefined;
|
|
210
|
+
}>, "__scopeTabs" | "activationMode" | "defaultValue" | "dir" | "onValueChange" | "orientation" | "size" | "value" | keyof import("@tamagui/core").RNTamaguiViewNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
211
|
+
size?: TokenSize | undefined;
|
|
212
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
213
|
+
/** The value for the selected tab, if controlled */
|
|
214
|
+
value?: string;
|
|
215
|
+
/** The value of the tab to select by default, if uncontrolled */
|
|
216
|
+
defaultValue?: string | undefined;
|
|
217
|
+
/** A function called when a new tab is selected */
|
|
218
|
+
onValueChange?: ((value: string) => void) | undefined;
|
|
219
|
+
/** Coordinates a size value with styled descendants. */
|
|
220
|
+
size?: TokenSize;
|
|
221
|
+
/**
|
|
222
|
+
* The orientation the tabs are laid out.
|
|
223
|
+
* Mainly so arrow navigation is done accordingly (left & right vs. up & down).
|
|
224
|
+
* @defaultValue horizontal
|
|
225
|
+
*/
|
|
226
|
+
orientation?: RovingFocusGroupProps['orientation'];
|
|
227
|
+
/** The direction of navigation between tab triggers. */
|
|
228
|
+
dir?: RovingFocusGroupProps['dir'];
|
|
229
|
+
/**
|
|
230
|
+
* Whether a tab is activated automatically or manually. Automatic activation is only
|
|
231
|
+
* supported on web; native tabs always activate manually.
|
|
232
|
+
* @defaultValue automatic
|
|
233
|
+
*/
|
|
234
|
+
activationMode?: 'automatic' | 'manual';
|
|
235
|
+
}, import("react-native").View | (HTMLElement & import("@tamagui/web").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
236
|
+
size?: TokenSize | undefined;
|
|
237
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
238
|
+
/** The value for the selected tab, if controlled */
|
|
239
|
+
value?: string;
|
|
240
|
+
/** The value of the tab to select by default, if uncontrolled */
|
|
241
|
+
defaultValue?: string | undefined;
|
|
242
|
+
/** A function called when a new tab is selected */
|
|
243
|
+
onValueChange?: ((value: string) => void) | undefined;
|
|
244
|
+
/** Coordinates a size value with styled descendants. */
|
|
245
|
+
size?: TokenSize;
|
|
246
|
+
/**
|
|
247
|
+
* The orientation the tabs are laid out.
|
|
248
|
+
* Mainly so arrow navigation is done accordingly (left & right vs. up & down).
|
|
249
|
+
* @defaultValue horizontal
|
|
250
|
+
*/
|
|
251
|
+
orientation?: RovingFocusGroupProps['orientation'];
|
|
252
|
+
/** The direction of navigation between tab triggers. */
|
|
253
|
+
dir?: RovingFocusGroupProps['dir'];
|
|
254
|
+
/**
|
|
255
|
+
* Whether a tab is activated automatically or manually. Automatic activation is only
|
|
256
|
+
* supported on web; native tabs always activate manually.
|
|
257
|
+
* @defaultValue automatic
|
|
258
|
+
*/
|
|
259
|
+
activationMode?: 'automatic' | 'manual';
|
|
260
|
+
}, import("@tamagui/web").StackStyleBase, {
|
|
261
|
+
size?: TokenSize | undefined;
|
|
262
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
263
|
+
__tama: [Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
264
|
+
size?: TokenSize | undefined;
|
|
265
|
+
}>, "__scopeTabs" | "activationMode" | "defaultValue" | "dir" | "onValueChange" | "orientation" | "size" | "value" | keyof import("@tamagui/core").RNTamaguiViewNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
266
|
+
size?: TokenSize | undefined;
|
|
267
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
268
|
+
/** The value for the selected tab, if controlled */
|
|
269
|
+
value?: string;
|
|
270
|
+
/** The value of the tab to select by default, if uncontrolled */
|
|
271
|
+
defaultValue?: string | undefined;
|
|
272
|
+
/** A function called when a new tab is selected */
|
|
273
|
+
onValueChange?: ((value: string) => void) | undefined;
|
|
274
|
+
/** Coordinates a size value with styled descendants. */
|
|
275
|
+
size?: TokenSize;
|
|
276
|
+
/**
|
|
277
|
+
* The orientation the tabs are laid out.
|
|
278
|
+
* Mainly so arrow navigation is done accordingly (left & right vs. up & down).
|
|
279
|
+
* @defaultValue horizontal
|
|
280
|
+
*/
|
|
281
|
+
orientation?: RovingFocusGroupProps['orientation'];
|
|
282
|
+
/** The direction of navigation between tab triggers. */
|
|
283
|
+
dir?: RovingFocusGroupProps['dir'];
|
|
284
|
+
/**
|
|
285
|
+
* Whether a tab is activated automatically or manually. Automatic activation is only
|
|
286
|
+
* supported on web; native tabs always activate manually.
|
|
287
|
+
* @defaultValue automatic
|
|
288
|
+
*/
|
|
289
|
+
activationMode?: 'automatic' | 'manual';
|
|
290
|
+
}, import("react-native").View | (HTMLElement & import("@tamagui/web").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
291
|
+
size?: TokenSize | undefined;
|
|
292
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
293
|
+
/** The value for the selected tab, if controlled */
|
|
294
|
+
value?: string;
|
|
295
|
+
/** The value of the tab to select by default, if uncontrolled */
|
|
296
|
+
defaultValue?: string | undefined;
|
|
297
|
+
/** A function called when a new tab is selected */
|
|
298
|
+
onValueChange?: ((value: string) => void) | undefined;
|
|
299
|
+
/** Coordinates a size value with styled descendants. */
|
|
300
|
+
size?: TokenSize;
|
|
301
|
+
/**
|
|
302
|
+
* The orientation the tabs are laid out.
|
|
303
|
+
* Mainly so arrow navigation is done accordingly (left & right vs. up & down).
|
|
304
|
+
* @defaultValue horizontal
|
|
305
|
+
*/
|
|
306
|
+
orientation?: RovingFocusGroupProps['orientation'];
|
|
307
|
+
/** The direction of navigation between tab triggers. */
|
|
308
|
+
dir?: RovingFocusGroupProps['dir'];
|
|
309
|
+
/**
|
|
310
|
+
* Whether a tab is activated automatically or manually. Automatic activation is only
|
|
311
|
+
* supported on web; native tabs always activate manually.
|
|
312
|
+
* @defaultValue automatic
|
|
313
|
+
*/
|
|
314
|
+
activationMode?: 'automatic' | 'manual';
|
|
315
|
+
}, import("@tamagui/web").StackStyleBase, {
|
|
316
|
+
size?: TokenSize | undefined;
|
|
317
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
318
|
+
} & {
|
|
319
|
+
Frame: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
320
|
+
size?: TokenSize | undefined;
|
|
321
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & {
|
|
322
|
+
ref?: React.Ref<TamaguiElement> | undefined;
|
|
323
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
324
|
+
size?: TokenSize | undefined;
|
|
325
|
+
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
326
|
+
__tama: [import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
327
|
+
size?: TokenSize | undefined;
|
|
328
|
+
}, import("@tamagui/web").StaticConfigPublic];
|
|
27
329
|
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}, import("@tamagui/core").
|
|
330
|
+
List: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
331
|
+
size?: TokenSize | undefined;
|
|
332
|
+
}>, "__scopeTabs" | "loop" | "size" | keyof import("@tamagui/core").RNTamaguiViewNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
333
|
+
size?: TokenSize | undefined;
|
|
334
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
335
|
+
/** Whether keyboard navigation loops after the first or last trigger. */
|
|
336
|
+
loop?: boolean;
|
|
337
|
+
/** Disables every trigger in the list. */
|
|
338
|
+
disabled?: boolean;
|
|
339
|
+
}, import("react-native").View | (HTMLElement & import("@tamagui/web").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
340
|
+
size?: TokenSize | undefined;
|
|
341
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
342
|
+
/** Whether keyboard navigation loops after the first or last trigger. */
|
|
343
|
+
loop?: boolean;
|
|
344
|
+
/** Disables every trigger in the list. */
|
|
345
|
+
disabled?: boolean;
|
|
346
|
+
}, import("@tamagui/web").StackStyleBase, {
|
|
347
|
+
size?: TokenSize | undefined;
|
|
348
|
+
}, import("@tamagui/web").StaticConfigPublic>;
|
|
349
|
+
Tab: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
350
|
+
disabled?: boolean | undefined;
|
|
351
|
+
size?: TokenSize | undefined;
|
|
352
|
+
}>, "__scopeTabs" | "accessibilityActions" | "accessibilityElementsHidden" | "accessibilityHint" | "accessibilityIgnoresInvertColors" | "accessibilityLabel" | "accessibilityLabelledBy" | "accessibilityLanguage" | "accessibilityLargeContentTitle" | "accessibilityLiveRegion" | "accessibilityRespondsToUserInteraction" | "accessibilityRole" | "accessibilityShowsLargeContentViewer" | "accessibilityState" | "accessibilityValue" | "accessibilityViewIsModal" | "accessible" | "activeStyle" | "activeTheme" | "animatedBy" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-hidden" | "aria-label" | "aria-labelledby" | "aria-live" | "aria-modal" | "aria-selected" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "asChild" | "children" | "className" | "collapsable" | "collapsableChildren" | "container" | "dangerouslySetInnerHTML" | "debug" | "disableClassName" | "disableNativeStyle" | "disableOptimization" | "disabled" | "download" | "elevationAndroid" | "forceStyle" | "group" | "hasTVPreferredFocus" | "hitSlop" | "htmlFor" | "id" | "importantForAccessibility" | "isTVSelectable" | "name" | "nativeID" | "needsOffscreenAlphaCompositing" | "onAccessibilityAction" | "onAccessibilityEscape" | "onAccessibilityTap" | "onBeforeInput" | "onBlur" | "onChange" | "onClick" | "onContextMenu" | "onCopy" | "onCut" | "onDoubleClick" | "onDrag" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDragStart" | "onDrop" | "onFocus" | "onInput" | "onInteraction" | "onKeyDown" | "onKeyUp" | "onLayout" | "onLongPress" | "onMagicTap" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOut" | "onMouseOver" | "onMouseUp" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onPaste" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPress" | "onPressIn" | "onPressOut" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScroll" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "onTouchCancel" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchStart" | "onWheel" | "rel" | "removeClippedSubviews" | "render" | "renderToHardwareTextureAndroid" | "role" | "screenReaderFocusable" | "shouldRasterizeIOS" | "size" | "style" | "tabIndex" | "target" | "testID" | "theme" | "themeShallow" | "tvParallaxMagnification" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "untilMeasured" | "value" | keyof import("@tamagui/web").StackStyleBase> & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disabled" | "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
353
|
+
disabled?: boolean | undefined;
|
|
354
|
+
size?: TokenSize | undefined;
|
|
355
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
356
|
+
/** The value selected when this trigger is activated. */
|
|
357
|
+
value: string;
|
|
358
|
+
/** Reports the measured trigger rectangle for custom indicators. */
|
|
359
|
+
onInteraction?: (type: InteractionType, layout: TabLayout | null) => void;
|
|
360
|
+
/** Custom styles to apply while this trigger is selected. */
|
|
361
|
+
activeStyle?: GetProps<typeof TabsTabFrame>;
|
|
362
|
+
/** Theme to apply while this trigger is selected. */
|
|
363
|
+
activeTheme?: string | null;
|
|
364
|
+
}, import("react-native").View | (HTMLElement & import("@tamagui/web").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disabled" | "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
365
|
+
disabled?: boolean | undefined;
|
|
366
|
+
size?: TokenSize | undefined;
|
|
367
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
368
|
+
/** The value selected when this trigger is activated. */
|
|
369
|
+
value: string;
|
|
370
|
+
/** Reports the measured trigger rectangle for custom indicators. */
|
|
371
|
+
onInteraction?: (type: InteractionType, layout: TabLayout | null) => void;
|
|
372
|
+
/** Custom styles to apply while this trigger is selected. */
|
|
373
|
+
activeStyle?: GetProps<typeof TabsTabFrame>;
|
|
374
|
+
/** Theme to apply while this trigger is selected. */
|
|
375
|
+
activeTheme?: string | null;
|
|
376
|
+
}, import("@tamagui/web").StackStyleBase, {
|
|
377
|
+
disabled?: boolean | undefined;
|
|
378
|
+
size?: TokenSize | undefined;
|
|
379
|
+
}, import("@tamagui/web").StaticConfigPublic>;
|
|
380
|
+
Content: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
381
|
+
size?: TokenSize | undefined;
|
|
382
|
+
}>, "__scopeTabs" | "forceMount" | "size" | "value" | keyof import("@tamagui/core").RNTamaguiViewNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
383
|
+
size?: TokenSize | undefined;
|
|
384
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
385
|
+
/** The value that selects this content. */
|
|
386
|
+
value: string;
|
|
387
|
+
/** Mounts the content even when its value is not selected. */
|
|
388
|
+
forceMount?: boolean;
|
|
389
|
+
}, import("react-native").View | (HTMLElement & import("@tamagui/web").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
390
|
+
size?: TokenSize | undefined;
|
|
391
|
+
} & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & TabsScopeProps & {
|
|
392
|
+
/** The value that selects this content. */
|
|
393
|
+
value: string;
|
|
394
|
+
/** Mounts the content even when its value is not selected. */
|
|
395
|
+
forceMount?: boolean;
|
|
396
|
+
}, import("@tamagui/web").StackStyleBase, {
|
|
397
|
+
size?: TokenSize | undefined;
|
|
398
|
+
}, import("@tamagui/web").StaticConfigPublic>;
|
|
399
|
+
};
|
|
400
|
+
export {};
|
|
38
401
|
//# sourceMappingURL=Tabs.d.ts.map
|
package/types/Tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../src/Tabs.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../src/Tabs.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AACpF,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,eAAe,CAAA;AAE3D,OAAO,KAAK,EAAE,QAAQ,EAAE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