@cupra/ui-react 1.0.0-canary.3 → 1.0.0-canary.5
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/README.md
CHANGED
|
@@ -48,6 +48,14 @@ npmRegistryServer: "https://registry.npmjs.org"
|
|
|
48
48
|
|
|
49
49
|
---
|
|
50
50
|
|
|
51
|
+
## Documentation & Live Playground
|
|
52
|
+
|
|
53
|
+
You can explore all `ui-react` Components, their APIs, theming options and live examples in the online documentation and playground:
|
|
54
|
+
|
|
55
|
+
[https://diagonal.cupra.com/ui-react/index.html](https://diagonal.cupra.com/ui-react/index.html)
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
51
59
|
## Versioning and Release Channels
|
|
52
60
|
|
|
53
61
|
This package is distributed through npm using **two release channels**.
|
|
@@ -3,13 +3,13 @@ https://www.npmjs.com/package/generate-license-file
|
|
|
3
3
|
|
|
4
4
|
The following npm package may be included in this product:
|
|
5
5
|
|
|
6
|
-
- @cupra/ui-kit@
|
|
6
|
+
- @cupra/ui-kit@1.0.0-canary.3
|
|
7
7
|
|
|
8
8
|
This package contains the following license:
|
|
9
9
|
|
|
10
|
-
# SEAT, S.A. Library EULA
|
|
10
|
+
# SEAT, S.A. Library EULA 1.0
|
|
11
11
|
|
|
12
|
-
SEAT, S.A.U. (hereinafter, “SEAT”) is a Spanish entity domiciled in Martorell (Barcelona), Autovía A-2, Km. 585, with a Tax Identification Number (C.I.F.) A-28.049.161, duly registered in the Mercantile Registry of Barcelona in Volume 23.662, folio 1, page number B-56.855 and whose contact email is
|
|
12
|
+
SEAT, S.A.U. (hereinafter, “SEAT”) is a Spanish entity domiciled in Martorell (Barcelona), Autovía A-2, Km. 585, with a Tax Identification Number (C.I.F.) A-28.049.161, duly registered in the Mercantile Registry of Barcelona in Volume 23.662, folio 1, page number B-56.855 and whose contact email is **ds.support@seat.es**
|
|
13
13
|
SEAT releases this End-User License Agreement (“EULA”) to specify the rights and obligations when using a library or package applicable to this EULA (“Library”).
|
|
14
14
|
|
|
15
15
|
## Library Specification
|
|
@@ -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.4/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-4"), 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-4"), 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.4", 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.5",
|
|
4
4
|
"description": "React components library",
|
|
5
5
|
"author": "SEAT S.A.",
|
|
6
6
|
"license": "SEAT S.A. Library EULA 1.0",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
10
|
"files": [
|
|
11
11
|
"LICENSE",
|
|
12
|
-
"
|
|
12
|
+
"THIRD_PARTY_LICENSES.MD",
|
|
13
13
|
"README.md",
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
@@ -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.4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@storybook/addon-docs": "^8.6.14",
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
"@testing-library/user-event": "^14.6.1",
|
|
50
50
|
"@types/react": "^18.3.20",
|
|
51
51
|
"@types/react-dom": "^18.3.5",
|
|
52
|
-
"generate-license-file": "^4.1.0",
|
|
53
52
|
"react": "^18.3.1",
|
|
54
53
|
"react-dom": "^18.3.1",
|
|
55
54
|
"shadow-dom-testing-library": "^1.0.0",
|
|
@@ -60,7 +59,7 @@
|
|
|
60
59
|
"scripts": {
|
|
61
60
|
"build": "rm -rf dist && tsc --declaration --emitDeclarationOnly && vite build --emptyOutDir false",
|
|
62
61
|
"test": "npx vitest run",
|
|
63
|
-
"generate-licenses": "
|
|
62
|
+
"generate-licenses": "npx generate-license-file --input package.json --output THIRD_PARTY_LICENSES.MD --overwrite --ci",
|
|
64
63
|
"storybook": "storybook dev -p 6006",
|
|
65
64
|
"build-storybook:cupra-diagonal": "storybook build --output-dir dist-storybook/cupra-diagonal"
|
|
66
65
|
}
|