@tecsinapse/react-native-kit 4.0.0-beta.1 → 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,9 @@ const ModalView = ({
|
|
|
126
127
|
reactNative.Animated.View,
|
|
127
128
|
{
|
|
128
129
|
style: {
|
|
129
|
-
|
|
130
|
+
...isLastShown && isRaiseKeyboard && {
|
|
131
|
+
paddingBottom: getKeyboardHeight(keyboardOpened)
|
|
132
|
+
},
|
|
130
133
|
opacity: opacityCarrier,
|
|
131
134
|
transform: [{ translateY: translationCarrier }]
|
|
132
135
|
},
|
|
@@ -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,9 @@ const ModalView = ({
|
|
|
124
125
|
Animated.View,
|
|
125
126
|
{
|
|
126
127
|
style: {
|
|
127
|
-
|
|
128
|
+
...isLastShown && isRaiseKeyboard && {
|
|
129
|
+
paddingBottom: getKeyboardHeight(keyboardOpened)
|
|
130
|
+
},
|
|
128
131
|
opacity: opacityCarrier,
|
|
129
132
|
transform: [{ translateY: translationCarrier }]
|
|
130
133
|
},
|
|
@@ -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",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@emotion/native": "~11.11.0",
|
|
20
20
|
"@emotion/react": "~11.11.0",
|
|
21
|
-
"@tecsinapse/react-core": "4.0.0-beta.
|
|
21
|
+
"@tecsinapse/react-core": "4.0.0-beta.6",
|
|
22
22
|
"react-native-linear-gradient": "~2.8.3"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://tecsinapse.github.io/design-system/",
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"react": ">=18.
|
|
38
|
-
"react-native": ">=0.
|
|
37
|
+
"react": ">=18.2.0",
|
|
38
|
+
"react-native": ">=0.74.0",
|
|
39
39
|
"react-native-linear-gradient": "^2.5.6",
|
|
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
|
}
|