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

ngx-cbp-theme-alt

v2.0.7

Published

Angular native artifacts for consuming [CBP Theme](https://github.com/US-CBP/cbp-theme) for Angular 5/6/7/next applications.

Downloads

12

Readme

NGX CBP Theme: Tarkik Solutions Fork

Angular native artifacts for consuming CBP Theme for Angular 5/6/7/next applications.

Goals

  • Provides abstraction for CBP Theme so that other Angular CBP applications do not have to repeat this gap-bridging between CBP Theme and Angular Material.
  • Deliver styling from CBP Theme to other CBP Angular applications so that CBP Theme can evolve and styling changes are delivered with simple upgrade in most cases.
  • Provides for progression from Bootstrap to Material specifications as CBP Theme evolves. (This should cause shrinking of this library.)
  • No more jQuery 😁

Target Applications

Library Development Goals and Guidelines

  • Consumption of this library should require minimal setup i.e. most complexity and difficulties must be fought and absorbed in here keeping angular-cli spirit.
  • Must inherit certain (see styles below) styles from US-CBP/cbp-theme
  • Must not mix any other UI libraries than Angular/Material
  • Expose SCSS artifacts.
  • Provide angular native components only when styling overriding is not an option OR consuming a material component requires more effort to comply with CBP Style Guide.
  • Provide angular native component ony when Angular/Material does not have equivalent component.
  • Styles
    • Styles should be prefixed with cbp and mat when overriding.
    • Markups should not use any other namespaces than the ones specified.
    • Must expose individual styles for further customization.

Quick Start

We have a Kitchen Sink Application Built in. When testing new components, you'll need to manually add the required component, module, html/scss files, as well as update the corresponding imports/exports/providers/declarations found in the demo.module.ts.

In a terminal:

  • make sure you have node v6.2.* and angular-cli installed
  • cd to your repo
  • Clone the repo: git clone [email protected]:tarkiksolutions/ngx-cbp-theme.git
  • npm install
  • ng build
  • Copy the scss in: scripts/copy-assets.js
  • Serve the the application: ng serve

To Publish

  • ensure that Kitchen Sink builds and runs with no issues/tests passing
  • contact tenji240 for publishing rights
  • in projects/ngx-cbp-theme/package.json, update the name of the package to be ngx-cpb-theme-alt and increment the version number
  • cd to root directory, and run the node scripts node scripts/copy-assets.js && node scripts/prepare-package.js
  • build the project ng build
  • cd into dist/ngx-cpb-theme
  • Check in package.json that the name is ngx-cbp-theme-alt and the version number has increased
  • npm publish
  • Note: in the future instructions will move to npm run ready for the build process. this runs linting, builds, unit tests, e2e etc. Need to fix the tests first

Contributing

To get started developing, see contributing readme here.

How to integrate the CBP Theme

To get started developing, see tutorial readme here.

License

Please refer to License.md