@ornikar/kitt-universal 31.3.2-canary.d9333a410786c9c1a722ce408a27e7980c9146a4.0 → 32.0.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 (43) hide show
  1. package/CHANGELOG.md +16 -2
  2. package/dist/definitions/CardModal/CardModalAnimation/OpacityAnimation.d.ts +8 -0
  3. package/dist/definitions/CardModal/CardModalAnimation/OpacityAnimation.d.ts.map +1 -0
  4. package/dist/definitions/CardModal/CardModalAnimation/{NativeRotationAnimation.d.ts → RotationAnimation.d.ts} +3 -3
  5. package/dist/definitions/CardModal/CardModalAnimation/RotationAnimation.d.ts.map +1 -0
  6. package/dist/definitions/DialogModal/DialogModalAnimation/NativeOpacityAnimation.d.ts.map +1 -1
  7. package/dist/definitions/DialogModal/DialogModalAnimation/NativeRotationAnimation.d.ts.map +1 -1
  8. package/dist/definitions/forms/InputAddress/InputAddress.d.ts +12 -8
  9. package/dist/definitions/forms/InputAddress/InputAddress.d.ts.map +1 -1
  10. package/dist/definitions/forms/InputAddress/InputAddressLegacy.d.ts +15 -0
  11. package/dist/definitions/forms/InputAddress/InputAddressLegacy.d.ts.map +1 -0
  12. package/dist/definitions/forms/InputAddress/InputAddressOption.d.ts +5 -4
  13. package/dist/definitions/forms/InputAddress/InputAddressOption.d.ts.map +1 -1
  14. package/dist/definitions/forms/InputAddress/InputAddressOptionLegacy.d.ts +7 -0
  15. package/dist/definitions/forms/InputAddress/InputAddressOptionLegacy.d.ts.map +1 -0
  16. package/dist/definitions/index.d.ts +4 -1
  17. package/dist/definitions/index.d.ts.map +1 -1
  18. package/dist/index-metro.es.android.js +161 -78
  19. package/dist/index-metro.es.android.js.map +1 -1
  20. package/dist/index-metro.es.ios.js +161 -78
  21. package/dist/index-metro.es.ios.js.map +1 -1
  22. package/dist/index-node-22.17.cjs.js +96 -13
  23. package/dist/index-node-22.17.cjs.js.map +1 -1
  24. package/dist/index-node-22.17.cjs.web.css +0 -8
  25. package/dist/index-node-22.17.cjs.web.js +261 -104
  26. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  27. package/dist/index-node-22.17.es.mjs +96 -14
  28. package/dist/index-node-22.17.es.mjs.map +1 -1
  29. package/dist/index-node-22.17.es.web.css +0 -8
  30. package/dist/index-node-22.17.es.web.mjs +261 -105
  31. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  32. package/dist/index.es.js +162 -78
  33. package/dist/index.es.js.map +1 -1
  34. package/dist/index.es.web.js +283 -126
  35. package/dist/index.es.web.js.map +1 -1
  36. package/dist/styles.css +0 -8
  37. package/dist/tsbuildinfo +1 -1
  38. package/package.json +1 -1
  39. package/dist/definitions/CardModal/CardModalAnimation/NativeOpacityAnimation.d.ts +0 -8
  40. package/dist/definitions/CardModal/CardModalAnimation/NativeOpacityAnimation.d.ts.map +0 -1
  41. package/dist/definitions/CardModal/CardModalAnimation/NativeRotationAnimation.d.ts.map +0 -1
  42. package/dist/definitions/DialogModal/DialogModalAnimation/DialogModalAnimation.web.d.ts +0 -4
  43. package/dist/definitions/DialogModal/DialogModalAnimation/DialogModalAnimation.web.d.ts.map +0 -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 () {
@@ -4407,7 +4407,7 @@ var CardModalRotationContainer = /*#__PURE__*/forwardRef(function (props, ref) {
4407
4407
  }));
4408
4408
  });
4409
4409
 
4410
- function NativeOpacityAnimation$2(_ref) {
4410
+ function OpacityAnimation(_ref) {
4411
4411
  var visible = _ref.visible,
4412
4412
  children = _ref.children,
4413
4413
  onExited = _ref.onExited;
@@ -4445,7 +4445,7 @@ function NativeOpacityAnimation$2(_ref) {
4445
4445
  });
4446
4446
  }
