@onekeyfe/react-native-tab-view 1.1.31

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.
Files changed (94) hide show
  1. package/android/build.gradle +119 -0
  2. package/android/gradle.properties +4 -0
  3. package/android/src/main/AndroidManifest.xml +3 -0
  4. package/android/src/main/AndroidManifestNew.xml +2 -0
  5. package/android/src/main/java/com/rcttabview/ImageSource.kt +86 -0
  6. package/android/src/main/java/com/rcttabview/RCTTabView.kt +529 -0
  7. package/android/src/main/java/com/rcttabview/RCTTabViewManager.kt +204 -0
  8. package/android/src/main/java/com/rcttabview/RCTTabViewPackage.kt +16 -0
  9. package/android/src/main/java/com/rcttabview/TabInfo.kt +12 -0
  10. package/android/src/main/java/com/rcttabview/Utils.kt +31 -0
  11. package/android/src/main/java/com/rcttabview/events/OnNativeLayoutEvent.kt +20 -0
  12. package/android/src/main/java/com/rcttabview/events/OnTabBarMeasuredEvent.kt +19 -0
  13. package/android/src/main/java/com/rcttabview/events/PageSelectedEvent.kt +21 -0
  14. package/android/src/main/java/com/rcttabview/events/TabLongPressedEvent.kt +19 -0
  15. package/common/cpp/react/renderer/components/RNCTabView/RNCTabViewComponentDescriptor.h +32 -0
  16. package/common/cpp/react/renderer/components/RNCTabView/RNCTabViewShadowNode.cpp +18 -0
  17. package/common/cpp/react/renderer/components/RNCTabView/RNCTabViewShadowNode.h +35 -0
  18. package/common/cpp/react/renderer/components/RNCTabView/RNCTabViewState.cpp +15 -0
  19. package/common/cpp/react/renderer/components/RNCTabView/RNCTabViewState.h +25 -0
  20. package/ios/Extensions.swift +46 -0
  21. package/ios/RCTBottomAccessoryComponentView.h +12 -0
  22. package/ios/RCTBottomAccessoryComponentView.mm +67 -0
  23. package/ios/RCTBottomAccessoryContainerView.swift +51 -0
  24. package/ios/RCTTabViewComponentView.h +12 -0
  25. package/ios/RCTTabViewComponentView.mm +325 -0
  26. package/ios/RCTTabViewContainerView.swift +768 -0
  27. package/ios/RCTTabViewLog.h +7 -0
  28. package/ios/RCTTabViewLog.m +32 -0
  29. package/ios/SVG/CoreSVG.h +13 -0
  30. package/ios/SVG/CoreSVG.mm +177 -0
  31. package/ios/SVG/SvgDecoder.h +10 -0
  32. package/ios/SVG/SvgDecoder.mm +32 -0
  33. package/ios/TabBarFontSize.swift +55 -0
  34. package/lib/module/BottomAccessoryView.js +45 -0
  35. package/lib/module/BottomAccessoryView.js.map +1 -0
  36. package/lib/module/BottomAccessoryViewNativeComponent.ts +27 -0
  37. package/lib/module/DelayedFreeze.js +26 -0
  38. package/lib/module/DelayedFreeze.js.map +1 -0
  39. package/lib/module/NativeSVGDecoder.js +5 -0
  40. package/lib/module/NativeSVGDecoder.js.map +1 -0
  41. package/lib/module/SceneMap.js +28 -0
  42. package/lib/module/SceneMap.js.map +1 -0
  43. package/lib/module/TabView.js +263 -0
  44. package/lib/module/TabView.js.map +1 -0
  45. package/lib/module/TabViewNativeComponent.ts +68 -0
  46. package/lib/module/codegen-types.d.js +2 -0
  47. package/lib/module/codegen-types.d.js.map +1 -0
  48. package/lib/module/index.js +20 -0
  49. package/lib/module/index.js.map +1 -0
  50. package/lib/module/package.json +1 -0
  51. package/lib/module/types.js +4 -0
  52. package/lib/module/types.js.map +1 -0
  53. package/lib/module/utils/BottomTabBarHeightContext.js +5 -0
  54. package/lib/module/utils/BottomTabBarHeightContext.js.map +1 -0
  55. package/lib/module/utils/useBottomTabBarHeight.js +12 -0
  56. package/lib/module/utils/useBottomTabBarHeight.js.map +1 -0
  57. package/lib/typescript/package.json +1 -0
  58. package/lib/typescript/src/BottomAccessoryView.d.ts +8 -0
  59. package/lib/typescript/src/BottomAccessoryView.d.ts.map +1 -0
  60. package/lib/typescript/src/BottomAccessoryViewNativeComponent.d.ts +16 -0
  61. package/lib/typescript/src/BottomAccessoryViewNativeComponent.d.ts.map +1 -0
  62. package/lib/typescript/src/DelayedFreeze.d.ts +8 -0
  63. package/lib/typescript/src/DelayedFreeze.d.ts.map +1 -0
  64. package/lib/typescript/src/NativeSVGDecoder.d.ts +6 -0
  65. package/lib/typescript/src/NativeSVGDecoder.d.ts.map +1 -0
  66. package/lib/typescript/src/SceneMap.d.ts +10 -0
  67. package/lib/typescript/src/SceneMap.d.ts.map +1 -0
  68. package/lib/typescript/src/TabView.d.ts +178 -0
  69. package/lib/typescript/src/TabView.d.ts.map +1 -0
  70. package/lib/typescript/src/TabViewNativeComponent.d.ts +55 -0
  71. package/lib/typescript/src/TabViewNativeComponent.d.ts.map +1 -0
  72. package/lib/typescript/src/index.d.ts +16 -0
  73. package/lib/typescript/src/index.d.ts.map +1 -0
  74. package/lib/typescript/src/types.d.ts +29 -0
  75. package/lib/typescript/src/types.d.ts.map +1 -0
  76. package/lib/typescript/src/utils/BottomTabBarHeightContext.d.ts +3 -0
  77. package/lib/typescript/src/utils/BottomTabBarHeightContext.d.ts.map +1 -0
  78. package/lib/typescript/src/utils/useBottomTabBarHeight.d.ts +2 -0
  79. package/lib/typescript/src/utils/useBottomTabBarHeight.d.ts.map +1 -0
  80. package/package.json +114 -0
  81. package/react-native-tab-view.podspec +36 -0
  82. package/react-native.config.js +13 -0
  83. package/src/BottomAccessoryView.tsx +58 -0
  84. package/src/BottomAccessoryViewNativeComponent.ts +27 -0
  85. package/src/DelayedFreeze.tsx +27 -0
  86. package/src/NativeSVGDecoder.ts +5 -0
  87. package/src/SceneMap.tsx +34 -0
  88. package/src/TabView.tsx +466 -0
  89. package/src/TabViewNativeComponent.ts +68 -0
  90. package/src/codegen-types.d.ts +28 -0
  91. package/src/index.tsx +18 -0
  92. package/src/types.ts +31 -0
  93. package/src/utils/BottomTabBarHeightContext.ts +5 -0
  94. package/src/utils/useBottomTabBarHeight.ts +15 -0
