npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mintplayer/ui-core

v1.10.0

Published

Headless, framework-neutral cores for the @mintplayer/bootstrap design system: component state machines, ARIA prop bags, request lifecycles and scoped styles. Consumed by @mintplayer/ng-bootstrap, @mintplayer/react-bootstrap, @mintplayer/vue-bootstrap and

Readme

@mintplayer/ui-core

Headless, framework-neutral cores for the @mintplayer/*-bootstrap component libraries.

A core owns everything about a component except its markup: state, transitions, keyboard intent, async request lifecycles, the ARIA attribute bags each node must carry, and the component's scoped stylesheet. Four fronts consume a core and render their own template from it: an Angular component (@mintplayer/ng-bootstrap), a React component (@mintplayer/react-bootstrap), a Vue single-file component (@mintplayer/vue-bootstrap) and a Lit web component (@mintplayer/web-components). Because every front renders real HTML, server rendering emits data-filled markup for every component, with no custom element in the way.

Most components are written once here, as a core, a .view.vue template and a manifest, and the component compiler (libs/mintplayer-component-compiler) generates the four fronts from them.

The Bootstrap baseline

@mintplayer/ui-core/styles/bootstrap (SCSS) or the prebuilt styles/bootstrap.css is the page-level Bootstrap. Load it once per page, before any component sheet:

  • Angular: @use '@mintplayer/ng-bootstrap/bootstrap'; forwards it.
  • React, Vue, plain web components: @use '@mintplayer/ui-core/styles/bootstrap';, or link the CSS.

It is meant to hold only the page-level partials: root, reboot, type, images, buttons, helpers and the utility API. Component partials (card, forms, table, modal, …) ship with the component that renders them, never globally, so an app bundles only the Bootstrap it uses.

Work in progress (#452): on master this baseline still contains every Bootstrap partial. Moving them into the components that use them is the open work.

It sits in @layer mp.bootstrap, below the components (@layer mp.components). Your own unlayered CSS beats both, so theming needs no !important. Dark mode is page-level: data-bs-theme on <html>.

On top of Bootstrap, the baseline adds these utilities:

| Classes | Values | |---|---| | .cursor-* | auto default pointer wait text move help not-allowed grab grabbing, and the eight *-resize directions (n-resize, ne-resize, ...) | | .white-space-* | break-spaces none normal nowrap pre pre-line pre-wrap revert (Bootstrap's .text-wrap / .text-nowrap are there too) | | .overflow-x-* | clip overlay revert unset, next to Bootstrap's auto hidden visible scroll | | .w-{sm,md,lg,xl,xxl}-{25,50,75,100,auto} | Bootstrap's width utilities, made responsive |

Entries

Infrastructure the cores and fronts share:

  • component: defineCore and the runtime every front hosts a core with.
  • store: Machine<S>, an immutable snapshot with subscribe and batched notifications.
  • async: SupersedingRequest (debounce, abort the previous request, drop stale answers).
  • transfer-state: the SSR seed (runPrefetch, serializeTransferState, canonical JSON keys).
  • scoped-styles: the registry that installs each component's rescoped sheet once per document.
  • overlay, focus, roving, drag, virtual-window, announce, forms, theming, flags, phone-core, scheduler-core, swiper-core.

Component cores: accordion, calendar, card, carousel, checkbox, code-snippet, datatable, datepicker, datetime-picker, dock, dropdown-menu, file-manager, input-group, multi-range, navbar, otp-input, pagination, phone-input, query-builder, radio, ribbon, scheduler, select, shell, signature-pad, splitter, tab-control, tile-manager, timeline, timepicker, tree, tree-select, treeview, typeahead.

Each is imported as @mintplayer/ui-core/<entry>. Architecture: docs/prd/headless-catalog-437.md (the typeahead pilot was #436).