@mhmo91/schmancy 0.10.28 → 0.10.29
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 +7 -2
- package/dist/agent/{overlay.confirm-body-BZoUgkdK.js → overlay.confirm-body-BFYWMa45.js} +1799 -855
- package/dist/agent/overlay.confirm-body-BFYWMa45.js.map +1 -0
- package/dist/agent/schmancy.agent.js +2670 -3669
- package/dist/agent/schmancy.agent.js.map +1 -1
- package/dist/agent/schmancy.manifest.json +1 -2
- package/dist/{area-C_Yvjmad.js → area-D5wIy4Fn.js} +1 -1
- package/dist/{area-C_Yvjmad.js.map → area-D5wIy4Fn.js.map} +1 -1
- package/dist/{area-BSVOYQDA.cjs → area-HXuLLQnN.cjs} +1 -1
- package/dist/{area-BSVOYQDA.cjs.map → area-HXuLLQnN.cjs.map} +1 -1
- package/dist/area.cjs +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-C6I1mfOT.js → autocomplete-DCkkdDON.js} +2 -2
- package/dist/{autocomplete-C6I1mfOT.js.map → autocomplete-DCkkdDON.js.map} +1 -1
- package/dist/{autocomplete-B50VXUzw.cjs → autocomplete-hj2AQyEF.cjs} +1 -1
- package/dist/{autocomplete-B50VXUzw.cjs.map → autocomplete-hj2AQyEF.cjs.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.js +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-DVQBNkk5.cjs → boat-B_5F_rFr.cjs} +1 -1
- package/dist/{boat-DVQBNkk5.cjs.map → boat-B_5F_rFr.cjs.map} +1 -1
- package/dist/{boat-C94QZ4Zt.js → boat-BfgbRnhA.js} +1 -1
- package/dist/{boat-C94QZ4Zt.js.map → boat-BfgbRnhA.js.map} +1 -1
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.js +1 -1
- package/dist/{busy--bNb42rM.js → busy-D6tAS-kW.js} +1 -1
- package/dist/{busy--bNb42rM.js.map → busy-D6tAS-kW.js.map} +1 -1
- package/dist/{busy-DuxFvEkY.cjs → busy-zIt9bTZn.cjs} +1 -1
- package/dist/{busy-DuxFvEkY.cjs.map → busy-zIt9bTZn.cjs.map} +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/{button-DAFZ5A4O.cjs → button-8oMffyiO.cjs} +1 -1
- package/dist/{button-DAFZ5A4O.cjs.map → button-8oMffyiO.cjs.map} +1 -1
- package/dist/{button-B7b9L_h5.js → button-D7AejvfK.js} +1 -1
- package/dist/{button-B7b9L_h5.js.map → button-D7AejvfK.js.map} +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +2 -2
- package/dist/{card-DZPd24Sn.cjs → card-CTucMMgp.cjs} +1 -1
- package/dist/{card-DZPd24Sn.cjs.map → card-CTucMMgp.cjs.map} +1 -1
- package/dist/{card-ixzxOW-Q.js → card-CUt9fm_4.js} +1 -1
- package/dist/{card-ixzxOW-Q.js.map → card-CUt9fm_4.js.map} +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-DdGpepTh.js → checkbox-DMmqe2OO.js} +1 -1
- package/dist/{checkbox-DdGpepTh.js.map → checkbox-DMmqe2OO.js.map} +1 -1
- package/dist/{checkbox-Bi_Fm2mf.cjs → checkbox-DrKsfzC4.cjs} +1 -1
- package/dist/{checkbox-Bi_Fm2mf.cjs.map → checkbox-DrKsfzC4.cjs.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-DWQMZErr.cjs → chips-B1yQgLyW.cjs} +1 -1
- package/dist/{chips-DWQMZErr.cjs.map → chips-B1yQgLyW.cjs.map} +1 -1
- package/dist/{chips-DLTynyVB.js → chips-DRGsqDMA.js} +2 -2
- package/dist/{chips-DLTynyVB.js.map → chips-DRGsqDMA.js.map} +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +2 -2
- package/dist/connectivity.cjs +1 -1
- package/dist/connectivity.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{date-range-DQpmMJH-.cjs → date-range-BeF0dW1W.cjs} +1 -1
- package/dist/{date-range-DQpmMJH-.cjs.map → date-range-BeF0dW1W.cjs.map} +1 -1
- package/dist/{date-range-CJ6MiTpF.js → date-range-TDF-f0ss.js} +2 -2
- package/dist/{date-range-CJ6MiTpF.js.map → date-range-TDF-f0ss.js.map} +1 -1
- package/dist/{date-range-inline-nPWIs-3C.cjs → date-range-inline-BnhQZTK0.cjs} +1 -1
- package/dist/{date-range-inline-nPWIs-3C.cjs.map → date-range-inline-BnhQZTK0.cjs.map} +1 -1
- package/dist/{date-range-inline-Ho3CENTh.js → date-range-inline-JLsmcle2.js} +1 -1
- package/dist/{date-range-inline-Ho3CENTh.js.map → date-range-inline-JLsmcle2.js.map} +1 -1
- 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 +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-CcMTvYo7.js → details-ChMhQpcY.js} +1 -1
- package/dist/{details-CcMTvYo7.js.map → details-ChMhQpcY.js.map} +1 -1
- package/dist/{details-BnRWMZdt.cjs → details-T75tUASO.cjs} +1 -1
- package/dist/{details-BnRWMZdt.cjs.map → details-T75tUASO.cjs.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{divider-CZCj0ioH.js → divider-D69bhEUY.js} +1 -1
- package/dist/{divider-CZCj0ioH.js.map → divider-D69bhEUY.js.map} +1 -1
- package/dist/{divider-C6yJSL1c.cjs → divider-DopO0yKi.cjs} +1 -1
- package/dist/{divider-C6yJSL1c.cjs.map → divider-DopO0yKi.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{expand-D4EhwOYh.cjs → expand-C386rVT8.cjs} +1 -1
- package/dist/{expand-D4EhwOYh.cjs.map → expand-C386rVT8.cjs.map} +1 -1
- package/dist/{expand-Cc6ogXsR.js → expand-KLSx5dea.js} +2 -2
- package/dist/{expand-Cc6ogXsR.js.map → expand-KLSx5dea.js.map} +1 -1
- package/dist/expand.cjs +1 -1
- package/dist/expand.js +1 -1
- package/dist/{float-BvI3HTtB.js → float-BoPLNysg.js} +1 -1
- package/dist/{float-BvI3HTtB.js.map → float-BoPLNysg.js.map} +1 -1
- package/dist/{float-B8EPc_OG.cjs → float-DyaPI0qO.cjs} +1 -1
- package/dist/{float-B8EPc_OG.cjs.map → float-DyaPI0qO.cjs.map} +1 -1
- package/dist/float.cjs +1 -1
- package/dist/float.js +1 -1
- package/dist/{form-SHg5FLsd.cjs → form-CGIJlQyP.cjs} +4 -19
- package/dist/form-CGIJlQyP.cjs.map +1 -0
- package/dist/{form-FtYtZScl.js → form-CYeMWHmy.js} +10 -90
- package/dist/form-CYeMWHmy.js.map +1 -0
- package/dist/form.cjs +18 -1
- package/dist/form.cjs.map +1 -0
- package/dist/form.js +93 -9
- package/dist/form.js.map +1 -0
- package/dist/handover/agent-runtime-followups.md +1 -1
- package/dist/handover/agent-runtime-v1.md +3 -3
- package/dist/{icon-B1eZr2ZL.js → icons-BUQNMhjw.js} +1 -1
- package/dist/{icon-CgIXAvKI.cjs.map → icons-BUQNMhjw.js.map} +1 -1
- package/dist/{icon-CgIXAvKI.cjs → icons-CJUA5bfI.cjs} +1 -1
- package/dist/icons-CJUA5bfI.cjs.map +1 -0
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/{iframe-CmpAZc61.js → iframe-CbL0jCo1.js} +1 -1
- package/dist/{iframe-CmpAZc61.js.map → iframe-CbL0jCo1.js.map} +1 -1
- package/dist/{iframe-BO3BpRLH.cjs → iframe-pn7MIeH8.cjs} +1 -1
- package/dist/{iframe-BO3BpRLH.cjs.map → iframe-pn7MIeH8.cjs.map} +1 -1
- package/dist/iframe.cjs +1 -1
- package/dist/iframe.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +33 -32
- package/dist/{input-_Hft9vov.js → input-C1h5lLiJ.js} +1 -1
- package/dist/{input-_Hft9vov.js.map → input-C1h5lLiJ.js.map} +1 -1
- package/dist/{input-5YL2oUBr.cjs → input-Cmc0IoUP.cjs} +1 -1
- package/dist/{input-5YL2oUBr.cjs.map → input-Cmc0IoUP.cjs.map} +1 -1
- package/dist/{input-chip-DKMNpcED.cjs → input-chip-B0X_CodJ.cjs} +1 -1
- package/dist/{input-chip-DKMNpcED.cjs.map → input-chip-B0X_CodJ.cjs.map} +1 -1
- package/dist/{input-chip-BNTojQT6.js → input-chip-DqAR4nPD.js} +1 -1
- package/dist/{input-chip-BNTojQT6.js.map → input-chip-DqAR4nPD.js.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/json.cjs +1 -1
- package/dist/json.js +2 -2
- package/dist/kbd.cjs +1 -1
- package/dist/kbd.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/{lightbox-t4dvb8_A.cjs → lightbox-BiNK_plj.cjs} +1 -1
- package/dist/{lightbox-t4dvb8_A.cjs.map → lightbox-BiNK_plj.cjs.map} +1 -1
- package/dist/{lightbox-CKlYcnHV.js → lightbox-C3zomJ-r.js} +1 -1
- package/dist/{lightbox-CKlYcnHV.js.map → lightbox-C3zomJ-r.js.map} +1 -1
- package/dist/lightbox.cjs +1 -1
- package/dist/lightbox.js +1 -1
- package/dist/{list-B6QhxgRJ.js → list-Bbmp1uMa.js} +1 -1
- package/dist/{list-B6QhxgRJ.js.map → list-Bbmp1uMa.js.map} +1 -1
- package/dist/{list-21mWtDKg.cjs → list-CbM9w9OM.cjs} +1 -1
- package/dist/{list-21mWtDKg.cjs.map → list-CbM9w9OM.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{menu-Cuxt5K4Y.cjs → menu-Bfay8vF8.cjs} +1 -1
- package/dist/{menu-Cuxt5K4Y.cjs.map → menu-Bfay8vF8.cjs.map} +1 -1
- package/dist/{menu-C5qcgMnw.js → menu-Ph2hboJd.js} +2 -2
- package/dist/{menu-C5qcgMnw.js.map → menu-Ph2hboJd.js.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/mixins-BfazlmLD.js +627 -0
- package/dist/{mixins-8dT5j6CS.js.map → mixins-BfazlmLD.js.map} +1 -1
- package/dist/mixins-CxGRIPYQ.cjs +242 -0
- package/dist/{mixins-BF3Vj8_c.cjs.map → mixins-CxGRIPYQ.cjs.map} +1 -1
- package/dist/mixins.cjs +1 -1
- package/dist/mixins.js +1 -1
- 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 +1 -1
- package/dist/navigation-rail.js +1 -1
- package/dist/{notification-CcNoBFEJ.cjs → notification-DT_cAi8U.cjs} +1 -1
- package/dist/{notification-CcNoBFEJ.cjs.map → notification-DT_cAi8U.cjs.map} +1 -1
- package/dist/{notification-CDKBKh63.js → notification-Du5FRbYp.js} +2 -2
- package/dist/{notification-CDKBKh63.js.map → notification-Du5FRbYp.js.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +1 -1
- package/dist/{option-BWfmDJvm.js → option-B7y4FhOn.js} +1 -1
- package/dist/{option-BWfmDJvm.js.map → option-B7y4FhOn.js.map} +1 -1
- package/dist/{option-DejeqOad.cjs → option-Cl5Q987d.cjs} +1 -1
- package/dist/{option-DejeqOad.cjs.map → option-Cl5Q987d.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{overlay-D3c_NY18.js → overlay-B79m-KXf.js} +90 -141
- package/dist/overlay-B79m-KXf.js.map +1 -0
- package/dist/overlay-CRwfhbyi.cjs +43 -0
- package/dist/overlay-CRwfhbyi.cjs.map +1 -0
- package/dist/overlay.cjs +1 -1
- package/dist/{overlay.confirm-body-B_v0ivkn.js → overlay.confirm-body-CW_spktW.js} +7 -19
- package/dist/overlay.confirm-body-CW_spktW.js.map +1 -0
- package/dist/{overlay.confirm-body-B2ntyquG.cjs → overlay.confirm-body-CxOomuN6.cjs} +3 -12
- package/dist/overlay.confirm-body-CxOomuN6.cjs.map +1 -0
- package/dist/overlay.js +3 -3
- package/dist/{overlay.service-B3FjXCqc.js → overlay.service-DsBb_UwG.js} +31 -27
- package/dist/{overlay.service-B3FjXCqc.js.map → overlay.service-DsBb_UwG.js.map} +1 -1
- package/dist/overlay.service-fb3KaMiP.cjs +1 -0
- package/dist/{overlay.service-BkSeqXIv.cjs.map → overlay.service-fb3KaMiP.cjs.map} +1 -1
- package/dist/{progress-CFcmO0wv.js → progress-CMwUEDB1.js} +1 -1
- package/dist/{progress-CFcmO0wv.js.map → progress-CMwUEDB1.js.map} +1 -1
- package/dist/{progress-6_rb3Ah9.cjs → progress-fnGrmHpm.cjs} +1 -1
- package/dist/{progress-6_rb3Ah9.cjs.map → progress-fnGrmHpm.cjs.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-group-_WZg8EKM.cjs → radio-group-DQRJGMgS.cjs} +1 -1
- package/dist/{radio-group-_WZg8EKM.cjs.map → radio-group-DQRJGMgS.cjs.map} +1 -1
- package/dist/{radio-group-Bd8y9QpX.js → radio-group-Zb0fies1.js} +1 -1
- package/dist/{radio-group-Bd8y9QpX.js.map → radio-group-Zb0fies1.js.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/range.cjs +1 -1
- package/dist/range.js +1 -1
- package/dist/{select-Czpl1ztD.js → select-BJJKYtEi.js} +1 -1
- package/dist/{select-Czpl1ztD.js.map → select-BJJKYtEi.js.map} +1 -1
- package/dist/{select-BaioT3yY.cjs → select-C-acFFtV.cjs} +1 -1
- package/dist/{select-BaioT3yY.cjs.map → select-C-acFFtV.cjs.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.js +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{splash-screen-YtTVkJg8.js → splash-screen-CCDpzGg_.js} +1 -1
- package/dist/{splash-screen-YtTVkJg8.js.map → splash-screen-CCDpzGg_.js.map} +1 -1
- package/dist/{splash-screen-3FtgdVy3.cjs → splash-screen-CGnhHDB_.cjs} +1 -1
- package/dist/{splash-screen-3FtgdVy3.cjs.map → splash-screen-CGnhHDB_.cjs.map} +1 -1
- package/dist/splash-screen.cjs +1 -1
- package/dist/splash-screen.js +1 -1
- package/dist/{src-AYRNg63f.cjs → src-C0MzzF_S.cjs} +1 -1
- package/dist/{src-AYRNg63f.cjs.map → src-C0MzzF_S.cjs.map} +1 -1
- package/dist/{src-DKMEgT2z.js → src-CUcUMK0M.js} +31 -31
- package/dist/{src-DKMEgT2z.js.map → src-CUcUMK0M.js.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-CVxyQPln.js → surface-CLcc26d2.js} +1 -1
- package/dist/{surface-CVxyQPln.js.map → surface-CLcc26d2.js.map} +1 -1
- package/dist/{surface-BNvxLEDN.cjs → surface-DPzlMMYX.cjs} +1 -1
- package/dist/{surface-BNvxLEDN.cjs.map → surface-DPzlMMYX.cjs.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/switch.cjs +1 -1
- package/dist/switch.js +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-CnPXvZuZ.js → tabs-BvEal6oS.js} +1 -1
- package/dist/{tabs-CnPXvZuZ.js.map → tabs-BvEal6oS.js.map} +1 -1
- package/dist/{tabs-DTU7748z.cjs → tabs-DEKOKYrn.cjs} +1 -1
- package/dist/{tabs-DTU7748z.cjs.map → tabs-DEKOKYrn.cjs.map} +1 -1
- 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-mQPsppmd.js → textarea-CH62STRD.js} +1 -1
- package/dist/{textarea-mQPsppmd.js.map → textarea-CH62STRD.js.map} +1 -1
- package/dist/{textarea-Bqth6Q8P.cjs → textarea-Cjlsy3y9.cjs} +1 -1
- package/dist/{textarea-Bqth6Q8P.cjs.map → textarea-Cjlsy3y9.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-D4HGKt7N.cjs → theme-CG3Gpne7.cjs} +1 -1
- package/dist/{theme-D4HGKt7N.cjs.map → theme-CG3Gpne7.cjs.map} +1 -1
- package/dist/{theme-button-LP-Dgr17.cjs → theme-button-CEc_Kl54.cjs} +1 -1
- package/dist/{theme-button-LP-Dgr17.cjs.map → theme-button-CEc_Kl54.cjs.map} +1 -1
- package/dist/{theme-button-Jap7G_IH.js → theme-button-oWeOoeSw.js} +1 -1
- package/dist/{theme-button-Jap7G_IH.js.map → theme-button-oWeOoeSw.js.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/{theme-BJqpv4cG.js → theme-z82BIRuw.js} +1 -1
- package/dist/{theme-BJqpv4cG.js.map → theme-z82BIRuw.js.map} +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/theme.js +2 -2
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typography-Bc4MmSal.cjs → typography-CjAvaB88.cjs} +1 -1
- package/dist/{typography-Bc4MmSal.cjs.map → typography-CjAvaB88.cjs.map} +1 -1
- package/dist/{typography-BJMm6b0b.js → typography-DP82e3GJ.js} +1 -1
- package/dist/{typography-BJMm6b0b.js.map → typography-DP82e3GJ.js.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/dist/visually-hidden.cjs +1 -1
- package/dist/visually-hidden.js +1 -1
- package/dist/{window-DZTjkE24.js → window-BkPXY-8m.js} +1 -1
- package/dist/{window-DZTjkE24.js.map → window-BkPXY-8m.js.map} +1 -1
- package/dist/{window-CNu_WnsY.cjs → window-aVXgfw__.cjs} +1 -1
- package/dist/{window-CNu_WnsY.cjs.map → window-aVXgfw__.cjs.map} +1 -1
- package/dist/window.cjs +1 -1
- package/dist/window.js +1 -1
- package/package.json +1 -1
- package/src/form/form.ts +5 -1
- package/src/overlay/overlay.animations.ts +0 -29
- package/src/overlay/overlay.component.ts +30 -38
- package/src/overlay/overlay.confirm-body.ts +3 -15
- package/src/overlay/overlay.layout.ts +11 -53
- package/src/overlay/overlay.stack.test.ts +113 -0
- package/src/overlay/overlay.types.ts +17 -11
- package/types/src/form/form.d.ts +1 -0
- package/types/src/overlay/overlay.confirm-body.d.ts +1 -1
- package/types/src/overlay/overlay.layout.d.ts +10 -30
- package/types/src/overlay/overlay.stack.test.d.ts +1 -0
- package/types/src/overlay/overlay.types.d.ts +17 -11
- package/dist/agent/overlay.confirm-body-BZoUgkdK.js.map +0 -1
- package/dist/form-FtYtZScl.js.map +0 -1
- package/dist/form-SHg5FLsd.cjs.map +0 -1
- package/dist/icon-B1eZr2ZL.js.map +0 -1
- package/dist/mixins-8dT5j6CS.js +0 -627
- package/dist/mixins-BF3Vj8_c.cjs +0 -242
- package/dist/overlay-D3c_NY18.js.map +0 -1
- package/dist/overlay-Dv2utO4C.cjs +0 -43
- package/dist/overlay-Dv2utO4C.cjs.map +0 -1
- package/dist/overlay.confirm-body-B2ntyquG.cjs.map +0 -1
- package/dist/overlay.confirm-body-B_v0ivkn.js.map +0 -1
- package/dist/overlay.service-BkSeqXIv.cjs +0 -1
package/dist/form.cjs
CHANGED
|
@@ -1 +1,18 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk-CncqDLb2.cjs`);const e=require(`./mixins-CxGRIPYQ.cjs`),t=require(`./active-host-jH3iloCR.cjs`);require(`./autocomplete-hj2AQyEF.cjs`);const n=require(`./checkbox-DrKsfzC4.cjs`),r=require(`./date-range-BeF0dW1W.cjs`),i=require(`./form-CGIJlQyP.cjs`),a=require(`./input-Cmc0IoUP.cjs`);require(`./input.cjs`);const o=require(`./radio-group-DQRJGMgS.cjs`),s=require(`./range.cjs`),c=require(`./select-C-acFFtV.cjs`),l=require(`./switch.cjs`);require(`./textarea-Cjlsy3y9.cjs`);let u=require(`lit/decorators.js`),d=require(`lit`);var f=class extends e.c{constructor(...e){super(...e),this._bump=0,this._form=null}connectedCallback(){super.connectedCallback(),this._form=this.closest(`schmancy-form`),this._form&&(this._formObserver=new MutationObserver(()=>{this._bump++}),this._formObserver.observe(this._form,{attributes:!0,subtree:!0}),(async()=>{await this._form?.updateComplete;let e=this._form?.shadowRoot?.querySelector(`[role="status"]`);e&&this._formObserver?.observe(e,{childList:!0,characterData:!0,subtree:!0}),this._bump++})())}disconnectedCallback(){this._formObserver?.disconnect(),this._formObserver=void 0,super.disconnectedCallback()}_readFormStatus(){return this._form?this._form.matches(`:state(error)`)?`error`:this._form.matches(`:state(submitting)`)?`submitting`:this._form.matches(`:state(success)`)?`success`:`idle`:`idle`}_readFormMessage(){return(this._form?.shadowRoot?.querySelector(`[role="status"]`))?.textContent?.trim()??``}_readInvalidFields(){if(!this._form)return[];let e=[];for(let t of Array.from(this._form.querySelectorAll(`*`))){if(!(t instanceof HTMLElement))continue;let n=!1;try{n=t.matches(`:state(invalid)`)}catch{continue}if(!n)continue;let r=t;e.push({id:r.id,label:r.label||r.name||`(field)`,message:r.validationMessage||`Invalid value`})}return e}render(){if(this._bump,this._readFormStatus()!==`error`)return d.nothing;let e=this._readFormMessage(),t=this._readInvalidFields(),n=t.length;return d.html`
|
|
2
|
+
<div role="alert" aria-labelledby="schmancy-form-summary-heading">
|
|
3
|
+
<h2 id="schmancy-form-summary-heading">${this.heading??(n===0?`There is a problem with this form`:`There ${n===1?`is`:`are`} ${n} problem${n===1?``:`s`} with this form`)}</h2>
|
|
4
|
+
${e?d.html`<p>${e}</p>`:d.nothing}
|
|
5
|
+
${n>0?d.html`
|
|
6
|
+
<ul>
|
|
7
|
+
${t.map(e=>d.html`
|
|
8
|
+
<li>
|
|
9
|
+
<a
|
|
10
|
+
href="#${e.id}"
|
|
11
|
+
@click=${t=>this._jumpToField(t,e.id)}
|
|
12
|
+
>${e.label}: ${e.message}</a>
|
|
13
|
+
</li>
|
|
14
|
+
`)}
|
|
15
|
+
</ul>
|
|
16
|
+
`:d.nothing}
|
|
17
|
+
</div>
|
|
18
|
+
`}_jumpToField(e,t){e.preventDefault(),(this._form?.querySelector(`#${CSS.escape(t)}`))?.focus()}};t.a([(0,u.property)({type:String})],f.prototype,`heading`,void 0),t.a([(0,u.state)()],f.prototype,`_bump`,void 0),f=t.a([(0,u.customElement)(`schmancy-form-summary`)],f),Object.defineProperty(exports,`RadioButton`,{enumerable:!0,get:function(){return o.t}}),Object.defineProperty(exports,`RadioGroup`,{enumerable:!0,get:function(){return o.n}}),Object.defineProperty(exports,`SchmancyCheckbox`,{enumerable:!0,get:function(){return n.t}}),Object.defineProperty(exports,`SchmancyDateRange`,{enumerable:!0,get:function(){return r.t}}),exports.SchmancyForm=i.t,Object.defineProperty(exports,`SchmancyFormSummary`,{enumerable:!0,get:function(){return f}}),exports.SchmancyInput=a.n,Object.defineProperty(exports,`SchmancyInputCompat`,{enumerable:!0,get:function(){return a.t}}),Object.defineProperty(exports,`SchmancyRange`,{enumerable:!0,get:function(){return s.SchmancyRange}}),Object.defineProperty(exports,`SchmancySelect`,{enumerable:!0,get:function(){return c.t}}),Object.defineProperty(exports,`SchmancySwitch`,{enumerable:!0,get:function(){return l.SchmancySwitch}}),exports.formSubmitState=i.n,exports.validateInitialDateRange=r.n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.cjs","names":[],"sources":["../src/form/form-summary.ts"],"sourcesContent":["/**\n * `<schmancy-form-summary>` — top-of-form error summary with anchor links to\n * each invalid field. Linear / GOV.UK / GitHub pattern.\n *\n * Drop one inside any `<schmancy-form>`; on submit-failure or when\n * `<schmancy-form>.setFormError(...)` is called, the summary renders a\n * `role=\"alert\"` banner with the form-level error message and a list of\n * links pointing at each invalid field's `id`.\n *\n * Hidden when the form is idle, submitting, or successful — only `error`\n * populates it.\n *\n * @element schmancy-form-summary\n */\n\nimport { html, nothing } from 'lit'\nimport { customElement, property, state } from 'lit/decorators.js'\nimport { SchmancyElement } from '../../mixins'\nimport type SchmancyForm from './form'\n\n@customElement('schmancy-form-summary')\nexport class SchmancyFormSummary extends SchmancyElement {\n\t/**\n\t * Optional heading text. Defaults to a count-based summary\n\t * (\"1 problem with this form\" / \"3 problems with this form\").\n\t */\n\t@property({ type: String }) heading?: string\n\n\t/**\n\t * Render bumper — incremented to force a re-render when the form's state\n\t * changes (the actual content is computed from the DOM in render()).\n\t */\n\t@state() private _bump: number = 0\n\n\tprivate _form: SchmancyForm | null = null\n\tprivate _formObserver?: MutationObserver\n\n\toverride connectedCallback(): void {\n\t\tsuper.connectedCallback()\n\t\tthis._form = this.closest('schmancy-form') as SchmancyForm | null\n\t\tif (!this._form) {\n\t\t\tconsole.error('[schmancy-form-summary] must be a descendant of <schmancy-form>')\n\t\t\treturn\n\t\t}\n\t\tconst bump = () => { this._bump++ }\n\t\tthis._formObserver = new MutationObserver(bump)\n\t\t// Form host attribute changes (aria-busy, :state class reflections,\n\t\t// descendant attribute changes for fields' aria-invalid). subtree:true\n\t\t// catches attribute mutations on every descendant including light-DOM\n\t\t// fields and the form's own host.\n\t\tthis._formObserver.observe(this._form, {\n\t\t\tattributes: true,\n\t\t\tsubtree: true,\n\t\t})\n\t\t// Defer live-region observation until the form has rendered its\n\t\t// shadow tree.\n\t\tconst attachLiveRegionObserver = async (): Promise<void> => {\n\t\t\tawait this._form?.updateComplete\n\t\t\tconst liveRegion = this._form?.shadowRoot?.querySelector('[role=\"status\"]')\n\t\t\tif (liveRegion) {\n\t\t\t\tthis._formObserver?.observe(liveRegion, {\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tsubtree: true,\n\t\t\t\t})\n\t\t\t}\n\t\t\t// Force a render so the initial state is reflected.\n\t\t\tthis._bump++\n\t\t}\n\t\tvoid attachLiveRegionObserver()\n\t}\n\n\toverride disconnectedCallback(): void {\n\t\tthis._formObserver?.disconnect()\n\t\tthis._formObserver = undefined\n\t\tsuper.disconnectedCallback()\n\t}\n\n\tprivate _readFormStatus(): 'idle' | 'submitting' | 'success' | 'error' {\n\t\tif (!this._form) return 'idle'\n\t\tif (this._form.matches(':state(error)')) return 'error'\n\t\tif (this._form.matches(':state(submitting)')) return 'submitting'\n\t\tif (this._form.matches(':state(success)')) return 'success'\n\t\treturn 'idle'\n\t}\n\n\tprivate _readFormMessage(): string {\n\t\tconst liveRegion = this._form?.shadowRoot?.querySelector('[role=\"status\"]')\n\t\treturn liveRegion?.textContent?.trim() ?? ''\n\t}\n\n\tprivate _readInvalidFields(): Array<{ id: string; label: string; message: string }> {\n\t\tif (!this._form) return []\n\t\tconst result: Array<{ id: string; label: string; message: string }> = []\n\t\tfor (const el of Array.from(this._form.querySelectorAll('*'))) {\n\t\t\tif (!(el instanceof HTMLElement)) continue\n\t\t\tlet isInvalid = false\n\t\t\ttry {\n\t\t\t\tisInvalid = el.matches(':state(invalid)')\n\t\t\t} catch {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tif (!isInvalid) continue\n\t\t\tconst f = el as HTMLElement & {\n\t\t\t\tlabel?: string\n\t\t\t\tname?: string\n\t\t\t\tvalidationMessage?: string\n\t\t\t}\n\t\t\tresult.push({\n\t\t\t\tid: f.id,\n\t\t\t\tlabel: f.label || f.name || '(field)',\n\t\t\t\tmessage: f.validationMessage || 'Invalid value',\n\t\t\t})\n\t\t}\n\t\treturn result\n\t}\n\n\trender() {\n\t\t// Read everything fresh from the DOM each render — no @state cache, no\n\t\t// re-render loops. The MutationObserver bumps `_bump` to trigger this\n\t\t// render; `_bump` itself is never read here.\n\t\tvoid this._bump\n\n\t\tconst status = this._readFormStatus()\n\t\tif (status !== 'error') return nothing\n\n\t\tconst formMessage = this._readFormMessage()\n\t\tconst invalid = this._readInvalidFields()\n\t\tconst count = invalid.length\n\t\tconst heading =\n\t\t\tthis.heading ??\n\t\t\t(count === 0\n\t\t\t\t? 'There is a problem with this form'\n\t\t\t\t: `There ${count === 1 ? 'is' : 'are'} ${count} problem${count === 1 ? '' : 's'} with this form`)\n\n\t\treturn html`\n\t\t\t<div role=\"alert\" aria-labelledby=\"schmancy-form-summary-heading\">\n\t\t\t\t<h2 id=\"schmancy-form-summary-heading\">${heading}</h2>\n\t\t\t\t${formMessage ? html`<p>${formMessage}</p>` : nothing}\n\t\t\t\t${count > 0\n\t\t\t\t\t? html`\n\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t${invalid.map(\n\t\t\t\t\t\t\t\tf => html`\n\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t\t\thref=\"#${f.id}\"\n\t\t\t\t\t\t\t\t\t\t\t@click=${(e: MouseEvent) => this._jumpToField(e, f.id)}\n\t\t\t\t\t\t\t\t\t\t>${f.label}: ${f.message}</a>\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t`,\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t`\n\t\t\t\t\t: nothing}\n\t\t\t</div>\n\t\t`\n\t}\n\n\tprivate _jumpToField(e: MouseEvent, fieldId: string): void {\n\t\te.preventDefault()\n\t\tconst target = this._form?.querySelector(`#${CSS.escape(fieldId)}`) as HTMLElement | null\n\t\ttarget?.focus()\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-form-summary': SchmancyFormSummary\n\t}\n}\n"],"mappings":"kmBAqBO,IAAA,EAAA,cAAkC,EAAA,CAAA,CAAA,YAAA,GAAA,EAAA,CAAA,MAAA,GAAA,EAAA,CAAA,KAAA,MAWP,EAAA,KAAA,MAEI,KAGrC,mBAAA,CACC,MAAM,mBAAA,CACN,KAAK,MAAQ,KAAK,QAAQ,gBAAA,CACrB,KAAK,QAKV,KAAK,cAAgB,IAAI,qBADnB,CAAe,KAAK,SAAA,CAM1B,KAAK,cAAc,QAAQ,KAAK,MAAO,CACtC,WAAA,CAAY,EACZ,QAAA,CAAS,EAAA,CAAA,EAIuB,SAAA,CAAA,MAC1B,KAAK,OAAO,eAClB,IAAM,EAAa,KAAK,OAAO,YAAY,cAAc,kBAAA,CACrD,GACH,KAAK,eAAe,QAAQ,EAAY,CACvC,UAAA,CAAW,EACX,cAAA,CAAe,EACf,QAAA,CAAS,EAAA,CAAA,CAIX,KAAK,WAEN,EAGD,sBAAA,CACC,KAAK,eAAe,YAAA,CACpB,KAAK,cAAA,IAAgB,GACrB,MAAM,sBAAA,CAGP,iBAAA,CACC,OAAK,KAAK,MACN,KAAK,MAAM,QAAQ,gBAAA,CAAyB,QAC5C,KAAK,MAAM,QAAQ,qBAAA,CAA8B,aACjD,KAAK,MAAM,QAAQ,kBAAA,CAA2B,UAC3C,OAJiB,OAOzB,kBAAA,CAEC,OADmB,KAAK,OAAO,YAAY,cAAc,kBAAA,GACtC,aAAa,MAAA,EAAU,GAG3C,oBAAA,CACC,GAAA,CAAK,KAAK,MAAO,MAAO,EAAA,CACxB,IAAM,EAAgE,EAAA,CACtE,IAAK,IAAM,KAAM,MAAM,KAAK,KAAK,MAAM,iBAAiB,IAAA,CAAA,CAAO,CAC9D,GAAA,EAAM,aAAc,aAAc,SAClC,IAAI,EAAA,CAAY,EAChB,GAAA,CACC,EAAY,EAAG,QAAQ,kBAAA,MAAA,CAEvB,SAED,GAAA,CAAK,EAAW,SAChB,IAAM,EAAI,EAKV,EAAO,KAAK,CACX,GAAI,EAAE,GACN,MAAO,EAAE,OAAS,EAAE,MAAQ,UAC5B,QAAS,EAAE,mBAAqB,gBAAA,CAAA,CAGlC,OAAO,EAGR,QAAA,CAOC,GAHA,KAAU,MAEK,KAAK,iBAAA,GACL,QAAS,OAAO,EAAA,QAE/B,IAAM,EAAc,KAAK,kBAAA,CACnB,EAAU,KAAK,oBAAA,CACf,EAAQ,EAAQ,OAOtB,MAAO,GAAA,IAAI;;6CALV,KAAK,UACJ,IAAU,EACR,oCACA,SAAS,IAAU,EAAI,KAAO,MAAA,GAAS,EAAA,UAAgB,IAAU,EAAI,GAAK,IAAA,kBAAA;MAK1E,EAAc,EAAA,IAAI,MAAM,EAAA,MAAoB,EAAA,QAAA;MAC5C,EAAQ,EACP,EAAA,IAAI;;SAEF,EAAQ,IACT,GAAK,EAAA,IAAI;;;oBAGG,EAAE,GAAA;oBACD,GAAkB,KAAK,aAAa,EAAG,EAAE,GAAA,CAAA;aACjD,EAAE,MAAA,IAAU,EAAE,QAAA;;;;OAMpB,EAAA,QAAA;;IAKN,aAAqB,EAAe,EAAA,CACnC,EAAE,gBAAA,EACa,KAAK,OAAO,cAAc,IAAI,IAAI,OAAO,EAAA,GAAA,GAChD,OAAA,GAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAxIC,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,UAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,QAAA,CAAA,CAMnB,EAAA,UAAA,QAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,eAZM,wBAAA,CAAA,CAAwB,EAAA,CAAA,OAAA,eAAA,QAAA,cAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,EAAA,GAAA,CAAA,CAAA,OAAA,eAAA,QAAA,aAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,EAAA,GAAA,CAAA,CAAA,OAAA,eAAA,QAAA,mBAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,EAAA,GAAA,CAAA,CAAA,OAAA,eAAA,QAAA,oBAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,EAAA,GAAA,CAAA,CAAA,QAAA,aAAA,EAAA,EAAA,OAAA,eAAA,QAAA,sBAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,GAAA,CAAA,CAAA,QAAA,cAAA,EAAA,EAAA,OAAA,eAAA,QAAA,sBAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,EAAA,GAAA,CAAA,CAAA,OAAA,eAAA,QAAA,gBAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,EAAA,eAAA,CAAA,CAAA,OAAA,eAAA,QAAA,iBAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,EAAA,GAAA,CAAA,CAAA,OAAA,eAAA,QAAA,iBAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,EAAA,gBAAA,CAAA,CAAA,QAAA,gBAAA,EAAA,EAAA,QAAA,yBAAA,EAAA"}
|
package/dist/form.js
CHANGED
|
@@ -1,9 +1,93 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import
|
|
9
|
-
|
|
1
|
+
import { c as e } from "./mixins-BfazlmLD.js";
|
|
2
|
+
import { a as t } from "./active-host-BP0zy_Y9.js";
|
|
3
|
+
import "./autocomplete-DCkkdDON.js";
|
|
4
|
+
import { t as n } from "./checkbox-DMmqe2OO.js";
|
|
5
|
+
import { n as r, t as i } from "./date-range-TDF-f0ss.js";
|
|
6
|
+
import { n as a, t as o } from "./form-CYeMWHmy.js";
|
|
7
|
+
import { n as s, t as c } from "./input-C1h5lLiJ.js";
|
|
8
|
+
import "./input.js";
|
|
9
|
+
import { n as l, t as u } from "./radio-group-Zb0fies1.js";
|
|
10
|
+
import { SchmancyRange as d } from "./range.js";
|
|
11
|
+
import { t as f } from "./select-BJJKYtEi.js";
|
|
12
|
+
import { SchmancySwitch as p } from "./switch.js";
|
|
13
|
+
import "./textarea-CH62STRD.js";
|
|
14
|
+
import { customElement as m, property as h, state as g } from "lit/decorators.js";
|
|
15
|
+
import { html as _, nothing as v } from "lit";
|
|
16
|
+
var y = class extends e {
|
|
17
|
+
constructor(...e) {
|
|
18
|
+
super(...e), this._bump = 0, this._form = null;
|
|
19
|
+
}
|
|
20
|
+
connectedCallback() {
|
|
21
|
+
super.connectedCallback(), this._form = this.closest("schmancy-form"), this._form && (this._formObserver = new MutationObserver(() => {
|
|
22
|
+
this._bump++;
|
|
23
|
+
}), this._formObserver.observe(this._form, {
|
|
24
|
+
attributes: !0,
|
|
25
|
+
subtree: !0
|
|
26
|
+
}), (async () => {
|
|
27
|
+
await this._form?.updateComplete;
|
|
28
|
+
let e = this._form?.shadowRoot?.querySelector("[role=\"status\"]");
|
|
29
|
+
e && this._formObserver?.observe(e, {
|
|
30
|
+
childList: !0,
|
|
31
|
+
characterData: !0,
|
|
32
|
+
subtree: !0
|
|
33
|
+
}), this._bump++;
|
|
34
|
+
})());
|
|
35
|
+
}
|
|
36
|
+
disconnectedCallback() {
|
|
37
|
+
this._formObserver?.disconnect(), this._formObserver = void 0, super.disconnectedCallback();
|
|
38
|
+
}
|
|
39
|
+
_readFormStatus() {
|
|
40
|
+
return this._form ? this._form.matches(":state(error)") ? "error" : this._form.matches(":state(submitting)") ? "submitting" : this._form.matches(":state(success)") ? "success" : "idle" : "idle";
|
|
41
|
+
}
|
|
42
|
+
_readFormMessage() {
|
|
43
|
+
return (this._form?.shadowRoot?.querySelector("[role=\"status\"]"))?.textContent?.trim() ?? "";
|
|
44
|
+
}
|
|
45
|
+
_readInvalidFields() {
|
|
46
|
+
if (!this._form) return [];
|
|
47
|
+
let e = [];
|
|
48
|
+
for (let t of Array.from(this._form.querySelectorAll("*"))) {
|
|
49
|
+
if (!(t instanceof HTMLElement)) continue;
|
|
50
|
+
let n = !1;
|
|
51
|
+
try {
|
|
52
|
+
n = t.matches(":state(invalid)");
|
|
53
|
+
} catch {
|
|
54
|
+
continue;
|
|
55
|
+
}
|
|
56
|
+
if (!n) continue;
|
|
57
|
+
let r = t;
|
|
58
|
+
e.push({
|
|
59
|
+
id: r.id,
|
|
60
|
+
label: r.label || r.name || "(field)",
|
|
61
|
+
message: r.validationMessage || "Invalid value"
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
return e;
|
|
65
|
+
}
|
|
66
|
+
render() {
|
|
67
|
+
if (this._bump, this._readFormStatus() !== "error") return v;
|
|
68
|
+
let e = this._readFormMessage(), t = this._readInvalidFields(), n = t.length;
|
|
69
|
+
return _`
|
|
70
|
+
<div role="alert" aria-labelledby="schmancy-form-summary-heading">
|
|
71
|
+
<h2 id="schmancy-form-summary-heading">${this.heading ?? (n === 0 ? "There is a problem with this form" : `There ${n === 1 ? "is" : "are"} ${n} problem${n === 1 ? "" : "s"} with this form`)}</h2>
|
|
72
|
+
${e ? _`<p>${e}</p>` : v}
|
|
73
|
+
${n > 0 ? _`
|
|
74
|
+
<ul>
|
|
75
|
+
${t.map((e) => _`
|
|
76
|
+
<li>
|
|
77
|
+
<a
|
|
78
|
+
href="#${e.id}"
|
|
79
|
+
@click=${(t) => this._jumpToField(t, e.id)}
|
|
80
|
+
>${e.label}: ${e.message}</a>
|
|
81
|
+
</li>
|
|
82
|
+
`)}
|
|
83
|
+
</ul>
|
|
84
|
+
` : v}
|
|
85
|
+
</div>
|
|
86
|
+
`;
|
|
87
|
+
}
|
|
88
|
+
_jumpToField(e, t) {
|
|
89
|
+
e.preventDefault(), (this._form?.querySelector(`#${CSS.escape(t)}`))?.focus();
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
t([h({ type: String })], y.prototype, "heading", void 0), t([g()], y.prototype, "_bump", void 0), y = t([m("schmancy-form-summary")], y);
|
|
93
|
+
export { u as RadioButton, l as RadioGroup, n as SchmancyCheckbox, i as SchmancyDateRange, o as SchmancyForm, y as SchmancyFormSummary, s as SchmancyInput, c as SchmancyInputCompat, d as SchmancyRange, f as SchmancySelect, p as SchmancySwitch, a as formSubmitState, r as validateInitialDateRange };
|
package/dist/form.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.js","names":[],"sources":["../src/form/form-summary.ts"],"sourcesContent":["/**\n * `<schmancy-form-summary>` — top-of-form error summary with anchor links to\n * each invalid field. Linear / GOV.UK / GitHub pattern.\n *\n * Drop one inside any `<schmancy-form>`; on submit-failure or when\n * `<schmancy-form>.setFormError(...)` is called, the summary renders a\n * `role=\"alert\"` banner with the form-level error message and a list of\n * links pointing at each invalid field's `id`.\n *\n * Hidden when the form is idle, submitting, or successful — only `error`\n * populates it.\n *\n * @element schmancy-form-summary\n */\n\nimport { html, nothing } from 'lit'\nimport { customElement, property, state } from 'lit/decorators.js'\nimport { SchmancyElement } from '../../mixins'\nimport type SchmancyForm from './form'\n\n@customElement('schmancy-form-summary')\nexport class SchmancyFormSummary extends SchmancyElement {\n\t/**\n\t * Optional heading text. Defaults to a count-based summary\n\t * (\"1 problem with this form\" / \"3 problems with this form\").\n\t */\n\t@property({ type: String }) heading?: string\n\n\t/**\n\t * Render bumper — incremented to force a re-render when the form's state\n\t * changes (the actual content is computed from the DOM in render()).\n\t */\n\t@state() private _bump: number = 0\n\n\tprivate _form: SchmancyForm | null = null\n\tprivate _formObserver?: MutationObserver\n\n\toverride connectedCallback(): void {\n\t\tsuper.connectedCallback()\n\t\tthis._form = this.closest('schmancy-form') as SchmancyForm | null\n\t\tif (!this._form) {\n\t\t\tconsole.error('[schmancy-form-summary] must be a descendant of <schmancy-form>')\n\t\t\treturn\n\t\t}\n\t\tconst bump = () => { this._bump++ }\n\t\tthis._formObserver = new MutationObserver(bump)\n\t\t// Form host attribute changes (aria-busy, :state class reflections,\n\t\t// descendant attribute changes for fields' aria-invalid). subtree:true\n\t\t// catches attribute mutations on every descendant including light-DOM\n\t\t// fields and the form's own host.\n\t\tthis._formObserver.observe(this._form, {\n\t\t\tattributes: true,\n\t\t\tsubtree: true,\n\t\t})\n\t\t// Defer live-region observation until the form has rendered its\n\t\t// shadow tree.\n\t\tconst attachLiveRegionObserver = async (): Promise<void> => {\n\t\t\tawait this._form?.updateComplete\n\t\t\tconst liveRegion = this._form?.shadowRoot?.querySelector('[role=\"status\"]')\n\t\t\tif (liveRegion) {\n\t\t\t\tthis._formObserver?.observe(liveRegion, {\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tsubtree: true,\n\t\t\t\t})\n\t\t\t}\n\t\t\t// Force a render so the initial state is reflected.\n\t\t\tthis._bump++\n\t\t}\n\t\tvoid attachLiveRegionObserver()\n\t}\n\n\toverride disconnectedCallback(): void {\n\t\tthis._formObserver?.disconnect()\n\t\tthis._formObserver = undefined\n\t\tsuper.disconnectedCallback()\n\t}\n\n\tprivate _readFormStatus(): 'idle' | 'submitting' | 'success' | 'error' {\n\t\tif (!this._form) return 'idle'\n\t\tif (this._form.matches(':state(error)')) return 'error'\n\t\tif (this._form.matches(':state(submitting)')) return 'submitting'\n\t\tif (this._form.matches(':state(success)')) return 'success'\n\t\treturn 'idle'\n\t}\n\n\tprivate _readFormMessage(): string {\n\t\tconst liveRegion = this._form?.shadowRoot?.querySelector('[role=\"status\"]')\n\t\treturn liveRegion?.textContent?.trim() ?? ''\n\t}\n\n\tprivate _readInvalidFields(): Array<{ id: string; label: string; message: string }> {\n\t\tif (!this._form) return []\n\t\tconst result: Array<{ id: string; label: string; message: string }> = []\n\t\tfor (const el of Array.from(this._form.querySelectorAll('*'))) {\n\t\t\tif (!(el instanceof HTMLElement)) continue\n\t\t\tlet isInvalid = false\n\t\t\ttry {\n\t\t\t\tisInvalid = el.matches(':state(invalid)')\n\t\t\t} catch {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tif (!isInvalid) continue\n\t\t\tconst f = el as HTMLElement & {\n\t\t\t\tlabel?: string\n\t\t\t\tname?: string\n\t\t\t\tvalidationMessage?: string\n\t\t\t}\n\t\t\tresult.push({\n\t\t\t\tid: f.id,\n\t\t\t\tlabel: f.label || f.name || '(field)',\n\t\t\t\tmessage: f.validationMessage || 'Invalid value',\n\t\t\t})\n\t\t}\n\t\treturn result\n\t}\n\n\trender() {\n\t\t// Read everything fresh from the DOM each render — no @state cache, no\n\t\t// re-render loops. The MutationObserver bumps `_bump` to trigger this\n\t\t// render; `_bump` itself is never read here.\n\t\tvoid this._bump\n\n\t\tconst status = this._readFormStatus()\n\t\tif (status !== 'error') return nothing\n\n\t\tconst formMessage = this._readFormMessage()\n\t\tconst invalid = this._readInvalidFields()\n\t\tconst count = invalid.length\n\t\tconst heading =\n\t\t\tthis.heading ??\n\t\t\t(count === 0\n\t\t\t\t? 'There is a problem with this form'\n\t\t\t\t: `There ${count === 1 ? 'is' : 'are'} ${count} problem${count === 1 ? '' : 's'} with this form`)\n\n\t\treturn html`\n\t\t\t<div role=\"alert\" aria-labelledby=\"schmancy-form-summary-heading\">\n\t\t\t\t<h2 id=\"schmancy-form-summary-heading\">${heading}</h2>\n\t\t\t\t${formMessage ? html`<p>${formMessage}</p>` : nothing}\n\t\t\t\t${count > 0\n\t\t\t\t\t? html`\n\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t${invalid.map(\n\t\t\t\t\t\t\t\tf => html`\n\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t\t\thref=\"#${f.id}\"\n\t\t\t\t\t\t\t\t\t\t\t@click=${(e: MouseEvent) => this._jumpToField(e, f.id)}\n\t\t\t\t\t\t\t\t\t\t>${f.label}: ${f.message}</a>\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t`,\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t`\n\t\t\t\t\t: nothing}\n\t\t\t</div>\n\t\t`\n\t}\n\n\tprivate _jumpToField(e: MouseEvent, fieldId: string): void {\n\t\te.preventDefault()\n\t\tconst target = this._form?.querySelector(`#${CSS.escape(fieldId)}`) as HTMLElement | null\n\t\ttarget?.focus()\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-form-summary': SchmancyFormSummary\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;AAqBO,IAAA,IAAA,cAAkC,EAAA;CAAA,YAAA,GAAA,GAAA;EAAA,MAAA,GAAA,EAAA,EAAA,KAAA,QAWP,GAAA,KAAA,QAEI;;CAGrC,oBAAA;EACC,MAAM,mBAAA,EACN,KAAK,QAAQ,KAAK,QAAQ,gBAAA,EACrB,KAAK,UAKV,KAAK,gBAAgB,IAAI,uBADnB;GAAe,KAAK;IAAA,EAM1B,KAAK,cAAc,QAAQ,KAAK,OAAO;GACtC,YAAA,CAAY;GACZ,SAAA,CAAS;GAAA,CAAA,GAIuB,YAAA;GAAA,MAC1B,KAAK,OAAO;GAClB,IAAM,IAAa,KAAK,OAAO,YAAY,cAAc,oBAAA;GACrD,KACH,KAAK,eAAe,QAAQ,GAAY;IACvC,WAAA,CAAW;IACX,eAAA,CAAe;IACf,SAAA,CAAS;IAAA,CAAA,EAIX,KAAK;MAEN;;CAGD,uBAAA;EACC,KAAK,eAAe,YAAA,EACpB,KAAK,gBAAA,KAAgB,GACrB,MAAM,sBAAA;;CAGP,kBAAA;EACC,OAAK,KAAK,QACN,KAAK,MAAM,QAAQ,gBAAA,GAAyB,UAC5C,KAAK,MAAM,QAAQ,qBAAA,GAA8B,eACjD,KAAK,MAAM,QAAQ,kBAAA,GAA2B,YAC3C,SAJiB;;CAOzB,mBAAA;EAEC,QADmB,KAAK,OAAO,YAAY,cAAc,oBAAA,GACtC,aAAa,MAAA,IAAU;;CAG3C,qBAAA;EACC,IAAA,CAAK,KAAK,OAAO,OAAO,EAAA;EACxB,IAAM,IAAgE,EAAA;EACtE,KAAK,IAAM,KAAM,MAAM,KAAK,KAAK,MAAM,iBAAiB,IAAA,CAAA,EAAO;GAC9D,IAAA,EAAM,aAAc,cAAc;GAClC,IAAI,IAAA,CAAY;GAChB,IAAA;IACC,IAAY,EAAG,QAAQ,kBAAA;WAAA;IAEvB;;GAED,IAAA,CAAK,GAAW;GAChB,IAAM,IAAI;GAKV,EAAO,KAAK;IACX,IAAI,EAAE;IACN,OAAO,EAAE,SAAS,EAAE,QAAQ;IAC5B,SAAS,EAAE,qBAAqB;IAAA,CAAA;;EAGlC,OAAO;;CAGR,SAAA;EAOC,IAHA,KAAU,OAEK,KAAK,iBAAA,KACL,SAAS,OAAO;EAE/B,IAAM,IAAc,KAAK,kBAAA,EACnB,IAAU,KAAK,oBAAA,EACf,IAAQ,EAAQ;EAOtB,OAAO,CAAI;;6CALV,KAAK,YACJ,MAAU,IACR,sCACA,SAAS,MAAU,IAAI,OAAO,MAAA,GAAS,EAAA,UAAgB,MAAU,IAAI,KAAK,IAAA,kBAAA;MAK1E,IAAc,CAAI,MAAM,EAAA,QAAoB,EAAA;MAC5C,IAAQ,IACP,CAAI;;SAEF,EAAQ,KACT,MAAK,CAAI;;;oBAGG,EAAE,GAAA;qBACD,MAAkB,KAAK,aAAa,GAAG,EAAE,GAAA,CAAA;aACjD,EAAE,MAAA,IAAU,EAAE,QAAA;;;;SAMpB,EAAA;;;;CAKN,aAAqB,GAAe,GAAA;EACnC,EAAE,gBAAA,GACa,KAAK,OAAO,cAAc,IAAI,IAAI,OAAO,EAAA,GAAA,GAChD,OAAA;;;AAAA,EAAA,CAxIR,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,WAAA,KAAA,EAAA,EAAA,EAAA,CAM1B,GAAA,CAAA,EAAO,EAAA,WAAA,SAAA,KAAA,EAAA,EAAA,IAAA,EAAA,CAZR,EAAc,wBAAA,CAAA,EAAwB,EAAA;AAAA,SAAA,KAAA,aAAA,KAAA,YAAA,KAAA,kBAAA,KAAA,mBAAA,KAAA,cAAA,KAAA,qBAAA,KAAA,eAAA,KAAA,qBAAA,KAAA,eAAA,KAAA,gBAAA,KAAA,gBAAA,KAAA,iBAAA,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.29` 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.29
|
|
11
|
+
https://esm.sh/@mhmo91/schmancy/agent/manifest@0.10.29
|
|
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.29';
|
|
24
24
|
</script>
|
|
25
25
|
<schmancy-theme root scheme="dark">
|
|
26
26
|
<schmancy-surface type="solid" fill="all">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e } from "./mixins-
|
|
1
|
+
import { c as e } from "./mixins-BfazlmLD.js";
|
|
2
2
|
import { a as t } from "./active-host-BP0zy_Y9.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";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"icons-BUQNMhjw.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 interface Window {\n __siIcons?: Record<string, string>\n }\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 = [css`\n\t\t:host {\n\t\t\tdisplay: inline-flex;\n\t\t\tplace-items: center;\n\t\t\tplace-content: center;\n\t\t\tfont-size: 24px;\n\t\t\twidth: 1em;\n\t\t\theight: 1em;\n\t\t\tflex-shrink: 0;\n\t\t\tcolor: inherit;\n\t\t}\n\n\t\tsvg {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tfill: currentColor;\n\t\t\toverflow: visible;\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\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\">\n\t\t\t\t\t\t${svg`<path d=\"${path}\"/>`}\n\t\t\t\t\t</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":";;;;AAyBe,IAAA,IAAA,cAA2B,EAAA;CAAA,YAAA,GAAA,GAAA;EAAA,MAAA,GAAA,EAAA,EAAA,KAAA,QAqBhB;;CAAA;EAAA,KAAA,SApBT,CAAC,CAAG;;;;;;;;;;;;;;;;;;;;CAwBpB,oBAAA;EACC,MAAM,mBAAA,EACN,KAAK,QAAQ,KAAK,aAAa,MAAA,IAAU,IACzC,KAAK,YAAY,IAAI,uBAAA;GACpB,KAAK,QAAQ,KAAK,aAAa,MAAA,IAAU;IAAA,EAE1C,KAAK,UAAU,QAAQ,MAAM;GAAE,WAAA,CAAW;GAAM,eAAA,CAAe;GAAM,SAAA,CAAS;GAAA,CAAA,EAC9E,KAAK,aAAa,eAAe,OAAA,EACjC,KAAK,aAAa,aAAa,KAAA;;CAGhC,uBAAA;EACC,MAAM,sBAAA,EACN,KAAK,WAAW,YAAA;;CAGjB,SAAA;EACC,IAAM,IAAO,OAAO,YAAY,KAAK;EACrC,OAAO,CAAI;;KAER,IACC,CAAI;QACF,CAAG,YAAY,EAAA,KAAA;eAEjB,EAAA;;;;GA5BJ,GAAA,CAAA,EAAO,EAAA,WAAA,SAAA,KAAA,EAAA,EAAA,IAAA,EAAA,CAtBR,EAAc,gBAAA,CAAA,EAAgB,EAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require(`./chunk-CncqDLb2.cjs`);const e=require(`./mixins-
|
|
1
|
+
require(`./chunk-CncqDLb2.cjs`);const e=require(`./mixins-CxGRIPYQ.cjs`),t=require(`./active-host-jH3iloCR.cjs`);let n=require(`lit/decorators.js`),r=require(`lit`);var i=class extends e.c{constructor(...e){super(...e),this._name=``}static{this.styles=[r.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
place-items: center;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons-CJUA5bfI.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 interface Window {\n __siIcons?: Record<string, string>\n }\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 = [css`\n\t\t:host {\n\t\t\tdisplay: inline-flex;\n\t\t\tplace-items: center;\n\t\t\tplace-content: center;\n\t\t\tfont-size: 24px;\n\t\t\twidth: 1em;\n\t\t\theight: 1em;\n\t\t\tflex-shrink: 0;\n\t\t\tcolor: inherit;\n\t\t}\n\n\t\tsvg {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tfill: currentColor;\n\t\t\toverflow: visible;\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\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\">\n\t\t\t\t\t\t${svg`<path d=\"${path}\"/>`}\n\t\t\t\t\t</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":"qKAyBe,IAAA,EAAA,cAA2B,EAAA,CAAA,CAAA,YAAA,GAAA,EAAA,CAAA,MAAA,GAAA,EAAA,CAAA,KAAA,MAqBhB,GAAA,OAAA,KAAA,OApBT,CAAC,EAAA,GAAG;;;;;;;;;;;;;;;;;;IAwBpB,mBAAA,CACC,MAAM,mBAAA,CACN,KAAK,MAAQ,KAAK,aAAa,MAAA,EAAU,GACzC,KAAK,UAAY,IAAI,qBAAA,CACpB,KAAK,MAAQ,KAAK,aAAa,MAAA,EAAU,IAAA,CAE1C,KAAK,UAAU,QAAQ,KAAM,CAAE,UAAA,CAAW,EAAM,cAAA,CAAe,EAAM,QAAA,CAAS,EAAA,CAAA,CAC9E,KAAK,aAAa,cAAe,OAAA,CACjC,KAAK,aAAa,YAAa,KAAA,CAGhC,sBAAA,CACC,MAAM,sBAAA,CACN,KAAK,WAAW,YAAA,CAGjB,QAAA,CACC,IAAM,EAAO,OAAO,YAAY,KAAK,OACrC,MAAO,GAAA,IAAI;;KAER,EACC,EAAA,IAAI;QACF,EAAA,GAAG,YAAY,EAAA,KAAA;aAEjB,EAAA,QAAA;0BA5BG,EAAA,UAAA,QAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,eAtBM,gBAAA,CAAA,CAAgB,EAAA"}
|
package/dist/icons.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./
|
|
1
|
+
require(`./icons-CJUA5bfI.cjs`);
|
package/dist/icons.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import "./icons-BUQNMhjw.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e } from "./mixins-
|
|
1
|
+
import { c as e } from "./mixins-BfazlmLD.js";
|
|
2
2
|
import { a as t } from "./active-host-BP0zy_Y9.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";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iframe-
|
|
1
|
+
{"version":3,"file":"iframe-CbL0jCo1.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 = [css`\n\t:host {\n\t\tdisplay: block;\n\t}\n\tiframe {\n\t\tborder: 0;\n\t\twidth: 100%;\n\t}\n`];\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,EAAA,EAAA,KAAA,OAWR,IAAA,KAAA,MAGD,IAAA,KAAA,UAtCV,27BAAA,KAAA,UA4Cc,kCAAA,KAAA,YAGE,IAAA,KAAA,UAEb,IAAA,KAAA,UACT,IAAA,KAAA,aACG,GAAA;;CAAA;EAAA,KAAA,SA1BL,CAAC,CAAG;;;;;;;;;;CA4BpB,WAAqB,GAAA;EAAA,CAChB,EAAQ,IAAI,OAAA,IAAW,EAAQ,IAAI,MAAA,IAAU,EAAQ,IAAI,UAAA,MAC5D,KAAK,UAAU,KAAK,OAAO,KAAK,aAAA,GAAgB,IAChD,KAAK,UAAU,KAAK;;CAItB,QAAkB,GAAA;EACb,EAAQ,IAAI,UAAA,IACf,KAAK,WAAW,OAAO,aAAa,WAAW,KAAK,QAAA;;CAItD,cAAA;EAEC,OAAO,0JADQ,KAAK,MAAM,GAAG,KAAK,QAAA,IAAY,KAAK,QAAQ,KAAK,QAAA,uBAI3B,KAAK,KAAA;;CAG3C,OAAe,GAAA;EACd,IAAM,IAAS,EAAE;EACjB,IAAA;GACC,IAAM,IAAM,EAAO;GACnB,IAAA,CAAK,GAAK;GACV,KAAK,UAAU,KAAK,IAAI,EAAI,gBAAgB,cAAc,KAAK,UAAA;UAAA;GAE/D,KAAK,UAAU,KAAK,IAAI,KAAK,KAAK,UAAA;;;CAIpC,SAAA;EACC,OAAK,KAAK,OACH,CAAI;KACR,EAAI,KAAK,WAAA,CAAA;aACD,KAAK,QAAA;mBACC,KAAK,QAAA,gBAAwB,KAAK,UAAA;WAC1C,KAAK,OAAA;gBALS,CAAI;;;AAAA,EAAA,CAnD3B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,QAAA,KAAA,EAAA,EAAA,EAAA,CAG1B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,OAAA,KAAA,EAAA,EAAA,EAAA,CAG1B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,WAAA,KAAA,EAAA,EAAA,EAAA,CAG1B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,WAAA,KAAA,EAAA,EAAA,EAAA,CAG1B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,aAAA,KAAA,EAAA,EAAA,EAAA,CAE1B,GAAA,CAAA,EAAO,EAAA,WAAA,WAAA,KAAA,EAAA;AAAA,IAAA,IAAA,IAAA,EAAA,CA1BR,EAAc,kBAAA,CAAA,EAAkB,EAAA;AAAA,SAAA,KAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require(`./chunk-CncqDLb2.cjs`);const e=require(`./mixins-
|
|
1
|
+
require(`./chunk-CncqDLb2.cjs`);const e=require(`./mixins-CxGRIPYQ.cjs`),t=require(`./active-host-jH3iloCR.cjs`);let n=require(`lit/decorators.js`),r=require(`lit`),i=require(`lit/directives/ref.js`);var a=class extends e.c{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}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iframe-
|
|
1
|
+
{"version":3,"file":"iframe-pn7MIeH8.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 = [css`\n\t:host {\n\t\tdisplay: block;\n\t}\n\tiframe {\n\t\tborder: 0;\n\t\twidth: 100%;\n\t}\n`];\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":"wMAMA,IAwBe,EAAA,cAA6B,EAAA,CAAA,CAAA,YAAA,GAAA,EAAA,CAAA,MAAA,GAAA,EAAA,CAAA,KAAA,KAWR,GAAA,KAAA,IAGD,GAAA,KAAA,QAtCV;;;;;;;;;;6EAAA,KAAA,QA4Cc,iCAAA,KAAA,UAGE,GAAA,KAAA,QAEb,GAAA,KAAA,QACT,GAAA,KAAA,YAAA,EAAA,EAAA,YAAA,CAAA,OAAA,KAAA,OAzBF,CAAC,EAAA,GAAG;;;;;;;;GA4BpB,WAAqB,EAAA,EAChB,EAAQ,IAAI,OAAA,EAAW,EAAQ,IAAI,MAAA,EAAU,EAAQ,IAAI,UAAA,IAC5D,KAAK,QAAU,KAAK,KAAO,KAAK,aAAA,CAAgB,GAChD,KAAK,QAAU,KAAK,WAItB,QAAkB,EAAA,CACb,EAAQ,IAAI,UAAA,EACf,KAAK,WAAW,OAAO,aAAa,UAAW,KAAK,QAAA,CAItD,aAAA,CAEC,MAAO,0JADQ,KAAK,IAAM,GAAG,KAAK,QAAA,IAAY,KAAK,MAAQ,KAAK,QAAA,uBAI3B,KAAK,KAAA,gBAG3C,OAAe,EAAA,CACd,IAAM,EAAS,EAAE,OACjB,GAAA,CACC,IAAM,EAAM,EAAO,gBACnB,GAAA,CAAK,EAAK,OACV,KAAK,QAAU,KAAK,IAAI,EAAI,gBAAgB,aAAc,KAAK,UAAA,MAAA,CAE/D,KAAK,QAAU,KAAK,IAAI,IAAK,KAAK,UAAA,EAIpC,QAAA,CACC,OAAK,KAAK,KACH,EAAA,IAAI;eACJ,KAAK,WAAA,CAAA;aACD,KAAK,QAAA;mBACC,KAAK,QAAA,gBAAwB,KAAK,UAAA;WAC1C,KAAK,OAAA;cALS,EAAA,IAAI,KAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAnDlB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,OAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGjB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,MAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGjB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,UAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGjB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,UAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGjB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,YAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,QAAA,CAAA,CAEnB,EAAA,UAAA,UAAA,IAAA,GAAA,CAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,eA1BM,kBAAA,CAAA,CAAkB,EAAA,CAAA,OAAA,eAAA,QAAA,IAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,GAAA,CAAA"}
|
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-pn7MIeH8.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-CbL0jCo1.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 ee=require(`./mixins-BF3Vj8_c.cjs`),e=require(`./active-host-jH3iloCR.cjs`),t=require(`./area-BSVOYQDA.cjs`),n=require(`./lazy-CayEFyC3.cjs`),r=require(`./state-DcGj-pJJ.cjs`),i=require(`./sound.service-DVJZb9ox.cjs`),a=require(`./audio-Cvmemu84.cjs`),te=require(`./search-DPKoC-dT.cjs`),ne=require(`./input-chip-DKMNpcED.cjs`),o=require(`./animation-CCOIW4wJ.cjs`),s=require(`./directives-BkSqmLBV.cjs`),c=require(`./reduced-motion-Ds-HjMzn.cjs`),l=require(`./cursor-glow-Bulq-38P.cjs`),u=require(`./theme.service-Y-e8b331.cjs`),d=require(`./layout-eXb9wjDh.cjs`),re=require(`./overlay-stack-Bdr9lOqi.cjs`),ie=require(`./gravity-6pL6CfIr.cjs`),f=require(`./discovery.service-CIa3Eeuk.cjs`),ae=require(`./magnetic-MQ3HMHJi.cjs`),p=require(`./src-AYRNg63f.cjs`),m=require(`./boat-DVQBNkk5.cjs`),h=require(`./button-DAFZ5A4O.cjs`),g=require(`./button.cjs`),_=require(`./checkbox-Bi_Fm2mf.cjs`),v=require(`./chips-DWQMZErr.cjs`),y=require(`./connectivity.cjs`),b=require(`./overlay.service-BkSeqXIv.cjs`),x=require(`./date-range-DQpmMJH-.cjs`),oe=require(`./date-range-inline-nPWIs-3C.cjs`),S=require(`./delay.cjs`),se=require(`./details-BnRWMZdt.cjs`),C=require(`./dropdown.cjs`),w=require(`./surface-BNvxLEDN.cjs`),T=require(`./expand-D4EhwOYh.cjs`),E=require(`./window-CNu_WnsY.cjs`),D=require(`./float-B8EPc_OG.cjs`),O=require(`./form-SHg5FLsd.cjs`),k=require(`./input-5YL2oUBr.cjs`),A=require(`./radio-group-_WZg8EKM.cjs`),j=require(`./range.cjs`),M=require(`./theme.interface-CSt7JUBD.cjs`),N=require(`./select-BaioT3yY.cjs`),P=require(`./switch.cjs`),F=require(`./iframe-BO3BpRLH.cjs`),I=require(`./notification-CcNoBFEJ.cjs`),L=require(`./json.cjs`),R=require(`./layout.cjs`),z=require(`./lightbox-t4dvb8_A.cjs`),B=require(`./list-21mWtDKg.cjs`),V=require(`./navigation-rail.cjs`),H=require(`./overlay-Dv2utO4C.cjs`),U=require(`./typography-Bc4MmSal.cjs`),W=require(`./overlay.confirm-body-B2ntyquG.cjs`),G=require(`./rxjs-utils-Csnks202.cjs`),K=require(`./slider.cjs`),q=require(`./steps.cjs`),J=require(`./table.cjs`),Y=require(`./theme-D4HGKt7N.cjs`),ce=require(`./tooltip.cjs`),le=require(`./tree.cjs`),ue=require(`./types.cjs`),de=require(`./typewriter.cjs`),X=require(`./utils-DTa3QHxk.cjs`),Z=require(`./avatar.cjs`),Q=require(`./breadcrumb.cjs`),fe=require(`./kbd.cjs`),pe=require(`./skeleton.cjs`),me=require(`./visually-hidden.cjs`);let $=require(`@lit-labs/signals`);exports.$drawer=p.p,exports.$notify=I.r,exports.$sounds=a.t,exports.ANIMATION_CSS_VARS=o.t,exports.BLACKBIRD_EASING=o.n,exports.DISCOVER_EVENT=f.t,exports.DISCOVER_RESPONSE_EVENT=f.n,exports.DURATION_BACKDROP=o.r,exports.DURATION_ENTER=o.i,exports.DURATION_EXIT=o.a,exports.DragDirective=s.h,exports.DropDirective=s.g,exports.EASE_IN=o.o,exports.EASE_OUT=o.s,exports.EmotionalSoundGenerator=a.n,exports.FINDING_MORTIES=t.b,exports.GRID_ANIMATION_CSS=o.c,exports.HERE_RICKY=t.x,exports.HISTORY_STRATEGY=t.v,exports.HereMorty=p.n,Object.defineProperty(exports,`List`,{enumerable:!0,get:function(){return B.t}}),exports.Numbers=X.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=o.l,exports.SPRING_GENTLE=o.u,exports.SPRING_SMOOTH=o.d,exports.SPRING_SNAPPY=o.f,Object.defineProperty(exports,`ScBadgeV2`,{enumerable:!0,get:function(){return p.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 Z.SchmancyAvatar}}),Object.defineProperty(exports,`SchmancyBadgeV2`,{enumerable:!0,get:function(){return p.T}}),exports.SchmancyBoat=m.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 h.t}}),Object.defineProperty(exports,`SchmancyCheckbox`,{enumerable:!0,get:function(){return _.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 p._}}),exports.SchmancyContentDrawerID=p.v,Object.defineProperty(exports,`SchmancyContentDrawerMain`,{enumerable:!0,get:function(){return p.g}}),exports.SchmancyContentDrawerMaxHeight=p.y,exports.SchmancyContentDrawerMinWidth=p.b,Object.defineProperty(exports,`SchmancyContentDrawerSheet`,{enumerable:!0,get:function(){return p.h}}),exports.SchmancyContentDrawerSheetMode=p.x,exports.SchmancyContentDrawerSheetState=p.S,exports.SchmancyContext=r.o,Object.defineProperty(exports,`SchmancyDataTable`,{enumerable:!0,get:function(){return J.SchmancyDataTable}}),Object.defineProperty(exports,`SchmancyDateRange`,{enumerable:!0,get:function(){return x.t}}),exports.SchmancyDateRangeInline=oe.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 p.f}}),exports.SchmancyDrawerNavbarMode=p.l,exports.SchmancyDrawerNavbarState=p.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}}),exports.SchmancyFloat=D.t,exports.SchmancyForm=O.n,Object.defineProperty(exports,`SchmancyFormSummary`,{enumerable:!0,get:function(){return O.t}}),exports.SchmancyGenerateMoodAudioEvent=Y.n,exports.SchmancyIframe=F.t,exports.SchmancyInput=k.n,Object.defineProperty(exports,`SchmancyInputChip`,{enumerable:!0,get:function(){return ne.t}}),Object.defineProperty(exports,`SchmancyInputCompat`,{enumerable:!0,get:function(){return k.t}}),Object.defineProperty(exports,`SchmancyJson`,{enumerable:!0,get:function(){return L.SchmancyJson}}),Object.defineProperty(exports,`SchmancyKbd`,{enumerable:!0,get:function(){return fe.SchmancyKbd}}),Object.defineProperty(exports,`SchmancyLightbox`,{enumerable:!0,get:function(){return z.i}}),Object.defineProperty(exports,`SchmancyListItem`,{enumerable:!0,get:function(){return B.n}}),exports.SchmancyListTypeContext=B.r,Object.defineProperty(exports,`SchmancyNavigationBar`,{enumerable:!0,get:function(){return p.a}}),Object.defineProperty(exports,`SchmancyNavigationBarItem`,{enumerable:!0,get:function(){return p.o}}),Object.defineProperty(exports,`SchmancyNavigationDrawer`,{enumerable:!0,get:function(){return p.c}}),Object.defineProperty(exports,`SchmancyNavigationDrawerContent`,{enumerable:!0,get:function(){return p.d}}),Object.defineProperty(exports,`SchmancyNavigationDrawerSidebar`,{enumerable:!0,get:function(){return p.s}}),Object.defineProperty(exports,`SchmancyNavigationRail`,{enumerable:!0,get:function(){return V.SchmancyNavigationRail}}),Object.defineProperty(exports,`SchmancyNavigationRailItem`,{enumerable:!0,get:function(){return V.SchmancyNavigationRailItem}}),exports.SchmancyNotification=I.i,Object.defineProperty(exports,`SchmancyOverlay`,{enumerable:!0,get:function(){return H.t}}),Object.defineProperty(exports,`SchmancyOverlayPromptBody`,{enumerable:!0,get:function(){return W.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 R.SchmancyScroll}}),Object.defineProperty(exports,`SchmancySelect`,{enumerable:!0,get:function(){return N.t}}),Object.defineProperty(exports,`SchmancySkeleton`,{enumerable:!0,get:function(){return pe.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,`SchmancyStepsContainer`,{enumerable:!0,get:function(){return q.SchmancyStepsContainer}}),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 p.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 le.SchmancyTree}}),Object.defineProperty(exports,`SchmancyTypography`,{enumerable:!0,get:function(){return U.t}}),Object.defineProperty(exports,`SchmancyVisuallyHidden`,{enumerable:!0,get:function(){return me.SchmancyVisuallyHidden}}),exports.SchmancyWindow=E.t,Object.defineProperty(exports,`SchmnacyIconButton`,{enumerable:!0,get:function(){return g.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=p.r,exports._activeHost=e.t,exports.aiBadge=s.O,exports.animateText=s.k,exports.area=t.S,exports.art=s.D,exports.beta=s.C,exports.bindState=r.t,exports.buildQueryString=t.t,exports.color=s.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=b.t,exports.confirmClick=s.x,exports.createAnimation=o.p,exports.createDarkTonalPaletteFromBaseColor=Y.s,exports.createDismissAnimation=o.m,exports.createLightTonalPaletteFromBaseColor=Y.c,exports.createRevealAnimation=o.h,exports.createRouteCacheKey=t.a,exports.createScaleAnimation=o.g,exports.cursorGlow=l.t,exports.cycleText=s.b,exports.debounce=t.o,exports.decodeData=t.h,exports.decodeRouteState=t.s,exports.deepMerge=t.c,exports.delayContext=S.delayContext,exports.depthOfField=s.y,exports.discover=f.r,exports.discoverAllElements=f.i,exports.discoverAnyComponent=f.a,exports.discoverComponent=f.o,exports.discoverElement=f.s,exports.dismissAll=b.n,exports.drag=s._,exports.drop=s.v,exports.effect=r.n,exports.encodeData=t.g,exports.encodeRouteState=t.l,exports.extractQueryParams=t.u,exports.fill=s.m,exports.flip=z.r,exports.formSubmitState=O.r,exports.formatTheme=Y.l,exports.fromResizeObserver=d.t,exports.fullHeight=d.n,exports.fullWidth=d.r,exports.futureCell=s.E,exports.fyi=s.p,exports.getEasing=o._,exports.getTagName=t.d,exports.gravity=ie.t,exports.hummingbird=s.f,exports.intersect=s.d,exports.intersection$=X.n,exports.isBeta=s.w,exports.isObject=t.f,exports.lazy=n.t,exports.lightbox=z.t,exports.lightboxDirective=z.n,exports.liquid=s.u,exports.livingBorder=s.l,exports.longPress=s.c,exports.magnetic=ae.t,exports.missedPunch=s.s,exports.mutationObserver=G.t,exports.nebula=s.o,exports.normalizeTagName=t.p,exports.notify=I.t,exports.notifyProgress=I.n,exports.observe=r.r,exports.openOverlays$=b.r,exports.overflowWithin=s.r,exports.overlayEvents=b.i,exports.overlayStack=re.t,exports.prefersReducedMotion=o.v,exports.prompt=b.a,exports.reducedMotion$=c.t,exports.reveal=s.a,exports.ripple=s.i,exports.routerHistory=t.C,exports.sanitizeRouteState=t.m,exports.schmancyContentDrawer=p.C,exports.schmancyNavDrawer=p.m,exports.schmancySound=i.t,exports.schmancyTheme=u.t,exports.setBetaPredicate=s.T,exports.show=b.o,exports.similarity=te.t,exports.sound=i.n,exports.state=r.i,exports.stateFromObservable=r.a,exports.stepsContext=q.stepsContext,exports.tailwindAnimations=o.y,exports.tailwindStyles=Y.o,exports.teleport=p.i,exports.theme=u.n,exports.themeContext=ee.p,exports.tooltip=ce.tooltip,exports.typewriter=de.typewriter,exports.urgent=s.n,exports.validateInitialDateRange=x.n,exports.windowManager=E.n,exports.workingSnake=s.t;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk-CncqDLb2.cjs`);const ee=require(`./mixins-CxGRIPYQ.cjs`),e=require(`./active-host-jH3iloCR.cjs`),t=require(`./area-HXuLLQnN.cjs`),n=require(`./lazy-CayEFyC3.cjs`),r=require(`./state-DcGj-pJJ.cjs`),i=require(`./sound.service-DVJZb9ox.cjs`),a=require(`./audio-Cvmemu84.cjs`),te=require(`./search-DPKoC-dT.cjs`),o=require(`./input-chip-B0X_CodJ.cjs`),s=require(`./animation-CCOIW4wJ.cjs`),c=require(`./directives-BkSqmLBV.cjs`),l=require(`./reduced-motion-Ds-HjMzn.cjs`),u=require(`./cursor-glow-Bulq-38P.cjs`),d=require(`./theme.service-Y-e8b331.cjs`),f=require(`./layout-eXb9wjDh.cjs`),ne=require(`./overlay-stack-Bdr9lOqi.cjs`),re=require(`./gravity-6pL6CfIr.cjs`),p=require(`./discovery.service-CIa3Eeuk.cjs`),m=require(`./magnetic-MQ3HMHJi.cjs`),h=require(`./src-C0MzzF_S.cjs`),ie=require(`./boat-B_5F_rFr.cjs`),ae=require(`./button-8oMffyiO.cjs`),oe=require(`./button.cjs`),g=require(`./checkbox-DrKsfzC4.cjs`),_=require(`./chips-B1yQgLyW.cjs`),v=require(`./connectivity.cjs`),y=require(`./overlay.service-fb3KaMiP.cjs`),b=require(`./date-range-BeF0dW1W.cjs`),x=require(`./date-range-inline-BnhQZTK0.cjs`),S=require(`./delay.cjs`),se=require(`./details-T75tUASO.cjs`),C=require(`./dropdown.cjs`),w=require(`./surface-DPzlMMYX.cjs`),T=require(`./expand-C386rVT8.cjs`),E=require(`./window-aVXgfw__.cjs`),D=require(`./float-DyaPI0qO.cjs`),O=require(`./form-CGIJlQyP.cjs`),k=require(`./input-Cmc0IoUP.cjs`),A=require(`./radio-group-DQRJGMgS.cjs`),j=require(`./range.cjs`),M=require(`./theme.interface-CSt7JUBD.cjs`),N=require(`./select-C-acFFtV.cjs`),P=require(`./switch.cjs`),F=require(`./form.cjs`),I=require(`./iframe-pn7MIeH8.cjs`),L=require(`./notification-DT_cAi8U.cjs`),R=require(`./json.cjs`),z=require(`./layout.cjs`),B=require(`./lightbox-BiNK_plj.cjs`),V=require(`./list-CbM9w9OM.cjs`),H=require(`./navigation-rail.cjs`),U=require(`./overlay-CRwfhbyi.cjs`),W=require(`./typography-CjAvaB88.cjs`),G=require(`./overlay.confirm-body-CxOomuN6.cjs`),K=require(`./rxjs-utils-Csnks202.cjs`),q=require(`./slider.cjs`),J=require(`./steps.cjs`),Y=require(`./table.cjs`),X=require(`./theme-CG3Gpne7.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=s.t,exports.BLACKBIRD_EASING=s.n,exports.DISCOVER_EVENT=p.t,exports.DISCOVER_RESPONSE_EVENT=p.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=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=s.l,exports.SPRING_GENTLE=s.u,exports.SPRING_SMOOTH=s.d,exports.SPRING_SNAPPY=s.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 _.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=ie.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 ae.t}}),Object.defineProperty(exports,`SchmancyCheckbox`,{enumerable:!0,get:function(){return g.t}}),exports.SchmancyChip=_.n,exports.SchmancyFilterChip=_.n,Object.defineProperty(exports,`SchmancyConnectivityStatus`,{enumerable:!0,get:function(){return v.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.o,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=se.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}}),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 o.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,`SchmancyStepsContainer`,{enumerable:!0,get:function(){return J.SchmancyStepsContainer}}),Object.defineProperty(exports,`SchmancySuggestionChip`,{enumerable:!0,get:function(){return _.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 oe.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.t,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=y.t,exports.confirmClick=c.x,exports.createAnimation=s.p,exports.createDarkTonalPaletteFromBaseColor=X.s,exports.createDismissAnimation=s.m,exports.createLightTonalPaletteFromBaseColor=X.c,exports.createRevealAnimation=s.h,exports.createRouteCacheKey=t.a,exports.createScaleAnimation=s.g,exports.cursorGlow=u.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=p.r,exports.discoverAllElements=p.i,exports.discoverAnyComponent=p.a,exports.discoverComponent=p.o,exports.discoverElement=p.s,exports.dismissAll=y.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=X.l,exports.fromResizeObserver=f.t,exports.fullHeight=f.n,exports.fullWidth=f.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=m.t,exports.missedPunch=c.s,exports.mutationObserver=K.t,exports.nebula=c.o,exports.normalizeTagName=t.p,exports.notify=L.t,exports.notifyProgress=L.n,exports.observe=r.r,exports.openOverlays$=y.r,exports.overflowWithin=c.r,exports.overlayEvents=y.i,exports.overlayStack=ne.t,exports.prefersReducedMotion=s.v,exports.prompt=y.a,exports.reducedMotion$=l.t,exports.reveal=c.a,exports.ripple=c.i,exports.routerHistory=t.C,exports.sanitizeRouteState=t.m,exports.schmancyContentDrawer=h.C,exports.schmancyNavDrawer=h.m,exports.schmancySound=i.t,exports.schmancyTheme=d.t,exports.setBetaPredicate=c.T,exports.show=y.o,exports.similarity=te.t,exports.sound=i.n,exports.state=r.i,exports.stateFromObservable=r.a,exports.stepsContext=J.stepsContext,exports.tailwindAnimations=s.y,exports.tailwindStyles=X.o,exports.teleport=h.i,exports.theme=d.n,exports.themeContext=ee.p,exports.tooltip=ce.tooltip,exports.typewriter=de.typewriter,exports.urgent=c.n,exports.validateInitialDateRange=b.n,exports.windowManager=E.n,exports.workingSnake=c.t;
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { p as ee } from "./mixins-
|
|
1
|
+
import { p as ee } from "./mixins-BfazlmLD.js";
|
|
2
2
|
import { t as te } from "./active-host-BP0zy_Y9.js";
|
|
3
|
-
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-
|
|
3
|
+
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-D5wIy4Fn.js";
|
|
4
4
|
import { t as S } from "./lazy-D-bO2r4m.js";
|
|
5
5
|
import { a as C, c as w, i as T, n as E, o as D, r as O, s as k, t as A } from "./state-CHbIt2Dw.js";
|
|
6
6
|
import { n as j, t as M } from "./sound.service-v_jqCkos.js";
|
|
7
7
|
import { n as N, t as P } from "./audio-CxO5a2HL.js";
|
|
8
8
|
import { t as F } from "./search-MvIBA93K.js";
|
|
9
|
-
import { t as I } from "./input-chip-
|
|
9
|
+
import { t as I } from "./input-chip-DqAR4nPD.js";
|
|
10
10
|
import { _ as L, a as R, c as z, d as B, f as V, g as H, h as U, i as W, l as G, m as K, n as q, o as J, p as Y, r as X, s as Z, t as re, u as ie, v as ae, y as oe } from "./animation-DCznELuT.js";
|
|
11
11
|
import { C as se, D as ce, E as le, O as ue, S as de, T as fe, _ as pe, a as me, b as he, c as ge, d as _e, f as ve, g as ye, h as be, i as xe, k as Se, l as Ce, m as we, n as Te, o as Ee, p as De, r as Oe, s as ke, t as Ae, u as je, v as Me, w as Ne, x as Pe, y as Fe } from "./directives-DgPbz0lQ.js";
|
|
12
12
|
import { t as Ie } from "./reduced-motion-D-L12p7G.js";
|
|
@@ -17,45 +17,46 @@ import { t as Ge } from "./overlay-stack-D2rgxQLh.js";
|
|
|
17
17
|
import { t as Ke } from "./gravity-sVK3zGBF.js";
|
|
18
18
|
import { a as qe, i as Je, n as Ye, o as Xe, r as Ze, s as Qe, t as $e } from "./discovery.service-DZFxtRwW.js";
|
|
19
19
|
import { t as et } from "./magnetic-B2VKNfDu.js";
|
|
20
|
-
import { C as tt, S as nt, T as rt, _ as it, a as at, b as ot, c as st, d as ct, f as lt, g as ut, h as dt, i as ft, l as pt, m as Q, n as mt, o as ht, p as gt, r as _t, s as vt, t as yt, u as bt, v as xt, w as St, x as Ct, y as wt } from "./src-
|
|
21
|
-
import { t as Tt } from "./boat-
|
|
22
|
-
import { t as Et } from "./button-
|
|
20
|
+
import { C as tt, S as nt, T as rt, _ as it, a as at, b as ot, c as st, d as ct, f as lt, g as ut, h as dt, i as ft, l as pt, m as Q, n as mt, o as ht, p as gt, r as _t, s as vt, t as yt, u as bt, v as xt, w as St, x as Ct, y as wt } from "./src-CUcUMK0M.js";
|
|
21
|
+
import { t as Tt } from "./boat-BfgbRnhA.js";
|
|
22
|
+
import { t as Et } from "./button-D7AejvfK.js";
|
|
23
23
|
import { SchmnacyIconButton as Dt } from "./button.js";
|
|
24
|
-
import { t as Ot } from "./checkbox-
|
|
25
|
-
import { n as $, r as kt, t as At } from "./chips-
|
|
24
|
+
import { t as Ot } from "./checkbox-DMmqe2OO.js";
|
|
25
|
+
import { n as $, r as kt, t as At } from "./chips-DRGsqDMA.js";
|
|
26
26
|
import { SchmancyConnectivityStatus as jt } from "./connectivity.js";
|
|
27
|
-
import { a as Mt, i as Nt, n as Pt, o as Ft, r as It, t as Lt } from "./overlay.service-
|
|
28
|
-
import { n as Rt, t as zt } from "./date-range-
|
|
29
|
-
import { t as Bt } from "./date-range-inline-
|
|
27
|
+
import { a as Mt, i as Nt, n as Pt, o as Ft, r as It, t as Lt } from "./overlay.service-DsBb_UwG.js";
|
|
28
|
+
import { n as Rt, t as zt } from "./date-range-TDF-f0ss.js";
|
|
29
|
+
import { t as Bt } from "./date-range-inline-JLsmcle2.js";
|
|
30
30
|
import { SchmancyDelay as Vt, delayContext as Ht } from "./delay.js";
|
|
31
|
-
import { t as Ut } from "./details-
|
|
31
|
+
import { t as Ut } from "./details-ChMhQpcY.js";
|
|
32
32
|
import { SchmancyDropdown as Wt, SchmancyDropdownContent as Gt } from "./dropdown.js";
|
|
33
|
-
import { n as Kt, t as qt } from "./surface-
|
|
34
|
-
import { n as Jt, t as Yt } from "./expand-
|
|
35
|
-
import { n as Xt, t as Zt } from "./window-
|
|
36
|
-
import { t as Qt } from "./float-
|
|
37
|
-
import { n as $t,
|
|
38
|
-
import { n as
|
|
39
|
-
import { n as
|
|
40
|
-
import { SchmancyRange as
|
|
41
|
-
import { t as
|
|
42
|
-
import { t as
|
|
43
|
-
import { SchmancySwitch as
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
33
|
+
import { n as Kt, t as qt } from "./surface-CLcc26d2.js";
|
|
34
|
+
import { n as Jt, t as Yt } from "./expand-KLSx5dea.js";
|
|
35
|
+
import { n as Xt, t as Zt } from "./window-BkPXY-8m.js";
|
|
36
|
+
import { t as Qt } from "./float-BoPLNysg.js";
|
|
37
|
+
import { n as $t, t as en } from "./form-CYeMWHmy.js";
|
|
38
|
+
import { n as tn, t as nn } from "./input-C1h5lLiJ.js";
|
|
39
|
+
import { n as rn, t as an } from "./radio-group-Zb0fies1.js";
|
|
40
|
+
import { SchmancyRange as on } from "./range.js";
|
|
41
|
+
import { t as sn } from "./theme.interface-odQEpZZH.js";
|
|
42
|
+
import { t as cn } from "./select-BJJKYtEi.js";
|
|
43
|
+
import { SchmancySwitch as ln } from "./switch.js";
|
|
44
|
+
import { SchmancyFormSummary as un } from "./form.js";
|
|
45
|
+
import { t as dn } from "./iframe-CbL0jCo1.js";
|
|
46
|
+
import { i as fn, n as pn, r as mn, t as hn } from "./notification-Du5FRbYp.js";
|
|
46
47
|
import { SchmancyJson as gn } from "./json.js";
|
|
47
48
|
import { SchmancyScroll as _n } from "./layout.js";
|
|
48
|
-
import { i as vn, n as yn, r as bn, t as xn } from "./lightbox-
|
|
49
|
-
import { n as Sn, r as Cn, t as wn } from "./list-
|
|
49
|
+
import { i as vn, n as yn, r as bn, t as xn } from "./lightbox-C3zomJ-r.js";
|
|
50
|
+
import { n as Sn, r as Cn, t as wn } from "./list-Bbmp1uMa.js";
|
|
50
51
|
import { SchmancyNavigationRail as Tn, SchmancyNavigationRailItem as En } from "./navigation-rail.js";
|
|
51
|
-
import { t as Dn } from "./overlay-
|
|
52
|
-
import { t as On } from "./typography-
|
|
53
|
-
import { t as kn } from "./overlay.confirm-body-
|
|
52
|
+
import { t as Dn } from "./overlay-B79m-KXf.js";
|
|
53
|
+
import { t as On } from "./typography-DP82e3GJ.js";
|
|
54
|
+
import { t as kn } from "./overlay.confirm-body-CW_spktW.js";
|
|
54
55
|
import { t as An } from "./rxjs-utils-d-ivVN84.js";
|
|
55
56
|
import { SchmancySlide as jn, SchmancySlider as Mn } from "./slider.js";
|
|
56
57
|
import { SchmancyStep as Nn, SchmancyStepsContainer as Pn, StepsController as Fn, stepsContext as In } from "./steps.js";
|
|
57
58
|
import { SchmancyDataTable as Ln, SchmancyTableRow as Rn } from "./table.js";
|
|
58
|
-
import { a as zn, c as Bn, i as Vn, l as Hn, n as Un, o as Wn, r as Gn, s as Kn, t as qn } from "./theme-
|
|
59
|
+
import { a as zn, c as Bn, i as Vn, l as Hn, n as Un, o as Wn, r as Gn, s as Kn, t as qn } from "./theme-z82BIRuw.js";
|
|
59
60
|
import { tooltip as Jn } from "./tooltip.js";
|
|
60
61
|
import { SchmancyTree as Yn } from "./tree.js";
|
|
61
62
|
import { SchmancyEvents as Xn } from "./types.js";
|
|
@@ -66,4 +67,4 @@ import { SchmancyBreadcrumb as tr, SchmancyBreadcrumbItem as nr } from "./breadc
|
|
|
66
67
|
import { SchmancyKbd as rr } from "./kbd.js";
|
|
67
68
|
import { SchmancySkeleton as ir } from "./skeleton.js";
|
|
68
69
|
import { SchmancyVisuallyHidden as ar } from "./visually-hidden.js";
|
|
69
|
-
export { gt as $drawer, mn as $notify, P as $sounds, re as ANIMATION_CSS_VARS, q as BLACKBIRD_EASING, $e as DISCOVER_EVENT, Ye as DISCOVER_RESPONSE_EVENT, X as DURATION_BACKDROP, W as DURATION_ENTER, R as DURATION_EXIT, be as DragDirective, ye as DropDirective, J as EASE_IN, Z as EASE_OUT, N as EmotionalSoundGenerator, r as FINDING_MORTIES, z as GRID_ANIMATION_CSS, b as HERE_RICKY, y as HISTORY_STRATEGY, mt as HereMorty, wn as List, $n as Numbers,
|
|
70
|
+
export { gt as $drawer, mn as $notify, P as $sounds, re as ANIMATION_CSS_VARS, q as BLACKBIRD_EASING, $e as DISCOVER_EVENT, Ye as DISCOVER_RESPONSE_EVENT, X as DURATION_BACKDROP, W as DURATION_ENTER, R as DURATION_EXIT, be as DragDirective, ye as DropDirective, J as EASE_IN, Z as EASE_OUT, N as EmotionalSoundGenerator, r as FINDING_MORTIES, z as GRID_ANIMATION_CSS, b as HERE_RICKY, y as HISTORY_STRATEGY, mt as HereMorty, wn as List, $n as Numbers, an as RadioButton, rn as RadioGroup, Yt as SCHMANCY_EXPAND_REQUEST_CLOSE, G as SPRING_BOUNCY, ie as SPRING_GENTLE, B as SPRING_SMOOTH, V as SPRING_SNAPPY, St as ScBadgeV2, t as SchmancyArea, kt as SchmancyAssistChip, er as SchmancyAvatar, rt as SchmancyBadgeV2, Tt as SchmancyBoat, tr as SchmancyBreadcrumb, nr as SchmancyBreadcrumbItem, Et as SchmancyButton, Ot as SchmancyCheckbox, $ as SchmancyChip, $ as SchmancyFilterChip, jt as SchmancyConnectivityStatus, it as SchmancyContentDrawer, xt as SchmancyContentDrawerID, ut as SchmancyContentDrawerMain, wt as SchmancyContentDrawerMaxHeight, ot as SchmancyContentDrawerMinWidth, dt as SchmancyContentDrawerSheet, Ct as SchmancyContentDrawerSheetMode, nt as SchmancyContentDrawerSheetState, w as SchmancyContext, Ln as SchmancyDataTable, zt as SchmancyDateRange, Bt as SchmancyDateRangeInline, Vt as SchmancyDelay, Ut as SchmancyDetails, lt as SchmancyDrawerAppbar, pt as SchmancyDrawerNavbarMode, bt as SchmancyDrawerNavbarState, Wt as SchmancyDropdown, Gt as SchmancyDropdownContent, Xn as SchmancyEvents, Jt as SchmancyExpandRoot, Qt as SchmancyFloat, en as SchmancyForm, un as SchmancyFormSummary, Un as SchmancyGenerateMoodAudioEvent, dn as SchmancyIframe, tn as SchmancyInput, I as SchmancyInputChip, nn as SchmancyInputCompat, gn as SchmancyJson, rr as SchmancyKbd, vn as SchmancyLightbox, Sn as SchmancyListItem, Cn as SchmancyListTypeContext, at as SchmancyNavigationBar, ht as SchmancyNavigationBarItem, st as SchmancyNavigationDrawer, ct as SchmancyNavigationDrawerContent, vt as SchmancyNavigationDrawerSidebar, Tn as SchmancyNavigationRail, En as SchmancyNavigationRailItem, fn as SchmancyNotification, Dn as SchmancyOverlay, kn as SchmancyOverlayPromptBody, on as SchmancyRange, x as SchmancyRoute, _n as SchmancyScroll, cn as SchmancySelect, ir as SchmancySkeleton, jn as SchmancySlide, Mn as SchmancySlider, Nn as SchmancyStep, Pn as SchmancyStepsContainer, At as SchmancySuggestionChip, qt as SchmancySurface, Kt as SchmancySurfaceTypeContext, ln as SchmancySwitch, Rn as SchmancyTableRow, yt as SchmancyTeleportation, sn as SchmancyTheme, Gn as SchmancyThemeAudioPlayer, zn as SchmancyThemeComponent, Vn as SchmancyThemeController, qn as SchmancyThemeControllerBoat, Yn as SchmancyTree, On as SchmancyTypography, ar as SchmancyVisuallyHidden, Zt as SchmancyWindow, Dt as SchmnacyIconButton, A as Signal, Fn as StepsController, Be as ThemeHereIAm, Re as ThemeWhereAreYou, _t as WhereAreYouRicky, te as _activeHost, ue as aiBadge, Se as animateText, e as area, ce as art, se as beta, E as bindState, _ as buildQueryString, de as color, f as compareActiveRoutes, h as compareCustomElementConstructors, l as compareRouteActions, O as computed, Lt as confirm, Pe as confirmClick, Y as createAnimation, Kn as createDarkTonalPaletteFromBaseColor, K as createDismissAnimation, Bn as createLightTonalPaletteFromBaseColor, U as createRevealAnimation, n as createRouteCacheKey, H as createScaleAnimation, Le as cursorGlow, he as cycleText, p as debounce, c as decodeData, g as decodeRouteState, i as deepMerge, Ht as delayContext, Fe as depthOfField, Ze as discover, Je as discoverAllElements, qe as discoverAnyComponent, Xe as discoverComponent, Qe as discoverElement, Pt as dismissAll, pe as drag, Me as drop, T as effect, s as encodeData, u as encodeRouteState, v as extractQueryParams, we as fill, bn as flip, $t as formSubmitState, Hn as formatTheme, We as fromResizeObserver, He as fullHeight, Ue as fullWidth, le as futureCell, De as fyi, L as getEasing, a as getTagName, Ke as gravity, ve as hummingbird, _e as intersect, Qn as intersection$, Ne as isBeta, o as isObject, S as lazy, xn as lightbox, yn as lightboxDirective, je as liquid, Ce as livingBorder, ge as longPress, et as magnetic, ke as missedPunch, An as mutationObserver, Ee as nebula, m as normalizeTagName, hn as notify, pn as notifyProgress, C as observe, It as openOverlays$, Oe as overflowWithin, Nt as overlayEvents, Ge as overlayStack, ae as prefersReducedMotion, Mt as prompt, Ie as reducedMotion$, me as reveal, xe as ripple, ne as routerHistory, d as sanitizeRouteState, tt as schmancyContentDrawer, Q as schmancyNavDrawer, M as schmancySound, Ve as schmancyTheme, fe as setBetaPredicate, Ft as show, F as similarity, j as sound, D as state, k as stateFromObservable, In as stepsContext, oe as tailwindAnimations, Wn as tailwindStyles, ft as teleport, ze as theme, ee as themeContext, Jn as tooltip, Zn as typewriter, Te as urgent, Rt as validateInitialDateRange, Xt as windowManager, Ae as workingSnake };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e } from "./mixins-
|
|
1
|
+
import { o as e } from "./mixins-BfazlmLD.js";
|
|
2
2
|
import { a as t } from "./active-host-BP0zy_Y9.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";
|