This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 18f359f
Showing
60,752 changed files
with
149,670 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
*.log | ||
*.sw* | ||
.DS_STORE | ||
.sass-cache/ | ||
bower_components | ||
node_modules | ||
dist | ||
|
||
/.idea/ | ||
/components | ||
/vendor | ||
|
||
.polymer-qp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
### Javascript Conventions | ||
|
||
- 2 spaces for tabs | ||
- Each component declares its own module at the top and leaks no variables | ||
- Use the 'revealing pattern' when possible. API at top, function definitions at bottom. See src/components/checkbox/checkbox.js | ||
- JSHint conventions in progress | ||
|
||
### Testing Conventions | ||
|
||
- For testing, use `beforeEach` loops and global variables as little as possible. | ||
* Each test should have its own isolated logic, to make tests easier to read and more portable. | ||
|
||
- For an example of the desired directive testing pattern, see `src/components/checkbox/checkbox.spec.js` | ||
* Create a `setup(attrs)` function which takes attributes to put on the directive | ||
* The `setup` function should register the module for the test and return the compiled directive element. | ||
* Use `el.scope()` and `el.isolateScope()` to access the element's scope. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Material Design for AngularJS Apps | ||
======= | ||
|
||
[Material Design](http://www.google.com/design/spec/material-design/introduction.html#introduction-goals) is a specification for a unified system of visual, motion, and interaction design that adapts across different devices. | ||
|
||
Our goal is to deliver a lean, lightweight set of AngularJS-native UI elements that implement the material design system for use in Angular SPAs. | ||
|
||
This project is still in early preview. It is a complementary effort to the [Polymer](http://www.polymer-project.org/) project's [paper elements collection](http://www.polymer-project.org/docs/elements/paper-elements.html). | ||
|
||
## Development | ||
|
||
This project is in early development via a small core team of [Ionic Framework](http://ionicframework.com/) and [AngularJS](http://angularjs.org) developers. We don't have guidelines yet for broader community involvement, although we hope to have some soon. | ||
|
||
For issues, including progress on accessibility support for these UI elements, see the [Issue Tracker](https://github.com/angular/material/issues) | ||
|
||
### File Structure | ||
|
||
- Components belong in `src/components/{componentName}` | ||
- Component modules must be named `material.components.{componentName}` | ||
- Templates for directives are declared inline | ||
- Gulp builds files to `dist` folder, which is not version controlled (read below) | ||
|
||
### Commit Conventions | ||
|
||
- http://github.com/ajoslin/conventional-changelog | ||
- git pre-commit hook available [here](https://github.com/angular/angular.js/blob/master/validate-commit-msg.js). Place it in `.git/hooks/pre-commit`, and run `chmod +x .git/hooks/pre-commit`. It will validate your commit messages for you. | ||
- `npm install` for gulp deps | ||
- `bower install` for angular deps | ||
- `gulp build` (alias `gulp`) to build, add `--release` flag to uglify & strip console.log. | ||
- `gulp watch` to build & rebuild on changes | ||
- `gulp validate` to test and jshint | ||
- `gulp jshint` to run jshint | ||
- `gulp karma` to test once | ||
- `gulp karma-watch` to test & watch for changes | ||
- `gulp docs` to build docs into dist/docs | ||
|
||
### Documentation | ||
|
||
- See `docs/README.md`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"imports": [ | ||
"../../common_cfg/android.json" | ||
], | ||
|
||
"input_path": "../res-export", | ||
"output_path": "../res" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"imports": [ | ||
"../../common_cfg/ios.json" | ||
], | ||
|
||
"input_path": "../res-export", | ||
"output_path": "../res" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"imports": [ | ||
"../../common_cfg/web.json" | ||
], | ||
|
||
"input_path": "../res-export", | ||
"output_path": "../res" | ||
} |
42 changes: 42 additions & 0 deletions
42
assets/icons/system_icons/action/res-export/ic_3d_rotation_24px.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions
43
assets/icons/system_icons/action/res-export/ic_3d_rotation_48px.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
assets/icons/system_icons/action/res-export/ic_accessibility_24px.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions
24
assets/icons/system_icons/action/res-export/ic_accessibility_48px.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions
39
assets/icons/system_icons/action/res-export/ic_account_balance_24px.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions
40
assets/icons/system_icons/action/res-export/ic_account_balance_48px.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions
45
assets/icons/system_icons/action/res-export/ic_account_box_18px.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions
24
assets/icons/system_icons/action/res-export/ic_account_box_24px.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.