🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

clay-label

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-label - npm Package Compare versions

Comparing version
1.0.0-alpha.4
to
1.0.0-alpha.5
+9
-0
lib/ClayLabel.js

@@ -85,2 +85,11 @@ 'use strict';

/**
* CSS classes to be applied to the element.
* @instance
* @memberof ClayLabel
* @type {?string|undefined}
* @default undefined
*/
elementClasses: _metalState.Config.string(),
/**
* HREF in label.

@@ -87,0 +96,0 @@ * @instance

+1
-1

@@ -1,1 +0,1 @@

{"version":3,"sources":["../src/ClayLabel.js"],"names":["ClayLabel","emit","STATE","closeable","bool","value","href","string","id","label","size","oneOf","spritemap","style","register"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;;;AACA;;;;AACA;;;;AACA;;AAEA;;;;;;;;;;;;AAEA;;;IAGMA,S;;;;;;;;;;;;AACL;;;;4CAI0B;AACzB,QAAKC,IAAL,CAAU,OAAV;AACA;;;;;;AAGF;;;;;;;AAKAD,UAAUE,KAAV,GAAkB;AACjB;;;;;;;AAOAC,YAAW,mBAAOC,IAAP,GAAcC,KAAd,CAAoB,KAApB,CARM;;AAUjB;;;;;;;AAOAC,OAAM,mBAAOC,MAAP,EAjBW;;AAmBjB;;;;;;;AAOAC,KAAI,mBAAOD,MAAP,EA1Ba;;AA4BjB;;;;;;;AAOAE,QAAO,mBAAOF,MAAP,EAnCU;;AAqCjB;;;;;;;AAOAG,OAAM,mBAAOC,KAAP,CAAa,CAAC,IAAD,CAAb,CA5CW;;AA8CjB;;;;;;;AAOAC,YAAW,mBAAOL,MAAP,EArDM;;AAuDjB;;;;;;;AAOAM,QAAO,mBAAOF,KAAP,CAAa,CACnB,QADmB,EAEnB,MAFmB,EAGnB,WAHmB,EAInB,SAJmB,EAKnB,SALmB,CAAb,EAMJN,KANI,CAME,WANF;AA9DU,CAAlB;;AAuEA,iCAAmB,YAAnB,EAAiCL,SAAjC;;AAEA,mBAAIc,QAAJ,CAAad,SAAb;;QAEQA,S,GAAAA,S;kBACOA,S","file":"ClayLabel.js","sourcesContent":["import 'clay-button';\nimport 'clay-link';\nimport Component from 'metal-component';\nimport defineWebComponent from 'metal-web-component';\nimport Soy from 'metal-soy';\nimport {Config} from 'metal-state';\n\nimport templates from './ClayLabel.soy.js';\n\n/**\n * Metal Clay Label component.\n */\nclass ClayLabel extends Component {\n\t/**\n\t * Handle `click` button and emit event `close`.\n\t * @protected\n\t */\n\thandleCloseButtonClick_() {\n\t\tthis.emit('close');\n\t}\n}\n\n/**\n * State definition.\n * @static\n * @type {!Object}\n */\nClayLabel.STATE = {\n\t/**\n\t * True or false to activate the close button.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?bool}\n\t * @default false\n\t */\n\tcloseable: Config.bool().value(false),\n\n\t/**\n\t * HREF in label.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?string|undefined}\n\t * @default undefined\n\t */\n\thref: Config.string(),\n\n\t/**\n\t * Id to be applied to the element.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?string|undefined}\n\t * @default undefined\n\t */\n\tid: Config.string(),\n\n\t/**\n\t * The label of the badge element.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?string|undefined}\n\t * @default undefined\n\t */\n\tlabel: Config.string(),\n\n\t/**\n\t * The size of the label element.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?string|undefined}\n\t * @default undefined\n\t */\n\tsize: Config.oneOf(['lg']),\n\n\t/**\n\t * The path to the SVG spritemap file containing the icons.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?string|undefined}\n\t * @default undefined\n\t */\n\tspritemap: Config.string(),\n\n\t/**\n\t * Label style color.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?string}\n\t * @default secondary\n\t */\n\tstyle: Config.oneOf([\n\t\t'danger',\n\t\t'info',\n\t\t'secondary',\n\t\t'success',\n\t\t'warning',\n\t]).value('secondary'),\n};\n\ndefineWebComponent('clay-label', ClayLabel);\n\nSoy.register(ClayLabel, templates);\n\nexport {ClayLabel};\nexport default ClayLabel;\n"]}
{"version":3,"sources":["../src/ClayLabel.js"],"names":["ClayLabel","emit","STATE","closeable","bool","value","elementClasses","string","href","id","label","size","oneOf","spritemap","style","register"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;;;AACA;;;;AACA;;;;AACA;;AAEA;;;;;;;;;;;;AAEA;;;IAGMA,S;;;;;;;;;;;;AACL;;;;4CAI0B;AACzB,QAAKC,IAAL,CAAU,OAAV;AACA;;;;;;AAGF;;;;;;;AAKAD,UAAUE,KAAV,GAAkB;AACjB;;;;;;;AAOAC,YAAW,mBAAOC,IAAP,GAAcC,KAAd,CAAoB,KAApB,CARM;;AAUjB;;;;;;;AAOAC,iBAAgB,mBAAOC,MAAP,EAjBC;;AAmBjB;;;;;;;AAOAC,OAAM,mBAAOD,MAAP,EA1BW;;AA4BjB;;;;;;;AAOAE,KAAI,mBAAOF,MAAP,EAnCa;;AAqCjB;;;;;;;AAOAG,QAAO,mBAAOH,MAAP,EA5CU;;AA8CjB;;;;;;;AAOAI,OAAM,mBAAOC,KAAP,CAAa,CAAC,IAAD,CAAb,CArDW;;AAuDjB;;;;;;;AAOAC,YAAW,mBAAON,MAAP,EA9DM;;AAgEjB;;;;;;;AAOAO,QAAO,mBAAOF,KAAP,CAAa,CACnB,QADmB,EAEnB,MAFmB,EAGnB,WAHmB,EAInB,SAJmB,EAKnB,SALmB,CAAb,EAMJP,KANI,CAME,WANF;AAvEU,CAAlB;;AAgFA,iCAAmB,YAAnB,EAAiCL,SAAjC;;AAEA,mBAAIe,QAAJ,CAAaf,SAAb;;QAEQA,S,GAAAA,S;kBACOA,S","file":"ClayLabel.js","sourcesContent":["import 'clay-button';\nimport 'clay-link';\nimport Component from 'metal-component';\nimport defineWebComponent from 'metal-web-component';\nimport Soy from 'metal-soy';\nimport {Config} from 'metal-state';\n\nimport templates from './ClayLabel.soy.js';\n\n/**\n * Metal Clay Label component.\n */\nclass ClayLabel extends Component {\n\t/**\n\t * Handle `click` button and emit event `close`.\n\t * @protected\n\t */\n\thandleCloseButtonClick_() {\n\t\tthis.emit('close');\n\t}\n}\n\n/**\n * State definition.\n * @static\n * @type {!Object}\n */\nClayLabel.STATE = {\n\t/**\n\t * True or false to activate the close button.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?bool}\n\t * @default false\n\t */\n\tcloseable: Config.bool().value(false),\n\n\t/**\n\t * CSS classes to be applied to the element.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?string|undefined}\n\t * @default undefined\n\t */\n\telementClasses: Config.string(),\n\n\t/**\n\t * HREF in label.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?string|undefined}\n\t * @default undefined\n\t */\n\thref: Config.string(),\n\n\t/**\n\t * Id to be applied to the element.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?string|undefined}\n\t * @default undefined\n\t */\n\tid: Config.string(),\n\n\t/**\n\t * The label of the badge element.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?string|undefined}\n\t * @default undefined\n\t */\n\tlabel: Config.string(),\n\n\t/**\n\t * The size of the label element.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?string|undefined}\n\t * @default undefined\n\t */\n\tsize: Config.oneOf(['lg']),\n\n\t/**\n\t * The path to the SVG spritemap file containing the icons.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?string|undefined}\n\t * @default undefined\n\t */\n\tspritemap: Config.string(),\n\n\t/**\n\t * Label style color.\n\t * @instance\n\t * @memberof ClayLabel\n\t * @type {?string}\n\t * @default secondary\n\t */\n\tstyle: Config.oneOf([\n\t\t'danger',\n\t\t'info',\n\t\t'secondary',\n\t\t'success',\n\t\t'warning',\n\t]).value('secondary'),\n};\n\ndefineWebComponent('clay-label', ClayLabel);\n\nSoy.register(ClayLabel, templates);\n\nexport {ClayLabel};\nexport default ClayLabel;\n"]}

@@ -51,2 +51,3 @@ 'use strict';

* closeable: (boolean|null|undefined),
* elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
* handleCloseButtonClick_: (*|null|undefined),

@@ -61,6 +62,6 @@ * href: (!goog.soy.data.SanitizedContent|null|string|undefined),

* icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),
* elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
* ariaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),
* target: (!goog.soy.data.SanitizedContent|null|string|undefined),
* download: (!goog.soy.data.SanitizedContent|null|string|undefined)
* download: (!goog.soy.data.SanitizedContent|null|string|undefined),
* ariaExpanded: (boolean|null|undefined)
* }} opt_data

