@ornikar/kitt-universal 25.51.1-canary.d67b65db8008c1a8549aa9a6ef5ca833bbea3980.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 +3 -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
|
@@ -4895,6 +4895,7 @@ function AutocompleteItemsListContainer({
|
|
|
4895
4895
|
|
|
4896
4896
|
function AutocompleteOption({
|
|
4897
4897
|
children,
|
|
4898
|
+
testID = 'kitt.Autocomplete.option',
|
|
4898
4899
|
...props
|
|
4899
4900
|
}) {
|
|
4900
4901
|
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
@@ -4903,6 +4904,7 @@ function AutocompleteOption({
|
|
|
4903
4904
|
small: 'kitt.4'
|
|
4904
4905
|
},
|
|
4905
4906
|
paddingY: "kitt.forms.autocomplete.option.verticalPadding",
|
|
4907
|
+
testID: testID,
|
|
4906
4908
|
...props,
|
|
4907
4909
|
children: children
|
|
4908
4910
|
});
|
|
@@ -6051,6 +6053,7 @@ function InputAddressOption({
|
|
|
6051
6053
|
};
|
|
6052
6054
|
return /*#__PURE__*/jsxRuntime.jsx(Autocomplete.Option, {
|
|
6053
6055
|
item: item,
|
|
6056
|
+
testID: "kitt.InputAddressOption.item",
|
|
6054
6057
|
children: /*#__PURE__*/jsxRuntime.jsxs(HStack, {
|
|
6055
6058
|
space: "kitt.2",
|
|
6056
6059
|
children: [/*#__PURE__*/jsxRuntime.jsx(View, {
|
|
@@ -7004,8 +7007,6 @@ function FullscreenModalBody({
|
|
|
7004
7007
|
const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
|
|
7005
7008
|
const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
|
|
7006
7009
|
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
7007
|
-
flexGrow: 1,
|
|
7008
|
-
flexShrink: 1,
|
|
7009
7010
|
...props,
|
|
7010
7011
|
paddingX: "kitt.fullscreenModal.horizontalPadding",
|
|
7011
7012
|
paddingTop: paddingTop,
|
|
@@ -7218,31 +7219,28 @@ function FullscreenModalHeader({
|
|
|
7218
7219
|
}
|
|
7219
7220
|
|
|
7220
7221
|
function FullscreenModal({
|
|
7221
|
-
children,
|
|
7222
7222
|
body,
|
|
7223
7223
|
header,
|
|
7224
7224
|
footer,
|
|
7225
7225
|
backgroundColor
|
|
7226
7226
|
}) {
|
|
7227
|
-
return /*#__PURE__*/jsxRuntime.
|
|
7227
|
+
return /*#__PURE__*/jsxRuntime.jsxs(FullscreenModalContainer, {
|
|
7228
7228
|
backgroundColor: backgroundColor,
|
|
7229
|
-
children:
|
|
7230
|
-
children:
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
})]
|
|
7245
|
-
})
|
|
7229
|
+
children: [header ? /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
7230
|
+
children: header
|
|
7231
|
+
}) : null, /*#__PURE__*/jsxRuntime.jsxs(View, {
|
|
7232
|
+
flexGrow: 1,
|
|
7233
|
+
flexShrink: 1,
|
|
7234
|
+
justifyContent: "space-between",
|
|
7235
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
|
|
7236
|
+
bounces: false,
|
|
7237
|
+
contentContainerStyle: {
|
|
7238
|
+
flexGrow: 1,
|
|
7239
|
+
position: 'relative'
|
|
7240
|
+
},
|
|
7241
|
+
children: body
|
|
7242
|
+
}), footer || null]
|
|
7243
|
+
})]
|
|
7246
7244
|
});
|
|
7247
7245
|
}
|
|
7248
7246
|
FullscreenModal.Header = FullscreenModalHeader;
|
|
@@ -10776,17 +10774,13 @@ function NavigationModal({
|
|
|
10776
10774
|
body,
|
|
10777
10775
|
backgroundColor,
|
|
10778
10776
|
footer,
|
|
10779
|
-
header
|
|
10780
|
-
children
|
|
10777
|
+
header
|
|
10781
10778
|
}) {
|
|
10782
10779
|
const Component = useBreakpointValue({
|
|
10783
10780
|
base: FullscreenModal,
|
|
10784
10781
|
small: CardModal
|
|
10785
10782
|
});
|
|
10786
|
-
return
|
|
10787
|
-
backgroundColor: backgroundColor,
|
|
10788
|
-
children: children
|
|
10789
|
-
}) : /*#__PURE__*/jsxRuntime.jsx(Component, {
|
|
10783
|
+
return /*#__PURE__*/jsxRuntime.jsx(Component, {
|
|
10790
10784
|
body: body,
|
|
10791
10785
|
backgroundColor: backgroundColor,
|
|
10792
10786
|
footer: footer,
|