@tecsinapse/react-native-kit 4.0.0-beta.1 → 4.0.0-beta.10

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.
@@ -126,7 +126,9 @@ const ModalView = ({
126
126
  reactNative.Animated.View,
127
127
  {
128
128
  style: {
129
- paddingBottom: isLastShown ? getKeyboardHeight(keyboardOpened) : 0,
129
+ ...isLastShown && {
130
+ paddingBottom: getKeyboardHeight(keyboardOpened)
131
+ },
130
132
  opacity: opacityCarrier,
131
133
  transform: [{ translateY: translationCarrier }]
132
134
  },
@@ -124,7 +124,9 @@ const ModalView = ({
124
124
  Animated.View,
125
125
  {
126
126
  style: {
127
- paddingBottom: isLastShown ? getKeyboardHeight(keyboardOpened) : 0,
127
+ ...isLastShown && {
128
+ paddingBottom: getKeyboardHeight(keyboardOpened)
129
+ },
128
130
  opacity: opacityCarrier,
129
131
  transform: [{ translateY: translationCarrier }]
130
132
  },
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.1",
4
+ "version": "4.0.0-beta.10",
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.1",
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.0.0",
38
- "react-native": ">=0.71.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": "f97de0031d6675338f34599957eca61d3adc9d68"
43
+ "gitHead": "0ef1cfcfc6d35225831bad8cb092f35961312563"
44
44
  }