{"id":23116103,"url":"https://github.com/polymerelements/paper-material","last_synced_at":"2025-04-04T11:15:29.072Z","repository":{"id":30538140,"uuid":"34092787","full_name":"PolymerElements/paper-material","owner":"PolymerElements","description":"A Material Design container that looks like a lifted piece of paper","archived":false,"fork":false,"pushed_at":"2025-03-10T23:46:13.000Z","size":302,"stargazers_count":19,"open_issues_count":7,"forks_count":16,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-04T11:15:24.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PolymerElements.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-17T02:44:16.000Z","updated_at":"2022-04-29T13:07:10.000Z","dependencies_parsed_at":"2024-12-26T06:20:15.741Z","dependency_job_id":null,"html_url":"https://github.com/PolymerElements/paper-material","commit_stats":{"total_commits":112,"total_committers":23,"mean_commits":4.869565217391305,"dds":0.7232142857142857,"last_synced_commit":"243c2db3f0c2de595e6235c822203ad782150653"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Fpaper-material","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Fpaper-material/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Fpaper-material/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolymerElements%2Fpaper-material/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PolymerElements","download_url":"https://codeload.github.com/PolymerElements/paper-material/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247166169,"owners_count":20894654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-17T04:11:14.297Z","updated_at":"2025-04-04T11:15:29.051Z","avatar_url":"https://github.com/PolymerElements.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Published on NPM](https://img.shields.io/npm/v/@polymer/paper-material.svg)](https://www.npmjs.com/package/@polymer/paper-material)\n[![Build status](https://travis-ci.org/PolymerElements/paper-material.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-material)\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://webcomponents.org/element/@polymer/paper-material)\n\n## \u0026lt;paper-material\u0026gt;\n`paper-material` is a container that renders two shadows on top of each other to\ncreate the effect of a lifted piece of paper.\n\n⚠️ 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.\n\nSee: [Documentation](https://www.webcomponents.org/element/@polymer/paper-material),\n  [Demo](https://www.webcomponents.org/element/@polymer/paper-material/demo/demo/index.html).\n\n## Usage\n\n### Installation\n```\nnpm install --save @polymer/paper-material\n```\n\n### In an html file\n```html\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cscript type=\"module\"\u003e\n      import '@polymer/paper-material/paper-material.js';\n    \u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cpaper-material elevation=\"1\"\u003e\n      \u003cdiv\u003eSome content\u003c/div\u003e\n    \u003c/paper-material\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n### In a Polymer 3 element\n```js\nimport {PolymerElement, html} from '@polymer/polymer';\nimport '@polymer/paper-material/paper-material.js';\n\nclass SampleElement extends PolymerElement {\n  static get template() {\n    return html`\n      \u003cpaper-material elevation=\"1\"\u003e\n        \u003cdiv\u003eSome content\u003c/div\u003e\n      \u003c/paper-material\u003e\n    `;\n  }\n}\ncustomElements.define('sample-element', SampleElement);\n```\n\n## Contributing\nIf you want to send a PR to this element, here are\nthe instructions for running the tests and demo locally:\n\n### Installation\n```sh\ngit clone https://github.com/PolymerElements/paper-material\ncd paper-material\nnpm install\nnpm install -g polymer-cli\n```\n\n### Running the demo locally\n```sh\npolymer serve --npm\nopen http://127.0.0.1:\u003cport\u003e/demo/\n```\n\n### Running the tests\n```sh\npolymer test --npm\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolymerelements%2Fpaper-material","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolymerelements%2Fpaper-material","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolymerelements%2Fpaper-material/lists"}