@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 +9 -0
- package/dist/definitions/BottomSheet/BottomSheet.d.ts +2 -3
- package/dist/definitions/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/definitions/CardModal/CardModal.d.ts +2 -3
- package/dist/definitions/CardModal/CardModal.d.ts.map +1 -1
- package/dist/definitions/FullscreenModal/FullscreenModal.d.ts +2 -3
- package/dist/definitions/FullscreenModal/FullscreenModal.d.ts.map +1 -1
- package/dist/definitions/NavigationModal/NavigationModal.d.ts +1 -1
- package/dist/definitions/NavigationModal/NavigationModal.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +26 -55
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +26 -55
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-20.10.cjs.js +24 -53
- package/dist/index-node-20.10.cjs.js.map +1 -1
- package/dist/index-node-20.10.cjs.web.js +21 -47
- package/dist/index-node-20.10.cjs.web.js.map +1 -1
- package/dist/index-node-20.10.es.mjs +24 -53
- package/dist/index-node-20.10.es.mjs.map +1 -1
- package/dist/index-node-20.10.es.web.mjs +21 -47
- package/dist/index-node-20.10.es.web.mjs.map +1 -1
- package/dist/index.es.js +24 -55
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +22 -49
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/definitions/utils/IdentityComponent.d.ts +0 -15
- package/dist/definitions/utils/IdentityComponent.d.ts.map +0 -1
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,
|
|
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,
|
|
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,
|
|
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,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 {
|
|
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,
|
|
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,
|
|
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,CAAC;IAChE,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;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,GAAG,KAAK,EACT,EAAE,cAAc,GAAG,SAAS,CAsB5B;yBA/Be,SAAS"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
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
|
|
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,
|
|
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"}
|
|
@@ -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
|
|
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,
|
|
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(
|
|
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"
|
|
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__*/
|
|
4284
|
-
children:
|
|
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__*/
|
|
8068
|
+
return /*#__PURE__*/jsxs(FullscreenModalContainer, {
|
|
8094
8069
|
backgroundColor: backgroundColor,
|
|
8095
|
-
children: /*#__PURE__*/
|
|
8096
|
-
children:
|
|
8097
|
-
|
|
8098
|
-
|
|
8099
|
-
|
|
8100
|
-
|
|
8101
|
-
|
|
8102
|
-
|
|
8103
|
-
|
|
8104
|
-
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
|
|
8108
|
-
|
|
8109
|
-
|
|
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) {
|