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

bluetab-design-system

v1.0.1

Published

Bluetab Design System starter con catálogo completo de componentes inspirado en Beer CSS, sin dependencia visual de Beer CSS.

Downloads

287

Readme

Bluetab Design System

Design System basado en HTML + CSS + JavaScript para Bluetab, con dos objetivos:

  • Servir como catálogo local de componentes durante el desarrollo.
  • Publicarse como paquete npm reusable en proyectos Phoenix/LiveView.

Scripts

npm install
npm run dev

Catálogo local (Vite):

http://localhost:5173/

Build de paquete publicable:

npm run build:lib

Build del catálogo estático:

npm run build:docs

Salida del catálogo: dist-docs/

Entrypoints del paquete

Este repositorio separa catálogo y librería:

  • src/main.js: solo catálogo/documentación local.
  • src/lib/index.js: entrada del paquete para consumo externo.
  • src/lib/interactions.js: utilidades JS reutilizables.

Salidas principales en dist/:

  • dist/bds.css: tokens + estilos de componentes.
  • dist/bds.js: entrada principal del paquete.
  • dist/interactions.js: subpath de interacciones.

Uso desde aplicaciones consumidoras

Guías para LiveView y otras apps:

Qué puedes tocar primero

El archivo principal para parametrizar el diseño es:

src/styles/tokens.css

Ahí puedes cambiar:

  • Colores de marca
  • Tema claro/oscuro
  • Tipografía
  • Radios
  • Sombras
  • Espaciados
  • Tamaños base

Estructura

src/
├─ main.js
├─ lib/
│  ├─ index.js
│  └─ interactions.js
├─ assets/
│  └─ logo-bluetab.svg
└─ styles/
   ├─ main.css
   ├─ tokens.css
   ├─ reset.css
   ├─ typography.css
   ├─ layout.css
   ├─ utilities.css
   └─ components/
      ├─ navigation.css
      ├─ buttons.css
      ├─ cards.css
      ├─ badges.css
      ├─ forms.css
      ├─ tables.css
      ├─ dialogs.css
      ├─ tabs.css
      ├─ data-viz.css
      ├─ code.css
      └─ feedback.css

Cómo añadir o cambiar componentes

Los ejemplos del catálogo están definidos en:

src/main.js

Busca el array COMPONENTS. Cada componente sigue esta forma:

{
  id: 'buttons',
  group: 'Componentes',
  icon: '▣',
  title: 'Buttons',
  description: '...',
  examples: [
    {
      title: 'Common buttons',
      html: `<button class="bt-button">Primary</button>`
    }
  ]
}

Release y versionado

Flujo recomendado:

  1. Actualizar estilos/componentes en este repo.
  2. Ejecutar npm run build:lib.
  3. Subir versión (npm version patch|minor|major).
  4. Publicar (npm publish o registry privado).
  5. Actualizar dependencias en proyectos consumidores.

Reglas de versionado (SemVer):

  • Patch: fixes sin ruptura.
  • Minor: cambios compatibles (nuevos componentes/variantes).
  • Major: cambios de ruptura (clases/tokens removidos o renombrados).