@mhmo91/schmancy 0.4.76 → 0.4.77
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/ai/chips.md +350 -128
- package/ai/typography.md +66 -8
- package/dist/ai/chips.md +350 -128
- package/dist/ai/typography.md +66 -8
- package/dist/{animated-text-CqpyC7Y0.js → animated-text-CTMDHCbw.js} +6 -6
- package/dist/{animated-text-CqpyC7Y0.js.map → animated-text-CTMDHCbw.js.map} +1 -1
- package/dist/{animated-text-DlRt6Q09.cjs → animated-text-yAIb26ld.cjs} +2 -2
- package/dist/{animated-text-DlRt6Q09.cjs.map → animated-text-yAIb26ld.cjs.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-BOGG_9iL.cjs → autocomplete-BYiDoFG_.cjs} +2 -2
- package/dist/{autocomplete-BOGG_9iL.cjs.map → autocomplete-BYiDoFG_.cjs.map} +1 -1
- package/dist/{autocomplete-B-oKMH7m.js → autocomplete-m-nEVE3h.js} +6 -6
- package/dist/{autocomplete-B-oKMH7m.js.map → autocomplete-m-nEVE3h.js.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-BnfAxIPw.cjs → avatar-DjCNlJz6.cjs} +2 -2
- package/dist/{avatar-BnfAxIPw.cjs.map → avatar-DjCNlJz6.cjs.map} +1 -1
- package/dist/{avatar-DXOVkMKj.js → avatar-nxVn--Oo.js} +48 -48
- package/dist/{avatar-DXOVkMKj.js.map → avatar-nxVn--Oo.js.map} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-DMKcZpZb.cjs → boat-_ZRYkQQZ.cjs} +2 -2
- package/dist/{boat-DMKcZpZb.cjs.map → boat-_ZRYkQQZ.cjs.map} +1 -1
- package/dist/{boat-CdR5Pqik.js → boat-sl3amQ3s.js} +2 -2
- package/dist/{boat-CdR5Pqik.js.map → boat-sl3amQ3s.js.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-HdmRM2Vg.cjs +40 -0
- package/dist/checkbox-HdmRM2Vg.cjs.map +1 -0
- package/dist/checkbox-zTyMywpJ.js +527 -0
- package/dist/checkbox-zTyMywpJ.js.map +1 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/chips-DAkLLDRf.js +577 -0
- package/dist/chips-DAkLLDRf.js.map +1 -0
- package/dist/chips-DDDu8hh9.cjs +324 -0
- package/dist/chips-DDDu8hh9.cjs.map +1 -0
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +9 -1
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-CdCzzZTX.cjs → code-preview-BxO04VVx.cjs} +2 -2
- package/dist/{code-preview-CdCzzZTX.cjs.map → code-preview-BxO04VVx.cjs.map} +1 -1
- package/dist/{code-preview-CIXEd04f.js → code-preview-DH3koGm9.js} +7 -7
- package/dist/{code-preview-CIXEd04f.js.map → code-preview-DH3koGm9.js.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-CvD9zwK9.cjs → date-range-TJXLY7Yx.cjs} +2 -2
- package/dist/{date-range-CvD9zwK9.cjs.map → date-range-TJXLY7Yx.cjs.map} +1 -1
- package/dist/{date-range-inline-CP_a_w01.cjs → date-range-inline-BSqXKZ3-.cjs} +2 -2
- package/dist/{date-range-inline-CP_a_w01.cjs.map → date-range-inline-BSqXKZ3-.cjs.map} +1 -1
- package/dist/{date-range-inline-5QP9av94.js → date-range-inline-CUb59TOM.js} +3 -3
- package/dist/{date-range-inline-5QP9av94.js.map → date-range-inline-CUb59TOM.js.map} +1 -1
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/{date-range-lJ_fPY4v.js → date-range-sfDUF7dG.js} +8 -8
- package/dist/{date-range-lJ_fPY4v.js.map → date-range-sfDUF7dG.js.map} +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-BM1jk7XF.js → delay-CHpGPLLr.js} +2 -2
- package/dist/{delay-BM1jk7XF.js.map → delay-CHpGPLLr.js.map} +1 -1
- package/dist/{delay-CB0Wohe7.cjs → delay-CbXOIuAd.cjs} +2 -2
- package/dist/{delay-CB0Wohe7.cjs.map → delay-CbXOIuAd.cjs.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-B9JrXrCO.js → details-Cf7zosIT.js} +5 -5
- package/dist/{details-B9JrXrCO.js.map → details-Cf7zosIT.js.map} +1 -1
- package/dist/{details-C22WoRWP.cjs → details-D6yYIQaE.cjs} +2 -2
- package/dist/{details-C22WoRWP.cjs.map → details-D6yYIQaE.cjs.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-BHR9cUJ-.js → dialog-content-BabnHd-t.js} +10 -10
- package/dist/{dialog-content-BHR9cUJ-.js.map → dialog-content-BabnHd-t.js.map} +1 -1
- package/dist/{dialog-content-CpxWMPlh.cjs → dialog-content-BkK0XT-T.cjs} +2 -2
- package/dist/{dialog-content-CpxWMPlh.cjs.map → dialog-content-BkK0XT-T.cjs.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/{divider-DAg0oW4T.cjs → divider-CQ9PTETp.cjs} +2 -2
- package/dist/{divider-DAg0oW4T.cjs.map → divider-CQ9PTETp.cjs.map} +1 -1
- package/dist/{divider-Cz4g_Ept.js → divider-DyNmX5oP.js} +6 -6
- package/dist/{divider-Cz4g_Ept.js.map → divider-DyNmX5oP.js.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-Bto1swKT.js → dropdown-content-1g76XIVT.js} +6 -6
- package/dist/{dropdown-content-Bto1swKT.js.map → dropdown-content-1g76XIVT.js.map} +1 -1
- package/dist/{dropdown-content-QvR9QvT0.cjs → dropdown-content-DwiI2xi1.cjs} +3 -3
- package/dist/{dropdown-content-QvR9QvT0.cjs.map → dropdown-content-DwiI2xi1.cjs.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-C9Yx0eML.js → email-recipients-BJsjr6H6.js} +5 -5
- package/dist/{email-recipients-C9Yx0eML.js.map → email-recipients-BJsjr6H6.js.map} +1 -1
- package/dist/{email-recipients-aEI5Hz1y.cjs → email-recipients-BiPVR8Hi.cjs} +2 -2
- package/dist/{email-recipients-aEI5Hz1y.cjs.map → email-recipients-BiPVR8Hi.cjs.map} +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-8Zt64KfZ.js → flex-0kVSQTqk.js} +2 -2
- package/dist/{flex-8Zt64KfZ.js.map → flex-0kVSQTqk.js.map} +1 -1
- package/dist/{flex-BWZv2xik.cjs → flex-CYToPu65.cjs} +2 -2
- package/dist/{flex-BWZv2xik.cjs.map → flex-CYToPu65.cjs.map} +1 -1
- package/dist/{form-BH43OMu3.cjs → form-BTIOJob0.cjs} +2 -2
- package/dist/{form-BH43OMu3.cjs.map → form-BTIOJob0.cjs.map} +1 -1
- package/dist/{form-DeoSuBtM.js → form-CzSHXlhh.js} +7 -7
- package/dist/{form-DeoSuBtM.js.map → form-CzSHXlhh.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-Dta3OeAY.cjs → formField.mixin-BE8yyY7E.cjs} +2 -2
- package/dist/{formField.mixin-Dta3OeAY.cjs.map → formField.mixin-BE8yyY7E.cjs.map} +1 -1
- package/dist/{formField.mixin-BaPL0TYo.js → formField.mixin-D3pQ9LTE.js} +2 -2
- package/dist/{formField.mixin-BaPL0TYo.js.map → formField.mixin-D3pQ9LTE.js.map} +1 -1
- package/dist/icon-CB8zMasU.js +85 -0
- package/dist/icon-CB8zMasU.js.map +1 -0
- package/dist/icon-DxLigT_B.cjs +49 -0
- package/dist/icon-DxLigT_B.cjs.map +1 -0
- package/dist/{icon-button-D1GjgM8z.cjs → icon-button-B6sa3c9D.cjs} +2 -2
- package/dist/{icon-button-D1GjgM8z.cjs.map → icon-button-B6sa3c9D.cjs.map} +1 -1
- package/dist/{icon-button-OZM1xg0D.js → icon-button-n_1iOQGQ.js} +8 -8
- package/dist/{icon-button-OZM1xg0D.js.map → icon-button-n_1iOQGQ.js.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 +232 -226
- package/dist/{input-CkvjCut5.js → input-BAJnPVSv.js} +3 -3
- package/dist/{input-CkvjCut5.js.map → input-BAJnPVSv.js.map} +1 -1
- package/dist/{input-lUWuO40Q.cjs → input-FXEREBl6.cjs} +2 -2
- package/dist/{input-lUWuO40Q.cjs.map → input-FXEREBl6.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-CIt75CB5.cjs → list-TbB9Rpwx.cjs} +2 -2
- package/dist/{list-CIt75CB5.cjs.map → list-TbB9Rpwx.cjs.map} +1 -1
- package/dist/{list-5rw56k73.js → list-ZeNhyo74.js} +7 -7
- package/dist/{list-5rw56k73.js.map → list-ZeNhyo74.js.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-BZErt4H3.js → litElement.mixin-DVZiIRUa.js} +2 -2
- package/dist/{litElement.mixin-BZErt4H3.js.map → litElement.mixin-DVZiIRUa.js.map} +1 -1
- package/dist/{litElement.mixin-BLa7fWsS.cjs → litElement.mixin-N4BRrCeD.cjs} +2 -2
- package/dist/{litElement.mixin-BLa7fWsS.cjs.map → litElement.mixin-N4BRrCeD.cjs.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-BY_0W4ER.cjs → map-DW4GhKaH.cjs} +2 -2
- package/dist/{map-BY_0W4ER.cjs.map → map-DW4GhKaH.cjs.map} +1 -1
- package/dist/{map-BrguuFGa.js → map-ck5dlHEW.js} +5 -5
- package/dist/{map-BrguuFGa.js.map → map-ck5dlHEW.js.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{media-D6ZtvTjC.cjs → media-C9Qy2mql.cjs} +2 -2
- package/dist/{media-D6ZtvTjC.cjs.map → media-C9Qy2mql.cjs.map} +1 -1
- package/dist/{media-CLz2t5zS.js → media-CunGFwol.js} +11 -11
- package/dist/{media-CLz2t5zS.js.map → media-CunGFwol.js.map} +1 -1
- package/dist/{menu-DWD_IywE.cjs → menu-BkTWAEeh.cjs} +3 -3
- package/dist/{menu-DWD_IywE.cjs.map → menu-BkTWAEeh.cjs.map} +1 -1
- package/dist/{menu-CgDSJpDV.js → menu-Cja83sLd.js} +7 -7
- package/dist/{menu-CgDSJpDV.js.map → menu-Cja83sLd.js.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/mixins/index.ts +5 -5
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/{notification-service-A3reAJZQ.cjs → notification-service-BB7pBlG6.cjs} +2 -2
- package/dist/{notification-service-A3reAJZQ.cjs.map → notification-service-BB7pBlG6.cjs.map} +1 -1
- package/dist/{notification-service-1HGYK2tM.js → notification-service-CKHPaK_C.js} +9 -9
- package/dist/{notification-service-1HGYK2tM.js.map → notification-service-CKHPaK_C.js.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-CVbsMt75.cjs → notify-CxMMHOyT.cjs} +2 -2
- package/dist/{notify-CVbsMt75.cjs.map → notify-CxMMHOyT.cjs.map} +1 -1
- package/dist/{notify-Bt-KiLeP.js → notify-DNNTtvHN.js} +2 -2
- package/dist/{notify-Bt-KiLeP.js.map → notify-DNNTtvHN.js.map} +1 -1
- package/dist/{option-Cd0TxMBE.cjs → option-BWzNpqSh.cjs} +2 -2
- package/dist/{option-Cd0TxMBE.cjs.map → option-BWzNpqSh.cjs.map} +1 -1
- package/dist/{option-DvSZ0D0R.js → option-BsvqJpe9.js} +5 -5
- package/dist/{option-DvSZ0D0R.js.map → option-BsvqJpe9.js.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-C6wrIT_X.js → payment-card-form-C0Rck0tO.js} +6 -6
- package/dist/{payment-card-form-C6wrIT_X.js.map → payment-card-form-C0Rck0tO.js.map} +1 -1
- package/dist/{payment-card-form-CJkWQ3j4.cjs → payment-card-form-Q8jzlprZ.cjs} +2 -2
- package/dist/{payment-card-form-CJkWQ3j4.cjs.map → payment-card-form-Q8jzlprZ.cjs.map} +1 -1
- package/dist/{progress-pOL6OHwT.js → progress-CG2bQVP8.js} +5 -5
- package/dist/{progress-pOL6OHwT.js.map → progress-CG2bQVP8.js.map} +1 -1
- package/dist/{progress-D0iWLtHk.cjs → progress-CtoQKQub.cjs} +2 -2
- package/dist/{progress-D0iWLtHk.cjs.map → progress-CtoQKQub.cjs.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-C-t6JJsj.js → radio-button-BSUgktLD.js} +5 -5
- package/dist/{radio-button-C-t6JJsj.js.map → radio-button-BSUgktLD.js.map} +1 -1
- package/dist/{radio-button-CSV7-ftB.cjs → radio-button-DnvjanKu.cjs} +3 -3
- package/dist/{radio-button-CSV7-ftB.cjs.map → radio-button-DnvjanKu.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{route.component-HoM7wksc.js → route.component-BJEghY9L.js} +8 -8
- package/dist/{route.component-HoM7wksc.js.map → route.component-BJEghY9L.js.map} +1 -1
- package/dist/{route.component-BUvd0ztC.cjs → route.component-YXwO_9vn.cjs} +2 -2
- package/dist/{route.component-BUvd0ztC.cjs.map → route.component-YXwO_9vn.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-CgzGlBCk.cjs → schmancy-steps-container-BJdjcjfb.cjs} +2 -2
- package/dist/{schmancy-steps-container-CgzGlBCk.cjs.map → schmancy-steps-container-BJdjcjfb.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-AIJ2_ZSN.js → schmancy-steps-container-DLoPUodd.js} +2 -2
- package/dist/{schmancy-steps-container-AIJ2_ZSN.js.map → schmancy-steps-container-DLoPUodd.js.map} +1 -1
- package/dist/{select-CwJ4OuVo.js → select-DagDNtvt.js} +6 -6
- package/dist/{select-CwJ4OuVo.js.map → select-DagDNtvt.js.map} +1 -1
- package/dist/{select-GBaqnfMC.cjs → select-t2FXt_pa.cjs} +2 -2
- package/dist/{select-GBaqnfMC.cjs.map → select-t2FXt_pa.cjs.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-fT1oxKgG.js → sheet-CRVVJZ0R.js} +6 -6
- package/dist/{sheet-fT1oxKgG.js.map → sheet-CRVVJZ0R.js.map} +1 -1
- package/dist/{sheet-CXd47YKG.cjs → sheet-mPwoKv2g.cjs} +2 -2
- package/dist/{sheet-CXd47YKG.cjs.map → sheet-mPwoKv2g.cjs.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-CYsku-3b.js → slider-B3F6JkFf.js} +8 -8
- package/dist/{slider-CYsku-3b.js.map → slider-B3F6JkFf.js.map} +1 -1
- package/dist/{slider-DxSzFbQe.cjs → slider-pBPJS7W9.cjs} +2 -2
- package/dist/{slider-DxSzFbQe.cjs.map → slider-pBPJS7W9.cjs.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-DrG_NQpx.cjs → spinner-BRpfKS5O.cjs} +40 -11
- package/dist/spinner-BRpfKS5O.cjs.map +1 -0
- package/dist/{spinner-CrK1E8LD.js → spinner-DA_-O-xo.js} +51 -22
- package/dist/spinner-DA_-O-xo.js.map +1 -0
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-C64YekDh.js → surface-Dwl538cH.js} +2 -2
- package/dist/{surface-C64YekDh.js.map → surface-Dwl538cH.js.map} +1 -1
- package/dist/{surface-DVNi8l6T.cjs → surface-diIElnDd.cjs} +2 -2
- package/dist/{surface-DVNi8l6T.cjs.map → surface-diIElnDd.cjs.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-DmrYZ1hR.js → table-BgKKtRLd.js} +2 -2
- package/dist/{table-DmrYZ1hR.js.map → table-BgKKtRLd.js.map} +1 -1
- package/dist/{table-B3WKGYlu.cjs → table-Bov9UEcb.cjs} +2 -2
- package/dist/{table-B3WKGYlu.cjs.map → table-Bov9UEcb.cjs.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-Uetjk25R.js → tabs-compatibility-CPvOBfor.js} +7 -7
- package/dist/{tabs-compatibility-Uetjk25R.js.map → tabs-compatibility-CPvOBfor.js.map} +1 -1
- package/dist/{tabs-compatibility-Ds7SEeST.cjs → tabs-compatibility-D5yIfQ_k.cjs} +2 -2
- package/dist/{tabs-compatibility-Ds7SEeST.cjs.map → tabs-compatibility-D5yIfQ_k.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-2zZHkoOm.cjs +2 -0
- package/dist/{tailwind.mixin-df9KoZ9x.cjs.map → tailwind.mixin-2zZHkoOm.cjs.map} +1 -1
- package/dist/tailwind.mixin-DbE6WE_l.js +43 -0
- package/dist/{tailwind.mixin-B6ADeWOc.js.map → tailwind.mixin-DbE6WE_l.js.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-B1Tng7F9.js → textarea-CNEv2Aoz.js} +2 -2
- package/dist/{textarea-B1Tng7F9.js.map → textarea-CNEv2Aoz.js.map} +1 -1
- package/dist/{textarea-QKNA3oAQ.cjs → textarea-CswyRsoR.cjs} +2 -2
- package/dist/{textarea-QKNA3oAQ.cjs.map → textarea-CswyRsoR.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-CYEhS3ub.js → theme-button-CRcXeIw5.js} +5 -5
- package/dist/{theme-button-CYEhS3ub.js.map → theme-button-CRcXeIw5.js.map} +1 -1
- package/dist/{theme-button-CoCFS3Rx.cjs → theme-button-DPmEDF3P.cjs} +2 -2
- package/dist/{theme-button-CoCFS3Rx.cjs.map → theme-button-DPmEDF3P.cjs.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.component-C12jLwtB.cjs → theme.component-CamQBQHp.cjs} +2 -2
- package/dist/{theme.component-C12jLwtB.cjs.map → theme.component-CamQBQHp.cjs.map} +1 -1
- package/dist/{theme.component-Df731_fn.js → theme.component-v5kO9gkQ.js} +30 -30
- package/dist/{theme.component-Df731_fn.js.map → theme.component-v5kO9gkQ.js.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-B7bscKFN.cjs → timezone-Bk4IctLE.cjs} +2 -2
- package/dist/{timezone-B7bscKFN.cjs.map → timezone-Bk4IctLE.cjs.map} +1 -1
- package/dist/{timezone-CdtCVjMF.js → timezone-Yo9Sdd5R.js} +8 -8
- package/dist/{timezone-CdtCVjMF.js.map → timezone-Yo9Sdd5R.js.map} +1 -1
- package/dist/{tooltip-CjoNCIvr.cjs → tooltip-B-yn_OSS.cjs} +2 -2
- package/dist/{tooltip-CjoNCIvr.cjs.map → tooltip-B-yn_OSS.cjs.map} +1 -1
- package/dist/{tooltip-JVkexTyf.js → tooltip-ZJEAlZUQ.js} +2 -2
- package/dist/{tooltip-JVkexTyf.js.map → tooltip-ZJEAlZUQ.js.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-CaqiNcJJ.js → tree-BV-2ElOU.js} +5 -5
- package/dist/{tree-CaqiNcJJ.js.map → tree-BV-2ElOU.js.map} +1 -1
- package/dist/{tree-Be48ABq4.cjs → tree-CxBWy_Vp.cjs} +2 -2
- package/dist/{tree-Be48ABq4.cjs.map → tree-CxBWy_Vp.cjs.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-CoMrmwFJ.js → typewriter-Bsn8eoJW.js} +7 -7
- package/dist/{typewriter-CoMrmwFJ.js.map → typewriter-Bsn8eoJW.js.map} +1 -1
- package/dist/{typewriter-DCYDScE9.cjs → typewriter-C-mf2RVj.cjs} +2 -2
- package/dist/{typewriter-DCYDScE9.cjs.map → typewriter-C-mf2RVj.cjs.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-DkJagEoF.js → typography-B5Y21osS.js} +2 -2
- package/dist/{typography-DkJagEoF.js.map → typography-B5Y21osS.js.map} +1 -1
- package/dist/{typography-BQg6J2hD.cjs → typography-pyk5TJHO.cjs} +2 -2
- package/dist/{typography-BQg6J2hD.cjs.map → typography-pyk5TJHO.cjs.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +252 -1
- package/types/mixins/index.d.ts +1 -1
- package/types/src/area/route.component.d.ts +9 -3
- package/types/src/busy/spinner.d.ts +1 -1
- package/types/src/checkbox/checkbox.d.ts +5 -4
- package/types/src/chips/assist-chip.d.ts +46 -0
- package/types/src/chips/chip.d.ts +3 -32
- package/types/src/chips/chips.d.ts +26 -11
- package/types/src/chips/filter-chip.d.ts +73 -0
- package/types/src/chips/index.d.ts +11 -2
- package/types/src/chips/input-chip.d.ts +75 -0
- package/types/src/chips/suggestion-chip.d.ts +51 -0
- package/types/src/icons/icon.d.ts +32 -5
- package/dist/checkbox-CVwU3M4h.js +0 -243
- package/dist/checkbox-CVwU3M4h.js.map +0 -1
- package/dist/checkbox-DP_zX786.cjs +0 -38
- package/dist/checkbox-DP_zX786.cjs.map +0 -1
- package/dist/chips-BuMUH3zA.cjs +0 -87
- package/dist/chips-BuMUH3zA.cjs.map +0 -1
- package/dist/chips-DcCUwYBu.js +0 -340
- package/dist/chips-DcCUwYBu.js.map +0 -1
- package/dist/icon-B0JNrBfq.js +0 -55
- package/dist/icon-B0JNrBfq.js.map +0 -1
- package/dist/icon-DY2pBLIU.cjs +0 -30
- package/dist/icon-DY2pBLIU.cjs.map +0 -1
- package/dist/redispatch-event-BLom7yp4.js +0 -293
- package/dist/redispatch-event-BLom7yp4.js.map +0 -1
- package/dist/redispatch-event-DHcobAl6.cjs +0 -4
- package/dist/redispatch-event-DHcobAl6.cjs.map +0 -1
- package/dist/spinner-CrK1E8LD.js.map +0 -1
- package/dist/spinner-DrG_NQpx.cjs.map +0 -1
- package/dist/tailwind.mixin-B6ADeWOc.js +0 -43
- package/dist/tailwind.mixin-df9KoZ9x.cjs +0 -2
package/dist/chips-DcCUwYBu.js
DELETED
|
@@ -1,340 +0,0 @@
|
|
|
1
|
-
import { T as z } from "./tailwind.mixin-B6ADeWOc.js";
|
|
2
|
-
import { LitElement as w, isServer as T, html as n, css as h, nothing as y } from "lit";
|
|
3
|
-
import { property as s, queryAssignedElements as D, customElement as x, query as L } from "lit/decorators.js";
|
|
4
|
-
import { _ as c } from "./tslib.es6-ujVQHAQ4.js";
|
|
5
|
-
import { m as B, r as F } from "./redispatch-event-BLom7yp4.js";
|
|
6
|
-
import { classMap as R } from "lit/directives/class-map.js";
|
|
7
|
-
import "rxjs";
|
|
8
|
-
import "lit/directives/style-map.js";
|
|
9
|
-
import { $ as P } from "./litElement.mixin-BZErt4H3.js";
|
|
10
|
-
const S = B(w);
|
|
11
|
-
class b extends S {
|
|
12
|
-
get rippleDisabled() {
|
|
13
|
-
return this.disabled || this.softDisabled;
|
|
14
|
-
}
|
|
15
|
-
constructor() {
|
|
16
|
-
super(), this.disabled = !1, this.softDisabled = !1, this.alwaysFocusable = !1, this.label = "", this.hasIcon = !1, T || this.addEventListener("click", this.handleClick.bind(this));
|
|
17
|
-
}
|
|
18
|
-
focus(e) {
|
|
19
|
-
this.disabled && !this.alwaysFocusable || super.focus(e);
|
|
20
|
-
}
|
|
21
|
-
render() {
|
|
22
|
-
return n`
|
|
23
|
-
<div class="container ${R(this.getContainerClasses())}">
|
|
24
|
-
${this.renderContainerContent()}
|
|
25
|
-
</div>
|
|
26
|
-
`;
|
|
27
|
-
}
|
|
28
|
-
updated(e) {
|
|
29
|
-
e.has("disabled") && e.get("disabled") !== void 0 && this.dispatchEvent(new Event("update-focus", { bubbles: !0 }));
|
|
30
|
-
}
|
|
31
|
-
getContainerClasses() {
|
|
32
|
-
return { disabled: this.disabled || this.softDisabled, "has-icon": this.hasIcon };
|
|
33
|
-
}
|
|
34
|
-
renderContainerContent() {
|
|
35
|
-
return n`
|
|
36
|
-
${this.renderOutline()}
|
|
37
|
-
<md-focus-ring part="focus-ring" for=${this.primaryId}></md-focus-ring>
|
|
38
|
-
<md-ripple
|
|
39
|
-
for=${this.primaryId}
|
|
40
|
-
?disabled=${this.rippleDisabled}></md-ripple>
|
|
41
|
-
${this.renderPrimaryAction(this.renderPrimaryContent())}
|
|
42
|
-
`;
|
|
43
|
-
}
|
|
44
|
-
renderOutline() {
|
|
45
|
-
return n`<span class="outline"></span>`;
|
|
46
|
-
}
|
|
47
|
-
renderLeadingIcon() {
|
|
48
|
-
return n`<slot name="icon" @slotchange=${this.handleIconChange}></slot>`;
|
|
49
|
-
}
|
|
50
|
-
renderPrimaryContent() {
|
|
51
|
-
return n`
|
|
52
|
-
<span class="leading icon" aria-hidden="true">
|
|
53
|
-
${this.renderLeadingIcon()}
|
|
54
|
-
</span>
|
|
55
|
-
<span class="label">
|
|
56
|
-
<span class="label-text" id="label">
|
|
57
|
-
${this.label ? this.label : n`<slot></slot>`}
|
|
58
|
-
</span>
|
|
59
|
-
</span>
|
|
60
|
-
<span class="touch"></span>
|
|
61
|
-
`;
|
|
62
|
-
}
|
|
63
|
-
handleIconChange(e) {
|
|
64
|
-
const a = e.target;
|
|
65
|
-
this.hasIcon = a.assignedElements({ flatten: !0 }).length > 0;
|
|
66
|
-
}
|
|
67
|
-
handleClick(e) {
|
|
68
|
-
if (this.softDisabled || this.disabled && this.alwaysFocusable) return e.stopImmediatePropagation(), void e.preventDefault();
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
b.shadowRootOptions = { ...w.shadowRootOptions, delegatesFocus: !0 }, c([s({ type: Boolean, reflect: !0 })], b.prototype, "disabled", void 0), c([s({ type: Boolean, attribute: "soft-disabled", reflect: !0 })], b.prototype, "softDisabled", void 0), c([s({ type: Boolean, attribute: "always-focusable" })], b.prototype, "alwaysFocusable", void 0), c([s()], b.prototype, "label", void 0), c([s({ type: Boolean, reflect: !0, attribute: "has-icon" })], b.prototype, "hasIcon", void 0);
|
|
72
|
-
class O extends w {
|
|
73
|
-
get chips() {
|
|
74
|
-
return this.childElements.filter((e) => e instanceof b);
|
|
75
|
-
}
|
|
76
|
-
constructor() {
|
|
77
|
-
super(), this.internals = this.attachInternals(), T || (this.addEventListener("focusin", this.updateTabIndices.bind(this)), this.addEventListener("update-focus", this.updateTabIndices.bind(this)), this.addEventListener("keydown", this.handleKeyDown.bind(this)), this.internals.role = "toolbar");
|
|
78
|
-
}
|
|
79
|
-
render() {
|
|
80
|
-
return n`<slot @slotchange=${this.updateTabIndices}></slot>`;
|
|
81
|
-
}
|
|
82
|
-
handleKeyDown(e) {
|
|
83
|
-
const a = e.key === "ArrowLeft", r = e.key === "ArrowRight", i = e.key === "Home", l = e.key === "End";
|
|
84
|
-
if (!(a || r || i || l)) return;
|
|
85
|
-
const { chips: o } = this;
|
|
86
|
-
if (o.length < 2) return;
|
|
87
|
-
if (e.preventDefault(), i || l)
|
|
88
|
-
return o[i ? 0 : o.length - 1].focus({ trailing: l }), void this.updateTabIndices();
|
|
89
|
-
const g = getComputedStyle(this).direction === "rtl" ? a : r, E = o.find((_) => _.matches(":focus-within"));
|
|
90
|
-
if (!E)
|
|
91
|
-
return (g ? o[0] : o[o.length - 1]).focus({ trailing: !g }), void this.updateTabIndices();
|
|
92
|
-
const k = o.indexOf(E);
|
|
93
|
-
let p = g ? k + 1 : k - 1;
|
|
94
|
-
for (; p !== k; ) {
|
|
95
|
-
p >= o.length ? p = 0 : p < 0 && (p = o.length - 1);
|
|
96
|
-
const _ = o[p];
|
|
97
|
-
if (!_.disabled || _.alwaysFocusable) {
|
|
98
|
-
_.focus({ trailing: !g }), this.updateTabIndices();
|
|
99
|
-
break;
|
|
100
|
-
}
|
|
101
|
-
g ? p++ : p--;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
updateTabIndices() {
|
|
105
|
-
const { chips: e } = this;
|
|
106
|
-
let a;
|
|
107
|
-
for (const r of e) {
|
|
108
|
-
const i = r.alwaysFocusable || !r.disabled;
|
|
109
|
-
r.matches(":focus-within") && i ? a = r : (i && !a && (a = r), r.tabIndex = -1);
|
|
110
|
-
}
|
|
111
|
-
a && (a.tabIndex = 0);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
c([D()], O.prototype, "childElements", void 0);
|
|
115
|
-
const j = h`:host{display:flex;flex-wrap:wrap;gap:8px}
|
|
116
|
-
`;
|
|
117
|
-
let A = class extends O {
|
|
118
|
-
};
|
|
119
|
-
A.styles = [j], A = c([x("md-chip-set")], A);
|
|
120
|
-
const q = h`.elevated{--md-elevation-level: var(--_elevated-container-elevation);--md-elevation-shadow-color: var(--_elevated-container-shadow-color)}.elevated::before{background:var(--_elevated-container-color)}.elevated:hover{--md-elevation-level: var(--_elevated-hover-container-elevation)}.elevated:focus-within{--md-elevation-level: var(--_elevated-focus-container-elevation)}.elevated:active{--md-elevation-level: var(--_elevated-pressed-container-elevation)}.elevated.disabled{--md-elevation-level: var(--_elevated-disabled-container-elevation)}.elevated.disabled::before{background:var(--_elevated-disabled-container-color);opacity:var(--_elevated-disabled-container-opacity)}@media(forced-colors: active){.elevated md-elevation{border:1px solid CanvasText}.elevated.disabled md-elevation{border-color:GrayText}}
|
|
121
|
-
`;
|
|
122
|
-
class K extends w {
|
|
123
|
-
connectedCallback() {
|
|
124
|
-
super.connectedCallback(), this.setAttribute("aria-hidden", "true");
|
|
125
|
-
}
|
|
126
|
-
render() {
|
|
127
|
-
return n`<span class="shadow"></span>`;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
const U = h`:host,.shadow,.shadow::before,.shadow::after{border-radius:inherit;inset:0;position:absolute;transition-duration:inherit;transition-property:inherit;transition-timing-function:inherit}:host{display:flex;pointer-events:none;transition-property:box-shadow,opacity}.shadow::before,.shadow::after{content:"";transition-property:box-shadow,opacity;--_level: var(--md-elevation-level, 0);--_shadow-color: var(--md-elevation-shadow-color, var(--md-sys-color-shadow, #000))}.shadow::before{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 3,1) + 2*clamp(0,var(--_level) - 4,1))) calc(1px*(2*clamp(0,var(--_level),1) + clamp(0,var(--_level) - 2,1) + clamp(0,var(--_level) - 4,1))) 0px var(--_shadow-color);opacity:.3}.shadow::after{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 1,1) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(3*clamp(0,var(--_level),2) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(clamp(0,var(--_level),4) + 2*clamp(0,var(--_level) - 4,1))) var(--_shadow-color);opacity:.15}
|
|
131
|
-
`;
|
|
132
|
-
let $ = class extends K {
|
|
133
|
-
};
|
|
134
|
-
$.styles = [U], $ = c([x("md-elevation")], $);
|
|
135
|
-
const C = "aria-label-remove";
|
|
136
|
-
class G extends b {
|
|
137
|
-
get ariaLabelRemove() {
|
|
138
|
-
if (this.hasAttribute(C)) return this.getAttribute(C);
|
|
139
|
-
const { ariaLabel: e } = this;
|
|
140
|
-
return e || this.label ? `Remove ${e || this.label}` : null;
|
|
141
|
-
}
|
|
142
|
-
set ariaLabelRemove(e) {
|
|
143
|
-
e !== this.ariaLabelRemove && (e === null ? this.removeAttribute(C) : this.setAttribute(C, e), this.requestUpdate());
|
|
144
|
-
}
|
|
145
|
-
constructor() {
|
|
146
|
-
super(), this.handleTrailingActionFocus = this.handleTrailingActionFocus.bind(this), T || this.addEventListener("keydown", this.handleKeyDown.bind(this));
|
|
147
|
-
}
|
|
148
|
-
focus(e) {
|
|
149
|
-
(this.alwaysFocusable || !this.disabled) && e?.trailing && this.trailingAction ? this.trailingAction.focus(e) : super.focus(e);
|
|
150
|
-
}
|
|
151
|
-
renderContainerContent() {
|
|
152
|
-
return n`
|
|
153
|
-
${super.renderContainerContent()}
|
|
154
|
-
${this.renderTrailingAction(this.handleTrailingActionFocus)}
|
|
155
|
-
`;
|
|
156
|
-
}
|
|
157
|
-
handleKeyDown(e) {
|
|
158
|
-
const a = e.key === "ArrowLeft", r = e.key === "ArrowRight";
|
|
159
|
-
if (!a && !r || !this.primaryAction || !this.trailingAction) return;
|
|
160
|
-
const i = getComputedStyle(this).direction === "rtl" ? a : r, l = this.primaryAction?.matches(":focus-within"), o = this.trailingAction?.matches(":focus-within");
|
|
161
|
-
i && o || !i && l || (e.preventDefault(), e.stopPropagation(), (i ? this.trailingAction : this.primaryAction).focus());
|
|
162
|
-
}
|
|
163
|
-
handleTrailingActionFocus() {
|
|
164
|
-
const { primaryAction: e, trailingAction: a } = this;
|
|
165
|
-
e && a && (e.tabIndex = -1, a.addEventListener("focusout", () => {
|
|
166
|
-
e.tabIndex = 0;
|
|
167
|
-
}, { once: !0 }));
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
function M({ ariaLabel: t, disabled: e, focusListener: a, tabbable: r = !1 }) {
|
|
171
|
-
return n`
|
|
172
|
-
<span id="remove-label" hidden aria-hidden="true">Remove</span>
|
|
173
|
-
<button
|
|
174
|
-
class="trailing action"
|
|
175
|
-
aria-label=${t || y}
|
|
176
|
-
aria-labelledby=${t ? y : "remove-label label"}
|
|
177
|
-
tabindex=${r ? y : -1}
|
|
178
|
-
@click=${Z}
|
|
179
|
-
@focus=${a}>
|
|
180
|
-
<md-focus-ring part="trailing-focus-ring"></md-focus-ring>
|
|
181
|
-
<md-ripple ?disabled=${e}></md-ripple>
|
|
182
|
-
<span class="trailing icon" aria-hidden="true">
|
|
183
|
-
<slot name="remove-trailing-icon">
|
|
184
|
-
<svg viewBox="0 96 960 960">
|
|
185
|
-
<path
|
|
186
|
-
d="m249 849-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231-231 231Z" />
|
|
187
|
-
</svg>
|
|
188
|
-
</slot>
|
|
189
|
-
</span>
|
|
190
|
-
<span class="touch"></span>
|
|
191
|
-
</button>
|
|
192
|
-
`;
|
|
193
|
-
}
|
|
194
|
-
function Z(t) {
|
|
195
|
-
this.disabled || this.softDisabled || (t.stopPropagation(), !this.dispatchEvent(new Event("remove", { cancelable: !0 })) || this.remove());
|
|
196
|
-
}
|
|
197
|
-
class f extends G {
|
|
198
|
-
constructor() {
|
|
199
|
-
super(...arguments), this.elevated = !1, this.removable = !1, this.selected = !1, this.hasSelectedIcon = !1;
|
|
200
|
-
}
|
|
201
|
-
get primaryId() {
|
|
202
|
-
return "button";
|
|
203
|
-
}
|
|
204
|
-
getContainerClasses() {
|
|
205
|
-
return { ...super.getContainerClasses(), elevated: this.elevated, selected: this.selected, "has-trailing": this.removable, "has-icon": this.hasIcon || this.selected };
|
|
206
|
-
}
|
|
207
|
-
renderPrimaryAction(e) {
|
|
208
|
-
const { ariaLabel: a } = this;
|
|
209
|
-
return n`
|
|
210
|
-
<button
|
|
211
|
-
class="primary action"
|
|
212
|
-
id="button"
|
|
213
|
-
aria-label=${a || y}
|
|
214
|
-
aria-pressed=${this.selected}
|
|
215
|
-
aria-disabled=${this.softDisabled || y}
|
|
216
|
-
?disabled=${this.disabled && !this.alwaysFocusable}
|
|
217
|
-
@click=${this.handleClickOnChild}
|
|
218
|
-
>${e}</button
|
|
219
|
-
>
|
|
220
|
-
`;
|
|
221
|
-
}
|
|
222
|
-
renderLeadingIcon() {
|
|
223
|
-
return this.selected ? n`
|
|
224
|
-
<slot name="selected-icon">
|
|
225
|
-
<svg class="checkmark" viewBox="0 0 18 18" aria-hidden="true">
|
|
226
|
-
<path
|
|
227
|
-
d="M6.75012 12.1274L3.62262 8.99988L2.55762 10.0574L6.75012 14.2499L15.7501 5.24988L14.6926 4.19238L6.75012 12.1274Z" />
|
|
228
|
-
</svg>
|
|
229
|
-
</slot>
|
|
230
|
-
` : super.renderLeadingIcon();
|
|
231
|
-
}
|
|
232
|
-
renderTrailingAction(e) {
|
|
233
|
-
return this.removable ? M({ focusListener: e, ariaLabel: this.ariaLabelRemove, disabled: this.disabled || this.softDisabled }) : y;
|
|
234
|
-
}
|
|
235
|
-
renderOutline() {
|
|
236
|
-
return this.elevated ? n`<md-elevation part="elevation"></md-elevation>` : super.renderOutline();
|
|
237
|
-
}
|
|
238
|
-
handleClickOnChild(e) {
|
|
239
|
-
if (this.disabled || this.softDisabled) return;
|
|
240
|
-
const a = this.selected;
|
|
241
|
-
this.selected = !this.selected, !F(this, e) && (this.selected = a);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
c([s({ type: Boolean })], f.prototype, "elevated", void 0), c([s({ type: Boolean })], f.prototype, "removable", void 0), c([s({ type: Boolean, reflect: !0 })], f.prototype, "selected", void 0), c([s({ type: Boolean, reflect: !0, attribute: "has-selected-icon" })], f.prototype, "hasSelectedIcon", void 0), c([L(".primary.action")], f.prototype, "primaryAction", void 0), c([L(".trailing.action")], f.prototype, "trailingAction", void 0);
|
|
245
|
-
const H = h`:host{--_container-height: var(--md-filter-chip-container-height, 32px);--_disabled-label-text-color: var(--md-filter-chip-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-filter-chip-disabled-label-text-opacity, 0.38);--_elevated-container-elevation: var(--md-filter-chip-elevated-container-elevation, 1);--_elevated-container-shadow-color: var(--md-filter-chip-elevated-container-shadow-color, var(--md-sys-color-shadow, #000));--_elevated-disabled-container-color: var(--md-filter-chip-elevated-disabled-container-color, var(--md-sys-color-on-surface, #1d1b20));--_elevated-disabled-container-elevation: var(--md-filter-chip-elevated-disabled-container-elevation, 0);--_elevated-disabled-container-opacity: var(--md-filter-chip-elevated-disabled-container-opacity, 0.12);--_elevated-focus-container-elevation: var(--md-filter-chip-elevated-focus-container-elevation, 1);--_elevated-hover-container-elevation: var(--md-filter-chip-elevated-hover-container-elevation, 2);--_elevated-pressed-container-elevation: var(--md-filter-chip-elevated-pressed-container-elevation, 1);--_elevated-selected-container-color: var(--md-filter-chip-elevated-selected-container-color, var(--md-sys-color-secondary-container, #e8def8));--_label-text-font: var(--md-filter-chip-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-filter-chip-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-filter-chip-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-filter-chip-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_selected-focus-label-text-color: var(--md-filter-chip-selected-focus-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-label-text-color: var(--md-filter-chip-selected-hover-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-state-layer-color: var(--md-filter-chip-selected-hover-state-layer-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-state-layer-opacity: var(--md-filter-chip-selected-hover-state-layer-opacity, 0.08);--_selected-label-text-color: var(--md-filter-chip-selected-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-pressed-label-text-color: var(--md-filter-chip-selected-pressed-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-pressed-state-layer-color: var(--md-filter-chip-selected-pressed-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_selected-pressed-state-layer-opacity: var(--md-filter-chip-selected-pressed-state-layer-opacity, 0.12);--_elevated-container-color: var(--md-filter-chip-elevated-container-color, var(--md-sys-color-surface-container-low, #f7f2fa));--_disabled-outline-color: var(--md-filter-chip-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity: var(--md-filter-chip-disabled-outline-opacity, 0.12);--_disabled-selected-container-color: var(--md-filter-chip-disabled-selected-container-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-selected-container-opacity: var(--md-filter-chip-disabled-selected-container-opacity, 0.12);--_focus-outline-color: var(--md-filter-chip-focus-outline-color, var(--md-sys-color-on-surface-variant, #49454f));--_outline-color: var(--md-filter-chip-outline-color, var(--md-sys-color-outline, #79747e));--_outline-width: var(--md-filter-chip-outline-width, 1px);--_selected-container-color: var(--md-filter-chip-selected-container-color, var(--md-sys-color-secondary-container, #e8def8));--_selected-outline-width: var(--md-filter-chip-selected-outline-width, 0px);--_focus-label-text-color: var(--md-filter-chip-focus-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-label-text-color: var(--md-filter-chip-hover-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-color: var(--md-filter-chip-hover-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-opacity: var(--md-filter-chip-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-filter-chip-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-label-text-color: var(--md-filter-chip-pressed-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-color: var(--md-filter-chip-pressed-state-layer-color, var(--md-sys-color-on-secondary-container, #1d192b));--_pressed-state-layer-opacity: var(--md-filter-chip-pressed-state-layer-opacity, 0.12);--_icon-size: var(--md-filter-chip-icon-size, 18px);--_disabled-leading-icon-color: var(--md-filter-chip-disabled-leading-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-leading-icon-opacity: var(--md-filter-chip-disabled-leading-icon-opacity, 0.38);--_selected-focus-leading-icon-color: var(--md-filter-chip-selected-focus-leading-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-leading-icon-color: var(--md-filter-chip-selected-hover-leading-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-leading-icon-color: var(--md-filter-chip-selected-leading-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-pressed-leading-icon-color: var(--md-filter-chip-selected-pressed-leading-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_focus-leading-icon-color: var(--md-filter-chip-focus-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-leading-icon-color: var(--md-filter-chip-hover-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_leading-icon-color: var(--md-filter-chip-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_pressed-leading-icon-color: var(--md-filter-chip-pressed-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_disabled-trailing-icon-color: var(--md-filter-chip-disabled-trailing-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-trailing-icon-opacity: var(--md-filter-chip-disabled-trailing-icon-opacity, 0.38);--_selected-focus-trailing-icon-color: var(--md-filter-chip-selected-focus-trailing-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-trailing-icon-color: var(--md-filter-chip-selected-hover-trailing-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-pressed-trailing-icon-color: var(--md-filter-chip-selected-pressed-trailing-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-trailing-icon-color: var(--md-filter-chip-selected-trailing-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_focus-trailing-icon-color: var(--md-filter-chip-focus-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-trailing-icon-color: var(--md-filter-chip-hover-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-trailing-icon-color: var(--md-filter-chip-pressed-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-icon-color: var(--md-filter-chip-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_container-shape-start-start: var(--md-filter-chip-container-shape-start-start, var(--md-filter-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_container-shape-start-end: var(--md-filter-chip-container-shape-start-end, var(--md-filter-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_container-shape-end-end: var(--md-filter-chip-container-shape-end-end, var(--md-filter-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_container-shape-end-start: var(--md-filter-chip-container-shape-end-start, var(--md-filter-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_leading-space: var(--md-filter-chip-leading-space, 16px);--_trailing-space: var(--md-filter-chip-trailing-space, 16px);--_icon-label-space: var(--md-filter-chip-icon-label-space, 8px);--_with-leading-icon-leading-space: var(--md-filter-chip-with-leading-icon-leading-space, 8px);--_with-trailing-icon-trailing-space: var(--md-filter-chip-with-trailing-icon-trailing-space, 8px)}.selected.elevated::before{background:var(--_elevated-selected-container-color)}.checkmark{height:var(--_icon-size);width:var(--_icon-size)}.disabled .checkmark{opacity:var(--_disabled-leading-icon-opacity)}@media(forced-colors: active){.disabled .checkmark{opacity:1}}
|
|
246
|
-
`, Y = h`.selected{--md-ripple-hover-color: var(--_selected-hover-state-layer-color);--md-ripple-hover-opacity: var(--_selected-hover-state-layer-opacity);--md-ripple-pressed-color: var(--_selected-pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_selected-pressed-state-layer-opacity)}:where(.selected)::before{background:var(--_selected-container-color)}:where(.selected) .outline{border-width:var(--_selected-outline-width)}:where(.selected.disabled)::before{background:var(--_disabled-selected-container-color);opacity:var(--_disabled-selected-container-opacity)}:where(.selected) .label{color:var(--_selected-label-text-color)}:where(.selected:hover) .label{color:var(--_selected-hover-label-text-color)}:where(.selected:focus) .label{color:var(--_selected-focus-label-text-color)}:where(.selected:active) .label{color:var(--_selected-pressed-label-text-color)}:where(.selected) .leading.icon{color:var(--_selected-leading-icon-color)}:where(.selected:hover) .leading.icon{color:var(--_selected-hover-leading-icon-color)}:where(.selected:focus) .leading.icon{color:var(--_selected-focus-leading-icon-color)}:where(.selected:active) .leading.icon{color:var(--_selected-pressed-leading-icon-color)}@media(forced-colors: active){:where(.selected:not(.elevated))::before{border:1px solid CanvasText}:where(.selected) .outline{border-width:1px}}
|
|
247
|
-
`, J = h`:host{border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end);display:inline-flex;height:var(--_container-height);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--md-ripple-hover-color: var(--_hover-state-layer-color);--md-ripple-hover-opacity: var(--_hover-state-layer-opacity);--md-ripple-pressed-color: var(--_pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_pressed-state-layer-opacity)}:host(:is([disabled],[soft-disabled])){pointer-events:none}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_container-height))/2) 0}md-focus-ring{--md-focus-ring-shape-start-start: var(--_container-shape-start-start);--md-focus-ring-shape-start-end: var(--_container-shape-start-end);--md-focus-ring-shape-end-end: var(--_container-shape-end-end);--md-focus-ring-shape-end-start: var(--_container-shape-end-start)}.container{border-radius:inherit;box-sizing:border-box;display:flex;height:100%;position:relative;width:100%}.container::before{border-radius:inherit;content:"";inset:0;pointer-events:none;position:absolute}.container:not(.disabled){cursor:pointer}.container.disabled{pointer-events:none}.cell{display:flex}.action{align-items:baseline;appearance:none;background:none;border:none;border-radius:inherit;display:flex;outline:none;padding:0;position:relative;text-decoration:none}.primary.action{min-width:0;padding-inline-start:var(--_leading-space);padding-inline-end:var(--_trailing-space)}.has-icon .primary.action{padding-inline-start:var(--_with-leading-icon-leading-space)}.touch{height:48px;inset:50% 0 0;position:absolute;transform:translateY(-50%);width:100%}:host([touch-target=none]) .touch{display:none}.outline{border:var(--_outline-width) solid var(--_outline-color);border-radius:inherit;inset:0;pointer-events:none;position:absolute}:where(:focus) .outline{border-color:var(--_focus-outline-color)}:where(.disabled) .outline{border-color:var(--_disabled-outline-color);opacity:var(--_disabled-outline-opacity)}md-ripple{border-radius:inherit}.label,.icon,.touch{z-index:1}.label{align-items:center;color:var(--_label-text-color);display:flex;font-family:var(--_label-text-font);font-size:var(--_label-text-size);font-weight:var(--_label-text-weight);height:100%;line-height:var(--_label-text-line-height);overflow:hidden;user-select:none}.label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(:hover) .label{color:var(--_hover-label-text-color)}:where(:focus) .label{color:var(--_focus-label-text-color)}:where(:active) .label{color:var(--_pressed-label-text-color)}:where(.disabled) .label{color:var(--_disabled-label-text-color);opacity:var(--_disabled-label-text-opacity)}.icon{align-self:center;display:flex;fill:currentColor;position:relative}.icon ::slotted(:first-child){font-size:var(--_icon-size);height:var(--_icon-size);width:var(--_icon-size)}.leading.icon{color:var(--_leading-icon-color)}.leading.icon ::slotted(*),.leading.icon svg{margin-inline-end:var(--_icon-label-space)}:where(:hover) .leading.icon{color:var(--_hover-leading-icon-color)}:where(:focus) .leading.icon{color:var(--_focus-leading-icon-color)}:where(:active) .leading.icon{color:var(--_pressed-leading-icon-color)}:where(.disabled) .leading.icon{color:var(--_disabled-leading-icon-color);opacity:var(--_disabled-leading-icon-opacity)}@media(forced-colors: active){:where(.disabled) :is(.label,.outline,.leading.icon){color:GrayText;opacity:1}}a,button{text-transform:inherit}a,button:not(:disabled,[aria-disabled=true]){cursor:inherit}
|
|
248
|
-
`, N = h`.trailing.action{align-items:center;justify-content:center;padding-inline-start:var(--_icon-label-space);padding-inline-end:var(--_with-trailing-icon-trailing-space)}.trailing.action :is(md-ripple,md-focus-ring){border-radius:50%;height:calc(1.3333333333*var(--_icon-size));width:calc(1.3333333333*var(--_icon-size))}.trailing.action md-focus-ring{inset:unset}.has-trailing .primary.action{padding-inline-end:0}.trailing.icon{color:var(--_trailing-icon-color);height:var(--_icon-size);width:var(--_icon-size)}:where(:hover) .trailing.icon{color:var(--_hover-trailing-icon-color)}:where(:focus) .trailing.icon{color:var(--_focus-trailing-icon-color)}:where(:active) .trailing.icon{color:var(--_pressed-trailing-icon-color)}:where(.disabled) .trailing.icon{color:var(--_disabled-trailing-icon-color);opacity:var(--_disabled-trailing-icon-opacity)}:where(.selected) .trailing.icon{color:var(--_selected-trailing-icon-color)}:where(.selected:hover) .trailing.icon{color:var(--_selected-hover-trailing-icon-color)}:where(.selected:focus) .trailing.icon{color:var(--_selected-focus-trailing-icon-color)}:where(.selected:active) .trailing.icon{color:var(--_selected-pressed-trailing-icon-color)}@media(forced-colors: active){.trailing.icon{color:ButtonText}:where(.disabled) .trailing.icon{color:GrayText;opacity:1}}
|
|
249
|
-
`;
|
|
250
|
-
let I = class extends f {
|
|
251
|
-
};
|
|
252
|
-
I.styles = [J, q, N, Y, H], I = c([x("md-filter-chip")], I);
|
|
253
|
-
var Q = Object.defineProperty, V = Object.getOwnPropertyDescriptor, m = (t, e, a, r) => {
|
|
254
|
-
for (var i, l = r > 1 ? void 0 : r ? V(e, a) : e, o = t.length - 1; o >= 0; o--) (i = t[o]) && (l = (r ? i(e, a, l) : i(l)) || l);
|
|
255
|
-
return r && l && Q(e, a, l), l;
|
|
256
|
-
};
|
|
257
|
-
let d = class extends z(h`
|
|
258
|
-
/* Allow content to be styled with Tailwind classes */
|
|
259
|
-
:host {
|
|
260
|
-
display: inline-block;
|
|
261
|
-
}
|
|
262
|
-
`) {
|
|
263
|
-
constructor() {
|
|
264
|
-
super(), this.value = "", this.selected = !1, this.icon = "", this.readOnly = !1, this.disabled = !1;
|
|
265
|
-
try {
|
|
266
|
-
this.internals = this.attachInternals();
|
|
267
|
-
} catch {
|
|
268
|
-
this.internals = void 0;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
get form() {
|
|
272
|
-
return this.internals?.form;
|
|
273
|
-
}
|
|
274
|
-
render() {
|
|
275
|
-
return n`
|
|
276
|
-
<md-filter-chip
|
|
277
|
-
@click=${() => {
|
|
278
|
-
this.readOnly || (this.selected = !this.selected, this.dispatchEvent(new CustomEvent("change", { detail: { value: this.value, selected: this.selected }, bubbles: !0 })));
|
|
279
|
-
}}
|
|
280
|
-
?selected=${this.selected}
|
|
281
|
-
?disabled=${this.disabled}
|
|
282
|
-
>
|
|
283
|
-
<slot></slot>
|
|
284
|
-
</md-filter-chip>
|
|
285
|
-
`;
|
|
286
|
-
}
|
|
287
|
-
};
|
|
288
|
-
d.shadowRootOptions = { ...w.shadowRootOptions, delegatesFocus: !0 }, d.formAssociated = !0, m([s({ type: String, reflect: !0 })], d.prototype, "value", 2), m([s({ type: Boolean, reflect: !0 })], d.prototype, "selected", 2), m([s({ type: String, reflect: !0 })], d.prototype, "icon", 2), m([s({ type: Boolean, reflect: !0 })], d.prototype, "readOnly", 2), m([s({ type: Boolean, reflect: !0 })], d.prototype, "disabled", 2), d = m([x("schmancy-chip")], d);
|
|
289
|
-
var W = Object.defineProperty, X = Object.getOwnPropertyDescriptor, u = (t, e, a, r) => {
|
|
290
|
-
for (var i, l = r > 1 ? void 0 : r ? X(e, a) : e, o = t.length - 1; o >= 0; o--) (i = t[o]) && (l = (r ? i(e, a, l) : i(l)) || l);
|
|
291
|
-
return r && l && W(e, a, l), l;
|
|
292
|
-
};
|
|
293
|
-
let v = class extends P(h``) {
|
|
294
|
-
constructor() {
|
|
295
|
-
super(...arguments), this.multi = !1, this.values = [], this.value = "", this.wrap = !0;
|
|
296
|
-
}
|
|
297
|
-
async change(t) {
|
|
298
|
-
t.preventDefault(), t.stopPropagation();
|
|
299
|
-
const { value: e, selected: a } = t.detail;
|
|
300
|
-
if (this.multi) {
|
|
301
|
-
if (a) {
|
|
302
|
-
this.values = [...this.values, e];
|
|
303
|
-
const r = this.chips.find((i) => i.value === e);
|
|
304
|
-
r && (r.selected = !0);
|
|
305
|
-
} else {
|
|
306
|
-
this.values = this.values.filter((i) => i !== e);
|
|
307
|
-
const r = this.chips.find((i) => i.value === e);
|
|
308
|
-
r && (r.selected = !1);
|
|
309
|
-
}
|
|
310
|
-
this.requestUpdate();
|
|
311
|
-
} else {
|
|
312
|
-
const { value: r, selected: i } = t.detail;
|
|
313
|
-
this.value = i ? r : "";
|
|
314
|
-
const l = this.chips.find((o) => o.value === r);
|
|
315
|
-
l.selected = i || !1, this.chips.forEach((o) => {
|
|
316
|
-
this.value && this.value === o.value ? o.selected = !0 : o.selected = !1;
|
|
317
|
-
}), this.requestUpdate();
|
|
318
|
-
}
|
|
319
|
-
this.dispatchEvent(new CustomEvent("change", { detail: this.multi ? this.values : this.value, bubbles: !0 }));
|
|
320
|
-
}
|
|
321
|
-
firstUpdated(t) {
|
|
322
|
-
super.firstUpdated(t), this.hydrateTabs();
|
|
323
|
-
}
|
|
324
|
-
attributeChangedCallback(t, e, a) {
|
|
325
|
-
super.attributeChangedCallback(t, e, a), (t === "values" || t === "value") && this.hydrateTabs();
|
|
326
|
-
}
|
|
327
|
-
hydrateTabs() {
|
|
328
|
-
this.chips.forEach((t) => {
|
|
329
|
-
this.multi ? this.values.includes(t.value) ? t.selected = !0 : t.selected = !1 : this.value === t.value ? t.selected = !0 : t.selected = !1;
|
|
330
|
-
});
|
|
331
|
-
}
|
|
332
|
-
render() {
|
|
333
|
-
const t = { "flex-wrap": this.wrap ? "wrap" : "nowrap" };
|
|
334
|
-
return n`<md-chip-set style=${this.styleMap(t)} @change=${this.change}>
|
|
335
|
-
<slot @slotchange=${() => this.hydrateTabs()}></slot>
|
|
336
|
-
</md-chip-set>`;
|
|
337
|
-
}
|
|
338
|
-
};
|
|
339
|
-
u([L("md-chip-set")], v.prototype, "chipSet", 2), u([s({ type: Boolean, reflect: !0 })], v.prototype, "multi", 2), u([s({ type: Array, reflect: !0 })], v.prototype, "values", 2), u([s({ type: String, reflect: !0 })], v.prototype, "value", 2), u([D({ selector: "schmancy-chip", flatten: !0 })], v.prototype, "chips", 2), u([s({ type: Boolean, reflect: !0 })], v.prototype, "wrap", 2), v = u([x("schmancy-chips")], v);
|
|
340
|
-
//# sourceMappingURL=chips-DcCUwYBu.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chips-DcCUwYBu.js","sources":["../node_modules/@material/web/chips/internal/chip.js","../node_modules/@material/web/chips/internal/chip-set.js","../node_modules/@material/web/chips/internal/chip-set-styles.js","../node_modules/@material/web/chips/chip-set.js","../node_modules/@material/web/chips/internal/elevated-styles.js","../node_modules/@material/web/elevation/internal/elevation.js","../node_modules/@material/web/elevation/internal/elevation-styles.js","../node_modules/@material/web/elevation/elevation.js","../node_modules/@material/web/chips/internal/multi-action-chip.js","../node_modules/@material/web/chips/internal/trailing-icons.js","../node_modules/@material/web/chips/internal/filter-chip.js","../node_modules/@material/web/chips/internal/filter-styles.js","../node_modules/@material/web/chips/internal/selectable-styles.js","../node_modules/@material/web/chips/internal/shared-styles.js","../node_modules/@material/web/chips/internal/trailing-icon-styles.js","../node_modules/@material/web/chips/filter-chip.js","../src/chips/chip.ts","../src/chips/chips.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport '../../focus/md-focus-ring.js';\nimport '../../ripple/ripple.js';\nimport { html, isServer, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { mixinDelegatesAria } from '../../internal/aria/delegate.js';\n// Separate variable needed for closure.\nconst chipBaseClass = mixinDelegatesAria(LitElement);\n/**\n * A chip component.\n *\n * @fires update-focus {Event} Dispatched when `disabled` is toggled. --bubbles\n */\nexport class Chip extends chipBaseClass {\n /**\n * Whether or not the primary ripple is disabled (defaults to `disabled`).\n * Some chip actions such as links cannot be disabled.\n */\n get rippleDisabled() {\n return this.disabled || this.softDisabled;\n }\n constructor() {\n super();\n /**\n * Whether or not the chip is disabled.\n *\n * Disabled chips are not focusable, unless `always-focusable` is set.\n */\n this.disabled = false;\n /**\n * Whether or not the chip is \"soft-disabled\" (disabled but still\n * focusable).\n *\n * Use this when a chip needs increased visibility when disabled. See\n * https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\n * for more guidance on when this is needed.\n */\n this.softDisabled = false;\n /**\n * When true, allow disabled chips to be focused with arrow keys.\n *\n * Add this when a chip needs increased visibility when disabled. See\n * https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\n * for more guidance on when this is needed.\n *\n * @deprecated Use `softDisabled` instead of `alwaysFocusable` + `disabled`.\n */\n this.alwaysFocusable = false;\n // TODO(b/350810013): remove the label property.\n /**\n * The label of the chip.\n *\n * @deprecated Set text as content of the chip instead.\n */\n this.label = '';\n /**\n * Only needed for SSR.\n *\n * Add this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\n * Unstyled Content.\n */\n this.hasIcon = false;\n if (!isServer) {\n this.addEventListener('click', this.handleClick.bind(this));\n }\n }\n focus(options) {\n if (this.disabled && !this.alwaysFocusable) {\n return;\n }\n super.focus(options);\n }\n render() {\n return html `\n <div class=\"container ${classMap(this.getContainerClasses())}\">\n ${this.renderContainerContent()}\n </div>\n `;\n }\n updated(changed) {\n if (changed.has('disabled') && changed.get('disabled') !== undefined) {\n this.dispatchEvent(new Event('update-focus', { bubbles: true }));\n }\n }\n getContainerClasses() {\n return {\n 'disabled': this.disabled || this.softDisabled,\n 'has-icon': this.hasIcon,\n };\n }\n renderContainerContent() {\n return html `\n ${this.renderOutline()}\n <md-focus-ring part=\"focus-ring\" for=${this.primaryId}></md-focus-ring>\n <md-ripple\n for=${this.primaryId}\n ?disabled=${this.rippleDisabled}></md-ripple>\n ${this.renderPrimaryAction(this.renderPrimaryContent())}\n `;\n }\n renderOutline() {\n return html `<span class=\"outline\"></span>`;\n }\n renderLeadingIcon() {\n return html `<slot name=\"icon\" @slotchange=${this.handleIconChange}></slot>`;\n }\n renderPrimaryContent() {\n return html `\n <span class=\"leading icon\" aria-hidden=\"true\">\n ${this.renderLeadingIcon()}\n </span>\n <span class=\"label\">\n <span class=\"label-text\" id=\"label\">\n ${this.label ? this.label : html `<slot></slot>`}\n </span>\n </span>\n <span class=\"touch\"></span>\n `;\n }\n handleIconChange(event) {\n const slot = event.target;\n this.hasIcon = slot.assignedElements({ flatten: true }).length > 0;\n }\n handleClick(event) {\n // If the chip is soft-disabled or disabled + always-focusable, we need to\n // explicitly prevent the click from propagating to other event listeners\n // as well as prevent the default action.\n if (this.softDisabled || (this.disabled && this.alwaysFocusable)) {\n event.stopImmediatePropagation();\n event.preventDefault();\n return;\n }\n }\n}\n/** @nocollapse */\nChip.shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n};\n__decorate([\n property({ type: Boolean, reflect: true })\n], Chip.prototype, \"disabled\", void 0);\n__decorate([\n property({ type: Boolean, attribute: 'soft-disabled', reflect: true })\n], Chip.prototype, \"softDisabled\", void 0);\n__decorate([\n property({ type: Boolean, attribute: 'always-focusable' })\n], Chip.prototype, \"alwaysFocusable\", void 0);\n__decorate([\n property()\n], Chip.prototype, \"label\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true, attribute: 'has-icon' })\n], Chip.prototype, \"hasIcon\", void 0);\n//# sourceMappingURL=chip.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { html, isServer, LitElement } from 'lit';\nimport { queryAssignedElements } from 'lit/decorators.js';\nimport { Chip } from './chip.js';\n/**\n * A chip set component.\n */\nexport class ChipSet extends LitElement {\n get chips() {\n return this.childElements.filter((child) => child instanceof Chip);\n }\n constructor() {\n super();\n this.internals = \n // Cast needed for closure\n this.attachInternals();\n if (!isServer) {\n this.addEventListener('focusin', this.updateTabIndices.bind(this));\n this.addEventListener('update-focus', this.updateTabIndices.bind(this));\n this.addEventListener('keydown', this.handleKeyDown.bind(this));\n this.internals.role = 'toolbar';\n }\n }\n render() {\n return html `<slot @slotchange=${this.updateTabIndices}></slot>`;\n }\n handleKeyDown(event) {\n const isLeft = event.key === 'ArrowLeft';\n const isRight = event.key === 'ArrowRight';\n const isHome = event.key === 'Home';\n const isEnd = event.key === 'End';\n // Ignore non-navigation keys\n if (!isLeft && !isRight && !isHome && !isEnd) {\n return;\n }\n const { chips } = this;\n // Don't try to select another chip if there aren't any.\n if (chips.length < 2) {\n return;\n }\n // Prevent default interactions, such as scrolling.\n event.preventDefault();\n if (isHome || isEnd) {\n const index = isHome ? 0 : chips.length - 1;\n chips[index].focus({ trailing: isEnd });\n this.updateTabIndices();\n return;\n }\n // Check if moving forwards or backwards\n const isRtl = getComputedStyle(this).direction === 'rtl';\n const forwards = isRtl ? isLeft : isRight;\n const focusedChip = chips.find((chip) => chip.matches(':focus-within'));\n if (!focusedChip) {\n // If there is not already a chip focused, select the first or last chip\n // based on the direction we're traveling.\n const nextChip = forwards ? chips[0] : chips[chips.length - 1];\n nextChip.focus({ trailing: !forwards });\n this.updateTabIndices();\n return;\n }\n const currentIndex = chips.indexOf(focusedChip);\n let nextIndex = forwards ? currentIndex + 1 : currentIndex - 1;\n // Search for the next sibling that is not disabled to select.\n // If we return to the host index, there is nothing to select.\n while (nextIndex !== currentIndex) {\n if (nextIndex >= chips.length) {\n // Return to start if moving past the last item.\n nextIndex = 0;\n }\n else if (nextIndex < 0) {\n // Go to end if moving before the first item.\n nextIndex = chips.length - 1;\n }\n // Check if the next sibling is disabled. If so,\n // move the index and continue searching.\n //\n // Some toolbar items may be focusable when disabled for increased\n // visibility.\n const nextChip = chips[nextIndex];\n if (nextChip.disabled && !nextChip.alwaysFocusable) {\n if (forwards) {\n nextIndex++;\n }\n else {\n nextIndex--;\n }\n continue;\n }\n nextChip.focus({ trailing: !forwards });\n this.updateTabIndices();\n break;\n }\n }\n updateTabIndices() {\n // The chip that should be focusable is either the chip that currently has\n // focus or the first chip that can be focused.\n const { chips } = this;\n let chipToFocus;\n for (const chip of chips) {\n const isChipFocusable = chip.alwaysFocusable || !chip.disabled;\n const chipIsFocused = chip.matches(':focus-within');\n if (chipIsFocused && isChipFocusable) {\n // Found the first chip that is actively focused. This overrides the\n // first focusable chip found.\n chipToFocus = chip;\n continue;\n }\n if (isChipFocusable && !chipToFocus) {\n chipToFocus = chip;\n }\n // Disable non-focused chips. If we disable all of them, we'll grant focus\n // to the first focusable child that was found.\n chip.tabIndex = -1;\n }\n if (chipToFocus) {\n chipToFocus.tabIndex = 0;\n }\n }\n}\n__decorate([\n queryAssignedElements()\n], ChipSet.prototype, \"childElements\", void 0);\n//# sourceMappingURL=chip-set.js.map","/**\n * @license\n * Copyright 2024 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./chips/internal/chip-set-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{display:flex;flex-wrap:wrap;gap:8px}\n`;\n//# sourceMappingURL=chip-set-styles.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { ChipSet } from './internal/chip-set.js';\nimport { styles } from './internal/chip-set-styles.js';\n/**\n * TODO(b/243982145): add docs\n *\n * @final\n * @suppress {visibility}\n */\nlet MdChipSet = class MdChipSet extends ChipSet {\n};\nMdChipSet.styles = [styles];\nMdChipSet = __decorate([\n customElement('md-chip-set')\n], MdChipSet);\nexport { MdChipSet };\n//# sourceMappingURL=chip-set.js.map","/**\n * @license\n * Copyright 2024 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./chips/internal/elevated-styles.css.\nimport { css } from 'lit';\nexport const styles = css `.elevated{--md-elevation-level: var(--_elevated-container-elevation);--md-elevation-shadow-color: var(--_elevated-container-shadow-color)}.elevated::before{background:var(--_elevated-container-color)}.elevated:hover{--md-elevation-level: var(--_elevated-hover-container-elevation)}.elevated:focus-within{--md-elevation-level: var(--_elevated-focus-container-elevation)}.elevated:active{--md-elevation-level: var(--_elevated-pressed-container-elevation)}.elevated.disabled{--md-elevation-level: var(--_elevated-disabled-container-elevation)}.elevated.disabled::before{background:var(--_elevated-disabled-container-color);opacity:var(--_elevated-disabled-container-opacity)}@media(forced-colors: active){.elevated md-elevation{border:1px solid CanvasText}.elevated.disabled md-elevation{border-color:GrayText}}\n`;\n//# sourceMappingURL=elevated-styles.js.map","/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { html, LitElement } from 'lit';\n/**\n * A component for elevation.\n */\nexport class Elevation extends LitElement {\n connectedCallback() {\n super.connectedCallback();\n // Needed for VoiceOver, which will create a \"group\" if the element is a\n // sibling to other content.\n this.setAttribute('aria-hidden', 'true');\n }\n render() {\n return html `<span class=\"shadow\"></span>`;\n }\n}\n//# sourceMappingURL=elevation.js.map","/**\n * @license\n * Copyright 2024 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./elevation/internal/elevation-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host,.shadow,.shadow::before,.shadow::after{border-radius:inherit;inset:0;position:absolute;transition-duration:inherit;transition-property:inherit;transition-timing-function:inherit}:host{display:flex;pointer-events:none;transition-property:box-shadow,opacity}.shadow::before,.shadow::after{content:\"\";transition-property:box-shadow,opacity;--_level: var(--md-elevation-level, 0);--_shadow-color: var(--md-elevation-shadow-color, var(--md-sys-color-shadow, #000))}.shadow::before{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 3,1) + 2*clamp(0,var(--_level) - 4,1))) calc(1px*(2*clamp(0,var(--_level),1) + clamp(0,var(--_level) - 2,1) + clamp(0,var(--_level) - 4,1))) 0px var(--_shadow-color);opacity:.3}.shadow::after{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 1,1) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(3*clamp(0,var(--_level),2) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(clamp(0,var(--_level),4) + 2*clamp(0,var(--_level) - 4,1))) var(--_shadow-color);opacity:.15}\n`;\n//# sourceMappingURL=elevation-styles.js.map","/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { Elevation } from './internal/elevation.js';\nimport { styles } from './internal/elevation-styles.js';\n/**\n * The `<md-elevation>` custom element with default styles.\n *\n * Elevation is the relative distance between two surfaces along the z-axis.\n *\n * @final\n * @suppress {visibility}\n */\nlet MdElevation = class MdElevation extends Elevation {\n};\nMdElevation.styles = [styles];\nMdElevation = __decorate([\n customElement('md-elevation')\n], MdElevation);\nexport { MdElevation };\n//# sourceMappingURL=elevation.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { html, isServer } from 'lit';\nimport { Chip } from './chip.js';\nconst ARIA_LABEL_REMOVE = 'aria-label-remove';\n/**\n * A chip component with multiple actions.\n */\nexport class MultiActionChip extends Chip {\n get ariaLabelRemove() {\n if (this.hasAttribute(ARIA_LABEL_REMOVE)) {\n return this.getAttribute(ARIA_LABEL_REMOVE);\n }\n const { ariaLabel } = this;\n // TODO(b/350810013): remove `this.label` when label property is removed.\n if (ariaLabel || this.label) {\n return `Remove ${ariaLabel || this.label}`;\n }\n return null;\n }\n set ariaLabelRemove(ariaLabel) {\n const prev = this.ariaLabelRemove;\n if (ariaLabel === prev) {\n return;\n }\n if (ariaLabel === null) {\n this.removeAttribute(ARIA_LABEL_REMOVE);\n }\n else {\n this.setAttribute(ARIA_LABEL_REMOVE, ariaLabel);\n }\n this.requestUpdate();\n }\n constructor() {\n super();\n this.handleTrailingActionFocus = this.handleTrailingActionFocus.bind(this);\n if (!isServer) {\n this.addEventListener('keydown', this.handleKeyDown.bind(this));\n }\n }\n focus(options) {\n const isFocusable = this.alwaysFocusable || !this.disabled;\n if (isFocusable && options?.trailing && this.trailingAction) {\n this.trailingAction.focus(options);\n return;\n }\n super.focus(options);\n }\n renderContainerContent() {\n return html `\n ${super.renderContainerContent()}\n ${this.renderTrailingAction(this.handleTrailingActionFocus)}\n `;\n }\n handleKeyDown(event) {\n const isLeft = event.key === 'ArrowLeft';\n const isRight = event.key === 'ArrowRight';\n // Ignore non-navigation keys.\n if (!isLeft && !isRight) {\n return;\n }\n if (!this.primaryAction || !this.trailingAction) {\n // Does not have multiple actions.\n return;\n }\n // Check if moving forwards or backwards\n const isRtl = getComputedStyle(this).direction === 'rtl';\n const forwards = isRtl ? isLeft : isRight;\n const isPrimaryFocused = this.primaryAction?.matches(':focus-within');\n const isTrailingFocused = this.trailingAction?.matches(':focus-within');\n if ((forwards && isTrailingFocused) || (!forwards && isPrimaryFocused)) {\n // Moving outside of the chip, it will be handled by the chip set.\n return;\n }\n // Prevent default interactions, such as scrolling.\n event.preventDefault();\n // Don't let the chip set handle this navigation event.\n event.stopPropagation();\n const actionToFocus = forwards ? this.trailingAction : this.primaryAction;\n actionToFocus.focus();\n }\n handleTrailingActionFocus() {\n const { primaryAction, trailingAction } = this;\n if (!primaryAction || !trailingAction) {\n return;\n }\n // Temporarily turn off the primary action's focusability. This allows\n // shift+tab from the trailing action to move to the previous chip rather\n // than the primary action in the same chip.\n primaryAction.tabIndex = -1;\n trailingAction.addEventListener('focusout', () => {\n primaryAction.tabIndex = 0;\n }, { once: true });\n }\n}\n//# sourceMappingURL=multi-action-chip.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport '../../focus/md-focus-ring.js';\nimport '../../ripple/ripple.js';\nimport { html, nothing } from 'lit';\n/** @protected */\nexport function renderRemoveButton({ ariaLabel, disabled, focusListener, tabbable = false, }) {\n // When an aria-label is not provided, we use two spans with aria-labelledby\n // to create the \"Remove <textContent>\" label for the remove button. The first\n // is this #remove-label span, the second is the chip's #label slot span.\n return html `\n <span id=\"remove-label\" hidden aria-hidden=\"true\">Remove</span>\n <button\n class=\"trailing action\"\n aria-label=${ariaLabel || nothing}\n aria-labelledby=${!ariaLabel ? 'remove-label label' : nothing}\n tabindex=${!tabbable ? -1 : nothing}\n @click=${handleRemoveClick}\n @focus=${focusListener}>\n <md-focus-ring part=\"trailing-focus-ring\"></md-focus-ring>\n <md-ripple ?disabled=${disabled}></md-ripple>\n <span class=\"trailing icon\" aria-hidden=\"true\">\n <slot name=\"remove-trailing-icon\">\n <svg viewBox=\"0 96 960 960\">\n <path\n d=\"m249 849-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231-231 231Z\" />\n </svg>\n </slot>\n </span>\n <span class=\"touch\"></span>\n </button>\n `;\n}\nfunction handleRemoveClick(event) {\n if (this.disabled || this.softDisabled) {\n return;\n }\n event.stopPropagation();\n const preventDefault = !this.dispatchEvent(new Event('remove', { cancelable: true }));\n if (preventDefault) {\n return;\n }\n this.remove();\n}\n//# sourceMappingURL=trailing-icons.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport '../../elevation/elevation.js';\nimport { html, nothing } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { redispatchEvent } from '../../internal/events/redispatch-event.js';\nimport { MultiActionChip } from './multi-action-chip.js';\nimport { renderRemoveButton } from './trailing-icons.js';\n/**\n * A filter chip component.\n *\n * @fires remove {Event} Dispatched when the remove button is clicked.\n */\nexport class FilterChip extends MultiActionChip {\n constructor() {\n super(...arguments);\n this.elevated = false;\n this.removable = false;\n this.selected = false;\n /**\n * Only needed for SSR.\n *\n * Add this attribute when a filter chip has a `slot=\"selected-icon\"` to avoid\n * a Flash Of Unstyled Content.\n */\n this.hasSelectedIcon = false;\n }\n get primaryId() {\n return 'button';\n }\n getContainerClasses() {\n return {\n ...super.getContainerClasses(),\n elevated: this.elevated,\n selected: this.selected,\n 'has-trailing': this.removable,\n 'has-icon': this.hasIcon || this.selected,\n };\n }\n renderPrimaryAction(content) {\n const { ariaLabel } = this;\n return html `\n <button\n class=\"primary action\"\n id=\"button\"\n aria-label=${ariaLabel || nothing}\n aria-pressed=${this.selected}\n aria-disabled=${this.softDisabled || nothing}\n ?disabled=${this.disabled && !this.alwaysFocusable}\n @click=${this.handleClickOnChild}\n >${content}</button\n >\n `;\n }\n renderLeadingIcon() {\n if (!this.selected) {\n return super.renderLeadingIcon();\n }\n return html `\n <slot name=\"selected-icon\">\n <svg class=\"checkmark\" viewBox=\"0 0 18 18\" aria-hidden=\"true\">\n <path\n d=\"M6.75012 12.1274L3.62262 8.99988L2.55762 10.0574L6.75012 14.2499L15.7501 5.24988L14.6926 4.19238L6.75012 12.1274Z\" />\n </svg>\n </slot>\n `;\n }\n renderTrailingAction(focusListener) {\n if (this.removable) {\n return renderRemoveButton({\n focusListener,\n ariaLabel: this.ariaLabelRemove,\n disabled: this.disabled || this.softDisabled,\n });\n }\n return nothing;\n }\n renderOutline() {\n if (this.elevated) {\n return html `<md-elevation part=\"elevation\"></md-elevation>`;\n }\n return super.renderOutline();\n }\n handleClickOnChild(event) {\n if (this.disabled || this.softDisabled) {\n return;\n }\n // Store prevValue to revert in case `chip.selected` is changed during an\n // event listener.\n const prevValue = this.selected;\n this.selected = !this.selected;\n const preventDefault = !redispatchEvent(this, event);\n if (preventDefault) {\n // We should not do `this.selected = !this.selected`, since a client\n // click listener could change its value. Instead, always revert to the\n // original value.\n this.selected = prevValue;\n return;\n }\n }\n}\n__decorate([\n property({ type: Boolean })\n], FilterChip.prototype, \"elevated\", void 0);\n__decorate([\n property({ type: Boolean })\n], FilterChip.prototype, \"removable\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true })\n], FilterChip.prototype, \"selected\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true, attribute: 'has-selected-icon' })\n], FilterChip.prototype, \"hasSelectedIcon\", void 0);\n__decorate([\n query('.primary.action')\n], FilterChip.prototype, \"primaryAction\", void 0);\n__decorate([\n query('.trailing.action')\n], FilterChip.prototype, \"trailingAction\", void 0);\n//# sourceMappingURL=filter-chip.js.map","/**\n * @license\n * Copyright 2024 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./chips/internal/filter-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{--_container-height: var(--md-filter-chip-container-height, 32px);--_disabled-label-text-color: var(--md-filter-chip-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-filter-chip-disabled-label-text-opacity, 0.38);--_elevated-container-elevation: var(--md-filter-chip-elevated-container-elevation, 1);--_elevated-container-shadow-color: var(--md-filter-chip-elevated-container-shadow-color, var(--md-sys-color-shadow, #000));--_elevated-disabled-container-color: var(--md-filter-chip-elevated-disabled-container-color, var(--md-sys-color-on-surface, #1d1b20));--_elevated-disabled-container-elevation: var(--md-filter-chip-elevated-disabled-container-elevation, 0);--_elevated-disabled-container-opacity: var(--md-filter-chip-elevated-disabled-container-opacity, 0.12);--_elevated-focus-container-elevation: var(--md-filter-chip-elevated-focus-container-elevation, 1);--_elevated-hover-container-elevation: var(--md-filter-chip-elevated-hover-container-elevation, 2);--_elevated-pressed-container-elevation: var(--md-filter-chip-elevated-pressed-container-elevation, 1);--_elevated-selected-container-color: var(--md-filter-chip-elevated-selected-container-color, var(--md-sys-color-secondary-container, #e8def8));--_label-text-font: var(--md-filter-chip-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-filter-chip-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-filter-chip-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-filter-chip-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_selected-focus-label-text-color: var(--md-filter-chip-selected-focus-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-label-text-color: var(--md-filter-chip-selected-hover-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-state-layer-color: var(--md-filter-chip-selected-hover-state-layer-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-state-layer-opacity: var(--md-filter-chip-selected-hover-state-layer-opacity, 0.08);--_selected-label-text-color: var(--md-filter-chip-selected-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-pressed-label-text-color: var(--md-filter-chip-selected-pressed-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-pressed-state-layer-color: var(--md-filter-chip-selected-pressed-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_selected-pressed-state-layer-opacity: var(--md-filter-chip-selected-pressed-state-layer-opacity, 0.12);--_elevated-container-color: var(--md-filter-chip-elevated-container-color, var(--md-sys-color-surface-container-low, #f7f2fa));--_disabled-outline-color: var(--md-filter-chip-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity: var(--md-filter-chip-disabled-outline-opacity, 0.12);--_disabled-selected-container-color: var(--md-filter-chip-disabled-selected-container-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-selected-container-opacity: var(--md-filter-chip-disabled-selected-container-opacity, 0.12);--_focus-outline-color: var(--md-filter-chip-focus-outline-color, var(--md-sys-color-on-surface-variant, #49454f));--_outline-color: var(--md-filter-chip-outline-color, var(--md-sys-color-outline, #79747e));--_outline-width: var(--md-filter-chip-outline-width, 1px);--_selected-container-color: var(--md-filter-chip-selected-container-color, var(--md-sys-color-secondary-container, #e8def8));--_selected-outline-width: var(--md-filter-chip-selected-outline-width, 0px);--_focus-label-text-color: var(--md-filter-chip-focus-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-label-text-color: var(--md-filter-chip-hover-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-color: var(--md-filter-chip-hover-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-opacity: var(--md-filter-chip-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-filter-chip-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-label-text-color: var(--md-filter-chip-pressed-label-text-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-color: var(--md-filter-chip-pressed-state-layer-color, var(--md-sys-color-on-secondary-container, #1d192b));--_pressed-state-layer-opacity: var(--md-filter-chip-pressed-state-layer-opacity, 0.12);--_icon-size: var(--md-filter-chip-icon-size, 18px);--_disabled-leading-icon-color: var(--md-filter-chip-disabled-leading-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-leading-icon-opacity: var(--md-filter-chip-disabled-leading-icon-opacity, 0.38);--_selected-focus-leading-icon-color: var(--md-filter-chip-selected-focus-leading-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-leading-icon-color: var(--md-filter-chip-selected-hover-leading-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-leading-icon-color: var(--md-filter-chip-selected-leading-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-pressed-leading-icon-color: var(--md-filter-chip-selected-pressed-leading-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_focus-leading-icon-color: var(--md-filter-chip-focus-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-leading-icon-color: var(--md-filter-chip-hover-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_leading-icon-color: var(--md-filter-chip-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_pressed-leading-icon-color: var(--md-filter-chip-pressed-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_disabled-trailing-icon-color: var(--md-filter-chip-disabled-trailing-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-trailing-icon-opacity: var(--md-filter-chip-disabled-trailing-icon-opacity, 0.38);--_selected-focus-trailing-icon-color: var(--md-filter-chip-selected-focus-trailing-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-hover-trailing-icon-color: var(--md-filter-chip-selected-hover-trailing-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-pressed-trailing-icon-color: var(--md-filter-chip-selected-pressed-trailing-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_selected-trailing-icon-color: var(--md-filter-chip-selected-trailing-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_focus-trailing-icon-color: var(--md-filter-chip-focus-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-trailing-icon-color: var(--md-filter-chip-hover-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-trailing-icon-color: var(--md-filter-chip-pressed-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_trailing-icon-color: var(--md-filter-chip-trailing-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_container-shape-start-start: var(--md-filter-chip-container-shape-start-start, var(--md-filter-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_container-shape-start-end: var(--md-filter-chip-container-shape-start-end, var(--md-filter-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_container-shape-end-end: var(--md-filter-chip-container-shape-end-end, var(--md-filter-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_container-shape-end-start: var(--md-filter-chip-container-shape-end-start, var(--md-filter-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_leading-space: var(--md-filter-chip-leading-space, 16px);--_trailing-space: var(--md-filter-chip-trailing-space, 16px);--_icon-label-space: var(--md-filter-chip-icon-label-space, 8px);--_with-leading-icon-leading-space: var(--md-filter-chip-with-leading-icon-leading-space, 8px);--_with-trailing-icon-trailing-space: var(--md-filter-chip-with-trailing-icon-trailing-space, 8px)}.selected.elevated::before{background:var(--_elevated-selected-container-color)}.checkmark{height:var(--_icon-size);width:var(--_icon-size)}.disabled .checkmark{opacity:var(--_disabled-leading-icon-opacity)}@media(forced-colors: active){.disabled .checkmark{opacity:1}}\n`;\n//# sourceMappingURL=filter-styles.js.map","/**\n * @license\n * Copyright 2024 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./chips/internal/selectable-styles.css.\nimport { css } from 'lit';\nexport const styles = css `.selected{--md-ripple-hover-color: var(--_selected-hover-state-layer-color);--md-ripple-hover-opacity: var(--_selected-hover-state-layer-opacity);--md-ripple-pressed-color: var(--_selected-pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_selected-pressed-state-layer-opacity)}:where(.selected)::before{background:var(--_selected-container-color)}:where(.selected) .outline{border-width:var(--_selected-outline-width)}:where(.selected.disabled)::before{background:var(--_disabled-selected-container-color);opacity:var(--_disabled-selected-container-opacity)}:where(.selected) .label{color:var(--_selected-label-text-color)}:where(.selected:hover) .label{color:var(--_selected-hover-label-text-color)}:where(.selected:focus) .label{color:var(--_selected-focus-label-text-color)}:where(.selected:active) .label{color:var(--_selected-pressed-label-text-color)}:where(.selected) .leading.icon{color:var(--_selected-leading-icon-color)}:where(.selected:hover) .leading.icon{color:var(--_selected-hover-leading-icon-color)}:where(.selected:focus) .leading.icon{color:var(--_selected-focus-leading-icon-color)}:where(.selected:active) .leading.icon{color:var(--_selected-pressed-leading-icon-color)}@media(forced-colors: active){:where(.selected:not(.elevated))::before{border:1px solid CanvasText}:where(.selected) .outline{border-width:1px}}\n`;\n//# sourceMappingURL=selectable-styles.js.map","/**\n * @license\n * Copyright 2024 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./chips/internal/shared-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end);display:inline-flex;height:var(--_container-height);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--md-ripple-hover-color: var(--_hover-state-layer-color);--md-ripple-hover-opacity: var(--_hover-state-layer-opacity);--md-ripple-pressed-color: var(--_pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_pressed-state-layer-opacity)}:host(:is([disabled],[soft-disabled])){pointer-events:none}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_container-height))/2) 0}md-focus-ring{--md-focus-ring-shape-start-start: var(--_container-shape-start-start);--md-focus-ring-shape-start-end: var(--_container-shape-start-end);--md-focus-ring-shape-end-end: var(--_container-shape-end-end);--md-focus-ring-shape-end-start: var(--_container-shape-end-start)}.container{border-radius:inherit;box-sizing:border-box;display:flex;height:100%;position:relative;width:100%}.container::before{border-radius:inherit;content:\"\";inset:0;pointer-events:none;position:absolute}.container:not(.disabled){cursor:pointer}.container.disabled{pointer-events:none}.cell{display:flex}.action{align-items:baseline;appearance:none;background:none;border:none;border-radius:inherit;display:flex;outline:none;padding:0;position:relative;text-decoration:none}.primary.action{min-width:0;padding-inline-start:var(--_leading-space);padding-inline-end:var(--_trailing-space)}.has-icon .primary.action{padding-inline-start:var(--_with-leading-icon-leading-space)}.touch{height:48px;inset:50% 0 0;position:absolute;transform:translateY(-50%);width:100%}:host([touch-target=none]) .touch{display:none}.outline{border:var(--_outline-width) solid var(--_outline-color);border-radius:inherit;inset:0;pointer-events:none;position:absolute}:where(:focus) .outline{border-color:var(--_focus-outline-color)}:where(.disabled) .outline{border-color:var(--_disabled-outline-color);opacity:var(--_disabled-outline-opacity)}md-ripple{border-radius:inherit}.label,.icon,.touch{z-index:1}.label{align-items:center;color:var(--_label-text-color);display:flex;font-family:var(--_label-text-font);font-size:var(--_label-text-size);font-weight:var(--_label-text-weight);height:100%;line-height:var(--_label-text-line-height);overflow:hidden;user-select:none}.label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(:hover) .label{color:var(--_hover-label-text-color)}:where(:focus) .label{color:var(--_focus-label-text-color)}:where(:active) .label{color:var(--_pressed-label-text-color)}:where(.disabled) .label{color:var(--_disabled-label-text-color);opacity:var(--_disabled-label-text-opacity)}.icon{align-self:center;display:flex;fill:currentColor;position:relative}.icon ::slotted(:first-child){font-size:var(--_icon-size);height:var(--_icon-size);width:var(--_icon-size)}.leading.icon{color:var(--_leading-icon-color)}.leading.icon ::slotted(*),.leading.icon svg{margin-inline-end:var(--_icon-label-space)}:where(:hover) .leading.icon{color:var(--_hover-leading-icon-color)}:where(:focus) .leading.icon{color:var(--_focus-leading-icon-color)}:where(:active) .leading.icon{color:var(--_pressed-leading-icon-color)}:where(.disabled) .leading.icon{color:var(--_disabled-leading-icon-color);opacity:var(--_disabled-leading-icon-opacity)}@media(forced-colors: active){:where(.disabled) :is(.label,.outline,.leading.icon){color:GrayText;opacity:1}}a,button{text-transform:inherit}a,button:not(:disabled,[aria-disabled=true]){cursor:inherit}\n`;\n//# sourceMappingURL=shared-styles.js.map","/**\n * @license\n * Copyright 2024 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./chips/internal/trailing-icon-styles.css.\nimport { css } from 'lit';\nexport const styles = css `.trailing.action{align-items:center;justify-content:center;padding-inline-start:var(--_icon-label-space);padding-inline-end:var(--_with-trailing-icon-trailing-space)}.trailing.action :is(md-ripple,md-focus-ring){border-radius:50%;height:calc(1.3333333333*var(--_icon-size));width:calc(1.3333333333*var(--_icon-size))}.trailing.action md-focus-ring{inset:unset}.has-trailing .primary.action{padding-inline-end:0}.trailing.icon{color:var(--_trailing-icon-color);height:var(--_icon-size);width:var(--_icon-size)}:where(:hover) .trailing.icon{color:var(--_hover-trailing-icon-color)}:where(:focus) .trailing.icon{color:var(--_focus-trailing-icon-color)}:where(:active) .trailing.icon{color:var(--_pressed-trailing-icon-color)}:where(.disabled) .trailing.icon{color:var(--_disabled-trailing-icon-color);opacity:var(--_disabled-trailing-icon-opacity)}:where(.selected) .trailing.icon{color:var(--_selected-trailing-icon-color)}:where(.selected:hover) .trailing.icon{color:var(--_selected-hover-trailing-icon-color)}:where(.selected:focus) .trailing.icon{color:var(--_selected-focus-trailing-icon-color)}:where(.selected:active) .trailing.icon{color:var(--_selected-pressed-trailing-icon-color)}@media(forced-colors: active){.trailing.icon{color:ButtonText}:where(.disabled) .trailing.icon{color:GrayText;opacity:1}}\n`;\n//# sourceMappingURL=trailing-icon-styles.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { styles as elevatedStyles } from './internal/elevated-styles.js';\nimport { FilterChip } from './internal/filter-chip.js';\nimport { styles } from './internal/filter-styles.js';\nimport { styles as selectableStyles } from './internal/selectable-styles.js';\nimport { styles as sharedStyles } from './internal/shared-styles.js';\nimport { styles as trailingIconStyles } from './internal/trailing-icon-styles.js';\n/**\n * TODO(b/243982145): add docs\n *\n * @final\n * @suppress {visibility}\n */\nlet MdFilterChip = class MdFilterChip extends FilterChip {\n};\nMdFilterChip.styles = [\n sharedStyles,\n elevatedStyles,\n trailingIconStyles,\n selectableStyles,\n styles,\n];\nMdFilterChip = __decorate([\n customElement('md-filter-chip')\n], MdFilterChip);\nexport { MdFilterChip };\n//# sourceMappingURL=filter-chip.js.map","import '@material/web/chips/chip-set.js'\nimport '@material/web/chips/filter-chip.js'\nimport { TailwindElement } from '@mixins/tailwind.mixin'\nimport { css, html, LitElement } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\n@customElement('schmancy-chip')\nexport default class SchmancyChip extends TailwindElement(css`\n\t/* Allow content to be styled with Tailwind classes */\n\t:host {\n\t\tdisplay: inline-block;\n\t}\n`) {\n\t@property({ type: String, reflect: true })\n\tvalue: string = ''\n\n\t@property({ type: Boolean, reflect: true })\n\tselected: boolean = false\n\n\t@property({ type: String, reflect: true })\n\ticon: string = ''\n\n\t@property({ type: Boolean, reflect: true })\n\treadOnly: boolean = false\n\n\t@property({ type: Boolean, reflect: true })\n\tdisabled: boolean = false\n\n\tconstructor() {\n\t\tsuper()\n\t\ttry {\n\t\t\tthis.internals = this.attachInternals()\n\t\t} catch {\n\t\t\tthis.internals = undefined\n\t\t}\n\t}\n\n\tprotected static shadowRootOptions = {\n\t\t...LitElement.shadowRootOptions,\n\t\tdelegatesFocus: true,\n\t}\n\n\tstatic formAssociated = true\n\tinternals: ElementInternals | undefined\n\tget form() {\n\t\treturn this.internals?.form\n\t}\n\n\tprotected render(): unknown {\n\t\treturn html`\n\t\t\t<md-filter-chip\n\t\t\t\t@click=${() => {\n\t\t\t\t\tif (this.readOnly) {\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t\t// Toggle selection and dispatch a change event\n\t\t\t\t\tthis.selected = !this.selected\n\t\t\t\t\tthis.dispatchEvent(\n\t\t\t\t\t\tnew CustomEvent('change', {\n\t\t\t\t\t\t\tdetail: { value: this.value, selected: this.selected },\n\t\t\t\t\t\t\tbubbles: true,\n\t\t\t\t\t\t}),\n\t\t\t\t\t)\n\t\t\t\t}}\n\t\t\t\t?selected=${this.selected}\n\t\t\t\t?disabled=${this.disabled}\n\t\t\t>\n\t\t\t\t<slot></slot>\n\t\t\t</md-filter-chip>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-chip': SchmancyChip\n\t}\n}\n\nexport type SchmancyChipChangeEvent = { value: string; selected: boolean }\n","import '@material/web/chips/chip-set.js'\nimport '@material/web/chips/filter-chip.js'\nimport { ChipSet } from '@material/web/chips/internal/chip-set'\nimport { $LitElement } from '@mixins/index'\nimport { css, html, PropertyValues } from 'lit'\nimport { customElement, property, query, queryAssignedElements } from 'lit/decorators.js'\nimport SchmancyChip, { SchmancyChipChangeEvent } from './chip'\n\n@customElement('schmancy-chips')\nexport default class SchmancyChips extends $LitElement(css``) {\n\t@query('md-chip-set') chipSet!: ChipSet\n\n\t@property({\n\t\ttype: Boolean,\n\t\treflect: true,\n\t})\n\tmulti = false\n\n\t@property({\n\t\ttype: Array,\n\t\treflect: true,\n\t})\n\tvalues: string[] = []\n\n\t@property({\n\t\ttype: String,\n\t\treflect: true,\n\t})\n\tvalue: string = ''\n\n\t@queryAssignedElements({\n\t\tselector: 'schmancy-chip',\n\t\tflatten: true,\n\t})\n\tchips!: SchmancyChip[]\n\n\t@property({\n\t\ttype: Boolean,\n\t\treflect: true,\n\t})\n\twrap: boolean = true\n\tasync change(e: CustomEvent<SchmancyChipChangeEvent>) {\n\t\te.preventDefault()\n\t\te.stopPropagation()\n\t\tconst { value, selected } = e.detail\n\t\tif (this.multi) {\n\t\t\tif (selected) {\n\t\t\t\tthis.values = [...this.values, value]\n\t\t\t\t// find the chip that was selected\n\t\t\t\tconst chip = this.chips.find(c => c.value === value)\n\t\t\t\t// if it exists, select it\n\t\t\t\tif (chip) chip.selected = true\n\t\t\t} else {\n\t\t\t\tthis.values = this.values.filter(v => v !== value)\n\t\t\t\t// find the chip that was deselected\n\t\t\t\tconst chip = this.chips.find(c => c.value === value)\n\t\t\t\t// if it exists, deselect it\n\t\t\t\tif (chip) chip.selected = false\n\t\t\t}\n\t\t\tthis.requestUpdate()\n\t\t} else {\n\t\t\tconst { value, selected } = e.detail\n\t\t\tthis.value = selected ? value : ''\n\t\t\tconst chip = this.chips.find(c => c.value === value)\n\t\t\tif (selected) chip.selected = selected\n\t\t\telse chip.selected = false\n\t\t\t// deselect all other chips\n\t\t\tthis.chips.forEach(c => {\n\t\t\t\tif (this.value && this.value === c.value) c.selected = true\n\t\t\t\telse c.selected = false\n\t\t\t})\n\t\t\tthis.requestUpdate()\n\t\t}\n\t\tthis.dispatchEvent(\n\t\t\tnew CustomEvent<SchmancyChipsChangeEvent>('change', {\n\t\t\t\tdetail: this.multi ? this.values : this.value,\n\t\t\t\tbubbles: true,\n\t\t\t}),\n\t\t)\n\t}\n\n\tprotected firstUpdated(_changedProperties: PropertyValues): void {\n\t\tsuper.firstUpdated(_changedProperties)\n\t\tthis.hydrateTabs()\n\t}\n\n\t// attribute changes\n\t// when values change, update the selected chips\n\tattributeChangedCallback(name: string, old: string, value: string): void {\n\t\tsuper.attributeChangedCallback(name, old, value)\n\t\tif (name === 'values') {\n\t\t\tthis.hydrateTabs()\n\t\t} else if (name === 'value') {\n\t\t\tthis.hydrateTabs()\n\t\t}\n\t}\n\n\thydrateTabs() {\n\t\tthis.chips.forEach(chip => {\n\t\t\tif (this.multi) {\n\t\t\t\tif (this.values.includes(chip.value)) chip.selected = true\n\t\t\t\telse chip.selected = false\n\t\t\t} else {\n\t\t\t\tif (this.value === chip.value) chip.selected = true\n\t\t\t\telse chip.selected = false\n\t\t\t}\n\t\t})\n\t}\n\n\tprotected render(): unknown {\n\t\tconst styles = {\n\t\t\t'flex-wrap': this.wrap ? 'wrap' : 'nowrap',\n\t\t}\n\t\treturn html`<md-chip-set style=${this.styleMap(styles)} @change=${this.change}>\n\t\t\t<slot @slotchange=${() => this.hydrateTabs()}></slot>\n\t\t</md-chip-set>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-chips': SchmancyChips\n\t}\n}\nexport type SchmancyChipsChangeEvent = string | Array<string>\n"],"names":["chipBaseClass","mixinDelegatesAria","LitElement","Chip","rippleDisabled","this","disabled","softDisabled","constructor","super","alwaysFocusable","label","hasIcon","isServer","addEventListener","handleClick","bind","options","focus","render","html","classMap","getContainerClasses","renderContainerContent","changed","has","get","dispatchEvent","Event","bubbles","renderOutline","primaryId","renderPrimaryAction","renderPrimaryContent","renderLeadingIcon","handleIconChange","event","slot","target","assignedElements","flatten","length","stopImmediatePropagation","preventDefault","shadowRootOptions","delegatesFocus","__decorate","property","type","Boolean","reflect","prototype","attribute","ChipSet","chips","childElements","filter","child","internals","attachInternals","updateTabIndices","handleKeyDown","role","isLeft","key","isRight","isHome","isEnd","trailing","forwards","getComputedStyle","direction","focusedChip","find","chip","matches","currentIndex","indexOf","nextIndex","nextChip","chipToFocus","isChipFocusable","tabIndex","queryAssignedElements","styles","css","MdChipSet","customElement","Elevation","connectedCallback","setAttribute","MdElevation","ARIA_LABEL_REMOVE","MultiActionChip","ariaLabelRemove","hasAttribute","getAttribute","ariaLabel","removeAttribute","requestUpdate","handleTrailingActionFocus","trailingAction","renderTrailingAction","primaryAction","isPrimaryFocused","isTrailingFocused","stopPropagation","once","renderRemoveButton","focusListener","tabbable","nothing","handleRemoveClick","cancelable","remove","FilterChip","arguments","elevated","removable","selected","hasSelectedIcon","content","handleClickOnChild","prevValue","redispatchEvent","query","MdFilterChip","sharedStyles","elevatedStyles","trailingIconStyles","selectableStyles","SchmancyChip","TailwindElement","value","icon","readOnly","form","CustomEvent","detail","formAssociated","__decorateClass","String","SchmancyChips","$LitElement","multi","values","wrap","e","c","v","forEach","_changedProperties","firstUpdated","hydrateTabs","name","old","attributeChangedCallback","includes","styleMap","change","Array","selector"],"mappings":";;;;;;;;;AAaA,MAAMA,IAAgBC,EAAmBC,CAAAA;AAMlC,MAAMC,UAAaH,EAAAA;AAAAA,EAKtB,qBAAII;AACA,WAAOC,KAAKC,YAAYD,KAAKE;AAAAA,EACjC;AAAA,EACA,cAAAC;AACIC,UAAAA,GAMAJ,KAAKC,WAAAA,IASLD,KAAKE,eAAAA,IAULF,KAAKK,kBAAAA,IAOLL,KAAKM,QAAQ,IAObN,KAAKO,cACAC,KACDR,KAAKS,iBAAiB,SAAST,KAAKU,YAAYC,KAAKX,IAAAA,CAAAA;AAAAA,EAE7D;AAAA,EACA,MAAMY;AACEZ,SAAKC,YAAAA,CAAaD,KAAKK,mBAG3BD,MAAMS,MAAMD,CAAAA;AAAAA,EAChB;AAAA,EACA,SAAAE;AACI,WAAOC;AAAAA,8BACeC,EAAShB,KAAKiB,oBAAAA,CAAAA,CAAAA;AAAAA,UAClCjB,KAAKkB,uBAAAA,CAAA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U4F,EAOpB3F,WAAA,SAAA,CAAA,GAMAyF,EAAA,CAJC7F,EAAS,EACTC,MAAMgH,OACN9G,SAAAA,GAAS,CAAA,CAAA,GAXU4F,EAapB3F,WAAA,UAAA,CAAA,GAMAyF,EAAA,CAJC7F,EAAS,EACTC,MAAM6F,QACN3F,SAAAA,GAAS,CAAA,CAAA,GAjBU4F,EAmBpB3F,WAAA,SAAA,CAAA,GAMAyF,EAAA,CAJCzD,EAAsB,EACtB8E,UAAU,iBACVzH,SAAAA,GAAS,CAAA,CAAA,GAvBUsG,EAyBpB3F,WAAA,SAAA,CAAA,GAMAyF,EAAA,CAJC7F,EAAS,EACTC,MAAMC,SACNC,SAAAA,GAAS,CAAA,CAAA,GA7BU4F,EA+BpB3F,WAAA,QAAA,CAAA,GA/BoB2F,IAArBF,EAAA,CADCrD,EAAc,gBAAA,CAAA,GACMuD,CAAAA;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]}
|
package/dist/icon-B0JNrBfq.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import "rxjs";
|
|
2
|
-
import "lit/directives/class-map.js";
|
|
3
|
-
import "lit/directives/style-map.js";
|
|
4
|
-
import { T as c } from "./tailwind.mixin-B6ADeWOc.js";
|
|
5
|
-
import { property as m, state as p, customElement as h } from "lit/decorators.js";
|
|
6
|
-
import { css as y, html as d } from "lit";
|
|
7
|
-
var f = Object.defineProperty, u = Object.getOwnPropertyDescriptor, a = (t, s, r, i) => {
|
|
8
|
-
for (var o, e = i > 1 ? void 0 : i ? u(s, r) : s, l = t.length - 1; l >= 0; l--) (o = t[l]) && (e = (i ? o(s, r, e) : o(e)) || e);
|
|
9
|
-
return i && e && f(s, r, e), e;
|
|
10
|
-
};
|
|
11
|
-
let n = class extends c(y`
|
|
12
|
-
.material-symbols-outlined {
|
|
13
|
-
font-family: 'Material Symbols Outlined';
|
|
14
|
-
font-weight: normal;
|
|
15
|
-
font-style: normal;
|
|
16
|
-
line-height: 1;
|
|
17
|
-
letter-spacing: normal;
|
|
18
|
-
text-transform: none;
|
|
19
|
-
display: inline-block;
|
|
20
|
-
white-space: nowrap;
|
|
21
|
-
word-wrap: normal;
|
|
22
|
-
direction: ltr;
|
|
23
|
-
-webkit-font-smoothing: antialiased;
|
|
24
|
-
font-variation-settings:
|
|
25
|
-
'FILL' 0,
|
|
26
|
-
'wght' 400,
|
|
27
|
-
'GRAD' 0,
|
|
28
|
-
'opsz' 24;
|
|
29
|
-
}
|
|
30
|
-
:host {
|
|
31
|
-
display: inline-flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
justify-content: center;
|
|
34
|
-
}
|
|
35
|
-
`) {
|
|
36
|
-
constructor() {
|
|
37
|
-
super(...arguments), this.size = "24px", this.busy = !1;
|
|
38
|
-
}
|
|
39
|
-
connectedCallback() {
|
|
40
|
-
if (super.connectedCallback(), !document.head.querySelector("#material-icons")) {
|
|
41
|
-
let t = document.createElement("link", { is: "material-icons" });
|
|
42
|
-
t.rel = "stylesheet", t.id = "material-icons", t.href = "https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200", document.querySelector("head")?.append(t), this.busy = !1;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
render() {
|
|
46
|
-
const t = { fontSize: this.size, width: this.size, height: this.size, lineHeight: "1", display: "flex", alignItems: "center", justifyContent: "center" };
|
|
47
|
-
return d`
|
|
48
|
-
<span class="material-symbols-outlined w-fit" style=${this.styleMap(t)}>
|
|
49
|
-
<slot .hidden=${this.busy}></slot>
|
|
50
|
-
</span>
|
|
51
|
-
`;
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
a([m({ type: String, reflect: !0 })], n.prototype, "size", 2), a([p()], n.prototype, "busy", 2), n = a([h("schmancy-icon")], n);
|
|
55
|
-
//# sourceMappingURL=icon-B0JNrBfq.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icon-B0JNrBfq.js","sources":["../src/icons/icon.ts"],"sourcesContent":["import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement, property, state } from 'lit/decorators.js'\n\n/**\n * @element schmancy-icon\n * Material Symbols icon component with configurable size\n */\n@customElement('schmancy-icon')\nexport default class SchmancyIcon extends TailwindElement(css`\n\t.material-symbols-outlined {\n\t\tfont-family: 'Material Symbols Outlined';\n\t\tfont-weight: normal;\n\t\tfont-style: normal;\n\t\tline-height: 1;\n\t\tletter-spacing: normal;\n\t\ttext-transform: none;\n\t\tdisplay: inline-block;\n\t\twhite-space: nowrap;\n\t\tword-wrap: normal;\n\t\tdirection: ltr;\n\t\t-webkit-font-smoothing: antialiased;\n\t\tfont-variation-settings:\n\t\t\t'FILL' 0,\n\t\t\t'wght' 400,\n\t\t\t'GRAD' 0,\n\t\t\t'opsz' 24;\n\t}\n\t:host {\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t}\n`) {\n\t/**\n\t * Icon size - can be specified in any CSS unit (px, rem, em, etc.)\n\t * Default is 24px\n\t */\n\t@property({ type: String, reflect: true })\n\tsize: string = '24px'\n\n\t@state() busy = false\n\n\tconnectedCallback(): void {\n\t\tsuper.connectedCallback()\n\t\tif (!document.head.querySelector('#material-icons')) {\n\t\t\tlet link = document.createElement('link', {\n\t\t\t\tis: 'material-icons',\n\t\t\t})\n\t\t\tlink.rel = 'stylesheet'\n\t\t\tlink.id = 'material-icons'\n\t\t\tlink.href =\n\t\t\t\t'https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200'\n\t\t\tdocument.querySelector('head')?.append(link)\n\t\t\tthis.busy = false\n\t\t}\n\t}\n\n\tprotected render(): unknown {\n\t\t// Ensure size is respected and properly applied\n\t\tconst style = {\n\t\t\tfontSize: this.size,\n\t\t\twidth: this.size,\n\t\t\theight: this.size,\n\t\t\tlineHeight: '1',\n\t\t\tdisplay: 'flex',\n\t\t\talignItems: 'center',\n\t\t\tjustifyContent: 'center',\n\t\t}\n\n\t\treturn html`\n\t\t\t<span class=\"material-symbols-outlined w-fit\" style=${this.styleMap(style)}>\n\t\t\t\t<slot .hidden=${this.busy}></slot>\n\t\t\t</span>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-icon': SchmancyIcon\n\t}\n}"],"names":["SchmancyIcon","TailwindElement","css","constructor","super","arguments","this","size","busy","connectedCallback","document","head","querySelector","link","createElement","is","rel","id","href","append","render","style","fontSize","width","height","lineHeight","display","alignItems","justifyContent","html","styleMap","__decorateClass","property","type","String","reflect","prototype","state","customElement"],"mappings":";;;;;;;;;;AASA,IAAqBA,IAArB,cAA0CC,EAAgBC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAA1D,EAAA;AAAA,EAAA,cAAAC;AAAAC,UAAAA,GAAAC,SAAAA,GA8BCC,KAAAC,OAAe,QAEND,KAAAE,OAAAA;AAAAA,EAAO;AAAA,EAEhB,oBAAAC;AAEC,QADAL,MAAMK,kBAAAA,GAAAA,CACDC,SAASC,KAAKC,cAAc,iBAAA,GAAoB;AACpD,UAAIC,IAAOH,SAASI,cAAc,QAAQ,EACzCC,IAAI;AAELF,QAAKG,MAAM,cACXH,EAAKI,KAAK,kBACVJ,EAAKK,OACJ,wHACDR,SAASE,cAAc,MAAA,GAASO,OAAON,IACvCP,KAAKE,OAAAA;AAAAA,IACN;AAAA,EACD;AAAA,EAEU,SAAAY;AAET,UAAMC,IAAQ,EACbC,UAAUhB,KAAKC,MACfgB,OAAOjB,KAAKC,MACZiB,QAAQlB,KAAKC,MACbkB,YAAY,KACZC,SAAS,QACTC,YAAY,UACZC,gBAAgB,SAAA;AAGjB,WAAOC;AAAAA,yDACgDvB,KAAKwB,SAAST,CAAAA,CAAAA;AAAAA,oBACnDf,KAAKE,IAAAA;AAAAA;AAAAA;AAAAA,EAGxB;AAAA;AApCAuB,EAAA,CADCC,EAAS,EAAEC,MAAMC,QAAQC,SAAAA,GAAS,CAAA,CAAA,GA7BfnC,EA8BpBoC,WAAA,QAAA,IAESL,EAAA,CAARM,EAAAA,CAAAA,GAhCmBrC,EAgCXoC,WAAA,QAAA,IAhCWpC,IAArB+B,EAAA,CADCO,EAAc,eAAA,CAAA,GACMtC,CAAAA;"}
|
package/dist/icon-DY2pBLIU.cjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";require("rxjs"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js");const h=require("./tailwind.mixin-df9KoZ9x.cjs"),a=require("lit/decorators.js"),m=require("lit");var p=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=(e,i,r,s)=>{for(var l,t=s>1?void 0:s?u(i,r):i,o=e.length-1;o>=0;o--)(l=e[o])&&(t=(s?l(i,r,t):l(t))||t);return s&&t&&p(i,r,t),t};let n=class extends h.TailwindElement(m.css`
|
|
2
|
-
.material-symbols-outlined {
|
|
3
|
-
font-family: 'Material Symbols Outlined';
|
|
4
|
-
font-weight: normal;
|
|
5
|
-
font-style: normal;
|
|
6
|
-
line-height: 1;
|
|
7
|
-
letter-spacing: normal;
|
|
8
|
-
text-transform: none;
|
|
9
|
-
display: inline-block;
|
|
10
|
-
white-space: nowrap;
|
|
11
|
-
word-wrap: normal;
|
|
12
|
-
direction: ltr;
|
|
13
|
-
-webkit-font-smoothing: antialiased;
|
|
14
|
-
font-variation-settings:
|
|
15
|
-
'FILL' 0,
|
|
16
|
-
'wght' 400,
|
|
17
|
-
'GRAD' 0,
|
|
18
|
-
'opsz' 24;
|
|
19
|
-
}
|
|
20
|
-
:host {
|
|
21
|
-
display: inline-flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
justify-content: center;
|
|
24
|
-
}
|
|
25
|
-
`){constructor(){super(...arguments),this.size="24px",this.busy=!1}connectedCallback(){if(super.connectedCallback(),!document.head.querySelector("#material-icons")){let e=document.createElement("link",{is:"material-icons"});e.rel="stylesheet",e.id="material-icons",e.href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200",document.querySelector("head")?.append(e),this.busy=!1}}render(){const e={fontSize:this.size,width:this.size,height:this.size,lineHeight:"1",display:"flex",alignItems:"center",justifyContent:"center"};return m.html`
|
|
26
|
-
<span class="material-symbols-outlined w-fit" style=${this.styleMap(e)}>
|
|
27
|
-
<slot .hidden=${this.busy}></slot>
|
|
28
|
-
</span>
|
|
29
|
-
`}};c([a.property({type:String,reflect:!0})],n.prototype,"size",2),c([a.state()],n.prototype,"busy",2),n=c([a.customElement("schmancy-icon")],n);
|
|
30
|
-
//# sourceMappingURL=icon-DY2pBLIU.cjs.map
|