@@ -78,2 +79,4 @@ * @param {Object<string, *>=} opt_ijData

var closeable = soy.asserts.assertType(opt_data.closeable == null || goog.isBoolean(opt_data.closeable) || opt_data.closeable === 1 || opt_data.closeable === 0, 'closeable', opt_data.closeable, 'boolean|null|undefined');
/** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
var elementClasses = soy.asserts.assertType(opt_data.elementClasses == null || goog.isString(opt_data.elementClasses) || opt_data.elementClasses instanceof goog.soy.data.SanitizedContent, 'elementClasses', opt_data.elementClasses, '!goog.soy.data.SanitizedContent|null|string|undefined');
/** @type {*|null|undefined} */

@@ -93,4 +96,4 @@ var handleCloseButtonClick_ = opt_data.handleCloseButtonClick_;

var style = soy.asserts.assertType(opt_data.style == null || goog.isString(opt_data.style) || opt_data.style instanceof goog.soy.data.SanitizedContent, 'style', opt_data.style, '!goog.soy.data.SanitizedContent|null|string|undefined');
var attributes__soy12 = function attributes__soy12() {
incrementalDom.attr('class', 'label label-' + (($$temp = style) == null ? 'secondary' : $$temp) + (closeable ? ' label-dismissible' : '') + (size ? ' label-' + size : ''));
var attributes__soy13 = function attributes__soy13() {
incrementalDom.attr('class', 'label label-' + (($$temp = style) == null ? 'secondary' : $$temp) + (closeable ? ' label-dismissible' : '') + (elementClasses ? ' ' + elementClasses : '') + (size ? ' label-' + size : ''));
if (id) {

@@ -101,3 +104,3 @@ incrementalDom.attr('id', id);

incrementalDom.elementOpenStart('span');
attributes__soy12();
attributes__soy13();
incrementalDom.elementOpenEnd();

@@ -111,2 +114,3 @@ $content(opt_data, null, opt_ijData);

* closeable: (boolean|null|undefined),
* elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
* handleCloseButtonClick_: (*|null|undefined),

@@ -121,6 +125,6 @@ * href: (!goog.soy.data.SanitizedContent|null|string|undefined),

* icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),
* elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
* ariaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),
* target: (!goog.soy.data.SanitizedContent|null|string|undefined),
* download: (!goog.soy.data.SanitizedContent|null|string|undefined)
* download: (!goog.soy.data.SanitizedContent|null|string|undefined),
* ariaExpanded: (boolean|null|undefined)
* }}

