@ornikar/kitt-universal 31.3.2-canary.a176fae6a745e6f1b650fe56c3dca27af6b8816f.0 → 31.3.2-canary.d9333a410786c9c1a722ce408a27e7980c9146a4.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 (33) hide show
  1. package/CHANGELOG.md +3 -8
  2. package/dist/definitions/ModalBehaviour/ModalBehaviourPortal.web.d.ts.map +1 -1
  3. package/dist/definitions/forms/InputAddress/InputAddress.d.ts +8 -12
  4. package/dist/definitions/forms/InputAddress/InputAddress.d.ts.map +1 -1
  5. package/dist/definitions/forms/InputAddress/InputAddressOption.d.ts +4 -5
  6. package/dist/definitions/forms/InputAddress/InputAddressOption.d.ts.map +1 -1
  7. package/dist/definitions/index.d.ts +1 -4
  8. package/dist/definitions/index.d.ts.map +1 -1
  9. package/dist/index-metro.es.android.js +70 -148
  10. package/dist/index-metro.es.android.js.map +1 -1
  11. package/dist/index-metro.es.ios.js +70 -148
  12. package/dist/index-metro.es.ios.js.map +1 -1
  13. package/dist/index-node-22.17.cjs.js +5 -83
  14. package/dist/index-node-22.17.cjs.js.map +1 -1
  15. package/dist/index-node-22.17.cjs.web.css +0 -1
  16. package/dist/index-node-22.17.cjs.web.js +8 -87
  17. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  18. package/dist/index-node-22.17.es.mjs +6 -83
  19. package/dist/index-node-22.17.es.mjs.map +1 -1
  20. package/dist/index-node-22.17.es.web.css +0 -1
  21. package/dist/index-node-22.17.es.web.mjs +9 -87
  22. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  23. package/dist/index.es.js +70 -149
  24. package/dist/index.es.js.map +1 -1
  25. package/dist/index.es.web.js +59 -139
  26. package/dist/index.es.web.js.map +1 -1
  27. package/dist/styles.css +0 -1
  28. package/dist/tsbuildinfo +1 -1
  29. package/package.json +3 -3
  30. package/dist/definitions/forms/InputAddress/InputAddressLegacy.d.ts +0 -15
  31. package/dist/definitions/forms/InputAddress/InputAddressLegacy.d.ts.map +0 -1
  32. package/dist/definitions/forms/InputAddress/InputAddressOptionLegacy.d.ts +0 -7
  33. package/dist/definitions/forms/InputAddress/InputAddressOptionLegacy.d.ts.map +0 -1
@@ -2863,7 +2863,7 @@ function ActionCardDisabled(_ref) {
2863
2863
  });
2864
2864
  }
2865
2865
 
