@amazon-devices/react-navigation__react-native-tab-view 2.0.1758683737

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 (116) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +649 -0
  3. package/SystemBundles/c5889b273a6efc2a3c30241851055c37630fbf3381df86d403967369775f0536.bundle +14497 -0
  4. package/SystemBundles/c5889b273a6efc2a3c30241851055c37630fbf3381df86d403967369775f0536.map +1 -0
  5. package/SystemModules/amzn__react-navigation__react-native-tab-view-2.modules.txt +41 -0
  6. package/SystemModules/amzn__react-navigation__react-native-tab-view-2.private.modules.txt +98 -0
  7. package/SystemModules/keplerscript-system-bundle-config.json +7 -0
  8. package/THIRD_PARTY_NOTICES.txt +24 -0
  9. package/kepler-compatibility.json +8 -0
  10. package/kepler-transformed-package-info.json +3 -0
  11. package/lib/commonjs/Pager.android.js +14 -0
  12. package/lib/commonjs/Pager.android.js.map +1 -0
  13. package/lib/commonjs/Pager.ios.js +14 -0
  14. package/lib/commonjs/Pager.ios.js.map +1 -0
  15. package/lib/commonjs/Pager.js +14 -0
  16. package/lib/commonjs/Pager.js.map +1 -0
  17. package/lib/commonjs/PagerViewAdapter.js +132 -0
  18. package/lib/commonjs/PagerViewAdapter.js.map +1 -0
  19. package/lib/commonjs/PanResponderAdapter.js +204 -0
  20. package/lib/commonjs/PanResponderAdapter.js.map +1 -0
  21. package/lib/commonjs/PlatformPressable.js +43 -0
  22. package/lib/commonjs/PlatformPressable.js.map +1 -0
  23. package/lib/commonjs/SceneMap.js +29 -0
  24. package/lib/commonjs/SceneMap.js.map +1 -0
  25. package/lib/commonjs/SceneView.js +78 -0
  26. package/lib/commonjs/SceneView.js.map +1 -0
  27. package/lib/commonjs/TabBar.js +405 -0
  28. package/lib/commonjs/TabBar.js.map +1 -0
  29. package/lib/commonjs/TabBarIndicator.js +110 -0
  30. package/lib/commonjs/TabBarIndicator.js.map +1 -0
  31. package/lib/commonjs/TabBarItem.js +227 -0
  32. package/lib/commonjs/TabBarItem.js.map +1 -0
  33. package/lib/commonjs/TabView.js +122 -0
  34. package/lib/commonjs/TabView.js.map +1 -0
  35. package/lib/commonjs/index.js +42 -0
  36. package/lib/commonjs/index.js.map +1 -0
  37. package/lib/commonjs/types.js +6 -0
  38. package/lib/commonjs/types.js.map +1 -0
  39. package/lib/commonjs/useAnimatedValue.js +18 -0
  40. package/lib/commonjs/useAnimatedValue.js.map +1 -0
  41. package/lib/module/Pager.android.js +2 -0
  42. package/lib/module/Pager.android.js.map +1 -0
  43. package/lib/module/Pager.ios.js +2 -0
  44. package/lib/module/Pager.ios.js.map +1 -0
  45. package/lib/module/Pager.js +2 -0
  46. package/lib/module/Pager.js.map +1 -0
  47. package/lib/module/PagerViewAdapter.js +123 -0
  48. package/lib/module/PagerViewAdapter.js.map +1 -0
  49. package/lib/module/PanResponderAdapter.js +195 -0
  50. package/lib/module/PanResponderAdapter.js.map +1 -0
  51. package/lib/module/PlatformPressable.js +35 -0
  52. package/lib/module/PlatformPressable.js.map +1 -0
  53. package/lib/module/SceneMap.js +21 -0
  54. package/lib/module/SceneMap.js.map +1 -0
  55. package/lib/module/SceneView.js +70 -0
  56. package/lib/module/SceneView.js.map +1 -0
  57. package/lib/module/TabBar.js +396 -0
  58. package/lib/module/TabBar.js.map +1 -0
  59. package/lib/module/TabBarIndicator.js +101 -0
  60. package/lib/module/TabBarIndicator.js.map +1 -0
  61. package/lib/module/TabBarItem.js +218 -0
  62. package/lib/module/TabBarItem.js.map +1 -0
  63. package/lib/module/TabView.js +113 -0
  64. package/lib/module/TabView.js.map +1 -0
  65. package/lib/module/index.js +6 -0
  66. package/lib/module/index.js.map +1 -0
  67. package/lib/module/types.js +2 -0
  68. package/lib/module/types.js.map +1 -0
  69. package/lib/module/useAnimatedValue.js +10 -0
  70. package/lib/module/useAnimatedValue.js.map +1 -0
  71. package/lib/typescript/src/Pager.android.d.ts +2 -0
  72. package/lib/typescript/src/Pager.android.d.ts.map +1 -0
  73. package/lib/typescript/src/Pager.d.ts +2 -0
  74. package/lib/typescript/src/Pager.d.ts.map +1 -0
  75. package/lib/typescript/src/Pager.ios.d.ts +2 -0
  76. package/lib/typescript/src/Pager.ios.d.ts.map +1 -0
  77. package/lib/typescript/src/PagerViewAdapter.d.ts +15 -0
  78. package/lib/typescript/src/PagerViewAdapter.d.ts.map +1 -0
  79. package/lib/typescript/src/PanResponderAdapter.d.ts +16 -0
  80. package/lib/typescript/src/PanResponderAdapter.d.ts.map +1 -0
  81. package/lib/typescript/src/PlatformPressable.d.ts +16 -0
  82. package/lib/typescript/src/PlatformPressable.d.ts.map +1 -0
  83. package/lib/typescript/src/SceneMap.d.ts +10 -0
  84. package/lib/typescript/src/SceneMap.d.ts.map +1 -0
  85. package/lib/typescript/src/SceneView.d.ts +16 -0
  86. package/lib/typescript/src/SceneView.d.ts.map +1 -0
  87. package/lib/typescript/src/TabBar.d.ts +44 -0
  88. package/lib/typescript/src/TabBar.d.ts.map +1 -0
  89. package/lib/typescript/src/TabBarIndicator.d.ts +13 -0
  90. package/lib/typescript/src/TabBarIndicator.d.ts.map +1 -0
  91. package/lib/typescript/src/TabBarItem.d.ts +37 -0
  92. package/lib/typescript/src/TabBarItem.d.ts.map +1 -0
  93. package/lib/typescript/src/TabView.d.ts +27 -0
  94. package/lib/typescript/src/TabView.d.ts.map +1 -0
  95. package/lib/typescript/src/index.d.ts +11 -0
  96. package/lib/typescript/src/index.d.ts.map +1 -0
  97. package/lib/typescript/src/types.d.ts +42 -0
  98. package/lib/typescript/src/types.d.ts.map +1 -0
  99. package/lib/typescript/src/useAnimatedValue.d.ts +3 -0
  100. package/lib/typescript/src/useAnimatedValue.d.ts.map +1 -0
  101. package/package.json +1 -0
  102. package/src/Pager.android.tsx +1 -0
  103. package/src/Pager.ios.tsx +1 -0
  104. package/src/Pager.tsx +1 -0
  105. package/src/PagerViewAdapter.tsx +180 -0
  106. package/src/PanResponderAdapter.tsx +340 -0
  107. package/src/PlatformPressable.tsx +42 -0
  108. package/src/SceneMap.tsx +30 -0
  109. package/src/SceneView.tsx +107 -0
  110. package/src/TabBar.tsx +639 -0
  111. package/src/TabBarIndicator.tsx +153 -0
  112. package/src/TabBarItem.tsx +319 -0
  113. package/src/TabView.tsx +155 -0
  114. package/src/index.tsx +10 -0
  115. package/src/types.tsx +59 -0
  116. package/src/useAnimatedValue.tsx +12 -0
