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

sling-web-component-list

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sling-web-component-list - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

8

dist/cjs/component/List.js

@@ -41,8 +41,4 @@ 'use strict';

return (0, _cjs.html)(_templateObject, (0, _cjs.repeat)(data, function (list, index) {
return index;
}, function (list) {
return (0, _cjs.html)(_templateObject2, _this2.cascadelist ? 'list-view_cascade' : '', (0, _cjs.repeat)(Object.values(list), function (item, index) {
return index;
}, function (item, index) {
return (0, _cjs.html)(_templateObject, data.map(function (list) {
return (0, _cjs.html)(_templateObject2, _this2.cascadelist ? 'list-view_cascade' : '', Object.values(list).map(function (item, index) {
return (0, _cjs.html)(_templateObject3, keys[index], _this2.cascadelist ? '' : ':', item != null ? item : '---');

@@ -49,0 +45,0 @@ }));

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

import { html, SlingElement, repeat } from 'sling-web-framework/dist/es';
import { html, SlingElement } from 'sling-web-framework/dist/es';

@@ -68,5 +68,5 @@ export class List extends SlingElement {

</style>
${repeat(data, (list, index) => index, list => html`
${data.map(list => html`
<ul className="list-view ${this.cascadelist ? 'list-view_cascade' : ''}">
${repeat(Object.values(list), (item, index) => index, (item, index) => html`
${Object.values(list).map((item, index) => html`
<li class="list-view__row">

@@ -73,0 +73,0 @@ <span class="list-view__key">

{
"name": "sling-web-component-list",
"version": "0.9.0",
"version": "0.10.0",
"description": "Sling List component",

@@ -28,5 +28,5 @@ "author": "Stone Pagamentos",

"dependencies": {
"sling-web-framework": "^0.9.0",
"sling-web-helpers": "^0.9.0"
"sling-web-framework": "^0.10.0",
"sling-web-helpers": "^0.10.0"
}
}
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