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

@spectrum-web-components/icon

Package Overview
Dependencies
Maintainers
5
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/icon - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## [0.4.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/icon@0.4.3...@spectrum-web-components/icon@0.4.4) (2020-03-11)
**Note:** Version bump only for package @spectrum-web-components/icon
## [0.4.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/icon@0.4.2...@spectrum-web-components/icon@0.4.3) (2020-01-06)

@@ -8,0 +12,0 @@

16

custom-elements.json
{
"version": 2,
"version": "experimental",
"tags": [

@@ -17,3 +17,4 @@ {

"name": "size",
"type": "string"
"type": "string",
"default": "\"m\""
},

@@ -39,3 +40,4 @@ {

"attribute": "size",
"type": "string"
"type": "string",
"default": "\"m\""
},

@@ -46,10 +48,2 @@ {

"type": "string | undefined"
},
{
"name": "iconset",
"type": "string"
},
{
"name": "icon",
"type": "string"
}

@@ -56,0 +50,0 @@ ]

@@ -21,3 +21,3 @@ {

],
"version": "0.4.3",
"version": "0.4.4",
"description": "",

@@ -42,3 +42,3 @@ "main": "lib/index.js",

"devDependencies": {
"@spectrum-css/icon": "^2.0.2"
"@spectrum-css/icon": "^2.0.5"
},

@@ -49,3 +49,3 @@ "dependencies": {

},
"gitHead": "8ccfbecc2e7534567967bbebb5d201e0b16b08bb"
"gitHead": "d5b370be9515cb1458c436fd4b7c8689e2bfb933"
}

@@ -1,2 +0,2 @@

## Overview
## Description

@@ -40,3 +40,3 @@ `<sp-icon>` renders an icon to the page. By default the `name` attribute will pair with separately registered icon sets to deliver the icons. When not present, `<sp-icon>` will subsequently check for its `src` attribute which could populate the icon via an image, and then fallback to any slotted content for an element based icon.

## Color Icon
## Color icon

@@ -49,3 +49,3 @@ Icons apply their color as `currentColor` so change the `color` property of the element for customization.

## Image Icon
## Image icon

@@ -85,3 +85,3 @@ An image icon can be supplied via the `src` attribute. Remember that you cannot style the contents of an image via CSS, so use graphics that are appropriately prepared for including in your applications design requirements.

## Element Icon
## Element icon

@@ -88,0 +88,0 @@ Icons can also be supplied as HTML elements to be applied via the default `<slot>`.

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