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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (556) hide show
  1. package/build/ActionButton-03dc5f67.js +92 -0
  2. package/build/Alert-8a511bdc.js +138 -0
  3. package/build/AssetAction-d081e4b7.js +2377 -0
  4. package/build/AssetPreviewTopBar-623cfa18.js +152 -0
  5. package/build/Badge-aa4cd9c1.js +221 -0
  6. package/build/Button-2e26f5da.js +449 -0
  7. package/build/Checkbox-0b8faf49.js +220 -0
  8. package/build/CompactAutocompleteSelect-797778cb.js +555 -0
  9. package/build/CompactStarRating-da21b53f.js +436 -0
  10. package/build/CompactTextInput-d56aec71.js +541 -0
  11. package/build/ContextMenu-82f9d728.js +33 -0
  12. package/build/ContextMenuItem-3967010d.js +152 -0
  13. package/build/InfoCard-d0fdf377.js +132 -0
  14. package/build/InputGroup-8d4a4644.js +30 -0
  15. package/build/Instructions-af191987.js +274 -0
  16. package/build/MultiLevelCheckboxSelect-d229cf98.js +632 -0
  17. package/build/MultiSelect-d7920eb1.js +470 -0
  18. package/build/Popover-c4be47ea.js +241 -0
  19. package/build/ProgressBar-2d26c1fb.js +217 -0
  20. package/build/Radio-150fb2c9.js +141 -0
  21. package/build/SectionSeparator-e06c7660.js +38 -0
  22. package/build/Switch-d2d6e9ec.js +167 -0
  23. package/build/Tab-ccbca1f2.js +39 -0
  24. package/build/Tabs-b06c0e24.js +166 -0
  25. package/build/TextArea-26d3c8a1.js +619 -0
  26. package/build/TextInput-3a567daa.js +372 -0
  27. package/build/Tooltip-d5882b82.js +73 -0
  28. package/build/VerificationStatusIcon-9876b68f.js +120 -0
  29. package/{esm/node_modules/@babel/runtime/helpers/esm/extends.js → build/_rollupPluginBabelHelpers-4b342fad.js} +3 -1
  30. package/build/arrow-forward-d7c77ae3.js +37 -0
  31. package/build/close-1751121a.js +37 -0
  32. package/build/data/Alert/index.js +12 -0
  33. package/build/data/Badge/index.js +11 -0
  34. package/build/data/Popover/index.js +16 -0
  35. package/build/data/Tab/index.js +11 -0
  36. package/build/data/Tabs/index.js +13 -0
  37. package/build/data/Tooltip/index.js +13 -0
  38. package/build/data/index.js +30 -0
  39. package/{esm/node_modules/prop-types/factoryWithTypeCheckers.js → build/defaultTheme-d9a7342e.js} +582 -17
  40. package/build/edit-note-cefe2215.js +37 -0
  41. package/build/expand-more-d74e2bd2.js +37 -0
  42. package/build/icons/add-circle.svg +3 -0
  43. package/build/icons/add.svg +3 -0
  44. package/build/icons/album.svg +3 -0
  45. package/build/icons/arrow-back.svg +4 -0
  46. package/build/icons/arrow-drop-down.svg +4 -0
  47. package/build/icons/arrow-forward.svg +3 -0
  48. package/build/icons/audio.svg +3 -0
  49. package/build/icons/bell.svg +3 -0
  50. package/build/icons/check-circle-filled.svg +3 -0
  51. package/build/icons/check-rectangle-filled.svg +3 -0
  52. package/build/icons/check.svg +3 -0
  53. package/build/icons/clear-circle-filled.svg +14 -0
  54. package/build/icons/close.svg +4 -0
  55. package/build/icons/corporate.svg +3 -0
  56. package/build/icons/delete-context-menu.svg +4 -0
  57. package/build/icons/delete.svg +3 -0
  58. package/build/icons/design-services.svg +4 -0
  59. package/build/icons/download.svg +3 -0
  60. package/build/icons/edit-note.svg +4 -0
  61. package/build/icons/edit.svg +3 -0
  62. package/build/icons/expand-more.svg +4 -0
  63. package/build/icons/file.svg +3 -0
  64. package/build/icons/ftp.svg +3 -0
  65. package/build/icons/gear.svg +3 -0
  66. package/build/icons/headset.svg +1 -0
  67. package/build/icons/index.js +79 -0
  68. package/build/icons/layers.svg +3 -0
  69. package/build/icons/library-add.svg +3 -0
  70. package/build/icons/link.svg +4 -0
  71. package/build/icons/pdf.svg +3 -0
  72. package/build/icons/play.svg +3 -0
  73. package/build/icons/remove-circle.svg +3 -0
  74. package/build/icons/search.svg +3 -0
  75. package/build/icons/share.svg +3 -0
  76. package/build/icons/shopping_cart_add.svg +3 -0
  77. package/build/icons/star-filled.svg +3 -0
  78. package/build/icons/star.svg +3 -0
  79. package/build/icons/triangle-right.svg +4 -0
  80. package/build/icons/verification.svg +3 -0
  81. package/build/icons/warning-circle.svg +3 -0
  82. package/build/icons/warning-triangle.svg +3 -0
  83. package/build/inputs/ActionButton/index.js +12 -0
  84. package/build/inputs/Button/index.js +19 -0
  85. package/build/inputs/Checkbox/index.js +12 -0
  86. package/build/inputs/CompactAutocompleteSelect/index.js +29 -0
  87. package/build/inputs/CompactStarRating/index.js +23 -0
  88. package/build/inputs/CompactTextInput/index.js +25 -0
  89. package/build/inputs/MultiSelect/index.js +16 -0
  90. package/build/inputs/Radio/index.js +13 -0
  91. package/build/inputs/Switch/index.js +12 -0
  92. package/build/inputs/TextArea/index.js +26 -0
  93. package/build/inputs/TextInput/index.js +15 -0
  94. package/build/inputs/index.js +60 -0
  95. package/build/layout/InputGroup/index.js +11 -0
  96. package/build/layout/SectionSeparator/index.js +11 -0
  97. package/build/layout/index.js +15 -0
  98. package/build/shift-away-subtle-158617af.js +9 -0
  99. package/build/styles/all.scss +3 -0
  100. package/build/styles/config.scss +38 -0
  101. package/{styles/utils/.colors.scss → build/styles/utils/colors.scss} +1 -1
  102. package/build/styles/utils/theme.scss +33 -0
  103. package/build/widgets/AssetGallery/index.js +55 -0
  104. package/build/widgets/AssetPreview/AssetPreviewTopBar/index.js +12 -0
  105. package/build/widgets/ContextMenu/ContextMenuItem/index.js +11 -0
  106. package/build/widgets/ContextMenu/ContextMenuItemsGroup/index.js +44 -0
  107. package/build/widgets/ContextMenu/index.js +11 -0
  108. package/build/widgets/InfoCard/index.js +12 -0
  109. package/build/widgets/Instructions/index.js +33 -0
  110. package/build/widgets/ProgressBar/index.js +12 -0
  111. package/build/widgets/index.js +65 -0
  112. package/package.json +49 -56
  113. package/styles/all.scss +3 -3
  114. package/styles/config.scss +38 -0
  115. package/styles/utils/colors.scss +15 -0
  116. package/styles/utils/theme.scss +0 -2
  117. package/.eslintrc +0 -19
  118. package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -84
  119. package/cjs/_virtual/index.js +0 -7
  120. package/cjs/_virtual/index2.js +0 -7
  121. package/cjs/_virtual/index3.js +0 -7
  122. package/cjs/_virtual/index4.js +0 -7
  123. package/cjs/_virtual/index5.js +0 -7
  124. package/cjs/_virtual/react-dom.development.js +0 -7
  125. package/cjs/_virtual/react-dom.production.js +0 -7
  126. package/cjs/_virtual/react-is.development.js +0 -7
  127. package/cjs/_virtual/react-is.development2.js +0 -7
  128. package/cjs/_virtual/react-is.production.min.js +0 -7
  129. package/cjs/_virtual/react-is.production.min2.js +0 -7
  130. package/cjs/_virtual/react.development.js +0 -7
  131. package/cjs/_virtual/react.production.js +0 -7
  132. package/cjs/components/data/Alert/Alert.js +0 -79
  133. package/cjs/components/data/Alert/Alert.styled.js +0 -79
  134. package/cjs/components/data/Alert/data/Alert/index.js +0 -9
  135. package/cjs/components/data/Badge/Badge.js +0 -93
  136. package/cjs/components/data/Badge/Badge.styled.js +0 -167
  137. package/cjs/components/data/Badge/data/Badge/index.js +0 -9
  138. package/cjs/components/data/Popover/Popover.js +0 -104
  139. package/cjs/components/data/Popover/Popover.styled.js +0 -159
  140. package/cjs/components/data/Popover/data/Popover/index.js +0 -9
  141. package/cjs/components/data/Tab/Tab.js +0 -31
  142. package/cjs/components/data/Tab/Tab.styled.js +0 -27
  143. package/cjs/components/data/Tab/data/Tab/index.js +0 -9
  144. package/cjs/components/data/Tabs/Tabs.js +0 -101
  145. package/cjs/components/data/Tabs/Tabs.styled.js +0 -110
  146. package/cjs/components/data/Tabs/data/Tabs/index.js +0 -9
  147. package/cjs/components/data/Tooltip/Tooltip.js +0 -52
  148. package/cjs/components/data/Tooltip/Tooltip.styled.js +0 -38
  149. package/cjs/components/data/Tooltip/data/Tooltip/index.js +0 -9
  150. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.js +0 -42
  151. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +0 -88
  152. package/cjs/components/data/data/index.js +0 -21
  153. package/cjs/components/inputs/ActionButton/ActionButton.js +0 -44
  154. package/cjs/components/inputs/ActionButton/ActionButton.styled.js +0 -75
  155. package/cjs/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -9
  156. package/cjs/components/inputs/Button/Button.js +0 -195
  157. package/cjs/components/inputs/Button/Button.styled.js +0 -340
  158. package/cjs/components/inputs/Button/inputs/Button/index.js +0 -9
  159. package/cjs/components/inputs/Checkbox/Checkbox.js +0 -102
  160. package/cjs/components/inputs/Checkbox/Checkbox.styled.js +0 -160
  161. package/cjs/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -9
  162. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +0 -268
  163. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -363
  164. package/cjs/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -9
  165. package/cjs/components/inputs/CompactStarRating/CompactStarRating.js +0 -177
  166. package/cjs/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -269
  167. package/cjs/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -9
  168. package/cjs/components/inputs/CompactTextInput/CompactTextInput.js +0 -187
  169. package/cjs/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -406
  170. package/cjs/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -9
  171. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +0 -253
  172. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -106
  173. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -185
  174. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -147
  175. package/cjs/components/inputs/MultiSelect/MultiSelect.js +0 -208
  176. package/cjs/components/inputs/MultiSelect/MultiSelect.styled.js +0 -275
  177. package/cjs/components/inputs/MultiSelect/inputs/MultiSelect/index.js +0 -9
  178. package/cjs/components/inputs/Radio/Radio.js +0 -67
  179. package/cjs/components/inputs/Radio/Radio.styled.js +0 -100
  180. package/cjs/components/inputs/Radio/inputs/Radio/index.js +0 -9
  181. package/cjs/components/inputs/Switch/Switch.js +0 -69
  182. package/cjs/components/inputs/Switch/Switch.styled.js +0 -138
  183. package/cjs/components/inputs/Switch/inputs/Switch/index.js +0 -9
  184. package/cjs/components/inputs/TextArea/TextArea.js +0 -176
  185. package/cjs/components/inputs/TextArea/TextArea.styled.js +0 -530
  186. package/cjs/components/inputs/TextArea/inputs/TextArea/index.js +0 -9
  187. package/cjs/components/inputs/TextInput/TextInput.js +0 -146
  188. package/cjs/components/inputs/TextInput/TextInput.styled.js +0 -289
  189. package/cjs/components/inputs/TextInput/inputs/TextInput/index.js +0 -9
  190. package/cjs/components/inputs/inputs/index.js +0 -33
  191. package/cjs/components/layout/InputGroup/InputGroup.js +0 -26
  192. package/cjs/components/layout/InputGroup/InputGroup.styled.js +0 -23
  193. package/cjs/components/layout/InputGroup/layout/InputGroup/index.js +0 -9
  194. package/cjs/components/layout/SectionSeparator/SectionSeparator.js +0 -29
  195. package/cjs/components/layout/SectionSeparator/SectionSeparator.styled.js +0 -28
  196. package/cjs/components/layout/SectionSeparator/layout/SectionSeparator/index.js +0 -9
  197. package/cjs/components/layout/layout/index.js +0 -11
  198. package/cjs/components/widgets/AssetAction/AssetAction.js +0 -106
  199. package/cjs/components/widgets/AssetAction/AssetAction.styled.js +0 -69
  200. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -35
  201. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -29
  202. package/cjs/components/widgets/AssetGallery/AssetGallery.js +0 -106
  203. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -395
  204. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -52
  205. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -405
  206. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -385
  207. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +0 -396
  208. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +0 -328
  209. package/cjs/components/widgets/AssetGallery/asset.propType.js +0 -58
  210. package/cjs/components/widgets/AssetGallery/widgets/AssetGallery/index.js +0 -9
  211. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +0 -50
  212. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +0 -107
  213. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -9
  214. package/cjs/components/widgets/ContextMenu/ContextMenu.js +0 -29
  215. package/cjs/components/widgets/ContextMenu/ContextMenu.styled.js +0 -24
  216. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -50
  217. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -102
  218. package/cjs/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +0 -9
  219. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +0 -28
  220. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +0 -35
  221. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -9
  222. package/cjs/components/widgets/ContextMenu/widgets/ContextMenu/index.js +0 -9
  223. package/cjs/components/widgets/InfoCard/InfoCard.js +0 -47
  224. package/cjs/components/widgets/InfoCard/InfoCard.styled.js +0 -137
  225. package/cjs/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -9
  226. package/cjs/components/widgets/ProgressBar/ProgressBar.js +0 -79
  227. package/cjs/components/widgets/ProgressBar/ProgressBar.styled.js +0 -210
  228. package/cjs/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -9
  229. package/cjs/components/widgets/SummaryCard/SummaryCard.js +0 -93
  230. package/cjs/components/widgets/SummaryCard/SummaryCard.styled.js +0 -169
  231. package/cjs/components/widgets/widgets/index.js +0 -23
  232. package/cjs/hooks/useEventListner.js +0 -26
  233. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -11
  234. package/cjs/hooks/useOnClickOutside.js +0 -17
  235. package/cjs/icons/arrow-back.svg.js +0 -20
  236. package/cjs/icons/arrow-forward.svg.js +0 -20
  237. package/cjs/icons/check-rectangle-filled.svg.js +0 -20
  238. package/cjs/icons/close.svg.js +0 -20
  239. package/cjs/icons/edit-note.svg.js +0 -20
  240. package/cjs/icons/expand-more.svg.js +0 -20
  241. package/cjs/icons/headset.svg.js +0 -20
  242. package/cjs/icons/layers.svg.js +0 -20
  243. package/cjs/icons/link.svg.js +0 -20
  244. package/cjs/icons/play.svg.js +0 -20
  245. package/cjs/icons/search.svg.js +0 -20
  246. package/cjs/icons/star-filled.svg.js +0 -20
  247. package/cjs/icons/star.svg.js +0 -20
  248. package/cjs/icons/triangle-right.svg.js +0 -20
  249. package/cjs/icons/verification.svg.js +0 -20
  250. package/cjs/icons/warning-circle.svg.js +0 -20
  251. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -11
  252. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -9
  253. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -11
  254. package/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -10
  255. package/cjs/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -9
  256. package/cjs/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -19
  257. package/cjs/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -22
  258. package/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -16
  259. package/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +0 -15
  260. package/cjs/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -11
  261. package/cjs/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -20
  262. package/cjs/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -14
  263. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -9
  264. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -33
  265. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -9
  266. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -9
  267. package/cjs/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -29
  268. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  269. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -15
  270. package/cjs/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -14
  271. package/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -11
  272. package/cjs/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -14
  273. package/cjs/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -13
  274. package/cjs/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -14
  275. package/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -18
  276. package/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -13
  277. package/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -15
  278. package/cjs/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -15
  279. package/cjs/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -503
  280. package/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -59
  281. package/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -13
  282. package/cjs/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -158
  283. package/cjs/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -66
  284. package/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -240
  285. package/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -144
  286. package/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -56
  287. package/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -16
  288. package/cjs/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -60
  289. package/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -20
  290. package/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -915
  291. package/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -374
  292. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -130
  293. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -166
  294. package/cjs/node_modules/@restart/hooks/lib/useMergedRefs.js +0 -43
  295. package/cjs/node_modules/@restart/hooks/lib/useUpdateEffect.js +0 -39
  296. package/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -24
  297. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -186
  298. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -22
  299. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -13
  300. package/cjs/node_modules/memoize-one/dist/memoize-one.esm.js +0 -55
  301. package/cjs/node_modules/object-assign/index.js +0 -94
  302. package/cjs/node_modules/prop-types/checkPropTypes.js +0 -110
  303. package/cjs/node_modules/prop-types/factoryWithThrowingShims.js +0 -69
  304. package/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +0 -621
  305. package/cjs/node_modules/prop-types/index.js +0 -33
  306. package/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -16
  307. package/cjs/node_modules/prop-types/lib/has.js +0 -7
  308. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -186
  309. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -22
  310. package/cjs/node_modules/prop-types/node_modules/react-is/index.js +0 -13
  311. package/cjs/node_modules/react/cjs/react.development.js +0 -1289
  312. package/cjs/node_modules/react/cjs/react.production.js +0 -548
  313. package/cjs/node_modules/react/index.js +0 -19
  314. package/cjs/node_modules/react-dom/cjs/react-dom.development.js +0 -432
  315. package/cjs/node_modules/react-dom/cjs/react-dom.production.js +0 -218
  316. package/cjs/node_modules/react-dom/index.js +0 -44
  317. package/cjs/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -6
  318. package/cjs/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -23
  319. package/cjs/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2659
  320. package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1426
  321. package/cjs/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.js +0 -101
  322. package/cjs/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -78
  323. package/cjs/node_modules/style-inject/dist/style-inject.es.js +0 -32
  324. package/cjs/node_modules/stylis/src/Enum.js +0 -24
  325. package/cjs/node_modules/stylis/src/Middleware.js +0 -37
  326. package/cjs/node_modules/stylis/src/Parser.js +0 -201
  327. package/cjs/node_modules/stylis/src/Serializer.js +0 -43
  328. package/cjs/node_modules/stylis/src/Tokenizer.js +0 -243
  329. package/cjs/node_modules/stylis/src/Utility.js +0 -134
  330. package/cjs/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -6
  331. package/cjs/node_modules/tippy.js/dist/tippy.css.js +0 -6
  332. package/cjs/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +0 -13
  333. package/cjs/styles/utils/colors-export.js +0 -41
  334. package/cjs/utils/dateTime.js +0 -20
  335. package/cjs/utils/defaultTheme.js +0 -75
  336. package/doctor-storybook.log +0 -20
  337. package/esm/_virtual/_rollupPluginBabelHelpers.js +0 -74
  338. package/esm/_virtual/index.js +0 -3
  339. package/esm/_virtual/index2.js +0 -3
  340. package/esm/_virtual/index3.js +0 -3
  341. package/esm/_virtual/index4.js +0 -3
  342. package/esm/_virtual/index5.js +0 -3
  343. package/esm/_virtual/react-dom.development.js +0 -3
  344. package/esm/_virtual/react-dom.production.js +0 -3
  345. package/esm/_virtual/react-is.development.js +0 -3
  346. package/esm/_virtual/react-is.development2.js +0 -3
  347. package/esm/_virtual/react-is.production.min.js +0 -3
  348. package/esm/_virtual/react-is.production.min2.js +0 -3
  349. package/esm/_virtual/react.development.js +0 -3
  350. package/esm/_virtual/react.production.js +0 -3
  351. package/esm/components/data/Alert/Alert.js +0 -75
  352. package/esm/components/data/Alert/Alert.styled.js +0 -70
  353. package/esm/components/data/Alert/data/Alert/index.js +0 -1
  354. package/esm/components/data/Badge/Badge.js +0 -89
  355. package/esm/components/data/Badge/Badge.styled.js +0 -156
  356. package/esm/components/data/Badge/data/Badge/index.js +0 -1
  357. package/esm/components/data/Popover/Popover.js +0 -96
  358. package/esm/components/data/Popover/Popover.styled.js +0 -150
  359. package/esm/components/data/Popover/data/Popover/index.js +0 -1
  360. package/esm/components/data/Tab/Tab.js +0 -27
  361. package/esm/components/data/Tab/Tab.styled.js +0 -19
  362. package/esm/components/data/Tab/data/Tab/index.js +0 -1
  363. package/esm/components/data/Tabs/Tabs.js +0 -97
  364. package/esm/components/data/Tabs/Tabs.styled.js +0 -98
  365. package/esm/components/data/Tabs/data/Tabs/index.js +0 -1
  366. package/esm/components/data/Tooltip/Tooltip.js +0 -48
  367. package/esm/components/data/Tooltip/Tooltip.styled.js +0 -29
  368. package/esm/components/data/Tooltip/data/Tooltip/index.js +0 -1
  369. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.js +0 -38
  370. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +0 -78
  371. package/esm/components/data/data/index.js +0 -7
  372. package/esm/components/inputs/ActionButton/ActionButton.js +0 -40
  373. package/esm/components/inputs/ActionButton/ActionButton.styled.js +0 -67
  374. package/esm/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -1
  375. package/esm/components/inputs/Button/Button.js +0 -191
  376. package/esm/components/inputs/Button/Button.styled.js +0 -323
  377. package/esm/components/inputs/Button/inputs/Button/index.js +0 -1
  378. package/esm/components/inputs/Checkbox/Checkbox.js +0 -98
  379. package/esm/components/inputs/Checkbox/Checkbox.styled.js +0 -147
  380. package/esm/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -1
  381. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +0 -264
  382. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -335
  383. package/esm/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -1
  384. package/esm/components/inputs/CompactStarRating/CompactStarRating.js +0 -173
  385. package/esm/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -256
  386. package/esm/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -1
  387. package/esm/components/inputs/CompactTextInput/CompactTextInput.js +0 -183
  388. package/esm/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -389
  389. package/esm/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -1
  390. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +0 -247
  391. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -92
  392. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -181
  393. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -129
  394. package/esm/components/inputs/MultiSelect/MultiSelect.js +0 -204
  395. package/esm/components/inputs/MultiSelect/MultiSelect.styled.js +0 -251
  396. package/esm/components/inputs/MultiSelect/inputs/MultiSelect/index.js +0 -1
  397. package/esm/components/inputs/Radio/Radio.js +0 -63
  398. package/esm/components/inputs/Radio/Radio.styled.js +0 -91
  399. package/esm/components/inputs/Radio/inputs/Radio/index.js +0 -1
  400. package/esm/components/inputs/Switch/Switch.js +0 -65
  401. package/esm/components/inputs/Switch/Switch.styled.js +0 -125
  402. package/esm/components/inputs/Switch/inputs/Switch/index.js +0 -1
  403. package/esm/components/inputs/TextArea/TextArea.js +0 -172
  404. package/esm/components/inputs/TextArea/TextArea.styled.js +0 -512
  405. package/esm/components/inputs/TextArea/inputs/TextArea/index.js +0 -1
  406. package/esm/components/inputs/TextInput/TextInput.js +0 -142
  407. package/esm/components/inputs/TextInput/TextInput.styled.js +0 -274
  408. package/esm/components/inputs/TextInput/inputs/TextInput/index.js +0 -1
  409. package/esm/components/inputs/inputs/index.js +0 -13
  410. package/esm/components/layout/InputGroup/InputGroup.js +0 -22
  411. package/esm/components/layout/InputGroup/InputGroup.styled.js +0 -15
  412. package/esm/components/layout/InputGroup/layout/InputGroup/index.js +0 -1
  413. package/esm/components/layout/SectionSeparator/SectionSeparator.js +0 -25
  414. package/esm/components/layout/SectionSeparator/SectionSeparator.styled.js +0 -20
  415. package/esm/components/layout/SectionSeparator/layout/SectionSeparator/index.js +0 -1
  416. package/esm/components/layout/layout/index.js +0 -2
  417. package/esm/components/widgets/AssetAction/AssetAction.js +0 -102
  418. package/esm/components/widgets/AssetAction/AssetAction.styled.js +0 -57
  419. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -31
  420. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -21
  421. package/esm/components/widgets/AssetGallery/AssetGallery.js +0 -102
  422. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -387
  423. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -42
  424. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -401
  425. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -358
  426. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +0 -392
  427. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +0 -302
  428. package/esm/components/widgets/AssetGallery/asset.propType.js +0 -53
  429. package/esm/components/widgets/AssetGallery/widgets/AssetGallery/index.js +0 -1
  430. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +0 -46
  431. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +0 -95
  432. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -1
  433. package/esm/components/widgets/ContextMenu/ContextMenu.js +0 -25
  434. package/esm/components/widgets/ContextMenu/ContextMenu.styled.js +0 -16
  435. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -46
  436. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -92
  437. package/esm/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +0 -1
  438. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +0 -24
  439. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +0 -27
  440. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -1
  441. package/esm/components/widgets/ContextMenu/widgets/ContextMenu/index.js +0 -1
  442. package/esm/components/widgets/InfoCard/InfoCard.js +0 -43
  443. package/esm/components/widgets/InfoCard/InfoCard.styled.js +0 -121
  444. package/esm/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -1
  445. package/esm/components/widgets/ProgressBar/ProgressBar.js +0 -75
  446. package/esm/components/widgets/ProgressBar/ProgressBar.styled.js +0 -191
  447. package/esm/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -1
  448. package/esm/components/widgets/SummaryCard/SummaryCard.js +0 -89
  449. package/esm/components/widgets/SummaryCard/SummaryCard.styled.js +0 -151
  450. package/esm/components/widgets/widgets/index.js +0 -8
  451. package/esm/hooks/useEventListner.js +0 -22
  452. package/esm/hooks/useIsomorphicLayoutEffect.js +0 -7
  453. package/esm/hooks/useOnClickOutside.js +0 -13
  454. package/esm/icons/arrow-back.svg.js +0 -16
  455. package/esm/icons/arrow-forward.svg.js +0 -16
  456. package/esm/icons/check-rectangle-filled.svg.js +0 -16
  457. package/esm/icons/close.svg.js +0 -16
  458. package/esm/icons/edit-note.svg.js +0 -16
  459. package/esm/icons/expand-more.svg.js +0 -16
  460. package/esm/icons/headset.svg.js +0 -16
  461. package/esm/icons/layers.svg.js +0 -16
  462. package/esm/icons/link.svg.js +0 -16
  463. package/esm/icons/play.svg.js +0 -16
  464. package/esm/icons/search.svg.js +0 -16
  465. package/esm/icons/star-filled.svg.js +0 -16
  466. package/esm/icons/star.svg.js +0 -16
  467. package/esm/icons/triangle-right.svg.js +0 -16
  468. package/esm/icons/verification.svg.js +0 -16
  469. package/esm/icons/warning-circle.svg.js +0 -16
  470. package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -7
  471. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -5
  472. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -7
  473. package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -6
  474. package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  475. package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
  476. package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -18
  477. package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -12
  478. package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -7
  479. package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -16
  480. package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -10
  481. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -5
  482. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  483. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -5
  484. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -5
  485. package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -25
  486. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -15
  487. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -11
  488. package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -10
  489. package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
  490. package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
  491. package/esm/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -9
  492. package/esm/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -10
  493. package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
  494. package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
  495. package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
  496. package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -11
  497. package/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -499
  498. package/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -55
  499. package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
  500. package/esm/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -149
  501. package/esm/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -56
  502. package/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -236
  503. package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -140
  504. package/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -52
  505. package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -12
  506. package/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -54
  507. package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -16
  508. package/esm/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -902
  509. package/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -370
  510. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -112
  511. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -139
  512. package/esm/node_modules/@restart/hooks/lib/useMergedRefs.js +0 -38
  513. package/esm/node_modules/@restart/hooks/lib/useUpdateEffect.js +0 -35
  514. package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -22
  515. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -181
  516. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -17
  517. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -11
  518. package/esm/node_modules/memoize-one/dist/memoize-one.esm.js +0 -51
  519. package/esm/node_modules/object-assign/index.js +0 -90
  520. package/esm/node_modules/prop-types/checkPropTypes.js +0 -106
  521. package/esm/node_modules/prop-types/factoryWithThrowingShims.js +0 -65
  522. package/esm/node_modules/prop-types/index.js +0 -29
  523. package/esm/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
  524. package/esm/node_modules/prop-types/lib/has.js +0 -3
  525. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -181
  526. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -17
  527. package/esm/node_modules/prop-types/node_modules/react-is/index.js +0 -11
  528. package/esm/node_modules/react/cjs/react.development.js +0 -1287
  529. package/esm/node_modules/react/cjs/react.production.js +0 -543
  530. package/esm/node_modules/react/index.js +0 -15
  531. package/esm/node_modules/react-dom/cjs/react-dom.development.js +0 -427
  532. package/esm/node_modules/react-dom/cjs/react-dom.production.js +0 -213
  533. package/esm/node_modules/react-dom/index.js +0 -42
  534. package/esm/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -4
  535. package/esm/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -19
  536. package/esm/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2650
  537. package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1385
  538. package/esm/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.js +0 -97
  539. package/esm/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -74
  540. package/esm/node_modules/style-inject/dist/style-inject.es.js +0 -28
  541. package/esm/node_modules/stylis/src/Enum.js +0 -12
  542. package/esm/node_modules/stylis/src/Middleware.js +0 -32
  543. package/esm/node_modules/stylis/src/Parser.js +0 -193
  544. package/esm/node_modules/stylis/src/Serializer.js +0 -38
  545. package/esm/node_modules/stylis/src/Tokenizer.js +0 -223
  546. package/esm/node_modules/stylis/src/Utility.js +0 -117
  547. package/esm/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -4
  548. package/esm/node_modules/tippy.js/dist/tippy.css.js +0 -4
  549. package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +0 -9
  550. package/esm/ssr/ssr/index.js +0 -1
  551. package/esm/styles/utils/colors-export.js +0 -37
  552. package/esm/utils/dateTime.js +0 -16
  553. package/esm/utils/defaultTheme.js +0 -70
  554. package/migration-storybook.log +0 -392
  555. package/styles/utils/colors-export.js +0 -35
  556. /package/{cjs/ssr → build}/ssr/index.js +0 -0
