@ornikar/kitt-universal 29.4.2-canary.fd1b4b35933bafb4acef3ae114e07a03477878a2.0 → 29.5.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 +3 -1
- package/dist/definitions/CardModal/CardModal.d.ts +2 -20
- package/dist/definitions/CardModal/CardModal.d.ts.map +1 -1
- package/dist/definitions/FullscreenModal/FullscreenModal.d.ts +2 -18
- package/dist/definitions/FullscreenModal/FullscreenModal.d.ts.map +1 -1
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.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 +10 -42
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +10 -42
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +5 -36
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +3 -35
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +5 -36
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +3 -35
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +10 -42
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +5 -37
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,17 +3,19 @@
|
|
|
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
|
-
## [29.
|
|
6
|
+
## [29.5.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@29.4.1...@ornikar/kitt-universal@29.5.0) (2025-11-03)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Features
|
|
10
10
|
|
|
11
11
|
* add NavigationModalAnimatedBehaviourWithSrollableChildren [no issue] ([#2731](https://github.com/ornikar/kitt/issues/2731)) ([90eb3d2](https://github.com/ornikar/kitt/commit/90eb3d27c63e702db991b0f1426fc4be59355f22))
|
|
12
|
+
* remove deprecated way to use modals OSE-17343 ([#2673](https://github.com/ornikar/kitt/issues/2673)) ([107e45b](https://github.com/ornikar/kitt/commit/107e45b41e647d1338cdacf9c43cce285d275f6e))
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
### Bug Fixes
|
|
15
16
|
|
|
16
17
|
* **kitt:** react 19 warnings for CSSTransition OSE-20990 ([#2735](https://github.com/ornikar/kitt/issues/2735)) ([615008a](https://github.com/ornikar/kitt/commit/615008a218bb131f220670ceabdbd38eae8ffcb5))
|
|
18
|
+
* update NavigationBottomSheet spacings OSE-21140 ([#2741](https://github.com/ornikar/kitt/issues/2741)) ([86538c2](https://github.com/ornikar/kitt/commit/86538c27296dfc74289a8bd7437b8c86912e04e1))
|
|
17
19
|
|
|
18
20
|
|
|
19
21
|
|
|
@@ -1,35 +1,17 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
import type { Except } from 'type-fest';
|
|
3
2
|
import type { ViewProps } from '../native-base/primitives';
|
|
4
3
|
import { CardModalBehaviour } from './CardModalBehaviour';
|
|
5
4
|
import { CardModalBody } from './CardModalBody';
|
|
6
5
|
import { CardModalFooter } from './CardModalFooter';
|
|
7
6
|
import { CardModalHeader } from './CardModalHeader';
|
|
8
|
-
interface
|
|
7
|
+
export interface CardModalProps extends ViewProps {
|
|
9
8
|
withoutShadow?: boolean;
|
|
10
9
|
}
|
|
11
|
-
|
|
12
|
-
children: ReactNode;
|
|
13
|
-
header?: never;
|
|
14
|
-
footer?: never;
|
|
15
|
-
body?: never;
|
|
16
|
-
}
|
|
17
|
-
interface CardModalWithoutChildren extends BaseCardModalProps {
|
|
18
|
-
children?: never;
|
|
19
|
-
/** @deprecated use `FullscreenModal.Header` as `children` instead */
|
|
20
|
-
header?: ReactNode;
|
|
21
|
-
/** @deprecated use `FullscreenModal.Footer` as `children` instead */
|
|
22
|
-
footer?: ReactNode;
|
|
23
|
-
/** @deprecated use `FullscreenModal.Body` as `children` instead */
|
|
24
|
-
body: ReactNode;
|
|
25
|
-
}
|
|
26
|
-
export type CardModalProps = CardModalWithChildren | CardModalWithoutChildren;
|
|
27
|
-
export declare function CardModal({ backgroundColor, maxWidth, withoutShadow, children, header, body, footer, ...props }: CardModalProps): ReactNode;
|
|
10
|
+
export declare function CardModal({ backgroundColor, maxWidth, withoutShadow, children, ...props }: CardModalProps): ReactNode;
|
|
28
11
|
export declare namespace CardModal {
|
|
29
12
|
var Body: typeof CardModalBody;
|
|
30
13
|
var Header: typeof CardModalHeader;
|
|
31
14
|
var Footer: typeof CardModalFooter;
|
|
32
15
|
var ModalBehaviour: typeof CardModalBehaviour;
|
|
33
16
|
}
|
|
34
|
-
export {};
|
|
35
17
|
//# sourceMappingURL=CardModal.d.ts.map
|
|
@@ -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,
|
|
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,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,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,SAAS,CAAC,EACxB,eAA0C,EAC1C,QAAoC,EACpC,aAAa,EACb,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,cAAc,GAAG,SAAS,CAgB5B;yBAtBe,SAAS"}
|
|
@@ -4,31 +4,15 @@ import { FullscreenModalBody } from './Body';
|
|
|
4
4
|
import { FullscreenModalFooter } from './Footer';
|
|
5
5
|
import { FullscreenModalBehaviour } from './FullscreenModalBehaviour';
|
|
6
6
|
import { FullscreenModalHeader } from './Header';
|
|
7
|
-
export interface
|
|
7
|
+
export interface FullscreenModalProps {
|
|
8
8
|
backgroundColor?: ViewProps['backgroundColor'];
|
|
9
|
-
}
|
|
10
|
-
interface BaseFullscreenModalPropsWithChildren extends BaseFullscreenModalProps {
|
|
11
9
|
children: ReactNode;
|
|
12
|
-
header?: never;
|
|
13
|
-
footer?: never;
|
|
14
|
-
body?: never;
|
|
15
|
-
}
|
|
16
|
-
interface BaseFullscreenModalPropsWithoutChildren extends BaseFullscreenModalProps {
|
|
17
|
-
children?: never;
|
|
18
|
-
/** @deprecated use `FullscreenModal.Header` as `children` instead */
|
|
19
|
-
header?: ReactNode;
|
|
20
|
-
/** @deprecated use `FullscreenModal.Footer` as `children` instead */
|
|
21
|
-
footer?: ReactNode;
|
|
22
|
-
/** @deprecated use `FullscreenModal.Body` as `children` instead */
|
|
23
|
-
body: ReactNode;
|
|
24
10
|
}
|
|
25
|
-
export
|
|
26
|
-
export declare function FullscreenModal({ children, body, header, footer, backgroundColor }: FullscreenModalProps): ReactNode;
|
|
11
|
+
export declare function FullscreenModal({ children, backgroundColor }: FullscreenModalProps): ReactNode;
|
|
27
12
|
export declare namespace FullscreenModal {
|
|
28
13
|
var Header: typeof FullscreenModalHeader;
|
|
29
14
|
var Footer: typeof FullscreenModalFooter;
|
|
30
15
|
var Body: typeof FullscreenModalBody;
|
|
31
16
|
var ModalBehaviour: typeof FullscreenModalBehaviour;
|
|
32
17
|
}
|
|
33
|
-
export {};
|
|
34
18
|
//# sourceMappingURL=FullscreenModal.d.ts.map
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"FullscreenModal.d.ts","sourceRoot":"","sources":["../../../src/FullscreenModal/FullscreenModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AACpC,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,eAAe,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC/C,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,oBAAoB,GAAG,SAAS,CAE9F;yBAFe,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationBottomSheet.d.ts","sourceRoot":"","sources":["../../../src/NavigationBottomSheet/NavigationBottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAa,MAAM,OAAO,CAAC;AAGlD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAI7D,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IACjC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,aAAa,EACb,UAAU,EACV,qBAAqB,EACrB,SAAS,EACT,UAAU,EACV,OAAO,GACR,EAAE,0BAA0B,GAAG,SAAS,CA8BxC;yBAtCe,qBAAqB;;;;;AAwCrC;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,cAAc;CAAG;AAC3E,iBAAS,2BAA2B,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,gCAAgC,GAAG,SAAS,CAErG;AAED,MAAM,WAAW,8BAA+B,SAAQ,wBAAwB;CAAG;AAEnF,iBAAS,yBAAyB,CAAC,KAAK,EAAE,8BAA8B,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"NavigationBottomSheet.d.ts","sourceRoot":"","sources":["../../../src/NavigationBottomSheet/NavigationBottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAa,MAAM,OAAO,CAAC;AAGlD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAI7D,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IACjC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,aAAa,EACb,UAAU,EACV,qBAAqB,EACrB,SAAS,EACT,UAAU,EACV,OAAO,GACR,EAAE,0BAA0B,GAAG,SAAS,CA8BxC;yBAtCe,qBAAqB;;;;;AAwCrC;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,cAAc;CAAG;AAC3E,iBAAS,2BAA2B,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,gCAAgC,GAAG,SAAS,CAErG;AAED,MAAM,WAAW,8BAA+B,SAAQ,wBAAwB;CAAG;AAEnF,iBAAS,yBAAyB,CAAC,KAAK,EAAE,8BAA8B,GAAG,SAAS,CAUnF;AAED,MAAM,WAAW,gCAAiC,SAAQ,0BAA0B;CAAG;AAEvF,iBAAS,2BAA2B,CAAC,KAAK,EAAE,gCAAgC,GAAG,SAAS,CAEvF"}
|
|
@@ -8,7 +8,7 @@ import type { FullscreenModalProps } from '../FullscreenModal/FullscreenModal';
|
|
|
8
8
|
import type { FullscreenModalHeaderProps } from '../FullscreenModal/Header';
|
|
9
9
|
import { NavigationModalBehaviour } from './NavigationModalBehaviour';
|
|
10
10
|
export type NavigationModalProps = FullscreenModalProps;
|
|
11
|
-
export declare function NavigationModal({
|
|
11
|
+
export declare function NavigationModal({ backgroundColor, children }: NavigationModalProps): ReactNode;
|
|
12
12
|
export declare namespace NavigationModal {
|
|
13
13
|
var Header: (props: HeaderProps) => ReactNode;
|
|
14
14
|
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,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;AAExD,wBAAgB,eAAe,CAAC,EAAE,
|
|
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,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;AAExD,wBAAgB,eAAe,CAAC,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,oBAAoB,GAAG,SAAS,CAO9F;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"}
|
|
@@ -4049,9 +4049,7 @@ function BottomSheetComp(_ref, ref) {
|
|
|
4049
4049
|
}));
|
|
4050
4050
|
}
|
|
4051
4051
|
function BottomSheetContainerView(props) {
|
|
4052
|
-
return /*#__PURE__*/jsx(View$1, _objectSpread({
|
|
4053
|
-
padding: "kitt.bottomSheet.container.padding"
|
|
4054
|
-
}, props));
|
|
4052
|
+
return /*#__PURE__*/jsx(View$1, _objectSpread({}, props));
|
|
4055
4053
|
}
|
|
4056
4054
|
|
|
4057
4055
|
/**
|
|
@@ -4550,16 +4548,13 @@ function CardModalHeader(props) {
|
|
|
4550
4548
|
return /*#__PURE__*/jsx(TopNavBar, _objectSpread({}, props));
|
|
4551
4549
|
}
|
|
4552
4550
|
|
|
4553
|
-
const _excluded$G = ["backgroundColor", "maxWidth", "withoutShadow", "children"
|
|
4551
|
+
const _excluded$G = ["backgroundColor", "maxWidth", "withoutShadow", "children"];
|
|
4554
4552
|
function CardModal(_ref) {
|
|
4555
4553
|
let {
|
|
4556
4554
|
backgroundColor = 'kitt.uiBackgroundLight',
|
|
4557
4555
|
maxWidth = 'kitt.cardModal.maxWidth',
|
|
4558
4556
|
withoutShadow,
|
|
4559
|
-
children
|
|
4560
|
-
header,
|
|
4561
|
-
body,
|
|
4562
|
-
footer
|
|
4557
|
+
children
|
|
4563
4558
|
} = _ref,
|
|
4564
4559
|
props = _objectWithoutProperties(_ref, _excluded$G);
|
|
4565
4560
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
|
|
@@ -4571,9 +4566,7 @@ function CardModal(_ref) {
|
|
|
4571
4566
|
maxHeight: "100%",
|
|
4572
4567
|
maxWidth: maxWidth,
|
|
4573
4568
|
minHeight: "kitt.cardModal.minHeight",
|
|
4574
|
-
children: children
|
|
4575
|
-
children: [header || null, body || null, footer || null]
|
|
4576
|
-
})
|
|
4569
|
+
children: children
|
|
4577
4570
|
}));
|
|
4578
4571
|
}
|
|
4579
4572
|
CardModal.Body = CardModalBody;
|
|
@@ -8377,30 +8370,11 @@ function FullscreenModalHeader(_ref) {
|
|
|
8377
8370
|
|
|
8378
8371
|
function FullscreenModal({
|
|
8379
8372
|
children,
|
|
8380
|
-
body,
|
|
8381
|
-
header,
|
|
8382
|
-
footer,
|
|
8383
8373
|
backgroundColor
|
|
8384
8374
|
}) {
|
|
8385
8375
|
return /*#__PURE__*/jsx(FullscreenModalContainer, {
|
|
8386
8376
|
backgroundColor: backgroundColor,
|
|
8387
|
-
children: children
|
|
8388
|
-
children: [header ? /*#__PURE__*/jsx(View, {
|
|
8389
|
-
children: header
|
|
8390
|
-
}) : null, /*#__PURE__*/jsxs(View, {
|
|
8391
|
-
flexGrow: 1,
|
|
8392
|
-
flexShrink: 1,
|
|
8393
|
-
justifyContent: "space-between",
|
|
8394
|
-
children: [/*#__PURE__*/jsx(ScrollView$2, {
|
|
8395
|
-
bounces: false,
|
|
8396
|
-
contentContainerStyle: {
|
|
8397
|
-
flexGrow: 1,
|
|
8398
|
-
position: 'relative'
|
|
8399
|
-
},
|
|
8400
|
-
children: body
|
|
8401
|
-
}), footer || null]
|
|
8402
|
-
})]
|
|
8403
|
-
})
|
|
8377
|
+
children: children
|
|
8404
8378
|
});
|
|
8405
8379
|
}
|
|
8406
8380
|
FullscreenModal.Header = FullscreenModalHeader;
|
|
@@ -11667,12 +11641,14 @@ function NavigationBottomSheetBody(props) {
|
|
|
11667
11641
|
return /*#__PURE__*/jsx(VStack, _objectSpread({
|
|
11668
11642
|
flexGrow: 1,
|
|
11669
11643
|
flexShrink: 1,
|
|
11670
|
-
marginBottom: "kitt.4"
|
|
11644
|
+
marginBottom: "kitt.4",
|
|
11645
|
+
paddingX: "kitt.bottomSheet.container.padding"
|
|
11671
11646
|
}, props));
|
|
11672
11647
|
}
|
|
11673
11648
|
function NavigationBottomSheetFooter(props) {
|
|
11674
11649
|
return /*#__PURE__*/jsx(HStack, _objectSpread({
|
|
11675
|
-
width: "100%"
|
|
11650
|
+
width: "100%",
|
|
11651
|
+
paddingX: "kitt.bottomSheet.container.padding"
|
|
11676
11652
|
}, props));
|
|
11677
11653
|
}
|
|
11678
11654
|
NavigationBottomSheet.Header = NavigationBottomSheetHeader;
|
|
@@ -11731,24 +11707,16 @@ function NavigationModalBehaviour(_ref) {
|
|
|
11731
11707
|
}
|
|
11732
11708
|
|
|
11733
11709
|
function NavigationModal({
|
|
11734
|
-
body,
|
|
11735
11710
|
backgroundColor,
|
|
11736
|
-
footer,
|
|
11737
|
-
header,
|
|
11738
11711
|
children
|
|
11739
11712
|
}) {
|
|
11740
11713
|
const Component = useBreakpointValue({
|
|
11741
11714
|
base: FullscreenModal,
|
|
11742
11715
|
small: CardModal
|
|
11743
11716
|
});
|
|
11744
|
-
return
|
|
11717
|
+
return /*#__PURE__*/jsx(Component, {
|
|
11745
11718
|
backgroundColor: backgroundColor,
|
|
11746
11719
|
children: children
|
|
11747
|
-
}) : /*#__PURE__*/jsx(Component, {
|
|
11748
|
-
body: body,
|
|
11749
|
-
backgroundColor: backgroundColor,
|
|
11750
|
-
footer: footer,
|
|
11751
|
-
header: header
|
|
11752
11720
|
});
|
|
11753
11721
|
}
|
|
11754
11722
|
function Header(props) {
|