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

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":"cddc-1","name":"usePseudoState.tsx"},{"uid":"cddc-9","name":"useTheme.tsx"},{"uid":"cddc-15","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"cddc-3","name":"collection.ts"},{"uid":"cddc-5","name":"dimensions.ts"},{"uid":"cddc-7","name":"theme.ts"},{"uid":"cddc-17","name":"attrs.ts"},{"uid":"cddc-25","name":"styles.ts"}]},{"uid":"cddc-11","name":"context.tsx"},{"name":"constants","children":[{"uid":"cddc-13","name":"reservedKeys.ts"},{"uid":"cddc-29","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"cddc-19","name":"rocketstyleAttrsHoc.tsx"},{"uid":"cddc-21","name":"localContext.tsx"},{"uid":"cddc-23","name":"createProvider.tsx"}]},{"uid":"cddc-27","name":"rocketstyle.tsx"},{"uid":"cddc-31","name":"init.ts"},{"uid":"cddc-33","name":"isRocketComponent.ts"},{"uid":"cddc-35","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"cddc-1":{"renderedLength":1775,"gzipLength":407,"brotliLength":0,"mainUid":"cddc-0"},"cddc-3":{"renderedLength":468,"gzipLength":280,"brotliLength":0,"mainUid":"cddc-2"},"cddc-5":{"renderedLength":1474,"gzipLength":545,"brotliLength":0,"mainUid":"cddc-4"},"cddc-7":{"renderedLength":2625,"gzipLength":845,"brotliLength":0,"mainUid":"cddc-6"},"cddc-9":{"renderedLength":542,"gzipLength":295,"brotliLength":0,"mainUid":"cddc-8"},"cddc-11":{"renderedLength":464,"gzipLength":261,"brotliLength":0,"mainUid":"cddc-10"},"cddc-13":{"renderedLength":566,"gzipLength":296,"brotliLength":0,"mainUid":"cddc-12"},"cddc-15":{"renderedLength":331,"gzipLength":206,"brotliLength":0,"mainUid":"cddc-14"},"cddc-17":{"renderedLength":2568,"gzipLength":873,"brotliLength":0,"mainUid":"cddc-16"},"cddc-19":{"renderedLength":1029,"gzipLength":445,"brotliLength":0,"mainUid":"cddc-18"},"cddc-21":{"renderedLength":43,"gzipLength":58,"brotliLength":0,"mainUid":"cddc-20"},"cddc-23":{"renderedLength":832,"gzipLength":384,"brotliLength":0,"mainUid":"cddc-22"},"cddc-25":{"renderedLength":129,"gzipLength":112,"brotliLength":0,"mainUid":"cddc-24"},"cddc-27":{"renderedLength":11491,"gzipLength":2801,"brotliLength":0,"mainUid":"cddc-26"},"cddc-29":{"renderedLength":178,"gzipLength":128,"brotliLength":0,"mainUid":"cddc-28"},"cddc-31":{"renderedLength":1582,"gzipLength":585,"brotliLength":0,"mainUid":"cddc-30"},"cddc-33":{"renderedLength":204,"gzipLength":148,"brotliLength":0,"mainUid":"cddc-32"},"cddc-35":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"cddc-34"}},"nodeMetas":{"cddc-0":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-1"},"imported":[{"uid":"cddc-37"}],"importedBy":[{"uid":"cddc-39"}]},"cddc-2":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-3"},"imported":[],"importedBy":[{"uid":"cddc-26"},{"uid":"cddc-6"}]},"cddc-4":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-5"},"imported":[{"uid":"cddc-36"}],"importedBy":[{"uid":"cddc-30"},{"uid":"cddc-6"},{"uid":"cddc-8"}]},"cddc-6":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-7"},"imported":[{"uid":"cddc-36"},{"uid":"cddc-2"},{"uid":"cddc-4"}],"importedBy":[{"uid":"cddc-26"},{"uid":"cddc-8"}]},"cddc-8":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-9"},"imported":[{"uid":"cddc-36"},{"uid":"cddc-6"},{"uid":"cddc-4"}],"importedBy":[{"uid":"cddc-39"}]},"cddc-10":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-11"},"imported":[{"uid":"cddc-37"},{"uid":"cddc-36"}],"importedBy":[{"uid":"cddc-34"},{"uid":"cddc-14"}]},"cddc-12":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-13"},"imported":[],"importedBy":[{"uid":"cddc-30"},{"uid":"cddc-26"},{"uid":"cddc-14"}]},"cddc-14":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-15"},"imported":[{"uid":"cddc-37"},{"uid":"cddc-10"},{"uid":"cddc-12"}],"importedBy":[{"uid":"cddc-39"}]},"cddc-16":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-17"},"imported":[{"uid":"cddc-36"}],"importedBy":[{"uid":"cddc-26"},{"uid":"cddc-18"}]},"cddc-18":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-19"},"imported":[{"uid":"cddc-37"},{"uid":"cddc-36"},{"uid":"cddc-16"},{"uid":"cddc-39"}],"importedBy":[{"uid":"cddc-40"}]},"cddc-20":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-21"},"imported":[{"uid":"cddc-37"}],"importedBy":[{"uid":"cddc-40"},{"uid":"cddc-22"}]},"cddc-22":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-23"},"imported":[{"uid":"cddc-37"},{"uid":"cddc-39"},{"uid":"cddc-20"}],"importedBy":[{"uid":"cddc-40"}]},"cddc-24":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-25"},"imported":[],"importedBy":[{"uid":"cddc-26"}]},"cddc-26":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-27"},"imported":[{"uid":"cddc-37"},{"uid":"cddc-38"},{"uid":"cddc-36"},{"uid":"cddc-39"},{"uid":"cddc-40"},{"uid":"cddc-6"},{"uid":"cddc-24"},{"uid":"cddc-2"},{"uid":"cddc-16"},{"uid":"cddc-12"}],"importedBy":[{"uid":"cddc-30"}]},"cddc-28":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-29"},"imported":[],"importedBy":[{"uid":"cddc-30"}]},"cddc-30":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-31"},"imported":[{"uid":"cddc-36"},{"uid":"cddc-26"},{"uid":"cddc-4"},{"uid":"cddc-12"},{"uid":"cddc-28"}],"importedBy":[{"uid":"cddc-34"}]},"cddc-32":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-33"},"imported":[],"importedBy":[{"uid":"cddc-34"}]},"cddc-34":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.js":"cddc-35"},"imported":[{"uid":"cddc-30"},{"uid":"cddc-10"},{"uid":"cddc-32"}],"importedBy":[],"isEntry":true},"cddc-36":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"cddc-30"},{"uid":"cddc-10"},{"uid":"cddc-26"},{"uid":"cddc-4"},{"uid":"cddc-6"},{"uid":"cddc-16"},{"uid":"cddc-8"},{"uid":"cddc-18"}],"isExternal":true},"cddc-37":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"cddc-10"},{"uid":"cddc-26"},{"uid":"cddc-0"},{"uid":"cddc-14"},{"uid":"cddc-18"},{"uid":"cddc-22"},{"uid":"cddc-20"}],"isExternal":true},"cddc-38":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"cddc-26"}],"isExternal":true},"cddc-39":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"cddc-0"},{"uid":"cddc-8"},{"uid":"cddc-14"}],"importedBy":[{"uid":"cddc-26"},{"uid":"cddc-18"},{"uid":"cddc-22"}]},"cddc-40":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"cddc-18"},{"uid":"cddc-22"},{"uid":"cddc-20"}],"importedBy":[{"uid":"cddc-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":"f1da-1","name":"usePseudoState.tsx"},{"uid":"f1da-9","name":"useTheme.tsx"},{"uid":"f1da-15","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"f1da-3","name":"collection.ts"},{"uid":"f1da-5","name":"dimensions.ts"},{"uid":"f1da-7","name":"theme.ts"},{"uid":"f1da-17","name":"attrs.ts"},{"uid":"f1da-25","name":"styles.ts"}]},{"uid":"f1da-11","name":"context.tsx"},{"name":"constants","children":[{"uid":"f1da-13","name":"reservedKeys.ts"},{"uid":"f1da-29","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"f1da-19","name":"rocketstyleAttrsHoc.tsx"},{"uid":"f1da-21","name":"localContext.tsx"},{"uid":"f1da-23","name":"createProvider.tsx"}]},{"uid":"f1da-27","name":"rocketstyle.tsx"},{"uid":"f1da-31","name":"init.ts"},{"uid":"f1da-33","name":"isRocketComponent.ts"},{"uid":"f1da-35","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"f1da-1":{"renderedLength":1775,"gzipLength":407,"brotliLength":0,"mainUid":"f1da-0"},"f1da-3":{"renderedLength":468,"gzipLength":280,"brotliLength":0,"mainUid":"f1da-2"},"f1da-5":{"renderedLength":1474,"gzipLength":545,"brotliLength":0,"mainUid":"f1da-4"},"f1da-7":{"renderedLength":2625,"gzipLength":845,"brotliLength":0,"mainUid":"f1da-6"},"f1da-9":{"renderedLength":542,"gzipLength":295,"brotliLength":0,"mainUid":"f1da-8"},"f1da-11":{"renderedLength":464,"gzipLength":261,"brotliLength":0,"mainUid":"f1da-10"},"f1da-13":{"renderedLength":566,"gzipLength":296,"brotliLength":0,"mainUid":"f1da-12"},"f1da-15":{"renderedLength":331,"gzipLength":206,"brotliLength":0,"mainUid":"f1da-14"},"f1da-17":{"renderedLength":2568,"gzipLength":873,"brotliLength":0,"mainUid":"f1da-16"},"f1da-19":{"renderedLength":1029,"gzipLength":445,"brotliLength":0,"mainUid":"f1da-18"},"f1da-21":{"renderedLength":43,"gzipLength":58,"brotliLength":0,"mainUid":"f1da-20"},"f1da-23":{"renderedLength":832,"gzipLength":384,"brotliLength":0,"mainUid":"f1da-22"},"f1da-25":{"renderedLength":129,"gzipLength":112,"brotliLength":0,"mainUid":"f1da-24"},"f1da-27":{"renderedLength":11491,"gzipLength":2801,"brotliLength":0,"mainUid":"f1da-26"},"f1da-29":{"renderedLength":178,"gzipLength":128,"brotliLength":0,"mainUid":"f1da-28"},"f1da-31":{"renderedLength":1570,"gzipLength":577,"brotliLength":0,"mainUid":"f1da-30"},"f1da-33":{"renderedLength":204,"gzipLength":148,"brotliLength":0,"mainUid":"f1da-32"},"f1da-35":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"f1da-34"}},"nodeMetas":{"f1da-0":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-1"},"imported":[{"uid":"f1da-37"}],"importedBy":[{"uid":"f1da-39"}]},"f1da-2":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-3"},"imported":[],"importedBy":[{"uid":"f1da-26"},{"uid":"f1da-6"}]},"f1da-4":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-5"},"imported":[{"uid":"f1da-36"}],"importedBy":[{"uid":"f1da-30"},{"uid":"f1da-6"},{"uid":"f1da-8"}]},"f1da-6":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-7"},"imported":[{"uid":"f1da-36"},{"uid":"f1da-2"},{"uid":"f1da-4"}],"importedBy":[{"uid":"f1da-26"},{"uid":"f1da-8"}]},"f1da-8":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-9"},"imported":[{"uid":"f1da-36"},{"uid":"f1da-6"},{"uid":"f1da-4"}],"importedBy":[{"uid":"f1da-39"}]},"f1da-10":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-11"},"imported":[{"uid":"f1da-37"},{"uid":"f1da-36"}],"importedBy":[{"uid":"f1da-34"},{"uid":"f1da-14"}]},"f1da-12":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-13"},"imported":[],"importedBy":[{"uid":"f1da-30"},{"uid":"f1da-26"},{"uid":"f1da-14"}]},"f1da-14":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-15"},"imported":[{"uid":"f1da-37"},{"uid":"f1da-10"},{"uid":"f1da-12"}],"importedBy":[{"uid":"f1da-39"}]},"f1da-16":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-17"},"imported":[{"uid":"f1da-36"}],"importedBy":[{"uid":"f1da-26"},{"uid":"f1da-18"}]},"f1da-18":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-19"},"imported":[{"uid":"f1da-37"},{"uid":"f1da-36"},{"uid":"f1da-16"},{"uid":"f1da-39"}],"importedBy":[{"uid":"f1da-40"}]},"f1da-20":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-21"},"imported":[{"uid":"f1da-37"}],"importedBy":[{"uid":"f1da-40"},{"uid":"f1da-22"}]},"f1da-22":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-23"},"imported":[{"uid":"f1da-37"},{"uid":"f1da-39"},{"uid":"f1da-20"}],"importedBy":[{"uid":"f1da-40"}]},"f1da-24":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-25"},"imported":[],"importedBy":[{"uid":"f1da-26"}]},"f1da-26":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-27"},"imported":[{"uid":"f1da-37"},{"uid":"f1da-38"},{"uid":"f1da-36"},{"uid":"f1da-39"},{"uid":"f1da-40"},{"uid":"f1da-6"},{"uid":"f1da-24"},{"uid":"f1da-2"},{"uid":"f1da-16"},{"uid":"f1da-12"}],"importedBy":[{"uid":"f1da-30"}]},"f1da-28":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-29"},"imported":[],"importedBy":[{"uid":"f1da-30"}]},"f1da-30":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-31"},"imported":[{"uid":"f1da-36"},{"uid":"f1da-26"},{"uid":"f1da-4"},{"uid":"f1da-12"},{"uid":"f1da-28"}],"importedBy":[{"uid":"f1da-34"}]},"f1da-32":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-33"},"imported":[],"importedBy":[{"uid":"f1da-34"}]},"f1da-34":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.js":"f1da-35"},"imported":[{"uid":"f1da-30"},{"uid":"f1da-10"},{"uid":"f1da-32"}],"importedBy":[],"isEntry":true},"f1da-36":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"f1da-30"},{"uid":"f1da-10"},{"uid":"f1da-26"},{"uid":"f1da-4"},{"uid":"f1da-6"},{"uid":"f1da-16"},{"uid":"f1da-8"},{"uid":"f1da-18"}],"isExternal":true},"f1da-37":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"f1da-10"},{"uid":"f1da-26"},{"uid":"f1da-0"},{"uid":"f1da-14"},{"uid":"f1da-18"},{"uid":"f1da-22"},{"uid":"f1da-20"}],"isExternal":true},"f1da-38":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"f1da-26"}],"isExternal":true},"f1da-39":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"f1da-0"},{"uid":"f1da-8"},{"uid":"f1da-14"}],"importedBy":[{"uid":"f1da-26"},{"uid":"f1da-18"},{"uid":"f1da-22"}]},"f1da-40":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"f1da-18"},{"uid":"f1da-22"},{"uid":"f1da-20"}],"importedBy":[{"uid":"f1da-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":"cddc-42","name":"usePseudoState.tsx"},{"uid":"cddc-50","name":"useTheme.tsx"},{"uid":"cddc-56","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"cddc-44","name":"collection.ts"},{"uid":"cddc-46","name":"dimensions.ts"},{"uid":"cddc-48","name":"theme.ts"},{"uid":"cddc-58","name":"attrs.ts"},{"uid":"cddc-66","name":"styles.ts"}]},{"uid":"cddc-52","name":"context.tsx"},{"name":"constants","children":[{"uid":"cddc-54","name":"reservedKeys.ts"},{"uid":"cddc-70","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"cddc-60","name":"rocketstyleAttrsHoc.tsx"},{"uid":"cddc-62","name":"localContext.tsx"},{"uid":"cddc-64","name":"createProvider.tsx"}]},{"uid":"cddc-68","name":"rocketstyle.tsx"},{"uid":"cddc-72","name":"init.ts"},{"uid":"cddc-74","name":"isRocketComponent.ts"},{"uid":"cddc-76","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"cddc-42":{"renderedLength":1721,"gzipLength":401,"brotliLength":0,"mainUid":"cddc-41"},"cddc-44":{"renderedLength":468,"gzipLength":280,"brotliLength":0,"mainUid":"cddc-43"},"cddc-46":{"renderedLength":1459,"gzipLength":537,"brotliLength":0,"mainUid":"cddc-45"},"cddc-48":{"renderedLength":2595,"gzipLength":838,"brotliLength":0,"mainUid":"cddc-47"},"cddc-50":{"renderedLength":537,"gzipLength":292,"brotliLength":0,"mainUid":"cddc-49"},"cddc-52":{"renderedLength":430,"gzipLength":245,"brotliLength":0,"mainUid":"cddc-51"},"cddc-54":{"renderedLength":566,"gzipLength":296,"brotliLength":0,"mainUid":"cddc-53"},"cddc-56":{"renderedLength":320,"gzipLength":199,"brotliLength":0,"mainUid":"cddc-55"},"cddc-58":{"renderedLength":2563,"gzipLength":870,"brotliLength":0,"mainUid":"cddc-57"},"cddc-60":{"renderedLength":983,"gzipLength":424,"brotliLength":0,"mainUid":"cddc-59"},"cddc-62":{"renderedLength":37,"gzipLength":51,"brotliLength":0,"mainUid":"cddc-61"},"cddc-64":{"renderedLength":780,"gzipLength":365,"brotliLength":0,"mainUid":"cddc-63"},"cddc-66":{"renderedLength":129,"gzipLength":112,"brotliLength":0,"mainUid":"cddc-65"},"cddc-68":{"renderedLength":11343,"gzipLength":2762,"brotliLength":0,"mainUid":"cddc-67"},"cddc-70":{"renderedLength":178,"gzipLength":128,"brotliLength":0,"mainUid":"cddc-69"},"cddc-72":{"renderedLength":1572,"gzipLength":582,"brotliLength":0,"mainUid":"cddc-71"},"cddc-74":{"renderedLength":204,"gzipLength":148,"brotliLength":0,"mainUid":"cddc-73"},"cddc-76":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"cddc-75"}},"nodeMetas":{"cddc-41":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-42"},"imported":[{"uid":"cddc-78"}],"importedBy":[{"uid":"cddc-80"}]},"cddc-43":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-44"},"imported":[],"importedBy":[{"uid":"cddc-67"},{"uid":"cddc-47"}]},"cddc-45":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-46"},"imported":[{"uid":"cddc-77"}],"importedBy":[{"uid":"cddc-71"},{"uid":"cddc-47"},{"uid":"cddc-49"}]},"cddc-47":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-48"},"imported":[{"uid":"cddc-77"},{"uid":"cddc-43"},{"uid":"cddc-45"}],"importedBy":[{"uid":"cddc-67"},{"uid":"cddc-49"}]},"cddc-49":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-50"},"imported":[{"uid":"cddc-77"},{"uid":"cddc-47"},{"uid":"cddc-45"}],"importedBy":[{"uid":"cddc-80"}]},"cddc-51":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-52"},"imported":[{"uid":"cddc-78"},{"uid":"cddc-77"}],"importedBy":[{"uid":"cddc-75"},{"uid":"cddc-55"}]},"cddc-53":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-54"},"imported":[],"importedBy":[{"uid":"cddc-71"},{"uid":"cddc-67"},{"uid":"cddc-55"}]},"cddc-55":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-56"},"imported":[{"uid":"cddc-78"},{"uid":"cddc-51"},{"uid":"cddc-53"}],"importedBy":[{"uid":"cddc-80"}]},"cddc-57":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-58"},"imported":[{"uid":"cddc-77"}],"importedBy":[{"uid":"cddc-67"},{"uid":"cddc-59"}]},"cddc-59":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-60"},"imported":[{"uid":"cddc-78"},{"uid":"cddc-77"},{"uid":"cddc-57"},{"uid":"cddc-80"}],"importedBy":[{"uid":"cddc-81"}]},"cddc-61":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-62"},"imported":[{"uid":"cddc-78"}],"importedBy":[{"uid":"cddc-81"},{"uid":"cddc-63"}]},"cddc-63":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-64"},"imported":[{"uid":"cddc-78"},{"uid":"cddc-80"},{"uid":"cddc-61"}],"importedBy":[{"uid":"cddc-81"}]},"cddc-65":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-66"},"imported":[],"importedBy":[{"uid":"cddc-67"}]},"cddc-67":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-68"},"imported":[{"uid":"cddc-78"},{"uid":"cddc-79"},{"uid":"cddc-77"},{"uid":"cddc-80"},{"uid":"cddc-81"},{"uid":"cddc-47"},{"uid":"cddc-65"},{"uid":"cddc-43"},{"uid":"cddc-57"},{"uid":"cddc-53"}],"importedBy":[{"uid":"cddc-71"}]},"cddc-69":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-70"},"imported":[],"importedBy":[{"uid":"cddc-71"}]},"cddc-71":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-72"},"imported":[{"uid":"cddc-77"},{"uid":"cddc-67"},{"uid":"cddc-45"},{"uid":"cddc-53"},{"uid":"cddc-69"}],"importedBy":[{"uid":"cddc-75"}]},"cddc-73":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-74"},"imported":[],"importedBy":[{"uid":"cddc-75"}]},"cddc-75":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"cddc-76"},"imported":[{"uid":"cddc-71"},{"uid":"cddc-51"},{"uid":"cddc-73"}],"importedBy":[],"isEntry":true},"cddc-77":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"cddc-71"},{"uid":"cddc-51"},{"uid":"cddc-67"},{"uid":"cddc-45"},{"uid":"cddc-47"},{"uid":"cddc-57"},{"uid":"cddc-49"},{"uid":"cddc-59"}],"isExternal":true},"cddc-78":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"cddc-51"},{"uid":"cddc-67"},{"uid":"cddc-41"},{"uid":"cddc-55"},{"uid":"cddc-59"},{"uid":"cddc-63"},{"uid":"cddc-61"}],"isExternal":true},"cddc-79":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"cddc-67"}],"isExternal":true},"cddc-80":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"cddc-41"},{"uid":"cddc-49"},{"uid":"cddc-55"}],"importedBy":[{"uid":"cddc-67"},{"uid":"cddc-59"},{"uid":"cddc-63"}]},"cddc-81":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"cddc-59"},{"uid":"cddc-63"},{"uid":"cddc-61"}],"importedBy":[{"uid":"cddc-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":"f1da-42","name":"usePseudoState.tsx"},{"uid":"f1da-50","name":"useTheme.tsx"},{"uid":"f1da-56","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"f1da-44","name":"collection.ts"},{"uid":"f1da-46","name":"dimensions.ts"},{"uid":"f1da-48","name":"theme.ts"},{"uid":"f1da-58","name":"attrs.ts"},{"uid":"f1da-66","name":"styles.ts"}]},{"uid":"f1da-52","name":"context.tsx"},{"name":"constants","children":[{"uid":"f1da-54","name":"reservedKeys.ts"},{"uid":"f1da-70","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"f1da-60","name":"rocketstyleAttrsHoc.tsx"},{"uid":"f1da-62","name":"localContext.tsx"},{"uid":"f1da-64","name":"createProvider.tsx"}]},{"uid":"f1da-68","name":"rocketstyle.tsx"},{"uid":"f1da-72","name":"init.ts"},{"uid":"f1da-74","name":"isRocketComponent.ts"},{"uid":"f1da-76","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"f1da-42":{"renderedLength":1721,"gzipLength":401,"brotliLength":0,"mainUid":"f1da-41"},"f1da-44":{"renderedLength":468,"gzipLength":280,"brotliLength":0,"mainUid":"f1da-43"},"f1da-46":{"renderedLength":1459,"gzipLength":537,"brotliLength":0,"mainUid":"f1da-45"},"f1da-48":{"renderedLength":2595,"gzipLength":838,"brotliLength":0,"mainUid":"f1da-47"},"f1da-50":{"renderedLength":537,"gzipLength":292,"brotliLength":0,"mainUid":"f1da-49"},"f1da-52":{"renderedLength":430,"gzipLength":245,"brotliLength":0,"mainUid":"f1da-51"},"f1da-54":{"renderedLength":566,"gzipLength":296,"brotliLength":0,"mainUid":"f1da-53"},"f1da-56":{"renderedLength":320,"gzipLength":199,"brotliLength":0,"mainUid":"f1da-55"},"f1da-58":{"renderedLength":2563,"gzipLength":870,"brotliLength":0,"mainUid":"f1da-57"},"f1da-60":{"renderedLength":983,"gzipLength":424,"brotliLength":0,"mainUid":"f1da-59"},"f1da-62":{"renderedLength":37,"gzipLength":51,"brotliLength":0,"mainUid":"f1da-61"},"f1da-64":{"renderedLength":780,"gzipLength":365,"brotliLength":0,"mainUid":"f1da-63"},"f1da-66":{"renderedLength":129,"gzipLength":112,"brotliLength":0,"mainUid":"f1da-65"},"f1da-68":{"renderedLength":11343,"gzipLength":2762,"brotliLength":0,"mainUid":"f1da-67"},"f1da-70":{"renderedLength":178,"gzipLength":128,"brotliLength":0,"mainUid":"f1da-69"},"f1da-72":{"renderedLength":1560,"gzipLength":573,"brotliLength":0,"mainUid":"f1da-71"},"f1da-74":{"renderedLength":204,"gzipLength":148,"brotliLength":0,"mainUid":"f1da-73"},"f1da-76":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"f1da-75"}},"nodeMetas":{"f1da-41":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-42"},"imported":[{"uid":"f1da-78"}],"importedBy":[{"uid":"f1da-80"}]},"f1da-43":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-44"},"imported":[],"importedBy":[{"uid":"f1da-67"},{"uid":"f1da-47"}]},"f1da-45":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-46"},"imported":[{"uid":"f1da-77"}],"importedBy":[{"uid":"f1da-71"},{"uid":"f1da-47"},{"uid":"f1da-49"}]},"f1da-47":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-48"},"imported":[{"uid":"f1da-77"},{"uid":"f1da-43"},{"uid":"f1da-45"}],"importedBy":[{"uid":"f1da-67"},{"uid":"f1da-49"}]},"f1da-49":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-50"},"imported":[{"uid":"f1da-77"},{"uid":"f1da-47"},{"uid":"f1da-45"}],"importedBy":[{"uid":"f1da-80"}]},"f1da-51":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-52"},"imported":[{"uid":"f1da-78"},{"uid":"f1da-77"}],"importedBy":[{"uid":"f1da-75"},{"uid":"f1da-55"}]},"f1da-53":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-54"},"imported":[],"importedBy":[{"uid":"f1da-71"},{"uid":"f1da-67"},{"uid":"f1da-55"}]},"f1da-55":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-56"},"imported":[{"uid":"f1da-78"},{"uid":"f1da-51"},{"uid":"f1da-53"}],"importedBy":[{"uid":"f1da-80"}]},"f1da-57":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-58"},"imported":[{"uid":"f1da-77"}],"importedBy":[{"uid":"f1da-67"},{"uid":"f1da-59"}]},"f1da-59":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-60"},"imported":[{"uid":"f1da-78"},{"uid":"f1da-77"},{"uid":"f1da-57"},{"uid":"f1da-80"}],"importedBy":[{"uid":"f1da-81"}]},"f1da-61":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-62"},"imported":[{"uid":"f1da-78"}],"importedBy":[{"uid":"f1da-81"},{"uid":"f1da-63"}]},"f1da-63":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-64"},"imported":[{"uid":"f1da-78"},{"uid":"f1da-80"},{"uid":"f1da-61"}],"importedBy":[{"uid":"f1da-81"}]},"f1da-65":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-66"},"imported":[],"importedBy":[{"uid":"f1da-67"}]},"f1da-67":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-68"},"imported":[{"uid":"f1da-78"},{"uid":"f1da-79"},{"uid":"f1da-77"},{"uid":"f1da-80"},{"uid":"f1da-81"},{"uid":"f1da-47"},{"uid":"f1da-65"},{"uid":"f1da-43"},{"uid":"f1da-57"},{"uid":"f1da-53"}],"importedBy":[{"uid":"f1da-71"}]},"f1da-69":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-70"},"imported":[],"importedBy":[{"uid":"f1da-71"}]},"f1da-71":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-72"},"imported":[{"uid":"f1da-77"},{"uid":"f1da-67"},{"uid":"f1da-45"},{"uid":"f1da-53"},{"uid":"f1da-69"}],"importedBy":[{"uid":"f1da-75"}]},"f1da-73":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-74"},"imported":[],"importedBy":[{"uid":"f1da-75"}]},"f1da-75":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.module.js":"f1da-76"},"imported":[{"uid":"f1da-71"},{"uid":"f1da-51"},{"uid":"f1da-73"}],"importedBy":[],"isEntry":true},"f1da-77":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"f1da-71"},{"uid":"f1da-51"},{"uid":"f1da-67"},{"uid":"f1da-45"},{"uid":"f1da-47"},{"uid":"f1da-57"},{"uid":"f1da-49"},{"uid":"f1da-59"}],"isExternal":true},"f1da-78":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"f1da-51"},{"uid":"f1da-67"},{"uid":"f1da-41"},{"uid":"f1da-55"},{"uid":"f1da-59"},{"uid":"f1da-63"},{"uid":"f1da-61"}],"isExternal":true},"f1da-79":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"f1da-67"}],"isExternal":true},"f1da-80":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"f1da-41"},{"uid":"f1da-49"},{"uid":"f1da-55"}],"importedBy":[{"uid":"f1da-67"},{"uid":"f1da-59"},{"uid":"f1da-63"}]},"f1da-81":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"f1da-59"},{"uid":"f1da-63"},{"uid":"f1da-61"}],"importedBy":[{"uid":"f1da-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":"cddc-83","name":"usePseudoState.tsx"},{"uid":"cddc-91","name":"useTheme.tsx"},{"uid":"cddc-97","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"cddc-85","name":"collection.ts"},{"uid":"cddc-87","name":"dimensions.ts"},{"uid":"cddc-89","name":"theme.ts"},{"uid":"cddc-99","name":"attrs.ts"},{"uid":"cddc-107","name":"styles.ts"}]},{"uid":"cddc-93","name":"context.tsx"},{"name":"constants","children":[{"uid":"cddc-95","name":"reservedKeys.ts"},{"uid":"cddc-111","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"cddc-101","name":"rocketstyleAttrsHoc.tsx"},{"uid":"cddc-103","name":"localContext.tsx"},{"uid":"cddc-105","name":"createProvider.tsx"}]},{"uid":"cddc-109","name":"rocketstyle.tsx"},{"uid":"cddc-113","name":"init.ts"},{"uid":"cddc-115","name":"isRocketComponent.ts"},{"uid":"cddc-117","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"cddc-83":{"renderedLength":1897,"gzipLength":408,"brotliLength":0,"mainUid":"cddc-82"},"cddc-85":{"renderedLength":492,"gzipLength":283,"brotliLength":0,"mainUid":"cddc-84"},"cddc-87":{"renderedLength":1554,"gzipLength":546,"brotliLength":0,"mainUid":"cddc-86"},"cddc-89":{"renderedLength":2763,"gzipLength":850,"brotliLength":0,"mainUid":"cddc-88"},"cddc-91":{"renderedLength":572,"gzipLength":298,"brotliLength":0,"mainUid":"cddc-90"},"cddc-93":{"renderedLength":476,"gzipLength":262,"brotliLength":0,"mainUid":"cddc-92"},"cddc-95":{"renderedLength":618,"gzipLength":299,"brotliLength":0,"mainUid":"cddc-94"},"cddc-97":{"renderedLength":345,"gzipLength":206,"brotliLength":0,"mainUid":"cddc-96"},"cddc-99":{"renderedLength":2698,"gzipLength":876,"brotliLength":0,"mainUid":"cddc-98"},"cddc-101":{"renderedLength":1081,"gzipLength":448,"brotliLength":0,"mainUid":"cddc-100"},"cddc-103":{"renderedLength":45,"gzipLength":60,"brotliLength":0,"mainUid":"cddc-102"},"cddc-105":{"renderedLength":866,"gzipLength":387,"brotliLength":0,"mainUid":"cddc-104"},"cddc-107":{"renderedLength":139,"gzipLength":114,"brotliLength":0,"mainUid":"cddc-106"},"cddc-109":{"renderedLength":11955,"gzipLength":2812,"brotliLength":0,"mainUid":"cddc-108"},"cddc-111":{"renderedLength":196,"gzipLength":130,"brotliLength":0,"mainUid":"cddc-110"},"cddc-113":{"renderedLength":1656,"gzipLength":587,"brotliLength":0,"mainUid":"cddc-112"},"cddc-115":{"renderedLength":220,"gzipLength":151,"brotliLength":0,"mainUid":"cddc-114"},"cddc-117":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"cddc-116"}},"nodeMetas":{"cddc-82":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-83"},"imported":[{"uid":"cddc-119"}],"importedBy":[{"uid":"cddc-121"}]},"cddc-84":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-85"},"imported":[],"importedBy":[{"uid":"cddc-108"},{"uid":"cddc-88"}]},"cddc-86":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-87"},"imported":[{"uid":"cddc-118"}],"importedBy":[{"uid":"cddc-112"},{"uid":"cddc-88"},{"uid":"cddc-90"}]},"cddc-88":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-89"},"imported":[{"uid":"cddc-118"},{"uid":"cddc-84"},{"uid":"cddc-86"}],"importedBy":[{"uid":"cddc-108"},{"uid":"cddc-90"}]},"cddc-90":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-91"},"imported":[{"uid":"cddc-118"},{"uid":"cddc-88"},{"uid":"cddc-86"}],"importedBy":[{"uid":"cddc-121"}]},"cddc-92":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-93"},"imported":[{"uid":"cddc-119"},{"uid":"cddc-118"}],"importedBy":[{"uid":"cddc-116"},{"uid":"cddc-96"}]},"cddc-94":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-95"},"imported":[],"importedBy":[{"uid":"cddc-112"},{"uid":"cddc-108"},{"uid":"cddc-96"}]},"cddc-96":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-97"},"imported":[{"uid":"cddc-119"},{"uid":"cddc-92"},{"uid":"cddc-94"}],"importedBy":[{"uid":"cddc-121"}]},"cddc-98":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-99"},"imported":[{"uid":"cddc-118"}],"importedBy":[{"uid":"cddc-108"},{"uid":"cddc-100"}]},"cddc-100":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-101"},"imported":[{"uid":"cddc-119"},{"uid":"cddc-118"},{"uid":"cddc-98"},{"uid":"cddc-121"}],"importedBy":[{"uid":"cddc-122"}]},"cddc-102":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-103"},"imported":[{"uid":"cddc-119"}],"importedBy":[{"uid":"cddc-122"},{"uid":"cddc-104"}]},"cddc-104":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-105"},"imported":[{"uid":"cddc-119"},{"uid":"cddc-121"},{"uid":"cddc-102"}],"importedBy":[{"uid":"cddc-122"}]},"cddc-106":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-107"},"imported":[],"importedBy":[{"uid":"cddc-108"}]},"cddc-108":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-109"},"imported":[{"uid":"cddc-119"},{"uid":"cddc-120"},{"uid":"cddc-118"},{"uid":"cddc-121"},{"uid":"cddc-122"},{"uid":"cddc-88"},{"uid":"cddc-106"},{"uid":"cddc-84"},{"uid":"cddc-98"},{"uid":"cddc-94"}],"importedBy":[{"uid":"cddc-112"}]},"cddc-110":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-111"},"imported":[],"importedBy":[{"uid":"cddc-112"}]},"cddc-112":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-113"},"imported":[{"uid":"cddc-118"},{"uid":"cddc-108"},{"uid":"cddc-86"},{"uid":"cddc-94"},{"uid":"cddc-110"}],"importedBy":[{"uid":"cddc-116"}]},"cddc-114":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-115"},"imported":[],"importedBy":[{"uid":"cddc-116"}]},"cddc-116":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"cddc-117"},"imported":[{"uid":"cddc-112"},{"uid":"cddc-92"},{"uid":"cddc-114"}],"importedBy":[],"isEntry":true},"cddc-118":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"cddc-112"},{"uid":"cddc-92"},{"uid":"cddc-108"},{"uid":"cddc-86"},{"uid":"cddc-88"},{"uid":"cddc-98"},{"uid":"cddc-90"},{"uid":"cddc-100"}],"isExternal":true},"cddc-119":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"cddc-92"},{"uid":"cddc-108"},{"uid":"cddc-82"},{"uid":"cddc-96"},{"uid":"cddc-100"},{"uid":"cddc-104"},{"uid":"cddc-102"}],"isExternal":true},"cddc-120":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"cddc-108"}],"isExternal":true},"cddc-121":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"cddc-82"},{"uid":"cddc-90"},{"uid":"cddc-96"}],"importedBy":[{"uid":"cddc-108"},{"uid":"cddc-100"},{"uid":"cddc-104"}]},"cddc-122":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"cddc-100"},{"uid":"cddc-104"},{"uid":"cddc-102"}],"importedBy":[{"uid":"cddc-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":"f1da-83","name":"usePseudoState.tsx"},{"uid":"f1da-91","name":"useTheme.tsx"},{"uid":"f1da-97","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"f1da-85","name":"collection.ts"},{"uid":"f1da-87","name":"dimensions.ts"},{"uid":"f1da-89","name":"theme.ts"},{"uid":"f1da-99","name":"attrs.ts"},{"uid":"f1da-107","name":"styles.ts"}]},{"uid":"f1da-93","name":"context.tsx"},{"name":"constants","children":[{"uid":"f1da-95","name":"reservedKeys.ts"},{"uid":"f1da-111","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"f1da-101","name":"rocketstyleAttrsHoc.tsx"},{"uid":"f1da-103","name":"localContext.tsx"},{"uid":"f1da-105","name":"createProvider.tsx"}]},{"uid":"f1da-109","name":"rocketstyle.tsx"},{"uid":"f1da-113","name":"init.ts"},{"uid":"f1da-115","name":"isRocketComponent.ts"},{"uid":"f1da-117","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"f1da-83":{"renderedLength":1897,"gzipLength":408,"brotliLength":0,"mainUid":"f1da-82"},"f1da-85":{"renderedLength":492,"gzipLength":283,"brotliLength":0,"mainUid":"f1da-84"},"f1da-87":{"renderedLength":1554,"gzipLength":546,"brotliLength":0,"mainUid":"f1da-86"},"f1da-89":{"renderedLength":2763,"gzipLength":850,"brotliLength":0,"mainUid":"f1da-88"},"f1da-91":{"renderedLength":572,"gzipLength":298,"brotliLength":0,"mainUid":"f1da-90"},"f1da-93":{"renderedLength":476,"gzipLength":262,"brotliLength":0,"mainUid":"f1da-92"},"f1da-95":{"renderedLength":618,"gzipLength":299,"brotliLength":0,"mainUid":"f1da-94"},"f1da-97":{"renderedLength":345,"gzipLength":206,"brotliLength":0,"mainUid":"f1da-96"},"f1da-99":{"renderedLength":2698,"gzipLength":876,"brotliLength":0,"mainUid":"f1da-98"},"f1da-101":{"renderedLength":1081,"gzipLength":448,"brotliLength":0,"mainUid":"f1da-100"},"f1da-103":{"renderedLength":45,"gzipLength":60,"brotliLength":0,"mainUid":"f1da-102"},"f1da-105":{"renderedLength":866,"gzipLength":387,"brotliLength":0,"mainUid":"f1da-104"},"f1da-107":{"renderedLength":139,"gzipLength":114,"brotliLength":0,"mainUid":"f1da-106"},"f1da-109":{"renderedLength":11955,"gzipLength":2812,"brotliLength":0,"mainUid":"f1da-108"},"f1da-111":{"renderedLength":196,"gzipLength":130,"brotliLength":0,"mainUid":"f1da-110"},"f1da-113":{"renderedLength":1644,"gzipLength":579,"brotliLength":0,"mainUid":"f1da-112"},"f1da-115":{"renderedLength":220,"gzipLength":151,"brotliLength":0,"mainUid":"f1da-114"},"f1da-117":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"f1da-116"}},"nodeMetas":{"f1da-82":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-83"},"imported":[{"uid":"f1da-119"}],"importedBy":[{"uid":"f1da-121"}]},"f1da-84":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-85"},"imported":[],"importedBy":[{"uid":"f1da-108"},{"uid":"f1da-88"}]},"f1da-86":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-87"},"imported":[{"uid":"f1da-118"}],"importedBy":[{"uid":"f1da-112"},{"uid":"f1da-88"},{"uid":"f1da-90"}]},"f1da-88":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-89"},"imported":[{"uid":"f1da-118"},{"uid":"f1da-84"},{"uid":"f1da-86"}],"importedBy":[{"uid":"f1da-108"},{"uid":"f1da-90"}]},"f1da-90":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-91"},"imported":[{"uid":"f1da-118"},{"uid":"f1da-88"},{"uid":"f1da-86"}],"importedBy":[{"uid":"f1da-121"}]},"f1da-92":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-93"},"imported":[{"uid":"f1da-119"},{"uid":"f1da-118"}],"importedBy":[{"uid":"f1da-116"},{"uid":"f1da-96"}]},"f1da-94":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-95"},"imported":[],"importedBy":[{"uid":"f1da-112"},{"uid":"f1da-108"},{"uid":"f1da-96"}]},"f1da-96":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-97"},"imported":[{"uid":"f1da-119"},{"uid":"f1da-92"},{"uid":"f1da-94"}],"importedBy":[{"uid":"f1da-121"}]},"f1da-98":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-99"},"imported":[{"uid":"f1da-118"}],"importedBy":[{"uid":"f1da-108"},{"uid":"f1da-100"}]},"f1da-100":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-101"},"imported":[{"uid":"f1da-119"},{"uid":"f1da-118"},{"uid":"f1da-98"},{"uid":"f1da-121"}],"importedBy":[{"uid":"f1da-122"}]},"f1da-102":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-103"},"imported":[{"uid":"f1da-119"}],"importedBy":[{"uid":"f1da-122"},{"uid":"f1da-104"}]},"f1da-104":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-105"},"imported":[{"uid":"f1da-119"},{"uid":"f1da-121"},{"uid":"f1da-102"}],"importedBy":[{"uid":"f1da-122"}]},"f1da-106":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-107"},"imported":[],"importedBy":[{"uid":"f1da-108"}]},"f1da-108":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-109"},"imported":[{"uid":"f1da-119"},{"uid":"f1da-120"},{"uid":"f1da-118"},{"uid":"f1da-121"},{"uid":"f1da-122"},{"uid":"f1da-88"},{"uid":"f1da-106"},{"uid":"f1da-84"},{"uid":"f1da-98"},{"uid":"f1da-94"}],"importedBy":[{"uid":"f1da-112"}]},"f1da-110":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-111"},"imported":[],"importedBy":[{"uid":"f1da-112"}]},"f1da-112":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-113"},"imported":[{"uid":"f1da-118"},{"uid":"f1da-108"},{"uid":"f1da-86"},{"uid":"f1da-94"},{"uid":"f1da-110"}],"importedBy":[{"uid":"f1da-116"}]},"f1da-114":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-115"},"imported":[],"importedBy":[{"uid":"f1da-116"}]},"f1da-116":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.umd.js":"f1da-117"},"imported":[{"uid":"f1da-112"},{"uid":"f1da-92"},{"uid":"f1da-114"}],"importedBy":[],"isEntry":true},"f1da-118":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"f1da-112"},{"uid":"f1da-92"},{"uid":"f1da-108"},{"uid":"f1da-86"},{"uid":"f1da-88"},{"uid":"f1da-98"},{"uid":"f1da-90"},{"uid":"f1da-100"}],"isExternal":true},"f1da-119":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"f1da-92"},{"uid":"f1da-108"},{"uid":"f1da-82"},{"uid":"f1da-96"},{"uid":"f1da-100"},{"uid":"f1da-104"},{"uid":"f1da-102"}],"isExternal":true},"f1da-120":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"f1da-108"}],"isExternal":true},"f1da-121":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"f1da-82"},{"uid":"f1da-90"},{"uid":"f1da-96"}],"importedBy":[{"uid":"f1da-108"},{"uid":"f1da-100"},{"uid":"f1da-104"}]},"f1da-122":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"f1da-100"},{"uid":"f1da-104"},{"uid":"f1da-102"}],"importedBy":[{"uid":"f1da-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":"cddc-124","name":"usePseudoState.tsx"},{"uid":"cddc-132","name":"useTheme.tsx"},{"uid":"cddc-138","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"cddc-126","name":"collection.ts"},{"uid":"cddc-128","name":"dimensions.ts"},{"uid":"cddc-130","name":"theme.ts"},{"uid":"cddc-140","name":"attrs.ts"},{"uid":"cddc-148","name":"styles.ts"}]},{"uid":"cddc-134","name":"context.tsx"},{"name":"constants","children":[{"uid":"cddc-136","name":"reservedKeys.ts"},{"uid":"cddc-152","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"cddc-142","name":"rocketstyleAttrsHoc.tsx"},{"uid":"cddc-144","name":"localContext.tsx"},{"uid":"cddc-146","name":"createProvider.tsx"}]},{"uid":"cddc-150","name":"rocketstyle.tsx"},{"uid":"cddc-154","name":"init.ts"},{"uid":"cddc-156","name":"isRocketComponent.ts"},{"uid":"cddc-158","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"cddc-124":{"renderedLength":1897,"gzipLength":408,"brotliLength":0,"mainUid":"cddc-123"},"cddc-126":{"renderedLength":492,"gzipLength":283,"brotliLength":0,"mainUid":"cddc-125"},"cddc-128":{"renderedLength":1554,"gzipLength":546,"brotliLength":0,"mainUid":"cddc-127"},"cddc-130":{"renderedLength":2763,"gzipLength":850,"brotliLength":0,"mainUid":"cddc-129"},"cddc-132":{"renderedLength":572,"gzipLength":298,"brotliLength":0,"mainUid":"cddc-131"},"cddc-134":{"renderedLength":476,"gzipLength":262,"brotliLength":0,"mainUid":"cddc-133"},"cddc-136":{"renderedLength":592,"gzipLength":288,"brotliLength":0,"mainUid":"cddc-135"},"cddc-138":{"renderedLength":345,"gzipLength":206,"brotliLength":0,"mainUid":"cddc-137"},"cddc-140":{"renderedLength":2698,"gzipLength":876,"brotliLength":0,"mainUid":"cddc-139"},"cddc-142":{"renderedLength":1081,"gzipLength":448,"brotliLength":0,"mainUid":"cddc-141"},"cddc-144":{"renderedLength":45,"gzipLength":60,"brotliLength":0,"mainUid":"cddc-143"},"cddc-146":{"renderedLength":866,"gzipLength":387,"brotliLength":0,"mainUid":"cddc-145"},"cddc-148":{"renderedLength":139,"gzipLength":114,"brotliLength":0,"mainUid":"cddc-147"},"cddc-150":{"renderedLength":11774,"gzipLength":2737,"brotliLength":0,"mainUid":"cddc-149"},"cddc-152":{"renderedLength":196,"gzipLength":130,"brotliLength":0,"mainUid":"cddc-151"},"cddc-154":{"renderedLength":484,"gzipLength":251,"brotliLength":0,"mainUid":"cddc-153"},"cddc-156":{"renderedLength":220,"gzipLength":151,"brotliLength":0,"mainUid":"cddc-155"},"cddc-158":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"cddc-157"}},"nodeMetas":{"cddc-123":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-124"},"imported":[{"uid":"cddc-160"}],"importedBy":[{"uid":"cddc-162"}]},"cddc-125":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-126"},"imported":[],"importedBy":[{"uid":"cddc-149"},{"uid":"cddc-129"}]},"cddc-127":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-128"},"imported":[{"uid":"cddc-159"}],"importedBy":[{"uid":"cddc-153"},{"uid":"cddc-129"},{"uid":"cddc-131"}]},"cddc-129":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-130"},"imported":[{"uid":"cddc-159"},{"uid":"cddc-125"},{"uid":"cddc-127"}],"importedBy":[{"uid":"cddc-149"},{"uid":"cddc-131"}]},"cddc-131":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-132"},"imported":[{"uid":"cddc-159"},{"uid":"cddc-129"},{"uid":"cddc-127"}],"importedBy":[{"uid":"cddc-162"}]},"cddc-133":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-134"},"imported":[{"uid":"cddc-160"},{"uid":"cddc-159"}],"importedBy":[{"uid":"cddc-157"},{"uid":"cddc-137"}]},"cddc-135":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-136"},"imported":[],"importedBy":[{"uid":"cddc-153"},{"uid":"cddc-149"},{"uid":"cddc-137"}]},"cddc-137":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-138"},"imported":[{"uid":"cddc-160"},{"uid":"cddc-133"},{"uid":"cddc-135"}],"importedBy":[{"uid":"cddc-162"}]},"cddc-139":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-140"},"imported":[{"uid":"cddc-159"}],"importedBy":[{"uid":"cddc-149"},{"uid":"cddc-141"}]},"cddc-141":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-142"},"imported":[{"uid":"cddc-160"},{"uid":"cddc-159"},{"uid":"cddc-139"},{"uid":"cddc-162"}],"importedBy":[{"uid":"cddc-163"}]},"cddc-143":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-144"},"imported":[{"uid":"cddc-160"}],"importedBy":[{"uid":"cddc-163"},{"uid":"cddc-145"}]},"cddc-145":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-146"},"imported":[{"uid":"cddc-160"},{"uid":"cddc-162"},{"uid":"cddc-143"}],"importedBy":[{"uid":"cddc-163"}]},"cddc-147":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-148"},"imported":[],"importedBy":[{"uid":"cddc-149"}]},"cddc-149":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-150"},"imported":[{"uid":"cddc-160"},{"uid":"cddc-161"},{"uid":"cddc-159"},{"uid":"cddc-162"},{"uid":"cddc-163"},{"uid":"cddc-129"},{"uid":"cddc-147"},{"uid":"cddc-125"},{"uid":"cddc-139"},{"uid":"cddc-135"}],"importedBy":[{"uid":"cddc-153"}]},"cddc-151":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-152"},"imported":[],"importedBy":[{"uid":"cddc-153"}]},"cddc-153":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-154"},"imported":[{"uid":"cddc-159"},{"uid":"cddc-149"},{"uid":"cddc-127"},{"uid":"cddc-135"},{"uid":"cddc-151"}],"importedBy":[{"uid":"cddc-157"}]},"cddc-155":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-156"},"imported":[],"importedBy":[{"uid":"cddc-157"}]},"cddc-157":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"cddc-158"},"imported":[{"uid":"cddc-153"},{"uid":"cddc-133"},{"uid":"cddc-155"}],"importedBy":[],"isEntry":true},"cddc-159":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"cddc-153"},{"uid":"cddc-133"},{"uid":"cddc-149"},{"uid":"cddc-127"},{"uid":"cddc-129"},{"uid":"cddc-139"},{"uid":"cddc-131"},{"uid":"cddc-141"}],"isExternal":true},"cddc-160":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"cddc-133"},{"uid":"cddc-149"},{"uid":"cddc-123"},{"uid":"cddc-137"},{"uid":"cddc-141"},{"uid":"cddc-145"},{"uid":"cddc-143"}],"isExternal":true},"cddc-161":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"cddc-149"}],"isExternal":true},"cddc-162":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"cddc-123"},{"uid":"cddc-131"},{"uid":"cddc-137"}],"importedBy":[{"uid":"cddc-149"},{"uid":"cddc-141"},{"uid":"cddc-145"}]},"cddc-163":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"cddc-141"},{"uid":"cddc-145"},{"uid":"cddc-143"}],"importedBy":[{"uid":"cddc-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":"f1da-124","name":"usePseudoState.tsx"},{"uid":"f1da-132","name":"useTheme.tsx"},{"uid":"f1da-138","name":"useThemeOptions.tsx"}]},{"name":"utils","children":[{"uid":"f1da-126","name":"collection.ts"},{"uid":"f1da-128","name":"dimensions.ts"},{"uid":"f1da-130","name":"theme.ts"},{"uid":"f1da-140","name":"attrs.ts"},{"uid":"f1da-148","name":"styles.ts"}]},{"uid":"f1da-134","name":"context.tsx"},{"name":"constants","children":[{"uid":"f1da-136","name":"reservedKeys.ts"},{"uid":"f1da-152","name":"defaultDimensions.ts"}]},{"name":"internal","children":[{"uid":"f1da-142","name":"rocketstyleAttrsHoc.tsx"},{"uid":"f1da-144","name":"localContext.tsx"},{"uid":"f1da-146","name":"createProvider.tsx"}]},{"uid":"f1da-150","name":"rocketstyle.tsx"},{"uid":"f1da-154","name":"init.ts"},{"uid":"f1da-156","name":"isRocketComponent.ts"},{"uid":"f1da-158","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"f1da-124":{"renderedLength":1897,"gzipLength":408,"brotliLength":0,"mainUid":"f1da-123"},"f1da-126":{"renderedLength":492,"gzipLength":283,"brotliLength":0,"mainUid":"f1da-125"},"f1da-128":{"renderedLength":1554,"gzipLength":546,"brotliLength":0,"mainUid":"f1da-127"},"f1da-130":{"renderedLength":2763,"gzipLength":850,"brotliLength":0,"mainUid":"f1da-129"},"f1da-132":{"renderedLength":572,"gzipLength":298,"brotliLength":0,"mainUid":"f1da-131"},"f1da-134":{"renderedLength":476,"gzipLength":262,"brotliLength":0,"mainUid":"f1da-133"},"f1da-136":{"renderedLength":592,"gzipLength":288,"brotliLength":0,"mainUid":"f1da-135"},"f1da-138":{"renderedLength":345,"gzipLength":206,"brotliLength":0,"mainUid":"f1da-137"},"f1da-140":{"renderedLength":2698,"gzipLength":876,"brotliLength":0,"mainUid":"f1da-139"},"f1da-142":{"renderedLength":1081,"gzipLength":448,"brotliLength":0,"mainUid":"f1da-141"},"f1da-144":{"renderedLength":45,"gzipLength":60,"brotliLength":0,"mainUid":"f1da-143"},"f1da-146":{"renderedLength":866,"gzipLength":387,"brotliLength":0,"mainUid":"f1da-145"},"f1da-148":{"renderedLength":139,"gzipLength":114,"brotliLength":0,"mainUid":"f1da-147"},"f1da-150":{"renderedLength":11774,"gzipLength":2737,"brotliLength":0,"mainUid":"f1da-149"},"f1da-152":{"renderedLength":196,"gzipLength":130,"brotliLength":0,"mainUid":"f1da-151"},"f1da-154":{"renderedLength":472,"gzipLength":244,"brotliLength":0,"mainUid":"f1da-153"},"f1da-156":{"renderedLength":220,"gzipLength":151,"brotliLength":0,"mainUid":"f1da-155"},"f1da-158":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"f1da-157"}},"nodeMetas":{"f1da-123":{"id":"/src/hooks/usePseudoState.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-124"},"imported":[{"uid":"f1da-160"}],"importedBy":[{"uid":"f1da-162"}]},"f1da-125":{"id":"/src/utils/collection.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-126"},"imported":[],"importedBy":[{"uid":"f1da-149"},{"uid":"f1da-129"}]},"f1da-127":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-128"},"imported":[{"uid":"f1da-159"}],"importedBy":[{"uid":"f1da-153"},{"uid":"f1da-129"},{"uid":"f1da-131"}]},"f1da-129":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-130"},"imported":[{"uid":"f1da-159"},{"uid":"f1da-125"},{"uid":"f1da-127"}],"importedBy":[{"uid":"f1da-149"},{"uid":"f1da-131"}]},"f1da-131":{"id":"/src/hooks/useTheme.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-132"},"imported":[{"uid":"f1da-159"},{"uid":"f1da-129"},{"uid":"f1da-127"}],"importedBy":[{"uid":"f1da-162"}]},"f1da-133":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-134"},"imported":[{"uid":"f1da-160"},{"uid":"f1da-159"}],"importedBy":[{"uid":"f1da-157"},{"uid":"f1da-137"}]},"f1da-135":{"id":"/src/constants/reservedKeys.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-136"},"imported":[],"importedBy":[{"uid":"f1da-153"},{"uid":"f1da-149"},{"uid":"f1da-137"}]},"f1da-137":{"id":"/src/hooks/useThemeOptions.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-138"},"imported":[{"uid":"f1da-160"},{"uid":"f1da-133"},{"uid":"f1da-135"}],"importedBy":[{"uid":"f1da-162"}]},"f1da-139":{"id":"/src/utils/attrs.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-140"},"imported":[{"uid":"f1da-159"}],"importedBy":[{"uid":"f1da-149"},{"uid":"f1da-141"}]},"f1da-141":{"id":"/src/internal/rocketstyleAttrsHoc.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-142"},"imported":[{"uid":"f1da-160"},{"uid":"f1da-159"},{"uid":"f1da-139"},{"uid":"f1da-162"}],"importedBy":[{"uid":"f1da-163"}]},"f1da-143":{"id":"/src/internal/localContext.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-144"},"imported":[{"uid":"f1da-160"}],"importedBy":[{"uid":"f1da-163"},{"uid":"f1da-145"}]},"f1da-145":{"id":"/src/internal/createProvider.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-146"},"imported":[{"uid":"f1da-160"},{"uid":"f1da-162"},{"uid":"f1da-143"}],"importedBy":[{"uid":"f1da-163"}]},"f1da-147":{"id":"/src/utils/styles.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-148"},"imported":[],"importedBy":[{"uid":"f1da-149"}]},"f1da-149":{"id":"/src/rocketstyle.tsx","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-150"},"imported":[{"uid":"f1da-160"},{"uid":"f1da-161"},{"uid":"f1da-159"},{"uid":"f1da-162"},{"uid":"f1da-163"},{"uid":"f1da-129"},{"uid":"f1da-147"},{"uid":"f1da-125"},{"uid":"f1da-139"},{"uid":"f1da-135"}],"importedBy":[{"uid":"f1da-153"}]},"f1da-151":{"id":"/src/constants/defaultDimensions.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-152"},"imported":[],"importedBy":[{"uid":"f1da-153"}]},"f1da-153":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-154"},"imported":[{"uid":"f1da-159"},{"uid":"f1da-149"},{"uid":"f1da-127"},{"uid":"f1da-135"},{"uid":"f1da-151"}],"importedBy":[{"uid":"f1da-157"}]},"f1da-155":{"id":"/src/isRocketComponent.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-156"},"imported":[],"importedBy":[{"uid":"f1da-157"}]},"f1da-157":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstyle.umd.min.js":"f1da-158"},"imported":[{"uid":"f1da-153"},{"uid":"f1da-133"},{"uid":"f1da-155"}],"importedBy":[],"isEntry":true},"f1da-159":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"f1da-153"},{"uid":"f1da-133"},{"uid":"f1da-149"},{"uid":"f1da-127"},{"uid":"f1da-129"},{"uid":"f1da-139"},{"uid":"f1da-131"},{"uid":"f1da-141"}],"isExternal":true},"f1da-160":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"f1da-133"},{"uid":"f1da-149"},{"uid":"f1da-123"},{"uid":"f1da-137"},{"uid":"f1da-141"},{"uid":"f1da-145"},{"uid":"f1da-143"}],"isExternal":true},"f1da-161":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"f1da-149"}],"isExternal":true},"f1da-162":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"f1da-123"},{"uid":"f1da-131"},{"uid":"f1da-137"}],"importedBy":[{"uid":"f1da-149"},{"uid":"f1da-141"},{"uid":"f1da-145"}]},"f1da-163":{"id":"/src/internal/index.ts","moduleParts":{},"imported":[{"uid":"f1da-141"},{"uid":"f1da-145"},{"uid":"f1da-143"}],"importedBy":[{"uid":"f1da-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
@@ -48,7 +48,6 @@ interface StylesDefault {
48
48
  }
