@sbb-esta/lyne-react-dev 5.0.0-next.1-dev.1777358797 → 5.0.0-next.1-dev.1777393592

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,4 +1,4 @@
1
- import { SbbMenu } from "./menu/menu/menu.component.js";
2
1
  import { SbbMenuButton } from "./menu/menu-button/menu-button.component.js";
2
+ import { SbbMenu } from "./menu/menu/menu.component.js";
3
3
  import { SbbMenuLink } from "./menu/menu-link/menu-link.component.js";
4
4
  export { SbbMenu, SbbMenuButton, SbbMenuLink };
@@ -1,4 +1,4 @@
1
1
  import { SbbStep } from "./stepper/step/step.component.js";
2
- import { SbbStepLabel } from "./stepper/step-label/step-label.component.js";
3
2
  import { SbbStepper } from "./stepper/stepper/stepper.component.js";
3
+ import { SbbStepLabel } from "./stepper/step-label/step-label.component.js";
4
4
  export { SbbStep, SbbStepLabel, SbbStepper };
@@ -0,0 +1,8 @@
1
+ import { SbbTrainWagonButtonElement } from '@sbb-esta/lyne-elements/train.pure.js';
2
+ declare class SbbTrainWagonButtonComponentType extends SbbTrainWagonButtonElement {
3
+ set form(value: string | SbbTrainWagonButtonElement['form']);
4
+ get form(): string | SbbTrainWagonButtonElement['form'];
5
+ }
6
+ export declare const SbbTrainWagonButton: import('../../core.js').ReactWebComponent<SbbTrainWagonButtonComponentType, {}>;
7
+ export {};
8
+ //# sourceMappingURL=train-wagon-button.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"train-wagon-button.component.d.ts","sourceRoot":"","sources":["../../../../../src/react/train/train-wagon-button/train-wagon-button.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAGnF,OAAO,OAAO,gCAAiC,SAAQ,0BAA0B;IAE/E,IAAW,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,0BAA0B,CAAC,MAAM,CAAC,EAEjE;IAED,IAAW,IAAI,IAAI,MAAM,GAAG,0BAA0B,CAAC,MAAM,CAAC,CAE7D;CAEF;AAKD,eAAO,MAAM,mBAAmB,iFAI9B,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { createComponent } from "../../core.js";
2
+ import react from "react";
3
+ import { SbbTrainWagonButtonElement } from "@sbb-esta/lyne-elements/train.pure.js";
4
+ var SbbTrainWagonButton = createComponent({
5
+ tagName: "sbb-train-wagon-button",
6
+ elementClass: SbbTrainWagonButtonElement,
7
+ react
8
+ });
9
+ //#endregion
10
+ export { SbbTrainWagonButton };
11
+
12
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhaW4td2Fnb24tYnV0dG9uLmNvbXBvbmVudC5qcyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcmVhY3QvdHJhaW4vdHJhaW4td2Fnb24tYnV0dG9uL3RyYWluLXdhZ29uLWJ1dHRvbi5jb21wb25lbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiLyogYXV0b2dlbmVyYXRlZCAqL1xuaW1wb3J0IHsgY3JlYXRlQ29tcG9uZW50IH0gZnJvbSAnLi4vLi4vY29yZS5qcyc7XG5pbXBvcnQgeyBTYmJUcmFpbldhZ29uQnV0dG9uRWxlbWVudCB9IGZyb20gJ0BzYmItZXN0YS9seW5lLWVsZW1lbnRzL3RyYWluLnB1cmUuanMnO1xuaW1wb3J0IHJlYWN0IGZyb20gJ3JlYWN0JztcblxuZGVjbGFyZSBjbGFzcyBTYmJUcmFpbldhZ29uQnV0dG9uQ29tcG9uZW50VHlwZSBleHRlbmRzIFNiYlRyYWluV2Fnb25CdXR0b25FbGVtZW50IHtcbiAgLy8gQHRzLWV4cGVjdC1lcnJvciBBZGQgc3RyaW5nIHRvIHR5cGVcbiAgcHVibGljIHNldCBmb3JtKHZhbHVlOiBzdHJpbmcgfCBTYmJUcmFpbldhZ29uQnV0dG9uRWxlbWVudFsnZm9ybSddKSB7XG4gICAgc3VwZXIuZm9ybSA9IHZhbHVlIGFzIGFueTtcbiAgfVxuICAvLyBAdHMtZXhwZWN0LWVycm9yIEFkZCBzdHJpbmcgdG8gdHlwZVxuICBwdWJsaWMgZ2V0IGZvcm0oKTogc3RyaW5nIHwgU2JiVHJhaW5XYWdvbkJ1dHRvbkVsZW1lbnRbJ2Zvcm0nXSB7XG4gICAgcmV0dXJuIHN1cGVyLmZvcm07XG4gIH1cblxufVxuY29uc3QgU2JiVHJhaW5XYWdvbkJ1dHRvbkNvbXBvbmVudCA9IFNiYlRyYWluV2Fnb25CdXR0b25FbGVtZW50IGFzIHR5cGVvZiBTYmJUcmFpbldhZ29uQnV0dG9uQ29tcG9uZW50VHlwZTtcblxuXG4vLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25hbWluZy1jb252ZW50aW9uXG5leHBvcnQgY29uc3QgU2JiVHJhaW5XYWdvbkJ1dHRvbiA9IGNyZWF0ZUNvbXBvbmVudCh7XG4gIHRhZ05hbWU6ICdzYmItdHJhaW4td2Fnb24tYnV0dG9uJyxcbiAgZWxlbWVudENsYXNzOiBTYmJUcmFpbldhZ29uQnV0dG9uQ29tcG9uZW50LFxuICByZWFjdCxcbn0pO1xuIl0sIm1hcHBpbmdzIjoiOzs7QUFvQkEsSUFBYSxzQkFBc0IsZ0JBQWdCO0NBQ2pELFNBQVM7Q0FDVCxjQUFjO0NBQ2Q7Q0FDRCxDQUFDIn0=
@@ -0,0 +1,3 @@
1
+ /** @entrypoint */
2
+ export * from './train-wagon-button/train-wagon-button.component.js';
3
+ //# sourceMappingURL=train-wagon-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"train-wagon-button.d.ts","sourceRoot":"","sources":["../../../../src/react/train/train-wagon-button.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAClB,cAAc,sDAAsD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { SbbTrainWagonButton } from "./train-wagon-button/train-wagon-button.component.js";
2
+ //#region src/react/train/train-wagon-button.ts
3
+ console.warn(`The entrypoint '@sbb-esta/react/train/train-wagon-button.js' has been deprecated.
4
+ Use '@sbb-esta/react/train.js' instead.`);
5
+ //#endregion
6
+ export { SbbTrainWagonButton };
7
+
8
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhaW4td2Fnb24tYnV0dG9uLmpzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9yZWFjdC90cmFpbi90cmFpbi13YWdvbi1idXR0b24udHMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBlbnRyeXBvaW50ICovXG5leHBvcnQgKiBmcm9tICcuL3RyYWluLXdhZ29uLWJ1dHRvbi90cmFpbi13YWdvbi1idXR0b24uY29tcG9uZW50LmpzJztcblxuXG5jb25zb2xlLndhcm4oYFRoZSBlbnRyeXBvaW50ICdAc2JiLWVzdGEvcmVhY3QvdHJhaW4vdHJhaW4td2Fnb24tYnV0dG9uLmpzJyBoYXMgYmVlbiBkZXByZWNhdGVkLlxuVXNlICdAc2JiLWVzdGEvcmVhY3QvdHJhaW4uanMnIGluc3RlYWQuYCk7XG4iXSwibWFwcGluZ3MiOiI7O0FBSUEsUUFBUSxLQUFLO3lDQUM0QiJ9
@@ -0,0 +1,3 @@
1
+ import { SbbTrainWagonLinkElement } from '@sbb-esta/lyne-elements/train.pure.js';
2
+ export declare const SbbTrainWagonLink: import('../../core.js').ReactWebComponent<SbbTrainWagonLinkElement, {}>;
3
+ //# sourceMappingURL=train-wagon-link.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"train-wagon-link.component.d.ts","sourceRoot":"","sources":["../../../../../src/react/train/train-wagon-link/train-wagon-link.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAIjF,eAAO,MAAM,iBAAiB,yEAI5B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { createComponent } from "../../core.js";
2
+ import react from "react";
3
+ import { SbbTrainWagonLinkElement } from "@sbb-esta/lyne-elements/train.pure.js";
4
+ //#region src/react/train/train-wagon-link/train-wagon-link.component.ts
5
+ var SbbTrainWagonLink = createComponent({
6
+ tagName: "sbb-train-wagon-link",
7
+ elementClass: SbbTrainWagonLinkElement,
8
+ react
9
+ });
10
+ //#endregion
11
+ export { SbbTrainWagonLink };
12
+
13
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhaW4td2Fnb24tbGluay5jb21wb25lbnQuanMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL3JlYWN0L3RyYWluL3RyYWluLXdhZ29uLWxpbmsvdHJhaW4td2Fnb24tbGluay5jb21wb25lbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiLyogYXV0b2dlbmVyYXRlZCAqL1xuaW1wb3J0IHsgY3JlYXRlQ29tcG9uZW50IH0gZnJvbSAnLi4vLi4vY29yZS5qcyc7XG5pbXBvcnQgeyBTYmJUcmFpbldhZ29uTGlua0VsZW1lbnQgfSBmcm9tICdAc2JiLWVzdGEvbHluZS1lbGVtZW50cy90cmFpbi5wdXJlLmpzJztcbmltcG9ydCByZWFjdCBmcm9tICdyZWFjdCc7XG5cbi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbmFtaW5nLWNvbnZlbnRpb25cbmV4cG9ydCBjb25zdCBTYmJUcmFpbldhZ29uTGluayA9IGNyZWF0ZUNvbXBvbmVudCh7XG4gIHRhZ05hbWU6ICdzYmItdHJhaW4td2Fnb24tbGluaycsXG4gIGVsZW1lbnRDbGFzczogU2JiVHJhaW5XYWdvbkxpbmtFbGVtZW50LFxuICByZWFjdCxcbn0pO1xuIl0sIm1hcHBpbmdzIjoiOzs7O0FBTUEsSUFBYSxvQkFBb0IsZ0JBQWdCO0NBQy9DLFNBQVM7Q0FDVCxjQUFjO0NBQ2Q7Q0FDRCxDQUFDIn0=
@@ -0,0 +1,3 @@
1
+ /** @entrypoint */
2
+ export * from './train-wagon-link/train-wagon-link.component.js';
3
+ //# sourceMappingURL=train-wagon-link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"train-wagon-link.d.ts","sourceRoot":"","sources":["../../../../src/react/train/train-wagon-link.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAClB,cAAc,kDAAkD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { SbbTrainWagonLink } from "./train-wagon-link/train-wagon-link.component.js";
2
+ //#region src/react/train/train-wagon-link.ts
3
+ console.warn(`The entrypoint '@sbb-esta/react/train/train-wagon-link.js' has been deprecated.
4
+ Use '@sbb-esta/react/train.js' instead.`);
5
+ //#endregion
6
+ export { SbbTrainWagonLink };
7
+
8
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhaW4td2Fnb24tbGluay5qcyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcmVhY3QvdHJhaW4vdHJhaW4td2Fnb24tbGluay50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGVudHJ5cG9pbnQgKi9cbmV4cG9ydCAqIGZyb20gJy4vdHJhaW4td2Fnb24tbGluay90cmFpbi13YWdvbi1saW5rLmNvbXBvbmVudC5qcyc7XG5cblxuY29uc29sZS53YXJuKGBUaGUgZW50cnlwb2ludCAnQHNiYi1lc3RhL3JlYWN0L3RyYWluL3RyYWluLXdhZ29uLWxpbmsuanMnIGhhcyBiZWVuIGRlcHJlY2F0ZWQuXG5Vc2UgJ0BzYmItZXN0YS9yZWFjdC90cmFpbi5qcycgaW5zdGVhZC5gKTtcbiJdLCJtYXBwaW5ncyI6Ijs7QUFJQSxRQUFRLEtBQUs7eUNBQzRCIn0=
@@ -3,4 +3,6 @@ export * from './train/train/train.component.js';
3
3
  export * from './train/train-blocked-passage/train-blocked-passage.component.js';
4
4
  export * from './train/train-formation/train-formation.component.js';
5
5
  export * from './train/train-wagon/train-wagon.component.js';
6
+ export * from './train/train-wagon-button/train-wagon-button.component.js';
7
+ export * from './train/train-wagon-link/train-wagon-link.component.js';
6
8
  //# sourceMappingURL=train.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"train.d.ts","sourceRoot":"","sources":["../../../src/react/train.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAClB,cAAc,kCAAkC,CAAC;AACjD,cAAc,kEAAkE,CAAC;AACjF,cAAc,sDAAsD,CAAC;AACrE,cAAc,8CAA8C,CAAC"}
1
+ {"version":3,"file":"train.d.ts","sourceRoot":"","sources":["../../../src/react/train.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAClB,cAAc,kCAAkC,CAAC;AACjD,cAAc,kEAAkE,CAAC;AACjF,cAAc,sDAAsD,CAAC;AACrE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,wDAAwD,CAAC"}
@@ -2,4 +2,6 @@ import { SbbTrain } from "./train/train/train.component.js";
2
2
  import { SbbTrainBlockedPassage } from "./train/train-blocked-passage/train-blocked-passage.component.js";
3
3
  import { SbbTrainFormation } from "./train/train-formation/train-formation.component.js";
4
4
  import { SbbTrainWagon } from "./train/train-wagon/train-wagon.component.js";
5
- export { SbbTrain, SbbTrainBlockedPassage, SbbTrainFormation, SbbTrainWagon };
5
+ import { SbbTrainWagonButton } from "./train/train-wagon-button/train-wagon-button.component.js";
6
+ import { SbbTrainWagonLink } from "./train/train-wagon-link/train-wagon-link.component.js";
7
+ export { SbbTrain, SbbTrainBlockedPassage, SbbTrainFormation, SbbTrainWagon, SbbTrainWagonButton, SbbTrainWagonLink };
package/menu.js CHANGED
@@ -1,4 +1,4 @@
1
- import { SbbMenu as e } from "./menu/menu/menu.component.js";
2
- import { SbbMenuButton as t } from "./menu/menu-button/menu-button.component.js";
1
+ import { SbbMenuButton as e } from "./menu/menu-button/menu-button.component.js";
2
+ import { SbbMenu as t } from "./menu/menu/menu.component.js";
3
3
  import { SbbMenuLink as n } from "./menu/menu-link/menu-link.component.js";
4
- export { e as SbbMenu, t as SbbMenuButton, n as SbbMenuLink };
4
+ export { t as SbbMenu, e as SbbMenuButton, n as SbbMenuLink };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@sbb-esta/lyne-react-dev",
3
- "version": "5.0.0-next.1-dev.1777358797",
3
+ "version": "5.0.0-next.1-dev.1777393592",
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/80f1991d667b7e25cd4a853154683139f7257cb3"
10
+ "https://github.com/sbb-design-systems/lyne-components/commit/1f2e2f3be2e6a4ae751a9676bd737990d3a83a72"
11
11
  ],
