@biggive/components 202304041024.0.0 → 202304051358.0.0
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/biggive/biggive.esm.js +1 -1
- package/dist/biggive/{p-161f7dd7.entry.js → p-c7f99361.entry.js} +1 -1
- package/dist/cjs/biggive-accordion_43.cjs.entry.js +8 -2
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +8 -2
- package/dist/components/biggive-main-menu.js +8 -2
- package/dist/esm/biggive-accordion_43.entry.js +8 -2
- package/hydrate/index.js +8 -2
- package/package.json +1 -1
|
@@ -1015,7 +1015,10 @@ const BiggiveMainMenu = class {
|
|
|
1015
1015
|
this.setHeaderSize();
|
|
1016
1016
|
});
|
|
1017
1017
|
this.setHeaderSize();
|
|
1018
|
-
const subMenuElements = this.host.querySelectorAll('.sub-menu');
|
|
1018
|
+
const subMenuElements = this.host.shadowRoot.querySelectorAll('.sub-menu');
|
|
1019
|
+
if (subMenuElements.length === 0) {
|
|
1020
|
+
console.error('Missing subMenuElements');
|
|
1021
|
+
}
|
|
1019
1022
|
subMenuElements.forEach(subMenuElement => {
|
|
1020
1023
|
var _a;
|
|
1021
1024
|
// the subMenuLink is a sibling element to the actual sub-menu
|
|
@@ -1026,7 +1029,10 @@ const BiggiveMainMenu = class {
|
|
|
1026
1029
|
subMenuElement.classList.toggle('display-sub-menu');
|
|
1027
1030
|
};
|
|
1028
1031
|
});
|
|
1029
|
-
const subSubMenuElements = this.host.querySelectorAll('.sub-sub-menu');
|
|
1032
|
+
const subSubMenuElements = this.host.shadowRoot.querySelectorAll('.sub-sub-menu');
|
|
1033
|
+
if (subSubMenuElements.length === 0) {
|
|
1034
|
+
console.error('Missing subSubMenuElements');
|
|
1035
|
+
}
|
|
1030
1036
|
subSubMenuElements.forEach(subSubMenuElement => {
|
|
1031
1037
|
// the subSubMenuLink is a sibling element to the actual sub-sub-menu
|
|
1032
1038
|
const subSubMenuLink = subSubMenuElement.parentElement.querySelector('a');
|
|
@@ -64,7 +64,10 @@ export class BiggiveMainMenu {
|
|
|
64
64
|
this.setHeaderSize();
|
|
65
65
|
});
|
|
66
66
|
this.setHeaderSize();
|
|
67
|
-
const subMenuElements = this.host.querySelectorAll('.sub-menu');
|
|
67
|
+
const subMenuElements = this.host.shadowRoot.querySelectorAll('.sub-menu');
|
|
68
|
+
if (subMenuElements.length === 0) {
|
|
69
|
+
console.error('Missing subMenuElements');
|
|
70
|
+
}
|
|
68
71
|
subMenuElements.forEach(subMenuElement => {
|
|
69
72
|
var _a;
|
|
70
73
|
// the subMenuLink is a sibling element to the actual sub-menu
|
|
@@ -75,7 +78,10 @@ export class BiggiveMainMenu {
|
|
|
75
78
|
subMenuElement.classList.toggle('display-sub-menu');
|
|
76
79
|
};
|
|
77
80
|
});
|
|
78
|
-
const subSubMenuElements = this.host.querySelectorAll('.sub-sub-menu');
|
|
81
|
+
const subSubMenuElements = this.host.shadowRoot.querySelectorAll('.sub-sub-menu');
|
|
82
|
+
if (subSubMenuElements.length === 0) {
|
|
83
|
+
console.error('Missing subSubMenuElements');
|
|
84
|
+
}
|
|
79
85
|
subSubMenuElements.forEach(subSubMenuElement => {
|
|
80
86
|
// the subSubMenuLink is a sibling element to the actual sub-sub-menu
|
|
81
87
|
const subSubMenuLink = subSubMenuElement.parentElement.querySelector('a');
|
|
@@ -72,7 +72,10 @@ const BiggiveMainMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
72
72
|
this.setHeaderSize();
|
|
73
73
|
});
|
|
74
74
|
this.setHeaderSize();
|
|
75
|
-
const subMenuElements = this.host.querySelectorAll('.sub-menu');
|
|
75
|
+
const subMenuElements = this.host.shadowRoot.querySelectorAll('.sub-menu');
|
|
76
|
+
if (subMenuElements.length === 0) {
|
|
77
|
+
console.error('Missing subMenuElements');
|
|
78
|
+
}
|
|
76
79
|
subMenuElements.forEach(subMenuElement => {
|
|
77
80
|
var _a;
|
|
78
81
|
// the subMenuLink is a sibling element to the actual sub-menu
|
|
@@ -83,7 +86,10 @@ const BiggiveMainMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
83
86
|
subMenuElement.classList.toggle('display-sub-menu');
|
|
84
87
|
};
|
|
85
88
|
});
|
|
86
|
-
const subSubMenuElements = this.host.querySelectorAll('.sub-sub-menu');
|
|
89
|
+
const subSubMenuElements = this.host.shadowRoot.querySelectorAll('.sub-sub-menu');
|
|
90
|
+
if (subSubMenuElements.length === 0) {
|
|
91
|
+
console.error('Missing subSubMenuElements');
|
|
92
|
+
}
|
|
87
93
|
subSubMenuElements.forEach(subSubMenuElement => {
|
|
88
94
|
// the subSubMenuLink is a sibling element to the actual sub-sub-menu
|
|
89
95
|
const subSubMenuLink = subSubMenuElement.parentElement.querySelector('a');
|
|
@@ -1011,7 +1011,10 @@ const BiggiveMainMenu = class {
|
|
|
1011
1011
|
this.setHeaderSize();
|
|
1012
1012
|
});
|
|
1013
1013
|
this.setHeaderSize();
|
|
1014
|
-
const subMenuElements = this.host.querySelectorAll('.sub-menu');
|
|
1014
|
+
const subMenuElements = this.host.shadowRoot.querySelectorAll('.sub-menu');
|
|
1015
|
+
if (subMenuElements.length === 0) {
|
|
1016
|
+
console.error('Missing subMenuElements');
|
|
1017
|
+
}
|
|
1015
1018
|
subMenuElements.forEach(subMenuElement => {
|
|
1016
1019
|
var _a;
|
|
1017
1020
|
// the subMenuLink is a sibling element to the actual sub-menu
|
|
@@ -1022,7 +1025,10 @@ const BiggiveMainMenu = class {
|
|
|
1022
1025
|
subMenuElement.classList.toggle('display-sub-menu');
|
|
1023
1026
|
};
|
|
1024
1027
|
});
|
|
1025
|
-
const subSubMenuElements = this.host.querySelectorAll('.sub-sub-menu');
|
|
1028
|
+
const subSubMenuElements = this.host.shadowRoot.querySelectorAll('.sub-sub-menu');
|
|
1029
|
+
if (subSubMenuElements.length === 0) {
|
|
1030
|
+
console.error('Missing subSubMenuElements');
|
|
1031
|
+
}
|
|
1026
1032
|
subSubMenuElements.forEach(subSubMenuElement => {
|
|
1027
1033
|
// the subSubMenuLink is a sibling element to the actual sub-sub-menu
|
|
1028
1034
|
const subSubMenuLink = subSubMenuElement.parentElement.querySelector('a');
|
package/hydrate/index.js
CHANGED
|
@@ -7954,7 +7954,10 @@ class BiggiveMainMenu {
|
|
|
7954
7954
|
this.setHeaderSize();
|
|
7955
7955
|
});
|
|
7956
7956
|
this.setHeaderSize();
|
|
7957
|
-
const subMenuElements = this.host.querySelectorAll('.sub-menu');
|
|
7957
|
+
const subMenuElements = this.host.shadowRoot.querySelectorAll('.sub-menu');
|
|
7958
|
+
if (subMenuElements.length === 0) {
|
|
7959
|
+
console.error('Missing subMenuElements');
|
|
7960
|
+
}
|
|
7958
7961
|
subMenuElements.forEach(subMenuElement => {
|
|
7959
7962
|
var _a;
|
|
7960
7963
|
// the subMenuLink is a sibling element to the actual sub-menu
|
|
@@ -7965,7 +7968,10 @@ class BiggiveMainMenu {
|
|
|
7965
7968
|
subMenuElement.classList.toggle('display-sub-menu');
|
|
7966
7969
|
};
|
|
7967
7970
|
});
|
|
7968
|
-
const subSubMenuElements = this.host.querySelectorAll('.sub-sub-menu');
|
|
7971
|
+
const subSubMenuElements = this.host.shadowRoot.querySelectorAll('.sub-sub-menu');
|
|
7972
|
+
if (subSubMenuElements.length === 0) {
|
|
7973
|
+
console.error('Missing subSubMenuElements');
|
|
7974
|
+
}
|
|
7969
7975
|
subSubMenuElements.forEach(subSubMenuElement => {
|
|
7970
7976
|
// the subSubMenuLink is a sibling element to the actual sub-sub-menu
|
|
7971
7977
|
const subSubMenuLink = subSubMenuElement.parentElement.querySelector('a');
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biggive/components",
|
|
3
3
|
"_comment": "Version number below is automatically replaced during CircleCI build.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "202304051358.0.0",
|
|
5
5
|
"description": "Big Give Components",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
7
7
|
"module": "dist/index.js",
|