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

clay-icon

Package Overview
Dependencies
Maintainers
10
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 2.13.0 to 2.14.0

20

lib/ClayIcon.soy.js

@@ -45,9 +45,15 @@ 'use strict';

/**
* @param {$render.Params} opt_data
* @param {{
* spritemap: (!goog.soy.data.SanitizedContent|string),
* symbol: (!goog.soy.data.SanitizedContent|string),
* elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
* focusable: (boolean|null|undefined),
* id: (!goog.soy.data.SanitizedContent|null|string|undefined)
* }} opt_data
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes|uselessCode}
* @suppress {checkTypes}
*/
var $render = function $render(opt_data, opt_ijData, opt_ijData_deprecated) {
function $render(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;

@@ -64,3 +70,3 @@ /** @type {!goog.soy.data.SanitizedContent|string} */

var id = soy.asserts.assertType(opt_data.id == null || goog.isString(opt_data.id) || opt_data.id instanceof goog.soy.data.SanitizedContent, 'id', opt_data.id, '!goog.soy.data.SanitizedContent|null|string|undefined');
var attributes__soy30 = function attributes__soy30() {
var attributes__soy9 = function attributes__soy9() {
incrementalDom.attr('class', 'lexicon-icon lexicon-icon-' + symbol + (elementClasses ? ' ' + elementClasses : ''));

@@ -78,3 +84,3 @@ if (focusable) {

incrementalDom.elementOpenStart('svg');
attributes__soy30();
attributes__soy9();
incrementalDom.elementOpenEnd();

@@ -86,3 +92,3 @@ incrementalDom.elementOpenStart('use');

incrementalDom.elementClose('svg');
};
}
exports.render = $render;

@@ -95,3 +101,3 @@ /**

* focusable: (boolean|null|undefined),
* id: (!goog.soy.data.SanitizedContent|null|string|undefined),
* id: (!goog.soy.data.SanitizedContent|null|string|undefined)
* }}

@@ -98,0 +104,0 @@ */

{
"name": "clay-icon",
"version": "2.13.0",
"version": "2.14.0",
"description": "Clay Icon Component",

@@ -31,3 +31,3 @@ "license": "BSD-3-Clause",

"dependencies": {
"clay-component": "^2.13.0",
"clay-component": "^2.14.0",
"metal-component": "^2.16.0",

@@ -44,8 +44,8 @@ "metal-soy": "^2.16.0",

"babel-preset-env": "^1.6.0",
"browserslist-config-clay": "^2.13.0",
"clay-css": "^2.13.0",
"browserslist-config-clay": "^2.14.0",
"clay-css": "^2.14.0",
"metal-dom": "^2.13.2",
"metal-tools-soy": "^6.0.0",
"metal-tools-soy": "^4.3.2",
"webpack": "^3.0.0",
"webpack-config-clay": "^2.13.0"
"webpack-config-clay": "^2.14.0"
},

@@ -55,3 +55,3 @@ "browserslist": [

],
"gitHead": "fef2c15a6c6a85daa328f93e4cb25d9ee4bb86dc"
"gitHead": "cc93f63941787d174b5871282dc36ccf15ee85f5"
}

@@ -26,9 +26,15 @@ /* jshint ignore:start */

/**
* @param {$render.Params} opt_data
* @param {{
* spritemap: (!goog.soy.data.SanitizedContent|string),
* symbol: (!goog.soy.data.SanitizedContent|string),
* elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
* focusable: (boolean|null|undefined),
* id: (!goog.soy.data.SanitizedContent|null|string|undefined)
* }} opt_data
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes|uselessCode}
* @suppress {checkTypes}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
function $render(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;

@@ -45,3 +51,3 @@ /** @type {!goog.soy.data.SanitizedContent|string} */

var id = soy.asserts.assertType(opt_data.id == null || (goog.isString(opt_data.id) || opt_data.id instanceof goog.soy.data.SanitizedContent), 'id', opt_data.id, '!goog.soy.data.SanitizedContent|null|string|undefined');
var attributes__soy30 = function() {
var attributes__soy9 = function() {
incrementalDom.attr('class', 'lexicon-icon lexicon-icon-' + symbol + (elementClasses ? ' ' + elementClasses : ''));

@@ -59,10 +65,10 @@ if (focusable) {

incrementalDom.elementOpenStart('svg');
attributes__soy30();
attributes__soy9();
incrementalDom.elementOpenEnd();
incrementalDom.elementOpenStart('use');
incrementalDom.attr('xlink:href', spritemap + '#' + symbol);
incrementalDom.elementOpenEnd();
incrementalDom.elementClose('use');
incrementalDom.elementOpenStart('use');
incrementalDom.attr('xlink:href', spritemap + '#' + symbol);
incrementalDom.elementOpenEnd();
incrementalDom.elementClose('use');
incrementalDom.elementClose('svg');
};
}
exports.render = $render;

@@ -75,3 +81,3 @@ /**

* focusable: (boolean|null|undefined),
* id: (!goog.soy.data.SanitizedContent|null|string|undefined),
* id: (!goog.soy.data.SanitizedContent|null|string|undefined)
* }}

@@ -78,0 +84,0 @@ */

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