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

caralstable

v1.4.0

Published

Seidor Caral Design System Component Library

Readme

Seidor Caral Design System 🎨

Caral es el sistema de diseño premium de SEIDOR Analytics, diseñado para ofrecer interfaces consistentes, accesibles y con una estética de vanguardia. Esta librería de componentes para React está construida con Tailwind CSS, Figma Tokens e IconCaral2.


🚀 Requisitos de Instalación

Para asegurar el correcto funcionamiento de los componentes, asegúrate de tener instaladas las dependencias necesarias:

npm install iconcaral2 react-day-picker

Peer Dependencies

  • React >= 18.0.0
  • React DOM >= 18.0.0

💅 Configuración de Estilos (MANDATORIO)

1. Tipografía Poppins

El sistema utiliza la fuente Poppins de Google Fonts. Debes incluirla en tu proyecto (via CSS o HTML):

<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">

2. Importar el CSS de Caral

Debes importar el archivo de estilos global que contiene los tokens de color y animaciones en el punto de entrada de tu aplicación (index.tsx o App.tsx):

import 'caral-design-system/dist/index.css';

3. Configuración de Tailwind

Si estás utilizando Tailwind en tu proyecto base, asegúrate de extender el tema con los colores de Caral (ver tailwind.config.js en esta librería) o simplemente deja que el CSS de Caral maneje las variables de diseño.


🧩 Componentes Principales

La librería ofrece una amplia gama de componentes, incluyendo:

  • Navigation: NavbarHorizontal, NavbarVertical (Sidebar).
  • Forms: Button, TextInput, Select, Toggle, Chip.
  • Data: Table, Accordion, ProgressBar.
  • Feedback: Alert, ConfirmationModal, Spinner, Skeleton.
  • Templates: LoginScreen.

🛠 Kit de Skills (Knowledge Items)

Una de las características únicas de este sistema es el directorio src/skills/. Estos archivos Markdown son Knowledge Items que sirven como puente entre el diseño de Figma y la implementación:

  • Mapeo Figma-Code: Cada skill detalla qué propiedades de Figma (ej. "isPill", "variant") corresponden a qué props de React.
  • Checklist de Validación: Puntos clave para asegurar que el componente renderizado sea idéntico al diseño original.
  • Uso Estándar: Ejemplos de código base recomendados para mantener la consistencia.

Se recomienda a los desarrolladores consultar el archivo .md correspondiente (ej: Button.md, Icons.md) antes de implementar nuevas pantallas.


🏗 Desarrollo y Pruebas

Para visualizar los componentes en un entorno aislado, utiliza Storybook:

npm run storybook

Esto abrirá un servidor local (usualmente puerto 6006) donde podrás interactuar con todas las variantes de cada componente.


📦 Publicación

Para generar el bundle de producción listo para distribuir:

npm run build

El resultado se generará en la carpeta dist/, incluyendo tipos TypeScript y el CSS optimizado.


© 2026 SEIDOR Analytics - Humanizando la tecnologia.