@ornikar/kitt-universal 27.2.0 → 27.3.1-canary.2a1e1042a7d526c8c6b6197a77f84626e0e5d206.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 (37) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/definitions/typography/Typography.d.ts +18 -6
  3. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  4. package/dist/index-metro.es.android.js +1 -1
  5. package/dist/index-metro.es.android.js.map +1 -1
  6. package/dist/index-metro.es.ios.js +1 -1
  7. package/dist/index-metro.es.ios.js.map +1 -1
  8. package/dist/index-node-22.17.cjs.js +1 -1
  9. package/dist/index-node-22.17.cjs.js.map +1 -1
  10. package/dist/index-node-22.17.cjs.web.js +1 -1
  11. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  12. package/dist/index-node-22.17.es.mjs +1 -1
  13. package/dist/index-node-22.17.es.mjs.map +1 -1
  14. package/dist/index-node-22.17.es.web.mjs +1 -1
  15. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  16. package/dist/index.es.js +90 -90
  17. package/dist/index.es.js.map +1 -1
  18. package/dist/index.es.web.js +61 -61
  19. package/dist/index.es.web.js.map +1 -1
  20. package/dist/linaria-themes-metro.es.android.js +1 -1
  21. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  22. package/dist/linaria-themes-metro.es.ios.js +1 -1
  23. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  24. package/dist/linaria-themes-node-22.17.cjs.js +1 -1
  25. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  26. package/dist/linaria-themes-node-22.17.cjs.web.js +1 -1
  27. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  28. package/dist/linaria-themes-node-22.17.es.mjs +1 -1
  29. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  30. package/dist/linaria-themes-node-22.17.es.web.mjs +1 -1
  31. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  32. package/dist/linaria-themes.es.js +2 -2
  33. package/dist/linaria-themes.es.js.map +1 -1
  34. package/dist/linaria-themes.es.web.js +2 -2
  35. package/dist/linaria-themes.es.web.js.map +1 -1
  36. package/dist/tsbuildinfo +1 -1
  37. package/package.json +29 -29
@@ -838,7 +838,7 @@ var choices = {
838
838
  },
839
839
  description: {
840
840
  color: {
841
- "default": deepPurpleColorPalette['grey.5'],
841
+ "default": deepPurpleColorPalette['grey.7'],
842
842
  error: deepPurpleColorPalette['red.6']
843
843
  }
844
844
  }