@@ -142,2 +146,3 @@ */

* buttonStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),
* ariaExpanded: (boolean|null|undefined),
* icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),

@@ -187,2 +192,3 @@ * style: (!goog.soy.data.SanitizedContent|null|string|undefined),

* buttonStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),
* ariaExpanded: (boolean|null|undefined),
* icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),

@@ -201,4 +207,4 @@ * style: (!goog.soy.data.SanitizedContent|null|string|undefined),

exports.render.params = ["closeable", "handleCloseButtonClick_", "href", "id", "label", "size", "spritemap", "style"];
exports.render.types = { "closeable": "bool", "handleCloseButtonClick_": "any", "href": "string", "id": "string", "label": "string", "size": "string", "spritemap": "string", "style": "string" };
exports.render.params = ["closeable", "elementClasses", "handleCloseButtonClick_", "href", "id", "label", "size", "spritemap", "style"];
exports.render.types = { "closeable": "bool", "elementClasses": "string", "handleCloseButtonClick_": "any", "href": "string", "id": "string", "label": "string", "size": "string", "spritemap": "string", "style": "string" };
exports.content.params = ["closeable", "handleCloseButtonClick_", "href", "label", "spritemap"];

@@ -205,0 +211,0 @@ exports.content.types = { "closeable": "bool", "handleCloseButtonClick_": "any", "href": "string", "label": "string", "spritemap": "string" };

@@ -1,1 +0,1 @@

