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

clay-icon

Package Overview
Dependencies
Maintainers
4
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clay-icon - npm Package Compare versions

Comparing version 1.0.0-alpha.4 to 1.0.0-alpha.5

2

lib/ClayIcon.js

@@ -61,3 +61,3 @@ 'use strict';

* @memberof ClayIcon
* @type {?string}
* @type {?string|undefined}
* @default undefined

@@ -64,0 +64,0 @@ */

{
"name": "clay-icon",
"version": "1.0.0-alpha.4",
"version": "1.0.0-alpha.5",
"description": "Clay Icon Component",

@@ -42,3 +42,3 @@ "license": "BSD",

"browserslist-config-clay-components": "^1.0.0-alpha.2",
"clay": "^2.0.0-beta.2",
"clay": "^2.0.0-beta.4",
"metal-dom": "^2.13.2",

@@ -45,0 +45,0 @@ "metal-tools-soy": "^4.2.1",

@@ -14,3 +14,3 @@ import ClayIcon from '../ClayIcon';

it('should generate markup for icon `add-cell`', () => {
it('should render markup for icon `add-cell`', () => {
clayIcon = new ClayIcon({

@@ -24,5 +24,5 @@ spritemap: spritemap,

it('should render a `add-cell` icon with id', () => {
it('should render an icon with classes', () => {
clayIcon = new ClayIcon({
id: 'myIcon',
elementClasses: 'my-custom-class',
spritemap: spritemap,

@@ -34,2 +34,12 @@ symbol: 'add-cell',

});
it('should render an icon with id', () => {
clayIcon = new ClayIcon({
id: 'myId',
spritemap: spritemap,
symbol: 'add-cell',
});
expect(clayIcon).toMatchSnapshot();
});
});

@@ -23,3 +23,3 @@ import Component from 'metal-component';

* @memberof ClayIcon
* @type {?string}
* @type {?string|undefined}
* @default undefined

@@ -26,0 +26,0 @@ */

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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