@@ -2448,7 +2448,7 @@ var breakpoints = {
2448
2448
  // TODO : seperate brand color usage definition from proper theme definition and add typings - https://ornikar.atlassian.net/browse/CME-156
2449
2449
  var theme = {
2450
2450
  spacing: spacing,
2451
- getSpacing: function getSpacing(multiplier) {
2451
+ getSpacing: function (multiplier) {
2452
2452
  return spacing * multiplier;
2453
2453
  },
2454
2454
  colors: colors,
@@ -2635,7 +2635,7 @@ var ActionCardPressable = /*#__PURE__*/forwardRef(function (_ref2, ref) {
2635
2635
  onPress: onPress,
2636
2636
  onHoverIn: onHoverIn,
2637
2637
  onHoverOut: onHoverOut,
2638
- children: function children(_ref3) {
2638
+ children: function (_ref3) {
2639
2639
  var isHovered = _ref3.isHovered,
2640
2640
  isPressed = _ref3.isPressed,
2641
2641
  isFocused = _ref3.isFocused;
@@ -3476,7 +3476,7 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
3476
3476
  onHoverOut: onHoverOut,
3477
3477
  onFocus: onFocus,
3478
3478
  onBlur: onBlur,
3479
- children: function children(_ref2) {
3479
+ children: function (_ref2) {
3480
3480
  var isHovered = _ref2.isHovered,
3481
3481
  isPressed = _ref2.isPressed,
3482
3482
  isFocused = _ref2.isFocused;
@@ -3573,7 +3573,7 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
3573
3573
  stretch: stretch,
3574
3574
  disabled: isLoading ? true : disabled,
3575
3575
  icon: isLoading ? /*#__PURE__*/jsx(LoaderIcon, {}) : icon,
3576
- onPress: function handlePress(e) {
3576
+ onPress: function (e) {
3577
3577
  var callPressAndUpdateLoadingState = /*#__PURE__*/function () {
3578
3578
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
3579
3579
  return _regeneratorRuntime().wrap(function (_context) {
@@ -3902,7 +3902,7 @@ function CloseButton(_ref) {
3902
3902
  onPress = _ref.onPress;
3903
3903
  var onCloseContextCallback = useOnCloseModalBehaviour();
3904
3904
  return /*#__PURE__*/cloneElement(children, {
3905
- onPress: function handleClose() {
3905
+ onPress: function () {
3906
3906
  if (onPress) onPress();
3907
3907
  onCloseContextCallback();
3908
3908
  }
@@ -4052,7 +4052,7 @@ function CardModalBehaviour(_ref) {
4052
4052
  onClose: onClose,
4053
4053
  children: /*#__PURE__*/jsx(CardModalAnimation, _objectSpread(_objectSpread({}, props), {}, {
4054
4054
  visible: visible,
4055
- onExited: function handleExitAnimationDone() {
4055
+ onExited: function () {
4056
4056
  if (onExited) onExited();
4057
4057
  setIsModalBehaviourVisible(false);
4058
4058
  },
@@ -4260,8 +4260,8 @@ function AnimatedChoiceItemView(_ref) {
4260
4260
 
4261
4261
  var useNativeAnimation$3 = function () {
4262
4262
  return {
4263
- onPressIn: function onPressIn() {},
4264
- onPressOut: function onPressOut() {},
4263
+ onPressIn: function () {},
4264
+ onPressOut: function () {},
4265
4265
  backgroundStyles: undefined
4266
4266
  };
4267
4267
  };
@@ -4318,7 +4318,7 @@ function ChoiceItem(_ref) {
4318
4318
  style: style,
4319
4319
  onBlur: onBlur,
4320
4320
  onFocus: onFocus,
4321
- onPress: function handlePress(e) {
4321
+ onPress: function (e) {
4322
4322
  if (onFocus) onFocus(e);
4323
4323
  if (onPress) onPress();
4324
4324
  handleChange();
@@ -4326,7 +4326,7 @@ function ChoiceItem(_ref) {
4326
4326
  },
4327
4327
  onPressIn: onPressIn,
4328
4328
  onPressOut: onPressOut,
4329
- children: function children(_ref2) {
4329
+ children: function (_ref2) {
4330
4330
  var isHovered = _ref2.isHovered,
4331
4331
  isPressed = _ref2.isPressed;
4332
4332
  var textColor = getCurrentTextColor$1({
@@ -4430,7 +4430,7 @@ function Choices(_ref2) {
4430
4430
  type: type,
4431
4431
  disabled: disabled,
4432
4432
  onPress: !isForm ? onPress : undefined,
4433
- onChange: isForm ? function handleChange(newValue) {
4433
+ onChange: isForm ? function (newValue) {
4434
4434
  setCurrentValue(newValue);
4435
4435
  if (onChange) onChange(newValue);
4436
4436
  } : undefined,
@@ -4567,7 +4567,7 @@ function DialogModalBehaviour(_ref) {
4567
4567
  },
4568
4568
  children: /*#__PURE__*/jsx(DialogModalAnimation, _objectSpread(_objectSpread({}, props), {}, {
4569
4569
  visible: visible,
4570
- onExited: function handleExitAnimationDone() {
4570
+ onExited: function () {
4571
4571
  if (onExited) onExited();
4572
4572
  setIsModalBehaviourVisible(false);
4573
4573
  },
@@ -5014,7 +5014,7 @@ function isReactElement(element) {
5014
5014
  return _typeof(element) === 'object' && element !== null && 'type' in element && 'props' in element;
5015
5015
  }
5016
5016
  function Autocomplete(_ref) {
5017
- var _children = _ref.children,
5017
+ var children = _ref.children,
5018
5018
  name = _ref.name,
5019
5019
  disabled = _ref.disabled,
5020
5020
  placeholder = _ref.placeholder,
@@ -5041,7 +5041,7 @@ function Autocomplete(_ref) {
5041
5041
  zIndex = _ref$zIndex === void 0 ? 1000 : _ref$zIndex,
5042
5042
  maxItemContainerHeight = _ref.maxItemContainerHeight,
5043
5043
  props = _objectWithoutProperties(_ref, _excluded$x);
5044
- var childrenArray = Children.toArray(_children);
5044
+ var childrenArray = Children.toArray(children);
5045
5045
  var items = childrenArray.filter(isReactElement).map(function (child) {
5046
5046
  return {
5047
5047
  child: child,
@@ -5052,12 +5052,12 @@ function Autocomplete(_ref) {
5052
5052
  defaultIsOpen: isInitialOpen,
5053
5053
  initialSelectedItem: initialValue,
5054
5054
  initialInputValue: initialValue ? itemToString(initialValue) : undefined,
5055
- itemToString: function handleItemToString(item) {
5055
+ itemToString: function (item) {
5056
5056
  // Prevents returning null values
5057
5057
  if (!itemToString) return '';
5058
5058
  return itemToString(item || undefined);
5059
5059
  },
5060
- stateReducer: function stateReducer(state, changes) {
5060
+ stateReducer: function (state, changes) {
5061
5061
  switch (changes.type) {
5062
5062
  case Downshift.stateChangeTypes.changeInput:
5063
5063
  return _objectSpread(_objectSpread({}, changes), {}, {
@@ -5067,7 +5067,7 @@ function Autocomplete(_ref) {
5067
5067
  return changes;
5068
5068
  }
5069
5069
  },
5070
- onChange: function onChange(selectedItem, stateAndHelpers) {
5070
+ onChange: function (selectedItem, stateAndHelpers) {
5071
5071
  if (_onChange) {
5072
5072
  _onChange(selectedItem, stateAndHelpers);
5073
5073
  }
@@ -5075,7 +5075,7 @@ function Autocomplete(_ref) {
5075
5075
  onSelect: onSelectItem,
5076
5076
  onOuterClick: onOuterPress,
5077
5077
  onInputValueChange: onInputChange,
5078
- children: function children(_ref2) {
5078
+ children: function (_ref2) {
5079
5079
  var getRootProps = _ref2.getRootProps,
5080
5080
  getInputProps = _ref2.getInputProps,
5081
5081
  getMenuProps = _ref2.getMenuProps,
@@ -5127,20 +5127,20 @@ function Autocomplete(_ref) {
5127
5127
  right: right || (canDisplayCollapseButton ? /*#__PURE__*/jsx(InputPressable, _objectSpread(_objectSpread({}, toggleProps), {}, {
5128
5128
  testID: "kitt.Autocomplete.listToggle",
5129
5129
  hitSlop: 40,
5130
- onPress: function handleTogglePress(e) {
5130
+ onPress: function (e) {
5131
5131
  onClickToggle(e);
5132
5132
  },
5133
5133
  children: /*#__PURE__*/jsx(InputIcon, {
5134
5134
  icon: isCurrentlyOpen ? /*#__PURE__*/jsx(CaretUpFillIcon, {}) : /*#__PURE__*/jsx(CaretDownFillIcon, {})
5135
5135
  })
5136
5136
  })) : null),
5137
- onFocus: function onFocus(e) {
5137
+ onFocus: function (e) {
5138
5138
  openMenu();
5139
5139
  /** @ts-expect-error onFocus wants web events */
5140
5140
  if (onSearchInputFocus) onSearchInputFocus(e);
5141
5141
  if (_onFocus) _onFocus(e);
5142
5142
  },
5143
- onBlur: function onBlur(e) {
5143
+ onBlur: function (e) {
5144
5144
  /** @ts-expect-error onBlur wants web events */
5145
5145
  if (onSearchInputBlur) onSearchInputBlur(e);
5146
5146
 
@@ -5176,10 +5176,10 @@ function Autocomplete(_ref) {
5176
5176
  selected: ariaSelected
5177
5177
  },
5178
5178
  disabled: disabled,
5179
- onPress: function onPress(e) {
5179
+ onPress: function (e) {
5180
5180
  if (onClick) onClick(e);
5181
5181
  },
5182
- children: function children(_ref5) {
5182
+ children: function (_ref5) {
5183
5183
  var isHovered = _ref5.isHovered,
5184
5184
  isFocused = _ref5.isFocused,
5185
5185
  isPressed = _ref5.isPressed;
@@ -5269,12 +5269,12 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
5269
5269
  disabled: disabled
5270
5270
  },
5271
5271
  disabled: disabled,
5272
- onPress: function handlePress(e) {
5272
+ onPress: function (e) {
5273
5273
  if (onFocus) onFocus();
5274
5274
  if (onChange) onChange(!checked, e);
5275
5275
  if (onBlur) onBlur();
5276
5276
  },
5277
- children: function children(_ref2) {
5277
+ children: function (_ref2) {
5278
5278
  var isHovered = _ref2.isHovered,
5279
5279
  isPressed = _ref2.isPressed,
5280
5280
  isFocused = _ref2.isFocused;
@@ -6083,10 +6083,10 @@ var GoogleMapsAutocompleteContext = /*#__PURE__*/createContext({
6083
6083
  isLoadingResultDetails: false,
6084
6084
  shouldDisplayEmptyStateWhenNoResults: false
6085
6085
  },
6086
- onInputChange: function onInputChange() {
6086
+ onInputChange: function () {
6087
6087
  return Promise.resolve();
6088
6088
  },
6089
- onSelectItem: function onSelectItem() {}
6089
+ onSelectItem: function () {}
6090
6090
  });
6091
6091
  function GoogleMapsAutocompleteProvider(_ref) {
6092
6092
  var children = _ref.children,
@@ -6339,7 +6339,7 @@ function InputAddress(_ref) {
6339
6339
  return /*#__PURE__*/jsx(Autocomplete, _objectSpread(_objectSpread({}, props), {}, {
6340
6340
  itemToString: itemToString,
6341
6341
  initialValue: formattedInitialValue,
6342
- checkSelectedItem: function checkSelectedItem(selectedItem, item) {
6342
+ checkSelectedItem: function (selectedItem, item) {
6343
6343
  return (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.place_id) === item.place_id;
6344
6344
  },
6345
6345
  right: state.isLoadingSearch || state.isLoadingResultDetails ? /*#__PURE__*/jsx(Icon, {
@@ -6348,10 +6348,10 @@ function InputAddress(_ref) {
6348
6348
  }) : undefined,
6349
6349
  errorElement: state.hasSearchError || state.hasSelectResultError ? errorElement : null,
6350
6350
  emptyResultsElement: state.items.length === 0 ? emptyResultsElement : null,
6351
- onInputChange: function onInputChange(v) {
6351
+ onInputChange: function (v) {
6352
6352
  _onInputChange(v);
6353
6353
  },
6354
- onChange: function onChange(v) {
6354
+ onChange: function (v) {
6355
6355
  onSelectItem(v, _onChange);
6356
6356
  },
6357
6357
  children: state.items.map(function (item) {
@@ -6433,7 +6433,7 @@ var InputNumber = /*#__PURE__*/forwardRef(function (_ref, ref) {
6433
6433
  ref: ref
6434
6434
  }, props), {}, {
6435
6435
  inputMode: "numeric",
6436
- onChange: function handleChange(event) {
6436
+ onChange: function (event) {
6437
6437
  if (!onChange) return;
6438
6438
  var value = parseFloat(event.nativeEvent.text);
6439
6439
 
@@ -6465,7 +6465,7 @@ var InputPassword = /*#__PURE__*/forwardRef(function (_ref, ref) {
6465
6465
  testID: "kitt.InputPassword.passwordToggle",
6466
6466
  hitSlop: 20,
6467
6467
  accessibilityRole: "button",
6468
- onPress: function onPress() {
6468
+ onPress: function () {
6469
6469
  return setIsVisible(function (prev) {
6470
6470
  return !prev;
6471
6471
  });
@@ -6500,7 +6500,7 @@ var InputPhone = /*#__PURE__*/forwardRef(function (_ref, ref) {
6500
6500
  enterKeyHint: currentEnterKeyHint,
6501
6501
  autoComplete: autoComplete,
6502
6502
  textContentType: "telephoneNumber",
6503
- onChange: function handleChange(event) {
6503
+ onChange: function (event) {
6504
6504
  var number = parseNumber(event.nativeEvent.text);
6505
6505
 
6506
6506
  // When intl phone number is valid :
@@ -6692,14 +6692,14 @@ function Radio(_ref, ref) {
6692
6692
  focusable: checked && !disabled,
6693
6693
  flexDirection: "row",
6694
6694
  alignItems: "center",
6695
- onPress: function handlePress(event) {
6695
+ onPress: function (event) {
6696
6696
  if (onFocus) onFocus();
6697
6697
  if (onChange) onChange(value, event);
6698
6698
  if (onBlur) onBlur();
6699
6699
  },
6700
6700
  onFocus: onFocus,
6701
6701
  onBlur: onBlur,
6702
- children: function children(_ref2) {
6702
+ children: function (_ref2) {
6703
6703
  var isHovered = _ref2.isHovered,
6704
6704
  isPressed = _ref2.isPressed,
6705
6705
  isFocused = _ref2.isFocused;
@@ -6875,7 +6875,7 @@ function RadioButton(_ref) {
6875
6875
  flexShrink: createResponsiveStyleFromProp(stretch, 1, undefined),
6876
6876
  flexBasis: createResponsiveStyleFromProp(stretch, 0),
6877
6877
  disabled: disabled,
6878
- onPress: function handlePress(e) {
6878
+ onPress: function (e) {
6879
6879
  if (onFocus) onFocus(e);
6880
6880
  if (onChange) onChange(value);
6881
6881
  if (onBlur) onBlur(e);
@@ -6884,7 +6884,7 @@ function RadioButton(_ref) {
6884
6884
  onPressOut: onPressOut,
6885
6885
  onFocus: onFocus,
6886
6886
  onBlur: onBlur,
6887
- children: function children(_ref2) {
6887
+ children: function (_ref2) {
6888
6888
  var isHovered = _ref2.isHovered,
6889
6889
  isPressed = _ref2.isPressed,
6890
6890
  isFocused = _ref2.isFocused;
@@ -7003,7 +7003,7 @@ var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
7003
7003
  textAlignVertical: "top",
7004
7004
  minHeight: "kitt.forms.textArea.minHeight"
7005
7005
  }, props), {}, {
7006
- onChange: function handleOnChange(e) {
7006
+ onChange: function (e) {
7007
7007
  if (!limit || e.nativeEvent.text.length <= limit) {
7008
7008
  var _props$onChange;
7009
7009
  (_props$onChange = props.onChange) === null || _props$onChange === void 0 || _props$onChange.call(props, e);
@@ -7166,10 +7166,10 @@ function Toggle(_ref) {
7166
7166
  children: [/*#__PURE__*/jsx(Pressable, {
7167
7167
  accessibilityRole: "togglebutton",
7168
7168
  disabled: isDisabled,
7169
- onPress: function handlePress() {
7169
+ onPress: function () {
7170
7170
  onChange(!value);
7171
7171
  },
7172
- children: function children(_ref2) {
7172
+ children: function (_ref2) {
7173
7173
  var isHovered = _ref2.isHovered,
7174
7174
  isPressed = _ref2.isPressed,
7175
7175
  isFocused = _ref2.isFocused;
@@ -7334,7 +7334,7 @@ function FullscreenModalBehaviour(_ref) {
7334
7334
  onClose: onClose,
7335
7335
  children: /*#__PURE__*/jsx(FullscreenModalAnimation, _objectSpread(_objectSpread({}, props), {}, {
7336
7336
  visible: visible,
7337
- onExited: function handleExitAnimationDone() {
7337
+ onExited: function () {
7338
7338
  if (onExited) onExited();
7339
7339
  setIsModalBehaviourVisible(false);
7340
7340
  },
@@ -7629,13 +7629,13 @@ function Highlight(_ref) {
7629
7629
  });
7630
7630
  }
7631
7631
  return /*#__PURE__*/jsx(Pressable, {
7632
- onPress: function handlePress() {
7632
+ onPress: function () {
7633
7633
  setIsExpanded(!isExpanded);
7634
7634
  setIsInitialRender(false);
7635
7635
  },
7636
7636
  onPressIn: onPressIn,
7637
7637
  onPressOut: onPressOut,
7638
- children: function children(_ref2) {
7638
+ children: function (_ref2) {
7639
7639
  var isHovered = _ref2.isHovered;
7640
7640
  return /*#__PURE__*/jsxs(AnimatedContainer, {
7641
7641
  isHovered: isHovered,
@@ -8110,7 +8110,7 @@ function MapMarker(_ref2) {
8110
8110
  return /*#__PURE__*/jsx(Pressable$1, {
8111
8111
  testID: testID,
8112
8112
  onPress: onPress,
8113
- children: function children(_ref3) {
8113
+ children: function (_ref3) {
8114
8114
  var isHovered = _ref3.isHovered;
8115
8115
  return /*#__PURE__*/jsx(StaticMapMarker$1, _objectSpread(_objectSpread({}, props), {}, {
8116
8116
  isHovered: isHovered
@@ -10674,19 +10674,19 @@ function NavigationModalBehaviour(_ref) {
10674
10674
  children: /*#__PURE__*/jsx(AnimationComponent, _objectSpread(_objectSpread({}, props), {}, {
10675
10675
  appear: shouldAppear,
10676
10676
  visible: visible,
10677
- onEnter: function handleEnter() {
10677
+ onEnter: function () {
10678
10678
  if (onEnter) onEnter();
10679
10679
 
10680
10680
  // Once a children as been displayed, we force appear to false in order to avoid replaying animation on breakpoint change
10681
10681
  setShouldAppear(false);
10682
10682
  },
10683
- onExit: function handleExit() {
10683
+ onExit: function () {
10684
10684
  if (onExit) onExit();
10685
10685
 
10686
10686
  // Reset appear value to its original value for future modal display
10687
10687
  setShouldAppear(appear);
10688
10688
  },
10689
- onExited: function handleExitAnimationDone() {
10689
+ onExited: function () {
10690
10690
  if (onExited) onExited();
10691
10691
  setIsModalBehaviourVisible(false);
10692
10692
  },
@@ -10952,18 +10952,18 @@ function Picker(_ref) {
10952
10952
  items: items,
10953
10953
  initialSelectedItem: initialValueIndex > -1 ? items[initialValueIndex] : undefined,
10954
10954
  initialIsOpen: isInitialOpen,
10955
- stateReducer: function stateReducer(state, actionAndChanges) {
10955
+ stateReducer: function (state, actionAndChanges) {
10956
10956
  return webUseSelectReducer(state, actionAndChanges, {
10957
10957
  keepOpenOnChange: keepOpenOnChange
10958
10958
  });
10959
10959
  },
10960
10960
  selectedItem: syncStateWithSourceValue ? sourceValue : undefined,
10961
- onIsOpenChange: function onIsOpenChange(changes) {
10961
+ onIsOpenChange: function (changes) {
10962
10962
  if (changes.isOpen === false) {
10963
10963
  if (onClose) onClose();
10964
10964
  }
10965
10965
  },
10966
- onSelectedItemChange: function onSelectedItemChange(changes) {
10966
+ onSelectedItemChange: function (changes) {
10967
10967
  if (!onChange) return;
10968
10968
  if (changes.selectedItem === null) {
10969
10969
  onChange(undefined);
@@ -11182,7 +11182,7 @@ function Skeleton(_ref) {
11182
11182
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
11183
11183
  overflow: "hidden",
11184
11184
  style: style,
11185
- onLayout: function onLayout(_ref2) {
11185
+ onLayout: function (_ref2) {
11186
11186
  var nativeEvent = _ref2.nativeEvent;
11187
11187
  return setWidth(nativeEvent.layout.width);
11188
11188
  },
@@ -11408,7 +11408,7 @@ function StaticMap(_ref) {
11408
11408
  position: "relative",
11409
11409
  maxWidth: mapBoxMaxPictureWidth,
11410
11410
  height: height,
11411
- onLayout: function handleParentLayout(event) {
11411
+ onLayout: function (event) {
11412
11412
  var nativeEvent = event.nativeEvent;
11413
11413
  var rangedMapWidth = getPictureWidth(nativeEvent.layout.width);
11414
11414
  setCurrentWidth(rangedMapWidth);
@@ -11420,11 +11420,11 @@ function StaticMap(_ref) {
11420
11420
  width: currentWidth,
11421
11421
  height: height,
11422
11422
  alt: alt,
11423
- onLoadEnd: function handleImageLoadEnd() {
11423
+ onLoadEnd: function () {
11424
11424
  setIsLoading(false);
11425
11425
  if (onLoaded) onLoaded();
11426
11426
  },
11427
- onError: function handleError() {
11427
+ onError: function () {
11428
11428
  setHasError(true);
11429
11429
  if (onError) onError();
11430
11430
  }
@@ -11449,7 +11449,7 @@ function StaticMap(_ref) {
11449
11449
  width: "100%",
11450
11450
  height: "100%",
11451
11451
  children: /*#__PURE__*/jsx(StaticMapError, {
11452
- onReload: function handleReload() {
11452
+ onReload: function () {
11453
11453
  setHasError(false);
11454
11454
  setIsLoading(true);
11455
11455
  setCurrentMapKey(function (prev) {
@@ -11691,7 +11691,7 @@ function StoryContainer(_ref) {
11691
11691
  var StoryDecorator = makeDecorator({
11692
11692
  name: 'StoryDecorator',
11693
11693
  parameterName: 'storyDecorator',
11694
- wrapper: function wrapper(storyFn, context) {
11694
+ wrapper: function (storyFn, context) {
11695
11695
  var story = storyFn(context);
11696
11696
  if (context.parameters.disableStoryContainer) {
11697
11697
  return story;
@@ -11872,7 +11872,7 @@ function TabBar(_ref) {
11872
11872
  return /*#__PURE__*/jsx(View, {
11873
11873
  children: /*#__PURE__*/cloneElement(child, {
11874
11874
  color: color,
11875
- onPress: function onPress(event) {
11875
+ onPress: function (event) {
11876
11876
  var _child$props$onPress, _child$props;
11877
11877
  onChangeTab({
11878
11878
  tab: tabs[index],
@@ -12050,7 +12050,7 @@ var TimePicker = /*#__PURE__*/forwardRef(function (_ref2, ref) {
12050
12050
  isFocusedInternal: isFocusedInternal,
12051
12051
  isPressedInternal: isPressedInternal
12052
12052
  }),
12053
- onChange: function handleInputChange(event) {
12053
+ onChange: function (event) {
12054
12054
  var currentValue = event.nativeEvent.text;
12055
12055
  if (currentValue.length === 0) {
12056
12056
  setInputValue(currentValue);
@@ -12100,7 +12100,7 @@ var TimePicker = /*#__PURE__*/forwardRef(function (_ref2, ref) {
12100
12100
  setInputValue(sanitizedValue);
12101
12101
  handleChange(sanitizedValue);
12102
12102
  },
12103
- onBlur: function handleBlur() {
12103
+ onBlur: function () {
12104
12104
  if (inputValue.indexOf(':') === 1) {
12105
12105
  setInputValue("0".concat(inputValue));
12106
12106
  }
@@ -12655,7 +12655,7 @@ function KittThemeProvider(_ref) {
12655
12655
  var KittThemeDecorator = makeDecorator({
12656
12656
  name: 'ThemeDecorator',
12657
12657
  parameterName: 'theme',
12658
- wrapper: function wrapper(storyFn, context, _ref2) {
12658
+ wrapper: function (storyFn, context, _ref2) {
12659
12659
  var _parameters$isSSR;
12660
12660
  var _ref2$options = _ref2.options,
12661
12661
  options = _ref2$options === void 0 ? {} : _ref2$options,