@proximus/lavender-toaster 1.4.20-alpha.5 → 1.4.20-alpha.7
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 +78 -6
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -434,6 +434,36 @@ var S = class e extends HTMLElement {
|
|
|
434
434
|
set hiddenDesktop(e) {
|
|
435
435
|
s(this, "hidden--desktop", e);
|
|
436
436
|
}
|
|
437
|
+
get shownSr() {
|
|
438
|
+
return this.hasAttribute("shown--sr");
|
|
439
|
+
}
|
|
440
|
+
set shownSr(e) {
|
|
441
|
+
s(this, "shown--sr", e);
|
|
442
|
+
}
|
|
443
|
+
get shownSrMobile() {
|
|
444
|
+
return this.hasAttribute("shown--sr--mobile");
|
|
445
|
+
}
|
|
446
|
+
set shownSrMobile(e) {
|
|
447
|
+
s(this, "shown--sr--mobile", e);
|
|
448
|
+
}
|
|
449
|
+
get shownSrTablet() {
|
|
450
|
+
return this.hasAttribute("shown--sr--tablet");
|
|
451
|
+
}
|
|
452
|
+
set shownSrTablet(e) {
|
|
453
|
+
s(this, "shown--sr--tablet", e);
|
|
454
|
+
}
|
|
455
|
+
get shownSrLaptop() {
|
|
456
|
+
return this.hasAttribute("shown--sr--laptop");
|
|
457
|
+
}
|
|
458
|
+
set shownSrLaptop(e) {
|
|
459
|
+
s(this, "shown--sr--laptop", e);
|
|
460
|
+
}
|
|
461
|
+
get shownSrDesktop() {
|
|
462
|
+
return this.hasAttribute("shown--sr--desktop");
|
|
463
|
+
}
|
|
464
|
+
set shownSrDesktop(e) {
|
|
465
|
+
s(this, "shown--sr--desktop", e);
|
|
466
|
+
}
|
|
437
467
|
get colSpan() {
|
|
438
468
|
return this.getAttribute("col-span");
|
|
439
469
|
}
|
|
@@ -494,6 +524,48 @@ var S = class e extends HTMLElement {
|
|
|
494
524
|
set orderDesktop(e) {
|
|
495
525
|
o(this, "order--desktop", e);
|
|
496
526
|
}
|
|
527
|
+
get stickyTop() {
|
|
528
|
+
return this.hasAttribute("sticky-top");
|
|
529
|
+
}
|
|
530
|
+
set stickyTop(e) {
|
|
531
|
+
s(this, "sticky-top", e);
|
|
532
|
+
}
|
|
533
|
+
get stickyBottom() {
|
|
534
|
+
return this.hasAttribute("sticky-bottom");
|
|
535
|
+
}
|
|
536
|
+
set stickyBottom(e) {
|
|
537
|
+
s(this, "sticky-bottom", e);
|
|
538
|
+
}
|
|
539
|
+
get wordBreakAll() {
|
|
540
|
+
return this.hasAttribute("word-break-all");
|
|
541
|
+
}
|
|
542
|
+
set wordBreakAll(e) {
|
|
543
|
+
s(this, "word-break-all", e);
|
|
544
|
+
}
|
|
545
|
+
get wordBreakAllMobile() {
|
|
546
|
+
return this.hasAttribute("word-break-all--mobile");
|
|
547
|
+
}
|
|
548
|
+
set wordBreakAllMobile(e) {
|
|
549
|
+
s(this, "word-break-all--mobile", e);
|
|
550
|
+
}
|
|
551
|
+
get wordBreakAllTablet() {
|
|
552
|
+
return this.hasAttribute("word-break-all--tablet");
|
|
553
|
+
}
|
|
554
|
+
set wordBreakAllTablet(e) {
|
|
555
|
+
s(this, "word-break-all--tablet", e);
|
|
556
|
+
}
|
|
557
|
+
get wordBreakAllLaptop() {
|
|
558
|
+
return this.hasAttribute("word-break-all--laptop");
|
|
559
|
+
}
|
|
560
|
+
set wordBreakAllLaptop(e) {
|
|
561
|
+
s(this, "word-break-all--laptop", e);
|
|
562
|
+
}
|
|
563
|
+
get wordBreakAllDesktop() {
|
|
564
|
+
return this.hasAttribute("word-break-all--desktop");
|
|
565
|
+
}
|
|
566
|
+
set wordBreakAllDesktop(e) {
|
|
567
|
+
s(this, "word-break-all--desktop", e);
|
|
568
|
+
}
|
|
497
569
|
};
|
|
498
570
|
(class extends S {
|
|
499
571
|
static {
|
|
@@ -857,12 +929,12 @@ var M = [
|
|
|
857
929
|
this.$el.style.setProperty(`--${e}`, `url("${t}")`);
|
|
858
930
|
}
|
|
859
931
|
updateGradient(e, t) {
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
}
|
|
932
|
+
let { attrName: n, breakpoint: r } = this.splitAttrNameFromBreakpoint(e), a = `--${n}${r}`;
|
|
933
|
+
if (t === null) {
|
|
934
|
+
this.$el.style.removeProperty(a);
|
|
935
|
+
return;
|
|
936
|
+
}
|
|
937
|
+
this.checkName(y, t) ? this.$el.style.setProperty(a, `linear-gradient(var(--px-color-background-gradient-${t}))`) : i(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${y.join("\", \"")}".`);
|
|
866
938
|
}
|
|
867
939
|
updateBackgroundColor(e, t) {
|
|
868
940
|
let n = t.startsWith("surface-");
|