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

@enumsoftware/ui-components

v0.0.27

Published

``` ng build @enumsoftware/ui-components ```

Readme

Build

ng build @enumsoftware/ui-components

Enum Ui Components

Ui components library for Angular with color picker, cropper and image picker.

Example

Color Picker

<div libColorPicker>Click me!</div>

Image Picker and Cropper

<enum-image-picker></enum-image-picker>

API

Color Picker

@Inputs()

| Input | Type | Default| Description | |--|--|--|--| | allowSaveColor| boolean | true | It says weather the user can save colors | allowTransparency | boolean | true | It says weather the user can pick transparency for color | startingRGB | RGB | { r: 255, g: 255, b: 255 } | The starting color of color picker | startingRGBA | RGBA | { r: 255, g:255, b: 255, a: 1 } | Starting color of color picker if transparency is enabled | startingHEX | string | no | Starting color of color picker | side | string | 'right' | The position of color picker relative to the cursor

@Outputs()

| Output| Type | Description | |--|--|--|--| | colorPickedRGB | RGB | Outputs the color when it's changed | colorPickedRGBA | RGBA | Outputs the color when it's changed | colorPickedHEX | String | Outputs the color when it's changed

Image Picker and Cropper

| Input | Type | Default | Description | |--|--|--|--| | dialogConfig | ImageCropperDialogConfig | { hasBackdrop: true, backdropClass: 'dark-backdrop', panelClass: 'dialog-panel' } | Configuration data for Cropper Dialog | overlayText | OverlayText | { cancelText: 'Cancel', finishText: 'Finish' } | Finish and cancel text, used for localization | startingHEX | String | no | Starting color of color picker | selectIcon | String | 'add_a_photo' | Icon displayed when hovering over image picker component when image isn't picked. Uses material icons | deselectIcon | String | 'cancel' | Icon displayed when hovering over image picker component when image is picked. Uses material icons | color | String | 'whitesmoke' | Background color of image picker | maxImageSize | Number | 2048000 | Maximum acceptable file/image size measured in bytes. | selectText | String | 'Pick or Drag Image' | Text displayed on image picker before image is picked | deselectText | String | 'Deselect Image' | Text displayed on image picker after image is picked

@Outputs()

| Output| Type | Description | |--|--|--|--| | imageSelected | EventEmitter< Blob > | Emits event when image is selected and returns image. | imageDeselect | EventEmitter< Blob > | Emits event when image is deselected