@mhmo91/schmancy 0.9.27 → 0.10.1
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/custom-elements.json +987 -2259
- package/dist/active-host-0of-L858.cjs +1 -0
- package/dist/active-host-0of-L858.cjs.map +1 -0
- package/dist/active-host-D-a1X-nq.js +57 -0
- package/dist/active-host-D-a1X-nq.js.map +1 -0
- package/dist/agent/{flow-CvG1fLW5.js.map → flow-CaPi2G8y.js.map} +1 -1
- package/dist/agent/{rolldown-runtime-BIIoCavz.js → rolldown-runtime-DsMetpgY.js} +2 -9
- package/dist/agent/schmancy.agent.js +6465 -7794
- package/dist/agent/schmancy.agent.js.map +1 -1
- package/dist/agent/schmancy.manifest.json +262 -1462
- package/dist/agent/{vendor-highlight-Dow87ZL_.js → vendor-highlight-CHJZQQB7.js} +85 -90
- package/dist/agent/{vendor-highlight-Dow87ZL_.js.map → vendor-highlight-CHJZQQB7.js.map} +1 -1
- package/dist/agent/{vendor-jsqr-Bl4iAtKC.js → vendor-jsqr-r7GNh4P3.js} +1 -1
- package/dist/agent/{vendor-jsqr-Bl4iAtKC.js.map → vendor-jsqr-r7GNh4P3.js.map} +1 -1
- package/dist/agent/{vendor-material-color-DcL7ZPxx.js.map → vendor-material-color-Be96dpGE.js.map} +1 -1
- package/dist/{animation-hXFClrIn.js.map → animation-BK-8BwY8.js.map} +1 -1
- package/dist/{animation-CQRdLgzX.cjs.map → animation-CO_Csq84.cjs.map} +1 -1
- package/dist/{area-BGBCMC79.js → area-C_J4qxKO.js} +20 -15
- package/dist/area-C_J4qxKO.js.map +1 -0
- package/dist/area-ISC8Mdkh.cjs +12 -0
- package/dist/area-ISC8Mdkh.cjs.map +1 -0
- package/dist/area.cjs +1 -1
- package/dist/area.js +2 -2
- package/dist/{audio-Dvr-RBzE.cjs → audio-DZN8HsSS.cjs} +1 -1
- package/dist/{audio-Dvr-RBzE.cjs.map → audio-DZN8HsSS.cjs.map} +1 -1
- package/dist/{audio-ql6nvY0y.js → audio-Tmre4WyL.js} +1 -1
- package/dist/{audio-ql6nvY0y.js.map → audio-Tmre4WyL.js.map} +1 -1
- package/dist/audio.cjs +1 -1
- package/dist/audio.js +2 -2
- package/dist/autocomplete-BDF85W0J.cjs +115 -0
- package/dist/autocomplete-BDF85W0J.cjs.map +1 -0
- package/dist/{autocomplete-C2P0Soht.js → autocomplete-CM8VqW9S.js} +29 -26
- package/dist/autocomplete-CM8VqW9S.js.map +1 -0
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/avatar.cjs +7 -0
- package/dist/avatar.cjs.map +1 -0
- package/dist/avatar.js +87 -0
- package/dist/avatar.js.map +1 -0
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/boat-CpXe-Qto.cjs +80 -0
- package/dist/boat-CpXe-Qto.cjs.map +1 -0
- package/dist/{boat-DXZ0k7oa.js → boat-DxYNK4xT.js} +43 -54
- package/dist/boat-DxYNK4xT.js.map +1 -0
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/breadcrumb.cjs +4 -4
- package/dist/breadcrumb.cjs.map +1 -1
- package/dist/breadcrumb.js +16 -11
- package/dist/breadcrumb.js.map +1 -1
- package/dist/{busy-iRjq6Nvd.js → busy-CP-gRfAP.js} +14 -9
- package/dist/busy-CP-gRfAP.js.map +1 -0
- package/dist/{busy-DGYhpTnO.cjs → busy-Dma4gtnz.cjs} +4 -4
- package/dist/busy-Dma4gtnz.cjs.map +1 -0
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.cjs +24 -24
- package/dist/button.cjs.map +1 -1
- package/dist/button.js +42 -37
- package/dist/button.js.map +1 -1
- package/dist/{card-wUTjx0EC.js → card-Bv--HeGO.js} +41 -30
- package/dist/card-Bv--HeGO.js.map +1 -0
- package/dist/{card-DjYnCckw.cjs → card-ClroODSK.cjs} +6 -6
- package/dist/card-ClroODSK.cjs.map +1 -0
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/charts.cjs +5 -5
- package/dist/charts.cjs.map +1 -1
- package/dist/charts.js +21 -16
- package/dist/charts.js.map +1 -1
- package/dist/{checkbox-VBSenxgb.js → checkbox-1gQOOcja.js} +86 -82
- package/dist/checkbox-1gQOOcja.js.map +1 -0
- package/dist/checkbox-DvTZXN1Y.cjs +39 -0
- package/dist/checkbox-DvTZXN1Y.cjs.map +1 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-D6ptH5re.cjs → chips-Bw7FNDpX.cjs} +19 -19
- package/dist/chips-Bw7FNDpX.cjs.map +1 -0
- package/dist/{chips-BDS9lkPa.js → chips-wkfKzf_e.js} +146 -136
- package/dist/chips-wkfKzf_e.js.map +1 -0
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +2 -2
- package/dist/{code-highlight-BzRmBZzz.cjs → code-highlight-CJzuds4c.cjs} +15 -15
- package/dist/code-highlight-CJzuds4c.cjs.map +1 -0
- package/dist/{code-highlight-Bi91XHJN.js → code-highlight-CcdCFMrn.js} +37 -40
- package/dist/code-highlight-CcdCFMrn.js.map +1 -0
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/connectivity.cjs +2 -2
- package/dist/connectivity.cjs.map +1 -1
- package/dist/connectivity.js +10 -7
- package/dist/connectivity.js.map +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +2 -2
- package/dist/context-Bdu1xt0W.js +3 -0
- package/dist/{context-BerzpUhI.js.map → context-Bdu1xt0W.js.map} +1 -1
- package/dist/context-daN5G6HS.cjs +1 -0
- package/dist/{context-C6dHUHhi.cjs.map → context-daN5G6HS.cjs.map} +1 -1
- package/dist/{cursor-glow-BydlDInj.js → cursor-glow-Ah7VXSj7.js} +1 -1
- package/dist/{cursor-glow-BydlDInj.js.map → cursor-glow-Ah7VXSj7.js.map} +1 -1
- package/dist/{cursor-glow-Duw9jHmh.cjs → cursor-glow-Bulq-38P.cjs} +1 -1
- package/dist/{cursor-glow-Duw9jHmh.cjs.map → cursor-glow-Bulq-38P.cjs.map} +1 -1
- package/dist/{date-range-ClTMg1AB.js → date-range-BDHz_Olm.js} +16 -17
- package/dist/date-range-BDHz_Olm.js.map +1 -0
- package/dist/date-range-BsPW60vp.cjs +131 -0
- package/dist/date-range-BsPW60vp.cjs.map +1 -0
- package/dist/{date-range-inline-CpKG6qt2.js → date-range-inline-1NmZE_Xr.js} +5 -5
- package/dist/{date-range-inline-CpKG6qt2.js.map → date-range-inline-1NmZE_Xr.js.map} +1 -1
- package/dist/date-range-inline-BsjNNGFR.cjs +43 -0
- package/dist/{date-range-inline-B9Dp2z6C.cjs.map → date-range-inline-BsjNNGFR.cjs.map} +1 -1
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/delay.cjs +9 -1
- package/dist/delay.cjs.map +1 -0
- package/dist/delay.js +77 -2
- package/dist/delay.js.map +1 -0
- package/dist/{details-CPjlqQD4.js → details-BEp2s2ca.js} +19 -18
- package/dist/details-BEp2s2ca.js.map +1 -0
- package/dist/{details-Cz9ok9si.cjs → details-BtUNqzn8.cjs} +9 -9
- package/dist/details-BtUNqzn8.cjs.map +1 -0
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-service-DH-tjPuE.js → dialog-service-DI9PPy4H.js} +2 -2
- package/dist/dialog-service-DI9PPy4H.js.map +1 -0
- package/dist/{dialog-service-CzDO08Gy.cjs → dialog-service-DJd5L0f5.cjs} +1 -1
- package/dist/dialog-service-DJd5L0f5.cjs.map +1 -0
- package/dist/dialog.cjs +2 -2
- package/dist/dialog.cjs.map +1 -1
- package/dist/dialog.js +13 -14
- package/dist/dialog.js.map +1 -1
- package/dist/directives.cjs +2 -11
- package/dist/directives.cjs.map +1 -1
- package/dist/directives.js +141 -227
- package/dist/directives.js.map +1 -1
- package/dist/discovery.cjs +1 -1
- package/dist/discovery.cjs.map +1 -1
- package/dist/discovery.js +1 -1
- package/dist/discovery.js.map +1 -1
- package/dist/{divider-CILo3_vi.cjs → divider-CpNT11Iy.cjs} +3 -3
- package/dist/divider-CpNT11Iy.cjs.map +1 -0
- package/dist/{divider-ghgyw5CU.js → divider-VxpjZ8hk.js} +11 -9
- package/dist/divider-VxpjZ8hk.js.map +1 -0
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.cjs +4 -4
- package/dist/dropdown.cjs.map +1 -1
- package/dist/dropdown.js +29 -28
- package/dist/dropdown.js.map +1 -1
- package/dist/expand-05azMpho.cjs +141 -0
- package/dist/expand-05azMpho.cjs.map +1 -0
- package/dist/{expand-CbjBr_Ds.js → expand-CRUl3-mN.js} +24 -20
- package/dist/expand-CRUl3-mN.js.map +1 -0
- package/dist/expand.cjs +1 -1
- package/dist/expand.js +1 -1
- package/dist/{extra-BZeZOMBI.cjs → extra-CyERULfm.cjs} +6 -6
- package/dist/extra-CyERULfm.cjs.map +1 -0
- package/dist/{extra-DK9MQtPJ.js → extra-aNV1fO6W.js} +19 -14
- package/dist/extra-aNV1fO6W.js.map +1 -0
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/float-DRET9mVZ.cjs +1 -0
- package/dist/{float-CuZ8LOgB.cjs.map → float-DRET9mVZ.cjs.map} +1 -1
- package/dist/{float-BfCvGeY9.js → float-N3qhNET_.js} +2 -2
- package/dist/{float-BfCvGeY9.js.map → float-N3qhNET_.js.map} +1 -1
- package/dist/float.cjs +1 -1
- package/dist/float.js +1 -1
- package/dist/{form-rCZqoAoK.js → form-BtwOBMZ9.js} +1 -1
- package/dist/form-BtwOBMZ9.js.map +1 -0
- package/dist/{form-wI58M85H.cjs → form-CSJp687X.cjs} +1 -1
- package/dist/form-CSJp687X.cjs.map +1 -0
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/handover/agent-runtime-followups.md +1 -1
- package/dist/handover/agent-runtime-v1.md +3 -3
- package/dist/handover/claude-design-brief.md +19 -54
- package/dist/handover/claude-design-setup.md +57 -0
- package/dist/{hashContent-B2IntJQf.js.map → hashContent-1ARKIsx9.js.map} +1 -1
- package/dist/{hashContent-CahnEuut.cjs.map → hashContent-Bp5S6T4U.cjs.map} +1 -1
- package/dist/{icons-Drq4kKy2.js → icons-BBJqwT_B.js} +27 -24
- package/dist/icons-BBJqwT_B.js.map +1 -0
- package/dist/icons-CNixJ6kL.cjs +52 -0
- package/dist/icons-CNixJ6kL.cjs.map +1 -0
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/{iframe-BmyHW8km.js → iframe-DoN_toqE.js} +17 -11
- package/dist/iframe-DoN_toqE.js.map +1 -0
- package/dist/iframe-g-4DjAD7.cjs +24 -0
- package/dist/iframe-g-4DjAD7.cjs.map +1 -0
- package/dist/iframe.cjs +1 -1
- package/dist/iframe.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +77 -77
- package/dist/{input-Bc3bVISm.js → input-ClnkMJgh.js} +30 -30
- package/dist/input-ClnkMJgh.js.map +1 -0
- package/dist/{input-BGNZlfL8.cjs → input-CwFslLcF.cjs} +14 -14
- package/dist/input-CwFslLcF.cjs.map +1 -0
- package/dist/{input-chip-DN-cwf11.cjs → input-chip-DMXRT7bK.cjs} +2 -2
- package/dist/input-chip-DMXRT7bK.cjs.map +1 -0
- package/dist/{input-chip-BQrjpjaQ.js → input-chip-DwSyFv1x.js} +7 -4
- package/dist/input-chip-DwSyFv1x.js.map +1 -0
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/json.cjs +1 -1
- package/dist/json.cjs.map +1 -1
- package/dist/json.js +7 -5
- package/dist/json.js.map +1 -1
- package/dist/kbd.cjs +2 -2
- package/dist/kbd.cjs.map +1 -1
- package/dist/kbd.js +9 -7
- package/dist/kbd.js.map +1 -1
- package/dist/{layout-fjM1DWlF.js → layout-BghHmee6.js} +1 -1
- package/dist/{layout-fjM1DWlF.js.map → layout-BghHmee6.js.map} +1 -1
- package/dist/{layout-CTfRXQoz.cjs → layout-VmxXuGGp.cjs} +1 -1
- package/dist/{layout-CTfRXQoz.cjs.map → layout-VmxXuGGp.cjs.map} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +2 -3
- package/dist/{lazy-D6R5N5v4.js.map → lazy-B0ia54tT.js.map} +1 -1
- package/dist/{lazy-BDNnH_r7.cjs.map → lazy-Dq9mRRjT.cjs.map} +1 -1
- package/dist/{lightbox-CY52Z_ig.js → lightbox-IleIcq19.js} +13 -12
- package/dist/lightbox-IleIcq19.js.map +1 -0
- package/dist/lightbox-m5FLmYlv.cjs +202 -0
- package/dist/lightbox-m5FLmYlv.cjs.map +1 -0
- package/dist/lightbox.cjs +1 -1
- package/dist/lightbox.js +1 -1
- package/dist/{list-D7wUxu1C.js → list-BlXJlm16.js} +26 -21
- package/dist/list-BlXJlm16.js.map +1 -0
- package/dist/list-C-b9p1yi.cjs +40 -0
- package/dist/list-C-b9p1yi.cjs.map +1 -0
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{magnetic-CVXEkYTA.cjs → magnetic-BH0TsofV.cjs} +1 -1
- package/dist/{magnetic-CVXEkYTA.cjs.map → magnetic-BH0TsofV.cjs.map} +1 -1
- package/dist/{magnetic-BhXebqF3.js → magnetic-BZGFxAWG.js} +2 -2
- package/dist/{magnetic-BhXebqF3.js.map → magnetic-BZGFxAWG.js.map} +1 -1
- package/dist/{mailbox-DLiBGJhY.cjs → mailbox-B0hZLpF1.cjs} +64 -66
- package/dist/mailbox-B0hZLpF1.cjs.map +1 -0
- package/dist/{mailbox--EN-JhjV.js → mailbox-DAmejcKa.js} +137 -126
- package/dist/mailbox-DAmejcKa.js.map +1 -0
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-B0S_q3ma.js → map-BoIu47qU.js} +11 -9
- package/dist/map-BoIu47qU.js.map +1 -0
- package/dist/map-CZ0816EI.cjs +80 -0
- package/dist/map-CZ0816EI.cjs.map +1 -0
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{menu-3edZGQ1x.cjs → menu-BFHBnp5M.cjs} +5 -5
- package/dist/menu-BFHBnp5M.cjs.map +1 -0
- package/dist/{menu-COeFpb6n.js → menu-BV9_8ys8.js} +15 -10
- package/dist/menu-BV9_8ys8.js.map +1 -0
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/mixins-BIXF7xkF.cjs +298 -0
- package/dist/mixins-BIXF7xkF.cjs.map +1 -0
- package/dist/mixins-CL1krSOE.js +627 -0
- package/dist/mixins-CL1krSOE.js.map +1 -0
- package/dist/mixins.cjs +1 -1
- package/dist/mixins.js +2 -87
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +2 -2
- package/dist/navigation-bar.cjs +1 -1
- package/dist/navigation-bar.js +1 -1
- package/dist/navigation-rail.cjs +3 -3
- package/dist/navigation-rail.cjs.map +1 -1
- package/dist/navigation-rail.js +15 -16
- package/dist/navigation-rail.js.map +1 -1
- package/dist/notification-CigTy3ia.cjs +23 -0
- package/dist/notification-CigTy3ia.cjs.map +1 -0
- package/dist/{notification-CC-TFN5v.js → notification-Dzm6zWxX.js} +40 -38
- package/dist/notification-Dzm6zWxX.js.map +1 -0
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +1 -1
- package/dist/option-BfvzzkzM.cjs +43 -0
- package/dist/option-BfvzzkzM.cjs.map +1 -0
- package/dist/{option-BwAF4nAw.js → option-Dyb0Q45u.js} +9 -7
- package/dist/option-Dyb0Q45u.js.map +1 -0
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{overlay-stack-7bs4ZNnh.cjs → overlay-stack-BprhAE9a.cjs} +1 -1
- package/dist/{overlay-stack-7bs4ZNnh.cjs.map → overlay-stack-BprhAE9a.cjs.map} +1 -1
- package/dist/{overlay-stack-DXPYHPhk.js → overlay-stack-CAQno0CK.js} +1 -1
- package/dist/{overlay-stack-DXPYHPhk.js.map → overlay-stack-CAQno0CK.js.map} +1 -1
- package/dist/overlay.cjs +43 -45
- package/dist/overlay.cjs.map +1 -1
- package/dist/overlay.js +684 -268
- package/dist/overlay.js.map +1 -1
- package/dist/page.cjs +3 -3
- package/dist/page.cjs.map +1 -1
- package/dist/page.js +15 -13
- package/dist/page.js.map +1 -1
- package/dist/payment-card-form-CQ6sLlrh.cjs +73 -0
- package/dist/{components-DkmEgyAc.cjs.map → payment-card-form-CQ6sLlrh.cjs.map} +1 -1
- package/dist/{components-DZgJWHdZ.js → payment-card-form-D9N2Q0wM.js} +21 -22
- package/dist/{components-DZgJWHdZ.js.map → payment-card-form-D9N2Q0wM.js.map} +1 -1
- package/dist/payment-card-form.cjs +1 -0
- package/dist/payment-card-form.js +2 -0
- package/dist/{progress-Yz6EMNSu.cjs → progress-Dyri7dc2.cjs} +3 -3
- package/dist/progress-Dyri7dc2.cjs.map +1 -0
- package/dist/{progress-Bk_Q1Shy.js → progress-LPwPfzBi.js} +16 -13
- package/dist/progress-LPwPfzBi.js.map +1 -0
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/qr-scanner.cjs +5 -5
- package/dist/qr-scanner.cjs.map +1 -1
- package/dist/qr-scanner.js +14 -15
- package/dist/qr-scanner.js.map +1 -1
- package/dist/radio-group-DK-T6jGy.cjs +40 -0
- package/dist/radio-group-DK-T6jGy.cjs.map +1 -0
- package/dist/{radio-group-BcdcjLNC.js → radio-group-DqP886F-.js} +14 -12
- package/dist/radio-group-DqP886F-.js.map +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/range.cjs +2 -2
- package/dist/range.cjs.map +1 -1
- package/dist/range.js +9 -7
- package/dist/range.js.map +1 -1
- package/dist/{reduced-motion-BZTLqAyl.js.map → reduced-motion-D-L12p7G.js.map} +1 -1
- package/dist/{reduced-motion-9RjNnhIg.cjs.map → reduced-motion-Ds-HjMzn.cjs.map} +1 -1
- package/dist/{rxjs-utils-DJbZRjp3.cjs.map → rxjs-utils-Csnks202.cjs.map} +1 -1
- package/dist/{rxjs-utils-CKTnEKUH.js.map → rxjs-utils-d-ivVN84.js.map} +1 -1
- package/dist/rxjs-utils.cjs +1 -1
- package/dist/rxjs-utils.js +1 -1
- package/dist/{scroll-DXQv0ejL.js → scroll-BD82ANjm.js} +9 -7
- package/dist/scroll-BD82ANjm.js.map +1 -0
- package/dist/scroll-yfNU0zNO.cjs +26 -0
- package/dist/scroll-yfNU0zNO.cjs.map +1 -0
- package/dist/search-BLCRsxIC.cjs +1 -0
- package/dist/{search-CwMav5QB.cjs.map → search-BLCRsxIC.cjs.map} +1 -1
- package/dist/{search-CvUZRLF1.js → search-BTz7-Rev.js} +1 -1
- package/dist/{search-CvUZRLF1.js.map → search-BTz7-Rev.js.map} +1 -1
- package/dist/{select-BV4lK2zy.cjs → select-BR3r3SZe.cjs} +6 -6
- package/dist/select-BR3r3SZe.cjs.map +1 -0
- package/dist/{select-DKyGWDsG.js → select-GONAphZI.js} +23 -20
- package/dist/select-GONAphZI.js.map +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-C3TLKItO.js → sheet-C4sAGqTf.js} +22 -20
- package/dist/sheet-C4sAGqTf.js.map +1 -0
- package/dist/sheet-D9pZMrzs.cjs +35 -0
- package/dist/sheet-D9pZMrzs.cjs.map +1 -0
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +2 -2
- package/dist/{sheet.service-Dlv20Zfc.js → sheet.service-B7h_-e-q.js} +3 -3
- package/dist/{sheet.service-Dlv20Zfc.js.map → sheet.service-B7h_-e-q.js.map} +1 -1
- package/dist/sheet.service-C1J0-i4d.cjs +1 -0
- package/dist/{sheet.service-RcDBwHmv.cjs.map → sheet.service-C1J0-i4d.cjs.map} +1 -1
- package/dist/skeleton.cjs +2 -2
- package/dist/skeleton.cjs.map +1 -1
- package/dist/skeleton.js +9 -7
- package/dist/skeleton.js.map +1 -1
- package/dist/skills/INDEX.md +1 -1
- package/dist/skills/SKILL.md +17 -5
- package/dist/skills/mixins.md +78 -20
- package/dist/skills/schmancy/INDEX.md +1 -1
- package/dist/skills/schmancy/SKILL.md +17 -5
- package/dist/skills/schmancy/mixins.md +78 -20
- package/dist/skills/schmancy/state.md +501 -0
- package/dist/skills/schmancy/theme.md +15 -0
- package/dist/skills/schmancy/timeline-tile.md +95 -0
- package/dist/skills/state.md +501 -0
- package/dist/skills/theme.md +15 -0
- package/dist/skills/timeline-tile.md +95 -0
- package/dist/slider.cjs +5 -5
- package/dist/slider.cjs.map +1 -1
- package/dist/slider.js +18 -13
- package/dist/slider.js.map +1 -1
- package/dist/{sound.service-DWZe6swU.js → sound.service-Ba_HNBLD.js} +3 -3
- package/dist/sound.service-Ba_HNBLD.js.map +1 -0
- package/dist/sound.service-CvdB2yUJ.cjs +1 -0
- package/dist/sound.service-CvdB2yUJ.cjs.map +1 -0
- package/dist/{splash-screen-DbI5RgBf.js → splash-screen-BGMZmQRT.js} +12 -9
- package/dist/splash-screen-BGMZmQRT.js.map +1 -0
- package/dist/splash-screen-DqULOTZ0.cjs +41 -0
- package/dist/splash-screen-DqULOTZ0.cjs.map +1 -0
- package/dist/splash-screen.cjs +1 -1
- package/dist/splash-screen.js +1 -1
- package/dist/{src-00DfxCJq.js → src-CHM4hrEr.js} +299 -351
- package/dist/src-CHM4hrEr.js.map +1 -0
- package/dist/src-DzFcGdcn.cjs +263 -0
- package/dist/src-DzFcGdcn.cjs.map +1 -0
- package/dist/state-BAW3C11I.cjs +1 -0
- package/dist/state-BAW3C11I.cjs.map +1 -0
- package/dist/state-ClRXrqDA.js +846 -0
- package/dist/state-ClRXrqDA.js.map +1 -0
- package/dist/state.cjs +1 -0
- package/dist/state.js +3 -0
- package/dist/steps.cjs +10 -10
- package/dist/steps.cjs.map +1 -1
- package/dist/steps.js +29 -24
- package/dist/steps.js.map +1 -1
- package/dist/surface-BHJgIDz9.js +24 -0
- package/dist/surface-BHJgIDz9.js.map +1 -0
- package/dist/surface-DW78bc8W.cjs +7 -0
- package/dist/surface-DW78bc8W.cjs.map +1 -0
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/switch.cjs +2 -2
- package/dist/switch.cjs.map +1 -1
- package/dist/switch.js +7 -5
- package/dist/switch.js.map +1 -1
- package/dist/table.cjs +72 -1
- package/dist/table.cjs.map +1 -0
- package/dist/table.js +174 -2
- package/dist/table.js.map +1 -0
- package/dist/{tabs-Ce55RbwF.js → tabs-BCRVyQU1.js} +22 -22
- package/dist/tabs-BCRVyQU1.js.map +1 -0
- package/dist/tabs-EIEhkEUb.cjs +31 -0
- package/dist/tabs-EIEhkEUb.cjs.map +1 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +2 -2
- package/dist/{textarea-DjN1D9u0.js → textarea-DApOhSAL.js} +30 -28
- package/dist/textarea-DApOhSAL.js.map +1 -0
- package/dist/textarea-zxNlRLVm.cjs +39 -0
- package/dist/textarea-zxNlRLVm.cjs.map +1 -0
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-pbxlt72h.js → theme-BCUjQH6-.js} +45 -41
- package/dist/{theme-pbxlt72h.js.map → theme-BCUjQH6-.js.map} +1 -1
- package/dist/theme-Z43TLE61.cjs +181 -0
- package/dist/{theme-B-IJ2r7Q.cjs.map → theme-Z43TLE61.cjs.map} +1 -1
- package/dist/theme-button-Czsdp3o1.cjs +8 -0
- package/dist/theme-button-Czsdp3o1.cjs.map +1 -0
- package/dist/{theme-button-CEMeAUOL.js → theme-button-DdSbcivT.js} +3 -4
- package/dist/theme-button-DdSbcivT.js.map +1 -0
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.events-NuihzD_p.js.map → theme.events-Cv7N4Toe.js.map} +1 -1
- package/dist/{theme.events-DakXxZeP.cjs.map → theme.events-DM4H5F2d.cjs.map} +1 -1
- package/dist/{theme.interface-DTwkuAKJ.cjs.map → theme.interface-D9l33b-M.cjs.map} +1 -1
- package/dist/{theme.interface-Buged9Cg.js.map → theme.interface-DnVNre4O.js.map} +1 -1
- package/dist/theme.js +5 -5
- package/dist/{theme.service-cOfPrtfe.js → theme.service-9clsqyee.js} +4 -4
- package/dist/theme.service-9clsqyee.js.map +1 -0
- package/dist/theme.service-CP71ojp6.cjs +1 -0
- package/dist/theme.service-CP71ojp6.cjs.map +1 -0
- package/dist/timeline.cjs +277 -0
- package/dist/timeline.cjs.map +1 -0
- package/dist/timeline.js +326 -0
- package/dist/timeline.js.map +1 -0
- package/dist/tree.cjs +2 -2
- package/dist/tree.cjs.map +1 -1
- package/dist/tree.js +15 -13
- package/dist/tree.js.map +1 -1
- package/dist/typewriter.cjs +10 -123
- package/dist/typewriter.cjs.map +1 -1
- package/dist/typewriter.js +90 -212
- package/dist/typewriter.js.map +1 -1
- package/dist/typography.cjs +3 -3
- package/dist/typography.cjs.map +1 -1
- package/dist/typography.js +18 -112
- package/dist/typography.js.map +1 -1
- package/dist/utils-Cr-YO4Np.cjs +1 -0
- package/dist/utils-Cr-YO4Np.cjs.map +1 -0
- package/dist/{utils-Bp2jhyZc.js → utils-hp-DnFf5.js} +16 -6
- package/dist/utils-hp-DnFf5.js.map +1 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +4 -5
- package/dist/visually-hidden.cjs +2 -2
- package/dist/visually-hidden.cjs.map +1 -1
- package/dist/visually-hidden.js +7 -5
- package/dist/visually-hidden.js.map +1 -1
- package/dist/window-DTgKAQgz.cjs +59 -0
- package/dist/window-DTgKAQgz.cjs.map +1 -0
- package/dist/{window-CrjZdf7Y.js → window-moDKyGLZ.js} +28 -30
- package/dist/window-moDKyGLZ.js.map +1 -0
- package/dist/window.cjs +1 -1
- package/dist/window.js +1 -1
- package/package.json +14 -2
- package/plugins/vite-plugin-schmancy-auto-import.ts +143 -0
- package/plugins/vite-plugin-schmancy-manifest.ts +438 -0
- package/skills/schmancy/INDEX.md +1 -1
- package/skills/schmancy/SKILL.md +17 -5
- package/skills/schmancy/mixins.md +78 -20
- package/skills/schmancy/state.md +501 -0
- package/skills/schmancy/theme.md +15 -0
- package/skills/schmancy/timeline-tile.md +95 -0
- package/src/agent/agent-bundle.test.ts +0 -49
- package/src/agent/agent-entry.ts +4 -3
- package/src/agent/helpers.ts +1 -95
- package/src/agent/schmancy-skill.ts +2 -5
- package/src/agent/virtual-manifest.d.ts +1 -12
- package/src/area/area.component.ts +7 -19
- package/src/area/area.service.test.ts +4 -5
- package/src/area/area.service.ts +4 -3
- package/src/area/route.component.ts +17 -4
- package/src/area/utils.ts +3 -2
- package/src/audio/sound.service.ts +7 -11
- package/src/autocomplete/autocomplete.ts +18 -21
- package/src/{avatar.ts → avatar/avatar.ts} +2 -2
- package/src/avatar/index.ts +1 -0
- package/src/badge/badge.ts +4 -3
- package/src/boat/boat.ts +28 -36
- package/src/breadcrumb/breadcrumb.ts +11 -19
- package/src/busy/busy.ts +4 -3
- package/src/busy/spinner.ts +4 -3
- package/src/button/button.ts +6 -11
- package/src/button/icon-button.ts +8 -12
- package/src/card/actions.ts +4 -12
- package/src/card/card.ts +5 -23
- package/src/card/content.ts +4 -12
- package/src/card/media.ts +4 -9
- package/src/charts/area-chart.ts +7 -4
- package/src/charts/pills.ts +6 -4
- package/src/checkbox/checkbox.test.ts +2 -2
- package/src/checkbox/checkbox.ts +3 -9
- package/src/chips/assist-chip.ts +6 -14
- package/src/chips/chips.ts +7 -21
- package/src/chips/filter-chip.ts +4 -3
- package/src/chips/input-chip.ts +10 -9
- package/src/chips/suggestion-chip.ts +10 -12
- package/src/code-highlight/code-highlight.ts +28 -59
- package/src/code-highlight/code-preview.ts +11 -9
- package/src/connectivity/connectivity-status.ts +4 -3
- package/src/content-drawer/drawer.ts +5 -3
- package/src/content-drawer/main.ts +5 -3
- package/src/content-drawer/sheet.ts +6 -4
- package/src/date-range/date-range-dialog.ts +2 -2
- package/src/date-range/date-range.ts +3 -2
- package/src/delay/delay.ts +2 -2
- package/src/details/details.ts +4 -17
- package/src/dialog/dialog-service.ts +2 -0
- package/src/dialog/dialog.component.ts +9 -9
- package/src/directives/drag.ts +1 -9
- package/src/directives/index.ts +0 -1
- package/src/discovery/discovery.service.ts +1 -1
- package/src/divider/divider.ts +5 -14
- package/src/dropdown/dropdown-component.ts +5 -16
- package/src/dropdown/dropdown-content.ts +7 -14
- package/src/expand/expand-root.component.ts +5 -15
- package/src/expand/expand.component.ts +4 -17
- package/src/extra/countries/countries.ts +5 -13
- package/src/extra/timezone/timezone.ts +7 -12
- package/src/form/form.test.ts +2 -2
- package/src/form/form.ts +2 -9
- package/src/icons/icon.ts +4 -3
- package/src/iframe/iframe.ts +13 -4
- package/src/index.ts +3 -3
- package/src/input/input.ts +4 -11
- package/src/json/json.ts +4 -3
- package/src/kbd/kbd.ts +4 -3
- package/src/layout/index.ts +1 -5
- package/src/layout/scroll/scroll.ts +5 -8
- package/src/lightbox/flip-directive.ts +1 -1
- package/src/lightbox/lightbox.ts +5 -14
- package/src/list/list-item.ts +4 -13
- package/src/list/list.ts +12 -10
- package/src/mailbox/email-editor.ts +17 -11
- package/src/mailbox/email-layout-selector.ts +2 -2
- package/src/mailbox/email-recipients.ts +13 -8
- package/src/mailbox/email-template-picker.ts +6 -5
- package/src/mailbox/email-viewer.ts +5 -3
- package/src/mailbox/mailbox.ts +6 -5
- package/src/map/map.ts +8 -6
- package/src/menu/menu-item.ts +5 -16
- package/src/menu/menu.ts +27 -13
- package/src/nav-drawer/appbar.ts +4 -14
- package/src/nav-drawer/content.ts +5 -14
- package/src/nav-drawer/drawer.ts +5 -18
- package/src/nav-drawer/navbar.ts +3 -17
- package/src/navigation-bar/navigation-bar-item.ts +8 -6
- package/src/navigation-bar/navigation-bar.ts +19 -19
- package/src/navigation-rail/navigation-rail-item.ts +9 -5
- package/src/navigation-rail/navigation-rail.ts +10 -14
- package/src/notification/notification.ts +6 -3
- package/src/option/option.ts +4 -3
- package/src/overlay/overlay.animations.ts +196 -25
- package/src/overlay/overlay.component.ts +397 -190
- package/src/overlay/overlay.confirm-body.ts +21 -7
- package/src/overlay/overlay.gestures.ts +72 -36
- package/src/overlay/overlay.layout.ts +103 -1
- package/src/overlay/overlay.positioning.ts +301 -0
- package/src/overlay/overlay.service.ts +81 -3
- package/src/overlay/overlay.stack.ts +8 -4
- package/src/overlay/overlay.types.ts +83 -5
- package/src/page/page.ts +16 -11
- package/src/payment-card-form/index.ts +1 -0
- package/src/{components/form-elements → payment-card-form}/payment-card-form.ts +23 -23
- package/src/progress/progress.ts +5 -3
- package/src/qr-scanner/qr-scanner.ts +7 -30
- package/src/radio-group/radio-button.ts +3 -13
- package/src/radio-group/radio-group.ts +5 -22
- package/src/range/range.ts +4 -3
- package/src/rxjs-utils/waitForElements.ts +1 -1
- package/src/rxjs-utils/waitForElementsAll.ts +1 -1
- package/src/select/select.ts +10 -18
- package/src/sheet/hook.ts +1 -1
- package/src/sheet/sheet.ts +5 -20
- package/src/skeleton/skeleton.ts +4 -3
- package/src/slider/slide.ts +5 -3
- package/src/slider/slider.ts +5 -3
- package/src/splash-screen/splash-screen.ts +5 -3
- package/src/state/CLAUDE.md +161 -0
- package/src/state/MIGRATION.md +258 -0
- package/src/state/SCOPING.md +134 -0
- package/src/state/active-host.ts +156 -0
- package/src/state/index.ts +877 -0
- package/src/state/persist.ts +208 -0
- package/src/state/schmancy-context.ts +84 -0
- package/src/state/state.test-d.ts +227 -0
- package/src/state/state.test.ts +820 -0
- package/src/steps/schmancy-step.ts +5 -3
- package/src/steps/schmancy-steps-container.ts +5 -3
- package/src/surface/surface.ts +14 -9
- package/src/switch/switch.test.ts +2 -2
- package/src/switch/switch.ts +8 -10
- package/src/table/row.ts +7 -4
- package/src/table/table.ts +17 -14
- package/src/tabs/index.ts +0 -2
- package/src/tabs/tab.ts +2 -2
- package/src/tabs/tabs-group.ts +7 -4
- package/src/teleport/teleport.component.ts +5 -3
- package/src/textarea/textarea.ts +6 -12
- package/src/theme/theme-audio-player.ts +7 -5
- package/src/theme/theme-controller.ts +2 -2
- package/src/theme/theme.component.ts +22 -15
- package/src/theme/theme.service.ts +6 -7
- package/src/theme/theme.style.css +1 -0
- package/src/theme-button/theme-button.ts +2 -2
- package/src/timeline/index.ts +1 -0
- package/src/timeline/timeline-tile.ts +431 -0
- package/src/tree/tree.ts +4 -16
- package/src/typewriter/index.ts +1 -1
- package/src/typography/typography.ts +5 -98
- package/src/utils/intersection.ts +5 -1
- package/src/utils/overlay-stack.ts +1 -1
- package/src/utils/search.ts +2 -2
- package/src/visually-hidden/visually-hidden.ts +4 -3
- package/src/window/window-position.ts +3 -6
- package/src/window/window.ts +9 -7
- package/types/mixins/SchmancyElement.d.ts +49 -0
- package/types/mixins/formField.mixin.d.ts +4 -2
- package/types/mixins/index.d.ts +1 -0
- package/types/mixins/litElement.mixin.d.ts +11 -0
- package/types/src/agent/agent-entry.d.ts +1 -1
- package/types/src/agent/helpers.d.ts +0 -26
- package/types/src/agent/schmancy-skill.d.ts +3 -5
- package/types/src/area/area.component.d.ts +3 -17
- package/types/src/area/route.component.d.ts +14 -4
- package/types/src/autocomplete/autocomplete.d.ts +4 -15
- package/types/src/{avatar.d.ts → avatar/avatar.d.ts} +2 -3
- package/types/src/avatar/index.d.ts +1 -0
- package/types/src/badge/badge.d.ts +3 -3
- package/types/src/boat/boat.d.ts +3 -2
- package/types/src/breadcrumb/breadcrumb.d.ts +9 -19
- package/types/src/busy/busy.d.ts +3 -3
- package/types/src/busy/spinner.d.ts +3 -3
- package/types/src/button/button.d.ts +4 -10
- package/types/src/button/icon-button.d.ts +5 -11
- package/types/src/card/actions.d.ts +3 -12
- package/types/src/card/card.d.ts +4 -24
- package/types/src/card/content.d.ts +3 -12
- package/types/src/card/media.d.ts +3 -9
- package/types/src/charts/area-chart.d.ts +3 -3
- package/types/src/charts/pills.d.ts +3 -3
- package/types/src/checkbox/checkbox.d.ts +3 -10
- package/types/src/chips/assist-chip.d.ts +5 -15
- package/types/src/chips/chips.d.ts +3 -17
- package/types/src/chips/filter-chip.d.ts +3 -3
- package/types/src/chips/input-chip.d.ts +9 -10
- package/types/src/chips/suggestion-chip.d.ts +9 -13
- package/types/src/code-highlight/code-highlight.d.ts +4 -11
- package/types/src/code-highlight/code-preview.d.ts +3 -3
- package/types/src/connectivity/connectivity-status.d.ts +3 -3
- package/types/src/content-drawer/drawer.d.ts +4 -4
- package/types/src/content-drawer/main.d.ts +3 -3
- package/types/src/content-drawer/sheet.d.ts +4 -4
- package/types/src/date-range/date-range-dialog.d.ts +2 -3
- package/types/src/date-range/date-range.d.ts +2 -3
- package/types/src/delay/delay.d.ts +2 -3
- package/types/src/details/details.d.ts +3 -14
- package/types/src/dialog/dialog.component.d.ts +9 -9
- package/types/src/directives/drag.d.ts +1 -3
- package/types/src/directives/index.d.ts +0 -1
- package/types/src/divider/divider.d.ts +3 -14
- package/types/src/dropdown/dropdown-component.d.ts +4 -17
- package/types/src/dropdown/dropdown-content.d.ts +6 -14
- package/types/src/expand/expand-root.component.d.ts +4 -14
- package/types/src/expand/expand.component.d.ts +3 -17
- package/types/src/extra/countries/countries.d.ts +3 -13
- package/types/src/extra/timezone/timezone.d.ts +4 -11
- package/types/src/form/form.d.ts +2 -9
- package/types/src/icons/icon.d.ts +3 -3
- package/types/src/iframe/iframe.d.ts +5 -3
- package/types/src/index.d.ts +3 -3
- package/types/src/input/input.d.ts +4 -11
- package/types/src/json/json.d.ts +3 -3
- package/types/src/kbd/kbd.d.ts +3 -3
- package/types/src/layout/index.d.ts +0 -4
- package/types/src/layout/scroll/scroll.d.ts +4 -8
- package/types/src/lightbox/lightbox.d.ts +3 -14
- package/types/src/list/list-item.d.ts +3 -13
- package/types/src/list/list.d.ts +11 -10
- package/types/src/mailbox/email-editor.d.ts +3 -3
- package/types/src/mailbox/email-layout-selector.d.ts +2 -3
- package/types/src/mailbox/email-recipients.d.ts +7 -3
- package/types/src/mailbox/email-template-picker.d.ts +4 -4
- package/types/src/mailbox/email-viewer.d.ts +3 -3
- package/types/src/mailbox/mailbox.d.ts +4 -4
- package/types/src/map/map.d.ts +4 -3
- package/types/src/menu/menu-item.d.ts +3 -16
- package/types/src/menu/menu.d.ts +25 -13
- package/types/src/nav-drawer/appbar.d.ts +3 -14
- package/types/src/nav-drawer/content.d.ts +3 -14
- package/types/src/nav-drawer/drawer.d.ts +3 -18
- package/types/src/nav-drawer/navbar.d.ts +3 -18
- package/types/src/navigation-bar/navigation-bar-item.d.ts +7 -6
- package/types/src/navigation-bar/navigation-bar.d.ts +13 -7
- package/types/src/navigation-rail/navigation-rail-item.d.ts +9 -6
- package/types/src/navigation-rail/navigation-rail.d.ts +10 -15
- package/types/src/notification/notification.d.ts +3 -3
- package/types/src/option/option.d.ts +3 -3
- package/types/src/overlay/overlay.animations.d.ts +54 -5
- package/types/src/overlay/overlay.component.d.ts +39 -15
- package/types/src/overlay/overlay.confirm-body.d.ts +4 -4
- package/types/src/overlay/overlay.gestures.d.ts +26 -17
- package/types/src/overlay/overlay.layout.d.ts +27 -1
- package/types/src/overlay/overlay.positioning.d.ts +87 -0
- package/types/src/overlay/overlay.types.d.ts +59 -5
- package/types/src/page/page.d.ts +14 -11
- package/types/src/{components/form-elements → payment-card-form}/payment-card-form.d.ts +2 -3
- package/types/src/progress/progress.d.ts +3 -3
- package/types/src/qr-scanner/qr-scanner.d.ts +3 -3
- package/types/src/radio-group/radio-button.d.ts +3 -12
- package/types/src/radio-group/radio-group.d.ts +4 -20
- package/types/src/range/range.d.ts +3 -3
- package/types/src/rxjs-utils/waitForElements.d.ts +1 -1
- package/types/src/rxjs-utils/waitForElementsAll.d.ts +1 -1
- package/types/src/select/select.d.ts +4 -15
- package/types/src/sheet/sheet.d.ts +3 -20
- package/types/src/skeleton/skeleton.d.ts +3 -3
- package/types/src/slider/slide.d.ts +3 -2
- package/types/src/slider/slider.d.ts +3 -3
- package/types/src/splash-screen/splash-screen.d.ts +3 -3
- package/types/src/state/active-host.d.ts +18 -0
- package/types/src/state/index.d.ts +145 -0
- package/types/src/state/persist.d.ts +14 -0
- package/types/src/state/schmancy-context.d.ts +31 -0
- package/types/src/state/state.test-d.d.ts +131 -0
- package/types/src/state/state.test.d.ts +1 -0
- package/types/src/steps/schmancy-step.d.ts +3 -3
- package/types/src/steps/schmancy-steps-container.d.ts +3 -3
- package/types/src/surface/surface.d.ts +13 -5
- package/types/src/switch/switch.d.ts +7 -11
- package/types/src/table/row.d.ts +2 -3
- package/types/src/table/table.d.ts +4 -11
- package/types/src/tabs/index.d.ts +0 -2
- package/types/src/tabs/tab.d.ts +2 -3
- package/types/src/tabs/tabs-group.d.ts +3 -3
- package/types/src/teleport/teleport.component.d.ts +3 -3
- package/types/src/textarea/textarea.d.ts +5 -12
- package/types/src/theme/theme-audio-player.d.ts +3 -3
- package/types/src/theme/theme-controller.d.ts +2 -2
- package/types/src/theme/theme.component.d.ts +18 -13
- package/types/src/theme-button/theme-button.d.ts +2 -3
- package/types/src/timeline/index.d.ts +1 -0
- package/types/src/timeline/timeline-tile.d.ts +44 -0
- package/types/src/tree/tree.d.ts +3 -16
- package/types/src/typewriter/index.d.ts +1 -1
- package/types/src/typography/typography.d.ts +3 -36
- package/types/src/visually-hidden/visually-hidden.d.ts +3 -3
- package/types/src/window/window.d.ts +3 -3
- package/dist/agent/index.es-Dymj8REP.js +0 -489
- package/dist/agent/index.es-Dymj8REP.js.map +0 -1
- package/dist/area-BGBCMC79.js.map +0 -1
- package/dist/area-D7l9KR2N.cjs +0 -12
- package/dist/area-D7l9KR2N.cjs.map +0 -1
- package/dist/autocomplete-BPD5uraA.cjs +0 -115
- package/dist/autocomplete-BPD5uraA.cjs.map +0 -1
- package/dist/autocomplete-C2P0Soht.js.map +0 -1
- package/dist/boat-BkIO-0No.cjs +0 -80
- package/dist/boat-BkIO-0No.cjs.map +0 -1
- package/dist/boat-DXZ0k7oa.js.map +0 -1
- package/dist/busy-DGYhpTnO.cjs.map +0 -1
- package/dist/busy-iRjq6Nvd.js.map +0 -1
- package/dist/card-DjYnCckw.cjs.map +0 -1
- package/dist/card-wUTjx0EC.js.map +0 -1
- package/dist/checkbox-CiYEtw9F.cjs +0 -39
- package/dist/checkbox-CiYEtw9F.cjs.map +0 -1
- package/dist/checkbox-VBSenxgb.js.map +0 -1
- package/dist/chips-BDS9lkPa.js.map +0 -1
- package/dist/chips-D6ptH5re.cjs.map +0 -1
- package/dist/code-highlight-Bi91XHJN.js.map +0 -1
- package/dist/code-highlight-BzRmBZzz.cjs.map +0 -1
- package/dist/components-DkmEgyAc.cjs +0 -73
- package/dist/components.cjs +0 -1
- package/dist/components.js +0 -2
- package/dist/context-BerzpUhI.js +0 -3
- package/dist/context-C6dHUHhi.cjs +0 -1
- package/dist/date-range-BmFxTXiU.cjs +0 -131
- package/dist/date-range-BmFxTXiU.cjs.map +0 -1
- package/dist/date-range-ClTMg1AB.js.map +0 -1
- package/dist/date-range-inline-B9Dp2z6C.cjs +0 -43
- package/dist/delay-BHODnTg-.cjs +0 -9
- package/dist/delay-BHODnTg-.cjs.map +0 -1
- package/dist/delay-Dlk0A3he.js +0 -347
- package/dist/delay-Dlk0A3he.js.map +0 -1
- package/dist/details-CPjlqQD4.js.map +0 -1
- package/dist/details-Cz9ok9si.cjs.map +0 -1
- package/dist/dialog-service-CzDO08Gy.cjs.map +0 -1
- package/dist/dialog-service-DH-tjPuE.js.map +0 -1
- package/dist/divider-CILo3_vi.cjs.map +0 -1
- package/dist/divider-ghgyw5CU.js.map +0 -1
- package/dist/expand-CbjBr_Ds.js.map +0 -1
- package/dist/expand-r3OrSoDk.cjs +0 -141
- package/dist/expand-r3OrSoDk.cjs.map +0 -1
- package/dist/extra-BZeZOMBI.cjs.map +0 -1
- package/dist/extra-DK9MQtPJ.js.map +0 -1
- package/dist/float-CuZ8LOgB.cjs +0 -1
- package/dist/flow-BPDtbhLe.js +0 -386
- package/dist/flow-BPDtbhLe.js.map +0 -1
- package/dist/flow-Dn9AZktE.cjs +0 -1
- package/dist/flow-Dn9AZktE.cjs.map +0 -1
- package/dist/form-rCZqoAoK.js.map +0 -1
- package/dist/form-wI58M85H.cjs.map +0 -1
- package/dist/handover/agent-runtime-v2-loopback.md +0 -71
- package/dist/handover/claude-design-v2-paste.md +0 -42
- package/dist/icons-Drq4kKy2.js.map +0 -1
- package/dist/icons-DtdhaZdc.cjs +0 -52
- package/dist/icons-DtdhaZdc.cjs.map +0 -1
- package/dist/iframe-BkwwWIbQ.cjs +0 -24
- package/dist/iframe-BkwwWIbQ.cjs.map +0 -1
- package/dist/iframe-BmyHW8km.js.map +0 -1
- package/dist/index.es-BgmFX1JM.cjs +0 -1
- package/dist/index.es-BgmFX1JM.cjs.map +0 -1
- package/dist/index.es-CLyb_o3Y.js +0 -489
- package/dist/index.es-CLyb_o3Y.js.map +0 -1
- package/dist/input-BGNZlfL8.cjs.map +0 -1
- package/dist/input-Bc3bVISm.js.map +0 -1
- package/dist/input-chip-BQrjpjaQ.js.map +0 -1
- package/dist/input-chip-DN-cwf11.cjs.map +0 -1
- package/dist/intersection-BrXp4YTO.js +0 -12
- package/dist/intersection-BrXp4YTO.js.map +0 -1
- package/dist/intersection-DqBqnpgh.cjs +0 -1
- package/dist/intersection-DqBqnpgh.cjs.map +0 -1
- package/dist/layout-7eyMBmZk.cjs +0 -17
- package/dist/layout-7eyMBmZk.cjs.map +0 -1
- package/dist/layout-Ox6nJkzC.js +0 -268
- package/dist/layout-Ox6nJkzC.js.map +0 -1
- package/dist/lightbox-CY52Z_ig.js.map +0 -1
- package/dist/lightbox-H8Uq3AXy.cjs +0 -202
- package/dist/lightbox-H8Uq3AXy.cjs.map +0 -1
- package/dist/list-BGjVo6zb.cjs +0 -40
- package/dist/list-BGjVo6zb.cjs.map +0 -1
- package/dist/list-D7wUxu1C.js.map +0 -1
- package/dist/litElement.mixin-CszkJuNl.js +0 -12
- package/dist/litElement.mixin-CszkJuNl.js.map +0 -1
- package/dist/litElement.mixin-qh5-IIUq.cjs +0 -1
- package/dist/litElement.mixin-qh5-IIUq.cjs.map +0 -1
- package/dist/mailbox--EN-JhjV.js.map +0 -1
- package/dist/mailbox-DLiBGJhY.cjs.map +0 -1
- package/dist/map-B0S_q3ma.js.map +0 -1
- package/dist/map-EDQN0I6e.cjs +0 -80
- package/dist/map-EDQN0I6e.cjs.map +0 -1
- package/dist/menu-3edZGQ1x.cjs.map +0 -1
- package/dist/menu-COeFpb6n.js.map +0 -1
- package/dist/metric.cjs +0 -69
- package/dist/metric.cjs.map +0 -1
- package/dist/metric.js +0 -93
- package/dist/metric.js.map +0 -1
- package/dist/mixins.cjs.map +0 -1
- package/dist/mixins.js.map +0 -1
- package/dist/notification-CC-TFN5v.js.map +0 -1
- package/dist/notification-P4c-kFdH.cjs +0 -23
- package/dist/notification-P4c-kFdH.cjs.map +0 -1
- package/dist/option-BwAF4nAw.js.map +0 -1
- package/dist/option-Cu0ertuF.cjs +0 -43
- package/dist/option-Cu0ertuF.cjs.map +0 -1
- package/dist/progress-Bk_Q1Shy.js.map +0 -1
- package/dist/progress-Yz6EMNSu.cjs.map +0 -1
- package/dist/provide-CYgj58u_.cjs +0 -1
- package/dist/provide-CYgj58u_.cjs.map +0 -1
- package/dist/provide-ydIskwf2.js +0 -107
- package/dist/provide-ydIskwf2.js.map +0 -1
- package/dist/radio-group-BcdcjLNC.js.map +0 -1
- package/dist/radio-group-BpBz5tRA.cjs +0 -40
- package/dist/radio-group-BpBz5tRA.cjs.map +0 -1
- package/dist/scroll-DXQv0ejL.js.map +0 -1
- package/dist/scroll-DbZMTv0K.cjs +0 -26
- package/dist/scroll-DbZMTv0K.cjs.map +0 -1
- package/dist/search-CwMav5QB.cjs +0 -1
- package/dist/select-BV4lK2zy.cjs.map +0 -1
- package/dist/select-DKyGWDsG.js.map +0 -1
- package/dist/sheet-BAI_jH1t.cjs +0 -35
- package/dist/sheet-BAI_jH1t.cjs.map +0 -1
- package/dist/sheet-C3TLKItO.js.map +0 -1
- package/dist/sheet.service-RcDBwHmv.cjs +0 -1
- package/dist/skills/schmancy/store.md +0 -126
- package/dist/skills/store.md +0 -126
- package/dist/sound.service-BEN6Xjy_.cjs +0 -1
- package/dist/sound.service-BEN6Xjy_.cjs.map +0 -1
- package/dist/sound.service-DWZe6swU.js.map +0 -1
- package/dist/splash-screen-DbI5RgBf.js.map +0 -1
- package/dist/splash-screen-DoHRTHi8.cjs +0 -41
- package/dist/splash-screen-DoHRTHi8.cjs.map +0 -1
- package/dist/src-00DfxCJq.js.map +0 -1
- package/dist/src-C_JjQovE.cjs +0 -269
- package/dist/src-C_JjQovE.cjs.map +0 -1
- package/dist/store-CjFHCSDb.cjs +0 -1
- package/dist/store-CjFHCSDb.cjs.map +0 -1
- package/dist/store-CjzZDQt8.js +0 -1654
- package/dist/store-CjzZDQt8.js.map +0 -1
- package/dist/store.cjs +0 -1
- package/dist/store.js +0 -2
- package/dist/surface-D-GWBcsh.cjs +0 -7
- package/dist/surface-D-GWBcsh.cjs.map +0 -1
- package/dist/surface-D23JtxYP.js +0 -22
- package/dist/surface-D23JtxYP.js.map +0 -1
- package/dist/surface.mixin-DqMwoddO.js +0 -320
- package/dist/surface.mixin-DqMwoddO.js.map +0 -1
- package/dist/surface.mixin-DxOi-xo0.cjs +0 -297
- package/dist/surface.mixin-DxOi-xo0.cjs.map +0 -1
- package/dist/table-C7b73kdg.cjs +0 -63
- package/dist/table-C7b73kdg.cjs.map +0 -1
- package/dist/table-CTrhV9-k.js +0 -631
- package/dist/table-CTrhV9-k.js.map +0 -1
- package/dist/tabs-Ce55RbwF.js.map +0 -1
- package/dist/tabs-DAzB8O7w.cjs +0 -31
- package/dist/tabs-DAzB8O7w.cjs.map +0 -1
- package/dist/tailwind.mixin-DRI1oTYQ.cjs +0 -2
- package/dist/tailwind.mixin-DRI1oTYQ.cjs.map +0 -1
- package/dist/tailwind.mixin-mdQR3BEO.js +0 -219
- package/dist/tailwind.mixin-mdQR3BEO.js.map +0 -1
- package/dist/textarea-DjN1D9u0.js.map +0 -1
- package/dist/textarea-PuHxBvJA.cjs +0 -39
- package/dist/textarea-PuHxBvJA.cjs.map +0 -1
- package/dist/theme-B-IJ2r7Q.cjs +0 -181
- package/dist/theme-button-BSbYmS4p.cjs +0 -8
- package/dist/theme-button-BSbYmS4p.cjs.map +0 -1
- package/dist/theme-button-CEMeAUOL.js.map +0 -1
- package/dist/theme.service-DxJPUGlu.cjs +0 -1
- package/dist/theme.service-DxJPUGlu.cjs.map +0 -1
- package/dist/theme.service-cOfPrtfe.js.map +0 -1
- package/dist/tslib.es6-Cnt75pb6.cjs +0 -1
- package/dist/tslib.es6-Cnt75pb6.cjs.map +0 -1
- package/dist/tslib.es6-DMzzJKHV.js +0 -7
- package/dist/tslib.es6-DMzzJKHV.js.map +0 -1
- package/dist/utils-Bp2jhyZc.js.map +0 -1
- package/dist/utils-CBPQvxNW.cjs +0 -1
- package/dist/utils-CBPQvxNW.cjs.map +0 -1
- package/dist/window-CrjZdf7Y.js.map +0 -1
- package/dist/window-DTUARSrU.cjs +0 -59
- package/dist/window-DTUARSrU.cjs.map +0 -1
- package/skills/schmancy/store.md +0 -126
- package/src/components/form-elements/index.ts +0 -1
- package/src/components/index.ts +0 -1
- package/src/layout/flex/flex.scss +0 -4
- package/src/layout/flex/flex.ts +0 -74
- package/src/layout/flex/index.ts +0 -1
- package/src/layout/grid/.readme +0 -79
- package/src/layout/grid/grid.scss +0 -5
- package/src/layout/grid/grid.ts +0 -121
- package/src/layout/grid/index.ts +0 -1
- package/src/layout/layout.ts +0 -122
- package/src/layout/v2/flex.ts +0 -243
- package/src/layout/v2/index.ts +0 -1
- package/src/metric/index.ts +0 -1
- package/src/metric/metric.ts +0 -127
- package/src/store/context-array.ts +0 -358
- package/src/store/context-collection.ts +0 -218
- package/src/store/context-create.ts +0 -284
- package/src/store/context-object.ts +0 -298
- package/src/store/filter-directive.ts +0 -614
- package/src/store/index.ts +0 -10
- package/src/store/selector-hook.ts +0 -259
- package/src/store/selectors.ts +0 -289
- package/src/store/storage-manager.ts +0 -269
- package/src/store/store.class.ts +0 -239
- package/src/store/types.ts +0 -327
- package/src/tabs/tabs-compatibility.ts +0 -20
- package/src/typewriter/typewriter.ts +0 -410
- package/types/src/area/route.test.d.ts +0 -20
- package/types/src/button/button.test.d.ts +0 -1
- package/types/src/chips/chip.d.ts +0 -3
- package/types/src/components/index.d.ts +0 -1
- package/types/src/content-drawer/$sheet.d.ts +0 -14
- package/types/src/dialog/dailog.d.ts +0 -116
- package/types/src/dialog/dialog-content.d.ts +0 -17
- package/types/src/directives/guard.d.ts +0 -1
- package/types/src/directives/visibility.d.ts +0 -11
- package/types/src/form/form-v2.d.ts +0 -22
- package/types/src/input/input-v2.d.ts +0 -250
- package/types/src/layout/flex/flex.d.ts +0 -26
- package/types/src/layout/flex/index.d.ts +0 -1
- package/types/src/layout/grid/grid.d.ts +0 -39
- package/types/src/layout/grid/index.d.ts +0 -1
- package/types/src/layout/layout.d.ts +0 -59
- package/types/src/layout/v2/flex.d.ts +0 -65
- package/types/src/layout/v2/grid.d.ts +0 -51
- package/types/src/layout/v2/index.d.ts +0 -1
- package/types/src/lightbox/flip.directive.d.ts +0 -22
- package/types/src/metric/index.d.ts +0 -1
- package/types/src/metric/metric.d.ts +0 -39
- package/types/src/notification/outlet.d.ts +0 -10
- package/types/src/sheet/header.d.ts +0 -10
- package/types/src/store/context-array.d.ts +0 -83
- package/types/src/store/context-collection.d.ts +0 -74
- package/types/src/store/context-create.d.ts +0 -43
- package/types/src/store/context-object.d.ts +0 -46
- package/types/src/store/filter-directive.d.ts +0 -116
- package/types/src/store/immer-integration.d.ts +0 -54
- package/types/src/store/index.d.ts +0 -10
- package/types/src/store/selector-hook.d.ts +0 -46
- package/types/src/store/selectors.d.ts +0 -90
- package/types/src/store/storage-manager.d.ts +0 -48
- package/types/src/store/store.class.d.ts +0 -73
- package/types/src/store/types.d.ts +0 -241
- package/types/src/tabs/tabs-compatibility.d.ts +0 -13
- package/types/src/theme/theme.elevation.d.ts +0 -131
- package/types/src/theme/theme.motion.d.ts +0 -198
- package/types/src/theme/theme.shape.d.ts +0 -144
- package/types/src/theme/theme.state.d.ts +0 -546
- package/types/src/theme/theme.typography.d.ts +0 -74
- package/types/src/tooltip/tooltip.d.ts +0 -33
- package/types/src/typewriter/typewriter.d.ts +0 -94
- /package/dist/agent/{flow-CvG1fLW5.js → flow-CaPi2G8y.js} +0 -0
- /package/dist/agent/{vendor-material-color-DcL7ZPxx.js → vendor-material-color-Be96dpGE.js} +0 -0
- /package/dist/{animation-hXFClrIn.js → animation-BK-8BwY8.js} +0 -0
- /package/dist/{animation-CQRdLgzX.cjs → animation-CO_Csq84.cjs} +0 -0
- /package/dist/{decorate-D_utPUsC.js → decorate-23nYs4Le.js} +0 -0
- /package/dist/{decorate-F9CuyeHg.cjs → decorate-DpFmy0nm.cjs} +0 -0
- /package/dist/{hashContent-B2IntJQf.js → hashContent-1ARKIsx9.js} +0 -0
- /package/dist/{hashContent-CahnEuut.cjs → hashContent-Bp5S6T4U.cjs} +0 -0
- /package/dist/{lazy-D6R5N5v4.js → lazy-B0ia54tT.js} +0 -0
- /package/dist/{lazy-BDNnH_r7.cjs → lazy-Dq9mRRjT.cjs} +0 -0
- /package/dist/{reduced-motion-BZTLqAyl.js → reduced-motion-D-L12p7G.js} +0 -0
- /package/dist/{reduced-motion-9RjNnhIg.cjs → reduced-motion-Ds-HjMzn.cjs} +0 -0
- /package/dist/{rxjs-utils-DJbZRjp3.cjs → rxjs-utils-Csnks202.cjs} +0 -0
- /package/dist/{rxjs-utils-CKTnEKUH.js → rxjs-utils-d-ivVN84.js} +0 -0
- /package/dist/{theme.events-NuihzD_p.js → theme.events-Cv7N4Toe.js} +0 -0
- /package/dist/{theme.events-DakXxZeP.cjs → theme.events-DM4H5F2d.cjs} +0 -0
- /package/dist/{theme.interface-DTwkuAKJ.cjs → theme.interface-D9l33b-M.cjs} +0 -0
- /package/dist/{theme.interface-Buged9Cg.js → theme.interface-DnVNre4O.js} +0 -0
- /package/src/{directives/typewriter.ts → typewriter/typewriter.directive.ts} +0 -0
- /package/types/src/{components/form-elements → payment-card-form}/index.d.ts +0 -0
- /package/types/src/{directives/typewriter.d.ts → typewriter/typewriter.directive.d.ts} +0 -0
|
@@ -1,87 +1,91 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import
|
|
11
|
-
import { color as c } from "./directives.js";
|
|
12
|
-
import "./boat-DXZ0k7oa.js";
|
|
13
|
-
import "./busy-iRjq6Nvd.js";
|
|
1
|
+
import { s as e } from "./mixins-CL1krSOE.js";
|
|
2
|
+
import { t } from "./decorate-23nYs4Le.js";
|
|
3
|
+
import { S as n, b as r, x as i } from "./area-C_J4qxKO.js";
|
|
4
|
+
import "./state-ClRXrqDA.js";
|
|
5
|
+
import "./audio-Tmre4WyL.js";
|
|
6
|
+
import "./autocomplete-CM8VqW9S.js";
|
|
7
|
+
import { n as a } from "./theme.service-9clsqyee.js";
|
|
8
|
+
import { color as o } from "./directives.js";
|
|
9
|
+
import "./boat-DxYNK4xT.js";
|
|
10
|
+
import "./busy-CP-gRfAP.js";
|
|
14
11
|
import "./button.js";
|
|
15
|
-
import "./card-
|
|
12
|
+
import "./card-Bv--HeGO.js";
|
|
16
13
|
import "./charts.js";
|
|
17
|
-
import "./checkbox-
|
|
18
|
-
import "./chips-
|
|
19
|
-
import "./code-highlight-
|
|
20
|
-
import "./components-DZgJWHdZ.js";
|
|
14
|
+
import "./checkbox-1gQOOcja.js";
|
|
15
|
+
import "./chips-wkfKzf_e.js";
|
|
16
|
+
import "./code-highlight-CcdCFMrn.js";
|
|
21
17
|
import "./connectivity.js";
|
|
22
|
-
import "./date-range-
|
|
23
|
-
import { n as
|
|
24
|
-
import "./date-range-inline-
|
|
25
|
-
import "./delay
|
|
26
|
-
import "./details-
|
|
18
|
+
import "./date-range-BDHz_Olm.js";
|
|
19
|
+
import { n as s } from "./sheet.service-B7h_-e-q.js";
|
|
20
|
+
import "./date-range-inline-1NmZE_Xr.js";
|
|
21
|
+
import "./delay.js";
|
|
22
|
+
import "./details-BEp2s2ca.js";
|
|
27
23
|
import "./dialog.js";
|
|
28
24
|
import "./discovery.js";
|
|
29
|
-
import "./divider-
|
|
25
|
+
import "./divider-VxpjZ8hk.js";
|
|
30
26
|
import "./dropdown.js";
|
|
31
|
-
import "./expand-
|
|
32
|
-
import "./float-
|
|
27
|
+
import "./expand-CRUl3-mN.js";
|
|
28
|
+
import "./float-N3qhNET_.js";
|
|
33
29
|
import "./window.js";
|
|
34
|
-
import "./extra-
|
|
35
|
-
import "./form-
|
|
36
|
-
import "./icons-
|
|
37
|
-
import "./iframe-
|
|
38
|
-
import "./input-
|
|
39
|
-
import "./notification-
|
|
30
|
+
import "./extra-aNV1fO6W.js";
|
|
31
|
+
import "./form-BtwOBMZ9.js";
|
|
32
|
+
import "./icons-BBJqwT_B.js";
|
|
33
|
+
import "./iframe-DoN_toqE.js";
|
|
34
|
+
import "./input-ClnkMJgh.js";
|
|
35
|
+
import "./notification-Dzm6zWxX.js";
|
|
40
36
|
import "./json.js";
|
|
41
|
-
import "./layout
|
|
42
|
-
import "./lightbox-
|
|
43
|
-
import "./list-
|
|
44
|
-
import "./mailbox
|
|
45
|
-
import "./map-
|
|
46
|
-
import "./menu-
|
|
47
|
-
import "./metric.js";
|
|
37
|
+
import "./layout.js";
|
|
38
|
+
import "./lightbox-IleIcq19.js";
|
|
39
|
+
import "./list-BlXJlm16.js";
|
|
40
|
+
import "./mailbox-DAmejcKa.js";
|
|
41
|
+
import "./map-BoIu47qU.js";
|
|
42
|
+
import "./menu-BV9_8ys8.js";
|
|
48
43
|
import "./navigation-rail.js";
|
|
49
|
-
import "./option-
|
|
44
|
+
import "./option-Dyb0Q45u.js";
|
|
50
45
|
import "./page.js";
|
|
46
|
+
import "./payment-card-form-D9N2Q0wM.js";
|
|
51
47
|
import "./progress.js";
|
|
52
48
|
import "./qr-scanner.js";
|
|
53
|
-
import "./radio-group-
|
|
49
|
+
import "./radio-group-DqP886F-.js";
|
|
54
50
|
import "./range.js";
|
|
55
|
-
import "./rxjs-utils-
|
|
56
|
-
import { t as
|
|
57
|
-
import "./select-
|
|
58
|
-
import "./sheet-
|
|
51
|
+
import "./rxjs-utils-d-ivVN84.js";
|
|
52
|
+
import { t as c } from "./theme.interface-DnVNre4O.js";
|
|
53
|
+
import "./select-GONAphZI.js";
|
|
54
|
+
import "./sheet-C4sAGqTf.js";
|
|
59
55
|
import "./slider.js";
|
|
60
56
|
import "./steps.js";
|
|
61
57
|
import "./surface.js";
|
|
62
|
-
import "./table
|
|
63
|
-
import "./tabs-
|
|
64
|
-
import "./textarea-
|
|
65
|
-
import "./theme-
|
|
66
|
-
import "./theme-button-
|
|
58
|
+
import "./table.js";
|
|
59
|
+
import "./tabs-BCRVyQU1.js";
|
|
60
|
+
import "./textarea-DApOhSAL.js";
|
|
61
|
+
import "./theme-BCUjQH6-.js";
|
|
62
|
+
import "./theme-button-DdSbcivT.js";
|
|
63
|
+
import "./timeline.js";
|
|
67
64
|
import "./tooltip.js";
|
|
68
65
|
import "./tree.js";
|
|
69
|
-
import { SchmancyEvents as
|
|
66
|
+
import { SchmancyEvents as l } from "./types.js";
|
|
70
67
|
import "./typewriter.js";
|
|
71
68
|
import "./typography.js";
|
|
72
|
-
import "./utils-
|
|
69
|
+
import "./utils-hp-DnFf5.js";
|
|
70
|
+
import "./avatar.js";
|
|
73
71
|
import "./breadcrumb.js";
|
|
74
72
|
import "./kbd.js";
|
|
75
73
|
import "./skeleton.js";
|
|
76
|
-
import "./splash-screen-
|
|
74
|
+
import "./splash-screen-BGMZmQRT.js";
|
|
77
75
|
import "./switch.js";
|
|
78
76
|
import "./visually-hidden.js";
|
|
79
|
-
import { BehaviorSubject as
|
|
80
|
-
import { distinctUntilChanged as
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
|
|
77
|
+
import { BehaviorSubject as u, Observable as ee, Subject as d, bufferTime as te, concatMap as ne, debounceTime as f, delay as re, distinctUntilChanged as ie, filter as ae, from as oe, fromEvent as p, interval as se, map as m, merge as h, of as g, startWith as ce, take as le, takeUntil as _, tap as v, throwIfEmpty as ue, timeout as de, timer as fe, zip as pe } from "rxjs";
|
|
78
|
+
import { distinctUntilChanged as me, filter as y, map as he, pairwise as ge, take as _e, takeUntil as b, tap as x, throttleTime as ve } from "rxjs/operators";
|
|
79
|
+
import { consume as S, createContext as C, provide as w } from "@lit/context";
|
|
80
|
+
import { customElement as T, property as E, query as ye, queryAssignedElements as be, state as D } from "lit/decorators.js";
|
|
81
|
+
import { css as O, html as k, nothing as xe } from "lit";
|
|
82
|
+
import { when as Se } from "lit/directives/when.js";
|
|
83
|
+
var A = class extends e {
|
|
84
|
+
constructor(...e) {
|
|
85
|
+
super(...e), this.color = "primary", this.size = "md", this.shape = "pill", this.outlined = !1, this.icon = "", this.pulse = !1;
|
|
86
|
+
}
|
|
87
|
+
static {
|
|
88
|
+
this.styles = [O`
|
|
85
89
|
:host {
|
|
86
90
|
display: inline-flex;
|
|
87
91
|
width: fit-content;
|
|
@@ -100,9 +104,7 @@ var A = class extends n(O`
|
|
|
100
104
|
.animate-pulse {
|
|
101
105
|
animation: elegant-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
102
106
|
}
|
|
103
|
-
`
|
|
104
|
-
constructor(...e) {
|
|
105
|
-
super(...e), this.color = "primary", this.size = "md", this.shape = "pill", this.outlined = !1, this.icon = "", this.pulse = !1;
|
|
107
|
+
`];
|
|
106
108
|
}
|
|
107
109
|
getSizeClasses() {
|
|
108
110
|
switch (this.size) {
|
|
@@ -134,44 +136,44 @@ var A = class extends n(O`
|
|
|
134
136
|
getColorStyles() {
|
|
135
137
|
return {
|
|
136
138
|
primary: {
|
|
137
|
-
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${
|
|
138
|
-
text: this.outlined ?
|
|
139
|
-
border: this.outlined ? `color-mix(in srgb, ${
|
|
139
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${c.sys.color.primary.container} 92%, ${c.sys.color.primary.default} 8%)`,
|
|
140
|
+
text: this.outlined ? c.sys.color.primary.default : c.sys.color.primary.onContainer,
|
|
141
|
+
border: this.outlined ? `color-mix(in srgb, ${c.sys.color.primary.default} 90%, ${c.sys.color.surface.highest} 10%)` : void 0
|
|
140
142
|
},
|
|
141
143
|
secondary: {
|
|
142
|
-
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${
|
|
143
|
-
text: this.outlined ?
|
|
144
|
-
border: this.outlined ? `color-mix(in srgb, ${
|
|
144
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${c.sys.color.secondary.container} 95%, ${c.sys.color.secondary.default} 5%)`,
|
|
145
|
+
text: this.outlined ? c.sys.color.secondary.default : c.sys.color.secondary.onContainer,
|
|
146
|
+
border: this.outlined ? `color-mix(in srgb, ${c.sys.color.secondary.default} 85%, ${c.sys.color.surface.highest} 15%)` : void 0
|
|
145
147
|
},
|
|
146
148
|
tertiary: {
|
|
147
|
-
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${
|
|
148
|
-
text: this.outlined ?
|
|
149
|
-
border: this.outlined ? `color-mix(in srgb, ${
|
|
149
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${c.sys.color.tertiary.container} 94%, ${c.sys.color.tertiary.default} 6%)`,
|
|
150
|
+
text: this.outlined ? c.sys.color.tertiary.default : c.sys.color.tertiary.onContainer,
|
|
151
|
+
border: this.outlined ? `color-mix(in srgb, ${c.sys.color.tertiary.default} 88%, ${c.sys.color.surface.highest} 12%)` : void 0
|
|
150
152
|
},
|
|
151
153
|
success: {
|
|
152
|
-
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${
|
|
153
|
-
text: this.outlined ?
|
|
154
|
-
border: this.outlined ? `color-mix(in srgb, ${
|
|
154
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${c.sys.color.success.container} 90%, ${c.sys.color.success.default} 10%)`,
|
|
155
|
+
text: this.outlined ? c.sys.color.success.default : c.sys.color.success.onContainer,
|
|
156
|
+
border: this.outlined ? `color-mix(in srgb, ${c.sys.color.success.default} 85%, ${c.sys.color.surface.bright} 15%)` : void 0
|
|
155
157
|
},
|
|
156
158
|
warning: {
|
|
157
|
-
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${
|
|
158
|
-
text: this.outlined ?
|
|
159
|
-
border: this.outlined ? `color-mix(in srgb, ${
|
|
159
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${c.sys.color.tertiary.container} 85%, ${c.sys.color.tertiary.default} 15%)`,
|
|
160
|
+
text: this.outlined ? c.sys.color.tertiary.default : c.sys.color.tertiary.onContainer,
|
|
161
|
+
border: this.outlined ? `color-mix(in srgb, ${c.sys.color.tertiary.default} 90%, ${c.sys.color.surface.highest} 10%)` : void 0
|
|
160
162
|
},
|
|
161
163
|
error: {
|
|
162
|
-
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${
|
|
163
|
-
text: this.outlined ?
|
|
164
|
-
border: this.outlined ? `color-mix(in srgb, ${
|
|
164
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${c.sys.color.error.container} 92%, ${c.sys.color.error.default} 8%)`,
|
|
165
|
+
text: this.outlined ? c.sys.color.error.default : c.sys.color.error.onContainer,
|
|
166
|
+
border: this.outlined ? `color-mix(in srgb, ${c.sys.color.error.default} 88%, ${c.sys.color.surface.bright} 12%)` : void 0
|
|
165
167
|
},
|
|
166
168
|
neutral: {
|
|
167
|
-
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${
|
|
168
|
-
text: this.outlined ? `color-mix(in srgb, ${
|
|
169
|
-
border: this.outlined ? `color-mix(in srgb, ${
|
|
169
|
+
bg: this.outlined ? "transparent" : `color-mix(in srgb, ${c.sys.color.surface.high} 95%, ${c.sys.color.outline} 5%)`,
|
|
170
|
+
text: this.outlined ? `color-mix(in srgb, ${c.sys.color.surface.on} 95%, ${c.sys.color.surface.default} 5%)` : c.sys.color.surface.on,
|
|
171
|
+
border: this.outlined ? `color-mix(in srgb, ${c.sys.color.outline} 85%, ${c.sys.color.surface.highest} 15%)` : void 0
|
|
170
172
|
},
|
|
171
173
|
surface: {
|
|
172
|
-
bg: this.outlined ? "transparent" :
|
|
173
|
-
text:
|
|
174
|
-
border: this.outlined ?
|
|
174
|
+
bg: this.outlined ? "transparent" : c.sys.color.surface.high,
|
|
175
|
+
text: c.sys.color.surface.on,
|
|
176
|
+
border: this.outlined ? c.sys.color.outline : void 0
|
|
175
177
|
}
|
|
176
178
|
}[this.color];
|
|
177
179
|
}
|
|
@@ -188,7 +190,7 @@ var A = class extends n(O`
|
|
|
188
190
|
"shadow-md": !this.outlined && this.size === "lg",
|
|
189
191
|
"hover:brightness-95 hover:-translate-y-px": this.outlined,
|
|
190
192
|
"hover:brightness-[0.98]": !this.outlined
|
|
191
|
-
},
|
|
193
|
+
}, s = {
|
|
192
194
|
borderColor: n.border,
|
|
193
195
|
backdropFilter: this.outlined ? "blur(4px)" : void 0,
|
|
194
196
|
boxShadow: this.size !== "lg" || this.outlined ? void 0 : "0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1)",
|
|
@@ -198,8 +200,8 @@ var A = class extends n(O`
|
|
|
198
200
|
<div
|
|
199
201
|
part="badge"
|
|
200
202
|
class="${this.classMap(a)}"
|
|
201
|
-
style="${this.styleMap(
|
|
202
|
-
${
|
|
203
|
+
style="${this.styleMap(s)}"
|
|
204
|
+
${o({
|
|
203
205
|
bgColor: n.bg,
|
|
204
206
|
color: n.text
|
|
205
207
|
})}
|
|
@@ -221,41 +223,41 @@ var A = class extends n(O`
|
|
|
221
223
|
`;
|
|
222
224
|
}
|
|
223
225
|
};
|
|
224
|
-
|
|
226
|
+
t([E({
|
|
225
227
|
type: String,
|
|
226
228
|
reflect: !0
|
|
227
|
-
})], A.prototype, "color", void 0),
|
|
229
|
+
})], A.prototype, "color", void 0), t([E({
|
|
228
230
|
type: String,
|
|
229
231
|
reflect: !0
|
|
230
|
-
})], A.prototype, "size", void 0),
|
|
232
|
+
})], A.prototype, "size", void 0), t([E({
|
|
231
233
|
type: String,
|
|
232
234
|
reflect: !0
|
|
233
|
-
})], A.prototype, "shape", void 0),
|
|
235
|
+
})], A.prototype, "shape", void 0), t([E({
|
|
234
236
|
type: Boolean,
|
|
235
237
|
reflect: !0
|
|
236
|
-
})], A.prototype, "outlined", void 0),
|
|
238
|
+
})], A.prototype, "outlined", void 0), t([E({ type: String })], A.prototype, "icon", void 0), t([E({
|
|
237
239
|
type: Boolean,
|
|
238
240
|
reflect: !0
|
|
239
|
-
})], A.prototype, "pulse", void 0), A =
|
|
241
|
+
})], A.prototype, "pulse", void 0), A = t([T("schmancy-badge")], A);
|
|
240
242
|
var j = class extends A {};
|
|
241
|
-
j =
|
|
242
|
-
var
|
|
243
|
+
j = t([T("sch-badge")], j);
|
|
244
|
+
var Ce = new class {
|
|
243
245
|
constructor() {
|
|
244
|
-
this.$drawer = new
|
|
246
|
+
this.$drawer = new d(), this.pushCounter = 0, this.isDismissing$ = new u(!1), this.$drawer.pipe(ne((e) => {
|
|
245
247
|
switch (e.action) {
|
|
246
|
-
case "dismiss": return
|
|
248
|
+
case "dismiss": return g(e).pipe(v(() => {
|
|
247
249
|
this.isDismissing$.next(!0), this.dispatchToggleEvent(e.ref, "close");
|
|
248
|
-
}),
|
|
249
|
-
case "render": return
|
|
250
|
+
}), re(300), v(() => this.isDismissing$.next(!1)));
|
|
251
|
+
case "render": return g(e).pipe(v(() => {
|
|
250
252
|
this.dispatchToggleEvent(e.ref, "open"), this.dispatchRenderEvent(e.ref, e.component, e.title);
|
|
251
253
|
}));
|
|
252
|
-
case "push": return
|
|
253
|
-
default: return
|
|
254
|
+
case "push": return g(e).pipe(v(() => this.handlePush(e.ref, e.component, e.state, e.params, e.props)));
|
|
255
|
+
default: return g(null);
|
|
254
256
|
}
|
|
255
257
|
})).subscribe();
|
|
256
258
|
}
|
|
257
259
|
dispatchToggleEvent(e, t) {
|
|
258
|
-
e.dispatchEvent(new CustomEvent(
|
|
260
|
+
e.dispatchEvent(new CustomEvent(l.ContentDrawerToggle, {
|
|
259
261
|
detail: { state: t },
|
|
260
262
|
bubbles: !0,
|
|
261
263
|
composed: !0
|
|
@@ -302,33 +304,36 @@ var we = new class {
|
|
|
302
304
|
...e
|
|
303
305
|
});
|
|
304
306
|
}
|
|
305
|
-
}(), M =
|
|
307
|
+
}(), M = C("push"), N = C("close"), P = C(Math.floor(Math.random() * Date.now()).toString()), F = C("100%"), I = C({}), L = class extends e {
|
|
308
|
+
constructor(...e) {
|
|
309
|
+
super(...e), this.minWidth = {
|
|
310
|
+
main: 360,
|
|
311
|
+
sheet: 576
|
|
312
|
+
}, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
|
|
313
|
+
}
|
|
314
|
+
static {
|
|
315
|
+
this.styles = [O`
|
|
306
316
|
:host {
|
|
307
317
|
position: relative;
|
|
308
318
|
inset: 0;
|
|
309
319
|
display: block;
|
|
310
320
|
overflow: hidden;
|
|
311
321
|
}
|
|
312
|
-
`
|
|
313
|
-
constructor(...e) {
|
|
314
|
-
super(...e), this.minWidth = {
|
|
315
|
-
main: 360,
|
|
316
|
-
sheet: 576
|
|
317
|
-
}, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
|
|
322
|
+
`];
|
|
318
323
|
}
|
|
319
324
|
firstUpdated() {
|
|
320
325
|
this.setupResizeListener(), this.setupToggleListener(), this.setupRenderListener();
|
|
321
326
|
}
|
|
322
327
|
setupResizeListener() {
|
|
323
|
-
|
|
328
|
+
h(p(window, "resize"), p(window, l.ContentDrawerResize)).pipe(ce(!0), f(100), m(() => this.clientWidth || window.innerWidth), m((e) => e >= this.minWidth.main + this.minWidth.sheet), ie(), v(() => this.updateMaxHeight()), _(this.disconnecting)).subscribe((e) => this.updateMode(e));
|
|
324
329
|
}
|
|
325
330
|
setupToggleListener() {
|
|
326
|
-
|
|
331
|
+
p(window, l.ContentDrawerToggle).pipe(v((e) => e.stopPropagation()), m((e) => e.detail.state), _(this.disconnecting)).subscribe((e) => {
|
|
327
332
|
this.open = e;
|
|
328
333
|
});
|
|
329
334
|
}
|
|
330
335
|
setupRenderListener() {
|
|
331
|
-
|
|
336
|
+
p(window, "schmancy-content-drawer-render").pipe(v((e) => e.stopPropagation()), m((e) => e.detail), _(this.disconnecting)).subscribe((e) => this.handleRender(e));
|
|
332
337
|
}
|
|
333
338
|
updateMaxHeight() {
|
|
334
339
|
this.maxHeight = window.innerHeight - this.getOffsetTop(this) + "px", this.style.setProperty("max-height", this.maxHeight);
|
|
@@ -337,14 +342,14 @@ var we = new class {
|
|
|
337
342
|
e ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
338
343
|
}
|
|
339
344
|
handleRender(e) {
|
|
340
|
-
this.mode === "push" ?
|
|
345
|
+
this.mode === "push" ? n.push({
|
|
341
346
|
area: this.schmancyContentDrawerID,
|
|
342
347
|
component: e.component,
|
|
343
348
|
historyStrategy: "silent",
|
|
344
349
|
state: e.state,
|
|
345
350
|
params: e.params,
|
|
346
351
|
props: e.props
|
|
347
|
-
}) : this.mode === "overlay" &&
|
|
352
|
+
}) : this.mode === "overlay" && s.open({
|
|
348
353
|
component: e.component,
|
|
349
354
|
uid: this.schmancyContentDrawerID,
|
|
350
355
|
props: e.props
|
|
@@ -366,21 +371,24 @@ var we = new class {
|
|
|
366
371
|
].join(" ")}>
|
|
367
372
|
<slot></slot>
|
|
368
373
|
</div>
|
|
369
|
-
` :
|
|
374
|
+
` : xe;
|
|
370
375
|
}
|
|
371
376
|
};
|
|
372
|
-
|
|
373
|
-
var R = class extends
|
|
377
|
+
t([w({ context: I })], L.prototype, "minWidth", void 0), t([w({ context: N }), E()], L.prototype, "open", void 0), t([w({ context: M }), D()], L.prototype, "mode", void 0), t([w({ context: P })], L.prototype, "schmancyContentDrawerID", void 0), t([w({ context: F })], L.prototype, "maxHeight", void 0), t([be({ flatten: !0 })], L.prototype, "assignedElements", void 0), L = t([T("schmancy-content-drawer")], L);
|
|
378
|
+
var R = class extends e {
|
|
379
|
+
static {
|
|
380
|
+
this.styles = [O`
|
|
374
381
|
:host {
|
|
375
382
|
display: block;
|
|
376
383
|
overflow: hidden;
|
|
377
384
|
}
|
|
378
|
-
`
|
|
385
|
+
`];
|
|
386
|
+
}
|
|
379
387
|
connectedCallback() {
|
|
380
388
|
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.main = this.minWidth : this.minWidth = this.drawerMinWidth.main;
|
|
381
389
|
}
|
|
382
390
|
update(e) {
|
|
383
|
-
super.update(e), e.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(
|
|
391
|
+
super.update(e), e.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(l.ContentDrawerResize, {
|
|
384
392
|
bubbles: !0,
|
|
385
393
|
composed: !0
|
|
386
394
|
})));
|
|
@@ -403,34 +411,37 @@ var R = class extends a(O`
|
|
|
403
411
|
<slot></slot>
|
|
404
412
|
</section>
|
|
405
413
|
</div>
|
|
406
|
-
${
|
|
414
|
+
${Se(this.mode === "push", () => k` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
|
|
407
415
|
</section>
|
|
408
416
|
`;
|
|
409
417
|
}
|
|
410
418
|
};
|
|
411
|
-
|
|
419
|
+
t([E({ type: Number })], R.prototype, "minWidth", void 0), t([S({
|
|
412
420
|
context: I,
|
|
413
421
|
subscribe: !0
|
|
414
|
-
})], R.prototype, "drawerMinWidth", void 0),
|
|
422
|
+
})], R.prototype, "drawerMinWidth", void 0), t([S({
|
|
415
423
|
context: M,
|
|
416
424
|
subscribe: !0
|
|
417
|
-
}), D()], R.prototype, "mode", void 0),
|
|
425
|
+
}), D()], R.prototype, "mode", void 0), t([S({
|
|
418
426
|
context: F,
|
|
419
427
|
subscribe: !0
|
|
420
|
-
}), D()], R.prototype, "maxHeight", void 0), R =
|
|
421
|
-
var z = class extends
|
|
428
|
+
}), D()], R.prototype, "maxHeight", void 0), R = t([T("schmancy-content-drawer-main")], R);
|
|
429
|
+
var z = class extends e {
|
|
430
|
+
static {
|
|
431
|
+
this.styles = [O`
|
|
422
432
|
:host {
|
|
423
433
|
overflow: scroll;
|
|
424
434
|
}
|
|
425
|
-
`
|
|
435
|
+
`];
|
|
436
|
+
}
|
|
426
437
|
connectedCallback() {
|
|
427
438
|
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
|
|
428
439
|
}
|
|
429
440
|
updated(e) {
|
|
430
|
-
super.updated(e), e.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(
|
|
441
|
+
super.updated(e), e.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(l.ContentDrawerResize, {
|
|
431
442
|
bubbles: !0,
|
|
432
443
|
composed: !0
|
|
433
|
-
}))) : (e.has("state") || e.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (
|
|
444
|
+
}))) : (e.has("state") || e.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (s.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
|
|
434
445
|
}
|
|
435
446
|
open() {
|
|
436
447
|
this.mode === "overlay" ? this.sheet.style.position = "fixed" : this.sheet.style.position = "relative", this.sheet.style.display = "block", this.sheet.animate([{
|
|
@@ -445,13 +456,13 @@ var z = class extends a(O`
|
|
|
445
456
|
});
|
|
446
457
|
}
|
|
447
458
|
closeAll() {
|
|
448
|
-
|
|
459
|
+
h(oe(this.closeModalSheet()), oe(this.closeSheet())).pipe(_(this.disconnecting)).subscribe();
|
|
449
460
|
}
|
|
450
461
|
closeModalSheet() {
|
|
451
|
-
return
|
|
462
|
+
return g(!0).pipe(v(() => s.dismiss(this.schmancyContentDrawerID)));
|
|
452
463
|
}
|
|
453
464
|
closeSheet() {
|
|
454
|
-
return new
|
|
465
|
+
return new ee((e) => {
|
|
455
466
|
this.sheet.animate([{
|
|
456
467
|
opacity: 1,
|
|
457
468
|
transform: "translateX(0%)"
|
|
@@ -484,30 +495,30 @@ var z = class extends a(O`
|
|
|
484
495
|
`;
|
|
485
496
|
}
|
|
486
497
|
};
|
|
487
|
-
|
|
498
|
+
t([E({ type: Number })], z.prototype, "minWidth", void 0), t([S({
|
|
488
499
|
context: M,
|
|
489
500
|
subscribe: !0
|
|
490
|
-
}), D()], z.prototype, "mode", void 0),
|
|
501
|
+
}), D()], z.prototype, "mode", void 0), t([S({
|
|
491
502
|
context: N,
|
|
492
503
|
subscribe: !0
|
|
493
|
-
}), D()], z.prototype, "state", void 0),
|
|
504
|
+
}), D()], z.prototype, "state", void 0), t([S({ context: P })], z.prototype, "schmancyContentDrawerID", void 0), t([ye("#sheet")], z.prototype, "sheet", void 0), t([be({
|
|
494
505
|
flatten: !0,
|
|
495
506
|
slot: void 0
|
|
496
|
-
})], z.prototype, "defaultSlot", void 0),
|
|
507
|
+
})], z.prototype, "defaultSlot", void 0), t([S({
|
|
497
508
|
context: I,
|
|
498
509
|
subscribe: !0
|
|
499
|
-
})], z.prototype, "drawerMinWidth", void 0),
|
|
510
|
+
})], z.prototype, "drawerMinWidth", void 0), t([S({
|
|
500
511
|
context: F,
|
|
501
512
|
subscribe: !0
|
|
502
|
-
}), D()], z.prototype, "maxHeight", void 0), z =
|
|
503
|
-
var
|
|
513
|
+
}), D()], z.prototype, "maxHeight", void 0), z = t([T("schmancy-content-drawer-sheet")], z);
|
|
514
|
+
var we = new class {
|
|
504
515
|
constructor() {
|
|
505
|
-
this.$drawer = new
|
|
506
|
-
e.state ? window.dispatchEvent(new CustomEvent(
|
|
516
|
+
this.$drawer = new d(), this.$drawer.pipe(f(10)).subscribe((e) => {
|
|
517
|
+
e.state ? window.dispatchEvent(new CustomEvent(l.NavDrawer_toggle, {
|
|
507
518
|
detail: { state: "open" },
|
|
508
519
|
bubbles: !0,
|
|
509
520
|
composed: !0
|
|
510
|
-
})) : window.dispatchEvent(new CustomEvent(
|
|
521
|
+
})) : window.dispatchEvent(new CustomEvent(l.NavDrawer_toggle, {
|
|
511
522
|
detail: { state: "close" },
|
|
512
523
|
bubbles: !0,
|
|
513
524
|
composed: !0
|
|
@@ -526,28 +537,34 @@ var Te = new class {
|
|
|
526
537
|
state: !1
|
|
527
538
|
});
|
|
528
539
|
}
|
|
529
|
-
}(),
|
|
540
|
+
}(), Te = we, B = class extends e {
|
|
541
|
+
static {
|
|
542
|
+
this.styles = [O`
|
|
530
543
|
:host {
|
|
531
544
|
display: block;
|
|
532
545
|
width: 100%;
|
|
533
546
|
min-width: 0;
|
|
534
547
|
}
|
|
535
|
-
`
|
|
548
|
+
`];
|
|
549
|
+
}
|
|
536
550
|
render() {
|
|
537
551
|
return k`<slot></slot>`;
|
|
538
552
|
}
|
|
539
553
|
};
|
|
540
|
-
B =
|
|
541
|
-
var V = class extends
|
|
554
|
+
B = t([T("schmancy-nav-drawer-appbar")], B);
|
|
555
|
+
var V = class extends e {
|
|
556
|
+
static {
|
|
557
|
+
this.styles = [O`
|
|
542
558
|
:host {
|
|
543
559
|
display: block;
|
|
544
560
|
position: relative;
|
|
545
561
|
inset: 0;
|
|
546
562
|
overflow-y: auto;
|
|
547
563
|
}
|
|
548
|
-
`
|
|
564
|
+
`];
|
|
565
|
+
}
|
|
549
566
|
connectedCallback() {
|
|
550
|
-
super.connectedCallback(),
|
|
567
|
+
super.connectedCallback(), p(this, "scroll").pipe(_(this.disconnecting)).subscribe((e) => {
|
|
551
568
|
this.parentElement.dispatchEvent(new CustomEvent("scroll", {
|
|
552
569
|
detail: e,
|
|
553
570
|
bubbles: !0,
|
|
@@ -559,8 +576,16 @@ var V = class extends a(O`
|
|
|
559
576
|
return k` <slot></slot> `;
|
|
560
577
|
}
|
|
561
578
|
};
|
|
562
|
-
V =
|
|
563
|
-
var H, U =
|
|
579
|
+
V = t([T("schmancy-nav-drawer-content")], V);
|
|
580
|
+
var H, U = C("push"), W = C("close"), G = class extends e {
|
|
581
|
+
static {
|
|
582
|
+
H = this;
|
|
583
|
+
}
|
|
584
|
+
constructor(...e) {
|
|
585
|
+
super(...e), this.fullscreen = !1, this.breakpoint = "md";
|
|
586
|
+
}
|
|
587
|
+
static {
|
|
588
|
+
this.styles = [O`
|
|
564
589
|
:host {
|
|
565
590
|
display: grid;
|
|
566
591
|
grid-template-columns: auto 1fr;
|
|
@@ -579,12 +604,7 @@ var H, U = t("push"), W = t("close"), G = class extends a(O`
|
|
|
579
604
|
:host([fullscreen]) {
|
|
580
605
|
grid-template-columns: 1fr;
|
|
581
606
|
}
|
|
582
|
-
`
|
|
583
|
-
static {
|
|
584
|
-
H = this;
|
|
585
|
-
}
|
|
586
|
-
constructor(...e) {
|
|
587
|
-
super(...e), this.fullscreen = !1, this.breakpoint = "md";
|
|
607
|
+
`];
|
|
588
608
|
}
|
|
589
609
|
static {
|
|
590
610
|
this.BREAKPOINTS = {
|
|
@@ -595,14 +615,14 @@ var H, U = t("push"), W = t("close"), G = class extends a(O`
|
|
|
595
615
|
};
|
|
596
616
|
}
|
|
597
617
|
firstUpdated() {
|
|
598
|
-
this.updateState(window.innerWidth), this.setAttribute("data-ready", ""),
|
|
618
|
+
this.updateState(window.innerWidth), this.setAttribute("data-ready", ""), p(window, "resize").pipe(m((e) => e.target.innerWidth), m((e) => e >= H.BREAKPOINTS[this.breakpoint]), ie(), f(100), _(this.disconnecting)).subscribe((e) => {
|
|
599
619
|
e ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
600
|
-
}),
|
|
620
|
+
}), p(window, "fullscreen").pipe(v((e) => {
|
|
601
621
|
let t = e;
|
|
602
622
|
this.fullscreen = t.detail;
|
|
603
|
-
}),
|
|
623
|
+
}), _(this.disconnecting)).subscribe(), p(window, l.NavDrawer_toggle).pipe(v((e) => {
|
|
604
624
|
e.stopPropagation();
|
|
605
|
-
}),
|
|
625
|
+
}), m((e) => e.detail.state), _(this.disconnecting), f(10)).subscribe((e) => {
|
|
606
626
|
e === "toggle" && (e = this.open === "open" ? "close" : "open"), this.mode === "push" && e === "close" || (this.open = e);
|
|
607
627
|
});
|
|
608
628
|
}
|
|
@@ -614,14 +634,14 @@ var H, U = t("push"), W = t("close"), G = class extends a(O`
|
|
|
614
634
|
return k`<slot></slot>`;
|
|
615
635
|
}
|
|
616
636
|
};
|
|
617
|
-
|
|
637
|
+
t([E({
|
|
618
638
|
type: Boolean,
|
|
619
639
|
reflect: !0
|
|
620
|
-
})], G.prototype, "fullscreen", void 0),
|
|
640
|
+
})], G.prototype, "fullscreen", void 0), t([E({
|
|
621
641
|
type: String,
|
|
622
642
|
attribute: "breakpoint"
|
|
623
|
-
})], G.prototype, "breakpoint", void 0),
|
|
624
|
-
var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends
|
|
643
|
+
})], G.prototype, "breakpoint", void 0), t([w({ context: U }), D()], G.prototype, "mode", void 0), t([w({ context: W }), E()], G.prototype, "open", void 0), G = H = t([T("schmancy-nav-drawer")], G);
|
|
644
|
+
var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends e {
|
|
625
645
|
constructor(...e) {
|
|
626
646
|
super(...e), this.width = "220px", this._initialized = !1;
|
|
627
647
|
}
|
|
@@ -666,7 +686,7 @@ var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends a() {
|
|
|
666
686
|
};
|
|
667
687
|
}
|
|
668
688
|
handleOverlayClick() {
|
|
669
|
-
window.dispatchEvent(new CustomEvent(
|
|
689
|
+
window.dispatchEvent(new CustomEvent(l.NavDrawer_toggle, {
|
|
670
690
|
detail: { state: "close" },
|
|
671
691
|
bubbles: !0,
|
|
672
692
|
composed: !0
|
|
@@ -682,27 +702,50 @@ var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends a() {
|
|
|
682
702
|
<nav
|
|
683
703
|
style=${this.styleMap(t)}
|
|
684
704
|
class="${this.classMap({ ...e })}"
|
|
685
|
-
${
|
|
705
|
+
${o({ bgColor: c.sys.color.surface.containerLowest })}
|
|
686
706
|
>
|
|
687
707
|
<slot></slot>
|
|
688
708
|
</nav>
|
|
689
709
|
<div
|
|
690
710
|
id="overlay"
|
|
691
|
-
${
|
|
711
|
+
${o({ bgColor: c.sys.color.scrim })}
|
|
692
712
|
@click=${this.handleOverlayClick}
|
|
693
713
|
class="${this.classMap({ "fixed inset-0 z-49 hidden": !0 })}"
|
|
694
714
|
></div>
|
|
695
715
|
`;
|
|
696
716
|
}
|
|
697
717
|
};
|
|
698
|
-
|
|
718
|
+
t([S({
|
|
699
719
|
context: U,
|
|
700
720
|
subscribe: !0
|
|
701
|
-
}), D()], q.prototype, "mode", void 0),
|
|
721
|
+
}), D()], q.prototype, "mode", void 0), t([S({
|
|
702
722
|
context: W,
|
|
703
723
|
subscribe: !0
|
|
704
|
-
}), D()], q.prototype, "drawerState", void 0),
|
|
705
|
-
var J = class extends
|
|
724
|
+
}), D()], q.prototype, "drawerState", void 0), t([ye("#overlay")], q.prototype, "overlay", void 0), t([ye("nav")], q.prototype, "nav", void 0), t([E({ type: String })], q.prototype, "width", void 0), t([D()], q.prototype, "_initialized", void 0), q = t([T("schmancy-nav-drawer-navbar")], q);
|
|
725
|
+
var J = class extends e {
|
|
726
|
+
constructor(...e) {
|
|
727
|
+
super(...e), this.icon = "", this.label = "", this.badge = "", this.active$ = new u(!1), this.disabled = !1, this.hideLabels = !1, this.ripples = [], this.addRippleEffect = (e) => {
|
|
728
|
+
if (this.disabled) return;
|
|
729
|
+
let t = this.shadowRoot?.querySelector(".w-16.h-8");
|
|
730
|
+
if (t) {
|
|
731
|
+
let n = t.getBoundingClientRect(), r = {
|
|
732
|
+
x: e.clientX - n.left,
|
|
733
|
+
y: e.clientY - n.top,
|
|
734
|
+
id: Date.now()
|
|
735
|
+
};
|
|
736
|
+
this.ripples = [...this.ripples, r], fe(600).pipe(x(() => {
|
|
737
|
+
this.ripples = this.ripples.filter((e) => e.id !== r.id);
|
|
738
|
+
}), b(this.disconnecting)).subscribe();
|
|
739
|
+
}
|
|
740
|
+
}, this.handleClick = (e) => {
|
|
741
|
+
if (this.disabled) return e.preventDefault(), void e.stopPropagation();
|
|
742
|
+
this.addRippleEffect(e);
|
|
743
|
+
}, this.handleKeyDown = (e) => {
|
|
744
|
+
this.disabled || e.key !== "Enter" && e.key !== " " || e.preventDefault();
|
|
745
|
+
};
|
|
746
|
+
}
|
|
747
|
+
static {
|
|
748
|
+
this.styles = [O`
|
|
706
749
|
:host {
|
|
707
750
|
display: flex;
|
|
708
751
|
flex: 1;
|
|
@@ -755,27 +798,7 @@ var J = class extends n(O`
|
|
|
755
798
|
animation: ripple 0.6s ease-out;
|
|
756
799
|
pointer-events: none;
|
|
757
800
|
}
|
|
758
|
-
`
|
|
759
|
-
constructor(...e) {
|
|
760
|
-
super(...e), this.icon = "", this.label = "", this.badge = "", this.active$ = new f(!1), this.disabled = !1, this.hideLabels = !1, this.ripples = [], this.addRippleEffect = (e) => {
|
|
761
|
-
if (this.disabled) return;
|
|
762
|
-
let t = this.shadowRoot?.querySelector(".w-16.h-8");
|
|
763
|
-
if (t) {
|
|
764
|
-
let n = t.getBoundingClientRect(), r = {
|
|
765
|
-
x: e.clientX - n.left,
|
|
766
|
-
y: e.clientY - n.top,
|
|
767
|
-
id: Date.now()
|
|
768
|
-
};
|
|
769
|
-
this.ripples = [...this.ripples, r], me(600).pipe(C(() => {
|
|
770
|
-
this.ripples = this.ripples.filter((e) => e.id !== r.id);
|
|
771
|
-
}), S(this.disconnecting)).subscribe();
|
|
772
|
-
}
|
|
773
|
-
}, this.handleClick = (e) => {
|
|
774
|
-
if (this.disabled) return e.preventDefault(), void e.stopPropagation();
|
|
775
|
-
this.addRippleEffect(e);
|
|
776
|
-
}, this.handleKeyDown = (e) => {
|
|
777
|
-
this.disabled || e.key !== "Enter" && e.key !== " " || e.preventDefault();
|
|
778
|
-
};
|
|
801
|
+
`];
|
|
779
802
|
}
|
|
780
803
|
get active() {
|
|
781
804
|
return this.active$.value;
|
|
@@ -787,13 +810,13 @@ var J = class extends n(O`
|
|
|
787
810
|
this.active = e;
|
|
788
811
|
}
|
|
789
812
|
connectedCallback() {
|
|
790
|
-
super.connectedCallback(), this.active$.pipe(
|
|
813
|
+
super.connectedCallback(), this.active$.pipe(b(this.disconnecting)).subscribe(() => {
|
|
791
814
|
this.requestUpdate();
|
|
792
815
|
}), this.setupNavigationStream();
|
|
793
816
|
}
|
|
794
817
|
setupNavigationStream() {
|
|
795
818
|
let e = this.shadowRoot?.querySelector("button");
|
|
796
|
-
e &&
|
|
819
|
+
e && h(p(e, "click").pipe(y(() => !this.disabled)), p(e, "keydown").pipe(y(() => !this.disabled), y((e) => e.key === "Enter" || e.key === " "), x((e) => e.preventDefault()))).pipe(x(() => {
|
|
797
820
|
this.dispatchEvent(new CustomEvent("bar-item-click", {
|
|
798
821
|
detail: {
|
|
799
822
|
icon: this.icon,
|
|
@@ -803,7 +826,7 @@ var J = class extends n(O`
|
|
|
803
826
|
bubbles: !0,
|
|
804
827
|
composed: !0
|
|
805
828
|
}));
|
|
806
|
-
}),
|
|
829
|
+
}), b(this.disconnecting)).subscribe();
|
|
807
830
|
}
|
|
808
831
|
formatBadge(e) {
|
|
809
832
|
let t = Number(e);
|
|
@@ -829,7 +852,7 @@ var J = class extends n(O`
|
|
|
829
852
|
"bg-secondary-container": this.active,
|
|
830
853
|
"group-hover:bg-surface-containerHighest": !this.active && !this.disabled,
|
|
831
854
|
"relative overflow-hidden": !0
|
|
832
|
-
},
|
|
855
|
+
}, s = {
|
|
833
856
|
"absolute top-0 right-3": !0,
|
|
834
857
|
"min-w-[6px] h-1.5": !n,
|
|
835
858
|
"min-w-[16px] h-4": n,
|
|
@@ -839,7 +862,7 @@ var J = class extends n(O`
|
|
|
839
862
|
"px-1": n,
|
|
840
863
|
"transition-all duration-200": !0,
|
|
841
864
|
"z-10": !0
|
|
842
|
-
},
|
|
865
|
+
}, l = this.active ? { color: c.sys.color.secondary.onContainer } : { color: c.sys.color.surface.onVariant }, u = { "--focus-color": c.sys.color.primary.default };
|
|
843
866
|
return k`
|
|
844
867
|
<button
|
|
845
868
|
type="button"
|
|
@@ -850,10 +873,10 @@ var J = class extends n(O`
|
|
|
850
873
|
aria-pressed=${this.active}
|
|
851
874
|
aria-label=${this.label || "Navigation item"}
|
|
852
875
|
style=${this.styleMap({
|
|
853
|
-
...
|
|
876
|
+
...u,
|
|
854
877
|
"outline-color": "var(--focus-color)"
|
|
855
878
|
})}
|
|
856
|
-
${
|
|
879
|
+
${o(l)}
|
|
857
880
|
>
|
|
858
881
|
<!-- Icon with indicator background -->
|
|
859
882
|
<div class=${this.classMap(a)}>
|
|
@@ -894,63 +917,42 @@ var J = class extends n(O`
|
|
|
894
917
|
<!-- Badge -->
|
|
895
918
|
${n ? k`
|
|
896
919
|
<span
|
|
897
|
-
class=${this.classMap(
|
|
920
|
+
class=${this.classMap(s)}
|
|
898
921
|
aria-label="${t} notifications"
|
|
899
|
-
${
|
|
900
|
-
bgColor:
|
|
901
|
-
color:
|
|
922
|
+
${o({
|
|
923
|
+
bgColor: c.sys.color.error.default,
|
|
924
|
+
color: c.sys.color.error.on
|
|
902
925
|
})}
|
|
903
926
|
>
|
|
904
927
|
<span class="text-[10px] font-medium leading-none">${t}</span>
|
|
905
928
|
</span>
|
|
906
929
|
` : this.badge ? k`
|
|
907
930
|
<span
|
|
908
|
-
class=${this.classMap(
|
|
931
|
+
class=${this.classMap(s)}
|
|
909
932
|
aria-label="Has notifications"
|
|
910
|
-
${
|
|
933
|
+
${o({ bgColor: c.sys.color.error.default })}
|
|
911
934
|
></span>
|
|
912
935
|
` : ""}
|
|
913
936
|
</button>
|
|
914
937
|
`;
|
|
915
938
|
}
|
|
916
939
|
};
|
|
917
|
-
|
|
940
|
+
t([E({ type: String })], J.prototype, "icon", void 0), t([E({ type: String })], J.prototype, "label", void 0), t([E({ type: String })], J.prototype, "badge", void 0), t([E({
|
|
918
941
|
type: Boolean,
|
|
919
942
|
reflect: !0
|
|
920
|
-
})], J.prototype, "active", null),
|
|
943
|
+
})], J.prototype, "active", null), t([E({
|
|
921
944
|
type: Boolean,
|
|
922
945
|
reflect: !0
|
|
923
|
-
})], J.prototype, "disabled", void 0),
|
|
946
|
+
})], J.prototype, "disabled", void 0), t([E({
|
|
924
947
|
type: Boolean,
|
|
925
948
|
reflect: !0
|
|
926
|
-
})], J.prototype, "hideLabels", void 0),
|
|
927
|
-
var Y = class extends
|
|
928
|
-
:host {
|
|
929
|
-
display: block;
|
|
930
|
-
transition: transform 0.3s ease-in-out;
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
:host([hide-on-scroll]) {
|
|
934
|
-
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
/* Support 3-7 items with equal distribution */
|
|
938
|
-
::slotted(schmancy-navigation-bar-item) {
|
|
939
|
-
flex: 1;
|
|
940
|
-
max-width: 168px; /* Prevent items from being too wide */
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
/* Accessibility focus indicators */
|
|
944
|
-
:host(:focus-within) {
|
|
945
|
-
outline: 2px solid var(--schmancy-sys-color-primary);
|
|
946
|
-
outline-offset: -2px;
|
|
947
|
-
}
|
|
948
|
-
`) {
|
|
949
|
+
})], J.prototype, "hideLabels", void 0), t([D()], J.prototype, "ripples", void 0), J = t([T("schmancy-navigation-bar-item")], J);
|
|
950
|
+
var Y = class extends e {
|
|
949
951
|
constructor(...e) {
|
|
950
|
-
super(...e), this.activeIndex$ = new
|
|
951
|
-
let t = this.getItems(), n = e.target, r = t.
|
|
952
|
+
super(...e), this.activeIndex$ = new u(-1), this.hideLabels = !1, this.elevation = 2, this.hideOnScroll = !1, this.focusedIndex = -1, this.isHiddenByScroll = !1, this.isFullscreen = !1, this.SCROLL_THRESHOLD = 10, this.mobileMediaQuery = null, this.visibility$ = new d(), this.handleItemClick = (e) => {
|
|
953
|
+
let t = this.getItems(), n = e.target, r = t.findIndex((e) => e === n);
|
|
952
954
|
if (r === -1) return;
|
|
953
|
-
if (this.activeIndex === r) return void this.dispatchEvent(new CustomEvent(
|
|
955
|
+
if (this.activeIndex === r) return void this.dispatchEvent(new CustomEvent(l.NavDrawer_toggle, {
|
|
954
956
|
detail: { state: "toggle" },
|
|
955
957
|
bubbles: !0,
|
|
956
958
|
composed: !0
|
|
@@ -985,6 +987,30 @@ var Y = class extends n(O`
|
|
|
985
987
|
}
|
|
986
988
|
};
|
|
987
989
|
}
|
|
990
|
+
static {
|
|
991
|
+
this.styles = [O`
|
|
992
|
+
:host {
|
|
993
|
+
display: block;
|
|
994
|
+
transition: transform 0.3s ease-in-out;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
:host([hide-on-scroll]) {
|
|
998
|
+
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
/* Support 3-7 items with equal distribution */
|
|
1002
|
+
::slotted(schmancy-navigation-bar-item) {
|
|
1003
|
+
flex: 1;
|
|
1004
|
+
max-width: 168px; /* Prevent items from being too wide */
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
/* Accessibility focus indicators */
|
|
1008
|
+
:host(:focus-within) {
|
|
1009
|
+
outline: 2px solid var(--schmancy-sys-color-primary);
|
|
1010
|
+
outline-offset: -2px;
|
|
1011
|
+
}
|
|
1012
|
+
`];
|
|
1013
|
+
}
|
|
988
1014
|
get activeIndex() {
|
|
989
1015
|
return this.activeIndex$.value;
|
|
990
1016
|
}
|
|
@@ -1000,23 +1026,23 @@ var Y = class extends n(O`
|
|
|
1000
1026
|
}
|
|
1001
1027
|
updateBottomOffset() {
|
|
1002
1028
|
let e = !this.isFullscreen && this.isMobileViewport();
|
|
1003
|
-
|
|
1029
|
+
a.setBottomOffset(e ? 80 : 0);
|
|
1004
1030
|
}
|
|
1005
1031
|
connectedCallback() {
|
|
1006
|
-
super.connectedCallback(), this.mobileMediaQuery = window.matchMedia("(max-width: 767px)"),
|
|
1032
|
+
super.connectedCallback(), this.mobileMediaQuery = window.matchMedia("(max-width: 767px)"), p(this.mobileMediaQuery, "change").pipe(x(() => this.updateBottomOffset()), b(this.disconnecting)).subscribe(), a.fullscreen$.pipe(x((e) => {
|
|
1007
1033
|
this.isFullscreen = e, this.visibility$.next(!this.isFullscreen && !this.isHiddenByScroll), this.updateBottomOffset();
|
|
1008
|
-
}),
|
|
1034
|
+
}), b(this.disconnecting)).subscribe(), this.updateBottomOffset(), p(this, "bar-item-click").pipe(x((e) => this.handleItemClick(e)), b(this.disconnecting)).subscribe(), p(this, "keydown").pipe(x((e) => this.handleKeyDown(e)), b(this.disconnecting)).subscribe(), this.activeIndex$.pipe(b(this.disconnecting)).subscribe((e) => {
|
|
1009
1035
|
this.updateActiveStates(e);
|
|
1010
1036
|
}), this.hideOnScroll && this.setupScrollListener(), this.updateItems();
|
|
1011
1037
|
}
|
|
1012
1038
|
disconnectedCallback() {
|
|
1013
|
-
super.disconnectedCallback(),
|
|
1039
|
+
super.disconnectedCallback(), a.setBottomOffset(0), this.mobileMediaQuery = null;
|
|
1014
1040
|
}
|
|
1015
1041
|
setupScrollListener() {
|
|
1016
|
-
|
|
1042
|
+
p(window, "scroll").pipe(ve(100), he(() => window.scrollY), ge(), y(([e, t]) => Math.abs(t - e) > this.SCROLL_THRESHOLD), x(([e, t]) => {
|
|
1017
1043
|
let n = t > e, r = t < e, i = this.isHiddenByScroll;
|
|
1018
1044
|
n && !this.isHiddenByScroll ? this.isHiddenByScroll = !0 : r && this.isHiddenByScroll && (this.isHiddenByScroll = !1), t <= this.SCROLL_THRESHOLD && (this.isHiddenByScroll = !1), i !== this.isHiddenByScroll && this.visibility$.next(!this.isHiddenByScroll && !this.isFullscreen);
|
|
1019
|
-
}),
|
|
1045
|
+
}), b(this.disconnecting)).subscribe();
|
|
1020
1046
|
}
|
|
1021
1047
|
focusItem(e) {
|
|
1022
1048
|
let t = this.getItems();
|
|
@@ -1039,8 +1065,7 @@ var Y = class extends n(O`
|
|
|
1039
1065
|
}
|
|
1040
1066
|
updateActiveStates(e) {
|
|
1041
1067
|
this.getItems().forEach((t, n) => {
|
|
1042
|
-
|
|
1043
|
-
r.setActive ? r.setActive(n === e) : r.active = n === e, r.hideLabels = this.hideLabels, t.tabIndex = n === e ? 0 : -1;
|
|
1068
|
+
t.setActive(n === e), t.hideLabels = this.hideLabels, t.tabIndex = n === e ? 0 : -1;
|
|
1044
1069
|
});
|
|
1045
1070
|
}
|
|
1046
1071
|
updated(e) {
|
|
@@ -1067,9 +1092,9 @@ var Y = class extends n(O`
|
|
|
1067
1092
|
aria-label="Main navigation"
|
|
1068
1093
|
aria-hidden=${e}
|
|
1069
1094
|
style="transform: ${n};"
|
|
1070
|
-
${
|
|
1071
|
-
bgColor:
|
|
1072
|
-
color:
|
|
1095
|
+
${o({
|
|
1096
|
+
bgColor: c.sys.color.surface.container,
|
|
1097
|
+
color: c.sys.color.surface.on
|
|
1073
1098
|
})}
|
|
1074
1099
|
>
|
|
1075
1100
|
<slot></slot>
|
|
@@ -1077,24 +1102,24 @@ var Y = class extends n(O`
|
|
|
1077
1102
|
`;
|
|
1078
1103
|
}
|
|
1079
1104
|
};
|
|
1080
|
-
|
|
1105
|
+
t([E({ type: Number })], Y.prototype, "activeIndex", null), t([E({
|
|
1081
1106
|
type: Boolean,
|
|
1082
1107
|
reflect: !0
|
|
1083
|
-
})], Y.prototype, "hideLabels", void 0),
|
|
1108
|
+
})], Y.prototype, "hideLabels", void 0), t([E({
|
|
1084
1109
|
type: Number,
|
|
1085
1110
|
reflect: !0
|
|
1086
|
-
})], Y.prototype, "elevation", void 0),
|
|
1111
|
+
})], Y.prototype, "elevation", void 0), t([E({
|
|
1087
1112
|
type: Boolean,
|
|
1088
1113
|
reflect: !0
|
|
1089
|
-
})], Y.prototype, "hideOnScroll", void 0),
|
|
1090
|
-
var X = "whereAreYouRicky",
|
|
1114
|
+
})], Y.prototype, "hideOnScroll", void 0), t([D()], Y.prototype, "focusedIndex", void 0), t([D()], Y.prototype, "isHiddenByScroll", void 0), t([D()], Y.prototype, "isFullscreen", void 0), Y = t([T("schmancy-navigation-bar")], Y);
|
|
1115
|
+
var X = "whereAreYouRicky", Z = "hereMorty", Q = new class {
|
|
1091
1116
|
constructor() {
|
|
1092
|
-
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new
|
|
1117
|
+
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new d(), this.find = (e) => pe([p(window, Z).pipe(ae((t) => !!t.detail.component.uuid && !!e.id && t.detail.component.id === e.id && t.detail.component.uuid !== e.uuid), m((e) => e.detail.component), le(1)), g(e).pipe(v(() => {
|
|
1093
1118
|
window.dispatchEvent(new CustomEvent(X, { detail: {
|
|
1094
1119
|
id: e.id,
|
|
1095
1120
|
callerID: e.uuid
|
|
1096
1121
|
} }));
|
|
1097
|
-
}))]).pipe(
|
|
1122
|
+
}))]).pipe(m(([e]) => e), de(0)), this.flip = (e) => {
|
|
1098
1123
|
let { from: t, to: n } = e, r = n.element.style.zIndex;
|
|
1099
1124
|
n.element.style.transformOrigin = "top left", n.element.style.setProperty("visibility", "visible"), n.element.style.zIndex = "1000";
|
|
1100
1125
|
let i = [{ transform: `translate(${t.rect.left - n.rect.left}px, ${t.rect.top - n.rect.top}px) scale(${t.rect.width / n.rect.width}, ${t.rect.height / n.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
|
|
@@ -1105,45 +1130,48 @@ var X = "whereAreYouRicky", De = "hereMorty", Z = new class {
|
|
|
1105
1130
|
}).onfinish = () => {
|
|
1106
1131
|
n.element.style.zIndex = r, n.element.style.transformOrigin = "";
|
|
1107
1132
|
};
|
|
1108
|
-
}, this.flipRequests.pipe(
|
|
1133
|
+
}, this.flipRequests.pipe(te(1), m((e) => e.map(({ from: e, to: t, host: n }, r) => ({
|
|
1109
1134
|
from: e,
|
|
1110
1135
|
to: t,
|
|
1111
1136
|
host: n,
|
|
1112
1137
|
i: r
|
|
1113
|
-
}))),
|
|
1138
|
+
}))), ne((e) => pe(e.map((e) => g(this.flip(e)))))).subscribe();
|
|
1114
1139
|
}
|
|
1115
1140
|
}();
|
|
1116
|
-
function
|
|
1117
|
-
return
|
|
1141
|
+
function Ee(e) {
|
|
1142
|
+
return se(50).pipe(he(() => e.getBoundingClientRect()), me((e, t) => e.width === t.width && e.height === t.height && e.top === t.top && e.right === t.right && e.bottom === t.bottom && e.left === t.left), _e(1));
|
|
1118
1143
|
}
|
|
1119
|
-
var
|
|
1144
|
+
var $ = class extends e {
|
|
1120
1145
|
constructor(...e) {
|
|
1121
1146
|
super(...e), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
|
|
1122
1147
|
}
|
|
1148
|
+
static {
|
|
1149
|
+
this.styles = [O``];
|
|
1150
|
+
}
|
|
1123
1151
|
get _slottedChildren() {
|
|
1124
1152
|
return this.shadowRoot.querySelector("slot").assignedElements({ flatten: !0 });
|
|
1125
1153
|
}
|
|
1126
1154
|
connectedCallback() {
|
|
1127
1155
|
if (this.id === void 0) throw Error("id is required");
|
|
1128
|
-
super.connectedCallback(),
|
|
1129
|
-
this.dispatchEvent(new CustomEvent(
|
|
1156
|
+
super.connectedCallback(), h(p(window, r).pipe(v({ next: () => {
|
|
1157
|
+
this.dispatchEvent(new CustomEvent(i, {
|
|
1130
1158
|
detail: { component: this },
|
|
1131
1159
|
bubbles: !0,
|
|
1132
1160
|
composed: !0
|
|
1133
1161
|
}));
|
|
1134
|
-
} })),
|
|
1135
|
-
e.detail.id === this.id && this.uuid && e.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(
|
|
1162
|
+
} })), p(window, X).pipe(v({ next: (e) => {
|
|
1163
|
+
e.detail.id === this.id && this.uuid && e.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(Z, {
|
|
1136
1164
|
detail: { component: this },
|
|
1137
1165
|
bubbles: !0,
|
|
1138
1166
|
composed: !0
|
|
1139
1167
|
}));
|
|
1140
|
-
} }))).pipe(
|
|
1168
|
+
} }))).pipe(_(this.disconnecting)).subscribe();
|
|
1141
1169
|
}
|
|
1142
1170
|
async firstUpdated() {
|
|
1143
|
-
|
|
1171
|
+
g(Q.activeTeleportations.get(this.id)).pipe(ae((e) => !!e), _(this.disconnecting), ue()).subscribe({
|
|
1144
1172
|
next: (e) => {
|
|
1145
|
-
this.style.setProperty("visibility", "hidden"),
|
|
1146
|
-
|
|
1173
|
+
this.style.setProperty("visibility", "hidden"), Ee(this).pipe(_(this.disconnecting)).subscribe({ next: (t) => {
|
|
1174
|
+
Q.activeTeleportations.set(this.id, t), Q.flipRequests.next({
|
|
1147
1175
|
from: { rect: e },
|
|
1148
1176
|
to: {
|
|
1149
1177
|
rect: t,
|
|
@@ -1154,8 +1182,8 @@ var Q = class extends a(O``) {
|
|
|
1154
1182
|
} });
|
|
1155
1183
|
},
|
|
1156
1184
|
error: () => {
|
|
1157
|
-
this.style.setProperty("visibility", "visible"),
|
|
1158
|
-
|
|
1185
|
+
this.style.setProperty("visibility", "visible"), Ee(this).pipe(_(this.disconnecting)).subscribe({ next: (e) => {
|
|
1186
|
+
Q.activeTeleportations.set(this.id, e);
|
|
1159
1187
|
} });
|
|
1160
1188
|
},
|
|
1161
1189
|
complete: () => {}
|
|
@@ -1165,88 +1193,8 @@ var Q = class extends a(O``) {
|
|
|
1165
1193
|
return k`<slot></slot>`;
|
|
1166
1194
|
}
|
|
1167
1195
|
};
|
|
1168
|
-
|
|
1196
|
+
t([E({
|
|
1169
1197
|
type: Number,
|
|
1170
1198
|
reflect: !0
|
|
1171
|
-
})],
|
|
1172
|
-
|
|
1173
|
-
constructor(...e) {
|
|
1174
|
-
super(...e), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
|
|
1175
|
-
}
|
|
1176
|
-
render() {
|
|
1177
|
-
let e;
|
|
1178
|
-
e = this.src ? k`<img class="w-full h-full object-cover" src="${this.src}" alt="Avatar" />` : this.initials ? k`<span class="text-center font-medium">${this.initials.substring(0, 2).toUpperCase()}</span>` : this.icon ? k`<schmancy-icon>${this.icon}</schmancy-icon>` : k`<schmancy-icon>person</schmancy-icon>`;
|
|
1179
|
-
let t = {
|
|
1180
|
-
"relative flex items-center justify-center overflow-hidden": !0,
|
|
1181
|
-
[{
|
|
1182
|
-
xxs: "w-5 h-5 text-[8px]",
|
|
1183
|
-
xs: "w-6 h-6 text-xs",
|
|
1184
|
-
sm: "w-8 h-8 text-sm",
|
|
1185
|
-
md: "w-10 h-10 text-base",
|
|
1186
|
-
lg: "w-12 h-12 text-lg",
|
|
1187
|
-
xl: "w-16 h-16 text-xl"
|
|
1188
|
-
}[this.size]]: !0,
|
|
1189
|
-
[{
|
|
1190
|
-
circle: "rounded-full",
|
|
1191
|
-
square: "rounded-md"
|
|
1192
|
-
}[this.shape]]: !0,
|
|
1193
|
-
"border-2 border-surface-container": this.bordered
|
|
1194
|
-
}, n = this.getColorAttributes();
|
|
1195
|
-
return k`
|
|
1196
|
-
<div class="${this.classMap(t)}" ${n}>
|
|
1197
|
-
${e} ${this.status === "none" ? "" : this.renderStatusIndicator()}
|
|
1198
|
-
</div>
|
|
1199
|
-
`;
|
|
1200
|
-
}
|
|
1201
|
-
getColorAttributes() {
|
|
1202
|
-
return c({
|
|
1203
|
-
primary: {
|
|
1204
|
-
bgColor: u.sys.color.primary.container,
|
|
1205
|
-
color: u.sys.color.primary.onContainer
|
|
1206
|
-
},
|
|
1207
|
-
secondary: {
|
|
1208
|
-
bgColor: u.sys.color.secondary.container,
|
|
1209
|
-
color: u.sys.color.secondary.onContainer
|
|
1210
|
-
},
|
|
1211
|
-
tertiary: {
|
|
1212
|
-
bgColor: u.sys.color.tertiary.container,
|
|
1213
|
-
color: u.sys.color.tertiary.onContainer
|
|
1214
|
-
},
|
|
1215
|
-
success: {
|
|
1216
|
-
bgColor: u.sys.color.success.container,
|
|
1217
|
-
color: u.sys.color.success.onContainer
|
|
1218
|
-
},
|
|
1219
|
-
error: {
|
|
1220
|
-
bgColor: u.sys.color.error.container,
|
|
1221
|
-
color: u.sys.color.error.onContainer
|
|
1222
|
-
},
|
|
1223
|
-
neutral: {
|
|
1224
|
-
bgColor: u.sys.color.surface.container,
|
|
1225
|
-
color: u.sys.color.surface.on
|
|
1226
|
-
}
|
|
1227
|
-
}[this.color]);
|
|
1228
|
-
}
|
|
1229
|
-
renderStatusIndicator() {
|
|
1230
|
-
let e = {
|
|
1231
|
-
online: u.sys.color.success.default,
|
|
1232
|
-
offline: u.sys.color.surface.onVariant,
|
|
1233
|
-
busy: u.sys.color.error.default,
|
|
1234
|
-
away: u.sys.color.tertiary.default
|
|
1235
|
-
}, t = {
|
|
1236
|
-
"absolute bottom-0 right-0 rounded-full border-2 border-surface-default": !0,
|
|
1237
|
-
[{
|
|
1238
|
-
xxs: "w-1 h-1",
|
|
1239
|
-
xs: "w-1.5 h-1.5",
|
|
1240
|
-
sm: "w-2 h-2",
|
|
1241
|
-
md: "w-2.5 h-2.5",
|
|
1242
|
-
lg: "w-3 h-3",
|
|
1243
|
-
xl: "w-4 h-4"
|
|
1244
|
-
}[this.size]]: !0
|
|
1245
|
-
};
|
|
1246
|
-
return k`
|
|
1247
|
-
<div class="${this.classMap(t)}" style="background-color: ${e[this.status]};"></div>
|
|
1248
|
-
`;
|
|
1249
|
-
}
|
|
1250
|
-
};
|
|
1251
|
-
i([T({ type: String })], $.prototype, "initials", void 0), i([T({ type: String })], $.prototype, "src", void 0), i([T({ type: String })], $.prototype, "icon", void 0), i([T({ type: String })], $.prototype, "size", void 0), i([T({ type: String })], $.prototype, "color", void 0), i([T({ type: String })], $.prototype, "shape", void 0), i([T({ type: Boolean })], $.prototype, "bordered", void 0), i([T({ type: String })], $.prototype, "status", void 0), $ = i([w("schmancy-avatar")], $);
|
|
1252
|
-
export { N as C, A as E, M as S, j as T, R as _, Z as a, F as b, q as c, W as d, V as f, z as g, Te as h, X as i, G as l, Ee as m, Q as n, Y as o, B as p, De as r, J as s, $ as t, U as u, L as v, we as w, I as x, P as y };
|
|
1199
|
+
})], $.prototype, "uuid", void 0), t([E({ type: String })], $.prototype, "id", void 0), t([E({ type: Number })], $.prototype, "delay", void 0), $ = t([T("schmancy-teleport")], $);
|
|
1200
|
+
export { Ce as C, N as S, A as T, L as _, Y as a, I as b, G as c, V as d, B as f, R as g, z as h, Q as i, U as l, we as m, Z as n, J as o, Te as p, X as r, q as s, $ as t, W as u, P as v, j as w, M as x, F as y };
|