@cupra/ui-react 2.0.0-canary.196 → 2.0.0-canary.198
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 +23 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -28,6 +28,29 @@ This library currently provides **official support for React 18**.
|
|
|
28
28
|
|
|
29
29
|
Projects using other React versions may still install and use the library, but behaviour is not guaranteed until official support is released.
|
|
30
30
|
|
|
31
|
+
### Browser Support
|
|
32
|
+
|
|
33
|
+
This package wraps `@cupra/ui-kit` Web Components, so the same browser/OS support matrix applies:
|
|
34
|
+
|
|
35
|
+
| Platform | Minimum supported version |
|
|
36
|
+
| --- | --- |
|
|
37
|
+
| iOS / iPadOS | 17+ |
|
|
38
|
+
| Android | 13+ |
|
|
39
|
+
| Chrome (desktop) | Current stable version − 1 |
|
|
40
|
+
| Edge (desktop) | Current stable version − 1 |
|
|
41
|
+
| Firefox (desktop) | Current stable version − 1 |
|
|
42
|
+
| Safari (desktop) | Latest version available on supported macOS releases |
|
|
43
|
+
|
|
44
|
+
Any browser/OS version representing more than 1% of total website traffic remains supported even
|
|
45
|
+
if it falls below these versions, until its traffic share drops back under that threshold.
|
|
46
|
+
|
|
47
|
+
The published JavaScript is transpiled to a conservative ES2020 target, but no polyfills are
|
|
48
|
+
shipped for runtime APIs below the versions above, and native support for Custom Elements,
|
|
49
|
+
Shadow DOM and `<slot>` is required.
|
|
50
|
+
|
|
51
|
+
Full rationale, transpilation details and maintenance guide:
|
|
52
|
+
[BROWSER_SUPPORT.md](../../BROWSER_SUPPORT.md) (repository only — not included in the npm package).
|
|
53
|
+
|
|
31
54
|
---
|
|
32
55
|
|
|
33
56
|
## TypeScript and module resolution
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cupra/ui-react",
|
|
3
|
-
"version": "2.0.0-canary.
|
|
3
|
+
"version": "2.0.0-canary.198",
|
|
4
4
|
"description": "React components library",
|
|
5
5
|
"author": "SEAT S.A.",
|
|
6
6
|
"license": "SEAT S.A. Library EULA 1.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": ">= 18.3.1 < 20",
|
|
54
54
|
"react-dom": ">= 18.3.1 < 20",
|
|
55
|
-
"@cupra/ui-kit": "2.0.0-canary.
|
|
55
|
+
"@cupra/ui-kit": "2.0.0-canary.184",
|
|
56
56
|
"typescript": ">=5.0.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"storybook": "^10.3.3",
|
|
75
75
|
"typescript": "^5.8.2",
|
|
76
76
|
"vite": "^8.0.16",
|
|
77
|
-
"@cupra/ui-kit": "2.0.0-canary.
|
|
77
|
+
"@cupra/ui-kit": "2.0.0-canary.184"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"build": "rm -rf dist && pnpm --filter @cupra/ui-kit build:react && tsc --declaration --emitDeclarationOnly && BUILD_FORMAT=esm vite build --emptyOutDir false && BUILD_FORMAT=cjs vite build --emptyOutDir false",
|