@bigbinary/neeto-molecules 1.17.6 → 1.18.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 (225) hide show
  1. package/dist/BrowserSupport.js +3 -3
  2. package/dist/Builder.js +4 -4
  3. package/dist/CalendarView.js +5 -5
  4. package/dist/{Chevron-c64ff676.js → Chevron-be0c2de2.js} +4 -4
  5. package/dist/{Chevron-c64ff676.js.map → Chevron-be0c2de2.js.map} +1 -1
  6. package/dist/Codeblock.js +4 -4
  7. package/dist/Columns.js +5 -5
  8. package/dist/ConfigurePageSidebar.js +5 -5
  9. package/dist/CopyToClipboardButton.js +10 -9
  10. package/dist/CopyToClipboardButton.js.map +1 -1
  11. package/dist/Currency.js +2 -2
  12. package/dist/CustomDomain.js +5 -5
  13. package/dist/CustomDomainDashboard.js +6 -6
  14. package/dist/DateFormat.js +1 -1
  15. package/dist/DateRangeFilter.js +2 -2
  16. package/dist/DeleteArchiveModal.js +1 -1
  17. package/dist/DocumentEditor.js +3 -3
  18. package/dist/DynamicVariables.js +3 -3
  19. package/dist/EmailForm.js +5 -5
  20. package/dist/EmojiPicker.js +2 -2
  21. package/dist/EmojiReactions.js +1 -1
  22. package/dist/ErrorPage.js +1 -1
  23. package/dist/FloatingActionMenu.js +5 -5
  24. package/dist/Header.js +4 -4
  25. package/dist/HelpPopover.js +2 -2
  26. package/dist/IconPicker.js +3 -3
  27. package/dist/ImageWithFallback.js +4 -4
  28. package/dist/InlineInput.js +8 -7
  29. package/dist/InlineInput.js.map +1 -1
  30. package/dist/Insights.js +3 -3
  31. package/dist/IntegrationCard.js +3 -3
  32. package/dist/IntegrationDisconnectAlert.js +2 -2
  33. package/dist/IpRestriction.js +3 -3
  34. package/dist/KeyboardShortcuts.js +2 -2
  35. package/dist/LoginPage.js +7 -6
  36. package/dist/LoginPage.js.map +1 -1
  37. package/dist/MadeWith.js +2 -2
  38. package/dist/MenuBar.js +3 -3
  39. package/dist/Metadata.js +1 -1
  40. package/dist/MoreDropdown.js +3 -3
  41. package/dist/NavigationHeader.js +5 -5
  42. package/dist/NeetoWidget.js +4 -4
  43. package/dist/Onboarding.js +2 -2
  44. package/dist/OptionFields.js +4 -4
  45. package/dist/PageLoader.js +2 -2
  46. package/dist/PhoneNumber.js +4 -4
  47. package/dist/ProductEmbed.js +5 -5
  48. package/dist/PublishBlock.js +2 -2
  49. package/dist/Rename.js +5 -5
  50. package/dist/ResponsiveDevicePicker.js +5 -5
  51. package/dist/Schedule.js +8 -29
  52. package/dist/Schedule.js.map +1 -1
  53. package/dist/Scrollable.js +3 -3
  54. package/dist/Search.js +4 -4
  55. package/dist/Security.js +5 -5
  56. package/dist/SendToFields.js +3 -3
  57. package/dist/Settings.js +4 -4
  58. package/dist/ShareRecordingPane.js +4 -4
  59. package/dist/ShareViaEmail.js +5 -5
  60. package/dist/ShareViaLink.js +4 -4
  61. package/dist/Sidebar.js +5 -5
  62. package/dist/SubHeader.js +5 -5
  63. package/dist/SuffixedInput.js +4 -4
  64. package/dist/Taxonomy.js +6 -6
  65. package/dist/ThemeSidebar.js +14 -13
  66. package/dist/ThemeSidebar.js.map +1 -1
  67. package/dist/TimeFormat.js +1 -1
  68. package/dist/TimezoneMismatchModal.js +1 -1
  69. package/dist/ToggleFeatureCard.js +4 -4
  70. package/dist/cjs/BrowserSupport.js +9 -6
  71. package/dist/cjs/BrowserSupport.js.map +1 -1
  72. package/dist/cjs/Builder.js +21 -17
  73. package/dist/cjs/Builder.js.map +1 -1
  74. package/dist/cjs/CalendarView.js +19 -15
  75. package/dist/cjs/CalendarView.js.map +1 -1
  76. package/dist/cjs/{Chevron-8a4ed9cd.js → Chevron-059c442a.js} +15 -12
  77. package/dist/cjs/{Chevron-8a4ed9cd.js.map → Chevron-059c442a.js.map} +1 -1
  78. package/dist/cjs/Codeblock.js +7 -6
  79. package/dist/cjs/Codeblock.js.map +1 -1
  80. package/dist/cjs/Columns.js +5 -5
  81. package/dist/cjs/ConfigurePageSidebar.js +8 -7
  82. package/dist/cjs/ConfigurePageSidebar.js.map +1 -1
  83. package/dist/cjs/CopyToClipboardButton.js +17 -12
  84. package/dist/cjs/CopyToClipboardButton.js.map +1 -1
  85. package/dist/cjs/Currency.js +8 -6
  86. package/dist/cjs/Currency.js.map +1 -1
  87. package/dist/cjs/CustomDomain.js +8 -7
  88. package/dist/cjs/CustomDomain.js.map +1 -1
  89. package/dist/cjs/CustomDomainDashboard.js +13 -11
  90. package/dist/cjs/CustomDomainDashboard.js.map +1 -1
  91. package/dist/cjs/DateFormat.js +4 -3
  92. package/dist/cjs/DateFormat.js.map +1 -1
  93. package/dist/cjs/DateRangeFilter.js +6 -4
  94. package/dist/cjs/DateRangeFilter.js.map +1 -1
  95. package/dist/cjs/DeleteArchiveModal.js +3 -2
  96. package/dist/cjs/DeleteArchiveModal.js.map +1 -1
  97. package/dist/cjs/DocumentEditor.js +12 -9
  98. package/dist/cjs/DocumentEditor.js.map +1 -1
  99. package/dist/cjs/DynamicVariables.js +9 -6
  100. package/dist/cjs/DynamicVariables.js.map +1 -1
  101. package/dist/cjs/EmailForm.js +12 -10
  102. package/dist/cjs/EmailForm.js.map +1 -1
  103. package/dist/cjs/EmojiPicker.js +6 -4
  104. package/dist/cjs/EmojiPicker.js.map +1 -1
  105. package/dist/cjs/EmojiReactions.js +3 -2
  106. package/dist/cjs/EmojiReactions.js.map +1 -1
  107. package/dist/cjs/ErrorPage.js +3 -2
  108. package/dist/cjs/ErrorPage.js.map +1 -1
  109. package/dist/cjs/FloatingActionMenu.js +27 -22
  110. package/dist/cjs/FloatingActionMenu.js.map +1 -1
  111. package/dist/cjs/Header.js +11 -8
  112. package/dist/cjs/Header.js.map +1 -1
  113. package/dist/cjs/HelpPopover.js +8 -6
  114. package/dist/cjs/HelpPopover.js.map +1 -1
  115. package/dist/cjs/IconPicker.js +11 -8
  116. package/dist/cjs/IconPicker.js.map +1 -1
  117. package/dist/cjs/ImageWithFallback.js +15 -11
  118. package/dist/cjs/ImageWithFallback.js.map +1 -1
  119. package/dist/cjs/InlineInput.js +25 -18
  120. package/dist/cjs/InlineInput.js.map +1 -1
  121. package/dist/cjs/Insights.js +3 -3
  122. package/dist/cjs/IntegrationCard.js +9 -7
  123. package/dist/cjs/IntegrationCard.js.map +1 -1
  124. package/dist/cjs/IntegrationDisconnectAlert.js +6 -4
  125. package/dist/cjs/IntegrationDisconnectAlert.js.map +1 -1
  126. package/dist/cjs/IpRestriction.js +5 -4
  127. package/dist/cjs/IpRestriction.js.map +1 -1
  128. package/dist/cjs/KeyboardShortcuts.js +9 -7
  129. package/dist/cjs/KeyboardShortcuts.js.map +1 -1
  130. package/dist/cjs/LoginPage.js +11 -7
  131. package/dist/cjs/LoginPage.js.map +1 -1
  132. package/dist/cjs/MadeWith.js +6 -4
  133. package/dist/cjs/MadeWith.js.map +1 -1
  134. package/dist/cjs/MenuBar.js +22 -19
  135. package/dist/cjs/MenuBar.js.map +1 -1
  136. package/dist/cjs/Metadata.js +5 -4
  137. package/dist/cjs/Metadata.js.map +1 -1
  138. package/dist/cjs/MoreDropdown.js +18 -15
  139. package/dist/cjs/MoreDropdown.js.map +1 -1
  140. package/dist/cjs/NavigationHeader.js +9 -8
  141. package/dist/cjs/NavigationHeader.js.map +1 -1
  142. package/dist/cjs/NeetoWidget.js +15 -12
  143. package/dist/cjs/NeetoWidget.js.map +1 -1
  144. package/dist/cjs/Onboarding.js +9 -7
  145. package/dist/cjs/Onboarding.js.map +1 -1
  146. package/dist/cjs/OptionFields.js +21 -17
  147. package/dist/cjs/OptionFields.js.map +1 -1
  148. package/dist/cjs/PageLoader.js +6 -4
  149. package/dist/cjs/PageLoader.js.map +1 -1
  150. package/dist/cjs/PhoneNumber.js +23 -19
  151. package/dist/cjs/PhoneNumber.js.map +1 -1
  152. package/dist/cjs/ProductEmbed.js +24 -21
  153. package/dist/cjs/ProductEmbed.js.map +1 -1
  154. package/dist/cjs/PublishBlock.js +13 -11
  155. package/dist/cjs/PublishBlock.js.map +1 -1
  156. package/dist/cjs/Rename.js +17 -13
  157. package/dist/cjs/Rename.js.map +1 -1
  158. package/dist/cjs/ResponsiveDevicePicker.js +12 -8
  159. package/dist/cjs/ResponsiveDevicePicker.js.map +1 -1
  160. package/dist/cjs/Schedule.js +24 -39
  161. package/dist/cjs/Schedule.js.map +1 -1
  162. package/dist/cjs/Scrollable.js +9 -6
  163. package/dist/cjs/Scrollable.js.map +1 -1
  164. package/dist/cjs/Search.js +12 -8
  165. package/dist/cjs/Search.js.map +1 -1
  166. package/dist/cjs/Security.js +12 -9
  167. package/dist/cjs/Security.js.map +1 -1
  168. package/dist/cjs/SendToFields.js +12 -9
  169. package/dist/cjs/SendToFields.js.map +1 -1
  170. package/dist/cjs/Settings.js +14 -11
  171. package/dist/cjs/Settings.js.map +1 -1
  172. package/dist/cjs/ShareRecordingPane.js +16 -12
  173. package/dist/cjs/ShareRecordingPane.js.map +1 -1
  174. package/dist/cjs/ShareViaEmail.js +15 -10
  175. package/dist/cjs/ShareViaEmail.js.map +1 -1
  176. package/dist/cjs/ShareViaLink.js +8 -7
  177. package/dist/cjs/ShareViaLink.js.map +1 -1
  178. package/dist/cjs/Sidebar.js +16 -12
  179. package/dist/cjs/Sidebar.js.map +1 -1
  180. package/dist/cjs/SubHeader.js +14 -11
  181. package/dist/cjs/SubHeader.js.map +1 -1
  182. package/dist/cjs/SuffixedInput.js +10 -7
  183. package/dist/cjs/SuffixedInput.js.map +1 -1
  184. package/dist/cjs/Taxonomy.js +19 -17
  185. package/dist/cjs/Taxonomy.js.map +1 -1
  186. package/dist/cjs/ThemeSidebar.js +33 -26
  187. package/dist/cjs/ThemeSidebar.js.map +1 -1
  188. package/dist/cjs/TimeFormat.js +1 -1
  189. package/dist/cjs/TimezoneMismatchModal.js +3 -2
  190. package/dist/cjs/TimezoneMismatchModal.js.map +1 -1
  191. package/dist/cjs/ToggleFeatureCard.js +17 -13
  192. package/dist/cjs/ToggleFeatureCard.js.map +1 -1
  193. package/dist/cjs/{index-cdef39a4.js → index-9b0c3047.js} +7 -5
  194. package/dist/cjs/{index-cdef39a4.js.map → index-9b0c3047.js.map} +1 -1
  195. package/dist/cjs/{useColumns-a1c3668f.js → useColumns-9978cf70.js} +18 -14
  196. package/dist/cjs/{useColumns-a1c3668f.js.map → useColumns-9978cf70.js.map} +1 -1
  197. package/dist/{index-cab4f809.js → index-8fd0cad5.js} +3 -3
  198. package/dist/{index-cab4f809.js.map → index-8fd0cad5.js.map} +1 -1
  199. package/dist/{useColumns-d17d1f72.js → useColumns-751e9192.js} +5 -5
  200. package/dist/{useColumns-d17d1f72.js.map → useColumns-751e9192.js.map} +1 -1
  201. package/package.json +5 -2
  202. package/dist/cjs/defineProperty-886ed289.js +0 -47
  203. package/dist/cjs/defineProperty-886ed289.js.map +0 -1
  204. package/dist/cjs/extends-1b35a664.js +0 -19
  205. package/dist/cjs/extends-1b35a664.js.map +0 -1
  206. package/dist/cjs/index-c55ad2bc.js +0 -375
  207. package/dist/cjs/index-c55ad2bc.js.map +0 -1
  208. package/dist/cjs/objectWithoutProperties-2fed2d7d.js +0 -33
  209. package/dist/cjs/objectWithoutProperties-2fed2d7d.js.map +0 -1
  210. package/dist/cjs/slicedToArray-f320d9e7.js +0 -61
  211. package/dist/cjs/slicedToArray-f320d9e7.js.map +0 -1
  212. package/dist/cjs/toConsumableArray-9abb3858.js +0 -22
  213. package/dist/cjs/toConsumableArray-9abb3858.js.map +0 -1
  214. package/dist/defineProperty-549061a7.js +0 -43
  215. package/dist/defineProperty-549061a7.js.map +0 -1
  216. package/dist/extends-093996c9.js +0 -17
  217. package/dist/extends-093996c9.js.map +0 -1
  218. package/dist/index-9720867c.js +0 -372
  219. package/dist/index-9720867c.js.map +0 -1
  220. package/dist/objectWithoutProperties-a0edb288.js +0 -31
  221. package/dist/objectWithoutProperties-a0edb288.js.map +0 -1
  222. package/dist/slicedToArray-b4278ecd.js +0 -57
  223. package/dist/slicedToArray-b4278ecd.js.map +0 -1
  224. package/dist/toConsumableArray-1cc38429.js +0 -20
  225. package/dist/toConsumableArray-1cc38429.js.map +0 -1
