@mhmo91/schmancy 0.10.38 → 0.10.39
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/dist/agent/schmancy.agent.js +5 -0
- package/dist/agent/schmancy.agent.js.map +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-dB1_qLm0.cjs → boat-DsFJNfPH.cjs} +1 -1
- package/dist/{boat-dB1_qLm0.cjs.map → boat-DsFJNfPH.cjs.map} +1 -1
- package/dist/{boat-DmyG7y1V.js → boat-fqodYt2n.js} +1 -1
- package/dist/{boat-DmyG7y1V.js.map → boat-fqodYt2n.js.map} +1 -1
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/{button-WRmXlNyw.cjs → button-B9RfBt-n.cjs} +1 -0
- package/dist/button-B9RfBt-n.cjs.map +1 -0
- package/dist/{button-BQSOVnHn.js → button-D6LJC-HC.js} +1 -0
- package/dist/button-D6LJC-HC.js.map +1 -0
- package/dist/button.cjs +2 -1
- package/dist/button.cjs.map +1 -1
- package/dist/button.js +2 -1
- package/dist/button.js.map +1 -1
- package/dist/{chips-DAy6v93f.js → chips-BoZSpSh_.js} +1 -0
- package/dist/chips-BoZSpSh_.js.map +1 -0
- package/dist/{chips-B1jui8Pe.cjs → chips-wfJ7YtWv.cjs} +1 -0
- package/dist/chips-wfJ7YtWv.cjs.map +1 -0
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{date-range-BUaPgbTZ.cjs → date-range-BHSzlwSL.cjs} +1 -1
- package/dist/{date-range-BUaPgbTZ.cjs.map → date-range-BHSzlwSL.cjs.map} +1 -1
- package/dist/{date-range-NTpoA1in.js → date-range-DJrdpzev.js} +1 -1
- package/dist/{date-range-NTpoA1in.js.map → date-range-DJrdpzev.js.map} +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/fab.cjs +1 -0
- package/dist/fab.cjs.map +1 -1
- package/dist/fab.js +1 -0
- package/dist/fab.js.map +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +2 -2
- package/dist/handover/agent-runtime-followups.md +1 -1
- package/dist/handover/agent-runtime-v1.md +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.js +8 -8
- package/dist/{menu-CBAAJoHu.js → menu-Dvi_tQgH.js} +1 -1
- package/dist/{menu-CBAAJoHu.js.map → menu-Dvi_tQgH.js.map} +1 -1
- package/dist/{menu-DFQjJk3H.cjs → menu-GZARYp6I.cjs} +1 -1
- package/dist/{menu-DFQjJk3H.cjs.map → menu-GZARYp6I.cjs.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/navigation-bar.cjs +1 -1
- package/dist/navigation-bar.js +1 -1
- package/dist/{overlay-CWsihJ-E.js → overlay-DwJWVyk2.js} +2 -2
- package/dist/{overlay-CWsihJ-E.js.map → overlay-DwJWVyk2.js.map} +1 -1
- package/dist/{overlay-DkIX9Ig3.cjs → overlay-N0trD-4u.cjs} +1 -1
- package/dist/{overlay-DkIX9Ig3.cjs.map → overlay-N0trD-4u.cjs.map} +1 -1
- package/dist/overlay.cjs +1 -1
- package/dist/{overlay.confirm-body-DwTfiNlV.cjs → overlay.confirm-body-CtXIi421.cjs} +1 -1
- package/dist/{overlay.confirm-body-DwTfiNlV.cjs.map → overlay.confirm-body-CtXIi421.cjs.map} +1 -1
- package/dist/{overlay.confirm-body-CPqqPNks.js → overlay.confirm-body-DwzKhXxM.js} +1 -1
- package/dist/{overlay.confirm-body-CPqqPNks.js.map → overlay.confirm-body-DwzKhXxM.js.map} +1 -1
- package/dist/overlay.js +3 -3
- package/dist/{overlay.service-KTgBxjFb.js → overlay.service-BDLi0p5M.js} +2 -2
- package/dist/{overlay.service-KTgBxjFb.js.map → overlay.service-BDLi0p5M.js.map} +1 -1
- package/dist/{overlay.service-DU1nqh6A.cjs → overlay.service-Dbu5uP9E.cjs} +1 -1
- package/dist/{overlay.service-DU1nqh6A.cjs.map → overlay.service-Dbu5uP9E.cjs.map} +1 -1
- package/dist/skills/SKILL.md +6 -0
- package/dist/skills/schmancy/SKILL.md +6 -0
- package/dist/{src-CIqAj3Eh.js → src-8VJ7eluk.js} +7 -6
- package/dist/src-8VJ7eluk.js.map +1 -0
- package/dist/{src-CYqBQTyt.cjs → src-GJA8uSAS.cjs} +2 -1
- package/dist/src-GJA8uSAS.cjs.map +1 -0
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/package.json +1 -1
- package/skills/schmancy/SKILL.md +6 -0
- package/src/badge/badge.ts +1 -0
- package/src/button/button.ts +1 -0
- package/src/button/icon-button.ts +1 -0
- package/src/fab/fab.ts +1 -0
- package/src/form/fields/chips/filter-chip.ts +1 -0
- package/dist/button-BQSOVnHn.js.map +0 -1
- package/dist/button-WRmXlNyw.cjs.map +0 -1
- package/dist/chips-B1jui8Pe.cjs.map +0 -1
- package/dist/chips-DAy6v93f.js.map +0 -1
- package/dist/src-CIqAj3Eh.js.map +0 -1
- package/dist/src-CYqBQTyt.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk-CncqDLb2.cjs`);const e=require(`./SchmancyElement-C41uPa6l.cjs`),t=require(`./area-2FrTZI_T.cjs`),n=require(`./lazy-C-7a4FAe.cjs`),r=require(`./state-BxDNox-2.cjs`),i=require(`./sound.service-D2GGaBXc.cjs`),a=require(`./audio-EaD0Ggfh.cjs`),o=require(`./search-DPKoC-dT.cjs`),s=require(`./input-chip-ChAgRCXZ.cjs`),c=require(`./animation-CCOIW4wJ.cjs`),l=require(`./directives-Bb0S1DKZ.cjs`),ee=require(`./reduced-motion-Ds-HjMzn.cjs`),u=require(`./cursor-glow-Bulq-38P.cjs`),d=require(`./theme.service-B15FdjOS.cjs`),f=require(`./layout-DZ4dpLh9.cjs`),te=require(`./overlay-stack-Bdr9lOqi.cjs`),ne=require(`./gravity-6pL6CfIr.cjs`),p=require(`./discovery.service-CIa3Eeuk.cjs`),m=require(`./magnetic-DKtc4umC.cjs`),h=require(`./src-CYqBQTyt.cjs`),g=require(`./overlay.service-DU1nqh6A.cjs`),_=require(`./boat-dB1_qLm0.cjs`),re=require(`./button-WRmXlNyw.cjs`),ie=require(`./button.cjs`),ae=require(`./checkbox-C4zeib84.cjs`),v=require(`./chips-B1jui8Pe.cjs`),y=require(`./connectivity.cjs`),b=require(`./date-range-BUaPgbTZ.cjs`),x=require(`./date-range-inline-D0I6k84h.cjs`),S=require(`./delay.cjs`),oe=require(`./details-DQNj2oaU.cjs`),C=require(`./dropdown.cjs`),w=require(`./surface-CWwYD_z2.cjs`),T=require(`./expand-CUF163mg.cjs`),se=require(`./fab.cjs`),E=require(`./window-BbBYjm7R.cjs`),D=require(`./float-OvqX0nqG.cjs`),O=require(`./form-4GKROq2P.cjs`),k=require(`./input-Z-3N5JMv.cjs`),A=require(`./radio-group-BEtvCSS1.cjs`),j=require(`./range.cjs`),M=require(`./theme.interface-CSt7JUBD.cjs`),N=require(`./select-BWpV2iv-.cjs`),P=require(`./switch.cjs`),F=require(`./form.cjs`),I=require(`./iframe-DpCv-QH2.cjs`),L=require(`./notification-B6yDL91t.cjs`),R=require(`./json.cjs`),z=require(`./layout.cjs`),B=require(`./lightbox-Dpwsn8Qr.cjs`),V=require(`./list-BhM-6dAi.cjs`),H=require(`./navigation-rail.cjs`),U=require(`./overlay-DkIX9Ig3.cjs`),W=require(`./typography-D4Fo1UGh.cjs`),G=require(`./overlay.confirm-body-DwTfiNlV.cjs`),K=require(`./rxjs-utils-Csnks202.cjs`),q=require(`./slider.cjs`),J=require(`./steps.cjs`),Y=require(`./table.cjs`),X=require(`./theme-BMbXoqi0.cjs`),ce=require(`./tooltip.cjs`),le=require(`./tree.cjs`),ue=require(`./types.cjs`),de=require(`./typewriter.cjs`),Z=require(`./utils-DTa3QHxk.cjs`),fe=require(`./avatar.cjs`),Q=require(`./breadcrumb.cjs`),pe=require(`./kbd.cjs`),me=require(`./skeleton.cjs`),he=require(`./visually-hidden.cjs`);let $=require(`@lit-labs/signals`);exports.$drawer=h.p,exports.$notify=L.r,exports.$sounds=a.t,exports.ANIMATION_CSS_VARS=c.t,exports.BLACKBIRD_EASING=c.n,exports.DISCOVER_EVENT=p.t,exports.DISCOVER_RESPONSE_EVENT=p.n,exports.DURATION_BACKDROP=c.r,exports.DURATION_ENTER=c.i,exports.DURATION_EXIT=c.a,exports.DragDirective=l.h,exports.DropDirective=l.g,exports.EASE_IN=c.o,exports.EASE_OUT=c.s,exports.EmotionalSoundGenerator=a.n,exports.FINDING_MORTIES=t.b,exports.GRID_ANIMATION_CSS=c.c,exports.HERE_RICKY=t.x,exports.HISTORY_STRATEGY=t.v,exports.HereMorty=h.n,Object.defineProperty(exports,`List`,{enumerable:!0,get:function(){return V.t}}),exports.Numbers=Z.t,Object.defineProperty(exports,`RadioButton`,{enumerable:!0,get:function(){return A.t}}),Object.defineProperty(exports,`RadioGroup`,{enumerable:!0,get:function(){return A.n}}),exports.SCHMANCY_EXPAND_REQUEST_CLOSE=T.t,exports.SPRING_BOUNCY=c.l,exports.SPRING_GENTLE=c.u,exports.SPRING_SMOOTH=c.d,exports.SPRING_SNAPPY=c.f,Object.defineProperty(exports,`ScBadgeV2`,{enumerable:!0,get:function(){return h.w}}),Object.defineProperty(exports,`SchmancyArea`,{enumerable:!0,get:function(){return t._}}),Object.defineProperty(exports,`SchmancyAssistChip`,{enumerable:!0,get:function(){return v.r}}),Object.defineProperty(exports,`SchmancyAvatar`,{enumerable:!0,get:function(){return fe.SchmancyAvatar}}),Object.defineProperty(exports,`SchmancyBadgeV2`,{enumerable:!0,get:function(){return h.T}}),exports.SchmancyBoat=_.t,Object.defineProperty(exports,`SchmancyBreadcrumb`,{enumerable:!0,get:function(){return Q.SchmancyBreadcrumb}}),Object.defineProperty(exports,`SchmancyBreadcrumbItem`,{enumerable:!0,get:function(){return Q.SchmancyBreadcrumbItem}}),Object.defineProperty(exports,`SchmancyButton`,{enumerable:!0,get:function(){return re.t}}),Object.defineProperty(exports,`SchmancyCheckbox`,{enumerable:!0,get:function(){return ae.t}}),exports.SchmancyChip=v.n,exports.SchmancyFilterChip=v.n,Object.defineProperty(exports,`SchmancyConnectivityStatus`,{enumerable:!0,get:function(){return y.SchmancyConnectivityStatus}}),Object.defineProperty(exports,`SchmancyContentDrawer`,{enumerable:!0,get:function(){return h._}}),exports.SchmancyContentDrawerID=h.v,Object.defineProperty(exports,`SchmancyContentDrawerMain`,{enumerable:!0,get:function(){return h.g}}),exports.SchmancyContentDrawerMaxHeight=h.y,exports.SchmancyContentDrawerMinWidth=h.b,Object.defineProperty(exports,`SchmancyContentDrawerSheet`,{enumerable:!0,get:function(){return h.h}}),exports.SchmancyContentDrawerSheetMode=h.x,exports.SchmancyContentDrawerSheetState=h.S,exports.SchmancyContext=r.s,Object.defineProperty(exports,`SchmancyDataTable`,{enumerable:!0,get:function(){return Y.SchmancyDataTable}}),Object.defineProperty(exports,`SchmancyDateRange`,{enumerable:!0,get:function(){return b.t}}),exports.SchmancyDateRangeInline=x.t,Object.defineProperty(exports,`SchmancyDelay`,{enumerable:!0,get:function(){return S.SchmancyDelay}}),exports.SchmancyDetails=oe.t,Object.defineProperty(exports,`SchmancyDrawerAppbar`,{enumerable:!0,get:function(){return h.f}}),exports.SchmancyDrawerNavbarMode=h.l,exports.SchmancyDrawerNavbarState=h.u,Object.defineProperty(exports,`SchmancyDropdown`,{enumerable:!0,get:function(){return C.SchmancyDropdown}}),Object.defineProperty(exports,`SchmancyDropdownContent`,{enumerable:!0,get:function(){return C.SchmancyDropdownContent}}),exports.SchmancyEvents=ue.SchmancyEvents,Object.defineProperty(exports,`SchmancyExpandRoot`,{enumerable:!0,get:function(){return T.n}}),Object.defineProperty(exports,`SchmancyFab`,{enumerable:!0,get:function(){return se.SchmancyFab}}),exports.SchmancyFloat=D.t,exports.SchmancyForm=O.t,Object.defineProperty(exports,`SchmancyFormSummary`,{enumerable:!0,get:function(){return F.SchmancyFormSummary}}),exports.SchmancyGenerateMoodAudioEvent=X.n,exports.SchmancyIframe=I.t,exports.SchmancyInput=k.n,Object.defineProperty(exports,`SchmancyInputChip`,{enumerable:!0,get:function(){return s.t}}),Object.defineProperty(exports,`SchmancyInputCompat`,{enumerable:!0,get:function(){return k.t}}),Object.defineProperty(exports,`SchmancyJson`,{enumerable:!0,get:function(){return R.SchmancyJson}}),Object.defineProperty(exports,`SchmancyKbd`,{enumerable:!0,get:function(){return pe.SchmancyKbd}}),Object.defineProperty(exports,`SchmancyLightbox`,{enumerable:!0,get:function(){return B.i}}),Object.defineProperty(exports,`SchmancyListItem`,{enumerable:!0,get:function(){return V.n}}),exports.SchmancyListTypeContext=V.r,Object.defineProperty(exports,`SchmancyNavigationBar`,{enumerable:!0,get:function(){return h.a}}),Object.defineProperty(exports,`SchmancyNavigationBarItem`,{enumerable:!0,get:function(){return h.o}}),Object.defineProperty(exports,`SchmancyNavigationDrawer`,{enumerable:!0,get:function(){return h.c}}),Object.defineProperty(exports,`SchmancyNavigationDrawerContent`,{enumerable:!0,get:function(){return h.d}}),Object.defineProperty(exports,`SchmancyNavigationDrawerSidebar`,{enumerable:!0,get:function(){return h.s}}),Object.defineProperty(exports,`SchmancyNavigationRail`,{enumerable:!0,get:function(){return H.SchmancyNavigationRail}}),Object.defineProperty(exports,`SchmancyNavigationRailItem`,{enumerable:!0,get:function(){return H.SchmancyNavigationRailItem}}),exports.SchmancyNotification=L.i,Object.defineProperty(exports,`SchmancyOverlay`,{enumerable:!0,get:function(){return U.t}}),Object.defineProperty(exports,`SchmancyOverlayPromptBody`,{enumerable:!0,get:function(){return G.t}}),Object.defineProperty(exports,`SchmancyRange`,{enumerable:!0,get:function(){return j.SchmancyRange}}),Object.defineProperty(exports,`SchmancyRoute`,{enumerable:!0,get:function(){return t.y}}),Object.defineProperty(exports,`SchmancyScroll`,{enumerable:!0,get:function(){return z.SchmancyScroll}}),Object.defineProperty(exports,`SchmancySelect`,{enumerable:!0,get:function(){return N.t}}),Object.defineProperty(exports,`SchmancySkeleton`,{enumerable:!0,get:function(){return me.SchmancySkeleton}}),Object.defineProperty(exports,`SchmancySlide`,{enumerable:!0,get:function(){return q.SchmancySlide}}),Object.defineProperty(exports,`SchmancySlider`,{enumerable:!0,get:function(){return q.SchmancySlider}}),Object.defineProperty(exports,`SchmancyStep`,{enumerable:!0,get:function(){return J.SchmancyStep}}),Object.defineProperty(exports,`SchmancySteps`,{enumerable:!0,get:function(){return J.SchmancySteps}}),Object.defineProperty(exports,`SchmancySuggestionChip`,{enumerable:!0,get:function(){return v.t}}),Object.defineProperty(exports,`SchmancySurface`,{enumerable:!0,get:function(){return w.t}}),exports.SchmancySurfaceTypeContext=w.n,Object.defineProperty(exports,`SchmancySwitch`,{enumerable:!0,get:function(){return P.SchmancySwitch}}),Object.defineProperty(exports,`SchmancyTableRow`,{enumerable:!0,get:function(){return Y.SchmancyTableRow}}),Object.defineProperty(exports,`SchmancyTeleportation`,{enumerable:!0,get:function(){return h.t}}),exports.SchmancyTheme=M.t,Object.defineProperty(exports,`SchmancyThemeAudioPlayer`,{enumerable:!0,get:function(){return X.r}}),Object.defineProperty(exports,`SchmancyThemeComponent`,{enumerable:!0,get:function(){return X.a}}),Object.defineProperty(exports,`SchmancyThemeController`,{enumerable:!0,get:function(){return X.i}}),Object.defineProperty(exports,`SchmancyThemeControllerBoat`,{enumerable:!0,get:function(){return X.t}}),Object.defineProperty(exports,`SchmancyTree`,{enumerable:!0,get:function(){return le.SchmancyTree}}),Object.defineProperty(exports,`SchmancyTypography`,{enumerable:!0,get:function(){return W.t}}),Object.defineProperty(exports,`SchmancyVisuallyHidden`,{enumerable:!0,get:function(){return he.SchmancyVisuallyHidden}}),exports.SchmancyWindow=E.t,Object.defineProperty(exports,`SchmnacyIconButton`,{enumerable:!0,get:function(){return ie.SchmnacyIconButton}}),Object.defineProperty(exports,`Signal`,{enumerable:!0,get:function(){return $.Signal}}),exports.StepsController=J.StepsController,exports.ThemeHereIAm=d.r,exports.ThemeWhereAreYou=d.i,exports.WhereAreYouRicky=h.r,exports._activeHost=e.r,exports.aiBadge=l.O,exports.animateText=l.k,exports.area=t.S,exports.art=l.D,exports.beta=l.C,exports.bindState=r.t,exports.buildQueryString=t.t,exports.color=l.S,exports.compareActiveRoutes=t.n,exports.compareCustomElementConstructors=t.r,exports.compareRouteActions=t.i,Object.defineProperty(exports,`computed`,{enumerable:!0,get:function(){return $.computed}}),exports.confirm=g.t,exports.confirmClick=l.x,exports.createAnimation=c.p,exports.createDarkTonalPaletteFromBaseColor=X.s,exports.createDismissAnimation=c.m,exports.createLightTonalPaletteFromBaseColor=X.c,exports.createRevealAnimation=c.h,exports.createRouteCacheKey=t.a,exports.createScaleAnimation=c.g,exports.cursorGlow=u.t,exports.cycleText=l.b,exports.debounce=t.o,exports.decodeData=t.h,exports.decodeRouteState=t.s,exports.deepMerge=t.c,exports.delayContext=S.delayContext,exports.depthOfField=l.y,exports.discover=p.r,exports.discoverAllElements=p.i,exports.discoverAnyComponent=p.a,exports.discoverComponent=p.o,exports.discoverElement=p.s,exports.dismissAll=g.n,exports.drag=l._,exports.drop=l.v,exports.effect=r.n,exports.encodeData=t.g,exports.encodeRouteState=t.l,exports.extractQueryParams=t.u,exports.fill=l.m,exports.flip=B.r,exports.formSubmitState=O.n,exports.formatTheme=X.l,exports.fromResizeObserver=f.t,exports.fullHeight=f.n,exports.fullWidth=f.r,exports.futureCell=l.E,exports.fyi=l.p,exports.getEasing=c._,exports.getTagName=t.d,exports.gravity=ne.t,exports.hummingbird=l.f,exports.intersect=l.d,exports.intersection$=Z.n,exports.isBeta=l.w,exports.isObject=t.f,exports.lazy=n.t,exports.lightbox=B.t,exports.lightboxDirective=B.n,exports.liquid=l.u,exports.livingBorder=l.l,exports.longPress=l.c,exports.magnetic=m.t,exports.missedPunch=l.s,exports.mutationObserver=K.t,exports.nebula=l.o,exports.normalizeTagName=t.p,exports.notify=L.t,exports.notifyProgress=L.n,exports.observe=r.r,exports.openOverlays$=g.r,exports.overflowWithin=l.r,exports.overlayEvents=g.i,exports.overlayStack=te.t,exports.prefersReducedMotion=c.v,exports.prompt=g.a,exports.reducedMotion$=ee.t,exports.reveal=l.a,exports.ripple=l.i,exports.routerHistory=t.C,exports.sanitizeRouteState=t.m,exports.schmancyContentDrawer=h.C,exports.schmancyContext=r.i,exports.schmancyNavDrawer=h.m,exports.schmancySound=i.t,exports.schmancyTheme=d.t,exports.setBetaPredicate=l.T,exports.show=g.o,exports.similarity=o.t,exports.sound=i.n,exports.state=r.a,exports.stateFromObservable=r.o,exports.stepsContext=J.stepsContext,exports.tailwindAnimations=c.y,exports.tailwindStyles=X.o,exports.teleport=h.i,exports.theme=d.n,exports.themeContext=e.d,exports.tooltip=ce.tooltip,exports.typewriter=de.typewriter,exports.urgent=l.n,exports.validateInitialDateRange=b.n,exports.windowManager=E.n,exports.workingSnake=l.t;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk-CncqDLb2.cjs`);const e=require(`./SchmancyElement-C41uPa6l.cjs`),t=require(`./area-2FrTZI_T.cjs`),n=require(`./lazy-C-7a4FAe.cjs`),r=require(`./state-BxDNox-2.cjs`),i=require(`./sound.service-D2GGaBXc.cjs`),a=require(`./audio-EaD0Ggfh.cjs`),o=require(`./search-DPKoC-dT.cjs`),s=require(`./input-chip-ChAgRCXZ.cjs`),c=require(`./animation-CCOIW4wJ.cjs`),l=require(`./directives-Bb0S1DKZ.cjs`),ee=require(`./reduced-motion-Ds-HjMzn.cjs`),u=require(`./cursor-glow-Bulq-38P.cjs`),d=require(`./theme.service-B15FdjOS.cjs`),f=require(`./layout-DZ4dpLh9.cjs`),te=require(`./overlay-stack-Bdr9lOqi.cjs`),ne=require(`./gravity-6pL6CfIr.cjs`),p=require(`./discovery.service-CIa3Eeuk.cjs`),m=require(`./magnetic-DKtc4umC.cjs`),h=require(`./src-GJA8uSAS.cjs`),g=require(`./overlay.service-Dbu5uP9E.cjs`),_=require(`./boat-DsFJNfPH.cjs`),re=require(`./button-B9RfBt-n.cjs`),ie=require(`./button.cjs`),ae=require(`./checkbox-C4zeib84.cjs`),v=require(`./chips-wfJ7YtWv.cjs`),y=require(`./connectivity.cjs`),b=require(`./date-range-BHSzlwSL.cjs`),x=require(`./date-range-inline-D0I6k84h.cjs`),S=require(`./delay.cjs`),oe=require(`./details-DQNj2oaU.cjs`),C=require(`./dropdown.cjs`),w=require(`./surface-CWwYD_z2.cjs`),T=require(`./expand-CUF163mg.cjs`),se=require(`./fab.cjs`),E=require(`./window-BbBYjm7R.cjs`),D=require(`./float-OvqX0nqG.cjs`),O=require(`./form-4GKROq2P.cjs`),k=require(`./input-Z-3N5JMv.cjs`),A=require(`./radio-group-BEtvCSS1.cjs`),j=require(`./range.cjs`),M=require(`./theme.interface-CSt7JUBD.cjs`),N=require(`./select-BWpV2iv-.cjs`),P=require(`./switch.cjs`),F=require(`./form.cjs`),I=require(`./iframe-DpCv-QH2.cjs`),L=require(`./notification-B6yDL91t.cjs`),R=require(`./json.cjs`),z=require(`./layout.cjs`),B=require(`./lightbox-Dpwsn8Qr.cjs`),V=require(`./list-BhM-6dAi.cjs`),H=require(`./navigation-rail.cjs`),U=require(`./overlay-N0trD-4u.cjs`),W=require(`./typography-D4Fo1UGh.cjs`),G=require(`./overlay.confirm-body-CtXIi421.cjs`),K=require(`./rxjs-utils-Csnks202.cjs`),q=require(`./slider.cjs`),J=require(`./steps.cjs`),Y=require(`./table.cjs`),X=require(`./theme-BMbXoqi0.cjs`),ce=require(`./tooltip.cjs`),le=require(`./tree.cjs`),ue=require(`./types.cjs`),de=require(`./typewriter.cjs`),Z=require(`./utils-DTa3QHxk.cjs`),fe=require(`./avatar.cjs`),Q=require(`./breadcrumb.cjs`),pe=require(`./kbd.cjs`),me=require(`./skeleton.cjs`),he=require(`./visually-hidden.cjs`);let $=require(`@lit-labs/signals`);exports.$drawer=h.p,exports.$notify=L.r,exports.$sounds=a.t,exports.ANIMATION_CSS_VARS=c.t,exports.BLACKBIRD_EASING=c.n,exports.DISCOVER_EVENT=p.t,exports.DISCOVER_RESPONSE_EVENT=p.n,exports.DURATION_BACKDROP=c.r,exports.DURATION_ENTER=c.i,exports.DURATION_EXIT=c.a,exports.DragDirective=l.h,exports.DropDirective=l.g,exports.EASE_IN=c.o,exports.EASE_OUT=c.s,exports.EmotionalSoundGenerator=a.n,exports.FINDING_MORTIES=t.b,exports.GRID_ANIMATION_CSS=c.c,exports.HERE_RICKY=t.x,exports.HISTORY_STRATEGY=t.v,exports.HereMorty=h.n,Object.defineProperty(exports,`List`,{enumerable:!0,get:function(){return V.t}}),exports.Numbers=Z.t,Object.defineProperty(exports,`RadioButton`,{enumerable:!0,get:function(){return A.t}}),Object.defineProperty(exports,`RadioGroup`,{enumerable:!0,get:function(){return A.n}}),exports.SCHMANCY_EXPAND_REQUEST_CLOSE=T.t,exports.SPRING_BOUNCY=c.l,exports.SPRING_GENTLE=c.u,exports.SPRING_SMOOTH=c.d,exports.SPRING_SNAPPY=c.f,Object.defineProperty(exports,`ScBadgeV2`,{enumerable:!0,get:function(){return h.w}}),Object.defineProperty(exports,`SchmancyArea`,{enumerable:!0,get:function(){return t._}}),Object.defineProperty(exports,`SchmancyAssistChip`,{enumerable:!0,get:function(){return v.r}}),Object.defineProperty(exports,`SchmancyAvatar`,{enumerable:!0,get:function(){return fe.SchmancyAvatar}}),Object.defineProperty(exports,`SchmancyBadgeV2`,{enumerable:!0,get:function(){return h.T}}),exports.SchmancyBoat=_.t,Object.defineProperty(exports,`SchmancyBreadcrumb`,{enumerable:!0,get:function(){return Q.SchmancyBreadcrumb}}),Object.defineProperty(exports,`SchmancyBreadcrumbItem`,{enumerable:!0,get:function(){return Q.SchmancyBreadcrumbItem}}),Object.defineProperty(exports,`SchmancyButton`,{enumerable:!0,get:function(){return re.t}}),Object.defineProperty(exports,`SchmancyCheckbox`,{enumerable:!0,get:function(){return ae.t}}),exports.SchmancyChip=v.n,exports.SchmancyFilterChip=v.n,Object.defineProperty(exports,`SchmancyConnectivityStatus`,{enumerable:!0,get:function(){return y.SchmancyConnectivityStatus}}),Object.defineProperty(exports,`SchmancyContentDrawer`,{enumerable:!0,get:function(){return h._}}),exports.SchmancyContentDrawerID=h.v,Object.defineProperty(exports,`SchmancyContentDrawerMain`,{enumerable:!0,get:function(){return h.g}}),exports.SchmancyContentDrawerMaxHeight=h.y,exports.SchmancyContentDrawerMinWidth=h.b,Object.defineProperty(exports,`SchmancyContentDrawerSheet`,{enumerable:!0,get:function(){return h.h}}),exports.SchmancyContentDrawerSheetMode=h.x,exports.SchmancyContentDrawerSheetState=h.S,exports.SchmancyContext=r.s,Object.defineProperty(exports,`SchmancyDataTable`,{enumerable:!0,get:function(){return Y.SchmancyDataTable}}),Object.defineProperty(exports,`SchmancyDateRange`,{enumerable:!0,get:function(){return b.t}}),exports.SchmancyDateRangeInline=x.t,Object.defineProperty(exports,`SchmancyDelay`,{enumerable:!0,get:function(){return S.SchmancyDelay}}),exports.SchmancyDetails=oe.t,Object.defineProperty(exports,`SchmancyDrawerAppbar`,{enumerable:!0,get:function(){return h.f}}),exports.SchmancyDrawerNavbarMode=h.l,exports.SchmancyDrawerNavbarState=h.u,Object.defineProperty(exports,`SchmancyDropdown`,{enumerable:!0,get:function(){return C.SchmancyDropdown}}),Object.defineProperty(exports,`SchmancyDropdownContent`,{enumerable:!0,get:function(){return C.SchmancyDropdownContent}}),exports.SchmancyEvents=ue.SchmancyEvents,Object.defineProperty(exports,`SchmancyExpandRoot`,{enumerable:!0,get:function(){return T.n}}),Object.defineProperty(exports,`SchmancyFab`,{enumerable:!0,get:function(){return se.SchmancyFab}}),exports.SchmancyFloat=D.t,exports.SchmancyForm=O.t,Object.defineProperty(exports,`SchmancyFormSummary`,{enumerable:!0,get:function(){return F.SchmancyFormSummary}}),exports.SchmancyGenerateMoodAudioEvent=X.n,exports.SchmancyIframe=I.t,exports.SchmancyInput=k.n,Object.defineProperty(exports,`SchmancyInputChip`,{enumerable:!0,get:function(){return s.t}}),Object.defineProperty(exports,`SchmancyInputCompat`,{enumerable:!0,get:function(){return k.t}}),Object.defineProperty(exports,`SchmancyJson`,{enumerable:!0,get:function(){return R.SchmancyJson}}),Object.defineProperty(exports,`SchmancyKbd`,{enumerable:!0,get:function(){return pe.SchmancyKbd}}),Object.defineProperty(exports,`SchmancyLightbox`,{enumerable:!0,get:function(){return B.i}}),Object.defineProperty(exports,`SchmancyListItem`,{enumerable:!0,get:function(){return V.n}}),exports.SchmancyListTypeContext=V.r,Object.defineProperty(exports,`SchmancyNavigationBar`,{enumerable:!0,get:function(){return h.a}}),Object.defineProperty(exports,`SchmancyNavigationBarItem`,{enumerable:!0,get:function(){return h.o}}),Object.defineProperty(exports,`SchmancyNavigationDrawer`,{enumerable:!0,get:function(){return h.c}}),Object.defineProperty(exports,`SchmancyNavigationDrawerContent`,{enumerable:!0,get:function(){return h.d}}),Object.defineProperty(exports,`SchmancyNavigationDrawerSidebar`,{enumerable:!0,get:function(){return h.s}}),Object.defineProperty(exports,`SchmancyNavigationRail`,{enumerable:!0,get:function(){return H.SchmancyNavigationRail}}),Object.defineProperty(exports,`SchmancyNavigationRailItem`,{enumerable:!0,get:function(){return H.SchmancyNavigationRailItem}}),exports.SchmancyNotification=L.i,Object.defineProperty(exports,`SchmancyOverlay`,{enumerable:!0,get:function(){return U.t}}),Object.defineProperty(exports,`SchmancyOverlayPromptBody`,{enumerable:!0,get:function(){return G.t}}),Object.defineProperty(exports,`SchmancyRange`,{enumerable:!0,get:function(){return j.SchmancyRange}}),Object.defineProperty(exports,`SchmancyRoute`,{enumerable:!0,get:function(){return t.y}}),Object.defineProperty(exports,`SchmancyScroll`,{enumerable:!0,get:function(){return z.SchmancyScroll}}),Object.defineProperty(exports,`SchmancySelect`,{enumerable:!0,get:function(){return N.t}}),Object.defineProperty(exports,`SchmancySkeleton`,{enumerable:!0,get:function(){return me.SchmancySkeleton}}),Object.defineProperty(exports,`SchmancySlide`,{enumerable:!0,get:function(){return q.SchmancySlide}}),Object.defineProperty(exports,`SchmancySlider`,{enumerable:!0,get:function(){return q.SchmancySlider}}),Object.defineProperty(exports,`SchmancyStep`,{enumerable:!0,get:function(){return J.SchmancyStep}}),Object.defineProperty(exports,`SchmancySteps`,{enumerable:!0,get:function(){return J.SchmancySteps}}),Object.defineProperty(exports,`SchmancySuggestionChip`,{enumerable:!0,get:function(){return v.t}}),Object.defineProperty(exports,`SchmancySurface`,{enumerable:!0,get:function(){return w.t}}),exports.SchmancySurfaceTypeContext=w.n,Object.defineProperty(exports,`SchmancySwitch`,{enumerable:!0,get:function(){return P.SchmancySwitch}}),Object.defineProperty(exports,`SchmancyTableRow`,{enumerable:!0,get:function(){return Y.SchmancyTableRow}}),Object.defineProperty(exports,`SchmancyTeleportation`,{enumerable:!0,get:function(){return h.t}}),exports.SchmancyTheme=M.t,Object.defineProperty(exports,`SchmancyThemeAudioPlayer`,{enumerable:!0,get:function(){return X.r}}),Object.defineProperty(exports,`SchmancyThemeComponent`,{enumerable:!0,get:function(){return X.a}}),Object.defineProperty(exports,`SchmancyThemeController`,{enumerable:!0,get:function(){return X.i}}),Object.defineProperty(exports,`SchmancyThemeControllerBoat`,{enumerable:!0,get:function(){return X.t}}),Object.defineProperty(exports,`SchmancyTree`,{enumerable:!0,get:function(){return le.SchmancyTree}}),Object.defineProperty(exports,`SchmancyTypography`,{enumerable:!0,get:function(){return W.t}}),Object.defineProperty(exports,`SchmancyVisuallyHidden`,{enumerable:!0,get:function(){return he.SchmancyVisuallyHidden}}),exports.SchmancyWindow=E.t,Object.defineProperty(exports,`SchmnacyIconButton`,{enumerable:!0,get:function(){return ie.SchmnacyIconButton}}),Object.defineProperty(exports,`Signal`,{enumerable:!0,get:function(){return $.Signal}}),exports.StepsController=J.StepsController,exports.ThemeHereIAm=d.r,exports.ThemeWhereAreYou=d.i,exports.WhereAreYouRicky=h.r,exports._activeHost=e.r,exports.aiBadge=l.O,exports.animateText=l.k,exports.area=t.S,exports.art=l.D,exports.beta=l.C,exports.bindState=r.t,exports.buildQueryString=t.t,exports.color=l.S,exports.compareActiveRoutes=t.n,exports.compareCustomElementConstructors=t.r,exports.compareRouteActions=t.i,Object.defineProperty(exports,`computed`,{enumerable:!0,get:function(){return $.computed}}),exports.confirm=g.t,exports.confirmClick=l.x,exports.createAnimation=c.p,exports.createDarkTonalPaletteFromBaseColor=X.s,exports.createDismissAnimation=c.m,exports.createLightTonalPaletteFromBaseColor=X.c,exports.createRevealAnimation=c.h,exports.createRouteCacheKey=t.a,exports.createScaleAnimation=c.g,exports.cursorGlow=u.t,exports.cycleText=l.b,exports.debounce=t.o,exports.decodeData=t.h,exports.decodeRouteState=t.s,exports.deepMerge=t.c,exports.delayContext=S.delayContext,exports.depthOfField=l.y,exports.discover=p.r,exports.discoverAllElements=p.i,exports.discoverAnyComponent=p.a,exports.discoverComponent=p.o,exports.discoverElement=p.s,exports.dismissAll=g.n,exports.drag=l._,exports.drop=l.v,exports.effect=r.n,exports.encodeData=t.g,exports.encodeRouteState=t.l,exports.extractQueryParams=t.u,exports.fill=l.m,exports.flip=B.r,exports.formSubmitState=O.n,exports.formatTheme=X.l,exports.fromResizeObserver=f.t,exports.fullHeight=f.n,exports.fullWidth=f.r,exports.futureCell=l.E,exports.fyi=l.p,exports.getEasing=c._,exports.getTagName=t.d,exports.gravity=ne.t,exports.hummingbird=l.f,exports.intersect=l.d,exports.intersection$=Z.n,exports.isBeta=l.w,exports.isObject=t.f,exports.lazy=n.t,exports.lightbox=B.t,exports.lightboxDirective=B.n,exports.liquid=l.u,exports.livingBorder=l.l,exports.longPress=l.c,exports.magnetic=m.t,exports.missedPunch=l.s,exports.mutationObserver=K.t,exports.nebula=l.o,exports.normalizeTagName=t.p,exports.notify=L.t,exports.notifyProgress=L.n,exports.observe=r.r,exports.openOverlays$=g.r,exports.overflowWithin=l.r,exports.overlayEvents=g.i,exports.overlayStack=te.t,exports.prefersReducedMotion=c.v,exports.prompt=g.a,exports.reducedMotion$=ee.t,exports.reveal=l.a,exports.ripple=l.i,exports.routerHistory=t.C,exports.sanitizeRouteState=t.m,exports.schmancyContentDrawer=h.C,exports.schmancyContext=r.i,exports.schmancyNavDrawer=h.m,exports.schmancySound=i.t,exports.schmancyTheme=d.t,exports.setBetaPredicate=l.T,exports.show=g.o,exports.similarity=o.t,exports.sound=i.n,exports.state=r.a,exports.stateFromObservable=r.o,exports.stepsContext=J.stepsContext,exports.tailwindAnimations=c.y,exports.tailwindStyles=X.o,exports.teleport=h.i,exports.theme=d.n,exports.themeContext=e.d,exports.tooltip=ce.tooltip,exports.typewriter=de.typewriter,exports.urgent=l.n,exports.validateInitialDateRange=b.n,exports.windowManager=E.n,exports.workingSnake=l.t;
|
package/dist/index.js
CHANGED
|
@@ -16,15 +16,15 @@ import { t as Ke } from "./overlay-stack-D2rgxQLh.js";
|
|
|
16
16
|
import { t as qe } from "./gravity-sVK3zGBF.js";
|
|
17
17
|
import { a as Je, i as Ye, n as Xe, o as Ze, r as Qe, s as $e, t as et } from "./discovery.service-DZFxtRwW.js";
|
|
18
18
|
import { t as tt } from "./magnetic-DaOOv5Dz.js";
|
|
19
|
-
import { C as nt, S as rt, T as it, _ as at, a as ot, b as st, c as ct, d as lt, f as ut, g as dt, h as ft, i as pt, l as Q, m as mt, n as ht, o as gt, p as _t, r as vt, s as yt, t as bt, u as xt, v as St, w as Ct, x as wt, y as Tt } from "./src-
|
|
20
|
-
import { a as Et, i as Dt, n as Ot, o as kt, r as At, t as jt } from "./overlay.service-
|
|
21
|
-
import { t as Mt } from "./boat-
|
|
22
|
-
import { t as Nt } from "./button-
|
|
19
|
+
import { C as nt, S as rt, T as it, _ as at, a as ot, b as st, c as ct, d as lt, f as ut, g as dt, h as ft, i as pt, l as Q, m as mt, n as ht, o as gt, p as _t, r as vt, s as yt, t as bt, u as xt, v as St, w as Ct, x as wt, y as Tt } from "./src-8VJ7eluk.js";
|
|
20
|
+
import { a as Et, i as Dt, n as Ot, o as kt, r as At, t as jt } from "./overlay.service-BDLi0p5M.js";
|
|
21
|
+
import { t as Mt } from "./boat-fqodYt2n.js";
|
|
22
|
+
import { t as Nt } from "./button-D6LJC-HC.js";
|
|
23
23
|
import { SchmnacyIconButton as Pt } from "./button.js";
|
|
24
24
|
import { t as Ft } from "./checkbox-Ce0DlAdW.js";
|
|
25
|
-
import { n as $, r as It, t as Lt } from "./chips-
|
|
25
|
+
import { n as $, r as It, t as Lt } from "./chips-BoZSpSh_.js";
|
|
26
26
|
import { SchmancyConnectivityStatus as Rt } from "./connectivity.js";
|
|
27
|
-
import { n as zt, t as Bt } from "./date-range-
|
|
27
|
+
import { n as zt, t as Bt } from "./date-range-DJrdpzev.js";
|
|
28
28
|
import { t as Vt } from "./date-range-inline-DjRdMZ1z.js";
|
|
29
29
|
import { SchmancyDelay as Ht, delayContext as Ut } from "./delay.js";
|
|
30
30
|
import { t as Wt } from "./details-CY49XVfp.js";
|
|
@@ -49,9 +49,9 @@ import { SchmancyScroll as yn } from "./layout.js";
|
|
|
49
49
|
import { i as bn, n as xn, r as Sn, t as Cn } from "./lightbox-B7Y4Nij_.js";
|
|
50
50
|
import { n as wn, r as Tn, t as En } from "./list-C5WVoIfJ.js";
|
|
51
51
|
import { SchmancyNavigationRail as Dn, SchmancyNavigationRailItem as On } from "./navigation-rail.js";
|
|
52
|
-
import { t as kn } from "./overlay-
|
|
52
|
+
import { t as kn } from "./overlay-DwJWVyk2.js";
|
|
53
53
|
import { t as An } from "./typography-SZhjb_4R.js";
|
|
54
|
-
import { t as jn } from "./overlay.confirm-body-
|
|
54
|
+
import { t as jn } from "./overlay.confirm-body-DwzKhXxM.js";
|
|
55
55
|
import { t as Mn } from "./rxjs-utils-d-ivVN84.js";
|
|
56
56
|
import { SchmancySlide as Nn, SchmancySlider as Pn } from "./slider.js";
|
|
57
57
|
import { SchmancyStep as Fn, SchmancySteps as In, StepsController as Ln, stepsContext as Rn } from "./steps.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e, u as t } from "./SchmancyElement-BNnyBOwk.js";
|
|
2
2
|
import "./mixins-DGBI7YPO.js";
|
|
3
|
-
import { o as n } from "./overlay.service-
|
|
3
|
+
import { o as n } from "./overlay.service-BDLi0p5M.js";
|
|
4
4
|
import { takeUntil as r } from "rxjs";
|
|
5
5
|
import { customElement as i, query as a } from "lit/decorators.js";
|
|
6
6
|
import { css as o, html as s } from "lit";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-
|
|
1
|
+
{"version":3,"file":"menu-Dvi_tQgH.js","names":[],"sources":["../src/menu/menu-item.ts","../src/menu/menu.ts"],"sourcesContent":["import { SchmancyElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\n@customElement('schmancy-menu-item')\nexport default class SchmancyMenuItem extends SchmancyElement {\n\tstatic styles = [css`\n\t:host {\n\t\tdisplay: block;\n\t}\n`]\n\n\tprivate dismissParentMenu = (): void => {\n\t\t// Bubbling 'close' is the protocol the overlay `show()` watches; the\n\t\t// enclosing `<schmancy-menu>` opens the menu via `show()` and this\n\t\t// completes the subscription, so the overlay tears itself down.\n\t\tthis.dispatchEvent(new CustomEvent('close', { bubbles: true, composed: true }))\n\t}\n\n\tprotected render(): unknown {\n\t\treturn html`\n\t\t\t<schmancy-list-item @click=${this.dismissParentMenu}>\n\t\t\t\t<slot></slot>\n\t\t\t</schmancy-list-item>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-menu-item': SchmancyMenuItem\n\t}\n}\n","import { SchmancyElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement, query } from 'lit/decorators.js'\nimport { takeUntil } from 'rxjs'\nimport { show } from '../overlay/overlay.service'\n\n/**\n * Menu Component\n *\n * The overlay renders ONLY the raw menu items passed via the default slot.\n * NO <ul> wrapper, NO classes, NO additional markup. The overlay system\n * handles positioning (anchored at the trigger click) and dismissal.\n *\n * @example Basic menu with auto-dismiss\n * ```typescript\n * <schmancy-menu>\n * <schmancy-button slot=\"trigger\">Actions</schmancy-button>\n * <schmancy-menu-item @click=${() => editItem()}>Edit</schmancy-menu-item>\n * <schmancy-menu-item @click=${() => deleteItem()}>Delete</schmancy-menu-item>\n * </schmancy-menu>\n * ```\n * Note: `<schmancy-menu-item>` dispatches a bubbling 'close' event on click;\n * the overlay `show()` observable completes and the menu tears down.\n *\n * @example Custom component (manual dismiss)\n * ```typescript\n * <schmancy-menu>\n * <schmancy-icon-button slot=\"trigger\">settings</schmancy-icon-button>\n * <my-settings-form\n * @submit=${(e) => e.target.dispatchEvent(new CustomEvent('close', { bubbles: true, composed: true }))}\n * ></my-settings-form>\n * </schmancy-menu>\n * ```\n *\n * @slot trigger - Button to open menu (new naming)\n * @slot button - Button to open menu (backward compatible)\n * @slot default - Menu items or any custom component to display in the overlay\n */\n@customElement('schmancy-menu')\nexport default class SchmancyMenu extends SchmancyElement {\n\tstatic styles = [css`\n\t:host {\n\t\tposition: relative;\n\t\tdisplay: flex;\n\t}\n`]\n\n\t@query('slot:not([name])')\n\tprivate menuSlot!: HTMLSlotElement\n\n\tprivate showMenu = (event: MouseEvent): void => {\n\t\tconst menuItems = this.menuSlot?.assignedElements() || []\n\t\tif (menuItems.length === 0) return\n\n\t\t// Move slot items into a fresh container so the overlay can adopt them\n\t\t// without leaving stale references in our shadow tree. The overlay\n\t\t// surface no longer ships padding, so the wrapper owns its breathing\n\t\t// room — menu items shouldn't collide with the surface edge.\n\t\tconst overlayContainer = document.createElement('div')\n\t\toverlayContainer.style.padding = '0.5rem'\n\t\tmenuItems.forEach(item => overlayContainer.appendChild(item))\n\n\t\t// Anchor at the click so the overlay system positions the menu\n\t\t// adjacent to the trigger; subscription completion (any dismissal —\n\t\t// item click → bubbling 'close', backdrop, Esc, disconnect) restores\n\t\t// the items as light DOM so the next open re-projects them.\n\t\tshow(overlayContainer, { anchor: event })\n\t\t\t.pipe(takeUntil(this.disconnecting))\n\t\t\t.subscribe({\n\t\t\t\tcomplete: () => menuItems.forEach(item => this.appendChild(item)),\n\t\t\t})\n\t}\n\n\trender() {\n\t\treturn html`\n\t\t\t<slot name=\"trigger\" @click=${this.showMenu}>\n\t\t\t\t<slot name=\"button\" @click=${this.showMenu}>\n\t\t\t\t\t<schmancy-icon-button>more_vert</schmancy-icon-button>\n\t\t\t\t</slot>\n\t\t\t</slot>\n\t\t\t<div hidden>\n\t\t\t\t<slot></slot>\n\t\t\t</div>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-menu': SchmancyMenu\n\t}\n}\n"],"mappings":";;;;;;AAKe,IAAA,IAAA,cAA+B,EAAA;CAAA,YAAA,GAAA,GAAA;EAAA,MAAA,GAAA,CAAA,GAAA,KAAA,0BAAA;GAW5C,KAAK,cAAc,IAAI,YAAY,SAAS;IAAE,SAAA,CAAS;IAAM,UAAA,CAAU;GAAA,CAAA,CAAA;EAAA;CAAA;CAAA;EAAA,KAAA,SAVxD,CAAC,CAAG;;;;;;CAapB,SAAA;EACC,OAAO,CAAI;gCACmB,KAAK,kBAAA;;;;CAIpC;AAAA;AAAA,IAAA,EAAA,CArBA,EAAc,oBAAA,CAAA,GAAoB,CAAA;ACmCpB,IAAA,IAAA,cAA2B,EAAA;CAAA,YAAA,GAAA,GAAA;EAAA,MAAA,GAAA,CAAA,GAAA,KAAA,YAWrB,MAAA;GACnB,IAAM,IAAY,KAAK,UAAU,iBAAA,KAAsB,CAAA;GACvD,IAAI,EAAU,WAAW,GAAG;GAM5B,IAAM,IAAmB,SAAS,cAAc,KAAA;GAChD,EAAiB,MAAM,UAAU,UACjC,EAAU,SAAQ,MAAQ,EAAiB,YAAY,CAAA,CAAA,GAMvD,EAAK,GAAkB,EAAE,QAAQ,EAAA,CAAA,EAC/B,KAAK,EAAU,KAAK,aAAA,CAAA,EACpB,UAAU,EACV,gBAAgB,EAAU,SAAQ,MAAQ,KAAK,YAAY,CAAA,CAAA,EAAA,CAAA;EAAA;CAAA;CAAA;EAAA,KAAA,SA7B9C,CAAC,CAAG;;;;;;;CAiCpB,SAAA;EACC,OAAO,CAAI;iCACoB,KAAK,SAAA;iCACL,KAAK,SAAA;;;;;;;;CAQrC;AAAA;AAAA,EAAA,CArCC,EAAM,kBAAA,CAAA,GAAkB,EAAA,WAAA,YAAA,KAAA,CAAA,GAAA,IAAA,EAAA,CATzB,EAAc,eAAA,CAAA,GAAe,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require(`./chunk-CncqDLb2.cjs`);const e=require(`./SchmancyElement-C41uPa6l.cjs`);require(`./mixins-fIpzhVMd.cjs`);const t=require(`./overlay.service-
|
|
1
|
+
require(`./chunk-CncqDLb2.cjs`);const e=require(`./SchmancyElement-C41uPa6l.cjs`);require(`./mixins-fIpzhVMd.cjs`);const t=require(`./overlay.service-Dbu5uP9E.cjs`);let n=require(`rxjs`),r=require(`lit/decorators.js`),i=require(`lit`);var a=class extends e.t{constructor(...e){super(...e),this.dismissParentMenu=()=>{this.dispatchEvent(new CustomEvent(`close`,{bubbles:!0,composed:!0}))}}static{this.styles=[i.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-
|
|
1
|
+
{"version":3,"file":"menu-GZARYp6I.cjs","names":[],"sources":["../src/menu/menu-item.ts","../src/menu/menu.ts"],"sourcesContent":["import { SchmancyElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\n@customElement('schmancy-menu-item')\nexport default class SchmancyMenuItem extends SchmancyElement {\n\tstatic styles = [css`\n\t:host {\n\t\tdisplay: block;\n\t}\n`]\n\n\tprivate dismissParentMenu = (): void => {\n\t\t// Bubbling 'close' is the protocol the overlay `show()` watches; the\n\t\t// enclosing `<schmancy-menu>` opens the menu via `show()` and this\n\t\t// completes the subscription, so the overlay tears itself down.\n\t\tthis.dispatchEvent(new CustomEvent('close', { bubbles: true, composed: true }))\n\t}\n\n\tprotected render(): unknown {\n\t\treturn html`\n\t\t\t<schmancy-list-item @click=${this.dismissParentMenu}>\n\t\t\t\t<slot></slot>\n\t\t\t</schmancy-list-item>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-menu-item': SchmancyMenuItem\n\t}\n}\n","import { SchmancyElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement, query } from 'lit/decorators.js'\nimport { takeUntil } from 'rxjs'\nimport { show } from '../overlay/overlay.service'\n\n/**\n * Menu Component\n *\n * The overlay renders ONLY the raw menu items passed via the default slot.\n * NO <ul> wrapper, NO classes, NO additional markup. The overlay system\n * handles positioning (anchored at the trigger click) and dismissal.\n *\n * @example Basic menu with auto-dismiss\n * ```typescript\n * <schmancy-menu>\n * <schmancy-button slot=\"trigger\">Actions</schmancy-button>\n * <schmancy-menu-item @click=${() => editItem()}>Edit</schmancy-menu-item>\n * <schmancy-menu-item @click=${() => deleteItem()}>Delete</schmancy-menu-item>\n * </schmancy-menu>\n * ```\n * Note: `<schmancy-menu-item>` dispatches a bubbling 'close' event on click;\n * the overlay `show()` observable completes and the menu tears down.\n *\n * @example Custom component (manual dismiss)\n * ```typescript\n * <schmancy-menu>\n * <schmancy-icon-button slot=\"trigger\">settings</schmancy-icon-button>\n * <my-settings-form\n * @submit=${(e) => e.target.dispatchEvent(new CustomEvent('close', { bubbles: true, composed: true }))}\n * ></my-settings-form>\n * </schmancy-menu>\n * ```\n *\n * @slot trigger - Button to open menu (new naming)\n * @slot button - Button to open menu (backward compatible)\n * @slot default - Menu items or any custom component to display in the overlay\n */\n@customElement('schmancy-menu')\nexport default class SchmancyMenu extends SchmancyElement {\n\tstatic styles = [css`\n\t:host {\n\t\tposition: relative;\n\t\tdisplay: flex;\n\t}\n`]\n\n\t@query('slot:not([name])')\n\tprivate menuSlot!: HTMLSlotElement\n\n\tprivate showMenu = (event: MouseEvent): void => {\n\t\tconst menuItems = this.menuSlot?.assignedElements() || []\n\t\tif (menuItems.length === 0) return\n\n\t\t// Move slot items into a fresh container so the overlay can adopt them\n\t\t// without leaving stale references in our shadow tree. The overlay\n\t\t// surface no longer ships padding, so the wrapper owns its breathing\n\t\t// room — menu items shouldn't collide with the surface edge.\n\t\tconst overlayContainer = document.createElement('div')\n\t\toverlayContainer.style.padding = '0.5rem'\n\t\tmenuItems.forEach(item => overlayContainer.appendChild(item))\n\n\t\t// Anchor at the click so the overlay system positions the menu\n\t\t// adjacent to the trigger; subscription completion (any dismissal —\n\t\t// item click → bubbling 'close', backdrop, Esc, disconnect) restores\n\t\t// the items as light DOM so the next open re-projects them.\n\t\tshow(overlayContainer, { anchor: event })\n\t\t\t.pipe(takeUntil(this.disconnecting))\n\t\t\t.subscribe({\n\t\t\t\tcomplete: () => menuItems.forEach(item => this.appendChild(item)),\n\t\t\t})\n\t}\n\n\trender() {\n\t\treturn html`\n\t\t\t<slot name=\"trigger\" @click=${this.showMenu}>\n\t\t\t\t<slot name=\"button\" @click=${this.showMenu}>\n\t\t\t\t\t<schmancy-icon-button>more_vert</schmancy-icon-button>\n\t\t\t\t</slot>\n\t\t\t</slot>\n\t\t\t<div hidden>\n\t\t\t\t<slot></slot>\n\t\t\t</div>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-menu': SchmancyMenu\n\t}\n}\n"],"mappings":"2OAKe,IAAA,EAAA,cAA+B,EAAA,CAAA,CAAA,YAAA,GAAA,EAAA,CAAA,MAAA,GAAA,CAAA,EAAA,KAAA,sBAAA,CAW5C,KAAK,cAAc,IAAI,YAAY,QAAS,CAAE,QAAA,CAAS,EAAM,SAAA,CAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAA,KAAA,OAVxD,CAAC,EAAA,GAAG;;;;GAapB,QAAA,CACC,MAAO,GAAA,IAAI;gCACmB,KAAK,kBAAA;;;GAIpC,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,eArBc,oBAAA,CAAA,EAAoB,CAAA,ECmCpB,IAAA,EAAA,cAA2B,EAAA,CAAA,CAAA,YAAA,GAAA,EAAA,CAAA,MAAA,GAAA,CAAA,EAAA,KAAA,SAWrB,GAAA,CACnB,IAAM,EAAY,KAAK,UAAU,iBAAA,GAAsB,CAAA,EACvD,GAAI,EAAU,SAAW,EAAG,OAM5B,IAAM,EAAmB,SAAS,cAAc,KAAA,EAChD,EAAiB,MAAM,QAAU,SACjC,EAAU,QAAQ,GAAQ,EAAiB,YAAY,CAAA,CAAA,EAMvD,EAAA,EAAK,EAAkB,CAAE,OAAQ,CAAA,CAAA,EAC/B,MAAA,EAAA,EAAA,WAAe,KAAK,aAAA,CAAA,EACpB,UAAU,CACV,aAAgB,EAAU,QAAQ,GAAQ,KAAK,YAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OAAA,KAAA,OA7B9C,CAAC,EAAA,GAAG;;;;;GAiCpB,QAAA,CACC,MAAO,GAAA,IAAI;iCACoB,KAAK,SAAA;iCACL,KAAK,SAAA;;;;;;;GAQrC,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,OArCO,kBAAA,CAAA,EAAkB,EAAA,UAAA,WAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,eATX,eAAA,CAAA,EAAe,CAAA"}
|
package/dist/menu.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./menu-
|
|
1
|
+
require(`./menu-GZARYp6I.cjs`);
|
package/dist/menu.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import "./menu-
|
|
1
|
+
import "./menu-Dvi_tQgH.js";
|
package/dist/nav-drawer.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./src-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./src-GJA8uSAS.cjs`);exports.$drawer=e.p,Object.defineProperty(exports,`SchmancyDrawerAppbar`,{enumerable:!0,get:function(){return e.f}}),exports.SchmancyDrawerNavbarMode=e.l,exports.SchmancyDrawerNavbarState=e.u,Object.defineProperty(exports,`SchmancyNavigationDrawer`,{enumerable:!0,get:function(){return e.c}}),Object.defineProperty(exports,`SchmancyNavigationDrawerContent`,{enumerable:!0,get:function(){return e.d}}),Object.defineProperty(exports,`SchmancyNavigationDrawerSidebar`,{enumerable:!0,get:function(){return e.s}}),exports.schmancyNavDrawer=e.m;
|
package/dist/nav-drawer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as e, d as t, f as n, l as r, m as i, p as a, s as o, u as s } from "./src-
|
|
1
|
+
import { c as e, d as t, f as n, l as r, m as i, p as a, s as o, u as s } from "./src-8VJ7eluk.js";
|
|
2
2
|
export { a as $drawer, n as SchmancyDrawerAppbar, r as SchmancyDrawerNavbarMode, s as SchmancyDrawerNavbarState, e as SchmancyNavigationDrawer, t as SchmancyNavigationDrawerContent, o as SchmancyNavigationDrawerSidebar, i as schmancyNavDrawer };
|
package/dist/navigation-bar.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./src-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./src-GJA8uSAS.cjs`);Object.defineProperty(exports,`SchmancyNavigationBar`,{enumerable:!0,get:function(){return e.a}}),Object.defineProperty(exports,`SchmancyNavigationBarItem`,{enumerable:!0,get:function(){return e.o}});
|
package/dist/navigation-bar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, o as t } from "./src-
|
|
1
|
+
import { a as e, o as t } from "./src-8VJ7eluk.js";
|
|
2
2
|
export { e as SchmancyNavigationBar, t as SchmancyNavigationBarItem };
|
|
@@ -3,8 +3,8 @@ import "./mixins-DGBI7YPO.js";
|
|
|
3
3
|
import { _ as n, d as r, f as i } from "./animation-DCznELuT.js";
|
|
4
4
|
import { t as a } from "./reduced-motion-D-L12p7G.js";
|
|
5
5
|
import { t as o } from "./layout-CFiG3lNT.js";
|
|
6
|
-
import { s } from "./overlay.service-
|
|
7
|
-
import "./overlay.confirm-body-
|
|
6
|
+
import { s } from "./overlay.service-BDLi0p5M.js";
|
|
7
|
+
import "./overlay.confirm-body-DwzKhXxM.js";
|
|
8
8
|
import { EMPTY as c, Observable as l, Subject as u, debounceTime as d, distinctUntilChanged as f, filter as p, fromEvent as m, map as h, merge as g, take as _, takeUntil as v, tap as y } from "rxjs";
|
|
9
9
|
import { customElement as b, property as x, query as S, state as C } from "lit/decorators.js";
|
|
10
10
|
import { css as w, html as T, render as E } from "lit";
|