@proximus/lavender-common 1.0.0-alpha.88 → 1.0.0-alpha.90
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/common.d.ts +2 -0
- package/dist/index.es.js +18 -11
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
|
@@ -99,6 +99,8 @@ export declare abstract class PxElement<HTML_TYPE extends Element> extends WithE
|
|
|
99
99
|
protected constructor(...adoptedStylesheets: CSSStyleSheet[]);
|
|
100
100
|
connectedCallback(): void;
|
|
101
101
|
get $el(): HTML_TYPE;
|
|
102
|
+
protected _updateAttribute(name: string, value: string): void;
|
|
103
|
+
protected _updateBooleanAttribute(name: string, value: boolean): void;
|
|
102
104
|
}
|
|
103
105
|
export declare const gridGapValues: string[];
|
|
104
106
|
export declare const flexboxAlignSelfValues: readonly ["", "default", "auto", "flex-start", "flex-end", "center", "baseline", "stretch"];
|
package/dist/index.es.js
CHANGED
|
@@ -446,6 +446,12 @@ class y extends p {
|
|
|
446
446
|
get $el() {
|
|
447
447
|
return this.shadowRoot.querySelector(this.nativeName);
|
|
448
448
|
}
|
|
449
|
+
_updateAttribute(t, s) {
|
|
450
|
+
s ? this.setAttribute(t, s) : this.removeAttribute(t);
|
|
451
|
+
}
|
|
452
|
+
_updateBooleanAttribute(t, s) {
|
|
453
|
+
s ? this.setAttribute(t, "") : this.removeAttribute(t);
|
|
454
|
+
}
|
|
449
455
|
}
|
|
450
456
|
const w = ["", "default", "none", "l"], c = [
|
|
451
457
|
"",
|
|
@@ -607,7 +613,8 @@ const w = ["", "default", "none", "l"], c = [
|
|
|
607
613
|
"purpose-promo",
|
|
608
614
|
"purpose-info",
|
|
609
615
|
"purpose-eco",
|
|
610
|
-
"purpose-notification"
|
|
616
|
+
"purpose-notification",
|
|
617
|
+
"footer"
|
|
611
618
|
], G = ["", "cover", "contain", "default"], q = ["", "none", "s", "m", "l", "xl"], E = [
|
|
612
619
|
"",
|
|
613
620
|
"default",
|
|
@@ -669,7 +676,7 @@ const w = ["", "default", "none", "l"], c = [
|
|
|
669
676
|
"color-bottom-right-blue",
|
|
670
677
|
"color-bottom-right-turquoise",
|
|
671
678
|
"color-bottom-right-green"
|
|
672
|
-
],
|
|
679
|
+
], _ = [
|
|
673
680
|
"none",
|
|
674
681
|
"2xs",
|
|
675
682
|
"xs",
|
|
@@ -679,14 +686,14 @@ const w = ["", "default", "none", "l"], c = [
|
|
|
679
686
|
"heading-to-subtitle",
|
|
680
687
|
"heading-to-content",
|
|
681
688
|
"page-layout-between-sections"
|
|
682
|
-
],
|
|
689
|
+
], B = [
|
|
683
690
|
"",
|
|
684
691
|
"all",
|
|
685
692
|
"top",
|
|
686
693
|
"right",
|
|
687
694
|
"bottom",
|
|
688
695
|
"left"
|
|
689
|
-
],
|
|
696
|
+
], R = [
|
|
690
697
|
"",
|
|
691
698
|
"default",
|
|
692
699
|
"xs",
|
|
@@ -695,11 +702,11 @@ const w = ["", "default", "none", "l"], c = [
|
|
|
695
702
|
"l",
|
|
696
703
|
"xl"
|
|
697
704
|
];
|
|
698
|
-
function
|
|
705
|
+
function V(i) {
|
|
699
706
|
const t = document.createElement("style");
|
|
700
707
|
t.innerHTML = i, document.head.appendChild(t);
|
|
701
708
|
}
|
|
702
|
-
function
|
|
709
|
+
function z(i) {
|
|
703
710
|
return typeof i == "string" && (i === "false" || i === "0" || i === "null") || typeof i == "boolean" && !i;
|
|
704
711
|
}
|
|
705
712
|
function H() {
|
|
@@ -881,8 +888,8 @@ export {
|
|
|
881
888
|
J as AttributeBreakpointHandlerDelegate,
|
|
882
889
|
y as PxElement,
|
|
883
890
|
p as WithExtraAttributes,
|
|
884
|
-
|
|
885
|
-
|
|
891
|
+
V as addGlobalStylesheet,
|
|
892
|
+
R as assetContainerImgWidthValues,
|
|
886
893
|
O as backgroundColorValues,
|
|
887
894
|
G as backgroundSizeValues,
|
|
888
895
|
D as borderColorValues,
|
|
@@ -901,7 +908,7 @@ export {
|
|
|
901
908
|
c as flexboxAlignSelfValues,
|
|
902
909
|
S as fontsizeValues,
|
|
903
910
|
x as fontweightValues,
|
|
904
|
-
|
|
911
|
+
_ as gapValues,
|
|
905
912
|
d as getSupportedAttributeNames,
|
|
906
913
|
b as getSupportedPropertyNames,
|
|
907
914
|
H as getViewportFormat,
|
|
@@ -910,8 +917,8 @@ export {
|
|
|
910
917
|
E as headingValues,
|
|
911
918
|
v as iconSizeValues,
|
|
912
919
|
j as iconSizeValuesKC,
|
|
913
|
-
|
|
914
|
-
|
|
920
|
+
z as isFalsy,
|
|
921
|
+
B as noBorderRadiusValues,
|
|
915
922
|
L as paddingValues,
|
|
916
923
|
C as textalignValues,
|
|
917
924
|
X as transferAccessibilityAttributes
|