@tecsinapse/react-native-kit 4.0.0-beta.9 → 4.0.1

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,7 +17,7 @@ const ModalView = ({
17
17
  BoxComponent = reactCore.BoxContent,
18
18
  frozen,
19
19
  isLastShown,
20
- isRaiseKeyboard,
20
+ isRaiseKeyboard = true,
21
21
  showCloseBar = true,
22
22
  close,
23
23
  onClose
@@ -130,7 +130,6 @@ const ModalView = ({
130
130
  ...isLastShown && isRaiseKeyboard && {
131
131
  paddingBottom: getKeyboardHeight(keyboardOpened)
132
132
  },
133
- ...!isLastShown && isRaiseKeyboard && { paddingBottom: 0 },
134
133
  opacity: opacityCarrier,
135
134
  transform: [{ translateY: translationCarrier }]
136
135
  },
@@ -15,7 +15,7 @@ const ModalView = ({
15
15
  BoxComponent = BoxContent,
16
16
  frozen,
17
17
  isLastShown,
18
- isRaiseKeyboard,
18
+ isRaiseKeyboard = true,
19
19
  showCloseBar = true,
20
20
  close,
21
21
  onClose
@@ -128,7 +128,6 @@ const ModalView = ({
128
128
  ...isLastShown && isRaiseKeyboard && {
129
129
  paddingBottom: getKeyboardHeight(keyboardOpened)
130
130
  },
131
- ...!isLastShown && isRaiseKeyboard && { paddingBottom: 0 },
132
131
  opacity: opacityCarrier,
133
132
  transform: [{ translateY: translationCarrier }]
134
133
  },
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.9",
4
+ "version": "4.0.1",
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.6",
21
+ "@tecsinapse/react-core": "4.0.1",
22
22
  "react-native-linear-gradient": "~2.8.3"
23
23
  },
24
24
  "devDependencies": {
@@ -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": "d6e1ad27b33a230565729b2e625a0967b9aa686b"
44
- }
43
+ "gitHead": "450f025db0e2b628bd39e2d75125c84e0dd8b5be"
44
+ }