@ornikar/kitt-universal 16.4.1 → 16.4.2

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.
@@ -1836,7 +1836,7 @@ var isTypographyHeader = function (type, isHeaderTypographyInContext) {
1836
1836
  throw new Error('You must set a "base" prop or wrap this Typography in one that does.');
1837
1837
  };
1838
1838
 
1839
- var _excluded$L = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
1839
+ var _excluded$K = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
1840
1840
  var IsHeaderTypographyContext = /*#__PURE__*/createContext(undefined);
1841
1841
  var TypographyColorContext = /*#__PURE__*/createContext('black');
1842
1842
  function useTypographyColor() {
@@ -1886,7 +1886,7 @@ function Typography(_ref) {
1886
1886
  } : _ref$type,
1887
1887
  variant = _ref.variant,
1888
1888
  color = _ref.color,
1889
- otherProps = _objectWithoutProperties(_ref, _excluded$L);
1889
+ otherProps = _objectWithoutProperties(_ref, _excluded$K);
1890
1890
  var sx = useSx();
1891
1891
  var isHeaderTypographyInContext = useContext(IsHeaderTypographyContext);
1892
1892
  var defaultColor = useTypographyDefaultColor();
@@ -1991,11 +1991,11 @@ function Icon(_ref) {
1991
1991
  });
1992
1992
  }
1993
1993
 
1994
- var _excluded$K = ["color"],
1994
+ var _excluded$J = ["color"],
1995
1995
  _excluded2$6 = ["color"];