package/dist/Sidebar.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _slicedToArray } from './slicedToArray-b4278ecd.js';
1
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
2
  import React__default, { useState, useEffect, useMemo } from 'react';
3
3
  import classnames from 'classnames';
4
4
  import { capitalize, findBy, hyphenate, isNotPresent, isNotEmpty, isPresent } from '@bigbinary/neeto-cist';
@@ -9,13 +9,13 @@ import { Typography, Button } from '@bigbinary/neetoui';
9
9
  import { not, is, findLast } from 'ramda';
10
10
  import { useTranslation } from 'react-i18next';
11
11
  import { Link, useLocation, useHistory } from 'react-router-dom';
12
- import { f as filterByPermissions, a as CheckPointNavLinks, I as Items, b as SELECTED_NAV_LINK_ROUTE_STORAGE_KEY, g as getSidebarStateLocalStorageKey, S as SelectedLink, C as Chevron } from './Chevron-c64ff676.js';
12
+ import { f as filterByPermissions, a as CheckPointNavLinks, I as Items, b as SELECTED_NAV_LINK_ROUTE_STORAGE_KEY, g as getSidebarStateLocalStorageKey, S as SelectedLink, C as Chevron } from './Chevron-be0c2de2.js';
13
13
  import useFetchNeetoApps from '@bigbinary/neeto-commons-frontend/react-utils/useFetchNeetoApps';
