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

clay-card

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clay-card - npm Package Compare versions

Comparing version 1.0.0-alpha.6 to 1.0.0-alpha.7

34

lib/ClayUserCard.soy.js

@@ -145,4 +145,3 @@ 'use strict';

* actionItems: (!Array<{label: (!goog.soy.data.SanitizedContent|string), separator: boolean, url: (!goog.soy.data.SanitizedContent|string)}>|null|undefined),
* label: (!goog.soy.data.SanitizedContent|null|string|undefined),
* labelStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),
* labels: (!Array<{label: (!goog.soy.data.SanitizedContent|string), style: (!goog.soy.data.SanitizedContent|string)}>|null|undefined),
* spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),

@@ -163,7 +162,5 @@ * subtitle: (!goog.soy.data.SanitizedContent|null|string|undefined),

var actionItems = soy.asserts.assertType(opt_data.actionItems == null || goog.isArray(opt_data.actionItems), 'actionItems', opt_data.actionItems, '!Array<{label: (!goog.soy.data.SanitizedContent|string), separator: boolean, url: (!goog.soy.data.SanitizedContent|string)}>|null|undefined');
/** @type {!Array<{label: (!goog.soy.data.SanitizedContent|string), style: (!goog.soy.data.SanitizedContent|string)}>|null|undefined} */
var labels = soy.asserts.assertType(opt_data.labels == null || goog.isArray(opt_data.labels), 'labels', opt_data.labels, '!Array<{label: (!goog.soy.data.SanitizedContent|string), style: (!goog.soy.data.SanitizedContent|string)}>|null|undefined');
/** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
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');
/** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
var labelStyle = soy.asserts.assertType(opt_data.labelStyle == null || goog.isString(opt_data.labelStyle) || opt_data.labelStyle instanceof goog.soy.data.SanitizedContent, 'labelStyle', opt_data.labelStyle, '!goog.soy.data.SanitizedContent|null|string|undefined');
/** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
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');

@@ -217,4 +214,3 @@ /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */

* actionItems: (!Array<{label: (!goog.soy.data.SanitizedContent|string), separator: boolean, url: (!goog.soy.data.SanitizedContent|string)}>|null|undefined),
* label: (!goog.soy.data.SanitizedContent|null|string|undefined),
* labelStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),
* labels: (!Array<{label: (!goog.soy.data.SanitizedContent|string), style: (!goog.soy.data.SanitizedContent|string)}>|null|undefined),
* spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),

@@ -245,3 +241,3 @@ * subtitle: (!goog.soy.data.SanitizedContent|null|string|undefined),