@@ -1,149 +0,0 @@
1
- import '../../../react/index.js';
2
- import createCache from '../../cache/dist/emotion-cache.esm.js';
3
- import { getRegisteredStyles, registerStyles, insertStyles } from '../../utils/dist/emotion-utils.esm.js';
4
- import { serializeStyles } from '../../serialize/dist/emotion-serialize.esm.js';
5
- import { useInsertionEffectAlwaysWithSyncFallback } from '../../use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js';
6
- import { r as react } from '../../../../_virtual/index.js';
7
-
8
- var isDevelopment = false;
9
-
10
- var isBrowser = typeof document !== 'undefined';
11
-
12
- var EmotionCacheContext = /* #__PURE__ */react.exports.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
13
- // because this module is primarily intended for the browser and node
14
- // but it's also required in react native and similar environments sometimes
15
- // and we could have a special build just for that
16
- // but this is much easier and the native packages
17
- // might use a different theme context in the future anyway
18
- typeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({
19
- key: 'css'
20
- }) : null);
21
-
22
- EmotionCacheContext.Provider;
23
-
24
- var withEmotionCache = function withEmotionCache(func) {
25
- return /*#__PURE__*/react.exports.forwardRef(function (props, ref) {
26
- // the cache will never be null in the browser
27
- var cache = react.exports.useContext(EmotionCacheContext);
28
- return func(props, cache, ref);
29
- });
30
- };
31
-
32
- if (!isBrowser) {
33
- withEmotionCache = function withEmotionCache(func) {
34
- return function (props) {
35
- var cache = react.exports.useContext(EmotionCacheContext);
36
-
37
- if (cache === null) {
38
- // yes, we're potentially creating this on every render
39
- // it doesn't actually matter though since it's only on the server
40
- // so there will only every be a single render
41
- // that could change in the future because of suspense and etc. but for now,
42
- // this works and i don't want to optimise for a future thing that we aren't sure about
43
- cache = createCache({
44
- key: 'css'
45
- });
46
- return /*#__PURE__*/react.exports.createElement(EmotionCacheContext.Provider, {
47
- value: cache
48
- }, func(props, cache));
49
- } else {
50
- return func(props, cache);
51
- }
52
- };
53
- };
54
- }
55
-
56
- var ThemeContext = /* #__PURE__ */react.exports.createContext({});
57
-
58
- var hasOwn = {}.hasOwnProperty;
59
-
60
- var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
61
- var createEmotionProps = function createEmotionProps(type, props) {
62
-
63
- var newProps = {};
64
-
65
- for (var _key in props) {
66
- if (hasOwn.call(props, _key)) {
67
- newProps[_key] = props[_key];
68
- }
69
- }
70
-
71
- newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:
72
-
73
- return newProps;
74
- };
75
-
76
- var Insertion = function Insertion(_ref) {
77
- var cache = _ref.cache,
78
- serialized = _ref.serialized,
79
- isStringTag = _ref.isStringTag;
80
- registerStyles(cache, serialized, isStringTag);
81
- var rules = useInsertionEffectAlwaysWithSyncFallback(function () {
82
- return insertStyles(cache, serialized, isStringTag);
83
- });
84
-
85
- if (!isBrowser && rules !== undefined) {
86
- var _ref2;
87
-
88
- var serializedNames = serialized.name;
89
- var next = serialized.next;
90
-
91
- while (next !== undefined) {
92
- serializedNames += ' ' + next.name;
93
- next = next.next;
94
- }
95
-
96
- return /*#__PURE__*/react.exports.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
97
- __html: rules
98
- }, _ref2.nonce = cache.sheet.nonce, _ref2));
99
- }
100
-
101
- return null;
102
- };
103
-
104
- var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
105
- var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
106
- // not passing the registered cache to serializeStyles because it would
107
- // make certain babel optimisations not possible
108
-
109
- if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
110
- cssProp = cache.registered[cssProp];
111
- }
112
-
113
- var WrappedComponent = props[typePropName];
114
- var registeredStyles = [cssProp];
115
- var className = '';
116
-
117
- if (typeof props.className === 'string') {
118
- className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
119
- } else if (props.className != null) {
120
- className = props.className + " ";
121
- }
122
-
123
- var serialized = serializeStyles(registeredStyles, undefined, react.exports.useContext(ThemeContext));
124
-
125
- className += cache.key + "-" + serialized.name;
126
- var newProps = {};
127
-
128
- for (var _key2 in props) {
129
- if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (!isDevelopment )) {
130
- newProps[_key2] = props[_key2];
131
- }
132
- }
133
-
134
- newProps.className = className;
135
-
136
- if (ref) {
137
- newProps.ref = ref;
138
- }
139
-
140
- return /*#__PURE__*/react.exports.createElement(react.exports.Fragment, null, /*#__PURE__*/react.exports.createElement(Insertion, {
141
- cache: cache,
142
- serialized: serialized,
143
- isStringTag: typeof WrappedComponent === 'string'
144
- }), /*#__PURE__*/react.exports.createElement(WrappedComponent, newProps));
145
- });
146
-
147
- var Emotion$1 = Emotion;
148
-
149
- export { Emotion$1 as E, ThemeContext as T, isDevelopment as a, createEmotionProps as c, hasOwn as h, isBrowser as i, withEmotionCache as w };
@@ -1,56 +0,0 @@
1
- import { h as hasOwn, E as Emotion$1, c as createEmotionProps } from './emotion-element-d59e098f.esm.js';
2
- export { T as ThemeContext, w as withEmotionCache } from './emotion-element-d59e098f.esm.js';
3
- import '../../../react/index.js';
4
- import '../../use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js';
5
- import { serializeStyles } from '../../serialize/dist/emotion-serialize.esm.js';
6
- import '../../../hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js';
7
- import { r as react } from '../../../../_virtual/index.js';
8
-
9
- var jsx = function jsx(type, props) {
10
- // eslint-disable-next-line prefer-rest-params
11
- var args = arguments;
12
-
13
- if (props == null || !hasOwn.call(props, 'css')) {
14
- return react.exports.createElement.apply(undefined, args);
15
- }
16
-
17
- var argsLength = args.length;
18
- var createElementArgArray = new Array(argsLength);
19
- createElementArgArray[0] = Emotion$1;
20
- createElementArgArray[1] = createEmotionProps(type, props);
21
-
22
- for (var i = 2; i < argsLength; i++) {
23
- createElementArgArray[i] = args[i];
24
- }
25
-
26
- return react.exports.createElement.apply(null, createElementArgArray);
27
- };
28
-
29
- (function (_jsx) {
30
- var JSX;
31
-
32
- (function (_JSX) {})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
33
- })(jsx || (jsx = {}));
34
-
35
- function css() {
36
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
37
- args[_key] = arguments[_key];
38
- }
39
-
40
- return serializeStyles(args);
41
- }
42
-
43
- function keyframes() {
44
- var insertable = css.apply(void 0, arguments);
45
- var name = "animation-" + insertable.name;
46
- return {
47
- name: name,
48
- styles: "@keyframes " + name + "{" + insertable.styles + "}",
49
- anim: 1,
50
- toString: function toString() {
51
- return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
52
- }
53
- };
54
- }
55
-
56
- export { jsx as createElement, css, jsx, keyframes };
@@ -1,236 +0,0 @@
1
- import murmur2 from '../../hash/dist/emotion-hash.esm.js';
2
- import unitlessKeys from '../../unitless/dist/emotion-unitless.esm.js';
3
- import memoize from '../../memoize/dist/emotion-memoize.esm.js';
4
-
5
- var isDevelopment = false;
6
-
7
- var hyphenateRegex = /[A-Z]|^ms/g;
8
- var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
9
-
10
- var isCustomProperty = function isCustomProperty(property) {
11
- return property.charCodeAt(1) === 45;
12
- };
13
-
14
- var isProcessableValue = function isProcessableValue(value) {
15
- return value != null && typeof value !== 'boolean';
16
- };
17
-
18
- var processStyleName = /* #__PURE__ */memoize(function (styleName) {
19
- return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
20
- });
21
-
22
- var processStyleValue = function processStyleValue(key, value) {
23
- switch (key) {
24
- case 'animation':
25
- case 'animationName':
26
- {
27
- if (typeof value === 'string') {
28
- return value.replace(animationRegex, function (match, p1, p2) {
29
- cursor = {
30
- name: p1,
31
- styles: p2,
32
- next: cursor
33
- };
34
- return p1;
35
- });
36
- }
37
- }
38
- }
39
-
40
- if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
41
- return value + 'px';
42
- }
43
-
44
- return value;
45
- };
46
-
47
- var noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';
48
-
49
- function handleInterpolation(mergedProps, registered, interpolation) {
50
- if (interpolation == null) {
51
- return '';
52
- }
53
-
54
- var componentSelector = interpolation;
55
-
56
- if (componentSelector.__emotion_styles !== undefined) {
57
-
58
- return componentSelector;
59
- }
60
-
61
- switch (typeof interpolation) {
62
- case 'boolean':
63
- {
64
- return '';
65
- }
66
-
67
- case 'object':
68
- {
69
- var keyframes = interpolation;
70
-
71
- if (keyframes.anim === 1) {
72
- cursor = {
73
- name: keyframes.name,
74
- styles: keyframes.styles,
75
- next: cursor
76
- };
77
- return keyframes.name;
78
- }
79
-
80
- var serializedStyles = interpolation;
81
-
82
- if (serializedStyles.styles !== undefined) {
83
- var next = serializedStyles.next;
84
-
85
- if (next !== undefined) {
86
- // not the most efficient thing ever but this is a pretty rare case
87
- // and there will be very few iterations of this generally
88
- while (next !== undefined) {
89
- cursor = {
90
- name: next.name,
91
- styles: next.styles,
92
- next: cursor
93
- };
94
- next = next.next;
95
- }
96
- }
97
-
98
- var styles = serializedStyles.styles + ";";
99
- return styles;
100
- }
101
-
102
- return createStringFromObject(mergedProps, registered, interpolation);
103
- }
104
-
105
- case 'function':
106
- {
107
- if (mergedProps !== undefined) {
108
- var previousCursor = cursor;
109
- var result = interpolation(mergedProps);
110
- cursor = previousCursor;
111
- return handleInterpolation(mergedProps, registered, result);
112
- }
113
-
114
- break;
115
- }
116
- } // finalize string values (regular strings and functions interpolated into css calls)
117
-
118
-
119
- var asString = interpolation;
120
-
121
- if (registered == null) {
122
- return asString;
123
- }
124
-
125
- var cached = registered[asString];
126
- return cached !== undefined ? cached : asString;
127
- }
128
-
129
- function createStringFromObject(mergedProps, registered, obj) {
130
- var string = '';
131
-
132
- if (Array.isArray(obj)) {
133
- for (var i = 0; i < obj.length; i++) {
134
- string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
135
- }
136
- } else {
137
- for (var key in obj) {
138
- var value = obj[key];
139
-
140
- if (typeof value !== 'object') {
141
- var asString = value;
142
-
143
- if (registered != null && registered[asString] !== undefined) {
144
- string += key + "{" + registered[asString] + "}";
145
- } else if (isProcessableValue(asString)) {
146
- string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
147
- }
148
- } else {
149
- if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment) {
150
- throw new Error(noComponentSelectorMessage);
151
- }
152
-
153
- if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
154
- for (var _i = 0; _i < value.length; _i++) {
155
- if (isProcessableValue(value[_i])) {
156
- string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
157
- }
158
- }
159
- } else {
160
- var interpolated = handleInterpolation(mergedProps, registered, value);
161
-
162
- switch (key) {
163
- case 'animation':
164
- case 'animationName':
165
- {
166
- string += processStyleName(key) + ":" + interpolated + ";";
167
- break;
168
- }
169
-
170
- default:
171
- {
172
-
173
- string += key + "{" + interpolated + "}";
174
- }
175
- }
176
- }
177
- }
178
- }
179
- }
180
-
181
- return string;
182
- }
183
-
184
- var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g; // this is the cursor for keyframes
185
- // keyframes are stored on the SerializedStyles object as a linked list
186
-
187
- var cursor;
188
- function serializeStyles(args, registered, mergedProps) {
189
- if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
190
- return args[0];
191
- }
192
-
193
- var stringMode = true;
194
- var styles = '';
195
- cursor = undefined;
196
- var strings = args[0];
197
-
198
- if (strings == null || strings.raw === undefined) {
199
- stringMode = false;
200
- styles += handleInterpolation(mergedProps, registered, strings);
201
- } else {
202
- var asTemplateStringsArr = strings;
203
-
204
- styles += asTemplateStringsArr[0];
205
- } // we start at 1 since we've already handled the first arg
206
-
207
-
208
- for (var i = 1; i < args.length; i++) {
209
- styles += handleInterpolation(mergedProps, registered, args[i]);
210
-
211
- if (stringMode) {
212
- var templateStringsArr = strings;
213
-
214
- styles += templateStringsArr[i];
215
- }
216
- } // using a global regex with .exec is stateful so lastIndex has to be reset each time
217
-
218
-
219
- labelPattern.lastIndex = 0;
220
- var identifierName = '';
221
- var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
222
-
223
- while ((match = labelPattern.exec(styles)) !== null) {
224
- identifierName += '-' + match[1];
225
- }
226
-
227
- var name = murmur2(styles) + identifierName;
228
-
229
- return {
230
- name: name,
231
- styles: styles,
232
- next: cursor
233
- };
234
- }
235
-
236
- export { serializeStyles };
@@ -1,140 +0,0 @@
1
- var isDevelopment = false;
2
-
3
- /*
4
-
5
- Based off glamor's StyleSheet, thanks Sunil ❤️
6
-
7
- high performance StyleSheet for css-in-js systems
8
-
9
- - uses multiple style tags behind the scenes for millions of rules
10
- - uses `insertRule` for appending in production for *much* faster performance
11
-
12
- // usage
13
-
14
- import { StyleSheet } from '@emotion/sheet'
15
-
16
- let styleSheet = new StyleSheet({ key: '', container: document.head })
17
-
18
- styleSheet.insert('#box { border: 1px solid red; }')
19
- - appends a css rule into the stylesheet
20
-
21
- styleSheet.flush()
22
- - empties the stylesheet of all its contents
23
-
24
- */
25
-
26
- function sheetForTag(tag) {
27
- if (tag.sheet) {
28
- return tag.sheet;
29
- } // this weirdness brought to you by firefox
30
-
31
- /* istanbul ignore next */
32
-
33
-
34
- for (var i = 0; i < document.styleSheets.length; i++) {
35
- if (document.styleSheets[i].ownerNode === tag) {
36
- return document.styleSheets[i];
37
- }
38
- } // this function should always return with a value
39
- // TS can't understand it though so we make it stop complaining here
40
-
41
-
42
- return undefined;
43
- }
44
-
45
- function createStyleElement(options) {
46
- var tag = document.createElement('style');
47
- tag.setAttribute('data-emotion', options.key);
48
-
49
- if (options.nonce !== undefined) {
50
- tag.setAttribute('nonce', options.nonce);
51
- }
52
-
53
- tag.appendChild(document.createTextNode(''));
54
- tag.setAttribute('data-s', '');
55
- return tag;
56
- }
57
-
58
- var StyleSheet = /*#__PURE__*/function () {
59
- // Using Node instead of HTMLElement since container may be a ShadowRoot
60
- function StyleSheet(options) {
61
- var _this = this;
62
-
63
- this._insertTag = function (tag) {
64
- var before;
65
-
66
- if (_this.tags.length === 0) {
67
- if (_this.insertionPoint) {
68
- before = _this.insertionPoint.nextSibling;
69
- } else if (_this.prepend) {
70
- before = _this.container.firstChild;
71
- } else {
72
- before = _this.before;
73
- }
74
- } else {
75
- before = _this.tags[_this.tags.length - 1].nextSibling;
76
- }
77
-
78
- _this.container.insertBefore(tag, before);
79
-
80
- _this.tags.push(tag);
81
- };
82
-
83
- this.isSpeedy = options.speedy === undefined ? !isDevelopment : options.speedy;
84
- this.tags = [];
85
- this.ctr = 0;
86
- this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
87
-
88
- this.key = options.key;
89
- this.container = options.container;
90
- this.prepend = options.prepend;
91
- this.insertionPoint = options.insertionPoint;
92
- this.before = null;
93
- }
94
-
95
- var _proto = StyleSheet.prototype;
96
-
97
- _proto.hydrate = function hydrate(nodes) {
98
- nodes.forEach(this._insertTag);
99
- };
100
-
101
- _proto.insert = function insert(rule) {
102
- // the max length is how many rules we have per style tag, it's 65000 in speedy mode
103
- // it's 1 in dev because we insert source maps that map a single rule to a location
104
- // and you can only have one source map per style tag
105
- if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
106
- this._insertTag(createStyleElement(this));
107
- }
108
-
109
- var tag = this.tags[this.tags.length - 1];
110
-
111
- if (this.isSpeedy) {
112
- var sheet = sheetForTag(tag);
113
-
114
- try {
115
- // this is the ultrafast version, works across browsers
116
- // the big drawback is that the css won't be editable in devtools
117
- sheet.insertRule(rule, sheet.cssRules.length);
118
- } catch (e) {
119
- }
120
- } else {
121
- tag.appendChild(document.createTextNode(rule));
122
- }
123
-
124
- this.ctr++;
125
- };
126
-
127
- _proto.flush = function flush() {
128
- this.tags.forEach(function (tag) {
129
- var _tag$parentNode;
130
-
131
- return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
132
- });
133
- this.tags = [];
134
- this.ctr = 0;
135
- };
136
-
137
- return StyleSheet;
138
- }();
139
-
140
- export { StyleSheet };
@@ -1,52 +0,0 @@
1
- var unitlessKeys = {
2
- animationIterationCount: 1,
3
- aspectRatio: 1,
4
- borderImageOutset: 1,
5
- borderImageSlice: 1,
6
- borderImageWidth: 1,
7
- boxFlex: 1,
8
- boxFlexGroup: 1,
9
- boxOrdinalGroup: 1,
10
- columnCount: 1,
11
- columns: 1,
12
- flex: 1,
13
- flexGrow: 1,
14
- flexPositive: 1,
15
- flexShrink: 1,
16
- flexNegative: 1,
17
- flexOrder: 1,
18
- gridRow: 1,
19
- gridRowEnd: 1,
20
- gridRowSpan: 1,
21
- gridRowStart: 1,
22
- gridColumn: 1,
23
- gridColumnEnd: 1,
24
- gridColumnSpan: 1,
25
- gridColumnStart: 1,
26
- msGridRow: 1,
27
- msGridRowSpan: 1,
28
- msGridColumn: 1,
29
- msGridColumnSpan: 1,
30
- fontWeight: 1,
31
- lineHeight: 1,
32
- opacity: 1,
33
- order: 1,
34
- orphans: 1,
35
- scale: 1,
36
- tabSize: 1,
37
- widows: 1,
38
- zIndex: 1,
39
- zoom: 1,
40
- WebkitLineClamp: 1,
41
- // SVG-related properties
42
- fillOpacity: 1,
43
- floodOpacity: 1,
44
- stopOpacity: 1,
45
- strokeDasharray: 1,
46
- strokeDashoffset: 1,
47
- strokeMiterlimit: 1,
48
- strokeOpacity: 1,
49
- strokeWidth: 1
50
- };
51
-
52
- export { unitlessKeys as default };
@@ -1,12 +0,0 @@
1
- import * as index from '../../../react/index.js';
2
-
3
- var isBrowser = typeof document !== 'undefined';
4
-
5
- var syncFallback = function syncFallback(create) {
6
- return create();
7
- };
8
-
9
- var useInsertionEffect = index['useInsertion' + 'Effect'] ? index['useInsertion' + 'Effect'] : false;
10
- var useInsertionEffectAlwaysWithSyncFallback = !isBrowser ? syncFallback : useInsertionEffect || syncFallback;
11
-
12
- export { useInsertionEffectAlwaysWithSyncFallback };
@@ -1,54 +0,0 @@
1
- var isBrowser = typeof document !== 'undefined';
2
-
3
- function getRegisteredStyles(registered, registeredStyles, classNames) {
4
- var rawClassName = '';
5
- classNames.split(' ').forEach(function (className) {
6
- if (registered[className] !== undefined) {
7
- registeredStyles.push(registered[className] + ";");
8
- } else if (className) {
9
- rawClassName += className + " ";
10
- }
11
- });
12
- return rawClassName;
13
- }
14
- var registerStyles = function registerStyles(cache, serialized, isStringTag) {
15
- var className = cache.key + "-" + serialized.name;
16
-
17
- if ( // we only need to add the styles to the registered cache if the
18
- // class name could be used further down
19
- // the tree but if it's a string tag, we know it won't
20
- // so we don't have to add it to registered cache.
21
- // this improves memory usage since we can avoid storing the whole style string
22
- (isStringTag === false || // we need to always store it if we're in compat mode and
23
- // in node since emotion-server relies on whether a style is in
24
- // the registered cache to know whether a style is global or not
25
- // also, note that this check will be dead code eliminated in the browser
26
- isBrowser === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
27
- cache.registered[className] = serialized.styles;
28
- }
29
- };
30
- var insertStyles = function insertStyles(cache, serialized, isStringTag) {
31
- registerStyles(cache, serialized, isStringTag);
32
- var className = cache.key + "-" + serialized.name;
33
-
34
- if (cache.inserted[serialized.name] === undefined) {
35
- var stylesForSSR = '';
36
- var current = serialized;
37
-
38
- do {
39
- var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
40
-
41
- if (!isBrowser && maybeStyles !== undefined) {
42
- stylesForSSR += maybeStyles;
43
- }
44
-
45
- current = current.next;
46
- } while (current !== undefined);
47
-
48
- if (!isBrowser && stylesForSSR.length !== 0) {
49
- return stylesForSSR;
50
- }
51
- }
52
- };
53
-
54
- export { getRegisteredStyles, insertStyles, registerStyles };