{"version":3,"sources":["../src/ClayLabel.soy.js"],"names":["templates","goog","loadModule","exports","soy","require","soydata","module","incrementalDom","soyIdom","$templateAlias2","getTemplate","$templateAlias1","$render","opt_data","opt_ijData","opt_ijData_deprecated","$$temp","closeable","asserts","assertType","isBoolean","handleCloseButtonClick_","href","isString","data","SanitizedContent","id","label","size","spritemap","style","attributes__soy12","attr","elementOpenStart","elementOpenEnd","$content","elementClose","render","Params","DEBUG","soyTemplateName","print","ariaLabel","elementClasses","events","click","icon","alignment","symbol","type","content","params","types","ClayLabel","register"],"mappings":";;;;;;;AACA;;;;AACA;;;;;;;;;;+eAFA;;;AAIA,IAAIA,SAAJ;AACAC,KAAKC,UAAL,CAAgB,UAASC,OAAT,EAAkB;AAClC,MAAIC,MAAMH,KAAKI,OAAL,CAAa,KAAb,CAAV;AACA,MAAIC,UAAUL,KAAKI,OAAL,CAAa,SAAb,CAAd;AACA;AACA;;AAEA;;;;;AAKAJ,OAAKM,MAAL,CAAY,0BAAZ;;AAEAN,OAAKI,OAAL,CAAa,gCAAb;AACA,MAAIG,iBAAiBP,KAAKI,OAAL,CAAa,gBAAb,CAArB;AACAJ,OAAKI,OAAL,CAAa,aAAb;AACA,MAAII,UAAUR,KAAKI,OAAL,C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AA3D,EAAkE,WAAlE,EAA8E,OAA9E,CAAxB;AACAjD,UAAQmC,MAAR,CAAee,KAAf,GAAuB,EAAC,aAAY,MAAb,EAAoB,2BAA0B,KAA9C,EAAoD,QAAO,QAA3D,EAAoE,MAAK,QAAzE,EAAkF,SAAQ,QAA1F,EAAmG,QAAO,QAA1G,EAAmH,aAAY,QAA/H,EAAwI,SAAQ,QAAhJ,EAAvB;AACAlD,UAAQgD,OAAR,CAAgBC,MAAhB,GAAyB,CAAC,WAAD,EAAa,yBAAb,EAAuC,MAAvC,EAA8C,OAA9C,EAAsD,WAAtD,CAAzB;AACAjD,UAAQgD,OAAR,CAAgBE,KAAhB,GAAwB,EAAC,aAAY,MAAb,EAAoB,2BAA0B,KAA9C,EAAoD,QAAO,QAA3D,EAAoE,SAAQ,QAA5E,EAAqF,aAAY,QAAjG,EAAxB;AACA,UAOoBrD,SAPpB,eAAYG,OAAZ;AACA,SAAOA,OAAP;AAEC,CA/KD;;IAiLMmD,S;;;;;;;;;;;;AACN,mBAAIC,QAAJ,CAAaD,SAAb,EAAwBtD,SAAxB;QACSsD,S,GAAAA,S;QAAWtD,S,GAAAA,S;kBACLA,S;AACf","file":"ClayLabel.soy.js","sourcesContent":["/* jshint ignore:start */\nimport Component from 'metal-component';\nimport Soy from 'metal-soy';\n\nvar templates;\ngoog.loadModule(function(exports) {\nvar soy = goog.require('soy');\nvar soydata = goog.require('soydata');\n// This file was automatically generated from ClayLabel.soy.\n// Please don't edit this file by hand.\n\n/**\n * @fileoverview Templates in namespace ClayLabel.\n * @public\n */\n\ngoog.module('ClayLabel.incrementaldom');\n\ngoog.require('goog.soy.data.SanitizedContent');\nvar incrementalDom = goog.require('incrementaldom');\ngoog.require('soy.asserts');\nvar soyIdom = goog.require('soy.idom');\n\nvar $templateAlias2 = Soy.getTemplate('ClayButton.incrementaldom', 'render');\n\nvar $templateAlias1 = Soy.getTemplate('ClayLink.incrementaldom', 'render');\n\n\n/**\n * @param {{\n * closeable: (boolean|null|undefined),\n * handleCloseButtonClick_: (*|null|undefined),\n * href: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * id: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * label: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * size: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * style: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * buttonStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),\n * elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * ariaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * target: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * download: (!goog.soy.data.SanitizedContent|null|string|undefined)\n * }} opt_data\n * @param {Object<string, *>=} opt_ijData\n * @param {Object<string, *>=} opt_ijData_deprecated\n * @return {void}\n * @suppress {checkTypes}\n */\nfunction $render(opt_data, opt_ijData, opt_ijData_deprecated) {\n opt_ijData = opt_ijData_deprecated || opt_ijData;\n var $$temp;\n opt_data = opt_data || {};\n /** @type {boolean|null|undefined} */\n var closeable = soy.asserts.assertType(opt_data.closeable == null || (goog.isBoolean(opt_data.closeable) || opt_data.closeable === 1 || opt_data.closeable === 0), 'closeable', opt_data.closeable, 'boolean|null|undefined');\n /** @type {*|null|undefined} */\n var handleCloseButtonClick_ = opt_data.handleCloseButtonClick_;\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var href = soy.asserts.assertType(opt_data.href == null || (goog.isString(opt_data.href) || opt_data.href instanceof goog.soy.data.SanitizedContent), 'href', opt_data.href, '!goog.soy.data.SanitizedContent|null|string|undefined');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n 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');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var label = soy.asserts.assertType(opt_data.label == null || (goog.isString(opt_data.label) || opt_data.label instanceof goog.soy.data.SanitizedContent), 'label', opt_data.label, '!goog.soy.data.SanitizedContent|null|string|undefined');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var size = soy.asserts.assertType(opt_data.size == null || (goog.isString(opt_data.size) || opt_data.size instanceof goog.soy.data.SanitizedContent), 'size', opt_data.size, '!goog.soy.data.SanitizedContent|null|string|undefined');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var spritemap = soy.asserts.assertType(opt_data.spritemap == null || (goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent), 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|null|string|undefined');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var style = soy.asserts.assertType(opt_data.style == null || (goog.isString(opt_data.style) || opt_data.style instanceof goog.soy.data.SanitizedContent), 'style', opt_data.style, '!goog.soy.data.SanitizedContent|null|string|undefined');\n var attributes__soy12 = function() {\n incrementalDom.attr('class', 'label label-' + (($$temp = style) == null ? 'secondary' : $$temp) + (closeable ? ' label-dismissible' : '') + (size ? ' label-' + size : ''));\n if (id) {\n incrementalDom.attr('id', id);\n }\n };\n incrementalDom.elementOpenStart('span');\n attributes__soy12();\n incrementalDom.elementOpenEnd();\n $content(opt_data, null, opt_ijData);\n incrementalDom.elementClose('span');\n}\nexports.render = $render;\n/**\n * @typedef {{\n * closeable: (boolean|null|undefined),\n * handleCloseButtonClick_: (*|null|undefined),\n * href: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * id: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * label: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * size: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * style: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * buttonStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),\n * elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * ariaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * target: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * download: (!goog.soy.data.SanitizedContent|null|string|undefined)\n * }}\n */\n$render.Params;\nif (goog.DEBUG) {\n $render.soyTemplateName = 'ClayLabel.render';\n}\n\n\n/**\n * @param {{\n * closeable: (boolean|null|undefined),\n * handleCloseButtonClick_: (*|null|undefined),\n * href: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * label: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * download: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * buttonStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),\n * style: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * id: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * ariaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * target: (!goog.soy.data.SanitizedContent|null|string|undefined)\n * }} opt_data\n * @param {Object<string, *>=} opt_ijData\n * @param {Object<string, *>=} opt_ijData_deprecated\n * @return {void}\n * @suppress {checkTypes}\n */\nfunction $content(opt_data, opt_ijData, opt_ijData_deprecated) {\n opt_ijData = opt_ijData_deprecated || opt_ijData;\n opt_data = opt_data || {};\n /** @type {boolean|null|undefined} */\n var closeable = soy.asserts.assertType(opt_data.closeable == null || (goog.isBoolean(opt_data.closeable) || opt_data.closeable === 1 || opt_data.closeable === 0), 'closeable', opt_data.closeable, 'boolean|null|undefined');\n /** @type {*|null|undefined} */\n var handleCloseButtonClick_ = opt_data.handleCloseButtonClick_;\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var href = soy.asserts.assertType(opt_data.href == null || (goog.isString(opt_data.href) || opt_data.href instanceof goog.soy.data.SanitizedContent), 'href', opt_data.href, '!goog.soy.data.SanitizedContent|null|string|undefined');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var label = soy.asserts.assertType(opt_data.label == null || (goog.isString(opt_data.label) || opt_data.label instanceof goog.soy.data.SanitizedContent), 'label', opt_data.label, '!goog.soy.data.SanitizedContent|null|string|undefined');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var spritemap = soy.asserts.assertType(opt_data.spritemap == null || (goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent), 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|null|string|undefined');\n if (href) {\n $templateAlias1(opt_data, null, opt_ijData);\n } else {\n soyIdom.print(label);\n }\n if (closeable && spritemap) {\n $templateAlias2({ariaLabel: 'Close', elementClasses: 'close', events: {click: handleCloseButtonClick_}, icon: {alignment: 'right', spritemap: spritemap, symbol: 'times'}, style: 'unstyled', type: 'button'}, null, opt_ijData);\n }\n}\nexports.content = $content;\n/**\n * @typedef {{\n * closeable: (boolean|null|undefined),\n * handleCloseButtonClick_: (*|null|undefined),\n * href: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * label: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * download: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * buttonStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),\n * style: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * id: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * ariaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * target: (!goog.soy.data.SanitizedContent|null|string|undefined)\n * }}\n */\n$content.Params;\nif (goog.DEBUG) {\n $content.soyTemplateName = 'ClayLabel.content';\n}\n\nexports.render.params = [\"closeable\",\"handleCloseButtonClick_\",\"href\",\"id\",\"label\",\"size\",\"spritemap\",\"style\"];\nexports.render.types = {\"closeable\":\"bool\",\"handleCloseButtonClick_\":\"any\",\"href\":\"string\",\"id\":\"string\",\"label\":\"string\",\"size\":\"string\",\"spritemap\":\"string\",\"style\":\"string\"};\nexports.content.params = [\"closeable\",\"handleCloseButtonClick_\",\"href\",\"label\",\"spritemap\"];\nexports.content.types = {\"closeable\":\"bool\",\"handleCloseButtonClick_\":\"any\",\"href\":\"string\",\"label\":\"string\",\"spritemap\":\"string\"};\ntemplates = exports;\nreturn exports;\n\n});\n\nclass ClayLabel extends Component {}\nSoy.register(ClayLabel, templates);\nexport { ClayLabel, templates };\nexport default templates;\n/* jshint ignore:end */\n"]}
{"version":3,"sources":["../src/ClayLabel.soy.js"],"names":["templates","goog","loadModule","exports","soy","require","soydata","module","incrementalDom","soyIdom","$templateAlias2","getTemplate","$templateAlias1","$render","opt_data","opt_ijData","opt_ijData_deprecated","$$temp","closeable","asserts","assertType","isBoolean","elementClasses","isString","data","SanitizedContent","handleCloseButtonClick_","href","id","label","size","spritemap","style","attributes__soy13","attr","elementOpenStart","elementOpenEnd","$content","elementClose","render","Params","DEBUG","soyTemplateName","print","ariaLabel","events","click","icon","alignment","symbol","type","content","params","types","ClayLabel","register"],"mappings":";;;;;;;AACA;;;;AACA;;;;;;;;;;+eAFA;;;AAIA,IAAIA,SAAJ;AACAC,KAAKC,UAA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B;AACA,UAOoBrD,SAPpB,eAAYG,OAAZ;AACA,SAAOA,OAAP;AAEC,CArLD;;IAuLMmD,S;;;;;;;;;;;;AACN,mBAAIC,QAAJ,CAAaD,SAAb,EAAwBtD,SAAxB;QACSsD,S,GAAAA,S;QAAWtD,S,GAAAA,S;kBACLA,S;AACf","file":"ClayLabel.soy.js","sourcesContent":["/* jshint ignore:start */\nimport Component from 'metal-component';\nimport Soy from 'metal-soy';\n\nvar templates;\ngoog.loadModule(function(exports) {\nvar soy = goog.require('soy');\nvar soydata = goog.require('soydata');\n// This file was automatically generated from ClayLabel.soy.\n// Please don't edit this file by hand.\n\n/**\n * @fileoverview Templates in namespace ClayLabel.\n * @public\n */\n\ngoog.module('ClayLabel.incrementaldom');\n\ngoog.require('goog.soy.data.SanitizedContent');\nvar incrementalDom = goog.require('incrementaldom');\ngoog.require('soy.asserts');\nvar soyIdom = goog.require('soy.idom');\n\nvar $templateAlias2 = Soy.getTemplate('ClayButton.incrementaldom', 'render');\n\nvar $templateAlias1 = Soy.getTemplate('ClayLink.incrementaldom', 'render');\n\n\n/**\n * @param {{\n * closeable: (boolean|null|undefined),\n * elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * handleCloseButtonClick_: (*|null|undefined),\n * href: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * id: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * label: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * size: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * style: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * buttonStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),\n * ariaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * target: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * download: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * ariaExpanded: (boolean|null|undefined)\n * }} opt_data\n * @param {Object<string, *>=} opt_ijData\n * @param {Object<string, *>=} opt_ijData_deprecated\n * @return {void}\n * @suppress {checkTypes}\n */\nfunction $render(opt_data, opt_ijData, opt_ijData_deprecated) {\n opt_ijData = opt_ijData_deprecated || opt_ijData;\n var $$temp;\n opt_data = opt_data || {};\n /** @type {boolean|null|undefined} */\n var closeable = soy.asserts.assertType(opt_data.closeable == null || (goog.isBoolean(opt_data.closeable) || opt_data.closeable === 1 || opt_data.closeable === 0), 'closeable', opt_data.closeable, 'boolean|null|undefined');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var elementClasses = soy.asserts.assertType(opt_data.elementClasses == null || (goog.isString(opt_data.elementClasses) || opt_data.elementClasses instanceof goog.soy.data.SanitizedContent), 'elementClasses', opt_data.elementClasses, '!goog.soy.data.SanitizedContent|null|string|undefined');\n /** @type {*|null|undefined} */\n var handleCloseButtonClick_ = opt_data.handleCloseButtonClick_;\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var href = soy.asserts.assertType(opt_data.href == null || (goog.isString(opt_data.href) || opt_data.href instanceof goog.soy.data.SanitizedContent), 'href', opt_data.href, '!goog.soy.data.SanitizedContent|null|string|undefined');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n 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');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var label = soy.asserts.assertType(opt_data.label == null || (goog.isString(opt_data.label) || opt_data.label instanceof goog.soy.data.SanitizedContent), 'label', opt_data.label, '!goog.soy.data.SanitizedContent|null|string|undefined');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var size = soy.asserts.assertType(opt_data.size == null || (goog.isString(opt_data.size) || opt_data.size instanceof goog.soy.data.SanitizedContent), 'size', opt_data.size, '!goog.soy.data.SanitizedContent|null|string|undefined');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var spritemap = soy.asserts.assertType(opt_data.spritemap == null || (goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent), 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|null|string|undefined');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var style = soy.asserts.assertType(opt_data.style == null || (goog.isString(opt_data.style) || opt_data.style instanceof goog.soy.data.SanitizedContent), 'style', opt_data.style, '!goog.soy.data.SanitizedContent|null|string|undefined');\n var attributes__soy13 = function() {\n incrementalDom.attr('class', 'label label-' + (($$temp = style) == null ? 'secondary' : $$temp) + (closeable ? ' label-dismissible' : '') + (elementClasses ? ' ' + elementClasses : '') + (size ? ' label-' + size : ''));\n if (id) {\n incrementalDom.attr('id', id);\n }\n };\n incrementalDom.elementOpenStart('span');\n attributes__soy13();\n incrementalDom.elementOpenEnd();\n $content(opt_data, null, opt_ijData);\n incrementalDom.elementClose('span');\n}\nexports.render = $render;\n/**\n * @typedef {{\n * closeable: (boolean|null|undefined),\n * elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * handleCloseButtonClick_: (*|null|undefined),\n * href: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * id: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * label: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * size: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * style: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * buttonStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),\n * ariaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * target: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * download: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * ariaExpanded: (boolean|null|undefined)\n * }}\n */\n$render.Params;\nif (goog.DEBUG) {\n $render.soyTemplateName = 'ClayLabel.render';\n}\n\n\n/**\n * @param {{\n * closeable: (boolean|null|undefined),\n * handleCloseButtonClick_: (*|null|undefined),\n * href: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * label: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * download: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * buttonStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * ariaExpanded: (boolean|null|undefined),\n * icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),\n * style: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * id: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * ariaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * target: (!goog.soy.data.SanitizedContent|null|string|undefined)\n * }} opt_data\n * @param {Object<string, *>=} opt_ijData\n * @param {Object<string, *>=} opt_ijData_deprecated\n * @return {void}\n * @suppress {checkTypes}\n */\nfunction $content(opt_data, opt_ijData, opt_ijData_deprecated) {\n opt_ijData = opt_ijData_deprecated || opt_ijData;\n opt_data = opt_data || {};\n /** @type {boolean|null|undefined} */\n var closeable = soy.asserts.assertType(opt_data.closeable == null || (goog.isBoolean(opt_data.closeable) || opt_data.closeable === 1 || opt_data.closeable === 0), 'closeable', opt_data.closeable, 'boolean|null|undefined');\n /** @type {*|null|undefined} */\n var handleCloseButtonClick_ = opt_data.handleCloseButtonClick_;\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var href = soy.asserts.assertType(opt_data.href == null || (goog.isString(opt_data.href) || opt_data.href instanceof goog.soy.data.SanitizedContent), 'href', opt_data.href, '!goog.soy.data.SanitizedContent|null|string|undefined');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var label = soy.asserts.assertType(opt_data.label == null || (goog.isString(opt_data.label) || opt_data.label instanceof goog.soy.data.SanitizedContent), 'label', opt_data.label, '!goog.soy.data.SanitizedContent|null|string|undefined');\n /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */\n var spritemap = soy.asserts.assertType(opt_data.spritemap == null || (goog.isString(opt_data.spritemap) || opt_data.spritemap instanceof goog.soy.data.SanitizedContent), 'spritemap', opt_data.spritemap, '!goog.soy.data.SanitizedContent|null|string|undefined');\n if (href) {\n $templateAlias1(opt_data, null, opt_ijData);\n } else {\n soyIdom.print(label);\n }\n if (closeable && spritemap) {\n $templateAlias2({ariaLabel: 'Close', elementClasses: 'close', events: {click: handleCloseButtonClick_}, icon: {alignment: 'right', spritemap: spritemap, symbol: 'times'}, style: 'unstyled', type: 'button'}, null, opt_ijData);\n }\n}\nexports.content = $content;\n/**\n * @typedef {{\n * closeable: (boolean|null|undefined),\n * handleCloseButtonClick_: (*|null|undefined),\n * href: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * label: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * download: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * buttonStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * ariaExpanded: (boolean|null|undefined),\n * icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),\n * style: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * id: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * ariaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),\n * target: (!goog.soy.data.SanitizedContent|null|string|undefined)\n * }}\n */\n$content.Params;\nif (goog.DEBUG) {\n $content.soyTemplateName = 'ClayLabel.content';\n}\n\nexports.render.params = [\"closeable\",\"elementClasses\",\"handleCloseButtonClick_\",\"href\",\"id\",\"label\",\"size\",\"spritemap\",\"style\"];\nexports.render.types = {\"closeable\":\"bool\",\"elementClasses\":\"string\",\"handleCloseButtonClick_\":\"any\",\"href\":\"string\",\"id\":\"string\",\"label\":\"string\",\"size\":\"string\",\"spritemap\":\"string\",\"style\":\"string\"};\nexports.content.params = [\"closeable\",\"handleCloseButtonClick_\",\"href\",\"label\",\"spritemap\"];\nexports.content.types = {\"closeable\":\"bool\",\"handleCloseButtonClick_\":\"any\",\"href\":\"string\",\"label\":\"string\",\"spritemap\":\"string\"};\ntemplates = exports;\nreturn exports;\n\n});\n\nclass ClayLabel extends Component {}\nSoy.register(ClayLabel, templates);\nexport { ClayLabel, templates };\nexport default templates;\n/* jshint ignore:end */\n"]}
{
"name": "clay-label",
"version": "1.0.0-alpha.4",
"version": "1.0.0-alpha.5",
"description": "Metal Clay Label component",

@@ -30,4 +30,4 @@ "license": "BSD",

"dependencies": {
"clay-button": "^1.0.0-alpha.4",
"clay-link": "^1.0.0-alpha.4",
"clay-button": "^1.0.0-alpha.5",
"clay-link": "^1.0.0-alpha.5",
"metal": "^2.14.0",

@@ -46,3 +46,3 @@ "metal-component": "^2.14.0",

"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",

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

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

it('shound generate the default markup', () => {
it('should render the default markup', () => {
label = new ClayLabel();

@@ -21,5 +21,5 @@

it('shound render a label with label', () => {
it('should render a label with classes', () => {
label = new ClayLabel({
label: 'Foo',
elementClasses: 'my-custom-class',
});

@@ -30,5 +30,5 @@

it('shound render a label with id', () => {
it('should render a label with id', () => {
label = new ClayLabel({
id: 'Foo',
id: 'myId',
});

@@ -39,4 +39,12 @@

it('shound render a large label', () => {
it('should render a label with label', () => {
label = new ClayLabel({
label: 'Foo',
});
expect(label).toMatchSnapshot();
});
it('should render a large label', () => {
label = new ClayLabel({
size: 'lg',

@@ -48,3 +56,3 @@ });

it('shound render a label with removable', () => {
it('should render a label with removable', () => {
label = new ClayLabel({

@@ -59,3 +67,3 @@ label: 'Foo',

it('shound render a label with link', () => {
it('should render a label with link', () => {
label = new ClayLabel({

@@ -69,3 +77,3 @@ label: 'Foo',

it('shound render a `default color` label', () => {
it('should render a `default color` label', () => {
label = new ClayLabel({

@@ -78,3 +86,3 @@ style: 'secondary',

it('shound render a `info color` label', () => {
it('should render a `info color` label', () => {
label = new ClayLabel({

@@ -87,3 +95,3 @@ style: 'info',

it('shound render a `warning color` label', () => {
it('should render a `warning color` label', () => {
label = new ClayLabel({

@@ -96,3 +104,3 @@ style: 'warning',

it('shound render a `danger color` label', () => {
it('should render a `danger color` label', () => {
label = new ClayLabel({

@@ -105,3 +113,3 @@ style: 'danger',

it('shound render a `success color` label', () => {
it('should render a `success color` label', () => {
label = new ClayLabel({

@@ -108,0 +116,0 @@ style: 'success',

@@ -39,2 +39,11 @@ import 'clay-button';

/**
* CSS classes to be applied to the element.
* @instance
* @memberof ClayLabel
* @type {?string|undefined}
* @default undefined
*/
elementClasses: Config.string(),
/**
* HREF in label.

@@ -41,0 +50,0 @@ * @instance

@@ -32,2 +32,3 @@ /* jshint ignore:start */

* closeable: (boolean|null|undefined),
* elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
* handleCloseButtonClick_: (*|null|undefined),

@@ -42,6 +43,6 @@ * href: (!goog.soy.data.SanitizedContent|null|string|undefined),

* icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),
* elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
* ariaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),
* target: (!goog.soy.data.SanitizedContent|null|string|undefined),
* download: (!goog.soy.data.SanitizedContent|null|string|undefined)
* download: (!goog.soy.data.SanitizedContent|null|string|undefined),
* ariaExpanded: (boolean|null|undefined)
* }} opt_data

@@ -59,2 +60,4 @@ * @param {Object<string, *>=} opt_ijData

var closeable = soy.asserts.assertType(opt_data.closeable == null || (goog.isBoolean(opt_data.closeable) || opt_data.closeable === 1 || opt_data.closeable === 0), 'closeable', opt_data.closeable, 'boolean|null|undefined');
/** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
var elementClasses = soy.asserts.assertType(opt_data.elementClasses == null || (goog.isString(opt_data.elementClasses) || opt_data.elementClasses instanceof goog.soy.data.SanitizedContent), 'elementClasses', opt_data.elementClasses, '!goog.soy.data.SanitizedContent|null|string|undefined');
/** @type {*|null|undefined} */

@@ -74,4 +77,4 @@ var handleCloseButtonClick_ = opt_data.handleCloseButtonClick_;

var style = soy.asserts.assertType(opt_data.style == null || (goog.isString(opt_data.style) || opt_data.style instanceof goog.soy.data.SanitizedContent), 'style', opt_data.style, '!goog.soy.data.SanitizedContent|null|string|undefined');
var attributes__soy12 = function() {
incrementalDom.attr('class', 'label label-' + (($$temp = style) == null ? 'secondary' : $$temp) + (closeable ? ' label-dismissible' : '') + (size ? ' label-' + size : ''));
var attributes__soy13 = function() {
incrementalDom.attr('class', 'label label-' + (($$temp = style) == null ? 'secondary' : $$temp) + (closeable ? ' label-dismissible' : '') + (elementClasses ? ' ' + elementClasses : '') + (size ? ' label-' + size : ''));
if (id) {

@@ -82,3 +85,3 @@ incrementalDom.attr('id', id);

incrementalDom.elementOpenStart('span');
attributes__soy12();
attributes__soy13();
incrementalDom.elementOpenEnd();

@@ -92,2 +95,3 @@ $content(opt_data, null, opt_ijData);

* closeable: (boolean|null|undefined),
* elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
* handleCloseButtonClick_: (*|null|undefined),

@@ -102,6 +106,6 @@ * href: (!goog.soy.data.SanitizedContent|null|string|undefined),

* icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),
* elementClasses: (!goog.soy.data.SanitizedContent|null|string|undefined),
* ariaLabel: (!goog.soy.data.SanitizedContent|null|string|undefined),
* target: (!goog.soy.data.SanitizedContent|null|string|undefined),
* download: (!goog.soy.data.SanitizedContent|null|string|undefined)
* download: (!goog.soy.data.SanitizedContent|null|string|undefined),
* ariaExpanded: (boolean|null|undefined)
* }}

@@ -124,2 +128,3 @@ */

* buttonStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),
* ariaExpanded: (boolean|null|undefined),
* icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),

@@ -169,2 +174,3 @@ * style: (!goog.soy.data.SanitizedContent|null|string|undefined),

* buttonStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),
* ariaExpanded: (boolean|null|undefined),
* icon: (null|undefined|{alignment: (!goog.soy.data.SanitizedContent|string), spritemap: (!goog.soy.data.SanitizedContent|string), symbol: (!goog.soy.data.SanitizedContent|string)}),

@@ -183,4 +189,4 @@ * style: (!goog.soy.data.SanitizedContent|null|string|undefined),

exports.render.params = ["closeable","handleCloseButtonClick_","href","id","label","size","spritemap","style"];
exports.render.types = {"closeable":"bool","handleCloseButtonClick_":"any","href":"string","id":"string","label":"string","size":"string","spritemap":"string","style":"string"};
exports.render.params = ["closeable","elementClasses","handleCloseButtonClick_","href","id","label","size","spritemap","style"];
exports.render.types = {"closeable":"bool","elementClasses":"string","handleCloseButtonClick_":"any","href":"string","id":"string","label":"string","size":"string","spritemap":"string","style":"string"};
exports.content.params = ["closeable","handleCloseButtonClick_","href","label","spritemap"];

@@ -187,0 +193,0 @@ exports.content.types = {"closeable":"bool","handleCloseButtonClick_":"any","href":"string","label":"string","spritemap":"string"};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet