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