@ornikar/kitt-universal 27.0.0 → 27.0.1-canary.01819bc93ab006bfbaa4e1335cd8afa2380068a0.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.
@@ -2460,7 +2460,7 @@ var breakpoints = {
2460
2460
  // TODO : seperate brand color usage definition from proper theme definition and add typings - https://ornikar.atlassian.net/browse/CME-156
2461
2461
  var theme = {
2462
2462
  spacing: spacing,
2463
- getSpacing: function getSpacing(multiplier) {
2463
+ getSpacing: function (multiplier) {
2464
2464
  return spacing * multiplier;
2465
2465
  },
2466
2466
  colors: colors,
@@ -2647,7 +2647,7 @@ var ActionCardPressable = /*#__PURE__*/forwardRef(function (_ref2, ref) {
2647
2647
  onPress: onPress,
2648
2648
  onHoverIn: onHoverIn,
2649
2649
  onHoverOut: onHoverOut,
2650
- children: function children(_ref3) {
2650
+ children: function (_ref3) {
2651
2651
  var isHovered = _ref3.isHovered,
2652
2652
  isPressed = _ref3.isPressed,
2653
2653
  isFocused = _ref3.isFocused;
@@ -3557,7 +3557,7 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
3557
3557
  onHoverOut: onHoverOut,
3558
3558
  onFocus: onFocus,
3559
3559
  onBlur: onBlur,
3560
- children: function children(_ref2) {
3560
+ children: function (_ref2) {
3561
3561
  var isHovered = _ref2.isHovered,
3562
3562
  isPressed = _ref2.isPressed,
3563
3563
  isFocused = _ref2.isFocused;
@@ -3653,7 +3653,7 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
3653
3653
  stretch: stretch,
3654
3654
  disabled: isLoading ? true : disabled,
3655
3655
  icon: isLoading ? /*#__PURE__*/jsx(LoaderIcon, {}) : icon,
3656
- onPress: function handlePress(e) {
3656
+ onPress: function (e) {
3657
3657
  var callPressAndUpdateLoadingState = /*#__PURE__*/function () {
3658
3658
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
3659
3659
  return _regeneratorRuntime().wrap(function (_context) {
@@ -3982,7 +3982,7 @@ function CloseButton(_ref) {
3982
3982
  onPress = _ref.onPress;
3983
3983
  var onCloseContextCallback = useOnCloseModalBehaviour();
3984
3984
  return /*#__PURE__*/cloneElement(children, {
3985
- onPress: function handleClose() {
3985
+ onPress: function () {
3986
3986
  if (onPress) onPress();
3987
3987
  onCloseContextCallback();
3988
3988
  }
@@ -4132,7 +4132,7 @@ function CardModalBehaviour(_ref) {
4132
4132
  onClose: onClose,
4133
4133
  children: /*#__PURE__*/jsx(CardModalAnimation, _objectSpread(_objectSpread({}, props), {}, {
4134
4134
  visible: visible,
4135
- onExited: function handleExitAnimationDone() {
4135
+ onExited: function () {
4136
4136
  if (onExited) onExited();
4137
4137
  setIsModalBehaviourVisible(false);
4138
4138
  },
@@ -4331,8 +4331,8 @@ function AnimatedChoiceItemView(_ref) {
4331
4331
 
4332
4332
  var useNativeAnimation$4 = function () {
4333
4333
  return {
4334
- onPressIn: function onPressIn() {},
4335
- onPressOut: function onPressOut() {},
4334
+ onPressIn: function () {},
4335
+ onPressOut: function () {},
4336
4336
  backgroundStyles: undefined
4337
4337
  };
4338
4338
  };
@@ -4389,7 +4389,7 @@ function ChoiceItem(_ref) {
4389
4389
  style: style,
4390
4390
  onBlur: onBlur,
4391
4391
  onFocus: onFocus,
4392
- onPress: function handlePress(e) {
4392
+ onPress: function (e) {
4393
4393
  if (onFocus) onFocus(e);
4394
4394
  if (onPress) onPress();
4395
4395
  handleChange();
@@ -4397,7 +4397,7 @@ function ChoiceItem(_ref) {
4397
4397
  },
4398
4398
  onPressIn: onPressIn,
4399
4399
  onPressOut: onPressOut,
4400
- children: function children(_ref2) {
4400
+ children: function (_ref2) {
4401
4401
  var isHovered = _ref2.isHovered,
4402
4402
  isPressed = _ref2.isPressed;
4403
4403
  return /*#__PURE__*/jsxs(AnimatedChoiceItemView, {
@@ -4493,7 +4493,7 @@ function Choices(_ref2) {
4493
4493
  disabled: disabled,
4494
4494
  variant: variant,
4495
4495
  onPress: !isForm ? onPress : undefined,
4496
- onChange: isForm ? function handleChange(newValue) {
4496
+ onChange: isForm ? function (newValue) {
4497
4497
  setCurrentValue(newValue);
4498
4498
  if (onChange) onChange(newValue);
4499
4499
  } : undefined,
@@ -4630,7 +4630,7 @@ function DialogModalBehaviour(_ref) {
4630
4630
  },
4631
4631
  children: /*#__PURE__*/jsx(DialogModalAnimation, _objectSpread(_objectSpread({}, props), {}, {
4632
4632
  visible: visible,
4633
- onExited: function handleExitAnimationDone() {
4633
+ onExited: function () {
4634
4634
  if (onExited) onExited();
4635
4635
  setIsModalBehaviourVisible(false);
4636
4636
  },
@@ -5077,7 +5077,7 @@ function isReactElement(element) {
5077
5077
  return _typeof(element) === 'object' && element !== null && 'type' in element && 'props' in element;
5078
5078
  }
5079
5079
  function Autocomplete(_ref) {
5080
- var _children = _ref.children,
5080
+ var children = _ref.children,
5081
5081
  name = _ref.name,
5082
5082
  disabled = _ref.disabled,
5083
5083
  placeholder = _ref.placeholder,
@@ -5104,7 +5104,7 @@ function Autocomplete(_ref) {
5104
5104
  zIndex = _ref$zIndex === void 0 ? 1000 : _ref$zIndex,
5105
5105
  maxItemContainerHeight = _ref.maxItemContainerHeight,
5106
5106
  props = _objectWithoutProperties(_ref, _excluded$x);
5107
- var childrenArray = Children.toArray(_children);
5107
+ var childrenArray = Children.toArray(children);
5108
5108
  var items = childrenArray.filter(isReactElement).map(function (child) {
5109
5109
  return {
5110
5110
  child: child,
@@ -5115,12 +5115,12 @@ function Autocomplete(_ref) {
5115
5115
  defaultIsOpen: isInitialOpen,
5116
5116
  initialSelectedItem: initialValue,
5117
5117
  initialInputValue: initialValue ? itemToString(initialValue) : undefined,
5118
- itemToString: function handleItemToString(item) {
5118
+ itemToString: function (item) {
5119
5119
  // Prevents returning null values
5120
5120
  if (!itemToString) return '';
5121
5121
  return itemToString(item || undefined);
5122
5122
  },
5123
- stateReducer: function stateReducer(state, changes) {
5123
+ stateReducer: function (state, changes) {
5124
5124
  switch (changes.type) {
5125
5125
  case Downshift.stateChangeTypes.changeInput:
5126
5126
  return _objectSpread(_objectSpread({}, changes), {}, {
@@ -5130,7 +5130,7 @@ function Autocomplete(_ref) {
5130
5130
  return changes;
5131
5131
  }
5132
5132
  },
5133
- onChange: function onChange(selectedItem, stateAndHelpers) {
5133
+ onChange: function (selectedItem, stateAndHelpers) {
5134
5134
  if (_onChange) {
5135
5135
  _onChange(selectedItem, stateAndHelpers);
5136
5136
  }
@@ -5138,7 +5138,7 @@ function Autocomplete(_ref) {
5138
5138
  onSelect: onSelectItem,
5139
5139
  onOuterClick: onOuterPress,
5140
5140
  onInputValueChange: onInputChange,
5141
- children: function children(_ref2) {
5141
+ children: function (_ref2) {
5142
5142
  var getRootProps = _ref2.getRootProps,
5143
5143
  getInputProps = _ref2.getInputProps,
5144
5144
  getMenuProps = _ref2.getMenuProps,
@@ -5190,20 +5190,20 @@ function Autocomplete(_ref) {
5190
5190
  right: right || (canDisplayCollapseButton ? /*#__PURE__*/jsx(InputPressable, _objectSpread(_objectSpread({}, toggleProps), {}, {
5191
5191
  testID: "kitt.Autocomplete.listToggle",
5192
5192
  hitSlop: 40,
5193
- onPress: function handleTogglePress(e) {
5193
+ onPress: function (e) {
5194
5194
  onClickToggle(e);
5195
5195
  },
5196
5196
  children: /*#__PURE__*/jsx(InputIcon, {
5197
5197
  icon: isCurrentlyOpen ? /*#__PURE__*/jsx(CaretUpFillIcon, {}) : /*#__PURE__*/jsx(CaretDownFillIcon, {})
5198
5198
  })
5199
5199
  })) : null),
5200
- onFocus: function onFocus(e) {
5200
+ onFocus: function (e) {
5201
5201
  openMenu();
5202
5202
  /** @ts-expect-error onFocus wants web events */
5203
5203
  if (onSearchInputFocus) onSearchInputFocus(e);
5204
5204
  if (_onFocus) _onFocus(e);
5205
5205
  },
5206
- onBlur: function onBlur(e) {
5206
+ onBlur: function (e) {
5207
5207
  /** @ts-expect-error onBlur wants web events */
5208
5208
  if (onSearchInputBlur) onSearchInputBlur(e);
5209
5209
 
@@ -5239,10 +5239,10 @@ function Autocomplete(_ref) {
5239
5239
  selected: ariaSelected
5240
5240
  },
5241
5241
  disabled: disabled,
5242
- onPress: function onPress(e) {
5242
+ onPress: function (e) {
5243
5243
  if (onClick) onClick(e);
5244
5244
  },
5245
- children: function children(_ref5) {
5245
+ children: function (_ref5) {
5246
5246
  var isHovered = _ref5.isHovered,
5247
5247
  isFocused = _ref5.isFocused,
5248
5248
  isPressed = _ref5.isPressed;
@@ -5332,12 +5332,12 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
5332
5332
  disabled: disabled
5333
5333
  },
5334
5334
  disabled: disabled,
5335
- onPress: function handlePress(e) {
5335
+ onPress: function (e) {
5336
5336
  if (onFocus) onFocus();
5337
5337
  if (onChange) onChange(!checked, e);
5338
5338
  if (onBlur) onBlur();
5339
5339
  },
5340
- children: function children(_ref2) {
5340
+ children: function (_ref2) {
5341
5341
  var isHovered = _ref2.isHovered,
5342
5342
  isPressed = _ref2.isPressed,
5343
5343
  isFocused = _ref2.isFocused;
@@ -6146,10 +6146,10 @@ var GoogleMapsAutocompleteContext = /*#__PURE__*/createContext({
6146
6146
  isLoadingResultDetails: false,
6147
6147
  shouldDisplayEmptyStateWhenNoResults: false
6148
6148
  },
6149
- onInputChange: function onInputChange() {
6149
+ onInputChange: function () {
6150
6150
  return Promise.resolve();
6151
6151
  },
6152
- onSelectItem: function onSelectItem() {}
6152
+ onSelectItem: function () {}
6153
6153
  });
6154
6154
  function GoogleMapsAutocompleteProvider(_ref) {
6155
6155
  var children = _ref.children,
@@ -6402,7 +6402,7 @@ function InputAddress(_ref) {
6402
6402
  return /*#__PURE__*/jsx(Autocomplete, _objectSpread(_objectSpread({}, props), {}, {
6403
6403
  itemToString: itemToString,
6404
6404
  initialValue: formattedInitialValue,
6405
- checkSelectedItem: function checkSelectedItem(selectedItem, item) {
6405
+ checkSelectedItem: function (selectedItem, item) {
6406
6406
  return (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.place_id) === item.place_id;
6407
6407
  },
6408
6408
  right: state.isLoadingSearch || state.isLoadingResultDetails ? /*#__PURE__*/jsx(Icon, {
@@ -6411,10 +6411,10 @@ function InputAddress(_ref) {
6411
6411
  }) : undefined,
6412
6412
  errorElement: state.hasSearchError || state.hasSelectResultError ? errorElement : null,
6413
6413
  emptyResultsElement: state.items.length === 0 ? emptyResultsElement : null,
6414
- onInputChange: function onInputChange(v) {
6414
+ onInputChange: function (v) {
6415
6415
  _onInputChange(v);
6416
6416
  },
6417
- onChange: function onChange(v) {
6417
+ onChange: function (v) {
6418
6418
  onSelectItem(v, _onChange);
6419
6419
  },
6420
6420
  children: state.items.map(function (item) {
@@ -6496,7 +6496,7 @@ var InputNumber = /*#__PURE__*/forwardRef(function (_ref, ref) {
6496
6496
  ref: ref
6497
6497
  }, props), {}, {
6498
6498
  inputMode: "numeric",
6499
- onChange: function handleChange(event) {
6499
+ onChange: function (event) {
6500
6500
  if (!onChange) return;
6501
6501
  var value = parseFloat(event.nativeEvent.text);
6502
6502
 
@@ -6528,7 +6528,7 @@ var InputPassword = /*#__PURE__*/forwardRef(function (_ref, ref) {
6528
6528
  testID: "kitt.InputPassword.passwordToggle",
6529
6529
  hitSlop: 20,
6530
6530
  accessibilityRole: "button",
6531
- onPress: function onPress() {
6531
+ onPress: function () {
6532
6532
  return setIsVisible(function (prev) {
6533
6533
  return !prev;
6534
6534
  });
@@ -6563,7 +6563,7 @@ var InputPhone = /*#__PURE__*/forwardRef(function (_ref, ref) {
6563
6563
  enterKeyHint: currentEnterKeyHint,
6564
6564
  autoComplete: autoComplete,
6565
6565
  textContentType: "telephoneNumber",
6566
- onChange: function handleChange(event) {
6566
+ onChange: function (event) {
6567
6567
  var number = parseNumber(event.nativeEvent.text);
6568
6568
 
6569
6569
  // When intl phone number is valid :
@@ -6755,14 +6755,14 @@ function Radio(_ref, ref) {
6755
6755
  focusable: checked && !disabled,
6756
6756
  flexDirection: "row",
6757
6757
  alignItems: "center",
6758
- onPress: function handlePress(event) {
6758
+ onPress: function (event) {
6759
6759
  if (onFocus) onFocus();
6760
6760
  if (onChange) onChange(value, event);
6761
6761
  if (onBlur) onBlur();
6762
6762
  },
6763
6763
  onFocus: onFocus,
6764
6764
  onBlur: onBlur,
6765
- children: function children(_ref2) {
6765
+ children: function (_ref2) {
6766
6766
  var isHovered = _ref2.isHovered,
6767
6767
  isPressed = _ref2.isPressed,
6768
6768
  isFocused = _ref2.isFocused;
@@ -6938,7 +6938,7 @@ function RadioButton(_ref) {
6938
6938
  flexShrink: createResponsiveStyleFromProp(stretch, 1, undefined),
6939
6939
  flexBasis: createResponsiveStyleFromProp(stretch, 0),
6940
6940
  disabled: disabled,
6941
- onPress: function handlePress(e) {
6941
+ onPress: function (e) {
6942
6942
  if (onFocus) onFocus(e);
6943
6943
  if (onChange) onChange(value);
6944
6944
  if (onBlur) onBlur(e);
@@ -6947,7 +6947,7 @@ function RadioButton(_ref) {
6947
6947
  onPressOut: onPressOut,
6948
6948
  onFocus: onFocus,
6949
6949
  onBlur: onBlur,
6950
- children: function children(_ref2) {
6950
+ children: function (_ref2) {
6951
6951
  var isHovered = _ref2.isHovered,
6952
6952
  isPressed = _ref2.isPressed,
6953
6953
  isFocused = _ref2.isFocused;
@@ -7066,7 +7066,7 @@ var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
7066
7066
  textAlignVertical: "top",
7067
7067
  minHeight: "kitt.forms.textArea.minHeight"
7068
7068
  }, props), {}, {
7069
- onChange: function handleOnChange(e) {
7069
+ onChange: function (e) {
7070
7070
  if (!limit || e.nativeEvent.text.length <= limit) {
7071
7071
  var _props$onChange;
7072
7072
  (_props$onChange = props.onChange) === null || _props$onChange === void 0 || _props$onChange.call(props, e);
@@ -7229,10 +7229,10 @@ function Toggle(_ref) {
7229
7229
  children: [/*#__PURE__*/jsx(Pressable, {
7230
7230
  accessibilityRole: "togglebutton",
7231
7231
  disabled: isDisabled,
7232
- onPress: function handlePress() {
7232
+ onPress: function () {
7233
7233
  onChange(!value);
7234
7234
  },
7235
- children: function children(_ref2) {
7235
+ children: function (_ref2) {
7236
7236
  var isHovered = _ref2.isHovered,
7237
7237
  isPressed = _ref2.isPressed,
7238
7238
  isFocused = _ref2.isFocused;
@@ -7397,7 +7397,7 @@ function FullscreenModalBehaviour(_ref) {
7397
7397
  onClose: onClose,
7398
7398
  children: /*#__PURE__*/jsx(FullscreenModalAnimation, _objectSpread(_objectSpread({}, props), {}, {
7399
7399
  visible: visible,
7400
- onExited: function handleExitAnimationDone() {
7400
+ onExited: function () {
7401
7401
  if (onExited) onExited();
7402
7402
  setIsModalBehaviourVisible(false);
7403
7403
  },
@@ -7692,13 +7692,13 @@ function Highlight(_ref) {
7692
7692
  });
7693
7693
  }
7694
7694
  return /*#__PURE__*/jsx(Pressable, {
7695
- onPress: function handlePress() {
7695
+ onPress: function () {
7696
7696
  setIsExpanded(!isExpanded);
7697
7697
  setIsInitialRender(false);
7698
7698
  },
7699
7699
  onPressIn: onPressIn,
7700
7700
  onPressOut: onPressOut,
7701
- children: function children(_ref2) {
7701
+ children: function (_ref2) {
7702
7702
  var isHovered = _ref2.isHovered;
7703
7703
  return /*#__PURE__*/jsxs(AnimatedContainer, {
7704
7704
  isHovered: isHovered,
@@ -7861,8 +7861,8 @@ function useNativeAnimation$1() {
7861
7861
  return {
7862
7862
  opacityStyles: undefined,
7863
7863
  scaleStyles: undefined,
7864
- onPressIn: function onPressIn() {},
7865
- onPressOut: function onPressOut() {}
7864
+ onPressIn: function () {},
7865
+ onPressOut: function () {}
7866
7866
  };
7867
7867
  }
7868
7868
 
@@ -7936,7 +7936,7 @@ function IconButton(_ref) {
7936
7936
  onPress: onPress,
7937
7937
  onPressIn: onPressIn,
7938
7938
  onPressOut: onPressOut,
7939
- children: function children(_ref2) {
7939
+ children: function (_ref2) {
7940
7940
  var isHovered = _ref2.isHovered,
7941
7941
  isPressed = _ref2.isPressed,
7942
7942
  isFocused = _ref2.isFocused;
@@ -8348,7 +8348,7 @@ function MapMarker(_ref2) {
8348
8348
  return /*#__PURE__*/jsx(Pressable$1, {
8349
8349
  testID: testID,
8350
8350
  onPress: onPress,
8351
- children: function children(_ref3) {
8351
+ children: function (_ref3) {
8352
8352
  var isHovered = _ref3.isHovered;
8353
8353
  return /*#__PURE__*/jsx(StaticMapMarker$1, _objectSpread(_objectSpread({}, props), {}, {
8354
8354
  isHovered: isHovered
@@ -10928,19 +10928,19 @@ function NavigationModalBehaviour(_ref) {
10928
10928
  children: /*#__PURE__*/jsx(AnimationComponent, _objectSpread(_objectSpread({}, props), {}, {
10929
10929
  appear: shouldAppear,
10930
10930
  visible: visible,
10931
- onEnter: function handleEnter() {
10931
+ onEnter: function () {
10932
10932
  if (onEnter) onEnter();
10933
10933
 
10934
10934
  // Once a children as been displayed, we force appear to false in order to avoid replaying animation on breakpoint change
10935
10935
  setShouldAppear(false);
10936
10936
  },
10937
- onExit: function handleExit() {
10937
+ onExit: function () {
10938
10938
  if (onExit) onExit();
10939
10939
 
10940
10940
  // Reset appear value to its original value for future modal display
10941
10941
  setShouldAppear(appear);
10942
10942
  },
10943
- onExited: function handleExitAnimationDone() {
10943
+ onExited: function () {
10944
10944
  if (onExited) onExited();
10945
10945
  setIsModalBehaviourVisible(false);
10946
10946
  },
@@ -11206,18 +11206,18 @@ function Picker(_ref) {
11206
11206
  items: items,
11207
11207
  initialSelectedItem: initialValueIndex > -1 ? items[initialValueIndex] : undefined,
11208
11208
  initialIsOpen: isInitialOpen,
11209
- stateReducer: function stateReducer(state, actionAndChanges) {
11209
+ stateReducer: function (state, actionAndChanges) {
11210
11210
  return webUseSelectReducer(state, actionAndChanges, {
11211
11211
  keepOpenOnChange: keepOpenOnChange
11212
11212
  });
11213
11213
  },
11214
11214
  selectedItem: syncStateWithSourceValue ? sourceValue : undefined,
11215
- onIsOpenChange: function onIsOpenChange(changes) {
11215
+ onIsOpenChange: function (changes) {
11216
11216
  if (changes.isOpen === false) {
11217
11217
  if (onClose) onClose();
11218
11218
  }
11219
11219
  },
11220
- onSelectedItemChange: function onSelectedItemChange(changes) {
11220
+ onSelectedItemChange: function (changes) {
11221
11221
  if (!onChange) return;
11222
11222
  if (changes.selectedItem === null) {
11223
11223
  onChange(undefined);
@@ -11436,7 +11436,7 @@ function Skeleton(_ref) {
11436
11436
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
11437
11437
  overflow: "hidden",
11438
11438
  style: style,
11439
- onLayout: function onLayout(_ref2) {
11439
+ onLayout: function (_ref2) {
11440
11440
  var nativeEvent = _ref2.nativeEvent;
11441
11441
  return setWidth(nativeEvent.layout.width);
11442
11442
  },
@@ -11662,7 +11662,7 @@ function StaticMap(_ref) {
11662
11662
  position: "relative",
11663
11663
  maxWidth: mapBoxMaxPictureWidth,
11664
11664
  height: height,
11665
- onLayout: function handleParentLayout(event) {
11665
+ onLayout: function (event) {
11666
11666
  var nativeEvent = event.nativeEvent;
11667
11667
  var rangedMapWidth = getPictureWidth(nativeEvent.layout.width);
11668
11668
  setCurrentWidth(rangedMapWidth);
@@ -11674,11 +11674,11 @@ function StaticMap(_ref) {
11674
11674
  width: currentWidth,
11675
11675
  height: height,
11676
11676
  alt: alt,
11677
- onLoadEnd: function handleImageLoadEnd() {
11677
+ onLoadEnd: function () {
11678
11678
  setIsLoading(false);
11679
11679
  if (onLoaded) onLoaded();
11680
11680
  },
11681
- onError: function handleError() {
11681
+ onError: function () {
11682
11682
  setHasError(true);
11683
11683
  if (onError) onError();
11684
11684
  }
@@ -11703,7 +11703,7 @@ function StaticMap(_ref) {
11703
11703
  width: "100%",
11704
11704
  height: "100%",
11705
11705
  children: /*#__PURE__*/jsx(StaticMapError, {
11706
- onReload: function handleReload() {
11706
+ onReload: function () {
11707
11707
  setHasError(false);
11708
11708
  setIsLoading(true);
11709
11709
  setCurrentMapKey(function (prev) {
@@ -11945,7 +11945,7 @@ function StoryContainer(_ref) {
11945
11945
  var StoryDecorator = makeDecorator({
11946
11946
  name: 'StoryDecorator',
11947
11947
  parameterName: 'storyDecorator',
11948
- wrapper: function wrapper(storyFn, context) {
11948
+ wrapper: function (storyFn, context) {
11949
11949
  var story = storyFn(context);
11950
11950
  if (context.parameters.disableStoryContainer) {
11951
11951
  return story;
@@ -12126,7 +12126,7 @@ function TabBar(_ref) {
12126
12126
  return /*#__PURE__*/jsx(View, {
12127
12127
  children: /*#__PURE__*/cloneElement(child, {
12128
12128
  color: color,
12129
- onPress: function onPress(event) {
12129
+ onPress: function (event) {
12130
12130
  var _child$props$onPress, _child$props;
12131
12131
  onChangeTab({
12132
12132
  tab: tabs[index],
@@ -12304,7 +12304,7 @@ var TimePicker = /*#__PURE__*/forwardRef(function (_ref2, ref) {
12304
12304
  isFocusedInternal: isFocusedInternal,
12305
12305
  isPressedInternal: isPressedInternal
12306
12306
  }),
12307
- onChange: function handleInputChange(event) {
12307
+ onChange: function (event) {
12308
12308
  var currentValue = event.nativeEvent.text;
12309
12309
  if (currentValue.length === 0) {
12310
12310
  setInputValue(currentValue);
@@ -12354,7 +12354,7 @@ var TimePicker = /*#__PURE__*/forwardRef(function (_ref2, ref) {
12354
12354
  setInputValue(sanitizedValue);
12355
12355
  handleChange(sanitizedValue);
12356
12356
  },
12357
- onBlur: function handleBlur() {
12357
+ onBlur: function () {
12358
12358
  if (inputValue.indexOf(':') === 1) {
12359
12359
  setInputValue("0".concat(inputValue));
12360
12360
  }
@@ -12909,7 +12909,7 @@ function KittThemeProvider(_ref) {
12909
12909
  var KittThemeDecorator = makeDecorator({
12910
12910
  name: 'ThemeDecorator',
12911
12911
  parameterName: 'theme',
12912
- wrapper: function wrapper(storyFn, context, _ref2) {
12912
+ wrapper: function (storyFn, context, _ref2) {
12913
12913
  var _parameters$isSSR;
12914
12914
  var _ref2$options = _ref2.options,
12915
12915
  options = _ref2$options === void 0 ? {} : _ref2$options,