pb-design-system
TypeScript icon, indicating that this package has built-in type declarations

7.1.1 • Public • Published

PB Design System 7

This is a release of the Design System with Bootstrap 5.

It requires Bootstrap ≥5, Angular ≥15, and NG-Bootstrap ≥14 to be installed.

Please see CHANGELOG.md for breaking changes migrating from 6.x

Your npm version must be 6.14.17, please check by running npm -v. Your node version must be 14.20.0, please check by running node -v.

Installation

Install this package with npm:

npm install pb-design-system --save

Also you will need to install Boostrap 5.x and Angular Material:

npm install bootstrap @angular/material @popperjs/core --save

You will see warnings about peer dependencies (such as D3); those only need to be installed if you need them.

Configuring angular.json

Add your app's styles.scss after the Design System css file in the styles array, as follows:

"styles": [
  "node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
  "node_modules/bootstrap/dist/css/bootstrap.min.css",
  "node_modules/pb-design-system/dist/css/designsystem.css",
  "styles.scss"
],

Optional Installs:

To use Bootstrap's javascript components (header, dropdowns, tooltips, and/or popovers) you will also need to load its js files in the scripts array:

 "scripts": [
    "node_modules/jquery/dist/jquery.slim.js",
    "node_modules/bootstrap/dist/js/bootstrap.bundle.min.js",
    "node_modules/bootstrap/dist/js/bootstrap.js"
 ],

Readme

Keywords

none

Package Sidebar

Install

npm i pb-design-system

Weekly Downloads

3,758

Version

7.1.1

License

MIT

Unpacked Size

7.55 MB

Total Files

283

Last publish

Collaborators

  • daniel.collette.pb
  • phalguni.pradhan.pb