@sbb-esta/lyne-react-dev 5.7.0-dev.1788418894 → 5.7.0-dev.1788418930
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/development/teaser/teaser/teaser.component.d.ts +9 -0
- package/development/teaser/teaser-static/teaser-static.component.d.ts +9 -0
- package/development/teaser.d.ts +2 -1
- package/development/teaser.js +14 -4
- package/package.json +2 -2
- package/teaser.js +1 -1
- package/development/teaser/teaser.component.d.ts +0 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SbbTeaserElement } from '@sbb-esta/lyne-elements/teaser.pure.js';
|
|
2
|
+
declare class SbbTeaserComponentType extends SbbTeaserElement {
|
|
3
|
+
set alignment(value: string | SbbTeaserElement['alignment']);
|
|
4
|
+
get alignment(): string | SbbTeaserElement['alignment'];
|
|
5
|
+
set size(value: string | SbbTeaserElement['size']);
|
|
6
|
+
get size(): string | SbbTeaserElement['size'];
|
|
7
|
+
}
|
|
8
|
+
export declare const SbbTeaser: import("../../core.js").ReactWebComponent<SbbTeaserComponentType, {}>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SbbTeaserStaticElement } from '@sbb-esta/lyne-elements/teaser.pure.js';
|
|
2
|
+
declare class SbbTeaserStaticComponentType extends SbbTeaserStaticElement {
|
|
3
|
+
set alignment(value: string | SbbTeaserStaticElement['alignment']);
|
|
4
|
+
get alignment(): string | SbbTeaserStaticElement['alignment'];
|
|
5
|
+
set size(value: string | SbbTeaserStaticElement['size']);
|
|
6
|
+
get size(): string | SbbTeaserStaticElement['size'];
|
|
7
|
+
}
|
|
8
|
+
export declare const SbbTeaserStatic: import("../../core.js").ReactWebComponent<SbbTeaserStaticComponentType, {}>;
|
|
9
|
+
export {};
|
package/development/teaser.d.ts
CHANGED
package/development/teaser.js
CHANGED
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import { createComponent } from "./core.js";
|
|
2
|
-
import { SbbTeaserElement } from "@sbb-esta/lyne-elements/teaser.pure.js";
|
|
2
|
+
import { SbbTeaserElement, SbbTeaserStaticElement } from "@sbb-esta/lyne-elements/teaser.pure.js";
|
|
3
3
|
import react from "react";
|
|
4
4
|
|
|
5
|
-
//#region src/react/teaser/teaser.component.ts
|
|
5
|
+
//#region src/react/teaser/teaser/teaser.component.ts
|
|
6
|
+
const SbbTeaserComponent = SbbTeaserElement;
|
|
6
7
|
const SbbTeaser = createComponent({
|
|
7
8
|
tagName: "sbb-teaser",
|
|
8
|
-
elementClass:
|
|
9
|
+
elementClass: SbbTeaserComponent,
|
|
9
10
|
react
|
|
10
11
|
});
|
|
11
12
|
|
|
12
13
|
//#endregion
|
|
13
|
-
|
|
14
|
+
//#region src/react/teaser/teaser-static/teaser-static.component.ts
|
|
15
|
+
const SbbTeaserStaticComponent = SbbTeaserStaticElement;
|
|
16
|
+
const SbbTeaserStatic = createComponent({
|
|
17
|
+
tagName: "sbb-teaser-static",
|
|
18
|
+
elementClass: SbbTeaserStaticComponent,
|
|
19
|
+
react
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { SbbTeaser, SbbTeaserStatic };
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-react-dev",
|
|
3
|
-
"version": "5.7.0-dev.
|
|
3
|
+
"version": "5.7.0-dev.1788418930",
|
|
4
4
|
"description": "Lyne Design System React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
7
7
|
"web components",
|
|
8
8
|
"lit",
|
|
9
9
|
"react",
|
|
10
|
-
"https://github.com/sbb-design-systems/lyne-components/commit/
|
|
10
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/5ea4e9125276d67358e85e3e8808c1cbbdf1f557"
|
|
11
11
|
],
|
|
12
12
|
"type": "module",
|
|
13
13
|
"exports": {
|
package/teaser.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createComponent as e}from"./core.js";import{SbbTeaserElement as t}from"@sbb-esta/lyne-elements/teaser.pure.js";import
|
|
1
|
+
import{createComponent as e}from"./core.js";import{SbbTeaserElement as t,SbbTeaserStaticElement as n}from"@sbb-esta/lyne-elements/teaser.pure.js";import r from"react";const i=e({tagName:`sbb-teaser`,elementClass:t,react:r}),a=e({tagName:`sbb-teaser-static`,elementClass:n,react:r});export{i as SbbTeaser,a as SbbTeaserStatic};
|