1.0.40 • Published 2 years ago

@princeton-design/design-system-angular v1.0.40

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

Princeton Design System for Angular

The design system is a library of components to be primarily used for Angular projects.

Installation

npm install @princeton-design/design-system-angular --save

Using Angular Components

In Angular environments, include the following code in the angular.json file order to map images and css files from the @princeton-design/design-system package.

 "assets": [
   "src/assets",
     {
       "glob": "**/*",
       "input": "./node_modules/@princeton-design/design-system",
       "output": "/assets/"
     }
 ],
 "styles": [
   "src/styles.css",
   "./node_modules/@princeton-design/design-system/jazz_fonts.css",
   "./node_modules/@princeton-design/design-system/jazz_sans.css",
   "./node_modules/@princeton-design/design-system/jazz_serif.css"
 ],

In the project's module file import the library

import {DesignSystemAngularModule} from "@princeton-design/design-system-angular";

Also include the DesignSystemAngularModule in the module file

@NgModule({
  imports: [
    DesignSystemAngularModule
  ]
})

Using CSS. icons and images from the @princeton-design/design-system project

In order to get the appropriate assets needed for the components to render properly you will need to install the @princeton-design/design-system package which contains the stylesheets, icons and images that the components need.

npm install @princeton-design/design-system --save
1.0.39

2 years ago

1.0.38

2 years ago

1.0.40

2 years ago

1.0.37

2 years ago

1.0.35

2 years ago

1.0.34

2 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.22

3 years ago

1.0.19

3 years ago

1.0.20

3 years ago

1.0.17

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago