@proximus/lavender-common 1.0.0-alpha.72 → 1.0.0-alpha.74
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 +23 -19
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const b = ":host([grow]){flex-grow:var(--grow-value)}:host([shrink]){flex-shrink:var(--shrink-value)}:host([basis]){flex-basis:var(--basis-value)}:host([align-self]){align-self:var(--align-self-value)}:host([col-span]){grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([justify-self]){justify-self:var(--justify-value)}:host([order]){order:var(--order-value)}:host([hidden]){display:none}::slotted(*[shown--sr]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media screen and (max-width: 767px){:host([hidden--mobile]){display:none}:host([grow--mobile]){flex-grow:var(--grow--mobile-value)!important}:host([shrink--mobile]){flex-shrink:var(--shrink--mobile-value)!important}:host([basis--mobile]){flex-basis:var(--basis--mobile-value)!important}:host([align-self--mobile]){align-self:var(--align-self--mobile-value)!important}:host([col-span--mobile]){grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)!important}:host([justify-self--mobile]){justify-self:var(--justify-self--mobile-value)!important}:host([order--mobile]){order:var(--order--mobile-value)!important}::slotted(*[shown--sr--mobile]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 768px) and (max-width: 1024px){:host([hidden--tablet]){display:none}:host([grow--tablet]){flex-grow:var(--grow--tablet-value)!important}:host([shrink--tablet]){flex-shrink:var(--shrink--tablet-value)!important}:host([basis--tablet]){flex-basis:var(--basis--tablet-value)!important}:host([align-self--tablet]){align-self:var(--align-self--tablet-value)!important}:host([col-span--tablet]){grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)!important}:host([justify-self--tablet]){justify-self:var(--justify-self--tablet-value)!important}:host([order--tablet]){order:var(--order--tablet-value)!important}::slotted(*[shown--sr--tablet]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){::slotted(*[shown--sr--laptop]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px) and (max-width: 1440px){:host([hidden--laptop]){display:none!important}:host([grow--laptop]){flex-grow:var(--grow--laptop-value)!important}:host([shrink--laptop]){flex-shrink:var(--shrink--laptop-value)!important}:host([basis--laptop]){flex-basis:var(--basis--laptop-value)!important}:host([align-self--laptop]){align-self:var(--align-self--laptop-value)!important}:host([col-span--laptop]){grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)!important}:host([justify-self--laptop]){justify-self:var(--justify-self--laptop-value)!important}:host([order--laptop]){order:var(--order--laptop-value)!important}}@media screen and (min-width: 1441px){:host([col-span--desktop]){grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)!important}:host([justify-self--desktop]){justify-self:var(--justify-self--desktop-value)!important}:host([order--desktop]){order:var(--order--desktop-value)!important}:host([hidden--desktop]){display:none!important}:host([grow--desktop]){flex-grow:var(--grow--desktop-value)!important}:host([shrink--desktop]){flex-shrink:var(--shrink--desktop-value)!important}:host([basis--desktop]){flex-basis:var(--basis--desktop-value)!important}:host([align-self--desktop]){align-self:var(--align-self--desktop-value)!important}}";
|
|
1
|
+
const b = ":host([grow]){flex-grow:var(--grow-value)}:host([shrink]){flex-shrink:var(--shrink-value)}:host([basis]){flex-basis:var(--basis-value)}:host([align-self]){align-self:var(--align-self-value)}:host([col-span]){grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([justify-self]){justify-self:var(--justify-value)}:host([order]),::slotted([order]){order:var(--order-value)}:host([hidden]),::slotted([hidden]){display:none}::slotted(*[shown--sr]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media screen and (max-width: 767px){:host([hidden--mobile]),::slotted([hidden--mobile]){display:none}:host([grow--mobile]){flex-grow:var(--grow--mobile-value)!important}:host([shrink--mobile]){flex-shrink:var(--shrink--mobile-value)!important}:host([basis--mobile]){flex-basis:var(--basis--mobile-value)!important}:host([align-self--mobile]){align-self:var(--align-self--mobile-value)!important}:host([col-span--mobile]){grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)!important}:host([justify-self--mobile]){justify-self:var(--justify-self--mobile-value)!important}:host([order--mobile]),::slotted([order--mobile]){order:var(--order--mobile-value)!important}::slotted(*[shown--sr--mobile]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 768px) and (max-width: 1024px){:host([hidden--tablet]),::slotted([hidden--tablet]){display:none}:host([grow--tablet]){flex-grow:var(--grow--tablet-value)!important}:host([shrink--tablet]){flex-shrink:var(--shrink--tablet-value)!important}:host([basis--tablet]){flex-basis:var(--basis--tablet-value)!important}:host([align-self--tablet]){align-self:var(--align-self--tablet-value)!important}:host([col-span--tablet]){grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)!important}:host([justify-self--tablet]){justify-self:var(--justify-self--tablet-value)!important}:host([order--tablet]),::slotted([order--tablet]){order:var(--order--tablet-value)!important}::slotted(*[shown--sr--tablet]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){::slotted(*[shown--sr--laptop]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px) and (max-width: 1440px){:host([hidden--laptop]),::slotted([hidden--laptop]){display:none!important}:host([grow--laptop]){flex-grow:var(--grow--laptop-value)!important}:host([shrink--laptop]){flex-shrink:var(--shrink--laptop-value)!important}:host([basis--laptop]){flex-basis:var(--basis--laptop-value)!important}:host([align-self--laptop]){align-self:var(--align-self--laptop-value)!important}:host([col-span--laptop]){grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)!important}:host([justify-self--laptop]){justify-self:var(--justify-self--laptop-value)!important}:host([order--laptop]),::slotted([order--laptop]){order:var(--order--laptop-value)!important}}@media screen and (min-width: 1441px){:host([col-span--desktop]){grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)!important}:host([justify-self--desktop]){justify-self:var(--justify-self--desktop-value)!important}:host([order--desktop]),::slotted([order--desktop]){order:var(--order--desktop-value)!important}:host([hidden--desktop]),::slotted([hidden--desktop]){display:none!important}:host([grow--desktop]){flex-grow:var(--grow--desktop-value)!important}:host([shrink--desktop]){flex-shrink:var(--shrink--desktop-value)!important}:host([basis--desktop]){flex-basis:var(--basis--desktop-value)!important}:host([align-self--desktop]){align-self:var(--align-self--desktop-value)!important}}";
|
|
2
2
|
function h(o) {
|
|
3
3
|
const t = document.createElement(o), s = Object.getPrototypeOf(t);
|
|
4
4
|
return Object.getOwnPropertyNames(s);
|
|
@@ -39,6 +39,10 @@ class p extends HTMLElement {
|
|
|
39
39
|
"hidden--laptop",
|
|
40
40
|
"hidden--desktop",
|
|
41
41
|
"shown--sr",
|
|
42
|
+
"shown--sr--mobile",
|
|
43
|
+
"shown--sr--tablet",
|
|
44
|
+
"shown--sr--laptop",
|
|
45
|
+
"shown--sr--desktop",
|
|
42
46
|
"col-span",
|
|
43
47
|
"col-span--mobile",
|
|
44
48
|
"col-span--tablet",
|
|
@@ -476,6 +480,8 @@ const v = ["", "default", "none", "l"], d = [
|
|
|
476
480
|
"12"
|
|
477
481
|
], m = [
|
|
478
482
|
"",
|
|
483
|
+
"-1",
|
|
484
|
+
"0",
|
|
479
485
|
"1",
|
|
480
486
|
"2",
|
|
481
487
|
"3",
|
|
@@ -496,7 +502,7 @@ const v = ["", "default", "none", "l"], d = [
|
|
|
496
502
|
"end",
|
|
497
503
|
"center",
|
|
498
504
|
"stretch"
|
|
499
|
-
],
|
|
505
|
+
], w = [
|
|
500
506
|
"",
|
|
501
507
|
"default",
|
|
502
508
|
"inherit",
|
|
@@ -512,7 +518,7 @@ const v = ["", "default", "none", "l"], d = [
|
|
|
512
518
|
"heading-l",
|
|
513
519
|
"heading-m",
|
|
514
520
|
"heading-s"
|
|
515
|
-
],
|
|
521
|
+
], A = [
|
|
516
522
|
"",
|
|
517
523
|
"default",
|
|
518
524
|
"inherit",
|
|
@@ -526,11 +532,7 @@ const v = ["", "default", "none", "l"], d = [
|
|
|
526
532
|
"purpose-promo",
|
|
527
533
|
"state-hover",
|
|
528
534
|
"state-active",
|
|
529
|
-
"state-disabled"
|
|
530
|
-
"neutral",
|
|
531
|
-
"dimmed",
|
|
532
|
-
"heading-brand",
|
|
533
|
-
"heading-neutral"
|
|
535
|
+
"state-disabled"
|
|
534
536
|
], S = [
|
|
535
537
|
"",
|
|
536
538
|
"default",
|
|
@@ -647,7 +649,7 @@ const v = ["", "default", "none", "l"], d = [
|
|
|
647
649
|
"color-bottom-right-blue",
|
|
648
650
|
"color-bottom-right-turquoise",
|
|
649
651
|
"color-bottom-right-green"
|
|
650
|
-
],
|
|
652
|
+
], E = [
|
|
651
653
|
"none",
|
|
652
654
|
"2xs",
|
|
653
655
|
"xs",
|
|
@@ -657,14 +659,14 @@ const v = ["", "default", "none", "l"], d = [
|
|
|
657
659
|
"heading-to-subtitle",
|
|
658
660
|
"heading-to-content",
|
|
659
661
|
"page-layout-between-sections"
|
|
660
|
-
],
|
|
662
|
+
], R = [
|
|
661
663
|
"",
|
|
662
664
|
"all",
|
|
663
665
|
"top",
|
|
664
666
|
"right",
|
|
665
667
|
"bottom",
|
|
666
668
|
"left"
|
|
667
|
-
],
|
|
669
|
+
], V = [
|
|
668
670
|
"",
|
|
669
671
|
"default",
|
|
670
672
|
"xs",
|
|
@@ -732,12 +734,14 @@ function I(o, t, s, e = "", i) {
|
|
|
732
734
|
const a = new CSSStyleSheet(), l = s.reduce(
|
|
733
735
|
(n, r) => n + `
|
|
734
736
|
${t(o, r)} {
|
|
735
|
-
|
|
737
|
+
${o}: var(--${e}-${r}-desktop);
|
|
738
|
+
${i ? `${i}:var(--${e}-${r}-desktop)` : ""}
|
|
739
|
+
}
|
|
740
|
+
@media only screen and (max-width: 767px) {
|
|
741
|
+
${t(o, r)} {
|
|
736
742
|
${o}: var(--${e}-${r}-mobile);
|
|
737
743
|
${i ? `${i}: var(--${e}-${r}-mobile)` : ""}
|
|
738
744
|
}
|
|
739
|
-
${o}: var(--${e}-${r}-desktop);
|
|
740
|
-
${i ? `${i}:var(--${e}-${r}-desktop)` : ""}
|
|
741
745
|
}
|
|
742
746
|
${t(o, r, "mobile")} {
|
|
743
747
|
@media only screen and (max-width: 767px) {
|
|
@@ -852,7 +856,7 @@ export {
|
|
|
852
856
|
k as PxElement,
|
|
853
857
|
p as WithExtraAttributes,
|
|
854
858
|
B as addGlobalStylesheet,
|
|
855
|
-
|
|
859
|
+
V as assetContainerIconSizeValues,
|
|
856
860
|
z as assetContainerImgWidthValues,
|
|
857
861
|
D as backgroundColorValues,
|
|
858
862
|
N as backgroundSizeValues,
|
|
@@ -862,7 +866,7 @@ export {
|
|
|
862
866
|
C as borderValues,
|
|
863
867
|
G as boxShadowValues,
|
|
864
868
|
P as checkName,
|
|
865
|
-
|
|
869
|
+
A as colorValues,
|
|
866
870
|
c as cssGridAlignSelfValues,
|
|
867
871
|
f as cssGridColSpanValues,
|
|
868
872
|
g as cssGridJustifySelfValues,
|
|
@@ -870,9 +874,9 @@ export {
|
|
|
870
874
|
y as cssGridPlaceSelfValues,
|
|
871
875
|
I as cssTokenBreakpoints,
|
|
872
876
|
d as flexboxAlignSelfValues,
|
|
873
|
-
|
|
877
|
+
w as fontsizeValues,
|
|
874
878
|
S as fontweightValues,
|
|
875
|
-
|
|
879
|
+
E as gapValues,
|
|
876
880
|
h as getSupportedAttributeNames,
|
|
877
881
|
H as getViewportFormat,
|
|
878
882
|
q as gradientValues,
|
|
@@ -880,7 +884,7 @@ export {
|
|
|
880
884
|
O as headingValues,
|
|
881
885
|
$ as iconSizeValues,
|
|
882
886
|
_ as isFalsy,
|
|
883
|
-
|
|
887
|
+
R as noBorderRadiusValues,
|
|
884
888
|
j as paddingValues,
|
|
885
889
|
x as textalignValues,
|
|
886
890
|
F as transferAccessibilityAttributes
|