@ntbjs/react-components 1.3.0-rc.8 → 2.0.0-rc.3

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 (516) hide show
  1. package/.eslintrc +7 -8
  2. package/cjs/_virtual/_rollupPluginBabelHelpers.js +84 -0
  3. package/cjs/_virtual/index.js +7 -0
  4. package/cjs/_virtual/index2.js +7 -0
  5. package/cjs/_virtual/index3.js +7 -0
  6. package/cjs/_virtual/index4.js +7 -0
  7. package/cjs/_virtual/index5.js +7 -0
  8. package/cjs/_virtual/react-dom.development.js +7 -0
  9. package/cjs/_virtual/react-dom.production.js +7 -0
  10. package/cjs/_virtual/react-is.development.js +7 -0
  11. package/cjs/_virtual/react-is.development2.js +7 -0
  12. package/cjs/_virtual/react-is.production.min.js +7 -0
  13. package/cjs/_virtual/react-is.production.min2.js +7 -0
  14. package/cjs/_virtual/react.development.js +7 -0
  15. package/cjs/_virtual/react.production.js +7 -0
  16. package/cjs/components/data/Alert/Alert.js +81 -0
  17. package/cjs/components/data/Alert/Alert.styled.js +72 -0
  18. package/cjs/components/data/Alert/data/Alert/index.js +9 -0
  19. package/cjs/components/data/Badge/Badge.js +93 -0
  20. package/cjs/components/data/Badge/Badge.styled.js +156 -0
  21. package/cjs/components/data/Badge/data/Badge/index.js +9 -0
  22. package/cjs/components/data/Popover/Popover.js +102 -0
  23. package/cjs/components/data/Popover/Popover.styled.js +159 -0
  24. package/cjs/components/data/Popover/data/Popover/index.js +9 -0
  25. package/cjs/components/data/Tab/Tab.js +31 -0
  26. package/cjs/components/data/Tab/Tab.styled.js +22 -0
  27. package/cjs/components/data/Tab/data/Tab/index.js +9 -0
  28. package/cjs/components/data/Tabs/Tabs.js +91 -0
  29. package/cjs/components/data/Tabs/Tabs.styled.js +97 -0
  30. package/cjs/components/data/Tabs/data/Tabs/index.js +9 -0
  31. package/cjs/components/data/Tooltip/Tooltip.js +50 -0
  32. package/cjs/components/data/Tooltip/Tooltip.styled.js +38 -0
  33. package/cjs/components/data/Tooltip/data/Tooltip/index.js +9 -0
  34. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.js +42 -0
  35. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +79 -0
  36. package/cjs/components/data/data/index.js +21 -0
  37. package/cjs/components/inputs/ActionButton/ActionButton.js +42 -0
  38. package/cjs/components/inputs/ActionButton/ActionButton.styled.js +66 -0
  39. package/cjs/components/inputs/ActionButton/inputs/ActionButton/index.js +9 -0
  40. package/cjs/components/inputs/Button/Button.js +188 -0
  41. package/cjs/components/inputs/Button/Button.styled.js +294 -0
  42. package/cjs/components/inputs/Button/inputs/Button/index.js +9 -0
  43. package/cjs/components/inputs/Checkbox/Checkbox.js +102 -0
  44. package/cjs/components/inputs/Checkbox/Checkbox.styled.js +145 -0
  45. package/cjs/components/inputs/Checkbox/inputs/Checkbox/index.js +9 -0
  46. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +268 -0
  47. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +352 -0
  48. package/cjs/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +9 -0
  49. package/cjs/components/inputs/CompactStarRating/CompactStarRating.js +178 -0
  50. package/cjs/components/inputs/CompactStarRating/CompactStarRating.styled.js +258 -0
  51. package/cjs/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +9 -0
  52. package/cjs/components/inputs/CompactTextInput/CompactTextInput.js +187 -0
  53. package/cjs/components/inputs/CompactTextInput/CompactTextInput.styled.js +352 -0
  54. package/cjs/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +9 -0
  55. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +253 -0
  56. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +89 -0
  57. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +185 -0
  58. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +122 -0
  59. package/cjs/components/inputs/MultiSelect/MultiSelect.js +251 -0
  60. package/cjs/components/inputs/MultiSelect/MultiSelect.styled.js +279 -0
  61. package/cjs/components/inputs/MultiSelect/inputs/MultiSelect/index.js +9 -0
  62. package/cjs/components/inputs/Radio/Radio.js +67 -0
  63. package/cjs/components/inputs/Radio/Radio.styled.js +93 -0
  64. package/cjs/components/inputs/Radio/inputs/Radio/index.js +9 -0
  65. package/cjs/components/inputs/Switch/Switch.js +69 -0
  66. package/cjs/components/inputs/Switch/Switch.styled.js +123 -0
  67. package/cjs/components/inputs/Switch/inputs/Switch/index.js +9 -0
  68. package/cjs/components/inputs/TextArea/TextArea.js +186 -0
  69. package/cjs/components/inputs/TextArea/TextArea.styled.js +455 -0
  70. package/cjs/components/inputs/TextArea/inputs/TextArea/index.js +9 -0
  71. package/cjs/components/inputs/TextInput/TextInput.js +147 -0
  72. package/cjs/components/inputs/TextInput/TextInput.styled.js +276 -0
  73. package/cjs/components/inputs/TextInput/inputs/TextInput/index.js +9 -0
  74. package/cjs/components/inputs/inputs/index.js +33 -0
  75. package/cjs/components/layout/InputGroup/InputGroup.js +26 -0
  76. package/cjs/components/layout/InputGroup/InputGroup.styled.js +18 -0
  77. package/cjs/components/layout/InputGroup/layout/InputGroup/index.js +9 -0
  78. package/cjs/components/layout/SectionSeparator/SectionSeparator.js +29 -0
  79. package/cjs/components/layout/SectionSeparator/SectionSeparator.styled.js +21 -0
  80. package/cjs/components/layout/SectionSeparator/layout/SectionSeparator/index.js +9 -0
  81. package/cjs/components/layout/layout/index.js +11 -0
  82. package/cjs/components/widgets/AssetAction/AssetAction.js +106 -0
  83. package/cjs/components/widgets/AssetAction/AssetAction.styled.js +58 -0
  84. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.js +35 -0
  85. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +24 -0
  86. package/cjs/components/widgets/AssetGallery/AssetGallery.js +102 -0
  87. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +392 -0
  88. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +43 -0
  89. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +402 -0
  90. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +338 -0
  91. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +396 -0
  92. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +328 -0
  93. package/cjs/components/widgets/AssetGallery/asset.propType.js +58 -0
  94. package/cjs/components/widgets/AssetGallery/widgets/AssetGallery/index.js +9 -0
  95. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +50 -0
  96. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +96 -0
  97. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +9 -0
  98. package/cjs/components/widgets/ContextMenu/ContextMenu.js +28 -0
  99. package/cjs/components/widgets/ContextMenu/ContextMenu.styled.js +19 -0
  100. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +50 -0
  101. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +93 -0
  102. package/cjs/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +9 -0
  103. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +28 -0
  104. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +30 -0
  105. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +9 -0
  106. package/cjs/components/widgets/ContextMenu/widgets/ContextMenu/index.js +9 -0
  107. package/cjs/components/widgets/InfoCard/InfoCard.js +39 -0
  108. package/cjs/components/widgets/InfoCard/InfoCard.styled.js +110 -0
  109. package/cjs/components/widgets/InfoCard/widgets/InfoCard/index.js +9 -0
  110. package/cjs/components/widgets/Instructions/Instructions.js +217 -0
  111. package/cjs/components/widgets/Instructions/Instructions.styled.js +47 -0
  112. package/cjs/components/widgets/Instructions/widgets/Instructions/index.js +9 -0
  113. package/cjs/components/widgets/ProgressBar/ProgressBar.js +58 -0
  114. package/cjs/components/widgets/ProgressBar/ProgressBar.styled.js +154 -0
  115. package/cjs/components/widgets/ProgressBar/widgets/ProgressBar/index.js +9 -0
  116. package/cjs/components/widgets/SummaryCard/SummaryCard.js +92 -0
  117. package/cjs/components/widgets/SummaryCard/SummaryCard.styled.js +142 -0
  118. package/cjs/components/widgets/widgets/index.js +25 -0
  119. package/cjs/hooks/useEventListner.js +26 -0
  120. package/cjs/hooks/useIsomorphicLayoutEffect.js +11 -0
  121. package/cjs/hooks/useOnClickOutside.js +17 -0
  122. package/cjs/icons/arrow-back.svg.js +20 -0
  123. package/cjs/icons/arrow-forward.svg.js +20 -0
  124. package/cjs/icons/check-rectangle-filled.svg.js +20 -0
  125. package/cjs/icons/close.svg.js +20 -0
  126. package/cjs/icons/edit-note.svg.js +20 -0
  127. package/cjs/icons/expand-more.svg.js +20 -0
  128. package/cjs/icons/headset.svg.js +20 -0
  129. package/cjs/icons/layers.svg.js +20 -0
  130. package/cjs/icons/link.svg.js +20 -0
  131. package/cjs/icons/play.svg.js +20 -0
  132. package/cjs/icons/search.svg.js +20 -0
  133. package/cjs/icons/star-filled.svg.js +20 -0
  134. package/cjs/icons/star.svg.js +20 -0
  135. package/cjs/icons/triangle-right.svg.js +20 -0
  136. package/cjs/icons/verification.svg.js +20 -0
  137. package/cjs/icons/warning-circle.svg.js +20 -0
  138. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +11 -0
  139. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +9 -0
  140. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +11 -0
  141. package/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +10 -0
  142. package/cjs/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +9 -0
  143. package/cjs/node_modules/@babel/runtime/helpers/esm/createClass.js +19 -0
  144. package/cjs/node_modules/@babel/runtime/helpers/esm/createSuper.js +22 -0
  145. package/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js +16 -0
  146. package/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +15 -0
  147. package/cjs/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +11 -0
  148. package/cjs/node_modules/@babel/runtime/helpers/esm/inherits.js +20 -0
  149. package/cjs/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +14 -0
  150. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +9 -0
  151. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +33 -0
  152. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +9 -0
  153. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +9 -0
  154. package/cjs/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +29 -0
  155. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +19 -0
  156. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +15 -0
  157. package/cjs/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +14 -0
  158. package/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +11 -0
  159. package/cjs/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +14 -0
  160. package/cjs/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +13 -0
  161. package/cjs/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +14 -0
  162. package/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +18 -0
  163. package/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +13 -0
  164. package/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js +15 -0
  165. package/cjs/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +15 -0
  166. package/cjs/node_modules/@emotion/cache/dist/emotion-cache.esm.js +503 -0
  167. package/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js +59 -0
  168. package/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +13 -0
  169. package/cjs/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +158 -0
  170. package/cjs/node_modules/@emotion/react/dist/emotion-react.esm.js +66 -0
  171. package/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +240 -0
  172. package/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +144 -0
  173. package/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +56 -0
  174. package/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +16 -0
  175. package/cjs/node_modules/@emotion/utils/dist/emotion-utils.esm.js +60 -0
  176. package/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +20 -0
  177. package/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +907 -0
  178. package/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +374 -0
  179. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +128 -0
  180. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +165 -0
  181. package/cjs/node_modules/@restart/hooks/esm/useMergedRefs.js +46 -0
  182. package/cjs/node_modules/@restart/hooks/esm/useUpdateEffect.js +41 -0
  183. package/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +24 -0
  184. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +186 -0
  185. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +22 -0
  186. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +13 -0
  187. package/cjs/node_modules/memoize-one/dist/memoize-one.esm.js +55 -0
  188. package/cjs/node_modules/object-assign/index.js +94 -0
  189. package/cjs/node_modules/prop-types/checkPropTypes.js +110 -0
  190. package/cjs/node_modules/prop-types/factoryWithThrowingShims.js +69 -0
  191. package/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +621 -0
  192. package/cjs/node_modules/prop-types/index.js +33 -0
  193. package/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +16 -0
  194. package/cjs/node_modules/prop-types/lib/has.js +7 -0
  195. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +186 -0
  196. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +22 -0
  197. package/cjs/node_modules/prop-types/node_modules/react-is/index.js +13 -0
  198. package/cjs/node_modules/react/cjs/react.development.js +1246 -0
  199. package/cjs/node_modules/react/cjs/react.production.js +552 -0
  200. package/cjs/node_modules/react/index.js +19 -0
  201. package/cjs/node_modules/react-dom/cjs/react-dom.development.js +432 -0
  202. package/cjs/node_modules/react-dom/cjs/react-dom.production.js +218 -0
  203. package/cjs/node_modules/react-dom/index.js +44 -0
  204. package/cjs/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +6 -0
  205. package/cjs/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +23 -0
  206. package/cjs/node_modules/react-select/dist/Select-aab027f3.esm.js +2653 -0
  207. package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +1426 -0
  208. package/cjs/node_modules/react-select/dist/useCreatable-84008237.esm.js +101 -0
  209. package/cjs/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +78 -0
  210. package/cjs/node_modules/style-inject/dist/style-inject.es.js +32 -0
  211. package/cjs/node_modules/stylis/src/Enum.js +24 -0
  212. package/cjs/node_modules/stylis/src/Middleware.js +37 -0
  213. package/cjs/node_modules/stylis/src/Parser.js +201 -0
  214. package/cjs/node_modules/stylis/src/Serializer.js +43 -0
  215. package/cjs/node_modules/stylis/src/Tokenizer.js +243 -0
  216. package/cjs/node_modules/stylis/src/Utility.js +134 -0
  217. package/cjs/node_modules/tippy.js/animations/shift-away-subtle.css.js +6 -0
  218. package/cjs/node_modules/tippy.js/dist/tippy.css.js +6 -0
  219. package/cjs/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +12 -0
  220. package/{ssr → cjs/ssr/ssr}/index.js +1 -3
  221. package/cjs/styles/utils/colors.scss.js +11 -0
  222. package/cjs/utils/dateTime.js +20 -0
  223. package/cjs/utils/defaultTheme.js +52 -0
  224. package/doctor-storybook.log +20 -0
  225. package/esm/_virtual/_rollupPluginBabelHelpers.js +74 -0
  226. package/esm/_virtual/index.js +3 -0
  227. package/esm/_virtual/index2.js +3 -0
  228. package/esm/_virtual/index3.js +3 -0
  229. package/esm/_virtual/index4.js +3 -0
  230. package/esm/_virtual/index5.js +3 -0
  231. package/esm/_virtual/react-dom.development.js +3 -0
  232. package/esm/_virtual/react-dom.production.js +3 -0
  233. package/esm/_virtual/react-is.development.js +3 -0
  234. package/esm/_virtual/react-is.development2.js +3 -0
  235. package/esm/_virtual/react-is.production.min.js +3 -0
  236. package/esm/_virtual/react-is.production.min2.js +3 -0
  237. package/esm/_virtual/react.development.js +3 -0
  238. package/esm/_virtual/react.production.js +3 -0
  239. package/esm/components/data/Alert/Alert.js +77 -0
  240. package/esm/components/data/Alert/Alert.styled.js +63 -0
  241. package/esm/components/data/Alert/data/Alert/index.js +1 -0
  242. package/esm/components/data/Badge/Badge.js +89 -0
  243. package/esm/components/data/Badge/Badge.styled.js +145 -0
  244. package/esm/components/data/Badge/data/Badge/index.js +1 -0
  245. package/esm/components/data/Popover/Popover.js +94 -0
  246. package/esm/components/data/Popover/Popover.styled.js +150 -0
  247. package/esm/components/data/Popover/data/Popover/index.js +1 -0
  248. package/esm/components/data/Tab/Tab.js +27 -0
  249. package/esm/components/data/Tab/Tab.styled.js +14 -0
  250. package/esm/components/data/Tab/data/Tab/index.js +1 -0
  251. package/esm/components/data/Tabs/Tabs.js +87 -0
  252. package/esm/components/data/Tabs/Tabs.styled.js +85 -0
  253. package/esm/components/data/Tabs/data/Tabs/index.js +1 -0
  254. package/esm/components/data/Tooltip/Tooltip.js +46 -0
  255. package/esm/components/data/Tooltip/Tooltip.styled.js +29 -0
  256. package/esm/components/data/Tooltip/data/Tooltip/index.js +1 -0
  257. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.js +38 -0
  258. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +69 -0
  259. package/esm/components/data/data/index.js +7 -0
  260. package/esm/components/inputs/ActionButton/ActionButton.js +38 -0
  261. package/esm/components/inputs/ActionButton/ActionButton.styled.js +58 -0
  262. package/esm/components/inputs/ActionButton/inputs/ActionButton/index.js +1 -0
  263. package/esm/components/inputs/Button/Button.js +184 -0
  264. package/esm/components/inputs/Button/Button.styled.js +277 -0
  265. package/esm/components/inputs/Button/inputs/Button/index.js +1 -0
  266. package/esm/components/inputs/Checkbox/Checkbox.js +98 -0
  267. package/esm/components/inputs/Checkbox/Checkbox.styled.js +132 -0
  268. package/esm/components/inputs/Checkbox/inputs/Checkbox/index.js +1 -0
  269. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +264 -0
  270. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +324 -0
  271. package/esm/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +1 -0
  272. package/esm/components/inputs/CompactStarRating/CompactStarRating.js +174 -0
  273. package/esm/components/inputs/CompactStarRating/CompactStarRating.styled.js +245 -0
  274. package/esm/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +1 -0
  275. package/esm/components/inputs/CompactTextInput/CompactTextInput.js +183 -0
  276. package/esm/components/inputs/CompactTextInput/CompactTextInput.styled.js +335 -0
  277. package/esm/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +1 -0
  278. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +247 -0
  279. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +75 -0
  280. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +181 -0
  281. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +104 -0
  282. package/esm/components/inputs/MultiSelect/MultiSelect.js +247 -0
  283. package/esm/components/inputs/MultiSelect/MultiSelect.styled.js +251 -0
  284. package/esm/components/inputs/MultiSelect/inputs/MultiSelect/index.js +1 -0
  285. package/esm/components/inputs/Radio/Radio.js +63 -0
  286. package/esm/components/inputs/Radio/Radio.styled.js +84 -0
  287. package/esm/components/inputs/Radio/inputs/Radio/index.js +1 -0
  288. package/esm/components/inputs/Switch/Switch.js +65 -0
  289. package/esm/components/inputs/Switch/Switch.styled.js +110 -0
  290. package/esm/components/inputs/Switch/inputs/Switch/index.js +1 -0
  291. package/esm/components/inputs/TextArea/TextArea.js +182 -0
  292. package/esm/components/inputs/TextArea/TextArea.styled.js +437 -0
  293. package/esm/components/inputs/TextArea/inputs/TextArea/index.js +1 -0
  294. package/esm/components/inputs/TextInput/TextInput.js +143 -0
  295. package/esm/components/inputs/TextInput/TextInput.styled.js +261 -0
  296. package/esm/components/inputs/TextInput/inputs/TextInput/index.js +1 -0
  297. package/esm/components/inputs/inputs/index.js +13 -0
  298. package/esm/components/layout/InputGroup/InputGroup.js +22 -0
  299. package/esm/components/layout/InputGroup/InputGroup.styled.js +10 -0
  300. package/esm/components/layout/InputGroup/layout/InputGroup/index.js +1 -0
  301. package/esm/components/layout/SectionSeparator/SectionSeparator.js +25 -0
  302. package/esm/components/layout/SectionSeparator/SectionSeparator.styled.js +13 -0
  303. package/esm/components/layout/SectionSeparator/layout/SectionSeparator/index.js +1 -0
  304. package/esm/components/layout/layout/index.js +2 -0
  305. package/esm/components/widgets/AssetAction/AssetAction.js +102 -0
  306. package/esm/components/widgets/AssetAction/AssetAction.styled.js +46 -0
  307. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.js +31 -0
  308. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +16 -0
  309. package/esm/components/widgets/AssetGallery/AssetGallery.js +98 -0
  310. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +384 -0
  311. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +33 -0
  312. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +398 -0
  313. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +311 -0
  314. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +392 -0
  315. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +302 -0
  316. package/esm/components/widgets/AssetGallery/asset.propType.js +53 -0
  317. package/esm/components/widgets/AssetGallery/widgets/AssetGallery/index.js +1 -0
  318. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +46 -0
  319. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +84 -0
  320. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +1 -0
  321. package/esm/components/widgets/ContextMenu/ContextMenu.js +24 -0
  322. package/esm/components/widgets/ContextMenu/ContextMenu.styled.js +11 -0
  323. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +46 -0
  324. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +83 -0
  325. package/esm/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +1 -0
  326. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +24 -0
  327. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +22 -0
  328. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +1 -0
  329. package/esm/components/widgets/ContextMenu/widgets/ContextMenu/index.js +1 -0
  330. package/esm/components/widgets/InfoCard/InfoCard.js +35 -0
  331. package/esm/components/widgets/InfoCard/InfoCard.styled.js +94 -0
  332. package/esm/components/widgets/InfoCard/widgets/InfoCard/index.js +1 -0
  333. package/esm/components/widgets/Instructions/Instructions.js +213 -0
  334. package/esm/components/widgets/Instructions/Instructions.styled.js +36 -0
  335. package/esm/components/widgets/Instructions/widgets/Instructions/index.js +1 -0
  336. package/esm/components/widgets/ProgressBar/ProgressBar.js +54 -0
  337. package/esm/components/widgets/ProgressBar/ProgressBar.styled.js +137 -0
  338. package/esm/components/widgets/ProgressBar/widgets/ProgressBar/index.js +1 -0
  339. package/esm/components/widgets/SummaryCard/SummaryCard.js +88 -0
  340. package/esm/components/widgets/SummaryCard/SummaryCard.styled.js +124 -0
  341. package/esm/components/widgets/widgets/index.js +9 -0
  342. package/esm/hooks/useEventListner.js +22 -0
  343. package/esm/hooks/useIsomorphicLayoutEffect.js +7 -0
  344. package/esm/hooks/useOnClickOutside.js +13 -0
  345. package/esm/icons/arrow-back.svg.js +16 -0
  346. package/esm/icons/arrow-forward.svg.js +16 -0
  347. package/esm/icons/check-rectangle-filled.svg.js +16 -0
  348. package/esm/icons/close.svg.js +16 -0
  349. package/esm/icons/edit-note.svg.js +16 -0
  350. package/esm/icons/expand-more.svg.js +16 -0
  351. package/esm/icons/headset.svg.js +16 -0
  352. package/esm/icons/layers.svg.js +16 -0
  353. package/esm/icons/link.svg.js +16 -0
  354. package/esm/icons/play.svg.js +16 -0
  355. package/esm/icons/search.svg.js +16 -0
  356. package/esm/icons/star-filled.svg.js +16 -0
  357. package/esm/icons/star.svg.js +16 -0
  358. package/esm/icons/triangle-right.svg.js +16 -0
  359. package/esm/icons/verification.svg.js +16 -0
  360. package/esm/icons/warning-circle.svg.js +16 -0
  361. package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +7 -0
  362. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +5 -0
  363. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +7 -0
  364. package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +6 -0
  365. package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +5 -0
  366. package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +15 -0
  367. package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +18 -0
  368. package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
  369. package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +11 -0
  370. package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +7 -0
  371. package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +16 -0
  372. package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +10 -0
  373. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +5 -0
  374. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +29 -0
  375. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +5 -0
  376. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +5 -0
  377. package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +25 -0
  378. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +15 -0
  379. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +11 -0
  380. package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +10 -0
  381. package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +7 -0
  382. package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +10 -0
  383. package/esm/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +9 -0
  384. package/esm/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +10 -0
  385. package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +14 -0
  386. package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
  387. package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
  388. package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +11 -0
  389. package/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js +499 -0
  390. package/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +55 -0
  391. package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +9 -0
  392. package/esm/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +149 -0
  393. package/esm/node_modules/@emotion/react/dist/emotion-react.esm.js +56 -0
  394. package/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +236 -0
  395. package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +140 -0
  396. package/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +52 -0
  397. package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +12 -0
  398. package/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js +54 -0
  399. package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +16 -0
  400. package/esm/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +894 -0
  401. package/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +370 -0
  402. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +110 -0
  403. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +138 -0
  404. package/{useMergedRefs-b6d2f8fc.js → esm/node_modules/@restart/hooks/esm/useMergedRefs.js} +4 -5
  405. package/esm/node_modules/@restart/hooks/esm/useUpdateEffect.js +37 -0
  406. package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +22 -0
  407. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +181 -0
  408. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +17 -0
  409. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +11 -0
  410. package/esm/node_modules/memoize-one/dist/memoize-one.esm.js +51 -0
  411. package/esm/node_modules/object-assign/index.js +90 -0
  412. package/esm/node_modules/prop-types/checkPropTypes.js +106 -0
  413. package/esm/node_modules/prop-types/factoryWithThrowingShims.js +65 -0
  414. package/esm/node_modules/prop-types/factoryWithTypeCheckers.js +617 -0
  415. package/esm/node_modules/prop-types/index.js +29 -0
  416. package/esm/node_modules/prop-types/lib/ReactPropTypesSecret.js +12 -0
  417. package/esm/node_modules/prop-types/lib/has.js +3 -0
  418. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +181 -0
  419. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +17 -0
  420. package/esm/node_modules/prop-types/node_modules/react-is/index.js +11 -0
  421. package/esm/node_modules/react/cjs/react.development.js +1244 -0
  422. package/esm/node_modules/react/cjs/react.production.js +547 -0
  423. package/esm/node_modules/react/index.js +15 -0
  424. package/esm/node_modules/react-dom/cjs/react-dom.development.js +427 -0
  425. package/esm/node_modules/react-dom/cjs/react-dom.production.js +213 -0
  426. package/esm/node_modules/react-dom/index.js +42 -0
  427. package/esm/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +4 -0
  428. package/esm/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +19 -0
  429. package/esm/node_modules/react-select/dist/Select-aab027f3.esm.js +2644 -0
  430. package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +1385 -0
  431. package/esm/node_modules/react-select/dist/useCreatable-84008237.esm.js +97 -0
  432. package/esm/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +74 -0
  433. package/esm/node_modules/style-inject/dist/style-inject.es.js +28 -0
  434. package/esm/node_modules/stylis/src/Enum.js +12 -0
  435. package/esm/node_modules/stylis/src/Middleware.js +32 -0
  436. package/esm/node_modules/stylis/src/Parser.js +193 -0
  437. package/esm/node_modules/stylis/src/Serializer.js +38 -0
  438. package/esm/node_modules/stylis/src/Tokenizer.js +223 -0
  439. package/esm/node_modules/stylis/src/Utility.js +117 -0
  440. package/esm/node_modules/tippy.js/animations/shift-away-subtle.css.js +4 -0
  441. package/esm/node_modules/tippy.js/dist/tippy.css.js +4 -0
  442. package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +8 -0
  443. package/esm/ssr/ssr/index.js +1 -0
  444. package/esm/styles/utils/colors.scss.js +7 -0
  445. package/esm/utils/dateTime.js +16 -0
  446. package/esm/utils/defaultTheme.js +47 -0
  447. package/icons/arrow-forward.svg +3 -0
  448. package/icons/index.js +2 -0
  449. package/migration-storybook.log +392 -0
  450. package/package.json +59 -21
  451. package/styles/all.scss +3 -3
  452. package/styles/config.scss +3 -0
  453. package/styles/utils/colors.scss +1 -1
  454. package/styles/utils/theme.scss +2 -0
  455. package/ActionButton-46735b89.js +0 -61
  456. package/Alert-13b75102.js +0 -117
  457. package/AssetGallery-0d503207.js +0 -1923
  458. package/AssetPreviewTopBar-912c3469.js +0 -99
  459. package/Badge-757b0a39.js +0 -221
  460. package/Button-49f82b31.js +0 -264
  461. package/Checkbox-68dc38a8.js +0 -140
  462. package/CompactAutocompleteSelect-96137f48.js +0 -451
  463. package/CompactStarRating-15c1b812.js +0 -339
  464. package/CompactTextInput-198d0800.js +0 -349
  465. package/ContextMenu-4ec3d9f3.js +0 -32
  466. package/ContextMenuItem-ba2b697e.js +0 -110
  467. package/InputGroup-49fbc423.js +0 -28
  468. package/Instructions-2babb8a3.js +0 -263
  469. package/MultiLevelCheckboxSelect-e6e5cb90.js +0 -698
  470. package/MultiSelect-efd60232.js +0 -377
  471. package/Popover-569cd272.js +0 -146
  472. package/Radio-32d0513a.js +0 -86
  473. package/SectionSeparator-259a22ed.js +0 -37
  474. package/Switch-4a41585f.js +0 -107
  475. package/Tab-f499ecbc.js +0 -35
  476. package/Tabs-116aa951.js +0 -151
  477. package/TextArea-18fbcc9f.js +0 -375
  478. package/TextInput-0d109708.js +0 -236
  479. package/Tooltip-66daf6e3.js +0 -61
  480. package/VerificationStatusIcon-d5bfb67a.js +0 -121
  481. package/close-ebf2f3cf.js +0 -41
  482. package/data/Alert/index.js +0 -11
  483. package/data/Badge/index.js +0 -10
  484. package/data/Popover/index.js +0 -15
  485. package/data/Tab/index.js +0 -10
  486. package/data/Tabs/index.js +0 -12
  487. package/data/Tooltip/index.js +0 -12
  488. package/data/index.js +0 -29
  489. package/defaultTheme-ea44e34a.js +0 -1422
  490. package/edit-note-c47d292e.js +0 -41
  491. package/expand-more-94585605.js +0 -41
  492. package/inputs/ActionButton/index.js +0 -11
  493. package/inputs/Button/index.js +0 -18
  494. package/inputs/Checkbox/index.js +0 -12
  495. package/inputs/CompactAutocompleteSelect/index.js +0 -29
  496. package/inputs/CompactStarRating/index.js +0 -22
  497. package/inputs/CompactTextInput/index.js +0 -24
  498. package/inputs/MultiSelect/index.js +0 -16
  499. package/inputs/Radio/index.js +0 -12
  500. package/inputs/Switch/index.js +0 -12
  501. package/inputs/TextArea/index.js +0 -25
  502. package/inputs/TextInput/index.js +0 -14
  503. package/inputs/index.js +0 -59
  504. package/layout/InputGroup/index.js +0 -10
  505. package/layout/SectionSeparator/index.js +0 -10
  506. package/layout/index.js +0 -14
  507. package/react-select-creatable.esm-2f23d6c6.js +0 -7709
  508. package/shift-away-subtle-0bed9a3c.js +0 -9
  509. package/warning-circle-24522402.js +0 -41
  510. package/widgets/AssetGallery/index.js +0 -50
  511. package/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -11
  512. package/widgets/ContextMenu/ContextMenuItem/index.js +0 -10
  513. package/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -32
  514. package/widgets/ContextMenu/index.js +0 -10
  515. package/widgets/Instructions/index.js +0 -34
  516. package/widgets/index.js +0 -58
