sapo-components-ui-rn 1.1.19 → 1.1.20
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 +7 -9
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- 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 +2 -9
- package/src/icons/IconRadioActive.tsx +3 -9
|
@@ -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 = 14;
|
|
2
|
+
export declare const MINIMIZED_LABEL_FONT_SIZE = 12;
|
|
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
|
@@ -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 = 14;
|
|
1892
|
+
var MINIMIZED_LABEL_FONT_SIZE = 12;
|
|
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: 14,
|
|
4779
4779
|
lineHeight: 20,
|
|
4780
4780
|
};
|
|
4781
|
-
var _a = props.size, size = _a === void 0 ?
|
|
4781
|
+
var _a = props.size, size = _a === void 0 ? 14 : _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,13 +5032,11 @@ 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(
|
|
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" }))); };
|
|
5035
|
+
React$3.createElement(Circle, { cx: 12, cy: 12, r: 9.25, stroke: "#A1A5AB", strokeWidth: 1.5 }))); };
|
|
5037
5036
|
|
|
5038
5037
|
var IconRadioActive = function (props) { return (React$3.createElement(Svg, __assign({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none" }, props),
|
|
5039
|
-
React$3.createElement(
|
|
5040
|
-
React$3.createElement(Circle, { cx:
|
|
5041
|
-
React$3.createElement(Circle, { cx: "12", cy: "12", r: "4", fill: "#0071ED" }))); };
|
|
5038
|
+
React$3.createElement(Circle, { cx: 12, cy: 12, r: 9.25, stroke: "currentColor", strokeWidth: 1.5 }),
|
|
5039
|
+
React$3.createElement(Circle, { cx: 12, cy: 12, r: 6, fill: "currentColor" }))); };
|
|
5042
5040
|
|
|
5043
5041
|
var IconRadioDisable = function (props) { return (React$3.createElement(Svg, __assign({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none" }, props),
|
|
5044
5042
|
React$3.createElement(Circle, { cx: 12, cy: 12, r: 9.25, stroke: "#E5E7EB", strokeWidth: 1.5 }),
|