@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/dist/index.es.js CHANGED
@@ -5254,16 +5254,19 @@ function AutocompleteItemsListContainer(_ref) {
5254
5254
  });
5255
5255
  }
5256
5256
 
5257
- var _excluded$A = ["children"];
5257
+ var _excluded$A = ["children", "testID"];
5258
5258
  function AutocompleteOption(_ref) {
5259
5259
  var children = _ref.children,
5260
+ _ref$testID = _ref.testID,
5261
+ testID = _ref$testID === void 0 ? 'kitt.Autocomplete.option' : _ref$testID,
5260
5262
  props = _objectWithoutProperties(_ref, _excluded$A);
5261
5263
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
5262
5264
  paddingX: {
5263
5265
  base: 'kitt.2',
5264
5266
  small: 'kitt.4'
5265
5267
  },
5266
- paddingY: "kitt.forms.autocomplete.option.verticalPadding"
5268
+ paddingY: "kitt.forms.autocomplete.option.verticalPadding",
5269
+ testID: testID
5267
5270
  }, props), {}, {
5268
5271
  children: children
5269
5272
  }));
@@ -7075,6 +7078,7 @@ function InputAddressOption(_ref) {
7075
7078
  };
7076
7079
  return /*#__PURE__*/jsx(Autocomplete.Option, {
7077
7080
  item: item,
7081
+ testID: "kitt.InputAddressOption.item",
7078
7082
  children: /*#__PURE__*/jsxs(HStack, {
7079
7083
  space: "kitt.2",
7080
7084
  children: [/*#__PURE__*/jsx(View, {
@@ -8023,10 +8027,7 @@ function FullscreenModalBody(_ref) {
8023
8027
  verticalPadding = _useTheme.kitt.fullscreenModal.body.verticalPadding;
8024
8028
  var paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;
8025
8029
  var paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;
8026
- return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
8027
- flexGrow: 1,
8028
- flexShrink: 1
8029
- }, props), {}, {
8030
+ return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
8030
8031
  paddingX: "kitt.fullscreenModal.horizontalPadding",
8031
8032
  paddingTop: paddingTop,
8032
8033
  paddingBottom: paddingBottom,
@@ -8314,30 +8315,27 @@ function FullscreenModalHeader(_ref) {
8314
8315
  }
8315
8316
 
8316
8317
  function FullscreenModal(_ref) {
8317
- var children = _ref.children,
8318
- body = _ref.body,
8318
+ var body = _ref.body,
8319
8319
  header = _ref.header,
8320
8320
  footer = _ref.footer,
8321
8321
  backgroundColor = _ref.backgroundColor;
8322
- return /*#__PURE__*/jsx(FullscreenModalContainer, {
8322
+ return /*#__PURE__*/jsxs(FullscreenModalContainer, {
8323
8323
  backgroundColor: backgroundColor,
8324
- children: children || /*#__PURE__*/jsxs(Fragment, {
8325
- children: [header ? /*#__PURE__*/jsx(View, {
8326
- children: header
8327
- }) : null, /*#__PURE__*/jsxs(View, {
8328
- flexGrow: 1,
8329
- flexShrink: 1,
8330
- justifyContent: "space-between",
8331
- children: [/*#__PURE__*/jsx(ScrollView$2, {
8332
- bounces: false,
8333
- contentContainerStyle: {
8334
- flexGrow: 1,
8335
- position: 'relative'
8336
- },
8337
- children: body
8338
- }), footer || null]
8339
- })]
8340
- })
8324
+ children: [header ? /*#__PURE__*/jsx(View, {
8325
+ children: header
8326
+ }) : null, /*#__PURE__*/jsxs(View, {
8327
+ flexGrow: 1,
8328
+ flexShrink: 1,
8329
+ justifyContent: "space-between",
8330
+ children: [/*#__PURE__*/jsx(ScrollView$2, {
8331
+ bounces: false,
8332
+ contentContainerStyle: {
8333
+ flexGrow: 1,
8334
+ position: 'relative'
8335
+ },
8336
+ children: body
8337
+ }), footer || null]
8338
+ })]
8341
8339
  });
8342
8340
  }
8343
8341
  FullscreenModal.Header = FullscreenModalHeader;
@@ -11771,16 +11769,12 @@ function NavigationModal(_ref) {
11771
11769
  var body = _ref.body,
11772
11770
  backgroundColor = _ref.backgroundColor,
11773
11771
  footer = _ref.footer,
11774
- header = _ref.header,
11775
- children = _ref.children;
11772
+ header = _ref.header;
11776
11773
  var Component = useBreakpointValue({
11777
11774
  base: FullscreenModal,
11778
11775
  small: CardModal
11779
11776
  });
11780
- return children ? /*#__PURE__*/jsx(Component, {
11781
- backgroundColor: backgroundColor,
11782
- children: children
11783
- }) : /*#__PURE__*/jsx(Component, {
11777
+ return /*#__PURE__*/jsx(Component, {
11784
11778
  body: body,
11785
11779
  backgroundColor: backgroundColor,
11786
11780
  footer: footer,