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

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 +826 -826
  2. package/package.json +2 -2
@@ -143644,6 +143644,50 @@
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
+ },
143647
143691
  {
143648
143692
  "kind": "javascript-module",
143649
143693
  "path": "sidebar/sidebar/sidebar.component.js",
@@ -144534,50 +144578,6 @@
144534
144578
  }
144535
144579
  ]
144536
144580
  },
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,20 +146787,16 @@
146787
146787
  },
146788
146788
  {
146789
146789
  "kind": "javascript-module",
146790
- "path": "stepper/step-label/step-label.component.js",
146790
+ "path": "stepper/step/step.component.js",
146791
146791
  "declarations": [
146792
146792
  {
146793
146793
  "kind": "class",
146794
- "description": "Combined with a `sbb-stepper`, it displays a step's label.",
146795
- "name": "SbbStepLabelElement",
146794
+ "description": "Combined with a `sbb-stepper`, it displays a step's content.",
146795
+ "name": "SbbStepElement",
146796
146796
  "slots": [
146797
146797
  {
146798
- "description": "Use the unnamed slot to provide a label.",
146798
+ "description": "Use the unnamed slot to provide content.",
146799
146799
  "name": ""
146800
- },
146801
- {
146802
- "description": "Use this to display an icon in the label bubble.",
146803
- "name": "icon"
146804
146800
  }
146805
146801
  ],
146806
146802
  "members": [
@@ -146813,11 +146809,11 @@
146813
146809
  "privacy": "public",
146814
146810
  "static": true,
146815
146811
  "readonly": true,
146812
+ "default": "'sbb-step'",
146816
146813
  "inheritedFrom": {
146817
146814
  "name": "SbbElement",
146818
146815
  "module": "core/base-elements/element.js"
146819
- },
146820
- "default": "'sbb-step-label'"
146816
+ }
146821
146817
  },
146822
146818
  {
146823
146819
  "kind": "field",
@@ -146827,29 +146823,46 @@
146827
146823
  },
146828
146824
  "privacy": "public",
146829
146825
  "static": true,
146826
+ "readonly": true,
146827
+ "default": "'tabpanel'",
146830
146828
  "inheritedFrom": {
146831
146829
  "name": "SbbElement",
146832
146830
  "module": "core/base-elements/element.js"
146833
- },
146831
+ }
146832
+ },
146833
+ {
146834
+ "kind": "field",
146835
+ "name": "events",
146836
+ "privacy": "public",
146837
+ "static": true,
146834
146838
  "readonly": true,
146835
- "default": "'tab'"
146839
+ "default": "{ validate: 'validate', resizechange: 'resizechange', }",
146840
+ "type": {
146841
+ "text": "{\n validate: 'validate',\n resizechange: 'resizechange',\n }"
146842
+ }
146836
146843
  },
146837
146844
  {
146838
146845
  "kind": "field",
146839
- "name": "step",
146846
+ "name": "_stepResizeObserver",
146847
+ "privacy": "private",
146848
+ "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => setTimeout(() => this._onStepElementResize()), })"
146849
+ },
146850
+ {
146851
+ "kind": "field",
146852
+ "name": "label",
146840
146853
  "type": {
146841
- "text": "SbbStepElement | null"
146854
+ "text": "SbbStepLabelElement | null"
146842
146855
  },
146843
146856
  "privacy": "public",
146844
- "description": "The step controlled by the label.",
146857
+ "description": "The label of the step.",
146845
146858
  "readonly": true,
146846
146859
  "default": "null"
146847
146860
  },
146848
146861
  {
146849
146862
  "kind": "field",
146850
- "name": "_step",
146863
+ "name": "_label",
146851
146864
  "type": {
146852
- "text": "SbbStepElement | null"
146865
+ "text": "SbbStepLabelElement | null"
146853
146866
  },
146854
146867
  "privacy": "private",
146855
146868
  "default": "null"
@@ -146863,22 +146876,6 @@
146863
146876
  "privacy": "public",
146864
146877
  "readonly": true
146865
146878
  },
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
- },
146882
146879
  {
146883
146880
  "kind": "field",
146884
146881
  "name": "_previousOrientation",
@@ -146887,234 +146884,186 @@
146887
146884
  },
146888
146885
  "privacy": "private"
146889
146886
  },
146890
- {
146891
- "kind": "field",
146892
- "name": "_previousSize",
146893
- "type": {
146894
- "text": "string | undefined"
146895
- },
146896
- "privacy": "private"
146897
- },
146898
146887
  {
146899
146888
  "kind": "method",
146900
- "name": "_isNotDeactivatedByLinearMode",
146889
+ "name": "_handleClick",
146901
146890
  "privacy": "private",
146902
146891
  "return": {
146903
146892
  "type": {
146904
- "text": "boolean"
146893
+ "text": "void"
146905
146894
  }
146906
146895
  },
146907
146896
  "parameters": [
146908
146897
  {
146909
- "name": "step",
146898
+ "name": "event",
146910
146899
  "type": {
146911
- "text": "SbbStepElement"
146900
+ "text": "Event"
146912
146901
  }
146913
146902
  }
146914
- ]
146903
+ ],
146904
+ "description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
146915
146905
  },
146916
146906
  {
146917
146907
  "kind": "method",
146918
- "name": "_assignStep",
146908
+ "name": "_isGoNextElement",
146919
146909
  "privacy": "private",
146920
146910
  "return": {
146921
146911
  "type": {
146922
- "text": "void"
146912
+ "text": "boolean"
146923
146913
  }
146924
- }
146925
- },
146926
- {
146927
- "kind": "field",
146928
- "name": "elementDependencies",
146929
- "type": {
146930
- "text": "SbbElementType[]"
146931
- },
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
146914
  },
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
- }
146915
+ "parameters": [
146916
+ {
146917
+ "name": "element",
146918
+ "type": {
146919
+ "text": "HTMLElement"
146920
+ }
146921
+ }
146922
+ ]
146954
146923
  },
146955
146924
  {
146956
146925
  "kind": "method",
146957
- "name": "renderIconSlot",
146958
- "privacy": "protected",
146926
+ "name": "_isGoPreviousElement",
146927
+ "privacy": "private",
146959
146928
  "return": {
146960
146929
  "type": {
146961
- "text": "TemplateResult"
146930
+ "text": "boolean"
146962
146931
  }
146963
146932
  },
146964
146933
  "parameters": [
146965
146934
  {
146966
- "name": "classname",
146967
- "optional": true,
146935
+ "name": "element",
146968
146936
  "type": {
146969
- "text": "string"
146937
+ "text": "HTMLElement"
146970
146938
  }
146971
146939
  }
146972
- ],
146973
- "inheritedFrom": {
146974
- "name": "SbbIconNameMixin",
146975
- "module": "icon/icon-name-mixin.js"
146976
- }
146940
+ ]
146977
146941
  },
