@mhmo91/schmancy 0.2.193 → 0.2.195
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/area.md +205 -0
- package/ai/autocomplete.md +135 -0
- package/ai/avatar.md +178 -0
- package/ai/badge.md +100 -0
- package/ai/busy.md +195 -0
- package/ai/button.md +112 -0
- package/ai/card.md +155 -0
- package/ai/checkbox.md +108 -0
- package/ai/chips.md +180 -0
- package/ai/component-relationships.md +93 -0
- package/ai/content-drawer.md +190 -0
- package/ai/dialog.md +119 -0
- package/ai/dropdown.md +238 -0
- package/ai/form.md +148 -0
- package/ai/icons.md +147 -0
- package/ai/index.md +72 -0
- package/ai/input.md +167 -0
- package/ai/layout.md +166 -0
- package/ai/list.md +145 -0
- package/ai/menu.md +217 -0
- package/ai/notification.md +93 -0
- package/ai/radio-group.md +176 -0
- package/ai/select.md +174 -0
- package/ai/sheet.md +122 -0
- package/ai/store.md +235 -0
- package/ai/surface.md +221 -0
- package/ai/table.md +334 -0
- package/ai/tabs.md +71 -0
- package/ai/template.md +144 -0
- package/ai/textarea.md +147 -0
- package/ai/tooltip.md +149 -0
- package/ai/tree.md +279 -0
- package/ai/typography.md +170 -0
- package/dist/_headers +2 -0
- package/dist/ai/area.md +205 -0
- package/dist/ai/autocomplete.md +135 -0
- package/dist/ai/avatar.md +178 -0
- package/dist/ai/badge.md +100 -0
- package/dist/ai/busy.md +195 -0
- package/dist/ai/button.md +112 -0
- package/dist/ai/card.md +155 -0
- package/dist/ai/checkbox.md +108 -0
- package/dist/ai/chips.md +180 -0
- package/dist/ai/component-relationships.md +93 -0
- package/dist/ai/content-drawer.md +190 -0
- package/dist/ai/dialog.md +119 -0
- package/dist/ai/dropdown.md +238 -0
- package/dist/ai/form.md +148 -0
- package/dist/ai/icons.md +147 -0
- package/dist/ai/index.md +72 -0
- package/dist/ai/input.md +167 -0
- package/dist/ai/layout.md +166 -0
- package/dist/ai/list.md +145 -0
- package/dist/ai/menu.md +217 -0
- package/dist/ai/notification.md +93 -0
- package/dist/ai/radio-group.md +176 -0
- package/dist/ai/select.md +174 -0
- package/dist/ai/sheet.md +122 -0
- package/dist/ai/store.md +235 -0
- package/dist/ai/surface.md +221 -0
- package/dist/ai/table.md +334 -0
- package/dist/ai/tabs.md +71 -0
- package/dist/ai/template.md +144 -0
- package/dist/ai/textarea.md +147 -0
- package/dist/ai/tooltip.md +149 -0
- package/dist/ai/tree.md +279 -0
- package/dist/ai/typography.md +170 -0
- package/dist/{animated-text-9AM64DHd.cjs → animated-text-Bu9wh3wv.cjs} +2 -2
- package/dist/{animated-text-9AM64DHd.cjs.map → animated-text-Bu9wh3wv.cjs.map} +1 -1
- package/dist/{animated-text-CVStWn5N.js → animated-text-Ci7M0QTx.js} +3 -3
- package/dist/{animated-text-CVStWn5N.js.map → animated-text-Ci7M0QTx.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-Cg9dqZJ5.cjs +8 -0
- package/dist/area.component-Cg9dqZJ5.cjs.map +1 -0
- package/dist/area.component-eJJ_wryh.js +191 -0
- package/dist/area.component-eJJ_wryh.js.map +1 -0
- package/dist/area.js +21 -6
- package/dist/area.js.map +1 -1
- package/dist/{autocomplete-DBXvIJgc.cjs → autocomplete-BH7nQbid.cjs} +2 -2
- package/dist/{autocomplete-DBXvIJgc.cjs.map → autocomplete-BH7nQbid.cjs.map} +1 -1
- package/dist/{autocomplete-ih92pPkb.js → autocomplete-D9n1MeKT.js} +3 -3
- package/dist/{autocomplete-ih92pPkb.js.map → autocomplete-D9n1MeKT.js.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-WAIlaNJg.js → avatar-B4lSs4z5.js} +183 -145
- package/dist/avatar-B4lSs4z5.js.map +1 -0
- package/dist/{avatar-s-2jSsaH.cjs → avatar-Bg-rdjAe.cjs} +62 -24
- package/dist/avatar-Bg-rdjAe.cjs.map +1 -0
- package/dist/badge.cjs +1 -1
- package/dist/badge.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-DtnX5sT6.cjs → checkbox-CgL23smr.cjs} +10 -10
- package/dist/{checkbox-DtnX5sT6.cjs.map → checkbox-CgL23smr.cjs.map} +1 -1
- package/dist/{checkbox-Jxxbjxp0.js → checkbox-y37-tGrk.js} +72 -65
- package/dist/{checkbox-Jxxbjxp0.js.map → checkbox-y37-tGrk.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-CVDnpVUM.cjs → chips-CKST7ug-.cjs} +2 -2
- package/dist/{chips-CVDnpVUM.cjs.map → chips-CKST7ug-.cjs.map} +1 -1
- package/dist/{chips-lP7ohQep.js → chips-Ndwt1V4b.js} +3 -3
- package/dist/{chips-lP7ohQep.js.map → chips-Ndwt1V4b.js.map} +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +1 -1
- package/dist/circular-progress-BDmc1zlm.cjs +9 -0
- package/dist/circular-progress-BDmc1zlm.cjs.map +1 -0
- package/dist/circular-progress-vokDGjmG.js +35 -0
- package/dist/circular-progress-vokDGjmG.js.map +1 -0
- package/dist/circular-progress.cjs +2 -0
- package/dist/circular-progress.cjs.map +1 -0
- package/dist/circular-progress.js +5 -0
- package/dist/circular-progress.js.map +1 -0
- 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-Ca9WLI4Q.js → date-range-CpDVPn_v.js} +3 -3
- package/dist/{date-range-Ca9WLI4Q.js.map → date-range-CpDVPn_v.js.map} +1 -1
- package/dist/{date-range-DbPA5Y-t.cjs → date-range-DfZz3ifP.cjs} +2 -2
- package/dist/{date-range-DbPA5Y-t.cjs.map → date-range-DfZz3ifP.cjs.map} +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-BgNgQV2G.cjs → delay-ASLyLkQL.cjs} +2 -2
- package/dist/{delay-BgNgQV2G.cjs.map → delay-ASLyLkQL.cjs.map} +1 -1
- package/dist/{delay-5cCl7ji3.js → delay-CG5SRrzF.js} +2 -2
- package/dist/{delay-5cCl7ji3.js.map → delay-CG5SRrzF.js.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{dialog-content-9pumpyLD.js → dialog-content-BoPviBAt.js} +86 -82
- package/dist/dialog-content-BoPviBAt.js.map +1 -0
- package/dist/{dialog-content-qj1E8aye.cjs → dialog-content-D88EcY6L.cjs} +8 -8
- package/dist/dialog-content-D88EcY6L.cjs.map +1 -0
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/{divider-CHckHGEQ.cjs → divider-C38JDYss.cjs} +2 -2
- package/dist/{divider-CHckHGEQ.cjs.map → divider-C38JDYss.cjs.map} +1 -1
- package/dist/{divider-r8-9eNnl.js → divider-N7GWgK6o.js} +3 -3
- package/dist/{divider-r8-9eNnl.js.map → divider-N7GWgK6o.js.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-D-TddflQ.js → dropdown-content-DmO_yIVb.js} +3 -3
- package/dist/{dropdown-content-D-TddflQ.js.map → dropdown-content-DmO_yIVb.js.map} +1 -1
- package/dist/{dropdown-content-B41MDDRG.cjs → dropdown-content-rH8awIRA.cjs} +2 -2
- package/dist/{dropdown-content-B41MDDRG.cjs.map → dropdown-content-rH8awIRA.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-Bf0zNqji.js → flex-CXYfL6bE.js} +2 -2
- package/dist/{flex-Bf0zNqji.js.map → flex-CXYfL6bE.js.map} +1 -1
- package/dist/{flex-CFv-Zb76.cjs → flex-wYuewqrr.cjs} +2 -2
- package/dist/{flex-CFv-Zb76.cjs.map → flex-wYuewqrr.cjs.map} +1 -1
- package/dist/{form-BN75s0PI.cjs → form-CNWWdhT_.cjs} +2 -2
- package/dist/{form-BN75s0PI.cjs.map → form-CNWWdhT_.cjs.map} +1 -1
- package/dist/{form-uYcr1RLJ.js → form-q3JZjWez.js} +2 -2
- package/dist/{form-uYcr1RLJ.js.map → form-q3JZjWez.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{icon-Cu-imayV.cjs → icon-QnmfHtfT.cjs} +2 -2
- package/dist/{icon-Cu-imayV.cjs.map → icon-QnmfHtfT.cjs.map} +1 -1
- package/dist/{icon-button-1tZaicyb.js → icon-button-DOTB_28y.js} +3 -3
- package/dist/{icon-button-1tZaicyb.js.map → icon-button-DOTB_28y.js.map} +1 -1
- package/dist/{icon-button-D0BbHnDL.cjs → icon-button-oAOX71_s.cjs} +2 -2
- package/dist/{icon-button-D0BbHnDL.cjs.map → icon-button-oAOX71_s.cjs.map} +1 -1
- package/dist/{icon-BR-jE0Y2.js → icon-pLQWXzo8.js} +3 -3
- package/dist/{icon-BR-jE0Y2.js.map → icon-pLQWXzo8.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 +190 -173
- package/dist/index.js.map +1 -1
- package/dist/{input-B2oV6Hck.cjs → input-CCniOtAr.cjs} +2 -2
- package/dist/{input-B2oV6Hck.cjs.map → input-CCniOtAr.cjs.map} +1 -1
- package/dist/{input-kiz5O3dY.js → input-DeJitVSV.js} +2 -2
- package/dist/{input-kiz5O3dY.js.map → input-DeJitVSV.js.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/{list-CMHoPfX9.cjs → list-Ad-24MHW.cjs} +2 -2
- package/dist/{list-CMHoPfX9.cjs.map → list-Ad-24MHW.cjs.map} +1 -1
- package/dist/{list-wT4DLXCh.js → list-Ca79GGNH.js} +2 -2
- package/dist/{list-wT4DLXCh.js.map → list-Ca79GGNH.js.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-B9Qdq5S_.js → litElement.mixin-BoUiP2tU.js} +2 -2
- package/dist/{litElement.mixin-B9Qdq5S_.js.map → litElement.mixin-BoUiP2tU.js.map} +1 -1
- package/dist/{litElement.mixin-CHvyxfxf.cjs → litElement.mixin-qOTYSaNG.cjs} +2 -2
- package/dist/{litElement.mixin-CHvyxfxf.cjs.map → litElement.mixin-qOTYSaNG.cjs.map} +1 -1
- package/dist/{menu-BcSplMNh.cjs → menu-6Wum4ysc.cjs} +2 -2
- package/dist/{menu-BcSplMNh.cjs.map → menu-6Wum4ysc.cjs.map} +1 -1
- package/dist/{menu-Dl1QU86K.js → menu-Dd_X9oET.js} +3 -3
- package/dist/{menu-Dl1QU86K.js.map → menu-Dd_X9oET.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-CC698xHg.js → notification-service-C-9IqObm.js} +3 -3
- package/dist/{notification-service-CC698xHg.js.map → notification-service-C-9IqObm.js.map} +1 -1
- package/dist/{notification-service-BV9ybQBu.cjs → notification-service-CrNyAbmv.cjs} +2 -2
- package/dist/{notification-service-BV9ybQBu.cjs.map → notification-service-CrNyAbmv.cjs.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +1 -1
- package/dist/{option-CkLBgH71.cjs → option-BbBbwrJq.cjs} +2 -2
- package/dist/{option-CkLBgH71.cjs.map → option-BbBbwrJq.cjs.map} +1 -1
- package/dist/{option-DDxxXwwc.js → option-DVSXUJ96.js} +2 -2
- package/dist/{option-DDxxXwwc.js.map → option-DVSXUJ96.js.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-DDTO5_AA.js → payment-card-form-CTjgVoJK.js} +3 -3
- package/dist/{payment-card-form-DDTO5_AA.js.map → payment-card-form-CTjgVoJK.js.map} +1 -1
- package/dist/{payment-card-form-UWbAYNPR.cjs → payment-card-form-R5wNWHAv.cjs} +2 -2
- package/dist/{payment-card-form-UWbAYNPR.cjs.map → payment-card-form-R5wNWHAv.cjs.map} +1 -1
- package/dist/{radio-button-wWoxPDfq.js → radio-button-BDAW1Euc.js} +2 -2
- package/dist/{radio-button-wWoxPDfq.js.map → radio-button-BDAW1Euc.js.map} +1 -1
- package/dist/{radio-button-BykiVxTD.cjs → radio-button-Cg1JobXT.cjs} +2 -2
- package/dist/{radio-button-BykiVxTD.cjs.map → radio-button-Cg1JobXT.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-ByO98z7L.js → schmancy-steps-container--d7VK-QR.js} +2 -2
- package/dist/{schmancy-steps-container-ByO98z7L.js.map → schmancy-steps-container--d7VK-QR.js.map} +1 -1
- package/dist/{schmancy-steps-container-B1mIGa9M.cjs → schmancy-steps-container-BAPIxl4s.cjs} +2 -2
- package/dist/{schmancy-steps-container-B1mIGa9M.cjs.map → schmancy-steps-container-BAPIxl4s.cjs.map} +1 -1
- package/dist/{select-DE57Nios.cjs → select-CnjO7DLl.cjs} +2 -2
- package/dist/{select-DE57Nios.cjs.map → select-CnjO7DLl.cjs.map} +1 -1
- package/dist/{select-BIOhocL7.js → select-DfbOOZtm.js} +3 -3
- package/dist/{select-BIOhocL7.js.map → select-DfbOOZtm.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-Dh4MLVsU.js → sheet-DhbKM9gJ.js} +3 -3
- package/dist/{sheet-Dh4MLVsU.js.map → sheet-DhbKM9gJ.js.map} +1 -1
- package/dist/{sheet-fZYAWGsm.cjs → sheet-Ds0Fp0lM.cjs} +2 -2
- package/dist/{sheet-fZYAWGsm.cjs.map → sheet-Ds0Fp0lM.cjs.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-DVlJoDgU.js → slider-Ba3AEh2W.js} +3 -3
- package/dist/{slider-DVlJoDgU.js.map → slider-Ba3AEh2W.js.map} +1 -1
- package/dist/{slider-CejrdmPF.cjs → slider-CSOzhUhA.cjs} +2 -2
- package/dist/{slider-CejrdmPF.cjs.map → slider-CSOzhUhA.cjs.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-DbTnai_Q.js → spinner-BgeQqlFU.js} +3 -3
- package/dist/{spinner-DbTnai_Q.js.map → spinner-BgeQqlFU.js.map} +1 -1
- package/dist/{spinner-DxVJ7QJZ.cjs → spinner-llMfjiIc.cjs} +2 -2
- package/dist/{spinner-DxVJ7QJZ.cjs.map → spinner-llMfjiIc.cjs.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/surface-CT2g8fDM.cjs +92 -0
- package/dist/surface-CT2g8fDM.cjs.map +1 -0
- package/dist/surface-UcsAmLj5.js +113 -0
- package/dist/surface-UcsAmLj5.js.map +1 -0
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-CBhyHINV.cjs → table-CSBhQ-pa.cjs} +4 -4
- package/dist/{table-CBhyHINV.cjs.map → table-CSBhQ-pa.cjs.map} +1 -1
- package/dist/{table-CqUv1TOC.js → table-DuUlrDCu.js} +72 -68
- package/dist/{table-CqUv1TOC.js.map → table-DuUlrDCu.js.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-DUo2f_sV.js → tabs-compatibility-BVFHArgV.js} +2 -2
- package/dist/{tabs-compatibility-DUo2f_sV.js.map → tabs-compatibility-BVFHArgV.js.map} +1 -1
- package/dist/{tabs-compatibility-DPD6jfGF.cjs → tabs-compatibility-Bt3coGzN.cjs} +2 -2
- package/dist/{tabs-compatibility-DPD6jfGF.cjs.map → tabs-compatibility-Bt3coGzN.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-C71e_LC1.js +43 -0
- package/dist/{tailwind.mixin-Di7KWye7.js.map → tailwind.mixin-C71e_LC1.js.map} +1 -1
- package/dist/tailwind.mixin-CFCJhe5p.cjs +2 -0
- package/dist/{tailwind.mixin-Dm5QDZav.cjs.map → tailwind.mixin-CFCJhe5p.cjs.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-Dbz18REy.js → textarea-B8eIpYa-.js} +2 -2
- package/dist/{textarea-Dbz18REy.js.map → textarea-B8eIpYa-.js.map} +1 -1
- package/dist/{textarea-CesFdBkm.cjs → textarea-CtCk_1Fq.cjs} +2 -2
- package/dist/{textarea-CesFdBkm.cjs.map → textarea-CtCk_1Fq.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-Bt2OV4iu.cjs → theme-button-DQe5uOxU.cjs} +2 -2
- package/dist/{theme-button-Bt2OV4iu.cjs.map → theme-button-DQe5uOxU.cjs.map} +1 -1
- package/dist/{theme-button-lqbT2_LL.js → theme-button-TEzhKUy6.js} +2 -2
- package/dist/{theme-button-lqbT2_LL.js.map → theme-button-TEzhKUy6.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-BlBaN7d6.cjs → theme.component-Be6M74nN.cjs} +3 -3
- package/dist/{theme.component-BlBaN7d6.cjs.map → theme.component-Be6M74nN.cjs.map} +1 -1
- package/dist/{theme.component-xarFSe8p.js → theme.component-DiTpToTC.js} +2 -2
- package/dist/{theme.component-xarFSe8p.js.map → theme.component-DiTpToTC.js.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-VUMRmZaJ.cjs → timezone-C1aR24i0.cjs} +2 -2
- package/dist/{timezone-VUMRmZaJ.cjs.map → timezone-C1aR24i0.cjs.map} +1 -1
- package/dist/{timezone-DwT_pQrj.js → timezone-CBSuTrU2.js} +3 -3
- package/dist/{timezone-DwT_pQrj.js.map → timezone-CBSuTrU2.js.map} +1 -1
- package/dist/{tooltip-BKOHVCMK.js → tooltip-DYQW9R3I.js} +2 -2
- package/dist/{tooltip-BKOHVCMK.js.map → tooltip-DYQW9R3I.js.map} +1 -1
- package/dist/{tooltip-Cvoroe7w.cjs → tooltip-DYcXTtFy.cjs} +2 -2
- package/dist/{tooltip-Cvoroe7w.cjs.map → tooltip-DYcXTtFy.cjs.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-Cyp2AZ8g.cjs → tree-D-rTjnPs.cjs} +2 -2
- package/dist/{tree-Cyp2AZ8g.cjs.map → tree-D-rTjnPs.cjs.map} +1 -1
- package/dist/{tree-_FJnHVmP.js → tree-nsSIkdNT.js} +2 -2
- package/dist/{tree-_FJnHVmP.js.map → tree-nsSIkdNT.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-BIm2tOe4.cjs → typewriter-Cj0R-RDa.cjs} +2 -2
- package/dist/{typewriter-BIm2tOe4.cjs.map → typewriter-Cj0R-RDa.cjs.map} +1 -1
- package/dist/{typewriter-DWfXPBni.js → typewriter-DrYb6_FB.js} +22 -22
- package/dist/{typewriter-DWfXPBni.js.map → typewriter-DrYb6_FB.js.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-OpLt6LNd.cjs → typography-B0Kj2XoC.cjs} +2 -2
- package/dist/{typography-OpLt6LNd.cjs.map → typography-B0Kj2XoC.cjs.map} +1 -1
- package/dist/{typography-DaKLzjFB.js → typography-DMj2H_lZ.js} +2 -2
- package/dist/{typography-DaKLzjFB.js.map → typography-DMj2H_lZ.js.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/dist/utils-BqFGvnN9.cjs +2 -0
- package/dist/utils-BqFGvnN9.cjs.map +1 -0
- package/dist/utils-jduntaQU.js +128 -0
- package/dist/utils-jduntaQU.js.map +1 -0
- package/package.json +14 -14
- package/types/src/area/area.component.d.ts +1 -1
- package/types/src/area/area.service.d.ts +72 -5
- package/types/src/area/index.d.ts +1 -0
- package/types/src/area/router.types.d.ts +41 -2
- package/types/src/area/utils.d.ts +91 -1
- package/types/src/checkbox/checkbox.d.ts +9 -0
- package/types/src/circular-progress/circular-progress.d.ts +15 -0
- package/types/src/circular-progress/index.d.ts +1 -0
- package/types/src/dialog/dailog.d.ts +8 -0
- package/types/src/dialog/dialog-service.d.ts +1 -0
- package/types/src/index.d.ts +1 -0
- package/types/src/table/table.d.ts +1 -0
- package/dist/area.component-CZELEuMj.js +0 -107
- package/dist/area.component-CZELEuMj.js.map +0 -1
- package/dist/area.component-grRkXEse.cjs +0 -8
- package/dist/area.component-grRkXEse.cjs.map +0 -1
- package/dist/avatar-WAIlaNJg.js.map +0 -1
- package/dist/avatar-s-2jSsaH.cjs.map +0 -1
- package/dist/dialog-content-9pumpyLD.js.map +0 -1
- package/dist/dialog-content-qj1E8aye.cjs.map +0 -1
- package/dist/surface-BTuzKmT2.cjs +0 -20
- package/dist/surface-BTuzKmT2.cjs.map +0 -1
- package/dist/surface-DXx1bJN4.js +0 -43
- package/dist/surface-DXx1bJN4.js.map +0 -1
- package/dist/tailwind.mixin-Di7KWye7.js +0 -43
- package/dist/tailwind.mixin-Dm5QDZav.cjs +0 -2
package/ai/tooltip.md
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# Schmancy Tooltip - AI Reference
|
|
2
|
+
|
|
3
|
+
```js
|
|
4
|
+
// Basic Tooltip
|
|
5
|
+
<schmancy-tooltip text="Tooltip text">
|
|
6
|
+
<schmancy-button>Hover me</schmancy-button>
|
|
7
|
+
</schmancy-tooltip>
|
|
8
|
+
|
|
9
|
+
// Tooltip with position
|
|
10
|
+
<schmancy-tooltip
|
|
11
|
+
text="Tooltip content"
|
|
12
|
+
position="top|right|bottom|left|top-start|top-end|right-start|right-end|bottom-start|bottom-end|left-start|left-end">
|
|
13
|
+
<div>Hover over this element</div>
|
|
14
|
+
</schmancy-tooltip>
|
|
15
|
+
|
|
16
|
+
// Tooltip with custom content
|
|
17
|
+
<schmancy-tooltip>
|
|
18
|
+
<schmancy-button>Hover me</schmancy-button>
|
|
19
|
+
|
|
20
|
+
<div slot="content">
|
|
21
|
+
<h4>Custom Tooltip</h4>
|
|
22
|
+
<p>This is a tooltip with custom HTML content.</p>
|
|
23
|
+
</div>
|
|
24
|
+
</schmancy-tooltip>
|
|
25
|
+
|
|
26
|
+
// Tooltip with delay and offset
|
|
27
|
+
<schmancy-tooltip
|
|
28
|
+
text="Delayed tooltip"
|
|
29
|
+
show-delay="500"
|
|
30
|
+
hide-delay="200"
|
|
31
|
+
offset="10">
|
|
32
|
+
<span>Hover for delayed tooltip</span>
|
|
33
|
+
</schmancy-tooltip>
|
|
34
|
+
|
|
35
|
+
// Tooltip directive (alternative usage)
|
|
36
|
+
<schmancy-button
|
|
37
|
+
${tooltip('Button tooltip', {
|
|
38
|
+
position: 'top',
|
|
39
|
+
showDelay: 300
|
|
40
|
+
})}>
|
|
41
|
+
Hover me
|
|
42
|
+
</schmancy-button>
|
|
43
|
+
|
|
44
|
+
// Tooltip Properties
|
|
45
|
+
text: string // Text content of the tooltip
|
|
46
|
+
position: string // Position relative to target: "top", "right", "bottom", "left" and variations
|
|
47
|
+
showDelay: number // Delay before showing tooltip (milliseconds)
|
|
48
|
+
hideDelay: number // Delay before hiding tooltip (milliseconds)
|
|
49
|
+
offset: number // Distance between tooltip and target (pixels)
|
|
50
|
+
maxWidth: string // Maximum width of the tooltip
|
|
51
|
+
interactive: boolean // Allow interaction with tooltip content
|
|
52
|
+
disabled: boolean // Disable the tooltip
|
|
53
|
+
always-visible: boolean // Keep tooltip visible (for testing)
|
|
54
|
+
|
|
55
|
+
// Tooltip Events
|
|
56
|
+
@show // Fires when tooltip is shown
|
|
57
|
+
@hide // Fires when tooltip is hidden
|
|
58
|
+
|
|
59
|
+
// Tooltip Directive Options
|
|
60
|
+
tooltip(text, {
|
|
61
|
+
position: string, // Position relative to target
|
|
62
|
+
showDelay: number, // Delay before showing tooltip (milliseconds)
|
|
63
|
+
hideDelay: number, // Delay before hiding tooltip (milliseconds)
|
|
64
|
+
offset: number, // Distance between tooltip and target (pixels)
|
|
65
|
+
maxWidth: string, // Maximum width of the tooltip
|
|
66
|
+
interactive: boolean // Allow interaction with tooltip content
|
|
67
|
+
})
|
|
68
|
+
|
|
69
|
+
// Examples
|
|
70
|
+
// Basic usage
|
|
71
|
+
<schmancy-tooltip text="Delete this item">
|
|
72
|
+
<schmancy-icon-button
|
|
73
|
+
icon="delete"
|
|
74
|
+
variant="danger">
|
|
75
|
+
</schmancy-icon-button>
|
|
76
|
+
</schmancy-tooltip>
|
|
77
|
+
|
|
78
|
+
// Tooltip with rich content
|
|
79
|
+
<schmancy-tooltip position="right">
|
|
80
|
+
<schmancy-icon-button icon="info"></schmancy-icon-button>
|
|
81
|
+
|
|
82
|
+
<div slot="content">
|
|
83
|
+
<h4>Information</h4>
|
|
84
|
+
<p>This feature allows you to:</p>
|
|
85
|
+
<ul>
|
|
86
|
+
<li>Create new records</li>
|
|
87
|
+
<li>Edit existing data</li>
|
|
88
|
+
<li>Export as CSV</li>
|
|
89
|
+
</ul>
|
|
90
|
+
</div>
|
|
91
|
+
</schmancy-tooltip>
|
|
92
|
+
|
|
93
|
+
// Interactive tooltip
|
|
94
|
+
<schmancy-tooltip
|
|
95
|
+
position="bottom"
|
|
96
|
+
interactive>
|
|
97
|
+
<span>Settings</span>
|
|
98
|
+
|
|
99
|
+
<div slot="content">
|
|
100
|
+
<h4>Quick Settings</h4>
|
|
101
|
+
<schmancy-checkbox label="Enable notifications"></schmancy-checkbox>
|
|
102
|
+
<schmancy-checkbox label="Dark mode"></schmancy-checkbox>
|
|
103
|
+
<schmancy-button size="small">Apply</schmancy-button>
|
|
104
|
+
</div>
|
|
105
|
+
</schmancy-tooltip>
|
|
106
|
+
|
|
107
|
+
// Using tooltip directive
|
|
108
|
+
<div>
|
|
109
|
+
<schmancy-button ${tooltip('Save changes')}>
|
|
110
|
+
Save
|
|
111
|
+
</schmancy-button>
|
|
112
|
+
|
|
113
|
+
<schmancy-button ${tooltip('Discard all changes', { position: 'bottom' })}>
|
|
114
|
+
Cancel
|
|
115
|
+
</schmancy-button>
|
|
116
|
+
|
|
117
|
+
<schmancy-icon-button
|
|
118
|
+
icon="help"
|
|
119
|
+
${tooltip('Need help?', { position: 'right', showDelay: 500 })}>
|
|
120
|
+
</schmancy-icon-button>
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
// Tooltip on disabled elements
|
|
124
|
+
<schmancy-tooltip text="You don't have permission to edit">
|
|
125
|
+
<span>
|
|
126
|
+
<schmancy-button disabled>
|
|
127
|
+
Edit
|
|
128
|
+
</schmancy-button>
|
|
129
|
+
</span>
|
|
130
|
+
</schmancy-tooltip>
|
|
131
|
+
|
|
132
|
+
// Tooltip for form fields
|
|
133
|
+
<div>
|
|
134
|
+
<schmancy-input
|
|
135
|
+
label="Username"
|
|
136
|
+
${tooltip('Enter your username or email address')}>
|
|
137
|
+
</schmancy-input>
|
|
138
|
+
|
|
139
|
+
<schmancy-input
|
|
140
|
+
label="Password"
|
|
141
|
+
type="password">
|
|
142
|
+
<schmancy-icon
|
|
143
|
+
slot="suffix"
|
|
144
|
+
icon="info"
|
|
145
|
+
${tooltip('Password must be at least 8 characters')}>
|
|
146
|
+
</schmancy-icon>
|
|
147
|
+
</schmancy-input>
|
|
148
|
+
</div>
|
|
149
|
+
```
|
package/ai/tree.md
ADDED
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
# Schmancy Tree - AI Reference
|
|
2
|
+
|
|
3
|
+
```js
|
|
4
|
+
// Basic Tree
|
|
5
|
+
<schmancy-tree>
|
|
6
|
+
<schmancy-tree-item label="Root">
|
|
7
|
+
<schmancy-tree-item label="Child 1"></schmancy-tree-item>
|
|
8
|
+
<schmancy-tree-item label="Child 2">
|
|
9
|
+
<schmancy-tree-item label="Grandchild 1"></schmancy-tree-item>
|
|
10
|
+
<schmancy-tree-item label="Grandchild 2"></schmancy-tree-item>
|
|
11
|
+
</schmancy-tree-item>
|
|
12
|
+
<schmancy-tree-item label="Child 3"></schmancy-tree-item>
|
|
13
|
+
</schmancy-tree-item>
|
|
14
|
+
</schmancy-tree>
|
|
15
|
+
|
|
16
|
+
// Tree with selection
|
|
17
|
+
<schmancy-tree
|
|
18
|
+
selectable
|
|
19
|
+
@select=${handleSelection}>
|
|
20
|
+
<!-- Tree items -->
|
|
21
|
+
</schmancy-tree>
|
|
22
|
+
|
|
23
|
+
// Tree with custom items
|
|
24
|
+
<schmancy-tree>
|
|
25
|
+
<schmancy-tree-item value="item1">
|
|
26
|
+
<div slot="label">
|
|
27
|
+
<schmancy-icon icon="folder"></schmancy-icon>
|
|
28
|
+
<span>Documents</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<schmancy-tree-item value="item1.1">
|
|
32
|
+
<div slot="label">
|
|
33
|
+
<schmancy-icon icon="file-text"></schmancy-icon>
|
|
34
|
+
<span>Report.pdf</span>
|
|
35
|
+
</div>
|
|
36
|
+
</schmancy-tree-item>
|
|
37
|
+
|
|
38
|
+
<schmancy-tree-item value="item1.2">
|
|
39
|
+
<div slot="label">
|
|
40
|
+
<schmancy-icon icon="file-text"></schmancy-icon>
|
|
41
|
+
<span>Presentation.pptx</span>
|
|
42
|
+
</div>
|
|
43
|
+
</schmancy-tree-item>
|
|
44
|
+
</schmancy-tree-item>
|
|
45
|
+
</schmancy-tree>
|
|
46
|
+
|
|
47
|
+
// Tree Properties
|
|
48
|
+
selectable: boolean // Enable item selection
|
|
49
|
+
multiselect: boolean // Allow multiple selections
|
|
50
|
+
expandOnSelect: boolean // Expand items when selected
|
|
51
|
+
compact: boolean // Reduce padding and spacing
|
|
52
|
+
indentSize: number // Indentation size in pixels (default: 20)
|
|
53
|
+
expandedItems: string[] // Initially expanded items (by value)
|
|
54
|
+
selectedItems: string[] // Initially selected items (by value)
|
|
55
|
+
|
|
56
|
+
// Tree Item Properties
|
|
57
|
+
label: string // Text label for the item
|
|
58
|
+
value: string // Value for selection/identification
|
|
59
|
+
expanded: boolean // Whether the item is expanded
|
|
60
|
+
selected: boolean // Whether the item is selected
|
|
61
|
+
disabled: boolean // Disable the item
|
|
62
|
+
icon: string // Icon to display (if using default rendering)
|
|
63
|
+
loading: boolean // Show loading indicator
|
|
64
|
+
checkable: boolean // Show checkbox for selection
|
|
65
|
+
childrenCount: number // Number of children (for lazy loading)
|
|
66
|
+
|
|
67
|
+
// Tree Events
|
|
68
|
+
@select // Fires when selection changes, with { detail: { selected } }
|
|
69
|
+
@expand // Fires when item expands, with { detail: { value, expanded } }
|
|
70
|
+
@collapse // Fires when item collapses, with { detail: { value, expanded } }
|
|
71
|
+
@toggle // Fires when item expands/collapses, with { detail: { value, expanded } }
|
|
72
|
+
|
|
73
|
+
// Tree Methods
|
|
74
|
+
tree.expandAll() -> void // Expand all items
|
|
75
|
+
tree.collapseAll() -> void // Collapse all items
|
|
76
|
+
tree.getSelectedItems() -> string[] // Get selected item values
|
|
77
|
+
tree.selectItem(value) -> void // Select an item
|
|
78
|
+
tree.deselectItem(value) -> void // Deselect an item
|
|
79
|
+
tree.expandItem(value) -> void // Expand an item
|
|
80
|
+
tree.collapseItem(value) -> void // Collapse an item
|
|
81
|
+
|
|
82
|
+
// Examples
|
|
83
|
+
// File explorer tree
|
|
84
|
+
<schmancy-tree
|
|
85
|
+
selectable
|
|
86
|
+
expandOnSelect
|
|
87
|
+
@select=${(e) => handleFileSelection(e.detail.selected)}>
|
|
88
|
+
|
|
89
|
+
<schmancy-tree-item value="documents" expanded>
|
|
90
|
+
<div slot="label">
|
|
91
|
+
<schmancy-icon icon="folder"></schmancy-icon>
|
|
92
|
+
<span>Documents</span>
|
|
93
|
+
</div>
|
|
94
|
+
|
|
95
|
+
<schmancy-tree-item value="documents/reports">
|
|
96
|
+
<div slot="label">
|
|
97
|
+
<schmancy-icon icon="folder"></schmancy-icon>
|
|
98
|
+
<span>Reports</span>
|
|
99
|
+
</div>
|
|
100
|
+
|
|
101
|
+
<schmancy-tree-item value="documents/reports/q1.pdf">
|
|
102
|
+
<div slot="label">
|
|
103
|
+
<schmancy-icon icon="file-text"></schmancy-icon>
|
|
104
|
+
<span>Q1 Report.pdf</span>
|
|
105
|
+
</div>
|
|
106
|
+
</schmancy-tree-item>
|
|
107
|
+
|
|
108
|
+
<schmancy-tree-item value="documents/reports/q2.pdf">
|
|
109
|
+
<div slot="label">
|
|
110
|
+
<schmancy-icon icon="file-text"></schmancy-icon>
|
|
111
|
+
<span>Q2 Report.pdf</span>
|
|
112
|
+
</div>
|
|
113
|
+
</schmancy-tree-item>
|
|
114
|
+
</schmancy-tree-item>
|
|
115
|
+
|
|
116
|
+
<schmancy-tree-item value="documents/presentations">
|
|
117
|
+
<div slot="label">
|
|
118
|
+
<schmancy-icon icon="folder"></schmancy-icon>
|
|
119
|
+
<span>Presentations</span>
|
|
120
|
+
</div>
|
|
121
|
+
|
|
122
|
+
<schmancy-tree-item value="documents/presentations/product.pptx">
|
|
123
|
+
<div slot="label">
|
|
124
|
+
<schmancy-icon icon="file-presentation"></schmancy-icon>
|
|
125
|
+
<span>Product Roadmap.pptx</span>
|
|
126
|
+
</div>
|
|
127
|
+
</schmancy-tree-item>
|
|
128
|
+
</schmancy-tree-item>
|
|
129
|
+
</schmancy-tree-item>
|
|
130
|
+
|
|
131
|
+
<schmancy-tree-item value="images">
|
|
132
|
+
<div slot="label">
|
|
133
|
+
<schmancy-icon icon="folder"></schmancy-icon>
|
|
134
|
+
<span>Images</span>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
<schmancy-tree-item value="images/logo.png">
|
|
138
|
+
<div slot="label">
|
|
139
|
+
<schmancy-icon icon="image"></schmancy-icon>
|
|
140
|
+
<span>Logo.png</span>
|
|
141
|
+
</div>
|
|
142
|
+
</schmancy-tree-item>
|
|
143
|
+
|
|
144
|
+
<schmancy-tree-item value="images/banner.jpg">
|
|
145
|
+
<div slot="label">
|
|
146
|
+
<schmancy-icon icon="image"></schmancy-icon>
|
|
147
|
+
<span>Banner.jpg</span>
|
|
148
|
+
</div>
|
|
149
|
+
</schmancy-tree-item>
|
|
150
|
+
</schmancy-tree-item>
|
|
151
|
+
</schmancy-tree>
|
|
152
|
+
|
|
153
|
+
// Organization tree with checkboxes
|
|
154
|
+
<schmancy-tree
|
|
155
|
+
selectable
|
|
156
|
+
multiselect
|
|
157
|
+
@select=${(e) => updateSelectedDepartments(e.detail.selected)}>
|
|
158
|
+
|
|
159
|
+
<schmancy-tree-item value="company" checkable expanded>
|
|
160
|
+
<div slot="label">
|
|
161
|
+
<strong>Acme Inc.</strong>
|
|
162
|
+
</div>
|
|
163
|
+
|
|
164
|
+
<schmancy-tree-item value="engineering" checkable>
|
|
165
|
+
<div slot="label">Engineering</div>
|
|
166
|
+
|
|
167
|
+
<schmancy-tree-item value="frontend" checkable>
|
|
168
|
+
<div slot="label">Frontend</div>
|
|
169
|
+
</schmancy-tree-item>
|
|
170
|
+
|
|
171
|
+
<schmancy-tree-item value="backend" checkable>
|
|
172
|
+
<div slot="label">Backend</div>
|
|
173
|
+
</schmancy-tree-item>
|
|
174
|
+
|
|
175
|
+
<schmancy-tree-item value="qa" checkable>
|
|
176
|
+
<div slot="label">QA</div>
|
|
177
|
+
</schmancy-tree-item>
|
|
178
|
+
</schmancy-tree-item>
|
|
179
|
+
|
|
180
|
+
<schmancy-tree-item value="design" checkable>
|
|
181
|
+
<div slot="label">Design</div>
|
|
182
|
+
|
|
183
|
+
<schmancy-tree-item value="ux" checkable>
|
|
184
|
+
<div slot="label">UX</div>
|
|
185
|
+
</schmancy-tree-item>
|
|
186
|
+
|
|
187
|
+
<schmancy-tree-item value="ui" checkable>
|
|
188
|
+
<div slot="label">UI</div>
|
|
189
|
+
</schmancy-tree-item>
|
|
190
|
+
</schmancy-tree-item>
|
|
191
|
+
|
|
192
|
+
<schmancy-tree-item value="marketing" checkable>
|
|
193
|
+
<div slot="label">Marketing</div>
|
|
194
|
+
</schmancy-tree-item>
|
|
195
|
+
|
|
196
|
+
<schmancy-tree-item value="sales" checkable>
|
|
197
|
+
<div slot="label">Sales</div>
|
|
198
|
+
</schmancy-tree-item>
|
|
199
|
+
</schmancy-tree-item>
|
|
200
|
+
</schmancy-tree>
|
|
201
|
+
|
|
202
|
+
// Dynamic tree from data
|
|
203
|
+
<schmancy-tree
|
|
204
|
+
selectable
|
|
205
|
+
.expandedItems=${expandedItems}
|
|
206
|
+
.selectedItems=${selectedItems}
|
|
207
|
+
@select=${handleSelection}
|
|
208
|
+
@toggle=${handleToggle}>
|
|
209
|
+
|
|
210
|
+
${renderTree(treeData)}
|
|
211
|
+
</schmancy-tree>
|
|
212
|
+
|
|
213
|
+
// Helper function to render tree recursively
|
|
214
|
+
function renderTree(items) {
|
|
215
|
+
return items.map(item => html`
|
|
216
|
+
<schmancy-tree-item
|
|
217
|
+
value=${item.id}
|
|
218
|
+
label=${item.label}
|
|
219
|
+
?expanded=${expandedItems.includes(item.id)}
|
|
220
|
+
?selected=${selectedItems.includes(item.id)}
|
|
221
|
+
?disabled=${item.disabled}
|
|
222
|
+
?loading=${item.loading}>
|
|
223
|
+
|
|
224
|
+
${item.children ? renderTree(item.children) : ''}
|
|
225
|
+
</schmancy-tree-item>
|
|
226
|
+
`);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// Lazy loading tree
|
|
230
|
+
<schmancy-tree @toggle=${handleToggle}>
|
|
231
|
+
<schmancy-tree-item
|
|
232
|
+
value="root"
|
|
233
|
+
label="Root Folder"
|
|
234
|
+
expanded
|
|
235
|
+
childrenCount=${3}>
|
|
236
|
+
|
|
237
|
+
${loadedChildren.root ? loadedChildren.root.map(child => html`
|
|
238
|
+
<schmancy-tree-item
|
|
239
|
+
value=${child.id}
|
|
240
|
+
label=${child.name}
|
|
241
|
+
childrenCount=${child.hasChildren ? 1 : 0}
|
|
242
|
+
?loading=${loadingItems.includes(child.id)}>
|
|
243
|
+
|
|
244
|
+
${loadedChildren[child.id] ? loadedChildren[child.id].map(grandchild => html`
|
|
245
|
+
<schmancy-tree-item
|
|
246
|
+
value=${grandchild.id}
|
|
247
|
+
label=${grandchild.name}
|
|
248
|
+
childrenCount=${grandchild.hasChildren ? 1 : 0}>
|
|
249
|
+
</schmancy-tree-item>
|
|
250
|
+
`) : ''}
|
|
251
|
+
</schmancy-tree-item>
|
|
252
|
+
`) : html`
|
|
253
|
+
<schmancy-tree-item loading>Loading...</schmancy-tree-item>
|
|
254
|
+
`}
|
|
255
|
+
</schmancy-tree-item>
|
|
256
|
+
</schmancy-tree>
|
|
257
|
+
|
|
258
|
+
// Handling toggle for lazy loading
|
|
259
|
+
async function handleToggle(e) {
|
|
260
|
+
const { value, expanded } = e.detail;
|
|
261
|
+
|
|
262
|
+
if (expanded && !loadedChildren[value]) {
|
|
263
|
+
// Mark item as loading
|
|
264
|
+
loadingItems = [...loadingItems, value];
|
|
265
|
+
|
|
266
|
+
// Load children
|
|
267
|
+
const children = await fetchChildren(value);
|
|
268
|
+
|
|
269
|
+
// Update loaded children
|
|
270
|
+
loadedChildren = {
|
|
271
|
+
...loadedChildren,
|
|
272
|
+
[value]: children
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
// Remove from loading items
|
|
276
|
+
loadingItems = loadingItems.filter(id => id !== value);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
```
|
package/ai/typography.md
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# Schmancy Typography - AI Reference
|
|
2
|
+
|
|
3
|
+
```js
|
|
4
|
+
// Basic Typography
|
|
5
|
+
<schmancy-typography
|
|
6
|
+
variant="h1|h2|h3|h4|h5|h6|subtitle1|subtitle2|body1|body2|button|caption|overline"
|
|
7
|
+
color="primary|secondary|tertiary|error|text-primary|text-secondary|text-disabled"
|
|
8
|
+
align="left|center|right|justify"
|
|
9
|
+
weight="thin|light|regular|medium|bold"
|
|
10
|
+
transform="none|uppercase|lowercase|capitalize"
|
|
11
|
+
truncate?
|
|
12
|
+
no-wrap?
|
|
13
|
+
gutter-bottom?>
|
|
14
|
+
Text content goes here
|
|
15
|
+
</schmancy-typography>
|
|
16
|
+
|
|
17
|
+
// Typography heading variants
|
|
18
|
+
<schmancy-typography variant="h1">Heading 1</schmancy-typography>
|
|
19
|
+
<schmancy-typography variant="h2">Heading 2</schmancy-typography>
|
|
20
|
+
<schmancy-typography variant="h3">Heading 3</schmancy-typography>
|
|
21
|
+
<schmancy-typography variant="h4">Heading 4</schmancy-typography>
|
|
22
|
+
<schmancy-typography variant="h5">Heading 5</schmancy-typography>
|
|
23
|
+
<schmancy-typography variant="h6">Heading 6</schmancy-typography>
|
|
24
|
+
|
|
25
|
+
// Typography body variants
|
|
26
|
+
<schmancy-typography variant="subtitle1">Subtitle 1</schmancy-typography>
|
|
27
|
+
<schmancy-typography variant="subtitle2">Subtitle 2</schmancy-typography>
|
|
28
|
+
<schmancy-typography variant="body1">Body 1 text</schmancy-typography>
|
|
29
|
+
<schmancy-typography variant="body2">Body 2 text</schmancy-typography>
|
|
30
|
+
<schmancy-typography variant="button">Button text</schmancy-typography>
|
|
31
|
+
<schmancy-typography variant="caption">Caption text</schmancy-typography>
|
|
32
|
+
<schmancy-typography variant="overline">Overline text</schmancy-typography>
|
|
33
|
+
|
|
34
|
+
// Typography Properties
|
|
35
|
+
variant: string // Text style variant
|
|
36
|
+
color: string // Text color
|
|
37
|
+
align: string // Text alignment
|
|
38
|
+
weight: string // Font weight
|
|
39
|
+
transform: string // Text transformation
|
|
40
|
+
truncate: boolean // Truncate overflow with ellipsis
|
|
41
|
+
noWrap: boolean // Prevent text wrapping
|
|
42
|
+
gutterBottom: boolean // Add margin at the bottom
|
|
43
|
+
italic: boolean // Italic style
|
|
44
|
+
underline: boolean // Underline text
|
|
45
|
+
lineHeight: string // Line height
|
|
46
|
+
letterSpacing: string // Letter spacing
|
|
47
|
+
fontFamily: string // Font family
|
|
48
|
+
size: string // Custom font size (overrides variant)
|
|
49
|
+
responsive: boolean // Apply responsive sizing
|
|
50
|
+
|
|
51
|
+
// Examples
|
|
52
|
+
// Basic usage
|
|
53
|
+
<schmancy-typography variant="h2" color="primary">
|
|
54
|
+
Welcome to Our Application
|
|
55
|
+
</schmancy-typography>
|
|
56
|
+
|
|
57
|
+
<schmancy-typography variant="body1">
|
|
58
|
+
This is a paragraph of text that demonstrates the body1 typography variant.
|
|
59
|
+
It's commonly used for the main content text on a page.
|
|
60
|
+
</schmancy-typography>
|
|
61
|
+
|
|
62
|
+
// Styled text
|
|
63
|
+
<schmancy-typography
|
|
64
|
+
variant="subtitle1"
|
|
65
|
+
weight="bold"
|
|
66
|
+
color="secondary"
|
|
67
|
+
transform="uppercase">
|
|
68
|
+
Important Notice
|
|
69
|
+
</schmancy-typography>
|
|
70
|
+
|
|
71
|
+
// Truncated text
|
|
72
|
+
<schmancy-typography
|
|
73
|
+
variant="body2"
|
|
74
|
+
truncate
|
|
75
|
+
style="max-width: 200px;">
|
|
76
|
+
This is a very long text that will be truncated with an ellipsis when it exceeds the container width.
|
|
77
|
+
</schmancy-typography>
|
|
78
|
+
|
|
79
|
+
// Responsive headings
|
|
80
|
+
<schmancy-typography
|
|
81
|
+
variant="h1"
|
|
82
|
+
responsive
|
|
83
|
+
align="center"
|
|
84
|
+
gutter-bottom>
|
|
85
|
+
Responsive Heading
|
|
86
|
+
</schmancy-typography>
|
|
87
|
+
|
|
88
|
+
// Text with custom styling
|
|
89
|
+
<schmancy-typography
|
|
90
|
+
variant="body1"
|
|
91
|
+
italic
|
|
92
|
+
letter-spacing="0.5px"
|
|
93
|
+
line-height="1.8">
|
|
94
|
+
This text has custom letter spacing and line height, with italic styling.
|
|
95
|
+
</schmancy-typography>
|
|
96
|
+
|
|
97
|
+
// Text with different weights
|
|
98
|
+
<div>
|
|
99
|
+
<schmancy-typography variant="body1" weight="thin">
|
|
100
|
+
This text has thin weight.
|
|
101
|
+
</schmancy-typography>
|
|
102
|
+
|
|
103
|
+
<schmancy-typography variant="body1" weight="light">
|
|
104
|
+
This text has light weight.
|
|
105
|
+
</schmancy-typography>
|
|
106
|
+
|
|
107
|
+
<schmancy-typography variant="body1" weight="regular">
|
|
108
|
+
This text has regular weight.
|
|
109
|
+
</schmancy-typography>
|
|
110
|
+
|
|
111
|
+
<schmancy-typography variant="body1" weight="medium">
|
|
112
|
+
This text has medium weight.
|
|
113
|
+
</schmancy-typography>
|
|
114
|
+
|
|
115
|
+
<schmancy-typography variant="body1" weight="bold">
|
|
116
|
+
This text has bold weight.
|
|
117
|
+
</schmancy-typography>
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
// Typography in a card
|
|
121
|
+
<schmancy-card>
|
|
122
|
+
<schmancy-card-content>
|
|
123
|
+
<schmancy-typography variant="h4" gutter-bottom>
|
|
124
|
+
Card Title
|
|
125
|
+
</schmancy-typography>
|
|
126
|
+
|
|
127
|
+
<schmancy-typography variant="body2" color="text-secondary" gutter-bottom>
|
|
128
|
+
Posted on January 1, 2023
|
|
129
|
+
</schmancy-typography>
|
|
130
|
+
|
|
131
|
+
<schmancy-typography variant="body1">
|
|
132
|
+
This is the main content of the card. It uses the body1 typography variant
|
|
133
|
+
which is suitable for longer text content.
|
|
134
|
+
</schmancy-typography>
|
|
135
|
+
</schmancy-card-content>
|
|
136
|
+
|
|
137
|
+
<schmancy-card-actions>
|
|
138
|
+
<schmancy-button>
|
|
139
|
+
<schmancy-typography variant="button">
|
|
140
|
+
Read More
|
|
141
|
+
</schmancy-typography>
|
|
142
|
+
</schmancy-button>
|
|
143
|
+
</schmancy-card-actions>
|
|
144
|
+
</schmancy-card>
|
|
145
|
+
|
|
146
|
+
// Error message
|
|
147
|
+
<schmancy-typography
|
|
148
|
+
variant="body2"
|
|
149
|
+
color="error"
|
|
150
|
+
gutter-bottom>
|
|
151
|
+
The username or password you entered is incorrect.
|
|
152
|
+
</schmancy-typography>
|
|
153
|
+
|
|
154
|
+
// Caption with custom size
|
|
155
|
+
<schmancy-typography
|
|
156
|
+
variant="caption"
|
|
157
|
+
color="text-secondary"
|
|
158
|
+
size="10px">
|
|
159
|
+
* Terms and conditions apply
|
|
160
|
+
</schmancy-typography>
|
|
161
|
+
|
|
162
|
+
// Paragraph with custom font family
|
|
163
|
+
<schmancy-typography
|
|
164
|
+
variant="body1"
|
|
165
|
+
font-family="'Georgia', serif"
|
|
166
|
+
line-height="1.7">
|
|
167
|
+
This paragraph uses a serif font for a more traditional typographic style.
|
|
168
|
+
Custom font families can be specified when needed for special sections.
|
|
169
|
+
</schmancy-typography>
|
|
170
|
+
```
|
package/dist/_headers
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://cdn.jsdelivr.net/npm/ https://www.claudeusercontent.com https://cdnjs.cloudflare.com https://cdn.jsdelivr.net/pyodide/; style-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net/npm/; font-src 'self' data: https://cdn.jsdelivr.net/npm/; img-src 'self' data: https: blob:; connect-src 'self' https:
|