@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.
@@ -5137,10 +5137,11 @@ function AutocompleteItemsListContainer({
5137
5137
  });
5138
5138
  }
5139
5139
 
5140
- const _excluded$A = ["children"];
5140
+ const _excluded$A = ["children", "testID"];
5141
5141
  function AutocompleteOption(_ref) {
5142
5142
  let {
5143
- children
5143
+ children,
5144
+ testID = 'kitt.Autocomplete.option'
5144
5145
  } = _ref,
5145
5146
  props = _objectWithoutProperties(_ref, _excluded$A);
5146
5147
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
@@ -5148,7 +5149,8 @@ function AutocompleteOption(_ref) {
5148
5149
  base: 'kitt.2',
5149
5150
  small: 'kitt.4'
5150
5151
  },
5151
- paddingY: "kitt.forms.autocomplete.option.verticalPadding"
5152
+ paddingY: "kitt.forms.autocomplete.option.verticalPadding",
5153
+ testID: testID
5152
5154
  }, props), {}, {
5153
5155
  children: children
5154
5156
  }));
@@ -6818,6 +6820,7 @@ function InputAddressOption({
6818
6820
  };
6819
6821
  return /*#__PURE__*/jsx(Autocomplete.Option, {
6820
6822
  item: item,
6823
+ testID: "kitt.InputAddressOption.item",
6821
6824
  children: /*#__PURE__*/jsxs(HStack, {
6822
6825
  space: "kitt.2",
6823
6826
  children: [/*#__PURE__*/jsx(View, {
@@ -7781,10 +7784,7 @@ function FullscreenModalBody(_ref) {
7781
7784
  } = useTheme();
7782
7785
  const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
7783
7786
  const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
7784
- return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
7785
- flexGrow: 1,
7786
- flexShrink: 1
7787
- }, props), {}, {
7787
+ return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
7788
7788
  paddingX: "kitt.fullscreenModal.horizontalPadding",
7789
7789
  paddingTop: paddingTop,
7790
7790
  paddingBottom: paddingBottom,
@@ -8066,31 +8066,28 @@ function FullscreenModalHeader(_ref) {
8066
8066
  }
8067
8067
 
8068
8068
  function FullscreenModal({
8069
- children,
8070
8069
  body,
8071
8070
  header,
8072
8071
  footer,
8073
8072
  backgroundColor
8074
8073
  }) {
8075
- return /*#__PURE__*/jsx(FullscreenModalContainer, {
8074
+ return /*#__PURE__*/jsxs(FullscreenModalContainer, {
8076
8075
  backgroundColor: backgroundColor,
8077
- children: children || /*#__PURE__*/jsxs(Fragment, {
8078
- children: [header ? /*#__PURE__*/jsx(View, {
8079
- children: header
8080
- }) : null, /*#__PURE__*/jsxs(View, {
8081
- flexGrow: 1,
8082
- flexShrink: 1,
8083
- justifyContent: "space-between",
8084
- children: [/*#__PURE__*/jsx(ScrollView$2, {
8085
- bounces: false,
8086
- contentContainerStyle: {
8087
- flexGrow: 1,
8088
- position: 'relative'
8089
- },
8090
- children: body
8091
- }), footer || null]
8092
- })]
8093
- })
8076
+ children: [header ? /*#__PURE__*/jsx(View, {
8077
+ children: header
8078
+ }) : null, /*#__PURE__*/jsxs(View, {
8079
+ flexGrow: 1,
8080
+ flexShrink: 1,
8081
+ justifyContent: "space-between",
8082
+ children: [/*#__PURE__*/jsx(ScrollView$2, {
8083
+ bounces: false,
8084
+ contentContainerStyle: {
8085
+ flexGrow: 1,
8086
+ position: 'relative'
8087
+ },
8088
+ children: body
8089
+ }), footer || null]
8090
+ })]
8094
8091
  });
8095
8092
  }
8096
8093
  FullscreenModal.Header = FullscreenModalHeader;
@@ -11511,17 +11508,13 @@ function NavigationModal({
11511
11508
  body,
11512
11509
  backgroundColor,
11513
11510
  footer,
11514
- header,
11515
- children
11511
+ header
11516
11512
  }) {
11517
11513
  const Component = useBreakpointValue({
11518
11514
  base: FullscreenModal,
11519
11515
  small: CardModal
11520
11516
  });
11521
- return children ? /*#__PURE__*/jsx(Component, {
11522
- backgroundColor: backgroundColor,
11523
- children: children
11524
- }) : /*#__PURE__*/jsx(Component, {
11517
+ return /*#__PURE__*/jsx(Component, {
11525
11518
  body: body,
11526
11519
  backgroundColor: backgroundColor,
11527
11520
  footer: footer,