@cupra/ui-react 2.0.0-canary.87 → 2.0.0-canary.88

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime");require("@cupra/ui-kit/react/ds-main-title");function s(t){const{className:e,children:i,...r}=t;return n.jsx("ds-main-title-react",{class:e,...r,children:i})}function o(t){const{as:e,children:i,...r}=t;return n.jsx(e,{slot:"title",...r,children:i})}function c(t){const{as:e,children:i,...r}=t;return n.jsx(e,{slot:"description",...r,children:i})}s.Title=o;s.Description=c;exports.MainTitle=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime");require("@cupra/ui-kit/react/ds-main-title");function n(t){const{className:e,children:i,...r}=t;return s.jsx("ds-main-title-react",{class:e,...r,children:i})}function l(t){const{as:e,children:i,...r}=t;return s.jsx(e,{slot:"title",...r,children:i})}function o(t){const{as:e,children:i,...r}=t;return s.jsx(e,{slot:"subtitle",...r,children:i})}n.Title=l;n.Subtitle=o;exports.MainTitle=n;
@@ -1,19 +1,19 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { jsx as o } from "react/jsx-runtime";
2
2
  import "@cupra/ui-kit/react/ds-main-title";
3
3
  function n(t) {
4
- const { className: r, children: i, ...o } = t;
5
- return /* @__PURE__ */ e("ds-main-title-react", { class: r, ...o, children: i });
4
+ const { className: e, children: r, ...i } = t;
5
+ return /* @__PURE__ */ o("ds-main-title-react", { class: e, ...i, children: r });
6
6
  }
7
7
  function s(t) {
8
- const { as: r, children: i, ...o } = t;
9
- return /* @__PURE__ */ e(r, { slot: "title", ...o, children: i });
8
+ const { as: e, children: r, ...i } = t;
9
+ return /* @__PURE__ */ o(e, { slot: "title", ...i, children: r });
10
10
  }
11
- function c(t) {
12
- const { as: r, children: i, ...o } = t;
13
- return /* @__PURE__ */ e(r, { slot: "description", ...o, children: i });
11
+ function l(t) {
12
+ const { as: e, children: r, ...i } = t;
13
+ return /* @__PURE__ */ o(e, { slot: "subtitle", ...i, children: r });
14
14
  }
15
15
  n.Title = s;
16
- n.Description = c;
16
+ n.Subtitle = l;
17
17
  export {
18
18
  n as MainTitle
19
19
  };
@@ -12,6 +12,6 @@ type MainTitleProps = DsMainTitleAttrs & {
12
12
  export declare function MainTitle(props: MainTitleProps): ReactElement;
13
13
  export declare namespace MainTitle {
14
14
  var Title: (props: MainTitleSubProps) => ReactElement;
15
- var Description: (props: MainTitleSubProps) => ReactElement;
15
+ var Subtitle: (props: MainTitleSubProps) => ReactElement;
16
16
  }
17
17
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cupra/ui-react",
3
- "version": "2.0.0-canary.87",
3
+ "version": "2.0.0-canary.88",
4
4
  "description": "React components library",
5
5
  "author": "SEAT S.A.",
6
6
  "license": "SEAT S.A. Library EULA 1.0",
@@ -51,7 +51,7 @@
51
51
  "peerDependencies": {
52
52
  "react": ">= 18.3.1 < 20",
53
53
  "react-dom": ">= 18.3.1 < 20",
54
- "@cupra/ui-kit": "2.0.0-canary.76",
54
+ "@cupra/ui-kit": "2.0.0-canary.77",
55
55
  "typescript": ">=5.0.0"
56
56
  },
57
57
  "dependencies": {
@@ -76,7 +76,7 @@
76
76
  "storybook": "^8.6.17",
77
77
  "typescript": "^5.8.2",
78
78
  "vite": "^6.4.1",
79
- "@cupra/ui-kit": "2.0.0-canary.76"
79
+ "@cupra/ui-kit": "2.0.0-canary.77"
80
80
  },
81
81
  "scripts": {
82
82
  "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",