Skip to content

Commit

Permalink
Upgrade to Angular 4
Browse files Browse the repository at this point in the history
  • Loading branch information
YagoLopez committed May 8, 2017
1 parent 32ac28e commit 9b6b069
Show file tree
Hide file tree
Showing 103 changed files with 1,050 additions and 1,077 deletions.
22 changes: 22 additions & 0 deletions .angular-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "material_light"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": ["assets", "favicon.ico"],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"tsconfig": "tsconfig.json",
"prefix": "ml",
"styles": [],
"scripts": []
}
],
"lint": [{"project": "src/tsconfig.json"}],
"defaults": {"styleExt": "css", "component": {}}
}
1 change: 0 additions & 1 deletion .idea/jsLibraryMappings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 0 additions & 14 deletions .idea/libraries/test_webpack_node_modules.xml

This file was deleted.

1 change: 0 additions & 1 deletion .idea/material-light.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/typescript-compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<h1><p align="center">Material Light</p></h1>

**Material Designt UI components for Angular 2 +**
**Material Designt UI components for Angular (versions 2 +, 4 +)**

There are other adaptations of Material Design Lite and other UI frameworks like the official Material Design 2,
but this library has the following features:
Expand All @@ -22,10 +22,10 @@ but this library has the following features:

## Objective

The main goal was to achieve minimalism and great performance, not to encompass all posible kind of options or UI components (this is the philosophy of
The main goal was to achieve minimalism and performance, not to encompass all posible kind of options or UI components (this is the philosophy of
Material Design Light too). You can always add other components from other sources.

If you find this project useful and are going to use it, please give a star in the repo and credits in your work to the author
If you find this project useful and are going to use it, please give a star in the repo and credits to the author
and to <a href="http://getmdl.io" target="_blank">Material Design Lite from Google</a>

Terms of use under <a href="LICENSE.txt">MIT</a> license.
Expand All @@ -49,7 +49,7 @@ Yago López:
- Until it will be available as an NPM package, clone or download the repository.
- Copy the `ml` folder (where the components are) into your project
- Copy and paste the contents of the `assets` folder into the **exact same path** in your angular-cli project
- If you are cloning this project and goint to run it, adjust the path in `app.module.ts`
- If you are cloning this project to run it, adjust the path in `app.module.ts`
- Use the components following the examples in the `pages` directory. The components use `ml` as namespace. For example: `<ml-icon>email</ml-icon>` places an email icon component in a template.
- There are two ways of using this library:
1. **As components**. For example, import `MlButton` and `MlIcon` in your component and put `<ml-button>` and `<ml-icon>` in your template.
Expand All @@ -63,7 +63,7 @@ Yago López:

## Used for running this demo:

- Angular 2+
- Angular 4.0.0
- Angular Command Line (angular-cli)
- Typescript
- Webpack for production builds
Expand All @@ -75,4 +75,3 @@ Yago López:
- This project is based on <a href="http://getmdl.io" target="_blank">Material Design Lite from Google</a>. It is an adaptation of Javascript MDL components to Angular Typscript components with the permission of the MDL team.
- Material Design is a Google's registered trade mark probably.
- This is an open-source project without commercial or profit intention.
- Tested on Angular version 2.4.7.
Loading

0 comments on commit 9b6b069

Please sign in to comment.