@@ -0,0 +1,218 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ import * as React from 'react';
3
+ import { Animated, StyleSheet, View } from 'react-native';
4
+ import useLatestCallback from 'use-latest-callback';
5
+ import PlatformPressable from './PlatformPressable';
6
+ const DEFAULT_ACTIVE_COLOR = 'rgba(255, 255, 255, 1)';
7
+ const DEFAULT_INACTIVE_COLOR = 'rgba(255, 255, 255, 0.7)';
8
+ const getActiveOpacity = (position, routesLength, tabIndex) => {
9
+ if (routesLength > 1) {
10
+ const inputRange = Array.from({
11
+ length: routesLength
12
+ }, (_, i) => i);
13
+ return position.interpolate({
14
+ inputRange,
15
+ outputRange: inputRange.map(i => i === tabIndex ? 1 : 0)
16
+ });
17
+ } else {
18
+ return 1;
19
+ }
20
+ };
21
+ const getInactiveOpacity = (position, routesLength, tabIndex) => {
22
+ if (routesLength > 1) {
23
+ const inputRange = Array.from({
24
+ length: routesLength
25
+ }, (_, i) => i);
26
+ return position.interpolate({
27
+ inputRange,
28
+ outputRange: inputRange.map(i => i === tabIndex ? 0 : 1)
29
+ });
30
+ } else {
31
+ return 0;
32
+ }
33
+ };
34
+ const TabBarItemInternal = ({
35
+ getAccessibilityLabel,
36
+ getAccessible,
37
+ getLabelText,
38
+ getTestID,
39
+ onLongPress,
40
+ onPress,
41
+ isFocused,
42
+ position,
43
+ route,
44
+ style,
45
+ inactiveColor: inactiveColorCustom,
46
+ activeColor: activeColorCustom,
47
+ labelStyle,
48
+ onLayout,
49
+ index: tabIndex,
50
+ pressColor,
51
+ pressOpacity,
52
+ renderBadge,
53
+ renderIcon,
54
+ defaultTabWidth,
55
+ routesLength,
56
+ renderLabel: renderLabelCustom,
57
+ android_ripple = {
58
+ borderless: true
59
+ }
60
+ }) => {
61
+ const labelColorFromStyle = StyleSheet.flatten(labelStyle || {}).color;
62
+ const activeColor = activeColorCustom !== undefined ? activeColorCustom : typeof labelColorFromStyle === 'string' ? labelColorFromStyle : DEFAULT_ACTIVE_COLOR;
63
+ const inactiveColor = inactiveColorCustom !== undefined ? inactiveColorCustom : typeof labelColorFromStyle === 'string' ? labelColorFromStyle : DEFAULT_INACTIVE_COLOR;
64
+ const activeOpacity = getActiveOpacity(position, routesLength, tabIndex);
65
+ const inactiveOpacity = getInactiveOpacity(position, routesLength, tabIndex);
66
+ let icon = null;
67
+ let label = null;
68
+ if (renderIcon) {
69
+ const activeIcon = renderIcon({
70
+ route,
71
+ focused: true,
72
+ color: activeColor
73
+ });
74
+ const inactiveIcon = renderIcon({
75
+ route,
76
+ focused: false,
77
+ color: inactiveColor
78
+ });
79
+ if (inactiveIcon != null && activeIcon != null) {
80
+ icon = /*#__PURE__*/React.createElement(View, {
81
+ style: styles.icon
82
+ }, /*#__PURE__*/React.createElement(Animated.View, {
83
+ style: {
84
+ opacity: inactiveOpacity
85
+ }
86
+ }, inactiveIcon), /*#__PURE__*/React.createElement(Animated.View, {
87
+ style: [StyleSheet.absoluteFill, {
88
+ opacity: activeOpacity
89
+ }]
90
+ }, activeIcon));
91
+ }
92
+ }
93
+ const renderLabel = renderLabelCustom !== undefined ? renderLabelCustom : labelProps => {
94
+ const labelText = getLabelText({
95
+ route: labelProps.route
96
+ });
97
+ if (typeof labelText === 'string') {
98
+ return /*#__PURE__*/React.createElement(Animated.Text, {
99
+ style: [styles.label, icon ? {
100
+ marginTop: 0
101
+ } : null, labelStyle, {
102
+ color: labelProps.color
103
+ }]
104
+ }, labelText);
105
+ }
106
+ return labelText;
107
+ };
108
+ if (renderLabel) {
109
+ const activeLabel = renderLabel({
110
+ route,
111
+ focused: true,
112
+ color: activeColor
113
+ });
114
+ const inactiveLabel = renderLabel({
115
+ route,
116
+ focused: false,
117
+ color: inactiveColor
118
+ });
119
+ label = /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(Animated.View, {
120
+ style: {
121
+ opacity: inactiveOpacity
122
+ }
123
+ }, inactiveLabel), /*#__PURE__*/React.createElement(Animated.View, {
124
+ style: [StyleSheet.absoluteFill, {
125
+ opacity: activeOpacity
126
+ }]
127
+ }, activeLabel));
128
+ }
129
+ const tabStyle = StyleSheet.flatten(style);
130
+ const isWidthSet = (tabStyle === null || tabStyle === void 0 ? void 0 : tabStyle.width) !== undefined;
131
+ const tabContainerStyle = isWidthSet ? null : {
132
+ width: defaultTabWidth
133
+ };
134
+ const scene = {
135
+ route
136
+ };
137
+ let accessibilityLabel = getAccessibilityLabel(scene);
138
+ accessibilityLabel = typeof accessibilityLabel !== 'undefined' ? accessibilityLabel : getLabelText(scene);
139
+ const badge = renderBadge ? renderBadge(scene) : null;
140
+ return /*#__PURE__*/React.createElement(PlatformPressable, {
141
+ android_ripple: android_ripple,
142
+ testID: getTestID(scene),
143
+ accessible: getAccessible(scene),
144
+ accessibilityLabel: accessibilityLabel,
145
+ accessibilityRole: "tab",
146
+ accessibilityState: {
147
+ selected: isFocused
148
+ }
149
+ // @ts-ignore: this is to support older React Native versions
150
+ ,
151
+ accessibilityStates: isFocused ? ['selected'] : [],
152
+ pressColor: pressColor,
153
+ pressOpacity: pressOpacity,
154
+ delayPressIn: 0,
155
+ onLayout: onLayout,
156
+ onPress: onPress,
157
+ onLongPress: onLongPress,
158
+ style: [styles.pressable, tabContainerStyle]
159
+ }, /*#__PURE__*/React.createElement(View, {
160
+ pointerEvents: "none",
161
+ style: [styles.item, tabStyle]
162
+ }, icon, label, badge != null ? /*#__PURE__*/React.createElement(View, {
163
+ style: styles.badge
164
+ }, badge) : null));
165
+ };
166
+ const MemoizedTabBarItemInternal = /*#__PURE__*/React.memo(TabBarItemInternal);
167
+ function TabBarItem(props) {
168
+ const {
169
+ onPress,
170
+ onLongPress,
171
+ onLayout,
172
+ navigationState,
173
+ route,
174
+ ...rest
175
+ } = props;
176
+ const onPressLatest = useLatestCallback(onPress);
177
+ const onLongPressLatest = useLatestCallback(onLongPress);
178
+ const onLayoutLatest = useLatestCallback(onLayout ? onLayout : () => {});
179
+ const tabIndex = navigationState.routes.indexOf(route);
180
+ return /*#__PURE__*/React.createElement(MemoizedTabBarItemInternal, _extends({}, rest, {
181
+ onPress: onPressLatest,
182
+ onLayout: onLayoutLatest,
183
+ onLongPress: onLongPressLatest,
184
+ isFocused: navigationState.index === tabIndex,
185
+ route: route,
186
+ index: tabIndex,
187
+ routesLength: navigationState.routes.length
188
+ }));
189
+ }
190
+ export default TabBarItem;
191
+ const styles = StyleSheet.create({
192
+ label: {
193
+ margin: 4,
194
+ backgroundColor: 'transparent',
195
+ textTransform: 'uppercase'
196
+ },
197
+ icon: {
198
+ margin: 2
199
+ },
200
+ item: {
201
+ flex: 1,
202
+ alignItems: 'center',
203
+ justifyContent: 'center',
204
+ padding: 10,
205
+ minHeight: 48
206
+ },
207
+ badge: {
208
+ position: 'absolute',
209
+ top: 0,
210
+ right: 0
211
+ },
212
+ pressable: {
213
+ // The label is not pressable on Windows
214
+ // Adding backgroundColor: 'transparent' seems to fix it
215
+ backgroundColor: 'transparent'
216
+ }
217
+ });
218
+ //# sourceMappingURL=TabBarItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Animated","StyleSheet","View","useLatestCallback","PlatformPressable","DEFAULT_ACTIVE_COLOR","DEFAULT_INACTIVE_COLOR","getActiveOpacity","position","routesLength","tabIndex","inputRange","Array","from","length","_","i","interpolate","outputRange","map","getInactiveOpacity","TabBarItemInternal","getAccessibilityLabel","getAccessible","getLabelText","getTestID","onLongPress","onPress","isFocused","route","style","inactiveColor","inactiveColorCustom","activeColor","activeColorCustom","labelStyle","onLayout","index","pressColor","pressOpacity","renderBadge","renderIcon","defaultTabWidth","renderLabel","renderLabelCustom","android_ripple","borderless","labelColorFromStyle","flatten","color","undefined","activeOpacity","inactiveOpacity","icon","label","activeIcon","focused","inactiveIcon","createElement","styles","opacity","absoluteFill","labelProps","labelText","Text","marginTop","activeLabel","inactiveLabel","tabStyle","isWidthSet","width","tabContainerStyle","scene","accessibilityLabel","badge","testID","accessible","accessibilityRole","accessibilityState","selected","accessibilityStates","delayPressIn","pressable","pointerEvents","item","MemoizedTabBarItemInternal","memo","TabBarItem","props","navigationState","rest","onPressLatest","onLongPressLatest","onLayoutLatest","routes","indexOf","_extends","create","margin","backgroundColor","textTransform","flex","alignItems","justifyContent","padding","minHeight","top","right"],"sourceRoot":"../../src","sources":["TabBarItem.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,QAAQ,EAIRC,UAAU,EAEVC,IAAI,QAEC,cAAc;AACrB,OAAOC,iBAAiB,MAAM,qBAAqB;AAEnD,OAAOC,iBAAiB,MAAM,qBAAqB;AAmCnD,MAAMC,oBAAoB,GAAG,wBAAwB;AACrD,MAAMC,sBAAsB,GAAG,0BAA0B;AAEzD,MAAMC,gBAAgB,GAAGA,CACvBC,QAAgD,EAChDC,YAAoB,EACpBC,QAAgB,KACb;EACH,IAAID,YAAY,GAAG,CAAC,EAAE;IACpB,MAAME,UAAU,GAAGC,KAAK,CAACC,IAAI,CAAC;MAAEC,MAAM,EAAEL;IAAa,CAAC,EAAE,CAACM,CAAC,EAAEC,CAAC,KAAKA,CAAC,CAAC;IAEpE,OAAOR,QAAQ,CAACS,WAAW,CAAC;MAC1BN,UAAU;MACVO,WAAW,EAAEP,UAAU,CAACQ,GAAG,CAAEH,CAAC,IAAMA,CAAC,KAAKN,QAAQ,GAAG,CAAC,GAAG,CAAE;IAC7D,CAAC,CAAC;EACJ,CAA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/B,KAAK,EAAE;IACLlE,QAAQ,EAAE,UAAU;IACpBkG,GAAG,EAAE,CAAC;IACNC,KAAK,EAAE;EACT,CAAC;EACDzB,SAAS,EAAE;IACT;IACA;IACAiB,eAAe,EAAE;EACnB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,113 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ import * as React from 'react';
3
+ import { StyleSheet, View } from 'react-native';
4
+ import Pager from './Pager';
5
+ import SceneView from './SceneView';
6
+ import TabBar from './TabBar';
7
+ export default function TabView({
8
+ onIndexChange,
9
+ navigationState,
10
+ renderScene,
11
+ initialLayout,
12
+ keyboardDismissMode = 'auto',
13
+ lazy = false,
14
+ lazyPreloadDistance = 0,
15
+ onSwipeStart,
16
+ onSwipeEnd,
17
+ renderLazyPlaceholder = () => null,
18
+ renderTabBar = props => /*#__PURE__*/React.createElement(TabBar, props),
19
+ sceneContainerStyle,
20
+ pagerStyle,
21
+ style,
22
+ swipeEnabled = true,
23
+ tabBarPosition = 'top',
24
+ animationEnabled = true,
25
+ overScrollMode
26
+ }) {
27
+ const [layout, setLayout] = React.useState({
28
+ width: 0,
29
+ height: 0,
30
+ ...initialLayout
31
+ });
32
+ const jumpToIndex = index => {
33
+ if (index !== navigationState.index) {
34
+ onIndexChange(index);
35
+ }
36
+ };
37
+ const handleLayout = e => {
38
+ const {
39
+ height,
40
+ width
41
+ } = e.nativeEvent.layout;
42
+ setLayout(prevLayout => {
43
+ if (prevLayout.width === width && prevLayout.height === height) {
44
+ return prevLayout;
45
+ }
46
+ return {
47
+ height,
48
+ width
49
+ };
50
+ });
51
+ };
52
+ return /*#__PURE__*/React.createElement(View, {
53
+ onLayout: handleLayout,
54
+ style: [styles.pager, style]
55
+ }, /*#__PURE__*/React.createElement(Pager, {
56
+ layout: layout,
57
+ navigationState: navigationState,
58
+ keyboardDismissMode: keyboardDismissMode,
59
+ swipeEnabled: swipeEnabled,
60
+ onSwipeStart: onSwipeStart,
61
+ onSwipeEnd: onSwipeEnd,
62
+ onIndexChange: jumpToIndex,
63
+ animationEnabled: animationEnabled,
64
+ overScrollMode: overScrollMode,
65
+ style: pagerStyle
66
+ }, ({
67
+ position,
68
+ render,
69
+ addEnterListener,
70
+ jumpTo
71
+ }) => {
72
+ // All of the props here must not change between re-renders
73
+ // This is crucial to optimizing the routes with PureComponent
74
+ const sceneRendererProps = {
75
+ position,
76
+ layout,
77
+ jumpTo
78
+ };
79
+ return /*#__PURE__*/React.createElement(React.Fragment, null, tabBarPosition === 'top' && renderTabBar({
80
+ ...sceneRendererProps,
81
+ navigationState
82
+ }), render(navigationState.routes.map((route, i) => {
83
+ return /*#__PURE__*/React.createElement(SceneView, _extends({}, sceneRendererProps, {
84
+ addEnterListener: addEnterListener,
85
+ key: route.key,
86
+ index: i,
87
+ lazy: typeof lazy === 'function' ? lazy({
88
+ route
89
+ }) : lazy,
90
+ lazyPreloadDistance: lazyPreloadDistance,
91
+ navigationState: navigationState,
92
+ style: sceneContainerStyle
93
+ }), ({
94
+ loading
95
+ }) => loading ? renderLazyPlaceholder({
96
+ route
97
+ }) : renderScene({
98
+ ...sceneRendererProps,
99
+ route
100
+ }));
101
+ })), tabBarPosition === 'bottom' && renderTabBar({
102
+ ...sceneRendererProps,
103
+ navigationState
104
+ }));
105
+ }));
106
+ }
107
+ const styles = StyleSheet.create({
108
+ pager: {
109
+ flex: 1,
110
+ overflow: 'hidden'
111
+ }
112
+ });
113
+ //# sourceMappingURL=TabView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","View","Pager","SceneView","TabBar","TabView","onIndexChange","navigationState","renderScene","initialLayout","keyboardDismissMode","lazy","lazyPreloadDistance","onSwipeStart","onSwipeEnd","renderLazyPlaceholder","renderTabBar","props","createElement","sceneContainerStyle","pagerStyle","style","swipeEnabled","tabBarPosition","animationEnabled","overScrollMode","layout","setLayout","useState","width","height","jumpToIndex","index","handleLayout","e","nativeEvent","prevLayout","onLayout","styles","pager","position","render","addEnterListener","jumpTo","sceneRendererProps","Fragment","routes","map","route","i","_extends","key","loading","create","flex","overflow"],"sourceRoot":"../../src","sources":["TabView.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAGEC,UAAU,EACVC,IAAI,QAEC,cAAc;AAErB,OAAOC,KAAK,MAAM,SAAS;AAC3B,OAAOC,SAAS,MAAM,aAAa;AACnC,OAAOC,MAAM,MAAM,UAAU;AA0B7B,eAAe,SAASC,OAAOA,CAAkB;EAC/CC,aAAa;EACbC,eAAe;EACfC,WAAW;EACXC,aAAa;EACbC,mBAAmB,GAAG,MAAM;EAC5BC,IAAI,GAAG,KAAK;EACZC,mBAAmB,GAAG,CAAC;EACvBC,YAAY;EACZC,UAAU;EACVC,qBAAqB,GAAGA,CAAA,KAAM,IAAI;EAClCC,YAAY,GAAIC,KAAK,iBAAKlB,KAAA,CAAAmB,aAAA,CAACd,MAAM,EAAKa,KAAQ,CAAC;EAC/CE,mBAAmB;EACnBC,UAAU;EACVC,KAAK;EACLC,YAAY,GAAG,IAAI;EACnBC,cAAc,GAAG,KAAK;EACtBC,gBAAgB,GAAG,IAAI;EACvBC;AACQ,CAAC,EAAE;EACX,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAG5B,KAAK,CAAC6B,QAAQ,CAAC;IACzCC,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,CAAC;IACT,GAAGrB;EACL,CAAC,CAAC;EAEF,MAAMsB,WAAW,GAAIC,KAAa,IAAK;IACrC,IAAIA,KAAK,KAAKzB,eAAe,CAACyB,KAAK,EAAE;MACnC1B,aAAa,CAAC0B,KAAK,CAAC;IACtB;EACF,CAAC;EAED,MAAMC,YAAY,GAAIC,CAAoB,IAAK;IAC7C,MAAM;MAAEJ,M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ACtBF,gBAAgB,EAAEA,gBAAiB;QACnCS,GAAG,EAAEH,KAAK,CAACG,GAAI;QACfnB,KAAK,EAAEiB,CAAE;QACTtC,IAAI,EAAE,OAAOA,IAAI,KAAK,UAAU,GAAGA,IAAI,CAAC;UAAEqC;QAAM,CAAC,CAAC,GAAGrC,IAAK;QAC1DC,mBAAmB,EAAEA,mBAAoB;QACzCL,eAAe,EAAEA,eAAgB;QACjCc,KAAK,EAAEF;MAAoB,IAE1B,CAAC;QAAEiC;MAAQ,CAAC,KACXA,OAAO,GACHrC,qBAAqB,CAAC;QAAEiC;MAAM,CAAC,CAAC,GAChCxC,WAAW,CAAC;QACV,GAAGoC,kBAAkB;QACrBI;MACF,CAAC,CAEE,CAAC;IAEhB,CAAC,CACH,CAAC,EACAzB,cAAc,KAAK,QAAQ,IAC1BP,YAAY,CAAC;MACX,GAAG4B,kBAAkB;MACrBrC;IACF,CAAC,CACW,CAAC;EAErB,CACK,CACH,CAAC;AAEX;AAEA,MAAM+B,MAAM,GAAGtC,UAAU,CAACqD,MAAM,CAAC;EAC/Bd,KAAK,EAAE;IACLe,IAAI,EAAE,CAAC;IACPC,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ export { default as SceneMap } from './SceneMap';
2
+ export { default as TabBar } from './TabBar';
3
+ export { default as TabBarIndicator } from './TabBarIndicator';
4
+ export { default as TabBarItem } from './TabBarItem';
5
+ export { default as TabView } from './TabView';
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["default","SceneMap","TabBar","TabBarIndicator","TabBarItem","TabView"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"AAAA,SAASA,OAAO,IAAIC,QAAQ,QAAQ,YAAY;AAEhD,SAASD,OAAO,IAAIE,MAAM,QAAQ,UAAU;AAE5C,SAASF,OAAO,IAAIG,eAAe,QAAQ,mBAAmB;AAE9D,SAASH,OAAO,IAAII,UAAU,QAAQ,cAAc;AAEpD,SAASJ,OAAO,IAAIK,OAAO,QAAQ,WAAW","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["types.tsx"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { Animated } from 'react-native';
3
+ export default function useAnimatedValue(initialValue) {
4
+ const lazyRef = React.useRef();
5
+ if (lazyRef.current === undefined) {
6
+ lazyRef.current = new Animated.Value(initialValue);
7
+ }
8
+ return lazyRef.current;
9
+ }
10
+ //# sourceMappingURL=useAnimatedValue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Animated","useAnimatedValue","initialValue","lazyRef","useRef","current","undefined","Value"],"sourceRoot":"../../src","sources":["useAnimatedValue.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,QAAQ,QAAQ,cAAc;AAEvC,eAAe,SAASC,gBAAgBA,CAACC,YAAoB,EAAE;EAC7D,MAAMC,OAAO,GAAGJ,KAAK,CAACK,MAAM,CAAiB,CAAC;EAE9C,IAAID,OAAO,CAACE,OAAO,KAAKC,SAAS,EAAE;IACjCH,OAAO,CAACE,OAAO,GAAG,IAAIL,QAAQ,CAACO,KAAK,CAACL,YAAY,CAAC;EACpD;EAEA,OAAOC,OAAO,CAACE,OAAO;AACxB","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export { default } from './PagerViewAdapter';
2
+ //# sourceMappingURL=Pager.android.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pager.android.d.ts","sourceRoot":"","sources":["../../../src/Pager.android.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from './PanResponderAdapter';
2
+ //# sourceMappingURL=Pager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pager.d.ts","sourceRoot":"","sources":["../../../src/Pager.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from './PagerViewAdapter';
2
+ //# sourceMappingURL=Pager.ios.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pager.ios.d.ts","sourceRoot":"","sources":["../../../src/Pager.ios.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ import { Animated } from 'react-native';
3
+ import type { EventEmitterProps, NavigationState, PagerProps, Route } from './types';
4
+ type Props<T extends Route> = PagerProps & {
5
+ onIndexChange: (index: number) => void;
6
+ navigationState: NavigationState<T>;
7
+ children: (props: EventEmitterProps & {
8
+ position: Animated.AnimatedInterpolation<number>;
9
+ render: (children: React.ReactNode) => React.ReactNode;
10
+ jumpTo: (key: string) => void;
11
+ }) => React.ReactElement;
12
+ };
13
+ export default function PagerViewAdapter<T extends Route>({ keyboardDismissMode, swipeEnabled, navigationState, onIndexChange, onSwipeStart, onSwipeEnd, children, style, animationEnabled, ...rest }: Props<T>): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
14
+ export {};
15
+ //# sourceMappingURL=PagerViewAdapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PagerViewAdapter.d.ts","sourceRoot":"","sources":["../../../src/PagerViewAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAwB,MAAM,cAAc,CAAC;AAK9D,OAAO,KAAK,EACV,iBAAiB,EAEjB,eAAe,EACf,UAAU,EACV,KAAK,EACN,MAAM,SAAS,CAAC;AAKjB,KAAK,KAAK,CAAC,CAAC,SAAS,KAAK,IAAI,UAAU,GAAG;IACzC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IACpC,QAAQ,EAAE,CACR,KAAK,EAAE,iBAAiB,GAAG;QAGzB,QAAQ,EAAE,QAAQ,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;QAGjD,MAAM,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,KAAK,KAAK,CAAC,SAAS,CAAC;QAGvD,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;KAC/B,KACE,KAAK,CAAC,YAAY,CAAC;CACzB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,CAAC,SAAS,KAAK,EAAE,EACxD,mBAA4B,EAC5B,YAAmB,EACnB,eAAe,EACf,aAAa,EACb,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,KAAK,EACL,gBAAgB,EAChB,GAAG,IAAI,EACR,EAAE,KAAK,CAAC,CAAC,CAAC,sEA+HV"}
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import { Animated } from 'react-native';
3
+ import type { EventEmitterProps, Layout, NavigationState, PagerProps, Route } from './types';
4
+ type Props<T extends Route> = PagerProps & {
5
+ layout: Layout;
6
+ onIndexChange: (index: number) => void;
7
+ navigationState: NavigationState<T>;
8
+ children: (props: EventEmitterProps & {
9
+ position: Animated.AnimatedInterpolation<number>;
10
+ render: (children: React.ReactNode) => React.ReactNode;
11
+ jumpTo: (key: string) => void;
12
+ }) => React.ReactElement;
13
+ };
14
+ export default function PanResponderAdapter<T extends Route>({ layout, keyboardDismissMode, swipeEnabled, navigationState, onIndexChange, onSwipeStart, onSwipeEnd, children, style, animationEnabled, }: Props<T>): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
15
+ export {};
16
+ //# sourceMappingURL=PanResponderAdapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PanResponderAdapter.d.ts","sourceRoot":"","sources":["../../../src/PanResponderAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,QAAQ,EAQT,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EACV,iBAAiB,EACjB,MAAM,EAEN,eAAe,EACf,UAAU,EACV,KAAK,EACN,MAAM,SAAS,CAAC;AAGjB,KAAK,KAAK,CAAC,CAAC,SAAS,KAAK,IAAI,UAAU,GAAG;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IACpC,QAAQ,EAAE,CACR,KAAK,EAAE,iBAAiB,GAAG;QAGzB,QAAQ,EAAE,QAAQ,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;QAGjD,MAAM,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,KAAK,KAAK,CAAC,SAAS,CAAC;QAGvD,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;KAC/B,KACE,KAAK,CAAC,YAAY,CAAC;CACzB,CAAC;AAYF,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,CAAC,SAAS,KAAK,EAAE,EAC3D,MAAM,EACN,mBAA4B,EAC5B,YAAmB,EACnB,eAAe,EACf,aAAa,EACb,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,KAAK,EACL,gBAAwB,GACzB,EAAE,KAAK,CAAC,CAAC,CAAC,sEA6QV"}
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import { PressableProps } from 'react-native';
3
+ export type Props = PressableProps & {
4
+ pressColor?: string;
5
+ pressOpacity?: number;
6
+ children: React.ReactNode;
7
+ };
8
+ /**
9
+ * PlatformPressable provides an abstraction on top of TouchableNativeFeedback and
10
+ * TouchableOpacity to handle platform differences.
11
+ *
12
+ * On Android, you can pass the props of TouchableNativeFeedback.
13
+ * On other platforms, you can pass the props of TouchableOpacity.
14
+ */
15
+ export default function PlatformPressable({ android_ripple, pressColor, pressOpacity, style, ...rest }: Props): JSX.Element;
16
+ //# sourceMappingURL=PlatformPressable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlatformPressable.d.ts","sourceRoot":"","sources":["../../../src/PlatformPressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAuB,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnE,MAAM,MAAM,KAAK,GAAG,cAAc,GAAG;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAMF;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,cAAc,EACd,UAAiC,EACjC,YAAY,EACZ,KAAK,EACL,GAAG,IAAI,EACR,EAAE,KAAK,eAeP"}
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import type { SceneRendererProps } from './types';
3
+ type SceneProps = {
4
+ route: any;
5
+ } & Omit<SceneRendererProps, 'layout'>;
6
+ export default function SceneMap<T extends any>(scenes: {
7
+ [key: string]: React.ComponentType<T>;
8
+ }): ({ route, jumpTo, position }: SceneProps) => JSX.Element;
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,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,KAAK,UAAU,GAAG;IAChB,KAAK,EAAE,GAAG,CAAC;CACZ,GAAG,IAAI,CAAC,kBAAkB,EAAE,QAAQ,CAAC,CAAC;AAWvC,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,CAAC,SAAS,GAAG,EAAE,MAAM,EAAE;IACtD,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;CACvC,iCACsC,UAAU,iBAShD"}
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import { StyleProp, ViewStyle } from 'react-native';
3
+ import type { EventEmitterProps, NavigationState, Route, SceneRendererProps } from './types';
4
+ type Props<T extends Route> = SceneRendererProps & EventEmitterProps & {
5
+ navigationState: NavigationState<T>;
6
+ lazy: boolean;
7
+ lazyPreloadDistance: number;
8
+ index: number;
9
+ children: (props: {
10
+ loading: boolean;
11
+ }) => React.ReactNode;
12
+ style?: StyleProp<ViewStyle>;
13
+ };
14
+ export default function SceneView<T extends Route>({ children, navigationState, lazy, layout, index, lazyPreloadDistance, addEnterListener, style, }: Props<T>): JSX.Element;
15
+ export {};
16
+ //# sourceMappingURL=SceneView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SceneView.d.ts","sourceRoot":"","sources":["../../../src/SceneView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAEtE,OAAO,KAAK,EACV,iBAAiB,EACjB,eAAe,EACf,KAAK,EACL,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAEjB,KAAK,KAAK,CAAC,CAAC,SAAS,KAAK,IAAI,kBAAkB,GAC9C,iBAAiB,GAAG;IAClB,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IACpC,IAAI,EAAE,OAAO,CAAC;IACd,mBAAmB,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IAC3D,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEJ,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,CAAC,SAAS,KAAK,EAAE,EACjD,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,MAAM,EACN,KAAK,EACL,mBAAmB,EACnB,gBAAgB,EAChB,KAAK,GACN,EAAE,KAAK,CAAC,CAAC,CAAC,eAsEV"}
@@ -0,0 +1,44 @@
1
+ import * as React from 'react';
2
+ import { PressableAndroidRippleConfig, StyleProp, TextStyle, ViewStyle } from 'react-native';
3
+ import { Props as IndicatorProps } from './TabBarIndicator';
4
+ import { Props as TabBarItemProps } from './TabBarItem';
5
+ import type { Event, NavigationState, Route, Scene, SceneRendererProps } from './types';
6
+ export type Props<T extends Route> = SceneRendererProps & {
7
+ navigationState: NavigationState<T>;
8
+ scrollEnabled?: boolean;
9
+ bounces?: boolean;
10
+ activeColor?: string;
11
+ inactiveColor?: string;
12
+ pressColor?: string;
13
+ pressOpacity?: number;
14
+ getLabelText?: (scene: Scene<T>) => string | undefined;
15
+ getAccessible?: (scene: Scene<T>) => boolean | undefined;
16
+ getAccessibilityLabel?: (scene: Scene<T>) => string | undefined;
17
+ getTestID?: (scene: Scene<T>) => string | undefined;
18
+ renderLabel?: (scene: Scene<T> & {
19
+ focused: boolean;
20
+ color: string;
21
+ }) => React.ReactNode;
22
+ renderIcon?: (scene: Scene<T> & {
23
+ focused: boolean;
24
+ color: string;
25
+ }) => React.ReactNode;
26
+ renderBadge?: (scene: Scene<T>) => React.ReactNode;
27
+ renderIndicator?: (props: IndicatorProps<T>) => React.ReactNode;
28
+ renderTabBarItem?: (props: TabBarItemProps<T> & {
29
+ key: string;
30
+ }) => React.ReactElement;
31
+ onTabPress?: (scene: Scene<T> & Event) => void;
32
+ onTabLongPress?: (scene: Scene<T>) => void;
33
+ tabStyle?: StyleProp<ViewStyle>;
34
+ indicatorStyle?: StyleProp<ViewStyle>;
35
+ indicatorContainerStyle?: StyleProp<ViewStyle>;
36
+ labelStyle?: StyleProp<TextStyle>;
37
+ contentContainerStyle?: StyleProp<ViewStyle>;
38
+ style?: StyleProp<ViewStyle>;
39
+ gap?: number;
40
+ testID?: string;
41
+ android_ripple?: PressableAndroidRippleConfig;
42
+ };
43
+ export default function TabBar<T extends Route>({ getLabelText, getAccessible, getAccessibilityLabel, getTestID, renderIndicator, gap, scrollEnabled, jumpTo, navigationState, position, activeColor, bounces, contentContainerStyle, inactiveColor, indicatorContainerStyle, indicatorStyle, labelStyle, onTabLongPress, onTabPress, pressColor, pressOpacity, renderBadge, renderIcon, renderLabel, renderTabBarItem, style, tabStyle, testID, android_ripple, }: Props<T>): JSX.Element;
44
+ //# sourceMappingURL=TabBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../../src/TabBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAQL,4BAA4B,EAC5B,SAAS,EAET,SAAS,EAET,SAAS,EAEV,MAAM,cAAc,CAAC;AAGtB,OAAwB,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAmB,EAAE,KAAK,IAAI,eAAe,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EACV,KAAK,EAEL,eAAe,EACf,KAAK,EACL,KAAK,EACL,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAGjB,MAAM,MAAM,KAAK,CAAC,CAAC,SAAS,KAAK,IAAI,kBAAkB,GAAG;IACxD,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IACpC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,E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KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC3C,QAAQ,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAChC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,uBAAuB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC/C,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,4BAA4B,CAAC;CAC/C,CAAC;AA4LF,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,CAAC,SAAS,KAAK,EAAE,EAC9C,YAAkC,EAClC,aAAoC,EACpC,qBAAoD,EACpD,SAA4B,EAC5B,eAAwC,EACxC,GAAO,EACP,aAAa,EACb,MAAM,EACN,eAAe,EACf,QAAQ,EACR,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,aAAa,EACb,uBAAuB,EACvB,cAAc,EACd,UAAU,EACV,cAAc,EACd,UAAU,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,KAAK,EACL,QAAQ,EACR,MAAM,EACN,cAAc,GACf,EAAE,KAAK,CAAC,CAAC,CAAC,eA6TV"}
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { StyleProp, ViewStyle } from 'react-native';
3
+ import type { NavigationState, Route, SceneRendererProps } from './types';
4
+ export type GetTabWidth = (index: number) => number;
5
+ export type Props<T extends Route> = SceneRendererProps & {
6
+ navigationState: NavigationState<T>;
7
+ width: string | number;
8
+ style?: StyleProp<ViewStyle>;
9
+ getTabWidth: GetTabWidth;
10
+ gap?: number;
11
+ };
12
+ export default function TabBarIndicator<T extends Route>({ getTabWidth, layout, navigationState, position, width, gap, style, }: Props<T>): JSX.Element;
13
+ //# sourceMappingURL=TabBarIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabBarIndicator.d.ts","sourceRoot":"","sources":["../../../src/TabBarIndicator.tsx"],"names":[],"mappings":";AACA,OAAO,EAML,SAAS,EAET,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAG1E,MAAM,MAAM,WAAW,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;AAEpD,MAAM,MAAM,KAAK,CAAC,CAAC,SAAS,KAAK,IAAI,kBAAkB,GAAG;IACxD,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IACpC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,WAAW,EAAE,WAAW,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAyBF,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,CAAC,SAAS,KAAK,EAAE,EACvD,WAAW,EACX,MAAM,EACN,eAAe,EACf,QAAQ,EACR,KAAK,EACL,GAAG,EACH,KAAK,GACN,EAAE,KAAK,CAAC,CAAC,CAAC,eAqFV"}
@@ -0,0 +1,37 @@
1
+ import * as React from 'react';
2
+ import { Animated, LayoutChangeEvent, PressableAndroidRippleConfig, StyleProp, TextStyle, ViewStyle } from 'react-native';
3
+ import type { NavigationState, Route, Scene } from './types';
4
+ export type Props<T extends Route> = {
5
+ position: Animated.AnimatedInterpolation<number>;
6
+ route: T;
7
+ navigationState: NavigationState<T>;
8
+ activeColor?: string;
9
+ inactiveColor?: string;
10
+ pressColor?: string;
11
+ pressOpacity?: number;
12
+ getLabelText: (scene: Scene<T>) => string | undefined;
13
+ getAccessible: (scene: Scene<T>) => boolean | undefined;
14
+ getAccessibilityLabel: (scene: Scene<T>) => string | undefined;
15
+ getTestID: (scene: Scene<T>) => string | undefined;
16
+ renderLabel?: (scene: {
17
+ route: T;
18
+ focused: boolean;
19
+ color: string;
20
+ }) => React.ReactNode;
21
+ renderIcon?: (scene: {
22
+ route: T;
23
+ focused: boolean;
24
+ color: string;
25
+ }) => React.ReactNode;
26
+ renderBadge?: (scene: Scene<T>) => React.ReactNode;
27
+ onLayout?: (event: LayoutChangeEvent) => void;
28
+ onPress: () => void;
29
+ onLongPress: () => void;
30
+ defaultTabWidth?: number;
31
+ labelStyle?: StyleProp<TextStyle>;
32
+ style: StyleProp<ViewStyle>;
33
+ android_ripple?: PressableAndroidRippleConfig;
34
+ };
35
+ declare function TabBarItem<T extends Route>(props: Props<T>): JSX.Element;
36
+ export default TabBarItem;
37
+ //# sourceMappingURL=TabBarItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TabBarItem.d.ts","sourceRoot":"","sources":["../../../src/TabBarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,QAAQ,EACR,iBAAiB,EACjB,4BAA4B,EAC5B,SAAS,EAET,SAAS,EAET,SAAS,EACV,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAE7D,MAAM,MAAM,KAAK,CAAC,CAAC,SAAS,KAAK,IAAI;IACnC,QAAQ,EAAE,QAAQ,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACjD,KAAK,EAAE,CAAC,CAAC;IACT,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;I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