@proximus/lavender-list 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +13 -13
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -9,8 +9,8 @@ function y(r) {
|
|
|
9
9
|
(e) => e.toLowerCase()
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
const
|
|
13
|
-
|
|
12
|
+
const c = new CSSStyleSheet();
|
|
13
|
+
c.replaceSync(v);
|
|
14
14
|
class b extends HTMLElement {
|
|
15
15
|
static get observedAttributes() {
|
|
16
16
|
return [
|
|
@@ -63,7 +63,7 @@ class b extends HTMLElement {
|
|
|
63
63
|
}
|
|
64
64
|
constructor(...t) {
|
|
65
65
|
super(), this.shadowRoot || this.attachShadow({ mode: "open" }), this.shadowRoot.adoptedStyleSheets = [
|
|
66
|
-
|
|
66
|
+
c,
|
|
67
67
|
...t
|
|
68
68
|
];
|
|
69
69
|
}
|
|
@@ -409,7 +409,10 @@ class b extends HTMLElement {
|
|
|
409
409
|
this.setAttribute("order--desktop", t);
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
class
|
|
412
|
+
class g extends b {
|
|
413
|
+
constructor(...t) {
|
|
414
|
+
super(...t), this.accessorExclusions = [], this.nativeName = Object.getPrototypeOf(this).constructor.nativeName, this.accessorExclusions = Object.getPrototypeOf(this).constructor.accessorExclusions || [];
|
|
415
|
+
}
|
|
413
416
|
static get observedAttributes() {
|
|
414
417
|
return [
|
|
415
418
|
...super.observedAttributes,
|
|
@@ -419,13 +422,10 @@ class c extends b {
|
|
|
419
422
|
attributeChangedCallback(t, s, e) {
|
|
420
423
|
super.attributeChangedCallback(t, s, e), e === null ? this.$el.toggleAttribute(t) : this.$el.setAttribute(t, e);
|
|
421
424
|
}
|
|
422
|
-
constructor(...t) {
|
|
423
|
-
super(...t), this.nativeName = Object.getPrototypeOf(this).constructor.nativeName;
|
|
424
|
-
}
|
|
425
425
|
connectedCallback() {
|
|
426
426
|
var t;
|
|
427
427
|
for (const s of A(this.nativeName))
|
|
428
|
-
if (s
|
|
428
|
+
if (!(s === "constructor" || this.accessorExclusions.includes(s)))
|
|
429
429
|
try {
|
|
430
430
|
Object.defineProperty(this, s, {
|
|
431
431
|
get() {
|
|
@@ -643,7 +643,7 @@ class T {
|
|
|
643
643
|
}
|
|
644
644
|
const m = new CSSStyleSheet();
|
|
645
645
|
m.replaceSync(k);
|
|
646
|
-
const
|
|
646
|
+
const O = ["", "mobile", "tablet", "laptop"], D = (r, t, s) => `:host([${r}${s ? `--${s}` : ""}='${t}']) .list`, L = "px-spacing", d = class d extends g {
|
|
647
647
|
constructor() {
|
|
648
648
|
super(
|
|
649
649
|
m,
|
|
@@ -727,9 +727,9 @@ const E = ["", "mobile", "tablet", "laptop"], D = (r, t, s) => `:host([${r}${s ?
|
|
|
727
727
|
d.nativeName = "div";
|
|
728
728
|
let p = d;
|
|
729
729
|
customElements.get("px-list") || customElements.define("px-list", p);
|
|
730
|
-
const
|
|
731
|
-
f.replaceSync(
|
|
732
|
-
const u = class u extends
|
|
730
|
+
const E = '.list-item{display:flex;gap:var(--px-spacing-xs-mobile);font-family:var(--px-font-family);line-height:var(--px-line-height-ratio-l)}::slotted([slot="label"][inverted]){color:var(--px-color-text-neutral-inverted)}@media only screen and (min-width: 48em){.list-item{gap:var(--px-spacing-xs-tablet)}}@media only screen and (min-width: 64.0625em){.list-item{gap:var(--px-spacing-xs-laptop)}}@media only screen and (min-width: 90.0625em){.list-item{gap:var(--px-spacing-xs-desktop)}}', f = new CSSStyleSheet();
|
|
731
|
+
f.replaceSync(E);
|
|
732
|
+
const u = class u extends g {
|
|
733
733
|
template() {
|
|
734
734
|
return `
|
|
735
735
|
<div class="list-item" role="listitem">
|
|
@@ -770,5 +770,5 @@ customElements.get("px-list-item") || customElements.define("px-list-item", h);
|
|
|
770
770
|
export {
|
|
771
771
|
p as List,
|
|
772
772
|
h as ListItem,
|
|
773
|
-
|
|
773
|
+
O as breakpointsValues
|
|
774
774
|
};
|