@hero-design/rn 8.118.2-alpha.3 → 8.118.2-alpha.4
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @hero-design/rn
|
|
2
2
|
|
|
3
|
+
## 8.118.2-alpha.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#4706](https://github.com/Thinkei/hero-design/pull/4706) [`82a9532c5364c2dea2ffc96153103522295aa868`](https://github.com/Thinkei/hero-design/commit/82a9532c5364c2dea2ffc96153103522295aa868) Thanks [@tqdungit](https://github.com/tqdungit)! - Trigger alpha release for rn
|
|
8
|
+
|
|
9
|
+
- [#4782](https://github.com/Thinkei/hero-design/pull/4782) [`723e0bb6035fe40b674690a00bfbb634da13bb83`](https://github.com/Thinkei/hero-design/commit/723e0bb6035fe40b674690a00bfbb634da13bb83) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [BottomNavigation] Update sizing
|
|
10
|
+
|
|
11
|
+
- [#4752](https://github.com/Thinkei/hero-design/pull/4752) [`584274fa4239f511946789b9873f8234ace9bc79`](https://github.com/Thinkei/hero-design/commit/584274fa4239f511946789b9873f8234ace9bc79) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [BottomNavigation] Update sizing for iOS
|
|
12
|
+
|
|
13
|
+
- [#4754](https://github.com/Thinkei/hero-design/pull/4754) [`da189546e72d936d19d17f64a2fae1d6e4f97fe7`](https://github.com/Thinkei/hero-design/commit/da189546e72d936d19d17f64a2fae1d6e4f97fe7) Thanks [@phthhieu](https://github.com/phthhieu)! - Readd react-native keys
|
|
14
|
+
|
|
15
|
+
- [#4728](https://github.com/Thinkei/hero-design/pull/4728) [`61b2bbfe16cf7f59f6255ebc0129abfee11a61e7`](https://github.com/Thinkei/hero-design/commit/61b2bbfe16cf7f59f6255ebc0129abfee11a61e7) Thanks [@ttkien](https://github.com/ttkien)! - add react-native key to fix issue on RN 81
|
|
16
|
+
|
|
3
17
|
## 8.118.2-alpha.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/es/index.js
CHANGED
|
@@ -5697,8 +5697,7 @@ var getBottomNavigationTheme = function getBottomNavigationTheme(theme) {
|
|
|
5697
5697
|
var space = {
|
|
5698
5698
|
titleMarginTop: theme.space.xxsmall,
|
|
5699
5699
|
// iOS-specific
|
|
5700
|
-
contentPaddingTopIOS: theme.space.
|
|
5701
|
-
contentPaddingBottomIOS: theme.space.xsmall
|
|
5700
|
+
contentPaddingTopIOS: theme.space.small
|
|
5702
5701
|
};
|
|
5703
5702
|
return {
|
|
5704
5703
|
colors: colors,
|
|
@@ -10301,15 +10300,15 @@ var BottomBar = index$c(View)(function (_ref3) {
|
|
|
10301
10300
|
ios: {
|
|
10302
10301
|
height: theme.__hd__.bottomNavigation.sizes.heightIOS,
|
|
10303
10302
|
paddingTop: theme.__hd__.bottomNavigation.space.contentPaddingTopIOS,
|
|
10304
|
-
|
|
10303
|
+
alignItems: 'flex-end'
|
|
10305
10304
|
},
|
|
10306
10305
|
"default": {
|
|
10307
|
-
flex: 1
|
|
10306
|
+
flex: 1,
|
|
10307
|
+
alignItems: 'center'
|
|
10308
10308
|
}
|
|
10309
10309
|
})), {}, {
|
|
10310
10310
|
flexDirection: 'row',
|
|
10311
|
-
overflow: 'hidden'
|
|
10312
|
-
alignItems: 'center'
|
|
10311
|
+
overflow: 'hidden'
|
|
10313
10312
|
});
|
|
10314
10313
|
});
|
|
10315
10314
|
var BottomBarItem = index$c(View)({
|
package/lib/index.js
CHANGED
|
@@ -5726,8 +5726,7 @@ var getBottomNavigationTheme = function getBottomNavigationTheme(theme) {
|
|
|
5726
5726
|
var space = {
|
|
5727
5727
|
titleMarginTop: theme.space.xxsmall,
|
|
5728
5728
|
// iOS-specific
|
|
5729
|
-
contentPaddingTopIOS: theme.space.
|
|
5730
|
-
contentPaddingBottomIOS: theme.space.xsmall
|
|
5729
|
+
contentPaddingTopIOS: theme.space.small
|
|
5731
5730
|
};
|
|
5732
5731
|
return {
|
|
5733
5732
|
colors: colors,
|
|
@@ -10330,15 +10329,15 @@ var BottomBar = index$c(reactNative.View)(function (_ref3) {
|
|
|
10330
10329
|
ios: {
|
|
10331
10330
|
height: theme.__hd__.bottomNavigation.sizes.heightIOS,
|
|
10332
10331
|
paddingTop: theme.__hd__.bottomNavigation.space.contentPaddingTopIOS,
|
|
10333
|
-
|
|
10332
|
+
alignItems: 'flex-end'
|
|
10334
10333
|
},
|
|
10335
10334
|
"default": {
|
|
10336
|
-
flex: 1
|
|
10335
|
+
flex: 1,
|
|
10336
|
+
alignItems: 'center'
|
|
10337
10337
|
}
|
|
10338
10338
|
})), {}, {
|
|
10339
10339
|
flexDirection: 'row',
|
|
10340
|
-
overflow: 'hidden'
|
|
10341
|
-
alignItems: 'center'
|
|
10340
|
+
overflow: 'hidden'
|
|
10342
10341
|
});
|
|
10343
10342
|
});
|
|
10344
10343
|
var BottomBarItem = index$c(reactNative.View)({
|
package/package.json
CHANGED
|
@@ -41,16 +41,15 @@ const BottomBar = styled(View)(({ theme }) => ({
|
|
|
41
41
|
ios: {
|
|
42
42
|
height: theme.__hd__.bottomNavigation.sizes.heightIOS,
|
|
43
43
|
paddingTop: theme.__hd__.bottomNavigation.space.contentPaddingTopIOS,
|
|
44
|
-
|
|
45
|
-
theme.__hd__.bottomNavigation.space.contentPaddingBottomIOS,
|
|
44
|
+
alignItems: 'flex-end',
|
|
46
45
|
},
|
|
47
46
|
default: {
|
|
48
47
|
flex: 1,
|
|
48
|
+
alignItems: 'center',
|
|
49
49
|
},
|
|
50
50
|
}),
|
|
51
51
|
flexDirection: 'row',
|
|
52
52
|
overflow: 'hidden',
|
|
53
|
-
alignItems: 'center',
|
|
54
53
|
}));
|
|
55
54
|
|
|
56
55
|
const BottomBarItem = styled(View)({
|
|
@@ -25,8 +25,7 @@ const getBottomNavigationTheme = (theme: GlobalTheme) => {
|
|
|
25
25
|
const space = {
|
|
26
26
|
titleMarginTop: theme.space.xxsmall,
|
|
27
27
|
// iOS-specific
|
|
28
|
-
contentPaddingTopIOS: theme.space.
|
|
29
|
-
contentPaddingBottomIOS: theme.space.xsmall,
|
|
28
|
+
contentPaddingTopIOS: theme.space.small,
|
|
30
29
|
};
|
|
31
30
|
|
|
32
31
|
return { colors, borderWidths, shadows, sizes, space };
|