@vitus-labs/rocketstyle 0.23.0-alpha.4 → 0.25.0-alpha.1

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.
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
6424
6424
  </script>
6425
6425
  <script>
6426
6426
  /*<!--*/
6427
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-rocketstyle.js","children":[{"name":"src","children":[{"name":"hooks","children":[{"uid":"bffc-1","name":"usePseudoState.tsx"},{"uid":"bffc-9","name":"useTheme.tsx"},{"uid":"bffc-15","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"bffc-3","name":"collection.ts"},{"uid":"bffc-5","name":"dimensions.ts"},{"uid":"bffc-7","name":"theme.ts"},{"uid":"bffc-17","name":"attrs.ts"},{"uid":"bffc-25","name":"styles.ts"}]},{"uid":"bffc-11","name":"context.tsx"},{"name":"constants","children":[{"uid":"bffc-13","name":"reservedKeys.ts"},{"uid":"bffc-29","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"bffc-19","name":"rocketstyleAttrsHoc.tsx"},{"uid":"bffc-21","name":"localContext.tsx"},{"uid":"bffc-23","name":"createProvider.tsx"}]},{"uid":"bffc-27","name":"rocketstyle.tsx"},{"uid":"bffc-31","name":"init.ts"},{"uid":"bffc-33","name":"isRocketComponent.ts"},{"uid":"bffc-35","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"bffc-1":{"renderedLength":1775,"gzipLength":407,"brotliLength":0,"mainUid":"bffc-0"},"bffc-3":{"renderedLength":468,"gzipLength":280,"brotliLength":0,"mainUid":"bffc-2"},"bffc-5":{"renderedLength":1474,"gzipLength":545,"brotliLength":0,"mainUid":"bffc-4"},"bffc-7":{"renderedLength":2625,"gzipLength":845,"brotliLength":0,"mainUid":"bffc-6"},"bffc-9":{"renderedLength":542,"gzipLength":295,"brotliLength":0,"mainUid":"bffc-8"},"bffc-11":{"renderedLength":919,"gzipLength":373,"brotliLength":0,"mainUid":"bffc-10"},"bffc-13":{"renderedLength":566,"gzipLength":296,"brotliLength":0,"mainUid":"bffc-12"},"bffc-15":{"renderedLength":331,"gzipLength":206,"brotliLength":0,"mainUid":"bffc-14"},"bffc-17":{"renderedLength":2568,"gzipLength":873,"brotliLength":0,"mainUid":"bffc-16"},"bffc-19":{"renderedLength":1029,"gzipLength":445,"brotliLength":0,"mainUid":"bffc-18"},"bffc-21":{"renderedLength":43,"gzipLength":58,"brotliLength":0,"mainUid":"bffc-20"},"bffc-23":{"renderedLength":832,"gzipLength":384,"brotliLength":0,"mainUid":"bffc-22"},"bffc-25":{"renderedLength":129,"gzipLength":112,"brotliLength":0,"mainUid":"bffc-24"},"bffc-27":{"renderedLength":11491,"gzipLength":2801,"brotliLength":0,"mainUid":"bffc-26"},"bffc-29":{"renderedLength":178,"gzipLength":128,"brotliLength":0,"mainUid":"bffc-28"},"bffc-31":{"renderedLength":1582,"gzipLength":585,"brotliLength":0,"mainUid":"bffc-30"},"bffc-33":{"renderedLength":204,"gzipLength":148,"brotliLength":0,"mainUid":"bffc-32"},"bffc-35":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"bffc-34"}},"nodeMetas":{"bffc-0":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-1"},"imported":[{"uid":"bffc-37"}],"importedBy":[{"uid":"bffc-39"}]},"bffc-2":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-3"},"imported":[],"importedBy":[{"uid":"bffc-26"},{"uid":"bffc-6"}]},"bffc-4":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-5"},"imported":[{"uid":"bffc-36"}],"importedBy":[{"uid":"bffc-30"},{"uid":"bffc-6"},{"uid":"bffc-8"}]},"bffc-6":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-7"},"imported":[{"uid":"bffc-36"},{"uid":"bffc-2"},{"uid":"bffc-4"}],"importedBy":[{"uid":"bffc-26"},{"uid":"bffc-8"}]},"bffc-8":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-9"},"imported":[{"uid":"bffc-36"},{"uid":"bffc-6"},{"uid":"bffc-4"}],"importedBy":[{"uid":"bffc-39"}]},"bffc-10":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-11"},"imported":[{"uid":"bffc-37"},{"uid":"bffc-36"}],"importedBy":[{"uid":"bffc-34"},{"uid":"bffc-14"}]},"bffc-12":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-13"},"imported":[],"importedBy":[{"uid":"bffc-30"},{"uid":"bffc-26"},{"uid":"bffc-14"}]},"bffc-14":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-15"},"imported":[{"uid":"bffc-37"},{"uid":"bffc-10"},{"uid":"bffc-12"}],"importedBy":[{"uid":"bffc-39"}]},"bffc-16":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-17"},"imported":[{"uid":"bffc-36"}],"importedBy":[{"uid":"bffc-26"},{"uid":"bffc-18"}]},"bffc-18":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-19"},"imported":[{"uid":"bffc-37"},{"uid":"bffc-36"},{"uid":"bffc-16"},{"uid":"bffc-39"}],"importedBy":[{"uid":"bffc-40"}]},"bffc-20":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-21"},"imported":[{"uid":"bffc-37"}],"importedBy":[{"uid":"bffc-40"},{"uid":"bffc-22"}]},"bffc-22":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-23"},"imported":[{"uid":"bffc-37"},{"uid":"bffc-39"},{"uid":"bffc-20"}],"importedBy":[{"uid":"bffc-40"}]},"bffc-24":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-25"},"imported":[],"importedBy":[{"uid":"bffc-26"}]},"bffc-26":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-27"},"imported":[{"uid":"bffc-37"},{"uid":"bffc-38"},{"uid":"bffc-36"},{"uid":"bffc-39"},{"uid":"bffc-40"},{"uid":"bffc-6"},{"uid":"bffc-24"},{"uid":"bffc-2"},{"uid":"bffc-16"},{"uid":"bffc-12"}],"importedBy":[{"uid":"bffc-30"}]},"bffc-28":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-29"},"imported":[],"importedBy":[{"uid":"bffc-30"}]},"bffc-30":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-31"},"imported":[{"uid":"bffc-36"},{"uid":"bffc-26"},{"uid":"bffc-4"},{"uid":"bffc-12"},{"uid":"bffc-28"}],"importedBy":[{"uid":"bffc-34"}]},"bffc-32":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-33"},"imported":[],"importedBy":[{"uid":"bffc-34"}]},"bffc-34":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.js":"bffc-35"},"imported":[{"uid":"bffc-30"},{"uid":"bffc-10"},{"uid":"bffc-32"}],"importedBy":[],"isEntry":true},"bffc-36":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"bffc-30"},{"uid":"bffc-10"},{"uid":"bffc-26"},{"uid":"bffc-4"},{"uid":"bffc-6"},{"uid":"bffc-16"},{"uid":"bffc-8"},{"uid":"bffc-18"}],"isExternal":true},"bffc-37":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"bffc-10"},{"uid":"bffc-26"},{"uid":"bffc-0"},{"uid":"bffc-14"},{"uid":"bffc-18"},{"uid":"bffc-22"},{"uid":"bffc-20"}],"isExternal":true},"bffc-38":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"bffc-26"}],"isExternal":true},"bffc-39":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"bffc-0"},{"uid":"bffc-8"},{"uid":"bffc-14"}],"importedBy":[{"uid":"bffc-26"},{"uid":"bffc-18"},{"uid":"bffc-22"}]},"bffc-40":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"bffc-18"},{"uid":"bffc-22"},{"uid":"bffc-20"}],"importedBy":[{"uid":"bffc-26"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6427
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-rocketstyle.js","children":[{"name":"src","children":[{"name":"hooks","children":[{"uid":"eb25-1","name":"usePseudoState.tsx"},{"uid":"eb25-9","name":"useTheme.tsx"},{"uid":"eb25-15","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"eb25-3","name":"collection.ts"},{"uid":"eb25-5","name":"dimensions.ts"},{"uid":"eb25-7","name":"theme.ts"},{"uid":"eb25-17","name":"attrs.ts"},{"uid":"eb25-25","name":"styles.ts"}]},{"uid":"eb25-11","name":"context.tsx"},{"name":"constants","children":[{"uid":"eb25-13","name":"reservedKeys.ts"},{"uid":"eb25-29","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"eb25-19","name":"rocketstyleAttrsHoc.tsx"},{"uid":"eb25-21","name":"localContext.tsx"},{"uid":"eb25-23","name":"createProvider.tsx"}]},{"uid":"eb25-27","name":"rocketstyle.tsx"},{"uid":"eb25-31","name":"init.ts"},{"uid":"eb25-33","name":"isRocketComponent.ts"},{"uid":"eb25-35","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"eb25-1":{"renderedLength":1775,"gzipLength":407,"brotliLength":0,"mainUid":"eb25-0"},"eb25-3":{"renderedLength":468,"gzipLength":280,"brotliLength":0,"mainUid":"eb25-2"},"eb25-5":{"renderedLength":1474,"gzipLength":545,"brotliLength":0,"mainUid":"eb25-4"},"eb25-7":{"renderedLength":2625,"gzipLength":845,"brotliLength":0,"mainUid":"eb25-6"},"eb25-9":{"renderedLength":542,"gzipLength":295,"brotliLength":0,"mainUid":"eb25-8"},"eb25-11":{"renderedLength":464,"gzipLength":261,"brotliLength":0,"mainUid":"eb25-10"},"eb25-13":{"renderedLength":566,"gzipLength":296,"brotliLength":0,"mainUid":"eb25-12"},"eb25-15":{"renderedLength":331,"gzipLength":206,"brotliLength":0,"mainUid":"eb25-14"},"eb25-17":{"renderedLength":2568,"gzipLength":873,"brotliLength":0,"mainUid":"eb25-16"},"eb25-19":{"renderedLength":1029,"gzipLength":445,"brotliLength":0,"mainUid":"eb25-18"},"eb25-21":{"renderedLength":43,"gzipLength":58,"brotliLength":0,"mainUid":"eb25-20"},"eb25-23":{"renderedLength":832,"gzipLength":384,"brotliLength":0,"mainUid":"eb25-22"},"eb25-25":{"renderedLength":129,"gzipLength":112,"brotliLength":0,"mainUid":"eb25-24"},"eb25-27":{"renderedLength":11491,"gzipLength":2801,"brotliLength":0,"mainUid":"eb25-26"},"eb25-29":{"renderedLength":178,"gzipLength":128,"brotliLength":0,"mainUid":"eb25-28"},"eb25-31":{"renderedLength":1582,"gzipLength":585,"brotliLength":0,"mainUid":"eb25-30"},"eb25-33":{"renderedLength":204,"gzipLength":148,"brotliLength":0,"mainUid":"eb25-32"},"eb25-35":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"eb25-34"}},"nodeMetas":{"eb25-0":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-1"},"imported":[{"uid":"eb25-37"}],"importedBy":[{"uid":"eb25-39"}]},"eb25-2":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-3"},"imported":[],"importedBy":[{"uid":"eb25-26"},{"uid":"eb25-6"}]},"eb25-4":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-5"},"imported":[{"uid":"eb25-36"}],"importedBy":[{"uid":"eb25-30"},{"uid":"eb25-6"},{"uid":"eb25-8"}]},"eb25-6":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-7"},"imported":[{"uid":"eb25-36"},{"uid":"eb25-2"},{"uid":"eb25-4"}],"importedBy":[{"uid":"eb25-26"},{"uid":"eb25-8"}]},"eb25-8":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-9"},"imported":[{"uid":"eb25-36"},{"uid":"eb25-6"},{"uid":"eb25-4"}],"importedBy":[{"uid":"eb25-39"}]},"eb25-10":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-11"},"imported":[{"uid":"eb25-37"},{"uid":"eb25-36"}],"importedBy":[{"uid":"eb25-34"},{"uid":"eb25-14"}]},"eb25-12":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-13"},"imported":[],"importedBy":[{"uid":"eb25-30"},{"uid":"eb25-26"},{"uid":"eb25-14"}]},"eb25-14":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-15"},"imported":[{"uid":"eb25-37"},{"uid":"eb25-10"},{"uid":"eb25-12"}],"importedBy":[{"uid":"eb25-39"}]},"eb25-16":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-17"},"imported":[{"uid":"eb25-36"}],"importedBy":[{"uid":"eb25-26"},{"uid":"eb25-18"}]},"eb25-18":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-19"},"imported":[{"uid":"eb25-37"},{"uid":"eb25-36"},{"uid":"eb25-16"},{"uid":"eb25-39"}],"importedBy":[{"uid":"eb25-40"}]},"eb25-20":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-21"},"imported":[{"uid":"eb25-37"}],"importedBy":[{"uid":"eb25-40"},{"uid":"eb25-22"}]},"eb25-22":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-23"},"imported":[{"uid":"eb25-37"},{"uid":"eb25-39"},{"uid":"eb25-20"}],"importedBy":[{"uid":"eb25-40"}]},"eb25-24":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-25"},"imported":[],"importedBy":[{"uid":"eb25-26"}]},"eb25-26":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-27"},"imported":[{"uid":"eb25-37"},{"uid":"eb25-38"},{"uid":"eb25-36"},{"uid":"eb25-39"},{"uid":"eb25-40"},{"uid":"eb25-6"},{"uid":"eb25-24"},{"uid":"eb25-2"},{"uid":"eb25-16"},{"uid":"eb25-12"}],"importedBy":[{"uid":"eb25-30"}]},"eb25-28":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-29"},"imported":[],"importedBy":[{"uid":"eb25-30"}]},"eb25-30":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-31"},"imported":[{"uid":"eb25-36"},{"uid":"eb25-26"},{"uid":"eb25-4"},{"uid":"eb25-12"},{"uid":"eb25-28"}],"importedBy":[{"uid":"eb25-34"}]},"eb25-32":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-33"},"imported":[],"importedBy":[{"uid":"eb25-34"}]},"eb25-34":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.js":"eb25-35"},"imported":[{"uid":"eb25-30"},{"uid":"eb25-10"},{"uid":"eb25-32"}],"importedBy":[],"isEntry":true},"eb25-36":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"eb25-30"},{"uid":"eb25-10"},{"uid":"eb25-26"},{"uid":"eb25-4"},{"uid":"eb25-6"},{"uid":"eb25-16"},{"uid":"eb25-8"},{"uid":"eb25-18"}],"isExternal":true},"eb25-37":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"eb25-10"},{"uid":"eb25-26"},{"uid":"eb25-0"},{"uid":"eb25-14"},{"uid":"eb25-18"},{"uid":"eb25-22"},{"uid":"eb25-20"}],"isExternal":true},"eb25-38":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"eb25-26"}],"isExternal":true},"eb25-39":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"eb25-0"},{"uid":"eb25-8"},{"uid":"eb25-14"}],"importedBy":[{"uid":"eb25-26"},{"uid":"eb25-18"},{"uid":"eb25-22"}]},"eb25-40":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"eb25-18"},{"uid":"eb25-22"},{"uid":"eb25-20"}],"importedBy":[{"uid":"eb25-26"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6428
6428
 
6429
6429
  const run = () => {
6430
6430
  const width = window.innerWidth;
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
6424
6424
  </script>
6425
6425
  <script>
6426
6426
  /*<!--*/
6427
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-rocketstyle.module.js","children":[{"name":"src","children":[{"name":"hooks","children":[{"uid":"bffc-42","name":"usePseudoState.tsx"},{"uid":"bffc-50","name":"useTheme.tsx"},{"uid":"bffc-56","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"bffc-44","name":"collection.ts"},{"uid":"bffc-46","name":"dimensions.ts"},{"uid":"bffc-48","name":"theme.ts"},{"uid":"bffc-58","name":"attrs.ts"},{"uid":"bffc-66","name":"styles.ts"}]},{"uid":"bffc-52","name":"context.tsx"},{"name":"constants","children":[{"uid":"bffc-54","name":"reservedKeys.ts"},{"uid":"bffc-70","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"bffc-60","name":"rocketstyleAttrsHoc.tsx"},{"uid":"bffc-62","name":"localContext.tsx"},{"uid":"bffc-64","name":"createProvider.tsx"}]},{"uid":"bffc-68","name":"rocketstyle.tsx"},{"uid":"bffc-72","name":"init.ts"},{"uid":"bffc-74","name":"isRocketComponent.ts"},{"uid":"bffc-76","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"bffc-42":{"renderedLength":1721,"gzipLength":401,"brotliLength":0,"mainUid":"bffc-41"},"bffc-44":{"renderedLength":468,"gzipLength":280,"brotliLength":0,"mainUid":"bffc-43"},"bffc-46":{"renderedLength":1459,"gzipLength":537,"brotliLength":0,"mainUid":"bffc-45"},"bffc-48":{"renderedLength":2595,"gzipLength":838,"brotliLength":0,"mainUid":"bffc-47"},"bffc-50":{"renderedLength":537,"gzipLength":292,"brotliLength":0,"mainUid":"bffc-49"},"bffc-52":{"renderedLength":825,"gzipLength":350,"brotliLength":0,"mainUid":"bffc-51"},"bffc-54":{"renderedLength":566,"gzipLength":296,"brotliLength":0,"mainUid":"bffc-53"},"bffc-56":{"renderedLength":320,"gzipLength":199,"brotliLength":0,"mainUid":"bffc-55"},"bffc-58":{"renderedLength":2563,"gzipLength":870,"brotliLength":0,"mainUid":"bffc-57"},"bffc-60":{"renderedLength":983,"gzipLength":424,"brotliLength":0,"mainUid":"bffc-59"},"bffc-62":{"renderedLength":37,"gzipLength":51,"brotliLength":0,"mainUid":"bffc-61"},"bffc-64":{"renderedLength":780,"gzipLength":365,"brotliLength":0,"mainUid":"bffc-63"},"bffc-66":{"renderedLength":129,"gzipLength":112,"brotliLength":0,"mainUid":"bffc-65"},"bffc-68":{"renderedLength":11343,"gzipLength":2762,"brotliLength":0,"mainUid":"bffc-67"},"bffc-70":{"renderedLength":178,"gzipLength":128,"brotliLength":0,"mainUid":"bffc-69"},"bffc-72":{"renderedLength":1572,"gzipLength":582,"brotliLength":0,"mainUid":"bffc-71"},"bffc-74":{"renderedLength":204,"gzipLength":148,"brotliLength":0,"mainUid":"bffc-73"},"bffc-76":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"bffc-75"}},"nodeMetas":{"bffc-41":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-42"},"imported":[{"uid":"bffc-78"}],"importedBy":[{"uid":"bffc-80"}]},"bffc-43":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-44"},"imported":[],"importedBy":[{"uid":"bffc-67"},{"uid":"bffc-47"}]},"bffc-45":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-46"},"imported":[{"uid":"bffc-77"}],"importedBy":[{"uid":"bffc-71"},{"uid":"bffc-47"},{"uid":"bffc-49"}]},"bffc-47":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-48"},"imported":[{"uid":"bffc-77"},{"uid":"bffc-43"},{"uid":"bffc-45"}],"importedBy":[{"uid":"bffc-67"},{"uid":"bffc-49"}]},"bffc-49":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-50"},"imported":[{"uid":"bffc-77"},{"uid":"bffc-47"},{"uid":"bffc-45"}],"importedBy":[{"uid":"bffc-80"}]},"bffc-51":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-52"},"imported":[{"uid":"bffc-78"},{"uid":"bffc-77"}],"importedBy":[{"uid":"bffc-75"},{"uid":"bffc-55"}]},"bffc-53":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-54"},"imported":[],"importedBy":[{"uid":"bffc-71"},{"uid":"bffc-67"},{"uid":"bffc-55"}]},"bffc-55":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-56"},"imported":[{"uid":"bffc-78"},{"uid":"bffc-51"},{"uid":"bffc-53"}],"importedBy":[{"uid":"bffc-80"}]},"bffc-57":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-58"},"imported":[{"uid":"bffc-77"}],"importedBy":[{"uid":"bffc-67"},{"uid":"bffc-59"}]},"bffc-59":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-60"},"imported":[{"uid":"bffc-78"},{"uid":"bffc-77"},{"uid":"bffc-57"},{"uid":"bffc-80"}],"importedBy":[{"uid":"bffc-81"}]},"bffc-61":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-62"},"imported":[{"uid":"bffc-78"}],"importedBy":[{"uid":"bffc-81"},{"uid":"bffc-63"}]},"bffc-63":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-64"},"imported":[{"uid":"bffc-78"},{"uid":"bffc-80"},{"uid":"bffc-61"}],"importedBy":[{"uid":"bffc-81"}]},"bffc-65":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-66"},"imported":[],"importedBy":[{"uid":"bffc-67"}]},"bffc-67":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-68"},"imported":[{"uid":"bffc-78"},{"uid":"bffc-79"},{"uid":"bffc-77"},{"uid":"bffc-80"},{"uid":"bffc-81"},{"uid":"bffc-47"},{"uid":"bffc-65"},{"uid":"bffc-43"},{"uid":"bffc-57"},{"uid":"bffc-53"}],"importedBy":[{"uid":"bffc-71"}]},"bffc-69":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-70"},"imported":[],"importedBy":[{"uid":"bffc-71"}]},"bffc-71":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-72"},"imported":[{"uid":"bffc-77"},{"uid":"bffc-67"},{"uid":"bffc-45"},{"uid":"bffc-53"},{"uid":"bffc-69"}],"importedBy":[{"uid":"bffc-75"}]},"bffc-73":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-74"},"imported":[],"importedBy":[{"uid":"bffc-75"}]},"bffc-75":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"bffc-76"},"imported":[{"uid":"bffc-71"},{"uid":"bffc-51"},{"uid":"bffc-73"}],"importedBy":[],"isEntry":true},"bffc-77":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"bffc-71"},{"uid":"bffc-51"},{"uid":"bffc-67"},{"uid":"bffc-45"},{"uid":"bffc-47"},{"uid":"bffc-57"},{"uid":"bffc-49"},{"uid":"bffc-59"}],"isExternal":true},"bffc-78":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"bffc-51"},{"uid":"bffc-67"},{"uid":"bffc-41"},{"uid":"bffc-55"},{"uid":"bffc-59"},{"uid":"bffc-63"},{"uid":"bffc-61"}],"isExternal":true},"bffc-79":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"bffc-67"}],"isExternal":true},"bffc-80":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"bffc-41"},{"uid":"bffc-49"},{"uid":"bffc-55"}],"importedBy":[{"uid":"bffc-67"},{"uid":"bffc-59"},{"uid":"bffc-63"}]},"bffc-81":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"bffc-59"},{"uid":"bffc-63"},{"uid":"bffc-61"}],"importedBy":[{"uid":"bffc-67"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6427
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-rocketstyle.module.js","children":[{"name":"src","children":[{"name":"hooks","children":[{"uid":"eb25-42","name":"usePseudoState.tsx"},{"uid":"eb25-50","name":"useTheme.tsx"},{"uid":"eb25-56","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"eb25-44","name":"collection.ts"},{"uid":"eb25-46","name":"dimensions.ts"},{"uid":"eb25-48","name":"theme.ts"},{"uid":"eb25-58","name":"attrs.ts"},{"uid":"eb25-66","name":"styles.ts"}]},{"uid":"eb25-52","name":"context.tsx"},{"name":"constants","children":[{"uid":"eb25-54","name":"reservedKeys.ts"},{"uid":"eb25-70","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"eb25-60","name":"rocketstyleAttrsHoc.tsx"},{"uid":"eb25-62","name":"localContext.tsx"},{"uid":"eb25-64","name":"createProvider.tsx"}]},{"uid":"eb25-68","name":"rocketstyle.tsx"},{"uid":"eb25-72","name":"init.ts"},{"uid":"eb25-74","name":"isRocketComponent.ts"},{"uid":"eb25-76","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"eb25-42":{"renderedLength":1721,"gzipLength":401,"brotliLength":0,"mainUid":"eb25-41"},"eb25-44":{"renderedLength":468,"gzipLength":280,"brotliLength":0,"mainUid":"eb25-43"},"eb25-46":{"renderedLength":1459,"gzipLength":537,"brotliLength":0,"mainUid":"eb25-45"},"eb25-48":{"renderedLength":2595,"gzipLength":838,"brotliLength":0,"mainUid":"eb25-47"},"eb25-50":{"renderedLength":537,"gzipLength":292,"brotliLength":0,"mainUid":"eb25-49"},"eb25-52":{"renderedLength":430,"gzipLength":245,"brotliLength":0,"mainUid":"eb25-51"},"eb25-54":{"renderedLength":566,"gzipLength":296,"brotliLength":0,"mainUid":"eb25-53"},"eb25-56":{"renderedLength":320,"gzipLength":199,"brotliLength":0,"mainUid":"eb25-55"},"eb25-58":{"renderedLength":2563,"gzipLength":870,"brotliLength":0,"mainUid":"eb25-57"},"eb25-60":{"renderedLength":983,"gzipLength":424,"brotliLength":0,"mainUid":"eb25-59"},"eb25-62":{"renderedLength":37,"gzipLength":51,"brotliLength":0,"mainUid":"eb25-61"},"eb25-64":{"renderedLength":780,"gzipLength":365,"brotliLength":0,"mainUid":"eb25-63"},"eb25-66":{"renderedLength":129,"gzipLength":112,"brotliLength":0,"mainUid":"eb25-65"},"eb25-68":{"renderedLength":11343,"gzipLength":2762,"brotliLength":0,"mainUid":"eb25-67"},"eb25-70":{"renderedLength":178,"gzipLength":128,"brotliLength":0,"mainUid":"eb25-69"},"eb25-72":{"renderedLength":1572,"gzipLength":582,"brotliLength":0,"mainUid":"eb25-71"},"eb25-74":{"renderedLength":204,"gzipLength":148,"brotliLength":0,"mainUid":"eb25-73"},"eb25-76":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"eb25-75"}},"nodeMetas":{"eb25-41":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-42"},"imported":[{"uid":"eb25-78"}],"importedBy":[{"uid":"eb25-80"}]},"eb25-43":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-44"},"imported":[],"importedBy":[{"uid":"eb25-67"},{"uid":"eb25-47"}]},"eb25-45":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-46"},"imported":[{"uid":"eb25-77"}],"importedBy":[{"uid":"eb25-71"},{"uid":"eb25-47"},{"uid":"eb25-49"}]},"eb25-47":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-48"},"imported":[{"uid":"eb25-77"},{"uid":"eb25-43"},{"uid":"eb25-45"}],"importedBy":[{"uid":"eb25-67"},{"uid":"eb25-49"}]},"eb25-49":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-50"},"imported":[{"uid":"eb25-77"},{"uid":"eb25-47"},{"uid":"eb25-45"}],"importedBy":[{"uid":"eb25-80"}]},"eb25-51":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-52"},"imported":[{"uid":"eb25-78"},{"uid":"eb25-77"}],"importedBy":[{"uid":"eb25-75"},{"uid":"eb25-55"}]},"eb25-53":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-54"},"imported":[],"importedBy":[{"uid":"eb25-71"},{"uid":"eb25-67"},{"uid":"eb25-55"}]},"eb25-55":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-56"},"imported":[{"uid":"eb25-78"},{"uid":"eb25-51"},{"uid":"eb25-53"}],"importedBy":[{"uid":"eb25-80"}]},"eb25-57":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-58"},"imported":[{"uid":"eb25-77"}],"importedBy":[{"uid":"eb25-67"},{"uid":"eb25-59"}]},"eb25-59":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-60"},"imported":[{"uid":"eb25-78"},{"uid":"eb25-77"},{"uid":"eb25-57"},{"uid":"eb25-80"}],"importedBy":[{"uid":"eb25-81"}]},"eb25-61":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-62"},"imported":[{"uid":"eb25-78"}],"importedBy":[{"uid":"eb25-81"},{"uid":"eb25-63"}]},"eb25-63":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-64"},"imported":[{"uid":"eb25-78"},{"uid":"eb25-80"},{"uid":"eb25-61"}],"importedBy":[{"uid":"eb25-81"}]},"eb25-65":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-66"},"imported":[],"importedBy":[{"uid":"eb25-67"}]},"eb25-67":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-68"},"imported":[{"uid":"eb25-78"},{"uid":"eb25-79"},{"uid":"eb25-77"},{"uid":"eb25-80"},{"uid":"eb25-81"},{"uid":"eb25-47"},{"uid":"eb25-65"},{"uid":"eb25-43"},{"uid":"eb25-57"},{"uid":"eb25-53"}],"importedBy":[{"uid":"eb25-71"}]},"eb25-69":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-70"},"imported":[],"importedBy":[{"uid":"eb25-71"}]},"eb25-71":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-72"},"imported":[{"uid":"eb25-77"},{"uid":"eb25-67"},{"uid":"eb25-45"},{"uid":"eb25-53"},{"uid":"eb25-69"}],"importedBy":[{"uid":"eb25-75"}]},"eb25-73":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-74"},"imported":[],"importedBy":[{"uid":"eb25-75"}]},"eb25-75":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"eb25-76"},"imported":[{"uid":"eb25-71"},{"uid":"eb25-51"},{"uid":"eb25-73"}],"importedBy":[],"isEntry":true},"eb25-77":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"eb25-71"},{"uid":"eb25-51"},{"uid":"eb25-67"},{"uid":"eb25-45"},{"uid":"eb25-47"},{"uid":"eb25-57"},{"uid":"eb25-49"},{"uid":"eb25-59"}],"isExternal":true},"eb25-78":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"eb25-51"},{"uid":"eb25-67"},{"uid":"eb25-41"},{"uid":"eb25-55"},{"uid":"eb25-59"},{"uid":"eb25-63"},{"uid":"eb25-61"}],"isExternal":true},"eb25-79":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"eb25-67"}],"isExternal":true},"eb25-80":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"eb25-41"},{"uid":"eb25-49"},{"uid":"eb25-55"}],"importedBy":[{"uid":"eb25-67"},{"uid":"eb25-59"},{"uid":"eb25-63"}]},"eb25-81":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"eb25-59"},{"uid":"eb25-63"},{"uid":"eb25-61"}],"importedBy":[{"uid":"eb25-67"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6428
6428
 
