@ornikar/kitt-universal 14.0.0 → 14.0.2
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/definitions/CardModal/CardModal.d.ts.map +1 -1
- package/dist/definitions/CardModal/CardModalAnimation/CardModalAnimation.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +18 -23
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +18 -23
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +18 -23
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +1 -0
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +18 -23
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.js +1 -0
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +8 -8
|
@@ -2923,31 +2923,25 @@ function CardModalAnimation({
|
|
|
2923
2923
|
onDismiss: () => {
|
|
2924
2924
|
if (onExited) onExited();
|
|
2925
2925
|
},
|
|
2926
|
-
children: /*#__PURE__*/jsxRuntime.
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
children: /*#__PURE__*/jsxRuntime.
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2926
|
+
children: /*#__PURE__*/jsxRuntime.jsxs(View, {
|
|
2927
|
+
position: "relative",
|
|
2928
|
+
flexGrow: 1,
|
|
2929
|
+
justifyContent: "center",
|
|
2930
|
+
alignItems: "center",
|
|
2931
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(NativeOpacityAnimation$2, {
|
|
2932
|
+
visible: isContentVisible,
|
|
2933
|
+
onExited: handleAnimationExited,
|
|
2934
|
+
children: /*#__PURE__*/jsxRuntime.jsx(Overlay, {
|
|
2935
|
+
onPress: onClose
|
|
2936
|
+
})
|
|
2937
|
+
}), /*#__PURE__*/jsxRuntime.jsx(CardModalRotationContainer, {
|
|
2938
|
+
children: /*#__PURE__*/jsxRuntime.jsx(NativeRotationAnimation$1, {
|
|
2937
2939
|
visible: isContentVisible,
|
|
2938
2940
|
onExited: handleAnimationExited,
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
children: /*#__PURE__*/jsxRuntime.jsx(NativeRotationAnimation$1, {
|
|
2944
|
-
visible: isContentVisible,
|
|
2945
|
-
onExited: handleAnimationExited,
|
|
2946
|
-
onEntered: onEntered,
|
|
2947
|
-
children: children
|
|
2948
|
-
})
|
|
2949
|
-
})]
|
|
2950
|
-
})
|
|
2941
|
+
onEntered: onEntered,
|
|
2942
|
+
children: children
|
|
2943
|
+
})
|
|
2944
|
+
})]
|
|
2951
2945
|
})
|
|
2952
2946
|
});
|
|
2953
2947
|
}
|
|
@@ -3108,6 +3102,7 @@ function CardModal({
|
|
|
3108
3102
|
shadow: withoutShadow ? undefined : 'kitt.cardModal.shadow',
|
|
3109
3103
|
borderRadius: "kitt.cardModal.borderRadius",
|
|
3110
3104
|
width: "100%",
|
|
3105
|
+
maxHeight: "100%",
|
|
3111
3106
|
maxWidth: maxWidth,
|
|
3112
3107
|
children: children || /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
3113
3108
|
children: [header || null, body || null, footer || null]
|