@bigbinary/neeto-image-uploader-frontend 2.2.1 → 2.2.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.
@@ -44,8 +44,8 @@
44
44
  "images": "Images",
45
45
  "imageLibrary": "Image library",
46
46
  "remove": "Remove",
47
- "dragAndDropOrBrowseFile": "Drag and drop or <span>Browse</span> a file.",
48
- "selectImagefromImageLibrary": "Select from <span>Image Library</span>.",
47
+ "dragAndDropOrBrowseFile": "Drag & drop or <span>upload</span>.",
48
+ "selectImagefromImageLibrary": "Select from <span>image library</span>.",
49
49
  "edit": "Edit",
50
50
  "genericError": "Something went wrong!.",
51
51
  "fileSizeError": "File size is too large",
@@ -1,4 +1,4 @@
1
- import { O as OPTIONS, i as isNilOrEmpty, D as DEFAULT_CROP_CONFIG, a as isItemsCenter, o as onImageLoaded, g as getCroppedImageURL, b as getCropValues, I as IMAGES_PER_PAGE, c as INFINITE_SCROLLER_SIZES, d as INFINITE_SCROLLER_STYLE, T as TABS, A as ASSETS_DESTROY_URL, e as ASSETS_FETCH_URL, U as UNSPLASH_DEFAULT_NAME, f as UNSPLASH_DEFAULT_REQUEST_CONFIG, h as DEFAULT_UPLOAD_CONFIG, u as useUploadDropzone, _ as _objectWithoutProperties$2, j as UNSPLASH_URL } from './utils-96eacd77.js';
1
+ import { O as OPTIONS, i as isNilOrEmpty, D as DEFAULT_CROP_CONFIG, a as isItemsCenter, o as onImageLoaded, g as getCroppedImageURL, b as getCropValues, I as IMAGES_PER_PAGE, c as INFINITE_SCROLLER_SIZES, d as INFINITE_SCROLLER_STYLE, T as TABS, A as ASSETS_DESTROY_URL, e as ASSETS_FETCH_URL, U as UNSPLASH_DEFAULT_NAME, f as UNSPLASH_DEFAULT_REQUEST_CONFIG, h as DEFAULT_UPLOAD_CONFIG, u as useUploadDropzone, _ as _objectWithoutProperties$2, j as UNSPLASH_URL } from './utils-0360fcc5.js';
2
2
  import { _ as _defineProperty$1, a as _slicedToArray$1, I as IS_DEVELOPMENT_OR_HEROKU_ENV, b as ImageKit } from './index-b9963255.js';
3
3
  import require$$0, { useState, useEffect, useRef, createElement, useMemo, memo, Fragment as Fragment$1, useCallback } from 'react';
4
4
  import { findBy, isPresent, noop, nullSafe, removeBy, isNotEmpty, findById, toLabelAndValue, keysToSnakeCase, filterBy, slugify, _findBy, replaceById, notEquals, keysToCamelCase } from '@bigbinary/neeto-cist';
@@ -9722,6 +9722,7 @@ var InfiniteScroller = function InfiniteScroller(_ref) {
9722
9722
  },
9723
9723
  children: /*#__PURE__*/jsxs("div", {
9724
9724
  className: "neeto-ui-rounded-sm neeto-ui-bg-gray-100 group absolute h-full w-full",
9725
+ "data-cy": "library-image-card",
9725
9726
  id: "unsplashImage".concat(image.id),
9726
9727
  children: [tab === TABS[1].key && /*#__PURE__*/jsxs(Fragment, {
9727
9728
  children: [/*#__PURE__*/jsx("img", {