sapo-components-ui-rn 1.1.18 → 1.1.19
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const MAXIMIZED_LABEL_FONT_SIZE =
|
|
2
|
-
export declare const MINIMIZED_LABEL_FONT_SIZE =
|
|
1
|
+
export declare const MAXIMIZED_LABEL_FONT_SIZE = 15;
|
|
2
|
+
export declare const MINIMIZED_LABEL_FONT_SIZE = 13;
|
|
3
3
|
export declare const LABEL_WIGGLE_X_OFFSET = 4;
|
|
4
4
|
export declare const ADORNMENT_SIZE = 24;
|
|
5
5
|
export declare const MIN_WIDTH = 100;
|
package/dist/index.esm.js
CHANGED
|
@@ -692,51 +692,51 @@ var containerStyles = StyleSheet.create({
|
|
|
692
692
|
},
|
|
693
693
|
//MARK: text size
|
|
694
694
|
text10: {
|
|
695
|
-
fontSize:
|
|
695
|
+
fontSize: 11,
|
|
696
696
|
lineHeight: 12,
|
|
697
697
|
},
|
|
698
698
|
text12: {
|
|
699
|
-
fontSize:
|
|
699
|
+
fontSize: 13,
|
|
700
700
|
lineHeight: 16,
|
|
701
701
|
},
|
|
702
702
|
text14: {
|
|
703
|
-
fontSize:
|
|
703
|
+
fontSize: 15,
|
|
704
704
|
lineHeight: 20,
|
|
705
705
|
},
|
|
706
706
|
text16: {
|
|
707
|
-
fontSize:
|
|
707
|
+
fontSize: 17,
|
|
708
708
|
lineHeight: 24,
|
|
709
709
|
},
|
|
710
710
|
text18: {
|
|
711
|
-
fontSize:
|
|
712
|
-
lineHeight:
|
|
711
|
+
fontSize: 19,
|
|
712
|
+
lineHeight: 24,
|
|
713
713
|
},
|
|
714
714
|
text20: {
|
|
715
|
-
fontSize:
|
|
715
|
+
fontSize: 21,
|
|
716
716
|
lineHeight: 28,
|
|
717
717
|
},
|
|
718
718
|
text22: {
|
|
719
|
-
fontSize:
|
|
719
|
+
fontSize: 23,
|
|
720
720
|
lineHeight: 30,
|
|
721
721
|
},
|
|
722
722
|
text24: {
|
|
723
|
-
fontSize:
|
|
723
|
+
fontSize: 25,
|
|
724
724
|
lineHeight: 32,
|
|
725
725
|
},
|
|
726
726
|
text26: {
|
|
727
|
-
fontSize:
|
|
727
|
+
fontSize: 27,
|
|
728
728
|
lineHeight: 34,
|
|
729
729
|
},
|
|
730
730
|
text28: {
|
|
731
|
-
fontSize:
|
|
731
|
+
fontSize: 29,
|
|
732
732
|
lineHeight: 36,
|
|
733
733
|
},
|
|
734
734
|
text30: {
|
|
735
|
-
fontSize:
|
|
735
|
+
fontSize: 31,
|
|
736
736
|
lineHeight: 38,
|
|
737
737
|
},
|
|
738
738
|
text32: {
|
|
739
|
-
fontSize:
|
|
739
|
+
fontSize: 33,
|
|
740
740
|
lineHeight: 40,
|
|
741
741
|
},
|
|
742
742
|
//MARK:fonts
|
|
@@ -1888,8 +1888,8 @@ function getTextColor(_a) {
|
|
|
1888
1888
|
return theme.colors.textDefault;
|
|
1889
1889
|
}
|
|
1890
1890
|
|
|
1891
|
-
var MAXIMIZED_LABEL_FONT_SIZE =
|
|
1892
|
-
var MINIMIZED_LABEL_FONT_SIZE =
|
|
1891
|
+
var MAXIMIZED_LABEL_FONT_SIZE = 15;
|
|
1892
|
+
var MINIMIZED_LABEL_FONT_SIZE = 13;
|
|
1893
1893
|
var LABEL_WIGGLE_X_OFFSET = 4;
|
|
1894
1894
|
var ADORNMENT_SIZE = 24;
|
|
1895
1895
|
var MIN_WIDTH = 100;
|
|
@@ -4775,10 +4775,10 @@ var Text = function (props) {
|
|
|
4775
4775
|
fontWeight: "normal",
|
|
4776
4776
|
color: colors.textDefault,
|
|
4777
4777
|
fontFamily: "Inter-Regular",
|
|
4778
|
-
fontSize:
|
|
4778
|
+
fontSize: 15,
|
|
4779
4779
|
lineHeight: 20,
|
|
4780
4780
|
};
|
|
4781
|
-
var _a = props.size, size = _a === void 0 ?
|
|
4781
|
+
var _a = props.size, size = _a === void 0 ? 15 : _a, lineHeight = props.lineHeight, center = props.center, color = props.color, bold = props.bold, medium = props.medium, semibold = props.semibold;
|
|
4782
4782
|
style.color = theme.colors.textDefault || "black";
|
|
4783
4783
|
if (size) {
|
|
4784
4784
|
style.fontSize = size;
|
package/dist/index.js
CHANGED
|
@@ -725,51 +725,51 @@ var containerStyles = reactNative.StyleSheet.create({
|
|
|
725
725
|
},
|
|
726
726
|
//MARK: text size
|
|
727
727
|
text10: {
|
|
728
|
-
fontSize:
|
|
728
|
+
fontSize: 11,
|
|
729
729
|
lineHeight: 12,
|
|
730
730
|
},
|
|
731
731
|
text12: {
|
|
732
|
-
fontSize:
|
|
732
|
+
fontSize: 13,
|
|
733
733
|
lineHeight: 16,
|
|
734
734
|
},
|
|
735
735
|
text14: {
|
|
736
|
-
fontSize:
|
|
736
|
+
fontSize: 15,
|
|
737
737
|
lineHeight: 20,
|
|
738
738
|
},
|
|
739
739
|
text16: {
|
|
740
|
-
fontSize:
|
|
740
|
+
fontSize: 17,
|
|
741
741
|
lineHeight: 24,
|
|
742
742
|
},
|
|
743
743
|
text18: {
|
|
744
|
-
fontSize:
|
|
745
|
-
lineHeight:
|
|
744
|
+
fontSize: 19,
|
|
745
|
+
lineHeight: 24,
|
|
746
746
|
},
|
|
747
747
|
text20: {
|
|
748
|
-
fontSize:
|
|
748
|
+
fontSize: 21,
|
|
749
749
|
lineHeight: 28,
|
|
750
750
|
},
|
|
751
751
|
text22: {
|
|
752
|
-
fontSize:
|
|
752
|
+
fontSize: 23,
|
|
753
753
|
lineHeight: 30,
|
|
754
754
|
},
|
|
755
755
|
text24: {
|
|
756
|
-
fontSize:
|
|
756
|
+
fontSize: 25,
|
|
757
757
|
lineHeight: 32,
|
|
758
758
|
},
|
|
759
759
|
text26: {
|
|
760
|
-
fontSize:
|
|
760
|
+
fontSize: 27,
|
|
761
761
|
lineHeight: 34,
|
|
762
762
|
},
|
|
763
763
|
text28: {
|
|
764
|
-
fontSize:
|
|
764
|
+
fontSize: 29,
|
|
765
765
|
lineHeight: 36,
|
|
766
766
|
},
|
|
767
767
|
text30: {
|
|
768
|
-
fontSize:
|
|
768
|
+
fontSize: 31,
|
|
769
769
|
lineHeight: 38,
|
|
770
770
|
},
|
|
771
771
|
text32: {
|
|
772
|
-
fontSize:
|
|
772
|
+
fontSize: 33,
|
|
773
773
|
lineHeight: 40,
|
|
774
774
|
},
|
|
775
775
|
//MARK:fonts
|
|
@@ -1921,8 +1921,8 @@ function getTextColor(_a) {
|
|
|
1921
1921
|
return theme.colors.textDefault;
|
|
1922
1922
|
}
|
|
1923
1923
|
|
|
1924
|
-
var MAXIMIZED_LABEL_FONT_SIZE =
|
|
1925
|
-
var MINIMIZED_LABEL_FONT_SIZE =
|
|
1924
|
+
var MAXIMIZED_LABEL_FONT_SIZE = 15;
|
|
1925
|
+
var MINIMIZED_LABEL_FONT_SIZE = 13;
|
|
1926
1926
|
var LABEL_WIGGLE_X_OFFSET = 4;
|
|
1927
1927
|
var ADORNMENT_SIZE = 24;
|
|
1928
1928
|
var MIN_WIDTH = 100;
|
|
@@ -4808,10 +4808,10 @@ var Text = function (props) {
|
|
|
4808
4808
|
fontWeight: "normal",
|
|
4809
4809
|
color: colors.textDefault,
|
|
4810
4810
|
fontFamily: "Inter-Regular",
|
|
4811
|
-
fontSize:
|
|
4811
|
+
fontSize: 15,
|
|
4812
4812
|
lineHeight: 20,
|
|
4813
4813
|
};
|
|
4814
|
-
var _a = props.size, size = _a === void 0 ?
|
|
4814
|
+
var _a = props.size, size = _a === void 0 ? 15 : _a, lineHeight = props.lineHeight, center = props.center, color = props.color, bold = props.bold, medium = props.medium, semibold = props.semibold;
|
|
4815
4815
|
style.color = theme.colors.textDefault || "black";
|
|
4816
4816
|
if (size) {
|
|
4817
4817
|
style.fontSize = size;
|
package/package.json
CHANGED
|
@@ -26,11 +26,11 @@ const Text = (props: IText) => {
|
|
|
26
26
|
fontWeight: "normal",
|
|
27
27
|
color: colors.textDefault,
|
|
28
28
|
fontFamily: "Inter-Regular",
|
|
29
|
-
fontSize:
|
|
29
|
+
fontSize: 15,
|
|
30
30
|
lineHeight: 20,
|
|
31
31
|
};
|
|
32
32
|
const {
|
|
33
|
-
size =
|
|
33
|
+
size = 15,
|
|
34
34
|
lineHeight,
|
|
35
35
|
center,
|
|
36
36
|
color,
|
|
@@ -58,51 +58,51 @@ export default StyleSheet.create({
|
|
|
58
58
|
|
|
59
59
|
//MARK: text size
|
|
60
60
|
text10: {
|
|
61
|
-
fontSize:
|
|
61
|
+
fontSize: 11,
|
|
62
62
|
lineHeight: 12,
|
|
63
63
|
},
|
|
64
64
|
text12: {
|
|
65
|
-
fontSize:
|
|
65
|
+
fontSize: 13,
|
|
66
66
|
lineHeight: 16,
|
|
67
67
|
},
|
|
68
68
|
text14: {
|
|
69
|
-
fontSize:
|
|
69
|
+
fontSize: 15,
|
|
70
70
|
lineHeight: 20,
|
|
71
71
|
},
|
|
72
72
|
text16: {
|
|
73
|
-
fontSize:
|
|
73
|
+
fontSize: 17,
|
|
74
74
|
lineHeight: 24,
|
|
75
75
|
},
|
|
76
76
|
text18: {
|
|
77
|
-
fontSize:
|
|
78
|
-
lineHeight:
|
|
77
|
+
fontSize: 19,
|
|
78
|
+
lineHeight: 24,
|
|
79
79
|
},
|
|
80
80
|
text20: {
|
|
81
|
-
fontSize:
|
|
81
|
+
fontSize: 21,
|
|
82
82
|
lineHeight: 28,
|
|
83
83
|
},
|
|
84
84
|
text22: {
|
|
85
|
-
fontSize:
|
|
85
|
+
fontSize: 23,
|
|
86
86
|
lineHeight: 30,
|
|
87
87
|
},
|
|
88
88
|
text24: {
|
|
89
|
-
fontSize:
|
|
89
|
+
fontSize: 25,
|
|
90
90
|
lineHeight: 32,
|
|
91
91
|
},
|
|
92
92
|
text26: {
|
|
93
|
-
fontSize:
|
|
93
|
+
fontSize: 27,
|
|
94
94
|
lineHeight: 34,
|
|
95
95
|
},
|
|
96
96
|
text28: {
|
|
97
|
-
fontSize:
|
|
97
|
+
fontSize: 29,
|
|
98
98
|
lineHeight: 36,
|
|
99
99
|
},
|
|
100
100
|
text30: {
|
|
101
|
-
fontSize:
|
|
101
|
+
fontSize: 31,
|
|
102
102
|
lineHeight: 38,
|
|
103
103
|
},
|
|
104
104
|
text32: {
|
|
105
|
-
fontSize:
|
|
105
|
+
fontSize: 33,
|
|
106
106
|
lineHeight: 40,
|
|
107
107
|
},
|
|
108
108
|
|