@sbb-esta/lyne-elements-dev 5.0.0-next-dev.1777284499 → 5.0.0-next.1-dev.1777289537

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 +1080 -1080
  2. package/package.json +2 -2
@@ -143644,50 +143644,6 @@
143644
143644
  }
143645
143645
  ]
143646
143646
  },
143647
- {
143648
- "kind": "javascript-module",
143649
- "path": "sidebar/common/styles.js",
143650
- "declarations": [
143651
- {
143652
- "kind": "variable",
143653
- "name": "sidebarContainerCommonStyle"
143654
- },
143655
- {
143656
- "kind": "variable",
143657
- "name": "sidebarContentCommonStyle"
143658
- },
143659
- {
143660
- "kind": "variable",
143661
- "name": "iconSidebarButtonCommonStyle"
143662
- }
143663
- ],
143664
- "exports": [
143665
- {
143666
- "kind": "js",
143667
- "name": "sidebarContainerCommonStyle",
143668
- "declaration": {
143669
- "name": "sidebarContainerCommonStyle",
143670
- "module": "sidebar/common/styles.js"
143671
- }
143672
- },
143673
- {
143674
- "kind": "js",
143675
- "name": "sidebarContentCommonStyle",
143676
- "declaration": {
143677
- "name": "sidebarContentCommonStyle",
143678
- "module": "sidebar/common/styles.js"
143679
- }
143680
- },
143681
- {
143682
- "kind": "js",
143683
- "name": "iconSidebarButtonCommonStyle",
143684
- "declaration": {
143685
- "name": "iconSidebarButtonCommonStyle",
143686
- "module": "sidebar/common/styles.js"
143687
- }
143688
- }
143689
- ]
143690
- },
143691
143647
  {
143692
143648
  "kind": "javascript-module",
143693
143649
  "path": "sidebar/sidebar/sidebar.component.js",
@@ -144578,6 +144534,50 @@
144578
144534
  }
144579
144535
  ]
144580
144536
  },
144537
+ {
144538
+ "kind": "javascript-module",
144539
+ "path": "sidebar/common/styles.js",
144540
+ "declarations": [
144541
+ {
144542
+ "kind": "variable",
144543
+ "name": "sidebarContainerCommonStyle"
144544
+ },
144545
+ {
144546
+ "kind": "variable",
144547
+ "name": "sidebarContentCommonStyle"
144548
+ },
144549
+ {
144550
+ "kind": "variable",
144551
+ "name": "iconSidebarButtonCommonStyle"
144552
+ }
144553
+ ],
144554
+ "exports": [
144555
+ {
144556
+ "kind": "js",
144557
+ "name": "sidebarContainerCommonStyle",
144558
+ "declaration": {
144559
+ "name": "sidebarContainerCommonStyle",
144560
+ "module": "sidebar/common/styles.js"
144561
+ }
144562
+ },
144563
+ {
144564
+ "kind": "js",
144565
+ "name": "sidebarContentCommonStyle",
144566
+ "declaration": {
144567
+ "name": "sidebarContentCommonStyle",
144568
+ "module": "sidebar/common/styles.js"
144569
+ }
144570
+ },
144571
+ {
144572
+ "kind": "js",
144573
+ "name": "iconSidebarButtonCommonStyle",
144574
+ "declaration": {
144575
+ "name": "iconSidebarButtonCommonStyle",
144576
+ "module": "sidebar/common/styles.js"
144577
+ }
144578
+ }
144579
+ ]
144580
+ },
144581
144581
  {
144582
144582
  "kind": "javascript-module",
144583
144583
  "path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
@@ -146787,16 +146787,20 @@
146787
146787
  },
146788
146788
  {
146789
146789
  "kind": "javascript-module",
146790
- "path": "stepper/step/step.component.js",
146790
+ "path": "stepper/step-label/step-label.component.js",
146791
146791
  "declarations": [
146792
146792
  {
146793
146793
  "kind": "class",
146794
- "description": "Combined with a `sbb-stepper`, it displays a step's content.",
146795
- "name": "SbbStepElement",
146794
+ "description": "Combined with a `sbb-stepper`, it displays a step's label.",
146795
+ "name": "SbbStepLabelElement",
146796
146796
  "slots": [
146797
146797
  {
146798
- "description": "Use the unnamed slot to provide content.",
146798
+ "description": "Use the unnamed slot to provide a label.",
146799
146799
  "name": ""
146800
+ },
146801
+ {
146802
+ "description": "Use this to display an icon in the label bubble.",
146803
+ "name": "icon"
146800
146804
  }
146801
146805
  ],
146802
146806
  "members": [
@@ -146809,11 +146813,11 @@
146809
146813
  "privacy": "public",
146810
146814
  "static": true,
146811
146815
  "readonly": true,
146812
- "default": "'sbb-step'",
146813
146816
  "inheritedFrom": {
146814
146817
  "name": "SbbElement",
146815
146818
  "module": "core/base-elements/element.js"
146816
- }
146819
+ },
146820
+ "default": "'sbb-step-label'"
146817
146821
  },
146818
146822
  {
146819
146823
  "kind": "field",
@@ -146823,46 +146827,29 @@
146823
146827
  },
146824
146828
  "privacy": "public",
146825
146829
  "static": true,
146826
- "readonly": true,
146827
- "default": "'tabpanel'",
146828
146830
  "inheritedFrom": {
146829
146831
  "name": "SbbElement",
146830
146832
  "module": "core/base-elements/element.js"
146831
- }
146832
- },
146833
- {
146834
- "kind": "field",
146835
- "name": "events",
146836
- "privacy": "public",
146837
- "static": true,
146833
+ },
146838
146834
  "readonly": true,
146839
- "default": "{ validate: 'validate', resizechange: 'resizechange', }",
146840
- "type": {
146841
- "text": "{\n validate: 'validate',\n resizechange: 'resizechange',\n }"
146842
- }
146843
- },
146844
- {
146845
- "kind": "field",
146846
- "name": "_stepResizeObserver",
146847
- "privacy": "private",
146848
- "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => setTimeout(() => this._onStepElementResize()), })"
146835
+ "default": "'tab'"
146849
146836
  },
146850
146837
  {
146851
146838
  "kind": "field",
146852
- "name": "label",
146839
+ "name": "step",
146853
146840
  "type": {
146854
- "text": "SbbStepLabelElement | null"
146841
+ "text": "SbbStepElement | null"
146855
146842
  },
146856
146843
  "privacy": "public",
146857
- "description": "The label of the step.",
146844
+ "description": "The step controlled by the label.",
146858
146845
  "readonly": true,
146859
146846
  "default": "null"
146860
146847
  },
146861
146848
  {
146862
146849
  "kind": "field",
146863
- "name": "_label",
146850
+ "name": "_step",
146864
146851
  "type": {
146865
- "text": "SbbStepLabelElement | null"
146852
+ "text": "SbbStepElement | null"
146866
146853
  },
146867
146854
  "privacy": "private",
146868
146855
  "default": "null"
@@ -146876,6 +146863,22 @@
146876
146863
  "privacy": "public",
146877
146864
  "readonly": true
146878
146865
  },
146866
+ {
146867
+ "kind": "field",
146868
+ "name": "disabled",
146869
+ "privacy": "public",
146870
+ "description": "Whether the component is disabled.",
146871
+ "default": "false",
146872
+ "type": {
146873
+ "text": "boolean"
146874
+ },
146875
+ "attribute": "disabled",
146876
+ "reflects": true,
146877
+ "inheritedFrom": {
146878
+ "name": "SbbDisabledMixin",
146879
+ "module": "core/mixins/disabled-mixin.js"
146880
+ }
146881
+ },
146879
146882
  {
146880
146883
  "kind": "field",
146881
146884
  "name": "_previousOrientation",
@@ -146884,186 +146887,234 @@
146884
146887
  },
146885
146888
  "privacy": "private"
146886
146889
  },
146890
+ {
146891
+ "kind": "field",
146892
+ "name": "_previousSize",
146893
+ "type": {
146894
+ "text": "string | undefined"
146895
+ },
146896
+ "privacy": "private"
146897
+ },
146887
146898
  {
146888
146899
  "kind": "method",
146889
- "name": "_handleClick",
146900
+ "name": "_isNotDeactivatedByLinearMode",
146890
146901
  "privacy": "private",
146891
146902
  "return": {
146892
146903
  "type": {
146893
- "text": "void"
146904
+ "text": "boolean"
146894
146905
  }
146895
146906
  },
146896
146907
  "parameters": [
146897
146908
  {
146898
- "name": "event",
146909
+ "name": "step",
146899
146910
  "type": {
146900
- "text": "Event"
146911
+ "text": "SbbStepElement"
146901
146912
  }
146902
146913
  }
146903
- ],
146904
- "description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
146914
+ ]
146905
146915
  },
146906
146916
  {
146907
146917
  "kind": "method",
146908
- "name": "_isGoNextElement",
146918
+ "name": "_assignStep",
146909
146919
  "privacy": "private",
146910
146920
  "return": {
146911
146921
  "type": {
146912
- "text": "boolean"
146922
+ "text": "void"
146913
146923
  }
146924
+ }
146925
+ },
146926
+ {
146927
+ "kind": "field",
146928
+ "name": "elementDependencies",
146929
+ "type": {
146930
+ "text": "SbbElementType[]"
146914
146931
  },
146915
- "parameters": [
146916
- {
146917
- "name": "element",
146918
- "type": {
146919
- "text": "HTMLElement"
146920
- }
146921
- }
146922
- ]
146932
+ "privacy": "public",
146933
+ "static": true,
146934
+ "inheritedFrom": {
146935
+ "name": "SbbElement",
146936
+ "module": "core/base-elements/element.js"
146937
+ },
146938
+ "default": "[SbbIconElement]"
146939
+ },
146940
+ {
146941
+ "kind": "field",
146942
+ "name": "iconName",
146943
+ "type": {
146944
+ "text": "string"
146945
+ },
146946
+ "privacy": "public",
146947
+ "default": "''",
146948
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
146949
+ "attribute": "icon-name",
146950
+ "inheritedFrom": {
146951
+ "name": "SbbIconNameMixin",
146952
+ "module": "icon/icon-name-mixin.js"
146953
+ }
146923
146954
  },
146924
146955
  {
146925
146956
  "kind": "method",
146926
- "name": "_isGoPreviousElement",
146927
- "privacy": "private",
146957
+ "name": "renderIconSlot",
146958
+ "privacy": "protected",
146928
146959
  "return": {
146929
146960
  "type": {
146930
- "text": "boolean"
146961
+ "text": "TemplateResult"
146931
146962
  }
146932
146963
  },
146933
146964
  "parameters": [
146934
146965
  {
146935
- "name": "element",
146966
+ "name": "classname",
146967
+ "optional": true,
146936
146968
  "type": {
146937
- "text": "HTMLElement"
146969
+ "text": "string"
146938
146970
  }
146939
146971
  }
146940
- ]
146972
+ ],
146973
+ "inheritedFrom": {
146974
+ "name": "SbbIconNameMixin",
146975
+ "module": "icon/icon-name-mixin.js"
146976
+ }
146941
146977
  },
146942
146978
  {
146943
146979
  "kind": "method",
146944
- "name": "_onStepElementResize",
146945
- "privacy": "private",
146980
+ "name": "renderIconName",
146981
+ "privacy": "protected",
146946
146982
  "return": {
146947
146983
  "type": {
146948
- "text": "void"
146984
+ "text": "string"
146949
146985
  }
146986
+ },
146987
+ "inheritedFrom": {
146988
+ "name": "SbbIconNameMixin",
146989
+ "module": "icon/icon-name-mixin.js"
146950
146990
  }
146951
146991
  },