2866
- var _excluded$R = ["children", "variant", "borderVariant", "borderRadius", "disabled", "isHovered", "isPressed", "isFocused"];
2866
+ var _excluded$Q = ["children", "variant", "borderVariant", "borderRadius", "disabled", "isHovered", "isPressed", "isFocused"];
2867
2867
  function ActionCard(_ref) {
2868
2868
  var children = _ref.children,
2869
2869
  _ref$variant = _ref.variant,
@@ -2876,7 +2876,7 @@ function ActionCard(_ref) {
2876
2876
  isHovered = _ref.isHovered,
2877
2877
  isPressed = _ref.isPressed,
2878
2878
  isFocused = _ref.isFocused,
2879
- props = _objectWithoutProperties(_ref, _excluded$R);
2879
+ props = _objectWithoutProperties(_ref, _excluded$Q);
2880
2880
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
2881
2881
  children: disabled ? /*#__PURE__*/jsx(ActionCardDisabled, {
2882
2882
  borderRadius: borderRadius,
@@ -3208,7 +3208,7 @@ var getTypographyTypeWithAncestorValue = function (type, typographyTypeInContext
3208
3208
  return !!isAllValuesUndefined && !!typographyTypeInContext ? typographyTypeInContext : type;
3209
3209
  };
3210
3210
 
3211
- var _excluded$Q = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
3211
+ var _excluded$P = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
3212
3212
  var TypographyFamilyContext = /*#__PURE__*/createContext(null);
3213
3213
  var TypographyTypeContext = /*#__PURE__*/createContext(null);
3214
3214
  var TypographyVariantContext = /*#__PURE__*/createContext(undefined);
@@ -3333,7 +3333,7 @@ var TypographyBase = /*#__PURE__*/forwardRef(function (_ref2, ref) {
3333
3333
  } : _ref2$type,
3334
3334
  variant = _ref2.variant,
3335
3335
  color = _ref2.color,
3336
- otherProps = _objectWithoutProperties(_ref2, _excluded$Q);
3336
+ otherProps = _objectWithoutProperties(_ref2, _excluded$P);
3337
3337
  var sx = useSx();
3338
3338
 
3339
3339
  // ancestors
@@ -3495,12 +3495,12 @@ function Icon(_ref) {
3495
3495
  });
3496
3496
  }
3497
3497
 
3498
- var _excluded$P = ["color", "size"],
3498
+ var _excluded$O = ["color", "size"],
3499
3499
  _excluded2$6 = ["color"];
3500
3500
  function TypographyIconSpecifiedColor(_ref) {
3501
3501
  var color = _ref.color,
3502
3502
  size = _ref.size,
3503
- props = _objectWithoutProperties(_ref, _excluded$P);
3503
+ props = _objectWithoutProperties(_ref, _excluded$O);
3504
3504
  var colorValue = getTypographyColorValue(color);
3505
3505
  var sx = useSx();
3506
3506
  var _sx = sx({
@@ -3540,7 +3540,7 @@ var getButtonTextColorByType = function (type, variant, isHovered, isPressed, is
3540
3540
  return "".concat(baseKey, ".default");
3541
3541
  };
3542
3542
 
3543
- var _excluded$O = ["type", "variant", "isDisabled", "icon", "children", "isHovered", "isPressed", "isFocused", "innerSpacing", "size"];
3543
+ var _excluded$N = ["type", "variant", "isDisabled", "icon", "children", "isHovered", "isPressed", "isFocused", "innerSpacing", "size"];
3544
3544
  function ButtonContentChildren(_ref) {
3545
3545
  var type = _ref.type,
3546
3546
  icon = _ref.icon,
@@ -3640,7 +3640,7 @@ function ButtonContent(_ref2) {
3640
3640
  _ref2.isFocused;
3641
3641
  var innerSpacing = _ref2.innerSpacing,
3642
3642
  size = _ref2.size,
3643
- props = _objectWithoutProperties(_ref2, _excluded$O);
3643
+ props = _objectWithoutProperties(_ref2, _excluded$N);
3644
3644
  var color = getButtonTextColorByType(type, variant, isHovered, isPressed, isDisabled);
3645
3645
  return /*#__PURE__*/jsx(View, {
3646
3646
  _web: {
@@ -3941,7 +3941,7 @@ function LoaderIcon(_ref) {
3941
3941
  });
3942
3942
  }
3943
3943
 
3944
- var _excluded$N = ["as", "onPress", "disabled", "icon", "stretch"];
3944
+ var _excluded$M = ["as", "onPress", "disabled", "icon", "stretch"];
3945
3945
  var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
3946
3946
  var as = _ref.as,
3947
3947
  onPress = _ref.onPress,
@@ -3952,7 +3952,7 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
3952
3952
  base: true,
3953
3953
  medium: false
3954
3954
  } : _ref$stretch,
3955
- props = _objectWithoutProperties(_ref, _excluded$N);
3955
+ props = _objectWithoutProperties(_ref, _excluded$M);
3956
3956
  var _useState = useState(false),
3957
3957
  _useState2 = _slicedToArray(_useState, 2),
3958
3958
  isLoading = _useState2[0],
@@ -4030,7 +4030,7 @@ function ActionsButton(_ref) {
4030
4030
  }, props));
4031
4031
  }
4032
4032
 
4033
- var _excluded$M = ["children", "layout", "reversed"];
4033
+ var _excluded$L = ["children", "layout", "reversed"];
4034
4034
  function getCurrentLayout(layout) {
4035
4035
  if (!layout) return {
4036
4036
  base: 'stretch',
@@ -4062,7 +4062,7 @@ function Actions(_ref) {
4062
4062
  reversed = _ref$reversed === void 0 ? {
4063
4063
  base: false
4064
4064
  } : _ref$reversed,
4065
- props = _objectWithoutProperties(_ref, _excluded$M);
4065
+ props = _objectWithoutProperties(_ref, _excluded$L);
4066
4066
  var shouldReverse = typeof reversed === 'boolean' ? {
4067
4067
  base: !!reversed
4068
4068
  } : createResponsiveStyleFromProp(reversed, true, false);
@@ -4115,7 +4115,7 @@ function getInitials(firstname, lastname) {
4115
4115
  return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
4116
4116
  }
4117
4117
 
4118
- var _excluded$L = ["size", "round", "light", "sizeVariant", "width", "height", "dark", "disabled"];
4118
+ var _excluded$K = ["size", "round", "light", "sizeVariant", "width", "height", "dark", "disabled"];
4119
4119
  function AvatarContent(_ref) {
4120
4120
  var size = _ref.size,
4121
4121
  src = _ref.src,
@@ -4178,7 +4178,7 @@ function Avatar(_ref2) {
4178
4178
  height = _ref2.height,
4179
4179
  dark = _ref2.dark,
4180
4180
  disabled = _ref2.disabled,
4181
- props = _objectWithoutProperties(_ref2, _excluded$L);
4181
+ props = _objectWithoutProperties(_ref2, _excluded$K);
4182
4182
  var currentSize = getCurrentSize({
4183
4183
  size: size,
4184
4184
  sizeVariant: sizeVariant
@@ -4260,18 +4260,17 @@ function useStaticBottomSheet(Content) {
4260
4260
  };
4261
4261
  }
4262
4262
 
4263
- var overflowHidden = "kitt-u_overflowHidden_otm3u3";
4264
4263
  function useBlockBodyScroll(shouldBlockScroll, isInitialRender) {
4265
4264
  useEffect(function () {
4266
4265
  if (shouldBlockScroll) {
4267
- document.body.classList.add(overflowHidden);
4266
+ document.body.style.overflow = 'hidden';
4268
4267
  } else if (!isInitialRender) {
4269
- document.body.classList.remove(overflowHidden);
4268
+ document.body.style.overflow = '';
4270
4269
  }
4271
4270
  return function () {
4272
4271
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- When leaving the website, document.body can be null
4273
4272
  if (document.body) {
4274
- document.body.classList.remove(overflowHidden);
4273
+ document.body.style.overflow = '';
4275
4274
  }
4276
4275
  };
4277
4276
  }, [shouldBlockScroll, isInitialRender]);
@@ -4364,7 +4363,7 @@ var CardModalRotationContainer = /*#__PURE__*/forwardRef(function (props, ref) {
4364
4363
  }));
4365
4364
  });
4366
4365
 
4367
- var _excluded$K = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
4366
+ var _excluded$J = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
4368
4367
  var contentAnimationEnter$1 = "kitt-u_contentAnimationEnter_c11xxy4r";
4369
4368
  var contentAnimatioEnterActive$1 = "kitt-u_contentAnimatioEnterActive_cl52117";
4370
4369
  var contentAnimatioExit$1 = "kitt-u_contentAnimatioExit_cyjczep";
@@ -4403,7 +4402,7 @@ function CardModalAnimation(_ref) {
4403
4402
  onExit = _ref.onExit,
4404
4403
  onExited = _ref.onExited,
4405
4404
  onClose = _ref.onClose,
4406
- props = _objectWithoutProperties(_ref, _excluded$K);
4405
+ props = _objectWithoutProperties(_ref, _excluded$J);
4407
4406
  // React 19 has removed the ReactDOM.findDOMNode method. We need to use refs to access DOM nodes in CSSTransition.
4408
4407
  // See https://github.com/reactjs/react-transition-group/issues/918
4409
4408
  var overlayRef = useRef(null);
@@ -4444,13 +4443,13 @@ function CardModalAnimation(_ref) {
4444
4443
  }));
4445
4444
  }
4446
4445
 
4447
- var _excluded$J = ["children", "visible", "onClose", "onExited"];
4446
+ var _excluded$I = ["children", "visible", "onClose", "onExited"];
4448
4447
  function CardModalBehaviour(_ref) {
4449
4448
  var children = _ref.children,
4450
4449
  visible = _ref.visible,
4451
4450
  onClose = _ref.onClose,
4452
4451
  onExited = _ref.onExited,
4453
- props = _objectWithoutProperties(_ref, _excluded$J);
4452
+ props = _objectWithoutProperties(_ref, _excluded$I);
4454
4453
  var _useState = useState(visible),
4455
4454
  _useState2 = _slicedToArray(_useState, 2),
4456
4455
  isModalBehaviourVisible = _useState2[0],
@@ -4475,12 +4474,12 @@ function CardModalBehaviour(_ref) {
4475
4474
  });
4476
4475
  }
4477
4476
 
4478
- var _excluded$I = ["children", "padding"];
4477
+ var _excluded$H = ["children", "padding"];
4479
4478
  function CardModalBody(_ref) {
4480
4479
  var children = _ref.children,
4481
4480
  _ref$padding = _ref.padding,
4482
4481
  padding = _ref$padding === void 0 ? 'kitt.4' : _ref$padding,
4483
- props = _objectWithoutProperties(_ref, _excluded$I);
4482
+ props = _objectWithoutProperties(_ref, _excluded$H);
4484
4483
  return /*#__PURE__*/jsx(ScrollView, _objectSpread(_objectSpread({
4485
4484
  showsVerticalScrollIndicator: false,
4486
4485
  _contentContainerStyle: {
@@ -4491,7 +4490,7 @@ function CardModalBody(_ref) {
4491
4490
  }));
4492
4491
  }
4493
4492
 
4494
- var _excluded$H = ["children", "padding", "hasSeparator"];
4493
+ var _excluded$G = ["children", "padding", "hasSeparator"];
4495
4494
  function CardModalFooter(_ref) {
4496
4495
  var children = _ref.children,
4497
4496
  _ref$padding = _ref.padding,
@@ -4501,7 +4500,7 @@ function CardModalFooter(_ref) {
4501
4500
  } : _ref$padding,
4502
4501
  _ref$hasSeparator = _ref.hasSeparator,
4503
4502
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
4504
- props = _objectWithoutProperties(_ref, _excluded$H);
4503
+ props = _objectWithoutProperties(_ref, _excluded$G);
4505
4504
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
4506
4505
  marginTop: "kitt.2",
4507
4506
  padding: padding,
@@ -4545,7 +4544,7 @@ var getButtonTypeAndVariant = function (iconColor) {
4545
4544
  }
4546
4545
  };
4547
4546
 
4548
- var _excluded$G = ["color", "ariaLabel"];
4547
+ var _excluded$F = ["color", "ariaLabel"];
4549
4548
  /**
4550
4549
  * @deprecated IconButton should only be used as a navigation button
4551
4550
  * Other use cases should use a <Button> component with an icon
@@ -4554,7 +4553,7 @@ function IconButton(_ref) {
4554
4553
  var _ref$color = _ref.color,
4555
4554
  color = _ref$color === void 0 ? 'black' : _ref$color;
4556
4555
  _ref.ariaLabel;
4557
- var props = _objectWithoutProperties(_ref, _excluded$G);
4556
+ var props = _objectWithoutProperties(_ref, _excluded$F);
4558
4557
  var _getButtonTypeAndVari = getButtonTypeAndVariant(color),
4559
4558
  legacyColorToType = _getButtonTypeAndVari.type,
4560
4559
  legacyColorToVariant = _getButtonTypeAndVari.variant;
@@ -4661,7 +4660,7 @@ function CardModalHeader(props) {
4661
4660
  return /*#__PURE__*/jsx(TopNavBar, _objectSpread({}, props));
4662
4661
  }
4663
4662
 
4664
- var _excluded$F = ["backgroundColor", "maxWidth", "withoutShadow", "children"];
4663
+ var _excluded$E = ["backgroundColor", "maxWidth", "withoutShadow", "children"];
4665
4664
  function CardModal(_ref) {
4666
4665
  var _ref$backgroundColor = _ref.backgroundColor,
4667
4666
  backgroundColor = _ref$backgroundColor === void 0 ? 'kitt.uiBackgroundLight' : _ref$backgroundColor,
@@ -4669,7 +4668,7 @@ function CardModal(_ref) {
4669
4668
  maxWidth = _ref$maxWidth === void 0 ? 'kitt.cardModal.maxWidth' : _ref$maxWidth,
4670
4669
  withoutShadow = _ref.withoutShadow,
4671
4670
  children = _ref.children,
4672
- props = _objectWithoutProperties(_ref, _excluded$F);
4671
+ props = _objectWithoutProperties(_ref, _excluded$E);
4673
4672
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
4674
4673
  overflow: "hidden",
4675
4674
  backgroundColor: backgroundColor,
@@ -4885,11 +4884,11 @@ function ChoiceItemContainer(_ref) {
4885
4884
  }));
4886
4885
  }
4887
4886
 
4888
- var _excluded$E = ["direction", "contentContainerStyle"];
4887
+ var _excluded$D = ["direction", "contentContainerStyle"];
4889
4888
  function ChoicesContainer(_ref) {
4890
4889
  var direction = _ref.direction,
4891
4890
  contentContainerStyle = _ref.contentContainerStyle,
4892
- props = _objectWithoutProperties(_ref, _excluded$E);
4891
+ props = _objectWithoutProperties(_ref, _excluded$D);
4893
4892
  if (direction === 'row') {
4894
4893
  return /*#__PURE__*/jsx(ScrollView$2, _objectSpread({
4895
4894
  horizontal: true,
@@ -4964,7 +4963,7 @@ var ChoicesElements = {
4964
4963
  ButtonChoices: ButtonChoices
4965
4964
  };
4966
4965
 
4967
- var _excluded$D = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
4966
+ var _excluded$C = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
4968
4967
  var contentAnimationEnter = "kitt-u_contentAnimationEnter_c1i0gle8";
4969
4968
  var contentAnimatioEnterActive = "kitt-u_contentAnimatioEnterActive_c1jmfkjw";
4970
4969
  var contentAnimatioExit = "kitt-u_contentAnimatioExit_cwjstxl";
@@ -5003,7 +5002,7 @@ function DialogModalAnimation(_ref) {
5003
5002
  onExit = _ref.onExit,
5004
5003
  onExited = _ref.onExited,
5005
5004
  onClose = _ref.onClose,
5006
- props = _objectWithoutProperties(_ref, _excluded$D);
5005
+ props = _objectWithoutProperties(_ref, _excluded$C);
5007
5006
  // React 19 has removed the ReactDOM.findDOMNode method. We need to use refs to access DOM nodes in CSSTransition.
5008
5007
  // See https://github.com/reactjs/react-transition-group/issues/918
5009
5008
  var overlayRef = useRef(null);
@@ -5046,13 +5045,13 @@ function DialogModalAnimation(_ref) {
5046
5045
  }));
5047
5046
  }
5048
5047
 
5049
- var _excluded$C = ["children", "visible", "onClose", "onExited"];
5048
+ var _excluded$B = ["children", "visible", "onClose", "onExited"];
5050
5049
  function DialogModalBehaviour(_ref) {
5051
5050
  var children = _ref.children,
5052
5051
  visible = _ref.visible,
5053
5052
  onClose = _ref.onClose,
5054
5053
  onExited = _ref.onExited,
5055
- props = _objectWithoutProperties(_ref, _excluded$C);
5054
+ props = _objectWithoutProperties(_ref, _excluded$B);
5056
5055
  var _useState = useState(visible),
5057
5056
  _useState2 = _slicedToArray(_useState, 2),
5058
5057
  isModalBehaviourVisible = _useState2[0],
@@ -5083,7 +5082,7 @@ function DialogModalBehaviour(_ref) {
5083
5082
  });
5084
5083
  }
5085
5084
 
5086
- var _excluded$B = ["stretch"];
5085
+ var _excluded$A = ["stretch"];
5087
5086
  function DialogModal(_ref) {
5088
5087
  var illustration = _ref.illustration,
5089
5088
  title = _ref.title,
@@ -5123,7 +5122,7 @@ DialogModal.ModalBehaviour = DialogModalBehaviour;
5123
5122
  function DialogModalButton(_ref2) {
5124
5123
  var _ref2$stretch = _ref2.stretch,
5125
5124
  stretch = _ref2$stretch === void 0 ? true : _ref2$stretch,
5126
- props = _objectWithoutProperties(_ref2, _excluded$B);
5125
+ props = _objectWithoutProperties(_ref2, _excluded$A);
5127
5126
  return /*#__PURE__*/jsx(Actions.Button, _objectSpread({
5128
5127
  stretch: stretch
5129
5128
  }, props));
@@ -5160,7 +5159,7 @@ function Emoji(_ref) {
5160
5159
  });
5161
5160
  }
5162
5161
 
5163
- var _excluded$A = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
5162
+ var _excluded$z = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
5164
5163
  _excluded2$5 = ["phoneNumber", "children"],
5165
5164
  _excluded3$4 = ["phoneNumber", "children"],
5166
5165
  _excluded4$3 = ["emailAddress", "children"];
@@ -5170,7 +5169,7 @@ function ExternalAppLink(_ref) {
5170
5169
  appValue = _ref.appValue,
5171
5170
  onPress = _ref.onPress,
5172
5171
  onOpenAppError = _ref.onOpenAppError,
5173
- rest = _objectWithoutProperties(_ref, _excluded$A);
5172
+ rest = _objectWithoutProperties(_ref, _excluded$z);
5174
5173
  var href = "".concat(appScheme, ":").concat(appValue);
5175
5174
  var handleOnPress = /*#__PURE__*/function () {
5176
5175
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
@@ -5265,14 +5264,14 @@ var defaultOpenLinkBehavior = {
5265
5264
  web: 'targetBlank'
5266
5265
  };
5267
5266
 
5268
- var _excluded$z = ["as", "href", "openLinkBehavior", "onPress"];
5267
+ var _excluded$y = ["as", "href", "openLinkBehavior", "onPress"];
5269
5268
  function ExternalLink(_ref) {
5270
5269
  var Component = _ref.as,
5271
5270
  href = _ref.href,
5272
5271
  _ref$openLinkBehavior = _ref.openLinkBehavior,
5273
5272
  openLinkBehavior = _ref$openLinkBehavior === void 0 ? defaultOpenLinkBehavior : _ref$openLinkBehavior,
5274
5273
  onPress = _ref.onPress,
5275
- rest = _objectWithoutProperties(_ref, _excluded$z);
5274
+ rest = _objectWithoutProperties(_ref, _excluded$y);
5276
5275
  return /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({}, rest), {}, {
5277
5276
  accessibilityRole: "link",
5278
5277
  href: href,
@@ -5348,7 +5347,7 @@ function InputTextContainer(props) {
5348
5347
  }, props));
5349
5348
  }
5350
5349
 
5351
- var _excluded$y = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "inputMode", "multiline", "height", "onSubmitEditing"];
5350
+ var _excluded$x = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "inputMode", "multiline", "height", "onSubmitEditing"];
5352
5351
  var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
5353
5352
  var id = _ref.id,
5354
5353
  right = _ref.right;
@@ -5369,7 +5368,7 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
5369
5368
  multiline = _ref.multiline,
5370
5369
  height = _ref.height,
5371
5370
  onSubmitEditing = _ref.onSubmitEditing,
5372
- props = _objectWithoutProperties(_ref, _excluded$y);
5371
+ props = _objectWithoutProperties(_ref, _excluded$x);
5373
5372
  var theme = useTheme();
5374
5373
  var fontSizeForNativeBase = createNativeBaseFontSize({
5375
5374
  base: 'body-m'
@@ -5493,12 +5492,12 @@ function AutocompleteItemsListContainer(_ref) {
5493
5492
  });
5494
5493
  }
5495
5494
 
5496
- var _excluded$x = ["children", "testID"];
5495
+ var _excluded$w = ["children", "testID"];
5497
5496
  function AutocompleteOption(_ref) {
5498
5497
  var children = _ref.children,
5499
5498
  _ref$testID = _ref.testID,
5500
5499
  testID = _ref$testID === void 0 ? 'kitt.Autocomplete.option' : _ref$testID,
5501
- props = _objectWithoutProperties(_ref, _excluded$x);
5500
+ props = _objectWithoutProperties(_ref, _excluded$w);
5502
5501
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
5503
5502
  paddingX: {
5504
5503
  base: 'kitt.2',
@@ -5511,7 +5510,7 @@ function AutocompleteOption(_ref) {
5511
5510
  }));
5512
5511
  }
5513
5512
 
5514
- var _excluded$w = ["children", "name", "disabled", "placeholder", "isInitialOpen", "initialValue", "containerProps", "filterItemBasedOnCurrentInputValue", "checkSelectedItem", "itemToString", "right", "onChange", "onFocus", "onBlur", "onInputChange", "onSelectItem", "onOuterPress", "errorElement", "emptyResultsElement", "inputTestID", "listContainerTestID", "zIndex", "maxItemContainerHeight"],
5513
+ var _excluded$v = ["children", "name", "disabled", "placeholder", "isInitialOpen", "initialValue", "containerProps", "filterItemBasedOnCurrentInputValue", "checkSelectedItem", "itemToString", "right", "onChange", "onFocus", "onBlur", "onInputChange", "onSelectItem", "onOuterPress", "errorElement", "emptyResultsElement", "inputTestID", "listContainerTestID", "zIndex", "maxItemContainerHeight"],
5515
5514
  _excluded2$4 = ["onClick", "onPress"],
5516
5515
  _excluded3$3 = ["onKeyDown", "onFocus", "onBlur", "onChange"],
5517
5516
  _excluded4$2 = ["onClick", "onPress", "role", "aria-selected"];
@@ -5545,7 +5544,7 @@ function Autocomplete(_ref) {
5545
5544
  _ref$zIndex = _ref.zIndex,
5546
5545
  zIndex = _ref$zIndex === void 0 ? 1000 : _ref$zIndex,
5547
5546
  maxItemContainerHeight = _ref.maxItemContainerHeight,
5548
- props = _objectWithoutProperties(_ref, _excluded$w);
5547
+ props = _objectWithoutProperties(_ref, _excluded$v);
5549
5548
  var childrenArray = Children.toArray(children);
5550
5549
  var items = childrenArray.filter(isReactElement).map(function (child) {
5551
5550
  return {
@@ -5752,7 +5751,7 @@ function getBorderColor$1(_ref) {
5752
5751
  return 'kitt.forms.checkbox.default.borderColor';
5753
5752
  }
5754
5753
 
5755
- var _excluded$v = ["checked", "hitSlop", "children", "disabled", "onChange", "onBlur", "onFocus"];
5754
+ var _excluded$u = ["checked", "hitSlop", "children", "disabled", "onChange", "onBlur", "onFocus"];
5756
5755
  var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
5757
5756
  var checked = _ref.checked,
5758
5757
  _ref$hitSlop = _ref.hitSlop,
@@ -5762,7 +5761,7 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
5762
5761
  onChange = _ref.onChange,
5763
5762
  onBlur = _ref.onBlur,
5764
5763
  onFocus = _ref.onFocus,
5765
- props = _objectWithoutProperties(_ref, _excluded$v);
5764
+ props = _objectWithoutProperties(_ref, _excluded$u);
5766
5765
  var theme = useTheme();
5767
5766
  return /*#__PURE__*/jsx(Pressable, _objectSpread(_objectSpread({
5768
5767
  hitSlop: hitSlop
@@ -6078,7 +6077,7 @@ function PartContainer(_ref) {
6078
6077
  });
6079
6078
  }
6080
6079
 
6081
- var _excluded$u = ["id", "value", "testID", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "enterKeyHint", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
6080
+ var _excluded$t = ["id", "value", "testID", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "enterKeyHint", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
6082
6081
  var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6083
6082
  var id = _ref.id,
6084
6083
  value = _ref.value,
@@ -6096,7 +6095,7 @@ var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6096
6095
  onBlur = _ref.onBlur,
6097
6096
  onFocus = _ref.onFocus,
6098
6097
  onSubmitEditing = _ref.onSubmitEditing;
6099
- _objectWithoutProperties(_ref, _excluded$u);
6098
+ _objectWithoutProperties(_ref, _excluded$t);
6100
6099
  var monthRef = useRef(null);
6101
6100
  var yearRef = useRef(null);
6102
6101
  var defaultValue = value;
@@ -6236,10 +6235,10 @@ var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6236
6235
  });
6237
6236
  });
6238
6237
 
6239
- var _excluded$t = ["value"];
6238
+ var _excluded$s = ["value"];
6240
6239
  var DatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
6241
6240
  var value = _ref.value,
6242
- props = _objectWithoutProperties(_ref, _excluded$t);
6241
+ props = _objectWithoutProperties(_ref, _excluded$s);
6243
6242
  // in apps, final-form can give a string value that will break the component
6244
6243
  var currentValue = value || undefined;
6245
6244
  return /*#__PURE__*/jsx(KeyboardDatePicker, _objectSpread(_objectSpread({
@@ -6350,85 +6349,6 @@ function ImagePicker(_ref) {
6350
6349
  });
6351
6350
  }
6352
6351
 
6353
- function InputAddressOption(_ref) {
6354
- var item = _ref.item,
6355
- mainText = _ref.mainText,
6356
- secondaryText = _ref.secondaryText;
6357
- var sharedTransform = {
6358
- style: {
6359
- transform: 'translateY(4px)'
6360
- }
6361
- };
6362
- return /*#__PURE__*/jsx(Autocomplete.Option, {
6363
- item: item,
6364
- testID: "kitt.InputAddressOption.item",
6365
- children: /*#__PURE__*/jsxs(HStack, {
6366
- space: "kitt.2",
6367
- children: [/*#__PURE__*/jsx(View, {
6368
- _web: sharedTransform,
6369
- _ios: sharedTransform,
6370
- _android: sharedTransform,
6371
- children: /*#__PURE__*/jsx(TypographyIcon, {
6372
- icon: /*#__PURE__*/jsx(MapPinRegularIcon, {}),
6373
- color: "black"
6374
- })
6375
- }), /*#__PURE__*/jsx(View, {
6376
- flexShrink: 1,
6377
- children: /*#__PURE__*/jsxs(Typography.Text, {
6378
- children: [/*#__PURE__*/jsx(Typography.Text, {
6379
- variant: "bold",
6380
- children: mainText
6381
- }), secondaryText ? /*#__PURE__*/jsxs(Typography.Text, {
6382
- color: "black-light",
6383
- variant: "bold",
6384
- children: [' ', secondaryText]
6385
- }) : null]
6386
- })
6387
- })]
6388
- })
6389
- });
6390
- }
6391
-
6392
- var _excluded$s = ["errorElement", "initialValue", "emptyResultsElement", "onChange", "items", "isLoading", "hasError", "onInputChange", "onSelectItem", "convertInitialValue", "children"];
6393
- function InputAddress(_ref) {
6394
- var errorElement = _ref.errorElement,
6395
- initialValue = _ref.initialValue,
6396
- emptyResultsElement = _ref.emptyResultsElement,
6397
- _onChange = _ref.onChange,
6398
- items = _ref.items,
6399
- isLoading = _ref.isLoading,
6400
- hasError = _ref.hasError,
6401
- _onInputChange = _ref.onInputChange,
6402
- onSelectItem = _ref.onSelectItem,
6403
- convertInitialValue = _ref.convertInitialValue,
6404
- children = _ref.children,
6405
- props = _objectWithoutProperties(_ref, _excluded$s);
6406
- var formattedInitialValue = initialValue ? convertInitialValue(initialValue) : undefined;
6407
- return /*#__PURE__*/jsx(Autocomplete, _objectSpread(_objectSpread({}, props), {}, {
6408
- initialValue: formattedInitialValue,
6409
- right: isLoading ? /*#__PURE__*/jsx(Icon, {
6410
- icon: /*#__PURE__*/jsx(LoaderIcon, {}),
6411
- color: "kitt.black"
6412
- }) : undefined,
6413
- errorElement: hasError ? errorElement : null,
6414
- emptyResultsElement: items.length === 0 ? emptyResultsElement : null,
6415
- onInputChange: function (value) {
6416
- return _onInputChange(value);
6417
- },
6418
- onChange: function (item) {
6419
- return onSelectItem(item, _onChange);
6420
- },
6421
- children: items.map(function (item) {
6422
- var child = children(item);
6423
- return /*#__PURE__*/cloneElement(child, {
6424
- key: child.key,
6425
- item: item
6426
- });
6427
- })
6428
- }));
6429
- }
6430
- InputAddress.Option = InputAddressOption;
6431
-
6432
6352
  var GoogleMapsApiKeyContext = /*#__PURE__*/createContext(undefined);
6433
6353
  function GoogleMapsApiKeyProvider(_ref) {
6434
6354
  var children = _ref.children,
@@ -6834,7 +6754,7 @@ function useGoogleMapsAutocomplete() {
6834
6754
  return context;
6835
6755
  }
6836
6756
 
6837
- function InputAddressOptionLegacy(_ref) {
6757
+ function InputAddressOption(_ref) {
6838
6758
  var item = _ref.item;
6839
6759
  var sharedTransform = {
6840
6760
  style: {
@@ -6843,7 +6763,7 @@ function InputAddressOptionLegacy(_ref) {
6843
6763
  };
6844
6764
  return /*#__PURE__*/jsx(Autocomplete.Option, {
6845
6765
  item: item,
6846
- testID: "kitt.InputAddressOptionLegacy.item",
6766
+ testID: "kitt.InputAddressOption.item",
6847
6767
  children: /*#__PURE__*/jsxs(HStack, {
6848
6768
  space: "kitt.2",
6849
6769
  children: [/*#__PURE__*/jsx(View, {
@@ -6903,7 +6823,7 @@ function formatInitialValueToAutocompletePrediction(address, placeId) {
6903
6823
  }
6904
6824
 
6905
6825
  var _excluded$r = ["initialValue", "itemToString", "errorElement", "emptyResultsElement", "onChange"];
6906
- function InputAddressLegacy(_ref) {
6826
+ function InputAddress(_ref) {
6907
6827
  var initialValue = _ref.initialValue,
6908
6828
  _ref$itemToString = _ref.itemToString,
6909
6829
  itemToString = _ref$itemToString === void 0 ? defaultItemToString : _ref$itemToString,
@@ -6937,13 +6857,13 @@ function InputAddressLegacy(_ref) {
6937
6857
  onSelectItem(v, _onChange);
6938
6858
  },
6939
6859
  children: state.items.map(function (item) {
6940
- return /*#__PURE__*/jsx(InputAddressOptionLegacy, {
6860
+ return /*#__PURE__*/jsx(InputAddressOption, {
6941
6861
  item: item
6942
6862
  }, item.place_id);
6943
6863
  })
6944
6864
  }));
6945
6865
  }
6946
- InputAddressLegacy.Option = InputAddressOptionLegacy;
6866
+ InputAddress.Option = InputAddressOption;
6947
6867
 
6948
6868
  var InputEmail = /*#__PURE__*/forwardRef(function (props, ref) {
6949
6869
  return /*#__PURE__*/jsx(InputText, _objectSpread({
@@ -13913,5 +13833,5 @@ function VerticalSteps(_ref) {
13913
13833
  VerticalSteps.Step = Step;
13914
13834
  VerticalSteps.BorderlessStep = BorderlessStep;
13915
13835
 
13916
- 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, 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 };
13836
+ 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, 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 };
13917
13837
  //# sourceMappingURL=index.es.web.js.map