@ornikar/kitt-universal 29.4.2-canary.5279d6411761af875ca17c9a8eefbb621d15180d.0 → 29.5.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.
@@ -4072,7 +4072,6 @@ function BottomSheetComp({
4072
4072
  }
4073
4073
  function BottomSheetContainerView(props) {
4074
4074
  return /*#__PURE__*/jsxRuntime.jsx(nativeBase.View, {
4075
- padding: "kitt.bottomSheet.container.padding",
4076
4075
  ...props
4077
4076
  });
4078
4077
  }
@@ -4579,9 +4578,6 @@ function CardModal({
4579
4578
  maxWidth = 'kitt.cardModal.maxWidth',
4580
4579
  withoutShadow,
4581
4580
  children,
4582
- header,
4583
- body,
4584
- footer,
4585
4581
  ...props
4586
4582
  }) {
4587
4583
  return /*#__PURE__*/jsxRuntime.jsx(View, {
@@ -4594,9 +4590,7 @@ function CardModal({
4594
4590
  maxHeight: "100%",
4595
4591
  maxWidth: maxWidth,
4596
4592
  minHeight: "kitt.cardModal.minHeight",
4597
- children: children || /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
4598
- children: [header || null, body || null, footer || null]
4599
- })
4593
+ children: children
4600
4594
  });
4601
4595
  }
4602
4596
  CardModal.Body = CardModalBody;
@@ -8376,30 +8370,11 @@ function FullscreenModalHeader({
8376
8370
 
8377
8371
  function FullscreenModal({
8378
8372
  children,
8379
- body,
8380
- header,
8381
- footer,
8382
8373
  backgroundColor
8383
8374
  }) {
8384
8375
  return /*#__PURE__*/jsxRuntime.jsx(FullscreenModalContainer, {
8385
8376
  backgroundColor: backgroundColor,
8386
- children: children || /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
8387
- children: [header ? /*#__PURE__*/jsxRuntime.jsx(View, {
8388
- children: header
8389
- }) : null, /*#__PURE__*/jsxRuntime.jsxs(View, {
8390
- flexGrow: 1,
8391
- flexShrink: 1,
8392
- justifyContent: "space-between",
8393
- children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
8394
- bounces: false,
8395
- contentContainerStyle: {
8396
- flexGrow: 1,
8397
- position: 'relative'
8398
- },
8399
- children: body
8400
- }), footer || null]
8401
- })]
8402
- })
8377
+ children: children
8403
8378
  });
8404
8379
  }
8405
8380
  FullscreenModal.Header = FullscreenModalHeader;
@@ -11675,12 +11650,14 @@ function NavigationBottomSheetBody(props) {
11675
11650
  flexGrow: 1,
11676
11651
  flexShrink: 1,
11677
11652
  marginBottom: "kitt.4",
11653
+ paddingX: "kitt.bottomSheet.container.padding",
11678
11654
  ...props
11679
11655
  });
11680
11656
  }
11681
11657
  function NavigationBottomSheetFooter(props) {
11682
11658
  return /*#__PURE__*/jsxRuntime.jsx(HStack, {
11683
11659
  width: "100%",
11660
+ paddingX: "kitt.bottomSheet.container.padding",
11684
11661
  ...props
11685
11662
  });
11686
11663
  }
@@ -11739,24 +11716,16 @@ function NavigationModalBehaviour({
11739
11716
  }
11740
11717
 
11741
11718
  function NavigationModal({
11742
- body,
11743
11719
  backgroundColor,
11744
- footer,
11745
- header,
11746
11720
  children
11747
11721
  }) {
11748
11722
  const Component = useBreakpointValue({
11749
11723
  base: FullscreenModal,
11750
11724
  small: CardModal
11751
11725
  });
11752
- return children ? /*#__PURE__*/jsxRuntime.jsx(Component, {
11726
+ return /*#__PURE__*/jsxRuntime.jsx(Component, {
11753
11727
  backgroundColor: backgroundColor,
11754
11728
  children: children
11755
- }) : /*#__PURE__*/jsxRuntime.jsx(Component, {
11756
- body: body,
11757
- backgroundColor: backgroundColor,
11758
- footer: footer,
11759
- header: header
11760
11729
  });
11761
11730
  }
11762
11731
  function Header(props) {