@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
|
@@ -5131,6 +5131,7 @@ function AutocompleteItemsListContainer({
|
|
|
5131
5131
|
|
|
5132
5132
|
function AutocompleteOption({
|
|
5133
5133
|
children,
|
|
5134
|
+
testID = 'kitt.Autocomplete.option',
|
|
5134
5135
|
...props
|
|
5135
5136
|
}) {
|
|
5136
5137
|
return /*#__PURE__*/jsx(View, {
|
|
@@ -5139,6 +5140,7 @@ function AutocompleteOption({
|
|
|
5139
5140
|
small: 'kitt.4'
|
|
5140
5141
|
},
|
|
5141
5142
|
paddingY: "kitt.forms.autocomplete.option.verticalPadding",
|
|
5143
|
+
testID: testID,
|
|
5142
5144
|
...props,
|
|
5143
5145
|
children: children
|
|
5144
5146
|
});
|
|
@@ -6803,6 +6805,7 @@ function InputAddressOption({
|
|
|
6803
6805
|
};
|
|
6804
6806
|
return /*#__PURE__*/jsx(Autocomplete.Option, {
|
|
6805
6807
|
item: item,
|
|
6808
|
+
testID: "kitt.InputAddressOption.item",
|
|
6806
6809
|
children: /*#__PURE__*/jsxs(HStack, {
|
|
6807
6810
|
space: "kitt.2",
|
|
6808
6811
|
children: [/*#__PURE__*/jsx(View, {
|
|
@@ -7758,8 +7761,6 @@ function FullscreenModalBody({
|
|
|
7758
7761
|
const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
|
|
7759
7762
|
const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
|
|
7760
7763
|
return /*#__PURE__*/jsx(View, {
|
|
7761
|
-
flexGrow: 1,
|
|
7762
|
-
flexShrink: 1,
|
|
7763
7764
|
...props,
|
|
7764
7765
|
paddingX: "kitt.fullscreenModal.horizontalPadding",
|
|
7765
7766
|
paddingTop: paddingTop,
|
|
@@ -8037,31 +8038,28 @@ function FullscreenModalHeader({
|
|
|
8037
8038
|
}
|
|
8038
8039
|
|
|
8039
8040
|
function FullscreenModal({
|
|
8040
|
-
children,
|
|
8041
8041
|
body,
|
|
8042
8042
|
header,
|
|
8043
8043
|
footer,
|
|
8044
8044
|
backgroundColor
|
|
8045
8045
|
}) {
|
|
8046
|
-
return /*#__PURE__*/
|
|
8046
|
+
return /*#__PURE__*/jsxs(FullscreenModalContainer, {
|
|
8047
8047
|
backgroundColor: backgroundColor,
|
|
8048
|
-
children:
|
|
8049
|
-
children:
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
})]
|
|
8064
|
-
})
|
|
8048
|
+
children: [header ? /*#__PURE__*/jsx(View, {
|
|
8049
|
+
children: header
|
|
8050
|
+
}) : null, /*#__PURE__*/jsxs(View, {
|
|
8051
|
+
flexGrow: 1,
|
|
8052
|
+
flexShrink: 1,
|
|
8053
|
+
justifyContent: "space-between",
|
|
8054
|
+
children: [/*#__PURE__*/jsx(ScrollView$2, {
|
|
8055
|
+
bounces: false,
|
|
8056
|
+
contentContainerStyle: {
|
|
8057
|
+
flexGrow: 1,
|
|
8058
|
+
position: 'relative'
|
|
8059
|
+
},
|
|
8060
|
+
children: body
|
|
8061
|
+
}), footer || null]
|
|
8062
|
+
})]
|
|
8065
8063
|
});
|
|
8066
8064
|
}
|
|
8067
8065
|
FullscreenModal.Header = FullscreenModalHeader;
|
|
@@ -11491,17 +11489,13 @@ function NavigationModal({
|
|
|
11491
11489
|
body,
|
|
11492
11490
|
backgroundColor,
|
|
11493
11491
|
footer,
|
|
11494
|
-
header
|
|
11495
|
-
children
|
|
11492
|
+
header
|
|
11496
11493
|
}) {
|
|
11497
11494
|
const Component = useBreakpointValue({
|
|
11498
11495
|
base: FullscreenModal,
|
|
11499
11496
|
small: CardModal
|
|
11500
11497
|
});
|
|
11501
|
-
return
|
|
11502
|
-
backgroundColor: backgroundColor,
|
|
11503
|
-
children: children
|
|
11504
|
-
}) : /*#__PURE__*/jsx(Component, {
|
|
11498
|
+
return /*#__PURE__*/jsx(Component, {
|
|
11505
11499
|
body: body,
|
|
11506
11500
|
backgroundColor: backgroundColor,
|
|
11507
11501
|
footer: footer,
|