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

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 (556) hide show
  1. package/build/ActionButton-03dc5f67.js +92 -0
  2. package/build/Alert-8a511bdc.js +138 -0
  3. package/build/AssetAction-d081e4b7.js +2377 -0
  4. package/build/AssetPreviewTopBar-623cfa18.js +152 -0
  5. package/build/Badge-aa4cd9c1.js +221 -0
  6. package/build/Button-2e26f5da.js +449 -0
  7. package/build/Checkbox-0b8faf49.js +220 -0
  8. package/build/CompactAutocompleteSelect-797778cb.js +555 -0
  9. package/build/CompactStarRating-da21b53f.js +436 -0
  10. package/build/CompactTextInput-d56aec71.js +541 -0
  11. package/build/ContextMenu-82f9d728.js +33 -0
  12. package/build/ContextMenuItem-3967010d.js +152 -0
  13. package/build/InfoCard-d0fdf377.js +132 -0
  14. package/build/InputGroup-8d4a4644.js +30 -0
  15. package/build/Instructions-af191987.js +274 -0
  16. package/build/MultiLevelCheckboxSelect-d229cf98.js +632 -0
  17. package/build/MultiSelect-d7920eb1.js +470 -0
  18. package/build/Popover-c4be47ea.js +241 -0
  19. package/build/ProgressBar-2d26c1fb.js +217 -0
  20. package/build/Radio-150fb2c9.js +141 -0
  21. package/build/SectionSeparator-e06c7660.js +38 -0
  22. package/build/Switch-d2d6e9ec.js +167 -0
  23. package/build/Tab-ccbca1f2.js +39 -0
  24. package/build/Tabs-b06c0e24.js +166 -0
  25. package/build/TextArea-26d3c8a1.js +619 -0
  26. package/build/TextInput-3a567daa.js +372 -0
  27. package/build/Tooltip-d5882b82.js +73 -0
  28. package/build/VerificationStatusIcon-9876b68f.js +120 -0
  29. package/{esm/node_modules/@babel/runtime/helpers/esm/extends.js → build/_rollupPluginBabelHelpers-4b342fad.js} +3 -1
  30. package/build/arrow-forward-d7c77ae3.js +37 -0
  31. package/build/close-1751121a.js +37 -0
  32. package/build/data/Alert/index.js +12 -0
  33. package/build/data/Badge/index.js +11 -0
  34. package/build/data/Popover/index.js +16 -0
  35. package/build/data/Tab/index.js +11 -0
  36. package/build/data/Tabs/index.js +13 -0
  37. package/build/data/Tooltip/index.js +13 -0
  38. package/build/data/index.js +30 -0
  39. package/{esm/node_modules/prop-types/factoryWithTypeCheckers.js → build/defaultTheme-d9a7342e.js} +582 -17
  40. package/build/edit-note-cefe2215.js +37 -0
  41. package/build/expand-more-d74e2bd2.js +37 -0
  42. package/build/icons/add-circle.svg +3 -0
  43. package/build/icons/add.svg +3 -0
  44. package/build/icons/album.svg +3 -0
  45. package/build/icons/arrow-back.svg +4 -0
  46. package/build/icons/arrow-drop-down.svg +4 -0
  47. package/build/icons/arrow-forward.svg +3 -0
  48. package/build/icons/audio.svg +3 -0
  49. package/build/icons/bell.svg +3 -0
  50. package/build/icons/check-circle-filled.svg +3 -0
  51. package/build/icons/check-rectangle-filled.svg +3 -0
  52. package/build/icons/check.svg +3 -0
  53. package/build/icons/clear-circle-filled.svg +14 -0
  54. package/build/icons/close.svg +4 -0
  55. package/build/icons/corporate.svg +3 -0
  56. package/build/icons/delete-context-menu.svg +4 -0
  57. package/build/icons/delete.svg +3 -0
  58. package/build/icons/design-services.svg +4 -0
  59. package/build/icons/download.svg +3 -0
  60. package/build/icons/edit-note.svg +4 -0
  61. package/build/icons/edit.svg +3 -0
  62. package/build/icons/expand-more.svg +4 -0
  63. package/build/icons/file.svg +3 -0
  64. package/build/icons/ftp.svg +3 -0
  65. package/build/icons/gear.svg +3 -0
  66. package/build/icons/headset.svg +1 -0
  67. package/build/icons/index.js +79 -0
  68. package/build/icons/layers.svg +3 -0
  69. package/build/icons/library-add.svg +3 -0
  70. package/build/icons/link.svg +4 -0
  71. package/build/icons/pdf.svg +3 -0
  72. package/build/icons/play.svg +3 -0
  73. package/build/icons/remove-circle.svg +3 -0
  74. package/build/icons/search.svg +3 -0
  75. package/build/icons/share.svg +3 -0
  76. package/build/icons/shopping_cart_add.svg +3 -0
  77. package/build/icons/star-filled.svg +3 -0
  78. package/build/icons/star.svg +3 -0
  79. package/build/icons/triangle-right.svg +4 -0
  80. package/build/icons/verification.svg +3 -0
  81. package/build/icons/warning-circle.svg +3 -0
  82. package/build/icons/warning-triangle.svg +3 -0
  83. package/build/inputs/ActionButton/index.js +12 -0
  84. package/build/inputs/Button/index.js +19 -0
  85. package/build/inputs/Checkbox/index.js +12 -0
  86. package/build/inputs/CompactAutocompleteSelect/index.js +29 -0
  87. package/build/inputs/CompactStarRating/index.js +23 -0
  88. package/build/inputs/CompactTextInput/index.js +25 -0
  89. package/build/inputs/MultiSelect/index.js +16 -0
  90. package/build/inputs/Radio/index.js +13 -0
  91. package/build/inputs/Switch/index.js +12 -0
  92. package/build/inputs/TextArea/index.js +26 -0
  93. package/build/inputs/TextInput/index.js +15 -0
  94. package/build/inputs/index.js +60 -0
  95. package/build/layout/InputGroup/index.js +11 -0
  96. package/build/layout/SectionSeparator/index.js +11 -0
  97. package/build/layout/index.js +15 -0
  98. package/build/shift-away-subtle-158617af.js +9 -0
  99. package/build/styles/all.scss +3 -0
  100. package/build/styles/config.scss +38 -0
  101. package/{styles/utils/.colors.scss → build/styles/utils/colors.scss} +1 -1
  102. package/build/styles/utils/theme.scss +33 -0
  103. package/build/widgets/AssetGallery/index.js +55 -0
  104. package/build/widgets/AssetPreview/AssetPreviewTopBar/index.js +12 -0
  105. package/build/widgets/ContextMenu/ContextMenuItem/index.js +11 -0
  106. package/build/widgets/ContextMenu/ContextMenuItemsGroup/index.js +44 -0
  107. package/build/widgets/ContextMenu/index.js +11 -0
  108. package/build/widgets/InfoCard/index.js +12 -0
  109. package/build/widgets/Instructions/index.js +33 -0
  110. package/build/widgets/ProgressBar/index.js +12 -0
  111. package/build/widgets/index.js +65 -0
  112. package/package.json +49 -56
  113. package/styles/all.scss +3 -3
  114. package/styles/config.scss +38 -0
  115. package/styles/utils/colors.scss +15 -0
  116. package/styles/utils/theme.scss +0 -2
  117. package/.eslintrc +0 -19
  118. package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -84
  119. package/cjs/_virtual/index.js +0 -7
  120. package/cjs/_virtual/index2.js +0 -7
  121. package/cjs/_virtual/index3.js +0 -7
  122. package/cjs/_virtual/index4.js +0 -7
  123. package/cjs/_virtual/index5.js +0 -7
  124. package/cjs/_virtual/react-dom.development.js +0 -7
  125. package/cjs/_virtual/react-dom.production.js +0 -7
  126. package/cjs/_virtual/react-is.development.js +0 -7
  127. package/cjs/_virtual/react-is.development2.js +0 -7
  128. package/cjs/_virtual/react-is.production.min.js +0 -7
  129. package/cjs/_virtual/react-is.production.min2.js +0 -7
  130. package/cjs/_virtual/react.development.js +0 -7
  131. package/cjs/_virtual/react.production.js +0 -7
  132. package/cjs/components/data/Alert/Alert.js +0 -79
  133. package/cjs/components/data/Alert/Alert.styled.js +0 -79
  134. package/cjs/components/data/Alert/data/Alert/index.js +0 -9
  135. package/cjs/components/data/Badge/Badge.js +0 -93
  136. package/cjs/components/data/Badge/Badge.styled.js +0 -167
  137. package/cjs/components/data/Badge/data/Badge/index.js +0 -9
  138. package/cjs/components/data/Popover/Popover.js +0 -104
  139. package/cjs/components/data/Popover/Popover.styled.js +0 -159
  140. package/cjs/components/data/Popover/data/Popover/index.js +0 -9
  141. package/cjs/components/data/Tab/Tab.js +0 -31
  142. package/cjs/components/data/Tab/Tab.styled.js +0 -27
  143. package/cjs/components/data/Tab/data/Tab/index.js +0 -9
  144. package/cjs/components/data/Tabs/Tabs.js +0 -101
  145. package/cjs/components/data/Tabs/Tabs.styled.js +0 -110
  146. package/cjs/components/data/Tabs/data/Tabs/index.js +0 -9
  147. package/cjs/components/data/Tooltip/Tooltip.js +0 -52
  148. package/cjs/components/data/Tooltip/Tooltip.styled.js +0 -38
  149. package/cjs/components/data/Tooltip/data/Tooltip/index.js +0 -9
  150. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.js +0 -42
  151. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +0 -88
  152. package/cjs/components/data/data/index.js +0 -21
  153. package/cjs/components/inputs/ActionButton/ActionButton.js +0 -44
  154. package/cjs/components/inputs/ActionButton/ActionButton.styled.js +0 -75
  155. package/cjs/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -9
  156. package/cjs/components/inputs/Button/Button.js +0 -195
  157. package/cjs/components/inputs/Button/Button.styled.js +0 -340
  158. package/cjs/components/inputs/Button/inputs/Button/index.js +0 -9
  159. package/cjs/components/inputs/Checkbox/Checkbox.js +0 -102
  160. package/cjs/components/inputs/Checkbox/Checkbox.styled.js +0 -160
  161. package/cjs/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -9
  162. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +0 -268
  163. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -363
  164. package/cjs/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -9
  165. package/cjs/components/inputs/CompactStarRating/CompactStarRating.js +0 -177
  166. package/cjs/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -269
  167. package/cjs/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -9
  168. package/cjs/components/inputs/CompactTextInput/CompactTextInput.js +0 -187
  169. package/cjs/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -406
  170. package/cjs/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -9
  171. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +0 -253
  172. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -106
  173. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -185
  174. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -147
  175. package/cjs/components/inputs/MultiSelect/MultiSelect.js +0 -208
  176. package/cjs/components/inputs/MultiSelect/MultiSelect.styled.js +0 -275
  177. package/cjs/components/inputs/MultiSelect/inputs/MultiSelect/index.js +0 -9
  178. package/cjs/components/inputs/Radio/Radio.js +0 -67
  179. package/cjs/components/inputs/Radio/Radio.styled.js +0 -100
  180. package/cjs/components/inputs/Radio/inputs/Radio/index.js +0 -9
  181. package/cjs/components/inputs/Switch/Switch.js +0 -69
  182. package/cjs/components/inputs/Switch/Switch.styled.js +0 -138
  183. package/cjs/components/inputs/Switch/inputs/Switch/index.js +0 -9
  184. package/cjs/components/inputs/TextArea/TextArea.js +0 -176
  185. package/cjs/components/inputs/TextArea/TextArea.styled.js +0 -530
  186. package/cjs/components/inputs/TextArea/inputs/TextArea/index.js +0 -9
  187. package/cjs/components/inputs/TextInput/TextInput.js +0 -146
  188. package/cjs/components/inputs/TextInput/TextInput.styled.js +0 -289
  189. package/cjs/components/inputs/TextInput/inputs/TextInput/index.js +0 -9
  190. package/cjs/components/inputs/inputs/index.js +0 -33
  191. package/cjs/components/layout/InputGroup/InputGroup.js +0 -26
  192. package/cjs/components/layout/InputGroup/InputGroup.styled.js +0 -23
  193. package/cjs/components/layout/InputGroup/layout/InputGroup/index.js +0 -9
  194. package/cjs/components/layout/SectionSeparator/SectionSeparator.js +0 -29
  195. package/cjs/components/layout/SectionSeparator/SectionSeparator.styled.js +0 -28
  196. package/cjs/components/layout/SectionSeparator/layout/SectionSeparator/index.js +0 -9
  197. package/cjs/components/layout/layout/index.js +0 -11
  198. package/cjs/components/widgets/AssetAction/AssetAction.js +0 -106
  199. package/cjs/components/widgets/AssetAction/AssetAction.styled.js +0 -69
  200. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -35
  201. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -29
  202. package/cjs/components/widgets/AssetGallery/AssetGallery.js +0 -106
  203. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -395
  204. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -52
  205. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -405
  206. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -385
  207. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +0 -396
  208. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +0 -328
  209. package/cjs/components/widgets/AssetGallery/asset.propType.js +0 -58
  210. package/cjs/components/widgets/AssetGallery/widgets/AssetGallery/index.js +0 -9
  211. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +0 -50
  212. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +0 -107
  213. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -9
  214. package/cjs/components/widgets/ContextMenu/ContextMenu.js +0 -29
  215. package/cjs/components/widgets/ContextMenu/ContextMenu.styled.js +0 -24
  216. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -50
  217. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -102
  218. package/cjs/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +0 -9
  219. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +0 -28
  220. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +0 -35
  221. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -9
  222. package/cjs/components/widgets/ContextMenu/widgets/ContextMenu/index.js +0 -9
  223. package/cjs/components/widgets/InfoCard/InfoCard.js +0 -47
  224. package/cjs/components/widgets/InfoCard/InfoCard.styled.js +0 -137
  225. package/cjs/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -9
  226. package/cjs/components/widgets/ProgressBar/ProgressBar.js +0 -79
  227. package/cjs/components/widgets/ProgressBar/ProgressBar.styled.js +0 -210
  228. package/cjs/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -9
  229. package/cjs/components/widgets/SummaryCard/SummaryCard.js +0 -93
  230. package/cjs/components/widgets/SummaryCard/SummaryCard.styled.js +0 -169
  231. package/cjs/components/widgets/widgets/index.js +0 -23
  232. package/cjs/hooks/useEventListner.js +0 -26
  233. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -11
  234. package/cjs/hooks/useOnClickOutside.js +0 -17
  235. package/cjs/icons/arrow-back.svg.js +0 -20
  236. package/cjs/icons/arrow-forward.svg.js +0 -20
  237. package/cjs/icons/check-rectangle-filled.svg.js +0 -20
  238. package/cjs/icons/close.svg.js +0 -20
  239. package/cjs/icons/edit-note.svg.js +0 -20
  240. package/cjs/icons/expand-more.svg.js +0 -20
  241. package/cjs/icons/headset.svg.js +0 -20
  242. package/cjs/icons/layers.svg.js +0 -20
  243. package/cjs/icons/link.svg.js +0 -20
  244. package/cjs/icons/play.svg.js +0 -20
  245. package/cjs/icons/search.svg.js +0 -20
  246. package/cjs/icons/star-filled.svg.js +0 -20
  247. package/cjs/icons/star.svg.js +0 -20
  248. package/cjs/icons/triangle-right.svg.js +0 -20
  249. package/cjs/icons/verification.svg.js +0 -20
  250. package/cjs/icons/warning-circle.svg.js +0 -20
  251. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -11
  252. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -9
  253. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -11
  254. package/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -10
  255. package/cjs/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -9
  256. package/cjs/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -19
  257. package/cjs/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -22
  258. package/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -16
  259. package/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +0 -15
  260. package/cjs/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -11
  261. package/cjs/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -20
  262. package/cjs/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -14
  263. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -9
  264. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -33
  265. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -9
  266. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -9
  267. package/cjs/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -29
  268. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  269. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -15
  270. package/cjs/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -14
  271. package/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -11
  272. package/cjs/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -14
  273. package/cjs/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -13
  274. package/cjs/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -14
  275. package/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -18
  276. package/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -13
  277. package/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -15
  278. package/cjs/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -15
  279. package/cjs/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -503
  280. package/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -59
  281. package/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -13
  282. package/cjs/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -158
  283. package/cjs/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -66
  284. package/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -240
  285. package/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -144
  286. package/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -56
  287. package/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -16
  288. package/cjs/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -60
  289. package/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -20
  290. package/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -915
  291. package/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -374
  292. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -130
  293. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -166
  294. package/cjs/node_modules/@restart/hooks/lib/useMergedRefs.js +0 -43
  295. package/cjs/node_modules/@restart/hooks/lib/useUpdateEffect.js +0 -39
  296. package/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -24
  297. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -186
  298. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -22
  299. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -13
  300. package/cjs/node_modules/memoize-one/dist/memoize-one.esm.js +0 -55
  301. package/cjs/node_modules/object-assign/index.js +0 -94
  302. package/cjs/node_modules/prop-types/checkPropTypes.js +0 -110
  303. package/cjs/node_modules/prop-types/factoryWithThrowingShims.js +0 -69
  304. package/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +0 -621
  305. package/cjs/node_modules/prop-types/index.js +0 -33
  306. package/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -16
  307. package/cjs/node_modules/prop-types/lib/has.js +0 -7
  308. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -186
  309. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -22
  310. package/cjs/node_modules/prop-types/node_modules/react-is/index.js +0 -13
  311. package/cjs/node_modules/react/cjs/react.development.js +0 -1289
  312. package/cjs/node_modules/react/cjs/react.production.js +0 -548
  313. package/cjs/node_modules/react/index.js +0 -19
  314. package/cjs/node_modules/react-dom/cjs/react-dom.development.js +0 -432
  315. package/cjs/node_modules/react-dom/cjs/react-dom.production.js +0 -218
  316. package/cjs/node_modules/react-dom/index.js +0 -44
  317. package/cjs/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -6
  318. package/cjs/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -23
  319. package/cjs/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2659
  320. package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1426
  321. package/cjs/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.js +0 -101
  322. package/cjs/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -78
  323. package/cjs/node_modules/style-inject/dist/style-inject.es.js +0 -32
  324. package/cjs/node_modules/stylis/src/Enum.js +0 -24
  325. package/cjs/node_modules/stylis/src/Middleware.js +0 -37
  326. package/cjs/node_modules/stylis/src/Parser.js +0 -201
  327. package/cjs/node_modules/stylis/src/Serializer.js +0 -43
  328. package/cjs/node_modules/stylis/src/Tokenizer.js +0 -243
  329. package/cjs/node_modules/stylis/src/Utility.js +0 -134
  330. package/cjs/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -6
  331. package/cjs/node_modules/tippy.js/dist/tippy.css.js +0 -6
  332. package/cjs/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +0 -13
  333. package/cjs/styles/utils/colors-export.js +0 -41
  334. package/cjs/utils/dateTime.js +0 -20
  335. package/cjs/utils/defaultTheme.js +0 -75
  336. package/doctor-storybook.log +0 -20
  337. package/esm/_virtual/_rollupPluginBabelHelpers.js +0 -74
  338. package/esm/_virtual/index.js +0 -3
  339. package/esm/_virtual/index2.js +0 -3
  340. package/esm/_virtual/index3.js +0 -3
  341. package/esm/_virtual/index4.js +0 -3
  342. package/esm/_virtual/index5.js +0 -3
  343. package/esm/_virtual/react-dom.development.js +0 -3
  344. package/esm/_virtual/react-dom.production.js +0 -3
  345. package/esm/_virtual/react-is.development.js +0 -3
  346. package/esm/_virtual/react-is.development2.js +0 -3
  347. package/esm/_virtual/react-is.production.min.js +0 -3
  348. package/esm/_virtual/react-is.production.min2.js +0 -3
  349. package/esm/_virtual/react.development.js +0 -3
  350. package/esm/_virtual/react.production.js +0 -3
  351. package/esm/components/data/Alert/Alert.js +0 -75
  352. package/esm/components/data/Alert/Alert.styled.js +0 -70
  353. package/esm/components/data/Alert/data/Alert/index.js +0 -1
  354. package/esm/components/data/Badge/Badge.js +0 -89
  355. package/esm/components/data/Badge/Badge.styled.js +0 -156
  356. package/esm/components/data/Badge/data/Badge/index.js +0 -1
  357. package/esm/components/data/Popover/Popover.js +0 -96
  358. package/esm/components/data/Popover/Popover.styled.js +0 -150
  359. package/esm/components/data/Popover/data/Popover/index.js +0 -1
  360. package/esm/components/data/Tab/Tab.js +0 -27
  361. package/esm/components/data/Tab/Tab.styled.js +0 -19
  362. package/esm/components/data/Tab/data/Tab/index.js +0 -1
  363. package/esm/components/data/Tabs/Tabs.js +0 -97
  364. package/esm/components/data/Tabs/Tabs.styled.js +0 -98
  365. package/esm/components/data/Tabs/data/Tabs/index.js +0 -1
  366. package/esm/components/data/Tooltip/Tooltip.js +0 -48
  367. package/esm/components/data/Tooltip/Tooltip.styled.js +0 -29
  368. package/esm/components/data/Tooltip/data/Tooltip/index.js +0 -1
  369. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.js +0 -38
  370. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +0 -78
  371. package/esm/components/data/data/index.js +0 -7
  372. package/esm/components/inputs/ActionButton/ActionButton.js +0 -40
  373. package/esm/components/inputs/ActionButton/ActionButton.styled.js +0 -67
  374. package/esm/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -1
  375. package/esm/components/inputs/Button/Button.js +0 -191
  376. package/esm/components/inputs/Button/Button.styled.js +0 -323
  377. package/esm/components/inputs/Button/inputs/Button/index.js +0 -1
  378. package/esm/components/inputs/Checkbox/Checkbox.js +0 -98
  379. package/esm/components/inputs/Checkbox/Checkbox.styled.js +0 -147
  380. package/esm/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -1
  381. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +0 -264
  382. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -335
  383. package/esm/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -1
  384. package/esm/components/inputs/CompactStarRating/CompactStarRating.js +0 -173
  385. package/esm/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -256
  386. package/esm/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -1
  387. package/esm/components/inputs/CompactTextInput/CompactTextInput.js +0 -183
  388. package/esm/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -389
  389. package/esm/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -1
  390. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +0 -247
  391. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -92
  392. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -181
  393. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -129
  394. package/esm/components/inputs/MultiSelect/MultiSelect.js +0 -204
  395. package/esm/components/inputs/MultiSelect/MultiSelect.styled.js +0 -251
  396. package/esm/components/inputs/MultiSelect/inputs/MultiSelect/index.js +0 -1
  397. package/esm/components/inputs/Radio/Radio.js +0 -63
  398. package/esm/components/inputs/Radio/Radio.styled.js +0 -91
  399. package/esm/components/inputs/Radio/inputs/Radio/index.js +0 -1
  400. package/esm/components/inputs/Switch/Switch.js +0 -65
  401. package/esm/components/inputs/Switch/Switch.styled.js +0 -125
  402. package/esm/components/inputs/Switch/inputs/Switch/index.js +0 -1
  403. package/esm/components/inputs/TextArea/TextArea.js +0 -172
  404. package/esm/components/inputs/TextArea/TextArea.styled.js +0 -512
  405. package/esm/components/inputs/TextArea/inputs/TextArea/index.js +0 -1
  406. package/esm/components/inputs/TextInput/TextInput.js +0 -142
  407. package/esm/components/inputs/TextInput/TextInput.styled.js +0 -274
  408. package/esm/components/inputs/TextInput/inputs/TextInput/index.js +0 -1
  409. package/esm/components/inputs/inputs/index.js +0 -13
  410. package/esm/components/layout/InputGroup/InputGroup.js +0 -22
  411. package/esm/components/layout/InputGroup/InputGroup.styled.js +0 -15
  412. package/esm/components/layout/InputGroup/layout/InputGroup/index.js +0 -1
  413. package/esm/components/layout/SectionSeparator/SectionSeparator.js +0 -25
  414. package/esm/components/layout/SectionSeparator/SectionSeparator.styled.js +0 -20
  415. package/esm/components/layout/SectionSeparator/layout/SectionSeparator/index.js +0 -1
  416. package/esm/components/layout/layout/index.js +0 -2
  417. package/esm/components/widgets/AssetAction/AssetAction.js +0 -102
  418. package/esm/components/widgets/AssetAction/AssetAction.styled.js +0 -57
  419. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -31
  420. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -21
  421. package/esm/components/widgets/AssetGallery/AssetGallery.js +0 -102
  422. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -387
  423. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -42
  424. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -401
  425. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -358
  426. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +0 -392
  427. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +0 -302
  428. package/esm/components/widgets/AssetGallery/asset.propType.js +0 -53
  429. package/esm/components/widgets/AssetGallery/widgets/AssetGallery/index.js +0 -1
  430. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +0 -46
  431. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +0 -95
  432. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -1
  433. package/esm/components/widgets/ContextMenu/ContextMenu.js +0 -25
  434. package/esm/components/widgets/ContextMenu/ContextMenu.styled.js +0 -16
  435. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -46
  436. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -92
  437. package/esm/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +0 -1
  438. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +0 -24
  439. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +0 -27
  440. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -1
  441. package/esm/components/widgets/ContextMenu/widgets/ContextMenu/index.js +0 -1
  442. package/esm/components/widgets/InfoCard/InfoCard.js +0 -43
  443. package/esm/components/widgets/InfoCard/InfoCard.styled.js +0 -121
  444. package/esm/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -1
  445. package/esm/components/widgets/ProgressBar/ProgressBar.js +0 -75
  446. package/esm/components/widgets/ProgressBar/ProgressBar.styled.js +0 -191
  447. package/esm/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -1
  448. package/esm/components/widgets/SummaryCard/SummaryCard.js +0 -89
  449. package/esm/components/widgets/SummaryCard/SummaryCard.styled.js +0 -151
  450. package/esm/components/widgets/widgets/index.js +0 -8
  451. package/esm/hooks/useEventListner.js +0 -22
  452. package/esm/hooks/useIsomorphicLayoutEffect.js +0 -7
  453. package/esm/hooks/useOnClickOutside.js +0 -13
  454. package/esm/icons/arrow-back.svg.js +0 -16
  455. package/esm/icons/arrow-forward.svg.js +0 -16
  456. package/esm/icons/check-rectangle-filled.svg.js +0 -16
  457. package/esm/icons/close.svg.js +0 -16
  458. package/esm/icons/edit-note.svg.js +0 -16
  459. package/esm/icons/expand-more.svg.js +0 -16
  460. package/esm/icons/headset.svg.js +0 -16
  461. package/esm/icons/layers.svg.js +0 -16
  462. package/esm/icons/link.svg.js +0 -16
  463. package/esm/icons/play.svg.js +0 -16
  464. package/esm/icons/search.svg.js +0 -16
  465. package/esm/icons/star-filled.svg.js +0 -16
  466. package/esm/icons/star.svg.js +0 -16
  467. package/esm/icons/triangle-right.svg.js +0 -16
  468. package/esm/icons/verification.svg.js +0 -16
  469. package/esm/icons/warning-circle.svg.js +0 -16
  470. package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -7
  471. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -5
  472. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -7
  473. package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -6
  474. package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  475. package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
  476. package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -18
  477. package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -12
  478. package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -7
  479. package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -16
  480. package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -10
  481. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -5
  482. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  483. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -5
  484. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -5
  485. package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -25
  486. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -15
  487. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -11
  488. package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -10
  489. package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
  490. package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
  491. package/esm/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -9
  492. package/esm/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -10
  493. package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
  494. package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
  495. package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
  496. package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -11
  497. package/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -499
  498. package/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -55
  499. package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
  500. package/esm/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -149
  501. package/esm/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -56
  502. package/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -236
  503. package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -140
  504. package/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -52
  505. package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -12
  506. package/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -54
  507. package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -16
  508. package/esm/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -902
  509. package/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -370
  510. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -112
  511. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -139
  512. package/esm/node_modules/@restart/hooks/lib/useMergedRefs.js +0 -38
  513. package/esm/node_modules/@restart/hooks/lib/useUpdateEffect.js +0 -35
  514. package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -22
  515. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -181
  516. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -17
  517. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -11
  518. package/esm/node_modules/memoize-one/dist/memoize-one.esm.js +0 -51
  519. package/esm/node_modules/object-assign/index.js +0 -90
  520. package/esm/node_modules/prop-types/checkPropTypes.js +0 -106
  521. package/esm/node_modules/prop-types/factoryWithThrowingShims.js +0 -65
  522. package/esm/node_modules/prop-types/index.js +0 -29
  523. package/esm/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
  524. package/esm/node_modules/prop-types/lib/has.js +0 -3
  525. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -181
  526. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -17
  527. package/esm/node_modules/prop-types/node_modules/react-is/index.js +0 -11
  528. package/esm/node_modules/react/cjs/react.development.js +0 -1287
  529. package/esm/node_modules/react/cjs/react.production.js +0 -543
  530. package/esm/node_modules/react/index.js +0 -15
  531. package/esm/node_modules/react-dom/cjs/react-dom.development.js +0 -427
  532. package/esm/node_modules/react-dom/cjs/react-dom.production.js +0 -213
  533. package/esm/node_modules/react-dom/index.js +0 -42
  534. package/esm/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -4
  535. package/esm/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -19
  536. package/esm/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2650
  537. package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1385
  538. package/esm/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.js +0 -97
  539. package/esm/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -74
  540. package/esm/node_modules/style-inject/dist/style-inject.es.js +0 -28
  541. package/esm/node_modules/stylis/src/Enum.js +0 -12
  542. package/esm/node_modules/stylis/src/Middleware.js +0 -32
  543. package/esm/node_modules/stylis/src/Parser.js +0 -193
  544. package/esm/node_modules/stylis/src/Serializer.js +0 -38
  545. package/esm/node_modules/stylis/src/Tokenizer.js +0 -223
  546. package/esm/node_modules/stylis/src/Utility.js +0 -117
  547. package/esm/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -4
  548. package/esm/node_modules/tippy.js/dist/tippy.css.js +0 -4
  549. package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +0 -9
  550. package/esm/ssr/ssr/index.js +0 -1
  551. package/esm/styles/utils/colors-export.js +0 -37
  552. package/esm/utils/dateTime.js +0 -16
  553. package/esm/utils/defaultTheme.js +0 -70
  554. package/migration-storybook.log +0 -392
  555. package/styles/utils/colors-export.js +0 -35
  556. /package/{cjs/ssr → build}/ssr/index.js +0 -0
