@react-navigation/bottom-tabs 6.3.0 → 6.3.3
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/commonjs/index.js +8 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -0
- package/package.json +13 -13
- package/src/index.tsx +1 -0
package/lib/commonjs/index.js
CHANGED
|
@@ -9,6 +9,12 @@ Object.defineProperty(exports, "BottomTabBar", {
|
|
|
9
9
|
return _BottomTabBar.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
+
Object.defineProperty(exports, "BottomTabBarHeightCallbackContext", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _BottomTabBarHeightCallbackContext.default;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
12
18
|
Object.defineProperty(exports, "BottomTabBarHeightContext", {
|
|
13
19
|
enumerable: true,
|
|
14
20
|
get: function () {
|
|
@@ -40,6 +46,8 @@ var _BottomTabBar = _interopRequireDefault(require("./views/BottomTabBar"));
|
|
|
40
46
|
|
|
41
47
|
var _BottomTabView = _interopRequireDefault(require("./views/BottomTabView"));
|
|
42
48
|
|
|
49
|
+
var _BottomTabBarHeightCallbackContext = _interopRequireDefault(require("./utils/BottomTabBarHeightCallbackContext"));
|
|
50
|
+
|
|
43
51
|
var _BottomTabBarHeightContext = _interopRequireDefault(require("./utils/BottomTabBarHeightContext"));
|
|
44
52
|
|
|
45
53
|
var _useBottomTabBarHeight = _interopRequireDefault(require("./utils/useBottomTabBarHeight"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA;;AAKA;;AACA;;AAKA;;AACA;;AACA","sourcesContent":["/**\n * Navigators\n */\nexport { default as createBottomTabNavigator } from './navigators/createBottomTabNavigator';\n\n/**\n * Views\n */\nexport { default as BottomTabBar } from './views/BottomTabBar';\nexport { default as BottomTabView } from './views/BottomTabView';\n\n/**\n * Utilities\n */\nexport { default as BottomTabBarHeightCallbackContext } from './utils/BottomTabBarHeightCallbackContext';\nexport { default as BottomTabBarHeightContext } from './utils/BottomTabBarHeightContext';\nexport { default as useBottomTabBarHeight } from './utils/useBottomTabBarHeight';\n\n/**\n * Types\n */\nexport type {\n BottomTabBarButtonProps,\n BottomTabBarProps,\n BottomTabHeaderProps,\n BottomTabNavigationEventMap,\n BottomTabNavigationOptions,\n BottomTabNavigationProp,\n BottomTabScreenProps,\n} from './types';\n"]}
|
package/lib/module/index.js
CHANGED
|
@@ -12,6 +12,7 @@ export { default as BottomTabView } from './views/BottomTabView';
|
|
|
12
12
|
* Utilities
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
export { default as BottomTabBarHeightCallbackContext } from './utils/BottomTabBarHeightCallbackContext';
|
|
15
16
|
export { default as BottomTabBarHeightContext } from './utils/BottomTabBarHeightContext';
|
|
16
17
|
export { default as useBottomTabBarHeight } from './utils/useBottomTabBarHeight';
|
|
17
18
|
/**
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.tsx"],"names":["default","createBottomTabNavigator","BottomTabBar","BottomTabView","BottomTabBarHeightContext","useBottomTabBarHeight"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,OAAO,IAAIC,wBAApB,QAAoD,uCAApD;AAEA;AACA;AACA;;AACA,SAASD,OAAO,IAAIE,YAApB,QAAwC,sBAAxC;AACA,SAASF,OAAO,IAAIG,aAApB,QAAyC,uBAAzC;AAEA;AACA;AACA;;AACA,SAASH,OAAO,IAAII,yBAApB,QAAqD,mCAArD;AACA,
|
|
1
|
+
{"version":3,"sources":["index.tsx"],"names":["default","createBottomTabNavigator","BottomTabBar","BottomTabView","BottomTabBarHeightCallbackContext","BottomTabBarHeightContext","useBottomTabBarHeight"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,OAAO,IAAIC,wBAApB,QAAoD,uCAApD;AAEA;AACA;AACA;;AACA,SAASD,OAAO,IAAIE,YAApB,QAAwC,sBAAxC;AACA,SAASF,OAAO,IAAIG,aAApB,QAAyC,uBAAzC;AAEA;AACA;AACA;;AACA,SAASH,OAAO,IAAII,iCAApB,QAA6D,2CAA7D;AACA,SAASJ,OAAO,IAAIK,yBAApB,QAAqD,mCAArD;AACA,SAASL,OAAO,IAAIM,qBAApB,QAAiD,+BAAjD;AAEA;AACA;AACA","sourcesContent":["/**\n * Navigators\n */\nexport { default as createBottomTabNavigator } from './navigators/createBottomTabNavigator';\n\n/**\n * Views\n */\nexport { default as BottomTabBar } from './views/BottomTabBar';\nexport { default as BottomTabView } from './views/BottomTabView';\n\n/**\n * Utilities\n */\nexport { default as BottomTabBarHeightCallbackContext } from './utils/BottomTabBarHeightCallbackContext';\nexport { default as BottomTabBarHeightContext } from './utils/BottomTabBarHeightContext';\nexport { default as useBottomTabBarHeight } from './utils/useBottomTabBarHeight';\n\n/**\n * Types\n */\nexport type {\n BottomTabBarButtonProps,\n BottomTabBarProps,\n BottomTabHeaderProps,\n BottomTabNavigationEventMap,\n BottomTabNavigationOptions,\n BottomTabNavigationProp,\n BottomTabScreenProps,\n} from './types';\n"]}
|
|
@@ -10,6 +10,7 @@ export { default as BottomTabView } from './views/BottomTabView';
|
|
|
10
10
|
/**
|
|
11
11
|
* Utilities
|
|
12
12
|
*/
|
|
13
|
+
export { default as BottomTabBarHeightCallbackContext } from './utils/BottomTabBarHeightCallbackContext';
|
|
13
14
|
export { default as BottomTabBarHeightContext } from './utils/BottomTabBarHeightContext';
|
|
14
15
|
export { default as useBottomTabBarHeight } from './utils/useBottomTabBarHeight';
|
|
15
16
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-navigation/bottom-tabs",
|
|
3
3
|
"description": "Bottom tab navigator following iOS design guidelines",
|
|
4
|
-
"version": "6.3.
|
|
4
|
+
"version": "6.3.3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native-component",
|
|
7
7
|
"react-component",
|
|
@@ -32,27 +32,27 @@
|
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
|
-
"
|
|
35
|
+
"prepack": "bob build",
|
|
36
36
|
"clean": "del lib"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@react-navigation/elements": "^1.3.
|
|
40
|
-
"color": "^
|
|
39
|
+
"@react-navigation/elements": "^1.3.5",
|
|
40
|
+
"color": "^4.2.3",
|
|
41
41
|
"warn-once": "^0.1.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@react-navigation/native": "^6.0.
|
|
44
|
+
"@react-navigation/native": "^6.0.12",
|
|
45
45
|
"@testing-library/react-native": "^7.2.0",
|
|
46
46
|
"@types/color": "^3.0.1",
|
|
47
|
-
"@types/react": "^17.0.
|
|
48
|
-
"@types/react-native": "~0.
|
|
47
|
+
"@types/react": "^17.0.47",
|
|
48
|
+
"@types/react-native": "~0.68.1",
|
|
49
49
|
"del-cli": "^3.0.1",
|
|
50
|
-
"react": "17.0.
|
|
51
|
-
"react-native": "~0.
|
|
50
|
+
"react": "17.0.2",
|
|
51
|
+
"react-native": "~0.68.2",
|
|
52
52
|
"react-native-builder-bob": "^0.18.1",
|
|
53
|
-
"react-native-safe-area-context": "
|
|
54
|
-
"react-native-screens": "~3.
|
|
55
|
-
"typescript": "^4.
|
|
53
|
+
"react-native-safe-area-context": "4.2.4",
|
|
54
|
+
"react-native-screens": "~3.11.1",
|
|
55
|
+
"typescript": "^4.7.4"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"@react-navigation/native": "^6.0.0",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
]
|
|
76
76
|
]
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "83aa392f1e13796d609c9df0afa44699ce4bacae"
|
|
79
79
|
}
|
package/src/index.tsx
CHANGED
|
@@ -12,6 +12,7 @@ export { default as BottomTabView } from './views/BottomTabView';
|
|
|
12
12
|
/**
|
|
13
13
|
* Utilities
|
|
14
14
|
*/
|
|
15
|
+
export { default as BottomTabBarHeightCallbackContext } from './utils/BottomTabBarHeightCallbackContext';
|
|
15
16
|
export { default as BottomTabBarHeightContext } from './utils/BottomTabBarHeightContext';
|
|
16
17
|
export { default as useBottomTabBarHeight } from './utils/useBottomTabBarHeight';
|
|
17
18
|
|