@sbb-esta/lyne-elements-dev 5.0.0-next.1-dev.1777541398 → 5.0.0-next.1-dev.1777546720

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.
Files changed (144) hide show
  1. package/autocomplete/autocomplete-base-element.js +1 -1
  2. package/autocomplete/autocomplete.component.js +1 -1
  3. package/{autocomplete-base-element-CSCv_WVh.js → autocomplete-base-element-BiLyvcN-.js} +1 -1
  4. package/autocomplete.js +1 -1
  5. package/autocomplete.pure.js +1 -1
  6. package/core/styles/mixins/scrollbar.scss +0 -6
  7. package/core/styles/scrollbar.scss +19 -24
  8. package/core/styles/styles.js +2 -2
  9. package/core.css +0 -37
  10. package/core.js +2 -2
  11. package/custom-elements.json +325 -275
  12. package/development/autocomplete/autocomplete-base-element.js +1 -1
  13. package/development/autocomplete/autocomplete.component.js +1 -1
  14. package/development/{autocomplete-base-element-Bwkns3IL.js → autocomplete-base-element-BxBpn8_e.js} +2 -2
  15. package/development/autocomplete.js +1 -1
  16. package/development/autocomplete.pure.js +1 -1
  17. package/development/core/styles/styles.d.ts +1 -0
  18. package/development/core/styles/styles.d.ts.map +1 -1
  19. package/development/core/styles/styles.js +2 -2
  20. package/development/core.js +2 -2
  21. package/development/dialog/dialog-content/dialog-content.component.d.ts +1 -0
  22. package/development/dialog/dialog-content/dialog-content.component.d.ts.map +1 -1
  23. package/development/dialog/dialog-content/dialog-content.component.js +1 -1
  24. package/development/{dialog-content.component-B7Grxjk6.js → dialog-content.component-Bzt-PL6f.js} +10 -3
  25. package/development/dialog.js +1 -1
  26. package/development/dialog.pure.js +1 -1
  27. package/development/file-selector/common/file-selector-common.d.ts +1 -2
  28. package/development/file-selector/common/file-selector-common.d.ts.map +1 -1
  29. package/development/file-selector/common/file-selector-common.js +2 -2
  30. package/development/file-selector/file-selector/file-selector.component.d.ts +1 -2
  31. package/development/file-selector/file-selector/file-selector.component.d.ts.map +1 -1
  32. package/development/file-selector/file-selector/file-selector.component.js +3 -6
  33. package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts.map +1 -1
  34. package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
  35. package/development/file-selector-common-BH_iIjcB.js +417 -0
  36. package/development/{file-selector-dropzone.component-DRUUWI1A.js → file-selector-dropzone.component-ZCanLwF-.js} +4 -8
  37. package/development/file-selector.js +3 -3
  38. package/development/file-selector.pure.js +3 -3
  39. package/development/map-container/map-container.component.d.ts.map +1 -1
  40. package/development/map-container/map-container.component.js +1 -1
  41. package/development/map-container.component-DoFCVBoh.js +180 -0
  42. package/development/map-container.js +1 -1
  43. package/development/map-container.pure.js +1 -1
  44. package/development/menu/menu/menu.component.d.ts.map +1 -1
  45. package/development/menu/menu/menu.component.js +1 -1
  46. package/development/menu.component-CDBUaD8s.js +369 -0
  47. package/development/menu.js +1 -1
  48. package/development/menu.pure.js +1 -1
  49. package/development/navigation/navigation/navigation.component.d.ts.map +1 -1
  50. package/development/navigation/navigation/navigation.component.js +1 -1
  51. package/development/navigation/navigation-section/navigation-section.component.d.ts.map +1 -1
  52. package/development/navigation/navigation-section/navigation-section.component.js +1 -1
  53. package/development/navigation-section.component-D3_XVwyt.js +350 -0
  54. package/development/navigation.component-Cco4llBt.js +319 -0
  55. package/development/navigation.js +2 -2
  56. package/development/navigation.pure.js +2 -2
  57. package/development/overlay/overlay.component.d.ts.map +1 -1
  58. package/development/overlay/overlay.component.js +1 -1
  59. package/development/overlay.component-DBzb0PdD.js +206 -0
  60. package/development/overlay.js +1 -1
  61. package/development/overlay.pure.js +1 -1
  62. package/development/popover/popover.component.d.ts +1 -0
  63. package/development/popover/popover.component.d.ts.map +1 -1
  64. package/development/popover/popover.component.js +1 -1
  65. package/development/popover.component-Dj0INQsI.js +564 -0
  66. package/development/popover.js +1 -1
  67. package/development/popover.pure.js +1 -1
  68. package/development/select/select.component.js +1 -1
  69. package/development/{select.component-C1Xfvvii.js → select.component-D_9pjl7T.js} +2 -2
  70. package/development/select.js +1 -1
  71. package/development/select.pure.js +1 -1
  72. package/development/sidebar/sidebar/sidebar.component.d.ts.map +1 -1
  73. package/development/sidebar/sidebar/sidebar.component.js +1 -1
  74. package/development/sidebar.component-CYLbI1Vp.js +356 -0
  75. package/development/sidebar.js +1 -1
  76. package/development/sidebar.pure.js +1 -1
  77. package/development/styles-B_IWjHc5.js +22 -0
  78. package/development/table/table-wrapper/table-wrapper.component.js +1 -1
  79. package/development/table-wrapper.component-D8IFPow6.js +119 -0
  80. package/development/table.js +1 -1
  81. package/development/table.pure.js +1 -1
  82. package/dialog/dialog-content/dialog-content.component.js +1 -1
  83. package/{dialog-content.component-are-UBx3.js → dialog-content.component-iRLHPKPb.js} +7 -2
  84. package/dialog.js +1 -1
  85. package/dialog.pure.js +1 -1
  86. package/file-selector/common/file-selector-common.js +2 -2
  87. package/file-selector/file-selector/file-selector.component.js +10 -13
  88. package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
  89. package/{file-selector-common-jpJmVqAw.js → file-selector-common-PcqPdsnN.js} +44 -38
  90. package/{file-selector-dropzone.component-DDRTu6p2.js → file-selector-dropzone.component-2XUfh1NC.js} +20 -24
  91. package/file-selector.js +5 -5
  92. package/file-selector.pure.js +4 -4
  93. package/map-container/map-container.component.js +1 -1
  94. package/{map-container.component-Btnl3n9d.js → map-container.component-5I5DW5dJ.js} +23 -16
  95. package/map-container.js +1 -1
  96. package/map-container.pure.js +1 -1
  97. package/menu/menu/menu.component.js +1 -1
  98. package/{menu.component-CpNMheMG.js → menu.component-Bd37u3Ps.js} +26 -22
  99. package/menu.js +1 -1
  100. package/menu.pure.js +1 -1
  101. package/navigation/navigation/navigation.component.js +1 -1
  102. package/navigation/navigation-section/navigation-section.component.js +1 -1
  103. package/{navigation-section.component-219JlVIe.js → navigation-section.component-B_0xi30L.js} +24 -20
  104. package/{navigation.component-gLrMCbh9.js → navigation.component-CmrLIeDB.js} +24 -20
  105. package/navigation.js +2 -2
  106. package/navigation.pure.js +2 -2
  107. package/off-brand-theme.css +33 -134
  108. package/overlay/overlay.component.js +1 -1
  109. package/overlay.component-D2jtCeeb.js +156 -0
  110. package/overlay.js +1 -1
  111. package/overlay.pure.js +1 -1
  112. package/package.json +2 -2
  113. package/popover/popover.component.js +1 -1
  114. package/{popover.component-DnY9obd7.js → popover.component-CiMeNnO-.js} +27 -24
  115. package/popover.js +1 -1
  116. package/popover.pure.js +1 -1
  117. package/safety-theme.css +33 -134
  118. package/scrollbar.css +33 -97
  119. package/select/select.component.js +1 -1
  120. package/{select.component-Bhvd_sUV.js → select.component-BXPU7X_X.js} +1 -1
  121. package/select.js +1 -1
  122. package/select.pure.js +1 -1
  123. package/sidebar/sidebar/sidebar.component.js +1 -1
  124. package/{sidebar.component-Dpf9jZ1P.js → sidebar.component-CeUPJaqy.js} +28 -21
  125. package/sidebar.js +1 -1
  126. package/sidebar.pure.js +1 -1
  127. package/standard-theme.css +33 -134
  128. package/styles-Cb4jdMeE.js +5 -0
  129. package/table/table-wrapper/table-wrapper.component.js +1 -1
  130. package/{table-wrapper.component-DGL8RaxF.js → table-wrapper.component-CZ90q3pY.js} +1 -1
  131. package/table.js +1 -1
  132. package/table.pure.js +1 -1
  133. package/development/file-selector-common-BwkZZzA0.js +0 -409
  134. package/development/map-container.component-BLF21LG7.js +0 -173
  135. package/development/menu.component-BpKGNICN.js +0 -365
  136. package/development/navigation-section.component-DumXFFfg.js +0 -346
  137. package/development/navigation.component-CpoBEP55.js +0 -315
  138. package/development/overlay.component-CC_quHYI.js +0 -206
  139. package/development/popover.component-DT-cfDqo.js +0 -561
  140. package/development/sidebar.component-DR2JGwnM.js +0 -349
  141. package/development/styles-6T7UvhxK.js +0 -18
  142. package/development/table-wrapper.component-CjMOENHV.js +0 -119
  143. package/overlay.component-B00EoAd5.js +0 -156
  144. package/styles-D5okOWF1.js +0 -5
