@ornikar/kitt-universal 31.3.0 → 31.3.2-canary.1a5b65d2fbfa0e00bf6c237b7d017b61dce7e75b.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.
Files changed (138) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/definitions/ActionCard/utils/getStateKey.d.ts.map +1 -1
  3. package/dist/definitions/ActionCard/utils/getThemeName.d.ts.map +1 -1
  4. package/dist/definitions/Actions/Actions.d.ts +3 -9
  5. package/dist/definitions/Actions/Actions.d.ts.map +1 -1
  6. package/dist/definitions/Actions/ActionsItem.d.ts +2 -8
  7. package/dist/definitions/Actions/ActionsItem.d.ts.map +1 -1
  8. package/dist/definitions/BaseMessage/helper.d.ts +1 -1
  9. package/dist/definitions/BaseMessage/helper.d.ts.map +1 -1
  10. package/dist/definitions/BottomSheet/BottomSheet.d.ts +1 -1
  11. package/dist/definitions/BottomSheet/BottomSheet.d.ts.map +1 -1
  12. package/dist/definitions/BottomSheet/BottomSheet.web.d.ts +1 -1
  13. package/dist/definitions/BottomSheet/BottomSheet.web.d.ts.map +1 -1
  14. package/dist/definitions/Button/hooks/useNativeAnimation.d.ts.map +1 -1
  15. package/dist/definitions/Button/utils/getButtonTextColorByType.d.ts.map +1 -1
  16. package/dist/definitions/CardModal/CardModal.d.ts.map +1 -1
  17. package/dist/definitions/CardModal/CardModalAnimation/CardModalRotationContainer.d.ts +0 -1
  18. package/dist/definitions/CardModal/CardModalAnimation/CardModalRotationContainer.d.ts.map +1 -1
  19. package/dist/definitions/Choices/hooks/useNativeAnimation.d.ts.map +1 -1
  20. package/dist/definitions/ExternalAppLink/ExternalAppLink.d.ts.map +1 -1
  21. package/dist/definitions/ExternalLink/hooks/useOpenExternalLink.d.ts.map +1 -1
  22. package/dist/definitions/ExternalLink/hooks/useOpenExternalLink.web.d.ts.map +1 -1
  23. package/dist/definitions/GoogleMapsAutocompleteProvider/hooks/useGoogleMapsApi.d.ts +0 -2
  24. package/dist/definitions/GoogleMapsAutocompleteProvider/hooks/useGoogleMapsApi.d.ts.map +1 -1
  25. package/dist/definitions/GoogleMapsAutocompleteProvider/reducer/googleMapsAutocompleteReducer.d.ts +0 -2
  26. package/dist/definitions/GoogleMapsAutocompleteProvider/reducer/googleMapsAutocompleteReducer.d.ts.map +1 -1
  27. package/dist/definitions/GoogleMapsAutocompleteProvider/types.d.ts +0 -2
  28. package/dist/definitions/GoogleMapsAutocompleteProvider/types.d.ts.map +1 -1
  29. package/dist/definitions/GoogleMapsAutocompleteProvider/utils/formatAddressFromGoogle.d.ts +0 -1
  30. package/dist/definitions/GoogleMapsAutocompleteProvider/utils/formatAddressFromGoogle.d.ts.map +1 -1
  31. package/dist/definitions/Highlight/hooks/useNativeAnimation.d.ts.map +1 -1
  32. package/dist/definitions/IconButton/utils/getButtonTypeAndVariant.d.ts.map +1 -1
  33. package/dist/definitions/KittThemeContext.d.ts +0 -1
  34. package/dist/definitions/KittThemeContext.d.ts.map +1 -1
  35. package/dist/definitions/MapMarker/hooks/useNativeAnimation.d.ts.map +1 -1
  36. package/dist/definitions/MapMarker/utils/getBackgroundColor.d.ts.map +1 -1
  37. package/dist/definitions/ModalBehaviour/ModalBehaviour.d.ts.map +1 -1
  38. package/dist/definitions/NavigationModal/NavigationModal.d.ts.map +1 -1
  39. package/dist/definitions/Notification/Notification.d.ts +0 -1
  40. package/dist/definitions/Notification/Notification.d.ts.map +1 -1
  41. package/dist/definitions/Overlay/Overlay.d.ts +0 -1
  42. package/dist/definitions/Overlay/Overlay.d.ts.map +1 -1
  43. package/dist/definitions/Skeleton/Skeleton.d.ts.map +1 -1
  44. package/dist/definitions/TabBar/TabBarItem.d.ts.map +1 -1
  45. package/dist/definitions/TimePicker/TimePicker.web.d.ts +0 -1
  46. package/dist/definitions/TimePicker/TimePicker.web.d.ts.map +1 -1
  47. package/dist/definitions/TimePicker/TimePickerPressable.d.ts +0 -1
  48. package/dist/definitions/TimePicker/TimePickerPressable.d.ts.map +1 -1
  49. package/dist/definitions/Toast/Toast.utils.d.ts +1 -1
  50. package/dist/definitions/Toast/Toast.utils.d.ts.map +1 -1
  51. package/dist/definitions/Tooltip/Arrow.d.ts +0 -1
  52. package/dist/definitions/Tooltip/Arrow.d.ts.map +1 -1
  53. package/dist/definitions/TopNavBar/TopNavBar.d.ts.map +1 -1
  54. package/dist/definitions/forms/Checkbox/Checkbox.d.ts +0 -1
  55. package/dist/definitions/forms/Checkbox/Checkbox.d.ts.map +1 -1
  56. package/dist/definitions/forms/DatePicker/DatePicker.web.d.ts +0 -1
  57. package/dist/definitions/forms/DatePicker/DatePicker.web.d.ts.map +1 -1
  58. package/dist/definitions/forms/DatePicker/components/InputPart.d.ts +0 -1
  59. package/dist/definitions/forms/DatePicker/components/InputPart.d.ts.map +1 -1
  60. package/dist/definitions/forms/DatePicker/components/KeyboardDatePicker.d.ts +0 -1
  61. package/dist/definitions/forms/DatePicker/components/KeyboardDatePicker.d.ts.map +1 -1
  62. package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/DatePickerAndroid.d.ts +0 -1
  63. package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/DatePickerAndroid.d.ts.map +1 -1
  64. package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/DefaultNativeUIDatePicker.d.ts +0 -1
  65. package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/DefaultNativeUIDatePicker.d.ts.map +1 -1
  66. package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/NativeUIDatePicker.d.ts +0 -1
  67. package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/NativeUIDatePicker.d.ts.map +1 -1
  68. package/dist/definitions/forms/DatePicker/components/PressableDateInputs.d.ts +0 -1
  69. package/dist/definitions/forms/DatePicker/components/PressableDateInputs.d.ts.map +1 -1
  70. package/dist/definitions/forms/InputAddress/InputAddress.d.ts +15 -9
  71. package/dist/definitions/forms/InputAddress/InputAddress.d.ts.map +1 -1
  72. package/dist/definitions/forms/InputAddress/InputAddressLegacy.d.ts +15 -0
  73. package/dist/definitions/forms/InputAddress/InputAddressLegacy.d.ts.map +1 -0
  74. package/dist/definitions/forms/InputAddress/InputAddressOption.d.ts +5 -4
  75. package/dist/definitions/forms/InputAddress/InputAddressOption.d.ts.map +1 -1
  76. package/dist/definitions/forms/InputAddress/InputAddressOptionLegacy.d.ts +7 -0
  77. package/dist/definitions/forms/InputAddress/InputAddressOptionLegacy.d.ts.map +1 -0
  78. package/dist/definitions/forms/InputAddress/utils/defaultItemToString.d.ts +0 -1
  79. package/dist/definitions/forms/InputAddress/utils/defaultItemToString.d.ts.map +1 -1
  80. package/dist/definitions/forms/InputAddress/utils/formatInitialValueDescription.d.ts.map +1 -1
  81. package/dist/definitions/forms/InputAddress/utils/formatInitialValueToAutocompletePrediction.d.ts +0 -1
  82. package/dist/definitions/forms/InputAddress/utils/formatInitialValueToAutocompletePrediction.d.ts.map +1 -1
  83. package/dist/definitions/forms/InputEmail/InputEmail.d.ts +0 -1
  84. package/dist/definitions/forms/InputEmail/InputEmail.d.ts.map +1 -1
  85. package/dist/definitions/forms/InputIban/InputIban.d.ts +0 -1
  86. package/dist/definitions/forms/InputIban/InputIban.d.ts.map +1 -1
  87. package/dist/definitions/forms/InputNumber/InputNumber.d.ts +0 -1
  88. package/dist/definitions/forms/InputNumber/InputNumber.d.ts.map +1 -1
  89. package/dist/definitions/forms/InputPassword/InputPassword.d.ts +0 -1
  90. package/dist/definitions/forms/InputPassword/InputPassword.d.ts.map +1 -1
  91. package/dist/definitions/forms/InputPhone/InputPhone.d.ts +0 -1
  92. package/dist/definitions/forms/InputPhone/InputPhone.d.ts.map +1 -1
  93. package/dist/definitions/forms/Radio/Radio.d.ts +1 -1
  94. package/dist/definitions/forms/Radio/Radio.d.ts.map +1 -1
  95. package/dist/definitions/forms/RadioButtonGroup/hooks/useNativeAnimation.d.ts.map +1 -1
  96. package/dist/definitions/forms/TextArea/TextArea.d.ts +0 -1
  97. package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -1
  98. package/dist/definitions/forms/Toggle/utils/getStateKey.d.ts.map +1 -1
  99. package/dist/definitions/index.d.ts +4 -1
  100. package/dist/definitions/index.d.ts.map +1 -1
  101. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +26 -26
  102. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  103. package/dist/definitions/native-base/layout.d.ts.map +1 -1
  104. package/dist/definitions/native-base/primitives.d.ts +2 -2
  105. package/dist/definitions/native-base/primitives.d.ts.map +1 -1
  106. package/dist/definitions/story-components/StoryBlock.d.ts.map +1 -1
  107. package/dist/definitions/story-components/StoryDecorator.d.ts +1 -1
  108. package/dist/definitions/story-components/StoryDecorator.d.ts.map +1 -1
  109. package/dist/definitions/story-components/StorySection.d.ts.map +1 -1
  110. package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
  111. package/dist/definitions/typography/BasicNativeBaseText.d.ts +0 -1
  112. package/dist/definitions/typography/BasicNativeBaseText.d.ts.map +1 -1
  113. package/dist/definitions/typography/Typography.d.ts +227 -225
  114. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  115. package/dist/definitions/typography/utils/getTypographyFamily.d.ts.map +1 -1
  116. package/dist/definitions/utils/hexToRgba.d.ts.map +1 -1
  117. package/dist/definitions/utils/storybook/ChromaticReducedMotionDecorator.d.ts +1 -1
  118. package/dist/definitions/utils/storybook/ChromaticReducedMotionDecorator.d.ts.map +1 -1
  119. package/dist/definitions/utils/storybook/KittThemeDecorator.d.ts +1 -1
  120. package/dist/definitions/utils/storybook/KittThemeDecorator.d.ts.map +1 -1
  121. package/dist/index-metro.es.android.js +190 -107
  122. package/dist/index-metro.es.android.js.map +1 -1
  123. package/dist/index-metro.es.ios.js +190 -107
  124. package/dist/index-metro.es.ios.js.map +1 -1
  125. package/dist/index-node-22.17.cjs.js +125 -42
  126. package/dist/index-node-22.17.cjs.js.map +1 -1
  127. package/dist/index-node-22.17.cjs.web.js +125 -42
  128. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  129. package/dist/index-node-22.17.es.mjs +125 -43
  130. package/dist/index-node-22.17.es.mjs.map +1 -1
  131. package/dist/index-node-22.17.es.web.mjs +125 -43
  132. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  133. package/dist/index.es.js +192 -106
  134. package/dist/index.es.js.map +1 -1
  135. package/dist/index.es.web.js +178 -92
  136. package/dist/index.es.web.js.map +1 -1
  137. package/dist/tsbuildinfo +1 -1
  138. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -2865,7 +2865,7 @@ function ActionCardDisabled(_ref) {
2865
2865
  });
