Lit

Lit 1.4.1Latest
Lit components hydrate cleanly inside shadow roots.

A Lit-only patch: the components no longer lose their styles when mounted inside another element's shadow root.

  • Fixed: styles dropped when nested in a shadow root
  • Fixed: focus ring missing on the trigger in Safari
Lit 1.4.0
Angular standalone components and a scoped CSS variable theme API.

@slash.tools/angular ships as a standalone component, so it works without NgModules or CUSTOM_ELEMENTS_SCHEMA in most setups.

app.component.ts

Theme colors and radius are now exposed as CSS custom properties on the host element, scoped per-instance instead of globally.

  • New: --slash-accent and --slash-radius custom properties
  • New: standalone Angular component, no NgModule required
  • Improved: first paint is ~30% faster on cold load
Lit 1.3.2
Fixed a focus-trap bug that could steal focus from the host page after closing.

Closing the launcher with Escape while an item was still loading could leave focus trapped inside a detached node. Focus now always returns to the element that had it before the launcher opened.

  • Fixed: focus not restored after closing with Escape mid-load
  • Fixed: onSelect firing twice when an item was activated with Enter and a click in the same frame
Lit 1.3.0
Introduced @slash.tools/web, a framework-free custom element built with Lit.

slash-launcher is now available as a standalone Lit-powered custom element for teams not using React or Angular.

index.html
  • New: @slash.tools/web framework-free custom element
  • Changed: onSelect event payload now includes a source field ('keyboard' | 'pointer')
  • Changed: minimum supported bundler is now Vite 5 or webpack 5