@sbb-esta/lyne-elements-dev 5.0.0-next.1-dev.1777358786 → 5.0.0-next.1-dev.1777366078
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/core/i18n/i18n.js +103 -98
- package/core/styles/core.scss +15 -38
- package/core.css +57 -31
- package/core.js +22 -22
- package/custom-elements.json +9791 -6363
- package/development/core/i18n/i18n.d.ts +1 -0
- package/development/core/i18n/i18n.d.ts.map +1 -1
- package/development/core/i18n/i18n.js +8 -2
- package/development/core.js +2 -2
- package/development/train/train/train.component.d.ts +2 -5
- package/development/train/train/train.component.d.ts.map +1 -1
- package/development/train/train/train.component.js +1 -1
- package/development/train/train-blocked-passage/train-blocked-passage.component.d.ts +4 -3
- package/development/train/train-blocked-passage/train-blocked-passage.component.d.ts.map +1 -1
- package/development/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/development/train/train-formation/train-formation.component.d.ts +6 -2
- package/development/train/train-formation/train-formation.component.d.ts.map +1 -1
- package/development/train/train-formation/train-formation.component.js +1 -1
- package/development/train/train-formation-orientation-mixin.d.ts +12 -0
- package/development/train/train-formation-orientation-mixin.d.ts.map +1 -0
- package/development/train/train-formation-orientation-mixin.js +62 -0
- package/development/train/train-wagon/train-wagon.component.d.ts +5 -32
- package/development/train/train-wagon/train-wagon.component.d.ts.map +1 -1
- package/development/train/train-wagon/train-wagon.component.js +19 -1
- package/development/train/train-wagon-button/train-wagon-button.component.d.ts +18 -0
- package/development/train/train-wagon-button/train-wagon-button.component.d.ts.map +1 -0
- package/development/train/train-wagon-button/train-wagon-button.component.js +18 -0
- package/development/train/train-wagon-common.d.ts +15 -0
- package/development/train/train-wagon-common.d.ts.map +1 -0
- package/development/train/train-wagon-common.js +2 -0
- package/development/train/train-wagon-link/train-wagon-link.component.d.ts +18 -0
- package/development/train/train-wagon-link/train-wagon-link.component.d.ts.map +1 -0
- package/development/train/train-wagon-link/train-wagon-link.component.js +18 -0
- package/development/train-blocked-passage.component-BgBnEOfh.js +22 -0
- package/development/train-formation.component-CDKR5KCm.js +194 -0
- package/development/train-wagon-common-S3OJdguG.js +441 -0
- package/development/train.component-CP9QaQk8.js +239 -0
- package/development/train.d.ts.map +1 -1
- package/development/train.js +13 -7
- package/development/train.pure.d.ts +4 -0
- package/development/train.pure.d.ts.map +1 -1
- package/development/train.pure.js +9 -5
- package/index.d.ts +3 -1
- package/index.js +3 -1
- package/off-brand-theme.css +57 -31
- package/package.json +2 -2
- package/safety-theme.css +57 -31
- package/standard-theme.css +57 -31
- package/train/train/train.component.js +1 -1
- package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/train/train-formation/train-formation.component.js +1 -1
- package/train/train-formation-orientation-mixin.js +45 -0
- package/train/train-wagon/train-wagon.component.js +13 -2
- package/train/train-wagon-button/train-wagon-button.component.js +10 -0
- package/train/train-wagon-common.js +2 -0
- package/train/train-wagon-link/train-wagon-link.component.js +10 -0
- package/train-blocked-passage.component-voZ8fxiB.js +14 -0
- package/train-formation.component-6XQVXPue.js +147 -0
- package/train-wagon-common-DTN_G78z.js +354 -0
- package/train.component-3vmLxVCZ.js +181 -0
- package/train.js +10 -6
- package/train.pure.js +9 -5
- package/development/train-blocked-passage.component-Bh2dR1gn.js +0 -30
- package/development/train-formation.component-Dm0t9N_h.js +0 -149
- package/development/train-wagon.component-B6V4dPKn.js +0 -334
- package/development/train.component-BvbNBkZF.js +0 -229
- package/train-blocked-passage.component-DIh8dbU9.js +0 -22
- package/train-formation.component-DS4EDwPY.js +0 -117
- package/train-wagon.component-LwKwwuta.js +0 -257
- package/train.component-DuFi_iBX.js +0 -174
package/core/styles/core.scss
CHANGED
|
@@ -254,6 +254,15 @@ $theme: 'standard' !default;
|
|
|
254
254
|
@use '../../tabs/common/tab-group-common.global' as tab-group-common with (
|
|
255
255
|
$theme: $theme
|
|
256
256
|
);
|
|
257
|
+
@use '../../train/train-blocked-passage/train-blocked-passage.global' as train-blocked-passage with (
|
|
258
|
+
$theme: $theme
|
|
259
|
+
);
|
|
260
|
+
@use '../../train/train-formation/train-formation.global' as train-formation with (
|
|
261
|
+
$theme: $theme
|
|
262
|
+
);
|
|
263
|
+
@use '../../train/train-wagon-common.global' as train-wagon-common with (
|
|
264
|
+
$theme: $theme
|
|
265
|
+
);
|
|
257
266
|
@use '../../tabs/common/tab-label-common.global' as tab-label-common with (
|
|
258
267
|
$theme: $theme
|
|
259
268
|
);
|
|
@@ -393,6 +402,9 @@ $theme: 'standard' !default;
|
|
|
393
402
|
@include stepper.base;
|
|
394
403
|
@include tab-group-common.base;
|
|
395
404
|
@include tab-label-common.base;
|
|
405
|
+
@include train-blocked-passage.base;
|
|
406
|
+
@include train-formation.base;
|
|
407
|
+
@include train-wagon-common.base;
|
|
396
408
|
@include tag.base;
|
|
397
409
|
@include teaser.base;
|
|
398
410
|
@include teaser-hero.base;
|
|
@@ -430,13 +442,11 @@ $theme: 'standard' !default;
|
|
|
430
442
|
@include tag.base-forced-colors;
|
|
431
443
|
@include toggle-check.base-forced-colors;
|
|
432
444
|
@include toggle.base-forced-colors;
|
|
445
|
+
@include train-blocked-passage.forced-colors;
|
|
446
|
+
@include train-formation.forced-colors;
|
|
447
|
+
@include train-wagon-common.forced-colors;
|
|
433
448
|
}
|
|
434
449
|
|
|
435
|
-
// Train formation
|
|
436
|
-
--sbb-train-formation-wagon-width: #{functions.px-to-rem-build(80)};
|
|
437
|
-
--sbb-train-formation-wagon-height: #{functions.px-to-rem-build(40)};
|
|
438
|
-
--sbb-train-formation-wagon-gap: var(--sbb-spacing-fixed-1x);
|
|
439
|
-
|
|
440
450
|
// Overlay
|
|
441
451
|
--sbb-overlay-default-z-index: 1000;
|
|
442
452
|
|
|
@@ -653,39 +663,6 @@ img {
|
|
|
653
663
|
}
|
|
654
664
|
}
|
|
655
665
|
|
|
656
|
-
// TODO: move to train formation after CSS refactoring
|
|
657
|
-
sbb-train-formation:has(sbb-train[direction-label]) {
|
|
658
|
-
--sbb-train-formation-reserve-spacing-display: block;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
// TODO: move to train formation after CSS refactoring
|
|
662
|
-
sbb-train-formation:has(sbb-train-wagon[sector]) {
|
|
663
|
-
--sbb-train-formation-show-sectors-gap: 1;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
// TODO: move to train formation after CSS refactoring
|
|
667
|
-
sbb-train-formation:not(:has(sbb-train-wagon[label])) {
|
|
668
|
-
--sbb-train-formation-wagon-label-display: none;
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
// TODO: Move to sbb-train-wagon after CSS refactoring
|
|
672
|
-
sbb-train-formation[view='side'] sbb-train-wagon {
|
|
673
|
-
--sbb-train-wagon-wagon-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M12.5,0.5 h55 a12,12 0 0 1 12,12 v15 a12,12 0 0 1 -12,12 h-55 a12,12 0 0 1 -12,-12 v-15 a12,12 0 0 1 12,-12 z' stroke='%23000000' stroke-width='1'/%3E%3C/svg%3E");
|
|
674
|
-
--sbb-train-wagon-wagon-closed-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Crect x='0.5' y='0.5' width='79' height='39' rx='11.5' stroke='%23000000'/%3E%3Cpath d='M76 4L4 36' stroke='%23000000'/%3E%3Cpath d='M76 36L4 4' stroke='%23000000'/%3E%3C/svg%3E");
|
|
675
|
-
--sbb-train-wagon-wagon-end-left-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M10.745 7.90416C13.5624 3.30431 18.5686 0.5 23.9627 0.5H68C74.3513 0.5 79.5 5.64873 79.5 12V28C79.5 34.3513 74.3513 39.5 68 39.5H11.922C2.93614 39.5 -2.57807 29.6562 2.11537 21.9934L10.745 7.90416Z' stroke='%23000000'/%3E%3C/svg%3E");
|
|
676
|
-
--sbb-train-wagon-locomotive-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M10.745 7.90416C13.5624 3.30431 18.5686 0.5 23.9627 0.5H56.0373C61.4314 0.5 66.4376 3.30432 69.255 7.90416L77.8846 21.9934C82.5781 29.6562 77.0639 39.5 68.078 39.5H11.922C2.93615 39.5 -2.57807 29.6562 2.11537 21.9934L10.745 7.90416Z' stroke='%23000000'/%3E%3C/svg%3E");
|
|
677
|
-
--sbb-train-wagon-wagon-end-right-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M0.5 12C0.5 5.64873 5.64873 0.5 12 0.5H56.0373C61.4314 0.5 66.4376 3.30432 69.255 7.90416L77.8846 21.9934C82.5781 29.6562 77.0638 39.5 68.0779 39.5H12C5.64873 39.5 0.5 34.3513 0.5 28V12Z' stroke='%23000000'/%3E%3C/svg%3E");
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
// TODO: Move to sbb-train-wagon after CSS refactoring
|
|
681
|
-
sbb-train-formation[view='top'] sbb-train-wagon {
|
|
682
|
-
--sbb-train-wagon-wagon-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M8.5,0.5 h63 a8,8 0 0 1 8,8 v23 a8,8 0 0 1 -8,8 h-63 a8,8 0 0 1 -8,-8 v-23 a8,8 0 0 1 8,-8 z' stroke='%23000000' stroke-width='1'/%3E%3C/svg%3E%0A");
|
|
683
|
-
--sbb-train-wagon-wagon-closed-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Crect x='0.5' y='0.5' width='79' height='39' rx='7.5' stroke='%23000000'/%3E%3Cpath d='M77.5 2.5L2.5 37.5' stroke='%23000000'/%3E%3Cpath d='M77.5 37.5L2.5 2.5' stroke='%23000000'/%3E%3C/svg%3E");
|
|
684
|
-
--sbb-train-wagon-wagon-end-left-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath transform='translate(80,40) rotate(180)' d='M8.5,0.5 h51.5 a19.5,19.5 0 0 1 19.5,19.5 v0 a19.5,19.5 0 0 1 -19.5,19.5 h-51.5 a8,8 0 0 1 -8,-8 v-23 a8,8 0 0 1 8,-8 z' stroke='%23000000' stroke-width='1'/%3E%3C/svg%3E");
|
|
685
|
-
--sbb-train-wagon-locomotive-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M20,0.5 h40 a19.5,19.5 0 0 1 19.5,19.5 v0 a19.5,19.5 0 0 1 -19.5,19.5 h-40 a19.5,19.5 0 0 1 -19.5,-19.5 v0 a19.5,19.5 0 0 1 19.5,-19.5 z' stroke='%23000000' stroke-width='1'/%3E%3C/svg%3E%0A");
|
|
686
|
-
--sbb-train-wagon-wagon-end-right-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M8.5,0.5 h51.5 a19.5,19.5 0 0 1 19.5,19.5 v0 a19.5,19.5 0 0 1 -19.5,19.5 h-51.5 a8,8 0 0 1 -8,-8 v-23 a8,8 0 0 1 8,-8 z' stroke='%23000000' stroke-width='1'/%3E%3C/svg%3E");
|
|
687
|
-
}
|
|
688
|
-
|
|
689
666
|
.sbb-overlay-outlet {
|
|
690
667
|
position: fixed;
|
|
691
668
|
inset: 0;
|
package/core.css
CHANGED
|
@@ -1812,6 +1812,59 @@ slot[name=error]::slotted(*) {
|
|
|
1812
1812
|
--sbb-tab-label-amount-color: light-dark(var(--sbb-color-metal), var(--sbb-color-smoke));
|
|
1813
1813
|
--sbb-tab-label-line-color: var(--sbb-border-color-4-inverted);
|
|
1814
1814
|
--sbb-tab-label-cursor: var(--sbb-cursor-pointer);
|
|
1815
|
+
--sbb-train-blocked-passage-background-color: var(--sbb-color-error);
|
|
1816
|
+
--sbb-train-blocked-passage-bar-color: var(--sbb-color-white);
|
|
1817
|
+
--sbb-train-blocked-passage-icon-bar-width: 0.625rem;
|
|
1818
|
+
--sbb-train-blocked-passage-icon-bar-height: 0.25rem;
|
|
1819
|
+
--sbb-train-blocked-passage-icon-bar-border-radius: var(--sbb-border-radius-1x);
|
|
1820
|
+
--sbb-train-formation-wagon-dimension-short: 2.25rem;
|
|
1821
|
+
--sbb-train-formation-wagon-dimension-long: 5.25rem;
|
|
1822
|
+
--sbb-train-formation-wagon-gap: var(--sbb-spacing-fixed-1x);
|
|
1823
|
+
--sbb-train-formation-sector-line-color: var(--sbb-color-cement);
|
|
1824
|
+
--sbb-train-formation-sector-line-color: light-dark(
|
|
1825
|
+
var(--sbb-color-cement),
|
|
1826
|
+
var(--sbb-color-smoke)
|
|
1827
|
+
);
|
|
1828
|
+
--sbb-train-formation-sector-line-width: var(--sbb-border-width-1x);
|
|
1829
|
+
--sbb-train-formation-blocked-passage-dimension: 1rem;
|
|
1830
|
+
--sbb-train-formation-text-color: var(--sbb-color-3);
|
|
1831
|
+
--sbb-train-formation-gap: var(--sbb-spacing-fixed-2x);
|
|
1832
|
+
--sbb-train-formation-sector-padding: var(--sbb-spacing-fixed-1x);
|
|
1833
|
+
--sbb-train-formation-sector-margin: var(--sbb-spacing-fixed-2x);
|
|
1834
|
+
--sbb-train-formation-padding: var(--sbb-spacing-fixed-1x);
|
|
1835
|
+
--_sbb-train-formation-flex-direction: row;
|
|
1836
|
+
--_sbb-train-formation-flex-direction-inverted: column;
|
|
1837
|
+
--sbb-train-wagon-font-size: var(--sbb-text-font-size-xxs);
|
|
1838
|
+
--sbb-train-wagon-shape-color: var(--sbb-color-3);
|
|
1839
|
+
--sbb-train-wagon-vertical-gap: 0.125rem;
|
|
1840
|
+
--sbb-train-wagon-padding-inline: var(--sbb-spacing-fixed-3x);
|
|
1841
|
+
--sbb-train-wagon-border-width: var(--sbb-border-width-1x);
|
|
1842
|
+
--sbb-train-wagon-main-icon-height: 1.25rem;
|
|
1843
|
+
--sbb-train-wagon-attribute-icon-gap: 0.125rem;
|
|
1844
|
+
--sbb-train-wagon-attribute-icon-height: 0.875rem;
|
|
1845
|
+
--sbb-train-wagon-attribute-icon-color: var(--sbb-color-1);
|
|
1846
|
+
--sbb-train-wagon-attributes-max-width: 3.4375rem;
|
|
1847
|
+
--sbb-train-wagon-attributes-mean-width: 1.75rem;
|
|
1848
|
+
--sbb-train-wagon-occupancy-height: 0.75rem;
|
|
1849
|
+
--sbb-train-wagon-background-color-hover: var(--sbb-background-color-3);
|
|
1850
|
+
--sbb-train-wagon-background-color-active: var(--sbb-background-color-4);
|
|
1851
|
+
--sbb-train-wagon-border-radius: var(--sbb-border-radius-6x);
|
|
1852
|
+
--sbb-train-wagon-information-gap: var(--sbb-spacing-fixed-1x);
|
|
1853
|
+
--sbb-train-wagon-information-min-width: 1.875rem;
|
|
1854
|
+
--sbb-train-wagon-class-dimension: 1.125rem;
|
|
1855
|
+
--sbb-train-wagon-class-color: var(--sbb-color-anthracite);
|
|
1856
|
+
--sbb-train-wagon-class-color: light-dark(var(--sbb-color-anthracite), var(--sbb-color-graphite));
|
|
1857
|
+
--sbb-train-wagon-class-background-color: var(--sbb-background-color-3);
|
|
1858
|
+
--sbb-train-wagon-class-border-width: var(--sbb-border-width-1x);
|
|
1859
|
+
--sbb-train-wagon-class-border: var(--sbb-train-wagon-class-border-width) solid
|
|
1860
|
+
var(--sbb-color-graphite);
|
|
1861
|
+
--sbb-train-wagon-class-border: var(--sbb-train-wagon-class-border-width) solid
|
|
1862
|
+
light-dark(var(--sbb-color-graphite), var(--sbb-color-anthracite));
|
|
1863
|
+
--sbb-train-wagon-class-border-radius: var(--sbb-border-radius-2x);
|
|
1864
|
+
--sbb-train-wagon-class-font-weight: bold;
|
|
1865
|
+
--sbb-train-wagon-class-first-thickness: 0.25rem;
|
|
1866
|
+
--sbb-train-wagon-class-first-color: var(--sbb-color-lemon);
|
|
1867
|
+
--sbb-train-wagon-class-first-border-radius: var(--sbb-border-radius-1x);
|
|
1815
1868
|
--sbb-tag-animation-easing: var(--sbb-animation-easing);
|
|
1816
1869
|
--sbb-tag-background-color: var(--sbb-background-color-1);
|
|
1817
1870
|
--sbb-tag-border-color: var(--sbb-border-color-4-inverted);
|
|
@@ -2009,12 +2062,13 @@ slot[name=error]::slotted(*) {
|
|
|
2009
2062
|
--sbb-toggle-check-circle-background-color: Canvas;
|
|
2010
2063
|
--sbb-toggle-selected-option-border-width: var(--sbb-border-width-2x);
|
|
2011
2064
|
--sbb-toggle-selected-option-border-color: Highlight;
|
|
2065
|
+
--sbb-train-blocked-passage-background-color: CanvasText;
|
|
2066
|
+
--sbb-train-blocked-passage-bar-color: Canvas;
|
|
2067
|
+
--sbb-train-formation-sector-line-color: CanvasText;
|
|
2068
|
+
--sbb-train-wagon-shape-color: CanvasText;
|
|
2012
2069
|
}
|
|
2013
2070
|
}
|
|
2014
2071
|
:root {
|
|
2015
|
-
--sbb-train-formation-wagon-width: 5rem;
|
|
2016
|
-
--sbb-train-formation-wagon-height: 2.5rem;
|
|
2017
|
-
--sbb-train-formation-wagon-gap: var(--sbb-spacing-fixed-1x);
|
|
2018
2072
|
--sbb-overlay-default-z-index: 1000;
|
|
2019
2073
|
--sbb-cursor-default: default;
|
|
2020
2074
|
--sbb-cursor-pointer: pointer;
|
|
@@ -2691,34 +2745,6 @@ img {
|
|
|
2691
2745
|
transition: filter var(--sbb-teaser-image-animation-duration) var(--sbb-teaser-image-animation-easing);
|
|
2692
2746
|
}
|
|
2693
2747
|
|
|
2694
|
-
sbb-train-formation:has(sbb-train[direction-label]) {
|
|
2695
|
-
--sbb-train-formation-reserve-spacing-display: block;
|
|
2696
|
-
}
|
|
2697
|
-
|
|
2698
|
-
sbb-train-formation:has(sbb-train-wagon[sector]) {
|
|
2699
|
-
--sbb-train-formation-show-sectors-gap: 1;
|
|
2700
|
-
}
|
|
2701
|
-
|
|
2702
|
-
sbb-train-formation:not(:has(sbb-train-wagon[label])) {
|
|
2703
|
-
--sbb-train-formation-wagon-label-display: none;
|
|
2704
|
-
}
|
|
2705
|
-
|
|
2706
|
-
sbb-train-formation[view=side] sbb-train-wagon {
|
|
2707
|
-
--sbb-train-wagon-wagon-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M12.5,0.5 h55 a12,12 0 0 1 12,12 v15 a12,12 0 0 1 -12,12 h-55 a12,12 0 0 1 -12,-12 v-15 a12,12 0 0 1 12,-12 z' stroke='%23000000' stroke-width='1'/%3E%3C/svg%3E");
|
|
2708
|
-
--sbb-train-wagon-wagon-closed-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Crect x='0.5' y='0.5' width='79' height='39' rx='11.5' stroke='%23000000'/%3E%3Cpath d='M76 4L4 36' stroke='%23000000'/%3E%3Cpath d='M76 36L4 4' stroke='%23000000'/%3E%3C/svg%3E");
|
|
2709
|
-
--sbb-train-wagon-wagon-end-left-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M10.745 7.90416C13.5624 3.30431 18.5686 0.5 23.9627 0.5H68C74.3513 0.5 79.5 5.64873 79.5 12V28C79.5 34.3513 74.3513 39.5 68 39.5H11.922C2.93614 39.5 -2.57807 29.6562 2.11537 21.9934L10.745 7.90416Z' stroke='%23000000'/%3E%3C/svg%3E");
|
|
2710
|
-
--sbb-train-wagon-locomotive-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M10.745 7.90416C13.5624 3.30431 18.5686 0.5 23.9627 0.5H56.0373C61.4314 0.5 66.4376 3.30432 69.255 7.90416L77.8846 21.9934C82.5781 29.6562 77.0639 39.5 68.078 39.5H11.922C2.93615 39.5 -2.57807 29.6562 2.11537 21.9934L10.745 7.90416Z' stroke='%23000000'/%3E%3C/svg%3E");
|
|
2711
|
-
--sbb-train-wagon-wagon-end-right-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M0.5 12C0.5 5.64873 5.64873 0.5 12 0.5H56.0373C61.4314 0.5 66.4376 3.30432 69.255 7.90416L77.8846 21.9934C82.5781 29.6562 77.0638 39.5 68.0779 39.5H12C5.64873 39.5 0.5 34.3513 0.5 28V12Z' stroke='%23000000'/%3E%3C/svg%3E");
|
|
2712
|
-
}
|
|
2713
|
-
|
|
2714
|
-
sbb-train-formation[view=top] sbb-train-wagon {
|
|
2715
|
-
--sbb-train-wagon-wagon-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M8.5,0.5 h63 a8,8 0 0 1 8,8 v23 a8,8 0 0 1 -8,8 h-63 a8,8 0 0 1 -8,-8 v-23 a8,8 0 0 1 8,-8 z' stroke='%23000000' stroke-width='1'/%3E%3C/svg%3E%0A");
|
|
2716
|
-
--sbb-train-wagon-wagon-closed-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Crect x='0.5' y='0.5' width='79' height='39' rx='7.5' stroke='%23000000'/%3E%3Cpath d='M77.5 2.5L2.5 37.5' stroke='%23000000'/%3E%3Cpath d='M77.5 37.5L2.5 2.5' stroke='%23000000'/%3E%3C/svg%3E");
|
|
2717
|
-
--sbb-train-wagon-wagon-end-left-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath transform='translate(80,40) rotate(180)' d='M8.5,0.5 h51.5 a19.5,19.5 0 0 1 19.5,19.5 v0 a19.5,19.5 0 0 1 -19.5,19.5 h-51.5 a8,8 0 0 1 -8,-8 v-23 a8,8 0 0 1 8,-8 z' stroke='%23000000' stroke-width='1'/%3E%3C/svg%3E");
|
|
2718
|
-
--sbb-train-wagon-locomotive-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M20,0.5 h40 a19.5,19.5 0 0 1 19.5,19.5 v0 a19.5,19.5 0 0 1 -19.5,19.5 h-40 a19.5,19.5 0 0 1 -19.5,-19.5 v0 a19.5,19.5 0 0 1 19.5,-19.5 z' stroke='%23000000' stroke-width='1'/%3E%3C/svg%3E%0A");
|
|
2719
|
-
--sbb-train-wagon-wagon-end-right-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M8.5,0.5 h51.5 a19.5,19.5 0 0 1 19.5,19.5 v0 a19.5,19.5 0 0 1 -19.5,19.5 h-51.5 a8,8 0 0 1 -8,-8 v-23 a8,8 0 0 1 8,-8 z' stroke='%23000000' stroke-width='1'/%3E%3C/svg%3E");
|
|
2720
|
-
}
|
|
2721
|
-
|
|
2722
2748
|
.sbb-overlay-outlet {
|
|
2723
2749
|
position: fixed;
|
|
2724
2750
|
inset: 0;
|
package/core.js
CHANGED
|
@@ -43,26 +43,26 @@ import { preventScrollOnSpacebarPress as ze } from "./core/eventing/form-element
|
|
|
43
43
|
import { forwardEvent as Be } from "./core/eventing/forward-event.js";
|
|
44
44
|
import { isEventPrevented as Ve } from "./core/eventing/is-event-prevented.js";
|
|
45
45
|
import { throttle as He } from "./core/eventing/throttle.js";
|
|
46
|
-
import { i18nAdditionalWagonInformationHeading as Ue,
|
|
47
|
-
import { SbbAnimationCompleteMixin as
|
|
46
|
+
import { i18nAdditionalWagonInformationHeading as Ue, i18nAnd as We, i18nArrival as Ge, i18nBlockedPassage as Ke, i18nBreadcrumbEllipsisButtonLabel as qe, i18nCalendarDateSelection as Je, i18nCalendarWeekNumber as Ye, i18nCarouselArrowsNavigationHint as Xe, i18nCarouselItemAriaLabel as Ze, i18nCheckboxRequired as Qe, i18nChipDelete as $e, i18nChipGroupInputDescription as et, i18nClass as tt, i18nClearInput as nt, i18nCloseAlert as rt, i18nCloseDialog as it, i18nCloseNavigation as at, i18nCloseNotification as ot, i18nClosePopover as st, i18nCloseSidebar as ct, i18nClosedCompartmentLabel as lt, i18nCollapsed as ut, i18nConnectionFrom as dt, i18nConnectionRoundtrip as ft, i18nConnectionTo as pt, i18nCouchetteWagonLabel as mt, i18nDateChangedTo as ht, i18nDateInvalid as gt, i18nDateMax as _t, i18nDateMin as vt, i18nDatePickerPlaceholder as yt, i18nDeparture as bt, i18nDialog as xt, i18nDirection as St, i18nDurationDay as Ct, i18nDurationHour as wt, i18nDurationMinute as Tt, i18nExpanded as Et, i18nFileSelectorButtonLabel as Dt, i18nFileSelectorButtonLabelMultiple as Ot, i18nFileSelectorCurrentlySelected as kt, i18nFileSelectorDeleteFile as At, i18nFileSelectorSubtitleLabel as jt, i18nFileSelectorSubtitleLabelMultiple as Mt, i18nFlipCard as Nt, i18nFromPlatform as Pt, i18nGoBack as Ft, i18nInputRequired as It, i18nItemsPerPage as Lt, i18nLocomotiveLabel as Rt, i18nMapContainerButtonLabel as zt, i18nMeansOfTransport as Bt, i18nNew as Vt, i18nNextDay as Ht, i18nNextMonth as Ut, i18nNextPage as Wt, i18nNextSlide as Gt, i18nNextYear as Kt, i18nNextYearRange as qt, i18nOccupancy as Jt, i18nOptional as Yt, i18nPage as Xt, i18nPaginatorOf as Zt, i18nPaginatorSelected as Qt, i18nPreviousDay as $t, i18nPreviousMonth as en, i18nPreviousPage as tn, i18nPreviousSlide as nn, i18nPreviousYear as rn, i18nPreviousYearRange as an, i18nRealTimeInfo as on, i18nRemainingCharacters as sn, i18nRestaurantWagonLabel as cn, i18nReverseCard as ln, i18nSector as un, i18nSectorShort as dn, i18nSelectNextDay as fn, i18nSelectPreviousDay as pn, i18nSelectionRequired as mn, i18nShowCalendar as hn, i18nSleepingWagonLabel as gn, i18nSlide as _n, i18nSupersaver as vn, i18nTargetOpensInNewWindow as yn, i18nTimeInputChange as bn, i18nTimeInvalid as xn, i18nTimeMax as Sn, i18nTimeMaxLength as Cn, i18nTimetableFormSwapButtonLabel as wn, i18nToday as Tn, i18nTrain as En, i18nTrains as Dn, i18nTransferProcedure as On, i18nTransferProcedures as kn, i18nTravelhints as An, i18nTripDuration as jn, i18nTripQuayChange as Mn, i18nWagonLabel as Nn, i18nWagonLabelNumber as Pn, i18nWagonsLabel as Fn, i18nWalkingDistanceArrival as In, i18nWalkingDistanceDeparture as Ln, i18nYearMonthSelection as Rn } from "./core/i18n/i18n.js";
|
|
47
|
+
import { SbbAnimationCompleteMixin as zn } from "./core/mixins/animation-complete-mixin.js";
|
|
48
48
|
import "./core/mixins/constructor.js";
|
|
49
|
-
import { SbbDisabledInteractiveMixin as
|
|
50
|
-
import { SbbFormAssociatedMixin as
|
|
51
|
-
import { SbbRequiredMixin as
|
|
52
|
-
import { SbbFormAssociatedCheckboxMixin as
|
|
53
|
-
import { SbbReadonlyMixin as
|
|
54
|
-
import { SbbFormAssociatedInputMixin as
|
|
55
|
-
import { SbbFormAssociatedRadioButtonMixin as
|
|
56
|
-
import { SbbNamedSlotListMixin as
|
|
57
|
-
import { SbbNegativeMixin as
|
|
58
|
-
import { n as
|
|
59
|
-
import { SbbSelectionPanelMixin as
|
|
60
|
-
import { SbbUpdateSchedulerMixin as
|
|
61
|
-
import { overlayGapFixCorners as
|
|
62
|
-
import { getElementPosition as
|
|
63
|
-
import { setOverlayPosition as
|
|
64
|
-
import { SbbOverlayOutsidePointerEventListener as
|
|
65
|
-
import { removeAriaComboBoxAttributes as
|
|
66
|
-
import { t as
|
|
67
|
-
import { n as
|
|
68
|
-
export { q as DAYS_PER_ROW, J as DateAdapter, Y as FORMAT_DATE, X as FRIDAY, Z as ISO8601_FORMAT_DATE, l as IS_FOCUSABLE_QUERY, u as InteractivityChecker, d as IsFocusableConfig, Q as MONDAY, $ as MONTHS_PER_PAGE, ee as MONTHS_PER_ROW, ce as NativeDateAdapter, te as SATURDAY, ne as SUNDAY, x as SbbActionBaseElement,
|
|
49
|
+
import { SbbDisabledInteractiveMixin as Bn, SbbDisabledMixin as Vn, SbbDisabledTabIndexActionMixin as Hn } from "./core/mixins/disabled-mixin.js";
|
|
50
|
+
import { SbbFormAssociatedMixin as Un } from "./core/mixins/form-associated-mixin.js";
|
|
51
|
+
import { SbbRequiredMixin as Wn } from "./core/mixins/required-mixin.js";
|
|
52
|
+
import { SbbFormAssociatedCheckboxMixin as Gn } from "./core/mixins/form-associated-checkbox-mixin.js";
|
|
53
|
+
import { SbbReadonlyMixin as Kn } from "./core/mixins/readonly-mixin.js";
|
|
54
|
+
import { SbbFormAssociatedInputMixin as qn } from "./core/mixins/form-associated-input-mixin.js";
|
|
55
|
+
import { SbbFormAssociatedRadioButtonMixin as Jn, radioButtonRegistry as Yn } from "./core/mixins/form-associated-radio-button-mixin.js";
|
|
56
|
+
import { SbbNamedSlotListMixin as Xn } from "./core/mixins/named-slot-list-mixin.js";
|
|
57
|
+
import { SbbNegativeMixin as Zn } from "./core/mixins/negative-mixin.js";
|
|
58
|
+
import { n as Qn, t as $n } from "./panel-mixin-By8Uy5yz.js";
|
|
59
|
+
import { SbbSelectionPanelMixin as er } from "./core/mixins/selection-panel-mixin.js";
|
|
60
|
+
import { SbbUpdateSchedulerMixin as tr } from "./core/mixins/update-scheduler-mixin.js";
|
|
61
|
+
import { overlayGapFixCorners as nr } from "./core/overlay/overlay.js";
|
|
62
|
+
import { getElementPosition as rr, getElementPositionHorizontal as ir, getElementRectangle as ar, isEventOnElement as or } from "./core/overlay/position.js";
|
|
63
|
+
import { setOverlayPosition as sr } from "./core/overlay/overlay-option-panel.js";
|
|
64
|
+
import { SbbOverlayOutsidePointerEventListener as cr, sbbOverlayOutsidePointerEventListener as lr } from "./core/overlay/overlay-outside-pointer-event-listener.js";
|
|
65
|
+
import { removeAriaComboBoxAttributes as ur, removeAriaOverlayTriggerProperties as dr, setAriaComboBoxAttributes as fr, setAriaOverlayTriggerProperties as pr } from "./core/overlay/overlay-trigger-attributes.js";
|
|
66
|
+
import { t as mr } from "./screen-reader-only.component-B08Bt5Ct.js";
|
|
67
|
+
import { n as hr, t as gr } from "./styles-swTeDfst.js";
|
|
68
|
+
export { q as DAYS_PER_ROW, J as DateAdapter, Y as FORMAT_DATE, X as FRIDAY, Z as ISO8601_FORMAT_DATE, l as IS_FOCUSABLE_QUERY, u as InteractivityChecker, d as IsFocusableConfig, Q as MONDAY, $ as MONTHS_PER_PAGE, ee as MONTHS_PER_ROW, ce as NativeDateAdapter, te as SATURDAY, ne as SUNDAY, x as SbbActionBaseElement, zn as SbbAnimationCompleteMixin, S as SbbButtonBaseElement, C as SbbButtonLikeBaseElement, P as SbbDarkModeController, Bn as SbbDisabledInteractiveMixin, Vn as SbbDisabledMixin, Hn as SbbDisabledTabIndexActionMixin, g as SbbElement, A as SbbEscapableOverlayController, p as SbbFocusTrapController, c as SbbFocusVisibleWithinController, Gn as SbbFormAssociatedCheckboxMixin, qn as SbbFormAssociatedInputMixin, Un as SbbFormAssociatedMixin, Jn as SbbFormAssociatedRadioButtonMixin, j as SbbIdReferenceController, M as SbbInertController, N as SbbLanguageController, w as SbbLinkBaseElement, m as SbbLiveAnnouncer, F as SbbMediaMatcherController, I as SbbMediaQueryBreakpointLargeAndAbove, L as SbbMediaQueryBreakpointLargeAndBelow, R as SbbMediaQueryBreakpointSmallAndAbove, z as SbbMediaQueryBreakpointSmallAndBelow, B as SbbMediaQueryBreakpointUltraAndAbove, V as SbbMediaQueryBreakpointZeroAndAbove, H as SbbMediaQueryDarkMode, U as SbbMediaQueryForcedColors, W as SbbMediaQueryHover, G as SbbMediaQueryPointerCoarse, Xn as SbbNamedSlotListMixin, Zn as SbbNegativeMixin, T as SbbOpenCloseBaseElement, cr as SbbOverlayOutsidePointerEventListener, K as SbbOverlayPositionController, $n as SbbPanelMixin, k as SbbPropertyWatcherController, Kn as SbbReadonlyMixin, Wn as SbbRequiredMixin, mr as SbbScreenReaderOnlyElement, Fe as SbbScrollHandler, E as SbbSelectionGroupBaseElement, er as SbbSelectionPanelMixin, _ as SbbSlottedChangeEvent, tr as SbbUpdateSchedulerMixin, re as THURSDAY, ie as TUESDAY, ue as TemporalDateAdapter, ae as WEDNESDAY, oe as YEARS_PER_PAGE, se as YEARS_PER_ROW, v as appendAriaElements, gr as boxSizingStyles, Le as composedPathHasAttribute, be as containsPierceShadowDom, le as defaultDateAdapter, de as forceType, Be as forwardEvent, rr as getElementPosition, ir as getElementPositionHorizontal, ar as getElementRectangle, Re as getEventTarget, e as getNextElementIndex, fe as getOverride, pe as handleDistinctChange, me as hostAttributes, hr as hostScrollbarStyles, Ue as i18nAdditionalWagonInformationHeading, We as i18nAnd, Ge as i18nArrival, Ke as i18nBlockedPassage, qe as i18nBreadcrumbEllipsisButtonLabel, Je as i18nCalendarDateSelection, Ye as i18nCalendarWeekNumber, Xe as i18nCarouselArrowsNavigationHint, Ze as i18nCarouselItemAriaLabel, Qe as i18nCheckboxRequired, $e as i18nChipDelete, et as i18nChipGroupInputDescription, tt as i18nClass, nt as i18nClearInput, rt as i18nCloseAlert, it as i18nCloseDialog, at as i18nCloseNavigation, ot as i18nCloseNotification, st as i18nClosePopover, ct as i18nCloseSidebar, lt as i18nClosedCompartmentLabel, ut as i18nCollapsed, dt as i18nConnectionFrom, ft as i18nConnectionRoundtrip, pt as i18nConnectionTo, mt as i18nCouchetteWagonLabel, ht as i18nDateChangedTo, gt as i18nDateInvalid, _t as i18nDateMax, vt as i18nDateMin, yt as i18nDatePickerPlaceholder, bt as i18nDeparture, xt as i18nDialog, St as i18nDirection, Ct as i18nDurationDay, wt as i18nDurationHour, Tt as i18nDurationMinute, Et as i18nExpanded, Dt as i18nFileSelectorButtonLabel, Ot as i18nFileSelectorButtonLabelMultiple, kt as i18nFileSelectorCurrentlySelected, At as i18nFileSelectorDeleteFile, jt as i18nFileSelectorSubtitleLabel, Mt as i18nFileSelectorSubtitleLabelMultiple, Nt as i18nFlipCard, Pt as i18nFromPlatform, Ft as i18nGoBack, It as i18nInputRequired, Lt as i18nItemsPerPage, Rt as i18nLocomotiveLabel, zt as i18nMapContainerButtonLabel, Bt as i18nMeansOfTransport, Vt as i18nNew, Ht as i18nNextDay, Ut as i18nNextMonth, Wt as i18nNextPage, Gt as i18nNextSlide, Kt as i18nNextYear, qt as i18nNextYearRange, Jt as i18nOccupancy, Yt as i18nOptional, Xt as i18nPage, Zt as i18nPaginatorOf, Qt as i18nPaginatorSelected, $t as i18nPreviousDay, en as i18nPreviousMonth, tn as i18nPreviousPage, nn as i18nPreviousSlide, rn as i18nPreviousYear, an as i18nPreviousYearRange, on as i18nRealTimeInfo, sn as i18nRemainingCharacters, cn as i18nRestaurantWagonLabel, ln as i18nReverseCard, un as i18nSector, dn as i18nSectorShort, fn as i18nSelectNextDay, pn as i18nSelectPreviousDay, mn as i18nSelectionRequired, hn as i18nShowCalendar, gn as i18nSleepingWagonLabel, _n as i18nSlide, vn as i18nSupersaver, yn as i18nTargetOpensInNewWindow, bn as i18nTimeInputChange, xn as i18nTimeInvalid, Sn as i18nTimeMax, Cn as i18nTimeMaxLength, wn as i18nTimetableFormSwapButtonLabel, Tn as i18nToday, En as i18nTrain, Dn as i18nTrains, On as i18nTransferProcedure, kn as i18nTransferProcedures, An as i18nTravelhints, jn as i18nTripDuration, Mn as i18nTripQuayChange, Nn as i18nWagonLabel, Pn as i18nWagonLabelNumber, Fn as i18nWagonsLabel, In as i18nWalkingDistanceArrival, Ln as i18nWalkingDistanceDeparture, Rn as i18nYearMonthSelection, he as idReference, f as interactivityChecker, Ce as isAndroid, t as isArrowKeyOrPageKeysPressed, n as isArrowKeyPressed, we as isBlink, Te as isChromium, Ee as isEdge, or as isEventOnElement, Ve as isEventPrevented, a as isFakeMousedownFromScreenReader, o as isFakeTouchstartFromScreenReader, De as isFirefox, Oe as isIOS, xe as isLean, ke as isMacOS, r as isNextArrowKeyPressed, Ae as isNextjs, i as isPreviousArrowKeyPressed, je as isSafari, Me as isTrident, Ne as isWebkit, ye as isZeroAnimationDuration, D as mergeConfig, ge as omitEmptyConverter, nr as overlayGapFixCorners, Ie as pageScrollDisabled, Qn as panelCommonStyle, _e as plainDate, ve as plainDateConverter, ze as preventScrollOnSpacebarPress, Pe as queueDomContentLoaded, Yn as radioButtonRegistry, O as readConfig, ur as removeAriaComboBoxAttributes, y as removeAriaElements, dr as removeAriaOverlayTriggerProperties, s as sbbInputModalityDetector, h as sbbLiveAnnouncer, lr as sbbOverlayOutsidePointerEventListener, fr as setAriaComboBoxAttributes, pr as setAriaOverlayTriggerProperties, Se as setOrRemoveAttribute, sr as setOverlayPosition, He as throttle, b as ɵstateController };
|