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

yirmea-ui

v0.1.0

Published

Yirmea UI — design system Angular (thème professionnel chaleureux) : jetons clair/sombre, styles et composants standalone.

Downloads

17

Readme

Yirmea UI

Design system Angular extrait de Yirmea SFE — registre « professionnel chaleureux » : vert émeraude, surfaces légèrement verdies, micro-animations, thèmes clair et sombre. Aucune dépendance à une bibliothèque de composants.

Contenu

| Dossier | Rôle | |---|---| | styles/yirmea-ui.scss | Le design system complet : jetons (variables CSS clair/sombre) + classes (boutons, badges, cards, tables, formulaires, callouts, KPI, modales, toasts, navigation…) | | src/lib/ | Composants Angular standalone : IconComponent (56 icônes SVG), ModalComponent, EmptyStateComponent, ToastStackComponent, NotificationService, ThemeService | | tokens/yirmea-tokens.json | Jetons au format Tokens Studio, importables dans Figma |

Construire et publier

cd ui-kit
npm install
npm run build        # produit dist/ (ng-packagr, Ivy partial)
cd dist && npm publish   # ou npm pack pour un .tgz local

Pour un usage local sans registre npm :

npm run build
# puis dans votre projet :
npm install ../aimp/ui-kit/dist

Utiliser dans un projet Angular (≥ 21)

1. Les styles — dans src/styles.scss :

@use 'yirmea-ui/styles/yirmea-ui.scss';

2. Le thème — injectez ThemeService (le simple fait de l'injecter pose data-theme sur <html>) :

import { ThemeService } from 'yirmea-ui';

export class AppComponent {
  theme = inject(ThemeService);
  // theme.setTheme('dark' | 'light' | 'system')
}

3. Les composants :

import { IconComponent, ModalComponent, EmptyStateComponent, ToastStackComponent, NotificationService } from 'yirmea-ui';
<app-icon name="shield" [size]="16" />

<app-modal size="lg" title="Titre" subtitle="Sous-titre" (close)="open = false">
  contenu…
  <ng-container footer>
    <button class="btn btn-primary">Valider</button>
  </ng-container>
</app-modal>

<app-empty-state art="search" title="Aucun résultat" message="Essayez un autre terme." />

<!-- Une fois, à la racine de l'application : -->
<app-toast-stack />
inject(NotificationService).notify('Enregistré !');

4. Les classes CSS — quelques exemples du vocabulaire :

<button class="btn btn-primary btn-sm is-loading">…</button>
<span class="badge badge-success">Transmise</span>
<div class="callout callout-warning">…</div>
<div class="card kpi"><p class="kpi-label">CA</p><p class="kpi-value">12 M</p></div>
<div class="segmented"><button class="active">Toutes</button><button>Payées</button></div>

Importer les jetons dans Figma

  1. Dans Figma, installez le plugin gratuit Tokens Studio for Figma.
  2. Ouvrez le plugin → Settings → Import → chargez tokens/yirmea-tokens.json.
  3. Trois sets apparaissent : global (typo, espacements, rayons), light et dark (couleurs, ombres). Activez global + un thème, puis « Styles & Variables → Export » pour générer les variables et styles Figma.

La police du kit est Inter (texte) et JetBrains Mono (code, montants).

Notes

  • Les sélecteurs restent app-* pour une compatibilité directe avec Yirmea SFE.
  • Le composant graphique (Highcharts) n'est pas inclus pour ne pas imposer la dépendance ; copiez frontend/src/app/shared/chart.component.ts si besoin.
  • ThemeService persiste le choix dans localStorage sous la clé yirmea.theme.