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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@angular-package/ui

v1.0.0-alpha.1

Published

Configurable user interface.

Downloads

7

Readme

angular-package

The angular-package supports the development process of angular-based applications in varied ways through the thoughtful, reusable, easy-to-use small pieces of code called packages.

docs.angular-package.dev

Packages

| Package | Description | Status | | :------------------------------------------- | :---------------------------------------------------------------- | -----: | | callback | Manages the callback function. | npm version | | change-detection | Improves application performance. | npm version | | component-loader | Handles dynamic loading components. | npm version | | core | Core features. | npm version | | error | Manages an Error. | npm version | | name | The name with prefix and suffix. | npm version | | preferences | Preferences, settings, options, configuration and setup in steps. | npm version | | prism | Prism highlighter module. | npm version | | property | Handles object properties. | npm version | | range | The range between a minimum and maximum. | npm version | | reactive | Automatize the process of creating some rxjs features. | npm version | | spectre.css | Modified Spectre.css - a lightweight, responsive, and modern CSS framework originally designed by Yan Zhu. | npm version | | storage | The storage of data under allowed names. | npm version | | tag | Any tag with optional attributes. | npm version | | testing | Support for testing other packages. | npm version | | text | Text on the template with replaceable tags. | npm version | | type | Common types, type guards, and type checkers. | npm version | | ui | Configurable user interface. | npm version | | wrapper | Wrap the text with the opening and closing chars. | npm version |

Click on the package name to visit its GitHub page.

angular-package/ui

Configurable user interface.

Gitter Discord Twitter

npm version

GitHub issues GitHub forks GitHub stars GitHub license

GitHub sponsors Support me on Patreon

Documentation

~~For the detailed documentation go to https://ui.angular-package.dev~~

There is no documentation and demonstration available at the moment.

Table of contents

Skeleton

The package was generated by the library skeleton which was generated with Angular CLI version 13.0.0. Copy package to the packages/ui folder of the library skeleton then run the commands below.

Code scaffolding

Run ng generate component component-name --project ui to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project ui.

Note: Don't forget to add --project ui or else it will be added to the default project in your angular.json file.

Build

Run ng build ui to build the package. The build artifacts will be stored in the dist/ui directory.

Publishing

After building your library with ng build ui, go to the dist folder cd dist/ui and run npm publish.

Running unit tests

Before the test can be performed install @angular-package/testing and @angular-package/type with command:

npm i @angular-package/testing @angular-package/type --no-save

Run ng test ui to execute the unit tests via Karma.

Installation

Install @angular-package/ui package with command:

npm i @angular-package/ui --save

Api

/*
 * Public API Surface of ui
 */
import { Ability, AbilityService } from '@angular-package/ui';
import { Active, ActiveService } from '@angular-package/ui';
import { Align } from '@angular-package/ui';

import { BlurService } from '@angular-package/ui';
import { Boolean } from '@angular-package/ui';

// Color.
import {
  // Class.
  Color,
  CssPropertyColor,

  // Type.
  BgColors,
  Colors,
  Shade,

  // Constant.
  CSS_COLORS
} from '@angular-package/ui';

// Css property.
import { CssProperty } from '@angular-package/ui';

// Expandable.
import {
  Expandable,
  ExpandableService,
} from '@angular-package/ui';

// Main.
import {
  Duration,
  Status,
} from '@angular-package/ui';

// Margin.
import {
  // Class.
  Margin,
  MarginService,
} from '@angular-package/ui';

// Name.
import {
  // Class.
  Name,
  Prefix,
  Suffix,

  // Type.
  AffixedName,
  PrefixedName,
  SuffixedName,
} from '@angular-package/ui';

// Padding.
import { Padding } from '@angular-package/ui';

// Pattern.
import { Pattern } from '@angular-package/ui';

// Position.
import { Position } from '@angular-package/ui';

/*
 * Public API Surface of range
 */
import {
  // Abstract class.
  Inequality,

  // Class.
  Greater,
  Less,
  Maximum,
  Minimum,
  Number,
  Range,
} from '@angular-package/ui';

// Rxjs.
import {
  Subjects,
  Subscriptions,
} from '@angular-package/ui';

// Scale.
import {
  // Class.
  Scale,

  // Constant.
  AVAILABLE_LEVELS,

  // Type.
  Levels
} from '@angular-package/ui';

// Sidebar.
import {
  // Service.
  SidebarService,

  // Interface.
  SidebarConfig
} from '@angular-package/ui';

// Size.
import {
  Size,
  SizeService,

  // Interface.
  SizeOptions,

  // Type.
  Sizes,
  SizesConfig,
} from '@angular-package/ui';

// String.
import { String } from '@angular-package/ui';

// Text align.
import {
  // Class.
  TextAlign,

  // Type.
  TxtAlign
} from '@angular-package/ui';

// Type.
import {
  Presence,
  Shape,
  Subscribable,
  TransitionDuration
} from '@angular-package/ui';

Changelog

The changelog of this package is based on keep a changelog. To read it, click on the CHANGELOG.md link.

A changelog is a file which contains a curated, chronologically ordered list of notable changes for each version of a project. - keep a changelog

GIT

Commit

Versioning

Semantic Versioning 2.0.0

Given a version number MAJOR.MINOR.PATCH, increment the:

  • MAJOR version when you make incompatible API changes,
  • MINOR version when you add functionality in a backwards-compatible manner, and
  • PATCH version when you make backwards-compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

FAQ How should I deal with revisions in the 0.y.z initial development phase?

The simplest thing to do is start your initial development release at 0.1.0 and then increment the minor version for each subsequent release.

How do I know when to release 1.0.0?

If your software is being used in production, it should probably already be 1.0.0. If you have a stable API on which users have come to depend, you should be 1.0.0. If you’re worrying a lot about backwards compatibility, you should probably already be 1.0.0.

License

MIT © angular-package (license)