@hero-design/rn 8.101.2-alpha.1 → 8.101.2-alpha.2
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/es/index.js +3 -3
- package/lib/index.js +3 -3
- package/package.json +1 -1
- package/src/theme/components/badge.ts +3 -3
package/es/index.js
CHANGED
|
@@ -2684,15 +2684,15 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
2684
2684
|
medium: theme.fontSizes.small,
|
|
2685
2685
|
small: 8
|
|
2686
2686
|
},
|
|
2687
|
-
count:
|
|
2687
|
+
count: 8
|
|
2688
2688
|
};
|
|
2689
2689
|
var lineHeights = {
|
|
2690
2690
|
medium: theme.lineHeights.small,
|
|
2691
2691
|
small: 10,
|
|
2692
2692
|
count: Platform.select({
|
|
2693
|
-
android:
|
|
2693
|
+
android: 14,
|
|
2694
2694
|
// vertical alignment
|
|
2695
|
-
"default":
|
|
2695
|
+
"default": 18
|
|
2696
2696
|
})
|
|
2697
2697
|
};
|
|
2698
2698
|
var radii = {
|
package/lib/index.js
CHANGED
|
@@ -2713,15 +2713,15 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
2713
2713
|
medium: theme.fontSizes.small,
|
|
2714
2714
|
small: 8
|
|
2715
2715
|
},
|
|
2716
|
-
count:
|
|
2716
|
+
count: 8
|
|
2717
2717
|
};
|
|
2718
2718
|
var lineHeights = {
|
|
2719
2719
|
medium: theme.lineHeights.small,
|
|
2720
2720
|
small: 10,
|
|
2721
2721
|
count: reactNative.Platform.select({
|
|
2722
|
-
android:
|
|
2722
|
+
android: 14,
|
|
2723
2723
|
// vertical alignment
|
|
2724
|
-
"default":
|
|
2724
|
+
"default": 18
|
|
2725
2725
|
})
|
|
2726
2726
|
};
|
|
2727
2727
|
var radii = {
|
package/package.json
CHANGED
|
@@ -26,15 +26,15 @@ const getBadgeTheme = (theme: GlobalTheme) => {
|
|
|
26
26
|
medium: theme.fontSizes.small,
|
|
27
27
|
small: 8,
|
|
28
28
|
},
|
|
29
|
-
count:
|
|
29
|
+
count: 8,
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
const lineHeights = {
|
|
33
33
|
medium: theme.lineHeights.small,
|
|
34
34
|
small: 10,
|
|
35
35
|
count: Platform.select({
|
|
36
|
-
android:
|
|
37
|
-
default:
|
|
36
|
+
android: 14, // vertical alignment
|
|
37
|
+
default: 18,
|
|
38
38
|
}),
|
|
39
39
|
};
|
|
40
40
|
|