146978
146942
  {
146979
146943
  "kind": "method",
146980
- "name": "renderIconName",
146981
- "privacy": "protected",
146944
+ "name": "_onStepElementResize",
146945
+ "privacy": "private",
146982
146946
  "return": {
146983
146947
  "type": {
146984
- "text": "string"
146948
+ "text": "void"
146985
146949
  }
146986
- },
146987
- "inheritedFrom": {
146988
- "name": "SbbIconNameMixin",
146989
- "module": "icon/icon-name-mixin.js"
146990
146950
  }
146991
146951
  },
146992
146952
  {
146993
146953
  "kind": "method",
146994
- "name": "_renderIconName",
146954
+ "name": "_assignLabel",
146995
146955
  "privacy": "private",
146996
146956
  "return": {
146997
146957
  "type": {
146998
- "text": "string"
146958
+ "text": "void"
146999
146959
  }
147000
- },
147001
- "inheritedFrom": {
147002
- "name": "SbbIconNameMixin",
147003
- "module": "icon/icon-name-mixin.js"
147004
146960
  }
147005
146961
  },
147006
146962
  {
147007
146963
  "kind": "field",
147008
- "name": "#disabled",
147009
- "privacy": "private",
146964
+ "name": "['_$sbbElement$']",
147010
146965
  "type": {
147011
146966
  "text": "boolean"
147012
146967
  },
147013
- "default": "false",
146968
+ "privacy": "public",
146969
+ "static": true,
146970
+ "default": "true",
147014
146971
  "inheritedFrom": {
147015
- "name": "SbbDisabledMixin",
147016
- "module": "core/mixins/disabled-mixin.js"
147017
- }
146972
+ "name": "SbbElement",
146973
+ "module": "core/base-elements/element.js"
146974
+ }
147018
146975
  },
147019
146976
  {
147020
- "kind": "method",
147021
- "name": "isDisabledExternally",
147022
- "privacy": "protected",
147023
- "return": {
147024
- "type": {
147025
- "text": "boolean"
147026
- }
146977
+ "kind": "field",
146978
+ "name": "elementDependencies",
146979
+ "type": {
146980
+ "text": "SbbElementType[] | undefined"
147027
146981
  },
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.",
146982
+ "privacy": "public",
146983
+ "static": true,
147029
146984
  "inheritedFrom": {
147030
- "name": "SbbDisabledMixin",
147031
- "module": "core/mixins/disabled-mixin.js"
146985
+ "name": "SbbElement",
146986
+ "module": "core/base-elements/element.js"
147032
146987
  }
147033
146988
  },
147034
146989
  {
147035
146990
  "kind": "field",
147036
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
146991
+ "name": "_controllers",
147037
146992
  "type": {
147038
- "text": "array"
146993
+ "text": "Set<SbbReactiveController> | undefined"
147039
146994
  },
147040
146995
  "privacy": "private",
147041
- "readonly": true,
147042
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
147043
146996
  "inheritedFrom": {
147044
- "name": "SbbButtonBaseElement",
147045
- "module": "core/base-elements/button-base-element.js"
146997
+ "name": "SbbElement",
146998
+ "module": "core/base-elements/element.js"
147046
146999
  }
147047
147000
  },
147048
147001
  {
147049
147002
  "kind": "field",
147050
- "name": "value",
147003
+ "name": "_hydrationRequired",
147051
147004
  "type": {
147052
- "text": "string"
147005
+ "text": "boolean"
147053
147006
  },
147054
- "privacy": "public",
147007
+ "privacy": "private",
147008
+ "default": "!!this.shadowRoot",
147055
147009
  "inheritedFrom": {
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"
147010
+ "name": "SbbElement",
147011
+ "module": "core/base-elements/element.js"
147012
+ }
147062
147013
  },
147063
147014
  {
147064
147015
  "kind": "field",
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",
147016
+ "name": "_hydrationComplete",
147017
+ "privacy": "private",
147018
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
147073
147019
  "inheritedFrom": {
147074
- "name": "SbbButtonBaseElement",
147075
- "module": "core/base-elements/button-base-element.js"
147020
+ "name": "SbbElement",
147021
+ "module": "core/base-elements/element.js"
147076
147022
  }
147077
147023
  },
147078
147024
  {
147079
147025
  "kind": "field",
147080
- "name": "form",
147026
+ "name": "_resolveHydration",
147081
147027
  "type": {
147082
- "text": "HTMLFormElement | null"
147028
+ "text": "(hydrationRequired: boolean) => void"
147083
147029
  },
147084
- "privacy": "public",
147085
- "description": "The `<form>` element to associate the button with.",
147030
+ "privacy": "private",
147086
147031
  "inheritedFrom": {
147087
- "name": "SbbButtonBaseElement",
147088
- "module": "core/base-elements/button-base-element.js"
147089
- },
147090
- "attribute": "form"
147032
+ "name": "SbbElement",
147033
+ "module": "core/base-elements/element.js"
147034
+ }
147091
147035
  },
147092
147036
  {
147093
147037
  "kind": "field",
147094
- "name": "_formId",
147038
+ "name": "_textObserver",
147095
147039
  "type": {
147096
- "text": "string"
147040
+ "text": "MutationObserver | undefined"
147097
147041
  },
147098
147042
  "privacy": "private",
147099
- "default": "''",
147100
147043
  "inheritedFrom": {
147101
- "name": "SbbButtonBaseElement",
147102
- "module": "core/base-elements/button-base-element.js"
147044
+ "name": "SbbElement",
147045
+ "module": "core/base-elements/element.js"
147103
147046
  }
147104
147047
  },
147105
147048
  {
147106
147049
  "kind": "field",
147107
- "name": "_handleButtonClick",
147108
- "privacy": "private",
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,
147109
147057
  "inheritedFrom": {
147110
- "name": "SbbButtonBaseElement",
147111
- "module": "core/base-elements/button-base-element.js"
147112
- }
147058
+ "name": "SbbElement",
147059
+ "module": "core/base-elements/element.js"
147060
+ },
147061
+ "default": "!!this.shadowRoot"
147113
147062
  },
