@ornikar/kitt-universal 25.51.1-canary.f795a58d6b1d7afa1371e143a23a37803d7590e5.0 → 25.52.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 +2 -7
- package/dist/definitions/CardModal/CardModal.d.ts +0 -3
- package/dist/definitions/CardModal/CardModal.d.ts.map +1 -1
- package/dist/definitions/FullscreenModal/Body.d.ts.map +1 -1
- package/dist/definitions/FullscreenModal/FullscreenModal.d.ts +3 -18
- package/dist/definitions/FullscreenModal/FullscreenModal.d.ts.map +1 -1
- package/dist/definitions/NavigationModal/NavigationModal.d.ts +3 -2
- package/dist/definitions/NavigationModal/NavigationModal.d.ts.map +1 -1
- package/dist/definitions/forms/Autocomplete/AutocompleteOption.d.ts +1 -1
- package/dist/definitions/forms/Autocomplete/AutocompleteOption.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +25 -32
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +25 -32
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-20.10.cjs.js +21 -27
- package/dist/index-node-20.10.cjs.js.map +1 -1
- package/dist/index-node-20.10.cjs.web.js +21 -27
- package/dist/index-node-20.10.cjs.web.js.map +1 -1
- package/dist/index-node-20.10.es.mjs +21 -27
- package/dist/index-node-20.10.es.mjs.map +1 -1
- package/dist/index-node-20.10.es.web.mjs +21 -27
- package/dist/index-node-20.10.es.web.mjs.map +1 -1
- package/dist/index.es.js +26 -32
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +26 -32
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,18 +3,13 @@
|
|
|
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.
|
|
6
|
+
## [25.52.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@25.51.0...@ornikar/kitt-universal@25.52.0) (2025-05-15)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Features
|
|
10
10
|
|
|
11
11
|
* **icon:** add bell ringing icon - OSE-17155 ([#2590](https://github.com/ornikar/kitt/issues/2590)) ([2efc2f7](https://github.com/ornikar/kitt/commit/2efc2f77486d44594e3b58018da9c558e2f786b4))
|
|
12
|
-
* **
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
### Bug Fixes
|
|
16
|
-
|
|
17
|
-
* flex ([427696d](https://github.com/ornikar/kitt/commit/427696dd8248d16f2c97e32bf5ecd8b243266d69))
|
|
12
|
+
* **kitt-universal:** add test IDs [no issue] ([#2591](https://github.com/ornikar/kitt/issues/2591)) ([53630c8](https://github.com/ornikar/kitt/commit/53630c86d8dfd18e5df1339cc31d1856e9f2efd0))
|
|
18
13
|
|
|
19
14
|
|
|
20
15
|
|
|
@@ -16,11 +16,8 @@ interface CardModalWithChildren extends BaseCardModalProps {
|
|
|
16
16
|
}
|
|
17
17
|
interface CardModalWithoutChildren extends BaseCardModalProps {
|
|
18
18
|
children?: never;
|
|
19
|
-
/** @deprecated use `FullscreenModal.Header` as `children` instead */
|
|
20
19
|
header?: ReactNode;
|
|
21
|
-
/** @deprecated use `FullscreenModal.Footer` as `children` instead */
|
|
22
20
|
footer?: ReactNode;
|
|
23
|
-
/** @deprecated use `FullscreenModal.Body` as `children` instead */
|
|
24
21
|
body: ReactNode;
|
|
25
22
|
}
|
|
26
23
|
export type CardModalProps = CardModalWithChildren | CardModalWithoutChildren;
|
|
@@ -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,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,
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/FullscreenModal/Body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9C,MAAM,WAAW,wBAAyB,SAAQ,SAAS;IACzD,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,uBAAuB,EACvB,KAAK,EACL,oBAAoB,EACpB,GAAG,KAAK,EACT,EAAE,wBAAwB,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/FullscreenModal/Body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9C,MAAM,WAAW,wBAAyB,SAAQ,SAAS;IACzD,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,uBAAuB,EACvB,KAAK,EACL,oBAAoB,EACpB,GAAG,KAAK,EACT,EAAE,wBAAwB,GAAG,SAAS,CAuBtC"}
|
|
@@ -4,32 +4,17 @@ 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
|
|
8
|
-
backgroundColor?: ViewProps['backgroundColor'];
|
|
9
|
-
}
|
|
10
|
-
interface BaseFullscreenModalPropsWithChildren extends BaseFullscreenModalProps {
|
|
11
|
-
children: ReactNode;
|
|
12
|
-
contentContainer?: never;
|
|
13
|
-
header?: never;
|
|
14
|
-
footer?: never;
|
|
15
|
-
body?: never;
|
|
16
|
-
}
|
|
17
|
-
interface BaseFullscreenModalPropsWithoutChildren extends BaseFullscreenModalProps {
|
|
18
|
-
children?: never;
|
|
19
|
-
/** @deprecated use `FullscreenModal.Header` as `children` instead */
|
|
7
|
+
export interface FullscreenModalProps {
|
|
20
8
|
header?: ReactNode;
|
|
21
|
-
/** @deprecated use `FullscreenModal.Footer` as `children` instead */
|
|
22
9
|
footer?: ReactNode;
|
|
23
|
-
/** @deprecated use `FullscreenModal.Body` as `children` instead */
|
|
24
10
|
body: ReactNode;
|
|
11
|
+
backgroundColor?: ViewProps['backgroundColor'];
|
|
25
12
|
}
|
|
26
|
-
export
|
|
27
|
-
export declare function FullscreenModal({ children, body, header, footer, backgroundColor }: FullscreenModalProps): ReactNode;
|
|
13
|
+
export declare function FullscreenModal({ body, header, footer, backgroundColor }: FullscreenModalProps): ReactNode;
|
|
28
14
|
export declare namespace FullscreenModal {
|
|
29
15
|
var Header: typeof FullscreenModalHeader;
|
|
30
16
|
var Footer: typeof FullscreenModalFooter;
|
|
31
17
|
var Body: typeof FullscreenModalBody;
|
|
32
18
|
var ModalBehaviour: typeof FullscreenModalBehaviour;
|
|
33
19
|
}
|
|
34
|
-
export {};
|
|
35
20
|
//# 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;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,
|
|
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"}
|
|
@@ -7,8 +7,9 @@ import type { FullscreenModalFooterProps } from '../FullscreenModal/Footer';
|
|
|
7
7
|
import type { FullscreenModalProps } from '../FullscreenModal/FullscreenModal';
|
|
8
8
|
import type { FullscreenModalHeaderProps } from '../FullscreenModal/Header';
|
|
9
9
|
import { NavigationModalBehaviour } from './NavigationModalBehaviour';
|
|
10
|
-
export
|
|
11
|
-
|
|
10
|
+
export interface NavigationModalProps extends FullscreenModalProps {
|
|
11
|
+
}
|
|
12
|
+
export declare function NavigationModal({ body, backgroundColor, footer, header }: NavigationModalProps): ReactNode;
|
|
12
13
|
export declare namespace NavigationModal {
|
|
13
14
|
var Header: (props: HeaderProps) => ReactNode;
|
|
14
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,
|
|
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"}
|
|
@@ -4,5 +4,5 @@ export interface AutocompleteOptionProps extends ViewProps {
|
|
|
4
4
|
item: unknown;
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
}
|
|
7
|
-
export declare function AutocompleteOption({ children, ...props }: AutocompleteOptionProps): ReactNode;
|
|
7
|
+
export declare function AutocompleteOption({ children, testID, ...props }: AutocompleteOptionProps): ReactNode;
|
|
8
8
|
//# sourceMappingURL=AutocompleteOption.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutocompleteOption.d.ts","sourceRoot":"","sources":["../../../../src/forms/Autocomplete/AutocompleteOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAG9D,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"AutocompleteOption.d.ts","sourceRoot":"","sources":["../../../../src/forms/Autocomplete/AutocompleteOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAG9D,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,MAAmC,EACnC,GAAG,KAAK,EACT,EAAE,uBAAuB,GAAG,SAAS,CAWrC"}
|
|
@@ -5137,10 +5137,11 @@ function AutocompleteItemsListContainer({
|
|
|
5137
5137
|
});
|
|
5138
5138
|
}
|
|
5139
5139
|
|
|
5140
|
-
const _excluded$A = ["children"];
|
|
5140
|
+
const _excluded$A = ["children", "testID"];
|
|
5141
5141
|
function AutocompleteOption(_ref) {
|
|
5142
5142
|
let {
|
|
5143
|
-
children
|
|
5143
|
+
children,
|
|
5144
|
+
testID = 'kitt.Autocomplete.option'
|
|
5144
5145
|
} = _ref,
|
|
5145
5146
|
props = _objectWithoutProperties(_ref, _excluded$A);
|
|
5146
5147
|
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
@@ -5148,7 +5149,8 @@ function AutocompleteOption(_ref) {
|
|
|
5148
5149
|
base: 'kitt.2',
|
|
5149
5150
|
small: 'kitt.4'
|
|
5150
5151
|
},
|
|
5151
|
-
paddingY: "kitt.forms.autocomplete.option.verticalPadding"
|
|
5152
|
+
paddingY: "kitt.forms.autocomplete.option.verticalPadding",
|
|
5153
|
+
testID: testID
|
|
5152
5154
|
}, props), {}, {
|
|
5153
5155
|
children: children
|
|
5154
5156
|
}));
|
|
@@ -6818,6 +6820,7 @@ function InputAddressOption({
|
|
|
6818
6820
|
};
|
|
6819
6821
|
return /*#__PURE__*/jsx(Autocomplete.Option, {
|
|
6820
6822
|
item: item,
|
|
6823
|
+
testID: "kitt.InputAddressOption.item",
|
|
6821
6824
|
children: /*#__PURE__*/jsxs(HStack, {
|
|
6822
6825
|
space: "kitt.2",
|
|
6823
6826
|
children: [/*#__PURE__*/jsx(View, {
|
|
@@ -7781,10 +7784,7 @@ function FullscreenModalBody(_ref) {
|
|
|
7781
7784
|
} = useTheme();
|
|
7782
7785
|
const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
|
|
7783
7786
|
const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
|
|
7784
|
-
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
|
|
7785
|
-
flexGrow: 1,
|
|
7786
|
-
flexShrink: 1
|
|
7787
|
-
}, props), {}, {
|
|
7787
|
+
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
|
|
7788
7788
|
paddingX: "kitt.fullscreenModal.horizontalPadding",
|
|
7789
7789
|
paddingTop: paddingTop,
|
|
7790
7790
|
paddingBottom: paddingBottom,
|
|
@@ -8066,31 +8066,28 @@ function FullscreenModalHeader(_ref) {
|
|
|
8066
8066
|
}
|
|
8067
8067
|
|
|
8068
8068
|
function FullscreenModal({
|
|
8069
|
-
children,
|
|
8070
8069
|
body,
|
|
8071
8070
|
header,
|
|
8072
8071
|
footer,
|
|
8073
8072
|
backgroundColor
|
|
8074
8073
|
}) {
|
|
8075
|
-
return /*#__PURE__*/
|
|
8074
|
+
return /*#__PURE__*/jsxs(FullscreenModalContainer, {
|
|
8076
8075
|
backgroundColor: backgroundColor,
|
|
8077
|
-
children:
|
|
8078
|
-
children:
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
})]
|
|
8093
|
-
})
|
|
8076
|
+
children: [header ? /*#__PURE__*/jsx(View, {
|
|
8077
|
+
children: header
|
|
8078
|
+
}) : null, /*#__PURE__*/jsxs(View, {
|
|
8079
|
+
flexGrow: 1,
|
|
8080
|
+
flexShrink: 1,
|
|
8081
|
+
justifyContent: "space-between",
|
|
8082
|
+
children: [/*#__PURE__*/jsx(ScrollView$2, {
|
|
8083
|
+
bounces: false,
|
|
8084
|
+
contentContainerStyle: {
|
|
8085
|
+
flexGrow: 1,
|
|
8086
|
+
position: 'relative'
|
|
8087
|
+
},
|
|
8088
|
+
children: body
|
|
8089
|
+
}), footer || null]
|
|
8090
|
+
})]
|
|
8094
8091
|
});
|
|
8095
8092
|
}
|
|
8096
8093
|
FullscreenModal.Header = FullscreenModalHeader;
|
|
@@ -11511,17 +11508,13 @@ function NavigationModal({
|
|
|
11511
11508
|
body,
|
|
11512
11509
|
backgroundColor,
|
|
11513
11510
|
footer,
|
|
11514
|
-
header
|
|
11515
|
-
children
|
|
11511
|
+
header
|
|
11516
11512
|
}) {
|
|
11517
11513
|
const Component = useBreakpointValue({
|
|
11518
11514
|
base: FullscreenModal,
|
|
11519
11515
|
small: CardModal
|
|
11520
11516
|
});
|
|
11521
|
-
return
|
|
11522
|
-
backgroundColor: backgroundColor,
|
|
11523
|
-
children: children
|
|
11524
|
-
}) : /*#__PURE__*/jsx(Component, {
|
|
11517
|
+
return /*#__PURE__*/jsx(Component, {
|
|
11525
11518
|
body: body,
|
|
11526
11519
|
backgroundColor: backgroundColor,
|
|
11527
11520
|
footer: footer,
|