@mhmo91/schmancy 0.10.41 → 0.10.43
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/custom-elements.json +291 -179
- package/dist/SchmancyElement-CeKrBW2j.cjs +2 -0
- package/dist/SchmancyElement-CeKrBW2j.cjs.map +1 -0
- package/dist/SchmancyElement-Ob9yGkiG.js +286 -0
- package/dist/SchmancyElement-Ob9yGkiG.js.map +1 -0
- package/dist/agent/schmancy.agent.js +4057 -4082
- package/dist/agent/schmancy.agent.js.map +1 -1
- package/dist/agent/schmancy.manifest.json +225 -94
- package/dist/animation-CCOIW4wJ.cjs.map +1 -1
- package/dist/animation-DCznELuT.js.map +1 -1
- package/dist/area-CbajcnmJ.cjs +21 -0
- package/dist/area-CbajcnmJ.cjs.map +1 -0
- package/dist/{area-BiM7V2ns.js → area-MxLAyWgV.js} +22 -22
- package/dist/area-MxLAyWgV.js.map +1 -0
- package/dist/area.cjs +1 -1
- package/dist/area.js +1 -1
- package/dist/{audio-CxO_j__6.js → audio-B_0PGwYC.js} +1 -1
- package/dist/audio-B_0PGwYC.js.map +1 -0
- package/dist/{audio-xXFfMPCS.cjs → audio-CpwrIaw-.cjs} +1 -1
- package/dist/audio-CpwrIaw-.cjs.map +1 -0
- package/dist/audio.cjs +1 -1
- package/dist/audio.js +2 -2
- package/dist/autocomplete-CILzaDB7.cjs +115 -0
- package/dist/autocomplete-CILzaDB7.cjs.map +1 -0
- package/dist/{autocomplete-DUBY9RtH.js → autocomplete-DV9RxCun.js} +113 -113
- package/dist/autocomplete-DV9RxCun.js.map +1 -0
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.cjs.map +1 -1
- package/dist/avatar.js +4 -4
- package/dist/avatar.js.map +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-ScvAima3.js → boat-DoZGgQ0P.js} +6 -8
- package/dist/{boat-ScvAima3.js.map → boat-DoZGgQ0P.js.map} +1 -1
- package/dist/{boat-BIYaPAHp.cjs → boat-sg0cWO8a.cjs} +3 -5
- package/dist/{boat-BIYaPAHp.cjs.map → boat-sg0cWO8a.cjs.map} +1 -1
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/breadcrumb.cjs +32 -31
- package/dist/breadcrumb.cjs.map +1 -1
- package/dist/breadcrumb.js +33 -32
- package/dist/breadcrumb.js.map +1 -1
- package/dist/busy-Brs-TDh9.cjs +133 -0
- package/dist/busy-Brs-TDh9.cjs.map +1 -0
- package/dist/busy-g4LoQmhB.js +172 -0
- package/dist/busy-g4LoQmhB.js.map +1 -0
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/{button-BTpxQ1Kd.cjs → button-Cml67Y_d.cjs} +41 -32
- package/dist/button-Cml67Y_d.cjs.map +1 -0
- package/dist/{button-D7QHfYf4.js → button-DWANpZfD.js} +43 -34
- package/dist/button-DWANpZfD.js.map +1 -0
- package/dist/button.cjs +40 -33
- package/dist/button.cjs.map +1 -1
- package/dist/button.js +42 -35
- package/dist/button.js.map +1 -1
- package/dist/calendar-2dJrw9pR.cjs +58 -0
- package/dist/calendar-2dJrw9pR.cjs.map +1 -0
- package/dist/calendar-kCe5LaBa.js +434 -0
- package/dist/calendar-kCe5LaBa.js.map +1 -0
- package/dist/calendar.cjs +1 -0
- package/dist/calendar.js +2 -0
- package/dist/{card-DCdtJ5Dy.js → card-CS_hYJbz.js} +136 -136
- package/dist/card-CS_hYJbz.js.map +1 -0
- package/dist/card-d0KhTnx5.cjs +177 -0
- package/dist/card-d0KhTnx5.cjs.map +1 -0
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-DVtyPk7l.js → checkbox-Bjp7kWuE.js} +2 -2
- package/dist/{checkbox-DVtyPk7l.js.map → checkbox-Bjp7kWuE.js.map} +1 -1
- package/dist/{checkbox-CYGOVPP-.cjs → checkbox-DZ2Wrz7Y.cjs} +1 -1
- package/dist/{checkbox-CYGOVPP-.cjs.map → checkbox-DZ2Wrz7Y.cjs.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-DVes-BSz.cjs → chips-BHBVkxsa.cjs} +142 -153
- package/dist/chips-BHBVkxsa.cjs.map +1 -0
- package/dist/{chips-C5bpgWyf.js → chips-DACeW7YL.js} +127 -138
- package/dist/chips-DACeW7YL.js.map +1 -0
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +2 -2
- package/dist/connectivity.cjs +54 -38
- package/dist/connectivity.cjs.map +1 -1
- package/dist/connectivity.js +56 -40
- package/dist/connectivity.js.map +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/cursor-glow-Ah7VXSj7.js.map +1 -1
- package/dist/cursor-glow-Bulq-38P.cjs.map +1 -1
- package/dist/date-range-CVAWMdar.cjs +138 -0
- package/dist/date-range-CVAWMdar.cjs.map +1 -0
- package/dist/date-range-D2NZU5Yg.js +433 -0
- package/dist/date-range-D2NZU5Yg.js.map +1 -0
- package/dist/{date-range-inline-Dx4Reboo.cjs → date-range-inline-CGM0SPK9.cjs} +2 -4
- package/dist/date-range-inline-CGM0SPK9.cjs.map +1 -0
- package/dist/{date-range-inline-DPqY9YYf.js → date-range-inline-D6Ozerzw.js} +3 -5
- package/dist/date-range-inline-D6Ozerzw.js.map +1 -0
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +2 -2
- package/dist/dayjs.min-CvRZTfam.cjs +1 -0
- package/dist/dayjs.min-CvRZTfam.cjs.map +1 -0
- package/dist/dayjs.min-DnELezPs.js +296 -0
- package/dist/dayjs.min-DnELezPs.js.map +1 -0
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +3 -3
- package/dist/{details-BnleHmYe.js → details-Ct1_GwKr.js} +104 -92
- package/dist/details-Ct1_GwKr.js.map +1 -0
- package/dist/{details-Bx2jSJxG.cjs → details-D4fVOaj4.cjs} +109 -97
- package/dist/details-D4fVOaj4.cjs.map +1 -0
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{directives-CYf2fAdA.cjs → directives-B2VxfwRL.cjs} +1 -1
- package/dist/directives-B2VxfwRL.cjs.map +1 -0
- package/dist/{directives-d1rEbW1A.js → directives-Dj8jlv-Q.js} +3 -3
- package/dist/directives-Dj8jlv-Q.js.map +1 -0
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +2 -2
- package/dist/discovery.service-CIa3Eeuk.cjs.map +1 -1
- package/dist/discovery.service-DZFxtRwW.js.map +1 -1
- package/dist/divider-B3v33OnX.cjs +57 -0
- package/dist/divider-B3v33OnX.cjs.map +1 -0
- package/dist/divider-BJHW3q11.js +89 -0
- package/dist/divider-BJHW3q11.js.map +1 -0
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.cjs +40 -40
- package/dist/dropdown.cjs.map +1 -1
- package/dist/dropdown.js +41 -41
- package/dist/dropdown.js.map +1 -1
- package/dist/{expand-DNrWuG_-.js → expand-BT8mOu8Q.js} +103 -97
- package/dist/expand-BT8mOu8Q.js.map +1 -0
- package/dist/expand-D0YdR9nR.cjs +147 -0
- package/dist/expand-D0YdR9nR.cjs.map +1 -0
- package/dist/expand.cjs +1 -1
- package/dist/expand.js +1 -1
- package/dist/fab.cjs +1 -1
- package/dist/fab.cjs.map +1 -1
- package/dist/fab.js +2 -2
- package/dist/fab.js.map +1 -1
- package/dist/{float-V7VQKTb8.cjs → float-BPQlDyai.cjs} +1 -1
- package/dist/{float-V7VQKTb8.cjs.map → float-BPQlDyai.cjs.map} +1 -1
- package/dist/{float-C_CMle0q.js → float-BQcxj3i_.js} +2 -2
- package/dist/{float-C_CMle0q.js.map → float-BQcxj3i_.js.map} +1 -1
- package/dist/float.cjs +1 -1
- package/dist/float.js +1 -1
- package/dist/{form-DaaAQd2A.cjs → form-CoWFnClb.cjs} +8 -13
- package/dist/form-CoWFnClb.cjs.map +1 -0
- package/dist/{form-CMgYSZ3y.js → form-hC2LvCHX.js} +10 -15
- package/dist/form-hC2LvCHX.js.map +1 -0
- package/dist/form.cjs +12 -13
- package/dist/form.cjs.map +1 -1
- package/dist/form.js +23 -24
- package/dist/form.js.map +1 -1
- package/dist/gravity-6pL6CfIr.cjs.map +1 -1
- package/dist/gravity-sVK3zGBF.js.map +1 -1
- package/dist/handover/agent-runtime-followups.md +1 -1
- package/dist/handover/agent-runtime-v1.md +3 -3
- package/dist/{hashContent-iRZJJWtE.cjs.map → hashContent--s09Ed_g.cjs.map} +1 -1
- package/dist/{hashContent-BqU6v1Xr.js.map → hashContent-CAvrQ56N.js.map} +1 -1
- package/dist/icons-BeGKDZ-k.cjs +22 -0
- package/dist/icons-BeGKDZ-k.cjs.map +1 -0
- package/dist/{icons-mbpHO_73.js → icons-DEJnIxml.js} +20 -22
- package/dist/icons-DEJnIxml.js.map +1 -0
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/{iframe-88SN5JPu.cjs → iframe-BkSukM9C.cjs} +9 -9
- package/dist/iframe-BkSukM9C.cjs.map +1 -0
- package/dist/{iframe-U3P1DnQv.js → iframe-V3S-bwEY.js} +10 -10
- package/dist/iframe-V3S-bwEY.js.map +1 -0
- package/dist/iframe.cjs +1 -1
- package/dist/iframe.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +61 -60
- package/dist/{input-CPWvGjE4.js → input-CPFCSQld.js} +3 -10
- package/dist/input-CPFCSQld.js.map +1 -0
- package/dist/{input-BY4Korc5.cjs → input-DSfwfhhj.cjs} +2 -9
- package/dist/input-DSfwfhhj.cjs.map +1 -0
- package/dist/input-chip-BUuFJUky.cjs +129 -0
- package/dist/input-chip-BUuFJUky.cjs.map +1 -0
- package/dist/{input-chip-CCZ3i3Sf.js → input-chip-C3a1fwKB.js} +87 -104
- package/dist/input-chip-C3a1fwKB.js.map +1 -0
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/json.cjs +5 -1
- package/dist/json.cjs.map +1 -1
- package/dist/json.js +8 -4
- package/dist/json.js.map +1 -1
- package/dist/kbd.cjs +28 -28
- package/dist/kbd.cjs.map +1 -1
- package/dist/kbd.js +29 -29
- package/dist/kbd.js.map +1 -1
- package/dist/{layout-BhfC26Ks.cjs → layout-CdyHy_oX.cjs} +1 -1
- package/dist/layout-CdyHy_oX.cjs.map +1 -0
- package/dist/{layout-DC0Npqu7.js → layout-k6fOkpif.js} +1 -1
- package/dist/layout-k6fOkpif.js.map +1 -0
- package/dist/layout.cjs +26 -26
- package/dist/layout.cjs.map +1 -1
- package/dist/layout.js +27 -27
- package/dist/layout.js.map +1 -1
- package/dist/lazy-BaAiIUru.js.map +1 -1
- package/dist/lazy-C-7a4FAe.cjs.map +1 -1
- package/dist/{lightbox-BSwWvDQc.js → lightbox-DIG0VLOK.js} +8 -14
- package/dist/lightbox-DIG0VLOK.js.map +1 -0
- package/dist/{lightbox-KrZQH9w9.cjs → lightbox-E5rgd-hu.cjs} +7 -13
- package/dist/lightbox-E5rgd-hu.cjs.map +1 -0
- package/dist/lightbox.cjs +1 -1
- package/dist/lightbox.js +1 -1
- package/dist/list-BRz0rDSH.cjs +47 -0
- package/dist/list-BRz0rDSH.cjs.map +1 -0
- package/dist/{list-BwGtAAfi.js → list-NrOYDPBo.js} +48 -34
- package/dist/list-NrOYDPBo.js.map +1 -0
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/magnetic-DKtc4umC.cjs.map +1 -1
- package/dist/magnetic-DaOOv5Dz.js.map +1 -1
- package/dist/{menu-DX8d96x-.js → menu-B1Ei9SVj.js} +12 -12
- package/dist/menu-B1Ei9SVj.js.map +1 -0
- package/dist/{menu-jT_yAk5V.cjs → menu-Duvl66Nl.cjs} +10 -10
- package/dist/menu-Duvl66Nl.cjs.map +1 -0
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/{mixins-XGVIOvKt.cjs → mixins-Cjn20BQH.cjs} +42 -170
- package/dist/mixins-Cjn20BQH.cjs.map +1 -0
- package/dist/{mixins-COeG4DiX.js → mixins-q4KAL8Xr.js} +43 -177
- package/dist/mixins-q4KAL8Xr.js.map +1 -0
- package/dist/mixins.cjs +1 -1
- package/dist/mixins.js +2 -2
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/navigation-bar.cjs +1 -1
- package/dist/navigation-bar.js +1 -1
- package/dist/navigation-rail.cjs +2 -4
- package/dist/navigation-rail.cjs.map +1 -1
- package/dist/navigation-rail.js +3 -5
- package/dist/navigation-rail.js.map +1 -1
- package/dist/{notification-CAJVpLne.js → notification-COhUhUCr.js} +5 -7
- package/dist/notification-COhUhUCr.js.map +1 -0
- package/dist/{notification-DO3VXceY.cjs → notification-DsdA_MJe.cjs} +2 -4
- package/dist/notification-DsdA_MJe.cjs.map +1 -0
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +1 -1
- package/dist/{option-JISY0wZJ.js → option-BIzgTbXz.js} +20 -20
- package/dist/option-BIzgTbXz.js.map +1 -0
- package/dist/option-C5hhqR2z.cjs +43 -0
- package/dist/option-C5hhqR2z.cjs.map +1 -0
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{overlay-B1jVf-ge.cjs → overlay-BzgF8P7i.cjs} +48 -41
- package/dist/overlay-BzgF8P7i.cjs.map +1 -0
- package/dist/{overlay-CT-tMHDX.js → overlay-LoRRemny.js} +52 -45
- package/dist/overlay-LoRRemny.js.map +1 -0
- package/dist/overlay-stack-Bdr9lOqi.cjs.map +1 -1
- package/dist/overlay-stack-D2rgxQLh.js.map +1 -1
- package/dist/overlay.cjs +1 -1
- package/dist/{overlay.confirm-body-Dn-Zgogx.js → overlay.confirm-body-D0b1MoCw.js} +30 -45
- package/dist/overlay.confirm-body-D0b1MoCw.js.map +1 -0
- package/dist/{overlay.confirm-body-mYDYoJL8.cjs → overlay.confirm-body-DCneq73Z.cjs} +22 -37
- package/dist/overlay.confirm-body-DCneq73Z.cjs.map +1 -0
- package/dist/overlay.js +3 -3
- package/dist/{overlay.service-yqTOyLlr.js → overlay.service-BuUeti6X.js} +2 -2
- package/dist/overlay.service-BuUeti6X.js.map +1 -0
- package/dist/{overlay.service-BQmva9GY.cjs → overlay.service-MMTiW2T3.cjs} +1 -1
- package/dist/overlay.service-MMTiW2T3.cjs.map +1 -0
- package/dist/{progress-CGWozq_n.js → progress-D7n3SKAO.js} +50 -50
- package/dist/progress-D7n3SKAO.js.map +1 -0
- package/dist/progress-DsCnFsH5.cjs +51 -0
- package/dist/progress-DsCnFsH5.cjs.map +1 -0
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-group-DoSX5D2V.cjs → radio-group-CaAjg9UV.cjs} +1 -1
- package/dist/radio-group-CaAjg9UV.cjs.map +1 -0
- package/dist/{radio-group-CXkq6qAF.js → radio-group-Drpl6Pl8.js} +2 -2
- package/dist/radio-group-Drpl6Pl8.js.map +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/range.cjs +4 -2
- package/dist/range.cjs.map +1 -1
- package/dist/range.js +5 -3
- package/dist/range.js.map +1 -1
- package/dist/reduced-motion-D-L12p7G.js.map +1 -1
- package/dist/reduced-motion-Ds-HjMzn.cjs.map +1 -1
- package/dist/{rxjs-utils-Csnks202.cjs.map → rxjs-utils-4P2v57ke.cjs.map} +1 -1
- package/dist/{rxjs-utils-d-ivVN84.js.map → rxjs-utils-JMFdgQSl.js.map} +1 -1
- package/dist/rxjs-utils.cjs +1 -1
- package/dist/rxjs-utils.js +1 -1
- package/dist/search-DPKoC-dT.cjs.map +1 -1
- package/dist/search-MvIBA93K.js.map +1 -1
- package/dist/{select-CU90i50_.js → select-CTXkrrVZ.js} +13 -13
- package/dist/select-CTXkrrVZ.js.map +1 -0
- package/dist/select-DcLcpPCh.cjs +56 -0
- package/dist/select-DcLcpPCh.cjs.map +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/skeleton.cjs +37 -33
- package/dist/skeleton.cjs.map +1 -1
- package/dist/skeleton.js +38 -34
- package/dist/skeleton.js.map +1 -1
- package/dist/skills/schmancy/surface.md +79 -39
- package/dist/skills/surface.md +79 -39
- package/dist/slider.cjs +31 -31
- package/dist/slider.cjs.map +1 -1
- package/dist/slider.js +32 -32
- package/dist/slider.js.map +1 -1
- package/dist/{sound.service-m8WjOhjn.js → sound.service-AJwuk3yr.js} +1 -1
- package/dist/sound.service-AJwuk3yr.js.map +1 -0
- package/dist/{sound.service-Qhr8nCeG.cjs → sound.service-CVsxhQkX.cjs} +1 -1
- package/dist/sound.service-CVsxhQkX.cjs.map +1 -0
- package/dist/{splash-screen-Cs3dbPN3.js → splash-screen-DANfqvlo.js} +23 -26
- package/dist/splash-screen-DANfqvlo.js.map +1 -0
- package/dist/splash-screen-K74cgU6S.cjs +38 -0
- package/dist/splash-screen-K74cgU6S.cjs.map +1 -0
- package/dist/splash-screen.cjs +1 -1
- package/dist/splash-screen.js +1 -1
- package/dist/{src-CCVbLLgC.js → src-DAtcPmCb.js} +295 -389
- package/dist/src-DAtcPmCb.js.map +1 -0
- package/dist/src-DuRvYagm.cjs +237 -0
- package/dist/src-DuRvYagm.cjs.map +1 -0
- package/dist/{state--x58-AuK.cjs → state-BWQiqN6I.cjs} +1 -1
- package/dist/state-BWQiqN6I.cjs.map +1 -0
- package/dist/{state-QSwQ61sA.js → state-DBA_gzJO.js} +1 -1
- package/dist/state-DBA_gzJO.js.map +1 -0
- package/dist/state.cjs +1 -1
- package/dist/state.js +2 -2
- package/dist/steps.cjs +20 -12
- package/dist/steps.cjs.map +1 -1
- package/dist/steps.js +21 -13
- package/dist/steps.js.map +1 -1
- package/dist/surface-COBvWWFb.cjs +7 -0
- package/dist/surface-COBvWWFb.cjs.map +1 -0
- package/dist/{surface-cqMsHJHM.js → surface-DXk1X1tL.js} +9 -9
- package/dist/surface-DXk1X1tL.js.map +1 -0
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/switch.cjs +13 -4
- package/dist/switch.cjs.map +1 -1
- package/dist/switch.js +14 -5
- package/dist/switch.js.map +1 -1
- package/dist/table.cjs +4 -10
- package/dist/table.cjs.map +1 -1
- package/dist/table.js +5 -11
- package/dist/table.js.map +1 -1
- package/dist/{tabs-Ib0Mh__1.js → tabs-BYhFWnsx.js} +7 -7
- package/dist/tabs-BYhFWnsx.js.map +1 -0
- package/dist/{tabs-Dk9UDWpq.cjs → tabs-CJwB0fr0.cjs} +6 -6
- package/dist/tabs-CJwB0fr0.cjs.map +1 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-CcRsw08B.js → textarea-BjDx1w2g.js} +37 -41
- package/dist/textarea-BjDx1w2g.js.map +1 -0
- package/dist/{textarea-Cntd9tfV.cjs → textarea-CGgznhd6.cjs} +36 -40
- package/dist/textarea-CGgznhd6.cjs.map +1 -0
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-wwFbvp5e.cjs → theme-BVul7lHS.cjs} +6 -6
- package/dist/{theme-wwFbvp5e.cjs.map → theme-BVul7lHS.cjs.map} +1 -1
- package/dist/{theme-CKYXG0le.js → theme-Dvm5J8nh.js} +11 -11
- package/dist/{theme-CKYXG0le.js.map → theme-Dvm5J8nh.js.map} +1 -1
- package/dist/{theme-button-iLqT56KA.js → theme-button-Bko5ohFP.js} +2 -2
- package/dist/{theme-button-iLqT56KA.js.map → theme-button-Bko5ohFP.js.map} +1 -1
- package/dist/{theme-button-DE9Lrl7m.cjs → theme-button-YLY7zR1c.cjs} +1 -1
- package/dist/{theme-button-DE9Lrl7m.cjs.map → theme-button-YLY7zR1c.cjs.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.interface-CSt7JUBD.cjs.map → theme.interface-B-qxDsZQ.cjs.map} +1 -1
- package/dist/{theme.interface-odQEpZZH.js.map → theme.interface-B7caS5cg.js.map} +1 -1
- package/dist/theme.js +4 -4
- package/dist/{theme.service-5RjyR7Sy.js → theme.service-D94nm7Bf.js} +1 -1
- package/dist/theme.service-D94nm7Bf.js.map +1 -0
- package/dist/{theme.service-DA6KY52G.cjs → theme.service-h2fXQq7x.cjs} +1 -1
- package/dist/theme.service-h2fXQq7x.cjs.map +1 -0
- package/dist/tooltip.cjs.map +1 -1
- package/dist/tooltip.js.map +1 -1
- package/dist/tree.cjs +14 -14
- package/dist/tree.cjs.map +1 -1
- package/dist/tree.js +15 -15
- package/dist/tree.js.map +1 -1
- package/dist/types.cjs +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.js +19 -2
- package/dist/types.js.map +1 -1
- package/dist/typewriter.cjs.map +1 -1
- package/dist/typewriter.js.map +1 -1
- package/dist/typography-ByF2k5yW.js +358 -0
- package/dist/typography-ByF2k5yW.js.map +1 -0
- package/dist/typography-Cfav17it.cjs +282 -0
- package/dist/typography-Cfav17it.cjs.map +1 -0
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/dist/utils-DIXndz6Q.cjs.map +1 -0
- package/dist/utils-dSPH7Oh9.js.map +1 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/dist/visually-hidden.cjs +13 -13
- package/dist/visually-hidden.cjs.map +1 -1
- package/dist/visually-hidden.js +14 -14
- package/dist/visually-hidden.js.map +1 -1
- package/dist/window-Br1OmpL-.cjs +67 -0
- package/dist/window-Br1OmpL-.cjs.map +1 -0
- package/dist/{window-Db5ZYY6t.js → window-CCmN4but.js} +28 -20
- package/dist/window-CCmN4but.js.map +1 -0
- package/dist/window.cjs +1 -1
- package/dist/window.js +1 -1
- package/package.json +1 -1
- package/skills/schmancy/surface.md +79 -39
- package/src/area/area.component.ts +249 -163
- package/src/area/area.service.test.ts +994 -1006
- package/src/area/area.service.ts +76 -72
- package/src/area/index.ts +7 -7
- package/src/area/lazy.ts +39 -42
- package/src/area/route.component.ts +54 -52
- package/src/area/router.types.ts +7 -7
- package/src/audio/emotional-sounds.ts +880 -801
- package/src/audio/sound.service.ts +26 -5
- package/src/avatar/avatar.ts +4 -4
- package/src/badge/badge.ts +60 -209
- package/src/badge/index.ts +1 -1
- package/src/boat/boat.ts +2 -4
- package/src/breadcrumb/breadcrumb.ts +37 -32
- package/src/busy/busy.ts +15 -12
- package/src/busy/index.ts +2 -2
- package/src/busy/spinner.ts +132 -119
- package/src/button/button.test.ts +5 -1
- package/src/button/button.ts +113 -72
- package/src/button/icon-button.ts +64 -46
- package/src/button/index.ts +2 -2
- package/src/calendar/calendar.test.ts +504 -0
- package/src/calendar/calendar.ts +587 -0
- package/src/calendar/index.ts +2 -0
- package/src/card/actions.ts +11 -9
- package/src/card/card.ts +79 -77
- package/src/card/content.ts +8 -6
- package/src/card/index.ts +4 -4
- package/src/card/media.ts +50 -50
- package/src/chips/assist-chip.ts +1 -1
- package/src/chips/chips.ts +1 -1
- package/src/chips/filter-chip.ts +1 -1
- package/src/chips/index.ts +1 -1
- package/src/chips/input-chip.ts +1 -1
- package/src/chips/suggestion-chip.ts +1 -1
- package/src/connectivity/connectivity-status.ts +91 -65
- package/src/content-drawer/drawer.service.ts +47 -36
- package/src/content-drawer/drawer.ts +31 -18
- package/src/content-drawer/index.ts +5 -5
- package/src/content-drawer/main.ts +9 -7
- package/src/content-drawer/sheet.ts +8 -6
- package/src/date-range-inline/date-range-inline.ts +523 -522
- package/src/date-range-inline/index.ts +2 -2
- package/src/delay/index.ts +1 -1
- package/src/details/details.ts +119 -105
- package/src/details/index.ts +1 -1
- package/src/directives/ai-badge.ts +1 -5
- package/src/directives/animate-text.ts +43 -31
- package/src/directives/art/effects/howl.ts +1 -4
- package/src/directives/art/effects/samwa.ts +11 -5
- package/src/directives/art/effects/snow.ts +1 -2
- package/src/directives/battery.ts +21 -12
- package/src/directives/confirm-click.ts +9 -17
- package/src/directives/cursor-glow.ts +1 -1
- package/src/directives/cycle-text.ts +7 -21
- package/src/directives/drag.ts +50 -45
- package/src/directives/fyi.ts +1 -6
- package/src/directives/gravity.ts +10 -8
- package/src/directives/hummingbird.ts +256 -107
- package/src/directives/index.ts +29 -29
- package/src/directives/intersect.ts +11 -11
- package/src/directives/layout.ts +25 -36
- package/src/directives/liquid.ts +4 -10
- package/src/directives/living-border.ts +7 -5
- package/src/directives/long-press.ts +2 -1
- package/src/directives/magnetic.ts +7 -6
- package/src/directives/nebula.ts +34 -28
- package/src/directives/overflow-within.ts +18 -20
- package/src/directives/reduced-motion.ts +9 -9
- package/src/directives/reveal.ts +193 -195
- package/src/directives/ripple.ts +9 -7
- package/src/directives/urgent.ts +3 -1
- package/src/directives/working-snake.ts +1 -1
- package/src/discovery/discovery.service.ts +198 -210
- package/src/discovery/index.ts +1 -1
- package/src/divider/divider.ts +49 -47
- package/src/divider/index.ts +1 -1
- package/src/dropdown/dropdown-content.ts +42 -40
- package/src/dropdown/index.ts +2 -2
- package/src/expand/expand-root.component.ts +70 -61
- package/src/expand/expand.component.ts +48 -43
- package/src/fab/fab.test.ts +1 -2
- package/src/fab/fab.ts +2 -4
- package/src/form/fields/autocomplete/autocomplete.scss +6 -2
- package/src/form/fields/autocomplete/autocomplete.ts +712 -724
- package/src/form/fields/autocomplete/index.ts +1 -1
- package/src/form/fields/checkbox/checkbox.ts +1 -4
- package/src/form/fields/chips/assist-chip.ts +69 -72
- package/src/form/fields/chips/chips.ts +14 -15
- package/src/form/fields/chips/filter-chip.ts +36 -32
- package/src/form/fields/chips/index.ts +5 -5
- package/src/form/fields/chips/input-chip.ts +130 -142
- package/src/form/fields/chips/suggestion-chip.ts +69 -72
- package/src/form/fields/date-range/date-range-dialog.ts +141 -194
- package/src/form/fields/date-range/date-range-helpers.ts +63 -64
- package/src/form/fields/date-range/date-range.test.ts +359 -122
- package/src/form/fields/date-range/date-range.ts +319 -395
- package/src/form/fields/date-range/index.ts +2 -2
- package/src/form/fields/input/index.ts +8 -8
- package/src/form/fields/input/input.scss +30 -26
- package/src/form/fields/input/input.test.ts +4 -1
- package/src/form/fields/input/input.ts +4 -20
- package/src/form/fields/radio-group/index.ts +2 -2
- package/src/form/fields/radio-group/radio-button.ts +8 -8
- package/src/form/fields/radio-group/radio-group.ts +4 -1
- package/src/form/fields/range/range.ts +3 -1
- package/src/form/fields/select/index.ts +2 -2
- package/src/form/fields/select/select.ts +51 -45
- package/src/form/fields/switch/switch.ts +13 -7
- package/src/form/fields/textarea/index.ts +1 -1
- package/src/form/fields/textarea/textarea.ts +44 -49
- package/src/form/form-summary.ts +15 -14
- package/src/form/form.test.ts +0 -1
- package/src/form/form.ts +11 -23
- package/src/icons/icon.ts +25 -25
- package/src/icons/index.ts +1 -1
- package/src/iframe/iframe.ts +11 -9
- package/src/index.ts +1 -0
- package/src/json/json.ts +9 -2
- package/src/kbd/kbd.ts +30 -28
- package/src/layout/scroll/index.ts +1 -1
- package/src/layout/scroll/scroll.ts +54 -54
- package/src/lightbox/lightbox-service.ts +27 -18
- package/src/lightbox/lightbox.directive.ts +2 -1
- package/src/lightbox/lightbox.ts +21 -38
- package/src/list/index.ts +3 -3
- package/src/list/list-item.ts +32 -26
- package/src/list/list.ts +13 -8
- package/src/menu/index.ts +2 -2
- package/src/menu/menu-item.ts +7 -5
- package/src/menu/menu.ts +8 -6
- package/src/nav-drawer/appbar.ts +9 -7
- package/src/nav-drawer/content.ts +10 -8
- package/src/nav-drawer/drawer.ts +29 -25
- package/src/nav-drawer/index.ts +6 -6
- package/src/navigation-bar/index.ts +2 -2
- package/src/navigation-bar/navigation-bar-item.ts +127 -118
- package/src/navigation-bar/navigation-bar.ts +103 -91
- package/src/navigation-rail/index.ts +2 -2
- package/src/navigation-rail/navigation-rail.ts +21 -22
- package/src/notification/index.ts +6 -6
- package/src/notification/notification-service.ts +1 -2
- package/src/notification/notification.scss +5 -1
- package/src/notification/notification.ts +1 -3
- package/src/notification/notify.ts +204 -207
- package/src/option/index.ts +1 -1
- package/src/option/option.ts +26 -25
- package/src/overlay/overlay.animations.ts +4 -14
- package/src/overlay/overlay.component.ts +110 -131
- package/src/overlay/overlay.confirm-body.ts +26 -48
- package/src/overlay/overlay.gestures.ts +8 -10
- package/src/overlay/overlay.layout.ts +1 -4
- package/src/overlay/overlay.positioning.ts +4 -15
- package/src/overlay/overlay.service.ts +9 -24
- package/src/overlay/overlay.stack.test.ts +4 -1
- package/src/overlay/overlay.stack.ts +4 -4
- package/src/overlay/overlay.types.ts +11 -20
- package/src/progress/index.ts +1 -1
- package/src/progress/progress.ts +135 -133
- package/src/rxjs-utils/index.ts +6 -6
- package/src/rxjs-utils/waitForElement.ts +20 -20
- package/src/rxjs-utils/waitForElementAll.ts +21 -21
- package/src/rxjs-utils/waitForElements.ts +27 -27
- package/src/rxjs-utils/waitForElementsAll.ts +27 -29
- package/src/rxjs-utils/waitUntil.ts +7 -12
- package/src/skeleton/skeleton.ts +39 -33
- package/src/slider/index.ts +2 -2
- package/src/slider/slide.ts +14 -12
- package/src/slider/slider.ts +24 -22
- package/src/splash-screen/index.ts +1 -1
- package/src/splash-screen/splash-screen.ts +26 -27
- package/src/state/active-host.ts +4 -5
- package/src/state/index.ts +34 -53
- package/src/state/persist.ts +14 -11
- package/src/state/schmancy-context.ts +88 -88
- package/src/state/state.test-d.ts +3 -13
- package/src/state/state.test.ts +1 -4
- package/src/steps/index.ts +3 -3
- package/src/steps/schmancy-step.ts +41 -31
- package/src/steps/schmancy-steps.ts +7 -5
- package/src/surface/index.ts +1 -1
- package/src/surface/surface.styles.ts +55 -191
- package/src/surface/surface.ts +18 -16
- package/src/table/index.ts +2 -2
- package/src/table/row.ts +1 -4
- package/src/table/table.ts +2 -5
- package/src/tabs/index.ts +2 -2
- package/src/tabs/tabs-group.ts +8 -6
- package/src/teleport/index.ts +2 -2
- package/src/test-utils/a11y.ts +1 -3
- package/src/theme/index.ts +17 -17
- package/src/theme/theme-audio-player.ts +18 -16
- package/src/theme/theme-controller-boat.ts +1 -1
- package/src/theme/theme-controller.ts +36 -32
- package/src/theme/theme.component.ts +5 -9
- package/src/theme/theme.events.ts +1 -1
- package/src/theme/theme.format.ts +7 -7
- package/src/theme/theme.service.ts +453 -468
- package/src/theme/theme.style.css +78 -23
- package/src/theme-button/index.ts +1 -1
- package/src/tooltip/tooltip.directive.ts +1 -1
- package/src/tree/index.ts +1 -1
- package/src/tree/tree.ts +24 -16
- package/src/types/surface.ts +38 -44
- package/src/typewriter/typewriter.directive.ts +30 -39
- package/src/typography/typography.ts +289 -269
- package/src/utils/animation.ts +2 -8
- package/src/utils/index.ts +6 -6
- package/src/utils/number.ts +480 -517
- package/src/utils/overlay-stack.ts +1 -3
- package/src/utils/search.ts +5 -9
- package/src/visually-hidden/visually-hidden.ts +15 -13
- package/src/window/window-manager.ts +6 -1
- package/src/window/window-position.ts +7 -5
- package/src/window/window.ts +146 -114
- package/types/mixins/surface.mixin.d.ts +8 -14
- package/types/src/badge/badge.d.ts +15 -48
- package/types/src/calendar/calendar.d.ts +108 -0
- package/types/src/calendar/calendar.test.d.ts +1 -0
- package/types/src/calendar/index.d.ts +2 -0
- package/types/src/directives/cursor-glow.d.ts +1 -1
- package/types/src/directives/hummingbird.d.ts +3 -3
- package/types/src/form/fields/date-range/date-range-dialog.d.ts +24 -28
- package/types/src/form/fields/date-range/date-range.d.ts +35 -66
- package/types/src/form/fields/date-range/date-range.test.d.ts +1 -0
- package/types/src/form/fields/date-range/index.d.ts +1 -1
- package/types/src/index.d.ts +1 -0
- package/types/src/surface/surface.d.ts +9 -7
- package/types/src/surface/surface.styles.d.ts +15 -20
- package/types/src/types/surface.d.ts +17 -22
- package/types/src/utils/number.d.ts +1 -1
- package/types/src/window/window.d.ts +0 -1
- package/dist/SchmancyElement-D9WA9FP9.cjs +0 -2
- package/dist/SchmancyElement-D9WA9FP9.cjs.map +0 -1
- package/dist/SchmancyElement-OWgz9ePG.js +0 -286
- package/dist/SchmancyElement-OWgz9ePG.js.map +0 -1
- package/dist/area-BiM7V2ns.js.map +0 -1
- package/dist/area-C7XjCoet.cjs +0 -21
- package/dist/area-C7XjCoet.cjs.map +0 -1
- package/dist/audio-CxO_j__6.js.map +0 -1
- package/dist/audio-xXFfMPCS.cjs.map +0 -1
- package/dist/autocomplete-DD7Hd59N.cjs +0 -115
- package/dist/autocomplete-DD7Hd59N.cjs.map +0 -1
- package/dist/autocomplete-DUBY9RtH.js.map +0 -1
- package/dist/busy-BjsO3y2A.js +0 -173
- package/dist/busy-BjsO3y2A.js.map +0 -1
- package/dist/busy-UbCGkTAi.cjs +0 -134
- package/dist/busy-UbCGkTAi.cjs.map +0 -1
- package/dist/button-BTpxQ1Kd.cjs.map +0 -1
- package/dist/button-D7QHfYf4.js.map +0 -1
- package/dist/card-DCdtJ5Dy.js.map +0 -1
- package/dist/card-rprhCYIC.cjs +0 -177
- package/dist/card-rprhCYIC.cjs.map +0 -1
- package/dist/chips-C5bpgWyf.js.map +0 -1
- package/dist/chips-DVes-BSz.cjs.map +0 -1
- package/dist/date-range-DDUuBlJ6.cjs +0 -142
- package/dist/date-range-DDUuBlJ6.cjs.map +0 -1
- package/dist/date-range-IPlbrhwW.js +0 -966
- package/dist/date-range-IPlbrhwW.js.map +0 -1
- package/dist/date-range-inline-DPqY9YYf.js.map +0 -1
- package/dist/date-range-inline-Dx4Reboo.cjs.map +0 -1
- package/dist/details-BnleHmYe.js.map +0 -1
- package/dist/details-Bx2jSJxG.cjs.map +0 -1
- package/dist/directives-CYf2fAdA.cjs.map +0 -1
- package/dist/directives-d1rEbW1A.js.map +0 -1
- package/dist/divider-CimQJVr3.cjs +0 -57
- package/dist/divider-CimQJVr3.cjs.map +0 -1
- package/dist/divider-Cr-rx3vA.js +0 -89
- package/dist/divider-Cr-rx3vA.js.map +0 -1
- package/dist/expand-DNrWuG_-.js.map +0 -1
- package/dist/expand-_cp8oBjp.cjs +0 -141
- package/dist/expand-_cp8oBjp.cjs.map +0 -1
- package/dist/form-CMgYSZ3y.js.map +0 -1
- package/dist/form-DaaAQd2A.cjs.map +0 -1
- package/dist/icons-C2RkSXjP.cjs +0 -24
- package/dist/icons-C2RkSXjP.cjs.map +0 -1
- package/dist/icons-mbpHO_73.js.map +0 -1
- package/dist/iframe-88SN5JPu.cjs.map +0 -1
- package/dist/iframe-U3P1DnQv.js.map +0 -1
- package/dist/input-BY4Korc5.cjs.map +0 -1
- package/dist/input-CPWvGjE4.js.map +0 -1
- package/dist/input-chip-CCZ3i3Sf.js.map +0 -1
- package/dist/input-chip-kytMdbaM.cjs +0 -146
- package/dist/input-chip-kytMdbaM.cjs.map +0 -1
- package/dist/layout-BhfC26Ks.cjs.map +0 -1
- package/dist/layout-DC0Npqu7.js.map +0 -1
- package/dist/lightbox-BSwWvDQc.js.map +0 -1
- package/dist/lightbox-KrZQH9w9.cjs.map +0 -1
- package/dist/list-BwGtAAfi.js.map +0 -1
- package/dist/list-DIs02A3d.cjs +0 -40
- package/dist/list-DIs02A3d.cjs.map +0 -1
- package/dist/menu-DX8d96x-.js.map +0 -1
- package/dist/menu-jT_yAk5V.cjs.map +0 -1
- package/dist/mixins-COeG4DiX.js.map +0 -1
- package/dist/mixins-XGVIOvKt.cjs.map +0 -1
- package/dist/notification-CAJVpLne.js.map +0 -1
- package/dist/notification-DO3VXceY.cjs.map +0 -1
- package/dist/option-BNo1Zs-l.cjs +0 -43
- package/dist/option-BNo1Zs-l.cjs.map +0 -1
- package/dist/option-JISY0wZJ.js.map +0 -1
- package/dist/overlay-B1jVf-ge.cjs.map +0 -1
- package/dist/overlay-CT-tMHDX.js.map +0 -1
- package/dist/overlay.confirm-body-Dn-Zgogx.js.map +0 -1
- package/dist/overlay.confirm-body-mYDYoJL8.cjs.map +0 -1
- package/dist/overlay.service-BQmva9GY.cjs.map +0 -1
- package/dist/overlay.service-yqTOyLlr.js.map +0 -1
- package/dist/progress-CGWozq_n.js.map +0 -1
- package/dist/progress-DOVJhsR0.cjs +0 -51
- package/dist/progress-DOVJhsR0.cjs.map +0 -1
- package/dist/radio-group-CXkq6qAF.js.map +0 -1
- package/dist/radio-group-DoSX5D2V.cjs.map +0 -1
- package/dist/select-CObZenqg.cjs +0 -56
- package/dist/select-CObZenqg.cjs.map +0 -1
- package/dist/select-CU90i50_.js.map +0 -1
- package/dist/sound.service-Qhr8nCeG.cjs.map +0 -1
- package/dist/sound.service-m8WjOhjn.js.map +0 -1
- package/dist/splash-screen-Ca6Ew8p6.cjs +0 -41
- package/dist/splash-screen-Ca6Ew8p6.cjs.map +0 -1
- package/dist/splash-screen-Cs3dbPN3.js.map +0 -1
- package/dist/src-CCVbLLgC.js.map +0 -1
- package/dist/src-CpftzdZV.cjs +0 -264
- package/dist/src-CpftzdZV.cjs.map +0 -1
- package/dist/state--x58-AuK.cjs.map +0 -1
- package/dist/state-QSwQ61sA.js.map +0 -1
- package/dist/surface-bTjOiq8n.cjs +0 -7
- package/dist/surface-bTjOiq8n.cjs.map +0 -1
- package/dist/surface-cqMsHJHM.js.map +0 -1
- package/dist/tabs-Dk9UDWpq.cjs.map +0 -1
- package/dist/tabs-Ib0Mh__1.js.map +0 -1
- package/dist/textarea-CcRsw08B.js.map +0 -1
- package/dist/textarea-Cntd9tfV.cjs.map +0 -1
- package/dist/theme.service-5RjyR7Sy.js.map +0 -1
- package/dist/theme.service-DA6KY52G.cjs.map +0 -1
- package/dist/typography-DeEYdMhW.js +0 -358
- package/dist/typography-DeEYdMhW.js.map +0 -1
- package/dist/typography-Tm7wSaB2.cjs +0 -282
- package/dist/typography-Tm7wSaB2.cjs.map +0 -1
- package/dist/utils-DTa3QHxk.cjs.map +0 -1
- package/dist/utils-H8wNknWC.js.map +0 -1
- package/dist/window-Db5ZYY6t.js.map +0 -1
- package/dist/window-oQqx5xqQ.cjs +0 -59
- package/dist/window-oQqx5xqQ.cjs.map +0 -1
- package/src/form/fields/date-range/date-range-presets.ts +0 -220
- package/src/form/fields/date-range/date-utils.ts +0 -58
- package/types/src/form/fields/date-range/date-range-presets.d.ts +0 -18
- package/types/src/form/fields/date-range/date-utils.d.ts +0 -15
- /package/dist/{hashContent-iRZJJWtE.cjs → hashContent--s09Ed_g.cjs} +0 -0
- /package/dist/{hashContent-BqU6v1Xr.js → hashContent-CAvrQ56N.js} +0 -0
- /package/dist/{rxjs-utils-Csnks202.cjs → rxjs-utils-4P2v57ke.cjs} +0 -0
- /package/dist/{rxjs-utils-d-ivVN84.js → rxjs-utils-JMFdgQSl.js} +0 -0
- /package/dist/{theme.interface-CSt7JUBD.cjs → theme.interface-B-qxDsZQ.cjs} +0 -0
- /package/dist/{theme.interface-odQEpZZH.js → theme.interface-B7caS5cg.js} +0 -0
- /package/dist/{utils-DTa3QHxk.cjs → utils-DIXndz6Q.cjs} +0 -0
- /package/dist/{utils-H8wNknWC.js → utils-dSPH7Oh9.js} +0 -0
|
@@ -1,214 +1,126 @@
|
|
|
1
|
-
import { t as e, u as t } from "./SchmancyElement-
|
|
2
|
-
import "./mixins-
|
|
3
|
-
import { S as n, b as r, x as i } from "./area-
|
|
4
|
-
import "./state-
|
|
5
|
-
import "./audio-
|
|
6
|
-
import "./autocomplete-
|
|
7
|
-
import { S as a } from "./directives-
|
|
8
|
-
import { n as o } from "./theme.service-
|
|
9
|
-
import { o as s } from "./overlay.service-
|
|
10
|
-
import "./boat-
|
|
11
|
-
import "./busy-
|
|
1
|
+
import { t as e, u as t } from "./SchmancyElement-Ob9yGkiG.js";
|
|
2
|
+
import "./mixins-q4KAL8Xr.js";
|
|
3
|
+
import { S as n, b as r, x as i } from "./area-MxLAyWgV.js";
|
|
4
|
+
import "./state-DBA_gzJO.js";
|
|
5
|
+
import "./audio-B_0PGwYC.js";
|
|
6
|
+
import "./autocomplete-DV9RxCun.js";
|
|
7
|
+
import { S as a } from "./directives-Dj8jlv-Q.js";
|
|
8
|
+
import { n as o } from "./theme.service-D94nm7Bf.js";
|
|
9
|
+
import { o as s } from "./overlay.service-BuUeti6X.js";
|
|
10
|
+
import "./boat-DoZGgQ0P.js";
|
|
11
|
+
import "./busy-g4LoQmhB.js";
|
|
12
12
|
import "./button.js";
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
13
|
+
import "./calendar-kCe5LaBa.js";
|
|
14
|
+
import "./card-CS_hYJbz.js";
|
|
15
|
+
import "./checkbox-Bjp7kWuE.js";
|
|
16
|
+
import "./chips-DACeW7YL.js";
|
|
16
17
|
import "./connectivity.js";
|
|
17
|
-
import "./date-range-
|
|
18
|
-
import "./date-range-inline-
|
|
18
|
+
import "./date-range-D2NZU5Yg.js";
|
|
19
|
+
import "./date-range-inline-D6Ozerzw.js";
|
|
19
20
|
import "./delay.js";
|
|
20
|
-
import "./details-
|
|
21
|
+
import "./details-Ct1_GwKr.js";
|
|
21
22
|
import "./discovery.js";
|
|
22
|
-
import "./divider-
|
|
23
|
+
import "./divider-BJHW3q11.js";
|
|
23
24
|
import "./dropdown.js";
|
|
24
|
-
import "./expand-
|
|
25
|
+
import "./expand-BT8mOu8Q.js";
|
|
25
26
|
import "./fab.js";
|
|
26
|
-
import "./float-
|
|
27
|
+
import "./float-BQcxj3i_.js";
|
|
27
28
|
import "./window.js";
|
|
28
29
|
import "./input.js";
|
|
29
|
-
import "./radio-group-
|
|
30
|
+
import "./radio-group-Drpl6Pl8.js";
|
|
30
31
|
import "./range.js";
|
|
31
|
-
import { t as c } from "./theme.interface-
|
|
32
|
-
import "./select-
|
|
32
|
+
import { t as c } from "./theme.interface-B7caS5cg.js";
|
|
33
|
+
import "./select-CTXkrrVZ.js";
|
|
33
34
|
import "./switch.js";
|
|
34
|
-
import "./textarea-
|
|
35
|
+
import "./textarea-BjDx1w2g.js";
|
|
35
36
|
import "./form.js";
|
|
36
|
-
import "./icons-
|
|
37
|
-
import "./iframe-
|
|
38
|
-
import "./notification-
|
|
37
|
+
import "./icons-DEJnIxml.js";
|
|
38
|
+
import "./iframe-V3S-bwEY.js";
|
|
39
|
+
import "./notification-COhUhUCr.js";
|
|
39
40
|
import "./json.js";
|
|
40
41
|
import "./layout.js";
|
|
41
|
-
import "./lightbox-
|
|
42
|
-
import "./list-
|
|
43
|
-
import "./menu-
|
|
42
|
+
import "./lightbox-DIG0VLOK.js";
|
|
43
|
+
import "./list-NrOYDPBo.js";
|
|
44
|
+
import "./menu-B1Ei9SVj.js";
|
|
44
45
|
import "./navigation-rail.js";
|
|
45
|
-
import "./option-
|
|
46
|
-
import "./overlay-
|
|
46
|
+
import "./option-BIzgTbXz.js";
|
|
47
|
+
import "./overlay-LoRRemny.js";
|
|
47
48
|
import "./progress.js";
|
|
48
|
-
import "./rxjs-utils-
|
|
49
|
+
import "./rxjs-utils-JMFdgQSl.js";
|
|
49
50
|
import "./slider.js";
|
|
50
51
|
import "./steps.js";
|
|
51
52
|
import "./surface.js";
|
|
52
53
|
import "./table.js";
|
|
53
|
-
import "./tabs-
|
|
54
|
-
import "./theme-
|
|
55
|
-
import "./theme-button-
|
|
54
|
+
import "./tabs-BYhFWnsx.js";
|
|
55
|
+
import "./theme-Dvm5J8nh.js";
|
|
56
|
+
import "./theme-button-Bko5ohFP.js";
|
|
56
57
|
import "./tooltip.js";
|
|
57
58
|
import "./tree.js";
|
|
58
59
|
import { SchmancyEvents as l } from "./types.js";
|
|
59
60
|
import "./typewriter.js";
|
|
60
61
|
import "./typography.js";
|
|
61
|
-
import "./utils-
|
|
62
|
+
import "./utils-dSPH7Oh9.js";
|
|
62
63
|
import "./avatar.js";
|
|
63
64
|
import "./breadcrumb.js";
|
|
64
65
|
import "./kbd.js";
|
|
65
66
|
import "./skeleton.js";
|
|
66
|
-
import "./splash-screen-
|
|
67
|
+
import "./splash-screen-DANfqvlo.js";
|
|
67
68
|
import "./visually-hidden.js";
|
|
68
69
|
import { BehaviorSubject as u, Observable as ee, Subject as d, bufferTime as te, concatMap as ne, debounceTime as f, delay as re, distinctUntilChanged as ie, filter as ae, fromEvent as p, interval as oe, map as m, merge as h, of as g, startWith as se, take as ce, takeUntil as _, tap as v, throwIfEmpty as le, timeout as ue, timer as de, zip as fe } from "rxjs";
|
|
69
70
|
import { distinctUntilChanged as pe, filter as y, map as me, pairwise as he, take as ge, takeUntil as b, tap as x, throttleTime as _e } from "rxjs/operators";
|
|
70
71
|
import { consume as S, createContext as C, provide as w } from "@lit/context";
|
|
71
|
-
import { customElement as T, property as E, query as
|
|
72
|
-
import { css as
|
|
73
|
-
import { when as
|
|
74
|
-
var
|
|
72
|
+
import { customElement as T, property as E, query as D, queryAssignedElements as ve, state as O } from "lit/decorators.js";
|
|
73
|
+
import { css as k, html as A, nothing as ye } from "lit";
|
|
74
|
+
import { when as be } from "lit/directives/when.js";
|
|
75
|
+
var j = class extends e {
|
|
75
76
|
constructor(...e) {
|
|
76
|
-
super(...e), this.color = "primary", this.size = "md", this.shape = "pill", this.outlined = !1
|
|
77
|
+
super(...e), this.color = "primary", this.size = "md", this.shape = "pill", this.outlined = !1;
|
|
77
78
|
}
|
|
78
79
|
static {
|
|
79
|
-
this.styles = [
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
/* Enhanced pulse animation for better attention-getting */
|
|
87
|
-
@keyframes elegant-pulse {
|
|
88
|
-
0%, 100% {
|
|
89
|
-
opacity: 1;
|
|
90
|
-
}
|
|
91
|
-
50% {
|
|
92
|
-
opacity: 0.85;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.animate-pulse {
|
|
97
|
-
animation: elegant-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
98
|
-
}
|
|
99
|
-
`];
|
|
100
|
-
}
|
|
101
|
-
getSizeClasses() {
|
|
102
|
-
switch (this.size) {
|
|
103
|
-
case "xs": return "text-xs py-0.75 px-1.5 gap-0.5 leading-none";
|
|
104
|
-
case "sm": return "text-xs py-1.5 px-2.5 gap-0.5 tracking-wide leading-none";
|
|
105
|
-
case "lg": return "text-base py-2 px-4 gap-1 tracking-wide";
|
|
106
|
-
default: return "text-sm py-1.5 px-3 gap-0.5";
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
getShapeClasses() {
|
|
110
|
-
switch (this.shape) {
|
|
111
|
-
case "square": return "rounded";
|
|
112
|
-
case "rounded": return "rounded-md";
|
|
113
|
-
default: return "rounded-full";
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
getIconSizeClass() {
|
|
117
|
-
switch (this.size) {
|
|
118
|
-
case "xs": return "text-xs";
|
|
119
|
-
case "sm":
|
|
120
|
-
default: return "text-sm";
|
|
121
|
-
case "lg": return "text-lg";
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
getExoticStyles() {
|
|
125
|
-
let e = {};
|
|
126
|
-
return this.size === "lg" && (e.letterSpacing = "0.03em", e.fontWeight = "500"), this.size === "sm" && (e.letterSpacing = "0.02em"), e;
|
|
80
|
+
this.styles = [k`
|
|
81
|
+
:host {
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
flex-shrink: 0;
|
|
84
|
+
width: fit-content;
|
|
85
|
+
}
|
|
86
|
+
`];
|
|
127
87
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
primary:
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${c.sys.color.secondary.container} 95%, ${c.sys.color.secondary.default} 5%)`,
|
|
137
|
-
text: this.outlined ? c.sys.color.secondary.default : c.sys.color.secondary.onContainer,
|
|
138
|
-
border: this.outlined ? `color-mix(in srgb, ${c.sys.color.secondary.default} 85%, ${c.sys.color.surface.highest} 15%)` : void 0
|
|
139
|
-
},
|
|
140
|
-
tertiary: {
|
|
141
|
-
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${c.sys.color.tertiary.container} 94%, ${c.sys.color.tertiary.default} 6%)`,
|
|
142
|
-
text: this.outlined ? c.sys.color.tertiary.default : c.sys.color.tertiary.onContainer,
|
|
143
|
-
border: this.outlined ? `color-mix(in srgb, ${c.sys.color.tertiary.default} 88%, ${c.sys.color.surface.highest} 12%)` : void 0
|
|
144
|
-
},
|
|
145
|
-
success: {
|
|
146
|
-
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${c.sys.color.success.container} 90%, ${c.sys.color.success.default} 10%)`,
|
|
147
|
-
text: this.outlined ? c.sys.color.success.default : c.sys.color.success.onContainer,
|
|
148
|
-
border: this.outlined ? `color-mix(in srgb, ${c.sys.color.success.default} 85%, ${c.sys.color.surface.bright} 15%)` : void 0
|
|
149
|
-
},
|
|
150
|
-
warning: {
|
|
151
|
-
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${c.sys.color.tertiary.container} 85%, ${c.sys.color.tertiary.default} 15%)`,
|
|
152
|
-
text: this.outlined ? c.sys.color.tertiary.default : c.sys.color.tertiary.onContainer,
|
|
153
|
-
border: this.outlined ? `color-mix(in srgb, ${c.sys.color.tertiary.default} 90%, ${c.sys.color.surface.highest} 10%)` : void 0
|
|
154
|
-
},
|
|
155
|
-
error: {
|
|
156
|
-
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${c.sys.color.error.container} 92%, ${c.sys.color.error.default} 8%)`,
|
|
157
|
-
text: this.outlined ? c.sys.color.error.default : c.sys.color.error.onContainer,
|
|
158
|
-
border: this.outlined ? `color-mix(in srgb, ${c.sys.color.error.default} 88%, ${c.sys.color.surface.bright} 12%)` : void 0
|
|
159
|
-
},
|
|
88
|
+
render() {
|
|
89
|
+
let e = this.size === "xs" ? "text-xs px-1.5 py-0.5" : this.size === "sm" ? "text-xs px-2 py-0.5" : "text-sm px-2.5 py-0.5", t = this.shape === "rounded" ? "rounded-md" : "rounded-full", n = {
|
|
90
|
+
primary: c.sys.color.primary,
|
|
91
|
+
secondary: c.sys.color.secondary,
|
|
92
|
+
tertiary: c.sys.color.tertiary,
|
|
93
|
+
success: c.sys.color.success,
|
|
94
|
+
warning: c.sys.color.warning,
|
|
95
|
+
error: c.sys.color.error,
|
|
160
96
|
neutral: {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
97
|
+
container: c.sys.color.surface.high,
|
|
98
|
+
onContainer: c.sys.color.surface.on,
|
|
99
|
+
default: c.sys.color.surface.on
|
|
164
100
|
},
|
|
165
101
|
surface: {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
102
|
+
container: c.sys.color.surface.container,
|
|
103
|
+
onContainer: c.sys.color.surface.on,
|
|
104
|
+
default: c.sys.color.surface.on
|
|
169
105
|
}
|
|
170
106
|
}[this.color];
|
|
171
|
-
|
|
172
|
-
render() {
|
|
173
|
-
let e = this.getSizeClasses(), t = this.getShapeClasses(), n = this.getColorStyles(), r = this.getIconSizeClass(), i = this.getExoticStyles(), o = {
|
|
174
|
-
"inline-flex items-center justify-center font-medium": !0,
|
|
175
|
-
"transition-all duration-200 ease-in-out": !0,
|
|
176
|
-
[e]: !0,
|
|
177
|
-
[t]: !0,
|
|
178
|
-
"animate-pulse": this.pulse,
|
|
179
|
-
"border border-solid": this.outlined,
|
|
180
|
-
"shadow-sm": !this.outlined && this.size === "sm",
|
|
181
|
-
shadow: !this.outlined && this.size === "md",
|
|
182
|
-
"shadow-md": !this.outlined && this.size === "lg",
|
|
183
|
-
"hover:brightness-95 hover:-translate-y-px": this.outlined,
|
|
184
|
-
"hover:brightness-[0.98]": !this.outlined
|
|
185
|
-
}, s = {
|
|
186
|
-
borderColor: n.border,
|
|
187
|
-
backdropFilter: this.outlined ? "blur(4px)" : void 0,
|
|
188
|
-
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)",
|
|
189
|
-
...i
|
|
190
|
-
};
|
|
191
|
-
return k`
|
|
107
|
+
return A`
|
|
192
108
|
<div
|
|
193
109
|
part="badge"
|
|
194
|
-
class="${this.classMap(
|
|
195
|
-
|
|
110
|
+
class="${this.classMap({
|
|
111
|
+
"inline-flex items-center justify-center font-medium leading-none": !0,
|
|
112
|
+
"transition-colors duration-150": !0,
|
|
113
|
+
"border border-solid": this.outlined,
|
|
114
|
+
[e]: !0,
|
|
115
|
+
[t]: !0
|
|
116
|
+
})}"
|
|
117
|
+
style="${this.styleMap({ borderColor: this.outlined ? n.default : void 0 })}"
|
|
196
118
|
${a({
|
|
197
|
-
bgColor: n.
|
|
198
|
-
color: n.
|
|
119
|
+
bgColor: this.outlined ? "transparent" : n.container,
|
|
120
|
+
color: this.outlined ? n.default : n.onContainer
|
|
199
121
|
})}
|
|
200
122
|
>
|
|
201
|
-
|
|
202
|
-
<slot name="icon">
|
|
203
|
-
${this.icon ? k`
|
|
204
|
-
<div part="icon" class="shrink-0 flex items-center justify-center leading-none">
|
|
205
|
-
<schmancy-icon class="${r} flex items-center justify-center">${this.icon}</schmancy-icon>
|
|
206
|
-
</div>
|
|
207
|
-
` : ""}
|
|
208
|
-
</slot>
|
|
209
|
-
|
|
210
|
-
<!-- Content with proper spacing from icon -->
|
|
211
|
-
<div part="content" class="flex items-center leading-none tracking-[0.01em] ${this.icon ? "ml-[0.38em]" : ""}">
|
|
123
|
+
<div part="content" class="flex items-center leading-none tracking-[0.01em]">
|
|
212
124
|
<slot></slot>
|
|
213
125
|
</div>
|
|
214
126
|
</div>
|
|
@@ -218,22 +130,19 @@ var A = class extends e {
|
|
|
218
130
|
t([E({
|
|
219
131
|
type: String,
|
|
220
132
|
reflect: !0
|
|
221
|
-
})],
|
|
133
|
+
})], j.prototype, "color", void 0), t([E({
|
|
222
134
|
type: String,
|
|
223
135
|
reflect: !0
|
|
224
|
-
})],
|
|
136
|
+
})], j.prototype, "size", void 0), t([E({
|
|
225
137
|
type: String,
|
|
226
138
|
reflect: !0
|
|
227
|
-
})],
|
|
139
|
+
})], j.prototype, "shape", void 0), t([E({
|
|
228
140
|
type: Boolean,
|
|
229
141
|
reflect: !0
|
|
230
|
-
})],
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
var j = class extends A {};
|
|
235
|
-
j = t([T("sch-badge")], j);
|
|
236
|
-
var Se = new class {
|
|
142
|
+
})], j.prototype, "outlined", void 0), j = t([T("schmancy-badge")], j);
|
|
143
|
+
var M = class extends j {};
|
|
144
|
+
M = t([T("sch-badge")], M);
|
|
145
|
+
var xe = new class {
|
|
237
146
|
constructor() {
|
|
238
147
|
this.$drawer = new d(), this.pushCounter = 0, this.isDismissing$ = new u(!1), this.$drawer.pipe(ne((e) => {
|
|
239
148
|
switch (e.action) {
|
|
@@ -296,7 +205,7 @@ var Se = new class {
|
|
|
296
205
|
...e
|
|
297
206
|
});
|
|
298
207
|
}
|
|
299
|
-
}(),
|
|
208
|
+
}(), N = C("push"), P = C("close"), F = C(Math.floor(Math.random() * Date.now()).toString()), I = C("100%"), L = C({}), Se = "schmancy-content-drawer-overlay-dismiss", R = class extends e {
|
|
300
209
|
constructor(...e) {
|
|
301
210
|
super(...e), this.minWidth = {
|
|
302
211
|
main: 360,
|
|
@@ -304,14 +213,14 @@ var Se = new class {
|
|
|
304
213
|
}, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%", this.overlaySubscription = null;
|
|
305
214
|
}
|
|
306
215
|
static {
|
|
307
|
-
this.styles = [
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
`];
|
|
216
|
+
this.styles = [k`
|
|
217
|
+
:host {
|
|
218
|
+
position: relative;
|
|
219
|
+
inset: 0;
|
|
220
|
+
display: block;
|
|
221
|
+
overflow: hidden;
|
|
222
|
+
}
|
|
223
|
+
`];
|
|
315
224
|
}
|
|
316
225
|
firstUpdated() {
|
|
317
226
|
this.setupResizeListener(), this.setupToggleListener(), this.setupRenderListener();
|
|
@@ -325,7 +234,7 @@ var Se = new class {
|
|
|
325
234
|
});
|
|
326
235
|
}
|
|
327
236
|
setupRenderListener() {
|
|
328
|
-
p(window, "schmancy-content-drawer-render").pipe(v((e) => e.stopPropagation()), m((e) => e.detail), _(this.disconnecting)).subscribe((e) => this.handleRender(e)), p(this,
|
|
237
|
+
p(window, "schmancy-content-drawer-render").pipe(v((e) => e.stopPropagation()), m((e) => e.detail), _(this.disconnecting)).subscribe((e) => this.handleRender(e)), p(this, Se).pipe(_(this.disconnecting)).subscribe(() => this.dismissOverlay());
|
|
329
238
|
}
|
|
330
239
|
updateMaxHeight() {
|
|
331
240
|
this.maxHeight = window.innerHeight - this.getOffsetTop(this) + "px", this.style.setProperty("max-height", this.maxHeight);
|
|
@@ -354,7 +263,7 @@ var Se = new class {
|
|
|
354
263
|
return t;
|
|
355
264
|
}
|
|
356
265
|
render() {
|
|
357
|
-
return this.mode && this.open ?
|
|
266
|
+
return this.mode && this.open ? A`
|
|
358
267
|
<div class=${[
|
|
359
268
|
"grid h-full",
|
|
360
269
|
"grid-flow-col auto-cols-max",
|
|
@@ -364,18 +273,18 @@ var Se = new class {
|
|
|
364
273
|
].join(" ")}>
|
|
365
274
|
<slot></slot>
|
|
366
275
|
</div>
|
|
367
|
-
` :
|
|
276
|
+
` : ye;
|
|
368
277
|
}
|
|
369
278
|
};
|
|
370
|
-
t([w({ context:
|
|
371
|
-
var
|
|
279
|
+
t([w({ context: L })], R.prototype, "minWidth", void 0), t([w({ context: P }), E()], R.prototype, "open", void 0), t([w({ context: N }), O()], R.prototype, "mode", void 0), t([w({ context: F })], R.prototype, "schmancyContentDrawerID", void 0), t([w({ context: I })], R.prototype, "maxHeight", void 0), t([ve({ flatten: !0 })], R.prototype, "assignedElements", void 0), R = t([T("schmancy-content-drawer")], R);
|
|
280
|
+
var z = class extends e {
|
|
372
281
|
static {
|
|
373
|
-
this.styles = [
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
`];
|
|
282
|
+
this.styles = [k`
|
|
283
|
+
:host {
|
|
284
|
+
display: block;
|
|
285
|
+
overflow: hidden;
|
|
286
|
+
}
|
|
287
|
+
`];
|
|
379
288
|
}
|
|
380
289
|
connectedCallback() {
|
|
381
290
|
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.main = this.minWidth : this.minWidth = this.drawerMinWidth.main;
|
|
@@ -391,7 +300,7 @@ var R = class extends e {
|
|
|
391
300
|
minWidth: `${this.minWidth}px`,
|
|
392
301
|
maxHeight: this.maxHeight
|
|
393
302
|
};
|
|
394
|
-
return
|
|
303
|
+
return A`
|
|
395
304
|
<section class="relative inset-0 h-full">
|
|
396
305
|
<div class=${[
|
|
397
306
|
"grid h-full relative overflow-scroll",
|
|
@@ -404,28 +313,28 @@ var R = class extends e {
|
|
|
404
313
|
<slot></slot>
|
|
405
314
|
</section>
|
|
406
315
|
</div>
|
|
407
|
-
${
|
|
316
|
+
${be(this.mode === "push", () => A` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
|
|
408
317
|
</section>
|
|
409
318
|
`;
|
|
410
319
|
}
|
|
411
320
|
};
|
|
412
|
-
t([E({ type: Number })],
|
|
413
|
-
context:
|
|
321
|
+
t([E({ type: Number })], z.prototype, "minWidth", void 0), t([S({
|
|
322
|
+
context: L,
|
|
414
323
|
subscribe: !0
|
|
415
|
-
})],
|
|
416
|
-
context:
|
|
324
|
+
})], z.prototype, "drawerMinWidth", void 0), t([S({
|
|
325
|
+
context: N,
|
|
417
326
|
subscribe: !0
|
|
418
|
-
}),
|
|
419
|
-
context:
|
|
327
|
+
}), O()], z.prototype, "mode", void 0), t([S({
|
|
328
|
+
context: I,
|
|
420
329
|
subscribe: !0
|
|
421
|
-
}),
|
|
422
|
-
var
|
|
330
|
+
}), O()], z.prototype, "maxHeight", void 0), z = t([T("schmancy-content-drawer-main")], z);
|
|
331
|
+
var B = class extends e {
|
|
423
332
|
static {
|
|
424
|
-
this.styles = [
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
`];
|
|
333
|
+
this.styles = [k`
|
|
334
|
+
:host {
|
|
335
|
+
overflow: scroll;
|
|
336
|
+
}
|
|
337
|
+
`];
|
|
429
338
|
}
|
|
430
339
|
connectedCallback() {
|
|
431
340
|
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
|
|
@@ -449,7 +358,7 @@ var z = class extends e {
|
|
|
449
358
|
});
|
|
450
359
|
}
|
|
451
360
|
requestOverlayDismiss() {
|
|
452
|
-
this.dispatchEvent(new CustomEvent(
|
|
361
|
+
this.dispatchEvent(new CustomEvent(Se, {
|
|
453
362
|
bubbles: !0,
|
|
454
363
|
composed: !0
|
|
455
364
|
}));
|
|
@@ -482,7 +391,7 @@ var z = class extends e {
|
|
|
482
391
|
minWidth: `${this.minWidth}px`,
|
|
483
392
|
maxHeight: this.maxHeight
|
|
484
393
|
};
|
|
485
|
-
return
|
|
394
|
+
return A`
|
|
486
395
|
<section id="sheet" class="${this.classMap(e)}" style=${this.styleMap(t)}>
|
|
487
396
|
<schmancy-area class="h-full w-full" name="${this.schmancyContentDrawerID}">
|
|
488
397
|
<slot name="placeholder"></slot>
|
|
@@ -491,23 +400,23 @@ var z = class extends e {
|
|
|
491
400
|
`;
|
|
492
401
|
}
|
|
493
402
|
};
|
|
494
|
-
t([E({ type: Number })],
|
|
495
|
-
context: M,
|
|
496
|
-
subscribe: !0
|
|
497
|
-
}), D()], z.prototype, "mode", void 0), t([S({
|
|
403
|
+
t([E({ type: Number })], B.prototype, "minWidth", void 0), t([S({
|
|
498
404
|
context: N,
|
|
499
405
|
subscribe: !0
|
|
500
|
-
}),
|
|
406
|
+
}), O()], B.prototype, "mode", void 0), t([S({
|
|
407
|
+
context: P,
|
|
408
|
+
subscribe: !0
|
|
409
|
+
}), O()], B.prototype, "state", void 0), t([S({ context: F })], B.prototype, "schmancyContentDrawerID", void 0), t([D("#sheet")], B.prototype, "sheet", void 0), t([ve({
|
|
501
410
|
flatten: !0,
|
|
502
411
|
slot: void 0
|
|
503
|
-
})],
|
|
504
|
-
context:
|
|
412
|
+
})], B.prototype, "defaultSlot", void 0), t([S({
|
|
413
|
+
context: L,
|
|
505
414
|
subscribe: !0
|
|
506
|
-
})],
|
|
507
|
-
context:
|
|
415
|
+
})], B.prototype, "drawerMinWidth", void 0), t([S({
|
|
416
|
+
context: I,
|
|
508
417
|
subscribe: !0
|
|
509
|
-
}),
|
|
510
|
-
var
|
|
418
|
+
}), O()], B.prototype, "maxHeight", void 0), B = t([T("schmancy-content-drawer-sheet")], B);
|
|
419
|
+
var Ce = new class {
|
|
511
420
|
constructor() {
|
|
512
421
|
this.$drawer = new d(), this.$drawer.pipe(f(10)).subscribe((e) => {
|
|
513
422
|
e.state ? window.dispatchEvent(new CustomEvent(l.NavDrawer_toggle, {
|
|
@@ -533,31 +442,31 @@ var we = new class {
|
|
|
533
442
|
state: !1
|
|
534
443
|
});
|
|
535
444
|
}
|
|
536
|
-
}(),
|
|
445
|
+
}(), we = Ce, V = class extends e {
|
|
537
446
|
static {
|
|
538
|
-
this.styles = [
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
`];
|
|
447
|
+
this.styles = [k`
|
|
448
|
+
:host {
|
|
449
|
+
display: block;
|
|
450
|
+
width: 100%;
|
|
451
|
+
min-width: 0;
|
|
452
|
+
}
|
|
453
|
+
`];
|
|
545
454
|
}
|
|
546
455
|
render() {
|
|
547
|
-
return
|
|
456
|
+
return A`<slot></slot>`;
|
|
548
457
|
}
|
|
549
458
|
};
|
|
550
|
-
|
|
551
|
-
var
|
|
459
|
+
V = t([T("schmancy-nav-drawer-appbar")], V);
|
|
460
|
+
var H = class extends e {
|
|
552
461
|
static {
|
|
553
|
-
this.styles = [
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
`];
|
|
462
|
+
this.styles = [k`
|
|
463
|
+
:host {
|
|
464
|
+
display: block;
|
|
465
|
+
position: relative;
|
|
466
|
+
inset: 0;
|
|
467
|
+
overflow-y: auto;
|
|
468
|
+
}
|
|
469
|
+
`];
|
|
561
470
|
}
|
|
562
471
|
connectedCallback() {
|
|
563
472
|
super.connectedCallback(), p(this, "scroll").pipe(_(this.disconnecting)).subscribe((e) => {
|
|
@@ -569,38 +478,38 @@ var V = class extends e {
|
|
|
569
478
|
});
|
|
570
479
|
}
|
|
571
480
|
render() {
|
|
572
|
-
return
|
|
481
|
+
return A` <slot></slot> `;
|
|
573
482
|
}
|
|
574
483
|
};
|
|
575
|
-
|
|
576
|
-
var
|
|
484
|
+
H = t([T("schmancy-nav-drawer-content")], H);
|
|
485
|
+
var U, W = C("push"), G = C("close"), K = class extends e {
|
|
577
486
|
static {
|
|
578
|
-
|
|
487
|
+
U = this;
|
|
579
488
|
}
|
|
580
489
|
constructor(...e) {
|
|
581
490
|
super(...e), this.fullscreen = !1, this.breakpoint = "md";
|
|
582
491
|
}
|
|
583
492
|
static {
|
|
584
|
-
this.styles = [
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
493
|
+
this.styles = [k`
|
|
494
|
+
:host {
|
|
495
|
+
display: grid;
|
|
496
|
+
grid-template-columns: auto 1fr;
|
|
497
|
+
grid-template-rows: 1fr;
|
|
498
|
+
flex-grow: 1;
|
|
499
|
+
height: 100%;
|
|
500
|
+
overflow: hidden;
|
|
501
|
+
/* Initially hide the component until it's ready */
|
|
502
|
+
visibility: hidden;
|
|
503
|
+
}
|
|
595
504
|
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
505
|
+
:host([data-ready]) {
|
|
506
|
+
visibility: visible;
|
|
507
|
+
}
|
|
599
508
|
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
`];
|
|
509
|
+
:host([fullscreen]) {
|
|
510
|
+
grid-template-columns: 1fr;
|
|
511
|
+
}
|
|
512
|
+
`];
|
|
604
513
|
}
|
|
605
514
|
static {
|
|
606
515
|
this.BREAKPOINTS = {
|
|
@@ -611,7 +520,7 @@ var H, U = C("push"), W = C("close"), G = class extends e {
|
|
|
611
520
|
};
|
|
612
521
|
}
|
|
613
522
|
firstUpdated() {
|
|
614
|
-
this.updateState(window.innerWidth), this.setAttribute("data-ready", ""), p(window, "resize").pipe(m((e) => e.target.innerWidth), m((e) => e >=
|
|
523
|
+
this.updateState(window.innerWidth), this.setAttribute("data-ready", ""), p(window, "resize").pipe(m((e) => e.target.innerWidth), m((e) => e >= U.BREAKPOINTS[this.breakpoint]), ie(), f(100), _(this.disconnecting)).subscribe((e) => {
|
|
615
524
|
e ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
616
525
|
}), p(window, "fullscreen").pipe(v((e) => {
|
|
617
526
|
let t = e;
|
|
@@ -623,21 +532,21 @@ var H, U = C("push"), W = C("close"), G = class extends e {
|
|
|
623
532
|
});
|
|
624
533
|
}
|
|
625
534
|
updateState(e) {
|
|
626
|
-
let t = e >=
|
|
535
|
+
let t = e >= U.BREAKPOINTS[this.breakpoint];
|
|
627
536
|
this.mode = t ? "push" : "overlay", this.open = t ? "open" : "close";
|
|
628
537
|
}
|
|
629
538
|
render() {
|
|
630
|
-
return
|
|
539
|
+
return A`<slot></slot>`;
|
|
631
540
|
}
|
|
632
541
|
};
|
|
633
542
|
t([E({
|
|
634
543
|
type: Boolean,
|
|
635
544
|
reflect: !0
|
|
636
|
-
})],
|
|
545
|
+
})], K.prototype, "fullscreen", void 0), t([E({
|
|
637
546
|
type: String,
|
|
638
547
|
attribute: "breakpoint"
|
|
639
|
-
})],
|
|
640
|
-
var
|
|
548
|
+
})], K.prototype, "breakpoint", void 0), t([w({ context: W }), O()], K.prototype, "mode", void 0), t([w({ context: G }), E()], K.prototype, "open", void 0), K = U = t([T("schmancy-nav-drawer")], K);
|
|
549
|
+
var q = "cubic-bezier(0.5, 0.01, 0.25, 1)", J = class extends e {
|
|
641
550
|
constructor(...e) {
|
|
642
551
|
super(...e), this.width = "220px", this.initialized = !1;
|
|
643
552
|
}
|
|
@@ -650,14 +559,14 @@ var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends e {
|
|
|
650
559
|
openOverlay() {
|
|
651
560
|
this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: .4 }], {
|
|
652
561
|
duration: 200,
|
|
653
|
-
easing:
|
|
562
|
+
easing: q,
|
|
654
563
|
fill: "forwards"
|
|
655
564
|
});
|
|
656
565
|
}
|
|
657
566
|
closeOverlay() {
|
|
658
567
|
this.overlay.animate([{ opacity: .4 }, { opacity: 0 }], {
|
|
659
568
|
duration: 150,
|
|
660
|
-
easing:
|
|
569
|
+
easing: q,
|
|
661
570
|
fill: "forwards"
|
|
662
571
|
}).onfinish = () => {
|
|
663
572
|
this.overlay.style.display = "none";
|
|
@@ -666,7 +575,7 @@ var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends e {
|
|
|
666
575
|
showNavDrawer() {
|
|
667
576
|
this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], {
|
|
668
577
|
duration: 200,
|
|
669
|
-
easing:
|
|
578
|
+
easing: q,
|
|
670
579
|
fill: "forwards"
|
|
671
580
|
}).onfinish = () => {
|
|
672
581
|
this.nav.style.transform = "translateX(0)";
|
|
@@ -675,7 +584,7 @@ var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends e {
|
|
|
675
584
|
hideNavDrawer() {
|
|
676
585
|
this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], {
|
|
677
586
|
duration: 200,
|
|
678
|
-
easing:
|
|
587
|
+
easing: q,
|
|
679
588
|
fill: "forwards"
|
|
680
589
|
}).onfinish = () => {
|
|
681
590
|
this.nav.style.transform = "translateX(-100%)";
|
|
@@ -694,7 +603,7 @@ var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends e {
|
|
|
694
603
|
block: this.mode === "push",
|
|
695
604
|
"fixed inset-0 z-50": this.mode === "overlay"
|
|
696
605
|
}, t = { width: this.width };
|
|
697
|
-
return
|
|
606
|
+
return A`
|
|
698
607
|
<nav
|
|
699
608
|
style=${this.styleMap(t)}
|
|
700
609
|
class="${this.classMap({ ...e })}"
|
|
@@ -712,13 +621,13 @@ var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends e {
|
|
|
712
621
|
}
|
|
713
622
|
};
|
|
714
623
|
t([S({
|
|
715
|
-
context: U,
|
|
716
|
-
subscribe: !0
|
|
717
|
-
}), D()], q.prototype, "mode", void 0), t([S({
|
|
718
624
|
context: W,
|
|
719
625
|
subscribe: !0
|
|
720
|
-
}),
|
|
721
|
-
|
|
626
|
+
}), O()], J.prototype, "mode", void 0), t([S({
|
|
627
|
+
context: G,
|
|
628
|
+
subscribe: !0
|
|
629
|
+
}), O()], J.prototype, "drawerState", void 0), t([D("#overlay")], J.prototype, "overlay", void 0), t([D("nav")], J.prototype, "nav", void 0), t([E({ type: String })], J.prototype, "width", void 0), t([O()], J.prototype, "initialized", void 0), J = t([T("schmancy-nav-drawer-navbar")], J);
|
|
630
|
+
var Y = class extends e {
|
|
722
631
|
constructor(...e) {
|
|
723
632
|
super(...e), this.icon = "", this.label = "", this.badge = "", this.active$ = new u(!1), this.disabled = !1, this.hideLabels = !1, this.ripples = [], this.addRippleEffect = (e) => {
|
|
724
633
|
if (this.disabled) return;
|
|
@@ -741,60 +650,60 @@ var J = class extends e {
|
|
|
741
650
|
};
|
|
742
651
|
}
|
|
743
652
|
static {
|
|
744
|
-
this.styles = [
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
653
|
+
this.styles = [k`
|
|
654
|
+
:host {
|
|
655
|
+
display: flex;
|
|
656
|
+
flex: 1;
|
|
657
|
+
min-width: 48px;
|
|
658
|
+
max-width: 168px;
|
|
659
|
+
user-select: none;
|
|
660
|
+
-webkit-tap-highlight-color: transparent;
|
|
661
|
+
}
|
|
753
662
|
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
663
|
+
:host([disabled]) {
|
|
664
|
+
pointer-events: none;
|
|
665
|
+
}
|
|
757
666
|
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
667
|
+
button {
|
|
668
|
+
font-family: inherit;
|
|
669
|
+
border: none;
|
|
670
|
+
background: none;
|
|
671
|
+
width: 100%;
|
|
672
|
+
padding: 0;
|
|
673
|
+
margin: 0;
|
|
674
|
+
text-align: center;
|
|
675
|
+
color: inherit;
|
|
676
|
+
}
|
|
768
677
|
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
678
|
+
button:focus {
|
|
679
|
+
outline: none;
|
|
680
|
+
}
|
|
772
681
|
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
682
|
+
button:focus-visible {
|
|
683
|
+
outline: 2px solid var(--focus-color);
|
|
684
|
+
outline-offset: 2px;
|
|
685
|
+
border-radius: 8px;
|
|
686
|
+
}
|
|
778
687
|
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
688
|
+
/* Ripple animation */
|
|
689
|
+
@keyframes ripple {
|
|
690
|
+
to {
|
|
691
|
+
transform: scale(4);
|
|
692
|
+
opacity: 0;
|
|
693
|
+
}
|
|
694
|
+
}
|
|
786
695
|
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
`];
|
|
696
|
+
.ripple-effect {
|
|
697
|
+
position: absolute;
|
|
698
|
+
border-radius: 50%;
|
|
699
|
+
width: 20px;
|
|
700
|
+
height: 20px;
|
|
701
|
+
background-color: currentColor;
|
|
702
|
+
opacity: 0.25;
|
|
703
|
+
animation: ripple 0.6s ease-out;
|
|
704
|
+
pointer-events: none;
|
|
705
|
+
}
|
|
706
|
+
`];
|
|
798
707
|
}
|
|
799
708
|
get active() {
|
|
800
709
|
return this.active$.value;
|
|
@@ -859,7 +768,7 @@ var J = class extends e {
|
|
|
859
768
|
"transition-all duration-200": !0,
|
|
860
769
|
"z-10": !0
|
|
861
770
|
}, l = this.active ? { color: c.sys.color.secondary.onContainer } : { color: c.sys.color.surface.onVariant }, u = { "--focus-color": c.sys.color.primary.default };
|
|
862
|
-
return
|
|
771
|
+
return A`
|
|
863
772
|
<button
|
|
864
773
|
type="button"
|
|
865
774
|
class=${this.classMap(i)}
|
|
@@ -877,7 +786,7 @@ var J = class extends e {
|
|
|
877
786
|
<!-- Icon with indicator background -->
|
|
878
787
|
<div class=${this.classMap(o)}>
|
|
879
788
|
<!-- Ripple effects -->
|
|
880
|
-
${this.ripples.map((e) =>
|
|
789
|
+
${this.ripples.map((e) => A`
|
|
881
790
|
<span
|
|
882
791
|
class="ripple-effect"
|
|
883
792
|
style=${this.styleMap({
|
|
@@ -887,8 +796,7 @@ var J = class extends e {
|
|
|
887
796
|
})}
|
|
888
797
|
></span>
|
|
889
798
|
`)}
|
|
890
|
-
|
|
891
|
-
${r ? k`<slot name="icon"></slot>` : this.icon ? k`
|
|
799
|
+
${r ? A`<slot name="icon"></slot>` : this.icon ? A`
|
|
892
800
|
<schmancy-icon
|
|
893
801
|
.fill=${+!!this.active}
|
|
894
802
|
class="relative z-10 flex items-center justify-center transition-all duration-200"
|
|
@@ -897,53 +805,51 @@ var J = class extends e {
|
|
|
897
805
|
>
|
|
898
806
|
${this.icon}
|
|
899
807
|
</schmancy-icon>
|
|
900
|
-
|
|
808
|
+
` : e ? A`<slot></slot>` : ""}
|
|
901
809
|
</div>
|
|
902
810
|
|
|
903
811
|
<!-- Label below icon -->
|
|
904
|
-
${!this.hideLabels && this.label ?
|
|
905
|
-
<span class=${this.classMap({
|
|
812
|
+
${!this.hideLabels && this.label ? A` <span class=${this.classMap({
|
|
906
813
|
"text-xs font-medium leading-4 mt-1": !0,
|
|
907
814
|
"text-center max-w-full": !0,
|
|
908
815
|
"overflow-hidden text-ellipsis whitespace-nowrap": !0,
|
|
909
816
|
"transition-all duration-200": !0
|
|
910
|
-
})}>${this.label}</span>
|
|
911
|
-
` : ""}
|
|
817
|
+
})}>${this.label}</span> ` : ""}
|
|
912
818
|
|
|
913
819
|
<!-- Badge -->
|
|
914
|
-
${n ?
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
820
|
+
${n ? A`
|
|
821
|
+
<span
|
|
822
|
+
class=${this.classMap(s)}
|
|
823
|
+
aria-label="${t} notifications"
|
|
824
|
+
${a({
|
|
919
825
|
bgColor: c.sys.color.error.default,
|
|
920
826
|
color: c.sys.color.error.on
|
|
921
827
|
})}
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
828
|
+
>
|
|
829
|
+
<span class="text-[10px] font-medium leading-none">${t}</span>
|
|
830
|
+
</span>
|
|
831
|
+
` : this.badge ? A`
|
|
832
|
+
<span
|
|
833
|
+
class=${this.classMap(s)}
|
|
834
|
+
aria-label="Has notifications"
|
|
835
|
+
${a({ bgColor: c.sys.color.error.default })}
|
|
836
|
+
></span>
|
|
837
|
+
` : ""}
|
|
932
838
|
</button>
|
|
933
839
|
`;
|
|
934
840
|
}
|
|
935
841
|
};
|
|
936
|
-
t([E({ type: String })],
|
|
842
|
+
t([E({ type: String })], Y.prototype, "icon", void 0), t([E({ type: String })], Y.prototype, "label", void 0), t([E({ type: String })], Y.prototype, "badge", void 0), t([E({
|
|
937
843
|
type: Boolean,
|
|
938
844
|
reflect: !0
|
|
939
|
-
})],
|
|
845
|
+
})], Y.prototype, "active", null), t([E({
|
|
940
846
|
type: Boolean,
|
|
941
847
|
reflect: !0
|
|
942
|
-
})],
|
|
848
|
+
})], Y.prototype, "disabled", void 0), t([E({
|
|
943
849
|
type: Boolean,
|
|
944
850
|
reflect: !0
|
|
945
|
-
})],
|
|
946
|
-
var
|
|
851
|
+
})], Y.prototype, "hideLabels", void 0), t([O()], Y.prototype, "ripples", void 0), Y = t([T("schmancy-navigation-bar-item")], Y);
|
|
852
|
+
var X = class extends e {
|
|
947
853
|
constructor(...e) {
|
|
948
854
|
super(...e), this.activeIndex$ = new u(-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 d(), this.handleItemClick = (e) => {
|
|
949
855
|
let t = this.getItems(), n = e.target, r = t.findIndex((e) => e === n);
|
|
@@ -984,28 +890,28 @@ var Y = class extends e {
|
|
|
984
890
|
};
|
|
985
891
|
}
|
|
986
892
|
static {
|
|
987
|
-
this.styles = [
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
893
|
+
this.styles = [k`
|
|
894
|
+
:host {
|
|
895
|
+
display: block;
|
|
896
|
+
transition: transform 0.3s ease-in-out;
|
|
897
|
+
}
|
|
992
898
|
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
899
|
+
:host([hide-on-scroll]) {
|
|
900
|
+
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
901
|
+
}
|
|
996
902
|
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
903
|
+
/* Support 3-7 items with equal distribution */
|
|
904
|
+
::slotted(schmancy-navigation-bar-item) {
|
|
905
|
+
flex: 1;
|
|
906
|
+
max-width: 168px; /* Prevent items from being too wide */
|
|
907
|
+
}
|
|
1002
908
|
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
`];
|
|
909
|
+
/* Accessibility focus indicators */
|
|
910
|
+
:host(:focus-within) {
|
|
911
|
+
outline: 2px solid var(--schmancy-sys-color-primary);
|
|
912
|
+
outline-offset: -2px;
|
|
913
|
+
}
|
|
914
|
+
`];
|
|
1009
915
|
}
|
|
1010
916
|
get activeIndex() {
|
|
1011
917
|
return this.activeIndex$.value;
|
|
@@ -1081,7 +987,7 @@ var Y = class extends e {
|
|
|
1081
987
|
"shadow-xl": this.elevation === 4,
|
|
1082
988
|
"shadow-2xl": this.elevation === 5
|
|
1083
989
|
}, n = e ? "translateY(100%)" : "translateY(0)";
|
|
1084
|
-
return
|
|
990
|
+
return A`
|
|
1085
991
|
<nav
|
|
1086
992
|
class=${this.classMap(t)}
|
|
1087
993
|
role="navigation"
|
|
@@ -1098,20 +1004,20 @@ var Y = class extends e {
|
|
|
1098
1004
|
`;
|
|
1099
1005
|
}
|
|
1100
1006
|
};
|
|
1101
|
-
t([E({ type: Number })],
|
|
1007
|
+
t([E({ type: Number })], X.prototype, "activeIndex", null), t([E({
|
|
1102
1008
|
type: Boolean,
|
|
1103
1009
|
reflect: !0
|
|
1104
|
-
})],
|
|
1010
|
+
})], X.prototype, "hideLabels", void 0), t([E({
|
|
1105
1011
|
type: Number,
|
|
1106
1012
|
reflect: !0
|
|
1107
|
-
})],
|
|
1013
|
+
})], X.prototype, "elevation", void 0), t([E({
|
|
1108
1014
|
type: Boolean,
|
|
1109
1015
|
reflect: !0
|
|
1110
|
-
})],
|
|
1111
|
-
var
|
|
1016
|
+
})], X.prototype, "hideOnScroll", void 0), t([O()], X.prototype, "focusedIndex", void 0), t([O()], X.prototype, "isHiddenByScroll", void 0), t([O()], X.prototype, "isFullscreen", void 0), X = t([T("schmancy-navigation-bar")], X);
|
|
1017
|
+
var Z = "whereAreYouRicky", Te = "hereMorty", Q = new class {
|
|
1112
1018
|
constructor() {
|
|
1113
|
-
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new d(), this.find = (e) => fe([p(window,
|
|
1114
|
-
window.dispatchEvent(new CustomEvent(
|
|
1019
|
+
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new d(), this.find = (e) => fe([p(window, Te).pipe(ae((t) => !!t.detail.component.uuid && !!e.id && t.detail.component.id === e.id && t.detail.component.uuid !== e.uuid), m((e) => e.detail.component), ce(1)), g(e).pipe(v(() => {
|
|
1020
|
+
window.dispatchEvent(new CustomEvent(Z, { detail: {
|
|
1115
1021
|
id: e.id,
|
|
1116
1022
|
callerID: e.uuid
|
|
1117
1023
|
} }));
|
|
@@ -1142,7 +1048,7 @@ var $ = class extends e {
|
|
|
1142
1048
|
super(...e), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
|
|
1143
1049
|
}
|
|
1144
1050
|
static {
|
|
1145
|
-
this.styles = [
|
|
1051
|
+
this.styles = [k``];
|
|
1146
1052
|
}
|
|
1147
1053
|
get slottedChildren() {
|
|
1148
1054
|
return this.shadowRoot.querySelector("slot").assignedElements({ flatten: !0 });
|
|
@@ -1155,8 +1061,8 @@ var $ = class extends e {
|
|
|
1155
1061
|
bubbles: !0,
|
|
1156
1062
|
composed: !0
|
|
1157
1063
|
}));
|
|
1158
|
-
} })), p(window,
|
|
1159
|
-
e.detail.id === this.id && this.uuid && e.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(
|
|
1064
|
+
} })), p(window, Z).pipe(v({ next: (e) => {
|
|
1065
|
+
e.detail.id === this.id && this.uuid && e.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(Te, {
|
|
1160
1066
|
detail: { component: this },
|
|
1161
1067
|
bubbles: !0,
|
|
1162
1068
|
composed: !0
|
|
@@ -1186,11 +1092,11 @@ var $ = class extends e {
|
|
|
1186
1092
|
});
|
|
1187
1093
|
}
|
|
1188
1094
|
render() {
|
|
1189
|
-
return
|
|
1095
|
+
return A`<slot></slot>`;
|
|
1190
1096
|
}
|
|
1191
1097
|
};
|
|
1192
1098
|
t([E({
|
|
1193
1099
|
type: Number,
|
|
1194
1100
|
reflect: !0
|
|
1195
1101
|
})], $.prototype, "uuid", void 0), t([E({ type: String })], $.prototype, "id", void 0), t([E({ type: Number })], $.prototype, "delay", void 0), $ = t([T("schmancy-teleport")], $);
|
|
1196
|
-
export {
|
|
1102
|
+
export { xe as C, P as S, j as T, R as _, X as a, L as b, K as c, H as d, V as f, z as g, B as h, Q as i, W as l, Ce as m, Te as n, Y as o, we as p, Z as r, J as s, $ as t, G as u, F as v, M as w, N as x, I as y };
|