Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-paper

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-paper - npm Package Compare versions

Comparing version 0.0.21 to 0.1.0

config/ember-try.js

5

addon/components/paper-radio.js

@@ -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'));

5

blueprints/ember-paper/index.js

@@ -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');
});
}
};

2

index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc