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

clay-card

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

6

lib/ClayCardBase.soy.js

@@ -314,10 +314,10 @@ 'use strict';

if (actionItems && spritemap) {
var msg_3789__soy3790 = '';
var msg_3798__soy3799 = '';
/** @desc */
var MSG_EXTERNAL_6305962755687847469 = goog.getMsg('actions');
msg_3789__soy3790 += MSG_EXTERNAL_6305962755687847469;
msg_3798__soy3799 += MSG_EXTERNAL_6305962755687847469;
incrementalDom.elementOpenStart('div');
incrementalDom.attr('class', 'autofit-col');
incrementalDom.elementOpenEnd();
$templateAlias4({ events: { itemClicked: _handleActionItemClicked }, items: actionItems, spritemap: spritemap, triggerAriaLabel: actionAriaLabel, triggerClasses: 'component-action', triggerTitle: title + ' ' + msg_3789__soy3790 }, null, opt_ijData);
$templateAlias4({ events: { itemClicked: _handleActionItemClicked }, items: actionItems, spritemap: spritemap, triggerAriaLabel: actionAriaLabel, triggerClasses: 'component-action', triggerTitle: title + ' ' + msg_3798__soy3799 }, null, opt_ijData);
incrementalDom.elementClose('div');

@@ -324,0 +324,0 @@ }

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

incrementalDom.elementOpenStart('div');
incrementalDom.attr('class', 'aspect-ratio-item-center-middle aspect-ratio-item-fluid card-type-asset-icon');
incrementalDom.attr('class', 'aspect-ratio-item aspect-ratio-item-center-middle aspect-ratio-item-fluid card-type-asset-icon');
incrementalDom.elementOpenEnd();

@@ -228,0 +228,0 @@ $templateAlias2({ spritemap: spritemap, symbol: icon }, null, opt_ijData);

@@ -215,10 +215,10 @@ 'use strict';

if (actionItems) {
var msg_3792__soy3793 = '';
var msg_3801__soy3802 = '';
/** @desc */
var MSG_EXTERNAL_6305962755687847469 = goog.getMsg('actions');
msg_3792__soy3793 += MSG_EXTERNAL_6305962755687847469;
msg_3801__soy3802 += MSG_EXTERNAL_6305962755687847469;
incrementalDom.elementOpenStart('div');
incrementalDom.attr('class', 'autofit-col');
incrementalDom.elementOpenEnd();
$templateAlias4({ events: { itemClicked: _handleActionItemClicked }, items: actionItems, spritemap: spritemap, triggerAriaLabel: actionAriaLabel, triggerClasses: 'component-action', triggerTitle: title + ' ' + msg_3792__soy3793 }, null, opt_ijData);
$templateAlias4({ events: { itemClicked: _handleActionItemClicked }, items: actionItems, spritemap: spritemap, triggerAriaLabel: actionAriaLabel, triggerClasses: 'component-action', triggerTitle: title + ' ' + msg_3801__soy3802 }, null, opt_ijData);
incrementalDom.elementClose('div');

@@ -225,0 +225,0 @@ }

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

var aspectRatioClasses__soy676 = '';
aspectRatioClasses__soy676 += 'aspect-ratio-item-center-middle aspect-ratio-item-fluid';
aspectRatioClasses__soy676 += 'aspect-ratio-item aspect-ratio-item-center-middle aspect-ratio-item-fluid';
aspectRatioClasses__soy676 += !imageSrc && icon && spritemap ? ' card-type-asset-icon' : '';

