@ornikar/kitt-universal 29.4.2-canary.5279d6411761af875ca17c9a8eefbb621d15180d.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
|
@@ -4049,7 +4049,6 @@ function BottomSheetComp({
|
|
|
4049
4049
|
}
|
|
4050
4050
|
function BottomSheetContainerView(props) {
|
|
4051
4051
|
return /*#__PURE__*/jsx(View$1, {
|
|
4052
|
-
padding: "kitt.bottomSheet.container.padding",
|
|
4053
4052
|
...props
|
|
4054
4053
|
});
|
|
4055
4054
|
}
|
|
@@ -4556,9 +4555,6 @@ function CardModal({
|
|
|
4556
4555
|
maxWidth = 'kitt.cardModal.maxWidth',
|
|
4557
4556
|
withoutShadow,
|
|
4558
4557
|
children,
|
|
4559
|
-
header,
|
|
4560
|
-
body,
|
|
4561
|
-
footer,
|
|
4562
4558
|
...props
|
|
4563
4559
|
}) {
|
|
4564
4560
|
return /*#__PURE__*/jsx(View, {
|
|
@@ -4571,9 +4567,7 @@ function CardModal({
|
|
|
4571
4567
|
maxHeight: "100%",
|
|
4572
4568
|
maxWidth: maxWidth,
|
|
4573
4569
|
minHeight: "kitt.cardModal.minHeight",
|
|
4574
|
-
children: children
|
|
4575
|
-
children: [header || null, body || null, footer || null]
|
|
4576
|
-
})
|
|
4570
|
+
children: children
|
|
4577
4571
|
});
|
|
4578
4572
|
}
|
|
4579
4573
|
CardModal.Body = CardModalBody;
|
|
@@ -8353,30 +8347,11 @@ function FullscreenModalHeader({
|
|
|
8353
8347
|
|
|
8354
8348
|
function FullscreenModal({
|
|
8355
8349
|
children,
|
|
8356
|
-
body,
|
|
8357
|
-
header,
|
|
8358
|
-
footer,
|
|
8359
8350
|
backgroundColor
|
|
8360
8351
|
}) {
|
|
8361
8352
|
return /*#__PURE__*/jsx(FullscreenModalContainer, {
|
|
8362
8353
|
backgroundColor: backgroundColor,
|
|
8363
|
-
children: children
|
|
8364
|
-
children: [header ? /*#__PURE__*/jsx(View, {
|
|
8365
|
-
children: header
|
|
8366
|
-
}) : null, /*#__PURE__*/jsxs(View, {
|
|
8367
|
-
flexGrow: 1,
|
|
8368
|
-
flexShrink: 1,
|
|
8369
|
-
justifyContent: "space-between",
|
|
8370
|
-
children: [/*#__PURE__*/jsx(ScrollView$2, {
|
|
8371
|
-
bounces: false,
|
|
8372
|
-
contentContainerStyle: {
|
|
8373
|
-
flexGrow: 1,
|
|
8374
|
-
position: 'relative'
|
|
8375
|
-
},
|
|
8376
|
-
children: body
|
|
8377
|
-
}), footer || null]
|
|
8378
|
-
})]
|
|
8379
|
-
})
|
|
8354
|
+
children: children
|
|
8380
8355
|
});
|
|
8381
8356
|
}
|
|
8382
8357
|
FullscreenModal.Header = FullscreenModalHeader;
|
|
@@ -11652,12 +11627,14 @@ function NavigationBottomSheetBody(props) {
|
|
|
11652
11627
|
flexGrow: 1,
|
|
11653
11628
|
flexShrink: 1,
|
|
11654
11629
|
marginBottom: "kitt.4",
|
|
11630
|
+
paddingX: "kitt.bottomSheet.container.padding",
|
|
11655
11631
|
...props
|
|
11656
11632
|
});
|
|
11657
11633
|
}
|
|
11658
11634
|
function NavigationBottomSheetFooter(props) {
|
|
11659
11635
|
return /*#__PURE__*/jsx(HStack, {
|
|
11660
11636
|
width: "100%",
|
|
11637
|
+
paddingX: "kitt.bottomSheet.container.padding",
|
|
11661
11638
|
...props
|
|
11662
11639
|
});
|
|
11663
11640
|
}
|
|
@@ -11716,24 +11693,16 @@ function NavigationModalBehaviour({
|
|
|
11716
11693
|
}
|
|
11717
11694
|
|
|
11718
11695
|
function NavigationModal({
|
|
11719
|
-
body,
|
|
11720
11696
|
backgroundColor,
|
|
11721
|
-
footer,
|
|
11722
|
-
header,
|
|
11723
11697
|
children
|
|
11724
11698
|
}) {
|
|
11725
11699
|
const Component = useBreakpointValue({
|
|
11726
11700
|
base: FullscreenModal,
|
|
11727
11701
|
small: CardModal
|
|
11728
11702
|
});
|
|
11729
|
-
return
|
|
11703
|
+
return /*#__PURE__*/jsx(Component, {
|
|
11730
11704
|
backgroundColor: backgroundColor,
|
|
11731
11705
|
children: children
|
|
11732
|
-
}) : /*#__PURE__*/jsx(Component, {
|
|
11733
|
-
body: body,
|
|
11734
|
-
backgroundColor: backgroundColor,
|
|
11735
|
-
footer: footer,
|
|
11736
|
-
header: header
|
|
11737
11706
|
});
|
|
11738
11707
|
}
|
|
11739
11708
|
function Header(props) {
|