@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
|
@@ -4452,9 +4452,6 @@ function CardModal({
|
|
|
4452
4452
|
maxWidth = 'kitt.cardModal.maxWidth',
|
|
4453
4453
|
withoutShadow,
|
|
4454
4454
|
children,
|
|
4455
|
-
header,
|
|
4456
|
-
body,
|
|
4457
|
-
footer,
|
|
4458
4455
|
...props
|
|
4459
4456
|
}) {
|
|
4460
4457
|
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
@@ -4467,9 +4464,7 @@ function CardModal({
|
|
|
4467
4464
|
maxHeight: "100%",
|
|
4468
4465
|
maxWidth: maxWidth,
|
|
4469
4466
|
minHeight: "kitt.cardModal.minHeight",
|
|
4470
|
-
children: children
|
|
4471
|
-
children: [header || null, body || null, footer || null]
|
|
4472
|
-
})
|
|
4467
|
+
children: children
|
|
4473
4468
|
});
|
|
4474
4469
|
}
|
|
4475
4470
|
CardModal.Body = CardModalBody;
|
|
@@ -7540,30 +7535,11 @@ function FullscreenModalHeader({
|
|
|
7540
7535
|
|
|
7541
7536
|
function FullscreenModal({
|
|
7542
7537
|
children,
|
|
7543
|
-
body,
|
|
7544
|
-
header,
|
|
7545
|
-
footer,
|
|
7546
7538
|
backgroundColor
|
|
7547
7539
|
}) {
|
|
7548
7540
|
return /*#__PURE__*/jsxRuntime.jsx(FullscreenModalContainer, {
|
|
7549
7541
|
backgroundColor: backgroundColor,
|
|
7550
|
-
children: children
|
|
7551
|
-
children: [header ? /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
7552
|
-
children: header
|
|
7553
|
-
}) : null, /*#__PURE__*/jsxRuntime.jsxs(View, {
|
|
7554
|
-
flexGrow: 1,
|
|
7555
|
-
flexShrink: 1,
|
|
7556
|
-
justifyContent: "space-between",
|
|
7557
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
|
|
7558
|
-
bounces: false,
|
|
7559
|
-
contentContainerStyle: {
|
|
7560
|
-
flexGrow: 1,
|
|
7561
|
-
position: 'relative'
|
|
7562
|
-
},
|
|
7563
|
-
children: body
|
|
7564
|
-
}), footer || null]
|
|
7565
|
-
})]
|
|
7566
|
-
})
|
|
7542
|
+
children: children
|
|
7567
7543
|
});
|
|
7568
7544
|
}
|
|
7569
7545
|
FullscreenModal.Header = FullscreenModalHeader;
|
|
@@ -10930,24 +10906,16 @@ function NavigationModalBehaviour({
|
|
|
10930
10906
|
}
|
|
10931
10907
|
|
|
10932
10908
|
function NavigationModal({
|
|
10933
|
-
body,
|
|
10934
10909
|
backgroundColor,
|
|
10935
|
-
footer,
|
|
10936
|
-
header,
|
|
10937
10910
|
children
|
|
10938
10911
|
}) {
|
|
10939
10912
|
const Component = useBreakpointValue({
|
|
10940
10913
|
base: FullscreenModal,
|
|
10941
10914
|
small: CardModal
|
|
10942
10915
|
});
|
|
10943
|
-
return
|
|
10916
|
+
return /*#__PURE__*/jsxRuntime.jsx(Component, {
|
|
10944
10917
|
backgroundColor: backgroundColor,
|
|
10945
10918
|
children: children
|
|
10946
|
-
}) : /*#__PURE__*/jsxRuntime.jsx(Component, {
|
|
10947
|
-
body: body,
|
|
10948
|
-
backgroundColor: backgroundColor,
|
|
10949
|
-
footer: footer,
|
|
10950
|
-
header: header
|
|
10951
10919
|
});
|
|
10952
10920
|
}
|
|
10953
10921
|
function Header(props) {
|