147114
147063
  {
147115
147064
  "kind": "method",
147116
- "name": "_requestSubmit",
147117
- "privacy": "private",
147065
+ "name": "toggleState",
147066
+ "privacy": "protected",
147118
147067
  "return": {
147119
147068
  "type": {
147120
147069
  "text": "void"
@@ -147122,524 +147071,654 @@
147122
147071
  },
147123
147072
  "parameters": [
147124
147073
  {
147125
- "name": "form",
147074
+ "name": "value",
147126
147075
  "type": {
147127
- "text": "HTMLFormElement"
147076
+ "text": "string"
147077
+ }
147078
+ },
147079
+ {
147080
+ "name": "force",
147081
+ "optional": true,
147082
+ "type": {
147083
+ "text": "boolean"
147128
147084
  }
147129
147085
  }
147130
147086
  ],
147131
147087
  "inheritedFrom": {
147132
- "name": "SbbButtonBaseElement",
147133
- "module": "core/base-elements/button-base-element.js"
147088
+ "name": "SbbElement",
147089
+ "module": "core/base-elements/element.js"
147134
147090
  }
147135
147091
  },
147136
147092
  {
147137
- "kind": "field",
147138
- "name": "_formKeyDown",
147093
+ "kind": "method",
147094
+ "name": "_slotchangeHandler",
147139
147095
  "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
+ ],
147140
147115
  "inheritedFrom": {
147141
- "name": "SbbButtonBaseElement",
147142
- "module": "core/base-elements/button-base-element.js"
147116
+ "name": "SbbElement",
147117
+ "module": "core/base-elements/element.js"
147143
147118
  }
147144
147119
  },
147145
147120
  {
147146
- "kind": "field",
147147
- "name": "formAssociated",
147148
- "type": {
147149
- "text": "boolean"
147121
+ "kind": "method",
147122
+ "name": "_handleSlotChangeForSlottedState",
147123
+ "privacy": "private",
147124
+ "return": {
147125
+ "type": {
147126
+ "text": "void"
147127
+ }
147150
147128
  },
147151
- "privacy": "public",
147152
- "static": true,
147153
- "default": "true",
147129
+ "parameters": [
147130
+ {
147131
+ "name": "slot",
147132
+ "type": {
147133
+ "text": "HTMLSlotElement"
147134
+ }
147135
+ }
147136
+ ],
147154
147137
  "inheritedFrom": {
147155
- "name": "SbbFormAssociatedMixin",
147156
- "module": "core/mixins/form-associated-mixin.js"
147138
+ "name": "SbbElement",
147139
+ "module": "core/base-elements/element.js"
147157
147140
  }
147158
147141
  },
147159
147142
  {
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"
147143
+ "kind": "method",
147144
+ "name": "_updateSlottedState",
147145
+ "privacy": "private",
147146
+ "return": {
147147
+ "type": {
147148
+ "text": "void"
147149
+ }
147166
147150
  },
147167
- "attribute": "name",
147151
+ "parameters": [
147152
+ {
147153
+ "name": "slot",
147154
+ "type": {
147155
+ "text": "HTMLSlotElement"
147156
+ }
147157
+ }
147158
+ ],
147168
147159
  "inheritedFrom": {
147169
- "name": "SbbFormAssociatedMixin",
147170
- "module": "core/mixins/form-associated-mixin.js"
147160
+ "name": "SbbElement",
147161
+ "module": "core/base-elements/element.js"
147171
147162
  }
147172
147163
  },
147173
147164
  {
147174
- "kind": "field",
147175
- "name": "validity",
147176
- "type": {
147177
- "text": "ValidityState"
147165
+ "kind": "method",
147166
+ "name": "_observeTextNodesInSlot",
147167
+ "privacy": "private",
147168
+ "return": {
147169
+ "type": {
147170
+ "text": "void"
147171
+ }
147178
147172
  },
147179
- "privacy": "public",
147180
- "description": "Returns the ValidityState object for this element.",
147181
- "readonly": true,
147173
+ "parameters": [
147174
+ {
147175
+ "name": "slot",
147176
+ "type": {
147177
+ "text": "HTMLSlotElement"
147178
+ }
147179
+ }
147180
+ ],
147182
147181
  "inheritedFrom": {
147183
- "name": "SbbFormAssociatedMixin",
147184
- "module": "core/mixins/form-associated-mixin.js"
147182
+ "name": "SbbElement",
147183
+ "module": "core/base-elements/element.js"
147185
147184
  }
147186
147185
  },
147187
147186
  {
147188
- "kind": "field",
147189
- "name": "validationMessage",
147190
- "type": {
147191
- "text": "string"
147187
+ "kind": "method",
147188
+ "name": "_hasSlottedContent",
147189
+ "privacy": "private",
147190
+ "return": {
147191
+ "type": {
147192
+ "text": "boolean"
147193
+ }
147192
147194
  },
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,
147195
+ "parameters": [
147196
+ {
147197
+ "name": "slot",
147198
+ "type": {
147199
+ "text": "HTMLSlotElement"
147200
+ }
147201
+ }
147202
+ ],
147196
147203
  "inheritedFrom": {
147197
- "name": "SbbFormAssociatedMixin",
147198
- "module": "core/mixins/form-associated-mixin.js"
147204
+ "name": "SbbElement",
147205
+ "module": "core/base-elements/element.js"
147199
147206
  }
147200
- },
147207
+ }
147208
+ ],
147209
+ "events": [
147201
147210
  {
147202
- "kind": "field",
147203
- "name": "willValidate",
147211
+ "name": "validate",
147204
147212
  "type": {
147205
- "text": "boolean"
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": [
147256
+ {
147257
+ "kind": "field",
147258
+ "name": "elementName",
147259
+ "type": {
147260
+ "text": "string"
147206
147261
  },
147207
147262
  "privacy": "public",
147208
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
147263
+ "static": true,
147209
147264
  "readonly": true,
147210
147265
  "inheritedFrom": {
147211
- "name": "SbbFormAssociatedMixin",
147212
- "module": "core/mixins/form-associated-mixin.js"
147213
- }
147266
+ "name": "SbbElement",
147267
+ "module": "core/base-elements/element.js"
147268
+ },
147269
+ "default": "'sbb-step-label'"
147214
147270
  },
147215
147271
  {
147216
147272
  "kind": "field",
147217
- "name": "_validityStates",
147218
- "privacy": "private",
147219
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
147273
+ "name": "role",
147274
+ "type": {
147275
+ "text": "string"
147276
+ },
147277
+ "privacy": "public",
147278
+ "static": true,
147220
147279
  "inheritedFrom": {
147221
- "name": "SbbFormAssociatedMixin",
147222
- "module": "core/mixins/form-associated-mixin.js"
147223
- }
147280
+ "name": "SbbElement",
147281
+ "module": "core/base-elements/element.js"
147282
+ },
147283
+ "readonly": true,
147284
+ "default": "'tab'"
147224
147285
  },
147225
147286
  {
147226
147287
  "kind": "field",
147227
- "name": "formDisabled",
147288
+ "name": "step",
147228
147289
  "type": {
147229
- "text": "boolean"
147290
+ "text": "SbbStepElement | null"
147230
147291
  },
147231
- "privacy": "protected",
147292
+ "privacy": "public",
147293
+ "description": "The step controlled by the label.",
147294
+ "readonly": true,
147295
+ "default": "null"
147296
+ },
147297
+ {
147298
+ "kind": "field",
147299
+ "name": "_step",
147300
+ "type": {
147301
+ "text": "SbbStepElement | null"
147302
+ },
147303
+ "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
147314
+ },
147315
+ {
147316
+ "kind": "field",
147317
+ "name": "disabled",
147318
+ "privacy": "public",
147319
+ "description": "Whether the component is disabled.",
147232
147320
  "default": "false",
147233
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
147321
+ "type": {
147322
+ "text": "boolean"
147323
+ },
147324
+ "attribute": "disabled",
147325
+ "reflects": true,
147234
147326
  "inheritedFrom": {
147235
- "name": "SbbFormAssociatedMixin",
147236
- "module": "core/mixins/form-associated-mixin.js"
147327
+ "name": "SbbDisabledMixin",
147328
+ "module": "core/mixins/disabled-mixin.js"
147237
147329
  }
147238
147330
  },
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
+ },
147239
147347
  {
147240
147348
  "kind": "method",
147241
- "name": "checkValidity",
147242
- "privacy": "public",
147349
+ "name": "_isNotDeactivatedByLinearMode",
147350
+ "privacy": "private",
147243
147351
  "return": {
147244
147352
  "type": {
147245
147353
  "text": "boolean"
147246
147354
  }
147247
147355
  },
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
- }
147356
+ "parameters": [
147357
+ {
147358
+ "name": "step",
147359
+ "type": {
147360
+ "text": "SbbStepElement"
147361
+ }
147362
+ }
147363
+ ]
147253
147364
  },