146952
146992
  {
146953
146993
  "kind": "method",
146954
- "name": "_assignLabel",
146994
+ "name": "_renderIconName",
146955
146995
  "privacy": "private",
146956
146996
  "return": {
146957
146997
  "type": {
146958
- "text": "void"
146998
+ "text": "string"
146959
146999
  }
147000
+ },
147001
+ "inheritedFrom": {
147002
+ "name": "SbbIconNameMixin",
147003
+ "module": "icon/icon-name-mixin.js"
146960
147004
  }
146961
147005
  },
146962
147006
  {
146963
147007
  "kind": "field",
146964
- "name": "['_$sbbElement$']",
147008
+ "name": "#disabled",
147009
+ "privacy": "private",
146965
147010
  "type": {
146966
147011
  "text": "boolean"
146967
147012
  },
146968
- "privacy": "public",
146969
- "static": true,
146970
- "default": "true",
147013
+ "default": "false",
146971
147014
  "inheritedFrom": {
146972
- "name": "SbbElement",
146973
- "module": "core/base-elements/element.js"
146974
- }
147015
+ "name": "SbbDisabledMixin",
147016
+ "module": "core/mixins/disabled-mixin.js"
147017
+ }
146975
147018
  },
146976
147019
  {
146977
- "kind": "field",
146978
- "name": "elementDependencies",
146979
- "type": {
146980
- "text": "SbbElementType[] | undefined"
147020
+ "kind": "method",
147021
+ "name": "isDisabledExternally",
147022
+ "privacy": "protected",
147023
+ "return": {
147024
+ "type": {
147025
+ "text": "boolean"
147026
+ }
146981
147027
  },
146982
- "privacy": "public",
146983
- "static": true,
147028
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
146984
147029
  "inheritedFrom": {
146985
- "name": "SbbElement",
146986
- "module": "core/base-elements/element.js"
147030
+ "name": "SbbDisabledMixin",
147031
+ "module": "core/mixins/disabled-mixin.js"
146987
147032
  }
146988
147033
  },
146989
147034
  {
146990
147035
  "kind": "field",
146991
- "name": "_controllers",
147036
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
146992
147037
  "type": {
146993
- "text": "Set<SbbReactiveController> | undefined"
147038
+ "text": "array"
146994
147039
  },
146995
147040
  "privacy": "private",
147041
+ "readonly": true,
147042
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
146996
147043
  "inheritedFrom": {
146997
- "name": "SbbElement",
146998
- "module": "core/base-elements/element.js"
147044
+ "name": "SbbButtonBaseElement",
147045
+ "module": "core/base-elements/button-base-element.js"
146999
147046
  }
147000
147047
  },
147001
147048
  {
147002
147049
  "kind": "field",
147003
- "name": "_hydrationRequired",
147050
+ "name": "value",
147004
147051
  "type": {
147005
- "text": "boolean"
147052
+ "text": "string"
147006
147053
  },
147007
- "privacy": "private",
147008
- "default": "!!this.shadowRoot",
147054
+ "privacy": "public",
147009
147055
  "inheritedFrom": {
147010
- "name": "SbbElement",
147011
- "module": "core/base-elements/element.js"
147012
- }
147056
+ "name": "SbbButtonBaseElement",
147057
+ "module": "core/base-elements/button-base-element.js"
147058
+ },
147059
+ "default": "''",
147060
+ "description": "Value of the form element.",
147061
+ "attribute": "value"
147013
147062
  },
147014
147063
  {
147015
147064
  "kind": "field",
147016
- "name": "_hydrationComplete",
147017
- "privacy": "private",
147018
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
147065
+ "name": "type",
147066
+ "privacy": "public",
147067
+ "description": "The type attribute to use for the button.",
147068
+ "default": "'button'",
147069
+ "type": {
147070
+ "text": "SbbButtonType"
147071
+ },
147072
+ "attribute": "type",
147019
147073
  "inheritedFrom": {
147020
- "name": "SbbElement",
147021
- "module": "core/base-elements/element.js"
147074
+ "name": "SbbButtonBaseElement",
147075
+ "module": "core/base-elements/button-base-element.js"
147022
147076
  }
147023
147077
  },
147024
147078
  {
147025
147079
  "kind": "field",
147026
- "name": "_resolveHydration",
147080
+ "name": "form",
147027
147081
  "type": {
147028
- "text": "(hydrationRequired: boolean) => void"
147082
+ "text": "HTMLFormElement | null"
147029
147083
  },
147030
- "privacy": "private",
147084
+ "privacy": "public",
147085
+ "description": "The `<form>` element to associate the button with.",
147031
147086
  "inheritedFrom": {
147032
- "name": "SbbElement",
147033
- "module": "core/base-elements/element.js"
147034
- }
147087
+ "name": "SbbButtonBaseElement",
147088
+ "module": "core/base-elements/button-base-element.js"
147089
+ },
147090
+ "attribute": "form"
147035
147091
  },
147036
147092
  {
147037
147093
  "kind": "field",
147038
- "name": "_textObserver",
147094
+ "name": "_formId",
147039
147095
  "type": {
147040
- "text": "MutationObserver | undefined"
147096
+ "text": "string"
147041
147097
  },
147042
147098
  "privacy": "private",
147099
+ "default": "''",
147043
147100
  "inheritedFrom": {
147044
- "name": "SbbElement",
147045
- "module": "core/base-elements/element.js"
147101
+ "name": "SbbButtonBaseElement",
147102
+ "module": "core/base-elements/button-base-element.js"
147046
147103
  }
147047
147104
  },
147048
147105
  {
147049
147106
  "kind": "field",
147050
- "name": "hydrationRequired",
147051
- "type": {
147052
- "text": "boolean"
147053
- },
147054
- "privacy": "protected",
147055
- "description": "Returns whether hydration is required and not completed.",
147056
- "readonly": true,
147107
+ "name": "_handleButtonClick",
147108
+ "privacy": "private",
147057
147109
  "inheritedFrom": {
147058
- "name": "SbbElement",
147059
- "module": "core/base-elements/element.js"
147060
- },
147061
- "default": "!!this.shadowRoot"
147110
+ "name": "SbbButtonBaseElement",
147111
+ "module": "core/base-elements/button-base-element.js"
147112
+ }
147062
147113
  },
