@react-navigation/bottom-tabs 8.0.0-alpha.4 → 8.0.0-alpha.41
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/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/navigators/createBottomTabNavigator.js +4 -25
- package/lib/module/navigators/createBottomTabNavigator.js.map +1 -1
- package/lib/module/utils/useBottomTabAnimation.js +1 -1
- package/lib/module/utils/useBottomTabAnimation.js.map +1 -1
- package/lib/module/utils/useBottomTabBarHeight.js +1 -1
- package/lib/module/utils/useBottomTabBarHeight.js.map +1 -1
- package/lib/module/views/BottomTabBar.js +40 -29
- package/lib/module/views/BottomTabBar.js.map +1 -1
- package/lib/module/views/BottomTabItem.js +2 -2
- package/lib/module/views/BottomTabItem.js.map +1 -1
- package/lib/module/views/{BottomTabViewCommon.js → BottomTabView.js} +1 -1
- package/lib/module/views/BottomTabView.js.map +1 -0
- package/lib/module/views/BottomTabViewCustom.js +90 -71
- package/lib/module/views/BottomTabViewCustom.js.map +1 -1
- package/lib/module/views/BottomTabViewNativeImpl.js +333 -115
- package/lib/module/views/BottomTabViewNativeImpl.js.map +1 -1
- package/lib/module/views/Deferred.js +41 -0
- package/lib/module/views/Deferred.js.map +1 -0
- package/lib/module/views/ScreenContent.js.map +1 -1
- package/lib/module/views/TabBarIcon.js +11 -48
- package/lib/module/views/TabBarIcon.js.map +1 -1
- package/lib/typescript/src/TransitionConfigs/SceneStyleInterpolators.d.ts +1 -1
- package/lib/typescript/src/TransitionConfigs/SceneStyleInterpolators.d.ts.map +1 -1
- package/lib/typescript/src/TransitionConfigs/TransitionPresets.d.ts +1 -1
- package/lib/typescript/src/TransitionConfigs/TransitionPresets.d.ts.map +1 -1
- package/lib/typescript/src/TransitionConfigs/TransitionSpecs.d.ts +1 -1
- package/lib/typescript/src/TransitionConfigs/TransitionSpecs.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +11 -11
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/navigators/createBottomTabNavigator.d.ts +9 -15
- package/lib/typescript/src/navigators/createBottomTabNavigator.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +64 -102
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/lib/typescript/src/utils/BottomTabAnimationContext.d.ts +1 -1
- package/lib/typescript/src/utils/BottomTabAnimationContext.d.ts.map +1 -1
- package/lib/typescript/src/utils/useAnimatedHashMap.d.ts +1 -1
- package/lib/typescript/src/utils/useAnimatedHashMap.d.ts.map +1 -1
- package/lib/typescript/src/utils/useBottomTabAnimation.d.ts +1 -1
- package/lib/typescript/src/utils/useBottomTabAnimation.d.ts.map +1 -1
- package/lib/typescript/src/utils/useTabBarPosition.d.ts +1 -1
- package/lib/typescript/src/utils/useTabBarPosition.d.ts.map +1 -1
- package/lib/typescript/src/views/BottomTabBar.d.ts +3 -2
- package/lib/typescript/src/views/BottomTabBar.d.ts.map +1 -1
- package/lib/typescript/src/views/BottomTabItem.d.ts +20 -20
- package/lib/typescript/src/views/BottomTabItem.d.ts.map +1 -1
- package/lib/typescript/src/views/{BottomTabViewCommon.d.ts → BottomTabView.d.ts} +3 -3
- package/lib/typescript/src/views/BottomTabView.d.ts.map +1 -0
- package/lib/typescript/src/views/BottomTabViewCustom.d.ts +3 -2
- package/lib/typescript/src/views/BottomTabViewCustom.d.ts.map +1 -1
- package/lib/typescript/src/views/BottomTabViewNative.android.d.ts +1 -1
- package/lib/typescript/src/views/BottomTabViewNative.android.d.ts.map +1 -1
- package/lib/typescript/src/views/BottomTabViewNative.d.ts +1 -1
- package/lib/typescript/src/views/BottomTabViewNative.d.ts.map +1 -1
- package/lib/typescript/src/views/BottomTabViewNative.ios.d.ts +1 -1
- package/lib/typescript/src/views/BottomTabViewNative.ios.d.ts.map +1 -1
- package/lib/typescript/src/views/BottomTabViewNativeImpl.d.ts +3 -2
- package/lib/typescript/src/views/BottomTabViewNativeImpl.d.ts.map +1 -1
- package/lib/typescript/src/views/Deferred.d.ts +31 -0
- package/lib/typescript/src/views/Deferred.d.ts.map +1 -0
- package/lib/typescript/src/views/ScreenContent.d.ts +4 -4
- package/lib/typescript/src/views/ScreenContent.d.ts.map +1 -1
- package/lib/typescript/src/views/TabBarIcon.d.ts +8 -8
- package/lib/typescript/src/views/TabBarIcon.d.ts.map +1 -1
- package/package.json +19 -22
- package/src/index.tsx +2 -2
- package/src/navigators/createBottomTabNavigator.tsx +10 -75
- package/src/types.tsx +64 -110
- package/src/utils/useAnimatedHashMap.tsx +1 -1
- package/src/utils/useBottomTabAnimation.tsx +1 -1
- package/src/utils/useBottomTabBarHeight.tsx +1 -1
- package/src/views/BottomTabBar.tsx +68 -25
- package/src/views/BottomTabItem.tsx +18 -20
- package/src/views/BottomTabViewCustom.tsx +155 -125
- package/src/views/BottomTabViewNativeImpl.tsx +470 -155
- package/src/views/Deferred.tsx +57 -0
- package/src/views/ScreenContent.tsx +1 -2
- package/src/views/TabBarIcon.tsx +13 -56
- package/lib/module/views/BottomTabViewCommon.js.map +0 -1
- package/lib/typescript/src/views/BottomTabViewCommon.d.ts.map +0 -1
- /package/src/views/{BottomTabViewCommon.tsx → BottomTabView.tsx} +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
/**
|
|
5
|
+
* Render content lazily based on visibility.
|
|
6
|
+
*
|
|
7
|
+
* When lazy is enabled:
|
|
8
|
+
* - If content is visible, it will render immediately
|
|
9
|
+
* - If content is not visible, it won't render until it becomes visible
|
|
10
|
+
*
|
|
11
|
+
* Otherwise:
|
|
12
|
+
* - If content is visible, it will render immediately
|
|
13
|
+
* - If content is not visible, it will defer rendering
|
|
14
|
+
*
|
|
15
|
+
* Once rendered, the content remains rendered.
|
|
16
|
+
*/
|
|
17
|
+
export function Deferred({
|
|
18
|
+
lazy,
|
|
19
|
+
visible,
|
|
20
|
+
children
|
|
21
|
+
}) {
|
|
22
|
+
const [rendered, setRendered] = React.useState(lazy ? visible : false);
|
|
23
|
+
const shouldRenderDeferred = !(lazy || visible || rendered);
|
|
24
|
+
React.useEffect(() => {
|
|
25
|
+
if (shouldRenderDeferred === false) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
React.startTransition(() => {
|
|
29
|
+
setRendered(true);
|
|
30
|
+
});
|
|
31
|
+
}, [shouldRenderDeferred]);
|
|
32
|
+
if (visible && rendered === false) {
|
|
33
|
+
setRendered(true);
|
|
34
|
+
return children;
|
|
35
|
+
}
|
|
36
|
+
if (rendered) {
|
|
37
|
+
return children;
|
|
38
|
+
}
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=Deferred.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Deferred","lazy","visible","children","rendered","setRendered","useState","shouldRenderDeferred","useEffect","startTransition"],"sourceRoot":"../../../src","sources":["views/Deferred.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAiB9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,QAAQA,CAAC;EAAEC,IAAI;EAAEC,OAAO;EAAEC;AAAgB,CAAC,EAAE;EAC3D,MAAM,CAACC,QAAQ,EAAEC,WAAW,CAAC,GAAGN,KAAK,CAACO,QAAQ,CAACL,IAAI,GAAGC,OAAO,GAAG,KAAK,CAAC;EAEtE,MAAMK,oBAAoB,GAAG,EAAEN,IAAI,IAAIC,OAAO,IAAIE,QAAQ,CAAC;EAE3DL,KAAK,CAACS,SAAS,CAAC,MAAM;IACpB,IAAID,oBAAoB,KAAK,KAAK,EAAE;MAClC;IACF;IAEAR,KAAK,CAACU,eAAe,CAAC,MAAM;MAC1BJ,WAAW,CAAC,IAAI,CAAC;IACnB,CAAC,CAAC;EACJ,CAAC,EAAE,CAACE,oBAAoB,CAAC,CAAC;EAE1B,IAAIL,OAAO,IAAIE,QAAQ,KAAK,KAAK,EAAE;IACjCC,WAAW,CAAC,IAAI,CAAC;IAEjB,OAAOF,QAAQ;EACjB;EAEA,IAAIC,QAAQ,EAAE;IACZ,OAAOD,QAAQ;EACjB;EAEA,OAAO,IAAI;AACb","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getHeaderTitle","Header","Screen","React","jsx","_jsx","ScreenContent","isFocused","route","navigation","options","style","children","headerTransparent","header","renderCustomHeader","headerShown","hasDefaultHeader","focused","title","name"],"sourceRoot":"../../../src","sources":["views/ScreenContent.tsx"],"mappings":";;AAAA,SAASA,cAAc,EAAEC,MAAM,QAAQ,4BAA4B;AACnE,SAASC,MAAM,QAAQ,qCAAqC;AAE5D,OAAO,KAAKC,KAAK,MAAM,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;
|
|
1
|
+
{"version":3,"names":["getHeaderTitle","Header","Screen","React","jsx","_jsx","ScreenContent","isFocused","route","navigation","options","style","children","headerTransparent","header","renderCustomHeader","headerShown","hasDefaultHeader","focused","title","name"],"sourceRoot":"../../../src","sources":["views/ScreenContent.tsx"],"mappings":";;AAAA,SAASA,cAAc,EAAEC,MAAM,QAAQ,4BAA4B;AACnE,SAASC,MAAM,QAAQ,qCAAqC;AAE5D,OAAO,KAAKC,KAAK,MAAM,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAO/B,OAAO,SAASC,aAAaA,CAAC;EAC5BC,SAAS;EACTC,KAAK;EACLC,UAAU;EACVC,OAAO;EACPC,KAAK;EACLC;AAQF,CAAC,EAAE;EACD,MAAM;IACJC,iBAAiB;IACjBC,MAAM,EAAEC,kBAAkB;IAC1BC,WAAW,GAAGD,kBAAkB,IAAI;EACtC,CAAC,GAAGL,OAAO;EAEX,MAAMO,gBAAgB,GAAGD,WAAW,IAAID,kBAAkB,IAAI,IAAI;EAElE,oBACEV,IAAA,CAACH,MAAM;IACLgB,OAAO,EAAEX,SAAU;IACnBC,KAAK,EAAEA,KAAM;IACbC,UAAU,EAAEA,UAAW;IACvBO,WAAW,EAAEA,WAAY;IACzBH,iBAAiB,EAAEA,iBAAkB;IACrCC,MAAM,EACJG,gBAAgB,gBACdZ,IAAA,CAACJ,MAAM;MAAA,GAAKS,OAAO;MAAES,KAAK,EAAEnB,cAAc,CAACU,OAAO,EAAEF,KAAK,CAACY,IAAI;IAAE,CAAE,CAAC,GAEnEL,kBAAkB,GAAG;MACnBP,KAAK;MACLC,UAAU;MACVC;IACF,CAAC,CAEJ;IACDC,KAAK,EAAEA,KAAM;IAAAC,QAAA,EAEZA;EAAQ,CACH,CAAC;AAEb","ignoreList":[]}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { Badge } from '@react-navigation/elements';
|
|
3
|
+
import { Badge, PlatformIcon } from '@react-navigation/elements';
|
|
4
4
|
import { MissingIcon } from '@react-navigation/elements/internal';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { Image, StyleSheet, View } from 'react-native';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { StyleSheet, View } from 'react-native';
|
|
8
7
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
8
|
/**
|
|
10
9
|
* Icon sizes taken from Apple HIG
|
|
@@ -14,8 +13,8 @@ const ICON_SIZE_WIDE = 31;
|
|
|
14
13
|
const ICON_SIZE_WIDE_COMPACT = 23;
|
|
15
14
|
const ICON_SIZE_TALL = 28;
|
|
16
15
|
const ICON_SIZE_TALL_COMPACT = 20;
|
|
17
|
-
const
|
|
18
|
-
const
|
|
16
|
+
const ICON_SIZE_SQUARE = 23;
|
|
17
|
+
const ICON_SIZE_SQUARE_COMPACT = 17;
|
|
19
18
|
const ICON_SIZE_MATERIAL = 24;
|
|
20
19
|
export function TabBarIcon({
|
|
21
20
|
route: _,
|
|
@@ -31,7 +30,7 @@ export function TabBarIcon({
|
|
|
31
30
|
allowFontScaling,
|
|
32
31
|
style
|
|
33
32
|
}) {
|
|
34
|
-
const iconSize = variant === 'material' ? ICON_SIZE_MATERIAL : size === 'compact' ?
|
|
33
|
+
const iconSize = variant === 'material' ? ICON_SIZE_MATERIAL : size === 'compact' ? ICON_SIZE_SQUARE_COMPACT : ICON_SIZE_SQUARE;
|
|
35
34
|
|
|
36
35
|
// We render the icon twice at the same position on top of each other:
|
|
37
36
|
// active and inactive one, so we can fade between them.
|
|
@@ -83,47 +82,11 @@ function renderIcon({
|
|
|
83
82
|
return iconValue;
|
|
84
83
|
}
|
|
85
84
|
if (typeof iconValue === 'object' && iconValue != null && 'type' in iconValue) {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
width: size,
|
|
92
|
-
height: size,
|
|
93
|
-
tintColor: iconValue.tinted === false ? undefined : color
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
case 'resource':
|
|
97
|
-
return /*#__PURE__*/_jsx(Image, {
|
|
98
|
-
source: {
|
|
99
|
-
uri: iconValue.name
|
|
100
|
-
},
|
|
101
|
-
style: {
|
|
102
|
-
width: size,
|
|
103
|
-
height: size,
|
|
104
|
-
tintColor: iconValue.tinted === false ? undefined : color
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
case 'sfSymbol':
|
|
108
|
-
return /*#__PURE__*/_jsx(SFSymbol, {
|
|
109
|
-
name: iconValue.name,
|
|
110
|
-
size: size,
|
|
111
|
-
color: color
|
|
112
|
-
});
|
|
113
|
-
case 'materialSymbol':
|
|
114
|
-
return /*#__PURE__*/_jsx(MaterialSymbol, {
|
|
115
|
-
name: iconValue.name,
|
|
116
|
-
variant: iconValue.variant,
|
|
117
|
-
weight: iconValue.weight,
|
|
118
|
-
size: size,
|
|
119
|
-
color: color
|
|
120
|
-
});
|
|
121
|
-
default:
|
|
122
|
-
{
|
|
123
|
-
const _exhaustiveCheck = iconValue;
|
|
124
|
-
return _exhaustiveCheck;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
85
|
+
return /*#__PURE__*/_jsx(PlatformIcon, {
|
|
86
|
+
icon: iconValue,
|
|
87
|
+
size: size,
|
|
88
|
+
color: color
|
|
89
|
+
});
|
|
127
90
|
}
|
|
128
91
|
return /*#__PURE__*/_jsx(MissingIcon, {
|
|
129
92
|
color: color,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Badge","
|
|
1
|
+
{"version":3,"names":["Badge","PlatformIcon","MissingIcon","React","StyleSheet","View","jsx","_jsx","jsxs","_jsxs","ICON_SIZE_WIDE","ICON_SIZE_WIDE_COMPACT","ICON_SIZE_TALL","ICON_SIZE_TALL_COMPACT","ICON_SIZE_SQUARE","ICON_SIZE_SQUARE_COMPACT","ICON_SIZE_MATERIAL","TabBarIcon","route","_","variant","size","badge","badgeStyle","activeOpacity","inactiveOpacity","activeTintColor","inactiveTintColor","icon","allowFontScaling","style","iconSize","styles","wrapperMaterial","wrapperUikitCompact","wrapperUikit","children","opacity","minWidth","renderIcon","focused","color","visible","iconValue","isValidElement","create","position","alignSelf","alignItems","justifyContent","height","width","end","top"],"sourceRoot":"../../../src","sources":["views/TabBarIcon.tsx"],"mappings":";;AAAA,SAASA,KAAK,EAAaC,YAAY,QAAQ,4BAA4B;AAC3E,SAASC,WAAW,QAAQ,qCAAqC;AAEjE,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAGEC,UAAU,EAEVC,IAAI,QAEC,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAuBtB;AACA;AACA;AACA;AACA,MAAMC,cAAc,GAAG,EAAE;AACzB,MAAMC,sBAAsB,GAAG,EAAE;AACjC,MAAMC,cAAc,GAAG,EAAE;AACzB,MAAMC,sBAAsB,GAAG,EAAE;AACjC,MAAMC,gBAAgB,GAAG,EAAE;AAC3B,MAAMC,wBAAwB,GAAG,EAAE;AACnC,MAAMC,kBA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,KAAK,EAAEnC,kBAAkB;IACzBkC,MAAM,EAAElC;EACV,CAAC;EACDM,KAAK,EAAE;IACLwB,QAAQ,EAAE,UAAU;IACpBM,GAAG,EAAE,CAAC,CAAC;IACPC,GAAG,EAAE,CAAC;EACR;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SceneStyleInterpolators.d.ts","sourceRoot":"","sources":["../../../../src/TransitionConfigs/SceneStyleInterpolators.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAC/B,gCAAgC,EACjC,MAAM,
|
|
1
|
+
{"version":3,"file":"SceneStyleInterpolators.d.ts","sourceRoot":"","sources":["../../../../src/TransitionConfigs/SceneStyleInterpolators.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAC/B,gCAAgC,EACjC,MAAM,aAAU,CAAC;AAElB;;GAEG;AACH,wBAAgB,OAAO,CAAC,EACtB,OAAO,GACR,EAAE,gCAAgC,GAAG,+BAA+B,CASpE;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,EACvB,OAAO,GACR,EAAE,gCAAgC,GAAG,+BAA+B,CAiBpE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BottomTabTransitionPreset } from '../types';
|
|
1
|
+
import type { BottomTabTransitionPreset } from '../types.js';
|
|
2
2
|
export declare const FadeTransition: BottomTabTransitionPreset;
|
|
3
3
|
export declare const ShiftTransition: BottomTabTransitionPreset;
|
|
4
4
|
//# sourceMappingURL=TransitionPresets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransitionPresets.d.ts","sourceRoot":"","sources":["../../../../src/TransitionConfigs/TransitionPresets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TransitionPresets.d.ts","sourceRoot":"","sources":["../../../../src/TransitionConfigs/TransitionPresets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAU,CAAC;AAI1D,eAAO,MAAM,cAAc,EAAE,yBAG5B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,yBAG7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransitionSpecs.d.ts","sourceRoot":"","sources":["../../../../src/TransitionConfigs/TransitionSpecs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TransitionSpecs.d.ts","sourceRoot":"","sources":["../../../../src/TransitionConfigs/TransitionSpecs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAU,CAAC;AAE/C,eAAO,MAAM,QAAQ,EAAE,cAMtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,cAMvB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as SceneStyleInterpolators from './TransitionConfigs/SceneStyleInterpolators';
|
|
2
|
-
import * as TransitionPresets from './TransitionConfigs/TransitionPresets';
|
|
3
|
-
import * as TransitionSpecs from './TransitionConfigs/TransitionSpecs';
|
|
1
|
+
import * as SceneStyleInterpolators from './TransitionConfigs/SceneStyleInterpolators.js';
|
|
2
|
+
import * as TransitionPresets from './TransitionConfigs/TransitionPresets.js';
|
|
3
|
+
import * as TransitionSpecs from './TransitionConfigs/TransitionSpecs.js';
|
|
4
4
|
/**
|
|
5
5
|
* Transition Presets
|
|
6
6
|
*/
|
|
@@ -8,21 +8,21 @@ export { SceneStyleInterpolators, TransitionPresets, TransitionSpecs };
|
|
|
8
8
|
/**
|
|
9
9
|
* Navigators
|
|
10
10
|
*/
|
|
11
|
-
export { createBottomTabNavigator, createBottomTabScreen, } from './navigators/createBottomTabNavigator';
|
|
11
|
+
export { type BottomTabTypeBag, createBottomTabNavigator, createBottomTabScreen, } from './navigators/createBottomTabNavigator.js';
|
|
12
12
|
/**
|
|
13
13
|
* Views
|
|
14
14
|
*/
|
|
15
|
-
export { BottomTabBar } from './views/BottomTabBar';
|
|
16
|
-
export { BottomTabView } from './views/
|
|
15
|
+
export { BottomTabBar } from './views/BottomTabBar.js';
|
|
16
|
+
export { BottomTabView } from './views/BottomTabView.js';
|
|
17
17
|
/**
|
|
18
18
|
* Utilities
|
|
19
19
|
*/
|
|
20
|
-
export { BottomTabBarHeightCallbackContext } from './utils/BottomTabBarHeightCallbackContext';
|
|
21
|
-
export { BottomTabBarHeightContext } from './utils/BottomTabBarHeightContext';
|
|
22
|
-
export { useBottomTabAnimation } from './utils/useBottomTabAnimation';
|
|
23
|
-
export { useBottomTabBarHeight } from './utils/useBottomTabBarHeight';
|
|
20
|
+
export { BottomTabBarHeightCallbackContext } from './utils/BottomTabBarHeightCallbackContext.js';
|
|
21
|
+
export { BottomTabBarHeightContext } from './utils/BottomTabBarHeightContext.js';
|
|
22
|
+
export { useBottomTabAnimation } from './utils/useBottomTabAnimation.js';
|
|
23
|
+
export { useBottomTabBarHeight } from './utils/useBottomTabBarHeight.js';
|
|
24
24
|
/**
|
|
25
25
|
* Types
|
|
26
26
|
*/
|
|
27
|
-
export type { BottomTabBarButtonProps, BottomTabBarProps, BottomTabHeaderProps,
|
|
27
|
+
export type { BottomTabBarButtonProps, BottomTabBarProps, BottomTabHeaderProps, BottomTabNavigationEventMap, BottomTabNavigationOptions, BottomTabNavigationProp, BottomTabNavigatorProps, BottomTabOptionsArgs, BottomTabScreenProps, } from './types.js';
|
|
28
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,uBAAuB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,uBAAuB,MAAM,gDAA6C,CAAC;AACvF,OAAO,KAAK,iBAAiB,MAAM,0CAAuC,CAAC;AAC3E,OAAO,KAAK,eAAe,MAAM,wCAAqC,CAAC;AAEvE;;GAEG;AACH,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,eAAe,EAAE,CAAC;AAEvE;;GAEG;AACH,OAAO,EACL,KAAK,gBAAgB,EACrB,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,0CAAuC,CAAC;AAE/C;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAsB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAAuB,CAAC;AAEtD;;GAEG;AACH,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA2C,CAAC;AAC9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAmC,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAA+B,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAA+B,CAAC;AAEtE;;GAEG;AACH,YAAY,EACV,uBAAuB,EACvB,iBAAiB,EACjB,oBAAoB,EACpB,2BAA2B,EAC3B,0BAA0B,EAC1B,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,YAAS,CAAC"}
|
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import type { BottomTabNavigationEventMap, BottomTabNavigationOptions,
|
|
3
|
-
declare function BottomTabNavigator({ initialRouteName, backBehavior, routeNamesChangeBehavior, children, layout, screenListeners, screenOptions, screenLayout, router, ...rest }: BottomTabNavigatorProps): import("react
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
State: TabNavigationState<ParamList>;
|
|
1
|
+
import { type NavigatorTypeBagBase, type ParamListBase, type TabActionHelpers, type TabNavigationState } from '@react-navigation/native';
|
|
2
|
+
import type { BottomTabNavigationEventMap, BottomTabNavigationOptions, BottomTabNavigatorProps } from '../types.js';
|
|
3
|
+
declare function BottomTabNavigator({ initialRouteName, backBehavior, routeNamesChangeBehavior, children, layout, screenListeners, screenOptions, screenLayout, router, ...rest }: BottomTabNavigatorProps): import("react").JSX.Element;
|
|
4
|
+
export interface BottomTabTypeBag extends NavigatorTypeBagBase {
|
|
5
|
+
State: TabNavigationState<this['ParamList']>;
|
|
7
6
|
ScreenOptions: BottomTabNavigationOptions;
|
|
8
7
|
EventMap: BottomTabNavigationEventMap;
|
|
9
|
-
|
|
10
|
-
[RouteName in keyof ParamList]: BottomTabNavigationProp<ParamList, RouteName>;
|
|
11
|
-
};
|
|
8
|
+
ActionHelpers: TabActionHelpers<this['ParamList']>;
|
|
12
9
|
Navigator: typeof BottomTabNavigator;
|
|
13
|
-
}
|
|
14
|
-
export declare
|
|
15
|
-
export declare
|
|
16
|
-
config: Config;
|
|
17
|
-
}>>, Config>;
|
|
18
|
-
export declare function createBottomTabScreen<const Linking extends StaticScreenConfigLinking, const Screen extends StaticScreenConfigScreen>(config: StaticScreenConfig<Linking, Screen, TabNavigationState<ParamListBase>, BottomTabNavigationOptions, BottomTabNavigationEventMap, BottomTabNavigationProp<ParamListBase>>): StaticScreenConfig<Linking, Screen, TabNavigationState<ParamListBase>, BottomTabNavigationOptions, BottomTabNavigationEventMap, BottomTabNavigationProp<ParamListBase>>;
|
|
10
|
+
}
|
|
11
|
+
export declare const createBottomTabNavigator: import("@react-navigation/core").TypedNavigatorFactory<BottomTabTypeBag>;
|
|
12
|
+
export declare const createBottomTabScreen: import("@react-navigation/core").StaticScreenFactory<import("@react-navigation/core").NavigatorTypeBagFor<BottomTabTypeBag, ParamListBase>>;
|
|
19
13
|
export {};
|
|
20
14
|
//# sourceMappingURL=createBottomTabNavigator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createBottomTabNavigator.d.ts","sourceRoot":"","sources":["../../../../src/navigators/createBottomTabNavigator.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"createBottomTabNavigator.d.ts","sourceRoot":"","sources":["../../../../src/navigators/createBottomTabNavigator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EAIxB,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EACV,2BAA2B,EAC3B,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,aAAU,CAAC;AAGlB,iBAAS,kBAAkB,CAAC,EAC1B,gBAAgB,EAChB,YAAY,EACZ,wBAAwB,EACxB,QAAQ,EACR,MAAM,EACN,eAAe,EACf,aAAa,EACb,YAAY,EACZ,MAAM,EACN,GAAG,IAAI,EACR,EAAE,uBAAuB,+BA8BzB;AAED,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D,KAAK,EAAE,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IAC7C,aAAa,EAAE,0BAA0B,CAAC;IAC1C,QAAQ,EAAE,2BAA2B,CAAC;IACtC,aAAa,EAAE,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IACnD,SAAS,EAAE,OAAO,kBAAkB,CAAC;CACtC;AAED,eAAO,MAAM,wBAAwB,0EACyB,CAAC;AAE/D,eAAO,MAAM,qBAAqB,6IAA0C,CAAC"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import type { HeaderOptions, PlatformPressable } from '@react-navigation/elements';
|
|
2
|
-
import type {
|
|
1
|
+
import type { HeaderOptions, Icon, PlatformPressable } from '@react-navigation/elements';
|
|
2
|
+
import type { Screen } from '@react-navigation/elements/internal';
|
|
3
|
+
import type { DefaultNavigatorOptions, Descriptor, NavigationHelpers, NavigationProp, ParamListBase, RouteProp, TabActionHelpers, TabNavigationState, TabRouterOptions, Theme } from '@react-navigation/native';
|
|
3
4
|
import type * as React from 'react';
|
|
4
|
-
import type { Animated, ColorValue, GestureResponderEvent,
|
|
5
|
-
import type { TabBarItemLabelVisibilityMode, TabsScreenBlurEffect,
|
|
6
|
-
import type { SFSymbol } from 'sf-symbols-typescript';
|
|
5
|
+
import type { Animated, ColorValue, GestureResponderEvent, StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
6
|
+
import type { TabBarItemLabelVisibilityMode, TabsScreenBlurEffect, TabsScreenSystemItem } from 'react-native-screens';
|
|
7
7
|
export type Variant = 'uikit' | 'material';
|
|
8
8
|
export type BottomTabNavigationEventMap = {
|
|
9
9
|
/**
|
|
10
10
|
* Event which fires on tapping on the tab in the tab bar.
|
|
11
11
|
*
|
|
12
12
|
* Preventing default is only supported with `custom` implementation.
|
|
13
|
+
* Use `tabBarSelectionEnabled: false` option with `native` implementation.
|
|
13
14
|
*/
|
|
14
15
|
tabPress: {
|
|
15
16
|
data: undefined;
|
|
@@ -56,60 +57,6 @@ export type SpringKeyboardAnimationConfig = {
|
|
|
56
57
|
};
|
|
57
58
|
export type TabBarVisibilityAnimationConfig = TimingKeyboardAnimationConfig | SpringKeyboardAnimationConfig;
|
|
58
59
|
export type TabAnimationName = 'none' | 'fade' | 'shift';
|
|
59
|
-
type IconImage = {
|
|
60
|
-
/**
|
|
61
|
-
* - `image` - Use a local image as the icon.
|
|
62
|
-
*/
|
|
63
|
-
type: 'image';
|
|
64
|
-
/**
|
|
65
|
-
* Image source to use as the icon.
|
|
66
|
-
* e.g., `require('./path/to/image.png')`
|
|
67
|
-
*/
|
|
68
|
-
source: ImageSourcePropType;
|
|
69
|
-
/**
|
|
70
|
-
* Whether to apply tint color to the icon.
|
|
71
|
-
* Defaults to `true`.
|
|
72
|
-
*
|
|
73
|
-
* @platform ios
|
|
74
|
-
*/
|
|
75
|
-
tinted?: boolean;
|
|
76
|
-
};
|
|
77
|
-
type IconSfSymbol = {
|
|
78
|
-
/**
|
|
79
|
-
* - `sfSymbol` - Use an SF Symbol as the icon on iOS.
|
|
80
|
-
*/
|
|
81
|
-
type: 'sfSymbol';
|
|
82
|
-
/**
|
|
83
|
-
* Name of the SF Symbol to use as the icon.
|
|
84
|
-
*/
|
|
85
|
-
name: SFSymbol;
|
|
86
|
-
};
|
|
87
|
-
type IconMaterialSymbol = {
|
|
88
|
-
/**
|
|
89
|
-
* - `materialSymbol` - Use a Material Symbol as the icon on Android.
|
|
90
|
-
*/
|
|
91
|
-
type: 'materialSymbol';
|
|
92
|
-
} & Pick<MaterialSymbolProps, 'name' | 'variant' | 'weight'>;
|
|
93
|
-
type IconResource = {
|
|
94
|
-
/**
|
|
95
|
-
* - `resource` - Use a resource from drawables on Android and xcassets asset catalog on iOS as the icon.
|
|
96
|
-
*/
|
|
97
|
-
type: 'resource';
|
|
98
|
-
/**
|
|
99
|
-
* Name of the drawable resource or xcasset to use as the icon.
|
|
100
|
-
*/
|
|
101
|
-
name: string;
|
|
102
|
-
/**
|
|
103
|
-
* Whether to apply tint color to the icon.
|
|
104
|
-
* Only supported with custom implementation.
|
|
105
|
-
*
|
|
106
|
-
* Defaults to `true`.
|
|
107
|
-
*/
|
|
108
|
-
tinted?: boolean;
|
|
109
|
-
};
|
|
110
|
-
type IconIOS = IconSfSymbol | IconImage;
|
|
111
|
-
type IconAndroid = IconMaterialSymbol | IconResource | IconImage;
|
|
112
|
-
export type BottomTabIcon = IconIOS | IconAndroid;
|
|
113
60
|
type BottomTabCustomOptions = {
|
|
114
61
|
/**
|
|
115
62
|
* How the screen should animate when switching tabs.
|
|
@@ -144,7 +91,7 @@ type BottomTabCustomOptions = {
|
|
|
144
91
|
*
|
|
145
92
|
* Only supported with `custom` implementation.
|
|
146
93
|
*/
|
|
147
|
-
tabBarLabelPosition?: LabelPosition;
|
|
94
|
+
tabBarLabelPosition?: LabelPosition | undefined;
|
|
148
95
|
/**
|
|
149
96
|
* Whether label font should scale to respect Text Size accessibility settings.
|
|
150
97
|
*
|
|
@@ -230,7 +177,6 @@ type BottomTabCustomOptions = {
|
|
|
230
177
|
*/
|
|
231
178
|
tabBarButton?: (props: BottomTabBarButtonProps) => React.ReactNode;
|
|
232
179
|
};
|
|
233
|
-
type ScrollEdgeEffect = 'auto' | 'hard' | 'soft' | 'hidden';
|
|
234
180
|
type BottomTabNativeOptions = {
|
|
235
181
|
/**
|
|
236
182
|
* Uses iOS built-in tab bar items with standard iOS styling and localized titles.
|
|
@@ -242,7 +188,7 @@ type BottomTabNativeOptions = {
|
|
|
242
188
|
*
|
|
243
189
|
* @platform ios
|
|
244
190
|
*/
|
|
245
|
-
tabBarSystemItem?:
|
|
191
|
+
tabBarSystemItem?: TabsScreenSystemItem;
|
|
246
192
|
/**
|
|
247
193
|
* Blur effect applied to the tab bar when tab screen is selected.
|
|
248
194
|
*
|
|
@@ -322,36 +268,25 @@ type BottomTabNativeOptions = {
|
|
|
322
268
|
placement: 'regular' | 'inline';
|
|
323
269
|
}) => React.ReactNode;
|
|
324
270
|
/**
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
* for the specified edge of the ScrollView.
|
|
328
|
-
*
|
|
329
|
-
* When set in nested containers, i.e. Native Stack inside Native Bottom Tabs, or the other way around,
|
|
330
|
-
* the ScrollView will use only the innermost one's config.
|
|
271
|
+
* Specifies whether `contentInsetAdjustmentBehavior` of the `ScrollView`
|
|
272
|
+
* in the screen is automatically adjusted.
|
|
331
273
|
*
|
|
332
|
-
*
|
|
274
|
+
* `react-native`'s `ScrollView`s has `contentInsetAdjustmentBehavior` set to `never` by default.
|
|
275
|
+
* To provide a better UX, it is overridden to `automatic` - so it respects the tab bar.
|
|
276
|
+
* Otherwise, content can get hidden behind the tab bar as it's translucent on iOS 26+.
|
|
333
277
|
*
|
|
334
|
-
*
|
|
278
|
+
* Note that this only affects the `ScrollView` in first descendant chain of the screen,
|
|
279
|
+
* i.e., first view of each nested view is checked until a `ScrollView` is found.
|
|
335
280
|
*
|
|
336
|
-
*
|
|
337
|
-
* - `hard` - a scroll edge effect with a hard cutoff and dividing line,
|
|
338
|
-
* - `soft` - a soft-edged scroll edge effect,
|
|
339
|
-
* - `hidden` - no scroll edge effect.
|
|
340
|
-
*
|
|
341
|
-
* Defaults to `automatic` for each edge.
|
|
342
|
-
*
|
|
343
|
-
* Available starting from iOS 26.
|
|
281
|
+
* To disable this behavior for specific screens, set this option to `false`.
|
|
344
282
|
*
|
|
345
283
|
* Only supported with `native` implementation.
|
|
346
284
|
*
|
|
285
|
+
* Defaults to `true`.
|
|
286
|
+
*
|
|
347
287
|
* @platform ios
|
|
348
288
|
*/
|
|
349
|
-
|
|
350
|
-
bottom?: ScrollEdgeEffect;
|
|
351
|
-
left?: ScrollEdgeEffect;
|
|
352
|
-
right?: ScrollEdgeEffect;
|
|
353
|
-
top?: ScrollEdgeEffect;
|
|
354
|
-
};
|
|
289
|
+
overrideScrollViewContentInsetAdjustmentBehavior?: boolean;
|
|
355
290
|
};
|
|
356
291
|
export type BottomTabNavigationOptions = {
|
|
357
292
|
/**
|
|
@@ -387,7 +322,7 @@ export type BottomTabNavigationOptions = {
|
|
|
387
322
|
/**
|
|
388
323
|
* Style object for the tab label.
|
|
389
324
|
*/
|
|
390
|
-
tabBarLabelStyle?: Pick<TextStyle, 'fontFamily' | 'fontSize' | 'fontWeight' | 'fontStyle'>;
|
|
325
|
+
tabBarLabelStyle?: Pick<TextStyle, 'fontFamily' | 'fontSize' | 'fontWeight' | 'fontStyle' | 'color'>;
|
|
391
326
|
/**
|
|
392
327
|
* Icon to display for the tab.
|
|
393
328
|
*
|
|
@@ -397,22 +332,26 @@ export type BottomTabNavigationOptions = {
|
|
|
397
332
|
* - on all platforms with `custom` implementation
|
|
398
333
|
* - on iOS with `native` implementation
|
|
399
334
|
*
|
|
335
|
+
* With `native` implementation, `tinted` for `image` can only be disabled on iOS.
|
|
336
|
+
*
|
|
400
337
|
* A React element is only supported with `custom` implementation.
|
|
401
338
|
*/
|
|
402
|
-
tabBarIcon?:
|
|
339
|
+
tabBarIcon?: Icon | ((props: {
|
|
403
340
|
focused: boolean;
|
|
404
341
|
color: ColorValue;
|
|
405
342
|
size: number;
|
|
406
|
-
}) =>
|
|
343
|
+
}) => Icon | React.ReactNode);
|
|
407
344
|
/**
|
|
408
345
|
* Text to show in a badge on the tab icon.
|
|
409
346
|
*/
|
|
410
|
-
tabBarBadge?: number | string;
|
|
347
|
+
tabBarBadge?: number | string | undefined;
|
|
411
348
|
/**
|
|
412
349
|
* Custom style for the tab bar badge.
|
|
413
350
|
* You can specify a background color or text color here.
|
|
414
351
|
*
|
|
415
|
-
*
|
|
352
|
+
* With `native` implementation, limited customization is supported:
|
|
353
|
+
* - on iOS, you can only set the background color.
|
|
354
|
+
* - on Android, you can set both background and text colors.
|
|
416
355
|
*/
|
|
417
356
|
tabBarBadgeStyle?: {
|
|
418
357
|
backgroundColor?: ColorValue;
|
|
@@ -421,7 +360,7 @@ export type BottomTabNavigationOptions = {
|
|
|
421
360
|
/**
|
|
422
361
|
* Color for the icon and label in the active tab.
|
|
423
362
|
*/
|
|
424
|
-
tabBarActiveTintColor?: ColorValue;
|
|
363
|
+
tabBarActiveTintColor?: ColorValue | undefined;
|
|
425
364
|
/**
|
|
426
365
|
* Color for the icon and label in the inactive tabs.
|
|
427
366
|
*/
|
|
@@ -475,10 +414,29 @@ export type BottomTabNavigationOptions = {
|
|
|
475
414
|
* Only supported on iOS 18 and below.
|
|
476
415
|
*/
|
|
477
416
|
shadowColor?: ColorValue;
|
|
417
|
+
/**
|
|
418
|
+
* Whether the tab bar is visible.
|
|
419
|
+
* Setting this to `'none'` hides the tab bar.
|
|
420
|
+
*/
|
|
421
|
+
display?: 'flex' | 'none';
|
|
478
422
|
};
|
|
479
423
|
/**
|
|
480
|
-
* Whether this
|
|
481
|
-
*
|
|
424
|
+
* Whether this tab can be selected.
|
|
425
|
+
* When `false`, tapping on the tab in tab bar won't select the tab.
|
|
426
|
+
* Custom behavior can be implemented by listening to `tabPress` event.
|
|
427
|
+
*
|
|
428
|
+
* Defaults to `true`.
|
|
429
|
+
*/
|
|
430
|
+
tabBarSelectionEnabled?: boolean;
|
|
431
|
+
/**
|
|
432
|
+
* Whether this screen should render only when first accessed.
|
|
433
|
+
*
|
|
434
|
+
* Defaults to:
|
|
435
|
+
* - `true` with custom implementation.
|
|
436
|
+
* - `false` with native implementation.
|
|
437
|
+
*
|
|
438
|
+
* Enabling in native implementation may result in flicker
|
|
439
|
+
* as React renders after native transition is already finished.
|
|
482
440
|
*/
|
|
483
441
|
lazy?: boolean;
|
|
484
442
|
/**
|
|
@@ -489,7 +447,7 @@ export type BottomTabNavigationOptions = {
|
|
|
489
447
|
/**
|
|
490
448
|
* Style object for the component wrapping the screen content.
|
|
491
449
|
*/
|
|
492
|
-
sceneStyle?:
|
|
450
|
+
sceneStyle?: React.ComponentProps<typeof Screen>['style'];
|
|
493
451
|
/**
|
|
494
452
|
* Function that returns a React Element to display as a header.
|
|
495
453
|
*/
|
|
@@ -500,6 +458,18 @@ export type BottomTabNavigationOptions = {
|
|
|
500
458
|
* Defaults to `false` unless a header is provided.
|
|
501
459
|
*/
|
|
502
460
|
headerShown?: boolean;
|
|
461
|
+
/**
|
|
462
|
+
* What should happen when screens become inactive.
|
|
463
|
+
* - `pause`: Effects are cleaned up.
|
|
464
|
+
* - `none`: Screen renders normally
|
|
465
|
+
*
|
|
466
|
+
* Defaults to `pause`.
|
|
467
|
+
*
|
|
468
|
+
* If you set `lazy: false` or preload a screen,
|
|
469
|
+
* It won't be paused until after the first time it becomes focused.
|
|
470
|
+
* This makes sure that effects are run to initialize the screen.
|
|
471
|
+
*/
|
|
472
|
+
inactiveBehavior?: 'pause' | 'none';
|
|
503
473
|
} & HeaderOptions & BottomTabNativeOptions & BottomTabCustomOptions;
|
|
504
474
|
export type BottomTabDescriptor = Descriptor<BottomTabNavigationOptions, BottomTabNavigationProp<ParamListBase>, RouteProp<ParamListBase>>;
|
|
505
475
|
export type BottomTabDescriptorMap = Record<string, BottomTabDescriptor>;
|
|
@@ -563,14 +533,6 @@ export type BottomTabNavigationConfig = {
|
|
|
563
533
|
* Function that returns a React element to display as the tab bar.
|
|
564
534
|
*/
|
|
565
535
|
tabBar?: (props: BottomTabBarProps) => React.ReactNode;
|
|
566
|
-
/**
|
|
567
|
-
* Whether inactive screens should be detached from the view hierarchy to save memory.
|
|
568
|
-
*
|
|
569
|
-
* Defaults to `true`.
|
|
570
|
-
*
|
|
571
|
-
* Only supported with `custom` implementation.
|
|
572
|
-
*/
|
|
573
|
-
detachInactiveScreens?: boolean;
|
|
574
536
|
};
|
|
575
537
|
export type BottomTabHeaderProps = {
|
|
576
538
|
/**
|
|
@@ -592,7 +554,7 @@ export type BottomTabBarProps = {
|
|
|
592
554
|
navigation: NavigationHelpers<ParamListBase, BottomTabNavigationEventMap>;
|
|
593
555
|
};
|
|
594
556
|
export type BottomTabBarButtonProps = Omit<React.ComponentProps<typeof PlatformPressable>, 'style'> & {
|
|
595
|
-
href?: string;
|
|
557
|
+
href?: string | undefined;
|
|
596
558
|
children: React.ReactNode;
|
|
597
559
|
style?: StyleProp<ViewStyle>;
|
|
598
560
|
onPress?: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent> | GestureResponderEvent) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,iBAAiB,EAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,uBAAuB,EACvB,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,IAAI,EACJ,iBAAiB,EAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,KAAK,EACV,uBAAuB,EACvB,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,SAAS,EACT,gBAAgB,EAChB,kBAAkB,E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sBAAsB,CAAC;IACpC,UAAU,EAAE,iBAAiB,CAAC,aAAa,EAAE,2BAA2B,CAAC,CAAC;CAC3E,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,EAC9C,OAAO,CACR,GAAG;IACF,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,CACR,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,GAAG,qBAAqB,KACvE,IAAI,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,uBAAuB,CAC3D,aAAa,EACb,kBAAkB,CAAC,aAAa,CAAC,EACjC,0BAA0B,EAC1B,2BAA2B,EAC3B,uBAAuB,CAAC,aAAa,CAAC,CACvC,GACC,gBAAgB,GAChB,yBAAyB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { BottomTabSceneInterpolationProps } from '../types';
|
|
2
|
+
import type { BottomTabSceneInterpolationProps } from '../types.js';
|
|
3
3
|
export declare const BottomTabAnimationContext: React.Context<BottomTabSceneInterpolationProps | undefined>;
|
|
4
4
|
//# sourceMappingURL=BottomTabAnimationContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomTabAnimationContext.d.ts","sourceRoot":"","sources":["../../../../src/utils/BottomTabAnimationContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"BottomTabAnimationContext.d.ts","sourceRoot":"","sources":["../../../../src/utils/BottomTabAnimationContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,aAAU,CAAC;AAEjE,eAAO,MAAM,yBAAyB,6DAE1B,CAAC"}
|