@cupra/ui-react 1.0.0-canary.8 → 1.0.0-canary.9
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 Zt {
|
|
|
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.6/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);
|
|
@@ -1150,7 +1150,7 @@ let ys = class extends Bs {
|
|
|
1150
1150
|
ys.directiveName = "unsafeHTML", ys.resultType = 1;
|
|
1151
1151
|
const es = Ns(ys);
|
|
1152
1152
|
function C(t, ...e) {
|
|
1153
|
-
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-
|
|
1153
|
+
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-6"), r = es(i);
|
|
1154
1154
|
return l`${r}`;
|
|
1155
1155
|
}
|
|
1156
1156
|
/**
|
|
@@ -3896,7 +3896,7 @@ Ie = Eo([
|
|
|
3896
3896
|
b("ds-loader-bar", { skipTagAsComponentName: !0 })
|
|
3897
3897
|
], Ie);
|
|
3898
3898
|
function Kt(t, ...e) {
|
|
3899
|
-
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-
|
|
3899
|
+
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-6"), r = bi(i);
|
|
3900
3900
|
return h`${r}`;
|
|
3901
3901
|
}
|
|
3902
3902
|
const zo = Kt`
|
|
@@ -7862,7 +7862,7 @@ let Rt = class extends ut {
|
|
|
7862
7862
|
}
|
|
7863
7863
|
loadThemeStyles() {
|
|
7864
7864
|
return this.loadStyles ? new Promise((t, e) => {
|
|
7865
|
-
const i = "/1.0.0-canary.
|
|
7865
|
+
const i = "/1.0.0-canary.6", r = `https://ds-assets.cupra.com${i}/styles/${this.theme}/theme.css`;
|
|
7866
7866
|
if (document.head.querySelector(`link[href="${r}"]`)) t();
|
|
7867
7867
|
else {
|
|
7868
7868
|
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.9",
|
|
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.6"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@storybook/addon-docs": "^8.6.14",
|