@sbb-esta/lyne-react 5.2.0 → 5.4.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.
@@ -0,0 +1,2 @@
1
+ import { SbbDownloadElement } from '@sbb-esta/lyne-elements/download.pure.js';
2
+ export declare const SbbDownload: import("../../core.js").ReactWebComponent<SbbDownloadElement, {}>;
@@ -0,0 +1,2 @@
1
+ import { SbbDownloadInfoElement } from '@sbb-esta/lyne-elements/download.pure.js';
2
+ export declare const SbbDownloadInfo: import("../../core.js").ReactWebComponent<SbbDownloadInfoElement, {}>;
@@ -0,0 +1,3 @@
1
+ /** @entrypoint */
2
+ export * from './download/download/download.component.js';
3
+ export * from './download/download-info/download-info.component.js';
@@ -0,0 +1,21 @@
1
+ import { createComponent } from "./core.js";
2
+ import { SbbDownloadElement, SbbDownloadInfoElement } from "@sbb-esta/lyne-elements/download.pure.js";
3
+ import react from "react";
4
+
5
+ //#region src/react/download/download/download.component.ts
6
+ const SbbDownload = createComponent({
7
+ tagName: "sbb-download",
8
+ elementClass: SbbDownloadElement,
9
+ react
10
+ });
11
+
12
+ //#endregion
13
+ //#region src/react/download/download-info/download-info.component.ts
14
+ const SbbDownloadInfo = createComponent({
15
+ tagName: "sbb-download-info",
16
+ elementClass: SbbDownloadInfoElement,
17
+ react
18
+ });
19
+
20
+ //#endregion
21
+ export { SbbDownload, SbbDownloadInfo };
package/download.js ADDED
@@ -0,0 +1 @@
1
+ import{createComponent as e}from"./core.js";import{SbbDownloadElement as t,SbbDownloadInfoElement as n}from"@sbb-esta/lyne-elements/download.pure.js";import r from"react";const i=e({tagName:`sbb-download`,elementClass:t,react:r}),a=e({tagName:`sbb-download-info`,elementClass:n,react:r});export{i as SbbDownload,a as SbbDownloadInfo};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sbb-esta/lyne-react",
3
- "version": "5.2.0",
3
+ "version": "5.4.0",
4
4
  "description": "Lyne Design System React Library",
5
5
  "keywords": [
6
6
  "design system",
@@ -223,6 +223,16 @@
223
223
  "development": "./development/divider.js",
224
224
  "default": "./divider.js"
225
225
  },
226
+ "./download": {
227
+ "types": "./development/download.d.ts",
228
+ "development": "./development/download.js",
229
+ "default": "./download.js"
230
+ },
231
+ "./download.js": {
232
+ "types": "./development/download.d.ts",
233
+ "development": "./development/download.js",
234
+ "default": "./download.js"
235
+ },
226
236
  "./expansion-panel": {
227
237
  "types": "./development/expansion-panel.d.ts",
228
238
  "development": "./development/expansion-panel.js",
@@ -795,7 +805,7 @@
795
805
  }
796
806
  },
797
807
  "peerDependencies": {
798
- "@sbb-esta/lyne-elements": "5.2.0",
808
+ "@sbb-esta/lyne-elements": "5.4.0",
799
809
  "react": "^18.2.0 || ^19.0.0"
800
810
  },
801
811
  "dependencies": {