@@ -0,0 +1,392 @@
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
+
package/package.json CHANGED
@@ -1,14 +1,48 @@
1
1
  {
2
2
  "name": "@ntbjs/react-components",
3
- "version": "1.3.0-rc.8",
3
+ "version": "2.0.0-rc.3",
4
4
  "description": "NTBs common front-end design utilities and React components.",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": {
8
+ "import": "./build/esm/components/index.js",
9
+ "require": "./build/cjs/components/index.js"
10
+ },
11
+ "./ssr": {
12
+ "import": "./build/esm/ssr/index.js",
13
+ "require": "./build/cjs/ssr/index.js"
14
+ },
15
+ "./inputs": {
16
+ "import": "./build/esm/components/inputs/index.js",
17
+ "require": "./build/cjs/components/inputs/index.js"
18
+ },
19
+ "./data": {
20
+ "import": "./build/esm/components/data/index.js",
21
+ "require": "./build/cjs/components/data/index.js"
22
+ },
23
+ "./widgets": {
24
+ "import": "./build/esm/components/widgets/index.js",
25
+ "require": "./build/cjs/components/widgets/index.js"
26
+ },
27
+ "./layout": {
28
+ "import": "./build/esm/components/layout/index.js",
29
+ "require": "./build/cjs/components/layout/index.js"
30
+ },
31
+ "./*": {
32
+ "import": "./build/esm/*",
33
+ "require": "./build/cjs/*"
34
+ }
35
+ },
36
+ "main": "./build/cjs/components/index.js",
37
+ "module": "./build/esm/components/index.js",
38
+ "sideEffects": false,
5
39
  "scripts": {
6
- "build": "cross-env NODE_ENV=production rollup -c",
40
+ "build": "mkdir -p /tmp/.npm-cache && cross-env NODE_ENV=production ROLLUP_CACHE_DIR=/tmp/.npm-cache rollup -c",
7
41
  "test": "jest",
8
42
  "test:watch": "jest --watch",
9
43
  "lint": "eslint .",
10
- "storybook": "start-storybook -p 6006",
11
- "storybook:export": "build-storybook",
44
+ "storybook": "storybook dev -p 6006",
45
+ "storybook:export": "storybook build",
12
46
  "generate": "node ./util/create-component",
13
47
  "prepublishOnly": "npm run build"
14
48
  },
