JSPM

@bootstrap-wc/core

0.5.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 220
  • Score
    100M100P100Q79904F
  • License MIT

Core base class, controllers, and styles for Bootstrap Web Components.

Package Exports

  • @bootstrap-wc/core
  • @bootstrap-wc/core/scss/_core.scss
  • @bootstrap-wc/core/scss/_reset.scss

Readme

@bootstrap-wc/core

Base class, controllers, and shared SCSS for Bootstrap Web Components.

  • BootstrapElement — light-DOM Lit base class with RTL observer.
  • TransitionController — CSS-class transition coordinator.
  • FloatingController — wraps @floating-ui/dom for tooltips, popovers, dropdowns.
  • FocusTrapController — wraps focus-trap for modals and offcanvas.
  • FormAssociated — mixin that turns a LitElement into a form-associated custom element via ElementInternals.

Normally imported transitively by @bootstrap-wc/components. Install directly only if you're building your own components on top of this foundation.