@ntbjs/react-components 2.0.0-rc.13 → 2.0.0-rc.27

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 (545) hide show
  1. package/build/ActionButton-4db754c3.js +85 -0
  2. package/build/Alert-e6847a22.js +131 -0
  3. package/build/Badge-d93586a9.js +214 -0
  4. package/build/Button-179a2fe4.js +442 -0
  5. package/build/Checkbox-4a5fd716.js +213 -0
  6. package/build/CompactAutocompleteSelect-52c49513.js +546 -0
  7. package/build/CompactStarRating-9af2f427.js +411 -0
  8. package/build/CompactTextInput-42ca5d42.js +516 -0
  9. package/build/InputGroup-1294d190.js +23 -0
  10. package/build/MultiLevelCheckboxSelect-d8044c88.js +604 -0
  11. package/build/MultiSelect-9f497e62.js +461 -0
  12. package/build/Popover-20050b91.js +232 -0
  13. package/build/Radio-73ca3ae2.js +134 -0
  14. package/build/SectionSeparator-f47760a2.js +31 -0
  15. package/build/Switch-ecf3122b.js +160 -0
  16. package/build/Tab-04d435c3.js +32 -0
  17. package/build/Tabs-74d1ea8a.js +159 -0
  18. package/build/TextArea-1e5b9201.js +611 -0
  19. package/build/TextInput-fab35842.js +364 -0
  20. package/build/Tooltip-c1d1199e.js +65 -0
  21. package/build/VerificationStatusIcon-49cb1c1b.js +95 -0
  22. package/{esm/node_modules/@babel/runtime/helpers/esm/extends.js → build/_rollupPluginBabelHelpers-c245b26a.js} +1 -1
  23. package/{esm/icons/arrow-forward.svg.js → build/arrow-forward-ad12c5f3.js} +4 -5
  24. package/{esm/icons/close.svg.js → build/close-a5d37608.js} +4 -5
  25. package/build/data/Alert/index.js +6 -0
  26. package/build/data/Badge/index.js +5 -0
  27. package/build/data/Popover/index.js +10 -0
  28. package/build/data/Tab/index.js +5 -0
  29. package/build/data/Tabs/index.js +7 -0
  30. package/build/data/Tooltip/index.js +7 -0
  31. package/build/data/index.js +16 -0
  32. package/{esm/node_modules/prop-types/factoryWithTypeCheckers.js → build/defaultTheme-1bcc2541.js} +578 -17
  33. package/{esm/icons/edit-note.svg.js → build/edit-note-283a0e15.js} +4 -5
  34. package/{esm/icons/expand-more.svg.js → build/expand-more-c5523c46.js} +4 -5
  35. package/build/icons/add-circle.svg +3 -0
  36. package/build/icons/add.svg +3 -0
  37. package/build/icons/album.svg +3 -0
  38. package/build/icons/arrow-back.svg +4 -0
  39. package/build/icons/arrow-drop-down.svg +4 -0
  40. package/build/icons/arrow-forward.svg +3 -0
  41. package/build/icons/audio.svg +3 -0
  42. package/build/icons/bell.svg +3 -0
  43. package/build/icons/check-circle-filled.svg +3 -0
  44. package/build/icons/check-rectangle-filled.svg +3 -0
  45. package/build/icons/check.svg +3 -0
  46. package/build/icons/clear-circle-filled.svg +14 -0
  47. package/build/icons/close.svg +4 -0
  48. package/build/icons/corporate.svg +3 -0
  49. package/build/icons/delete-context-menu.svg +4 -0
  50. package/build/icons/delete.svg +3 -0
  51. package/build/icons/design-services.svg +4 -0
  52. package/build/icons/download.svg +3 -0
  53. package/build/icons/edit-note.svg +4 -0
  54. package/build/icons/edit.svg +3 -0
  55. package/build/icons/expand-more.svg +4 -0
  56. package/build/icons/file.svg +3 -0
  57. package/build/icons/ftp.svg +3 -0
  58. package/build/icons/gear.svg +3 -0
  59. package/build/icons/headset.svg +1 -0
  60. package/build/icons/index.js +79 -0
  61. package/build/icons/layers.svg +3 -0
  62. package/build/icons/library-add.svg +3 -0
  63. package/build/icons/link.svg +4 -0
  64. package/build/icons/pdf.svg +3 -0
  65. package/build/icons/play.svg +3 -0
  66. package/build/icons/remove-circle.svg +3 -0
  67. package/build/icons/search.svg +3 -0
  68. package/build/icons/share.svg +3 -0
  69. package/build/icons/shopping_cart_add.svg +3 -0
  70. package/build/icons/star-filled.svg +3 -0
  71. package/build/icons/star.svg +3 -0
  72. package/build/icons/triangle-right.svg +4 -0
  73. package/build/icons/verification.svg +3 -0
  74. package/build/icons/warning-circle.svg +3 -0
  75. package/build/icons/warning-triangle.svg +3 -0
  76. package/build/inputs/ActionButton/index.js +6 -0
  77. package/build/inputs/Button/index.js +13 -0
  78. package/build/inputs/Checkbox/index.js +6 -0
  79. package/build/inputs/CompactAutocompleteSelect/index.js +23 -0
  80. package/build/inputs/CompactStarRating/index.js +17 -0
  81. package/build/inputs/CompactTextInput/index.js +19 -0
  82. package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +26 -0
  83. package/build/inputs/MultiSelect/index.js +10 -0
  84. package/build/inputs/Radio/index.js +7 -0
  85. package/build/inputs/Switch/index.js +6 -0
  86. package/build/inputs/TextArea/index.js +20 -0
  87. package/build/inputs/TextInput/index.js +9 -0
  88. package/build/inputs/index.js +40 -0
  89. package/build/layout/InputGroup/index.js +5 -0
  90. package/build/layout/SectionSeparator/index.js +5 -0
  91. package/build/layout/index.js +6 -0
  92. package/build/shift-away-subtle-0dd94a03.js +7 -0
  93. package/build/styles/all.scss +3 -0
  94. package/build/styles/config.scss +38 -0
  95. package/{styles/utils/.colors.scss → build/styles/utils/colors.scss} +1 -1
  96. package/build/styles/utils/theme.scss +33 -0
  97. package/{esm/icons/warning-circle.svg.js → build/warning-circle-24f3efcd.js} +4 -5
  98. package/build/widgets/AssetGallery/AssetGallery.js +2356 -0
  99. package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +127 -0
  100. package/build/widgets/ContextMenu/ContextMenu.js +26 -0
  101. package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +127 -0
  102. package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +37 -0
  103. package/build/widgets/InfoCard/InfoCard.js +125 -0
  104. package/build/widgets/Instructions/Instructions.js +255 -0
  105. package/build/widgets/ProgressBar/ProgressBar.js +210 -0
  106. package/package.json +49 -56
  107. package/styles/all.scss +3 -3
  108. package/styles/config.scss +38 -0
  109. package/styles/utils/colors.scss +15 -0
  110. package/styles/utils/theme.scss +0 -2
  111. package/.eslintrc +0 -19
  112. package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -84
  113. package/cjs/_virtual/index.js +0 -7
  114. package/cjs/_virtual/index2.js +0 -7
  115. package/cjs/_virtual/index3.js +0 -7
  116. package/cjs/_virtual/index4.js +0 -7
  117. package/cjs/_virtual/index5.js +0 -7
  118. package/cjs/_virtual/react-dom.development.js +0 -7
  119. package/cjs/_virtual/react-dom.production.js +0 -7
  120. package/cjs/_virtual/react-is.development.js +0 -7
  121. package/cjs/_virtual/react-is.development2.js +0 -7
  122. package/cjs/_virtual/react-is.production.min.js +0 -7
  123. package/cjs/_virtual/react-is.production.min2.js +0 -7
  124. package/cjs/_virtual/react.development.js +0 -7
  125. package/cjs/_virtual/react.production.js +0 -7
  126. package/cjs/components/data/Alert/Alert.js +0 -79
  127. package/cjs/components/data/Alert/Alert.styled.js +0 -79
  128. package/cjs/components/data/Alert/data/Alert/index.js +0 -9
  129. package/cjs/components/data/Badge/Badge.js +0 -93
  130. package/cjs/components/data/Badge/Badge.styled.js +0 -167
  131. package/cjs/components/data/Badge/data/Badge/index.js +0 -9
  132. package/cjs/components/data/Popover/Popover.js +0 -104
  133. package/cjs/components/data/Popover/Popover.styled.js +0 -159
  134. package/cjs/components/data/Popover/data/Popover/index.js +0 -9
  135. package/cjs/components/data/Tab/Tab.js +0 -31
  136. package/cjs/components/data/Tab/Tab.styled.js +0 -27
  137. package/cjs/components/data/Tab/data/Tab/index.js +0 -9
  138. package/cjs/components/data/Tabs/Tabs.js +0 -101
  139. package/cjs/components/data/Tabs/Tabs.styled.js +0 -110
  140. package/cjs/components/data/Tabs/data/Tabs/index.js +0 -9
  141. package/cjs/components/data/Tooltip/Tooltip.js +0 -52
  142. package/cjs/components/data/Tooltip/Tooltip.styled.js +0 -38
  143. package/cjs/components/data/Tooltip/data/Tooltip/index.js +0 -9
  144. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.js +0 -42
  145. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +0 -88
  146. package/cjs/components/data/data/index.js +0 -21
  147. package/cjs/components/inputs/ActionButton/ActionButton.js +0 -44
  148. package/cjs/components/inputs/ActionButton/ActionButton.styled.js +0 -75
  149. package/cjs/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -9
  150. package/cjs/components/inputs/Button/Button.js +0 -195
  151. package/cjs/components/inputs/Button/Button.styled.js +0 -340
  152. package/cjs/components/inputs/Button/inputs/Button/index.js +0 -9
  153. package/cjs/components/inputs/Checkbox/Checkbox.js +0 -102
  154. package/cjs/components/inputs/Checkbox/Checkbox.styled.js +0 -160
  155. package/cjs/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -9
  156. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +0 -268
  157. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -363
  158. package/cjs/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -9
  159. package/cjs/components/inputs/CompactStarRating/CompactStarRating.js +0 -177
  160. package/cjs/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -269
  161. package/cjs/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -9
  162. package/cjs/components/inputs/CompactTextInput/CompactTextInput.js +0 -187
  163. package/cjs/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -406
  164. package/cjs/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -9
  165. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +0 -253
  166. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -106
  167. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -185
  168. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -147
  169. package/cjs/components/inputs/MultiSelect/MultiSelect.js +0 -208
  170. package/cjs/components/inputs/MultiSelect/MultiSelect.styled.js +0 -275
  171. package/cjs/components/inputs/MultiSelect/inputs/MultiSelect/index.js +0 -9
  172. package/cjs/components/inputs/Radio/Radio.js +0 -67
  173. package/cjs/components/inputs/Radio/Radio.styled.js +0 -100
  174. package/cjs/components/inputs/Radio/inputs/Radio/index.js +0 -9
  175. package/cjs/components/inputs/Switch/Switch.js +0 -69
  176. package/cjs/components/inputs/Switch/Switch.styled.js +0 -138
  177. package/cjs/components/inputs/Switch/inputs/Switch/index.js +0 -9
  178. package/cjs/components/inputs/TextArea/TextArea.js +0 -176
  179. package/cjs/components/inputs/TextArea/TextArea.styled.js +0 -530
  180. package/cjs/components/inputs/TextArea/inputs/TextArea/index.js +0 -9
  181. package/cjs/components/inputs/TextInput/TextInput.js +0 -146
  182. package/cjs/components/inputs/TextInput/TextInput.styled.js +0 -289
  183. package/cjs/components/inputs/TextInput/inputs/TextInput/index.js +0 -9
  184. package/cjs/components/inputs/inputs/index.js +0 -33
  185. package/cjs/components/layout/InputGroup/InputGroup.js +0 -26
  186. package/cjs/components/layout/InputGroup/InputGroup.styled.js +0 -23
  187. package/cjs/components/layout/InputGroup/layout/InputGroup/index.js +0 -9
  188. package/cjs/components/layout/SectionSeparator/SectionSeparator.js +0 -29
  189. package/cjs/components/layout/SectionSeparator/SectionSeparator.styled.js +0 -28
  190. package/cjs/components/layout/SectionSeparator/layout/SectionSeparator/index.js +0 -9
  191. package/cjs/components/layout/layout/index.js +0 -11
  192. package/cjs/components/widgets/AssetAction/AssetAction.js +0 -106
  193. package/cjs/components/widgets/AssetAction/AssetAction.styled.js +0 -69
  194. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -35
  195. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -29
  196. package/cjs/components/widgets/AssetGallery/AssetGallery.js +0 -106
  197. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -395
  198. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -52
  199. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -405
  200. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -385
  201. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +0 -396
  202. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +0 -328
  203. package/cjs/components/widgets/AssetGallery/asset.propType.js +0 -58
  204. package/cjs/components/widgets/AssetGallery/widgets/AssetGallery/index.js +0 -9
  205. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +0 -50
  206. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +0 -107
  207. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -9
  208. package/cjs/components/widgets/ContextMenu/ContextMenu.js +0 -29
  209. package/cjs/components/widgets/ContextMenu/ContextMenu.styled.js +0 -24
  210. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -50
  211. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -102
  212. package/cjs/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +0 -9
  213. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +0 -28
  214. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +0 -35
  215. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -9
  216. package/cjs/components/widgets/ContextMenu/widgets/ContextMenu/index.js +0 -9
  217. package/cjs/components/widgets/InfoCard/InfoCard.js +0 -47
  218. package/cjs/components/widgets/InfoCard/InfoCard.styled.js +0 -137
  219. package/cjs/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -9
  220. package/cjs/components/widgets/ProgressBar/ProgressBar.js +0 -79
  221. package/cjs/components/widgets/ProgressBar/ProgressBar.styled.js +0 -210
  222. package/cjs/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -9
  223. package/cjs/components/widgets/SummaryCard/SummaryCard.js +0 -93
  224. package/cjs/components/widgets/SummaryCard/SummaryCard.styled.js +0 -169
  225. package/cjs/components/widgets/widgets/index.js +0 -23
  226. package/cjs/hooks/useEventListner.js +0 -26
  227. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -11
  228. package/cjs/hooks/useOnClickOutside.js +0 -17
  229. package/cjs/icons/arrow-back.svg.js +0 -20
  230. package/cjs/icons/arrow-forward.svg.js +0 -20
  231. package/cjs/icons/check-rectangle-filled.svg.js +0 -20
  232. package/cjs/icons/close.svg.js +0 -20
  233. package/cjs/icons/edit-note.svg.js +0 -20
  234. package/cjs/icons/expand-more.svg.js +0 -20
  235. package/cjs/icons/headset.svg.js +0 -20
  236. package/cjs/icons/layers.svg.js +0 -20
  237. package/cjs/icons/link.svg.js +0 -20
  238. package/cjs/icons/play.svg.js +0 -20
  239. package/cjs/icons/search.svg.js +0 -20
  240. package/cjs/icons/star-filled.svg.js +0 -20
  241. package/cjs/icons/star.svg.js +0 -20
  242. package/cjs/icons/triangle-right.svg.js +0 -20
  243. package/cjs/icons/verification.svg.js +0 -20
  244. package/cjs/icons/warning-circle.svg.js +0 -20
  245. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -11
  246. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -9
  247. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -11
  248. package/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -10
  249. package/cjs/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -9
  250. package/cjs/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -19
  251. package/cjs/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -22
  252. package/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -16
  253. package/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +0 -15
  254. package/cjs/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -11
  255. package/cjs/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -20
  256. package/cjs/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -14
  257. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -9
  258. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -33
  259. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -9
  260. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -9
  261. package/cjs/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -29
  262. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  263. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -15
  264. package/cjs/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -14
  265. package/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -11
  266. package/cjs/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -14
  267. package/cjs/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -13
  268. package/cjs/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -14
  269. package/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -18
  270. package/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -13
  271. package/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -15
  272. package/cjs/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -15
  273. package/cjs/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -503
  274. package/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -59
  275. package/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -13
  276. package/cjs/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -158
  277. package/cjs/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -66
  278. package/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -240
  279. package/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -144
  280. package/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -56
  281. package/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -16
  282. package/cjs/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -60
  283. package/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -20
  284. package/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -915
  285. package/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -374
  286. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -130
  287. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -166
  288. package/cjs/node_modules/@restart/hooks/lib/useMergedRefs.js +0 -43
  289. package/cjs/node_modules/@restart/hooks/lib/useUpdateEffect.js +0 -39
  290. package/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -24
  291. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -186
  292. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -22
  293. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -13
  294. package/cjs/node_modules/memoize-one/dist/memoize-one.esm.js +0 -55
  295. package/cjs/node_modules/object-assign/index.js +0 -94
  296. package/cjs/node_modules/prop-types/checkPropTypes.js +0 -110
  297. package/cjs/node_modules/prop-types/factoryWithThrowingShims.js +0 -69
  298. package/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +0 -621
  299. package/cjs/node_modules/prop-types/index.js +0 -33
  300. package/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -16
  301. package/cjs/node_modules/prop-types/lib/has.js +0 -7
  302. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -186
  303. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -22
  304. package/cjs/node_modules/prop-types/node_modules/react-is/index.js +0 -13
  305. package/cjs/node_modules/react/cjs/react.development.js +0 -1289
  306. package/cjs/node_modules/react/cjs/react.production.js +0 -548
  307. package/cjs/node_modules/react/index.js +0 -19
  308. package/cjs/node_modules/react-dom/cjs/react-dom.development.js +0 -432
  309. package/cjs/node_modules/react-dom/cjs/react-dom.production.js +0 -218
  310. package/cjs/node_modules/react-dom/index.js +0 -44
  311. package/cjs/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -6
  312. package/cjs/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -23
  313. package/cjs/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2659
  314. package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1426
  315. package/cjs/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.js +0 -101
  316. package/cjs/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -78
  317. package/cjs/node_modules/style-inject/dist/style-inject.es.js +0 -32
  318. package/cjs/node_modules/stylis/src/Enum.js +0 -24
  319. package/cjs/node_modules/stylis/src/Middleware.js +0 -37
  320. package/cjs/node_modules/stylis/src/Parser.js +0 -201
  321. package/cjs/node_modules/stylis/src/Serializer.js +0 -43
  322. package/cjs/node_modules/stylis/src/Tokenizer.js +0 -243
  323. package/cjs/node_modules/stylis/src/Utility.js +0 -134
  324. package/cjs/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -6
  325. package/cjs/node_modules/tippy.js/dist/tippy.css.js +0 -6
  326. package/cjs/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +0 -13
  327. package/cjs/ssr/ssr/index.js +0 -12
  328. package/cjs/styles/utils/colors-export.js +0 -41
  329. package/cjs/utils/dateTime.js +0 -20
  330. package/cjs/utils/defaultTheme.js +0 -75
  331. package/doctor-storybook.log +0 -20
  332. package/esm/_virtual/_rollupPluginBabelHelpers.js +0 -74
  333. package/esm/_virtual/index.js +0 -3
  334. package/esm/_virtual/index2.js +0 -3
  335. package/esm/_virtual/index3.js +0 -3
  336. package/esm/_virtual/index4.js +0 -3
  337. package/esm/_virtual/index5.js +0 -3
  338. package/esm/_virtual/react-dom.development.js +0 -3
  339. package/esm/_virtual/react-dom.production.js +0 -3
  340. package/esm/_virtual/react-is.development.js +0 -3
  341. package/esm/_virtual/react-is.development2.js +0 -3
  342. package/esm/_virtual/react-is.production.min.js +0 -3
  343. package/esm/_virtual/react-is.production.min2.js +0 -3
  344. package/esm/_virtual/react.development.js +0 -3
  345. package/esm/_virtual/react.production.js +0 -3
  346. package/esm/components/data/Alert/Alert.js +0 -75
  347. package/esm/components/data/Alert/Alert.styled.js +0 -70
  348. package/esm/components/data/Alert/data/Alert/index.js +0 -1
  349. package/esm/components/data/Badge/Badge.js +0 -89
  350. package/esm/components/data/Badge/Badge.styled.js +0 -156
  351. package/esm/components/data/Badge/data/Badge/index.js +0 -1
  352. package/esm/components/data/Popover/Popover.js +0 -96
  353. package/esm/components/data/Popover/Popover.styled.js +0 -150
  354. package/esm/components/data/Popover/data/Popover/index.js +0 -1
  355. package/esm/components/data/Tab/Tab.js +0 -27
  356. package/esm/components/data/Tab/Tab.styled.js +0 -19
  357. package/esm/components/data/Tab/data/Tab/index.js +0 -1
  358. package/esm/components/data/Tabs/Tabs.js +0 -97
  359. package/esm/components/data/Tabs/Tabs.styled.js +0 -98
  360. package/esm/components/data/Tabs/data/Tabs/index.js +0 -1
  361. package/esm/components/data/Tooltip/Tooltip.js +0 -48
  362. package/esm/components/data/Tooltip/Tooltip.styled.js +0 -29
  363. package/esm/components/data/Tooltip/data/Tooltip/index.js +0 -1
  364. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.js +0 -38
  365. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +0 -78
  366. package/esm/components/data/data/index.js +0 -7
  367. package/esm/components/inputs/ActionButton/ActionButton.js +0 -40
  368. package/esm/components/inputs/ActionButton/ActionButton.styled.js +0 -67
  369. package/esm/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -1
  370. package/esm/components/inputs/Button/Button.js +0 -191
  371. package/esm/components/inputs/Button/Button.styled.js +0 -323
  372. package/esm/components/inputs/Button/inputs/Button/index.js +0 -1
  373. package/esm/components/inputs/Checkbox/Checkbox.js +0 -98
  374. package/esm/components/inputs/Checkbox/Checkbox.styled.js +0 -147
  375. package/esm/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -1
  376. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +0 -264
  377. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -335
  378. package/esm/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -1
  379. package/esm/components/inputs/CompactStarRating/CompactStarRating.js +0 -173
  380. package/esm/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -256
  381. package/esm/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -1
  382. package/esm/components/inputs/CompactTextInput/CompactTextInput.js +0 -183
  383. package/esm/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -389
  384. package/esm/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -1
  385. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +0 -247
  386. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -92
  387. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -181
  388. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -129
  389. package/esm/components/inputs/MultiSelect/MultiSelect.js +0 -204
  390. package/esm/components/inputs/MultiSelect/MultiSelect.styled.js +0 -251
  391. package/esm/components/inputs/MultiSelect/inputs/MultiSelect/index.js +0 -1
  392. package/esm/components/inputs/Radio/Radio.js +0 -63
  393. package/esm/components/inputs/Radio/Radio.styled.js +0 -91
  394. package/esm/components/inputs/Radio/inputs/Radio/index.js +0 -1
  395. package/esm/components/inputs/Switch/Switch.js +0 -65
  396. package/esm/components/inputs/Switch/Switch.styled.js +0 -125
  397. package/esm/components/inputs/Switch/inputs/Switch/index.js +0 -1
  398. package/esm/components/inputs/TextArea/TextArea.js +0 -172
  399. package/esm/components/inputs/TextArea/TextArea.styled.js +0 -512
  400. package/esm/components/inputs/TextArea/inputs/TextArea/index.js +0 -1
  401. package/esm/components/inputs/TextInput/TextInput.js +0 -142
  402. package/esm/components/inputs/TextInput/TextInput.styled.js +0 -274
  403. package/esm/components/inputs/TextInput/inputs/TextInput/index.js +0 -1
  404. package/esm/components/inputs/inputs/index.js +0 -13
  405. package/esm/components/layout/InputGroup/InputGroup.js +0 -22
  406. package/esm/components/layout/InputGroup/InputGroup.styled.js +0 -15
  407. package/esm/components/layout/InputGroup/layout/InputGroup/index.js +0 -1
  408. package/esm/components/layout/SectionSeparator/SectionSeparator.js +0 -25
  409. package/esm/components/layout/SectionSeparator/SectionSeparator.styled.js +0 -20
  410. package/esm/components/layout/SectionSeparator/layout/SectionSeparator/index.js +0 -1
  411. package/esm/components/layout/layout/index.js +0 -2
  412. package/esm/components/widgets/AssetAction/AssetAction.js +0 -102
  413. package/esm/components/widgets/AssetAction/AssetAction.styled.js +0 -57
  414. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -31
  415. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -21
  416. package/esm/components/widgets/AssetGallery/AssetGallery.js +0 -102
  417. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -387
  418. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -42
  419. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -401
  420. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -358
  421. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +0 -392
  422. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +0 -302
  423. package/esm/components/widgets/AssetGallery/asset.propType.js +0 -53
  424. package/esm/components/widgets/AssetGallery/widgets/AssetGallery/index.js +0 -1
  425. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +0 -46
  426. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +0 -95
  427. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -1
  428. package/esm/components/widgets/ContextMenu/ContextMenu.js +0 -25
  429. package/esm/components/widgets/ContextMenu/ContextMenu.styled.js +0 -16
  430. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -46
  431. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -92
  432. package/esm/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +0 -1
  433. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +0 -24
  434. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +0 -27
  435. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -1
  436. package/esm/components/widgets/ContextMenu/widgets/ContextMenu/index.js +0 -1
  437. package/esm/components/widgets/InfoCard/InfoCard.js +0 -43
  438. package/esm/components/widgets/InfoCard/InfoCard.styled.js +0 -121
  439. package/esm/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -1
  440. package/esm/components/widgets/ProgressBar/ProgressBar.js +0 -75
  441. package/esm/components/widgets/ProgressBar/ProgressBar.styled.js +0 -191
  442. package/esm/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -1
  443. package/esm/components/widgets/SummaryCard/SummaryCard.js +0 -89
  444. package/esm/components/widgets/SummaryCard/SummaryCard.styled.js +0 -151
  445. package/esm/components/widgets/widgets/index.js +0 -8
  446. package/esm/hooks/useEventListner.js +0 -22
  447. package/esm/hooks/useIsomorphicLayoutEffect.js +0 -7
  448. package/esm/hooks/useOnClickOutside.js +0 -13
  449. package/esm/icons/arrow-back.svg.js +0 -16
  450. package/esm/icons/check-rectangle-filled.svg.js +0 -16
  451. package/esm/icons/headset.svg.js +0 -16
  452. package/esm/icons/layers.svg.js +0 -16
  453. package/esm/icons/link.svg.js +0 -16
  454. package/esm/icons/play.svg.js +0 -16
  455. package/esm/icons/search.svg.js +0 -16
  456. package/esm/icons/star-filled.svg.js +0 -16
  457. package/esm/icons/star.svg.js +0 -16
  458. package/esm/icons/triangle-right.svg.js +0 -16
  459. package/esm/icons/verification.svg.js +0 -16
  460. package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -7
  461. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -5
  462. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -7
  463. package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -6
  464. package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  465. package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
  466. package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -18
  467. package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -12
  468. package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -7
  469. package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -16
  470. package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -10
  471. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -5
  472. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  473. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -5
  474. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -5
  475. package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -25
  476. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -15
  477. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -11
  478. package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -10
  479. package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
  480. package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
  481. package/esm/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -9
  482. package/esm/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -10
  483. package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
  484. package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
  485. package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
  486. package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -11
  487. package/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -499
  488. package/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -55
  489. package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
  490. package/esm/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -149
  491. package/esm/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -56
  492. package/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -236
  493. package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -140
  494. package/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -52
  495. package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -12
  496. package/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -54
  497. package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -16
  498. package/esm/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -902
  499. package/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -370
  500. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -112
  501. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -139
  502. package/esm/node_modules/@restart/hooks/lib/useMergedRefs.js +0 -38
  503. package/esm/node_modules/@restart/hooks/lib/useUpdateEffect.js +0 -35
  504. package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -22
  505. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -181
  506. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -17
  507. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -11
  508. package/esm/node_modules/memoize-one/dist/memoize-one.esm.js +0 -51
  509. package/esm/node_modules/object-assign/index.js +0 -90
  510. package/esm/node_modules/prop-types/checkPropTypes.js +0 -106
  511. package/esm/node_modules/prop-types/factoryWithThrowingShims.js +0 -65
  512. package/esm/node_modules/prop-types/index.js +0 -29
  513. package/esm/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
  514. package/esm/node_modules/prop-types/lib/has.js +0 -3
  515. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -181
  516. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -17
  517. package/esm/node_modules/prop-types/node_modules/react-is/index.js +0 -11
  518. package/esm/node_modules/react/cjs/react.development.js +0 -1287
  519. package/esm/node_modules/react/cjs/react.production.js +0 -543
  520. package/esm/node_modules/react/index.js +0 -15
  521. package/esm/node_modules/react-dom/cjs/react-dom.development.js +0 -427
  522. package/esm/node_modules/react-dom/cjs/react-dom.production.js +0 -213
  523. package/esm/node_modules/react-dom/index.js +0 -42
  524. package/esm/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -4
  525. package/esm/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -19
  526. package/esm/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2650
  527. package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1385
  528. package/esm/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.js +0 -97
  529. package/esm/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -74
  530. package/esm/node_modules/style-inject/dist/style-inject.es.js +0 -28
  531. package/esm/node_modules/stylis/src/Enum.js +0 -12
  532. package/esm/node_modules/stylis/src/Middleware.js +0 -32
  533. package/esm/node_modules/stylis/src/Parser.js +0 -193
  534. package/esm/node_modules/stylis/src/Serializer.js +0 -38
  535. package/esm/node_modules/stylis/src/Tokenizer.js +0 -223
  536. package/esm/node_modules/stylis/src/Utility.js +0 -117
  537. package/esm/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -4
  538. package/esm/node_modules/tippy.js/dist/tippy.css.js +0 -4
  539. package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +0 -9
  540. package/esm/styles/utils/colors-export.js +0 -37
  541. package/esm/utils/dateTime.js +0 -16
  542. package/esm/utils/defaultTheme.js +0 -70
  543. package/migration-storybook.log +0 -392
  544. package/styles/utils/colors-export.js +0 -35
  545. /package/{esm/ssr → build}/ssr/index.js +0 -0
