@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.
@@ -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__*/jsx(FullscreenModalContainer, {
7220
+ return /*#__PURE__*/jsxs(FullscreenModalContainer, {
7221
7221
  backgroundColor: backgroundColor,
7222
- children: children || /*#__PURE__*/jsxs(Fragment, {
7223
- children: [header ? /*#__PURE__*/jsx(View, {
7224
- children: header
7225
- }) : null, /*#__PURE__*/jsxs(View, {
7226
- flexGrow: 1,
7227
- flexShrink: 1,
7228
- justifyContent: "space-between",
7229
- children: [/*#__PURE__*/jsx(ScrollView$2, {
7230
- bounces: false,
7231
- contentContainerStyle: {
7232
- flexGrow: 1,
7233
- position: 'relative'
7234
- },
7235
- children: body
7236
- }), footer || null]
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 children ? /*#__PURE__*/jsx(Component, {
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,