@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
|
@@ -2929,31 +2929,25 @@ function CardModalAnimation(_ref) {
|
|
|
2929
2929
|
onDismiss: function onDismiss() {
|
|
2930
2930
|
if (onExited) onExited();
|
|
2931
2931
|
},
|
|
2932
|
-
children: /*#__PURE__*/
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
children: /*#__PURE__*/
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2932
|
+
children: /*#__PURE__*/jsxs(View, {
|
|
2933
|
+
position: "relative",
|
|
2934
|
+
flexGrow: 1,
|
|
2935
|
+
justifyContent: "center",
|
|
2936
|
+
alignItems: "center",
|
|
2937
|
+
children: [/*#__PURE__*/jsx(NativeOpacityAnimation$2, {
|
|
2938
|
+
visible: isContentVisible,
|
|
2939
|
+
onExited: handleAnimationExited,
|
|
2940
|
+
children: /*#__PURE__*/jsx(Overlay, {
|
|
2941
|
+
onPress: onClose
|
|
2942
|
+
})
|
|
2943
|
+
}), /*#__PURE__*/jsx(CardModalRotationContainer, {
|
|
2944
|
+
children: /*#__PURE__*/jsx(NativeRotationAnimation$1, {
|
|
2943
2945
|
visible: isContentVisible,
|
|
2944
2946
|
onExited: handleAnimationExited,
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
children: /*#__PURE__*/jsx(NativeRotationAnimation$1, {
|
|
2950
|
-
visible: isContentVisible,
|
|
2951
|
-
onExited: handleAnimationExited,
|
|
2952
|
-
onEntered: onEntered,
|
|
2953
|
-
children: children
|
|
2954
|
-
})
|
|
2955
|
-
})]
|
|
2956
|
-
})
|
|
2947
|
+
onEntered: onEntered,
|
|
2948
|
+
children: children
|
|
2949
|
+
})
|
|
2950
|
+
})]
|
|
2957
2951
|
})
|
|
2958
2952
|
});
|
|
2959
2953
|
}
|
|
@@ -3120,6 +3114,7 @@ function CardModal(_ref) {
|
|
|
3120
3114
|
shadow: withoutShadow ? undefined : 'kitt.cardModal.shadow',
|
|
3121
3115
|
borderRadius: "kitt.cardModal.borderRadius",
|
|
3122
3116
|
width: "100%",
|
|
3117
|
+
maxHeight: "100%",
|
|
3123
3118
|
maxWidth: maxWidth,
|
|
3124
3119
|
children: children || /*#__PURE__*/jsxs(Fragment, {
|
|
3125
3120
|
children: [header || null, body || null, footer || null]
|