@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.
@@ -7004,6 +7004,8 @@ function FullscreenModalBody({
7004
7004
  const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
7005
7005
  const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
7006
7006
  return /*#__PURE__*/jsxRuntime.jsx(View, {
7007
+ flexGrow: 1,
7008
+ flexShrink: 1,
7007
7009
  ...props,
7008
7010
  paddingX: "kitt.fullscreenModal.horizontalPadding",
7009
7011
  paddingTop: paddingTop,
@@ -7216,28 +7218,31 @@ function FullscreenModalHeader({
7216
7218
  }
7217
7219
 
7218
7220
  function FullscreenModal({
7221
+ children,
7219
7222
  body,
7220
7223
  header,
7221
7224
  footer,
7222
7225
  backgroundColor
7223
7226
  }) {
7224
- return /*#__PURE__*/jsxRuntime.jsxs(FullscreenModalContainer, {
7227
+ return /*#__PURE__*/jsxRuntime.jsx(FullscreenModalContainer, {
7225
7228
  backgroundColor: backgroundColor,
7226
- children: [header ? /*#__PURE__*/jsxRuntime.jsx(View, {
7227
- children: header
7228
- }) : null, /*#__PURE__*/jsxRuntime.jsxs(View, {
7229
- flexGrow: 1,
7230
- flexShrink: 1,
7231
- justifyContent: "space-between",
7232
- children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
7233
- bounces: false,
7234
- contentContainerStyle: {
7235
- flexGrow: 1,
7236
- position: 'relative'
7237
- },
7238
- children: body
7239
- }), footer || null]
7240
- })]
7229
+ children: children || /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
7230
+ children: [header ? /*#__PURE__*/jsxRuntime.jsx(View, {
7231
+ children: header
7232
+ }) : null, /*#__PURE__*/jsxRuntime.jsxs(View, {
7233
+ flexGrow: 1,
7234
+ flexShrink: 1,
7235
+ justifyContent: "space-between",
7236
+ children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
7237
+ bounces: false,
7238
+ contentContainerStyle: {
7239
+ flexGrow: 1,
7240
+ position: 'relative'
7241
+ },
7242
+ children: body
7243
+ }), footer || null]
7244
+ })]
7245
+ })
7241
7246
  });
7242
7247
  }
7243
7248
  FullscreenModal.Header = FullscreenModalHeader;
@@ -10771,13 +10776,17 @@ function NavigationModal({
10771
10776
  body,
10772
10777
  backgroundColor,
10773
10778
  footer,
10774
- header
10779
+ header,
10780
+ children
10775
10781
  }) {
10776
10782
  const Component = useBreakpointValue({
10777
10783
  base: FullscreenModal,
10778
10784
  small: CardModal
10779
10785
  });
10780
- return /*#__PURE__*/jsxRuntime.jsx(Component, {
10786
+ return children ? /*#__PURE__*/jsxRuntime.jsx(Component, {
10787
+ backgroundColor: backgroundColor,
10788
+ children: children
10789
+ }) : /*#__PURE__*/jsxRuntime.jsx(Component, {
10781
10790
  body: body,
10782
10791
  backgroundColor: backgroundColor,
10783
10792
  footer: footer,