6429
6429
  const run = () => {
6430
6430
  const width = window.innerWidth;
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
6424
6424
  </script>
6425
6425
  <script>
6426
6426
  /*<!--*/
6427
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-rocketstyle.umd.js","children":[{"name":"src","children":[{"name":"hooks","children":[{"uid":"bffc-83","name":"usePseudoState.tsx"},{"uid":"bffc-91","name":"useTheme.tsx"},{"uid":"bffc-97","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"bffc-85","name":"collection.ts"},{"uid":"bffc-87","name":"dimensions.ts"},{"uid":"bffc-89","name":"theme.ts"},{"uid":"bffc-99","name":"attrs.ts"},{"uid":"bffc-107","name":"styles.ts"}]},{"uid":"bffc-93","name":"context.tsx"},{"name":"constants","children":[{"uid":"bffc-95","name":"reservedKeys.ts"},{"uid":"bffc-111","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"bffc-101","name":"rocketstyleAttrsHoc.tsx"},{"uid":"bffc-103","name":"localContext.tsx"},{"uid":"bffc-105","name":"createProvider.tsx"}]},{"uid":"bffc-109","name":"rocketstyle.tsx"},{"uid":"bffc-113","name":"init.ts"},{"uid":"bffc-115","name":"isRocketComponent.ts"},{"uid":"bffc-117","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"bffc-83":{"renderedLength":1897,"gzipLength":408,"brotliLength":0,"mainUid":"bffc-82"},"bffc-85":{"renderedLength":492,"gzipLength":283,"brotliLength":0,"mainUid":"bffc-84"},"bffc-87":{"renderedLength":1554,"gzipLength":546,"brotliLength":0,"mainUid":"bffc-86"},"bffc-89":{"renderedLength":2763,"gzipLength":850,"brotliLength":0,"mainUid":"bffc-88"},"bffc-91":{"renderedLength":572,"gzipLength":298,"brotliLength":0,"mainUid":"bffc-90"},"bffc-93":{"renderedLength":945,"gzipLength":374,"brotliLength":0,"mainUid":"bffc-92"},"bffc-95":{"renderedLength":618,"gzipLength":299,"brotliLength":0,"mainUid":"bffc-94"},"bffc-97":{"renderedLength":345,"gzipLength":206,"brotliLength":0,"mainUid":"bffc-96"},"bffc-99":{"renderedLength":2698,"gzipLength":876,"brotliLength":0,"mainUid":"bffc-98"},"bffc-101":{"renderedLength":1081,"gzipLength":448,"brotliLength":0,"mainUid":"bffc-100"},"bffc-103":{"renderedLength":45,"gzipLength":60,"brotliLength":0,"mainUid":"bffc-102"},"bffc-105":{"renderedLength":866,"gzipLength":387,"brotliLength":0,"mainUid":"bffc-104"},"bffc-107":{"renderedLength":139,"gzipLength":114,"brotliLength":0,"mainUid":"bffc-106"},"bffc-109":{"renderedLength":11955,"gzipLength":2812,"brotliLength":0,"mainUid":"bffc-108"},"bffc-111":{"renderedLength":196,"gzipLength":130,"brotliLength":0,"mainUid":"bffc-110"},"bffc-113":{"renderedLength":1656,"gzipLength":587,"brotliLength":0,"mainUid":"bffc-112"},"bffc-115":{"renderedLength":220,"gzipLength":151,"brotliLength":0,"mainUid":"bffc-114"},"bffc-117":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"bffc-116"}},"nodeMetas":{"bffc-82":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-83"},"imported":[{"uid":"bffc-119"}],"importedBy":[{"uid":"bffc-121"}]},"bffc-84":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-85"},"imported":[],"importedBy":[{"uid":"bffc-108"},{"uid":"bffc-88"}]},"bffc-86":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-87"},"imported":[{"uid":"bffc-118"}],"importedBy":[{"uid":"bffc-112"},{"uid":"bffc-88"},{"uid":"bffc-90"}]},"bffc-88":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-89"},"imported":[{"uid":"bffc-118"},{"uid":"bffc-84"},{"uid":"bffc-86"}],"importedBy":[{"uid":"bffc-108"},{"uid":"bffc-90"}]},"bffc-90":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-91"},"imported":[{"uid":"bffc-118"},{"uid":"bffc-88"},{"uid":"bffc-86"}],"importedBy":[{"uid":"bffc-121"}]},"bffc-92":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-93"},"imported":[{"uid":"bffc-119"},{"uid":"bffc-118"}],"importedBy":[{"uid":"bffc-116"},{"uid":"bffc-96"}]},"bffc-94":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-95"},"imported":[],"importedBy":[{"uid":"bffc-112"},{"uid":"bffc-108"},{"uid":"bffc-96"}]},"bffc-96":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-97"},"imported":[{"uid":"bffc-119"},{"uid":"bffc-92"},{"uid":"bffc-94"}],"importedBy":[{"uid":"bffc-121"}]},"bffc-98":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-99"},"imported":[{"uid":"bffc-118"}],"importedBy":[{"uid":"bffc-108"},{"uid":"bffc-100"}]},"bffc-100":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-101"},"imported":[{"uid":"bffc-119"},{"uid":"bffc-118"},{"uid":"bffc-98"},{"uid":"bffc-121"}],"importedBy":[{"uid":"bffc-122"}]},"bffc-102":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-103"},"imported":[{"uid":"bffc-119"}],"importedBy":[{"uid":"bffc-122"},{"uid":"bffc-104"}]},"bffc-104":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-105"},"imported":[{"uid":"bffc-119"},{"uid":"bffc-121"},{"uid":"bffc-102"}],"importedBy":[{"uid":"bffc-122"}]},"bffc-106":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-107"},"imported":[],"importedBy":[{"uid":"bffc-108"}]},"bffc-108":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-109"},"imported":[{"uid":"bffc-119"},{"uid":"bffc-120"},{"uid":"bffc-118"},{"uid":"bffc-121"},{"uid":"bffc-122"},{"uid":"bffc-88"},{"uid":"bffc-106"},{"uid":"bffc-84"},{"uid":"bffc-98"},{"uid":"bffc-94"}],"importedBy":[{"uid":"bffc-112"}]},"bffc-110":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-111"},"imported":[],"importedBy":[{"uid":"bffc-112"}]},"bffc-112":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-113"},"imported":[{"uid":"bffc-118"},{"uid":"bffc-108"},{"uid":"bffc-86"},{"uid":"bffc-94"},{"uid":"bffc-110"}],"importedBy":[{"uid":"bffc-116"}]},"bffc-114":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-115"},"imported":[],"importedBy":[{"uid":"bffc-116"}]},"bffc-116":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"bffc-117"},"imported":[{"uid":"bffc-112"},{"uid":"bffc-92"},{"uid":"bffc-114"}],"importedBy":[],"isEntry":true},"bffc-118":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"bffc-112"},{"uid":"bffc-92"},{"uid":"bffc-108"},{"uid":"bffc-86"},{"uid":"bffc-88"},{"uid":"bffc-98"},{"uid":"bffc-90"},{"uid":"bffc-100"}],"isExternal":true},"bffc-119":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"bffc-92"},{"uid":"bffc-108"},{"uid":"bffc-82"},{"uid":"bffc-96"},{"uid":"bffc-100"},{"uid":"bffc-104"},{"uid":"bffc-102"}],"isExternal":true},"bffc-120":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"bffc-108"}],"isExternal":true},"bffc-121":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"bffc-82"},{"uid":"bffc-90"},{"uid":"bffc-96"}],"importedBy":[{"uid":"bffc-108"},{"uid":"bffc-100"},{"uid":"bffc-104"}]},"bffc-122":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"bffc-100"},{"uid":"bffc-104"},{"uid":"bffc-102"}],"importedBy":[{"uid":"bffc-108"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6427
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-rocketstyle.umd.js","children":[{"name":"src","children":[{"name":"hooks","children":[{"uid":"eb25-83","name":"usePseudoState.tsx"},{"uid":"eb25-91","name":"useTheme.tsx"},{"uid":"eb25-97","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"eb25-85","name":"collection.ts"},{"uid":"eb25-87","name":"dimensions.ts"},{"uid":"eb25-89","name":"theme.ts"},{"uid":"eb25-99","name":"attrs.ts"},{"uid":"eb25-107","name":"styles.ts"}]},{"uid":"eb25-93","name":"context.tsx"},{"name":"constants","children":[{"uid":"eb25-95","name":"reservedKeys.ts"},{"uid":"eb25-111","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"eb25-101","name":"rocketstyleAttrsHoc.tsx"},{"uid":"eb25-103","name":"localContext.tsx"},{"uid":"eb25-105","name":"createProvider.tsx"}]},{"uid":"eb25-109","name":"rocketstyle.tsx"},{"uid":"eb25-113","name":"init.ts"},{"uid":"eb25-115","name":"isRocketComponent.ts"},{"uid":"eb25-117","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"eb25-83":{"renderedLength":1897,"gzipLength":408,"brotliLength":0,"mainUid":"eb25-82"},"eb25-85":{"renderedLength":492,"gzipLength":283,"brotliLength":0,"mainUid":"eb25-84"},"eb25-87":{"renderedLength":1554,"gzipLength":546,"brotliLength":0,"mainUid":"eb25-86"},"eb25-89":{"renderedLength":2763,"gzipLength":850,"brotliLength":0,"mainUid":"eb25-88"},"eb25-91":{"renderedLength":572,"gzipLength":298,"brotliLength":0,"mainUid":"eb25-90"},"eb25-93":{"renderedLength":476,"gzipLength":262,"brotliLength":0,"mainUid":"eb25-92"},"eb25-95":{"renderedLength":618,"gzipLength":299,"brotliLength":0,"mainUid":"eb25-94"},"eb25-97":{"renderedLength":345,"gzipLength":206,"brotliLength":0,"mainUid":"eb25-96"},"eb25-99":{"renderedLength":2698,"gzipLength":876,"brotliLength":0,"mainUid":"eb25-98"},"eb25-101":{"renderedLength":1081,"gzipLength":448,"brotliLength":0,"mainUid":"eb25-100"},"eb25-103":{"renderedLength":45,"gzipLength":60,"brotliLength":0,"mainUid":"eb25-102"},"eb25-105":{"renderedLength":866,"gzipLength":387,"brotliLength":0,"mainUid":"eb25-104"},"eb25-107":{"renderedLength":139,"gzipLength":114,"brotliLength":0,"mainUid":"eb25-106"},"eb25-109":{"renderedLength":11955,"gzipLength":2812,"brotliLength":0,"mainUid":"eb25-108"},"eb25-111":{"renderedLength":196,"gzipLength":130,"brotliLength":0,"mainUid":"eb25-110"},"eb25-113":{"renderedLength":1656,"gzipLength":587,"brotliLength":0,"mainUid":"eb25-112"},"eb25-115":{"renderedLength":220,"gzipLength":151,"brotliLength":0,"mainUid":"eb25-114"},"eb25-117":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"eb25-116"}},"nodeMetas":{"eb25-82":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-83"},"imported":[{"uid":"eb25-119"}],"importedBy":[{"uid":"eb25-121"}]},"eb25-84":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-85"},"imported":[],"importedBy":[{"uid":"eb25-108"},{"uid":"eb25-88"}]},"eb25-86":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-87"},"imported":[{"uid":"eb25-118"}],"importedBy":[{"uid":"eb25-112"},{"uid":"eb25-88"},{"uid":"eb25-90"}]},"eb25-88":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-89"},"imported":[{"uid":"eb25-118"},{"uid":"eb25-84"},{"uid":"eb25-86"}],"importedBy":[{"uid":"eb25-108"},{"uid":"eb25-90"}]},"eb25-90":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-91"},"imported":[{"uid":"eb25-118"},{"uid":"eb25-88"},{"uid":"eb25-86"}],"importedBy":[{"uid":"eb25-121"}]},"eb25-92":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-93"},"imported":[{"uid":"eb25-119"},{"uid":"eb25-118"}],"importedBy":[{"uid":"eb25-116"},{"uid":"eb25-96"}]},"eb25-94":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-95"},"imported":[],"importedBy":[{"uid":"eb25-112"},{"uid":"eb25-108"},{"uid":"eb25-96"}]},"eb25-96":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-97"},"imported":[{"uid":"eb25-119"},{"uid":"eb25-92"},{"uid":"eb25-94"}],"importedBy":[{"uid":"eb25-121"}]},"eb25-98":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-99"},"imported":[{"uid":"eb25-118"}],"importedBy":[{"uid":"eb25-108"},{"uid":"eb25-100"}]},"eb25-100":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-101"},"imported":[{"uid":"eb25-119"},{"uid":"eb25-118"},{"uid":"eb25-98"},{"uid":"eb25-121"}],"importedBy":[{"uid":"eb25-122"}]},"eb25-102":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-103"},"imported":[{"uid":"eb25-119"}],"importedBy":[{"uid":"eb25-122"},{"uid":"eb25-104"}]},"eb25-104":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-105"},"imported":[{"uid":"eb25-119"},{"uid":"eb25-121"},{"uid":"eb25-102"}],"importedBy":[{"uid":"eb25-122"}]},"eb25-106":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-107"},"imported":[],"importedBy":[{"uid":"eb25-108"}]},"eb25-108":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-109"},"imported":[{"uid":"eb25-119"},{"uid":"eb25-120"},{"uid":"eb25-118"},{"uid":"eb25-121"},{"uid":"eb25-122"},{"uid":"eb25-88"},{"uid":"eb25-106"},{"uid":"eb25-84"},{"uid":"eb25-98"},{"uid":"eb25-94"}],"importedBy":[{"uid":"eb25-112"}]},"eb25-110":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-111"},"imported":[],"importedBy":[{"uid":"eb25-112"}]},"eb25-112":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-113"},"imported":[{"uid":"eb25-118"},{"uid":"eb25-108"},{"uid":"eb25-86"},{"uid":"eb25-94"},{"uid":"eb25-110"}],"importedBy":[{"uid":"eb25-116"}]},"eb25-114":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-115"},"imported":[],"importedBy":[{"uid":"eb25-116"}]},"eb25-116":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"eb25-117"},"imported":[{"uid":"eb25-112"},{"uid":"eb25-92"},{"uid":"eb25-114"}],"importedBy":[],"isEntry":true},"eb25-118":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"eb25-112"},{"uid":"eb25-92"},{"uid":"eb25-108"},{"uid":"eb25-86"},{"uid":"eb25-88"},{"uid":"eb25-98"},{"uid":"eb25-90"},{"uid":"eb25-100"}],"isExternal":true},"eb25-119":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"eb25-92"},{"uid":"eb25-108"},{"uid":"eb25-82"},{"uid":"eb25-96"},{"uid":"eb25-100"},{"uid":"eb25-104"},{"uid":"eb25-102"}],"isExternal":true},"eb25-120":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"eb25-108"}],"isExternal":true},"eb25-121":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"eb25-82"},{"uid":"eb25-90"},{"uid":"eb25-96"}],"importedBy":[{"uid":"eb25-108"},{"uid":"eb25-100"},{"uid":"eb25-104"}]},"eb25-122":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"eb25-100"},{"uid":"eb25-104"},{"uid":"eb25-102"}],"importedBy":[{"uid":"eb25-108"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6428
6428
 
