@ornikar/kitt-universal 25.46.0 → 25.46.1-canary.9950f4eb84cbfcf1d45de4e6c9ad226210c5404f.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,17 @@
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.46.1-canary.9950f4eb84cbfcf1d45de4e6c9ad226210c5404f.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.46.0...@ornikar/kitt-universal@25.46.1-canary.9950f4eb84cbfcf1d45de4e6c9ad226210c5404f.0) (2025-03-27)
7
+
8
+
9
+ ### Features
10
+
11
+ * **BottomSheet:** handle override ([4eff30a](https://github.com/ornikar/kitt/commit/4eff30a2c4dcd4afe313a2bb1a769e832a343d36))
12
+ * **CardModal:** handle override ([9950f4e](https://github.com/ornikar/kitt/commit/9950f4eb84cbfcf1d45de4e6c9ad226210c5404f))
13
+ * **FullscreenModal:** handle override ([e7c7f9c](https://github.com/ornikar/kitt/commit/e7c7f9cddb1a062399b7f078356a5fd5a283befc))
14
+
15
+
16
+
6
17
  ## [25.46.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.45.3...@ornikar/kitt-universal@25.46.0) (2025-03-25)
7
18
 
8
19
 
@@ -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, ReactNode, Ref } from 'react';
3
+ import type { ComponentType, ForwardedRef, PropsWithChildren, 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,8 +8,9 @@ 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;
11
12
  }
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;
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;
13
14
  declare function BottomSheetContainerView(props: ViewProps): ReactNode;
14
15
  export declare const BottomSheet: (<Data = never>(props: BottomSheetProps<Data> & {
15
16
  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,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGzE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA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WithChildren, 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,6 +7,7 @@ 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;
10
11
  }
11
12
  interface CardModalWithChildren extends BaseCardModalProps {
12
13
  children: ReactNode;
@@ -21,7 +22,7 @@ interface CardModalWithoutChildren extends BaseCardModalProps {
21
22
  body: ReactNode;
22
23
  }
23
24
  export type CardModalProps = CardModalWithChildren | CardModalWithoutChildren;
24
- export declare function CardModal({ backgroundColor, maxWidth, withoutShadow, children, header, body, footer, ...props }: CardModalProps): ReactNode;
25
+ export declare function CardModal({ backgroundColor, maxWidth, withoutShadow, children, header, body, footer, contentContainer: ContentContainer, ...props }: CardModalProps): ReactNode;
25
26
  export declare namespace CardModal {
26
27
  var Body: typeof CardModalBody;
27
28
  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,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE3D,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,CAA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AC,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,CAAC;IACf,IAAI,CAAC,EAAE,KAAK,CAAC;CACd;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,gBAAgB,EAAE,gBAAuE,EACzF,GAAG,KAAK,EACT,EAAE,cAAc,GAAG,SAAS,CAwB5B;yBAlCe,SAAS"}
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import type { PropsWithChildren, ReactNode } from 'react';
2
2
  import type { ViewProps } from '..';
3
3
  import { FullscreenModalBody } from './Body';
4
4
  import { FullscreenModalFooter } from './Footer';
@@ -8,9 +8,10 @@ export interface FullscreenModalProps {
8
8
  header?: ReactNode;
9
9
  footer?: ReactNode;
10
10
  body: ReactNode;
11
+ contentContainer?: (props: PropsWithChildren) => ReactNode;
11
12
  backgroundColor?: ViewProps['backgroundColor'];
12
13
  }
13
- export declare function FullscreenModal({ body, header, footer, backgroundColor }: FullscreenModalProps): ReactNode;
14
+ export declare function FullscreenModal({ body, header, footer, backgroundColor, contentContainer: ContentContainer, }: FullscreenModalProps): ReactNode;
14
15
  export declare namespace FullscreenModal {
15
16
  var Header: typeof FullscreenModalHeader;
16
17
  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,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAEpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,EAAE,SAAS,CAAC;IAChB,eAAe,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;CAChD;AAED,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,oBAAoB,GAAG,SAAS,CAY1G;yBAZe,eAAe"}
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;AAEpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,EAAE,SAAS,CAAC;IAChB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,SAAS,CAAC;IAC3D,eAAe,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;CAChD;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,MAAM,EACN,MAAM,EACN,eAAe,EACf,gBAAgB,EAAE,gBAA6C,GAChE,EAAE,oBAAoB,GAAG,SAAS,CAclC;yBApBe,eAAe"}
@@ -3804,7 +3804,7 @@ function Avatar(_ref) {
3804
3804
  });
3805
3805
  }
3806
3806
 
3807
- const _excluded$M = ["children", "hasScrollView", "hasBackdrop", "hasHandle", "enableDynamicSizing", "snapPoints"];
3807
+ const _excluded$M = ["children", "hasScrollView", "hasBackdrop", "hasHandle", "enableDynamicSizing", "snapPoints", "contentContainer"];
3808
3808
  function BottomSheetComp(_ref, ref) {
3809
3809
  let {
3810
3810
  children: Content,
@@ -3812,7 +3812,10 @@ function BottomSheetComp(_ref, ref) {
3812
3812
  hasBackdrop = true,
3813
3813
  hasHandle = true,
3814
3814
  enableDynamicSizing = true,
3815
- snapPoints = ['100%']
3815
+ snapPoints = ['100%'],
3816
+ contentContainer: ContentContainer = ({
3817
+ children
3818
+ }) => children
3816
3819
  } = _ref,
3817
3820
  rest = _objectWithoutProperties(_ref, _excluded$M);
3818
3821
  const {
@@ -3840,7 +3843,9 @@ function BottomSheetComp(_ref, ref) {
3840
3843
  }, rest), {}, {
3841
3844
  topInset: top,
3842
3845
  children: props => /*#__PURE__*/jsx(Wrapper, {
3843
- children: typeof Content === 'function' ? /*#__PURE__*/jsx(Content, _objectSpread({}, props === null || props === void 0 ? void 0 : props.data)) : Content
3846
+ children: /*#__PURE__*/jsx(ContentContainer, {
3847
+ children: typeof Content === 'function' ? /*#__PURE__*/jsx(Content, _objectSpread({}, props === null || props === void 0 ? void 0 : props.data)) : Content
3848
+ })
3844
3849
  })
3845
3850
  }));
3846
3851
  }
@@ -4237,7 +4242,7 @@ function CardModalHeader(_ref) {
4237
4242
  }));
4238
4243
  }
4239
4244
 
4240
- const _excluded$H = ["backgroundColor", "maxWidth", "withoutShadow", "children", "header", "body", "footer"];
4245
+ const _excluded$H = ["backgroundColor", "maxWidth", "withoutShadow", "children", "header", "body", "footer", "contentContainer"];
4241
4246
  function CardModal(_ref) {
4242
4247
  let {
4243
4248
  backgroundColor = 'kitt.uiBackgroundLight',
@@ -4246,7 +4251,10 @@ function CardModal(_ref) {
4246
4251
  children,
4247
4252
  header,
4248
4253
  body,
4249
- footer
4254
+ footer,
4255
+ contentContainer: ContentContainer = ({
4256
+ children: originalChildren
4257
+ }) => originalChildren
4250
4258
  } = _ref,
4251
4259
  props = _objectWithoutProperties(_ref, _excluded$H);
4252
4260
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
@@ -4258,8 +4266,10 @@ function CardModal(_ref) {
4258
4266
  maxHeight: "100%",
4259
4267
  maxWidth: maxWidth,
4260
4268
  minHeight: "kitt.cardModal.minHeight",
4261
- children: children || /*#__PURE__*/jsxs(Fragment, {
4262
- children: [header || null, body || null, footer || null]
4269
+ children: /*#__PURE__*/jsx(ContentContainer, {
4270
+ children: children || /*#__PURE__*/jsxs(Fragment, {
4271
+ children: [header || null, body || null, footer || null]
4272
+ })
4263
4273
  })
4264
4274
  }));
4265
4275
  }
@@ -8063,25 +8073,30 @@ function FullscreenModal({
8063
8073
  body,
8064
8074
  header,
8065
8075
  footer,
8066
- backgroundColor
8076
+ backgroundColor,
8077
+ contentContainer: ContentContainer = ({
8078
+ children
8079
+ }) => children
8067
8080
  }) {
8068
- return /*#__PURE__*/jsxs(FullscreenModalContainer, {
8081
+ return /*#__PURE__*/jsx(FullscreenModalContainer, {
8069
8082
  backgroundColor: backgroundColor,
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
- })]
8083
+ children: /*#__PURE__*/jsxs(ContentContainer, {
8084
+ children: [header ? /*#__PURE__*/jsx(View, {
8085
+ children: header
8086
+ }) : null, /*#__PURE__*/jsxs(View, {
8087
+ flexGrow: 1,
8088
+ flexShrink: 1,
8089
+ justifyContent: "space-between",
8090
+ children: [/*#__PURE__*/jsx(ScrollView$2, {
8091
+ bounces: false,
8092
+ contentContainerStyle: {
8093
+ flexGrow: 1,
8094
+ position: 'relative'
8095
+ },
8096
+ children: body
8097
+ }), footer || null]
8098
+ })]
8099
+ })
8085
8100
  });
8086
8101
  }
8087
8102
  FullscreenModal.Header = FullscreenModalHeader;