@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.
@@ -6997,6 +6997,8 @@ function FullscreenModalBody({
6997
6997
  const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
6998
6998
  const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
6999
6999
  return /*#__PURE__*/jsx(View, {
7000
+ flexGrow: 1,
7001
+ flexShrink: 1,
7000
7002
  ...props,
7001
7003
  paddingX: "kitt.fullscreenModal.horizontalPadding",
7002
7004
  paddingTop: paddingTop,
@@ -7209,28 +7211,31 @@ function FullscreenModalHeader({
7209
7211
  }
7210
7212
 
7211
7213
  function FullscreenModal({
7214
+ children,
7212
7215
  body,
7213
7216
  header,
7214
7217
  footer,
7215
7218
  backgroundColor
7216
7219
  }) {
7217
- return /*#__PURE__*/jsxs(FullscreenModalContainer, {
7220
+ return /*#__PURE__*/jsx(FullscreenModalContainer, {
7218
7221
  backgroundColor: backgroundColor,
7219
- children: [header ? /*#__PURE__*/jsx(View, {
7220
- children: header
7221
- }) : null, /*#__PURE__*/jsxs(View, {
7222
- flexGrow: 1,
7223
- flexShrink: 1,
7224
- justifyContent: "space-between",
7225
- children: [/*#__PURE__*/jsx(ScrollView$2, {
7226
- bounces: false,
7227
- contentContainerStyle: {
7228
- flexGrow: 1,
7229
- position: 'relative'
7230
- },
7231
- children: body
7232
- }), footer || null]
7233
- })]
7222
+ children: children || /*#__PURE__*/jsxs(Fragment, {
7223
+ children: [header ? /*#__PURE__*/jsx(View, {
7224
+ children: header
7225
+ }) : null, /*#__PURE__*/jsxs(View, {
7226
+ flexGrow: 1,
7227
+ flexShrink: 1,
7228
+ justifyContent: "space-between",
7229
+ children: [/*#__PURE__*/jsx(ScrollView$2, {
7230
+ bounces: false,
7231
+ contentContainerStyle: {
7232
+ flexGrow: 1,
7233
+ position: 'relative'
7234
+ },
7235
+ children: body
7236
+ }), footer || null]
7237
+ })]
7238
+ })
7234
7239
  });
7235
7240
  }
7236
7241
  FullscreenModal.Header = FullscreenModalHeader;
@@ -10764,13 +10769,17 @@ function NavigationModal({
10764
10769
  body,
10765
10770
  backgroundColor,
10766
10771
  footer,
10767
- header
10772
+ header,
10773
+ children
10768
10774
  }) {
10769
10775
  const Component = useBreakpointValue({
10770
10776
  base: FullscreenModal,
10771
10777
  small: CardModal
10772
10778
  });
10773
- return /*#__PURE__*/jsx(Component, {
10779
+ return children ? /*#__PURE__*/jsx(Component, {
10780
+ backgroundColor: backgroundColor,
10781
+ children: children
10782
+ }) : /*#__PURE__*/jsx(Component, {
10774
10783
  body: body,
10775
10784
  backgroundColor: backgroundColor,
10776
10785
  footer: footer,