@ntbjs/react-components 2.0.0-rc.12 → 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 (559) 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/build/styles/utils/colors.scss +15 -0
  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 +45 -58
  113. package/styles/all.scss +3 -3
  114. package/styles/config.scss +1 -0
  115. package/styles/utils/colors.scss +1 -1
  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 -81
  133. package/cjs/components/data/Alert/Alert.styled.js +0 -72
  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 -156
  137. package/cjs/components/data/Badge/data/Badge/index.js +0 -9
  138. package/cjs/components/data/Popover/Popover.js +0 -102
  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 -22
  143. package/cjs/components/data/Tab/data/Tab/index.js +0 -9
  144. package/cjs/components/data/Tabs/Tabs.js +0 -91
  145. package/cjs/components/data/Tabs/Tabs.styled.js +0 -97
  146. package/cjs/components/data/Tabs/data/Tabs/index.js +0 -9
  147. package/cjs/components/data/Tooltip/Tooltip.js +0 -50
  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 -79
  152. package/cjs/components/data/data/index.js +0 -21
  153. package/cjs/components/inputs/ActionButton/ActionButton.js +0 -42
  154. package/cjs/components/inputs/ActionButton/ActionButton.styled.js +0 -66
  155. package/cjs/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -9
  156. package/cjs/components/inputs/Button/Button.js +0 -188
  157. package/cjs/components/inputs/Button/Button.styled.js +0 -294
  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 -145
  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 -352
  164. package/cjs/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -9
  165. package/cjs/components/inputs/CompactStarRating/CompactStarRating.js +0 -178
  166. package/cjs/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -258
  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 -352
  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 -89
  173. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -185
  174. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -122
  175. package/cjs/components/inputs/MultiSelect/MultiSelect.js +0 -251
  176. package/cjs/components/inputs/MultiSelect/MultiSelect.styled.js +0 -279
  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 -93
  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 -123
  183. package/cjs/components/inputs/Switch/inputs/Switch/index.js +0 -9
  184. package/cjs/components/inputs/TextArea/TextArea.js +0 -186
  185. package/cjs/components/inputs/TextArea/TextArea.styled.js +0 -455
  186. package/cjs/components/inputs/TextArea/inputs/TextArea/index.js +0 -9
  187. package/cjs/components/inputs/TextInput/TextInput.js +0 -147
  188. package/cjs/components/inputs/TextInput/TextInput.styled.js +0 -276
  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 -18
  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 -21
  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 -58
  200. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -35
  201. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -24
  202. package/cjs/components/widgets/AssetGallery/AssetGallery.js +0 -102
  203. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -392
  204. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -43
  205. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -402
  206. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -338
  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 -96
  213. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -9
  214. package/cjs/components/widgets/ContextMenu/ContextMenu.js +0 -28
  215. package/cjs/components/widgets/ContextMenu/ContextMenu.styled.js +0 -19
  216. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -50
  217. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -93
  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 -30
  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 -39
  224. package/cjs/components/widgets/InfoCard/InfoCard.styled.js +0 -110
  225. package/cjs/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -9
  226. package/cjs/components/widgets/Instructions/Instructions.js +0 -217
  227. package/cjs/components/widgets/Instructions/Instructions.styled.js +0 -47
  228. package/cjs/components/widgets/Instructions/widgets/Instructions/index.js +0 -9
  229. package/cjs/components/widgets/ProgressBar/ProgressBar.js +0 -58
  230. package/cjs/components/widgets/ProgressBar/ProgressBar.styled.js +0 -154
  231. package/cjs/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -9
  232. package/cjs/components/widgets/SummaryCard/SummaryCard.js +0 -92
  233. package/cjs/components/widgets/SummaryCard/SummaryCard.styled.js +0 -142
  234. package/cjs/components/widgets/widgets/index.js +0 -25
  235. package/cjs/hooks/useEventListner.js +0 -26
  236. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -11
  237. package/cjs/hooks/useOnClickOutside.js +0 -17
  238. package/cjs/icons/arrow-back.svg.js +0 -20
  239. package/cjs/icons/arrow-forward.svg.js +0 -20
  240. package/cjs/icons/check-rectangle-filled.svg.js +0 -20
  241. package/cjs/icons/close.svg.js +0 -20
  242. package/cjs/icons/edit-note.svg.js +0 -20
  243. package/cjs/icons/expand-more.svg.js +0 -20
  244. package/cjs/icons/headset.svg.js +0 -20
  245. package/cjs/icons/layers.svg.js +0 -20
  246. package/cjs/icons/link.svg.js +0 -20
  247. package/cjs/icons/play.svg.js +0 -20
  248. package/cjs/icons/search.svg.js +0 -20
  249. package/cjs/icons/star-filled.svg.js +0 -20
  250. package/cjs/icons/star.svg.js +0 -20
  251. package/cjs/icons/triangle-right.svg.js +0 -20
  252. package/cjs/icons/verification.svg.js +0 -20
  253. package/cjs/icons/warning-circle.svg.js +0 -20
  254. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -11
  255. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -9
  256. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -11
  257. package/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -10
  258. package/cjs/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -9
  259. package/cjs/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -19
  260. package/cjs/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -22
  261. package/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -16
  262. package/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +0 -15
  263. package/cjs/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -11
  264. package/cjs/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -20
  265. package/cjs/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -14
  266. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -9
  267. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -33
  268. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -9
  269. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -9
  270. package/cjs/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -29
  271. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  272. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -15
  273. package/cjs/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -14
  274. package/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -11
  275. package/cjs/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -14
  276. package/cjs/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -13
  277. package/cjs/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -14
  278. package/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -18
  279. package/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -13
  280. package/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -15
  281. package/cjs/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -15
  282. package/cjs/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -445
  283. package/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -59
  284. package/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -13
  285. package/cjs/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +0 -116
  286. package/cjs/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +0 -63
  287. package/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -240
  288. package/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -144
  289. package/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -56
  290. package/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +0 -14
  291. package/cjs/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -51
  292. package/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -907
  293. package/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -374
  294. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -128
  295. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -165
  296. package/cjs/node_modules/@restart/hooks/esm/useMergedRefs.js +0 -46
  297. package/cjs/node_modules/@restart/hooks/esm/useUpdateEffect.js +0 -41
  298. package/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -24
  299. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -186
  300. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -22
  301. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -13
  302. package/cjs/node_modules/memoize-one/dist/memoize-one.esm.js +0 -55
  303. package/cjs/node_modules/object-assign/index.js +0 -94
  304. package/cjs/node_modules/prop-types/checkPropTypes.js +0 -110
  305. package/cjs/node_modules/prop-types/factoryWithThrowingShims.js +0 -69
  306. package/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +0 -621
  307. package/cjs/node_modules/prop-types/index.js +0 -33
  308. package/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -16
  309. package/cjs/node_modules/prop-types/lib/has.js +0 -7
  310. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -186
  311. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -22
  312. package/cjs/node_modules/prop-types/node_modules/react-is/index.js +0 -13
  313. package/cjs/node_modules/react/cjs/react.development.js +0 -1246
  314. package/cjs/node_modules/react/cjs/react.production.js +0 -552
  315. package/cjs/node_modules/react/index.js +0 -19
  316. package/cjs/node_modules/react-dom/cjs/react-dom.development.js +0 -432
  317. package/cjs/node_modules/react-dom/cjs/react-dom.production.js +0 -218
  318. package/cjs/node_modules/react-dom/index.js +0 -44
  319. package/cjs/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -6
  320. package/cjs/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -23
  321. package/cjs/node_modules/react-select/dist/Select-aab027f3.esm.js +0 -2653
  322. package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1426
  323. package/cjs/node_modules/react-select/dist/useCreatable-84008237.esm.js +0 -101
  324. package/cjs/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -78
  325. package/cjs/node_modules/style-inject/dist/style-inject.es.js +0 -32
  326. package/cjs/node_modules/stylis/src/Enum.js +0 -24
  327. package/cjs/node_modules/stylis/src/Middleware.js +0 -37
  328. package/cjs/node_modules/stylis/src/Parser.js +0 -201
  329. package/cjs/node_modules/stylis/src/Serializer.js +0 -43
  330. package/cjs/node_modules/stylis/src/Tokenizer.js +0 -243
  331. package/cjs/node_modules/stylis/src/Utility.js +0 -134
  332. package/cjs/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -6
  333. package/cjs/node_modules/tippy.js/dist/tippy.css.js +0 -6
  334. package/cjs/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -10
  335. package/cjs/styles/utils/colors.scss.js +0 -11
  336. package/cjs/utils/dateTime.js +0 -20
  337. package/cjs/utils/defaultTheme.js +0 -52
  338. package/doctor-storybook.log +0 -20
  339. package/esm/_virtual/_rollupPluginBabelHelpers.js +0 -74
  340. package/esm/_virtual/index.js +0 -3
  341. package/esm/_virtual/index2.js +0 -3
  342. package/esm/_virtual/index3.js +0 -3
  343. package/esm/_virtual/index4.js +0 -3
  344. package/esm/_virtual/index5.js +0 -3
  345. package/esm/_virtual/react-dom.development.js +0 -3
  346. package/esm/_virtual/react-dom.production.js +0 -3
  347. package/esm/_virtual/react-is.development.js +0 -3
  348. package/esm/_virtual/react-is.development2.js +0 -3
  349. package/esm/_virtual/react-is.production.min.js +0 -3
  350. package/esm/_virtual/react-is.production.min2.js +0 -3
  351. package/esm/_virtual/react.development.js +0 -3
  352. package/esm/_virtual/react.production.js +0 -3
  353. package/esm/components/data/Alert/Alert.js +0 -77
  354. package/esm/components/data/Alert/Alert.styled.js +0 -63
  355. package/esm/components/data/Alert/data/Alert/index.js +0 -1
  356. package/esm/components/data/Badge/Badge.js +0 -89
  357. package/esm/components/data/Badge/Badge.styled.js +0 -145
  358. package/esm/components/data/Badge/data/Badge/index.js +0 -1
  359. package/esm/components/data/Popover/Popover.js +0 -94
  360. package/esm/components/data/Popover/Popover.styled.js +0 -150
  361. package/esm/components/data/Popover/data/Popover/index.js +0 -1
  362. package/esm/components/data/Tab/Tab.js +0 -27
  363. package/esm/components/data/Tab/Tab.styled.js +0 -14
  364. package/esm/components/data/Tab/data/Tab/index.js +0 -1
  365. package/esm/components/data/Tabs/Tabs.js +0 -87
  366. package/esm/components/data/Tabs/Tabs.styled.js +0 -85
  367. package/esm/components/data/Tabs/data/Tabs/index.js +0 -1
  368. package/esm/components/data/Tooltip/Tooltip.js +0 -46
  369. package/esm/components/data/Tooltip/Tooltip.styled.js +0 -29
  370. package/esm/components/data/Tooltip/data/Tooltip/index.js +0 -1
  371. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.js +0 -38
  372. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +0 -69
  373. package/esm/components/data/data/index.js +0 -7
  374. package/esm/components/inputs/ActionButton/ActionButton.js +0 -38
  375. package/esm/components/inputs/ActionButton/ActionButton.styled.js +0 -58
  376. package/esm/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -1
  377. package/esm/components/inputs/Button/Button.js +0 -184
  378. package/esm/components/inputs/Button/Button.styled.js +0 -277
  379. package/esm/components/inputs/Button/inputs/Button/index.js +0 -1
  380. package/esm/components/inputs/Checkbox/Checkbox.js +0 -98
  381. package/esm/components/inputs/Checkbox/Checkbox.styled.js +0 -132
  382. package/esm/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -1
  383. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +0 -264
  384. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -324
  385. package/esm/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -1
  386. package/esm/components/inputs/CompactStarRating/CompactStarRating.js +0 -174
  387. package/esm/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -245
  388. package/esm/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -1
  389. package/esm/components/inputs/CompactTextInput/CompactTextInput.js +0 -183
  390. package/esm/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -335
  391. package/esm/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -1
  392. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +0 -247
  393. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -75
  394. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -181
  395. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -104
  396. package/esm/components/inputs/MultiSelect/MultiSelect.js +0 -247
  397. package/esm/components/inputs/MultiSelect/MultiSelect.styled.js +0 -251
  398. package/esm/components/inputs/MultiSelect/inputs/MultiSelect/index.js +0 -1
  399. package/esm/components/inputs/Radio/Radio.js +0 -63
  400. package/esm/components/inputs/Radio/Radio.styled.js +0 -84
  401. package/esm/components/inputs/Radio/inputs/Radio/index.js +0 -1
  402. package/esm/components/inputs/Switch/Switch.js +0 -65
  403. package/esm/components/inputs/Switch/Switch.styled.js +0 -110
  404. package/esm/components/inputs/Switch/inputs/Switch/index.js +0 -1
  405. package/esm/components/inputs/TextArea/TextArea.js +0 -182
  406. package/esm/components/inputs/TextArea/TextArea.styled.js +0 -437
  407. package/esm/components/inputs/TextArea/inputs/TextArea/index.js +0 -1
  408. package/esm/components/inputs/TextInput/TextInput.js +0 -143
  409. package/esm/components/inputs/TextInput/TextInput.styled.js +0 -261
  410. package/esm/components/inputs/TextInput/inputs/TextInput/index.js +0 -1
  411. package/esm/components/inputs/inputs/index.js +0 -13
  412. package/esm/components/layout/InputGroup/InputGroup.js +0 -22
  413. package/esm/components/layout/InputGroup/InputGroup.styled.js +0 -10
  414. package/esm/components/layout/InputGroup/layout/InputGroup/index.js +0 -1
  415. package/esm/components/layout/SectionSeparator/SectionSeparator.js +0 -25
  416. package/esm/components/layout/SectionSeparator/SectionSeparator.styled.js +0 -13
  417. package/esm/components/layout/SectionSeparator/layout/SectionSeparator/index.js +0 -1
  418. package/esm/components/layout/layout/index.js +0 -2
  419. package/esm/components/widgets/AssetAction/AssetAction.js +0 -102
  420. package/esm/components/widgets/AssetAction/AssetAction.styled.js +0 -46
  421. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -31
  422. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -16
  423. package/esm/components/widgets/AssetGallery/AssetGallery.js +0 -98
  424. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -384
  425. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -33
  426. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -398
  427. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -311
  428. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +0 -392
  429. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +0 -302
  430. package/esm/components/widgets/AssetGallery/asset.propType.js +0 -53
  431. package/esm/components/widgets/AssetGallery/widgets/AssetGallery/index.js +0 -1
  432. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +0 -46
  433. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +0 -84
  434. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -1
  435. package/esm/components/widgets/ContextMenu/ContextMenu.js +0 -24
  436. package/esm/components/widgets/ContextMenu/ContextMenu.styled.js +0 -11
  437. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -46
  438. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -83
  439. package/esm/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +0 -1
  440. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +0 -24
  441. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +0 -22
  442. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -1
  443. package/esm/components/widgets/ContextMenu/widgets/ContextMenu/index.js +0 -1
  444. package/esm/components/widgets/InfoCard/InfoCard.js +0 -35
  445. package/esm/components/widgets/InfoCard/InfoCard.styled.js +0 -94
  446. package/esm/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -1
  447. package/esm/components/widgets/Instructions/Instructions.js +0 -213
  448. package/esm/components/widgets/Instructions/Instructions.styled.js +0 -36
  449. package/esm/components/widgets/Instructions/widgets/Instructions/index.js +0 -1
  450. package/esm/components/widgets/ProgressBar/ProgressBar.js +0 -54
  451. package/esm/components/widgets/ProgressBar/ProgressBar.styled.js +0 -137
  452. package/esm/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -1
  453. package/esm/components/widgets/SummaryCard/SummaryCard.js +0 -88
  454. package/esm/components/widgets/SummaryCard/SummaryCard.styled.js +0 -124
  455. package/esm/components/widgets/widgets/index.js +0 -9
  456. package/esm/hooks/useEventListner.js +0 -22
  457. package/esm/hooks/useIsomorphicLayoutEffect.js +0 -7
  458. package/esm/hooks/useOnClickOutside.js +0 -13
  459. package/esm/icons/arrow-back.svg.js +0 -16
  460. package/esm/icons/arrow-forward.svg.js +0 -16
  461. package/esm/icons/check-rectangle-filled.svg.js +0 -16
  462. package/esm/icons/close.svg.js +0 -16
  463. package/esm/icons/edit-note.svg.js +0 -16
  464. package/esm/icons/expand-more.svg.js +0 -16
  465. package/esm/icons/headset.svg.js +0 -16
  466. package/esm/icons/layers.svg.js +0 -16
  467. package/esm/icons/link.svg.js +0 -16
  468. package/esm/icons/play.svg.js +0 -16
  469. package/esm/icons/search.svg.js +0 -16
  470. package/esm/icons/star-filled.svg.js +0 -16
  471. package/esm/icons/star.svg.js +0 -16
  472. package/esm/icons/triangle-right.svg.js +0 -16
  473. package/esm/icons/verification.svg.js +0 -16
  474. package/esm/icons/warning-circle.svg.js +0 -16
  475. package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -7
  476. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -5
  477. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -7
  478. package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -6
  479. package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  480. package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
  481. package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -18
  482. package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -12
  483. package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -7
  484. package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -16
  485. package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -10
  486. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -5
  487. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  488. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -5
  489. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -5
  490. package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -25
  491. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -15
  492. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -11
  493. package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -10
  494. package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
  495. package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
  496. package/esm/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -9
  497. package/esm/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -10
  498. package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
  499. package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
  500. package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
  501. package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -11
  502. package/esm/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -441
  503. package/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -55
  504. package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
  505. package/esm/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +0 -107
  506. package/esm/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +0 -56
  507. package/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -236
  508. package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -140
  509. package/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -52
  510. package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +0 -10
  511. package/esm/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -45
  512. package/esm/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -894
  513. package/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -370
  514. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -110
  515. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -138
  516. package/esm/node_modules/@restart/hooks/esm/useMergedRefs.js +0 -41
  517. package/esm/node_modules/@restart/hooks/esm/useUpdateEffect.js +0 -37
  518. package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -22
  519. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -181
  520. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -17
  521. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -11
  522. package/esm/node_modules/memoize-one/dist/memoize-one.esm.js +0 -51
  523. package/esm/node_modules/object-assign/index.js +0 -90
  524. package/esm/node_modules/prop-types/checkPropTypes.js +0 -106
  525. package/esm/node_modules/prop-types/factoryWithThrowingShims.js +0 -65
  526. package/esm/node_modules/prop-types/index.js +0 -29
  527. package/esm/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
  528. package/esm/node_modules/prop-types/lib/has.js +0 -3
  529. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -181
  530. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -17
  531. package/esm/node_modules/prop-types/node_modules/react-is/index.js +0 -11
  532. package/esm/node_modules/react/cjs/react.development.js +0 -1244
  533. package/esm/node_modules/react/cjs/react.production.js +0 -547
  534. package/esm/node_modules/react/index.js +0 -15
  535. package/esm/node_modules/react-dom/cjs/react-dom.development.js +0 -427
  536. package/esm/node_modules/react-dom/cjs/react-dom.production.js +0 -213
  537. package/esm/node_modules/react-dom/index.js +0 -42
  538. package/esm/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -4
  539. package/esm/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -19
  540. package/esm/node_modules/react-select/dist/Select-aab027f3.esm.js +0 -2644
  541. package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1385
  542. package/esm/node_modules/react-select/dist/useCreatable-84008237.esm.js +0 -97
  543. package/esm/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -74
  544. package/esm/node_modules/style-inject/dist/style-inject.es.js +0 -28
  545. package/esm/node_modules/stylis/src/Enum.js +0 -12
  546. package/esm/node_modules/stylis/src/Middleware.js +0 -32
  547. package/esm/node_modules/stylis/src/Parser.js +0 -193
  548. package/esm/node_modules/stylis/src/Serializer.js +0 -38
  549. package/esm/node_modules/stylis/src/Tokenizer.js +0 -223
  550. package/esm/node_modules/stylis/src/Utility.js +0 -117
  551. package/esm/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -4
  552. package/esm/node_modules/tippy.js/dist/tippy.css.js +0 -4
  553. package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -6
  554. package/esm/ssr/ssr/index.js +0 -1
  555. package/esm/styles/utils/colors.scss.js +0 -7
  556. package/esm/utils/dateTime.js +0 -16
  557. package/esm/utils/defaultTheme.js +0 -47
  558. package/migration-storybook.log +0 -392
  559. /package/{cjs/ssr → build}/ssr/index.js +0 -0