@@ -21,9 +55,9 @@
21
55
  "url": ""
22
56
  },
23
57
  "homepage": "https://bitbucket.org/NTB-NO/react-components/src/master/",
24
- "peerDependencies": {
25
- "react": ">=16.8.0",
26
- "react-dom": ">=16.8.0"
58
+ "engines": {
59
+ "node": ">=22.0.0",
60
+ "npm": ">=10.0.0"
27
61
  },
28
62
  "devDependencies": {
29
63
  "@babel/core": "^7.13.16",
@@ -32,14 +66,20 @@
32
66
  "@babel/plugin-proposal-optional-chaining": "^7.13.12",
33
67
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
34
68
  "@babel/preset-react": "^7.13.13",
69
+ "@chromatic-com/storybook": "^3.2.6",
35
70
  "@rollup/plugin-babel": "^5.3.0",
36
71
  "@rollup/plugin-commonjs": "^19.0.0",
37
72
  "@rollup/plugin-node-resolve": "^13.0.0",
38
- "@storybook/addon-actions": "^6.5.14",
39
- "@storybook/addon-docs": "^6.5.14",
40
- "@storybook/addon-essentials": "^6.5.14",
41
- "@storybook/addon-links": "^6.5.14",
42
- "@storybook/react": "^6.5.14",
73
+ "@storybook/addon-actions": "^8.6.12",
74
+ "@storybook/addon-docs": "^8.6.12",
75
+ "@storybook/addon-essentials": "^8.6.12",
76
+ "@storybook/addon-links": "^8.6.12",
77
+ "@storybook/addon-mdx-gfm": "^8.6.12",
78
+ "@storybook/addon-themes": "^8.6.12",
79
+ "@storybook/blocks": "^8.6.12",
80
+ "@storybook/react": "^8.6.12",
81
+ "@storybook/react-webpack5": "^8.6.12",
82
+ "@storybook/test": "^8.6.12",
43
83
  "@svgr/rollup": "^5.5.0",
44
84
  "@svgr/webpack": "^5.5.0",
45
85
  "@testing-library/jest-dom": "^5.12.0",
@@ -55,8 +95,6 @@
55
95
  "jest": "^27.0.4",
56
96
  "postcss": "^8.3.0",
57
97
  "prop-types": "^15.7.2",
58
- "react": "^17.0.2",
59
- "react-dom": "^17.0.2",
60
98
  "rollup": "^2.50.6",
61
99
  "rollup-plugin-copy": "^3.3.0",
62
100
  "rollup-plugin-delete": "^2.0.0",
@@ -65,18 +103,18 @@
65
103
  "rollup-plugin-postcss": "^4.0.0",
66
104
  "rollup-plugin-scss": "^2.6.1",
67
105
  "rollup-plugin-url": "^3.0.1",
68
- "sass": "^1.34.1",
69
- "sass-loader": "^10.1.1",
70
- "storybook-dark-mode": "^2.0.4",
106
+ "sass": "^1.86.3",
107
+ "sass-loader": "^16.0.5",
108
+ "storybook": "^8.6.12",
71
109
  "url-loader": "^4.1.1"
72
110
  },
73
111
  "dependencies": {
112
+ "@floating-ui/react": "^0.26.24",
74
113
  "@restart/hooks": "^0.3.26",
75
- "@storybook/addons": "^6.5.14",
76
- "@storybook/theming": "^6.5.14",
114
+ "@storybook/theming": "^8.6.12",
77
115
  "@tippyjs/react": "^4.2.6",
78
116
  "lodash": "^4.17.21",
79
- "nanoid": "^3.1.25",
117
+ "nanoid": "^3.3.8",
80
118
  "polished": "^4.1.3",
81
119
  "popper-max-size-modifier": "^0.2.0",
82
120
  "react-lazy-load-image-component": "^1.5.1",
@@ -84,6 +122,6 @@
84
122
  "react-select-async-paginate": "^0.7.3",
85
123
  "react-spinners": "^0.13.8",
86
124
  "resize-observer-polyfill": "^1.5.1",
87
- "styled-components": "^5.3.5"
125
+ "styled-components": "^5.3.7"
88
126
  }
89
127
  }
