ember-paper
Advanced tools
Comparing version 0.0.21 to 0.1.0
@@ -22,2 +22,3 @@ import Ember from 'ember'; | ||
this.set('selected', this.get('value')); | ||
this.sendAction('changed', this.get('value')); | ||
} | ||
@@ -27,2 +28,6 @@ }), | ||
click: function() { | ||
if (this.get('disabled')) { | ||
return; | ||
} | ||
if (this.get('toggle')) { | ||
@@ -29,0 +34,0 @@ this.set('selected', this.get('checked') ? null : this.get('value')); |
@@ -11,4 +11,7 @@ 'use strict'; | ||
afterInstall: function() { | ||
return this.addBowerPackageToProject('hammerjs'); | ||
var _this = this; | ||
return this.addBowerPackageToProject('hammerjs').then(function() { | ||
return _this.addPackageToProject('ember-cli-sass'); | ||
}); | ||
} | ||
}; |
@@ -0,1 +1,2 @@ | ||
/* jshint node: true */ | ||
'use strict'; | ||
@@ -12,2 +13,3 @@ | ||
included: function(app){ | ||
this._super.included(app); | ||
app.import('vendor/material-icons/styles.css', { destDir: '/' }); | ||
@@ -14,0 +16,0 @@ app.import('vendor/material-icons/fonts/material-icon-font.eot', { destDir: 'assets/fonts' }); |
{ | ||
"name": "ember-paper", | ||
"description": "The Ember approach to Material Design.", | ||
"version": "0.0.21", | ||
"version": "0.1.0", | ||
"directories": { | ||
@@ -12,3 +12,3 @@ "doc": "doc", | ||
"build": "ember build", | ||
"test": "ember test" | ||
"test": "ember try:testall" | ||
}, | ||
@@ -26,20 +26,19 @@ "repository": "https://github.com/miguelcobain/ember-paper", | ||
"broccoli-asset-rev": "^2.0.2", | ||
"broccoli-autoprefixer": "^2.1.0", | ||
"broccoli-merge-trees": "~0.2.1", | ||
"broccoli-sass": "^0.4.0", | ||
"broccoli-static-compiler": "~0.2.1", | ||
"ember-cli": "0.2.2", | ||
"ember-cli": "0.2.5", | ||
"ember-cli-app-version": "0.3.3", | ||
"ember-cli-dependency-checker": "0.0.8", | ||
"ember-cli-htmlbars": "0.7.4", | ||
"ember-cli-content-security-policy": "0.4.0", | ||
"ember-cli-dependency-checker": "^1.0.0", | ||
"ember-cli-htmlbars": "0.7.6", | ||
"ember-cli-ic-ajax": "0.1.1", | ||
"ember-cli-inject-live-reload": "^1.3.0", | ||
"ember-cli-qunit": "0.3.9", | ||
"ember-cli-uglify": "1.0.1", | ||
"ember-cli-qunit": "0.3.13", | ||
"ember-cli-uglify": "^1.0.1", | ||
"ember-cli-sass": "4.0.0-beta.5", | ||
"ember-disable-proxy-controllers": "^0.7.0", | ||
"ember-export-application-global": "^1.0.2", | ||
"ember-disable-prototype-extensions": "^1.0.0" | ||
"ember-disable-prototype-extensions": "^1.0.0", | ||
"ember-try": "0.0.4" | ||
}, | ||
"dependencies": { | ||
"ember-cli-babel": "^4.0.0" | ||
}, | ||
"keywords": [ | ||
@@ -52,2 +51,6 @@ "ember-addon", | ||
], | ||
"dependencies": { | ||
"broccoli-autoprefixer": "^2.1.0", | ||
"ember-cli-babel": "^5.0.0" | ||
}, | ||
"ember-addon": { | ||
@@ -54,0 +57,0 @@ "configPath": "tests/dummy/config" |
@@ -9,22 +9,12 @@ # Ember Paper [![Build Status](https://travis-ci.org/miguelcobain/ember-paper.svg)](https://travis-ci.org/miguelcobain/ember-paper) [![Ember Observer Score](http://emberobserver.com/badges/ember-paper.svg)](http://emberobserver.com/addons/ember-paper) | ||
Temporary workaround. For now you need to run `$ npm install --save-dev broccoli-autoprefixer` before installing ember-paper. | ||
Install the ember-cli addon in your ember-cli project: | ||
``` | ||
$ ember install:addon ember-paper | ||
$ ember install ember-paper | ||
``` | ||
Ember-paper uses sass for its styles. To import them run: | ||
This should also automatically create an scss file under `app/styles/app.scss` with `@import 'ember-paper';` and install `ember-cli-sass`. | ||
``` | ||
$ npm install --save-dev broccoli-sass | ||
``` | ||
Sass is an important part of Ember-paper. Using sass you can override default variables and easily change the default behavior of Ember-paper. | ||
and then create a file in `app/styles/app.scss` and import the styles at the beginning of your file: | ||
```sass | ||
@import 'ember-paper'; | ||
``` | ||
All the components and styles are ready to use in your application templates. | ||
@@ -31,0 +21,0 @@ Navigate through the docs to understand how to use each component. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 3 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1
4
331287
2
17
85
2131
45
+ Addedbroccoli-autoprefixer@^2.1.0
+ Addedalign-text@0.1.4(transitive)
+ Addedalter@0.2.0(transitive)
+ Addedarray-equal@1.0.2(transitive)
+ Addedast-traverse@0.1.1(transitive)
+ Addedast-types@0.8.12(transitive)
+ Addedasync@2.6.4(transitive)
+ Addedasync-disk-cache@1.3.5(transitive)
+ Addedasync-promise-queue@1.0.5(transitive)
+ Addedautoprefixer-core@5.2.1(transitive)
+ Addedbabel-core@5.8.38(transitive)
+ Addedbabel-plugin-constant-folding@1.0.1(transitive)
+ Addedbabel-plugin-dead-code-elimination@1.0.2(transitive)
+ Addedbabel-plugin-eval@1.0.1(transitive)
+ Addedbabel-plugin-inline-environment-variables@1.0.1(transitive)
+ Addedbabel-plugin-jscript@1.0.4(transitive)
+ Addedbabel-plugin-member-expression-literals@1.0.1(transitive)
+ Addedbabel-plugin-property-literals@1.0.1(transitive)
+ Addedbabel-plugin-proto-to-assign@1.0.4(transitive)
+ Addedbabel-plugin-react-constant-elements@1.0.3(transitive)
+ Addedbabel-plugin-react-display-name@1.0.3(transitive)
+ Addedbabel-plugin-remove-console@1.0.1(transitive)
+ Addedbabel-plugin-remove-debugger@1.0.1(transitive)
+ Addedbabel-plugin-runtime@1.0.7(transitive)
+ Addedbabel-plugin-undeclared-variables-check@1.0.2(transitive)
+ Addedbabel-plugin-undefined-to-void@1.1.6(transitive)
+ Addedbabylon@5.8.38(transitive)
+ Addedbinaryextensions@2.3.0(transitive)
+ Addedblank-object@1.0.2(transitive)
+ Addedbluebird@2.11.0(transitive)
+ Addedbreakable@1.0.0(transitive)
+ Addedbroccoli-autoprefixer@2.1.0(transitive)
+ Addedbroccoli-babel-transpiler@5.7.4(transitive)
+ Addedbroccoli-funnel@1.2.0(transitive)
+ Addedbroccoli-kitchen-sink-helpers@0.3.1(transitive)
+ Addedbroccoli-merge-trees@1.2.4(transitive)
+ Addedbroccoli-persistent-filter@1.4.6(transitive)
+ Addedbroccoli-plugin@1.3.1(transitive)
+ Addedbrowserslist@0.4.0(transitive)
+ Addedcall-bind@1.0.8(transitive)
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addedcamelcase@1.2.1(transitive)
+ Addedcan-symlink@1.0.0(transitive)
+ Addedcaniuse-db@1.0.30001690(transitive)
+ Addedcenter-align@0.1.3(transitive)
+ Addedcliui@2.1.0(transitive)
+ Addedclone@2.1.2(transitive)
+ Addedconvert-source-map@1.9.0(transitive)
+ Addedcore-js@1.2.7(transitive)
+ Addeddecamelize@1.2.0(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefs@1.1.1(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addededitions@1.3.4(transitive)
+ Addedember-cli-babel@5.2.8(transitive)
+ Addedensure-posix-path@1.1.1(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedes6-promise@2.3.0(transitive)
+ Addedesutils@2.0.3(transitive)
+ Addedexists-sync@0.0.4(transitive)
+ Addedfast-ordered-set@1.0.3(transitive)
+ Addedfs-tree-diff@0.5.9(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.6(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhash-for-dep@1.5.1(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedheimdalljs@0.2.6(transitive)
+ Addedheimdalljs-logger@0.1.10(transitive)
+ Addedhome-or-tmp@1.0.0(transitive)
+ Addedinvert-kv@1.0.0(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addedis-core-module@2.16.1(transitive)
+ Addedisarray@2.0.5(transitive)
+ Addedistextorbinary@2.1.0(transitive)
+ Addedjs-base64@2.1.9(transitive)
+ Addedjs-tokens@1.0.1(transitive)
+ Addedjson-stable-stringify@1.2.1(transitive)
+ Addedjson5@0.4.0(transitive)
+ Addedjsonify@0.0.1(transitive)
+ Addedkind-of@3.2.2(transitive)
+ Addedlazy-cache@1.0.4(transitive)
+ Addedlcid@1.0.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedlongest@1.0.1(transitive)
+ Addedmatcher-collection@1.1.2(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedminimatch@2.0.10(transitive)
+ Addednum2fraction@1.2.2(transitive)
+ Addedobject-assign@2.1.1(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedos-locale@1.4.0(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedpath-exists@1.0.0(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpath-posix@1.0.0(transitive)
+ Addedpath-root@0.1.1(transitive)
+ Addedpath-root-regex@0.1.2(transitive)
+ Addedpostcss@4.1.16(transitive)
+ Addedrecast@0.10.33(transitive)
+ Addedregenerator@0.8.40(transitive)
+ Addedrepeat-string@1.6.1(transitive)
+ Addedresolve@1.22.10(transitive)
+ Addedresolve-package-path@1.2.7(transitive)
+ Addedright-align@0.1.3(transitive)
+ Addedrsvp@3.2.1(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedsimple-fmt@0.1.0(transitive)
+ Addedsimple-is@0.2.0(transitive)
+ Addedstable@0.1.8(transitive)
+ Addedstringmap@0.2.2(transitive)
+ Addedstringset@0.2.1(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedtextextensions@2.6.0(transitive)
+ Addedtmp@0.0.28(transitive)
+ Addedtry-resolve@1.0.1(transitive)
+ Addedtryor@0.1.2(transitive)
+ Addeduser-home@1.1.1(transitive)
+ Addedusername-sync@1.0.3(transitive)
+ Addedwalk-sync@0.3.4(transitive)
+ Addedwindow-size@0.1.4(transitive)
+ Addedwordwrap@0.0.2(transitive)
+ Addedworkerpool@2.3.4(transitive)
+ Addedy18n@3.2.2(transitive)
+ Addedyargs@3.27.0(transitive)
- Removedacorn-babel@0.11.1-38(transitive)
- Removedast-types@0.7.80.8.15(transitive)
- Removedbabel-core@4.7.16(transitive)
- Removedbroccoli-babel-transpiler@4.1.0(transitive)
- Removedconvert-source-map@0.5.1(transitive)
- Removedcore-js@0.6.1(transitive)
- Removedember-cli-babel@4.3.3(transitive)
- Removedestraverse@1.9.3(transitive)
- Removedesutils@1.1.6(transitive)
- Removedjs-tokens@1.0.0(transitive)
- Removedleft-pad@0.0.3(transitive)
- Removedline-numbers@0.2.0(transitive)
- Removedrecast@0.10.43(transitive)
- Removedregenerator-babel@0.8.13-2(transitive)
Updatedember-cli-babel@^5.0.0