@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
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
# Schmancy Dropdown - AI Reference
|
|
2
|
+
|
|
3
|
+
```js
|
|
4
|
+
// Basic Dropdown
|
|
5
|
+
<schmancy-dropdown>
|
|
6
|
+
<schmancy-button slot="trigger">
|
|
7
|
+
Open Dropdown
|
|
8
|
+
</schmancy-button>
|
|
9
|
+
|
|
10
|
+
<div slot="content">
|
|
11
|
+
<div>Dropdown content goes here</div>
|
|
12
|
+
</div>
|
|
13
|
+
</schmancy-dropdown>
|
|
14
|
+
|
|
15
|
+
// Dropdown with position
|
|
16
|
+
<schmancy-dropdown
|
|
17
|
+
position="bottom-start|bottom-end|top-start|top-end|left-start|left-end|right-start|right-end">
|
|
18
|
+
<schmancy-button slot="trigger">
|
|
19
|
+
Open Dropdown
|
|
20
|
+
</schmancy-button>
|
|
21
|
+
|
|
22
|
+
<div slot="content">
|
|
23
|
+
<div>Positioned dropdown content</div>
|
|
24
|
+
</div>
|
|
25
|
+
</schmancy-dropdown>
|
|
26
|
+
|
|
27
|
+
// Dropdown with menu items
|
|
28
|
+
<schmancy-dropdown>
|
|
29
|
+
<schmancy-button slot="trigger">
|
|
30
|
+
Options
|
|
31
|
+
</schmancy-button>
|
|
32
|
+
|
|
33
|
+
<schmancy-menu slot="content">
|
|
34
|
+
<schmancy-menu-item @click=${handleEdit}>Edit</schmancy-menu-item>
|
|
35
|
+
<schmancy-menu-item @click=${handleDuplicate}>Duplicate</schmancy-menu-item>
|
|
36
|
+
<schmancy-menu-item @click=${handleArchive}>Archive</schmancy-menu-item>
|
|
37
|
+
<schmancy-menu-item disabled>Share</schmancy-menu-item>
|
|
38
|
+
<schmancy-divider></schmancy-divider>
|
|
39
|
+
<schmancy-menu-item variant="danger" @click=${handleDelete}>Delete</schmancy-menu-item>
|
|
40
|
+
</schmancy-menu>
|
|
41
|
+
</schmancy-dropdown>
|
|
42
|
+
|
|
43
|
+
// Dropdown with custom width and offset
|
|
44
|
+
<schmancy-dropdown
|
|
45
|
+
width="300px"
|
|
46
|
+
offset="5">
|
|
47
|
+
<schmancy-button slot="trigger">
|
|
48
|
+
Wide Dropdown
|
|
49
|
+
</schmancy-button>
|
|
50
|
+
|
|
51
|
+
<div slot="content" style="padding: 16px;">
|
|
52
|
+
<h3>Custom Content</h3>
|
|
53
|
+
<p>This dropdown has custom width and offset.</p>
|
|
54
|
+
</div>
|
|
55
|
+
</schmancy-dropdown>
|
|
56
|
+
|
|
57
|
+
// Dropdown Properties
|
|
58
|
+
position: string // Position relative to trigger: "bottom-start" (default), "top-end", etc.
|
|
59
|
+
width: string // Width of the dropdown content
|
|
60
|
+
offset: number // Distance between trigger and content (pixels)
|
|
61
|
+
open: boolean // Whether the dropdown is open
|
|
62
|
+
disabled: boolean // Disable the dropdown
|
|
63
|
+
closeOnSelect: boolean // Close dropdown when an item inside is selected
|
|
64
|
+
closeOnClickOutside: boolean // Close dropdown when clicking outside
|
|
65
|
+
matchTriggerWidth: boolean // Make content width match trigger width
|
|
66
|
+
|
|
67
|
+
// Dropdown Events
|
|
68
|
+
@open // Fires when dropdown opens
|
|
69
|
+
@close // Fires when dropdown closes
|
|
70
|
+
@select // Fires when an item is selected (if using menu items)
|
|
71
|
+
|
|
72
|
+
// Dropdown Methods
|
|
73
|
+
dropdown.open() -> void // Programmatically open the dropdown
|
|
74
|
+
dropdown.close() -> void // Programmatically close the dropdown
|
|
75
|
+
dropdown.toggle() -> void // Toggle the dropdown state
|
|
76
|
+
|
|
77
|
+
// Examples
|
|
78
|
+
// Basic dropdown menu
|
|
79
|
+
<schmancy-dropdown>
|
|
80
|
+
<schmancy-button slot="trigger">
|
|
81
|
+
<span>Actions</span>
|
|
82
|
+
<schmancy-icon slot="suffix" icon="chevron-down"></schmancy-icon>
|
|
83
|
+
</schmancy-button>
|
|
84
|
+
|
|
85
|
+
<schmancy-menu slot="content">
|
|
86
|
+
<schmancy-menu-item @click=${viewItem}>
|
|
87
|
+
<schmancy-icon slot="prefix" icon="eye"></schmancy-icon>
|
|
88
|
+
View
|
|
89
|
+
</schmancy-menu-item>
|
|
90
|
+
|
|
91
|
+
<schmancy-menu-item @click=${editItem}>
|
|
92
|
+
<schmancy-icon slot="prefix" icon="edit"></schmancy-icon>
|
|
93
|
+
Edit
|
|
94
|
+
</schmancy-menu-item>
|
|
95
|
+
|
|
96
|
+
<schmancy-divider></schmancy-divider>
|
|
97
|
+
|
|
98
|
+
<schmancy-menu-item variant="danger" @click=${deleteItem}>
|
|
99
|
+
<schmancy-icon slot="prefix" icon="trash"></schmancy-icon>
|
|
100
|
+
Delete
|
|
101
|
+
</schmancy-menu-item>
|
|
102
|
+
</schmancy-menu>
|
|
103
|
+
</schmancy-dropdown>
|
|
104
|
+
|
|
105
|
+
// Profile dropdown
|
|
106
|
+
<schmancy-dropdown position="bottom-end">
|
|
107
|
+
<div slot="trigger" style="cursor: pointer;">
|
|
108
|
+
<schmancy-avatar
|
|
109
|
+
src="path/to/avatar.jpg"
|
|
110
|
+
size="medium">
|
|
111
|
+
</schmancy-avatar>
|
|
112
|
+
</div>
|
|
113
|
+
|
|
114
|
+
<div slot="content">
|
|
115
|
+
<div style="padding: 16px; text-align: center;">
|
|
116
|
+
<schmancy-avatar
|
|
117
|
+
src="path/to/avatar.jpg"
|
|
118
|
+
size="large">
|
|
119
|
+
</schmancy-avatar>
|
|
120
|
+
<h3>John Doe</h3>
|
|
121
|
+
<p>john@example.com</p>
|
|
122
|
+
</div>
|
|
123
|
+
|
|
124
|
+
<schmancy-divider></schmancy-divider>
|
|
125
|
+
|
|
126
|
+
<schmancy-menu>
|
|
127
|
+
<schmancy-menu-item @click=${viewProfile}>
|
|
128
|
+
<schmancy-icon slot="prefix" icon="user"></schmancy-icon>
|
|
129
|
+
Profile
|
|
130
|
+
</schmancy-menu-item>
|
|
131
|
+
|
|
132
|
+
<schmancy-menu-item @click=${openSettings}>
|
|
133
|
+
<schmancy-icon slot="prefix" icon="settings"></schmancy-icon>
|
|
134
|
+
Settings
|
|
135
|
+
</schmancy-menu-item>
|
|
136
|
+
|
|
137
|
+
<schmancy-divider></schmancy-divider>
|
|
138
|
+
|
|
139
|
+
<schmancy-menu-item @click=${signOut}>
|
|
140
|
+
<schmancy-icon slot="prefix" icon="logout"></schmancy-icon>
|
|
141
|
+
Sign Out
|
|
142
|
+
</schmancy-menu-item>
|
|
143
|
+
</schmancy-menu>
|
|
144
|
+
</div>
|
|
145
|
+
</schmancy-dropdown>
|
|
146
|
+
|
|
147
|
+
// Dropdown with form
|
|
148
|
+
<schmancy-dropdown>
|
|
149
|
+
<schmancy-button slot="trigger">
|
|
150
|
+
Add User
|
|
151
|
+
</schmancy-button>
|
|
152
|
+
|
|
153
|
+
<div slot="content" style="padding: 16px; width: 300px;">
|
|
154
|
+
<h3>Add User</h3>
|
|
155
|
+
<schmancy-form @submit=${(e) => {
|
|
156
|
+
addUser(e.detail.values);
|
|
157
|
+
dropdown.close();
|
|
158
|
+
}}>
|
|
159
|
+
<schmancy-input
|
|
160
|
+
name="name"
|
|
161
|
+
label="Name"
|
|
162
|
+
required>
|
|
163
|
+
</schmancy-input>
|
|
164
|
+
|
|
165
|
+
<schmancy-input
|
|
166
|
+
name="email"
|
|
167
|
+
label="Email"
|
|
168
|
+
type="email"
|
|
169
|
+
required>
|
|
170
|
+
</schmancy-input>
|
|
171
|
+
|
|
172
|
+
<div style="display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px;">
|
|
173
|
+
<schmancy-button
|
|
174
|
+
type="button"
|
|
175
|
+
variant="tertiary"
|
|
176
|
+
@click=${() => dropdown.close()}>
|
|
177
|
+
Cancel
|
|
178
|
+
</schmancy-button>
|
|
179
|
+
|
|
180
|
+
<schmancy-button
|
|
181
|
+
type="submit"
|
|
182
|
+
variant="primary">
|
|
183
|
+
Add
|
|
184
|
+
</schmancy-button>
|
|
185
|
+
</div>
|
|
186
|
+
</schmancy-form>
|
|
187
|
+
</div>
|
|
188
|
+
</schmancy-dropdown>
|
|
189
|
+
|
|
190
|
+
// Icon button dropdown
|
|
191
|
+
<schmancy-dropdown>
|
|
192
|
+
<schmancy-icon-button
|
|
193
|
+
slot="trigger"
|
|
194
|
+
icon="more-vertical">
|
|
195
|
+
</schmancy-icon-button>
|
|
196
|
+
|
|
197
|
+
<schmancy-menu slot="content">
|
|
198
|
+
<schmancy-menu-item>Option 1</schmancy-menu-item>
|
|
199
|
+
<schmancy-menu-item>Option 2</schmancy-menu-item>
|
|
200
|
+
<schmancy-menu-item>Option 3</schmancy-menu-item>
|
|
201
|
+
</schmancy-menu>
|
|
202
|
+
</schmancy-dropdown>
|
|
203
|
+
|
|
204
|
+
// Filter dropdown
|
|
205
|
+
<schmancy-dropdown>
|
|
206
|
+
<schmancy-button slot="trigger" variant="tertiary">
|
|
207
|
+
<schmancy-icon slot="prefix" icon="filter"></schmancy-icon>
|
|
208
|
+
Filter
|
|
209
|
+
</schmancy-button>
|
|
210
|
+
|
|
211
|
+
<div slot="content" style="padding: 16px; width: 250px;">
|
|
212
|
+
<h3>Filters</h3>
|
|
213
|
+
|
|
214
|
+
<div style="margin-bottom: 16px;">
|
|
215
|
+
<label>Status</label>
|
|
216
|
+
<schmancy-radio-group>
|
|
217
|
+
<schmancy-radio-button value="all" label="All"></schmancy-radio-button>
|
|
218
|
+
<schmancy-radio-button value="active" label="Active"></schmancy-radio-button>
|
|
219
|
+
<schmancy-radio-button value="inactive" label="Inactive"></schmancy-radio-button>
|
|
220
|
+
</schmancy-radio-group>
|
|
221
|
+
</div>
|
|
222
|
+
|
|
223
|
+
<div style="margin-bottom: 16px;">
|
|
224
|
+
<label>Categories</label>
|
|
225
|
+
<schmancy-checkbox label="Products"></schmancy-checkbox>
|
|
226
|
+
<schmancy-checkbox label="Services"></schmancy-checkbox>
|
|
227
|
+
<schmancy-checkbox label="Resources"></schmancy-checkbox>
|
|
228
|
+
</div>
|
|
229
|
+
|
|
230
|
+
<schmancy-button
|
|
231
|
+
variant="primary"
|
|
232
|
+
style="width: 100%;"
|
|
233
|
+
@click=${applyFilters}>
|
|
234
|
+
Apply Filters
|
|
235
|
+
</schmancy-button>
|
|
236
|
+
</div>
|
|
237
|
+
</schmancy-dropdown>
|
|
238
|
+
```
|
package/dist/ai/form.md
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
# Schmancy Form - AI Reference
|
|
2
|
+
|
|
3
|
+
```js
|
|
4
|
+
// Form Container
|
|
5
|
+
<schmancy-form
|
|
6
|
+
@submit=${handleSubmit}
|
|
7
|
+
@validate=${handleValidation}
|
|
8
|
+
@change=${handleChange}>
|
|
9
|
+
<!-- Form fields go here -->
|
|
10
|
+
</schmancy-form>
|
|
11
|
+
|
|
12
|
+
// Form v2 (enhanced version with model binding)
|
|
13
|
+
<schmancy-form-v2
|
|
14
|
+
.model=${formData}
|
|
15
|
+
.validators=${validators}
|
|
16
|
+
@submit=${handleSubmit}
|
|
17
|
+
@change=${handleChange}>
|
|
18
|
+
<!-- Form fields go here -->
|
|
19
|
+
</schmancy-form-v2>
|
|
20
|
+
|
|
21
|
+
// Form Methods
|
|
22
|
+
form.submit() -> Promise<any>
|
|
23
|
+
form.reset() -> void
|
|
24
|
+
form.validate() -> Promise<boolean>
|
|
25
|
+
form.setErrors({fieldName: errorMessage}) -> void
|
|
26
|
+
form.getValues() -> Object
|
|
27
|
+
|
|
28
|
+
// Events
|
|
29
|
+
@submit // { detail: { values: Object, isValid: boolean } }
|
|
30
|
+
@validate // { detail: { errors: Object, isValid: boolean } }
|
|
31
|
+
@change // { detail: { name: string, value: any, values: Object } }
|
|
32
|
+
|
|
33
|
+
// Examples
|
|
34
|
+
// 1. Basic form with validation
|
|
35
|
+
<schmancy-form @submit=${(e) => {
|
|
36
|
+
const values = e.detail.values;
|
|
37
|
+
console.log('Form submitted:', values);
|
|
38
|
+
}}>
|
|
39
|
+
<schmancy-input
|
|
40
|
+
name="email"
|
|
41
|
+
label="Email Address"
|
|
42
|
+
required
|
|
43
|
+
error=${emailError}>
|
|
44
|
+
</schmancy-input>
|
|
45
|
+
|
|
46
|
+
<schmancy-button type="submit">Submit</schmancy-button>
|
|
47
|
+
</schmancy-form>
|
|
48
|
+
|
|
49
|
+
// 2. Form v2 with model binding and validators
|
|
50
|
+
<schmancy-form-v2
|
|
51
|
+
.model=${{
|
|
52
|
+
username: '',
|
|
53
|
+
password: ''
|
|
54
|
+
}}
|
|
55
|
+
.validators=${{
|
|
56
|
+
username: (value) => value ? '' : 'Username is required',
|
|
57
|
+
password: (value) => value.length >= 8 ? '' : 'Password must be at least 8 characters'
|
|
58
|
+
}}
|
|
59
|
+
@submit=${(e) => console.log('Valid data:', e.detail.values)}>
|
|
60
|
+
|
|
61
|
+
<schmancy-input name="username" label="Username"></schmancy-input>
|
|
62
|
+
<schmancy-input name="password" label="Password" type="password"></schmancy-input>
|
|
63
|
+
|
|
64
|
+
<schmancy-button type="submit">Login</schmancy-button>
|
|
65
|
+
</schmancy-form-v2>
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Related Components
|
|
69
|
+
- **[Input](./input.md)**: Form input fields for text entry
|
|
70
|
+
- **[Textarea](./textarea.md)**: Multi-line text input fields
|
|
71
|
+
- **[Select](./select.md)**: Dropdown selection fields
|
|
72
|
+
- **[Checkbox](./checkbox.md)**: Boolean selection controls
|
|
73
|
+
- **[Radio-Group](./radio-group.md)**: Exclusive option selection controls
|
|
74
|
+
- **[Button](./button.md)**: Action triggers for form submission
|
|
75
|
+
|
|
76
|
+
## Technical Details
|
|
77
|
+
|
|
78
|
+
### Form Field Common Attributes
|
|
79
|
+
All form fields (input, textarea, select, checkbox, radio) support these attributes:
|
|
80
|
+
```js
|
|
81
|
+
name="field-name" // Field identifier
|
|
82
|
+
label="Field Label" // Display label
|
|
83
|
+
required? // Makes field required
|
|
84
|
+
disabled? // Disables the field
|
|
85
|
+
readonly? // Makes field read-only
|
|
86
|
+
value="initial value" // Sets initial value
|
|
87
|
+
error="Error message" // Shows validation error
|
|
88
|
+
success? // Shows success state
|
|
89
|
+
placeholder="Text" // Placeholder text (where applicable)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Form v2 Interfaces
|
|
93
|
+
```typescript
|
|
94
|
+
interface FormModel {
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
interface FormValidators {
|
|
99
|
+
[key: string]: (value: any, allValues: FormModel) => string | null;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
interface FormErrors {
|
|
103
|
+
[key: string]: string;
|
|
104
|
+
}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Common Use Cases
|
|
108
|
+
|
|
109
|
+
1. **Multi-step forms**: Create wizard-like experiences
|
|
110
|
+
```html
|
|
111
|
+
<schmancy-form id="step1" @submit=${nextStep}>
|
|
112
|
+
<!-- Step 1 fields -->
|
|
113
|
+
</schmancy-form>
|
|
114
|
+
|
|
115
|
+
<schmancy-form id="step2" @submit=${submitAll} style="display: none;">
|
|
116
|
+
<!-- Step 2 fields -->
|
|
117
|
+
</schmancy-form>
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
2. **Dynamic form fields**: Add or remove fields based on user input
|
|
121
|
+
```js
|
|
122
|
+
<schmancy-form-v2
|
|
123
|
+
.model=${dynamicModel}
|
|
124
|
+
.validators=${dynamicValidators}>
|
|
125
|
+
${dynamicFields.map(field => html`
|
|
126
|
+
<schmancy-input name=${field.name} label=${field.label}></schmancy-input>
|
|
127
|
+
`)}
|
|
128
|
+
<button type="button" @click=${addField}>Add Field</button>
|
|
129
|
+
</schmancy-form-v2>
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
3. **Form with server validation**: Handle backend validation errors
|
|
133
|
+
```js
|
|
134
|
+
async function submitForm(e) {
|
|
135
|
+
try {
|
|
136
|
+
const response = await fetch('/api/submit', {
|
|
137
|
+
method: 'POST',
|
|
138
|
+
body: JSON.stringify(e.detail.values)
|
|
139
|
+
});
|
|
140
|
+
const data = await response.json();
|
|
141
|
+
if (!data.success) {
|
|
142
|
+
formRef.setErrors(data.errors);
|
|
143
|
+
}
|
|
144
|
+
} catch (error) {
|
|
145
|
+
console.error(error);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
```
|
package/dist/ai/icons.md
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# Schmancy Icons - AI Reference
|
|
2
|
+
|
|
3
|
+
```js
|
|
4
|
+
// Basic Icon
|
|
5
|
+
<schmancy-icon
|
|
6
|
+
icon="icon-name"
|
|
7
|
+
size="small|medium|large|x-large"
|
|
8
|
+
color="primary|secondary|success|warning|danger|info|currentColor">
|
|
9
|
+
</schmancy-icon>
|
|
10
|
+
|
|
11
|
+
// Icon with custom size
|
|
12
|
+
<schmancy-icon
|
|
13
|
+
icon="home"
|
|
14
|
+
size="24px">
|
|
15
|
+
</schmancy-icon>
|
|
16
|
+
|
|
17
|
+
// Icon with custom color
|
|
18
|
+
<schmancy-icon
|
|
19
|
+
icon="star"
|
|
20
|
+
color="#f5a623">
|
|
21
|
+
</schmancy-icon>
|
|
22
|
+
|
|
23
|
+
// Icon Properties
|
|
24
|
+
icon: string // Icon name to display
|
|
25
|
+
size: string // Size: "small" (16px), "medium" (24px), "large" (32px), "x-large" (48px), or custom size
|
|
26
|
+
color: string // Color: semantic colors, CSS color values, or "currentColor"
|
|
27
|
+
rotate: number // Rotation in degrees
|
|
28
|
+
flip: string // Flip transformation: "horizontal", "vertical", "both"
|
|
29
|
+
spin: boolean // Apply a spinning animation
|
|
30
|
+
clickable: boolean // Make icon clickable with hover effects
|
|
31
|
+
|
|
32
|
+
// Icon Events
|
|
33
|
+
@click // Fires when icon is clicked
|
|
34
|
+
|
|
35
|
+
// Available Icons
|
|
36
|
+
// The library includes a comprehensive set of icons. Some common ones:
|
|
37
|
+
// - UI Actions: "add", "remove", "edit", "delete", "search", "close", "check", "menu"
|
|
38
|
+
// - Navigation: "home", "back", "forward", "up", "down", "download", "upload"
|
|
39
|
+
// - Communication: "mail", "chat", "phone", "notification", "share"
|
|
40
|
+
// - Media: "play", "pause", "stop", "volume", "camera", "image"
|
|
41
|
+
// - Objects: "file", "folder", "document", "calendar", "clock", "location"
|
|
42
|
+
// - Social: "user", "group", "like", "star", "settings"
|
|
43
|
+
// - Alerts: "info", "warning", "error", "success"
|
|
44
|
+
// - Arrows: "arrow-up", "arrow-right", "arrow-down", "arrow-left"
|
|
45
|
+
// - Chevrons: "chevron-up", "chevron-right", "chevron-down", "chevron-left"
|
|
46
|
+
|
|
47
|
+
// Examples
|
|
48
|
+
// Basic icon usage
|
|
49
|
+
<schmancy-icon icon="home"></schmancy-icon>
|
|
50
|
+
|
|
51
|
+
// Icons with different sizes
|
|
52
|
+
<div>
|
|
53
|
+
<schmancy-icon icon="star" size="small"></schmancy-icon>
|
|
54
|
+
<schmancy-icon icon="star" size="medium"></schmancy-icon>
|
|
55
|
+
<schmancy-icon icon="star" size="large"></schmancy-icon>
|
|
56
|
+
<schmancy-icon icon="star" size="x-large"></schmancy-icon>
|
|
57
|
+
<schmancy-icon icon="star" size="64px"></schmancy-icon>
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
// Icons with different colors
|
|
61
|
+
<div>
|
|
62
|
+
<schmancy-icon icon="info" color="info"></schmancy-icon>
|
|
63
|
+
<schmancy-icon icon="check" color="success"></schmancy-icon>
|
|
64
|
+
<schmancy-icon icon="warning" color="warning"></schmancy-icon>
|
|
65
|
+
<schmancy-icon icon="error" color="danger"></schmancy-icon>
|
|
66
|
+
<schmancy-icon icon="help" color="primary"></schmancy-icon>
|
|
67
|
+
<schmancy-icon icon="settings" color="secondary"></schmancy-icon>
|
|
68
|
+
<schmancy-icon icon="star" color="#f5a623"></schmancy-icon>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
// Icon in a button
|
|
72
|
+
<schmancy-button>
|
|
73
|
+
<schmancy-icon slot="prefix" icon="download"></schmancy-icon>
|
|
74
|
+
Download
|
|
75
|
+
</schmancy-button>
|
|
76
|
+
|
|
77
|
+
<schmancy-icon-button icon="edit"></schmancy-icon-button>
|
|
78
|
+
|
|
79
|
+
// Icon with rotation and flip
|
|
80
|
+
<div>
|
|
81
|
+
<schmancy-icon icon="arrow-right" rotate="45"></schmancy-icon>
|
|
82
|
+
<schmancy-icon icon="arrow-right" rotate="90"></schmancy-icon>
|
|
83
|
+
<schmancy-icon icon="arrow-right" rotate="180"></schmancy-icon>
|
|
84
|
+
<schmancy-icon icon="arrow-right" rotate="270"></schmancy-icon>
|
|
85
|
+
<schmancy-icon icon="arrow-right" flip="horizontal"></schmancy-icon>
|
|
86
|
+
<schmancy-icon icon="arrow-right" flip="vertical"></schmancy-icon>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
// Spinning icon
|
|
90
|
+
<schmancy-icon icon="refresh" spin></schmancy-icon>
|
|
91
|
+
|
|
92
|
+
// Loading state with icon
|
|
93
|
+
<div>
|
|
94
|
+
<schmancy-icon icon="refresh" spin></schmancy-icon>
|
|
95
|
+
<span>Loading...</span>
|
|
96
|
+
</div>
|
|
97
|
+
|
|
98
|
+
// Icon in form fields
|
|
99
|
+
<schmancy-input>
|
|
100
|
+
<schmancy-icon slot="prefix" icon="search"></schmancy-icon>
|
|
101
|
+
</schmancy-input>
|
|
102
|
+
|
|
103
|
+
<schmancy-input type="password">
|
|
104
|
+
<schmancy-icon
|
|
105
|
+
slot="suffix"
|
|
106
|
+
icon=${passwordVisible ? "eye-off" : "eye"}
|
|
107
|
+
clickable
|
|
108
|
+
@click=${togglePasswordVisibility}>
|
|
109
|
+
</schmancy-icon>
|
|
110
|
+
</schmancy-input>
|
|
111
|
+
|
|
112
|
+
// Navigation menu with icons
|
|
113
|
+
<schmancy-list interactive>
|
|
114
|
+
<schmancy-list-item>
|
|
115
|
+
<schmancy-icon slot="start" icon="home"></schmancy-icon>
|
|
116
|
+
Home
|
|
117
|
+
</schmancy-list-item>
|
|
118
|
+
<schmancy-list-item>
|
|
119
|
+
<schmancy-icon slot="start" icon="user"></schmancy-icon>
|
|
120
|
+
Profile
|
|
121
|
+
</schmancy-list-item>
|
|
122
|
+
<schmancy-list-item>
|
|
123
|
+
<schmancy-icon slot="start" icon="settings"></schmancy-icon>
|
|
124
|
+
Settings
|
|
125
|
+
</schmancy-list-item>
|
|
126
|
+
<schmancy-list-item>
|
|
127
|
+
<schmancy-icon slot="start" icon="help"></schmancy-icon>
|
|
128
|
+
Help
|
|
129
|
+
</schmancy-list-item>
|
|
130
|
+
</schmancy-list>
|
|
131
|
+
|
|
132
|
+
// Status indicators with icons
|
|
133
|
+
<div>
|
|
134
|
+
<div style="display: flex; align-items: center; gap: 8px;">
|
|
135
|
+
<schmancy-icon icon="check-circle" color="success"></schmancy-icon>
|
|
136
|
+
<span>Completed</span>
|
|
137
|
+
</div>
|
|
138
|
+
<div style="display: flex; align-items: center; gap: 8px;">
|
|
139
|
+
<schmancy-icon icon="clock" color="warning"></schmancy-icon>
|
|
140
|
+
<span>Pending</span>
|
|
141
|
+
</div>
|
|
142
|
+
<div style="display: flex; align-items: center; gap: 8px;">
|
|
143
|
+
<schmancy-icon icon="x-circle" color="danger"></schmancy-icon>
|
|
144
|
+
<span>Failed</span>
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
```
|
package/dist/ai/index.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Schmancy Component Library - AI Reference
|
|
2
|
+
|
|
3
|
+
This directory contains concise reference documentation for the Schmancy component library, formatted for AI assistance.
|
|
4
|
+
|
|
5
|
+
## Components
|
|
6
|
+
|
|
7
|
+
- [Area](./area.md) - Routing and subscription API for application areas
|
|
8
|
+
- [Button](./button.md) - Primary, secondary, and tertiary buttons with various states
|
|
9
|
+
- [Content Drawer](./content-drawer.md) - Sliding panel system for navigation and overlays
|
|
10
|
+
- [Dialog](./dialog.md) - Modal dialog boxes for confirmations and custom content
|
|
11
|
+
- [Form](./form.md) - Form containers with validation capabilities
|
|
12
|
+
- [Input](./input.md) - Text input fields with various types and features
|
|
13
|
+
- [Layout](./layout.md) - Flex and grid layout components
|
|
14
|
+
- [List](./list.md) - Interactive lists with selection support
|
|
15
|
+
- [Notification](./notification.md) - Toast notifications and alerts
|
|
16
|
+
- [Sheet](./sheet.md) - Side panels and drawers
|
|
17
|
+
- [Store](./store.md) - State management system
|
|
18
|
+
- [Tabs](./tabs.md) - Tabbed interface components
|
|
19
|
+
|
|
20
|
+
## Reference Format
|
|
21
|
+
|
|
22
|
+
Each reference file follows a consistent pattern:
|
|
23
|
+
|
|
24
|
+
```js
|
|
25
|
+
// Component name and basic usage
|
|
26
|
+
<component-name attribute="value" boolean-attribute>
|
|
27
|
+
Content or children
|
|
28
|
+
</component-name>
|
|
29
|
+
|
|
30
|
+
// Component variations and options
|
|
31
|
+
<component-name
|
|
32
|
+
option1="value"
|
|
33
|
+
option2>
|
|
34
|
+
<!-- Structure examples -->
|
|
35
|
+
</component-name>
|
|
36
|
+
|
|
37
|
+
// Component methods and events
|
|
38
|
+
component.method() -> returnType
|
|
39
|
+
@event // Event description with { detail: { properties } }
|
|
40
|
+
|
|
41
|
+
// Examples of common usage patterns (numbered for clarity)
|
|
42
|
+
// 1. Basic usage
|
|
43
|
+
<component-name attribute="value">
|
|
44
|
+
Example content
|
|
45
|
+
</component-name>
|
|
46
|
+
|
|
47
|
+
// 2. Advanced configuration
|
|
48
|
+
<component-name attribute="value" advanced-config="true">
|
|
49
|
+
Complex example
|
|
50
|
+
</component-name>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Each component documentation also includes:
|
|
54
|
+
|
|
55
|
+
- **Related Components**: Links to related components with relationship descriptions
|
|
56
|
+
- **Technical Details**: Interfaces, types, CSS custom properties
|
|
57
|
+
- **Common Use Cases**: Practical examples with explanations
|
|
58
|
+
|
|
59
|
+
This format is designed to quickly convey:
|
|
60
|
+
1. Component tag names and attributes
|
|
61
|
+
2. Available options and variations
|
|
62
|
+
3. Component methods and events
|
|
63
|
+
4. Relationships to other components
|
|
64
|
+
5. Practical usage patterns
|
|
65
|
+
|
|
66
|
+
For detailed documentation guidelines, see [template.md](./template.md).
|
|
67
|
+
|
|
68
|
+
## Library Structure
|
|
69
|
+
|
|
70
|
+
The Schmancy library is organized into individual component directories under `/src`, each exporting its components through an `index.ts` file. The main library entry point is `/src/index.ts` which re-exports all components.
|
|
71
|
+
|
|
72
|
+
Most components follow LitElement patterns with TypeScript typing and are designed to be used with a reactive rendering system like lit-html.
|