sapo-components-ui-rn 1.1.17 → 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.
- package/dist/components/TextInput/constants.d.ts +2 -2
- package/dist/index.esm.js +22 -20
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +22 -20
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/RadioButton/index.tsx +1 -1
- package/src/components/Text/index.tsx +2 -2
- package/src/components/TextInput/constants.tsx +2 -2
- package/src/icons/IconRadio.tsx +9 -2
- package/src/icons/IconRadioActive.tsx +9 -3
- package/src/theme/container-styles.tsx +13 -13
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/TextInput/.DS_Store +0 -0
|
@@ -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;
|
|
@@ -5032,11 +5032,13 @@ var IconCheckbox = function (props) { return (React$3.createElement(Svg, __assig
|
|
|
5032
5032
|
React$3.createElement(Rect, { x: 2.75, y: 2.75, width: 18.5, height: 18.5, rx: 5.25, fill: "currentColor", stroke: "#A1A5AB", strokeWidth: 1.5 }))); };
|
|
5033
5033
|
|
|
5034
5034
|
var IconRadio = function (props) { return (React$3.createElement(Svg, __assign({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none" }, props),
|
|
5035
|
-
React$3.createElement(
|
|
5035
|
+
React$3.createElement(Path, { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12Z", fill: "#9F9FA9" }),
|
|
5036
|
+
React$3.createElement(Path, { d: "M6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12C18 15.3137 15.3137 18 12 18C8.68629 18 6 15.3137 6 12Z", fill: "white" }))); };
|
|
5036
5037
|
|
|
5037
5038
|
var IconRadioActive = function (props) { return (React$3.createElement(Svg, __assign({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none" }, props),
|
|
5038
|
-
React$3.createElement(
|
|
5039
|
-
React$3.createElement(Circle, { cx: 12, cy: 12, r: 6, fill: "
|
|
5039
|
+
React$3.createElement(Path, { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12Z", fill: "#0071ED" }),
|
|
5040
|
+
React$3.createElement(Circle, { cx: "12", cy: "12", r: "6", fill: "white" }),
|
|
5041
|
+
React$3.createElement(Circle, { cx: "12", cy: "12", r: "4", fill: "#0071ED" }))); };
|
|
5040
5042
|
|
|
5041
5043
|
var IconRadioDisable = function (props) { return (React$3.createElement(Svg, __assign({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none" }, props),
|
|
5042
5044
|
React$3.createElement(Circle, { cx: 12, cy: 12, r: 9.25, stroke: "#E5E7EB", strokeWidth: 1.5 }),
|