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

@nivo-sass/design-system

v0.0.15

Published

Nivo Design System - Visual identity and UI components

Readme

Nivo Design System

Este es el design system oficial de Nivo. Contiene los elementos de identidad visual y componentes UI reutilizables para construir interfaces consistentes en todas las aplicaciones de Nivo.

Publicacion en npm

Publica siempre el paquete compilado de dist, no la raiz del repo.

# 1) Build
npm run build

# 2) Verificacion de archivos a publicar
npm run pack:dist

# 3) Publicar solo dist
npm run publish:dist

Si ejecutas npm publish en la raiz, se intentaria publicar codigo fuente y docs. Este repo tiene una proteccion en prepublishOnly para bloquear ese error.

Estructura

src/
├── lib/
│   ├── tokens/       # Design tokens (colores, tipografía, espacios, sombras, etc.)
│   ├── components/   # Componentes UI reutilizables (Button, Input, Card, etc.)
│   └── styles/       # Configuración global de estilos, temas y utilidades

Uso

Para usar el design system en cualquier aplicación o librería:

# Instalar dependencias (si es necesario)
bun install

# Build de la librería
bunx ng-packagr -p ng-package.json

# Empaquetar (genera .tgz en dist/libs/design-system)
cd ../../dist/libs/design-system
bun pm pack

# En otro proyecto: instalar el paquete local
bun add /ruta/a/design-system-0.0.1.tgz

En tu código Angular standalone:

import { ButtonComponent } from "@nivo/design-system";
@Component({
  standalone: true,
  imports: [ButtonComponent],
  template: `<nv-button>Guardar</nv-button>`,
})
export class ExampleComponent {}

Usar tokens.css desde npm

El archivo tokens.css se empaqueta dentro del paquete en styles/tokens.css. Ademas, el paquete ahora exporta explicitamente ./styles/tokens.css para que funcione con proyectos que respetan exports en package.json.

En una app Angular, agregalo en angular.json:

{
  "styles": [
    "src/styles.css",
    "node_modules/@nivo-sass/design-system/styles/tokens.css"
  ]
}

Alternativa: importarlo en tu styles.css global:

@import "@nivo-sass/design-system/styles/tokens.css";

Desarrollo

Construir el design system

nx build design-system

Ejecutar tests

nx test design-system

Lint

nx lint design-system

Guías de contribución

  1. Tokens: Los cambios en los tokens deben ser cuidadosos ya que afectan a toda la aplicación
  2. Componentes: Nuevos componentes deben seguir los principios de accesibilidad y reutilización
  3. Documentación: Cada componente público debe tener ejemplos de uso

Temas

El design system soporta múltiples temas (claro, oscuro, alto contraste) que pueden ser seleccionados mediante el provider de tema.

Ver src/lib/styles/themes/ para más detalles.