This library is deprecated. No new features will be added. The repository is maintained solely for security patches and critical bug fixes in applications that still depend on it. New projects should not use this library.
A library of shared UI components built for AngularJS (1.x) applications used across the BLiP portal. It wraps and extends components from blip-toolkit and blip-ds in Angular-compatible wrappers.
Then, in the project that consumes this library:
npm link blip-componentsRe-run npm run build after any change to this library.
Install via npm:
npm install blip-componentsImport the full module in your AngularJS application:
import * as blipComponents from 'blip-components';
import 'blip-components/dist/blip-components.css';
const componentNames = components =>
Object.keys(components).map(c => components[c]);
const app = angular
.module('myApp', [
...componentNames(blipComponents)
]);Or import individual components:
import { BlipInputComponent } from 'blip-components';
import 'blip-components/dist/blip-components.css';
const app = angular
.module('myApp', [
BlipInputComponent
]);Remember to import the CSS file to style your components.
Clone the repository and, from the root directory, run:
npm startThis starts a development server on port 3000 with file watching enabled.
To produce a production build:
npm run buildThis project uses Commitizen and conventional commits. Run:
npm run commitThis guides you through the commit message format interactively.
To report a bug or security issue, please open a GitHub issue.
blip-components is under the ISC license.