@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.
@@ -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.jsx(FullscreenModalContainer, {
7227
+ return /*#__PURE__*/jsxRuntime.jsxs(FullscreenModalContainer, {
7228
7228
  backgroundColor: backgroundColor,
7229
- children: children || /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
7230
- children: [header ? /*#__PURE__*/jsxRuntime.jsx(View, {
7231
- children: header
7232
- }) : null, /*#__PURE__*/jsxRuntime.jsxs(View, {
7233
- flexGrow: 1,
7234
- flexShrink: 1,
7235
- justifyContent: "space-between",
7236
- children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
7237
- bounces: false,
7238
- contentContainerStyle: {
7239
- flexGrow: 1,
7240
- position: 'relative'
7241
- },
7242
- children: body
7243
- }), footer || null]
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 children ? /*#__PURE__*/jsxRuntime.jsx(Component, {
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,