@cupra/ui-react 1.0.0-canary.10 → 1.0.0-canary.12

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
@@ -137,7 +137,7 @@ export function App() {
137
137
  <>
138
138
  <link rel="preload" as="style" href="https://ds-assets.cupra.com/[version]/styles/cupra/theme.css" />
139
139
  <link rel="stylesheet" href="https://ds-assets.cupra.com/[version]/styles/cupra/theme.css" />
140
- <ThemeProvider theme="cupra" loadFonts={false} loadStyles={false}>
140
+ <ThemeProvider theme="cupra-diagonal" loadFonts={false} loadStyles={false}>
141
141
  <Button variant="destructive" icon-name="filters-background">Click me</Button>
142
142
  <Icon icon-name="filters-background" />
143
143
  </ThemeProvider>
@@ -153,7 +153,7 @@ import { ThemeProvider, Button } from '@cupra/ui-react';
153
153
 
154
154
  export function App() {
155
155
  return (
156
- <ThemeProvider theme="cupra" loadFonts={true} loadStyles={true}>
156
+ <ThemeProvider theme="cupra-diagonal" loadFonts={true} loadStyles={true}>
157
157
  <Button variant="primary">Button</Button>
158
158
  </ThemeProvider>
159
159
  );
@@ -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.7/styles/${i}/components/${e}.css`, s = this.getCachedStyleSheetPromise({ url: r });
194
+ const r = `https://ds-assets.cupra.com/1.0.0-canary.8/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-7"), r = es(i);
1153
+ const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-8"), 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-7"), r = bi(i);
3899
+ const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-8"), 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.7", r = `https://ds-assets.cupra.com${i}/styles/${this.theme}/theme.css`;
7865
+ const i = "/1.0.0-canary.8", 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.10",
3
+ "version": "1.0.0-canary.12",
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.7"
39
+ "@cupra/ui-kit": "1.0.0-canary.8"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@storybook/addon-docs": "^8.6.14",