@cupra/ui-kit 1.0.0-canary.1 → 1.0.0-canary.2
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 +4 -4
- package/dist-react/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -191,7 +191,7 @@ class se {
|
|
|
191
191
|
theme: s
|
|
192
192
|
}) => {
|
|
193
193
|
if (!s || !e) return;
|
|
194
|
-
const i = `https://ds-assets.cupra.com/1.0.0-canary.
|
|
194
|
+
const i = `https://ds-assets.cupra.com/1.0.0-canary.2/styles/${s}/components/${e}.css`, o = this.getCachedStyleSheetPromise({ url: i });
|
|
195
195
|
if (o) return o;
|
|
196
196
|
const n = this.fetchStyle({ url: i }).then((h) => (h || this.stylePromises.delete(i), h));
|
|
197
197
|
return this.stylePromises.set(i, n), this.stylePromises.get(i);
|
|
@@ -1224,7 +1224,7 @@ let Ts = class extends Fs {
|
|
|
1224
1224
|
Ts.directiveName = "unsafeHTML", Ts.resultType = 1;
|
|
1225
1225
|
const os = js(Ts);
|
|
1226
1226
|
function C(t, ...e) {
|
|
1227
|
-
const r = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-
|
|
1227
|
+
const r = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-2"), i = os(r);
|
|
1228
1228
|
return l`${i}`;
|
|
1229
1229
|
}
|
|
1230
1230
|
/**
|
|
@@ -3972,7 +3972,7 @@ Ae = zo([
|
|
|
3972
3972
|
v("ds-loader-bar", { skipTagAsComponentName: !0 })
|
|
3973
3973
|
], Ae);
|
|
3974
3974
|
function Jt(t, ...e) {
|
|
3975
|
-
const r = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-
|
|
3975
|
+
const r = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-2"), i = vi(r);
|
|
3976
3976
|
return u`${i}`;
|
|
3977
3977
|
}
|
|
3978
3978
|
const Ao = Jt`
|
|
@@ -7938,7 +7938,7 @@ let Wt = class extends ut {
|
|
|
7938
7938
|
}
|
|
7939
7939
|
loadThemeStyles() {
|
|
7940
7940
|
return this.loadStyles ? new Promise((t, e) => {
|
|
7941
|
-
const s = "/1.0.0-canary.
|
|
7941
|
+
const s = "/1.0.0-canary.2", r = `https://ds-assets.cupra.com${s}/styles/${this.theme}/theme.css`;
|
|
7942
7942
|
if (document.head.querySelector(`link[href="${r}"]`)) t();
|
|
7943
7943
|
else {
|
|
7944
7944
|
const i = `ui-kit-theme-${s}`, o = document.getElementById(i), n = document.createElement("link");
|
package/dist-react/index.js
CHANGED
|
@@ -191,7 +191,7 @@ class ee {
|
|
|
191
191
|
theme: s
|
|
192
192
|
}) => {
|
|
193
193
|
if (!s || !e) return;
|
|
194
|
-
const i = `https://ds-assets.cupra.com/1.0.0-canary.
|
|
194
|
+
const i = `https://ds-assets.cupra.com/1.0.0-canary.2/styles/${s}/components/${e}.css`, o = this.getCachedStyleSheetPromise({ url: i });
|
|
195
195
|
if (o) return o;
|
|
196
196
|
const n = this.fetchStyle({ url: i }).then((h) => (h || this.stylePromises.delete(i), h));
|
|
197
197
|
return this.stylePromises.set(i, n), this.stylePromises.get(i);
|
|
@@ -1149,7 +1149,7 @@ let Ts = class extends Fs {
|
|
|
1149
1149
|
Ts.directiveName = "unsafeHTML", Ts.resultType = 1;
|
|
1150
1150
|
const os = js(Ts);
|
|
1151
1151
|
function C(t, ...e) {
|
|
1152
|
-
const r = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-
|
|
1152
|
+
const r = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-2"), i = os(r);
|
|
1153
1153
|
return l`${i}`;
|
|
1154
1154
|
}
|
|
1155
1155
|
/**
|
|
@@ -3897,7 +3897,7 @@ Ae = Po([
|
|
|
3897
3897
|
v("ds-loader-bar", { skipTagAsComponentName: !0 })
|
|
3898
3898
|
], Ae);
|
|
3899
3899
|
function Xt(t, ...e) {
|
|
3900
|
-
const r = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-
|
|
3900
|
+
const r = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-2"), i = vi(r);
|
|
3901
3901
|
return u`${i}`;
|
|
3902
3902
|
}
|
|
3903
3903
|
const Io = Xt`
|
|
@@ -7863,7 +7863,7 @@ let Ht = class extends ut {
|
|
|
7863
7863
|
}
|
|
7864
7864
|
loadThemeStyles() {
|
|
7865
7865
|
return this.loadStyles ? new Promise((t, e) => {
|
|
7866
|
-
const s = "/1.0.0-canary.
|
|
7866
|
+
const s = "/1.0.0-canary.2", r = `https://ds-assets.cupra.com${s}/styles/${this.theme}/theme.css`;
|
|
7867
7867
|
if (document.head.querySelector(`link[href="${r}"]`)) t();
|
|
7868
7868
|
else {
|
|
7869
7869
|
const i = `ui-kit-theme-${s}`, o = document.getElementById(i), n = document.createElement("link");
|