@vitus-labs/rocketstories 0.15.2 → 0.16.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/analysis/vitus-labs-rocketstories.umd.js.html +1 -1
- package/lib/types/controls/element.d.ts +1 -1
- package/lib/types/controls/text.d.ts +1 -1
- package/lib/types/utils/controls/constants.d.ts +1 -1
- package/lib/vitus-labs-rocketstories.js +9 -9
- package/lib/vitus-labs-rocketstories.umd.js +11 -11
- package/package.json +10 -10
|
@@ -7060,7 +7060,7 @@ var drawChart = (function (exports) {
|
|
|
7060
7060
|
</script>
|
|
7061
7061
|
<script>
|
|
7062
7062
|
/*<!--*/
|
|
7063
|
-
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":"
|
|
7063
|
+
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":"cf92-1"},{"name":"src","children":[{"name":"components/NotFound.tsx","uid":"cf92-3"},{"name":"utils","children":[{"uid":"cf92-5","name":"theme.ts"},{"uid":"cf92-7","name":"code.ts"},{"name":"controls","children":[{"uid":"cf92-11","name":"attrs.ts"},{"uid":"cf92-13","name":"dimensionToControls.ts"},{"uid":"cf92-15","name":"disableControls.ts"},{"uid":"cf92-17","name":"filterDefaultValues.ts"},{"uid":"cf92-19","name":"constants.ts"},{"uid":"cf92-21","name":"makeControls.ts"},{"uid":"cf92-33","name":"valuesToControls.ts"}]},{"uid":"cf92-37","name":"dimensions.ts"}]},{"name":"constants/controls.ts","uid":"cf92-9"},{"name":"controls","children":[{"uid":"cf92-23","name":"element.ts"},{"uid":"cf92-25","name":"list.ts"},{"uid":"cf92-27","name":"overlay.ts"},{"uid":"cf92-29","name":"rocketstyle.ts"},{"uid":"cf92-31","name":"text.ts"}]},{"name":"stories","children":[{"uid":"cf92-35","name":"dimension.tsx"},{"uid":"cf92-39","name":"main.tsx"},{"uid":"cf92-41","name":"story.tsx"}]},{"name":"decorators/Theme.tsx","uid":"cf92-43"},{"uid":"cf92-45","name":"rocketstories.tsx"},{"uid":"cf92-47","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"cf92-1":{"renderedLength":1544,"gzipLength":619,"brotliLength":0,"mainUid":"cf92-0"},"cf92-3":{"renderedLength":236,"gzipLength":202,"brotliLength":0,"mainUid":"cf92-2"},"cf92-5":{"renderedLength":113,"gzipLength":129,"brotliLength":0,"mainUid":"cf92-4"},"cf92-7":{"renderedLength":5191,"gzipLength":1178,"brotliLength":0,"mainUid":"cf92-6"},"cf92-9":{"renderedLength":246,"gzipLength":141,"brotliLength":0,"mainUid":"cf92-8"},"cf92-11":{"renderedLength":537,"gzipLength":300,"brotliLength":0,"mainUid":"cf92-10"},"cf92-13":{"renderedLength":454,"gzipLength":254,"brotliLength":0,"mainUid":"cf92-12"},"cf92-15":{"renderedLength":545,"gzipLength":275,"brotliLength":0,"mainUid":"cf92-14"},"cf92-17":{"renderedLength":220,"gzipLength":170,"brotliLength":0,"mainUid":"cf92-16"},"cf92-19":{"renderedLength":685,"gzipLength":291,"brotliLength":0,"mainUid":"cf92-18"},"cf92-21":{"renderedLength":556,"gzipLength":282,"brotliLength":0,"mainUid":"cf92-20"},"cf92-23":{"renderedLength":5519,"gzipLength":1015,"brotliLength":0,"mainUid":"cf92-22"},"cf92-25":{"renderedLength":1731,"gzipLength":525,"brotliLength":0,"mainUid":"cf92-24"},"cf92-27":{"renderedLength":2567,"gzipLength":578,"brotliLength":0,"mainUid":"cf92-26"},"cf92-29":{"renderedLength":687,"gzipLength":158,"brotliLength":0,"mainUid":"cf92-28"},"cf92-31":{"renderedLength":408,"gzipLength":154,"brotliLength":0,"mainUid":"cf92-30"},"cf92-33":{"renderedLength":2589,"gzipLength":757,"brotliLength":0,"mainUid":"cf92-32"},"cf92-35":{"renderedLength":3022,"gzipLength":906,"brotliLength":0,"mainUid":"cf92-34"},"cf92-37":{"renderedLength":339,"gzipLength":238,"brotliLength":0,"mainUid":"cf92-36"},"cf92-39":{"renderedLength":2625,"gzipLength":730,"brotliLength":0,"mainUid":"cf92-38"},"cf92-41":{"renderedLength":645,"gzipLength":293,"brotliLength":0,"mainUid":"cf92-40"},"cf92-43":{"renderedLength":269,"gzipLength":197,"brotliLength":0,"mainUid":"cf92-42"},"cf92-45":{"renderedLength":2285,"gzipLength":541,"brotliLength":0,"mainUid":"cf92-44"},"cf92-47":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"cf92-46"}},"nodeMetas":{"cf92-0":{"id":"/Users/vitbokisch/Dev/vitus-labs/ui-system/packages/rocketstyle/lib/vitus-labs-rocketstyle.module.js","moduleParts":{"vitus-labs-rocketstories.js":"cf92-1"},"imported":[{"uid":"cf92-48"},{"uid":"cf92-50"},{"uid":"cf92-51"}],"importedBy":[{"uid":"cf92-44"},{"uid":"cf92-42"}]},"cf92-2":{"id":"/src/components/NotFound.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cf92-3"},"imported":[{"uid":"cf92-50"},{"uid":"cf92-48"}],"importedBy":[{"uid":"cf92-34"}]},"cf92-4":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-5"},"imported":[],"importedBy":[{"uid":"cf92-42"},{"uid":"cf92-34"},{"uid":"cf92-38"}]},"cf92-6":{"id":"/src/utils/code.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-7"},"imported":[{"uid":"cf92-48"}],"importedBy":[{"uid":"cf92-34"},{"uid":"cf92-38"}]},"cf92-8":{"id":"/src/constants/controls.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-9"},"imported":[],"importedBy":[{"uid":"cf92-10"},{"uid":"cf92-18"}]},"cf92-10":{"id":"/src/utils/controls/attrs.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-11"},"imported":[{"uid":"cf92-48"},{"uid":"cf92-8"}],"importedBy":[{"uid":"cf92-53"}]},"cf92-12":{"id":"/src/utils/controls/dimensionToControls.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-13"},"imported":[],"importedBy":[{"uid":"cf92-53"}]},"cf92-14":{"id":"/src/utils/controls/disableControls.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-15"},"imported":[],"importedBy":[{"uid":"cf92-53"}]},"cf92-16":{"id":"/src/utils/controls/filterDefaultValues.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-17"},"imported":[{"uid":"cf92-48"}],"importedBy":[{"uid":"cf92-40"},{"uid":"cf92-53"}]},"cf92-18":{"id":"/src/utils/controls/constants.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-19"},"imported":[{"uid":"cf92-48"},{"uid":"cf92-8"}],"importedBy":[{"uid":"cf92-20"}]},"cf92-20":{"id":"/src/utils/controls/makeControls.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-21"},"imported":[{"uid":"cf92-18"}],"importedBy":[{"uid":"cf92-53"}]},"cf92-22":{"id":"/src/controls/element.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-23"},"imported":[{"uid":"cf92-48"}],"importedBy":[{"uid":"cf92-54"}]},"cf92-24":{"id":"/src/controls/list.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-25"},"imported":[],"importedBy":[{"uid":"cf92-54"}]},"cf92-26":{"id":"/src/controls/overlay.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-27"},"imported":[],"importedBy":[{"uid":"cf92-54"}]},"cf92-28":{"id":"/src/controls/rocketstyle.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-29"},"imported":[],"importedBy":[{"uid":"cf92-54"}]},"cf92-30":{"id":"/src/controls/text.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-31"},"imported":[{"uid":"cf92-48"}],"importedBy":[{"uid":"cf92-54"}]},"cf92-32":{"id":"/src/utils/controls/valuesToControls.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-33"},"imported":[{"uid":"cf92-54"}],"importedBy":[{"uid":"cf92-53"}]},"cf92-34":{"id":"/src/stories/dimension.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cf92-35"},"imported":[{"uid":"cf92-50"},{"uid":"cf92-48"},{"uid":"cf92-2"},{"uid":"cf92-4"},{"uid":"cf92-6"},{"uid":"cf92-53"}],"importedBy":[{"uid":"cf92-49"}]},"cf92-36":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-37"},"imported":[],"importedBy":[{"uid":"cf92-38"}]},"cf92-38":{"id":"/src/stories/main.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cf92-39"},"imported":[{"uid":"cf92-50"},{"uid":"cf92-48"},{"uid":"cf92-4"},{"uid":"cf92-6"},{"uid":"cf92-36"},{"uid":"cf92-53"}],"importedBy":[{"uid":"cf92-49"}]},"cf92-40":{"id":"/src/stories/story.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cf92-41"},"imported":[{"uid":"cf92-50"},{"uid":"cf92-53"},{"uid":"cf92-16"}],"importedBy":[{"uid":"cf92-49"}]},"cf92-42":{"id":"/src/decorators/Theme.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cf92-43"},"imported":[{"uid":"cf92-50"},{"uid":"cf92-0"},{"uid":"cf92-52"},{"uid":"cf92-4"}],"importedBy":[{"uid":"cf92-44"}]},"cf92-44":{"id":"/src/rocketstories.tsx","moduleParts":{"vitus-labs-rocketstories.js":"cf92-45"},"imported":[{"uid":"cf92-48"},{"uid":"cf92-0"},{"uid":"cf92-49"},{"uid":"cf92-42"}],"importedBy":[{"uid":"cf92-46"}]},"cf92-46":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstories.js":"cf92-47"},"imported":[{"uid":"cf92-44"}],"importedBy":[],"isEntry":true},"cf92-48":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"cf92-44"},{"uid":"cf92-0"},{"uid":"cf92-34"},{"uid":"cf92-38"},{"uid":"cf92-2"},{"uid":"cf92-6"},{"uid":"cf92-16"},{"uid":"cf92-10"},{"uid":"cf92-18"},{"uid":"cf92-22"},{"uid":"cf92-30"}],"isExternal":true},"cf92-49":{"id":"/src/stories/index.ts","moduleParts":{},"imported":[{"uid":"cf92-34"},{"uid":"cf92-38"},{"uid":"cf92-40"}],"importedBy":[{"uid":"cf92-44"}]},"cf92-50":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"cf92-0"},{"uid":"cf92-42"},{"uid":"cf92-34"},{"uid":"cf92-38"},{"uid":"cf92-40"},{"uid":"cf92-2"}],"isExternal":true},"cf92-51":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"cf92-0"}],"isExternal":true},"cf92-52":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"cf92-42"}],"isExternal":true},"cf92-53":{"id":"/src/utils/controls/index.ts","moduleParts":{},"imported":[{"uid":"cf92-10"},{"uid":"cf92-12"},{"uid":"cf92-14"},{"uid":"cf92-16"},{"uid":"cf92-20"},{"uid":"cf92-32"}],"importedBy":[{"uid":"cf92-34"},{"uid":"cf92-38"},{"uid":"cf92-40"}]},"cf92-54":{"id":"/src/controls/index.ts","moduleParts":{},"imported":[{"uid":"cf92-22"},{"uid":"cf92-24"},{"uid":"cf92-26"},{"uid":"cf92-28"},{"uid":"cf92-30"}],"importedBy":[{"uid":"cf92-32"}]}},"env":{"rollup":"2.60.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
7064
7064
|
|
|
7065
7065
|
const run = () => {
|
|
7066
7066
|
const width = window.innerWidth;
|
|
@@ -7060,7 +7060,7 @@ var drawChart = (function (exports) {
|
|
|
7060
7060
|
</script>
|
|
7061
7061
|
<script>
|
|
7062
7062
|
/*<!--*/
|
|
7063
|
-
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":"
|
|
7063
|
+
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":"cf92-56"},{"name":"src","children":[{"name":"components/NotFound.tsx","uid":"cf92-58"},{"name":"utils","children":[{"uid":"cf92-60","name":"theme.ts"},{"uid":"cf92-62","name":"code.ts"},{"name":"controls","children":[{"uid":"cf92-66","name":"attrs.ts"},{"uid":"cf92-68","name":"dimensionToControls.ts"},{"uid":"cf92-70","name":"disableControls.ts"},{"uid":"cf92-72","name":"filterDefaultValues.ts"},{"uid":"cf92-74","name":"constants.ts"},{"uid":"cf92-76","name":"makeControls.ts"},{"uid":"cf92-88","name":"valuesToControls.ts"}]},{"uid":"cf92-92","name":"dimensions.ts"}]},{"name":"constants/controls.ts","uid":"cf92-64"},{"name":"controls","children":[{"uid":"cf92-78","name":"element.ts"},{"uid":"cf92-80","name":"list.ts"},{"uid":"cf92-82","name":"overlay.ts"},{"uid":"cf92-84","name":"rocketstyle.ts"},{"uid":"cf92-86","name":"text.ts"}]},{"name":"stories","children":[{"uid":"cf92-90","name":"dimension.tsx"},{"uid":"cf92-94","name":"main.tsx"},{"uid":"cf92-96","name":"story.tsx"}]},{"name":"decorators/Theme.tsx","uid":"cf92-98"},{"uid":"cf92-100","name":"rocketstories.tsx"},{"uid":"cf92-102","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"cf92-56":{"renderedLength":1444,"gzipLength":596,"brotliLength":0,"mainUid":"cf92-55"},"cf92-58":{"renderedLength":211,"gzipLength":183,"brotliLength":0,"mainUid":"cf92-57"},"cf92-60":{"renderedLength":113,"gzipLength":129,"brotliLength":0,"mainUid":"cf92-59"},"cf92-62":{"renderedLength":5176,"gzipLength":1176,"brotliLength":0,"mainUid":"cf92-61"},"cf92-64":{"renderedLength":246,"gzipLength":141,"brotliLength":0,"mainUid":"cf92-63"},"cf92-66":{"renderedLength":532,"gzipLength":297,"brotliLength":0,"mainUid":"cf92-65"},"cf92-68":{"renderedLength":454,"gzipLength":254,"brotliLength":0,"mainUid":"cf92-67"},"cf92-70":{"renderedLength":545,"gzipLength":275,"brotliLength":0,"mainUid":"cf92-69"},"cf92-72":{"renderedLength":215,"gzipLength":167,"brotliLength":0,"mainUid":"cf92-71"},"cf92-74":{"renderedLength":680,"gzipLength":286,"brotliLength":0,"mainUid":"cf92-73"},"cf92-76":{"renderedLength":556,"gzipLength":282,"brotliLength":0,"mainUid":"cf92-75"},"cf92-78":{"renderedLength":5514,"gzipLength":1011,"brotliLength":0,"mainUid":"cf92-77"},"cf92-80":{"renderedLength":1731,"gzipLength":525,"brotliLength":0,"mainUid":"cf92-79"},"cf92-82":{"renderedLength":2567,"gzipLength":578,"brotliLength":0,"mainUid":"cf92-81"},"cf92-84":{"renderedLength":687,"gzipLength":158,"brotliLength":0,"mainUid":"cf92-83"},"cf92-86":{"renderedLength":403,"gzipLength":149,"brotliLength":0,"mainUid":"cf92-85"},"cf92-88":{"renderedLength":2589,"gzipLength":757,"brotliLength":0,"mainUid":"cf92-87"},"cf92-90":{"renderedLength":2946,"gzipLength":887,"brotliLength":0,"mainUid":"cf92-89"},"cf92-92":{"renderedLength":339,"gzipLength":238,"brotliLength":0,"mainUid":"cf92-91"},"cf92-94":{"renderedLength":2574,"gzipLength":713,"brotliLength":0,"mainUid":"cf92-93"},"cf92-96":{"renderedLength":639,"gzipLength":288,"brotliLength":0,"mainUid":"cf92-95"},"cf92-98":{"renderedLength":222,"gzipLength":182,"brotliLength":0,"mainUid":"cf92-97"},"cf92-100":{"renderedLength":2265,"gzipLength":538,"brotliLength":0,"mainUid":"cf92-99"},"cf92-102":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"cf92-101"}},"nodeMetas":{"cf92-55":{"id":"/Users/vitbokisch/Dev/vitus-labs/ui-system/packages/rocketstyle/lib/vitus-labs-rocketstyle.module.js","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-56"},"imported":[{"uid":"cf92-103"},{"uid":"cf92-105"},{"uid":"cf92-106"}],"importedBy":[{"uid":"cf92-99"},{"uid":"cf92-97"}]},"cf92-57":{"id":"/src/components/NotFound.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-58"},"imported":[{"uid":"cf92-105"},{"uid":"cf92-103"}],"importedBy":[{"uid":"cf92-89"}]},"cf92-59":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-60"},"imported":[],"importedBy":[{"uid":"cf92-97"},{"uid":"cf92-89"},{"uid":"cf92-93"}]},"cf92-61":{"id":"/src/utils/code.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-62"},"imported":[{"uid":"cf92-103"}],"importedBy":[{"uid":"cf92-89"},{"uid":"cf92-93"}]},"cf92-63":{"id":"/src/constants/controls.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-64"},"imported":[],"importedBy":[{"uid":"cf92-65"},{"uid":"cf92-73"}]},"cf92-65":{"id":"/src/utils/controls/attrs.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-66"},"imported":[{"uid":"cf92-103"},{"uid":"cf92-63"}],"importedBy":[{"uid":"cf92-108"}]},"cf92-67":{"id":"/src/utils/controls/dimensionToControls.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-68"},"imported":[],"importedBy":[{"uid":"cf92-108"}]},"cf92-69":{"id":"/src/utils/controls/disableControls.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-70"},"imported":[],"importedBy":[{"uid":"cf92-108"}]},"cf92-71":{"id":"/src/utils/controls/filterDefaultValues.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-72"},"imported":[{"uid":"cf92-103"}],"importedBy":[{"uid":"cf92-95"},{"uid":"cf92-108"}]},"cf92-73":{"id":"/src/utils/controls/constants.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-74"},"imported":[{"uid":"cf92-103"},{"uid":"cf92-63"}],"importedBy":[{"uid":"cf92-75"}]},"cf92-75":{"id":"/src/utils/controls/makeControls.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-76"},"imported":[{"uid":"cf92-73"}],"importedBy":[{"uid":"cf92-108"}]},"cf92-77":{"id":"/src/controls/element.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-78"},"imported":[{"uid":"cf92-103"}],"importedBy":[{"uid":"cf92-109"}]},"cf92-79":{"id":"/src/controls/list.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-80"},"imported":[],"importedBy":[{"uid":"cf92-109"}]},"cf92-81":{"id":"/src/controls/overlay.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-82"},"imported":[],"importedBy":[{"uid":"cf92-109"}]},"cf92-83":{"id":"/src/controls/rocketstyle.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-84"},"imported":[],"importedBy":[{"uid":"cf92-109"}]},"cf92-85":{"id":"/src/controls/text.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-86"},"imported":[{"uid":"cf92-103"}],"importedBy":[{"uid":"cf92-109"}]},"cf92-87":{"id":"/src/utils/controls/valuesToControls.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-88"},"imported":[{"uid":"cf92-109"}],"importedBy":[{"uid":"cf92-108"}]},"cf92-89":{"id":"/src/stories/dimension.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-90"},"imported":[{"uid":"cf92-105"},{"uid":"cf92-103"},{"uid":"cf92-57"},{"uid":"cf92-59"},{"uid":"cf92-61"},{"uid":"cf92-108"}],"importedBy":[{"uid":"cf92-104"}]},"cf92-91":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-92"},"imported":[],"importedBy":[{"uid":"cf92-93"}]},"cf92-93":{"id":"/src/stories/main.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-94"},"imported":[{"uid":"cf92-105"},{"uid":"cf92-103"},{"uid":"cf92-59"},{"uid":"cf92-61"},{"uid":"cf92-91"},{"uid":"cf92-108"}],"importedBy":[{"uid":"cf92-104"}]},"cf92-95":{"id":"/src/stories/story.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-96"},"imported":[{"uid":"cf92-105"},{"uid":"cf92-108"},{"uid":"cf92-71"}],"importedBy":[{"uid":"cf92-104"}]},"cf92-97":{"id":"/src/decorators/Theme.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-98"},"imported":[{"uid":"cf92-105"},{"uid":"cf92-55"},{"uid":"cf92-107"},{"uid":"cf92-59"}],"importedBy":[{"uid":"cf92-99"}]},"cf92-99":{"id":"/src/rocketstories.tsx","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-100"},"imported":[{"uid":"cf92-103"},{"uid":"cf92-55"},{"uid":"cf92-104"},{"uid":"cf92-97"}],"importedBy":[{"uid":"cf92-101"}]},"cf92-101":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstories.module.js":"cf92-102"},"imported":[{"uid":"cf92-99"}],"importedBy":[],"isEntry":true},"cf92-103":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"cf92-99"},{"uid":"cf92-55"},{"uid":"cf92-89"},{"uid":"cf92-93"},{"uid":"cf92-57"},{"uid":"cf92-61"},{"uid":"cf92-71"},{"uid":"cf92-65"},{"uid":"cf92-73"},{"uid":"cf92-77"},{"uid":"cf92-85"}],"isExternal":true},"cf92-104":{"id":"/src/stories/index.ts","moduleParts":{},"imported":[{"uid":"cf92-89"},{"uid":"cf92-93"},{"uid":"cf92-95"}],"importedBy":[{"uid":"cf92-99"}]},"cf92-105":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"cf92-55"},{"uid":"cf92-97"},{"uid":"cf92-89"},{"uid":"cf92-93"},{"uid":"cf92-95"},{"uid":"cf92-57"}],"isExternal":true},"cf92-106":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"cf92-55"}],"isExternal":true},"cf92-107":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"cf92-97"}],"isExternal":true},"cf92-108":{"id":"/src/utils/controls/index.ts","moduleParts":{},"imported":[{"uid":"cf92-65"},{"uid":"cf92-67"},{"uid":"cf92-69"},{"uid":"cf92-71"},{"uid":"cf92-75"},{"uid":"cf92-87"}],"importedBy":[{"uid":"cf92-89"},{"uid":"cf92-93"},{"uid":"cf92-95"}]},"cf92-109":{"id":"/src/controls/index.ts","moduleParts":{},"imported":[{"uid":"cf92-77"},{"uid":"cf92-79"},{"uid":"cf92-81"},{"uid":"cf92-83"},{"uid":"cf92-85"}],"importedBy":[{"uid":"cf92-87"}]}},"env":{"rollup":"2.60.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
7064
7064
|
|
|
7065
7065
|
const run = () => {
|
|
7066
7066
|
const width = window.innerWidth;
|
|
@@ -7060,7 +7060,7 @@ var drawChart = (function (exports) {
|
|
|
7060
7060
|
</script>
|
|
7061
7061
|
<script>
|
|
7062
7062
|
/*<!--*/
|
|
7063
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-rocketstories.umd.js","children":[{"name":"Users/vitbokisch/Dev/vitus-labs/ui-system/packages/rocketstyle/lib/vitus-labs-rocketstyle.module.js","uid":"
|
|
7063
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-rocketstories.umd.js","children":[{"name":"Users/vitbokisch/Dev/vitus-labs/ui-system/packages/rocketstyle/lib/vitus-labs-rocketstyle.module.js","uid":"cf92-111"},{"name":"src","children":[{"name":"components/NotFound.tsx","uid":"cf92-113"},{"name":"utils","children":[{"uid":"cf92-115","name":"theme.ts"},{"uid":"cf92-117","name":"code.ts"},{"name":"controls","children":[{"uid":"cf92-121","name":"attrs.ts"},{"uid":"cf92-123","name":"dimensionToControls.ts"},{"uid":"cf92-125","name":"disableControls.ts"},{"uid":"cf92-127","name":"filterDefaultValues.ts"},{"uid":"cf92-129","name":"constants.ts"},{"uid":"cf92-131","name":"makeControls.ts"},{"uid":"cf92-143","name":"valuesToControls.ts"}]},{"uid":"cf92-147","name":"dimensions.ts"}]},{"name":"constants/controls.ts","uid":"cf92-119"},{"name":"controls","children":[{"uid":"cf92-133","name":"element.ts"},{"uid":"cf92-135","name":"list.ts"},{"uid":"cf92-137","name":"overlay.ts"},{"uid":"cf92-139","name":"rocketstyle.ts"},{"uid":"cf92-141","name":"text.ts"}]},{"name":"stories","children":[{"uid":"cf92-145","name":"dimension.tsx"},{"uid":"cf92-149","name":"main.tsx"},{"uid":"cf92-151","name":"story.tsx"}]},{"name":"decorators/Theme.tsx","uid":"cf92-153"},{"uid":"cf92-155","name":"rocketstories.tsx"},{"uid":"cf92-157","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"cf92-111":{"renderedLength":1716,"gzipLength":627,"brotliLength":0,"mainUid":"cf92-110"},"cf92-113":{"renderedLength":248,"gzipLength":203,"brotliLength":0,"mainUid":"cf92-112"},"cf92-115":{"renderedLength":121,"gzipLength":132,"brotliLength":0,"mainUid":"cf92-114"},"cf92-117":{"renderedLength":5807,"gzipLength":1201,"brotliLength":0,"mainUid":"cf92-116"},"cf92-119":{"renderedLength":310,"gzipLength":147,"brotliLength":0,"mainUid":"cf92-118"},"cf92-121":{"renderedLength":593,"gzipLength":307,"brotliLength":0,"mainUid":"cf92-120"},"cf92-123":{"renderedLength":498,"gzipLength":257,"brotliLength":0,"mainUid":"cf92-122"},"cf92-125":{"renderedLength":601,"gzipLength":276,"brotliLength":0,"mainUid":"cf92-124"},"cf92-127":{"renderedLength":244,"gzipLength":171,"brotliLength":0,"mainUid":"cf92-126"},"cf92-129":{"renderedLength":793,"gzipLength":296,"brotliLength":0,"mainUid":"cf92-128"},"cf92-131":{"renderedLength":620,"gzipLength":286,"brotliLength":0,"mainUid":"cf92-130"},"cf92-133":{"renderedLength":6155,"gzipLength":1029,"brotliLength":0,"mainUid":"cf92-132"},"cf92-135":{"renderedLength":1935,"gzipLength":531,"brotliLength":0,"mainUid":"cf92-134"},"cf92-137":{"renderedLength":2943,"gzipLength":588,"brotliLength":0,"mainUid":"cf92-136"},"cf92-139":{"renderedLength":831,"gzipLength":164,"brotliLength":0,"mainUid":"cf92-138"},"cf92-141":{"renderedLength":500,"gzipLength":157,"brotliLength":0,"mainUid":"cf92-140"},"cf92-143":{"renderedLength":2893,"gzipLength":767,"brotliLength":0,"mainUid":"cf92-142"},"cf92-145":{"renderedLength":3298,"gzipLength":914,"brotliLength":0,"mainUid":"cf92-144"},"cf92-147":{"renderedLength":371,"gzipLength":242,"brotliLength":0,"mainUid":"cf92-146"},"cf92-149":{"renderedLength":2869,"gzipLength":740,"brotliLength":0,"mainUid":"cf92-148"},"cf92-151":{"renderedLength":721,"gzipLength":297,"brotliLength":0,"mainUid":"cf92-150"},"cf92-153":{"renderedLength":281,"gzipLength":200,"brotliLength":0,"mainUid":"cf92-152"},"cf92-155":{"renderedLength":2545,"gzipLength":544,"brotliLength":0,"mainUid":"cf92-154"},"cf92-157":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"cf92-156"}},"nodeMetas":{"cf92-110":{"id":"/Users/vitbokisch/Dev/vitus-labs/ui-system/packages/rocketstyle/lib/vitus-labs-rocketstyle.module.js","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-111"},"imported":[{"uid":"cf92-158"},{"uid":"cf92-160"},{"uid":"cf92-161"}],"importedBy":[{"uid":"cf92-154"},{"uid":"cf92-152"}]},"cf92-112":{"id":"/src/components/NotFound.tsx","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-113"},"imported":[{"uid":"cf92-160"},{"uid":"cf92-158"}],"importedBy":[{"uid":"cf92-144"}]},"cf92-114":{"id":"/src/utils/theme.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-115"},"imported":[],"importedBy":[{"uid":"cf92-152"},{"uid":"cf92-144"},{"uid":"cf92-148"}]},"cf92-116":{"id":"/src/utils/code.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-117"},"imported":[{"uid":"cf92-158"}],"importedBy":[{"uid":"cf92-144"},{"uid":"cf92-148"}]},"cf92-118":{"id":"/src/constants/controls.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-119"},"imported":[],"importedBy":[{"uid":"cf92-120"},{"uid":"cf92-128"}]},"cf92-120":{"id":"/src/utils/controls/attrs.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-121"},"imported":[{"uid":"cf92-158"},{"uid":"cf92-118"}],"importedBy":[{"uid":"cf92-163"}]},"cf92-122":{"id":"/src/utils/controls/dimensionToControls.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-123"},"imported":[],"importedBy":[{"uid":"cf92-163"}]},"cf92-124":{"id":"/src/utils/controls/disableControls.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-125"},"imported":[],"importedBy":[{"uid":"cf92-163"}]},"cf92-126":{"id":"/src/utils/controls/filterDefaultValues.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-127"},"imported":[{"uid":"cf92-158"}],"importedBy":[{"uid":"cf92-150"},{"uid":"cf92-163"}]},"cf92-128":{"id":"/src/utils/controls/constants.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-129"},"imported":[{"uid":"cf92-158"},{"uid":"cf92-118"}],"importedBy":[{"uid":"cf92-130"}]},"cf92-130":{"id":"/src/utils/controls/makeControls.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-131"},"imported":[{"uid":"cf92-128"}],"importedBy":[{"uid":"cf92-163"}]},"cf92-132":{"id":"/src/controls/element.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-133"},"imported":[{"uid":"cf92-158"}],"importedBy":[{"uid":"cf92-164"}]},"cf92-134":{"id":"/src/controls/list.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-135"},"imported":[],"importedBy":[{"uid":"cf92-164"}]},"cf92-136":{"id":"/src/controls/overlay.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-137"},"imported":[],"importedBy":[{"uid":"cf92-164"}]},"cf92-138":{"id":"/src/controls/rocketstyle.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-139"},"imported":[],"importedBy":[{"uid":"cf92-164"}]},"cf92-140":{"id":"/src/controls/text.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-141"},"imported":[{"uid":"cf92-158"}],"importedBy":[{"uid":"cf92-164"}]},"cf92-142":{"id":"/src/utils/controls/valuesToControls.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-143"},"imported":[{"uid":"cf92-164"}],"importedBy":[{"uid":"cf92-163"}]},"cf92-144":{"id":"/src/stories/dimension.tsx","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-145"},"imported":[{"uid":"cf92-160"},{"uid":"cf92-158"},{"uid":"cf92-112"},{"uid":"cf92-114"},{"uid":"cf92-116"},{"uid":"cf92-163"}],"importedBy":[{"uid":"cf92-159"}]},"cf92-146":{"id":"/src/utils/dimensions.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-147"},"imported":[],"importedBy":[{"uid":"cf92-148"}]},"cf92-148":{"id":"/src/stories/main.tsx","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-149"},"imported":[{"uid":"cf92-160"},{"uid":"cf92-158"},{"uid":"cf92-114"},{"uid":"cf92-116"},{"uid":"cf92-146"},{"uid":"cf92-163"}],"importedBy":[{"uid":"cf92-159"}]},"cf92-150":{"id":"/src/stories/story.tsx","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-151"},"imported":[{"uid":"cf92-160"},{"uid":"cf92-163"},{"uid":"cf92-126"}],"importedBy":[{"uid":"cf92-159"}]},"cf92-152":{"id":"/src/decorators/Theme.tsx","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-153"},"imported":[{"uid":"cf92-160"},{"uid":"cf92-110"},{"uid":"cf92-162"},{"uid":"cf92-114"}],"importedBy":[{"uid":"cf92-154"}]},"cf92-154":{"id":"/src/rocketstories.tsx","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-155"},"imported":[{"uid":"cf92-158"},{"uid":"cf92-110"},{"uid":"cf92-159"},{"uid":"cf92-152"}],"importedBy":[{"uid":"cf92-156"}]},"cf92-156":{"id":"/src/index.ts","moduleParts":{"vitus-labs-rocketstories.umd.js":"cf92-157"},"imported":[{"uid":"cf92-154"}],"importedBy":[],"isEntry":true},"cf92-158":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"cf92-154"},{"uid":"cf92-110"},{"uid":"cf92-144"},{"uid":"cf92-148"},{"uid":"cf92-112"},{"uid":"cf92-116"},{"uid":"cf92-126"},{"uid":"cf92-120"},{"uid":"cf92-128"},{"uid":"cf92-132"},{"uid":"cf92-140"}],"isExternal":true},"cf92-159":{"id":"/src/stories/index.ts","moduleParts":{},"imported":[{"uid":"cf92-144"},{"uid":"cf92-148"},{"uid":"cf92-150"}],"importedBy":[{"uid":"cf92-154"}]},"cf92-160":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"cf92-110"},{"uid":"cf92-152"},{"uid":"cf92-144"},{"uid":"cf92-148"},{"uid":"cf92-150"},{"uid":"cf92-112"}],"isExternal":true},"cf92-161":{"id":"hoist-non-react-statics","moduleParts":{},"imported":[],"importedBy":[{"uid":"cf92-110"}],"isExternal":true},"cf92-162":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"cf92-152"}],"isExternal":true},"cf92-163":{"id":"/src/utils/controls/index.ts","moduleParts":{},"imported":[{"uid":"cf92-120"},{"uid":"cf92-122"},{"uid":"cf92-124"},{"uid":"cf92-126"},{"uid":"cf92-130"},{"uid":"cf92-142"}],"importedBy":[{"uid":"cf92-144"},{"uid":"cf92-148"},{"uid":"cf92-150"}]},"cf92-164":{"id":"/src/controls/index.ts","moduleParts":{},"imported":[{"uid":"cf92-132"},{"uid":"cf92-134"},{"uid":"cf92-136"},{"uid":"cf92-138"},{"uid":"cf92-140"}],"importedBy":[{"uid":"cf92-142"}]}},"env":{"rollup":"2.60.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
7064
7064
|
|
|
7065
7065
|
const run = () => {
|
|
7066
7066
|
const width = window.innerWidth;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
readonly tag: {
|
|
3
3
|
readonly type: "select";
|
|
4
|
-
readonly options: readonly ["a", "abbr", "
|
|
4
|
+
readonly options: readonly ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "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", "head", "header", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "link", "main", "map", "mark", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr"];
|
|
5
5
|
readonly group: "Element";
|
|
6
6
|
readonly valueType: "HTMLTag";
|
|
7
7
|
readonly description: "A prop which will change HTML tag of the element";
|
|
@@ -5,7 +5,7 @@ declare const _default: {
|
|
|
5
5
|
};
|
|
6
6
|
readonly tag: {
|
|
7
7
|
readonly type: "select";
|
|
8
|
-
readonly options: readonly ["a", "abbr", "
|
|
8
|
+
readonly options: readonly ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "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", "head", "header", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "link", "main", "map", "mark", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr"];
|
|
9
9
|
readonly group: "Text";
|
|
10
10
|
};
|
|
11
11
|
readonly children: {
|
|
@@ -3,7 +3,7 @@ export declare const CONTROL_MAP: {
|
|
|
3
3
|
readonly tag: "select";
|
|
4
4
|
};
|
|
5
5
|
export declare const CONTROL_OPTIONS: {
|
|
6
|
-
readonly tag: readonly ["a", "abbr", "
|
|
6
|
+
readonly tag: readonly ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "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", "head", "header", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "link", "main", "map", "mark", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr"];
|
|
7
7
|
};
|
|
8
8
|
export declare const CONTROL_TYPES_GROUPS: {
|
|
9
9
|
readonly text: "Simple Values";
|
|
@@ -18,11 +18,11 @@ const Provider = ({ theme, mode, children, inversed, provider: RocketstyleProvid
|
|
|
18
18
|
const isDark = ctxMode === 'dark';
|
|
19
19
|
const inversedTheme = isDark ? 'light' : 'dark';
|
|
20
20
|
if (!InnerProvider)
|
|
21
|
-
return React__default[
|
|
22
|
-
return (React__default[
|
|
21
|
+
return React__default["default"].createElement(React__default["default"].Fragment, null, children);
|
|
22
|
+
return (React__default["default"].createElement(InnerProvider, { mode: inversedTheme, isDark: isDark, isLight: !isDark, ...ctx }, children));
|
|
23
23
|
}
|
|
24
24
|
const isDark = mode === 'dark';
|
|
25
|
-
return (React__default[
|
|
25
|
+
return (React__default["default"].createElement(RocketstyleProvider, { mode: mode, isDark: isDark, isLight: !isDark, theme: theme, provider: RocketstyleProvider }, children));
|
|
26
26
|
};
|
|
27
27
|
const THEME_MODES = {
|
|
28
28
|
light: true,
|
|
@@ -61,7 +61,7 @@ const Wrapper = core.config.styled.div `
|
|
|
61
61
|
display: flex;
|
|
62
62
|
font-size: 32px;
|
|
63
63
|
`;
|
|
64
|
-
const component = () => React__default[
|
|
64
|
+
const component = () => React__default["default"].createElement(Wrapper, null, "Nothing here");
|
|
65
65
|
component.displayName = '@vitus-labs/rocketstories/Empty';
|
|
66
66
|
|
|
67
67
|
/* eslint-disable no-underscore-dangle */
|
|
@@ -826,7 +826,7 @@ const makeDimensionStories = ({ name, component: component$1, dimension, attrs =
|
|
|
826
826
|
// ------------------------------------------------------
|
|
827
827
|
// STORY COMPONENT
|
|
828
828
|
// ------------------------------------------------------
|
|
829
|
-
const Enhanced = (props) => (React__default[
|
|
829
|
+
const Enhanced = (props) => (React__default["default"].createElement(React__default["default"].Fragment, null, Object.keys(currentDimension).map((item) => (React__default["default"].createElement("div", { "data-story": item }, React.createElement(component$1, {
|
|
830
830
|
...props,
|
|
831
831
|
[dimension]: isMultiKey ? [item] : item,
|
|
832
832
|
}))))));
|
|
@@ -893,7 +893,7 @@ const mainStory = ({ name, component, attrs }) => {
|
|
|
893
893
|
// ------------------------------------------------------
|
|
894
894
|
// STORY COMPONENT
|
|
895
895
|
// ------------------------------------------------------
|
|
896
|
-
const Enhanced = (props) => React__default[
|
|
896
|
+
const Enhanced = (props) => React__default["default"].createElement(React__default["default"].Fragment, null, React.createElement(component, props));
|
|
897
897
|
Enhanced.args = args;
|
|
898
898
|
Enhanced.argTypes = {
|
|
899
899
|
...storybookControls,
|
|
@@ -940,8 +940,8 @@ const story = ({ component, attrs }) => {
|
|
|
940
940
|
};
|
|
941
941
|
|
|
942
942
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
943
|
-
const ThemeDecorator = (Story) => (React__default[
|
|
944
|
-
React__default[
|
|
943
|
+
const ThemeDecorator = (Story) => (React__default["default"].createElement(Provider, { provider: unistyle.Provider, mode: "light", theme: getTheme() },
|
|
944
|
+
React__default["default"].createElement(Story, null)));
|
|
945
945
|
|
|
946
946
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
947
947
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -1009,5 +1009,5 @@ const createRocketstories = (options, defaultOptions) => {
|
|
|
1009
1009
|
};
|
|
1010
1010
|
};
|
|
1011
1011
|
|
|
1012
|
-
exports[
|
|
1012
|
+
exports["default"] = rocketstories;
|
|
1013
1013
|
//# sourceMappingURL=vitus-labs-rocketstories.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@vitus-labs/core'), require('react'), require('hoist-non-react-statics'), require('@vitus-labs/unistyle')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', '@vitus-labs/core', 'react', 'hoist-non-react-statics', '@vitus-labs/unistyle'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.vitusLabsRocketstories = {}, global.core, global.React, global.hoistNonReactStatics, global.unistyle));
|
|
5
|
-
}(this, (function (exports, core, React, hoistNonReactStatics, unistyle) { 'use strict';
|
|
5
|
+
})(this, (function (exports, core, React, hoistNonReactStatics, unistyle) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
const isDark = ctxMode === 'dark';
|
|
16
16
|
const inversedTheme = isDark ? 'light' : 'dark';
|
|
17
17
|
if (!InnerProvider)
|
|
18
|
-
return React__default[
|
|
19
|
-
return (React__default[
|
|
18
|
+
return React__default["default"].createElement(React__default["default"].Fragment, null, children);
|
|
19
|
+
return (React__default["default"].createElement(InnerProvider, { mode: inversedTheme, isDark: isDark, isLight: !isDark, ...ctx }, children));
|
|
20
20
|
}
|
|
21
21
|
const isDark = mode === 'dark';
|
|
22
|
-
return (React__default[
|
|
22
|
+
return (React__default["default"].createElement(RocketstyleProvider, { mode: mode, isDark: isDark, isLight: !isDark, theme: theme, provider: RocketstyleProvider }, children));
|
|
23
23
|
};
|
|
24
24
|
const THEME_MODES = {
|
|
25
25
|
light: true,
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
display: flex;
|
|
59
59
|
font-size: 32px;
|
|
60
60
|
`;
|
|
61
|
-
const component = () => React__default[
|
|
61
|
+
const component = () => React__default["default"].createElement(Wrapper, null, "Nothing here");
|
|
62
62
|
component.displayName = '@vitus-labs/rocketstories/Empty';
|
|
63
63
|
|
|
64
64
|
/* eslint-disable no-underscore-dangle */
|
|
@@ -823,7 +823,7 @@
|
|
|
823
823
|
// ------------------------------------------------------
|
|
824
824
|
// STORY COMPONENT
|
|
825
825
|
// ------------------------------------------------------
|
|
826
|
-
const Enhanced = (props) => (React__default[
|
|
826
|
+
const Enhanced = (props) => (React__default["default"].createElement(React__default["default"].Fragment, null, Object.keys(currentDimension).map((item) => (React__default["default"].createElement("div", { "data-story": item }, React.createElement(component$1, {
|
|
827
827
|
...props,
|
|
828
828
|
[dimension]: isMultiKey ? [item] : item,
|
|
829
829
|
}))))));
|
|
@@ -890,7 +890,7 @@
|
|
|
890
890
|
// ------------------------------------------------------
|
|
891
891
|
// STORY COMPONENT
|
|
892
892
|
// ------------------------------------------------------
|
|
893
|
-
const Enhanced = (props) => React__default[
|
|
893
|
+
const Enhanced = (props) => React__default["default"].createElement(React__default["default"].Fragment, null, React.createElement(component, props));
|
|
894
894
|
Enhanced.args = args;
|
|
895
895
|
Enhanced.argTypes = {
|
|
896
896
|
...storybookControls,
|
|
@@ -937,8 +937,8 @@
|
|
|
937
937
|
};
|
|
938
938
|
|
|
939
939
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
940
|
-
const ThemeDecorator = (Story) => (React__default[
|
|
941
|
-
React__default[
|
|
940
|
+
const ThemeDecorator = (Story) => (React__default["default"].createElement(Provider, { provider: unistyle.Provider, mode: "light", theme: getTheme() },
|
|
941
|
+
React__default["default"].createElement(Story, null)));
|
|
942
942
|
|
|
943
943
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
944
944
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -1006,9 +1006,9 @@
|
|
|
1006
1006
|
};
|
|
1007
1007
|
};
|
|
1008
1008
|
|
|
1009
|
-
exports[
|
|
1009
|
+
exports["default"] = rocketstories;
|
|
1010
1010
|
|
|
1011
1011
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1012
1012
|
|
|
1013
|
-
}))
|
|
1013
|
+
}));
|
|
1014
1014
|
//# sourceMappingURL=vitus-labs-rocketstories.umd.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitus-labs/rocketstories",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Vit Bokisch <vit@bokisch.cz>",
|
|
6
6
|
"maintainers": [
|
|
@@ -60,17 +60,17 @@
|
|
|
60
60
|
"react": ">= 16.7"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@vitus-labs/elements": "^0.
|
|
63
|
+
"@vitus-labs/elements": "^0.16.0",
|
|
64
64
|
"hoist-non-react-statics": "^3.1.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@vitus-labs/core": "^0.
|
|
68
|
-
"@vitus-labs/rocketstyle": "^0.
|
|
69
|
-
"@vitus-labs/tools-babel": "^0.
|
|
70
|
-
"@vitus-labs/tools-rollup": "^0.
|
|
71
|
-
"@vitus-labs/tools-storybook": "^0.
|
|
72
|
-
"@vitus-labs/tools-typescript": "^0.
|
|
73
|
-
"@vitus-labs/unistyle": "^0.
|
|
67
|
+
"@vitus-labs/core": "^0.16.0",
|
|
68
|
+
"@vitus-labs/rocketstyle": "^0.16.0",
|
|
69
|
+
"@vitus-labs/tools-babel": "^0.19.0",
|
|
70
|
+
"@vitus-labs/tools-rollup": "^0.19.0",
|
|
71
|
+
"@vitus-labs/tools-storybook": "^0.19.0",
|
|
72
|
+
"@vitus-labs/tools-typescript": "^0.19.0",
|
|
73
|
+
"@vitus-labs/unistyle": "^0.16.0"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "5c2c0471f1c6d444227c70609c85075f5440c5a1"
|
|
76
76
|
}
|