package/styles/all.scss CHANGED
@@ -1,3 +1,3 @@
1
- @import './config';
2
- @import 'utils/colors';
3
- @import 'utils/theme';
1
+ @use './config' as *;
2
+ @use 'utils/colors' as *;
3
+ @use 'utils/theme' as *;
@@ -2,8 +2,10 @@
2
2
  * Colors
3
3
  */
4
4
  $colors: (
5
+ 'orange-600': #634e01,
5
6
  'orange-500': #ff9900,
6
7
  'orange-400': #ffcb7e,
8
+ 'emerald-600': #296c58,
7
9
  'emerald-500': #30826a,
8
10
  'emerald-400': #64b49d,
9
11
  'emerald-300': #bfe0d5,
@@ -20,6 +22,7 @@ $colors: (
20
22
  'cercise-500': #5f1031,
21
23
  'cercise-400': #854962,
22
24
  'cercise-300': #d099b0,
25
+ 'cercise-200': #fecaca,
23
26
  'cercise-100': #f9f3f5,
24
27
  'red-600': #7f1b1b,
25
28
  'red-500': #d83000,
@@ -1,4 +1,4 @@
1
- @import '../config';
1
+ @use '../config' as *;
2
2
 
3
3
  @function color($name) {
4
4
  @if map-has-key($colors, $name) {
@@ -1,3 +1,5 @@
1
+ @use '../config' as *;
2
+
1
3
  @mixin color($dark-color, $light-color) {
2
4
  @include genericThemeCode('color', $dark-color, $light-color);
3
5
  }