*/
function __deltemplate_s683_18b495b5(opt_data, opt_ijData, opt_ijData_deprecated) {
function __deltemplate_s682_18b495b5(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;

@@ -262,4 +258,4 @@ var $$temp;

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');
var classesAspectRatio__soy691 = '';
classesAspectRatio__soy691 += 'aspect-ratio-item-center-middle aspect-ratio-item-fluid';
var classesAspectRatio__soy690 = '';
classesAspectRatio__soy690 += 'aspect-ratio-item-center-middle aspect-ratio-item-fluid';
incrementalDom.elementOpenStart('div');

@@ -271,5 +267,5 @@ incrementalDom.attr('class', 'aspect-ratio card-item-first');

incrementalDom.elementOpenEnd();
var param695 = function param695() {
var param694 = function param694() {
if (imageSrc) {
var imageAttributes__soy700 = function imageAttributes__soy700() {
var imageAttributes__soy699 = function imageAttributes__soy699() {
incrementalDom.attr('alt', imageAlt ? imageAlt : '');

@@ -280,3 +276,3 @@ incrementalDom.attr('class', 'img-fluid');

incrementalDom.elementOpenStart('img');
imageAttributes__soy700();
imageAttributes__soy699();
incrementalDom.elementOpenEnd();

@@ -288,7 +284,7 @@ incrementalDom.elementClose('img');

};
$templateAlias4({ label: param695, shape: 'circle', size: 'xl', style: ($$temp = fileTypeStyle) == null ? 'primary' : $$temp }, null, opt_ijData);
$templateAlias4({ label: param694, shape: 'circle', size: 'xl', style: ($$temp = fileTypeStyle) == null ? 'primary' : $$temp }, null, opt_ijData);
incrementalDom.elementClose('div');
incrementalDom.elementClose('div');
}
exports.__deltemplate_s683_18b495b5 = __deltemplate_s683_18b495b5;
exports.__deltemplate_s682_18b495b5 = __deltemplate_s682_18b495b5;
/**

@@ -304,7 +300,7 @@ * @typedef {{

*/
__deltemplate_s683_18b495b5.Params;
__deltemplate_s682_18b495b5.Params;
if (goog.DEBUG) {
__deltemplate_s683_18b495b5.soyTemplateName = 'ClayUserCard.__deltemplate_s683_18b495b5';
__deltemplate_s682_18b495b5.soyTemplateName = 'ClayUserCard.__deltemplate_s682_18b495b5';
}
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayCard.VisualArea.idom'), 'user', 0, __deltemplate_s683_18b495b5);
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayCard.VisualArea.idom'), 'user', 0, __deltemplate_s682_18b495b5);

@@ -311,0 +307,0 @@ exports.render.params = ["name", "actionItems", "disabled", "elementClasses", "id", "imageAlt", "imageSrc", "initials", "inputName", "inputValue", "selectable", "selected", "spritemap", "subtitle", "url", "userColor"];

{
"name": "clay-card",
"version": "1.0.0-alpha.6",
"version": "1.0.0-alpha.7",
"description": "Metal ClayCard component",

@@ -5,0 +5,0 @@ "license": "BSD",

@@ -127,4 +127,3 @@ /* jshint ignore:start */

* actionItems: (!Array<{label: (!goog.soy.data.SanitizedContent|string), separator: boolean, url: (!goog.soy.data.SanitizedContent|string)}>|null|undefined),
* label: (!goog.soy.data.SanitizedContent|null|string|undefined),
* labelStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),
* labels: (!Array<{label: (!goog.soy.data.SanitizedContent|string), style: (!goog.soy.data.SanitizedContent|string)}>|null|undefined),
* spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),

@@ -145,7 +144,5 @@ * subtitle: (!goog.soy.data.SanitizedContent|null|string|undefined),

var actionItems = soy.asserts.assertType(opt_data.actionItems == null || goog.isArray(opt_data.actionItems), 'actionItems', opt_data.actionItems, '!Array<{label: (!goog.soy.data.SanitizedContent|string), separator: boolean, url: (!goog.soy.data.SanitizedContent|string)}>|null|undefined');
/** @type {!Array<{label: (!goog.soy.data.SanitizedContent|string), style: (!goog.soy.data.SanitizedContent|string)}>|null|undefined} */
var labels = soy.asserts.assertType(opt_data.labels == null || goog.isArray(opt_data.labels), 'labels', opt_data.labels, '!Array<{label: (!goog.soy.data.SanitizedContent|string), style: (!goog.soy.data.SanitizedContent|string)}>|null|undefined');
/** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
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');
/** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
var labelStyle = soy.asserts.assertType(opt_data.labelStyle == null || (goog.isString(opt_data.labelStyle) || opt_data.labelStyle instanceof goog.soy.data.SanitizedContent), 'labelStyle', opt_data.labelStyle, '!goog.soy.data.SanitizedContent|null|string|undefined');
/** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */
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');

@@ -199,4 +196,3 @@ /** @type {!goog.soy.data.SanitizedContent|null|string|undefined} */

* actionItems: (!Array<{label: (!goog.soy.data.SanitizedContent|string), separator: boolean, url: (!goog.soy.data.SanitizedContent|string)}>|null|undefined),
* label: (!goog.soy.data.SanitizedContent|null|string|undefined),
* labelStyle: (!goog.soy.data.SanitizedContent|null|string|undefined),
* labels: (!Array<{label: (!goog.soy.data.SanitizedContent|string), style: (!goog.soy.data.SanitizedContent|string)}>|null|undefined),
* spritemap: (!goog.soy.data.SanitizedContent|null|string|undefined),

@@ -228,3 +224,3 @@ * subtitle: (!goog.soy.data.SanitizedContent|null|string|undefined),

*/
function __deltemplate_s683_18b495b5(opt_data, opt_ijData, opt_ijData_deprecated) {
function __deltemplate_s682_18b495b5(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;

@@ -245,4 +241,4 @@ var $$temp;

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');
var classesAspectRatio__soy691 = '';
classesAspectRatio__soy691 += 'aspect-ratio-item-center-middle aspect-ratio-item-fluid';
var classesAspectRatio__soy690 = '';
classesAspectRatio__soy690 += 'aspect-ratio-item-center-middle aspect-ratio-item-fluid';
incrementalDom.elementOpenStart('div');

@@ -254,5 +250,5 @@ incrementalDom.attr('class', 'aspect-ratio card-item-first');

incrementalDom.elementOpenEnd();
var param695 = function() {
var param694 = function() {
if (imageSrc) {
var imageAttributes__soy700 = function() {
var imageAttributes__soy699 = function() {
incrementalDom.attr('alt', imageAlt ? imageAlt : '');

@@ -263,3 +259,3 @@ incrementalDom.attr('class', 'img-fluid');

incrementalDom.elementOpenStart('img');
imageAttributes__soy700();
imageAttributes__soy699();
incrementalDom.elementOpenEnd();

@@ -271,7 +267,7 @@ incrementalDom.elementClose('img');

};
$templateAlias4({label: param695, shape: 'circle', size: 'xl', style: ($$temp = fileTypeStyle) == null ? 'primary' : $$temp}, null, opt_ijData);
$templateAlias4({label: param694, shape: 'circle', size: 'xl', style: ($$temp = fileTypeStyle) == null ? 'primary' : $$temp}, null, opt_ijData);
incrementalDom.elementClose('div');
incrementalDom.elementClose('div');
}
exports.__deltemplate_s683_18b495b5 = __deltemplate_s683_18b495b5;
exports.__deltemplate_s682_18b495b5 = __deltemplate_s682_18b495b5;
/**

@@ -287,7 +283,7 @@ * @typedef {{

*/
__deltemplate_s683_18b495b5.Params;
__deltemplate_s682_18b495b5.Params;
if (goog.DEBUG) {
__deltemplate_s683_18b495b5.soyTemplateName = 'ClayUserCard.__deltemplate_s683_18b495b5';
__deltemplate_s682_18b495b5.soyTemplateName = 'ClayUserCard.__deltemplate_s682_18b495b5';
}
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayCard.VisualArea.idom'), 'user', 0, __deltemplate_s683_18b495b5);
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ClayCard.VisualArea.idom'), 'user', 0, __deltemplate_s682_18b495b5);

@@ -294,0 +290,0 @@ exports.render.params = ["name","actionItems","disabled","elementClasses","id","imageAlt","imageSrc","initials","inputName","inputValue","selectable","selected","spritemap","subtitle","url","userColor"];

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