@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.
@@ -7183,7 +7183,10 @@ function FullscreenModalBody(_ref) {
7183
7183
  verticalPadding = _useTheme.kitt.fullscreenModal.body.verticalPadding;
7184
7184
  var paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
7185
7185
  var paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
7186
- return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
7186
+ return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
7187
+ flexGrow: 1,
7188
+ flexShrink: 1
7189
+ }, props), {}, {
7187
7190
  paddingX: "kitt.fullscreenModal.horizontalPadding",
7188
7191
  paddingTop: paddingTop,
7189
7192
  paddingBottom: paddingBottom,
@@ -7396,27 +7399,30 @@ function FullscreenModalHeader(_ref) {
7396
7399
  }
7397
7400
 
7398
7401
  function FullscreenModal(_ref) {
7399
- var body = _ref.body,
7402
+ var children = _ref.children,
7403
+ body = _ref.body,
7400
7404
  header = _ref.header,
7401
7405
  footer = _ref.footer,
7402
7406
  backgroundColor = _ref.backgroundColor;
7403
- return /*#__PURE__*/jsxs(FullscreenModalContainer, {
7407
+ return /*#__PURE__*/jsx(FullscreenModalContainer, {
7404
7408
  backgroundColor: backgroundColor,
7405
- children: [header ? /*#__PURE__*/jsx(View, {
7406
- children: header
7407
- }) : null, /*#__PURE__*/jsxs(View, {
7408
- flexGrow: 1,
7409
- flexShrink: 1,
7410
- justifyContent: "space-between",
7411
- children: [/*#__PURE__*/jsx(ScrollView$2, {
7412
- bounces: false,
7413
- contentContainerStyle: {
7414
- flexGrow: 1,
7415
- position: 'relative'
7416
- },
7417
- children: body
7418
- }), footer || null]
7419
- })]
7409
+ children: children || /*#__PURE__*/jsxs(Fragment, {
7410
+ children: [header ? /*#__PURE__*/jsx(View, {
7411
+ children: header
7412
+ }) : null, /*#__PURE__*/jsxs(View, {
7413
+ flexGrow: 1,
7414
+ flexShrink: 1,
7415
+ justifyContent: "space-between",
7416
+ children: [/*#__PURE__*/jsx(ScrollView$2, {
7417
+ bounces: false,
7418
+ contentContainerStyle: {
7419
+ flexGrow: 1,
7420
+ position: 'relative'
7421
+ },
7422
+ children: body
7423
+ }), footer || null]
7424
+ })]
7425
+ })
7420
7426
  });
7421
7427
  }
7422
7428
  FullscreenModal.Header = FullscreenModalHeader;
@@ -10957,12 +10963,16 @@ function NavigationModal(_ref) {
10957
10963
  var body = _ref.body,
10958
10964
  backgroundColor = _ref.backgroundColor,
10959
10965
  footer = _ref.footer,
10960
- header = _ref.header;
10966
+ header = _ref.header,
10967
+ children = _ref.children;
10961
10968
  var Component = useBreakpointValue({
10962
10969
  base: FullscreenModal,
10963
10970
  small: CardModal
10964
10971
  });
10965
- return /*#__PURE__*/jsx(Component, {
10972
+ return children ? /*#__PURE__*/jsx(Component, {
10973
+ backgroundColor: backgroundColor,
10974
+ children: children
10975
+ }) : /*#__PURE__*/jsx(Component, {
10966
10976
  body: body,
10967
10977
  backgroundColor: backgroundColor,
10968
10978
  footer: footer,