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

@kaufmann-lab/ui

v0.1.14

Published

Shared Angular component library for the Kaufmann frontends

Downloads

570

Readme

@kaufmann-lab/ui

Librería de componentes Angular compartida para los frontends de Kaufmann. La consumen Portal LATAM, Portal OTD y Portal Star — incluida la app móvil Ionic, que por debajo sigue siendo Angular.

Nota sobre este README: por ahora solo documenta <kf-button> en detalle. La librería ya tiene muchos más componentes (Input, Checkbox, Select, Modal, Card, Tabs, Toast, y otros) — para verlos, mirá el código fuente en projects/ui/src/lib/ en el repositorio hasta que esta tabla se complete. Ver también el CHANGELOG para el detalle de qué cambió en cada versión publicada.

Requisitos

Angular 22 y TypeScript ~6.0.3. Angular es una peerDependency, así que la librería usa la versión de Angular que ya tenga instalada la aplicación anfitriona. Todos los consumidores deben estar en el mismo major de Angular.

Instalación

pnpm add @kaufmann-lab/ui

Uso

Todos los componentes son standalone — no hay ningún módulo para importar. Agregá el componente a los imports de quien lo use:

import { Component } from '@angular/core';
import { Button } from '@kaufmann-lab/ui';

@Component({
  selector: 'app-customers',
  imports: [Button],
  template: `<kf-button (click)="save()">Guardar</kf-button>`,
})
export class Customers {}

Los estilos viajan compilados dentro de cada componente con view encapsulation. No hay nada para importar en angular.json, ni ninguna hoja de estilos global para conectar.

Componentes

<kf-button>

Envuelve un <button> nativo, así que el manejo de teclado, el foco y el envío de formularios funcionan como se espera. (click) burbujea desde el botón interno — bindealo en el host.

| Input | Tipo | Default | Notas | | ---------- | --------------------------------- | ----------- | --------------------------------------------------- | | variant | 'primary' \| 'ghost' | 'primary' | | | disabled | boolean | false | El atributo suelto funciona: <kf-button disabled> | | type | 'button' \| 'submit' \| 'reset' | 'submit' | Coincide con el default nativo |

<kf-button (click)="save()">Guardar</kf-button>
<kf-button variant="ghost">Cancelar</kf-button>
<kf-button type="button" disabled>No disponible</kf-button>

El theming se hace mediante una custom property de CSS en el host:

kf-button {
  --kf-button-accent: #00693e;
}