14
14
  import * as ProductTypefaceLogos from '@bigbinary/neeto-icons/typeface-logos';
15
15
  import { Neeto } from '@bigbinary/neeto-icons/typeface-logos';
16
- import { _ as _extends } from './extends-093996c9.js';
17
- import { _ as _defineProperty } from './defineProperty-549061a7.js';
18
- import { _ as _objectWithoutProperties } from './objectWithoutProperties-a0edb288.js';
16
+ import _extends from '@babel/runtime/helpers/extends';
17
+ import _defineProperty from '@babel/runtime/helpers/defineProperty';
18
+ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
19
19
  import { Down } from '@bigbinary/neeto-icons';
20
20
  import '@bigbinary/neeto-commons-frontend/utils/general';
21
21
  import '@bigbinary/neeto-filters-frontend';
package/dist/SubHeader.js CHANGED
@@ -2,16 +2,16 @@ import React__default, { forwardRef, useMemo } from 'react';
2
2
  import classnames from 'classnames';
3
3
  import { isNotPresent } from '@bigbinary/neeto-cist';
4
4
  import { pluck, not } from 'ramda';
5
- import { _ as _extends } from './extends-093996c9.js';
6
- import { _ as _defineProperty } from './defineProperty-549061a7.js';
7
- import { _ as _objectWithoutProperties } from './objectWithoutProperties-a0edb288.js';
5
+ import _extends from '@babel/runtime/helpers/extends';
6
+ import _defineProperty from '@babel/runtime/helpers/defineProperty';
7
+ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
8
8
  import { Column, Download, Filter } from '@bigbinary/neeto-icons';