@@ -0,0 +1,127 @@
1
+ import { _ as _extends$1 } from '../../../_rollupPluginBabelHelpers-c245b26a.js';
2
+ import * as React from 'react';
3
+ import React__default from 'react';
4
+ import { a as applyDefaultTheme, P as PropTypes } from '../../../defaultTheme-1bcc2541.js';
5
+ import styled, { css } from 'styled-components';
6
+ import { S as SvgClose } from '../../../close-a5d37608.js';
7
+
8
+ var _path;
9
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
10
+ function SvgArrowBack(props) {
11
+ return /*#__PURE__*/React.createElement("svg", _extends({
12
+ xmlns: "http://www.w3.org/2000/svg",
13
+ viewBox: "0 0 32 32"
14
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
15
+ fill: "currentColor",
16
+ d: "M16 32L0 16 16 0l2.1 2.1L5.7 14.5H32v3H5.7l12.4 12.4L16 32z"
17
+ })));
18
+ }
19
+
20
+ const AssetPreviewTopBar$1 = styled.div.attrs(applyDefaultTheme)`
21
+ box-sizing: border-box;
22
+ align-items: center;
23
+ border-bottom: ${props => props.border ? `1px solid` : `none`};
24
+ color: inherit;
25
+ display: flex;
26
+ font-family: ${props => props.theme.primaryFontFamily};
27
+ font-weight: 400;
28
+ min-height: 72px;
29
+ padding: 0 24px;
30
+ width: 100%;
31
+
32
+ ${props => props.theme.themeProp('border-color', props.theme.getColor('gray-800'), props.theme.getColor('gray-200'))}
33
+
34
+ ${props => props.shadow && props.theme.themeProp('box-shadow', '0 -2px 12px #505050', '0 -3px 12px #b0b6b9')}
35
+
36
+ ${props => props.disabled && css`
37
+ cursor: not-allowed;
38
+ `}
39
+ `;
40
+ const BackButtonContainer = styled.a.attrs(applyDefaultTheme)`
41
+ align-items: center;
42
+ display: flex;
43
+ font-size: 1.125rem;
44
+ ${props => props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-900'))};
45
+
46
+ ${props => props.disabled && css`
47
+ opacity: 0.5;
48
+ pointer-events: none;
49
+ `}
50
+
51
+ &:hover {
52
+ cursor: pointer;
53
+ }
54
+
55
+ > svg {
56
+ height: 24px;
57
+ margin-right: 16px;
58
+ width: 24px;
59
+ }
60
+ `;
61
+ const BackHoverEffect = styled.div`
62
+ display: inline-flex;
63
+ align-items: center;
64
+
65
+ > svg {
66
+ height: 24px;
67
+ margin-right: 16px;
68
+ width: 24px;
69
+ transition: transform 0.3s ease-in-out;
70
+ }
71
+
72
+ &:hover > svg {
73
+ transform: translateX(-2px);
74
+ }
75
+ `;
76
+ const LeftText = styled.span.attrs(applyDefaultTheme)`
77
+ font-size: 1.125rem;
78
+ margin-left: 16px;
79
+
80
+ ${props => props.theme.themeProp('color', props.theme.getColor('gray-500'), props.theme.getColor('gray-400'))};
81
+ `;
82
+ const ButtonsContainer = styled.div.attrs(applyDefaultTheme)`
83
+ align-items: center;
84
+ display: flex;
85
+ margin-left: auto;
86
+
87
+ > span {
88
+ margin-left: 16px;
89
+ }
90
+ `;
91
+
92
+ const AssetPreviewTopBar = React__default.forwardRef(function AssetPreviewTopBar({
93
+ onBackButtonClick,
94
+ backButtonText,
95
+ backButtonAsClose,
96
+ leftText,
97
+ buttons,
98
+ shadow,
99
+ border,
100
+ disabled,
101
+ ...props
102
+ }, forwardedRef) {
103
+ return React__default.createElement(AssetPreviewTopBar$1, _extends$1({
104
+ ref: forwardedRef,
105
+ shadow: shadow,
106
+ border: border,
107
+ disabled: disabled
108
+ }, props), React__default.createElement(BackButtonContainer, {
109
+ onClick: onBackButtonClick,
110
+ disabled: disabled
111
+ }, backButtonAsClose ? React__default.createElement(React__default.Fragment, null, React__default.createElement(SvgClose, null), backButtonText) : React__default.createElement(BackHoverEffect, null, React__default.createElement(SvgArrowBack, null), backButtonText)), leftText && React__default.createElement(LeftText, null, leftText), Array.isArray(buttons) && React__default.createElement(ButtonsContainer, null, buttons.map((button, index) => React__default.createElement("span", {
112
+ key: 'topBarButton-' + index
113
+ }, button))));
114
+ });
115
+ AssetPreviewTopBar.propTypes = process.env.NODE_ENV !== "production" ? {
116
+ onBackButtonClick: PropTypes.func.isRequired,
117
+ backButtonText: PropTypes.string.isRequired,
118
+ disabled: PropTypes.bool,
119
+ backButtonAsClose: PropTypes.bool,
120
+ leftText: PropTypes.string,
121
+ shadow: PropTypes.bool,
122
+ border: PropTypes.bool,
123
+ buttons: PropTypes.arrayOf(PropTypes.node)
124
+ } : {};
125
+ AssetPreviewTopBar.defaultProps = {};
126
+
127
+ export { AssetPreviewTopBar as default };
@@ -0,0 +1,26 @@
1
+ import { _ as _extends } from '../../_rollupPluginBabelHelpers-c245b26a.js';
2
+ import React__default from 'react';
3
+ import { a as applyDefaultTheme, P as PropTypes } from '../../defaultTheme-1bcc2541.js';
4
+ import styled from 'styled-components';
5
+
6
+ const ContextMenu$1 = styled.div.attrs(applyDefaultTheme)`
7
+ font-family: ${props => props.theme.primaryFontFamily};
8
+ padding: 3px 0;
9
+ `;
10
+
11
+ const ContextMenu = React__default.forwardRef(function ContextMenu({
12
+ children,
13
+ ...props
14
+ }, forwardedRef) {
15
+ return React__default.createElement(ContextMenu$1, _extends({
16
+ ref: forwardedRef
17
+ }, props, {
18
+ role: "menu"
19
+ }), children);
20
+ });
21
+ ContextMenu.propTypes = process.env.NODE_ENV !== "production" ? {
22
+ children: PropTypes.any
23
+ } : {};
24
+ ContextMenu.defaultProps = {};
25
+
26
+ export { ContextMenu as default };
@@ -0,0 +1,127 @@
1
+ import { _ as _extends$1 } from '../../../_rollupPluginBabelHelpers-c245b26a.js';
2
+ import * as React from 'react';
3
+ import React__default from 'react';
4
+ import { a as applyDefaultTheme, P as PropTypes } from '../../../defaultTheme-1bcc2541.js';
5
+ import styled, { css } from 'styled-components';
6
+
7
+ var _path;
8
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
9
+ function SvgTriangleRight(props) {
10
+ return /*#__PURE__*/React.createElement("svg", _extends({
11
+ xmlns: "http://www.w3.org/2000/svg",
12
+ viewBox: "0 0 10 20"
13
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
14
+ fill: "currentColor",
15
+ d: "M0 20V0l10 10L0 20z"
16
+ })));
17
+ }
18
+
19
+ const ContextMenuItem$1 = styled.span.attrs(applyDefaultTheme)`
20
+ align-items: center;
21
+ cursor: pointer;
22
+ display: flex;
23
+ font-family: ${props => props.theme.primaryFontFamily};
24
+ font-size: 0.875rem;
25
+ font-weight: normal;
26
+ height: 31px;
27
+ min-width: 160px;
28
+ padding: ${props => props.opensSublevel ? '0 8px' : '0 28px 0 8px'};
29
+
30
+ ${props => props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-700'))}
31
+
32
+ ${props => props.theme.themeProp('background-color', props.theme.getColor('gray-700'), '#FEFEFE')}
33
+
34
+ ${props => !props.icon && css`
35
+ padding-left: 28px;
36
+ `}
37
+
38
+ :not(:last-of-type) {
39
+ border-bottom: 1px solid;
40
+
41
+ ${props => props.theme.themeProp('border-color', props.theme.getColor('gray-600'), props.theme.getColor('gray-200'))}
42
+ }
43
+
44
+ :last-of-type {
45
+ height: 32px;
46
+ }
47
+
48
+ &:hover {
49
+ cursor: pointer;
50
+
51
+ ${props => props.theme.themeProp('background-color', props.theme.getColor('gray-600'), props.theme.getColor('gray-200'))}
52
+ }
53
+
54
+ ${props => props.hoverColors && props.hoverColors[0] && props.hoverColors[1] && css`
55
+ &&:hover {
56
+ ${props => props.theme.themeProp('color', props.hoverColors[0], props.hoverColors[1])}
57
+ }
58
+ `}
59
+
60
+ ${props => props.hoverBackgroundColors && props.hoverBackgroundColors[0] && props.hoverBackgroundColors[1] && css`
61
+ &&:hover {
62
+ ${props => props.theme.themeProp('background-color', props.hoverBackgroundColors[0], props.hoverBackgroundColors[1])}
63
+ }
64
+ `}
65
+ `;
66
+ const IconContainer = styled.span.attrs(applyDefaultTheme)`
67
+ align-items: center;
68
+ display: flex;
69
+ height: fit-content;
70
+ max-width: 12px;
71
+ margin-right: 8px;
72
+
73
+ svg {
74
+ height: 12px;
75
+ }
76
+ `;
77
+ const SublevelIconContainer = styled.span.attrs(applyDefaultTheme)`
78
+ align-items: center;
79
+ display: flex;
80
+ height: fit-content;
81
+ max-width: 12px;
82
+ margin-left: auto;
83
+ margin-right: 8px;
84
+ padding-left: 24px;
85
+
86
+ svg {
87
+ height: 12px;
88
+ }
89
+ `;
90
+
91
+ const ContextMenuItem = React__default.forwardRef(function ContextMenuItem({
92
+ title,
93
+ icon,
94
+ onClickEffect,
95
+ opensSublevel,
96
+ hoverColors,
97
+ hoverBackgroundColors,
98
+ ...props
99
+ }, forwardedRef) {
100
+ return React__default.createElement(ContextMenuItem$1, _extends$1({
101
+ ref: forwardedRef,
102
+ icon: icon,
103
+ onClick: onClickEffect,
104
+ hoverColors: hoverColors,
105
+ hoverBackgroundColors: hoverBackgroundColors,
106
+ opensSublevel: opensSublevel,
107
+ className: opensSublevel ? 'context-menu-item opens-sublevel' : 'context-menu-item'
108
+ }, props, {
109
+ role: "menuitem"
110
+ }), icon && React__default.createElement(IconContainer, null, icon), React__default.createElement("span", null, title), opensSublevel && React__default.createElement(SublevelIconContainer, null, React__default.createElement(SvgTriangleRight, null)));
111
+ });
112
+ ContextMenuItem.propTypes = process.env.NODE_ENV !== "production" ? {
113
+ title: PropTypes.string.isRequired,
114
+ icon: PropTypes.element,
115
+ onClickEffect: PropTypes.func,
116
+ opensSublevel: PropTypes.bool,
117
+ hoverColors: PropTypes.arrayOf(PropTypes.string),
118
+ hoverBackgroundColors: PropTypes.arrayOf(PropTypes.string)
119
+ } : {};
120
+ ContextMenuItem.defaultProps = {
121
+ icon: undefined,
122
+ hoverColors: undefined,
123
+ hoverBackgroundColors: undefined,
124
+ opensSublevel: false
125
+ };
126
+
127
+ export { ContextMenuItem as default };
@@ -0,0 +1,37 @@
1
+ import { _ as _extends } from '../../../_rollupPluginBabelHelpers-c245b26a.js';
2
+ import React__default from 'react';
3
+ import { a as applyDefaultTheme, P as PropTypes } from '../../../defaultTheme-1bcc2541.js';
4
+ import styled from 'styled-components';
5
+
6
+ const ContextMenuItemsGroup$1 = styled.div.attrs(applyDefaultTheme)`
7
+ :not(:last-child) {
8
+ border-bottom: 1px solid;
9
+
10
+ ${props => props.theme.themeProp('border-color', props.theme.getColor('gray-600'), props.theme.getColor('gray-200'))}
11
+ }
12
+
13
+ > * {
14
+ border-bottom: none !important;
15
+ }
16
+
17
+ > *:not(:last-child) {
18
+ height: 32px;
19
+ }
20
+ `;
21
+
22
+ const ContextMenuItemsGroup = React__default.forwardRef(function ContextMenuItemsGroup({
23
+ children,
24
+ ...props
25
+ }, forwardedRef) {
26
+ return React__default.createElement(ContextMenuItemsGroup$1, _extends({
27
+ ref: forwardedRef
28
+ }, props, {
29
+ role: "group"
30
+ }), children);
31
+ });
32
+ ContextMenuItemsGroup.propTypes = process.env.NODE_ENV !== "production" ? {
33
+ children: PropTypes.arrayOf(PropTypes.node)
34
+ } : {};
35
+ ContextMenuItemsGroup.defaultProps = {};
36
+
37
+ export { ContextMenuItemsGroup as default };
@@ -0,0 +1,125 @@
1
+ import { _ as _extends } from '../../_rollupPluginBabelHelpers-c245b26a.js';
2
+ import React__default, { useState } from 'react';
3
+ import { a as applyDefaultTheme, P as PropTypes } from '../../defaultTheme-1bcc2541.js';
4
+ import styled from 'styled-components';
5
+ import { S as SvgArrowForward } from '../../arrow-forward-ad12c5f3.js';
6
+
7
+ const Container = styled.div.attrs(applyDefaultTheme)`
8
+ font-family: ${props => props.theme.primaryFontFamily};
9
+ font-size: 1rem;
10
+ font-weight: 500;
11
+ ${props => props.theme.themeProp('background', props.theme.getColor('gray-800'), props.theme.getColor('gray-50'))};
12
+ height: ${props => props.height ? `${props.height}px` : '50px'};
13
+ border-radius: 3px;
14
+ display: flex;
15
+ flex-direction: row;
16
+ align-items: center;
17
+ padding: 5px 0;
18
+ `;
19
+ const MetricsContainer = styled.div.attrs(applyDefaultTheme)`
20
+ display: flex;
21
+ flex-direction: column;
22
+ justify-content: center;
23
+ align-items: flex-start;
24
+ width: 70%;
25
+ gap: 5px;
26
+ padding-left: 15px;
27
+ `;
28
+ const IconTotalContainer = styled.div.attrs(applyDefaultTheme)`
29
+ display: flex;
30
+ justify-content: center;
31
+ align-items: center;
32
+ gap: 10px;
33
+ `;
34
+ const Total = styled.div.attrs(applyDefaultTheme)`
35
+ font-size: 1.22rem;
36
+ font-weight: 700;
37
+ ${props => props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-900'))};
38
+ `;
39
+ const Label = styled.div.attrs(applyDefaultTheme)`
40
+ font-size: 0.875rem;
41
+ font-weight: 400;
42
+ opacity: 0.8;
43
+ ${props => props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-500'))};
44
+ `;
45
+ const IconContainer = styled.div.attrs(applyDefaultTheme)`
46
+ display: flex;
47
+ justify-content: center;
48
+ align-items: center;
49
+ width: 18px;
50
+ margin-top: -0.05rem;
51
+ `;
52
+ const Link = styled.div.attrs(applyDefaultTheme)`
53
+ font-size: 0.875rem;
54
+ font-weight: 400;
55
+ width: 30%;
56
+ opacity: 0.7;
57
+ display: flex;
58
+ align-items: center;
59
+ justify-content: flex-end;
60
+ margin-right: 20px;
61
+ cursor: pointer;
62
+ height: 100%;
63
+ gap: 10px;
64
+ svg {
65
+ transition: transform 0.2s ease-in-out;
66
+ }
67
+ &:hover svg {
68
+ transform: translateX(2px);
69
+ }
70
+ `;
71
+ const ButtonLink = styled.div.attrs(applyDefaultTheme)`
72
+ font-size: 0.875rem;
73
+ font-weight: 500;
74
+ height: 100%;
75
+ display: flex;
76
+ align-items: center;
77
+ white-space: nowrap;
78
+ opacity: ${props => props.$isHovered ? 1 : 0.8};
79
+ transition: color 0.2s ease-in-out;
80
+ ${props => props.$isHovered ? props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('black')) : props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-900'))};
81
+ `;
82
+ const StyledArrowIcon = styled(SvgArrowForward).attrs(applyDefaultTheme)`
83
+ height: 15px;
84
+ margin-right: 10px;
85
+ opacity: ${props => props.$isHovered ? 1 : 0.8};
86
+ transition: transform 0.2s ease-in-out, fill 0.2s ease-in-out;
87
+ transform: ${props => props.$isHovered ? 'translateX(2px)' : 'translateX(0)'};
88
+
89
+ ${props => props.$isHovered ? props.theme.themeProp('fill', props.theme.getColor('white'), props.theme.getColor('black')) : props.theme.themeProp('fill', props.theme.getColor('white'), props.theme.getColor('black'))};
90
+ `;
91
+
92
+ const InfoCard = React__default.forwardRef(function InfoCard({
93
+ icon,
94
+ total,
95
+ label,
96
+ linkLabel,
97
+ onClick,
98
+ height,
99
+ ...props
100
+ }, forwardedRef) {
101
+ const [isLinkHovered, setIsLinkHovered] = useState(false);
102
+ const handleLinkClick = e => onClick(e);
103
+ return React__default.createElement(Container, _extends({
104
+ height: height,
105
+ ref: forwardedRef
106
+ }, props), React__default.createElement(MetricsContainer, null, React__default.createElement(IconTotalContainer, null, React__default.createElement(IconContainer, null, icon), React__default.createElement(Total, null, total)), React__default.createElement(Label, null, label)), linkLabel && onClick && React__default.createElement(Link, {
107
+ onClick: handleLinkClick,
108
+ onMouseEnter: () => setIsLinkHovered(true),
109
+ onMouseLeave: () => setIsLinkHovered(false)
110
+ }, React__default.createElement(ButtonLink, {
111
+ $isHovered: isLinkHovered
112
+ }, linkLabel), React__default.createElement(StyledArrowIcon, {
113
+ $isHovered: isLinkHovered
114
+ })));
115
+ });
116
+ InfoCard.propTypes = process.env.NODE_ENV !== "production" ? {
117
+ icon: PropTypes.element.isRequired,
118
+ total: PropTypes.number.isRequired,
119
+ label: PropTypes.string.isRequired,
120
+ linkLabel: PropTypes.string,
121
+ onClick: PropTypes.func,
122
+ height: PropTypes.number
123
+ } : {};
124
+
125
+ export { InfoCard as default };
@@ -0,0 +1,255 @@
1
+ import { _ as _extends } from '../../_rollupPluginBabelHelpers-c245b26a.js';
2
+ import { isFunction } from 'lodash';
3
+ import { a as applyDefaultTheme, P as PropTypes } from '../../defaultTheme-1bcc2541.js';
4
+ import React__default, { useState, useEffect, useCallback } from 'react';
5
+ import { S as SvgWarningCircle } from '../../warning-circle-24f3efcd.js';
6
+ import { C as CompactAutocompleteSelect } from '../../CompactAutocompleteSelect-52c49513.js';
7
+ import { T as TextArea } from '../../TextArea-1e5b9201.js';
8
+ import styled from 'styled-components';
9
+ import 'nanoid';
10
+ import '../../Alert-e6847a22.js';
11
+ import '../../Badge-d93586a9.js';
12
+ import '../../Popover-20050b91.js';
13
+ import 'polished';
14
+ import '@tippyjs/react';
15
+ import '../../shift-away-subtle-0dd94a03.js';
16
+ import 'popper-max-size-modifier';
17
+ import '../../Tab-04d435c3.js';
18
+ import '../../Tabs-74d1ea8a.js';
19
+ import '../../Tooltip-c1d1199e.js';
20
+ import '../../VerificationStatusIcon-49cb1c1b.js';
21
+ import 'react-select';
22
+ import 'react-select-async-paginate';
23
+ import 'react-select/creatable';
24
+ import '../../close-a5d37608.js';
25
+ import '../../expand-more-c5523c46.js';
26
+ import '@restart/hooks/useMergedRefs';
27
+ import '../../edit-note-283a0e15.js';
28
+
29
+ const Instructions$1 = styled.div.attrs(applyDefaultTheme)`
30
+ display: flex;
31
+ position: relative;
32
+ flex-direction: column;
33
+ ${props => props.theme.themeProp('background', '#634E01', props.theme.getColor('signal-yellow-400'))};
34
+ `;
35
+ const TopBarContainer = styled.div.attrs(applyDefaultTheme)`
36
+ position: absolute;
37
+ display: flex;
38
+ width: 100%;
39
+ margin-top: 0;
40
+ transition: margin-top 120ms;
41
+ &&.slide-in {
42
+ margin-top: -24px;
43
+ }
44
+ ${props => props.theme.themeProp('background', '#634E01', props.theme.getColor('signal-yellow-400'))};
45
+
46
+ ${props => props.initialHover && props.theme.themeProp('background', '#634E01', props.theme.getColor('signal-yellow-400'))};
47
+ `;
48
+ const SelectContainer = styled.div.attrs(applyDefaultTheme)`
49
+ width: 100%;
50
+ margin: 0 2px;
51
+ `;
52
+ const InstructionsArea = styled.div.attrs(applyDefaultTheme)`
53
+ margin: 2px 2px -2px 2px;
54
+ `;
55
+
56
+ const Instructions = React__default.forwardRef(function Instructions({
57
+ clickToAdd,
58
+ customAddMessage,
59
+ selectedOption,
60
+ loadOptions,
61
+ readOnly,
62
+ disabled,
63
+ hidden,
64
+ name,
65
+ lightBackground,
66
+ autoSelect,
67
+ subscribeCurrentValue: subscribeCurrentValueProp,
68
+ onChange: onChangeProp,
69
+ onFocus: onFocusProp,
70
+ onBlur: onBlurProp,
71
+ onUpdateCallback,
72
+ availableOptions,
73
+ loadingMessageFunc,
74
+ placeholder,
75
+ type,
76
+ selectType,
77
+ edit,
78
+ rows,
79
+ showMore,
80
+ showMoreText,
81
+ showLessText,
82
+ isExpanded,
83
+ loadingIcon,
84
+ successIcon,
85
+ padding,
86
+ ...props
87
+ }, forwardedRef) {
88
+ const [isHovered, setIsHovered] = useState(false);
89
+ const [selected, setSelected] = useState({});
90
+ const [addInstructions, setAddInstructions] = useState(clickToAdd);
91
+ const [customMessage, setCustomMessage] = useState(customAddMessage);
92
+ const [background, setBackground] = useState(lightBackground);
93
+ const [initialHover, setInitialHover] = useState(true);
94
+ const [currentValue, setCurrentValue] = useState();
95
+ useEffect(() => {
96
+ if (isFunction(subscribeCurrentValueProp)) {
97
+ subscribeCurrentValueProp(currentValue);
98
+ }
99
+ }, [currentValue]);
100
+ useEffect(() => {
101
+ handleChange(selected);
102
+ }, [selected]);
103
+ useEffect(() => {
104
+ if (selectedOption) {
105
+ setCurrentValue(selectedOption.value);
106
+ }
107
+ }, [selectedOption]);
108
+ useEffect(() => {
109
+ if (addInstructions) {
110
+ setCurrentValue(customMessage);
111
+ setInitialHover(true);
112
+ }
113
+ }, [addInstructions, handleOnFocus]);
114
+ const onChange = useCallback(event => {
115
+ setCurrentValue(event.target.value);
116
+ if (isFunction(onChangeProp)) {
117
+ onChangeProp(event);
118
+ }
119
+ }, [onChangeProp]);
120
+ const onFocus = useCallback(event => {
121
+ if (autoSelect) {
122
+ event.target.select();
123
+ }
124
+ if (isFunction(onFocusProp)) {
125
+ onFocusProp(event);
126
+ }
127
+ if (event.target.value === customMessage) {
128
+ setCurrentValue('');
129
+ }
130
+ }, [autoSelect, readOnly, onFocusProp]);
131
+ const onBlur = useCallback(event => {
132
+ if (isFunction(onBlurProp)) {
133
+ onBlurProp(event);
134
+ }
135
+ }, [onBlurProp]);
136
+ const handleMouseOver = () => {
137
+ setIsHovered(true);
138
+ };
139
+ const handleMouseLeave = () => {
140
+ setIsHovered(false);
141
+ };
142
+ const handleOnFocus = () => {
143
+ if (customMessage === currentValue) {
144
+ setCurrentValue('');
145
+ }
146
+ };
147
+ const handleChange = selected => {
148
+ if (selected === null) {
149
+ setSelected({});
150
+ setAddInstructions(true);
151
+ setBackground(true);
152
+ setInitialHover(true);
153
+ setCustomMessage(customAddMessage);
154
+ } else {
155
+ setSelected(selected);
156
+ setCurrentValue(selected.value);
157
+ setAddInstructions(false);
158
+ setBackground(false);
159
+ setInitialHover(false);
160
+ onUpdateCallback(selected);
161
+ }
162
+ };
163
+ const sharedSelectProps = {
164
+ options: loadOptions ? undefined : availableOptions,
165
+ loadOptions: loadOptions,
166
+ loadingMessage: loadingMessageFunc,
167
+ placeholder: placeholder
168
+ };
169
+ if (hidden) return null;
170
+ return React__default.createElement(Instructions$1, _extends({
171
+ ref: forwardedRef,
172
+ initialHover: initialHover,
173
+ onMouseDown: handleMouseOver,
174
+ onMouseLeave: handleMouseLeave
175
+ }, props), !readOnly && !disabled && React__default.createElement(TopBarContainer, {
176
+ initialHover: initialHover,
177
+ className: isHovered && !readOnly && !disabled && 'slide-in'
178
+ }, React__default.createElement(SelectContainer, null, React__default.createElement(CompactAutocompleteSelect, _extends({
179
+ type: selectType,
180
+ value: selectedOption,
181
+ creatable: false,
182
+ onChange: handleChange
183
+ }, sharedSelectProps)))), React__default.createElement(InstructionsArea, {
184
+ type: type
185
+ }, React__default.createElement(TextArea, {
186
+ noBorder: true,
187
+ instructionsTextArea: true,
188
+ type: type,
189
+ lightBackground: background,
190
+ readOnly: readOnly,
191
+ disabled: disabled,
192
+ name: name,
193
+ isExpanded: isExpanded,
194
+ edit: edit,
195
+ value: currentValue === null ? '' : currentValue,
196
+ onFocus: onFocus,
197
+ onChange: onChange,
198
+ onBlur: onBlur,
199
+ rows: rows,
200
+ showMore: showMore,
201
+ showMoreText: showMoreText,
202
+ showLessText: showLessText,
203
+ icon: React__default.createElement(SvgWarningCircle, null),
204
+ loadingIcon: loadingIcon,
205
+ successIcon: successIcon,
206
+ padding: padding
207
+ })));
208
+ });
209
+ Instructions.defaultProps = {
210
+ clickToAdd: false,
211
+ lightBackground: false,
212
+ autoSelect: true,
213
+ hidden: false,
214
+ edit: false,
215
+ disabled: false,
216
+ readOnly: false,
217
+ type: '',
218
+ selectType: '',
219
+ padding: 'medium',
220
+ onUpdateCallback: () => {}
221
+ };
222
+ Instructions.propTypes = process.env.NODE_ENV !== "production" ? {
223
+ name: PropTypes.string,
224
+ placeholder: PropTypes.string,
225
+ rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
226
+ selectedOption: PropTypes.any,
227
+ loadOptions: PropTypes.func,
228
+ loadingMessageFunc: PropTypes.func,
229
+ clickToAdd: PropTypes.bool,
230
+ customAddMessage: PropTypes.string,
231
+ autoSelect: PropTypes.bool,
232
+ readOnly: PropTypes.bool,
233
+ disabled: PropTypes.bool,
234
+ hidden: PropTypes.bool,
235
+ showMore: PropTypes.bool,
236
+ showMoreText: PropTypes.string,
237
+ showLessText: PropTypes.string,
238
+ availableOptions: PropTypes.arrayOf(PropTypes.object),
239
+ lightBackground: PropTypes.bool,
240
+ edit: PropTypes.bool,
241
+ options: PropTypes.array,
242
+ subscribeCurrentValue: PropTypes.func,
243
+ onChange: PropTypes.func,
244
+ onFocus: PropTypes.func,
245
+ onBlur: PropTypes.func,
246
+ onUpdateCallback: PropTypes.func,
247
+ type: PropTypes.oneOf(['', 'error', 'error-border', 'warning', 'instructions-warning', 'loading', 'success']),
248
+ selectType: PropTypes.oneOf(['', 'error', 'warning', 'instructions-warning', 'loading', 'success']),
249
+ isExpanded: PropTypes.func,
250
+ loadingIcon: PropTypes.element,
251
+ successIcon: PropTypes.element,
252
+ padding: PropTypes.oneOf(['', 'small', 'medium', 'large'])
253
+ } : {};
254
+
255
+ export { Instructions as default };