@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/store.md
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
# Schmancy Store - AI Reference
|
|
2
|
+
|
|
3
|
+
```js
|
|
4
|
+
// Store Creation
|
|
5
|
+
import { createStore } from 'schmancy/store';
|
|
6
|
+
|
|
7
|
+
// Basic store creation
|
|
8
|
+
const store = createStore({
|
|
9
|
+
initialState: {
|
|
10
|
+
count: 0,
|
|
11
|
+
users: [],
|
|
12
|
+
settings: { darkMode: false }
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
// Store with actions
|
|
17
|
+
const counterStore = createStore({
|
|
18
|
+
initialState: { count: 0 },
|
|
19
|
+
actions: {
|
|
20
|
+
increment: (state, amount = 1) => { state.count += amount; },
|
|
21
|
+
decrement: (state, amount = 1) => { state.count -= amount; },
|
|
22
|
+
reset: (state) => { state.count = 0; }
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
// Store Context Creation
|
|
27
|
+
import { createContext, createCollectionContext } from 'schmancy/store';
|
|
28
|
+
|
|
29
|
+
// Object/array/collection contexts
|
|
30
|
+
const settingsContext = createContext(store, 'settings'); // Object
|
|
31
|
+
const usersContext = createContext(store, 'users'); // Array
|
|
32
|
+
const todoCollection = createCollectionContext(store, 'todos'); // Collection with IDs
|
|
33
|
+
|
|
34
|
+
// State Manipulation Methods
|
|
35
|
+
store.createAction('addUser', (state, user) => { // Custom action
|
|
36
|
+
state.users.push(user);
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
store.update(state => { // Direct update
|
|
40
|
+
state.count++;
|
|
41
|
+
state.settings.darkMode = true;
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
todoCollection.add({ id: '1', text: 'Buy milk' }); // Collection add
|
|
45
|
+
todoCollection.update('1', item => { item.completed = true; }); // Collection update
|
|
46
|
+
todoCollection.remove('1'); // Collection remove
|
|
47
|
+
|
|
48
|
+
// Selectors
|
|
49
|
+
import { createSelector, useSelector } from 'schmancy/store';
|
|
50
|
+
|
|
51
|
+
// Basic and computed selectors
|
|
52
|
+
const getCount = state => state.count;
|
|
53
|
+
const getActiveUsers = createSelector(
|
|
54
|
+
state => state.users,
|
|
55
|
+
(users) => users.filter(user => user.active)
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
// Component integration
|
|
59
|
+
function MyComponent() {
|
|
60
|
+
const count = useSelector(getCount);
|
|
61
|
+
const activeUsers = useSelector(getActiveUsers);
|
|
62
|
+
|
|
63
|
+
// React to state changes
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Examples
|
|
67
|
+
// 1. Theme store with persistence
|
|
68
|
+
const themeStore = createStore({
|
|
69
|
+
initialState: { mode: 'light', fontSize: 'medium' },
|
|
70
|
+
actions: {
|
|
71
|
+
toggleTheme: state => {
|
|
72
|
+
state.mode = state.mode === 'light' ? 'dark' : 'light';
|
|
73
|
+
},
|
|
74
|
+
setFontSize: (state, size) => {
|
|
75
|
+
state.fontSize = size;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
// LocalStorage persistence
|
|
81
|
+
import { StorageManager } from 'schmancy/store';
|
|
82
|
+
new StorageManager({
|
|
83
|
+
key: 'theme-store',
|
|
84
|
+
storage: localStorage
|
|
85
|
+
}).connect(themeStore);
|
|
86
|
+
|
|
87
|
+
// 2. Todo application store
|
|
88
|
+
const todoStore = createStore({
|
|
89
|
+
initialState: {
|
|
90
|
+
todos: [],
|
|
91
|
+
filter: 'all'
|
|
92
|
+
},
|
|
93
|
+
actions: {
|
|
94
|
+
addTodo: (state, text) => {
|
|
95
|
+
state.todos.push({
|
|
96
|
+
id: Date.now().toString(),
|
|
97
|
+
text,
|
|
98
|
+
completed: false
|
|
99
|
+
});
|
|
100
|
+
},
|
|
101
|
+
toggleTodo: (state, id) => {
|
|
102
|
+
const todo = state.todos.find(todo => todo.id === id);
|
|
103
|
+
if (todo) todo.completed = !todo.completed;
|
|
104
|
+
},
|
|
105
|
+
setFilter: (state, filter) => {
|
|
106
|
+
state.filter = filter;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
// 3. Filtered todos selector
|
|
112
|
+
const getFilteredTodos = createSelector(
|
|
113
|
+
state => state.todos,
|
|
114
|
+
state => state.filter,
|
|
115
|
+
(todos, filter) => {
|
|
116
|
+
switch (filter) {
|
|
117
|
+
case 'active': return todos.filter(t => !t.completed);
|
|
118
|
+
case 'completed': return todos.filter(t => t.completed);
|
|
119
|
+
default: return todos;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
);
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Related Components
|
|
126
|
+
- **[Area](./area.md)**: Uses similar reactive patterns for routing state
|
|
127
|
+
- **[Theme](./theme.md)**: Often uses store for theme state management
|
|
128
|
+
- **[Form](./form.md)**: Can use store for form state management
|
|
129
|
+
|
|
130
|
+
## Technical Details
|
|
131
|
+
|
|
132
|
+
### Store Interfaces
|
|
133
|
+
```typescript
|
|
134
|
+
interface StoreOptions<T> {
|
|
135
|
+
initialState: T;
|
|
136
|
+
actions?: Record<string, (state: T, ...args: any[]) => void>;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
interface Store<T> {
|
|
140
|
+
getState(): T;
|
|
141
|
+
update(updater: (state: T) => void): void;
|
|
142
|
+
subscribe(listener: (state: T) => void): () => void;
|
|
143
|
+
createAction<Args extends any[]>(
|
|
144
|
+
name: string,
|
|
145
|
+
action: (state: T, ...args: Args) => void
|
|
146
|
+
): (...args: Args) => void;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
interface Context<T> {
|
|
150
|
+
get(): T;
|
|
151
|
+
update(updater: (state: T) => void): void;
|
|
152
|
+
subscribe(listener: (state: T) => void): () => void;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
interface CollectionContext<T> extends Context<Record<string, T>> {
|
|
156
|
+
add(item: T): void;
|
|
157
|
+
update(id: string, updater: (item: T) => void): void;
|
|
158
|
+
remove(id: string): void;
|
|
159
|
+
}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Integration with Immer
|
|
163
|
+
The store uses Immer under the hood to enable immutable updates with mutable syntax. This means you can write code that appears to directly modify the state, but behind the scenes, it's creating a new immutable state tree.
|
|
164
|
+
|
|
165
|
+
```js
|
|
166
|
+
// This looks like direct mutation but is actually immutable
|
|
167
|
+
store.update(state => {
|
|
168
|
+
state.count++; // Modifying a primitive
|
|
169
|
+
state.users.push(user); // Modifying an array
|
|
170
|
+
state.deep.nested.value = true; // Modifying a nested property
|
|
171
|
+
});
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
### Common Use Cases
|
|
175
|
+
|
|
176
|
+
1. **Application theme state**
|
|
177
|
+
```js
|
|
178
|
+
const themeStore = createStore({
|
|
179
|
+
initialState: { mode: 'light' },
|
|
180
|
+
actions: {
|
|
181
|
+
toggleTheme: state => {
|
|
182
|
+
state.mode = state.mode === 'light' ? 'dark' : 'light';
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
|
|
187
|
+
// In a component
|
|
188
|
+
const mode = useSelector(state => state.mode);
|
|
189
|
+
const toggleTheme = () => themeStore.actions.toggleTheme();
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
2. **Form state management**
|
|
193
|
+
```js
|
|
194
|
+
const formStore = createStore({
|
|
195
|
+
initialState: {
|
|
196
|
+
values: { name: '', email: '' },
|
|
197
|
+
errors: {},
|
|
198
|
+
isDirty: false,
|
|
199
|
+
isSubmitting: false
|
|
200
|
+
},
|
|
201
|
+
actions: {
|
|
202
|
+
setField: (state, field, value) => {
|
|
203
|
+
state.values[field] = value;
|
|
204
|
+
state.isDirty = true;
|
|
205
|
+
},
|
|
206
|
+
setError: (state, field, error) => {
|
|
207
|
+
state.errors[field] = error;
|
|
208
|
+
},
|
|
209
|
+
submit: (state) => {
|
|
210
|
+
state.isSubmitting = true;
|
|
211
|
+
},
|
|
212
|
+
reset: (state) => {
|
|
213
|
+
state.values = { name: '', email: '' };
|
|
214
|
+
state.errors = {};
|
|
215
|
+
state.isDirty = false;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
3. **Filtered data with memoization**
|
|
222
|
+
```js
|
|
223
|
+
const getFilteredItems = createSelector(
|
|
224
|
+
state => state.items,
|
|
225
|
+
state => state.filters,
|
|
226
|
+
(items, filters) => {
|
|
227
|
+
return items.filter(item => {
|
|
228
|
+
// Apply filters
|
|
229
|
+
return Object.entries(filters).every(([key, value]) =>
|
|
230
|
+
!value || item[key] === value
|
|
231
|
+
);
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
);
|
|
235
|
+
```
|
package/ai/surface.md
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
# Schmancy Surface - AI Reference
|
|
2
|
+
|
|
3
|
+
```js
|
|
4
|
+
// Basic Surface
|
|
5
|
+
<schmancy-surface
|
|
6
|
+
elevation="0|1|2|3|4|5"
|
|
7
|
+
rounded="none|sm|md|lg|xl|full"
|
|
8
|
+
padding="none|xs|sm|md|lg|xl">
|
|
9
|
+
Surface content goes here
|
|
10
|
+
</schmancy-surface>
|
|
11
|
+
|
|
12
|
+
// Surface with color
|
|
13
|
+
<schmancy-surface
|
|
14
|
+
color="primary|secondary|tertiary|surface|background|error"
|
|
15
|
+
theme="light|dark">
|
|
16
|
+
Colored surface content
|
|
17
|
+
</schmancy-surface>
|
|
18
|
+
|
|
19
|
+
// Interactive surface
|
|
20
|
+
<schmancy-surface
|
|
21
|
+
interactive
|
|
22
|
+
@click=${handleClick}>
|
|
23
|
+
Click me!
|
|
24
|
+
</schmancy-surface>
|
|
25
|
+
|
|
26
|
+
// Surface with border
|
|
27
|
+
<schmancy-surface
|
|
28
|
+
bordered
|
|
29
|
+
border-color="primary|secondary|tertiary|divider|error"
|
|
30
|
+
border-width="thin|medium|thick"
|
|
31
|
+
border-style="solid|dashed|dotted">
|
|
32
|
+
Surface with border
|
|
33
|
+
</schmancy-surface>
|
|
34
|
+
|
|
35
|
+
// Surface with dimensions
|
|
36
|
+
<schmancy-surface
|
|
37
|
+
width="300px"
|
|
38
|
+
height="200px"
|
|
39
|
+
min-width="200px"
|
|
40
|
+
max-width="500px"
|
|
41
|
+
min-height="100px"
|
|
42
|
+
max-height="300px">
|
|
43
|
+
Fixed size surface
|
|
44
|
+
</schmancy-surface>
|
|
45
|
+
|
|
46
|
+
// Surface Properties
|
|
47
|
+
elevation: number|string // Shadow elevation (0-5)
|
|
48
|
+
rounded: string // Border radius: "none", "sm", "md", "lg", "xl", "full"
|
|
49
|
+
padding: string // Padding: "none", "xs", "sm", "md", "lg", "xl"
|
|
50
|
+
margin: string // Margin: "none", "xs", "sm", "md", "lg", "xl"
|
|
51
|
+
color: string // Background color (theme color or CSS value)
|
|
52
|
+
theme: string // Theme: "light", "dark"
|
|
53
|
+
interactive: boolean // Enable hover and active states
|
|
54
|
+
bordered: boolean // Show border
|
|
55
|
+
borderColor: string // Border color
|
|
56
|
+
borderWidth: string // Border width: "thin", "medium", "thick"
|
|
57
|
+
borderStyle: string // Border style: "solid", "dashed", "dotted"
|
|
58
|
+
width: string // Width
|
|
59
|
+
height: string // Height
|
|
60
|
+
minWidth: string // Minimum width
|
|
61
|
+
maxWidth: string // Maximum width
|
|
62
|
+
minHeight: string // Minimum height
|
|
63
|
+
maxHeight: string // Maximum height
|
|
64
|
+
fullWidth: boolean // Take full width of parent
|
|
65
|
+
fullHeight: boolean // Take full height of parent
|
|
66
|
+
|
|
67
|
+
// Surface Context
|
|
68
|
+
// For theme-aware surfaces and consistent styling
|
|
69
|
+
import { SurfaceContext } from 'schmancy/surface';
|
|
70
|
+
|
|
71
|
+
const surfaceContext = new SurfaceContext({
|
|
72
|
+
elevation: 1,
|
|
73
|
+
rounded: 'md',
|
|
74
|
+
padding: 'md',
|
|
75
|
+
theme: 'light'
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
// Examples
|
|
79
|
+
// Basic card-like surface
|
|
80
|
+
<schmancy-surface
|
|
81
|
+
elevation="2"
|
|
82
|
+
rounded="lg"
|
|
83
|
+
padding="lg">
|
|
84
|
+
<h3>Card Title</h3>
|
|
85
|
+
<p>This is a basic card surface with elevation, rounded corners, and padding.</p>
|
|
86
|
+
</schmancy-surface>
|
|
87
|
+
|
|
88
|
+
// Interactive card
|
|
89
|
+
<schmancy-surface
|
|
90
|
+
elevation="1"
|
|
91
|
+
rounded="md"
|
|
92
|
+
padding="md"
|
|
93
|
+
interactive
|
|
94
|
+
@click=${navigateToDetails}>
|
|
95
|
+
<div style="display: flex; align-items: center; gap: 16px;">
|
|
96
|
+
<schmancy-avatar
|
|
97
|
+
src="path/to/avatar.jpg"
|
|
98
|
+
size="large">
|
|
99
|
+
</schmancy-avatar>
|
|
100
|
+
|
|
101
|
+
<div>
|
|
102
|
+
<h3>John Doe</h3>
|
|
103
|
+
<p>Software Engineer</p>
|
|
104
|
+
</div>
|
|
105
|
+
|
|
106
|
+
<schmancy-icon
|
|
107
|
+
icon="chevron-right"
|
|
108
|
+
style="margin-left: auto;">
|
|
109
|
+
</schmancy-icon>
|
|
110
|
+
</div>
|
|
111
|
+
</schmancy-surface>
|
|
112
|
+
|
|
113
|
+
// Alert surfaces
|
|
114
|
+
<schmancy-surface
|
|
115
|
+
color="primary"
|
|
116
|
+
rounded="md"
|
|
117
|
+
padding="md"
|
|
118
|
+
bordered
|
|
119
|
+
border-color="primary"
|
|
120
|
+
style="--surface-color-opacity: 0.1;">
|
|
121
|
+
<div style="display: flex; align-items: center; gap: 16px;">
|
|
122
|
+
<schmancy-icon icon="info" color="primary"></schmancy-icon>
|
|
123
|
+
<div>
|
|
124
|
+
<h4>Information</h4>
|
|
125
|
+
<p>This is an informational message.</p>
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
</schmancy-surface>
|
|
129
|
+
|
|
130
|
+
<schmancy-surface
|
|
131
|
+
color="error"
|
|
132
|
+
rounded="md"
|
|
133
|
+
padding="md"
|
|
134
|
+
bordered
|
|
135
|
+
border-color="error"
|
|
136
|
+
style="--surface-color-opacity: 0.1;">
|
|
137
|
+
<div style="display: flex; align-items: center; gap: 16px;">
|
|
138
|
+
<schmancy-icon icon="alert-triangle" color="error"></schmancy-icon>
|
|
139
|
+
<div>
|
|
140
|
+
<h4>Error</h4>
|
|
141
|
+
<p>Something went wrong. Please try again.</p>
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
</schmancy-surface>
|
|
145
|
+
|
|
146
|
+
// Surface grid layout
|
|
147
|
+
<div style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;">
|
|
148
|
+
<schmancy-surface
|
|
149
|
+
elevation="1"
|
|
150
|
+
rounded="md"
|
|
151
|
+
padding="md">
|
|
152
|
+
<h3>Card 1</h3>
|
|
153
|
+
<p>Content for card 1.</p>
|
|
154
|
+
</schmancy-surface>
|
|
155
|
+
|
|
156
|
+
<schmancy-surface
|
|
157
|
+
elevation="1"
|
|
158
|
+
rounded="md"
|
|
159
|
+
padding="md">
|
|
160
|
+
<h3>Card 2</h3>
|
|
161
|
+
<p>Content for card 2.</p>
|
|
162
|
+
</schmancy-surface>
|
|
163
|
+
|
|
164
|
+
<schmancy-surface
|
|
165
|
+
elevation="1"
|
|
166
|
+
rounded="md"
|
|
167
|
+
padding="md">
|
|
168
|
+
<h3>Card 3</h3>
|
|
169
|
+
<p>Content for card 3.</p>
|
|
170
|
+
</schmancy-surface>
|
|
171
|
+
</div>
|
|
172
|
+
|
|
173
|
+
// Dashboard panel
|
|
174
|
+
<schmancy-surface
|
|
175
|
+
elevation="2"
|
|
176
|
+
rounded="lg"
|
|
177
|
+
padding="lg"
|
|
178
|
+
height="300px">
|
|
179
|
+
<div style="display: flex; flex-direction: column; height: 100%;">
|
|
180
|
+
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;">
|
|
181
|
+
<h3>Sales Overview</h3>
|
|
182
|
+
<schmancy-dropdown>
|
|
183
|
+
<schmancy-button slot="trigger" variant="tertiary" size="small">
|
|
184
|
+
<span>This Week</span>
|
|
185
|
+
<schmancy-icon slot="suffix" icon="chevron-down"></schmancy-icon>
|
|
186
|
+
</schmancy-button>
|
|
187
|
+
|
|
188
|
+
<schmancy-menu slot="content">
|
|
189
|
+
<schmancy-menu-item value="day">Today</schmancy-menu-item>
|
|
190
|
+
<schmancy-menu-item value="week">This Week</schmancy-menu-item>
|
|
191
|
+
<schmancy-menu-item value="month">This Month</schmancy-menu-item>
|
|
192
|
+
<schmancy-menu-item value="year">This Year</schmancy-menu-item>
|
|
193
|
+
</schmancy-menu>
|
|
194
|
+
</schmancy-dropdown>
|
|
195
|
+
</div>
|
|
196
|
+
|
|
197
|
+
<div style="flex: 1; display: flex; align-items: center; justify-content: center;">
|
|
198
|
+
<!-- Chart or content would go here -->
|
|
199
|
+
<p>Chart placeholder</p>
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
</schmancy-surface>
|
|
203
|
+
|
|
204
|
+
// Using surface context
|
|
205
|
+
<div .context=${surfaceContext}>
|
|
206
|
+
<schmancy-surface>
|
|
207
|
+
<h3>First Panel</h3>
|
|
208
|
+
<p>This surface inherits settings from the context.</p>
|
|
209
|
+
</schmancy-surface>
|
|
210
|
+
|
|
211
|
+
<schmancy-surface>
|
|
212
|
+
<h3>Second Panel</h3>
|
|
213
|
+
<p>This surface also inherits settings from the context.</p>
|
|
214
|
+
</schmancy-surface>
|
|
215
|
+
|
|
216
|
+
<schmancy-surface elevation="3" rounded="xl">
|
|
217
|
+
<h3>Custom Panel</h3>
|
|
218
|
+
<p>This surface overrides some context settings.</p>
|
|
219
|
+
</schmancy-surface>
|
|
220
|
+
</div>
|
|
221
|
+
```
|