@mhmo91/schmancy 0.5.26 → 0.5.27
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/checkbox.md +93 -52
- package/dist/ai/checkbox.md +93 -52
- package/dist/{animated-text-BF-_41Hw.js → animated-text-Bn8-ILmB.js} +3 -3
- package/dist/{animated-text-BF-_41Hw.js.map → animated-text-Bn8-ILmB.js.map} +1 -1
- package/dist/{animated-text-D7XcIPvJ.cjs → animated-text-vdNivzdc.cjs} +2 -2
- package/dist/{animated-text-D7XcIPvJ.cjs.map → animated-text-vdNivzdc.cjs.map} +1 -1
- package/dist/animated-text.cjs +1 -1
- package/dist/animated-text.js +1 -1
- package/dist/area.cjs +1 -1
- package/dist/{area.component-C1EzgnER.cjs → area.component-DwPL6bdo.cjs} +2 -2
- package/dist/{area.component-C1EzgnER.cjs.map → area.component-DwPL6bdo.cjs.map} +1 -1
- package/dist/{area.component-C5wZ7yAA.js → area.component-pd24G8zW.js} +3 -3
- package/dist/{area.component-C5wZ7yAA.js.map → area.component-pd24G8zW.js.map} +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-C2KCl8gZ.js → autocomplete-BlhAOtex.js} +4 -4
- package/dist/{autocomplete-C2KCl8gZ.js.map → autocomplete-BlhAOtex.js.map} +1 -1
- package/dist/{autocomplete-Dp2pvQ1J.cjs → autocomplete-GW91jVqw.cjs} +2 -2
- package/dist/{autocomplete-Dp2pvQ1J.cjs.map → autocomplete-GW91jVqw.cjs.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-BISA1L6R.js → avatar-4sGidVGe.js} +50 -50
- package/dist/{avatar-BISA1L6R.js.map → avatar-4sGidVGe.js.map} +1 -1
- package/dist/{avatar-dRvfep6e.cjs → avatar-q32dkyky.cjs} +2 -2
- package/dist/{avatar-dRvfep6e.cjs.map → avatar-q32dkyky.cjs.map} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-B7y4ZeDv.cjs → boat-DNmaFlxD.cjs} +2 -2
- package/dist/{boat-B7y4ZeDv.cjs.map → boat-DNmaFlxD.cjs.map} +1 -1
- package/dist/{boat-BDARBzjf.js → boat-dSTPix8t.js} +2 -2
- package/dist/{boat-BDARBzjf.js.map → boat-dSTPix8t.js.map} +1 -1
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-Dyj95Cob.cjs → checkbox-BJ5aqrKY.cjs} +2 -2
- package/dist/{checkbox-Dyj95Cob.cjs.map → checkbox-BJ5aqrKY.cjs.map} +1 -1
- package/dist/{checkbox-Bo5DWgmR.js → checkbox-CU2tyEL0.js} +2 -2
- package/dist/{checkbox-Bo5DWgmR.js.map → checkbox-CU2tyEL0.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +2 -2
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-BkLf1Tjt.js → code-preview-KDpn0Q3T.js} +2 -2
- package/dist/{code-preview-BkLf1Tjt.js.map → code-preview-KDpn0Q3T.js.map} +1 -1
- package/dist/{code-preview-Ci4_9dyI.cjs → code-preview-fda91FDi.cjs} +2 -2
- package/dist/{code-preview-Ci4_9dyI.cjs.map → code-preview-fda91FDi.cjs.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{date-range-BzJ_GFAW.cjs → date-range-0nOdLk-l.cjs} +2 -2
- package/dist/{date-range-BzJ_GFAW.cjs.map → date-range-0nOdLk-l.cjs.map} +1 -1
- package/dist/{date-range-inline-egzlYgWB.cjs → date-range-inline-UoP6EDug.cjs} +2 -2
- package/dist/{date-range-inline-egzlYgWB.cjs.map → date-range-inline-UoP6EDug.cjs.map} +1 -1
- package/dist/{date-range-inline-C5gZQxPv.js → date-range-inline-b0yYxPn_.js} +3 -3
- package/dist/{date-range-inline-C5gZQxPv.js.map → date-range-inline-b0yYxPn_.js.map} +1 -1
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/{date-range-BriVhMyA.js → date-range-yd-FnXRe.js} +3 -3
- package/dist/{date-range-BriVhMyA.js.map → date-range-yd-FnXRe.js.map} +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-3A6yeHgq.js → delay-CE9VOJBG.js} +2 -2
- package/dist/{delay-3A6yeHgq.js.map → delay-CE9VOJBG.js.map} +1 -1
- package/dist/{delay-9mVh_ncQ.cjs → delay-CaOsI0yP.cjs} +2 -2
- package/dist/{delay-9mVh_ncQ.cjs.map → delay-CaOsI0yP.cjs.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/details-B_kKG0Du.cjs +143 -0
- package/dist/details-B_kKG0Du.cjs.map +1 -0
- package/dist/details-m-njXkGl.js +210 -0
- package/dist/details-m-njXkGl.js.map +1 -0
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-B9OkO5fD.cjs → dialog-content-B5MUa6uq.cjs} +2 -2
- package/dist/{dialog-content-B9OkO5fD.cjs.map → dialog-content-B5MUa6uq.cjs.map} +1 -1
- package/dist/{dialog-content-B2mWmFZf.js → dialog-content-BireCTdH.js} +3 -3
- package/dist/{dialog-content-B2mWmFZf.js.map → dialog-content-BireCTdH.js.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/{divider-gwQsKA8E.js → divider-CMaqpnia.js} +3 -3
- package/dist/{divider-gwQsKA8E.js.map → divider-CMaqpnia.js.map} +1 -1
- package/dist/{divider-7QB9lkg8.cjs → divider-DekMH80a.cjs} +2 -2
- package/dist/{divider-7QB9lkg8.cjs.map → divider-DekMH80a.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-wWiQrGbJ.js → dropdown-content-CViuccZ6.js} +3 -3
- package/dist/{dropdown-content-wWiQrGbJ.js.map → dropdown-content-CViuccZ6.js.map} +1 -1
- package/dist/{dropdown-content-B8jF14WR.cjs → dropdown-content-eXth59vX.cjs} +2 -2
- package/dist/{dropdown-content-B8jF14WR.cjs.map → dropdown-content-eXth59vX.cjs.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-BerOPRSS.js → email-recipients-BSopuO1J.js} +5 -5
- package/dist/{email-recipients-BerOPRSS.js.map → email-recipients-BSopuO1J.js.map} +1 -1
- package/dist/{email-recipients-DDPOQ6GR.cjs → email-recipients-DNcWf4_1.cjs} +2 -2
- package/dist/{email-recipients-DDPOQ6GR.cjs.map → email-recipients-DNcWf4_1.cjs.map} +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-A9QGoIZO.cjs → flex-CE0IKjR4.cjs} +2 -2
- package/dist/{flex-A9QGoIZO.cjs.map → flex-CE0IKjR4.cjs.map} +1 -1
- package/dist/{flex-CMaGJmsr.js → flex-Czj-zqJQ.js} +2 -2
- package/dist/{flex-CMaGJmsr.js.map → flex-Czj-zqJQ.js.map} +1 -1
- package/dist/{form-TwzAo9l7.js → form-CAvvBQiv.js} +2 -2
- package/dist/{form-TwzAo9l7.js.map → form-CAvvBQiv.js.map} +1 -1
- package/dist/{form-B1MHwY2q.cjs → form-OUNdJnUW.cjs} +2 -2
- package/dist/{form-B1MHwY2q.cjs.map → form-OUNdJnUW.cjs.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-BnEz6ZwN.cjs → formField.mixin-Bu0ygAbE.cjs} +2 -2
- package/dist/{formField.mixin-BnEz6ZwN.cjs.map → formField.mixin-Bu0ygAbE.cjs.map} +1 -1
- package/dist/{formField.mixin-BssBYPia.js → formField.mixin-DlYLC82X.js} +2 -2
- package/dist/{formField.mixin-BssBYPia.js.map → formField.mixin-DlYLC82X.js.map} +1 -1
- package/dist/{icon-BAcc1N7i.cjs → icon-BwhQbcAk.cjs} +2 -2
- package/dist/{icon-BAcc1N7i.cjs.map → icon-BwhQbcAk.cjs.map} +1 -1
- package/dist/{icon-Bc-fZOsV.js → icon-D0EaNtwd.js} +2 -2
- package/dist/{icon-Bc-fZOsV.js.map → icon-D0EaNtwd.js.map} +1 -1
- package/dist/{icon-button-u2JxLUVz.cjs → icon-button-BrRSVzzx.cjs} +2 -2
- package/dist/{icon-button-u2JxLUVz.cjs.map → icon-button-BrRSVzzx.cjs.map} +1 -1
- package/dist/{icon-button-bMlXZsaD.js → icon-button-CGMdsmXS.js} +3 -3
- package/dist/{icon-button-bMlXZsaD.js.map → icon-button-CGMdsmXS.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 +49 -49
- package/dist/{input-CBpMXWq5.js → input-DZYN1TnY.js} +3 -3
- package/dist/{input-CBpMXWq5.js.map → input-DZYN1TnY.js.map} +1 -1
- package/dist/{input-chip-BdOr_Bst.js → input-chip-CNLkwei6.js} +2 -2
- package/dist/{input-chip-BdOr_Bst.js.map → input-chip-CNLkwei6.js.map} +1 -1
- package/dist/{input-chip-BOD5fjLj.cjs → input-chip-Cf25jEob.cjs} +2 -2
- package/dist/{input-chip-BOD5fjLj.cjs.map → input-chip-Cf25jEob.cjs.map} +1 -1
- package/dist/{input-64Amkh7B.cjs → input-lzxE1e5L.cjs} +2 -2
- package/dist/{input-64Amkh7B.cjs.map → input-lzxE1e5L.cjs.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/{list-kbaJkd6g.js → list-Cqo45m_h.js} +2 -2
- package/dist/{list-kbaJkd6g.js.map → list-Cqo45m_h.js.map} +1 -1
- package/dist/{list-D_RsjBt7.cjs → list-rGx4YHgo.cjs} +2 -2
- package/dist/{list-D_RsjBt7.cjs.map → list-rGx4YHgo.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-BjvDNbpd.js → litElement.mixin-B0Rsd4Km.js} +2 -2
- package/dist/{litElement.mixin-BjvDNbpd.js.map → litElement.mixin-B0Rsd4Km.js.map} +1 -1
- package/dist/{litElement.mixin-wU3TW8NU.cjs → litElement.mixin-DUiUa087.cjs} +2 -2
- package/dist/{litElement.mixin-wU3TW8NU.cjs.map → litElement.mixin-DUiUa087.cjs.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-C3aSKiL1.cjs → map-8DhybTup.cjs} +2 -2
- package/dist/{map-C3aSKiL1.cjs.map → map-8DhybTup.cjs.map} +1 -1
- package/dist/{map-DhyZmeSW.js → map-DWf43TA1.js} +2 -2
- package/dist/{map-DhyZmeSW.js.map → map-DWf43TA1.js.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/media-BVKgZzK_.js +243 -0
- package/dist/media-BVKgZzK_.js.map +1 -0
- package/dist/media-BZwiyJto.cjs +152 -0
- package/dist/media-BZwiyJto.cjs.map +1 -0
- package/dist/{menu-BWAj2ToG.js → menu-CGaCEOer.js} +3 -3
- package/dist/{menu-BWAj2ToG.js.map → menu-CGaCEOer.js.map} +1 -1
- package/dist/{menu-GScOP0tp.cjs → menu-D8qP_e7D.cjs} +2 -2
- package/dist/{menu-GScOP0tp.cjs.map → menu-D8qP_e7D.cjs.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/navigation-bar.cjs +1 -1
- package/dist/navigation-bar.js +1 -1
- package/dist/{navigation-rail-DpffIkNR.cjs → navigation-rail-BzMOzaFm.cjs} +77 -39
- package/dist/navigation-rail-BzMOzaFm.cjs.map +1 -0
- package/dist/{navigation-rail-Cwhii1Km.js → navigation-rail-CjBw96pi.js} +88 -50
- package/dist/navigation-rail-CjBw96pi.js.map +1 -0
- package/dist/navigation-rail.cjs +1 -1
- package/dist/navigation-rail.js +1 -1
- package/dist/{notification-service-CiS9cxNM.cjs → notification-service-DCmDSvc-.cjs} +2 -2
- package/dist/{notification-service-CiS9cxNM.cjs.map → notification-service-DCmDSvc-.cjs.map} +1 -1
- package/dist/{notification-service-D9FrcaYV.js → notification-service-Dv4oQi_Z.js} +4 -4
- package/dist/{notification-service-D9FrcaYV.js.map → notification-service-Dv4oQi_Z.js.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-CHdshRyb.js → notify-COuaNTJP.js} +2 -2
- package/dist/{notify-CHdshRyb.js.map → notify-COuaNTJP.js.map} +1 -1
- package/dist/{notify-BmlPVAHr.cjs → notify-XY2e8y_a.cjs} +2 -2
- package/dist/{notify-BmlPVAHr.cjs.map → notify-XY2e8y_a.cjs.map} +1 -1
- package/dist/{option-DYw6IjKG.js → option-CSSmqUBi.js} +2 -2
- package/dist/{option-DYw6IjKG.js.map → option-CSSmqUBi.js.map} +1 -1
- package/dist/{option-DA812L2R.cjs → option-q-dig7LF.cjs} +2 -2
- package/dist/{option-DA812L2R.cjs.map → option-q-dig7LF.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-DI7uO_75.cjs → payment-card-form-C8bWa_hh.cjs} +2 -2
- package/dist/{payment-card-form-DI7uO_75.cjs.map → payment-card-form-C8bWa_hh.cjs.map} +1 -1
- package/dist/{payment-card-form-K2w6cCIE.js → payment-card-form-CWboYwqO.js} +3 -3
- package/dist/{payment-card-form-K2w6cCIE.js.map → payment-card-form-CWboYwqO.js.map} +1 -1
- package/dist/{progress-DDWci51w.cjs → progress-CP2lpJsl.cjs} +2 -2
- package/dist/{progress-DDWci51w.cjs.map → progress-CP2lpJsl.cjs.map} +1 -1
- package/dist/{progress-CHHtHq7e.js → progress-Cci0dXzp.js} +2 -2
- package/dist/{progress-CHHtHq7e.js.map → progress-Cci0dXzp.js.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-BFWrUvoQ.cjs → radio-button-CU-lMs92.cjs} +2 -2
- package/dist/{radio-button-BFWrUvoQ.cjs.map → radio-button-CU-lMs92.cjs.map} +1 -1
- package/dist/{radio-button-Uzt9IgG3.js → radio-button-DFbfVgox.js} +3 -3
- package/dist/{radio-button-Uzt9IgG3.js.map → radio-button-DFbfVgox.js.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-DCIjNVl9.cjs → schmancy-steps-container-CQY1zmws.cjs} +2 -2
- package/dist/{schmancy-steps-container-DCIjNVl9.cjs.map → schmancy-steps-container-CQY1zmws.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-fxA9vvA6.js → schmancy-steps-container-vW7r1ZTL.js} +2 -2
- package/dist/{schmancy-steps-container-fxA9vvA6.js.map → schmancy-steps-container-vW7r1ZTL.js.map} +1 -1
- package/dist/{select-HByOFIgf.cjs → select-Be8HIqWu.cjs} +2 -2
- package/dist/{select-HByOFIgf.cjs.map → select-Be8HIqWu.cjs.map} +1 -1
- package/dist/{select-s2RGXov_.js → select-BkGodZaS.js} +3 -3
- package/dist/{select-s2RGXov_.js.map → select-BkGodZaS.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-CHMqdnPC.js → sheet-DECb9whB.js} +3 -3
- package/dist/{sheet-CHMqdnPC.js.map → sheet-DECb9whB.js.map} +1 -1
- package/dist/{sheet-B3SYJ5bI.cjs → sheet-dK5UPVjp.cjs} +2 -2
- package/dist/{sheet-B3SYJ5bI.cjs.map → sheet-dK5UPVjp.cjs.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-B5sg-McD.js → slider-BhFc1oRj.js} +3 -3
- package/dist/{slider-B5sg-McD.js.map → slider-BhFc1oRj.js.map} +1 -1
- package/dist/{slider-C34Lp0Ns.cjs → slider-CP3JRaWR.cjs} +2 -2
- package/dist/{slider-C34Lp0Ns.cjs.map → slider-CP3JRaWR.cjs.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-D2zUun1n.cjs → spinner-BD8cXVK_.cjs} +2 -2
- package/dist/{spinner-D2zUun1n.cjs.map → spinner-BD8cXVK_.cjs.map} +1 -1
- package/dist/{spinner-CsdQec_Y.js → spinner-DGyRYqUZ.js} +2 -2
- package/dist/{spinner-CsdQec_Y.js.map → spinner-DGyRYqUZ.js.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{suggestion-chip-jPIhloJG.cjs → suggestion-chip-C1n2VYBG.cjs} +31 -20
- package/dist/suggestion-chip-C1n2VYBG.cjs.map +1 -0
- package/dist/{suggestion-chip-BE4I1i8Z.js → suggestion-chip-Cl0cPTKV.js} +89 -70
- package/dist/suggestion-chip-Cl0cPTKV.js.map +1 -0
- package/dist/surface-C3V23wh9.js +140 -0
- package/dist/surface-C3V23wh9.js.map +1 -0
- package/dist/surface-ClIDhSRv.cjs +119 -0
- package/dist/surface-ClIDhSRv.cjs.map +1 -0
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-CzHvHTwO.cjs → table-1New2HBS.cjs} +2 -2
- package/dist/{table-CzHvHTwO.cjs.map → table-1New2HBS.cjs.map} +1 -1
- package/dist/{table-Zvpbmts7.js → table-CLA3cxIk.js} +2 -2
- package/dist/{table-Zvpbmts7.js.map → table-CLA3cxIk.js.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-BIwTX2f5.cjs → tabs-compatibility-DDtYFCUj.cjs} +2 -2
- package/dist/{tabs-compatibility-BIwTX2f5.cjs.map → tabs-compatibility-DDtYFCUj.cjs.map} +1 -1
- package/dist/{tabs-compatibility-BRxG6DfR.js → tabs-compatibility-RMzYuSJ1.js} +2 -2
- package/dist/{tabs-compatibility-BRxG6DfR.js.map → tabs-compatibility-RMzYuSJ1.js.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-CFrLBtkD.cjs +2 -0
- package/dist/{tailwind.mixin-CvLC4LGm.cjs.map → tailwind.mixin-CFrLBtkD.cjs.map} +1 -1
- package/dist/tailwind.mixin-CZKT1dUr.js +43 -0
- package/dist/{tailwind.mixin-DXMWx0zN.js.map → tailwind.mixin-CZKT1dUr.js.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-BmfkGMl_.js → textarea-B4DXG5Sg.js} +2 -2
- package/dist/{textarea-BmfkGMl_.js.map → textarea-B4DXG5Sg.js.map} +1 -1
- package/dist/{textarea-BStwsU5t.cjs → textarea-ChDsPBZz.cjs} +2 -2
- package/dist/{textarea-BStwsU5t.cjs.map → textarea-ChDsPBZz.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-C0aKpjew.js → theme-button-DGjG_shg.js} +2 -2
- package/dist/{theme-button-C0aKpjew.js.map → theme-button-DGjG_shg.js.map} +1 -1
- package/dist/{theme-button-8UOIxNBy.cjs → theme-button-qzDX0i9Q.cjs} +2 -2
- package/dist/{theme-button-8UOIxNBy.cjs.map → theme-button-qzDX0i9Q.cjs.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.component-BvUi2mvO.cjs → theme.component-Blc_4wu9.cjs} +2 -2
- package/dist/{theme.component-BvUi2mvO.cjs.map → theme.component-Blc_4wu9.cjs.map} +1 -1
- package/dist/{theme.component-DPfWc8Tz.js → theme.component-C3r_-QqQ.js} +2 -2
- package/dist/{theme.component-DPfWc8Tz.js.map → theme.component-C3r_-QqQ.js.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-CyWZzj5y.js → timezone-BkE20wzQ.js} +3 -3
- package/dist/{timezone-CyWZzj5y.js.map → timezone-BkE20wzQ.js.map} +1 -1
- package/dist/{timezone-BqVai0NU.cjs → timezone-wWfEuXrb.cjs} +2 -2
- package/dist/{timezone-BqVai0NU.cjs.map → timezone-wWfEuXrb.cjs.map} +1 -1
- package/dist/{tooltip-B3OI6L58.cjs → tooltip-DLadXXnP.cjs} +2 -2
- package/dist/{tooltip-B3OI6L58.cjs.map → tooltip-DLadXXnP.cjs.map} +1 -1
- package/dist/{tooltip-ADFA2Hhl.js → tooltip-UtpbXzQX.js} +2 -2
- package/dist/{tooltip-ADFA2Hhl.js.map → tooltip-UtpbXzQX.js.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-Dn_LFln3.cjs → tree-Brtho3Eu.cjs} +2 -2
- package/dist/{tree-Dn_LFln3.cjs.map → tree-Brtho3Eu.cjs.map} +1 -1
- package/dist/{tree-B8U0nKLT.js → tree-VkXtw2P8.js} +2 -2
- package/dist/{tree-B8U0nKLT.js.map → tree-VkXtw2P8.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-D16QiY6_.cjs → typewriter-CEgaw_pR.cjs} +2 -2
- package/dist/{typewriter-D16QiY6_.cjs.map → typewriter-CEgaw_pR.cjs.map} +1 -1
- package/dist/{typewriter-eEIOUfNO.js → typewriter-CsReDsYS.js} +4 -4
- package/dist/{typewriter-eEIOUfNO.js.map → typewriter-CsReDsYS.js.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-BuYmtWlY.js → typography-D_bM5DW7.js} +2 -2
- package/dist/{typography-BuYmtWlY.js.map → typography-D_bM5DW7.js.map} +1 -1
- package/dist/{typography-9tbZm7OD.cjs → typography-NurK7F-8.cjs} +2 -2
- package/dist/{typography-9tbZm7OD.cjs.map → typography-NurK7F-8.cjs.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/types/src/card/card.d.ts +5 -1
- package/types/src/chips/chips.d.ts +1 -6
- package/types/src/details/details.d.ts +4 -4
- package/dist/details-BVo7N1R-.cjs +0 -161
- package/dist/details-BVo7N1R-.cjs.map +0 -1
- package/dist/details-b0374YYL.js +0 -228
- package/dist/details-b0374YYL.js.map +0 -1
- package/dist/media-CXD15d1H.js +0 -261
- package/dist/media-CXD15d1H.js.map +0 -1
- package/dist/media-DPyw2ILI.cjs +0 -177
- package/dist/media-DPyw2ILI.cjs.map +0 -1
- package/dist/navigation-rail-Cwhii1Km.js.map +0 -1
- package/dist/navigation-rail-DpffIkNR.cjs.map +0 -1
- package/dist/suggestion-chip-BE4I1i8Z.js.map +0 -1
- package/dist/suggestion-chip-jPIhloJG.cjs.map +0 -1
- package/dist/surface-D8fzaQOr.cjs +0 -90
- package/dist/surface-D8fzaQOr.cjs.map +0 -1
- package/dist/surface-QCZ627r4.js +0 -111
- package/dist/surface-QCZ627r4.js.map +0 -1
- package/dist/tailwind.mixin-CvLC4LGm.cjs +0 -2
- package/dist/tailwind.mixin-DXMWx0zN.js +0 -43
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { e as h, n as y } from "./provide-tcktw8xB.js";
|
|
2
|
+
import { T as v } from "./tailwind.mixin-CZKT1dUr.js";
|
|
3
|
+
import { css as u, html as d } from "lit";
|
|
4
|
+
import { property as t, customElement as m } from "lit/decorators.js";
|
|
5
|
+
var p = Object.defineProperty, f = Object.getOwnPropertyDescriptor, e = (i, r, c, a) => {
|
|
6
|
+
for (var n, o = a > 1 ? void 0 : a ? f(r, c) : r, l = i.length - 1; l >= 0; l--) (n = i[l]) && (o = (a ? n(r, c, o) : n(o)) || o);
|
|
7
|
+
return a && o && p(r, c, o), o;
|
|
8
|
+
};
|
|
9
|
+
const b = y("surface");
|
|
10
|
+
let s = class extends v(u`
|
|
11
|
+
:host {
|
|
12
|
+
display: block;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* Fill styles */
|
|
17
|
+
:host([fill='all']) {
|
|
18
|
+
height: 100%;
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
:host([fill='width']) {
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
:host([fill='height']) {
|
|
25
|
+
height: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Rounded corner styles using M3 shape tokens */
|
|
29
|
+
:host([rounded='none']) {
|
|
30
|
+
border-radius: 0;
|
|
31
|
+
}
|
|
32
|
+
:host([rounded='top']) {
|
|
33
|
+
border-radius: var(--schmancy-sys-shape-corner-small) var(--schmancy-sys-shape-corner-small) 0 0;
|
|
34
|
+
}
|
|
35
|
+
:host([rounded='left']) {
|
|
36
|
+
border-radius: var(--schmancy-sys-shape-corner-small) 0 0 var(--schmancy-sys-shape-corner-small);
|
|
37
|
+
}
|
|
38
|
+
:host([rounded='right']) {
|
|
39
|
+
border-radius: 0 var(--schmancy-sys-shape-corner-small) var(--schmancy-sys-shape-corner-small) 0;
|
|
40
|
+
}
|
|
41
|
+
:host([rounded='bottom']) {
|
|
42
|
+
border-radius: 0 0 var(--schmancy-sys-shape-corner-small) var(--schmancy-sys-shape-corner-small);
|
|
43
|
+
}
|
|
44
|
+
:host([rounded='all']) {
|
|
45
|
+
border-radius: var(--schmancy-sys-shape-corner-small);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Elevation styles with M3 surface tint support */
|
|
49
|
+
:host([elevation='1']) {
|
|
50
|
+
box-shadow: var(--schmancy-sys-elevation-1);
|
|
51
|
+
/* Apply surface tint for elevated surfaces */
|
|
52
|
+
position: relative;
|
|
53
|
+
}
|
|
54
|
+
:host([elevation='2']) {
|
|
55
|
+
box-shadow: var(--schmancy-sys-elevation-2);
|
|
56
|
+
position: relative;
|
|
57
|
+
}
|
|
58
|
+
:host([elevation='3']) {
|
|
59
|
+
box-shadow: var(--schmancy-sys-elevation-3);
|
|
60
|
+
position: relative;
|
|
61
|
+
}
|
|
62
|
+
:host([elevation='4']) {
|
|
63
|
+
box-shadow: var(--schmancy-sys-elevation-4);
|
|
64
|
+
position: relative;
|
|
65
|
+
}
|
|
66
|
+
:host([elevation='5']) {
|
|
67
|
+
box-shadow: var(--schmancy-sys-elevation-5);
|
|
68
|
+
position: relative;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* M3 Surface tint overlay for elevated surfaces */
|
|
72
|
+
:host([elevation]:not([elevation='0']))::after {
|
|
73
|
+
content: '';
|
|
74
|
+
position: absolute;
|
|
75
|
+
inset: 0;
|
|
76
|
+
border-radius: inherit;
|
|
77
|
+
pointer-events: none;
|
|
78
|
+
background: var(--schmancy-sys-color-surface-tint);
|
|
79
|
+
/* Tint opacity increases with elevation */
|
|
80
|
+
opacity: calc(var(--elevation, 0) * 0.02);
|
|
81
|
+
}
|
|
82
|
+
:host([elevation='1'])::after { --elevation: 1; }
|
|
83
|
+
:host([elevation='2'])::after { --elevation: 2; }
|
|
84
|
+
:host([elevation='3'])::after { --elevation: 3; }
|
|
85
|
+
:host([elevation='4'])::after { --elevation: 4; }
|
|
86
|
+
:host([elevation='5'])::after { --elevation: 5; }
|
|
87
|
+
|
|
88
|
+
/* Surface type styles - background and text colors */
|
|
89
|
+
/* Note: surface-low/high/lowest/highest map to M3 containerLow/High/Lowest/Highest */
|
|
90
|
+
:host([type='surface']) {
|
|
91
|
+
background-color: var(--schmancy-sys-color-surface-default);
|
|
92
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
93
|
+
}
|
|
94
|
+
:host([type='surfaceDim']) {
|
|
95
|
+
background-color: var(--schmancy-sys-color-surface-dim);
|
|
96
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
97
|
+
}
|
|
98
|
+
:host([type='surfaceBright']) {
|
|
99
|
+
background-color: var(--schmancy-sys-color-surface-bright);
|
|
100
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
101
|
+
}
|
|
102
|
+
:host([type='containerLowest']) {
|
|
103
|
+
/* M3 containerLowest */
|
|
104
|
+
background-color: var(--schmancy-sys-color-surface-lowest);
|
|
105
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
106
|
+
}
|
|
107
|
+
:host([type='containerLow']) {
|
|
108
|
+
/* M3 containerLow */
|
|
109
|
+
background-color: var(--schmancy-sys-color-surface-low);
|
|
110
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
111
|
+
}
|
|
112
|
+
:host([type='container']) {
|
|
113
|
+
/* M3 container */
|
|
114
|
+
background-color: var(--schmancy-sys-color-surface-container);
|
|
115
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
116
|
+
}
|
|
117
|
+
:host([type='containerHigh']) {
|
|
118
|
+
/* M3 containerHigh */
|
|
119
|
+
background-color: var(--schmancy-sys-color-surface-high);
|
|
120
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
121
|
+
}
|
|
122
|
+
:host([type='containerHighest']) {
|
|
123
|
+
/* M3 containerHighest */
|
|
124
|
+
background-color: var(--schmancy-sys-color-surface-highest);
|
|
125
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
126
|
+
}
|
|
127
|
+
`) {
|
|
128
|
+
constructor() {
|
|
129
|
+
super(...arguments), this.fill = "auto", this.rounded = "none", this.type = "container", this.elevation = 0;
|
|
130
|
+
}
|
|
131
|
+
render() {
|
|
132
|
+
return d`<slot></slot>`;
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
e([t({ type: String, reflect: !0 })], s.prototype, "fill", 2), e([t({ reflect: !0 })], s.prototype, "rounded", 2), e([h({ context: b }), t({ reflect: !0 })], s.prototype, "type", 2), e([t({ type: Number, reflect: !0 })], s.prototype, "elevation", 2), s = e([m("schmancy-surface")], s);
|
|
136
|
+
export {
|
|
137
|
+
b as S,
|
|
138
|
+
s as a
|
|
139
|
+
};
|
|
140
|
+
//# sourceMappingURL=surface-C3V23wh9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"surface-C3V23wh9.js","sources":["../src/surface/surface.ts"],"sourcesContent":["import { createContext, provide } from '@lit/context'\nimport { TailwindElement } from '@mixins/tailwind.mixin'\nimport { TSurfaceColor } from '@schmancy/types'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nexport const SchmancySurfaceTypeContext = createContext<TSurfaceColor>('surface')\n\nexport type SchmancySurfaceFill = 'all' | 'width' | 'height' | 'auto'\n/**\n * `<schmancy-surface>` component\n *\n * This component renders a styled container that adapts its dimensions based on the `fill` property.\n * It supports various rounding options, elevation levels, and applies background and text color classes\n * based on the specified surface variant. Additionally, when the `scroller` property is true, the component\n * enables internal scrolling by applying overflow and scroll-behavior styles.\n *\n * @element schmancy-surface\n * @slot - Default slot for projecting child content.\n *\n * @example\n * <schmancy-surface fill=\"all\" rounded=\"all\" elevation=\"3\" type=\"surfaceBright\" scroller>\n * <p>Your scrollable content here</p>\n * </schmancy-surface>\n */\n@customElement('schmancy-surface')\nexport class SchmancySurface extends TailwindElement(css`\n\t:host {\n\t\tdisplay: block;\n\t\tbox-sizing: border-box;\n\t}\n\t\n\t/* Fill styles */\n\t:host([fill='all']) {\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\t:host([fill='width']) {\n\t\twidth: 100%;\n\t}\n\t:host([fill='height']) {\n\t\theight: 100%;\n\t}\n\t\n\t/* Rounded corner styles using M3 shape tokens */\n\t:host([rounded='none']) {\n\t\tborder-radius: 0;\n\t}\n\t:host([rounded='top']) {\n\t\tborder-radius: var(--schmancy-sys-shape-corner-small) var(--schmancy-sys-shape-corner-small) 0 0;\n\t}\n\t:host([rounded='left']) {\n\t\tborder-radius: var(--schmancy-sys-shape-corner-small) 0 0 var(--schmancy-sys-shape-corner-small);\n\t}\n\t:host([rounded='right']) {\n\t\tborder-radius: 0 var(--schmancy-sys-shape-corner-small) var(--schmancy-sys-shape-corner-small) 0;\n\t}\n\t:host([rounded='bottom']) {\n\t\tborder-radius: 0 0 var(--schmancy-sys-shape-corner-small) var(--schmancy-sys-shape-corner-small);\n\t}\n\t:host([rounded='all']) {\n\t\tborder-radius: var(--schmancy-sys-shape-corner-small);\n\t}\n\t\n\t/* Elevation styles with M3 surface tint support */\n\t:host([elevation='1']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-1);\n\t\t/* Apply surface tint for elevated surfaces */\n\t\tposition: relative;\n\t}\n\t:host([elevation='2']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-2);\n\t\tposition: relative;\n\t}\n\t:host([elevation='3']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-3);\n\t\tposition: relative;\n\t}\n\t:host([elevation='4']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-4);\n\t\tposition: relative;\n\t}\n\t:host([elevation='5']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-5);\n\t\tposition: relative;\n\t}\n\n\t/* M3 Surface tint overlay for elevated surfaces */\n\t:host([elevation]:not([elevation='0']))::after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\tinset: 0;\n\t\tborder-radius: inherit;\n\t\tpointer-events: none;\n\t\tbackground: var(--schmancy-sys-color-surface-tint);\n\t\t/* Tint opacity increases with elevation */\n\t\topacity: calc(var(--elevation, 0) * 0.02);\n\t}\n\t:host([elevation='1'])::after { --elevation: 1; }\n\t:host([elevation='2'])::after { --elevation: 2; }\n\t:host([elevation='3'])::after { --elevation: 3; }\n\t:host([elevation='4'])::after { --elevation: 4; }\n\t:host([elevation='5'])::after { --elevation: 5; }\n\t\n\t/* Surface type styles - background and text colors */\n\t/* Note: surface-low/high/lowest/highest map to M3 containerLow/High/Lowest/Highest */\n\t:host([type='surface']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-default);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='surfaceDim']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-dim);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='surfaceBright']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-bright);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerLowest']) {\n\t\t/* M3 containerLowest */\n\t\tbackground-color: var(--schmancy-sys-color-surface-lowest);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerLow']) {\n\t\t/* M3 containerLow */\n\t\tbackground-color: var(--schmancy-sys-color-surface-low);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='container']) {\n\t\t/* M3 container */\n\t\tbackground-color: var(--schmancy-sys-color-surface-container);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerHigh']) {\n\t\t/* M3 containerHigh */\n\t\tbackground-color: var(--schmancy-sys-color-surface-high);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerHighest']) {\n\t\t/* M3 containerHighest */\n\t\tbackground-color: var(--schmancy-sys-color-surface-highest);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n`) {\n\t/**\n\t * Fill the width and/or height of the parent container.\n\t * Options: 'all', 'width', 'height', 'auto'.\n\t * @default 'auto'\n\t */\n\t@property({ type: String, reflect: true })\n\tfill: 'all' | 'width' | 'height' | 'auto' = 'auto'\n\n\t/**\n\t * Specifies the rounding style of the component's corners.\n\t * Options: 'none', 'top', 'left', 'right', 'bottom', 'all'.\n\t * @default 'none'\n\t */\n\t@property({ reflect: true })\n\trounded: 'none' | 'top' | 'left' | 'right' | 'bottom' | 'all' = 'none'\n\n\t/**\n\t * Specifies the surface type for styling.\n\t * Provided to descendant components via context.\n\t * Options: 'surface', 'surfaceDim', 'surfaceBright', 'containerLowest',\n\t * 'containerLow', 'container', 'containerHigh', 'containerHighest'.\n\t * @default 'container'\n\t */\n\t@provide({ context: SchmancySurfaceTypeContext })\n\t@property({ reflect: true })\n\ttype: TSurfaceColor = 'container'\n\n\t/**\n\t * Defines the elevation level (shadow depth) of the surface.\n\t * Valid values: 0, 1, 2, 3, 4, 5.\n\t * @default 0\n\t */\n\t@property({ type: Number, reflect: true })\n\televation: 0 | 1 | 2 | 3 | 4 | 5 = 0\n\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-surface': SchmancySurface\n\t}\n}"],"names":["SchmancySurfaceTypeContext","createContext","SchmancySurface","TailwindElement","css","super","arguments","this","fill","rounded","type","elevation","render","html","__decorateClass","property","String","reflect","prototype","provide","context","Number","customElement"],"mappings":";;;;;;;;AAMO,MAAMA,IAA6BC,EAA6B,SAAA;AAoBhE,IAAMC,IAAN,cAA8BC,EAAgBC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAA9C,EAAA;AAAA,EAAA;AAAAC,UAAAA,GAAAC,SAAAA,GA4HNC,KAAAC,OAA4C,QAQ5CD,KAAAE,UAAgE,QAWhEF,KAAAG,OAAsB,aAQtBH,KAAAI,YAAmC;AAAA,EAAA;AAAA,EAEzB,SAAAC;AACT,WAAOC;AAAAA,EACR;AAAA;AA/BAC,EAAA,CADCC,EAAS,EAAEL,MAAMM,QAAQC,SAAAA,GAAS,CAAA,CAAA,GA3HvBf,EA4HZgB,WAAA,QAAA,CAAA,GAQAJ,EAAA,CADCC,EAAS,EAAEE,SAAAA,GAAS,CAAA,CAAA,GAnITf,EAoIZgB,WAAA,WAAA,CAAA,GAWAJ,EAAA,CAFCK,EAAQ,EAAEC,SAASpB,EAAAA,CAAAA,GACnBe,EAAS,EAAEE,SAAAA,GAAS,CAAA,CAAA,GA9ITf,EA+IZgB,WAAA,QAAA,CAAA,GAQAJ,EAAA,CADCC,EAAS,EAAEL,MAAMW,QAAQJ,SAAAA,QAtJdf,EAuJZgB,WAAA,aAAA,CAAA,GAvJYhB,IAANY,EAAA,CADNQ,EAAc,kBAAA,CAAA,GACFpB;"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";const y=require("./provide-BxZ2kn_p.cjs"),u=require("./tailwind.mixin-CFrLBtkD.cjs"),i=require("lit"),e=require("lit/decorators.js");var v=Object.defineProperty,d=Object.getOwnPropertyDescriptor,r=(l,s,c,a)=>{for(var t,o=a>1?void 0:a?d(s,c):s,n=l.length-1;n>=0;n--)(t=l[n])&&(o=(a?t(s,c,o):t(o))||o);return a&&o&&v(s,c,o),o};const h=y.n("surface");exports.SchmancySurface=class extends u.TailwindElement(i.css`
|
|
2
|
+
:host {
|
|
3
|
+
display: block;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/* Fill styles */
|
|
8
|
+
:host([fill='all']) {
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
:host([fill='width']) {
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
15
|
+
:host([fill='height']) {
|
|
16
|
+
height: 100%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Rounded corner styles using M3 shape tokens */
|
|
20
|
+
:host([rounded='none']) {
|
|
21
|
+
border-radius: 0;
|
|
22
|
+
}
|
|
23
|
+
:host([rounded='top']) {
|
|
24
|
+
border-radius: var(--schmancy-sys-shape-corner-small) var(--schmancy-sys-shape-corner-small) 0 0;
|
|
25
|
+
}
|
|
26
|
+
:host([rounded='left']) {
|
|
27
|
+
border-radius: var(--schmancy-sys-shape-corner-small) 0 0 var(--schmancy-sys-shape-corner-small);
|
|
28
|
+
}
|
|
29
|
+
:host([rounded='right']) {
|
|
30
|
+
border-radius: 0 var(--schmancy-sys-shape-corner-small) var(--schmancy-sys-shape-corner-small) 0;
|
|
31
|
+
}
|
|
32
|
+
:host([rounded='bottom']) {
|
|
33
|
+
border-radius: 0 0 var(--schmancy-sys-shape-corner-small) var(--schmancy-sys-shape-corner-small);
|
|
34
|
+
}
|
|
35
|
+
:host([rounded='all']) {
|
|
36
|
+
border-radius: var(--schmancy-sys-shape-corner-small);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Elevation styles with M3 surface tint support */
|
|
40
|
+
:host([elevation='1']) {
|
|
41
|
+
box-shadow: var(--schmancy-sys-elevation-1);
|
|
42
|
+
/* Apply surface tint for elevated surfaces */
|
|
43
|
+
position: relative;
|
|
44
|
+
}
|
|
45
|
+
:host([elevation='2']) {
|
|
46
|
+
box-shadow: var(--schmancy-sys-elevation-2);
|
|
47
|
+
position: relative;
|
|
48
|
+
}
|
|
49
|
+
:host([elevation='3']) {
|
|
50
|
+
box-shadow: var(--schmancy-sys-elevation-3);
|
|
51
|
+
position: relative;
|
|
52
|
+
}
|
|
53
|
+
:host([elevation='4']) {
|
|
54
|
+
box-shadow: var(--schmancy-sys-elevation-4);
|
|
55
|
+
position: relative;
|
|
56
|
+
}
|
|
57
|
+
:host([elevation='5']) {
|
|
58
|
+
box-shadow: var(--schmancy-sys-elevation-5);
|
|
59
|
+
position: relative;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* M3 Surface tint overlay for elevated surfaces */
|
|
63
|
+
:host([elevation]:not([elevation='0']))::after {
|
|
64
|
+
content: '';
|
|
65
|
+
position: absolute;
|
|
66
|
+
inset: 0;
|
|
67
|
+
border-radius: inherit;
|
|
68
|
+
pointer-events: none;
|
|
69
|
+
background: var(--schmancy-sys-color-surface-tint);
|
|
70
|
+
/* Tint opacity increases with elevation */
|
|
71
|
+
opacity: calc(var(--elevation, 0) * 0.02);
|
|
72
|
+
}
|
|
73
|
+
:host([elevation='1'])::after { --elevation: 1; }
|
|
74
|
+
:host([elevation='2'])::after { --elevation: 2; }
|
|
75
|
+
:host([elevation='3'])::after { --elevation: 3; }
|
|
76
|
+
:host([elevation='4'])::after { --elevation: 4; }
|
|
77
|
+
:host([elevation='5'])::after { --elevation: 5; }
|
|
78
|
+
|
|
79
|
+
/* Surface type styles - background and text colors */
|
|
80
|
+
/* Note: surface-low/high/lowest/highest map to M3 containerLow/High/Lowest/Highest */
|
|
81
|
+
:host([type='surface']) {
|
|
82
|
+
background-color: var(--schmancy-sys-color-surface-default);
|
|
83
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
84
|
+
}
|
|
85
|
+
:host([type='surfaceDim']) {
|
|
86
|
+
background-color: var(--schmancy-sys-color-surface-dim);
|
|
87
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
88
|
+
}
|
|
89
|
+
:host([type='surfaceBright']) {
|
|
90
|
+
background-color: var(--schmancy-sys-color-surface-bright);
|
|
91
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
92
|
+
}
|
|
93
|
+
:host([type='containerLowest']) {
|
|
94
|
+
/* M3 containerLowest */
|
|
95
|
+
background-color: var(--schmancy-sys-color-surface-lowest);
|
|
96
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
97
|
+
}
|
|
98
|
+
:host([type='containerLow']) {
|
|
99
|
+
/* M3 containerLow */
|
|
100
|
+
background-color: var(--schmancy-sys-color-surface-low);
|
|
101
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
102
|
+
}
|
|
103
|
+
:host([type='container']) {
|
|
104
|
+
/* M3 container */
|
|
105
|
+
background-color: var(--schmancy-sys-color-surface-container);
|
|
106
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
107
|
+
}
|
|
108
|
+
:host([type='containerHigh']) {
|
|
109
|
+
/* M3 containerHigh */
|
|
110
|
+
background-color: var(--schmancy-sys-color-surface-high);
|
|
111
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
112
|
+
}
|
|
113
|
+
:host([type='containerHighest']) {
|
|
114
|
+
/* M3 containerHighest */
|
|
115
|
+
background-color: var(--schmancy-sys-color-surface-highest);
|
|
116
|
+
color: var(--schmancy-sys-color-surface-on);
|
|
117
|
+
}
|
|
118
|
+
`){constructor(){super(...arguments),this.fill="auto",this.rounded="none",this.type="container",this.elevation=0}render(){return i.html`<slot></slot>`}},r([e.property({type:String,reflect:!0})],exports.SchmancySurface.prototype,"fill",2),r([e.property({reflect:!0})],exports.SchmancySurface.prototype,"rounded",2),r([y.e({context:h}),e.property({reflect:!0})],exports.SchmancySurface.prototype,"type",2),r([e.property({type:Number,reflect:!0})],exports.SchmancySurface.prototype,"elevation",2),exports.SchmancySurface=r([e.customElement("schmancy-surface")],exports.SchmancySurface),exports.SchmancySurfaceTypeContext=h;
|
|
119
|
+
//# sourceMappingURL=surface-ClIDhSRv.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"surface-ClIDhSRv.cjs","sources":["../src/surface/surface.ts"],"sourcesContent":["import { createContext, provide } from '@lit/context'\nimport { TailwindElement } from '@mixins/tailwind.mixin'\nimport { TSurfaceColor } from '@schmancy/types'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nexport const SchmancySurfaceTypeContext = createContext<TSurfaceColor>('surface')\n\nexport type SchmancySurfaceFill = 'all' | 'width' | 'height' | 'auto'\n/**\n * `<schmancy-surface>` component\n *\n * This component renders a styled container that adapts its dimensions based on the `fill` property.\n * It supports various rounding options, elevation levels, and applies background and text color classes\n * based on the specified surface variant. Additionally, when the `scroller` property is true, the component\n * enables internal scrolling by applying overflow and scroll-behavior styles.\n *\n * @element schmancy-surface\n * @slot - Default slot for projecting child content.\n *\n * @example\n * <schmancy-surface fill=\"all\" rounded=\"all\" elevation=\"3\" type=\"surfaceBright\" scroller>\n * <p>Your scrollable content here</p>\n * </schmancy-surface>\n */\n@customElement('schmancy-surface')\nexport class SchmancySurface extends TailwindElement(css`\n\t:host {\n\t\tdisplay: block;\n\t\tbox-sizing: border-box;\n\t}\n\t\n\t/* Fill styles */\n\t:host([fill='all']) {\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\t:host([fill='width']) {\n\t\twidth: 100%;\n\t}\n\t:host([fill='height']) {\n\t\theight: 100%;\n\t}\n\t\n\t/* Rounded corner styles using M3 shape tokens */\n\t:host([rounded='none']) {\n\t\tborder-radius: 0;\n\t}\n\t:host([rounded='top']) {\n\t\tborder-radius: var(--schmancy-sys-shape-corner-small) var(--schmancy-sys-shape-corner-small) 0 0;\n\t}\n\t:host([rounded='left']) {\n\t\tborder-radius: var(--schmancy-sys-shape-corner-small) 0 0 var(--schmancy-sys-shape-corner-small);\n\t}\n\t:host([rounded='right']) {\n\t\tborder-radius: 0 var(--schmancy-sys-shape-corner-small) var(--schmancy-sys-shape-corner-small) 0;\n\t}\n\t:host([rounded='bottom']) {\n\t\tborder-radius: 0 0 var(--schmancy-sys-shape-corner-small) var(--schmancy-sys-shape-corner-small);\n\t}\n\t:host([rounded='all']) {\n\t\tborder-radius: var(--schmancy-sys-shape-corner-small);\n\t}\n\t\n\t/* Elevation styles with M3 surface tint support */\n\t:host([elevation='1']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-1);\n\t\t/* Apply surface tint for elevated surfaces */\n\t\tposition: relative;\n\t}\n\t:host([elevation='2']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-2);\n\t\tposition: relative;\n\t}\n\t:host([elevation='3']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-3);\n\t\tposition: relative;\n\t}\n\t:host([elevation='4']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-4);\n\t\tposition: relative;\n\t}\n\t:host([elevation='5']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-5);\n\t\tposition: relative;\n\t}\n\n\t/* M3 Surface tint overlay for elevated surfaces */\n\t:host([elevation]:not([elevation='0']))::after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\tinset: 0;\n\t\tborder-radius: inherit;\n\t\tpointer-events: none;\n\t\tbackground: var(--schmancy-sys-color-surface-tint);\n\t\t/* Tint opacity increases with elevation */\n\t\topacity: calc(var(--elevation, 0) * 0.02);\n\t}\n\t:host([elevation='1'])::after { --elevation: 1; }\n\t:host([elevation='2'])::after { --elevation: 2; }\n\t:host([elevation='3'])::after { --elevation: 3; }\n\t:host([elevation='4'])::after { --elevation: 4; }\n\t:host([elevation='5'])::after { --elevation: 5; }\n\t\n\t/* Surface type styles - background and text colors */\n\t/* Note: surface-low/high/lowest/highest map to M3 containerLow/High/Lowest/Highest */\n\t:host([type='surface']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-default);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='surfaceDim']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-dim);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='surfaceBright']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-bright);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerLowest']) {\n\t\t/* M3 containerLowest */\n\t\tbackground-color: var(--schmancy-sys-color-surface-lowest);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerLow']) {\n\t\t/* M3 containerLow */\n\t\tbackground-color: var(--schmancy-sys-color-surface-low);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='container']) {\n\t\t/* M3 container */\n\t\tbackground-color: var(--schmancy-sys-color-surface-container);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerHigh']) {\n\t\t/* M3 containerHigh */\n\t\tbackground-color: var(--schmancy-sys-color-surface-high);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerHighest']) {\n\t\t/* M3 containerHighest */\n\t\tbackground-color: var(--schmancy-sys-color-surface-highest);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n`) {\n\t/**\n\t * Fill the width and/or height of the parent container.\n\t * Options: 'all', 'width', 'height', 'auto'.\n\t * @default 'auto'\n\t */\n\t@property({ type: String, reflect: true })\n\tfill: 'all' | 'width' | 'height' | 'auto' = 'auto'\n\n\t/**\n\t * Specifies the rounding style of the component's corners.\n\t * Options: 'none', 'top', 'left', 'right', 'bottom', 'all'.\n\t * @default 'none'\n\t */\n\t@property({ reflect: true })\n\trounded: 'none' | 'top' | 'left' | 'right' | 'bottom' | 'all' = 'none'\n\n\t/**\n\t * Specifies the surface type for styling.\n\t * Provided to descendant components via context.\n\t * Options: 'surface', 'surfaceDim', 'surfaceBright', 'containerLowest',\n\t * 'containerLow', 'container', 'containerHigh', 'containerHighest'.\n\t * @default 'container'\n\t */\n\t@provide({ context: SchmancySurfaceTypeContext })\n\t@property({ reflect: true })\n\ttype: TSurfaceColor = 'container'\n\n\t/**\n\t * Defines the elevation level (shadow depth) of the surface.\n\t * Valid values: 0, 1, 2, 3, 4, 5.\n\t * @default 0\n\t */\n\t@property({ type: Number, reflect: true })\n\televation: 0 | 1 | 2 | 3 | 4 | 5 = 0\n\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-surface': SchmancySurface\n\t}\n}"],"names":["SchmancySurfaceTypeContext","createContext","SchmancySurface","TailwindElement","css","super","arguments","this","fill","rounded","type","elevation","render","html","__decorateClass","property","String","reflect","prototype","provide","context","Number","customElement"],"mappings":"kVAMO,MAAMA,EAA6BC,EAAAA,EAA6B,SAAA,EAoB1DC,QAAAA,gBAAN,cAA8BC,EAAAA,gBAAgBC,EAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAA9C,CAAA,CAAA,cAAAC,MAAAA,GAAAC,SAAAA,EA4HNC,KAAAC,KAA4C,OAQ5CD,KAAAE,QAAgE,OAWhEF,KAAAG,KAAsB,YAQtBH,KAAAI,UAAmC,CAAA,CAEzB,QAAAC,CACT,OAAOC,EAAAA,mBACR,CAAA,EA/BAC,EAAA,CADCC,EAAAA,SAAS,CAAEL,KAAMM,OAAQC,UAAS,CAAA,CAAA,EA3HvBf,wBA4HZgB,UAAA,OAAA,GAQAJ,EAAA,CADCC,WAAS,CAAEE,UAAS,CAAA,CAAA,EAnITf,wBAoIZgB,UAAA,UAAA,CAAA,EAWAJ,EAAA,CAFCK,IAAQ,CAAEC,QAASpB,CAAAA,CAAAA,EACnBe,WAAS,CAAEE,UAAS,CAAA,CAAA,EA9ITf,wBA+IZgB,UAAA,OAAA,GAQAJ,EAAA,CADCC,EAAAA,SAAS,CAAEL,KAAMW,OAAQJ,QAAAA,MAtJdf,wBAuJZgB,UAAA,YAAA,CAAA,EAvJYhB,QAAAA,gBAANY,EAAA,CADNQ,EAAAA,cAAc,qBACFpB"}
|
package/dist/surface.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./surface-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./surface-ClIDhSRv.cjs");Object.defineProperty(exports,"SchmancySurface",{enumerable:!0,get:()=>e.SchmancySurface}),exports.SchmancySurfaceTypeContext=e.SchmancySurfaceTypeContext;
|
|
2
2
|
//# sourceMappingURL=surface.cjs.map
|
package/dist/surface.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const y=require("./tslib.es6-DgOcxv4s.cjs"),h=require("lit"),g=require("lit/decorators/property.js"),k=require("lit/directive.js"),F=require("lit/async-directive.js"),N=require("lit/directives/repeat.js"),D=require("./litElement.mixin-
|
|
1
|
+
"use strict";const y=require("./tslib.es6-DgOcxv4s.cjs"),h=require("lit"),g=require("lit/decorators/property.js"),k=require("lit/directive.js"),F=require("lit/async-directive.js"),N=require("lit/directives/repeat.js"),D=require("./litElement.mixin-DUiUa087.cjs"),c=require("lit/decorators.js");var B=Object.defineProperty,j=Object.getOwnPropertyDescriptor,v=(l,t,e,i)=>{for(var s,r=i>1?void 0:i?j(t,e):t,o=l.length-1;o>=0;o--)(s=l[o])&&(r=(i?s(t,e,r):s(r))||r);return i&&r&&B(t,e,r),r};exports.SchmancyTableRow=class extends D.$LitElement(){constructor(){super(...arguments),this.columns=[],this.cols=this.columns.map(()=>"1fr").join(" ")}renderCell(l){if(l.render)return h.html`
|
|
2
2
|
<div class="overflow-hidden text-ellipsis">
|
|
3
3
|
<schmancy-typography align="${l.align||"left"}" maxLines="2" weight="${l.weight||"normal"}">
|
|
4
4
|
${l.render(this.item)}
|
|
@@ -62,4 +62,4 @@
|
|
|
62
62
|
</schmancy-grid>
|
|
63
63
|
</schmancy-surface>
|
|
64
64
|
`}},d([c.property({type:Array,attribute:!1})],exports.SchmancyDataTable.prototype,"columns",2),d([c.property({type:Array,attribute:!1})],exports.SchmancyDataTable.prototype,"data",2),d([c.property({type:String})],exports.SchmancyDataTable.prototype,"keyField",2),d([c.property({type:String})],exports.SchmancyDataTable.prototype,"cols",2),d([c.property({type:Boolean})],exports.SchmancyDataTable.prototype,"sortable",2),d([c.state()],exports.SchmancyDataTable.prototype,"sortColumn",2),d([c.state()],exports.SchmancyDataTable.prototype,"sortDirection",2),d([c.state()],exports.SchmancyDataTable.prototype,"filteredData",2),exports.SchmancyDataTable=d([c.customElement("schmancy-table")],exports.SchmancyDataTable);
|
|
65
|
-
//# sourceMappingURL=table-
|
|
65
|
+
//# sourceMappingURL=table-1New2HBS.cjs.map
|