@mhmo91/schmancy 0.4.2 → 0.4.4
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/button.md +129 -91
- package/ai/card.md +104 -64
- package/ai/date-range.md +149 -113
- package/ai/typography.md +159 -143
- package/dist/ai/button.md +129 -91
- package/dist/ai/card.md +104 -64
- package/dist/ai/date-range.md +149 -113
- package/dist/ai/typography.md +159 -143
- package/dist/{animated-text-DE4jCzlq.js → animated-text-C14QnAsk.js} +3 -3
- package/dist/{animated-text-DE4jCzlq.js.map → animated-text-C14QnAsk.js.map} +1 -1
- package/dist/{animated-text-C_ISIdDY.cjs → animated-text-D-kAHVL-.cjs} +2 -2
- package/dist/{animated-text-C_ISIdDY.cjs.map → animated-text-D-kAHVL-.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-DQKc0WXK.js → area.component-DD3k-3yp.js} +3 -3
- package/dist/{area.component-DQKc0WXK.js.map → area.component-DD3k-3yp.js.map} +1 -1
- package/dist/{area.component-Bvd_wwUW.cjs → area.component-kvnRfth-.cjs} +2 -2
- package/dist/{area.component-Bvd_wwUW.cjs.map → area.component-kvnRfth-.cjs.map} +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-D_XhT92l.cjs → autocomplete-Dez1_LQ_.cjs} +2 -2
- package/dist/{autocomplete-D_XhT92l.cjs.map → autocomplete-Dez1_LQ_.cjs.map} +1 -1
- package/dist/{autocomplete-ytqc1f_C.js → autocomplete-DgrPHogj.js} +3 -3
- package/dist/{autocomplete-ytqc1f_C.js.map → autocomplete-DgrPHogj.js.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/avatar-CIi1nK5D.cjs +211 -0
- package/dist/avatar-CIi1nK5D.cjs.map +1 -0
- package/dist/{avatar-m6kOcWq2.js → avatar-aJw7nOfK.js} +203 -320
- package/dist/avatar-aJw7nOfK.js.map +1 -0
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-DigCNXsd.cjs → boat-Opr-JDiz.cjs} +2 -2
- package/dist/{boat-DigCNXsd.cjs.map → boat-Opr-JDiz.cjs.map} +1 -1
- package/dist/{boat-BeW5NYdz.js → boat-QojjCx3K.js} +2 -2
- package/dist/{boat-BeW5NYdz.js.map → boat-QojjCx3K.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 +7 -1
- package/dist/{checkbox-CFqvhybv.cjs → checkbox-D02qLg64.cjs} +2 -2
- package/dist/{checkbox-CFqvhybv.cjs.map → checkbox-D02qLg64.cjs.map} +1 -1
- package/dist/{checkbox-DSEvvPj1.js → checkbox-ktMxUfeF.js} +6 -6
- package/dist/{checkbox-DSEvvPj1.js.map → checkbox-ktMxUfeF.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-MCF53PoG.cjs → chips-nR84ClxC.cjs} +2 -2
- package/dist/{chips-MCF53PoG.cjs.map → chips-nR84ClxC.cjs.map} +1 -1
- package/dist/{chips-DCKLuDxP.js → chips-xakYpmLk.js} +3 -3
- package/dist/{chips-DCKLuDxP.js.map → chips-xakYpmLk.js.map} +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +1 -1
- package/dist/{circular-progress-CF0ow_gn.cjs → circular-progress-C1VxqINu.cjs} +2 -2
- package/dist/{circular-progress-CF0ow_gn.cjs.map → circular-progress-C1VxqINu.cjs.map} +1 -1
- package/dist/{circular-progress-CKlT4zjF.js → circular-progress-DITkB69y.js} +3 -3
- package/dist/{circular-progress-CKlT4zjF.js.map → circular-progress-DITkB69y.js.map} +1 -1
- package/dist/circular-progress.cjs +1 -1
- package/dist/circular-progress.js +1 -1
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-Cj_qRKC9.cjs → code-preview-AaDZ25jE.cjs} +2 -2
- package/dist/{code-preview-Cj_qRKC9.cjs.map → code-preview-AaDZ25jE.cjs.map} +1 -1
- package/dist/{code-preview-CuDOLS91.js → code-preview-ct_lICzT.js} +2 -2
- package/dist/{code-preview-CuDOLS91.js.map → code-preview-ct_lICzT.js.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/date-range-BTa3EHE4.cjs +121 -0
- package/dist/date-range-BTa3EHE4.cjs.map +1 -0
- package/dist/{date-range-CmeAQ5QS.js → date-range-CSEw_dDa.js} +230 -270
- package/dist/date-range-CSEw_dDa.js.map +1 -0
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-40MKpcZU.cjs → delay-CBu7O627.cjs} +2 -2
- package/dist/{delay-40MKpcZU.cjs.map → delay-CBu7O627.cjs.map} +1 -1
- package/dist/{delay-pKHFTza9.js → delay-Dvg8k4NQ.js} +2 -2
- package/dist/{delay-pKHFTza9.js.map → delay-Dvg8k4NQ.js.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{dialog-content-B_fVl8nu.js → dialog-content-B3thpCG2.js} +3 -3
- package/dist/{dialog-content-B_fVl8nu.js.map → dialog-content-B3thpCG2.js.map} +1 -1
- package/dist/{dialog-content-CkjibvSc.cjs → dialog-content-C1zsL7VE.cjs} +2 -2
- package/dist/{dialog-content-CkjibvSc.cjs.map → dialog-content-C1zsL7VE.cjs.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/{divider-BDgmQ4VQ.cjs → divider-BBr_f7I9.cjs} +2 -2
- package/dist/{divider-BDgmQ4VQ.cjs.map → divider-BBr_f7I9.cjs.map} +1 -1
- package/dist/{divider-njFvOEz7.js → divider-DexSqAwi.js} +3 -3
- package/dist/{divider-njFvOEz7.js.map → divider-DexSqAwi.js.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-C4o6Y70E.js → dropdown-content-CBhrkLS9.js} +3 -3
- package/dist/{dropdown-content-C4o6Y70E.js.map → dropdown-content-CBhrkLS9.js.map} +1 -1
- package/dist/{dropdown-content-CwEBCQTd.cjs → dropdown-content-q5TJhsvd.cjs} +2 -2
- package/dist/{dropdown-content-CwEBCQTd.cjs.map → dropdown-content-q5TJhsvd.cjs.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-_h7Zh750.cjs → flex-DcCOzqAb.cjs} +2 -2
- package/dist/{flex-_h7Zh750.cjs.map → flex-DcCOzqAb.cjs.map} +1 -1
- package/dist/{flex-CbKzMNEV.js → flex-eb13QDmS.js} +2 -2
- package/dist/{flex-CbKzMNEV.js.map → flex-eb13QDmS.js.map} +1 -1
- package/dist/{form-gg5B6Dla.cjs → form-BkVMKRp7.cjs} +2 -2
- package/dist/{form-gg5B6Dla.cjs.map → form-BkVMKRp7.cjs.map} +1 -1
- package/dist/{form-eXTuXutS.js → form-DYqGyUi5.js} +2 -2
- package/dist/{form-eXTuXutS.js.map → form-DYqGyUi5.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{icon-as6C4b0_.js → icon-BfoeUvkX.js} +2 -2
- package/dist/{icon-as6C4b0_.js.map → icon-BfoeUvkX.js.map} +1 -1
- package/dist/{icon-lc9iKCzt.cjs → icon-aeFENeVj.cjs} +2 -2
- package/dist/{icon-lc9iKCzt.cjs.map → icon-aeFENeVj.cjs.map} +1 -1
- package/dist/{icon-button-D5te6MSD.cjs → icon-button-A1NFKFmq.cjs} +2 -2
- package/dist/{icon-button-D5te6MSD.cjs.map → icon-button-A1NFKFmq.cjs.map} +1 -1
- package/dist/{icon-button-eM7fkcaa.js → icon-button-C10pky9Q.js} +3 -3
- package/dist/{icon-button-eM7fkcaa.js.map → icon-button-C10pky9Q.js.map} +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +167 -162
- package/dist/index.js.map +1 -1
- package/dist/{input-C1JcUy_t.js → input-DcDi_noA.js} +2 -2
- package/dist/{input-C1JcUy_t.js.map → input-DcDi_noA.js.map} +1 -1
- package/dist/{input-KfFWcQk8.cjs → input-q8VOTI3J.cjs} +2 -2
- package/dist/{input-KfFWcQk8.cjs.map → input-q8VOTI3J.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-Cn2oKOHN.js → list-BvW5Mhsb.js} +2 -2
- package/dist/{list-Cn2oKOHN.js.map → list-BvW5Mhsb.js.map} +1 -1
- package/dist/{list-CZlCptFt.cjs → list-YOtl6JRk.cjs} +2 -2
- package/dist/{list-CZlCptFt.cjs.map → list-YOtl6JRk.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-CUhEpTgZ.js → litElement.mixin-DJxjDwEr.js} +2 -2
- package/dist/{litElement.mixin-CUhEpTgZ.js.map → litElement.mixin-DJxjDwEr.js.map} +1 -1
- package/dist/{litElement.mixin-BFfWKABY.cjs → litElement.mixin-Do6OsQmn.cjs} +2 -2
- package/dist/{litElement.mixin-BFfWKABY.cjs.map → litElement.mixin-Do6OsQmn.cjs.map} +1 -1
- package/dist/media-CxRMY7ct.cjs +128 -0
- package/dist/media-CxRMY7ct.cjs.map +1 -0
- package/dist/media-DchXWby1.js +185 -0
- package/dist/media-DchXWby1.js.map +1 -0
- package/dist/{menu-ChUQMNtl.cjs → menu-D0Wv-94q.cjs} +2 -2
- package/dist/{menu-ChUQMNtl.cjs.map → menu-D0Wv-94q.cjs.map} +1 -1
- package/dist/{menu--0VMi_rl.js → menu-DC81HpzC.js} +3 -3
- package/dist/{menu--0VMi_rl.js.map → menu-DC81HpzC.js.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/{notification-service-BSp9bz1i.js → notification-service-DiZinzWu.js} +3 -3
- package/dist/{notification-service-BSp9bz1i.js.map → notification-service-DiZinzWu.js.map} +1 -1
- package/dist/{notification-service-Bick5tKQ.cjs → notification-service-fl9rTVO5.cjs} +2 -2
- package/dist/{notification-service-Bick5tKQ.cjs.map → notification-service-fl9rTVO5.cjs.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +1 -1
- package/dist/{option-BBH03Xsg.js → option-BBcO5Pj5.js} +2 -2
- package/dist/{option-BBH03Xsg.js.map → option-BBcO5Pj5.js.map} +1 -1
- package/dist/{option-C_1a_vzI.cjs → option-BQ0PXMOa.cjs} +2 -2
- package/dist/{option-C_1a_vzI.cjs.map → option-BQ0PXMOa.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-DgkNJsE1.js → payment-card-form-BTpnbZFg.js} +3 -3
- package/dist/{payment-card-form-DgkNJsE1.js.map → payment-card-form-BTpnbZFg.js.map} +1 -1
- package/dist/{payment-card-form-DDhg71fA.cjs → payment-card-form-DbEZ8Js1.cjs} +2 -2
- package/dist/{payment-card-form-DDhg71fA.cjs.map → payment-card-form-DbEZ8Js1.cjs.map} +1 -1
- package/dist/{radio-button-CCsCtUkU.cjs → radio-button-BkYPf2-q.cjs} +2 -2
- package/dist/{radio-button-CCsCtUkU.cjs.map → radio-button-BkYPf2-q.cjs.map} +1 -1
- package/dist/{radio-button-Cuo-ybx9.js → radio-button-DE08d0Yl.js} +2 -2
- package/dist/{radio-button-Cuo-ybx9.js.map → radio-button-DE08d0Yl.js.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-CmGuY9sB.js → schmancy-steps-container-D6L7dAbO.js} +2 -2
- package/dist/{schmancy-steps-container-CmGuY9sB.js.map → schmancy-steps-container-D6L7dAbO.js.map} +1 -1
- package/dist/{schmancy-steps-container-CqsMA2he.cjs → schmancy-steps-container-tKeAaFIY.cjs} +2 -2
- package/dist/{schmancy-steps-container-CqsMA2he.cjs.map → schmancy-steps-container-tKeAaFIY.cjs.map} +1 -1
- package/dist/{select-fZ2PlQ_3.cjs → select-5yP3bof1.cjs} +2 -2
- package/dist/{select-fZ2PlQ_3.cjs.map → select-5yP3bof1.cjs.map} +1 -1
- package/dist/{select-ChxNr4a9.js → select-Dqr73662.js} +3 -3
- package/dist/{select-ChxNr4a9.js.map → select-Dqr73662.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-CaUlNTdn.cjs → sheet-BcN4mBoD.cjs} +2 -2
- package/dist/{sheet-CaUlNTdn.cjs.map → sheet-BcN4mBoD.cjs.map} +1 -1
- package/dist/{sheet-2FAz4r9B.js → sheet-x6OfY0Se.js} +4 -4
- package/dist/{sheet-2FAz4r9B.js.map → sheet-x6OfY0Se.js.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +2 -2
- package/dist/{slider-CHlXZvPb.cjs → slider-BxT70Fsi.cjs} +2 -2
- package/dist/{slider-CHlXZvPb.cjs.map → slider-BxT70Fsi.cjs.map} +1 -1
- package/dist/{slider-DU3_sk4c.js → slider-ecFkp13d.js} +3 -3
- package/dist/{slider-DU3_sk4c.js.map → slider-ecFkp13d.js.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-D064VAQ0.cjs → spinner-BNAzXVjG.cjs} +2 -2
- package/dist/{spinner-D064VAQ0.cjs.map → spinner-BNAzXVjG.cjs.map} +1 -1
- package/dist/{spinner-RvzzGIF-.js → spinner-WpaBY1JF.js} +3 -3
- package/dist/{spinner-RvzzGIF-.js.map → spinner-WpaBY1JF.js.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-s7dL8dsr.js → surface-BA0AdJVV.js} +2 -2
- package/dist/{surface-s7dL8dsr.js.map → surface-BA0AdJVV.js.map} +1 -1
- package/dist/{surface-B3UkH65j.cjs → surface-BWZ0Kqca.cjs} +2 -2
- package/dist/{surface-B3UkH65j.cjs.map → surface-BWZ0Kqca.cjs.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-DzYvbr4k.js → table-BLnwnQsA.js} +2 -2
- package/dist/{table-DzYvbr4k.js.map → table-BLnwnQsA.js.map} +1 -1
- package/dist/{table-BrbO5sO5.cjs → table-IXyFmT0L.cjs} +2 -2
- package/dist/{table-BrbO5sO5.cjs.map → table-IXyFmT0L.cjs.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-CGG-7f7V.cjs → tabs-compatibility-D4J5od5-.cjs} +2 -2
- package/dist/{tabs-compatibility-CGG-7f7V.cjs.map → tabs-compatibility-D4J5od5-.cjs.map} +1 -1
- package/dist/{tabs-compatibility-vhn4Kp7N.js → tabs-compatibility-DTWvzrPU.js} +7 -7
- package/dist/{tabs-compatibility-vhn4Kp7N.js.map → tabs-compatibility-DTWvzrPU.js.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-BvJKKv72.cjs +2 -0
- package/dist/{tailwind.mixin-CgPd8dM4.cjs.map → tailwind.mixin-BvJKKv72.cjs.map} +1 -1
- package/dist/{tailwind.mixin-t3Yj_Xbu.js → tailwind.mixin-DauVaFKt.js} +4 -4
- package/dist/{tailwind.mixin-t3Yj_Xbu.js.map → tailwind.mixin-DauVaFKt.js.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-DB4ma3Yk.js → textarea-DH6PuHVg.js} +2 -2
- package/dist/{textarea-DB4ma3Yk.js.map → textarea-DH6PuHVg.js.map} +1 -1
- package/dist/{textarea-BqzHPEaR.cjs → textarea-Dl8avXEo.cjs} +2 -2
- package/dist/{textarea-BqzHPEaR.cjs.map → textarea-Dl8avXEo.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-DiugvNq0.js → theme-button--p6t7qcD.js} +2 -2
- package/dist/{theme-button-DiugvNq0.js.map → theme-button--p6t7qcD.js.map} +1 -1
- package/dist/{theme-button-X1T0K-rT.cjs → theme-button-rjXu-3em.cjs} +2 -2
- package/dist/{theme-button-X1T0K-rT.cjs.map → theme-button-rjXu-3em.cjs.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.component-GbvYp0sg.cjs → theme.component-CIsakuvd.cjs} +2 -2
- package/dist/{theme.component-GbvYp0sg.cjs.map → theme.component-CIsakuvd.cjs.map} +1 -1
- package/dist/{theme.component-DGfwQDsP.js → theme.component-D2KSl93u.js} +19 -19
- package/dist/{theme.component-DGfwQDsP.js.map → theme.component-D2KSl93u.js.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-Bp8z4kRR.cjs → timezone-BW4gugCz.cjs} +2 -2
- package/dist/{timezone-Bp8z4kRR.cjs.map → timezone-BW4gugCz.cjs.map} +1 -1
- package/dist/{timezone-pKGsUkVR.js → timezone-CXXh8orD.js} +3 -3
- package/dist/{timezone-pKGsUkVR.js.map → timezone-CXXh8orD.js.map} +1 -1
- package/dist/{tooltip-DO_tqLiU.cjs → tooltip-DUEo4iG2.cjs} +2 -2
- package/dist/{tooltip-DO_tqLiU.cjs.map → tooltip-DUEo4iG2.cjs.map} +1 -1
- package/dist/{tooltip-OGPdu-15.js → tooltip-rWGtsCcJ.js} +2 -2
- package/dist/{tooltip-OGPdu-15.js.map → tooltip-rWGtsCcJ.js.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-BLnyRUxk.js → tree-C1H2E_rA.js} +2 -2
- package/dist/{tree-BLnyRUxk.js.map → tree-C1H2E_rA.js.map} +1 -1
- package/dist/{tree-Cj9dq4FW.cjs → tree-CSCSIz67.cjs} +2 -2
- package/dist/{tree-Cj9dq4FW.cjs.map → tree-CSCSIz67.cjs.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-CLh00Uvc.cjs → typewriter-BuQA40J-.cjs} +2 -2
- package/dist/{typewriter-CLh00Uvc.cjs.map → typewriter-BuQA40J-.cjs.map} +1 -1
- package/dist/{typewriter-P4fs9-rU.js → typewriter-DtvMI0TT.js} +4 -4
- package/dist/{typewriter-P4fs9-rU.js.map → typewriter-DtvMI0TT.js.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-BouLjmvn.js → typography-DT9N3Jtf.js} +2 -2
- package/dist/{typography-BouLjmvn.js.map → typography-DT9N3Jtf.js.map} +1 -1
- package/dist/{typography-BOogKO97.cjs → typography-DjwFfw1O.cjs} +2 -2
- package/dist/{typography-BOogKO97.cjs.map → typography-DjwFfw1O.cjs.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/dist/avatar-DkBLxCT2.cjs +0 -281
- package/dist/avatar-DkBLxCT2.cjs.map +0 -1
- package/dist/avatar-m6kOcWq2.js.map +0 -1
- package/dist/date-range-B2f1eXz0.cjs +0 -139
- package/dist/date-range-B2f1eXz0.cjs.map +0 -1
- package/dist/date-range-CmeAQ5QS.js.map +0 -1
- package/dist/tailwind.mixin-CgPd8dM4.cjs +0 -2
package/ai/button.md
CHANGED
|
@@ -1,112 +1,150 @@
|
|
|
1
1
|
# Schmancy Button - AI Reference
|
|
2
2
|
|
|
3
3
|
```js
|
|
4
|
-
//
|
|
4
|
+
// Component Tags
|
|
5
5
|
<schmancy-button
|
|
6
|
-
variant="elevated|filled|filled tonal|outlined|text"
|
|
7
|
-
width="full|auto"
|
|
8
|
-
type="button|submit
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
variant="elevated|filled|filled tonal|outlined|text" // Visual style (default: "text")
|
|
7
|
+
width="full|auto" // Button width (default: "auto")
|
|
8
|
+
type="button|reset|submit" // HTML button type (default: "button")
|
|
9
|
+
href?="string" // Makes button a link
|
|
10
|
+
disabled? // Disable state
|
|
11
|
+
ariaLabel?="string" // Accessibility label
|
|
12
|
+
@click=${handler}>
|
|
13
|
+
<!-- Content with optional prefix/suffix slots -->
|
|
13
14
|
</schmancy-button>
|
|
14
15
|
|
|
15
|
-
// Icon Button
|
|
16
|
+
// Icon Button Component
|
|
16
17
|
<schmancy-icon-button
|
|
17
|
-
variant="
|
|
18
|
-
size="sm|md|lg"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
href?
|
|
23
|
-
@click>
|
|
24
|
-
<!-- Icon content goes directly in the slot -->
|
|
25
|
-
<svg>...</svg>
|
|
18
|
+
variant="filled|filled tonal|outlined|standard" // Visual style (default: "standard")
|
|
19
|
+
size="sm|md|lg" // Button size (default: "md")
|
|
20
|
+
disabled? // Disable state
|
|
21
|
+
ariaLabel="string"> // REQUIRED for accessibility
|
|
22
|
+
icon_name
|
|
26
23
|
</schmancy-icon-button>
|
|
27
24
|
|
|
28
|
-
//
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</schmancy-button>
|
|
33
|
-
|
|
34
|
-
<schmancy-button>
|
|
35
|
-
With Suffix Icon
|
|
36
|
-
<schmancy-icon slot="suffix" icon="arrow-right"></schmancy-icon>
|
|
37
|
-
</schmancy-button>
|
|
25
|
+
// Component Methods
|
|
26
|
+
button.focus(options?: FocusOptions) -> void
|
|
27
|
+
button.blur() -> void
|
|
28
|
+
button.click() -> void
|
|
38
29
|
|
|
39
|
-
//
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
disabled: boolean // Whether the button is disabled
|
|
44
|
-
href: string // If provided, renders as an anchor (<a>) element
|
|
45
|
-
ariaLabel: string // Accessible label for the button
|
|
46
|
-
|
|
47
|
-
// Icon Button Properties
|
|
48
|
-
variant: string // "elevated", "filled", "filled tonal", "outlined", "text" (default: "text")
|
|
49
|
-
size: string // "sm", "md", "lg" (default: "md")
|
|
50
|
-
width: string // "full", "auto" (default: "auto")
|
|
51
|
-
type: string // "button", "submit", "reset" (default: "button")
|
|
52
|
-
disabled: boolean // Whether the button is disabled
|
|
53
|
-
href: string // If provided, renders as an anchor (<a>) element
|
|
54
|
-
ariaLabel: string // Accessible label for the button
|
|
55
|
-
|
|
56
|
-
// Button Methods
|
|
57
|
-
focus(options?) -> void // Sets focus on the button
|
|
58
|
-
blur() -> void // Removes focus from the button
|
|
59
|
-
click() -> void // Programmatically clicks the button
|
|
30
|
+
// Slots
|
|
31
|
+
default // Button text content
|
|
32
|
+
prefix // Icon or content before text
|
|
33
|
+
suffix // Icon or content after text
|
|
60
34
|
|
|
61
35
|
// Examples
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</schmancy-button>
|
|
36
|
+
// 1. Basic button with text
|
|
37
|
+
<schmancy-button variant="filled">Save Changes</schmancy-button>
|
|
65
38
|
|
|
66
|
-
|
|
67
|
-
|
|
39
|
+
// 2. Button with icon
|
|
40
|
+
<schmancy-button variant="outlined">
|
|
41
|
+
<schmancy-icon slot="prefix">add</schmancy-icon>
|
|
42
|
+
Add Item
|
|
68
43
|
</schmancy-button>
|
|
69
44
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
</schmancy-button>
|
|
45
|
+
// 3. Button as link
|
|
46
|
+
<schmancy-button href="/learn-more" variant="text">Learn More</schmancy-button>
|
|
73
47
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
</schmancy-button>
|
|
48
|
+
// 4. Full width button
|
|
49
|
+
<schmancy-button width="full" variant="filled">Submit Form</schmancy-button>
|
|
77
50
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
51
|
+
// 5. Icon-only button
|
|
52
|
+
<schmancy-icon-button variant="filled" ariaLabel="Settings">
|
|
53
|
+
settings
|
|
54
|
+
</schmancy-icon-button>
|
|
81
55
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
56
|
+
// 6. Form submission buttons
|
|
57
|
+
<schmancy-form @submit="${handleSubmit}">
|
|
58
|
+
<div class="flex gap-2 justify-end">
|
|
59
|
+
<schmancy-button type="button" variant="text">Cancel</schmancy-button>
|
|
60
|
+
<schmancy-button type="submit" variant="filled">Submit</schmancy-button>
|
|
61
|
+
</div>
|
|
62
|
+
</schmancy-form>
|
|
85
63
|
|
|
86
|
-
|
|
87
|
-
|
|
64
|
+
// 7. Loading state pattern
|
|
65
|
+
<schmancy-button variant="filled" ?disabled="${isLoading}">
|
|
66
|
+
${isLoading
|
|
67
|
+
? html`<schmancy-circular-progress slot="prefix" size="sm"></schmancy-circular-progress>`
|
|
68
|
+
: html`<schmancy-icon slot="prefix">send</schmancy-icon>`
|
|
69
|
+
}
|
|
70
|
+
${isLoading ? 'Sending...' : 'Send Message'}
|
|
88
71
|
</schmancy-button>
|
|
89
72
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
</
|
|
95
|
-
</
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
73
|
+
// 8. Button group
|
|
74
|
+
<div class="flex gap-2">
|
|
75
|
+
<schmancy-button variant="outlined">Edit</schmancy-button>
|
|
76
|
+
<schmancy-button variant="outlined">Delete</schmancy-button>
|
|
77
|
+
<schmancy-button variant="filled">Save</schmancy-button>
|
|
78
|
+
</div>
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Related Components
|
|
82
|
+
- **[Icon](./icon.md)**: Used for button icons in prefix/suffix slots
|
|
83
|
+
- **[Card Action](./card.md)**: Container for button groups in cards
|
|
84
|
+
- **[Dialog](./dialog.md)**: Common usage for action buttons
|
|
85
|
+
- **[Form](./form.md)**: Form submission context
|
|
86
|
+
- **[FAB](./fab.md)**: Floating action button alternative
|
|
87
|
+
- **[Circular Progress](./circular-progress.md)**: Loading indicator for buttons
|
|
88
|
+
|
|
89
|
+
## Technical Details
|
|
90
|
+
|
|
91
|
+
### Variant Hierarchy
|
|
92
|
+
Material Design 3 emphasis levels (highest to lowest):
|
|
93
|
+
1. `filled` - Primary actions, highest emphasis
|
|
94
|
+
2. `filled tonal` / `elevated` - Important secondary actions
|
|
95
|
+
3. `outlined` - Medium emphasis with clear boundaries
|
|
96
|
+
4. `text` - Low emphasis, tertiary actions
|
|
97
|
+
|
|
98
|
+
### Icon Button Sizes
|
|
99
|
+
- `sm`: 40×40px container, 18px icon
|
|
100
|
+
- `md`: 48×48px container, 24px icon (default)
|
|
101
|
+
- `lg`: 56×56px container, 28px icon
|
|
102
|
+
|
|
103
|
+
### CSS Custom Properties
|
|
104
|
+
```css
|
|
105
|
+
/* Applied to button host element */
|
|
106
|
+
--schmancy-button-width: auto | 100%; /* Controls button width */
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Accessibility
|
|
110
|
+
- Buttons automatically include ARIA attributes
|
|
111
|
+
- Icon-only buttons MUST have `ariaLabel`
|
|
112
|
+
- Focus management methods available
|
|
113
|
+
- Keyboard navigation fully supported
|
|
114
|
+
|
|
115
|
+
### State Management
|
|
116
|
+
- `disabled` attribute prevents all interactions
|
|
117
|
+
- Loading states should disable button to prevent double-submission
|
|
118
|
+
- Visual feedback through variant system
|
|
119
|
+
|
|
120
|
+
## Common Use Cases
|
|
121
|
+
|
|
122
|
+
1. **Primary Action Button**
|
|
123
|
+
```html
|
|
124
|
+
<schmancy-button variant="filled" type="submit">
|
|
125
|
+
Complete Purchase
|
|
126
|
+
</schmancy-button>
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
2. **Secondary Action with Icon**
|
|
130
|
+
```html
|
|
131
|
+
<schmancy-button variant="outlined">
|
|
132
|
+
<schmancy-icon slot="prefix">upload</schmancy-icon>
|
|
133
|
+
Upload File
|
|
134
|
+
</schmancy-button>
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
3. **Navigation Link Button**
|
|
138
|
+
```html
|
|
139
|
+
<schmancy-button href="/documentation" variant="text">
|
|
140
|
+
View Documentation
|
|
141
|
+
<schmancy-icon slot="suffix">arrow_forward</schmancy-icon>
|
|
142
|
+
</schmancy-button>
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
4. **Responsive Mobile-First Button**
|
|
146
|
+
```html
|
|
147
|
+
<schmancy-button variant="filled" class="w-full sm:w-auto">
|
|
148
|
+
Get Started
|
|
149
|
+
</schmancy-button>
|
|
150
|
+
```
|
package/ai/card.md
CHANGED
|
@@ -1,59 +1,50 @@
|
|
|
1
1
|
# Schmancy Card - AI Reference
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
Material Design 3 card components with optimized performance and clean API.
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<!-- Card Component -->
|
|
5
7
|
<schmancy-card
|
|
6
8
|
type="elevated|filled|outlined"
|
|
7
9
|
elevation="0|1|2|3|4|5">
|
|
8
10
|
Card content
|
|
9
11
|
</schmancy-card>
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
<!-- Properties -->
|
|
12
14
|
type: string // "elevated", "filled", "outlined" (default: "elevated")
|
|
13
|
-
elevation: number // Shadow depth 0-5 (default: 0)
|
|
15
|
+
elevation: number // Shadow depth 0-5 (default: 0, overrides type defaults)
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
<!-- Card Types -->
|
|
16
18
|
"elevated" // Surface with shadow, uses surface-low color
|
|
17
19
|
"filled" // Filled background, uses surface-highest color
|
|
18
|
-
"outlined" // Border outline, uses surface color
|
|
20
|
+
"outlined" // Border outline, uses surface-default color
|
|
19
21
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
<!-- Examples -->
|
|
23
|
+
<!-- 1. Basic elevated card -->
|
|
22
24
|
<schmancy-card>
|
|
23
25
|
<h3>Card Title</h3>
|
|
24
26
|
<p>Card content goes here</p>
|
|
25
27
|
</schmancy-card>
|
|
26
28
|
|
|
27
|
-
|
|
29
|
+
<!-- 2. Complete card structure -->
|
|
28
30
|
<schmancy-card type="filled" elevation="2">
|
|
29
|
-
<schmancy-card-media>
|
|
30
|
-
<img src="image.jpg" alt="Card image">
|
|
31
|
-
</schmancy-card-media>
|
|
31
|
+
<schmancy-card-media src="image.jpg" fit="cover" alt="Product"></schmancy-card-media>
|
|
32
32
|
<schmancy-card-content>
|
|
33
|
-
<
|
|
34
|
-
<
|
|
33
|
+
<span slot="headline">Product Name</span>
|
|
34
|
+
<span slot="subhead">$29.99</span>
|
|
35
|
+
Product description goes here...
|
|
35
36
|
</schmancy-card-content>
|
|
36
|
-
<schmancy-card-
|
|
37
|
-
<schmancy-button>Add to Cart</schmancy-button>
|
|
38
|
-
</schmancy-card-
|
|
37
|
+
<schmancy-card-action>
|
|
38
|
+
<schmancy-button variant="filled">Add to Cart</schmancy-button>
|
|
39
|
+
</schmancy-card-action>
|
|
39
40
|
</schmancy-card>
|
|
40
41
|
|
|
41
|
-
|
|
42
|
+
<!-- 3. Outlined card -->
|
|
42
43
|
<schmancy-card type="outlined">
|
|
43
|
-
<
|
|
44
|
-
<
|
|
45
|
-
|
|
46
|
-
</
|
|
47
|
-
</schmancy-card>
|
|
48
|
-
|
|
49
|
-
// 4. Interactive card with hover effect
|
|
50
|
-
<schmancy-card elevation="1">
|
|
51
|
-
<a href="/details" style="text-decoration: none; color: inherit;">
|
|
52
|
-
<div style="padding: 16px;">
|
|
53
|
-
<h3>Click for Details</h3>
|
|
54
|
-
<p>This card has hover elevation changes</p>
|
|
55
|
-
</div>
|
|
56
|
-
</a>
|
|
44
|
+
<schmancy-card-content>
|
|
45
|
+
<span slot="headline">Settings</span>
|
|
46
|
+
Configure your preferences here
|
|
47
|
+
</schmancy-card-content>
|
|
57
48
|
</schmancy-card>
|
|
58
49
|
```
|
|
59
50
|
|
|
@@ -93,26 +84,56 @@ type="outlined" -> --schmancy-sys-color-surface-default
|
|
|
93
84
|
## Card Sub-components
|
|
94
85
|
|
|
95
86
|
### Card Content
|
|
87
|
+
Structured content area with headline and subhead slots.
|
|
88
|
+
|
|
96
89
|
```html
|
|
97
90
|
<schmancy-card-content>
|
|
98
|
-
<
|
|
99
|
-
<
|
|
91
|
+
<span slot="headline">Main Title</span>
|
|
92
|
+
<span slot="subhead">Subtitle or metadata</span>
|
|
93
|
+
Body content goes here...
|
|
100
94
|
</schmancy-card-content>
|
|
95
|
+
|
|
96
|
+
<!-- Properties -->
|
|
97
|
+
- Automatic padding and spacing
|
|
98
|
+
- Headline uses surface-on color
|
|
99
|
+
- Subhead and body use surface-onVariant color
|
|
101
100
|
```
|
|
102
101
|
|
|
103
102
|
### Card Media
|
|
103
|
+
Media container with object-fit control.
|
|
104
|
+
|
|
104
105
|
```html
|
|
105
|
-
|
|
106
|
+
<!-- With src attribute -->
|
|
107
|
+
<schmancy-card-media
|
|
108
|
+
src="image.jpg"
|
|
109
|
+
fit="contain|cover|fill|none|scale-down"
|
|
110
|
+
alt="Description">
|
|
111
|
+
</schmancy-card-media>
|
|
112
|
+
|
|
113
|
+
<!-- With slotted content -->
|
|
114
|
+
<schmancy-card-media fit="cover">
|
|
106
115
|
<img src="image.jpg" alt="Media">
|
|
107
116
|
</schmancy-card-media>
|
|
117
|
+
|
|
118
|
+
<!-- Properties -->
|
|
119
|
+
src: string // Image source URL
|
|
120
|
+
fit: string // Object fit mode (default: "contain")
|
|
121
|
+
alt: string // Alt text for accessibility
|
|
108
122
|
```
|
|
109
123
|
|
|
110
|
-
### Card
|
|
124
|
+
### Card Action
|
|
125
|
+
Action area for buttons, positioned at bottom.
|
|
126
|
+
|
|
111
127
|
```html
|
|
112
|
-
<schmancy-card-
|
|
113
|
-
<schmancy-button>
|
|
114
|
-
<schmancy-button variant="text">
|
|
115
|
-
</schmancy-card-
|
|
128
|
+
<schmancy-card-action>
|
|
129
|
+
<schmancy-button variant="filled">Primary</schmancy-button>
|
|
130
|
+
<schmancy-button variant="text">Secondary</schmancy-button>
|
|
131
|
+
</schmancy-card-action>
|
|
132
|
+
|
|
133
|
+
<!-- Properties -->
|
|
134
|
+
- Flex layout with right alignment
|
|
135
|
+
- Automatic spacing between buttons
|
|
136
|
+
- Padding on all sides
|
|
116
137
|
```
|
|
117
138
|
|
|
118
139
|
## Common Use Cases
|
|
@@ -120,18 +141,16 @@ type="outlined" -> --schmancy-sys-color-surface-default
|
|
|
120
141
|
1. **Product Cards**: E-commerce product display
|
|
121
142
|
```html
|
|
122
143
|
<schmancy-card type="elevated">
|
|
123
|
-
<schmancy-card-media>
|
|
124
|
-
<img src="product.jpg" alt="Product">
|
|
125
|
-
</schmancy-card-media>
|
|
144
|
+
<schmancy-card-media src="product.jpg" fit="cover" alt="Product"></schmancy-card-media>
|
|
126
145
|
<schmancy-card-content>
|
|
127
|
-
<
|
|
128
|
-
<
|
|
129
|
-
|
|
146
|
+
<span slot="headline">Product Name</span>
|
|
147
|
+
<span slot="subhead">$29.99</span>
|
|
148
|
+
Premium quality product with excellent features...
|
|
130
149
|
</schmancy-card-content>
|
|
131
|
-
<schmancy-card-
|
|
150
|
+
<schmancy-card-action>
|
|
132
151
|
<schmancy-button variant="filled">Add to Cart</schmancy-button>
|
|
133
152
|
<schmancy-button variant="text">Details</schmancy-button>
|
|
134
|
-
</schmancy-card-
|
|
153
|
+
</schmancy-card-action>
|
|
135
154
|
</schmancy-card>
|
|
136
155
|
```
|
|
137
156
|
|
|
@@ -150,7 +169,7 @@ type="outlined" -> --schmancy-sys-color-surface-default
|
|
|
150
169
|
```html
|
|
151
170
|
<schmancy-card type="outlined">
|
|
152
171
|
<schmancy-card-content>
|
|
153
|
-
<
|
|
172
|
+
<span slot="headline">Notification Settings</span>
|
|
154
173
|
<schmancy-form>
|
|
155
174
|
<schmancy-checkbox>Email notifications</schmancy-checkbox>
|
|
156
175
|
<schmancy-checkbox>Push notifications</schmancy-checkbox>
|
|
@@ -162,25 +181,46 @@ type="outlined" -> --schmancy-sys-color-surface-default
|
|
|
162
181
|
4. **Media Cards**: Image galleries
|
|
163
182
|
```html
|
|
164
183
|
<schmancy-card elevation="2">
|
|
165
|
-
<schmancy-card-media
|
|
166
|
-
<img src="gallery-image.jpg" alt="Gallery">
|
|
167
|
-
</schmancy-card-media>
|
|
184
|
+
<schmancy-card-media src="gallery.jpg" fit="cover" alt="Gallery"></schmancy-card-media>
|
|
168
185
|
<schmancy-card-content>
|
|
169
|
-
<
|
|
186
|
+
<span slot="subhead">Photo by Artist Name</span>
|
|
187
|
+
Beautiful landscape captured at sunset
|
|
170
188
|
</schmancy-card-content>
|
|
171
189
|
</schmancy-card>
|
|
172
190
|
```
|
|
173
191
|
|
|
174
|
-
5. **
|
|
192
|
+
5. **Article Cards**: Blog or news items
|
|
175
193
|
```html
|
|
176
|
-
<schmancy-card type="
|
|
177
|
-
<
|
|
178
|
-
<schmancy-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
</
|
|
183
|
-
|
|
184
|
-
</
|
|
194
|
+
<schmancy-card type="outlined">
|
|
195
|
+
<schmancy-card-content>
|
|
196
|
+
<schmancy-typography type="label" token="sm" class="text-primary-default block mb-2">
|
|
197
|
+
TECHNOLOGY
|
|
198
|
+
</schmancy-typography>
|
|
199
|
+
<span slot="headline">The Future of Web Development</span>
|
|
200
|
+
<span slot="subhead">5 min read • March 15, 2024</span>
|
|
201
|
+
Explore the latest trends in web development...
|
|
202
|
+
</schmancy-card-content>
|
|
203
|
+
<schmancy-card-action>
|
|
204
|
+
<schmancy-button variant="text">Read More</schmancy-button>
|
|
205
|
+
<schmancy-button variant="text">
|
|
206
|
+
<schmancy-icon>share</schmancy-icon>
|
|
207
|
+
</schmancy-button>
|
|
208
|
+
</schmancy-card-action>
|
|
185
209
|
</schmancy-card>
|
|
186
|
-
```
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## Performance Notes
|
|
213
|
+
|
|
214
|
+
All card components use :host styling for optimal performance:
|
|
215
|
+
- No wrapper elements or runtime class manipulation
|
|
216
|
+
- CSS-only hover states and transitions
|
|
217
|
+
- Efficient use of CSS custom properties
|
|
218
|
+
- Minimal JavaScript overhead
|
|
219
|
+
|
|
220
|
+
## Migration Guide
|
|
221
|
+
|
|
222
|
+
If upgrading from older versions:
|
|
223
|
+
1. Replace `<schmancy-card-actions>` with `<schmancy-card-action>`
|
|
224
|
+
2. Update card-content to use slots for headline/subhead
|
|
225
|
+
3. Card-media now supports direct src attribute
|
|
226
|
+
4. All components use :host styling (no wrapper divs)
|