@@ -1,19 +0,0 @@
1
- import styled from 'styled-components';
2
- import { applyDefaultTheme } from '../../../utils/defaultTheme.js';
3
-
4
- let _ = t => t,
5
- _t;
6
- const shouldForwardProp = prop => {
7
- return prop !== 'theme' && !prop.startsWith('$');
8
- };
9
- const Tab = styled.p.withConfig({
10
- shouldForwardProp
11
- }).attrs(applyDefaultTheme)(_t || (_t = _`
12
- font-family: ${0};
13
- font-size: 1rem;
14
- font-weight: 500;
15
- border-bottom: 1px solid;
16
- min-height: 35px;
17
- `), props => props.theme.primaryFontFamily);
18
-
19
- export { Tab };
@@ -1 +0,0 @@
1
- export { default } from '../../Tab.js';
@@ -1,97 +0,0 @@
1
- import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, objectSpread2 as _objectSpread2 } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
- import { isEmpty, isNil } from 'lodash';
3
- import PropTypes from '../../../node_modules/prop-types/index.js';
4
- import React from '../../../node_modules/react/index.js';
5
- import { Tabs as Tabs$2, TabHeaders, TabHeader, TabHeaderBorder, TabContent } from './Tabs.styled.js';
6
- import { r as react } from '../../../_virtual/index.js';
7
- import Tab from '../Tab/Tab.js';
8
-
9
- const _excluded = ["children", "defaultMinHeight", "customPadding", "onTabClick"];
10
- const Tabs = React.forwardRef(function Tabs(_ref, forwardedRef) {
11
- let {
12
- children,
13
- defaultMinHeight = '',
14
- customPadding = 0,
15
- onTabClick = () => {}
16
- } = _ref,
17
- props = _objectWithoutProperties(_ref, _excluded);
18
- const [activeTab, setActiveTab] = react.exports.useState(0);
19
- const contentRef = react.exports.useRef(null);
20
- const tabs = react.exports.useMemo(() => {
21
- const tabs = [];
22
- function extractChildren(children) {
23
- react.exports.Children.forEach(children, (child, index) => {
24
- var _child$props2;
25
- if (isNil(child)) {
26
- return null;
27
- }
28
- if (child.type === react.exports.Fragment) {
29
- var _child$props;
30
- extractChildren((_child$props = child.props) === null || _child$props === void 0 ? void 0 : _child$props.children);
31
- }
32
- if ((_child$props2 = child.props) !== null && _child$props2 !== void 0 && _child$props2.hidden) {
33
- return null;
34
- }
35
- if (child.type === Tab) {
36
- var _child$props3, _child$props4;
37
- tabs.push({
38
- key: index,
39
- trigger: (_child$props3 = child.props) === null || _child$props3 === void 0 ? void 0 : _child$props3.trigger,
40
- content: (_child$props4 = child.props) === null || _child$props4 === void 0 ? void 0 : _child$props4.children
41
- });
42
- }
43
- });
44
- }
45
- extractChildren(children);
46
- if (!tabs.some(tab => (tab === null || tab === void 0 ? void 0 : tab.key) === activeTab)) {
47
- var _tabs$;
48
- setActiveTab((_tabs$ = tabs[0]) === null || _tabs$ === void 0 ? void 0 : _tabs$.key);
49
- }
50
- return tabs;
51
- }, [children]);
52
- const handleTabClick = tab => {
53
- setActiveTab(tab.key);
54
- let triggerText = '';
55
- if (tab.trigger && tab.trigger.props && tab.trigger.props.children) {
56
- triggerText = tab.trigger.props.children;
57
- }
58
- if (onTabClick) {
59
- onTabClick(_objectSpread2(_objectSpread2({}, tab), {}, {
60
- triggerText: triggerText
61
- }));
62
- }
63
- };
64
- return React.createElement(Tabs$2, _extends({
65
- ref: forwardedRef
66
- }, props, {
67
- role: "tablist"
68
- }), React.createElement(TabHeaders, {
69
- custompadding: customPadding
70
- }, tabs.map(tab => React.createElement(TabHeader, {
71
- key: tab.key,
72
- hidden: tab.hidden,
73
- $active: tab.key === activeTab,
74
- onClick: () => handleTabClick(tab),
75
- role: "tab"
76
- }, tab.trigger))), React.createElement(TabHeaderBorder, {
77
- custompadding: customPadding
78
- }), React.createElement(TabContent, null, tabs.map(tab => React.createElement("div", {
79
- ref: tab.key === (activeTab === null || activeTab === void 0 ? void 0 : activeTab.key) ? contentRef : null,
80
- key: tab.key,
81
- role: "tabpanel",
82
- hidden: tab.key !== activeTab,
83
- style: {
84
- minHeight: !isEmpty(defaultMinHeight) ? defaultMinHeight : ''
85
- }
86
- }, tab.content))));
87
- });
88
- Tabs.propTypes = process.env.NODE_ENV !== "production" ? {
89
- children: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),
90
- backgroundColor: PropTypes.string,
91
- defaultMinHeight: PropTypes.string,
92
- customPadding: PropTypes.string,
93
- onTabClick: PropTypes.func
94
- } : {};
95
- var Tabs$1 = Tabs;
96
-
97
- export { Tabs$1 as default };
@@ -1,98 +0,0 @@
1
- import styled, { css } from 'styled-components';
2
- import { applyDefaultTheme } from '../../../utils/defaultTheme.js';
3
-
4
- let _ = t => t,
5
- _t,
6
- _t2,
7
- _t3,
8
- _t4,
9
- _t5,
10
- _t6,
11
- _t7,
12
- _t8,
13
- _t9,
14
- _t0,
15
- _t1;
16
- const shouldForwardProp = prop => {
17
- return prop !== 'theme' && !prop.startsWith('$');
18
- };
19
- const Tabs = styled.div.withConfig({
20
- shouldForwardProp
21
- }).attrs(applyDefaultTheme)(_t || (_t = _`
22
- display: block;
23
- position: relative;
24
- ${0};
25
- `), props => props.backgroundColor && css(_t2 || (_t2 = _`
26
- background-color: ${0};
27
- `), props.backgroundColor));
28
- const TabHeaders = styled.ul.withConfig({
29
- shouldForwardProp
30
- }).attrs(applyDefaultTheme)(_t3 || (_t3 = _`
31
- display: flex;
32
- overflow-x: auto;
33
- overflow-y: hidden;
34
- white-space: nowrap;
35
- gap: 24px;
36
-
37
- margin: 0;
38
- ${0};
39
- ${0};
40
- `), props => !props.custompadding && css(_t4 || (_t4 = _`
41
- padding: 0;
42
- `)), props => props.custompadding && css(_t5 || (_t5 = _`
43
- padding: 0 ${0};
44
- `), props.custompadding));
45
- const TabHeader = styled.li.withConfig({
46
- shouldForwardProp
47
- }).attrs(applyDefaultTheme)(_t6 || (_t6 = _`
48
- font-family: ${0};
49
- text-transform: uppercase;
50
- font-weight: 600;
51
- font-size: 0.875rem;
52
- display: flex;
53
- padding-bottom: 8px;
54
- letter-spacing: 0.6px;
55
- cursor: pointer;
56
- border-bottom: 1px solid;
57
- border-color: transparent;
58
- margin-bottom: 1px;
59
-
60
- ${0};
61
- &&:hover:not(:focus) {
62
- ${0};
63
- }
64
- `), props => props.theme.secondaryFontFamily, props => props.$active && css(_t7 || (_t7 = _`
65
- ${0}
66
- `), props => props.theme.themeProp('border-color', props.theme.getColor('gray-400'), props.theme.getColor('gray-700'))), props => props.theme.themeProp('border-color', () => {
67
- if (props.$active) {
68
- return props.theme.getColor('gray-400');
69
- } else {
70
- return props.theme.getColor('gray-400');
71
- }
72
- }, () => {
73
- if (props.$active) {
74
- return props.theme.getColor('gray-700');
75
- } else {
76
- return props.theme.getColor('gray-700');
77
- }
78
- }));
79
- const TabContent = styled.div.withConfig({
80
- shouldForwardProp
81
- }).attrs(applyDefaultTheme)(_t8 || (_t8 = _`
82
- display: block;
83
- `));
84
- const TabHeaderBorder = styled.div.withConfig({
85
- shouldForwardProp
86
- }).attrs(applyDefaultTheme)(_t9 || (_t9 = _`
87
- border-top: 1px solid;
88
-
89
- ${0};
90
- ${0};
91
- ${0};
92
- `), props => props.theme.themeProp('border-color', props.theme.getColor('gray-600'), '#F0F2F5'), props => !props.custompadding && css(_t0 || (_t0 = _`
93
- margin: -2px 0;
94
- `)), props => props.custompadding && css(_t1 || (_t1 = _`
95
- margin: -2px ${0};
96
- `), props.custompadding));
97
-
98
- export { TabContent, TabHeader, TabHeaderBorder, TabHeaders, Tabs };
@@ -1 +0,0 @@
1
- export { default } from '../../Tabs.js';
@@ -1,48 +0,0 @@
1
- import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
- import PropTypes from '../../../node_modules/prop-types/index.js';
3
- import React from '../../../node_modules/react/index.js';
4
- import { Tooltip as Tooltip$2 } from './Tooltip.styled.js';
5
-
6
- const _excluded = ["content", "interactive", "placement", "duration", "trigger", "visible", "children"];
7
- const Tooltip = React.forwardRef(function Tooltip(_ref, ref) {
8
- let {
9
- content,
10
- interactive,
11
- placement,
12
- duration,
13
- trigger,
14
- visible,
15
- children
16
- } = _ref,
17
- props = _objectWithoutProperties(_ref, _excluded);
18
- const eventHandlerProps = ['onClick', 'onChange', 'onSubmit'];
19
- const filteredProps = Object.fromEntries(Object.entries(props).filter(([key]) => !eventHandlerProps.includes(key)));
20
- return React.createElement("div", null, React.createElement(Tooltip$2, _extends({
21
- ref: ref,
22
- content: content,
23
- interactive: interactive,
24
- placement: placement,
25
- duration: duration,
26
- trigger: trigger,
27
- visible: visible,
28
- animation: 'shift-away-subtle'
29
- }, filteredProps), children));
30
- });
31
- Tooltip.defaultProps = {
32
- content: 'Tooltip',
33
- interactive: false,
34
- placement: 'top',
35
- duration: 350
36
- };
37
- Tooltip.propTypes = process.env.NODE_ENV !== "production" ? {
38
- content: PropTypes.oneOfType([PropTypes.string, PropTypes.element]).isRequired,
39
- interactive: PropTypes.bool,
40
- placement: PropTypes.oneOf(['top', 'top-start', 'top-end', 'right', 'right-start', 'right-end', 'bottom', 'bottom-start', 'bottom-end', 'left', 'left-start', 'left-end', 'auto', 'auto-start', 'auto-end']),
41
- duration: PropTypes.number,
42
- trigger: PropTypes.oneOf(['mouseenter', 'mouseenter focus', 'click', 'focusin', 'mouseenter click', '']),
43
- visible: PropTypes.bool,
44
- children: PropTypes.node
45
- } : {};
46
- var Tooltip$1 = Tooltip;
47
-
48
- export { Tooltip$1 as default };
@@ -1,29 +0,0 @@
1
- import styled from 'styled-components';
2
- import { applyDefaultTheme } from '../../../utils/defaultTheme.js';
3
- import TippyTooltip from '@tippyjs/react';
4
- import '../../../node_modules/tippy.js/animations/shift-away-subtle.css.js';
5
- import '../../../node_modules/tippy.js/dist/tippy.css.js';
6
-
7
- let _ = t => t,
8
- _t;
9
- const Tooltip = styled(TippyTooltip).attrs(applyDefaultTheme)(_t || (_t = _`
10
- font-family: ${0};
11
- font-size: 1rem;
12
- font-weight: 400;
13
- background: ${0};
14
- border-radius: 3px;
15
- pointer-events: default !important;
16
- .tippy-content {
17
- padding: 9px 12px;
18
- }
19
-
20
- .tippy-arrow {
21
- color: ${0};
22
- }
23
-
24
- a {
25
- color: inherit;
26
- }
27
- `), props => props.theme.primaryFontFamily, props => props.theme.getColor('gray-700'), props => props.theme.getColor('gray-700'));
28
-
29
- export { Tooltip };
@@ -1 +0,0 @@
1
- export { default } from '../../Tooltip.js';
@@ -1,38 +0,0 @@
1
- import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
- import React from '../../../node_modules/react/index.js';
3
- import PropTypes from '../../../node_modules/prop-types/index.js';
4
- import { VerificationIconWrapper, VerificationStatusIcon as VerificationStatusIcon$2, VerificationStatusColor } from './VerificationStatusIcon.styled.js';
5
- import { ReactComponent as SvgVerification } from '../../../icons/verification.svg.js';
6
-
7
- const _excluded = ["status", "iconHeight", "background"];
8
- const VerificationStatusIcon = React.forwardRef(function VerificationStatusIcon(_ref, forwardedRef) {
9
- let {
10
- status,
11
- iconHeight,
12
- background
13
- } = _ref,
14
- props = _objectWithoutProperties(_ref, _excluded);
15
- return React.createElement(VerificationIconWrapper, {
16
- $background: background
17
- }, React.createElement(VerificationStatusIcon$2, _extends({
18
- $iconHeight: iconHeight,
19
- $background: background,
20
- ref: forwardedRef
21
- }, props), React.createElement(SvgVerification, null), React.createElement(VerificationStatusColor, {
22
- $iconHeight: iconHeight,
23
- $status: status,
24
- $background: background
25
- })));
26
- });
27
- VerificationStatusIcon.propTypes = process.env.NODE_ENV !== "production" ? {
28
- status: PropTypes.oneOf(['verified', 'pending', 'rejected', 'mixed']).isRequired,
29
- iconHeight: PropTypes.number,
30
- background: PropTypes.bool
31
- } : {};
32
- VerificationStatusIcon.defaultProps = {
33
- iconHeight: 15,
34
- background: false
35
- };
36
- var VerificationStatusIcon$1 = VerificationStatusIcon;
37
-
38
- export { VerificationStatusIcon$1 as default };
@@ -1,78 +0,0 @@
1
- import styled, { css } from 'styled-components';
2
- import { applyDefaultTheme } from '../../../utils/defaultTheme.js';
3
-
4
- let _ = t => t,
5
- _t,
6
- _t2,
7
- _t3,
8
- _t4;
9
- const shouldForwardProp = prop => {
10
- return prop !== 'theme' && !prop.startsWith('$');
11
- };
12
- const VerificationIconWrapper = styled.div.withConfig({
13
- shouldForwardProp
14
- }).attrs(applyDefaultTheme)(_t || (_t = _`
15
- ${0};
16
- `), props => props.$background && css(_t2 || (_t2 = _`
17
- background-color: #000 !important;
18
- width: fit-content;
19
- padding: 6px 14px 6px 9px;
20
- border-radius: 15px;
21
- }
22
- `)));
23
- const VerificationStatusIcon = styled.div.withConfig({
24
- shouldForwardProp
25
- }).attrs(applyDefaultTheme)(_t3 || (_t3 = _`
26
- display: flex;
27
- position: relative;
28
- font: normal normal normal 12px/16px Roboto;
29
- ${0};
30
-
31
- ${0};
32
-
33
- svg {
34
- height: ${0}px;
35
- }
36
- `), props => props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-700')), props => props.$background && props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-100')), props => {
37
- var _props$iconHeight;
38
- return (_props$iconHeight = props.iconHeight) !== null && _props$iconHeight !== void 0 ? _props$iconHeight : 15;
39
- });
40
- const VerificationStatusColor = styled.div.withConfig({
41
- shouldForwardProp
42
- }).attrs(applyDefaultTheme)(_t4 || (_t4 = _`
43
- position: absolute;
44
- bottom: 0;
45
- left: ${0}px;
46
- width: ${0}px;
47
- height: ${0}px;
48
- border-radius: 50%;
49
- ${0};
50
- `), props => {
51
- var _props$$iconHeight;
52
- return ((_props$$iconHeight = props.$iconHeight) !== null && _props$$iconHeight !== void 0 ? _props$$iconHeight : 15) * 2 / 3;
53
- }, props => {
54
- var _props$$iconHeight2;
55
- return ((_props$$iconHeight2 = props.$iconHeight) !== null && _props$$iconHeight2 !== void 0 ? _props$$iconHeight2 : 15) * 2 / 3;
56
- }, props => {
57
- var _props$$iconHeight3;
58
- return ((_props$$iconHeight3 = props.$iconHeight) !== null && _props$$iconHeight3 !== void 0 ? _props$$iconHeight3 : 15) * 2 / 3;
59
- }, props => {
60
- let darkThemeColor = props.theme.getColor('gray-100');
61
- let lightThemeColor = props.theme.getColor('gray-500');
62
- if (props.$status === 'verified') {
63
- darkThemeColor = props.theme.getColor('emerald-500');
64
- lightThemeColor = props.theme.getColor('emerald-500');
65
- } else if (props.$status === 'pending') {
66
- darkThemeColor = props.theme.getColor('signal-yellow-500');
67
- lightThemeColor = props.theme.getColor('signal-yellow-500');
68
- } else if (props.$status === 'rejected') {
69
- darkThemeColor = props.theme.getColor('red-600');
70
- lightThemeColor = props.theme.getColor('red-600');
71
- } else if (props.$status === 'mixed') {
72
- darkThemeColor = '#008CDB';
73
- lightThemeColor = '#008CDB';
74
- }
75
- return props.theme.themeProp('background-color', darkThemeColor, lightThemeColor);
76
- });
77
-
78
- export { VerificationIconWrapper, VerificationStatusColor, VerificationStatusIcon };
@@ -1,7 +0,0 @@
1
- export { default as Alert } from '../Alert/Alert.js';
2
- export { default as Badge } from '../Badge/Badge.js';
3
- export { default as Popover } from '../Popover/Popover.js';
4
- export { default as Tab } from '../Tab/Tab.js';
5
- export { default as Tabs } from '../Tabs/Tabs.js';
6
- export { default as Tooltip } from '../Tooltip/Tooltip.js';
7
- export { default as VerificationStatusIcon } from '../VerificationStatusIcon/VerificationStatusIcon.js';
@@ -1,40 +0,0 @@
1
- import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
- import React from '../../../node_modules/react/index.js';
3
- import PropTypes from '../../../node_modules/prop-types/index.js';
4
- import { ActionButton as ActionButton$2 } from './ActionButton.styled.js';
5
-
6
- const _excluded = ["icon", "disabled", "active", "onClick", "actionWidthHeight", "backgroundColors"];
7
- const ActionButton = React.forwardRef(function ActionButton(_ref, forwardedRef) {
8
- let {
9
- icon,
10
- disabled,
11
- active,
12
- onClick,
13
- actionWidthHeight,
14
- backgroundColors
15
- } = _ref,
16
- props = _objectWithoutProperties(_ref, _excluded);
17
- return React.createElement(ActionButton$2, _extends({
18
- ref: forwardedRef,
19
- disabled: disabled,
20
- active: active,
21
- onClick: onClick,
22
- actionWidthHeight: actionWidthHeight,
23
- backgroundColors: backgroundColors
24
- }, props), icon);
25
- });
26
- ActionButton.propTypes = process.env.NODE_ENV !== "production" ? {
27
- icon: PropTypes.element.isRequired,
28
- disabled: PropTypes.bool,
29
- active: PropTypes.bool,
30
- onClick: PropTypes.func,
31
- backgroundColors: PropTypes.arrayOf(PropTypes.string),
32
- actionWidthHeight: PropTypes.array
33
- } : {};
34
- ActionButton.defaultProps = {
35
- onClick: () => {},
36
- actionWidthHeight: [40, 40]
37
- };
38
- var ActionButton$1 = ActionButton;
39
-
40
- export { ActionButton$1 as default };
@@ -1,67 +0,0 @@
1
- import styled, { css } from 'styled-components';
2
- import { rgba } from 'polished';
3
- import { applyDefaultTheme } from '../../../utils/defaultTheme.js';
4
-
5
- let _ = t => t,
6
- _t,
7
- _t2;
8
- const ActionButton = styled.button.attrs(applyDefaultTheme)(_t || (_t = _`
9
- display: inline-flex;
10
- justify-content: center;
11
- align-items: center;
12
- border-radius: 50%;
13
- width: ${0};
14
- height: ${0};
15
- border: 0;
16
- color: inherit;
17
- background-color: transparent;
18
-
19
- background-position: center;
20
- background-repeat: no-repeat;
21
- background-size: 0 0;
22
- transition: background-size 250ms ease;
23
- cursor: pointer;
24
-
25
- ${0}
26
-
27
- &:hover:not(:disabled) {
28
- background-size: ${0}px
29
- ${0}px;
30
-
31
- svg {
32
- ${0};
33
- }
34
- }
35
-
36
- ${0}
37
-
38
- ${0}
39
-
40
- &:disabled {
41
- opacity: 0.5;
42
- color: inherit;
43
- cursor: not-allowed;
44
- }
45
-
46
- svg {
47
- width: 100%;
48
- max-width: ${0};
49
- max-height: ${0};
50
- pointer-events: none;
51
- transition: color 250ms;
52
- }
53
- `), props => `${props.actionWidthHeight[0]}px`, props => `${props.actionWidthHeight[1]}px`, props => {
54
- var _props$backgroundColo, _props$backgroundColo2, _props$backgroundColo3, _props$backgroundColo4;
55
- const darkThemeBgColor = (_props$backgroundColo = props === null || props === void 0 || (_props$backgroundColo2 = props.backgroundColors) === null || _props$backgroundColo2 === void 0 ? void 0 : _props$backgroundColo2[0]) !== null && _props$backgroundColo !== void 0 ? _props$backgroundColo : props.theme.getColor('gray-600');
56
- const lightThemeBgColor = (_props$backgroundColo3 = props === null || props === void 0 || (_props$backgroundColo4 = props.backgroundColors) === null || _props$backgroundColo4 === void 0 ? void 0 : _props$backgroundColo4[1]) !== null && _props$backgroundColo3 !== void 0 ? _props$backgroundColo3 : props.theme.getColor('gray-200');
57
- return props.theme.themeProp('background-image', `radial-gradient(circle at center, ${darkThemeBgColor} 50%, transparent 51%)`, `radial-gradient(circle at center, ${lightThemeBgColor} 50%, transparent 51%)`);
58
- }, props => Math.max(props.actionWidthHeight[0], props.actionWidthHeight[1]) * 2, props => Math.max(props.actionWidthHeight[0], props.actionWidthHeight[1]) * 2, props => props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-700')), props => props.active && css(_t2 || (_t2 = _`
59
- background-size: ${0}px
60
- ${0}px;
61
-
62
- svg {
63
- ${0};
64
- }
65
- `), Math.max(props.actionWidthHeight[0], props.actionWidthHeight[1]) * 2, Math.max(props.actionWidthHeight[0], props.actionWidthHeight[1]) * 2, props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-700'))), props => props.useShadow ? props.theme.themeProp('box-shadow', `0px 3px 6px ${rgba(props.theme.getColor('black'), 0.7)}`, `0px 3px 6px ${props.theme.getColor('black')}`) : null, props => `${props.actionWidthHeight[0] - 15}px`, props => `${props.actionWidthHeight[1] - 15}px`);
66
-
67
- export { ActionButton };
@@ -1 +0,0 @@
1
- export { default } from '../../ActionButton.js';