Skip to content
This repository was archived by the owner on Aug 12, 2018. It is now read-only.

Additional components for angular2-mdl that are not part of material design lite

License

Notifications You must be signed in to change notification settings

nikoTM/angular2-mdl-ext

This branch is 2 commits ahead of, 1544 commits behind mseemann/angular2-mdl-ext:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

138ff39 · Feb 24, 2017
Sep 21, 2016
Sep 17, 2016
Feb 24, 2017
Sep 27, 2016
Sep 14, 2016
Sep 14, 2016
Sep 14, 2016
Sep 14, 2016
Sep 17, 2016
Sep 13, 2016
Sep 17, 2016
Sep 10, 2016
Sep 26, 2016
Sep 21, 2016
Sep 12, 2016
Sep 28, 2016
Sep 17, 2016

Repository files navigation

angular2-mdl-ext

Additional components for angular2-mdl that are not part of material design lite

Build Status Coverage Status Code Climate dependencies Status devDependencies Status

##The components

Name Provided By Description npm documentation status
popover tb component for showing arbitrary content in a popover npm version readme experimental
select tb component that shows a select box npm version readme experimental

Status means:

  • proof of concept (0.0.x) - under development
  • experimental (0.x.x) - under development, but already usable
  • stable (^1.x.x) - basic feature set is complete and tests coverage is good

How to use the components

Install the components via npm. Please checkout the individual readme for each component from the table above.

Starting with version 0.2.0 every component has no css styles imported by default. You need to setup your build pipeline to include the scss files from each component you want to use. This makes it possible to configure the theming for the components you want to use.

If you are using webpack you may use the special webpack import syntax for node_modules:

@import "color-definitions";

$color-primary: $palette-blue-500;
$color-primary-dark: $palette-blue-700;
$color-accent: $palette-amber-A200;
$color-primary-contrast: $color-dark-contrast;
$color-accent-contrast: $color-dark-contrast;

@import 'material-design-lite';

@import '~@angular2-mdl-ext/popover/popover'
@import '~@angular2-mdl-ext/select/select'

An other way is to include each component folder in the search path for your scss preprocessor. For example webpack:

	sassLoader: {
		includePaths: [
		'node_modules/@angular2-mdl-ext/popover',
		'node_modules/@angular2-mdl-ext/select'
		]
	}

Development

  • npm start - local dev server
  • npm build - build a production release
  • npm start test - run the unit tests

The coverage report is stored under: coverage/coverage-remap/index.html

About

Additional components for angular2-mdl that are not part of material design lite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 46.2%
  • HTML 18.5%
  • JavaScript 13.8%
  • Shell 11.0%
  • CSS 10.5%