@mhmo91/schmancy 0.5.11 → 0.5.13
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-Dty0fSbq.js → animated-text-icbUBg1E.js} +3 -3
- package/dist/{animated-text-Dty0fSbq.js.map → animated-text-icbUBg1E.js.map} +1 -1
- package/dist/{animated-text-DhWaYtKW.cjs → animated-text-jtREuorF.cjs} +2 -2
- package/dist/{animated-text-DhWaYtKW.cjs.map → animated-text-jtREuorF.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-LQXgflI2.js → area.component-BEyvt3QC.js} +3 -3
- package/dist/{area.component-LQXgflI2.js.map → area.component-BEyvt3QC.js.map} +1 -1
- package/dist/{area.component-D7wlGsfA.cjs → area.component-CmLRuZnq.cjs} +2 -2
- package/dist/{area.component-D7wlGsfA.cjs.map → area.component-CmLRuZnq.cjs.map} +1 -1
- package/dist/area.js +1 -1
- package/dist/autocomplete-DKAqszGP.cjs +112 -0
- package/dist/autocomplete-DKAqszGP.cjs.map +1 -0
- package/dist/autocomplete-D_GGoGWg.js +319 -0
- package/dist/autocomplete-D_GGoGWg.js.map +1 -0
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-BrNa1pz6.js → avatar-B4h1VX0D.js} +54 -53
- package/dist/{avatar-BrNa1pz6.js.map → avatar-B4h1VX0D.js.map} +1 -1
- package/dist/{avatar-Lcb94SrU.cjs → avatar-ChPbO8ia.cjs} +2 -2
- package/dist/{avatar-Lcb94SrU.cjs.map → avatar-ChPbO8ia.cjs.map} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-SUt73FzK.cjs → boat-CwxgtvjS.cjs} +2 -2
- package/dist/{boat-SUt73FzK.cjs.map → boat-CwxgtvjS.cjs.map} +1 -1
- package/dist/{boat-OKaCjCVb.js → boat-DCT-dcG5.js} +2 -2
- package/dist/{boat-OKaCjCVb.js.map → boat-DCT-dcG5.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-BQ9zyi0G.cjs → checkbox-Bn7gj0Zv.cjs} +2 -2
- package/dist/{checkbox-BQ9zyi0G.cjs.map → checkbox-Bn7gj0Zv.cjs.map} +1 -1
- package/dist/{checkbox-DYgxPkRd.js → checkbox-DtJfIIRW.js} +2 -2
- package/dist/{checkbox-DYgxPkRd.js.map → checkbox-DtJfIIRW.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +3 -2
- package/dist/chips.js.map +1 -1
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-BGYyQE-A.js → code-preview-DC9KAoBU.js} +29 -30
- package/dist/{code-preview-BGYyQE-A.js.map → code-preview-DC9KAoBU.js.map} +1 -1
- package/dist/{code-preview-BguhYQ-9.cjs → code-preview-cr28pSUT.cjs} +39 -40
- package/dist/{code-preview-BguhYQ-9.cjs.map → code-preview-cr28pSUT.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-BHL6NVpp.cjs → date-range-CGbQuxCN.cjs} +2 -2
- package/dist/{date-range-BHL6NVpp.cjs.map → date-range-CGbQuxCN.cjs.map} +1 -1
- package/dist/{date-range-IAVmBRUY.js → date-range-CcBJ5oPy.js} +3 -3
- package/dist/{date-range-IAVmBRUY.js.map → date-range-CcBJ5oPy.js.map} +1 -1
- package/dist/{date-range-inline-lDogjrro.cjs → date-range-inline-VYP6Vwu4.cjs} +2 -2
- package/dist/{date-range-inline-lDogjrro.cjs.map → date-range-inline-VYP6Vwu4.cjs.map} +1 -1
- package/dist/{date-range-inline-tVo6MAVX.js → date-range-inline-jjcVBcOj.js} +3 -3
- package/dist/{date-range-inline-tVo6MAVX.js.map → date-range-inline-jjcVBcOj.js.map} +1 -1
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-Dqd6hPRo.cjs → delay-C0n17NZX.cjs} +2 -2
- package/dist/{delay-Dqd6hPRo.cjs.map → delay-C0n17NZX.cjs.map} +1 -1
- package/dist/{delay-D1UQizi7.js → delay-C5uDZsJP.js} +2 -2
- package/dist/{delay-D1UQizi7.js.map → delay-C5uDZsJP.js.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/details-DHOnC7BX.js +95 -0
- package/dist/details-DHOnC7BX.js.map +1 -0
- package/dist/details-jSrdzmdU.cjs +69 -0
- package/dist/details-jSrdzmdU.cjs.map +1 -0
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-CoO1gbnP.js → dialog-content-0VLuuNTa.js} +3 -3
- package/dist/{dialog-content-CoO1gbnP.js.map → dialog-content-0VLuuNTa.js.map} +1 -1
- package/dist/{dialog-content-Ch1E0_XY.cjs → dialog-content-DPpYiCly.cjs} +2 -2
- package/dist/{dialog-content-Ch1E0_XY.cjs.map → dialog-content-DPpYiCly.cjs.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/{divider-qaTugaNg.js → divider-CFESjSiy.js} +3 -3
- package/dist/{divider-qaTugaNg.js.map → divider-CFESjSiy.js.map} +1 -1
- package/dist/{divider-DeIUf2pW.cjs → divider-DXL2K1vV.cjs} +2 -2
- package/dist/{divider-DeIUf2pW.cjs.map → divider-DXL2K1vV.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-BdGJaEb1.cjs → dropdown-content-6lxyKuGr.cjs} +2 -2
- package/dist/{dropdown-content-BdGJaEb1.cjs.map → dropdown-content-6lxyKuGr.cjs.map} +1 -1
- package/dist/{dropdown-content-Ddxpm5T4.js → dropdown-content-CkaXHdzT.js} +3 -3
- package/dist/{dropdown-content-Ddxpm5T4.js.map → dropdown-content-CkaXHdzT.js.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-DmVTfoZx.js → email-recipients-BPzNL8l4.js} +5 -5
- package/dist/{email-recipients-DmVTfoZx.js.map → email-recipients-BPzNL8l4.js.map} +1 -1
- package/dist/{email-recipients-CWV3bcBZ.cjs → email-recipients-F2vbh6L3.cjs} +2 -2
- package/dist/{email-recipients-CWV3bcBZ.cjs.map → email-recipients-F2vbh6L3.cjs.map} +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-CVGc2ncP.js → flex-Ddzbguaf.js} +2 -2
- package/dist/{flex-CVGc2ncP.js.map → flex-Ddzbguaf.js.map} +1 -1
- package/dist/{flex-D7Lk1FvV.cjs → flex-_oJb1WUg.cjs} +2 -2
- package/dist/{flex-D7Lk1FvV.cjs.map → flex-_oJb1WUg.cjs.map} +1 -1
- package/dist/{form-CIW_BgEw.cjs → form-7glz2wjN.cjs} +2 -2
- package/dist/{form-CIW_BgEw.cjs.map → form-7glz2wjN.cjs.map} +1 -1
- package/dist/{form-CQ9kXk8y.js → form-CDres_9l.js} +2 -2
- package/dist/{form-CQ9kXk8y.js.map → form-CDres_9l.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-BHyiuJ5K.cjs → formField.mixin-BVGEu21E.cjs} +2 -2
- package/dist/{formField.mixin-BHyiuJ5K.cjs.map → formField.mixin-BVGEu21E.cjs.map} +1 -1
- package/dist/{formField.mixin-CxOpZDW8.js → formField.mixin-DSWu1lN6.js} +2 -2
- package/dist/{formField.mixin-CxOpZDW8.js.map → formField.mixin-DSWu1lN6.js.map} +1 -1
- package/dist/{icon-DIfnwdEU.js → icon-15JkoENS.js} +2 -2
- package/dist/{icon-DIfnwdEU.js.map → icon-15JkoENS.js.map} +1 -1
- package/dist/{icon-7xUK_cdP.cjs → icon-YfFuud4F.cjs} +2 -2
- package/dist/{icon-7xUK_cdP.cjs.map → icon-YfFuud4F.cjs.map} +1 -1
- package/dist/{icon-button-BGp-CT3V.js → icon-button-BAcBicRW.js} +3 -3
- package/dist/{icon-button-BGp-CT3V.js.map → icon-button-BAcBicRW.js.map} +1 -1
- package/dist/{icon-button-BoKo-vxE.cjs → icon-button-CZkVj5Gr.cjs} +2 -2
- package/dist/{icon-button-BoKo-vxE.cjs.map → icon-button-CZkVj5Gr.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 +186 -185
- package/dist/index.js.map +1 -1
- package/dist/{input-BTHdBKs2.cjs → input-ClaO85hD.cjs} +2 -2
- package/dist/{input-BTHdBKs2.cjs.map → input-ClaO85hD.cjs.map} +1 -1
- package/dist/{input-nDx_PH0i.js → input-Cphkeayy.js} +3 -3
- package/dist/{input-nDx_PH0i.js.map → input-Cphkeayy.js.map} +1 -1
- package/dist/input-chip-B_YxvaM_.js +206 -0
- package/dist/input-chip-B_YxvaM_.js.map +1 -0
- package/dist/input-chip-DH-ltFro.cjs +147 -0
- package/dist/input-chip-DH-ltFro.cjs.map +1 -0
- 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-BToakhNz.js → list-B2OyjLBr.js} +2 -2
- package/dist/{list-BToakhNz.js.map → list-B2OyjLBr.js.map} +1 -1
- package/dist/{list-Cmj0mY-X.cjs → list-CWVDZZtG.cjs} +2 -2
- package/dist/{list-Cmj0mY-X.cjs.map → list-CWVDZZtG.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-CEPZ0lJP.js → litElement.mixin-BLL01IwU.js} +2 -2
- package/dist/{litElement.mixin-CEPZ0lJP.js.map → litElement.mixin-BLL01IwU.js.map} +1 -1
- package/dist/{litElement.mixin-B2K_bdpW.cjs → litElement.mixin-BPPLJYFS.cjs} +2 -2
- package/dist/{litElement.mixin-B2K_bdpW.cjs.map → litElement.mixin-BPPLJYFS.cjs.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-DuilOl8g.js → map-B9ubt4mI.js} +2 -2
- package/dist/{map-DuilOl8g.js.map → map-B9ubt4mI.js.map} +1 -1
- package/dist/{map-B_AGndzc.cjs → map-D7VQl1ze.cjs} +2 -2
- package/dist/{map-B_AGndzc.cjs.map → map-D7VQl1ze.cjs.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{media-BYpO4hxM.cjs → media-BR9n5jGK.cjs} +2 -2
- package/dist/{media-BYpO4hxM.cjs.map → media-BR9n5jGK.cjs.map} +1 -1
- package/dist/{media-Flyi23Fn.js → media-DO3qNgGt.js} +2 -2
- package/dist/{media-Flyi23Fn.js.map → media-DO3qNgGt.js.map} +1 -1
- package/dist/{menu-DJM8tj5e.cjs → menu-CvJnK0-w.cjs} +2 -2
- package/dist/{menu-DJM8tj5e.cjs.map → menu-CvJnK0-w.cjs.map} +1 -1
- package/dist/{menu-qoixd8dd.js → menu-bsNzQplx.js} +3 -3
- package/dist/{menu-qoixd8dd.js.map → menu-bsNzQplx.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/{navigation-rail-item-hYAXrNQM.cjs → navigation-rail-item-CIYl132t.cjs} +2 -2
- package/dist/{navigation-rail-item-hYAXrNQM.cjs.map → navigation-rail-item-CIYl132t.cjs.map} +1 -1
- package/dist/{navigation-rail-item-B83ZIkBr.js → navigation-rail-item-D0U9Bv8v.js} +2 -2
- package/dist/{navigation-rail-item-B83ZIkBr.js.map → navigation-rail-item-D0U9Bv8v.js.map} +1 -1
- package/dist/navigation-rail.cjs +1 -1
- package/dist/navigation-rail.js +1 -1
- package/dist/{notification-service-DX4fJZ9W.js → notification-service-B6kTK9f8.js} +4 -4
- package/dist/{notification-service-DX4fJZ9W.js.map → notification-service-B6kTK9f8.js.map} +1 -1
- package/dist/{notification-service-C5ApldUR.cjs → notification-service-BqPCHzMk.cjs} +2 -2
- package/dist/{notification-service-C5ApldUR.cjs.map → notification-service-BqPCHzMk.cjs.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-CZXq5oqO.cjs → notify-Chf1yM9w.cjs} +2 -2
- package/dist/{notify-CZXq5oqO.cjs.map → notify-Chf1yM9w.cjs.map} +1 -1
- package/dist/{notify-BZR-r5pn.js → notify-N2Lj3gOF.js} +2 -2
- package/dist/{notify-BZR-r5pn.js.map → notify-N2Lj3gOF.js.map} +1 -1
- package/dist/{option-MTri6AjG.js → option-BABnznfj.js} +2 -2
- package/dist/{option-MTri6AjG.js.map → option-BABnznfj.js.map} +1 -1
- package/dist/{option-CLHsQQRu.cjs → option-CDgsl2TT.cjs} +2 -2
- package/dist/{option-CLHsQQRu.cjs.map → option-CDgsl2TT.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-BvHRTm6O.js → payment-card-form-BNSDRorv.js} +3 -3
- package/dist/{payment-card-form-BvHRTm6O.js.map → payment-card-form-BNSDRorv.js.map} +1 -1
- package/dist/{payment-card-form-BplCPLQi.cjs → payment-card-form-WXjitMHB.cjs} +2 -2
- package/dist/{payment-card-form-BplCPLQi.cjs.map → payment-card-form-WXjitMHB.cjs.map} +1 -1
- package/dist/{progress-BEhplYKZ.js → progress-Beq4Xe-S.js} +2 -2
- package/dist/{progress-BEhplYKZ.js.map → progress-Beq4Xe-S.js.map} +1 -1
- package/dist/{progress-C-2JM-2b.cjs → progress-BtGtmBi7.cjs} +2 -2
- package/dist/{progress-C-2JM-2b.cjs.map → progress-BtGtmBi7.cjs.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-1rUV1bEw.js → radio-button-CG28a1LT.js} +3 -3
- package/dist/{radio-button-1rUV1bEw.js.map → radio-button-CG28a1LT.js.map} +1 -1
- package/dist/{radio-button-DTTyHAW3.cjs → radio-button-CnakZrSO.cjs} +2 -2
- package/dist/{radio-button-DTTyHAW3.cjs.map → radio-button-CnakZrSO.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-D9hAAg2V.cjs → schmancy-steps-container-QpLJruIo.cjs} +2 -2
- package/dist/{schmancy-steps-container-D9hAAg2V.cjs.map → schmancy-steps-container-QpLJruIo.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-CjVzZKkk.js → schmancy-steps-container-yxr-LZNi.js} +2 -2
- package/dist/{schmancy-steps-container-CjVzZKkk.js.map → schmancy-steps-container-yxr-LZNi.js.map} +1 -1
- package/dist/select-CUZpdUCq.cjs +57 -0
- package/dist/select-CUZpdUCq.cjs.map +1 -0
- package/dist/{select-DcvpJkwX.js → select-CunC_ID-.js} +41 -48
- package/dist/select-CunC_ID-.js.map +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-WxZAbHZ5.cjs → sheet-BGzaDFgr.cjs} +2 -2
- package/dist/{sheet-WxZAbHZ5.cjs.map → sheet-BGzaDFgr.cjs.map} +1 -1
- package/dist/{sheet-DH0GSs0F.js → sheet-CXqDbncl.js} +3 -3
- package/dist/{sheet-DH0GSs0F.js.map → sheet-CXqDbncl.js.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-CG-N2RQo.js → slider-B5GSIVPR.js} +3 -3
- package/dist/{slider-CG-N2RQo.js.map → slider-B5GSIVPR.js.map} +1 -1
- package/dist/{slider-CY7W7Psq.cjs → slider-DxqYv6Jo.cjs} +2 -2
- package/dist/{slider-CY7W7Psq.cjs.map → slider-DxqYv6Jo.cjs.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-D8Dc17fq.js → spinner-CCWR7Sws.js} +2 -2
- package/dist/{spinner-D8Dc17fq.js.map → spinner-CCWR7Sws.js.map} +1 -1
- package/dist/{spinner-CZaVYJ0a.cjs → spinner-D7uCUzAl.cjs} +2 -2
- package/dist/{spinner-CZaVYJ0a.cjs.map → spinner-D7uCUzAl.cjs.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/suggestion-chip-Bu7sdEk7.cjs +263 -0
- package/dist/suggestion-chip-Bu7sdEk7.cjs.map +1 -0
- package/dist/suggestion-chip-CZU8_pIO.js +464 -0
- package/dist/suggestion-chip-CZU8_pIO.js.map +1 -0
- package/dist/{surface-CvQMtIw-.cjs → surface-Bg3MJfBH.cjs} +2 -2
- package/dist/{surface-CvQMtIw-.cjs.map → surface-Bg3MJfBH.cjs.map} +1 -1
- package/dist/{surface-Cmmdx0F2.js → surface-DeVjYMUi.js} +2 -2
- package/dist/{surface-Cmmdx0F2.js.map → surface-DeVjYMUi.js.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-CSDX6lDq.js → table-BiVCQGSJ.js} +2 -2
- package/dist/{table-CSDX6lDq.js.map → table-BiVCQGSJ.js.map} +1 -1
- package/dist/{table-BJVlDuQa.cjs → table-Di4QNxO_.cjs} +2 -2
- package/dist/{table-BJVlDuQa.cjs.map → table-Di4QNxO_.cjs.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-CpSB50Sr.js → tabs-compatibility-CFhrfzOl.js} +2 -2
- package/dist/{tabs-compatibility-CpSB50Sr.js.map → tabs-compatibility-CFhrfzOl.js.map} +1 -1
- package/dist/{tabs-compatibility-lRm3kfw7.cjs → tabs-compatibility-CUxYgd3X.cjs} +2 -2
- package/dist/{tabs-compatibility-lRm3kfw7.cjs.map → tabs-compatibility-CUxYgd3X.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-2ShBHr1a.cjs +2 -0
- package/dist/{tailwind.mixin-BvVlz7hG.cjs.map → tailwind.mixin-2ShBHr1a.cjs.map} +1 -1
- package/dist/tailwind.mixin-DmqqUtYJ.js +43 -0
- package/dist/{tailwind.mixin-R2xLfpws.js.map → tailwind.mixin-DmqqUtYJ.js.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-D5YjtfC7.js → textarea-DjrtJ52c.js} +2 -2
- package/dist/{textarea-D5YjtfC7.js.map → textarea-DjrtJ52c.js.map} +1 -1
- package/dist/{textarea-BE1uxnbN.cjs → textarea-Dx2YcySC.cjs} +2 -2
- package/dist/{textarea-BE1uxnbN.cjs.map → textarea-Dx2YcySC.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-DXJTRh4E.cjs → theme-button-CqDZ3vMy.cjs} +2 -2
- package/dist/{theme-button-DXJTRh4E.cjs.map → theme-button-CqDZ3vMy.cjs.map} +1 -1
- package/dist/{theme-button-CeLy95-B.js → theme-button-DKmoCoVH.js} +2 -2
- package/dist/{theme-button-CeLy95-B.js.map → theme-button-DKmoCoVH.js.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.component-zoufYNW7.cjs → theme.component-C_0JLG3S.cjs} +2 -2
- package/dist/{theme.component-zoufYNW7.cjs.map → theme.component-C_0JLG3S.cjs.map} +1 -1
- package/dist/{theme.component-C03A-Sve.js → theme.component-hIiPaNUS.js} +15 -15
- package/dist/{theme.component-C03A-Sve.js.map → theme.component-hIiPaNUS.js.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-yu_c4i_H.js → timezone-CzVsIZ6c.js} +3 -3
- package/dist/{timezone-yu_c4i_H.js.map → timezone-CzVsIZ6c.js.map} +1 -1
- package/dist/{timezone-34kNWMce.cjs → timezone-DjBtAkZd.cjs} +2 -2
- package/dist/{timezone-34kNWMce.cjs.map → timezone-DjBtAkZd.cjs.map} +1 -1
- package/dist/{tooltip-37GQ15zd.js → tooltip-3OV6QZSa.js} +2 -2
- package/dist/{tooltip-37GQ15zd.js.map → tooltip-3OV6QZSa.js.map} +1 -1
- package/dist/{tooltip-DZK4j3n0.cjs → tooltip-BKjQtV4t.cjs} +2 -2
- package/dist/{tooltip-DZK4j3n0.cjs.map → tooltip-BKjQtV4t.cjs.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-CtMw5ja5.js → tree-BQpIukc4.js} +2 -2
- package/dist/{tree-CtMw5ja5.js.map → tree-BQpIukc4.js.map} +1 -1
- package/dist/{tree-D5fhY5eA.cjs → tree-Dpaal-fG.cjs} +2 -2
- package/dist/{tree-D5fhY5eA.cjs.map → tree-Dpaal-fG.cjs.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-DSTaSuRG.cjs → typewriter-ArbAvRWd.cjs} +2 -2
- package/dist/{typewriter-DSTaSuRG.cjs.map → typewriter-ArbAvRWd.cjs.map} +1 -1
- package/dist/{typewriter-DwS8NOZl.js → typewriter-DFXUT1BA.js} +7 -7
- package/dist/{typewriter-DwS8NOZl.js.map → typewriter-DFXUT1BA.js.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-CpKnNiTm.js → typography-CgCy9ltt.js} +2 -2
- package/dist/{typography-CpKnNiTm.js.map → typography-CgCy9ltt.js.map} +1 -1
- package/dist/{typography-DoswBHCt.cjs → typography-D2k5QYVM.cjs} +2 -2
- package/dist/{typography-DoswBHCt.cjs.map → typography-D2k5QYVM.cjs.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/types/src/autocomplete/autocomplete.d.ts +6 -0
- package/types/src/select/select.d.ts +0 -1
- package/dist/autocomplete-BFvzCShB.js +0 -241
- package/dist/autocomplete-BFvzCShB.js.map +0 -1
- package/dist/autocomplete-BcddCLwr.cjs +0 -57
- package/dist/autocomplete-BcddCLwr.cjs.map +0 -1
- package/dist/details-CL2VJWOL.cjs +0 -62
- package/dist/details-CL2VJWOL.cjs.map +0 -1
- package/dist/details-DPVTmuIs.js +0 -88
- package/dist/details-DPVTmuIs.js.map +0 -1
- package/dist/select-DcvpJkwX.js.map +0 -1
- package/dist/select-DzhUQc3r.cjs +0 -57
- package/dist/select-DzhUQc3r.cjs.map +0 -1
- package/dist/suggestion-chip-BeGEK7BS.cjs +0 -408
- package/dist/suggestion-chip-BeGEK7BS.cjs.map +0 -1
- package/dist/suggestion-chip-p0k9PAya.js +0 -661
- package/dist/suggestion-chip-p0k9PAya.js.map +0 -1
- package/dist/tailwind.mixin-BvVlz7hG.cjs +0 -2
- package/dist/tailwind.mixin-R2xLfpws.js +0 -43
|
@@ -1,661 +0,0 @@
|
|
|
1
|
-
import { T as C } from "./tailwind.mixin-R2xLfpws.js";
|
|
2
|
-
import { css as S, html as r, LitElement as E } from "lit";
|
|
3
|
-
import { property as l, state as w, customElement as R, queryAssignedElements as O } from "lit/decorators.js";
|
|
4
|
-
import { classMap as k } from "lit/directives/class-map.js";
|
|
5
|
-
import { BehaviorSubject as h, combineLatest as g } from "rxjs";
|
|
6
|
-
import { takeUntil as x, distinctUntilChanged as B, debounceTime as D, map as M, tap as H } from "rxjs/operators";
|
|
7
|
-
import "lit/directives/style-map.js";
|
|
8
|
-
import { $ as j } from "./litElement.mixin-CEPZ0lJP.js";
|
|
9
|
-
import { when as F } from "lit/directives/when.js";
|
|
10
|
-
var P = Object.defineProperty, I = Object.getOwnPropertyDescriptor, v = (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
|
-
};
|
|
14
|
-
let p = class extends C(S`
|
|
15
|
-
:host {
|
|
16
|
-
display: inline-block;
|
|
17
|
-
outline: none;
|
|
18
|
-
min-width:fit-content
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
:host([disabled]) {
|
|
22
|
-
pointer-events: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.ripple {
|
|
26
|
-
position: absolute;
|
|
27
|
-
border-radius: 50%;
|
|
28
|
-
transform: scale(0);
|
|
29
|
-
animation: ripple 600ms linear;
|
|
30
|
-
background-color: rgba(0, 0, 0, 0.08);
|
|
31
|
-
pointer-events: none;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@keyframes ripple {
|
|
35
|
-
to {
|
|
36
|
-
transform: scale(4);
|
|
37
|
-
opacity: 0;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* State layer for M3 hover/focus/pressed states */
|
|
42
|
-
.state-layer {
|
|
43
|
-
position: absolute;
|
|
44
|
-
inset: 0;
|
|
45
|
-
border-radius: inherit;
|
|
46
|
-
pointer-events: none;
|
|
47
|
-
background-color: currentColor;
|
|
48
|
-
opacity: 0;
|
|
49
|
-
transition: opacity 200ms ease;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
:host(:not([disabled])) button:hover .state-layer {
|
|
53
|
-
opacity: 0.08;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
:host(:not([disabled])) button:focus-visible .state-layer {
|
|
57
|
-
opacity: 0.1;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
:host(:not([disabled])) button:active .state-layer {
|
|
61
|
-
opacity: 0.1;
|
|
62
|
-
}
|
|
63
|
-
`) {
|
|
64
|
-
constructor() {
|
|
65
|
-
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) => {
|
|
66
|
-
if (this.disabled) return;
|
|
67
|
-
const t = this.shadowRoot?.querySelector("button");
|
|
68
|
-
if (t) {
|
|
69
|
-
const s = t.getBoundingClientRect(), o = e.clientX - s.left, a = e.clientY - s.top, i = this.nextRippleId++;
|
|
70
|
-
this.ripples = [...this.ripples, { x: o, y: a, id: i }], setTimeout(() => {
|
|
71
|
-
this.ripples = this.ripples.filter((n) => n.id !== i);
|
|
72
|
-
}, 600);
|
|
73
|
-
}
|
|
74
|
-
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 }));
|
|
75
|
-
}, this.handleKeyDown = (e) => {
|
|
76
|
-
if (!this.disabled && (e.key === "Enter" || e.key === " ")) {
|
|
77
|
-
e.preventDefault(), this.pressed$.next(!0);
|
|
78
|
-
const t = new MouseEvent("click", { bubbles: !0, cancelable: !0, clientX: 0, clientY: 0 });
|
|
79
|
-
this.handleClick(t), setTimeout(() => this.pressed$.next(!1), 100);
|
|
80
|
-
}
|
|
81
|
-
}, this.handleFocus = () => {
|
|
82
|
-
this.focused$.next(!0);
|
|
83
|
-
}, this.handleBlur = () => {
|
|
84
|
-
this.focused$.next(!1);
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
connectedCallback() {
|
|
88
|
-
super.connectedCallback(), g([this.hover$, this.pressed$, this.focused$]).pipe(x(this.disconnecting)).subscribe();
|
|
89
|
-
}
|
|
90
|
-
render() {
|
|
91
|
-
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 };
|
|
92
|
-
return r`
|
|
93
|
-
<button
|
|
94
|
-
type="button"
|
|
95
|
-
class=${k(t)}
|
|
96
|
-
?disabled=${this.disabled}
|
|
97
|
-
@click=${this.handleClick}
|
|
98
|
-
@keydown=${this.handleKeyDown}
|
|
99
|
-
@mouseenter=${() => this.hover$.next(!0)}
|
|
100
|
-
@mouseleave=${() => this.hover$.next(!1)}
|
|
101
|
-
@mousedown=${() => this.pressed$.next(!0)}
|
|
102
|
-
@mouseup=${() => this.pressed$.next(!1)}
|
|
103
|
-
@focus=${this.handleFocus}
|
|
104
|
-
@blur=${this.handleBlur}
|
|
105
|
-
tabindex=${this.disabled ? "-1" : "0"}
|
|
106
|
-
role="button"
|
|
107
|
-
aria-disabled=${this.disabled}
|
|
108
|
-
aria-label=${this.value}
|
|
109
|
-
>
|
|
110
|
-
${this.icon ? r`
|
|
111
|
-
<schmancy-icon class="text-[18px] shrink-0">${this.icon}</schmancy-icon>
|
|
112
|
-
` : ""}
|
|
113
|
-
<span class="text-sm font-medium leading-5">
|
|
114
|
-
<slot></slot>
|
|
115
|
-
</span>
|
|
116
|
-
|
|
117
|
-
<!-- Ripple effects -->
|
|
118
|
-
${this.ripples.map((s) => r`
|
|
119
|
-
<span
|
|
120
|
-
class="ripple"
|
|
121
|
-
style="left: ${s.x}px; top: ${s.y}px;"
|
|
122
|
-
></span>
|
|
123
|
-
`)}
|
|
124
|
-
|
|
125
|
-
<!-- State layer for M3 hover/focus/pressed states -->
|
|
126
|
-
<div class="state-layer"></div>
|
|
127
|
-
</button>
|
|
128
|
-
`;
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
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);
|
|
132
|
-
var L = Object.defineProperty, z = Object.getOwnPropertyDescriptor, $ = (e, t, s, o) => {
|
|
133
|
-
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);
|
|
134
|
-
return o && i && L(t, s, i), i;
|
|
135
|
-
};
|
|
136
|
-
let m = class extends j() {
|
|
137
|
-
constructor() {
|
|
138
|
-
super(...arguments), this.value$ = new h(""), this.values$ = new h([]), this._value = "", this._values = [], this._multi = !1, this._valueSet = !1, this._valuesSet = !1, this.wrap = !1;
|
|
139
|
-
}
|
|
140
|
-
get multi() {
|
|
141
|
-
return this._multi;
|
|
142
|
-
}
|
|
143
|
-
set multi(e) {
|
|
144
|
-
this._multi = e;
|
|
145
|
-
}
|
|
146
|
-
get mode() {
|
|
147
|
-
return this._valuesSet ? "multi" : this._valueSet ? "single" : this.hasAttribute("values") ? "multi" : this.hasAttribute("value") ? "single" : this._multi === !0 ? "multi" : "none";
|
|
148
|
-
}
|
|
149
|
-
get values() {
|
|
150
|
-
return this._values;
|
|
151
|
-
}
|
|
152
|
-
set values(e) {
|
|
153
|
-
this._values = e || [], this._valuesSet = !0, this.values$.next(this._values);
|
|
154
|
-
}
|
|
155
|
-
get value() {
|
|
156
|
-
return this._value;
|
|
157
|
-
}
|
|
158
|
-
set value(e) {
|
|
159
|
-
this._value = e || "", this._valueSet = !0, this.value$.next(this._value);
|
|
160
|
-
}
|
|
161
|
-
connectedCallback() {
|
|
162
|
-
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(D(0), x(this.disconnecting)).subscribe(([e, t]) => {
|
|
163
|
-
this.updateChipStates(this.mode, e, t);
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
updateChipStates(e, t, s) {
|
|
167
|
-
this.chips && e !== "none" && this.chips.forEach((o) => {
|
|
168
|
-
if ("value" in o && "selected" in o) {
|
|
169
|
-
const a = o;
|
|
170
|
-
e === "multi" ? a.selected = s.length > 0 && s.includes(a.value) : e === "single" && (a.selected = t !== "" && t === a.value);
|
|
171
|
-
}
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
async change(e) {
|
|
175
|
-
if (e.preventDefault(), e.stopPropagation(), this.mode === "none") return;
|
|
176
|
-
const { value: t, selected: s } = e.detail;
|
|
177
|
-
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 }));
|
|
178
|
-
}
|
|
179
|
-
firstUpdated(e) {
|
|
180
|
-
super.firstUpdated(e), this.updateChipStates(this.mode, this._value, this._values);
|
|
181
|
-
}
|
|
182
|
-
render() {
|
|
183
|
-
const e = this.classMap({ "inset-2": !0, flex: !0, "gap-2": !0, "items-center": !0, "flex-wrap": this.wrap, "overflow-x-auto": !this.wrap, "scrollbar-hide": !this.wrap });
|
|
184
|
-
return r`
|
|
185
|
-
<div class=${e} @change=${this.change}>
|
|
186
|
-
<slot
|
|
187
|
-
@slotchange=${() => {
|
|
188
|
-
this.updateChipStates(this.mode, this._value, this._values);
|
|
189
|
-
}}
|
|
190
|
-
></slot>
|
|
191
|
-
</div>
|
|
192
|
-
`;
|
|
193
|
-
}
|
|
194
|
-
};
|
|
195
|
-
$([l({ type: Boolean, reflect: !0 })], m.prototype, "multi", 1), $([l({ type: Array, reflect: !0 })], m.prototype, "values", 1), $([l({ type: String, reflect: !0 })], m.prototype, "value", 1), $([O({ selector: "schmancy-chip, schmancy-filter-chip, schmancy-assist-chip, schmancy-input-chip, schmancy-suggestion-chip", flatten: !0 })], m.prototype, "chips", 2), $([l({ type: Boolean, reflect: !0 })], m.prototype, "wrap", 2), m = $([R("schmancy-chips")], m);
|
|
196
|
-
var K = Object.defineProperty, T = Object.getOwnPropertyDescriptor, y = (e, t, s, o) => {
|
|
197
|
-
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);
|
|
198
|
-
return o && i && K(t, s, i), i;
|
|
199
|
-
};
|
|
200
|
-
const _ = class _ extends C(S`
|
|
201
|
-
:host {
|
|
202
|
-
display: inline-block;
|
|
203
|
-
outline: none;
|
|
204
|
-
min-width:fit-content
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
:host([disabled]) {
|
|
208
|
-
pointer-events: none;
|
|
209
|
-
opacity: 0.5;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
button {
|
|
213
|
-
font-family: inherit;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/* Material Symbols font for icons */
|
|
217
|
-
.material-symbols-outlined {
|
|
218
|
-
font-family: 'Material Symbols Outlined';
|
|
219
|
-
font-weight: normal;
|
|
220
|
-
font-style: normal;
|
|
221
|
-
font-size: 18px;
|
|
222
|
-
line-height: 1;
|
|
223
|
-
letter-spacing: normal;
|
|
224
|
-
text-transform: none;
|
|
225
|
-
display: inline-block;
|
|
226
|
-
white-space: nowrap;
|
|
227
|
-
word-wrap: normal;
|
|
228
|
-
direction: ltr;
|
|
229
|
-
-webkit-font-smoothing: antialiased;
|
|
230
|
-
text-rendering: optimizeLegibility;
|
|
231
|
-
-moz-osx-font-smoothing: grayscale;
|
|
232
|
-
font-feature-settings: 'liga';
|
|
233
|
-
vertical-align: middle;
|
|
234
|
-
}
|
|
235
|
-
`) {
|
|
236
|
-
constructor() {
|
|
237
|
-
super(), this.value = "", this._selected = !1, this.icon = "", this.removable = !1, this.disabled = !1, this.elevated = !1, this.hover$ = new h(!1), this.pressed$ = new h(!1), this.focused$ = new h(!1), this.handleClick = () => {
|
|
238
|
-
this.disabled || this.dispatchEvent(new CustomEvent("change", { detail: { value: this.value, selected: !this._selected }, bubbles: !0, composed: !0 }));
|
|
239
|
-
}, this.handleRemove = (t) => {
|
|
240
|
-
this.disabled || (t.stopPropagation(), this.dispatchEvent(new CustomEvent("remove", { detail: { value: this.value }, bubbles: !0, composed: !0 })));
|
|
241
|
-
}, this.handleKeyDown = (t) => {
|
|
242
|
-
this.disabled || t.key !== "Enter" && t.key !== " " || (t.preventDefault(), this.dispatchEvent(new CustomEvent("change", { detail: { value: this.value, selected: !this._selected }, bubbles: !0, composed: !0 })));
|
|
243
|
-
}, this.handleMouseEnter = () => {
|
|
244
|
-
this.hover$.next(!0);
|
|
245
|
-
}, this.handleMouseLeave = () => {
|
|
246
|
-
this.hover$.next(!1), this.pressed$.next(!1);
|
|
247
|
-
}, this.handleMouseDown = () => {
|
|
248
|
-
this.pressed$.next(!0);
|
|
249
|
-
}, this.handleMouseUp = () => {
|
|
250
|
-
this.pressed$.next(!1);
|
|
251
|
-
}, this.handleFocus = () => {
|
|
252
|
-
this.focused$.next(!0);
|
|
253
|
-
}, this.handleBlur = () => {
|
|
254
|
-
this.focused$.next(!1);
|
|
255
|
-
};
|
|
256
|
-
try {
|
|
257
|
-
this.internals = this.attachInternals();
|
|
258
|
-
} catch {
|
|
259
|
-
this.internals = void 0;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
get selected() {
|
|
263
|
-
return this._selected;
|
|
264
|
-
}
|
|
265
|
-
set selected(t) {
|
|
266
|
-
const s = this._selected;
|
|
267
|
-
this._selected = t, this.requestUpdate("selected", s);
|
|
268
|
-
}
|
|
269
|
-
get form() {
|
|
270
|
-
return this.internals?.form;
|
|
271
|
-
}
|
|
272
|
-
connectedCallback() {
|
|
273
|
-
super.connectedCallback(), g([this.hover$, this.pressed$, this.focused$]).pipe(x(this.disconnecting)).subscribe();
|
|
274
|
-
}
|
|
275
|
-
render() {
|
|
276
|
-
const t = { "inline-flex": !0, "items-center": !0, "gap-2": !0, "rounded-full": !0, "h-8 px-4": !0, "cursor-pointer": !this.disabled, "transition-all": !0, "duration-200": !0, "select-none": !0, "text-sm": !0, "font-medium": !0, border: !0, relative: !0, "min-h-[32px]": !0, "bg-secondary-container": this._selected, "text-secondary-onContainer": this._selected, "border-secondary-container": this._selected, "bg-surface-container": !this._selected, "text-surface-on": !this._selected, "border-outline-variant": !this._selected, "hover:brightness-95": this._selected && !this.disabled, "hover:bg-surface-containerHigh": !this._selected && !this.disabled, "active:scale-95": !this.disabled, "focus-visible:outline": !this.disabled, "focus-visible:outline-2": !this.disabled, "focus-visible:outline-offset-2": !this.disabled, "focus-visible:outline-primary-default": !this.disabled, "shadow-md": this.elevated && !this.disabled, "hover:shadow-lg": this.elevated && !this.disabled, "opacity-50": this.disabled, "cursor-not-allowed": this.disabled };
|
|
277
|
-
return r`
|
|
278
|
-
<button
|
|
279
|
-
class=${this.classMap(t)}
|
|
280
|
-
@click=${this.handleClick}
|
|
281
|
-
@keydown=${this.handleKeyDown}
|
|
282
|
-
@mouseenter=${this.handleMouseEnter}
|
|
283
|
-
@mouseleave=${this.handleMouseLeave}
|
|
284
|
-
@mousedown=${this.handleMouseDown}
|
|
285
|
-
@mouseup=${this.handleMouseUp}
|
|
286
|
-
@focus=${this.handleFocus}
|
|
287
|
-
@blur=${this.handleBlur}
|
|
288
|
-
?disabled=${this.disabled}
|
|
289
|
-
aria-pressed=${this._selected ? "true" : "false"}
|
|
290
|
-
role="checkbox"
|
|
291
|
-
tabindex="0"
|
|
292
|
-
>
|
|
293
|
-
<!-- Icon container - conditionally shown using when directive -->
|
|
294
|
-
${F(this._selected || this.icon || this.iconSlotElements?.length > 0, () => r`
|
|
295
|
-
<span class="inline-flex w-[18px] h-[18px] items-center justify-center shrink-0">
|
|
296
|
-
${this._selected ? r`
|
|
297
|
-
<span class="material-symbols-outlined text-[18px]">
|
|
298
|
-
check
|
|
299
|
-
</span>
|
|
300
|
-
` : this.icon ? r`
|
|
301
|
-
<span class="material-symbols-outlined text-[18px]">
|
|
302
|
-
${this.icon}
|
|
303
|
-
</span>
|
|
304
|
-
` : r`
|
|
305
|
-
<slot name="icon"></slot>
|
|
306
|
-
`}
|
|
307
|
-
</span>
|
|
308
|
-
`)}
|
|
309
|
-
|
|
310
|
-
<!-- Chip content -->
|
|
311
|
-
<slot></slot>
|
|
312
|
-
|
|
313
|
-
<!-- Remove button (if removable) -->
|
|
314
|
-
${this.removable ? r`
|
|
315
|
-
<button
|
|
316
|
-
class="ml-1 -mr-1 p-0.5 rounded-full hover:bg-surface-containerHighest transition-colors"
|
|
317
|
-
@click=${this.handleRemove}
|
|
318
|
-
aria-label="Remove filter"
|
|
319
|
-
tabindex="-1"
|
|
320
|
-
>
|
|
321
|
-
<span class="material-symbols-outlined text-sm sm:text-[16px]">
|
|
322
|
-
close
|
|
323
|
-
</span>
|
|
324
|
-
</button>
|
|
325
|
-
` : ""}
|
|
326
|
-
</button>
|
|
327
|
-
`;
|
|
328
|
-
}
|
|
329
|
-
};
|
|
330
|
-
_.shadowRootOptions = { ...E.shadowRootOptions, delegatesFocus: !0 }, _.formAssociated = !0;
|
|
331
|
-
let d = _;
|
|
332
|
-
if (y([l({ type: String, reflect: !0 })], d.prototype, "value", 2), y([l({ type: Boolean, reflect: !0 })], d.prototype, "selected", 1), y([l({ type: String, reflect: !0 })], d.prototype, "icon", 2), y([l({ type: Boolean, reflect: !0 })], d.prototype, "removable", 2), y([l({ type: Boolean, reflect: !0 })], d.prototype, "disabled", 2), y([l({ type: Boolean, reflect: !0 })], d.prototype, "elevated", 2), y([O({ slot: "icon" })], d.prototype, "iconSlotElements", 2), customElements.get("schmancy-filter-chip") || customElements.define("schmancy-filter-chip", d), !customElements.get("schmancy-chip")) {
|
|
333
|
-
class e extends d {
|
|
334
|
-
}
|
|
335
|
-
customElements.define("schmancy-chip", e);
|
|
336
|
-
}
|
|
337
|
-
var U = Object.defineProperty, A = Object.getOwnPropertyDescriptor, b = (e, t, s, o) => {
|
|
338
|
-
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);
|
|
339
|
-
return o && i && U(t, s, i), i;
|
|
340
|
-
};
|
|
341
|
-
let c = class extends C(S`
|
|
342
|
-
:host {
|
|
343
|
-
display: inline-block;
|
|
344
|
-
outline: none;
|
|
345
|
-
min-width:fit-content
|
|
346
|
-
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
:host([disabled]) {
|
|
350
|
-
pointer-events: none;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
button {
|
|
354
|
-
font-family: inherit;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.avatar-img {
|
|
358
|
-
width: 20px;
|
|
359
|
-
height: 20px;
|
|
360
|
-
object-fit: cover;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
/* Material Symbols font for icons */
|
|
364
|
-
.material-symbols-outlined {
|
|
365
|
-
font-family: 'Material Symbols Outlined';
|
|
366
|
-
font-weight: normal;
|
|
367
|
-
font-style: normal;
|
|
368
|
-
font-size: 18px;
|
|
369
|
-
line-height: 1;
|
|
370
|
-
letter-spacing: normal;
|
|
371
|
-
text-transform: none;
|
|
372
|
-
display: inline-block;
|
|
373
|
-
white-space: nowrap;
|
|
374
|
-
word-wrap: normal;
|
|
375
|
-
direction: ltr;
|
|
376
|
-
-webkit-font-smoothing: antialiased;
|
|
377
|
-
text-rendering: optimizeLegibility;
|
|
378
|
-
-moz-osx-font-smoothing: grayscale;
|
|
379
|
-
font-feature-settings: 'liga';
|
|
380
|
-
vertical-align: middle;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.ripple {
|
|
384
|
-
position: absolute;
|
|
385
|
-
border-radius: 50%;
|
|
386
|
-
transform: scale(0);
|
|
387
|
-
animation: ripple 600ms linear;
|
|
388
|
-
background-color: rgba(0, 0, 0, 0.08);
|
|
389
|
-
pointer-events: none;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
@keyframes ripple {
|
|
393
|
-
to {
|
|
394
|
-
transform: scale(4);
|
|
395
|
-
opacity: 0;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
/* State layer for M3 hover/focus/pressed states */
|
|
400
|
-
.state-layer {
|
|
401
|
-
position: absolute;
|
|
402
|
-
inset: 0;
|
|
403
|
-
border-radius: inherit;
|
|
404
|
-
pointer-events: none;
|
|
405
|
-
background-color: currentColor;
|
|
406
|
-
opacity: 0;
|
|
407
|
-
transition: opacity 200ms ease;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
:host(:not([disabled])) .chip-container:hover .state-layer {
|
|
411
|
-
opacity: 0.08;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
:host(:not([disabled])) .chip-container:focus-visible .state-layer {
|
|
415
|
-
opacity: 0.1;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
:host(:not([disabled])) .chip-container:active .state-layer {
|
|
419
|
-
opacity: 0.1;
|
|
420
|
-
}
|
|
421
|
-
`) {
|
|
422
|
-
constructor() {
|
|
423
|
-
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) => {
|
|
424
|
-
if (this.disabled) return;
|
|
425
|
-
const t = this.shadowRoot?.querySelector(".chip-container");
|
|
426
|
-
if (t) {
|
|
427
|
-
const s = t.getBoundingClientRect(), o = e.clientX - s.left, a = e.clientY - s.top, i = this.nextRippleId++;
|
|
428
|
-
this.ripples = [...this.ripples, { x: o, y: a, id: i }], setTimeout(() => {
|
|
429
|
-
this.ripples = this.ripples.filter((n) => n.id !== i);
|
|
430
|
-
}, 600);
|
|
431
|
-
}
|
|
432
|
-
this.dispatchEvent(new CustomEvent("click", { detail: { value: this.value }, bubbles: !0, composed: !0 }));
|
|
433
|
-
}, this.handleRemove = (e) => {
|
|
434
|
-
this.disabled || (e.stopPropagation(), this.dispatchEvent(new CustomEvent("remove", { detail: { value: this.value }, bubbles: !0, composed: !0 })));
|
|
435
|
-
}, this.handleKeyDown = (e) => {
|
|
436
|
-
if (!this.disabled) if (e.key !== "Delete" && e.key !== "Backspace" || !this.removable) {
|
|
437
|
-
if (e.key === "Enter") {
|
|
438
|
-
e.preventDefault();
|
|
439
|
-
const t = new MouseEvent("click", { bubbles: !0, cancelable: !0, clientX: 0, clientY: 0 });
|
|
440
|
-
this.handleChipClick(t);
|
|
441
|
-
}
|
|
442
|
-
} else e.preventDefault(), this.handleRemove(e);
|
|
443
|
-
}, this.handleFocus = () => {
|
|
444
|
-
this.focused$.next(!0);
|
|
445
|
-
}, this.handleBlur = () => {
|
|
446
|
-
this.focused$.next(!1);
|
|
447
|
-
};
|
|
448
|
-
try {
|
|
449
|
-
this.internals = this.attachInternals();
|
|
450
|
-
} catch {
|
|
451
|
-
this.internals = void 0;
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
get form() {
|
|
455
|
-
return this.internals?.form;
|
|
456
|
-
}
|
|
457
|
-
connectedCallback() {
|
|
458
|
-
super.connectedCallback(), g([this.chipHover$, this.removeHover$, this.focused$, this.pressed$]).pipe(M(([e, t, s, o]) => ({ chipHover: e, removeHover: t, focused: s, pressed: o })), H((e) => {
|
|
459
|
-
this.uiState = e;
|
|
460
|
-
}), x(this.disconnecting)).subscribe();
|
|
461
|
-
}
|
|
462
|
-
render() {
|
|
463
|
-
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 };
|
|
464
|
-
return r`
|
|
465
|
-
<div
|
|
466
|
-
class=${k(t)}
|
|
467
|
-
@click=${this.handleChipClick}
|
|
468
|
-
@keydown=${this.handleKeyDown}
|
|
469
|
-
@mouseenter=${() => this.chipHover$.next(!0)}
|
|
470
|
-
@mouseleave=${() => this.chipHover$.next(!1)}
|
|
471
|
-
@mousedown=${() => this.pressed$.next(!0)}
|
|
472
|
-
@mouseup=${() => this.pressed$.next(!1)}
|
|
473
|
-
@focus=${this.handleFocus}
|
|
474
|
-
@blur=${this.handleBlur}
|
|
475
|
-
role="button"
|
|
476
|
-
tabindex=${this.disabled ? "-1" : "0"}
|
|
477
|
-
aria-disabled=${this.disabled}
|
|
478
|
-
aria-label=${this.value}
|
|
479
|
-
>
|
|
480
|
-
<!-- Avatar image (if provided) -->
|
|
481
|
-
${this.avatar ? r`
|
|
482
|
-
<img
|
|
483
|
-
src=${this.avatar}
|
|
484
|
-
alt=""
|
|
485
|
-
class="avatar-img rounded-full size-5"
|
|
486
|
-
/>
|
|
487
|
-
` : ""}
|
|
488
|
-
|
|
489
|
-
<!-- Icon (if provided and no avatar) -->
|
|
490
|
-
${this.icon && !this.avatar ? r`
|
|
491
|
-
<span class="material-symbols-outlined text-[18px] shrink-0">
|
|
492
|
-
${this.icon}
|
|
493
|
-
</span>
|
|
494
|
-
` : ""}
|
|
495
|
-
|
|
496
|
-
<!-- Chip content -->
|
|
497
|
-
<span class="text-sm font-medium leading-5">
|
|
498
|
-
<slot></slot>
|
|
499
|
-
</span>
|
|
500
|
-
|
|
501
|
-
<!-- Remove button (shown by default for input chips) -->
|
|
502
|
-
${this.removable ? r`
|
|
503
|
-
<button
|
|
504
|
-
class=${k(s)}
|
|
505
|
-
@click=${this.handleRemove}
|
|
506
|
-
@mouseenter=${() => this.removeHover$.next(!0)}
|
|
507
|
-
@mouseleave=${() => this.removeHover$.next(!1)}
|
|
508
|
-
aria-label="Remove"
|
|
509
|
-
tabindex="-1"
|
|
510
|
-
?disabled=${this.disabled}
|
|
511
|
-
>
|
|
512
|
-
<span class="material-symbols-outlined text-[18px]">
|
|
513
|
-
close
|
|
514
|
-
</span>
|
|
515
|
-
</button>
|
|
516
|
-
` : ""}
|
|
517
|
-
|
|
518
|
-
<!-- Ripple effects -->
|
|
519
|
-
${this.ripples.map((o) => r`
|
|
520
|
-
<span
|
|
521
|
-
class="ripple"
|
|
522
|
-
style="left: ${o.x}px; top: ${o.y}px;"
|
|
523
|
-
></span>
|
|
524
|
-
`)}
|
|
525
|
-
|
|
526
|
-
<!-- State layer for M3 hover/focus/pressed states -->
|
|
527
|
-
<div class="state-layer"></div>
|
|
528
|
-
</div>
|
|
529
|
-
`;
|
|
530
|
-
}
|
|
531
|
-
};
|
|
532
|
-
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);
|
|
533
|
-
var q = Object.defineProperty, X = Object.getOwnPropertyDescriptor, f = (e, t, s, o) => {
|
|
534
|
-
for (var a, i = o > 1 ? void 0 : o ? X(t, s) : t, n = e.length - 1; n >= 0; n--) (a = e[n]) && (i = (o ? a(t, s, i) : a(i)) || i);
|
|
535
|
-
return o && i && q(t, s, i), i;
|
|
536
|
-
};
|
|
537
|
-
let u = class extends C(S`
|
|
538
|
-
:host {
|
|
539
|
-
display: inline-block;
|
|
540
|
-
outline: none;
|
|
541
|
-
min-width:fit-content
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
:host([disabled]) {
|
|
545
|
-
pointer-events: none;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
.ripple {
|
|
549
|
-
position: absolute;
|
|
550
|
-
border-radius: 50%;
|
|
551
|
-
transform: scale(0);
|
|
552
|
-
animation: ripple 600ms linear;
|
|
553
|
-
background-color: rgba(0, 0, 0, 0.08);
|
|
554
|
-
pointer-events: none;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
@keyframes ripple {
|
|
558
|
-
to {
|
|
559
|
-
transform: scale(4);
|
|
560
|
-
opacity: 0;
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
/* State layer for M3 hover/focus/pressed states */
|
|
565
|
-
.state-layer {
|
|
566
|
-
position: absolute;
|
|
567
|
-
inset: 0;
|
|
568
|
-
border-radius: inherit;
|
|
569
|
-
pointer-events: none;
|
|
570
|
-
background-color: currentColor;
|
|
571
|
-
opacity: 0;
|
|
572
|
-
transition: opacity 200ms ease;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
:host(:not([disabled])) button:hover .state-layer {
|
|
576
|
-
opacity: 0.08;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
:host(:not([disabled])) button:focus-visible .state-layer {
|
|
580
|
-
opacity: 0.1;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
:host(:not([disabled])) button:active .state-layer {
|
|
584
|
-
opacity: 0.1;
|
|
585
|
-
}
|
|
586
|
-
`) {
|
|
587
|
-
constructor() {
|
|
588
|
-
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) => {
|
|
589
|
-
if (this.disabled) return;
|
|
590
|
-
const t = this.shadowRoot?.querySelector("button");
|
|
591
|
-
if (t) {
|
|
592
|
-
const s = t.getBoundingClientRect(), o = e.clientX - s.left, a = e.clientY - s.top, i = this.nextRippleId++;
|
|
593
|
-
this.ripples = [...this.ripples, { x: o, y: a, id: i }], setTimeout(() => {
|
|
594
|
-
this.ripples = this.ripples.filter((n) => n.id !== i);
|
|
595
|
-
}, 600);
|
|
596
|
-
}
|
|
597
|
-
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 }));
|
|
598
|
-
}, this.handleKeyDown = (e) => {
|
|
599
|
-
if (!this.disabled && (e.key === "Enter" || e.key === " ")) {
|
|
600
|
-
e.preventDefault(), this.pressed$.next(!0);
|
|
601
|
-
const t = new MouseEvent("click", { bubbles: !0, cancelable: !0, clientX: 0, clientY: 0 });
|
|
602
|
-
this.handleClick(t), setTimeout(() => this.pressed$.next(!1), 100);
|
|
603
|
-
}
|
|
604
|
-
}, this.handleFocus = () => {
|
|
605
|
-
this.focused$.next(!0);
|
|
606
|
-
}, this.handleBlur = () => {
|
|
607
|
-
this.focused$.next(!1);
|
|
608
|
-
};
|
|
609
|
-
}
|
|
610
|
-
connectedCallback() {
|
|
611
|
-
super.connectedCallback(), g([this.hover$, this.pressed$, this.focused$]).pipe(x(this.disconnecting)).subscribe();
|
|
612
|
-
}
|
|
613
|
-
render() {
|
|
614
|
-
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 };
|
|
615
|
-
return r`
|
|
616
|
-
<button
|
|
617
|
-
type="button"
|
|
618
|
-
class=${k(t)}
|
|
619
|
-
?disabled=${this.disabled}
|
|
620
|
-
@click=${this.handleClick}
|
|
621
|
-
@keydown=${this.handleKeyDown}
|
|
622
|
-
@mouseenter=${() => this.hover$.next(!0)}
|
|
623
|
-
@mouseleave=${() => this.hover$.next(!1)}
|
|
624
|
-
@mousedown=${() => this.pressed$.next(!0)}
|
|
625
|
-
@mouseup=${() => this.pressed$.next(!1)}
|
|
626
|
-
@focus=${this.handleFocus}
|
|
627
|
-
@blur=${this.handleBlur}
|
|
628
|
-
tabindex=${this.disabled ? "-1" : "0"}
|
|
629
|
-
role="button"
|
|
630
|
-
aria-disabled=${this.disabled}
|
|
631
|
-
aria-label=${this.value}
|
|
632
|
-
>
|
|
633
|
-
${this.icon ? r`
|
|
634
|
-
<schmancy-icon class="text-[18px] shrink-0">${this.icon}</schmancy-icon>
|
|
635
|
-
` : ""}
|
|
636
|
-
<span class="text-sm font-medium leading-5">
|
|
637
|
-
<slot></slot>
|
|
638
|
-
</span>
|
|
639
|
-
|
|
640
|
-
<!-- Ripple effects -->
|
|
641
|
-
${this.ripples.map((s) => r`
|
|
642
|
-
<span
|
|
643
|
-
class="ripple"
|
|
644
|
-
style="left: ${s.x}px; top: ${s.y}px;"
|
|
645
|
-
></span>
|
|
646
|
-
`)}
|
|
647
|
-
|
|
648
|
-
<!-- State layer for M3 hover/focus/pressed states -->
|
|
649
|
-
<div class="state-layer"></div>
|
|
650
|
-
</button>
|
|
651
|
-
`;
|
|
652
|
-
}
|
|
653
|
-
};
|
|
654
|
-
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);
|
|
655
|
-
export {
|
|
656
|
-
p as S,
|
|
657
|
-
d as a,
|
|
658
|
-
c as b,
|
|
659
|
-
u as c
|
|
660
|
-
};
|
|
661
|
-
//# sourceMappingURL=suggestion-chip-p0k9PAya.js.map
|