@ornikar/kitt-universal 25.46.0 → 25.46.1-canary.9950f4eb84cbfcf1d45de4e6c9ad226210c5404f.0
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/CHANGELOG.md +11 -0
- package/dist/definitions/BottomSheet/BottomSheet.d.ts +3 -2
- package/dist/definitions/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/definitions/CardModal/CardModal.d.ts +3 -2
- package/dist/definitions/CardModal/CardModal.d.ts.map +1 -1
- package/dist/definitions/FullscreenModal/FullscreenModal.d.ts +3 -2
- package/dist/definitions/FullscreenModal/FullscreenModal.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +39 -24
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +39 -24
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-20.10.cjs.js +37 -22
- package/dist/index-node-20.10.cjs.js.map +1 -1
- package/dist/index-node-20.10.cjs.web.js +29 -19
- package/dist/index-node-20.10.cjs.web.js.map +1 -1
- package/dist/index-node-20.10.es.mjs +37 -22
- package/dist/index-node-20.10.es.mjs.map +1 -1
- package/dist/index-node-20.10.es.web.mjs +29 -19
- package/dist/index-node-20.10.es.web.mjs.map +1 -1
- package/dist/index.es.js +43 -22
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +34 -20
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -4122,6 +4122,9 @@ function CardModal({
|
|
|
4122
4122
|
header,
|
|
4123
4123
|
body,
|
|
4124
4124
|
footer,
|
|
4125
|
+
contentContainer: ContentContainer = ({
|
|
4126
|
+
children: originalChildren
|
|
4127
|
+
}) => originalChildren,
|
|
4125
4128
|
...props
|
|
4126
4129
|
}) {
|
|
4127
4130
|
return /*#__PURE__*/jsx(View, {
|
|
@@ -4134,8 +4137,10 @@ function CardModal({
|
|
|
4134
4137
|
maxHeight: "100%",
|
|
4135
4138
|
maxWidth: maxWidth,
|
|
4136
4139
|
minHeight: "kitt.cardModal.minHeight",
|
|
4137
|
-
children:
|
|
4138
|
-
children:
|
|
4140
|
+
children: /*#__PURE__*/jsx(ContentContainer, {
|
|
4141
|
+
children: children || /*#__PURE__*/jsxs(Fragment, {
|
|
4142
|
+
children: [header || null, body || null, footer || null]
|
|
4143
|
+
})
|
|
4139
4144
|
})
|
|
4140
4145
|
});
|
|
4141
4146
|
}
|
|
@@ -7209,25 +7214,30 @@ function FullscreenModal({
|
|
|
7209
7214
|
body,
|
|
7210
7215
|
header,
|
|
7211
7216
|
footer,
|
|
7212
|
-
backgroundColor
|
|
7217
|
+
backgroundColor,
|
|
7218
|
+
contentContainer: ContentContainer = ({
|
|
7219
|
+
children
|
|
7220
|
+
}) => children
|
|
7213
7221
|
}) {
|
|
7214
|
-
return /*#__PURE__*/
|
|
7222
|
+
return /*#__PURE__*/jsx(FullscreenModalContainer, {
|
|
7215
7223
|
backgroundColor: backgroundColor,
|
|
7216
|
-
children:
|
|
7217
|
-
children: header
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7224
|
+
children: /*#__PURE__*/jsxs(ContentContainer, {
|
|
7225
|
+
children: [header ? /*#__PURE__*/jsx(View, {
|
|
7226
|
+
children: header
|
|
7227
|
+
}) : null, /*#__PURE__*/jsxs(View, {
|
|
7228
|
+
flexGrow: 1,
|
|
7229
|
+
flexShrink: 1,
|
|
7230
|
+
justifyContent: "space-between",
|
|
7231
|
+
children: [/*#__PURE__*/jsx(ScrollView$2, {
|
|
7232
|
+
bounces: false,
|
|
7233
|
+
contentContainerStyle: {
|
|
7234
|
+
flexGrow: 1,
|
|
7235
|
+
position: 'relative'
|
|
7236
|
+
},
|
|
7237
|
+
children: body
|
|
7238
|
+
}), footer || null]
|
|
7239
|
+
})]
|
|
7240
|
+
})
|
|
7231
7241
|
});
|
|
7232
7242
|
}
|
|
7233
7243
|
FullscreenModal.Header = FullscreenModalHeader;
|