Git Product home page Git Product logo

angular2-mdl-ext's Introduction

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 demo
expansion-panel abdulqadir93 organise arbitrary content in an expansion panel npm version readme experimental demo
popover tb component for showing arbitrary content in a popover npm version readme experimental demo
select tb component that shows a select box npm version readme experimental demo

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

These components support AOT and TreeShaking!

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 '~angular2-mdl/scss/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 '~angular2-mdl/src/scss-mdl/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

angular2-mdl-ext's People

Contributors

abdulqadir93 avatar adasq avatar canyaman avatar greenkeeper[bot] avatar greenkeeperio-bot avatar mseemann avatar nikotm avatar tb avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.