@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,158 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ require('../../../react/index.js');
6
+ var emotionCache_esm = require('../../cache/dist/emotion-cache.esm.js');
7
+ var emotionUtils_esm = require('../../utils/dist/emotion-utils.esm.js');
8
+ var emotionSerialize_esm = require('../../serialize/dist/emotion-serialize.esm.js');
9
+ var emotionUseInsertionEffectWithFallbacks_esm = require('../../use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js');
10
+ var index = require('../../../../_virtual/index.js');
11
+
12
+ var isDevelopment = false;
13
+
14
+ var isBrowser = typeof document !== 'undefined';
15
+
16
+ var EmotionCacheContext = /* #__PURE__ */index.react.exports.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
17
+ // because this module is primarily intended for the browser and node
18
+ // but it's also required in react native and similar environments sometimes
19
+ // and we could have a special build just for that
20
+ // but this is much easier and the native packages
21
+ // might use a different theme context in the future anyway
22
+ typeof HTMLElement !== 'undefined' ? /* #__PURE__ */emotionCache_esm["default"]({
23
+ key: 'css'
24
+ }) : null);
25
+
26
+ EmotionCacheContext.Provider;
27
+
28
+ exports.w = function withEmotionCache(func) {
29
+ return /*#__PURE__*/index.react.exports.forwardRef(function (props, ref) {
30
+ // the cache will never be null in the browser
31
+ var cache = index.react.exports.useContext(EmotionCacheContext);
32
+ return func(props, cache, ref);
33
+ });
34
+ };
35
+
36
+ if (!isBrowser) {
37
+ exports.w = function withEmotionCache(func) {
38
+ return function (props) {
39
+ var cache = index.react.exports.useContext(EmotionCacheContext);
40
+
41
+ if (cache === null) {
42
+ // yes, we're potentially creating this on every render
43
+ // it doesn't actually matter though since it's only on the server
44
+ // so there will only every be a single render
45
+ // that could change in the future because of suspense and etc. but for now,
46
+ // this works and i don't want to optimise for a future thing that we aren't sure about
47
+ cache = emotionCache_esm["default"]({
48
+ key: 'css'
49
+ });
50
+ return /*#__PURE__*/index.react.exports.createElement(EmotionCacheContext.Provider, {
51
+ value: cache
52
+ }, func(props, cache));
53
+ } else {
54
+ return func(props, cache);
55
+ }
56
+ };
57
+ };
58
+ }
59
+
60
+ var ThemeContext = /* #__PURE__ */index.react.exports.createContext({});
61
+
62
+ var hasOwn = {}.hasOwnProperty;
63
+
64
+ var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
65
+ var createEmotionProps = function createEmotionProps(type, props) {
66
+
67
+ var newProps = {};
68
+
69
+ for (var _key in props) {
70
+ if (hasOwn.call(props, _key)) {
71
+ newProps[_key] = props[_key];
72
+ }
73
+ }
74
+
75
+ newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:
76
+
77
+ return newProps;
78
+ };
79
+
80
+ var Insertion = function Insertion(_ref) {
81
+ var cache = _ref.cache,
82
+ serialized = _ref.serialized,
83
+ isStringTag = _ref.isStringTag;
84
+ emotionUtils_esm.registerStyles(cache, serialized, isStringTag);
85
+ var rules = emotionUseInsertionEffectWithFallbacks_esm.useInsertionEffectAlwaysWithSyncFallback(function () {
86
+ return emotionUtils_esm.insertStyles(cache, serialized, isStringTag);
87
+ });
88
+
89
+ if (!isBrowser && rules !== undefined) {
90
+ var _ref2;
91
+
92
+ var serializedNames = serialized.name;
93
+ var next = serialized.next;
94
+
95
+ while (next !== undefined) {
96
+ serializedNames += ' ' + next.name;
97
+ next = next.next;
98
+ }
99
+
100
+ return /*#__PURE__*/index.react.exports.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
101
+ __html: rules
102
+ }, _ref2.nonce = cache.sheet.nonce, _ref2));
103
+ }
104
+
105
+ return null;
106
+ };
107
+
108
+ var Emotion = /* #__PURE__ */exports.w(function (props, cache, ref) {
109
+ var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
110
+ // not passing the registered cache to serializeStyles because it would
111
+ // make certain babel optimisations not possible
112
+
113
+ if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
114
+ cssProp = cache.registered[cssProp];
115
+ }
116
+
117
+ var WrappedComponent = props[typePropName];
118
+ var registeredStyles = [cssProp];
119
+ var className = '';
120
+
121
+ if (typeof props.className === 'string') {
122
+ className = emotionUtils_esm.getRegisteredStyles(cache.registered, registeredStyles, props.className);
123
+ } else if (props.className != null) {
124
+ className = props.className + " ";
125
+ }
126
+
127
+ var serialized = emotionSerialize_esm.serializeStyles(registeredStyles, undefined, index.react.exports.useContext(ThemeContext));
128
+
129
+ className += cache.key + "-" + serialized.name;
130
+ var newProps = {};
131
+
132
+ for (var _key2 in props) {
133
+ if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (!isDevelopment )) {
134
+ newProps[_key2] = props[_key2];
135
+ }
136
+ }
137
+
138
+ newProps.className = className;
139
+
140
+ if (ref) {
141
+ newProps.ref = ref;
142
+ }
143
+
144
+ return /*#__PURE__*/index.react.exports.createElement(index.react.exports.Fragment, null, /*#__PURE__*/index.react.exports.createElement(Insertion, {
145
+ cache: cache,
146
+ serialized: serialized,
147
+ isStringTag: typeof WrappedComponent === 'string'
148
+ }), /*#__PURE__*/index.react.exports.createElement(WrappedComponent, newProps));
149
+ });
150
+
151
+ var Emotion$1 = Emotion;
152
+
153
+ exports.E = Emotion$1;
154
+ exports.T = ThemeContext;
155
+ exports.a = isDevelopment;
156
+ exports.c = createEmotionProps;
157
+ exports.h = hasOwn;
158
+ exports.i = isBrowser;
@@ -0,0 +1,66 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var emotionElementD59e098f_esm = require('./emotion-element-d59e098f.esm.js');
6
+ require('../../../react/index.js');
7
+ require('../../use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js');
8
+ var emotionSerialize_esm = require('../../serialize/dist/emotion-serialize.esm.js');
9
+ require('../../../hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js');
10
+ var index = require('../../../../_virtual/index.js');
11
+
12
+ exports.jsx = function jsx(type, props) {
13
+ // eslint-disable-next-line prefer-rest-params
14
+ var args = arguments;
15
+
16
+ if (props == null || !emotionElementD59e098f_esm.h.call(props, 'css')) {
17
+ return index.react.exports.createElement.apply(undefined, args);
18
+ }
19
+
20
+ var argsLength = args.length;
21
+ var createElementArgArray = new Array(argsLength);
22
+ createElementArgArray[0] = emotionElementD59e098f_esm.E;
23
+ createElementArgArray[1] = emotionElementD59e098f_esm.c(type, props);
24
+
25
+ for (var i = 2; i < argsLength; i++) {
26
+ createElementArgArray[i] = args[i];
27
+ }
28
+
29
+ return index.react.exports.createElement.apply(null, createElementArgArray);
30
+ };
31
+
32
+ (function (_jsx) {
33
+ var JSX;
34
+
35
+ (function (_JSX) {})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
36
+ })(exports.jsx || (exports.jsx = {}));
37
+
38
+ function css() {
39
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
40
+ args[_key] = arguments[_key];
41
+ }
42
+
43
+ return emotionSerialize_esm.serializeStyles(args);
44
+ }
45
+
46
+ function keyframes() {
47
+ var insertable = css.apply(void 0, arguments);
48
+ var name = "animation-" + insertable.name;
49
+ return {
50
+ name: name,
51
+ styles: "@keyframes " + name + "{" + insertable.styles + "}",
52
+ anim: 1,
53
+ toString: function toString() {
54
+ return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
55
+ }
56
+ };
57
+ }
58
+
59
+ exports.ThemeContext = emotionElementD59e098f_esm.T;
60
+ Object.defineProperty(exports, 'withEmotionCache', {
61
+ enumerable: true,
62
+ get: function () { return emotionElementD59e098f_esm.w; }
63
+ });
64
+ exports.createElement = exports.jsx;
65
+ exports.css = css;
66
+ exports.keyframes = keyframes;
@@ -0,0 +1,240 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var emotionHash_esm = require('../../hash/dist/emotion-hash.esm.js');
6
+ var emotionUnitless_esm = require('../../unitless/dist/emotion-unitless.esm.js');
7
+ var emotionMemoize_esm = require('../../memoize/dist/emotion-memoize.esm.js');
8
+
9
+ var isDevelopment = false;
10
+
11
+ var hyphenateRegex = /[A-Z]|^ms/g;
12
+ var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
13
+
14
+ var isCustomProperty = function isCustomProperty(property) {
15
+ return property.charCodeAt(1) === 45;
16
+ };
17
+
18
+ var isProcessableValue = function isProcessableValue(value) {
19
+ return value != null && typeof value !== 'boolean';
20
+ };
21
+
22
+ var processStyleName = /* #__PURE__ */emotionMemoize_esm["default"](function (styleName) {
23
+ return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
24
+ });
25
+
26
+ var processStyleValue = function processStyleValue(key, value) {
27
+ switch (key) {
28
+ case 'animation':
29
+ case 'animationName':
30
+ {
31
+ if (typeof value === 'string') {
32
+ return value.replace(animationRegex, function (match, p1, p2) {
33
+ cursor = {
34
+ name: p1,
35
+ styles: p2,
36
+ next: cursor
37
+ };
38
+ return p1;
39
+ });
40
+ }
41
+ }
42
+ }
43
+
44
+ if (emotionUnitless_esm["default"][key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
45
+ return value + 'px';
46
+ }
47
+
48
+ return value;
49
+ };
50
+
51
+ var noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';
52
+
53
+ function handleInterpolation(mergedProps, registered, interpolation) {
54
+ if (interpolation == null) {
55
+ return '';
56
+ }
57
+
58
+ var componentSelector = interpolation;
59
+
60
+ if (componentSelector.__emotion_styles !== undefined) {
61
+
62
+ return componentSelector;
63
+ }
64
+
65
+ switch (typeof interpolation) {
66
+ case 'boolean':
67
+ {
68
+ return '';
69
+ }
70
+
71
+ case 'object':
72
+ {
73
+ var keyframes = interpolation;
74
+
75
+ if (keyframes.anim === 1) {
76
+ cursor = {
77
+ name: keyframes.name,
78
+ styles: keyframes.styles,
79
+ next: cursor
80
+ };
81
+ return keyframes.name;
82
+ }
83
+
84
+ var serializedStyles = interpolation;
85
+
86
+ if (serializedStyles.styles !== undefined) {
87
+ var next = serializedStyles.next;
88
+
89
+ if (next !== undefined) {
90
+ // not the most efficient thing ever but this is a pretty rare case
91
+ // and there will be very few iterations of this generally
92
+ while (next !== undefined) {
93
+ cursor = {
94
+ name: next.name,
95
+ styles: next.styles,
96
+ next: cursor
97
+ };
98
+ next = next.next;
99
+ }
100
+ }
101
+
102
+ var styles = serializedStyles.styles + ";";
103
+ return styles;
104
+ }
105
+
106
+ return createStringFromObject(mergedProps, registered, interpolation);
107
+ }
108
+
109
+ case 'function':
110
+ {
111
+ if (mergedProps !== undefined) {
112
+ var previousCursor = cursor;
113
+ var result = interpolation(mergedProps);
114
+ cursor = previousCursor;
115
+ return handleInterpolation(mergedProps, registered, result);
116
+ }
117
+
118
+ break;
119
+ }
120
+ } // finalize string values (regular strings and functions interpolated into css calls)
121
+
122
+
123
+ var asString = interpolation;
124
+
125
+ if (registered == null) {
126
+ return asString;
127
+ }
128
+
129
+ var cached = registered[asString];
130
+ return cached !== undefined ? cached : asString;
131
+ }
132
+
133
+ function createStringFromObject(mergedProps, registered, obj) {
134
+ var string = '';
135
+
136
+ if (Array.isArray(obj)) {
137
+ for (var i = 0; i < obj.length; i++) {
138
+ string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
139
+ }
140
+ } else {
141
+ for (var key in obj) {
142
+ var value = obj[key];
143
+
144
+ if (typeof value !== 'object') {
145
+ var asString = value;
146
+
147
+ if (registered != null && registered[asString] !== undefined) {
148
+ string += key + "{" + registered[asString] + "}";
149
+ } else if (isProcessableValue(asString)) {
150
+ string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
151
+ }
152
+ } else {
153
+ if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment) {
154
+ throw new Error(noComponentSelectorMessage);
155
+ }
156
+
157
+ if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
158
+ for (var _i = 0; _i < value.length; _i++) {
159
+ if (isProcessableValue(value[_i])) {
160
+ string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
161
+ }
162
+ }
163
+ } else {
164
+ var interpolated = handleInterpolation(mergedProps, registered, value);
165
+
166
+ switch (key) {
167
+ case 'animation':
168
+ case 'animationName':
169
+ {
170
+ string += processStyleName(key) + ":" + interpolated + ";";
171
+ break;
172
+ }
173
+
174
+ default:
175
+ {
176
+
177
+ string += key + "{" + interpolated + "}";
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+ }
184
+
185
+ return string;
186
+ }
187
+
188
+ var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g; // this is the cursor for keyframes
189
+ // keyframes are stored on the SerializedStyles object as a linked list
190
+
191
+ var cursor;
192
+ function serializeStyles(args, registered, mergedProps) {
193
+ if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
194
+ return args[0];
195
+ }
196
+
197
+ var stringMode = true;
198
+ var styles = '';
199
+ cursor = undefined;
200
+ var strings = args[0];
201
+
202
+ if (strings == null || strings.raw === undefined) {
203
+ stringMode = false;
204
+ styles += handleInterpolation(mergedProps, registered, strings);
205
+ } else {
206
+ var asTemplateStringsArr = strings;
207
+
208
+ styles += asTemplateStringsArr[0];
209
+ } // we start at 1 since we've already handled the first arg
210
+
211
+
212
+ for (var i = 1; i < args.length; i++) {
213
+ styles += handleInterpolation(mergedProps, registered, args[i]);
214
+
215
+ if (stringMode) {
216
+ var templateStringsArr = strings;
217
+
218
+ styles += templateStringsArr[i];
219
+ }
220
+ } // using a global regex with .exec is stateful so lastIndex has to be reset each time
221
+
222
+
223
+ labelPattern.lastIndex = 0;
224
+ var identifierName = '';
225
+ var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
226
+
227
+ while ((match = labelPattern.exec(styles)) !== null) {
228
+ identifierName += '-' + match[1];
229
+ }
230
+
231
+ var name = emotionHash_esm["default"](styles) + identifierName;
232
+
233
+ return {
234
+ name: name,
235
+ styles: styles,
236
+ next: cursor
237
+ };
238
+ }
239
+
240
+ exports.serializeStyles = serializeStyles;
@@ -0,0 +1,144 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var isDevelopment = false;
6
+
7
+ /*
8
+
9
+ Based off glamor's StyleSheet, thanks Sunil ❤️
10
+
11
+ high performance StyleSheet for css-in-js systems
12
+
13
+ - uses multiple style tags behind the scenes for millions of rules
14
+ - uses `insertRule` for appending in production for *much* faster performance
15
+
16
+ // usage
17
+
18
+ import { StyleSheet } from '@emotion/sheet'
19
+
20
+ let styleSheet = new StyleSheet({ key: '', container: document.head })
21
+
22
+ styleSheet.insert('#box { border: 1px solid red; }')
23
+ - appends a css rule into the stylesheet
24
+
25
+ styleSheet.flush()
26
+ - empties the stylesheet of all its contents
27
+
28
+ */
29
+
30
+ function sheetForTag(tag) {
31
+ if (tag.sheet) {
32
+ return tag.sheet;
33
+ } // this weirdness brought to you by firefox
34
+
35
+ /* istanbul ignore next */
36
+
37
+
38
+ for (var i = 0; i < document.styleSheets.length; i++) {
39
+ if (document.styleSheets[i].ownerNode === tag) {
40
+ return document.styleSheets[i];
41
+ }
42
+ } // this function should always return with a value
43
+ // TS can't understand it though so we make it stop complaining here
44
+
45
+
46
+ return undefined;
47
+ }
48
+
49
+ function createStyleElement(options) {
50
+ var tag = document.createElement('style');
51
+ tag.setAttribute('data-emotion', options.key);
52
+
53
+ if (options.nonce !== undefined) {
54
+ tag.setAttribute('nonce', options.nonce);
55
+ }
56
+
57
+ tag.appendChild(document.createTextNode(''));
58
+ tag.setAttribute('data-s', '');
59
+ return tag;
60
+ }
61
+
62
+ var StyleSheet = /*#__PURE__*/function () {
63
+ // Using Node instead of HTMLElement since container may be a ShadowRoot
64
+ function StyleSheet(options) {
65
+ var _this = this;
66
+
67
+ this._insertTag = function (tag) {
68
+ var before;
69
+
70
+ if (_this.tags.length === 0) {
71
+ if (_this.insertionPoint) {
72
+ before = _this.insertionPoint.nextSibling;
73
+ } else if (_this.prepend) {
74
+ before = _this.container.firstChild;
75
+ } else {
76
+ before = _this.before;
77
+ }
78
+ } else {
79
+ before = _this.tags[_this.tags.length - 1].nextSibling;
80
+ }
81
+
82
+ _this.container.insertBefore(tag, before);
83
+
84
+ _this.tags.push(tag);
85
+ };
86
+
87
+ this.isSpeedy = options.speedy === undefined ? !isDevelopment : options.speedy;
88
+ this.tags = [];
89
+ this.ctr = 0;
90
+ this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
91
+
92
+ this.key = options.key;
93
+ this.container = options.container;
94
+ this.prepend = options.prepend;
95
+ this.insertionPoint = options.insertionPoint;
96
+ this.before = null;
97
+ }
98
+
99
+ var _proto = StyleSheet.prototype;
100
+
101
+ _proto.hydrate = function hydrate(nodes) {
102
+ nodes.forEach(this._insertTag);
103
+ };
104
+
105
+ _proto.insert = function insert(rule) {
106
+ // the max length is how many rules we have per style tag, it's 65000 in speedy mode
107
+ // it's 1 in dev because we insert source maps that map a single rule to a location
108
+ // and you can only have one source map per style tag
109
+ if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
110
+ this._insertTag(createStyleElement(this));
111
+ }
112
+
113
+ var tag = this.tags[this.tags.length - 1];
114
+
115
+ if (this.isSpeedy) {
116
+ var sheet = sheetForTag(tag);
117
+
118
+ try {
119
+ // this is the ultrafast version, works across browsers
120
+ // the big drawback is that the css won't be editable in devtools
121
+ sheet.insertRule(rule, sheet.cssRules.length);
122
+ } catch (e) {
123
+ }
124
+ } else {
125
+ tag.appendChild(document.createTextNode(rule));
126
+ }
127
+
128
+ this.ctr++;
129
+ };
130
+
131
+ _proto.flush = function flush() {
132
+ this.tags.forEach(function (tag) {
133
+ var _tag$parentNode;
134
+
135
+ return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
136
+ });
137
+ this.tags = [];
138
+ this.ctr = 0;
139
+ };
140
+
141
+ return StyleSheet;
142
+ }();
143
+
144
+ exports.StyleSheet = StyleSheet;
@@ -0,0 +1,56 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var unitlessKeys = {
6
+ animationIterationCount: 1,
7
+ aspectRatio: 1,
8
+ borderImageOutset: 1,
9
+ borderImageSlice: 1,
10
+ borderImageWidth: 1,
11
+ boxFlex: 1,
12
+ boxFlexGroup: 1,
13
+ boxOrdinalGroup: 1,
14
+ columnCount: 1,
15
+ columns: 1,
16
+ flex: 1,
17
+ flexGrow: 1,
18
+ flexPositive: 1,
19
+ flexShrink: 1,
20
+ flexNegative: 1,
21
+ flexOrder: 1,
22
+ gridRow: 1,
23
+ gridRowEnd: 1,
24
+ gridRowSpan: 1,
25
+ gridRowStart: 1,
26
+ gridColumn: 1,
27
+ gridColumnEnd: 1,
28
+ gridColumnSpan: 1,
29
+ gridColumnStart: 1,
30
+ msGridRow: 1,
31
+ msGridRowSpan: 1,
32
+ msGridColumn: 1,
33
+ msGridColumnSpan: 1,
34
+ fontWeight: 1,
35
+ lineHeight: 1,
36
+ opacity: 1,
37
+ order: 1,
38
+ orphans: 1,
39
+ scale: 1,
40
+ tabSize: 1,
41
+ widows: 1,
42
+ zIndex: 1,
43
+ zoom: 1,
44
+ WebkitLineClamp: 1,
45
+ // SVG-related properties
46
+ fillOpacity: 1,
47
+ floodOpacity: 1,
48
+ stopOpacity: 1,
49
+ strokeDasharray: 1,
50
+ strokeDashoffset: 1,
51
+ strokeMiterlimit: 1,
52
+ strokeOpacity: 1,
53
+ strokeWidth: 1
54
+ };
55
+
56
+ exports["default"] = unitlessKeys;
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var index = require('../../../react/index.js');
6
+
7
+ var isBrowser = typeof document !== 'undefined';
8
+
9
+ var syncFallback = function syncFallback(create) {
10
+ return create();
11
+ };
12
+
13
+ var useInsertionEffect = index['useInsertion' + 'Effect'] ? index['useInsertion' + 'Effect'] : false;
14
+ var useInsertionEffectAlwaysWithSyncFallback = !isBrowser ? syncFallback : useInsertionEffect || syncFallback;
15
+
16
+ exports.useInsertionEffectAlwaysWithSyncFallback = useInsertionEffectAlwaysWithSyncFallback;