6429
6429
  const run = () => {
6430
6430
  const width = window.innerWidth;
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
6424
6424
  </script>
6425
6425
  <script>
6426
6426
  /*<!--*/
6427
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-rocketstyle.umd.min.js","children":[{"name":"src","children":[{"name":"hooks","children":[{"uid":"bffc-124","name":"usePseudoState.tsx"},{"uid":"bffc-132","name":"useTheme.tsx"},{"uid":"bffc-138","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"bffc-126","name":"collection.ts"},{"uid":"bffc-128","name":"dimensions.ts"},{"uid":"bffc-130","name":"theme.ts"},{"uid":"bffc-140","name":"attrs.ts"},{"uid":"bffc-148","name":"styles.ts"}]},{"uid":"bffc-134","name":"context.tsx"},{"name":"constants","children":[{"uid":"bffc-136","name":"reservedKeys.ts"},{"uid":"bffc-152","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"bffc-142","name":"rocketstyleAttrsHoc.tsx"},{"uid":"bffc-144","name":"localContext.tsx"},{"uid":"bffc-146","name":"createProvider.tsx"}]},{"uid":"bffc-150","name":"rocketstyle.tsx"},{"uid":"bffc-154","name":"init.ts"},{"uid":"bffc-156","name":"isRocketComponent.ts"},{"uid":"bffc-158","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"bffc-124":{"renderedLength":1897,"gzipLength":408,"brotliLength":0,"mainUid":"bffc-123"},"bffc-126":{"renderedLength":492,"gzipLength":283,"brotliLength":0,"mainUid":"bffc-125"},"bffc-128":{"renderedLength":1554,"gzipLength":546,"brotliLength":0,"mainUid":"bffc-127"},"bffc-130":{"renderedLength":2763,"gzipLength":850,"brotliLength":0,"mainUid":"bffc-129"},"bffc-132":{"renderedLength":572,"gzipLength":298,"brotliLength":0,"mainUid":"bffc-131"},"bffc-134":{"renderedLength":945,"gzipLength":374,"brotliLength":0,"mainUid":"bffc-133"},"bffc-136":{"renderedLength":592,"gzipLength":288,"brotliLength":0,"mainUid":"bffc-135"},"bffc-138":{"renderedLength":345,"gzipLength":206,"brotliLength":0,"mainUid":"bffc-137"},"bffc-140":{"renderedLength":2698,"gzipLength":876,"brotliLength":0,"mainUid":"bffc-139"},"bffc-142":{"renderedLength":1081,"gzipLength":448,"brotliLength":0,"mainUid":"bffc-141"},"bffc-144":{"renderedLength":45,"gzipLength":60,"brotliLength":0,"mainUid":"bffc-143"},"bffc-146":{"renderedLength":866,"gzipLength":387,"brotliLength":0,"mainUid":"bffc-145"},"bffc-148":{"renderedLength":139,"gzipLength":114,"brotliLength":0,"mainUid":"bffc-147"},"bffc-150":{"renderedLength":11774,"gzipLength":2737,"brotliLength":0,"mainUid":"bffc-149"},"bffc-152":{"renderedLength":196,"gzipLength":130,"brotliLength":0,"mainUid":"bffc-151"},"bffc-154":{"renderedLength":484,"gzipLength":251,"brotliLength":0,"mainUid":"bffc-153"},"bffc-156":{"renderedLength":220,"gzipLength":151,"brotliLength":0,"mainUid":"bffc-155"},"bffc-158":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"bffc-157"}},"nodeMetas":{"bffc-123":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-124"},"imported":[{"uid":"bffc-160"}],"importedBy":[{"uid":"bffc-162"}]},"bffc-125":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-126"},"imported":[],"importedBy":[{"uid":"bffc-149"},{"uid":"bffc-129"}]},"bffc-127":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-128"},"imported":[{"uid":"bffc-159"}],"importedBy":[{"uid":"bffc-153"},{"uid":"bffc-129"},{"uid":"bffc-131"}]},"bffc-129":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-130"},"imported":[{"uid":"bffc-159"},{"uid":"bffc-125"},{"uid":"bffc-127"}],"importedBy":[{"uid":"bffc-149"},{"uid":"bffc-131"}]},"bffc-131":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-132"},"imported":[{"uid":"bffc-159"},{"uid":"bffc-129"},{"uid":"bffc-127"}],"importedBy":[{"uid":"bffc-162"}]},"bffc-133":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-134"},"imported":[{"uid":"bffc-160"},{"uid":"bffc-159"}],"importedBy":[{"uid":"bffc-157"},{"uid":"bffc-137"}]},"bffc-135":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-136"},"imported":[],"importedBy":[{"uid":"bffc-153"},{"uid":"bffc-149"},{"uid":"bffc-137"}]},"bffc-137":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-138"},"imported":[{"uid":"bffc-160"},{"uid":"bffc-133"},{"uid":"bffc-135"}],"importedBy":[{"uid":"bffc-162"}]},"bffc-139":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-140"},"imported":[{"uid":"bffc-159"}],"importedBy":[{"uid":"bffc-149"},{"uid":"bffc-141"}]},"bffc-141":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-142"},"imported":[{"uid":"bffc-160"},{"uid":"bffc-159"},{"uid":"bffc-139"},{"uid":"bffc-162"}],"importedBy":[{"uid":"bffc-163"}]},"bffc-143":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-144"},"imported":[{"uid":"bffc-160"}],"importedBy":[{"uid":"bffc-163"},{"uid":"bffc-145"}]},"bffc-145":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-146"},"imported":[{"uid":"bffc-160"},{"uid":"bffc-162"},{"uid":"bffc-143"}],"importedBy":[{"uid":"bffc-163"}]},"bffc-147":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-148"},"imported":[],"importedBy":[{"uid":"bffc-149"}]},"bffc-149":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-150"},"imported":[{"uid":"bffc-160"},{"uid":"bffc-161"},{"uid":"bffc-159"},{"uid":"bffc-162"},{"uid":"bffc-163"},{"uid":"bffc-129"},{"uid":"bffc-147"},{"uid":"bffc-125"},{"uid":"bffc-139"},{"uid":"bffc-135"}],"importedBy":[{"uid":"bffc-153"}]},"bffc-151":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-152"},"imported":[],"importedBy":[{"uid":"bffc-153"}]},"bffc-153":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-154"},"imported":[{"uid":"bffc-159"},{"uid":"bffc-149"},{"uid":"bffc-127"},{"uid":"bffc-135"},{"uid":"bffc-151"}],"importedBy":[{"uid":"bffc-157"}]},"bffc-155":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-156"},"imported":[],"importedBy":[{"uid":"bffc-157"}]},"bffc-157":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"bffc-158"},"imported":[{"uid":"bffc-153"},{"uid":"bffc-133"},{"uid":"bffc-155"}],"importedBy":[],"isEntry":true},"bffc-159":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"bffc-153"},{"uid":"bffc-133"},{"uid":"bffc-149"},{"uid":"bffc-127"},{"uid":"bffc-129"},{"uid":"bffc-139"},{"uid":"bffc-131"},{"uid":"bffc-141"}],"isExternal":true},"bffc-160":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"bffc-133"},{"uid":"bffc-149"},{"uid":"bffc-123"},{"uid":"bffc-137"},{"uid":"bffc-141"},{"uid":"bffc-145"},{"uid":"bffc-143"}],"isExternal":true},"bffc-161":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"bffc-149"}],"isExternal":true},"bffc-162":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"bffc-123"},{"uid":"bffc-131"},{"uid":"bffc-137"}],"importedBy":[{"uid":"bffc-149"},{"uid":"bffc-141"},{"uid":"bffc-145"}]},"bffc-163":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"bffc-141"},{"uid":"bffc-145"},{"uid":"bffc-143"}],"importedBy":[{"uid":"bffc-149"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6427
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-rocketstyle.umd.min.js","children":[{"name":"src","children":[{"name":"hooks","children":[{"uid":"eb25-124","name":"usePseudoState.tsx"},{"uid":"eb25-132","name":"useTheme.tsx"},{"uid":"eb25-138","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"eb25-126","name":"collection.ts"},{"uid":"eb25-128","name":"dimensions.ts"},{"uid":"eb25-130","name":"theme.ts"},{"uid":"eb25-140","name":"attrs.ts"},{"uid":"eb25-148","name":"styles.ts"}]},{"uid":"eb25-134","name":"context.tsx"},{"name":"constants","children":[{"uid":"eb25-136","name":"reservedKeys.ts"},{"uid":"eb25-152","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"eb25-142","name":"rocketstyleAttrsHoc.tsx"},{"uid":"eb25-144","name":"localContext.tsx"},{"uid":"eb25-146","name":"createProvider.tsx"}]},{"uid":"eb25-150","name":"rocketstyle.tsx"},{"uid":"eb25-154","name":"init.ts"},{"uid":"eb25-156","name":"isRocketComponent.ts"},{"uid":"eb25-158","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"eb25-124":{"renderedLength":1897,"gzipLength":408,"brotliLength":0,"mainUid":"eb25-123"},"eb25-126":{"renderedLength":492,"gzipLength":283,"brotliLength":0,"mainUid":"eb25-125"},"eb25-128":{"renderedLength":1554,"gzipLength":546,"brotliLength":0,"mainUid":"eb25-127"},"eb25-130":{"renderedLength":2763,"gzipLength":850,"brotliLength":0,"mainUid":"eb25-129"},"eb25-132":{"renderedLength":572,"gzipLength":298,"brotliLength":0,"mainUid":"eb25-131"},"eb25-134":{"renderedLength":476,"gzipLength":262,"brotliLength":0,"mainUid":"eb25-133"},"eb25-136":{"renderedLength":592,"gzipLength":288,"brotliLength":0,"mainUid":"eb25-135"},"eb25-138":{"renderedLength":345,"gzipLength":206,"brotliLength":0,"mainUid":"eb25-137"},"eb25-140":{"renderedLength":2698,"gzipLength":876,"brotliLength":0,"mainUid":"eb25-139"},"eb25-142":{"renderedLength":1081,"gzipLength":448,"brotliLength":0,"mainUid":"eb25-141"},"eb25-144":{"renderedLength":45,"gzipLength":60,"brotliLength":0,"mainUid":"eb25-143"},"eb25-146":{"renderedLength":866,"gzipLength":387,"brotliLength":0,"mainUid":"eb25-145"},"eb25-148":{"renderedLength":139,"gzipLength":114,"brotliLength":0,"mainUid":"eb25-147"},"eb25-150":{"renderedLength":11774,"gzipLength":2737,"brotliLength":0,"mainUid":"eb25-149"},"eb25-152":{"renderedLength":196,"gzipLength":130,"brotliLength":0,"mainUid":"eb25-151"},"eb25-154":{"renderedLength":484,"gzipLength":251,"brotliLength":0,"mainUid":"eb25-153"},"eb25-156":{"renderedLength":220,"gzipLength":151,"brotliLength":0,"mainUid":"eb25-155"},"eb25-158":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"eb25-157"}},"nodeMetas":{"eb25-123":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-124"},"imported":[{"uid":"eb25-160"}],"importedBy":[{"uid":"eb25-162"}]},"eb25-125":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-126"},"imported":[],"importedBy":[{"uid":"eb25-149"},{"uid":"eb25-129"}]},"eb25-127":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-128"},"imported":[{"uid":"eb25-159"}],"importedBy":[{"uid":"eb25-153"},{"uid":"eb25-129"},{"uid":"eb25-131"}]},"eb25-129":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-130"},"imported":[{"uid":"eb25-159"},{"uid":"eb25-125"},{"uid":"eb25-127"}],"importedBy":[{"uid":"eb25-149"},{"uid":"eb25-131"}]},"eb25-131":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-132"},"imported":[{"uid":"eb25-159"},{"uid":"eb25-129"},{"uid":"eb25-127"}],"importedBy":[{"uid":"eb25-162"}]},"eb25-133":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-134"},"imported":[{"uid":"eb25-160"},{"uid":"eb25-159"}],"importedBy":[{"uid":"eb25-157"},{"uid":"eb25-137"}]},"eb25-135":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-136"},"imported":[],"importedBy":[{"uid":"eb25-153"},{"uid":"eb25-149"},{"uid":"eb25-137"}]},"eb25-137":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-138"},"imported":[{"uid":"eb25-160"},{"uid":"eb25-133"},{"uid":"eb25-135"}],"importedBy":[{"uid":"eb25-162"}]},"eb25-139":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-140"},"imported":[{"uid":"eb25-159"}],"importedBy":[{"uid":"eb25-149"},{"uid":"eb25-141"}]},"eb25-141":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-142"},"imported":[{"uid":"eb25-160"},{"uid":"eb25-159"},{"uid":"eb25-139"},{"uid":"eb25-162"}],"importedBy":[{"uid":"eb25-163"}]},"eb25-143":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-144"},"imported":[{"uid":"eb25-160"}],"importedBy":[{"uid":"eb25-163"},{"uid":"eb25-145"}]},"eb25-145":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-146"},"imported":[{"uid":"eb25-160"},{"uid":"eb25-162"},{"uid":"eb25-143"}],"importedBy":[{"uid":"eb25-163"}]},"eb25-147":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-148"},"imported":[],"importedBy":[{"uid":"eb25-149"}]},"eb25-149":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-150"},"imported":[{"uid":"eb25-160"},{"uid":"eb25-161"},{"uid":"eb25-159"},{"uid":"eb25-162"},{"uid":"eb25-163"},{"uid":"eb25-129"},{"uid":"eb25-147"},{"uid":"eb25-125"},{"uid":"eb25-139"},{"uid":"eb25-135"}],"importedBy":[{"uid":"eb25-153"}]},"eb25-151":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-152"},"imported":[],"importedBy":[{"uid":"eb25-153"}]},"eb25-153":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-154"},"imported":[{"uid":"eb25-159"},{"uid":"eb25-149"},{"uid":"eb25-127"},{"uid":"eb25-135"},{"uid":"eb25-151"}],"importedBy":[{"uid":"eb25-157"}]},"eb25-155":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-156"},"imported":[],"importedBy":[{"uid":"eb25-157"}]},"eb25-157":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"eb25-158"},"imported":[{"uid":"eb25-153"},{"uid":"eb25-133"},{"uid":"eb25-155"}],"importedBy":[],"isEntry":true},"eb25-159":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"eb25-153"},{"uid":"eb25-133"},{"uid":"eb25-149"},{"uid":"eb25-127"},{"uid":"eb25-129"},{"uid":"eb25-139"},{"uid":"eb25-131"},{"uid":"eb25-141"}],"isExternal":true},"eb25-160":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"eb25-133"},{"uid":"eb25-149"},{"uid":"eb25-123"},{"uid":"eb25-137"},{"uid":"eb25-141"},{"uid":"eb25-145"},{"uid":"eb25-143"}],"isExternal":true},"eb25-161":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"eb25-149"}],"isExternal":true},"eb25-162":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"eb25-123"},{"uid":"eb25-131"},{"uid":"eb25-137"}],"importedBy":[{"uid":"eb25-149"},{"uid":"eb25-141"},{"uid":"eb25-145"}]},"eb25-163":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"eb25-141"},{"uid":"eb25-145"},{"uid":"eb25-143"}],"importedBy":[{"uid":"eb25-149"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
6428
6428
 
