@proximus/lavender-common 0.1.0-alpha.59 → 0.1.0-alpha.61
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.js +29 -27
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -587,6 +587,7 @@ const y = [
|
|
|
587
587
|
"container-light",
|
|
588
588
|
"container-soft",
|
|
589
589
|
"container-neutral-rich",
|
|
590
|
+
"container-brand-primary",
|
|
590
591
|
"container-brand-secondary",
|
|
591
592
|
"action-primary",
|
|
592
593
|
"action-secondary",
|
|
@@ -605,7 +606,7 @@ const y = [
|
|
|
605
606
|
"purpose-info",
|
|
606
607
|
"purpose-eco",
|
|
607
608
|
"purpose-notification"
|
|
608
|
-
], D = ["", "none", "s", "m", "l", "xl"],
|
|
609
|
+
], D = ["", "cover", "contain", "default"], P = ["", "none", "s", "m", "l", "xl"], V = [
|
|
609
610
|
"",
|
|
610
611
|
"default",
|
|
611
612
|
"title-4xl",
|
|
@@ -616,7 +617,7 @@ const y = [
|
|
|
616
617
|
"title-m",
|
|
617
618
|
"title-s",
|
|
618
619
|
"subtitle"
|
|
619
|
-
],
|
|
620
|
+
], G = [
|
|
620
621
|
"",
|
|
621
622
|
"purple-top-red",
|
|
622
623
|
"purple-top-magenta",
|
|
@@ -666,7 +667,7 @@ const y = [
|
|
|
666
667
|
"color-bottom-right-blue",
|
|
667
668
|
"color-bottom-right-turquoise",
|
|
668
669
|
"color-bottom-right-green"
|
|
669
|
-
],
|
|
670
|
+
], O = [
|
|
670
671
|
"after-element-none",
|
|
671
672
|
"after-element-2xs",
|
|
672
673
|
"after-element-xs",
|
|
@@ -681,35 +682,35 @@ const y = [
|
|
|
681
682
|
"inside-section-default",
|
|
682
683
|
"inside-section-l",
|
|
683
684
|
"between-sections"
|
|
684
|
-
],
|
|
685
|
+
], q = [
|
|
685
686
|
"",
|
|
686
687
|
"all",
|
|
687
688
|
"top",
|
|
688
689
|
"right",
|
|
689
690
|
"bottom",
|
|
690
691
|
"left"
|
|
691
|
-
],
|
|
692
|
+
], B = [
|
|
692
693
|
"",
|
|
693
694
|
"default",
|
|
694
695
|
"xs",
|
|
695
696
|
"s",
|
|
696
697
|
"l",
|
|
697
698
|
"2xl"
|
|
698
|
-
],
|
|
699
|
-
function
|
|
699
|
+
], R = ["", "default", "s", "m", "l"];
|
|
700
|
+
function z(o) {
|
|
700
701
|
const t = document.createElement("style");
|
|
701
702
|
t.innerHTML = o, document.head.appendChild(t);
|
|
702
703
|
}
|
|
703
|
-
function
|
|
704
|
+
function H(o) {
|
|
704
705
|
return typeof o == "string" && (o === "false" || o === "0" || o === "null") || typeof o == "boolean" && !o;
|
|
705
706
|
}
|
|
706
|
-
function
|
|
707
|
+
function E() {
|
|
707
708
|
return window.matchMedia("only screen and (min-width: 768px)").matches ? "tablet" : window.matchMedia("only screen and (min-width: 1025px)").matches ? "laptop" : "mobile";
|
|
708
709
|
}
|
|
709
|
-
function
|
|
710
|
+
function F(o, t) {
|
|
710
711
|
return o.includes(t);
|
|
711
712
|
}
|
|
712
|
-
function
|
|
713
|
+
function I(o, t) {
|
|
713
714
|
var e;
|
|
714
715
|
[
|
|
715
716
|
"aria-label",
|
|
@@ -751,7 +752,7 @@ function F(o, t) {
|
|
|
751
752
|
const s = `px-${((e = t.localName) == null ? void 0 : e.toLowerCase()) ?? "component"}-${Math.random().toString(36).substring(2, 15)}`;
|
|
752
753
|
t.setAttribute("id", s), o.setAttribute("aria-labelledby", s);
|
|
753
754
|
}
|
|
754
|
-
function
|
|
755
|
+
function J(o, t, s, e = "") {
|
|
755
756
|
const i = new CSSStyleSheet(), a = s.reduce(
|
|
756
757
|
(r, l) => r + `
|
|
757
758
|
${t(o, l)} {
|
|
@@ -784,7 +785,7 @@ function I(o, t, s, e = "") {
|
|
|
784
785
|
);
|
|
785
786
|
return i.replaceSync(a), i;
|
|
786
787
|
}
|
|
787
|
-
class
|
|
788
|
+
class U {
|
|
788
789
|
constructor(t, s, e, i) {
|
|
789
790
|
this.component = t, this.attributeName = s, this.cssVariable = i, this.attributeNameMobile = `${this.attributeName}--mobile`, this.attributeNameTablet = `${this.attributeName}--tablet`, this.attributeNameLaptop = `${this.attributeName}--laptop`, this.attributeNameDesktop = `${this.attributeName}--desktop`, this._attributeValue = e, Object.defineProperty(
|
|
790
791
|
this.component,
|
|
@@ -865,39 +866,40 @@ class J {
|
|
|
865
866
|
}
|
|
866
867
|
}
|
|
867
868
|
export {
|
|
868
|
-
|
|
869
|
+
U as AttributeBreakpointHandlerDelegate,
|
|
869
870
|
k as PxElement,
|
|
870
871
|
n as WithExtraAttributes,
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
872
|
+
z as addGlobalStylesheet,
|
|
873
|
+
B as assetContainerIconSizeValues,
|
|
874
|
+
R as assetContainerImgWidthValues,
|
|
874
875
|
T as backgroundColorValues,
|
|
876
|
+
D as backgroundSizeValues,
|
|
875
877
|
M as borderColorValues,
|
|
876
878
|
N as borderRadiusValues,
|
|
877
879
|
L as borderSideValues,
|
|
878
880
|
C as borderValues,
|
|
879
|
-
|
|
880
|
-
|
|
881
|
+
P as boxShadowValues,
|
|
882
|
+
F as checkName,
|
|
881
883
|
S as colorValues,
|
|
882
884
|
c as cssGridAlignSelfValues,
|
|
883
885
|
f as cssGridColSpanValues,
|
|
884
886
|
g as cssGridJustifySelfValues,
|
|
885
887
|
m as cssGridOrderValues,
|
|
886
888
|
A as cssGridPlaceSelfValues,
|
|
887
|
-
|
|
889
|
+
J as cssTokenBreakpoints,
|
|
888
890
|
h as flexboxAlignSelfValues,
|
|
889
891
|
w as fontsizeValues,
|
|
890
892
|
v as fontweightValues,
|
|
891
|
-
|
|
893
|
+
O as gapValues,
|
|
892
894
|
d as getSupportedAttributeNames,
|
|
893
|
-
|
|
894
|
-
|
|
895
|
+
E as getViewportFormat,
|
|
896
|
+
G as gradientValues,
|
|
895
897
|
y as gridGapValues,
|
|
896
|
-
|
|
898
|
+
V as headingValues,
|
|
897
899
|
x as iconSizeValues,
|
|
898
|
-
|
|
899
|
-
|
|
900
|
+
H as isFalsy,
|
|
901
|
+
q as noBorderRadiusValues,
|
|
900
902
|
$ as paddingValues,
|
|
901
903
|
j as textalignValues,
|
|
902
|
-
|
|
904
|
+
I as transferAccessibilityAttributes
|
|
903
905
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proximus/lavender-common",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.61",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "2373cc5b922977abc7f827fbb6e8051e7662d07c",
|
|
28
28
|
"lerna": {
|
|
29
29
|
"command": {
|
|
30
30
|
"publish": {
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"dist/js/**/*.js",
|
|
38
38
|
"dist/*.svg",
|
|
39
39
|
"dist/*.ttf",
|
|
40
|
-
"dist/glyphmap.json"
|
|
40
|
+
"dist/glyphmap.json",
|
|
41
|
+
"dist/*.d.ts"
|
|
41
42
|
]
|
|
42
43
|
}
|
|
43
44
|
}
|