@cupra/ui-react 1.0.0-canary.2 → 1.0.0-canary.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.
|
@@ -191,7 +191,7 @@ class Jt {
|
|
|
191
191
|
theme: i
|
|
192
192
|
}) => {
|
|
193
193
|
if (!i || !e) return;
|
|
194
|
-
const r = `https://ds-assets.cupra.com/1.0.0-canary.
|
|
194
|
+
const r = `https://ds-assets.cupra.com/1.0.0-canary.3/styles/${i}/components/${e}.css`, s = this.getCachedStyleSheetPromise({ url: r });
|
|
195
195
|
if (s) return s;
|
|
196
196
|
const o = this.fetchStyle({ url: r }).then((n) => (n || this.stylePromises.delete(r), n));
|
|
197
197
|
return this.stylePromises.set(r, o), this.stylePromises.get(r);
|
|
@@ -1149,7 +1149,7 @@ let ys = class extends Bs {
|
|
|
1149
1149
|
ys.directiveName = "unsafeHTML", ys.resultType = 1;
|
|
1150
1150
|
const es = Ns(ys);
|
|
1151
1151
|
function C(t, ...e) {
|
|
1152
|
-
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-
|
|
1152
|
+
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-3"), r = es(i);
|
|
1153
1153
|
return l`${r}`;
|
|
1154
1154
|
}
|
|
1155
1155
|
/**
|
|
@@ -3891,7 +3891,7 @@ Ie = Eo([
|
|
|
3891
3891
|
b("ds-loader-bar", { skipTagAsComponentName: !0 })
|
|
3892
3892
|
], Ie);
|
|
3893
3893
|
function qt(t, ...e) {
|
|
3894
|
-
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-
|
|
3894
|
+
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-3"), r = bi(i);
|
|
3895
3895
|
return h`${r}`;
|
|
3896
3896
|
}
|
|
3897
3897
|
const zo = qt`
|
|
@@ -7857,7 +7857,7 @@ let Ft = class extends pt {
|
|
|
7857
7857
|
}
|
|
7858
7858
|
loadThemeStyles() {
|
|
7859
7859
|
return this.loadStyles ? new Promise((t, e) => {
|
|
7860
|
-
const i = "/1.0.0-canary.
|
|
7860
|
+
const i = "/1.0.0-canary.3", r = `https://ds-assets.cupra.com${i}/styles/${this.theme}/theme.css`;
|
|
7861
7861
|
if (document.head.querySelector(`link[href="${r}"]`)) t();
|
|
7862
7862
|
else {
|
|
7863
7863
|
const s = `ui-kit-theme-${i}`, o = document.getElementById(s), n = document.createElement("link");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cupra/ui-react",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.3",
|
|
4
4
|
"description": "React components library",
|
|
5
5
|
"author": "SEAT S.A.",
|
|
6
6
|
"license": "SEAT S.A. Library EULA 1.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"styled-components": "^6.1.16",
|
|
39
|
-
"@cupra/ui-kit": "1.0.0-canary.
|
|
39
|
+
"@cupra/ui-kit": "1.0.0-canary.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@storybook/addon-docs": "^8.6.14",
|