@@ -1,117 +0,0 @@
1
- /**
2
- * @param {number}
3
- * @return {number}
4
- */
5
- var abs = Math.abs;
6
-
7
- /**
8
- * @param {number}
9
- * @return {string}
10
- */
11
- var from = String.fromCharCode;
12
-
13
- /**
14
- * @param {object}
15
- * @return {object}
16
- */
17
- var assign = Object.assign;
18
-
19
- /**
20
- * @param {string} value
21
- * @param {number} length
22
- * @return {number}
23
- */
24
- function hash (value, length) {
25
- return charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0
26
- }
27
-
28
- /**
29
- * @param {string} value
30
- * @return {string}
31
- */
32
- function trim (value) {
33
- return value.trim()
34
- }
35
-
36
- /**
37
- * @param {string} value
38
- * @param {RegExp} pattern
39
- * @return {string?}
40
- */
41
- function match (value, pattern) {
42
- return (value = pattern.exec(value)) ? value[0] : value
43
- }
44
-
45
- /**
46
- * @param {string} value
47
- * @param {(string|RegExp)} pattern
48
- * @param {string} replacement
49
- * @return {string}
50
- */
51
- function replace (value, pattern, replacement) {
52
- return value.replace(pattern, replacement)
53
- }
54
-
55
- /**
56
- * @param {string} value
57
- * @param {string} search
58
- * @return {number}
59
- */
60
- function indexof (value, search) {
61
- return value.indexOf(search)
62
- }
63
-
64
- /**
65
- * @param {string} value
66
- * @param {number} index
67
- * @return {number}
68
- */
69
- function charat (value, index) {
70
- return value.charCodeAt(index) | 0
71
- }
72
-
73
- /**
74
- * @param {string} value
75
- * @param {number} begin
76
- * @param {number} end
77
- * @return {string}
78
- */
79
- function substr (value, begin, end) {
80
- return value.slice(begin, end)
81
- }
82
-
83
- /**
84
- * @param {string} value
85
- * @return {number}
86
- */
87
- function strlen (value) {
88
- return value.length
89
- }
90
-
91
- /**
92
- * @param {any[]} value
93
- * @return {number}
94
- */
95
- function sizeof (value) {
96
- return value.length
97
- }
98
-
99
- /**
100
- * @param {any} value
101
- * @param {any[]} array
102
- * @return {any}
103
- */
104
- function append (value, array) {
105
- return array.push(value), value
106
- }
107
-
108
- /**
109
- * @param {string[]} array
110
- * @param {function} callback
111
- * @return {string}
112
- */
113
- function combine (array, callback) {
114
- return array.map(callback).join('')
115
- }
116
-
117
- export { abs, append, assign, charat, combine, from, hash, indexof, match, replace, sizeof, strlen, substr, trim };
@@ -1,4 +0,0 @@
1
- import styleInject from '../../style-inject/dist/style-inject.es.js';
2
-
3
- var css_248z = ".tippy-box[data-animation=shift-away-subtle][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=top]{transform:translateY(5px)}.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=bottom]{transform:translateY(-5px)}.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=left]{transform:translateX(5px)}.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=right]{transform:translateX(-5px)}";
4
- styleInject(css_248z);
@@ -1,4 +0,0 @@
1
- import styleInject from '../../style-inject/dist/style-inject.es.js';
2
-
3
- var css_248z = ".tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:\"\";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}";
4
- styleInject(css_248z);
@@ -1,6 +0,0 @@
1
- import '../../react/index.js';
2
- import { r as react } from '../../../_virtual/index.js';
3
-
4
- var index = react.exports.useLayoutEffect ;
5
-
6
- export { index as default };
@@ -1 +0,0 @@
1
- export { ServerStyleSheet } from 'styled-components';
@@ -1,7 +0,0 @@
1
- import styleInject from '../../node_modules/style-inject/dist/style-inject.es.js';
2
-
3
- var css_248z = "/**\n * Colors\n */";
4
- var importedColors = {"orange-600":"#634e01","orange-500":"#ff9900","orange-400":"#ffcb7e","emerald-600":"#296c58","emerald-500":"#30826a","emerald-400":"#64b49d","emerald-300":"#bfe0d5","emerald-200":"#f3f9f7","gray-900":"#141313","gray-800":"#272727","gray-700":"#323232","gray-600":"#505050","gray-500":"#767676","gray-400":"#b0b6b9","gray-300":"#d9dce0","gray-200":"#eff1f4","gray-100":"#f7f8f9","cercise-500":"#5f1031","cercise-400":"#854962","cercise-300":"#d099b0","cercise-200":"#fecaca","cercise-100":"#f9f3f5","red-600":"#7f1b1b","red-500":"#d83000","red-200":"#fbeae6","brown-500":"#634e01","signal-yellow-500":"#f4e21e","signal-yellow-400":"#fff36c","signal-green-500":"#00bd98","signal-green-400":"#a3ffe0","black":"#202435","white":"#ffffff"};
5
- styleInject(css_248z);
6
-
7
- export { importedColors as default };
@@ -1,16 +0,0 @@
1
- const convertMsToHMS = ms => {
2
- const seconds = Math.floor(ms / 1000);
3
- const minutes = Math.floor(seconds / 60);
4
- const hours = Math.floor(minutes / 60);
5
- const secondsLeft = seconds % 60;
6
- const minutesLeft = minutes % 60;
7
- let hmsString = '';
8
- if (hours) {
9
- hmsString += hours < 10 ? `0${hours}:` : `${hours}:`;
10
- }
11
- hmsString += `${minutesLeft < 10 ? `0${minutesLeft}` : `${minutesLeft}`}:`;
12
- hmsString += secondsLeft < 10 ? `0${secondsLeft}` : `${secondsLeft}`;
13
- return hmsString;
14
- };
15
-
16
- export { convertMsToHMS };
@@ -1,47 +0,0 @@
1
- import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2 } from '../_virtual/_rollupPluginBabelHelpers.js';
2
- import importedColors from '../styles/utils/colors.scss.js';
3
- import { css } from 'styled-components';
4
-
5
- const _excluded = ["theme"];
6
- let _ = t => t,
7
- _t;
8
- const defaultTheme = {
9
- getColor: name => {
10
- if (!importedColors[name]) throw Error(`The color "${name}" is not registered.`);
11
- return importedColors[name];
12
- },
13
- primaryFontFamily: "'Roboto', sans-serif",
14
- secondaryFontFamily: "'Overpass', sans-serif",
15
- themeProp
16
- };
17
- function themeProp(property, darkMode, lightMode, specificity = 2) {
18
- const specificityString = Array(specificity).fill("&").join("");
19
- return css(_t || (_t = _`
20
- body.dark-theme ${0} {
21
- ${0}: ${0};
22
- }
23
-
24
- body.light-theme ${0} {
25
- ${0}: ${0};
26
- }
27
-
28
- body:not(.light-theme):not(.dark-theme) ${0} {
29
- ${0}: ${0};
30
-
31
- @media (prefers-color-scheme: dark) {
32
- ${0}: ${0};
33
- }
34
- }
35
- `), specificityString, property, darkMode, specificityString, property, lightMode, specificityString, property, lightMode, property, darkMode);
36
- }
37
- function applyDefaultTheme(_ref) {
38
- let {
39
- theme = {}
40
- } = _ref,
41
- props = _objectWithoutProperties(_ref, _excluded);
42
- return _objectSpread2(_objectSpread2({}, props), {}, {
43
- theme: Object.assign({}, defaultTheme, theme)
44
- });
45
- }
46
-
47
- export { applyDefaultTheme, defaultTheme };
@@ -1,392 +0,0 @@
1
- 🔎 checking possible migrations..
2
-
3
- 🔎 found a 'addons-api' migration:
4
- ╭ Migration notification ────────────────────────────────────────────────────────╮
5
- │ │
6
- │ Attention: We've detected that you're using the following package which is │
7
- │ removed in Storybook 8 and beyond: │
8
- │ │
9
- │ - @storybook/addons │
10
- │ │
11
- │ This package has been deprecated and replaced with @storybook/preview-api │
12
- │ and @storybook/manager-api. │
13
- │ │
14
- │ You can find more information about the new addons API in the migration │
15
- │ guide: │
16
- │ https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-addons │
17
- │ -api │
18
- │ │
19
- ╰────────────────────────────────────────────────────────────────────────────────╯
20
- ? Do you want to continue? › (Y/n)✔ Do you want to continue? … yes
21
-
22
- 🔎 found a 'new-frameworks' migration:
23
- ╭ Automigration detected ────────────────────────────────────────────────────────╮
24
- │ │
25
- │ We've detected your project is not fully setup with the new framework │
26
- │ format, which was introduced in Storybook 7. │
27
- │ │
28
- │ Storybook 7 introduced the concept of frameworks, which abstracts │
29
- │ configuration for renderers (e.g. React, Vue), builders (e.g. Webpack, │
30
- │ Vite) and defaults to make integrations easier. │
31
- │ │
32
- │ Your project should be updated to use Storybook's framework: │
33
- │ @storybook/react-webpack5. We can attempt to do this for you │
34
- │ automatically. │
35
- │ │
36
- │ Here are the steps this migration will do to migrate your project: │
37
- │ - Add the following dependencies: │
38
- │ - * @storybook/react-webpack5 │
39
- │ - Update or specify the framework field in .storybook/main.js with the │
40
- │ value of "@storybook/react-webpack5". │
41
- │ │
42
- │ │
43
- │ To learn more about the new framework format, see: https://github.com/stor │
44
- │ ybookjs/storybook/blob/next/MIGRATION.md#new-framework-api │
45
- │ │
46
- ╰────────────────────────────────────────────────────────────────────────────────╯
47
- ? Do you want to run the 'new-frameworks' migration on your project? › (Y/n)✔ Do you want to run the 'new-frameworks' migration on your project? … yes
48
- ✅ Installing new dependencies: @storybook/react-webpack5
49
- ✅ Updating main.js
50
- ✅ Updating "framework" field
51
- ✅ ran new-frameworks migration
52
- Unable to find .eslintrc config file, skipping
53
-
54
- 🔎 found a 'storybook-binary' migration:
55
- ╭ Automigration detected ────────────────────────────────────────────────────────╮
56
- │ │
57
- │ We've detected you are using Storybook 8.6.12 without Storybook's │
58
- │ storybook binary. Starting in Storybook 7.0, it has to be installed. │
59
- │ │
60
- │ │
61
- │ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md │
62
- │ #start-storybook--build-storybook-binaries-removed │
63
- │ │
64
- ╰────────────────────────────────────────────────────────────────────────────────╯
65
- ? Do you want to run the 'storybook-binary' migration on your project? › (Y/n)✔ Do you want to run the 'storybook-binary' migration on your project? … yes
66
-
67
- ✅ Adding 'storybook' as dev dependency
68
-
69
- ✅ ran storybook-binary migration
70
-
71
- 🔎 found a 'sb-scripts' migration:
72
- ╭ Automigration detected ────────────────────────────────────────────────────────╮
73
- │ │
74
- │ We've detected you are using Storybook 8.6.12 with scripts from previous │
75
- │ versions of Storybook. │
76
- │ Starting in Storybook 7, the start-storybook and build-storybook binaries │
77
- │ have changed to storybook dev and storybook build respectively. │
78
- │ In order to work with Storybook 8.6.12, your storybook scripts have to be │
79
- │ adjusted to use the binary. We can adjust them for you: │
80
- │ │
81
- │ storybook │
82
- │ from: │
83
- │ start-storybook -p 6006 │
84
- │ to: │
85
- │ storybook dev -p 6006 │
86
- │ │
87
- │ storybook:export │
88
- │ from: │
89
- │ build-storybook │
90
- │ to: │
91
- │ storybook build │
92
- │ │
93
- │ In case this migration did not cover all of your scripts, or you'd like │
94
- │ more info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md │
95
- │ #start-storybook--build-storybook-binaries-removed │
96
- │ │
97
- ╰────────────────────────────────────────────────────────────────────────────────╯
98
- ? Do you want to run the 'sb-scripts' migration on your project? › (Y/n)✔ Do you want to run the 'sb-scripts' migration on your project? … yes
99
- ✅ Updating scripts in package.json
100
-
101
-
102
- ✅ ran sb-scripts migration
103
-
104
- 🔎 found a 'remove-argtypes-regex' migration:
105
- ╭ Manual migration detected ─────────────────────────────────────────────────────╮
106
- │ │
107
- │ Attention: We've detected that you're using argTypesRegex: │
108
- │ │
109
- │ .storybook/preview.js │
110
- │ 6 | container: DocsContainer │
111
- │ 7 | }, │
112
- │ > 8 | actions: { argTypesRegex: '^on[A-Z].*' }, │
113
- │ | ^^^^^^^^^^^^^ │
114
- │ 9 | darkMode: { │
115
- │ 10 | stylePreview: true, │
116
- │ 11 | classTarget: 'body', │
117
- │ │
118
- │ Storybook's play functions let you render your stories interactively. │
119
- │ │
120
- │ In the past, play functions mocked action args implicitly by analyzing the │
121
- │ argTypesRegex │
122
- │ in your preview.js|ts file. │
123
- │ │
124
- │ However, Storybook 8 changes this behavior, and we now recommend using the │
125
- │ (fn) function to mock your component's methods instead. │
126
- │ │
127
- │ Use the following command to check for implied mocked actions in your play │
128
- │ functions: │
129
- │ npx storybook migrate find-implicit-spies │
130
- │ --glob="**/*.stories.@(js|jsx|ts|tsx)" │
131
- │ │
132
- │ Then, refer to our docs to migrate your play functions to Storybook 8: │
133
- │ https://storybook.js.org/docs/essentials/actions#via-storybooktest-fn-spy- │
134
- │ function │
135
- │ │
136
- ╰────────────────────────────────────────────────────────────────────────────────╯
137
-
138
- ? Select continue once you have made the required changes, or quit to exit the migration process › quit / continue? Select continue once you have made the required changes, or quit to exit the migration process › quit / continue? Select continue once you have made the required changes, or quit to exit the migration process › quit / continue✔ Select continue once you have made the required changes, or quit to exit the migration process … quit / continue
139
-
140
- 🔎 found a 'github-flavored-markdown-mdx' migration:
141
- ╭ Automigration detected ──────────────────────────────────────╮
142
- │ │
143
- │ In MDX1 you had the option of using GitHub flavored │
144
- │ markdown. │
145
- │ │
146
- │ Storybook >= 8.0 uses MDX3 for compiling MDX, and thus │
147
- │ no longer supports GFM out of the box. │
148
- │ Because of this you need to explicitly add the GFM │
149
- │ plugin in the addon-docs options: │
150
- │ https://storybook.js.org/docs/writing-docs/mdx#markdown- │
151
- │ tables-arent-rendering-correctly │
152
- │ │
153
- │ We recommend that you follow the guide in the link │
154
- │ above; however, we can add a temporary Storybook addon │
155
- │ to help make this migration easier. │
156
- │ We'll install the addon and add it to your storybook │
157
- │ config. │
158
- │ │
159
- ╰──────────────────────────────────────────────────────────────╯
160
- ? Do you want to run the 'github-flavored-markdown-mdx' migration on your project? › (Y/n)✔ Do you want to run the 'github-flavored-markdown-mdx' migration on your project? … yes
161
- ✅ Adding "@storybook/addon-mdx-gfm" addon
162
- ✅ ran github-flavored-markdown-mdx migration
163
-
164
- 🔎 found a 'mdx-to-csf' migration:
165
- ╭ Automigration detected ────────────────────────────────────────────────────────────────────────────╮
166
- │ │
167
- │ We've detected your project has one or more globs in your 'stories' config that matches │
168
- │ .stories.mdx files: │
169
- │ "../src/storybook/mdx/Introduction.stories.mdx" │
170
- │ "../src/**/*.stories.mdx" │
171
- │ "../src/**/*.stories.@(js|jsx|ts|tsx)" │
172
- │ │
173
- │ In Storybook 7, we have deprecated defining stories in MDX files, and consequently have │
174
- │ changed the suffix to simply .mdx. Since Storybook 8, we have removed the support of story │
175
- │ definition in MDX files entirely. Therefore '.stories.mdx' files aren't supported anymore. │
176
- │ │
177
- │ Now, since Storybook 8.0, we have removed support for .stories.mdx files. │
178
- │ │
179
- │ We can automatically migrate your 'stories' config to include any .mdx file instead of just │
180
- │ .stories.mdx. │
181
- │ That would result in the following 'stories' config: │
182
- │ "../src/storybook/mdx/Introduction.mdx" │
183
- │ "../src/**/*.mdx" │
184
- │ "../src/**/*.stories.@(js|jsx|ts|tsx)" │
185
- │ │
186
- │ Additionally, we will run the 'mdx-to-csf' codemod for you, which tries to transform │
187
- │ '*.stories.mdx' files to '*.stories.js' and '*.mdx' files. │
188
- │ │
189
- │ To learn more about this change, see: │
190
- │ https://storybook.js.org/docs/migration-guide#storiesmdx-to-mdxcsf │
191
- │ │
192
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
193
- ? Do you want to run the 'mdx-to-csf' migration on your project? › (Y/n)✔ Do you want to run the 'mdx-to-csf' migration on your project? … yes
194
- ✅ Setting 'stories' config:
195
- [
196
- "../src/storybook/mdx/Introduction.mdx",
197
- "../src/**/*.mdx",
198
- "../src/**/*.stories.@(js|jsx|ts|tsx)"
199
- ]
200
- ? Please enter the glob for your MDX stories › ./src/**/*.stories.mdx✔ Please enter the glob for your MDX stories … ./src/**/*.stories.mdx
201
- => Applying mdx-to-csf: 7 files
202
- The codemod was not able to transform the files mentioned above. We have renamed the files to .mdx.broken. Please check the files and rename them back to .mdx after you have either manually transformed them to mdx + csf or fixed the issues so that the codemod can transform them.
203
- The migration successfully updated your 'stories' config to include any .mdx file instead of just .stories.mdx.
204
-
205
- It also ran the 'mdx-to-csf' codemod to convert your MDX stories to CSF format.
206
- This codemod is not perfect however, so you may need to manually fix any issues it couldn't handle.
207
- ✅ ran mdx-to-csf migration
208
-
209
- 🔎 found a 'autodocsTrue' migration:
210
- ╭ Automigration detected ────────────────────────────────────────────────────────────────────────────╮
211
- │ │
212
- │ We've changed the configuration of autodocs (previous docsPage), so now the value: │
213
- │ - docs.autodocs: true -- means automatically create docs for every CSF file │
214
- │ - docs.autodocs: 'tag' -- means only create autodocs for CSF files with the 'autodocs' tag │
215
- │ - docs.autodocs: false -- means never create autodocs │
216
- │ │
217
- │ Based on your prior configuration, we can set the `docs.autodocs` to keep your old behaviour: │
218
- │ │
219
- │ docs: { autodocs: true } │
220
- │ │
221
- │ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes │
222
- │ │
223
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
224
- ? Do you want to run the 'autodocsTrue' migration on your project? › (Y/n)✔ Do you want to run the 'autodocsTrue' migration on your project? … yes
225
- ✅ Setting 'docs.autodocs' to true in main.js
226
- ✅ ran autodocsTrue migration
227
-
228
- 🔎 found a 'remove-react-dependency' migration:
229
- ╭ Manual migration detected ─────────────────────────────────────────────────────────────────────────╮
230
- │ │
231
- │ We detected that your project has a dependency for "react" that it might not need. │
232
- │ Nothing breaks by having it, you can safely ignore this message, if you wish. │
233
- │ │
234
- │ Storybook asked you to add "react" as a direct dependency in the past when upgrading from │
235
- │ Storybook 6 to 7. │
236
- │ However, since version 8.0, Storybook no longer requires you to provide "react" as a │
237
- │ dependency. │
238
- │ Some community addons might still wrongfully list "react" and "react-dom" as required peer │
239
- │ dependencies, but since Storybook 7.6 it should not be needed in the majority of cases. │
240
- │ │
241
- │ If you know you are not using React outside of Storybook, it should be safe to remove the │
242
- │ "react" and "react-dom" dependencies from your project's package.json. │
243
- │ Storybook cannot do this automatically as removing it might break your project, so it should │
244
- │ be done manually with care. │
245
- │ │
246
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
247
-
248
- ? Select continue once you have made the required changes, or quit to exit the migration process › quit / continue? Select continue once you have made the required changes, or quit to exit the migration process › quit / continue? Select continue once you have made the required changes, or quit to exit the migration process › quit / continue✔ Select continue once you have made the required changes, or quit to exit the migration process … quit / continue
249
-
250
- 🔎 found a 'webpack5-compiler-setup' migration:
251
- ╭ Automigration detected ────────────────────────────────────────────────╮
252
- │ │
253
- │ Storybook's Webpack5 builder is now compiler agnostic, meaning you │
254
- │ can choose a compiler addon that best fits your project: │
255
- │ │
256
- │ - Babel: A vast ecosystem and is battle-tested. It's a robust │
257
- │ choice if you have an extensive Babel setup or need specific Babel │
258
- │ plugins for your project. │
259
- │ - SWC: Fast and easy to configure. Ideal if you want faster │
260
- │ builds and have a straightforward configuration without the need │
261
- │ for Babel's extensibility. │
262
- │ │
263
- │ In the next step, Storybook will ask you to choose a compiler to │
264
- │ automatically set it up for you. │
265
- │ │
266
- │ After the migration, you can switch Webpack5 compilers by swapping │
267
- │ the addon in your project. │
268
- │ You can find more information here: │
269
- │ https://storybook.js.org/docs/builders/webpack#compiler-support │
270
- │ │
271
- ╰────────────────────────────────────────────────────────────────────────╯
272
- ? Do you want to run the 'webpack5-compiler-setup' migration on your project? › (Y/n)✔ Do you want to run the 'webpack5-compiler-setup' migration on your project? … yes
273
- ? Which compiler would you like to use? › - Use arrow-keys. Return to submit.
274
- ❯ Babel - Choose Babel for a vast ecosystem and battle-tested reliability.
275
- SWC
276
- ? Which compiler would you like to use? › - Use arrow-keys. Return to submit.
277
- Babel
278
- ❯ SWC - Choose SWC for fast builds and simple configuration.
279
- ? Which compiler would you like to use? › - Use arrow-keys. Return to submit.
280
- ❯ Babel - Choose Babel for a vast ecosystem and battle-tested reliability.
281
- SWC
282
- ✔ Which compiler would you like to use? › Babel
283
- ❌ error when running webpack5-compiler-setup migration
284
- Error: Unable to find or evaluate .storybook/main.js: SB_CORE-SERVER_0007 (MainFileEvaluationError): Storybook couldn't evaluate your .storybook/main.js file.
285
-
286
- Original error:
287
- ReferenceError: require is not defined
288
- at file:///.storybook/main.js:1:46
289
- at ModuleJobSync.runSync (node:internal/modules/esm/module_job:395:35)
290
- at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:360:47)
291
- at loadESMFromCJS (node:internal/modules/cjs/loader:1385:24)
292
- at Module._compile (node:internal/modules/cjs/loader:1536:5)
293
- at Module._compile (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/esbuild-register/dist/node.js:2258:26)
294
- at node:internal/modules/cjs/loader:1706:10
295
- at Object.newLoader (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/esbuild-register/dist/node.js:2262:9)
296
- at extensions..js (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/esbuild-register/dist/node.js:4833:24)
297
- at Module.load (node:internal/modules/cjs/loader:1289:32)
298
- at getStorybookData (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/@storybook/cli/dist/bin/index.cjs:54:3173)
299
- at async add (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/@storybook/cli/dist/bin/index.cjs:56:1572)
300
- at async Object.run (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/@storybook/cli/dist/bin/index.cjs:574:562)
301
- at async runFixes (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/@storybook/cli/dist/bin/index.cjs:597:1801)
302
- at async automigrate (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/@storybook/cli/dist/bin/index.cjs:595:1807)
303
- at async doUpgrade (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/@storybook/cli/dist/bin/index.cjs:664:2133)
304
- at async withTelemetry (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/@storybook/core/dist/core-server/index.cjs:35778:12)
305
- at async upgrade (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/@storybook/cli/dist/bin/index.cjs:664:2640)
306
-
307
-
308
- 🔎 found a 'upgradeStorybookRelatedDependencies' migration:
309
- ╭ Automigration detected ─────────────────────────────────────────────────────────────────────────────────╮
310
- │ │
311
- │ You're upgrading to the latest version of Storybook. We recommend upgrading the following packages: │
312
- │ - @storybook/addons: 6.5.14 => 7.6.17 │
313
- │ - storybook-dark-mode: 2.0.4 => 4.0.2 │
314
- │ │
315
- │ After upgrading, we will run the dedupe command, which could possibly have effects on dependencies │
316
- │ that are not Storybook related. │
317
- │ see: https://docs.npmjs.com/cli/commands/npm-dedupe │
318
- │ │
319
- │ Do you want to proceed (upgrade the detected packages)? │
320
- │ │
321
- ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯
322
- ? Do you want to run the 'upgradeStorybookRelatedDependencies' migration on your project? › (y/N)✔ Do you want to run the 'upgradeStorybookRelatedDependencies' migration on your project? … no
323
-
324
- 🔎 found a 'visual-tests-addon' migration:
325
- ╭ Automigration detected ─────────────────────────────────────────────────────────────────────────────────╮
326
- │ │
327
- │ New to Storybook 8: Storybook's Visual Tests addon helps you catch unintentional changes/bugs in │
328
- │ your stories. The addon is powered by Chromatic, a cloud-based testing tool developed by │
329
- │ Storybook's core team. │
330
- │ │
331
- │ Learn more: https://storybook.js.org/docs/writing-tests/visual-testing │
332
- │ │
333
- │ Install Visual Tests addon in your project? │
334
- │ │
335
- ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯
336
- ? Do you want to run the 'visual-tests-addon' migration on your project? › (Y/n)✔ Do you want to run the 'visual-tests-addon' migration on your project? … yes
337
- ✅ Adding "@chromatic-com/storybook" addon
338
- ✅ ran visual-tests-addon migration
339
-
340
- ╭ Migration check ran with failures ──────────────────────────────────────────────────────────────────────╮
341
- │ │
342
- │ Successful migrations: │
343
- │ │
344
- │ new-frameworks, storybook-binary, sb-scripts, github-flavored-markdown-mdx, mdx-to-csf, │
345
- │ autodocsTrue, visual-tests-addon │
346
- │ │
347
- │ Failed migrations: │
348
- │ │
349
- │ webpack5-compiler-setup: │
350
- │ Unable to find or evaluate .storybook/main.js: SB_CORE-SERVER_0007 (MainFileEvaluationError): │
351
- │ Storybook couldn't evaluate your .storybook/main.js file. │
352
- │ │
353
- │ Original error: │
354
- │ ReferenceError: require is not defined │
355
- │ at file:///.storybook/main.js:1:46 │
356
- │ at ModuleJobSync.runSync (node:internal/modules/esm/module_job:395:35) │
357
- │ at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:360:47) │
358
- │ at loadESMFromCJS (node:internal/modules/cjs/loader:1385:24) │
359
- │ at Module._compile (node:internal/modules/cjs/loader:1536:5) │
360
- │ at Module._compile │
361
- │ (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/esbuild-register/dist/node.js:2258:26) │
362
- │ at node:internal/modules/cjs/loader:1706:10 │
363
- │ at Object.newLoader │
364
- │ (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/esbuild-register/dist/node.js:2262:9) │
365
- │ at extensions..js │
366
- │ (/Users/andres/.npm/_npx/9a1f8981ba4daac2/node_modules/esbuild-register/dist/node.js:4833:24) │
367
- │ at Module.load (node:internal/modules/cjs/loader:1289:32) │
368
- │ │
369
- │ You can find the full logs in │
370
- │ /Users/andres/NTB/ntb-components/react-components/migration-storybook.log │
371
- │ │
372
- │ Manual migrations: │
373
- │ │
374
- │ remove-argtypes-regex, remove-react-dependency │
375
- │ │
376
- │ Skipped migrations: │
377
- │ │
378
- │ upgradeStorybookRelatedDependencies │
379
- │ │
380
- │ ───────────────────────────────────────────────── │
381
- │ │
382
- │ If you'd like to run the migrations again, you can do so by running 'npx storybook automigrate' │
383
- │ │
384
- │ The automigrations try to migrate common patterns in your project, but might not contain everything │
385
- │ needed to migrate to the latest version of Storybook. │
386
- │ │
387
- │ Please check the changelog and migration guide for manual migrations and more information: │
388
- │ https://storybook.js.org/docs/migration-guide │
389
- │ And reach out on Discord if you need help: https://discord.gg/storybook │
390
- │ │
391
- ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯
392
-
File without changes