@hanzogui/tabs 2.0.0
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/LICENSE +21 -0
- package/dist/cjs/StyledContext.cjs +31 -0
- package/dist/cjs/StyledContext.native.js +34 -0
- package/dist/cjs/StyledContext.native.js.map +1 -0
- package/dist/cjs/Tabs.cjs +81 -0
- package/dist/cjs/Tabs.native.js +84 -0
- package/dist/cjs/Tabs.native.js.map +1 -0
- package/dist/cjs/createTabs.cjs +262 -0
- package/dist/cjs/createTabs.native.js +280 -0
- package/dist/cjs/createTabs.native.js.map +1 -0
- package/dist/cjs/index.cjs +35 -0
- package/dist/cjs/index.native.js +38 -0
- package/dist/cjs/index.native.js.map +1 -0
- package/dist/esm/StyledContext.mjs +7 -0
- package/dist/esm/StyledContext.mjs.map +1 -0
- package/dist/esm/StyledContext.native.js +7 -0
- package/dist/esm/StyledContext.native.js.map +1 -0
- package/dist/esm/Tabs.mjs +56 -0
- package/dist/esm/Tabs.mjs.map +1 -0
- package/dist/esm/Tabs.native.js +56 -0
- package/dist/esm/Tabs.native.js.map +1 -0
- package/dist/esm/createTabs.mjs +228 -0
- package/dist/esm/createTabs.mjs.map +1 -0
- package/dist/esm/createTabs.native.js +243 -0
- package/dist/esm/createTabs.native.js.map +1 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.mjs +11 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/index.native.js +11 -0
- package/dist/esm/index.native.js.map +1 -0
- package/dist/jsx/StyledContext.mjs +7 -0
- package/dist/jsx/StyledContext.mjs.map +1 -0
- package/dist/jsx/StyledContext.native.js +34 -0
- package/dist/jsx/StyledContext.native.js.map +1 -0
- package/dist/jsx/Tabs.mjs +56 -0
- package/dist/jsx/Tabs.mjs.map +1 -0
- package/dist/jsx/Tabs.native.js +84 -0
- package/dist/jsx/Tabs.native.js.map +1 -0
- package/dist/jsx/createTabs.mjs +228 -0
- package/dist/jsx/createTabs.mjs.map +1 -0
- package/dist/jsx/createTabs.native.js +280 -0
- package/dist/jsx/createTabs.native.js.map +1 -0
- package/dist/jsx/index.js +11 -0
- package/dist/jsx/index.js.map +1 -0
- package/dist/jsx/index.mjs +11 -0
- package/dist/jsx/index.mjs.map +1 -0
- package/dist/jsx/index.native.js +38 -0
- package/dist/jsx/index.native.js.map +1 -0
- package/package.json +65 -0
- package/src/StyledContext.tsx +19 -0
- package/src/Tabs.tsx +69 -0
- package/src/createTabs.tsx +433 -0
- package/src/index.ts +10 -0
- package/types/StyledContext.d.ts +19 -0
- package/types/Tabs.d.ts +38 -0
- package/types/createTabs.d.ts +527 -0
- package/types/index.d.ts +539 -0
|
@@ -0,0 +1,527 @@
|
|
|
1
|
+
import type { GroupProps } from '@gui/group';
|
|
2
|
+
import { type RovingFocusGroupProps } from '@gui/roving-focus';
|
|
3
|
+
import type { GetProps, GuiElement, ViewProps } from '@gui/web';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import type { LayoutRectangle } from 'react-native';
|
|
6
|
+
import { DefaultTabsContentFrame, DefaultTabsFrame, DefaultTabsTabFrame } from './Tabs';
|
|
7
|
+
type TabsComponent = (props: {
|
|
8
|
+
direction: 'horizontal' | 'vertical';
|
|
9
|
+
} & ViewProps) => any;
|
|
10
|
+
type TabComponent = (props: {
|
|
11
|
+
active?: boolean;
|
|
12
|
+
} & ViewProps) => any;
|
|
13
|
+
type ContentComponent = (props: ViewProps) => any;
|
|
14
|
+
export declare function createTabs<C extends TabsComponent, T extends TabComponent, F extends ContentComponent>(createProps: {
|
|
15
|
+
ContentFrame: F;
|
|
16
|
+
TabFrame: T;
|
|
17
|
+
TabsFrame: C;
|
|
18
|
+
}): React.ForwardRefExoticComponent<Omit<import("@gui/web").GetFinalProps<import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {
|
|
19
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
20
|
+
unstyled?: boolean | undefined;
|
|
21
|
+
elevation?: number | import("@gui/web").SizeTokens | undefined;
|
|
22
|
+
transparent?: boolean | undefined;
|
|
23
|
+
fullscreen?: boolean | undefined;
|
|
24
|
+
circular?: boolean | undefined;
|
|
25
|
+
elevate?: boolean | undefined;
|
|
26
|
+
bordered?: boolean | undefined;
|
|
27
|
+
chromeless?: boolean | "all" | undefined;
|
|
28
|
+
}>, keyof TabsExtraProps<string>> & TabsExtraProps<string> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<Omit<import("@gui/web").GetFinalProps<import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {
|
|
29
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
30
|
+
unstyled?: boolean | undefined;
|
|
31
|
+
elevation?: number | import("@gui/web").SizeTokens | undefined;
|
|
32
|
+
transparent?: boolean | undefined;
|
|
33
|
+
fullscreen?: boolean | undefined;
|
|
34
|
+
circular?: boolean | undefined;
|
|
35
|
+
elevate?: boolean | undefined;
|
|
36
|
+
bordered?: boolean | undefined;
|
|
37
|
+
chromeless?: boolean | "all" | undefined;
|
|
38
|
+
}>, keyof TabsExtraProps<string>> & TabsExtraProps<string>, GuiElement, import("@gui/core").RNGuiViewNonStyleProps & TabsExtraProps<string>, import("@gui/web").StackStyleBase, {
|
|
39
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
40
|
+
unstyled?: boolean | undefined;
|
|
41
|
+
elevation?: number | import("@gui/web").SizeTokens | undefined;
|
|
42
|
+
transparent?: boolean | undefined;
|
|
43
|
+
fullscreen?: boolean | undefined;
|
|
44
|
+
circular?: boolean | undefined;
|
|
45
|
+
elevate?: boolean | undefined;
|
|
46
|
+
bordered?: boolean | undefined;
|
|
47
|
+
chromeless?: boolean | "all" | undefined;
|
|
48
|
+
}, import("@gui/web").StaticConfigPublic> & Omit<import("@gui/web").StaticConfigPublic, "staticConfig" | "styleable"> & {
|
|
49
|
+
__tama: [Omit<import("@gui/web").GetFinalProps<import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {
|
|
50
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
51
|
+
unstyled?: boolean | undefined;
|
|
52
|
+
elevation?: number | import("@gui/web").SizeTokens | undefined;
|
|
53
|
+
transparent?: boolean | undefined;
|
|
54
|
+
fullscreen?: boolean | undefined;
|
|
55
|
+
circular?: boolean | undefined;
|
|
56
|
+
elevate?: boolean | undefined;
|
|
57
|
+
bordered?: boolean | undefined;
|
|
58
|
+
chromeless?: boolean | "all" | undefined;
|
|
59
|
+
}>, keyof TabsExtraProps<string>> & TabsExtraProps<string>, GuiElement, import("@gui/core").RNGuiViewNonStyleProps & TabsExtraProps<string>, import("@gui/web").StackStyleBase, {
|
|
60
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
61
|
+
unstyled?: boolean | undefined;
|
|
62
|
+
elevation?: number | import("@gui/web").SizeTokens | undefined;
|
|
63
|
+
transparent?: boolean | undefined;
|
|
64
|
+
fullscreen?: boolean | undefined;
|
|
65
|
+
circular?: boolean | undefined;
|
|
66
|
+
elevate?: boolean | undefined;
|
|
67
|
+
bordered?: boolean | undefined;
|
|
68
|
+
chromeless?: boolean | "all" | undefined;
|
|
69
|
+
}, import("@gui/web").StaticConfigPublic];
|
|
70
|
+
} & {
|
|
71
|
+
List: React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, "unstyled" | "elevation" | keyof import("@gui/web").StackStyleBase | "size" | "fullscreen"> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & {
|
|
72
|
+
unstyled?: boolean | undefined;
|
|
73
|
+
elevation?: number | import("@gui/web").SizeTokens | undefined;
|
|
74
|
+
fullscreen?: boolean | undefined;
|
|
75
|
+
size?: any;
|
|
76
|
+
} & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & {
|
|
77
|
+
unstyled?: boolean | undefined;
|
|
78
|
+
elevation?: number | import("@gui/web").SizeTokens | undefined;
|
|
79
|
+
fullscreen?: boolean | undefined;
|
|
80
|
+
size?: any;
|
|
81
|
+
} & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {
|
|
82
|
+
unstyled?: boolean | undefined;
|
|
83
|
+
elevation?: number | import("@gui/web").SizeTokens | undefined;
|
|
84
|
+
fullscreen?: boolean | undefined;
|
|
85
|
+
size?: any;
|
|
86
|
+
}>> & import("@gui/group").GroupExtraProps & {
|
|
87
|
+
/**
|
|
88
|
+
* Whether to loop over after reaching the end or start of the items
|
|
89
|
+
* @default true
|
|
90
|
+
*/
|
|
91
|
+
loop?: boolean;
|
|
92
|
+
} & React.RefAttributes<GuiElement>>;
|
|
93
|
+
/**
|
|
94
|
+
* @deprecated Use Tabs.Tab instead
|
|
95
|
+
*/
|
|
96
|
+
Trigger: import("@gui/web").GuiComponent<Omit<import("@gui/web").GetFinalProps<import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase & {
|
|
97
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
98
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
99
|
+
}, {
|
|
100
|
+
accept: {
|
|
101
|
+
readonly activeStyle: "style";
|
|
102
|
+
};
|
|
103
|
+
}>> | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
disabled?: boolean | undefined;
|
|
106
|
+
unstyled?: boolean | undefined;
|
|
107
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
108
|
+
}>, "theme" | "debug" | "style" | `$${string}` | `$${number}` | import("@gui/web").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "hitSlop" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "unstyled" | "id" | "render" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "elevationAndroid" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | keyof import("@gui/web").StackStyleBase | "size" | "activeStyle" | "value" | keyof import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
109
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
110
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
111
|
+
}, {
|
|
112
|
+
accept: {
|
|
113
|
+
readonly activeStyle: "style";
|
|
114
|
+
};
|
|
115
|
+
}>> | undefined;
|
|
116
|
+
}> & {
|
|
117
|
+
disabled?: boolean | undefined;
|
|
118
|
+
unstyled?: boolean | undefined;
|
|
119
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
120
|
+
} & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
121
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
122
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
123
|
+
}, {
|
|
124
|
+
accept: {
|
|
125
|
+
readonly activeStyle: "style";
|
|
126
|
+
};
|
|
127
|
+
}>> | undefined;
|
|
128
|
+
}>>> | "onInteraction" | "activeTheme" | "__scopeTabs"> & Omit<import("@gui/core").RNGuiViewNonStyleProps, "disabled" | "unstyled" | keyof import("@gui/web").StackStyleBase | "size" | "activeStyle"> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
129
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
130
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
131
|
+
}, {
|
|
132
|
+
accept: {
|
|
133
|
+
readonly activeStyle: "style";
|
|
134
|
+
};
|
|
135
|
+
}>> | undefined;
|
|
136
|
+
}> & {
|
|
137
|
+
disabled?: boolean | undefined;
|
|
138
|
+
unstyled?: boolean | undefined;
|
|
139
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
140
|
+
} & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
141
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
142
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
143
|
+
}, {
|
|
144
|
+
accept: {
|
|
145
|
+
readonly activeStyle: "style";
|
|
146
|
+
};
|
|
147
|
+
}>> | undefined;
|
|
148
|
+
}>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
149
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
150
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
151
|
+
}, {
|
|
152
|
+
accept: {
|
|
153
|
+
readonly activeStyle: "style";
|
|
154
|
+
};
|
|
155
|
+
}>> | undefined;
|
|
156
|
+
}> & {
|
|
157
|
+
disabled?: boolean | undefined;
|
|
158
|
+
unstyled?: boolean | undefined;
|
|
159
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
160
|
+
} & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
161
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
162
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
163
|
+
}, {
|
|
164
|
+
accept: {
|
|
165
|
+
readonly activeStyle: "style";
|
|
166
|
+
};
|
|
167
|
+
}>> | undefined;
|
|
168
|
+
}>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase & {
|
|
169
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
170
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
171
|
+
}, {
|
|
172
|
+
accept: {
|
|
173
|
+
readonly activeStyle: "style";
|
|
174
|
+
};
|
|
175
|
+
}>> | undefined;
|
|
176
|
+
}, {
|
|
177
|
+
disabled?: boolean | undefined;
|
|
178
|
+
unstyled?: boolean | undefined;
|
|
179
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
180
|
+
}>> & {
|
|
181
|
+
/** The value for the tabs state to be changed to after activation of the trigger */
|
|
182
|
+
value: string;
|
|
183
|
+
/** Used for making custom indicators when trigger interacted with */
|
|
184
|
+
onInteraction?: (type: InteractionType, layout: TabLayout | null) => void;
|
|
185
|
+
/** Custom styles to apply when tab is active */
|
|
186
|
+
activeStyle?: TabsTriggerFrameProps;
|
|
187
|
+
/** Theme to apply when tab is active (use null for no theme) */
|
|
188
|
+
activeTheme?: string | null;
|
|
189
|
+
} & {
|
|
190
|
+
__scopeTabs?: string;
|
|
191
|
+
}, GuiElement, import("@gui/core").RNGuiViewNonStyleProps & Omit<import("@gui/core").RNGuiViewNonStyleProps, "disabled" | "unstyled" | keyof import("@gui/web").StackStyleBase | "size" | "activeStyle"> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
192
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
193
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
194
|
+
}, {
|
|
195
|
+
accept: {
|
|
196
|
+
readonly activeStyle: "style";
|
|
197
|
+
};
|
|
198
|
+
}>> | undefined;
|
|
199
|
+
}> & {
|
|
200
|
+
disabled?: boolean | undefined;
|
|
201
|
+
unstyled?: boolean | undefined;
|
|
202
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
203
|
+
} & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
204
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
205
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
206
|
+
}, {
|
|
207
|
+
accept: {
|
|
208
|
+
readonly activeStyle: "style";
|
|
209
|
+
};
|
|
210
|
+
}>> | undefined;
|
|
211
|
+
}>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
212
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
213
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
214
|
+
}, {
|
|
215
|
+
accept: {
|
|
216
|
+
readonly activeStyle: "style";
|
|
217
|
+
};
|
|
218
|
+
}>> | undefined;
|
|
219
|
+
}> & {
|
|
220
|
+
disabled?: boolean | undefined;
|
|
221
|
+
unstyled?: boolean | undefined;
|
|
222
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
223
|
+
} & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
224
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
225
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
226
|
+
}, {
|
|
227
|
+
accept: {
|
|
228
|
+
readonly activeStyle: "style";
|
|
229
|
+
};
|
|
230
|
+
}>> | undefined;
|
|
231
|
+
}>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase & {
|
|
232
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
233
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
234
|
+
}, {
|
|
235
|
+
accept: {
|
|
236
|
+
readonly activeStyle: "style";
|
|
237
|
+
};
|
|
238
|
+
}>> | undefined;
|
|
239
|
+
}, {
|
|
240
|
+
disabled?: boolean | undefined;
|
|
241
|
+
unstyled?: boolean | undefined;
|
|
242
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
243
|
+
}>> & {
|
|
244
|
+
/** The value for the tabs state to be changed to after activation of the trigger */
|
|
245
|
+
value: string;
|
|
246
|
+
/** Used for making custom indicators when trigger interacted with */
|
|
247
|
+
onInteraction?: (type: InteractionType, layout: TabLayout | null) => void;
|
|
248
|
+
/** Custom styles to apply when tab is active */
|
|
249
|
+
activeStyle?: TabsTriggerFrameProps;
|
|
250
|
+
/** Theme to apply when tab is active (use null for no theme) */
|
|
251
|
+
activeTheme?: string | null;
|
|
252
|
+
} & {
|
|
253
|
+
__scopeTabs?: string;
|
|
254
|
+
}, import("@gui/web").StackStyleBase & {
|
|
255
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
256
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
257
|
+
}, {
|
|
258
|
+
accept: {
|
|
259
|
+
readonly activeStyle: "style";
|
|
260
|
+
};
|
|
261
|
+
}>> | undefined;
|
|
262
|
+
}, {
|
|
263
|
+
disabled?: boolean | undefined;
|
|
264
|
+
unstyled?: boolean | undefined;
|
|
265
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
266
|
+
}, {
|
|
267
|
+
accept: {
|
|
268
|
+
readonly activeStyle: "style";
|
|
269
|
+
};
|
|
270
|
+
}>;
|
|
271
|
+
Tab: import("@gui/web").GuiComponent<Omit<import("@gui/web").GetFinalProps<import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase & {
|
|
272
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
273
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
274
|
+
}, {
|
|
275
|
+
accept: {
|
|
276
|
+
readonly activeStyle: "style";
|
|
277
|
+
};
|
|
278
|
+
}>> | undefined;
|
|
279
|
+
}, {
|
|
280
|
+
disabled?: boolean | undefined;
|
|
281
|
+
unstyled?: boolean | undefined;
|
|
282
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
283
|
+
}>, "theme" | "debug" | "style" | `$${string}` | `$${number}` | import("@gui/web").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "hitSlop" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "unstyled" | "id" | "render" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "elevationAndroid" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | keyof import("@gui/web").StackStyleBase | "size" | "activeStyle" | "value" | keyof import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
284
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
285
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
286
|
+
}, {
|
|
287
|
+
accept: {
|
|
288
|
+
readonly activeStyle: "style";
|
|
289
|
+
};
|
|
290
|
+
}>> | undefined;
|
|
291
|
+
}> & {
|
|
292
|
+
disabled?: boolean | undefined;
|
|
293
|
+
unstyled?: boolean | undefined;
|
|
294
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
295
|
+
} & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
296
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
297
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
298
|
+
}, {
|
|
299
|
+
accept: {
|
|
300
|
+
readonly activeStyle: "style";
|
|
301
|
+
};
|
|
302
|
+
}>> | undefined;
|
|
303
|
+
}>>> | "onInteraction" | "activeTheme" | "__scopeTabs"> & Omit<import("@gui/core").RNGuiViewNonStyleProps, "disabled" | "unstyled" | keyof import("@gui/web").StackStyleBase | "size" | "activeStyle"> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
304
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
305
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
306
|
+
}, {
|
|
307
|
+
accept: {
|
|
308
|
+
readonly activeStyle: "style";
|
|
309
|
+
};
|
|
310
|
+
}>> | undefined;
|
|
311
|
+
}> & {
|
|
312
|
+
disabled?: boolean | undefined;
|
|
313
|
+
unstyled?: boolean | undefined;
|
|
314
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
315
|
+
} & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
316
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
317
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
318
|
+
}, {
|
|
319
|
+
accept: {
|
|
320
|
+
readonly activeStyle: "style";
|
|
321
|
+
};
|
|
322
|
+
}>> | undefined;
|
|
323
|
+
}>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
324
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
325
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
326
|
+
}, {
|
|
327
|
+
accept: {
|
|
328
|
+
readonly activeStyle: "style";
|
|
329
|
+
};
|
|
330
|
+
}>> | undefined;
|
|
331
|
+
}> & {
|
|
332
|
+
disabled?: boolean | undefined;
|
|
333
|
+
unstyled?: boolean | undefined;
|
|
334
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
335
|
+
} & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
336
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
337
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
338
|
+
}, {
|
|
339
|
+
accept: {
|
|
340
|
+
readonly activeStyle: "style";
|
|
341
|
+
};
|
|
342
|
+
}>> | undefined;
|
|
343
|
+
}>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase & {
|
|
344
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
345
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
346
|
+
}, {
|
|
347
|
+
accept: {
|
|
348
|
+
readonly activeStyle: "style";
|
|
349
|
+
};
|
|
350
|
+
}>> | undefined;
|
|
351
|
+
}, {
|
|
352
|
+
disabled?: boolean | undefined;
|
|
353
|
+
unstyled?: boolean | undefined;
|
|
354
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
355
|
+
}>> & {
|
|
356
|
+
/** The value for the tabs state to be changed to after activation of the trigger */
|
|
357
|
+
value: string;
|
|
358
|
+
/** Used for making custom indicators when trigger interacted with */
|
|
359
|
+
onInteraction?: (type: InteractionType, layout: TabLayout | null) => void;
|
|
360
|
+
/** Custom styles to apply when tab is active */
|
|
361
|
+
activeStyle?: TabsTriggerFrameProps;
|
|
362
|
+
/** Theme to apply when tab is active (use null for no theme) */
|
|
363
|
+
activeTheme?: string | null;
|
|
364
|
+
} & {
|
|
365
|
+
__scopeTabs?: string;
|
|
366
|
+
}, GuiElement, import("@gui/core").RNGuiViewNonStyleProps & Omit<import("@gui/core").RNGuiViewNonStyleProps, "disabled" | "unstyled" | keyof import("@gui/web").StackStyleBase | "size" | "activeStyle"> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
367
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
368
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
369
|
+
}, {
|
|
370
|
+
accept: {
|
|
371
|
+
readonly activeStyle: "style";
|
|
372
|
+
};
|
|
373
|
+
}>> | undefined;
|
|
374
|
+
}> & {
|
|
375
|
+
disabled?: boolean | undefined;
|
|
376
|
+
unstyled?: boolean | undefined;
|
|
377
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
378
|
+
} & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
379
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
380
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
381
|
+
}, {
|
|
382
|
+
accept: {
|
|
383
|
+
readonly activeStyle: "style";
|
|
384
|
+
};
|
|
385
|
+
}>> | undefined;
|
|
386
|
+
}>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
387
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
388
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
389
|
+
}, {
|
|
390
|
+
accept: {
|
|
391
|
+
readonly activeStyle: "style";
|
|
392
|
+
};
|
|
393
|
+
}>> | undefined;
|
|
394
|
+
}> & {
|
|
395
|
+
disabled?: boolean | undefined;
|
|
396
|
+
unstyled?: boolean | undefined;
|
|
397
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
398
|
+
} & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
|
|
399
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
400
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
401
|
+
}, {
|
|
402
|
+
accept: {
|
|
403
|
+
readonly activeStyle: "style";
|
|
404
|
+
};
|
|
405
|
+
}>> | undefined;
|
|
406
|
+
}>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase & {
|
|
407
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
408
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
409
|
+
}, {
|
|
410
|
+
accept: {
|
|
411
|
+
readonly activeStyle: "style";
|
|
412
|
+
};
|
|
413
|
+
}>> | undefined;
|
|
414
|
+
}, {
|
|
415
|
+
disabled?: boolean | undefined;
|
|
416
|
+
unstyled?: boolean | undefined;
|
|
417
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
418
|
+
}>> & {
|
|
419
|
+
/** The value for the tabs state to be changed to after activation of the trigger */
|
|
420
|
+
value: string;
|
|
421
|
+
/** Used for making custom indicators when trigger interacted with */
|
|
422
|
+
onInteraction?: (type: InteractionType, layout: TabLayout | null) => void;
|
|
423
|
+
/** Custom styles to apply when tab is active */
|
|
424
|
+
activeStyle?: TabsTriggerFrameProps;
|
|
425
|
+
/** Theme to apply when tab is active (use null for no theme) */
|
|
426
|
+
activeTheme?: string | null;
|
|
427
|
+
} & {
|
|
428
|
+
__scopeTabs?: string;
|
|
429
|
+
}, import("@gui/web").StackStyleBase & {
|
|
430
|
+
readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<React.ForwardRefExoticComponent<Omit<import("@gui/core").RNGuiViewNonStyleProps, keyof import("@gui/web").StackStyleBase> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase> & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase, {}>> & React.RefAttributes<GuiElement>> & import("@gui/web").StaticComponentObject<import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}> & Omit<{}, "staticConfig" | "styleable"> & {
|
|
431
|
+
__tama: [import("@gui/web").TamaDefer, GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {}, {}];
|
|
432
|
+
}, {
|
|
433
|
+
accept: {
|
|
434
|
+
readonly activeStyle: "style";
|
|
435
|
+
};
|
|
436
|
+
}>> | undefined;
|
|
437
|
+
}, {
|
|
438
|
+
disabled?: boolean | undefined;
|
|
439
|
+
unstyled?: boolean | undefined;
|
|
440
|
+
size?: import("@gui/web").SizeTokens | undefined;
|
|
441
|
+
}, {
|
|
442
|
+
accept: {
|
|
443
|
+
readonly activeStyle: "style";
|
|
444
|
+
};
|
|
445
|
+
}>;
|
|
446
|
+
Content: import("@gui/web").GuiComponent<Omit<import("@gui/web").GetFinalProps<import("@gui/core").RNGuiViewNonStyleProps, import("@gui/web").StackStyleBase, {
|
|
447
|
+
elevation?: number | import("@gui/web").SizeTokens | undefined;
|
|
448
|
+
transparent?: boolean | undefined;
|
|
449
|
+
fullscreen?: boolean | undefined;
|
|
450
|
+
circular?: boolean | undefined;
|
|
451
|
+
elevate?: boolean | undefined;
|
|
452
|
+
bordered?: boolean | undefined;
|
|
453
|
+
chromeless?: boolean | "all" | undefined;
|
|
454
|
+
}>, keyof TabsContentExtraProps> & TabsContentExtraProps, GuiElement, import("@gui/core").RNGuiViewNonStyleProps & TabsContentExtraProps, import("@gui/web").StackStyleBase, {
|
|
455
|
+
elevation?: number | import("@gui/web").SizeTokens | undefined;
|
|
456
|
+
transparent?: boolean | undefined;
|
|
457
|
+
fullscreen?: boolean | undefined;
|
|
458
|
+
circular?: boolean | undefined;
|
|
459
|
+
elevate?: boolean | undefined;
|
|
460
|
+
bordered?: boolean | undefined;
|
|
461
|
+
chromeless?: boolean | "all" | undefined;
|
|
462
|
+
}, import("@gui/web").StaticConfigPublic>;
|
|
463
|
+
};
|
|
464
|
+
type TabsFrameProps = GetProps<typeof DefaultTabsFrame>;
|
|
465
|
+
type TabsExtraProps<Tab = string> = {
|
|
466
|
+
/** The value for the selected tab, if controlled */
|
|
467
|
+
value?: string;
|
|
468
|
+
/** The value of the tab to select by default, if uncontrolled */
|
|
469
|
+
defaultValue?: Tab;
|
|
470
|
+
/** A function called when a new tab is selected */
|
|
471
|
+
onValueChange?: (value: Tab) => void;
|
|
472
|
+
/**
|
|
473
|
+
* The orientation the tabs are layed out.
|
|
474
|
+
* Mainly so arrow navigation is done accordingly (left & right vs. up & down)
|
|
475
|
+
* @defaultValue horizontal
|
|
476
|
+
*/
|
|
477
|
+
orientation?: RovingFocusGroupProps['orientation'];
|
|
478
|
+
/**
|
|
479
|
+
* The direction of navigation between toolbar items.
|
|
480
|
+
*/
|
|
481
|
+
dir?: RovingFocusGroupProps['dir'];
|
|
482
|
+
/**
|
|
483
|
+
* Whether a tab is activated automatically or manually. Only supported in web.
|
|
484
|
+
* @defaultValue automatic
|
|
485
|
+
* */
|
|
486
|
+
activationMode?: 'automatic' | 'manual';
|
|
487
|
+
};
|
|
488
|
+
type TabsProps<Tab = string> = TabsFrameProps & TabsExtraProps<Tab>;
|
|
489
|
+
type TabsListFrameProps = GroupProps;
|
|
490
|
+
type TabsListProps = TabsListFrameProps & {
|
|
491
|
+
/**
|
|
492
|
+
* Whether to loop over after reaching the end or start of the items
|
|
493
|
+
* @default true
|
|
494
|
+
*/
|
|
495
|
+
loop?: boolean;
|
|
496
|
+
};
|
|
497
|
+
type InteractionType = 'select' | 'focus' | 'hover';
|
|
498
|
+
type TabLayout = LayoutRectangle;
|
|
499
|
+
type TabsTriggerFrameProps = GetProps<typeof DefaultTabsTabFrame>;
|
|
500
|
+
/**
|
|
501
|
+
* @deprecated use `TabTabsProps` instead
|
|
502
|
+
*/
|
|
503
|
+
type TabsTriggerProps = TabsTriggerFrameProps & {
|
|
504
|
+
/** The value for the tabs state to be changed to after activation of the trigger */
|
|
505
|
+
value: string;
|
|
506
|
+
/** Used for making custom indicators when trigger interacted with */
|
|
507
|
+
onInteraction?: (type: InteractionType, layout: TabLayout | null) => void;
|
|
508
|
+
/** Custom styles to apply when tab is active */
|
|
509
|
+
activeStyle?: TabsTriggerFrameProps;
|
|
510
|
+
/** Theme to apply when tab is active (use null for no theme) */
|
|
511
|
+
activeTheme?: string | null;
|
|
512
|
+
};
|
|
513
|
+
type TabsTabProps = TabsTriggerProps;
|
|
514
|
+
type TabsTriggerLayout = LayoutRectangle;
|
|
515
|
+
type TabsContentFrameProps = GetProps<typeof DefaultTabsContentFrame>;
|
|
516
|
+
type TabsContentExtraProps = {
|
|
517
|
+
/** Will show the content when the value matches the state of Tabs root */
|
|
518
|
+
value: string;
|
|
519
|
+
/**
|
|
520
|
+
* Used to force mounting when more control is needed. Useful when
|
|
521
|
+
* controlling animation with Gui animations.
|
|
522
|
+
*/
|
|
523
|
+
forceMount?: boolean;
|
|
524
|
+
};
|
|
525
|
+
type TabsContentProps = TabsContentFrameProps & TabsContentExtraProps;
|
|
526
|
+
export type { TabLayout, TabsContentProps, TabsListProps, TabsProps, TabsTabProps, TabsTriggerLayout, TabsTriggerProps, };
|
|
527
|
+
//# sourceMappingURL=createTabs.d.ts.map
|