@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.
@@ -3818,24 +3818,6 @@ function useStaticBottomSheet(Content) {
3818
3818
  };
3819
3819
  }
3820
3820
 
3821
- /**
3822
- * A utility component that returns its children without any modifications.
3823
- *
3824
- * This component acts as an identity function for React elements - it simply returns
3825
- * whatever children are passed to it. It can be useful in conditional rendering patterns,
3826
- * component composition, or as a placeholder in component hierarchies.
3827
- *
3828
- * @returns The children as they were passed in, without any wrapper elements
3829
- *
3830
- * @example
3831
- * See CardModal and FullscreenModal for usage examples.
3832
- */
3833
- function IdentityComponent({
3834
- children
3835
- }) {
3836
- return children;
3837
- }
3838
-
3839
3821
  const overflowHidden = "kitt-u_overflowHidden_otm3u3";
3840
3822
  function useBlockBodyScroll(shouldBlockScroll, isInitialRender) {
3841
3823
  react.useEffect(() => {
@@ -4147,7 +4129,6 @@ function CardModal({
4147
4129
  header,
4148
4130
  body,
4149
4131
  footer,
4150
- contentContainer: ContentContainer = IdentityComponent,
4151
4132
  ...props
4152
4133
  }) {
4153
4134
  return /*#__PURE__*/jsxRuntime.jsx(View, {
@@ -4160,10 +4141,8 @@ function CardModal({
4160
4141
  maxHeight: "100%",
4161
4142
  maxWidth: maxWidth,
4162
4143
  minHeight: "kitt.cardModal.minHeight",
4163
- children: /*#__PURE__*/jsxRuntime.jsx(ContentContainer, {
4164
- children: children || /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
4165
- children: [header || null, body || null, footer || null]
4166
- })
4144
+ children: children || /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
4145
+ children: [header || null, body || null, footer || null]
4167
4146
  })
4168
4147
  });
4169
4148
  }
@@ -7237,28 +7216,25 @@ function FullscreenModal({
7237
7216
  body,
7238
7217
  header,
7239
7218
  footer,
7240
- backgroundColor,
7241
- contentContainer: ContentContainer = IdentityComponent
7219
+ backgroundColor
7242
7220
  }) {
7243
- return /*#__PURE__*/jsxRuntime.jsx(FullscreenModalContainer, {
7221
+ return /*#__PURE__*/jsxRuntime.jsxs(FullscreenModalContainer, {
7244
7222
  backgroundColor: backgroundColor,
7245
- children: /*#__PURE__*/jsxRuntime.jsxs(ContentContainer, {
7246
- children: [header ? /*#__PURE__*/jsxRuntime.jsx(View, {
7247
- children: header
7248
- }) : null, /*#__PURE__*/jsxRuntime.jsxs(View, {
7249
- flexGrow: 1,
7250
- flexShrink: 1,
7251
- justifyContent: "space-between",
7252
- children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
7253
- bounces: false,
7254
- contentContainerStyle: {
7255
- flexGrow: 1,
7256
- position: 'relative'
7257
- },
7258
- children: body
7259
- }), footer || null]
7260
- })]
7261
- })
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
+ })]
7262
7238
  });
7263
7239
  }
7264
7240
  FullscreenModal.Header = FullscreenModalHeader;
@@ -10792,8 +10768,7 @@ function NavigationModal({
10792
10768
  body,
10793
10769
  backgroundColor,
10794
10770
  footer,
10795
- header,
10796
- contentContainer
10771
+ header
10797
10772
  }) {
10798
10773
  const Component = useBreakpointValue({
10799
10774
  base: FullscreenModal,
@@ -10803,8 +10778,7 @@ function NavigationModal({
10803
10778
  body: body,
10804
10779
  backgroundColor: backgroundColor,
10805
10780
  footer: footer,
10806
- header: header,
10807
- contentContainer: contentContainer
10781
+ header: header
10808
10782
  });
10809
10783
  }
10810
10784
  function Header(props) {