@@ -94533,6 +94533,10 @@
94533
94533
  {
94534
94534
  "kind": "variable",
94535
94535
  "name": "screenReaderOnlyStyles"
94536
+ },
94537
+ {
94538
+ "kind": "variable",
94539
+ "name": "scrollbarStyles"
94536
94540
  }
94537
94541
  ],
94538
94542
  "exports": [
@@ -94559,6 +94563,14 @@
94559
94563
  "name": "screenReaderOnlyStyles",
94560
94564
  "module": "core/styles/styles.js"
94561
94565
  }
94566
+ },
94567
+ {
94568
+ "kind": "js",
94569
+ "name": "scrollbarStyles",
94570
+ "declaration": {
94571
+ "name": "scrollbarStyles",
94572
+ "module": "core/styles/styles.js"
94573
+ }
94562
94574
  }
94563
94575
  ]
94564
94576
  },
@@ -104906,6 +104918,22 @@
104906
104918
  "module": "core/base-elements/element.js"
104907
104919
  }
104908
104920
  },
104921
+ {
104922
+ "kind": "method",
104923
+ "name": "_setScrollbar",
104924
+ "privacy": "private",
104925
+ "return": {
104926
+ "type": {
104927
+ "text": "void"
104928
+ }
104929
+ },
104930
+ "parameters": [
104931
+ {
104932
+ "name": "negative",
104933
+ "default": "this.closest?.<SbbDialogElement>('sbb-dialog')?.negative ?? false"
104934
+ }
104935
+ ]
104936
+ },
104909
104937
  {
104910
104938
  "kind": "field",
104911
104939
  "name": "['_$sbbElement$']",
@@ -107823,14 +107851,6 @@
107823
107851
  "kind": "javascript-module",
107824
107852
  "path": "file-selector/common/file-selector-common.js",
107825
107853
  "declarations": [
107826
- {
107827
- "kind": "variable",
107828
- "name": "fileSelectorCommonStyle",
107829
- "type": {
107830
- "text": "CSSResultGroup"
107831
- },
107832
- "default": "[ screenReaderOnlyStyles, unsafeCSS(fileSelectorCommonStyleString), ]"
107833
- },
107834
107854
  {
107835
107855
  "kind": "class",
107836
107856
  "description": "",
@@ -108717,6 +108737,16 @@
108717
108737
  "text": "{\n filechanged: 'filechanged',\n }"
108718
108738
  }
108719
108739
  },
108740
+ {
108741
+ "kind": "field",
108742
+ "name": "styles",
108743
+ "type": {
108744
+ "text": "CSSResultGroup"
108745
+ },
108746
+ "privacy": "public",
108747
+ "static": true,
108748
+ "default": "[ boxSizingStyles, screenReaderOnlyStyles, unsafeCSS(style), ]"
108749
+ },
108720
108750
  {
108721
108751
  "kind": "field",
108722
108752
  "name": "size",
@@ -109655,14 +109685,6 @@
109655
109685
  }
109656
109686
  ],