147254
147365
  {
147255
147366
  "kind": "method",
147256
- "name": "reportValidity",
147257
- "privacy": "public",
147367
+ "name": "_assignStep",
147368
+ "privacy": "private",
147258
147369
  "return": {
147259
147370
  "type": {
147260
- "text": "boolean"
147371
+ "text": "void"
147261
147372
  }
147373
+ }
147374
+ },
147375
+ {
147376
+ "kind": "field",
147377
+ "name": "elementDependencies",
147378
+ "type": {
147379
+ "text": "SbbElementType[]"
147262
147380
  },
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.",
147381
+ "privacy": "public",
147382
+ "static": true,
147264
147383
  "inheritedFrom": {
147265
- "name": "SbbFormAssociatedMixin",
147266
- "module": "core/mixins/form-associated-mixin.js"
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
+ },
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",
147399
+ "inheritedFrom": {
147400
+ "name": "SbbIconNameMixin",
147401
+ "module": "icon/icon-name-mixin.js"
147267
147402
  }
147268
147403
  },
147269
147404
  {
147270
147405
  "kind": "method",
147271
- "name": "setCustomValidity",
147272
- "privacy": "public",
147406
+ "name": "renderIconSlot",
147407
+ "privacy": "protected",
147273
147408
  "return": {
147274
147409
  "type": {
147275
- "text": "void"
147410
+ "text": "TemplateResult"
147276
147411
  }
147277
147412
  },
147278
147413
  "parameters": [
147279
147414
  {
147280
- "name": "message",
147415
+ "name": "classname",
147416
+ "optional": true,
147281
147417
  "type": {
147282
147418
  "text": "string"
147283
147419
  }
147284
147420
  }
147285
147421
  ],
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.",
147287
147422
  "inheritedFrom": {
147288
- "name": "SbbFormAssociatedMixin",
147289
- "module": "core/mixins/form-associated-mixin.js"
147423
+ "name": "SbbIconNameMixin",
147424
+ "module": "icon/icon-name-mixin.js"
147290
147425
  }
147291
147426
  },
147292
147427
  {
147293
147428
  "kind": "method",
147294
- "name": "_hasDisabledAncestor",
147295
- "privacy": "private",
147429
+ "name": "renderIconName",
147430
+ "privacy": "protected",
147296
147431
  "return": {
147297
147432
  "type": {
147298
- "text": "boolean"
147433
+ "text": "string"
147299
147434
  }
147300
147435
  },
147301
147436
  "inheritedFrom": {
147302
- "name": "SbbFormAssociatedMixin",
147303
- "module": "core/mixins/form-associated-mixin.js"
147437
+ "name": "SbbIconNameMixin",
147438
+ "module": "icon/icon-name-mixin.js"
147304
147439
  }
147305
147440
  },
147306
147441
  {
147307
147442
  "kind": "method",
147308
- "name": "updateFormValue",
147309
- "privacy": "protected",
147443
+ "name": "_renderIconName",
147444
+ "privacy": "private",
147310
147445
  "return": {
147311
147446
  "type": {
147312
- "text": "void"
147447
+ "text": "string"
147313
147448
  }
147314
147449
  },
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",
147316
147450
  "inheritedFrom": {
147317
- "name": "SbbFormAssociatedMixin",
147318
- "module": "core/mixins/form-associated-mixin.js"
147451
+ "name": "SbbIconNameMixin",
147452
+ "module": "icon/icon-name-mixin.js"
147319
147453
  }
147320
147454
  },
