@ornikar/kitt-universal 25.51.1-canary.67a8515dfc0adf469c4c021e0ebe8416cd86dff7.0 → 25.51.1-canary.f795a58d6b1d7afa1371e143a23a37803d7590e5.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 +8 -2
- package/dist/definitions/CardModal/CardModal.d.ts +3 -0
- package/dist/definitions/CardModal/CardModal.d.ts.map +1 -1
- package/dist/definitions/FullscreenModal/Body.d.ts.map +1 -1
- package/dist/definitions/FullscreenModal/FullscreenModal.d.ts +18 -3
- package/dist/definitions/FullscreenModal/FullscreenModal.d.ts.map +1 -1
- package/dist/definitions/NavigationModal/NavigationModal.d.ts +2 -3
- package/dist/definitions/NavigationModal/NavigationModal.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +29 -19
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +29 -19
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-20.10.cjs.js +27 -18
- package/dist/index-node-20.10.cjs.js.map +1 -1
- package/dist/index-node-20.10.cjs.web.js +27 -18
- package/dist/index-node-20.10.cjs.web.js.map +1 -1
- package/dist/index-node-20.10.es.mjs +27 -18
- package/dist/index-node-20.10.es.mjs.map +1 -1
- package/dist/index-node-20.10.es.web.mjs +27 -18
- package/dist/index-node-20.10.es.web.mjs.map +1 -1
- package/dist/index.es.js +30 -20
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +30 -20
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +5 -5
|
@@ -7781,6 +7781,8 @@ function FullscreenModalBody({
|
|
|
7781
7781
|
const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
|
|
7782
7782
|
const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
|
|
7783
7783
|
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
7784
|
+
flexGrow: 1,
|
|
7785
|
+
flexShrink: 1,
|
|
7784
7786
|
...props,
|
|
7785
7787
|
paddingX: "kitt.fullscreenModal.horizontalPadding",
|
|
7786
7788
|
paddingTop: paddingTop,
|
|
@@ -8058,28 +8060,31 @@ function FullscreenModalHeader({
|
|
|
8058
8060
|
}
|
|
8059
8061
|
|
|
8060
8062
|
function FullscreenModal({
|
|
8063
|
+
children,
|
|
8061
8064
|
body,
|
|
8062
8065
|
header,
|
|
8063
8066
|
footer,
|
|
8064
8067
|
backgroundColor
|
|
8065
8068
|
}) {
|
|
8066
|
-
return /*#__PURE__*/jsxRuntime.
|
|
8069
|
+
return /*#__PURE__*/jsxRuntime.jsx(FullscreenModalContainer, {
|
|
8067
8070
|
backgroundColor: backgroundColor,
|
|
8068
|
-
children:
|
|
8069
|
-
children: header
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8071
|
+
children: children || /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
8072
|
+
children: [header ? /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
8073
|
+
children: header
|
|
8074
|
+
}) : null, /*#__PURE__*/jsxRuntime.jsxs(View, {
|
|
8075
|
+
flexGrow: 1,
|
|
8076
|
+
flexShrink: 1,
|
|
8077
|
+
justifyContent: "space-between",
|
|
8078
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
|
|
8079
|
+
bounces: false,
|
|
8080
|
+
contentContainerStyle: {
|
|
8081
|
+
flexGrow: 1,
|
|
8082
|
+
position: 'relative'
|
|
8083
|
+
},
|
|
8084
|
+
children: body
|
|
8085
|
+
}), footer || null]
|
|
8086
|
+
})]
|
|
8087
|
+
})
|
|
8083
8088
|
});
|
|
8084
8089
|
}
|
|
8085
8090
|
FullscreenModal.Header = FullscreenModalHeader;
|
|
@@ -11509,13 +11514,17 @@ function NavigationModal({
|
|
|
11509
11514
|
body,
|
|
11510
11515
|
backgroundColor,
|
|
11511
11516
|
footer,
|
|
11512
|
-
header
|
|
11517
|
+
header,
|
|
11518
|
+
children
|
|
11513
11519
|
}) {
|
|
11514
11520
|
const Component = useBreakpointValue({
|
|
11515
11521
|
base: FullscreenModal,
|
|
11516
11522
|
small: CardModal
|
|
11517
11523
|
});
|
|
11518
|
-
return /*#__PURE__*/jsxRuntime.jsx(Component, {
|
|
11524
|
+
return children ? /*#__PURE__*/jsxRuntime.jsx(Component, {
|
|
11525
|
+
backgroundColor: backgroundColor,
|
|
11526
|
+
children: children
|
|
11527
|
+
}) : /*#__PURE__*/jsxRuntime.jsx(Component, {
|
|
11519
11528
|
body: body,
|
|
11520
11529
|
backgroundColor: backgroundColor,
|
|
11521
11530
|
footer: footer,
|