109657
109687
  "exports": [
109658
- {
109659
- "kind": "js",
109660
- "name": "fileSelectorCommonStyle",
109661
- "declaration": {
109662
- "name": "fileSelectorCommonStyle",
109663
- "module": "file-selector/common/file-selector-common.js"
109664
- }
109665
- },
109666
109688
  {
109667
109689
  "kind": "js",
109668
109690
  "name": "SbbFileSelectorCommonElementMixinType",
@@ -109762,6 +109784,20 @@
109762
109784
  "module": "file-selector/common/file-selector-common.js"
109763
109785
  }
109764
109786
  },
109787
+ {
109788
+ "kind": "field",
109789
+ "name": "styles",
109790
+ "type": {
109791
+ "text": "CSSResultGroup"
109792
+ },
109793
+ "privacy": "public",
109794
+ "static": true,
109795
+ "default": "[ boxSizingStyles, screenReaderOnlyStyles, unsafeCSS(style), ]",
109796
+ "inheritedFrom": {
109797
+ "name": "SbbFileSelectorCommonElementMixin",
109798
+ "module": "file-selector/common/file-selector-common.js"
109799
+ }
109800
+ },
109765
109801
  {
109766
109802
  "kind": "field",
109767
109803
  "name": "size",
@@ -111213,6 +111249,20 @@
111213
111249
  "module": "file-selector/common/file-selector-common.js"
111214
111250
  }
111215
111251
  },
