@tecsinapse/react-native-kit 4.0.0-beta.10 → 4.0.0-beta.11
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.
|
@@ -17,6 +17,7 @@ const ModalView = ({
|
|
|
17
17
|
BoxComponent = reactCore.BoxContent,
|
|
18
18
|
frozen,
|
|
19
19
|
isLastShown,
|
|
20
|
+
isRaiseKeyboard,
|
|
20
21
|
showCloseBar = true,
|
|
21
22
|
close,
|
|
22
23
|
onClose
|
|
@@ -126,7 +127,7 @@ const ModalView = ({
|
|
|
126
127
|
reactNative.Animated.View,
|
|
127
128
|
{
|
|
128
129
|
style: {
|
|
129
|
-
...isLastShown && {
|
|
130
|
+
...isLastShown && isRaiseKeyboard && {
|
|
130
131
|
paddingBottom: getKeyboardHeight(keyboardOpened)
|
|
131
132
|
},
|
|
132
133
|
opacity: opacityCarrier,
|
|
@@ -15,6 +15,7 @@ const ModalView = ({
|
|
|
15
15
|
BoxComponent = BoxContent,
|
|
16
16
|
frozen,
|
|
17
17
|
isLastShown,
|
|
18
|
+
isRaiseKeyboard,
|
|
18
19
|
showCloseBar = true,
|
|
19
20
|
close,
|
|
20
21
|
onClose
|
|
@@ -124,7 +125,7 @@ const ModalView = ({
|
|
|
124
125
|
Animated.View,
|
|
125
126
|
{
|
|
126
127
|
style: {
|
|
127
|
-
...isLastShown && {
|
|
128
|
+
...isLastShown && isRaiseKeyboard && {
|
|
128
129
|
paddingBottom: getKeyboardHeight(keyboardOpened)
|
|
129
130
|
},
|
|
130
131
|
opacity: opacityCarrier,
|
|
@@ -39,6 +39,7 @@ declare const useModal: <Data, Type extends SelectType>({ keyExtractor, labelExt
|
|
|
39
39
|
BoxComponent?: React.FC<any>;
|
|
40
40
|
frozen?: boolean;
|
|
41
41
|
isLastShown?: boolean;
|
|
42
|
+
isRaiseKeyboard?: boolean;
|
|
42
43
|
showCloseBar?: boolean;
|
|
43
44
|
onClose?: () => void;
|
|
44
45
|
children?: React.ReactNode;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/react-native-kit",
|
|
3
3
|
"description": "React Native components library",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.11",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"module": "dist/esm/index.js",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"react-native-safe-area-context": "^4.0.0",
|
|
41
41
|
"react-native-vector-icons": "^9.2.0"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "cde7f69a6b6208f7090956b1e2fb709b6d3b097c"
|
|
44
44
|
}
|