@ornikar/kitt-universal 25.50.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.
@@ -4171,7 +4171,10 @@ function CardModalBody({
4171
4171
  base: 'kitt.4',
4172
4172
  medium: 'kitt.6'
4173
4173
  },
4174
- paddingY = 'kitt.4',
4174
+ paddingY = {
4175
+ base: 'kitt.4',
4176
+ medium: 'kitt.6'
4177
+ },
4175
4178
  ...props
4176
4179
  }) {
4177
4180
  return /*#__PURE__*/jsxRuntime.jsx(ScrollView, {
@@ -7778,6 +7781,8 @@ function FullscreenModalBody({
7778
7781
  const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
7779
7782
  const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
7780
7783
  return /*#__PURE__*/jsxRuntime.jsx(View, {
7784
+ flexGrow: 1,
7785
+ flexShrink: 1,
7781
7786
  ...props,
7782
7787
  paddingX: "kitt.fullscreenModal.horizontalPadding",
7783
7788
  paddingTop: paddingTop,
@@ -8055,28 +8060,31 @@ function FullscreenModalHeader({
8055
8060
  }
8056
8061
 
8057
8062
  function FullscreenModal({
8063
+ children,
8058
8064
  body,
8059
8065
  header,
8060
8066
  footer,
8061
8067
  backgroundColor
8062
8068
  }) {
8063
- return /*#__PURE__*/jsxRuntime.jsxs(FullscreenModalContainer, {
8069
+ return /*#__PURE__*/jsxRuntime.jsx(FullscreenModalContainer, {
8064
8070
  backgroundColor: backgroundColor,
8065
- children: [header ? /*#__PURE__*/jsxRuntime.jsx(View, {
8066
- children: header
8067
- }) : null, /*#__PURE__*/jsxRuntime.jsxs(View, {
8068
- flexGrow: 1,
8069
- flexShrink: 1,
8070
- justifyContent: "space-between",
8071
- children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
8072
- bounces: false,
8073
- contentContainerStyle: {
8074
- flexGrow: 1,
8075
- position: 'relative'
8076
- },
8077
- children: body
8078
- }), footer || null]
8079
- })]
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
+ })
8080
8088
  });
8081
8089
  }
8082
8090
  FullscreenModal.Header = FullscreenModalHeader;
@@ -11506,13 +11514,17 @@ function NavigationModal({
11506
11514
  body,
11507
11515
  backgroundColor,
11508
11516
  footer,
11509
- header
11517
+ header,
11518
+ children
11510
11519
  }) {
11511
11520
  const Component = useBreakpointValue({
11512
11521
  base: FullscreenModal,
11513
11522
  small: CardModal
11514
11523
  });
11515
- return /*#__PURE__*/jsxRuntime.jsx(Component, {
11524
+ return children ? /*#__PURE__*/jsxRuntime.jsx(Component, {
11525
+ backgroundColor: backgroundColor,
11526
+ children: children
11527
+ }) : /*#__PURE__*/jsxRuntime.jsx(Component, {
11516
11528
  body: body,
11517
11529
  backgroundColor: backgroundColor,
11518
11530
  footer: footer,