@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
|
@@ -4888,6 +4888,7 @@ function AutocompleteItemsListContainer({
|
|
|
4888
4888
|
|
|
4889
4889
|
function AutocompleteOption({
|
|
4890
4890
|
children,
|
|
4891
|
+
testID = 'kitt.Autocomplete.option',
|
|
4891
4892
|
...props
|
|
4892
4893
|
}) {
|
|
4893
4894
|
return /*#__PURE__*/jsx(View, {
|
|
@@ -4896,6 +4897,7 @@ function AutocompleteOption({
|
|
|
4896
4897
|
small: 'kitt.4'
|
|
4897
4898
|
},
|
|
4898
4899
|
paddingY: "kitt.forms.autocomplete.option.verticalPadding",
|
|
4900
|
+
testID: testID,
|
|
4899
4901
|
...props,
|
|
4900
4902
|
children: children
|
|
4901
4903
|
});
|
|
@@ -6044,6 +6046,7 @@ function InputAddressOption({
|
|
|
6044
6046
|
};
|
|
6045
6047
|
return /*#__PURE__*/jsx(Autocomplete.Option, {
|
|
6046
6048
|
item: item,
|
|
6049
|
+
testID: "kitt.InputAddressOption.item",
|
|
6047
6050
|
children: /*#__PURE__*/jsxs(HStack, {
|
|
6048
6051
|
space: "kitt.2",
|
|
6049
6052
|
children: [/*#__PURE__*/jsx(View, {
|
|
@@ -6997,8 +7000,6 @@ function FullscreenModalBody({
|
|
|
6997
7000
|
const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
|
|
6998
7001
|
const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
|
|
6999
7002
|
return /*#__PURE__*/jsx(View, {
|
|
7000
|
-
flexGrow: 1,
|
|
7001
|
-
flexShrink: 1,
|
|
7002
7003
|
...props,
|
|
7003
7004
|
paddingX: "kitt.fullscreenModal.horizontalPadding",
|
|
7004
7005
|
paddingTop: paddingTop,
|
|
@@ -7211,31 +7212,28 @@ function FullscreenModalHeader({
|
|
|
7211
7212
|
}
|
|
7212
7213
|
|
|
7213
7214
|
function FullscreenModal({
|
|
7214
|
-
children,
|
|
7215
7215
|
body,
|
|
7216
7216
|
header,
|
|
7217
7217
|
footer,
|
|
7218
7218
|
backgroundColor
|
|
7219
7219
|
}) {
|
|
7220
|
-
return /*#__PURE__*/
|
|
7220
|
+
return /*#__PURE__*/jsxs(FullscreenModalContainer, {
|
|
7221
7221
|
backgroundColor: backgroundColor,
|
|
7222
|
-
children:
|
|
7223
|
-
children:
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
})]
|
|
7238
|
-
})
|
|
7222
|
+
children: [header ? /*#__PURE__*/jsx(View, {
|
|
7223
|
+
children: header
|
|
7224
|
+
}) : null, /*#__PURE__*/jsxs(View, {
|
|
7225
|
+
flexGrow: 1,
|
|
7226
|
+
flexShrink: 1,
|
|
7227
|
+
justifyContent: "space-between",
|
|
7228
|
+
children: [/*#__PURE__*/jsx(ScrollView$2, {
|
|
7229
|
+
bounces: false,
|
|
7230
|
+
contentContainerStyle: {
|
|
7231
|
+
flexGrow: 1,
|
|
7232
|
+
position: 'relative'
|
|
7233
|
+
},
|
|
7234
|
+
children: body
|
|
7235
|
+
}), footer || null]
|
|
7236
|
+
})]
|
|
7239
7237
|
});
|
|
7240
7238
|
}
|
|
7241
7239
|
FullscreenModal.Header = FullscreenModalHeader;
|
|
@@ -10769,17 +10767,13 @@ function NavigationModal({
|
|
|
10769
10767
|
body,
|
|
10770
10768
|
backgroundColor,
|
|
10771
10769
|
footer,
|
|
10772
|
-
header
|
|
10773
|
-
children
|
|
10770
|
+
header
|
|
10774
10771
|
}) {
|
|
10775
10772
|
const Component = useBreakpointValue({
|
|
10776
10773
|
base: FullscreenModal,
|
|
10777
10774
|
small: CardModal
|
|
10778
10775
|
});
|
|
10779
|
-
return
|
|
10780
|
-
backgroundColor: backgroundColor,
|
|
10781
|
-
children: children
|
|
10782
|
-
}) : /*#__PURE__*/jsx(Component, {
|
|
10776
|
+
return /*#__PURE__*/jsx(Component, {
|
|
10783
10777
|
body: body,
|
|
10784
10778
|
backgroundColor: backgroundColor,
|
|
10785
10779
|
footer: footer,
|