147321
147455
  {
147322
- "kind": "method",
147323
- "name": "formState",
147324
- "privacy": "protected",
147325
- "return": {
147326
- "type": {
147327
- "text": "FormRestoreState"
147328
- }
147456
+ "kind": "field",
147457
+ "name": "#disabled",
147458
+ "privacy": "private",
147459
+ "type": {
147460
+ "text": "boolean"
147329
147461
  },
147462
+ "default": "false",
147330
147463
  "inheritedFrom": {
147331
- "name": "SbbFormAssociatedMixin",
147332
- "module": "core/mixins/form-associated-mixin.js"
147464
+ "name": "SbbDisabledMixin",
147465
+ "module": "core/mixins/disabled-mixin.js"
147333
147466
  }
147334
147467
  },
147335
147468
  {
147336
147469
  "kind": "method",
147337
- "name": "setValidityFlag",
147470
+ "name": "isDisabledExternally",
147338
147471
  "privacy": "protected",
147339
147472
  "return": {
147340
147473
  "type": {
147341
- "text": "void"
147474
+ "text": "boolean"
147342
147475
  }
147343
147476
  },
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).",
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.",
147366
147478
  "inheritedFrom": {
147367
- "name": "SbbFormAssociatedMixin",
147368
- "module": "core/mixins/form-associated-mixin.js"
147479
+ "name": "SbbDisabledMixin",
147480
+ "module": "core/mixins/disabled-mixin.js"
147369
147481
  }
147370
147482
  },
