@ornikar/kitt-universal 25.48.0 → 25.49.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.
@@ -3811,24 +3811,6 @@ function useStaticBottomSheet(Content) {
3811
3811
  };
3812
3812
  }
3813
3813
 
3814
- /**
3815
- * A utility component that returns its children without any modifications.
3816
- *
3817
- * This component acts as an identity function for React elements - it simply returns
3818
- * whatever children are passed to it. It can be useful in conditional rendering patterns,
3819
- * component composition, or as a placeholder in component hierarchies.
3820
- *
3821
- * @returns The children as they were passed in, without any wrapper elements
3822
- *
3823
- * @example
3824
- * See CardModal and FullscreenModal for usage examples.
3825
- */
3826
- function IdentityComponent({
3827
- children
3828
- }) {
3829
- return children;
3830
- }
3831
-
3832
3814
  const overflowHidden = "kitt-u_overflowHidden_otm3u3";
3833
3815
  function useBlockBodyScroll(shouldBlockScroll, isInitialRender) {
3834
3816
  useEffect(() => {
@@ -4140,7 +4122,6 @@ function CardModal({
4140
4122
  header,
4141
4123
  body,
4142
4124
  footer,
4143
- contentContainer: ContentContainer = IdentityComponent,
4144
4125
  ...props
4145
4126
  }) {
4146
4127
  return /*#__PURE__*/jsx(View, {
@@ -4153,10 +4134,8 @@ function CardModal({
4153
4134
  maxHeight: "100%",
4154
4135
  maxWidth: maxWidth,
4155
4136
  minHeight: "kitt.cardModal.minHeight",
4156
- children: /*#__PURE__*/jsx(ContentContainer, {
4157
- children: children || /*#__PURE__*/jsxs(Fragment, {
4158
- children: [header || null, body || null, footer || null]
4159
- })
4137
+ children: children || /*#__PURE__*/jsxs(Fragment, {
4138
+ children: [header || null, body || null, footer || null]
4160
4139
  })
4161
4140
  });
4162
4141
  }
@@ -7230,28 +7209,25 @@ function FullscreenModal({
7230
7209
  body,
7231
7210
  header,
7232
7211
  footer,
7233
- backgroundColor,
7234
- contentContainer: ContentContainer = IdentityComponent
7212
+ backgroundColor
7235
7213
  }) {
7236
- return /*#__PURE__*/jsx(FullscreenModalContainer, {
7214
+ return /*#__PURE__*/jsxs(FullscreenModalContainer, {
7237
7215
  backgroundColor: backgroundColor,
7238
- children: /*#__PURE__*/jsxs(ContentContainer, {
7239
- children: [header ? /*#__PURE__*/jsx(View, {
7240
- children: header
7241
- }) : null, /*#__PURE__*/jsxs(View, {
7242
- flexGrow: 1,
7243
- flexShrink: 1,
7244
- justifyContent: "space-between",
7245
- children: [/*#__PURE__*/jsx(ScrollView$2, {
7246
- bounces: false,
7247
- contentContainerStyle: {
7248
- flexGrow: 1,
7249
- position: 'relative'
7250
- },
7251
- children: body
7252
- }), footer || null]
7253
- })]
7254
- })
7216
+ children: [header ? /*#__PURE__*/jsx(View, {
7217
+ children: header
7218
+ }) : null, /*#__PURE__*/jsxs(View, {
7219
+ flexGrow: 1,
7220
+ flexShrink: 1,
7221
+ justifyContent: "space-between",
7222
+ children: [/*#__PURE__*/jsx(ScrollView$2, {
7223
+ bounces: false,
7224
+ contentContainerStyle: {
7225
+ flexGrow: 1,
7226
+ position: 'relative'
7227
+ },
7228
+ children: body
7229
+ }), footer || null]
7230
+ })]
7255
7231
  });
7256
7232
  }
7257
7233
  FullscreenModal.Header = FullscreenModalHeader;
@@ -10785,8 +10761,7 @@ function NavigationModal({
10785
10761
  body,
10786
10762
  backgroundColor,
10787
10763
  footer,
10788
- header,
10789
- contentContainer
10764
+ header
10790
10765
  }) {
10791
10766
  const Component = useBreakpointValue({
10792
10767
  base: FullscreenModal,
@@ -10796,8 +10771,7 @@ function NavigationModal({
10796
10771
  body: body,
10797
10772
  backgroundColor: backgroundColor,
10798
10773
  footer: footer,
10799
- header: header,
10800
- contentContainer: contentContainer
10774
+ header: header
10801
10775
  });
10802
10776
  }
10803
10777
  function Header(props) {