@salesforcedevs/dx-components 1.3.295 → 1.3.296
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.296",
|
|
4
4
|
"description": "DX Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"volta": {
|
|
47
47
|
"node": "16.19.1"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "7a3e47bb11802dbded4c5bd3814b408cbeedecd7"
|
|
50
50
|
}
|
|
@@ -126,7 +126,7 @@ export default class FeaturedContentHeader extends LightningElement {
|
|
|
126
126
|
|
|
127
127
|
if (slotElements.length) {
|
|
128
128
|
const slotContentElement = slotElements[0];
|
|
129
|
-
const playerElement = slotContentElement
|
|
129
|
+
const playerElement = slotContentElement?.shadowRoot?.querySelector(
|
|
130
130
|
"audio"
|
|
131
131
|
) as HTMLAudioElement;
|
|
132
132
|
if (playerElement) {
|
|
@@ -178,7 +178,7 @@ export default class FeaturedContentHeader extends LightningElement {
|
|
|
178
178
|
// Setting the svgs with innerHTML prevents their IDs from being rewritten
|
|
179
179
|
// which is necessary to preserve the svg masking and other effects
|
|
180
180
|
if (this.backgroundImgId && this.backgroundImgId in svgs) {
|
|
181
|
-
const bgSvg = this.template
|
|
181
|
+
const bgSvg = this.template?.querySelector(".bg-image-container");
|
|
182
182
|
if (bgSvg) {
|
|
183
183
|
// eslint-disable-next-line @lwc/lwc/no-inner-html
|
|
184
184
|
bgSvg.innerHTML = `
|