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

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 (2) hide show
  1. package/custom-elements.json +359 -359
  2. package/package.json +2 -2
@@ -165555,12 +165555,25 @@
165555
165555
  },
165556
165556
  {
165557
165557
  "kind": "javascript-module",
165558
- "path": "train/train-blocked-passage/train-blocked-passage.component.js",
165558
+ "path": "train/train-formation/train-formation.component.js",
165559
165559
  "declarations": [
165560
165560
  {
165561
165561
  "kind": "class",
165562
- "description": "It visually displays a blocked passage between train wagons.",
165563
- "name": "SbbTrainBlockedPassageElement",
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
+ ],
165564
165577
  "members": [
165565
165578
  {
165566
165579
  "kind": "field",
@@ -165571,7 +165584,7 @@
165571
165584
  "privacy": "public",
165572
165585
  "static": true,
165573
165586
  "readonly": true,
165574
- "default": "'sbb-train-blocked-passage'",
165587
+ "default": "'sbb-train-formation'",
165575
165588
  "inheritedFrom": {
165576
165589
  "name": "SbbElement",
165577
165590
  "module": "core/base-elements/element.js"
@@ -165579,26 +165592,105 @@
165579
165592
  },
165580
165593
  {
165581
165594
  "kind": "field",
165582
- "name": "orientation",
165595
+ "name": "listChildLocalNames",
165583
165596
  "type": {
165584
- "text": "SbbOrientation | null"
165597
+ "text": "array"
165585
165598
  },
165586
165599
  "privacy": "protected",
165587
- "default": "null",
165600
+ "readonly": true,
165601
+ "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
165602
+ "default": "['sbb-train']",
165588
165603
  "inheritedFrom": {
165589
- "name": "SbbTrainFormationOrientationMixin",
165590
- "module": "train/train-formation-orientation-mixin.js"
165604
+ "name": "SbbNamedSlotListMixin",
165605
+ "module": "core/mixins/named-slot-list-mixin.js"
165591
165606
  }
165592
165607
  },
165593
165608
  {
165594
165609
  "kind": "field",
165595
- "name": "['_$sbbElement$']",
165610
+ "name": "view",
165596
165611
  "type": {
165597
- "text": "boolean"
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",
165688
+ "type": {
165689
+ "text": "SbbElementType[]"
165598
165690
  },
165599
165691
  "privacy": "public",
165600
165692
  "static": true,
165601
- "default": "true",
165693
+ "default": "[]",
165602
165694
  "inheritedFrom": {
165603
165695
  "name": "SbbElement",
165604
165696
  "module": "core/base-elements/element.js"
@@ -165606,12 +165698,119 @@
165606
165698
  },
165607
165699
  {
165608
165700
  "kind": "field",
165609
- "name": "elementDependencies",
165701
+ "name": "styles",
165610
165702
  "type": {
165611
- "text": "SbbElementType[] | undefined"
165703
+ "text": "CSSResultGroup"
165612
165704
  },
165613
165705
  "privacy": "public",
165614
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$']",
165808
+ "type": {
165809
+ "text": "boolean"
165810
+ },
165811
+ "privacy": "public",
165812
+ "static": true,
165813
+ "default": "true",
165615
165814
  "inheritedFrom": {
165616
165815
  "name": "SbbElement",
165617
165816
  "module": "core/base-elements/element.js"
@@ -165754,245 +165953,12 @@
165754
165953
  ],
165755
165954
  "inheritedFrom": {
165756
165955
  "name": "SbbElement",
165757
- "module": "core/base-elements/element.js"
165758
- }
165759
- },
165760
- {
165761
- "kind": "method",
165762
- "name": "_slotchangeHandler",
165763
- "privacy": "private",
165764
- "return": {
165765
- "type": {
165766
- "text": "void"
165767
- }
165768
- },
165769
- "parameters": [
165770
- {
165771
- "name": "event",
165772
- "type": {
165773
- "text": "Event"
165774
- }
165775
- },
165776
- {
165777
- "name": "slot",
165778
- "type": {
165779
- "text": "HTMLSlotElement"
165780
- }
165781
- }
165782
- ],
165783
- "inheritedFrom": {
165784
- "name": "SbbElement",
165785
- "module": "core/base-elements/element.js"
165786
- }
165787
- },
165788
- {
165789
- "kind": "method",
165790
- "name": "_handleSlotChangeForSlottedState",
165791
- "privacy": "private",
165792
- "return": {
165793
- "type": {
165794
- "text": "void"
165795
- }
165796
- },
165797
- "parameters": [
165798
- {
165799
- "name": "slot",
165800
- "type": {
165801
- "text": "HTMLSlotElement"
165802
- }
165803
- }
165804
- ],
165805
- "inheritedFrom": {
165806
- "name": "SbbElement",
165807
- "module": "core/base-elements/element.js"
165808
- }
165809
- },
165810
- {
165811
- "kind": "method",
165812
- "name": "_updateSlottedState",
165813
- "privacy": "private",
165814
- "return": {
165815
- "type": {
165816
- "text": "void"
165817
- }
165818
- },
165819
- "parameters": [
165820
- {
165821
- "name": "slot",
165822
- "type": {
165823
- "text": "HTMLSlotElement"
165824
- }
165825
- }
165826
- ],
165827
- "inheritedFrom": {
165828
- "name": "SbbElement",
165829
- "module": "core/base-elements/element.js"
165830
- }
165831
- },
165832
- {
165833
- "kind": "method",
165834
- "name": "_observeTextNodesInSlot",
165835
- "privacy": "private",
165836
- "return": {
165837
- "type": {
165838
- "text": "void"
165839
- }
165840
- },
165841
- "parameters": [
165842
- {
165843
- "name": "slot",
165844
- "type": {
165845
- "text": "HTMLSlotElement"
165846
- }
165847
- }
165848
- ],
165849
- "inheritedFrom": {
165850
- "name": "SbbElement",
165851
- "module": "core/base-elements/element.js"
165852
- }
165853
- },
165854
- {
165855
- "kind": "method",
165856
- "name": "_hasSlottedContent",
165857
- "privacy": "private",
165858
- "return": {
165859
- "type": {
165860
- "text": "boolean"
165861
- }
165862
- },
165863
- "parameters": [
165864
- {
165865
- "name": "slot",
165866
- "type": {
165867
- "text": "HTMLSlotElement"
165868
- }
165869
- }
165870
- ],
165871
- "inheritedFrom": {
165872
- "name": "SbbElement",
165873
- "module": "core/base-elements/element.js"
165874
- }
165875
- }
165876
- ],
165877
- "mixins": [
165878
- {
165879
- "name": "SbbTrainFormationOrientationMixin",
165880
- "module": "train/train-formation-orientation-mixin.js"
165881
- }
165882
- ],
165883
- "superclass": {
165884
- "name": "SbbElement",
165885
- "module": "core.js"
165886
- },
165887
- "tagName": "sbb-train-blocked-passage",
165888
- "customElement": true
165889
- }
165890
- ],
165891
- "exports": [
165892
- {
165893
- "kind": "js",
165894
- "name": "SbbTrainBlockedPassageElement",
165895
- "declaration": {
165896
- "name": "SbbTrainBlockedPassageElement",
165897
- "module": "train/train-blocked-passage/train-blocked-passage.component.js"
165898
- }
165899
- }
165900
- ]
165901
- },
165902
- {
165903
- "kind": "javascript-module",
165904
- "path": "train/train-formation/train-formation.component.js",
165905
- "declarations": [
165906
- {
165907
- "kind": "class",
165908
- "description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
165909
- "name": "SbbTrainFormationElement",
165910
- "cssProperties": [
165911
- {
165912
- "description": "Defines the inline or block padding inside the horizontal or vertical scrolling area.",
165913
- "name": "--sbb-train-formation-scroll-padding",
165914
- "default": "var(--sbb-spacing-fixed-1x)"
165915
- }
165916
- ],
165917
- "slots": [
165918
- {
165919
- "description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
165920
- "name": ""
165921
- }
165922
- ],
165923
- "members": [
165924
- {
165925
- "kind": "field",
165926
- "name": "elementName",
165927
- "type": {
165928
- "text": "string"
165929
- },
165930
- "privacy": "public",
165931
- "static": true,
165932
- "readonly": true,
165933
- "default": "'sbb-train-formation'",
165934
- "inheritedFrom": {
165935
- "name": "SbbElement",
165936
- "module": "core/base-elements/element.js"
165937
- }
165938
- },
165939
- {
165940
- "kind": "field",
165941
- "name": "listChildLocalNames",
165942
- "type": {
165943
- "text": "array"
165944
- },
165945
- "privacy": "protected",
165946
- "readonly": true,
165947
- "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
165948
- "default": "['sbb-train']",
165949
- "inheritedFrom": {
165950
- "name": "SbbNamedSlotListMixin",
165951
- "module": "core/mixins/named-slot-list-mixin.js"
165952
- }
165953
- },
165954
- {
165955
- "kind": "field",
165956
- "name": "view",
165957
- "type": {
165958
- "text": "'side' | 'top'"
165959
- },
165960
- "privacy": "public",
165961
- "default": "'side'",
165962
- "description": "Whether the view of the wagons is from side or top perspective.",
165963
- "attribute": "view",
165964
- "reflects": true
165965
- },
165966
- {
165967
- "kind": "field",
165968
- "name": "orientation",
165969
- "type": {
165970
- "text": "SbbOrientation"
165971
- },
165972
- "privacy": "public",
165973
- "default": "'horizontal'",
165974
- "description": "Orientation, either horizontal or vertical.",
165975
- "attribute": "orientation",
165976
- "reflects": true
165977
- },
165978
- {
165979
- "kind": "field",
165980
- "name": "_sectors",
165981
- "type": {
165982
- "text": "AggregatedSector[]"
165983
- },
165984
- "privacy": "private",
165985
- "default": "[]"
165986
- },
165987
- {
165988
- "kind": "field",
165989
- "name": "_language",
165990
- "privacy": "private",
165991
- "default": "new SbbLanguageController(this)"
165956
+ "module": "core/base-elements/element.js"
165957
+ }
165992
165958
  },
165993
165959
  {
165994
165960
  "kind": "method",
165995
- "name": "_readDirectionLabel",
165961
+ "name": "_slotchangeHandler",
165996
165962
  "privacy": "private",
165997
165963
  "return": {
165998
165964
  "type": {
@@ -166002,16 +165968,25 @@
166002
165968
  "parameters": [
166003
165969
  {
166004
165970
  "name": "event",
166005
- "optional": true,
166006
165971
  "type": {
166007
165972
  "text": "Event"
166008
165973
  }
165974
+ },
165975
+ {
165976
+ "name": "slot",
165977
+ "type": {
165978
+ "text": "HTMLSlotElement"
165979
+ }
166009
165980
  }
166010
- ]
165981
+ ],
165982
+ "inheritedFrom": {
165983
+ "name": "SbbElement",
165984
+ "module": "core/base-elements/element.js"
165985
+ }
166011
165986
  },
166012
165987
  {
166013
165988
  "kind": "method",
166014
- "name": "_readSectors",
165989
+ "name": "_handleSlotChangeForSlottedState",
166015
165990
  "privacy": "private",
166016
165991
  "return": {
166017
165992
  "type": {
@@ -166020,132 +165995,164 @@
166020
165995
  },
166021
165996
  "parameters": [
166022
165997
  {
166023
- "name": "event",
166024
- "optional": true,
165998
+ "name": "slot",
166025
165999
  "type": {
166026
- "text": "Event"
166000
+ "text": "HTMLSlotElement"
166027
166001
  }
166028
166002
  }
166029
- ]
166030
- },
166031
- {
166032
- "kind": "field",
166033
- "name": "elementDependencies",
166034
- "type": {
166035
- "text": "SbbElementType[]"
166036
- },
166037
- "privacy": "public",
166038
- "static": true,
166039
- "default": "[]",
166003
+ ],
166040
166004
  "inheritedFrom": {
166041
166005
  "name": "SbbElement",
166042
166006
  "module": "core/base-elements/element.js"
166043
166007
  }
166044
166008
  },
166045
166009
  {
166046
- "kind": "field",
166047
- "name": "styles",
166048
- "type": {
166049
- "text": "CSSResultGroup"
166050
- },
166051
- "privacy": "public",
166052
- "static": true,
166053
- "default": "[screenReaderOnlyStyles]",
166054
- "inheritedFrom": {
166055
- "name": "SbbNamedSlotListMixin",
166056
- "module": "core/mixins/named-slot-list-mixin.js"
166057
- }
166058
- },
166059
- {
166060
- "kind": "field",
166061
- "name": "listChildren",
166062
- "type": {
166063
- "text": "C[]"
166064
- },
166065
- "privacy": "protected",
166066
- "default": "[]",
166067
- "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.",
166068
- "inheritedFrom": {
166069
- "name": "SbbNamedSlotListMixin",
166070
- "module": "core/mixins/named-slot-list-mixin.js"
166071
- }
166072
- },
166073
- {
166074
- "kind": "field",
166075
- "name": "_handleSlotchange",
166010
+ "kind": "method",
166011
+ "name": "_updateSlottedState",
166076
166012
  "privacy": "private",
166013
+ "return": {
166014
+ "type": {
166015
+ "text": "void"
166016
+ }
166017
+ },
166018
+ "parameters": [
166019
+ {
166020
+ "name": "slot",
166021
+ "type": {
166022
+ "text": "HTMLSlotElement"
166023
+ }
166024
+ }
166025
+ ],
166077
166026
  "inheritedFrom": {
166078
- "name": "SbbNamedSlotListMixin",
166079
- "module": "core/mixins/named-slot-list-mixin.js"
166027
+ "name": "SbbElement",
166028
+ "module": "core/base-elements/element.js"
166080
166029
  }
166081
166030
  },
166082
166031
  {
166083
166032
  "kind": "method",
166084
- "name": "renderList",
166085
- "privacy": "protected",
166033
+ "name": "_observeTextNodesInSlot",
166034
+ "privacy": "private",
166086
166035
  "return": {
166087
166036
  "type": {
166088
- "text": "TemplateResult"
166037
+ "text": "void"
166089
166038
  }
166090
166039
  },
166091
166040
  "parameters": [
166092
166041
  {
166093
- "name": "attributes",
166094
- "default": "{}",
166095
- "type": {
166096
- "text": "{ class?: string; ariaLabel?: string; ariaLabelledby?: string }"
166097
- }
166098
- },
166099
- {
166100
- "name": "listItemAttributes",
166101
- "default": "{}",
166042
+ "name": "slot",
166102
166043
  "type": {
166103
- "text": "{ localNameVisualOnly?: string[] }"
166044
+ "text": "HTMLSlotElement"
166104
166045
  }
166105
166046
  }
166106
166047
  ],
166107
- "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.",
166108
166048
  "inheritedFrom": {
166109
- "name": "SbbNamedSlotListMixin",
166110
- "module": "core/mixins/named-slot-list-mixin.js"
166049
+ "name": "SbbElement",
166050
+ "module": "core/base-elements/element.js"
166111
166051
  }
166112
166052
  },
166113
166053
  {
166114
166054
  "kind": "method",
166115
- "name": "listSlotEntries",
166116
- "privacy": "protected",
166055
+ "name": "_hasSlottedContent",
166056
+ "privacy": "private",
166117
166057
  "return": {
166118
166058
  "type": {
166119
- "text": "SbbNamedSlotProperties[]"
166059
+ "text": "boolean"
166120
166060
  }
166121
166061
  },
166122
166062
  "parameters": [
166123
166063
  {
166124
- "name": "listItemAttributes",
166064
+ "name": "slot",
166125
166065
  "type": {
166126
- "text": "{\n localNameVisualOnly?: string[];\n }"
166066
+ "text": "HTMLSlotElement"
166127
166067
  }
166128
166068
  }
166129
166069
  ],
166130
- "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.",
166131
166070
  "inheritedFrom": {
166132
- "name": "SbbNamedSlotListMixin",
166133
- "module": "core/mixins/named-slot-list-mixin.js"
166071
+ "name": "SbbElement",
166072
+ "module": "core/base-elements/element.js"
166073
+ }
166074
+ }
166075
+ ],
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
+ "mixins": [
166097
+ {
166098
+ "name": "SbbNamedSlotListMixin",
166099
+ "module": "core.js"
166100
+ }
166101
+ ],
166102
+ "superclass": {
166103
+ "name": "SbbElement",
166104
+ "module": "core.js"
166105
+ },
166106
+ "tagName": "sbb-train-formation",
166107
+ "customElement": true
166108
+ }
166109
+ ],
166110
+ "exports": [
166111
+ {
166112
+ "kind": "js",
166113
+ "name": "SbbTrainFormationElement",
166114
+ "declaration": {
166115
+ "name": "SbbTrainFormationElement",
166116
+ "module": "train/train-formation/train-formation.component.js"
166117
+ }
166118
+ }
166119
+ ]
166120
+ },
166121
+ {
166122
+ "kind": "javascript-module",
166123
+ "path": "train/train-blocked-passage/train-blocked-passage.component.js",
166124
+ "declarations": [
166125
+ {
166126
+ "kind": "class",
166127
+ "description": "It visually displays a blocked passage between train wagons.",
166128
+ "name": "SbbTrainBlockedPassageElement",
166129
+ "members": [
166130
+ {
166131
+ "kind": "field",
166132
+ "name": "elementName",
166133
+ "type": {
166134
+ "text": "string"
166135
+ },
166136
+ "privacy": "public",
166137
+ "static": true,
166138
+ "readonly": true,
166139
+ "default": "'sbb-train-blocked-passage'",
166140
+ "inheritedFrom": {
166141
+ "name": "SbbElement",
166142
+ "module": "core/base-elements/element.js"
166134
166143
  }
166135
166144
  },
166136
166145
  {
166137
- "kind": "method",
166138
- "name": "renderHiddenSlot",
166139
- "privacy": "protected",
166140
- "return": {
166141
- "type": {
166142
- "text": "TemplateResult"
166143
- }
166146
+ "kind": "field",
166147
+ "name": "orientation",
166148
+ "type": {
166149
+ "text": "SbbOrientation | null"
166144
166150
  },
166145
- "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.",
166151
+ "privacy": "protected",
166152
+ "default": "null",
166146
166153
  "inheritedFrom": {
166147
- "name": "SbbNamedSlotListMixin",
166148
- "module": "core/mixins/named-slot-list-mixin.js"
166154
+ "name": "SbbTrainFormationOrientationMixin",
166155
+ "module": "train/train-formation-orientation-mixin.js"
166149
166156
  }
166150
166157
  },
166151
166158
  {
@@ -166162,6 +166169,19 @@
166162
166169
  "module": "core/base-elements/element.js"
166163
166170
  }
166164
166171
  },
166172
+ {
166173
+ "kind": "field",
166174
+ "name": "elementDependencies",
166175
+ "type": {
166176
+ "text": "SbbElementType[] | undefined"
166177
+ },
166178
+ "privacy": "public",
166179
+ "static": true,
166180
+ "inheritedFrom": {
166181
+ "name": "SbbElement",
166182
+ "module": "core/base-elements/element.js"
166183
+ }
166184
+ },
166165
166185
  {
166166
166186
  "kind": "field",
166167
166187
  "name": "role",
@@ -166419,47 +166439,27 @@
166419
166439
  }
166420
166440
  }
166421
166441
  ],
166422
- "attributes": [
166423
- {
166424
- "name": "view",
166425
- "type": {
166426
- "text": "'side' | 'top'"
166427
- },
166428
- "default": "'side'",
166429
- "description": "Whether the view of the wagons is from side or top perspective.",
166430
- "fieldName": "view"
166431
- },
166432
- {
166433
- "name": "orientation",
166434
- "type": {
166435
- "text": "SbbOrientation"
166436
- },
166437
- "default": "'horizontal'",
166438
- "description": "Orientation, either horizontal or vertical.",
166439
- "fieldName": "orientation"
166440
- }
166441
- ],
166442
166442
  "mixins": [
166443
166443
  {
166444
- "name": "SbbNamedSlotListMixin",
166445
- "module": "core.js"
166444
+ "name": "SbbTrainFormationOrientationMixin",
166445
+ "module": "train/train-formation-orientation-mixin.js"
166446
166446
  }
166447
166447
  ],
166448
166448
  "superclass": {
166449
166449
  "name": "SbbElement",
166450
166450
  "module": "core.js"
166451
166451
  },
166452
- "tagName": "sbb-train-formation",
166452
+ "tagName": "sbb-train-blocked-passage",
166453
166453
  "customElement": true
166454
166454
  }
166455
166455
  ],
166456
166456
  "exports": [
166457
166457
  {
166458
166458
  "kind": "js",
166459
- "name": "SbbTrainFormationElement",
166459
+ "name": "SbbTrainBlockedPassageElement",
166460
166460
  "declaration": {
166461
- "name": "SbbTrainFormationElement",
166462
- "module": "train/train-formation/train-formation.component.js"
166461
+ "name": "SbbTrainBlockedPassageElement",
166462
+ "module": "train/train-blocked-passage/train-blocked-passage.component.js"
166463
166463
  }
166464
166464
  }
166465
166465
  ]
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sbb-esta/lyne-elements-dev",
3
- "version": "5.0.0-next.1-dev.1777534945",
3
+ "version": "5.0.0-next.1-dev.1777541398",
4
4
  "description": "Lyne Design System",
5
5
  "keywords": [
6
6
  "design system",
7
7
  "web components",
8
8
  "lit",
9
- "https://github.com/sbb-design-systems/lyne-components/commit/7f06978af919f8b01e2992fc8fb4c6bf4d76767b"
9
+ "https://github.com/sbb-design-systems/lyne-components/commit/720fb8afa3980776412207f6abd9f6749eb3b5ac"
10
10
  ],
11
11
  "type": "module",
12
12
  "exports": {