12
12
  "type": "module",
13
13
  "exports": {
@@ -1954,6 +1954,26 @@
1954
1954
  "development": "./development/train/train-wagon.js",
1955
1955
  "default": "./train/train-wagon.js"
1956
1956
  },
1957
+ "./train/train-wagon-button": {
1958
+ "types": "./development/train/train-wagon-button.d.ts",
1959
+ "development": "./development/train/train-wagon-button.js",
1960
+ "default": "./train/train-wagon-button.js"
1961
+ },
1962
+ "./train/train-wagon-button.js": {
1963
+ "types": "./development/train/train-wagon-button.d.ts",
1964
+ "development": "./development/train/train-wagon-button.js",
1965
+ "default": "./train/train-wagon-button.js"
1966
+ },
1967
+ "./train/train-wagon-link": {
1968
+ "types": "./development/train/train-wagon-link.d.ts",
1969
+ "development": "./development/train/train-wagon-link.js",
1970
+ "default": "./train/train-wagon-link.js"
1971
+ },
1972
+ "./train/train-wagon-link.js": {
1973
+ "types": "./development/train/train-wagon-link.d.ts",
1974
+ "development": "./development/train/train-wagon-link.js",
1975
+ "default": "./train/train-wagon-link.js"
1976
+ },
1957
1977
  "./visual-checkbox": {
1958
1978
  "types": "./development/visual-checkbox.d.ts",
1959
1979
  "development": "./development/visual-checkbox.js",
package/stepper.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { SbbStep as e } from "./stepper/step/step.component.js";
2
- import { SbbStepLabel as t } from "./stepper/step-label/step-label.component.js";
3
- import { SbbStepper as n } from "./stepper/stepper/stepper.component.js";
4
- export { e as SbbStep, t as SbbStepLabel, n as SbbStepper };
2
+ import { SbbStepper as t } from "./stepper/stepper/stepper.component.js";
3
+ import { SbbStepLabel as n } from "./stepper/step-label/step-label.component.js";
4
+ export { e as SbbStep, n as SbbStepLabel, t as SbbStepper };
@@ -0,0 +1,10 @@
1
+ import { createComponent as e } from "../../core.js";
2
+ import t from "react";
3
+ import { SbbTrainWagonButtonElement as n } from "@sbb-esta/lyne-elements/train.pure.js";
4
+ var r = e({
5
+ tagName: "sbb-train-wagon-button",
6
+ elementClass: n,
7
+ react: t
8
+ });
9
+ //#endregion
10
+ export { r as SbbTrainWagonButton };
@@ -0,0 +1,5 @@
1
+ import { SbbTrainWagonButton as e } from "./train-wagon-button/train-wagon-button.component.js";
2
+ //#region src/react/train/train-wagon-button.ts
3
+ console.warn("The entrypoint '@sbb-esta/react/train/train-wagon-button.js' has been deprecated.\nUse '@sbb-esta/react/train.js' instead.");
4
+ //#endregion
5
+ export { e as SbbTrainWagonButton };
@@ -0,0 +1,11 @@
1
+ import { createComponent as e } from "../../core.js";
2
+ import t from "react";
3
+ import { SbbTrainWagonLinkElement as n } from "@sbb-esta/lyne-elements/train.pure.js";
4
+ //#region src/react/train/train-wagon-link/train-wagon-link.component.ts
5
+ var r = e({
6
+ tagName: "sbb-train-wagon-link",
7
+ elementClass: n,
8
+ react: t
9
+ });
10
+ //#endregion
11
+ export { r as SbbTrainWagonLink };
@@ -0,0 +1,5 @@
1
+ import { SbbTrainWagonLink as e } from "./train-wagon-link/train-wagon-link.component.js";
2
+ //#region src/react/train/train-wagon-link.ts
3
+ console.warn("The entrypoint '@sbb-esta/react/train/train-wagon-link.js' has been deprecated.\nUse '@sbb-esta/react/train.js' instead.");
4
+ //#endregion
5
+ export { e as SbbTrainWagonLink };
package/train.js CHANGED
@@ -2,4 +2,6 @@ import { SbbTrain as e } from "./train/train/train.component.js";
2
2
  import { SbbTrainBlockedPassage as t } from "./train/train-blocked-passage/train-blocked-passage.component.js";
3
3
  import { SbbTrainFormation as n } from "./train/train-formation/train-formation.component.js";
4
4
  import { SbbTrainWagon as r } from "./train/train-wagon/train-wagon.component.js";
5
- export { e as SbbTrain, t as SbbTrainBlockedPassage, n as SbbTrainFormation, r as SbbTrainWagon };
5
+ import { SbbTrainWagonButton as i } from "./train/train-wagon-button/train-wagon-button.component.js";
6
+ import { SbbTrainWagonLink as a } from "./train/train-wagon-link/train-wagon-link.component.js";
7
+ export { e as SbbTrain, t as SbbTrainBlockedPassage, n as SbbTrainFormation, r as SbbTrainWagon, i as SbbTrainWagonButton, a as SbbTrainWagonLink };