9
9
  import { Button } from '@bigbinary/neetoui';
10
10
  import { useTranslation } from 'react-i18next';
11
- import { u as useHiddenColumns, C as Columns$1 } from './useColumns-d17d1f72.js';
11
+ import { u as useHiddenColumns, C as Columns$1 } from './useColumns-751e9192.js';
12
12
  import { Filters } from '@bigbinary/neeto-filters-frontend';
13
13
  import { n } from './inject-css-c86de496.js';
14
- import './slicedToArray-b4278ecd.js';
14
+ import '@babel/runtime/helpers/slicedToArray';
15
15
  import 'i18next';
16
16
  import 'zustand';
17
17
  import 'zustand/middleware';
@@ -1,6 +1,6 @@
1
- import { _ as _extends } from './extends-093996c9.js';
2
- import { _ as _defineProperty } from './defineProperty-549061a7.js';
3
- import { _ as _slicedToArray } from './slicedToArray-b4278ecd.js';
1
+ import _extends from '@babel/runtime/helpers/extends';
2
+ import _defineProperty from '@babel/runtime/helpers/defineProperty';
3
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
4
4
  import React__default, { useState, useRef, useEffect } from 'react';
5
5
  import { isPresent, isNotPresent } from '@bigbinary/neeto-cist';
