sapo-components-ui-rn 1.1.30 → 1.1.32
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 +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/TextInput/TextInputNumber.tsx +2 -2
- package/src/components/TextInput/constants.tsx +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const MAXIMIZED_LABEL_FONT_SIZE = 15;
|
|
2
|
-
export declare const MINIMIZED_LABEL_FONT_SIZE =
|
|
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
|
@@ -1898,7 +1898,7 @@ function getTextColor(_a) {
|
|
|
1898
1898
|
}
|
|
1899
1899
|
|
|
1900
1900
|
var MAXIMIZED_LABEL_FONT_SIZE = 15;
|
|
1901
|
-
var MINIMIZED_LABEL_FONT_SIZE =
|
|
1901
|
+
var MINIMIZED_LABEL_FONT_SIZE = 12;
|
|
1902
1902
|
var LABEL_WIGGLE_X_OFFSET = 4;
|
|
1903
1903
|
var ADORNMENT_SIZE = 24;
|
|
1904
1904
|
var MIN_WIDTH = 100;
|
|
@@ -5738,8 +5738,8 @@ var TextInputNumber = function (_a) {
|
|
|
5738
5738
|
if (inputValue.endsWith(".")) {
|
|
5739
5739
|
finalValue = inputValue.slice(0, -1);
|
|
5740
5740
|
}
|
|
5741
|
-
onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText(finalValue);
|
|
5742
|
-
setNumberValue(finalValue);
|
|
5741
|
+
onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText(formatNumberInput$1(finalValue, formatDecimal));
|
|
5742
|
+
setNumberValue(formatNumberInput$1(finalValue, formatDecimal));
|
|
5743
5743
|
setIsShowModalKeyboard(false);
|
|
5744
5744
|
};
|
|
5745
5745
|
var checkValueEmpty = function () {
|