@mhmo91/schmancy 0.8.6 → 0.9.2
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/README.md +110 -1
- package/ai/animation.md +64 -0
- package/ai/area.md +35 -256
- package/ai/autocomplete.md +44 -162
- package/ai/avatar.md +47 -178
- package/ai/badge.md +41 -108
- package/ai/busy.md +25 -184
- package/ai/button.md +52 -150
- package/ai/card.md +42 -215
- package/ai/checkbox.md +32 -135
- package/ai/chips.md +73 -383
- package/ai/code-highlight.md +33 -226
- package/ai/content-drawer.md +65 -232
- package/ai/date-range.md +43 -198
- package/ai/details.md +48 -453
- package/ai/dialog.md +55 -164
- package/ai/directives.md +258 -405
- package/ai/divider.md +15 -137
- package/ai/dropdown.md +44 -235
- package/ai/form.md +41 -137
- package/ai/icons.md +31 -235
- package/ai/input.md +50 -210
- package/ai/lightbox.md +25 -370
- package/ai/list.md +51 -130
- package/ai/menu.md +25 -134
- package/ai/mixins.md +70 -0
- package/ai/nav-drawer.md +30 -184
- package/ai/navigation-bar.md +27 -184
- package/ai/navigation-rail.md +62 -630
- package/ai/notification.md +49 -183
- package/ai/progress.md +26 -65
- package/ai/radio-group.md +45 -189
- package/ai/select.md +49 -209
- package/ai/sheet.md +74 -506
- package/ai/steps.md +30 -392
- package/ai/store.md +60 -247
- package/ai/surface.md +58 -245
- package/ai/table.md +56 -330
- package/ai/tabs.md +31 -176
- package/ai/textarea.md +48 -232
- package/ai/theme.md +40 -1089
- package/ai/tooltip.md +35 -146
- package/ai/tree.md +45 -271
- package/ai/typography.md +43 -296
- package/custom-elements.json +10955 -0
- package/dist/ai/animation.md +64 -0
- package/dist/ai/area.md +35 -256
- package/dist/ai/autocomplete.md +44 -162
- package/dist/ai/avatar.md +47 -178
- package/dist/ai/badge.md +41 -108
- package/dist/ai/busy.md +25 -184
- package/dist/ai/button.md +52 -150
- package/dist/ai/card.md +42 -215
- package/dist/ai/checkbox.md +32 -135
- package/dist/ai/chips.md +73 -383
- package/dist/ai/code-highlight.md +33 -226
- package/dist/ai/content-drawer.md +65 -232
- package/dist/ai/date-range.md +43 -198
- package/dist/ai/details.md +48 -453
- package/dist/ai/dialog.md +55 -164
- package/dist/ai/directives.md +258 -405
- package/dist/ai/divider.md +15 -137
- package/dist/ai/dropdown.md +44 -235
- package/dist/ai/form.md +41 -137
- package/dist/ai/icons.md +31 -235
- package/dist/ai/input.md +50 -210
- package/dist/ai/lightbox.md +25 -370
- package/dist/ai/list.md +51 -130
- package/dist/ai/menu.md +25 -134
- package/dist/ai/mixins.md +70 -0
- package/dist/ai/nav-drawer.md +30 -184
- package/dist/ai/navigation-bar.md +27 -184
- package/dist/ai/navigation-rail.md +62 -630
- package/dist/ai/notification.md +49 -183
- package/dist/ai/progress.md +26 -65
- package/dist/ai/radio-group.md +45 -189
- package/dist/ai/select.md +49 -209
- package/dist/ai/sheet.md +74 -506
- package/dist/ai/steps.md +30 -392
- package/dist/ai/store.md +60 -247
- package/dist/ai/surface.md +58 -245
- package/dist/ai/table.md +56 -330
- package/dist/ai/tabs.md +31 -176
- package/dist/ai/textarea.md +48 -232
- package/dist/ai/theme.md +40 -1089
- package/dist/ai/tooltip.md +35 -146
- package/dist/ai/tree.md +45 -271
- package/dist/ai/typography.md +43 -296
- package/dist/animation-BK-8BwY8.js +173 -0
- package/dist/animation-BK-8BwY8.js.map +1 -0
- package/dist/animation-CO_Csq84.cjs +16 -0
- package/dist/animation-CO_Csq84.cjs.map +1 -0
- package/dist/area-1h9xEpTc.cjs +12 -0
- package/dist/area-1h9xEpTc.cjs.map +1 -0
- package/dist/area-DbBcfm5p.js +590 -0
- package/dist/area-DbBcfm5p.js.map +1 -0
- package/dist/area.cjs +1 -2
- package/dist/area.js +2 -29
- package/dist/audio-DtYYgzYD.cjs +1 -0
- package/dist/audio-DtYYgzYD.cjs.map +1 -0
- package/dist/audio-kz8UgPTO.js +335 -0
- package/dist/audio-kz8UgPTO.js.map +1 -0
- package/dist/audio.cjs +1 -2
- package/dist/audio.js +3 -9
- package/dist/autocomplete-DDVsegep.js +378 -0
- package/dist/autocomplete-DDVsegep.js.map +1 -0
- package/dist/autocomplete-OE70CcYP.cjs +111 -0
- package/dist/autocomplete-OE70CcYP.cjs.map +1 -0
- package/dist/autocomplete.cjs +1 -2
- package/dist/autocomplete.js +1 -2
- package/dist/badge.cjs +1 -2
- package/dist/badge.js +2 -6
- package/dist/boat-Cf1oJ0ka.cjs +80 -0
- package/dist/boat-Cf1oJ0ka.cjs.map +1 -0
- package/dist/boat-T8Ov4-yA.js +347 -0
- package/dist/boat-T8Ov4-yA.js.map +1 -0
- package/dist/boat.cjs +1 -2
- package/dist/boat.js +2 -5
- package/dist/busy-BD6D5P-l.js +167 -0
- package/dist/busy-BD6D5P-l.js.map +1 -0
- package/dist/busy-DF9wztWL.cjs +134 -0
- package/dist/busy-DF9wztWL.cjs.map +1 -0
- package/dist/busy.cjs +1 -2
- package/dist/busy.js +1 -2
- package/dist/button.cjs +113 -2
- package/dist/button.cjs.map +1 -1
- package/dist/button.js +398 -5
- package/dist/button.js.map +1 -1
- package/dist/card-Csvu8UJ9.cjs +177 -0
- package/dist/card-Csvu8UJ9.cjs.map +1 -0
- package/dist/card-DM_miKMd.js +284 -0
- package/dist/card-DM_miKMd.js.map +1 -0
- package/dist/card.cjs +1 -2
- package/dist/card.js +1 -2
- package/dist/charts.cjs +112 -2
- package/dist/charts.cjs.map +1 -1
- package/dist/charts.js +368 -8
- package/dist/charts.js.map +1 -1
- package/dist/checkbox-BgGtMaMR.js +610 -0
- package/dist/checkbox-BgGtMaMR.js.map +1 -0
- package/dist/checkbox-sJujc_ga.cjs +39 -0
- package/dist/checkbox-sJujc_ga.cjs.map +1 -0
- package/dist/checkbox.cjs +1 -2
- package/dist/checkbox.js +2 -5
- package/dist/chips-BZaH4wez.js +645 -0
- package/dist/chips-BZaH4wez.js.map +1 -0
- package/dist/chips-D_e6wijp.cjs +253 -0
- package/dist/chips-D_e6wijp.cjs.map +1 -0
- package/dist/chips.cjs +1 -2
- package/dist/chips.js +3 -10
- package/dist/chunk-BCfY8kxB.cjs +1 -0
- package/dist/chunk-C_1VqBVD.js +11 -0
- package/dist/code-highlight-DlhERv_O.cjs +190 -0
- package/dist/code-highlight-DlhERv_O.cjs.map +1 -0
- package/dist/code-highlight-Q3cc6ukq.js +290 -0
- package/dist/code-highlight-Q3cc6ukq.js.map +1 -0
- package/dist/code-highlight.cjs +1 -2
- package/dist/code-highlight.js +2 -7
- package/dist/components-CRhkB3V2.js +730 -0
- package/dist/components-CRhkB3V2.js.map +1 -0
- package/dist/components-DnlEYYDs.cjs +73 -0
- package/dist/components-DnlEYYDs.cjs.map +1 -0
- package/dist/components.cjs +1 -2
- package/dist/components.js +2 -5
- package/dist/connectivity.cjs +59 -0
- package/dist/connectivity.cjs.map +1 -0
- package/dist/connectivity.js +86 -0
- package/dist/connectivity.js.map +1 -0
- package/dist/content-drawer.cjs +1 -2
- package/dist/content-drawer.js +2 -13
- package/dist/cursor-glow-Ah7VXSj7.js +46 -0
- package/dist/cursor-glow-Ah7VXSj7.js.map +1 -0
- package/dist/cursor-glow-DtSy_PJd.cjs +1 -0
- package/dist/cursor-glow-DtSy_PJd.cjs.map +1 -0
- package/dist/date-range-C0IYnvHF.js +946 -0
- package/dist/date-range-C0IYnvHF.js.map +1 -0
- package/dist/date-range-cymbTDnl.cjs +131 -0
- package/dist/date-range-cymbTDnl.cjs.map +1 -0
- package/dist/date-range-inline-0ENN4Plz.js +267 -0
- package/dist/date-range-inline-0ENN4Plz.js.map +1 -0
- package/dist/date-range-inline-Cfwt-ReH.cjs +43 -0
- package/dist/date-range-inline-Cfwt-ReH.cjs.map +1 -0
- package/dist/date-range-inline.cjs +1 -2
- package/dist/date-range-inline.js +2 -5
- package/dist/date-range.cjs +1 -2
- package/dist/date-range.js +2 -6
- package/dist/delay-D1dVP93u.js +346 -0
- package/dist/delay-D1dVP93u.js.map +1 -0
- package/dist/delay-D6mQLUp-.cjs +9 -0
- package/dist/delay-D6mQLUp-.cjs.map +1 -0
- package/dist/delay.cjs +1 -2
- package/dist/delay.js +2 -6
- package/dist/details-CPT_Mi4e.cjs +168 -0
- package/dist/details-CPT_Mi4e.cjs.map +1 -0
- package/dist/details-Cv4OOrVW.js +293 -0
- package/dist/details-Cv4OOrVW.js.map +1 -0
- package/dist/details.cjs +1 -2
- package/dist/details.js +2 -5
- package/dist/dialog-service-NZEvyEK-.js +193 -0
- package/dist/dialog-service-NZEvyEK-.js.map +1 -0
- package/dist/dialog-service-VnW4gkmE.cjs +1 -0
- package/dist/dialog-service-VnW4gkmE.cjs.map +1 -0
- package/dist/dialog.cjs +82 -2
- package/dist/dialog.cjs.map +1 -1
- package/dist/dialog.js +396 -9
- package/dist/dialog.js.map +1 -1
- package/dist/directives.cjs +108 -2
- package/dist/directives.cjs.map +1 -1
- package/dist/directives.js +1362 -14
- package/dist/directives.js.map +1 -1
- package/dist/discovery.cjs +1 -2
- package/dist/discovery.cjs.map +1 -1
- package/dist/discovery.js +61 -6
- package/dist/discovery.js.map +1 -1
- package/dist/divider-DDC-kND3.js +87 -0
- package/dist/divider-DDC-kND3.js.map +1 -0
- package/dist/divider-nZ_2to2N.cjs +57 -0
- package/dist/divider-nZ_2to2N.cjs.map +1 -0
- package/dist/divider.cjs +1 -2
- package/dist/divider.js +1 -2
- package/dist/dropdown.cjs +57 -2
- package/dist/dropdown.cjs.map +1 -1
- package/dist/dropdown.js +160 -5
- package/dist/dropdown.js.map +1 -1
- package/dist/expand-Bp3N8CcL.js +336 -0
- package/dist/expand-Bp3N8CcL.js.map +1 -0
- package/dist/expand-Crdts9q_.cjs +141 -0
- package/dist/expand-Crdts9q_.cjs.map +1 -0
- package/dist/expand.cjs +1 -0
- package/dist/expand.js +2 -0
- package/dist/extra-B0IZCg0t.cjs +31 -0
- package/dist/extra-B0IZCg0t.cjs.map +1 -0
- package/dist/extra-DupwhQhC.js +3435 -0
- package/dist/extra-DupwhQhC.js.map +1 -0
- package/dist/extra.cjs +1 -2
- package/dist/extra.js +2 -6
- package/dist/float-CQoJ_oSB.cjs +1 -0
- package/dist/float-CQoJ_oSB.cjs.map +1 -0
- package/dist/float-Dqdc1_S5.js +5 -0
- package/dist/float-Dqdc1_S5.js.map +1 -0
- package/dist/float.cjs +1 -0
- package/dist/float.js +2 -0
- package/dist/flow-Bbwn6dRN.cjs +1 -0
- package/dist/flow-Bbwn6dRN.cjs.map +1 -0
- package/dist/flow-CUj0fDT_.js +386 -0
- package/dist/flow-CUj0fDT_.js.map +1 -0
- package/dist/form-CW5XNuTg.js +270 -0
- package/dist/form-CW5XNuTg.js.map +1 -0
- package/dist/form-CvoLqMY7.cjs +1 -0
- package/dist/form-CvoLqMY7.cjs.map +1 -0
- package/dist/form.cjs +1 -2
- package/dist/form.js +1 -2
- package/dist/hashContent-DYM21p6t.js +6 -0
- package/dist/hashContent-DYM21p6t.js.map +1 -0
- package/dist/hashContent-DaeGmY-p.cjs +1 -0
- package/dist/hashContent-DaeGmY-p.cjs.map +1 -0
- package/dist/icons-BLQHEbIk.cjs +52 -0
- package/dist/icons-BLQHEbIk.cjs.map +1 -0
- package/dist/icons-Cpfdb7sA.js +161 -0
- package/dist/icons-Cpfdb7sA.js.map +1 -0
- package/dist/icons.cjs +1 -2
- package/dist/icons.js +1 -2
- package/dist/iframe-DG6HVYdy.js +44 -0
- package/dist/iframe-DG6HVYdy.js.map +1 -0
- package/dist/iframe-sJGXBbxT.cjs +24 -0
- package/dist/iframe-sJGXBbxT.cjs.map +1 -0
- package/dist/iframe.cjs +1 -0
- package/dist/iframe.js +2 -0
- package/dist/index.cjs +1 -2
- package/dist/index.js +69 -285
- package/dist/input-BevxycIt.js +364 -0
- package/dist/input-BevxycIt.js.map +1 -0
- package/dist/input-DGTdmp1Q.cjs +51 -0
- package/dist/input-DGTdmp1Q.cjs.map +1 -0
- package/dist/input-chip-BWS-SFU4.js +301 -0
- package/dist/input-chip-BWS-SFU4.js.map +1 -0
- package/dist/input-chip-CKVtjInb.cjs +146 -0
- package/dist/input-chip-CKVtjInb.cjs.map +1 -0
- package/dist/input.cjs +1 -2
- package/dist/input.js +2 -6
- package/dist/intersection-BPLpqYEd.js +12 -0
- package/dist/intersection-BPLpqYEd.js.map +1 -0
- package/dist/intersection-CZpaIHeT.cjs +1 -0
- package/dist/intersection-CZpaIHeT.cjs.map +1 -0
- package/dist/json.cjs +11 -2
- package/dist/json.cjs.map +1 -1
- package/dist/json.js +40 -4
- package/dist/json.js.map +1 -1
- package/dist/layout-4C-6_cre.cjs +1 -0
- package/dist/layout-4C-6_cre.cjs.map +1 -0
- package/dist/layout-CQdd8UCr.cjs +17 -0
- package/dist/layout-CQdd8UCr.cjs.map +1 -0
- package/dist/layout-DxLjlDfr.js +267 -0
- package/dist/layout-DxLjlDfr.js.map +1 -0
- package/dist/layout-yxSlLybo.js +94 -0
- package/dist/layout-yxSlLybo.js.map +1 -0
- package/dist/layout.cjs +1 -2
- package/dist/layout.js +3 -9
- package/dist/lightbox-Bjc55lHH.js +678 -0
- package/dist/lightbox-Bjc55lHH.js.map +1 -0
- package/dist/lightbox-C_863_XU.cjs +202 -0
- package/dist/lightbox-C_863_XU.cjs.map +1 -0
- package/dist/lightbox.cjs +1 -2
- package/dist/lightbox.js +2 -8
- package/dist/list-BAqhlzZd.js +105 -0
- package/dist/list-BAqhlzZd.js.map +1 -0
- package/dist/list-CaXzdN9_.cjs +40 -0
- package/dist/list-CaXzdN9_.cjs.map +1 -0
- package/dist/list.cjs +1 -2
- package/dist/list.js +2 -7
- package/dist/litElement.mixin-DN6X9_wD.cjs +1 -0
- package/dist/litElement.mixin-DN6X9_wD.cjs.map +1 -0
- package/dist/litElement.mixin-Dktub0ri.js +12 -0
- package/dist/litElement.mixin-Dktub0ri.js.map +1 -0
- package/dist/magnetic-BZGFxAWG.js +47 -0
- package/dist/magnetic-BZGFxAWG.js.map +1 -0
- package/dist/magnetic-Dux4QwO4.cjs +1 -0
- package/dist/magnetic-Dux4QwO4.cjs.map +1 -0
- package/dist/mailbox-BvsLXpvy.cjs +1142 -0
- package/dist/mailbox-BvsLXpvy.cjs.map +1 -0
- package/dist/mailbox-DuMUH4f3.js +1584 -0
- package/dist/mailbox-DuMUH4f3.js.map +1 -0
- package/dist/mailbox.cjs +1 -2
- package/dist/mailbox.js +2 -9
- package/dist/map-C2Msv9TQ.cjs +80 -0
- package/dist/map-C2Msv9TQ.cjs.map +1 -0
- package/dist/map-DkIy1ph7.js +205 -0
- package/dist/map-DkIy1ph7.js.map +1 -0
- package/dist/map.cjs +1 -2
- package/dist/map.js +2 -5
- package/dist/menu-DEeDKW5U.js +51 -0
- package/dist/menu-DEeDKW5U.js.map +1 -0
- package/dist/menu-Mm71lv9k.cjs +23 -0
- package/dist/menu-Mm71lv9k.cjs.map +1 -0
- package/dist/menu.cjs +1 -2
- package/dist/menu.js +1 -2
- package/dist/mixins.cjs +1 -2
- package/dist/mixins.cjs.map +1 -1
- package/dist/mixins.js +59 -12
- package/dist/mixins.js.map +1 -1
- package/dist/nav-drawer.cjs +1 -2
- package/dist/nav-drawer.js +2 -12
- package/dist/navigation-bar.cjs +1 -2
- package/dist/navigation-bar.js +2 -6
- package/dist/navigation-rail.cjs +71 -2
- package/dist/navigation-rail.cjs.map +1 -1
- package/dist/navigation-rail.js +363 -5
- package/dist/navigation-rail.js.map +1 -1
- package/dist/notification-K-ug8cKk.js +304 -0
- package/dist/notification-K-ug8cKk.js.map +1 -0
- package/dist/notification-cTgXEDZ0.cjs +23 -0
- package/dist/notification-cTgXEDZ0.cjs.map +1 -0
- package/dist/notification.cjs +1 -2
- package/dist/notification.js +2 -9
- package/dist/option-5rEOmtAm.cjs +43 -0
- package/dist/option-5rEOmtAm.cjs.map +1 -0
- package/dist/option-TFSKvSjT.js +97 -0
- package/dist/option-TFSKvSjT.js.map +1 -0
- package/dist/option.cjs +1 -2
- package/dist/option.js +1 -2
- package/dist/overlay-stack-DQey9Qph.cjs +1 -0
- package/dist/overlay-stack-DQey9Qph.cjs.map +1 -0
- package/dist/overlay-stack-DT1SdaGW.js +39 -0
- package/dist/overlay-stack-DT1SdaGW.js.map +1 -0
- package/dist/page.cjs +20 -2
- package/dist/page.cjs.map +1 -1
- package/dist/page.js +71 -4
- package/dist/page.js.map +1 -1
- package/dist/progress-Cta3nM-f.js +128 -0
- package/dist/progress-Cta3nM-f.js.map +1 -0
- package/dist/progress-iu0AMbSg.cjs +51 -0
- package/dist/progress-iu0AMbSg.cjs.map +1 -0
- package/dist/progress.cjs +1 -2
- package/dist/progress.js +1 -2
- package/dist/provide-BEyyKlDM.cjs +1 -0
- package/dist/provide-BEyyKlDM.cjs.map +1 -0
- package/dist/provide-D69zybs5.js +107 -0
- package/dist/provide-D69zybs5.js.map +1 -0
- package/dist/qr-scanner.cjs +35 -2
- package/dist/qr-scanner.cjs.map +1 -1
- package/dist/qr-scanner.js +119 -4
- package/dist/qr-scanner.js.map +1 -1
- package/dist/radio-group-BjSWmYJC.js +105 -0
- package/dist/radio-group-BjSWmYJC.js.map +1 -0
- package/dist/radio-group-DKPN0T50.cjs +40 -0
- package/dist/radio-group-DKPN0T50.cjs.map +1 -0
- package/dist/radio-group.cjs +1 -2
- package/dist/radio-group.js +2 -6
- package/dist/range.cjs +62 -0
- package/dist/range.cjs.map +1 -0
- package/dist/range.js +85 -0
- package/dist/range.js.map +1 -0
- package/dist/reduced-motion-D-L12p7G.js +7 -0
- package/dist/reduced-motion-D-L12p7G.js.map +1 -0
- package/dist/reduced-motion-Ds05GPyz.cjs +1 -0
- package/dist/reduced-motion-Ds05GPyz.cjs.map +1 -0
- package/dist/rxjs-utils-BSjmI9-Q.js +32 -0
- package/dist/rxjs-utils-BSjmI9-Q.js.map +1 -0
- package/dist/rxjs-utils-DCsfzeap.cjs +1 -0
- package/dist/rxjs-utils-DCsfzeap.cjs.map +1 -0
- package/dist/rxjs-utils.cjs +1 -2
- package/dist/rxjs-utils.js +2 -14
- package/dist/scroll-mayaGGpE.cjs +26 -0
- package/dist/scroll-mayaGGpE.cjs.map +1 -0
- package/dist/scroll-tG1vaRFO.js +112 -0
- package/dist/scroll-tG1vaRFO.js.map +1 -0
- package/dist/search-C4dFHYbX.js +91 -0
- package/dist/search-C4dFHYbX.js.map +1 -0
- package/dist/search-Ds8tt7Et.cjs +1 -0
- package/dist/search-Ds8tt7Et.cjs.map +1 -0
- package/dist/select-C4YK5Arj.cjs +56 -0
- package/dist/select-C4YK5Arj.cjs.map +1 -0
- package/dist/select-CepryGGP.js +305 -0
- package/dist/select-CepryGGP.js.map +1 -0
- package/dist/select.cjs +1 -2
- package/dist/select.js +2 -5
- package/dist/sheet-Cy4C2-kG.cjs +35 -0
- package/dist/sheet-Cy4C2-kG.cjs.map +1 -0
- package/dist/sheet-D2uT95S1.js +168 -0
- package/dist/sheet-D2uT95S1.js.map +1 -0
- package/dist/sheet.cjs +1 -2
- package/dist/sheet.js +3 -7
- package/dist/sheet.service-Dv5Hwj3k.cjs +1 -0
- package/dist/sheet.service-Dv5Hwj3k.cjs.map +1 -0
- package/dist/sheet.service-Os8KJGSE.js +86 -0
- package/dist/sheet.service-Os8KJGSE.js.map +1 -0
- package/dist/slider.cjs +82 -2
- package/dist/slider.cjs.map +1 -1
- package/dist/slider.js +143 -5
- package/dist/slider.js.map +1 -1
- package/dist/sound.service-Bu3EQLv2.cjs +1 -0
- package/dist/sound.service-Bu3EQLv2.cjs.map +1 -0
- package/dist/sound.service-m3BrSfuH.js +2353 -0
- package/dist/sound.service-m3BrSfuH.js.map +1 -0
- package/dist/src-BLcmKlCH.js +1244 -0
- package/dist/src-BLcmKlCH.js.map +1 -0
- package/dist/src-tfU0akqI.cjs +269 -0
- package/dist/src-tfU0akqI.cjs.map +1 -0
- package/dist/steps.cjs +70 -2
- package/dist/steps.cjs.map +1 -1
- package/dist/steps.js +178 -7
- package/dist/steps.js.map +1 -1
- package/dist/store-CorvD3bT.cjs +1 -0
- package/dist/store-CorvD3bT.cjs.map +1 -0
- package/dist/store-DYqDLAvT.js +1654 -0
- package/dist/store-DYqDLAvT.js.map +1 -0
- package/dist/store.cjs +1 -2
- package/dist/store.js +2 -47
- package/dist/surface-CiiIYeJN.cjs +7 -0
- package/dist/surface-CiiIYeJN.cjs.map +1 -0
- package/dist/surface-fXvRpS6s.js +21 -0
- package/dist/surface-fXvRpS6s.js.map +1 -0
- package/dist/surface.cjs +1 -2
- package/dist/surface.js +2 -6
- package/dist/surface.mixin-C4hbgyaP.cjs +297 -0
- package/dist/surface.mixin-C4hbgyaP.cjs.map +1 -0
- package/dist/surface.mixin-DBuxL5aL.js +320 -0
- package/dist/surface.mixin-DBuxL5aL.js.map +1 -0
- package/dist/table-BRVKlNjl.cjs +63 -0
- package/dist/table-BRVKlNjl.cjs.map +1 -0
- package/dist/table-BeXnwSsq.js +631 -0
- package/dist/table-BeXnwSsq.js.map +1 -0
- package/dist/table.cjs +1 -2
- package/dist/table.js +2 -6
- package/dist/tabs-CBU9Ctqm.cjs +31 -0
- package/dist/tabs-CBU9Ctqm.cjs.map +1 -0
- package/dist/tabs-y708NWQ2.js +125 -0
- package/dist/tabs-y708NWQ2.js.map +1 -0
- package/dist/tabs.cjs +1 -2
- package/dist/tabs.js +1 -2
- package/dist/tailwind.mixin-C4cx3IOr.js +225 -0
- package/dist/tailwind.mixin-C4cx3IOr.js.map +1 -0
- package/dist/tailwind.mixin-DGiyLbEi.cjs +2 -0
- package/dist/tailwind.mixin-DGiyLbEi.cjs.map +1 -0
- package/dist/teleport.cjs +1 -2
- package/dist/teleport.js +2 -8
- package/dist/textarea-BhAoJg8c.cjs +35 -0
- package/dist/textarea-BhAoJg8c.cjs.map +1 -0
- package/dist/textarea-Bl8-gQEJ.js +195 -0
- package/dist/textarea-Bl8-gQEJ.js.map +1 -0
- package/dist/textarea.cjs +1 -2
- package/dist/textarea.js +1 -2
- package/dist/theme-C-vdR-Ic.cjs +181 -0
- package/dist/theme-C-vdR-Ic.cjs.map +1 -0
- package/dist/theme-DZUpYJn-.js +4121 -0
- package/dist/theme-DZUpYJn-.js.map +1 -0
- package/dist/theme-button-CwrvpOMK.js +19 -0
- package/dist/theme-button-CwrvpOMK.js.map +1 -0
- package/dist/theme-button-Cx1iKh7G.cjs +8 -0
- package/dist/theme-button-Cx1iKh7G.cjs.map +1 -0
- package/dist/theme-button.cjs +1 -2
- package/dist/theme-button.js +1 -2
- package/dist/theme.cjs +1 -2
- package/dist/theme.events-Cv7N4Toe.js +2 -0
- package/dist/theme.events-Cv7N4Toe.js.map +1 -0
- package/dist/theme.events-DM4H5F2d.cjs +1 -0
- package/dist/theme.events-DM4H5F2d.cjs.map +1 -0
- package/dist/theme.interface-CXloMUCw.js +276 -0
- package/dist/theme.interface-CXloMUCw.js.map +1 -0
- package/dist/theme.interface-Da23QAYb.cjs +1 -0
- package/dist/theme.interface-Da23QAYb.cjs.map +1 -0
- package/dist/theme.js +6 -21
- package/dist/theme.service-C_tjlqgy.cjs +1 -0
- package/dist/theme.service-C_tjlqgy.cjs.map +1 -0
- package/dist/theme.service-D9lEas89.js +108 -0
- package/dist/theme.service-D9lEas89.js.map +1 -0
- package/dist/tooltip.cjs +6 -2
- package/dist/tooltip.cjs.map +1 -1
- package/dist/tooltip.js +200 -5
- package/dist/tooltip.js.map +1 -1
- package/dist/tree.cjs +26 -2
- package/dist/tree.cjs.map +1 -1
- package/dist/tree.js +64 -4
- package/dist/tree.js.map +1 -1
- package/dist/tslib.es6-D7BIeDVB.cjs +1 -0
- package/dist/tslib.es6-D7BIeDVB.cjs.map +1 -0
- package/dist/tslib.es6-ErZEp3OO.js +7 -0
- package/dist/tslib.es6-ErZEp3OO.js.map +1 -0
- package/dist/types.cjs +1 -2
- package/dist/types.cjs.map +1 -1
- package/dist/types.js +4 -5
- package/dist/types.js.map +1 -1
- package/dist/typewriter-CXQIzqPV.cjs +123 -0
- package/dist/typewriter-CXQIzqPV.cjs.map +1 -0
- package/dist/typewriter-mxVw5dFn.js +700 -0
- package/dist/typewriter-mxVw5dFn.js.map +1 -0
- package/dist/typewriter.cjs +1 -2
- package/dist/typewriter.js +2 -5
- package/dist/typography.cjs +282 -2
- package/dist/typography.cjs.map +1 -1
- package/dist/typography.js +353 -4
- package/dist/typography.js.map +1 -1
- package/dist/utils-BcaKtQuA.cjs +1 -0
- package/dist/utils-BcaKtQuA.cjs.map +1 -0
- package/dist/utils-CoU7M2YS.js +259 -0
- package/dist/utils-CoU7M2YS.js.map +1 -0
- package/dist/utils.cjs +1 -2
- package/dist/utils.js +6 -9
- package/dist/window-DFMlB1Tq.cjs +59 -0
- package/dist/window-DFMlB1Tq.cjs.map +1 -0
- package/dist/window-EWYJJC_H.js +548 -0
- package/dist/window-EWYJJC_H.js.map +1 -0
- package/dist/window.cjs +1 -0
- package/dist/window.js +2 -0
- package/mixins/baseElement.ts +118 -1
- package/mixins/discovery.service.ts +162 -1
- package/mixins/formField.mixin.ts +13 -8
- package/mixins/index.ts +2 -0
- package/mixins/surface.mixin.ts +93 -0
- package/mixins/tailwind.css +331 -14
- package/package.json +32 -28
- package/src/CLAUDE.md +428 -0
- package/src/area/.excalidraw +357 -0
- package/src/area/area.component.ts +449 -0
- package/src/area/area.service.test.ts +1007 -0
- package/src/area/area.service.ts +748 -0
- package/src/area/ecrypt.ts +7 -0
- package/src/area/index.ts +7 -0
- package/src/area/lazy.ts +83 -0
- package/src/area/readme.md +338 -0
- package/src/area/route.component.ts +79 -0
- package/src/area/router-guide.md +360 -0
- package/src/area/router.types.ts +101 -0
- package/src/area/utils.ts +354 -0
- package/src/audio/emotional-sounds.ts +940 -0
- package/src/audio/index.ts +53 -0
- package/src/audio/sound.service.ts +1079 -0
- package/src/autocomplete/README.md +485 -0
- package/src/autocomplete/autocomplete.scss +24 -0
- package/src/autocomplete/autocomplete.ts +733 -0
- package/src/autocomplete/index.ts +1 -0
- package/src/avatar.ts +164 -0
- package/src/badge/badge.ts +286 -0
- package/src/badge/index.ts +1 -0
- package/src/boat/boat.ts +664 -0
- package/src/boat/index.ts +1 -0
- package/src/busy/busy.ts +39 -0
- package/src/busy/index.ts +2 -0
- package/src/busy/spinner.ts +165 -0
- package/src/button/button.ts +382 -0
- package/src/button/icon-button.ts +287 -0
- package/src/button/index.ts +2 -0
- package/src/card/actions.ts +28 -0
- package/src/card/card.ts +319 -0
- package/src/card/content.ts +24 -0
- package/src/card/index.ts +4 -0
- package/src/card/media.ts +77 -0
- package/src/charts/area-chart.ts +495 -0
- package/src/charts/index.ts +4 -0
- package/src/charts/pills.ts +350 -0
- package/src/charts/types.ts +66 -0
- package/src/charts/utils.ts +65 -0
- package/src/checkbox/checkbox.ts +122 -0
- package/src/checkbox/index.ts +1 -0
- package/src/chips/assist-chip.ts +261 -0
- package/src/chips/chips.ts +259 -0
- package/src/chips/filter-chip.ts +255 -0
- package/src/chips/index.ts +5 -0
- package/src/chips/input-chip.ts +408 -0
- package/src/chips/suggestion-chip.ts +266 -0
- package/src/code-highlight/code-highlight.ts +344 -0
- package/src/code-highlight/code-preview.ts +123 -0
- package/src/code-highlight/index.ts +3 -0
- package/src/components/form-elements/index.ts +1 -0
- package/src/components/form-elements/payment-card-form.ts +331 -0
- package/src/components/index.ts +1 -0
- package/src/connectivity/connectivity-status.ts +153 -0
- package/src/connectivity/index.ts +1 -0
- package/src/content-drawer/context.ts +13 -0
- package/src/content-drawer/drawer.service.ts +148 -0
- package/src/content-drawer/drawer.ts +183 -0
- package/src/content-drawer/index.ts +5 -0
- package/src/content-drawer/main.ts +83 -0
- package/src/content-drawer/readme.md +709 -0
- package/src/content-drawer/sheet.ts +180 -0
- package/src/date-range/date-range-dialog.ts +230 -0
- package/src/date-range/date-range-helpers.ts +135 -0
- package/src/date-range/date-range-presets.ts +220 -0
- package/src/date-range/date-range.ts +530 -0
- package/src/date-range/date-utils.ts +58 -0
- package/src/date-range/index.ts +2 -0
- package/src/date-range-inline/date-range-inline.ts +522 -0
- package/src/date-range-inline/index.ts +2 -0
- package/src/delay/delay.ts +136 -0
- package/src/delay/index.ts +1 -0
- package/src/details/details.ts +429 -0
- package/src/details/index.ts +1 -0
- package/src/dialog/dialog-base.mixin.ts +565 -0
- package/src/dialog/dialog-events.ts +17 -0
- package/src/dialog/dialog-service.ts +482 -0
- package/src/dialog/dialog.component.ts +394 -0
- package/src/dialog/index.ts +3 -0
- package/src/directives/animate-text.ts +551 -0
- package/src/directives/color.ts +41 -0
- package/src/directives/confirm-click.ts +350 -0
- package/src/directives/cursor-glow.ts +142 -0
- package/src/directives/cycle-text.ts +496 -0
- package/src/directives/depth-of-field.ts +83 -0
- package/src/directives/drag.ts +370 -0
- package/src/directives/gravity.ts +117 -0
- package/src/directives/index.ts +19 -0
- package/src/directives/intersect.ts +204 -0
- package/src/directives/layout.ts +261 -0
- package/src/directives/liquid.ts +150 -0
- package/src/directives/living-border.ts +166 -0
- package/src/directives/long-press.ts +150 -0
- package/src/directives/magnetic.ts +133 -0
- package/src/directives/nebula.ts +773 -0
- package/src/directives/reduced-motion.ts +30 -0
- package/src/directives/reveal.ts +158 -0
- package/src/directives/ripple.ts +102 -0
- package/src/directives/typewriter.ts +349 -0
- package/src/discovery/discovery.service.ts +210 -0
- package/src/discovery/index.ts +1 -0
- package/src/divider/divider.ts +100 -0
- package/src/divider/index.ts +1 -0
- package/src/dropdown/dropdown-component.ts +264 -0
- package/src/dropdown/dropdown-content.ts +108 -0
- package/src/dropdown/index.ts +2 -0
- package/src/expand/expand-root.component.ts +278 -0
- package/src/expand/expand.component.ts +287 -0
- package/src/expand/index.ts +2 -0
- package/src/extra/countries/countries.data.ts +196 -0
- package/src/extra/countries/countries.ts +107 -0
- package/src/extra/countries/index.ts +2 -0
- package/src/extra/index.ts +2 -0
- package/src/extra/timezone/index.ts +2 -0
- package/src/extra/timezone/timezone.ts +116 -0
- package/src/extra/timezone/timezones.data.ts +2546 -0
- package/src/float/float.ts +18 -0
- package/src/float/index.ts +1 -0
- package/src/form/form-v2.ts +268 -0
- package/src/form/form.ts +194 -0
- package/src/form/index.ts +2 -0
- package/src/icons/icon.ts +293 -0
- package/src/icons/index.ts +1 -0
- package/src/icons/readme.md +37 -0
- package/src/iframe/iframe.ts +98 -0
- package/src/iframe/index.ts +1 -0
- package/src/index.ts +69 -0
- package/src/input/index.ts +8 -0
- package/src/input/input.scss +211 -0
- package/src/input/input.ts +951 -0
- package/src/json/index.ts +1 -0
- package/src/json/json.ts +55 -0
- package/src/layout/flex/flex.scss +4 -0
- package/src/layout/flex/flex.ts +74 -0
- package/src/layout/flex/index.ts +1 -0
- package/src/layout/grid/.readme +79 -0
- package/src/layout/grid/grid.scss +5 -0
- package/src/layout/grid/grid.ts +121 -0
- package/src/layout/grid/index.ts +1 -0
- package/src/layout/index.ts +5 -0
- package/src/layout/layout.ts +122 -0
- package/src/layout/scroll/index.ts +1 -0
- package/src/layout/scroll/scroll.ts +351 -0
- package/src/layout/v2/flex.ts +243 -0
- package/src/layout/v2/grid.ts +93 -0
- package/src/layout/v2/index.ts +1 -0
- package/src/lightbox/flip-directive.ts +270 -0
- package/src/lightbox/index.ts +4 -0
- package/src/lightbox/lightbox-service.ts +378 -0
- package/src/lightbox/lightbox.directive.ts +256 -0
- package/src/lightbox/lightbox.ts +417 -0
- package/src/list/context.ts +3 -0
- package/src/list/index.ts +3 -0
- package/src/list/list-item.ts +94 -0
- package/src/list/list.ts +87 -0
- package/src/list/readme.md +62 -0
- package/src/mailbox/README.md +131 -0
- package/src/mailbox/email-editor.ts +1071 -0
- package/src/mailbox/email-layout-selector.ts +58 -0
- package/src/mailbox/email-recipients.ts +594 -0
- package/src/mailbox/email-template-picker.ts +296 -0
- package/src/mailbox/email-viewer.ts +715 -0
- package/src/mailbox/index.ts +31 -0
- package/src/mailbox/mailbox.ts +363 -0
- package/src/mailbox/types.ts +181 -0
- package/src/map/index.ts +1 -0
- package/src/map/map.ts +483 -0
- package/src/menu/index.ts +2 -0
- package/src/menu/menu-item.ts +26 -0
- package/src/menu/menu.ts +83 -0
- package/src/nav-drawer/$navbar.ts +51 -0
- package/src/nav-drawer/appbar.ts +26 -0
- package/src/nav-drawer/content.ts +32 -0
- package/src/nav-drawer/context.ts +6 -0
- package/src/nav-drawer/drawer.ts +128 -0
- package/src/nav-drawer/index.ts +6 -0
- package/src/nav-drawer/navbar.ts +191 -0
- package/src/navigation-bar/index.ts +2 -0
- package/src/navigation-bar/navigation-bar-item.ts +417 -0
- package/src/navigation-bar/navigation-bar.ts +482 -0
- package/src/navigation-rail/index.ts +2 -0
- package/src/navigation-rail/navigation-rail-item.ts +443 -0
- package/src/navigation-rail/navigation-rail.ts +492 -0
- package/src/notification/index.ts +6 -0
- package/src/notification/notification-service.ts +324 -0
- package/src/notification/notification.scss +117 -0
- package/src/notification/notification.ts +263 -0
- package/src/notification/notify.ts +207 -0
- package/src/notification/outlet.ts +16 -0
- package/src/option/index.ts +1 -0
- package/src/option/option.ts +180 -0
- package/src/page/index.ts +1 -0
- package/src/page/page.ts +135 -0
- package/src/progress/index.ts +1 -0
- package/src/progress/progress.ts +143 -0
- package/src/qr-scanner/index.ts +1 -0
- package/src/qr-scanner/qr-scanner.ts +240 -0
- package/src/radio-group/index.ts +2 -0
- package/src/radio-group/radio-button.ts +81 -0
- package/src/radio-group/radio-group.scss +4 -0
- package/src/radio-group/radio-group.ts +110 -0
- package/src/radio-group/readme.md +315 -0
- package/src/range/index.ts +1 -0
- package/src/range/range.ts +102 -0
- package/src/rxjs-utils/index.ts +6 -0
- package/src/rxjs-utils/mutation-observer.ts +22 -0
- package/src/rxjs-utils/waitForElement.ts +33 -0
- package/src/rxjs-utils/waitForElementAll.ts +34 -0
- package/src/rxjs-utils/waitForElements.ts +40 -0
- package/src/rxjs-utils/waitForElementsAll.ts +42 -0
- package/src/rxjs-utils/waitUntil.ts +16 -0
- package/src/select/README.md +405 -0
- package/src/select/index.ts +2 -0
- package/src/select/select.ts +766 -0
- package/src/sheet/hook.ts +40 -0
- package/src/sheet/index.ts +2 -0
- package/src/sheet/sheet.service.ts +235 -0
- package/src/sheet/sheet.ts +236 -0
- package/src/slider/index.ts +2 -0
- package/src/slider/slide.ts +107 -0
- package/src/slider/slider.ts +164 -0
- package/src/steps/index.ts +3 -0
- package/src/steps/schmancy-step.ts +213 -0
- package/src/steps/schmancy-steps-container.ts +109 -0
- package/src/steps/steps.context.ts +23 -0
- package/src/store/context-array.ts +358 -0
- package/src/store/context-collection.ts +218 -0
- package/src/store/context-create.ts +284 -0
- package/src/store/context-object.ts +298 -0
- package/src/store/filter-directive.ts +614 -0
- package/src/store/immer-integration.ts +99 -0
- package/src/store/index.ts +10 -0
- package/src/store/selector-hook.ts +259 -0
- package/src/store/selectors.ts +289 -0
- package/src/store/storage-manager.ts +269 -0
- package/src/store/store.class.ts +239 -0
- package/src/store/types.ts +327 -0
- package/src/surface/context.ts +3 -0
- package/src/surface/index.ts +1 -0
- package/src/surface/surface.styles.ts +334 -0
- package/src/surface/surface.ts +59 -0
- package/src/table/index.ts +2 -0
- package/src/table/row.ts +60 -0
- package/src/table/table.ts +266 -0
- package/src/tabs/Readme.md +397 -0
- package/src/tabs/context.ts +5 -0
- package/src/tabs/index.ts +4 -0
- package/src/tabs/tab.ts +39 -0
- package/src/tabs/tabs-compatibility.ts +20 -0
- package/src/tabs/tabs-group.ts +184 -0
- package/src/teleport/.excalidraw +2511 -0
- package/src/teleport/index.ts +2 -0
- package/src/teleport/readme.md +91 -0
- package/src/teleport/teleport.component.ts +132 -0
- package/src/teleport/teleport.service.ts +139 -0
- package/src/teleport/watcher.ts +20 -0
- package/src/textarea/index.ts +1 -0
- package/src/textarea/textarea.scss +54 -0
- package/src/textarea/textarea.ts +432 -0
- package/src/theme/context.ts +28 -0
- package/src/theme/index.ts +17 -0
- package/src/theme/theme-audio-player.ts +470 -0
- package/src/theme/theme-controller-boat.ts +49 -0
- package/src/theme/theme-controller-example.md +152 -0
- package/src/theme/theme-controller.ts +205 -0
- package/src/theme/theme.component.ts +305 -0
- package/src/theme/theme.events.ts +59 -0
- package/src/theme/theme.format.ts +417 -0
- package/src/theme/theme.interface.ts +399 -0
- package/src/theme/theme.service.ts +520 -0
- package/src/theme/theme.style.css +619 -0
- package/src/theme-button/index.ts +1 -0
- package/src/theme-button/theme-button.ts +35 -0
- package/src/tooltip/index.ts +2 -0
- package/src/tooltip/tooltip.directive.ts +277 -0
- package/src/tooltip/tooltip.ts +216 -0
- package/src/tree/README.md +59 -0
- package/src/tree/index.ts +1 -0
- package/src/tree/tree.ts +132 -0
- package/src/types/events.ts +5 -0
- package/src/types/index.ts +3 -0
- package/src/types/mood-audio.types.ts +220 -0
- package/src/types/surface.ts +52 -0
- package/src/typewriter/IMPROVEMENTS.md +174 -0
- package/src/typewriter/QUICK_REFERENCE.md +166 -0
- package/src/typewriter/index.ts +1 -0
- package/src/typewriter/test-typewriter.html +97 -0
- package/src/typewriter/typewriter.ts +376 -0
- package/src/typography/index.ts +1 -0
- package/src/typography/typography.ts +448 -0
- package/src/utils/animation.ts +418 -0
- package/src/utils/hashContent.ts +12 -0
- package/src/utils/index.ts +6 -0
- package/src/utils/intersection.ts +22 -0
- package/src/utils/number.ts +529 -0
- package/src/utils/overlay-stack.ts +101 -0
- package/src/utils/search.ts +322 -0
- package/src/vite-env.d.ts +2 -0
- package/src/window/index.ts +10 -0
- package/src/window/window-manager.ts +204 -0
- package/src/window/window-position.ts +136 -0
- package/src/window/window-registry.ts +34 -0
- package/src/window/window.ts +724 -0
- package/types/mixins/baseElement.d.ts +12 -0
- package/types/mixins/discovery.service.d.ts +72 -0
- package/types/mixins/index.d.ts +2 -0
- package/types/mixins/surface.mixin.d.ts +39 -0
- package/types/src/area/area.service.d.ts +2 -0
- package/types/src/badge/badge.d.ts +1 -1
- package/types/src/boat/boat.d.ts +40 -33
- package/types/src/button/icon-button.d.ts +10 -0
- package/types/src/chips/filter-chip.d.ts +0 -12
- package/types/src/connectivity/connectivity-status.d.ts +25 -0
- package/types/src/connectivity/index.d.ts +1 -0
- package/types/src/content-drawer/drawer.service.d.ts +3 -0
- package/types/src/date-range/date-range.d.ts +2 -0
- package/types/src/details/details.d.ts +26 -2
- package/types/src/dialog/dialog-base.mixin.d.ts +7 -3
- package/types/src/dialog/dialog-service.d.ts +27 -1
- package/types/src/dialog/dialog.component.d.ts +35 -1
- package/types/src/directives/animate-text.d.ts +67 -0
- package/types/src/directives/color.d.ts +2 -3
- package/types/src/directives/confirm-click.d.ts +38 -0
- package/types/src/directives/cursor-glow.d.ts +38 -0
- package/types/src/directives/cycle-text.d.ts +44 -0
- package/types/src/directives/depth-of-field.d.ts +38 -0
- package/types/src/directives/drag.d.ts +8 -8
- package/types/src/directives/gravity.d.ts +40 -0
- package/types/src/directives/index.d.ts +16 -2
- package/types/src/directives/intersect.d.ts +60 -0
- package/types/src/directives/layout.d.ts +62 -0
- package/types/src/directives/liquid.d.ts +38 -0
- package/types/src/directives/living-border.d.ts +39 -0
- package/types/src/directives/long-press.d.ts +38 -0
- package/types/src/directives/magnetic.d.ts +35 -0
- package/types/src/directives/nebula.d.ts +80 -0
- package/types/src/directives/reduced-motion.d.ts +2 -0
- package/types/src/directives/reveal.d.ts +54 -0
- package/types/src/directives/ripple.d.ts +15 -5
- package/types/src/directives/typewriter.d.ts +50 -0
- package/types/src/discovery/discovery.service.d.ts +72 -0
- package/types/src/expand/expand-root.component.d.ts +30 -0
- package/types/src/expand/expand.component.d.ts +38 -0
- package/types/src/expand/index.d.ts +2 -0
- package/types/src/float/float.d.ts +14 -0
- package/types/src/float/index.d.ts +1 -0
- package/types/src/icons/icon.d.ts +14 -0
- package/types/src/iframe/iframe.d.ts +37 -0
- package/types/src/iframe/index.d.ts +1 -0
- package/types/src/index.d.ts +6 -1
- package/types/src/input/index.d.ts +1 -1
- package/types/src/layout/scroll/scroll.d.ts +11 -0
- package/types/src/lightbox/lightbox.d.ts +1 -0
- package/types/src/mailbox/email-recipients.d.ts +2 -2
- package/types/src/mailbox/types.d.ts +1 -1
- package/types/src/navigation-bar/navigation-bar.d.ts +17 -0
- package/types/src/notification/notification.d.ts +1 -0
- package/types/src/page/page.d.ts +6 -0
- package/types/src/range/index.d.ts +1 -0
- package/types/src/range/range.d.ts +25 -0
- package/types/src/sheet/sheet.d.ts +0 -1
- package/types/src/steps/schmancy-steps-container.d.ts +8 -6
- package/types/src/surface/surface.d.ts +4 -27
- package/types/src/surface/surface.styles.d.ts +31 -0
- package/types/src/tabs/tab.d.ts +1 -0
- package/types/src/textarea/textarea.d.ts +3 -2
- package/types/src/theme/context.d.ts +2 -282
- package/types/src/theme/theme.component.d.ts +9 -1
- package/types/src/theme/theme.format.d.ts +1 -1
- package/types/src/theme/theme.interface.d.ts +8 -1
- package/types/src/theme/theme.service.d.ts +20 -282
- package/types/src/types/surface.d.ts +27 -1
- package/types/src/typography/typography.d.ts +17 -3
- package/types/src/utils/animation.d.ts +254 -0
- package/types/src/utils/index.d.ts +2 -0
- package/types/src/utils/number.d.ts +18 -2
- package/types/src/utils/overlay-stack.d.ts +54 -0
- package/types/src/window/index.d.ts +3 -0
- package/types/src/window/window-manager.d.ts +49 -0
- package/types/src/window/window-position.d.ts +64 -0
- package/types/src/window/window-registry.d.ts +28 -0
- package/types/src/window/window.d.ts +67 -0
- package/ai/animated-text.md +0 -116
- package/ai/audio.md +0 -241
- package/ai/boat.md +0 -53
- package/ai/component-relationships.md +0 -93
- package/ai/context.md +0 -572
- package/ai/countries.md +0 -271
- package/ai/date-range-inline.md +0 -262
- package/ai/delay.md +0 -158
- package/ai/index.md +0 -112
- package/ai/layout.md +0 -187
- package/ai/mailbox.md +0 -530
- package/ai/map.md +0 -234
- package/ai/navigation-bar-item.md +0 -259
- package/ai/option.md +0 -173
- package/ai/payment-card-form.md +0 -242
- package/ai/slider.md +0 -227
- package/ai/spinner.md +0 -165
- package/ai/teleport.md +0 -197
- package/ai/template.md +0 -144
- package/ai/theme-button.md +0 -173
- package/ai/timezone.md +0 -276
- package/ai/typewriter.md +0 -335
- package/dist/_commonjsHelpers-Dw9sPFZy.js +0 -7
- package/dist/_commonjsHelpers-Dw9sPFZy.js.map +0 -1
- package/dist/_commonjsHelpers-k2hpEU-q.cjs +0 -2
- package/dist/_commonjsHelpers-k2hpEU-q.cjs.map +0 -1
- package/dist/ai/animated-text.md +0 -116
- package/dist/ai/audio.md +0 -241
- package/dist/ai/boat.md +0 -53
- package/dist/ai/component-relationships.md +0 -93
- package/dist/ai/context.md +0 -572
- package/dist/ai/countries.md +0 -271
- package/dist/ai/date-range-inline.md +0 -262
- package/dist/ai/delay.md +0 -158
- package/dist/ai/index.md +0 -112
- package/dist/ai/layout.md +0 -187
- package/dist/ai/mailbox.md +0 -530
- package/dist/ai/map.md +0 -234
- package/dist/ai/navigation-bar-item.md +0 -259
- package/dist/ai/option.md +0 -173
- package/dist/ai/payment-card-form.md +0 -242
- package/dist/ai/slider.md +0 -227
- package/dist/ai/spinner.md +0 -165
- package/dist/ai/teleport.md +0 -197
- package/dist/ai/template.md +0 -144
- package/dist/ai/theme-button.md +0 -173
- package/dist/ai/timezone.md +0 -276
- package/dist/ai/typewriter.md +0 -335
- package/dist/animated-text-B3DQRJBy.cjs +0 -37
- package/dist/animated-text-B3DQRJBy.cjs.map +0 -1
- package/dist/animated-text-BAj4-6hE.js +0 -76
- package/dist/animated-text-BAj4-6hE.js.map +0 -1
- package/dist/animated-text.cjs +0 -2
- package/dist/animated-text.cjs.map +0 -1
- package/dist/animated-text.js +0 -2
- package/dist/animated-text.js.map +0 -1
- package/dist/area.cjs.map +0 -1
- package/dist/area.component-CP4DZ0d8.js +0 -330
- package/dist/area.component-CP4DZ0d8.js.map +0 -1
- package/dist/area.component-ChxSLt16.cjs +0 -12
- package/dist/area.component-ChxSLt16.cjs.map +0 -1
- package/dist/area.js.map +0 -1
- package/dist/audio.cjs.map +0 -1
- package/dist/audio.js.map +0 -1
- package/dist/autocomplete-CAaVSg4g.cjs +0 -112
- package/dist/autocomplete-CAaVSg4g.cjs.map +0 -1
- package/dist/autocomplete-CGbACUYd.js +0 -333
- package/dist/autocomplete-CGbACUYd.js.map +0 -1
- package/dist/autocomplete.cjs.map +0 -1
- package/dist/autocomplete.js.map +0 -1
- package/dist/avatar-nWOZXEsW.cjs +0 -273
- package/dist/avatar-nWOZXEsW.cjs.map +0 -1
- package/dist/avatar-rLCF6MSI.js +0 -895
- package/dist/avatar-rLCF6MSI.js.map +0 -1
- package/dist/badge.cjs.map +0 -1
- package/dist/badge.js.map +0 -1
- package/dist/boat-Ckt9v__d.js +0 -301
- package/dist/boat-Ckt9v__d.js.map +0 -1
- package/dist/boat-yNAZ2LLB.cjs +0 -97
- package/dist/boat-yNAZ2LLB.cjs.map +0 -1
- package/dist/boat.cjs.map +0 -1
- package/dist/boat.js.map +0 -1
- package/dist/busy.cjs.map +0 -1
- package/dist/busy.js.map +0 -1
- package/dist/card.cjs.map +0 -1
- package/dist/card.js.map +0 -1
- package/dist/checkbox-BnAlpsJN.cjs +0 -40
- package/dist/checkbox-BnAlpsJN.cjs.map +0 -1
- package/dist/checkbox-D22yfGe3.js +0 -526
- package/dist/checkbox-D22yfGe3.js.map +0 -1
- package/dist/checkbox.cjs.map +0 -1
- package/dist/checkbox.js.map +0 -1
- package/dist/chips.cjs.map +0 -1
- package/dist/chips.js.map +0 -1
- package/dist/code-highlight.cjs.map +0 -1
- package/dist/code-highlight.js.map +0 -1
- package/dist/code-preview-DPlQayFd.js +0 -967
- package/dist/code-preview-DPlQayFd.js.map +0 -1
- package/dist/code-preview-jPnX60FF.cjs +0 -193
- package/dist/code-preview-jPnX60FF.cjs.map +0 -1
- package/dist/components.cjs.map +0 -1
- package/dist/components.js.map +0 -1
- package/dist/consume-5D1qfVWM.js +0 -38
- package/dist/consume-5D1qfVWM.js.map +0 -1
- package/dist/consume-edta5ng5.cjs +0 -2
- package/dist/consume-edta5ng5.cjs.map +0 -1
- package/dist/content-drawer.cjs.map +0 -1
- package/dist/content-drawer.js.map +0 -1
- package/dist/context-create-B_S-sD5B.js +0 -1107
- package/dist/context-create-B_S-sD5B.js.map +0 -1
- package/dist/context-create-DTybDbZp.cjs +0 -2
- package/dist/context-create-DTybDbZp.cjs.map +0 -1
- package/dist/date-range-GFm5NG33.js +0 -639
- package/dist/date-range-GFm5NG33.js.map +0 -1
- package/dist/date-range-inline-CgX2o0FP.cjs +0 -44
- package/dist/date-range-inline-CgX2o0FP.cjs.map +0 -1
- package/dist/date-range-inline-DTQLESAZ.js +0 -197
- package/dist/date-range-inline-DTQLESAZ.js.map +0 -1
- package/dist/date-range-inline.cjs.map +0 -1
- package/dist/date-range-inline.js.map +0 -1
- package/dist/date-range-ug3B9CFT.cjs +0 -119
- package/dist/date-range-ug3B9CFT.cjs.map +0 -1
- package/dist/date-range.cjs.map +0 -1
- package/dist/date-range.js.map +0 -1
- package/dist/delay-CWtBL0VD.cjs +0 -10
- package/dist/delay-CWtBL0VD.cjs.map +0 -1
- package/dist/delay-DEe1CmHc.js +0 -288
- package/dist/delay-DEe1CmHc.js.map +0 -1
- package/dist/delay.cjs.map +0 -1
- package/dist/delay.js.map +0 -1
- package/dist/details-D-LXW23W.js +0 -100
- package/dist/details-D-LXW23W.js.map +0 -1
- package/dist/details-DVke77dU.cjs +0 -55
- package/dist/details-DVke77dU.cjs.map +0 -1
- package/dist/details.cjs.map +0 -1
- package/dist/details.js.map +0 -1
- package/dist/dialog-service-C86xTS8q.cjs +0 -2
- package/dist/dialog-service-C86xTS8q.cjs.map +0 -1
- package/dist/dialog-service-D9E3jLAR.js +0 -118
- package/dist/dialog-service-D9E3jLAR.js.map +0 -1
- package/dist/dialog.component-BM0D-hK9.cjs +0 -48
- package/dist/dialog.component-BM0D-hK9.cjs.map +0 -1
- package/dist/dialog.component-a7FlKhGD.js +0 -145
- package/dist/dialog.component-a7FlKhGD.js.map +0 -1
- package/dist/discovery.service-BbYjU5x8.js +0 -21
- package/dist/discovery.service-BbYjU5x8.js.map +0 -1
- package/dist/discovery.service-BpGCuXPd.cjs +0 -2
- package/dist/discovery.service-BpGCuXPd.cjs.map +0 -1
- package/dist/divider-CzTpxOqt.js +0 -84
- package/dist/divider-CzTpxOqt.js.map +0 -1
- package/dist/divider-D8KStUhN.cjs +0 -58
- package/dist/divider-D8KStUhN.cjs.map +0 -1
- package/dist/divider.cjs.map +0 -1
- package/dist/divider.js.map +0 -1
- package/dist/dropdown-content-CngZN3vv.cjs +0 -58
- package/dist/dropdown-content-CngZN3vv.cjs.map +0 -1
- package/dist/dropdown-content-DCn-g0-f.js +0 -147
- package/dist/dropdown-content-DCn-g0-f.js.map +0 -1
- package/dist/email-recipients-BhntMZMf.cjs +0 -1173
- package/dist/email-recipients-BhntMZMf.cjs.map +0 -1
- package/dist/email-recipients-BzjAKNJ0.js +0 -1733
- package/dist/email-recipients-BzjAKNJ0.js.map +0 -1
- package/dist/emotional-sounds-BRnFhww6.js +0 -234
- package/dist/emotional-sounds-BRnFhww6.js.map +0 -1
- package/dist/emotional-sounds-DVGhmoZf.cjs +0 -2
- package/dist/emotional-sounds-DVGhmoZf.cjs.map +0 -1
- package/dist/extra.cjs.map +0 -1
- package/dist/extra.js.map +0 -1
- package/dist/flex-5dR48zie.js +0 -183
- package/dist/flex-5dR48zie.js.map +0 -1
- package/dist/flex-oHl2EfYB.cjs +0 -18
- package/dist/flex-oHl2EfYB.cjs.map +0 -1
- package/dist/flow-D0e7hGXO.cjs +0 -2
- package/dist/flow-D0e7hGXO.cjs.map +0 -1
- package/dist/flow-DXYqC9OA.js +0 -340
- package/dist/flow-DXYqC9OA.js.map +0 -1
- package/dist/form-BlPiAPt7.cjs +0 -2
- package/dist/form-BlPiAPt7.cjs.map +0 -1
- package/dist/form-BxVM6JTn.js +0 -141
- package/dist/form-BxVM6JTn.js.map +0 -1
- package/dist/form.cjs.map +0 -1
- package/dist/form.js.map +0 -1
- package/dist/formField.mixin-BCGA7Ea3.js +0 -48
- package/dist/formField.mixin-BCGA7Ea3.js.map +0 -1
- package/dist/formField.mixin-BfJMifU9.cjs +0 -2
- package/dist/formField.mixin-BfJMifU9.cjs.map +0 -1
- package/dist/height-CfECBO2j.js +0 -44
- package/dist/height-CfECBO2j.js.map +0 -1
- package/dist/height-Z70qJYJK.cjs +0 -2
- package/dist/height-Z70qJYJK.cjs.map +0 -1
- package/dist/icon-DHEXr3c-.cjs +0 -49
- package/dist/icon-DHEXr3c-.cjs.map +0 -1
- package/dist/icon-DYpLoegR.js +0 -84
- package/dist/icon-DYpLoegR.js.map +0 -1
- package/dist/icon-button-CmZBLHWC.js +0 -164
- package/dist/icon-button-CmZBLHWC.js.map +0 -1
- package/dist/icon-button-IbSX8C98.cjs +0 -70
- package/dist/icon-button-IbSX8C98.cjs.map +0 -1
- package/dist/icons.cjs.map +0 -1
- package/dist/icons.js.map +0 -1
- package/dist/index-CCi1otmh.cjs +0 -2
- package/dist/index-CCi1otmh.cjs.map +0 -1
- package/dist/index-CW6PhEkx.js +0 -17
- package/dist/index-CW6PhEkx.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/input-BByjYlgl.cjs +0 -51
- package/dist/input-BByjYlgl.cjs.map +0 -1
- package/dist/input-D0cQ9DOY.js +0 -237
- package/dist/input-D0cQ9DOY.js.map +0 -1
- package/dist/input-chip-B5ErXgCB.js +0 -206
- package/dist/input-chip-B5ErXgCB.js.map +0 -1
- package/dist/input-chip-DkWaTciP.cjs +0 -147
- package/dist/input-chip-DkWaTciP.cjs.map +0 -1
- package/dist/input.cjs.map +0 -1
- package/dist/input.js.map +0 -1
- package/dist/intersection-CJxzz8c-.js +0 -15
- package/dist/intersection-CJxzz8c-.js.map +0 -1
- package/dist/intersection-CVvaDv96.cjs +0 -2
- package/dist/intersection-CVvaDv96.cjs.map +0 -1
- package/dist/json-BZVe74np.cjs +0 -12
- package/dist/json-BZVe74np.cjs.map +0 -1
- package/dist/json-PKewOWuJ.js +0 -51
- package/dist/json-PKewOWuJ.js.map +0 -1
- package/dist/layout.cjs.map +0 -1
- package/dist/layout.js.map +0 -1
- package/dist/lightbox-service-D-0JtxB1.cjs +0 -202
- package/dist/lightbox-service-D-0JtxB1.cjs.map +0 -1
- package/dist/lightbox-service-DZMnb1eU.js +0 -458
- package/dist/lightbox-service-DZMnb1eU.js.map +0 -1
- package/dist/lightbox.cjs.map +0 -1
- package/dist/lightbox.js.map +0 -1
- package/dist/list-B_2m7l3g.cjs +0 -17
- package/dist/list-B_2m7l3g.cjs.map +0 -1
- package/dist/list-CW56LV-v.js +0 -69
- package/dist/list-CW56LV-v.js.map +0 -1
- package/dist/list.cjs.map +0 -1
- package/dist/list.js.map +0 -1
- package/dist/litElement.mixin-CrpeGpZ7.cjs +0 -2
- package/dist/litElement.mixin-CrpeGpZ7.cjs.map +0 -1
- package/dist/litElement.mixin-DHZXtvYq.js +0 -15
- package/dist/litElement.mixin-DHZXtvYq.js.map +0 -1
- package/dist/mailbox.cjs.map +0 -1
- package/dist/mailbox.js.map +0 -1
- package/dist/map-2Hl60a0A.js +0 -175
- package/dist/map-2Hl60a0A.js.map +0 -1
- package/dist/map-DyPS9G7M.cjs +0 -81
- package/dist/map-DyPS9G7M.cjs.map +0 -1
- package/dist/map.cjs.map +0 -1
- package/dist/map.js.map +0 -1
- package/dist/media-CS8HpKnK.cjs +0 -152
- package/dist/media-CS8HpKnK.cjs.map +0 -1
- package/dist/media-DtWbcRxL.js +0 -244
- package/dist/media-DtWbcRxL.js.map +0 -1
- package/dist/menu-Caju5-zd.js +0 -60
- package/dist/menu-Caju5-zd.js.map +0 -1
- package/dist/menu-rX5RPAI2.cjs +0 -24
- package/dist/menu-rX5RPAI2.cjs.map +0 -1
- package/dist/menu.cjs.map +0 -1
- package/dist/menu.js.map +0 -1
- package/dist/nav-drawer.cjs.map +0 -1
- package/dist/nav-drawer.js.map +0 -1
- package/dist/navigation-bar.cjs.map +0 -1
- package/dist/navigation-bar.js.map +0 -1
- package/dist/navigation-rail-Ctketq5a.js +0 -256
- package/dist/navigation-rail-Ctketq5a.js.map +0 -1
- package/dist/navigation-rail-DC9_oSIM.cjs +0 -79
- package/dist/navigation-rail-DC9_oSIM.cjs.map +0 -1
- package/dist/notification-service-CUlfXqmj.js +0 -155
- package/dist/notification-service-CUlfXqmj.js.map +0 -1
- package/dist/notification-service-DknbpqTt.cjs +0 -19
- package/dist/notification-service-DknbpqTt.cjs.map +0 -1
- package/dist/notification.cjs.map +0 -1
- package/dist/notification.js.map +0 -1
- package/dist/notify-DJSOWTxv.js +0 -35
- package/dist/notify-DJSOWTxv.js.map +0 -1
- package/dist/notify-DickIEHW.cjs +0 -2
- package/dist/notify-DickIEHW.cjs.map +0 -1
- package/dist/number-B7aCRYnH.cjs +0 -2
- package/dist/number-B7aCRYnH.cjs.map +0 -1
- package/dist/number-BhTiptLA.js +0 -99
- package/dist/number-BhTiptLA.js.map +0 -1
- package/dist/option-Bng41-rY.js +0 -77
- package/dist/option-Bng41-rY.js.map +0 -1
- package/dist/option-DYT5Rkgy.cjs +0 -44
- package/dist/option-DYT5Rkgy.cjs.map +0 -1
- package/dist/option.cjs.map +0 -1
- package/dist/option.js.map +0 -1
- package/dist/page-BLn9gtSd.cjs +0 -20
- package/dist/page-BLn9gtSd.cjs.map +0 -1
- package/dist/page-D-ROcQDd.js +0 -48
- package/dist/page-D-ROcQDd.js.map +0 -1
- package/dist/payment-card-form-5UtfWzoW.cjs +0 -74
- package/dist/payment-card-form-5UtfWzoW.cjs.map +0 -1
- package/dist/payment-card-form-BJa4RgF2.js +0 -515
- package/dist/payment-card-form-BJa4RgF2.js.map +0 -1
- package/dist/pills-BS5rZ6C3.js +0 -346
- package/dist/pills-BS5rZ6C3.js.map +0 -1
- package/dist/pills-Blf7IAeq.cjs +0 -113
- package/dist/pills-Blf7IAeq.cjs.map +0 -1
- package/dist/progress-DlhYniW_.cjs +0 -35
- package/dist/progress-DlhYniW_.cjs.map +0 -1
- package/dist/progress-yTIX6EqC.js +0 -56
- package/dist/progress-yTIX6EqC.js.map +0 -1
- package/dist/progress.cjs.map +0 -1
- package/dist/progress.js.map +0 -1
- package/dist/provide-BxZ2kn_p.cjs +0 -2
- package/dist/provide-BxZ2kn_p.cjs.map +0 -1
- package/dist/provide-tcktw8xB.js +0 -100
- package/dist/provide-tcktw8xB.js.map +0 -1
- package/dist/qr-scanner-DOs7uNS_.cjs +0 -29
- package/dist/qr-scanner-DOs7uNS_.cjs.map +0 -1
- package/dist/qr-scanner-DjZ8mgHV.js +0 -743
- package/dist/qr-scanner-DjZ8mgHV.js.map +0 -1
- package/dist/radio-button-N_PrrxKB.cjs +0 -41
- package/dist/radio-button-N_PrrxKB.cjs.map +0 -1
- package/dist/radio-button-me3SRHGu.js +0 -115
- package/dist/radio-button-me3SRHGu.js.map +0 -1
- package/dist/radio-group.cjs.map +0 -1
- package/dist/radio-group.js.map +0 -1
- package/dist/ripple-BgJXbNSP.js +0 -124
- package/dist/ripple-BgJXbNSP.js.map +0 -1
- package/dist/ripple-x6sTX02K.cjs +0 -16
- package/dist/ripple-x6sTX02K.cjs.map +0 -1
- package/dist/rxjs-utils.cjs.map +0 -1
- package/dist/rxjs-utils.js.map +0 -1
- package/dist/schmancy-steps-container-J6P-NNNj.js +0 -156
- package/dist/schmancy-steps-container-J6P-NNNj.js.map +0 -1
- package/dist/schmancy-steps-container-T57BKMzi.cjs +0 -70
- package/dist/schmancy-steps-container-T57BKMzi.cjs.map +0 -1
- package/dist/scroll-C_gfUgjn.js +0 -87
- package/dist/scroll-C_gfUgjn.js.map +0 -1
- package/dist/scroll-CecsowP7.cjs +0 -27
- package/dist/scroll-CecsowP7.cjs.map +0 -1
- package/dist/search-B1s7thB0.cjs +0 -2
- package/dist/search-B1s7thB0.cjs.map +0 -1
- package/dist/search-DxxnLa5u.js +0 -95
- package/dist/search-DxxnLa5u.js.map +0 -1
- package/dist/select-BBA0gBHf.js +0 -280
- package/dist/select-BBA0gBHf.js.map +0 -1
- package/dist/select-D9oCjv7N.cjs +0 -57
- package/dist/select-D9oCjv7N.cjs.map +0 -1
- package/dist/select.cjs.map +0 -1
- package/dist/select.js.map +0 -1
- package/dist/selector-hook-9w2auh2O.cjs +0 -2
- package/dist/selector-hook-9w2auh2O.cjs.map +0 -1
- package/dist/selector-hook-CHV4kDMd.js +0 -319
- package/dist/selector-hook-CHV4kDMd.js.map +0 -1
- package/dist/sheet-0oUfBmXX.cjs +0 -15
- package/dist/sheet-0oUfBmXX.cjs.map +0 -1
- package/dist/sheet-CNcDT3VP.js +0 -97
- package/dist/sheet-CNcDT3VP.js.map +0 -1
- package/dist/sheet.cjs.map +0 -1
- package/dist/sheet.js.map +0 -1
- package/dist/sheet.service-2MobB-9z.js +0 -68
- package/dist/sheet.service-2MobB-9z.js.map +0 -1
- package/dist/sheet.service-su_7yDQ-.cjs +0 -2
- package/dist/sheet.service-su_7yDQ-.cjs.map +0 -1
- package/dist/slider-CV-Ehp_5.cjs +0 -83
- package/dist/slider-CV-Ehp_5.cjs.map +0 -1
- package/dist/slider-CkE-iFUy.js +0 -161
- package/dist/slider-CkE-iFUy.js.map +0 -1
- package/dist/sound.service-Nza4c6wv.js +0 -102
- package/dist/sound.service-Nza4c6wv.js.map +0 -1
- package/dist/sound.service-eRirZw59.cjs +0 -2
- package/dist/sound.service-eRirZw59.cjs.map +0 -1
- package/dist/spinner-Bfn8KC-9.cjs +0 -135
- package/dist/spinner-Bfn8KC-9.cjs.map +0 -1
- package/dist/spinner-DiMbWXp9.js +0 -168
- package/dist/spinner-DiMbWXp9.js.map +0 -1
- package/dist/store.cjs.map +0 -1
- package/dist/store.js.map +0 -1
- package/dist/suggestion-chip-CEDqUNoS.js +0 -481
- package/dist/suggestion-chip-CEDqUNoS.js.map +0 -1
- package/dist/suggestion-chip-HhsLtZXR.cjs +0 -271
- package/dist/suggestion-chip-HhsLtZXR.cjs.map +0 -1
- package/dist/surface-CW3H23Va.cjs +0 -199
- package/dist/surface-CW3H23Va.cjs.map +0 -1
- package/dist/surface-eBfnSwQS.js +0 -220
- package/dist/surface-eBfnSwQS.js.map +0 -1
- package/dist/surface.cjs.map +0 -1
- package/dist/surface.js.map +0 -1
- package/dist/table-D0tiSL_u.cjs +0 -64
- package/dist/table-D0tiSL_u.cjs.map +0 -1
- package/dist/table-Dmo4TvTx.js +0 -561
- package/dist/table-Dmo4TvTx.js.map +0 -1
- package/dist/table.cjs.map +0 -1
- package/dist/table.js.map +0 -1
- package/dist/tabs-compatibility-Bit6y6en.js +0 -104
- package/dist/tabs-compatibility-Bit6y6en.js.map +0 -1
- package/dist/tabs-compatibility-Vq_2-ekz.cjs +0 -35
- package/dist/tabs-compatibility-Vq_2-ekz.cjs.map +0 -1
- package/dist/tabs.cjs.map +0 -1
- package/dist/tabs.js.map +0 -1
- package/dist/tailwind.mixin-Bp_PR6yc.js +0 -67
- package/dist/tailwind.mixin-Bp_PR6yc.js.map +0 -1
- package/dist/tailwind.mixin-Cp4PyXok.cjs +0 -2
- package/dist/tailwind.mixin-Cp4PyXok.cjs.map +0 -1
- package/dist/teleport.cjs.map +0 -1
- package/dist/teleport.js.map +0 -1
- package/dist/textarea-B1d1QCqT.js +0 -134
- package/dist/textarea-B1d1QCqT.js.map +0 -1
- package/dist/textarea-DG8CHhZA.cjs +0 -44
- package/dist/textarea-DG8CHhZA.cjs.map +0 -1
- package/dist/textarea.cjs.map +0 -1
- package/dist/textarea.js.map +0 -1
- package/dist/theme-button-CPL6Eaqd.cjs +0 -9
- package/dist/theme-button-CPL6Eaqd.cjs.map +0 -1
- package/dist/theme-button-CrLuMQNe.js +0 -27
- package/dist/theme-button-CrLuMQNe.js.map +0 -1
- package/dist/theme-button.cjs.map +0 -1
- package/dist/theme-button.js.map +0 -1
- package/dist/theme-controller-boat-CXbNJSI3.cjs +0 -178
- package/dist/theme-controller-boat-CXbNJSI3.cjs.map +0 -1
- package/dist/theme-controller-boat-CzSmjyKq.js +0 -1159
- package/dist/theme-controller-boat-CzSmjyKq.js.map +0 -1
- package/dist/theme.cjs.map +0 -1
- package/dist/theme.events-CPSLaOlR.js +0 -6
- package/dist/theme.events-CPSLaOlR.js.map +0 -1
- package/dist/theme.events-Car6U_SQ.cjs +0 -2
- package/dist/theme.events-Car6U_SQ.cjs.map +0 -1
- package/dist/theme.interface-BLfE5J_1.js +0 -5
- package/dist/theme.interface-BLfE5J_1.js.map +0 -1
- package/dist/theme.interface-BMeNadVb.cjs +0 -2
- package/dist/theme.interface-BMeNadVb.cjs.map +0 -1
- package/dist/theme.js.map +0 -1
- package/dist/timezone-4vwX0BgA.js +0 -112
- package/dist/timezone-4vwX0BgA.js.map +0 -1
- package/dist/timezone-BxvQcqe1.cjs +0 -32
- package/dist/timezone-BxvQcqe1.cjs.map +0 -1
- package/dist/tooltip-CjdvBf4X.js +0 -119
- package/dist/tooltip-CjdvBf4X.js.map +0 -1
- package/dist/tooltip-ZtnGjoJd.cjs +0 -7
- package/dist/tooltip-ZtnGjoJd.cjs.map +0 -1
- package/dist/tree-CBEjV7jP.js +0 -65
- package/dist/tree-CBEjV7jP.js.map +0 -1
- package/dist/tree-DP5U00NA.cjs +0 -27
- package/dist/tree-DP5U00NA.cjs.map +0 -1
- package/dist/tslib.es6-DgOcxv4s.cjs +0 -2
- package/dist/tslib.es6-DgOcxv4s.cjs.map +0 -1
- package/dist/tslib.es6-ujVQHAQ4.js +0 -10
- package/dist/tslib.es6-ujVQHAQ4.js.map +0 -1
- package/dist/typewriter-C6kFjLcX.cjs +0 -124
- package/dist/typewriter-C6kFjLcX.cjs.map +0 -1
- package/dist/typewriter-Eo5qXoGC.js +0 -555
- package/dist/typewriter-Eo5qXoGC.js.map +0 -1
- package/dist/typewriter.cjs.map +0 -1
- package/dist/typewriter.js.map +0 -1
- package/dist/typography-C_1gdM2I.js +0 -264
- package/dist/typography-C_1gdM2I.js.map +0 -1
- package/dist/typography-DGyjlLCE.cjs +0 -243
- package/dist/typography-DGyjlLCE.cjs.map +0 -1
- package/dist/utils-C38P63L6.cjs +0 -2
- package/dist/utils-C38P63L6.cjs.map +0 -1
- package/dist/utils-CYOVFxSx.js +0 -150
- package/dist/utils-CYOVFxSx.js.map +0 -1
- package/dist/utils.cjs.map +0 -1
- package/dist/utils.js.map +0 -1
- package/types/src/animated-text/animated-text.d.ts +0 -30
- package/types/src/animated-text/index.d.ts +0 -1
- package/types/src/directives/height.d.ts +0 -20
|
@@ -0,0 +1,1244 @@
|
|
|
1
|
+
import { i as e, o as t, s as n, t as r } from "./tailwind.mixin-C4cx3IOr.js";
|
|
2
|
+
import { t as i } from "./provide-D69zybs5.js";
|
|
3
|
+
import { t as a } from "./litElement.mixin-Dktub0ri.js";
|
|
4
|
+
import "./mixins.js";
|
|
5
|
+
import { C as o, S as ee, x as te } from "./area-DbBcfm5p.js";
|
|
6
|
+
import "./store-DYqDLAvT.js";
|
|
7
|
+
import "./audio-kz8UgPTO.js";
|
|
8
|
+
import "./autocomplete-DDVsegep.js";
|
|
9
|
+
import { n as s } from "./theme.service-D9lEas89.js";
|
|
10
|
+
import { color as c } from "./directives.js";
|
|
11
|
+
import "./boat-T8Ov4-yA.js";
|
|
12
|
+
import "./busy-BD6D5P-l.js";
|
|
13
|
+
import "./button.js";
|
|
14
|
+
import "./card-DM_miKMd.js";
|
|
15
|
+
import "./charts.js";
|
|
16
|
+
import "./checkbox-BgGtMaMR.js";
|
|
17
|
+
import "./chips-BZaH4wez.js";
|
|
18
|
+
import "./code-highlight-Q3cc6ukq.js";
|
|
19
|
+
import "./components-CRhkB3V2.js";
|
|
20
|
+
import "./connectivity.js";
|
|
21
|
+
import "./date-range-C0IYnvHF.js";
|
|
22
|
+
import { n as l } from "./sheet.service-Os8KJGSE.js";
|
|
23
|
+
import "./date-range-inline-0ENN4Plz.js";
|
|
24
|
+
import "./delay-D1dVP93u.js";
|
|
25
|
+
import "./details-Cv4OOrVW.js";
|
|
26
|
+
import "./dialog.js";
|
|
27
|
+
import "./discovery.js";
|
|
28
|
+
import "./divider-DDC-kND3.js";
|
|
29
|
+
import "./dropdown.js";
|
|
30
|
+
import "./expand-Bp3N8CcL.js";
|
|
31
|
+
import "./float-Dqdc1_S5.js";
|
|
32
|
+
import "./window.js";
|
|
33
|
+
import "./extra-DupwhQhC.js";
|
|
34
|
+
import "./form-CW5XNuTg.js";
|
|
35
|
+
import "./icons-Cpfdb7sA.js";
|
|
36
|
+
import "./iframe-DG6HVYdy.js";
|
|
37
|
+
import "./input-BevxycIt.js";
|
|
38
|
+
import "./notification-K-ug8cKk.js";
|
|
39
|
+
import "./json.js";
|
|
40
|
+
import "./layout-DxLjlDfr.js";
|
|
41
|
+
import "./lightbox-Bjc55lHH.js";
|
|
42
|
+
import "./list-BAqhlzZd.js";
|
|
43
|
+
import "./mailbox-DuMUH4f3.js";
|
|
44
|
+
import "./map-DkIy1ph7.js";
|
|
45
|
+
import "./menu-DEeDKW5U.js";
|
|
46
|
+
import "./navigation-rail.js";
|
|
47
|
+
import "./option-TFSKvSjT.js";
|
|
48
|
+
import "./page.js";
|
|
49
|
+
import "./progress.js";
|
|
50
|
+
import "./qr-scanner.js";
|
|
51
|
+
import "./radio-group-BjSWmYJC.js";
|
|
52
|
+
import "./range.js";
|
|
53
|
+
import "./rxjs-utils-BSjmI9-Q.js";
|
|
54
|
+
import { t as u } from "./theme.interface-CXloMUCw.js";
|
|
55
|
+
import "./select-CepryGGP.js";
|
|
56
|
+
import "./sheet-D2uT95S1.js";
|
|
57
|
+
import "./slider.js";
|
|
58
|
+
import "./steps.js";
|
|
59
|
+
import "./surface.js";
|
|
60
|
+
import "./table-BeXnwSsq.js";
|
|
61
|
+
import "./tabs-y708NWQ2.js";
|
|
62
|
+
import "./textarea-Bl8-gQEJ.js";
|
|
63
|
+
import "./theme-DZUpYJn-.js";
|
|
64
|
+
import "./theme-button-CwrvpOMK.js";
|
|
65
|
+
import "./tooltip.js";
|
|
66
|
+
import "./tree.js";
|
|
67
|
+
import { SchmancyEvents as d } from "./types.js";
|
|
68
|
+
import "./typewriter-mxVw5dFn.js";
|
|
69
|
+
import "./typography.js";
|
|
70
|
+
import "./utils-CoU7M2YS.js";
|
|
71
|
+
import { BehaviorSubject as f, Observable as ne, Subject as p, bufferTime as re, concatMap as ie, debounceTime as m, delay as ae, distinctUntilChanged as oe, filter as se, from as ce, fromEvent as h, interval as le, map as g, merge as _, of as v, startWith as ue, take as de, takeUntil as y, tap as b, throwIfEmpty as fe, timeout as pe, timer as me, zip as he } from "rxjs";
|
|
72
|
+
import { distinctUntilChanged as ge, filter as x, map as _e, pairwise as ve, take as ye, takeUntil as S, tap as C, throttleTime as be } from "rxjs/operators";
|
|
73
|
+
import { customElement as w, property as T, query as E, queryAssignedElements as xe, state as D } from "lit/decorators.js";
|
|
74
|
+
import { css as O, html as k, nothing as Se } from "lit";
|
|
75
|
+
import { when as Ce } from "lit/directives/when.js";
|
|
76
|
+
var A = class extends r(O`
|
|
77
|
+
:host {
|
|
78
|
+
display: inline-flex;
|
|
79
|
+
width: fit-content;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Enhanced pulse animation for better attention-getting */
|
|
83
|
+
@keyframes elegant-pulse {
|
|
84
|
+
0%, 100% {
|
|
85
|
+
opacity: 1;
|
|
86
|
+
}
|
|
87
|
+
50% {
|
|
88
|
+
opacity: 0.85;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.animate-pulse {
|
|
93
|
+
animation: elegant-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
94
|
+
}
|
|
95
|
+
`) {
|
|
96
|
+
constructor(...e) {
|
|
97
|
+
super(...e), this.color = "primary", this.size = "md", this.shape = "pill", this.outlined = !1, this.icon = "", this.pulse = !1;
|
|
98
|
+
}
|
|
99
|
+
getSizeClasses() {
|
|
100
|
+
switch (this.size) {
|
|
101
|
+
case "xs": return "text-xs py-0.75 px-1.5 gap-0.5 leading-none";
|
|
102
|
+
case "sm": return "text-xs py-1.5 px-2.5 gap-0.5 tracking-wide leading-none";
|
|
103
|
+
case "lg": return "text-base py-2 px-4 gap-1 tracking-wide";
|
|
104
|
+
default: return "text-sm py-1.5 px-3 gap-0.5";
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
getShapeClasses() {
|
|
108
|
+
switch (this.shape) {
|
|
109
|
+
case "square": return "rounded";
|
|
110
|
+
case "rounded": return "rounded-md";
|
|
111
|
+
default: return "rounded-full";
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
getIconSize() {
|
|
115
|
+
switch (this.size) {
|
|
116
|
+
case "xs": return "11px";
|
|
117
|
+
case "sm": return "13px";
|
|
118
|
+
case "lg": return "18px";
|
|
119
|
+
default: return "15px";
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
getExoticStyles() {
|
|
123
|
+
let e = {};
|
|
124
|
+
return this.size === "lg" && (e.letterSpacing = "0.03em", e.fontWeight = "500"), this.size === "sm" && (e.letterSpacing = "0.02em"), e;
|
|
125
|
+
}
|
|
126
|
+
getColorStyles() {
|
|
127
|
+
return {
|
|
128
|
+
primary: {
|
|
129
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${u.sys.color.primary.container} 92%, ${u.sys.color.primary.default} 8%)`,
|
|
130
|
+
text: this.outlined ? u.sys.color.primary.default : u.sys.color.primary.onContainer,
|
|
131
|
+
border: this.outlined ? `color-mix(in srgb, ${u.sys.color.primary.default} 90%, ${u.sys.color.surface.highest} 10%)` : void 0
|
|
132
|
+
},
|
|
133
|
+
secondary: {
|
|
134
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${u.sys.color.secondary.container} 95%, ${u.sys.color.secondary.default} 5%)`,
|
|
135
|
+
text: this.outlined ? u.sys.color.secondary.default : u.sys.color.secondary.onContainer,
|
|
136
|
+
border: this.outlined ? `color-mix(in srgb, ${u.sys.color.secondary.default} 85%, ${u.sys.color.surface.highest} 15%)` : void 0
|
|
137
|
+
},
|
|
138
|
+
tertiary: {
|
|
139
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${u.sys.color.tertiary.container} 94%, ${u.sys.color.tertiary.default} 6%)`,
|
|
140
|
+
text: this.outlined ? u.sys.color.tertiary.default : u.sys.color.tertiary.onContainer,
|
|
141
|
+
border: this.outlined ? `color-mix(in srgb, ${u.sys.color.tertiary.default} 88%, ${u.sys.color.surface.highest} 12%)` : void 0
|
|
142
|
+
},
|
|
143
|
+
success: {
|
|
144
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${u.sys.color.success.container} 90%, ${u.sys.color.success.default} 10%)`,
|
|
145
|
+
text: this.outlined ? u.sys.color.success.default : u.sys.color.success.onContainer,
|
|
146
|
+
border: this.outlined ? `color-mix(in srgb, ${u.sys.color.success.default} 85%, ${u.sys.color.surface.bright} 15%)` : void 0
|
|
147
|
+
},
|
|
148
|
+
warning: {
|
|
149
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${u.sys.color.tertiary.container} 85%, ${u.sys.color.tertiary.default} 15%)`,
|
|
150
|
+
text: this.outlined ? u.sys.color.tertiary.default : u.sys.color.tertiary.onContainer,
|
|
151
|
+
border: this.outlined ? `color-mix(in srgb, ${u.sys.color.tertiary.default} 90%, ${u.sys.color.surface.highest} 10%)` : void 0
|
|
152
|
+
},
|
|
153
|
+
error: {
|
|
154
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${u.sys.color.error.container} 92%, ${u.sys.color.error.default} 8%)`,
|
|
155
|
+
text: this.outlined ? u.sys.color.error.default : u.sys.color.error.onContainer,
|
|
156
|
+
border: this.outlined ? `color-mix(in srgb, ${u.sys.color.error.default} 88%, ${u.sys.color.surface.bright} 12%)` : void 0
|
|
157
|
+
},
|
|
158
|
+
neutral: {
|
|
159
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${u.sys.color.surface.high} 95%, ${u.sys.color.outline} 5%)`,
|
|
160
|
+
text: this.outlined ? `color-mix(in srgb, ${u.sys.color.surface.on} 95%, ${u.sys.color.surface.default} 5%)` : u.sys.color.surface.on,
|
|
161
|
+
border: this.outlined ? `color-mix(in srgb, ${u.sys.color.outline} 85%, ${u.sys.color.surface.highest} 15%)` : void 0
|
|
162
|
+
},
|
|
163
|
+
surface: {
|
|
164
|
+
bg: this.outlined ? "transparent" : u.sys.color.surface.high,
|
|
165
|
+
text: u.sys.color.surface.on,
|
|
166
|
+
border: this.outlined ? u.sys.color.outline : void 0
|
|
167
|
+
}
|
|
168
|
+
}[this.color];
|
|
169
|
+
}
|
|
170
|
+
render() {
|
|
171
|
+
let e = this.getSizeClasses(), t = this.getShapeClasses(), n = this.getColorStyles(), r = this.getIconSize(), i = this.getExoticStyles(), a = {
|
|
172
|
+
"inline-flex items-center justify-center font-medium": !0,
|
|
173
|
+
"transition-all duration-200 ease-in-out": !0,
|
|
174
|
+
[e]: !0,
|
|
175
|
+
[t]: !0,
|
|
176
|
+
"animate-pulse": this.pulse,
|
|
177
|
+
"border border-solid": this.outlined,
|
|
178
|
+
"shadow-sm": !this.outlined && this.size === "sm",
|
|
179
|
+
shadow: !this.outlined && this.size === "md",
|
|
180
|
+
"shadow-md": !this.outlined && this.size === "lg",
|
|
181
|
+
"hover:brightness-95 hover:-translate-y-px": this.outlined,
|
|
182
|
+
"hover:brightness-[0.98]": !this.outlined
|
|
183
|
+
}, o = {
|
|
184
|
+
borderColor: n.border,
|
|
185
|
+
backdropFilter: this.outlined ? "blur(4px)" : void 0,
|
|
186
|
+
boxShadow: this.size !== "lg" || this.outlined ? void 0 : "0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1)",
|
|
187
|
+
...i
|
|
188
|
+
};
|
|
189
|
+
return k`
|
|
190
|
+
<div
|
|
191
|
+
part="badge"
|
|
192
|
+
class="${this.classMap(a)}"
|
|
193
|
+
style="${this.styleMap(o)}"
|
|
194
|
+
${c({
|
|
195
|
+
bgColor: n.bg,
|
|
196
|
+
color: n.text
|
|
197
|
+
})}
|
|
198
|
+
>
|
|
199
|
+
<!-- Icon slot or named icon -->
|
|
200
|
+
<slot name="icon">
|
|
201
|
+
${this.icon ? k`
|
|
202
|
+
<div part="icon" class="shrink-0 flex items-center justify-center leading-none">
|
|
203
|
+
<schmancy-icon .size=${r} class="flex items-center justify-center">${this.icon}</schmancy-icon>
|
|
204
|
+
</div>
|
|
205
|
+
` : ""}
|
|
206
|
+
</slot>
|
|
207
|
+
|
|
208
|
+
<!-- Content with proper spacing from icon -->
|
|
209
|
+
<div part="content" class="flex items-center leading-none tracking-[0.01em] ${this.icon ? "ml-[0.38em]" : ""}">
|
|
210
|
+
<slot></slot>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
`;
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
e([T({
|
|
217
|
+
type: String,
|
|
218
|
+
reflect: !0
|
|
219
|
+
})], A.prototype, "color", void 0), e([T({
|
|
220
|
+
type: String,
|
|
221
|
+
reflect: !0
|
|
222
|
+
})], A.prototype, "size", void 0), e([T({
|
|
223
|
+
type: String,
|
|
224
|
+
reflect: !0
|
|
225
|
+
})], A.prototype, "shape", void 0), e([T({
|
|
226
|
+
type: Boolean,
|
|
227
|
+
reflect: !0
|
|
228
|
+
})], A.prototype, "outlined", void 0), e([T({ type: String })], A.prototype, "icon", void 0), e([T({
|
|
229
|
+
type: Boolean,
|
|
230
|
+
reflect: !0
|
|
231
|
+
})], A.prototype, "pulse", void 0), A = e([w("schmancy-badge")], A);
|
|
232
|
+
var j = class extends A {};
|
|
233
|
+
j = e([w("sch-badge")], j);
|
|
234
|
+
var we = new class {
|
|
235
|
+
constructor() {
|
|
236
|
+
this.$drawer = new p(), this.pushCounter = 0, this.isDismissing$ = new f(!1), this.$drawer.pipe(ie((e) => {
|
|
237
|
+
switch (e.action) {
|
|
238
|
+
case "dismiss": return v(e).pipe(b(() => {
|
|
239
|
+
this.isDismissing$.next(!0), this.dispatchToggleEvent(e.ref, "close");
|
|
240
|
+
}), ae(300), b(() => this.isDismissing$.next(!1)));
|
|
241
|
+
case "render": return v(e).pipe(b(() => {
|
|
242
|
+
this.dispatchToggleEvent(e.ref, "open"), this.dispatchRenderEvent(e.ref, e.component, e.title);
|
|
243
|
+
}));
|
|
244
|
+
case "push": return v(e).pipe(b(() => this.handlePush(e.ref, e.component, e.state, e.params, e.props)));
|
|
245
|
+
default: return v(null);
|
|
246
|
+
}
|
|
247
|
+
})).subscribe();
|
|
248
|
+
}
|
|
249
|
+
dispatchToggleEvent(e, t) {
|
|
250
|
+
e.dispatchEvent(new CustomEvent(d.ContentDrawerToggle, {
|
|
251
|
+
detail: { state: t },
|
|
252
|
+
bubbles: !0,
|
|
253
|
+
composed: !0
|
|
254
|
+
}));
|
|
255
|
+
}
|
|
256
|
+
dispatchRenderEvent(e, t, n, r, i, a) {
|
|
257
|
+
e.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", {
|
|
258
|
+
detail: {
|
|
259
|
+
component: t,
|
|
260
|
+
title: n,
|
|
261
|
+
state: r,
|
|
262
|
+
params: i,
|
|
263
|
+
props: a
|
|
264
|
+
},
|
|
265
|
+
bubbles: !0,
|
|
266
|
+
composed: !0
|
|
267
|
+
}));
|
|
268
|
+
}
|
|
269
|
+
dimiss(e) {
|
|
270
|
+
this.$drawer.next({
|
|
271
|
+
action: "dismiss",
|
|
272
|
+
ref: e
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
render(e, t, n) {
|
|
276
|
+
e.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({
|
|
277
|
+
action: "render",
|
|
278
|
+
ref: e,
|
|
279
|
+
component: t,
|
|
280
|
+
title: n
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
handlePush(e, t, n, r, i) {
|
|
284
|
+
let a = {
|
|
285
|
+
...n,
|
|
286
|
+
_drawerPushId: ++this.pushCounter
|
|
287
|
+
};
|
|
288
|
+
this.dispatchToggleEvent(e, "open"), this.dispatchRenderEvent(e, t, void 0, a, r, i);
|
|
289
|
+
}
|
|
290
|
+
push(e) {
|
|
291
|
+
this.$drawer.next({
|
|
292
|
+
action: "push",
|
|
293
|
+
ref: window,
|
|
294
|
+
...e
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
}(), M = n("push"), N = n("close"), P = n(Math.floor(Math.random() * Date.now()).toString()), F = n("100%"), I = n({}), L = class extends a(O`
|
|
298
|
+
:host {
|
|
299
|
+
position: relative;
|
|
300
|
+
inset: 0;
|
|
301
|
+
display: block;
|
|
302
|
+
overflow: hidden;
|
|
303
|
+
}
|
|
304
|
+
`) {
|
|
305
|
+
constructor(...e) {
|
|
306
|
+
super(...e), this.minWidth = {
|
|
307
|
+
main: 360,
|
|
308
|
+
sheet: 576
|
|
309
|
+
}, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
|
|
310
|
+
}
|
|
311
|
+
firstUpdated() {
|
|
312
|
+
this.setupResizeListener(), this.setupToggleListener(), this.setupRenderListener();
|
|
313
|
+
}
|
|
314
|
+
setupResizeListener() {
|
|
315
|
+
_(h(window, "resize"), h(window, d.ContentDrawerResize)).pipe(ue(!0), m(100), g(() => this.clientWidth || window.innerWidth), g((e) => e >= this.minWidth.main + this.minWidth.sheet), oe(), b(() => this.updateMaxHeight()), y(this.disconnecting)).subscribe((e) => this.updateMode(e));
|
|
316
|
+
}
|
|
317
|
+
setupToggleListener() {
|
|
318
|
+
h(window, d.ContentDrawerToggle).pipe(b((e) => e.stopPropagation()), g((e) => e.detail.state), y(this.disconnecting)).subscribe((e) => {
|
|
319
|
+
this.open = e;
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
setupRenderListener() {
|
|
323
|
+
h(window, "schmancy-content-drawer-render").pipe(b((e) => e.stopPropagation()), g((e) => e.detail), y(this.disconnecting)).subscribe((e) => this.handleRender(e));
|
|
324
|
+
}
|
|
325
|
+
updateMaxHeight() {
|
|
326
|
+
this.maxHeight = window.innerHeight - this.getOffsetTop(this) + "px", this.style.setProperty("max-height", this.maxHeight);
|
|
327
|
+
}
|
|
328
|
+
updateMode(e) {
|
|
329
|
+
e ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
330
|
+
}
|
|
331
|
+
handleRender(e) {
|
|
332
|
+
this.mode === "push" ? o.push({
|
|
333
|
+
area: this.schmancyContentDrawerID,
|
|
334
|
+
component: e.component,
|
|
335
|
+
historyStrategy: "silent",
|
|
336
|
+
state: e.state,
|
|
337
|
+
params: e.params,
|
|
338
|
+
props: e.props
|
|
339
|
+
}) : this.mode === "overlay" && l.open({
|
|
340
|
+
component: e.component,
|
|
341
|
+
uid: this.schmancyContentDrawerID,
|
|
342
|
+
props: e.props
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
getOffsetTop(e) {
|
|
346
|
+
let t = 0;
|
|
347
|
+
for (; e;) t += e.offsetTop, e = e.offsetParent;
|
|
348
|
+
return t;
|
|
349
|
+
}
|
|
350
|
+
render() {
|
|
351
|
+
return this.mode && this.open ? k`
|
|
352
|
+
<div class=${[
|
|
353
|
+
"grid h-full",
|
|
354
|
+
"grid-flow-col auto-cols-max",
|
|
355
|
+
"grid-rows-[1fr]",
|
|
356
|
+
"justify-items-stretch items-stretch",
|
|
357
|
+
this.mode === "overlay" ? "grid-cols-[1fr]" : "grid-cols-[auto_1fr]"
|
|
358
|
+
].join(" ")}>
|
|
359
|
+
<slot></slot>
|
|
360
|
+
</div>
|
|
361
|
+
` : Se;
|
|
362
|
+
}
|
|
363
|
+
};
|
|
364
|
+
e([i({ context: I })], L.prototype, "minWidth", void 0), e([i({ context: N }), T()], L.prototype, "open", void 0), e([i({ context: M }), D()], L.prototype, "mode", void 0), e([i({ context: P })], L.prototype, "schmancyContentDrawerID", void 0), e([i({ context: F })], L.prototype, "maxHeight", void 0), e([xe({ flatten: !0 })], L.prototype, "assignedElements", void 0), L = e([w("schmancy-content-drawer")], L);
|
|
365
|
+
var R = class extends a(O`
|
|
366
|
+
:host {
|
|
367
|
+
display: block;
|
|
368
|
+
overflow: hidden;
|
|
369
|
+
}
|
|
370
|
+
`) {
|
|
371
|
+
connectedCallback() {
|
|
372
|
+
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.main = this.minWidth : this.minWidth = this.drawerMinWidth.main;
|
|
373
|
+
}
|
|
374
|
+
update(e) {
|
|
375
|
+
super.update(e), e.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(d.ContentDrawerResize, {
|
|
376
|
+
bubbles: !0,
|
|
377
|
+
composed: !0
|
|
378
|
+
})));
|
|
379
|
+
}
|
|
380
|
+
render() {
|
|
381
|
+
let e = {
|
|
382
|
+
minWidth: `${this.minWidth}px`,
|
|
383
|
+
maxHeight: this.maxHeight
|
|
384
|
+
};
|
|
385
|
+
return k`
|
|
386
|
+
<section class="relative inset-0 h-full">
|
|
387
|
+
<div class=${[
|
|
388
|
+
"grid h-full relative overflow-scroll",
|
|
389
|
+
"grid-flow-col auto-cols-max",
|
|
390
|
+
"grid-rows-[1fr]",
|
|
391
|
+
"items-stretch justify-items-stretch",
|
|
392
|
+
this.mode === "push" ? "grid-cols-[auto_1fr]" : "grid-cols-[1fr]"
|
|
393
|
+
].join(" ")}>
|
|
394
|
+
<section style=${this.styleMap(e)}>
|
|
395
|
+
<slot></slot>
|
|
396
|
+
</section>
|
|
397
|
+
</div>
|
|
398
|
+
${Ce(this.mode === "push", () => k` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
|
|
399
|
+
</section>
|
|
400
|
+
`;
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
e([T({ type: Number })], R.prototype, "minWidth", void 0), e([t({
|
|
404
|
+
context: I,
|
|
405
|
+
subscribe: !0
|
|
406
|
+
})], R.prototype, "drawerMinWidth", void 0), e([t({
|
|
407
|
+
context: M,
|
|
408
|
+
subscribe: !0
|
|
409
|
+
}), D()], R.prototype, "mode", void 0), e([t({
|
|
410
|
+
context: F,
|
|
411
|
+
subscribe: !0
|
|
412
|
+
}), D()], R.prototype, "maxHeight", void 0), R = e([w("schmancy-content-drawer-main")], R);
|
|
413
|
+
var z = class extends a(O`
|
|
414
|
+
:host {
|
|
415
|
+
overflow: scroll;
|
|
416
|
+
}
|
|
417
|
+
`) {
|
|
418
|
+
connectedCallback() {
|
|
419
|
+
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
|
|
420
|
+
}
|
|
421
|
+
updated(e) {
|
|
422
|
+
super.updated(e), e.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(d.ContentDrawerResize, {
|
|
423
|
+
bubbles: !0,
|
|
424
|
+
composed: !0
|
|
425
|
+
}))) : (e.has("state") || e.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (l.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
|
|
426
|
+
}
|
|
427
|
+
open() {
|
|
428
|
+
this.mode === "overlay" ? this.sheet.style.position = "fixed" : this.sheet.style.position = "relative", this.sheet.style.display = "block", this.sheet.animate([{
|
|
429
|
+
opacity: 0,
|
|
430
|
+
transform: "translateX(100%)"
|
|
431
|
+
}, {
|
|
432
|
+
opacity: 1,
|
|
433
|
+
transform: "translateX(0%)"
|
|
434
|
+
}], {
|
|
435
|
+
duration: 250,
|
|
436
|
+
easing: "cubic-bezier(0.5, 0.01, 0.25, 1)"
|
|
437
|
+
});
|
|
438
|
+
}
|
|
439
|
+
closeAll() {
|
|
440
|
+
_(ce(this.closeModalSheet()), ce(this.closeSheet())).pipe(y(this.disconnecting)).subscribe();
|
|
441
|
+
}
|
|
442
|
+
closeModalSheet() {
|
|
443
|
+
return v(!0).pipe(b(() => l.dismiss(this.schmancyContentDrawerID)));
|
|
444
|
+
}
|
|
445
|
+
closeSheet() {
|
|
446
|
+
return new ne((e) => {
|
|
447
|
+
this.sheet.animate([{
|
|
448
|
+
opacity: 1,
|
|
449
|
+
transform: "translateX(0%)"
|
|
450
|
+
}, {
|
|
451
|
+
opacity: 1,
|
|
452
|
+
transform: "translateX(100%)"
|
|
453
|
+
}], {
|
|
454
|
+
duration: 250,
|
|
455
|
+
easing: "cubic-bezier(0.5, 0.01, 0.25, 1)"
|
|
456
|
+
}).onfinish = () => {
|
|
457
|
+
this.sheet.style.display = "none", e.next(), e.complete();
|
|
458
|
+
};
|
|
459
|
+
});
|
|
460
|
+
}
|
|
461
|
+
render() {
|
|
462
|
+
let e = {
|
|
463
|
+
"block h-full w-full": this.mode === "push",
|
|
464
|
+
"absolute z-50": this.mode === "overlay",
|
|
465
|
+
"opacity-1": this.mode === "overlay" && this.state === "open"
|
|
466
|
+
}, t = {
|
|
467
|
+
minWidth: `${this.minWidth}px`,
|
|
468
|
+
maxHeight: this.maxHeight
|
|
469
|
+
};
|
|
470
|
+
return k`
|
|
471
|
+
<section id="sheet" class="${this.classMap(e)}" style=${this.styleMap(t)}>
|
|
472
|
+
<schmancy-area class="h-full w-full" name="${this.schmancyContentDrawerID}">
|
|
473
|
+
<slot name="placeholder"></slot>
|
|
474
|
+
</schmancy-area>
|
|
475
|
+
</section>
|
|
476
|
+
`;
|
|
477
|
+
}
|
|
478
|
+
};
|
|
479
|
+
e([T({ type: Number })], z.prototype, "minWidth", void 0), e([t({
|
|
480
|
+
context: M,
|
|
481
|
+
subscribe: !0
|
|
482
|
+
}), D()], z.prototype, "mode", void 0), e([t({
|
|
483
|
+
context: N,
|
|
484
|
+
subscribe: !0
|
|
485
|
+
}), D()], z.prototype, "state", void 0), e([t({ context: P })], z.prototype, "schmancyContentDrawerID", void 0), e([E("#sheet")], z.prototype, "sheet", void 0), e([xe({
|
|
486
|
+
flatten: !0,
|
|
487
|
+
slot: void 0
|
|
488
|
+
})], z.prototype, "defaultSlot", void 0), e([t({
|
|
489
|
+
context: I,
|
|
490
|
+
subscribe: !0
|
|
491
|
+
})], z.prototype, "drawerMinWidth", void 0), e([t({
|
|
492
|
+
context: F,
|
|
493
|
+
subscribe: !0
|
|
494
|
+
}), D()], z.prototype, "maxHeight", void 0), z = e([w("schmancy-content-drawer-sheet")], z);
|
|
495
|
+
var Te = new class {
|
|
496
|
+
constructor() {
|
|
497
|
+
this.$drawer = new p(), this.$drawer.pipe(m(10)).subscribe((e) => {
|
|
498
|
+
e.state ? window.dispatchEvent(new CustomEvent(d.NavDrawer_toggle, {
|
|
499
|
+
detail: { state: "open" },
|
|
500
|
+
bubbles: !0,
|
|
501
|
+
composed: !0
|
|
502
|
+
})) : window.dispatchEvent(new CustomEvent(d.NavDrawer_toggle, {
|
|
503
|
+
detail: { state: "close" },
|
|
504
|
+
bubbles: !0,
|
|
505
|
+
composed: !0
|
|
506
|
+
}));
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
open(e) {
|
|
510
|
+
this.$drawer.next({
|
|
511
|
+
self: e,
|
|
512
|
+
state: !0
|
|
513
|
+
});
|
|
514
|
+
}
|
|
515
|
+
close(e) {
|
|
516
|
+
this.$drawer.next({
|
|
517
|
+
self: e,
|
|
518
|
+
state: !1
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
}(), Ee = Te, B = class extends r(O`
|
|
522
|
+
:host {
|
|
523
|
+
display: block;
|
|
524
|
+
width: 100%;
|
|
525
|
+
min-width: 0;
|
|
526
|
+
}
|
|
527
|
+
`) {
|
|
528
|
+
render() {
|
|
529
|
+
return k`<slot></slot>`;
|
|
530
|
+
}
|
|
531
|
+
};
|
|
532
|
+
B = e([w("schmancy-nav-drawer-appbar")], B);
|
|
533
|
+
var V = class extends a(O`
|
|
534
|
+
:host {
|
|
535
|
+
display: block;
|
|
536
|
+
position: relative;
|
|
537
|
+
inset: 0;
|
|
538
|
+
overflow-y: auto;
|
|
539
|
+
}
|
|
540
|
+
`) {
|
|
541
|
+
connectedCallback() {
|
|
542
|
+
super.connectedCallback(), h(this, "scroll").pipe(y(this.disconnecting)).subscribe((e) => {
|
|
543
|
+
this.parentElement.dispatchEvent(new CustomEvent("scroll", {
|
|
544
|
+
detail: e,
|
|
545
|
+
bubbles: !0,
|
|
546
|
+
composed: !0
|
|
547
|
+
}));
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
render() {
|
|
551
|
+
return k` <slot></slot> `;
|
|
552
|
+
}
|
|
553
|
+
};
|
|
554
|
+
V = e([w("schmancy-nav-drawer-content")], V);
|
|
555
|
+
var H, U = n("push"), W = n("close"), G = class extends a(O`
|
|
556
|
+
:host {
|
|
557
|
+
display: grid;
|
|
558
|
+
grid-template-columns: auto 1fr;
|
|
559
|
+
grid-template-rows: 1fr;
|
|
560
|
+
flex-grow: 1;
|
|
561
|
+
height: 100%;
|
|
562
|
+
overflow: hidden;
|
|
563
|
+
/* Initially hide the component until it's ready */
|
|
564
|
+
visibility: hidden;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
:host([data-ready]) {
|
|
568
|
+
visibility: visible;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
:host([fullscreen]) {
|
|
572
|
+
grid-template-columns: 1fr;
|
|
573
|
+
}
|
|
574
|
+
`) {
|
|
575
|
+
static {
|
|
576
|
+
H = this;
|
|
577
|
+
}
|
|
578
|
+
constructor(...e) {
|
|
579
|
+
super(...e), this.fullscreen = !1, this.breakpoint = "md";
|
|
580
|
+
}
|
|
581
|
+
static {
|
|
582
|
+
this.BREAKPOINTS = {
|
|
583
|
+
sm: 640,
|
|
584
|
+
md: 768,
|
|
585
|
+
lg: 1024,
|
|
586
|
+
xl: 1280
|
|
587
|
+
};
|
|
588
|
+
}
|
|
589
|
+
firstUpdated() {
|
|
590
|
+
this.updateState(window.innerWidth), this.setAttribute("data-ready", ""), h(window, "resize").pipe(g((e) => e.target.innerWidth), g((e) => e >= H.BREAKPOINTS[this.breakpoint]), oe(), m(100), y(this.disconnecting)).subscribe((e) => {
|
|
591
|
+
e ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
592
|
+
}), h(window, "fullscreen").pipe(b((e) => {
|
|
593
|
+
let t = e;
|
|
594
|
+
this.fullscreen = t.detail;
|
|
595
|
+
}), y(this.disconnecting)).subscribe(), h(window, d.NavDrawer_toggle).pipe(b((e) => {
|
|
596
|
+
e.stopPropagation();
|
|
597
|
+
}), g((e) => e.detail.state), y(this.disconnecting), m(10)).subscribe((e) => {
|
|
598
|
+
e === "toggle" && (e = this.open === "open" ? "close" : "open"), this.mode === "push" && e === "close" || (this.open = e);
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
updateState(e) {
|
|
602
|
+
let t = e >= H.BREAKPOINTS[this.breakpoint];
|
|
603
|
+
this.mode = t ? "push" : "overlay", this.open = t ? "open" : "close";
|
|
604
|
+
}
|
|
605
|
+
render() {
|
|
606
|
+
return k`<slot></slot>`;
|
|
607
|
+
}
|
|
608
|
+
};
|
|
609
|
+
e([T({
|
|
610
|
+
type: Boolean,
|
|
611
|
+
reflect: !0
|
|
612
|
+
})], G.prototype, "fullscreen", void 0), e([T({
|
|
613
|
+
type: String,
|
|
614
|
+
attribute: "breakpoint"
|
|
615
|
+
})], G.prototype, "breakpoint", void 0), e([i({ context: U }), D()], G.prototype, "mode", void 0), e([i({ context: W }), T()], G.prototype, "open", void 0), G = H = e([w("schmancy-nav-drawer")], G);
|
|
616
|
+
var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends a() {
|
|
617
|
+
constructor(...e) {
|
|
618
|
+
super(...e), this.width = "220px", this._initialized = !1;
|
|
619
|
+
}
|
|
620
|
+
firstUpdated() {
|
|
621
|
+
this.mode === "overlay" ? this.drawerState === "close" ? (this.nav.style.transform = "translateX(-100%)", this.overlay.style.display = "none") : this.drawerState === "open" && (this.nav.style.transform = "translateX(0)", this.overlay.style.display = "block", this.overlay.style.opacity = "0.4") : this.mode === "push" && (this.nav.style.transform = "translateX(0)", this.overlay.style.display = "none"), this._initialized = !0;
|
|
622
|
+
}
|
|
623
|
+
updated(e) {
|
|
624
|
+
this._initialized && (e.has("drawerState") || e.has("mode")) && (this.mode === "overlay" ? this.drawerState === "open" ? this.nav.style.transform !== "translateX(0)" && (this.openOverlay(), this.showNavDrawer()) : this.drawerState === "close" && this.nav.style.transform !== "translateX(-100%)" && (this.hideNavDrawer(), this.closeOverlay()) : this.mode === "push" && (this.nav.style.transform !== "translateX(0)" && this.showNavDrawer(), this.overlay.style.display !== "none" && this.closeOverlay()));
|
|
625
|
+
}
|
|
626
|
+
openOverlay() {
|
|
627
|
+
this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: .4 }], {
|
|
628
|
+
duration: 200,
|
|
629
|
+
easing: K,
|
|
630
|
+
fill: "forwards"
|
|
631
|
+
});
|
|
632
|
+
}
|
|
633
|
+
closeOverlay() {
|
|
634
|
+
this.overlay.animate([{ opacity: .4 }, { opacity: 0 }], {
|
|
635
|
+
duration: 150,
|
|
636
|
+
easing: K,
|
|
637
|
+
fill: "forwards"
|
|
638
|
+
}).onfinish = () => {
|
|
639
|
+
this.overlay.style.display = "none";
|
|
640
|
+
};
|
|
641
|
+
}
|
|
642
|
+
showNavDrawer() {
|
|
643
|
+
this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], {
|
|
644
|
+
duration: 200,
|
|
645
|
+
easing: K,
|
|
646
|
+
fill: "forwards"
|
|
647
|
+
}).onfinish = () => {
|
|
648
|
+
this.nav.style.transform = "translateX(0)";
|
|
649
|
+
};
|
|
650
|
+
}
|
|
651
|
+
hideNavDrawer() {
|
|
652
|
+
this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], {
|
|
653
|
+
duration: 200,
|
|
654
|
+
easing: K,
|
|
655
|
+
fill: "forwards"
|
|
656
|
+
}).onfinish = () => {
|
|
657
|
+
this.nav.style.transform = "translateX(-100%)";
|
|
658
|
+
};
|
|
659
|
+
}
|
|
660
|
+
handleOverlayClick() {
|
|
661
|
+
window.dispatchEvent(new CustomEvent(d.NavDrawer_toggle, {
|
|
662
|
+
detail: { state: "close" },
|
|
663
|
+
bubbles: !0,
|
|
664
|
+
composed: !0
|
|
665
|
+
}));
|
|
666
|
+
}
|
|
667
|
+
render() {
|
|
668
|
+
let e = {
|
|
669
|
+
"max-w-[360px] w-fit h-full overflow-auto": !0,
|
|
670
|
+
block: this.mode === "push",
|
|
671
|
+
"fixed inset-0 z-50": this.mode === "overlay"
|
|
672
|
+
}, t = { width: this.width };
|
|
673
|
+
return k`
|
|
674
|
+
<nav
|
|
675
|
+
style=${this.styleMap(t)}
|
|
676
|
+
class="${this.classMap({ ...e })}"
|
|
677
|
+
${c({ bgColor: u.sys.color.surface.containerLowest })}
|
|
678
|
+
>
|
|
679
|
+
<slot></slot>
|
|
680
|
+
</nav>
|
|
681
|
+
<div
|
|
682
|
+
id="overlay"
|
|
683
|
+
${c({ bgColor: u.sys.color.scrim })}
|
|
684
|
+
@click=${this.handleOverlayClick}
|
|
685
|
+
class="${this.classMap({ "fixed inset-0 z-49 hidden": !0 })}"
|
|
686
|
+
></div>
|
|
687
|
+
`;
|
|
688
|
+
}
|
|
689
|
+
};
|
|
690
|
+
e([t({
|
|
691
|
+
context: U,
|
|
692
|
+
subscribe: !0
|
|
693
|
+
}), D()], q.prototype, "mode", void 0), e([t({
|
|
694
|
+
context: W,
|
|
695
|
+
subscribe: !0
|
|
696
|
+
}), D()], q.prototype, "drawerState", void 0), e([E("#overlay")], q.prototype, "overlay", void 0), e([E("nav")], q.prototype, "nav", void 0), e([T({ type: String })], q.prototype, "width", void 0), e([D()], q.prototype, "_initialized", void 0), q = e([w("schmancy-nav-drawer-navbar")], q);
|
|
697
|
+
var J = class extends r(O`
|
|
698
|
+
:host {
|
|
699
|
+
display: flex;
|
|
700
|
+
flex: 1;
|
|
701
|
+
min-width: 48px;
|
|
702
|
+
max-width: 168px;
|
|
703
|
+
user-select: none;
|
|
704
|
+
-webkit-tap-highlight-color: transparent;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
:host([disabled]) {
|
|
708
|
+
pointer-events: none;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
button {
|
|
712
|
+
font-family: inherit;
|
|
713
|
+
border: none;
|
|
714
|
+
background: none;
|
|
715
|
+
width: 100%;
|
|
716
|
+
padding: 0;
|
|
717
|
+
margin: 0;
|
|
718
|
+
text-align: center;
|
|
719
|
+
color: inherit;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
button:focus {
|
|
723
|
+
outline: none;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
button:focus-visible {
|
|
727
|
+
outline: 2px solid var(--focus-color);
|
|
728
|
+
outline-offset: 2px;
|
|
729
|
+
border-radius: 8px;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
/* Ripple animation */
|
|
733
|
+
@keyframes ripple {
|
|
734
|
+
to {
|
|
735
|
+
transform: scale(4);
|
|
736
|
+
opacity: 0;
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
.ripple-effect {
|
|
741
|
+
position: absolute;
|
|
742
|
+
border-radius: 50%;
|
|
743
|
+
width: 20px;
|
|
744
|
+
height: 20px;
|
|
745
|
+
background-color: currentColor;
|
|
746
|
+
opacity: 0.25;
|
|
747
|
+
animation: ripple 0.6s ease-out;
|
|
748
|
+
pointer-events: none;
|
|
749
|
+
}
|
|
750
|
+
`) {
|
|
751
|
+
constructor(...e) {
|
|
752
|
+
super(...e), this.icon = "", this.label = "", this.badge = "", this.active$ = new f(!1), this.disabled = !1, this.hideLabels = !1, this.ripples = [], this.addRippleEffect = (e) => {
|
|
753
|
+
if (this.disabled) return;
|
|
754
|
+
let t = this.shadowRoot?.querySelector(".w-16.h-8");
|
|
755
|
+
if (t) {
|
|
756
|
+
let n = t.getBoundingClientRect(), r = {
|
|
757
|
+
x: e.clientX - n.left,
|
|
758
|
+
y: e.clientY - n.top,
|
|
759
|
+
id: Date.now()
|
|
760
|
+
};
|
|
761
|
+
this.ripples = [...this.ripples, r], me(600).pipe(C(() => {
|
|
762
|
+
this.ripples = this.ripples.filter((e) => e.id !== r.id);
|
|
763
|
+
}), S(this.disconnecting)).subscribe();
|
|
764
|
+
}
|
|
765
|
+
}, this.handleClick = (e) => {
|
|
766
|
+
if (this.disabled) return e.preventDefault(), void e.stopPropagation();
|
|
767
|
+
this.addRippleEffect(e);
|
|
768
|
+
}, this.handleKeyDown = (e) => {
|
|
769
|
+
this.disabled || e.key !== "Enter" && e.key !== " " || e.preventDefault();
|
|
770
|
+
};
|
|
771
|
+
}
|
|
772
|
+
get active() {
|
|
773
|
+
return this.active$.value;
|
|
774
|
+
}
|
|
775
|
+
set active(e) {
|
|
776
|
+
this.active$.next(e);
|
|
777
|
+
}
|
|
778
|
+
setActive(e) {
|
|
779
|
+
this.active = e;
|
|
780
|
+
}
|
|
781
|
+
connectedCallback() {
|
|
782
|
+
super.connectedCallback(), this.active$.pipe(S(this.disconnecting)).subscribe(() => {
|
|
783
|
+
this.requestUpdate();
|
|
784
|
+
}), this.setupNavigationStream();
|
|
785
|
+
}
|
|
786
|
+
setupNavigationStream() {
|
|
787
|
+
let e = this.shadowRoot?.querySelector("button");
|
|
788
|
+
e && _(h(e, "click").pipe(x(() => !this.disabled)), h(e, "keydown").pipe(x(() => !this.disabled), x((e) => e.key === "Enter" || e.key === " "), C((e) => e.preventDefault()))).pipe(C(() => {
|
|
789
|
+
this.dispatchEvent(new CustomEvent("bar-item-click", {
|
|
790
|
+
detail: {
|
|
791
|
+
icon: this.icon,
|
|
792
|
+
label: this.label,
|
|
793
|
+
active: this.active
|
|
794
|
+
},
|
|
795
|
+
bubbles: !0,
|
|
796
|
+
composed: !0
|
|
797
|
+
}));
|
|
798
|
+
}), S(this.disconnecting)).subscribe();
|
|
799
|
+
}
|
|
800
|
+
formatBadge(e) {
|
|
801
|
+
let t = Number(e);
|
|
802
|
+
return isNaN(t) ? e.slice(0, 3) : t > 99 ? "99+" : String(t);
|
|
803
|
+
}
|
|
804
|
+
firstUpdated() {
|
|
805
|
+
this.setupNavigationStream();
|
|
806
|
+
}
|
|
807
|
+
render() {
|
|
808
|
+
let e = this.querySelector("[slot]") || this.textContent?.trim() && !this.label, t = this.badge ? this.formatBadge(this.badge) : "", n = t && t !== "0", r = this.querySelector("[slot=\"icon\"]"), i = {
|
|
809
|
+
"relative flex flex-col items-center justify-center": !0,
|
|
810
|
+
"flex-1 min-w-[48px] max-w-[168px]": !0,
|
|
811
|
+
"py-2 px-1 cursor-pointer": !this.disabled,
|
|
812
|
+
"transition-all duration-200": !0,
|
|
813
|
+
"hover:bg-surface-containerHigh": !this.disabled && !this.active,
|
|
814
|
+
"cursor-not-allowed opacity-38": this.disabled,
|
|
815
|
+
"outline-none": !0,
|
|
816
|
+
"focus-visible:outline-2 focus-visible:outline-offset-2": !0
|
|
817
|
+
}, a = {
|
|
818
|
+
"w-16 h-8 rounded-2xl": !0,
|
|
819
|
+
"flex items-center justify-center": !0,
|
|
820
|
+
"transition-all duration-200": !0,
|
|
821
|
+
"bg-secondary-container": this.active,
|
|
822
|
+
"group-hover:bg-surface-containerHighest": !this.active && !this.disabled,
|
|
823
|
+
"relative overflow-hidden": !0
|
|
824
|
+
}, o = {
|
|
825
|
+
"absolute top-0 right-3": !0,
|
|
826
|
+
"min-w-[6px] h-1.5": !n,
|
|
827
|
+
"min-w-[16px] h-4": n,
|
|
828
|
+
"rounded-full": !n,
|
|
829
|
+
"rounded-lg": n,
|
|
830
|
+
"flex items-center justify-center": n,
|
|
831
|
+
"px-1": n,
|
|
832
|
+
"transition-all duration-200": !0,
|
|
833
|
+
"z-10": !0
|
|
834
|
+
}, ee = this.active ? { color: u.sys.color.secondary.onContainer } : { color: u.sys.color.surface.onVariant }, te = { "--focus-color": u.sys.color.primary.default };
|
|
835
|
+
return k`
|
|
836
|
+
<button
|
|
837
|
+
type="button"
|
|
838
|
+
class=${this.classMap(i)}
|
|
839
|
+
@click=${this.handleClick}
|
|
840
|
+
@keydown=${this.handleKeyDown}
|
|
841
|
+
?disabled=${this.disabled}
|
|
842
|
+
aria-pressed=${this.active}
|
|
843
|
+
aria-label=${this.label || "Navigation item"}
|
|
844
|
+
style=${this.styleMap({
|
|
845
|
+
...te,
|
|
846
|
+
"outline-color": "var(--focus-color)"
|
|
847
|
+
})}
|
|
848
|
+
${c(ee)}
|
|
849
|
+
>
|
|
850
|
+
<!-- Icon with indicator background -->
|
|
851
|
+
<div class=${this.classMap(a)}>
|
|
852
|
+
<!-- Ripple effects -->
|
|
853
|
+
${this.ripples.map((e) => k`
|
|
854
|
+
<span
|
|
855
|
+
class="ripple-effect"
|
|
856
|
+
style=${this.styleMap({
|
|
857
|
+
left: `${e.x}px`,
|
|
858
|
+
top: `${e.y}px`,
|
|
859
|
+
transform: "translate(-50%, -50%)"
|
|
860
|
+
})}
|
|
861
|
+
></span>
|
|
862
|
+
`)}
|
|
863
|
+
|
|
864
|
+
${r ? k`<slot name="icon"></slot>` : this.icon ? k`
|
|
865
|
+
<schmancy-icon
|
|
866
|
+
.fill=${+!!this.active}
|
|
867
|
+
class="relative z-10 flex items-center justify-center transition-all duration-200"
|
|
868
|
+
style="--schmancy-icon-size: 24px;"
|
|
869
|
+
aria-hidden="true"
|
|
870
|
+
>
|
|
871
|
+
${this.icon}
|
|
872
|
+
</schmancy-icon>
|
|
873
|
+
` : e ? k`<slot></slot>` : ""}
|
|
874
|
+
</div>
|
|
875
|
+
|
|
876
|
+
<!-- Label below icon -->
|
|
877
|
+
${!this.hideLabels && this.label ? k`
|
|
878
|
+
<span class=${this.classMap({
|
|
879
|
+
"text-xs font-medium leading-4 mt-1": !0,
|
|
880
|
+
"text-center max-w-full": !0,
|
|
881
|
+
"overflow-hidden text-ellipsis whitespace-nowrap": !0,
|
|
882
|
+
"transition-all duration-200": !0
|
|
883
|
+
})}>${this.label}</span>
|
|
884
|
+
` : ""}
|
|
885
|
+
|
|
886
|
+
<!-- Badge -->
|
|
887
|
+
${n ? k`
|
|
888
|
+
<span
|
|
889
|
+
class=${this.classMap(o)}
|
|
890
|
+
aria-label="${t} notifications"
|
|
891
|
+
${c({
|
|
892
|
+
bgColor: u.sys.color.error.default,
|
|
893
|
+
color: u.sys.color.error.on
|
|
894
|
+
})}
|
|
895
|
+
>
|
|
896
|
+
<span class="text-[10px] font-medium leading-none">${t}</span>
|
|
897
|
+
</span>
|
|
898
|
+
` : this.badge ? k`
|
|
899
|
+
<span
|
|
900
|
+
class=${this.classMap(o)}
|
|
901
|
+
aria-label="Has notifications"
|
|
902
|
+
${c({ bgColor: u.sys.color.error.default })}
|
|
903
|
+
></span>
|
|
904
|
+
` : ""}
|
|
905
|
+
</button>
|
|
906
|
+
`;
|
|
907
|
+
}
|
|
908
|
+
};
|
|
909
|
+
e([T({ type: String })], J.prototype, "icon", void 0), e([T({ type: String })], J.prototype, "label", void 0), e([T({ type: String })], J.prototype, "badge", void 0), e([T({
|
|
910
|
+
type: Boolean,
|
|
911
|
+
reflect: !0
|
|
912
|
+
})], J.prototype, "active", null), e([T({
|
|
913
|
+
type: Boolean,
|
|
914
|
+
reflect: !0
|
|
915
|
+
})], J.prototype, "disabled", void 0), e([T({
|
|
916
|
+
type: Boolean,
|
|
917
|
+
reflect: !0
|
|
918
|
+
})], J.prototype, "hideLabels", void 0), e([D()], J.prototype, "ripples", void 0), J = e([w("schmancy-navigation-bar-item")], J);
|
|
919
|
+
var Y = class extends r(O`
|
|
920
|
+
:host {
|
|
921
|
+
display: block;
|
|
922
|
+
transition: transform 0.3s ease-in-out;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
:host([hide-on-scroll]) {
|
|
926
|
+
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
/* Support 3-7 items with equal distribution */
|
|
930
|
+
::slotted(schmancy-navigation-bar-item) {
|
|
931
|
+
flex: 1;
|
|
932
|
+
max-width: 168px; /* Prevent items from being too wide */
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
/* Accessibility focus indicators */
|
|
936
|
+
:host(:focus-within) {
|
|
937
|
+
outline: 2px solid var(--schmancy-sys-color-primary);
|
|
938
|
+
outline-offset: -2px;
|
|
939
|
+
}
|
|
940
|
+
`) {
|
|
941
|
+
constructor(...e) {
|
|
942
|
+
super(...e), this.activeIndex$ = new f(-1), this.hideLabels = !1, this.elevation = 2, this.hideOnScroll = !1, this.focusedIndex = -1, this.isHiddenByScroll = !1, this.isFullscreen = !1, this.SCROLL_THRESHOLD = 10, this.mobileMediaQuery = null, this.visibility$ = new p(), this.handleItemClick = (e) => {
|
|
943
|
+
let t = this.getItems(), n = e.target, r = t.indexOf(n);
|
|
944
|
+
if (r === -1) return;
|
|
945
|
+
if (this.activeIndex === r) return void this.dispatchEvent(new CustomEvent(d.NavDrawer_toggle, {
|
|
946
|
+
detail: { state: "toggle" },
|
|
947
|
+
bubbles: !0,
|
|
948
|
+
composed: !0
|
|
949
|
+
}));
|
|
950
|
+
let i = this.activeIndex;
|
|
951
|
+
this.activeIndex = r, this.dispatchEvent(new CustomEvent("navigation-change", {
|
|
952
|
+
detail: {
|
|
953
|
+
oldIndex: i,
|
|
954
|
+
newIndex: r,
|
|
955
|
+
item: n
|
|
956
|
+
},
|
|
957
|
+
bubbles: !0,
|
|
958
|
+
composed: !0
|
|
959
|
+
}));
|
|
960
|
+
}, this.handleKeyDown = (e) => {
|
|
961
|
+
let t = this.getItems(), n = this.focusedIndex === -1 ? this.activeIndex : this.focusedIndex;
|
|
962
|
+
switch (e.key) {
|
|
963
|
+
case "ArrowLeft":
|
|
964
|
+
e.preventDefault(), n > 0 && this.focusItem(n - 1);
|
|
965
|
+
break;
|
|
966
|
+
case "ArrowRight":
|
|
967
|
+
e.preventDefault(), n < t.length - 1 && this.focusItem(n + 1);
|
|
968
|
+
break;
|
|
969
|
+
case "Home":
|
|
970
|
+
e.preventDefault(), this.focusItem(0);
|
|
971
|
+
break;
|
|
972
|
+
case "End":
|
|
973
|
+
e.preventDefault(), this.focusItem(t.length - 1);
|
|
974
|
+
break;
|
|
975
|
+
case "Enter":
|
|
976
|
+
case " ": e.preventDefault(), this.focusedIndex !== -1 && t[this.focusedIndex]?.click();
|
|
977
|
+
}
|
|
978
|
+
};
|
|
979
|
+
}
|
|
980
|
+
get activeIndex() {
|
|
981
|
+
return this.activeIndex$.value;
|
|
982
|
+
}
|
|
983
|
+
set activeIndex(e) {
|
|
984
|
+
this.activeIndex$.next(e);
|
|
985
|
+
}
|
|
986
|
+
getItems() {
|
|
987
|
+
let e = this.shadowRoot?.querySelector("slot");
|
|
988
|
+
return e ? e.assignedElements({ flatten: !0 }).filter((e) => e.tagName.toLowerCase() === "schmancy-navigation-bar-item") : [];
|
|
989
|
+
}
|
|
990
|
+
isMobileViewport() {
|
|
991
|
+
return this.mobileMediaQuery?.matches ?? !1;
|
|
992
|
+
}
|
|
993
|
+
updateBottomOffset() {
|
|
994
|
+
let e = !this.isFullscreen && this.isMobileViewport();
|
|
995
|
+
s.setBottomOffset(e ? 80 : 0);
|
|
996
|
+
}
|
|
997
|
+
connectedCallback() {
|
|
998
|
+
super.connectedCallback(), this.mobileMediaQuery = window.matchMedia("(max-width: 767px)"), h(this.mobileMediaQuery, "change").pipe(C(() => this.updateBottomOffset()), S(this.disconnecting)).subscribe(), s.fullscreen$.pipe(C((e) => {
|
|
999
|
+
this.isFullscreen = e, this.visibility$.next(!this.isFullscreen && !this.isHiddenByScroll), this.updateBottomOffset();
|
|
1000
|
+
}), S(this.disconnecting)).subscribe(), this.updateBottomOffset(), h(this, "bar-item-click").pipe(C((e) => this.handleItemClick(e)), S(this.disconnecting)).subscribe(), h(this, "keydown").pipe(C((e) => this.handleKeyDown(e)), S(this.disconnecting)).subscribe(), this.activeIndex$.pipe(S(this.disconnecting)).subscribe((e) => {
|
|
1001
|
+
this.updateActiveStates(e);
|
|
1002
|
+
}), this.hideOnScroll && this.setupScrollListener(), this.updateItems();
|
|
1003
|
+
}
|
|
1004
|
+
disconnectedCallback() {
|
|
1005
|
+
super.disconnectedCallback(), s.setBottomOffset(0), this.mobileMediaQuery = null;
|
|
1006
|
+
}
|
|
1007
|
+
setupScrollListener() {
|
|
1008
|
+
h(window, "scroll").pipe(be(100), _e(() => window.scrollY), ve(), x(([e, t]) => Math.abs(t - e) > this.SCROLL_THRESHOLD), C(([e, t]) => {
|
|
1009
|
+
let n = t > e, r = t < e, i = this.isHiddenByScroll;
|
|
1010
|
+
n && !this.isHiddenByScroll ? this.isHiddenByScroll = !0 : r && this.isHiddenByScroll && (this.isHiddenByScroll = !1), t <= this.SCROLL_THRESHOLD && (this.isHiddenByScroll = !1), i !== this.isHiddenByScroll && this.visibility$.next(!this.isHiddenByScroll && !this.isFullscreen);
|
|
1011
|
+
}), S(this.disconnecting)).subscribe();
|
|
1012
|
+
}
|
|
1013
|
+
focusItem(e) {
|
|
1014
|
+
let t = this.getItems();
|
|
1015
|
+
t[e] && (this.focusedIndex = e, t[e].focus());
|
|
1016
|
+
}
|
|
1017
|
+
updateItems() {
|
|
1018
|
+
let e = this.shadowRoot?.querySelector("slot");
|
|
1019
|
+
if (e) {
|
|
1020
|
+
let t = () => {
|
|
1021
|
+
this.updateActiveStates(this.activeIndex);
|
|
1022
|
+
};
|
|
1023
|
+
e.addEventListener("slotchange", t), t();
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
addBoatItem(e) {
|
|
1027
|
+
let t = this.querySelector(`[value="${e.id}"]`);
|
|
1028
|
+
if (t) return t;
|
|
1029
|
+
let n = document.createElement("schmancy-navigation-bar-item");
|
|
1030
|
+
return n.setAttribute("value", e.id), n.innerHTML = `\n\t\t\t<schmancy-icon>${e.icon || "widgets"}</schmancy-icon>\n\t\t\t<span>${e.title}</span>\n\t\t`, this.appendChild(n), n;
|
|
1031
|
+
}
|
|
1032
|
+
updateActiveStates(e) {
|
|
1033
|
+
this.getItems().forEach((t, n) => {
|
|
1034
|
+
let r = t;
|
|
1035
|
+
r.setActive ? r.setActive(n === e) : r.active = n === e, r.hideLabels = this.hideLabels, t.tabIndex = n === e ? 0 : -1;
|
|
1036
|
+
});
|
|
1037
|
+
}
|
|
1038
|
+
updated(e) {
|
|
1039
|
+
super.updated(e), e.has("hideLabels") && this.updateActiveStates(this.activeIndex), e.has("hideOnScroll") && (this.hideOnScroll && !e.get("hideOnScroll") ? this.setupScrollListener() : this.hideOnScroll || (this.isHiddenByScroll = !1, this.visibility$.next(!this.isFullscreen)));
|
|
1040
|
+
}
|
|
1041
|
+
render() {
|
|
1042
|
+
let e = this.isFullscreen || this.isHiddenByScroll, t = {
|
|
1043
|
+
"h-20": !0,
|
|
1044
|
+
"flex items-center justify-around": !0,
|
|
1045
|
+
"px-2 py-3 box-border": !0,
|
|
1046
|
+
"transition-all duration-300 ease-in-out": !0,
|
|
1047
|
+
"z-10": !0,
|
|
1048
|
+
"shadow-none": this.elevation === 0,
|
|
1049
|
+
"shadow-sm": this.elevation === 1,
|
|
1050
|
+
"shadow-md": this.elevation === 2,
|
|
1051
|
+
"shadow-lg": this.elevation === 3,
|
|
1052
|
+
"shadow-xl": this.elevation === 4,
|
|
1053
|
+
"shadow-2xl": this.elevation === 5
|
|
1054
|
+
}, n = e ? "translateY(100%)" : "translateY(0)";
|
|
1055
|
+
return k`
|
|
1056
|
+
<nav
|
|
1057
|
+
class=${this.classMap(t)}
|
|
1058
|
+
role="navigation"
|
|
1059
|
+
aria-label="Main navigation"
|
|
1060
|
+
aria-hidden=${e}
|
|
1061
|
+
style="transform: ${n};"
|
|
1062
|
+
${c({
|
|
1063
|
+
bgColor: u.sys.color.surface.container,
|
|
1064
|
+
color: u.sys.color.surface.on
|
|
1065
|
+
})}
|
|
1066
|
+
>
|
|
1067
|
+
<slot></slot>
|
|
1068
|
+
</nav>
|
|
1069
|
+
`;
|
|
1070
|
+
}
|
|
1071
|
+
};
|
|
1072
|
+
e([T({ type: Number })], Y.prototype, "activeIndex", null), e([T({
|
|
1073
|
+
type: Boolean,
|
|
1074
|
+
reflect: !0
|
|
1075
|
+
})], Y.prototype, "hideLabels", void 0), e([T({
|
|
1076
|
+
type: Number,
|
|
1077
|
+
reflect: !0
|
|
1078
|
+
})], Y.prototype, "elevation", void 0), e([T({
|
|
1079
|
+
type: Boolean,
|
|
1080
|
+
reflect: !0
|
|
1081
|
+
})], Y.prototype, "hideOnScroll", void 0), e([D()], Y.prototype, "focusedIndex", void 0), e([D()], Y.prototype, "isHiddenByScroll", void 0), e([D()], Y.prototype, "isFullscreen", void 0), Y = e([w("schmancy-navigation-bar")], Y);
|
|
1082
|
+
var X = "whereAreYouRicky", De = "hereMorty", Z = new class {
|
|
1083
|
+
constructor() {
|
|
1084
|
+
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new p(), this.find = (e) => he([h(window, De).pipe(se((t) => !!t.detail.component.uuid && !!e.id && t.detail.component.id === e.id && t.detail.component.uuid !== e.uuid), g((e) => e.detail.component), de(1)), v(e).pipe(b(() => {
|
|
1085
|
+
window.dispatchEvent(new CustomEvent(X, { detail: {
|
|
1086
|
+
id: e.id,
|
|
1087
|
+
callerID: e.uuid
|
|
1088
|
+
} }));
|
|
1089
|
+
}))]).pipe(g(([e]) => e), pe(0)), this.flip = (e) => {
|
|
1090
|
+
let { from: t, to: n } = e, r = n.element.style.zIndex;
|
|
1091
|
+
n.element.style.transformOrigin = "top left", n.element.style.setProperty("visibility", "visible"), n.element.style.zIndex = "1000";
|
|
1092
|
+
let i = [{ transform: `translate(${t.rect.left - n.rect.left}px, ${t.rect.top - n.rect.top}px) scale(${t.rect.width / n.rect.width}, ${t.rect.height / n.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
|
|
1093
|
+
n.element.animate(i, {
|
|
1094
|
+
duration: 250,
|
|
1095
|
+
delay: 10,
|
|
1096
|
+
easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)"
|
|
1097
|
+
}).onfinish = () => {
|
|
1098
|
+
n.element.style.zIndex = r, n.element.style.transformOrigin = "";
|
|
1099
|
+
};
|
|
1100
|
+
}, this.flipRequests.pipe(re(1), g((e) => e.map(({ from: e, to: t, host: n }, r) => ({
|
|
1101
|
+
from: e,
|
|
1102
|
+
to: t,
|
|
1103
|
+
host: n,
|
|
1104
|
+
i: r
|
|
1105
|
+
}))), ie((e) => he(e.map((e) => v(this.flip(e)))))).subscribe();
|
|
1106
|
+
}
|
|
1107
|
+
}();
|
|
1108
|
+
function Oe(e) {
|
|
1109
|
+
return le(50).pipe(_e(() => e.getBoundingClientRect()), ge((e, t) => e.width === t.width && e.height === t.height && e.top === t.top && e.right === t.right && e.bottom === t.bottom && e.left === t.left), ye(1));
|
|
1110
|
+
}
|
|
1111
|
+
var Q = class extends a(O``) {
|
|
1112
|
+
constructor(...e) {
|
|
1113
|
+
super(...e), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
|
|
1114
|
+
}
|
|
1115
|
+
get _slottedChildren() {
|
|
1116
|
+
return this.shadowRoot.querySelector("slot").assignedElements({ flatten: !0 });
|
|
1117
|
+
}
|
|
1118
|
+
connectedCallback() {
|
|
1119
|
+
if (this.id === void 0) throw Error("id is required");
|
|
1120
|
+
super.connectedCallback(), _(h(window, te).pipe(b({ next: () => {
|
|
1121
|
+
this.dispatchEvent(new CustomEvent(ee, {
|
|
1122
|
+
detail: { component: this },
|
|
1123
|
+
bubbles: !0,
|
|
1124
|
+
composed: !0
|
|
1125
|
+
}));
|
|
1126
|
+
} })), h(window, X).pipe(b({ next: (e) => {
|
|
1127
|
+
e.detail.id === this.id && this.uuid && e.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(De, {
|
|
1128
|
+
detail: { component: this },
|
|
1129
|
+
bubbles: !0,
|
|
1130
|
+
composed: !0
|
|
1131
|
+
}));
|
|
1132
|
+
} }))).pipe(y(this.disconnecting)).subscribe();
|
|
1133
|
+
}
|
|
1134
|
+
async firstUpdated() {
|
|
1135
|
+
v(Z.activeTeleportations.get(this.id)).pipe(se((e) => !!e), y(this.disconnecting), fe()).subscribe({
|
|
1136
|
+
next: (e) => {
|
|
1137
|
+
this.style.setProperty("visibility", "hidden"), Oe(this).pipe(y(this.disconnecting)).subscribe({ next: (t) => {
|
|
1138
|
+
Z.activeTeleportations.set(this.id, t), Z.flipRequests.next({
|
|
1139
|
+
from: { rect: e },
|
|
1140
|
+
to: {
|
|
1141
|
+
rect: t,
|
|
1142
|
+
element: this._slottedChildren[0]
|
|
1143
|
+
},
|
|
1144
|
+
host: this
|
|
1145
|
+
});
|
|
1146
|
+
} });
|
|
1147
|
+
},
|
|
1148
|
+
error: () => {
|
|
1149
|
+
this.style.setProperty("visibility", "visible"), Oe(this).pipe(y(this.disconnecting)).subscribe({ next: (e) => {
|
|
1150
|
+
Z.activeTeleportations.set(this.id, e);
|
|
1151
|
+
} });
|
|
1152
|
+
},
|
|
1153
|
+
complete: () => {}
|
|
1154
|
+
});
|
|
1155
|
+
}
|
|
1156
|
+
render() {
|
|
1157
|
+
return k`<slot></slot>`;
|
|
1158
|
+
}
|
|
1159
|
+
};
|
|
1160
|
+
e([T({
|
|
1161
|
+
type: Number,
|
|
1162
|
+
reflect: !0
|
|
1163
|
+
})], Q.prototype, "uuid", void 0), e([T({ type: String })], Q.prototype, "id", void 0), e([T({ type: Number })], Q.prototype, "delay", void 0), Q = e([w("schmancy-teleport")], Q);
|
|
1164
|
+
var $ = class extends a() {
|
|
1165
|
+
constructor(...e) {
|
|
1166
|
+
super(...e), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
|
|
1167
|
+
}
|
|
1168
|
+
render() {
|
|
1169
|
+
let e;
|
|
1170
|
+
e = this.src ? k`<img class="w-full h-full object-cover" src="${this.src}" alt="Avatar" />` : this.initials ? k`<span class="text-center font-medium">${this.initials.substring(0, 2).toUpperCase()}</span>` : this.icon ? k`<schmancy-icon>${this.icon}</schmancy-icon>` : k`<schmancy-icon>person</schmancy-icon>`;
|
|
1171
|
+
let t = {
|
|
1172
|
+
"relative flex items-center justify-center overflow-hidden": !0,
|
|
1173
|
+
[{
|
|
1174
|
+
xxs: "w-5 h-5 text-[8px]",
|
|
1175
|
+
xs: "w-6 h-6 text-xs",
|
|
1176
|
+
sm: "w-8 h-8 text-sm",
|
|
1177
|
+
md: "w-10 h-10 text-base",
|
|
1178
|
+
lg: "w-12 h-12 text-lg",
|
|
1179
|
+
xl: "w-16 h-16 text-xl"
|
|
1180
|
+
}[this.size]]: !0,
|
|
1181
|
+
[{
|
|
1182
|
+
circle: "rounded-full",
|
|
1183
|
+
square: "rounded-md"
|
|
1184
|
+
}[this.shape]]: !0,
|
|
1185
|
+
"border-2 border-surface-container": this.bordered
|
|
1186
|
+
}, n = this.getColorAttributes();
|
|
1187
|
+
return k`
|
|
1188
|
+
<div class="${this.classMap(t)}" ${n}>
|
|
1189
|
+
${e} ${this.status === "none" ? "" : this.renderStatusIndicator()}
|
|
1190
|
+
</div>
|
|
1191
|
+
`;
|
|
1192
|
+
}
|
|
1193
|
+
getColorAttributes() {
|
|
1194
|
+
return c({
|
|
1195
|
+
primary: {
|
|
1196
|
+
bgColor: u.sys.color.primary.container,
|
|
1197
|
+
color: u.sys.color.primary.onContainer
|
|
1198
|
+
},
|
|
1199
|
+
secondary: {
|
|
1200
|
+
bgColor: u.sys.color.secondary.container,
|
|
1201
|
+
color: u.sys.color.secondary.onContainer
|
|
1202
|
+
},
|
|
1203
|
+
tertiary: {
|
|
1204
|
+
bgColor: u.sys.color.tertiary.container,
|
|
1205
|
+
color: u.sys.color.tertiary.onContainer
|
|
1206
|
+
},
|
|
1207
|
+
success: {
|
|
1208
|
+
bgColor: u.sys.color.success.container,
|
|
1209
|
+
color: u.sys.color.success.onContainer
|
|
1210
|
+
},
|
|
1211
|
+
error: {
|
|
1212
|
+
bgColor: u.sys.color.error.container,
|
|
1213
|
+
color: u.sys.color.error.onContainer
|
|
1214
|
+
},
|
|
1215
|
+
neutral: {
|
|
1216
|
+
bgColor: u.sys.color.surface.container,
|
|
1217
|
+
color: u.sys.color.surface.on
|
|
1218
|
+
}
|
|
1219
|
+
}[this.color]);
|
|
1220
|
+
}
|
|
1221
|
+
renderStatusIndicator() {
|
|
1222
|
+
let e = {
|
|
1223
|
+
online: u.sys.color.success.default,
|
|
1224
|
+
offline: u.sys.color.surface.onVariant,
|
|
1225
|
+
busy: u.sys.color.error.default,
|
|
1226
|
+
away: u.sys.color.tertiary.default
|
|
1227
|
+
}, t = {
|
|
1228
|
+
"absolute bottom-0 right-0 rounded-full border-2 border-surface-default": !0,
|
|
1229
|
+
[{
|
|
1230
|
+
xxs: "w-1 h-1",
|
|
1231
|
+
xs: "w-1.5 h-1.5",
|
|
1232
|
+
sm: "w-2 h-2",
|
|
1233
|
+
md: "w-2.5 h-2.5",
|
|
1234
|
+
lg: "w-3 h-3",
|
|
1235
|
+
xl: "w-4 h-4"
|
|
1236
|
+
}[this.size]]: !0
|
|
1237
|
+
};
|
|
1238
|
+
return k`
|
|
1239
|
+
<div class="${this.classMap(t)}" style="background-color: ${e[this.status]};"></div>
|
|
1240
|
+
`;
|
|
1241
|
+
}
|
|
1242
|
+
};
|
|
1243
|
+
e([T({ type: String })], $.prototype, "initials", void 0), e([T({ type: String })], $.prototype, "src", void 0), e([T({ type: String })], $.prototype, "icon", void 0), e([T({ type: String })], $.prototype, "size", void 0), e([T({ type: String })], $.prototype, "color", void 0), e([T({ type: String })], $.prototype, "shape", void 0), e([T({ type: Boolean })], $.prototype, "bordered", void 0), e([T({ type: String })], $.prototype, "status", void 0), $ = e([w("schmancy-avatar")], $);
|
|
1244
|
+
export { N as C, A as E, M as S, j as T, R as _, Z as a, F as b, q as c, W as d, V as f, z as g, Te as h, X as i, G as l, Ee as m, Q as n, Y as o, B as p, De as r, J as s, $ as t, U as u, L as v, we as w, I as x, P as y };
|