@ornikar/kitt-universal 25.51.0 → 25.51.1-canary.d67b65db8008c1a8549aa9a6ef5ca833bbea3980.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.
@@ -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__*/jsxs(FullscreenModalContainer, {
8046
+ return /*#__PURE__*/jsx(FullscreenModalContainer, {
8044
8047
  backgroundColor: backgroundColor,
8045
- children: [header ? /*#__PURE__*/jsx(View, {
8046
- children: header
8047
- }) : null, /*#__PURE__*/jsxs(View, {
8048
- flexGrow: 1,
8049
- flexShrink: 1,
8050
- justifyContent: "space-between",
8051
- children: [/*#__PURE__*/jsx(ScrollView$2, {
8052
- bounces: false,
8053
- contentContainerStyle: {
8054
- flexGrow: 1,
8055
- position: 'relative'
8056
- },
8057
- children: body
8058
- }), footer || null]
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,