Directory

paper-material - Vaadin Add-on Directory

A Material Design container that looks like a lifted piece of paper paper-material - Vaadin Add-on Directory
[![Published on NPM](https://img.shields.io/npm/v/@polymer/paper-material.svg)](https://www.npmjs.com/package/@polymer/paper-material) [![Build status](https://travis-ci.org/PolymerElements/paper-material.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-material) [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://webcomponents.org/element/@polymer/paper-material) ## <paper-material> `paper-material` is a container that renders two shadows on top of each other to create the effect of a lifted piece of paper. ⚠️ As of the 2.0 release, this element is **deprecated** in favour of the shared styles in [`PolymerElements/paper-styles`](https://github.com/PolymerElements/paper-styles/blob/master/element-styles/paper-material-styles.html). Please see the implementation of [`PolymerElements/paper-button`](https://github.com/PolymerElements/paper-button/blob/master/paper-button.html#L114) for an example. See: [Documentation](https://www.webcomponents.org/element/@polymer/paper-material), [Demo](https://www.webcomponents.org/element/@polymer/paper-material/demo/demo/index.html). ## Usage ### Installation ``` npm install --save @polymer/paper-material ``` ### In an html file ```html
Some content
``` ### In a Polymer 3 element ```js import {PolymerElement, html} from '@polymer/polymer'; import '@polymer/paper-material/paper-material.js'; class SampleElement extends PolymerElement { static get template() { return html`
Some content
`; } } customElements.define('sample-element', SampleElement); ``` ## Contributing If you want to send a PR to this element, here are the instructions for running the tests and demo locally: ### Installation ```sh git clone https://github.com/PolymerElements/paper-material cd paper-material npm install npm install -g polymer-cli ``` ### Running the demo locally ```sh polymer serve --npm open http://127.0.0.1:/demo/ ``` ### Running the tests ```sh polymer test --npm ```
License
View on NPM
View on GitHub

paper-material version 0.8.3
### Dependencies * polymer#polymer/polymer#v0.8.0-rc.7 * paper-styles#polymerelements/paper-styles#^0.8.0

paper-material version 0.9.0
### Dependencies * polymer#polymer/polymer#v0.9.0-rc.1 * paper-styles#polymerelements/paper-styles#^0.9.0

paper-material version 0.9.1
### Dependencies * paper-styles#polymerelements/paper-styles#^0.9.0 * polymer#Polymer/polymer#^0.9.0

paper-material version 0.9.2
### Dependencies * paper-styles#polymerelements/paper-styles#^0.9.5 * polymer#Polymer/polymer#^0.9.0

paper-material version 1.0.0
### Dependencies * paper-styles#polymerelements/paper-styles#^1.0.0 * polymer#Polymer/polymer#^1.0.0

paper-material version 1.0.1
### Dependencies * paper-styles#polymerelements/paper-styles#^1.0.0 * polymer#Polymer/polymer#^1.0.0

paper-material version 1.0.2
### Dependencies * paper-styles#polymerelements/paper-styles#^1.0.0 * polymer#Polymer/polymer#^1.0.0

paper-material version 1.0.3
### Dependencies * polymer#Polymer/polymer#^1.1.0 * paper-styles#polymerelements/paper-styles#^1.0.0

paper-material version 1.0.4
### Dependencies * polymer#Polymer/polymer#^1.1.0 * paper-styles#polymerelements/paper-styles#^1.0.0

paper-material version 1.0.5
### Dependencies * polymer#Polymer/polymer#^1.1.0 * paper-styles#polymerelements/paper-styles#^1.0.0

paper-material version 1.0.6
### Dependencies * polymer#Polymer/polymer#^1.1.0 * paper-styles#polymerelements/paper-styles#^1.0.0

paper-material version 0.0.1
### Dependencies * @polymer/polymer#^1.2.5-npm-test.2 * @polymer/paper-styles#^0.0.1

paper-material version 0.0.3
### Dependencies * @polymer/polymer#^1.2.5-npm-test.2 * @polymer/paper-styles#^0.0.3

paper-material version 1.0.7
### Dependencies * polymer#Polymer/polymer#^1.1.0 * paper-styles#polymerelements/paper-styles#^1.0.0

paper-material version 2.0.0
### Dependencies * polymer#Polymer/polymer#1.9 - 2 * paper-styles#polymerelements/paper-styles#1 - 2

paper-material version 3.0.0-pre.1
### Dependencies * @polymer/polymer#^3.0.0-pre.1 * @polymer/paper-styles#^3.0.0-pre.1

paper-material version 3.0.0-pre.2
### Dependencies * @polymer/polymer#^3.0.0-pre.1 * @polymer/paper-styles#^3.0.0-pre.1

paper-material version 3.0.0-pre.3
### Dependencies * @polymer/polymer#^3.0.0-pre.3 * @polymer/paper-styles#^3.0.0-pre.3

paper-material version 3.0.0-pre.4
### Dependencies * @polymer/polymer#^3.0.0-pre.4 * @polymer/paper-styles#^3.0.0-pre.4

paper-material version 3.0.0-pre.6
### Dependencies * @polymer/polymer#^3.0.0-pre.6 * @polymer/paper-styles#^3.0.0-pre.6

paper-material version 3.0.0-pre.7
### Dependencies * @polymer/polymer#^3.0.0-pre.7 * @polymer/paper-styles#^3.0.0-pre.7

paper-material version 3.0.0-pre.8
### Dependencies * @polymer/polymer#^3.0.0-pre.7 * @polymer/paper-styles#^3.0.0-pre.7

paper-material version 2.1.0
### Dependencies * polymer#Polymer/polymer#1.9 - 2 * paper-styles#PolymerElements/paper-styles#1 - 2

paper-material version 3.0.0-pre.10
### Dependencies * @polymer/polymer#^3.0.0-pre.10 * @polymer/paper-styles#^3.0.0-pre.10

paper-material version 3.0.0-pre.11
### Dependencies * @polymer/polymer#^3.0.0-pre.10 * @polymer/paper-styles#^3.0.0-pre.10

paper-material version 3.0.0-pre.12
### Dependencies * @polymer/polymer#3.0.0-pre.12 * @polymer/paper-styles#3.0.0-pre.12

paper-material version 3.0.0-pre.13
### Dependencies * @polymer/polymer#^3.0.0-pre.13 * @polymer/paper-styles#^3.0.0-pre.13

paper-material version 3.0.0-pre.14
### Dependencies * @polymer/polymer#^3.0.0-pre.13 * @polymer/paper-styles#^3.0.0-pre.14

paper-material version 3.0.0-pre.15
### Dependencies * @polymer/polymer#^3.0.0-pre.13 * @polymer/paper-styles#^3.0.0-pre.15

paper-material version 3.0.0-pre.16
### Dependencies * @polymer/polymer#^3.0.0-pre.13 * @polymer/paper-styles#^3.0.0-pre.16

paper-material version 3.0.0-pre.17
### Dependencies * @polymer/polymer#^3.0.0-pre.13 * @polymer/paper-styles#^3.0.0-pre.17

paper-material version 3.0.0-pre.18
### Dependencies * @polymer/polymer#^3.0.0 * @polymer/paper-styles#^3.0.0-pre.18

paper-material version 3.0.0-pre.19
### Dependencies * @polymer/polymer#^3.0.0 * @polymer/paper-styles#^3.0.0-pre.19

paper-material version 3.0.0-pre.20
### Dependencies * @polymer/polymer#^3.0.0 * @polymer/paper-styles#^3.0.0-pre.20

paper-material version 3.0.0-pre.21
### Dependencies * @polymer/polymer#^3.0.0 * @polymer/paper-styles#^3.0.0-pre.21

paper-material version 3.0.0-pre.22
### Dependencies * @polymer/polymer#^3.0.0 * @polymer/paper-styles#^3.0.0-pre.20

paper-material version 3.0.0-pre.23
### Dependencies * @polymer/polymer#^3.0.0 * @polymer/paper-styles#^3.0.0-pre.22

paper-material version 3.0.0-pre.24
### Dependencies * @polymer/polymer#^3.0.0 * @polymer/paper-styles#^3.0.0-pre.22

paper-material version 3.0.0-pre.25
### Dependencies * @polymer/polymer#^3.0.0 * @polymer/paper-styles#^3.0.0-pre.24

paper-material version 3.0.0-pre.26
### Dependencies * @polymer/polymer#^3.0.0 * @polymer/paper-styles#^3.0.0-pre.25

paper-material version 3.0.0
### Dependencies * @polymer/polymer#^3.0.0 * @polymer/paper-styles#^3.0.0-pre.26

paper-material version 3.0.1
### Dependencies * @polymer/polymer#^3.0.0 * @polymer/paper-styles#^3.0.0-pre.26