@mhmo91/schmancy 0.10.34 → 0.10.36
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 +1144 -1101
- package/dist/SchmancyElement-BBzRWB1w.cjs +2 -0
- package/dist/SchmancyElement-BBzRWB1w.cjs.map +1 -0
- package/dist/SchmancyElement-C3CpdNsi.js +284 -0
- package/dist/SchmancyElement-C3CpdNsi.js.map +1 -0
- package/dist/agent/schmancy.agent.js +3414 -3263
- package/dist/agent/schmancy.agent.js.map +1 -1
- package/dist/agent/schmancy.manifest.json +335 -276
- package/dist/{area-DviXdbDx.js → area-BA96mwFY.js} +2 -2
- package/dist/{area-DviXdbDx.js.map → area-BA96mwFY.js.map} +1 -1
- package/dist/{area-CTSTgjlx.cjs → area-DtyQDdOF.cjs} +1 -1
- package/dist/{area-CTSTgjlx.cjs.map → area-DtyQDdOF.cjs.map} +1 -1
- package/dist/area.cjs +1 -1
- package/dist/area.js +1 -1
- package/dist/{audio-Q9oB_cQR.cjs → audio-B_jT9Xr7.cjs} +1 -1
- package/dist/{audio-Q9oB_cQR.cjs.map → audio-B_jT9Xr7.cjs.map} +1 -1
- package/dist/{audio-DFYoaw0M.js → audio-D52h1jAT.js} +1 -1
- package/dist/{audio-DFYoaw0M.js.map → audio-D52h1jAT.js.map} +1 -1
- package/dist/audio.cjs +1 -1
- package/dist/audio.js +2 -2
- package/dist/{autocomplete-DmLXJr7C.cjs → autocomplete-Bts5Jwwr.cjs} +1 -1
- package/dist/{autocomplete-DmLXJr7C.cjs.map → autocomplete-Bts5Jwwr.cjs.map} +1 -1
- package/dist/{autocomplete-BDvuma6D.js → autocomplete-CI4QJXAN.js} +3 -3
- package/dist/{autocomplete-BDvuma6D.js.map → autocomplete-CI4QJXAN.js.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.js +3 -3
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/boat-I4B1UNMc.cjs +34 -0
- package/dist/boat-I4B1UNMc.cjs.map +1 -0
- package/dist/boat-_N1x5U_3.js +191 -0
- package/dist/boat-_N1x5U_3.js.map +1 -0
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.js +2 -2
- package/dist/{busy-CgzZbGfx.cjs → busy-BIUonyPk.cjs} +1 -1
- package/dist/{busy-CgzZbGfx.cjs.map → busy-BIUonyPk.cjs.map} +1 -1
- package/dist/{busy-DgQ4ux5N.js → busy-CCB3qKnh.js} +2 -2
- package/dist/{busy-DgQ4ux5N.js.map → busy-CCB3qKnh.js.map} +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/{button-qbN1muQ0.js → button-C89bPnHt.js} +2 -2
- package/dist/{button-qbN1muQ0.js.map → button-C89bPnHt.js.map} +1 -1
- package/dist/{button-DFvR1iXX.cjs → button-CkwQH-g3.cjs} +1 -1
- package/dist/{button-DFvR1iXX.cjs.map → button-CkwQH-g3.cjs.map} +1 -1
- package/dist/button.cjs +4 -4
- package/dist/button.cjs.map +1 -1
- package/dist/button.js +16 -22
- package/dist/button.js.map +1 -1
- package/dist/{card-D_GlwZ5q.cjs → card-BO93_oxQ.cjs} +1 -1
- package/dist/{card-D_GlwZ5q.cjs.map → card-BO93_oxQ.cjs.map} +1 -1
- package/dist/{card-DAbr-7Vy.js → card-CFsCgJKZ.js} +2 -2
- package/dist/{card-DAbr-7Vy.js.map → card-CFsCgJKZ.js.map} +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-BNORaxMF.js → checkbox-Bh7q0djq.js} +2 -2
- package/dist/{checkbox-BNORaxMF.js.map → checkbox-Bh7q0djq.js.map} +1 -1
- package/dist/{checkbox-BUY_uc_r.cjs → checkbox-CFUBUFtW.cjs} +1 -1
- package/dist/{checkbox-BUY_uc_r.cjs.map → checkbox-CFUBUFtW.cjs.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-Dg6Lk6BT.js → chips-6YaoRmeG.js} +145 -122
- package/dist/chips-6YaoRmeG.js.map +1 -0
- package/dist/{chips-CXZ4dJCK.cjs → chips-BfzpsyV1.cjs} +44 -33
- package/dist/chips-BfzpsyV1.cjs.map +1 -0
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +2 -2
- package/dist/connectivity.cjs +1 -1
- package/dist/connectivity.js +3 -3
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{date-range-BU6WX7d5.js → date-range-CEo_Kjqw.js} +129 -137
- package/dist/date-range-CEo_Kjqw.js.map +1 -0
- package/dist/{date-range-C-_be3_E.cjs → date-range-N-A249O9.cjs} +25 -19
- package/dist/date-range-N-A249O9.cjs.map +1 -0
- package/dist/{date-range-inline-7o7xtVIu.js → date-range-inline-BwialV9j.js} +2 -2
- package/dist/{date-range-inline-7o7xtVIu.js.map → date-range-inline-BwialV9j.js.map} +1 -1
- package/dist/{date-range-inline-DJtUmHKF.cjs → date-range-inline-DFopysWF.cjs} +1 -1
- package/dist/{date-range-inline-DJtUmHKF.cjs.map → date-range-inline-DFopysWF.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 +1 -1
- package/dist/delay.js +2 -2
- package/dist/{details-Bs0MyyvF.cjs → details-BLRPV8sY.cjs} +1 -1
- package/dist/{details-Bs0MyyvF.cjs.map → details-BLRPV8sY.cjs.map} +1 -1
- package/dist/{details-EfbDPVEo.js → details-GtpfI2hA.js} +2 -2
- package/dist/{details-EfbDPVEo.js.map → details-GtpfI2hA.js.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{directives-zi1Mm2er.js → directives-C2dXgpCY.js} +13 -6
- package/dist/directives-C2dXgpCY.js.map +1 -0
- package/dist/{directives-fLwDj6b0.cjs → directives-CvYGSW_a.cjs} +2 -2
- package/dist/directives-CvYGSW_a.cjs.map +1 -0
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +2 -2
- package/dist/{divider-CEPfrIwe.js → divider-D0pGX2VB.js} +2 -2
- package/dist/{divider-CEPfrIwe.js.map → divider-D0pGX2VB.js.map} +1 -1
- package/dist/{divider-CdIsWZrM.cjs → divider-rNsWCvMi.cjs} +1 -1
- package/dist/{divider-CdIsWZrM.cjs.map → divider-rNsWCvMi.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +2 -2
- package/dist/{expand-g1vqqUp1.js → expand-FcKAzJta.js} +3 -3
- package/dist/{expand-g1vqqUp1.js.map → expand-FcKAzJta.js.map} +1 -1
- package/dist/{expand--at1k3qo.cjs → expand-tffQHGbZ.cjs} +1 -1
- package/dist/{expand--at1k3qo.cjs.map → expand-tffQHGbZ.cjs.map} +1 -1
- package/dist/expand.cjs +1 -1
- package/dist/expand.js +1 -1
- package/dist/fab.cjs +77 -0
- package/dist/fab.cjs.map +1 -0
- package/dist/fab.js +151 -0
- package/dist/fab.js.map +1 -0
- package/dist/{float-P9HukAm-.cjs → float-CDjgxWyy.cjs} +1 -1
- package/dist/{float-P9HukAm-.cjs.map → float-CDjgxWyy.cjs.map} +1 -1
- package/dist/{float-DxVzgI9o.js → float-CQ1WEp3M.js} +2 -2
- package/dist/{float-DxVzgI9o.js.map → float-CQ1WEp3M.js.map} +1 -1
- package/dist/float.cjs +1 -1
- package/dist/float.js +1 -1
- package/dist/{form-CqLaozHp.js → form-H24puioV.js} +3 -3
- package/dist/{form-CqLaozHp.js.map → form-H24puioV.js.map} +1 -1
- package/dist/{form-ByYhXe1p.cjs → form-VYhbbir3.cjs} +1 -1
- package/dist/{form-ByYhXe1p.cjs.map → form-VYhbbir3.cjs.map} +1 -1
- package/dist/form.cjs +6 -6
- package/dist/form.cjs.map +1 -1
- package/dist/form.js +25 -23
- package/dist/form.js.map +1 -1
- package/dist/handover/agent-runtime-followups.md +1 -1
- package/dist/handover/agent-runtime-v1.md +3 -3
- package/dist/{icons-DYtiRU5V.cjs → icons-B_a1HStW.cjs} +1 -1
- package/dist/{icons-DYtiRU5V.cjs.map → icons-B_a1HStW.cjs.map} +1 -1
- package/dist/{icons-CkphcMp6.js → icons-DBxfN91B.js} +2 -2
- package/dist/{icons-CkphcMp6.js.map → icons-DBxfN91B.js.map} +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/{iframe-CjqJksl8.js → iframe-BDVElN8z.js} +2 -2
- package/dist/{iframe-CjqJksl8.js.map → iframe-BDVElN8z.js.map} +1 -1
- package/dist/{iframe-C3trkP8q.cjs → iframe-CG-z9qev.cjs} +1 -1
- package/dist/{iframe-C3trkP8q.cjs.map → iframe-CG-z9qev.cjs.map} +1 -1
- package/dist/iframe.cjs +1 -1
- package/dist/iframe.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +57 -56
- package/dist/{input-DuavpwNL.cjs → input-B14Nn6xD.cjs} +1 -1
- package/dist/{input-DuavpwNL.cjs.map → input-B14Nn6xD.cjs.map} +1 -1
- package/dist/{input-CG51zDVh.js → input-Bt_o4sYo.js} +2 -2
- package/dist/{input-CG51zDVh.js.map → input-Bt_o4sYo.js.map} +1 -1
- package/dist/{input-chip-C6Lq1927.js → input-chip-DEqO0DXc.js} +2 -2
- package/dist/input-chip-DEqO0DXc.js.map +1 -0
- package/dist/{input-chip-57tgNXKT.cjs → input-chip-ugYu9Fn9.cjs} +1 -1
- package/dist/input-chip-ugYu9Fn9.cjs.map +1 -0
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/json.cjs +1 -1
- package/dist/json.js +3 -3
- package/dist/kbd.cjs +1 -1
- package/dist/kbd.js +2 -2
- package/dist/{layout-D4IOwx7p.js → layout-BJ_43VrH.js} +1 -1
- package/dist/{layout-D4IOwx7p.js.map → layout-BJ_43VrH.js.map} +1 -1
- package/dist/{layout-6ipbiWTl.cjs → layout-DF9ZaQ-b.cjs} +1 -1
- package/dist/{layout-6ipbiWTl.cjs.map → layout-DF9ZaQ-b.cjs.map} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +2 -2
- package/dist/{lightbox-H8pVWGMX.cjs → lightbox-B47Zoqv-.cjs} +1 -1
- package/dist/{lightbox-H8pVWGMX.cjs.map → lightbox-B47Zoqv-.cjs.map} +1 -1
- package/dist/{lightbox-CsyO2XSr.js → lightbox-ZmuoBBFT.js} +2 -2
- package/dist/{lightbox-CsyO2XSr.js.map → lightbox-ZmuoBBFT.js.map} +1 -1
- package/dist/lightbox.cjs +1 -1
- package/dist/lightbox.js +1 -1
- package/dist/{list-BAwH0pQW.js → list-C47xzld_.js} +2 -2
- package/dist/{list-BAwH0pQW.js.map → list-C47xzld_.js.map} +1 -1
- package/dist/{list-Bs9m8kw7.cjs → list-CaSWrlG2.cjs} +1 -1
- package/dist/{list-Bs9m8kw7.cjs.map → list-CaSWrlG2.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{menu-tQVARVaC.js → menu-8RObM6Ie.js} +3 -3
- package/dist/{menu-tQVARVaC.js.map → menu-8RObM6Ie.js.map} +1 -1
- package/dist/{menu-BMcGzj1h.cjs → menu-Jpsy85SX.cjs} +1 -1
- package/dist/{menu-BMcGzj1h.cjs.map → menu-Jpsy85SX.cjs.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/{mixins-CGXSzZc7.cjs → mixins-DPdzC9ZH.cjs} +1 -1
- package/dist/{mixins-CGXSzZc7.cjs.map → mixins-DPdzC9ZH.cjs.map} +1 -1
- package/dist/{mixins-Bp0wIHg2.js → mixins-DTzfFVyv.js} +1 -1
- package/dist/{mixins-Bp0wIHg2.js.map → mixins-DTzfFVyv.js.map} +1 -1
- package/dist/mixins.cjs +1 -1
- package/dist/mixins.js +2 -2
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/navigation-bar.cjs +1 -1
- package/dist/navigation-bar.js +1 -1
- package/dist/navigation-rail.cjs +1 -1
- package/dist/navigation-rail.js +2 -2
- package/dist/{notification-D1tX2nx5.js → notification-Ccktcj9H.js} +4 -4
- package/dist/{notification-D1tX2nx5.js.map → notification-Ccktcj9H.js.map} +1 -1
- package/dist/{notification-Bz00zdpV.cjs → notification-DSkB-sn0.cjs} +1 -1
- package/dist/{notification-Bz00zdpV.cjs.map → notification-DSkB-sn0.cjs.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +1 -1
- package/dist/{option-BnybLEDO.cjs → option-0aNiVB3Q.cjs} +1 -1
- package/dist/{option-BnybLEDO.cjs.map → option-0aNiVB3Q.cjs.map} +1 -1
- package/dist/{option-BpGV8Apj.js → option-CkMxwBqU.js} +2 -2
- package/dist/{option-BpGV8Apj.js.map → option-CkMxwBqU.js.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{overlay-UQR2Dy3u.cjs → overlay-BS-ta-zq.cjs} +5 -5
- package/dist/overlay-BS-ta-zq.cjs.map +1 -0
- package/dist/{overlay-BpNhd74N.js → overlay-H3Wt_dgQ.js} +108 -108
- package/dist/overlay-H3Wt_dgQ.js.map +1 -0
- package/dist/overlay.cjs +1 -1
- package/dist/{overlay.confirm-body-CVDtVk5X.cjs → overlay.confirm-body-CR9xaqOE.cjs} +1 -1
- package/dist/{overlay.confirm-body-CVDtVk5X.cjs.map → overlay.confirm-body-CR9xaqOE.cjs.map} +1 -1
- package/dist/{overlay.confirm-body-BHcXu5Wk.js → overlay.confirm-body-Dxn_wNm3.js} +6 -6
- package/dist/{overlay.confirm-body-BHcXu5Wk.js.map → overlay.confirm-body-Dxn_wNm3.js.map} +1 -1
- package/dist/overlay.js +3 -3
- package/dist/{overlay.service-DTE6NwIM.js → overlay.service-C46kOtUi.js} +2 -2
- package/dist/{overlay.service-DTE6NwIM.js.map → overlay.service-C46kOtUi.js.map} +1 -1
- package/dist/{overlay.service-C8RsQzgM.cjs → overlay.service-DEj3rfRr.cjs} +1 -1
- package/dist/{overlay.service-C8RsQzgM.cjs.map → overlay.service-DEj3rfRr.cjs.map} +1 -1
- package/dist/{progress-CAKsxp29.js → progress-BK7gSq8j.js} +2 -2
- package/dist/{progress-CAKsxp29.js.map → progress-BK7gSq8j.js.map} +1 -1
- package/dist/{progress-gbIALDRs.cjs → progress-zs18GR6C.cjs} +1 -1
- package/dist/{progress-gbIALDRs.cjs.map → progress-zs18GR6C.cjs.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-group-otyvZvUk.js → radio-group-1HCpzRUB.js} +2 -2
- package/dist/{radio-group-otyvZvUk.js.map → radio-group-1HCpzRUB.js.map} +1 -1
- package/dist/{radio-group-CfJ5DtI4.cjs → radio-group-DbYlyPc-.cjs} +1 -1
- package/dist/{radio-group-CfJ5DtI4.cjs.map → radio-group-DbYlyPc-.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/range.cjs +1 -1
- package/dist/range.js +2 -2
- package/dist/{select-81jniVTs.cjs → select-B-SSmUDe.cjs} +1 -1
- package/dist/{select-81jniVTs.cjs.map → select-B-SSmUDe.cjs.map} +1 -1
- package/dist/{select-9vXx1fhr.js → select-CEyhNtZ2.js} +3 -3
- package/dist/{select-9vXx1fhr.js.map → select-CEyhNtZ2.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.js +2 -2
- package/dist/skills/INDEX.md +1 -1
- package/dist/skills/SKILL.md +6 -7
- package/dist/skills/boat.md +21 -15
- package/dist/skills/fab.md +75 -0
- package/dist/skills/schmancy/INDEX.md +1 -1
- package/dist/skills/schmancy/SKILL.md +6 -7
- package/dist/skills/schmancy/boat.md +21 -15
- package/dist/skills/schmancy/fab.md +75 -0
- package/dist/skills/schmancy/theme.md +1 -1
- package/dist/skills/theme.md +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +2 -2
- package/dist/{sound.service-D3ZSq1Kj.js → sound.service-DO4SmUUT.js} +1 -1
- package/dist/{sound.service-D3ZSq1Kj.js.map → sound.service-DO4SmUUT.js.map} +1 -1
- package/dist/{sound.service-CmIw63aM.cjs → sound.service-G_8GV_6L.cjs} +1 -1
- package/dist/{sound.service-CmIw63aM.cjs.map → sound.service-G_8GV_6L.cjs.map} +1 -1
- package/dist/{splash-screen-BOjrmGLk.js → splash-screen-B1mM4_xz.js} +2 -2
- package/dist/{splash-screen-BOjrmGLk.js.map → splash-screen-B1mM4_xz.js.map} +1 -1
- package/dist/{splash-screen-C5KAWXvA.cjs → splash-screen-cbz4bxjB.cjs} +1 -1
- package/dist/{splash-screen-C5KAWXvA.cjs.map → splash-screen-cbz4bxjB.cjs.map} +1 -1
- package/dist/splash-screen.cjs +1 -1
- package/dist/splash-screen.js +1 -1
- package/dist/{src-Bm1vop0l.cjs → src-czeiuT1m.cjs} +1 -1
- package/dist/{src-Bm1vop0l.cjs.map → src-czeiuT1m.cjs.map} +1 -1
- package/dist/{src-DoOhMBtI.js → src-tncsWsTY.js} +36 -35
- package/dist/{src-DoOhMBtI.js.map → src-tncsWsTY.js.map} +1 -1
- package/dist/{state-Cex3rmx2.cjs → state-Cx0aoL5e.cjs} +1 -1
- package/dist/{state-Cex3rmx2.cjs.map → state-Cx0aoL5e.cjs.map} +1 -1
- package/dist/{state-CWBRTSvE.js → state-DJDp3N7J.js} +1 -1
- package/dist/{state-CWBRTSvE.js.map → state-DJDp3N7J.js.map} +1 -1
- package/dist/state.cjs +1 -1
- package/dist/state.js +2 -2
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +2 -2
- package/dist/{surface-PfiejLuw.cjs → surface-C3cxTcJD.cjs} +1 -1
- package/dist/{surface-PfiejLuw.cjs.map → surface-C3cxTcJD.cjs.map} +1 -1
- package/dist/{surface-9S5scTsD.js → surface-CYBl8_a3.js} +2 -2
- package/dist/{surface-9S5scTsD.js.map → surface-CYBl8_a3.js.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/switch.cjs +1 -1
- package/dist/switch.js +2 -2
- package/dist/table.cjs +1 -1
- package/dist/table.js +2 -2
- package/dist/{tabs-BBOjAmgG.js → tabs-DHy93Q3N.js} +2 -2
- package/dist/{tabs-BBOjAmgG.js.map → tabs-DHy93Q3N.js.map} +1 -1
- package/dist/{tabs-uYvb1P06.cjs → tabs-ORQ_Zd43.cjs} +1 -1
- package/dist/{tabs-uYvb1P06.cjs.map → tabs-ORQ_Zd43.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-YPHX4g7Y.cjs → textarea-CEUaDURR.cjs} +1 -1
- package/dist/{textarea-YPHX4g7Y.cjs.map → textarea-CEUaDURR.cjs.map} +1 -1
- package/dist/{textarea-QzSj8Dkl.js → textarea-DHIMt-ly.js} +2 -2
- package/dist/{textarea-QzSj8Dkl.js.map → textarea-DHIMt-ly.js.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/theme-CJpjkqHr.cjs +181 -0
- package/dist/{theme-iKUaS9JB.cjs.map → theme-CJpjkqHr.cjs.map} +1 -1
- package/dist/{theme-C2Mp-VGt.js → theme-CgI9PRco.js} +6 -5
- package/dist/{theme-C2Mp-VGt.js.map → theme-CgI9PRco.js.map} +1 -1
- package/dist/{theme-button-CJmhxfMe.cjs → theme-button--FuBkuVr.cjs} +1 -1
- package/dist/{theme-button-CJmhxfMe.cjs.map → theme-button--FuBkuVr.cjs.map} +1 -1
- package/dist/{theme-button-DGWAXhzd.js → theme-button-D-FXb3oO.js} +2 -2
- package/dist/{theme-button-DGWAXhzd.js.map → theme-button-D-FXb3oO.js.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/theme.js +3 -3
- package/dist/{theme.service-hc4N-1Oz.js → theme.service-BfTK1Wtl.js} +1 -1
- package/dist/{theme.service-hc4N-1Oz.js.map → theme.service-BfTK1Wtl.js.map} +1 -1
- package/dist/{theme.service-p61RsJBF.cjs → theme.service-Dg7LO0Qz.cjs} +1 -1
- package/dist/{theme.service-p61RsJBF.cjs.map → theme.service-Dg7LO0Qz.cjs.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +2 -2
- package/dist/{typography-DwV0sqht.js → typography-BEGLfHwz.js} +2 -2
- package/dist/{typography-DwV0sqht.js.map → typography-BEGLfHwz.js.map} +1 -1
- package/dist/{typography-Bdt8RlX2.cjs → typography-CxA3sx9B.cjs} +1 -1
- package/dist/{typography-Bdt8RlX2.cjs.map → typography-CxA3sx9B.cjs.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/dist/visually-hidden.cjs +1 -1
- package/dist/visually-hidden.js +2 -2
- package/dist/{window-n4jN60B_.js → window-B_n4P9az.js} +3 -3
- package/dist/{window-n4jN60B_.js.map → window-B_n4P9az.js.map} +1 -1
- package/dist/{window-D2WfvNng.cjs → window-Vl1u1-EG.cjs} +1 -1
- package/dist/{window-D2WfvNng.cjs.map → window-Vl1u1-EG.cjs.map} +1 -1
- package/dist/window.cjs +1 -1
- package/dist/window.js +1 -1
- package/package.json +1 -1
- package/skills/schmancy/INDEX.md +1 -1
- package/skills/schmancy/SKILL.md +6 -7
- package/skills/schmancy/boat.md +21 -15
- package/skills/schmancy/fab.md +75 -0
- package/skills/schmancy/theme.md +1 -1
- package/src/CLAUDE.md +22 -16
- package/src/boat/boat.test.ts +130 -0
- package/src/boat/boat.ts +192 -186
- package/src/button/icon-button.ts +18 -30
- package/src/chips/assist-chip.ts +2 -263
- package/src/chips/chips.ts +2 -259
- package/src/chips/filter-chip.ts +2 -255
- package/src/chips/index.ts +2 -5
- package/src/chips/input-chip.ts +2 -413
- package/src/chips/suggestion-chip.ts +2 -266
- package/src/directives/fill.ts +28 -5
- package/src/fab/fab.test.ts +101 -0
- package/src/fab/fab.ts +226 -0
- package/src/fab/index.ts +1 -0
- package/src/form/fields/chips/assist-chip.ts +263 -0
- package/src/form/fields/chips/chips.ts +234 -0
- package/src/form/fields/chips/filter-chip.ts +255 -0
- package/src/form/fields/chips/index.ts +5 -0
- package/src/form/fields/chips/input-chip.ts +413 -0
- package/src/form/fields/chips/suggestion-chip.ts +266 -0
- package/src/form/fields/date-range/date-range.test.ts +44 -0
- package/src/form/fields/date-range/date-range.ts +103 -97
- package/src/form/fields/index.ts +1 -0
- package/src/index.ts +2 -1
- package/src/overlay/overlay.animations.ts +2 -3
- package/src/overlay/overlay.component.ts +8 -4
- package/src/overlay/overlay.types.ts +14 -2
- package/src/theme/theme.component.ts +1 -0
- package/src/theme/theme.style.css +3 -0
- package/types/src/boat/boat.d.ts +40 -25
- package/types/src/boat/boat.test.d.ts +2 -0
- package/types/src/button/icon-button.d.ts +3 -2
- package/types/src/chips/assist-chip.d.ts +1 -47
- package/types/src/chips/chips.d.ts +1 -43
- package/types/src/chips/filter-chip.d.ts +1 -67
- package/types/src/chips/index.d.ts +1 -5
- package/types/src/chips/input-chip.d.ts +1 -82
- package/types/src/chips/suggestion-chip.d.ts +1 -52
- package/types/src/fab/fab.d.ts +80 -0
- package/types/src/fab/fab.test.d.ts +2 -0
- package/types/src/fab/index.d.ts +1 -0
- package/types/src/form/fields/chips/assist-chip.d.ts +47 -0
- package/types/src/form/fields/chips/chips.d.ts +35 -0
- package/types/src/form/fields/chips/filter-chip.d.ts +67 -0
- package/types/src/form/fields/chips/index.d.ts +5 -0
- package/types/src/form/fields/chips/input-chip.d.ts +82 -0
- package/types/src/form/fields/chips/suggestion-chip.d.ts +52 -0
- package/types/src/form/fields/date-range/date-range.d.ts +5 -10
- package/types/src/form/fields/index.d.ts +1 -0
- package/types/src/index.d.ts +2 -1
- package/types/src/overlay/overlay.component.d.ts +1 -0
- package/types/src/overlay/overlay.types.d.ts +12 -2
- package/types/src/theme/theme.component.d.ts +1 -0
- package/dist/SchmancyElement-CA0Wqt8m.js +0 -284
- package/dist/SchmancyElement-CA0Wqt8m.js.map +0 -1
- package/dist/SchmancyElement-CYIif26I.cjs +0 -2
- package/dist/SchmancyElement-CYIif26I.cjs.map +0 -1
- package/dist/boat-BgpWcLnV.cjs +0 -38
- package/dist/boat-BgpWcLnV.cjs.map +0 -1
- package/dist/boat-Y5UMiJCV.js +0 -216
- package/dist/boat-Y5UMiJCV.js.map +0 -1
- package/dist/chips-CXZ4dJCK.cjs.map +0 -1
- package/dist/chips-Dg6Lk6BT.js.map +0 -1
- package/dist/date-range-BU6WX7d5.js.map +0 -1
- package/dist/date-range-C-_be3_E.cjs.map +0 -1
- package/dist/directives-fLwDj6b0.cjs.map +0 -1
- package/dist/directives-zi1Mm2er.js.map +0 -1
- package/dist/input-chip-57tgNXKT.cjs.map +0 -1
- package/dist/input-chip-C6Lq1927.js.map +0 -1
- package/dist/overlay-BpNhd74N.js.map +0 -1
- package/dist/overlay-UQR2Dy3u.cjs.map +0 -1
- package/dist/theme-iKUaS9JB.cjs +0 -181
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { TemplateResult } from 'lit'
|
|
2
2
|
import type { Observable } from 'rxjs'
|
|
3
|
-
import type { ComponentType } from '../area/router.types'
|
|
4
|
-
import type { THistoryStrategy } from '../area/router.types'
|
|
3
|
+
import type { ComponentType, THistoryStrategy } from '../area/router.types'
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* Sync factory that returns a TemplateResult. Called at mount time so closed-over
|
|
@@ -103,6 +102,19 @@ export interface ShowOptions {
|
|
|
103
102
|
* takeover view that doesn't have an anchor. */
|
|
104
103
|
as?: OverlayLayout
|
|
105
104
|
|
|
105
|
+
/** When `true` and layout resolves to `'sheet'`, the surface takes the
|
|
106
|
+
* full available height (`h-[90dvh]`) instead of sizing to content.
|
|
107
|
+
* The mount point becomes `flex-1 min-h-0 overflow-hidden` so the
|
|
108
|
+
* mounted component can fill it via `height: 100%`. Default `false`. */
|
|
109
|
+
full?: boolean
|
|
110
|
+
|
|
111
|
+
/** When `true` and layout is `'sheet'`, the surface takes the full
|
|
112
|
+
* available height (`h-[90dvh]`) rather than sizing to content. The
|
|
113
|
+
* mount point becomes `flex-1` so the mounted component can fill it
|
|
114
|
+
* via `height: 100%`. Use for immersive full-height panels (e.g. a
|
|
115
|
+
* document review). Default `false`. */
|
|
116
|
+
fillHeight?: boolean
|
|
117
|
+
|
|
106
118
|
/** Default `'push'`. Same vocabulary as `area.push()`.
|
|
107
119
|
* - `'push'` — new history entry; back dismisses, forward re-opens.
|
|
108
120
|
* - `'replace'` — replace current entry; back skips the overlay.
|
|
@@ -9,6 +9,7 @@ import { formatTheme } from './theme.format'
|
|
|
9
9
|
import { TSchmancyTheme } from './theme.interface'
|
|
10
10
|
import { ThemeHereIAm, ThemeWhereAreYou, ThemeWhereAreYouEvent } from './theme.events'
|
|
11
11
|
import style from './theme.style.css?inline'
|
|
12
|
+
import '../surface/surface'
|
|
12
13
|
export const tailwindStyles = unsafeCSS(style)
|
|
13
14
|
const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)')
|
|
14
15
|
const $colorScheme = new Observable<string>(subscriber => {
|
|
@@ -407,6 +407,9 @@
|
|
|
407
407
|
--tracking-wide: 0.025em;
|
|
408
408
|
--tracking-wider: 0.05em;
|
|
409
409
|
--tracking-widest: 0.1em;
|
|
410
|
+
--tracking-eyebrow: 0.18em;
|
|
411
|
+
--tracking-label: 0.14em;
|
|
412
|
+
--leading-display: 0.95;
|
|
410
413
|
--leading-tight: 1.25;
|
|
411
414
|
--leading-snug: 1.375;
|
|
412
415
|
--leading-normal: 1.5;
|
package/types/src/boat/boat.d.ts
CHANGED
|
@@ -2,45 +2,60 @@ import { SchmancyElement } from '@mixins/index';
|
|
|
2
2
|
import { type PropertyValues } from 'lit';
|
|
3
3
|
type Corner = 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
* overlay service.
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
5
|
+
* Corner-anchored launcher that delegates its expanded panel to the `show()`
|
|
6
|
+
* overlay service.
|
|
7
|
+
*
|
|
8
|
+
* Three slots, three non-overlapping intents — no element-type sniffing,
|
|
9
|
+
* ever:
|
|
10
|
+
*
|
|
11
|
+
* - `trigger` — pure consumer content. A native click anywhere on it
|
|
12
|
+
* opens the panel; interactive children (buttons, FABs, inputs) work
|
|
13
|
+
* with zero special-casing because the boat never calls
|
|
14
|
+
* `preventDefault` / `stopPropagation` / `setPointerCapture` here.
|
|
15
|
+
* - `drag-handle` — opt-in. Pointer-drag is wired ONLY to this slot's
|
|
16
|
+
* boat-owned wrapper. Slot it to make the boat draggable; omit it and
|
|
17
|
+
* the boat is static at its corner. (A no-move tap on the handle also
|
|
18
|
+
* opens, so the grip doubles as a launcher.)
|
|
19
|
+
* - _(default)_ — the panel body; parked hidden while collapsed,
|
|
20
|
+
* relocated into the `show()` overlay on open.
|
|
21
|
+
*
|
|
22
|
+
* The boat owns drag, corner-snapping, position persistence and the glass
|
|
23
|
+
* surface — never the collapsed shape.
|
|
10
24
|
*/
|
|
11
25
|
export default class SchmancyBoat extends SchmancyElement {
|
|
12
26
|
#private;
|
|
13
|
-
|
|
27
|
+
/** Identity for localStorage drag-position persistence. */
|
|
14
28
|
id: string;
|
|
15
|
-
|
|
16
|
-
label?: string;
|
|
17
|
-
/** When true, uses a lower elevation shadow on the FAB. */
|
|
18
|
-
lowered: boolean;
|
|
19
|
-
/** Corner the FAB is anchored to. */
|
|
29
|
+
/** Corner the launcher is anchored to. */
|
|
20
30
|
corner: Corner;
|
|
21
31
|
/** Open state. Bind `?open=${…}` to drive the overlay; reflected to the attribute. */
|
|
22
32
|
open: boolean;
|
|
23
33
|
private isDragging;
|
|
24
|
-
private
|
|
25
|
-
private
|
|
26
|
-
|
|
27
|
-
private
|
|
28
|
-
|
|
29
|
-
private
|
|
30
|
-
private
|
|
31
|
-
private
|
|
32
|
-
private
|
|
33
|
-
private
|
|
34
|
-
private
|
|
35
|
-
private
|
|
36
|
-
private
|
|
37
|
-
private
|
|
34
|
+
private currentCorner;
|
|
35
|
+
private hasHandle;
|
|
36
|
+
/** Default-slot nodes — the overlay body. */
|
|
37
|
+
private slotted;
|
|
38
|
+
/** Slotted drag-handle nodes — presence toggles draggability. */
|
|
39
|
+
private handleNodes;
|
|
40
|
+
private position;
|
|
41
|
+
private containerRef;
|
|
42
|
+
private triggerRef;
|
|
43
|
+
private handleRef;
|
|
44
|
+
private currentAnimation?;
|
|
45
|
+
private applyContainerPosition;
|
|
46
|
+
private loadPosition;
|
|
47
|
+
private savePosition;
|
|
48
|
+
private validateBounds;
|
|
49
|
+
private reorientToNearestCorner;
|
|
50
|
+
private openOverlay;
|
|
51
|
+
private restoreSlotted;
|
|
38
52
|
connectedCallback(): void;
|
|
39
53
|
firstUpdated(): void;
|
|
40
54
|
protected willUpdate(changed: PropertyValues<this>): void;
|
|
41
55
|
disconnectedCallback(): void;
|
|
42
56
|
/** Flip open ↔ closed. */
|
|
43
57
|
toggle(): void;
|
|
58
|
+
private onHandleSlotChange;
|
|
44
59
|
protected render(): unknown;
|
|
45
60
|
}
|
|
46
61
|
declare global {
|
|
@@ -68,9 +68,10 @@ export declare class SchmnacyIconButton extends SchmancyElement {
|
|
|
68
68
|
*/
|
|
69
69
|
icon?: string;
|
|
70
70
|
private _capturedIcon?;
|
|
71
|
+
private _observer?;
|
|
71
72
|
connectedCallback(): void;
|
|
72
|
-
|
|
73
|
-
private
|
|
73
|
+
disconnectedCallback(): void;
|
|
74
|
+
private _captureIcon;
|
|
74
75
|
set ariaLabel(value: string);
|
|
75
76
|
get ariaLabel(): string;
|
|
76
77
|
/** Sets focus in the button. */
|
|
@@ -1,47 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Assist chip component - prompts user actions like opening calendar events or sharing content
|
|
4
|
-
* Pure Schmancy implementation with Tailwind CSS and RxJS state management
|
|
5
|
-
*/
|
|
6
|
-
export declare class SchmancyAssistChip extends SchmancyElement {
|
|
7
|
-
static styles: import("lit").CSSResult[];
|
|
8
|
-
/** Value identifier for the chip */
|
|
9
|
-
value: string;
|
|
10
|
-
/** Optional icon name (Material Symbols) */
|
|
11
|
-
icon: string;
|
|
12
|
-
/** Optional href for navigation */
|
|
13
|
-
href: string;
|
|
14
|
-
/** Target for navigation (e.g., '_blank') */
|
|
15
|
-
target: string;
|
|
16
|
-
/** Disable the chip */
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
/** Elevated style variant - true by default per M3 spec for assist chips */
|
|
19
|
-
elevated: boolean;
|
|
20
|
-
private hover$;
|
|
21
|
-
private pressed$;
|
|
22
|
-
private focused$;
|
|
23
|
-
private ripples;
|
|
24
|
-
protected static shadowRootOptions: {
|
|
25
|
-
delegatesFocus: boolean;
|
|
26
|
-
clonable?: boolean;
|
|
27
|
-
customElementRegistry?: CustomElementRegistry;
|
|
28
|
-
mode: ShadowRootMode;
|
|
29
|
-
serializable?: boolean;
|
|
30
|
-
slotAssignment?: SlotAssignmentMode;
|
|
31
|
-
};
|
|
32
|
-
private nextRippleId;
|
|
33
|
-
connectedCallback(): void;
|
|
34
|
-
private handleClick;
|
|
35
|
-
private handleKeyDown;
|
|
36
|
-
private handleFocus;
|
|
37
|
-
private handleBlur;
|
|
38
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
39
|
-
}
|
|
40
|
-
declare global {
|
|
41
|
-
interface HTMLElementTagNameMap {
|
|
42
|
-
'schmancy-assist-chip': SchmancyAssistChip;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
export type AssistChipActionEvent = {
|
|
46
|
-
value: string;
|
|
47
|
-
};
|
|
1
|
+
export * from '../form/fields/chips/assist-chip';
|
|
@@ -1,43 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { PropertyValues } from 'lit';
|
|
3
|
-
import type { FilterChipChangeEvent as SchmancyChipChangeEvent } from './filter-chip';
|
|
4
|
-
import { SchmancyFilterChip as SchmancyChip } from './filter-chip';
|
|
5
|
-
export default class SchmancyChips extends SchmancyElement {
|
|
6
|
-
static styles: import("lit").CSSResult[];
|
|
7
|
-
private value$;
|
|
8
|
-
private values$;
|
|
9
|
-
private _value;
|
|
10
|
-
private _values;
|
|
11
|
-
private _multi;
|
|
12
|
-
private _valueSet;
|
|
13
|
-
private _valuesSet;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated Use .values for multi-selection or .value for single-selection instead.
|
|
16
|
-
* The mode is now automatically determined based on which property is used.
|
|
17
|
-
*/
|
|
18
|
-
get multi(): boolean;
|
|
19
|
-
set multi(value: boolean);
|
|
20
|
-
/**
|
|
21
|
-
* Automatically determines the selection mode based on which properties are in use
|
|
22
|
-
*/
|
|
23
|
-
private get mode();
|
|
24
|
-
get values(): string[];
|
|
25
|
-
set values(value: string[]);
|
|
26
|
-
get value(): string;
|
|
27
|
-
set value(value: string);
|
|
28
|
-
chips: (SchmancyChip | HTMLElement)[];
|
|
29
|
-
wrap: boolean;
|
|
30
|
-
required: boolean;
|
|
31
|
-
justify: 'start' | 'center' | 'end';
|
|
32
|
-
connectedCallback(): void;
|
|
33
|
-
private updateChipStates;
|
|
34
|
-
change(e: CustomEvent<SchmancyChipChangeEvent>): Promise<void>;
|
|
35
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
36
|
-
protected render(): unknown;
|
|
37
|
-
}
|
|
38
|
-
declare global {
|
|
39
|
-
interface HTMLElementTagNameMap {
|
|
40
|
-
'schmancy-chips': SchmancyChips;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
export type SchmancyChipsChangeEvent = string | Array<string>;
|
|
1
|
+
export * from '../form/fields/chips/chips';
|
|
@@ -1,67 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Filter chip component for content filtering.
|
|
4
|
-
*
|
|
5
|
-
* Filter chips are the ONLY chip type that maintains persistent selected state.
|
|
6
|
-
* They are used for filtering content by toggling on/off different filter criteria.
|
|
7
|
-
*
|
|
8
|
-
* @fires change - Dispatched when selection state changes with {value, selected}
|
|
9
|
-
* @fires remove - Dispatched when remove button is clicked (if removable)
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <schmancy-filter-chip value="category-1" selected>
|
|
14
|
-
* Category 1
|
|
15
|
-
* </schmancy-filter-chip>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare class SchmancyFilterChip extends SchmancyElement {
|
|
19
|
-
static styles: import("lit").CSSResult[];
|
|
20
|
-
/** Unique identifier for this filter chip */
|
|
21
|
-
value: string;
|
|
22
|
-
/** Whether the filter chip is selected (active filter) */
|
|
23
|
-
private _selected;
|
|
24
|
-
get selected(): boolean;
|
|
25
|
-
set selected(value: boolean);
|
|
26
|
-
/** Whether to show a remove button */
|
|
27
|
-
removable: boolean;
|
|
28
|
-
/** Whether the chip is disabled */
|
|
29
|
-
disabled: boolean;
|
|
30
|
-
/** Whether to use elevated style with shadow */
|
|
31
|
-
elevated: boolean;
|
|
32
|
-
constructor();
|
|
33
|
-
protected static shadowRootOptions: {
|
|
34
|
-
delegatesFocus: boolean;
|
|
35
|
-
clonable?: boolean;
|
|
36
|
-
customElementRegistry?: CustomElementRegistry;
|
|
37
|
-
mode: ShadowRootMode;
|
|
38
|
-
serializable?: boolean;
|
|
39
|
-
slotAssignment?: SlotAssignmentMode;
|
|
40
|
-
};
|
|
41
|
-
static formAssociated: boolean;
|
|
42
|
-
internals: ElementInternals | undefined;
|
|
43
|
-
get form(): HTMLFormElement;
|
|
44
|
-
connectedCallback(): void;
|
|
45
|
-
protected updated(changed: Map<string, unknown>): void;
|
|
46
|
-
formResetCallback(): void;
|
|
47
|
-
formDisabledCallback(disabled: boolean): void;
|
|
48
|
-
private handleClick;
|
|
49
|
-
private handleRemove;
|
|
50
|
-
private handleKeyDown;
|
|
51
|
-
protected render(): unknown;
|
|
52
|
-
}
|
|
53
|
-
export { SchmancyFilterChip as SchmancyChip };
|
|
54
|
-
declare global {
|
|
55
|
-
interface HTMLElementTagNameMap {
|
|
56
|
-
'schmancy-chip': SchmancyFilterChip;
|
|
57
|
-
'schmancy-filter-chip': SchmancyFilterChip;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
export type FilterChipChangeEvent = {
|
|
61
|
-
value: string;
|
|
62
|
-
selected: boolean;
|
|
63
|
-
};
|
|
64
|
-
export type FilterChipRemoveEvent = {
|
|
65
|
-
value: string;
|
|
66
|
-
};
|
|
67
|
-
export type SchmancyChipChangeEvent = FilterChipChangeEvent;
|
|
1
|
+
export * from '../form/fields/chips/filter-chip';
|
|
@@ -1,82 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Input chip component - represents user-provided information that can be removed.
|
|
4
|
-
*
|
|
5
|
-
* IMPORTANT: Per Material Design 3 specification, input chips do NOT have selected state.
|
|
6
|
-
* They represent discrete pieces of user input (like entered tags, selections from lists, etc.)
|
|
7
|
-
* that can only be removed, not toggled on/off.
|
|
8
|
-
*
|
|
9
|
-
* Use cases:
|
|
10
|
-
* - Displaying selected recipients in an email
|
|
11
|
-
* - Showing applied filters that can be removed
|
|
12
|
-
* - Tags or keywords entered by the user
|
|
13
|
-
* - Selected items from a multi-select dropdown
|
|
14
|
-
*
|
|
15
|
-
* @fires click - Optional click event on chip body (value)
|
|
16
|
-
* @fires remove - Dispatched when remove button is clicked (value)
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```html
|
|
20
|
-
* <schmancy-input-chip value="john@example.com" avatar="/avatars/john.jpg">
|
|
21
|
-
* John Doe
|
|
22
|
-
* </schmancy-input-chip>
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export declare class SchmancyInputChip extends SchmancyElement {
|
|
26
|
-
static styles: import("lit").CSSResult[];
|
|
27
|
-
/** Value identifier for the chip */
|
|
28
|
-
value: string;
|
|
29
|
-
/** Optional icon name (Material Symbols) */
|
|
30
|
-
icon: string;
|
|
31
|
-
/** Optional avatar image URL */
|
|
32
|
-
avatar: string;
|
|
33
|
-
/** Whether to show remove button (default true for input chips) */
|
|
34
|
-
removable: boolean;
|
|
35
|
-
/** Disable the chip */
|
|
36
|
-
disabled: boolean;
|
|
37
|
-
/** Elevated style variant */
|
|
38
|
-
elevated: boolean;
|
|
39
|
-
private chipHover$;
|
|
40
|
-
private removeHover$;
|
|
41
|
-
private focused$;
|
|
42
|
-
private pressed$;
|
|
43
|
-
uiState: {
|
|
44
|
-
chipHover: boolean;
|
|
45
|
-
removeHover: boolean;
|
|
46
|
-
focused: boolean;
|
|
47
|
-
pressed: boolean;
|
|
48
|
-
};
|
|
49
|
-
private ripples;
|
|
50
|
-
private nextRippleId;
|
|
51
|
-
constructor();
|
|
52
|
-
protected static shadowRootOptions: {
|
|
53
|
-
delegatesFocus: boolean;
|
|
54
|
-
clonable?: boolean;
|
|
55
|
-
customElementRegistry?: CustomElementRegistry;
|
|
56
|
-
mode: ShadowRootMode;
|
|
57
|
-
serializable?: boolean;
|
|
58
|
-
slotAssignment?: SlotAssignmentMode;
|
|
59
|
-
};
|
|
60
|
-
static formAssociated: boolean;
|
|
61
|
-
internals: ElementInternals | undefined;
|
|
62
|
-
get form(): HTMLFormElement;
|
|
63
|
-
protected updated(changed: Map<string, unknown>): void;
|
|
64
|
-
connectedCallback(): void;
|
|
65
|
-
private handleChipClick;
|
|
66
|
-
private handleRemove;
|
|
67
|
-
private handleKeyDown;
|
|
68
|
-
private handleFocus;
|
|
69
|
-
private handleBlur;
|
|
70
|
-
protected render(): unknown;
|
|
71
|
-
}
|
|
72
|
-
declare global {
|
|
73
|
-
interface HTMLElementTagNameMap {
|
|
74
|
-
'schmancy-input-chip': SchmancyInputChip;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
export type InputChipClickEvent = {
|
|
78
|
-
value: string;
|
|
79
|
-
};
|
|
80
|
-
export type InputChipRemoveEvent = {
|
|
81
|
-
value: string;
|
|
82
|
-
};
|
|
1
|
+
export * from '../form/fields/chips/input-chip';
|
|
@@ -1,52 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Suggestion chip component - provides contextual recommendations to users
|
|
4
|
-
*
|
|
5
|
-
* IMPORTANT: Suggestion chips do NOT have a selected state. They are designed to
|
|
6
|
-
* provide suggestions and recommendations that trigger actions when clicked.
|
|
7
|
-
* Unlike filter chips, they cannot be toggled on/off.
|
|
8
|
-
*
|
|
9
|
-
* Pure Schmancy implementation with Tailwind CSS and RxJS state management
|
|
10
|
-
*/
|
|
11
|
-
export declare class SchmancySuggestionChip extends SchmancyElement {
|
|
12
|
-
static styles: import("lit").CSSResult[];
|
|
13
|
-
/** Value identifier for the chip */
|
|
14
|
-
value: string;
|
|
15
|
-
/** Optional icon name (Material Symbols) */
|
|
16
|
-
icon: string;
|
|
17
|
-
/** Optional href for navigation */
|
|
18
|
-
href: string;
|
|
19
|
-
/** Target for navigation (e.g., '_blank') */
|
|
20
|
-
target: string;
|
|
21
|
-
/** Disable the chip */
|
|
22
|
-
disabled: boolean;
|
|
23
|
-
/** Elevated style variant - flat by default per M3 spec */
|
|
24
|
-
elevated: boolean;
|
|
25
|
-
private hover$;
|
|
26
|
-
private pressed$;
|
|
27
|
-
private focused$;
|
|
28
|
-
private ripples;
|
|
29
|
-
protected static shadowRootOptions: {
|
|
30
|
-
delegatesFocus: boolean;
|
|
31
|
-
clonable?: boolean;
|
|
32
|
-
customElementRegistry?: CustomElementRegistry;
|
|
33
|
-
mode: ShadowRootMode;
|
|
34
|
-
serializable?: boolean;
|
|
35
|
-
slotAssignment?: SlotAssignmentMode;
|
|
36
|
-
};
|
|
37
|
-
private nextRippleId;
|
|
38
|
-
connectedCallback(): void;
|
|
39
|
-
private handleClick;
|
|
40
|
-
private handleKeyDown;
|
|
41
|
-
private handleFocus;
|
|
42
|
-
private handleBlur;
|
|
43
|
-
protected render(): unknown;
|
|
44
|
-
}
|
|
45
|
-
declare global {
|
|
46
|
-
interface HTMLElementTagNameMap {
|
|
47
|
-
'schmancy-suggestion-chip': SchmancySuggestionChip;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export type SuggestionChipActionEvent = {
|
|
51
|
-
value: string;
|
|
52
|
-
};
|
|
1
|
+
export * from '../form/fields/chips/suggestion-chip';
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { SchmancyElement } from '@mixins/index';
|
|
2
|
+
export type FabVariant = 'surface' | 'primary' | 'secondary' | 'tertiary';
|
|
3
|
+
export type FabSize = 'small' | 'medium' | 'large';
|
|
4
|
+
/**
|
|
5
|
+
* Material 3 Floating Action Button.
|
|
6
|
+
*
|
|
7
|
+
* Mirrors the `md-fab` reference implementation
|
|
8
|
+
* (github.com/material-components/material-web) and the M3 spec
|
|
9
|
+
* (m3.material.io/components/floating-action-button): four colour
|
|
10
|
+
* variants, three container sizes, an extended form (set `label`),
|
|
11
|
+
* and a `lowered` elevation register. Per M3 guidance a FAB is never
|
|
12
|
+
* disabled, so there is no `disabled` property.
|
|
13
|
+
*
|
|
14
|
+
* Sizing, shape, icon size and elevation are M3 design tokens expressed
|
|
15
|
+
* as `:host` rules (the same token-driven model as `md-fab`'s SCSS);
|
|
16
|
+
* colour roles and the state layer are schmancy theme utilities. The
|
|
17
|
+
* host shrink-wraps the inner button and clips its rounded shape.
|
|
18
|
+
*
|
|
19
|
+
* @element schmancy-fab
|
|
20
|
+
* @slot - The icon (typically `<schmancy-icon>`).
|
|
21
|
+
* @csspart base - The underlying native `<button>`.
|
|
22
|
+
*/
|
|
23
|
+
export declare class SchmancyFab extends SchmancyElement {
|
|
24
|
+
static styles: import("lit").CSSResult[];
|
|
25
|
+
protected static shadowRootOptions: {
|
|
26
|
+
mode: string;
|
|
27
|
+
delegatesFocus: boolean;
|
|
28
|
+
clonable?: boolean;
|
|
29
|
+
customElementRegistry?: CustomElementRegistry;
|
|
30
|
+
serializable?: boolean;
|
|
31
|
+
slotAssignment?: SlotAssignmentMode;
|
|
32
|
+
};
|
|
33
|
+
private nativeElement;
|
|
34
|
+
private ariaLabelValue;
|
|
35
|
+
/**
|
|
36
|
+
* Colour variant. M3 maps each to a container + on-container role.
|
|
37
|
+
* @attr
|
|
38
|
+
* @default 'surface'
|
|
39
|
+
*/
|
|
40
|
+
variant: FabVariant;
|
|
41
|
+
/**
|
|
42
|
+
* Container size. Ignored while extended (extended is always 56dp tall).
|
|
43
|
+
* @attr
|
|
44
|
+
* @default 'medium'
|
|
45
|
+
*/
|
|
46
|
+
size: FabSize;
|
|
47
|
+
/**
|
|
48
|
+
* Extended-FAB label. A non-empty value switches the FAB to its
|
|
49
|
+
* extended form (icon + text), exactly as `md-fab` derives extended
|
|
50
|
+
* from a truthy label.
|
|
51
|
+
* @attr
|
|
52
|
+
*/
|
|
53
|
+
label: string;
|
|
54
|
+
/**
|
|
55
|
+
* Reflected mirror of "label is non-empty" so `:host([extended])`
|
|
56
|
+
* can drive the extended geometry. Synced from `label`; read it,
|
|
57
|
+
* don't set it.
|
|
58
|
+
* @attr
|
|
59
|
+
*/
|
|
60
|
+
extended: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Lowers the FAB's elevation register (M3 lowered FAB).
|
|
63
|
+
* @attr
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
lowered: boolean;
|
|
67
|
+
set ariaLabel(value: string);
|
|
68
|
+
get ariaLabel(): string;
|
|
69
|
+
/** Sets focus on the FAB. */
|
|
70
|
+
focus(options?: FocusOptions): void;
|
|
71
|
+
/** Removes focus from the FAB. */
|
|
72
|
+
blur(): void;
|
|
73
|
+
protected willUpdate(changed: Map<string, unknown>): void;
|
|
74
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
75
|
+
}
|
|
76
|
+
declare global {
|
|
77
|
+
interface HTMLElementTagNameMap {
|
|
78
|
+
'schmancy-fab': SchmancyFab;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './fab';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { SchmancyElement } from '@mixins/index';
|
|
2
|
+
/**
|
|
3
|
+
* Assist chip component - prompts user actions like opening calendar events or sharing content
|
|
4
|
+
* Pure Schmancy implementation with Tailwind CSS and RxJS state management
|
|
5
|
+
*/
|
|
6
|
+
export declare class SchmancyAssistChip extends SchmancyElement {
|
|
7
|
+
static styles: import("lit").CSSResult[];
|
|
8
|
+
/** Value identifier for the chip */
|
|
9
|
+
value: string;
|
|
10
|
+
/** Optional icon name (Material Symbols) */
|
|
11
|
+
icon: string;
|
|
12
|
+
/** Optional href for navigation */
|
|
13
|
+
href: string;
|
|
14
|
+
/** Target for navigation (e.g., '_blank') */
|
|
15
|
+
target: string;
|
|
16
|
+
/** Disable the chip */
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
/** Elevated style variant - true by default per M3 spec for assist chips */
|
|
19
|
+
elevated: boolean;
|
|
20
|
+
private hover$;
|
|
21
|
+
private pressed$;
|
|
22
|
+
private focused$;
|
|
23
|
+
private ripples;
|
|
24
|
+
protected static shadowRootOptions: {
|
|
25
|
+
delegatesFocus: boolean;
|
|
26
|
+
clonable?: boolean;
|
|
27
|
+
customElementRegistry?: CustomElementRegistry;
|
|
28
|
+
mode: ShadowRootMode;
|
|
29
|
+
serializable?: boolean;
|
|
30
|
+
slotAssignment?: SlotAssignmentMode;
|
|
31
|
+
};
|
|
32
|
+
private nextRippleId;
|
|
33
|
+
connectedCallback(): void;
|
|
34
|
+
private handleClick;
|
|
35
|
+
private handleKeyDown;
|
|
36
|
+
private handleFocus;
|
|
37
|
+
private handleBlur;
|
|
38
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
39
|
+
}
|
|
40
|
+
declare global {
|
|
41
|
+
interface HTMLElementTagNameMap {
|
|
42
|
+
'schmancy-assist-chip': SchmancyAssistChip;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export type AssistChipActionEvent = {
|
|
46
|
+
value: string;
|
|
47
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import type { FilterChipChangeEvent as SchmancyChipChangeEvent } from './filter-chip';
|
|
3
|
+
import { SchmancyFilterChip as SchmancyChip } from './filter-chip';
|
|
4
|
+
export type SchmancyChipsChangeEvent = CustomEvent<{
|
|
5
|
+
value: string | string[];
|
|
6
|
+
}>;
|
|
7
|
+
declare const SchmancyChips_base: import("../../../../mixins").Constructor<import("@mixins/formField.mixin").IFormFieldMixin> & import("../../../../mixins").Constructor<import("../../../../mixins").ITailwindElementMixin> & import("../../../../mixins").Constructor<import("lit").LitElement> & import("../../../../mixins").Constructor<import("../../../../mixins").IBaseMixin>;
|
|
8
|
+
export default class SchmancyChips extends SchmancyChips_base {
|
|
9
|
+
/** Whether multiple chips can be selected simultaneously. */
|
|
10
|
+
multi: boolean;
|
|
11
|
+
get value(): string | string[];
|
|
12
|
+
set value(v: string | string[]);
|
|
13
|
+
/** Typed convenience alias for multi-mode consumers. */
|
|
14
|
+
get values(): string[];
|
|
15
|
+
set values(v: string[]);
|
|
16
|
+
wrap: boolean;
|
|
17
|
+
justify: 'start' | 'center' | 'end';
|
|
18
|
+
chips: (SchmancyChip | HTMLElement)[];
|
|
19
|
+
private value$;
|
|
20
|
+
private values$;
|
|
21
|
+
protected willUpdate(changedProps: PropertyValues): void;
|
|
22
|
+
checkValidity(): boolean;
|
|
23
|
+
connectedCallback(): void;
|
|
24
|
+
private updateChipStates;
|
|
25
|
+
change(e: CustomEvent<SchmancyChipChangeEvent>): Promise<void>;
|
|
26
|
+
resetForm(): void;
|
|
27
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
28
|
+
protected render(): unknown;
|
|
29
|
+
}
|
|
30
|
+
declare global {
|
|
31
|
+
interface HTMLElementTagNameMap {
|
|
32
|
+
'schmancy-chips': SchmancyChips;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export {};
|