@proximus/lavender-toaster 2.0.0-alpha.230 → 2.0.0-alpha.231
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 +74 -6
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -423,6 +423,36 @@ var S = class e extends HTMLElement {
|
|
|
423
423
|
set hiddenDesktop(e) {
|
|
424
424
|
s(this, "hidden--desktop", e);
|
|
425
425
|
}
|
|
426
|
+
get shownSr() {
|
|
427
|
+
return this.hasAttribute("shown--sr");
|
|
428
|
+
}
|
|
429
|
+
set shownSr(e) {
|
|
430
|
+
s(this, "shown--sr", e);
|
|
431
|
+
}
|
|
432
|
+
get shownSrMobile() {
|
|
433
|
+
return this.hasAttribute("shown--sr--mobile");
|
|
434
|
+
}
|
|
435
|
+
set shownSrMobile(e) {
|
|
436
|
+
s(this, "shown--sr--mobile", e);
|
|
437
|
+
}
|
|
438
|
+
get shownSrTablet() {
|
|
439
|
+
return this.hasAttribute("shown--sr--tablet");
|
|
440
|
+
}
|
|
441
|
+
set shownSrTablet(e) {
|
|
442
|
+
s(this, "shown--sr--tablet", e);
|
|
443
|
+
}
|
|
444
|
+
get shownSrLaptop() {
|
|
445
|
+
return this.hasAttribute("shown--sr--laptop");
|
|
446
|
+
}
|
|
447
|
+
set shownSrLaptop(e) {
|
|
448
|
+
s(this, "shown--sr--laptop", e);
|
|
449
|
+
}
|
|
450
|
+
get shownSrDesktop() {
|
|
451
|
+
return this.hasAttribute("shown--sr--desktop");
|
|
452
|
+
}
|
|
453
|
+
set shownSrDesktop(e) {
|
|
454
|
+
s(this, "shown--sr--desktop", e);
|
|
455
|
+
}
|
|
426
456
|
get colSpan() {
|
|
427
457
|
return this.getAttribute("col-span");
|
|
428
458
|
}
|
|
@@ -483,6 +513,48 @@ var S = class e extends HTMLElement {
|
|
|
483
513
|
set orderDesktop(e) {
|
|
484
514
|
o(this, "order--desktop", e);
|
|
485
515
|
}
|
|
516
|
+
get stickyTop() {
|
|
517
|
+
return this.hasAttribute("sticky-top");
|
|
518
|
+
}
|
|
519
|
+
set stickyTop(e) {
|
|
520
|
+
s(this, "sticky-top", e);
|
|
521
|
+
}
|
|
522
|
+
get stickyBottom() {
|
|
523
|
+
return this.hasAttribute("sticky-bottom");
|
|
524
|
+
}
|
|
525
|
+
set stickyBottom(e) {
|
|
526
|
+
s(this, "sticky-bottom", e);
|
|
527
|
+
}
|
|
528
|
+
get wordBreakAll() {
|
|
529
|
+
return this.hasAttribute("word-break-all");
|
|
530
|
+
}
|
|
531
|
+
set wordBreakAll(e) {
|
|
532
|
+
s(this, "word-break-all", e);
|
|
533
|
+
}
|
|
534
|
+
get wordBreakAllMobile() {
|
|
535
|
+
return this.hasAttribute("word-break-all--mobile");
|
|
536
|
+
}
|
|
537
|
+
set wordBreakAllMobile(e) {
|
|
538
|
+
s(this, "word-break-all--mobile", e);
|
|
539
|
+
}
|
|
540
|
+
get wordBreakAllTablet() {
|
|
541
|
+
return this.hasAttribute("word-break-all--tablet");
|
|
542
|
+
}
|
|
543
|
+
set wordBreakAllTablet(e) {
|
|
544
|
+
s(this, "word-break-all--tablet", e);
|
|
545
|
+
}
|
|
546
|
+
get wordBreakAllLaptop() {
|
|
547
|
+
return this.hasAttribute("word-break-all--laptop");
|
|
548
|
+
}
|
|
549
|
+
set wordBreakAllLaptop(e) {
|
|
550
|
+
s(this, "word-break-all--laptop", e);
|
|
551
|
+
}
|
|
552
|
+
get wordBreakAllDesktop() {
|
|
553
|
+
return this.hasAttribute("word-break-all--desktop");
|
|
554
|
+
}
|
|
555
|
+
set wordBreakAllDesktop(e) {
|
|
556
|
+
s(this, "word-break-all--desktop", e);
|
|
557
|
+
}
|
|
486
558
|
};
|
|
487
559
|
(class extends S {
|
|
488
560
|
static {
|
|
@@ -846,12 +918,8 @@ var M = [
|
|
|
846
918
|
this.$el.style.setProperty(`--${e}`, `url("${t}")`);
|
|
847
919
|
}
|
|
848
920
|
updateGradient(e, t) {
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
e = n.attrName;
|
|
852
|
-
let r = n.breakpoint;
|
|
853
|
-
this.$el.style.setProperty(`--${e}${r}`, `linear-gradient(var(--px-color-background-gradient-${t}))`);
|
|
854
|
-
} else i(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${y.join("\", \"")}".`);
|
|
921
|
+
let { attrName: n, breakpoint: r } = this.splitAttrNameFromBreakpoint(e), a = `--${n}${r}`;
|
|
922
|
+
t === null ? this.$el.style.removeProperty(a) : 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("\", \"")}".`);
|
|
855
923
|
}
|
|
856
924
|
updateBackgroundColor(e, t) {
|
|
857
925
|
let n = t.startsWith("surface-");
|