@mhmo91/schmancy 0.4.94 → 0.4.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{animated-text-BLDqQ33G.js → animated-text-B1DKGEyL.js} +3 -3
- package/dist/{animated-text-BLDqQ33G.js.map → animated-text-B1DKGEyL.js.map} +1 -1
- package/dist/{animated-text-CIgDmUF0.cjs → animated-text-DBRSI9xt.cjs} +2 -2
- package/dist/{animated-text-CIgDmUF0.cjs.map → animated-text-DBRSI9xt.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.component-DA4tYUkZ.cjs +12 -0
- package/dist/area.component-DA4tYUkZ.cjs.map +1 -0
- package/dist/area.component-DbHc6U3D.js +320 -0
- package/dist/area.component-DbHc6U3D.js.map +1 -0
- package/dist/area.js +1 -1
- package/dist/{autocomplete-35wx4zfo.cjs → autocomplete-BFN4UGNs.cjs} +2 -2
- package/dist/{autocomplete-35wx4zfo.cjs.map → autocomplete-BFN4UGNs.cjs.map} +1 -1
- package/dist/{autocomplete-DMbJLodc.js → autocomplete-DpZQqAGm.js} +3 -3
- package/dist/{autocomplete-DMbJLodc.js.map → autocomplete-DpZQqAGm.js.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-BqGZ5lKc.js → avatar-BGzMoyIf.js} +48 -48
- package/dist/{avatar-BqGZ5lKc.js.map → avatar-BGzMoyIf.js.map} +1 -1
- package/dist/{avatar-UnP-o7T9.cjs → avatar-C-SwQh5Z.cjs} +2 -2
- package/dist/{avatar-UnP-o7T9.cjs.map → avatar-C-SwQh5Z.cjs.map} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-PVy1fXfm.js → boat-C6oKTIlM.js} +2 -2
- package/dist/{boat-PVy1fXfm.js.map → boat-C6oKTIlM.js.map} +1 -1
- package/dist/{boat-zVJF22wK.cjs → boat-CsVNMu2n.cjs} +2 -2
- package/dist/{boat-zVJF22wK.cjs.map → boat-CsVNMu2n.cjs.map} +1 -1
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-BtZqKgPT.cjs → checkbox-B5XA1Ugc.cjs} +2 -2
- package/dist/{checkbox-BtZqKgPT.cjs.map → checkbox-B5XA1Ugc.cjs.map} +1 -1
- package/dist/{checkbox-DAFDBz7J.js → checkbox-DSW62smU.js} +2 -2
- package/dist/{checkbox-DAFDBz7J.js.map → checkbox-DSW62smU.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-BRigd0oB.cjs → chips-BWSXmedd.cjs} +108 -30
- package/dist/chips-BWSXmedd.cjs.map +1 -0
- package/dist/{chips-BnA6mVWq.js → chips-DIoIf1ND.js} +159 -81
- package/dist/chips-DIoIf1ND.js.map +1 -0
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +1 -1
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-CUc2NHQu.js → code-preview-8XQAR_rg.js} +2 -2
- package/dist/{code-preview-CUc2NHQu.js.map → code-preview-8XQAR_rg.js.map} +1 -1
- package/dist/{code-preview-BYWzA52m.cjs → code-preview-U3CqjP3A.cjs} +2 -2
- package/dist/{code-preview-BYWzA52m.cjs.map → code-preview-U3CqjP3A.cjs.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{date-range-DhWbY9Ph.cjs → date-range-1smHimq3.cjs} +2 -2
- package/dist/{date-range-DhWbY9Ph.cjs.map → date-range-1smHimq3.cjs.map} +1 -1
- package/dist/{date-range-DFNdMN6p.js → date-range-Bgr1ok1D.js} +3 -3
- package/dist/{date-range-DFNdMN6p.js.map → date-range-Bgr1ok1D.js.map} +1 -1
- package/dist/{date-range-inline-xh0mrWH9.js → date-range-inline-7g5AJrua.js} +3 -3
- package/dist/{date-range-inline-xh0mrWH9.js.map → date-range-inline-7g5AJrua.js.map} +1 -1
- package/dist/{date-range-inline-FiCLIta4.cjs → date-range-inline-DyGBs-PG.cjs} +2 -2
- package/dist/{date-range-inline-FiCLIta4.cjs.map → date-range-inline-DyGBs-PG.cjs.map} +1 -1
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-BTRy2v5H.js → delay-CtF14hCc.js} +2 -2
- package/dist/{delay-BTRy2v5H.js.map → delay-CtF14hCc.js.map} +1 -1
- package/dist/{delay-dCLgp1B7.cjs → delay-R0ZUrPTI.cjs} +2 -2
- package/dist/{delay-dCLgp1B7.cjs.map → delay-R0ZUrPTI.cjs.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-Bf0qMDKW.cjs → details-CudVyRmo.cjs} +2 -2
- package/dist/{details-Bf0qMDKW.cjs.map → details-CudVyRmo.cjs.map} +1 -1
- package/dist/{details-BsmaD0yr.js → details-DDhUTFpC.js} +2 -2
- package/dist/{details-BsmaD0yr.js.map → details-DDhUTFpC.js.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-0w0WQYF3.cjs → dialog-content-D1aMHnPF.cjs} +2 -2
- package/dist/{dialog-content-0w0WQYF3.cjs.map → dialog-content-D1aMHnPF.cjs.map} +1 -1
- package/dist/{dialog-content-r1Ai3BZj.js → dialog-content-DZ5VUwBo.js} +3 -3
- package/dist/{dialog-content-r1Ai3BZj.js.map → dialog-content-DZ5VUwBo.js.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/{divider-BPsLFNzK.js → divider-Dn6brh7T.js} +3 -3
- package/dist/{divider-BPsLFNzK.js.map → divider-Dn6brh7T.js.map} +1 -1
- package/dist/{divider-CYPKRC_-.cjs → divider-PDyRDKLg.cjs} +2 -2
- package/dist/{divider-CYPKRC_-.cjs.map → divider-PDyRDKLg.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-DelDUcfW.cjs → dropdown-content-4VFUPSIJ.cjs} +2 -2
- package/dist/{dropdown-content-DelDUcfW.cjs.map → dropdown-content-4VFUPSIJ.cjs.map} +1 -1
- package/dist/{dropdown-content-B51-eGbI.js → dropdown-content-Cgj5pA_r.js} +3 -3
- package/dist/{dropdown-content-B51-eGbI.js.map → dropdown-content-Cgj5pA_r.js.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-BlSATi3L.cjs → email-recipients-CWuZ6PTF.cjs} +2 -2
- package/dist/{email-recipients-BlSATi3L.cjs.map → email-recipients-CWuZ6PTF.cjs.map} +1 -1
- package/dist/{email-recipients-hkvv_vgI.js → email-recipients-DWMc4Kbm.js} +5 -5
- package/dist/{email-recipients-hkvv_vgI.js.map → email-recipients-DWMc4Kbm.js.map} +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-_K-5RVZM.cjs → flex-BNyBqVQE.cjs} +2 -2
- package/dist/{flex-_K-5RVZM.cjs.map → flex-BNyBqVQE.cjs.map} +1 -1
- package/dist/{flex-BDtCUg0s.js → flex-D7uKo3cp.js} +2 -2
- package/dist/{flex-BDtCUg0s.js.map → flex-D7uKo3cp.js.map} +1 -1
- package/dist/{form-BTmhZIB8.js → form-B1eDJoVW.js} +2 -2
- package/dist/{form-BTmhZIB8.js.map → form-B1eDJoVW.js.map} +1 -1
- package/dist/{form-jw1NVkyp.cjs → form-Cl1dBHEC.cjs} +2 -2
- package/dist/{form-jw1NVkyp.cjs.map → form-Cl1dBHEC.cjs.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-D_1WwNWJ.js → formField.mixin-CVgvtBxj.js} +2 -2
- package/dist/{formField.mixin-D_1WwNWJ.js.map → formField.mixin-CVgvtBxj.js.map} +1 -1
- package/dist/{formField.mixin-HN79lSIE.cjs → formField.mixin-UB5HVdDM.cjs} +2 -2
- package/dist/{formField.mixin-HN79lSIE.cjs.map → formField.mixin-UB5HVdDM.cjs.map} +1 -1
- package/dist/{icon-pFAWVSGq.cjs → icon-6lRY13IZ.cjs} +2 -2
- package/dist/{icon-pFAWVSGq.cjs.map → icon-6lRY13IZ.cjs.map} +1 -1
- package/dist/{icon-Clqcexag.js → icon-Bxm8o8R4.js} +2 -2
- package/dist/{icon-Clqcexag.js.map → icon-Bxm8o8R4.js.map} +1 -1
- package/dist/{icon-button-Bu_eEqfk.js → icon-button-B4fsinj2.js} +3 -3
- package/dist/{icon-button-Bu_eEqfk.js.map → icon-button-B4fsinj2.js.map} +1 -1
- package/dist/{icon-button-M5CqyRR4.cjs → icon-button-B9Xckdkv.cjs} +2 -2
- package/dist/{icon-button-M5CqyRR4.cjs.map → icon-button-B9Xckdkv.cjs.map} +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +47 -47
- package/dist/{input-CWOVMdSb.cjs → input-BJ73v2t7.cjs} +2 -2
- package/dist/{input-CWOVMdSb.cjs.map → input-BJ73v2t7.cjs.map} +1 -1
- package/dist/{input-CFlQ_9Cq.js → input-BrFENpX9.js} +3 -3
- package/dist/{input-CFlQ_9Cq.js.map → input-BrFENpX9.js.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-rmfIuWZK.js → list-B11MYVeT.js} +2 -2
- package/dist/{list-rmfIuWZK.js.map → list-B11MYVeT.js.map} +1 -1
- package/dist/{list-CDXL73JQ.cjs → list-Cr5bjF_6.cjs} +2 -2
- package/dist/{list-CDXL73JQ.cjs.map → list-Cr5bjF_6.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-YJ8D9a8Z.cjs → litElement.mixin-BnXm63YO.cjs} +2 -2
- package/dist/{litElement.mixin-YJ8D9a8Z.cjs.map → litElement.mixin-BnXm63YO.cjs.map} +1 -1
- package/dist/{litElement.mixin-Dm9SOPDp.js → litElement.mixin-CAQ8pH9g.js} +2 -2
- package/dist/{litElement.mixin-Dm9SOPDp.js.map → litElement.mixin-CAQ8pH9g.js.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-DQwGv46m.cjs → map-C89AQAh-.cjs} +2 -2
- package/dist/{map-DQwGv46m.cjs.map → map-C89AQAh-.cjs.map} +1 -1
- package/dist/{map-BfP3ZVm_.js → map-CPaDh0fK.js} +2 -2
- package/dist/{map-BfP3ZVm_.js.map → map-CPaDh0fK.js.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{media-B28J9yez.js → media-BvEF-HzD.js} +2 -2
- package/dist/{media-B28J9yez.js.map → media-BvEF-HzD.js.map} +1 -1
- package/dist/{media-DtYChqKs.cjs → media-v4K8T9FY.cjs} +2 -2
- package/dist/{media-DtYChqKs.cjs.map → media-v4K8T9FY.cjs.map} +1 -1
- package/dist/{menu-jcodrTEA.cjs → menu-9KPQvqqI.cjs} +2 -2
- package/dist/{menu-jcodrTEA.cjs.map → menu-9KPQvqqI.cjs.map} +1 -1
- package/dist/{menu-C0iTDVTM.js → menu-BL-7oqJ9.js} +3 -3
- package/dist/{menu-C0iTDVTM.js.map → menu-BL-7oqJ9.js.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/{notification-service-CD-XzDeP.cjs → notification-service-7NEpiPIR.cjs} +2 -2
- package/dist/{notification-service-CD-XzDeP.cjs.map → notification-service-7NEpiPIR.cjs.map} +1 -1
- package/dist/{notification-service-BIH173dS.js → notification-service-BwM5HMaj.js} +4 -4
- package/dist/{notification-service-BIH173dS.js.map → notification-service-BwM5HMaj.js.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-4u_P6A9W.js → notify-BHmCE9I3.js} +2 -2
- package/dist/{notify-4u_P6A9W.js.map → notify-BHmCE9I3.js.map} +1 -1
- package/dist/{notify-C95rxXiW.cjs → notify-DLSWAUcA.cjs} +2 -2
- package/dist/{notify-C95rxXiW.cjs.map → notify-DLSWAUcA.cjs.map} +1 -1
- package/dist/{option-D-Itfwmu.cjs → option-C4G7DGtI.cjs} +2 -2
- package/dist/{option-D-Itfwmu.cjs.map → option-C4G7DGtI.cjs.map} +1 -1
- package/dist/{option-CTkTl7Pz.js → option-CRw6_dXY.js} +2 -2
- package/dist/{option-CTkTl7Pz.js.map → option-CRw6_dXY.js.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-HQsOp4z5.cjs → payment-card-form-BzGdWKH-.cjs} +2 -2
- package/dist/{payment-card-form-HQsOp4z5.cjs.map → payment-card-form-BzGdWKH-.cjs.map} +1 -1
- package/dist/{payment-card-form-DcipYS1-.js → payment-card-form-D-MHQCM7.js} +3 -3
- package/dist/{payment-card-form-DcipYS1-.js.map → payment-card-form-D-MHQCM7.js.map} +1 -1
- package/dist/{progress-B3Q1qs5e.cjs → progress-Bkugth6y.cjs} +2 -2
- package/dist/{progress-B3Q1qs5e.cjs.map → progress-Bkugth6y.cjs.map} +1 -1
- package/dist/{progress-zOZKeIA7.js → progress-BuYkNiju.js} +2 -2
- package/dist/{progress-zOZKeIA7.js.map → progress-BuYkNiju.js.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-C4TI0v9W.js → radio-button-CokLuIqN.js} +3 -3
- package/dist/{radio-button-C4TI0v9W.js.map → radio-button-CokLuIqN.js.map} +1 -1
- package/dist/{radio-button-COzEX5Ar.cjs → radio-button-DCKG8p75.cjs} +2 -2
- package/dist/{radio-button-COzEX5Ar.cjs.map → radio-button-DCKG8p75.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-DC6Ca6-A.js → schmancy-steps-container-2gQqGQwB.js} +2 -2
- package/dist/{schmancy-steps-container-DC6Ca6-A.js.map → schmancy-steps-container-2gQqGQwB.js.map} +1 -1
- package/dist/{schmancy-steps-container-DfzodwEn.cjs → schmancy-steps-container-xIqWhNoQ.cjs} +2 -2
- package/dist/{schmancy-steps-container-DfzodwEn.cjs.map → schmancy-steps-container-xIqWhNoQ.cjs.map} +1 -1
- package/dist/{select-wUk1qE31.cjs → select-BTIUXOs_.cjs} +2 -2
- package/dist/{select-wUk1qE31.cjs.map → select-BTIUXOs_.cjs.map} +1 -1
- package/dist/{select-Br2sY6MK.js → select-Dj-oLKFF.js} +3 -3
- package/dist/{select-Br2sY6MK.js.map → select-Dj-oLKFF.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-D3RmdvbL.cjs → sheet-BiElPoDB.cjs} +2 -2
- package/dist/{sheet-D3RmdvbL.cjs.map → sheet-BiElPoDB.cjs.map} +1 -1
- package/dist/{sheet-BjJdVvvp.js → sheet-DHy5-DkZ.js} +3 -3
- package/dist/{sheet-BjJdVvvp.js.map → sheet-DHy5-DkZ.js.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-XoN7Z9iO.cjs → slider-CwX-MWmI.cjs} +2 -2
- package/dist/{slider-XoN7Z9iO.cjs.map → slider-CwX-MWmI.cjs.map} +1 -1
- package/dist/{slider-Dgwlzvr-.js → slider-FixLgBPB.js} +3 -3
- package/dist/{slider-Dgwlzvr-.js.map → slider-FixLgBPB.js.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-D9l0j12i.cjs → spinner-Cm2yObux.cjs} +2 -2
- package/dist/{spinner-D9l0j12i.cjs.map → spinner-Cm2yObux.cjs.map} +1 -1
- package/dist/{spinner-e06PNB2u.js → spinner-NR-WnRIj.js} +2 -2
- package/dist/{spinner-e06PNB2u.js.map → spinner-NR-WnRIj.js.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-BgLZnRcp.cjs → surface-BbQxucUq.cjs} +2 -2
- package/dist/{surface-BgLZnRcp.cjs.map → surface-BbQxucUq.cjs.map} +1 -1
- package/dist/{surface-trk3Zpii.js → surface-Bygc4Pkm.js} +2 -2
- package/dist/{surface-trk3Zpii.js.map → surface-Bygc4Pkm.js.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-BfFAQg7K.js → table--xC1C9bV.js} +2 -2
- package/dist/{table-BfFAQg7K.js.map → table--xC1C9bV.js.map} +1 -1
- package/dist/{table-g0Wsm45r.cjs → table-D-GttRq4.cjs} +2 -2
- package/dist/{table-g0Wsm45r.cjs.map → table-D-GttRq4.cjs.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-FkpvGEG3.cjs → tabs-compatibility-CdydM7pv.cjs} +2 -2
- package/dist/{tabs-compatibility-FkpvGEG3.cjs.map → tabs-compatibility-CdydM7pv.cjs.map} +1 -1
- package/dist/{tabs-compatibility-D1RfuRqZ.js → tabs-compatibility-Dj58Mdjp.js} +2 -2
- package/dist/{tabs-compatibility-D1RfuRqZ.js.map → tabs-compatibility-Dj58Mdjp.js.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-DRrIaNCZ.js +43 -0
- package/dist/{tailwind.mixin-CPuO9c5y.js.map → tailwind.mixin-DRrIaNCZ.js.map} +1 -1
- package/dist/tailwind.mixin-DvXzFSLc.cjs +2 -0
- package/dist/{tailwind.mixin-Cb-fyJ_y.cjs.map → tailwind.mixin-DvXzFSLc.cjs.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-U-fvfv2M.js → textarea-8OzsuUGm.js} +2 -2
- package/dist/{textarea-U-fvfv2M.js.map → textarea-8OzsuUGm.js.map} +1 -1
- package/dist/{textarea-DBKIOjBp.cjs → textarea-BxmPIhSX.cjs} +2 -2
- package/dist/{textarea-DBKIOjBp.cjs.map → textarea-BxmPIhSX.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-CnWM9ZCv.js → theme-button-CKBPOL_F.js} +2 -2
- package/dist/{theme-button-CnWM9ZCv.js.map → theme-button-CKBPOL_F.js.map} +1 -1
- package/dist/{theme-button-C-6Y_Mib.cjs → theme-button-EkMBPnXv.cjs} +2 -2
- package/dist/{theme-button-C-6Y_Mib.cjs.map → theme-button-EkMBPnXv.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-Dko2yi2n.cjs → theme.component-BWpLpI0u.cjs} +2 -2
- package/dist/{theme.component-Dko2yi2n.cjs.map → theme.component-BWpLpI0u.cjs.map} +1 -1
- package/dist/{theme.component-CfLAvCYi.js → theme.component-CMNPDwrg.js} +2 -2
- package/dist/{theme.component-CfLAvCYi.js.map → theme.component-CMNPDwrg.js.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-CXGJk88N.js → timezone-B0JHFjXr.js} +3 -3
- package/dist/{timezone-CXGJk88N.js.map → timezone-B0JHFjXr.js.map} +1 -1
- package/dist/{timezone-Wy7jf5gf.cjs → timezone-BGgX7VU3.cjs} +2 -2
- package/dist/{timezone-Wy7jf5gf.cjs.map → timezone-BGgX7VU3.cjs.map} +1 -1
- package/dist/{tooltip-BXCWSU_6.cjs → tooltip-BvM1QM9r.cjs} +2 -2
- package/dist/{tooltip-BXCWSU_6.cjs.map → tooltip-BvM1QM9r.cjs.map} +1 -1
- package/dist/{tooltip-CuDCLzkr.js → tooltip-vzAPO65W.js} +2 -2
- package/dist/{tooltip-CuDCLzkr.js.map → tooltip-vzAPO65W.js.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-CfcLl-dV.js → tree--vE36pPQ.js} +2 -2
- package/dist/{tree-CfcLl-dV.js.map → tree--vE36pPQ.js.map} +1 -1
- package/dist/{tree-Bux6udiH.cjs → tree-BGHP-zFq.cjs} +2 -2
- package/dist/{tree-Bux6udiH.cjs.map → tree-BGHP-zFq.cjs.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-C63WkKf1.js → typewriter-C0E8tuqP.js} +4 -4
- package/dist/{typewriter-C63WkKf1.js.map → typewriter-C0E8tuqP.js.map} +1 -1
- package/dist/{typewriter-HZThI3m1.cjs → typewriter-ovVSo7i3.cjs} +2 -2
- package/dist/{typewriter-HZThI3m1.cjs.map → typewriter-ovVSo7i3.cjs.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-DRkYb9R0.js → typography-6mMnwoRl.js} +2 -2
- package/dist/{typography-DRkYb9R0.js.map → typography-6mMnwoRl.js.map} +1 -1
- package/dist/{typography-DNj4eHeR.cjs → typography-BKpY6oL9.cjs} +2 -2
- package/dist/{typography-DNj4eHeR.cjs.map → typography-BKpY6oL9.cjs.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/types/src/area/area.component.d.ts +0 -4
- package/types/src/chips/assist-chip.d.ts +1 -1
- package/types/src/chips/input-chip.d.ts +6 -1
- package/types/src/chips/suggestion-chip.d.ts +1 -1
- package/dist/chips-BRigd0oB.cjs.map +0 -1
- package/dist/chips-BnA6mVWq.js.map +0 -1
- package/dist/route.component-Cr-M16SZ.cjs +0 -12
- package/dist/route.component-Cr-M16SZ.cjs.map +0 -1
- package/dist/route.component-Df4CQy4C.js +0 -320
- package/dist/route.component-Df4CQy4C.js.map +0 -1
- package/dist/tailwind.mixin-CPuO9c5y.js +0 -43
- package/dist/tailwind.mixin-Cb-fyJ_y.cjs +0 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { T as C } from "./tailwind.mixin-
|
|
2
|
-
import { css as
|
|
3
|
-
import { property as
|
|
4
|
-
import { when as
|
|
1
|
+
import { T as C } from "./tailwind.mixin-DRrIaNCZ.js";
|
|
2
|
+
import { css as S, LitElement as E, html as r } from "lit";
|
|
3
|
+
import { property as l, queryAssignedElements as O, state as w, customElement as R } from "lit/decorators.js";
|
|
4
|
+
import { when as M } from "lit/directives/when.js";
|
|
5
5
|
import { BehaviorSubject as h, combineLatest as g } from "rxjs";
|
|
6
|
-
import { takeUntil as x, map as D, tap as
|
|
6
|
+
import { takeUntil as x, map as D, tap as H, distinctUntilChanged as B, debounceTime as j } from "rxjs/operators";
|
|
7
7
|
import { classMap as k } from "lit/directives/class-map.js";
|
|
8
8
|
import "lit/directives/style-map.js";
|
|
9
|
-
import { $ as F } from "./litElement.mixin-
|
|
10
|
-
var P = Object.defineProperty,
|
|
11
|
-
for (var a,
|
|
12
|
-
return
|
|
9
|
+
import { $ as F } from "./litElement.mixin-CAQ8pH9g.js";
|
|
10
|
+
var P = Object.defineProperty, I = Object.getOwnPropertyDescriptor, m = (e, t, s, o) => {
|
|
11
|
+
for (var a, i = o > 1 ? void 0 : o ? I(t, s) : t, n = e.length - 1; n >= 0; n--) (a = e[n]) && (i = (o ? a(t, s, i) : a(i)) || i);
|
|
12
|
+
return o && i && P(t, s, i), i;
|
|
13
13
|
};
|
|
14
|
-
const _ = class _ extends C(
|
|
14
|
+
const _ = class _ extends C(S`
|
|
15
15
|
:host {
|
|
16
16
|
display: inline-block;
|
|
17
17
|
outline: none;
|
|
@@ -77,8 +77,8 @@ const _ = class _ extends C(E`
|
|
|
77
77
|
return this._selected;
|
|
78
78
|
}
|
|
79
79
|
set selected(t) {
|
|
80
|
-
const
|
|
81
|
-
this._selected = t, this.requestUpdate("selected",
|
|
80
|
+
const s = this._selected;
|
|
81
|
+
this._selected = t, this.requestUpdate("selected", s);
|
|
82
82
|
}
|
|
83
83
|
get form() {
|
|
84
84
|
return this.internals?.form;
|
|
@@ -105,14 +105,14 @@ const _ = class _ extends C(E`
|
|
|
105
105
|
tabindex="0"
|
|
106
106
|
>
|
|
107
107
|
<!-- Icon container - conditionally shown using when directive -->
|
|
108
|
-
${
|
|
108
|
+
${M(this._selected || this.icon || this.iconSlotElements?.length > 0, () => r`
|
|
109
109
|
<span class="inline-flex w-[18px] h-[18px] items-center justify-center shrink-0">
|
|
110
110
|
${this._selected ? r`
|
|
111
|
-
<span class="material-symbols-outlined text-
|
|
111
|
+
<span class="material-symbols-outlined text-[18px]">
|
|
112
112
|
check
|
|
113
113
|
</span>
|
|
114
114
|
` : this.icon ? r`
|
|
115
|
-
<span class="material-symbols-outlined text-
|
|
115
|
+
<span class="material-symbols-outlined text-[18px]">
|
|
116
116
|
${this.icon}
|
|
117
117
|
</span>
|
|
118
118
|
` : r`
|
|
@@ -141,18 +141,18 @@ const _ = class _ extends C(E`
|
|
|
141
141
|
`;
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
|
-
_.shadowRootOptions = { ...
|
|
145
|
-
let
|
|
146
|
-
if (
|
|
147
|
-
class e extends
|
|
144
|
+
_.shadowRootOptions = { ...E.shadowRootOptions, delegatesFocus: !0 }, _.formAssociated = !0;
|
|
145
|
+
let d = _;
|
|
146
|
+
if (m([l({ type: String, reflect: !0 })], d.prototype, "value", 2), m([l({ type: Boolean, reflect: !0 })], d.prototype, "selected", 1), m([l({ type: String, reflect: !0 })], d.prototype, "icon", 2), m([l({ type: Boolean, reflect: !0 })], d.prototype, "removable", 2), m([l({ type: Boolean, reflect: !0 })], d.prototype, "disabled", 2), m([l({ type: Boolean, reflect: !0 })], d.prototype, "elevated", 2), m([O({ slot: "icon" })], d.prototype, "iconSlotElements", 2), customElements.get("schmancy-filter-chip") || customElements.define("schmancy-filter-chip", d), !customElements.get("schmancy-chip")) {
|
|
147
|
+
class e extends d {
|
|
148
148
|
}
|
|
149
149
|
customElements.define("schmancy-chip", e);
|
|
150
150
|
}
|
|
151
|
-
var
|
|
152
|
-
for (var a,
|
|
153
|
-
return
|
|
151
|
+
var L = Object.defineProperty, z = Object.getOwnPropertyDescriptor, v = (e, t, s, o) => {
|
|
152
|
+
for (var a, i = o > 1 ? void 0 : o ? z(t, s) : t, n = e.length - 1; n >= 0; n--) (a = e[n]) && (i = (o ? a(t, s, i) : a(i)) || i);
|
|
153
|
+
return o && i && L(t, s, i), i;
|
|
154
154
|
};
|
|
155
|
-
let p = class extends C(
|
|
155
|
+
let p = class extends C(S`
|
|
156
156
|
:host {
|
|
157
157
|
display: inline-block;
|
|
158
158
|
outline: none;
|
|
@@ -178,15 +178,38 @@ let p = class extends C(E`
|
|
|
178
178
|
opacity: 0;
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
+
|
|
182
|
+
/* State layer for M3 hover/focus/pressed states */
|
|
183
|
+
.state-layer {
|
|
184
|
+
position: absolute;
|
|
185
|
+
inset: 0;
|
|
186
|
+
border-radius: inherit;
|
|
187
|
+
pointer-events: none;
|
|
188
|
+
background-color: currentColor;
|
|
189
|
+
opacity: 0;
|
|
190
|
+
transition: opacity 200ms ease;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
:host(:not([disabled])) button:hover .state-layer {
|
|
194
|
+
opacity: 0.08;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
:host(:not([disabled])) button:focus-visible .state-layer {
|
|
198
|
+
opacity: 0.1;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
:host(:not([disabled])) button:active .state-layer {
|
|
202
|
+
opacity: 0.1;
|
|
203
|
+
}
|
|
181
204
|
`) {
|
|
182
205
|
constructor() {
|
|
183
|
-
super(...arguments), this.value = "", this.icon = "", this.href = "", this.target = "", this.disabled = !1, this.elevated = !
|
|
206
|
+
super(...arguments), this.value = "", this.icon = "", this.href = "", this.target = "", this.disabled = !1, this.elevated = !0, this.hover$ = new h(!1), this.pressed$ = new h(!1), this.focused$ = new h(!1), this.ripples = [], this.nextRippleId = 0, this.handleClick = (e) => {
|
|
184
207
|
if (this.disabled) return;
|
|
185
208
|
const t = this.shadowRoot?.querySelector("button");
|
|
186
209
|
if (t) {
|
|
187
|
-
const
|
|
188
|
-
this.ripples = [...this.ripples, { x:
|
|
189
|
-
this.ripples = this.ripples.filter((n) => n.id !==
|
|
210
|
+
const s = t.getBoundingClientRect(), o = e.clientX - s.left, a = e.clientY - s.top, i = this.nextRippleId++;
|
|
211
|
+
this.ripples = [...this.ripples, { x: o, y: a, id: i }], setTimeout(() => {
|
|
212
|
+
this.ripples = this.ripples.filter((n) => n.id !== i);
|
|
190
213
|
}, 600);
|
|
191
214
|
}
|
|
192
215
|
this.href && (this.target === "_blank" ? window.open(this.href, "_blank") : window.location.href = this.href), this.dispatchEvent(new CustomEvent("action", { detail: { value: this.value }, bubbles: !0, composed: !0 }));
|
|
@@ -206,11 +229,11 @@ let p = class extends C(E`
|
|
|
206
229
|
super.connectedCallback(), g([this.hover$, this.pressed$, this.focused$]).pipe(x(this.disconnecting)).subscribe();
|
|
207
230
|
}
|
|
208
231
|
render() {
|
|
209
|
-
const e = { relative: !0, "inline-flex": !0, "items-center": !0, "gap-
|
|
232
|
+
const e = !!this.icon, t = { relative: !0, "inline-flex": !0, "items-center": !0, "gap-2": !0, "h-8": !0, "min-h-[32px]": !0, "rounded-full": !0, "cursor-pointer": !this.disabled, "transition-all": !0, "duration-200": !0, "select-none": !0, "overflow-hidden": !0, "pl-2": e, "pl-4": !e, "pr-4": !0, "bg-surface-containerLow": !0, "text-surface-onVariant": !0, "shadow-sm": this.elevated && !this.disabled, "hover:shadow-md": this.elevated && !this.disabled, "focus-visible:outline": !this.disabled, "focus-visible:outline-2": !this.disabled, "focus-visible:outline-primary": !this.disabled, "focus-visible:outline-offset-2": !this.disabled, "opacity-38": this.disabled, "cursor-not-allowed": this.disabled };
|
|
210
233
|
return r`
|
|
211
234
|
<button
|
|
212
235
|
type="button"
|
|
213
|
-
class=${k(
|
|
236
|
+
class=${k(t)}
|
|
214
237
|
?disabled=${this.disabled}
|
|
215
238
|
@click=${this.handleClick}
|
|
216
239
|
@keydown=${this.handleKeyDown}
|
|
@@ -226,29 +249,32 @@ let p = class extends C(E`
|
|
|
226
249
|
aria-label=${this.value}
|
|
227
250
|
>
|
|
228
251
|
${this.icon ? r`
|
|
229
|
-
<schmancy-icon class="text-
|
|
252
|
+
<schmancy-icon class="text-[18px] shrink-0">${this.icon}</schmancy-icon>
|
|
230
253
|
` : ""}
|
|
231
|
-
<span class="text-
|
|
254
|
+
<span class="text-sm font-medium leading-5">
|
|
232
255
|
<slot></slot>
|
|
233
256
|
</span>
|
|
234
257
|
|
|
235
258
|
<!-- Ripple effects -->
|
|
236
|
-
${this.ripples.map((
|
|
259
|
+
${this.ripples.map((s) => r`
|
|
237
260
|
<span
|
|
238
261
|
class="ripple"
|
|
239
|
-
style="left: ${
|
|
262
|
+
style="left: ${s.x}px; top: ${s.y}px;"
|
|
240
263
|
></span>
|
|
241
264
|
`)}
|
|
265
|
+
|
|
266
|
+
<!-- State layer for M3 hover/focus/pressed states -->
|
|
267
|
+
<div class="state-layer"></div>
|
|
242
268
|
</button>
|
|
243
269
|
`;
|
|
244
270
|
}
|
|
245
271
|
};
|
|
246
|
-
p.shadowRootOptions = { ...
|
|
247
|
-
var K = Object.defineProperty, T = Object.getOwnPropertyDescriptor, b = (e, t,
|
|
248
|
-
for (var a,
|
|
249
|
-
return
|
|
272
|
+
p.shadowRootOptions = { ...E.shadowRootOptions, delegatesFocus: !0 }, v([l({ reflect: !0 })], p.prototype, "value", 2), v([l({ reflect: !0 })], p.prototype, "icon", 2), v([l({ reflect: !0 })], p.prototype, "href", 2), v([l({ reflect: !0 })], p.prototype, "target", 2), v([l({ type: Boolean, reflect: !0 })], p.prototype, "disabled", 2), v([l({ type: Boolean, reflect: !0 })], p.prototype, "elevated", 2), v([w()], p.prototype, "ripples", 2), p = v([R("schmancy-assist-chip")], p);
|
|
273
|
+
var K = Object.defineProperty, T = Object.getOwnPropertyDescriptor, b = (e, t, s, o) => {
|
|
274
|
+
for (var a, i = o > 1 ? void 0 : o ? T(t, s) : t, n = e.length - 1; n >= 0; n--) (a = e[n]) && (i = (o ? a(t, s, i) : a(i)) || i);
|
|
275
|
+
return o && i && K(t, s, i), i;
|
|
250
276
|
};
|
|
251
|
-
let
|
|
277
|
+
let c = class extends C(S`
|
|
252
278
|
:host {
|
|
253
279
|
display: inline-block;
|
|
254
280
|
outline: none;
|
|
@@ -305,15 +331,38 @@ let d = class extends C(E`
|
|
|
305
331
|
opacity: 0;
|
|
306
332
|
}
|
|
307
333
|
}
|
|
334
|
+
|
|
335
|
+
/* State layer for M3 hover/focus/pressed states */
|
|
336
|
+
.state-layer {
|
|
337
|
+
position: absolute;
|
|
338
|
+
inset: 0;
|
|
339
|
+
border-radius: inherit;
|
|
340
|
+
pointer-events: none;
|
|
341
|
+
background-color: currentColor;
|
|
342
|
+
opacity: 0;
|
|
343
|
+
transition: opacity 200ms ease;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
:host(:not([disabled])) .chip-container:hover .state-layer {
|
|
347
|
+
opacity: 0.08;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
:host(:not([disabled])) .chip-container:focus-visible .state-layer {
|
|
351
|
+
opacity: 0.1;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
:host(:not([disabled])) .chip-container:active .state-layer {
|
|
355
|
+
opacity: 0.1;
|
|
356
|
+
}
|
|
308
357
|
`) {
|
|
309
358
|
constructor() {
|
|
310
359
|
super(), this.value = "", this.icon = "", this.avatar = "", this.removable = !0, this.disabled = !1, this.elevated = !1, this.chipHover$ = new h(!1), this.removeHover$ = new h(!1), this.focused$ = new h(!1), this.pressed$ = new h(!1), this.uiState = { chipHover: !1, removeHover: !1, focused: !1, pressed: !1 }, this.ripples = [], this.nextRippleId = 0, this.handleChipClick = (e) => {
|
|
311
360
|
if (this.disabled) return;
|
|
312
361
|
const t = this.shadowRoot?.querySelector(".chip-container");
|
|
313
362
|
if (t) {
|
|
314
|
-
const
|
|
315
|
-
this.ripples = [...this.ripples, { x:
|
|
316
|
-
this.ripples = this.ripples.filter((n) => n.id !==
|
|
363
|
+
const s = t.getBoundingClientRect(), o = e.clientX - s.left, a = e.clientY - s.top, i = this.nextRippleId++;
|
|
364
|
+
this.ripples = [...this.ripples, { x: o, y: a, id: i }], setTimeout(() => {
|
|
365
|
+
this.ripples = this.ripples.filter((n) => n.id !== i);
|
|
317
366
|
}, 600);
|
|
318
367
|
}
|
|
319
368
|
this.dispatchEvent(new CustomEvent("click", { detail: { value: this.value }, bubbles: !0, composed: !0 }));
|
|
@@ -342,15 +391,15 @@ let d = class extends C(E`
|
|
|
342
391
|
return this.internals?.form;
|
|
343
392
|
}
|
|
344
393
|
connectedCallback() {
|
|
345
|
-
super.connectedCallback(), g([this.chipHover$, this.removeHover$, this.focused$, this.pressed$]).pipe(D(([e, t,
|
|
394
|
+
super.connectedCallback(), g([this.chipHover$, this.removeHover$, this.focused$, this.pressed$]).pipe(D(([e, t, s, o]) => ({ chipHover: e, removeHover: t, focused: s, pressed: o })), H((e) => {
|
|
346
395
|
this.uiState = e;
|
|
347
396
|
}), x(this.disconnecting)).subscribe();
|
|
348
397
|
}
|
|
349
398
|
render() {
|
|
350
|
-
const e = { "chip-container": !0, "inline-flex": !0, "items-center": !0, "gap-
|
|
399
|
+
const e = this.avatar || this.icon, t = { "chip-container": !0, "inline-flex": !0, "items-center": !0, "gap-2": !0, "h-8": !0, "min-h-[32px]": !0, "rounded-full": !0, "cursor-default": !0, "transition-all": !0, "duration-200": !0, "select-none": !0, "text-sm": !0, "font-medium": !0, relative: !0, "overflow-hidden": !0, border: !0, "pl-2": e, "pl-4": !e, "pr-2": this.removable, "pr-4": !this.removable, "bg-surface-containerLow": !0, "text-surface-onVariant": !0, "border-outline": !0, "focus-visible:outline": !this.disabled, "focus-visible:outline-2": !this.disabled, "focus-visible:outline-primary": !this.disabled, "focus-visible:outline-offset-2": !this.disabled, "opacity-38": this.disabled, "cursor-not-allowed": this.disabled }, s = { "size-[18px]": !0, flex: !0, "items-center": !0, "justify-center": !0, "rounded-full": !0, "transition-all": !0, "duration-200": !0, "cursor-pointer": !this.disabled, "-mr-1": !0, "hover:bg-surface-containerHighest": !this.disabled, "opacity-50": this.disabled };
|
|
351
400
|
return r`
|
|
352
401
|
<div
|
|
353
|
-
class=${k(
|
|
402
|
+
class=${k(t)}
|
|
354
403
|
@click=${this.handleChipClick}
|
|
355
404
|
@keydown=${this.handleKeyDown}
|
|
356
405
|
@mouseenter=${() => this.chipHover$.next(!0)}
|
|
@@ -369,26 +418,26 @@ let d = class extends C(E`
|
|
|
369
418
|
<img
|
|
370
419
|
src=${this.avatar}
|
|
371
420
|
alt=""
|
|
372
|
-
class="avatar-img rounded-full
|
|
421
|
+
class="avatar-img rounded-full size-5"
|
|
373
422
|
/>
|
|
374
423
|
` : ""}
|
|
375
424
|
|
|
376
425
|
<!-- Icon (if provided and no avatar) -->
|
|
377
426
|
${this.icon && !this.avatar ? r`
|
|
378
|
-
<span class="material-symbols-outlined
|
|
427
|
+
<span class="material-symbols-outlined text-[18px] shrink-0">
|
|
379
428
|
${this.icon}
|
|
380
429
|
</span>
|
|
381
430
|
` : ""}
|
|
382
431
|
|
|
383
432
|
<!-- Chip content -->
|
|
384
|
-
<span>
|
|
433
|
+
<span class="text-sm font-medium leading-5">
|
|
385
434
|
<slot></slot>
|
|
386
435
|
</span>
|
|
387
436
|
|
|
388
437
|
<!-- Remove button (shown by default for input chips) -->
|
|
389
438
|
${this.removable ? r`
|
|
390
439
|
<button
|
|
391
|
-
class=${k(
|
|
440
|
+
class=${k(s)}
|
|
392
441
|
@click=${this.handleRemove}
|
|
393
442
|
@mouseenter=${() => this.removeHover$.next(!0)}
|
|
394
443
|
@mouseleave=${() => this.removeHover$.next(!1)}
|
|
@@ -396,29 +445,32 @@ let d = class extends C(E`
|
|
|
396
445
|
tabindex="-1"
|
|
397
446
|
?disabled=${this.disabled}
|
|
398
447
|
>
|
|
399
|
-
<span class="material-symbols-outlined text-
|
|
448
|
+
<span class="material-symbols-outlined text-[18px]">
|
|
400
449
|
close
|
|
401
450
|
</span>
|
|
402
451
|
</button>
|
|
403
452
|
` : ""}
|
|
404
453
|
|
|
405
454
|
<!-- Ripple effects -->
|
|
406
|
-
${this.ripples.map((
|
|
455
|
+
${this.ripples.map((o) => r`
|
|
407
456
|
<span
|
|
408
457
|
class="ripple"
|
|
409
|
-
style="left: ${
|
|
458
|
+
style="left: ${o.x}px; top: ${o.y}px;"
|
|
410
459
|
></span>
|
|
411
460
|
`)}
|
|
461
|
+
|
|
462
|
+
<!-- State layer for M3 hover/focus/pressed states -->
|
|
463
|
+
<div class="state-layer"></div>
|
|
412
464
|
</div>
|
|
413
465
|
`;
|
|
414
466
|
}
|
|
415
467
|
};
|
|
416
|
-
|
|
417
|
-
var U = Object.defineProperty, A = Object.getOwnPropertyDescriptor,
|
|
418
|
-
for (var a,
|
|
419
|
-
return
|
|
468
|
+
c.shadowRootOptions = { ...E.shadowRootOptions, delegatesFocus: !0 }, c.formAssociated = !0, b([l({ type: String, reflect: !0 })], c.prototype, "value", 2), b([l({ type: String, reflect: !0 })], c.prototype, "icon", 2), b([l({ type: String, reflect: !0 })], c.prototype, "avatar", 2), b([l({ type: Boolean, reflect: !0 })], c.prototype, "removable", 2), b([l({ type: Boolean, reflect: !0 })], c.prototype, "disabled", 2), b([l({ type: Boolean, reflect: !0 })], c.prototype, "elevated", 2), b([w()], c.prototype, "uiState", 2), b([w()], c.prototype, "ripples", 2), c = b([R("schmancy-input-chip")], c);
|
|
469
|
+
var U = Object.defineProperty, A = Object.getOwnPropertyDescriptor, f = (e, t, s, o) => {
|
|
470
|
+
for (var a, i = o > 1 ? void 0 : o ? A(t, s) : t, n = e.length - 1; n >= 0; n--) (a = e[n]) && (i = (o ? a(t, s, i) : a(i)) || i);
|
|
471
|
+
return o && i && U(t, s, i), i;
|
|
420
472
|
};
|
|
421
|
-
let u = class extends C(
|
|
473
|
+
let u = class extends C(S`
|
|
422
474
|
:host {
|
|
423
475
|
display: inline-block;
|
|
424
476
|
outline: none;
|
|
@@ -444,15 +496,38 @@ let u = class extends C(E`
|
|
|
444
496
|
opacity: 0;
|
|
445
497
|
}
|
|
446
498
|
}
|
|
499
|
+
|
|
500
|
+
/* State layer for M3 hover/focus/pressed states */
|
|
501
|
+
.state-layer {
|
|
502
|
+
position: absolute;
|
|
503
|
+
inset: 0;
|
|
504
|
+
border-radius: inherit;
|
|
505
|
+
pointer-events: none;
|
|
506
|
+
background-color: currentColor;
|
|
507
|
+
opacity: 0;
|
|
508
|
+
transition: opacity 200ms ease;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
:host(:not([disabled])) button:hover .state-layer {
|
|
512
|
+
opacity: 0.08;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
:host(:not([disabled])) button:focus-visible .state-layer {
|
|
516
|
+
opacity: 0.1;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
:host(:not([disabled])) button:active .state-layer {
|
|
520
|
+
opacity: 0.1;
|
|
521
|
+
}
|
|
447
522
|
`) {
|
|
448
523
|
constructor() {
|
|
449
524
|
super(...arguments), this.value = "", this.icon = "", this.href = "", this.target = "", this.disabled = !1, this.elevated = !1, this.hover$ = new h(!1), this.pressed$ = new h(!1), this.focused$ = new h(!1), this.ripples = [], this.nextRippleId = 0, this.handleClick = (e) => {
|
|
450
525
|
if (this.disabled) return;
|
|
451
526
|
const t = this.shadowRoot?.querySelector("button");
|
|
452
527
|
if (t) {
|
|
453
|
-
const
|
|
454
|
-
this.ripples = [...this.ripples, { x:
|
|
455
|
-
this.ripples = this.ripples.filter((n) => n.id !==
|
|
528
|
+
const s = t.getBoundingClientRect(), o = e.clientX - s.left, a = e.clientY - s.top, i = this.nextRippleId++;
|
|
529
|
+
this.ripples = [...this.ripples, { x: o, y: a, id: i }], setTimeout(() => {
|
|
530
|
+
this.ripples = this.ripples.filter((n) => n.id !== i);
|
|
456
531
|
}, 600);
|
|
457
532
|
}
|
|
458
533
|
this.href && (this.target === "_blank" ? window.open(this.href, "_blank") : window.location.href = this.href), this.dispatchEvent(new CustomEvent("action", { detail: { value: this.value }, bubbles: !0, composed: !0 }));
|
|
@@ -472,11 +547,11 @@ let u = class extends C(E`
|
|
|
472
547
|
super.connectedCallback(), g([this.hover$, this.pressed$, this.focused$]).pipe(x(this.disconnecting)).subscribe();
|
|
473
548
|
}
|
|
474
549
|
render() {
|
|
475
|
-
const e = { relative: !0, "inline-flex": !0, "items-center": !0, "gap-
|
|
550
|
+
const e = !!this.icon, t = { relative: !0, "inline-flex": !0, "items-center": !0, "gap-2": !0, "h-8": !0, "min-h-[32px]": !0, "rounded-full": !0, "cursor-pointer": !this.disabled, "transition-all": !0, "duration-200": !0, "select-none": !0, "overflow-hidden": !0, border: !0, "pl-2": e, "pl-4": !e, "pr-4": !0, "bg-surface-containerLow": !0, "text-surface-onVariant": !0, "border-outline": !0, "focus-visible:outline": !this.disabled, "focus-visible:outline-2": !this.disabled, "focus-visible:outline-primary": !this.disabled, "focus-visible:outline-offset-2": !this.disabled, "opacity-38": this.disabled, "cursor-not-allowed": this.disabled };
|
|
476
551
|
return r`
|
|
477
552
|
<button
|
|
478
553
|
type="button"
|
|
479
|
-
class=${k(
|
|
554
|
+
class=${k(t)}
|
|
480
555
|
?disabled=${this.disabled}
|
|
481
556
|
@click=${this.handleClick}
|
|
482
557
|
@keydown=${this.handleKeyDown}
|
|
@@ -492,27 +567,30 @@ let u = class extends C(E`
|
|
|
492
567
|
aria-label=${this.value}
|
|
493
568
|
>
|
|
494
569
|
${this.icon ? r`
|
|
495
|
-
<schmancy-icon class="text-
|
|
570
|
+
<schmancy-icon class="text-[18px] shrink-0">${this.icon}</schmancy-icon>
|
|
496
571
|
` : ""}
|
|
497
|
-
<span class="text-
|
|
572
|
+
<span class="text-sm font-medium leading-5">
|
|
498
573
|
<slot></slot>
|
|
499
574
|
</span>
|
|
500
575
|
|
|
501
576
|
<!-- Ripple effects -->
|
|
502
|
-
${this.ripples.map((
|
|
577
|
+
${this.ripples.map((s) => r`
|
|
503
578
|
<span
|
|
504
579
|
class="ripple"
|
|
505
|
-
style="left: ${
|
|
580
|
+
style="left: ${s.x}px; top: ${s.y}px;"
|
|
506
581
|
></span>
|
|
507
582
|
`)}
|
|
583
|
+
|
|
584
|
+
<!-- State layer for M3 hover/focus/pressed states -->
|
|
585
|
+
<div class="state-layer"></div>
|
|
508
586
|
</button>
|
|
509
587
|
`;
|
|
510
588
|
}
|
|
511
589
|
};
|
|
512
|
-
u.shadowRootOptions = { ...
|
|
513
|
-
var Y = Object.defineProperty, q = Object.getOwnPropertyDescriptor, $ = (e, t,
|
|
514
|
-
for (var a,
|
|
515
|
-
return
|
|
590
|
+
u.shadowRootOptions = { ...E.shadowRootOptions, delegatesFocus: !0 }, f([l({ reflect: !0 })], u.prototype, "value", 2), f([l({ reflect: !0 })], u.prototype, "icon", 2), f([l({ reflect: !0 })], u.prototype, "href", 2), f([l({ reflect: !0 })], u.prototype, "target", 2), f([l({ type: Boolean, reflect: !0 })], u.prototype, "disabled", 2), f([l({ type: Boolean, reflect: !0 })], u.prototype, "elevated", 2), f([w()], u.prototype, "ripples", 2), u = f([R("schmancy-suggestion-chip")], u);
|
|
591
|
+
var Y = Object.defineProperty, q = Object.getOwnPropertyDescriptor, $ = (e, t, s, o) => {
|
|
592
|
+
for (var a, i = o > 1 ? void 0 : o ? q(t, s) : t, n = e.length - 1; n >= 0; n--) (a = e[n]) && (i = (o ? a(t, s, i) : a(i)) || i);
|
|
593
|
+
return o && i && Y(t, s, i), i;
|
|
516
594
|
};
|
|
517
595
|
let y = class extends F() {
|
|
518
596
|
constructor() {
|
|
@@ -540,22 +618,22 @@ let y = class extends F() {
|
|
|
540
618
|
this._value = e || "", this._valueSet = !0, this.value$.next(this._value);
|
|
541
619
|
}
|
|
542
620
|
connectedCallback() {
|
|
543
|
-
super.connectedCallback(), this.value$.next(this._value), this.values$.next(this._values), g([this.value$.pipe(B()), this.values$.pipe(B((e, t) => e.length === t.length && e.every((
|
|
621
|
+
super.connectedCallback(), this.value$.next(this._value), this.values$.next(this._values), g([this.value$.pipe(B()), this.values$.pipe(B((e, t) => e.length === t.length && e.every((s, o) => s === t[o])))]).pipe(j(0), x(this.disconnecting)).subscribe(([e, t]) => {
|
|
544
622
|
this.updateChipStates(this.mode, e, t);
|
|
545
623
|
});
|
|
546
624
|
}
|
|
547
|
-
updateChipStates(e, t,
|
|
548
|
-
this.chips && e !== "none" && this.chips.forEach((
|
|
549
|
-
if ("value" in
|
|
550
|
-
const a =
|
|
551
|
-
e === "multi" ? a.selected =
|
|
625
|
+
updateChipStates(e, t, s) {
|
|
626
|
+
this.chips && e !== "none" && this.chips.forEach((o) => {
|
|
627
|
+
if ("value" in o && "selected" in o) {
|
|
628
|
+
const a = o;
|
|
629
|
+
e === "multi" ? a.selected = s.length > 0 && s.includes(a.value) : e === "single" && (a.selected = t !== "" && t === a.value);
|
|
552
630
|
}
|
|
553
631
|
});
|
|
554
632
|
}
|
|
555
633
|
async change(e) {
|
|
556
634
|
if (e.preventDefault(), e.stopPropagation(), this.mode === "none") return;
|
|
557
|
-
const { value: t, selected:
|
|
558
|
-
this.mode === "multi" ?
|
|
635
|
+
const { value: t, selected: s } = e.detail;
|
|
636
|
+
this.mode === "multi" ? s ? this._values.includes(t) || (this._values = [...this._values, t], this.values$.next(this._values)) : (this._values = this._values.filter((o) => o !== t), this.values$.next(this._values)) : this.mode === "single" && (this._value = s ? t : "", this.value$.next(this._value)), this.requestUpdate(), this.dispatchEvent(new CustomEvent("change", { detail: this.mode === "multi" ? this._values : this._value, bubbles: !0 }));
|
|
559
637
|
}
|
|
560
638
|
firstUpdated(e) {
|
|
561
639
|
super.firstUpdated(e), this.updateChipStates(this.mode, this._value, this._values);
|
|
@@ -573,12 +651,12 @@ let y = class extends F() {
|
|
|
573
651
|
`;
|
|
574
652
|
}
|
|
575
653
|
};
|
|
576
|
-
$([
|
|
654
|
+
$([l({ type: Boolean, reflect: !0 })], y.prototype, "multi", 1), $([l({ type: Array, reflect: !0 })], y.prototype, "values", 1), $([l({ type: String, reflect: !0 })], y.prototype, "value", 1), $([O({ selector: "schmancy-chip, schmancy-filter-chip, schmancy-assist-chip, schmancy-input-chip, schmancy-suggestion-chip", flatten: !0 })], y.prototype, "chips", 2), $([l({ type: Boolean, reflect: !0 })], y.prototype, "wrap", 2), y = $([R("schmancy-chips")], y);
|
|
577
655
|
export {
|
|
578
|
-
|
|
656
|
+
d as S,
|
|
579
657
|
p as a,
|
|
580
|
-
|
|
658
|
+
c as b,
|
|
581
659
|
u as c,
|
|
582
660
|
y as d
|
|
583
661
|
};
|
|
584
|
-
//# sourceMappingURL=chips-
|
|
662
|
+
//# sourceMappingURL=chips-DIoIf1ND.js.map
|