@vitus-labs/rocketstories 0.53.0 → 0.57.0-alpha.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.
- package/lib/analysis/vitus-labs-rocketstories.js.html +1 -1
- package/lib/analysis/vitus-labs-rocketstories.module.js.html +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/types/components/base/Heading.d.ts +6 -6
- package/lib/types/components/base/element.d.ts +6 -6
- package/lib/types/constants/controls.d.ts +1 -1
- package/lib/types/controls/list.d.ts +25 -23
- package/lib/types/controls/text.d.ts +12 -6
- package/lib/types/stories/rocketstories/renderDimension/context.d.ts +4 -2
- package/lib/vitus-labs-rocketstories.js +455 -376
- package/lib/vitus-labs-rocketstories.js.map +1 -1
- package/lib/vitus-labs-rocketstories.module.js +457 -378
- package/lib/vitus-labs-rocketstories.module.js.map +1 -1
- package/package.json +11 -11
|
@@ -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-rocketstories.js","children":[{"name":"Users/vitbokisch/Dev/vitus-labs/ui-system/packages/rocketstyle/lib/vitus-labs-rocketstyle.module.js","uid":"cb7c-1"},{"name":"src","children":[{"name":"components","children":[{"uid":"cb7c-3","name":"NotFound.tsx"},{"name":"base","children":[{"uid":"cb7c-5","name":"element.ts"},{"uid":"cb7c-7","name":"Heading.ts"}]}]},{"name":"utils","children":[{"uid":"cb7c-9","name":"theme.ts"},{"uid":"cb7c-11","name":"code.ts"},{"uid":"cb7c-23","name":"controls.ts"},{"uid":"cb7c-33","name":"dimensions.ts"}]},{"name":"controls","children":[{"uid":"cb7c-13","name":"element.ts"},{"uid":"cb7c-15","name":"list.ts"},{"uid":"cb7c-17","name":"overlay.ts"},{"uid":"cb7c-19","name":"rocketstyle.ts"},{"uid":"cb7c-21","name":"text.ts"}]},{"name":"stories","children":[{"name":"rocketstories","children":[{"name":"renderDimension","children":[{"uid":"cb7c-25","name":"context.tsx"},{"name":"components","children":[{"uid":"cb7c-27","name":"Item.tsx"},{"uid":"cb7c-29","name":"PseudoList.tsx"}]},{"uid":"cb7c-31","name":"index.tsx"}]},{"uid":"cb7c-37","name":"renderList.tsx"},{"uid":"cb7c-39","name":"renderMain.tsx"},{"uid":"cb7c-41","name":"renderRender.tsx"}]},{"name":"base","children":[{"uid":"cb7c-45","name":"renderList.tsx"},{"uid":"cb7c-47","name":"renderMain.tsx"},{"uid":"cb7c-49","name":"renderRender.tsx"}]}]},{"name":"internal","children":[{"uid":"cb7c-35","name":"RocketStoryHoc.tsx"},{"uid":"cb7c-43","name":"StoryHoc.tsx"}]},{"uid":"cb7c-51","name":"rocketstories.tsx"},{"uid":"cb7c-53","name":"init.ts"},{"uid":"cb7c-55","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"cb7c-1":{"renderedLength":25941,"gzipLength":5833,"brotliLength":0,"mainUid":"cb7c-0"},"cb7c-3":{"renderedLength":240,"gzipLength":204,"brotliLength":0,"mainUid":"cb7c-2"},"cb7c-5":{"renderedLength":349,"gzipLength":214,"brotliLength":0,"mainUid":"cb7c-4"},"cb7c-7":{"renderedLength":185,"gzipLength":143,"brotliLength":0,"mainUid":"cb7c-6"},"cb7c-9":{"renderedLength":113,"gzipLength":129,"brotliLength":0,"mainUid":"cb7c-8"},"cb7c-11":{"renderedLength":5177,"gzipLength":1186,"brotliLength":0,"mainUid":"cb7c-10"},"cb7c-13":{"renderedLength":6773,"gzipLength":1320,"brotliLength":0,"mainUid":"cb7c-12"},"cb7c-15":{"renderedLength":1880,"gzipLength":610,"brotliLength":0,"mainUid":"cb7c-14"},"cb7c-17":{"renderedLength":2586,"gzipLength":611,"brotliLength":0,"mainUid":"cb7c-16"},"cb7c-19":{"renderedLength":1844,"gzipLength":387,"brotliLength":0,"mainUid":"cb7c-18"},"cb7c-21":{"renderedLength":408,"gzipLength":154,"brotliLength":0,"mainUid":"cb7c-20"},"cb7c-23":{"renderedLength":3158,"gzipLength":951,"brotliLength":0,"mainUid":"cb7c-22"},"cb7c-25":{"renderedLength":270,"gzipLength":171,"brotliLength":0,"mainUid":"cb7c-24"},"cb7c-27":{"renderedLength":307,"gzipLength":200,"brotliLength":0,"mainUid":"cb7c-26"},"cb7c-29":{"renderedLength":372,"gzipLength":227,"brotliLength":0,"mainUid":"cb7c-28"},"cb7c-31":{"renderedLength":5336,"gzipLength":1395,"brotliLength":0,"mainUid":"cb7c-30"},"cb7c-33":{"renderedLength":439,"gzipLength":263,"brotliLength":0,"mainUid":"cb7c-32"},"cb7c-35":{"renderedLength":2467,"gzipLength":683,"brotliLength":0,"mainUid":"cb7c-34"},"cb7c-37":{"renderedLength":190,"gzipLength":151,"brotliLength":0,"mainUid":"cb7c-36"},"cb7c-39":{"renderedLength":181,"gzipLength":135,"brotliLength":0,"mainUid":"cb7c-38"},"cb7c-41":{"renderedLength":59,"gzipLength":63,"brotliLength":0,"mainUid":"cb7c-40"},"cb7c-43":{"renderedLength":551,"gzipLength":222,"brotliLength":0,"mainUid":"cb7c-42"},"cb7c-45":{"renderedLength":182,"gzipLength":146,"brotliLength":0,"mainUid":"cb7c-44"},"cb7c-47":{"renderedLength":173,"gzipLength":127,"brotliLength":0,"mainUid":"cb7c-46"},"cb7c-49":{"renderedLength":51,"gzipLength":55,"brotliLength":0,"mainUid":"cb7c-48"},"cb7c-51":{"renderedLength":3100,"gzipLength":763,"brotliLength":0,"mainUid":"cb7c-50"},"cb7c-53":{"renderedLength":543,"gzipLength":263,"brotliLength":0,"mainUid":"cb7c-52"},"cb7c-55":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"cb7c-54"}},"nodeMetas":{"cb7c-0":{"id":"/Users/vitbokisch/Dev/vitus-labs/ui-system/packages/rocketstyle/lib/vitus-labs-rocketstyle.module.js","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-1"},"imported":[{"uid":"cb7c-56"},{"uid":"cb7c-59"},{"uid":"cb7c-60"}],"importedBy":[{"uid":"cb7c-50"},{"uid":"cb7c-4"}]},"cb7c-2":{"id":"/src/components/NotFound.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-3"},"imported":[{"uid":"cb7c-59"},{"uid":"cb7c-56"}],"importedBy":[{"uid":"cb7c-30"}]},"cb7c-4":{"id":"/src/components/base/element.ts","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-5"},"imported":[{"uid":"cb7c-0"},{"uid":"cb7c-61"},{"uid":"cb7c-64"}],"importedBy":[{"uid":"cb7c-6"}]},"cb7c-6":{"id":"/src/components/base/Heading.ts","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-7"},"imported":[{"uid":"cb7c-4"}],"importedBy":[{"uid":"cb7c-62"}]},"cb7c-8":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-9"},"imported":[],"importedBy":[{"uid":"cb7c-30"},{"uid":"cb7c-34"}]},"cb7c-10":{"id":"/src/utils/code.ts","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-11"},"imported":[{"uid":"cb7c-56"}],"importedBy":[{"uid":"cb7c-30"},{"uid":"cb7c-34"}]},"cb7c-12":{"id":"/src/controls/element.ts","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-13"},"imported":[{"uid":"cb7c-56"}],"importedBy":[{"uid":"cb7c-63"}]},"cb7c-14":{"id":"/src/controls/list.ts","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-15"},"imported":[],"importedBy":[{"uid":"cb7c-63"}]},"cb7c-16":{"id":"/src/controls/overlay.ts","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-17"},"imported":[],"importedBy":[{"uid":"cb7c-63"}]},"cb7c-18":{"id":"/src/controls/rocketstyle.ts","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-19"},"imported":[],"importedBy":[{"uid":"cb7c-63"}]},"cb7c-20":{"id":"/src/controls/text.ts","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-21"},"imported":[{"uid":"cb7c-56"}],"importedBy":[{"uid":"cb7c-63"}]},"cb7c-22":{"id":"/src/utils/controls.ts","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-23"},"imported":[{"uid":"cb7c-63"}],"importedBy":[{"uid":"cb7c-30"},{"uid":"cb7c-34"},{"uid":"cb7c-42"}]},"cb7c-24":{"id":"/src/stories/rocketstories/renderDimension/context.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-25"},"imported":[{"uid":"cb7c-59"}],"importedBy":[{"uid":"cb7c-30"},{"uid":"cb7c-26"}]},"cb7c-26":{"id":"/src/stories/rocketstories/renderDimension/components/Item.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-27"},"imported":[{"uid":"cb7c-59"},{"uid":"cb7c-62"},{"uid":"cb7c-24"}],"importedBy":[{"uid":"cb7c-30"},{"uid":"cb7c-28"}]},"cb7c-28":{"id":"/src/stories/rocketstories/renderDimension/components/PseudoList.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-29"},"imported":[{"uid":"cb7c-59"},{"uid":"cb7c-26"}],"importedBy":[{"uid":"cb7c-30"}]},"cb7c-30":{"id":"/src/stories/rocketstories/renderDimension/index.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-31"},"imported":[{"uid":"cb7c-59"},{"uid":"cb7c-56"},{"uid":"cb7c-61"},{"uid":"cb7c-2"},{"uid":"cb7c-62"},{"uid":"cb7c-8"},{"uid":"cb7c-10"},{"uid":"cb7c-22"},{"uid":"cb7c-24"},{"uid":"cb7c-26"},{"uid":"cb7c-28"}],"importedBy":[{"uid":"cb7c-57"}]},"cb7c-32":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-33"},"imported":[],"importedBy":[{"uid":"cb7c-34"}]},"cb7c-34":{"id":"/src/internal/RocketStoryHoc.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-35"},"imported":[{"uid":"cb7c-56"},{"uid":"cb7c-8"},{"uid":"cb7c-10"},{"uid":"cb7c-32"},{"uid":"cb7c-22"}],"importedBy":[{"uid":"cb7c-36"},{"uid":"cb7c-38"},{"uid":"cb7c-40"}]},"cb7c-36":{"id":"/src/stories/rocketstories/renderList.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-37"},"imported":[{"uid":"cb7c-59"},{"uid":"cb7c-61"},{"uid":"cb7c-34"}],"importedBy":[{"uid":"cb7c-57"}]},"cb7c-38":{"id":"/src/stories/rocketstories/renderMain.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-39"},"imported":[{"uid":"cb7c-59"},{"uid":"cb7c-34"}],"importedBy":[{"uid":"cb7c-57"}]},"cb7c-40":{"id":"/src/stories/rocketstories/renderRender.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-41"},"imported":[{"uid":"cb7c-34"}],"importedBy":[{"uid":"cb7c-57"}]},"cb7c-42":{"id":"/src/internal/StoryHoc.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-43"},"imported":[{"uid":"cb7c-22"}],"importedBy":[{"uid":"cb7c-44"},{"uid":"cb7c-46"},{"uid":"cb7c-48"}]},"cb7c-44":{"id":"/src/stories/base/renderList.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-45"},"imported":[{"uid":"cb7c-59"},{"uid":"cb7c-61"},{"uid":"cb7c-42"}],"importedBy":[{"uid":"cb7c-58"}]},"cb7c-46":{"id":"/src/stories/base/renderMain.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-47"},"imported":[{"uid":"cb7c-59"},{"uid":"cb7c-42"}],"importedBy":[{"uid":"cb7c-58"}]},"cb7c-48":{"id":"/src/stories/base/renderRender.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-49"},"imported":[{"uid":"cb7c-42"}],"importedBy":[{"uid":"cb7c-58"}]},"cb7c-50":{"id":"/src/rocketstories.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-51"},"imported":[{"uid":"cb7c-56"},{"uid":"cb7c-0"},{"uid":"cb7c-57"},{"uid":"cb7c-58"}],"importedBy":[{"uid":"cb7c-52"}]},"cb7c-52":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-53"},"imported":[{"uid":"cb7c-50"}],"importedBy":[{"uid":"cb7c-54"}]},"cb7c-54":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstories.js":"cb7c-55"},"imported":[{"uid":"cb7c-52"}],"importedBy":[],"isEntry":true},"cb7c-56":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"cb7c-50"},{"uid":"cb7c-0"},{"uid":"cb7c-30"},{"uid":"cb7c-2"},{"uid":"cb7c-10"},{"uid":"cb7c-34"},{"uid":"cb7c-12"},{"uid":"cb7c-20"}],"isExternal":true},"cb7c-57":{"id":"/src/stories/rocketstories/index.ts","moduleParts":{},"imported":[{"uid":"cb7c-30"},{"uid":"cb7c-36"},{"uid":"cb7c-38"},{"uid":"cb7c-40"}],"importedBy":[{"uid":"cb7c-50"}]},"cb7c-58":{"id":"/src/stories/base/index.ts","moduleParts":{},"imported":[{"uid":"cb7c-44"},{"uid":"cb7c-46"},{"uid":"cb7c-48"}],"importedBy":[{"uid":"cb7c-50"}]},"cb7c-59":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"cb7c-0"},{"uid":"cb7c-30"},{"uid":"cb7c-36"},{"uid":"cb7c-38"},{"uid":"cb7c-44"},{"uid":"cb7c-46"},{"uid":"cb7c-2"},{"uid":"cb7c-24"},{"uid":"cb7c-26"},{"uid":"cb7c-28"}],"isExternal":true},"cb7c-60":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"cb7c-0"}],"isExternal":true},"cb7c-61":{"id":"@vitus-labs/elements","moduleParts":{},"imported":[],"importedBy":[{"uid":"cb7c-30"},{"uid":"cb7c-36"},{"uid":"cb7c-44"},{"uid":"cb7c-4"}],"isExternal":true},"cb7c-62":{"id":"/src/components/base/index.ts","moduleParts":{},"imported":[{"uid":"cb7c-6"}],"importedBy":[{"uid":"cb7c-30"},{"uid":"cb7c-26"}]},"cb7c-63":{"id":"/src/controls/index.ts","moduleParts":{},"imported":[{"uid":"cb7c-12"},{"uid":"cb7c-14"},{"uid":"cb7c-16"},{"uid":"cb7c-18"},{"uid":"cb7c-20"}],"importedBy":[{"uid":"cb7c-22"}]},"cb7c-64":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"cb7c-4"}],"isExternal":true}},"env":{"rollup":"2.70.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
6427
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-rocketstories.js","children":[{"name":"Users/vitbokisch/Dev/vitus-labs/ui-system/packages/rocketstyle/lib/vitus-labs-rocketstyle.module.js","uid":"832c-1"},{"name":"src","children":[{"name":"components","children":[{"uid":"832c-3","name":"NotFound.tsx"},{"name":"base","children":[{"uid":"832c-5","name":"element.ts"},{"uid":"832c-7","name":"Heading.ts"}]}]},{"name":"utils","children":[{"uid":"832c-9","name":"theme.ts"},{"uid":"832c-11","name":"code.ts"},{"uid":"832c-23","name":"controls.ts"},{"uid":"832c-33","name":"dimensions.ts"}]},{"name":"controls","children":[{"uid":"832c-13","name":"element.ts"},{"uid":"832c-15","name":"list.ts"},{"uid":"832c-17","name":"overlay.ts"},{"uid":"832c-19","name":"rocketstyle.ts"},{"uid":"832c-21","name":"text.ts"}]},{"name":"stories","children":[{"name":"rocketstories","children":[{"name":"renderDimension","children":[{"uid":"832c-25","name":"context.tsx"},{"name":"components","children":[{"uid":"832c-27","name":"Item.tsx"},{"uid":"832c-29","name":"PseudoList.tsx"}]},{"uid":"832c-31","name":"index.tsx"}]},{"uid":"832c-37","name":"renderList.tsx"},{"uid":"832c-39","name":"renderMain.tsx"},{"uid":"832c-41","name":"renderRender.tsx"}]},{"name":"base","children":[{"uid":"832c-45","name":"renderList.tsx"},{"uid":"832c-47","name":"renderMain.tsx"},{"uid":"832c-49","name":"renderRender.tsx"}]}]},{"name":"internal","children":[{"uid":"832c-35","name":"RocketStoryHoc.tsx"},{"uid":"832c-43","name":"StoryHoc.tsx"}]},{"uid":"832c-51","name":"rocketstories.tsx"},{"uid":"832c-53","name":"init.ts"},{"uid":"832c-55","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"832c-1":{"renderedLength":28410,"gzipLength":6255,"brotliLength":0,"mainUid":"832c-0"},"832c-3":{"renderedLength":240,"gzipLength":204,"brotliLength":0,"mainUid":"832c-2"},"832c-5":{"renderedLength":347,"gzipLength":214,"brotliLength":0,"mainUid":"832c-4"},"832c-7":{"renderedLength":185,"gzipLength":143,"brotliLength":0,"mainUid":"832c-6"},"832c-9":{"renderedLength":113,"gzipLength":129,"brotliLength":0,"mainUid":"832c-8"},"832c-11":{"renderedLength":5177,"gzipLength":1186,"brotliLength":0,"mainUid":"832c-10"},"832c-13":{"renderedLength":6662,"gzipLength":1302,"brotliLength":0,"mainUid":"832c-12"},"832c-15":{"renderedLength":2070,"gzipLength":697,"brotliLength":0,"mainUid":"832c-14"},"832c-17":{"renderedLength":2586,"gzipLength":611,"brotliLength":0,"mainUid":"832c-16"},"832c-19":{"renderedLength":1936,"gzipLength":392,"brotliLength":0,"mainUid":"832c-18"},"832c-21":{"renderedLength":1003,"gzipLength":414,"brotliLength":0,"mainUid":"832c-20"},"832c-23":{"renderedLength":3171,"gzipLength":956,"brotliLength":0,"mainUid":"832c-22"},"832c-25":{"renderedLength":268,"gzipLength":168,"brotliLength":0,"mainUid":"832c-24"},"832c-27":{"renderedLength":307,"gzipLength":200,"brotliLength":0,"mainUid":"832c-26"},"832c-29":{"renderedLength":372,"gzipLength":227,"brotliLength":0,"mainUid":"832c-28"},"832c-31":{"renderedLength":5336,"gzipLength":1395,"brotliLength":0,"mainUid":"832c-30"},"832c-33":{"renderedLength":439,"gzipLength":263,"brotliLength":0,"mainUid":"832c-32"},"832c-35":{"renderedLength":2467,"gzipLength":684,"brotliLength":0,"mainUid":"832c-34"},"832c-37":{"renderedLength":198,"gzipLength":159,"brotliLength":0,"mainUid":"832c-36"},"832c-39":{"renderedLength":181,"gzipLength":135,"brotliLength":0,"mainUid":"832c-38"},"832c-41":{"renderedLength":59,"gzipLength":63,"brotliLength":0,"mainUid":"832c-40"},"832c-43":{"renderedLength":551,"gzipLength":222,"brotliLength":0,"mainUid":"832c-42"},"832c-45":{"renderedLength":190,"gzipLength":152,"brotliLength":0,"mainUid":"832c-44"},"832c-47":{"renderedLength":173,"gzipLength":127,"brotliLength":0,"mainUid":"832c-46"},"832c-49":{"renderedLength":51,"gzipLength":55,"brotliLength":0,"mainUid":"832c-48"},"832c-51":{"renderedLength":3100,"gzipLength":763,"brotliLength":0,"mainUid":"832c-50"},"832c-53":{"renderedLength":667,"gzipLength":296,"brotliLength":0,"mainUid":"832c-52"},"832c-55":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"832c-54"}},"nodeMetas":{"832c-0":{"id":"/Users/vitbokisch/Dev/vitus-labs/ui-system/packages/rocketstyle/lib/vitus-labs-rocketstyle.module.js","moduleParts":{"vitus-labs-rocketstories.js":"832c-1"},"imported":[{"uid":"832c-56"},{"uid":"832c-59"},{"uid":"832c-60"}],"importedBy":[{"uid":"832c-50"},{"uid":"832c-4"}]},"832c-2":{"id":"/src/components/NotFound.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-3"},"imported":[{"uid":"832c-59"},{"uid":"832c-56"}],"importedBy":[{"uid":"832c-30"}]},"832c-4":{"id":"/src/components/base/element.ts","moduleParts":{"vitus-labs-rocketstories.js":"832c-5"},"imported":[{"uid":"832c-0"},{"uid":"832c-61"},{"uid":"832c-64"}],"importedBy":[{"uid":"832c-6"}]},"832c-6":{"id":"/src/components/base/Heading.ts","moduleParts":{"vitus-labs-rocketstories.js":"832c-7"},"imported":[{"uid":"832c-4"}],"importedBy":[{"uid":"832c-62"}]},"832c-8":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstories.js":"832c-9"},"imported":[],"importedBy":[{"uid":"832c-30"},{"uid":"832c-34"}]},"832c-10":{"id":"/src/utils/code.ts","moduleParts":{"vitus-labs-rocketstories.js":"832c-11"},"imported":[{"uid":"832c-56"}],"importedBy":[{"uid":"832c-30"},{"uid":"832c-34"}]},"832c-12":{"id":"/src/controls/element.ts","moduleParts":{"vitus-labs-rocketstories.js":"832c-13"},"imported":[{"uid":"832c-56"}],"importedBy":[{"uid":"832c-63"}]},"832c-14":{"id":"/src/controls/list.ts","moduleParts":{"vitus-labs-rocketstories.js":"832c-15"},"imported":[],"importedBy":[{"uid":"832c-63"}]},"832c-16":{"id":"/src/controls/overlay.ts","moduleParts":{"vitus-labs-rocketstories.js":"832c-17"},"imported":[],"importedBy":[{"uid":"832c-63"}]},"832c-18":{"id":"/src/controls/rocketstyle.ts","moduleParts":{"vitus-labs-rocketstories.js":"832c-19"},"imported":[],"importedBy":[{"uid":"832c-63"}]},"832c-20":{"id":"/src/controls/text.ts","moduleParts":{"vitus-labs-rocketstories.js":"832c-21"},"imported":[{"uid":"832c-56"}],"importedBy":[{"uid":"832c-63"}]},"832c-22":{"id":"/src/utils/controls.ts","moduleParts":{"vitus-labs-rocketstories.js":"832c-23"},"imported":[{"uid":"832c-63"}],"importedBy":[{"uid":"832c-30"},{"uid":"832c-34"},{"uid":"832c-42"}]},"832c-24":{"id":"/src/stories/rocketstories/renderDimension/context.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-25"},"imported":[{"uid":"832c-59"}],"importedBy":[{"uid":"832c-30"},{"uid":"832c-26"}]},"832c-26":{"id":"/src/stories/rocketstories/renderDimension/components/Item.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-27"},"imported":[{"uid":"832c-59"},{"uid":"832c-62"},{"uid":"832c-24"}],"importedBy":[{"uid":"832c-30"},{"uid":"832c-28"}]},"832c-28":{"id":"/src/stories/rocketstories/renderDimension/components/PseudoList.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-29"},"imported":[{"uid":"832c-59"},{"uid":"832c-26"}],"importedBy":[{"uid":"832c-30"}]},"832c-30":{"id":"/src/stories/rocketstories/renderDimension/index.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-31"},"imported":[{"uid":"832c-59"},{"uid":"832c-56"},{"uid":"832c-61"},{"uid":"832c-2"},{"uid":"832c-62"},{"uid":"832c-8"},{"uid":"832c-10"},{"uid":"832c-22"},{"uid":"832c-24"},{"uid":"832c-26"},{"uid":"832c-28"}],"importedBy":[{"uid":"832c-57"}]},"832c-32":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstories.js":"832c-33"},"imported":[],"importedBy":[{"uid":"832c-34"}]},"832c-34":{"id":"/src/internal/RocketStoryHoc.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-35"},"imported":[{"uid":"832c-56"},{"uid":"832c-8"},{"uid":"832c-10"},{"uid":"832c-32"},{"uid":"832c-22"}],"importedBy":[{"uid":"832c-36"},{"uid":"832c-38"},{"uid":"832c-40"}]},"832c-36":{"id":"/src/stories/rocketstories/renderList.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-37"},"imported":[{"uid":"832c-59"},{"uid":"832c-61"},{"uid":"832c-34"}],"importedBy":[{"uid":"832c-57"}]},"832c-38":{"id":"/src/stories/rocketstories/renderMain.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-39"},"imported":[{"uid":"832c-59"},{"uid":"832c-34"}],"importedBy":[{"uid":"832c-57"}]},"832c-40":{"id":"/src/stories/rocketstories/renderRender.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-41"},"imported":[{"uid":"832c-34"}],"importedBy":[{"uid":"832c-57"}]},"832c-42":{"id":"/src/internal/StoryHoc.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-43"},"imported":[{"uid":"832c-22"}],"importedBy":[{"uid":"832c-44"},{"uid":"832c-46"},{"uid":"832c-48"}]},"832c-44":{"id":"/src/stories/base/renderList.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-45"},"imported":[{"uid":"832c-59"},{"uid":"832c-61"},{"uid":"832c-42"}],"importedBy":[{"uid":"832c-58"}]},"832c-46":{"id":"/src/stories/base/renderMain.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-47"},"imported":[{"uid":"832c-59"},{"uid":"832c-42"}],"importedBy":[{"uid":"832c-58"}]},"832c-48":{"id":"/src/stories/base/renderRender.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-49"},"imported":[{"uid":"832c-42"}],"importedBy":[{"uid":"832c-58"}]},"832c-50":{"id":"/src/rocketstories.tsx","moduleParts":{"vitus-labs-rocketstories.js":"832c-51"},"imported":[{"uid":"832c-56"},{"uid":"832c-0"},{"uid":"832c-57"},{"uid":"832c-58"}],"importedBy":[{"uid":"832c-52"}]},"832c-52":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstories.js":"832c-53"},"imported":[{"uid":"832c-50"}],"importedBy":[{"uid":"832c-54"}]},"832c-54":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstories.js":"832c-55"},"imported":[{"uid":"832c-52"}],"importedBy":[],"isEntry":true},"832c-56":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"832c-50"},{"uid":"832c-0"},{"uid":"832c-30"},{"uid":"832c-2"},{"uid":"832c-10"},{"uid":"832c-34"},{"uid":"832c-12"},{"uid":"832c-20"}],"isExternal":true},"832c-57":{"id":"/src/stories/rocketstories/index.ts","moduleParts":{},"imported":[{"uid":"832c-30"},{"uid":"832c-36"},{"uid":"832c-38"},{"uid":"832c-40"}],"importedBy":[{"uid":"832c-50"}]},"832c-58":{"id":"/src/stories/base/index.ts","moduleParts":{},"imported":[{"uid":"832c-44"},{"uid":"832c-46"},{"uid":"832c-48"}],"importedBy":[{"uid":"832c-50"}]},"832c-59":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"832c-0"},{"uid":"832c-30"},{"uid":"832c-36"},{"uid":"832c-38"},{"uid":"832c-44"},{"uid":"832c-46"},{"uid":"832c-2"},{"uid":"832c-24"},{"uid":"832c-26"},{"uid":"832c-28"}],"isExternal":true},"832c-60":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"832c-0"}],"isExternal":true},"832c-61":{"id":"@vitus-labs/elements","moduleParts":{},"imported":[],"importedBy":[{"uid":"832c-30"},{"uid":"832c-36"},{"uid":"832c-44"},{"uid":"832c-4"}],"isExternal":true},"832c-62":{"id":"/src/components/base/index.ts","moduleParts":{},"imported":[{"uid":"832c-6"}],"importedBy":[{"uid":"832c-30"},{"uid":"832c-26"}]},"832c-63":{"id":"/src/controls/index.ts","moduleParts":{},"imported":[{"uid":"832c-12"},{"uid":"832c-14"},{"uid":"832c-16"},{"uid":"832c-18"},{"uid":"832c-20"}],"importedBy":[{"uid":"832c-22"}]},"832c-64":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"832c-4"}],"isExternal":true}},"env":{"rollup":"2.72.0"},"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-rocketstories.module.js","children":[{"name":"Users/vitbokisch/Dev/vitus-labs/ui-system/packages/rocketstyle/lib/vitus-labs-rocketstyle.module.js","uid":"cb7c-66"},{"name":"src","children":[{"name":"components","children":[{"uid":"cb7c-68","name":"NotFound.tsx"},{"name":"base","children":[{"uid":"cb7c-70","name":"element.ts"},{"uid":"cb7c-72","name":"Heading.ts"}]}]},{"name":"utils","children":[{"uid":"cb7c-74","name":"theme.ts"},{"uid":"cb7c-76","name":"code.ts"},{"uid":"cb7c-88","name":"controls.ts"},{"uid":"cb7c-98","name":"dimensions.ts"}]},{"name":"controls","children":[{"uid":"cb7c-78","name":"element.ts"},{"uid":"cb7c-80","name":"list.ts"},{"uid":"cb7c-82","name":"overlay.ts"},{"uid":"cb7c-84","name":"rocketstyle.ts"},{"uid":"cb7c-86","name":"text.ts"}]},{"name":"stories","children":[{"name":"rocketstories","children":[{"name":"renderDimension","children":[{"uid":"cb7c-90","name":"context.tsx"},{"name":"components","children":[{"uid":"cb7c-92","name":"Item.tsx"},{"uid":"cb7c-94","name":"PseudoList.tsx"}]},{"uid":"cb7c-96","name":"index.tsx"}]},{"uid":"cb7c-102","name":"renderList.tsx"},{"uid":"cb7c-104","name":"renderMain.tsx"},{"uid":"cb7c-106","name":"renderRender.tsx"}]},{"name":"base","children":[{"uid":"cb7c-110","name":"renderList.tsx"},{"uid":"cb7c-112","name":"renderMain.tsx"},{"uid":"cb7c-114","name":"renderRender.tsx"}]}]},{"name":"internal","children":[{"uid":"cb7c-100","name":"RocketStoryHoc.tsx"},{"uid":"cb7c-108","name":"StoryHoc.tsx"}]},{"uid":"cb7c-116","name":"rocketstories.tsx"},{"uid":"cb7c-118","name":"init.ts"},{"uid":"cb7c-120","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"cb7c-66":{"renderedLength":25565,"gzipLength":5786,"brotliLength":0,"mainUid":"cb7c-65"},"cb7c-68":{"renderedLength":215,"gzipLength":188,"brotliLength":0,"mainUid":"cb7c-67"},"cb7c-70":{"renderedLength":331,"gzipLength":208,"brotliLength":0,"mainUid":"cb7c-69"},"cb7c-72":{"renderedLength":185,"gzipLength":143,"brotliLength":0,"mainUid":"cb7c-71"},"cb7c-74":{"renderedLength":113,"gzipLength":129,"brotliLength":0,"mainUid":"cb7c-73"},"cb7c-76":{"renderedLength":5162,"gzipLength":1183,"brotliLength":0,"mainUid":"cb7c-75"},"cb7c-78":{"renderedLength":6768,"gzipLength":1317,"brotliLength":0,"mainUid":"cb7c-77"},"cb7c-80":{"renderedLength":1880,"gzipLength":610,"brotliLength":0,"mainUid":"cb7c-79"},"cb7c-82":{"renderedLength":2586,"gzipLength":611,"brotliLength":0,"mainUid":"cb7c-81"},"cb7c-84":{"renderedLength":1844,"gzipLength":387,"brotliLength":0,"mainUid":"cb7c-83"},"cb7c-86":{"renderedLength":403,"gzipLength":149,"brotliLength":0,"mainUid":"cb7c-85"},"cb7c-88":{"renderedLength":3158,"gzipLength":951,"brotliLength":0,"mainUid":"cb7c-87"},"cb7c-90":{"renderedLength":240,"gzipLength":158,"brotliLength":0,"mainUid":"cb7c-89"},"cb7c-92":{"renderedLength":261,"gzipLength":182,"brotliLength":0,"mainUid":"cb7c-91"},"cb7c-94":{"renderedLength":312,"gzipLength":210,"brotliLength":0,"mainUid":"cb7c-93"},"cb7c-96":{"renderedLength":5126,"gzipLength":1369,"brotliLength":0,"mainUid":"cb7c-95"},"cb7c-98":{"renderedLength":439,"gzipLength":263,"brotliLength":0,"mainUid":"cb7c-97"},"cb7c-100":{"renderedLength":2462,"gzipLength":679,"brotliLength":0,"mainUid":"cb7c-99"},"cb7c-102":{"renderedLength":161,"gzipLength":135,"brotliLength":0,"mainUid":"cb7c-101"},"cb7c-104":{"renderedLength":135,"gzipLength":118,"brotliLength":0,"mainUid":"cb7c-103"},"cb7c-106":{"renderedLength":59,"gzipLength":63,"brotliLength":0,"mainUid":"cb7c-105"},"cb7c-108":{"renderedLength":551,"gzipLength":222,"brotliLength":0,"mainUid":"cb7c-107"},"cb7c-110":{"renderedLength":153,"gzipLength":128,"brotliLength":0,"mainUid":"cb7c-109"},"cb7c-112":{"renderedLength":127,"gzipLength":110,"brotliLength":0,"mainUid":"cb7c-111"},"cb7c-114":{"renderedLength":51,"gzipLength":55,"brotliLength":0,"mainUid":"cb7c-113"},"cb7c-116":{"renderedLength":3095,"gzipLength":760,"brotliLength":0,"mainUid":"cb7c-115"},"cb7c-118":{"renderedLength":543,"gzipLength":263,"brotliLength":0,"mainUid":"cb7c-117"},"cb7c-120":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"cb7c-119"}},"nodeMetas":{"cb7c-65":{"id":"/Users/vitbokisch/Dev/vitus-labs/ui-system/packages/rocketstyle/lib/vitus-labs-rocketstyle.module.js","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-66"},"imported":[{"uid":"cb7c-121"},{"uid":"cb7c-124"},{"uid":"cb7c-125"}],"importedBy":[{"uid":"cb7c-115"},{"uid":"cb7c-69"}]},"cb7c-67":{"id":"/src/components/NotFound.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-68"},"imported":[{"uid":"cb7c-124"},{"uid":"cb7c-121"}],"importedBy":[{"uid":"cb7c-95"}]},"cb7c-69":{"id":"/src/components/base/element.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-70"},"imported":[{"uid":"cb7c-65"},{"uid":"cb7c-126"},{"uid":"cb7c-129"}],"importedBy":[{"uid":"cb7c-71"}]},"cb7c-71":{"id":"/src/components/base/Heading.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-72"},"imported":[{"uid":"cb7c-69"}],"importedBy":[{"uid":"cb7c-127"}]},"cb7c-73":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-74"},"imported":[],"importedBy":[{"uid":"cb7c-95"},{"uid":"cb7c-99"}]},"cb7c-75":{"id":"/src/utils/code.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-76"},"imported":[{"uid":"cb7c-121"}],"importedBy":[{"uid":"cb7c-95"},{"uid":"cb7c-99"}]},"cb7c-77":{"id":"/src/controls/element.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-78"},"imported":[{"uid":"cb7c-121"}],"importedBy":[{"uid":"cb7c-128"}]},"cb7c-79":{"id":"/src/controls/list.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-80"},"imported":[],"importedBy":[{"uid":"cb7c-128"}]},"cb7c-81":{"id":"/src/controls/overlay.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-82"},"imported":[],"importedBy":[{"uid":"cb7c-128"}]},"cb7c-83":{"id":"/src/controls/rocketstyle.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-84"},"imported":[],"importedBy":[{"uid":"cb7c-128"}]},"cb7c-85":{"id":"/src/controls/text.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-86"},"imported":[{"uid":"cb7c-121"}],"importedBy":[{"uid":"cb7c-128"}]},"cb7c-87":{"id":"/src/utils/controls.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-88"},"imported":[{"uid":"cb7c-128"}],"importedBy":[{"uid":"cb7c-95"},{"uid":"cb7c-99"},{"uid":"cb7c-107"}]},"cb7c-89":{"id":"/src/stories/rocketstories/renderDimension/context.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-90"},"imported":[{"uid":"cb7c-124"}],"importedBy":[{"uid":"cb7c-95"},{"uid":"cb7c-91"}]},"cb7c-91":{"id":"/src/stories/rocketstories/renderDimension/components/Item.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-92"},"imported":[{"uid":"cb7c-124"},{"uid":"cb7c-127"},{"uid":"cb7c-89"}],"importedBy":[{"uid":"cb7c-95"},{"uid":"cb7c-93"}]},"cb7c-93":{"id":"/src/stories/rocketstories/renderDimension/components/PseudoList.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-94"},"imported":[{"uid":"cb7c-124"},{"uid":"cb7c-91"}],"importedBy":[{"uid":"cb7c-95"}]},"cb7c-95":{"id":"/src/stories/rocketstories/renderDimension/index.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-96"},"imported":[{"uid":"cb7c-124"},{"uid":"cb7c-121"},{"uid":"cb7c-126"},{"uid":"cb7c-67"},{"uid":"cb7c-127"},{"uid":"cb7c-73"},{"uid":"cb7c-75"},{"uid":"cb7c-87"},{"uid":"cb7c-89"},{"uid":"cb7c-91"},{"uid":"cb7c-93"}],"importedBy":[{"uid":"cb7c-122"}]},"cb7c-97":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-98"},"imported":[],"importedBy":[{"uid":"cb7c-99"}]},"cb7c-99":{"id":"/src/internal/RocketStoryHoc.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-100"},"imported":[{"uid":"cb7c-121"},{"uid":"cb7c-73"},{"uid":"cb7c-75"},{"uid":"cb7c-97"},{"uid":"cb7c-87"}],"importedBy":[{"uid":"cb7c-101"},{"uid":"cb7c-103"},{"uid":"cb7c-105"}]},"cb7c-101":{"id":"/src/stories/rocketstories/renderList.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-102"},"imported":[{"uid":"cb7c-124"},{"uid":"cb7c-126"},{"uid":"cb7c-99"}],"importedBy":[{"uid":"cb7c-122"}]},"cb7c-103":{"id":"/src/stories/rocketstories/renderMain.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-104"},"imported":[{"uid":"cb7c-124"},{"uid":"cb7c-99"}],"importedBy":[{"uid":"cb7c-122"}]},"cb7c-105":{"id":"/src/stories/rocketstories/renderRender.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-106"},"imported":[{"uid":"cb7c-99"}],"importedBy":[{"uid":"cb7c-122"}]},"cb7c-107":{"id":"/src/internal/StoryHoc.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-108"},"imported":[{"uid":"cb7c-87"}],"importedBy":[{"uid":"cb7c-109"},{"uid":"cb7c-111"},{"uid":"cb7c-113"}]},"cb7c-109":{"id":"/src/stories/base/renderList.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-110"},"imported":[{"uid":"cb7c-124"},{"uid":"cb7c-126"},{"uid":"cb7c-107"}],"importedBy":[{"uid":"cb7c-123"}]},"cb7c-111":{"id":"/src/stories/base/renderMain.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-112"},"imported":[{"uid":"cb7c-124"},{"uid":"cb7c-107"}],"importedBy":[{"uid":"cb7c-123"}]},"cb7c-113":{"id":"/src/stories/base/renderRender.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-114"},"imported":[{"uid":"cb7c-107"}],"importedBy":[{"uid":"cb7c-123"}]},"cb7c-115":{"id":"/src/rocketstories.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-116"},"imported":[{"uid":"cb7c-121"},{"uid":"cb7c-65"},{"uid":"cb7c-122"},{"uid":"cb7c-123"}],"importedBy":[{"uid":"cb7c-117"}]},"cb7c-117":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-118"},"imported":[{"uid":"cb7c-115"}],"importedBy":[{"uid":"cb7c-119"}]},"cb7c-119":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cb7c-120"},"imported":[{"uid":"cb7c-117"}],"importedBy":[],"isEntry":true},"cb7c-121":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"cb7c-115"},{"uid":"cb7c-65"},{"uid":"cb7c-95"},{"uid":"cb7c-67"},{"uid":"cb7c-75"},{"uid":"cb7c-99"},{"uid":"cb7c-77"},{"uid":"cb7c-85"}],"isExternal":true},"cb7c-122":{"id":"/src/stories/rocketstories/index.ts","moduleParts":{},"imported":[{"uid":"cb7c-95"},{"uid":"cb7c-101"},{"uid":"cb7c-103"},{"uid":"cb7c-105"}],"importedBy":[{"uid":"cb7c-115"}]},"cb7c-123":{"id":"/src/stories/base/index.ts","moduleParts":{},"imported":[{"uid":"cb7c-109"},{"uid":"cb7c-111"},{"uid":"cb7c-113"}],"importedBy":[{"uid":"cb7c-115"}]},"cb7c-124":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"cb7c-65"},{"uid":"cb7c-95"},{"uid":"cb7c-101"},{"uid":"cb7c-103"},{"uid":"cb7c-109"},{"uid":"cb7c-111"},{"uid":"cb7c-67"},{"uid":"cb7c-89"},{"uid":"cb7c-91"},{"uid":"cb7c-93"}],"isExternal":true},"cb7c-125":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"cb7c-65"}],"isExternal":true},"cb7c-126":{"id":"@vitus-labs/elements","moduleParts":{},"imported":[],"importedBy":[{"uid":"cb7c-95"},{"uid":"cb7c-101"},{"uid":"cb7c-109"},{"uid":"cb7c-69"}],"isExternal":true},"cb7c-127":{"id":"/src/components/base/index.ts","moduleParts":{},"imported":[{"uid":"cb7c-71"}],"importedBy":[{"uid":"cb7c-95"},{"uid":"cb7c-91"}]},"cb7c-128":{"id":"/src/controls/index.ts","moduleParts":{},"imported":[{"uid":"cb7c-77"},{"uid":"cb7c-79"},{"uid":"cb7c-81"},{"uid":"cb7c-83"},{"uid":"cb7c-85"}],"importedBy":[{"uid":"cb7c-87"}]},"cb7c-129":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"cb7c-69"}],"isExternal":true}},"env":{"rollup":"2.70.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
6427
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-rocketstories.module.js","children":[{"name":"Users/vitbokisch/Dev/vitus-labs/ui-system/packages/rocketstyle/lib/vitus-labs-rocketstyle.module.js","uid":"832c-66"},{"name":"src","children":[{"name":"components","children":[{"uid":"832c-68","name":"NotFound.tsx"},{"name":"base","children":[{"uid":"832c-70","name":"element.ts"},{"uid":"832c-72","name":"Heading.ts"}]}]},{"name":"utils","children":[{"uid":"832c-74","name":"theme.ts"},{"uid":"832c-76","name":"code.ts"},{"uid":"832c-88","name":"controls.ts"},{"uid":"832c-98","name":"dimensions.ts"}]},{"name":"controls","children":[{"uid":"832c-78","name":"element.ts"},{"uid":"832c-80","name":"list.ts"},{"uid":"832c-82","name":"overlay.ts"},{"uid":"832c-84","name":"rocketstyle.ts"},{"uid":"832c-86","name":"text.ts"}]},{"name":"stories","children":[{"name":"rocketstories","children":[{"name":"renderDimension","children":[{"uid":"832c-90","name":"context.tsx"},{"name":"components","children":[{"uid":"832c-92","name":"Item.tsx"},{"uid":"832c-94","name":"PseudoList.tsx"}]},{"uid":"832c-96","name":"index.tsx"}]},{"uid":"832c-102","name":"renderList.tsx"},{"uid":"832c-104","name":"renderMain.tsx"},{"uid":"832c-106","name":"renderRender.tsx"}]},{"name":"base","children":[{"uid":"832c-110","name":"renderList.tsx"},{"uid":"832c-112","name":"renderMain.tsx"},{"uid":"832c-114","name":"renderRender.tsx"}]}]},{"name":"internal","children":[{"uid":"832c-100","name":"RocketStoryHoc.tsx"},{"uid":"832c-108","name":"StoryHoc.tsx"}]},{"uid":"832c-116","name":"rocketstories.tsx"},{"uid":"832c-118","name":"init.ts"},{"uid":"832c-120","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"832c-66":{"renderedLength":28035,"gzipLength":6205,"brotliLength":0,"mainUid":"832c-65"},"832c-68":{"renderedLength":215,"gzipLength":188,"brotliLength":0,"mainUid":"832c-67"},"832c-70":{"renderedLength":329,"gzipLength":208,"brotliLength":0,"mainUid":"832c-69"},"832c-72":{"renderedLength":185,"gzipLength":143,"brotliLength":0,"mainUid":"832c-71"},"832c-74":{"renderedLength":113,"gzipLength":129,"brotliLength":0,"mainUid":"832c-73"},"832c-76":{"renderedLength":5162,"gzipLength":1183,"brotliLength":0,"mainUid":"832c-75"},"832c-78":{"renderedLength":6657,"gzipLength":1299,"brotliLength":0,"mainUid":"832c-77"},"832c-80":{"renderedLength":2070,"gzipLength":697,"brotliLength":0,"mainUid":"832c-79"},"832c-82":{"renderedLength":2586,"gzipLength":611,"brotliLength":0,"mainUid":"832c-81"},"832c-84":{"renderedLength":1936,"gzipLength":392,"brotliLength":0,"mainUid":"832c-83"},"832c-86":{"renderedLength":998,"gzipLength":410,"brotliLength":0,"mainUid":"832c-85"},"832c-88":{"renderedLength":3171,"gzipLength":956,"brotliLength":0,"mainUid":"832c-87"},"832c-90":{"renderedLength":238,"gzipLength":157,"brotliLength":0,"mainUid":"832c-89"},"832c-92":{"renderedLength":261,"gzipLength":182,"brotliLength":0,"mainUid":"832c-91"},"832c-94":{"renderedLength":312,"gzipLength":210,"brotliLength":0,"mainUid":"832c-93"},"832c-96":{"renderedLength":5126,"gzipLength":1369,"brotliLength":0,"mainUid":"832c-95"},"832c-98":{"renderedLength":439,"gzipLength":263,"brotliLength":0,"mainUid":"832c-97"},"832c-100":{"renderedLength":2462,"gzipLength":680,"brotliLength":0,"mainUid":"832c-99"},"832c-102":{"renderedLength":169,"gzipLength":143,"brotliLength":0,"mainUid":"832c-101"},"832c-104":{"renderedLength":135,"gzipLength":118,"brotliLength":0,"mainUid":"832c-103"},"832c-106":{"renderedLength":59,"gzipLength":63,"brotliLength":0,"mainUid":"832c-105"},"832c-108":{"renderedLength":551,"gzipLength":222,"brotliLength":0,"mainUid":"832c-107"},"832c-110":{"renderedLength":161,"gzipLength":134,"brotliLength":0,"mainUid":"832c-109"},"832c-112":{"renderedLength":127,"gzipLength":110,"brotliLength":0,"mainUid":"832c-111"},"832c-114":{"renderedLength":51,"gzipLength":55,"brotliLength":0,"mainUid":"832c-113"},"832c-116":{"renderedLength":3095,"gzipLength":760,"brotliLength":0,"mainUid":"832c-115"},"832c-118":{"renderedLength":667,"gzipLength":296,"brotliLength":0,"mainUid":"832c-117"},"832c-120":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"832c-119"}},"nodeMetas":{"832c-65":{"id":"/Users/vitbokisch/Dev/vitus-labs/ui-system/packages/rocketstyle/lib/vitus-labs-rocketstyle.module.js","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-66"},"imported":[{"uid":"832c-121"},{"uid":"832c-124"},{"uid":"832c-125"}],"importedBy":[{"uid":"832c-115"},{"uid":"832c-69"}]},"832c-67":{"id":"/src/components/NotFound.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-68"},"imported":[{"uid":"832c-124"},{"uid":"832c-121"}],"importedBy":[{"uid":"832c-95"}]},"832c-69":{"id":"/src/components/base/element.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-70"},"imported":[{"uid":"832c-65"},{"uid":"832c-126"},{"uid":"832c-129"}],"importedBy":[{"uid":"832c-71"}]},"832c-71":{"id":"/src/components/base/Heading.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-72"},"imported":[{"uid":"832c-69"}],"importedBy":[{"uid":"832c-127"}]},"832c-73":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-74"},"imported":[],"importedBy":[{"uid":"832c-95"},{"uid":"832c-99"}]},"832c-75":{"id":"/src/utils/code.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-76"},"imported":[{"uid":"832c-121"}],"importedBy":[{"uid":"832c-95"},{"uid":"832c-99"}]},"832c-77":{"id":"/src/controls/element.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-78"},"imported":[{"uid":"832c-121"}],"importedBy":[{"uid":"832c-128"}]},"832c-79":{"id":"/src/controls/list.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-80"},"imported":[],"importedBy":[{"uid":"832c-128"}]},"832c-81":{"id":"/src/controls/overlay.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-82"},"imported":[],"importedBy":[{"uid":"832c-128"}]},"832c-83":{"id":"/src/controls/rocketstyle.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-84"},"imported":[],"importedBy":[{"uid":"832c-128"}]},"832c-85":{"id":"/src/controls/text.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-86"},"imported":[{"uid":"832c-121"}],"importedBy":[{"uid":"832c-128"}]},"832c-87":{"id":"/src/utils/controls.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-88"},"imported":[{"uid":"832c-128"}],"importedBy":[{"uid":"832c-95"},{"uid":"832c-99"},{"uid":"832c-107"}]},"832c-89":{"id":"/src/stories/rocketstories/renderDimension/context.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-90"},"imported":[{"uid":"832c-124"}],"importedBy":[{"uid":"832c-95"},{"uid":"832c-91"}]},"832c-91":{"id":"/src/stories/rocketstories/renderDimension/components/Item.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-92"},"imported":[{"uid":"832c-124"},{"uid":"832c-127"},{"uid":"832c-89"}],"importedBy":[{"uid":"832c-95"},{"uid":"832c-93"}]},"832c-93":{"id":"/src/stories/rocketstories/renderDimension/components/PseudoList.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-94"},"imported":[{"uid":"832c-124"},{"uid":"832c-91"}],"importedBy":[{"uid":"832c-95"}]},"832c-95":{"id":"/src/stories/rocketstories/renderDimension/index.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-96"},"imported":[{"uid":"832c-124"},{"uid":"832c-121"},{"uid":"832c-126"},{"uid":"832c-67"},{"uid":"832c-127"},{"uid":"832c-73"},{"uid":"832c-75"},{"uid":"832c-87"},{"uid":"832c-89"},{"uid":"832c-91"},{"uid":"832c-93"}],"importedBy":[{"uid":"832c-122"}]},"832c-97":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-98"},"imported":[],"importedBy":[{"uid":"832c-99"}]},"832c-99":{"id":"/src/internal/RocketStoryHoc.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-100"},"imported":[{"uid":"832c-121"},{"uid":"832c-73"},{"uid":"832c-75"},{"uid":"832c-97"},{"uid":"832c-87"}],"importedBy":[{"uid":"832c-101"},{"uid":"832c-103"},{"uid":"832c-105"}]},"832c-101":{"id":"/src/stories/rocketstories/renderList.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-102"},"imported":[{"uid":"832c-124"},{"uid":"832c-126"},{"uid":"832c-99"}],"importedBy":[{"uid":"832c-122"}]},"832c-103":{"id":"/src/stories/rocketstories/renderMain.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-104"},"imported":[{"uid":"832c-124"},{"uid":"832c-99"}],"importedBy":[{"uid":"832c-122"}]},"832c-105":{"id":"/src/stories/rocketstories/renderRender.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-106"},"imported":[{"uid":"832c-99"}],"importedBy":[{"uid":"832c-122"}]},"832c-107":{"id":"/src/internal/StoryHoc.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-108"},"imported":[{"uid":"832c-87"}],"importedBy":[{"uid":"832c-109"},{"uid":"832c-111"},{"uid":"832c-113"}]},"832c-109":{"id":"/src/stories/base/renderList.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-110"},"imported":[{"uid":"832c-124"},{"uid":"832c-126"},{"uid":"832c-107"}],"importedBy":[{"uid":"832c-123"}]},"832c-111":{"id":"/src/stories/base/renderMain.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-112"},"imported":[{"uid":"832c-124"},{"uid":"832c-107"}],"importedBy":[{"uid":"832c-123"}]},"832c-113":{"id":"/src/stories/base/renderRender.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-114"},"imported":[{"uid":"832c-107"}],"importedBy":[{"uid":"832c-123"}]},"832c-115":{"id":"/src/rocketstories.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-116"},"imported":[{"uid":"832c-121"},{"uid":"832c-65"},{"uid":"832c-122"},{"uid":"832c-123"}],"importedBy":[{"uid":"832c-117"}]},"832c-117":{"id":"/src/init.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-118"},"imported":[{"uid":"832c-115"}],"importedBy":[{"uid":"832c-119"}]},"832c-119":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"832c-120"},"imported":[{"uid":"832c-117"}],"importedBy":[],"isEntry":true},"832c-121":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"832c-115"},{"uid":"832c-65"},{"uid":"832c-95"},{"uid":"832c-67"},{"uid":"832c-75"},{"uid":"832c-99"},{"uid":"832c-77"},{"uid":"832c-85"}],"isExternal":true},"832c-122":{"id":"/src/stories/rocketstories/index.ts","moduleParts":{},"imported":[{"uid":"832c-95"},{"uid":"832c-101"},{"uid":"832c-103"},{"uid":"832c-105"}],"importedBy":[{"uid":"832c-115"}]},"832c-123":{"id":"/src/stories/base/index.ts","moduleParts":{},"imported":[{"uid":"832c-109"},{"uid":"832c-111"},{"uid":"832c-113"}],"importedBy":[{"uid":"832c-115"}]},"832c-124":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"832c-65"},{"uid":"832c-95"},{"uid":"832c-101"},{"uid":"832c-103"},{"uid":"832c-109"},{"uid":"832c-111"},{"uid":"832c-67"},{"uid":"832c-89"},{"uid":"832c-91"},{"uid":"832c-93"}],"isExternal":true},"832c-125":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"832c-65"}],"isExternal":true},"832c-126":{"id":"@vitus-labs/elements","moduleParts":{},"imported":[],"importedBy":[{"uid":"832c-95"},{"uid":"832c-101"},{"uid":"832c-109"},{"uid":"832c-69"}],"isExternal":true},"832c-127":{"id":"/src/components/base/index.ts","moduleParts":{},"imported":[{"uid":"832c-71"}],"importedBy":[{"uid":"832c-95"},{"uid":"832c-91"}]},"832c-128":{"id":"/src/controls/index.ts","moduleParts":{},"imported":[{"uid":"832c-77"},{"uid":"832c-79"},{"uid":"832c-81"},{"uid":"832c-83"},{"uid":"832c-85"}],"importedBy":[{"uid":"832c-87"}]},"832c-129":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"832c-69"}],"isExternal":true}},"env":{"rollup":"2.72.0"},"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
|
@@ -2,7 +2,7 @@ import { ComponentType, VFC, ForwardRefExoticComponent, ReactNode } from 'react'
|
|
|
2
2
|
import { ListProps } from '@vitus-labs/elements';
|
|
3
3
|
import { RocketComponentType } from '@vitus-labs/rocketstyle';
|
|
4
4
|
|
|
5
|
-
declare const CONTROL_TYPES: readonly ["tag", "text", "number", "range", "boolean", "color", "select", "multi-select", "object", "array", "radio", "inline-radio", "check", "inline-check"];
|
|
5
|
+
declare const CONTROL_TYPES: readonly ["tag", "text", "number", "range", "boolean", "color", "select", "multi-select", "object", "array", "radio", "inline-radio", "check", "inline-check", "function", "component"];
|
|
6
6
|
declare type T_CONTROL_TYPES = typeof CONTROL_TYPES[number];
|
|
7
7
|
|
|
8
8
|
declare type TObj = Record<string, unknown>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
declare const _default: import("@vitus-labs/rocketstyle").
|
|
1
|
+
declare const _default: import("@vitus-labs/rocketstyle").RocketStyleComponent<{
|
|
2
2
|
tag?: "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "meter" | "nav" | "ol" | "optgroup" | "option" | "output" | "p" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "svg" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | undefined;
|
|
3
3
|
} & Partial<{
|
|
4
4
|
tag: "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "meter" | "nav" | "ol" | "optgroup" | "option" | "output" | "p" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "svg" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr";
|
|
5
5
|
innerRef: import("@vitus-labs/elements").InnerRef;
|
|
6
|
-
children: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any
|
|
7
|
-
content: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any
|
|
8
|
-
label: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any
|
|
9
|
-
beforeContent: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any
|
|
10
|
-
afterContent: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any
|
|
6
|
+
children: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | ((props: Partial<Record<string, any> | undefined>) => import("react").ReactNode);
|
|
7
|
+
content: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | ((props: Partial<Record<string, any> | undefined>) => import("react").ReactNode);
|
|
8
|
+
label: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | ((props: Partial<Record<string, any> | undefined>) => import("react").ReactNode);
|
|
9
|
+
beforeContent: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | ((props: Partial<Record<string, any> | undefined>) => import("react").ReactNode);
|
|
10
|
+
afterContent: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | ((props: Partial<Record<string, any> | undefined>) => import("react").ReactNode);
|
|
11
11
|
block: import("@vitus-labs/elements").ResponsiveBooltype;
|
|
12
12
|
equalCols: import("@vitus-labs/elements").ResponsiveBooltype;
|
|
13
13
|
gap: import("@vitus-labs/elements").Responsive;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
declare const _default: import("@vitus-labs/rocketstyle").
|
|
1
|
+
declare const _default: import("@vitus-labs/rocketstyle").RocketStyleComponent<{
|
|
2
2
|
tag?: "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "meter" | "nav" | "ol" | "optgroup" | "option" | "output" | "p" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "svg" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | undefined;
|
|
3
3
|
} & Partial<{
|
|
4
4
|
tag: "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "meter" | "nav" | "ol" | "optgroup" | "option" | "output" | "p" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "svg" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr";
|
|
5
5
|
innerRef: import("@vitus-labs/elements").InnerRef;
|
|
6
|
-
children: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any
|
|
7
|
-
content: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any
|
|
8
|
-
label: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any
|
|
9
|
-
beforeContent: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any
|
|
10
|
-
afterContent: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any
|
|
6
|
+
children: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | ((props: Partial<Record<string, any> | undefined>) => import("react").ReactNode);
|
|
7
|
+
content: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | ((props: Partial<Record<string, any> | undefined>) => import("react").ReactNode);
|
|
8
|
+
label: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | ((props: Partial<Record<string, any> | undefined>) => import("react").ReactNode);
|
|
9
|
+
beforeContent: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | ((props: Partial<Record<string, any> | undefined>) => import("react").ReactNode);
|
|
10
|
+
afterContent: import("react").ReactNode | import("react").ReactNode[] | import("react").FunctionComponent<{}> | import("react").ComponentClass<{}, any> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | ((props: Partial<Record<string, any> | undefined>) => import("react").ReactNode);
|
|
11
11
|
block: import("@vitus-labs/elements").ResponsiveBooltype;
|
|
12
12
|
equalCols: import("@vitus-labs/elements").ResponsiveBooltype;
|
|
13
13
|
gap: import("@vitus-labs/elements").Responsive;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const CONTROL_TYPES: readonly ["tag", "text", "number", "range", "boolean", "color", "select", "multi-select", "object", "array", "radio", "inline-radio", "check", "inline-check"];
|
|
1
|
+
export declare const CONTROL_TYPES: readonly ["tag", "text", "number", "range", "boolean", "color", "select", "multi-select", "object", "array", "radio", "inline-radio", "check", "inline-check", "function", "component"];
|
|
2
2
|
export declare type T_CONTROL_TYPES = typeof CONTROL_TYPES[number];
|
|
@@ -1,52 +1,54 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
readonly rootElement: {
|
|
3
|
+
readonly group: "List (@vitus-labs)";
|
|
3
4
|
readonly type: "boolean";
|
|
4
|
-
readonly group: "List (Vitus-Labs)";
|
|
5
5
|
readonly valueType: "boolean";
|
|
6
6
|
readonly description: "Whether a **root** element should be rendered or the output should be just a type of React **Fragment**.";
|
|
7
7
|
};
|
|
8
8
|
readonly data: {
|
|
9
|
+
readonly group: "List (@vitus-labs)";
|
|
9
10
|
readonly type: "array";
|
|
10
|
-
readonly group: "List (Vitus-Labs)";
|
|
11
11
|
readonly valueType: "string[] | number[] | object[]";
|
|
12
|
-
readonly description: "An array of item values to be passed to item component.";
|
|
12
|
+
readonly description: "An array of item values to be passed to item component. Data are being passed to _component_ prop element.";
|
|
13
13
|
};
|
|
14
14
|
readonly valueName: {
|
|
15
|
+
readonly group: "List (@vitus-labs)";
|
|
15
16
|
readonly type: "text";
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
18
|
-
readonly description: "Can be used when **data** consists of **strings** or **numbers** to name value being passed as a prop.";
|
|
17
|
+
readonly valueType: "string";
|
|
18
|
+
readonly description: "Is required when **data** consists of **strings** or **numbers** to name value being passed as a prop.";
|
|
19
19
|
};
|
|
20
20
|
readonly itemProps: {
|
|
21
|
-
readonly group: "List (
|
|
21
|
+
readonly group: "List (@vitus-labs)";
|
|
22
22
|
readonly valueType: "Record<string, any> | (props, meta) => Record<string,any>";
|
|
23
23
|
readonly description: "A customizable hook for dynamically render props for each **item** component.";
|
|
24
24
|
};
|
|
25
25
|
readonly wrapProps: {
|
|
26
|
-
readonly group: "List (
|
|
27
|
-
readonly valueType: "
|
|
28
|
-
readonly description: "A customizable hook for dynamically render props for each **wrapComponent** when _wrapComponent_ is passed
|
|
26
|
+
readonly group: "List (@vitus-labs)";
|
|
27
|
+
readonly valueType: "Record<string, any> | (props, meta) => Record<string,any>";
|
|
28
|
+
readonly description: "A customizable hook for dynamically render props for each **wrapComponent** when _wrapComponent_ is passed, otherwise ignored.";
|
|
29
29
|
};
|
|
30
30
|
readonly itemKey: {
|
|
31
|
-
readonly group: "List (
|
|
32
|
-
readonly valueType: "string | (
|
|
33
|
-
readonly description: "Prop for defining item key **name** / **value** if default behavior doesn't work out.";
|
|
34
|
-
};
|
|
35
|
-
readonly label: {
|
|
36
|
-
readonly disable: true;
|
|
37
|
-
};
|
|
38
|
-
readonly content: {
|
|
39
|
-
readonly disable: true;
|
|
31
|
+
readonly group: "List (@vitus-labs)";
|
|
32
|
+
readonly valueType: "string | `(item, i) => number | string`";
|
|
33
|
+
readonly description: "Prop for defining item key in list. **name** / **value** if default behavior doesn't work out.";
|
|
40
34
|
};
|
|
41
35
|
readonly component: {
|
|
42
|
-
readonly group: "List (
|
|
36
|
+
readonly group: "List (@vitus-labs)";
|
|
37
|
+
readonly type: "component";
|
|
43
38
|
readonly valueType: "ComponentType";
|
|
44
|
-
readonly description: "A component to be rendered per item";
|
|
39
|
+
readonly description: "A component to be rendered within the List per item. Receives props from _data_ array props.";
|
|
45
40
|
};
|
|
46
41
|
readonly wrapComponent: {
|
|
47
|
-
readonly group: "List (
|
|
48
|
-
readonly
|
|
42
|
+
readonly group: "List (@vitus-labs)";
|
|
43
|
+
readonly type: "component";
|
|
44
|
+
readonly valueType: "ComponentType";
|
|
49
45
|
readonly description: "A component to be used as a wrapper component for each item component.";
|
|
50
46
|
};
|
|
47
|
+
readonly label: {
|
|
48
|
+
readonly disable: true;
|
|
49
|
+
};
|
|
50
|
+
readonly content: {
|
|
51
|
+
readonly disable: true;
|
|
52
|
+
};
|
|
51
53
|
};
|
|
52
54
|
export default _default;
|
|
@@ -1,24 +1,30 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
readonly paragraph: {
|
|
3
|
+
readonly group: "Text (Vitus-Labs)";
|
|
3
4
|
readonly type: "boolean";
|
|
4
|
-
readonly
|
|
5
|
+
readonly description: "Changes a behavior of inline text to become **block** text. Also changes HTML **tag** to `p`";
|
|
5
6
|
};
|
|
6
7
|
readonly tag: {
|
|
8
|
+
readonly group: "Text (Vitus-Labs)";
|
|
7
9
|
readonly type: "select";
|
|
8
10
|
readonly options: readonly ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "meter", "nav", "object", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "small", "source", "span", "strong", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "var", "video", "wbr"];
|
|
9
|
-
readonly group: "Text";
|
|
10
11
|
};
|
|
11
12
|
readonly children: {
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
13
|
+
readonly group: "Text (Vitus-Labs)";
|
|
14
|
+
readonly type: "";
|
|
15
|
+
readonly valueType: "ReactNode";
|
|
16
|
+
readonly description: "React children. Priorities when rendering are **children** → **label**, therefore _children_ has the highest priority.";
|
|
14
17
|
};
|
|
15
18
|
readonly label: {
|
|
19
|
+
readonly group: "Text (Vitus-Labs)";
|
|
16
20
|
readonly type: "text";
|
|
17
|
-
readonly
|
|
21
|
+
readonly valueType: "ReactNode";
|
|
22
|
+
readonly description: "A prop which can be used instead of _children_. Priorities when rendering are **children** → **label**, therefore _label_ has lower priority than _children_.";
|
|
18
23
|
};
|
|
19
24
|
readonly extendCss: {
|
|
25
|
+
readonly group: "Text (Vitus-Labs)";
|
|
20
26
|
readonly type: "text";
|
|
21
|
-
readonly
|
|
27
|
+
readonly description: "An additional styling prop to enhance Text element CSS styles.";
|
|
22
28
|
};
|
|
23
29
|
};
|
|
24
30
|
export default _default;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import React, { FC, ComponentType } from 'react';
|
|
1
|
+
import React, { FC, ComponentType, ReactNode } from 'react';
|
|
2
2
|
declare type Context = {
|
|
3
3
|
component: ComponentType;
|
|
4
4
|
};
|
|
5
5
|
export declare const context: React.Context<Context>;
|
|
6
6
|
export declare const useContext: () => Context;
|
|
7
|
-
declare const Provider: FC<Context
|
|
7
|
+
declare const Provider: FC<Context & {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}>;
|
|
8
10
|
export default Provider;
|