sling-web-component-list
Advanced tools
Comparing version 0.9.0 to 0.10.0
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8831
128
+ Addedsling-web-component-sdk-connect@0.10.1(transitive)
+ Addedsling-web-framework@0.10.1(transitive)
+ Addedsling-web-helpers@0.10.1(transitive)
+ Addedsling-web-sdk@0.10.1(transitive)
- Removed@polymer/lit-element@0.2.3(transitive)
- Removed@polymer/polymer@3.5.2(transitive)
- Removed@webcomponents/shadycss@1.11.2(transitive)
- Removedlit-html@0.9.0(transitive)
- Removedmoment@2.30.1(transitive)
- Removedsling-web-component-sdk-connect@0.9.0(transitive)
- Removedsling-web-framework@0.9.0(transitive)
- Removedsling-web-helpers@0.9.0(transitive)
- Removedsling-web-sdk@0.9.0(transitive)
Updatedsling-web-framework@^0.10.0
Updatedsling-web-helpers@^0.10.0