2866
2866
  }
2867
2867
 
2868
- var _excluded$S = ["children", "variant", "borderVariant", "borderRadius", "disabled", "isHovered", "isPressed", "isFocused"];
2868
+ var _excluded$T = ["children", "variant", "borderVariant", "borderRadius", "disabled", "isHovered", "isPressed", "isFocused"];
2869
2869
  function ActionCard(_ref) {
2870
2870
  var children = _ref.children,
2871
2871
  _ref$variant = _ref.variant,
@@ -2878,7 +2878,7 @@ function ActionCard(_ref) {
2878
2878
  isHovered = _ref.isHovered,
2879
2879
  isPressed = _ref.isPressed,
2880
2880
  isFocused = _ref.isFocused,
2881
- props = _objectWithoutProperties(_ref, _excluded$S);
2881
+ props = _objectWithoutProperties(_ref, _excluded$T);
2882
2882
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
2883
2883
  children: disabled ? /*#__PURE__*/jsx(ActionCardDisabled, {
2884
2884
  borderRadius: borderRadius,
@@ -3202,7 +3202,7 @@ var getTypographyTypeWithAncestorValue = function (type, typographyTypeInContext
3202
3202
  return !!isAllValuesUndefined && !!typographyTypeInContext ? typographyTypeInContext : type;
3203
3203
  };
3204
3204
 
3205
- var _excluded$R = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
3205
+ var _excluded$S = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
3206
3206
  var TypographyFamilyContext = /*#__PURE__*/createContext(null);
3207
3207
  var TypographyTypeContext = /*#__PURE__*/createContext(null);
3208
3208
  var TypographyVariantContext = /*#__PURE__*/createContext(undefined);
@@ -3327,7 +3327,7 @@ var TypographyBase = /*#__PURE__*/forwardRef(function (_ref2, ref) {
3327
3327
  } : _ref2$type,
3328
3328
  variant = _ref2.variant,
3329
3329
  color = _ref2.color,
3330
- otherProps = _objectWithoutProperties(_ref2, _excluded$R);
3330
+ otherProps = _objectWithoutProperties(_ref2, _excluded$S);
3331
3331
  var sx = useSx();
3332
3332
 
3333
3333
  // ancestors
@@ -3489,12 +3489,12 @@ function Icon(_ref) {
3489
3489
  });
3490
3490
  }
3491
3491
 
3492
- var _excluded$Q = ["color", "size"],
3492
+ var _excluded$R = ["color", "size"],
3493
3493
  _excluded2$5 = ["color"];
3494
3494
  function TypographyIconSpecifiedColor(_ref) {
3495
3495
  var color = _ref.color,
3496
3496
  size = _ref.size,
3497
- props = _objectWithoutProperties(_ref, _excluded$Q);
3497
+ props = _objectWithoutProperties(_ref, _excluded$R);
3498
3498
  var colorValue = getTypographyColorValue(color);
3499
3499
  var sx = useSx();
3500
3500
  var _sx = sx({
@@ -3534,7 +3534,7 @@ var getButtonTextColorByType = function (type, variant, isHovered, isPressed, is
3534
3534
  return "".concat(baseKey, ".default");
3535
3535
  };
3536
3536
 
3537
- var _excluded$P = ["type", "variant", "isDisabled", "icon", "children", "isHovered", "isPressed", "isFocused", "innerSpacing", "size"];
3537
+ var _excluded$Q = ["type", "variant", "isDisabled", "icon", "children", "isHovered", "isPressed", "isFocused", "innerSpacing", "size"];
3538
3538
  function ButtonContentChildren(_ref) {
3539
3539
  var type = _ref.type,
3540
3540
  icon = _ref.icon,
@@ -3634,7 +3634,7 @@ function ButtonContent(_ref2) {
3634
3634
  _ref2.isFocused;
3635
3635
  var innerSpacing = _ref2.innerSpacing,
3636
3636
  size = _ref2.size,
3637
- props = _objectWithoutProperties(_ref2, _excluded$P);
3637
+ props = _objectWithoutProperties(_ref2, _excluded$Q);
3638
3638
  var color = getButtonTextColorByType(type, variant, isHovered, isPressed, isDisabled);
3639
3639
  return /*#__PURE__*/jsx(View, {
3640
3640
  _web: {
@@ -3955,7 +3955,7 @@ function LoaderIcon(_ref) {
3955
3955
  });
3956
3956
  }
3957
3957
 
3958
- var _excluded$O = ["as", "onPress", "disabled", "icon", "stretch"];
3958
+ var _excluded$P = ["as", "onPress", "disabled", "icon", "stretch"];
3959
3959
  var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
3960
3960
  var as = _ref.as,
3961
3961
  onPress = _ref.onPress,
@@ -3966,7 +3966,7 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
3966
3966
  base: true,
3967
3967
  medium: false
3968
3968
  } : _ref$stretch,
3969
- props = _objectWithoutProperties(_ref, _excluded$O);
3969
+ props = _objectWithoutProperties(_ref, _excluded$P);
3970
3970
  var _useState = useState(false),
3971
3971
  _useState2 = _slicedToArray(_useState, 2),
3972
3972
  isLoading = _useState2[0],
@@ -4044,7 +4044,7 @@ function ActionsButton(_ref) {
4044
4044
  }, props));
4045
4045
  }
4046
4046
 
4047
- var _excluded$N = ["children", "layout", "reversed"];
4047
+ var _excluded$O = ["children", "layout", "reversed"];
4048
4048
  function getCurrentLayout(layout) {
4049
4049
  if (!layout) return {
4050
4050
  base: 'stretch',
@@ -4076,7 +4076,7 @@ function Actions(_ref) {
4076
4076
  reversed = _ref$reversed === void 0 ? {
4077
4077
  base: false
4078
4078
  } : _ref$reversed,
4079
- props = _objectWithoutProperties(_ref, _excluded$N);
4079
+ props = _objectWithoutProperties(_ref, _excluded$O);
4080
4080
  var shouldReverse = typeof reversed === 'boolean' ? {
4081
4081
  base: !!reversed
4082
4082
  } : createResponsiveStyleFromProp(reversed, true, false);
@@ -4129,7 +4129,7 @@ function getInitials(firstname, lastname) {
4129
4129
  return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
4130
4130
  }
4131
4131
 
4132
- var _excluded$M = ["size", "round", "light", "sizeVariant", "width", "height", "dark", "disabled"];
4132
+ var _excluded$N = ["size", "round", "light", "sizeVariant", "width", "height", "dark", "disabled"];
4133
4133
  function AvatarContent(_ref) {
4134
4134
  var size = _ref.size,
4135
4135
  src = _ref.src,
@@ -4192,7 +4192,7 @@ function Avatar(_ref2) {
4192
4192
  height = _ref2.height,
4193
4193
  dark = _ref2.dark,
4194
4194
  disabled = _ref2.disabled,
4195
- props = _objectWithoutProperties(_ref2, _excluded$M);
4195
+ props = _objectWithoutProperties(_ref2, _excluded$N);
4196
4196
  var currentSize = getCurrentSize({
4197
4197
  size: size,
4198
4198
  sizeVariant: sizeVariant
@@ -4230,7 +4230,7 @@ function Avatar(_ref2) {
4230
4230
  });
4231
4231
  }
4232
4232
 
4233
- var _excluded$L = ["children", "hasScrollView", "hasBackdrop", "hasHandle", "enableDynamicSizing", "snapPoints"];
4233
+ var _excluded$M = ["children", "hasScrollView", "hasBackdrop", "hasHandle", "enableDynamicSizing", "snapPoints"];
4234
4234
  function BottomSheetComp(_ref, ref) {
4235
4235
  var Content = _ref.children,
4236
4236
  _ref$hasScrollView = _ref.hasScrollView,
@@ -4243,7 +4243,7 @@ function BottomSheetComp(_ref, ref) {
4243
4243
  enableDynamicSizing = _ref$enableDynamicSiz === void 0 ? true : _ref$enableDynamicSiz,
4244
4244
  _ref$snapPoints = _ref.snapPoints,
4245
4245
  snapPoints = _ref$snapPoints === void 0 ? ['100%'] : _ref$snapPoints,
4246
- rest = _objectWithoutProperties(_ref, _excluded$L);
4246
+ rest = _objectWithoutProperties(_ref, _excluded$M);
4247
4247
  var _useSafeAreaInsets = useSafeAreaInsets(),
4248
4248
  top = _useSafeAreaInsets.top;
4249
4249
  var Wrapper = useMemo(function () {
@@ -4561,13 +4561,13 @@ function CardModalAnimation(_ref) {
4561
4561
  });
4562
4562
  }
4563
4563
 
4564
- var _excluded$K = ["children", "visible", "onClose", "onExited"];
4564
+ var _excluded$L = ["children", "visible", "onClose", "onExited"];
4565
4565
  function CardModalBehaviour(_ref) {
4566
4566
  var children = _ref.children,
4567
4567
  visible = _ref.visible,
4568
4568
  onClose = _ref.onClose,
4569
4569
  onExited = _ref.onExited,
4570
- props = _objectWithoutProperties(_ref, _excluded$K);
4570
+ props = _objectWithoutProperties(_ref, _excluded$L);
4571
4571
  var _useState = useState(visible),
4572
4572
  _useState2 = _slicedToArray(_useState, 2),
4573
4573
  isModalBehaviourVisible = _useState2[0],
@@ -4592,12 +4592,12 @@ function CardModalBehaviour(_ref) {
4592
4592
  });
4593
4593
  }
4594
4594
 
4595
- var _excluded$J = ["children", "padding"];
4595
+ var _excluded$K = ["children", "padding"];
4596
4596
  function CardModalBody(_ref) {
4597
4597
  var children = _ref.children,
4598
4598
  _ref$padding = _ref.padding,
4599
4599
  padding = _ref$padding === void 0 ? 'kitt.4' : _ref$padding,
4600
- props = _objectWithoutProperties(_ref, _excluded$J);
4600
+ props = _objectWithoutProperties(_ref, _excluded$K);
4601
4601
  return /*#__PURE__*/jsx(ScrollView, _objectSpread(_objectSpread({
4602
4602
  showsVerticalScrollIndicator: false,
4603
4603
  _contentContainerStyle: {
@@ -4608,7 +4608,7 @@ function CardModalBody(_ref) {
4608
4608
  }));
4609
4609
  }
4610
4610
 
4611
- var _excluded$I = ["children", "padding", "hasSeparator"];
4611
+ var _excluded$J = ["children", "padding", "hasSeparator"];
4612
4612
  function CardModalFooter(_ref) {
4613
4613
  var children = _ref.children,
4614
4614
  _ref$padding = _ref.padding,
@@ -4618,7 +4618,7 @@ function CardModalFooter(_ref) {
4618
4618
  } : _ref$padding,
4619
4619
  _ref$hasSeparator = _ref.hasSeparator,
4620
4620
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
4621
- props = _objectWithoutProperties(_ref, _excluded$I);
4621
+ props = _objectWithoutProperties(_ref, _excluded$J);
4622
4622
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
4623
4623
  marginTop: "kitt.2",
4624
4624
  padding: padding,
@@ -4662,7 +4662,7 @@ var getButtonTypeAndVariant = function (iconColor) {
4662
4662
  }
4663
4663
  };
4664
4664
 
4665
- var _excluded$H = ["color", "ariaLabel"];
4665
+ var _excluded$I = ["color", "ariaLabel"];
4666
4666
  /**
4667
4667
  * @deprecated IconButton should only be used as a navigation button
4668
4668
  * Other use cases should use a <Button> component with an icon
@@ -4671,7 +4671,7 @@ function IconButton(_ref) {
4671
4671
  var _ref$color = _ref.color,
4672
4672
  color = _ref$color === void 0 ? 'black' : _ref$color;
4673
4673
  _ref.ariaLabel;
4674
- var props = _objectWithoutProperties(_ref, _excluded$H);
4674
+ var props = _objectWithoutProperties(_ref, _excluded$I);
4675
4675
  var _getButtonTypeAndVari = getButtonTypeAndVariant(color),
4676
4676
  legacyColorToType = _getButtonTypeAndVari.type,
4677
4677
  legacyColorToVariant = _getButtonTypeAndVari.variant;
@@ -4778,7 +4778,7 @@ function CardModalHeader(props) {
4778
4778
  return /*#__PURE__*/jsx(TopNavBar, _objectSpread({}, props));
4779
4779
  }
4780
4780
 
4781
- var _excluded$G = ["backgroundColor", "maxWidth", "withoutShadow", "children"];
4781
+ var _excluded$H = ["backgroundColor", "maxWidth", "withoutShadow", "children"];
4782
4782
  function CardModal(_ref) {
4783
4783
  var _ref$backgroundColor = _ref.backgroundColor,
4784
4784
  backgroundColor = _ref$backgroundColor === void 0 ? 'kitt.uiBackgroundLight' : _ref$backgroundColor,
@@ -4786,16 +4786,19 @@ function CardModal(_ref) {
4786
4786
  maxWidth = _ref$maxWidth === void 0 ? 'kitt.cardModal.maxWidth' : _ref$maxWidth,
4787
4787
  withoutShadow = _ref.withoutShadow,
4788
4788
  children = _ref.children,
4789
- props = _objectWithoutProperties(_ref, _excluded$G);
4789
+ props = _objectWithoutProperties(_ref, _excluded$H);
4790
4790
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
4791
4791
  overflow: "hidden",
4792
4792
  backgroundColor: backgroundColor,
4793
4793
  shadow: withoutShadow ? undefined : 'kitt.cardModal.shadow',
4794
4794
  borderRadius: "kitt.cardModal.borderRadius",
4795
+ flexGrow: 1,
4795
4796
  width: "100%",
4796
4797
  maxHeight: "100%",
4797
- maxWidth: maxWidth,
4798
4798
  minHeight: "kitt.cardModal.minHeight",
4799
+ _web: {
4800
+ maxWidth: maxWidth
4801
+ },
4799
4802
  children: children
4800
4803
  }));
4801
4804
  }
@@ -5030,11 +5033,11 @@ function ChoiceItemContainer(_ref) {
5030
5033
  }));
5031
5034
  }
5032
5035
 
5033
- var _excluded$F = ["direction", "contentContainerStyle"];
5036
+ var _excluded$G = ["direction", "contentContainerStyle"];
5034
5037
  function ChoicesContainer(_ref) {
5035
5038
  var direction = _ref.direction,
5036
5039
  contentContainerStyle = _ref.contentContainerStyle,
5037
- props = _objectWithoutProperties(_ref, _excluded$F);
5040
+ props = _objectWithoutProperties(_ref, _excluded$G);
5038
5041
  if (direction === 'row') {
5039
5042
  return /*#__PURE__*/jsx(ScrollView$2, _objectSpread({
5040
5043
  horizontal: true,
@@ -5265,13 +5268,13 @@ function DialogModalAnimation(_ref) {
5265
5268
  });
5266
5269
  }
5267
5270
 
5268
- var _excluded$E = ["children", "visible", "onClose", "onExited"];
5271
+ var _excluded$F = ["children", "visible", "onClose", "onExited"];
5269
5272
  function DialogModalBehaviour(_ref) {
5270
5273
  var children = _ref.children,
5271
5274
  visible = _ref.visible,
5272
5275
  onClose = _ref.onClose,
5273
5276
  onExited = _ref.onExited,
5274
- props = _objectWithoutProperties(_ref, _excluded$E);
5277
+ props = _objectWithoutProperties(_ref, _excluded$F);
5275
5278
  var _useState = useState(visible),
5276
5279
  _useState2 = _slicedToArray(_useState, 2),
5277
5280
  isModalBehaviourVisible = _useState2[0],
@@ -5302,7 +5305,7 @@ function DialogModalBehaviour(_ref) {
5302
5305
  });
5303
5306
  }
5304
5307
 
5305
- var _excluded$D = ["stretch"];
5308
+ var _excluded$E = ["stretch"];
5306
5309
  function DialogModal(_ref) {
5307
5310
  var illustration = _ref.illustration,
5308
5311
  title = _ref.title,
@@ -5342,7 +5345,7 @@ DialogModal.ModalBehaviour = DialogModalBehaviour;
5342
5345
  function DialogModalButton(_ref2) {
5343
5346
  var _ref2$stretch = _ref2.stretch,
5344
5347
  stretch = _ref2$stretch === void 0 ? true : _ref2$stretch,
5345
- props = _objectWithoutProperties(_ref2, _excluded$D);
5348
+ props = _objectWithoutProperties(_ref2, _excluded$E);
5346
5349
  return /*#__PURE__*/jsx(Actions.Button, _objectSpread({
5347
5350
  stretch: stretch
5348
5351
  }, props));
@@ -5379,7 +5382,7 @@ function Emoji(_ref) {
5379
5382
  });
5380
5383
  }
5381
5384
 
5382
- var _excluded$C = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
5385
+ var _excluded$D = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
5383
5386
  _excluded2$4 = ["phoneNumber", "children"],
5384
5387
  _excluded3$3 = ["phoneNumber", "children"],
5385
5388
  _excluded4$3 = ["emailAddress", "children"];
@@ -5389,7 +5392,7 @@ function ExternalAppLink(_ref) {
5389
5392
  appValue = _ref.appValue,
5390
5393
  onPress = _ref.onPress,
5391
5394
  onOpenAppError = _ref.onOpenAppError,
5392
- rest = _objectWithoutProperties(_ref, _excluded$C);
5395
+ rest = _objectWithoutProperties(_ref, _excluded$D);
5393
5396
  var href = "".concat(appScheme, ":").concat(appValue);
5394
5397
  var handleOnPress = /*#__PURE__*/function () {
5395
5398
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
@@ -5541,7 +5544,7 @@ function useOpenExternalLink(errorHandler) {
5541
5544
  }();
5542
5545
  }
5543
5546
 
5544
- var _excluded$B = ["as", "href", "openLinkBehavior", "onPress", "onOpenLinkError"];
5547
+ var _excluded$C = ["as", "href", "openLinkBehavior", "onPress", "onOpenLinkError"];
5545
5548
  function ExternalLink(_ref) {
5546
5549
  var Component = _ref.as,
5547
5550
  href = _ref.href,
@@ -5550,7 +5553,7 @@ function ExternalLink(_ref) {
5550
5553
  onPress = _ref.onPress,
5551
5554
  _ref$onOpenLinkError = _ref.onOpenLinkError,
5552
5555
  onOpenLinkError = _ref$onOpenLinkError === void 0 ? console.error : _ref$onOpenLinkError,
5553
- rest = _objectWithoutProperties(_ref, _excluded$B);
5556
+ rest = _objectWithoutProperties(_ref, _excluded$C);
5554
5557
  var openExternalLink = useOpenExternalLink();
5555
5558
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5556
5559
  return /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({}, rest), {}, {
@@ -5607,7 +5610,7 @@ function InputTextContainer(_ref) {
5607
5610
  });
5608
5611
  }
5609
5612
 
5610
- var _excluded$A = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "inputMode", "multiline", "height", "onSubmitEditing"];
5613
+ var _excluded$B = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "inputMode", "multiline", "height", "onSubmitEditing"];
5611
5614
  var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
5612
5615
  var id = _ref.id,
5613
5616
  right = _ref.right;
@@ -5628,7 +5631,7 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
5628
5631
  multiline = _ref.multiline,
5629
5632
  height = _ref.height,
5630
5633
  onSubmitEditing = _ref.onSubmitEditing,
5631
- props = _objectWithoutProperties(_ref, _excluded$A);
5634
+ props = _objectWithoutProperties(_ref, _excluded$B);
5632
5635
  var theme = useTheme();
5633
5636
  var fontSizeForNativeBase = createNativeBaseFontSize({
5634
5637
  base: 'body-m'
@@ -5753,12 +5756,12 @@ function AutocompleteItemsListContainer(_ref) {
5753
5756
  });
5754
5757
  }
5755
5758
 
5756
- var _excluded$z = ["children", "testID"];
5759
+ var _excluded$A = ["children", "testID"];
5757
5760
  function AutocompleteOption(_ref) {
5758
5761
  var children = _ref.children,
5759
5762
  _ref$testID = _ref.testID,
5760
5763
  testID = _ref$testID === void 0 ? 'kitt.Autocomplete.option' : _ref$testID,
5761
- props = _objectWithoutProperties(_ref, _excluded$z);
5764
+ props = _objectWithoutProperties(_ref, _excluded$A);
5762
5765
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
5763
5766
  paddingX: {
5764
5767
  base: 'kitt.2',
@@ -5771,7 +5774,7 @@ function AutocompleteOption(_ref) {
5771
5774
  }));
5772
5775
  }
5773
5776
 
5774
- var _excluded$y = ["children", "name", "disabled", "placeholder", "isInitialOpen", "initialValue", "containerProps", "filterItemBasedOnCurrentInputValue", "checkSelectedItem", "itemToString", "right", "onChange", "onFocus", "onBlur", "onInputChange", "onSelectItem", "onOuterPress", "errorElement", "emptyResultsElement", "inputTestID", "listContainerTestID", "zIndex", "maxItemContainerHeight"],
5777
+ var _excluded$z = ["children", "name", "disabled", "placeholder", "isInitialOpen", "initialValue", "containerProps", "filterItemBasedOnCurrentInputValue", "checkSelectedItem", "itemToString", "right", "onChange", "onFocus", "onBlur", "onInputChange", "onSelectItem", "onOuterPress", "errorElement", "emptyResultsElement", "inputTestID", "listContainerTestID", "zIndex", "maxItemContainerHeight"],
5775
5778
  _excluded2$3 = ["onClick", "onPress"],
5776
5779
  _excluded3$2 = ["onKeyDown", "onFocus", "onBlur", "onChange"],
5777
5780
  _excluded4$2 = ["onClick", "onPress", "role", "aria-selected"];
@@ -5811,7 +5814,7 @@ function Autocomplete(_ref) {
5811
5814
  _ref$zIndex = _ref.zIndex,
5812
5815
  zIndex = _ref$zIndex === void 0 ? 1000 : _ref$zIndex,
5813
5816
  maxItemContainerHeight = _ref.maxItemContainerHeight,
5814
- props = _objectWithoutProperties(_ref, _excluded$y);
5817
+ props = _objectWithoutProperties(_ref, _excluded$z);
5815
5818
  var childrenArray = Children.toArray(children);
5816
5819
  var items = childrenArray.filter(isReactElement).map(function (child) {
5817
5820
  return {
@@ -6026,7 +6029,7 @@ function getBorderColor$1(_ref) {
6026
6029
  return 'kitt.forms.checkbox.default.borderColor';
6027
6030
  }
6028
6031
 
6029
- var _excluded$x = ["checked", "hitSlop", "children", "disabled", "onChange", "onBlur", "onFocus"];
6032
+ var _excluded$y = ["checked", "hitSlop", "children", "disabled", "onChange", "onBlur", "onFocus"];
6030
6033
  var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
6031
6034
  var checked = _ref.checked,
6032
6035
  _ref$hitSlop = _ref.hitSlop,
@@ -6036,7 +6039,7 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
6036
6039
  onChange = _ref.onChange,
6037
6040
  onBlur = _ref.onBlur,
6038
6041
  onFocus = _ref.onFocus,
6039
- props = _objectWithoutProperties(_ref, _excluded$x);
6042
+ props = _objectWithoutProperties(_ref, _excluded$y);
6040
6043
  var theme = useTheme();
6041
6044
  return /*#__PURE__*/jsx(Pressable, _objectSpread(_objectSpread({
6042
6045
  hitSlop: hitSlop
@@ -6354,7 +6357,7 @@ function PartContainer(_ref) {
6354
6357
  });
6355
6358
  }
6356
6359
 
6357
- var _excluded$w = ["id", "value", "testID", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "enterKeyHint", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
6360
+ var _excluded$x = ["id", "value", "testID", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "enterKeyHint", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
6358
6361
  var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6359
6362
  var id = _ref.id,
6360
6363
  value = _ref.value,
@@ -6372,7 +6375,7 @@ var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6372
6375
  onBlur = _ref.onBlur,
6373
6376
  onFocus = _ref.onFocus,
6374
6377
  onSubmitEditing = _ref.onSubmitEditing;
6375
- _objectWithoutProperties(_ref, _excluded$w);
6378
+ _objectWithoutProperties(_ref, _excluded$x);
6376
6379
  var monthRef = useRef(null);
6377
6380
  var yearRef = useRef(null);
6378
6381
  var defaultValue = value;
@@ -6581,7 +6584,7 @@ var PressableDateInputs = /*#__PURE__*/forwardRef(function (_ref, ref) {
6581
6584
  });
6582
6585
  });
6583
6586
 
6584
- var _excluded$v = ["onBlur", "onFocus", "pickerDefaultDate", "pickerUITestID", "isDefaultVisible", "value", "onChange"];
6587
+ var _excluded$w = ["onBlur", "onFocus", "pickerDefaultDate", "pickerUITestID", "isDefaultVisible", "value", "onChange"];
6585
6588
  var DatePickerAndroid = /*#__PURE__*/forwardRef(function (_ref, ref) {
6586
6589
  var onBlur = _ref.onBlur,
6587
6590
  onFocus = _ref.onFocus,
@@ -6590,7 +6593,7 @@ var DatePickerAndroid = /*#__PURE__*/forwardRef(function (_ref, ref) {
6590
6593
  isDefaultVisible = _ref.isDefaultVisible,
6591
6594
  value = _ref.value,
6592
6595
  _onChange = _ref.onChange,
6593
- props = _objectWithoutProperties(_ref, _excluded$v);
6596
+ props = _objectWithoutProperties(_ref, _excluded$w);
6594
6597
  var _useState = useState(false),
6595
6598
  _useState2 = _slicedToArray(_useState, 2),
6596
6599
  isFocused = _useState2[0],
@@ -6662,7 +6665,7 @@ function PlatformDateTimePicker(_ref) {
6662
6665
  });
6663
6666
  }
6664
6667
 
6665
- var _excluded$u = ["title", "isVisible", "value", "validateButtonLabel", "onClose", "onChange"];
6668
+ var _excluded$v = ["title", "isVisible", "value", "validateButtonLabel", "onClose", "onChange"];
6666
6669
  function ModalTitle(_ref) {
6667
6670
  var children = _ref.children;
6668
6671
  return /*#__PURE__*/jsx(CardModal.Header, {
@@ -6676,7 +6679,7 @@ function ModalPlatformDateTimePicker(_ref2) {
6676
6679
  validateButtonLabel = _ref2.validateButtonLabel,
6677
6680
  onClose = _ref2.onClose,
6678
6681
  onChange = _ref2.onChange,
6679
- props = _objectWithoutProperties(_ref2, _excluded$u);
6682
+ props = _objectWithoutProperties(_ref2, _excluded$v);
6680
6683
  var _useState = useState(value),
6681
6684
  _useState2 = _slicedToArray(_useState, 2),
6682
6685
  currentValue = _useState2[0],
@@ -6722,7 +6725,7 @@ function ModalPlatformDateTimePicker(_ref2) {
6722
6725
  });
6723
6726
  }
6724
6727
 
6725
- var _excluded$t = ["value", "pickerUITestID", "pickerUITitle", "pickerUIValidateButtonLabel", "isDefaultVisible", "pickerDefaultDate", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onFocus", "onBlur"];
6728
+ var _excluded$u = ["value", "pickerUITestID", "pickerUITitle", "pickerUIValidateButtonLabel", "isDefaultVisible", "pickerDefaultDate", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onFocus", "onBlur"];
6726
6729
  var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6727
6730
  var value = _ref.value,
6728
6731
  pickerUITestID = _ref.pickerUITestID,
@@ -6736,7 +6739,7 @@ var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6736
6739
  onChange = _ref.onChange,
6737
6740
  onFocus = _ref.onFocus,
6738
6741
  onBlur = _ref.onBlur,
6739
- props = _objectWithoutProperties(_ref, _excluded$t);
6742
+ props = _objectWithoutProperties(_ref, _excluded$u);
6740
6743
  var _useState = useState(isDefaultVisible),
6741
6744
  _useState2 = _slicedToArray(_useState, 2),
6742
6745
  isPickerUIVisible = _useState2[0],
@@ -6783,7 +6786,7 @@ var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6783
6786
  });
6784
6787
  });
6785
6788
 
6786
- var _excluded$s = ["value", "pickerUITestID", "isDefaultVisible", "pickerDefaultDate", "onChange", "onBlur"];
6789
+ var _excluded$t = ["value", "pickerUITestID", "isDefaultVisible", "pickerDefaultDate", "onChange", "onBlur"];
6787
6790
  var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6788
6791
  var value = _ref.value,
6789
6792
  pickerUITestID = _ref.pickerUITestID,
@@ -6791,7 +6794,7 @@ var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6791
6794
  pickerDefaultDate = _ref.pickerDefaultDate,
6792
6795
  onChange = _ref.onChange,
6793
6796
  onBlur = _ref.onBlur,
6794
- props = _objectWithoutProperties(_ref, _excluded$s);
6797
+ props = _objectWithoutProperties(_ref, _excluded$t);
6795
6798
  if (Platform.OS === 'android') {
6796
6799
  return /*#__PURE__*/jsx(DatePickerAndroid, _objectSpread({
6797
6800
  ref: ref,
@@ -6813,14 +6816,14 @@ var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6813
6816
  }, props));
6814
6817
  });
6815
6818
 
6816
- var _excluded$r = ["fillMode", "enterKeyHint", "value", "onSubmitEditing"];
6819
+ var _excluded$s = ["fillMode", "enterKeyHint", "value", "onSubmitEditing"];
6817
6820
  var DatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6818
6821
  var _ref$fillMode = _ref.fillMode,
6819
6822
  fillMode = _ref$fillMode === void 0 ? 'native' : _ref$fillMode,
6820
6823
  enterKeyHint = _ref.enterKeyHint,
6821
6824
  value = _ref.value,
6822
6825
  onSubmitEditing = _ref.onSubmitEditing,
6823
- props = _objectWithoutProperties(_ref, _excluded$r);
6826
+ props = _objectWithoutProperties(_ref, _excluded$s);
6824
6827
  // in apps, final-form can give a string value that will break the component
6825
6828
  var currentValue = value || undefined;
6826
6829
  if (fillMode === 'keyboard') {
@@ -6936,10 +6939,10 @@ function ImagePicker(_ref) {
6936
6939
  });
6937
6940
  }
6938
6941
 
6939
- var _excluded$q = ["children"];
6942
+ var _excluded$r = ["children"];
6940
6943
  function ListItemContent(_ref) {
6941
6944
  var children = _ref.children,
6942
- rest = _objectWithoutProperties(_ref, _excluded$q);
6945
+ rest = _objectWithoutProperties(_ref, _excluded$r);
6943
6946
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
6944
6947
  alignSelf: "center",
6945
6948
  flexBasis: "0%",
@@ -6950,14 +6953,14 @@ function ListItemContent(_ref) {
6950
6953
  }));
6951
6954
  }
6952
6955
 
6953
- var _excluded$p = ["children", "side"],
6956
+ var _excluded$q = ["children", "side"],
6954
6957
  _excluded2$2 = ["children", "align"];
6955
6958
  // Handles the vertical alignment of the side elements of the list item
6956
6959
  function ListItemSideContainer(_ref) {
6957
6960
  var children = _ref.children,
6958
6961
  _ref$side = _ref.side,
6959
6962
  side = _ref$side === void 0 ? 'left' : _ref$side,
6960
- rest = _objectWithoutProperties(_ref, _excluded$p);
6963
+ rest = _objectWithoutProperties(_ref, _excluded$q);
6961
6964
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
6962
6965
  flexDirection: "row",
6963
6966
  marginLeft: side === 'right' ? 'kitt.2' : undefined,
@@ -6978,7 +6981,7 @@ function ListItemSideContent(_ref2) {
6978
6981
  }));
6979
6982
  }
6980
6983
 
6981
- var _excluded$o = ["children", "withPadding", "borders", "left", "right", "onPress"];
6984
+ var _excluded$p = ["children", "withPadding", "borders", "left", "right", "onPress"];
6982
6985
  function ListItem(_ref) {
6983
6986
  var children = _ref.children,
6984
6987
  withPadding = _ref.withPadding,
@@ -6986,7 +6989,7 @@ function ListItem(_ref) {
6986
6989
  left = _ref.left,
6987
6990
  right = _ref.right,
6988
6991
  onPress = _ref.onPress,
6989
- rest = _objectWithoutProperties(_ref, _excluded$o);
6992
+ rest = _objectWithoutProperties(_ref, _excluded$p);
6990
6993
  var Wrapper = onPress ? Pressable$2 : Fragment$1;
6991
6994
  var wrapperProps = onPress ? _objectSpread({
6992
6995
  accessibilityRole: 'button',
@@ -7019,10 +7022,10 @@ ListItem.Content = ListItemContent;
7019
7022
  ListItem.SideContent = ListItemSideContent;
7020
7023
  ListItem.SideContainer = ListItemSideContainer;
7021
7024
 
7022
- var _excluded$n = ["title"];
7025
+ var _excluded$o = ["title"];
7023
7026
  function BottomSheetActionsItem(_ref) {
7024
7027
  var title = _ref.title,
7025
- props = _objectWithoutProperties(_ref, _excluded$n);
7028
+ props = _objectWithoutProperties(_ref, _excluded$o);
7026
7029
  return /*#__PURE__*/jsx(Pressable$2, _objectSpread(_objectSpread({}, props), {}, {
7027
7030
  children: /*#__PURE__*/jsx(ListItem, {
7028
7031
  withPadding: true,
@@ -7105,6 +7108,126 @@ function FilePicker(_ref) {
7105
7108
  });
7106
7109
  }
7107
7110
 
7111
+ function InputAddressOption(_ref) {
7112
+ var item = _ref.item,
7113
+ itemToMainText = _ref.itemToMainText,
7114
+ itemToSecondaryText = _ref.itemToSecondaryText;
7115
+ var sharedTransform = {
7116
+ style: {
7117
+ transform: 'translateY(4px)'
7118
+ }
7119
+ };
7120
+ var mainText = itemToMainText(item);
7121
+ var secondaryText = itemToSecondaryText(item);
7122
+ return /*#__PURE__*/jsx(Autocomplete.Option, {
7123
+ item: item,
7124
+ testID: "kitt.InputAddressOption.item",
7125
+ children: /*#__PURE__*/jsxs(HStack, {
7126
+ space: "kitt.2",
7127
+ children: [/*#__PURE__*/jsx(View, {
7128
+ _web: sharedTransform,
7129
+ _ios: sharedTransform,
7130
+ _android: sharedTransform,
7131
+ children: /*#__PURE__*/jsx(TypographyIcon, {
7132
+ icon: /*#__PURE__*/jsx(MapPinRegularIcon, {}),
7133
+ color: "black"
7134
+ })
7135
+ }), /*#__PURE__*/jsx(View, {
7136
+ flexShrink: 1,
7137
+ children: /*#__PURE__*/jsxs(Typography.Text, {
7138
+ children: [/*#__PURE__*/jsx(Typography.Text, {
7139
+ variant: "bold",
7140
+ children: mainText
7141
+ }), secondaryText ? /*#__PURE__*/jsxs(Typography.Text, {
7142
+ color: "black-light",
7143
+ variant: "bold",
7144
+ children: [' ', secondaryText]
7145
+ }) : null]
7146
+ })
7147
+ })]
7148
+ })
7149
+ });
7150
+ }
7151
+
7152
+ function InputAddressOptionLegacy(_ref) {
7153
+ var item = _ref.item;
7154
+ var sharedTransform = {
7155
+ style: {
7156
+ transform: 'translateY(4px)'
7157
+ }
7158
+ };
7159
+ return /*#__PURE__*/jsx(Autocomplete.Option, {
7160
+ item: item,
7161
+ testID: "kitt.InputAddressOptionLegacy.item",
7162
+ children: /*#__PURE__*/jsxs(HStack, {
7163
+ space: "kitt.2",
7164
+ children: [/*#__PURE__*/jsx(View, {
7165
+ _web: sharedTransform,
7166
+ _ios: sharedTransform,
7167
+ _android: sharedTransform,
7168
+ children: /*#__PURE__*/jsx(TypographyIcon, {
7169
+ icon: /*#__PURE__*/jsx(MapPinRegularIcon, {}),
7170
+ color: "black"
7171
+ })
7172
+ }), /*#__PURE__*/jsx(View, {
7173
+ flexShrink: 1,
7174
+ children: /*#__PURE__*/jsxs(Typography.Text, {
7175
+ children: [/*#__PURE__*/jsx(Typography.Text, {
7176
+ variant: "bold",
7177
+ children: item.structured_formatting.main_text
7178
+ }), item.structured_formatting.secondary_text ? /*#__PURE__*/jsxs(Typography.Text, {
7179
+ color: "black-light",
7180
+ variant: "bold",
7181
+ children: [' ', item.structured_formatting.secondary_text]
7182
+ }) : null]
7183
+ })
7184
+ })]
7185
+ })
7186
+ });
7187
+ }
7188
+
7189
+ var _excluded$n = ["errorElement", "initialValue", "emptyResultsElement", "onChange", "items", "isLoading", "hasError", "onInputChange", "onSelectItem", "convertInitialValue", "itemToMainText", "itemToSecondaryText", "itemToKey"];
7190
+ function InputAddress(_ref) {
7191
+ var errorElement = _ref.errorElement,
7192
+ initialValue = _ref.initialValue,
7193
+ emptyResultsElement = _ref.emptyResultsElement,
7194
+ _onChange = _ref.onChange,
7195
+ items = _ref.items,
7196
+ isLoading = _ref.isLoading,
7197
+ hasError = _ref.hasError,
7198
+ _onInputChange = _ref.onInputChange,
7199
+ onSelectItem = _ref.onSelectItem,
7200
+ convertInitialValue = _ref.convertInitialValue,
7201
+ itemToMainText = _ref.itemToMainText,
7202
+ itemToSecondaryText = _ref.itemToSecondaryText,
7203
+ itemToKey = _ref.itemToKey,
7204
+ props = _objectWithoutProperties(_ref, _excluded$n);
7205
+ var formattedInitialValue = initialValue ? convertInitialValue(initialValue) : undefined;
7206
+ return /*#__PURE__*/jsx(Autocomplete, _objectSpread(_objectSpread({}, props), {}, {
7207
+ initialValue: formattedInitialValue,
7208
+ right: isLoading ? /*#__PURE__*/jsx(Icon, {
7209
+ icon: /*#__PURE__*/jsx(LoaderIcon, {}),
7210
+ color: "kitt.black"
7211
+ }) : undefined,
7212
+ errorElement: hasError ? errorElement : null,
7213
+ emptyResultsElement: items.length === 0 ? emptyResultsElement : null,
7214
+ onInputChange: function (value) {
7215
+ return _onInputChange(value);
7216
+ },
7217
+ onChange: function (item) {
7218
+ return onSelectItem(item, _onChange);
7219
+ },
7220
+ children: items.map(function (item) {
7221
+ return /*#__PURE__*/jsx(InputAddressOption, {
7222
+ item: item,
7223
+ itemToMainText: itemToMainText,
7224
+ itemToSecondaryText: itemToSecondaryText
7225
+ }, itemToKey(item));
7226
+ })
7227
+ }));
7228
+ }
7229
+ InputAddress.Option = InputAddressOptionLegacy;
7230
+
7108
7231
  var GoogleMapsApiKeyContext = /*#__PURE__*/createContext(undefined);
7109
7232
  function GoogleMapsApiKeyProvider(_ref) {
7110
7233
  var children = _ref.children,
@@ -7558,43 +7681,6 @@ function useGoogleMapsAutocomplete() {
7558
7681
  return context;
7559
7682
  }
7560
7683
 
7561
- function InputAddressOption(_ref) {
7562
- var item = _ref.item;
7563
- var sharedTransform = {
7564
- style: {
7565
- transform: 'translateY(4px)'
7566
- }
7567
- };
7568
- return /*#__PURE__*/jsx(Autocomplete.Option, {
7569
- item: item,
7570
- testID: "kitt.InputAddressOption.item",
7571
- children: /*#__PURE__*/jsxs(HStack, {
7572
- space: "kitt.2",
7573
- children: [/*#__PURE__*/jsx(View, {
7574
- _web: sharedTransform,
7575
- _ios: sharedTransform,
7576
- _android: sharedTransform,
7577
- children: /*#__PURE__*/jsx(TypographyIcon, {
7578
- icon: /*#__PURE__*/jsx(MapPinRegularIcon, {}),
7579
- color: "black"
7580
- })
7581
- }), /*#__PURE__*/jsx(View, {
7582
- flexShrink: 1,
7583
- children: /*#__PURE__*/jsxs(Typography.Text, {
7584
- children: [/*#__PURE__*/jsx(Typography.Text, {
7585
- variant: "bold",
7586
- children: item.structured_formatting.main_text
7587
- }), item.structured_formatting.secondary_text ? /*#__PURE__*/jsxs(Typography.Text, {
7588
- color: "black-light",
7589
- variant: "bold",
7590
- children: [' ', item.structured_formatting.secondary_text]
7591
- }) : null]
7592
- })
7593
- })]
7594
- })
7595
- });
7596
- }
7597
-
7598
7684
  function defaultItemToString(item) {
7599
7685
  if (!item) return '';
7600
7686
  return item.description;
@@ -7627,7 +7713,7 @@ function formatInitialValueToAutocompletePrediction(address, placeId) {
7627
7713
  }
7628
7714
 
7629
7715
  var _excluded$m = ["initialValue", "itemToString", "errorElement", "emptyResultsElement", "onChange"];
7630
- function InputAddress(_ref) {
7716
+ function InputAddressLegacy(_ref) {
7631
7717
  var initialValue = _ref.initialValue,
7632
7718
  _ref$itemToString = _ref.itemToString,
7633
7719
  itemToString = _ref$itemToString === void 0 ? defaultItemToString : _ref$itemToString,
@@ -7661,13 +7747,13 @@ function InputAddress(_ref) {
7661
7747
  onSelectItem(v, _onChange);
7662
7748
  },
7663
7749
  children: state.items.map(function (item) {
7664
- return /*#__PURE__*/jsx(InputAddressOption, {
7750
+ return /*#__PURE__*/jsx(InputAddressOptionLegacy, {
7665
7751
  item: item
7666
7752
  }, item.place_id);
7667
7753
  })
7668
7754
  }));
7669
7755
  }
7670
- InputAddress.Option = InputAddressOption;
7756
+ InputAddressLegacy.Option = InputAddressOptionLegacy;
7671
7757
 
7672
7758
  var InputEmail = /*#__PURE__*/forwardRef(function (props, ref) {
7673
7759
  return /*#__PURE__*/jsx(InputText, _objectSpread({
@@ -14664,5 +14750,5 @@ function VerticalSteps(_ref) {
14664
14750
  VerticalSteps.Step = Step;
14665
14751
  VerticalSteps.BorderlessStep = BorderlessStep;
14666
14752
 
14667
- export { ActionCard, Actions, Autocomplete, Avatar, BottomSheet, Button, ButtonBadge, CardModal, Center, Checkbox, ChoicesElements, ChromaticReducedMotionDecorator, CloseIconButton, DatePicker, DialogModal, DocumentPicker, Emoji, ExternalAppLink, ExternalLink, FilePicker, FlatList, Flex, FullscreenModal, GoogleMapsApiKeyProvider, GoogleMapsAutocompleteProvider, GroupTags, HStack, Highlight, Icon, IconButton, Image, ImagePicker, InfoCard, InputAddress, InputEmail, InputFeedback, InputField, InputIban, InputIcon, InputNumber, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpointNameEnum, KittBreakpoints, KittBreakpointsMax, KittMapConfigProvider, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MapMarker, MapMarkerVariantEnum, MatchWindowSize, Message, ModalBehaviour, FlatList as NativeOnlyFlatList, NavigationBottomSheet, NavigationModal, Notification, Overlay, PageLoader, Picker, Pressable, RadioWithRef as Radio, RadioButtonGroup, ScrollView, DeprecatedSection as Section, SectionList, SegmentedProgressBar, Skeleton, SpinningIcon, Stack, StaticMap, Sticker, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, SwitchBreakpoints, TabBar, Tag, TextArea, TimePicker, ToastComponent, Toggle, Tooltip, TopNavBar, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, VerticalSteps, View, createChoicesComponent, createResponsiveStyleFromProp, getStaticMapImageUrl, getValueForBreakpoint, hex2rgba, matchWindowSize, storyPadding, theme, useBottomSheet, useBreakpointValue, useCurrentBreakpointName, useGetStaticMapImageUrl, useKittMapConfig, useKittTheme, useMatchWindowSize, useOpenExternalLink, useStaticBottomSheet, useStoryBlockColor, useTheme };
14753
+ export { ActionCard, Actions, Autocomplete, Avatar, BottomSheet, Button, ButtonBadge, CardModal, Center, Checkbox, ChoicesElements, ChromaticReducedMotionDecorator, CloseIconButton, DatePicker, DialogModal, DocumentPicker, Emoji, ExternalAppLink, ExternalLink, FilePicker, FlatList, Flex, FullscreenModal, GoogleMapsApiKeyProvider, GoogleMapsAutocompleteProvider, GroupTags, HStack, Highlight, Icon, IconButton, Image, ImagePicker, InfoCard, InputAddress, InputAddressLegacy, InputEmail, InputFeedback, InputField, InputIban, InputIcon, InputNumber, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpointNameEnum, KittBreakpoints, KittBreakpointsMax, KittMapConfigProvider, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MapMarker, MapMarkerVariantEnum, MatchWindowSize, Message, ModalBehaviour, FlatList as NativeOnlyFlatList, NavigationBottomSheet, NavigationModal, Notification, Overlay, PageLoader, Picker, Pressable, RadioWithRef as Radio, RadioButtonGroup, ScrollView, DeprecatedSection as Section, SectionList, SegmentedProgressBar, Skeleton, SpinningIcon, Stack, StaticMap, Sticker, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, SwitchBreakpoints, TabBar, Tag, TextArea, TimePicker, ToastComponent, Toggle, Tooltip, TopNavBar, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, VerticalSteps, View, createChoicesComponent, createResponsiveStyleFromProp, getStaticMapImageUrl, getValueForBreakpoint, hex2rgba, matchWindowSize, storyPadding, theme, useBottomSheet, useBreakpointValue, useCurrentBreakpointName, useGetStaticMapImageUrl, useKittMapConfig, useKittTheme, useMatchWindowSize, useOpenExternalLink, useStaticBottomSheet, useStoryBlockColor, useTheme };
14668
14754
  //# sourceMappingURL=index.es.js.map