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

@polymer/paper-badge

Package Overview
Dependencies
Maintainers
10
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymer/paper-badge - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

2

package.json

@@ -30,3 +30,3 @@ {

},
"version": "3.0.1",
"version": "3.1.0",
"main": "paper-badge.js",

@@ -33,0 +33,0 @@ "author": "The Polymer Authors",

@@ -76,2 +76,4 @@ /**

* `--paper-badge-height` | The height of the badge circle | `20px`
* `--paper-badge-icon-width` | The width of the badge icon, allowed up to the width of the badge | `12px`
* `--paper-badge-icon-height` | The height of the badge icon, allowed up to the height of the badge | `12px`
* `--paper-badge-margin-left` | Optional spacing added to the left of the badge. | `0px`

@@ -78,0 +80,0 @@ * `--paper-badge-margin-bottom` | Optional spacing added to the bottom of the badge. | `0px`

@@ -75,2 +75,4 @@ /**

`--paper-badge-height` | The height of the badge circle | `20px`
`--paper-badge-icon-width` | The width of the badge icon, allowed up to the width of the badge | `12px`
`--paper-badge-icon-height` | The height of the badge icon, allowed up to the height of the badge | `12px`
`--paper-badge-margin-left` | Optional spacing added to the left of the badge. | `0px`

@@ -80,3 +82,2 @@ `--paper-badge-margin-bottom` | Optional spacing added to the bottom of the badge. | `0px`

@group Paper Elements
@element paper-badge

@@ -86,2 +87,3 @@ @demo demo/index.html

Polymer({
/** @override */
_template: html`

@@ -100,4 +102,4 @@ <style>

iron-icon {
--iron-icon-width: 12px;
--iron-icon-height: 12px;
--iron-icon-width: var(--paper-badge-icon-width, 12px);
--iron-icon-height: var(--paper-badge-icon-height, 12px);
}

@@ -188,2 +190,3 @@

/** @override */
attached: function() {

@@ -194,2 +197,4 @@ // Polymer 2.x does not have this.offsetParent defined by attached

/** @override */
attributeChanged: function(name) {

@@ -196,0 +201,0 @@ if (name === 'hidden') {

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