Comparing version 1.0.0-alpha.4 to 1.0.0-alpha.5
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28021
337