Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2
{ | ||
"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
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
6341
10
7
67