@mhmo91/schmancy 0.6.18 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/menu.md +117 -186
- package/dist/ai/menu.md +117 -186
- package/dist/{animated-text-CgKXZOvy.cjs → animated-text-B8pXfnjg.cjs} +2 -2
- package/dist/{animated-text-CgKXZOvy.cjs.map → animated-text-B8pXfnjg.cjs.map} +1 -1
- package/dist/{animated-text-Df3UZBT2.js → animated-text-C7RzcmyV.js} +3 -3
- package/dist/{animated-text-Df3UZBT2.js.map → animated-text-C7RzcmyV.js.map} +1 -1
- package/dist/animated-text.cjs +1 -1
- package/dist/animated-text.js +1 -1
- package/dist/area.cjs +1 -1
- package/dist/{area.component-DXQff5kK.js → area.component-DfGcGjsN.js} +3 -3
- package/dist/{area.component-DXQff5kK.js.map → area.component-DfGcGjsN.js.map} +1 -1
- package/dist/{area.component-_AwKbrLf.cjs → area.component-TRIJcSoQ.cjs} +2 -2
- package/dist/{area.component-_AwKbrLf.cjs.map → area.component-TRIJcSoQ.cjs.map} +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-DLzc6eqO.js → autocomplete-Bhv2JOnL.js} +4 -4
- package/dist/autocomplete-Bhv2JOnL.js.map +1 -0
- package/dist/{autocomplete-DEzGDw9s.cjs → autocomplete-Dio0lk_E.cjs} +2 -2
- package/dist/autocomplete-Dio0lk_E.cjs.map +1 -0
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-RIbulvWL.js → avatar-BCLeThlA.js} +51 -51
- package/dist/{avatar-RIbulvWL.js.map → avatar-BCLeThlA.js.map} +1 -1
- package/dist/{avatar-Wu763qgL.cjs → avatar-DecX7RJw.cjs} +2 -2
- package/dist/{avatar-Wu763qgL.cjs.map → avatar-DecX7RJw.cjs.map} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-VzOnSD8z.cjs → boat-B3IhIJhy.cjs} +2 -2
- package/dist/{boat-VzOnSD8z.cjs.map → boat-B3IhIJhy.cjs.map} +1 -1
- package/dist/{boat-CWADeoFv.js → boat-DrAkyCAd.js} +3 -3
- package/dist/{boat-CWADeoFv.js.map → boat-DrAkyCAd.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-ZryxdmZz.js → checkbox-BKT1cZnv.js} +2 -2
- package/dist/checkbox-BKT1cZnv.js.map +1 -0
- package/dist/{checkbox-DClxbWbU.cjs → checkbox-C4CHTajr.cjs} +2 -2
- package/dist/checkbox-C4CHTajr.cjs.map +1 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +2 -2
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-BoYqlMxl.cjs → code-preview-CEbRCvUd.cjs} +2 -2
- package/dist/code-preview-CEbRCvUd.cjs.map +1 -0
- package/dist/{code-preview-Bn2K5K9h.js → code-preview-DzMETSJv.js} +2 -2
- package/dist/code-preview-DzMETSJv.js.map +1 -0
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/consume-5D1qfVWM.js.map +1 -1
- package/dist/consume-edta5ng5.cjs.map +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/context-create-CA907mdD.cjs.map +1 -1
- package/dist/context-create-DCiujzV2.js.map +1 -1
- package/dist/{date-range-CCQsqKSy.js → date-range-B-5LtvhH.js} +3 -3
- package/dist/date-range-B-5LtvhH.js.map +1 -0
- package/dist/{date-range-B-rPnyst.cjs → date-range-B1PGOR7h.cjs} +2 -2
- package/dist/date-range-B1PGOR7h.cjs.map +1 -0
- package/dist/{date-range-inline-DO0Ps_QS.js → date-range-inline-D90CpK7z.js} +3 -3
- package/dist/{date-range-inline-DO0Ps_QS.js.map → date-range-inline-D90CpK7z.js.map} +1 -1
- package/dist/{date-range-inline-NACS06ev.cjs → date-range-inline-DLV7jB_x.cjs} +2 -2
- package/dist/{date-range-inline-NACS06ev.cjs.map → date-range-inline-DLV7jB_x.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-BaltOHAs.js → delay-D5RAR00M.js} +2 -2
- package/dist/delay-D5RAR00M.js.map +1 -0
- package/dist/{delay-DzqfMSBJ.cjs → delay-UAjkp-21.cjs} +2 -2
- package/dist/delay-UAjkp-21.cjs.map +1 -0
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-Bic4ZKNZ.js → details-CiuixU2H.js} +2 -2
- package/dist/{details-Bic4ZKNZ.js.map → details-CiuixU2H.js.map} +1 -1
- package/dist/{details-DPSpg2dL.cjs → details-RHTdNCLS.cjs} +2 -2
- package/dist/{details-DPSpg2dL.cjs.map → details-RHTdNCLS.cjs.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-CR4l1Yts.cjs → dialog-content-BF1xiYWw.cjs} +2 -2
- package/dist/{dialog-content-CR4l1Yts.cjs.map → dialog-content-BF1xiYWw.cjs.map} +1 -1
- package/dist/{dialog-content-CwsV3nWG.js → dialog-content-dtIrTHLU.js} +3 -3
- package/dist/{dialog-content-CwsV3nWG.js.map → dialog-content-dtIrTHLU.js.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/{divider-ChXDN5-E.js → divider-DcEB9uHV.js} +3 -3
- package/dist/{divider-ChXDN5-E.js.map → divider-DcEB9uHV.js.map} +1 -1
- package/dist/{divider-CpiE9MZW.cjs → divider-ZhcWRyc2.cjs} +2 -2
- package/dist/{divider-CpiE9MZW.cjs.map → divider-ZhcWRyc2.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-BmA6vuhB.js → dropdown-content-BoUnfAyz.js} +3 -3
- package/dist/{dropdown-content-BmA6vuhB.js.map → dropdown-content-BoUnfAyz.js.map} +1 -1
- package/dist/{dropdown-content-8I1uIUoF.cjs → dropdown-content-klaWLDI-.cjs} +2 -2
- package/dist/{dropdown-content-8I1uIUoF.cjs.map → dropdown-content-klaWLDI-.cjs.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-Cl_-UNWo.cjs → email-recipients-DA2HLG8K.cjs} +2 -2
- package/dist/{email-recipients-Cl_-UNWo.cjs.map → email-recipients-DA2HLG8K.cjs.map} +1 -1
- package/dist/{email-recipients-Ew87bYRp.js → email-recipients-yN1Jcu9X.js} +6 -6
- package/dist/{email-recipients-Ew87bYRp.js.map → email-recipients-yN1Jcu9X.js.map} +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-DsHnuUb7.cjs → flex-CYCtLC7W.cjs} +2 -2
- package/dist/{flex-DsHnuUb7.cjs.map → flex-CYCtLC7W.cjs.map} +1 -1
- package/dist/{flex-CW7oSqU1.js → flex-C_fGjgWC.js} +2 -2
- package/dist/{flex-CW7oSqU1.js.map → flex-C_fGjgWC.js.map} +1 -1
- package/dist/flow-D0e7hGXO.cjs.map +1 -1
- package/dist/flow-DXYqC9OA.js.map +1 -1
- package/dist/{form-DZ9l7TjO.cjs → form-CYBgxvdH.cjs} +2 -2
- package/dist/{form-DZ9l7TjO.cjs.map → form-CYBgxvdH.cjs.map} +1 -1
- package/dist/{form-C5d6gWUg.js → form-Dn3XWE7d.js} +2 -2
- package/dist/{form-C5d6gWUg.js.map → form-Dn3XWE7d.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-BW4RaqbT.cjs → formField.mixin-D_gQgJXC.cjs} +2 -2
- package/dist/{formField.mixin-BW4RaqbT.cjs.map → formField.mixin-D_gQgJXC.cjs.map} +1 -1
- package/dist/{formField.mixin-DpD9oPMR.js → formField.mixin-Ds2S1kRc.js} +2 -2
- package/dist/{formField.mixin-DpD9oPMR.js.map → formField.mixin-Ds2S1kRc.js.map} +1 -1
- package/dist/{icon-BATnNWHh.js → icon-Bw8hqRtQ.js} +2 -2
- package/dist/{icon-BATnNWHh.js.map → icon-Bw8hqRtQ.js.map} +1 -1
- package/dist/{icon-CV5KKSMK.cjs → icon-DYGsNRVu.cjs} +2 -2
- package/dist/{icon-CV5KKSMK.cjs.map → icon-DYGsNRVu.cjs.map} +1 -1
- package/dist/{icon-button-CST9ztNW.cjs → icon-button-BfjcTNKq.cjs} +3 -3
- package/dist/icon-button-BfjcTNKq.cjs.map +1 -0
- package/dist/{icon-button-BlyzaNtE.js → icon-button-Cu-RShdY.js} +7 -7
- package/dist/icon-button-Cu-RShdY.js.map +1 -0
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/index-CCi1otmh.cjs.map +1 -1
- package/dist/index-CW6PhEkx.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +50 -50
- package/dist/{input-RPj2xLz4.cjs → input-D-YRT2vo.cjs} +2 -2
- package/dist/input-D-YRT2vo.cjs.map +1 -0
- package/dist/{input-BJvZX3nK.js → input-UlrGLoXt.js} +3 -3
- package/dist/input-UlrGLoXt.js.map +1 -0
- package/dist/{input-chip-CyvaAJiR.js → input-chip-BwEuJAV5.js} +2 -2
- package/dist/{input-chip-CyvaAJiR.js.map → input-chip-BwEuJAV5.js.map} +1 -1
- package/dist/{input-chip-CGilKpgN.cjs → input-chip-pho9bYvS.cjs} +2 -2
- package/dist/{input-chip-CGilKpgN.cjs.map → input-chip-pho9bYvS.cjs.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/{list-Dqwbw_0L.js → list-B4x432bs.js} +2 -2
- package/dist/{list-Dqwbw_0L.js.map → list-B4x432bs.js.map} +1 -1
- package/dist/{list-Dphnkgjm.cjs → list-CyCR5ywg.cjs} +2 -2
- package/dist/{list-Dphnkgjm.cjs.map → list-CyCR5ywg.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-BbwZRaPp.js → litElement.mixin-BPe38Tqd.js} +2 -2
- package/dist/{litElement.mixin-BbwZRaPp.js.map → litElement.mixin-BPe38Tqd.js.map} +1 -1
- package/dist/{litElement.mixin-1i17ImwN.cjs → litElement.mixin-DXaT0TQx.cjs} +2 -2
- package/dist/{litElement.mixin-1i17ImwN.cjs.map → litElement.mixin-DXaT0TQx.cjs.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-DEjWWl14.cjs → map-C2fG3es8.cjs} +2 -2
- package/dist/{map-DEjWWl14.cjs.map → map-C2fG3es8.cjs.map} +1 -1
- package/dist/{map-BHfXl4eZ.js → map-CNoi0TZi.js} +2 -2
- package/dist/{map-BHfXl4eZ.js.map → map-CNoi0TZi.js.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{media-CFqac3i-.js → media-D_ne5TmT.js} +2 -2
- package/dist/{media-CFqac3i-.js.map → media-D_ne5TmT.js.map} +1 -1
- package/dist/{media-wEB2juTQ.cjs → media-dMr54ISj.cjs} +2 -2
- package/dist/{media-wEB2juTQ.cjs.map → media-dMr54ISj.cjs.map} +1 -1
- package/dist/menu-BdWhwHXc.js +89 -0
- package/dist/menu-BdWhwHXc.js.map +1 -0
- package/dist/menu-BsX4Mjjn.cjs +23 -0
- package/dist/menu-BsX4Mjjn.cjs.map +1 -0
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/mixins.cjs +2 -0
- package/dist/mixins.cjs.map +1 -0
- package/dist/mixins.js +12 -0
- package/dist/mixins.js.map +1 -0
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/navigation-bar.cjs +1 -1
- package/dist/navigation-bar.js +1 -1
- package/dist/{navigation-rail-Cdklj_Vy.js → navigation-rail-DM2NQY_2.js} +3 -3
- package/dist/{navigation-rail-Cdklj_Vy.js.map → navigation-rail-DM2NQY_2.js.map} +1 -1
- package/dist/{navigation-rail-eNmqnFXJ.cjs → navigation-rail-DfFgV2PX.cjs} +2 -2
- package/dist/{navigation-rail-eNmqnFXJ.cjs.map → navigation-rail-DfFgV2PX.cjs.map} +1 -1
- package/dist/navigation-rail.cjs +1 -1
- package/dist/navigation-rail.js +1 -1
- package/dist/{notification-service-jityv87S.cjs → notification-service-Cm_0BsnA.cjs} +2 -2
- package/dist/{notification-service-jityv87S.cjs.map → notification-service-Cm_0BsnA.cjs.map} +1 -1
- package/dist/{notification-service-CqxmKVJX.js → notification-service-DDfyKN2r.js} +4 -4
- package/dist/{notification-service-CqxmKVJX.js.map → notification-service-DDfyKN2r.js.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-C8EM_JmR.js → notify-BGHQRbsD.js} +2 -2
- package/dist/{notify-C8EM_JmR.js.map → notify-BGHQRbsD.js.map} +1 -1
- package/dist/{notify-CxqHlCZF.cjs → notify-DMoBBADS.cjs} +2 -2
- package/dist/{notify-CxqHlCZF.cjs.map → notify-DMoBBADS.cjs.map} +1 -1
- package/dist/{option-COJIldwK.js → option-EBGoYClu.js} +2 -2
- package/dist/{option-COJIldwK.js.map → option-EBGoYClu.js.map} +1 -1
- package/dist/{option-CBQoRZ86.cjs → option-MaqD_vGw.cjs} +2 -2
- package/dist/{option-CBQoRZ86.cjs.map → option-MaqD_vGw.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-BzDuKScU.cjs → payment-card-form-DZmaLaVl.cjs} +2 -2
- package/dist/payment-card-form-DZmaLaVl.cjs.map +1 -0
- package/dist/{payment-card-form-CHMYeZs2.js → payment-card-form-p_Wj1NRm.js} +3 -3
- package/dist/payment-card-form-p_Wj1NRm.js.map +1 -0
- package/dist/{progress-nOhWloHs.cjs → progress-BqIOFoJX.cjs} +2 -2
- package/dist/{progress-nOhWloHs.cjs.map → progress-BqIOFoJX.cjs.map} +1 -1
- package/dist/{progress-CtNg2SPw.js → progress-DC88fksT.js} +2 -2
- package/dist/{progress-CtNg2SPw.js.map → progress-DC88fksT.js.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/provide-BxZ2kn_p.cjs.map +1 -1
- package/dist/provide-tcktw8xB.js.map +1 -1
- package/dist/{radio-button-DttgXEeY.cjs → radio-button-BfpkkEgE.cjs} +2 -2
- package/dist/radio-button-BfpkkEgE.cjs.map +1 -0
- package/dist/{radio-button-DggshTfa.js → radio-button-DQA5Kswx.js} +3 -3
- package/dist/radio-button-DQA5Kswx.js.map +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-DhtHaKgX.js → schmancy-steps-container-Br5qKWIs.js} +2 -2
- package/dist/{schmancy-steps-container-DhtHaKgX.js.map → schmancy-steps-container-Br5qKWIs.js.map} +1 -1
- package/dist/{schmancy-steps-container-hIBLjMgI.cjs → schmancy-steps-container-Cr2B9C-w.cjs} +2 -2
- package/dist/{schmancy-steps-container-hIBLjMgI.cjs.map → schmancy-steps-container-Cr2B9C-w.cjs.map} +1 -1
- package/dist/{select-BqyRn0cF.js → select-B_DaDLhe.js} +3 -3
- package/dist/select-B_DaDLhe.js.map +1 -0
- package/dist/{select-xZKW8cHu.cjs → select-DwaiJBG2.cjs} +2 -2
- package/dist/select-DwaiJBG2.cjs.map +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-DE8jIQUk.js → sheet-5c6WR3vS.js} +5 -5
- package/dist/{sheet-DE8jIQUk.js.map → sheet-5c6WR3vS.js.map} +1 -1
- package/dist/{sheet-C6Liqa_3.cjs → sheet-BrK8_X4J.cjs} +2 -2
- package/dist/{sheet-C6Liqa_3.cjs.map → sheet-BrK8_X4J.cjs.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +2 -2
- package/dist/{sheet.service-NAV5vSsM.cjs → sheet.service-BkKHvgFa.cjs} +2 -2
- package/dist/{sheet.service-NAV5vSsM.cjs.map → sheet.service-BkKHvgFa.cjs.map} +1 -1
- package/dist/{sheet.service-1jZMJbNp.js → sheet.service-EPEmcCpX.js} +2 -2
- package/dist/{sheet.service-1jZMJbNp.js.map → sheet.service-EPEmcCpX.js.map} +1 -1
- package/dist/{slider-BvbkpEef.js → slider-CiNvtgZJ.js} +3 -3
- package/dist/{slider-BvbkpEef.js.map → slider-CiNvtgZJ.js.map} +1 -1
- package/dist/{slider-lEoCLK-7.cjs → slider-DW9URxIY.cjs} +2 -2
- package/dist/{slider-lEoCLK-7.cjs.map → slider-DW9URxIY.cjs.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-CQxy0lF3.cjs → spinner-9JRrKdub.cjs} +2 -2
- package/dist/{spinner-CQxy0lF3.cjs.map → spinner-9JRrKdub.cjs.map} +1 -1
- package/dist/{spinner-DdG6BEOr.js → spinner-D8stZ8uP.js} +2 -2
- package/dist/{spinner-DdG6BEOr.js.map → spinner-D8stZ8uP.js.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{suggestion-chip-BRz15zwU.js → suggestion-chip-CXPMf7Je.js} +3 -3
- package/dist/{suggestion-chip-BRz15zwU.js.map → suggestion-chip-CXPMf7Je.js.map} +1 -1
- package/dist/{suggestion-chip-DK4xFJvZ.cjs → suggestion-chip-inBIBMff.cjs} +2 -2
- package/dist/{suggestion-chip-DK4xFJvZ.cjs.map → suggestion-chip-inBIBMff.cjs.map} +1 -1
- package/dist/{surface-C3vER2uq.js → surface-BcZEnDON.js} +2 -2
- package/dist/{surface-C3vER2uq.js.map → surface-BcZEnDON.js.map} +1 -1
- package/dist/{surface-Bt1FetPM.cjs → surface-BsrV4kzE.cjs} +2 -2
- package/dist/{surface-Bt1FetPM.cjs.map → surface-BsrV4kzE.cjs.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-DhheYeQ8.js → table-B5CHKp8S.js} +2 -2
- package/dist/table-B5CHKp8S.js.map +1 -0
- package/dist/{table-DYay68qu.cjs → table-CzejyN5W.cjs} +2 -2
- package/dist/table-CzejyN5W.cjs.map +1 -0
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-C-gQwADa.js → tabs-compatibility-8NddfF1x.js} +2 -2
- package/dist/{tabs-compatibility-C-gQwADa.js.map → tabs-compatibility-8NddfF1x.js.map} +1 -1
- package/dist/{tabs-compatibility-Dz5YaB06.cjs → tabs-compatibility-UitZoxcs.cjs} +2 -2
- package/dist/{tabs-compatibility-Dz5YaB06.cjs.map → tabs-compatibility-UitZoxcs.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-2PdnHg0B.cjs +2 -0
- package/dist/{tailwind.mixin-Ge3p8F8Z.cjs.map → tailwind.mixin-2PdnHg0B.cjs.map} +1 -1
- package/dist/tailwind.mixin-BgdEBNZM.js +67 -0
- package/dist/{tailwind.mixin-BTS7jBB1.js.map → tailwind.mixin-BgdEBNZM.js.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-DmoZM65K.js → textarea-2oVdZPXR.js} +2 -2
- package/dist/textarea-2oVdZPXR.js.map +1 -0
- package/dist/{textarea-Dn1lmlIx.cjs → textarea-D24UakyK.cjs} +2 -2
- package/dist/textarea-D24UakyK.cjs.map +1 -0
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-CtF2dxRy.cjs → theme-button-D0Xi4WHC.cjs} +2 -2
- package/dist/{theme-button-CtF2dxRy.cjs.map → theme-button-D0Xi4WHC.cjs.map} +1 -1
- package/dist/{theme-button-BkoRO_Ko.js → theme-button-D4BhpOj6.js} +2 -2
- package/dist/{theme-button-BkoRO_Ko.js.map → theme-button-D4BhpOj6.js.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/{theme-controller-boat-DDsW4EOJ.js → theme-controller-boat-C8AnrOkJ.js} +4 -4
- package/dist/theme-controller-boat-C8AnrOkJ.js.map +1 -0
- package/dist/{theme-controller-boat-CBQlbHHc.cjs → theme-controller-boat-r74J3tyl.cjs} +2 -2
- package/dist/theme-controller-boat-r74J3tyl.cjs.map +1 -0
- package/dist/theme.cjs +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-DM_3vLZj.cjs → timezone-BbGoZoJM.cjs} +2 -2
- package/dist/{timezone-DM_3vLZj.cjs.map → timezone-BbGoZoJM.cjs.map} +1 -1
- package/dist/{timezone-C-V8qJE3.js → timezone-D4wUA6zL.js} +3 -3
- package/dist/{timezone-C-V8qJE3.js.map → timezone-D4wUA6zL.js.map} +1 -1
- package/dist/{tooltip-Cw5mfhRj.js → tooltip-BL92Hwwe.js} +2 -2
- package/dist/{tooltip-Cw5mfhRj.js.map → tooltip-BL92Hwwe.js.map} +1 -1
- package/dist/{tooltip-DntsYOsj.cjs → tooltip-DxdU3Drr.cjs} +2 -2
- package/dist/{tooltip-DntsYOsj.cjs.map → tooltip-DxdU3Drr.cjs.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-C3487udC.cjs → tree-BuGpk0as.cjs} +2 -2
- package/dist/{tree-C3487udC.cjs.map → tree-BuGpk0as.cjs.map} +1 -1
- package/dist/{tree-DimUJjcj.js → tree-cZIPOana.js} +2 -2
- package/dist/{tree-DimUJjcj.js.map → tree-cZIPOana.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/tslib.es6-DgOcxv4s.cjs.map +1 -1
- package/dist/tslib.es6-ujVQHAQ4.js.map +1 -1
- package/dist/{typewriter-B7nBcBU9.js → typewriter-DT0f_Fla.js} +4 -4
- package/dist/typewriter-DT0f_Fla.js.map +1 -0
- package/dist/{typewriter-CHcRZUee.cjs → typewriter-Dc7MHBRy.cjs} +2 -2
- package/dist/typewriter-Dc7MHBRy.cjs.map +1 -0
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-CRVUouR2.cjs → typography-BBCRpsA_.cjs} +2 -2
- package/dist/{typography-CRVUouR2.cjs.map → typography-BBCRpsA_.cjs.map} +1 -1
- package/dist/{typography-DnZjZEIe.js → typography-DayYVIRD.js} +2 -2
- package/dist/{typography-DnZjZEIe.js.map → typography-DayYVIRD.js.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +4 -10
- package/types/src/autocomplete/autocomplete.d.ts +11 -0
- package/types/src/extra/timezone/timezone.d.ts +8 -0
- package/types/src/input/input.d.ts +1 -0
- package/types/src/menu/menu.d.ts +5 -6
- package/types/src/radio-group/radio-button.d.ts +8 -0
- package/types/src/select/select.d.ts +11 -0
- package/types/src/textarea/textarea.d.ts +12 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Display-Bold.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Display-Light.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Display-Medium.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Display-Regular.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Display-Thin.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Display-UBold.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Display-ULight.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Text-Bold-Italic.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Text-Bold.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Text-Book-Italic.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Text-Book.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Text-Light.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Text-Medium-Italic.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Text-Medium.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Text-Regular.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Text-Thin-Italic.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Text-Thin.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Text-ULight-Italic.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Pro-Text-ULight.woff +0 -0
- package/dist/GT-Eesti/GT-Eesti-Text-Regular.woff2 +0 -0
- package/dist/_headers +0 -3
- package/dist/autocomplete-DEzGDw9s.cjs.map +0 -1
- package/dist/autocomplete-DLzc6eqO.js.map +0 -1
- package/dist/checkbox-DClxbWbU.cjs.map +0 -1
- package/dist/checkbox-ZryxdmZz.js.map +0 -1
- package/dist/code-preview-Bn2K5K9h.js.map +0 -1
- package/dist/code-preview-BoYqlMxl.cjs.map +0 -1
- package/dist/date-range-B-rPnyst.cjs.map +0 -1
- package/dist/date-range-CCQsqKSy.js.map +0 -1
- package/dist/delay-BaltOHAs.js.map +0 -1
- package/dist/delay-DzqfMSBJ.cjs.map +0 -1
- package/dist/icon-button-BlyzaNtE.js.map +0 -1
- package/dist/icon-button-CST9ztNW.cjs.map +0 -1
- package/dist/input-BJvZX3nK.js.map +0 -1
- package/dist/input-RPj2xLz4.cjs.map +0 -1
- package/dist/logo-dark.png +0 -0
- package/dist/menu-BlR27aWR.js +0 -100
- package/dist/menu-BlR27aWR.js.map +0 -1
- package/dist/menu-DYWTnN4u.cjs +0 -36
- package/dist/menu-DYWTnN4u.cjs.map +0 -1
- package/dist/mixins/baseElement.ts +0 -73
- package/dist/mixins/constructor.ts +0 -3
- package/dist/mixins/discovery.service.ts +0 -60
- package/dist/mixins/formField.mixin.ts +0 -223
- package/dist/mixins/index.ts +0 -5
- package/dist/mixins/litElement.mixin.ts +0 -15
- package/dist/mixins/scss.d.ts +0 -21
- package/dist/mixins/tailwind.css +0 -201
- package/dist/mixins/tailwind.mixin.ts +0 -30
- package/dist/netlify.toml +0 -366
- package/dist/payment-card-form-BzDuKScU.cjs.map +0 -1
- package/dist/payment-card-form-CHMYeZs2.js.map +0 -1
- package/dist/radio-button-DggshTfa.js.map +0 -1
- package/dist/radio-button-DttgXEeY.cjs.map +0 -1
- package/dist/select-BqyRn0cF.js.map +0 -1
- package/dist/select-xZKW8cHu.cjs.map +0 -1
- package/dist/table-DYay68qu.cjs.map +0 -1
- package/dist/table-DhheYeQ8.js.map +0 -1
- package/dist/tailwind.mixin-BTS7jBB1.js +0 -66
- package/dist/tailwind.mixin-Ge3p8F8Z.cjs +0 -2
- package/dist/textarea-DmoZM65K.js.map +0 -1
- package/dist/textarea-Dn1lmlIx.cjs.map +0 -1
- package/dist/theme-controller-boat-CBQlbHHc.cjs.map +0 -1
- package/dist/theme-controller-boat-DDsW4EOJ.js.map +0 -1
- package/dist/typewriter-B7nBcBU9.js.map +0 -1
- package/dist/typewriter-CHcRZUee.cjs.map +0 -1
- package/readme.md +0 -307
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { fromEvent, timer, race, Observable } from 'rxjs'
|
|
2
|
-
import { takeUntil, map, defaultIfEmpty } from 'rxjs/operators'
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Discover a component in the DOM using the WhereAreYou/HereIAm pattern.
|
|
6
|
-
*
|
|
7
|
-
* @param componentTag - The tag name of the component to discover (e.g., 'schmancy-navigation-rail')
|
|
8
|
-
* @param timeout - How long to wait for a response in milliseconds (default: 100)
|
|
9
|
-
* @returns Observable that emits the discovered component or null if not found
|
|
10
|
-
*/
|
|
11
|
-
export function discoverComponent<T extends HTMLElement>(
|
|
12
|
-
componentTag: string,
|
|
13
|
-
timeout = 100,
|
|
14
|
-
): Observable<T | null> {
|
|
15
|
-
const whereAreYouEvent = `${componentTag}-where-are-you`
|
|
16
|
-
const hereIAmEvent = `${componentTag}-here-i-am`
|
|
17
|
-
|
|
18
|
-
return new Observable(subscriber => {
|
|
19
|
-
// Listen for response first (you were right!)
|
|
20
|
-
const subscription = fromEvent<CustomEvent>(window, hereIAmEvent)
|
|
21
|
-
.pipe(
|
|
22
|
-
takeUntil(timer(timeout)),
|
|
23
|
-
map(e => e.detail.component as T),
|
|
24
|
-
defaultIfEmpty(null),
|
|
25
|
-
)
|
|
26
|
-
.subscribe(component => {
|
|
27
|
-
subscriber.next(component)
|
|
28
|
-
subscriber.complete()
|
|
29
|
-
})
|
|
30
|
-
|
|
31
|
-
// Then dispatch discovery request
|
|
32
|
-
window.dispatchEvent(
|
|
33
|
-
new CustomEvent(whereAreYouEvent, {
|
|
34
|
-
bubbles: true,
|
|
35
|
-
composed: true,
|
|
36
|
-
}),
|
|
37
|
-
)
|
|
38
|
-
|
|
39
|
-
// Return cleanup function
|
|
40
|
-
return () => subscription.unsubscribe()
|
|
41
|
-
})
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Discover any of multiple components using race.
|
|
46
|
-
* Returns the first component that responds.
|
|
47
|
-
*
|
|
48
|
-
* @param componentTags - Array of component tag names to discover
|
|
49
|
-
* @returns Observable that emits the first discovered component or null if none found
|
|
50
|
-
*/
|
|
51
|
-
export function discoverAnyComponent<T extends HTMLElement>(...componentTags: string[]): Observable<T | null> {
|
|
52
|
-
if (componentTags.length === 0) {
|
|
53
|
-
return new Observable(subscriber => {
|
|
54
|
-
subscriber.next(null)
|
|
55
|
-
subscriber.complete()
|
|
56
|
-
})
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
return race(...componentTags.map(tag => discoverComponent<T>(tag)))
|
|
60
|
-
}
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import { CSSResult, LitElement, PropertyValueMap } from 'lit'
|
|
2
|
-
import { property } from 'lit/decorators.js'
|
|
3
|
-
import { IBaseMixin } from './baseElement'
|
|
4
|
-
import { Constructor } from './constructor'
|
|
5
|
-
import { ITailwindElementMixin, TailwindElement } from './tailwind.mixin'
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Interface defining the properties and methods that the FormFieldMixin adds.
|
|
9
|
-
*/
|
|
10
|
-
export interface IFormFieldMixin extends Element {
|
|
11
|
-
// Properties
|
|
12
|
-
name: string
|
|
13
|
-
value: string | string[] | boolean | number | undefined
|
|
14
|
-
label: string
|
|
15
|
-
required: boolean
|
|
16
|
-
disabled: boolean
|
|
17
|
-
readonly: boolean
|
|
18
|
-
error: boolean
|
|
19
|
-
validationMessage: string
|
|
20
|
-
hint?: string
|
|
21
|
-
id: string
|
|
22
|
-
|
|
23
|
-
// Form association
|
|
24
|
-
form: HTMLFormElement | null
|
|
25
|
-
|
|
26
|
-
// Methods
|
|
27
|
-
checkValidity(): boolean
|
|
28
|
-
reportValidity(): boolean
|
|
29
|
-
setCustomValidity(message: string): void
|
|
30
|
-
|
|
31
|
-
// Event emitter helper
|
|
32
|
-
emitChange(detail: any): void
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* A mixin that adds form field capabilities to a LitElement class.
|
|
37
|
-
* This provides common form field properties, validation, and form association.
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* ```ts
|
|
41
|
-
* class MyInput extends FormFieldMixin(TailwindElement(css`...`)) {
|
|
42
|
-
* // Your component code here
|
|
43
|
-
* }
|
|
44
|
-
* ```
|
|
45
|
-
*/
|
|
46
|
-
export function FormFieldMixin<T extends Constructor<LitElement>>(superClass: T) {
|
|
47
|
-
class FormFieldMixinClass extends superClass {
|
|
48
|
-
static formAssociated = true
|
|
49
|
-
|
|
50
|
-
// Element internals for form association
|
|
51
|
-
private internals: ElementInternals | undefined
|
|
52
|
-
|
|
53
|
-
// Properties common to form fields
|
|
54
|
-
/**
|
|
55
|
-
* The name of the form field (used for form submission)
|
|
56
|
-
*/
|
|
57
|
-
@property({ type: String })
|
|
58
|
-
name: string = ''
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* The current value of the form field
|
|
62
|
-
*/
|
|
63
|
-
@property({ reflect: true })
|
|
64
|
-
value: string | string[] | boolean | number | undefined = ''
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Label text for the form field
|
|
68
|
-
*/
|
|
69
|
-
@property({ type: String })
|
|
70
|
-
label: string = ''
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Whether the field is required
|
|
74
|
-
*/
|
|
75
|
-
@property({ type: Boolean, reflect: true })
|
|
76
|
-
required: boolean = false
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Whether the field is disabled
|
|
80
|
-
*/
|
|
81
|
-
@property({ type: Boolean, reflect: true })
|
|
82
|
-
disabled: boolean = false
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Whether the field is read-only
|
|
86
|
-
*/
|
|
87
|
-
@property({ type: Boolean, reflect: true })
|
|
88
|
-
readonly: boolean = false
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Whether the field is in an error state
|
|
92
|
-
*/
|
|
93
|
-
@property({ type: Boolean, reflect: true })
|
|
94
|
-
error: boolean = false
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* The validation message to display
|
|
98
|
-
*/
|
|
99
|
-
@property({ type: String })
|
|
100
|
-
validationMessage: string = ''
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Optional hint text to display below the field
|
|
104
|
-
*/
|
|
105
|
-
@property({ type: String })
|
|
106
|
-
hint?: string
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Unique identifier for the field
|
|
110
|
-
*/
|
|
111
|
-
@property({ reflect: true })
|
|
112
|
-
override id: string = `schmancy-field-${Date.now()}-${Math.floor(Math.random() * 1000)}`
|
|
113
|
-
|
|
114
|
-
constructor(...args: any[]) {
|
|
115
|
-
super(...args)
|
|
116
|
-
try {
|
|
117
|
-
this.internals = this.attachInternals()
|
|
118
|
-
} catch {
|
|
119
|
-
this.internals = undefined
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Gets the form this element is associated with
|
|
125
|
-
*/
|
|
126
|
-
get form(): HTMLFormElement | null {
|
|
127
|
-
return this.internals?.form ?? null
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Lifecycle method called when properties change
|
|
132
|
-
*/
|
|
133
|
-
protected willUpdate(changedProps: PropertyValueMap<any>): void {
|
|
134
|
-
super.willUpdate(changedProps)
|
|
135
|
-
|
|
136
|
-
// Update form value when value changes
|
|
137
|
-
if (changedProps.has('value')) {
|
|
138
|
-
this.internals?.setFormValue(this.value as string | File | FormData | null)
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
// Update validation state when error or validation message changes
|
|
142
|
-
if (changedProps.has('error') || changedProps.has('validationMessage')) {
|
|
143
|
-
if (this.error && this.validationMessage) {
|
|
144
|
-
this.internals?.setValidity({ customError: true }, this.validationMessage)
|
|
145
|
-
} else {
|
|
146
|
-
this.internals?.setValidity({})
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Checks if the field is valid without showing validation UI
|
|
153
|
-
*/
|
|
154
|
-
checkValidity(): boolean {
|
|
155
|
-
if (this.disabled) return true
|
|
156
|
-
|
|
157
|
-
if (this.required && (this.value === '' || this.value === undefined || this.value === null)) {
|
|
158
|
-
this.error = true
|
|
159
|
-
this.validationMessage = 'This field is required'
|
|
160
|
-
return false
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
return true
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* Reports validity and shows validation UI if invalid
|
|
168
|
-
*/
|
|
169
|
-
reportValidity(): boolean {
|
|
170
|
-
const isValid = this.checkValidity()
|
|
171
|
-
if (!isValid) {
|
|
172
|
-
this.internals?.reportValidity()
|
|
173
|
-
}
|
|
174
|
-
return isValid
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Sets a custom validation message
|
|
179
|
-
*/
|
|
180
|
-
setCustomValidity(message: string): void {
|
|
181
|
-
this.validationMessage = message
|
|
182
|
-
this.error = message !== ''
|
|
183
|
-
if (message) {
|
|
184
|
-
this.internals?.setValidity({ customError: true }, message)
|
|
185
|
-
} else {
|
|
186
|
-
this.internals?.setValidity({})
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Helper method to emit change events
|
|
192
|
-
*/
|
|
193
|
-
emitChange(detail: any): void {
|
|
194
|
-
this.dispatchEvent(
|
|
195
|
-
new CustomEvent('change', {
|
|
196
|
-
detail,
|
|
197
|
-
bubbles: true,
|
|
198
|
-
composed: true,
|
|
199
|
-
}),
|
|
200
|
-
)
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
return FormFieldMixinClass as Constructor<IFormFieldMixin> & T
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* A convenience function that composes FormFieldMixin with TailwindElement
|
|
209
|
-
* to create a base class for Schmancy form components.
|
|
210
|
-
*
|
|
211
|
-
* @example
|
|
212
|
-
* ```ts
|
|
213
|
-
* class MyInput extends SchmancyFormField(css`...`) {
|
|
214
|
-
* // Your component code here
|
|
215
|
-
* }
|
|
216
|
-
* ```
|
|
217
|
-
*/
|
|
218
|
-
export function SchmancyFormField<T extends CSSResult>(componentStyle?: T) {
|
|
219
|
-
return FormFieldMixin(TailwindElement(componentStyle)) as Constructor<IFormFieldMixin> &
|
|
220
|
-
Constructor<ITailwindElementMixin> &
|
|
221
|
-
Constructor<LitElement> &
|
|
222
|
-
Constructor<IBaseMixin>
|
|
223
|
-
}
|
package/dist/mixins/index.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CSSResult, LitElement } from 'lit'
|
|
2
|
-
import { TailwindElement } from './tailwind.mixin'
|
|
3
|
-
import { BaseElement, IBaseMixin } from './baseElement'
|
|
4
|
-
import { Constructor } from './constructor'
|
|
5
|
-
|
|
6
|
-
export const $LitElement = <T extends CSSResult>(componentStyle?: T) => {
|
|
7
|
-
class TailwindMixinClass extends BaseElement(TailwindElement(componentStyle)) {
|
|
8
|
-
disconnectedCallback = () => {
|
|
9
|
-
super.disconnectedCallback()
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
return TailwindMixinClass as CustomElementConstructor &
|
|
13
|
-
Constructor<LitElement> &
|
|
14
|
-
Constructor<IBaseMixin> /* see "typing the subclass" below */
|
|
15
|
-
}
|
package/dist/mixins/scss.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
declare module '*.scss?inline' {
|
|
2
|
-
import { type CSSResult } from 'lit'
|
|
3
|
-
const styles: CSSResult
|
|
4
|
-
export default styles
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
declare module '*.module.scss' {
|
|
8
|
-
const classes: Record<string, string>
|
|
9
|
-
export default classes
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
declare module '*.css?inline' {
|
|
13
|
-
import { type CSSResult } from 'lit'
|
|
14
|
-
const styles: CSSResult
|
|
15
|
-
export default styles
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
declare module '*.module.css' {
|
|
19
|
-
const classes: Record<string, string>
|
|
20
|
-
export default classes
|
|
21
|
-
}
|
package/dist/mixins/tailwind.css
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
@import 'tailwindcss';
|
|
2
|
-
:host,
|
|
3
|
-
:root {
|
|
4
|
-
font-family: var(--schmancy-font-family);
|
|
5
|
-
}
|
|
6
|
-
@theme inline {
|
|
7
|
-
--md-ref-typeface-brand: var(--schmancy-font-family);
|
|
8
|
-
--md-ref-typeface-plain: var(--schmancy-font-family);
|
|
9
|
-
--md-sys-color-primary: var(--schmancy-sys-color-primary-default);
|
|
10
|
-
--md-sys-color-secondary: var(--schmancy-sys-color-secondary-default);
|
|
11
|
-
|
|
12
|
-
--*: initial;
|
|
13
|
-
--border-style: solid;
|
|
14
|
-
--spacing: 4px;
|
|
15
|
-
--color-scrim: var(--schmancy-sys-color-scrim);
|
|
16
|
-
--color-outline: var(--schmancy-sys-color-outline);
|
|
17
|
-
--color-outlineVariant: var(--schmancy-sys-color-outlineVariant);
|
|
18
|
-
--color-surface-default: var(--schmancy-sys-color-surface-default);
|
|
19
|
-
--color-surface-dim: var(--schmancy-sys-color-surface-dim);
|
|
20
|
-
--color-surface-bright: var(--schmancy-sys-color-surface-bright);
|
|
21
|
-
--color-surface-container: var(--schmancy-sys-color-surface-container);
|
|
22
|
-
--color-surface-low: var(--schmancy-sys-color-surface-low);
|
|
23
|
-
--color-surface-high: var(--schmancy-sys-color-surface-high);
|
|
24
|
-
--color-surface-highest: var(--schmancy-sys-color-surface-highest);
|
|
25
|
-
--color-surface-lowest: var(--schmancy-sys-color-surface-lowest);
|
|
26
|
-
--color-surface-on: var(--schmancy-sys-color-surface-on);
|
|
27
|
-
--color-surface-onVariant: var(--schmancy-sys-color-surface-onVariant);
|
|
28
|
-
--color-primary-default: var(--schmancy-sys-color-primary-default);
|
|
29
|
-
--color-primary-on: var(--schmancy-sys-color-primary-on);
|
|
30
|
-
--color-primary-container: var(--schmancy-sys-color-primary-container);
|
|
31
|
-
--color-primary-onContainer: var(--schmancy-sys-color-primary-onContainer);
|
|
32
|
-
--color-secondary-default: var(--schmancy-sys-color-secondary-default);
|
|
33
|
-
--color-secondary-on: var(--schmancy-sys-color-secondary-on);
|
|
34
|
-
--color-secondary-container: var(--schmancy-sys-color-secondary-container);
|
|
35
|
-
--color-secondary-onContainer: var(--schmancy-sys-color-secondary-onContainer);
|
|
36
|
-
--color-tertiary-default: var(--schmancy-sys-color-tertiary-default);
|
|
37
|
-
--color-tertiary-on: var(--schmancy-sys-color-tertiary-on);
|
|
38
|
-
--color-tertiary-container: var(--schmancy-sys-color-tertiary-container);
|
|
39
|
-
--color-tertiary-onContainer: var(--schmancy-sys-color-tertiary-onContainer);
|
|
40
|
-
--color-error-default: var(--schmancy-sys-color-error-default);
|
|
41
|
-
--color-error-on: var(--schmancy-sys-color-error-on);
|
|
42
|
-
--color-error-container: var(--schmancy-sys-color-error-container);
|
|
43
|
-
--color-error-onContainer: var(--schmancy-sys-color-error-onContainer);
|
|
44
|
-
--color-success-default: var(--schmancy-sys-color-success-default);
|
|
45
|
-
--color-success-on: var(--schmancy-sys-color-success-on);
|
|
46
|
-
--color-success-container: var(--schmancy-sys-color-success-container);
|
|
47
|
-
--color-success-onContainer: var(--schmancy-sys-color-success-onContainer);
|
|
48
|
-
--shadow-0: var(--schmancy-sys-elevation-0);
|
|
49
|
-
--shadow-1: var(--schmancy-sys-elevation-1);
|
|
50
|
-
--shadow-2: var(--schmancy-sys-elevation-2);
|
|
51
|
-
--shadow-3: var(--schmancy-sys-elevation-3);
|
|
52
|
-
--shadow-4: var(--schmancy-sys-elevation-4);
|
|
53
|
-
--shadow-5: var(--schmancy-sys-elevation-5);
|
|
54
|
-
--outline-1: var(--schmancy-sys-outline-1);
|
|
55
|
-
--font-sans:
|
|
56
|
-
var(--schmancy-font-family), ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
57
|
-
'Segoe UI Symbol', 'Noto Color Emoji';
|
|
58
|
-
--font-serif: var(--schmancy-font-family), ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
59
|
-
--font-mono:
|
|
60
|
-
var(--schmancy-font-family), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
|
|
61
|
-
'Courier New', monospace;
|
|
62
|
-
--color-black: #000;
|
|
63
|
-
--color-white: #fff;
|
|
64
|
-
--spacing: 0.25rem;
|
|
65
|
-
--breakpoint-sm: 40rem;
|
|
66
|
-
--breakpoint-md: 48rem;
|
|
67
|
-
--breakpoint-lg: 64rem;
|
|
68
|
-
--breakpoint-xl: 80rem;
|
|
69
|
-
--breakpoint-2xl: 96rem;
|
|
70
|
-
--container-3xs: 16rem;
|
|
71
|
-
--container-2xs: 18rem;
|
|
72
|
-
--container-xs: 20rem;
|
|
73
|
-
--container-sm: 24rem;
|
|
74
|
-
--container-md: 28rem;
|
|
75
|
-
--container-lg: 32rem;
|
|
76
|
-
--container-xl: 36rem;
|
|
77
|
-
--container-2xl: 42rem;
|
|
78
|
-
--container-3xl: 48rem;
|
|
79
|
-
--container-4xl: 56rem;
|
|
80
|
-
--container-5xl: 64rem;
|
|
81
|
-
--container-6xl: 72rem;
|
|
82
|
-
--container-7xl: 80rem;
|
|
83
|
-
--text-xs: 0.75rem;
|
|
84
|
-
--text-xs--line-height: calc(1 / 0.75);
|
|
85
|
-
--text-sm: 0.875rem;
|
|
86
|
-
--text-sm--line-height: calc(1.25 / 0.875);
|
|
87
|
-
--text-base: 1rem;
|
|
88
|
-
--text-base--line-height: calc(1.5 / 1);
|
|
89
|
-
--text-lg: 1.125rem;
|
|
90
|
-
--text-lg--line-height: calc(1.75 / 1.125);
|
|
91
|
-
--text-xl: 1.25rem;
|
|
92
|
-
--text-xl--line-height: calc(1.75 / 1.25);
|
|
93
|
-
--text-2xl: 1.5rem;
|
|
94
|
-
--text-2xl--line-height: calc(2 / 1.5);
|
|
95
|
-
--text-3xl: 1.875rem;
|
|
96
|
-
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
97
|
-
--text-4xl: 2.25rem;
|
|
98
|
-
--text-4xl--line-height: calc(2.5 / 2.25);
|
|
99
|
-
--text-5xl: 3rem;
|
|
100
|
-
--text-5xl--line-height: 1;
|
|
101
|
-
--text-6xl: 3.75rem;
|
|
102
|
-
--text-6xl--line-height: 1;
|
|
103
|
-
--text-7xl: 4.5rem;
|
|
104
|
-
--text-7xl--line-height: 1;
|
|
105
|
-
--text-8xl: 6rem;
|
|
106
|
-
--text-8xl--line-height: 1;
|
|
107
|
-
--text-9xl: 8rem;
|
|
108
|
-
--text-9xl--line-height: 1;
|
|
109
|
-
--font-weight-thin: 100;
|
|
110
|
-
--font-weight-extralight: 200;
|
|
111
|
-
--font-weight-light: 300;
|
|
112
|
-
--font-weight-normal: 400;
|
|
113
|
-
--font-weight-medium: 500;
|
|
114
|
-
--font-weight-semibold: 600;
|
|
115
|
-
--font-weight-bold: 700;
|
|
116
|
-
--font-weight-extrabold: 800;
|
|
117
|
-
--font-weight-black: 900;
|
|
118
|
-
--tracking-tighter: -0.05em;
|
|
119
|
-
--tracking-tight: -0.025em;
|
|
120
|
-
--tracking-normal: 0em;
|
|
121
|
-
--tracking-wide: 0.025em;
|
|
122
|
-
--tracking-wider: 0.05em;
|
|
123
|
-
--tracking-widest: 0.1em;
|
|
124
|
-
--leading-tight: 1.25;
|
|
125
|
-
--leading-snug: 1.375;
|
|
126
|
-
--leading-normal: 1.5;
|
|
127
|
-
--leading-relaxed: 1.625;
|
|
128
|
-
--leading-loose: 2;
|
|
129
|
-
--radius-xs: 0.125rem;
|
|
130
|
-
--radius-sm: 0.25rem;
|
|
131
|
-
--radius-md: 0.375rem;
|
|
132
|
-
--radius-lg: 0.5rem;
|
|
133
|
-
--radius-xl: 0.75rem;
|
|
134
|
-
--radius-2xl: 1rem;
|
|
135
|
-
--radius-3xl: 1.5rem;
|
|
136
|
-
--radius-4xl: 2rem;
|
|
137
|
-
--shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
|
|
138
|
-
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
139
|
-
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
140
|
-
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
141
|
-
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
142
|
-
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
143
|
-
--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
144
|
-
--inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
|
|
145
|
-
--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
|
|
146
|
-
--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
|
|
147
|
-
--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
|
|
148
|
-
--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
|
|
149
|
-
--drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
|
|
150
|
-
--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
|
|
151
|
-
--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
|
|
152
|
-
--drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
|
|
153
|
-
--blur-xs: 4px;
|
|
154
|
-
--blur-sm: 8px;
|
|
155
|
-
--blur-md: 12px;
|
|
156
|
-
--blur-lg: 16px;
|
|
157
|
-
--blur-xl: 24px;
|
|
158
|
-
--blur-2xl: 40px;
|
|
159
|
-
--blur-3xl: 64px;
|
|
160
|
-
--perspective-dramatic: 100px;
|
|
161
|
-
--perspective-near: 300px;
|
|
162
|
-
--perspective-normal: 500px;
|
|
163
|
-
--perspective-midrange: 800px;
|
|
164
|
-
--perspective-distant: 1200px;
|
|
165
|
-
--aspect-video: 16 / 9;
|
|
166
|
-
--ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
167
|
-
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
168
|
-
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
169
|
-
--animate-spin: spin 1s linear infinite;
|
|
170
|
-
--animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
171
|
-
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
172
|
-
--animate-bounce: bounce 1s infinite;
|
|
173
|
-
@keyframes spin {
|
|
174
|
-
to {
|
|
175
|
-
transform: rotate(360deg);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
@keyframes ping {
|
|
179
|
-
75%,
|
|
180
|
-
100% {
|
|
181
|
-
transform: scale(2);
|
|
182
|
-
opacity: 0;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
@keyframes pulse {
|
|
186
|
-
50% {
|
|
187
|
-
opacity: 0.5;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
@keyframes bounce {
|
|
191
|
-
0%,
|
|
192
|
-
100% {
|
|
193
|
-
transform: translateY(-25%);
|
|
194
|
-
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
195
|
-
}
|
|
196
|
-
50% {
|
|
197
|
-
transform: none;
|
|
198
|
-
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { CSSResult, LitElement, unsafeCSS } from 'lit'
|
|
2
|
-
|
|
3
|
-
import style from './tailwind.css?inline'
|
|
4
|
-
import { BaseElement, IBaseMixin } from './baseElement'
|
|
5
|
-
import { Constructor } from './constructor'
|
|
6
|
-
|
|
7
|
-
export declare class ITailwindElementMixin {
|
|
8
|
-
styles: (typeof CSSResult)[]
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const tailwindStyles = unsafeCSS(style)
|
|
12
|
-
|
|
13
|
-
const TailwindElementBase = <T extends CSSResult>(componentStyle?: T) => {
|
|
14
|
-
class TailwindMixinClass extends LitElement {
|
|
15
|
-
static styles = [unsafeCSS(componentStyle), tailwindStyles]
|
|
16
|
-
}
|
|
17
|
-
return TailwindMixinClass as Constructor<LitElement> /* see "typing the subclass" below */
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export const TailwindElement = <T extends CSSResult>(componentStyle?: T) => {
|
|
21
|
-
class TailwindMixinClass extends BaseElement(TailwindElementBase(componentStyle)) {
|
|
22
|
-
disconnectedCallback = () => {
|
|
23
|
-
super.disconnectedCallback()
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
return TailwindMixinClass as Constructor<CustomElementConstructor> &
|
|
27
|
-
Constructor<ITailwindElementMixin> &
|
|
28
|
-
Constructor<LitElement> &
|
|
29
|
-
Constructor<IBaseMixin>
|
|
30
|
-
}
|