147063
147114
  {
147064
147115
  "kind": "method",
147065
- "name": "toggleState",
147066
- "privacy": "protected",
147116
+ "name": "_requestSubmit",
147117
+ "privacy": "private",
147067
147118
  "return": {
147068
147119
  "type": {
147069
147120
  "text": "void"
@@ -147071,654 +147122,524 @@
147071
147122
  },
147072
147123
  "parameters": [
147073
147124
  {
147074
- "name": "value",
147075
- "type": {
147076
- "text": "string"
147077
- }
147078
- },
147079
- {
147080
- "name": "force",
147081
- "optional": true,
147125
+ "name": "form",
147082
147126
  "type": {
147083
- "text": "boolean"
147127
+ "text": "HTMLFormElement"
147084
147128
  }
147085
147129
  }
147086
147130
  ],
147087
147131
  "inheritedFrom": {
147088
- "name": "SbbElement",
147089
- "module": "core/base-elements/element.js"
147132
+ "name": "SbbButtonBaseElement",
147133
+ "module": "core/base-elements/button-base-element.js"
147090
147134
  }
147091
147135
  },
147092
147136
  {
147093
- "kind": "method",
147094
- "name": "_slotchangeHandler",
147137
+ "kind": "field",
147138
+ "name": "_formKeyDown",
147095
147139
  "privacy": "private",
147096
- "return": {
147097
- "type": {
147098
- "text": "void"
147099
- }
147100
- },
147101
- "parameters": [
147102
- {
147103
- "name": "event",
147104
- "type": {
147105
- "text": "Event"
147106
- }
147107
- },
147108
- {
147109
- "name": "slot",
147110
- "type": {
147111
- "text": "HTMLSlotElement"
147112
- }
147113
- }
147114
- ],
147115
147140
  "inheritedFrom": {
147116
- "name": "SbbElement",
147117
- "module": "core/base-elements/element.js"
147141
+ "name": "SbbButtonBaseElement",
147142
+ "module": "core/base-elements/button-base-element.js"
147118
147143
  }
147119
147144
  },
147120
147145
  {
147121
- "kind": "method",
147122
- "name": "_handleSlotChangeForSlottedState",
147123
- "privacy": "private",
147124
- "return": {
147125
- "type": {
147126
- "text": "void"
147127
- }
147146
+ "kind": "field",
147147
+ "name": "formAssociated",
147148
+ "type": {
147149
+ "text": "boolean"
147128
147150
  },
147129
- "parameters": [
147130
- {
147131
- "name": "slot",
147132
- "type": {
147133
- "text": "HTMLSlotElement"
147134
- }
147135
- }
147136
- ],
147151
+ "privacy": "public",
147152
+ "static": true,
147153
+ "default": "true",
147137
147154
  "inheritedFrom": {
147138
- "name": "SbbElement",
147139
- "module": "core/base-elements/element.js"
147155
+ "name": "SbbFormAssociatedMixin",
147156
+ "module": "core/mixins/form-associated-mixin.js"
147140
147157
  }
147141
147158
  },
147142
147159
  {
147143
- "kind": "method",
147144
- "name": "_updateSlottedState",
147145
- "privacy": "private",
147146
- "return": {
147147
- "type": {
147148
- "text": "void"
147149
- }
147160
+ "kind": "field",
147161
+ "name": "name",
147162
+ "privacy": "public",
147163
+ "description": "Name of the form element. Will be read from name attribute.",
147164
+ "type": {
147165
+ "text": "string"
147150
147166
  },
147151
- "parameters": [
147152
- {
147153
- "name": "slot",
147154
- "type": {
147155
- "text": "HTMLSlotElement"
147156
- }
147157
- }
147158
- ],
147167
+ "attribute": "name",
147159
147168
  "inheritedFrom": {
147160
- "name": "SbbElement",
147161
- "module": "core/base-elements/element.js"
147169
+ "name": "SbbFormAssociatedMixin",
147170
+ "module": "core/mixins/form-associated-mixin.js"
147162
147171
  }
147163
147172
  },
147164
147173
  {
147165
- "kind": "method",
147166
- "name": "_observeTextNodesInSlot",
147167
- "privacy": "private",
147168
- "return": {
147169
- "type": {
147170
- "text": "void"
147171
- }
147174
+ "kind": "field",
147175
+ "name": "validity",
147176
+ "type": {
147177
+ "text": "ValidityState"
147172
147178
  },
147173
- "parameters": [
147174
- {
147175
- "name": "slot",
147176
- "type": {
147177
- "text": "HTMLSlotElement"
147178
- }
147179
- }
147180
- ],
147179
+ "privacy": "public",
147180
+ "description": "Returns the ValidityState object for this element.",
147181
+ "readonly": true,
147181
147182
  "inheritedFrom": {
147182
- "name": "SbbElement",
147183
- "module": "core/base-elements/element.js"
147183
+ "name": "SbbFormAssociatedMixin",
147184
+ "module": "core/mixins/form-associated-mixin.js"
147184
147185
  }
147185
147186
  },
147186
147187
  {
147187
- "kind": "method",
147188
- "name": "_hasSlottedContent",
147189
- "privacy": "private",
147190
- "return": {
147191
- "type": {
147192
- "text": "boolean"
147193
- }
147188
+ "kind": "field",
147189
+ "name": "validationMessage",
147190
+ "type": {
147191
+ "text": "string"
147194
147192
  },
147195
- "parameters": [
147196
- {
147197
- "name": "slot",
147198
- "type": {
147199
- "text": "HTMLSlotElement"
147200
- }
147201
- }
147202
- ],
147193
+ "privacy": "public",
147194
+ "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
147195
+ "readonly": true,
147203
147196
  "inheritedFrom": {
147204
- "name": "SbbElement",
147205
- "module": "core/base-elements/element.js"
147197
+ "name": "SbbFormAssociatedMixin",
147198
+ "module": "core/mixins/form-associated-mixin.js"
147206
147199
  }
147207
- }
147208
- ],
147209
- "events": [
147210
- {
147211
- "name": "validate",
147212
- "type": {
147213
- "text": "CustomEvent<SbbStepValidateEventDetails>"
147214
- },
147215
- "description": "The validate event is dispatched when a step change is triggered. Can be canceled to abort the step change."
147216
- }
147217
- ],
147218
- "superclass": {
147219
- "name": "SbbElement",
147220
- "module": "core.js"
147221
- },
147222
- "tagName": "sbb-step",
147223
- "customElement": true
147224
- }
147225
- ],
147226
- "exports": [
147227
- {
147228
- "kind": "js",
147229
- "name": "SbbStepElement",
147230
- "declaration": {
147231
- "name": "SbbStepElement",
147232
- "module": "stepper/step/step.component.js"
147233
- }
147234
- }
147235
- ]
147236
- },
147237
- {
147238
- "kind": "javascript-module",
147239
- "path": "stepper/step-label/step-label.component.js",
147240
- "declarations": [
147241
- {
147242
- "kind": "class",
147243
- "description": "Combined with a `sbb-stepper`, it displays a step's label.",
147244
- "name": "SbbStepLabelElement",
147245
- "slots": [
147246
- {
147247
- "description": "Use the unnamed slot to provide a label.",
147248
- "name": ""
147249
- },
147250
- {
147251
- "description": "Use this to display an icon in the label bubble.",
147252
- "name": "icon"
147253
- }
147254
- ],
147255
- "members": [
147200
+ },
147256
147201
  {
147257
147202
  "kind": "field",
147258
- "name": "elementName",
147203
+ "name": "willValidate",
147259
147204
  "type": {
147260
- "text": "string"
147205
+ "text": "boolean"
147261
147206
  },
147262
147207
  "privacy": "public",
147263
- "static": true,
147208
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
147264
147209
  "readonly": true,
147265
147210
  "inheritedFrom": {
147266
- "name": "SbbElement",
147267
- "module": "core/base-elements/element.js"
147268
- },
147269
- "default": "'sbb-step-label'"
147270
- },
147271
- {
147272
- "kind": "field",
147273
- "name": "role",
147274
- "type": {
147275
- "text": "string"
147276
- },
147277
- "privacy": "public",
147278
- "static": true,
147279
- "inheritedFrom": {
147280
- "name": "SbbElement",
147281
- "module": "core/base-elements/element.js"
147282
- },
147283
- "readonly": true,
147284
- "default": "'tab'"
147285
- },
147286
- {
147287
- "kind": "field",
147288
- "name": "step",
147289
- "type": {
147290
- "text": "SbbStepElement | null"
147291
- },
147292
- "privacy": "public",
147293
- "description": "The step controlled by the label.",
147294
- "readonly": true,
147295
- "default": "null"
147211
+ "name": "SbbFormAssociatedMixin",
147212
+ "module": "core/mixins/form-associated-mixin.js"
147213
+ }
147296
147214
  },
147297
147215
  {
147298
147216
  "kind": "field",
147299
- "name": "_step",
147300
- "type": {
147301
- "text": "SbbStepElement | null"
147302
- },
147217
+ "name": "_validityStates",
147303
147218
  "privacy": "private",
147304
- "default": "null"
147305
- },
147306
- {
147307
- "kind": "field",
147308
- "name": "stepper",
147309
- "type": {
147310
- "text": "SbbStepperElement | null"
147311
- },
147312
- "privacy": "public",
147313
- "readonly": true
147219
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
147220
+ "inheritedFrom": {
147221
+ "name": "SbbFormAssociatedMixin",
147222
+ "module": "core/mixins/form-associated-mixin.js"
147223
+ }
147314
147224
  },
147315
147225
  {
147316
147226
  "kind": "field",
147317
- "name": "disabled",
147318
- "privacy": "public",
147319
- "description": "Whether the component is disabled.",
147320
- "default": "false",
147227
+ "name": "formDisabled",
147321
147228
  "type": {
147322
147229
  "text": "boolean"
147323
147230
  },
147324
- "attribute": "disabled",
147325
- "reflects": true,
147231
+ "privacy": "protected",
147232
+ "default": "false",
147233
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
147326
147234
  "inheritedFrom": {
147327
- "name": "SbbDisabledMixin",
147328
- "module": "core/mixins/disabled-mixin.js"
147235
+ "name": "SbbFormAssociatedMixin",
147236
+ "module": "core/mixins/form-associated-mixin.js"
147329
147237
  }
147330
147238
  },
147331
- {
147332
- "kind": "field",
147333
- "name": "_previousOrientation",
147334
- "type": {
147335
- "text": "string | undefined"
147336
- },
147337
- "privacy": "private"
147338
- },
147339
- {
147340
- "kind": "field",
147341
- "name": "_previousSize",
147342
- "type": {
147343
- "text": "string | undefined"
147344
- },
147345
- "privacy": "private"
147346
- },
147347
147239
  {
147348
147240
  "kind": "method",
147349
- "name": "_isNotDeactivatedByLinearMode",
147350
- "privacy": "private",
147241
+ "name": "checkValidity",
147242
+ "privacy": "public",
147351
147243
  "return": {
147352
147244
  "type": {
147353
147245
  "text": "boolean"
147354
147246
  }
147355
147247
  },
147356
- "parameters": [
147357
- {
147358
- "name": "step",
147359
- "type": {
147360
- "text": "SbbStepElement"
147361
- }
147362
- }
147363
- ]
147248
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
147249
+ "inheritedFrom": {
147250
+ "name": "SbbFormAssociatedMixin",
147251
+ "module": "core/mixins/form-associated-mixin.js"
147252
+ }
147364
147253
  },
147365
147254
  {
147366
147255
  "kind": "method",
147367
- "name": "_assignStep",
147368
- "privacy": "private",
147256
+ "name": "reportValidity",
147257
+ "privacy": "public",
147369
147258
  "return": {
147370
147259
  "type": {
147371
- "text": "void"
147260
+ "text": "boolean"
147372
147261
  }
147373
- }
147374
- },
147375
- {
147376
- "kind": "field",
147377
- "name": "elementDependencies",
147378
- "type": {
147379
- "text": "SbbElementType[]"
147380
- },
147381
- "privacy": "public",
147382
- "static": true,
147383
- "inheritedFrom": {
147384
- "name": "SbbElement",
147385
- "module": "core/base-elements/element.js"
147386
- },
147387
- "default": "[SbbIconElement]"
147388
- },
147389
- {
147390
- "kind": "field",
147391
- "name": "iconName",
147392
- "type": {
147393
- "text": "string"
147394
147262
  },
147395
- "privacy": "public",
147396
- "default": "''",
147397
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
147398
- "attribute": "icon-name",
147263
+ "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
147399
147264
  "inheritedFrom": {
147400
- "name": "SbbIconNameMixin",
147401
- "module": "icon/icon-name-mixin.js"
147265
+ "name": "SbbFormAssociatedMixin",
147266
+ "module": "core/mixins/form-associated-mixin.js"
147402
147267
  }
147403
147268
  },
147404
147269
  {
147405
147270
  "kind": "method",
147406
- "name": "renderIconSlot",
147407
- "privacy": "protected",
147271
+ "name": "setCustomValidity",
147272
+ "privacy": "public",
147408
147273
  "return": {
147409
147274
  "type": {
147410
- "text": "TemplateResult"
147275
+ "text": "void"
147411
147276
  }
147412
147277
  },
147413
147278
  "parameters": [
147414
147279
  {
147415
- "name": "classname",
147416
- "optional": true,
147280
+ "name": "message",
147417
147281
  "type": {
147418
147282
  "text": "string"
147419
147283
  }
147420
147284
  }
147421
147285
  ],
147286
+ "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
147422
147287
  "inheritedFrom": {
147423
- "name": "SbbIconNameMixin",
147424
- "module": "icon/icon-name-mixin.js"
147288
+ "name": "SbbFormAssociatedMixin",
147289
+ "module": "core/mixins/form-associated-mixin.js"
147425
147290
  }
147426
147291
  },
147427
147292
  {
147428
147293
  "kind": "method",
147429
- "name": "renderIconName",
147430
- "privacy": "protected",
147294
+ "name": "_hasDisabledAncestor",
147295
+ "privacy": "private",
147431
147296
  "return": {
147432
147297
  "type": {
147433
- "text": "string"
147298
+ "text": "boolean"
147434
147299
  }
147435
147300
  },
147436
147301
  "inheritedFrom": {
147437
- "name": "SbbIconNameMixin",
147438
- "module": "icon/icon-name-mixin.js"
147302
+ "name": "SbbFormAssociatedMixin",
147303
+ "module": "core/mixins/form-associated-mixin.js"
147439
147304
  }
147440
147305
  },
147441
147306
  {
147442
147307
  "kind": "method",
147443
- "name": "_renderIconName",
147444
- "privacy": "private",
147308
+ "name": "updateFormValue",
147309
+ "privacy": "protected",
147445
147310
  "return": {
147446
147311
  "type": {
147447
- "text": "string"
147312
+ "text": "void"
147448
147313
  }
147449
147314
  },
147315
+ "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
147450
147316
  "inheritedFrom": {
147451
- "name": "SbbIconNameMixin",
147452
- "module": "icon/icon-name-mixin.js"
147453
- }
147454
- },
147455
- {
147456
- "kind": "field",
147457
- "name": "#disabled",
147458
- "privacy": "private",
147459
- "type": {
147460
- "text": "boolean"
147461
- },
147462
- "default": "false",
147463
- "inheritedFrom": {
147464
- "name": "SbbDisabledMixin",
147465
- "module": "core/mixins/disabled-mixin.js"
147317
+ "name": "SbbFormAssociatedMixin",
147318
+ "module": "core/mixins/form-associated-mixin.js"
147466
147319
  }
147467
147320
  },
147468
147321
  {
147469
147322
  "kind": "method",
147470
- "name": "isDisabledExternally",
147323
+ "name": "formState",
147471
147324
  "privacy": "protected",
147472
147325
  "return": {
147473
147326
  "type": {
147474
- "text": "boolean"
147327
+ "text": "FormRestoreState"
147475
147328
  }
147476
147329
  },
147477
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
147478
147330
  "inheritedFrom": {
147479
- "name": "SbbDisabledMixin",
147480
- "module": "core/mixins/disabled-mixin.js"
147331
+ "name": "SbbFormAssociatedMixin",
147332
+ "module": "core/mixins/form-associated-mixin.js"
147481
147333
  }
147482
147334
  },
147483
147335
  {
147484
- "kind": "field",
147485
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
147486
- "type": {
147487
- "text": "array"
147336
+ "kind": "method",
147337
+ "name": "setValidityFlag",
147338
+ "privacy": "protected",
147339
+ "return": {
147340
+ "type": {
147341
+ "text": "void"
147342
+ }
147488
147343
  },
147489
- "privacy": "private",
147490
- "readonly": true,
147491
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
147344
+ "parameters": [
147345
+ {
147346
+ "name": "flag",
147347
+ "type": {
147348
+ "text": "T"
147349
+ }
147350
+ },
147351
+ {
147352
+ "name": "message",
147353
+ "type": {
147354
+ "text": "string"
147355
+ }
147356
+ },
147357
+ {
147358
+ "name": "flagValue",
147359
+ "optional": true,
147360
+ "type": {
147361
+ "text": "ValidityStateFlags[T]"
147362
+ }
147363
+ }
147364
+ ],
147365
+ "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
147492
147366
  "inheritedFrom": {
147493
- "name": "SbbButtonBaseElement",
147494
- "module": "core/base-elements/button-base-element.js"
147367
+ "name": "SbbFormAssociatedMixin",
147368
+ "module": "core/mixins/form-associated-mixin.js"
147495
147369
  }
147496
147370
  },
147497
147371
  {
147498
- "kind": "field",
147499
- "name": "value",
147500
- "type": {
147501
- "text": "string"
147372
+ "kind": "method",
147373
+ "name": "removeValidityFlag",
147374
+ "privacy": "protected",
147375
+ "return": {
147376
+ "type": {
147377
+ "text": "void"
147378
+ }
147502
147379
  },
147503
- "privacy": "public",
147380
+ "parameters": [
147381
+ {
147382
+ "name": "flag",
147383
+ "type": {
147384
+ "text": "T"
147385
+ }
147386
+ }
147387
+ ],
147388
+ "description": "Removes the validity state flag entry and updates validity state.",
147504
147389
  "inheritedFrom": {
147505
- "name": "SbbButtonBaseElement",
147506
- "module": "core/base-elements/button-base-element.js"
147507
- },
147508
- "default": "''",
147509
- "description": "Value of the form element.",
147510
- "attribute": "value"
147390
+ "name": "SbbFormAssociatedMixin",
147391
+ "module": "core/mixins/form-associated-mixin.js"
147392
+ }
147511
147393
  },
147512
147394
  {
147513
- "kind": "field",
147514
- "name": "type",
147515
- "privacy": "public",
147516
- "description": "The type attribute to use for the button.",
147517
- "default": "'button'",
147518
- "type": {
147519
- "text": "SbbButtonType"
147395
+ "kind": "method",
147396
+ "name": "validate",
147397
+ "privacy": "protected",
147398
+ "return": {
147399
+ "type": {
147400
+ "text": "void"
147401
+ }
147520
147402
  },
147521
- "attribute": "type",
147403
+ "description": "To be called whenever the current element needs to be validated.",
147522
147404
  "inheritedFrom": {
147523
- "name": "SbbButtonBaseElement",
147524
- "module": "core/base-elements/button-base-element.js"
147405
+ "name": "SbbFormAssociatedMixin",
147406
+ "module": "core/mixins/form-associated-mixin.js"
147525
147407
  }
147526
147408
  },
147527
147409
  {
147528
- "kind": "field",
147529
- "name": "form",
147530
- "type": {
147531
- "text": "HTMLFormElement | null"
147410
+ "kind": "method",
147411
+ "name": "shouldValidate",
147412
+ "privacy": "protected",
147413
+ "return": {
147414
+ "type": {
147415
+ "text": "boolean"
147416
+ }
147532
147417
  },
147533
- "privacy": "public",
147534
- "description": "The `<form>` element to associate the button with.",
147418
+ "parameters": [
147419
+ {
147420
+ "name": "name",
147421
+ "type": {
147422
+ "text": "PropertyKey | undefined"
147423
+ }
147424
+ }
147425
+ ],
147426
+ "description": "Whether validation should be run on a property change with the given name.",
147535
147427
  "inheritedFrom": {
147536
- "name": "SbbButtonBaseElement",
147537
- "module": "core/base-elements/button-base-element.js"
147428
+ "name": "SbbFormAssociatedMixin",
147429
+ "module": "core/mixins/form-associated-mixin.js"
147430
+ }
147431
+ },
147432
+ {
147433
+ "kind": "method",
147434
+ "name": "_setInternalValidity",
147435
+ "privacy": "private",
147436
+ "return": {
147437
+ "type": {
147438
+ "text": "void"
147439
+ }
147538
147440
  },
147539
- "attribute": "form"
147441
+ "inheritedFrom": {
147442
+ "name": "SbbFormAssociatedMixin",
147443
+ "module": "core/mixins/form-associated-mixin.js"
147444
+ }
147540
147445
  },
147541
147446
  {
147542
147447
  "kind": "field",
147543
- "name": "_formId",
147544
- "type": {
147545
- "text": "string"
147546
- },
147448
+ "name": "_preventScrollOnSpaceKeydown",
147547
147449
  "privacy": "private",
147548
- "default": "''",
147450
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
147451
+ "parameters": [
147452
+ {
147453
+ "description": "The origin event.",
147454
+ "name": "event"
147455
+ }
147456
+ ],
147549
147457
  "inheritedFrom": {
147550
- "name": "SbbButtonBaseElement",
147458
+ "name": "SbbButtonLikeBaseElement",
147551
147459
  "module": "core/base-elements/button-base-element.js"
147552
147460
  }
147553
147461
  },
147554
147462
  {
147555
147463
  "kind": "field",
147556
- "name": "_handleButtonClick",
147464
+ "name": "_removeActiveMarker",
147557
147465
  "privacy": "private",
147558
147466
  "inheritedFrom": {
147559
- "name": "SbbButtonBaseElement",
147467
+ "name": "SbbButtonLikeBaseElement",
147560
147468
  "module": "core/base-elements/button-base-element.js"
147561
147469
  }
147562
147470
  },
147563
147471
  {
147564
- "kind": "method",
147565
- "name": "_requestSubmit",
147472
+ "kind": "field",
147473
+ "name": "_dispatchClickEventOnSpaceKeyup",
147566
147474
  "privacy": "private",
147567
- "return": {
147568
- "type": {
147569
- "text": "void"
147570
- }
147571
- },
147475
+ "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
147572
147476
  "parameters": [
147573
147477
  {
147574
- "name": "form",
147575
- "type": {
147576
- "text": "HTMLFormElement"
147577
- }
147478
+ "description": "The origin event.",
147479
+ "name": "event"
147578
147480
  }
147579
147481
  ],
147580
147482
  "inheritedFrom": {
147581
- "name": "SbbButtonBaseElement",
147483
+ "name": "SbbButtonLikeBaseElement",
147582
147484
  "module": "core/base-elements/button-base-element.js"
147583
147485
  }
147584
147486
  },
147585
147487
  {
147586
147488
  "kind": "field",
147587
- "name": "_formKeyDown",
147489
+ "name": "_dispatchClickEvent",
147588
147490
  "privacy": "private",
147589
147491
  "inheritedFrom": {
147590
- "name": "SbbButtonBaseElement",
147492
+ "name": "SbbButtonLikeBaseElement",
147591
147493
  "module": "core/base-elements/button-base-element.js"
147592
147494
  }
147593
147495
  },
147594
147496
  {
147595
147497
  "kind": "field",
147596
- "name": "formAssociated",
147498
+ "name": "maybeDisabled",
147597
147499
  "type": {
147598
- "text": "boolean"
147500
+ "text": "boolean | undefined"
147599
147501
  },
147600
- "privacy": "public",
147601
- "static": true,
147602
- "default": "true",
147502
+ "privacy": "protected",
147503
+ "readonly": true,
147603
147504
  "inheritedFrom": {
147604
- "name": "SbbFormAssociatedMixin",
147605
- "module": "core/mixins/form-associated-mixin.js"
147505
+ "name": "SbbActionBaseElement",
147506
+ "module": "core/base-elements/action-base-element.js"
147606
147507
  }
147607
147508
  },
147608
147509
  {
147609
147510
  "kind": "field",
147610
- "name": "name",
147611
- "privacy": "public",
147612
- "description": "Name of the form element. Will be read from name attribute.",
147511
+ "name": "maybeDisabledInteractive",
147613
147512
  "type": {
147614
- "text": "string"
147513
+ "text": "boolean | undefined"
147615
147514
  },
147616
- "attribute": "name",
147515
+ "privacy": "protected",
147516
+ "readonly": true,
147617
147517
  "inheritedFrom": {
147618
- "name": "SbbFormAssociatedMixin",
147619
- "module": "core/mixins/form-associated-mixin.js"
147518
+ "name": "SbbActionBaseElement",
147519
+ "module": "core/base-elements/action-base-element.js"
147620
147520
  }
147621
147521
  },
147622
147522
  {
147623
- "kind": "field",
147624
- "name": "validity",
147625
- "type": {
147626
- "text": "ValidityState"
147523
+ "kind": "method",
147524
+ "name": "setupBaseEventHandlers",
147525
+ "privacy": "protected",
147526
+ "return": {
147527
+ "type": {
147528
+ "text": "void"
147529
+ }
147627
147530
  },
147628
- "privacy": "public",
147629
- "description": "Returns the ValidityState object for this element.",
147630
- "readonly": true,
147631
147531
  "inheritedFrom": {
147632
- "name": "SbbFormAssociatedMixin",
147633
- "module": "core/mixins/form-associated-mixin.js"
147532
+ "name": "SbbActionBaseElement",
147533
+ "module": "core/base-elements/action-base-element.js"
147634
147534
  }
147635
147535
  },
147636
147536
  {
147637
- "kind": "field",
147638
- "name": "validationMessage",
147639
- "type": {
147640
- "text": "string"
147537
+ "kind": "method",
147538
+ "name": "renderTemplate",
147539
+ "privacy": "protected",
147540
+ "return": {
147541
+ "type": {
147542
+ "text": "TemplateResult"
147543
+ }
147641
147544
  },
147642
- "privacy": "public",
147643
- "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
147644
- "readonly": true,
147545
+ "description": "Override this method to render the component template.",
147645
147546
  "inheritedFrom": {
147646
- "name": "SbbFormAssociatedMixin",
147647
- "module": "core/mixins/form-associated-mixin.js"
147547
+ "name": "SbbActionBaseElement",
147548
+ "module": "core/base-elements/action-base-element.js"
147648
147549
  }
147649
147550
  },
147650
147551
  {
147651
147552
  "kind": "field",
147652
- "name": "willValidate",
147553
+ "name": "['_$sbbElement$']",
147653
147554
  "type": {
147654
147555
  "text": "boolean"
147655
147556
  },
147656
147557
  "privacy": "public",
147657
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
147658
- "readonly": true,
147558
+ "static": true,
147559
+ "default": "true",
147659
147560
  "inheritedFrom": {
147660
- "name": "SbbFormAssociatedMixin",
147661
- "module": "core/mixins/form-associated-mixin.js"
147561
+ "name": "SbbElement",
147562
+ "module": "core/base-elements/element.js"
147662
147563
  }
147663
147564
  },
147664
147565
  {
147665
147566
  "kind": "field",
147666
- "name": "_validityStates",
147567
+ "name": "_controllers",
147568
+ "type": {
147569
+ "text": "Set<SbbReactiveController> | undefined"
147570
+ },
147667
147571
  "privacy": "private",
147668
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
147669
147572
  "inheritedFrom": {
147670
- "name": "SbbFormAssociatedMixin",
147671
- "module": "core/mixins/form-associated-mixin.js"
147573
+ "name": "SbbElement",
147574
+ "module": "core/base-elements/element.js"
147672
147575
  }
147673
147576
  },
147674
147577
  {
147675
147578
  "kind": "field",
147676
- "name": "formDisabled",
147579
+ "name": "_hydrationRequired",
147677
147580
  "type": {
147678
147581
  "text": "boolean"
147679
147582
  },
147680
- "privacy": "protected",
147681
- "default": "false",
147682
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
147583
+ "privacy": "private",
147584
+ "default": "!!this.shadowRoot",
147683
147585
  "inheritedFrom": {
147684
- "name": "SbbFormAssociatedMixin",
147685
- "module": "core/mixins/form-associated-mixin.js"
147586
+ "name": "SbbElement",
147587
+ "module": "core/base-elements/element.js"
147686
147588
  }
147687
147589
  },
147688
147590
  {
147689
- "kind": "method",
147690
- "name": "checkValidity",
147691
- "privacy": "public",
147692
- "return": {
147693
- "type": {
147694
- "text": "boolean"
147695
- }
147591
+ "kind": "field",
147592
+ "name": "_hydrationComplete",
147593
+ "privacy": "private",
147594
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
147595
+ "inheritedFrom": {
147596
+ "name": "SbbElement",
147597
+ "module": "core/base-elements/element.js"
147598
+ }
147599
+ },
147600
+ {
147601
+ "kind": "field",
147602
+ "name": "_resolveHydration",
147603
+ "type": {
147604
+ "text": "(hydrationRequired: boolean) => void"
147696
147605
  },
147697
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
147606
+ "privacy": "private",
147698
147607
  "inheritedFrom": {
147699
- "name": "SbbFormAssociatedMixin",
147700
- "module": "core/mixins/form-associated-mixin.js"
147608
+ "name": "SbbElement",
147609
+ "module": "core/base-elements/element.js"
147701
147610
  }
147702
147611
  },
147703
147612
  {
147704
- "kind": "method",
147705
- "name": "reportValidity",
147706
- "privacy": "public",
147707
- "return": {
147708
- "type": {
147709
- "text": "boolean"
147710
- }
147613
+ "kind": "field",
147614
+ "name": "_textObserver",
147615
+ "type": {
147616
+ "text": "MutationObserver | undefined"
147711
147617
  },
147712
- "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
147618
+ "privacy": "private",
147713
147619
  "inheritedFrom": {
147714
- "name": "SbbFormAssociatedMixin",
147715
- "module": "core/mixins/form-associated-mixin.js"
147620
+ "name": "SbbElement",
147621
+ "module": "core/base-elements/element.js"
147716
147622
  }
147717
147623
  },
147624
+ {
147625
+ "kind": "field",
147626
+ "name": "hydrationRequired",
147627
+ "type": {
147628
+ "text": "boolean"
147629
+ },
147630
+ "privacy": "protected",
147631
+ "description": "Returns whether hydration is required and not completed.",
147632
+ "readonly": true,
147633
+ "inheritedFrom": {
147634
+ "name": "SbbElement",
147635
+ "module": "core/base-elements/element.js"
147636
+ },
147637
+ "default": "!!this.shadowRoot"
147638
+ },
147718
147639
  {
147719
147640
  "kind": "method",
147720
- "name": "setCustomValidity",
147721
- "privacy": "public",
147641
+ "name": "toggleState",
147642
+ "privacy": "protected",
147722
147643
  "return": {
147723
147644
  "type": {
147724
147645
  "text": "void"
@@ -147726,65 +147647,100 @@
147726
147647
  },
147727
147648
  "parameters": [
147728
147649
  {
147729
- "name": "message",
147650
+ "name": "value",
147730
147651
  "type": {
147731
147652
  "text": "string"
147732
147653
  }
147654
+ },
147655
+ {
147656
+ "name": "force",
147657
+ "optional": true,
147658
+ "type": {
147659
+ "text": "boolean"
147660
+ }
147733
147661
  }
147734
147662
  ],
147735
- "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
147736
147663
  "inheritedFrom": {
147737
- "name": "SbbFormAssociatedMixin",
147738
- "module": "core/mixins/form-associated-mixin.js"
147664
+ "name": "SbbElement",
147665
+ "module": "core/base-elements/element.js"
147739
147666
  }
147740
147667
  },
147741
147668
  {
147742
147669
  "kind": "method",
147743
- "name": "_hasDisabledAncestor",
147670
+ "name": "_slotchangeHandler",
147744
147671
  "privacy": "private",
147745
147672
  "return": {
147746
147673
  "type": {
147747
- "text": "boolean"
147674
+ "text": "void"
147748
147675
  }
147749
147676
  },
147677
+ "parameters": [
147678
+ {
147679
+ "name": "event",
147680
+ "type": {
147681
+ "text": "Event"
147682
+ }
147683
+ },
147684
+ {
147685
+ "name": "slot",
147686
+ "type": {
147687
+ "text": "HTMLSlotElement"
147688
+ }
147689
+ }
147690
+ ],
147750
147691
  "inheritedFrom": {
147751
- "name": "SbbFormAssociatedMixin",
147752
- "module": "core/mixins/form-associated-mixin.js"
147692
+ "name": "SbbElement",
147693
+ "module": "core/base-elements/element.js"
147753
147694
  }
147754
147695
  },
147755
147696
  {
147756
147697
  "kind": "method",
147757
- "name": "updateFormValue",
147758
- "privacy": "protected",
147698
+ "name": "_handleSlotChangeForSlottedState",
147699
+ "privacy": "private",
147759
147700
  "return": {
147760
147701
  "type": {
147761
147702
  "text": "void"
147762
147703
  }
147763
147704
  },
147764
- "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
147705
+ "parameters": [
147706
+ {
147707
+ "name": "slot",
147708
+ "type": {
147709
+ "text": "HTMLSlotElement"
147710
+ }
147711
+ }
147712
+ ],
147765
147713
  "inheritedFrom": {
147766
- "name": "SbbFormAssociatedMixin",
147767
- "module": "core/mixins/form-associated-mixin.js"
147714
+ "name": "SbbElement",
147715
+ "module": "core/base-elements/element.js"
147768
147716
  }
147769
147717
  },
147770
147718
  {
147771
147719
  "kind": "method",
147772
- "name": "formState",
147773
- "privacy": "protected",
147720
+ "name": "_updateSlottedState",
147721
+ "privacy": "private",
147774
147722
  "return": {
147775
147723
  "type": {
147776
- "text": "FormRestoreState"
147724
+ "text": "void"
147777
147725
  }
147778
147726
  },
147727
+ "parameters": [
147728
+ {
147729
+ "name": "slot",
147730
+ "type": {
147731
+ "text": "HTMLSlotElement"
147732
+ }
147733
+ }
147734
+ ],
147779
147735
  "inheritedFrom": {
147780
- "name": "SbbFormAssociatedMixin",
147781
- "module": "core/mixins/form-associated-mixin.js"
147736
+ "name": "SbbElement",
147737
+ "module": "core/base-elements/element.js"
147782
147738
  }
147783
147739
  },
147784
147740
  {
147785
147741
  "kind": "method",
147786
- "name": "setValidityFlag",
147787
- "privacy": "protected",
147742
+ "name": "_observeTextNodesInSlot",
147743
+ "privacy": "private",
147788
147744
  "return": {
147789
147745
  "type": {
147790
147746
  "text": "void"
@@ -147792,35 +147748,250 @@
147792
147748
  },
147793
147749
  "parameters": [
147794
147750
  {
147795
- "name": "flag",
147796
- "type": {
147797
- "text": "T"
147798
- }
147799
- },
147800
- {
147801
- "name": "message",
147751
+ "name": "slot",
147802
147752
  "type": {
147803
- "text": "string"
147753
+ "text": "HTMLSlotElement"
147804
147754
  }
147805
- },
147755
+ }
147756
+ ],
147757
+ "inheritedFrom": {
147758
+ "name": "SbbElement",
147759
+ "module": "core/base-elements/element.js"
147760
+ }
147761
+ },
147762
+ {
147763
+ "kind": "method",
147764
+ "name": "_hasSlottedContent",
147765
+ "privacy": "private",
147766
+ "return": {
147767
+ "type": {
147768
+ "text": "boolean"
147769
+ }
147770
+ },
147771
+ "parameters": [
147806
147772
  {
147807
- "name": "flagValue",
147808
- "optional": true,
147773
+ "name": "slot",
147809
147774
  "type": {
147810
- "text": "ValidityStateFlags[T]"
147775
+ "text": "HTMLSlotElement"
147811
147776
  }
147812
147777
  }
147813
147778
  ],
147814
- "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
147779
+ "inheritedFrom": {
147780
+ "name": "SbbElement",
147781
+ "module": "core/base-elements/element.js"
147782
+ }
147783
+ }
147784
+ ],
147785
+ "mixins": [
147786
+ {
147787
+ "name": "SbbIconNameMixin",
147788
+ "module": "icon.pure.js"
147789
+ },
147790
+ {
147791
+ "name": "SbbDisabledMixin",
147792
+ "module": "core.js"
147793
+ }
147794
+ ],
147795
+ "superclass": {
147796
+ "name": "SbbButtonBaseElement",
147797
+ "module": "core.js"
147798
+ },
147799
+ "tagName": "sbb-step-label",
147800
+ "customElement": true,
147801
+ "attributes": [
147802
+ {
147803
+ "name": "icon-name",
147804
+ "type": {
147805
+ "text": "string"
147806
+ },
147807
+ "default": "''",
147808
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
147809
+ "fieldName": "iconName",
147810
+ "inheritedFrom": {
147811
+ "name": "SbbIconNameMixin",
147812
+ "module": "icon/icon-name-mixin.js"
147813
+ }
147814
+ },
147815
+ {
147816
+ "name": "disabled",
147817
+ "description": "Whether the component is disabled.",
147818
+ "default": "false",
147819
+ "type": {
147820
+ "text": "boolean"
147821
+ },
147822
+ "fieldName": "disabled",
147823
+ "inheritedFrom": {
147824
+ "name": "SbbDisabledMixin",
147825
+ "module": "core/mixins/disabled-mixin.js"
147826
+ }
147827
+ },
147828
+ {
147829
+ "name": "value",
147830
+ "type": {
147831
+ "text": "string"
147832
+ },
147833
+ "default": "''",
147834
+ "description": "Value of the form element.",
147835
+ "fieldName": "value",
147836
+ "inheritedFrom": {
147837
+ "name": "SbbButtonBaseElement",
147838
+ "module": "core/base-elements/button-base-element.js"
147839
+ }
147840
+ },
147841
+ {
147842
+ "name": "type",
147843
+ "description": "The type attribute to use for the button.",
147844
+ "default": "'button'",
147845
+ "type": {
147846
+ "text": "SbbButtonType"
147847
+ },
147848
+ "fieldName": "type",
147849
+ "inheritedFrom": {
147850
+ "name": "SbbButtonBaseElement",
147851
+ "module": "core/base-elements/button-base-element.js"
147852
+ }
147853
+ },
147854
+ {
147855
+ "name": "form",
147856
+ "description": "The `<form>` element to associate the button with.",
147857
+ "type": {
147858
+ "text": "HTMLFormElement | null"
147859
+ },
147860
+ "fieldName": "form",
147861
+ "inheritedFrom": {
147862
+ "name": "SbbButtonBaseElement",
147863
+ "module": "core/base-elements/button-base-element.js"
147864
+ }
147865
+ },
147866
+ {
147867
+ "name": "name",
147868
+ "description": "Name of the form element. Will be read from name attribute.",
147869
+ "type": {
147870
+ "text": "string"
147871
+ },
147872
+ "fieldName": "name",
147815
147873
  "inheritedFrom": {
147816
147874
  "name": "SbbFormAssociatedMixin",
147817
147875
  "module": "core/mixins/form-associated-mixin.js"
147818
147876
  }
147877
+ }
147878
+ ]
147879
+ }
147880
+ ],
147881
+ "exports": [
147882
+ {
147883
+ "kind": "js",
147884
+ "name": "SbbStepLabelElement",
147885
+ "declaration": {
147886
+ "name": "SbbStepLabelElement",
147887
+ "module": "stepper/step-label/step-label.component.js"
147888
+ }
147889
+ }
147890
+ ]
147891
+ },
147892
+ {
147893
+ "kind": "javascript-module",
147894
+ "path": "stepper/step/step.component.js",
147895
+ "declarations": [
147896
+ {
147897
+ "kind": "class",
147898
+ "description": "Combined with a `sbb-stepper`, it displays a step's content.",
147899
+ "name": "SbbStepElement",
147900
+ "slots": [
147901
+ {
147902
+ "description": "Use the unnamed slot to provide content.",
147903
+ "name": ""
147904
+ }
147905
+ ],
147906
+ "members": [
147907
+ {
147908
+ "kind": "field",
147909
+ "name": "elementName",
147910
+ "type": {
147911
+ "text": "string"
147912
+ },
147913
+ "privacy": "public",
147914
+ "static": true,
147915
+ "readonly": true,
147916
+ "default": "'sbb-step'",
147917
+ "inheritedFrom": {
147918
+ "name": "SbbElement",
147919
+ "module": "core/base-elements/element.js"
147920
+ }
147921
+ },
147922
+ {
147923
+ "kind": "field",
147924
+ "name": "role",
147925
+ "type": {
147926
+ "text": "string"
147927
+ },
147928
+ "privacy": "public",
147929
+ "static": true,
147930
+ "readonly": true,
147931
+ "default": "'tabpanel'",
147932
+ "inheritedFrom": {
147933
+ "name": "SbbElement",
147934
+ "module": "core/base-elements/element.js"
147935
+ }
147936
+ },
147937
+ {
147938
+ "kind": "field",
147939
+ "name": "events",
147940
+ "privacy": "public",
147941
+ "static": true,
147942
+ "readonly": true,
147943
+ "default": "{ validate: 'validate', resizechange: 'resizechange', }",
147944
+ "type": {
147945
+ "text": "{\n validate: 'validate',\n resizechange: 'resizechange',\n }"
147946
+ }
147947
+ },
147948
+ {
147949
+ "kind": "field",
147950
+ "name": "_stepResizeObserver",
147951
+ "privacy": "private",
147952
+ "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => setTimeout(() => this._onStepElementResize()), })"
147953
+ },
147954
+ {
147955
+ "kind": "field",
147956
+ "name": "label",
147957
+ "type": {
147958
+ "text": "SbbStepLabelElement | null"
147959
+ },
147960
+ "privacy": "public",
147961
+ "description": "The label of the step.",
147962
+ "readonly": true,
147963
+ "default": "null"
147964
+ },
147965
+ {
147966
+ "kind": "field",
147967
+ "name": "_label",
147968
+ "type": {
147969
+ "text": "SbbStepLabelElement | null"
147970
+ },
147971
+ "privacy": "private",
147972
+ "default": "null"
147973
+ },
147974
+ {
147975
+ "kind": "field",
147976
+ "name": "stepper",
147977
+ "type": {
147978
+ "text": "SbbStepperElement | null"
147979
+ },
147980
+ "privacy": "public",
147981
+ "readonly": true
147982
+ },
147983
+ {
147984
+ "kind": "field",
147985
+ "name": "_previousOrientation",
147986
+ "type": {
147987
+ "text": "string | undefined"
147988
+ },
147989
+ "privacy": "private"
147819
147990
  },
147820
147991
  {
147821
147992
  "kind": "method",
147822
- "name": "removeValidityFlag",
147823
- "privacy": "protected",
147993
+ "name": "_handleClick",
147994
+ "privacy": "private",
147824
147995
  "return": {
147825
147996
  "type": {
147826
147997
  "text": "void"
@@ -147828,37 +147999,18 @@
147828
147999
  },
147829
148000
  "parameters": [
147830
148001
  {
147831
- "name": "flag",
148002
+ "name": "event",
147832
148003
  "type": {
147833
- "text": "T"
148004
+ "text": "Event"
147834
148005
  }
147835
148006
  }
147836
148007
  ],
147837
- "description": "Removes the validity state flag entry and updates validity state.",
147838
- "inheritedFrom": {
147839
- "name": "SbbFormAssociatedMixin",
147840
- "module": "core/mixins/form-associated-mixin.js"
147841
- }
147842
- },
147843
- {
147844
- "kind": "method",
147845
- "name": "validate",
147846
- "privacy": "protected",
147847
- "return": {
147848
- "type": {
147849
- "text": "void"
147850
- }
147851
- },
147852
- "description": "To be called whenever the current element needs to be validated.",
147853
- "inheritedFrom": {
147854
- "name": "SbbFormAssociatedMixin",
147855
- "module": "core/mixins/form-associated-mixin.js"
147856
- }
148008
+ "description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
147857
148009
  },
147858
148010
  {
147859
148011
  "kind": "method",
147860
- "name": "shouldValidate",
147861
- "privacy": "protected",
148012
+ "name": "_isGoNextElement",
148013
+ "privacy": "private",
147862
148014
  "return": {
147863
148015
  "type": {
147864
148016
  "text": "boolean"
@@ -147866,135 +148018,49 @@
147866
148018
  },
147867
148019
  "parameters": [
147868
148020
  {
147869
- "name": "name",
148021
+ "name": "element",
147870
148022
  "type": {
147871
- "text": "PropertyKey | undefined"
148023
+ "text": "HTMLElement"
147872
148024
  }
147873
148025
  }
147874
- ],
147875
- "description": "Whether validation should be run on a property change with the given name.",
147876
- "inheritedFrom": {
147877
- "name": "SbbFormAssociatedMixin",
147878
- "module": "core/mixins/form-associated-mixin.js"
147879
- }
148026
+ ]
147880
148027
  },
147881
148028
  {
147882
148029
  "kind": "method",
147883
- "name": "_setInternalValidity",
148030
+ "name": "_isGoPreviousElement",
147884
148031
  "privacy": "private",
147885
148032
  "return": {
147886
148033
  "type": {
147887
- "text": "void"
148034
+ "text": "boolean"
147888
148035
  }
147889
148036
  },
147890
- "inheritedFrom": {
147891
- "name": "SbbFormAssociatedMixin",
147892
- "module": "core/mixins/form-associated-mixin.js"
147893
- }
147894
- },
147895
- {
147896
- "kind": "field",
147897
- "name": "_preventScrollOnSpaceKeydown",
147898
- "privacy": "private",
147899
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
147900
- "parameters": [
147901
- {
147902
- "description": "The origin event.",
147903
- "name": "event"
147904
- }
147905
- ],
147906
- "inheritedFrom": {
147907
- "name": "SbbButtonLikeBaseElement",
147908
- "module": "core/base-elements/button-base-element.js"
147909
- }
147910
- },
147911
- {
147912
- "kind": "field",
147913
- "name": "_removeActiveMarker",
147914
- "privacy": "private",
147915
- "inheritedFrom": {
147916
- "name": "SbbButtonLikeBaseElement",
147917
- "module": "core/base-elements/button-base-element.js"
147918
- }
147919
- },
147920
- {
147921
- "kind": "field",
147922
- "name": "_dispatchClickEventOnSpaceKeyup",
147923
- "privacy": "private",
147924
- "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
147925
148037
  "parameters": [
147926
148038
  {
147927
- "description": "The origin event.",
147928
- "name": "event"
148039
+ "name": "element",
148040
+ "type": {
148041
+ "text": "HTMLElement"
148042
+ }
147929
148043
  }
147930
- ],
147931
- "inheritedFrom": {
147932
- "name": "SbbButtonLikeBaseElement",
147933
- "module": "core/base-elements/button-base-element.js"
147934
- }
147935
- },
147936
- {
147937
- "kind": "field",
147938
- "name": "_dispatchClickEvent",
147939
- "privacy": "private",
147940
- "inheritedFrom": {
147941
- "name": "SbbButtonLikeBaseElement",
147942
- "module": "core/base-elements/button-base-element.js"
147943
- }
147944
- },
147945
- {
147946
- "kind": "field",
147947
- "name": "maybeDisabled",
147948
- "type": {
147949
- "text": "boolean | undefined"
147950
- },
147951
- "privacy": "protected",
147952
- "readonly": true,
147953
- "inheritedFrom": {
147954
- "name": "SbbActionBaseElement",
147955
- "module": "core/base-elements/action-base-element.js"
147956
- }
147957
- },
147958
- {
147959
- "kind": "field",
147960
- "name": "maybeDisabledInteractive",
147961
- "type": {
147962
- "text": "boolean | undefined"
147963
- },
147964
- "privacy": "protected",
147965
- "readonly": true,
147966
- "inheritedFrom": {
147967
- "name": "SbbActionBaseElement",
147968
- "module": "core/base-elements/action-base-element.js"
147969
- }
148044
+ ]
147970
148045
  },
147971
148046
  {
147972
148047
  "kind": "method",
147973
- "name": "setupBaseEventHandlers",
147974
- "privacy": "protected",
148048
+ "name": "_onStepElementResize",
148049
+ "privacy": "private",
147975
148050
  "return": {
147976
148051
  "type": {
147977
148052
  "text": "void"
147978
148053
  }
147979
- },
147980
- "inheritedFrom": {
147981
- "name": "SbbActionBaseElement",
147982
- "module": "core/base-elements/action-base-element.js"
147983
148054
  }
147984
148055
  },
147985
148056
  {
147986
148057
  "kind": "method",
147987
- "name": "renderTemplate",
147988
- "privacy": "protected",
148058
+ "name": "_assignLabel",
148059
+ "privacy": "private",
147989
148060
  "return": {
147990
148061
  "type": {
147991
- "text": "TemplateResult"
148062
+ "text": "void"
147992
148063
  }
147993
- },
147994
- "description": "Override this method to render the component template.",
147995
- "inheritedFrom": {
147996
- "name": "SbbActionBaseElement",
147997
- "module": "core/base-elements/action-base-element.js"
147998
148064
  }
147999
148065
  },
148000
148066
  {
@@ -148011,6 +148077,19 @@
148011
148077
  "module": "core/base-elements/element.js"
148012
148078
  }
148013
148079
  },
148080
+ {
148081
+ "kind": "field",
148082
+ "name": "elementDependencies",
148083
+ "type": {
148084
+ "text": "SbbElementType[] | undefined"
148085
+ },
148086
+ "privacy": "public",
148087
+ "static": true,
148088
+ "inheritedFrom": {
148089
+ "name": "SbbElement",
148090
+ "module": "core/base-elements/element.js"
148091
+ }
148092
+ },
148014
148093
  {
148015
148094
  "kind": "field",
148016
148095
  "name": "_controllers",
@@ -148222,118 +148301,39 @@
148222
148301
  "name": "slot",
148223
148302
  "type": {
148224
148303
  "text": "HTMLSlotElement"
148225
- }
148226
- }
148227
- ],
148228
- "inheritedFrom": {
148229
- "name": "SbbElement",
148230
- "module": "core/base-elements/element.js"
148231
- }
148232
- }
148233
- ],
148234
- "mixins": [
148235
- {
148236
- "name": "SbbIconNameMixin",
148237
- "module": "icon.pure.js"
148238
- },
148239
- {
148240
- "name": "SbbDisabledMixin",
148241
- "module": "core.js"
148242
- }
148243
- ],
148244
- "superclass": {
148245
- "name": "SbbButtonBaseElement",
148246
- "module": "core.js"
148247
- },
148248
- "tagName": "sbb-step-label",
148249
- "customElement": true,
148250
- "attributes": [
148251
- {
148252
- "name": "icon-name",
148253
- "type": {
148254
- "text": "string"
148255
- },
148256
- "default": "''",
148257
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
148258
- "fieldName": "iconName",
148259
- "inheritedFrom": {
148260
- "name": "SbbIconNameMixin",
148261
- "module": "icon/icon-name-mixin.js"
148262
- }
148263
- },
148264
- {
148265
- "name": "disabled",
148266
- "description": "Whether the component is disabled.",
148267
- "default": "false",
148268
- "type": {
148269
- "text": "boolean"
148270
- },
148271
- "fieldName": "disabled",
148272
- "inheritedFrom": {
148273
- "name": "SbbDisabledMixin",
148274
- "module": "core/mixins/disabled-mixin.js"
148275
- }
148276
- },
148277
- {
148278
- "name": "value",
148279
- "type": {
148280
- "text": "string"
148281
- },
148282
- "default": "''",
148283
- "description": "Value of the form element.",
148284
- "fieldName": "value",
148285
- "inheritedFrom": {
148286
- "name": "SbbButtonBaseElement",
148287
- "module": "core/base-elements/button-base-element.js"
148288
- }
148289
- },
148290
- {
148291
- "name": "type",
148292
- "description": "The type attribute to use for the button.",
148293
- "default": "'button'",
148294
- "type": {
148295
- "text": "SbbButtonType"
148296
- },
148297
- "fieldName": "type",
148298
- "inheritedFrom": {
148299
- "name": "SbbButtonBaseElement",
148300
- "module": "core/base-elements/button-base-element.js"
148301
- }
148302
- },
148303
- {
148304
- "name": "form",
148305
- "description": "The `<form>` element to associate the button with.",
148306
- "type": {
148307
- "text": "HTMLFormElement | null"
148308
- },
148309
- "fieldName": "form",
148304
+ }
148305
+ }
148306
+ ],
148310
148307
  "inheritedFrom": {
148311
- "name": "SbbButtonBaseElement",
148312
- "module": "core/base-elements/button-base-element.js"
148308
+ "name": "SbbElement",
148309
+ "module": "core/base-elements/element.js"
148313
148310
  }
148314
- },
148311
+ }
148312
+ ],
148313
+ "events": [
148315
148314
  {
148316
- "name": "name",
148317
- "description": "Name of the form element. Will be read from name attribute.",
148315
+ "name": "validate",
148318
148316
  "type": {
148319
- "text": "string"
148317
+ "text": "CustomEvent<SbbStepValidateEventDetails>"
148320
148318
  },
148321
- "fieldName": "name",
148322
- "inheritedFrom": {
148323
- "name": "SbbFormAssociatedMixin",
148324
- "module": "core/mixins/form-associated-mixin.js"
148325
- }
148319
+ "description": "The validate event is dispatched when a step change is triggered. Can be canceled to abort the step change."
148326
148320
  }
148327
- ]
148321
+ ],
148322
+ "superclass": {
148323
+ "name": "SbbElement",
148324
+ "module": "core.js"
148325
+ },
148326
+ "tagName": "sbb-step",
148327
+ "customElement": true
148328
148328
  }
148329
148329
  ],
