@mhmo91/schmancy 0.4.8 → 0.4.10
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 +6 -3
- package/ai/code-highlight.md +239 -0
- package/ai/countries.md +270 -0
- package/ai/dialog.md +22 -3
- package/ai/directives.md +237 -0
- package/ai/input.md +99 -55
- package/ai/payment-card-form.md +241 -0
- package/ai/surface.md +1 -1
- package/ai/timezone.md +275 -0
- package/ai/typography.md +78 -43
- package/dist/ai/button.md +6 -3
- package/dist/ai/code-highlight.md +239 -0
- package/dist/ai/countries.md +270 -0
- package/dist/ai/dialog.md +22 -3
- package/dist/ai/directives.md +237 -0
- package/dist/ai/input.md +99 -55
- package/dist/ai/payment-card-form.md +241 -0
- package/dist/ai/surface.md +1 -1
- package/dist/ai/timezone.md +275 -0
- package/dist/ai/typography.md +78 -43
- package/dist/{animated-text-BqZjMyzb.js → animated-text-Be02uXuq.js} +3 -3
- package/dist/{animated-text-BqZjMyzb.js.map → animated-text-Be02uXuq.js.map} +1 -1
- package/dist/{animated-text-CgY-L1nI.cjs → animated-text-Dh_Ony1b.cjs} +2 -2
- package/dist/{animated-text-CgY-L1nI.cjs.map → animated-text-Dh_Ony1b.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-B7U96CpD.js → area.component-CVYJtXrI.js} +3 -3
- package/dist/{area.component-B7U96CpD.js.map → area.component-CVYJtXrI.js.map} +1 -1
- package/dist/{area.component-Zbs-bAJV.cjs → area.component-DTc1TOLd.cjs} +2 -2
- package/dist/{area.component-Zbs-bAJV.cjs.map → area.component-DTc1TOLd.cjs.map} +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-qK00SJRP.cjs → autocomplete-CzTNaIqf.cjs} +2 -2
- package/dist/{autocomplete-qK00SJRP.cjs.map → autocomplete-CzTNaIqf.cjs.map} +1 -1
- package/dist/{autocomplete-DIUsdT73.js → autocomplete-D1bwPNoy.js} +3 -3
- package/dist/{autocomplete-DIUsdT73.js.map → autocomplete-D1bwPNoy.js.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-BMzBsIWs.cjs → avatar-CFu-31B1.cjs} +2 -2
- package/dist/{avatar-BMzBsIWs.cjs.map → avatar-CFu-31B1.cjs.map} +1 -1
- package/dist/{avatar-DUPqOrZp.js → avatar-D35JpOv5.js} +45 -45
- package/dist/{avatar-DUPqOrZp.js.map → avatar-D35JpOv5.js.map} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-By-PBLw8.js → boat-6nw0fphH.js} +2 -2
- package/dist/{boat-By-PBLw8.js.map → boat-6nw0fphH.js.map} +1 -1
- package/dist/{boat-DUU675NX.cjs → boat-De0k6DJ6.cjs} +2 -2
- package/dist/{boat-DUU675NX.cjs.map → boat-De0k6DJ6.cjs.map} +1 -1
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-f7BewP4u.cjs → checkbox-Xr-OTKiq.cjs} +2 -2
- package/dist/{checkbox-f7BewP4u.cjs.map → checkbox-Xr-OTKiq.cjs.map} +1 -1
- package/dist/{checkbox-_WevqQDR.js → checkbox-ZW_jmRBP.js} +2 -2
- package/dist/{checkbox-_WevqQDR.js.map → checkbox-ZW_jmRBP.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-DiDm29N_.js → chips-DFam160B.js} +3 -3
- package/dist/{chips-DiDm29N_.js.map → chips-DFam160B.js.map} +1 -1
- package/dist/{chips-D1QElds4.cjs → chips-DwvB_B3m.cjs} +2 -2
- package/dist/{chips-D1QElds4.cjs.map → chips-DwvB_B3m.cjs.map} +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +1 -1
- package/dist/{circular-progress-BAlic8HY.js → circular-progress-BARPJm-e.js} +3 -3
- package/dist/{circular-progress-BAlic8HY.js.map → circular-progress-BARPJm-e.js.map} +1 -1
- package/dist/{circular-progress-CfPyDLX6.cjs → circular-progress-BDZFB3WR.cjs} +2 -2
- package/dist/{circular-progress-CfPyDLX6.cjs.map → circular-progress-BDZFB3WR.cjs.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-BiVj9uxF.js → code-preview-BxswKcO8.js} +2 -2
- package/dist/{code-preview-BiVj9uxF.js.map → code-preview-BxswKcO8.js.map} +1 -1
- package/dist/{code-preview-DtvCblTa.cjs → code-preview-CFnSKSqn.cjs} +2 -2
- package/dist/{code-preview-DtvCblTa.cjs.map → code-preview-CFnSKSqn.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-Cq8Wdd8b.cjs +131 -0
- package/dist/date-range-Cq8Wdd8b.cjs.map +1 -0
- package/dist/date-range-Fij9AQth.js +638 -0
- package/dist/date-range-Fij9AQth.js.map +1 -0
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-KEyQxDNp.cjs → delay-YfksbdSk.cjs} +2 -2
- package/dist/{delay-KEyQxDNp.cjs.map → delay-YfksbdSk.cjs.map} +1 -1
- package/dist/{delay-BdXEKapp.js → delay-aA1TyZTr.js} +2 -2
- package/dist/{delay-BdXEKapp.js.map → delay-aA1TyZTr.js.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{dialog-content-D3sFNuVs.js → dialog-content-DpotaqHz.js} +3 -3
- package/dist/{dialog-content-D3sFNuVs.js.map → dialog-content-DpotaqHz.js.map} +1 -1
- package/dist/{dialog-content-D5YTttrK.cjs → dialog-content-NyJfG7nL.cjs} +2 -2
- package/dist/{dialog-content-D5YTttrK.cjs.map → dialog-content-NyJfG7nL.cjs.map} +1 -1
- package/dist/{dialog-service-BgqAlT7T.cjs → dialog-service-BZZK8N6A.cjs} +2 -2
- package/dist/dialog-service-BZZK8N6A.cjs.map +1 -0
- package/dist/dialog-service-DFMlRcXf.js +128 -0
- package/dist/dialog-service-DFMlRcXf.js.map +1 -0
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +2 -2
- package/dist/{divider-CNXiMvWd.js → divider-CEMmRD_e.js} +3 -3
- package/dist/{divider-CNXiMvWd.js.map → divider-CEMmRD_e.js.map} +1 -1
- package/dist/{divider-CDz3pUAy.cjs → divider-CMM91UNF.cjs} +2 -2
- package/dist/{divider-CDz3pUAy.cjs.map → divider-CMM91UNF.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-jlq_cqLS.cjs → dropdown-content-CUn_E7cR.cjs} +2 -2
- package/dist/{dropdown-content-jlq_cqLS.cjs.map → dropdown-content-CUn_E7cR.cjs.map} +1 -1
- package/dist/{dropdown-content-CVz6zPSO.js → dropdown-content-Cw5wN3oE.js} +3 -3
- package/dist/{dropdown-content-CVz6zPSO.js.map → dropdown-content-Cw5wN3oE.js.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-DFatBgot.cjs → flex-B9AdlerG.cjs} +2 -2
- package/dist/{flex-DFatBgot.cjs.map → flex-B9AdlerG.cjs.map} +1 -1
- package/dist/{flex-TjhbDSMX.js → flex-ChnKQLCI.js} +2 -2
- package/dist/{flex-TjhbDSMX.js.map → flex-ChnKQLCI.js.map} +1 -1
- package/dist/{form-ClDdYqke.cjs → form-BdGYvvVv.cjs} +2 -2
- package/dist/{form-ClDdYqke.cjs.map → form-BdGYvvVv.cjs.map} +1 -1
- package/dist/{form-D-auKn-K.js → form-DNXmZlmc.js} +2 -2
- package/dist/{form-D-auKn-K.js.map → form-DNXmZlmc.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{icon-BfY2ZJUE.js → icon-BzxYzucF.js} +2 -2
- package/dist/{icon-BfY2ZJUE.js.map → icon-BzxYzucF.js.map} +1 -1
- package/dist/{icon-D2xGQiZb.cjs → icon-CiYXCpzk.cjs} +2 -2
- package/dist/{icon-D2xGQiZb.cjs.map → icon-CiYXCpzk.cjs.map} +1 -1
- package/dist/{icon-button-BUkdhu_-.cjs → icon-button-CVF8ZGrd.cjs} +2 -2
- package/dist/{icon-button-BUkdhu_-.cjs.map → icon-button-CVF8ZGrd.cjs.map} +1 -1
- package/dist/{icon-button-yKwaljg0.js → icon-button-VqejfzxG.js} +3 -3
- package/dist/{icon-button-yKwaljg0.js.map → icon-button-VqejfzxG.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 +43 -43
- package/dist/input-DfBGrUet.cjs +122 -0
- package/dist/input-DfBGrUet.cjs.map +1 -0
- package/dist/input-d4jaMv22.js +487 -0
- package/dist/input-d4jaMv22.js.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-BO9C13wk.cjs → list-DN2eHabm.cjs} +2 -2
- package/dist/{list-BO9C13wk.cjs.map → list-DN2eHabm.cjs.map} +1 -1
- package/dist/{list-CHZKII-L.js → list-L1m51qC0.js} +2 -2
- package/dist/{list-CHZKII-L.js.map → list-L1m51qC0.js.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-CUibxXWX.cjs → litElement.mixin-CejONOpd.cjs} +2 -2
- package/dist/{litElement.mixin-CUibxXWX.cjs.map → litElement.mixin-CejONOpd.cjs.map} +1 -1
- package/dist/{litElement.mixin-5RC72TVS.js → litElement.mixin-D-SDs-Ez.js} +2 -2
- package/dist/{litElement.mixin-5RC72TVS.js.map → litElement.mixin-D-SDs-Ez.js.map} +1 -1
- package/dist/{media-4arP4Xi0.js → media-C0AR69S2.js} +2 -2
- package/dist/{media-4arP4Xi0.js.map → media-C0AR69S2.js.map} +1 -1
- package/dist/{media-v2LZA3zQ.cjs → media-yXym3iTa.cjs} +2 -2
- package/dist/{media-v2LZA3zQ.cjs.map → media-yXym3iTa.cjs.map} +1 -1
- package/dist/{menu-DvcxRQrY.js → menu-Bhh6qxR6.js} +3 -3
- package/dist/{menu-DvcxRQrY.js.map → menu-Bhh6qxR6.js.map} +1 -1
- package/dist/{menu-C-ZpBMON.cjs → menu-CKDW29ZR.cjs} +2 -2
- package/dist/{menu-C-ZpBMON.cjs.map → menu-CKDW29ZR.cjs.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-CcapAF2G.js → notification-service-CG4XTrXU.js} +3 -3
- package/dist/{notification-service-CcapAF2G.js.map → notification-service-CG4XTrXU.js.map} +1 -1
- package/dist/{notification-service-BXTqvkWg.cjs → notification-service-CRbqdLm_.cjs} +2 -2
- package/dist/{notification-service-BXTqvkWg.cjs.map → notification-service-CRbqdLm_.cjs.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +1 -1
- package/dist/{option-xSW3D1j5.js → option-Cj25fsD1.js} +2 -2
- package/dist/{option-xSW3D1j5.js.map → option-Cj25fsD1.js.map} +1 -1
- package/dist/{option-Cj3xNzQG.cjs → option-DFNHF3bL.cjs} +2 -2
- package/dist/{option-Cj3xNzQG.cjs.map → option-DFNHF3bL.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-CdNQkQa5.cjs → payment-card-form-CEANJmNw.cjs} +2 -2
- package/dist/{payment-card-form-CdNQkQa5.cjs.map → payment-card-form-CEANJmNw.cjs.map} +1 -1
- package/dist/{payment-card-form-B-W0YXS5.js → payment-card-form-YzyxteTK.js} +3 -3
- package/dist/{payment-card-form-B-W0YXS5.js.map → payment-card-form-YzyxteTK.js.map} +1 -1
- package/dist/{radio-button-WeQklCIj.cjs → radio-button-BVeem3E9.cjs} +2 -2
- package/dist/{radio-button-WeQklCIj.cjs.map → radio-button-BVeem3E9.cjs.map} +1 -1
- package/dist/{radio-button-CNrcOMLm.js → radio-button-CBcYZCqv.js} +2 -2
- package/dist/{radio-button-CNrcOMLm.js.map → radio-button-CBcYZCqv.js.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-kh5hz8Q8.cjs → schmancy-steps-container-B-Bvr-wZ.cjs} +2 -2
- package/dist/{schmancy-steps-container-kh5hz8Q8.cjs.map → schmancy-steps-container-B-Bvr-wZ.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-DTR_ppqJ.js → schmancy-steps-container-BACX3hp6.js} +2 -2
- package/dist/{schmancy-steps-container-DTR_ppqJ.js.map → schmancy-steps-container-BACX3hp6.js.map} +1 -1
- package/dist/{select-D6OdooZd.cjs → select-Cr15D48_.cjs} +2 -2
- package/dist/{select-D6OdooZd.cjs.map → select-Cr15D48_.cjs.map} +1 -1
- package/dist/{select-BeStY5QU.js → select-IgXxVwZQ.js} +3 -3
- package/dist/{select-BeStY5QU.js.map → select-IgXxVwZQ.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-DurXVAka.js → sheet-9m-LkKNU.js} +4 -4
- package/dist/{sheet-DurXVAka.js.map → sheet-9m-LkKNU.js.map} +1 -1
- package/dist/{sheet-BHdCyBYA.cjs → sheet-u1RXiD4G.cjs} +2 -2
- package/dist/{sheet-BHdCyBYA.cjs.map → sheet-u1RXiD4G.cjs.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +2 -2
- package/dist/{slider-eKHfEAqk.cjs → slider-BFJ0OVq5.cjs} +2 -2
- package/dist/{slider-eKHfEAqk.cjs.map → slider-BFJ0OVq5.cjs.map} +1 -1
- package/dist/{slider-CcOPTwfV.js → slider-BvOKAD4l.js} +3 -3
- package/dist/{slider-CcOPTwfV.js.map → slider-BvOKAD4l.js.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-0BTyqnFH.cjs → spinner-CRWcQJjQ.cjs} +2 -2
- package/dist/{spinner-0BTyqnFH.cjs.map → spinner-CRWcQJjQ.cjs.map} +1 -1
- package/dist/{spinner-BcaOyZIW.js → spinner-jaFB6wer.js} +3 -3
- package/dist/{spinner-BcaOyZIW.js.map → spinner-jaFB6wer.js.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-DhTA5nKg.cjs → surface-CTlwMC6K.cjs} +2 -2
- package/dist/{surface-DhTA5nKg.cjs.map → surface-CTlwMC6K.cjs.map} +1 -1
- package/dist/{surface-XqJoAcEI.js → surface-D7X23FXb.js} +2 -2
- package/dist/{surface-XqJoAcEI.js.map → surface-D7X23FXb.js.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-DPfOXBUJ.cjs → table-0HYVgRpO.cjs} +2 -2
- package/dist/{table-DPfOXBUJ.cjs.map → table-0HYVgRpO.cjs.map} +1 -1
- package/dist/{table-Dy5Fqu4G.js → table-Dwrox4AT.js} +2 -2
- package/dist/{table-Dy5Fqu4G.js.map → table-Dwrox4AT.js.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-BqSkFV08.js → tabs-compatibility-CHTrE420.js} +2 -2
- package/dist/{tabs-compatibility-BqSkFV08.js.map → tabs-compatibility-CHTrE420.js.map} +1 -1
- package/dist/{tabs-compatibility-TPaYG7ev.cjs → tabs-compatibility-DFaq5_66.cjs} +2 -2
- package/dist/{tabs-compatibility-TPaYG7ev.cjs.map → tabs-compatibility-DFaq5_66.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-Dx35wOig.js +43 -0
- package/dist/{tailwind.mixin-DpiTmETl.js.map → tailwind.mixin-Dx35wOig.js.map} +1 -1
- package/dist/tailwind.mixin-xwSbeHSt.cjs +2 -0
- package/dist/{tailwind.mixin-C6mrbvH3.cjs.map → tailwind.mixin-xwSbeHSt.cjs.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-Dy7B8B0d.cjs → textarea-D7NLGUQL.cjs} +2 -2
- package/dist/{textarea-Dy7B8B0d.cjs.map → textarea-D7NLGUQL.cjs.map} +1 -1
- package/dist/{textarea-Ba8gRDPS.js → textarea-Dx-DzkDe.js} +2 -2
- package/dist/{textarea-Ba8gRDPS.js.map → textarea-Dx-DzkDe.js.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-Bnm7IL1u.cjs → theme-button-25FKBtFN.cjs} +2 -2
- package/dist/{theme-button-Bnm7IL1u.cjs.map → theme-button-25FKBtFN.cjs.map} +1 -1
- package/dist/{theme-button-COwSZ83Y.js → theme-button-C97XGkCl.js} +2 -2
- package/dist/{theme-button-COwSZ83Y.js.map → theme-button-C97XGkCl.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-BV_e_mXY.js → theme.component-BAA4DyC6.js} +2 -2
- package/dist/{theme.component-BV_e_mXY.js.map → theme.component-BAA4DyC6.js.map} +1 -1
- package/dist/{theme.component-UBy29B7c.cjs → theme.component-DIXxdhcR.cjs} +2 -2
- package/dist/{theme.component-UBy29B7c.cjs.map → theme.component-DIXxdhcR.cjs.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-DBxPtZan.cjs → timezone-BWn9DNZY.cjs} +2 -2
- package/dist/{timezone-DBxPtZan.cjs.map → timezone-BWn9DNZY.cjs.map} +1 -1
- package/dist/{timezone-DEhkif2j.js → timezone-BurrHk00.js} +3 -3
- package/dist/{timezone-DEhkif2j.js.map → timezone-BurrHk00.js.map} +1 -1
- package/dist/{tooltip-D0coQKih.js → tooltip-Dy5bvLg8.js} +2 -2
- package/dist/{tooltip-D0coQKih.js.map → tooltip-Dy5bvLg8.js.map} +1 -1
- package/dist/{tooltip-CTBMN8M6.cjs → tooltip-dz3rb8at.cjs} +2 -2
- package/dist/{tooltip-CTBMN8M6.cjs.map → tooltip-dz3rb8at.cjs.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-Zy0XMFKh.js → tree-DzHOYcn8.js} +2 -2
- package/dist/{tree-Zy0XMFKh.js.map → tree-DzHOYcn8.js.map} +1 -1
- package/dist/{tree-Co4Ithrh.cjs → tree-z1EoelBs.cjs} +2 -2
- package/dist/{tree-Co4Ithrh.cjs.map → tree-z1EoelBs.cjs.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-C0InniFB.js → typewriter-BiBJSC2J.js} +4 -4
- package/dist/{typewriter-C0InniFB.js.map → typewriter-BiBJSC2J.js.map} +1 -1
- package/dist/{typewriter-soteXIt4.cjs → typewriter-D_bqiukY.cjs} +2 -2
- package/dist/{typewriter-soteXIt4.cjs.map → typewriter-D_bqiukY.cjs.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-Bw9baiV3.cjs → typography-BLenYAmX.cjs} +2 -2
- package/dist/{typography-Bw9baiV3.cjs.map → typography-BLenYAmX.cjs.map} +1 -1
- package/dist/{typography-CeTZ2VqE.js → typography-DtpDTIi7.js} +2 -2
- package/dist/{typography-CeTZ2VqE.js.map → typography-DtpDTIi7.js.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/dist/date-range-BPVaXilO.cjs +0 -117
- package/dist/date-range-BPVaXilO.cjs.map +0 -1
- package/dist/date-range-DN0v_ykN.js +0 -609
- package/dist/date-range-DN0v_ykN.js.map +0 -1
- package/dist/dialog-service-BgqAlT7T.cjs.map +0 -1
- package/dist/dialog-service-CnjZCTMj.js +0 -127
- package/dist/dialog-service-CnjZCTMj.js.map +0 -1
- package/dist/input-B3GMd-FZ.js +0 -363
- package/dist/input-B3GMd-FZ.js.map +0 -1
- package/dist/input-By2O_8YL.cjs +0 -111
- package/dist/input-By2O_8YL.cjs.map +0 -1
- package/dist/tailwind.mixin-C6mrbvH3.cjs +0 -2
- package/dist/tailwind.mixin-DpiTmETl.js +0 -43
package/ai/timezone.md
ADDED
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
# Schmancy Timezone Select - AI Reference
|
|
2
|
+
|
|
3
|
+
## Quick Start
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import '@mhmo91/schmancy/extra/timezone'
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Component Overview
|
|
10
|
+
|
|
11
|
+
A timezone selection component with autocomplete functionality, providing a comprehensive list of global timezones with UTC offsets and region information.
|
|
12
|
+
|
|
13
|
+
## API
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
// Timezone Select Component
|
|
17
|
+
<schmancy-select-timezones
|
|
18
|
+
value?="string" // Selected timezone ID
|
|
19
|
+
label?="string" // Label text (default: "Timezone")
|
|
20
|
+
hint?="string" // Helper text (default: "Please select a timezone")
|
|
21
|
+
placeholder?="string" // Placeholder (default: "Select a timezone")
|
|
22
|
+
name?="string" // Form field name
|
|
23
|
+
required?="boolean" // Required field
|
|
24
|
+
@change=${handleChange}> // Selection change event
|
|
25
|
+
</schmancy-select-timezones>
|
|
26
|
+
|
|
27
|
+
// Component Properties
|
|
28
|
+
value: string // Timezone identifier (e.g., "America/New_York")
|
|
29
|
+
label: string // Field label
|
|
30
|
+
hint: string // Helper text below field
|
|
31
|
+
placeholder: string // Placeholder text
|
|
32
|
+
name: string // Form field name
|
|
33
|
+
required: boolean // Required validation
|
|
34
|
+
|
|
35
|
+
// Events
|
|
36
|
+
@change // Fires when timezone selection changes
|
|
37
|
+
|
|
38
|
+
// Methods
|
|
39
|
+
checkValidity() -> boolean // Validate selection
|
|
40
|
+
reportValidity() -> boolean // Report validation state
|
|
41
|
+
setCustomValidity(message) -> void // Set custom error
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Examples
|
|
45
|
+
|
|
46
|
+
### Basic Usage
|
|
47
|
+
|
|
48
|
+
```typescript
|
|
49
|
+
// Simple timezone selector
|
|
50
|
+
<schmancy-select-timezones
|
|
51
|
+
@change=${(e) => console.log('Selected:', e.detail.value)}>
|
|
52
|
+
</schmancy-select-timezones>
|
|
53
|
+
|
|
54
|
+
// With initial value
|
|
55
|
+
<schmancy-select-timezones
|
|
56
|
+
value="America/New_York"
|
|
57
|
+
@change=${handleTimezoneChange}>
|
|
58
|
+
</schmancy-select-timezones>
|
|
59
|
+
|
|
60
|
+
// Required field
|
|
61
|
+
<schmancy-select-timezones
|
|
62
|
+
required
|
|
63
|
+
name="timezone"
|
|
64
|
+
label="Your Timezone"
|
|
65
|
+
hint="Used for scheduling">
|
|
66
|
+
</schmancy-select-timezones>
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Form Integration
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
// User preferences form
|
|
73
|
+
<schmancy-form @submit=${handleSavePreferences}>
|
|
74
|
+
<schmancy-select-timezones
|
|
75
|
+
name="timezone"
|
|
76
|
+
value=${this.userTimezone}
|
|
77
|
+
required>
|
|
78
|
+
</schmancy-select-timezones>
|
|
79
|
+
|
|
80
|
+
<schmancy-select-countries
|
|
81
|
+
name="country"
|
|
82
|
+
value=${this.userCountry}>
|
|
83
|
+
</schmancy-select-countries>
|
|
84
|
+
|
|
85
|
+
<schmancy-button type="submit" variant="filled">
|
|
86
|
+
Save Preferences
|
|
87
|
+
</schmancy-button>
|
|
88
|
+
</schmancy-form>
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Real-World Examples
|
|
92
|
+
|
|
93
|
+
```typescript
|
|
94
|
+
// Meeting scheduler with timezone
|
|
95
|
+
class MeetingScheduler extends LitElement {
|
|
96
|
+
@state() selectedTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
97
|
+
@state() meetingTime = '';
|
|
98
|
+
|
|
99
|
+
render() {
|
|
100
|
+
return html`
|
|
101
|
+
<schmancy-surface class="p-6">
|
|
102
|
+
<schmancy-typography type="headline" token="sm" class="mb-4 block">
|
|
103
|
+
Schedule Meeting
|
|
104
|
+
</schmancy-typography>
|
|
105
|
+
|
|
106
|
+
<schmancy-form @submit=${this.scheduleMeeting}>
|
|
107
|
+
<div class="space-y-4">
|
|
108
|
+
<schmancy-input
|
|
109
|
+
type="datetime-local"
|
|
110
|
+
label="Meeting Time"
|
|
111
|
+
name="time"
|
|
112
|
+
required
|
|
113
|
+
@change=${(e) => this.meetingTime = e.detail.value}>
|
|
114
|
+
</schmancy-input>
|
|
115
|
+
|
|
116
|
+
<schmancy-select-timezones
|
|
117
|
+
name="timezone"
|
|
118
|
+
value=${this.selectedTimezone}
|
|
119
|
+
@change=${this.handleTimezoneChange}>
|
|
120
|
+
</schmancy-select-timezones>
|
|
121
|
+
|
|
122
|
+
<div class="bg-surface-container p-3 rounded">
|
|
123
|
+
<schmancy-typography type="body" token="sm">
|
|
124
|
+
${this.getLocalTimeDisplay()}
|
|
125
|
+
</schmancy-typography>
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
|
|
129
|
+
<schmancy-button type="submit" variant="filled" class="mt-4">
|
|
130
|
+
Schedule
|
|
131
|
+
</schmancy-button>
|
|
132
|
+
</schmancy-form>
|
|
133
|
+
</schmancy-surface>
|
|
134
|
+
`
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
getLocalTimeDisplay() {
|
|
138
|
+
if (!this.meetingTime || !this.selectedTimezone) return '';
|
|
139
|
+
// Convert to different timezones for display
|
|
140
|
+
const date = new Date(this.meetingTime);
|
|
141
|
+
return `Local time: ${date.toLocaleString('en-US', {
|
|
142
|
+
timeZone: this.selectedTimezone
|
|
143
|
+
})}`;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// User profile with auto-detection
|
|
148
|
+
class UserProfile extends LitElement {
|
|
149
|
+
@state() detectedTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
150
|
+
|
|
151
|
+
connectedCallback() {
|
|
152
|
+
super.connectedCallback();
|
|
153
|
+
// Auto-detect user's timezone
|
|
154
|
+
this.requestUpdate();
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
render() {
|
|
158
|
+
return html`
|
|
159
|
+
<div class="space-y-4">
|
|
160
|
+
<schmancy-typography type="body" token="sm" class="text-surface-onVariant">
|
|
161
|
+
Detected timezone: ${this.detectedTimezone}
|
|
162
|
+
</schmancy-typography>
|
|
163
|
+
|
|
164
|
+
<schmancy-select-timezones
|
|
165
|
+
value=${this.detectedTimezone}
|
|
166
|
+
label="Confirm your timezone"
|
|
167
|
+
hint="We'll use this for notifications and scheduling"
|
|
168
|
+
@change=${this.updateTimezone}>
|
|
169
|
+
</schmancy-select-timezones>
|
|
170
|
+
|
|
171
|
+
<schmancy-button
|
|
172
|
+
variant="filled"
|
|
173
|
+
@click=${this.saveProfile}>
|
|
174
|
+
Save Profile
|
|
175
|
+
</schmancy-button>
|
|
176
|
+
</div>
|
|
177
|
+
`
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
## Timezone Data Structure
|
|
183
|
+
|
|
184
|
+
Each timezone in the dataset includes:
|
|
185
|
+
|
|
186
|
+
```typescript
|
|
187
|
+
interface Timezone {
|
|
188
|
+
text: string; // Display text with offset (e.g., "(UTC-05:00) Eastern Time")
|
|
189
|
+
value: string; // Timezone ID (e.g., "America/New_York")
|
|
190
|
+
offset: string; // UTC offset (e.g., "-05:00")
|
|
191
|
+
abbr: string; // Abbreviation (e.g., "EST")
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// Example:
|
|
195
|
+
{
|
|
196
|
+
text: "(UTC-05:00) Eastern Time (US & Canada)",
|
|
197
|
+
value: "America/New_York",
|
|
198
|
+
offset: "-05:00",
|
|
199
|
+
abbr: "EST"
|
|
200
|
+
}
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
## Features
|
|
204
|
+
|
|
205
|
+
- **Comprehensive List**: All global timezones with regions
|
|
206
|
+
- **UTC Offsets**: Visual offset display for easy identification
|
|
207
|
+
- **Search**: Filter by timezone name, city, or offset
|
|
208
|
+
- **Auto-detection**: Can detect user's current timezone
|
|
209
|
+
- **Daylight Saving**: Handles DST automatically
|
|
210
|
+
- **Form Integration**: Works with native forms
|
|
211
|
+
- **Grouped Display**: Timezones grouped by offset
|
|
212
|
+
|
|
213
|
+
## Common Use Cases
|
|
214
|
+
|
|
215
|
+
1. **User Preferences**: Setting user's default timezone
|
|
216
|
+
2. **Event Scheduling**: Selecting timezone for meetings/events
|
|
217
|
+
3. **Notifications**: Configuring notification delivery times
|
|
218
|
+
4. **Reports**: Setting timezone for data analysis
|
|
219
|
+
5. **International Apps**: Multi-timezone support
|
|
220
|
+
|
|
221
|
+
## Accessibility
|
|
222
|
+
|
|
223
|
+
- Proper ARIA labels and roles
|
|
224
|
+
- Keyboard navigation support
|
|
225
|
+
- Screen reader friendly
|
|
226
|
+
- High contrast mode support
|
|
227
|
+
- Clear visual indicators
|
|
228
|
+
|
|
229
|
+
## Best Practices
|
|
230
|
+
|
|
231
|
+
1. **Auto-Detection**: Pre-select user's detected timezone
|
|
232
|
+
2. **Display Format**: Show both offset and name
|
|
233
|
+
3. **Validation**: Use required for mandatory fields
|
|
234
|
+
4. **Updates**: Handle timezone database updates
|
|
235
|
+
5. **DST Handling**: Account for daylight saving changes
|
|
236
|
+
|
|
237
|
+
## Common Pitfalls
|
|
238
|
+
|
|
239
|
+
- **ID vs Display**: Value is timezone ID, not display text
|
|
240
|
+
- **DST Changes**: Offsets may vary with daylight saving
|
|
241
|
+
- **Browser Support**: Intl API availability varies
|
|
242
|
+
- **Historical Data**: Past dates may have different offsets
|
|
243
|
+
|
|
244
|
+
## Related Components
|
|
245
|
+
|
|
246
|
+
- **[Autocomplete](./autocomplete.md)**: Base component
|
|
247
|
+
- **[Countries](./countries.md)**: Often used together
|
|
248
|
+
- **[Form](./form.md)**: Form integration
|
|
249
|
+
- **[Date Range](./date-range.md)**: Date/time selection
|
|
250
|
+
|
|
251
|
+
## TypeScript Interface
|
|
252
|
+
|
|
253
|
+
```typescript
|
|
254
|
+
interface SchmancySelectTimezonesElement extends HTMLElement {
|
|
255
|
+
value: string;
|
|
256
|
+
label: string;
|
|
257
|
+
hint: string;
|
|
258
|
+
placeholder: string;
|
|
259
|
+
name: string;
|
|
260
|
+
required: boolean;
|
|
261
|
+
checkValidity(): boolean;
|
|
262
|
+
reportValidity(): boolean;
|
|
263
|
+
setCustomValidity(message: string): void;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
// Change event
|
|
267
|
+
interface TimezoneChangeEvent extends CustomEvent {
|
|
268
|
+
detail: {
|
|
269
|
+
value: string; // Timezone ID
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
// Utility functions
|
|
274
|
+
const userTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
275
|
+
```
|
package/ai/typography.md
CHANGED
|
@@ -3,23 +3,27 @@
|
|
|
3
3
|
```js
|
|
4
4
|
// Component Tag
|
|
5
5
|
<schmancy-typography
|
|
6
|
-
type="display|headline|title|label|body"
|
|
7
|
-
token="lg|md|sm"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
type="display|headline|title|subtitle|label|body" // Typography scale type
|
|
7
|
+
token="xl|lg|md|sm|xs" // Size token within type
|
|
8
|
+
align?="left|center|justify|right" // Text alignment
|
|
9
|
+
weight?="normal|medium|bold" // Font weight override
|
|
10
|
+
transform?="uppercase|lowercase|capitalize|normal" // Text transformation
|
|
11
|
+
maxLines?="1|2|3|4|5|6" // Truncate with ellipsis
|
|
12
|
+
class?="additional-tailwind-classes" // Additional styling
|
|
13
|
+
@click=${handler}> // Click handler
|
|
11
14
|
<!-- Text content or HTML -->
|
|
12
15
|
</schmancy-typography>
|
|
13
16
|
|
|
14
17
|
// Import
|
|
15
18
|
import '@mhmo91/schmancy/typography'
|
|
16
19
|
|
|
17
|
-
// Typography Scale Reference
|
|
18
|
-
// Display: lg (57/64), md (45/52), sm (36/44)
|
|
19
|
-
// Headline: lg (32/40), md (28/36), sm (24/32)
|
|
20
|
-
// Title: lg (22/28), md (16/24), sm (14/20)
|
|
21
|
-
//
|
|
22
|
-
//
|
|
20
|
+
// Typography Scale Reference (size/line-height)
|
|
21
|
+
// Display: xl (72/80), lg (57/64), md (45/52), sm (36/44), xs (28/36)
|
|
22
|
+
// Headline: xl (36/44), lg (32/40), md (28/36), sm (24/32), xs (20/28)
|
|
23
|
+
// Title: xl (28/36), lg (22/28), md (16/24), sm (14/20), xs (12/16)
|
|
24
|
+
// Subtitle: xl (20/28), lg (18/24), md (16/20), sm (14/18), xs (12/16)
|
|
25
|
+
// Label: xl (16/24), lg (14/20), md (12/16), sm (11/16), xs (10/14)
|
|
26
|
+
// Body: xl (18/28), lg (16/24), md (14/20), sm (12/16), xs (10/14)
|
|
23
27
|
|
|
24
28
|
// Examples
|
|
25
29
|
// 1. Page heading (Display)
|
|
@@ -52,9 +56,9 @@ import '@mhmo91/schmancy/typography'
|
|
|
52
56
|
Highlighted Section
|
|
53
57
|
</schmancy-typography>
|
|
54
58
|
|
|
55
|
-
// 7.
|
|
56
|
-
<schmancy-typography type="
|
|
57
|
-
|
|
59
|
+
// 7. Centered uppercase title
|
|
60
|
+
<schmancy-typography type="title" token="lg" align="center" transform="uppercase">
|
|
61
|
+
Section Header
|
|
58
62
|
</schmancy-typography>
|
|
59
63
|
|
|
60
64
|
// 8. Clickable text
|
|
@@ -62,9 +66,9 @@ import '@mhmo91/schmancy/typography'
|
|
|
62
66
|
Click me for more information
|
|
63
67
|
</schmancy-typography>
|
|
64
68
|
|
|
65
|
-
// 9.
|
|
66
|
-
<schmancy-typography type="body" token="
|
|
67
|
-
This
|
|
69
|
+
// 9. Truncated text with ellipsis
|
|
70
|
+
<schmancy-typography type="body" token="md" maxLines="2">
|
|
71
|
+
This is a long description that will be truncated after two lines with an ellipsis if it exceeds the available space...
|
|
68
72
|
</schmancy-typography>
|
|
69
73
|
|
|
70
74
|
// 10. Multiple typography in a card
|
|
@@ -91,40 +95,73 @@ import '@mhmo91/schmancy/typography'
|
|
|
91
95
|
## Technical Details
|
|
92
96
|
|
|
93
97
|
### Typography Scale System
|
|
94
|
-
Material Design 3 typography scale with
|
|
98
|
+
Material Design 3 typography scale with 6 types, each with 5 sizes:
|
|
95
99
|
|
|
96
|
-
**Display** - Largest text for big statements
|
|
100
|
+
**Display** - Largest text for big statements (weight: 400)
|
|
101
|
+
- `xl`: 72px/80px line-height
|
|
97
102
|
- `lg`: 57px/64px line-height
|
|
98
103
|
- `md`: 45px/52px line-height
|
|
99
104
|
- `sm`: 36px/44px line-height
|
|
105
|
+
- `xs`: 28px/36px line-height
|
|
100
106
|
|
|
101
|
-
**Headline** - Section headers and important titles
|
|
107
|
+
**Headline** - Section headers and important titles (weight: 400)
|
|
108
|
+
- `xl`: 36px/44px line-height
|
|
102
109
|
- `lg`: 32px/40px line-height
|
|
103
110
|
- `md`: 28px/36px line-height
|
|
104
111
|
- `sm`: 24px/32px line-height
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
-
|
|
108
|
-
- `
|
|
109
|
-
- `
|
|
110
|
-
|
|
111
|
-
|
|
112
|
+
- `xs`: 20px/28px line-height
|
|
113
|
+
|
|
114
|
+
**Title** - Smaller titles and subtitles (weight: 400-500)
|
|
115
|
+
- `xl`: 28px/36px line-height (weight: 500)
|
|
116
|
+
- `lg`: 22px/28px line-height (weight: 400)
|
|
117
|
+
- `md`: 16px/24px line-height (weight: 500)
|
|
118
|
+
- `sm`: 14px/20px line-height (weight: 500)
|
|
119
|
+
- `xs`: 12px/16px line-height (weight: 500)
|
|
120
|
+
|
|
121
|
+
**Subtitle** - Secondary headings (weight: 400)
|
|
122
|
+
- `xl`: 20px/28px line-height
|
|
123
|
+
- `lg`: 18px/24px line-height
|
|
124
|
+
- `md`: 16px/20px line-height
|
|
125
|
+
- `sm`: 14px/18px line-height
|
|
126
|
+
- `xs`: 12px/16px line-height
|
|
127
|
+
|
|
128
|
+
**Label** - UI labels and buttons (weight: 500)
|
|
129
|
+
- `xl`: 16px/24px line-height
|
|
112
130
|
- `lg`: 14px/20px line-height
|
|
113
131
|
- `md`: 12px/16px line-height
|
|
114
132
|
- `sm`: 11px/16px line-height
|
|
133
|
+
- `xs`: 10px/14px line-height
|
|
115
134
|
|
|
116
|
-
**Body** - Main content text
|
|
135
|
+
**Body** - Main content text (weight: 400)
|
|
136
|
+
- `xl`: 18px/28px line-height
|
|
117
137
|
- `lg`: 16px/24px line-height
|
|
118
138
|
- `md`: 14px/20px line-height
|
|
119
139
|
- `sm`: 12px/16px line-height
|
|
140
|
+
- `xs`: 10px/14px line-height
|
|
141
|
+
|
|
142
|
+
### Additional Properties
|
|
143
|
+
|
|
144
|
+
**Text Alignment** (`align`)
|
|
145
|
+
- `left`: Align text to the left
|
|
146
|
+
- `center`: Center the text
|
|
147
|
+
- `justify`: Justify text
|
|
148
|
+
- `right`: Align text to the right
|
|
120
149
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
-
|
|
124
|
-
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
-
|
|
150
|
+
**Font Weight** (`weight`)
|
|
151
|
+
- `normal`: 400 weight
|
|
152
|
+
- `medium`: 500 weight
|
|
153
|
+
- `bold`: 700 weight
|
|
154
|
+
|
|
155
|
+
**Text Transform** (`transform`)
|
|
156
|
+
- `uppercase`: Convert to uppercase
|
|
157
|
+
- `lowercase`: Convert to lowercase
|
|
158
|
+
- `capitalize`: Capitalize first letter of each word
|
|
159
|
+
- `normal`: No transformation
|
|
160
|
+
|
|
161
|
+
**Line Clamping** (`maxLines`)
|
|
162
|
+
- Truncates text after specified number of lines
|
|
163
|
+
- Adds ellipsis (...) at the end
|
|
164
|
+
- Values: 1-6 lines
|
|
128
165
|
|
|
129
166
|
### Theme Integration
|
|
130
167
|
Typography automatically inherits colors from the theme:
|
|
@@ -132,14 +169,12 @@ Typography automatically inherits colors from the theme:
|
|
|
132
169
|
- Respects surface container colors
|
|
133
170
|
- Can be overridden with Tailwind classes
|
|
134
171
|
|
|
135
|
-
###
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
--schmancy-sys-typescale-[type]-[token]-letter-spacing
|
|
142
|
-
```
|
|
172
|
+
### Implementation Details
|
|
173
|
+
- Uses Shadow DOM with encapsulated styles
|
|
174
|
+
- All typography values are hardcoded in the component
|
|
175
|
+
- Renders as a `<span>` element with `display: inherit`
|
|
176
|
+
- Font family: system-ui, -apple-system, sans-serif
|
|
177
|
+
- Letter spacing is set to 0 for all variants
|
|
143
178
|
|
|
144
179
|
## Common Use Cases
|
|
145
180
|
|
package/dist/ai/button.md
CHANGED
|
@@ -8,17 +8,20 @@
|
|
|
8
8
|
type="button|reset|submit" // HTML button type (default: "button")
|
|
9
9
|
href?="string" // Makes button a link
|
|
10
10
|
disabled? // Disable state
|
|
11
|
-
|
|
11
|
+
aria-label?="string" // Accessibility label
|
|
12
12
|
@click=${handler}>
|
|
13
13
|
<!-- Content with optional prefix/suffix slots -->
|
|
14
14
|
</schmancy-button>
|
|
15
15
|
|
|
16
16
|
// Icon Button Component
|
|
17
17
|
<schmancy-icon-button
|
|
18
|
-
variant="filled|filled tonal|outlined|
|
|
18
|
+
variant="elevated|filled|filled tonal|outlined|text" // Visual style (default: "text")
|
|
19
19
|
size="sm|md|lg" // Button size (default: "md")
|
|
20
|
+
width="full|auto" // Button width (default: "auto")
|
|
21
|
+
type="button|reset|submit" // HTML button type (default: "button")
|
|
22
|
+
href?="string" // Makes button a link
|
|
20
23
|
disabled? // Disable state
|
|
21
|
-
|
|
24
|
+
aria-label="string"> // Accessibility label
|
|
22
25
|
icon_name
|
|
23
26
|
</schmancy-icon-button>
|
|
24
27
|
|