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.1 to 1.0.0-alpha.2

12

package.json
{
"name": "clay-icon",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"description": "Clay Icon Component",

@@ -37,8 +37,12 @@ "license": "BSD",

"babel-plugin-transform-node-env-inline": "^0.1.1",
"babel-preset-es2015": "^6.14.0",
"clay": "liferay/clay#develop",
"babel-preset-env": "^1.6.0",
"browserslist-config-clay-components": "^1.0.0-alpha.2",
"clay": "^2.0.0-beta.1",
"metal-dom": "^2.13.2",
"metal-tools-soy": "^4.2.1",
"webpack": "^3.0.0"
}
},
"browserslist": [
"extends browserslist-config-clay-components"
]
}

@@ -23,22 +23,2 @@ import ClayIcon from '../ClayIcon';

it('should render a monospaced `add-cell` icon', () => {
clayIcon = new ClayIcon({
monospaced: true,
spritemap: spritemap,
symbol: 'add-cell',
});
expect(clayIcon).toMatchSnapshot();
});
it('should render a not monospaced `add-cell` icon', () => {
clayIcon = new ClayIcon({
monospaced: false,
spritemap: spritemap,
symbol: 'add-cell',
});
expect(clayIcon).toMatchSnapshot();
});
it('should render a `add-cell` icon with id', () => {

@@ -45,0 +25,0 @@ clayIcon = new ClayIcon({

@@ -28,11 +28,2 @@ import Component from 'metal-component';

/**
* Flag to indicate if the icon should be monospaced.
* @instance
* @memberof ClayIcon
* @type {?bool}
* @default false
*/
monospaced: Config.bool().value(false),
/**
* The path to the SVG spritemap file containing the icons.

@@ -39,0 +30,0 @@ * @instance

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