Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
A fresh start
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Jul 1, 2014
0 parents commit 18f359f
Show file tree
Hide file tree
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.
13 changes: 13 additions & 0 deletions .gitignore
@@ -0,0 +1,13 @@
*.log
*.sw*
.DS_STORE
.sass-cache/
bower_components
node_modules
dist

/.idea/
/components
/vendor

.polymer-qp
17 changes: 17 additions & 0 deletions CONTRIBUTING.md
@@ -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.
39 changes: 39 additions & 0 deletions README.md
@@ -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`.
8 changes: 8 additions & 0 deletions assets/icons/system_icons/action/cfg/android.json
@@ -0,0 +1,8 @@
{
"imports": [
"../../common_cfg/android.json"
],

"input_path": "../res-export",
"output_path": "../res"
}
8 changes: 8 additions & 0 deletions assets/icons/system_icons/action/cfg/ios.json
@@ -0,0 +1,8 @@
{
"imports": [
"../../common_cfg/ios.json"
],

"input_path": "../res-export",
"output_path": "../res"
}
8 changes: 8 additions & 0 deletions assets/icons/system_icons/action/cfg/web.json
@@ -0,0 +1,8 @@
{
"imports": [
"../../common_cfg/web.json"
],

"input_path": "../res-export",
"output_path": "../res"
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 18f359f

Please sign in to comment.