@cupra/ui-react 0.0.2-canary.0 → 0.1.0-canary.0
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/0.0.
|
|
194
|
+
const r = `https://ds-assets.cupra.com/0.2.0-canary.0/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-v0-0-
|
|
1152
|
+
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v0-2-0-canary-0"), r = es(i);
|
|
1153
1153
|
return l`${r}`;
|
|
1154
1154
|
}
|
|
1155
1155
|
/**
|
|
@@ -3895,7 +3895,7 @@ Ie = Eo([
|
|
|
3895
3895
|
b("ds-loader-bar", { skipTagAsComponentName: !0 })
|
|
3896
3896
|
], Ie);
|
|
3897
3897
|
function qt(t, ...e) {
|
|
3898
|
-
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v0-0-
|
|
3898
|
+
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v0-2-0-canary-0"), r = bi(i);
|
|
3899
3899
|
return d`${r}`;
|
|
3900
3900
|
}
|
|
3901
3901
|
const zo = qt`
|
|
@@ -7860,7 +7860,7 @@ let Ft = class extends pt {
|
|
|
7860
7860
|
}
|
|
7861
7861
|
loadThemeStyles() {
|
|
7862
7862
|
return this.loadStyles ? new Promise((t, e) => {
|
|
7863
|
-
const i = "/0.0.
|
|
7863
|
+
const i = "/0.2.0-canary.0", r = `https://ds-assets.cupra.com${i}/styles/${this.theme}/theme.css`;
|
|
7864
7864
|
if (document.head.querySelector(`link[href="${r}"]`)) t();
|
|
7865
7865
|
else {
|
|
7866
7866
|
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": "0.0
|
|
3
|
+
"version": "0.1.0-canary.0",
|
|
4
4
|
"description": "React components library",
|
|
5
5
|
"author": "SEAT S.A.",
|
|
6
6
|
"license": "SEAT S.A. Library EULA 1.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"styled-components": "^6.1.16",
|
|
38
|
-
"@cupra/ui-kit": "0.0.
|
|
38
|
+
"@cupra/ui-kit": "0.2.0-canary.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@testing-library/react": "^14.2.1",
|