sapo-components-ui-rn 1.1.97 → 1.1.98
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/index.esm.js +4 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -7651,9 +7651,8 @@ var NumberKeyboard = function (_a) {
|
|
|
7651
7651
|
}, 300);
|
|
7652
7652
|
}, [onClose, value]);
|
|
7653
7653
|
return (React__default.createElement(Modal, { visible: visible, transparent: true, animationType: "fade", statusBarTranslucent: true, onRequestClose: handleClose },
|
|
7654
|
-
React__default.createElement(
|
|
7655
|
-
React__default.createElement(
|
|
7656
|
-
React__default.createElement(View, { backgroundColor: colors.surfacePrimaryDefault, style: [styles.modalContent, keyboardStyle] },
|
|
7654
|
+
React__default.createElement(TouchableOpacity, { style: styles.modalOverlay, activeOpacity: 1, onPress: handleClose },
|
|
7655
|
+
React__default.createElement(View, { onPress: function () { }, activeOpacity: 1, backgroundColor: colors.surfacePrimaryDefault, style: [styles.modalContent, keyboardStyle] },
|
|
7657
7656
|
React__default.createElement(Text$1, { style: [styles.text18, styles.modalTitle] }, label),
|
|
7658
7657
|
React__default.createElement(View, { width: "100%", style: styles.valueRow },
|
|
7659
7658
|
React__default.createElement(View, { style: styles.valueTextContainer },
|
|
@@ -7699,11 +7698,10 @@ var NumberKeyboard = function (_a) {
|
|
|
7699
7698
|
};
|
|
7700
7699
|
var styles = StyleSheet.create(__assign(__assign({}, containerStyles), { modalOverlay: {
|
|
7701
7700
|
flex: 1,
|
|
7702
|
-
|
|
7703
|
-
height: "100%",
|
|
7701
|
+
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
|
7704
7702
|
justifyContent: "center",
|
|
7705
7703
|
alignItems: "center",
|
|
7706
|
-
},
|
|
7704
|
+
}, modalContent: {
|
|
7707
7705
|
borderRadius: 20,
|
|
7708
7706
|
width: "90%",
|
|
7709
7707
|
paddingBottom: 20,
|