@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
|
@@ -5154,6 +5154,7 @@ function AutocompleteItemsListContainer({
|
|
|
5154
5154
|
|
|
5155
5155
|
function AutocompleteOption({
|
|
5156
5156
|
children,
|
|
5157
|
+
testID = 'kitt.Autocomplete.option',
|
|
5157
5158
|
...props
|
|
5158
5159
|
}) {
|
|
5159
5160
|
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
@@ -5162,6 +5163,7 @@ function AutocompleteOption({
|
|
|
5162
5163
|
small: 'kitt.4'
|
|
5163
5164
|
},
|
|
5164
5165
|
paddingY: "kitt.forms.autocomplete.option.verticalPadding",
|
|
5166
|
+
testID: testID,
|
|
5165
5167
|
...props,
|
|
5166
5168
|
children: children
|
|
5167
5169
|
});
|
|
@@ -6826,6 +6828,7 @@ function InputAddressOption({
|
|
|
6826
6828
|
};
|
|
6827
6829
|
return /*#__PURE__*/jsxRuntime.jsx(Autocomplete.Option, {
|
|
6828
6830
|
item: item,
|
|
6831
|
+
testID: "kitt.InputAddressOption.item",
|
|
6829
6832
|
children: /*#__PURE__*/jsxRuntime.jsxs(HStack, {
|
|
6830
6833
|
space: "kitt.2",
|
|
6831
6834
|
children: [/*#__PURE__*/jsxRuntime.jsx(View, {
|
|
@@ -7781,8 +7784,6 @@ function FullscreenModalBody({
|
|
|
7781
7784
|
const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
|
|
7782
7785
|
const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
|
|
7783
7786
|
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
7784
|
-
flexGrow: 1,
|
|
7785
|
-
flexShrink: 1,
|
|
7786
7787
|
...props,
|
|
7787
7788
|
paddingX: "kitt.fullscreenModal.horizontalPadding",
|
|
7788
7789
|
paddingTop: paddingTop,
|
|
@@ -8060,31 +8061,28 @@ function FullscreenModalHeader({
|
|
|
8060
8061
|
}
|
|
8061
8062
|
|
|
8062
8063
|
function FullscreenModal({
|
|
8063
|
-
children,
|
|
8064
8064
|
body,
|
|
8065
8065
|
header,
|
|
8066
8066
|
footer,
|
|
8067
8067
|
backgroundColor
|
|
8068
8068
|
}) {
|
|
8069
|
-
return /*#__PURE__*/jsxRuntime.
|
|
8069
|
+
return /*#__PURE__*/jsxRuntime.jsxs(FullscreenModalContainer, {
|
|
8070
8070
|
backgroundColor: backgroundColor,
|
|
8071
|
-
children:
|
|
8072
|
-
children:
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
})]
|
|
8087
|
-
})
|
|
8071
|
+
children: [header ? /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
8072
|
+
children: header
|
|
8073
|
+
}) : null, /*#__PURE__*/jsxRuntime.jsxs(View, {
|
|
8074
|
+
flexGrow: 1,
|
|
8075
|
+
flexShrink: 1,
|
|
8076
|
+
justifyContent: "space-between",
|
|
8077
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
|
|
8078
|
+
bounces: false,
|
|
8079
|
+
contentContainerStyle: {
|
|
8080
|
+
flexGrow: 1,
|
|
8081
|
+
position: 'relative'
|
|
8082
|
+
},
|
|
8083
|
+
children: body
|
|
8084
|
+
}), footer || null]
|
|
8085
|
+
})]
|
|
8088
8086
|
});
|
|
8089
8087
|
}
|
|
8090
8088
|
FullscreenModal.Header = FullscreenModalHeader;
|
|
@@ -11514,17 +11512,13 @@ function NavigationModal({
|
|
|
11514
11512
|
body,
|
|
11515
11513
|
backgroundColor,
|
|
11516
11514
|
footer,
|
|
11517
|
-
header
|
|
11518
|
-
children
|
|
11515
|
+
header
|
|
11519
11516
|
}) {
|
|
11520
11517
|
const Component = useBreakpointValue({
|
|
11521
11518
|
base: FullscreenModal,
|
|
11522
11519
|
small: CardModal
|
|
11523
11520
|
});
|
|
11524
|
-
return
|
|
11525
|
-
backgroundColor: backgroundColor,
|
|
11526
|
-
children: children
|
|
11527
|
-
}) : /*#__PURE__*/jsxRuntime.jsx(Component, {
|
|
11521
|
+
return /*#__PURE__*/jsxRuntime.jsx(Component, {
|
|
11528
11522
|
body: body,
|
|
11529
11523
|
backgroundColor: backgroundColor,
|
|
11530
11524
|
footer: footer,
|