@ornikar/kitt-universal 25.58.1-canary.54fbe4c4608384a272d662dc1049beef0b811388.0 → 25.58.1-canary.a2bac16fb42ca488d0dd8ad398c7507d2e37d975.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.
package/dist/index.es.js CHANGED
@@ -3654,6 +3654,7 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
3654
3654
  var mountedRef = useRef(false);
3655
3655
  // securing the loading state with a ref to avoid user action between rerenders
3656
3656
  var loadingRef = useRef(false);
3657
+ var isStretch = useBreakpointValue(stretch) || stretch === true;
3657
3658
 
3658
3659
  // effect just for tracking mounted state, as onPress can unmount the ActionButton
3659
3660
  useEffect(function () {
@@ -3663,6 +3664,7 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
3663
3664
  };
3664
3665
  }, []);
3665
3666
  return /*#__PURE__*/jsx(View, {
3667
+ flexGrow: isStretch ? 1 : undefined,
3666
3668
  children: /*#__PURE__*/jsx(as, _objectSpread(_objectSpread({
3667
3669
  ref: ref
3668
3670
  }, props), {}, {
@@ -3671,7 +3673,7 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
3671
3673
  icon: isLoading ? /*#__PURE__*/jsx(LoaderIcon, {}) : icon,
3672
3674
  onPress: function handlePress(e) {
3673
3675
  var callPressAndUpdateLoadingState = /*#__PURE__*/function () {
3674
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
3676
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
3675
3677
  return _regeneratorRuntime().wrap(function (_context) {
3676
3678
  while (1) switch (_context.prev = _context.next) {
3677
3679
  case 0:
@@ -4962,7 +4964,7 @@ function ExternalAppLink(_ref) {
4962
4964
  rest = _objectWithoutProperties(_ref, _excluded$D);
4963
4965
  var href = "".concat(appScheme, ":").concat(appValue);
4964
4966
  var handleOnPress = /*#__PURE__*/function () {
4965
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
4967
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
4966
4968
  var canOpen;
4967
4969
  return _regeneratorRuntime().wrap(function (_context) {
4968
4970
  while (1) switch (_context.prev = _context.next) {
@@ -5056,7 +5058,7 @@ var defaultOpenLinkBehavior = {
5056
5058
 
5057
5059
  function useOpenExternalLink(errorHandler) {
5058
5060
  return /*#__PURE__*/function () {
5059
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
5061
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
5060
5062
  var href, _ref$behavior, behavior, encodedURL, canOpenURL;
5061
5063
  return _regeneratorRuntime().wrap(function (_context) {
5062
5064
  while (1) switch (_context.prev = _context.next) {
@@ -6424,7 +6426,7 @@ function DocumentPicker(_ref) {
6424
6426
  documentPickerOptions = _ref.documentPickerOptions;
6425
6427
  var childElement = Children.only(children);
6426
6428
  var handlePickDocument = /*#__PURE__*/function () {
6427
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
6429
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
6428
6430
  var _childElement$props$o, _childElement$props;
6429
6431
  var result;
6430
6432
  return _regeneratorRuntime().wrap(function (_context) {
@@ -6471,7 +6473,7 @@ function ImagePicker(_ref) {
6471
6473
  imagePickerOptions = _ref.imagePickerOptions;
6472
6474
  var childElement = Children.only(children);
6473
6475
  var handlePickImage = /*#__PURE__*/function () {
6474
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
6476
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
6475
6477
  var _childElement$props$o, _childElement$props;
6476
6478
  var result;
6477
6479
  return _regeneratorRuntime().wrap(function (_context) {
@@ -6761,7 +6763,7 @@ function useGoogleMapsApi() {
6761
6763
  var googlePlacesServices = {
6762
6764
  autoComplete: {
6763
6765
  getPlacePredictions: function () {
6764
- var _getPlacePredictions = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(input) {
6766
+ var _getPlacePredictions = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(input) {
6765
6767
  var response, data;
6766
6768
  return _regeneratorRuntime().wrap(function (_context) {
6767
6769
  while (1) switch (_context.prev = _context.next) {
@@ -6809,7 +6811,7 @@ function useGoogleMapsApi() {
6809
6811
  },
6810
6812
  placesService: {
6811
6813
  getDetails: function () {
6812
- var _getDetails = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(placeId) {
6814
+ var _getDetails = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(placeId) {
6813
6815
  var response, data;
6814
6816
  return _regeneratorRuntime().wrap(function (_context2) {
6815
6817
  while (1) switch (_context2.prev = _context2.next) {
@@ -6990,8 +6992,8 @@ function GoogleMapsAutocompleteProvider(_ref) {
6990
6992
  _useReducer2 = _slicedToArray(_useReducer, 2),
6991
6993
  state = _useReducer2[0],
6992
6994
  dispatch = _useReducer2[1];
6993
- var handleInputChange = useDebouncedCallback(useCallback(/*#__PURE__*/function () {
6994
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(value) {
6995
+ var handleInputChange = useDebouncedCallback(useCallback( /*#__PURE__*/function () {
6996
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(value) {
6995
6997
  var predictionsPromise, _yield$predictionsPro, results, status;
6996
6998
  return _regeneratorRuntime().wrap(function (_context) {
6997
6999
  while (1) switch (_context.prev = _context.next) {
@@ -7053,8 +7055,8 @@ function GoogleMapsAutocompleteProvider(_ref) {
7053
7055
  return _ref2.apply(this, arguments);
7054
7056
  };
7055
7057
  }(), [mapsApi.autoComplete, minCharsToSearch]), debounceTimeout);
7056
- var handleSelectItem = useCallback(/*#__PURE__*/function () {
7057
- var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(item, onChange) {
7058
+ var handleSelectItem = useCallback( /*#__PURE__*/function () {
7059
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(item, onChange) {
7058
7060
  var placePromise, place, formattedAddress;
7059
7061
  return _regeneratorRuntime().wrap(function (_context2) {
7060
7062
  while (1) switch (_context2.prev = _context2.next) {
@@ -12982,12 +12984,12 @@ function StoryGridRow(_ref) {
12982
12984
  })
12983
12985
  });
12984
12986
  }
12985
- function StoryGridCol(_ref0) {
12986
- var title = _ref0.title,
12987
- titleColor = _ref0.titleColor,
12988
- children = _ref0.children,
12989
- _ref0$platform = _ref0.platform,
12990
- platform = _ref0$platform === void 0 ? 'all' : _ref0$platform;
12987
+ function StoryGridCol(_ref10) {
12988
+ var title = _ref10.title,
12989
+ titleColor = _ref10.titleColor,
12990
+ children = _ref10.children,
12991
+ _ref10$platform = _ref10.platform,
12992
+ platform = _ref10$platform === void 0 ? 'all' : _ref10$platform;
12991
12993
  var isNative = Platform.OS === 'ios' || Platform.OS === 'android';
12992
12994
  if (Platform.OS === 'web' && platform === 'native') {
12993
12995
  return null;