1996
1996
  function TypographyIconSpecifiedColor(_ref) {
1997
1997
  var color = _ref.color,
1998
- props = _objectWithoutProperties(_ref, _excluded$K);
1998
+ props = _objectWithoutProperties(_ref, _excluded$J);
1999
1999
  var sx = useSx();
2000
2000
  var colorStyle = sx({
2001
2001
  color: getTypographyColorValue(color)
@@ -2039,7 +2039,7 @@ var getTextColorByType = function (type, variant, isHovered, isPressed) {
2039
2039
  }
2040
2040
  };
2041
2041
 
2042
- var _excluded$J = ["type", "variant", "isDisabled", "icon", "children", "isHovered", "isPressed", "isFocused"];
2042
+ var _excluded$I = ["type", "variant", "isDisabled", "icon", "children", "isHovered", "isPressed", "isFocused"];
2043
2043
  function ButtonIcon(_ref) {
2044
2044
  var icon = _ref.icon,
2045
2045
  color = _ref.color,
@@ -2114,7 +2114,7 @@ function ButtonContent(_ref3) {
2114
2114
  isHovered = _ref3.isHovered,
2115
2115
  isPressed = _ref3.isPressed;
2116
2116
  _ref3.isFocused;
2117
- var props = _objectWithoutProperties(_ref3, _excluded$J);
2117
+ var props = _objectWithoutProperties(_ref3, _excluded$I);
2118
2118
  var color = isDisabled ? 'black-light' : getTextColorByType(type, variant, isHovered, isPressed);
2119
2119
  return /*#__PURE__*/jsx(View, {
2120
2120
  _web: {
@@ -2420,7 +2420,7 @@ function LoaderIcon(_ref) {
2420
2420
  });
2421
2421
  }
2422
2422
 
2423
- var _excluded$I = ["as", "onPress", "disabled", "icon", "stretch"];
2423
+ var _excluded$H = ["as", "onPress", "disabled", "icon", "stretch"];
2424
2424
  function ActionsItem(_ref) {
2425
2425
  var as = _ref.as,
2426
2426
  onPress = _ref.onPress,
@@ -2431,7 +2431,7 @@ function ActionsItem(_ref) {
2431
2431
  base: true,
2432
2432
  medium: false
2433
2433
  } : _ref$stretch,
2434
- props = _objectWithoutProperties(_ref, _excluded$I);
2434
+ props = _objectWithoutProperties(_ref, _excluded$H);
2435
2435
  var _useState = useState(false),
2436
2436
  _useState2 = _slicedToArray(_useState, 2),
2437
2437
  isLoading = _useState2[0],
@@ -2502,7 +2502,7 @@ function ActionsButton(_ref) {
2502
2502
  }, props));
2503
2503
  }
2504
2504
 
2505
- var _excluded$H = ["children", "layout", "reversed"];
2505
+ var _excluded$G = ["children", "layout", "reversed"];
2506
2506
  function getCurrentLayout(layout) {
2507
2507
  if (!layout) return {
2508
2508
  base: 'stretch',
@@ -2531,7 +2531,7 @@ function Actions(_ref) {
2531
2531
  var children = _ref.children,
2532
2532
  layout = _ref.layout,
2533
2533
  reversed = _ref.reversed,
2534
- props = _objectWithoutProperties(_ref, _excluded$H);
2534
+ props = _objectWithoutProperties(_ref, _excluded$G);
2535
2535
  var currentAlignItems = getCurrentLayout(layout);
2536
2536
  var currentDirection = getCurrentDirection(layout);
2537
2537
  var currentAlignSelf = getCurrentAlignSelf(layout);
@@ -2580,7 +2580,7 @@ function getInitials(firstname, lastname) {
2580
2580
  return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
2581
2581
  }
2582
2582
 
2583
- var _excluded$G = ["size", "round", "light", "sizeVariant"];
2583
+ var _excluded$F = ["size", "round", "light", "sizeVariant"];
2584
2584
  function AvatarContent(_ref) {
2585
2585
  var size = _ref.size,
2586
2586
  src = _ref.src,
@@ -2619,7 +2619,7 @@ function Avatar(_ref2) {
2619
2619
  round = _ref2.round,
2620
2620
  light = _ref2.light,
2621
2621
  sizeVariant = _ref2.sizeVariant,
2622
- props = _objectWithoutProperties(_ref2, _excluded$G);
2622
+ props = _objectWithoutProperties(_ref2, _excluded$F);
2623
2623
  var currentSize = getCurrentSize({
2624
2624
  size: size,
2625
2625
  sizeVariant: sizeVariant
@@ -3030,11 +3030,11 @@ function CardModalAnimation(_ref) {
3030
3030
  });
3031
3031
  }
3032
3032
 
3033
- var _excluded$F = ["children"],
3033
+ var _excluded$E = ["children"],
3034
3034
  _excluded2$5 = ["children", "visible", "onClose", "onExited"];
3035
3035
  function CardModalScrollContainer(_ref) {
3036
3036
  var children = _ref.children,
3037
- props = _objectWithoutProperties(_ref, _excluded$F);
3037
+ props = _objectWithoutProperties(_ref, _excluded$E);
3038
3038
  if (Platform.OS !== 'web') {
3039
3039
  return /*#__PURE__*/jsx(View, {
3040
3040
  children: children
@@ -3080,7 +3080,7 @@ function CardModalBehaviour(_ref2) {
3080
3080
  });
3081
3081
  }
3082
3082
 
3083
- var _excluded$E = ["children", "paddingX", "paddingY"];
3083
+ var _excluded$D = ["children", "paddingX", "paddingY"];
3084
3084
  function CardModalBody(_ref) {
3085
3085
  var children = _ref.children,
3086
3086
  _ref$paddingX = _ref.paddingX,
@@ -3090,7 +3090,7 @@ function CardModalBody(_ref) {
3090
3090
  } : _ref$paddingX,
3091
3091
  _ref$paddingY = _ref.paddingY,
3092
3092
  paddingY = _ref$paddingY === void 0 ? 'kitt.4' : _ref$paddingY,
3093
- props = _objectWithoutProperties(_ref, _excluded$E);
3093
+ props = _objectWithoutProperties(_ref, _excluded$D);
3094
3094
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
3095
3095
  paddingX: paddingX,
3096
3096
  paddingY: paddingY
@@ -3099,7 +3099,7 @@ function CardModalBody(_ref) {
3099
3099
  }));
3100
3100
  }
3101
3101
 
3102
- var _excluded$D = ["children", "padding", "hasSeparator"];
3102
+ var _excluded$C = ["children", "padding", "hasSeparator"];
3103
3103
  function CardModalFooter(_ref) {
3104
3104
  var children = _ref.children,
3105
3105
  _ref$padding = _ref.padding,
@@ -3109,7 +3109,7 @@ function CardModalFooter(_ref) {
3109
3109
  } : _ref$padding,
3110
3110
  _ref$hasSeparator = _ref.hasSeparator,
3111
3111
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
3112
- props = _objectWithoutProperties(_ref, _excluded$D);
3112
+ props = _objectWithoutProperties(_ref, _excluded$C);
3113
3113
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
3114
3114
  marginTop: "kitt.2",
3115
3115
  padding: padding,
@@ -3123,7 +3123,7 @@ function CardModalFooter(_ref) {
3123
3123
  }));
3124
3124
  }
3125
3125
 
3126
- var _excluded$C = ["children", "title", "paddingBottom", "hasSeparator", "right", "left"];
3126
+ var _excluded$B = ["children", "title", "paddingBottom", "hasSeparator", "right", "left"];
3127
3127
  function CardModalHeader(_ref) {
3128
3128
  var children = _ref.children,
3129
3129
  title = _ref.title,
@@ -3136,7 +3136,7 @@ function CardModalHeader(_ref) {
3136
3136
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
3137
3137
  right = _ref.right,
3138
3138
  left = _ref.left,
3139
- props = _objectWithoutProperties(_ref, _excluded$C);
3139
+ props = _objectWithoutProperties(_ref, _excluded$B);
3140
3140
  var defaultContainerPadding = {
3141
3141
  base: 'kitt.4',
3142
3142
  medium: 'kitt.6'
@@ -3174,7 +3174,7 @@ function CardModalHeader(_ref) {
3174
3174
  }));
3175
3175
  }
3176
3176
 
3177
- var _excluded$B = ["backgroundColor", "maxWidth", "withoutShadow", "children", "header", "body", "footer"];
3177
+ var _excluded$A = ["backgroundColor", "maxWidth", "withoutShadow", "children", "header", "body", "footer"];
3178
3178
  function CardModal(_ref) {
3179
3179
  var _ref$backgroundColor = _ref.backgroundColor,
3180
3180
  backgroundColor = _ref$backgroundColor === void 0 ? 'kitt.uiBackgroundLight' : _ref$backgroundColor,
@@ -3185,7 +3185,7 @@ function CardModal(_ref) {
3185
3185
  header = _ref.header,
3186
3186
  body = _ref.body,
3187
3187
  footer = _ref.footer,
3188
- props = _objectWithoutProperties(_ref, _excluded$B);
3188
+ props = _objectWithoutProperties(_ref, _excluded$A);
3189
3189
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
3190
3190
  overflow: "hidden",
3191
3191
  backgroundColor: backgroundColor,
@@ -3443,10 +3443,10 @@ function ChoiceItemContainer(_ref) {
3443
3443
  });
3444
3444
  }
3445
3445
 
3446
- var _excluded$A = ["direction"];
3446
+ var _excluded$z = ["direction"];
3447
3447
  function ChoicesContainer(_ref) {
3448
3448
  var direction = _ref.direction,
3449
- props = _objectWithoutProperties(_ref, _excluded$A);
3449
+ props = _objectWithoutProperties(_ref, _excluded$z);
3450
3450
  if (direction === 'row') {
3451
3451
  return /*#__PURE__*/jsx(ScrollView$2, _objectSpread({
3452
3452
  horizontal: true
@@ -3740,13 +3740,13 @@ function DialogModalAnimation(_ref) {
3740
3740
  });
3741
3741
  }
3742
3742
 
3743
- var _excluded$z = ["children", "visible", "onClose", "onExited"];
3743
+ var _excluded$y = ["children", "visible", "onClose", "onExited"];
3744
3744
  function DialogModalBehaviour(_ref) {
3745
3745
  var children = _ref.children,
3746
3746
  visible = _ref.visible,
3747
3747
  onClose = _ref.onClose,
3748
3748
  onExited = _ref.onExited,
3749
- props = _objectWithoutProperties(_ref, _excluded$z);
3749
+ props = _objectWithoutProperties(_ref, _excluded$y);
3750
3750
  var _useState = useState(visible),
3751
3751
  _useState2 = _slicedToArray(_useState, 2),
3752
3752
  isModalBehaviourVisible = _useState2[0],
@@ -3777,7 +3777,7 @@ function DialogModalBehaviour(_ref) {
3777
3777
  });
3778
3778
  }
3779
3779
 
3780
- var _excluded$y = ["stretch"];
3780
+ var _excluded$x = ["stretch"];
3781
3781
  function DialogModal(_ref) {
3782
3782
  var illustration = _ref.illustration,
3783
3783
  title = _ref.title,
@@ -3818,7 +3818,7 @@ DialogModal.ModalBehaviour = DialogModalBehaviour;
3818
3818
  function DialogModalButton(_ref2) {
3819
3819
  var _ref2$stretch = _ref2.stretch,
3820
3820
  stretch = _ref2$stretch === void 0 ? true : _ref2$stretch,
3821
- props = _objectWithoutProperties(_ref2, _excluded$y);
3821
+ props = _objectWithoutProperties(_ref2, _excluded$x);
3822
3822
  return /*#__PURE__*/jsx(Actions.Button, _objectSpread({
3823
3823
  stretch: stretch
3824
3824
  }, props));
@@ -3855,7 +3855,7 @@ function Emoji(_ref) {
3855
3855
  });
3856
3856
  }
3857
3857
 
3858
- var _excluded$x = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
3858
+ var _excluded$w = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
3859
3859
  _excluded2$4 = ["phoneNumber", "children"],
3860
3860
  _excluded3$3 = ["phoneNumber", "children"],
3861
3861
  _excluded4$3 = ["emailAddress", "children"];
@@ -3865,7 +3865,7 @@ function ExternalAppLink(_ref) {
3865
3865
  appValue = _ref.appValue,
3866
3866
  onPress = _ref.onPress,
3867
3867
  onOpenAppError = _ref.onOpenAppError,
3868
- rest = _objectWithoutProperties(_ref, _excluded$x);
3868
+ rest = _objectWithoutProperties(_ref, _excluded$w);
3869
3869
  var href = "".concat(appScheme, ":").concat(appValue);
3870
3870
  var handleOnPress = /*#__PURE__*/function () {
3871
3871
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
@@ -3960,7 +3960,7 @@ var defaultOpenLinkBehavior = {
3960
3960
  web: 'targetBlank'
3961
3961
  };
3962
3962
 
3963
- var _excluded$w = ["as", "href", "openLinkBehavior", "onPress", "onOpenLinkError"];
3963
+ var _excluded$v = ["as", "href", "openLinkBehavior", "onPress", "onOpenLinkError"];
3964
3964
  function ExternalLink(_ref) {
3965
3965
  var Component = _ref.as,
3966
3966
  href = _ref.href,
@@ -3969,7 +3969,7 @@ function ExternalLink(_ref) {
3969
3969
  onPress = _ref.onPress,
3970
3970
  _ref$onOpenLinkError = _ref.onOpenLinkError,
3971
3971
  onOpenLinkError = _ref$onOpenLinkError === void 0 ? console.error : _ref$onOpenLinkError,
3972
- rest = _objectWithoutProperties(_ref, _excluded$w);
3972
+ rest = _objectWithoutProperties(_ref, _excluded$v);
3973
3973
  return /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({}, rest), {}, {
3974
3974
  onPress: function handleOnPress(e) {
3975
3975
  if (onPress) {
@@ -4035,7 +4035,7 @@ function InputTextContainer(_ref) {
4035
4035
  });
4036
4036
  }
4037
4037
 
4038
- var _excluded$v = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "keyboardType", "multiline", "onSubmitEditing"];
4038
+ var _excluded$u = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "keyboardType", "multiline", "onSubmitEditing"];
4039
4039
  var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
4040
4040
  var id = _ref.id,
4041
4041
  right = _ref.right;
@@ -4055,7 +4055,7 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
4055
4055
  keyboardType = _ref$keyboardType === void 0 ? 'default' : _ref$keyboardType,
4056
4056
  multiline = _ref.multiline,
4057
4057
  onSubmitEditing = _ref.onSubmitEditing,
4058
- props = _objectWithoutProperties(_ref, _excluded$v);
4058
+ props = _objectWithoutProperties(_ref, _excluded$u);
4059
4059
  var theme = useTheme();
4060
4060
  var fontSizeForNativeBase = createNativeBaseFontSize({
4061
4061
  base: 'body'
@@ -4172,10 +4172,10 @@ function AutocompleteItemsListContainer(_ref) {
4172
4172
  });
4173
4173
  }
4174
4174
 
4175
- var _excluded$u = ["children"];
4175
+ var _excluded$t = ["children"];
4176
4176
  function AutocompleteOption(_ref) {
4177
4177
  var children = _ref.children,
4178
- props = _objectWithoutProperties(_ref, _excluded$u);
4178
+ props = _objectWithoutProperties(_ref, _excluded$t);
4179
4179
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
4180
4180
  paddingX: {
4181
4181
  base: 'kitt.2',
@@ -4187,7 +4187,7 @@ function AutocompleteOption(_ref) {
4187
4187
  }));
4188
4188
  }
4189
4189
 
4190
- var _excluded$t = ["children", "name", "disabled", "placeholder", "isInitialOpen", "initialValue", "containerProps", "filterItemBasedOnCurrentInputValue", "checkSelectedItem", "itemToString", "right", "onChange", "onFocus", "onBlur", "onInputChange", "onSelectItem", "onOuterPress", "errorElement", "emptyResultsElement", "inputTestID", "listContainerTestID", "zIndex"],
4190
+ var _excluded$s = ["children", "name", "disabled", "placeholder", "isInitialOpen", "initialValue", "containerProps", "filterItemBasedOnCurrentInputValue", "checkSelectedItem", "itemToString", "right", "onChange", "onFocus", "onBlur", "onInputChange", "onSelectItem", "onOuterPress", "errorElement", "emptyResultsElement", "inputTestID", "listContainerTestID", "zIndex"],
4191
4191
  _excluded2$3 = ["onClick", "onPress"],
4192
4192
  _excluded3$2 = ["onKeyDown", "onFocus", "onBlur", "onChange"],
4193
4193
  _excluded4$2 = ["onClick", "onPress", "role", "aria-selected"];
@@ -4226,7 +4226,7 @@ function Autocomplete(_ref) {
4226
4226
  listContainerTestID = _ref$listContainerTes === void 0 ? 'kitt.Autocomplete.listContainer' : _ref$listContainerTes,
4227
4227
  _ref$zIndex = _ref.zIndex,
4228
4228
  zIndex = _ref$zIndex === void 0 ? 1000 : _ref$zIndex,
4229
- props = _objectWithoutProperties(_ref, _excluded$t);
4229
+ props = _objectWithoutProperties(_ref, _excluded$s);
4230
4230
  var childrenArray = Children.toArray(_children);
4231
4231
  var items = childrenArray.filter(isReactElement).map(function (child) {
4232
4232
  return {
@@ -4750,7 +4750,7 @@ function PartContainer(_ref) {
4750
4750
  });
4751
4751
  }
4752
4752
 
4753
- var _excluded$s = ["id", "value", "testID", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "returnKeyType", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
4753
+ var _excluded$r = ["id", "value", "testID", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "returnKeyType", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
4754
4754
  var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
4755
4755
  var id = _ref.id,
4756
4756
  value = _ref.value,
@@ -4768,7 +4768,7 @@ var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
4768
4768
  onBlur = _ref.onBlur,
4769
4769
  onFocus = _ref.onFocus,
4770
4770
  onSubmitEditing = _ref.onSubmitEditing;
4771
- _objectWithoutProperties(_ref, _excluded$s);
4771
+ _objectWithoutProperties(_ref, _excluded$r);
4772
4772
  var monthRef = useRef(null);
4773
4773
  var yearRef = useRef(null);
4774
4774
  var defaultValue = value;
@@ -4978,7 +4978,7 @@ var PressableDateInputs = /*#__PURE__*/forwardRef(function (_ref, ref) {
4978
4978
  });
4979
4979
  });
4980
4980
 
4981
- var _excluded$r = ["onBlur", "onFocus", "pickerDefaultDate", "pickerUITestID", "isDefaultVisible", "value", "onChange"];
4981
+ var _excluded$q = ["onBlur", "onFocus", "pickerDefaultDate", "pickerUITestID", "isDefaultVisible", "value", "onChange"];
4982
4982
  var DatePickerAndroid = /*#__PURE__*/forwardRef(function (_ref, ref) {
4983
4983
  var onBlur = _ref.onBlur,
4984
4984
  onFocus = _ref.onFocus,
@@ -4987,7 +4987,7 @@ var DatePickerAndroid = /*#__PURE__*/forwardRef(function (_ref, ref) {
4987
4987
  isDefaultVisible = _ref.isDefaultVisible,
4988
4988
  value = _ref.value,
4989
4989
  _onChange = _ref.onChange,
4990
- props = _objectWithoutProperties(_ref, _excluded$r);
4990
+ props = _objectWithoutProperties(_ref, _excluded$q);
4991
4991
  var _useState = useState(false),
4992
4992
  _useState2 = _slicedToArray(_useState, 2),
4993
4993
  isFocused = _useState2[0],
@@ -5063,7 +5063,7 @@ function PlatformDateTimePicker(_ref) {
5063
5063
  }));
5064
5064
  }
5065
5065
 
5066
- var _excluded$q = ["title", "isVisible", "value", "validateButtonLabel", "onClose", "onChange"];
5066
+ var _excluded$p = ["title", "isVisible", "value", "validateButtonLabel", "onClose", "onChange"];
5067
5067
  function ModalTitle(_ref) {
5068
5068
  var children = _ref.children;
5069
5069
  return /*#__PURE__*/jsx(CardModal.Header, {
@@ -5081,7 +5081,7 @@ function ModalPlatformDateTimePicker(_ref2) {
5081
5081
  validateButtonLabel = _ref2.validateButtonLabel,
5082
5082
  onClose = _ref2.onClose,
5083
5083
  onChange = _ref2.onChange,
5084
- props = _objectWithoutProperties(_ref2, _excluded$q);
5084
+ props = _objectWithoutProperties(_ref2, _excluded$p);
5085
5085
  var _useState = useState(value),
5086
5086
  _useState2 = _slicedToArray(_useState, 2),
5087
5087
  currentValue = _useState2[0],
@@ -5127,7 +5127,7 @@ function ModalPlatformDateTimePicker(_ref2) {
5127
5127
  });
5128
5128
  }
5129
5129
 
5130
- var _excluded$p = ["value", "pickerUITestID", "pickerUITitle", "pickerUIValidateButtonLabel", "isDefaultVisible", "pickerDefaultDate", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onFocus", "onBlur"];
5130
+ var _excluded$o = ["value", "pickerUITestID", "pickerUITitle", "pickerUIValidateButtonLabel", "isDefaultVisible", "pickerDefaultDate", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onFocus", "onBlur"];
5131
5131
  var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
5132
5132
  var value = _ref.value,
5133
5133
  pickerUITestID = _ref.pickerUITestID,
@@ -5141,7 +5141,7 @@ var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
5141
5141
  onChange = _ref.onChange,
5142
5142
  onFocus = _ref.onFocus,
5143
5143
  onBlur = _ref.onBlur,
5144
- props = _objectWithoutProperties(_ref, _excluded$p);
5144
+ props = _objectWithoutProperties(_ref, _excluded$o);
5145
5145
  var _useState = useState(isDefaultVisible),
5146
5146
  _useState2 = _slicedToArray(_useState, 2),
5147
5147
  isPickerUIVisible = _useState2[0],
@@ -5188,7 +5188,7 @@ var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
5188
5188
  });
5189
5189
  });
5190
5190
 
5191
- var _excluded$o = ["value", "pickerUITestID", "isDefaultVisible", "pickerDefaultDate", "onChange", "onBlur"];
5191
+ var _excluded$n = ["value", "pickerUITestID", "isDefaultVisible", "pickerDefaultDate", "onChange", "onBlur"];
5192
5192
  var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
5193
5193
  var value = _ref.value,
5194
5194
  pickerUITestID = _ref.pickerUITestID,
@@ -5196,7 +5196,7 @@ var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
5196
5196
  pickerDefaultDate = _ref.pickerDefaultDate,
5197
5197
  onChange = _ref.onChange,
5198
5198
  onBlur = _ref.onBlur,
5199
- props = _objectWithoutProperties(_ref, _excluded$o);
5199
+ props = _objectWithoutProperties(_ref, _excluded$n);
5200
5200
  if (Platform.OS === 'android') {
5201
5201
  return /*#__PURE__*/jsx(DatePickerAndroid, _objectSpread({
5202
5202
  ref: ref,
@@ -5218,14 +5218,14 @@ var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
5218
5218
  }, props));
5219
5219
  });
5220
5220
 
5221
- var _excluded$n = ["fillMode", "returnKeyType", "value", "onSubmitEditing"];
5221
+ var _excluded$m = ["fillMode", "returnKeyType", "value", "onSubmitEditing"];
5222
5222
  var DatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
5223
5223
  var _ref$fillMode = _ref.fillMode,
5224
5224
  fillMode = _ref$fillMode === void 0 ? 'native' : _ref$fillMode,
5225
5225
  returnKeyType = _ref.returnKeyType,
5226
5226
  value = _ref.value,
5227
5227
  onSubmitEditing = _ref.onSubmitEditing,
5228
- props = _objectWithoutProperties(_ref, _excluded$n);
5228
+ props = _objectWithoutProperties(_ref, _excluded$m);
5229
5229
  // in apps, final-form can give a string value that will break the component
5230
5230
  var currentValue = value || undefined;
5231
5231
  if (fillMode === 'keyboard') {
@@ -5706,7 +5706,7 @@ function formatInitialValueToAutocompletePrediction(address, placeId) {
5706
5706
  };
5707
5707
  }
5708
5708
 
5709
- var _excluded$m = ["initialValue", "itemToString", "errorElement", "emptyResultsElement", "onChange"];
5709
+ var _excluded$l = ["initialValue", "itemToString", "errorElement", "emptyResultsElement", "onChange"];
5710
5710
  function InputAddress(_ref) {
5711
5711
  var initialValue = _ref.initialValue,
5712
5712
  _ref$itemToString = _ref.itemToString,
@@ -5714,7 +5714,7 @@ function InputAddress(_ref) {
5714
5714
  errorElement = _ref.errorElement,
5715
5715
  emptyResultsElement = _ref.emptyResultsElement,
5716
5716
  _onChange = _ref.onChange;
5717
- _objectWithoutProperties(_ref, _excluded$m);
5717
+ _objectWithoutProperties(_ref, _excluded$l);
5718
5718
  var _useGoogleMapsAutocom = useGoogleMapsAutocomplete(),
5719
5719
  state = _useGoogleMapsAutocom.state,
5720
5720
  _onInputChange = _useGoogleMapsAutocom.onInputChange,
@@ -5804,11 +5804,11 @@ function InputField(_ref) {
5804
5804
  });
5805
5805
  }
5806
5806
 
5807
- var _excluded$l = ["isPasswordDefaultVisible", "right"];
5807
+ var _excluded$k = ["isPasswordDefaultVisible", "right"];
5808
5808
  var InputPassword = /*#__PURE__*/forwardRef(function (_ref, ref) {
5809
5809
  var isPasswordDefaultVisible = _ref.isPasswordDefaultVisible,
5810
5810
  right = _ref.right,
5811
- props = _objectWithoutProperties(_ref, _excluded$l);
5811
+ props = _objectWithoutProperties(_ref, _excluded$k);
5812
5812
  var _useState = useState(Boolean(isPasswordDefaultVisible)),
5813
5813
  _useState2 = _slicedToArray(_useState, 2),
5814
5814
  isVisible = _useState2[0],
@@ -5836,7 +5836,7 @@ var InputPassword = /*#__PURE__*/forwardRef(function (_ref, ref) {
5836
5836
  }));
5837
5837
  });
5838
5838
 
5839
- var _excluded$k = ["returnKeyType", "autoComplete", "phoneNumberLength", "value", "onChange"];
5839
+ var _excluded$j = ["returnKeyType", "autoComplete", "phoneNumberLength", "value", "onChange"];
5840
5840
  function isPhoneNumberValid(number) {
5841
5841
  return isValidNumber(number);
5842
5842
  }
@@ -5851,7 +5851,7 @@ var InputPhone = /*#__PURE__*/forwardRef(function (_ref, ref) {
5851
5851
  phoneNumberLength = _ref$phoneNumberLengt === void 0 ? 10 : _ref$phoneNumberLengt,
5852
5852
  value = _ref.value,
5853
5853
  onChange = _ref.onChange,
5854
- props = _objectWithoutProperties(_ref, _excluded$k);
5854
+ props = _objectWithoutProperties(_ref, _excluded$j);
5855
5855
  var _useState = useState(value),
5856
5856
  _useState2 = _slicedToArray(_useState, 2),
5857
5857
  currentValue = _useState2[0],
@@ -6320,7 +6320,7 @@ function RadioButton(_ref) {
6320
6320
  });
6321
6321
  }
6322
6322
 
6323
- var _excluded$j = ["children", "stretch", "value", "disabled", "onFocus", "onBlur", "onChange"];
6323
+ var _excluded$i = ["children", "stretch", "value", "disabled", "onFocus", "onBlur", "onChange"];
6324
6324
  function RadioButtonGroupItem(_ref) {
6325
6325
  var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
6326
6326
  return /*#__PURE__*/jsx(RadioButton, _objectSpread({}, props));
@@ -6333,7 +6333,7 @@ function RadioButtonGroup(_ref2) {
6333
6333
  onFocus = _ref2.onFocus,
6334
6334
  onBlur = _ref2.onBlur,
6335
6335
  onChange = _ref2.onChange,
6336
- props = _objectWithoutProperties(_ref2, _excluded$j);
6336
+ props = _objectWithoutProperties(_ref2, _excluded$i);
6337
6337
  var _useState = useState(value),
6338
6338
  _useState2 = _slicedToArray(_useState, 2),
6339
6339
  currentValue = _useState2[0],
@@ -6375,13 +6375,13 @@ var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
6375
6375
  }, props));
6376
6376
  });
6377
6377
 
6378
- var _excluded$i = ["children", "shouldHandleBottomNotch", "style", "shouldHandleTopNotch"];
6378
+ var _excluded$h = ["children", "shouldHandleBottomNotch", "style", "shouldHandleTopNotch"];
6379
6379
  function FullscreenModalBody(_ref) {
6380
6380
  var children = _ref.children,
6381
6381
  shouldHandleBottomNotch = _ref.shouldHandleBottomNotch,
6382
6382
  style = _ref.style,
6383
6383
  shouldHandleTopNotch = _ref.shouldHandleTopNotch,
6384
- props = _objectWithoutProperties(_ref, _excluded$i);
6384
+ props = _objectWithoutProperties(_ref, _excluded$h);
6385
6385
  var _useSafeAreaInsets = useSafeAreaInsets(),
6386
6386
  bottom = _useSafeAreaInsets.bottom,
6387
6387
  top = _useSafeAreaInsets.top;
@@ -6398,14 +6398,14 @@ function FullscreenModalBody(_ref) {
6398
6398
  }));
6399
6399
  }
6400
6400
 
6401
- var _excluded$h = ["shouldHandleBottomNotch", "hasSeparator", "children"];
6401
+ var _excluded$g = ["shouldHandleBottomNotch", "hasSeparator", "children"];
6402
6402
  function FullscreenModalFooter(_ref) {
6403
6403
  var _ref$shouldHandleBott = _ref.shouldHandleBottomNotch,
6404
6404
  shouldHandleBottomNotch = _ref$shouldHandleBott === void 0 ? true : _ref$shouldHandleBott,
6405
6405
  _ref$hasSeparator = _ref.hasSeparator,
6406
6406
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
6407
6407
  children = _ref.children,
6408
- props = _objectWithoutProperties(_ref, _excluded$h);
6408
+ props = _objectWithoutProperties(_ref, _excluded$g);
6409
6409
  var _useSafeAreaInsets = useSafeAreaInsets(),
6410
6410
  bottom = _useSafeAreaInsets.bottom;
6411
6411
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
@@ -6621,13 +6621,13 @@ function FullscreenModalAnimation(_ref) {
6621
6621
  });
6622
6622
  }
6623
6623
 
6624
- var _excluded$g = ["children", "visible", "onClose", "onExited"];
6624
+ var _excluded$f = ["children", "visible", "onClose", "onExited"];
6625
6625
  function FullscreenModalBehaviour(_ref) {
6626
6626
  var children = _ref.children,
6627
6627
  visible = _ref.visible,
6628
6628
  onClose = _ref.onClose,
6629
6629
  onExited = _ref.onExited,
6630
- props = _objectWithoutProperties(_ref, _excluded$g);
6630
+ props = _objectWithoutProperties(_ref, _excluded$f);
6631
6631
  var _useState = useState(visible),
6632
6632
  _useState2 = _slicedToArray(_useState, 2),
6633
6633
  isModalBehaviourVisible = _useState2[0],
@@ -6671,7 +6671,7 @@ function FullscreenModalContainer(_ref) {
6671
6671
  });
6672
6672
  }
6673
6673
 
6674
- var _excluded$f = ["hasSeparator", "isTransparent", "title", "children", "right", "left", "shouldHandleTopNotch"];
6674
+ var _excluded$e = ["hasSeparator", "isTransparent", "title", "children", "right", "left", "shouldHandleTopNotch"];
6675
6675
  function FullscreenModalHeader(_ref) {
6676
6676
  var _ref$hasSeparator = _ref.hasSeparator,
6677
6677
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
@@ -6682,7 +6682,7 @@ function FullscreenModalHeader(_ref) {
6682
6682
  left = _ref.left,
6683
6683
  _ref$shouldHandleTopN = _ref.shouldHandleTopNotch,
6684
6684
  shouldHandleTopNotch = _ref$shouldHandleTopN === void 0 ? true : _ref$shouldHandleTopN,
6685
- props = _objectWithoutProperties(_ref, _excluded$f);
6685
+ props = _objectWithoutProperties(_ref, _excluded$e);
6686
6686
  var _useSafeAreaInsets = useSafeAreaInsets(),
6687
6687
  top = _useSafeAreaInsets.top;
6688
6688
  var hasRight = Boolean(right);
@@ -6773,7 +6773,7 @@ function Highlight(_ref) {
6773
6773
  // eslint-disable-next-line no-restricted-imports
6774
6774
  var useBreakpointValue = useBreakpointValue$1;
6775
6775
 
6776
- var _excluded$e = ["color", "isDisabled"];
6776
+ var _excluded$d = ["color", "isDisabled"];
6777
6777
  function getBackgroundColor(color, isDisabled) {
6778
6778
  if (isDisabled) {
6779
6779
  return 'kitt.iconButton.disabled.backgroundColor';
@@ -6791,7 +6791,7 @@ function getBackgroundColor(color, isDisabled) {
6791
6791
  function Background(_ref) {
6792
6792
  var color = _ref.color,
6793
6793
  isDisabled = _ref.isDisabled,
6794
- props = _objectWithoutProperties(_ref, _excluded$e);
6794
+ props = _objectWithoutProperties(_ref, _excluded$d);
6795
6795
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
6796
6796
  width: "100%",
6797
6797
  height: "100%",
@@ -7007,10 +7007,10 @@ function useKittMapConfig() {
7007
7007
  return context;
7008
7008
  }
7009
7009
 
7010
- var _excluded$d = ["children"];
7010
+ var _excluded$c = ["children"];
7011
7011
  function ListItemContent(_ref) {
7012
7012
  var children = _ref.children,
7013
- rest = _objectWithoutProperties(_ref, _excluded$d);
7013
+ rest = _objectWithoutProperties(_ref, _excluded$c);
7014
7014
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
7015
7015
  alignSelf: "center",
7016
7016
  flexBasis: "0%",
@@ -7021,14 +7021,14 @@ function ListItemContent(_ref) {
7021
7021
  }));
7022
7022
  }
7023
7023
 
7024
- var _excluded$c = ["children", "side"],
7024
+ var _excluded$b = ["children", "side"],
7025
7025
  _excluded2$2 = ["children", "align"];
7026
7026
  // Handles the vertical alignment of the side elements of the list item
7027
7027
  function ListItemSideContainer(_ref) {
7028
7028
  var children = _ref.children,
7029
7029
  _ref$side = _ref.side,
7030
7030
  side = _ref$side === void 0 ? 'left' : _ref$side,
7031
- rest = _objectWithoutProperties(_ref, _excluded$c);
7031
+ rest = _objectWithoutProperties(_ref, _excluded$b);
7032
7032
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
7033
7033
  flexDirection: "row",
7034
7034
  marginLeft: side === 'right' ? 'kitt.2' : undefined,
@@ -7049,7 +7049,7 @@ function ListItemSideContent(_ref2) {
7049
7049
  }));
7050
7050
  }
7051
7051
 
7052
- var _excluded$b = ["children", "withPadding", "borders", "left", "right", "onPress"];
7052
+ var _excluded$a = ["children", "withPadding", "borders", "left", "right", "onPress"];
7053
7053
  function ListItem(_ref) {
7054
7054
  var children = _ref.children,
7055
7055
  withPadding = _ref.withPadding,
@@ -7057,7 +7057,7 @@ function ListItem(_ref) {
7057
7057
  left = _ref.left,
7058
7058
  right = _ref.right,
7059
7059
  onPress = _ref.onPress,
7060
- rest = _objectWithoutProperties(_ref, _excluded$b);
7060
+ rest = _objectWithoutProperties(_ref, _excluded$a);
7061
7061
  var Wrapper = onPress ? Pressable$2 : Fragment$1;
7062
7062
  var wrapperProps = onPress ? _objectSpread({
7063
7063
  accessibilityRole: 'button',
@@ -8774,6 +8774,21 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8774
8774
  shadowRadius: theme.dialogModal.shadow.radius
8775
8775
  }
8776
8776
  },
8777
+ picker: {
8778
+ web: {
8779
+ optionsContainer: {
8780
+ shadow: {
8781
+ shadowColor: theme.picker.web.optionsContainer.shadow.color,
8782
+ shadowOffset: {
8783
+ width: theme.picker.web.optionsContainer.shadow.offsetX,
8784
+ height: theme.picker.web.optionsContainer.shadow.offsetY
8785
+ },
8786
+ shadowOpacity: theme.picker.web.optionsContainer.shadow.opacity,
8787
+ shadowRadius: theme.picker.web.optionsContainer.shadow.radius
8788
+ }
8789
+ }
8790
+ }
8791
+ },
8777
8792
  forms: {
8778
8793
  autocomplete: {
8779
8794
  optionsContainer: {
@@ -8939,7 +8954,7 @@ function KittNativeBaseProvider(_ref) {
8939
8954
  });
8940
8955
  }
8941
8956
 
8942
- var _excluded$a = ["children", "visible", "appear", "onExited", "onEnter", "onExit", "onClose"];
8957
+ var _excluded$9 = ["children", "visible", "appear", "onExited", "onEnter", "onExit", "onClose"];
8943
8958
  function SimpleContainer(_ref) {
8944
8959
  var children = _ref.children;
8945
8960
  return children;
@@ -8953,7 +8968,7 @@ function NavigationModalBehaviour(_ref2) {
8953
8968
  onEnter = _ref2.onEnter,
8954
8969
  onExit = _ref2.onExit,
8955
8970
  onClose = _ref2.onClose,
8956
- props = _objectWithoutProperties(_ref2, _excluded$a);
8971
+ props = _objectWithoutProperties(_ref2, _excluded$9);
8957
8972
  var AnimationComponent = useBreakpointValue({
8958
8973
  base: FullscreenModalAnimation,
8959
8974
  small: CardModalAnimation
@@ -9257,16 +9272,19 @@ function PickerItem(_ref) {
9257
9272
  });
9258
9273
  }
9259
9274
 
9260
- var _excluded$9 = ["children", "testID"];
9261
9275
  // This item is for Android only, iOS uses its own implementation and web is not supported yet
9262
9276
  function PickerOption(_ref) {
9263
9277
  var children = _ref.children,
9264
- testID = _ref.testID;
9265
- _objectWithoutProperties(_ref, _excluded$9);
9278
+ testID = _ref.testID,
9279
+ isHighlighted = _ref.isHighlighted,
9280
+ isSelected = _ref.isSelected;
9266
9281
  return /*#__PURE__*/jsx(Typography.Text, {
9267
9282
  testID: testID,
9268
9283
  base: "body",
9269
- children: children
9284
+ children: typeof children === 'function' ? children({
9285
+ isHighlighted: isHighlighted,
9286
+ isSelected: isSelected
9287
+ }) : children
9270
9288
  });
9271
9289
  }
9272
9290