111252
+ {
111253
+ "kind": "field",
111254
+ "name": "styles",
111255
+ "type": {
111256
+ "text": "CSSResultGroup"
111257
+ },
111258
+ "privacy": "public",
111259
+ "static": true,
111260
+ "default": "[ boxSizingStyles, screenReaderOnlyStyles, unsafeCSS(style), ]",
111261
+ "inheritedFrom": {
111262
+ "name": "SbbFileSelectorCommonElementMixin",
111263
+ "module": "file-selector/common/file-selector-common.js"
111264
+ }
111265
+ },
111216
111266
  {
111217
111267
  "kind": "field",
111218
111268
  "name": "size",
@@ -165555,25 +165605,12 @@
165555
165605
  },
165556
165606
  {
165557
165607
  "kind": "javascript-module",
165558
- "path": "train/train-formation/train-formation.component.js",
165608
+ "path": "train/train-blocked-passage/train-blocked-passage.component.js",
165559
165609
  "declarations": [
165560
165610
  {
165561
165611
  "kind": "class",
165562
- "description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
165563
- "name": "SbbTrainFormationElement",
165564
- "cssProperties": [
165565
- {
165566
- "description": "Defines the inline or block padding inside the horizontal or vertical scrolling area.",
165567
- "name": "--sbb-train-formation-scroll-padding",
165568
- "default": "var(--sbb-spacing-fixed-1x)"
165569
- }
165570
- ],
165571
- "slots": [
165572
- {
165573
- "description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
165574
- "name": ""
165575
- }
165576
- ],
165612
+ "description": "It visually displays a blocked passage between train wagons.",
165613
+ "name": "SbbTrainBlockedPassageElement",
165577
165614
  "members": [
165578
165615
  {
165579
165616
  "kind": "field",
@@ -165584,7 +165621,7 @@
165584
165621
  "privacy": "public",
165585
165622
  "static": true,
165586
165623
  "readonly": true,
165587
- "default": "'sbb-train-formation'",
165624
+ "default": "'sbb-train-blocked-passage'",
165588
165625
  "inheritedFrom": {
165589
165626
  "name": "SbbElement",
165590
165627
  "module": "core/base-elements/element.js"
@@ -165592,105 +165629,26 @@
165592
165629
  },
165593
165630
  {
165594
165631
  "kind": "field",
165595
- "name": "listChildLocalNames",
165632
+ "name": "orientation",
165596
165633
  "type": {
165597
- "text": "array"
165634
+ "text": "SbbOrientation | null"
165598
165635
  },
165599
165636
  "privacy": "protected",
165600
- "readonly": true,
165601
- "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
165602
- "default": "['sbb-train']",
165637
+ "default": "null",
165603
165638
  "inheritedFrom": {
165604
- "name": "SbbNamedSlotListMixin",
165605
- "module": "core/mixins/named-slot-list-mixin.js"
165639
+ "name": "SbbTrainFormationOrientationMixin",
165640
+ "module": "train/train-formation-orientation-mixin.js"
165606
165641
  }
165607
165642
  },
165608
165643
  {
165609
165644
  "kind": "field",
165610
- "name": "view",
165611
- "type": {
165612
- "text": "'side' | 'top'"
165613
- },
165614
- "privacy": "public",
165615
- "default": "'side'",
165616
- "description": "Whether the view of the wagons is from side or top perspective.",
165617
- "attribute": "view",
165618
- "reflects": true
165619
- },
165620
- {
165621
- "kind": "field",
165622
- "name": "orientation",
165623
- "type": {
165624
- "text": "SbbOrientation"
165625
- },
165626
- "privacy": "public",
165627
- "default": "'horizontal'",
165628
- "description": "Orientation, either horizontal or vertical.",
165629
- "attribute": "orientation",
165630
- "reflects": true
165631
- },
165632
- {
165633
- "kind": "field",
165634
- "name": "_sectors",
165635
- "type": {
165636
- "text": "AggregatedSector[]"
165637
- },
165638
- "privacy": "private",
165639
- "default": "[]"
165640
- },
165641
- {
165642
- "kind": "field",
165643
- "name": "_language",
165644
- "privacy": "private",
165645
- "default": "new SbbLanguageController(this)"
165646
- },
165647
- {
165648
- "kind": "method",
165649
- "name": "_readDirectionLabel",
165650
- "privacy": "private",
165651
- "return": {
165652
- "type": {
165653
- "text": "void"
165654
- }
165655
- },
165656
- "parameters": [
165657
- {
165658
- "name": "event",
165659
- "optional": true,
165660
- "type": {
165661
- "text": "Event"
165662
- }
165663
- }
165664
- ]
165665
- },
165666
- {
165667
- "kind": "method",
165668
- "name": "_readSectors",
165669
- "privacy": "private",
165670
- "return": {
165671
- "type": {
165672
- "text": "void"
165673
- }
165674
- },
165675
- "parameters": [
165676
- {
165677
- "name": "event",
165678
- "optional": true,
165679
- "type": {
165680
- "text": "Event"
165681
- }
165682
- }
165683
- ]
165684
- },
165685
- {
165686
- "kind": "field",
165687
- "name": "elementDependencies",
165645
+ "name": "['_$sbbElement$']",
165688
165646
  "type": {
165689
- "text": "SbbElementType[]"
165647
+ "text": "boolean"
165690
165648
  },
165691
165649
  "privacy": "public",
165692
165650
  "static": true,
165693
- "default": "[]",
165651
+ "default": "true",
165694
165652
  "inheritedFrom": {
165695
165653
  "name": "SbbElement",
165696
165654
  "module": "core/base-elements/element.js"
@@ -165698,119 +165656,12 @@
165698
165656
  },
165699
165657
  {
165700
165658
  "kind": "field",
165701
- "name": "styles",
165702
- "type": {
165703
- "text": "CSSResultGroup"
165704
- },
165705
- "privacy": "public",
165706
- "static": true,
165707
- "default": "[screenReaderOnlyStyles]",
165708
- "inheritedFrom": {
165709
- "name": "SbbNamedSlotListMixin",
165710
- "module": "core/mixins/named-slot-list-mixin.js"
165711
- }
165712
- },
165713
- {
165714
- "kind": "field",
165715
- "name": "listChildren",
165716
- "type": {
165717
- "text": "C[]"
165718
- },
165719
- "privacy": "protected",
165720
- "default": "[]",
165721
- "description": "A list of children with the defined tag names.\nThis array is only updated if there is an actual change\nto the child elements.",
165722
- "inheritedFrom": {
165723
- "name": "SbbNamedSlotListMixin",
165724
- "module": "core/mixins/named-slot-list-mixin.js"
165725
- }
165726
- },
165727
- {
165728
- "kind": "field",
165729
- "name": "_handleSlotchange",
165730
- "privacy": "private",
165731
- "inheritedFrom": {
165732
- "name": "SbbNamedSlotListMixin",
165733
- "module": "core/mixins/named-slot-list-mixin.js"
165734
- }
165735
- },
165736
- {
165737
- "kind": "method",
165738
- "name": "renderList",
165739
- "privacy": "protected",
165740
- "return": {
165741
- "type": {
165742
- "text": "TemplateResult"
165743
- }
165744
- },
165745
- "parameters": [
165746
- {
165747
- "name": "attributes",
165748
- "default": "{}",
165749
- "type": {
165750
- "text": "{ class?: string; ariaLabel?: string; ariaLabelledby?: string }"
165751
- }
165752
- },
165753
- {
165754
- "name": "listItemAttributes",
165755
- "default": "{}",
165756
- "type": {
165757
- "text": "{ localNameVisualOnly?: string[] }"
165758
- }
165759
- }
165760
- ],
165761
- "description": "Renders list and list slots for slotted children or a number of list slots\ncorresponding to the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
165762
- "inheritedFrom": {
165763
- "name": "SbbNamedSlotListMixin",
165764
- "module": "core/mixins/named-slot-list-mixin.js"
165765
- }
165766
- },
165767
- {
165768
- "kind": "method",
165769
- "name": "listSlotEntries",
165770
- "privacy": "protected",
165771
- "return": {
165772
- "type": {
165773
- "text": "SbbNamedSlotProperties[]"
165774
- }
165775
- },
165776
- "parameters": [
165777
- {
165778
- "name": "listItemAttributes",
165779
- "type": {
165780
- "text": "{\n localNameVisualOnly?: string[];\n }"
165781
- }
165782
- }
165783
- ],
165784
- "description": "Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;\nits length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
165785
- "inheritedFrom": {
165786
- "name": "SbbNamedSlotListMixin",
165787
- "module": "core/mixins/named-slot-list-mixin.js"
165788
- }
165789
- },
165790
- {
165791
- "kind": "method",
165792
- "name": "renderHiddenSlot",
165793
- "privacy": "protected",
165794
- "return": {
165795
- "type": {
165796
- "text": "TemplateResult"
165797
- }
165798
- },
165799
- "description": "Returns a hidden slot, which is intended as the children change detection.\nWhen an element without a slot attribute is slotted to the element, it triggers\nthe slotchange event, which can be used to assign it to the appropriate named slot.",
165800
- "inheritedFrom": {
165801
- "name": "SbbNamedSlotListMixin",
165802
- "module": "core/mixins/named-slot-list-mixin.js"
165803
- }
165804
- },
165805
- {
165806
- "kind": "field",
165807
- "name": "['_$sbbElement$']",
165659
+ "name": "elementDependencies",
165808
165660
  "type": {
165809
- "text": "boolean"
165661
+ "text": "SbbElementType[] | undefined"
165810
165662
  },
165811
165663
  "privacy": "public",
165812
165664
  "static": true,
165813
- "default": "true",
165814
165665
  "inheritedFrom": {
165815
165666
  "name": "SbbElement",
165816
165667
  "module": "core/base-elements/element.js"
@@ -166073,59 +165924,52 @@
166073
165924
  }
166074
165925
  }
166075
165926
  ],
166076
- "attributes": [
166077
- {
166078
- "name": "view",
166079
- "type": {
166080
- "text": "'side' | 'top'"
166081
- },
166082
- "default": "'side'",
166083
- "description": "Whether the view of the wagons is from side or top perspective.",
166084
- "fieldName": "view"
166085
- },
166086
- {
166087
- "name": "orientation",
166088
- "type": {
166089
- "text": "SbbOrientation"
166090
- },
166091
- "default": "'horizontal'",
166092
- "description": "Orientation, either horizontal or vertical.",
166093
- "fieldName": "orientation"
166094
- }
166095
- ],
166096
165927
  "mixins": [
166097
165928
  {
166098
- "name": "SbbNamedSlotListMixin",
166099
- "module": "core.js"
165929
+ "name": "SbbTrainFormationOrientationMixin",
165930
+ "module": "train/train-formation-orientation-mixin.js"
166100
165931
  }
166101
165932
  ],
166102
165933
  "superclass": {
166103
165934
  "name": "SbbElement",
166104
165935
  "module": "core.js"
166105
165936
  },
166106
- "tagName": "sbb-train-formation",
165937
+ "tagName": "sbb-train-blocked-passage",
166107
165938
  "customElement": true
166108
165939
  }
166109
165940
  ],
166110
165941
  "exports": [
166111
165942
  {
166112
165943
  "kind": "js",
166113
- "name": "SbbTrainFormationElement",
165944
+ "name": "SbbTrainBlockedPassageElement",
166114
165945
  "declaration": {
166115
- "name": "SbbTrainFormationElement",
166116
- "module": "train/train-formation/train-formation.component.js"
165946
+ "name": "SbbTrainBlockedPassageElement",
165947
+ "module": "train/train-blocked-passage/train-blocked-passage.component.js"
166117
165948
  }
166118
165949
  }
166119
165950
  ]
166120
165951
  },
166121
165952
  {
166122
165953
  "kind": "javascript-module",
166123
- "path": "train/train-blocked-passage/train-blocked-passage.component.js",
165954
+ "path": "train/train-formation/train-formation.component.js",
166124
165955
  "declarations": [
166125
165956
  {
166126
165957
  "kind": "class",
166127
- "description": "It visually displays a blocked passage between train wagons.",
166128
- "name": "SbbTrainBlockedPassageElement",
165958
+ "description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
165959
+ "name": "SbbTrainFormationElement",
165960
+ "cssProperties": [
165961
+ {
165962
+ "description": "Defines the inline or block padding inside the horizontal or vertical scrolling area.",
165963
+ "name": "--sbb-train-formation-scroll-padding",
165964
+ "default": "var(--sbb-spacing-fixed-1x)"
165965
+ }
165966
+ ],
165967
+ "slots": [
165968
+ {
165969
+ "description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
165970
+ "name": ""
165971
+ }
165972
+ ],
166129
165973
  "members": [
166130
165974
  {
166131
165975
  "kind": "field",
@@ -166136,7 +165980,7 @@
166136
165980
  "privacy": "public",
166137
165981
  "static": true,
166138
165982
  "readonly": true,
166139
- "default": "'sbb-train-blocked-passage'",
165983
+ "default": "'sbb-train-formation'",
166140
165984
  "inheritedFrom": {
166141
165985
  "name": "SbbElement",
166142
165986
  "module": "core/base-elements/element.js"
@@ -166144,26 +165988,105 @@
166144
165988
  },
166145
165989
  {
166146
165990
  "kind": "field",
166147
- "name": "orientation",
165991
+ "name": "listChildLocalNames",
166148
165992
  "type": {
166149
- "text": "SbbOrientation | null"
165993
+ "text": "array"
166150
165994
  },
166151
165995
  "privacy": "protected",
166152
- "default": "null",
165996
+ "readonly": true,
165997
+ "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
165998
+ "default": "['sbb-train']",
166153
165999
  "inheritedFrom": {
166154
- "name": "SbbTrainFormationOrientationMixin",
166155
- "module": "train/train-formation-orientation-mixin.js"
166000
+ "name": "SbbNamedSlotListMixin",
166001
+ "module": "core/mixins/named-slot-list-mixin.js"
166156
166002
  }
166157
166003
  },
166158
166004
  {
166159
166005
  "kind": "field",
166160
- "name": "['_$sbbElement$']",
166006
+ "name": "view",
166161
166007
  "type": {
166162
- "text": "boolean"
166008
+ "text": "'side' | 'top'"
166009
+ },
166010
+ "privacy": "public",
166011
+ "default": "'side'",
166012
+ "description": "Whether the view of the wagons is from side or top perspective.",
166013
+ "attribute": "view",
166014
+ "reflects": true
166015
+ },
166016
+ {
166017
+ "kind": "field",
166018
+ "name": "orientation",
166019
+ "type": {
166020
+ "text": "SbbOrientation"
166021
+ },
166022
+ "privacy": "public",
166023
+ "default": "'horizontal'",
166024
+ "description": "Orientation, either horizontal or vertical.",
166025
+ "attribute": "orientation",
166026
+ "reflects": true
166027
+ },
166028
+ {
166029
+ "kind": "field",
166030
+ "name": "_sectors",
166031
+ "type": {
166032
+ "text": "AggregatedSector[]"
166033
+ },
166034
+ "privacy": "private",
166035
+ "default": "[]"
166036
+ },
166037
+ {
166038
+ "kind": "field",
166039
+ "name": "_language",
166040
+ "privacy": "private",
166041
+ "default": "new SbbLanguageController(this)"
166042
+ },
166043
+ {
166044
+ "kind": "method",
166045
+ "name": "_readDirectionLabel",
166046
+ "privacy": "private",
166047
+ "return": {
166048
+ "type": {
166049
+ "text": "void"
166050
+ }
166051
+ },
166052
+ "parameters": [
166053
+ {
166054
+ "name": "event",
166055
+ "optional": true,
166056
+ "type": {
166057
+ "text": "Event"
166058
+ }
166059
+ }
166060
+ ]
166061
+ },
166062
+ {
166063
+ "kind": "method",
166064
+ "name": "_readSectors",
166065
+ "privacy": "private",
166066
+ "return": {
166067
+ "type": {
166068
+ "text": "void"
166069
+ }
166070
+ },
166071
+ "parameters": [
166072
+ {
166073
+ "name": "event",
166074
+ "optional": true,
166075
+ "type": {
166076
+ "text": "Event"
166077
+ }
166078
+ }
166079
+ ]
166080
+ },
166081
+ {
166082
+ "kind": "field",
166083
+ "name": "elementDependencies",
166084
+ "type": {
166085
+ "text": "SbbElementType[]"
166163
166086
  },
166164
166087
  "privacy": "public",
166165
166088
  "static": true,
166166
- "default": "true",
166089
+ "default": "[]",
166167
166090
  "inheritedFrom": {
166168
166091
  "name": "SbbElement",
166169
166092
  "module": "core/base-elements/element.js"
@@ -166171,12 +166094,119 @@
166171
166094
  },
166172
166095
  {
166173
166096
  "kind": "field",
166174
- "name": "elementDependencies",
166097
+ "name": "styles",
166175
166098
  "type": {
166176
- "text": "SbbElementType[] | undefined"
166099
+ "text": "CSSResultGroup"
166177
166100
  },
166178
166101
  "privacy": "public",
166179
166102
  "static": true,
166103
+ "default": "[screenReaderOnlyStyles]",
166104
+ "inheritedFrom": {
166105
+ "name": "SbbNamedSlotListMixin",
166106
+ "module": "core/mixins/named-slot-list-mixin.js"
166107
+ }
166108
+ },
166109
+ {
166110
+ "kind": "field",
166111
+ "name": "listChildren",
166112
+ "type": {
166113
+ "text": "C[]"
166114
+ },
166115
+ "privacy": "protected",
166116
+ "default": "[]",
166117
+ "description": "A list of children with the defined tag names.\nThis array is only updated if there is an actual change\nto the child elements.",
166118
+ "inheritedFrom": {
166119
+ "name": "SbbNamedSlotListMixin",
166120
+ "module": "core/mixins/named-slot-list-mixin.js"
166121
+ }
166122
+ },
166123
+ {
166124
+ "kind": "field",
166125
+ "name": "_handleSlotchange",
166126
+ "privacy": "private",
166127
+ "inheritedFrom": {
166128
+ "name": "SbbNamedSlotListMixin",
166129
+ "module": "core/mixins/named-slot-list-mixin.js"
166130
+ }
166131
+ },
166132
+ {
166133
+ "kind": "method",
166134
+ "name": "renderList",
166135
+ "privacy": "protected",
166136
+ "return": {
166137
+ "type": {
166138
+ "text": "TemplateResult"
166139
+ }
166140
+ },
166141
+ "parameters": [
166142
+ {
166143
+ "name": "attributes",
166144
+ "default": "{}",
166145
+ "type": {
166146
+ "text": "{ class?: string; ariaLabel?: string; ariaLabelledby?: string }"
166147
+ }
166148
+ },
166149
+ {
166150
+ "name": "listItemAttributes",
166151
+ "default": "{}",
166152
+ "type": {
166153
+ "text": "{ localNameVisualOnly?: string[] }"
166154
+ }
166155
+ }
166156
+ ],
166157
+ "description": "Renders list and list slots for slotted children or a number of list slots\ncorresponding to the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
166158
+ "inheritedFrom": {
166159
+ "name": "SbbNamedSlotListMixin",
166160
+ "module": "core/mixins/named-slot-list-mixin.js"
166161
+ }
166162
+ },
166163
+ {
166164
+ "kind": "method",
166165
+ "name": "listSlotEntries",
166166
+ "privacy": "protected",
166167
+ "return": {
166168
+ "type": {
166169
+ "text": "SbbNamedSlotProperties[]"
166170
+ }
166171
+ },
166172
+ "parameters": [
166173
+ {
166174
+ "name": "listItemAttributes",
166175
+ "type": {
166176
+ "text": "{\n localNameVisualOnly?: string[];\n }"
166177
+ }
166178
+ }
166179
+ ],
166180
+ "description": "Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;\nits length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
166181
+ "inheritedFrom": {
166182
+ "name": "SbbNamedSlotListMixin",
166183
+ "module": "core/mixins/named-slot-list-mixin.js"
166184
+ }
166185
+ },
166186
+ {
166187
+ "kind": "method",
166188
+ "name": "renderHiddenSlot",
166189
+ "privacy": "protected",
166190
+ "return": {
166191
+ "type": {
166192
+ "text": "TemplateResult"
166193
+ }
166194
+ },
166195
+ "description": "Returns a hidden slot, which is intended as the children change detection.\nWhen an element without a slot attribute is slotted to the element, it triggers\nthe slotchange event, which can be used to assign it to the appropriate named slot.",
166196
+ "inheritedFrom": {
166197
+ "name": "SbbNamedSlotListMixin",
166198
+ "module": "core/mixins/named-slot-list-mixin.js"
166199
+ }
166200
+ },
166201
+ {
166202
+ "kind": "field",
166203
+ "name": "['_$sbbElement$']",
166204
+ "type": {
166205
+ "text": "boolean"
166206
+ },
166207
+ "privacy": "public",
166208
+ "static": true,
166209
+ "default": "true",
166180
166210
  "inheritedFrom": {
166181
166211
  "name": "SbbElement",
166182
166212
  "module": "core/base-elements/element.js"
@@ -166439,27 +166469,47 @@
166439
166469
  }
166440
166470
  }
166441
166471
  ],
166472
+ "attributes": [
166473
+ {
166474
+ "name": "view",
166475
+ "type": {
166476
+ "text": "'side' | 'top'"
166477
+ },
166478
+ "default": "'side'",
166479
+ "description": "Whether the view of the wagons is from side or top perspective.",
166480
+ "fieldName": "view"
166481
+ },
166482
+ {
166483
+ "name": "orientation",
166484
+ "type": {
166485
+ "text": "SbbOrientation"
166486
+ },
166487
+ "default": "'horizontal'",
166488
+ "description": "Orientation, either horizontal or vertical.",
166489
+ "fieldName": "orientation"
166490
+ }
166491
+ ],
166442
166492
  "mixins": [
166443
166493
  {
166444
- "name": "SbbTrainFormationOrientationMixin",
166445
- "module": "train/train-formation-orientation-mixin.js"
166494
+ "name": "SbbNamedSlotListMixin",
166495
+ "module": "core.js"
166446
166496
  }
166447
166497
  ],
166448
166498
  "superclass": {
166449
166499
  "name": "SbbElement",
166450
166500
  "module": "core.js"
166451
166501
  },
166452
- "tagName": "sbb-train-blocked-passage",
166502
+ "tagName": "sbb-train-formation",
166453
166503
  "customElement": true
166454
166504
  }
166455
166505
  ],
166456
166506
  "exports": [
166457
166507
  {
166458
166508
  "kind": "js",
166459
- "name": "SbbTrainBlockedPassageElement",
166509
+ "name": "SbbTrainFormationElement",
166460
166510
  "declaration": {
166461
- "name": "SbbTrainBlockedPassageElement",
166462
- "module": "train/train-blocked-passage/train-blocked-passage.component.js"
166511
+ "name": "SbbTrainFormationElement",
166512
+ "module": "train/train-formation/train-formation.component.js"
166463
166513
  }
166464
166514
  }
166465
166515
  ]