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

electric-marble-components

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electric-marble-components - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

24

lib/ElectricNavigation.soy.js

@@ -73,11 +73,11 @@ 'use strict';

ie_open('ul', null, null, 'class', ($$temp = opt_data.elementClasses) == null ? '' : $$temp);
var pageList41 = opt_data.section.children;
var pageListLen41 = pageList41.length;
for (var pageIndex41 = 0; pageIndex41 < pageListLen41; pageIndex41++) {
var pageData41 = pageList41[pageIndex41];
if (!pageData41.hidden) {
ie_open('li', null, null, 'class', (($$temp = opt_data.listItemClasses) == null ? '' : $$temp) + (pageData41.active ? ' ' + localListItemActiveClasses__soy14 : ''));
soy.$$getDelegateFn(soy.$$getDelTemplateId('ElectricNavigation.anchor.idom'), localAnchorVariant__soy12, false)(soy.$$assignDefaults({ page: pageData41 }, opt_data), null, opt_ijData);
var pageList42 = opt_data.section.children;
var pageListLen42 = pageList42.length;
for (var pageIndex42 = 0; pageIndex42 < pageListLen42; pageIndex42++) {
var pageData42 = pageList42[pageIndex42];
if (!pageData42.hidden) {
ie_open('li', null, null, 'class', (($$temp = opt_data.listItemClasses) == null ? '' : $$temp) + (pageData42.active ? ' ' + localListItemActiveClasses__soy14 : ''));
soy.$$getDelegateFn(soy.$$getDelTemplateId('ElectricNavigation.anchor.idom'), localAnchorVariant__soy12, false)(soy.$$assignDefaults({ index: pageIndex42, page: pageData42 }, opt_data), null, opt_ijData);
if (!opt_data.depth || localCurrentDepth__soy13 + 1 < opt_data.depth) {
$render({ anchorVariant: localAnchorVariant__soy12, currentDepth: localCurrentDepth__soy13 + 1, currentURL: opt_data.currentURL, depth: opt_data.depth, elementClasses: opt_data.elementClasses, linkClasses: opt_data.linkClasses, listItemActiveClasses: opt_data.listItemActiveClasses, listItemClasses: opt_data.listItemClasses, section: pageData41 }, null, opt_ijData);
$render({ anchorVariant: localAnchorVariant__soy12, currentDepth: localCurrentDepth__soy13 + 1, currentURL: opt_data.currentURL, depth: opt_data.depth, elementClasses: opt_data.elementClasses, linkClasses: opt_data.linkClasses, listItemActiveClasses: opt_data.listItemActiveClasses, listItemClasses: opt_data.listItemClasses, section: pageData42 }, null, opt_ijData);
}

@@ -102,3 +102,3 @@ ie_close('li');

*/
function __deltemplate_s44_b83841ac(opt_data, opt_ignored, opt_ijData) {
function __deltemplate_s45_b83841ac(opt_data, opt_ignored, opt_ijData) {
var $$temp;

@@ -119,7 +119,7 @@ if (opt_data.page.url || opt_data.page.redirect) {

}
exports.__deltemplate_s44_b83841ac = __deltemplate_s44_b83841ac;
exports.__deltemplate_s45_b83841ac = __deltemplate_s45_b83841ac;
if (goog.DEBUG) {
__deltemplate_s44_b83841ac.soyTemplateName = 'ElectricNavigation.__deltemplate_s44_b83841ac';
__deltemplate_s45_b83841ac.soyTemplateName = 'ElectricNavigation.__deltemplate_s45_b83841ac';
}
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ElectricNavigation.anchor.idom'), 'basic', 0, __deltemplate_s44_b83841ac);
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ElectricNavigation.anchor.idom'), 'basic', 0, __deltemplate_s45_b83841ac);

@@ -126,0 +126,0 @@ exports.render.params = ["section", "anchorVariant", "currentDepth", "currentURL", "depth", "elementClasses", "linkClasses", "listItemActiveClasses", "listItemClasses"];

@@ -134,18 +134,18 @@ 'use strict';

if (opt_data.results) {
var resultList103 = opt_data.results;
var resultListLen103 = resultList103.length;
for (var resultIndex103 = 0; resultIndex103 < resultListLen103; resultIndex103++) {
var resultData103 = resultList103[resultIndex103];
var resultList104 = opt_data.results;
var resultListLen104 = resultList104.length;
for (var resultIndex104 = 0; resultIndex104 < resultListLen104; resultIndex104++) {
var resultData104 = resultList104[resultIndex104];
ie_open('div', null, null, 'class', 'search-result');
if (resultData103.icon) {
if (resultData104.icon) {
ie_open('div', null, null, 'class', 'search-result-icon');
ie_void('span', null, null, 'class', 'icon-16-' + resultData103.icon);
ie_void('span', null, null, 'class', 'icon-16-' + resultData104.icon);
ie_close('div');
}
ie_open('a', null, null, 'class', 'search-result-link', 'href', resultData103.url);
var dyn5 = resultData103.title;
ie_open('a', null, null, 'class', 'search-result-link', 'href', resultData104.url);
var dyn5 = resultData104.title;
if (typeof dyn5 == 'function') dyn5();else if (dyn5 != null) itext(dyn5);
ie_close('a');
ie_open('p', null, null, 'class', 'search-result-text');
var dyn6 = resultData103.description;
var dyn6 = resultData104.description;
if (typeof dyn6 == 'function') dyn6();else if (dyn6 != null) itext(dyn6);

@@ -152,0 +152,0 @@ ie_close('p');

@@ -89,11 +89,11 @@ 'use strict';

if (opt_data.updates) {
var updateList128 = opt_data.updates;
var updateListLen128 = updateList128.length;
for (var updateIndex128 = 0; updateIndex128 < updateListLen128; updateIndex128++) {
var updateData128 = updateList128[updateIndex128];
var updateList129 = opt_data.updates;
var updateListLen129 = updateList129.length;
for (var updateIndex129 = 0; updateIndex129 < updateListLen129; updateIndex129++) {
var updateData129 = updateList129[updateIndex129];
ie_open('section', null, null, 'class', 'update');
ie_open('div', null, null, 'class', 'row update-row');
ie_open('div', null, null, 'class', 'col-sm-3 ' + (updateData128.major ? 'major' : 'minor') + '-update update-timeline');
ie_open('div', null, null, 'class', 'col-sm-3 ' + (updateData129.major ? 'major' : 'minor') + '-update update-timeline');
ie_open('div', null, null, 'class', 'update-point');
var dyn7 = updateData128.version;
var dyn7 = updateData129.version;
if (typeof dyn7 == 'function') dyn7();else if (dyn7 != null) itext(dyn7);

@@ -103,3 +103,3 @@ ie_close('div');

ie_open('div', null, null, 'class', 'col-sm-13 update-features');
$features(soy.$$assignDefaults({ features: updateData128.features }, opt_data), null, opt_ijData);
$features(soy.$$assignDefaults({ features: updateData129.features }, opt_data), null, opt_ijData);
ie_close('div');

@@ -127,9 +127,9 @@ ie_close('div');

var $$temp;
var localFeatureVariant__soy132 = ($$temp = opt_data.featureVariant) == null ? 'basic' : $$temp;
var localFeatureVariant__soy133 = ($$temp = opt_data.featureVariant) == null ? 'basic' : $$temp;
ie_open('div', null, null, 'class', 'row');
var featureList136 = opt_data.features;
var featureListLen136 = featureList136.length;
for (var featureIndex136 = 0; featureIndex136 < featureListLen136; featureIndex136++) {
var featureData136 = featureList136[featureIndex136];
soy.$$getDelegateFn(soy.$$getDelTemplateId('ElectricUpdates.feature.idom'), localFeatureVariant__soy132, false)(soy.$$assignDefaults({ feature: featureData136 }, opt_data), null, opt_ijData);
var featureList137 = opt_data.features;
var featureListLen137 = featureList137.length;
for (var featureIndex137 = 0; featureIndex137 < featureListLen137; featureIndex137++) {
var featureData137 = featureList137[featureIndex137];
soy.$$getDelegateFn(soy.$$getDelTemplateId('ElectricUpdates.feature.idom'), localFeatureVariant__soy133, false)(soy.$$assignDefaults({ feature: featureData137 }, opt_data), null, opt_ijData);
}

@@ -150,3 +150,3 @@ ie_close('div');

*/
function __deltemplate_s139_5080d024(opt_data, opt_ignored, opt_ijData) {
function __deltemplate_s140_5080d024(opt_data, opt_ignored, opt_ijData) {
ie_open('div', null, null, 'class', 'col-xs-16 col-sm-8 update-feature');

@@ -173,7 +173,7 @@ ie_open('div', null, null, 'class', 'feature-topper');

}
exports.__deltemplate_s139_5080d024 = __deltemplate_s139_5080d024;
exports.__deltemplate_s140_5080d024 = __deltemplate_s140_5080d024;
if (goog.DEBUG) {
__deltemplate_s139_5080d024.soyTemplateName = 'ElectricUpdates.__deltemplate_s139_5080d024';
__deltemplate_s140_5080d024.soyTemplateName = 'ElectricUpdates.__deltemplate_s140_5080d024';
}
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ElectricUpdates.feature.idom'), 'basic', 0, __deltemplate_s139_5080d024);
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ElectricUpdates.feature.idom'), 'basic', 0, __deltemplate_s140_5080d024);

@@ -180,0 +180,0 @@ exports.render.params = ["featureVariant", "updates"];

{
"name": "electric-marble-components",
"version": "1.0.0",
"version": "1.0.1",
"description": "Components that are compatible with Marble for use with electric.js sites.",

@@ -5,0 +5,0 @@ "jsnext:main": "src/all/components.js",

@@ -54,12 +54,12 @@ /* jshint ignore:start */

'class', ($$temp = opt_data.elementClasses) == null ? '' : $$temp);
var pageList41 = opt_data.section.children;
var pageListLen41 = pageList41.length;
for (var pageIndex41 = 0; pageIndex41 < pageListLen41; pageIndex41++) {
var pageData41 = pageList41[pageIndex41];
if (! pageData41.hidden) {
var pageList42 = opt_data.section.children;
var pageListLen42 = pageList42.length;
for (var pageIndex42 = 0; pageIndex42 < pageListLen42; pageIndex42++) {
var pageData42 = pageList42[pageIndex42];
if (! pageData42.hidden) {
ie_open('li', null, null,
'class', (($$temp = opt_data.listItemClasses) == null ? '' : $$temp) + (pageData41.active ? ' ' + localListItemActiveClasses__soy14 : ''));
soy.$$getDelegateFn(soy.$$getDelTemplateId('ElectricNavigation.anchor.idom'), localAnchorVariant__soy12, false)(soy.$$assignDefaults({page: pageData41}, opt_data), null, opt_ijData);
'class', (($$temp = opt_data.listItemClasses) == null ? '' : $$temp) + (pageData42.active ? ' ' + localListItemActiveClasses__soy14 : ''));
soy.$$getDelegateFn(soy.$$getDelTemplateId('ElectricNavigation.anchor.idom'), localAnchorVariant__soy12, false)(soy.$$assignDefaults({index: pageIndex42, page: pageData42}, opt_data), null, opt_ijData);
if (! opt_data.depth || localCurrentDepth__soy13 + 1 < opt_data.depth) {
$render({anchorVariant: localAnchorVariant__soy12, currentDepth: localCurrentDepth__soy13 + 1, currentURL: opt_data.currentURL, depth: opt_data.depth, elementClasses: opt_data.elementClasses, linkClasses: opt_data.linkClasses, listItemActiveClasses: opt_data.listItemActiveClasses, listItemClasses: opt_data.listItemClasses, section: pageData41}, null, opt_ijData);
$render({anchorVariant: localAnchorVariant__soy12, currentDepth: localCurrentDepth__soy13 + 1, currentURL: opt_data.currentURL, depth: opt_data.depth, elementClasses: opt_data.elementClasses, linkClasses: opt_data.linkClasses, listItemActiveClasses: opt_data.listItemActiveClasses, listItemClasses: opt_data.listItemClasses, section: pageData42}, null, opt_ijData);
}

@@ -85,3 +85,3 @@ ie_close('li');

*/
function __deltemplate_s44_b83841ac(opt_data, opt_ignored, opt_ijData) {
function __deltemplate_s45_b83841ac(opt_data, opt_ignored, opt_ijData) {
var $$temp;

@@ -105,7 +105,7 @@ if (opt_data.page.url || opt_data.page.redirect) {

}
exports.__deltemplate_s44_b83841ac = __deltemplate_s44_b83841ac;
exports.__deltemplate_s45_b83841ac = __deltemplate_s45_b83841ac;
if (goog.DEBUG) {
__deltemplate_s44_b83841ac.soyTemplateName = 'ElectricNavigation.__deltemplate_s44_b83841ac';
__deltemplate_s45_b83841ac.soyTemplateName = 'ElectricNavigation.__deltemplate_s45_b83841ac';
}
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ElectricNavigation.anchor.idom'), 'basic', 0, __deltemplate_s44_b83841ac);
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ElectricNavigation.anchor.idom'), 'basic', 0, __deltemplate_s45_b83841ac);

@@ -112,0 +112,0 @@ exports.render.params = ["section","anchorVariant","currentDepth","currentURL","depth","elementClasses","linkClasses","listItemActiveClasses","listItemClasses"];

@@ -138,13 +138,13 @@ /* jshint ignore:start */

if (opt_data.results) {
var resultList103 = opt_data.results;
var resultListLen103 = resultList103.length;
for (var resultIndex103 = 0; resultIndex103 < resultListLen103; resultIndex103++) {
var resultData103 = resultList103[resultIndex103];
var resultList104 = opt_data.results;
var resultListLen104 = resultList104.length;
for (var resultIndex104 = 0; resultIndex104 < resultListLen104; resultIndex104++) {
var resultData104 = resultList104[resultIndex104];
ie_open('div', null, null,
'class', 'search-result');
if (resultData103.icon) {
if (resultData104.icon) {
ie_open('div', null, null,
'class', 'search-result-icon');
ie_void('span', null, null,
'class', 'icon-16-' + resultData103.icon);
'class', 'icon-16-' + resultData104.icon);
ie_close('div');

@@ -154,4 +154,4 @@ }

'class', 'search-result-link',
'href', resultData103.url);
var dyn5 = resultData103.title;
'href', resultData104.url);
var dyn5 = resultData104.title;
if (typeof dyn5 == 'function') dyn5(); else if (dyn5 != null) itext(dyn5);

@@ -161,3 +161,3 @@ ie_close('a');

'class', 'search-result-text');
var dyn6 = resultData103.description;
var dyn6 = resultData104.description;
if (typeof dyn6 == 'function') dyn6(); else if (dyn6 != null) itext(dyn6);

@@ -164,0 +164,0 @@ ie_close('p');

@@ -74,6 +74,6 @@ /* jshint ignore:start */

if (opt_data.updates) {
var updateList128 = opt_data.updates;
var updateListLen128 = updateList128.length;
for (var updateIndex128 = 0; updateIndex128 < updateListLen128; updateIndex128++) {
var updateData128 = updateList128[updateIndex128];
var updateList129 = opt_data.updates;
var updateListLen129 = updateList129.length;
for (var updateIndex129 = 0; updateIndex129 < updateListLen129; updateIndex129++) {
var updateData129 = updateList129[updateIndex129];
ie_open('section', null, null,

@@ -84,6 +84,6 @@ 'class', 'update');

ie_open('div', null, null,
'class', 'col-sm-3 ' + (updateData128.major ? 'major' : 'minor') + '-update update-timeline');
'class', 'col-sm-3 ' + (updateData129.major ? 'major' : 'minor') + '-update update-timeline');
ie_open('div', null, null,
'class', 'update-point');
var dyn7 = updateData128.version;
var dyn7 = updateData129.version;
if (typeof dyn7 == 'function') dyn7(); else if (dyn7 != null) itext(dyn7);

@@ -94,3 +94,3 @@ ie_close('div');

'class', 'col-sm-13 update-features');
$features(soy.$$assignDefaults({features: updateData128.features}, opt_data), null, opt_ijData);
$features(soy.$$assignDefaults({features: updateData129.features}, opt_data), null, opt_ijData);
ie_close('div');

@@ -119,10 +119,10 @@ ie_close('div');

var $$temp;
var localFeatureVariant__soy132 = ($$temp = opt_data.featureVariant) == null ? 'basic' : $$temp;
var localFeatureVariant__soy133 = ($$temp = opt_data.featureVariant) == null ? 'basic' : $$temp;
ie_open('div', null, null,
'class', 'row');
var featureList136 = opt_data.features;
var featureListLen136 = featureList136.length;
for (var featureIndex136 = 0; featureIndex136 < featureListLen136; featureIndex136++) {
var featureData136 = featureList136[featureIndex136];
soy.$$getDelegateFn(soy.$$getDelTemplateId('ElectricUpdates.feature.idom'), localFeatureVariant__soy132, false)(soy.$$assignDefaults({feature: featureData136}, opt_data), null, opt_ijData);
var featureList137 = opt_data.features;
var featureListLen137 = featureList137.length;
for (var featureIndex137 = 0; featureIndex137 < featureListLen137; featureIndex137++) {
var featureData137 = featureList137[featureIndex137];
soy.$$getDelegateFn(soy.$$getDelTemplateId('ElectricUpdates.feature.idom'), localFeatureVariant__soy133, false)(soy.$$assignDefaults({feature: featureData137}, opt_data), null, opt_ijData);
}

@@ -144,3 +144,3 @@ ie_close('div');

*/
function __deltemplate_s139_5080d024(opt_data, opt_ignored, opt_ijData) {
function __deltemplate_s140_5080d024(opt_data, opt_ignored, opt_ijData) {
ie_open('div', null, null,

@@ -175,7 +175,7 @@ 'class', 'col-xs-16 col-sm-8 update-feature');

}
exports.__deltemplate_s139_5080d024 = __deltemplate_s139_5080d024;
exports.__deltemplate_s140_5080d024 = __deltemplate_s140_5080d024;
if (goog.DEBUG) {
__deltemplate_s139_5080d024.soyTemplateName = 'ElectricUpdates.__deltemplate_s139_5080d024';
__deltemplate_s140_5080d024.soyTemplateName = 'ElectricUpdates.__deltemplate_s140_5080d024';
}
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ElectricUpdates.feature.idom'), 'basic', 0, __deltemplate_s139_5080d024);
soy.$$registerDelegateFn(soy.$$getDelTemplateId('ElectricUpdates.feature.idom'), 'basic', 0, __deltemplate_s140_5080d024);

@@ -182,0 +182,0 @@ exports.render.params = ["featureVariant","updates"];

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