@mhmo91/schmancy 0.4.93 → 0.4.95
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/dist/{animated-text-Dqrad7cv.cjs → animated-text-DGYJHeql.cjs} +2 -2
- package/dist/{animated-text-Dqrad7cv.cjs.map → animated-text-DGYJHeql.cjs.map} +1 -1
- package/dist/{animated-text-mNos9Gw8.js → animated-text-M3MwaJkg.js} +3 -3
- package/dist/{animated-text-mNos9Gw8.js.map → animated-text-M3MwaJkg.js.map} +1 -1
- package/dist/animated-text.cjs +1 -1
- package/dist/animated-text.js +1 -1
- package/dist/area.cjs +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-CMxXFeC_.js → autocomplete-C_A62ItA.js} +3 -3
- package/dist/{autocomplete-CMxXFeC_.js.map → autocomplete-C_A62ItA.js.map} +1 -1
- package/dist/{autocomplete-CzYbBt-K.cjs → autocomplete-DjqSPfKI.cjs} +2 -2
- package/dist/{autocomplete-CzYbBt-K.cjs.map → autocomplete-DjqSPfKI.cjs.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-CGGPvamo.cjs → avatar-CqnhaXXV.cjs} +2 -2
- package/dist/{avatar-CGGPvamo.cjs.map → avatar-CqnhaXXV.cjs.map} +1 -1
- package/dist/{avatar-CH-EctMv.js → avatar-Dzo_bHWz.js} +48 -48
- package/dist/{avatar-CH-EctMv.js.map → avatar-Dzo_bHWz.js.map} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-xekVVZab.js → boat-B1ek034g.js} +2 -2
- package/dist/{boat-xekVVZab.js.map → boat-B1ek034g.js.map} +1 -1
- package/dist/{boat-feSRWu7P.cjs → boat-C2tDxZ6q.cjs} +2 -2
- package/dist/{boat-feSRWu7P.cjs.map → boat-C2tDxZ6q.cjs.map} +1 -1
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-DwBANLb6.cjs → checkbox-03EPnFAK.cjs} +2 -2
- package/dist/{checkbox-DwBANLb6.cjs.map → checkbox-03EPnFAK.cjs.map} +1 -1
- package/dist/{checkbox-DTfIF2XH.js → checkbox-eulWj2PZ.js} +2 -2
- package/dist/{checkbox-DTfIF2XH.js.map → checkbox-eulWj2PZ.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-DORDPg5b.cjs → chips-6yP6k7JE.cjs} +108 -30
- package/dist/chips-6yP6k7JE.cjs.map +1 -0
- package/dist/{chips-7TbOS1By.js → chips-BdwPstWQ.js} +159 -81
- package/dist/chips-BdwPstWQ.js.map +1 -0
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +1 -1
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-DWDE2pUe.js → code-preview-BbTWQ55v.js} +2 -2
- package/dist/{code-preview-DWDE2pUe.js.map → code-preview-BbTWQ55v.js.map} +1 -1
- package/dist/{code-preview-DqFuxCjV.cjs → code-preview-CMItpsiu.cjs} +2 -2
- package/dist/{code-preview-DqFuxCjV.cjs.map → code-preview-CMItpsiu.cjs.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{date-range-s2EHTGQM.js → date-range-DPUakZPo.js} +3 -3
- package/dist/{date-range-s2EHTGQM.js.map → date-range-DPUakZPo.js.map} +1 -1
- package/dist/{date-range-DwdO0vNv.cjs → date-range-DwRTfoCX.cjs} +2 -2
- package/dist/{date-range-DwdO0vNv.cjs.map → date-range-DwRTfoCX.cjs.map} +1 -1
- package/dist/{date-range-inline-yYh4Uw-k.js → date-range-inline-BDY8ta-_.js} +3 -3
- package/dist/{date-range-inline-yYh4Uw-k.js.map → date-range-inline-BDY8ta-_.js.map} +1 -1
- package/dist/{date-range-inline-B1WaAPY6.cjs → date-range-inline-Cbsauu_G.cjs} +2 -2
- package/dist/{date-range-inline-B1WaAPY6.cjs.map → date-range-inline-Cbsauu_G.cjs.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-l2gPaJoH.cjs → delay-C-TMlc4W.cjs} +2 -2
- package/dist/{delay-l2gPaJoH.cjs.map → delay-C-TMlc4W.cjs.map} +1 -1
- package/dist/{delay-D19Mpit_.js → delay-DcedOFSN.js} +2 -2
- package/dist/{delay-D19Mpit_.js.map → delay-DcedOFSN.js.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-CEu4oDP7.js → details-D0KugZBN.js} +2 -2
- package/dist/{details-CEu4oDP7.js.map → details-D0KugZBN.js.map} +1 -1
- package/dist/{details-LNuoItTO.cjs → details-Z8HOTTt1.cjs} +2 -2
- package/dist/{details-LNuoItTO.cjs.map → details-Z8HOTTt1.cjs.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-6wVlm9RL.cjs → dialog-content-BkEwkThE.cjs} +2 -2
- package/dist/{dialog-content-6wVlm9RL.cjs.map → dialog-content-BkEwkThE.cjs.map} +1 -1
- package/dist/{dialog-content-CQ3Xi4_b.js → dialog-content-KRxANHR0.js} +3 -3
- package/dist/{dialog-content-CQ3Xi4_b.js.map → dialog-content-KRxANHR0.js.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/{divider-5OCZNBJ7.js → divider-BGkqRkQl.js} +3 -3
- package/dist/{divider-5OCZNBJ7.js.map → divider-BGkqRkQl.js.map} +1 -1
- package/dist/{divider-auzbAyaR.cjs → divider-lCsVNqB-.cjs} +2 -2
- package/dist/{divider-auzbAyaR.cjs.map → divider-lCsVNqB-.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-BLZviV1z.js → dropdown-content-Bi8BCmaN.js} +3 -3
- package/dist/{dropdown-content-BLZviV1z.js.map → dropdown-content-Bi8BCmaN.js.map} +1 -1
- package/dist/{dropdown-content-BI541LSK.cjs → dropdown-content-OwW8ib3f.cjs} +2 -2
- package/dist/{dropdown-content-BI541LSK.cjs.map → dropdown-content-OwW8ib3f.cjs.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-JeGKXcBj.js → email-recipients-BR7vUItj.js} +5 -5
- package/dist/{email-recipients-JeGKXcBj.js.map → email-recipients-BR7vUItj.js.map} +1 -1
- package/dist/{email-recipients-DizBUcJ2.cjs → email-recipients-pX6WGwHT.cjs} +2 -2
- package/dist/{email-recipients-DizBUcJ2.cjs.map → email-recipients-pX6WGwHT.cjs.map} +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-ro_7y02P.js → flex-Bm7IDK0c.js} +2 -2
- package/dist/{flex-ro_7y02P.js.map → flex-Bm7IDK0c.js.map} +1 -1
- package/dist/{flex-BN7HdoGW.cjs → flex-DBNIiqdE.cjs} +2 -2
- package/dist/{flex-BN7HdoGW.cjs.map → flex-DBNIiqdE.cjs.map} +1 -1
- package/dist/{form-DT6f2KNH.cjs → form-BX4qk01B.cjs} +2 -2
- package/dist/{form-DT6f2KNH.cjs.map → form-BX4qk01B.cjs.map} +1 -1
- package/dist/{form-BqGTSZpr.js → form-eGKshh3r.js} +2 -2
- package/dist/{form-BqGTSZpr.js.map → form-eGKshh3r.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-DtegNyKv.js → formField.mixin-CLmHIFjr.js} +2 -2
- package/dist/{formField.mixin-DtegNyKv.js.map → formField.mixin-CLmHIFjr.js.map} +1 -1
- package/dist/{formField.mixin-CSy0dZ7Q.cjs → formField.mixin-DgYFicXI.cjs} +2 -2
- package/dist/{formField.mixin-CSy0dZ7Q.cjs.map → formField.mixin-DgYFicXI.cjs.map} +1 -1
- package/dist/{icon-GaL2G_1M.cjs → icon-BJ_liaGU.cjs} +2 -2
- package/dist/{icon-GaL2G_1M.cjs.map → icon-BJ_liaGU.cjs.map} +1 -1
- package/dist/{icon-CSxxuGxN.js → icon-Do3Co1Pc.js} +2 -2
- package/dist/{icon-CSxxuGxN.js.map → icon-Do3Co1Pc.js.map} +1 -1
- package/dist/{icon-button-B0jLowAy.js → icon-button-CbdmA0dk.js} +3 -3
- package/dist/{icon-button-B0jLowAy.js.map → icon-button-CbdmA0dk.js.map} +1 -1
- package/dist/{icon-button-DkvwZOHF.cjs → icon-button-CxULEtpN.cjs} +2 -2
- package/dist/{icon-button-DkvwZOHF.cjs.map → icon-button-CxULEtpN.cjs.map} +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +47 -47
- package/dist/{input-D0c-WhDi.js → input-DTGI9Hn0.js} +3 -3
- package/dist/{input-D0c-WhDi.js.map → input-DTGI9Hn0.js.map} +1 -1
- package/dist/{input-fPWOjQgP.cjs → input-DeYr4GOx.cjs} +2 -2
- package/dist/{input-fPWOjQgP.cjs.map → input-DeYr4GOx.cjs.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/{list-3Ity7MFT.js → list-D7R2NDV7.js} +2 -2
- package/dist/{list-3Ity7MFT.js.map → list-D7R2NDV7.js.map} +1 -1
- package/dist/{list-CbXXjBUM.cjs → list-DQxUt3w0.cjs} +2 -2
- package/dist/{list-CbXXjBUM.cjs.map → list-DQxUt3w0.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-DFG5Ckp7.cjs → litElement.mixin-C1UlW2yv.cjs} +2 -2
- package/dist/{litElement.mixin-DFG5Ckp7.cjs.map → litElement.mixin-C1UlW2yv.cjs.map} +1 -1
- package/dist/{litElement.mixin-Efwm8boA.js → litElement.mixin-D379V_-T.js} +2 -2
- package/dist/{litElement.mixin-Efwm8boA.js.map → litElement.mixin-D379V_-T.js.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-BCQwFMpm.js → map-C16DoQah.js} +2 -2
- package/dist/{map-BCQwFMpm.js.map → map-C16DoQah.js.map} +1 -1
- package/dist/{map-DeRVVjHa.cjs → map-Dv-rxb2t.cjs} +2 -2
- package/dist/{map-DeRVVjHa.cjs.map → map-Dv-rxb2t.cjs.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{media-nVQjNoX7.js → media-DruoNHFP.js} +62 -108
- package/dist/media-DruoNHFP.js.map +1 -0
- package/dist/{media-CL9LNHic.cjs → media-bbZayaf9.cjs} +29 -78
- package/dist/media-bbZayaf9.cjs.map +1 -0
- package/dist/{menu-CusvB2dY.js → menu-0iRALRYm.js} +3 -3
- package/dist/{menu-CusvB2dY.js.map → menu-0iRALRYm.js.map} +1 -1
- package/dist/{menu-Delwe6al.cjs → menu-DL_LIJDZ.cjs} +2 -2
- package/dist/{menu-Delwe6al.cjs.map → menu-DL_LIJDZ.cjs.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/{notification-service-DiTgelcm.js → notification-service-VTX0d4Mz.js} +4 -4
- package/dist/{notification-service-DiTgelcm.js.map → notification-service-VTX0d4Mz.js.map} +1 -1
- package/dist/{notification-service-BwcUY8O5.cjs → notification-service-duChj_fI.cjs} +2 -2
- package/dist/{notification-service-BwcUY8O5.cjs.map → notification-service-duChj_fI.cjs.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-JNbirYT5.js → notify-CsPnMOWA.js} +2 -2
- package/dist/{notify-JNbirYT5.js.map → notify-CsPnMOWA.js.map} +1 -1
- package/dist/{notify-C81e8flx.cjs → notify-DWzOE_a0.cjs} +2 -2
- package/dist/{notify-C81e8flx.cjs.map → notify-DWzOE_a0.cjs.map} +1 -1
- package/dist/{option-D4XcuvRK.cjs → option-BuxsrJGz.cjs} +2 -2
- package/dist/{option-D4XcuvRK.cjs.map → option-BuxsrJGz.cjs.map} +1 -1
- package/dist/{option-dihFw6qv.js → option-LU4u-XDp.js} +2 -2
- package/dist/{option-dihFw6qv.js.map → option-LU4u-XDp.js.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-CIm57Nfa.cjs → payment-card-form-BHOSDbBW.cjs} +2 -2
- package/dist/{payment-card-form-CIm57Nfa.cjs.map → payment-card-form-BHOSDbBW.cjs.map} +1 -1
- package/dist/{payment-card-form-pDuTrWgZ.js → payment-card-form-DRDYv0Kf.js} +3 -3
- package/dist/{payment-card-form-pDuTrWgZ.js.map → payment-card-form-DRDYv0Kf.js.map} +1 -1
- package/dist/{progress-C4o_zWvg.js → progress-C5J2ztGv.js} +2 -2
- package/dist/{progress-C4o_zWvg.js.map → progress-C5J2ztGv.js.map} +1 -1
- package/dist/{progress-BETtTl0y.cjs → progress-b31434it.cjs} +2 -2
- package/dist/{progress-BETtTl0y.cjs.map → progress-b31434it.cjs.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-DaSKbB-Z.js → radio-button-Be3kJGzb.js} +3 -3
- package/dist/{radio-button-DaSKbB-Z.js.map → radio-button-Be3kJGzb.js.map} +1 -1
- package/dist/{radio-button-h6y0tWJQ.cjs → radio-button-DqSE4JD0.cjs} +2 -2
- package/dist/{radio-button-h6y0tWJQ.cjs.map → radio-button-DqSE4JD0.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{route.component-DzBfI9eE.cjs → route.component-CKDzt8bL.cjs} +2 -2
- package/dist/{route.component-DzBfI9eE.cjs.map → route.component-CKDzt8bL.cjs.map} +1 -1
- package/dist/{route.component-BaefEO15.js → route.component-CfXxSRSa.js} +3 -3
- package/dist/{route.component-BaefEO15.js.map → route.component-CfXxSRSa.js.map} +1 -1
- package/dist/{schmancy-steps-container-DpM5Kvt3.cjs → schmancy-steps-container-DdXbEWTp.cjs} +2 -2
- package/dist/{schmancy-steps-container-DpM5Kvt3.cjs.map → schmancy-steps-container-DdXbEWTp.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-uRaJiCZE.js → schmancy-steps-container-O_Bkm1nD.js} +2 -2
- package/dist/{schmancy-steps-container-uRaJiCZE.js.map → schmancy-steps-container-O_Bkm1nD.js.map} +1 -1
- package/dist/{select-ClFVeWZA.cjs → select-9cgpvCx0.cjs} +2 -2
- package/dist/{select-ClFVeWZA.cjs.map → select-9cgpvCx0.cjs.map} +1 -1
- package/dist/{select-uQ5xnOKn.js → select-B2Om6sl5.js} +3 -3
- package/dist/{select-uQ5xnOKn.js.map → select-B2Om6sl5.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-CEcMgg-2.cjs → sheet-6OY1xJf0.cjs} +2 -2
- package/dist/{sheet-CEcMgg-2.cjs.map → sheet-6OY1xJf0.cjs.map} +1 -1
- package/dist/{sheet-CvvdxIUZ.js → sheet-BSnev5gW.js} +3 -3
- package/dist/{sheet-CvvdxIUZ.js.map → sheet-BSnev5gW.js.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-T8sYw1p-.cjs → slider-BBYPWRwr.cjs} +2 -2
- package/dist/{slider-T8sYw1p-.cjs.map → slider-BBYPWRwr.cjs.map} +1 -1
- package/dist/{slider-DyxIZ-hn.js → slider-BkiCeMDd.js} +3 -3
- package/dist/{slider-DyxIZ-hn.js.map → slider-BkiCeMDd.js.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-DJviKuwJ.cjs → spinner-BJeffsJM.cjs} +2 -2
- package/dist/{spinner-DJviKuwJ.cjs.map → spinner-BJeffsJM.cjs.map} +1 -1
- package/dist/{spinner-D9fC8P3H.js → spinner-Cp6KZZBA.js} +2 -2
- package/dist/{spinner-D9fC8P3H.js.map → spinner-Cp6KZZBA.js.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-CUyYCpFl.js → surface-SM_1ZWsE.js} +2 -2
- package/dist/{surface-CUyYCpFl.js.map → surface-SM_1ZWsE.js.map} +1 -1
- package/dist/{surface-B_SGQ1f7.cjs → surface-vZ-b0jGR.cjs} +2 -2
- package/dist/{surface-B_SGQ1f7.cjs.map → surface-vZ-b0jGR.cjs.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-D7p7a-Ag.js → table-DDAICIrl.js} +2 -2
- package/dist/{table-D7p7a-Ag.js.map → table-DDAICIrl.js.map} +1 -1
- package/dist/{table-C-sWuoAy.cjs → table-EUh7lBkg.cjs} +2 -2
- package/dist/{table-C-sWuoAy.cjs.map → table-EUh7lBkg.cjs.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-XoF2vpv5.cjs → tabs-compatibility-B5N4LrZE.cjs} +2 -2
- package/dist/{tabs-compatibility-XoF2vpv5.cjs.map → tabs-compatibility-B5N4LrZE.cjs.map} +1 -1
- package/dist/{tabs-compatibility-Dn8bSEvA.js → tabs-compatibility-BLC9SZfW.js} +2 -2
- package/dist/{tabs-compatibility-Dn8bSEvA.js.map → tabs-compatibility-BLC9SZfW.js.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-BYp3JxPB.js +43 -0
- package/dist/{tailwind.mixin-C13RR5x6.js.map → tailwind.mixin-BYp3JxPB.js.map} +1 -1
- package/dist/tailwind.mixin-DE8PuauZ.cjs +2 -0
- package/dist/{tailwind.mixin-O9jmUJ7m.cjs.map → tailwind.mixin-DE8PuauZ.cjs.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-9rSwC34M.cjs → textarea-C7WOZ_sq.cjs} +2 -2
- package/dist/{textarea-9rSwC34M.cjs.map → textarea-C7WOZ_sq.cjs.map} +1 -1
- package/dist/{textarea-Dsqg9ted.js → textarea-DqLqZT9R.js} +2 -2
- package/dist/{textarea-Dsqg9ted.js.map → textarea-DqLqZT9R.js.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-BTH2A59w.cjs → theme-button-CL8Z3_3f.cjs} +2 -2
- package/dist/{theme-button-BTH2A59w.cjs.map → theme-button-CL8Z3_3f.cjs.map} +1 -1
- package/dist/{theme-button-pfkAwkvY.js → theme-button-CfhL1LUk.js} +2 -2
- package/dist/{theme-button-pfkAwkvY.js.map → theme-button-CfhL1LUk.js.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.component-BvoZuM2h.cjs → theme.component-BDEnZH7c.cjs} +2 -2
- package/dist/{theme.component-BvoZuM2h.cjs.map → theme.component-BDEnZH7c.cjs.map} +1 -1
- package/dist/{theme.component-C3G_OrjE.js → theme.component-DJ45zqsj.js} +2 -2
- package/dist/{theme.component-C3G_OrjE.js.map → theme.component-DJ45zqsj.js.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-BKBME7Gq.cjs → timezone-Ej5Mkgdi.cjs} +2 -2
- package/dist/{timezone-BKBME7Gq.cjs.map → timezone-Ej5Mkgdi.cjs.map} +1 -1
- package/dist/{timezone-mQeoU0_O.js → timezone-rOawo-NZ.js} +3 -3
- package/dist/{timezone-mQeoU0_O.js.map → timezone-rOawo-NZ.js.map} +1 -1
- package/dist/{tooltip-Bcun7m0S.cjs → tooltip-C1m-GCOh.cjs} +2 -2
- package/dist/{tooltip-Bcun7m0S.cjs.map → tooltip-C1m-GCOh.cjs.map} +1 -1
- package/dist/{tooltip-Doh_evJW.js → tooltip-D9zzVulu.js} +2 -2
- package/dist/{tooltip-Doh_evJW.js.map → tooltip-D9zzVulu.js.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-cl3PdPTy.js → tree-C54uex1G.js} +2 -2
- package/dist/{tree-cl3PdPTy.js.map → tree-C54uex1G.js.map} +1 -1
- package/dist/{tree-DpKb9Q-1.cjs → tree-UVZHnodF.cjs} +2 -2
- package/dist/{tree-DpKb9Q-1.cjs.map → tree-UVZHnodF.cjs.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-peuqmq9f.js → typewriter-Bfe2Gpx9.js} +4 -4
- package/dist/{typewriter-peuqmq9f.js.map → typewriter-Bfe2Gpx9.js.map} +1 -1
- package/dist/{typewriter-QSd_xI9j.cjs → typewriter-CZ4VA1B3.cjs} +2 -2
- package/dist/{typewriter-QSd_xI9j.cjs.map → typewriter-CZ4VA1B3.cjs.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-BkuzOZ0g.js → typography-Cg1EBHYc.js} +2 -2
- package/dist/{typography-BkuzOZ0g.js.map → typography-Cg1EBHYc.js.map} +1 -1
- package/dist/{typography-BoI8HgTE.cjs → typography-CowH2wUG.cjs} +2 -2
- package/dist/{typography-BoI8HgTE.cjs.map → typography-CowH2wUG.cjs.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/types/src/card/card.d.ts +1 -0
- package/types/src/chips/assist-chip.d.ts +1 -1
- package/types/src/chips/input-chip.d.ts +6 -1
- package/types/src/chips/suggestion-chip.d.ts +1 -1
- package/dist/chips-7TbOS1By.js.map +0 -1
- package/dist/chips-DORDPg5b.cjs.map +0 -1
- package/dist/media-CL9LNHic.cjs.map +0 -1
- package/dist/media-nVQjNoX7.js.map +0 -1
- package/dist/tailwind.mixin-C13RR5x6.js +0 -43
- package/dist/tailwind.mixin-O9jmUJ7m.cjs +0 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { T as C } from "./tailwind.mixin-
|
|
2
|
-
import { css as
|
|
3
|
-
import { property as
|
|
4
|
-
import { when as
|
|
1
|
+
import { T as C } from "./tailwind.mixin-BYp3JxPB.js";
|
|
2
|
+
import { css as S, LitElement as E, html as r } from "lit";
|
|
3
|
+
import { property as l, queryAssignedElements as O, state as w, customElement as R } from "lit/decorators.js";
|
|
4
|
+
import { when as M } from "lit/directives/when.js";
|
|
5
5
|
import { BehaviorSubject as h, combineLatest as g } from "rxjs";
|
|
6
|
-
import { takeUntil as x, map as D, tap as
|
|
6
|
+
import { takeUntil as x, map as D, tap as H, distinctUntilChanged as B, debounceTime as j } from "rxjs/operators";
|
|
7
7
|
import { classMap as k } from "lit/directives/class-map.js";
|
|
8
8
|
import "lit/directives/style-map.js";
|
|
9
|
-
import { $ as F } from "./litElement.mixin-
|
|
10
|
-
var P = Object.defineProperty,
|
|
11
|
-
for (var a,
|
|
12
|
-
return
|
|
9
|
+
import { $ as F } from "./litElement.mixin-D379V_-T.js";
|
|
10
|
+
var P = Object.defineProperty, I = Object.getOwnPropertyDescriptor, m = (e, t, s, o) => {
|
|
11
|
+
for (var a, i = o > 1 ? void 0 : o ? I(t, s) : t, n = e.length - 1; n >= 0; n--) (a = e[n]) && (i = (o ? a(t, s, i) : a(i)) || i);
|
|
12
|
+
return o && i && P(t, s, i), i;
|
|
13
13
|
};
|
|
14
|
-
const _ = class _ extends C(
|
|
14
|
+
const _ = class _ extends C(S`
|
|
15
15
|
:host {
|
|
16
16
|
display: inline-block;
|
|
17
17
|
outline: none;
|
|
@@ -77,8 +77,8 @@ const _ = class _ extends C(E`
|
|
|
77
77
|
return this._selected;
|
|
78
78
|
}
|
|
79
79
|
set selected(t) {
|
|
80
|
-
const
|
|
81
|
-
this._selected = t, this.requestUpdate("selected",
|
|
80
|
+
const s = this._selected;
|
|
81
|
+
this._selected = t, this.requestUpdate("selected", s);
|
|
82
82
|
}
|
|
83
83
|
get form() {
|
|
84
84
|
return this.internals?.form;
|
|
@@ -105,14 +105,14 @@ const _ = class _ extends C(E`
|
|
|
105
105
|
tabindex="0"
|
|
106
106
|
>
|
|
107
107
|
<!-- Icon container - conditionally shown using when directive -->
|
|
108
|
-
${
|
|
108
|
+
${M(this._selected || this.icon || this.iconSlotElements?.length > 0, () => r`
|
|
109
109
|
<span class="inline-flex w-[18px] h-[18px] items-center justify-center shrink-0">
|
|
110
110
|
${this._selected ? r`
|
|
111
|
-
<span class="material-symbols-outlined text-
|
|
111
|
+
<span class="material-symbols-outlined text-[18px]">
|
|
112
112
|
check
|
|
113
113
|
</span>
|
|
114
114
|
` : this.icon ? r`
|
|
115
|
-
<span class="material-symbols-outlined text-
|
|
115
|
+
<span class="material-symbols-outlined text-[18px]">
|
|
116
116
|
${this.icon}
|
|
117
117
|
</span>
|
|
118
118
|
` : r`
|
|
@@ -141,18 +141,18 @@ const _ = class _ extends C(E`
|
|
|
141
141
|
`;
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
|
-
_.shadowRootOptions = { ...
|
|
145
|
-
let
|
|
146
|
-
if (
|
|
147
|
-
class e extends
|
|
144
|
+
_.shadowRootOptions = { ...E.shadowRootOptions, delegatesFocus: !0 }, _.formAssociated = !0;
|
|
145
|
+
let d = _;
|
|
146
|
+
if (m([l({ type: String, reflect: !0 })], d.prototype, "value", 2), m([l({ type: Boolean, reflect: !0 })], d.prototype, "selected", 1), m([l({ type: String, reflect: !0 })], d.prototype, "icon", 2), m([l({ type: Boolean, reflect: !0 })], d.prototype, "removable", 2), m([l({ type: Boolean, reflect: !0 })], d.prototype, "disabled", 2), m([l({ type: Boolean, reflect: !0 })], d.prototype, "elevated", 2), m([O({ slot: "icon" })], d.prototype, "iconSlotElements", 2), customElements.get("schmancy-filter-chip") || customElements.define("schmancy-filter-chip", d), !customElements.get("schmancy-chip")) {
|
|
147
|
+
class e extends d {
|
|
148
148
|
}
|
|
149
149
|
customElements.define("schmancy-chip", e);
|
|
150
150
|
}
|
|
151
|
-
var
|
|
152
|
-
for (var a,
|
|
153
|
-
return
|
|
151
|
+
var L = Object.defineProperty, z = Object.getOwnPropertyDescriptor, v = (e, t, s, o) => {
|
|
152
|
+
for (var a, i = o > 1 ? void 0 : o ? z(t, s) : t, n = e.length - 1; n >= 0; n--) (a = e[n]) && (i = (o ? a(t, s, i) : a(i)) || i);
|
|
153
|
+
return o && i && L(t, s, i), i;
|
|
154
154
|
};
|
|
155
|
-
let p = class extends C(
|
|
155
|
+
let p = class extends C(S`
|
|
156
156
|
:host {
|
|
157
157
|
display: inline-block;
|
|
158
158
|
outline: none;
|
|
@@ -178,15 +178,38 @@ let p = class extends C(E`
|
|
|
178
178
|
opacity: 0;
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
+
|
|
182
|
+
/* State layer for M3 hover/focus/pressed states */
|
|
183
|
+
.state-layer {
|
|
184
|
+
position: absolute;
|
|
185
|
+
inset: 0;
|
|
186
|
+
border-radius: inherit;
|
|
187
|
+
pointer-events: none;
|
|
188
|
+
background-color: currentColor;
|
|
189
|
+
opacity: 0;
|
|
190
|
+
transition: opacity 200ms ease;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
:host(:not([disabled])) button:hover .state-layer {
|
|
194
|
+
opacity: 0.08;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
:host(:not([disabled])) button:focus-visible .state-layer {
|
|
198
|
+
opacity: 0.1;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
:host(:not([disabled])) button:active .state-layer {
|
|
202
|
+
opacity: 0.1;
|
|
203
|
+
}
|
|
181
204
|
`) {
|
|
182
205
|
constructor() {
|
|
183
|
-
super(...arguments), this.value = "", this.icon = "", this.href = "", this.target = "", this.disabled = !1, this.elevated = !
|
|
206
|
+
super(...arguments), this.value = "", this.icon = "", this.href = "", this.target = "", this.disabled = !1, this.elevated = !0, this.hover$ = new h(!1), this.pressed$ = new h(!1), this.focused$ = new h(!1), this.ripples = [], this.nextRippleId = 0, this.handleClick = (e) => {
|
|
184
207
|
if (this.disabled) return;
|
|
185
208
|
const t = this.shadowRoot?.querySelector("button");
|
|
186
209
|
if (t) {
|
|
187
|
-
const
|
|
188
|
-
this.ripples = [...this.ripples, { x:
|
|
189
|
-
this.ripples = this.ripples.filter((n) => n.id !==
|
|
210
|
+
const s = t.getBoundingClientRect(), o = e.clientX - s.left, a = e.clientY - s.top, i = this.nextRippleId++;
|
|
211
|
+
this.ripples = [...this.ripples, { x: o, y: a, id: i }], setTimeout(() => {
|
|
212
|
+
this.ripples = this.ripples.filter((n) => n.id !== i);
|
|
190
213
|
}, 600);
|
|
191
214
|
}
|
|
192
215
|
this.href && (this.target === "_blank" ? window.open(this.href, "_blank") : window.location.href = this.href), this.dispatchEvent(new CustomEvent("action", { detail: { value: this.value }, bubbles: !0, composed: !0 }));
|
|
@@ -206,11 +229,11 @@ let p = class extends C(E`
|
|
|
206
229
|
super.connectedCallback(), g([this.hover$, this.pressed$, this.focused$]).pipe(x(this.disconnecting)).subscribe();
|
|
207
230
|
}
|
|
208
231
|
render() {
|
|
209
|
-
const e = { relative: !0, "inline-flex": !0, "items-center": !0, "gap-
|
|
232
|
+
const e = !!this.icon, t = { relative: !0, "inline-flex": !0, "items-center": !0, "gap-2": !0, "h-8": !0, "min-h-[32px]": !0, "rounded-full": !0, "cursor-pointer": !this.disabled, "transition-all": !0, "duration-200": !0, "select-none": !0, "overflow-hidden": !0, "pl-2": e, "pl-4": !e, "pr-4": !0, "bg-surface-containerLow": !0, "text-surface-onVariant": !0, "shadow-sm": this.elevated && !this.disabled, "hover:shadow-md": this.elevated && !this.disabled, "focus-visible:outline": !this.disabled, "focus-visible:outline-2": !this.disabled, "focus-visible:outline-primary": !this.disabled, "focus-visible:outline-offset-2": !this.disabled, "opacity-38": this.disabled, "cursor-not-allowed": this.disabled };
|
|
210
233
|
return r`
|
|
211
234
|
<button
|
|
212
235
|
type="button"
|
|
213
|
-
class=${k(
|
|
236
|
+
class=${k(t)}
|
|
214
237
|
?disabled=${this.disabled}
|
|
215
238
|
@click=${this.handleClick}
|
|
216
239
|
@keydown=${this.handleKeyDown}
|
|
@@ -226,29 +249,32 @@ let p = class extends C(E`
|
|
|
226
249
|
aria-label=${this.value}
|
|
227
250
|
>
|
|
228
251
|
${this.icon ? r`
|
|
229
|
-
<schmancy-icon class="text-
|
|
252
|
+
<schmancy-icon class="text-[18px] shrink-0">${this.icon}</schmancy-icon>
|
|
230
253
|
` : ""}
|
|
231
|
-
<span class="text-
|
|
254
|
+
<span class="text-sm font-medium leading-5">
|
|
232
255
|
<slot></slot>
|
|
233
256
|
</span>
|
|
234
257
|
|
|
235
258
|
<!-- Ripple effects -->
|
|
236
|
-
${this.ripples.map((
|
|
259
|
+
${this.ripples.map((s) => r`
|
|
237
260
|
<span
|
|
238
261
|
class="ripple"
|
|
239
|
-
style="left: ${
|
|
262
|
+
style="left: ${s.x}px; top: ${s.y}px;"
|
|
240
263
|
></span>
|
|
241
264
|
`)}
|
|
265
|
+
|
|
266
|
+
<!-- State layer for M3 hover/focus/pressed states -->
|
|
267
|
+
<div class="state-layer"></div>
|
|
242
268
|
</button>
|
|
243
269
|
`;
|
|
244
270
|
}
|
|
245
271
|
};
|
|
246
|
-
p.shadowRootOptions = { ...
|
|
247
|
-
var K = Object.defineProperty, T = Object.getOwnPropertyDescriptor, b = (e, t,
|
|
248
|
-
for (var a,
|
|
249
|
-
return
|
|
272
|
+
p.shadowRootOptions = { ...E.shadowRootOptions, delegatesFocus: !0 }, v([l({ reflect: !0 })], p.prototype, "value", 2), v([l({ reflect: !0 })], p.prototype, "icon", 2), v([l({ reflect: !0 })], p.prototype, "href", 2), v([l({ reflect: !0 })], p.prototype, "target", 2), v([l({ type: Boolean, reflect: !0 })], p.prototype, "disabled", 2), v([l({ type: Boolean, reflect: !0 })], p.prototype, "elevated", 2), v([w()], p.prototype, "ripples", 2), p = v([R("schmancy-assist-chip")], p);
|
|
273
|
+
var K = Object.defineProperty, T = Object.getOwnPropertyDescriptor, b = (e, t, s, o) => {
|
|
274
|
+
for (var a, i = o > 1 ? void 0 : o ? T(t, s) : t, n = e.length - 1; n >= 0; n--) (a = e[n]) && (i = (o ? a(t, s, i) : a(i)) || i);
|
|
275
|
+
return o && i && K(t, s, i), i;
|
|
250
276
|
};
|
|
251
|
-
let
|
|
277
|
+
let c = class extends C(S`
|
|
252
278
|
:host {
|
|
253
279
|
display: inline-block;
|
|
254
280
|
outline: none;
|
|
@@ -305,15 +331,38 @@ let d = class extends C(E`
|
|
|
305
331
|
opacity: 0;
|
|
306
332
|
}
|
|
307
333
|
}
|
|
334
|
+
|
|
335
|
+
/* State layer for M3 hover/focus/pressed states */
|
|
336
|
+
.state-layer {
|
|
337
|
+
position: absolute;
|
|
338
|
+
inset: 0;
|
|
339
|
+
border-radius: inherit;
|
|
340
|
+
pointer-events: none;
|
|
341
|
+
background-color: currentColor;
|
|
342
|
+
opacity: 0;
|
|
343
|
+
transition: opacity 200ms ease;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
:host(:not([disabled])) .chip-container:hover .state-layer {
|
|
347
|
+
opacity: 0.08;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
:host(:not([disabled])) .chip-container:focus-visible .state-layer {
|
|
351
|
+
opacity: 0.1;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
:host(:not([disabled])) .chip-container:active .state-layer {
|
|
355
|
+
opacity: 0.1;
|
|
356
|
+
}
|
|
308
357
|
`) {
|
|
309
358
|
constructor() {
|
|
310
359
|
super(), this.value = "", this.icon = "", this.avatar = "", this.removable = !0, this.disabled = !1, this.elevated = !1, this.chipHover$ = new h(!1), this.removeHover$ = new h(!1), this.focused$ = new h(!1), this.pressed$ = new h(!1), this.uiState = { chipHover: !1, removeHover: !1, focused: !1, pressed: !1 }, this.ripples = [], this.nextRippleId = 0, this.handleChipClick = (e) => {
|
|
311
360
|
if (this.disabled) return;
|
|
312
361
|
const t = this.shadowRoot?.querySelector(".chip-container");
|
|
313
362
|
if (t) {
|
|
314
|
-
const
|
|
315
|
-
this.ripples = [...this.ripples, { x:
|
|
316
|
-
this.ripples = this.ripples.filter((n) => n.id !==
|
|
363
|
+
const s = t.getBoundingClientRect(), o = e.clientX - s.left, a = e.clientY - s.top, i = this.nextRippleId++;
|
|
364
|
+
this.ripples = [...this.ripples, { x: o, y: a, id: i }], setTimeout(() => {
|
|
365
|
+
this.ripples = this.ripples.filter((n) => n.id !== i);
|
|
317
366
|
}, 600);
|
|
318
367
|
}
|
|
319
368
|
this.dispatchEvent(new CustomEvent("click", { detail: { value: this.value }, bubbles: !0, composed: !0 }));
|
|
@@ -342,15 +391,15 @@ let d = class extends C(E`
|
|
|
342
391
|
return this.internals?.form;
|
|
343
392
|
}
|
|
344
393
|
connectedCallback() {
|
|
345
|
-
super.connectedCallback(), g([this.chipHover$, this.removeHover$, this.focused$, this.pressed$]).pipe(D(([e, t,
|
|
394
|
+
super.connectedCallback(), g([this.chipHover$, this.removeHover$, this.focused$, this.pressed$]).pipe(D(([e, t, s, o]) => ({ chipHover: e, removeHover: t, focused: s, pressed: o })), H((e) => {
|
|
346
395
|
this.uiState = e;
|
|
347
396
|
}), x(this.disconnecting)).subscribe();
|
|
348
397
|
}
|
|
349
398
|
render() {
|
|
350
|
-
const e = { "chip-container": !0, "inline-flex": !0, "items-center": !0, "gap-
|
|
399
|
+
const e = this.avatar || this.icon, t = { "chip-container": !0, "inline-flex": !0, "items-center": !0, "gap-2": !0, "h-8": !0, "min-h-[32px]": !0, "rounded-full": !0, "cursor-default": !0, "transition-all": !0, "duration-200": !0, "select-none": !0, "text-sm": !0, "font-medium": !0, relative: !0, "overflow-hidden": !0, border: !0, "pl-2": e, "pl-4": !e, "pr-2": this.removable, "pr-4": !this.removable, "bg-surface-containerLow": !0, "text-surface-onVariant": !0, "border-outline": !0, "focus-visible:outline": !this.disabled, "focus-visible:outline-2": !this.disabled, "focus-visible:outline-primary": !this.disabled, "focus-visible:outline-offset-2": !this.disabled, "opacity-38": this.disabled, "cursor-not-allowed": this.disabled }, s = { "size-[18px]": !0, flex: !0, "items-center": !0, "justify-center": !0, "rounded-full": !0, "transition-all": !0, "duration-200": !0, "cursor-pointer": !this.disabled, "-mr-1": !0, "hover:bg-surface-containerHighest": !this.disabled, "opacity-50": this.disabled };
|
|
351
400
|
return r`
|
|
352
401
|
<div
|
|
353
|
-
class=${k(
|
|
402
|
+
class=${k(t)}
|
|
354
403
|
@click=${this.handleChipClick}
|
|
355
404
|
@keydown=${this.handleKeyDown}
|
|
356
405
|
@mouseenter=${() => this.chipHover$.next(!0)}
|
|
@@ -369,26 +418,26 @@ let d = class extends C(E`
|
|
|
369
418
|
<img
|
|
370
419
|
src=${this.avatar}
|
|
371
420
|
alt=""
|
|
372
|
-
class="avatar-img rounded-full
|
|
421
|
+
class="avatar-img rounded-full size-5"
|
|
373
422
|
/>
|
|
374
423
|
` : ""}
|
|
375
424
|
|
|
376
425
|
<!-- Icon (if provided and no avatar) -->
|
|
377
426
|
${this.icon && !this.avatar ? r`
|
|
378
|
-
<span class="material-symbols-outlined
|
|
427
|
+
<span class="material-symbols-outlined text-[18px] shrink-0">
|
|
379
428
|
${this.icon}
|
|
380
429
|
</span>
|
|
381
430
|
` : ""}
|
|
382
431
|
|
|
383
432
|
<!-- Chip content -->
|
|
384
|
-
<span>
|
|
433
|
+
<span class="text-sm font-medium leading-5">
|
|
385
434
|
<slot></slot>
|
|
386
435
|
</span>
|
|
387
436
|
|
|
388
437
|
<!-- Remove button (shown by default for input chips) -->
|
|
389
438
|
${this.removable ? r`
|
|
390
439
|
<button
|
|
391
|
-
class=${k(
|
|
440
|
+
class=${k(s)}
|
|
392
441
|
@click=${this.handleRemove}
|
|
393
442
|
@mouseenter=${() => this.removeHover$.next(!0)}
|
|
394
443
|
@mouseleave=${() => this.removeHover$.next(!1)}
|
|
@@ -396,29 +445,32 @@ let d = class extends C(E`
|
|
|
396
445
|
tabindex="-1"
|
|
397
446
|
?disabled=${this.disabled}
|
|
398
447
|
>
|
|
399
|
-
<span class="material-symbols-outlined text-
|
|
448
|
+
<span class="material-symbols-outlined text-[18px]">
|
|
400
449
|
close
|
|
401
450
|
</span>
|
|
402
451
|
</button>
|
|
403
452
|
` : ""}
|
|
404
453
|
|
|
405
454
|
<!-- Ripple effects -->
|
|
406
|
-
${this.ripples.map((
|
|
455
|
+
${this.ripples.map((o) => r`
|
|
407
456
|
<span
|
|
408
457
|
class="ripple"
|
|
409
|
-
style="left: ${
|
|
458
|
+
style="left: ${o.x}px; top: ${o.y}px;"
|
|
410
459
|
></span>
|
|
411
460
|
`)}
|
|
461
|
+
|
|
462
|
+
<!-- State layer for M3 hover/focus/pressed states -->
|
|
463
|
+
<div class="state-layer"></div>
|
|
412
464
|
</div>
|
|
413
465
|
`;
|
|
414
466
|
}
|
|
415
467
|
};
|
|
416
|
-
|
|
417
|
-
var U = Object.defineProperty, A = Object.getOwnPropertyDescriptor,
|
|
418
|
-
for (var a,
|
|
419
|
-
return
|
|
468
|
+
c.shadowRootOptions = { ...E.shadowRootOptions, delegatesFocus: !0 }, c.formAssociated = !0, b([l({ type: String, reflect: !0 })], c.prototype, "value", 2), b([l({ type: String, reflect: !0 })], c.prototype, "icon", 2), b([l({ type: String, reflect: !0 })], c.prototype, "avatar", 2), b([l({ type: Boolean, reflect: !0 })], c.prototype, "removable", 2), b([l({ type: Boolean, reflect: !0 })], c.prototype, "disabled", 2), b([l({ type: Boolean, reflect: !0 })], c.prototype, "elevated", 2), b([w()], c.prototype, "uiState", 2), b([w()], c.prototype, "ripples", 2), c = b([R("schmancy-input-chip")], c);
|
|
469
|
+
var U = Object.defineProperty, A = Object.getOwnPropertyDescriptor, f = (e, t, s, o) => {
|
|
470
|
+
for (var a, i = o > 1 ? void 0 : o ? A(t, s) : t, n = e.length - 1; n >= 0; n--) (a = e[n]) && (i = (o ? a(t, s, i) : a(i)) || i);
|
|
471
|
+
return o && i && U(t, s, i), i;
|
|
420
472
|
};
|
|
421
|
-
let u = class extends C(
|
|
473
|
+
let u = class extends C(S`
|
|
422
474
|
:host {
|
|
423
475
|
display: inline-block;
|
|
424
476
|
outline: none;
|
|
@@ -444,15 +496,38 @@ let u = class extends C(E`
|
|
|
444
496
|
opacity: 0;
|
|
445
497
|
}
|
|
446
498
|
}
|
|
499
|
+
|
|
500
|
+
/* State layer for M3 hover/focus/pressed states */
|
|
501
|
+
.state-layer {
|
|
502
|
+
position: absolute;
|
|
503
|
+
inset: 0;
|
|
504
|
+
border-radius: inherit;
|
|
505
|
+
pointer-events: none;
|
|
506
|
+
background-color: currentColor;
|
|
507
|
+
opacity: 0;
|
|
508
|
+
transition: opacity 200ms ease;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
:host(:not([disabled])) button:hover .state-layer {
|
|
512
|
+
opacity: 0.08;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
:host(:not([disabled])) button:focus-visible .state-layer {
|
|
516
|
+
opacity: 0.1;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
:host(:not([disabled])) button:active .state-layer {
|
|
520
|
+
opacity: 0.1;
|
|
521
|
+
}
|
|
447
522
|
`) {
|
|
448
523
|
constructor() {
|
|
449
524
|
super(...arguments), this.value = "", this.icon = "", this.href = "", this.target = "", this.disabled = !1, this.elevated = !1, this.hover$ = new h(!1), this.pressed$ = new h(!1), this.focused$ = new h(!1), this.ripples = [], this.nextRippleId = 0, this.handleClick = (e) => {
|
|
450
525
|
if (this.disabled) return;
|
|
451
526
|
const t = this.shadowRoot?.querySelector("button");
|
|
452
527
|
if (t) {
|
|
453
|
-
const
|
|
454
|
-
this.ripples = [...this.ripples, { x:
|
|
455
|
-
this.ripples = this.ripples.filter((n) => n.id !==
|
|
528
|
+
const s = t.getBoundingClientRect(), o = e.clientX - s.left, a = e.clientY - s.top, i = this.nextRippleId++;
|
|
529
|
+
this.ripples = [...this.ripples, { x: o, y: a, id: i }], setTimeout(() => {
|
|
530
|
+
this.ripples = this.ripples.filter((n) => n.id !== i);
|
|
456
531
|
}, 600);
|
|
457
532
|
}
|
|
458
533
|
this.href && (this.target === "_blank" ? window.open(this.href, "_blank") : window.location.href = this.href), this.dispatchEvent(new CustomEvent("action", { detail: { value: this.value }, bubbles: !0, composed: !0 }));
|
|
@@ -472,11 +547,11 @@ let u = class extends C(E`
|
|
|
472
547
|
super.connectedCallback(), g([this.hover$, this.pressed$, this.focused$]).pipe(x(this.disconnecting)).subscribe();
|
|
473
548
|
}
|
|
474
549
|
render() {
|
|
475
|
-
const e = { relative: !0, "inline-flex": !0, "items-center": !0, "gap-
|
|
550
|
+
const e = !!this.icon, t = { relative: !0, "inline-flex": !0, "items-center": !0, "gap-2": !0, "h-8": !0, "min-h-[32px]": !0, "rounded-full": !0, "cursor-pointer": !this.disabled, "transition-all": !0, "duration-200": !0, "select-none": !0, "overflow-hidden": !0, border: !0, "pl-2": e, "pl-4": !e, "pr-4": !0, "bg-surface-containerLow": !0, "text-surface-onVariant": !0, "border-outline": !0, "focus-visible:outline": !this.disabled, "focus-visible:outline-2": !this.disabled, "focus-visible:outline-primary": !this.disabled, "focus-visible:outline-offset-2": !this.disabled, "opacity-38": this.disabled, "cursor-not-allowed": this.disabled };
|
|
476
551
|
return r`
|
|
477
552
|
<button
|
|
478
553
|
type="button"
|
|
479
|
-
class=${k(
|
|
554
|
+
class=${k(t)}
|
|
480
555
|
?disabled=${this.disabled}
|
|
481
556
|
@click=${this.handleClick}
|
|
482
557
|
@keydown=${this.handleKeyDown}
|
|
@@ -492,27 +567,30 @@ let u = class extends C(E`
|
|
|
492
567
|
aria-label=${this.value}
|
|
493
568
|
>
|
|
494
569
|
${this.icon ? r`
|
|
495
|
-
<schmancy-icon class="text-
|
|
570
|
+
<schmancy-icon class="text-[18px] shrink-0">${this.icon}</schmancy-icon>
|
|
496
571
|
` : ""}
|
|
497
|
-
<span class="text-
|
|
572
|
+
<span class="text-sm font-medium leading-5">
|
|
498
573
|
<slot></slot>
|
|
499
574
|
</span>
|
|
500
575
|
|
|
501
576
|
<!-- Ripple effects -->
|
|
502
|
-
${this.ripples.map((
|
|
577
|
+
${this.ripples.map((s) => r`
|
|
503
578
|
<span
|
|
504
579
|
class="ripple"
|
|
505
|
-
style="left: ${
|
|
580
|
+
style="left: ${s.x}px; top: ${s.y}px;"
|
|
506
581
|
></span>
|
|
507
582
|
`)}
|
|
583
|
+
|
|
584
|
+
<!-- State layer for M3 hover/focus/pressed states -->
|
|
585
|
+
<div class="state-layer"></div>
|
|
508
586
|
</button>
|
|
509
587
|
`;
|
|
510
588
|
}
|
|
511
589
|
};
|
|
512
|
-
u.shadowRootOptions = { ...
|
|
513
|
-
var Y = Object.defineProperty, q = Object.getOwnPropertyDescriptor, $ = (e, t,
|
|
514
|
-
for (var a,
|
|
515
|
-
return
|
|
590
|
+
u.shadowRootOptions = { ...E.shadowRootOptions, delegatesFocus: !0 }, f([l({ reflect: !0 })], u.prototype, "value", 2), f([l({ reflect: !0 })], u.prototype, "icon", 2), f([l({ reflect: !0 })], u.prototype, "href", 2), f([l({ reflect: !0 })], u.prototype, "target", 2), f([l({ type: Boolean, reflect: !0 })], u.prototype, "disabled", 2), f([l({ type: Boolean, reflect: !0 })], u.prototype, "elevated", 2), f([w()], u.prototype, "ripples", 2), u = f([R("schmancy-suggestion-chip")], u);
|
|
591
|
+
var Y = Object.defineProperty, q = Object.getOwnPropertyDescriptor, $ = (e, t, s, o) => {
|
|
592
|
+
for (var a, i = o > 1 ? void 0 : o ? q(t, s) : t, n = e.length - 1; n >= 0; n--) (a = e[n]) && (i = (o ? a(t, s, i) : a(i)) || i);
|
|
593
|
+
return o && i && Y(t, s, i), i;
|
|
516
594
|
};
|
|
517
595
|
let y = class extends F() {
|
|
518
596
|
constructor() {
|
|
@@ -540,22 +618,22 @@ let y = class extends F() {
|
|
|
540
618
|
this._value = e || "", this._valueSet = !0, this.value$.next(this._value);
|
|
541
619
|
}
|
|
542
620
|
connectedCallback() {
|
|
543
|
-
super.connectedCallback(), this.value$.next(this._value), this.values$.next(this._values), g([this.value$.pipe(B()), this.values$.pipe(B((e, t) => e.length === t.length && e.every((
|
|
621
|
+
super.connectedCallback(), this.value$.next(this._value), this.values$.next(this._values), g([this.value$.pipe(B()), this.values$.pipe(B((e, t) => e.length === t.length && e.every((s, o) => s === t[o])))]).pipe(j(0), x(this.disconnecting)).subscribe(([e, t]) => {
|
|
544
622
|
this.updateChipStates(this.mode, e, t);
|
|
545
623
|
});
|
|
546
624
|
}
|
|
547
|
-
updateChipStates(e, t,
|
|
548
|
-
this.chips && e !== "none" && this.chips.forEach((
|
|
549
|
-
if ("value" in
|
|
550
|
-
const a =
|
|
551
|
-
e === "multi" ? a.selected =
|
|
625
|
+
updateChipStates(e, t, s) {
|
|
626
|
+
this.chips && e !== "none" && this.chips.forEach((o) => {
|
|
627
|
+
if ("value" in o && "selected" in o) {
|
|
628
|
+
const a = o;
|
|
629
|
+
e === "multi" ? a.selected = s.length > 0 && s.includes(a.value) : e === "single" && (a.selected = t !== "" && t === a.value);
|
|
552
630
|
}
|
|
553
631
|
});
|
|
554
632
|
}
|
|
555
633
|
async change(e) {
|
|
556
634
|
if (e.preventDefault(), e.stopPropagation(), this.mode === "none") return;
|
|
557
|
-
const { value: t, selected:
|
|
558
|
-
this.mode === "multi" ?
|
|
635
|
+
const { value: t, selected: s } = e.detail;
|
|
636
|
+
this.mode === "multi" ? s ? this._values.includes(t) || (this._values = [...this._values, t], this.values$.next(this._values)) : (this._values = this._values.filter((o) => o !== t), this.values$.next(this._values)) : this.mode === "single" && (this._value = s ? t : "", this.value$.next(this._value)), this.requestUpdate(), this.dispatchEvent(new CustomEvent("change", { detail: this.mode === "multi" ? this._values : this._value, bubbles: !0 }));
|
|
559
637
|
}
|
|
560
638
|
firstUpdated(e) {
|
|
561
639
|
super.firstUpdated(e), this.updateChipStates(this.mode, this._value, this._values);
|
|
@@ -573,12 +651,12 @@ let y = class extends F() {
|
|
|
573
651
|
`;
|
|
574
652
|
}
|
|
575
653
|
};
|
|
576
|
-
$([
|
|
654
|
+
$([l({ type: Boolean, reflect: !0 })], y.prototype, "multi", 1), $([l({ type: Array, reflect: !0 })], y.prototype, "values", 1), $([l({ type: String, reflect: !0 })], y.prototype, "value", 1), $([O({ selector: "schmancy-chip, schmancy-filter-chip, schmancy-assist-chip, schmancy-input-chip, schmancy-suggestion-chip", flatten: !0 })], y.prototype, "chips", 2), $([l({ type: Boolean, reflect: !0 })], y.prototype, "wrap", 2), y = $([R("schmancy-chips")], y);
|
|
577
655
|
export {
|
|
578
|
-
|
|
656
|
+
d as S,
|
|
579
657
|
p as a,
|
|
580
|
-
|
|
658
|
+
c as b,
|
|
581
659
|
u as c,
|
|
582
660
|
y as d
|
|
583
661
|
};
|
|
584
|
-
//# sourceMappingURL=chips-
|
|
662
|
+
//# sourceMappingURL=chips-BdwPstWQ.js.map
|