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

@wigtertainment-ltd/comp-lib

v0.2.3

Published

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.1.0.

Readme

WIG Lib

@wigtertainment-ltd/comp-lib provides reusable standalone Angular components, services, pipes, validators, and translations for WIG applications. The components build on PrimeNG and can be imported individually without an Angular module.

Installation

Install the library and its UI dependencies in an Angular application:

npm install @wigtertainment-ltd/comp-lib [email protected] primeicons@7 primeflex@4 @primeuix/themes chart.js@4 gsap@3 dayjs@1 quill@2

The current library release targets Angular 20.3.4. Use compatible versions of @angular/core, @angular/common, @angular/forms, @angular/router, and @angular/animations in the consuming application.

PrimeNG setup

Configure animations and a PrimeNG theme in the application providers:

import { ApplicationConfig } from '@angular/core';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import Material from '@primeuix/themes/material';
import { providePrimeNG } from 'primeng/config';

export const appConfig: ApplicationConfig = {
  providers: [
    provideAnimationsAsync(),
    providePrimeNG({
      theme: {
        preset: Material
      }
    })
  ]
};

Add the shared utility and icon styles to the application's global stylesheet:

@import "primeflex/primeflex.scss";
@import "primeicons/primeicons.css";

Applications using the rich-text editor in WigFormComponent should also include the Quill styles:

@import "quill/dist/quill.snow.css";
@import "quill/dist/quill.core.css";

Using a component

Import standalone components directly into another standalone component:

import { Component } from '@angular/core';
import { WigButtonComponent, WigTypographyComponent } from '@wigtertainment-ltd/comp-lib';

@Component({
  selector: 'app-profile-actions',
  imports: [WigButtonComponent, WigTypographyComponent],
  template: `
    <wig-typography variant="section-title">Profile</wig-typography>
    <wig-button label="Save" icon="pi pi-check" />
  `
})
export class ProfileActionsComponent {}

Components

The package currently exports:

  • Accordion
  • Alert
  • Breadcrumb
  • Button and icon button
  • Calendar and date filter
  • Card
  • Chart
  • Credit card
  • Dialog, drawer, and modal
  • Dropdown
  • File upload
  • Form
  • Info box
  • Loading indicator
  • Navigation
  • Skeleton
  • Table
  • Toast
  • Typography

Each component is exported from the package root:

import {
  WigAlertComponent,
  WigButtonComponent,
  WigTableComponent
} from '@wigtertainment-ltd/comp-lib';

Refer to the showcase application for live previews, inputs, outputs, CSS hooks, and complete examples.

Services and utilities

In addition to components, the package exports:

  • DialogService, ModalService, and ToastService for global overlays and notifications
  • WigConfigService, FileService, HelperService, LocalStorageService, LoggerService, and StateService
  • EuroPipe and TranslatePipe
  • WigValidators for password and form validation
  • Translation models and default English translations

Global dialog, modal, and toast services require their host components once near the application root:

<wig-dialog />
<wig-modal />
<wig-toast [global]="true" />

Custom translations

Override only the translation groups required by the application through WigConfigService:

import { inject } from '@angular/core';
import { WigConfigService } from '@wigtertainment-ltd/comp-lib';

const config = inject(WigConfigService);

config.setTranslations({
  dateFilter: {
    ...config.getTranslations().dateFilter,
    today: 'Heute',
    currentWeek: 'Aktuelle Woche'
  }
});

setTranslations performs a shallow merge at the top level. When replacing a nested translation group, provide all values required by that group.

Typography theming

Typography roles can be customized globally or within a specific container:

:root {
  --wig-typography-font-family: Roboto, sans-serif;
  --wig-typography-page-title-font-size: 2.25rem;
  --wig-typography-color-default: #111827;
  --wig-typography-color-muted: #6b7280;
}

Every typography variant exposes --wig-typography-{variant}-font-size, --wig-typography-{variant}-line-height, and --wig-typography-{variant}-font-weight variables. Available color tones are default, muted, danger, success, warning, and inherit.