@vitus-labs/unistyle 0.23.0-alpha.2 → 0.24.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-unistyle.browser.js.html +1 -1
- package/lib/analysis/vitus-labs-unistyle.js.html +1 -1
- package/lib/analysis/vitus-labs-unistyle.module.js.html +1 -1
- package/lib/analysis/vitus-labs-unistyle.native.js.html +1 -1
- package/lib/analysis/vitus-labs-unistyle.umd.js.html +1 -1
- package/lib/analysis/vitus-labs-unistyle.umd.min.js.html +1 -1
- package/lib/index.d.ts +17 -24
- package/lib/types/index.d.ts +2 -3
- package/lib/types/styles/extendCss.d.ts +1 -1
- package/lib/types/styles/shorthands/index.d.ts +3 -0
- package/lib/types/styles/shorthands/spacingShorthand.d.ts +12 -0
- package/lib/types/styles/styles/types.d.ts +9 -11
- package/lib/types/styles/styles/utils.d.ts +11 -0
- package/lib/types/types.d.ts +6 -0
- package/lib/types/units/value.d.ts +2 -1
- package/lib/vitus-labs-unistyle.browser.js +93 -36
- package/lib/vitus-labs-unistyle.browser.js.map +1 -1
- package/lib/vitus-labs-unistyle.js +90 -30
- package/lib/vitus-labs-unistyle.js.map +1 -1
- package/lib/vitus-labs-unistyle.module.js +93 -36
- package/lib/vitus-labs-unistyle.module.js.map +1 -1
- package/lib/vitus-labs-unistyle.native.js +93 -36
- package/lib/vitus-labs-unistyle.native.js.map +1 -1
- package/lib/vitus-labs-unistyle.umd.js +90 -30
- package/lib/vitus-labs-unistyle.umd.js.map +1 -1
- package/lib/vitus-labs-unistyle.umd.min.js +163 -171
- package/lib/vitus-labs-unistyle.umd.min.js.map +1 -1
- package/package.json +3 -3
- package/lib/types/hooks/index.d.ts +0 -3
- package/lib/types/hooks/useWindowResize.d.ts +0 -9
|
@@ -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-unistyle.browser.js","children":[{"name":"src","children":[{"name":"responsive","children":[{"uid":"
|
|
6427
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-unistyle.browser.js","children":[{"name":"src","children":[{"name":"responsive","children":[{"uid":"2f42-191","name":"breakpoints.ts"},{"uid":"2f42-193","name":"createMediaQueries.ts"},{"uid":"2f42-195","name":"normalizeTheme.ts"},{"uid":"2f42-197","name":"transformTheme.ts"},{"uid":"2f42-199","name":"optimizeTheme.ts"},{"uid":"2f42-201","name":"makeItResponsive.ts"},{"uid":"2f42-203","name":"sortBreakpoints.ts"}]},{"uid":"2f42-205","name":"context.tsx"},{"name":"units","children":[{"uid":"2f42-207","name":"stripUnit.ts"},{"uid":"2f42-209","name":"normalizeUnit.ts"},{"uid":"2f42-211","name":"value.ts"}]},{"name":"styles","children":[{"name":"shorthands/spacingShorthand.ts","uid":"2f42-213"},{"name":"styles/index.ts","uid":"2f42-215"},{"uid":"2f42-217","name":"alignContent.ts"},{"uid":"2f42-219","name":"extendCss.ts"}]},{"uid":"2f42-221","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"2f42-191":{"renderedLength":181,"gzipLength":120,"brotliLength":0,"mainUid":"2f42-190"},"2f42-193":{"renderedLength":755,"gzipLength":404,"brotliLength":0,"mainUid":"2f42-192"},"2f42-195":{"renderedLength":1776,"gzipLength":619,"brotliLength":0,"mainUid":"2f42-194"},"2f42-197":{"renderedLength":1372,"gzipLength":528,"brotliLength":0,"mainUid":"2f42-196"},"2f42-199":{"renderedLength":451,"gzipLength":233,"brotliLength":0,"mainUid":"2f42-198"},"2f42-201":{"renderedLength":1532,"gzipLength":571,"brotliLength":0,"mainUid":"2f42-200"},"2f42-203":{"renderedLength":160,"gzipLength":120,"brotliLength":0,"mainUid":"2f42-202"},"2f42-205":{"renderedLength":767,"gzipLength":369,"brotliLength":0,"mainUid":"2f42-204"},"2f42-207":{"renderedLength":477,"gzipLength":250,"brotliLength":0,"mainUid":"2f42-206"},"2f42-209":{"renderedLength":764,"gzipLength":316,"brotliLength":0,"mainUid":"2f42-208"},"2f42-211":{"renderedLength":535,"gzipLength":267,"brotliLength":0,"mainUid":"2f42-210"},"2f42-213":{"renderedLength":1946,"gzipLength":554,"brotliLength":0,"mainUid":"2f42-212"},"2f42-215":{"renderedLength":9025,"gzipLength":2020,"brotliLength":0,"mainUid":"2f42-214"},"2f42-217":{"renderedLength":1104,"gzipLength":454,"brotliLength":0,"mainUid":"2f42-216"},"2f42-219":{"renderedLength":177,"gzipLength":130,"brotliLength":0,"mainUid":"2f42-218"},"2f42-221":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"2f42-220"}},"nodeMetas":{"2f42-190":{"id":"/src/responsive/breakpoints.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-191"},"imported":[],"importedBy":[{"uid":"2f42-222"}]},"2f42-192":{"id":"/src/responsive/createMediaQueries.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-193"},"imported":[],"importedBy":[{"uid":"2f42-222"}]},"2f42-194":{"id":"/src/responsive/normalizeTheme.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-195"},"imported":[],"importedBy":[{"uid":"2f42-222"},{"uid":"2f42-200"}]},"2f42-196":{"id":"/src/responsive/transformTheme.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-197"},"imported":[{"uid":"2f42-226"}],"importedBy":[{"uid":"2f42-222"},{"uid":"2f42-200"}]},"2f42-198":{"id":"/src/responsive/optimizeTheme.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-199"},"imported":[],"importedBy":[{"uid":"2f42-200"}]},"2f42-200":{"id":"/src/responsive/makeItResponsive.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-201"},"imported":[{"uid":"2f42-226"},{"uid":"2f42-194"},{"uid":"2f42-196"},{"uid":"2f42-198"}],"importedBy":[{"uid":"2f42-222"}]},"2f42-202":{"id":"/src/responsive/sortBreakpoints.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-203"},"imported":[],"importedBy":[{"uid":"2f42-222"}]},"2f42-204":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-205"},"imported":[{"uid":"2f42-225"},{"uid":"2f42-226"},{"uid":"2f42-222"}],"importedBy":[{"uid":"2f42-220"}]},"2f42-206":{"id":"/src/units/stripUnit.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-207"},"imported":[],"importedBy":[{"uid":"2f42-224"},{"uid":"2f42-208"}]},"2f42-208":{"id":"/src/units/normalizeUnit.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-209"},"imported":[{"uid":"2f42-206"}],"importedBy":[{"uid":"2f42-224"},{"uid":"2f42-210"}]},"2f42-210":{"id":"/src/units/value.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-211"},"imported":[{"uid":"2f42-208"}],"importedBy":[{"uid":"2f42-224"}]},"2f42-212":{"id":"/src/styles/shorthands/spacingShorthand.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-213"},"imported":[{"uid":"2f42-224"}],"importedBy":[{"uid":"2f42-227"}]},"2f42-214":{"id":"/src/styles/styles/index.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-215"},"imported":[{"uid":"2f42-224"},{"uid":"2f42-227"}],"importedBy":[{"uid":"2f42-223"}]},"2f42-216":{"id":"/src/styles/alignContent.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-217"},"imported":[{"uid":"2f42-226"}],"importedBy":[{"uid":"2f42-223"}]},"2f42-218":{"id":"/src/styles/extendCss.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-219"},"imported":[{"uid":"2f42-226"}],"importedBy":[{"uid":"2f42-223"}]},"2f42-220":{"id":"/src/index.ts","moduleParts":{"vitus-labs-unistyle.browser.js":"2f42-221"},"imported":[{"uid":"2f42-204"},{"uid":"2f42-222"},{"uid":"2f42-223"},{"uid":"2f42-224"}],"importedBy":[],"isEntry":true},"2f42-222":{"id":"/src/responsive/index.ts","moduleParts":{},"imported":[{"uid":"2f42-190"},{"uid":"2f42-192"},{"uid":"2f42-200"},{"uid":"2f42-194"},{"uid":"2f42-202"},{"uid":"2f42-196"}],"importedBy":[{"uid":"2f42-220"},{"uid":"2f42-204"}]},"2f42-223":{"id":"/src/styles/index.ts","moduleParts":{},"imported":[{"uid":"2f42-214"},{"uid":"2f42-216"},{"uid":"2f42-218"}],"importedBy":[{"uid":"2f42-220"}]},"2f42-224":{"id":"/src/units/index.ts","moduleParts":{},"imported":[{"uid":"2f42-208"},{"uid":"2f42-206"},{"uid":"2f42-210"}],"importedBy":[{"uid":"2f42-220"},{"uid":"2f42-214"},{"uid":"2f42-212"}]},"2f42-225":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f42-204"}],"isExternal":true},"2f42-226":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f42-204"},{"uid":"2f42-200"},{"uid":"2f42-196"},{"uid":"2f42-216"},{"uid":"2f42-218"}],"isExternal":true},"2f42-227":{"id":"/src/styles/shorthands/index.ts","moduleParts":{},"imported":[{"uid":"2f42-212"}],"importedBy":[{"uid":"2f42-214"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
6428
6428
|
|
|
6429
6429
|
const run = () => {
|
|
6430
6430
|
const width = window.innerWidth;
|
|
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
|
|
|
6424
6424
|
</script>
|
|
6425
6425
|
<script>
|
|
6426
6426
|
/*<!--*/
|
|
6427
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-unistyle.js","children":[{"name":"src","children":[{"name":"responsive","children":[{"uid":"
|
|
6427
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-unistyle.js","children":[{"name":"src","children":[{"name":"responsive","children":[{"uid":"2f42-1","name":"breakpoints.ts"},{"uid":"2f42-3","name":"createMediaQueries.ts"},{"uid":"2f42-5","name":"normalizeTheme.ts"},{"uid":"2f42-7","name":"transformTheme.ts"},{"uid":"2f42-9","name":"optimizeTheme.ts"},{"uid":"2f42-11","name":"makeItResponsive.ts"},{"uid":"2f42-13","name":"sortBreakpoints.ts"}]},{"uid":"2f42-15","name":"context.tsx"},{"name":"units","children":[{"uid":"2f42-17","name":"stripUnit.ts"},{"uid":"2f42-19","name":"normalizeUnit.ts"},{"uid":"2f42-21","name":"value.ts"}]},{"name":"styles","children":[{"name":"shorthands/spacingShorthand.ts","uid":"2f42-23"},{"name":"styles/index.ts","uid":"2f42-25"},{"uid":"2f42-27","name":"alignContent.ts"},{"uid":"2f42-29","name":"extendCss.ts"}]},{"uid":"2f42-31","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"2f42-1":{"renderedLength":181,"gzipLength":120,"brotliLength":0,"mainUid":"2f42-0"},"2f42-3":{"renderedLength":755,"gzipLength":404,"brotliLength":0,"mainUid":"2f42-2"},"2f42-5":{"renderedLength":1776,"gzipLength":619,"brotliLength":0,"mainUid":"2f42-4"},"2f42-7":{"renderedLength":1402,"gzipLength":536,"brotliLength":0,"mainUid":"2f42-6"},"2f42-9":{"renderedLength":451,"gzipLength":233,"brotliLength":0,"mainUid":"2f42-8"},"2f42-11":{"renderedLength":1547,"gzipLength":575,"brotliLength":0,"mainUid":"2f42-10"},"2f42-13":{"renderedLength":160,"gzipLength":120,"brotliLength":0,"mainUid":"2f42-12"},"2f42-15":{"renderedLength":812,"gzipLength":389,"brotliLength":0,"mainUid":"2f42-14"},"2f42-17":{"renderedLength":477,"gzipLength":250,"brotliLength":0,"mainUid":"2f42-16"},"2f42-19":{"renderedLength":764,"gzipLength":316,"brotliLength":0,"mainUid":"2f42-18"},"2f42-21":{"renderedLength":535,"gzipLength":267,"brotliLength":0,"mainUid":"2f42-20"},"2f42-23":{"renderedLength":1946,"gzipLength":554,"brotliLength":0,"mainUid":"2f42-22"},"2f42-25":{"renderedLength":9025,"gzipLength":2020,"brotliLength":0,"mainUid":"2f42-24"},"2f42-27":{"renderedLength":1114,"gzipLength":459,"brotliLength":0,"mainUid":"2f42-26"},"2f42-29":{"renderedLength":182,"gzipLength":133,"brotliLength":0,"mainUid":"2f42-28"},"2f42-31":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"2f42-30"}},"nodeMetas":{"2f42-0":{"id":"/src/responsive/breakpoints.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-1"},"imported":[],"importedBy":[{"uid":"2f42-32"}]},"2f42-2":{"id":"/src/responsive/createMediaQueries.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-3"},"imported":[],"importedBy":[{"uid":"2f42-32"}]},"2f42-4":{"id":"/src/responsive/normalizeTheme.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-5"},"imported":[],"importedBy":[{"uid":"2f42-32"},{"uid":"2f42-10"}]},"2f42-6":{"id":"/src/responsive/transformTheme.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-7"},"imported":[{"uid":"2f42-36"}],"importedBy":[{"uid":"2f42-32"},{"uid":"2f42-10"}]},"2f42-8":{"id":"/src/responsive/optimizeTheme.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-9"},"imported":[],"importedBy":[{"uid":"2f42-10"}]},"2f42-10":{"id":"/src/responsive/makeItResponsive.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-11"},"imported":[{"uid":"2f42-36"},{"uid":"2f42-4"},{"uid":"2f42-6"},{"uid":"2f42-8"}],"importedBy":[{"uid":"2f42-32"}]},"2f42-12":{"id":"/src/responsive/sortBreakpoints.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-13"},"imported":[],"importedBy":[{"uid":"2f42-32"}]},"2f42-14":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-unistyle.js":"2f42-15"},"imported":[{"uid":"2f42-35"},{"uid":"2f42-36"},{"uid":"2f42-32"}],"importedBy":[{"uid":"2f42-30"}]},"2f42-16":{"id":"/src/units/stripUnit.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-17"},"imported":[],"importedBy":[{"uid":"2f42-34"},{"uid":"2f42-18"}]},"2f42-18":{"id":"/src/units/normalizeUnit.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-19"},"imported":[{"uid":"2f42-16"}],"importedBy":[{"uid":"2f42-34"},{"uid":"2f42-20"}]},"2f42-20":{"id":"/src/units/value.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-21"},"imported":[{"uid":"2f42-18"}],"importedBy":[{"uid":"2f42-34"}]},"2f42-22":{"id":"/src/styles/shorthands/spacingShorthand.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-23"},"imported":[{"uid":"2f42-34"}],"importedBy":[{"uid":"2f42-37"}]},"2f42-24":{"id":"/src/styles/styles/index.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-25"},"imported":[{"uid":"2f42-34"},{"uid":"2f42-37"}],"importedBy":[{"uid":"2f42-33"}]},"2f42-26":{"id":"/src/styles/alignContent.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-27"},"imported":[{"uid":"2f42-36"}],"importedBy":[{"uid":"2f42-33"}]},"2f42-28":{"id":"/src/styles/extendCss.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-29"},"imported":[{"uid":"2f42-36"}],"importedBy":[{"uid":"2f42-33"}]},"2f42-30":{"id":"/src/index.ts","moduleParts":{"vitus-labs-unistyle.js":"2f42-31"},"imported":[{"uid":"2f42-14"},{"uid":"2f42-32"},{"uid":"2f42-33"},{"uid":"2f42-34"}],"importedBy":[],"isEntry":true},"2f42-32":{"id":"/src/responsive/index.ts","moduleParts":{},"imported":[{"uid":"2f42-0"},{"uid":"2f42-2"},{"uid":"2f42-10"},{"uid":"2f42-4"},{"uid":"2f42-12"},{"uid":"2f42-6"}],"importedBy":[{"uid":"2f42-30"},{"uid":"2f42-14"}]},"2f42-33":{"id":"/src/styles/index.ts","moduleParts":{},"imported":[{"uid":"2f42-24"},{"uid":"2f42-26"},{"uid":"2f42-28"}],"importedBy":[{"uid":"2f42-30"}]},"2f42-34":{"id":"/src/units/index.ts","moduleParts":{},"imported":[{"uid":"2f42-18"},{"uid":"2f42-16"},{"uid":"2f42-20"}],"importedBy":[{"uid":"2f42-30"},{"uid":"2f42-24"},{"uid":"2f42-22"}]},"2f42-35":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f42-14"}],"isExternal":true},"2f42-36":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f42-14"},{"uid":"2f42-10"},{"uid":"2f42-6"},{"uid":"2f42-26"},{"uid":"2f42-28"}],"isExternal":true},"2f42-37":{"id":"/src/styles/shorthands/index.ts","moduleParts":{},"imported":[{"uid":"2f42-22"}],"importedBy":[{"uid":"2f42-24"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
6428
6428
|
|
|
6429
6429
|
const run = () => {
|
|
6430
6430
|
const width = window.innerWidth;
|
|
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
|
|
|
6424
6424
|
</script>
|
|
6425
6425
|
<script>
|
|
6426
6426
|
/*<!--*/
|
|
6427
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-unistyle.module.js","children":[{"name":"src","children":[{"name":"responsive","children":[{"uid":"
|
|
6427
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-unistyle.module.js","children":[{"name":"src","children":[{"name":"responsive","children":[{"uid":"2f42-39","name":"breakpoints.ts"},{"uid":"2f42-41","name":"createMediaQueries.ts"},{"uid":"2f42-43","name":"normalizeTheme.ts"},{"uid":"2f42-45","name":"transformTheme.ts"},{"uid":"2f42-47","name":"optimizeTheme.ts"},{"uid":"2f42-49","name":"makeItResponsive.ts"},{"uid":"2f42-51","name":"sortBreakpoints.ts"}]},{"uid":"2f42-53","name":"context.tsx"},{"name":"units","children":[{"uid":"2f42-55","name":"stripUnit.ts"},{"uid":"2f42-57","name":"normalizeUnit.ts"},{"uid":"2f42-59","name":"value.ts"}]},{"name":"styles","children":[{"name":"shorthands/spacingShorthand.ts","uid":"2f42-61"},{"name":"styles/index.ts","uid":"2f42-63"},{"uid":"2f42-65","name":"alignContent.ts"},{"uid":"2f42-67","name":"extendCss.ts"}]},{"uid":"2f42-69","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"2f42-39":{"renderedLength":181,"gzipLength":120,"brotliLength":0,"mainUid":"2f42-38"},"2f42-41":{"renderedLength":755,"gzipLength":404,"brotliLength":0,"mainUid":"2f42-40"},"2f42-43":{"renderedLength":1776,"gzipLength":619,"brotliLength":0,"mainUid":"2f42-42"},"2f42-45":{"renderedLength":1372,"gzipLength":528,"brotliLength":0,"mainUid":"2f42-44"},"2f42-47":{"renderedLength":451,"gzipLength":233,"brotliLength":0,"mainUid":"2f42-46"},"2f42-49":{"renderedLength":1532,"gzipLength":571,"brotliLength":0,"mainUid":"2f42-48"},"2f42-51":{"renderedLength":160,"gzipLength":120,"brotliLength":0,"mainUid":"2f42-50"},"2f42-53":{"renderedLength":767,"gzipLength":369,"brotliLength":0,"mainUid":"2f42-52"},"2f42-55":{"renderedLength":477,"gzipLength":250,"brotliLength":0,"mainUid":"2f42-54"},"2f42-57":{"renderedLength":764,"gzipLength":316,"brotliLength":0,"mainUid":"2f42-56"},"2f42-59":{"renderedLength":535,"gzipLength":267,"brotliLength":0,"mainUid":"2f42-58"},"2f42-61":{"renderedLength":1946,"gzipLength":554,"brotliLength":0,"mainUid":"2f42-60"},"2f42-63":{"renderedLength":9025,"gzipLength":2020,"brotliLength":0,"mainUid":"2f42-62"},"2f42-65":{"renderedLength":1104,"gzipLength":454,"brotliLength":0,"mainUid":"2f42-64"},"2f42-67":{"renderedLength":177,"gzipLength":130,"brotliLength":0,"mainUid":"2f42-66"},"2f42-69":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"2f42-68"}},"nodeMetas":{"2f42-38":{"id":"/src/responsive/breakpoints.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-39"},"imported":[],"importedBy":[{"uid":"2f42-70"}]},"2f42-40":{"id":"/src/responsive/createMediaQueries.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-41"},"imported":[],"importedBy":[{"uid":"2f42-70"}]},"2f42-42":{"id":"/src/responsive/normalizeTheme.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-43"},"imported":[],"importedBy":[{"uid":"2f42-70"},{"uid":"2f42-48"}]},"2f42-44":{"id":"/src/responsive/transformTheme.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-45"},"imported":[{"uid":"2f42-74"}],"importedBy":[{"uid":"2f42-70"},{"uid":"2f42-48"}]},"2f42-46":{"id":"/src/responsive/optimizeTheme.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-47"},"imported":[],"importedBy":[{"uid":"2f42-48"}]},"2f42-48":{"id":"/src/responsive/makeItResponsive.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-49"},"imported":[{"uid":"2f42-74"},{"uid":"2f42-42"},{"uid":"2f42-44"},{"uid":"2f42-46"}],"importedBy":[{"uid":"2f42-70"}]},"2f42-50":{"id":"/src/responsive/sortBreakpoints.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-51"},"imported":[],"importedBy":[{"uid":"2f42-70"}]},"2f42-52":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-53"},"imported":[{"uid":"2f42-73"},{"uid":"2f42-74"},{"uid":"2f42-70"}],"importedBy":[{"uid":"2f42-68"}]},"2f42-54":{"id":"/src/units/stripUnit.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-55"},"imported":[],"importedBy":[{"uid":"2f42-72"},{"uid":"2f42-56"}]},"2f42-56":{"id":"/src/units/normalizeUnit.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-57"},"imported":[{"uid":"2f42-54"}],"importedBy":[{"uid":"2f42-72"},{"uid":"2f42-58"}]},"2f42-58":{"id":"/src/units/value.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-59"},"imported":[{"uid":"2f42-56"}],"importedBy":[{"uid":"2f42-72"}]},"2f42-60":{"id":"/src/styles/shorthands/spacingShorthand.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-61"},"imported":[{"uid":"2f42-72"}],"importedBy":[{"uid":"2f42-75"}]},"2f42-62":{"id":"/src/styles/styles/index.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-63"},"imported":[{"uid":"2f42-72"},{"uid":"2f42-75"}],"importedBy":[{"uid":"2f42-71"}]},"2f42-64":{"id":"/src/styles/alignContent.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-65"},"imported":[{"uid":"2f42-74"}],"importedBy":[{"uid":"2f42-71"}]},"2f42-66":{"id":"/src/styles/extendCss.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-67"},"imported":[{"uid":"2f42-74"}],"importedBy":[{"uid":"2f42-71"}]},"2f42-68":{"id":"/src/index.ts","moduleParts":{"vitus-labs-unistyle.module.js":"2f42-69"},"imported":[{"uid":"2f42-52"},{"uid":"2f42-70"},{"uid":"2f42-71"},{"uid":"2f42-72"}],"importedBy":[],"isEntry":true},"2f42-70":{"id":"/src/responsive/index.ts","moduleParts":{},"imported":[{"uid":"2f42-38"},{"uid":"2f42-40"},{"uid":"2f42-48"},{"uid":"2f42-42"},{"uid":"2f42-50"},{"uid":"2f42-44"}],"importedBy":[{"uid":"2f42-68"},{"uid":"2f42-52"}]},"2f42-71":{"id":"/src/styles/index.ts","moduleParts":{},"imported":[{"uid":"2f42-62"},{"uid":"2f42-64"},{"uid":"2f42-66"}],"importedBy":[{"uid":"2f42-68"}]},"2f42-72":{"id":"/src/units/index.ts","moduleParts":{},"imported":[{"uid":"2f42-56"},{"uid":"2f42-54"},{"uid":"2f42-58"}],"importedBy":[{"uid":"2f42-68"},{"uid":"2f42-62"},{"uid":"2f42-60"}]},"2f42-73":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f42-52"}],"isExternal":true},"2f42-74":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f42-52"},{"uid":"2f42-48"},{"uid":"2f42-44"},{"uid":"2f42-64"},{"uid":"2f42-66"}],"isExternal":true},"2f42-75":{"id":"/src/styles/shorthands/index.ts","moduleParts":{},"imported":[{"uid":"2f42-60"}],"importedBy":[{"uid":"2f42-62"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
6428
6428
|
|
|
6429
6429
|
const run = () => {
|
|
6430
6430
|
const width = window.innerWidth;
|
|
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
|
|
|
6424
6424
|
</script>
|
|
6425
6425
|
<script>
|
|
6426
6426
|
/*<!--*/
|
|
6427
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-unistyle.native.js","children":[{"name":"src","children":[{"name":"responsive","children":[{"uid":"
|
|
6427
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-unistyle.native.js","children":[{"name":"src","children":[{"name":"responsive","children":[{"uid":"2f42-77","name":"breakpoints.ts"},{"uid":"2f42-79","name":"createMediaQueries.ts"},{"uid":"2f42-81","name":"normalizeTheme.ts"},{"uid":"2f42-83","name":"transformTheme.ts"},{"uid":"2f42-85","name":"optimizeTheme.ts"},{"uid":"2f42-87","name":"makeItResponsive.ts"},{"uid":"2f42-89","name":"sortBreakpoints.ts"}]},{"uid":"2f42-91","name":"context.tsx"},{"name":"units","children":[{"uid":"2f42-93","name":"stripUnit.ts"},{"uid":"2f42-95","name":"normalizeUnit.ts"},{"uid":"2f42-97","name":"value.ts"}]},{"name":"styles","children":[{"name":"shorthands/spacingShorthand.ts","uid":"2f42-99"},{"name":"styles/index.ts","uid":"2f42-101"},{"uid":"2f42-103","name":"alignContent.ts"},{"uid":"2f42-105","name":"extendCss.ts"}]},{"uid":"2f42-107","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"2f42-77":{"renderedLength":181,"gzipLength":120,"brotliLength":0,"mainUid":"2f42-76"},"2f42-79":{"renderedLength":755,"gzipLength":404,"brotliLength":0,"mainUid":"2f42-78"},"2f42-81":{"renderedLength":1776,"gzipLength":619,"brotliLength":0,"mainUid":"2f42-80"},"2f42-83":{"renderedLength":1372,"gzipLength":528,"brotliLength":0,"mainUid":"2f42-82"},"2f42-85":{"renderedLength":451,"gzipLength":233,"brotliLength":0,"mainUid":"2f42-84"},"2f42-87":{"renderedLength":1532,"gzipLength":571,"brotliLength":0,"mainUid":"2f42-86"},"2f42-89":{"renderedLength":160,"gzipLength":120,"brotliLength":0,"mainUid":"2f42-88"},"2f42-91":{"renderedLength":767,"gzipLength":369,"brotliLength":0,"mainUid":"2f42-90"},"2f42-93":{"renderedLength":477,"gzipLength":250,"brotliLength":0,"mainUid":"2f42-92"},"2f42-95":{"renderedLength":762,"gzipLength":315,"brotliLength":0,"mainUid":"2f42-94"},"2f42-97":{"renderedLength":535,"gzipLength":267,"brotliLength":0,"mainUid":"2f42-96"},"2f42-99":{"renderedLength":1946,"gzipLength":554,"brotliLength":0,"mainUid":"2f42-98"},"2f42-101":{"renderedLength":8831,"gzipLength":1965,"brotliLength":0,"mainUid":"2f42-100"},"2f42-103":{"renderedLength":1098,"gzipLength":450,"brotliLength":0,"mainUid":"2f42-102"},"2f42-105":{"renderedLength":177,"gzipLength":130,"brotliLength":0,"mainUid":"2f42-104"},"2f42-107":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"2f42-106"}},"nodeMetas":{"2f42-76":{"id":"/src/responsive/breakpoints.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-77"},"imported":[],"importedBy":[{"uid":"2f42-108"}]},"2f42-78":{"id":"/src/responsive/createMediaQueries.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-79"},"imported":[],"importedBy":[{"uid":"2f42-108"}]},"2f42-80":{"id":"/src/responsive/normalizeTheme.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-81"},"imported":[],"importedBy":[{"uid":"2f42-108"},{"uid":"2f42-86"}]},"2f42-82":{"id":"/src/responsive/transformTheme.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-83"},"imported":[{"uid":"2f42-112"}],"importedBy":[{"uid":"2f42-108"},{"uid":"2f42-86"}]},"2f42-84":{"id":"/src/responsive/optimizeTheme.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-85"},"imported":[],"importedBy":[{"uid":"2f42-86"}]},"2f42-86":{"id":"/src/responsive/makeItResponsive.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-87"},"imported":[{"uid":"2f42-112"},{"uid":"2f42-80"},{"uid":"2f42-82"},{"uid":"2f42-84"}],"importedBy":[{"uid":"2f42-108"}]},"2f42-88":{"id":"/src/responsive/sortBreakpoints.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-89"},"imported":[],"importedBy":[{"uid":"2f42-108"}]},"2f42-90":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-91"},"imported":[{"uid":"2f42-111"},{"uid":"2f42-112"},{"uid":"2f42-108"}],"importedBy":[{"uid":"2f42-106"}]},"2f42-92":{"id":"/src/units/stripUnit.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-93"},"imported":[],"importedBy":[{"uid":"2f42-110"},{"uid":"2f42-94"}]},"2f42-94":{"id":"/src/units/normalizeUnit.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-95"},"imported":[{"uid":"2f42-92"}],"importedBy":[{"uid":"2f42-110"},{"uid":"2f42-96"}]},"2f42-96":{"id":"/src/units/value.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-97"},"imported":[{"uid":"2f42-94"}],"importedBy":[{"uid":"2f42-110"}]},"2f42-98":{"id":"/src/styles/shorthands/spacingShorthand.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-99"},"imported":[{"uid":"2f42-110"}],"importedBy":[{"uid":"2f42-113"}]},"2f42-100":{"id":"/src/styles/styles/index.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-101"},"imported":[{"uid":"2f42-110"},{"uid":"2f42-113"}],"importedBy":[{"uid":"2f42-109"}]},"2f42-102":{"id":"/src/styles/alignContent.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-103"},"imported":[{"uid":"2f42-112"}],"importedBy":[{"uid":"2f42-109"}]},"2f42-104":{"id":"/src/styles/extendCss.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-105"},"imported":[{"uid":"2f42-112"}],"importedBy":[{"uid":"2f42-109"}]},"2f42-106":{"id":"/src/index.ts","moduleParts":{"vitus-labs-unistyle.native.js":"2f42-107"},"imported":[{"uid":"2f42-90"},{"uid":"2f42-108"},{"uid":"2f42-109"},{"uid":"2f42-110"}],"importedBy":[],"isEntry":true},"2f42-108":{"id":"/src/responsive/index.ts","moduleParts":{},"imported":[{"uid":"2f42-76"},{"uid":"2f42-78"},{"uid":"2f42-86"},{"uid":"2f42-80"},{"uid":"2f42-88"},{"uid":"2f42-82"}],"importedBy":[{"uid":"2f42-106"},{"uid":"2f42-90"}]},"2f42-109":{"id":"/src/styles/index.ts","moduleParts":{},"imported":[{"uid":"2f42-100"},{"uid":"2f42-102"},{"uid":"2f42-104"}],"importedBy":[{"uid":"2f42-106"}]},"2f42-110":{"id":"/src/units/index.ts","moduleParts":{},"imported":[{"uid":"2f42-94"},{"uid":"2f42-92"},{"uid":"2f42-96"}],"importedBy":[{"uid":"2f42-106"},{"uid":"2f42-100"},{"uid":"2f42-98"}]},"2f42-111":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f42-90"}],"isExternal":true},"2f42-112":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f42-90"},{"uid":"2f42-86"},{"uid":"2f42-82"},{"uid":"2f42-102"},{"uid":"2f42-104"}],"isExternal":true},"2f42-113":{"id":"/src/styles/shorthands/index.ts","moduleParts":{},"imported":[{"uid":"2f42-98"}],"importedBy":[{"uid":"2f42-100"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
6428
6428
|
|
|
6429
6429
|
const run = () => {
|
|
6430
6430
|
const width = window.innerWidth;
|
|
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
|
|
|
6424
6424
|
</script>
|
|
6425
6425
|
<script>
|
|
6426
6426
|
/*<!--*/
|
|
6427
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-unistyle.umd.js","children":[{"name":"src","children":[{"name":"responsive","children":[{"uid":"
|
|
6427
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-unistyle.umd.js","children":[{"name":"src","children":[{"name":"responsive","children":[{"uid":"2f42-115","name":"breakpoints.ts"},{"uid":"2f42-117","name":"createMediaQueries.ts"},{"uid":"2f42-119","name":"normalizeTheme.ts"},{"uid":"2f42-121","name":"transformTheme.ts"},{"uid":"2f42-123","name":"optimizeTheme.ts"},{"uid":"2f42-125","name":"makeItResponsive.ts"},{"uid":"2f42-127","name":"sortBreakpoints.ts"}]},{"uid":"2f42-129","name":"context.tsx"},{"name":"units","children":[{"uid":"2f42-131","name":"stripUnit.ts"},{"uid":"2f42-133","name":"normalizeUnit.ts"},{"uid":"2f42-135","name":"value.ts"}]},{"name":"styles","children":[{"name":"shorthands/spacingShorthand.ts","uid":"2f42-137"},{"name":"styles/index.ts","uid":"2f42-139"},{"uid":"2f42-141","name":"alignContent.ts"},{"uid":"2f42-143","name":"extendCss.ts"}]},{"uid":"2f42-145","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"2f42-115":{"renderedLength":203,"gzipLength":122,"brotliLength":0,"mainUid":"2f42-114"},"2f42-117":{"renderedLength":785,"gzipLength":405,"brotliLength":0,"mainUid":"2f42-116"},"2f42-119":{"renderedLength":1882,"gzipLength":625,"brotliLength":0,"mainUid":"2f42-118"},"2f42-121":{"renderedLength":1482,"gzipLength":540,"brotliLength":0,"mainUid":"2f42-120"},"2f42-123":{"renderedLength":473,"gzipLength":235,"brotliLength":0,"mainUid":"2f42-122"},"2f42-125":{"renderedLength":1619,"gzipLength":579,"brotliLength":0,"mainUid":"2f42-124"},"2f42-127":{"renderedLength":168,"gzipLength":121,"brotliLength":0,"mainUid":"2f42-126"},"2f42-129":{"renderedLength":852,"gzipLength":392,"brotliLength":0,"mainUid":"2f42-128"},"2f42-131":{"renderedLength":505,"gzipLength":251,"brotliLength":0,"mainUid":"2f42-130"},"2f42-133":{"renderedLength":806,"gzipLength":318,"brotliLength":0,"mainUid":"2f42-132"},"2f42-135":{"renderedLength":571,"gzipLength":269,"brotliLength":0,"mainUid":"2f42-134"},"2f42-137":{"renderedLength":2072,"gzipLength":556,"brotliLength":0,"mainUid":"2f42-136"},"2f42-139":{"renderedLength":9035,"gzipLength":2020,"brotliLength":0,"mainUid":"2f42-138"},"2f42-141":{"renderedLength":1182,"gzipLength":461,"brotliLength":0,"mainUid":"2f42-140"},"2f42-143":{"renderedLength":198,"gzipLength":135,"brotliLength":0,"mainUid":"2f42-142"},"2f42-145":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"2f42-144"}},"nodeMetas":{"2f42-114":{"id":"/src/responsive/breakpoints.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-115"},"imported":[],"importedBy":[{"uid":"2f42-146"}]},"2f42-116":{"id":"/src/responsive/createMediaQueries.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-117"},"imported":[],"importedBy":[{"uid":"2f42-146"}]},"2f42-118":{"id":"/src/responsive/normalizeTheme.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-119"},"imported":[],"importedBy":[{"uid":"2f42-146"},{"uid":"2f42-124"}]},"2f42-120":{"id":"/src/responsive/transformTheme.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-121"},"imported":[{"uid":"2f42-150"}],"importedBy":[{"uid":"2f42-146"},{"uid":"2f42-124"}]},"2f42-122":{"id":"/src/responsive/optimizeTheme.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-123"},"imported":[],"importedBy":[{"uid":"2f42-124"}]},"2f42-124":{"id":"/src/responsive/makeItResponsive.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-125"},"imported":[{"uid":"2f42-150"},{"uid":"2f42-118"},{"uid":"2f42-120"},{"uid":"2f42-122"}],"importedBy":[{"uid":"2f42-146"}]},"2f42-126":{"id":"/src/responsive/sortBreakpoints.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-127"},"imported":[],"importedBy":[{"uid":"2f42-146"}]},"2f42-128":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-129"},"imported":[{"uid":"2f42-149"},{"uid":"2f42-150"},{"uid":"2f42-146"}],"importedBy":[{"uid":"2f42-144"}]},"2f42-130":{"id":"/src/units/stripUnit.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-131"},"imported":[],"importedBy":[{"uid":"2f42-148"},{"uid":"2f42-132"}]},"2f42-132":{"id":"/src/units/normalizeUnit.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-133"},"imported":[{"uid":"2f42-130"}],"importedBy":[{"uid":"2f42-148"},{"uid":"2f42-134"}]},"2f42-134":{"id":"/src/units/value.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-135"},"imported":[{"uid":"2f42-132"}],"importedBy":[{"uid":"2f42-148"}]},"2f42-136":{"id":"/src/styles/shorthands/spacingShorthand.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-137"},"imported":[{"uid":"2f42-148"}],"importedBy":[{"uid":"2f42-151"}]},"2f42-138":{"id":"/src/styles/styles/index.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-139"},"imported":[{"uid":"2f42-148"},{"uid":"2f42-151"}],"importedBy":[{"uid":"2f42-147"}]},"2f42-140":{"id":"/src/styles/alignContent.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-141"},"imported":[{"uid":"2f42-150"}],"importedBy":[{"uid":"2f42-147"}]},"2f42-142":{"id":"/src/styles/extendCss.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-143"},"imported":[{"uid":"2f42-150"}],"importedBy":[{"uid":"2f42-147"}]},"2f42-144":{"id":"/src/index.ts","moduleParts":{"vitus-labs-unistyle.umd.js":"2f42-145"},"imported":[{"uid":"2f42-128"},{"uid":"2f42-146"},{"uid":"2f42-147"},{"uid":"2f42-148"}],"importedBy":[],"isEntry":true},"2f42-146":{"id":"/src/responsive/index.ts","moduleParts":{},"imported":[{"uid":"2f42-114"},{"uid":"2f42-116"},{"uid":"2f42-124"},{"uid":"2f42-118"},{"uid":"2f42-126"},{"uid":"2f42-120"}],"importedBy":[{"uid":"2f42-144"},{"uid":"2f42-128"}]},"2f42-147":{"id":"/src/styles/index.ts","moduleParts":{},"imported":[{"uid":"2f42-138"},{"uid":"2f42-140"},{"uid":"2f42-142"}],"importedBy":[{"uid":"2f42-144"}]},"2f42-148":{"id":"/src/units/index.ts","moduleParts":{},"imported":[{"uid":"2f42-132"},{"uid":"2f42-130"},{"uid":"2f42-134"}],"importedBy":[{"uid":"2f42-144"},{"uid":"2f42-138"},{"uid":"2f42-136"}]},"2f42-149":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f42-128"}],"isExternal":true},"2f42-150":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f42-128"},{"uid":"2f42-124"},{"uid":"2f42-120"},{"uid":"2f42-140"},{"uid":"2f42-142"}],"isExternal":true},"2f42-151":{"id":"/src/styles/shorthands/index.ts","moduleParts":{},"imported":[{"uid":"2f42-136"}],"importedBy":[{"uid":"2f42-138"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
6428
6428
|
|
|
6429
6429
|
const run = () => {
|
|
6430
6430
|
const width = window.innerWidth;
|
|
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
|
|
|
6424
6424
|
</script>
|
|
6425
6425
|
<script>
|
|
6426
6426
|
/*<!--*/
|
|
6427
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-unistyle.umd.min.js","children":[{"name":"src","children":[{"name":"responsive","children":[{"uid":"
|
|
6427
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-unistyle.umd.min.js","children":[{"name":"src","children":[{"name":"responsive","children":[{"uid":"2f42-153","name":"breakpoints.ts"},{"uid":"2f42-155","name":"createMediaQueries.ts"},{"uid":"2f42-157","name":"normalizeTheme.ts"},{"uid":"2f42-159","name":"transformTheme.ts"},{"uid":"2f42-161","name":"optimizeTheme.ts"},{"uid":"2f42-163","name":"makeItResponsive.ts"},{"uid":"2f42-165","name":"sortBreakpoints.ts"}]},{"uid":"2f42-167","name":"context.tsx"},{"name":"units","children":[{"uid":"2f42-169","name":"stripUnit.ts"},{"uid":"2f42-171","name":"normalizeUnit.ts"},{"uid":"2f42-173","name":"value.ts"}]},{"name":"styles","children":[{"name":"shorthands/spacingShorthand.ts","uid":"2f42-175"},{"name":"styles/index.ts","uid":"2f42-177"},{"uid":"2f42-179","name":"alignContent.ts"},{"uid":"2f42-181","name":"extendCss.ts"}]},{"uid":"2f42-183","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"2f42-153":{"renderedLength":203,"gzipLength":122,"brotliLength":0,"mainUid":"2f42-152"},"2f42-155":{"renderedLength":785,"gzipLength":405,"brotliLength":0,"mainUid":"2f42-154"},"2f42-157":{"renderedLength":1882,"gzipLength":625,"brotliLength":0,"mainUid":"2f42-156"},"2f42-159":{"renderedLength":1482,"gzipLength":540,"brotliLength":0,"mainUid":"2f42-158"},"2f42-161":{"renderedLength":473,"gzipLength":235,"brotliLength":0,"mainUid":"2f42-160"},"2f42-163":{"renderedLength":1619,"gzipLength":579,"brotliLength":0,"mainUid":"2f42-162"},"2f42-165":{"renderedLength":168,"gzipLength":121,"brotliLength":0,"mainUid":"2f42-164"},"2f42-167":{"renderedLength":852,"gzipLength":392,"brotliLength":0,"mainUid":"2f42-166"},"2f42-169":{"renderedLength":505,"gzipLength":251,"brotliLength":0,"mainUid":"2f42-168"},"2f42-171":{"renderedLength":806,"gzipLength":318,"brotliLength":0,"mainUid":"2f42-170"},"2f42-173":{"renderedLength":571,"gzipLength":269,"brotliLength":0,"mainUid":"2f42-172"},"2f42-175":{"renderedLength":2072,"gzipLength":556,"brotliLength":0,"mainUid":"2f42-174"},"2f42-177":{"renderedLength":9035,"gzipLength":2020,"brotliLength":0,"mainUid":"2f42-176"},"2f42-179":{"renderedLength":1182,"gzipLength":461,"brotliLength":0,"mainUid":"2f42-178"},"2f42-181":{"renderedLength":198,"gzipLength":135,"brotliLength":0,"mainUid":"2f42-180"},"2f42-183":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"2f42-182"}},"nodeMetas":{"2f42-152":{"id":"/src/responsive/breakpoints.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-153"},"imported":[],"importedBy":[{"uid":"2f42-184"}]},"2f42-154":{"id":"/src/responsive/createMediaQueries.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-155"},"imported":[],"importedBy":[{"uid":"2f42-184"}]},"2f42-156":{"id":"/src/responsive/normalizeTheme.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-157"},"imported":[],"importedBy":[{"uid":"2f42-184"},{"uid":"2f42-162"}]},"2f42-158":{"id":"/src/responsive/transformTheme.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-159"},"imported":[{"uid":"2f42-188"}],"importedBy":[{"uid":"2f42-184"},{"uid":"2f42-162"}]},"2f42-160":{"id":"/src/responsive/optimizeTheme.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-161"},"imported":[],"importedBy":[{"uid":"2f42-162"}]},"2f42-162":{"id":"/src/responsive/makeItResponsive.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-163"},"imported":[{"uid":"2f42-188"},{"uid":"2f42-156"},{"uid":"2f42-158"},{"uid":"2f42-160"}],"importedBy":[{"uid":"2f42-184"}]},"2f42-164":{"id":"/src/responsive/sortBreakpoints.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-165"},"imported":[],"importedBy":[{"uid":"2f42-184"}]},"2f42-166":{"id":"/src/context.tsx","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-167"},"imported":[{"uid":"2f42-187"},{"uid":"2f42-188"},{"uid":"2f42-184"}],"importedBy":[{"uid":"2f42-182"}]},"2f42-168":{"id":"/src/units/stripUnit.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-169"},"imported":[],"importedBy":[{"uid":"2f42-186"},{"uid":"2f42-170"}]},"2f42-170":{"id":"/src/units/normalizeUnit.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-171"},"imported":[{"uid":"2f42-168"}],"importedBy":[{"uid":"2f42-186"},{"uid":"2f42-172"}]},"2f42-172":{"id":"/src/units/value.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-173"},"imported":[{"uid":"2f42-170"}],"importedBy":[{"uid":"2f42-186"}]},"2f42-174":{"id":"/src/styles/shorthands/spacingShorthand.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-175"},"imported":[{"uid":"2f42-186"}],"importedBy":[{"uid":"2f42-189"}]},"2f42-176":{"id":"/src/styles/styles/index.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-177"},"imported":[{"uid":"2f42-186"},{"uid":"2f42-189"}],"importedBy":[{"uid":"2f42-185"}]},"2f42-178":{"id":"/src/styles/alignContent.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-179"},"imported":[{"uid":"2f42-188"}],"importedBy":[{"uid":"2f42-185"}]},"2f42-180":{"id":"/src/styles/extendCss.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-181"},"imported":[{"uid":"2f42-188"}],"importedBy":[{"uid":"2f42-185"}]},"2f42-182":{"id":"/src/index.ts","moduleParts":{"vitus-labs-unistyle.umd.min.js":"2f42-183"},"imported":[{"uid":"2f42-166"},{"uid":"2f42-184"},{"uid":"2f42-185"},{"uid":"2f42-186"}],"importedBy":[],"isEntry":true},"2f42-184":{"id":"/src/responsive/index.ts","moduleParts":{},"imported":[{"uid":"2f42-152"},{"uid":"2f42-154"},{"uid":"2f42-162"},{"uid":"2f42-156"},{"uid":"2f42-164"},{"uid":"2f42-158"}],"importedBy":[{"uid":"2f42-182"},{"uid":"2f42-166"}]},"2f42-185":{"id":"/src/styles/index.ts","moduleParts":{},"imported":[{"uid":"2f42-176"},{"uid":"2f42-178"},{"uid":"2f42-180"}],"importedBy":[{"uid":"2f42-182"}]},"2f42-186":{"id":"/src/units/index.ts","moduleParts":{},"imported":[{"uid":"2f42-170"},{"uid":"2f42-168"},{"uid":"2f42-172"}],"importedBy":[{"uid":"2f42-182"},{"uid":"2f42-176"},{"uid":"2f42-174"}]},"2f42-187":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f42-166"}],"isExternal":true},"2f42-188":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f42-166"},{"uid":"2f42-162"},{"uid":"2f42-158"},{"uid":"2f42-178"},{"uid":"2f42-180"}],"isExternal":true},"2f42-189":{"id":"/src/styles/shorthands/index.ts","moduleParts":{},"imported":[{"uid":"2f42-174"}],"importedBy":[{"uid":"2f42-176"}]}},"env":{"rollup":"2.67.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
6428
6428
|
|
|
6429
6429
|
const run = () => {
|
|
6430
6430
|
const width = window.innerWidth;
|
package/lib/index.d.ts
CHANGED
|
@@ -13,15 +13,6 @@ declare type TProvider = {
|
|
|
13
13
|
} & Partial<Record<string, unknown>>;
|
|
14
14
|
declare const Provider: FC<TProvider>;
|
|
15
15
|
|
|
16
|
-
declare type UseWindowResize = (throttleDelay?: number, defaultValues?: Partial<{
|
|
17
|
-
width: number;
|
|
18
|
-
height: number;
|
|
19
|
-
}>) => {
|
|
20
|
-
width: number;
|
|
21
|
-
height: number;
|
|
22
|
-
};
|
|
23
|
-
declare const useWindowResize: UseWindowResize;
|
|
24
|
-
|
|
25
16
|
declare const breakpoints: {
|
|
26
17
|
readonly rootSize: 16;
|
|
27
18
|
readonly breakpoints: {
|
|
@@ -42,7 +33,12 @@ declare type CreateMediaQueries = <B, R extends number, C extends (...args: any)
|
|
|
42
33
|
}) => Record<keyof B, ReturnType<C>>;
|
|
43
34
|
declare const createMediaQueries: CreateMediaQueries;
|
|
44
35
|
|
|
45
|
-
declare type Css = typeof config.css;
|
|
36
|
+
declare type Css = typeof config.css;
|
|
37
|
+
declare type Defaults = 'initial' | 'inherit';
|
|
38
|
+
declare type Units = 'px' | 'rem' | 'em' | '%' | 'vh' | 'vw' | 'vmin' | 'vmax';
|
|
39
|
+
declare type UnitValue = number | `${number}${Units}`;
|
|
40
|
+
declare type Value$2 = UnitValue | 'auto' | Defaults;
|
|
41
|
+
declare type Color = `#${string | number}` | 'currentcolor' | 'transparent' | `rgb(${number}, ${number}, ${number})` | `rgba(${number}, ${number}, ${number}, ${number})` | `hsl(${number}, ${number}%, ${number}%)` | `hsla(${number}, ${number}%, ${number}%, ${number})` | Defaults;
|
|
46
42
|
|
|
47
43
|
declare type SortBreakpoints = <T extends Record<string, number>>(breakpoints: T) => Array<keyof T>;
|
|
48
44
|
declare const sortBreakpoints: SortBreakpoints;
|
|
@@ -85,10 +81,7 @@ declare type TransformTheme = ({ theme, breakpoints, }: {
|
|
|
85
81
|
}) => any;
|
|
86
82
|
declare const transformTheme: TransformTheme;
|
|
87
83
|
|
|
88
|
-
declare type
|
|
89
|
-
declare type Defaults = 'initial' | 'inherit';
|
|
90
|
-
declare type Length = number | string;
|
|
91
|
-
declare type BorderColor = 'transparent' | string | Defaults;
|
|
84
|
+
declare type BorderColor = Color | Defaults;
|
|
92
85
|
declare type BorderImageRepeat = 'stretch' | 'repeat' | 'round' | 'space' | Defaults;
|
|
93
86
|
declare type TextDecoration = 'none' | 'underline' | 'overline' | 'line-through' | 'blink' | Defaults;
|
|
94
87
|
declare type BorderStyle = 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' | Defaults;
|
|
@@ -96,8 +89,8 @@ declare type FontSize = 'medium' | 'xx-small' | 'x-small' | 'small' | 'large' |
|
|
|
96
89
|
declare type ListStyleType = 'disc' | 'armenian' | 'circle' | 'cjk-ideographic' | 'decimal' | 'decimal-leading-zero' | 'georgian' | 'hebrew' | 'hiragana' | 'hiragana-iroha' | 'katakana' | 'katakana-iroha' | 'lower-alpha' | 'lower-greek' | 'lower-latin' | 'lower-roman' | 'none' | 'square' | 'upper-alpha' | 'upper-greek' | 'upper-latin' | 'upper-roman' | Defaults;
|
|
97
90
|
declare type Overflow = 'visible' | 'hidden' | 'scroll' | 'auto' | Defaults;
|
|
98
91
|
declare type Cursor = 'alias' | 'all-scroll' | 'auto' | 'cell' | 'context-menu' | 'col-resize' | 'copy' | 'crosshair' | 'default' | 'e-resize' | 'ew-resize' | 'grab' | 'grabbing' | 'help' | 'move' | 'n-resize' | 'ne-resize' | 'nesw-resize' | 'ns-resize' | 'nw-resize' | 'nwse-resize' | 'no-drop' | 'none' | 'not-allowed' | 'pointer' | 'progress' | 'row-resize' | 's-resize' | 'se-resize' | 'sw-resize' | 'text' | 'URL' | 'vertical-text' | 'w-resize' | 'wait' | 'zoom-in' | 'zoom-out' | Defaults;
|
|
99
|
-
declare type ITheme =
|
|
100
|
-
inset:
|
|
92
|
+
declare type ITheme = {
|
|
93
|
+
inset: Value$2;
|
|
101
94
|
top: Value$2;
|
|
102
95
|
bottom: Value$2;
|
|
103
96
|
left: Value$2;
|
|
@@ -136,7 +129,7 @@ declare type ITheme = Partial<{
|
|
|
136
129
|
background: string;
|
|
137
130
|
backgroundAttachment: 'scroll' | 'fixed' | Defaults;
|
|
138
131
|
backgroundClip: 'border-box' | 'padding-box' | 'content-box' | Defaults;
|
|
139
|
-
backgroundColor:
|
|
132
|
+
backgroundColor: Color;
|
|
140
133
|
backgroundImage: string | 'none' | Defaults;
|
|
141
134
|
backgroundOrigin: 'padding-box' | 'border-box' | 'content-box' | Defaults;
|
|
142
135
|
backgroundPosition: any;
|
|
@@ -191,7 +184,7 @@ declare type ITheme = Partial<{
|
|
|
191
184
|
clear: 'left' | 'right' | 'auto' | 'both' | 'none' | Defaults;
|
|
192
185
|
clip: 'shape' | 'auto' | Defaults;
|
|
193
186
|
clipPath: string;
|
|
194
|
-
color:
|
|
187
|
+
color: Color;
|
|
195
188
|
content: 'normal' | 'none' | 'counter' | 'open-quote' | 'close-quote' | 'no-open-quote' | 'no-close-quote' | Defaults | string;
|
|
196
189
|
counterIncrement: string;
|
|
197
190
|
counterReset: string;
|
|
@@ -219,7 +212,7 @@ declare type ITheme = Partial<{
|
|
|
219
212
|
justifyContent: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
|
|
220
213
|
keyframe: any;
|
|
221
214
|
letterSpacing: 'normal' | Value$2 | Defaults;
|
|
222
|
-
lineHeight: 'normal' |
|
|
215
|
+
lineHeight: Value$2 | 'normal' | 'revert' | 'unset' | Defaults;
|
|
223
216
|
listStyle: string;
|
|
224
217
|
listStyleImage: 'none' | string | Defaults;
|
|
225
218
|
listStylePosition: string;
|
|
@@ -276,9 +269,9 @@ declare type ITheme = Partial<{
|
|
|
276
269
|
clearFix: boolean;
|
|
277
270
|
fullScreen: boolean;
|
|
278
271
|
extendCss: ReturnType<typeof config.css> | string;
|
|
279
|
-
}
|
|
272
|
+
};
|
|
280
273
|
declare type Theme = {
|
|
281
|
-
[I in keyof ITheme]: ITheme[I] | null;
|
|
274
|
+
[I in keyof ITheme]: ITheme[I] | null | undefined;
|
|
282
275
|
};
|
|
283
276
|
|
|
284
277
|
declare type Styles = ({ theme, css, rootSize, }: {
|
|
@@ -320,7 +313,7 @@ declare type AlignContent = ({ direction, alignX, alignY, }: {
|
|
|
320
313
|
}) => ReturnType<typeof config.css> | null;
|
|
321
314
|
declare const alignContent: AlignContent;
|
|
322
315
|
|
|
323
|
-
declare type ExtendCss = (styles:
|
|
316
|
+
declare type ExtendCss = (styles: ((css: typeof config.css) => ReturnType<typeof css>) | string | null | undefined) => string | ReturnType<typeof config.css>;
|
|
324
317
|
declare const extendCss: ExtendCss;
|
|
325
318
|
|
|
326
319
|
declare type NormalizeUnit = ({ param, rootSize, outputUnit, }: {
|
|
@@ -335,7 +328,7 @@ declare type Unit<V> = V extends string ? string : undefined;
|
|
|
335
328
|
declare type StripUnit = <V extends ReactText, UR extends boolean = false>(value: V, unitReturn?: UR) => UR extends true ? [Value$1<V>, Unit<V>] : Value$1<V>;
|
|
336
329
|
declare const stripUnit: StripUnit;
|
|
337
330
|
|
|
338
|
-
declare type Value = (values: Array<unknown>, rootSize?: number, outputUnit?:
|
|
331
|
+
declare type Value = (values: Array<unknown>, rootSize?: number, outputUnit?: Units) => string | number;
|
|
339
332
|
declare const value: Value;
|
|
340
333
|
|
|
341
|
-
export { ALIGN_CONTENT_DIRECTION, ALIGN_CONTENT_MAP_X, ALIGN_CONTENT_MAP_Y, AlignContent, AlignContentAlignXKeys, AlignContentAlignYKeys, AlignContentDirectionKeys, Breakpoints, CreateMediaQueries, ExtendCss, MakeItResponsive, MakeItResponsiveStyles, NormalizeTheme, NormalizeUnit, Provider, SortBreakpoints, StripUnit, Styles, Theme as StylesTheme, TProvider, TransformTheme,
|
|
334
|
+
export { ALIGN_CONTENT_DIRECTION, ALIGN_CONTENT_MAP_X, ALIGN_CONTENT_MAP_Y, AlignContent, AlignContentAlignXKeys, AlignContentAlignYKeys, AlignContentDirectionKeys, Breakpoints, CreateMediaQueries, ExtendCss, MakeItResponsive, MakeItResponsiveStyles, NormalizeTheme, NormalizeUnit, Provider, SortBreakpoints, StripUnit, Styles, Theme as StylesTheme, TProvider, TransformTheme, Value, alignContent, breakpoints, createMediaQueries, extendCss, makeItResponsive, normalizeTheme, normalizeUnit, sortBreakpoints, stripUnit, styles, transformTheme, value };
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import Provider, { context, TProvider } from "./context";
|
|
2
|
-
import { useWindowResize, UseWindowResize } from "./hooks";
|
|
3
2
|
import { breakpoints, createMediaQueries, makeItResponsive, normalizeTheme, sortBreakpoints, transformTheme, Breakpoints, CreateMediaQueries, MakeItResponsive, MakeItResponsiveStyles, NormalizeTheme, SortBreakpoints, TransformTheme } from "./responsive";
|
|
4
3
|
import { styles, alignContent, ALIGN_CONTENT_DIRECTION, ALIGN_CONTENT_MAP_X, ALIGN_CONTENT_MAP_Y, extendCss, Styles, StylesTheme, AlignContent, AlignContentAlignXKeys, AlignContentAlignYKeys, AlignContentDirectionKeys, ExtendCss } from "./styles";
|
|
5
4
|
import { stripUnit, normalizeUnit, value, StripUnit, NormalizeUnit, Value } from "./units";
|
|
6
|
-
export type { TProvider, Breakpoints,
|
|
7
|
-
export { breakpoints, Provider, context,
|
|
5
|
+
export type { TProvider, Breakpoints, CreateMediaQueries, MakeItResponsive, MakeItResponsiveStyles, NormalizeTheme, SortBreakpoints, TransformTheme, Styles, StylesTheme, AlignContent, AlignContentAlignXKeys, AlignContentAlignYKeys, AlignContentDirectionKeys, ExtendCss, StripUnit, NormalizeUnit, Value, };
|
|
6
|
+
export { breakpoints, Provider, context, makeItResponsive, sortBreakpoints, createMediaQueries, transformTheme, normalizeTheme, styles, alignContent, ALIGN_CONTENT_DIRECTION, ALIGN_CONTENT_MAP_X, ALIGN_CONTENT_MAP_Y, extendCss, stripUnit, normalizeUnit, value, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { config } from '@vitus-labs/core';
|
|
2
|
-
export declare type ExtendCss = (styles:
|
|
2
|
+
export declare type ExtendCss = (styles: ((css: typeof config.css) => ReturnType<typeof css>) | string | null | undefined) => string | ReturnType<typeof config.css>;
|
|
3
3
|
declare const extendCss: ExtendCss;
|
|
4
4
|
export default extendCss;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Value } from "../../types";
|
|
2
|
+
export declare type SpacingShorthand = (property: 'padding' | 'margin', rootSize?: number) => (props: {
|
|
3
|
+
top: Value | null | undefined;
|
|
4
|
+
left: Value | null | undefined;
|
|
5
|
+
right: Value | null | undefined;
|
|
6
|
+
bottom: Value | null | undefined;
|
|
7
|
+
x: Value | null | undefined;
|
|
8
|
+
y: Value | null | undefined;
|
|
9
|
+
full: Value | null | undefined;
|
|
10
|
+
}) => string | null;
|
|
11
|
+
declare const spacingShorthand: SpacingShorthand;
|
|
12
|
+
export default spacingShorthand;
|