148330
148330
  "exports": [
148331
148331
  {
148332
148332
  "kind": "js",
148333
- "name": "SbbStepLabelElement",
148333
+ "name": "SbbStepElement",
148334
148334
  "declaration": {
148335
- "name": "SbbStepLabelElement",
148336
- "module": "stepper/step-label/step-label.component.js"
148335
+ "name": "SbbStepElement",
148336
+ "module": "stepper/step/step.component.js"
148337
148337
  }
148338
148338
  }
148339
148339
  ]
@@ -160168,15 +160168,22 @@
160168
160168
  },
160169
160169
  {
160170
160170
  "kind": "javascript-module",
160171
- "path": "train/train-wagon/train-wagon.component.js",
160171
+ "path": "train/train-formation/train-formation.component.js",
160172
160172
  "declarations": [
160173
160173
  {
160174
160174
  "kind": "class",
160175
- "description": "It displays a train compartment within a `sbb-train` component.",
160176
- "name": "SbbTrainWagonElement",
160175
+ "description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
160176
+ "name": "SbbTrainFormationElement",
160177
+ "cssProperties": [
160178
+ {
160179
+ "description": "Defines the inline padding inside the horizontal scrolling area.",
160180
+ "name": "--sbb-train-formation-padding-inline",
160181
+ "default": "0px"
160182
+ }
160183
+ ],
160177
160184
  "slots": [
160178
160185
  {
160179
- "description": "Use the unnamed slot to add one or more `sbb-icon` for meta-information of the `sbb-train-wagon`.",
160186
+ "description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
160180
160187
  "name": ""
160181
160188
  }
160182
160189
  ],
@@ -160190,49 +160197,12 @@
160190
160197
  "privacy": "public",
160191
160198
  "static": true,
160192
160199
  "readonly": true,
160193
- "default": "'sbb-train-wagon'",
160194
- "inheritedFrom": {
160195
- "name": "SbbElement",
160196
- "module": "core/base-elements/element.js"
160197
- }
160198
- },
160199
- {
160200
- "kind": "field",
160201
- "name": "elementDependencies",
160202
- "type": {
160203
- "text": "SbbElementType[]"
160204
- },
160205
- "privacy": "public",
160206
- "static": true,
160207
- "default": "[ SbbIconElement, SbbTimetableOccupancyIconElement, ]",
160200
+ "default": "'sbb-train-formation'",
160208
160201
  "inheritedFrom": {
160209
160202
  "name": "SbbElement",
160210
160203
  "module": "core/base-elements/element.js"
160211
160204
  }
160212
160205
  },
160213
- {
160214
- "kind": "field",
160215
- "name": "events",
160216
- "privacy": "public",
160217
- "static": true,
160218
- "readonly": true,
160219
- "default": "{ sectorchange: 'sectorchange', }",
160220
- "type": {
160221
- "text": "{\n sectorchange: 'sectorchange',\n }"
160222
- }
160223
- },
160224
- {
160225
- "kind": "field",
160226
- "name": "type",
160227
- "type": {
160228
- "text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
160229
- },
160230
- "privacy": "public",
160231
- "default": "'wagon'",
160232
- "description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
160233
- "attribute": "type",
160234
- "reflects": true
160235
- },
160236
160206
  {
160237
160207
  "kind": "field",
160238
160208
  "name": "listChildLocalNames",
@@ -160242,7 +160212,7 @@
160242
160212
  "privacy": "protected",
160243
160213
  "readonly": true,
160244
160214
  "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
160245
- "default": "['sbb-icon']",
160215
+ "default": "['sbb-train']",
160246
160216
  "inheritedFrom": {
160247
160217
  "name": "SbbNamedSlotListMixin",
160248
160218
  "module": "core/mixins/named-slot-list-mixin.js"
@@ -160250,71 +160220,24 @@
160250
160220
  },
160251
160221
  {
160252
160222
  "kind": "field",
160253
- "name": "occupancy",
160254
- "type": {
160255
- "text": "SbbOccupancy | null"
160256
- },
160257
- "privacy": "public",
160258
- "default": "null",
160259
- "description": "Occupancy of a wagon.",
160260
- "attribute": "occupancy"
160261
- },
160262
- {
160263
- "kind": "field",
160264
- "name": "sector",
160265
- "type": {
160266
- "text": "string"
160267
- },
160268
- "privacy": "public",
160269
- "default": "''",
160270
- "description": "Sector in which the wagon stops.",
160271
- "attribute": "sector",
160272
- "reflects": true
160273
- },
160274
- {
160275
- "kind": "field",
160276
- "name": "blockedPassage",
160277
- "type": {
160278
- "text": "'previous' | 'next' | 'both' | 'none'"
160279
- },
160280
- "privacy": "public",
160281
- "default": "'none'",
160282
- "description": "Accessibility text for blocked passages of the wagon.",
160283
- "attribute": "blocked-passage"
160284
- },
160285
- {
160286
- "kind": "field",
160287
- "name": "wagonClass",
160288
- "type": {
160289
- "text": "'1' | '2' | null"
160290
- },
160291
- "privacy": "public",
160292
- "default": "null",
160293
- "description": "Class label",
160294
- "attribute": "wagon-class"
160295
- },
160296
- {
160297
- "kind": "field",
160298
- "name": "label",
160223
+ "name": "view",
160299
160224
  "type": {
160300
- "text": "string"
160225
+ "text": "'side' | 'top'"
160301
160226
  },
160302
160227
  "privacy": "public",
160303
- "default": "''",
160304
- "description": "Wagon number",
160305
- "attribute": "label",
160228
+ "default": "'side'",
160229
+ "description": "Whether the view of the wagons is from side or top perspective.",
160230
+ "attribute": "view",
160306
160231
  "reflects": true
160307
160232
  },
160308
160233
  {
160309
160234
  "kind": "field",
160310
- "name": "additionalAccessibilityText",
160235
+ "name": "_sectors",
160311
160236
  "type": {
160312
- "text": "string"
160237
+ "text": "AggregatedSector[]"
160313
160238
  },
160314
- "privacy": "public",
160315
- "default": "''",
160316
- "description": "Additional accessibility text which will be appended to the end.",
160317
- "attribute": "additional-accessibility-text"
160239
+ "privacy": "private",
160240
+ "default": "[]"
160318
160241
  },
160319
160242
  {
160320
160243
  "kind": "field",
@@ -160324,22 +160247,35 @@
160324
160247
  },
160325
160248
  {
160326
160249
  "kind": "method",
160327
- "name": "_sectorChanged",
160250
+ "name": "_readSectors",
160328
160251
  "privacy": "private",
160329
160252
  "return": {
160330
160253
  "type": {
160331
160254
  "text": "void"
160332
160255
  }
160333
- }
160256
+ },
160257
+ "parameters": [
160258
+ {
160259
+ "name": "event",
160260
+ "optional": true,
160261
+ "type": {
160262
+ "text": "Event"
160263
+ }
160264
+ }
160265
+ ]
160334
160266
  },
160335
160267
  {
160336
- "kind": "method",
160337
- "name": "_typeLabel",
160338
- "privacy": "private",
160339
- "return": {
160340
- "type": {
160341
- "text": "string"
160342
- }
160268
+ "kind": "field",
160269
+ "name": "elementDependencies",
160270
+ "type": {
160271
+ "text": "SbbElementType[]"
160272
+ },
160273
+ "privacy": "public",
160274
+ "static": true,
160275
+ "default": "[SbbScreenReaderOnlyElement]",
160276
+ "inheritedFrom": {
160277
+ "name": "SbbElement",
160278
+ "module": "core/base-elements/element.js"
160343
160279
  }
160344
160280
  },
160345
160281
  {
@@ -160668,82 +160604,28 @@
160668
160604
  }
160669
160605
  },
160670
160606
  "parameters": [
160671
- {
160672
- "name": "slot",
160673
- "type": {
160674
- "text": "HTMLSlotElement"
160675
- }
160676
- }
160677
- ],
160678
- "inheritedFrom": {
160679
- "name": "SbbElement",
160680
- "module": "core/base-elements/element.js"
160681
- }
160682
- }
160683
- ],
160684
- "attributes": [
160685
- {
160686
- "name": "type",
160687
- "type": {
160688
- "text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
160689
- },
160690
- "default": "'wagon'",
160691
- "description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
160692
- "fieldName": "type"
160693
- },
160694
- {
160695
- "name": "occupancy",
160696
- "type": {
160697
- "text": "SbbOccupancy | null"
160698
- },
160699
- "default": "null",
160700
- "description": "Occupancy of a wagon.",
160701
- "fieldName": "occupancy"
160702
- },
160703
- {
160704
- "name": "sector",
160705
- "type": {
160706
- "text": "string"
160707
- },
160708
- "default": "''",
160709
- "description": "Sector in which the wagon stops.",
160710
- "fieldName": "sector"
160711
- },
160712
- {
160713
- "name": "blocked-passage",
160714
- "type": {
160715
- "text": "'previous' | 'next' | 'both' | 'none'"
160716
- },
160717
- "default": "'none'",
160718
- "description": "Accessibility text for blocked passages of the wagon.",
160719
- "fieldName": "blockedPassage"
160720
- },
160721
- {
160722
- "name": "wagon-class",
160723
- "type": {
160724
- "text": "'1' | '2' | null"
160725
- },
160726
- "default": "null",
160727
- "description": "Class label",
160728
- "fieldName": "wagonClass"
160729
- },
160730
- {
160731
- "name": "label",
160732
- "type": {
160733
- "text": "string"
160734
- },
160735
- "default": "''",
160736
- "description": "Wagon number",
160737
- "fieldName": "label"
160738
- },
160607
+ {
160608
+ "name": "slot",
160609
+ "type": {
160610
+ "text": "HTMLSlotElement"
160611
+ }
160612
+ }
160613
+ ],
160614
+ "inheritedFrom": {
160615
+ "name": "SbbElement",
160616
+ "module": "core/base-elements/element.js"
160617
+ }
160618
+ }
160619
+ ],
160620
+ "attributes": [
160739
160621
  {
160740
- "name": "additional-accessibility-text",
160622
+ "name": "view",
160741
160623
  "type": {
160742
- "text": "string"
160624
+ "text": "'side' | 'top'"
160743
160625
  },
160744
- "default": "''",
160745
- "description": "Additional accessibility text which will be appended to the end.",
160746
- "fieldName": "additionalAccessibilityText"
160626
+ "default": "'side'",
160627
+ "description": "Whether the view of the wagons is from side or top perspective.",
160628
+ "fieldName": "view"
160747
160629
  }
160748
160630
  ],
