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

@kitina/ui

v0.1.3

Published

Componentes UI agnósticos para el ecosistema Kitina

Downloads

371

Readme

Kitina UI Lab - Laboratorio de Componentes

Este repositorio sirve como entorno de desarrollo y laboratorio para el ecosistema @kitina/ui. Aquí se diseñan, prueban y estabilizan los componentes antes de ser integrados en el núcleo del sistema.

🏗 Arquitectura: Lab to Core

El flujo de trabajo está diseñado para permitir una iteración rápida sin afectar la estabilidad del núcleo:

  1. Desarrollo Local: Los componentes se crean en src/components/ dentro de este laboratorio.
  2. Exportación: Todos los componentes estables se registran en src/index.ts.
  3. Sincronización: Mediante el comando deno task deploy, los archivos se sincronizan con la librería core @kitina/ui en el monorepo superior, filtrando archivos de configuración local y páginas de prueba.

⚙️ Configuración Centralizada (YAML)

La implementación se basa en un modelo Data-Driven. Los componentes están desacoplados de los datos específicos de cada cliente, abstrayendo la lógica visual de la información de negocio.

Flujo de Implementación en el Cliente

Cuando se usa @kitina/ui en un proyecto nuevo, el cliente debe:

  1. Instalar la librería @kitina/ui.
  2. Crear su propio src/config.yml: Este archivo es el cerebro del sitio y debe ser personalizado según la marca.
  3. Consumir los componentes: Los componentes importados de @kitina/ui leerán automáticamente esta configuración.

📋 Plantilla de Configuración (src/config.yml)

A continuación, se presenta la estructura mínima requerida para que los componentes funcionen correctamente:

# Información Básica
metadata:
  title: "Nombre del Sitio"
  description: "Descripción SEO"
  locationText: "Ciudad, País"
  url: "https://ejemplo.com"

# Identidad Visual
branding:
  logo: "logo.png"       # Debe existir en src/assets/images/
  devLogo: "dev-logo.svg" 

# Sistema de Temas
palettes:
  ocean:
    primary: "#0C4A6E"
    accent: "#06B6D4"
    fog: "#F0F9FF"
activePalette: "ocean"

# Contacto
contact:
  captainName: "Nombre de Contacto"
  phone: "569XXXXXXXX"
  instagramLink: "https://instagram.com/..."
  googleMapsLink: "https://maps.google.com/..."

# Funcionalidades
features:
  weather:
    enabled: true
    lat: -39.871
    lng: -71.889
    windyLink: "..."

# Contenido de Secciones
content:
  services:
    - id: "servicio-1"
      title: "Título"
      shortDescription: "Resumen"
      images: ["foto1.jpg"] # En src/assets/images/
      buttonText: "Reservar Ahora"
      whatsappIntro: "Hola, me interesa..."

🚀 Comandos del Laboratorio

  • deno task dev: Inicia el servidor de desarrollo Astro en el laboratorio.
  • deno task build: Genera la versión estática para pruebas de producción.
  • deno task deploy: [CRÍTICO] Sincroniza los cambios estabilizados del laboratorio hacia el Core del ecosistema.

📂 Organización de Archivos

  • src/components/: Código fuente de los componentes Astro.
  • src/site.config.ts: Lógica de resolución de imágenes y procesamiento del YAML.
  • src/index.ts: Punto de entrada de los exports para la librería.
  • scripts/deploy-to-core.ts: Script de automatización de despliegue al Core.

Desarrollado para el ecosistema Kitina por LW.