6429
6429
  const run = () => {
6430
6430
  const width = window.innerWidth;
package/lib/index.d.ts CHANGED
@@ -43,11 +43,13 @@ declare const THEME_MODES: {
43
43
  readonly dark: true;
44
44
  };
45
45
 
46
+ declare type StylesDefault = {};
46
47
  declare type Css = typeof config.css;
47
48
  declare type OptionStyles = Array<(css: Css) => ReturnType<Css>>;
48
49
  declare type StylesCb = (css: Css) => ReturnType<Css>;
49
50
  declare type StylesCbArray = Array<StylesCb>;
50
51
 
52
+ declare type ThemeDefault = {};
51
53
  declare type ThemeModeKeys = keyof typeof THEME_MODES;
52
54
  declare type ThemeMode = <A, B>(light: A, dark: B) => A | B;
53
55
  declare type ThemeCb<CT, T> = (theme: T, mode: ThemeMode, css: Css) => Partial<CT>;
@@ -165,7 +167,7 @@ declare type AttrsCb<A, T> = (props: Partial<A>, theme: T, helpers: {
165
167
 
166
168
  declare type GenericHoc = (component: ElementType) => ElementType;
167
169
 
168
- declare type RocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}, EA extends TObj = {}, T extends TObj | unknown = unknown, CT extends TObj | unknown = unknown, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> = IRocketComponent<A, OA, EA, T, CT, D, UB, DKP> & {
170
+ declare type RocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}, EA extends TObj = {}, T extends TObj | unknown = ThemeDefault, CT extends TObj | unknown = StylesDefault, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> = IRocketComponent<A, OA, EA, T, CT, D, UB, DKP> & {
169
171
  [I in keyof D]: <K extends DimensionValue = D[I], P extends DimensionCallbackParam<T, CT> = DimensionCallbackParam<T, CT>>(param: P) => P extends DimensionCallbackParam<T, CT> ? RocketComponent<MergeTypes<[
170
172
  OA,
171
173
  EA,
@@ -181,7 +183,7 @@ declare type RocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}
181
183
  * @param UB Use booleans value
182
184
  * @param DKP Dimensions key props.
183
185
  */
184
- interface IRocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}, EA extends TObj = {}, T extends TObj | unknown = unknown, CT extends TObj | unknown = unknown, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> extends ForwardRefExoticComponent<A> {
186
+ interface IRocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}, EA extends TObj = {}, T extends TObj | unknown = ThemeDefault, CT extends TObj | unknown = StylesDefault, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> extends ForwardRefExoticComponent<A> {
185
187
  config: <NC extends ElementType | unknown = unknown>({ name, component: NC, provider, consumer, DEBUG, inversed, passProps, }: ConfigAttrs<NC, DKP, UB>) => NC extends ElementType ? RocketComponent<MergeTypes<[
186
188
  ExtractProps<NC>,
187
189
  DefaultProps,
@@ -244,4 +246,4 @@ declare const Provider: FC<TProvider>;
244
246
  declare type IsRocketComponent = (component: any) => boolean;
245
247
  declare const isRocketComponent: IsRocketComponent;
246
248
 
247
- export { AttrsCb, ConfigAttrs, ConsumerCb, ConsumerCtxCBValue, ConsumerCtxCb, DefaultProps, DimensionCallbackParam, DimensionProps, DimensionValue, Dimensions, ElementType, ExtractDimensionProps, ExtractProps, GenericHoc, IRocketComponent, MergeTypes, Provider, RocketComponent, RocketComponentType, RocketProviderState, Rocketstyle, StylesCb, TDKP, TObj, TProvider, ThemeCb, ThemeModeKeys, rocketstyle as default, isRocketComponent };
249
+ export { AttrsCb, ConfigAttrs, ConsumerCb, ConsumerCtxCBValue, ConsumerCtxCb, DefaultProps, DimensionCallbackParam, DimensionProps, DimensionValue, Dimensions, ElementType, ExtractDimensionProps, ExtractProps, GenericHoc, IRocketComponent, MergeTypes, Provider, RocketComponent, RocketComponentType, RocketProviderState, Rocketstyle, StylesCb, StylesDefault, TDKP, TObj, TProvider, ThemeCb, ThemeDefault, ThemeModeKeys, rocketstyle as default, isRocketComponent };
@@ -4,12 +4,12 @@ import isRocketComponent from "./isRocketComponent";
4
4
  import type { ConfigAttrs, RocketComponentType, RocketProviderState, ConsumerCtxCBValue, ConsumerCtxCb, ConsumerCb } from "./types/config";
5
5
  import type { TObj, ElementType, MergeTypes, ExtractProps } from "./types/utils";
6
6
  import type { Dimensions, DimensionValue, DimensionCallbackParam, ExtractDimensionProps, TDKP, DimensionProps } from "./types/dimensions";
7
- import type { StylesCb } from "./types/styles";
7
+ import type { StylesCb, StylesDefault } from "./types/styles";
8
8
  import type { AttrsCb } from "./types/attrs";
9
- import type { ThemeCb, ThemeModeKeys } from "./types/theme";
9
+ import type { ThemeCb, ThemeModeKeys, ThemeDefault } from "./types/theme";
10
10
  import type { GenericHoc } from "./types/hoc";
11
11
  import type { DefaultProps } from "./types/configuration";
12
12
  import type { RocketComponent, IRocketComponent } from "./types/rocketstyle";
13
- export type { RocketComponent, IRocketComponent, Rocketstyle, TProvider, RocketComponentType, RocketProviderState, ConsumerCtxCBValue, ConsumerCtxCb, ConsumerCb, TObj, ElementType, MergeTypes, ExtractProps, Dimensions, DimensionValue, DimensionCallbackParam, ExtractDimensionProps, TDKP, DimensionProps, StylesCb, ConfigAttrs, AttrsCb, ThemeCb, ThemeModeKeys, GenericHoc, DefaultProps, };
13
+ export type { StylesDefault, ThemeDefault, RocketComponent, IRocketComponent, Rocketstyle, TProvider, RocketComponentType, RocketProviderState, ConsumerCtxCBValue, ConsumerCtxCb, ConsumerCb, TObj, ElementType, MergeTypes, ExtractProps, Dimensions, DimensionValue, DimensionCallbackParam, ExtractDimensionProps, TDKP, DimensionProps, StylesCb, ConfigAttrs, AttrsCb, ThemeCb, ThemeModeKeys, GenericHoc, DefaultProps, };
14
14
  export { context, Provider, isRocketComponent };
15
15
  export default rocketstyle;
@@ -1,13 +1,13 @@
1
1
  import type { ForwardRefExoticComponent } from 'react';
2
2
  import { TObj, ElementType, MergeTypes, ExtractProps } from './utils';
3
3
  import { Dimensions, DimensionValue, DimensionCallbackParam, ExtractDimensionProps, TDKP, DimensionProps } from './dimensions';
4
- import { StylesCb } from './styles';
4
+ import { StylesCb, StylesDefault } from './styles';
5
5
  import { ConfigAttrs } from './config';
6
6
  import { AttrsCb } from './attrs';
7
- import { ThemeCb, ThemeModeKeys } from './theme';
7
+ import { ThemeCb, ThemeModeKeys, ThemeDefault } from './theme';
8
8
  import { GenericHoc } from './hoc';
9
9
  import { DefaultProps } from './configuration';
10
- export declare type RocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}, EA extends TObj = {}, T extends TObj | unknown = unknown, CT extends TObj | unknown = unknown, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> = IRocketComponent<A, OA, EA, T, CT, D, UB, DKP> & {
10
+ export declare type RocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}, EA extends TObj = {}, T extends TObj | unknown = ThemeDefault, CT extends TObj | unknown = StylesDefault, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> = IRocketComponent<A, OA, EA, T, CT, D, UB, DKP> & {
11
11
  [I in keyof D]: <K extends DimensionValue = D[I], P extends DimensionCallbackParam<T, CT> = DimensionCallbackParam<T, CT>>(param: P) => P extends DimensionCallbackParam<T, CT> ? RocketComponent<MergeTypes<[
12
12
  OA,
13
13
  EA,
@@ -23,7 +23,7 @@ export declare type RocketComponent<A extends TObj = DefaultProps, OA extends TO
23
23
  * @param UB Use booleans value
24
24
  * @param DKP Dimensions key props.
25
25
  */
26
- export interface IRocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}, EA extends TObj = {}, T extends TObj | unknown = unknown, CT extends TObj | unknown = unknown, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> extends ForwardRefExoticComponent<A> {
26
+ export interface IRocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}, EA extends TObj = {}, T extends TObj | unknown = ThemeDefault, CT extends TObj | unknown = StylesDefault, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> extends ForwardRefExoticComponent<A> {
27
27
  config: <NC extends ElementType | unknown = unknown>({ name, component: NC, provider, consumer, DEBUG, inversed, passProps, }: ConfigAttrs<NC, DKP, UB>) => NC extends ElementType ? RocketComponent<MergeTypes<[
28
28
  ExtractProps<NC>,
29
29
  DefaultProps,
@@ -1,4 +1,5 @@
1
1
  import { config } from '@vitus-labs/core';
2
+ export declare type StylesDefault = {};
2
3
  export declare type Css = typeof config.css;
3
4
  export declare type Style = ReturnType<Css>;
4
5
  export declare type OptionStyles = Array<(css: Css) => ReturnType<Css>>;
@@ -1,5 +1,6 @@
1
1
  import { THEME_MODES } from "../constants/reservedKeys";
2
2
  import type { Css } from './styles';
3
+ export declare type ThemeDefault = {};
3
4
  export declare type ThemeModeKeys = keyof typeof THEME_MODES;
4
5
  export declare type ThemeMode = <A, B>(light: A, dark: B) => A | B;
5
6
  export declare type ThemeCb<CT, T> = (theme: T, mode: ThemeMode, css: Css) => Partial<CT>;
@@ -213,18 +213,11 @@ const useTheme = ({ theme, options, cb }) => {
213
213
  return __ROCKETSTYLE__;
214
214
  };
215
215
 
216
- const Provider = ({ theme, mode, children, inversed, provider: RocketstyleProvider = core.Provider, }) => {
217
- if (inversed) {
218
- const { provider: InnerProvider, mode: ctxMode, ...ctx } = React.useContext(core.context);
219
- const isDark = ctxMode === 'dark';
220
- const inversedTheme = isDark ? 'light' : 'dark';
221
- // eslint-disable-next-line react/jsx-no-useless-fragment
222
- if (!InnerProvider)
223
- return React__default["default"].createElement(React__default["default"].Fragment, null, children);
224
- return (React__default["default"].createElement(InnerProvider, { mode: inversedTheme, isDark: isDark, isLight: !isDark, ...ctx }, children));
225
- }
226
- const isDark = mode === 'dark';
227
- return (React__default["default"].createElement(RocketstyleProvider, { mode: mode, isDark: isDark, isLight: !isDark, theme: theme, provider: RocketstyleProvider }, children));
216
+ const Provider = ({ provider = core.Provider, ...props }) => {
217
+ const ctx = React.useContext(core.context);
218
+ const { theme, mode, inversed, provider: RocketstyleProvider, children, } = { ...props, ...ctx, provider };
219
+ const isDark = inversed ? mode !== 'dark' : mode === 'dark';
220
+ return (React__default["default"].createElement(RocketstyleProvider, { mode: mode, isDark: isDark, isLight: !isDark, theme: theme, provider: provider }, children));
228
221
  };
229
222
 
230
223
  const PSEUDO_KEYS = ['hover', 'active', 'focus', 'pressed'];