Gathering detailed insights and metrics for angular2-mdl
Gathering detailed insights and metrics for angular2-mdl
Gathering detailed insights and metrics for angular2-mdl
Gathering detailed insights and metrics for angular2-mdl
ng2-mdl
A tiny angular2+ wrapper for material design lite.
@angular-mdl/select
Angular Material Design Lite - Select Component
@angular-mdl/core
Angular components, directives and styles based on material design lite https://getmdl.io.
@angular-mdl/popover
Angular Material Design Lite - Popover Component
Angular 2 - 14 components, directives and styles based on material design lite (npm: @angular-mdl/core)
npm install angular2-mdl
Typescript
Module System
Node Version
NPM Version
TypeScript (56.95%)
SCSS (25.09%)
HTML (16.14%)
JavaScript (0.92%)
Shell (0.67%)
CSS (0.24%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
558 Stars
3,058 Commits
92 Forks
19 Watchers
17 Branches
22 Contributors
Updated on Oct 26, 2024
Latest Version
2.13.2
Package Id
angular2-mdl@2.13.2
Size
265.59 kB
NPM Version
3.10.9
Node Version
6.9.2
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
Angular 2 components, directives and styles based on material design lite https://getmdl.io (v: 1.3.0).
This package assumes that you are building an Angular2 app with TypeScript. Angular CLI makes it even easier but isn't required.
Demo-App with all supported components and documentation
Please don't use github to ask questions. Use stackoverflow instead: http://stackoverflow.com/questions/tagged/angular2-mdl.
Here is a plnkr if you'd like to play around http://plnkr.co/edit/I3dLfLUDIH2xlEJqj0da?p=preview.
1npm install angular2-mdl --save
Just use it. Add the MdlModule to your NgModule imports and you are done!
You need to configure your system-config.js
file:
1const map: any = { 2 'angular2-mdl': 'vendor/angular2-mdl' 3}; 4 5/** User packages configuration. */ 6const packages: any = { 7 'angular2-mdl': { main: 'bundle/angular2-mdl.js'} 8};
You may include the material-deisgn-lite css in your html and you're done!
1<link rel="stylesheet" href="https://code.getmdl.io/1.1.3/material.indigo-pink.min.css" /> 2<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
Under http://mseemann.io/angular2-mdl/theme you'll find a customizing tool to change the theme colors.
This package includes the scss files from material-design-lite. With these files you are able to change the colors and other variables in your own scss files:
1@import "~angular2-mdl/scss/color-definitions"; 2 3$color-primary: $palette-blue-500; 4$color-primary-dark: $palette-blue-700; 5$color-accent: $palette-amber-A200; 6$color-primary-contrast: $color-dark-contrast; 7$color-accent-contrast: $color-dark-contrast; 8 9@import '~angular2-mdl/scss/material-design-lite';
To make this working you need to find out the way how you could tell your build system where the scss is located.
For example with webpack you can use the special ~angular2-mdl
syntax or you can configure the includePaths:
1sassLoader: { 2 includePaths: [util.root('node_modules', 'angular2-mdl', 'scss')] 3}
Every contribution is welcome. Please checkout the CONRIBUTION.md file.
This package should work with every version of angular 2. But you should know that this package is compiled with ngc and ngc generates metadata for aot. These metdata are versioned. The following table lists these versions and the correspondig angular version:
angular2-mdl version | metadata version | angular version |
---|---|---|
2.7.0 | 1 | <2.3.0 |
2.8.0 | 2 | 2.3.0 |
>=2.9.0 | 3 | >=2.3.1 |
If you need a working example for the current angular-cli with the current angular2-mdl and angular versions please have a look at: https://github.com/mseemann/a2-mdl-webpack.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/28 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
69 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More