@ntbjs/react-components 2.0.0-rc.9 → 2.0.1-rc.31

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 (723) hide show
  1. package/{esm/node_modules/@babel/runtime/helpers/esm/extends.js → build/_virtual/_rollupPluginBabelHelpers.js} +2 -1
  2. package/build/_virtual/_rollupPluginBabelHelpers.js.map +1 -0
  3. package/build/data/Alert/Alert.js +73 -0
  4. package/build/data/Alert/Alert.js.map +1 -0
  5. package/build/data/Alert/Alert.styled.js +63 -0
  6. package/build/data/Alert/Alert.styled.js.map +1 -0
  7. package/build/data/Alert/index.js +2 -0
  8. package/build/data/Alert/index.js.map +1 -0
  9. package/build/data/Badge/Badge.js +87 -0
  10. package/build/data/Badge/Badge.js.map +1 -0
  11. package/build/data/Badge/Badge.styled.js +144 -0
  12. package/build/data/Badge/Badge.styled.js.map +1 -0
  13. package/build/data/Badge/index.js +2 -0
  14. package/build/data/Badge/index.js.map +1 -0
  15. package/{esm/components → build}/data/Popover/Popover.js +35 -34
  16. package/build/data/Popover/Popover.js.map +1 -0
  17. package/{esm/components → build}/data/Popover/Popover.styled.js +40 -44
  18. package/build/data/Popover/Popover.styled.js.map +1 -0
  19. package/build/data/Popover/index.js +2 -0
  20. package/build/data/Popover/index.js.map +1 -0
  21. package/build/data/Tab/Tab.js +25 -0
  22. package/build/data/Tab/Tab.js.map +1 -0
  23. package/build/data/Tab/Tab.styled.js +18 -0
  24. package/build/data/Tab/Tab.styled.js.map +1 -0
  25. package/build/data/Tab/index.js +2 -0
  26. package/build/data/Tab/index.js.map +1 -0
  27. package/build/data/Tabs/Tabs.js +91 -0
  28. package/build/data/Tabs/Tabs.js.map +1 -0
  29. package/build/data/Tabs/Tabs.styled.js +87 -0
  30. package/build/data/Tabs/Tabs.styled.js.map +1 -0
  31. package/build/data/Tabs/index.js +2 -0
  32. package/build/data/Tabs/index.js.map +1 -0
  33. package/{esm/components → build}/data/Tooltip/Tooltip.js +20 -20
  34. package/build/data/Tooltip/Tooltip.js.map +1 -0
  35. package/build/data/Tooltip/Tooltip.styled.js +28 -0
  36. package/build/data/Tooltip/Tooltip.styled.js.map +1 -0
  37. package/build/data/Tooltip/index.js +2 -0
  38. package/build/data/Tooltip/index.js.map +1 -0
  39. package/build/data/VerificationStatusIcon/VerificationStatusIcon.js +36 -0
  40. package/build/data/VerificationStatusIcon/VerificationStatusIcon.js.map +1 -0
  41. package/build/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +62 -0
  42. package/build/data/VerificationStatusIcon/VerificationStatusIcon.styled.js.map +1 -0
  43. package/build/data/index.js +8 -0
  44. package/build/data/index.js.map +1 -0
  45. package/{esm → build}/hooks/useEventListner.js +5 -6
  46. package/build/hooks/useEventListner.js.map +1 -0
  47. package/build/hooks/useIsomorphicLayoutEffect.js +6 -0
  48. package/build/hooks/useIsomorphicLayoutEffect.js.map +1 -0
  49. package/{esm → build}/hooks/useOnClickOutside.js +2 -1
  50. package/build/hooks/useOnClickOutside.js.map +1 -0
  51. package/build/icons/add-circle.svg +3 -0
  52. package/build/icons/add.svg +3 -0
  53. package/build/icons/album.svg +3 -0
  54. package/build/icons/arrow-back.svg +4 -0
  55. package/{esm → build}/icons/arrow-back.svg.js +4 -4
  56. package/build/icons/arrow-back.svg.js.map +1 -0
  57. package/build/icons/arrow-drop-down.svg +4 -0
  58. package/build/icons/arrow-forward.svg +3 -0
  59. package/{esm → build}/icons/arrow-forward.svg.js +4 -4
  60. package/build/icons/arrow-forward.svg.js.map +1 -0
  61. package/build/icons/audio.svg +3 -0
  62. package/build/icons/bell.svg +3 -0
  63. package/build/icons/check-circle-filled.svg +3 -0
  64. package/build/icons/check-rectangle-filled.svg +3 -0
  65. package/{esm → build}/icons/check-rectangle-filled.svg.js +4 -4
  66. package/build/icons/check-rectangle-filled.svg.js.map +1 -0
  67. package/build/icons/check.svg +3 -0
  68. package/build/icons/clear-circle-filled.svg +14 -0
  69. package/build/icons/close.svg +4 -0
  70. package/{esm → build}/icons/close.svg.js +4 -4
  71. package/build/icons/close.svg.js.map +1 -0
  72. package/build/icons/corporate.svg +3 -0
  73. package/build/icons/delete-context-menu.svg +4 -0
  74. package/build/icons/delete.svg +3 -0
  75. package/build/icons/design-services.svg +4 -0
  76. package/build/icons/download.svg +3 -0
  77. package/build/icons/edit-note.svg +4 -0
  78. package/{esm → build}/icons/edit-note.svg.js +4 -4
  79. package/build/icons/edit-note.svg.js.map +1 -0
  80. package/build/icons/edit.svg +3 -0
  81. package/build/icons/expand-more.svg +4 -0
  82. package/{esm → build}/icons/expand-more.svg.js +4 -4
  83. package/build/icons/expand-more.svg.js.map +1 -0
  84. package/build/icons/file.svg +3 -0
  85. package/build/icons/ftp.svg +3 -0
  86. package/build/icons/gear.svg +3 -0
  87. package/build/icons/headset.svg +1 -0
  88. package/{esm → build}/icons/headset.svg.js +4 -4
  89. package/build/icons/headset.svg.js.map +1 -0
  90. package/build/icons/index.js +79 -0
  91. package/build/icons/layers.svg +3 -0
  92. package/{esm → build}/icons/layers.svg.js +4 -4
  93. package/build/icons/layers.svg.js.map +1 -0
  94. package/build/icons/library-add.svg +3 -0
  95. package/build/icons/link.svg +4 -0
  96. package/{esm → build}/icons/link.svg.js +4 -4
  97. package/build/icons/link.svg.js.map +1 -0
  98. package/build/icons/pdf.svg +3 -0
  99. package/build/icons/play.svg +3 -0
  100. package/{esm → build}/icons/play.svg.js +4 -4
  101. package/build/icons/play.svg.js.map +1 -0
  102. package/build/icons/remove-circle.svg +3 -0
  103. package/build/icons/search.svg +3 -0
  104. package/{esm → build}/icons/search.svg.js +4 -4
  105. package/build/icons/search.svg.js.map +1 -0
  106. package/build/icons/share.svg +3 -0
  107. package/build/icons/shopping_cart_add.svg +3 -0
  108. package/build/icons/star-filled.svg +3 -0
  109. package/{esm → build}/icons/star-filled.svg.js +4 -4
  110. package/build/icons/star-filled.svg.js.map +1 -0
  111. package/build/icons/star.svg +3 -0
  112. package/{esm → build}/icons/star.svg.js +4 -4
  113. package/build/icons/star.svg.js.map +1 -0
  114. package/build/icons/triangle-right.svg +4 -0
  115. package/{esm → build}/icons/triangle-right.svg.js +4 -4
  116. package/build/icons/triangle-right.svg.js.map +1 -0
  117. package/build/icons/verification.svg +3 -0
  118. package/{esm → build}/icons/verification.svg.js +4 -4
  119. package/build/icons/verification.svg.js.map +1 -0
  120. package/build/icons/warning-circle.svg +3 -0
  121. package/{esm → build}/icons/warning-circle.svg.js +4 -4
  122. package/build/icons/warning-circle.svg.js.map +1 -0
  123. package/build/icons/warning-triangle.svg +3 -0
  124. package/build/index.js +5 -0
  125. package/build/index.js.map +1 -0
  126. package/build/inputs/ActionButton/ActionButton.js +38 -0
  127. package/build/inputs/ActionButton/ActionButton.js.map +1 -0
  128. package/build/inputs/ActionButton/ActionButton.styled.js +64 -0
  129. package/build/inputs/ActionButton/ActionButton.styled.js.map +1 -0
  130. package/build/inputs/ActionButton/index.js +2 -0
  131. package/build/inputs/ActionButton/index.js.map +1 -0
  132. package/build/inputs/Button/Button.js +188 -0
  133. package/build/inputs/Button/Button.js.map +1 -0
  134. package/build/inputs/Button/Button.styled.js +289 -0
  135. package/build/inputs/Button/Button.styled.js.map +1 -0
  136. package/build/inputs/Button/index.js +2 -0
  137. package/build/inputs/Button/index.js.map +1 -0
  138. package/{esm/components → build}/inputs/Checkbox/Checkbox.js +16 -17
  139. package/build/inputs/Checkbox/Checkbox.js.map +1 -0
  140. package/build/inputs/Checkbox/Checkbox.styled.js +137 -0
  141. package/build/inputs/Checkbox/Checkbox.styled.js.map +1 -0
  142. package/build/inputs/Checkbox/index.js +2 -0
  143. package/build/inputs/Checkbox/index.js.map +1 -0
  144. package/{esm/components → build}/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +61 -58
  145. package/build/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js.map +1 -0
  146. package/build/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +296 -0
  147. package/build/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js.map +1 -0
  148. package/build/inputs/CompactAutocompleteSelect/index.js +2 -0
  149. package/build/inputs/CompactAutocompleteSelect/index.js.map +1 -0
  150. package/{esm/components → build}/inputs/CompactStarRating/CompactStarRating.js +56 -54
  151. package/build/inputs/CompactStarRating/CompactStarRating.js.map +1 -0
  152. package/build/inputs/CompactStarRating/CompactStarRating.styled.js +234 -0
  153. package/build/inputs/CompactStarRating/CompactStarRating.styled.js.map +1 -0
  154. package/build/inputs/CompactStarRating/index.js +2 -0
  155. package/build/inputs/CompactStarRating/index.js.map +1 -0
  156. package/{esm/components → build}/inputs/CompactTextInput/CompactTextInput.js +62 -61
  157. package/build/inputs/CompactTextInput/CompactTextInput.js.map +1 -0
  158. package/build/inputs/CompactTextInput/CompactTextInput.styled.js +352 -0
  159. package/build/inputs/CompactTextInput/CompactTextInput.styled.js.map +1 -0
  160. package/build/inputs/CompactTextInput/index.js +2 -0
  161. package/build/inputs/CompactTextInput/index.js.map +1 -0
  162. package/{esm/components → build}/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +44 -84
  163. package/build/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js.map +1 -0
  164. package/build/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +83 -0
  165. package/build/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js.map +1 -0
  166. package/build/inputs/MultiLevelCheckbox/index.js +3 -0
  167. package/build/inputs/MultiLevelCheckbox/index.js.map +1 -0
  168. package/build/inputs/MultiLevelCheckbox/types.js +27 -0
  169. package/build/inputs/MultiLevelCheckbox/types.js.map +1 -0
  170. package/{esm/components → build}/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +53 -50
  171. package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js.map +1 -0
  172. package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +118 -0
  173. package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js.map +1 -0
  174. package/build/inputs/MultiLevelCheckboxSelect/index.js +2 -0
  175. package/build/inputs/MultiLevelCheckboxSelect/index.js.map +1 -0
  176. package/{esm/components → build}/inputs/MultiSelect/MultiSelect.js +46 -92
  177. package/build/inputs/MultiSelect/MultiSelect.js.map +1 -0
  178. package/build/inputs/MultiSelect/MultiSelect.styled.js +224 -0
  179. package/build/inputs/MultiSelect/MultiSelect.styled.js.map +1 -0
  180. package/build/inputs/MultiSelect/index.js +2 -0
  181. package/build/inputs/MultiSelect/index.js.map +1 -0
  182. package/build/inputs/Radio/Radio.js +60 -0
  183. package/build/inputs/Radio/Radio.js.map +1 -0
  184. package/{esm/components → build}/inputs/Radio/Radio.styled.js +27 -24
  185. package/build/inputs/Radio/Radio.styled.js.map +1 -0
  186. package/build/inputs/Radio/index.js +2 -0
  187. package/build/inputs/Radio/index.js.map +1 -0
  188. package/{esm/components → build}/inputs/Switch/Switch.js +12 -13
  189. package/build/inputs/Switch/Switch.js.map +1 -0
  190. package/build/inputs/Switch/Switch.styled.js +117 -0
  191. package/build/inputs/Switch/Switch.styled.js.map +1 -0
  192. package/build/inputs/Switch/index.js +2 -0
  193. package/build/inputs/Switch/index.js.map +1 -0
  194. package/build/inputs/TextArea/TextArea.js +175 -0
  195. package/build/inputs/TextArea/TextArea.js.map +1 -0
  196. package/build/inputs/TextArea/TextArea.styled.js +470 -0
  197. package/build/inputs/TextArea/TextArea.styled.js.map +1 -0
  198. package/build/inputs/TextArea/index.js +2 -0
  199. package/build/inputs/TextArea/index.js.map +1 -0
  200. package/build/inputs/TextInput/TextInput.js +139 -0
  201. package/build/inputs/TextInput/TextInput.js.map +1 -0
  202. package/build/inputs/TextInput/TextInput.styled.js +249 -0
  203. package/build/inputs/TextInput/TextInput.styled.js.map +1 -0
  204. package/build/inputs/TextInput/index.js +2 -0
  205. package/build/inputs/TextInput/index.js.map +1 -0
  206. package/build/inputs/index.js +15 -0
  207. package/build/inputs/index.js.map +1 -0
  208. package/build/layout/InputGroup/InputGroup.js +20 -0
  209. package/build/layout/InputGroup/InputGroup.js.map +1 -0
  210. package/build/layout/InputGroup/InputGroup.styled.js +14 -0
  211. package/build/layout/InputGroup/InputGroup.styled.js.map +1 -0
  212. package/build/layout/SectionSeparator/SectionSeparator.js +23 -0
  213. package/build/layout/SectionSeparator/SectionSeparator.js.map +1 -0
  214. package/build/layout/SectionSeparator/SectionSeparator.styled.js +19 -0
  215. package/build/layout/SectionSeparator/SectionSeparator.styled.js.map +1 -0
  216. package/build/layout/SectionSeparator/index.js +2 -0
  217. package/build/layout/SectionSeparator/index.js.map +1 -0
  218. package/build/layout/index.js +3 -0
  219. package/build/layout/index.js.map +1 -0
  220. package/{esm/ssr → build}/ssr/index.js +1 -0
  221. package/build/ssr/index.js.map +1 -0
  222. package/build/styles/.config.scss +38 -0
  223. package/build/styles/all.scss +3 -0
  224. package/build/styles/utils/.colors.scss +15 -0
  225. package/build/styles/utils/colors-export.js +38 -0
  226. package/build/styles/utils/colors-export.js.map +1 -0
  227. package/build/styles/utils/theme.scss +35 -0
  228. package/{esm → build}/utils/dateTime.js +1 -0
  229. package/build/utils/dateTime.js.map +1 -0
  230. package/build/utils/defaultTheme.js +67 -0
  231. package/build/utils/defaultTheme.js.map +1 -0
  232. package/{esm/components → build}/widgets/AssetAction/AssetAction.js +23 -26
  233. package/build/widgets/AssetAction/AssetAction.js.map +1 -0
  234. package/build/widgets/AssetAction/AssetAction.styled.js +52 -0
  235. package/build/widgets/AssetAction/AssetAction.styled.js.map +1 -0
  236. package/build/widgets/AssetAction/index.js +2 -0
  237. package/build/widgets/AssetAction/index.js.map +1 -0
  238. package/build/widgets/AssetActionsBase/AssetActionsBase.js +29 -0
  239. package/build/widgets/AssetActionsBase/AssetActionsBase.js.map +1 -0
  240. package/build/widgets/AssetActionsBase/AssetActionsBase.styled.js +20 -0
  241. package/build/widgets/AssetActionsBase/AssetActionsBase.styled.js.map +1 -0
  242. package/build/widgets/AssetActionsBase/index.js +2 -0
  243. package/build/widgets/AssetActionsBase/index.js.map +1 -0
  244. package/{esm/components → build}/widgets/AssetGallery/AssetGallery.js +35 -34
  245. package/build/widgets/AssetGallery/AssetGallery.js.map +1 -0
  246. package/{esm/components → build}/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +65 -64
  247. package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js.map +1 -0
  248. package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +39 -0
  249. package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js.map +1 -0
  250. package/{esm/components → build}/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +122 -108
  251. package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js.map +1 -0
  252. package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +329 -0
  253. package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js.map +1 -0
  254. package/{esm/components → build}/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +132 -115
  255. package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js.map +1 -0
  256. package/{esm/components → build}/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +98 -120
  257. package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js.map +1 -0
  258. package/{esm/components → build}/widgets/AssetGallery/asset.propType.js +5 -4
  259. package/build/widgets/AssetGallery/asset.propType.js.map +1 -0
  260. package/build/widgets/AssetGallery/index.js +2 -0
  261. package/build/widgets/AssetGallery/index.js.map +1 -0
  262. package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +44 -0
  263. package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js.map +1 -0
  264. package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +88 -0
  265. package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js.map +1 -0
  266. package/build/widgets/AssetPreview/AssetPreviewTopBar/index.js +2 -0
  267. package/build/widgets/AssetPreview/AssetPreviewTopBar/index.js.map +1 -0
  268. package/build/widgets/ContextMenu/ContextMenu.js +23 -0
  269. package/build/widgets/ContextMenu/ContextMenu.js.map +1 -0
  270. package/build/widgets/ContextMenu/ContextMenu.styled.js +15 -0
  271. package/build/widgets/ContextMenu/ContextMenu.styled.js.map +1 -0
  272. package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +44 -0
  273. package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js.map +1 -0
  274. package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +86 -0
  275. package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js.map +1 -0
  276. package/build/widgets/ContextMenu/ContextMenuItem/index.js +2 -0
  277. package/build/widgets/ContextMenu/ContextMenuItem/index.js.map +1 -0
  278. package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +22 -0
  279. package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js.map +1 -0
  280. package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +26 -0
  281. package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js.map +1 -0
  282. package/build/widgets/ContextMenu/ContextMenuItemsGroup/index.js +2 -0
  283. package/build/widgets/ContextMenu/ContextMenuItemsGroup/index.js.map +1 -0
  284. package/build/widgets/ContextMenu/index.js +2 -0
  285. package/build/widgets/ContextMenu/index.js.map +1 -0
  286. package/build/widgets/InfoCard/InfoCard.js +40 -0
  287. package/build/widgets/InfoCard/InfoCard.js.map +1 -0
  288. package/build/widgets/InfoCard/InfoCard.styled.js +113 -0
  289. package/build/widgets/InfoCard/InfoCard.styled.js.map +1 -0
  290. package/build/widgets/InfoCard/index.js +2 -0
  291. package/build/widgets/InfoCard/index.js.map +1 -0
  292. package/{esm/components → build}/widgets/Instructions/Instructions.js +60 -63
  293. package/build/widgets/Instructions/Instructions.js.map +1 -0
  294. package/build/widgets/Instructions/Instructions.styled.js +32 -0
  295. package/build/widgets/Instructions/Instructions.styled.js.map +1 -0
  296. package/build/widgets/Instructions/index.js +2 -0
  297. package/build/widgets/Instructions/index.js.map +1 -0
  298. package/build/widgets/ProgressBar/ProgressBar.js +72 -0
  299. package/build/widgets/ProgressBar/ProgressBar.js.map +1 -0
  300. package/build/widgets/ProgressBar/ProgressBar.styled.js +178 -0
  301. package/build/widgets/ProgressBar/ProgressBar.styled.js.map +1 -0
  302. package/build/widgets/ProgressBar/index.js +2 -0
  303. package/build/widgets/ProgressBar/index.js.map +1 -0
  304. package/build/widgets/SummaryCard/SummaryCard.js +93 -0
  305. package/build/widgets/SummaryCard/SummaryCard.js.map +1 -0
  306. package/build/widgets/SummaryCard/SummaryCard.styled.js +137 -0
  307. package/build/widgets/SummaryCard/SummaryCard.styled.js.map +1 -0
  308. package/build/widgets/SummaryCard/index.js +2 -0
  309. package/build/widgets/SummaryCard/index.js.map +1 -0
  310. package/build/widgets/index.js +11 -0
  311. package/build/widgets/index.js.map +1 -0
  312. package/package.json +45 -60
  313. package/styles/.config.scss +38 -0
  314. package/styles/config.scss +1 -0
  315. package/styles/utils/.colors.scss +15 -0
  316. package/styles/utils/colors-export.js +35 -0
  317. package/styles/utils/colors.scss +4 -4
  318. package/.eslintrc +0 -19
  319. package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -84
  320. package/cjs/_virtual/index.js +0 -7
  321. package/cjs/_virtual/index2.js +0 -7
  322. package/cjs/_virtual/index3.js +0 -7
  323. package/cjs/_virtual/index4.js +0 -7
  324. package/cjs/_virtual/index5.js +0 -7
  325. package/cjs/_virtual/react-dom.development.js +0 -7
  326. package/cjs/_virtual/react-dom.production.js +0 -7
  327. package/cjs/_virtual/react-is.development.js +0 -7
  328. package/cjs/_virtual/react-is.development2.js +0 -7
  329. package/cjs/_virtual/react-is.production.min.js +0 -7
  330. package/cjs/_virtual/react-is.production.min2.js +0 -7
  331. package/cjs/_virtual/react.development.js +0 -7
  332. package/cjs/_virtual/react.production.js +0 -7
  333. package/cjs/components/data/Alert/Alert.js +0 -81
  334. package/cjs/components/data/Alert/Alert.styled.js +0 -72
  335. package/cjs/components/data/Alert/data/Alert/index.js +0 -9
  336. package/cjs/components/data/Badge/Badge.js +0 -93
  337. package/cjs/components/data/Badge/Badge.styled.js +0 -156
  338. package/cjs/components/data/Badge/data/Badge/index.js +0 -9
  339. package/cjs/components/data/Popover/Popover.js +0 -102
  340. package/cjs/components/data/Popover/Popover.styled.js +0 -159
  341. package/cjs/components/data/Popover/data/Popover/index.js +0 -9
  342. package/cjs/components/data/Tab/Tab.js +0 -31
  343. package/cjs/components/data/Tab/Tab.styled.js +0 -22
  344. package/cjs/components/data/Tab/data/Tab/index.js +0 -9
  345. package/cjs/components/data/Tabs/Tabs.js +0 -91
  346. package/cjs/components/data/Tabs/Tabs.styled.js +0 -97
  347. package/cjs/components/data/Tabs/data/Tabs/index.js +0 -9
  348. package/cjs/components/data/Tooltip/Tooltip.js +0 -50
  349. package/cjs/components/data/Tooltip/Tooltip.styled.js +0 -38
  350. package/cjs/components/data/Tooltip/data/Tooltip/index.js +0 -9
  351. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.js +0 -42
  352. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +0 -79
  353. package/cjs/components/data/data/index.js +0 -21
  354. package/cjs/components/inputs/ActionButton/ActionButton.js +0 -42
  355. package/cjs/components/inputs/ActionButton/ActionButton.styled.js +0 -66
  356. package/cjs/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -9
  357. package/cjs/components/inputs/Button/Button.js +0 -188
  358. package/cjs/components/inputs/Button/Button.styled.js +0 -294
  359. package/cjs/components/inputs/Button/inputs/Button/index.js +0 -9
  360. package/cjs/components/inputs/Checkbox/Checkbox.js +0 -102
  361. package/cjs/components/inputs/Checkbox/Checkbox.styled.js +0 -145
  362. package/cjs/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -9
  363. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +0 -268
  364. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -352
  365. package/cjs/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -9
  366. package/cjs/components/inputs/CompactStarRating/CompactStarRating.js +0 -178
  367. package/cjs/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -258
  368. package/cjs/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -9
  369. package/cjs/components/inputs/CompactTextInput/CompactTextInput.js +0 -187
  370. package/cjs/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -352
  371. package/cjs/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -9
  372. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +0 -253
  373. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -89
  374. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -185
  375. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -122
  376. package/cjs/components/inputs/MultiSelect/MultiSelect.js +0 -251
  377. package/cjs/components/inputs/MultiSelect/MultiSelect.styled.js +0 -279
  378. package/cjs/components/inputs/MultiSelect/inputs/MultiSelect/index.js +0 -9
  379. package/cjs/components/inputs/Radio/Radio.js +0 -67
  380. package/cjs/components/inputs/Radio/Radio.styled.js +0 -93
  381. package/cjs/components/inputs/Radio/inputs/Radio/index.js +0 -9
  382. package/cjs/components/inputs/Switch/Switch.js +0 -69
  383. package/cjs/components/inputs/Switch/Switch.styled.js +0 -123
  384. package/cjs/components/inputs/Switch/inputs/Switch/index.js +0 -9
  385. package/cjs/components/inputs/TextArea/TextArea.js +0 -186
  386. package/cjs/components/inputs/TextArea/TextArea.styled.js +0 -455
  387. package/cjs/components/inputs/TextArea/inputs/TextArea/index.js +0 -9
  388. package/cjs/components/inputs/TextInput/TextInput.js +0 -147
  389. package/cjs/components/inputs/TextInput/TextInput.styled.js +0 -276
  390. package/cjs/components/inputs/TextInput/inputs/TextInput/index.js +0 -9
  391. package/cjs/components/inputs/inputs/index.js +0 -33
  392. package/cjs/components/layout/InputGroup/InputGroup.js +0 -26
  393. package/cjs/components/layout/InputGroup/InputGroup.styled.js +0 -18
  394. package/cjs/components/layout/InputGroup/layout/InputGroup/index.js +0 -9
  395. package/cjs/components/layout/SectionSeparator/SectionSeparator.js +0 -29
  396. package/cjs/components/layout/SectionSeparator/SectionSeparator.styled.js +0 -21
  397. package/cjs/components/layout/SectionSeparator/layout/SectionSeparator/index.js +0 -9
  398. package/cjs/components/layout/layout/index.js +0 -11
  399. package/cjs/components/widgets/AssetAction/AssetAction.js +0 -106
  400. package/cjs/components/widgets/AssetAction/AssetAction.styled.js +0 -58
  401. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -35
  402. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -24
  403. package/cjs/components/widgets/AssetGallery/AssetGallery.js +0 -102
  404. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -392
  405. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -43
  406. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -402
  407. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -338
  408. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +0 -396
  409. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +0 -328
  410. package/cjs/components/widgets/AssetGallery/asset.propType.js +0 -58
  411. package/cjs/components/widgets/AssetGallery/widgets/AssetGallery/index.js +0 -9
  412. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +0 -50
  413. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +0 -96
  414. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -9
  415. package/cjs/components/widgets/ContextMenu/ContextMenu.js +0 -28
  416. package/cjs/components/widgets/ContextMenu/ContextMenu.styled.js +0 -19
  417. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -50
  418. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -93
  419. package/cjs/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +0 -9
  420. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +0 -28
  421. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +0 -30
  422. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -9
  423. package/cjs/components/widgets/ContextMenu/widgets/ContextMenu/index.js +0 -9
  424. package/cjs/components/widgets/InfoCard/InfoCard.js +0 -39
  425. package/cjs/components/widgets/InfoCard/InfoCard.styled.js +0 -110
  426. package/cjs/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -9
  427. package/cjs/components/widgets/Instructions/Instructions.js +0 -217
  428. package/cjs/components/widgets/Instructions/Instructions.styled.js +0 -47
  429. package/cjs/components/widgets/Instructions/widgets/Instructions/index.js +0 -9
  430. package/cjs/components/widgets/ProgressBar/ProgressBar.js +0 -58
  431. package/cjs/components/widgets/ProgressBar/ProgressBar.styled.js +0 -154
  432. package/cjs/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -9
  433. package/cjs/components/widgets/SummaryCard/SummaryCard.js +0 -92
  434. package/cjs/components/widgets/SummaryCard/SummaryCard.styled.js +0 -142
  435. package/cjs/components/widgets/widgets/index.js +0 -25
  436. package/cjs/hooks/useEventListner.js +0 -26
  437. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -11
  438. package/cjs/hooks/useOnClickOutside.js +0 -17
  439. package/cjs/icons/arrow-back.svg.js +0 -20
  440. package/cjs/icons/arrow-forward.svg.js +0 -20
  441. package/cjs/icons/check-rectangle-filled.svg.js +0 -20
  442. package/cjs/icons/close.svg.js +0 -20
  443. package/cjs/icons/edit-note.svg.js +0 -20
  444. package/cjs/icons/expand-more.svg.js +0 -20
  445. package/cjs/icons/headset.svg.js +0 -20
  446. package/cjs/icons/layers.svg.js +0 -20
  447. package/cjs/icons/link.svg.js +0 -20
  448. package/cjs/icons/play.svg.js +0 -20
  449. package/cjs/icons/search.svg.js +0 -20
  450. package/cjs/icons/star-filled.svg.js +0 -20
  451. package/cjs/icons/star.svg.js +0 -20
  452. package/cjs/icons/triangle-right.svg.js +0 -20
  453. package/cjs/icons/verification.svg.js +0 -20
  454. package/cjs/icons/warning-circle.svg.js +0 -20
  455. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -11
  456. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -9
  457. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -11
  458. package/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -10
  459. package/cjs/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -9
  460. package/cjs/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -19
  461. package/cjs/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -22
  462. package/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -16
  463. package/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +0 -15
  464. package/cjs/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -11
  465. package/cjs/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -20
  466. package/cjs/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -14
  467. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -9
  468. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -33
  469. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -9
  470. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -9
  471. package/cjs/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -29
  472. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  473. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -15
  474. package/cjs/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -14
  475. package/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -11
  476. package/cjs/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -14
  477. package/cjs/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -13
  478. package/cjs/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -14
  479. package/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -18
  480. package/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -13
  481. package/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -15
  482. package/cjs/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -15
  483. package/cjs/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -503
  484. package/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -59
  485. package/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -13
  486. package/cjs/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -158
  487. package/cjs/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -66
  488. package/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -240
  489. package/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -144
  490. package/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -56
  491. package/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -16
  492. package/cjs/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -60
  493. package/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -20
  494. package/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -907
  495. package/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -374
  496. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -128
  497. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -165
  498. package/cjs/node_modules/@restart/hooks/esm/useMergedRefs.js +0 -46
  499. package/cjs/node_modules/@restart/hooks/esm/useUpdateEffect.js +0 -41
  500. package/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -24
  501. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -186
  502. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -22
  503. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -13
  504. package/cjs/node_modules/memoize-one/dist/memoize-one.esm.js +0 -55
  505. package/cjs/node_modules/object-assign/index.js +0 -94
  506. package/cjs/node_modules/prop-types/checkPropTypes.js +0 -110
  507. package/cjs/node_modules/prop-types/factoryWithThrowingShims.js +0 -69
  508. package/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +0 -621
  509. package/cjs/node_modules/prop-types/index.js +0 -33
  510. package/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -16
  511. package/cjs/node_modules/prop-types/lib/has.js +0 -7
  512. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -186
  513. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -22
  514. package/cjs/node_modules/prop-types/node_modules/react-is/index.js +0 -13
  515. package/cjs/node_modules/react/cjs/react.development.js +0 -1246
  516. package/cjs/node_modules/react/cjs/react.production.js +0 -552
  517. package/cjs/node_modules/react/index.js +0 -19
  518. package/cjs/node_modules/react-dom/cjs/react-dom.development.js +0 -432
  519. package/cjs/node_modules/react-dom/cjs/react-dom.production.js +0 -218
  520. package/cjs/node_modules/react-dom/index.js +0 -44
  521. package/cjs/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -6
  522. package/cjs/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -23
  523. package/cjs/node_modules/react-select/dist/Select-aab027f3.esm.js +0 -2653
  524. package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1426
  525. package/cjs/node_modules/react-select/dist/useCreatable-84008237.esm.js +0 -101
  526. package/cjs/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -78
  527. package/cjs/node_modules/style-inject/dist/style-inject.es.js +0 -32
  528. package/cjs/node_modules/stylis/src/Enum.js +0 -24
  529. package/cjs/node_modules/stylis/src/Middleware.js +0 -37
  530. package/cjs/node_modules/stylis/src/Parser.js +0 -201
  531. package/cjs/node_modules/stylis/src/Serializer.js +0 -43
  532. package/cjs/node_modules/stylis/src/Tokenizer.js +0 -243
  533. package/cjs/node_modules/stylis/src/Utility.js +0 -134
  534. package/cjs/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -6
  535. package/cjs/node_modules/tippy.js/dist/tippy.css.js +0 -6
  536. package/cjs/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +0 -12
  537. package/cjs/ssr/ssr/index.js +0 -12
  538. package/cjs/styles/utils/colors.scss.js +0 -11
  539. package/cjs/utils/dateTime.js +0 -20
  540. package/cjs/utils/defaultTheme.js +0 -52
  541. package/doctor-storybook.log +0 -20
  542. package/esm/_virtual/_rollupPluginBabelHelpers.js +0 -74
  543. package/esm/_virtual/index.js +0 -3
  544. package/esm/_virtual/index2.js +0 -3
  545. package/esm/_virtual/index3.js +0 -3
  546. package/esm/_virtual/index4.js +0 -3
  547. package/esm/_virtual/index5.js +0 -3
  548. package/esm/_virtual/react-dom.development.js +0 -3
  549. package/esm/_virtual/react-dom.production.js +0 -3
  550. package/esm/_virtual/react-is.development.js +0 -3
  551. package/esm/_virtual/react-is.development2.js +0 -3
  552. package/esm/_virtual/react-is.production.min.js +0 -3
  553. package/esm/_virtual/react-is.production.min2.js +0 -3
  554. package/esm/_virtual/react.development.js +0 -3
  555. package/esm/_virtual/react.production.js +0 -3
  556. package/esm/components/data/Alert/Alert.js +0 -77
  557. package/esm/components/data/Alert/Alert.styled.js +0 -63
  558. package/esm/components/data/Alert/data/Alert/index.js +0 -1
  559. package/esm/components/data/Badge/Badge.js +0 -89
  560. package/esm/components/data/Badge/Badge.styled.js +0 -145
  561. package/esm/components/data/Badge/data/Badge/index.js +0 -1
  562. package/esm/components/data/Popover/data/Popover/index.js +0 -1
  563. package/esm/components/data/Tab/Tab.js +0 -27
  564. package/esm/components/data/Tab/Tab.styled.js +0 -14
  565. package/esm/components/data/Tab/data/Tab/index.js +0 -1
  566. package/esm/components/data/Tabs/Tabs.js +0 -87
  567. package/esm/components/data/Tabs/Tabs.styled.js +0 -85
  568. package/esm/components/data/Tabs/data/Tabs/index.js +0 -1
  569. package/esm/components/data/Tooltip/Tooltip.styled.js +0 -29
  570. package/esm/components/data/Tooltip/data/Tooltip/index.js +0 -1
  571. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.js +0 -38
  572. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +0 -69
  573. package/esm/components/data/data/index.js +0 -7
  574. package/esm/components/inputs/ActionButton/ActionButton.js +0 -38
  575. package/esm/components/inputs/ActionButton/ActionButton.styled.js +0 -58
  576. package/esm/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -1
  577. package/esm/components/inputs/Button/Button.js +0 -184
  578. package/esm/components/inputs/Button/Button.styled.js +0 -277
  579. package/esm/components/inputs/Button/inputs/Button/index.js +0 -1
  580. package/esm/components/inputs/Checkbox/Checkbox.styled.js +0 -132
  581. package/esm/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -1
  582. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -324
  583. package/esm/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -1
  584. package/esm/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -245
  585. package/esm/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -1
  586. package/esm/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -335
  587. package/esm/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -1
  588. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -75
  589. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -104
  590. package/esm/components/inputs/MultiSelect/MultiSelect.styled.js +0 -251
  591. package/esm/components/inputs/MultiSelect/inputs/MultiSelect/index.js +0 -1
  592. package/esm/components/inputs/Radio/Radio.js +0 -63
  593. package/esm/components/inputs/Radio/inputs/Radio/index.js +0 -1
  594. package/esm/components/inputs/Switch/Switch.styled.js +0 -110
  595. package/esm/components/inputs/Switch/inputs/Switch/index.js +0 -1
  596. package/esm/components/inputs/TextArea/TextArea.js +0 -182
  597. package/esm/components/inputs/TextArea/TextArea.styled.js +0 -437
  598. package/esm/components/inputs/TextArea/inputs/TextArea/index.js +0 -1
  599. package/esm/components/inputs/TextInput/TextInput.js +0 -143
  600. package/esm/components/inputs/TextInput/TextInput.styled.js +0 -261
  601. package/esm/components/inputs/TextInput/inputs/TextInput/index.js +0 -1
  602. package/esm/components/inputs/inputs/index.js +0 -13
  603. package/esm/components/layout/InputGroup/InputGroup.js +0 -22
  604. package/esm/components/layout/InputGroup/InputGroup.styled.js +0 -10
  605. package/esm/components/layout/InputGroup/layout/InputGroup/index.js +0 -1
  606. package/esm/components/layout/SectionSeparator/SectionSeparator.js +0 -25
  607. package/esm/components/layout/SectionSeparator/SectionSeparator.styled.js +0 -13
  608. package/esm/components/layout/SectionSeparator/layout/SectionSeparator/index.js +0 -1
  609. package/esm/components/layout/layout/index.js +0 -2
  610. package/esm/components/widgets/AssetAction/AssetAction.styled.js +0 -46
  611. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -31
  612. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -16
  613. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -33
  614. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -311
  615. package/esm/components/widgets/AssetGallery/widgets/AssetGallery/index.js +0 -1
  616. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +0 -46
  617. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +0 -84
  618. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -1
  619. package/esm/components/widgets/ContextMenu/ContextMenu.js +0 -24
  620. package/esm/components/widgets/ContextMenu/ContextMenu.styled.js +0 -11
  621. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -46
  622. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -83
  623. package/esm/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +0 -1
  624. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +0 -24
  625. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +0 -22
  626. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -1
  627. package/esm/components/widgets/ContextMenu/widgets/ContextMenu/index.js +0 -1
  628. package/esm/components/widgets/InfoCard/InfoCard.js +0 -35
  629. package/esm/components/widgets/InfoCard/InfoCard.styled.js +0 -94
  630. package/esm/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -1
  631. package/esm/components/widgets/Instructions/Instructions.styled.js +0 -36
  632. package/esm/components/widgets/Instructions/widgets/Instructions/index.js +0 -1
  633. package/esm/components/widgets/ProgressBar/ProgressBar.js +0 -54
  634. package/esm/components/widgets/ProgressBar/ProgressBar.styled.js +0 -137
  635. package/esm/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -1
  636. package/esm/components/widgets/SummaryCard/SummaryCard.js +0 -88
  637. package/esm/components/widgets/SummaryCard/SummaryCard.styled.js +0 -124
  638. package/esm/components/widgets/widgets/index.js +0 -9
  639. package/esm/hooks/useIsomorphicLayoutEffect.js +0 -7
  640. package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -7
  641. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -5
  642. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -7
  643. package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -6
  644. package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  645. package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
  646. package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -18
  647. package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -12
  648. package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -7
  649. package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -16
  650. package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -10
  651. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -5
  652. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  653. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -5
  654. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -5
  655. package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -25
  656. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -15
  657. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -11
  658. package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -10
  659. package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
  660. package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
  661. package/esm/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -9
  662. package/esm/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -10
  663. package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
  664. package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
  665. package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
  666. package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -11
  667. package/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -499
  668. package/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -55
  669. package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
  670. package/esm/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -149
  671. package/esm/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -56
  672. package/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -236
  673. package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -140
  674. package/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -52
  675. package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -12
  676. package/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -54
  677. package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -16
  678. package/esm/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -894
  679. package/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -370
  680. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -110
  681. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -138
  682. package/esm/node_modules/@restart/hooks/esm/useMergedRefs.js +0 -41
  683. package/esm/node_modules/@restart/hooks/esm/useUpdateEffect.js +0 -37
  684. package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -22
  685. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -181
  686. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -17
  687. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -11
  688. package/esm/node_modules/memoize-one/dist/memoize-one.esm.js +0 -51
  689. package/esm/node_modules/object-assign/index.js +0 -90
  690. package/esm/node_modules/prop-types/checkPropTypes.js +0 -106
  691. package/esm/node_modules/prop-types/factoryWithThrowingShims.js +0 -65
  692. package/esm/node_modules/prop-types/factoryWithTypeCheckers.js +0 -617
  693. package/esm/node_modules/prop-types/index.js +0 -29
  694. package/esm/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
  695. package/esm/node_modules/prop-types/lib/has.js +0 -3
  696. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -181
  697. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -17
  698. package/esm/node_modules/prop-types/node_modules/react-is/index.js +0 -11
  699. package/esm/node_modules/react/cjs/react.development.js +0 -1244
  700. package/esm/node_modules/react/cjs/react.production.js +0 -547
  701. package/esm/node_modules/react/index.js +0 -15
  702. package/esm/node_modules/react-dom/cjs/react-dom.development.js +0 -427
  703. package/esm/node_modules/react-dom/cjs/react-dom.production.js +0 -213
  704. package/esm/node_modules/react-dom/index.js +0 -42
  705. package/esm/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -4
  706. package/esm/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -19
  707. package/esm/node_modules/react-select/dist/Select-aab027f3.esm.js +0 -2644
  708. package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1385
  709. package/esm/node_modules/react-select/dist/useCreatable-84008237.esm.js +0 -97
  710. package/esm/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -74
  711. package/esm/node_modules/style-inject/dist/style-inject.es.js +0 -28
  712. package/esm/node_modules/stylis/src/Enum.js +0 -12
  713. package/esm/node_modules/stylis/src/Middleware.js +0 -32
  714. package/esm/node_modules/stylis/src/Parser.js +0 -193
  715. package/esm/node_modules/stylis/src/Serializer.js +0 -38
  716. package/esm/node_modules/stylis/src/Tokenizer.js +0 -223
  717. package/esm/node_modules/stylis/src/Utility.js +0 -117
  718. package/esm/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -4
  719. package/esm/node_modules/tippy.js/dist/tippy.css.js +0 -4
  720. package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +0 -8
  721. package/esm/styles/utils/colors.scss.js +0 -7
  722. package/esm/utils/defaultTheme.js +0 -47
  723. package/migration-storybook.log +0 -392
@@ -1,907 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var floatingUi_utils = require('../../utils/dist/floating-ui.utils.mjs.js');
6
-
7
- /**
8
- * Resolves with an object of overflow side offsets that determine how much the
9
- * element is overflowing a given clipping boundary on each side.
10
- * - positive = overflowing the boundary by that number of pixels
11
- * - negative = how many pixels left before it will overflow
12
- * - 0 = lies flush with the boundary
13
- * @see https://floating-ui.com/docs/detectOverflow
14
- */
15
- async function detectOverflow(state, options) {
16
- var _await$platform$isEle;
17
- if (options === void 0) {
18
- options = {};
19
- }
20
- const {
21
- x,
22
- y,
23
- platform,
24
- rects,
25
- elements,
26
- strategy
27
- } = state;
28
- const {
29
- boundary = 'clippingAncestors',
30
- rootBoundary = 'viewport',
31
- elementContext = 'floating',
32
- altBoundary = false,
33
- padding = 0
34
- } = floatingUi_utils.evaluate(options, state);
35
- const paddingObject = floatingUi_utils.getPaddingObject(padding);
36
- const altContext = elementContext === 'floating' ? 'reference' : 'floating';
37
- const element = elements[altBoundary ? altContext : elementContext];
38
- const clippingClientRect = floatingUi_utils.rectToClientRect(await platform.getClippingRect({
39
- element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
40
- boundary,
41
- rootBoundary,
42
- strategy
43
- }));
44
- const rect = elementContext === 'floating' ? {
45
- x,
46
- y,
47
- width: rects.floating.width,
48
- height: rects.floating.height
49
- } : rects.reference;
50
- const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
51
- const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
52
- x: 1,
53
- y: 1
54
- } : {
55
- x: 1,
56
- y: 1
57
- };
58
- const elementClientRect = floatingUi_utils.rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
59
- elements,
60
- rect,
61
- offsetParent,
62
- strategy
63
- }) : rect);
64
- return {
65
- top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
66
- bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
67
- left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
68
- right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
69
- };
70
- }
71
-
72
- /**
73
- * Provides data to position an inner element of the floating element so that it
74
- * appears centered to the reference element.
75
- * @see https://floating-ui.com/docs/arrow
76
- */
77
- const arrow = options => ({
78
- name: 'arrow',
79
- options,
80
- async fn(state) {
81
- const {
82
- x,
83
- y,
84
- placement,
85
- rects,
86
- platform,
87
- elements,
88
- middlewareData
89
- } = state;
90
- // Since `element` is required, we don't Partial<> the type.
91
- const {
92
- element,
93
- padding = 0
94
- } = floatingUi_utils.evaluate(options, state) || {};
95
- if (element == null) {
96
- return {};
97
- }
98
- const paddingObject = floatingUi_utils.getPaddingObject(padding);
99
- const coords = {
100
- x,
101
- y
102
- };
103
- const axis = floatingUi_utils.getAlignmentAxis(placement);
104
- const length = floatingUi_utils.getAxisLength(axis);
105
- const arrowDimensions = await platform.getDimensions(element);
106
- const isYAxis = axis === 'y';
107
- const minProp = isYAxis ? 'top' : 'left';
108
- const maxProp = isYAxis ? 'bottom' : 'right';
109
- const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
110
- const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
111
- const startDiff = coords[axis] - rects.reference[axis];
112
- const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
113
- let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
114
-
115
- // DOM platform can return `window` as the `offsetParent`.
116
- if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
117
- clientSize = elements.floating[clientProp] || rects.floating[length];
118
- }
119
- const centerToReference = endDiff / 2 - startDiff / 2;
120
-
121
- // If the padding is large enough that it causes the arrow to no longer be
122
- // centered, modify the padding so that it is centered.
123
- const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
124
- const minPadding = floatingUi_utils.min(paddingObject[minProp], largestPossiblePadding);
125
- const maxPadding = floatingUi_utils.min(paddingObject[maxProp], largestPossiblePadding);
126
-
127
- // Make sure the arrow doesn't overflow the floating element if the center
128
- // point is outside the floating element's bounds.
129
- const min$1 = minPadding;
130
- const max = clientSize - arrowDimensions[length] - maxPadding;
131
- const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
132
- const offset = floatingUi_utils.clamp(min$1, center, max);
133
-
134
- // If the reference is small enough that the arrow's padding causes it to
135
- // to point to nothing for an aligned placement, adjust the offset of the
136
- // floating element itself. To ensure `shift()` continues to take action,
137
- // a single reset is performed when this is true.
138
- const shouldAddOffset = !middlewareData.arrow && floatingUi_utils.getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
139
- const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
140
- return {
141
- [axis]: coords[axis] + alignmentOffset,
142
- data: {
143
- [axis]: offset,
144
- centerOffset: center - offset - alignmentOffset,
145
- ...(shouldAddOffset && {
146
- alignmentOffset
147
- })
148
- },
149
- reset: shouldAddOffset
150
- };
151
- }
152
- });
153
-
154
- function getPlacementList(alignment, autoAlignment, allowedPlacements) {
155
- const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => floatingUi_utils.getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => floatingUi_utils.getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => floatingUi_utils.getSide(placement) === placement);
156
- return allowedPlacementsSortedByAlignment.filter(placement => {
157
- if (alignment) {
158
- return floatingUi_utils.getAlignment(placement) === alignment || (autoAlignment ? floatingUi_utils.getOppositeAlignmentPlacement(placement) !== placement : false);
159
- }
160
- return true;
161
- });
162
- }
163
- /**
164
- * Optimizes the visibility of the floating element by choosing the placement
165
- * that has the most space available automatically, without needing to specify a
166
- * preferred placement. Alternative to `flip`.
167
- * @see https://floating-ui.com/docs/autoPlacement
168
- */
169
- const autoPlacement = function (options) {
170
- if (options === void 0) {
171
- options = {};
172
- }
173
- return {
174
- name: 'autoPlacement',
175
- options,
176
- async fn(state) {
177
- var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
178
- const {
179
- rects,
180
- middlewareData,
181
- placement,
182
- platform,
183
- elements
184
- } = state;
185
- const {
186
- crossAxis = false,
187
- alignment,
188
- allowedPlacements = floatingUi_utils.placements,
189
- autoAlignment = true,
190
- ...detectOverflowOptions
191
- } = floatingUi_utils.evaluate(options, state);
192
- const placements$1 = alignment !== undefined || allowedPlacements === floatingUi_utils.placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
193
- const overflow = await detectOverflow(state, detectOverflowOptions);
194
- const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
195
- const currentPlacement = placements$1[currentIndex];
196
- if (currentPlacement == null) {
197
- return {};
198
- }
199
- const alignmentSides = floatingUi_utils.getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
200
-
201
- // Make `computeCoords` start from the right place.
202
- if (placement !== currentPlacement) {
203
- return {
204
- reset: {
205
- placement: placements$1[0]
206
- }
207
- };
208
- }
209
- const currentOverflows = [overflow[floatingUi_utils.getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
210
- const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
211
- placement: currentPlacement,
212
- overflows: currentOverflows
213
- }];
214
- const nextPlacement = placements$1[currentIndex + 1];
215
-
216
- // There are more placements to check.
217
- if (nextPlacement) {
218
- return {
219
- data: {
220
- index: currentIndex + 1,
221
- overflows: allOverflows
222
- },
223
- reset: {
224
- placement: nextPlacement
225
- }
226
- };
227
- }
228
- const placementsSortedByMostSpace = allOverflows.map(d => {
229
- const alignment = floatingUi_utils.getAlignment(d.placement);
230
- return [d.placement, alignment && crossAxis ?
231
- // Check along the mainAxis and main crossAxis side.
232
- d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
233
- // Check only the mainAxis.
234
- d.overflows[0], d.overflows];
235
- }).sort((a, b) => a[1] - b[1]);
236
- const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
237
- // Aligned placements should not check their opposite crossAxis
238
- // side.
239
- floatingUi_utils.getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
240
- const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
241
- if (resetPlacement !== placement) {
242
- return {
243
- data: {
244
- index: currentIndex + 1,
245
- overflows: allOverflows
246
- },
247
- reset: {
248
- placement: resetPlacement
249
- }
250
- };
251
- }
252
- return {};
253
- }
254
- };
255
- };
256
-
257
- /**
258
- * Optimizes the visibility of the floating element by flipping the `placement`
259
- * in order to keep it in view when the preferred placement(s) will overflow the
260
- * clipping boundary. Alternative to `autoPlacement`.
261
- * @see https://floating-ui.com/docs/flip
262
- */
263
- const flip = function (options) {
264
- if (options === void 0) {
265
- options = {};
266
- }
267
- return {
268
- name: 'flip',
269
- options,
270
- async fn(state) {
271
- var _middlewareData$arrow, _middlewareData$flip;
272
- const {
273
- placement,
274
- middlewareData,
275
- rects,
276
- initialPlacement,
277
- platform,
278
- elements
279
- } = state;
280
- const {
281
- mainAxis: checkMainAxis = true,
282
- crossAxis: checkCrossAxis = true,
283
- fallbackPlacements: specifiedFallbackPlacements,
284
- fallbackStrategy = 'bestFit',
285
- fallbackAxisSideDirection = 'none',
286
- flipAlignment = true,
287
- ...detectOverflowOptions
288
- } = floatingUi_utils.evaluate(options, state);
289
-
290
- // If a reset by the arrow was caused due to an alignment offset being
291
- // added, we should skip any logic now since `flip()` has already done its
292
- // work.
293
- // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
294
- if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
295
- return {};
296
- }
297
- const side = floatingUi_utils.getSide(placement);
298
- const initialSideAxis = floatingUi_utils.getSideAxis(initialPlacement);
299
- const isBasePlacement = floatingUi_utils.getSide(initialPlacement) === initialPlacement;
300
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
301
- const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [floatingUi_utils.getOppositePlacement(initialPlacement)] : floatingUi_utils.getExpandedPlacements(initialPlacement));
302
- const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
303
- if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
304
- fallbackPlacements.push(...floatingUi_utils.getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
305
- }
306
- const placements = [initialPlacement, ...fallbackPlacements];
307
- const overflow = await detectOverflow(state, detectOverflowOptions);
308
- const overflows = [];
309
- let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
310
- if (checkMainAxis) {
311
- overflows.push(overflow[side]);
312
- }
313
- if (checkCrossAxis) {
314
- const sides = floatingUi_utils.getAlignmentSides(placement, rects, rtl);
315
- overflows.push(overflow[sides[0]], overflow[sides[1]]);
316
- }
317
- overflowsData = [...overflowsData, {
318
- placement,
319
- overflows
320
- }];
321
-
322
- // One or more sides is overflowing.
323
- if (!overflows.every(side => side <= 0)) {
324
- var _middlewareData$flip2, _overflowsData$filter;
325
- const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
326
- const nextPlacement = placements[nextIndex];
327
- if (nextPlacement) {
328
- // Try next placement and re-run the lifecycle.
329
- return {
330
- data: {
331
- index: nextIndex,
332
- overflows: overflowsData
333
- },
334
- reset: {
335
- placement: nextPlacement
336
- }
337
- };
338
- }
339
-
340
- // First, find the candidates that fit on the mainAxis side of overflow,
341
- // then find the placement that fits the best on the main crossAxis side.
342
- let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
343
-
344
- // Otherwise fallback.
345
- if (!resetPlacement) {
346
- switch (fallbackStrategy) {
347
- case 'bestFit':
348
- {
349
- var _overflowsData$filter2;
350
- const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
351
- if (hasFallbackAxisSideDirection) {
352
- const currentSideAxis = floatingUi_utils.getSideAxis(d.placement);
353
- return currentSideAxis === initialSideAxis ||
354
- // Create a bias to the `y` side axis due to horizontal
355
- // reading directions favoring greater width.
356
- currentSideAxis === 'y';
357
- }
358
- return true;
359
- }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
360
- if (placement) {
361
- resetPlacement = placement;
362
- }
363
- break;
364
- }
365
- case 'initialPlacement':
366
- resetPlacement = initialPlacement;
367
- break;
368
- }
369
- }
370
- if (placement !== resetPlacement) {
371
- return {
372
- reset: {
373
- placement: resetPlacement
374
- }
375
- };
376
- }
377
- }
378
- return {};
379
- }
380
- };
381
- };
382
-
383
- function getSideOffsets(overflow, rect) {
384
- return {
385
- top: overflow.top - rect.height,
386
- right: overflow.right - rect.width,
387
- bottom: overflow.bottom - rect.height,
388
- left: overflow.left - rect.width
389
- };
390
- }
391
- function isAnySideFullyClipped(overflow) {
392
- return floatingUi_utils.sides.some(side => overflow[side] >= 0);
393
- }
394
- /**
395
- * Provides data to hide the floating element in applicable situations, such as
396
- * when it is not in the same clipping context as the reference element.
397
- * @see https://floating-ui.com/docs/hide
398
- */
399
- const hide = function (options) {
400
- if (options === void 0) {
401
- options = {};
402
- }
403
- return {
404
- name: 'hide',
405
- options,
406
- async fn(state) {
407
- const {
408
- rects
409
- } = state;
410
- const {
411
- strategy = 'referenceHidden',
412
- ...detectOverflowOptions
413
- } = floatingUi_utils.evaluate(options, state);
414
- switch (strategy) {
415
- case 'referenceHidden':
416
- {
417
- const overflow = await detectOverflow(state, {
418
- ...detectOverflowOptions,
419
- elementContext: 'reference'
420
- });
421
- const offsets = getSideOffsets(overflow, rects.reference);
422
- return {
423
- data: {
424
- referenceHiddenOffsets: offsets,
425
- referenceHidden: isAnySideFullyClipped(offsets)
426
- }
427
- };
428
- }
429
- case 'escaped':
430
- {
431
- const overflow = await detectOverflow(state, {
432
- ...detectOverflowOptions,
433
- altBoundary: true
434
- });
435
- const offsets = getSideOffsets(overflow, rects.floating);
436
- return {
437
- data: {
438
- escapedOffsets: offsets,
439
- escaped: isAnySideFullyClipped(offsets)
440
- }
441
- };
442
- }
443
- default:
444
- {
445
- return {};
446
- }
447
- }
448
- }
449
- };
450
- };
451
-
452
- function getBoundingRect(rects) {
453
- const minX = floatingUi_utils.min(...rects.map(rect => rect.left));
454
- const minY = floatingUi_utils.min(...rects.map(rect => rect.top));
455
- const maxX = floatingUi_utils.max(...rects.map(rect => rect.right));
456
- const maxY = floatingUi_utils.max(...rects.map(rect => rect.bottom));
457
- return {
458
- x: minX,
459
- y: minY,
460
- width: maxX - minX,
461
- height: maxY - minY
462
- };
463
- }
464
- function getRectsByLine(rects) {
465
- const sortedRects = rects.slice().sort((a, b) => a.y - b.y);
466
- const groups = [];
467
- let prevRect = null;
468
- for (let i = 0; i < sortedRects.length; i++) {
469
- const rect = sortedRects[i];
470
- if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {
471
- groups.push([rect]);
472
- } else {
473
- groups[groups.length - 1].push(rect);
474
- }
475
- prevRect = rect;
476
- }
477
- return groups.map(rect => floatingUi_utils.rectToClientRect(getBoundingRect(rect)));
478
- }
479
- /**
480
- * Provides improved positioning for inline reference elements that can span
481
- * over multiple lines, such as hyperlinks or range selections.
482
- * @see https://floating-ui.com/docs/inline
483
- */
484
- const inline = function (options) {
485
- if (options === void 0) {
486
- options = {};
487
- }
488
- return {
489
- name: 'inline',
490
- options,
491
- async fn(state) {
492
- const {
493
- placement,
494
- elements,
495
- rects,
496
- platform,
497
- strategy
498
- } = state;
499
- // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a
500
- // ClientRect's bounds, despite the event listener being triggered. A
501
- // padding of 2 seems to handle this issue.
502
- const {
503
- padding = 2,
504
- x,
505
- y
506
- } = floatingUi_utils.evaluate(options, state);
507
- const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);
508
- const clientRects = getRectsByLine(nativeClientRects);
509
- const fallback = floatingUi_utils.rectToClientRect(getBoundingRect(nativeClientRects));
510
- const paddingObject = floatingUi_utils.getPaddingObject(padding);
511
- function getBoundingClientRect() {
512
- // There are two rects and they are disjoined.
513
- if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {
514
- // Find the first rect in which the point is fully inside.
515
- return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;
516
- }
517
-
518
- // There are 2 or more connected rects.
519
- if (clientRects.length >= 2) {
520
- if (floatingUi_utils.getSideAxis(placement) === 'y') {
521
- const firstRect = clientRects[0];
522
- const lastRect = clientRects[clientRects.length - 1];
523
- const isTop = floatingUi_utils.getSide(placement) === 'top';
524
- const top = firstRect.top;
525
- const bottom = lastRect.bottom;
526
- const left = isTop ? firstRect.left : lastRect.left;
527
- const right = isTop ? firstRect.right : lastRect.right;
528
- const width = right - left;
529
- const height = bottom - top;
530
- return {
531
- top,
532
- bottom,
533
- left,
534
- right,
535
- width,
536
- height,
537
- x: left,
538
- y: top
539
- };
540
- }
541
- const isLeftSide = floatingUi_utils.getSide(placement) === 'left';
542
- const maxRight = floatingUi_utils.max(...clientRects.map(rect => rect.right));
543
- const minLeft = floatingUi_utils.min(...clientRects.map(rect => rect.left));
544
- const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);
545
- const top = measureRects[0].top;
546
- const bottom = measureRects[measureRects.length - 1].bottom;
547
- const left = minLeft;
548
- const right = maxRight;
549
- const width = right - left;
550
- const height = bottom - top;
551
- return {
552
- top,
553
- bottom,
554
- left,
555
- right,
556
- width,
557
- height,
558
- x: left,
559
- y: top
560
- };
561
- }
562
- return fallback;
563
- }
564
- const resetRects = await platform.getElementRects({
565
- reference: {
566
- getBoundingClientRect
567
- },
568
- floating: elements.floating,
569
- strategy
570
- });
571
- if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {
572
- return {
573
- reset: {
574
- rects: resetRects
575
- }
576
- };
577
- }
578
- return {};
579
- }
580
- };
581
- };
582
-
583
- // For type backwards-compatibility, the `OffsetOptions` type was also
584
- // Derivable.
585
-
586
- async function convertValueToCoords(state, options) {
587
- const {
588
- placement,
589
- platform,
590
- elements
591
- } = state;
592
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
593
- const side = floatingUi_utils.getSide(placement);
594
- const alignment = floatingUi_utils.getAlignment(placement);
595
- const isVertical = floatingUi_utils.getSideAxis(placement) === 'y';
596
- const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
597
- const crossAxisMulti = rtl && isVertical ? -1 : 1;
598
- const rawValue = floatingUi_utils.evaluate(options, state);
599
-
600
- // eslint-disable-next-line prefer-const
601
- let {
602
- mainAxis,
603
- crossAxis,
604
- alignmentAxis
605
- } = typeof rawValue === 'number' ? {
606
- mainAxis: rawValue,
607
- crossAxis: 0,
608
- alignmentAxis: null
609
- } : {
610
- mainAxis: rawValue.mainAxis || 0,
611
- crossAxis: rawValue.crossAxis || 0,
612
- alignmentAxis: rawValue.alignmentAxis
613
- };
614
- if (alignment && typeof alignmentAxis === 'number') {
615
- crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
616
- }
617
- return isVertical ? {
618
- x: crossAxis * crossAxisMulti,
619
- y: mainAxis * mainAxisMulti
620
- } : {
621
- x: mainAxis * mainAxisMulti,
622
- y: crossAxis * crossAxisMulti
623
- };
624
- }
625
-
626
- /**
627
- * Modifies the placement by translating the floating element along the
628
- * specified axes.
629
- * A number (shorthand for `mainAxis` or distance), or an axes configuration
630
- * object may be passed.
631
- * @see https://floating-ui.com/docs/offset
632
- */
633
- const offset = function (options) {
634
- if (options === void 0) {
635
- options = 0;
636
- }
637
- return {
638
- name: 'offset',
639
- options,
640
- async fn(state) {
641
- var _middlewareData$offse, _middlewareData$arrow;
642
- const {
643
- x,
644
- y,
645
- placement,
646
- middlewareData
647
- } = state;
648
- const diffCoords = await convertValueToCoords(state, options);
649
-
650
- // If the placement is the same and the arrow caused an alignment offset
651
- // then we don't need to change the positioning coordinates.
652
- if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
653
- return {};
654
- }
655
- return {
656
- x: x + diffCoords.x,
657
- y: y + diffCoords.y,
658
- data: {
659
- ...diffCoords,
660
- placement
661
- }
662
- };
663
- }
664
- };
665
- };
666
-
667
- /**
668
- * Optimizes the visibility of the floating element by shifting it in order to
669
- * keep it in view when it will overflow the clipping boundary.
670
- * @see https://floating-ui.com/docs/shift
671
- */
672
- const shift = function (options) {
673
- if (options === void 0) {
674
- options = {};
675
- }
676
- return {
677
- name: 'shift',
678
- options,
679
- async fn(state) {
680
- const {
681
- x,
682
- y,
683
- placement
684
- } = state;
685
- const {
686
- mainAxis: checkMainAxis = true,
687
- crossAxis: checkCrossAxis = false,
688
- limiter = {
689
- fn: _ref => {
690
- let {
691
- x,
692
- y
693
- } = _ref;
694
- return {
695
- x,
696
- y
697
- };
698
- }
699
- },
700
- ...detectOverflowOptions
701
- } = floatingUi_utils.evaluate(options, state);
702
- const coords = {
703
- x,
704
- y
705
- };
706
- const overflow = await detectOverflow(state, detectOverflowOptions);
707
- const crossAxis = floatingUi_utils.getSideAxis(floatingUi_utils.getSide(placement));
708
- const mainAxis = floatingUi_utils.getOppositeAxis(crossAxis);
709
- let mainAxisCoord = coords[mainAxis];
710
- let crossAxisCoord = coords[crossAxis];
711
- if (checkMainAxis) {
712
- const minSide = mainAxis === 'y' ? 'top' : 'left';
713
- const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
714
- const min = mainAxisCoord + overflow[minSide];
715
- const max = mainAxisCoord - overflow[maxSide];
716
- mainAxisCoord = floatingUi_utils.clamp(min, mainAxisCoord, max);
717
- }
718
- if (checkCrossAxis) {
719
- const minSide = crossAxis === 'y' ? 'top' : 'left';
720
- const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
721
- const min = crossAxisCoord + overflow[minSide];
722
- const max = crossAxisCoord - overflow[maxSide];
723
- crossAxisCoord = floatingUi_utils.clamp(min, crossAxisCoord, max);
724
- }
725
- const limitedCoords = limiter.fn({
726
- ...state,
727
- [mainAxis]: mainAxisCoord,
728
- [crossAxis]: crossAxisCoord
729
- });
730
- return {
731
- ...limitedCoords,
732
- data: {
733
- x: limitedCoords.x - x,
734
- y: limitedCoords.y - y,
735
- enabled: {
736
- [mainAxis]: checkMainAxis,
737
- [crossAxis]: checkCrossAxis
738
- }
739
- }
740
- };
741
- }
742
- };
743
- };
744
- /**
745
- * Built-in `limiter` that will stop `shift()` at a certain point.
746
- */
747
- const limitShift = function (options) {
748
- if (options === void 0) {
749
- options = {};
750
- }
751
- return {
752
- options,
753
- fn(state) {
754
- const {
755
- x,
756
- y,
757
- placement,
758
- rects,
759
- middlewareData
760
- } = state;
761
- const {
762
- offset = 0,
763
- mainAxis: checkMainAxis = true,
764
- crossAxis: checkCrossAxis = true
765
- } = floatingUi_utils.evaluate(options, state);
766
- const coords = {
767
- x,
768
- y
769
- };
770
- const crossAxis = floatingUi_utils.getSideAxis(placement);
771
- const mainAxis = floatingUi_utils.getOppositeAxis(crossAxis);
772
- let mainAxisCoord = coords[mainAxis];
773
- let crossAxisCoord = coords[crossAxis];
774
- const rawOffset = floatingUi_utils.evaluate(offset, state);
775
- const computedOffset = typeof rawOffset === 'number' ? {
776
- mainAxis: rawOffset,
777
- crossAxis: 0
778
- } : {
779
- mainAxis: 0,
780
- crossAxis: 0,
781
- ...rawOffset
782
- };
783
- if (checkMainAxis) {
784
- const len = mainAxis === 'y' ? 'height' : 'width';
785
- const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
786
- const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
787
- if (mainAxisCoord < limitMin) {
788
- mainAxisCoord = limitMin;
789
- } else if (mainAxisCoord > limitMax) {
790
- mainAxisCoord = limitMax;
791
- }
792
- }
793
- if (checkCrossAxis) {
794
- var _middlewareData$offse, _middlewareData$offse2;
795
- const len = mainAxis === 'y' ? 'width' : 'height';
796
- const isOriginSide = ['top', 'left'].includes(floatingUi_utils.getSide(placement));
797
- const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
798
- const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
799
- if (crossAxisCoord < limitMin) {
800
- crossAxisCoord = limitMin;
801
- } else if (crossAxisCoord > limitMax) {
802
- crossAxisCoord = limitMax;
803
- }
804
- }
805
- return {
806
- [mainAxis]: mainAxisCoord,
807
- [crossAxis]: crossAxisCoord
808
- };
809
- }
810
- };
811
- };
812
-
813
- /**
814
- * Provides data that allows you to change the size of the floating element —
815
- * for instance, prevent it from overflowing the clipping boundary or match the
816
- * width of the reference element.
817
- * @see https://floating-ui.com/docs/size
818
- */
819
- const size = function (options) {
820
- if (options === void 0) {
821
- options = {};
822
- }
823
- return {
824
- name: 'size',
825
- options,
826
- async fn(state) {
827
- var _state$middlewareData, _state$middlewareData2;
828
- const {
829
- placement,
830
- rects,
831
- platform,
832
- elements
833
- } = state;
834
- const {
835
- apply = () => {},
836
- ...detectOverflowOptions
837
- } = floatingUi_utils.evaluate(options, state);
838
- const overflow = await detectOverflow(state, detectOverflowOptions);
839
- const side = floatingUi_utils.getSide(placement);
840
- const alignment = floatingUi_utils.getAlignment(placement);
841
- const isYAxis = floatingUi_utils.getSideAxis(placement) === 'y';
842
- const {
843
- width,
844
- height
845
- } = rects.floating;
846
- let heightSide;
847
- let widthSide;
848
- if (side === 'top' || side === 'bottom') {
849
- heightSide = side;
850
- widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
851
- } else {
852
- widthSide = side;
853
- heightSide = alignment === 'end' ? 'top' : 'bottom';
854
- }
855
- const maximumClippingHeight = height - overflow.top - overflow.bottom;
856
- const maximumClippingWidth = width - overflow.left - overflow.right;
857
- const overflowAvailableHeight = floatingUi_utils.min(height - overflow[heightSide], maximumClippingHeight);
858
- const overflowAvailableWidth = floatingUi_utils.min(width - overflow[widthSide], maximumClippingWidth);
859
- const noShift = !state.middlewareData.shift;
860
- let availableHeight = overflowAvailableHeight;
861
- let availableWidth = overflowAvailableWidth;
862
- if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
863
- availableWidth = maximumClippingWidth;
864
- }
865
- if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
866
- availableHeight = maximumClippingHeight;
867
- }
868
- if (noShift && !alignment) {
869
- const xMin = floatingUi_utils.max(overflow.left, 0);
870
- const xMax = floatingUi_utils.max(overflow.right, 0);
871
- const yMin = floatingUi_utils.max(overflow.top, 0);
872
- const yMax = floatingUi_utils.max(overflow.bottom, 0);
873
- if (isYAxis) {
874
- availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : floatingUi_utils.max(overflow.left, overflow.right));
875
- } else {
876
- availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : floatingUi_utils.max(overflow.top, overflow.bottom));
877
- }
878
- }
879
- await apply({
880
- ...state,
881
- availableWidth,
882
- availableHeight
883
- });
884
- const nextDimensions = await platform.getDimensions(elements.floating);
885
- if (width !== nextDimensions.width || height !== nextDimensions.height) {
886
- return {
887
- reset: {
888
- rects: true
889
- }
890
- };
891
- }
892
- return {};
893
- }
894
- };
895
- };
896
-
897
- exports.rectToClientRect = floatingUi_utils.rectToClientRect;
898
- exports.arrow = arrow;
899
- exports.autoPlacement = autoPlacement;
900
- exports.detectOverflow = detectOverflow;
901
- exports.flip = flip;
902
- exports.hide = hide;
903
- exports.inline = inline;
904
- exports.limitShift = limitShift;
905
- exports.offset = offset;
906
- exports.shift = shift;
907
- exports.size = size;