@vitus-labs/elements 1.0.0 → 1.0.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/analysis/index.js.html +1 -1
- package/lib/analysis/vitus-labs-elements.native.js.html +1 -1
- package/lib/index.d.ts +18 -16
- package/lib/index.js +57 -46
- package/lib/index.js.map +1 -1
- package/lib/types/Element/types.d.ts +5 -5
- package/lib/types/Overlay/useOverlay.d.ts +3 -3
- package/lib/types/Overlay/useOverlay.d.ts.map +1 -1
- package/lib/types/helpers/Content/component.d.ts +1 -15
- package/lib/types/helpers/Content/component.d.ts.map +1 -1
- package/lib/types/helpers/Content/styled.d.ts.map +1 -1
- package/lib/types/helpers/Content/types.d.ts +31 -0
- package/lib/types/helpers/Content/types.d.ts.map +1 -0
- package/lib/types/helpers/Iterator/component.d.ts.map +1 -1
- package/lib/types/helpers/Iterator/types.d.ts +2 -2
- package/lib/types/helpers/Wrapper/component.d.ts +2 -15
- package/lib/types/helpers/Wrapper/component.d.ts.map +1 -1
- package/lib/types/helpers/Wrapper/styled.d.ts.map +1 -1
- package/lib/types/helpers/Wrapper/types.d.ts +42 -0
- package/lib/types/helpers/Wrapper/types.d.ts.map +1 -0
- package/lib/types/helpers/Wrapper/utils.d.ts +1 -1
- package/lib/types/helpers/Wrapper/utils.d.ts.map +1 -1
- package/lib/types/index.d.ts +2 -2
- package/lib/types/types.d.ts +7 -5
- package/lib/types/types.d.ts.map +1 -1
- package/lib/types/utils.d.ts +2 -0
- package/lib/types/utils.d.ts.map +1 -0
- package/lib/vitus-labs-elements.native.js +48 -48
- package/lib/vitus-labs-elements.native.js.map +1 -1
- package/package.json +5 -5
|
@@ -5285,7 +5285,7 @@ var drawChart = (function (exports) {
|
|
|
5285
5285
|
</script>
|
|
5286
5286
|
<script>
|
|
5287
5287
|
/*<!--*/
|
|
5288
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"uid":"
|
|
5288
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"uid":"b0fd-1","name":"constants.ts"},{"uid":"b0fd-3","name":"utils.ts"},{"name":"helpers","children":[{"name":"Wrapper","children":[{"uid":"b0fd-5","name":"constants.ts"},{"uid":"b0fd-7","name":"utils.ts"},{"uid":"b0fd-9","name":"styled.ts"},{"uid":"b0fd-11","name":"component.tsx"}]},{"name":"Content","children":[{"uid":"b0fd-13","name":"styled.ts"},{"uid":"b0fd-15","name":"component.tsx"}]},{"name":"Iterator/component.tsx","uid":"b0fd-25"}]},{"name":"Element","children":[{"uid":"b0fd-17","name":"constants.ts"},{"uid":"b0fd-19","name":"utils.ts"},{"uid":"b0fd-21","name":"component.tsx"},{"uid":"b0fd-23","name":"withEqualSizeBeforeAfter.tsx"}]},{"name":"List","children":[{"uid":"b0fd-27","name":"component.tsx"},{"uid":"b0fd-29","name":"withActiveState.tsx"}]},{"name":"Portal/component.ts","uid":"b0fd-31"},{"name":"Overlay","children":[{"uid":"b0fd-33","name":"context.tsx"},{"uid":"b0fd-35","name":"useOverlay.tsx"},{"uid":"b0fd-37","name":"component.tsx"}]},{"name":"Text","children":[{"uid":"b0fd-39","name":"styled.ts"},{"uid":"b0fd-41","name":"component.tsx"}]},{"name":"Util/component.tsx","uid":"b0fd-43"},{"uid":"b0fd-45","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"b0fd-1":{"renderedLength":40,"gzipLength":60,"brotliLength":0,"metaUid":"b0fd-0"},"b0fd-3":{"renderedLength":61,"gzipLength":80,"brotliLength":0,"metaUid":"b0fd-2"},"b0fd-5":{"renderedLength":242,"gzipLength":206,"brotliLength":0,"metaUid":"b0fd-4"},"b0fd-7":{"renderedLength":173,"gzipLength":159,"brotliLength":0,"metaUid":"b0fd-6"},"b0fd-9":{"renderedLength":1122,"gzipLength":511,"brotliLength":0,"metaUid":"b0fd-8"},"b0fd-11":{"renderedLength":1320,"gzipLength":524,"brotliLength":0,"metaUid":"b0fd-10"},"b0fd-13":{"renderedLength":1831,"gzipLength":672,"brotliLength":0,"metaUid":"b0fd-12"},"b0fd-15":{"renderedLength":625,"gzipLength":316,"brotliLength":0,"metaUid":"b0fd-14"},"b0fd-17":{"renderedLength":796,"gzipLength":262,"brotliLength":0,"metaUid":"b0fd-16"},"b0fd-19":{"renderedLength":231,"gzipLength":142,"brotliLength":0,"metaUid":"b0fd-18"},"b0fd-21":{"renderedLength":4385,"gzipLength":1103,"brotliLength":0,"metaUid":"b0fd-20"},"b0fd-23":{"renderedLength":1898,"gzipLength":591,"brotliLength":0,"metaUid":"b0fd-22"},"b0fd-25":{"renderedLength":6926,"gzipLength":1440,"brotliLength":0,"metaUid":"b0fd-24"},"b0fd-27":{"renderedLength":502,"gzipLength":286,"brotliLength":0,"metaUid":"b0fd-26"},"b0fd-29":{"renderedLength":4761,"gzipLength":1156,"brotliLength":0,"metaUid":"b0fd-28"},"b0fd-31":{"renderedLength":822,"gzipLength":376,"brotliLength":0,"metaUid":"b0fd-30"},"b0fd-33":{"renderedLength":402,"gzipLength":224,"brotliLength":0,"metaUid":"b0fd-32"},"b0fd-35":{"renderedLength":17491,"gzipLength":3201,"brotliLength":0,"metaUid":"b0fd-34"},"b0fd-37":{"renderedLength":1272,"gzipLength":523,"brotliLength":0,"metaUid":"b0fd-36"},"b0fd-39":{"renderedLength":331,"gzipLength":225,"brotliLength":0,"metaUid":"b0fd-38"},"b0fd-41":{"renderedLength":716,"gzipLength":370,"brotliLength":0,"metaUid":"b0fd-40"},"b0fd-43":{"renderedLength":493,"gzipLength":276,"brotliLength":0,"metaUid":"b0fd-42"},"b0fd-45":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"b0fd-44"}},"nodeMetas":{"b0fd-0":{"id":"/src/constants.ts","moduleParts":{"index.js":"b0fd-1"},"imported":[],"importedBy":[{"uid":"b0fd-20"},{"uid":"b0fd-26"},{"uid":"b0fd-36"},{"uid":"b0fd-30"},{"uid":"b0fd-40"},{"uid":"b0fd-42"}]},"b0fd-2":{"id":"/src/utils.ts","moduleParts":{"index.js":"b0fd-3"},"imported":[],"importedBy":[{"uid":"b0fd-34"},{"uid":"b0fd-10"},{"uid":"b0fd-14"}]},"b0fd-4":{"id":"/src/helpers/Wrapper/constants.ts","moduleParts":{"index.js":"b0fd-5"},"imported":[],"importedBy":[{"uid":"b0fd-6"}]},"b0fd-6":{"id":"/src/helpers/Wrapper/utils.ts","moduleParts":{"index.js":"b0fd-7"},"imported":[{"uid":"b0fd-4"}],"importedBy":[{"uid":"b0fd-10"}]},"b0fd-8":{"id":"/src/helpers/Wrapper/styled.ts","moduleParts":{"index.js":"b0fd-9"},"imported":[{"uid":"b0fd-54"},{"uid":"b0fd-46"}],"importedBy":[{"uid":"b0fd-10"}]},"b0fd-10":{"id":"/src/helpers/Wrapper/component.tsx","moduleParts":{"index.js":"b0fd-11"},"imported":[{"uid":"b0fd-53"},{"uid":"b0fd-2"},{"uid":"b0fd-6"},{"uid":"b0fd-8"}],"importedBy":[{"uid":"b0fd-58"}]},"b0fd-12":{"id":"/src/helpers/Content/styled.ts","moduleParts":{"index.js":"b0fd-13"},"imported":[{"uid":"b0fd-54"},{"uid":"b0fd-46"}],"importedBy":[{"uid":"b0fd-14"}]},"b0fd-14":{"id":"/src/helpers/Content/component.tsx","moduleParts":{"index.js":"b0fd-15"},"imported":[{"uid":"b0fd-53"},{"uid":"b0fd-2"},{"uid":"b0fd-12"}],"importedBy":[{"uid":"b0fd-59"}]},"b0fd-16":{"id":"/src/Element/constants.ts","moduleParts":{"index.js":"b0fd-17"},"imported":[],"importedBy":[{"uid":"b0fd-18"}]},"b0fd-18":{"id":"/src/Element/utils.ts","moduleParts":{"index.js":"b0fd-19"},"imported":[{"uid":"b0fd-16"}],"importedBy":[{"uid":"b0fd-20"}]},"b0fd-20":{"id":"/src/Element/component.tsx","moduleParts":{"index.js":"b0fd-21"},"imported":[{"uid":"b0fd-53"},{"uid":"b0fd-54"},{"uid":"b0fd-0"},{"uid":"b0fd-55"},{"uid":"b0fd-18"}],"importedBy":[{"uid":"b0fd-47"}]},"b0fd-22":{"id":"/src/Element/withEqualSizeBeforeAfter.tsx","moduleParts":{"index.js":"b0fd-23"},"imported":[{"uid":"b0fd-53"},{"uid":"b0fd-54"}],"importedBy":[{"uid":"b0fd-47"}]},"b0fd-24":{"id":"/src/helpers/Iterator/component.tsx","moduleParts":{"index.js":"b0fd-25"},"imported":[{"uid":"b0fd-53"},{"uid":"b0fd-60"},{"uid":"b0fd-54"}],"importedBy":[{"uid":"b0fd-56"}]},"b0fd-26":{"id":"/src/List/component.tsx","moduleParts":{"index.js":"b0fd-27"},"imported":[{"uid":"b0fd-53"},{"uid":"b0fd-54"},{"uid":"b0fd-0"},{"uid":"b0fd-47"},{"uid":"b0fd-56"}],"importedBy":[{"uid":"b0fd-48"}]},"b0fd-28":{"id":"/src/List/withActiveState.tsx","moduleParts":{"index.js":"b0fd-29"},"imported":[{"uid":"b0fd-53"}],"importedBy":[{"uid":"b0fd-48"}]},"b0fd-30":{"id":"/src/Portal/component.ts","moduleParts":{"index.js":"b0fd-31"},"imported":[{"uid":"b0fd-53"},{"uid":"b0fd-57"},{"uid":"b0fd-0"}],"importedBy":[{"uid":"b0fd-50"}]},"b0fd-32":{"id":"/src/Overlay/context.tsx","moduleParts":{"index.js":"b0fd-33"},"imported":[{"uid":"b0fd-53"}],"importedBy":[{"uid":"b0fd-49"},{"uid":"b0fd-34"}]},"b0fd-34":{"id":"/src/Overlay/useOverlay.tsx","moduleParts":{"index.js":"b0fd-35"},"imported":[{"uid":"b0fd-53"},{"uid":"b0fd-54"},{"uid":"b0fd-46"},{"uid":"b0fd-2"},{"uid":"b0fd-32"}],"importedBy":[{"uid":"b0fd-49"},{"uid":"b0fd-36"}]},"b0fd-36":{"id":"/src/Overlay/component.tsx","moduleParts":{"index.js":"b0fd-37"},"imported":[{"uid":"b0fd-53"},{"uid":"b0fd-54"},{"uid":"b0fd-0"},{"uid":"b0fd-50"},{"uid":"b0fd-34"}],"importedBy":[{"uid":"b0fd-49"}]},"b0fd-38":{"id":"/src/Text/styled.ts","moduleParts":{"index.js":"b0fd-39"},"imported":[{"uid":"b0fd-54"},{"uid":"b0fd-46"}],"importedBy":[{"uid":"b0fd-40"}]},"b0fd-40":{"id":"/src/Text/component.tsx","moduleParts":{"index.js":"b0fd-41"},"imported":[{"uid":"b0fd-53"},{"uid":"b0fd-0"},{"uid":"b0fd-38"}],"importedBy":[{"uid":"b0fd-51"}]},"b0fd-42":{"id":"/src/Util/component.tsx","moduleParts":{"index.js":"b0fd-43"},"imported":[{"uid":"b0fd-53"},{"uid":"b0fd-54"},{"uid":"b0fd-0"}],"importedBy":[{"uid":"b0fd-52"}]},"b0fd-44":{"id":"/src/index.ts","moduleParts":{"index.js":"b0fd-45"},"imported":[{"uid":"b0fd-46"},{"uid":"b0fd-47"},{"uid":"b0fd-48"},{"uid":"b0fd-49"},{"uid":"b0fd-50"},{"uid":"b0fd-51"},{"uid":"b0fd-52"}],"importedBy":[],"isEntry":true},"b0fd-46":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"b0fd-44"},{"uid":"b0fd-34"},{"uid":"b0fd-38"},{"uid":"b0fd-8"},{"uid":"b0fd-12"}],"isExternal":true},"b0fd-47":{"id":"/src/Element/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-20"},{"uid":"b0fd-22"}],"importedBy":[{"uid":"b0fd-44"},{"uid":"b0fd-26"}]},"b0fd-48":{"id":"/src/List/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-26"},{"uid":"b0fd-28"}],"importedBy":[{"uid":"b0fd-44"}]},"b0fd-49":{"id":"/src/Overlay/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-36"},{"uid":"b0fd-34"},{"uid":"b0fd-32"}],"importedBy":[{"uid":"b0fd-44"}]},"b0fd-50":{"id":"/src/Portal/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-30"}],"importedBy":[{"uid":"b0fd-44"},{"uid":"b0fd-36"}]},"b0fd-51":{"id":"/src/Text/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-40"}],"importedBy":[{"uid":"b0fd-44"}]},"b0fd-52":{"id":"/src/Util/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-42"}],"importedBy":[{"uid":"b0fd-44"}]},"b0fd-53":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"b0fd-20"},{"uid":"b0fd-22"},{"uid":"b0fd-26"},{"uid":"b0fd-28"},{"uid":"b0fd-36"},{"uid":"b0fd-34"},{"uid":"b0fd-32"},{"uid":"b0fd-30"},{"uid":"b0fd-40"},{"uid":"b0fd-42"},{"uid":"b0fd-24"},{"uid":"b0fd-10"},{"uid":"b0fd-14"}],"isExternal":true},"b0fd-54":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"b0fd-20"},{"uid":"b0fd-22"},{"uid":"b0fd-26"},{"uid":"b0fd-36"},{"uid":"b0fd-34"},{"uid":"b0fd-42"},{"uid":"b0fd-38"},{"uid":"b0fd-24"},{"uid":"b0fd-8"},{"uid":"b0fd-12"}],"isExternal":true},"b0fd-55":{"id":"/src/helpers/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-58"},{"uid":"b0fd-59"}],"importedBy":[{"uid":"b0fd-20"}]},"b0fd-56":{"id":"/src/helpers/Iterator/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-24"}],"importedBy":[{"uid":"b0fd-26"}]},"b0fd-57":{"id":"react-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"b0fd-30"}],"isExternal":true},"b0fd-58":{"id":"/src/helpers/Wrapper/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-10"}],"importedBy":[{"uid":"b0fd-55"}]},"b0fd-59":{"id":"/src/helpers/Content/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-14"}],"importedBy":[{"uid":"b0fd-55"}]},"b0fd-60":{"id":"react-is","moduleParts":{},"imported":[],"importedBy":[{"uid":"b0fd-24"}],"isExternal":true}},"env":{"rollup":"3.29.4"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
5289
5289
|
|
|
5290
5290
|
const run = () => {
|
|
5291
5291
|
const width = window.innerWidth;
|
|
@@ -5285,7 +5285,7 @@ var drawChart = (function (exports) {
|
|
|
5285
5285
|
</script>
|
|
5286
5286
|
<script>
|
|
5287
5287
|
/*<!--*/
|
|
5288
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-elements.native.js","children":[{"name":"src","children":[{"uid":"
|
|
5288
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-labs-elements.native.js","children":[{"name":"src","children":[{"uid":"b0fd-62","name":"constants.ts"},{"uid":"b0fd-64","name":"utils.ts"},{"name":"helpers","children":[{"name":"Wrapper","children":[{"uid":"b0fd-66","name":"styled.ts"},{"uid":"b0fd-68","name":"component.tsx"}]},{"name":"Content","children":[{"uid":"b0fd-70","name":"styled.ts"},{"uid":"b0fd-72","name":"component.tsx"}]},{"name":"Iterator/component.tsx","uid":"b0fd-78"}]},{"name":"Element","children":[{"uid":"b0fd-74","name":"component.tsx"},{"uid":"b0fd-76","name":"withEqualSizeBeforeAfter.tsx"}]},{"name":"List","children":[{"uid":"b0fd-80","name":"component.tsx"},{"uid":"b0fd-82","name":"withActiveState.tsx"}]},{"name":"Portal/component.ts","uid":"b0fd-84"},{"name":"Overlay","children":[{"uid":"b0fd-86","name":"context.tsx"},{"uid":"b0fd-88","name":"useOverlay.tsx"},{"uid":"b0fd-90","name":"component.tsx"}]},{"name":"Text","children":[{"uid":"b0fd-92","name":"styled.ts"},{"uid":"b0fd-94","name":"component.tsx"}]},{"name":"Util/component.tsx","uid":"b0fd-96"},{"uid":"b0fd-98","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"b0fd-62":{"renderedLength":40,"gzipLength":60,"brotliLength":0,"metaUid":"b0fd-61"},"b0fd-64":{"renderedLength":61,"gzipLength":80,"brotliLength":0,"metaUid":"b0fd-63"},"b0fd-66":{"renderedLength":766,"gzipLength":384,"brotliLength":0,"metaUid":"b0fd-65"},"b0fd-68":{"renderedLength":693,"gzipLength":360,"brotliLength":0,"metaUid":"b0fd-67"},"b0fd-70":{"renderedLength":1807,"gzipLength":655,"brotliLength":0,"metaUid":"b0fd-69"},"b0fd-72":{"renderedLength":625,"gzipLength":316,"brotliLength":0,"metaUid":"b0fd-71"},"b0fd-74":{"renderedLength":3778,"gzipLength":959,"brotliLength":0,"metaUid":"b0fd-73"},"b0fd-76":{"renderedLength":1898,"gzipLength":591,"brotliLength":0,"metaUid":"b0fd-75"},"b0fd-78":{"renderedLength":6926,"gzipLength":1440,"brotliLength":0,"metaUid":"b0fd-77"},"b0fd-80":{"renderedLength":502,"gzipLength":286,"brotliLength":0,"metaUid":"b0fd-79"},"b0fd-82":{"renderedLength":4761,"gzipLength":1156,"brotliLength":0,"metaUid":"b0fd-81"},"b0fd-84":{"renderedLength":822,"gzipLength":376,"brotliLength":0,"metaUid":"b0fd-83"},"b0fd-86":{"renderedLength":402,"gzipLength":224,"brotliLength":0,"metaUid":"b0fd-85"},"b0fd-88":{"renderedLength":17491,"gzipLength":3201,"brotliLength":0,"metaUid":"b0fd-87"},"b0fd-90":{"renderedLength":1272,"gzipLength":523,"brotliLength":0,"metaUid":"b0fd-89"},"b0fd-92":{"renderedLength":331,"gzipLength":225,"brotliLength":0,"metaUid":"b0fd-91"},"b0fd-94":{"renderedLength":600,"gzipLength":333,"brotliLength":0,"metaUid":"b0fd-93"},"b0fd-96":{"renderedLength":493,"gzipLength":276,"brotliLength":0,"metaUid":"b0fd-95"},"b0fd-98":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"b0fd-97"}},"nodeMetas":{"b0fd-61":{"id":"/src/constants.ts","moduleParts":{"vitus-labs-elements.native.js":"b0fd-62"},"imported":[],"importedBy":[{"uid":"b0fd-73"},{"uid":"b0fd-79"},{"uid":"b0fd-89"},{"uid":"b0fd-83"},{"uid":"b0fd-93"},{"uid":"b0fd-95"}]},"b0fd-63":{"id":"/src/utils.ts","moduleParts":{"vitus-labs-elements.native.js":"b0fd-64"},"imported":[],"importedBy":[{"uid":"b0fd-87"},{"uid":"b0fd-67"},{"uid":"b0fd-71"}]},"b0fd-65":{"id":"/src/helpers/Wrapper/styled.ts","moduleParts":{"vitus-labs-elements.native.js":"b0fd-66"},"imported":[{"uid":"b0fd-107"},{"uid":"b0fd-99"}],"importedBy":[{"uid":"b0fd-67"}]},"b0fd-67":{"id":"/src/helpers/Wrapper/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"b0fd-68"},"imported":[{"uid":"b0fd-106"},{"uid":"b0fd-63"},{"uid":"b0fd-116"},{"uid":"b0fd-65"}],"importedBy":[{"uid":"b0fd-112"}]},"b0fd-69":{"id":"/src/helpers/Content/styled.ts","moduleParts":{"vitus-labs-elements.native.js":"b0fd-70"},"imported":[{"uid":"b0fd-107"},{"uid":"b0fd-99"}],"importedBy":[{"uid":"b0fd-71"}]},"b0fd-71":{"id":"/src/helpers/Content/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"b0fd-72"},"imported":[{"uid":"b0fd-106"},{"uid":"b0fd-63"},{"uid":"b0fd-69"}],"importedBy":[{"uid":"b0fd-113"}]},"b0fd-73":{"id":"/src/Element/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"b0fd-74"},"imported":[{"uid":"b0fd-106"},{"uid":"b0fd-107"},{"uid":"b0fd-61"},{"uid":"b0fd-108"},{"uid":"b0fd-109"}],"importedBy":[{"uid":"b0fd-100"}]},"b0fd-75":{"id":"/src/Element/withEqualSizeBeforeAfter.tsx","moduleParts":{"vitus-labs-elements.native.js":"b0fd-76"},"imported":[{"uid":"b0fd-106"},{"uid":"b0fd-107"}],"importedBy":[{"uid":"b0fd-100"}]},"b0fd-77":{"id":"/src/helpers/Iterator/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"b0fd-78"},"imported":[{"uid":"b0fd-106"},{"uid":"b0fd-115"},{"uid":"b0fd-107"}],"importedBy":[{"uid":"b0fd-110"}]},"b0fd-79":{"id":"/src/List/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"b0fd-80"},"imported":[{"uid":"b0fd-106"},{"uid":"b0fd-107"},{"uid":"b0fd-61"},{"uid":"b0fd-100"},{"uid":"b0fd-110"}],"importedBy":[{"uid":"b0fd-101"}]},"b0fd-81":{"id":"/src/List/withActiveState.tsx","moduleParts":{"vitus-labs-elements.native.js":"b0fd-82"},"imported":[{"uid":"b0fd-106"}],"importedBy":[{"uid":"b0fd-101"}]},"b0fd-83":{"id":"/src/Portal/component.ts","moduleParts":{"vitus-labs-elements.native.js":"b0fd-84"},"imported":[{"uid":"b0fd-106"},{"uid":"b0fd-111"},{"uid":"b0fd-61"}],"importedBy":[{"uid":"b0fd-103"}]},"b0fd-85":{"id":"/src/Overlay/context.tsx","moduleParts":{"vitus-labs-elements.native.js":"b0fd-86"},"imported":[{"uid":"b0fd-106"}],"importedBy":[{"uid":"b0fd-102"},{"uid":"b0fd-87"}]},"b0fd-87":{"id":"/src/Overlay/useOverlay.tsx","moduleParts":{"vitus-labs-elements.native.js":"b0fd-88"},"imported":[{"uid":"b0fd-106"},{"uid":"b0fd-107"},{"uid":"b0fd-99"},{"uid":"b0fd-63"},{"uid":"b0fd-85"}],"importedBy":[{"uid":"b0fd-102"},{"uid":"b0fd-89"}]},"b0fd-89":{"id":"/src/Overlay/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"b0fd-90"},"imported":[{"uid":"b0fd-106"},{"uid":"b0fd-107"},{"uid":"b0fd-61"},{"uid":"b0fd-103"},{"uid":"b0fd-87"}],"importedBy":[{"uid":"b0fd-102"}]},"b0fd-91":{"id":"/src/Text/styled.ts","moduleParts":{"vitus-labs-elements.native.js":"b0fd-92"},"imported":[{"uid":"b0fd-107"},{"uid":"b0fd-99"}],"importedBy":[{"uid":"b0fd-93"}]},"b0fd-93":{"id":"/src/Text/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"b0fd-94"},"imported":[{"uid":"b0fd-106"},{"uid":"b0fd-61"},{"uid":"b0fd-91"}],"importedBy":[{"uid":"b0fd-104"}]},"b0fd-95":{"id":"/src/Util/component.tsx","moduleParts":{"vitus-labs-elements.native.js":"b0fd-96"},"imported":[{"uid":"b0fd-106"},{"uid":"b0fd-107"},{"uid":"b0fd-61"}],"importedBy":[{"uid":"b0fd-105"}]},"b0fd-97":{"id":"/src/index.ts","moduleParts":{"vitus-labs-elements.native.js":"b0fd-98"},"imported":[{"uid":"b0fd-99"},{"uid":"b0fd-100"},{"uid":"b0fd-101"},{"uid":"b0fd-102"},{"uid":"b0fd-103"},{"uid":"b0fd-104"},{"uid":"b0fd-105"}],"importedBy":[],"isEntry":true},"b0fd-99":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"b0fd-97"},{"uid":"b0fd-87"},{"uid":"b0fd-91"},{"uid":"b0fd-65"},{"uid":"b0fd-69"}],"isExternal":true},"b0fd-100":{"id":"/src/Element/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-73"},{"uid":"b0fd-75"}],"importedBy":[{"uid":"b0fd-97"},{"uid":"b0fd-79"}]},"b0fd-101":{"id":"/src/List/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-79"},{"uid":"b0fd-81"}],"importedBy":[{"uid":"b0fd-97"}]},"b0fd-102":{"id":"/src/Overlay/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-89"},{"uid":"b0fd-87"},{"uid":"b0fd-85"}],"importedBy":[{"uid":"b0fd-97"}]},"b0fd-103":{"id":"/src/Portal/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-83"}],"importedBy":[{"uid":"b0fd-97"},{"uid":"b0fd-89"}]},"b0fd-104":{"id":"/src/Text/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-93"}],"importedBy":[{"uid":"b0fd-97"}]},"b0fd-105":{"id":"/src/Util/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-95"}],"importedBy":[{"uid":"b0fd-97"}]},"b0fd-106":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"b0fd-73"},{"uid":"b0fd-75"},{"uid":"b0fd-79"},{"uid":"b0fd-81"},{"uid":"b0fd-89"},{"uid":"b0fd-87"},{"uid":"b0fd-85"},{"uid":"b0fd-83"},{"uid":"b0fd-93"},{"uid":"b0fd-95"},{"uid":"b0fd-77"},{"uid":"b0fd-67"},{"uid":"b0fd-71"}],"isExternal":true},"b0fd-107":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"b0fd-73"},{"uid":"b0fd-75"},{"uid":"b0fd-79"},{"uid":"b0fd-89"},{"uid":"b0fd-87"},{"uid":"b0fd-95"},{"uid":"b0fd-91"},{"uid":"b0fd-77"},{"uid":"b0fd-65"},{"uid":"b0fd-69"}],"isExternal":true},"b0fd-108":{"id":"/src/helpers/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-112"},{"uid":"b0fd-113"}],"importedBy":[{"uid":"b0fd-73"}]},"b0fd-109":{"id":"/src/Element/utils.ts","moduleParts":{},"imported":[{"uid":"b0fd-114"}],"importedBy":[{"uid":"b0fd-73"}]},"b0fd-110":{"id":"/src/helpers/Iterator/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-77"}],"importedBy":[{"uid":"b0fd-79"}]},"b0fd-111":{"id":"react-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"b0fd-83"}],"isExternal":true},"b0fd-112":{"id":"/src/helpers/Wrapper/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-67"}],"importedBy":[{"uid":"b0fd-108"}]},"b0fd-113":{"id":"/src/helpers/Content/index.ts","moduleParts":{},"imported":[{"uid":"b0fd-71"}],"importedBy":[{"uid":"b0fd-108"}]},"b0fd-114":{"id":"/src/Element/constants.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"b0fd-109"}]},"b0fd-115":{"id":"react-is","moduleParts":{},"imported":[],"importedBy":[{"uid":"b0fd-77"}],"isExternal":true},"b0fd-116":{"id":"/src/helpers/Wrapper/utils.ts","moduleParts":{},"imported":[{"uid":"b0fd-117"}],"importedBy":[{"uid":"b0fd-67"}]},"b0fd-117":{"id":"/src/helpers/Wrapper/constants.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"b0fd-116"}]}},"env":{"rollup":"3.29.4"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
5289
5289
|
|
|
5290
5290
|
const run = () => {
|
|
5291
5291
|
const width = window.innerWidth;
|
package/lib/index.d.ts
CHANGED
|
@@ -33,11 +33,13 @@ declare type AlignY_3 = 'bottom' | 'top' | 'center';
|
|
|
33
33
|
|
|
34
34
|
export declare type Content = Parameters<typeof render>['0'];
|
|
35
35
|
|
|
36
|
-
declare type ContentAlignX = 'left' | 'center' | 'right' | 'spaceBetween' | 'spaceAround' | 'block'
|
|
36
|
+
declare type ContentAlignX = 'left' | 'center' | 'right' | 'spaceBetween' | 'spaceAround' | 'block';
|
|
37
37
|
|
|
38
|
-
declare type ContentAlignY = 'top' | 'center' | 'bottom' | 'spaceBetween' | 'spaceAround' | 'block'
|
|
38
|
+
declare type ContentAlignY = 'top' | 'center' | 'bottom' | 'spaceBetween' | 'spaceAround' | 'block';
|
|
39
39
|
|
|
40
|
-
declare type
|
|
40
|
+
declare type ContentBoolean = boolean;
|
|
41
|
+
|
|
42
|
+
declare type ContentDirection = 'inline' | 'rows' | 'reverseInline' | 'reverseRows';
|
|
41
43
|
|
|
42
44
|
declare type ContentRenderer = (props: Partial<{
|
|
43
45
|
active: boolean;
|
|
@@ -48,6 +50,8 @@ declare type ContentRenderer = (props: Partial<{
|
|
|
48
50
|
alignY: AlignY_3;
|
|
49
51
|
}>) => ReactNode;
|
|
50
52
|
|
|
53
|
+
declare type ContentSimpleValue = string | number;
|
|
54
|
+
|
|
51
55
|
declare interface Context {
|
|
52
56
|
blocked: boolean;
|
|
53
57
|
setBlocked: () => void;
|
|
@@ -119,15 +123,15 @@ export declare type ElementProps = Partial<{
|
|
|
119
123
|
*/
|
|
120
124
|
afterContent: Content;
|
|
121
125
|
/**
|
|
122
|
-
* A boolean type to define
|
|
126
|
+
* A boolean type to define whether **Element** should behave
|
|
123
127
|
* as an inline or block element (`flex` vs. `inline-flex`)
|
|
124
128
|
*/
|
|
125
|
-
block:
|
|
129
|
+
block: ResponsiveBoolType;
|
|
126
130
|
/**
|
|
127
|
-
* A boolean type to define
|
|
131
|
+
* A boolean type to define whether inner wrappers should be equal
|
|
128
132
|
* (have the same width or height)
|
|
129
133
|
*/
|
|
130
|
-
equalCols:
|
|
134
|
+
equalCols: ResponsiveBoolType;
|
|
131
135
|
/**
|
|
132
136
|
* Defines a `gap` spacing between inner wrappers between `beforeContent` and `children`
|
|
133
137
|
* and `children` and `afterContent`
|
|
@@ -505,8 +509,6 @@ declare type Id<T> = T extends infer U ? {
|
|
|
505
509
|
|
|
506
510
|
export declare type InnerRef = ForwardedRef<any>;
|
|
507
511
|
|
|
508
|
-
declare type isEmpty = null | undefined;
|
|
509
|
-
|
|
510
512
|
export declare type IteratorProps = Partial<{
|
|
511
513
|
/**
|
|
512
514
|
* Valid React `children`
|
|
@@ -517,7 +519,7 @@ export declare type IteratorProps = Partial<{
|
|
|
517
519
|
*/
|
|
518
520
|
data: Array<SimpleValue | ObjectValue | MaybeNull>;
|
|
519
521
|
/**
|
|
520
|
-
* A React component to be
|
|
522
|
+
* A React component to be rendered within list
|
|
521
523
|
*/
|
|
522
524
|
component: ElementType;
|
|
523
525
|
/**
|
|
@@ -527,7 +529,7 @@ export declare type IteratorProps = Partial<{
|
|
|
527
529
|
*/
|
|
528
530
|
valueName: string;
|
|
529
531
|
/**
|
|
530
|
-
* A React component to be
|
|
532
|
+
* A React component to be rendered within list. `wrapComponent`
|
|
531
533
|
* wraps `component`. Therefore it can be used to enhance the behavior
|
|
532
534
|
* of the list component
|
|
533
535
|
*/
|
|
@@ -650,9 +652,9 @@ export declare type PropsCallback = TObj | ((itemProps: Record<string, never> |
|
|
|
650
652
|
|
|
651
653
|
export { Provider }
|
|
652
654
|
|
|
653
|
-
export declare type Responsive =
|
|
655
|
+
export declare type Responsive = ContentSimpleValue | ContentSimpleValue[] | Partial<Record<BreakpointKeys, number | string>>;
|
|
654
656
|
|
|
655
|
-
export declare type
|
|
657
|
+
export declare type ResponsiveBoolType = ContentBoolean | ContentBoolean[] | Partial<Record<BreakpointKeys, ContentBoolean>>;
|
|
656
658
|
|
|
657
659
|
declare type SimpleHoc<P extends Record<string, unknown> = {}> = (WrappedComponent: ComponentType<P>) => ComponentType<P>;
|
|
658
660
|
|
|
@@ -717,7 +719,7 @@ export declare const useOverlay: ({ isOpen, openOn, closeOn, type, position, ali
|
|
|
717
719
|
|
|
718
720
|
export declare type UseOverlayProps = Partial<{
|
|
719
721
|
/**
|
|
720
|
-
* Defines default state
|
|
722
|
+
* Defines default state whether **Overlay** component should be active.
|
|
721
723
|
* @defaultValue `false`
|
|
722
724
|
*/
|
|
723
725
|
isOpen: boolean;
|
|
@@ -771,7 +773,7 @@ export declare type UseOverlayProps = Partial<{
|
|
|
771
773
|
*/
|
|
772
774
|
offsetY: number;
|
|
773
775
|
/**
|
|
774
|
-
* Performance helper. Value defined in
|
|
776
|
+
* Performance helper. Value defined in milliseconds for `throttling`
|
|
775
777
|
* recalculations
|
|
776
778
|
* @defaultValue `200`
|
|
777
779
|
*/
|
|
@@ -782,7 +784,7 @@ export declare type UseOverlayProps = Partial<{
|
|
|
782
784
|
*/
|
|
783
785
|
parentContainer: HTMLElement | null;
|
|
784
786
|
/**
|
|
785
|
-
* Defines
|
|
787
|
+
* Defines whether active **Overlay** is supposed to be closed on pressing
|
|
786
788
|
* `ESC` key.
|
|
787
789
|
* @defaultValue `true`
|
|
788
790
|
*/
|