@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gravity-sVK3zGBF.js","names":[],"sources":["../src/directives/gravity.ts"],"sourcesContent":["import { directive, type ElementPart, PartType } from 'lit/directive.js'\nimport { AsyncDirective } from 'lit/async-directive.js'\nimport { from, EMPTY } from 'rxjs'\nimport { take, catchError, tap } from 'rxjs/operators'\nimport { SPRING_SMOOTH, SPRING_BOUNCY } from '../utils/animation'\nimport { reducedMotion$ } from './reduced-motion'\n\nexport interface GravityOptions {\n\t/** Mass: 0.5 (light/bouncy) to 2.0 (heavy/damped). Default: 1.0 */\n\tmass?: number\n\t/** Fall distance in pixels (default: 30) */\n\tdistance?: number\n\t/** Delay before falling in ms (default: 0) */\n\tdelay?: number\n\t/** Stagger delay per item for lists — multiply by index (default: 0) */\n\tstagger?: number\n}\n\n/**\n * Gravity directive — elements fall into place and settle with mass-based bounce.\n *\n * Only animates ONCE on first render. Re-renders do not re-trigger.\n * Disconnecting and reconnecting re-triggers the animation.\n *\n * @example\n * ```html\n * <schmancy-card ${gravity()}>content</schmancy-card>\n *\n * ${repeat(items, item => item.id, (item, i) => html`\n * <div ${gravity({ stagger: 50 * i, mass: 0.8 })}>...</div>\n * `)}\n * ```\n */\nclass GravityDirective extends AsyncDirective {\n\tprivate element!: HTMLElement\n\tprivate animation?: Animation\n\tprivate hasAnimated = false\n\tprivate options?: GravityOptions\n\n\trender(options?: GravityOptions) {\n\t\tvoid options\n\t\treturn undefined\n\t}\n\n\toverride update(part: ElementPart, [options]: [GravityOptions?]) {\n\t\tif (part.type !== PartType.ELEMENT) {\n\t\t\tthrow new Error('gravity directive must be used on an element')\n\t\t}\n\n\t\tthis.element = part.element as HTMLElement\n\t\tthis.options = options\n\n\t\tif (this.hasAnimated) return undefined\n\t\tif (reducedMotion$.value) {\n\t\t\tthis.hasAnimated = true\n\t\t\treturn undefined\n\t\t}\n\n\t\tconst mass = Math.max(0.3, Math.min(3.0, options?.mass ?? 1.0))\n\t\tconst distance = options?.distance ?? 30\n\t\tconst delay = (options?.delay ?? 0) + (options?.stagger ?? 0)\n\n\t\tthis.animate(mass, distance, delay)\n\t\tthis.hasAnimated = true\n\n\t\treturn undefined\n\t}\n\n\toverride reconnected() {\n\t\tthis.hasAnimated = false\n\t\tif (this.options && !reducedMotion$.value) {\n\t\t\tconst mass = Math.max(0.3, Math.min(3.0, this.options.mass ?? 1.0))\n\t\t\tconst distance = this.options.distance ?? 30\n\t\t\tconst delay = (this.options.delay ?? 0) + (this.options.stagger ?? 0)\n\t\t\tthis.animate(mass, distance, delay)\n\t\t\tthis.hasAnimated = true\n\t\t}\n\t}\n\n\tprivate animate(mass: number, distance: number, delay: number) {\n\t\tconst preset = mass < 0.7 ? SPRING_BOUNCY : SPRING_SMOOTH\n\t\tconst duration = preset.duration * (1 / Math.sqrt(mass))\n\t\tconst fallDistance = distance * (1 / mass)\n\n\t\tthis.animation?.cancel()\n\n\t\tthis.element.style.willChange = 'transform, opacity'\n\t\tthis.animation = this.element.animate(\n\t\t\t[\n\t\t\t\t{ opacity: 0, transform: `translateY(-${fallDistance}px)` },\n\t\t\t\t{ opacity: 1, transform: 'translateY(0)' },\n\t\t\t],\n\t\t\t{\n\t\t\t\tduration,\n\t\t\t\tdelay,\n\t\t\t\teasing: preset.easingFallback,\n\t\t\t\tfill: 'backwards',\n\t\t\t},\n\t\t)\n\n\t\t// RxJS cleanup instead of raw .then()\n\t\tfrom(this.animation.finished).pipe(\n\t\t\ttake(1),\n\t\t\ttap(() => {\n\t\t\t\tthis.element.style.willChange = ''\n\t\t\t\tthis.animation = undefined\n\t\t\t}),\n\t\t\tcatchError(() => EMPTY), // Animation cancelled — no cleanup needed\n\t\t).subscribe()\n\t}\n\n\toverride disconnected() {\n\t\tthis.animation?.cancel()\n\t\tthis.animation = undefined\n\t}\n}\n\nexport const gravity = directive(GravityDirective)\n"],"mappings":";;;;;;AAiCA,
|
|
1
|
+
{"version":3,"file":"gravity-sVK3zGBF.js","names":[],"sources":["../src/directives/gravity.ts"],"sourcesContent":["import { directive, type ElementPart, PartType } from 'lit/directive.js'\nimport { AsyncDirective } from 'lit/async-directive.js'\nimport { from, EMPTY } from 'rxjs'\nimport { take, catchError, tap } from 'rxjs/operators'\nimport { SPRING_SMOOTH, SPRING_BOUNCY } from '../utils/animation'\nimport { reducedMotion$ } from './reduced-motion'\n\nexport interface GravityOptions {\n\t/** Mass: 0.5 (light/bouncy) to 2.0 (heavy/damped). Default: 1.0 */\n\tmass?: number\n\t/** Fall distance in pixels (default: 30) */\n\tdistance?: number\n\t/** Delay before falling in ms (default: 0) */\n\tdelay?: number\n\t/** Stagger delay per item for lists — multiply by index (default: 0) */\n\tstagger?: number\n}\n\n/**\n * Gravity directive — elements fall into place and settle with mass-based bounce.\n *\n * Only animates ONCE on first render. Re-renders do not re-trigger.\n * Disconnecting and reconnecting re-triggers the animation.\n *\n * @example\n * ```html\n * <schmancy-card ${gravity()}>content</schmancy-card>\n *\n * ${repeat(items, item => item.id, (item, i) => html`\n * <div ${gravity({ stagger: 50 * i, mass: 0.8 })}>...</div>\n * `)}\n * ```\n */\nclass GravityDirective extends AsyncDirective {\n\tprivate element!: HTMLElement\n\tprivate animation?: Animation\n\tprivate hasAnimated = false\n\tprivate options?: GravityOptions\n\n\trender(options?: GravityOptions) {\n\t\tvoid options\n\t\treturn undefined\n\t}\n\n\toverride update(part: ElementPart, [options]: [GravityOptions?]) {\n\t\tif (part.type !== PartType.ELEMENT) {\n\t\t\tthrow new Error('gravity directive must be used on an element')\n\t\t}\n\n\t\tthis.element = part.element as HTMLElement\n\t\tthis.options = options\n\n\t\tif (this.hasAnimated) return undefined\n\t\tif (reducedMotion$.value) {\n\t\t\tthis.hasAnimated = true\n\t\t\treturn undefined\n\t\t}\n\n\t\tconst mass = Math.max(0.3, Math.min(3.0, options?.mass ?? 1.0))\n\t\tconst distance = options?.distance ?? 30\n\t\tconst delay = (options?.delay ?? 0) + (options?.stagger ?? 0)\n\n\t\tthis.animate(mass, distance, delay)\n\t\tthis.hasAnimated = true\n\n\t\treturn undefined\n\t}\n\n\toverride reconnected() {\n\t\tthis.hasAnimated = false\n\t\tif (this.options && !reducedMotion$.value) {\n\t\t\tconst mass = Math.max(0.3, Math.min(3.0, this.options.mass ?? 1.0))\n\t\t\tconst distance = this.options.distance ?? 30\n\t\t\tconst delay = (this.options.delay ?? 0) + (this.options.stagger ?? 0)\n\t\t\tthis.animate(mass, distance, delay)\n\t\t\tthis.hasAnimated = true\n\t\t}\n\t}\n\n\tprivate animate(mass: number, distance: number, delay: number) {\n\t\tconst preset = mass < 0.7 ? SPRING_BOUNCY : SPRING_SMOOTH\n\t\tconst duration = preset.duration * (1 / Math.sqrt(mass))\n\t\tconst fallDistance = distance * (1 / mass)\n\n\t\tthis.animation?.cancel()\n\n\t\tthis.element.style.willChange = 'transform, opacity'\n\t\tthis.animation = this.element.animate(\n\t\t\t[\n\t\t\t\t{ opacity: 0, transform: `translateY(-${fallDistance}px)` },\n\t\t\t\t{ opacity: 1, transform: 'translateY(0)' },\n\t\t\t],\n\t\t\t{\n\t\t\t\tduration,\n\t\t\t\tdelay,\n\t\t\t\teasing: preset.easingFallback,\n\t\t\t\tfill: 'backwards',\n\t\t\t},\n\t\t)\n\n\t\t// RxJS cleanup instead of raw .then()\n\t\tfrom(this.animation.finished)\n\t\t\t.pipe(\n\t\t\t\ttake(1),\n\t\t\t\ttap(() => {\n\t\t\t\t\tthis.element.style.willChange = ''\n\t\t\t\t\tthis.animation = undefined\n\t\t\t\t}),\n\t\t\t\tcatchError(() => EMPTY), // Animation cancelled — no cleanup needed\n\t\t\t)\n\t\t\t.subscribe()\n\t}\n\n\toverride disconnected() {\n\t\tthis.animation?.cancel()\n\t\tthis.animation = undefined\n\t}\n}\n\nexport const gravity = directive(GravityDirective)\n"],"mappings":";;;;;;AAiCA,IAsFa,IAAU,EAtFvB,cAA+B,EAAA;CAAA,YAAA,GAAA,GAAA;EAAA,MAAA,GAAA,CAAA,GAAA,KAAA,cAAA,CAGR;CAAA;CAGtB,OAAO,GAAA,CAGP;CAEA,OAAgB,GAAA,CAAoB,IAAA;EACnC,IAAI,EAAK,SAAS,EAAS,SAC1B,MAAU,MAAM,8CAAA;EAMjB,IAHA,KAAK,UAAU,EAAK,SACpB,KAAK,UAAU,GAEX,KAAK,aAAa;EACtB,IAAI,EAAe,OAElB,OAAA,MADA,KAAK,cAAA,CAAc;EAIpB,IAAM,IAAO,KAAK,IAAI,IAAK,KAAK,IAAI,GAAK,GAAS,QAAQ,CAAA,CAAA,GACpD,IAAW,GAAS,YAAY,IAChC,KAAS,GAAS,SAAS,MAAM,GAAS,WAAW;EAE3D,KAAK,QAAQ,GAAM,GAAU,CAAA,GAC7B,KAAK,cAAA,CAAc;CAGpB;CAEA,cAAA;EAEC,IADA,KAAK,cAAA,CAAc,GACf,KAAK,WAAA,CAAY,EAAe,OAAO;GAC1C,IAAM,IAAO,KAAK,IAAI,IAAK,KAAK,IAAI,GAAK,KAAK,QAAQ,QAAQ,CAAA,CAAA,GACxD,IAAW,KAAK,QAAQ,YAAY,IACpC,KAAS,KAAK,QAAQ,SAAS,MAAM,KAAK,QAAQ,WAAW;GACnE,KAAK,QAAQ,GAAM,GAAU,CAAA,GAC7B,KAAK,cAAA,CAAc;EACpB;CACD;CAEA,QAAgB,GAAc,GAAkB,GAAA;EAC/C,IAAM,IAAS,IAAO,KAAM,IAAgB,GACtC,IAAW,EAAO,YAAY,IAAI,KAAK,KAAK,CAAA,IAC5C,IAA2B,IAAI,IAAhB;EAErB,KAAK,WAAW,OAAA,GAEhB,KAAK,QAAQ,MAAM,aAAa,sBAChC,KAAK,YAAY,KAAK,QAAQ,QAC7B,CACC;GAAE,SAAS;GAAG,WAAW,eAAe,EAAA;EAAA,GACxC;GAAE,SAAS;GAAG,WAAW;EAAA,CAAA,GAE1B;GACC,UAAA;GACA,OAAA;GACA,QAAQ,EAAO;GACf,MAAM;EAAA,CAAA,GAKR,EAAK,KAAK,UAAU,QAAA,EAClB,KACA,EAAK,CAAA,GACL,QAAA;GACC,KAAK,QAAQ,MAAM,aAAa,IAChC,KAAK,YAAA,KAAY;EAAA,CAAA,GAElB,QAAiB,CAAA,CAAA,EAEjB,UAAA;CACH;CAEA,eAAA;EACC,KAAK,WAAW,OAAA,GAChB,KAAK,YAAA,KAAY;CAClB;AAAA,CAAA;AAAA,SAAA,KAAA"}
|
|
@@ -203,7 +203,7 @@ The manifest already has everything needed; the package is just the JSON-RPC wra
|
|
|
203
203
|
|
|
204
204
|
**Problem.** `handover/agent-runtime-v1.md` had `<PENDING>` placeholders that we manually replaced with `0.9.13` after the first publish. Future handover docs will have the same issue.
|
|
205
205
|
|
|
206
|
-
**Fix.** A build step that substitutes `0.10.
|
|
206
|
+
**Fix.** A build step that substitutes `0.10.43` in `handover/**/*.md` against `package.json`'s `version` field on every build. `dist/handover/**/*.md` gets the rendered version; the source stays templated.
|
|
207
207
|
|
|
208
208
|
**Effort:** ~30 min (one sed step or a tiny script).
|
|
209
209
|
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
## The URLs you asked for
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
https://esm.sh/@mhmo91/schmancy/agent@0.10.
|
|
11
|
-
https://esm.sh/@mhmo91/schmancy/agent/manifest@0.10.
|
|
10
|
+
https://esm.sh/@mhmo91/schmancy/agent@0.10.43
|
|
11
|
+
https://esm.sh/@mhmo91/schmancy/agent/manifest@0.10.43
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
`0.9.13` is the first release containing `/agent`; every subsequent publish serves the same subpath. `npm view @mhmo91/schmancy version` always returns the current pin if you want to float forward.
|
|
@@ -20,7 +20,7 @@ One script tag. No bundler, no bare specifiers, no npm install.
|
|
|
20
20
|
```html
|
|
21
21
|
<!doctype html>
|
|
22
22
|
<script type="module">
|
|
23
|
-
import { $dialog, theme } from 'https://esm.sh/@mhmo91/schmancy/agent@0.10.
|
|
23
|
+
import { $dialog, theme } from 'https://esm.sh/@mhmo91/schmancy/agent@0.10.43';
|
|
24
24
|
</script>
|
|
25
25
|
<schmancy-theme root scheme="dark">
|
|
26
26
|
<schmancy-surface type="solid" fill="all">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hashContent
|
|
1
|
+
{"version":3,"file":"hashContent--s09Ed_g.cjs","names":[],"sources":["../src/utils/hashContent.ts"],"sourcesContent":["export default function (content: string): string {\n\tconst fnvOffsetBasis = 0x811c9dc5\n\tconst fnvPrime = 0x01000193\n\tlet hash = fnvOffsetBasis\n\n\tfor (let i = 0; i < content.length; i++) {\n\t\thash ^= content.charCodeAt(i)\n\t\thash = (hash * fnvPrime) >>> 0 // Ensure unsigned 32-bit integer\n\t}\n\n\treturn hash.toString(16) // Convert to hexadecimal string for compactness\n}\n"],"mappings":"AAAA,SAAA,EAAyB,EAAA,CAGxB,IAAI,EAFmB,WAIvB,IAAK,IAAI,EAAI,EAAG,EAAI,EAAQ,OAAQ,IACnC,GAAQ,EAAQ,WAAW,CAAA,EAC3B,EALgB,SAKR,IAAqB,EAG9B,OAAO,EAAK,SAAS,EAAA,CACtB,CAAA,OAAA,eAAA,QAAA,IAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,CAAA,CAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hashContent-
|
|
1
|
+
{"version":3,"file":"hashContent-CAvrQ56N.js","names":[],"sources":["../src/utils/hashContent.ts"],"sourcesContent":["export default function (content: string): string {\n\tconst fnvOffsetBasis = 0x811c9dc5\n\tconst fnvPrime = 0x01000193\n\tlet hash = fnvOffsetBasis\n\n\tfor (let i = 0; i < content.length; i++) {\n\t\thash ^= content.charCodeAt(i)\n\t\thash = (hash * fnvPrime) >>> 0 // Ensure unsigned 32-bit integer\n\t}\n\n\treturn hash.toString(16) // Convert to hexadecimal string for compactness\n}\n"],"mappings":"AAAA,SAAA,EAAyB,GAAA;CAGxB,IAAI,IAFmB;CAIvB,KAAK,IAAI,IAAI,GAAG,IAAI,EAAQ,QAAQ,KACnC,KAAQ,EAAQ,WAAW,CAAA,GAC3B,IALgB,WAKR,MAAqB;CAG9B,OAAO,EAAK,SAAS,EAAA;AACtB;AAAA,SAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
require(`./chunk-CncqDLb2.cjs`);const e=require(`./SchmancyElement-CeKrBW2j.cjs`);require(`./mixins-Cjn20BQH.cjs`);let t=require(`lit/decorators.js`),n=require(`lit`);var r=class extends e.t{constructor(...e){super(...e),this.name=``}static{this.styles=[n.css`
|
|
2
|
+
:host {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
place-items: center;
|
|
5
|
+
place-content: center;
|
|
6
|
+
font-size: 24px;
|
|
7
|
+
width: 1em;
|
|
8
|
+
height: 1em;
|
|
9
|
+
flex-shrink: 0;
|
|
10
|
+
color: inherit;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
svg {
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
fill: currentColor;
|
|
17
|
+
overflow: visible;
|
|
18
|
+
}
|
|
19
|
+
`]}connectedCallback(){super.connectedCallback(),this.name=this.textContent?.trim()??``,this.observer=new MutationObserver(()=>{this.name=this.textContent?.trim()??``}),this.observer.observe(this,{childList:!0,characterData:!0,subtree:!0}),this.setAttribute(`aria-hidden`,`true`),this.setAttribute(`translate`,`no`)}disconnectedCallback(){super.disconnectedCallback(),this.observer?.disconnect()}render(){let e=window.__siIcons?.[this.name];return n.html`
|
|
20
|
+
<slot style="display:none"></slot>
|
|
21
|
+
${e?n.html`<svg viewBox="0 -960 960 960" xmlns="http://www.w3.org/2000/svg">${n.svg`<path d="${e}"/>`}</svg>`:n.nothing}
|
|
22
|
+
`}};e.u([(0,t.state)()],r.prototype,`name`,void 0),r=e.u([(0,t.customElement)(`schmancy-icon`)],r);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons-BeGKDZ-k.cjs","names":[],"sources":["../src/icons/icon.ts"],"sourcesContent":["import { SchmancyElement } from '@mixins/index'\nimport { css, html, nothing, svg } from 'lit'\nimport { customElement, state } from 'lit/decorators.js'\n\ndeclare global {\n\tinterface Window {\n\t\t// eslint-disable-next-line no-underscore-dangle -- public runtime contract: global populated by the external schmancy-icons Vite plugin; renaming breaks consumers\n\t\t__siIcons?: Record<string, string>\n\t}\n}\n\n/**\n * @element schmancy-icon\n * Renders a Material Symbol inline as SVG — path data comes from\n * window.__siIcons populated by the schmancy-icons Vite plugin.\n *\n * Size: set font-size on the host via Tailwind (e.g. class=\"text-2xl\").\n * Color: inherits currentColor.\n * Active fill: use the \"-fill\" variant name: \"home-fill\".\n *\n * Usage:\n * <schmancy-icon>home</schmancy-icon>\n * <schmancy-icon class=\"text-lg text-primary-default\">delete</schmancy-icon>\n * <schmancy-icon>${active ? 'home-fill' : 'home'}</schmancy-icon>\n */\n@customElement('schmancy-icon')\nexport default class SchmancyIcon extends SchmancyElement {\n\tstatic styles = [\n\t\tcss`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tplace-items: center;\n\t\t\t\tplace-content: center;\n\t\t\t\tfont-size: 24px;\n\t\t\t\twidth: 1em;\n\t\t\t\theight: 1em;\n\t\t\t\tflex-shrink: 0;\n\t\t\t\tcolor: inherit;\n\t\t\t}\n\n\t\t\tsvg {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tfill: currentColor;\n\t\t\t\toverflow: visible;\n\t\t\t}\n\t\t`,\n\t]\n\n\t@state() private name = ''\n\n\tprivate observer?: MutationObserver\n\n\toverride connectedCallback(): void {\n\t\tsuper.connectedCallback()\n\t\tthis.name = this.textContent?.trim() ?? ''\n\t\tthis.observer = new MutationObserver(() => {\n\t\t\tthis.name = this.textContent?.trim() ?? ''\n\t\t})\n\t\tthis.observer.observe(this, { childList: true, characterData: true, subtree: true })\n\t\tthis.setAttribute('aria-hidden', 'true')\n\t\tthis.setAttribute('translate', 'no')\n\t}\n\n\toverride disconnectedCallback(): void {\n\t\tsuper.disconnectedCallback()\n\t\tthis.observer?.disconnect()\n\t}\n\n\tprotected override render(): unknown {\n\t\t// eslint-disable-next-line no-underscore-dangle -- public runtime contract: see Window.__siIcons declaration above\n\t\tconst path = window.__siIcons?.[this.name]\n\t\treturn html`\n\t\t\t<slot style=\"display:none\"></slot>\n\t\t\t${path\n\t\t\t\t? html`<svg viewBox=\"0 -960 960 960\" xmlns=\"http://www.w3.org/2000/svg\">${svg`<path d=\"${path}\"/>`}</svg>`\n\t\t\t\t: nothing}\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-icon': SchmancyIcon\n\t}\n}\n"],"mappings":"uKA0Be,IAAA,EAAA,cAA2B,EAAA,CAAA,CAAA,YAAA,GAAA,EAAA,CAAA,MAAA,GAAA,CAAA,EAAA,KAAA,KAuBjB,EAAA,CAAA,OAAA,KAAA,OAtBR,CACf,EAAA,GAAG;;;;;;;;;;;;;;;;;;KAyBJ,mBAAA,CACC,MAAM,kBAAA,EACN,KAAK,KAAO,KAAK,aAAa,KAAA,GAAU,GACxC,KAAK,SAAW,IAAI,qBAAA,CACnB,KAAK,KAAO,KAAK,aAAa,KAAA,GAAU,EAAA,CAAA,EAEzC,KAAK,SAAS,QAAQ,KAAM,CAAE,UAAA,CAAW,EAAM,cAAA,CAAe,EAAM,QAAA,CAAS,CAAA,CAAA,EAC7E,KAAK,aAAa,cAAe,MAAA,EACjC,KAAK,aAAa,YAAa,IAAA,CAChC,CAEA,sBAAA,CACC,MAAM,qBAAA,EACN,KAAK,UAAU,WAAA,CAChB,CAEA,QAAA,CAEC,IAAM,EAAO,OAAO,YAAY,KAAK,MACrC,MAAO,GAAA,IAAI;;KAER,EACC,EAAA,IAAI,oEAAoE,EAAA,GAAG,YAAY,EAAA,KAAA,QACvF,EAAA,QAAA;GAEL,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,OAAA,CAAA,EA7BO,EAAA,UAAA,OAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,eAxBO,eAAA,CAAA,EAAe,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e, u as t } from "./SchmancyElement-
|
|
2
|
-
import "./mixins-
|
|
1
|
+
import { t as e, u as t } from "./SchmancyElement-Ob9yGkiG.js";
|
|
2
|
+
import "./mixins-q4KAL8Xr.js";
|
|
3
3
|
import { customElement as n, state as r } from "lit/decorators.js";
|
|
4
4
|
import { css as i, html as a, nothing as o, svg as s } from "lit";
|
|
5
5
|
var c = class extends e {
|
|
@@ -8,24 +8,24 @@ var c = class extends e {
|
|
|
8
8
|
}
|
|
9
9
|
static {
|
|
10
10
|
this.styles = [i`
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
:host {
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
place-items: center;
|
|
14
|
+
place-content: center;
|
|
15
|
+
font-size: 24px;
|
|
16
|
+
width: 1em;
|
|
17
|
+
height: 1em;
|
|
18
|
+
flex-shrink: 0;
|
|
19
|
+
color: inherit;
|
|
20
|
+
}
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
svg {
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
fill: currentColor;
|
|
26
|
+
overflow: visible;
|
|
27
|
+
}
|
|
28
|
+
`];
|
|
29
29
|
}
|
|
30
30
|
connectedCallback() {
|
|
31
31
|
super.connectedCallback(), this.name = this.textContent?.trim() ?? "", this.observer = new MutationObserver(() => {
|
|
@@ -43,9 +43,7 @@ var c = class extends e {
|
|
|
43
43
|
let e = window.__siIcons?.[this.name];
|
|
44
44
|
return a`
|
|
45
45
|
<slot style="display:none"></slot>
|
|
46
|
-
${e ? a`<svg viewBox="0 -960 960 960" xmlns="http://www.w3.org/2000/svg"
|
|
47
|
-
${s`<path d="${e}"/>`}
|
|
48
|
-
</svg>` : o}
|
|
46
|
+
${e ? a`<svg viewBox="0 -960 960 960" xmlns="http://www.w3.org/2000/svg">${s`<path d="${e}"/>`}</svg>` : o}
|
|
49
47
|
`;
|
|
50
48
|
}
|
|
51
49
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons-DEJnIxml.js","names":[],"sources":["../src/icons/icon.ts"],"sourcesContent":["import { SchmancyElement } from '@mixins/index'\nimport { css, html, nothing, svg } from 'lit'\nimport { customElement, state } from 'lit/decorators.js'\n\ndeclare global {\n\tinterface Window {\n\t\t// eslint-disable-next-line no-underscore-dangle -- public runtime contract: global populated by the external schmancy-icons Vite plugin; renaming breaks consumers\n\t\t__siIcons?: Record<string, string>\n\t}\n}\n\n/**\n * @element schmancy-icon\n * Renders a Material Symbol inline as SVG — path data comes from\n * window.__siIcons populated by the schmancy-icons Vite plugin.\n *\n * Size: set font-size on the host via Tailwind (e.g. class=\"text-2xl\").\n * Color: inherits currentColor.\n * Active fill: use the \"-fill\" variant name: \"home-fill\".\n *\n * Usage:\n * <schmancy-icon>home</schmancy-icon>\n * <schmancy-icon class=\"text-lg text-primary-default\">delete</schmancy-icon>\n * <schmancy-icon>${active ? 'home-fill' : 'home'}</schmancy-icon>\n */\n@customElement('schmancy-icon')\nexport default class SchmancyIcon extends SchmancyElement {\n\tstatic styles = [\n\t\tcss`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tplace-items: center;\n\t\t\t\tplace-content: center;\n\t\t\t\tfont-size: 24px;\n\t\t\t\twidth: 1em;\n\t\t\t\theight: 1em;\n\t\t\t\tflex-shrink: 0;\n\t\t\t\tcolor: inherit;\n\t\t\t}\n\n\t\t\tsvg {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tfill: currentColor;\n\t\t\t\toverflow: visible;\n\t\t\t}\n\t\t`,\n\t]\n\n\t@state() private name = ''\n\n\tprivate observer?: MutationObserver\n\n\toverride connectedCallback(): void {\n\t\tsuper.connectedCallback()\n\t\tthis.name = this.textContent?.trim() ?? ''\n\t\tthis.observer = new MutationObserver(() => {\n\t\t\tthis.name = this.textContent?.trim() ?? ''\n\t\t})\n\t\tthis.observer.observe(this, { childList: true, characterData: true, subtree: true })\n\t\tthis.setAttribute('aria-hidden', 'true')\n\t\tthis.setAttribute('translate', 'no')\n\t}\n\n\toverride disconnectedCallback(): void {\n\t\tsuper.disconnectedCallback()\n\t\tthis.observer?.disconnect()\n\t}\n\n\tprotected override render(): unknown {\n\t\t// eslint-disable-next-line no-underscore-dangle -- public runtime contract: see Window.__siIcons declaration above\n\t\tconst path = window.__siIcons?.[this.name]\n\t\treturn html`\n\t\t\t<slot style=\"display:none\"></slot>\n\t\t\t${path\n\t\t\t\t? html`<svg viewBox=\"0 -960 960 960\" xmlns=\"http://www.w3.org/2000/svg\">${svg`<path d=\"${path}\"/>`}</svg>`\n\t\t\t\t: nothing}\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-icon': SchmancyIcon\n\t}\n}\n"],"mappings":";;;;AA0Be,IAAA,IAAA,cAA2B,EAAA;CAAA,YAAA,GAAA,GAAA;EAAA,MAAA,GAAA,CAAA,GAAA,KAAA,OAuBjB;CAAA;CAAA;EAAA,KAAA,SAtBR,CACf,CAAG;;;;;;;;;;;;;;;;;;;;CAyBJ,oBAAA;EACC,MAAM,kBAAA,GACN,KAAK,OAAO,KAAK,aAAa,KAAA,KAAU,IACxC,KAAK,WAAW,IAAI,uBAAA;GACnB,KAAK,OAAO,KAAK,aAAa,KAAA,KAAU;EAAA,CAAA,GAEzC,KAAK,SAAS,QAAQ,MAAM;GAAE,WAAA,CAAW;GAAM,eAAA,CAAe;GAAM,SAAA,CAAS;EAAA,CAAA,GAC7E,KAAK,aAAa,eAAe,MAAA,GACjC,KAAK,aAAa,aAAa,IAAA;CAChC;CAEA,uBAAA;EACC,MAAM,qBAAA,GACN,KAAK,UAAU,WAAA;CAChB;CAEA,SAAA;EAEC,IAAM,IAAO,OAAO,YAAY,KAAK;EACrC,OAAO,CAAI;;KAER,IACC,CAAI,oEAAoE,CAAG,YAAY,EAAA,KAAA,UACvF,EAAA;;CAEL;AAAA;AAAA,EAAA,CA7BC,EAAA,CAAA,GAAM,EAAA,WAAA,QAAA,KAAA,CAAA,GAAA,IAAA,EAAA,CAxBP,EAAc,eAAA,CAAA,GAAe,CAAA"}
|
package/dist/icons.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./icons-
|
|
1
|
+
require(`./icons-BeGKDZ-k.cjs`);
|
package/dist/icons.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import "./icons-
|
|
1
|
+
import "./icons-DEJnIxml.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require(`./chunk-CncqDLb2.cjs`);const e=require(`./SchmancyElement-
|
|
1
|
+
require(`./chunk-CncqDLb2.cjs`);const e=require(`./SchmancyElement-CeKrBW2j.cjs`);require(`./mixins-Cjn20BQH.cjs`);let t=require(`lit/decorators.js`),n=require(`lit`),r=require(`lit/directives/ref.js`);var i=class extends e.t{constructor(...e){super(...e),this.html=``,this.css=``,this.baseCss=`html,body{margin:0;padding:0;overflow:hidden;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word}
|
|
2
2
|
body{padding:16px}
|
|
3
3
|
p{margin:0 0 1em}p:last-child{margin-bottom:0}
|
|
4
4
|
ul,ol{margin:0 0 1em;padding-left:1.5em}li{margin-bottom:.25em}
|
|
@@ -9,14 +9,14 @@ table{border-collapse:collapse;max-width:100%}td,th{padding:4px 8px;border:1px s
|
|
|
9
9
|
blockquote{margin:0 0 1em;padding:.5em 0 .5em 1em;border-left:3px solid #dadce0;color:#5f6368}
|
|
10
10
|
pre{background:#f5f5f5;padding:.75em;border-radius:4px;overflow-x:auto;font-size:.9em}
|
|
11
11
|
code{background:#f5f5f5;padding:.1em .3em;border-radius:3px;font-size:.9em}`,this.sandbox=`allow-same-origin allow-popups`,this.minHeight=60,this.height=60,this.srcdoc=``,this.iframeRef=(0,r.createRef)()}static{this.styles=[n.css`
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
`]}willUpdate(e){(e.has(`html`)||e.has(`css`)||e.has(`baseCss`))&&(this.srcdoc=this.html?this.buildSrcdoc():``,this.height=this.minHeight)}updated(e){e.has(`sandbox`)&&this.iframeRef.value?.setAttribute(`sandbox`,this.sandbox)}buildSrcdoc(){return`<!DOCTYPE html><html><head>\n<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">\n<base target="_blank">\n<style>${this.css?`${this.baseCss}\n${this.css}`:this.baseCss}</style></head><body>${this.html}</body></html>`}onLoad(e){let t=e.target;try{let e=t.contentDocument;if(!e)return;this.height=Math.max(e.documentElement.scrollHeight,this.minHeight)}catch{this.height=Math.max(200,this.minHeight)}}render(){return this.html?n.html`<iframe
|
|
12
|
+
:host {
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
iframe {
|
|
16
|
+
border: 0;
|
|
17
|
+
width: 100%;
|
|
18
|
+
}
|
|
19
|
+
`]}willUpdate(e){(e.has(`html`)||e.has(`css`)||e.has(`baseCss`))&&(this.srcdoc=this.html?this.buildSrcdoc():``,this.height=this.minHeight)}updated(e){e.has(`sandbox`)&&this.iframeRef.value?.setAttribute(`sandbox`,this.sandbox)}buildSrcdoc(){return`<!DOCTYPE html><html><head>\n<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">\n<base target="_blank">\n<style>${this.css?`${this.baseCss}\n${this.css}`:this.baseCss}</style></head><body>${this.html}</body></html>`}onLoad(e){let t=e.target;try{let e=t.contentDocument;if(!e)return;this.height=Math.max(e.documentElement.scrollHeight,this.minHeight)}catch{this.height=Math.max(200,this.minHeight)}}render(){return this.html?n.html`<iframe
|
|
20
20
|
${(0,r.ref)(this.iframeRef)}
|
|
21
21
|
.srcdoc=${this.srcdoc}
|
|
22
22
|
style="height:${this.height}px;min-height:${this.minHeight}px;overflow:hidden"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iframe-BkSukM9C.cjs","names":[],"sources":["../src/iframe/iframe.ts"],"sourcesContent":["import { SchmancyElement } from '@mixins/index'\nimport { css, html, PropertyValues } from 'lit'\nimport { customElement, property, state } from 'lit/decorators.js'\nimport { createRef, ref } from 'lit/directives/ref.js'\n\n/** Sensible document reset for iframe content — font, spacing, word-wrap */\nconst DEFAULT_BASE_CSS = `html,body{margin:0;padding:0;overflow:hidden;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word}\nbody{padding:16px}\np{margin:0 0 1em}p:last-child{margin-bottom:0}\nul,ol{margin:0 0 1em;padding-left:1.5em}li{margin-bottom:.25em}\nh1,h2,h3,h4{margin:0 0 .5em;line-height:1.3}h1{font-size:1.5em}h2{font-size:1.25em}h3{font-size:1.1em}h4{font-size:1em}\nhr{border:none;border-top:1px solid #dadce0;margin:1em 0}\nimg{max-width:100%;height:auto}\ntable{border-collapse:collapse;max-width:100%}td,th{padding:4px 8px;border:1px solid #dadce0}\nblockquote{margin:0 0 1em;padding:.5em 0 .5em 1em;border-left:3px solid #dadce0;color:#5f6368}\npre{background:#f5f5f5;padding:.75em;border-radius:4px;overflow-x:auto;font-size:.9em}\ncode{background:#f5f5f5;padding:.1em .3em;border-radius:3px;font-size:.9em}`\n\n/**\n * Renders an HTML fragment inside a sandboxed, auto-sizing iframe.\n *\n * @slot - (none)\n * @fires load — native iframe load event\n *\n * @example\n * ```html\n * <schmancy-iframe .html=${bodyHtml} .css=${extraStyles}></schmancy-iframe>\n * ```\n */\n@customElement('schmancy-iframe')\nexport default class SchmancyIframe extends SchmancyElement {\n\tstatic styles = [\n\t\tcss`\n\t\t\t:host {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t\tiframe {\n\t\t\t\tborder: 0;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t`,\n\t]\n\t/** HTML body fragment to render inside the iframe */\n\t@property({ type: String }) html = ''\n\n\t/** Additional CSS injected after the base styles (consumer-specific) */\n\t@property({ type: String }) css = ''\n\n\t/** Base document CSS (font, spacing, resets). Override for fully custom styling */\n\t@property({ type: String }) baseCss = DEFAULT_BASE_CSS\n\n\t/** iframe sandbox attribute */\n\t@property({ type: String }) sandbox = 'allow-same-origin allow-popups'\n\n\t/** Minimum height in pixels */\n\t@property({ type: Number }) minHeight = 60\n\n\t@state() private height = 60\n\tprivate srcdoc = ''\n\tprivate iframeRef = createRef<HTMLIFrameElement>()\n\n\tprotected willUpdate(changed: PropertyValues) {\n\t\tif (changed.has('html') || changed.has('css') || changed.has('baseCss')) {\n\t\t\tthis.srcdoc = this.html ? this.buildSrcdoc() : ''\n\t\t\tthis.height = this.minHeight\n\t\t}\n\t}\n\n\tprotected updated(changed: PropertyValues) {\n\t\tif (changed.has('sandbox')) {\n\t\t\tthis.iframeRef.value?.setAttribute('sandbox', this.sandbox)\n\t\t}\n\t}\n\n\tprivate buildSrcdoc(): string {\n\t\tconst styles = this.css ? `${this.baseCss}\\n${this.css}` : this.baseCss\n\t\treturn `<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<base target=\"_blank\">\n<style>${styles}</style></head><body>${this.html}</body></html>`\n\t}\n\n\tprivate onLoad(e: Event) {\n\t\tconst iframe = e.target as HTMLIFrameElement\n\t\ttry {\n\t\t\tconst doc = iframe.contentDocument\n\t\t\tif (!doc) return\n\t\t\tthis.height = Math.max(doc.documentElement.scrollHeight, this.minHeight)\n\t\t} catch {\n\t\t\tthis.height = Math.max(200, this.minHeight)\n\t\t}\n\t}\n\n\tprotected render() {\n\t\tif (!this.html) return html``\n\t\treturn html`<iframe\n\t\t\t${ref(this.iframeRef)}\n\t\t\t.srcdoc=${this.srcdoc}\n\t\t\tstyle=\"height:${this.height}px;min-height:${this.minHeight}px;overflow:hidden\"\n\t\t\t@load=${this.onLoad}\n\t\t></iframe>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-iframe': SchmancyIframe\n\t}\n}\n"],"mappings":"0MAMA,IAwBe,EAAA,cAA6B,EAAA,CAAA,CAAA,YAAA,GAAA,EAAA,CAAA,MAAA,GAAA,CAAA,EAAA,KAAA,KAaR,GAAA,KAAA,IAGD,GAAA,KAAA,QAxCV;;;;;;;;;;6EAAA,KAAA,QA8Cc,iCAAA,KAAA,UAGE,GAAA,KAAA,OAEd,GAAA,KAAA,OACT,GAAA,KAAA,WAAA,EAAA,EAAA,WAAA,CAAA,CAAA,OAAA,KAAA,OA3BD,CACf,EAAA,GAAG;;;;;;;;KA6BJ,WAAqB,EAAA,EAChB,EAAQ,IAAI,MAAA,GAAW,EAAQ,IAAI,KAAA,GAAU,EAAQ,IAAI,SAAA,KAC5D,KAAK,OAAS,KAAK,KAAO,KAAK,YAAA,EAAgB,GAC/C,KAAK,OAAS,KAAK,UAErB,CAEA,QAAkB,EAAA,CACb,EAAQ,IAAI,SAAA,GACf,KAAK,UAAU,OAAO,aAAa,UAAW,KAAK,OAAA,CAErD,CAEA,aAAA,CAEC,MAAO,0JADQ,KAAK,IAAM,GAAG,KAAK,QAAA,IAAY,KAAK,MAAQ,KAAK,QAAA,uBAI3B,KAAK,KAAA,eAC3C,CAEA,OAAe,EAAA,CACd,IAAM,EAAS,EAAE,OACjB,GAAA,CACC,IAAM,EAAM,EAAO,gBACnB,GAAA,CAAK,EAAK,OACV,KAAK,OAAS,KAAK,IAAI,EAAI,gBAAgB,aAAc,KAAK,SAAA,CAC/D,MAAA,CACC,KAAK,OAAS,KAAK,IAAI,IAAK,KAAK,SAAA,CAClC,CACD,CAEA,QAAA,CACC,OAAK,KAAK,KACH,EAAA,IAAI;eACJ,KAAK,SAAA,EAAA;aACD,KAAK,OAAA;mBACC,KAAK,OAAA,gBAAuB,KAAK,UAAA;WACzC,KAAK,OAAA;cALS,EAAA,IAAI,EAO5B,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UA1DU,CAAE,KAAM,MAAA,CAAA,CAAA,EAAQ,EAAA,UAAA,OAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGhB,CAAE,KAAM,MAAA,CAAA,CAAA,EAAQ,EAAA,UAAA,MAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGhB,CAAE,KAAM,MAAA,CAAA,CAAA,EAAQ,EAAA,UAAA,UAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGhB,CAAE,KAAM,MAAA,CAAA,CAAA,EAAQ,EAAA,UAAA,UAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGhB,CAAE,KAAM,MAAA,CAAA,CAAA,EAAQ,EAAA,UAAA,YAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,OAAA,CAAA,EAEnB,EAAA,UAAA,SAAA,IAAA,EAAA,EAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,eA5BO,iBAAA,CAAA,EAAiB,CAAA,EAAA,OAAA,eAAA,QAAA,IAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,CAAA,CAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e, u as t } from "./SchmancyElement-
|
|
2
|
-
import "./mixins-
|
|
1
|
+
import { t as e, u as t } from "./SchmancyElement-Ob9yGkiG.js";
|
|
2
|
+
import "./mixins-q4KAL8Xr.js";
|
|
3
3
|
import { customElement as n, property as r, state as i } from "lit/decorators.js";
|
|
4
4
|
import { css as a, html as o } from "lit";
|
|
5
5
|
import { createRef as s, ref as c } from "lit/directives/ref.js";
|
|
@@ -9,14 +9,14 @@ var l = class extends e {
|
|
|
9
9
|
}
|
|
10
10
|
static {
|
|
11
11
|
this.styles = [a`
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
`];
|
|
12
|
+
:host {
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
iframe {
|
|
16
|
+
border: 0;
|
|
17
|
+
width: 100%;
|
|
18
|
+
}
|
|
19
|
+
`];
|
|
20
20
|
}
|
|
21
21
|
willUpdate(e) {
|
|
22
22
|
(e.has("html") || e.has("css") || e.has("baseCss")) && (this.srcdoc = this.html ? this.buildSrcdoc() : "", this.height = this.minHeight);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iframe-V3S-bwEY.js","names":[],"sources":["../src/iframe/iframe.ts"],"sourcesContent":["import { SchmancyElement } from '@mixins/index'\nimport { css, html, PropertyValues } from 'lit'\nimport { customElement, property, state } from 'lit/decorators.js'\nimport { createRef, ref } from 'lit/directives/ref.js'\n\n/** Sensible document reset for iframe content — font, spacing, word-wrap */\nconst DEFAULT_BASE_CSS = `html,body{margin:0;padding:0;overflow:hidden;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word}\nbody{padding:16px}\np{margin:0 0 1em}p:last-child{margin-bottom:0}\nul,ol{margin:0 0 1em;padding-left:1.5em}li{margin-bottom:.25em}\nh1,h2,h3,h4{margin:0 0 .5em;line-height:1.3}h1{font-size:1.5em}h2{font-size:1.25em}h3{font-size:1.1em}h4{font-size:1em}\nhr{border:none;border-top:1px solid #dadce0;margin:1em 0}\nimg{max-width:100%;height:auto}\ntable{border-collapse:collapse;max-width:100%}td,th{padding:4px 8px;border:1px solid #dadce0}\nblockquote{margin:0 0 1em;padding:.5em 0 .5em 1em;border-left:3px solid #dadce0;color:#5f6368}\npre{background:#f5f5f5;padding:.75em;border-radius:4px;overflow-x:auto;font-size:.9em}\ncode{background:#f5f5f5;padding:.1em .3em;border-radius:3px;font-size:.9em}`\n\n/**\n * Renders an HTML fragment inside a sandboxed, auto-sizing iframe.\n *\n * @slot - (none)\n * @fires load — native iframe load event\n *\n * @example\n * ```html\n * <schmancy-iframe .html=${bodyHtml} .css=${extraStyles}></schmancy-iframe>\n * ```\n */\n@customElement('schmancy-iframe')\nexport default class SchmancyIframe extends SchmancyElement {\n\tstatic styles = [\n\t\tcss`\n\t\t\t:host {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t\tiframe {\n\t\t\t\tborder: 0;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t`,\n\t]\n\t/** HTML body fragment to render inside the iframe */\n\t@property({ type: String }) html = ''\n\n\t/** Additional CSS injected after the base styles (consumer-specific) */\n\t@property({ type: String }) css = ''\n\n\t/** Base document CSS (font, spacing, resets). Override for fully custom styling */\n\t@property({ type: String }) baseCss = DEFAULT_BASE_CSS\n\n\t/** iframe sandbox attribute */\n\t@property({ type: String }) sandbox = 'allow-same-origin allow-popups'\n\n\t/** Minimum height in pixels */\n\t@property({ type: Number }) minHeight = 60\n\n\t@state() private height = 60\n\tprivate srcdoc = ''\n\tprivate iframeRef = createRef<HTMLIFrameElement>()\n\n\tprotected willUpdate(changed: PropertyValues) {\n\t\tif (changed.has('html') || changed.has('css') || changed.has('baseCss')) {\n\t\t\tthis.srcdoc = this.html ? this.buildSrcdoc() : ''\n\t\t\tthis.height = this.minHeight\n\t\t}\n\t}\n\n\tprotected updated(changed: PropertyValues) {\n\t\tif (changed.has('sandbox')) {\n\t\t\tthis.iframeRef.value?.setAttribute('sandbox', this.sandbox)\n\t\t}\n\t}\n\n\tprivate buildSrcdoc(): string {\n\t\tconst styles = this.css ? `${this.baseCss}\\n${this.css}` : this.baseCss\n\t\treturn `<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<base target=\"_blank\">\n<style>${styles}</style></head><body>${this.html}</body></html>`\n\t}\n\n\tprivate onLoad(e: Event) {\n\t\tconst iframe = e.target as HTMLIFrameElement\n\t\ttry {\n\t\t\tconst doc = iframe.contentDocument\n\t\t\tif (!doc) return\n\t\t\tthis.height = Math.max(doc.documentElement.scrollHeight, this.minHeight)\n\t\t} catch {\n\t\t\tthis.height = Math.max(200, this.minHeight)\n\t\t}\n\t}\n\n\tprotected render() {\n\t\tif (!this.html) return html``\n\t\treturn html`<iframe\n\t\t\t${ref(this.iframeRef)}\n\t\t\t.srcdoc=${this.srcdoc}\n\t\t\tstyle=\"height:${this.height}px;min-height:${this.minHeight}px;overflow:hidden\"\n\t\t\t@load=${this.onLoad}\n\t\t></iframe>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-iframe': SchmancyIframe\n\t}\n}\n"],"mappings":";;;;;AAMA,IAwBe,IAAA,cAA6B,EAAA;CAAA,YAAA,GAAA,GAAA;EAAA,MAAA,GAAA,CAAA,GAAA,KAAA,OAaR,IAAA,KAAA,MAGD,IAAA,KAAA,UAxCV,27BAAA,KAAA,UA8Cc,kCAAA,KAAA,YAGE,IAAA,KAAA,SAEd,IAAA,KAAA,SACT,IAAA,KAAA,YACG,EAAA;CAAA;CAAA;EAAA,KAAA,SA5BJ,CACf,CAAG;;;;;;;;;;CA6BJ,WAAqB,GAAA;EAAA,CAChB,EAAQ,IAAI,MAAA,KAAW,EAAQ,IAAI,KAAA,KAAU,EAAQ,IAAI,SAAA,OAC5D,KAAK,SAAS,KAAK,OAAO,KAAK,YAAA,IAAgB,IAC/C,KAAK,SAAS,KAAK;CAErB;CAEA,QAAkB,GAAA;EACb,EAAQ,IAAI,SAAA,KACf,KAAK,UAAU,OAAO,aAAa,WAAW,KAAK,OAAA;CAErD;CAEA,cAAA;EAEC,OAAO,0JADQ,KAAK,MAAM,GAAG,KAAK,QAAA,IAAY,KAAK,QAAQ,KAAK,QAAA,uBAI3B,KAAK,KAAA;CAC3C;CAEA,OAAe,GAAA;EACd,IAAM,IAAS,EAAE;EACjB,IAAA;GACC,IAAM,IAAM,EAAO;GACnB,IAAA,CAAK,GAAK;GACV,KAAK,SAAS,KAAK,IAAI,EAAI,gBAAgB,cAAc,KAAK,SAAA;EAC/D,QAAA;GACC,KAAK,SAAS,KAAK,IAAI,KAAK,KAAK,SAAA;EAClC;CACD;CAEA,SAAA;EACC,OAAK,KAAK,OACH,CAAI;KACR,EAAI,KAAK,SAAA,EAAA;aACD,KAAK,OAAA;mBACC,KAAK,OAAA,gBAAuB,KAAK,UAAA;WACzC,KAAK,OAAA;gBALS,CAAI;CAO5B;AAAA;AAAA,EAAA,CA1DC,EAAS,EAAE,MAAM,OAAA,CAAA,CAAA,GAAQ,EAAA,WAAA,QAAA,KAAA,CAAA,GAAA,EAAA,CAGzB,EAAS,EAAE,MAAM,OAAA,CAAA,CAAA,GAAQ,EAAA,WAAA,OAAA,KAAA,CAAA,GAAA,EAAA,CAGzB,EAAS,EAAE,MAAM,OAAA,CAAA,CAAA,GAAQ,EAAA,WAAA,WAAA,KAAA,CAAA,GAAA,EAAA,CAGzB,EAAS,EAAE,MAAM,OAAA,CAAA,CAAA,GAAQ,EAAA,WAAA,WAAA,KAAA,CAAA,GAAA,EAAA,CAGzB,EAAS,EAAE,MAAM,OAAA,CAAA,CAAA,GAAQ,EAAA,WAAA,aAAA,KAAA,CAAA,GAAA,EAAA,CAEzB,EAAA,CAAA,GAAM,EAAA,WAAA,UAAA,KAAA,CAAA;AAAA,IAAA,IAAA,IAAA,EAAA,CA5BP,EAAc,iBAAA,CAAA,GAAiB,CAAA;AAAA,SAAA,KAAA"}
|
package/dist/iframe.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./iframe-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./iframe-BkSukM9C.cjs`);exports.SchmancyIframe=e.t;
|
package/dist/iframe.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./iframe-
|
|
1
|
+
import { t as e } from "./iframe-V3S-bwEY.js";
|
|
2
2
|
export { e as SchmancyIframe };
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk-CncqDLb2.cjs`);const e=require(`./SchmancyElement-D9WA9FP9.cjs`),t=require(`./area-C7XjCoet.cjs`),n=require(`./lazy-C-7a4FAe.cjs`),r=require(`./state--x58-AuK.cjs`),i=require(`./sound.service-Qhr8nCeG.cjs`),a=require(`./audio-xXFfMPCS.cjs`),o=require(`./search-DPKoC-dT.cjs`),s=require(`./input-chip-kytMdbaM.cjs`),c=require(`./animation-CCOIW4wJ.cjs`),l=require(`./directives-CYf2fAdA.cjs`),ee=require(`./reduced-motion-Ds-HjMzn.cjs`),u=require(`./cursor-glow-Bulq-38P.cjs`),d=require(`./theme.service-DA6KY52G.cjs`),f=require(`./layout-BhfC26Ks.cjs`),te=require(`./overlay-stack-Bdr9lOqi.cjs`),ne=require(`./gravity-6pL6CfIr.cjs`),p=require(`./discovery.service-CIa3Eeuk.cjs`),m=require(`./magnetic-DKtc4umC.cjs`),h=require(`./src-CpftzdZV.cjs`),g=require(`./overlay.service-BQmva9GY.cjs`),_=require(`./boat-BIYaPAHp.cjs`),re=require(`./button-BTpxQ1Kd.cjs`),ie=require(`./button.cjs`),ae=require(`./checkbox-CYGOVPP-.cjs`),v=require(`./chips-DVes-BSz.cjs`),y=require(`./connectivity.cjs`),b=require(`./date-range-DDUuBlJ6.cjs`),x=require(`./date-range-inline-Dx4Reboo.cjs`),S=require(`./delay.cjs`),oe=require(`./details-Bx2jSJxG.cjs`),C=require(`./dropdown.cjs`),w=require(`./surface-bTjOiq8n.cjs`),T=require(`./expand-_cp8oBjp.cjs`),se=require(`./fab.cjs`),E=require(`./window-oQqx5xqQ.cjs`),D=require(`./float-V7VQKTb8.cjs`),O=require(`./form-DaaAQd2A.cjs`),k=require(`./input-BY4Korc5.cjs`),A=require(`./radio-group-DoSX5D2V.cjs`),j=require(`./range.cjs`),M=require(`./theme.interface-CSt7JUBD.cjs`),N=require(`./select-CObZenqg.cjs`),P=require(`./switch.cjs`),F=require(`./form.cjs`),I=require(`./iframe-88SN5JPu.cjs`),L=require(`./notification-DO3VXceY.cjs`),R=require(`./json.cjs`),z=require(`./layout.cjs`),B=require(`./lightbox-KrZQH9w9.cjs`),V=require(`./list-DIs02A3d.cjs`),H=require(`./navigation-rail.cjs`),U=require(`./overlay-B1jVf-ge.cjs`),W=require(`./typography-Tm7wSaB2.cjs`),G=require(`./overlay.confirm-body-mYDYoJL8.cjs`),K=require(`./rxjs-utils-Csnks202.cjs`),q=require(`./slider.cjs`),J=require(`./steps.cjs`),Y=require(`./table.cjs`),X=require(`./theme-wwFbvp5e.cjs`),ce=require(`./tooltip.cjs`),le=require(`./tree.cjs`),ue=require(`./types.cjs`),de=require(`./typewriter.cjs`),Z=require(`./utils-DTa3QHxk.cjs`),fe=require(`./avatar.cjs`),Q=require(`./breadcrumb.cjs`),pe=require(`./kbd.cjs`),me=require(`./skeleton.cjs`),he=require(`./visually-hidden.cjs`);let $=require(`@lit-labs/signals`);exports.$drawer=h.p,exports.$notify=L.r,exports.$sounds=a.t,exports.ANIMATION_CSS_VARS=c.t,exports.BLACKBIRD_EASING=c.n,exports.DISCOVER_EVENT=p.t,exports.DISCOVER_RESPONSE_EVENT=p.n,exports.DURATION_BACKDROP=c.r,exports.DURATION_ENTER=c.i,exports.DURATION_EXIT=c.a,exports.DragDirective=l.h,exports.DropDirective=l.g,exports.EASE_IN=c.o,exports.EASE_OUT=c.s,exports.EmotionalSoundGenerator=a.n,exports.FINDING_MORTIES=t.b,exports.GRID_ANIMATION_CSS=c.c,exports.HERE_RICKY=t.x,exports.HISTORY_STRATEGY=t.v,exports.HereMorty=h.n,Object.defineProperty(exports,`List`,{enumerable:!0,get:function(){return V.t}}),exports.Numbers=Z.t,Object.defineProperty(exports,`RadioButton`,{enumerable:!0,get:function(){return A.t}}),Object.defineProperty(exports,`RadioGroup`,{enumerable:!0,get:function(){return A.n}}),exports.SCHMANCY_EXPAND_REQUEST_CLOSE=T.t,exports.SPRING_BOUNCY=c.l,exports.SPRING_GENTLE=c.u,exports.SPRING_SMOOTH=c.d,exports.SPRING_SNAPPY=c.f,Object.defineProperty(exports,`ScBadgeV2`,{enumerable:!0,get:function(){return h.w}}),Object.defineProperty(exports,`SchmancyArea`,{enumerable:!0,get:function(){return t._}}),Object.defineProperty(exports,`SchmancyAssistChip`,{enumerable:!0,get:function(){return v.r}}),Object.defineProperty(exports,`SchmancyAvatar`,{enumerable:!0,get:function(){return fe.SchmancyAvatar}}),Object.defineProperty(exports,`SchmancyBadgeV2`,{enumerable:!0,get:function(){return h.T}}),exports.SchmancyBoat=_.t,Object.defineProperty(exports,`SchmancyBreadcrumb`,{enumerable:!0,get:function(){return Q.SchmancyBreadcrumb}}),Object.defineProperty(exports,`SchmancyBreadcrumbItem`,{enumerable:!0,get:function(){return Q.SchmancyBreadcrumbItem}}),Object.defineProperty(exports,`SchmancyButton`,{enumerable:!0,get:function(){return re.t}}),Object.defineProperty(exports,`SchmancyCheckbox`,{enumerable:!0,get:function(){return ae.t}}),exports.SchmancyChip=v.n,exports.SchmancyFilterChip=v.n,Object.defineProperty(exports,`SchmancyConnectivityStatus`,{enumerable:!0,get:function(){return y.SchmancyConnectivityStatus}}),Object.defineProperty(exports,`SchmancyContentDrawer`,{enumerable:!0,get:function(){return h._}}),exports.SchmancyContentDrawerID=h.v,Object.defineProperty(exports,`SchmancyContentDrawerMain`,{enumerable:!0,get:function(){return h.g}}),exports.SchmancyContentDrawerMaxHeight=h.y,exports.SchmancyContentDrawerMinWidth=h.b,Object.defineProperty(exports,`SchmancyContentDrawerSheet`,{enumerable:!0,get:function(){return h.h}}),exports.SchmancyContentDrawerSheetMode=h.x,exports.SchmancyContentDrawerSheetState=h.S,exports.SchmancyContext=r.s,Object.defineProperty(exports,`SchmancyDataTable`,{enumerable:!0,get:function(){return Y.SchmancyDataTable}}),Object.defineProperty(exports,`SchmancyDateRange`,{enumerable:!0,get:function(){return b.t}}),exports.SchmancyDateRangeInline=x.t,Object.defineProperty(exports,`SchmancyDelay`,{enumerable:!0,get:function(){return S.SchmancyDelay}}),exports.SchmancyDetails=oe.t,Object.defineProperty(exports,`SchmancyDrawerAppbar`,{enumerable:!0,get:function(){return h.f}}),exports.SchmancyDrawerNavbarMode=h.l,exports.SchmancyDrawerNavbarState=h.u,Object.defineProperty(exports,`SchmancyDropdown`,{enumerable:!0,get:function(){return C.SchmancyDropdown}}),Object.defineProperty(exports,`SchmancyDropdownContent`,{enumerable:!0,get:function(){return C.SchmancyDropdownContent}}),exports.SchmancyEvents=ue.SchmancyEvents,Object.defineProperty(exports,`SchmancyExpandRoot`,{enumerable:!0,get:function(){return T.n}}),Object.defineProperty(exports,`SchmancyFab`,{enumerable:!0,get:function(){return se.SchmancyFab}}),exports.SchmancyFloat=D.t,exports.SchmancyForm=O.t,Object.defineProperty(exports,`SchmancyFormSummary`,{enumerable:!0,get:function(){return F.SchmancyFormSummary}}),exports.SchmancyGenerateMoodAudioEvent=X.n,exports.SchmancyIframe=I.t,exports.SchmancyInput=k.n,Object.defineProperty(exports,`SchmancyInputChip`,{enumerable:!0,get:function(){return s.t}}),Object.defineProperty(exports,`SchmancyInputCompat`,{enumerable:!0,get:function(){return k.t}}),Object.defineProperty(exports,`SchmancyJson`,{enumerable:!0,get:function(){return R.SchmancyJson}}),Object.defineProperty(exports,`SchmancyKbd`,{enumerable:!0,get:function(){return pe.SchmancyKbd}}),Object.defineProperty(exports,`SchmancyLightbox`,{enumerable:!0,get:function(){return B.i}}),Object.defineProperty(exports,`SchmancyListItem`,{enumerable:!0,get:function(){return V.n}}),exports.SchmancyListTypeContext=V.r,Object.defineProperty(exports,`SchmancyNavigationBar`,{enumerable:!0,get:function(){return h.a}}),Object.defineProperty(exports,`SchmancyNavigationBarItem`,{enumerable:!0,get:function(){return h.o}}),Object.defineProperty(exports,`SchmancyNavigationDrawer`,{enumerable:!0,get:function(){return h.c}}),Object.defineProperty(exports,`SchmancyNavigationDrawerContent`,{enumerable:!0,get:function(){return h.d}}),Object.defineProperty(exports,`SchmancyNavigationDrawerSidebar`,{enumerable:!0,get:function(){return h.s}}),Object.defineProperty(exports,`SchmancyNavigationRail`,{enumerable:!0,get:function(){return H.SchmancyNavigationRail}}),Object.defineProperty(exports,`SchmancyNavigationRailItem`,{enumerable:!0,get:function(){return H.SchmancyNavigationRailItem}}),exports.SchmancyNotification=L.i,Object.defineProperty(exports,`SchmancyOverlay`,{enumerable:!0,get:function(){return U.t}}),Object.defineProperty(exports,`SchmancyOverlayPromptBody`,{enumerable:!0,get:function(){return G.t}}),Object.defineProperty(exports,`SchmancyRange`,{enumerable:!0,get:function(){return j.SchmancyRange}}),Object.defineProperty(exports,`SchmancyRoute`,{enumerable:!0,get:function(){return t.y}}),Object.defineProperty(exports,`SchmancyScroll`,{enumerable:!0,get:function(){return z.SchmancyScroll}}),Object.defineProperty(exports,`SchmancySelect`,{enumerable:!0,get:function(){return N.t}}),Object.defineProperty(exports,`SchmancySkeleton`,{enumerable:!0,get:function(){return me.SchmancySkeleton}}),Object.defineProperty(exports,`SchmancySlide`,{enumerable:!0,get:function(){return q.SchmancySlide}}),Object.defineProperty(exports,`SchmancySlider`,{enumerable:!0,get:function(){return q.SchmancySlider}}),Object.defineProperty(exports,`SchmancyStep`,{enumerable:!0,get:function(){return J.SchmancyStep}}),Object.defineProperty(exports,`SchmancySteps`,{enumerable:!0,get:function(){return J.SchmancySteps}}),Object.defineProperty(exports,`SchmancySuggestionChip`,{enumerable:!0,get:function(){return v.t}}),Object.defineProperty(exports,`SchmancySurface`,{enumerable:!0,get:function(){return w.t}}),exports.SchmancySurfaceTypeContext=w.n,Object.defineProperty(exports,`SchmancySwitch`,{enumerable:!0,get:function(){return P.SchmancySwitch}}),Object.defineProperty(exports,`SchmancyTableRow`,{enumerable:!0,get:function(){return Y.SchmancyTableRow}}),Object.defineProperty(exports,`SchmancyTeleportation`,{enumerable:!0,get:function(){return h.t}}),exports.SchmancyTheme=M.t,Object.defineProperty(exports,`SchmancyThemeAudioPlayer`,{enumerable:!0,get:function(){return X.r}}),Object.defineProperty(exports,`SchmancyThemeComponent`,{enumerable:!0,get:function(){return X.a}}),Object.defineProperty(exports,`SchmancyThemeController`,{enumerable:!0,get:function(){return X.i}}),Object.defineProperty(exports,`SchmancyThemeControllerBoat`,{enumerable:!0,get:function(){return X.t}}),Object.defineProperty(exports,`SchmancyTree`,{enumerable:!0,get:function(){return le.SchmancyTree}}),Object.defineProperty(exports,`SchmancyTypography`,{enumerable:!0,get:function(){return W.t}}),Object.defineProperty(exports,`SchmancyVisuallyHidden`,{enumerable:!0,get:function(){return he.SchmancyVisuallyHidden}}),exports.SchmancyWindow=E.t,Object.defineProperty(exports,`SchmnacyIconButton`,{enumerable:!0,get:function(){return ie.SchmnacyIconButton}}),Object.defineProperty(exports,`Signal`,{enumerable:!0,get:function(){return $.Signal}}),exports.StepsController=J.StepsController,exports.ThemeHereIAm=d.r,exports.ThemeWhereAreYou=d.i,exports.WhereAreYouRicky=h.r,exports._activeHost=e.r,exports.aiBadge=l.O,exports.animateText=l.k,exports.area=t.S,exports.art=l.D,exports.beta=l.C,exports.bindState=r.t,exports.buildQueryString=t.t,exports.color=l.S,exports.compareActiveRoutes=t.n,exports.compareCustomElementConstructors=t.r,exports.compareRouteActions=t.i,Object.defineProperty(exports,`computed`,{enumerable:!0,get:function(){return $.computed}}),exports.confirm=g.t,exports.confirmClick=l.x,exports.createAnimation=c.p,exports.createDarkTonalPaletteFromBaseColor=X.s,exports.createDismissAnimation=c.m,exports.createLightTonalPaletteFromBaseColor=X.c,exports.createRevealAnimation=c.h,exports.createRouteCacheKey=t.a,exports.createScaleAnimation=c.g,exports.cursorGlow=u.t,exports.cycleText=l.b,exports.debounce=t.o,exports.decodeData=t.h,exports.decodeRouteState=t.s,exports.deepMerge=t.c,exports.delayContext=S.delayContext,exports.depthOfField=l.y,exports.discover=p.r,exports.discoverAllElements=p.i,exports.discoverAnyComponent=p.a,exports.discoverComponent=p.o,exports.discoverElement=p.s,exports.dismissAll=g.n,exports.drag=l._,exports.drop=l.v,exports.effect=r.n,exports.encodeData=t.g,exports.encodeRouteState=t.l,exports.extractQueryParams=t.u,exports.fill=l.m,exports.flip=B.r,exports.formSubmitState=O.n,exports.formatTheme=X.l,exports.fromResizeObserver=f.t,exports.fullHeight=f.n,exports.fullWidth=f.r,exports.futureCell=l.E,exports.fyi=l.p,exports.getEasing=c._,exports.getTagName=t.d,exports.gravity=ne.t,exports.hummingbird=l.f,exports.intersect=l.d,exports.intersection$=Z.n,exports.isBeta=l.w,exports.isObject=t.f,exports.lazy=n.t,exports.lightbox=B.t,exports.lightboxDirective=B.n,exports.liquid=l.u,exports.livingBorder=l.l,exports.longPress=l.c,exports.magnetic=m.t,exports.missedPunch=l.s,exports.mutationObserver=K.t,exports.nebula=l.o,exports.normalizeTagName=t.p,exports.notify=L.t,exports.notifyProgress=L.n,exports.observe=r.r,exports.openOverlays$=g.r,exports.overflowWithin=l.r,exports.overlayEvents=g.i,exports.overlayStack=te.t,exports.prefersReducedMotion=c.v,exports.prompt=g.a,exports.reducedMotion$=ee.t,exports.reveal=l.a,exports.ripple=l.i,exports.routerHistory=t.C,exports.sanitizeRouteState=t.m,exports.schmancyContentDrawer=h.C,exports.schmancyContext=r.i,exports.schmancyNavDrawer=h.m,exports.schmancySound=i.t,exports.schmancyTheme=d.t,exports.setBetaPredicate=l.T,exports.show=g.o,exports.similarity=o.t,exports.sound=i.n,exports.state=r.a,exports.stateFromObservable=r.o,exports.stepsContext=J.stepsContext,exports.tailwindAnimations=c.y,exports.tailwindStyles=X.o,exports.teleport=h.i,exports.theme=d.n,exports.themeContext=e.d,exports.tooltip=ce.tooltip,exports.typewriter=de.typewriter,exports.urgent=l.n,exports.validateInitialDateRange=b.n,exports.windowManager=E.n,exports.workingSnake=l.t;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk-CncqDLb2.cjs`);const e=require(`./SchmancyElement-CeKrBW2j.cjs`),t=require(`./area-CbajcnmJ.cjs`),n=require(`./lazy-C-7a4FAe.cjs`),r=require(`./state-BWQiqN6I.cjs`),i=require(`./sound.service-CVsxhQkX.cjs`),a=require(`./audio-CpwrIaw-.cjs`),o=require(`./search-DPKoC-dT.cjs`),ee=require(`./input-chip-BUuFJUky.cjs`),s=require(`./animation-CCOIW4wJ.cjs`),c=require(`./directives-B2VxfwRL.cjs`),te=require(`./reduced-motion-Ds-HjMzn.cjs`),l=require(`./cursor-glow-Bulq-38P.cjs`),u=require(`./theme.service-h2fXQq7x.cjs`),d=require(`./layout-CdyHy_oX.cjs`),ne=require(`./overlay-stack-Bdr9lOqi.cjs`),re=require(`./gravity-6pL6CfIr.cjs`),f=require(`./discovery.service-CIa3Eeuk.cjs`),p=require(`./magnetic-DKtc4umC.cjs`),m=require(`./src-DuRvYagm.cjs`),h=require(`./overlay.service-MMTiW2T3.cjs`),g=require(`./boat-sg0cWO8a.cjs`),_=require(`./button-Cml67Y_d.cjs`),ie=require(`./button.cjs`),ae=require(`./calendar-2dJrw9pR.cjs`),oe=require(`./checkbox-DZ2Wrz7Y.cjs`),v=require(`./chips-BHBVkxsa.cjs`),y=require(`./connectivity.cjs`),b=require(`./date-range-CVAWMdar.cjs`),x=require(`./date-range-inline-CGM0SPK9.cjs`),S=require(`./delay.cjs`),se=require(`./details-D4fVOaj4.cjs`),C=require(`./dropdown.cjs`),w=require(`./surface-COBvWWFb.cjs`),T=require(`./expand-D0YdR9nR.cjs`),ce=require(`./fab.cjs`),E=require(`./window-Br1OmpL-.cjs`),D=require(`./float-BPQlDyai.cjs`),O=require(`./form-CoWFnClb.cjs`),k=require(`./input-DSfwfhhj.cjs`),A=require(`./radio-group-CaAjg9UV.cjs`),j=require(`./range.cjs`),M=require(`./theme.interface-B-qxDsZQ.cjs`),N=require(`./select-DcLcpPCh.cjs`),P=require(`./switch.cjs`),F=require(`./form.cjs`),I=require(`./iframe-BkSukM9C.cjs`),L=require(`./notification-DsdA_MJe.cjs`),R=require(`./json.cjs`),z=require(`./layout.cjs`),B=require(`./lightbox-E5rgd-hu.cjs`),V=require(`./list-BRz0rDSH.cjs`),H=require(`./navigation-rail.cjs`),U=require(`./overlay-BzgF8P7i.cjs`),W=require(`./typography-Cfav17it.cjs`),G=require(`./overlay.confirm-body-DCneq73Z.cjs`),le=require(`./rxjs-utils-4P2v57ke.cjs`),K=require(`./slider.cjs`),q=require(`./steps.cjs`),J=require(`./table.cjs`),Y=require(`./theme-BVul7lHS.cjs`),ue=require(`./tooltip.cjs`),de=require(`./tree.cjs`),X=require(`./types.cjs`),fe=require(`./typewriter.cjs`),Z=require(`./utils-DIXndz6Q.cjs`),pe=require(`./avatar.cjs`),Q=require(`./breadcrumb.cjs`),me=require(`./kbd.cjs`),he=require(`./skeleton.cjs`),ge=require(`./visually-hidden.cjs`);let $=require(`@lit-labs/signals`);exports.$drawer=m.p,exports.$notify=L.r,exports.$sounds=a.t,exports.ANIMATION_CSS_VARS=s.t,exports.BLACKBIRD_EASING=s.n,exports.DISCOVER_EVENT=f.t,exports.DISCOVER_RESPONSE_EVENT=f.n,exports.DURATION_BACKDROP=s.r,exports.DURATION_ENTER=s.i,exports.DURATION_EXIT=s.a,exports.DragDirective=c.h,exports.DropDirective=c.g,exports.EASE_IN=s.o,exports.EASE_OUT=s.s,exports.EmotionalSoundGenerator=a.n,exports.FINDING_MORTIES=t.b,exports.GRID_ANIMATION_CSS=s.c,exports.HERE_RICKY=t.x,exports.HISTORY_STRATEGY=t.v,exports.HereMorty=m.n,Object.defineProperty(exports,`List`,{enumerable:!0,get:function(){return V.t}}),exports.Numbers=Z.t,Object.defineProperty(exports,`RadioButton`,{enumerable:!0,get:function(){return A.t}}),Object.defineProperty(exports,`RadioGroup`,{enumerable:!0,get:function(){return A.n}}),exports.SCHMANCY_EXPAND_REQUEST_CLOSE=T.t,exports.SPRING_BOUNCY=s.l,exports.SPRING_GENTLE=s.u,exports.SPRING_SMOOTH=s.d,exports.SPRING_SNAPPY=s.f,exports.SURFACE_SEMANTIC=X.SURFACE_SEMANTIC,exports.SURFACE_TONAL=X.SURFACE_TONAL,exports.SURFACE_UTILITY=X.SURFACE_UTILITY,Object.defineProperty(exports,`ScBadgeV2`,{enumerable:!0,get:function(){return m.w}}),Object.defineProperty(exports,`SchmancyArea`,{enumerable:!0,get:function(){return t._}}),Object.defineProperty(exports,`SchmancyAssistChip`,{enumerable:!0,get:function(){return v.r}}),Object.defineProperty(exports,`SchmancyAvatar`,{enumerable:!0,get:function(){return pe.SchmancyAvatar}}),Object.defineProperty(exports,`SchmancyBadgeV2`,{enumerable:!0,get:function(){return m.T}}),exports.SchmancyBoat=g.t,Object.defineProperty(exports,`SchmancyBreadcrumb`,{enumerable:!0,get:function(){return Q.SchmancyBreadcrumb}}),Object.defineProperty(exports,`SchmancyBreadcrumbItem`,{enumerable:!0,get:function(){return Q.SchmancyBreadcrumbItem}}),Object.defineProperty(exports,`SchmancyButton`,{enumerable:!0,get:function(){return _.t}}),Object.defineProperty(exports,`SchmancyCalendar`,{enumerable:!0,get:function(){return ae.t}}),Object.defineProperty(exports,`SchmancyCheckbox`,{enumerable:!0,get:function(){return oe.t}}),exports.SchmancyChip=v.n,exports.SchmancyFilterChip=v.n,Object.defineProperty(exports,`SchmancyConnectivityStatus`,{enumerable:!0,get:function(){return y.SchmancyConnectivityStatus}}),Object.defineProperty(exports,`SchmancyContentDrawer`,{enumerable:!0,get:function(){return m._}}),exports.SchmancyContentDrawerID=m.v,Object.defineProperty(exports,`SchmancyContentDrawerMain`,{enumerable:!0,get:function(){return m.g}}),exports.SchmancyContentDrawerMaxHeight=m.y,exports.SchmancyContentDrawerMinWidth=m.b,Object.defineProperty(exports,`SchmancyContentDrawerSheet`,{enumerable:!0,get:function(){return m.h}}),exports.SchmancyContentDrawerSheetMode=m.x,exports.SchmancyContentDrawerSheetState=m.S,exports.SchmancyContext=r.s,Object.defineProperty(exports,`SchmancyDataTable`,{enumerable:!0,get:function(){return J.SchmancyDataTable}}),Object.defineProperty(exports,`SchmancyDateRange`,{enumerable:!0,get:function(){return b.t}}),Object.defineProperty(exports,`SchmancyDateRangeDialog`,{enumerable:!0,get:function(){return b.n}}),exports.SchmancyDateRangeInline=x.t,Object.defineProperty(exports,`SchmancyDelay`,{enumerable:!0,get:function(){return S.SchmancyDelay}}),exports.SchmancyDetails=se.t,Object.defineProperty(exports,`SchmancyDrawerAppbar`,{enumerable:!0,get:function(){return m.f}}),exports.SchmancyDrawerNavbarMode=m.l,exports.SchmancyDrawerNavbarState=m.u,Object.defineProperty(exports,`SchmancyDropdown`,{enumerable:!0,get:function(){return C.SchmancyDropdown}}),Object.defineProperty(exports,`SchmancyDropdownContent`,{enumerable:!0,get:function(){return C.SchmancyDropdownContent}}),exports.SchmancyEvents=X.SchmancyEvents,Object.defineProperty(exports,`SchmancyExpandRoot`,{enumerable:!0,get:function(){return T.n}}),Object.defineProperty(exports,`SchmancyFab`,{enumerable:!0,get:function(){return ce.SchmancyFab}}),exports.SchmancyFloat=D.t,exports.SchmancyForm=O.t,Object.defineProperty(exports,`SchmancyFormSummary`,{enumerable:!0,get:function(){return F.SchmancyFormSummary}}),exports.SchmancyGenerateMoodAudioEvent=Y.n,exports.SchmancyIframe=I.t,exports.SchmancyInput=k.n,Object.defineProperty(exports,`SchmancyInputChip`,{enumerable:!0,get:function(){return ee.t}}),Object.defineProperty(exports,`SchmancyInputCompat`,{enumerable:!0,get:function(){return k.t}}),Object.defineProperty(exports,`SchmancyJson`,{enumerable:!0,get:function(){return R.SchmancyJson}}),Object.defineProperty(exports,`SchmancyKbd`,{enumerable:!0,get:function(){return me.SchmancyKbd}}),Object.defineProperty(exports,`SchmancyLightbox`,{enumerable:!0,get:function(){return B.i}}),Object.defineProperty(exports,`SchmancyListItem`,{enumerable:!0,get:function(){return V.n}}),exports.SchmancyListTypeContext=V.r,Object.defineProperty(exports,`SchmancyNavigationBar`,{enumerable:!0,get:function(){return m.a}}),Object.defineProperty(exports,`SchmancyNavigationBarItem`,{enumerable:!0,get:function(){return m.o}}),Object.defineProperty(exports,`SchmancyNavigationDrawer`,{enumerable:!0,get:function(){return m.c}}),Object.defineProperty(exports,`SchmancyNavigationDrawerContent`,{enumerable:!0,get:function(){return m.d}}),Object.defineProperty(exports,`SchmancyNavigationDrawerSidebar`,{enumerable:!0,get:function(){return m.s}}),Object.defineProperty(exports,`SchmancyNavigationRail`,{enumerable:!0,get:function(){return H.SchmancyNavigationRail}}),Object.defineProperty(exports,`SchmancyNavigationRailItem`,{enumerable:!0,get:function(){return H.SchmancyNavigationRailItem}}),exports.SchmancyNotification=L.i,Object.defineProperty(exports,`SchmancyOverlay`,{enumerable:!0,get:function(){return U.t}}),Object.defineProperty(exports,`SchmancyOverlayPromptBody`,{enumerable:!0,get:function(){return G.t}}),Object.defineProperty(exports,`SchmancyRange`,{enumerable:!0,get:function(){return j.SchmancyRange}}),Object.defineProperty(exports,`SchmancyRoute`,{enumerable:!0,get:function(){return t.y}}),Object.defineProperty(exports,`SchmancyScroll`,{enumerable:!0,get:function(){return z.SchmancyScroll}}),Object.defineProperty(exports,`SchmancySelect`,{enumerable:!0,get:function(){return N.t}}),Object.defineProperty(exports,`SchmancySkeleton`,{enumerable:!0,get:function(){return he.SchmancySkeleton}}),Object.defineProperty(exports,`SchmancySlide`,{enumerable:!0,get:function(){return K.SchmancySlide}}),Object.defineProperty(exports,`SchmancySlider`,{enumerable:!0,get:function(){return K.SchmancySlider}}),Object.defineProperty(exports,`SchmancyStep`,{enumerable:!0,get:function(){return q.SchmancyStep}}),Object.defineProperty(exports,`SchmancySteps`,{enumerable:!0,get:function(){return q.SchmancySteps}}),Object.defineProperty(exports,`SchmancySuggestionChip`,{enumerable:!0,get:function(){return v.t}}),Object.defineProperty(exports,`SchmancySurface`,{enumerable:!0,get:function(){return w.t}}),exports.SchmancySurfaceTypeContext=w.n,Object.defineProperty(exports,`SchmancySwitch`,{enumerable:!0,get:function(){return P.SchmancySwitch}}),Object.defineProperty(exports,`SchmancyTableRow`,{enumerable:!0,get:function(){return J.SchmancyTableRow}}),Object.defineProperty(exports,`SchmancyTeleportation`,{enumerable:!0,get:function(){return m.t}}),exports.SchmancyTheme=M.t,Object.defineProperty(exports,`SchmancyThemeAudioPlayer`,{enumerable:!0,get:function(){return Y.r}}),Object.defineProperty(exports,`SchmancyThemeComponent`,{enumerable:!0,get:function(){return Y.a}}),Object.defineProperty(exports,`SchmancyThemeController`,{enumerable:!0,get:function(){return Y.i}}),Object.defineProperty(exports,`SchmancyThemeControllerBoat`,{enumerable:!0,get:function(){return Y.t}}),Object.defineProperty(exports,`SchmancyTree`,{enumerable:!0,get:function(){return de.SchmancyTree}}),Object.defineProperty(exports,`SchmancyTypography`,{enumerable:!0,get:function(){return W.t}}),Object.defineProperty(exports,`SchmancyVisuallyHidden`,{enumerable:!0,get:function(){return ge.SchmancyVisuallyHidden}}),exports.SchmancyWindow=E.t,Object.defineProperty(exports,`SchmnacyIconButton`,{enumerable:!0,get:function(){return ie.SchmnacyIconButton}}),Object.defineProperty(exports,`Signal`,{enumerable:!0,get:function(){return $.Signal}}),exports.StepsController=q.StepsController,exports.ThemeHereIAm=u.r,exports.ThemeWhereAreYou=u.i,exports.WhereAreYouRicky=m.r,exports._activeHost=e.r,exports.aiBadge=c.O,exports.animateText=c.k,exports.area=t.S,exports.art=c.D,exports.beta=c.C,exports.bindState=r.t,exports.buildQueryString=t.t,exports.color=c.S,exports.compareActiveRoutes=t.n,exports.compareCustomElementConstructors=t.r,exports.compareRouteActions=t.i,Object.defineProperty(exports,`computed`,{enumerable:!0,get:function(){return $.computed}}),exports.confirm=h.t,exports.confirmClick=c.x,exports.createAnimation=s.p,exports.createDarkTonalPaletteFromBaseColor=Y.s,exports.createDismissAnimation=s.m,exports.createLightTonalPaletteFromBaseColor=Y.c,exports.createRevealAnimation=s.h,exports.createRouteCacheKey=t.a,exports.createScaleAnimation=s.g,exports.cursorGlow=l.t,exports.cycleText=c.b,exports.debounce=t.o,exports.decodeData=t.h,exports.decodeRouteState=t.s,exports.deepMerge=t.c,exports.delayContext=S.delayContext,exports.depthOfField=c.y,exports.discover=f.r,exports.discoverAllElements=f.i,exports.discoverAnyComponent=f.a,exports.discoverComponent=f.o,exports.discoverElement=f.s,exports.dismissAll=h.n,exports.drag=c._,exports.drop=c.v,exports.effect=r.n,exports.encodeData=t.g,exports.encodeRouteState=t.l,exports.extractQueryParams=t.u,exports.fill=c.m,exports.flip=B.r,exports.formSubmitState=O.n,exports.formatTheme=Y.l,exports.fromResizeObserver=d.t,exports.fullHeight=d.n,exports.fullWidth=d.r,exports.futureCell=c.E,exports.fyi=c.p,exports.getEasing=s._,exports.getTagName=t.d,exports.gravity=re.t,exports.hummingbird=c.f,exports.intersect=c.d,exports.intersection$=Z.n,exports.isBeta=c.w,exports.isObject=t.f,exports.lazy=n.t,exports.lightbox=B.t,exports.lightboxDirective=B.n,exports.liquid=c.u,exports.livingBorder=c.l,exports.longPress=c.c,exports.magnetic=p.t,exports.missedPunch=c.s,exports.mutationObserver=le.t,exports.nebula=c.o,exports.normalizeTagName=t.p,exports.notify=L.t,exports.notifyProgress=L.n,exports.observe=r.r,exports.openOverlays$=h.r,exports.overflowWithin=c.r,exports.overlayEvents=h.i,exports.overlayStack=ne.t,exports.prefersReducedMotion=s.v,exports.prompt=h.a,exports.reducedMotion$=te.t,exports.reveal=c.a,exports.ripple=c.i,exports.routerHistory=t.C,exports.sanitizeRouteState=t.m,exports.schmancyContentDrawer=m.C,exports.schmancyContext=r.i,exports.schmancyNavDrawer=m.m,exports.schmancySound=i.t,exports.schmancyTheme=u.t,exports.setBetaPredicate=c.T,exports.show=h.o,exports.similarity=o.t,exports.sound=i.n,exports.state=r.a,exports.stateFromObservable=r.o,exports.stepsContext=q.stepsContext,exports.tailwindAnimations=s.y,exports.tailwindStyles=Y.o,exports.teleport=m.i,exports.theme=u.n,exports.themeContext=e.d,exports.tooltip=ue.tooltip,exports.typewriter=fe.typewriter,exports.urgent=c.n,exports.windowManager=E.n,exports.workingSnake=c.t;
|
package/dist/index.js
CHANGED
|
@@ -1,70 +1,71 @@
|
|
|
1
|
-
import { d as ee, r as te } from "./SchmancyElement-
|
|
2
|
-
import { C as ne, S as e, _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v, v as y, x as b, y as x } from "./area-
|
|
1
|
+
import { d as ee, r as te } from "./SchmancyElement-Ob9yGkiG.js";
|
|
2
|
+
import { C as ne, S as e, _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v, v as y, x as b, y as x } from "./area-MxLAyWgV.js";
|
|
3
3
|
import { t as S } from "./lazy-BaAiIUru.js";
|
|
4
|
-
import { a as C, c as w, i as T, l as E, n as D, o as O, r as k, s as A, t as j } from "./state-
|
|
5
|
-
import { n as M, t as N } from "./sound.service-
|
|
6
|
-
import { n as P, t as F } from "./audio-
|
|
4
|
+
import { a as C, c as w, i as T, l as E, n as D, o as O, r as k, s as A, t as j } from "./state-DBA_gzJO.js";
|
|
5
|
+
import { n as M, t as N } from "./sound.service-AJwuk3yr.js";
|
|
6
|
+
import { n as P, t as F } from "./audio-B_0PGwYC.js";
|
|
7
7
|
import { t as I } from "./search-MvIBA93K.js";
|
|
8
|
-
import { t as L } from "./input-chip-
|
|
8
|
+
import { t as L } from "./input-chip-C3a1fwKB.js";
|
|
9
9
|
import { _ as R, a as z, c as B, d as V, f as H, g as U, h as W, i as G, l as K, m as q, n as J, o as Y, p as X, r as Z, s as re, t as ie, u as ae, v as oe, y as se } from "./animation-DCznELuT.js";
|
|
10
|
-
import { C as ce, D as le, E as ue, O as de, S as fe, T as pe, _ as me, a as he, b as ge, c as _e, d as ve, f as ye, g as be, h as xe, i as Se, k as Ce, l as we, m as Te, n as Ee, o as De, p as Oe, r as ke, s as Ae, t as je, u as Me, v as Ne, w as Pe, x as Fe, y as Ie } from "./directives-
|
|
10
|
+
import { C as ce, D as le, E as ue, O as de, S as fe, T as pe, _ as me, a as he, b as ge, c as _e, d as ve, f as ye, g as be, h as xe, i as Se, k as Ce, l as we, m as Te, n as Ee, o as De, p as Oe, r as ke, s as Ae, t as je, u as Me, v as Ne, w as Pe, x as Fe, y as Ie } from "./directives-Dj8jlv-Q.js";
|
|
11
11
|
import { t as Le } from "./reduced-motion-D-L12p7G.js";
|
|
12
12
|
import { t as Re } from "./cursor-glow-Ah7VXSj7.js";
|
|
13
|
-
import { i as ze, n as Be, r as Ve, t as He } from "./theme.service-
|
|
14
|
-
import { n as Ue, r as We, t as Ge } from "./layout-
|
|
13
|
+
import { i as ze, n as Be, r as Ve, t as He } from "./theme.service-D94nm7Bf.js";
|
|
14
|
+
import { n as Ue, r as We, t as Ge } from "./layout-k6fOkpif.js";
|
|
15
15
|
import { t as Ke } from "./overlay-stack-D2rgxQLh.js";
|
|
16
16
|
import { t as qe } from "./gravity-sVK3zGBF.js";
|
|
17
17
|
import { a as Je, i as Ye, n as Xe, o as Ze, r as Qe, s as $e, t as et } from "./discovery.service-DZFxtRwW.js";
|
|
18
18
|
import { t as tt } from "./magnetic-DaOOv5Dz.js";
|
|
19
|
-
import { C as nt, S as rt, T as it, _ as at, a as ot, b as st, c as ct, d as lt, f as ut, g as dt, h as ft, i as pt, l as
|
|
20
|
-
import { a as Et, i as Dt, n as Ot, o as kt, r as At, t as jt } from "./overlay.service-
|
|
21
|
-
import { t as Mt } from "./boat-
|
|
22
|
-
import { t as Nt } from "./button-
|
|
19
|
+
import { C as nt, S as rt, T as it, _ as at, a as ot, b as st, c as ct, d as lt, f as ut, g as dt, h as ft, i as pt, l as mt, m as ht, n as gt, o as _t, p as Q, r as vt, s as yt, t as bt, u as xt, v as St, w as Ct, x as wt, y as Tt } from "./src-DAtcPmCb.js";
|
|
20
|
+
import { a as Et, i as Dt, n as Ot, o as kt, r as At, t as jt } from "./overlay.service-BuUeti6X.js";
|
|
21
|
+
import { t as Mt } from "./boat-DoZGgQ0P.js";
|
|
22
|
+
import { t as Nt } from "./button-DWANpZfD.js";
|
|
23
23
|
import { SchmnacyIconButton as Pt } from "./button.js";
|
|
24
|
-
import { t as Ft } from "./
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { t as Vt } from "./date-range-
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { n as
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import { t as en } from "./
|
|
37
|
-
import {
|
|
38
|
-
import { n as
|
|
39
|
-
import { n as
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import { t as un } from "./
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import { n as
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import { t as An } from "./
|
|
54
|
-
import { t as jn } from "./
|
|
55
|
-
import { t as Mn } from "./
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
|
|
24
|
+
import { t as Ft } from "./calendar-kCe5LaBa.js";
|
|
25
|
+
import { t as It } from "./checkbox-Bjp7kWuE.js";
|
|
26
|
+
import { n as $, r as Lt, t as Rt } from "./chips-DACeW7YL.js";
|
|
27
|
+
import { SchmancyConnectivityStatus as zt } from "./connectivity.js";
|
|
28
|
+
import { n as Bt, t as Vt } from "./date-range-D2NZU5Yg.js";
|
|
29
|
+
import { t as Ht } from "./date-range-inline-D6Ozerzw.js";
|
|
30
|
+
import { SchmancyDelay as Ut, delayContext as Wt } from "./delay.js";
|
|
31
|
+
import { t as Gt } from "./details-Ct1_GwKr.js";
|
|
32
|
+
import { SchmancyDropdown as Kt, SchmancyDropdownContent as qt } from "./dropdown.js";
|
|
33
|
+
import { n as Jt, t as Yt } from "./surface-DXk1X1tL.js";
|
|
34
|
+
import { n as Xt, t as Zt } from "./expand-BT8mOu8Q.js";
|
|
35
|
+
import { SchmancyFab as Qt } from "./fab.js";
|
|
36
|
+
import { n as $t, t as en } from "./window-CCmN4but.js";
|
|
37
|
+
import { t as tn } from "./float-BQcxj3i_.js";
|
|
38
|
+
import { n as nn, t as rn } from "./form-hC2LvCHX.js";
|
|
39
|
+
import { n as an, t as on } from "./input-CPFCSQld.js";
|
|
40
|
+
import { n as sn, t as cn } from "./radio-group-Drpl6Pl8.js";
|
|
41
|
+
import { SchmancyRange as ln } from "./range.js";
|
|
42
|
+
import { t as un } from "./theme.interface-B7caS5cg.js";
|
|
43
|
+
import { t as dn } from "./select-CTXkrrVZ.js";
|
|
44
|
+
import { SchmancySwitch as fn } from "./switch.js";
|
|
45
|
+
import { SchmancyFormSummary as pn } from "./form.js";
|
|
46
|
+
import { t as mn } from "./iframe-V3S-bwEY.js";
|
|
47
|
+
import { i as hn, n as gn, r as _n, t as vn } from "./notification-COhUhUCr.js";
|
|
48
|
+
import { SchmancyJson as yn } from "./json.js";
|
|
49
|
+
import { SchmancyScroll as bn } from "./layout.js";
|
|
50
|
+
import { i as xn, n as Sn, r as Cn, t as wn } from "./lightbox-DIG0VLOK.js";
|
|
51
|
+
import { n as Tn, r as En, t as Dn } from "./list-NrOYDPBo.js";
|
|
52
|
+
import { SchmancyNavigationRail as On, SchmancyNavigationRailItem as kn } from "./navigation-rail.js";
|
|
53
|
+
import { t as An } from "./overlay-LoRRemny.js";
|
|
54
|
+
import { t as jn } from "./typography-ByF2k5yW.js";
|
|
55
|
+
import { t as Mn } from "./overlay.confirm-body-D0b1MoCw.js";
|
|
56
|
+
import { t as Nn } from "./rxjs-utils-JMFdgQSl.js";
|
|
57
|
+
import { SchmancySlide as Pn, SchmancySlider as Fn } from "./slider.js";
|
|
58
|
+
import { SchmancyStep as In, SchmancySteps as Ln, StepsController as Rn, stepsContext as zn } from "./steps.js";
|
|
59
|
+
import { SchmancyDataTable as Bn, SchmancyTableRow as Vn } from "./table.js";
|
|
60
|
+
import { a as Hn, c as Un, i as Wn, l as Gn, n as Kn, o as qn, r as Jn, s as Yn, t as Xn } from "./theme-Dvm5J8nh.js";
|
|
61
|
+
import { tooltip as Zn } from "./tooltip.js";
|
|
62
|
+
import { SchmancyTree as Qn } from "./tree.js";
|
|
63
|
+
import { SURFACE_SEMANTIC as $n, SURFACE_TONAL as er, SURFACE_UTILITY as tr, SchmancyEvents as nr } from "./types.js";
|
|
64
|
+
import { typewriter as rr } from "./typewriter.js";
|
|
65
|
+
import { n as ir, t as ar } from "./utils-dSPH7Oh9.js";
|
|
66
|
+
import { SchmancyAvatar as or } from "./avatar.js";
|
|
67
|
+
import { SchmancyBreadcrumb as sr, SchmancyBreadcrumbItem as cr } from "./breadcrumb.js";
|
|
68
|
+
import { SchmancyKbd as lr } from "./kbd.js";
|
|
69
|
+
import { SchmancySkeleton as ur } from "./skeleton.js";
|
|
70
|
+
import { SchmancyVisuallyHidden as dr } from "./visually-hidden.js";
|
|
71
|
+
export { Q as $drawer, _n as $notify, F as $sounds, ie as ANIMATION_CSS_VARS, J as BLACKBIRD_EASING, et as DISCOVER_EVENT, Xe as DISCOVER_RESPONSE_EVENT, Z as DURATION_BACKDROP, G as DURATION_ENTER, z as DURATION_EXIT, xe as DragDirective, be as DropDirective, Y as EASE_IN, re as EASE_OUT, P as EmotionalSoundGenerator, r as FINDING_MORTIES, B as GRID_ANIMATION_CSS, b as HERE_RICKY, y as HISTORY_STRATEGY, gt as HereMorty, Dn as List, ar as Numbers, cn as RadioButton, sn as RadioGroup, Zt as SCHMANCY_EXPAND_REQUEST_CLOSE, K as SPRING_BOUNCY, ae as SPRING_GENTLE, V as SPRING_SMOOTH, H as SPRING_SNAPPY, $n as SURFACE_SEMANTIC, er as SURFACE_TONAL, tr as SURFACE_UTILITY, Ct as ScBadgeV2, t as SchmancyArea, Lt as SchmancyAssistChip, or as SchmancyAvatar, it as SchmancyBadgeV2, Mt as SchmancyBoat, sr as SchmancyBreadcrumb, cr as SchmancyBreadcrumbItem, Nt as SchmancyButton, Ft as SchmancyCalendar, It as SchmancyCheckbox, $ as SchmancyChip, $ as SchmancyFilterChip, zt as SchmancyConnectivityStatus, at as SchmancyContentDrawer, St as SchmancyContentDrawerID, dt as SchmancyContentDrawerMain, Tt as SchmancyContentDrawerMaxHeight, st as SchmancyContentDrawerMinWidth, ft as SchmancyContentDrawerSheet, wt as SchmancyContentDrawerSheetMode, rt as SchmancyContentDrawerSheetState, E as SchmancyContext, Bn as SchmancyDataTable, Vt as SchmancyDateRange, Bt as SchmancyDateRangeDialog, Ht as SchmancyDateRangeInline, Ut as SchmancyDelay, Gt as SchmancyDetails, ut as SchmancyDrawerAppbar, mt as SchmancyDrawerNavbarMode, xt as SchmancyDrawerNavbarState, Kt as SchmancyDropdown, qt as SchmancyDropdownContent, nr as SchmancyEvents, Xt as SchmancyExpandRoot, Qt as SchmancyFab, tn as SchmancyFloat, rn as SchmancyForm, pn as SchmancyFormSummary, Kn as SchmancyGenerateMoodAudioEvent, mn as SchmancyIframe, an as SchmancyInput, L as SchmancyInputChip, on as SchmancyInputCompat, yn as SchmancyJson, lr as SchmancyKbd, xn as SchmancyLightbox, Tn as SchmancyListItem, En as SchmancyListTypeContext, ot as SchmancyNavigationBar, _t as SchmancyNavigationBarItem, ct as SchmancyNavigationDrawer, lt as SchmancyNavigationDrawerContent, yt as SchmancyNavigationDrawerSidebar, On as SchmancyNavigationRail, kn as SchmancyNavigationRailItem, hn as SchmancyNotification, An as SchmancyOverlay, Mn as SchmancyOverlayPromptBody, ln as SchmancyRange, x as SchmancyRoute, bn as SchmancyScroll, dn as SchmancySelect, ur as SchmancySkeleton, Pn as SchmancySlide, Fn as SchmancySlider, In as SchmancyStep, Ln as SchmancySteps, Rt as SchmancySuggestionChip, Yt as SchmancySurface, Jt as SchmancySurfaceTypeContext, fn as SchmancySwitch, Vn as SchmancyTableRow, bt as SchmancyTeleportation, un as SchmancyTheme, Jn as SchmancyThemeAudioPlayer, Hn as SchmancyThemeComponent, Wn as SchmancyThemeController, Xn as SchmancyThemeControllerBoat, Qn as SchmancyTree, jn as SchmancyTypography, dr as SchmancyVisuallyHidden, en as SchmancyWindow, Pt as SchmnacyIconButton, j as Signal, Rn as StepsController, Ve as ThemeHereIAm, ze as ThemeWhereAreYou, vt as WhereAreYouRicky, te as _activeHost, de as aiBadge, Ce as animateText, e as area, le as art, ce as beta, D as bindState, _ as buildQueryString, fe as color, f as compareActiveRoutes, h as compareCustomElementConstructors, l as compareRouteActions, k as computed, jt as confirm, Fe as confirmClick, X as createAnimation, Yn as createDarkTonalPaletteFromBaseColor, q as createDismissAnimation, Un as createLightTonalPaletteFromBaseColor, W as createRevealAnimation, n as createRouteCacheKey, U as createScaleAnimation, Re as cursorGlow, ge as cycleText, p as debounce, c as decodeData, g as decodeRouteState, i as deepMerge, Wt as delayContext, Ie as depthOfField, Qe as discover, Ye as discoverAllElements, Je as discoverAnyComponent, Ze as discoverComponent, $e as discoverElement, Ot as dismissAll, me as drag, Ne as drop, T as effect, s as encodeData, u as encodeRouteState, v as extractQueryParams, Te as fill, Cn as flip, nn as formSubmitState, Gn as formatTheme, Ge as fromResizeObserver, Ue as fullHeight, We as fullWidth, ue as futureCell, Oe as fyi, R as getEasing, a as getTagName, qe as gravity, ye as hummingbird, ve as intersect, ir as intersection$, Pe as isBeta, o as isObject, S as lazy, wn as lightbox, Sn as lightboxDirective, Me as liquid, we as livingBorder, _e as longPress, tt as magnetic, Ae as missedPunch, Nn as mutationObserver, De as nebula, m as normalizeTagName, vn as notify, gn as notifyProgress, C as observe, At as openOverlays$, ke as overflowWithin, Dt as overlayEvents, Ke as overlayStack, oe as prefersReducedMotion, Et as prompt, Le as reducedMotion$, he as reveal, Se as ripple, ne as routerHistory, d as sanitizeRouteState, nt as schmancyContentDrawer, O as schmancyContext, ht as schmancyNavDrawer, N as schmancySound, He as schmancyTheme, pe as setBetaPredicate, kt as show, I as similarity, M as sound, A as state, w as stateFromObservable, zn as stepsContext, se as tailwindAnimations, qn as tailwindStyles, pt as teleport, Be as theme, ee as themeContext, Zn as tooltip, rr as typewriter, Ee as urgent, $t as windowManager, je as workingSnake };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as e } from "./SchmancyElement-
|
|
2
|
-
import { o as t } from "./mixins-
|
|
1
|
+
import { u as e } from "./SchmancyElement-Ob9yGkiG.js";
|
|
2
|
+
import { o as t } from "./mixins-q4KAL8Xr.js";
|
|
3
3
|
import { distinctUntilChanged as n, filter as r, fromEvent as i, map as a, takeUntil as o, timer as s } from "rxjs";
|
|
4
4
|
import { customElement as c, property as l, query as u, state as d } from "lit/decorators.js";
|
|
5
5
|
import { LitElement as f, html as p, nothing as m, unsafeCSS as h } from "lit";
|
|
@@ -279,14 +279,7 @@ var b, x = class extends t(h("/*! tailwindcss v4.3.0 | MIT License | https://tai
|
|
|
279
279
|
};
|
|
280
280
|
return p`
|
|
281
281
|
<div class="w-full min-w-0 ${r ? "date-input-container" : ""}">
|
|
282
|
-
${y(this.label, () => p`
|
|
283
|
-
<label
|
|
284
|
-
for=${this.id}
|
|
285
|
-
class=${this.classMap(a)}
|
|
286
|
-
>
|
|
287
|
-
${this.label}
|
|
288
|
-
</label>
|
|
289
|
-
`)}
|
|
282
|
+
${y(this.label, () => p` <label for=${this.id} class=${this.classMap(a)}> ${this.label} </label> `)}
|
|
290
283
|
|
|
291
284
|
<input
|
|
292
285
|
${v(this.inputRef)}
|