@@ -278,3 +278,3 @@ if (imageSrc) {

exports.render.params = ["title", "_handleActionItemClicked", "_handleItemToggled", "actionAriaLabel", "actionItems", "disabled", "elementClasses", "href", "icon", "id", "imageAlt", "imageSrc", "inputName", "inputValue", "labels", "labelStylesMap", "selectable", "selected", "spritemap", "stickerClasses", "stickerIcon", "stickerImageAlt", "stickerImageSrc", "stickerLabel", "stickerShape", "stickerStyle", "subtitle"];
exports.render.types = { "title": "string", "_handleActionItemClicked": "any", "_handleItemToggled": "any", "actionAriaLabel": "string", "actionItems": "list<[\n href: string,\n label: string,\n separator: bool\n ]>", "disabled": "bool", "elementClasses": "string", "href": "string", "icon": "string", "id": "string", "imageAlt": "string", "imageSrc": "string", "inputName": "string", "inputValue": "string", "labels": "list<?>", "labelStylesMap": "?", "selectable": "bool", "selected": "bool", "spritemap": "string", "stickerClasses": "string", "stickerIcon": "string", "stickerImageAlt": "string", "stickerImageSrc": "string", "stickerLabel": "string", "stickerShape": "string", "stickerStyle": "string", "subtitle": "string" };
exports.render.types = { "title": "string", "_handleActionItemClicked": "any", "_handleItemToggled": "any", "actionAriaLabel": "string", "actionItems": "list<[\n\t\thref: string,\n\t\tlabel: string,\n\t\tseparator: bool\n\t]>", "disabled": "bool", "elementClasses": "string", "href": "string", "icon": "string", "id": "string", "imageAlt": "string", "imageSrc": "string", "inputName": "string", "inputValue": "string", "labels": "list<?>", "labelStylesMap": "?", "selectable": "bool", "selected": "bool", "spritemap": "string", "stickerClasses": "string", "stickerIcon": "string", "stickerImageAlt": "string", "stickerImageSrc": "string", "stickerLabel": "string", "stickerShape": "string", "stickerStyle": "string", "subtitle": "string" };
exports.templates = templates = exports;

@@ -281,0 +281,0 @@ return exports;

@@ -220,10 +220,10 @@ 'use strict';

if (actionItems && spritemap) {
var msg_3795__soy3796 = '';
var msg_3804__soy3805 = '';
/** @desc */
var MSG_EXTERNAL_6305962755687847469 = goog.getMsg('actions');
msg_3795__soy3796 += MSG_EXTERNAL_6305962755687847469;
msg_3804__soy3805 += MSG_EXTERNAL_6305962755687847469;
incrementalDom.elementOpenStart('div');
incrementalDom.attr('class', 'autofit-col');
incrementalDom.elementOpenEnd();
$templateAlias3({ events: { itemClicked: _handleActionItemClicked }, items: actionItems, spritemap: spritemap, triggerAriaLabel: actionAriaLabel, triggerClasses: 'component-action', triggerTitle: title + ' ' + msg_3795__soy3796 }, null, opt_ijData);
$templateAlias3({ events: { itemClicked: _handleActionItemClicked }, items: actionItems, spritemap: spritemap, triggerAriaLabel: actionAriaLabel, triggerClasses: 'component-action', triggerTitle: title + ' ' + msg_3804__soy3805 }, null, opt_ijData);
incrementalDom.elementClose('div');

@@ -300,3 +300,3 @@ }

incrementalDom.elementOpenStart('div');
incrementalDom.attr('class', 'aspect-ratio-item-center-middle aspect-ratio-item-fluid card-type-asset-icon');
incrementalDom.attr('class', 'aspect-ratio-item aspect-ratio-item-center-middle aspect-ratio-item-fluid card-type-asset-icon');
incrementalDom.elementOpenEnd();

@@ -303,0 +303,0 @@ $templateAlias4({ elementClasses: 'sticker-user-icon', icon: ($$temp = icon) == null ? !imageSrc ? 'user' : null : $$temp, imageAlt: imageAlt, imageSrc: imageSrc, shape: 'circle', spritemap: spritemap, style: stickerStyle }, null, opt_ijData);

{
"name": "clay-card",
"version": "2.14.0",
"version": "2.14.2",
"description": "Metal ClayCard component",

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

"dependencies": {
"clay-checkbox": "^2.14.0",
"clay-component": "^2.14.0",
"clay-dropdown": "^2.14.0",
"clay-icon": "^2.14.0",
"clay-label": "^2.14.0",
"clay-link": "^2.14.0",
"clay-sticker": "^2.14.0",
"clay-checkbox": "^2.14.2",
"clay-component": "^2.14.2",
"clay-dropdown": "^2.14.2",
"clay-icon": "^2.14.2",
"clay-label": "^2.14.2",
"clay-link": "^2.14.2",
"clay-sticker": "^2.14.2",
"metal": "^2.16.0",

@@ -51,8 +51,8 @@ "metal-component": "^2.16.0",

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

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

],
"gitHead": "cc93f63941787d174b5871282dc36ccf15ee85f5"
"gitHead": "d52066086b2469d8c4e4976c7019dbe9cfcbc7ea"
}

@@ -296,10 +296,10 @@ /* jshint ignore:start */

if (actionItems && spritemap) {
var msg_3789__soy3790 = '';
var msg_3798__soy3799 = '';
/** @desc */
var MSG_EXTERNAL_6305962755687847469 = goog.getMsg('actions');
msg_3789__soy3790 += MSG_EXTERNAL_6305962755687847469;
msg_3798__soy3799 += MSG_EXTERNAL_6305962755687847469;
incrementalDom.elementOpenStart('div');
incrementalDom.attr('class', 'autofit-col');
incrementalDom.elementOpenEnd();
$templateAlias4({events: {itemClicked: _handleActionItemClicked}, items: actionItems, spritemap: spritemap, triggerAriaLabel: actionAriaLabel, triggerClasses: 'component-action', triggerTitle: title + ' ' + msg_3789__soy3790}, null, opt_ijData);
$templateAlias4({events: {itemClicked: _handleActionItemClicked}, items: actionItems, spritemap: spritemap, triggerAriaLabel: actionAriaLabel, triggerClasses: 'component-action', triggerTitle: title + ' ' + msg_3798__soy3799}, null, opt_ijData);
incrementalDom.elementClose('div');

@@ -306,0 +306,0 @@ }

@@ -207,3 +207,3 @@ /* jshint ignore:start */

incrementalDom.elementOpenStart('div');
incrementalDom.attr('class', 'aspect-ratio-item-center-middle aspect-ratio-item-fluid card-type-asset-icon');
incrementalDom.attr('class', 'aspect-ratio-item aspect-ratio-item-center-middle aspect-ratio-item-fluid card-type-asset-icon');
incrementalDom.elementOpenEnd();

@@ -210,0 +210,0 @@ $templateAlias2({spritemap: spritemap, symbol: icon}, null, opt_ijData);

@@ -197,10 +197,10 @@ /* jshint ignore:start */

if (actionItems) {
var msg_3792__soy3793 = '';
var msg_3801__soy3802 = '';
/** @desc */
var MSG_EXTERNAL_6305962755687847469 = goog.getMsg('actions');
msg_3792__soy3793 += MSG_EXTERNAL_6305962755687847469;
msg_3801__soy3802 += MSG_EXTERNAL_6305962755687847469;
incrementalDom.elementOpenStart('div');
incrementalDom.attr('class', 'autofit-col');
incrementalDom.elementOpenEnd();
$templateAlias4({events: {itemClicked: _handleActionItemClicked}, items: actionItems, spritemap: spritemap, triggerAriaLabel: actionAriaLabel, triggerClasses: 'component-action', triggerTitle: title + ' ' + msg_3792__soy3793}, null, opt_ijData);
$templateAlias4({events: {itemClicked: _handleActionItemClicked}, items: actionItems, spritemap: spritemap, triggerAriaLabel: actionAriaLabel, triggerClasses: 'component-action', triggerTitle: title + ' ' + msg_3801__soy3802}, null, opt_ijData);
incrementalDom.elementClose('div');

@@ -207,0 +207,0 @@ }

@@ -213,3 +213,3 @@ /* jshint ignore:start */

var aspectRatioClasses__soy676 = '';
aspectRatioClasses__soy676 += 'aspect-ratio-item-center-middle aspect-ratio-item-fluid';
aspectRatioClasses__soy676 += 'aspect-ratio-item aspect-ratio-item-center-middle aspect-ratio-item-fluid';
aspectRatioClasses__soy676 += !imageSrc && icon && spritemap ? ' card-type-asset-icon' : '';

@@ -260,3 +260,3 @@ if (imageSrc) {

exports.render.params = ["title","_handleActionItemClicked","_handleItemToggled","actionAriaLabel","actionItems","disabled","elementClasses","href","icon","id","imageAlt","imageSrc","inputName","inputValue","labels","labelStylesMap","selectable","selected","spritemap","stickerClasses","stickerIcon","stickerImageAlt","stickerImageSrc","stickerLabel","stickerShape","stickerStyle","subtitle"];
exports.render.types = {"title":"string","_handleActionItemClicked":"any","_handleItemToggled":"any","actionAriaLabel":"string","actionItems":"list<[\n href: string,\n label: string,\n separator: bool\n ]>","disabled":"bool","elementClasses":"string","href":"string","icon":"string","id":"string","imageAlt":"string","imageSrc":"string","inputName":"string","inputValue":"string","labels":"list<?>","labelStylesMap":"?","selectable":"bool","selected":"bool","spritemap":"string","stickerClasses":"string","stickerIcon":"string","stickerImageAlt":"string","stickerImageSrc":"string","stickerLabel":"string","stickerShape":"string","stickerStyle":"string","subtitle":"string"};
exports.render.types = {"title":"string","_handleActionItemClicked":"any","_handleItemToggled":"any","actionAriaLabel":"string","actionItems":"list<[\n\t\thref: string,\n\t\tlabel: string,\n\t\tseparator: bool\n\t]>","disabled":"bool","elementClasses":"string","href":"string","icon":"string","id":"string","imageAlt":"string","imageSrc":"string","inputName":"string","inputValue":"string","labels":"list<?>","labelStylesMap":"?","selectable":"bool","selected":"bool","spritemap":"string","stickerClasses":"string","stickerIcon":"string","stickerImageAlt":"string","stickerImageSrc":"string","stickerLabel":"string","stickerShape":"string","stickerStyle":"string","subtitle":"string"};
templates = exports;

@@ -263,0 +263,0 @@ return exports;

@@ -202,10 +202,10 @@ /* jshint ignore:start */

if (actionItems && spritemap) {
var msg_3795__soy3796 = '';
var msg_3804__soy3805 = '';
/** @desc */
var MSG_EXTERNAL_6305962755687847469 = goog.getMsg('actions');
msg_3795__soy3796 += MSG_EXTERNAL_6305962755687847469;
msg_3804__soy3805 += MSG_EXTERNAL_6305962755687847469;
incrementalDom.elementOpenStart('div');
incrementalDom.attr('class', 'autofit-col');
incrementalDom.elementOpenEnd();
$templateAlias3({events: {itemClicked: _handleActionItemClicked}, items: actionItems, spritemap: spritemap, triggerAriaLabel: actionAriaLabel, triggerClasses: 'component-action', triggerTitle: title + ' ' + msg_3795__soy3796}, null, opt_ijData);
$templateAlias3({events: {itemClicked: _handleActionItemClicked}, items: actionItems, spritemap: spritemap, triggerAriaLabel: actionAriaLabel, triggerClasses: 'component-action', triggerTitle: title + ' ' + msg_3804__soy3805}, null, opt_ijData);
incrementalDom.elementClose('div');

@@ -283,3 +283,3 @@ }

incrementalDom.elementOpenStart('div');
incrementalDom.attr('class', 'aspect-ratio-item-center-middle aspect-ratio-item-fluid card-type-asset-icon');
incrementalDom.attr('class', 'aspect-ratio-item aspect-ratio-item-center-middle aspect-ratio-item-fluid card-type-asset-icon');
incrementalDom.elementOpenEnd();

@@ -286,0 +286,0 @@ $templateAlias4({elementClasses: 'sticker-user-icon', icon: ($$temp = icon) == null ? (!imageSrc ? 'user' : null) : $$temp, imageAlt: imageAlt, imageSrc: imageSrc, shape: 'circle', spritemap: spritemap, style: stickerStyle}, null, opt_ijData);

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

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

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

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