lido-player 0.0.2-alpha-12 → 0.0.2-alpha-13
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/cjs/lido-avatar_13.cjs.entry.js +5 -5
- package/dist/cjs/lido-avatar_13.cjs.entry.js.map +1 -1
- package/dist/collection/components/avatar/lido-avatar.js +7 -7
- package/dist/collection/components/avatar/lido-avatar.js.map +1 -1
- package/dist/components/lido-avatar.js +1 -1
- package/dist/components/lido-home.js +1 -1
- package/dist/components/lido-root.js +2 -2
- package/dist/components/{p-05af960d.js → p-b25a268c.js} +8 -8
- package/dist/components/{p-05af960d.js.map → p-b25a268c.js.map} +1 -1
- package/dist/components/{p-a4b2d639.js → p-f7703d6d.js} +2 -2
- package/dist/components/{p-a4b2d639.js.map → p-f7703d6d.js.map} +1 -1
- package/dist/esm/lido-avatar_13.entry.js +7 -7
- package/dist/esm/lido-avatar_13.entry.js.map +1 -1
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/{p-9e2e2475.entry.js → p-be5b4489.entry.js} +2 -2
- package/dist/lido-player/p-be5b4489.entry.js.map +1 -0
- package/package.json +1 -1
- package/dist/lido-player/p-9e2e2475.entry.js.map +0 -1
|
@@ -6573,10 +6573,10 @@ const LidoAvatar = class {
|
|
|
6573
6573
|
*/
|
|
6574
6574
|
async componentDidLoad() {
|
|
6575
6575
|
utils.initEventsForElement(this.el, this.type);
|
|
6576
|
-
const resolvedPath = this.src.startsWith('http')
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
this.initializeRive(
|
|
6576
|
+
// const resolvedPath = this.src.startsWith('http')
|
|
6577
|
+
// ? this.src // Use the provided URL if it's an HTTP/HTTPS link
|
|
6578
|
+
// : getAssetPath(this.src); // Otherwise, resolve it as an asset path
|
|
6579
|
+
this.initializeRive(utils.convertUrlToRelative(this.src));
|
|
6580
6580
|
}
|
|
6581
6581
|
render() {
|
|
6582
6582
|
// Inline styles applied to the column, mainly for positioning and background.
|
|
@@ -6589,7 +6589,7 @@ const LidoAvatar = class {
|
|
|
6589
6589
|
display: this.visible ? 'flex' : 'none',
|
|
6590
6590
|
zIndex: this.z,
|
|
6591
6591
|
};
|
|
6592
|
-
return (index.h(index.Host, { key: '
|
|
6592
|
+
return (index.h(index.Host, { key: '7cbafd15e6ffab907fb5ce58446971a5681de60c', id: this.id, type: this.type, tabindex: this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("canvas", { key: 'e4809a9cbe812db6aace7dc00dd21f748d0170b5', class: "lido-canvas" })));
|
|
6593
6593
|
}
|
|
6594
6594
|
get el() { return index.getElement(this); }
|
|
6595
6595
|
};
|