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

@khaleeno/maskita-design-system

v1.2.3

Published

Design system Maskita « Le Voile léger » — composants React, tokens Tailwind v4, Storybook

Readme

Package npm

Le design system est publié sur npm : @khaleeno/maskita-design-system.

Build du package

pnpm build:lib   # tsup (ESM+CJS+types) puis vite (dist/style.css self-hosted)
npm pack         # génère khaleeno-maskita-design-system-1.0.0.tgz

dist/ contient :

  • index.js (ESM) + index.cjs (CJS) + index.d.ts / index.d.cts (types)
  • style.css — feuille autonome : tokens Tailwind v4 compilés, utilitaires des composants, polices woff2 embarquées en base64 (zéro requête réseau)

Consommation

npm install @khaleeno/maskita-design-system
import { Bouton, Panneau, PastilleStatut, FileDropZone } from '@khaleeno/maskita-design-system'
import '@khaleeno/maskita-design-system/style.css' // style.css toujours importé

<Bouton variante="primaire">Valider</Bouton>

{/* FileDropZone : le File brut est transmis via onFichierFile (pipeline) */}
<FileDropZone
  accept=".docx,.txt,.md"
  libelle=".key.json"
  chargement={estEnCours}
  erreur={erreur}
  fichierCourant={nomFichier}
  onFichierFile={(fichier) => pipeline(fichier)}
  libelleDeposer="Déposez votre rapport ici"   // localisable
/>

React 18 est en peerDependencies : le package n'embarque pas son propre React. Les @fontsource/* restent des dépendances (mais les polices sont déjà embarquées dans style.css).

Composants interactifs (v1.1)

  • FileDropZone : onFichierFile(fichier: File) pour le pipeline, accept, libelle, états chargement/erreur/fichierCourant, libellés localisables (libelleDeposer, sousTitre, libelleChangement, ariaLabel).
  • PseudoTableau / LigneTag : renommage inline (double-clic, onRenommer), clic valeur (onValeurClick), retrait (onRetirerValeur), conflit « voir » (onConflitVoir), drag & drop (onDeplacerValeur, onReordonnerValeurs), maxValeursAffichees, libellés localisables (libelleTitre, libelleAjouter, libelleAucun, libelleVoir).

Publication

npm login
npm publish --access public

Publié le 9 sept. 2026 : @khaleeno/[email protected]. v1.1.0 : enrichissement FileDropZone (File brut, états, i18n) + PseudoTableau/LigneTag interactifs (renommage, valeurs, drag & drop). prepack et prepublishOnly déclenchent automatiquement pnpm build:lib.

Test local (vérifié le 2026-09-08)

Un consommateur de test (consumer-test/, gitignoré) installe le .tgz, importe composants + style.css, et passe : CJS require (25 exports), types TS, rendu spotlight (Bouton #5b5bd6, rayon 8px, Inter, JetBrains Mono sur les tags, modale ouvrable/fermable à l'Escape), zéro erreur console.

Vérification