@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
|
@@ -7758,6 +7758,8 @@ function FullscreenModalBody({
|
|
|
7758
7758
|
const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
|
|
7759
7759
|
const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
|
|
7760
7760
|
return /*#__PURE__*/jsx(View, {
|
|
7761
|
+
flexGrow: 1,
|
|
7762
|
+
flexShrink: 1,
|
|
7761
7763
|
...props,
|
|
7762
7764
|
paddingX: "kitt.fullscreenModal.horizontalPadding",
|
|
7763
7765
|
paddingTop: paddingTop,
|
|
@@ -8035,28 +8037,31 @@ function FullscreenModalHeader({
|
|
|
8035
8037
|
}
|
|
8036
8038
|
|
|
8037
8039
|
function FullscreenModal({
|
|
8040
|
+
children,
|
|
8038
8041
|
body,
|
|
8039
8042
|
header,
|
|
8040
8043
|
footer,
|
|
8041
8044
|
backgroundColor
|
|
8042
8045
|
}) {
|
|
8043
|
-
return /*#__PURE__*/
|
|
8046
|
+
return /*#__PURE__*/jsx(FullscreenModalContainer, {
|
|
8044
8047
|
backgroundColor: backgroundColor,
|
|
8045
|
-
children:
|
|
8046
|
-
children: header
|
|
8047
|
-
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8048
|
+
children: children || /*#__PURE__*/jsxs(Fragment, {
|
|
8049
|
+
children: [header ? /*#__PURE__*/jsx(View, {
|
|
8050
|
+
children: header
|
|
8051
|
+
}) : null, /*#__PURE__*/jsxs(View, {
|
|
8052
|
+
flexGrow: 1,
|
|
8053
|
+
flexShrink: 1,
|
|
8054
|
+
justifyContent: "space-between",
|
|
8055
|
+
children: [/*#__PURE__*/jsx(ScrollView$2, {
|
|
8056
|
+
bounces: false,
|
|
8057
|
+
contentContainerStyle: {
|
|
8058
|
+
flexGrow: 1,
|
|
8059
|
+
position: 'relative'
|
|
8060
|
+
},
|
|
8061
|
+
children: body
|
|
8062
|
+
}), footer || null]
|
|
8063
|
+
})]
|
|
8064
|
+
})
|
|
8060
8065
|
});
|
|
8061
8066
|
}
|
|
8062
8067
|
FullscreenModal.Header = FullscreenModalHeader;
|
|
@@ -11486,13 +11491,17 @@ function NavigationModal({
|
|
|
11486
11491
|
body,
|
|
11487
11492
|
backgroundColor,
|
|
11488
11493
|
footer,
|
|
11489
|
-
header
|
|
11494
|
+
header,
|
|
11495
|
+
children
|
|
11490
11496
|
}) {
|
|
11491
11497
|
const Component = useBreakpointValue({
|
|
11492
11498
|
base: FullscreenModal,
|
|
11493
11499
|
small: CardModal
|
|
11494
11500
|
});
|
|
11495
|
-
return /*#__PURE__*/jsx(Component, {
|
|
11501
|
+
return children ? /*#__PURE__*/jsx(Component, {
|
|
11502
|
+
backgroundColor: backgroundColor,
|
|
11503
|
+
children: children
|
|
11504
|
+
}) : /*#__PURE__*/jsx(Component, {
|
|
11496
11505
|
body: body,
|
|
11497
11506
|
backgroundColor: backgroundColor,
|
|
11498
11507
|
footer: footer,
|