147371
147483
  {
147372
- "kind": "method",
147373
- "name": "removeValidityFlag",
147374
- "privacy": "protected",
147375
- "return": {
147376
- "type": {
147377
- "text": "void"
147378
- }
147484
+ "kind": "field",
147485
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
147486
+ "type": {
147487
+ "text": "array"
147379
147488
  },
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.",
147489
+ "privacy": "private",
147490
+ "readonly": true,
147491
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
147389
147492
  "inheritedFrom": {
147390
- "name": "SbbFormAssociatedMixin",
147391
- "module": "core/mixins/form-associated-mixin.js"
147493
+ "name": "SbbButtonBaseElement",
147494
+ "module": "core/base-elements/button-base-element.js"
147392
147495
  }
147393
147496
  },
147394
147497
  {
147395
- "kind": "method",
147396
- "name": "validate",
147397
- "privacy": "protected",
147398
- "return": {
147399
- "type": {
147400
- "text": "void"
147401
- }
147498
+ "kind": "field",
147499
+ "name": "value",
147500
+ "type": {
147501
+ "text": "string"
147402
147502
  },
147403
- "description": "To be called whenever the current element needs to be validated.",
147503
+ "privacy": "public",
147404
147504
  "inheritedFrom": {
147405
- "name": "SbbFormAssociatedMixin",
147406
- "module": "core/mixins/form-associated-mixin.js"
147407
- }
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"
147408
147511
  },
147409
147512
  {
147410
- "kind": "method",
147411
- "name": "shouldValidate",
147412
- "privacy": "protected",
147413
- "return": {
147414
- "type": {
147415
- "text": "boolean"
147416
- }
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"
147417
147520
  },
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.",
147521
+ "attribute": "type",
147427
147522
  "inheritedFrom": {
147428
- "name": "SbbFormAssociatedMixin",
147429
- "module": "core/mixins/form-associated-mixin.js"
147523
+ "name": "SbbButtonBaseElement",
147524
+ "module": "core/base-elements/button-base-element.js"
147430
147525
  }
147431
147526
  },
147432
147527
  {
147433
- "kind": "method",
147434
- "name": "_setInternalValidity",
147435
- "privacy": "private",
147436
- "return": {
147437
- "type": {
147438
- "text": "void"
147439
- }
147528
+ "kind": "field",
147529
+ "name": "form",
147530
+ "type": {
147531
+ "text": "HTMLFormElement | null"
147440
147532
  },
147533
+ "privacy": "public",
147534
+ "description": "The `<form>` element to associate the button with.",
147441
147535
  "inheritedFrom": {
147442
- "name": "SbbFormAssociatedMixin",
147443
- "module": "core/mixins/form-associated-mixin.js"
147444
- }
147536
+ "name": "SbbButtonBaseElement",
147537
+ "module": "core/base-elements/button-base-element.js"
147538
+ },
147539
+ "attribute": "form"
147445
147540
  },
147446
147541
  {
147447
147542
  "kind": "field",
147448
- "name": "_preventScrollOnSpaceKeydown",
147543
+ "name": "_formId",
147544
+ "type": {
147545
+ "text": "string"
147546
+ },
147449
147547
  "privacy": "private",
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
- ],
147548
+ "default": "''",
147457
147549
  "inheritedFrom": {
147458
- "name": "SbbButtonLikeBaseElement",
147550
+ "name": "SbbButtonBaseElement",
147459
147551
  "module": "core/base-elements/button-base-element.js"
147460
147552
  }
147461
147553
  },
147462
147554
  {
147463
147555
  "kind": "field",
147464
- "name": "_removeActiveMarker",
147556
+ "name": "_handleButtonClick",
147465
147557
  "privacy": "private",
147466
147558
  "inheritedFrom": {
147467
- "name": "SbbButtonLikeBaseElement",
147559
+ "name": "SbbButtonBaseElement",
147468
147560
  "module": "core/base-elements/button-base-element.js"
147469
147561
  }
147470
147562
  },
147471
147563
  {
147472
- "kind": "field",
147473
- "name": "_dispatchClickEventOnSpaceKeyup",
147564
+ "kind": "method",
147565
+ "name": "_requestSubmit",
147474
147566
  "privacy": "private",
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.",
147567
+ "return": {
147568
+ "type": {
147569
+ "text": "void"
147570
+ }
147571
+ },
147476
147572
  "parameters": [
147477
147573
  {
147478
- "description": "The origin event.",
147479
- "name": "event"
147574
+ "name": "form",
147575
+ "type": {
147576
+ "text": "HTMLFormElement"
147577
+ }
147480
147578
  }
147481
147579
  ],
147482
147580
  "inheritedFrom": {
147483
- "name": "SbbButtonLikeBaseElement",
147581
+ "name": "SbbButtonBaseElement",
147484
147582
  "module": "core/base-elements/button-base-element.js"
147485
147583
  }
147486
147584
  },
147487
147585
  {
147488
147586
  "kind": "field",
147489
- "name": "_dispatchClickEvent",
147587
+ "name": "_formKeyDown",
147490
147588
  "privacy": "private",
147491
147589
  "inheritedFrom": {
147492
- "name": "SbbButtonLikeBaseElement",
147590
+ "name": "SbbButtonBaseElement",
147493
147591
  "module": "core/base-elements/button-base-element.js"
147494
147592
  }
147495
147593
  },
147496
147594
  {
147497
147595
  "kind": "field",
147498
- "name": "maybeDisabled",
147596
+ "name": "formAssociated",
147499
147597
  "type": {
147500
- "text": "boolean | undefined"
147598
+ "text": "boolean"
147501
147599
  },
147502
- "privacy": "protected",
147503
- "readonly": true,
147600
+ "privacy": "public",
147601
+ "static": true,
147602
+ "default": "true",
147504
147603
  "inheritedFrom": {
147505
- "name": "SbbActionBaseElement",
147506
- "module": "core/base-elements/action-base-element.js"
147604
+ "name": "SbbFormAssociatedMixin",
147605
+ "module": "core/mixins/form-associated-mixin.js"
147507
147606
  }
147508
147607
  },
147509
147608
  {
147510
147609
  "kind": "field",
147511
- "name": "maybeDisabledInteractive",
147610
+ "name": "name",
147611
+ "privacy": "public",
147612
+ "description": "Name of the form element. Will be read from name attribute.",
147512
147613
  "type": {
147513
- "text": "boolean | undefined"
147614
+ "text": "string"
147514
147615
  },
147515
- "privacy": "protected",
147516
- "readonly": true,
147616
+ "attribute": "name",
147517
147617
  "inheritedFrom": {
147518
- "name": "SbbActionBaseElement",
147519
- "module": "core/base-elements/action-base-element.js"
147618
+ "name": "SbbFormAssociatedMixin",
147619
+ "module": "core/mixins/form-associated-mixin.js"
147520
147620
  }
147521
147621
  },
147522
147622
  {
147523
- "kind": "method",
147524
- "name": "setupBaseEventHandlers",
147525
- "privacy": "protected",
147526
- "return": {
147527
- "type": {
147528
- "text": "void"
147529
- }
147623
+ "kind": "field",
147624
+ "name": "validity",
147625
+ "type": {
147626
+ "text": "ValidityState"
147530
147627
  },
147628
+ "privacy": "public",
147629
+ "description": "Returns the ValidityState object for this element.",
147630
+ "readonly": true,
147531
147631
  "inheritedFrom": {
147532
- "name": "SbbActionBaseElement",
147533
- "module": "core/base-elements/action-base-element.js"
147632
+ "name": "SbbFormAssociatedMixin",
147633
+ "module": "core/mixins/form-associated-mixin.js"
147534
147634
  }
147535
147635
  },
147536
147636
  {
147537
- "kind": "method",
147538
- "name": "renderTemplate",
147539
- "privacy": "protected",
147540
- "return": {
147541
- "type": {
147542
- "text": "TemplateResult"
147543
- }
147637
+ "kind": "field",
147638
+ "name": "validationMessage",
147639
+ "type": {
147640
+ "text": "string"
147544
147641
  },
147545
- "description": "Override this method to render the component template.",
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,
147546
147645
  "inheritedFrom": {
147547
- "name": "SbbActionBaseElement",
147548
- "module": "core/base-elements/action-base-element.js"
147646
+ "name": "SbbFormAssociatedMixin",
147647
+ "module": "core/mixins/form-associated-mixin.js"
147549
147648
  }
147550
147649
  },
147551
147650
  {
147552
147651
  "kind": "field",
147553
- "name": "['_$sbbElement$']",
147652
+ "name": "willValidate",
147554
147653
  "type": {
147555
147654
  "text": "boolean"
147556
147655
  },
147557
147656
  "privacy": "public",
147558
- "static": true,
147559
- "default": "true",
147657
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
147658
+ "readonly": true,
147560
147659
  "inheritedFrom": {
147561
- "name": "SbbElement",
147562
- "module": "core/base-elements/element.js"
147660
+ "name": "SbbFormAssociatedMixin",
147661
+ "module": "core/mixins/form-associated-mixin.js"
147563
147662
  }
147564
147663
  },
147565
147664
  {
147566
147665
  "kind": "field",
147567
- "name": "_controllers",
147568
- "type": {
147569
- "text": "Set<SbbReactiveController> | undefined"
147570
- },
147666
+ "name": "_validityStates",
147571
147667
  "privacy": "private",
147668
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
147572
147669
  "inheritedFrom": {
147573
- "name": "SbbElement",
147574
- "module": "core/base-elements/element.js"
147670
+ "name": "SbbFormAssociatedMixin",
147671
+ "module": "core/mixins/form-associated-mixin.js"
147575
147672
  }
147576
147673
  },
147577
147674
  {
147578
147675
  "kind": "field",
147579
- "name": "_hydrationRequired",
147676
+ "name": "formDisabled",
147580
147677
  "type": {
147581
147678
  "text": "boolean"
147582
147679
  },
147583
- "privacy": "private",
147584
- "default": "!!this.shadowRoot",
147680
+ "privacy": "protected",
147681
+ "default": "false",
147682
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
147585
147683
  "inheritedFrom": {
147586
- "name": "SbbElement",
147587
- "module": "core/base-elements/element.js"
147684
+ "name": "SbbFormAssociatedMixin",
147685
+ "module": "core/mixins/form-associated-mixin.js"
147588
147686
  }
147589
147687
  },
147590
147688
  {
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"
147689
+ "kind": "method",
147690
+ "name": "checkValidity",
147691
+ "privacy": "public",
147692
+ "return": {
147693
+ "type": {
147694
+ "text": "boolean"
147695
+ }
147605
147696
  },
147606
- "privacy": "private",
147697
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
147607
147698
  "inheritedFrom": {
147608
- "name": "SbbElement",
147609
- "module": "core/base-elements/element.js"
147699
+ "name": "SbbFormAssociatedMixin",
147700
+ "module": "core/mixins/form-associated-mixin.js"
147610
147701
  }
147611
147702
  },
147612
147703
  {
147613
- "kind": "field",
147614
- "name": "_textObserver",
147615
- "type": {
147616
- "text": "MutationObserver | undefined"
147704
+ "kind": "method",
147705
+ "name": "reportValidity",
147706
+ "privacy": "public",
147707
+ "return": {
147708
+ "type": {
147709
+ "text": "boolean"
147710
+ }
147617
147711
  },
147618
- "privacy": "private",
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.",
147619
147713
  "inheritedFrom": {
147620
- "name": "SbbElement",
147621
- "module": "core/base-elements/element.js"
147714
+ "name": "SbbFormAssociatedMixin",
147715
+ "module": "core/mixins/form-associated-mixin.js"
147622
147716
  }
147623
147717
  },
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
- },
147639
147718
  {
147640
147719
  "kind": "method",
147641
- "name": "toggleState",
147642
- "privacy": "protected",
147720
+ "name": "setCustomValidity",
147721
+ "privacy": "public",
147643
147722
  "return": {
147644
147723
  "type": {
147645
147724
  "text": "void"
@@ -147647,100 +147726,65 @@
147647
147726
  },
147648
147727
  "parameters": [
147649
147728
  {
147650
- "name": "value",
147729
+ "name": "message",
147651
147730
  "type": {
147652
147731
  "text": "string"
147653
147732
  }
147654
- },
147655
- {
147656
- "name": "force",
147657
- "optional": true,
147658
- "type": {
147659
- "text": "boolean"
147660
- }
147661
147733
  }
147662
147734
  ],
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.",
147663
147736
  "inheritedFrom": {
147664
- "name": "SbbElement",
147665
- "module": "core/base-elements/element.js"
147737
+ "name": "SbbFormAssociatedMixin",
147738
+ "module": "core/mixins/form-associated-mixin.js"
147666
147739
  }
147667
147740
  },
147668
147741
  {
147669
147742
  "kind": "method",
147670
- "name": "_slotchangeHandler",
147743
+ "name": "_hasDisabledAncestor",
147671
147744
  "privacy": "private",
147672
147745
  "return": {
147673
147746
  "type": {
147674
- "text": "void"
147747
+ "text": "boolean"
147675
147748
  }
147676
147749
  },
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
- ],
147691
147750
  "inheritedFrom": {
147692
- "name": "SbbElement",
147693
- "module": "core/base-elements/element.js"
147751
+ "name": "SbbFormAssociatedMixin",
147752
+ "module": "core/mixins/form-associated-mixin.js"
147694
147753
  }
147695
147754
  },
147696
147755
  {
147697
147756
  "kind": "method",
147698
- "name": "_handleSlotChangeForSlottedState",
147699
- "privacy": "private",
147757
+ "name": "updateFormValue",
147758
+ "privacy": "protected",
147700
147759
  "return": {
147701
147760
  "type": {
147702
147761
  "text": "void"
147703
147762
  }
147704
147763
  },
147705
- "parameters": [
147706
- {
147707
- "name": "slot",
147708
- "type": {
147709
- "text": "HTMLSlotElement"
147710
- }
147711
- }
147712
- ],
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",
147713
147765
  "inheritedFrom": {
147714
- "name": "SbbElement",
147715
- "module": "core/base-elements/element.js"
147766
+ "name": "SbbFormAssociatedMixin",
147767
+ "module": "core/mixins/form-associated-mixin.js"
147716
147768
  }
147717
147769
  },
147718
147770
  {
147719
147771
  "kind": "method",
147720
- "name": "_updateSlottedState",
147721
- "privacy": "private",
147772
+ "name": "formState",
147773
+ "privacy": "protected",
147722
147774
  "return": {
147723
147775
  "type": {
147724
- "text": "void"
147776
+ "text": "FormRestoreState"
147725
147777
  }
147726
147778
  },
147727
- "parameters": [
147728
- {
147729
- "name": "slot",
147730
- "type": {
147731
- "text": "HTMLSlotElement"
147732
- }
147733
- }
147734
- ],
147735
147779
  "inheritedFrom": {
147736
- "name": "SbbElement",
147737
- "module": "core/base-elements/element.js"
147780
+ "name": "SbbFormAssociatedMixin",
147781
+ "module": "core/mixins/form-associated-mixin.js"
147738
147782
  }
147739
147783
  },
147740
147784
  {
147741
147785
  "kind": "method",
147742
- "name": "_observeTextNodesInSlot",
147743
- "privacy": "private",
147786
+ "name": "setValidityFlag",
147787
+ "privacy": "protected",
147744
147788
  "return": {
147745
147789
  "type": {
147746
147790
  "text": "void"
@@ -147748,269 +147792,73 @@
147748
147792
  },
147749
147793
  "parameters": [
147750
147794
  {
147751
- "name": "slot",
147795
+ "name": "flag",
147752
147796
  "type": {
147753
- "text": "HTMLSlotElement"
147797
+ "text": "T"
147798
+ }
147799
+ },
147800
+ {
147801
+ "name": "message",
147802
+ "type": {
147803
+ "text": "string"
147804
+ }
147805
+ },
147806
+ {
147807
+ "name": "flagValue",
147808
+ "optional": true,
147809
+ "type": {
147810
+ "text": "ValidityStateFlags[T]"
147754
147811
  }
147755
147812
  }
147756
147813
  ],
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).",
147757
147815
  "inheritedFrom": {
147758
- "name": "SbbElement",
147759
- "module": "core/base-elements/element.js"
147816
+ "name": "SbbFormAssociatedMixin",
147817
+ "module": "core/mixins/form-associated-mixin.js"
147760
147818
  }
147761
147819
  },
147762
147820
  {
147763
147821
  "kind": "method",
147764
- "name": "_hasSlottedContent",
147765
- "privacy": "private",
147822
+ "name": "removeValidityFlag",
147823
+ "privacy": "protected",
147766
147824
  "return": {
147767
147825
  "type": {
147768
- "text": "boolean"
147826
+ "text": "void"
147769
147827
  }
147770
147828
  },
147771
147829
  "parameters": [
147772
147830
  {
147773
- "name": "slot",
147831
+ "name": "flag",
147774
147832
  "type": {
147775
- "text": "HTMLSlotElement"
147833
+ "text": "T"
147776
147834
  }
147777
147835
  }
147778
147836
  ],
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",
147837
+ "description": "Removes the validity state flag entry and updates validity state.",
147873
147838
  "inheritedFrom": {
147874
147839
  "name": "SbbFormAssociatedMixin",
147875
- "module": "core/mixins/form-associated-mixin.js"
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"
147840
+ "module": "core/mixins/form-associated-mixin.js"
147841
+ }
147990
147842
  },
147991
147843
  {
147992
147844
  "kind": "method",
147993
- "name": "_handleClick",
147994
- "privacy": "private",
147845
+ "name": "validate",
147846
+ "privacy": "protected",
147995
147847
  "return": {
147996
147848
  "type": {
147997
147849
  "text": "void"
147998
147850
  }
147999
147851
  },
148000
- "parameters": [
148001
- {
148002
- "name": "event",
148003
- "type": {
148004
- "text": "Event"
148005
- }
148006
- }
148007
- ],
148008
- "description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
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
+ }
148009
147857
  },
148010
147858
  {
148011
147859
  "kind": "method",
148012
- "name": "_isGoNextElement",
148013
- "privacy": "private",
147860
+ "name": "shouldValidate",
147861
+ "privacy": "protected",
148014
147862
  "return": {
148015
147863
  "type": {
148016
147864
  "text": "boolean"
@@ -148018,73 +147866,146 @@
148018
147866
  },
148019
147867
  "parameters": [
148020
147868
  {
148021
- "name": "element",
147869
+ "name": "name",
148022
147870
  "type": {
148023
- "text": "HTMLElement"
147871
+ "text": "PropertyKey | undefined"
148024
147872
  }
148025
147873
  }
148026
- ]
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
+ }
148027
147880
  },
148028
147881
  {
148029
147882
  "kind": "method",
148030
- "name": "_isGoPreviousElement",
147883
+ "name": "_setInternalValidity",
148031
147884
  "privacy": "private",
148032
147885
  "return": {
148033
147886
  "type": {
148034
- "text": "boolean"
147887
+ "text": "void"
148035
147888
  }
148036
147889
  },
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.",
148037
147900
  "parameters": [
148038
147901
  {
148039
- "name": "element",
148040
- "type": {
148041
- "text": "HTMLElement"
148042
- }
147902
+ "description": "The origin event.",
147903
+ "name": "event"
148043
147904
  }
148044
- ]
147905
+ ],
147906
+ "inheritedFrom": {
147907
+ "name": "SbbButtonLikeBaseElement",
147908
+ "module": "core/base-elements/button-base-element.js"
147909
+ }
148045
147910
  },
148046
147911
  {
148047
- "kind": "method",
148048
- "name": "_onStepElementResize",
147912
+ "kind": "field",
147913
+ "name": "_removeActiveMarker",
148049
147914
  "privacy": "private",
148050
- "return": {
148051
- "type": {
148052
- "text": "void"
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
+ "parameters": [
147926
+ {
147927
+ "description": "The origin event.",
147928
+ "name": "event"
148053
147929
  }
147930
+ ],
147931
+ "inheritedFrom": {
147932
+ "name": "SbbButtonLikeBaseElement",
147933
+ "module": "core/base-elements/button-base-element.js"
148054
147934
  }
148055
147935
  },
148056
147936
  {
148057
- "kind": "method",
148058
- "name": "_assignLabel",
147937
+ "kind": "field",
147938
+ "name": "_dispatchClickEvent",
148059
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
+ }
147970
+ },
147971
+ {
147972
+ "kind": "method",
147973
+ "name": "setupBaseEventHandlers",
147974
+ "privacy": "protected",
148060
147975
  "return": {
148061
147976
  "type": {
148062
147977
  "text": "void"
148063
147978
  }
147979
+ },
147980
+ "inheritedFrom": {
147981
+ "name": "SbbActionBaseElement",
147982
+ "module": "core/base-elements/action-base-element.js"
148064
147983
  }
148065
147984
  },
148066
147985
  {
148067
- "kind": "field",
148068
- "name": "['_$sbbElement$']",
148069
- "type": {
148070
- "text": "boolean"
147986
+ "kind": "method",
147987
+ "name": "renderTemplate",
147988
+ "privacy": "protected",
147989
+ "return": {
147990
+ "type": {
147991
+ "text": "TemplateResult"
147992
+ }
148071
147993
  },
148072
- "privacy": "public",
148073
- "static": true,
148074
- "default": "true",
147994
+ "description": "Override this method to render the component template.",
148075
147995
  "inheritedFrom": {
148076
- "name": "SbbElement",
148077
- "module": "core/base-elements/element.js"
147996
+ "name": "SbbActionBaseElement",
147997
+ "module": "core/base-elements/action-base-element.js"
148078
147998
  }
148079
147999
  },
148080
148000
  {
148081
148001
  "kind": "field",
148082
- "name": "elementDependencies",
148002
+ "name": "['_$sbbElement$']",
148083
148003
  "type": {
148084
- "text": "SbbElementType[] | undefined"
148004
+ "text": "boolean"
148085
148005
  },
148086
148006
  "privacy": "public",
148087
148007
  "static": true,
148008
+ "default": "true",
148088
148009
  "inheritedFrom": {
148089
148010
  "name": "SbbElement",
148090
148011
  "module": "core/base-elements/element.js"
@@ -148310,30 +148231,109 @@
148310
148231
  }
148311
148232
  }
148312
148233
  ],
148313
- "events": [
148234
+ "mixins": [
148314
148235
  {
148315
- "name": "validate",
148316
- "type": {
148317
- "text": "CustomEvent<SbbStepValidateEventDetails>"
148318
- },
148319
- "description": "The validate event is dispatched when a step change is triggered. Can be canceled to abort the step change."
148236
+ "name": "SbbIconNameMixin",
148237
+ "module": "icon.pure.js"
148238
+ },
148239
+ {
148240
+ "name": "SbbDisabledMixin",
148241
+ "module": "core.js"
148320
148242
  }
148321
148243
  ],
148322
148244
  "superclass": {
148323
- "name": "SbbElement",
148245
+ "name": "SbbButtonBaseElement",
148324
148246
  "module": "core.js"
148325
148247
  },
148326
- "tagName": "sbb-step",
148327
- "customElement": true
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",
148310
+ "inheritedFrom": {
148311
+ "name": "SbbButtonBaseElement",
148312
+ "module": "core/base-elements/button-base-element.js"
148313
+ }
148314
+ },
148315
+ {
148316
+ "name": "name",
148317
+ "description": "Name of the form element. Will be read from name attribute.",
148318
+ "type": {
148319
+ "text": "string"
148320
+ },
148321
+ "fieldName": "name",
148322
+ "inheritedFrom": {
148323
+ "name": "SbbFormAssociatedMixin",
148324
+ "module": "core/mixins/form-associated-mixin.js"
148325
+ }
148326
+ }
148327
+ ]
148328
148328
  }
148329
148329
  ],
148330
148330
  "exports": [
148331
148331
  {
148332
148332
  "kind": "js",
148333
- "name": "SbbStepElement",
148333
+ "name": "SbbStepLabelElement",
148334
148334
  "declaration": {
148335
- "name": "SbbStepElement",
148336
- "module": "stepper/step/step.component.js"
148335
+ "name": "SbbStepLabelElement",
148336
+ "module": "stepper/step-label/step-label.component.js"
148337
148337
  }
148338
148338
  }
148339
148339
  ]