@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.
@@ -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.jsxs(FullscreenModalContainer, {
8069
+ return /*#__PURE__*/jsxRuntime.jsx(FullscreenModalContainer, {
8067
8070
  backgroundColor: backgroundColor,
8068
- children: [header ? /*#__PURE__*/jsxRuntime.jsx(View, {
8069
- children: header
8070
- }) : null, /*#__PURE__*/jsxRuntime.jsxs(View, {
8071
- flexGrow: 1,
8072
- flexShrink: 1,
8073
- justifyContent: "space-between",
8074
- children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
8075
- bounces: false,
8076
- contentContainerStyle: {
8077
- flexGrow: 1,
8078
- position: 'relative'
8079
- },
8080
- children: body
8081
- }), footer || null]
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,