160749
160631
  "mixins": [
@@ -160756,39 +160638,32 @@
160756
160638
  "name": "SbbElement",
160757
160639
  "module": "core.js"
160758
160640
  },
160759
- "tagName": "sbb-train-wagon",
160641
+ "tagName": "sbb-train-formation",
160760
160642
  "customElement": true
160761
160643
  }
160762
160644
  ],
160763
160645
  "exports": [
160764
160646
  {
160765
160647
  "kind": "js",
160766
- "name": "SbbTrainWagonElement",
160648
+ "name": "SbbTrainFormationElement",
160767
160649
  "declaration": {
160768
- "name": "SbbTrainWagonElement",
160769
- "module": "train/train-wagon/train-wagon.component.js"
160650
+ "name": "SbbTrainFormationElement",
160651
+ "module": "train/train-formation/train-formation.component.js"
160770
160652
  }
160771
160653
  }
160772
160654
  ]
160773
160655
  },
160774
160656
  {
160775
160657
  "kind": "javascript-module",
160776
- "path": "train/train-formation/train-formation.component.js",
160658
+ "path": "train/train-wagon/train-wagon.component.js",
160777
160659
  "declarations": [
160778
160660
  {
160779
160661
  "kind": "class",
160780
- "description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
160781
- "name": "SbbTrainFormationElement",
160782
- "cssProperties": [
160783
- {
160784
- "description": "Defines the inline padding inside the horizontal scrolling area.",
160785
- "name": "--sbb-train-formation-padding-inline",
160786
- "default": "0px"
160787
- }
160788
- ],
160662
+ "description": "It displays a train compartment within a `sbb-train` component.",
160663
+ "name": "SbbTrainWagonElement",
160789
160664
  "slots": [
160790
160665
  {
160791
- "description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
160666
+ "description": "Use the unnamed slot to add one or more `sbb-icon` for meta-information of the `sbb-train-wagon`.",
160792
160667
  "name": ""
160793
160668
  }
160794
160669
  ],
@@ -160802,12 +160677,49 @@
160802
160677
  "privacy": "public",
160803
160678
  "static": true,
160804
160679
  "readonly": true,
160805
- "default": "'sbb-train-formation'",
160680
+ "default": "'sbb-train-wagon'",
160681
+ "inheritedFrom": {
160682
+ "name": "SbbElement",
160683
+ "module": "core/base-elements/element.js"
160684
+ }
160685
+ },
160686
+ {
160687
+ "kind": "field",
160688
+ "name": "elementDependencies",
160689
+ "type": {
160690
+ "text": "SbbElementType[]"
160691
+ },
160692
+ "privacy": "public",
160693
+ "static": true,
160694
+ "default": "[ SbbIconElement, SbbTimetableOccupancyIconElement, ]",
160806
160695
  "inheritedFrom": {
160807
160696
  "name": "SbbElement",
160808
160697
  "module": "core/base-elements/element.js"
160809
160698
  }
160810
160699
  },
160700
+ {
160701
+ "kind": "field",
160702
+ "name": "events",
160703
+ "privacy": "public",
160704
+ "static": true,
160705
+ "readonly": true,
160706
+ "default": "{ sectorchange: 'sectorchange', }",
160707
+ "type": {
160708
+ "text": "{\n sectorchange: 'sectorchange',\n }"
160709
+ }
160710
+ },
160711
+ {
160712
+ "kind": "field",
160713
+ "name": "type",
160714
+ "type": {
160715
+ "text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
160716
+ },
160717
+ "privacy": "public",
160718
+ "default": "'wagon'",
160719
+ "description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
160720
+ "attribute": "type",
160721
+ "reflects": true
160722
+ },
160811
160723
  {
160812
160724
  "kind": "field",
160813
160725
  "name": "listChildLocalNames",
@@ -160817,7 +160729,7 @@
160817
160729
  "privacy": "protected",
160818
160730
  "readonly": true,
160819
160731
  "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
160820
- "default": "['sbb-train']",
160732
+ "default": "['sbb-icon']",
160821
160733
  "inheritedFrom": {
160822
160734
  "name": "SbbNamedSlotListMixin",
160823
160735
  "module": "core/mixins/named-slot-list-mixin.js"
@@ -160825,24 +160737,71 @@
160825
160737
  },
160826
160738
  {
160827
160739
  "kind": "field",
160828
- "name": "view",
160740
+ "name": "occupancy",
160829
160741
  "type": {
160830
- "text": "'side' | 'top'"
160742
+ "text": "SbbOccupancy | null"
160831
160743
  },
160832
160744
  "privacy": "public",
160833
- "default": "'side'",
160834
- "description": "Whether the view of the wagons is from side or top perspective.",
160835
- "attribute": "view",
160745
+ "default": "null",
160746
+ "description": "Occupancy of a wagon.",
160747
+ "attribute": "occupancy"
160748
+ },
160749
+ {
160750
+ "kind": "field",
160751
+ "name": "sector",
160752
+ "type": {
160753
+ "text": "string"
160754
+ },
160755
+ "privacy": "public",
160756
+ "default": "''",
160757
+ "description": "Sector in which the wagon stops.",
160758
+ "attribute": "sector",
160836
160759
  "reflects": true
160837
160760
  },
160838
160761
  {
160839
160762
  "kind": "field",
160840
- "name": "_sectors",
160763
+ "name": "blockedPassage",
160841
160764
  "type": {
160842
- "text": "AggregatedSector[]"
160765
+ "text": "'previous' | 'next' | 'both' | 'none'"
160843
160766
  },
160844
- "privacy": "private",
160845
- "default": "[]"
160767
+ "privacy": "public",
160768
+ "default": "'none'",
160769
+ "description": "Accessibility text for blocked passages of the wagon.",
160770
+ "attribute": "blocked-passage"
160771
+ },
160772
+ {
160773
+ "kind": "field",
160774
+ "name": "wagonClass",
160775
+ "type": {
160776
+ "text": "'1' | '2' | null"
160777
+ },
160778
+ "privacy": "public",
160779
+ "default": "null",
160780
+ "description": "Class label",
160781
+ "attribute": "wagon-class"
160782
+ },
160783
+ {
160784
+ "kind": "field",
160785
+ "name": "label",
160786
+ "type": {
160787
+ "text": "string"
160788
+ },
160789
+ "privacy": "public",
160790
+ "default": "''",
160791
+ "description": "Wagon number",
160792
+ "attribute": "label",
160793
+ "reflects": true
160794
+ },
160795
+ {
160796
+ "kind": "field",
160797
+ "name": "additionalAccessibilityText",
160798
+ "type": {
160799
+ "text": "string"
160800
+ },
160801
+ "privacy": "public",
160802
+ "default": "''",
160803
+ "description": "Additional accessibility text which will be appended to the end.",
160804
+ "attribute": "additional-accessibility-text"
160846
160805
  },
160847
160806
  {
160848
160807
  "kind": "field",
@@ -160852,35 +160811,22 @@
160852
160811
  },
160853
160812
  {
160854
160813
  "kind": "method",
160855
- "name": "_readSectors",
160814
+ "name": "_sectorChanged",
160856
160815
  "privacy": "private",
160857
160816
  "return": {
160858
160817
  "type": {
160859
160818
  "text": "void"
160860
160819
  }
160861
- },
160862
- "parameters": [
160863
- {
160864
- "name": "event",
160865
- "optional": true,
160866
- "type": {
160867
- "text": "Event"
160868
- }
160869
- }
160870
- ]
160820
+ }
160871
160821
  },
160872
160822
  {
160873
- "kind": "field",
160874
- "name": "elementDependencies",
160875
- "type": {
160876
- "text": "SbbElementType[]"
160877
- },
160878
- "privacy": "public",
160879
- "static": true,
160880
- "default": "[SbbScreenReaderOnlyElement]",
160881
- "inheritedFrom": {
160882
- "name": "SbbElement",
160883
- "module": "core/base-elements/element.js"
160823
+ "kind": "method",
160824
+ "name": "_typeLabel",
160825
+ "privacy": "private",
160826
+ "return": {
160827
+ "type": {
160828
+ "text": "string"
160829
+ }
160884
160830
  }
160885
160831
  },
160886
160832
  {
@@ -161224,13 +161170,67 @@
161224
161170
  ],
161225
161171
  "attributes": [
161226
161172
  {
161227
- "name": "view",
161173
+ "name": "type",
161228
161174
  "type": {
161229
- "text": "'side' | 'top'"
161175
+ "text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
161230
161176
  },
161231
- "default": "'side'",
161232
- "description": "Whether the view of the wagons is from side or top perspective.",
161233
- "fieldName": "view"
161177
+ "default": "'wagon'",
161178
+ "description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
161179
+ "fieldName": "type"
161180
+ },
161181
+ {
161182
+ "name": "occupancy",
161183
+ "type": {
161184
+ "text": "SbbOccupancy | null"
161185
+ },
161186
+ "default": "null",
161187
+ "description": "Occupancy of a wagon.",
161188
+ "fieldName": "occupancy"
161189
+ },
161190
+ {
161191
+ "name": "sector",
161192
+ "type": {
161193
+ "text": "string"
161194
+ },
161195
+ "default": "''",
161196
+ "description": "Sector in which the wagon stops.",
161197
+ "fieldName": "sector"
161198
+ },
161199
+ {
161200
+ "name": "blocked-passage",
161201
+ "type": {
161202
+ "text": "'previous' | 'next' | 'both' | 'none'"
161203
+ },
161204
+ "default": "'none'",
161205
+ "description": "Accessibility text for blocked passages of the wagon.",
161206
+ "fieldName": "blockedPassage"
161207
+ },
161208
+ {
161209
+ "name": "wagon-class",
161210
+ "type": {
161211
+ "text": "'1' | '2' | null"
161212
+ },
161213
+ "default": "null",
161214
+ "description": "Class label",
161215
+ "fieldName": "wagonClass"
161216
+ },
161217
+ {
161218
+ "name": "label",
161219
+ "type": {
161220
+ "text": "string"
161221
+ },
161222
+ "default": "''",
161223
+ "description": "Wagon number",
161224
+ "fieldName": "label"
161225
+ },
161226
+ {
161227
+ "name": "additional-accessibility-text",
161228
+ "type": {
161229
+ "text": "string"
161230
+ },
161231
+ "default": "''",
161232
+ "description": "Additional accessibility text which will be appended to the end.",
161233
+ "fieldName": "additionalAccessibilityText"
161234
161234
  }
161235
161235
  ],
161236
161236
  "mixins": [
@@ -161243,17 +161243,17 @@
161243
161243
  "name": "SbbElement",
161244
161244
  "module": "core.js"
161245
161245
  },
161246
- "tagName": "sbb-train-formation",
161246
+ "tagName": "sbb-train-wagon",
161247
161247
  "customElement": true
161248
161248
  }
161249
161249
  ],
161250
161250
  "exports": [
161251
161251
  {
161252
161252
  "kind": "js",
161253
- "name": "SbbTrainFormationElement",
161253
+ "name": "SbbTrainWagonElement",
161254
161254
  "declaration": {
161255
- "name": "SbbTrainFormationElement",
161256
- "module": "train/train-formation/train-formation.component.js"
161255
+ "name": "SbbTrainWagonElement",
161256
+ "module": "train/train-wagon/train-wagon.component.js"
161257
161257
  }
161258
161258
  }
161259
161259
  ]