4447
4447
 
4448
- function NativeRotationAnimation$1(_ref) {
4448
+ function RotationAnimation(_ref) {
4449
4449
  var visible = _ref.visible,
4450
4450
  children = _ref.children,
4451
4451
  onEntered = _ref.onEntered,
@@ -4543,14 +4543,14 @@ function CardModalAnimation(_ref) {
4543
4543
  flexGrow: 1,
4544
4544
  justifyContent: "center",
4545
4545
  alignItems: "center",
4546
- children: [/*#__PURE__*/jsx(NativeOpacityAnimation$2, {
4546
+ children: [/*#__PURE__*/jsx(OpacityAnimation, {
4547
4547
  visible: isContentVisible,
4548
4548
  onExited: handleAnimationExited,
4549
4549
  children: /*#__PURE__*/jsx(Overlay, {
4550
4550
  onPress: onClose
4551
4551
  })
4552
4552
  }), /*#__PURE__*/jsx(CardModalRotationContainer, {
4553
- children: /*#__PURE__*/jsx(NativeRotationAnimation$1, {
4553
+ children: /*#__PURE__*/jsx(RotationAnimation, {
4554
4554
  visible: isContentVisible,
4555
4555
  onExited: handleAnimationExited,
4556
4556
  onEntered: onEntered,
@@ -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,7 +4786,7 @@ 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,
@@ -5033,11 +5033,11 @@ function ChoiceItemContainer(_ref) {
5033
5033
  }));
5034
5034
  }
5035
5035
 
5036
- var _excluded$F = ["direction", "contentContainerStyle"];
5036
+ var _excluded$G = ["direction", "contentContainerStyle"];
5037
5037
  function ChoicesContainer(_ref) {
5038
5038
  var direction = _ref.direction,
5039
5039
  contentContainerStyle = _ref.contentContainerStyle,
5040
- props = _objectWithoutProperties(_ref, _excluded$F);
5040
+ props = _objectWithoutProperties(_ref, _excluded$G);
5041
5041
  if (direction === 'row') {
5042
5042
  return /*#__PURE__*/jsx(ScrollView$2, _objectSpread({
5043
5043
  horizontal: true,
@@ -5118,10 +5118,12 @@ function NativeOpacityAnimation$1(_ref) {
5118
5118
  onExited = _ref.onExited;
5119
5119
  var theme = useTheme();
5120
5120
  var hasRunAnimationRef = useRef(false);
5121
- function handleAnimationFinished() {
5121
+ useEffect(function () {
5122
5122
  if (visible) {
5123
5123
  hasRunAnimationRef.current = true;
5124
5124
  }
5125
+ }, [visible]);
5126
+ function handleAnimationFinished() {
5125
5127
  if (!visible && hasRunAnimationRef.current) {
5126
5128
  onExited();
5127
5129
  }
@@ -5143,7 +5145,7 @@ function NativeOpacityAnimation$1(_ref) {
5143
5145
  runOnJS(handleAnimationFinished)();
5144
5146
  })
5145
5147
  };
5146
- });
5148
+ }, [theme, visible, handleAnimationFinished]);
5147
5149
  return /*#__PURE__*/jsx(Animated.View, {
5148
5150
  style: [StyleSheet.absoluteFillObject, opacityStyle],
5149
5151
  children: children
@@ -5158,10 +5160,14 @@ function NativeRotationAnimation(_ref) {
5158
5160
  var theme = useTheme();
5159
5161
  var hasRunAnimationRef = useRef(false);
5160
5162
  var rotation = useSharedValue(0.8);
5163
+ useEffect(function () {
5164
+ if (visible) {
5165
+ hasRunAnimationRef.current = true;
5166
+ }
5167
+ }, [visible]);
5161
5168
  function handleAnimationFinished() {
5162
5169
  if (visible) {
5163
5170
  if (onEntered) onEntered();
5164
- hasRunAnimationRef.current = true;
5165
5171
  }
5166
5172
  if (!visible && hasRunAnimationRef.current) onExited();
5167
5173
  }
@@ -5194,7 +5200,7 @@ function NativeRotationAnimation(_ref) {
5194
5200
  rotateZ: "".concat(rotation.value, "deg")
5195
5201
  }]
5196
5202
  };
5197
- });
5203
+ }, [theme, visible, rotation, handleAnimationFinished]);
5198
5204
  return /*#__PURE__*/jsx(Animated.View, {
5199
5205
  style: [animatedStyle],
5200
5206
  children: children
@@ -5268,13 +5274,13 @@ function DialogModalAnimation(_ref) {
5268
5274
  });
5269
5275
  }
5270
5276
 
5271
- var _excluded$E = ["children", "visible", "onClose", "onExited"];
5277
+ var _excluded$F = ["children", "visible", "onClose", "onExited"];
5272
5278
  function DialogModalBehaviour(_ref) {
5273
5279
  var children = _ref.children,
5274
5280
  visible = _ref.visible,
5275
5281
  onClose = _ref.onClose,
5276
5282
  onExited = _ref.onExited,
5277
- props = _objectWithoutProperties(_ref, _excluded$E);
5283
+ props = _objectWithoutProperties(_ref, _excluded$F);
5278
5284
  var _useState = useState(visible),
5279
5285
  _useState2 = _slicedToArray(_useState, 2),
5280
5286
  isModalBehaviourVisible = _useState2[0],
@@ -5305,7 +5311,7 @@ function DialogModalBehaviour(_ref) {
5305
5311
  });
5306
5312
  }
5307
5313
 
5308
- var _excluded$D = ["stretch"];
5314
+ var _excluded$E = ["stretch"];
5309
5315
  function DialogModal(_ref) {
5310
5316
  var illustration = _ref.illustration,
5311
5317
  title = _ref.title,
@@ -5345,7 +5351,7 @@ DialogModal.ModalBehaviour = DialogModalBehaviour;
5345
5351
  function DialogModalButton(_ref2) {
5346
5352
  var _ref2$stretch = _ref2.stretch,
5347
5353
  stretch = _ref2$stretch === void 0 ? true : _ref2$stretch,
5348
- props = _objectWithoutProperties(_ref2, _excluded$D);
5354
+ props = _objectWithoutProperties(_ref2, _excluded$E);
5349
5355
  return /*#__PURE__*/jsx(Actions.Button, _objectSpread({
5350
5356
  stretch: stretch
5351
5357
  }, props));
@@ -5382,7 +5388,7 @@ function Emoji(_ref) {
5382
5388
  });
5383
5389
  }
5384
5390
 
5385
- var _excluded$C = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
5391
+ var _excluded$D = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
5386
5392
  _excluded2$4 = ["phoneNumber", "children"],
5387
5393
  _excluded3$3 = ["phoneNumber", "children"],
5388
5394
  _excluded4$3 = ["emailAddress", "children"];
@@ -5392,7 +5398,7 @@ function ExternalAppLink(_ref) {
5392
5398
  appValue = _ref.appValue,
5393
5399
  onPress = _ref.onPress,
5394
5400
  onOpenAppError = _ref.onOpenAppError,
5395
- rest = _objectWithoutProperties(_ref, _excluded$C);
5401
+ rest = _objectWithoutProperties(_ref, _excluded$D);
5396
5402
  var href = "".concat(appScheme, ":").concat(appValue);
5397
5403
  var handleOnPress = /*#__PURE__*/function () {
5398
5404
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
@@ -5544,7 +5550,7 @@ function useOpenExternalLink(errorHandler) {
5544
5550
  }();
5545
5551
  }
5546
5552
 
5547
- var _excluded$B = ["as", "href", "openLinkBehavior", "onPress", "onOpenLinkError"];
5553
+ var _excluded$C = ["as", "href", "openLinkBehavior", "onPress", "onOpenLinkError"];
5548
5554
  function ExternalLink(_ref) {
5549
5555
  var Component = _ref.as,
5550
5556
  href = _ref.href,
@@ -5553,7 +5559,7 @@ function ExternalLink(_ref) {
5553
5559
  onPress = _ref.onPress,
5554
5560
  _ref$onOpenLinkError = _ref.onOpenLinkError,
5555
5561
  onOpenLinkError = _ref$onOpenLinkError === void 0 ? console.error : _ref$onOpenLinkError,
5556
- rest = _objectWithoutProperties(_ref, _excluded$B);
5562
+ rest = _objectWithoutProperties(_ref, _excluded$C);
5557
5563
  var openExternalLink = useOpenExternalLink();
5558
5564
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5559
5565
  return /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({}, rest), {}, {
@@ -5610,7 +5616,7 @@ function InputTextContainer(_ref) {
5610
5616
  });
5611
5617
  }
5612
5618
 
5613
- var _excluded$A = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "inputMode", "multiline", "height", "onSubmitEditing"];
5619
+ var _excluded$B = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "inputMode", "multiline", "height", "onSubmitEditing"];
5614
5620
  var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
5615
5621
  var id = _ref.id,
5616
5622
  right = _ref.right;
@@ -5631,7 +5637,7 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
5631
5637
  multiline = _ref.multiline,
5632
5638
  height = _ref.height,
5633
5639
  onSubmitEditing = _ref.onSubmitEditing,
5634
- props = _objectWithoutProperties(_ref, _excluded$A);
5640
+ props = _objectWithoutProperties(_ref, _excluded$B);
5635
5641
  var theme = useTheme();
5636
5642
  var fontSizeForNativeBase = createNativeBaseFontSize({
5637
5643
  base: 'body-m'
@@ -5756,12 +5762,12 @@ function AutocompleteItemsListContainer(_ref) {
5756
5762
  });
5757
5763
  }
5758
5764
 
5759
- var _excluded$z = ["children", "testID"];
5765
+ var _excluded$A = ["children", "testID"];
5760
5766
  function AutocompleteOption(_ref) {
5761
5767
  var children = _ref.children,
5762
5768
  _ref$testID = _ref.testID,
5763
5769
  testID = _ref$testID === void 0 ? 'kitt.Autocomplete.option' : _ref$testID,
5764
- props = _objectWithoutProperties(_ref, _excluded$z);
5770
+ props = _objectWithoutProperties(_ref, _excluded$A);
5765
5771
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
5766
5772
  paddingX: {
5767
5773
  base: 'kitt.2',
@@ -5774,7 +5780,7 @@ function AutocompleteOption(_ref) {
5774
5780
  }));
5775
5781
  }
5776
5782
 
5777
- 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"],
5783
+ 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"],
5778
5784
  _excluded2$3 = ["onClick", "onPress"],
5779
5785
  _excluded3$2 = ["onKeyDown", "onFocus", "onBlur", "onChange"],
5780
5786
  _excluded4$2 = ["onClick", "onPress", "role", "aria-selected"];
@@ -5814,7 +5820,7 @@ function Autocomplete(_ref) {
5814
5820
  _ref$zIndex = _ref.zIndex,
5815
5821
  zIndex = _ref$zIndex === void 0 ? 1000 : _ref$zIndex,
5816
5822
  maxItemContainerHeight = _ref.maxItemContainerHeight,
5817
- props = _objectWithoutProperties(_ref, _excluded$y);
5823
+ props = _objectWithoutProperties(_ref, _excluded$z);
5818
5824
  var childrenArray = Children.toArray(children);
5819
5825
  var items = childrenArray.filter(isReactElement).map(function (child) {
5820
5826
  return {
@@ -6029,7 +6035,7 @@ function getBorderColor$1(_ref) {
6029
6035
  return 'kitt.forms.checkbox.default.borderColor';
6030
6036
  }
6031
6037
 
6032
- var _excluded$x = ["checked", "hitSlop", "children", "disabled", "onChange", "onBlur", "onFocus"];
6038
+ var _excluded$y = ["checked", "hitSlop", "children", "disabled", "onChange", "onBlur", "onFocus"];
6033
6039
  var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
6034
6040
  var checked = _ref.checked,
6035
6041
  _ref$hitSlop = _ref.hitSlop,
@@ -6039,7 +6045,7 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
6039
6045
  onChange = _ref.onChange,
6040
6046
  onBlur = _ref.onBlur,
6041
6047
  onFocus = _ref.onFocus,
6042
- props = _objectWithoutProperties(_ref, _excluded$x);
6048
+ props = _objectWithoutProperties(_ref, _excluded$y);
6043
6049
  var theme = useTheme();
6044
6050
  return /*#__PURE__*/jsx(Pressable, _objectSpread(_objectSpread({
6045
6051
  hitSlop: hitSlop
@@ -6357,7 +6363,7 @@ function PartContainer(_ref) {
6357
6363
  });
6358
6364
  }
6359
6365
 
6360
- var _excluded$w = ["id", "value", "testID", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "enterKeyHint", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
6366
+ var _excluded$x = ["id", "value", "testID", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "enterKeyHint", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
6361
6367
  var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6362
6368
  var id = _ref.id,
6363
6369
  value = _ref.value,
@@ -6375,7 +6381,7 @@ var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6375
6381
  onBlur = _ref.onBlur,
6376
6382
  onFocus = _ref.onFocus,
6377
6383
  onSubmitEditing = _ref.onSubmitEditing;
6378
- _objectWithoutProperties(_ref, _excluded$w);
6384
+ _objectWithoutProperties(_ref, _excluded$x);
6379
6385
  var monthRef = useRef(null);
6380
6386
  var yearRef = useRef(null);
6381
6387
  var defaultValue = value;
@@ -6584,7 +6590,7 @@ var PressableDateInputs = /*#__PURE__*/forwardRef(function (_ref, ref) {
6584
6590
  });
6585
6591
  });
6586
6592
 
6587
- var _excluded$v = ["onBlur", "onFocus", "pickerDefaultDate", "pickerUITestID", "isDefaultVisible", "value", "onChange"];
6593
+ var _excluded$w = ["onBlur", "onFocus", "pickerDefaultDate", "pickerUITestID", "isDefaultVisible", "value", "onChange"];
6588
6594
  var DatePickerAndroid = /*#__PURE__*/forwardRef(function (_ref, ref) {
6589
6595
  var onBlur = _ref.onBlur,
6590
6596
  onFocus = _ref.onFocus,
@@ -6593,7 +6599,7 @@ var DatePickerAndroid = /*#__PURE__*/forwardRef(function (_ref, ref) {
6593
6599
  isDefaultVisible = _ref.isDefaultVisible,
6594
6600
  value = _ref.value,
6595
6601
  _onChange = _ref.onChange,
6596
- props = _objectWithoutProperties(_ref, _excluded$v);
6602
+ props = _objectWithoutProperties(_ref, _excluded$w);
6597
6603
  var _useState = useState(false),
6598
6604
  _useState2 = _slicedToArray(_useState, 2),
6599
6605
  isFocused = _useState2[0],
@@ -6665,7 +6671,7 @@ function PlatformDateTimePicker(_ref) {
6665
6671
  });
6666
6672
  }
6667
6673
 
6668
- var _excluded$u = ["title", "isVisible", "value", "validateButtonLabel", "onClose", "onChange"];
6674
+ var _excluded$v = ["title", "isVisible", "value", "validateButtonLabel", "onClose", "onChange"];
6669
6675
  function ModalTitle(_ref) {
6670
6676
  var children = _ref.children;
6671
6677
  return /*#__PURE__*/jsx(CardModal.Header, {
@@ -6679,7 +6685,7 @@ function ModalPlatformDateTimePicker(_ref2) {
6679
6685
  validateButtonLabel = _ref2.validateButtonLabel,
6680
6686
  onClose = _ref2.onClose,
6681
6687
  onChange = _ref2.onChange,
6682
- props = _objectWithoutProperties(_ref2, _excluded$u);
6688
+ props = _objectWithoutProperties(_ref2, _excluded$v);
6683
6689
  var _useState = useState(value),
6684
6690
  _useState2 = _slicedToArray(_useState, 2),
6685
6691
  currentValue = _useState2[0],
@@ -6725,7 +6731,7 @@ function ModalPlatformDateTimePicker(_ref2) {
6725
6731
  });
6726
6732
  }
6727
6733
 
6728
- var _excluded$t = ["value", "pickerUITestID", "pickerUITitle", "pickerUIValidateButtonLabel", "isDefaultVisible", "pickerDefaultDate", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onFocus", "onBlur"];
6734
+ var _excluded$u = ["value", "pickerUITestID", "pickerUITitle", "pickerUIValidateButtonLabel", "isDefaultVisible", "pickerDefaultDate", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onFocus", "onBlur"];
6729
6735
  var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6730
6736
  var value = _ref.value,
6731
6737
  pickerUITestID = _ref.pickerUITestID,
@@ -6739,7 +6745,7 @@ var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6739
6745
  onChange = _ref.onChange,
6740
6746
  onFocus = _ref.onFocus,
6741
6747
  onBlur = _ref.onBlur,
6742
- props = _objectWithoutProperties(_ref, _excluded$t);
6748
+ props = _objectWithoutProperties(_ref, _excluded$u);
6743
6749
  var _useState = useState(isDefaultVisible),
6744
6750
  _useState2 = _slicedToArray(_useState, 2),
6745
6751
  isPickerUIVisible = _useState2[0],
@@ -6786,7 +6792,7 @@ var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6786
6792
  });
6787
6793
  });
6788
6794
 
6789
- var _excluded$s = ["value", "pickerUITestID", "isDefaultVisible", "pickerDefaultDate", "onChange", "onBlur"];
6795
+ var _excluded$t = ["value", "pickerUITestID", "isDefaultVisible", "pickerDefaultDate", "onChange", "onBlur"];
6790
6796
  var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6791
6797
  var value = _ref.value,
6792
6798
  pickerUITestID = _ref.pickerUITestID,
@@ -6794,7 +6800,7 @@ var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6794
6800
  pickerDefaultDate = _ref.pickerDefaultDate,
6795
6801
  onChange = _ref.onChange,
6796
6802
  onBlur = _ref.onBlur,
6797
- props = _objectWithoutProperties(_ref, _excluded$s);
6803
+ props = _objectWithoutProperties(_ref, _excluded$t);
6798
6804
  if (Platform.OS === 'android') {
6799
6805
  return /*#__PURE__*/jsx(DatePickerAndroid, _objectSpread({
6800
6806
  ref: ref,
@@ -6816,14 +6822,14 @@ var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6816
6822
  }, props));
6817
6823
  });
6818
6824
 
6819
- var _excluded$r = ["fillMode", "enterKeyHint", "value", "onSubmitEditing"];
6825
+ var _excluded$s = ["fillMode", "enterKeyHint", "value", "onSubmitEditing"];
6820
6826
  var DatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6821
6827
  var _ref$fillMode = _ref.fillMode,
6822
6828
  fillMode = _ref$fillMode === void 0 ? 'native' : _ref$fillMode,
6823
6829
  enterKeyHint = _ref.enterKeyHint,
6824
6830
  value = _ref.value,
6825
6831
  onSubmitEditing = _ref.onSubmitEditing,
6826
- props = _objectWithoutProperties(_ref, _excluded$r);
6832
+ props = _objectWithoutProperties(_ref, _excluded$s);
6827
6833
  // in apps, final-form can give a string value that will break the component
6828
6834
  var currentValue = value || undefined;
6829
6835
  if (fillMode === 'keyboard') {
@@ -6939,10 +6945,10 @@ function ImagePicker(_ref) {
6939
6945
  });
6940
6946
  }
6941
6947
 
6942
- var _excluded$q = ["children"];
6948
+ var _excluded$r = ["children"];
6943
6949
  function ListItemContent(_ref) {
6944
6950
  var children = _ref.children,
6945
- rest = _objectWithoutProperties(_ref, _excluded$q);
6951
+ rest = _objectWithoutProperties(_ref, _excluded$r);
6946
6952
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
6947
6953
  alignSelf: "center",
6948
6954
  flexBasis: "0%",
@@ -6953,14 +6959,14 @@ function ListItemContent(_ref) {
6953
6959
  }));
6954
6960
  }
6955
6961
 
6956
- var _excluded$p = ["children", "side"],
6962
+ var _excluded$q = ["children", "side"],
6957
6963
  _excluded2$2 = ["children", "align"];
6958
6964
  // Handles the vertical alignment of the side elements of the list item
6959
6965
  function ListItemSideContainer(_ref) {
6960
6966
  var children = _ref.children,
6961
6967
  _ref$side = _ref.side,
6962
6968
  side = _ref$side === void 0 ? 'left' : _ref$side,
6963
- rest = _objectWithoutProperties(_ref, _excluded$p);
6969
+ rest = _objectWithoutProperties(_ref, _excluded$q);
6964
6970
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
6965
6971
  flexDirection: "row",
6966
6972
  marginLeft: side === 'right' ? 'kitt.2' : undefined,
@@ -6981,7 +6987,7 @@ function ListItemSideContent(_ref2) {
6981
6987
  }));
6982
6988
  }
6983
6989
 
6984
- var _excluded$o = ["children", "withPadding", "borders", "left", "right", "onPress"];
6990
+ var _excluded$p = ["children", "withPadding", "borders", "left", "right", "onPress"];
6985
6991
  function ListItem(_ref) {
6986
6992
  var children = _ref.children,
6987
6993
  withPadding = _ref.withPadding,
@@ -6989,7 +6995,7 @@ function ListItem(_ref) {
6989
6995
  left = _ref.left,
6990
6996
  right = _ref.right,
6991
6997
  onPress = _ref.onPress,
6992
- rest = _objectWithoutProperties(_ref, _excluded$o);
6998
+ rest = _objectWithoutProperties(_ref, _excluded$p);
6993
6999
  var Wrapper = onPress ? Pressable$2 : Fragment$1;
6994
7000
  var wrapperProps = onPress ? _objectSpread({
6995
7001
  accessibilityRole: 'button',
@@ -7022,10 +7028,10 @@ ListItem.Content = ListItemContent;
7022
7028
  ListItem.SideContent = ListItemSideContent;
7023
7029
  ListItem.SideContainer = ListItemSideContainer;
7024
7030
 
7025
- var _excluded$n = ["title"];
7031
+ var _excluded$o = ["title"];
7026
7032
  function BottomSheetActionsItem(_ref) {
7027
7033
  var title = _ref.title,
7028
- props = _objectWithoutProperties(_ref, _excluded$n);
7034
+ props = _objectWithoutProperties(_ref, _excluded$o);
7029
7035
  return /*#__PURE__*/jsx(Pressable$2, _objectSpread(_objectSpread({}, props), {}, {
7030
7036
  children: /*#__PURE__*/jsx(ListItem, {
7031
7037
  withPadding: true,
@@ -7108,6 +7114,84 @@ function FilePicker(_ref) {
7108
7114
  });
7109
7115
  }
7110
7116
 
7117
+ function InputAddressOption(_ref) {
7118
+ var item = _ref.item,
7119
+ mainText = _ref.mainText,
7120
+ secondaryText = _ref.secondaryText;
7121
+ var sharedTransform = {
7122
+ style: {
7123
+ transform: 'translateY(4px)'
7124
+ }
7125
+ };
7126
+ return /*#__PURE__*/jsx(Autocomplete.Option, {
7127
+ item: item,
7128
+ testID: "kitt.InputAddressOption.item",
7129
+ children: /*#__PURE__*/jsxs(HStack, {
7130
+ space: "kitt.2",
7131
+ children: [/*#__PURE__*/jsx(View, {
7132
+ _web: sharedTransform,
7133
+ _ios: sharedTransform,
7134
+ _android: sharedTransform,
7135
+ children: /*#__PURE__*/jsx(TypographyIcon, {
7136
+ icon: /*#__PURE__*/jsx(MapPinRegularIcon, {}),
7137
+ color: "black"
7138
+ })
7139
+ }), /*#__PURE__*/jsx(View, {
7140
+ flexShrink: 1,
7141
+ children: /*#__PURE__*/jsxs(Typography.Text, {
7142
+ children: [/*#__PURE__*/jsx(Typography.Text, {
7143
+ variant: "bold",
7144
+ children: mainText
7145
+ }), secondaryText ? /*#__PURE__*/jsxs(Typography.Text, {
7146
+ color: "black-light",
7147
+ variant: "bold",
7148
+ children: [' ', secondaryText]
7149
+ }) : null]
7150
+ })
7151
+ })]
7152
+ })
7153
+ });
7154
+ }
7155
+
7156
+ var _excluded$n = ["errorElement", "initialValue", "emptyResultsElement", "onChange", "items", "isLoading", "hasError", "onInputChange", "onSelectItem", "convertInitialValue", "renderItem"];
7157
+ function InputAddress(_ref) {
7158
+ var errorElement = _ref.errorElement,
7159
+ initialValue = _ref.initialValue,
7160
+ emptyResultsElement = _ref.emptyResultsElement,
7161
+ _onChange = _ref.onChange,
7162
+ items = _ref.items,
7163
+ isLoading = _ref.isLoading,
7164
+ hasError = _ref.hasError,
7165
+ _onInputChange = _ref.onInputChange,
7166
+ onSelectItem = _ref.onSelectItem,
7167
+ convertInitialValue = _ref.convertInitialValue,
7168
+ renderItem = _ref.renderItem,
7169
+ props = _objectWithoutProperties(_ref, _excluded$n);
7170
+ var formattedInitialValue = initialValue ? convertInitialValue(initialValue) : undefined;
7171
+ return /*#__PURE__*/jsx(Autocomplete, _objectSpread(_objectSpread({}, props), {}, {
7172
+ initialValue: formattedInitialValue,
7173
+ right: isLoading ? /*#__PURE__*/jsx(Icon, {
7174
+ icon: /*#__PURE__*/jsx(LoaderIcon, {}),
7175
+ color: "kitt.black"
7176
+ }) : undefined,
7177
+ errorElement: hasError ? errorElement : null,
7178
+ emptyResultsElement: items.length === 0 ? emptyResultsElement : null,
7179
+ onInputChange: function (value) {
7180
+ return _onInputChange(value);
7181
+ },
7182
+ onChange: function (item) {
7183
+ return onSelectItem(item, _onChange);
7184
+ },
7185
+ children: items.map(function (item) {
7186
+ var itemElement = renderItem(item);
7187
+ return /*#__PURE__*/cloneElement(itemElement, {
7188
+ item: item
7189
+ });
7190
+ })
7191
+ }));
7192
+ }
7193
+ InputAddress.Option = InputAddressOption;
7194
+
7111
7195
  var GoogleMapsApiKeyContext = /*#__PURE__*/createContext(undefined);
7112
7196
  function GoogleMapsApiKeyProvider(_ref) {
7113
7197
  var children = _ref.children,
@@ -7561,7 +7645,7 @@ function useGoogleMapsAutocomplete() {
7561
7645
  return context;
7562
7646
  }
7563
7647
 
7564
- function InputAddressOption(_ref) {
7648
+ function InputAddressOptionLegacy(_ref) {
7565
7649
  var item = _ref.item;
7566
7650
  var sharedTransform = {
7567
7651
  style: {
@@ -7570,7 +7654,7 @@ function InputAddressOption(_ref) {
7570
7654
  };
7571
7655
  return /*#__PURE__*/jsx(Autocomplete.Option, {
7572
7656
  item: item,
7573
- testID: "kitt.InputAddressOption.item",
7657
+ testID: "kitt.InputAddressOptionLegacy.item",
7574
7658
  children: /*#__PURE__*/jsxs(HStack, {
7575
7659
  space: "kitt.2",
7576
7660
  children: [/*#__PURE__*/jsx(View, {
@@ -7630,7 +7714,7 @@ function formatInitialValueToAutocompletePrediction(address, placeId) {
7630
7714
  }
7631
7715
 
7632
7716
  var _excluded$m = ["initialValue", "itemToString", "errorElement", "emptyResultsElement", "onChange"];
7633
- function InputAddress(_ref) {
7717
+ function InputAddressLegacy(_ref) {
7634
7718
  var initialValue = _ref.initialValue,
7635
7719
  _ref$itemToString = _ref.itemToString,
7636
7720
  itemToString = _ref$itemToString === void 0 ? defaultItemToString : _ref$itemToString,
@@ -7664,13 +7748,13 @@ function InputAddress(_ref) {
7664
7748
  onSelectItem(v, _onChange);
7665
7749
  },
7666
7750
  children: state.items.map(function (item) {
7667
- return /*#__PURE__*/jsx(InputAddressOption, {
7751
+ return /*#__PURE__*/jsx(InputAddressOptionLegacy, {
7668
7752
  item: item
7669
7753
  }, item.place_id);
7670
7754
  })
7671
7755
  }));
7672
7756
  }
7673
- InputAddress.Option = InputAddressOption;
7757
+ InputAddressLegacy.Option = InputAddressOptionLegacy;
7674
7758
 
7675
7759
  var InputEmail = /*#__PURE__*/forwardRef(function (props, ref) {
7676
7760
  return /*#__PURE__*/jsx(InputText, _objectSpread({
@@ -14667,5 +14751,5 @@ function VerticalSteps(_ref) {
14667
14751
  VerticalSteps.Step = Step;
14668
14752
  VerticalSteps.BorderlessStep = BorderlessStep;
14669
14753
 
14670
- 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 };
14754
+ 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 };
14671
14755
  //# sourceMappingURL=index.es.js.map