49
49
  declare type Styles<S> = S extends unknown ? StylesDefault : StylesDefault & S;
50
50
  declare type Css = typeof config.css;
51
- declare type OptionStyles = Array<(css: Css) => ReturnType<Css>>;
52
51
  declare type StylesCb = (css: Css) => ReturnType<Css>;
53
52
  declare type StylesCbArray = Array<StylesCb>;
54
53
 
@@ -64,9 +63,6 @@ declare type ExtractNullableDimensionKeys<T> = {
64
63
  };
65
64
  declare type ExtractDimensionKey<T extends DimensionValue> = T extends DimensionValueObj ? T['propName'] : T;
66
65
  declare type ExtractDimensionMulti<T extends DimensionValue> = T extends DimensionValueObj ? true : false;
67
- declare type ExtractDimensionAttrsKeys<D extends Dimensions> = {
68
- [I in keyof D]: ExtractDimensionKey<D[I]>;
69
- }[keyof D];
70
66
  declare type DimensionValuePrimitive = string;
71
67
  declare type DimensionValueObj = {
72
68
  propName: string;
@@ -108,7 +104,7 @@ declare type PseudoState = {
108
104
  focus: boolean;
109
105
  pressed: boolean;
110
106
  };
111
- declare type PseudoProps = Partial<PseudoActions & PseudoState>;
107
+ declare type PseudoProps = Partial<PseudoState & PseudoActions>;
112
108
 
113
109
  declare type RocketComponentType = ElementType & {
114
110
  IS_ROCKETSTYLE: true;
@@ -171,12 +167,8 @@ declare type AttrsCb<A, T> = (props: Partial<A>, theme: T, helpers: {
171
167
 
172
168
  declare type GenericHoc = (component: ElementType) => ElementType;
173
169
 
174
- declare type RocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}, EA extends TObj = {}, T extends TObj | unknown = unknown, CSS extends TObj | unknown = unknown, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> = IRocketComponent<A, OA, EA, T, CSS, D, UB, DKP> & {
175
- [I in keyof D]: <K extends DimensionValue = D[I], P extends DimensionCallbackParam<Theme$1<T>, Styles<CSS>> = DimensionCallbackParam<Theme$1<T>, Styles<CSS>>>(param: P) => P extends DimensionCallbackParam<Theme$1<T>, Styles<CSS>> ? RocketComponent<MergeTypes<[
176
- OA,
177
- EA,
178
- ExtractDimensionProps<D, DimensionProps<K, D, P, DKP>, UB>
179
- ]>, OA, EA, T, CSS, D, UB, DimensionProps<K, D, P, DKP>> : RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
170
+ declare type RocketComponent<OA extends TObj = {}, EA extends TObj = {}, T extends TObj = {}, CSS extends TObj = {}, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> = IRocketComponent<OA, EA, T, CSS, D, UB, DKP> & {
171
+ [I in keyof D]: <K extends DimensionValue = D[I], P extends DimensionCallbackParam<Theme$1<T>, Styles<CSS>> = DimensionCallbackParam<Theme$1<T>, Styles<CSS>>>(param: P) => P extends DimensionCallbackParam<Theme$1<T>, Styles<CSS>> ? RocketComponent<OA, EA, T, CSS, D, UB, DimensionProps<K, D, P, DKP>> : RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
180
172
  };
181
173
  /**
182
174
  * @param A Generic _props_ params.
@@ -187,12 +179,8 @@ declare type RocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}
187
179
  * @param UB Use booleans value
188
180
  * @param DKP Dimensions key props.
189
181
  */
190
- interface IRocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}, EA extends TObj = {}, T extends TObj | unknown = unknown, CSS extends TObj | unknown = unknown, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> extends ForwardRefExoticComponent<A> {
191
- config: <NC extends ElementType | unknown = unknown>({ name, component: NC, provider, consumer, DEBUG, inversed, passProps, }: ConfigAttrs<NC, DKP, UB>) => NC extends ElementType ? RocketComponent<MergeTypes<[
192
- ExtractProps<NC>,
193
- DefaultProps,
194
- ExtractDimensionProps<D, DKP, UB>
195
- ]>, ExtractProps<NC>, EA, T, CSS, D, UB, DKP> : RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
182
+ interface IRocketComponent<OA extends TObj = {}, EA extends TObj = {}, T extends TObj = {}, CSS extends TObj = {}, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP, DFP = MergeTypes<[OA, EA, DefaultProps, ExtractDimensionProps<D, DKP, UB>]>> extends ForwardRefExoticComponent<DFP> {
183
+ config: <NC extends ElementType | unknown = unknown>({ name, component: NC, provider, consumer, DEBUG, inversed, passProps, }: ConfigAttrs<NC, DKP, UB>) => NC extends ElementType ? RocketComponent<ExtractProps<NC>, EA, T, CSS, D, UB, DKP> : RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
196
184
  /**
197
185
  * @param A Generic _props_ params.
198
186
  * @param OA Origin component props params.
@@ -202,11 +190,11 @@ interface IRocketComponent<A extends TObj = DefaultProps, OA extends TObj = {},
202
190
  * @param UB Use booleans value
203
191
  * @param DKP Dimensions key props.
204
192
  */
205
- attrs: <P extends TObj | unknown = unknown>(param: P extends TObj ? Partial<MergeTypes<[A, P]>> | AttrsCb<MergeTypes<[A, P]>, Theme$1<T>> : Partial<A> | AttrsCb<A, Theme$1<T>>) => P extends TObj ? RocketComponent<MergeTypes<[OA, EA, P, ExtractDimensionProps<D, DKP, UB>]>, OA, MergeTypes<[EA, P]>, T, CSS, D, UB, DKP> : RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
206
- theme: <P extends TObj | unknown = unknown>(param: P extends TObj ? Partial<MergeTypes<[Styles<CSS>, P]>> | ThemeCb<MergeTypes<[Styles<CSS>, P]>, Theme$1<T>> : Partial<Styles<CSS>> | ThemeCb<Styles<CSS>, Theme$1<T>>) => P extends TObj ? RocketComponent<A, OA, EA, T, MergeTypes<[CSS, P]>, D, UB, DKP> : RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
207
- styles: (param: StylesCb) => RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
208
- compose: (param: Record<string, GenericHoc | null | undefined | false>) => RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
209
- statics: (param: Record<string, any>) => RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
193
+ attrs: <P extends TObj | unknown = unknown>(param: P extends TObj ? Partial<MergeTypes<[DFP, P]>> | AttrsCb<MergeTypes<[DFP, P]>, Theme$1<T>> : Partial<DFP> | AttrsCb<DFP, Theme$1<T>>) => P extends TObj ? RocketComponent<OA, MergeTypes<[EA, P]>, T, CSS, D, UB, DKP> : RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
194
+ theme: <P extends TObj | unknown = unknown>(param: P extends TObj ? Partial<MergeTypes<[Styles<CSS>, P]>> | ThemeCb<MergeTypes<[Styles<CSS>, P]>, Theme$1<T>> : Partial<Styles<CSS>> | ThemeCb<Styles<CSS>, Theme$1<T>>) => P extends TObj ? RocketComponent<OA, EA, T, MergeTypes<[CSS, P]>, D, UB, DKP> : RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
195
+ styles: (param: StylesCb) => RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
196
+ compose: (param: Record<string, GenericHoc | null | undefined | false>) => RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
197
+ statics: (param: Record<string, any>) => RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
210
198
  is: Record<string, any>;
211
199
  getStaticDimensions: (theme: TObj) => {
212
200
  dimensions: TObj;
@@ -219,12 +207,9 @@ interface IRocketComponent<A extends TObj = DefaultProps, OA extends TObj = {},
219
207
  readonly displayName: string;
220
208
  }
221
209
 
222
- declare type StyleComponent<C extends ElementType, T extends Record<string, unknown> | unknown = unknown, CSS extends OptionStyles | unknown = unknown, D extends Dimensions = DefaultDimensions, UB extends boolean = boolean> = (props: Partial<Configuration<C, D>>) => RocketComponent<MergeTypes<[
223
- Omit<ExtractProps<C>, ExtractDimensionAttrsKeys<D>>,
224
- DefaultProps
225
- ]>, ExtractProps<C>, DefaultProps, T, CSS, D, UB, {}>;
210
+ declare type StyleComponent<C extends ElementType, T extends TObj = {}, CSS extends TObj = {}, D extends Dimensions = DefaultDimensions, UB extends boolean = boolean> = (props: Partial<Configuration<C, D>>) => RocketComponent<ExtractProps<C>, {}, T, CSS, D, UB, {}>;
226
211
 
227
- declare type Rocketstyle = <T = unknown, CSS = unknown>() => <D extends Dimensions = DefaultDimensions, UB extends boolean = true>({ dimensions, useBooleans, }?: {
212
+ declare type Rocketstyle = <T extends TObj = {}, CSS extends TObj = {}>() => <D extends Dimensions = DefaultDimensions, UB extends boolean = true>({ dimensions, useBooleans, }?: {
228
213
  dimensions?: D;
229
214
  useBooleans?: UB;
230
215
  }) => <C extends ElementType>({ name, component, }: {
@@ -1,7 +1,7 @@
1
- import type { ElementType } from "./types/utils";
1
+ import type { ElementType, TObj } from "./types/utils";
2
2
  import type { Dimensions, DefaultDimensions } from "./types/dimensions";
3
3
  import type { StyleComponent } from "./types/styleComponent";
4
- export declare type Rocketstyle = <T = unknown, CSS = unknown>() => <D extends Dimensions = DefaultDimensions, UB extends boolean = true>({ dimensions, useBooleans, }?: {
4
+ export declare type Rocketstyle = <T extends TObj = {}, CSS extends TObj = {}>() => <D extends Dimensions = DefaultDimensions, UB extends boolean = true>({ dimensions, useBooleans, }?: {
5
5
  dimensions?: D;
6
6
  useBooleans?: UB;
7
7
  }) => <C extends ElementType>({ name, component, }: {
@@ -14,4 +14,4 @@ export declare type PseudoState = {
14
14
  focus: boolean;
15
15
  pressed: boolean;
16
16
  };
17
- export declare type PseudoProps = Partial<PseudoActions & PseudoState>;
17
+ export declare type PseudoProps = Partial<PseudoState & PseudoActions>;
@@ -7,12 +7,8 @@ import type { AttrsCb } from './attrs';
7
7
  import type { Theme, ThemeCb, ThemeModeKeys } from './theme';
8
8
  import type { GenericHoc } from './hoc';
9
9
  import type { DefaultProps } from './configuration';
10
- export declare type RocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}, EA extends TObj = {}, T extends TObj | unknown = unknown, CSS extends TObj | unknown = unknown, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> = IRocketComponent<A, OA, EA, T, CSS, D, UB, DKP> & {
11
- [I in keyof D]: <K extends DimensionValue = D[I], P extends DimensionCallbackParam<Theme<T>, Styles<CSS>> = DimensionCallbackParam<Theme<T>, Styles<CSS>>>(param: P) => P extends DimensionCallbackParam<Theme<T>, Styles<CSS>> ? RocketComponent<MergeTypes<[
12
- OA,
13
- EA,
14
- ExtractDimensionProps<D, DimensionProps<K, D, P, DKP>, UB>
15
- ]>, OA, EA, T, CSS, D, UB, DimensionProps<K, D, P, DKP>> : RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
10
+ export declare type RocketComponent<OA extends TObj = {}, EA extends TObj = {}, T extends TObj = {}, CSS extends TObj = {}, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> = IRocketComponent<OA, EA, T, CSS, D, UB, DKP> & {
11
+ [I in keyof D]: <K extends DimensionValue = D[I], P extends DimensionCallbackParam<Theme<T>, Styles<CSS>> = DimensionCallbackParam<Theme<T>, Styles<CSS>>>(param: P) => P extends DimensionCallbackParam<Theme<T>, Styles<CSS>> ? RocketComponent<OA, EA, T, CSS, D, UB, DimensionProps<K, D, P, DKP>> : RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
16
12
  };
17
13
  /**
18
14
  * @param A Generic _props_ params.
@@ -23,12 +19,8 @@ export declare type RocketComponent<A extends TObj = DefaultProps, OA extends TO
23
19
  * @param UB Use booleans value
24
20
  * @param DKP Dimensions key props.
25
21
  */
26
- export interface IRocketComponent<A extends TObj = DefaultProps, OA extends TObj = {}, EA extends TObj = {}, T extends TObj | unknown = unknown, CSS extends TObj | unknown = unknown, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP> extends ForwardRefExoticComponent<A> {
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
- ExtractProps<NC>,
29
- DefaultProps,
30
- ExtractDimensionProps<D, DKP, UB>
31
- ]>, ExtractProps<NC>, EA, T, CSS, D, UB, DKP> : RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
22
+ export interface IRocketComponent<OA extends TObj = {}, EA extends TObj = {}, T extends TObj = {}, CSS extends TObj = {}, D extends Dimensions = Dimensions, UB extends boolean = boolean, DKP extends TDKP = TDKP, DFP = MergeTypes<[OA, EA, DefaultProps, ExtractDimensionProps<D, DKP, UB>]>> extends ForwardRefExoticComponent<DFP> {
23
+ config: <NC extends ElementType | unknown = unknown>({ name, component: NC, provider, consumer, DEBUG, inversed, passProps, }: ConfigAttrs<NC, DKP, UB>) => NC extends ElementType ? RocketComponent<ExtractProps<NC>, EA, T, CSS, D, UB, DKP> : RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
32
24
  /**
33
25
  * @param A Generic _props_ params.
34
26
  * @param OA Origin component props params.
@@ -38,11 +30,11 @@ export interface IRocketComponent<A extends TObj = DefaultProps, OA extends TObj
38
30
  * @param UB Use booleans value
39
31
  * @param DKP Dimensions key props.
40
32
  */
41
- attrs: <P extends TObj | unknown = unknown>(param: P extends TObj ? Partial<MergeTypes<[A, P]>> | AttrsCb<MergeTypes<[A, P]>, Theme<T>> : Partial<A> | AttrsCb<A, Theme<T>>) => P extends TObj ? RocketComponent<MergeTypes<[OA, EA, P, ExtractDimensionProps<D, DKP, UB>]>, OA, MergeTypes<[EA, P]>, T, CSS, D, UB, DKP> : RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
42
- theme: <P extends TObj | unknown = unknown>(param: P extends TObj ? Partial<MergeTypes<[Styles<CSS>, P]>> | ThemeCb<MergeTypes<[Styles<CSS>, P]>, Theme<T>> : Partial<Styles<CSS>> | ThemeCb<Styles<CSS>, Theme<T>>) => P extends TObj ? RocketComponent<A, OA, EA, T, MergeTypes<[CSS, P]>, D, UB, DKP> : RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
43
- styles: (param: StylesCb) => RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
44
- compose: (param: Record<string, GenericHoc | null | undefined | false>) => RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
45
- statics: (param: Record<string, any>) => RocketComponent<A, OA, EA, T, CSS, D, UB, DKP>;
33
+ attrs: <P extends TObj | unknown = unknown>(param: P extends TObj ? Partial<MergeTypes<[DFP, P]>> | AttrsCb<MergeTypes<[DFP, P]>, Theme<T>> : Partial<DFP> | AttrsCb<DFP, Theme<T>>) => P extends TObj ? RocketComponent<OA, MergeTypes<[EA, P]>, T, CSS, D, UB, DKP> : RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
34
+ theme: <P extends TObj | unknown = unknown>(param: P extends TObj ? Partial<MergeTypes<[Styles<CSS>, P]>> | ThemeCb<MergeTypes<[Styles<CSS>, P]>, Theme<T>> : Partial<Styles<CSS>> | ThemeCb<Styles<CSS>, Theme<T>>) => P extends TObj ? RocketComponent<OA, EA, T, MergeTypes<[CSS, P]>, D, UB, DKP> : RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
35
+ styles: (param: StylesCb) => RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
36
+ compose: (param: Record<string, GenericHoc | null | undefined | false>) => RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
37
+ statics: (param: Record<string, any>) => RocketComponent<OA, EA, T, CSS, D, UB, DKP>;
46
38
  is: Record<string, any>;
47
39
  getStaticDimensions: (theme: TObj) => {
48
40
  dimensions: TObj;
@@ -1,9 +1,5 @@
1
- import type { MergeTypes, ExtractProps, ElementType } from './utils';
2
- import type { Dimensions, DefaultDimensions, ExtractDimensionAttrsKeys } from './dimensions';
3
- import type { OptionStyles } from './styles';
4
- import type { DefaultProps, Configuration } from './configuration';
1
+ import type { ExtractProps, ElementType, TObj } from './utils';
2
+ import type { Dimensions, DefaultDimensions } from './dimensions';
3
+ import type { Configuration } from './configuration';
5
4
  import type { RocketComponent } from './rocketstyle';
6
- export declare type StyleComponent<C extends ElementType, T extends Record<string, unknown> | unknown = unknown, CSS extends OptionStyles | unknown = unknown, D extends Dimensions = DefaultDimensions, UB extends boolean = boolean> = (props: Partial<Configuration<C, D>>) => RocketComponent<MergeTypes<[
7
- Omit<ExtractProps<C>, ExtractDimensionAttrsKeys<D>>,
8
- DefaultProps
9
- ]>, ExtractProps<C>, DefaultProps, T, CSS, D, UB, {}>;
5
+ export declare type StyleComponent<C extends ElementType, T extends TObj = {}, CSS extends TObj = {}, D extends Dimensions = DefaultDimensions, UB extends boolean = boolean> = (props: Partial<Configuration<C, D>>) => RocketComponent<ExtractProps<C>, {}, T, CSS, D, UB, {}>;
@@ -619,7 +619,7 @@ const DEFAULT_DIMENSIONS = {
619
619
  },
620
620
  };
621
621
 
622
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
622
+ /* eslint-disable @typescript-eslint/ban-types */
623
623
  const rocketstyle = () => ({ dimensions = DEFAULT_DIMENSIONS, useBooleans = true } = {}) => ({ name, component }) => {
624
624
  // --------------------------------------------------------
625
625
  // handle ERRORS in development mode