6
6
  import { Info } from '@bigbinary/neeto-icons';
@@ -8,7 +8,7 @@ import { Input } from '@bigbinary/neetoui/formik';
8
8
  import { isEmpty } from 'ramda';
9
9
  import CopyToClipboardButton from './CopyToClipboardButton.js';
10
10
  import { n } from './inject-css-c86de496.js';
11
- import './objectWithoutProperties-a0edb288.js';
11
+ import '@babel/runtime/helpers/objectWithoutProperties';
12
12
  import 'classnames';
13
13
  import '@bigbinary/neeto-commons-frontend/utils/general';
14
14
  import '@bigbinary/neetoui';
package/dist/Taxonomy.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _slicedToArray } from './slicedToArray-b4278ecd.js';
1
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
2
  import React__default, { useRef, useState, useEffect } from 'react';
3
3
  import { t } from 'i18next';
4
4
  import { capitalize, isNotEmpty } from '@bigbinary/neeto-cist';
@@ -16,14 +16,14 @@ import * as yup from 'yup';
16
16
  import { useMutation } from 'react-query';
17
17
  import axios from 'axios';
18
18
  import { BASE_API_V1_URL } from '@bigbinary/neeto-commons-frontend/constants';
19
- import { _ as _toConsumableArray } from './toConsumableArray-1cc38429.js';
19
+ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
20
20
  import MoreDropdown from './MoreDropdown.js';
21
21
  import 'classnames';
22
22
  import './index-e5588516.js';
23
23
  import './inject-css-c86de496.js';
24
- import './extends-093996c9.js';
25
- import './defineProperty-549061a7.js';
26
- import './objectWithoutProperties-a0edb288.js';
24
+ import '@babel/runtime/helpers/extends';
25
+ import '@babel/runtime/helpers/defineProperty';
26
+ import '@babel/runtime/helpers/objectWithoutProperties';
27
27
  import './Breadcrumbs.js';
28
28
  import '@bigbinary/neeto-commons-frontend/utils/general';
29
29
  import 'react-router-dom';
@@ -33,7 +33,7 @@ import '@bigbinary/neeto-commons-frontend/react-utils/useQueryParams';
33
33
  import '@bigbinary/neeto-commons-frontend/react-utils/useUpdateEffect';
34
34
  import '@bigbinary/neeto-icons';
35
35
  import '@bigbinary/neeto-commons-frontend/utils';
