@tmorrow/cre8-wc 2.0.1 → 2.0.3
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/cdn/cre8-wc.esm.js +2 -2
- package/cdn/cre8-wc.esm.js.map +1 -1
- package/cdn/cre8-wc.min.js +1 -1
- package/cdn/cre8-wc.min.js.map +1 -1
- package/lib/components/icon/icon.d.ts +4 -3
- package/lib/components/icon/icon.d.ts.map +1 -1
- package/lib/components/icon/icon.js +5 -4
- package/lib/components/icon/icon.js.map +1 -1
- package/lib/vite.config.cdn.js +1 -1
- package/lib/vite.config.cdn.js.map +1 -1
- package/lib/vite.config.js +1 -1
- package/lib/vite.config.js.map +1 -1
- package/mcp-manifest.json +2 -2
- package/package.json +1 -1
package/cdn/cre8-wc.esm.js
CHANGED
|
@@ -3150,14 +3150,14 @@ const xs = class xs extends C {
|
|
|
3150
3150
|
super(...arguments), this.iconUrl = lh;
|
|
3151
3151
|
}
|
|
3152
3152
|
/**
|
|
3153
|
-
* Get the path to the icons, either by overriding it on the window
|
|
3153
|
+
* Get the path to the @tmorrow/cre8-wc/icons, either by overriding it on the window
|
|
3154
3154
|
* or by using the bundled icon path
|
|
3155
3155
|
*/
|
|
3156
3156
|
getIconPath() {
|
|
3157
3157
|
if (window.Cre8_ICON_URL)
|
|
3158
3158
|
return window.Cre8_ICON_URL;
|
|
3159
3159
|
const t = document.querySelector('script[src$="icon"]');
|
|
3160
|
-
return t ? `${t.src.replace(/^(.+)\/.*$/, "$1")}/svgs/svgs.svg
|
|
3160
|
+
return t ? `${t.src.replace(/^(.+)\/.*$/, "$1")}/svgs/svgs.svg` : this.iconUrl;
|
|
3161
3161
|
}
|
|
3162
3162
|
render() {
|
|
3163
3163
|
const t = this.componentClassNames("cre8-c-icon-wrapper", {});
|