@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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [25.49.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.48.0...@ornikar/kitt-universal@25.49.0) (2025-04-10)
7
+
8
+
9
+ ### Features
10
+
11
+ * **kitt-universal:** remove content container on modals [no issue] ([#2578](https://github.com/ornikar/kitt/issues/2578)) ([bc18625](https://github.com/ornikar/kitt/commit/bc186258e91565ca1c5d5df151af0a785b283b1a))
12
+
13
+
14
+
6
15
  ## [25.48.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.47.1...@ornikar/kitt-universal@25.48.0) (2025-04-03)
7
16
 
8
17
 
@@ -1,6 +1,6 @@
1
1
  import type { BottomSheetModalProps } from '@gorhom/bottom-sheet';
2
2
  import { BottomSheetBackdrop, BottomSheetFlatList, BottomSheetFooter, BottomSheetHandle, BottomSheetModal, BottomSheetScrollView, BottomSheetSectionList, BottomSheetTextInput, BottomSheetView } from '@gorhom/bottom-sheet';
3
- import type { ComponentType, ForwardedRef, PropsWithChildren, ReactNode, Ref } from 'react';
3
+ import type { ComponentType, ForwardedRef, ReactNode, Ref } from 'react';
4
4
  import type { Except } from 'type-fest';
5
5
  import type { ViewProps } from '../native-base/primitives';
6
6
  export interface BottomSheetProps<Data = never> extends Except<BottomSheetModalProps, 'children' | 'topInset'> {
@@ -8,9 +8,8 @@ export interface BottomSheetProps<Data = never> extends Except<BottomSheetModalP
8
8
  hasScrollView?: boolean;
9
9
  hasHandle?: boolean;
10
10
  hasBackdrop?: boolean;
11
- contentContainer?: (props: PropsWithChildren) => ReactNode;
12
11
  }
13
- declare function BottomSheetComp<Data extends JSX.IntrinsicAttributes = Record<string, never>>({ children: Content, hasScrollView, hasBackdrop, hasHandle, enableDynamicSizing, snapPoints, contentContainer: ContentContainer, ...rest }: BottomSheetProps<Data>, ref: Ref<BottomSheetModal>): ReactNode;
12
+ declare function BottomSheetComp<Data extends JSX.IntrinsicAttributes = Record<string, never>>({ children: Content, hasScrollView, hasBackdrop, hasHandle, enableDynamicSizing, snapPoints, ...rest }: BottomSheetProps<Data>, ref: Ref<BottomSheetModal>): ReactNode;
14
13
  declare function BottomSheetContainerView(props: ViewProps): ReactNode;
15
14
  export declare const BottomSheet: (<Data = never>(props: BottomSheetProps<Data> & {
16
15
  ref?: ForwardedRef<import("@gorhom/bottom-sheet/lib/typescript/types").BottomSheetModalMethods> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../src/BottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EAChB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,iBAAiB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAG5F,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG3D,MAAM,WAAW,gBAAgB,CAAC,IAAI,GAAG,KAAK,CAAE,SAAQ,MAAM,CAAC,qBAAqB,EAAE,UAAU,GAAG,UAAU,CAAC;IAC5G,QAAQ,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC;IAC3C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,E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S,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,WAAW,gBAAgB,CAAC,IAAI,GAAG,KAAK,CAAE,SAAQ,MAAM,CAAC,qBAAqB,EAAE,UAAU,GAAG,UAAU,CAAC;IAC5G,QAAQ,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC;IAC3C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,iBAAS,eAAe,CAAC,IAAI,SAAS,GAAG,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACnF,EACE,QAAQ,EAAE,OAAO,EACjB,aAAqB,EACrB,WAAkB,EAClB,SAAgB,EAChB,mBAA0B,EAC1B,UAAqB,EACrB,GAAG,IAAI,EACR,EAAE,gBAAgB,CAAC,IAAI,CAAC,EACzB,GAAG,EAAE,GAAG,CAAC,gBAAgB,CAAC,GACzB,SAAS,CA2BX;AAED,iBAAS,wBAAwB,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAE7D;AAED,eAAO,MAAM,WAAW;;MAEnB,WAAW,sBAAsB,CAAC;UAC/B,+BAA+B;eAC1B,sBAAsB;gBACrB,4BAA4B;iBAC3B,6BAA6B;cAChC,0BAA0B;YAC5B,wBAAwB;cACtB,0BAA0B;YAC5B,wBAAwB;eACrB,2BAA2B;CACvC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { PropsWithChildren, ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  import type { Except } from 'type-fest';
3
3
  import type { ViewProps } from '../native-base/primitives';
4
4
  import { CardModalBehaviour } from './CardModalBehaviour';
@@ -7,7 +7,6 @@ import { CardModalFooter } from './CardModalFooter';
7
7
  import { CardModalHeader } from './CardModalHeader';
8
8
  interface BaseCardModalProps extends Except<ViewProps, 'children'> {
9
9
  withoutShadow?: boolean;
10
- contentContainer?: (props: PropsWithChildren) => ReactNode;
11
10
  }
12
11
  interface CardModalWithChildren extends BaseCardModalProps {
13
12
  children: ReactNode;
@@ -22,7 +21,7 @@ interface CardModalWithoutChildren extends BaseCardModalProps {
22
21
  body: ReactNode;
23
22
  }
24
23
  export type CardModalProps = CardModalWithChildren | CardModalWithoutChildren;
25
- export declare function CardModal({ backgroundColor, maxWidth, withoutShadow, children, header, body, footer, contentContainer: ContentContainer, ...props }: CardModalProps): ReactNode;
24
+ export declare function CardModal({ backgroundColor, maxWidth, withoutShadow, children, header, body, footer, ...props }: CardModalProps): ReactNode;
26
25
  export declare namespace CardModal {
27
26
  var Body: typeof CardModalBody;
28
27
  var Header: typeof CardModalHeader;
@@ -1 +1 @@
1
- {"version":3,"file":"CardModal.d.ts","sourceRoot":"","sources":["../../../src/CardModal/CardModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,UAAU,kBAAmB,SAAQ,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC;IAChE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,SAAS,CAAC;CAC5D;AAED,UAAU,qBAAsB,SAAQ,kBAAkB;IACxD,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,MAAM,CAAC,EAAE,KAAK,CAA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AAED,UAAU,wBAAyB,SAAQ,kBAAkB;IAC3D,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,MAAM,MAAM,cAAc,GAAG,qBAAqB,GAAG,wBAAwB,CAAC;AAE9E,wBAAgB,SAAS,CAAC,EACxB,eAA0C,EAC1C,QAAoC,EACpC,aAAa,EACb,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,MAAM,EACN,GAAG,KAAK,EACT,EAAE,cAAc,GAAG,SAAS,CAsB5B;yBA/Be,SAAS"}
@@ -1,4 +1,4 @@
1
- import type { PropsWithChildren, ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  import type { ViewProps } from '..';
3
3
  import { FullscreenModalBody } from './Body';
4
4
  import { FullscreenModalFooter } from './Footer';
@@ -8,10 +8,9 @@ export interface FullscreenModalProps {
8
8
  header?: ReactNode;
9
9
  footer?: ReactNode;
10
10
  body: ReactNode;
11
- contentContainer?: (props: PropsWithChildren) => ReactNode;
12
11
  backgroundColor?: ViewProps['backgroundColor'];
13
12
  }
14
- export declare function FullscreenModal({ body, header, footer, backgroundColor, contentContainer: ContentContainer, }: FullscreenModalProps): ReactNode;
13
+ export declare function FullscreenModal({ body, header, footer, backgroundColor }: FullscreenModalProps): ReactNode;
15
14
  export declare namespace FullscreenModal {
16
15
  var Header: typeof FullscreenModalHeader;
17
16
  var Footer: typeof FullscreenModalFooter;
@@ -1 +1 @@
1
- {"version":3,"file":"FullscreenModal.d.ts","sourceRoot":"","sources":["../../../src/FullscreenModal/FullscreenModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAGpC,OAAO,EAAE,mBAAmB,EAAE,MAAM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AAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,oBAAoB,GAAG,SAAS,CAY1G;yBAZe,eAAe"}
@@ -9,7 +9,7 @@ import type { FullscreenModalHeaderProps } from '../FullscreenModal/Header';
9
9
  import { NavigationModalBehaviour } from './NavigationModalBehaviour';
10
10
  export interface NavigationModalProps extends FullscreenModalProps {
11
11
  }
12
- export declare function NavigationModal({ body, backgroundColor, footer, header, contentContainer, }: NavigationModalProps): ReactNode;
12
+ export declare function NavigationModal({ body, backgroundColor, footer, header }: NavigationModalProps): ReactNode;
13
13
  export declare namespace NavigationModal {
14
14
  var Header: (props: HeaderProps) => ReactNode;
15
15
  var Body: (props: BodyProps) => ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationModal.d.ts","sourceRoot":"","sources":["../../../src/NavigationModal/NavigationModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;CAAG;AAErE,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,eAAe,EACf,MAAM,EACN,MAAM,EACN,gBAAgB,GACjB,EAAE,oBAAoB,GAAG,SAAS,CAelC;yBArBe,eAAe;;;;;;AAuB/B,KAAK,WAAW,GAAG,oBAAoB,GAAG,0BAA0B,CAAC;AAUrE,KAAK,SAAS,GAAG,kBAAkB,GAAG,wBAAwB,CAAC;AAU/D,KAAK,WAAW,GAAG,oBAAoB,GAAG,0BAA0B,CAAC"}
1
+ {"version":3,"file":"NavigationModal.d.ts","sourceRoot":"","sources":["../../../src/NavigationModal/NavigationModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;CAAG;AAErE,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,oBAAoB,GAAG,SAAS,CAO1G;yBAPe,eAAe;;;;;;AAS/B,KAAK,WAAW,GAAG,oBAAoB,GAAG,0BAA0B,CAAC;AAUrE,KAAK,SAAS,GAAG,kBAAkB,GAAG,wBAAwB,CAAC;AAU/D,KAAK,WAAW,GAAG,oBAAoB,GAAG,0BAA0B,CAAC"}
@@ -3804,25 +3804,7 @@ function Avatar(_ref) {
3804
3804
  });
3805
3805
  }
3806
3806
 
3807
- /**
3808
- * A utility component that returns its children without any modifications.
3809
- *
3810
- * This component acts as an identity function for React elements - it simply returns
3811
- * whatever children are passed to it. It can be useful in conditional rendering patterns,
3812
- * component composition, or as a placeholder in component hierarchies.
3813
- *
3814
- * @returns The children as they were passed in, without any wrapper elements
3815
- *
3816
- * @example
3817
- * See CardModal and FullscreenModal for usage examples.
3818
- */
3819
- function IdentityComponent({
3820
- children
3821
- }) {
3822
- return children;
3823
- }
3824
-
3825
- const _excluded$M = ["children", "hasScrollView", "hasBackdrop", "hasHandle", "enableDynamicSizing", "snapPoints", "contentContainer"];
3807
+ const _excluded$M = ["children", "hasScrollView", "hasBackdrop", "hasHandle", "enableDynamicSizing", "snapPoints"];
3826
3808
  function BottomSheetComp(_ref, ref) {
3827
3809
  let {
3828
3810
  children: Content,
@@ -3830,8 +3812,7 @@ function BottomSheetComp(_ref, ref) {
3830
3812
  hasBackdrop = true,
3831
3813
  hasHandle = true,
3832
3814
  enableDynamicSizing = true,
3833
- snapPoints = ['100%'],
3834
- contentContainer: ContentContainer = IdentityComponent
3815
+ snapPoints = ['100%']
3835
3816
  } = _ref,
3836
3817
  rest = _objectWithoutProperties(_ref, _excluded$M);
3837
3818
  const {
@@ -3859,9 +3840,7 @@ function BottomSheetComp(_ref, ref) {
3859
3840
  }, rest), {}, {
3860
3841
  topInset: top,
3861
3842
  children: props => /*#__PURE__*/jsx(Wrapper, {
3862
- children: /*#__PURE__*/jsx(ContentContainer, {
3863
- children: typeof Content === 'function' ? /*#__PURE__*/jsx(Content, _objectSpread({}, props === null || props === void 0 ? void 0 : props.data)) : Content
3864
- })
3843
+ children: typeof Content === 'function' ? /*#__PURE__*/jsx(Content, _objectSpread({}, props === null || props === void 0 ? void 0 : props.data)) : Content
3865
3844
  })
3866
3845
  }));
3867
3846
  }
@@ -4258,7 +4237,7 @@ function CardModalHeader(_ref) {
4258
4237
  }));
4259
4238
  }
4260
4239
 
4261
- const _excluded$H = ["backgroundColor", "maxWidth", "withoutShadow", "children", "header", "body", "footer", "contentContainer"];
4240
+ const _excluded$H = ["backgroundColor", "maxWidth", "withoutShadow", "children", "header", "body", "footer"];
4262
4241
  function CardModal(_ref) {
4263
4242
  let {
4264
4243
  backgroundColor = 'kitt.uiBackgroundLight',
@@ -4267,8 +4246,7 @@ function CardModal(_ref) {
4267
4246
  children,
4268
4247
  header,
4269
4248
  body,
4270
- footer,
4271
- contentContainer: ContentContainer = IdentityComponent
4249
+ footer
4272
4250
  } = _ref,
4273
4251
  props = _objectWithoutProperties(_ref, _excluded$H);
4274
4252
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
@@ -4280,10 +4258,8 @@ function CardModal(_ref) {
4280
4258
  maxHeight: "100%",
4281
4259
  maxWidth: maxWidth,
4282
4260
  minHeight: "kitt.cardModal.minHeight",
4283
- children: /*#__PURE__*/jsx(ContentContainer, {
4284
- children: children || /*#__PURE__*/jsxs(Fragment, {
4285
- children: [header || null, body || null, footer || null]
4286
- })
4261
+ children: children || /*#__PURE__*/jsxs(Fragment, {
4262
+ children: [header || null, body || null, footer || null]
4287
4263
  })
4288
4264
  }));
4289
4265
  }
@@ -8087,28 +8063,25 @@ function FullscreenModal({
8087
8063
  body,
8088
8064
  header,
8089
8065
  footer,
8090
- backgroundColor,
8091
- contentContainer: ContentContainer = IdentityComponent
8066
+ backgroundColor
8092
8067
  }) {
8093
- return /*#__PURE__*/jsx(FullscreenModalContainer, {
8068
+ return /*#__PURE__*/jsxs(FullscreenModalContainer, {
8094
8069
  backgroundColor: backgroundColor,
8095
- children: /*#__PURE__*/jsxs(ContentContainer, {
8096
- children: [header ? /*#__PURE__*/jsx(View, {
8097
- children: header
8098
- }) : null, /*#__PURE__*/jsxs(View, {
8099
- flexGrow: 1,
8100
- flexShrink: 1,
8101
- justifyContent: "space-between",
8102
- children: [/*#__PURE__*/jsx(ScrollView$2, {
8103
- bounces: false,
8104
- contentContainerStyle: {
8105
- flexGrow: 1,
8106
- position: 'relative'
8107
- },
8108
- children: body
8109
- }), footer || null]
8110
- })]
8111
- })
8070
+ children: [header ? /*#__PURE__*/jsx(View, {
8071
+ children: header
8072
+ }) : null, /*#__PURE__*/jsxs(View, {
8073
+ flexGrow: 1,
8074
+ flexShrink: 1,
8075
+ justifyContent: "space-between",
8076
+ children: [/*#__PURE__*/jsx(ScrollView$2, {
8077
+ bounces: false,
8078
+ contentContainerStyle: {
8079
+ flexGrow: 1,
8080
+ position: 'relative'
8081
+ },
8082
+ children: body
8083
+ }), footer || null]
8084
+ })]
8112
8085
  });
8113
8086
  }
8114
8087
  FullscreenModal.Header = FullscreenModalHeader;
@@ -11529,8 +11502,7 @@ function NavigationModal({
11529
11502
  body,
11530
11503
  backgroundColor,
11531
11504
  footer,
11532
- header,
11533
- contentContainer
11505
+ header
11534
11506
  }) {
11535
11507
  const Component = useBreakpointValue({
11536
11508
  base: FullscreenModal,
@@ -11540,8 +11512,7 @@ function NavigationModal({
11540
11512
  body: body,
11541
11513
  backgroundColor: backgroundColor,
11542
11514
  footer: footer,
11543
- header: header,
11544
- contentContainer: contentContainer
11515
+ header: header
11545
11516
  });
11546
11517
  }
11547
11518
  function Header(props) {