36
- import './useColumns-d17d1f72.js';
36
+ import './useColumns-751e9192.js';
37
37
  import 'zustand';
38
38
  import 'zustand/middleware';
39
39
  import '@bigbinary/neeto-filters-frontend';
@@ -1,5 +1,5 @@
1
- import { _ as _defineProperty } from './defineProperty-549061a7.js';
2
- import { _ as _slicedToArray } from './slicedToArray-b4278ecd.js';
1
+ import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
3
3
  import React__default, { useState, useEffect, useRef } from 'react';
4
4
  import { Typography, Toastr, Button, Select, ColorPicker, Tag, Input as Input$1, Spinner } from '@bigbinary/neetoui';
5
5
  import { useTranslation, Trans } from 'react-i18next';
@@ -8,17 +8,18 @@ import { Switch, Input, Form } from '@bigbinary/neetoui/formik';
8
8
  import { isNotEmpty, findBy, noop, isPresent, capitalize } from '@bigbinary/neeto-cist';
9
9
  import withT from '@bigbinary/neeto-commons-frontend/react-utils/withT';
10
10
  import { isEmpty, mergeLeft, path } from 'ramda';
11
- import { _ as _extends } from './extends-093996c9.js';
11
+ import _extends from '@babel/runtime/helpers/extends';
12
12
  import classnames from 'classnames';
13
13
  import { ImageUpload, LeftAlign, CenterAlign, Search, LeftArrow, Plus } from '@bigbinary/neeto-icons';
14
14
  import { motion } from 'framer-motion';
15
- import { _ as _asyncToGenerator, r as regenerator } from './index-9720867c.js';
15
+ import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
16
+ import _regeneratorRuntime from '@babel/runtime/regenerator';
16
17
  import { DirectUpload } from '@rails/activestorage';
17
18
  import { useDropzone } from 'react-dropzone';
18
19
  import { Field } from 'formik';
19
20
  import { Slider } from 'antd';
20
21
  import { n } from './inject-css-c86de496.js';
21
- import { _ as _objectWithoutProperties } from './objectWithoutProperties-a0edb288.js';
22
+ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
22
23
  import MoreDropdown from './MoreDropdown.js';
23
24
 
24
25
  var DIRECT_UPLOAD_URL = "/api/direct_uploads";
@@ -196,9 +197,9 @@ var readFile = function readFile(file) {
196
197
  });
197
198
  };
198
199
  var getImage = /*#__PURE__*/function () {
199
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(file) {
200
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(file) {
200
201
  var image;
201
- return regenerator.wrap(function _callee$(_context) {
202
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
202
203
  while (1) switch (_context.prev = _context.next) {
203
204
  case 0:
204
205
  image = new Image();
@@ -306,9 +307,9 @@ var hexToRgb = function hexToRgb(hex) {
306
307
  return result ? "".concat(parseInt(result[1], 16), ", ").concat(parseInt(result[2], 16), ", ").concat(parseInt(result[3], 16)) : null;
307
308
  };
308
309
  var getDominantColor = /*#__PURE__*/function () {
309
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(file) {
310
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(file) {
310
311
  var image, context, c, hex;
311
- return regenerator.wrap(function _callee2$(_context2) {
312
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
312
313
  while (1) switch (_context2.prev = _context2.next) {
313
314
  case 0:
314
315
  _context2.next = 2;
@@ -383,9 +384,9 @@ var useDropzoneWithValidation = function useDropzoneWithValidation(_ref) {
383
384
  var _useDropzone = useDropzone({
384
385
  accept: acceptedTypes,
385
386
  onDrop: function () {
386
- var _onDrop = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(acceptedFiles) {
387
+ var _onDrop = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(acceptedFiles) {
387
388
  var newFiles;
388
- return regenerator.wrap(function _callee2$(_context2) {
389
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
389
390
  while (1) switch (_context2.prev = _context2.next) {
390
391
  case 0:
391
392
  _context2.next = 2;
@@ -401,9 +402,9 @@ var useDropzoneWithValidation = function useDropzoneWithValidation(_ref) {
401
402
  }
402
403
  });
403
404
  upload.create( /*#__PURE__*/function () {
404
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(error, blob) {
405
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(error, blob) {
405
406
  var resolvedFile, dominantColor;
406
- return regenerator.wrap(function _callee$(_context) {
407
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
407
408
  while (1) switch (_context.prev = _context.next) {
408
409
  case 0:
409
410
  if (!error) {