@@ -0,0 +1,263 @@
1
+ "use strict";
2
+
3
+ import React, { useLayoutEffect, useRef } from 'react';
4
+ import { Image, Platform, StyleSheet, View, processColor } from 'react-native';
5
+ import { BottomTabBarHeightContext } from "./utils/BottomTabBarHeightContext.js";
6
+
7
+ // eslint-disable-next-line @react-native/no-deep-imports
8
+
9
+ import NativeTabView from './TabViewNativeComponent';
10
+ import useLatestCallback from 'use-latest-callback';
11
+ import DelayedFreeze from "./DelayedFreeze.js";
12
+ import { BottomAccessoryView } from "./BottomAccessoryView.js";
13
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
+ const isAppleSymbol = icon => icon?.sfSymbol;
15
+ const ANDROID_MAX_TABS = 100;
16
+ const TabView = ({
17
+ navigationState,
18
+ renderScene,
19
+ onIndexChange,
20
+ onTabLongPress,
21
+ rippleColor,
22
+ tabBarActiveTintColor: activeTintColor,
23
+ tabBarInactiveTintColor: inactiveTintColor,
24
+ getBadge = ({
25
+ route
26
+ }) => route.badge,
27
+ getBadgeBackgroundColor = ({
28
+ route
29
+ }) => route.badgeBackgroundColor,
30
+ getBadgeTextColor = ({
31
+ route
32
+ }) => route.badgeTextColor,
33
+ getLazy = ({
34
+ route
35
+ }) => route.lazy,
36
+ getLabelText = ({
37
+ route
38
+ }) => route.title,
39
+ getIcon = ({
40
+ route,
41
+ focused
42
+ }) => route.unfocusedIcon ? focused ? route.focusedIcon : route.unfocusedIcon : route.focusedIcon,
43
+ getHidden = ({
44
+ route
45
+ }) => route.hidden,
46
+ getActiveTintColor = ({
47
+ route
48
+ }) => route.activeTintColor,
49
+ getTestID = ({
50
+ route
51
+ }) => route.testID,
52
+ getRole = ({
53
+ route
54
+ }) => route.role,
55
+ getSceneStyle = ({
56
+ route
57
+ }) => route.style,
58
+ getPreventsDefault = ({
59
+ route
60
+ }) => route.preventsDefault,
61
+ hapticFeedbackEnabled = false,
62
+ labeled = Platform.OS !== 'android' ? true : undefined,
63
+ getFreezeOnBlur = ({
64
+ route
65
+ }) => route.freezeOnBlur,
66
+ tabBar: renderCustomTabBar,
67
+ tabBarStyle,
68
+ tabLabelStyle,
69
+ renderBottomAccessoryView,
70
+ activeIndicatorColor,
71
+ ...props
72
+ }) => {
73
+ // @ts-ignore
74
+ const focusedKey = navigationState.routes[navigationState.index].key;
75
+ const customTabBarWrapperRef = useRef(null);
76
+ const [tabBarHeight, setTabBarHeight] = React.useState(0);
77
+ const [measuredDimensions, setMeasuredDimensions] = React.useState({
78
+ width: '100%',
79
+ height: '100%'
80
+ });
81
+ const trimmedRoutes = React.useMemo(() => {
82
+ if (Platform.OS === 'android' && navigationState.routes.length > ANDROID_MAX_TABS) {
83
+ console.warn(`TabView only supports up to ${ANDROID_MAX_TABS} tabs on Android`);
84
+ return navigationState.routes.slice(0, ANDROID_MAX_TABS);
85
+ }
86
+ return navigationState.routes;
87
+ }, [navigationState.routes]);
88
+ const [loaded, setLoaded] = React.useState([focusedKey]);
89
+ if (!loaded.includes(focusedKey)) {
90
+ setLoaded(loaded => [...loaded, focusedKey]);
91
+ }
92
+ const icons = React.useMemo(() => trimmedRoutes.map(route => getIcon({
93
+ route,
94
+ focused: route.key === focusedKey
95
+ })), [focusedKey, getIcon, trimmedRoutes]);
96
+ const items = React.useMemo(() => trimmedRoutes.map((route, index) => {
97
+ const icon = icons[index];
98
+ const isSfSymbol = isAppleSymbol(icon);
99
+ if (Platform.OS === 'android' && isSfSymbol) {
100
+ console.warn('SF Symbols are not supported on Android. Use require() or pass uri to load an image instead.');
101
+ }
102
+ const color = processColor(getActiveTintColor({
103
+ route
104
+ }));
105
+ const badgeBgColor = processColor(getBadgeBackgroundColor?.({
106
+ route
107
+ }));
108
+ const badgeTxtColor = processColor(getBadgeTextColor?.({
109
+ route
110
+ }));
111
+ return {
112
+ key: route.key,
113
+ title: getLabelText({
114
+ route
115
+ }) ?? route.key,
116
+ sfSymbol: isSfSymbol ? icon.sfSymbol : undefined,
117
+ badge: getBadge?.({
118
+ route
119
+ }),
120
+ badgeBackgroundColor: typeof badgeBgColor === 'number' ? badgeBgColor : undefined,
121
+ badgeTextColor: typeof badgeTxtColor === 'number' ? badgeTxtColor : undefined,
122
+ activeTintColor: typeof color === 'number' ? color : undefined,
123
+ hidden: getHidden?.({
124
+ route
125
+ }),
126
+ testID: getTestID?.({
127
+ route
128
+ }),
129
+ role: getRole?.({
130
+ route
131
+ }),
132
+ preventsDefault: getPreventsDefault?.({
133
+ route
134
+ })
135
+ };
136
+ }), [trimmedRoutes, icons, getLabelText, getBadge, getBadgeBackgroundColor, getBadgeTextColor, getActiveTintColor, getHidden, getTestID, getRole, getPreventsDefault]);
137
+ const resolvedIconAssets = React.useMemo(() => icons.map(icon => {
138
+ if (icon && !isAppleSymbol(icon)) {
139
+ // @ts-ignore - resolveAssetSource accepts ImageSourcePropType
140
+ const resolved = Image.resolveAssetSource(icon);
141
+ return {
142
+ uri: resolved?.uri ?? '',
143
+ width: resolved?.width ?? 0,
144
+ height: resolved?.height ?? 0,
145
+ scale: resolved?.scale ?? 1
146
+ };
147
+ }
148
+ return {
149
+ uri: '',
150
+ width: 0,
151
+ height: 0,
152
+ scale: 1
153
+ };
154
+ }), [icons]);
155
+ const jumpTo = useLatestCallback(key => {
156
+ const index = trimmedRoutes.findIndex(route => route.key === key);
157
+ onIndexChange(index);
158
+ });
159
+ const handleTabLongPress = React.useCallback(event => {
160
+ const {
161
+ key
162
+ } = event.nativeEvent;
163
+ const index = trimmedRoutes.findIndex(route => route.key === key);
164
+ onTabLongPress?.(index);
165
+ }, [trimmedRoutes, onTabLongPress]);
166
+ const handlePageSelected = React.useCallback(event => {
167
+ const {
168
+ key
169
+ } = event.nativeEvent;
170
+ jumpTo(key);
171
+ }, [jumpTo]);
172
+ const handleTabBarMeasured = React.useCallback(event => {
173
+ setTabBarHeight(event.nativeEvent.height);
174
+ }, [setTabBarHeight]);
175
+ const handleNativeLayout = React.useCallback(event => {
176
+ const {
177
+ width,
178
+ height
179
+ } = event.nativeEvent;
180
+ setMeasuredDimensions({
181
+ width,
182
+ height
183
+ });
184
+ }, [setMeasuredDimensions]);
185
+ useLayoutEffect(() => {
186
+ if (renderCustomTabBar && customTabBarWrapperRef.current) {
187
+ customTabBarWrapperRef.current.measure((_x, _y, _width, height) => {
188
+ setTabBarHeight(height);
189
+ });
190
+ }
191
+ }, [renderCustomTabBar]);
192
+ return /*#__PURE__*/_jsxs(BottomTabBarHeightContext.Provider, {
193
+ value: tabBarHeight,
194
+ children: [/*#__PURE__*/_jsxs(NativeTabView, {
195
+ ...props,
196
+ ...tabLabelStyle,
197
+ style: styles.fullWidth,
198
+ items: items,
199
+ icons: renderCustomTabBar ? undefined : resolvedIconAssets,
200
+ selectedPage: focusedKey,
201
+ tabBarHidden: props.tabBarHidden ?? !!renderCustomTabBar,
202
+ onTabLongPress: handleTabLongPress,
203
+ onPageSelected: handlePageSelected,
204
+ onTabBarMeasured: handleTabBarMeasured,
205
+ onNativeLayout: handleNativeLayout,
206
+ hapticFeedbackEnabled: hapticFeedbackEnabled,
207
+ activeTintColor: activeTintColor,
208
+ inactiveTintColor: inactiveTintColor,
209
+ barTintColor: tabBarStyle?.backgroundColor,
210
+ rippleColor: rippleColor,
211
+ activeIndicatorColor: activeIndicatorColor,
212
+ labeled: labeled,
213
+ children: [trimmedRoutes.map(route => {
214
+ if (getLazy({
215
+ route
216
+ }) !== false && !loaded.includes(route.key)) {
217
+ return /*#__PURE__*/_jsx(View, {
218
+ collapsable: false,
219
+ style: styles.fullWidth
220
+ }, route.key);
221
+ }
222
+ const focused = route.key === focusedKey;
223
+ const freeze = !focused ? getFreezeOnBlur({
224
+ route
225
+ }) : false;
226
+ const customStyle = getSceneStyle({
227
+ route
228
+ });
229
+ return /*#__PURE__*/_jsx(View, {
230
+ style: [styles.screen, renderCustomTabBar ? styles.fullWidth : measuredDimensions, customStyle],
231
+ collapsable: false,
232
+ pointerEvents: focused ? 'auto' : 'none',
233
+ accessibilityElementsHidden: !focused,
234
+ importantForAccessibility: focused ? 'auto' : 'no-hide-descendants',
235
+ children: /*#__PURE__*/_jsx(DelayedFreeze, {
236
+ freeze: !!freeze,
237
+ children: renderScene({
238
+ route,
239
+ jumpTo
240
+ })
241
+ })
242
+ }, route.key);
243
+ }), Platform.OS === 'ios' && parseFloat(Platform.Version) >= 26 && renderBottomAccessoryView && !renderCustomTabBar ? /*#__PURE__*/_jsx(BottomAccessoryView, {
244
+ renderBottomAccessoryView: renderBottomAccessoryView
245
+ }) : null]
246
+ }), renderCustomTabBar ? /*#__PURE__*/_jsx(View, {
247
+ ref: customTabBarWrapperRef,
248
+ children: renderCustomTabBar()
249
+ }) : null]
250
+ });
251
+ };
252
+ const styles = StyleSheet.create({
253
+ fullWidth: {
254
+ width: '100%',
255
+ height: '100%',
256
+ flex: 1
257
+ },
258
+ screen: {
259
+ position: 'absolute'
260
+ }
261
+ });
262
+ export default TabView;
263
+ //# sourceMappingURL=TabView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useLayoutEffect","useRef","Image","Platform","StyleSheet","View","processColor","BottomTabBarHeightContext","NativeTabView","useLatestCallback","DelayedFreeze","BottomAccessoryView","jsx","_jsx","jsxs","_jsxs","isAppleSymbol","icon","sfSymbol","ANDROID_MAX_TABS","TabView","navigationState","renderScene","onIndexChange","onTabLongPress","rippleColor","tabBarActiveTintColor","activeTintColor","tabBarInactiveTintColor","inactiveTintColor","getBadge","route","badge","getBadgeBackgroundColor","badgeBackgroundColor","getBadgeTextColor","badgeTextColor","getLazy","lazy","getLabelText","title","getIcon","focused","unfocusedIcon","focusedIcon","getHidden","hidden","getActiveTintColor","getTestID","testID","getRole","role","getSceneStyle","style","getPreventsDefault","preventsDefault","hapticFeedbackEnabled","labeled","OS","undefined","getFreezeOnBlur","freezeOnBlur","tabBar","renderCustomTabBar","tabBarStyle","tabLabelStyle","renderBottomAccessoryView","activeIndicatorColor","props","focusedKey","routes","index","key","customTabBarWrapperRef","tabBarHeight","setTabBarHeight","useState","measuredDimensions","setMeasuredDimensions","width","height","trimmedRoutes","useMemo","length","console","warn","slice","loaded","setLoaded","includes","icons","map","items","isSfSymbol","color","badgeBgColor","badgeTxtColor","resolvedIconAssets","resolved","resolveAssetSource","uri","scale","jumpTo","findIndex","handleTabLongPress","useCallback","event","nativeEvent","handlePageSelected","handleTabBarMeasured","handleNativeLayout","current","measure","_x","_y","_width","Provider","value","children","styles","fullWidth","selectedPage","tabBarHidden","onPageSelected","onTabBarMeasured","onNativeLayout","barTintColor","backgroundColor","collapsable","freeze","customStyle","screen","pointerEvents","accessibilityElementsHidden","importantForAccessibility","parseFloat","Version","ref","create","flex","position"],"sourceRoot":"../../src","sources":["TabView.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,eAAe,EAAEC,MAAM,QAAQ,OAAO;AAEtD,SAGEC,KAAK,EACLC,QAAQ,EAERC,UAAU,EACVC,IAAI,EAEJC,YAAY,QACP,cAAc;AACrB,SAASC,yBAAyB,QAAQ,sCAAmC;;AAE7E;;AAEA,OAAOC,aAAa,MAEb,0BAA0B;AACjC,OAAOC,iBAAiB,MAAM,qBAAqB;AAEnD,OAAOC,aAAa,MAAM,oBAAiB;AAC3C,SACEC,mBAAmB,QAEd,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE/B,MAAMC,aAAa,GAAIC,IAAS,IAC9BA,IAAI,EAAEC,QAAQ;AAiKhB,MAAMC,gBAAgB,GAAG,GAAG;AAE5B,MAAMC,OAAO,GAAGA,CAA0B;EACxCC,eAAe;EACfC,WAAW;EACXC,aAAa;EACbC,cAAc;EACdC,WAAW;EACXC,qBAAqB,EAAEC,eAAe;EACtCC,uBAAuB,EAAEC,iBAAiB;EAC1CC,QAAQ,GAAGA,CAAC;IAAEC;EAAwB,CAAC,KAAKA,KAAK,CAACC,KAAK;EACvDC,uBAAuB,GAAGA,CAAC;IAAEF;EAAwB,CAAC,KACpDA,KAAK,CAACG,oBAAoB;EAC5BC,iBAAiB,GAAGA,CAAC;IAAEJ;EAAwB,CAAC,KAAKA,KAAK,CAACK,cAAc;EACzEC,OAAO,GAAGA,CAAC;IAAEN;EAAwB,CAAC,KAAKA,KAAK,CAACO,IAAI;EACrDC,YAAY,GAAGA,CAAC;IAAER;EAAwB,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UACnBI,aAAa,EAAE1F,OAAO,GAAG,MAAM,GAAG,MAAO;UACzC2F,2BAA2B,EAAE,CAAC3F,OAAQ;UACtC4F,yBAAyB,EACvB5F,OAAO,GAAG,MAAM,GAAG,qBACpB;UAAA4E,QAAA,eAEDzG,IAAA,CAACH,aAAa;YAACuH,MAAM,EAAE,CAAC,CAACA,MAAO;YAAAX,QAAA,EAC7BhG,WAAW,CAAC;cACXS,KAAK;cACLuE;YACF,CAAC;UAAC,CACW;QAAC,GAlBXvE,KAAK,CAACyC,GAmBP,CAAC;MAEX,CAAC,CAAC,EACDrE,QAAQ,CAACuD,EAAE,KAAK,KAAK,IACtB6E,UAAU,CAACpI,QAAQ,CAACqI,OAAO,CAAC,IAAI,EAAE,IAClCtE,yBAAyB,IACzB,CAACH,kBAAkB,gBACjBlD,IAAA,CAACF,mBAAmB;QAClBuD,yBAAyB,EAAEA;MAA0B,CACtD,CAAC,GACA,IAAI;IAAA,CACK,CAAC,EACfH,kBAAkB,gBACjBlD,IAAA,CAACR,IAAI;MAACoI,GAAG,EAAEhE,sBAAuB;MAAA6C,QAAA,EAAEvD,kBAAkB,CAAC;IAAC,CAAO,CAAC,GAC9D,IAAI;EAAA,CAC0B,CAAC;AAEzC,CAAC;AAED,MAAMwD,MAAM,GAAGnH,UAAU,CAACsI,MAAM,CAAC;EAC/BlB,SAAS,EAAE;IACTzC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,MAAM;IACd2D,IAAI,EAAE;EACR,CAAC;EACDR,MAAM,EAAE;IACNS,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;AAEF,eAAexH,OAAO","ignoreList":[]}
@@ -0,0 +1,68 @@
1
+ import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
2
+ import type { ColorValue, ProcessedColorValue, ViewProps } from 'react-native';
3
+ import type {
4
+ DirectEventHandler,
5
+ Double,
6
+ Int32,
7
+ WithDefault,
8
+ } from 'react-native/Libraries/Types/CodegenTypes';
9
+ //@ts-ignore
10
+ import type { ImageSource } from 'react-native/Libraries/Image/ImageSource';
11
+
12
+ export type OnPageSelectedEventData = Readonly<{
13
+ key: string;
14
+ }>;
15
+
16
+ export type OnTabBarMeasured = Readonly<{
17
+ height: Int32;
18
+ }>;
19
+
20
+ export type OnNativeLayout = Readonly<{
21
+ width: Double;
22
+ height: Double;
23
+ }>;
24
+
25
+ export type TabViewItems = ReadonlyArray<{
26
+ key: string;
27
+ title: string;
28
+ sfSymbol?: string;
29
+ badge?: string;
30
+ badgeBackgroundColor?: ProcessedColorValue | null;
31
+ badgeTextColor?: ProcessedColorValue | null;
32
+ activeTintColor?: ProcessedColorValue | null;
33
+ hidden?: boolean;
34
+ testID?: string;
35
+ role?: string;
36
+ preventsDefault?: boolean;
37
+ }>;
38
+
39
+ export interface TabViewProps extends ViewProps {
40
+ items: TabViewItems;
41
+ selectedPage: string;
42
+ onPageSelected?: DirectEventHandler<OnPageSelectedEventData>;
43
+ onTabLongPress?: DirectEventHandler<OnPageSelectedEventData>;
44
+ onTabBarMeasured?: DirectEventHandler<OnTabBarMeasured>;
45
+ onNativeLayout?: DirectEventHandler<OnNativeLayout>;
46
+ icons?: ReadonlyArray<ImageSource>;
47
+ tabBarHidden?: boolean;
48
+ labeled?: boolean;
49
+ sidebarAdaptable?: boolean;
50
+ scrollEdgeAppearance?: string;
51
+ barTintColor?: ColorValue;
52
+ translucent?: WithDefault<boolean, true>;
53
+ rippleColor?: ColorValue;
54
+ activeTintColor?: ColorValue;
55
+ inactiveTintColor?: ColorValue;
56
+ disablePageAnimations?: boolean;
57
+ activeIndicatorColor?: ColorValue;
58
+ hapticFeedbackEnabled?: boolean;
59
+ minimizeBehavior?: string;
60
+ fontFamily?: string;
61
+ fontWeight?: string;
62
+ fontSize?: Int32;
63
+ ignoreBottomInsets?: boolean;
64
+ }
65
+
66
+ export default codegenNativeComponent<TabViewProps>('RNCTabView', {
67
+ interfaceOnly: true,
68
+ });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=codegen-types.d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["codegen-types.d.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ import TabView from "./TabView.js";
4
+
5
+ /**
6
+ * Views
7
+ */
8
+ export default TabView;
9
+
10
+ /**
11
+ * Utilities
12
+ */
13
+ export { SceneMap } from "./SceneMap.js";
14
+ export { useBottomTabBarHeight } from "./utils/useBottomTabBarHeight.js";
15
+ export { BottomTabBarHeightContext } from "./utils/BottomTabBarHeightContext.js";
16
+
17
+ /**
18
+ * Types
19
+ */
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["TabView","SceneMap","useBottomTabBarHeight","BottomTabBarHeightContext"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,OAAOA,OAAO,MAAM,cAAW;;AAE/B;AACA;AACA;AACA,eAAeA,OAAO;;AAEtB;AACA;AACA;AACA,SAASC,QAAQ,QAAQ,eAAY;AACrC,SAASC,qBAAqB,QAAQ,kCAA+B;AACrE,SAASC,yBAAyB,QAAQ,sCAAmC;;AAE7E;AACA;AACA","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ import * as React from 'react';
4
+ export const BottomTabBarHeightContext = /*#__PURE__*/React.createContext(undefined);
5
+ //# sourceMappingURL=BottomTabBarHeightContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","BottomTabBarHeightContext","createContext","undefined"],"sourceRoot":"../../../src","sources":["utils/BottomTabBarHeightContext.ts"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,OAAO,MAAMC,yBAAyB,gBAAGD,KAAK,CAACE,aAAa,CAE1DC,SAAS,CAAC","ignoreList":[]}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ import * as React from 'react';
4
+ import { BottomTabBarHeightContext } from "./BottomTabBarHeightContext.js";
5
+ export function useBottomTabBarHeight() {
6
+ const height = React.useContext(BottomTabBarHeightContext);
7
+ if (height === undefined) {
8
+ throw new Error("Couldn't find the bottom tab bar height. Are you inside a screen in Native Bottom Tab Navigator?");
9
+ }
10
+ return height;
11
+ }
12
+ //# sourceMappingURL=useBottomTabBarHeight.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","BottomTabBarHeightContext","useBottomTabBarHeight","height","useContext","undefined","Error"],"sourceRoot":"../../../src","sources":["utils/useBottomTabBarHeight.ts"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,SAASC,yBAAyB,QAAQ,gCAA6B;AAEvE,OAAO,SAASC,qBAAqBA,CAAA,EAAG;EACtC,MAAMC,MAAM,GAAGH,KAAK,CAACI,UAAU,CAACH,yBAAyB,CAAC;EAE1D,IAAIE,MAAM,KAAKE,SAAS,EAAE;IACxB,MAAM,IAAIC,KAAK,CACb,kGACF,CAAC;EACH;EAEA,OAAOH,MAAM;AACf","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface BottomAccessoryViewProps {
3
+ renderBottomAccessoryView: (props: {
4
+ placement: 'inline' | 'expanded' | 'none';
5
+ }) => React.ReactNode;
6
+ }
7
+ export declare const BottomAccessoryView: (props: BottomAccessoryViewProps) => import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=BottomAccessoryView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomAccessoryView.d.ts","sourceRoot":"","sources":["../../../src/BottomAccessoryView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,WAAW,wBAAwB;IACvC,yBAAyB,EAAE,CAAC,KAAK,EAAE;QACjC,SAAS,EAAE,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC;KAC3C,KAAK,KAAK,CAAC,SAAS,CAAC;CACvB;AAED,eAAO,MAAM,mBAAmB,GAAI,OAAO,wBAAwB,4CAyClE,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { ViewProps } from 'react-native';
2
+ import type { DirectEventHandler, Double } from 'react-native/Libraries/Types/CodegenTypes';
3
+ export type OnNativeLayout = Readonly<{
4
+ width: Double;
5
+ height: Double;
6
+ }>;
7
+ export type OnPlacementChanged = Readonly<{
8
+ placement: string;
9
+ }>;
10
+ export interface BottomAccessoryViewNativeProps extends ViewProps {
11
+ onNativeLayout?: DirectEventHandler<OnNativeLayout>;
12
+ onPlacementChanged?: DirectEventHandler<OnPlacementChanged>;
13
+ }
14
+ declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<BottomAccessoryViewNativeProps>;
15
+ export default _default;
16
+ //# sourceMappingURL=BottomAccessoryViewNativeComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomAccessoryViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/BottomAccessoryViewNativeComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EACV,kBAAkB,EAClB,MAAM,EACP,MAAM,2CAA2C,CAAC;AAEnD,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEH,MAAM,WAAW,8BAA+B,SAAQ,SAAS;IAC/D,cAAc,CAAC,EAAE,kBAAkB,CAAC,cAAc,CAAC,CAAC;IACpD,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,kBAAkB,CAAC,CAAC;CAC7D;;AAED,wBAKE"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface FreezeWrapperProps {
3
+ freeze: boolean;
4
+ children: React.ReactNode;
5
+ }
6
+ declare function DelayedFreeze({ freeze, children }: FreezeWrapperProps): import("react/jsx-runtime").JSX.Element;
7
+ export default DelayedFreeze;
8
+ //# sourceMappingURL=DelayedFreeze.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DelayedFreeze.d.ts","sourceRoot":"","sources":["../../../src/DelayedFreeze.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,kBAAkB;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAID,iBAAS,aAAa,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAc9D;AAED,eAAe,aAAa,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type TurboModule } from 'react-native';
2
+ export interface Spec extends TurboModule {
3
+ }
4
+ declare const _default: Spec;
5
+ export default _default;
6
+ //# sourceMappingURL=NativeSVGDecoder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeSVGDecoder.d.ts","sourceRoot":"","sources":["../../../src/NativeSVGDecoder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAErE,MAAM,WAAW,IAAK,SAAQ,WAAW;CAAG;;AAE5C,wBAAoE"}
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ type SceneProps = {
3
+ route: any;
4
+ jumpTo: (key: string) => void;
5
+ };
6
+ export declare function SceneMap<T>(scenes: {
7
+ [key: string]: React.ComponentType<T>;
8
+ }): ({ route, jumpTo }: SceneProps) => import("react/jsx-runtime").JSX.Element | null;
9
+ export {};
10
+ //# sourceMappingURL=SceneMap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SceneMap.d.ts","sourceRoot":"","sources":["../../../src/SceneMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,KAAK,UAAU,GAAG;IAChB,KAAK,EAAE,GAAG,CAAC;IACX,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B,CAAC;AAaF,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;CAAE,IACnE,mBAAmB,UAAU,oDActC"}