@sbb-esta/lyne-elements-dev 5.0.0-next-dev.1776332244 → 5.0.0-next-dev.1776332654

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 +1297 -1297
  2. package/package.json +2 -2
@@ -42554,12 +42554,12 @@
42554
42554
  },
42555
42555
  {
42556
42556
  "kind": "javascript-module",
42557
- "path": "button/accent-button-link/accent-button-link.component.js",
42557
+ "path": "button/accent-button/accent-button.component.js",
42558
42558
  "declarations": [
42559
42559
  {
42560
42560
  "kind": "class",
42561
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
42562
- "name": "SbbAccentButtonLinkElement",
42561
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
42562
+ "name": "SbbAccentButtonElement",
42563
42563
  "cssProperties": [
42564
42564
  {
42565
42565
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -42569,7 +42569,7 @@
42569
42569
  ],
42570
42570
  "slots": [
42571
42571
  {
42572
- "description": "Use the unnamed slot to add content to the accent-button-link.",
42572
+ "description": "Use the unnamed slot to add content to the accent-button.",
42573
42573
  "name": ""
42574
42574
  },
42575
42575
  {
@@ -42587,7 +42587,7 @@
42587
42587
  "privacy": "public",
42588
42588
  "static": true,
42589
42589
  "readonly": true,
42590
- "default": "'sbb-accent-button-link'",
42590
+ "default": "'sbb-accent-button'",
42591
42591
  "inheritedFrom": {
42592
42592
  "name": "SbbElement",
42593
42593
  "module": "core/base-elements/element.js"
@@ -42798,298 +42798,243 @@
42798
42798
  },
42799
42799
  {
42800
42800
  "kind": "field",
42801
- "name": "href",
42802
- "type": {
42803
- "text": "string"
42804
- },
42805
- "privacy": "public",
42806
- "default": "''",
42807
- "description": "The href value you want to link to.",
42808
- "attribute": "href",
42809
- "reflects": true,
42810
- "inheritedFrom": {
42811
- "name": "SbbLinkBaseElement",
42812
- "module": "core/base-elements/link-base-element.js"
42813
- }
42814
- },
42815
- {
42816
- "kind": "field",
42817
- "name": "target",
42801
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
42818
42802
  "type": {
42819
- "text": "LinkTargetType | string"
42803
+ "text": "array"
42820
42804
  },
42821
- "privacy": "public",
42822
- "default": "''",
42823
- "description": "Where to display the linked URL.",
42824
- "attribute": "target",
42825
- "reflects": true,
42805
+ "privacy": "private",
42806
+ "readonly": true,
42807
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
42826
42808
  "inheritedFrom": {
42827
- "name": "SbbLinkBaseElement",
42828
- "module": "core/base-elements/link-base-element.js"
42809
+ "name": "SbbButtonBaseElement",
42810
+ "module": "core/base-elements/button-base-element.js"
42829
42811
  }
42830
42812
  },
42831
42813
  {
42832
42814
  "kind": "field",
42833
- "name": "rel",
42815
+ "name": "value",
42834
42816
  "type": {
42835
42817
  "text": "string"
42836
42818
  },
42837
42819
  "privacy": "public",
42838
42820
  "default": "''",
42839
- "description": "The relationship of the linked URL as space-separated link types.",
42840
- "attribute": "rel",
42841
- "reflects": true,
42821
+ "description": "Value of the form element.",
42822
+ "attribute": "value",
42842
42823
  "inheritedFrom": {
42843
- "name": "SbbLinkBaseElement",
42844
- "module": "core/base-elements/link-base-element.js"
42824
+ "name": "SbbButtonBaseElement",
42825
+ "module": "core/base-elements/button-base-element.js"
42845
42826
  }
42846
42827
  },
42847
42828
  {
42848
42829
  "kind": "field",
42849
- "name": "download",
42830
+ "name": "type",
42831
+ "privacy": "public",
42832
+ "description": "The type attribute to use for the button.",
42833
+ "default": "'button'",
42850
42834
  "type": {
42851
- "text": "boolean"
42835
+ "text": "SbbButtonType"
42852
42836
  },
42853
- "privacy": "public",
42854
- "default": "false",
42855
- "description": "Whether the browser will show the download dialog on click.",
42856
- "attribute": "download",
42857
- "reflects": true,
42837
+ "attribute": "type",
42858
42838
  "inheritedFrom": {
42859
- "name": "SbbLinkBaseElement",
42860
- "module": "core/base-elements/link-base-element.js"
42839
+ "name": "SbbButtonBaseElement",
42840
+ "module": "core/base-elements/button-base-element.js"
42861
42841
  }
42862
42842
  },
42863
42843
  {
42864
42844
  "kind": "field",
42865
- "name": "accessibilityLabel",
42845
+ "name": "form",
42866
42846
  "type": {
42867
- "text": "string"
42847
+ "text": "HTMLFormElement | null"
42868
42848
  },
42869
42849
  "privacy": "public",
42870
- "default": "''",
42871
- "description": "This will be forwarded as aria-label to the inner anchor element.",
42872
- "attribute": "accessibility-label",
42850
+ "description": "The `<form>` element to associate the button with.",
42851
+ "attribute": "form",
42873
42852
  "inheritedFrom": {
42874
- "name": "SbbLinkBaseElement",
42875
- "module": "core/base-elements/link-base-element.js"
42853
+ "name": "SbbButtonBaseElement",
42854
+ "module": "core/base-elements/button-base-element.js"
42876
42855
  }
42877
42856
  },
42878
42857
  {
42879
42858
  "kind": "field",
42880
- "name": "accessibilityCurrent",
42859
+ "name": "_formId",
42881
42860
  "type": {
42882
42861
  "text": "string"
42883
42862
  },
42884
- "privacy": "public",
42863
+ "privacy": "private",
42885
42864
  "default": "''",
42886
- "description": "This will be forwarded as aria-current to the inner anchor element.",
42887
- "attribute": "accessibility-current",
42888
- "inheritedFrom": {
42889
- "name": "SbbLinkBaseElement",
42890
- "module": "core/base-elements/link-base-element.js"
42891
- }
42892
- },
42893
- {
42894
- "kind": "field",
42895
- "name": "language",
42896
- "privacy": "protected",
42897
- "default": "new SbbLanguageController(this)",
42898
- "inheritedFrom": {
42899
- "name": "SbbLinkBaseElement",
42900
- "module": "core/base-elements/link-base-element.js"
42901
- }
42902
- },
42903
- {
42904
- "kind": "field",
42905
- "name": "anchorRole",
42906
- "type": {
42907
- "text": "string | null"
42908
- },
42909
- "privacy": "protected",
42910
- "readonly": true,
42911
- "default": "null",
42912
42865
  "inheritedFrom": {
42913
- "name": "SbbLinkBaseElement",
42914
- "module": "core/base-elements/link-base-element.js"
42866
+ "name": "SbbButtonBaseElement",
42867
+ "module": "core/base-elements/button-base-element.js"
42915
42868
  }
42916
42869
  },
42917
42870
  {
42918
42871
  "kind": "field",
42919
- "name": "_evaluateRelAttribute",
42872
+ "name": "_handleButtonClick",
42920
42873
  "privacy": "private",
42921
42874
  "inheritedFrom": {
42922
- "name": "SbbLinkBaseElement",
42923
- "module": "core/base-elements/link-base-element.js"
42875
+ "name": "SbbButtonBaseElement",
42876
+ "module": "core/base-elements/button-base-element.js"
42924
42877
  }
42925
42878
  },
42926
42879
  {
42927
42880
  "kind": "method",
42928
- "name": "renderLink",
42929
- "privacy": "protected",
42881
+ "name": "_requestSubmit",
42882
+ "privacy": "private",
42930
42883
  "return": {
42931
42884
  "type": {
42932
- "text": "TemplateResult"
42885
+ "text": "void"
42933
42886
  }
42934
42887
  },
42935
42888
  "parameters": [
42936
42889
  {
42937
- "name": "renderContent",
42890
+ "name": "form",
42938
42891
  "type": {
42939
- "text": "TemplateResult"
42892
+ "text": "HTMLFormElement"
42940
42893
  }
42941
42894
  }
42942
42895
  ],
42943
42896
  "inheritedFrom": {
42944
- "name": "SbbLinkBaseElement",
42945
- "module": "core/base-elements/link-base-element.js"
42897
+ "name": "SbbButtonBaseElement",
42898
+ "module": "core/base-elements/button-base-element.js"
42946
42899
  }
42947
42900
  },
42948
42901
  {
42949
42902
  "kind": "field",
42950
- "name": "maybeDisabled",
42951
- "type": {
42952
- "text": "boolean | undefined"
42953
- },
42954
- "privacy": "protected",
42955
- "readonly": true,
42903
+ "name": "_formKeyDown",
42904
+ "privacy": "private",
42956
42905
  "inheritedFrom": {
42957
- "name": "SbbActionBaseElement",
42958
- "module": "core/base-elements/action-base-element.js"
42906
+ "name": "SbbButtonBaseElement",
42907
+ "module": "core/base-elements/button-base-element.js"
42959
42908
  }
42960
42909
  },
42961
42910
  {
42962
42911
  "kind": "field",
42963
- "name": "maybeDisabledInteractive",
42912
+ "name": "formAssociated",
42964
42913
  "type": {
42965
- "text": "boolean | undefined"
42966
- },
42967
- "privacy": "protected",
42968
- "readonly": true,
42969
- "inheritedFrom": {
42970
- "name": "SbbActionBaseElement",
42971
- "module": "core/base-elements/action-base-element.js"
42972
- }
42973
- },
42974
- {
42975
- "kind": "method",
42976
- "name": "setupBaseEventHandlers",
42977
- "privacy": "protected",
42978
- "return": {
42979
- "type": {
42980
- "text": "void"
42981
- }
42914
+ "text": "boolean"
42982
42915
  },
42916
+ "privacy": "public",
42917
+ "static": true,
42918
+ "default": "true",
42983
42919
  "inheritedFrom": {
42984
- "name": "SbbActionBaseElement",
42985
- "module": "core/base-elements/action-base-element.js"
42920
+ "name": "SbbFormAssociatedMixin",
42921
+ "module": "core/mixins/form-associated-mixin.js"
42986
42922
  }
42987
42923
  },
42988
42924
  {
42989
42925
  "kind": "field",
42990
- "name": "['_$sbbElement$']",
42926
+ "name": "name",
42927
+ "privacy": "public",
42928
+ "description": "Name of the form element. Will be read from name attribute.",
42991
42929
  "type": {
42992
- "text": "boolean"
42930
+ "text": "string"
42993
42931
  },
42994
- "privacy": "public",
42995
- "static": true,
42996
- "default": "true",
42932
+ "attribute": "name",
42997
42933
  "inheritedFrom": {
42998
- "name": "SbbElement",
42999
- "module": "core/base-elements/element.js"
42934
+ "name": "SbbFormAssociatedMixin",
42935
+ "module": "core/mixins/form-associated-mixin.js"
43000
42936
  }
43001
42937
  },
43002
42938
  {
43003
42939
  "kind": "field",
43004
- "name": "role",
42940
+ "name": "validity",
43005
42941
  "type": {
43006
- "text": "ElementInternals['role'] | undefined"
42942
+ "text": "ValidityState"
43007
42943
  },
43008
42944
  "privacy": "public",
43009
- "static": true,
42945
+ "description": "Returns the ValidityState object for this element.",
42946
+ "readonly": true,
43010
42947
  "inheritedFrom": {
43011
- "name": "SbbElement",
43012
- "module": "core/base-elements/element.js"
42948
+ "name": "SbbFormAssociatedMixin",
42949
+ "module": "core/mixins/form-associated-mixin.js"
43013
42950
  }
43014
42951
  },
43015
42952
  {
43016
42953
  "kind": "field",
43017
- "name": "_controllers",
42954
+ "name": "validationMessage",
43018
42955
  "type": {
43019
- "text": "Set<SbbReactiveController> | undefined"
42956
+ "text": "string"
43020
42957
  },
43021
- "privacy": "private",
42958
+ "privacy": "public",
42959
+ "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.",
42960
+ "readonly": true,
43022
42961
  "inheritedFrom": {
43023
- "name": "SbbElement",
43024
- "module": "core/base-elements/element.js"
42962
+ "name": "SbbFormAssociatedMixin",
42963
+ "module": "core/mixins/form-associated-mixin.js"
43025
42964
  }
43026
42965
  },
43027
42966
  {
43028
42967
  "kind": "field",
43029
- "name": "_hydrationRequired",
42968
+ "name": "willValidate",
43030
42969
  "type": {
43031
42970
  "text": "boolean"
43032
42971
  },
43033
- "privacy": "private",
43034
- "default": "!!this.shadowRoot",
42972
+ "privacy": "public",
42973
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
42974
+ "readonly": true,
43035
42975
  "inheritedFrom": {
43036
- "name": "SbbElement",
43037
- "module": "core/base-elements/element.js"
42976
+ "name": "SbbFormAssociatedMixin",
42977
+ "module": "core/mixins/form-associated-mixin.js"
43038
42978
  }
43039
42979
  },
43040
42980
  {
43041
42981
  "kind": "field",
43042
- "name": "_hydrationComplete",
42982
+ "name": "_validityStates",
43043
42983
  "privacy": "private",
43044
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
42984
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
43045
42985
  "inheritedFrom": {
43046
- "name": "SbbElement",
43047
- "module": "core/base-elements/element.js"
42986
+ "name": "SbbFormAssociatedMixin",
42987
+ "module": "core/mixins/form-associated-mixin.js"
43048
42988
  }
43049
42989
  },
43050
42990
  {
43051
42991
  "kind": "field",
43052
- "name": "_resolveHydration",
42992
+ "name": "formDisabled",
43053
42993
  "type": {
43054
- "text": "(hydrationRequired: boolean) => void"
42994
+ "text": "boolean"
43055
42995
  },
43056
- "privacy": "private",
42996
+ "privacy": "protected",
42997
+ "default": "false",
42998
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
43057
42999
  "inheritedFrom": {
43058
- "name": "SbbElement",
43059
- "module": "core/base-elements/element.js"
43000
+ "name": "SbbFormAssociatedMixin",
43001
+ "module": "core/mixins/form-associated-mixin.js"
43060
43002
  }
43061
43003
  },
43062
43004
  {
43063
- "kind": "field",
43064
- "name": "_textObserver",
43065
- "type": {
43066
- "text": "MutationObserver | undefined"
43005
+ "kind": "method",
43006
+ "name": "checkValidity",
43007
+ "privacy": "public",
43008
+ "return": {
43009
+ "type": {
43010
+ "text": "boolean"
43011
+ }
43067
43012
  },
43068
- "privacy": "private",
43013
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
43069
43014
  "inheritedFrom": {
43070
- "name": "SbbElement",
43071
- "module": "core/base-elements/element.js"
43015
+ "name": "SbbFormAssociatedMixin",
43016
+ "module": "core/mixins/form-associated-mixin.js"
43072
43017
  }
43073
43018
  },
43074
43019
  {
43075
- "kind": "field",
43076
- "name": "hydrationRequired",
43077
- "type": {
43078
- "text": "boolean"
43020
+ "kind": "method",
43021
+ "name": "reportValidity",
43022
+ "privacy": "public",
43023
+ "return": {
43024
+ "type": {
43025
+ "text": "boolean"
43026
+ }
43079
43027
  },
43080
- "privacy": "protected",
43081
- "description": "Returns whether hydration is required and not completed.",
43082
- "readonly": true,
43028
+ "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.",
43083
43029
  "inheritedFrom": {
43084
- "name": "SbbElement",
43085
- "module": "core/base-elements/element.js"
43086
- },
43087
- "default": "!!this.shadowRoot"
43030
+ "name": "SbbFormAssociatedMixin",
43031
+ "module": "core/mixins/form-associated-mixin.js"
43032
+ }
43088
43033
  },
43089
43034
  {
43090
43035
  "kind": "method",
43091
- "name": "toggleState",
43092
- "privacy": "protected",
43036
+ "name": "setCustomValidity",
43037
+ "privacy": "public",
43093
43038
  "return": {
43094
43039
  "type": {
43095
43040
  "text": "void"
@@ -43097,56 +43042,65 @@
43097
43042
  },
43098
43043
  "parameters": [
43099
43044
  {
43100
- "name": "value",
43045
+ "name": "message",
43101
43046
  "type": {
43102
43047
  "text": "string"
43103
43048
  }
43104
- },
43105
- {
43106
- "name": "force",
43107
- "optional": true,
43108
- "type": {
43109
- "text": "boolean"
43110
- }
43111
43049
  }
43112
43050
  ],
43051
+ "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.",
43113
43052
  "inheritedFrom": {
43114
- "name": "SbbElement",
43115
- "module": "core/base-elements/element.js"
43053
+ "name": "SbbFormAssociatedMixin",
43054
+ "module": "core/mixins/form-associated-mixin.js"
43116
43055
  }
43117
43056
  },
43118
43057
  {
43119
43058
  "kind": "method",
43120
- "name": "_slotchangeHandler",
43059
+ "name": "_hasDisabledAncestor",
43121
43060
  "privacy": "private",
43061
+ "return": {
43062
+ "type": {
43063
+ "text": "boolean"
43064
+ }
43065
+ },
43066
+ "inheritedFrom": {
43067
+ "name": "SbbFormAssociatedMixin",
43068
+ "module": "core/mixins/form-associated-mixin.js"
43069
+ }
43070
+ },
43071
+ {
43072
+ "kind": "method",
43073
+ "name": "updateFormValue",
43074
+ "privacy": "protected",
43122
43075
  "return": {
43123
43076
  "type": {
43124
43077
  "text": "void"
43125
43078
  }
43126
43079
  },
43127
- "parameters": [
43128
- {
43129
- "name": "event",
43130
- "type": {
43131
- "text": "Event"
43132
- }
43133
- },
43134
- {
43135
- "name": "slot",
43136
- "type": {
43137
- "text": "HTMLSlotElement"
43138
- }
43080
+ "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",
43081
+ "inheritedFrom": {
43082
+ "name": "SbbFormAssociatedMixin",
43083
+ "module": "core/mixins/form-associated-mixin.js"
43084
+ }
43085
+ },
43086
+ {
43087
+ "kind": "method",
43088
+ "name": "formState",
43089
+ "privacy": "protected",
43090
+ "return": {
43091
+ "type": {
43092
+ "text": "FormRestoreState"
43139
43093
  }
43140
- ],
43094
+ },
43141
43095
  "inheritedFrom": {
43142
- "name": "SbbElement",
43143
- "module": "core/base-elements/element.js"
43096
+ "name": "SbbFormAssociatedMixin",
43097
+ "module": "core/mixins/form-associated-mixin.js"
43144
43098
  }
43145
43099
  },
43146
43100
  {
43147
43101
  "kind": "method",
43148
- "name": "_handleSlotChangeForSlottedState",
43149
- "privacy": "private",
43102
+ "name": "setValidityFlag",
43103
+ "privacy": "protected",
43150
43104
  "return": {
43151
43105
  "type": {
43152
43106
  "text": "void"
@@ -43154,21 +43108,35 @@
43154
43108
  },
43155
43109
  "parameters": [
43156
43110
  {
43157
- "name": "slot",
43111
+ "name": "flag",
43158
43112
  "type": {
43159
- "text": "HTMLSlotElement"
43113
+ "text": "T"
43114
+ }
43115
+ },
43116
+ {
43117
+ "name": "message",
43118
+ "type": {
43119
+ "text": "string"
43120
+ }
43121
+ },
43122
+ {
43123
+ "name": "flagValue",
43124
+ "optional": true,
43125
+ "type": {
43126
+ "text": "ValidityStateFlags[T]"
43160
43127
  }
43161
43128
  }
43162
43129
  ],
43130
+ "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).",
43163
43131
  "inheritedFrom": {
43164
- "name": "SbbElement",
43165
- "module": "core/base-elements/element.js"
43132
+ "name": "SbbFormAssociatedMixin",
43133
+ "module": "core/mixins/form-associated-mixin.js"
43166
43134
  }
43167
43135
  },
43168
43136
  {
43169
43137
  "kind": "method",
43170
- "name": "_updateSlottedState",
43171
- "privacy": "private",
43138
+ "name": "removeValidityFlag",
43139
+ "privacy": "protected",
43172
43140
  "return": {
43173
43141
  "type": {
43174
43142
  "text": "void"
@@ -43176,43 +43144,37 @@
43176
43144
  },
43177
43145
  "parameters": [
43178
43146
  {
43179
- "name": "slot",
43147
+ "name": "flag",
43180
43148
  "type": {
43181
- "text": "HTMLSlotElement"
43149
+ "text": "T"
43182
43150
  }
43183
43151
  }
43184
43152
  ],
43153
+ "description": "Removes the validity state flag entry and updates validity state.",
43185
43154
  "inheritedFrom": {
43186
- "name": "SbbElement",
43187
- "module": "core/base-elements/element.js"
43155
+ "name": "SbbFormAssociatedMixin",
43156
+ "module": "core/mixins/form-associated-mixin.js"
43188
43157
  }
43189
43158
  },
43190
43159
  {
43191
43160
  "kind": "method",
43192
- "name": "_observeTextNodesInSlot",
43193
- "privacy": "private",
43161
+ "name": "validate",
43162
+ "privacy": "protected",
43194
43163
  "return": {
43195
43164
  "type": {
43196
43165
  "text": "void"
43197
43166
  }
43198
43167
  },
43199
- "parameters": [
43200
- {
43201
- "name": "slot",
43202
- "type": {
43203
- "text": "HTMLSlotElement"
43204
- }
43205
- }
43206
- ],
43168
+ "description": "To be called whenever the current element needs to be validated.",
43207
43169
  "inheritedFrom": {
43208
- "name": "SbbElement",
43209
- "module": "core/base-elements/element.js"
43170
+ "name": "SbbFormAssociatedMixin",
43171
+ "module": "core/mixins/form-associated-mixin.js"
43210
43172
  }
43211
43173
  },
43212
43174
  {
43213
43175
  "kind": "method",
43214
- "name": "_hasSlottedContent",
43215
- "privacy": "private",
43176
+ "name": "shouldValidate",
43177
+ "privacy": "protected",
43216
43178
  "return": {
43217
43179
  "type": {
43218
43180
  "text": "boolean"
@@ -43220,245 +43182,193 @@
43220
43182
  },
43221
43183
  "parameters": [
43222
43184
  {
43223
- "name": "slot",
43185
+ "name": "name",
43224
43186
  "type": {
43225
- "text": "HTMLSlotElement"
43187
+ "text": "PropertyKey | undefined"
43226
43188
  }
43227
43189
  }
43228
43190
  ],
43191
+ "description": "Whether validation should be run on a property change with the given name.",
43229
43192
  "inheritedFrom": {
43230
- "name": "SbbElement",
43231
- "module": "core/base-elements/element.js"
43193
+ "name": "SbbFormAssociatedMixin",
43194
+ "module": "core/mixins/form-associated-mixin.js"
43232
43195
  }
43233
- }
43234
- ],
43235
- "mixins": [
43236
- {
43237
- "name": "SbbButtonCommonElementMixin",
43238
- "module": "button/common/button-common.js"
43239
- },
43240
- {
43241
- "name": "SbbDisabledInteractiveMixin",
43242
- "module": "core.js"
43243
43196
  },
43244
43197
  {
43245
- "name": "SbbDisabledMixin",
43246
- "module": "core.js"
43247
- }
43248
- ],
43249
- "superclass": {
43250
- "name": "SbbLinkBaseElement",
43251
- "module": "core.js"
43252
- },
43253
- "tagName": "sbb-accent-button-link",
43254
- "customElement": true,
43255
- "attributes": [
43256
- {
43257
- "name": "size",
43258
- "type": {
43259
- "text": "SbbButtonSize"
43198
+ "kind": "method",
43199
+ "name": "_setInternalValidity",
43200
+ "privacy": "private",
43201
+ "return": {
43202
+ "type": {
43203
+ "text": "void"
43204
+ }
43260
43205
  },
43261
- "description": "Size variant, either l, m or s.",
43262
- "default": "'l' / 's' (lean)",
43263
- "fieldName": "size",
43264
43206
  "inheritedFrom": {
43265
- "name": "SbbButtonCommonElementMixin",
43266
- "module": "button/common/button-common.js"
43207
+ "name": "SbbFormAssociatedMixin",
43208
+ "module": "core/mixins/form-associated-mixin.js"
43267
43209
  }
43268
43210
  },
43269
43211
  {
43270
- "name": "loading",
43212
+ "kind": "field",
43213
+ "name": "role",
43271
43214
  "type": {
43272
- "text": "boolean"
43215
+ "text": "ElementInternals['role']"
43273
43216
  },
43274
- "default": "false",
43275
- "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
43276
- "fieldName": "loading",
43217
+ "privacy": "public",
43218
+ "static": true,
43219
+ "readonly": true,
43220
+ "default": "'button'",
43277
43221
  "inheritedFrom": {
43278
- "name": "SbbButtonCommonElementMixin",
43279
- "module": "button/common/button-common.js"
43222
+ "name": "SbbElement",
43223
+ "module": "core/base-elements/element.js"
43280
43224
  }
43281
43225
  },
43282
43226
  {
43283
- "name": "negative",
43284
- "type": {
43285
- "text": "boolean"
43286
- },
43287
- "default": "false",
43288
- "description": "Negative coloring variant flag.",
43289
- "fieldName": "negative",
43227
+ "kind": "field",
43228
+ "name": "_preventScrollOnSpaceKeydown",
43229
+ "privacy": "private",
43230
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
43231
+ "parameters": [
43232
+ {
43233
+ "description": "The origin event.",
43234
+ "name": "event"
43235
+ }
43236
+ ],
43290
43237
  "inheritedFrom": {
43291
- "name": "SbbNegativeMixin",
43292
- "module": "core/mixins/negative-mixin.js"
43238
+ "name": "SbbButtonLikeBaseElement",
43239
+ "module": "core/base-elements/button-base-element.js"
43293
43240
  }
43294
43241
  },
43295
43242
  {
43296
- "name": "icon-name",
43297
- "type": {
43298
- "text": "string"
43299
- },
43300
- "default": "''",
43301
- "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.",
43302
- "fieldName": "iconName",
43243
+ "kind": "field",
43244
+ "name": "_removeActiveMarker",
43245
+ "privacy": "private",
43303
43246
  "inheritedFrom": {
43304
- "name": "SbbIconNameMixin",
43305
- "module": "icon/icon-name-mixin.js"
43247
+ "name": "SbbButtonLikeBaseElement",
43248
+ "module": "core/base-elements/button-base-element.js"
43306
43249
  }
43307
43250
  },
43308
43251
  {
43309
- "name": "disabled-interactive",
43310
- "type": {
43311
- "text": "boolean"
43312
- },
43313
- "default": "false",
43314
- "description": "Whether the button should be aria-disabled but stay interactive.",
43315
- "fieldName": "disabledInteractive",
43252
+ "kind": "field",
43253
+ "name": "_dispatchClickEventOnSpaceKeyup",
43254
+ "privacy": "private",
43255
+ "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.",
43256
+ "parameters": [
43257
+ {
43258
+ "description": "The origin event.",
43259
+ "name": "event"
43260
+ }
43261
+ ],
43316
43262
  "inheritedFrom": {
43317
- "name": "SbbDisabledInteractiveMixin",
43318
- "module": "core/mixins/disabled-mixin.js"
43263
+ "name": "SbbButtonLikeBaseElement",
43264
+ "module": "core/base-elements/button-base-element.js"
43319
43265
  }
43320
43266
  },
43321
43267
  {
43322
- "name": "disabled",
43323
- "description": "Whether the component is disabled.",
43324
- "default": "false",
43325
- "type": {
43326
- "text": "boolean"
43327
- },
43328
- "fieldName": "disabled",
43268
+ "kind": "field",
43269
+ "name": "_dispatchClickEvent",
43270
+ "privacy": "private",
43329
43271
  "inheritedFrom": {
43330
- "name": "SbbDisabledMixin",
43331
- "module": "core/mixins/disabled-mixin.js"
43272
+ "name": "SbbButtonLikeBaseElement",
43273
+ "module": "core/base-elements/button-base-element.js"
43332
43274
  }
43333
43275
  },
43334
43276
  {
43335
- "name": "href",
43277
+ "kind": "field",
43278
+ "name": "maybeDisabled",
43336
43279
  "type": {
43337
- "text": "string"
43280
+ "text": "boolean | undefined"
43338
43281
  },
43339
- "default": "''",
43340
- "description": "The href value you want to link to.",
43341
- "fieldName": "href",
43282
+ "privacy": "protected",
43283
+ "readonly": true,
43342
43284
  "inheritedFrom": {
43343
- "name": "SbbLinkBaseElement",
43344
- "module": "core/base-elements/link-base-element.js"
43285
+ "name": "SbbActionBaseElement",
43286
+ "module": "core/base-elements/action-base-element.js"
43345
43287
  }
43346
43288
  },
43347
43289
  {
43348
- "name": "target",
43290
+ "kind": "field",
43291
+ "name": "maybeDisabledInteractive",
43349
43292
  "type": {
43350
- "text": "LinkTargetType | string"
43293
+ "text": "boolean | undefined"
43351
43294
  },
43352
- "default": "''",
43353
- "description": "Where to display the linked URL.",
43354
- "fieldName": "target",
43295
+ "privacy": "protected",
43296
+ "readonly": true,
43355
43297
  "inheritedFrom": {
43356
- "name": "SbbLinkBaseElement",
43357
- "module": "core/base-elements/link-base-element.js"
43298
+ "name": "SbbActionBaseElement",
43299
+ "module": "core/base-elements/action-base-element.js"
43358
43300
  }
43359
43301
  },
43360
43302
  {
43361
- "name": "rel",
43362
- "type": {
43363
- "text": "string"
43303
+ "kind": "method",
43304
+ "name": "setupBaseEventHandlers",
43305
+ "privacy": "protected",
43306
+ "return": {
43307
+ "type": {
43308
+ "text": "void"
43309
+ }
43364
43310
  },
43365
- "default": "''",
43366
- "description": "The relationship of the linked URL as space-separated link types.",
43367
- "fieldName": "rel",
43368
43311
  "inheritedFrom": {
43369
- "name": "SbbLinkBaseElement",
43370
- "module": "core/base-elements/link-base-element.js"
43312
+ "name": "SbbActionBaseElement",
43313
+ "module": "core/base-elements/action-base-element.js"
43371
43314
  }
43372
43315
  },
43373
43316
  {
43374
- "name": "download",
43317
+ "kind": "field",
43318
+ "name": "['_$sbbElement$']",
43375
43319
  "type": {
43376
43320
  "text": "boolean"
43377
43321
  },
43378
- "default": "false",
43379
- "description": "Whether the browser will show the download dialog on click.",
43380
- "fieldName": "download",
43322
+ "privacy": "public",
43323
+ "static": true,
43324
+ "default": "true",
43381
43325
  "inheritedFrom": {
43382
- "name": "SbbLinkBaseElement",
43383
- "module": "core/base-elements/link-base-element.js"
43326
+ "name": "SbbElement",
43327
+ "module": "core/base-elements/element.js"
43384
43328
  }
43385
43329
  },
43386
43330
  {
43387
- "name": "accessibility-label",
43331
+ "kind": "field",
43332
+ "name": "_controllers",
43388
43333
  "type": {
43389
- "text": "string"
43334
+ "text": "Set<SbbReactiveController> | undefined"
43390
43335
  },
43391
- "default": "''",
43392
- "description": "This will be forwarded as aria-label to the inner anchor element.",
43393
- "fieldName": "accessibilityLabel",
43336
+ "privacy": "private",
43394
43337
  "inheritedFrom": {
43395
- "name": "SbbLinkBaseElement",
43396
- "module": "core/base-elements/link-base-element.js"
43338
+ "name": "SbbElement",
43339
+ "module": "core/base-elements/element.js"
43397
43340
  }
43398
43341
  },
43399
43342
  {
43400
- "name": "accessibility-current",
43343
+ "kind": "field",
43344
+ "name": "_hydrationRequired",
43401
43345
  "type": {
43402
- "text": "string"
43346
+ "text": "boolean"
43403
43347
  },
43404
- "default": "''",
43405
- "description": "This will be forwarded as aria-current to the inner anchor element.",
43406
- "fieldName": "accessibilityCurrent",
43348
+ "privacy": "private",
43349
+ "default": "!!this.shadowRoot",
43407
43350
  "inheritedFrom": {
43408
- "name": "SbbLinkBaseElement",
43409
- "module": "core/base-elements/link-base-element.js"
43351
+ "name": "SbbElement",
43352
+ "module": "core/base-elements/element.js"
43410
43353
  }
43411
- }
43412
- ]
43413
- }
43414
- ],
43415
- "exports": [
43416
- {
43417
- "kind": "js",
43418
- "name": "SbbAccentButtonLinkElement",
43419
- "declaration": {
43420
- "name": "SbbAccentButtonLinkElement",
43421
- "module": "button/accent-button-link/accent-button-link.component.js"
43422
- }
43423
- }
43424
- ]
43425
- },
43426
- {
43427
- "kind": "javascript-module",
43428
- "path": "button/accent-button/accent-button.component.js",
43429
- "declarations": [
43430
- {
43431
- "kind": "class",
43432
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
43433
- "name": "SbbAccentButtonElement",
43434
- "cssProperties": [
43435
- {
43436
- "description": "The delay before the loading animation starts, when setting the button into loading state.",
43437
- "name": "--sbb-button-loading-delay",
43438
- "default": "300ms"
43439
- }
43440
- ],
43441
- "slots": [
43442
- {
43443
- "description": "Use the unnamed slot to add content to the accent-button.",
43444
- "name": ""
43445
43354
  },
43446
43355
  {
43447
- "description": "Slot used to display the icon, if one is set.",
43448
- "name": "icon"
43449
- }
43450
- ],
43451
- "members": [
43356
+ "kind": "field",
43357
+ "name": "_hydrationComplete",
43358
+ "privacy": "private",
43359
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
43360
+ "inheritedFrom": {
43361
+ "name": "SbbElement",
43362
+ "module": "core/base-elements/element.js"
43363
+ }
43364
+ },
43452
43365
  {
43453
43366
  "kind": "field",
43454
- "name": "elementName",
43367
+ "name": "_resolveHydration",
43455
43368
  "type": {
43456
- "text": "string"
43369
+ "text": "(hydrationRequired: boolean) => void"
43457
43370
  },
43458
- "privacy": "public",
43459
- "static": true,
43460
- "readonly": true,
43461
- "default": "'sbb-accent-button'",
43371
+ "privacy": "private",
43462
43372
  "inheritedFrom": {
43463
43373
  "name": "SbbElement",
43464
43374
  "module": "core/base-elements/element.js"
@@ -43466,682 +43376,727 @@
43466
43376
  },
43467
43377
  {
43468
43378
  "kind": "field",
43469
- "name": "size",
43379
+ "name": "_textObserver",
43470
43380
  "type": {
43471
- "text": "SbbButtonSize"
43381
+ "text": "MutationObserver | undefined"
43472
43382
  },
43473
- "privacy": "public",
43474
- "description": "Size variant, either l, m or s.",
43475
- "default": "'l' / 's' (lean)",
43476
- "attribute": "size",
43477
- "reflects": true,
43383
+ "privacy": "private",
43478
43384
  "inheritedFrom": {
43479
- "name": "SbbButtonCommonElementMixin",
43480
- "module": "button/common/button-common.js"
43385
+ "name": "SbbElement",
43386
+ "module": "core/base-elements/element.js"
43481
43387
  }
43482
43388
  },
43483
43389
  {
43484
43390
  "kind": "field",
43485
- "name": "loading",
43391
+ "name": "hydrationRequired",
43486
43392
  "type": {
43487
43393
  "text": "boolean"
43488
43394
  },
43489
- "privacy": "public",
43490
- "default": "false",
43491
- "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
43492
- "attribute": "loading",
43493
- "reflects": true,
43395
+ "privacy": "protected",
43396
+ "description": "Returns whether hydration is required and not completed.",
43397
+ "readonly": true,
43494
43398
  "inheritedFrom": {
43495
- "name": "SbbButtonCommonElementMixin",
43496
- "module": "button/common/button-common.js"
43497
- }
43399
+ "name": "SbbElement",
43400
+ "module": "core/base-elements/element.js"
43401
+ },
43402
+ "default": "!!this.shadowRoot"
43498
43403
  },
43499
43404
  {
43500
43405
  "kind": "method",
43501
- "name": "renderTemplate",
43406
+ "name": "toggleState",
43502
43407
  "privacy": "protected",
43503
43408
  "return": {
43504
43409
  "type": {
43505
- "text": "TemplateResult"
43410
+ "text": "void"
43506
43411
  }
43507
43412
  },
43508
- "description": "Override this method to render the component template.",
43509
- "inheritedFrom": {
43510
- "name": "SbbActionBaseElement",
43511
- "module": "core/base-elements/action-base-element.js"
43512
- }
43513
- },
43514
- {
43515
- "kind": "field",
43516
- "name": "negative",
43517
- "type": {
43518
- "text": "boolean"
43519
- },
43520
- "privacy": "public",
43521
- "default": "false",
43522
- "description": "Negative coloring variant flag.",
43523
- "attribute": "negative",
43524
- "reflects": true,
43413
+ "parameters": [
43414
+ {
43415
+ "name": "value",
43416
+ "type": {
43417
+ "text": "string"
43418
+ }
43419
+ },
43420
+ {
43421
+ "name": "force",
43422
+ "optional": true,
43423
+ "type": {
43424
+ "text": "boolean"
43425
+ }
43426
+ }
43427
+ ],
43525
43428
  "inheritedFrom": {
43526
- "name": "SbbNegativeMixin",
43527
- "module": "core/mixins/negative-mixin.js"
43429
+ "name": "SbbElement",
43430
+ "module": "core/base-elements/element.js"
43528
43431
  }
43529
43432
  },
43530
43433
  {
43531
- "kind": "field",
43532
- "name": "elementDependencies",
43533
- "type": {
43534
- "text": "SbbElementType[]"
43434
+ "kind": "method",
43435
+ "name": "_slotchangeHandler",
43436
+ "privacy": "private",
43437
+ "return": {
43438
+ "type": {
43439
+ "text": "void"
43440
+ }
43535
43441
  },
43536
- "privacy": "public",
43537
- "static": true,
43538
- "default": "[SbbIconElement]",
43442
+ "parameters": [
43443
+ {
43444
+ "name": "event",
43445
+ "type": {
43446
+ "text": "Event"
43447
+ }
43448
+ },
43449
+ {
43450
+ "name": "slot",
43451
+ "type": {
43452
+ "text": "HTMLSlotElement"
43453
+ }
43454
+ }
43455
+ ],
43539
43456
  "inheritedFrom": {
43540
43457
  "name": "SbbElement",
43541
43458
  "module": "core/base-elements/element.js"
43542
43459
  }
43543
43460
  },
43544
43461
  {
43545
- "kind": "field",
43546
- "name": "iconName",
43547
- "type": {
43548
- "text": "string"
43462
+ "kind": "method",
43463
+ "name": "_handleSlotChangeForSlottedState",
43464
+ "privacy": "private",
43465
+ "return": {
43466
+ "type": {
43467
+ "text": "void"
43468
+ }
43549
43469
  },
43550
- "privacy": "public",
43551
- "default": "''",
43552
- "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.",
43553
- "attribute": "icon-name",
43470
+ "parameters": [
43471
+ {
43472
+ "name": "slot",
43473
+ "type": {
43474
+ "text": "HTMLSlotElement"
43475
+ }
43476
+ }
43477
+ ],
43554
43478
  "inheritedFrom": {
43555
- "name": "SbbIconNameMixin",
43556
- "module": "icon/icon-name-mixin.js"
43479
+ "name": "SbbElement",
43480
+ "module": "core/base-elements/element.js"
43557
43481
  }
43558
43482
  },
43559
43483
  {
43560
43484
  "kind": "method",
43561
- "name": "renderIconSlot",
43562
- "privacy": "protected",
43485
+ "name": "_updateSlottedState",
43486
+ "privacy": "private",
43563
43487
  "return": {
43564
43488
  "type": {
43565
- "text": "TemplateResult"
43489
+ "text": "void"
43566
43490
  }
43567
43491
  },
43568
43492
  "parameters": [
43569
43493
  {
43570
- "name": "classname",
43571
- "optional": true,
43494
+ "name": "slot",
43572
43495
  "type": {
43573
- "text": "string"
43496
+ "text": "HTMLSlotElement"
43574
43497
  }
43575
43498
  }
43576
43499
  ],
43577
43500
  "inheritedFrom": {
43578
- "name": "SbbIconNameMixin",
43579
- "module": "icon/icon-name-mixin.js"
43501
+ "name": "SbbElement",
43502
+ "module": "core/base-elements/element.js"
43580
43503
  }
43581
43504
  },
43582
43505
  {
43583
43506
  "kind": "method",
43584
- "name": "renderIconName",
43585
- "privacy": "protected",
43507
+ "name": "_observeTextNodesInSlot",
43508
+ "privacy": "private",
43586
43509
  "return": {
43587
43510
  "type": {
43588
- "text": "string"
43511
+ "text": "void"
43589
43512
  }
43590
43513
  },
43514
+ "parameters": [
43515
+ {
43516
+ "name": "slot",
43517
+ "type": {
43518
+ "text": "HTMLSlotElement"
43519
+ }
43520
+ }
43521
+ ],
43591
43522
  "inheritedFrom": {
43592
- "name": "SbbIconNameMixin",
43593
- "module": "icon/icon-name-mixin.js"
43523
+ "name": "SbbElement",
43524
+ "module": "core/base-elements/element.js"
43594
43525
  }
43595
43526
  },
43596
43527
  {
43597
43528
  "kind": "method",
43598
- "name": "_renderIconName",
43529
+ "name": "_hasSlottedContent",
43599
43530
  "privacy": "private",
43600
43531
  "return": {
43601
43532
  "type": {
43602
- "text": "string"
43533
+ "text": "boolean"
43603
43534
  }
43604
43535
  },
43536
+ "parameters": [
43537
+ {
43538
+ "name": "slot",
43539
+ "type": {
43540
+ "text": "HTMLSlotElement"
43541
+ }
43542
+ }
43543
+ ],
43605
43544
  "inheritedFrom": {
43606
- "name": "SbbIconNameMixin",
43607
- "module": "icon/icon-name-mixin.js"
43545
+ "name": "SbbElement",
43546
+ "module": "core/base-elements/element.js"
43608
43547
  }
43548
+ }
43549
+ ],
43550
+ "mixins": [
43551
+ {
43552
+ "name": "SbbButtonCommonElementMixin",
43553
+ "module": "button/common/button-common.js"
43609
43554
  },
43610
43555
  {
43611
- "kind": "field",
43612
- "name": "disabledInteractive",
43556
+ "name": "SbbDisabledTabIndexActionMixin",
43557
+ "module": "core.js"
43558
+ }
43559
+ ],
43560
+ "superclass": {
43561
+ "name": "SbbButtonBaseElement",
43562
+ "module": "core.js"
43563
+ },
43564
+ "tagName": "sbb-accent-button",
43565
+ "customElement": true,
43566
+ "attributes": [
43567
+ {
43568
+ "name": "size",
43613
43569
  "type": {
43614
- "text": "boolean"
43570
+ "text": "SbbButtonSize"
43615
43571
  },
43616
- "privacy": "public",
43617
- "default": "false",
43618
- "description": "Whether the button should be aria-disabled but stay interactive.",
43619
- "attribute": "disabled-interactive",
43620
- "reflects": true,
43572
+ "description": "Size variant, either l, m or s.",
43573
+ "default": "'l' / 's' (lean)",
43574
+ "fieldName": "size",
43621
43575
  "inheritedFrom": {
43622
- "name": "SbbDisabledInteractiveMixin",
43623
- "module": "core/mixins/disabled-mixin.js"
43576
+ "name": "SbbButtonCommonElementMixin",
43577
+ "module": "button/common/button-common.js"
43624
43578
  }
43625
43579
  },
43626
43580
  {
43627
- "kind": "field",
43628
- "name": "disabled",
43629
- "privacy": "public",
43630
- "description": "Whether the component is disabled.",
43631
- "default": "false",
43581
+ "name": "loading",
43632
43582
  "type": {
43633
43583
  "text": "boolean"
43634
43584
  },
43635
- "attribute": "disabled",
43636
- "reflects": true,
43585
+ "default": "false",
43586
+ "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
43587
+ "fieldName": "loading",
43637
43588
  "inheritedFrom": {
43638
- "name": "SbbDisabledMixin",
43639
- "module": "core/mixins/disabled-mixin.js"
43589
+ "name": "SbbButtonCommonElementMixin",
43590
+ "module": "button/common/button-common.js"
43640
43591
  }
43641
43592
  },
43642
43593
  {
43643
- "kind": "field",
43644
- "name": "#disabled",
43645
- "privacy": "private",
43594
+ "name": "negative",
43646
43595
  "type": {
43647
43596
  "text": "boolean"
43648
43597
  },
43649
43598
  "default": "false",
43599
+ "description": "Negative coloring variant flag.",
43600
+ "fieldName": "negative",
43650
43601
  "inheritedFrom": {
43651
- "name": "SbbDisabledMixin",
43652
- "module": "core/mixins/disabled-mixin.js"
43602
+ "name": "SbbNegativeMixin",
43603
+ "module": "core/mixins/negative-mixin.js"
43653
43604
  }
43654
43605
  },
43655
43606
  {
43656
- "kind": "method",
43657
- "name": "isDisabledExternally",
43658
- "privacy": "protected",
43659
- "return": {
43660
- "type": {
43661
- "text": "boolean"
43662
- }
43607
+ "name": "icon-name",
43608
+ "type": {
43609
+ "text": "string"
43663
43610
  },
43664
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
43611
+ "default": "''",
43612
+ "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.",
43613
+ "fieldName": "iconName",
43665
43614
  "inheritedFrom": {
43666
- "name": "SbbDisabledMixin",
43615
+ "name": "SbbIconNameMixin",
43616
+ "module": "icon/icon-name-mixin.js"
43617
+ }
43618
+ },
43619
+ {
43620
+ "name": "disabled-interactive",
43621
+ "type": {
43622
+ "text": "boolean"
43623
+ },
43624
+ "default": "false",
43625
+ "description": "Whether the button should be aria-disabled but stay interactive.",
43626
+ "fieldName": "disabledInteractive",
43627
+ "inheritedFrom": {
43628
+ "name": "SbbDisabledInteractiveMixin",
43667
43629
  "module": "core/mixins/disabled-mixin.js"
43668
43630
  }
43669
43631
  },
43670
43632
  {
43671
- "kind": "field",
43672
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
43633
+ "name": "disabled",
43634
+ "description": "Whether the component is disabled.",
43635
+ "default": "false",
43673
43636
  "type": {
43674
- "text": "array"
43637
+ "text": "boolean"
43675
43638
  },
43676
- "privacy": "private",
43677
- "readonly": true,
43678
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
43639
+ "fieldName": "disabled",
43679
43640
  "inheritedFrom": {
43680
- "name": "SbbButtonBaseElement",
43681
- "module": "core/base-elements/button-base-element.js"
43641
+ "name": "SbbDisabledMixin",
43642
+ "module": "core/mixins/disabled-mixin.js"
43682
43643
  }
43683
43644
  },
43684
43645
  {
43685
- "kind": "field",
43686
43646
  "name": "value",
43687
43647
  "type": {
43688
43648
  "text": "string"
43689
43649
  },
43690
- "privacy": "public",
43691
43650
  "default": "''",
43692
43651
  "description": "Value of the form element.",
43693
- "attribute": "value",
43652
+ "fieldName": "value",
43694
43653
  "inheritedFrom": {
43695
43654
  "name": "SbbButtonBaseElement",
43696
43655
  "module": "core/base-elements/button-base-element.js"
43697
43656
  }
43698
43657
  },
43699
43658
  {
43700
- "kind": "field",
43701
43659
  "name": "type",
43702
- "privacy": "public",
43703
43660
  "description": "The type attribute to use for the button.",
43704
43661
  "default": "'button'",
43705
43662
  "type": {
43706
43663
  "text": "SbbButtonType"
43707
43664
  },
43708
- "attribute": "type",
43665
+ "fieldName": "type",
43709
43666
  "inheritedFrom": {
43710
43667
  "name": "SbbButtonBaseElement",
43711
43668
  "module": "core/base-elements/button-base-element.js"
43712
43669
  }
43713
43670
  },
43714
43671
  {
43715
- "kind": "field",
43716
43672
  "name": "form",
43673
+ "description": "The `<form>` element to associate the button with.",
43717
43674
  "type": {
43718
43675
  "text": "HTMLFormElement | null"
43719
43676
  },
43720
- "privacy": "public",
43721
- "description": "The `<form>` element to associate the button with.",
43722
- "attribute": "form",
43677
+ "fieldName": "form",
43723
43678
  "inheritedFrom": {
43724
43679
  "name": "SbbButtonBaseElement",
43725
43680
  "module": "core/base-elements/button-base-element.js"
43726
43681
  }
43727
43682
  },
43728
43683
  {
43729
- "kind": "field",
43730
- "name": "_formId",
43684
+ "name": "name",
43685
+ "description": "Name of the form element. Will be read from name attribute.",
43731
43686
  "type": {
43732
43687
  "text": "string"
43733
43688
  },
43734
- "privacy": "private",
43735
- "default": "''",
43689
+ "fieldName": "name",
43736
43690
  "inheritedFrom": {
43737
- "name": "SbbButtonBaseElement",
43738
- "module": "core/base-elements/button-base-element.js"
43691
+ "name": "SbbFormAssociatedMixin",
43692
+ "module": "core/mixins/form-associated-mixin.js"
43739
43693
  }
43740
- },
43694
+ }
43695
+ ]
43696
+ }
43697
+ ],
43698
+ "exports": [
43699
+ {
43700
+ "kind": "js",
43701
+ "name": "SbbAccentButtonElement",
43702
+ "declaration": {
43703
+ "name": "SbbAccentButtonElement",
43704
+ "module": "button/accent-button/accent-button.component.js"
43705
+ }
43706
+ }
43707
+ ]
43708
+ },
43709
+ {
43710
+ "kind": "javascript-module",
43711
+ "path": "button/accent-button-link/accent-button-link.component.js",
43712
+ "declarations": [
43713
+ {
43714
+ "kind": "class",
43715
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
43716
+ "name": "SbbAccentButtonLinkElement",
43717
+ "cssProperties": [
43741
43718
  {
43742
- "kind": "field",
43743
- "name": "_handleButtonClick",
43744
- "privacy": "private",
43745
- "inheritedFrom": {
43746
- "name": "SbbButtonBaseElement",
43747
- "module": "core/base-elements/button-base-element.js"
43748
- }
43749
- },
43719
+ "description": "The delay before the loading animation starts, when setting the button into loading state.",
43720
+ "name": "--sbb-button-loading-delay",
43721
+ "default": "300ms"
43722
+ }
43723
+ ],
43724
+ "slots": [
43750
43725
  {
43751
- "kind": "method",
43752
- "name": "_requestSubmit",
43753
- "privacy": "private",
43754
- "return": {
43755
- "type": {
43756
- "text": "void"
43757
- }
43758
- },
43759
- "parameters": [
43760
- {
43761
- "name": "form",
43762
- "type": {
43763
- "text": "HTMLFormElement"
43764
- }
43765
- }
43766
- ],
43767
- "inheritedFrom": {
43768
- "name": "SbbButtonBaseElement",
43769
- "module": "core/base-elements/button-base-element.js"
43770
- }
43726
+ "description": "Use the unnamed slot to add content to the accent-button-link.",
43727
+ "name": ""
43771
43728
  },
43772
43729
  {
43773
- "kind": "field",
43774
- "name": "_formKeyDown",
43775
- "privacy": "private",
43776
- "inheritedFrom": {
43777
- "name": "SbbButtonBaseElement",
43778
- "module": "core/base-elements/button-base-element.js"
43779
- }
43780
- },
43730
+ "description": "Slot used to display the icon, if one is set.",
43731
+ "name": "icon"
43732
+ }
43733
+ ],
43734
+ "members": [
43781
43735
  {
43782
43736
  "kind": "field",
43783
- "name": "formAssociated",
43737
+ "name": "elementName",
43784
43738
  "type": {
43785
- "text": "boolean"
43739
+ "text": "string"
43786
43740
  },
43787
43741
  "privacy": "public",
43788
43742
  "static": true,
43789
- "default": "true",
43743
+ "readonly": true,
43744
+ "default": "'sbb-accent-button-link'",
43790
43745
  "inheritedFrom": {
43791
- "name": "SbbFormAssociatedMixin",
43792
- "module": "core/mixins/form-associated-mixin.js"
43746
+ "name": "SbbElement",
43747
+ "module": "core/base-elements/element.js"
43793
43748
  }
43794
43749
  },
43795
43750
  {
43796
43751
  "kind": "field",
43797
- "name": "name",
43798
- "privacy": "public",
43799
- "description": "Name of the form element. Will be read from name attribute.",
43752
+ "name": "size",
43800
43753
  "type": {
43801
- "text": "string"
43754
+ "text": "SbbButtonSize"
43802
43755
  },
43803
- "attribute": "name",
43756
+ "privacy": "public",
43757
+ "description": "Size variant, either l, m or s.",
43758
+ "default": "'l' / 's' (lean)",
43759
+ "attribute": "size",
43760
+ "reflects": true,
43804
43761
  "inheritedFrom": {
43805
- "name": "SbbFormAssociatedMixin",
43806
- "module": "core/mixins/form-associated-mixin.js"
43762
+ "name": "SbbButtonCommonElementMixin",
43763
+ "module": "button/common/button-common.js"
43807
43764
  }
43808
43765
  },
43809
43766
  {
43810
43767
  "kind": "field",
43811
- "name": "validity",
43768
+ "name": "loading",
43812
43769
  "type": {
43813
- "text": "ValidityState"
43770
+ "text": "boolean"
43814
43771
  },
43815
43772
  "privacy": "public",
43816
- "description": "Returns the ValidityState object for this element.",
43817
- "readonly": true,
43773
+ "default": "false",
43774
+ "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
43775
+ "attribute": "loading",
43776
+ "reflects": true,
43818
43777
  "inheritedFrom": {
43819
- "name": "SbbFormAssociatedMixin",
43820
- "module": "core/mixins/form-associated-mixin.js"
43778
+ "name": "SbbButtonCommonElementMixin",
43779
+ "module": "button/common/button-common.js"
43821
43780
  }
43822
43781
  },
43823
43782
  {
43824
- "kind": "field",
43825
- "name": "validationMessage",
43826
- "type": {
43827
- "text": "string"
43783
+ "kind": "method",
43784
+ "name": "renderTemplate",
43785
+ "privacy": "protected",
43786
+ "return": {
43787
+ "type": {
43788
+ "text": "TemplateResult"
43789
+ }
43828
43790
  },
43829
- "privacy": "public",
43830
- "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.",
43831
- "readonly": true,
43791
+ "description": "Override this method to render the component template.",
43832
43792
  "inheritedFrom": {
43833
- "name": "SbbFormAssociatedMixin",
43834
- "module": "core/mixins/form-associated-mixin.js"
43793
+ "name": "SbbActionBaseElement",
43794
+ "module": "core/base-elements/action-base-element.js"
43835
43795
  }
43836
43796
  },
43837
43797
  {
43838
43798
  "kind": "field",
43839
- "name": "willValidate",
43799
+ "name": "negative",
43840
43800
  "type": {
43841
43801
  "text": "boolean"
43842
43802
  },
43843
43803
  "privacy": "public",
43844
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
43845
- "readonly": true,
43804
+ "default": "false",
43805
+ "description": "Negative coloring variant flag.",
43806
+ "attribute": "negative",
43807
+ "reflects": true,
43846
43808
  "inheritedFrom": {
43847
- "name": "SbbFormAssociatedMixin",
43848
- "module": "core/mixins/form-associated-mixin.js"
43809
+ "name": "SbbNegativeMixin",
43810
+ "module": "core/mixins/negative-mixin.js"
43849
43811
  }
43850
43812
  },
43851
43813
  {
43852
43814
  "kind": "field",
43853
- "name": "_validityStates",
43854
- "privacy": "private",
43855
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
43815
+ "name": "elementDependencies",
43816
+ "type": {
43817
+ "text": "SbbElementType[]"
43818
+ },
43819
+ "privacy": "public",
43820
+ "static": true,
43821
+ "default": "[SbbIconElement]",
43856
43822
  "inheritedFrom": {
43857
- "name": "SbbFormAssociatedMixin",
43858
- "module": "core/mixins/form-associated-mixin.js"
43823
+ "name": "SbbElement",
43824
+ "module": "core/base-elements/element.js"
43859
43825
  }
43860
43826
  },
43861
43827
  {
43862
43828
  "kind": "field",
43863
- "name": "formDisabled",
43829
+ "name": "iconName",
43864
43830
  "type": {
43865
- "text": "boolean"
43831
+ "text": "string"
43866
43832
  },
43867
- "privacy": "protected",
43868
- "default": "false",
43869
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
43833
+ "privacy": "public",
43834
+ "default": "''",
43835
+ "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.",
43836
+ "attribute": "icon-name",
43870
43837
  "inheritedFrom": {
43871
- "name": "SbbFormAssociatedMixin",
43872
- "module": "core/mixins/form-associated-mixin.js"
43838
+ "name": "SbbIconNameMixin",
43839
+ "module": "icon/icon-name-mixin.js"
43873
43840
  }
43874
43841
  },
43875
43842
  {
43876
43843
  "kind": "method",
43877
- "name": "checkValidity",
43878
- "privacy": "public",
43844
+ "name": "renderIconSlot",
43845
+ "privacy": "protected",
43879
43846
  "return": {
43880
43847
  "type": {
43881
- "text": "boolean"
43848
+ "text": "TemplateResult"
43882
43849
  }
43883
43850
  },
43884
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
43851
+ "parameters": [
43852
+ {
43853
+ "name": "classname",
43854
+ "optional": true,
43855
+ "type": {
43856
+ "text": "string"
43857
+ }
43858
+ }
43859
+ ],
43885
43860
  "inheritedFrom": {
43886
- "name": "SbbFormAssociatedMixin",
43887
- "module": "core/mixins/form-associated-mixin.js"
43861
+ "name": "SbbIconNameMixin",
43862
+ "module": "icon/icon-name-mixin.js"
43888
43863
  }
43889
43864
  },
43890
43865
  {
43891
43866
  "kind": "method",
43892
- "name": "reportValidity",
43893
- "privacy": "public",
43867
+ "name": "renderIconName",
43868
+ "privacy": "protected",
43894
43869
  "return": {
43895
43870
  "type": {
43896
- "text": "boolean"
43871
+ "text": "string"
43897
43872
  }
43898
43873
  },
43899
- "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.",
43900
43874
  "inheritedFrom": {
43901
- "name": "SbbFormAssociatedMixin",
43902
- "module": "core/mixins/form-associated-mixin.js"
43875
+ "name": "SbbIconNameMixin",
43876
+ "module": "icon/icon-name-mixin.js"
43903
43877
  }
43904
43878
  },
43905
43879
  {
43906
43880
  "kind": "method",
43907
- "name": "setCustomValidity",
43908
- "privacy": "public",
43881
+ "name": "_renderIconName",
43882
+ "privacy": "private",
43909
43883
  "return": {
43910
43884
  "type": {
43911
- "text": "void"
43885
+ "text": "string"
43912
43886
  }
43913
43887
  },
43914
- "parameters": [
43915
- {
43916
- "name": "message",
43917
- "type": {
43918
- "text": "string"
43919
- }
43920
- }
43921
- ],
43922
- "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.",
43923
43888
  "inheritedFrom": {
43924
- "name": "SbbFormAssociatedMixin",
43925
- "module": "core/mixins/form-associated-mixin.js"
43889
+ "name": "SbbIconNameMixin",
43890
+ "module": "icon/icon-name-mixin.js"
43926
43891
  }
43927
43892
  },
43928
43893
  {
43929
- "kind": "method",
43930
- "name": "_hasDisabledAncestor",
43931
- "privacy": "private",
43932
- "return": {
43933
- "type": {
43934
- "text": "boolean"
43935
- }
43894
+ "kind": "field",
43895
+ "name": "disabledInteractive",
43896
+ "type": {
43897
+ "text": "boolean"
43936
43898
  },
43899
+ "privacy": "public",
43900
+ "default": "false",
43901
+ "description": "Whether the button should be aria-disabled but stay interactive.",
43902
+ "attribute": "disabled-interactive",
43903
+ "reflects": true,
43937
43904
  "inheritedFrom": {
43938
- "name": "SbbFormAssociatedMixin",
43939
- "module": "core/mixins/form-associated-mixin.js"
43905
+ "name": "SbbDisabledInteractiveMixin",
43906
+ "module": "core/mixins/disabled-mixin.js"
43940
43907
  }
43941
43908
  },
43942
43909
  {
43943
- "kind": "method",
43944
- "name": "updateFormValue",
43945
- "privacy": "protected",
43946
- "return": {
43947
- "type": {
43948
- "text": "void"
43949
- }
43910
+ "kind": "field",
43911
+ "name": "disabled",
43912
+ "privacy": "public",
43913
+ "description": "Whether the component is disabled.",
43914
+ "default": "false",
43915
+ "type": {
43916
+ "text": "boolean"
43950
43917
  },
43951
- "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",
43918
+ "attribute": "disabled",
43919
+ "reflects": true,
43952
43920
  "inheritedFrom": {
43953
- "name": "SbbFormAssociatedMixin",
43954
- "module": "core/mixins/form-associated-mixin.js"
43921
+ "name": "SbbDisabledMixin",
43922
+ "module": "core/mixins/disabled-mixin.js"
43955
43923
  }
43956
43924
  },
43957
43925
  {
43958
- "kind": "method",
43959
- "name": "formState",
43960
- "privacy": "protected",
43961
- "return": {
43962
- "type": {
43963
- "text": "FormRestoreState"
43964
- }
43926
+ "kind": "field",
43927
+ "name": "#disabled",
43928
+ "privacy": "private",
43929
+ "type": {
43930
+ "text": "boolean"
43965
43931
  },
43932
+ "default": "false",
43966
43933
  "inheritedFrom": {
43967
- "name": "SbbFormAssociatedMixin",
43968
- "module": "core/mixins/form-associated-mixin.js"
43934
+ "name": "SbbDisabledMixin",
43935
+ "module": "core/mixins/disabled-mixin.js"
43969
43936
  }
43970
43937
  },
43971
43938
  {
43972
43939
  "kind": "method",
43973
- "name": "setValidityFlag",
43940
+ "name": "isDisabledExternally",
43974
43941
  "privacy": "protected",
43975
43942
  "return": {
43976
43943
  "type": {
43977
- "text": "void"
43944
+ "text": "boolean"
43978
43945
  }
43979
43946
  },
43980
- "parameters": [
43981
- {
43982
- "name": "flag",
43983
- "type": {
43984
- "text": "T"
43985
- }
43986
- },
43987
- {
43988
- "name": "message",
43989
- "type": {
43990
- "text": "string"
43991
- }
43992
- },
43993
- {
43994
- "name": "flagValue",
43995
- "optional": true,
43996
- "type": {
43997
- "text": "ValidityStateFlags[T]"
43998
- }
43999
- }
44000
- ],
44001
- "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).",
43947
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
43948
+ "inheritedFrom": {
43949
+ "name": "SbbDisabledMixin",
43950
+ "module": "core/mixins/disabled-mixin.js"
43951
+ }
43952
+ },
43953
+ {
43954
+ "kind": "field",
43955
+ "name": "href",
43956
+ "type": {
43957
+ "text": "string"
43958
+ },
43959
+ "privacy": "public",
43960
+ "default": "''",
43961
+ "description": "The href value you want to link to.",
43962
+ "attribute": "href",
43963
+ "reflects": true,
44002
43964
  "inheritedFrom": {
44003
- "name": "SbbFormAssociatedMixin",
44004
- "module": "core/mixins/form-associated-mixin.js"
43965
+ "name": "SbbLinkBaseElement",
43966
+ "module": "core/base-elements/link-base-element.js"
44005
43967
  }
44006
43968
  },
44007
43969
  {
44008
- "kind": "method",
44009
- "name": "removeValidityFlag",
44010
- "privacy": "protected",
44011
- "return": {
44012
- "type": {
44013
- "text": "void"
44014
- }
43970
+ "kind": "field",
43971
+ "name": "target",
43972
+ "type": {
43973
+ "text": "LinkTargetType | string"
44015
43974
  },
44016
- "parameters": [
44017
- {
44018
- "name": "flag",
44019
- "type": {
44020
- "text": "T"
44021
- }
44022
- }
44023
- ],
44024
- "description": "Removes the validity state flag entry and updates validity state.",
43975
+ "privacy": "public",
43976
+ "default": "''",
43977
+ "description": "Where to display the linked URL.",
43978
+ "attribute": "target",
43979
+ "reflects": true,
44025
43980
  "inheritedFrom": {
44026
- "name": "SbbFormAssociatedMixin",
44027
- "module": "core/mixins/form-associated-mixin.js"
43981
+ "name": "SbbLinkBaseElement",
43982
+ "module": "core/base-elements/link-base-element.js"
44028
43983
  }
44029
43984
  },
44030
43985
  {
44031
- "kind": "method",
44032
- "name": "validate",
44033
- "privacy": "protected",
44034
- "return": {
44035
- "type": {
44036
- "text": "void"
44037
- }
43986
+ "kind": "field",
43987
+ "name": "rel",
43988
+ "type": {
43989
+ "text": "string"
44038
43990
  },
44039
- "description": "To be called whenever the current element needs to be validated.",
43991
+ "privacy": "public",
43992
+ "default": "''",
43993
+ "description": "The relationship of the linked URL as space-separated link types.",
43994
+ "attribute": "rel",
43995
+ "reflects": true,
44040
43996
  "inheritedFrom": {
44041
- "name": "SbbFormAssociatedMixin",
44042
- "module": "core/mixins/form-associated-mixin.js"
43997
+ "name": "SbbLinkBaseElement",
43998
+ "module": "core/base-elements/link-base-element.js"
44043
43999
  }
44044
44000
  },
44045
44001
  {
44046
- "kind": "method",
44047
- "name": "shouldValidate",
44048
- "privacy": "protected",
44049
- "return": {
44050
- "type": {
44051
- "text": "boolean"
44052
- }
44002
+ "kind": "field",
44003
+ "name": "download",
44004
+ "type": {
44005
+ "text": "boolean"
44053
44006
  },
44054
- "parameters": [
44055
- {
44056
- "name": "name",
44057
- "type": {
44058
- "text": "PropertyKey | undefined"
44059
- }
44060
- }
44061
- ],
44062
- "description": "Whether validation should be run on a property change with the given name.",
44007
+ "privacy": "public",
44008
+ "default": "false",
44009
+ "description": "Whether the browser will show the download dialog on click.",
44010
+ "attribute": "download",
44011
+ "reflects": true,
44063
44012
  "inheritedFrom": {
44064
- "name": "SbbFormAssociatedMixin",
44065
- "module": "core/mixins/form-associated-mixin.js"
44013
+ "name": "SbbLinkBaseElement",
44014
+ "module": "core/base-elements/link-base-element.js"
44066
44015
  }
44067
44016
  },
44068
44017
  {
44069
- "kind": "method",
44070
- "name": "_setInternalValidity",
44071
- "privacy": "private",
44072
- "return": {
44073
- "type": {
44074
- "text": "void"
44075
- }
44018
+ "kind": "field",
44019
+ "name": "accessibilityLabel",
44020
+ "type": {
44021
+ "text": "string"
44076
44022
  },
44023
+ "privacy": "public",
44024
+ "default": "''",
44025
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
44026
+ "attribute": "accessibility-label",
44077
44027
  "inheritedFrom": {
44078
- "name": "SbbFormAssociatedMixin",
44079
- "module": "core/mixins/form-associated-mixin.js"
44028
+ "name": "SbbLinkBaseElement",
44029
+ "module": "core/base-elements/link-base-element.js"
44080
44030
  }
44081
44031
  },
44082
44032
  {
44083
44033
  "kind": "field",
44084
- "name": "role",
44034
+ "name": "accessibilityCurrent",
44085
44035
  "type": {
44086
- "text": "ElementInternals['role']"
44036
+ "text": "string"
44087
44037
  },
44088
44038
  "privacy": "public",
44089
- "static": true,
44090
- "readonly": true,
44091
- "default": "'button'",
44039
+ "default": "''",
44040
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
44041
+ "attribute": "accessibility-current",
44092
44042
  "inheritedFrom": {
44093
- "name": "SbbElement",
44094
- "module": "core/base-elements/element.js"
44043
+ "name": "SbbLinkBaseElement",
44044
+ "module": "core/base-elements/link-base-element.js"
44095
44045
  }
44096
44046
  },
44097
44047
  {
44098
44048
  "kind": "field",
44099
- "name": "_preventScrollOnSpaceKeydown",
44100
- "privacy": "private",
44101
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
44102
- "parameters": [
44103
- {
44104
- "description": "The origin event.",
44105
- "name": "event"
44106
- }
44107
- ],
44049
+ "name": "language",
44050
+ "privacy": "protected",
44051
+ "default": "new SbbLanguageController(this)",
44108
44052
  "inheritedFrom": {
44109
- "name": "SbbButtonLikeBaseElement",
44110
- "module": "core/base-elements/button-base-element.js"
44053
+ "name": "SbbLinkBaseElement",
44054
+ "module": "core/base-elements/link-base-element.js"
44111
44055
  }
44112
44056
  },
44113
44057
  {
44114
44058
  "kind": "field",
44115
- "name": "_removeActiveMarker",
44116
- "privacy": "private",
44059
+ "name": "anchorRole",
44060
+ "type": {
44061
+ "text": "string | null"
44062
+ },
44063
+ "privacy": "protected",
44064
+ "readonly": true,
44065
+ "default": "null",
44117
44066
  "inheritedFrom": {
44118
- "name": "SbbButtonLikeBaseElement",
44119
- "module": "core/base-elements/button-base-element.js"
44067
+ "name": "SbbLinkBaseElement",
44068
+ "module": "core/base-elements/link-base-element.js"
44120
44069
  }
44121
44070
  },
44122
44071
  {
44123
44072
  "kind": "field",
44124
- "name": "_dispatchClickEventOnSpaceKeyup",
44073
+ "name": "_evaluateRelAttribute",
44125
44074
  "privacy": "private",
44126
- "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.",
44127
- "parameters": [
44128
- {
44129
- "description": "The origin event.",
44130
- "name": "event"
44131
- }
44132
- ],
44133
44075
  "inheritedFrom": {
44134
- "name": "SbbButtonLikeBaseElement",
44135
- "module": "core/base-elements/button-base-element.js"
44076
+ "name": "SbbLinkBaseElement",
44077
+ "module": "core/base-elements/link-base-element.js"
44136
44078
  }
44137
44079
  },
44138
44080
  {
44139
- "kind": "field",
44140
- "name": "_dispatchClickEvent",
44141
- "privacy": "private",
44081
+ "kind": "method",
44082
+ "name": "renderLink",
44083
+ "privacy": "protected",
44084
+ "return": {
44085
+ "type": {
44086
+ "text": "TemplateResult"
44087
+ }
44088
+ },
44089
+ "parameters": [
44090
+ {
44091
+ "name": "renderContent",
44092
+ "type": {
44093
+ "text": "TemplateResult"
44094
+ }
44095
+ }
44096
+ ],
44142
44097
  "inheritedFrom": {
44143
- "name": "SbbButtonLikeBaseElement",
44144
- "module": "core/base-elements/button-base-element.js"
44098
+ "name": "SbbLinkBaseElement",
44099
+ "module": "core/base-elements/link-base-element.js"
44145
44100
  }
44146
44101
  },
44147
44102
  {
@@ -44198,6 +44153,19 @@
44198
44153
  "module": "core/base-elements/element.js"
44199
44154
  }
44200
44155
  },
44156
+ {
44157
+ "kind": "field",
44158
+ "name": "role",
44159
+ "type": {
44160
+ "text": "ElementInternals['role'] | undefined"
44161
+ },
44162
+ "privacy": "public",
44163
+ "static": true,
44164
+ "inheritedFrom": {
44165
+ "name": "SbbElement",
44166
+ "module": "core/base-elements/element.js"
44167
+ }
44168
+ },
44201
44169
  {
44202
44170
  "kind": "field",
44203
44171
  "name": "_controllers",
@@ -44424,15 +44392,19 @@
44424
44392
  "module": "button/common/button-common.js"
44425
44393
  },
44426
44394
  {
44427
- "name": "SbbDisabledTabIndexActionMixin",
44395
+ "name": "SbbDisabledInteractiveMixin",
44396
+ "module": "core.js"
44397
+ },
44398
+ {
44399
+ "name": "SbbDisabledMixin",
44428
44400
  "module": "core.js"
44429
44401
  }
44430
44402
  ],
44431
44403
  "superclass": {
44432
- "name": "SbbButtonBaseElement",
44404
+ "name": "SbbLinkBaseElement",
44433
44405
  "module": "core.js"
44434
44406
  },
44435
- "tagName": "sbb-accent-button",
44407
+ "tagName": "sbb-accent-button-link",
44436
44408
  "customElement": true,
44437
44409
  "attributes": [
44438
44410
  {
@@ -44514,53 +44486,81 @@
44514
44486
  }
44515
44487
  },
44516
44488
  {
44517
- "name": "value",
44489
+ "name": "href",
44518
44490
  "type": {
44519
44491
  "text": "string"
44520
44492
  },
44521
44493
  "default": "''",
44522
- "description": "Value of the form element.",
44523
- "fieldName": "value",
44494
+ "description": "The href value you want to link to.",
44495
+ "fieldName": "href",
44524
44496
  "inheritedFrom": {
44525
- "name": "SbbButtonBaseElement",
44526
- "module": "core/base-elements/button-base-element.js"
44497
+ "name": "SbbLinkBaseElement",
44498
+ "module": "core/base-elements/link-base-element.js"
44527
44499
  }
44528
44500
  },
44529
44501
  {
44530
- "name": "type",
44531
- "description": "The type attribute to use for the button.",
44532
- "default": "'button'",
44502
+ "name": "target",
44533
44503
  "type": {
44534
- "text": "SbbButtonType"
44504
+ "text": "LinkTargetType | string"
44535
44505
  },
44536
- "fieldName": "type",
44506
+ "default": "''",
44507
+ "description": "Where to display the linked URL.",
44508
+ "fieldName": "target",
44537
44509
  "inheritedFrom": {
44538
- "name": "SbbButtonBaseElement",
44539
- "module": "core/base-elements/button-base-element.js"
44510
+ "name": "SbbLinkBaseElement",
44511
+ "module": "core/base-elements/link-base-element.js"
44540
44512
  }
44541
44513
  },
44542
44514
  {
44543
- "name": "form",
44544
- "description": "The `<form>` element to associate the button with.",
44515
+ "name": "rel",
44516
+ "type": {
44517
+ "text": "string"
44518
+ },
44519
+ "default": "''",
44520
+ "description": "The relationship of the linked URL as space-separated link types.",
44521
+ "fieldName": "rel",
44522
+ "inheritedFrom": {
44523
+ "name": "SbbLinkBaseElement",
44524
+ "module": "core/base-elements/link-base-element.js"
44525
+ }
44526
+ },
44527
+ {
44528
+ "name": "download",
44529
+ "type": {
44530
+ "text": "boolean"
44531
+ },
44532
+ "default": "false",
44533
+ "description": "Whether the browser will show the download dialog on click.",
44534
+ "fieldName": "download",
44535
+ "inheritedFrom": {
44536
+ "name": "SbbLinkBaseElement",
44537
+ "module": "core/base-elements/link-base-element.js"
44538
+ }
44539
+ },
44540
+ {
44541
+ "name": "accessibility-label",
44545
44542
  "type": {
44546
- "text": "HTMLFormElement | null"
44543
+ "text": "string"
44547
44544
  },
44548
- "fieldName": "form",
44545
+ "default": "''",
44546
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
44547
+ "fieldName": "accessibilityLabel",
44549
44548
  "inheritedFrom": {
44550
- "name": "SbbButtonBaseElement",
44551
- "module": "core/base-elements/button-base-element.js"
44549
+ "name": "SbbLinkBaseElement",
44550
+ "module": "core/base-elements/link-base-element.js"
44552
44551
  }
44553
44552
  },
44554
44553
  {
44555
- "name": "name",
44556
- "description": "Name of the form element. Will be read from name attribute.",
44554
+ "name": "accessibility-current",
44557
44555
  "type": {
44558
44556
  "text": "string"
44559
44557
  },
44560
- "fieldName": "name",
44558
+ "default": "''",
44559
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
44560
+ "fieldName": "accessibilityCurrent",
44561
44561
  "inheritedFrom": {
44562
- "name": "SbbFormAssociatedMixin",
44563
- "module": "core/mixins/form-associated-mixin.js"
44562
+ "name": "SbbLinkBaseElement",
44563
+ "module": "core/base-elements/link-base-element.js"
44564
44564
  }
44565
44565
  }
44566
44566
  ]
@@ -44569,10 +44569,10 @@
44569
44569
  "exports": [
44570
44570
  {
44571
44571
  "kind": "js",
44572
- "name": "SbbAccentButtonElement",
44572
+ "name": "SbbAccentButtonLinkElement",
44573
44573
  "declaration": {
44574
- "name": "SbbAccentButtonElement",
44575
- "module": "button/accent-button/accent-button.component.js"
44574
+ "name": "SbbAccentButtonLinkElement",
44575
+ "module": "button/accent-button-link/accent-button-link.component.js"
44576
44576
  }
44577
44577
  }
44578
44578
  ]
@@ -46344,12 +46344,12 @@
46344
46344
  },
46345
46345
  {
46346
46346
  "kind": "javascript-module",
46347
- "path": "button/button-static/button-static.component.js",
46347
+ "path": "button/button-link/button-link.component.js",
46348
46348
  "declarations": [
46349
46349
  {
46350
46350
  "kind": "class",
46351
- "description": "It displays a static button enhanced with the SBB Design in the 'primary' variant.",
46352
- "name": "SbbButtonStaticElement",
46351
+ "description": "It displays a button enhanced with the SBB Design in the 'primary' variant, which will behave as a link.",
46352
+ "name": "SbbButtonLinkElement",
46353
46353
  "cssProperties": [
46354
46354
  {
46355
46355
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -46359,7 +46359,7 @@
46359
46359
  ],
46360
46360
  "slots": [
46361
46361
  {
46362
- "description": "Use the unnamed slot to add content to the button-static.",
46362
+ "description": "Use the unnamed slot to add content to the button-link.",
46363
46363
  "name": ""
46364
46364
  },
46365
46365
  {
@@ -46377,7 +46377,7 @@
46377
46377
  "privacy": "public",
46378
46378
  "static": true,
46379
46379
  "readonly": true,
46380
- "default": "'sbb-button-static'",
46380
+ "default": "'sbb-button-link'",
46381
46381
  "inheritedFrom": {
46382
46382
  "name": "SbbElement",
46383
46383
  "module": "core/base-elements/element.js"
@@ -46401,173 +46401,338 @@
46401
46401
  },
46402
46402
  {
46403
46403
  "kind": "field",
46404
- "name": "loading",
46404
+ "name": "loading",
46405
+ "type": {
46406
+ "text": "boolean"
46407
+ },
46408
+ "privacy": "public",
46409
+ "default": "false",
46410
+ "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
46411
+ "attribute": "loading",
46412
+ "reflects": true,
46413
+ "inheritedFrom": {
46414
+ "name": "SbbButtonCommonElementMixin",
46415
+ "module": "button/common/button-common.js"
46416
+ }
46417
+ },
46418
+ {
46419
+ "kind": "method",
46420
+ "name": "renderTemplate",
46421
+ "privacy": "protected",
46422
+ "return": {
46423
+ "type": {
46424
+ "text": "TemplateResult"
46425
+ }
46426
+ },
46427
+ "description": "Override this method to render the component template.",
46428
+ "inheritedFrom": {
46429
+ "name": "SbbActionBaseElement",
46430
+ "module": "core/base-elements/action-base-element.js"
46431
+ }
46432
+ },
46433
+ {
46434
+ "kind": "field",
46435
+ "name": "negative",
46436
+ "type": {
46437
+ "text": "boolean"
46438
+ },
46439
+ "privacy": "public",
46440
+ "default": "false",
46441
+ "description": "Negative coloring variant flag.",
46442
+ "attribute": "negative",
46443
+ "reflects": true,
46444
+ "inheritedFrom": {
46445
+ "name": "SbbNegativeMixin",
46446
+ "module": "core/mixins/negative-mixin.js"
46447
+ }
46448
+ },
46449
+ {
46450
+ "kind": "field",
46451
+ "name": "elementDependencies",
46452
+ "type": {
46453
+ "text": "SbbElementType[]"
46454
+ },
46455
+ "privacy": "public",
46456
+ "static": true,
46457
+ "default": "[SbbIconElement]",
46458
+ "inheritedFrom": {
46459
+ "name": "SbbElement",
46460
+ "module": "core/base-elements/element.js"
46461
+ }
46462
+ },
46463
+ {
46464
+ "kind": "field",
46465
+ "name": "iconName",
46466
+ "type": {
46467
+ "text": "string"
46468
+ },
46469
+ "privacy": "public",
46470
+ "default": "''",
46471
+ "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.",
46472
+ "attribute": "icon-name",
46473
+ "inheritedFrom": {
46474
+ "name": "SbbIconNameMixin",
46475
+ "module": "icon/icon-name-mixin.js"
46476
+ }
46477
+ },
46478
+ {
46479
+ "kind": "method",
46480
+ "name": "renderIconSlot",
46481
+ "privacy": "protected",
46482
+ "return": {
46483
+ "type": {
46484
+ "text": "TemplateResult"
46485
+ }
46486
+ },
46487
+ "parameters": [
46488
+ {
46489
+ "name": "classname",
46490
+ "optional": true,
46491
+ "type": {
46492
+ "text": "string"
46493
+ }
46494
+ }
46495
+ ],
46496
+ "inheritedFrom": {
46497
+ "name": "SbbIconNameMixin",
46498
+ "module": "icon/icon-name-mixin.js"
46499
+ }
46500
+ },
46501
+ {
46502
+ "kind": "method",
46503
+ "name": "renderIconName",
46504
+ "privacy": "protected",
46505
+ "return": {
46506
+ "type": {
46507
+ "text": "string"
46508
+ }
46509
+ },
46510
+ "inheritedFrom": {
46511
+ "name": "SbbIconNameMixin",
46512
+ "module": "icon/icon-name-mixin.js"
46513
+ }
46514
+ },
46515
+ {
46516
+ "kind": "method",
46517
+ "name": "_renderIconName",
46518
+ "privacy": "private",
46519
+ "return": {
46520
+ "type": {
46521
+ "text": "string"
46522
+ }
46523
+ },
46524
+ "inheritedFrom": {
46525
+ "name": "SbbIconNameMixin",
46526
+ "module": "icon/icon-name-mixin.js"
46527
+ }
46528
+ },
46529
+ {
46530
+ "kind": "field",
46531
+ "name": "disabledInteractive",
46532
+ "type": {
46533
+ "text": "boolean"
46534
+ },
46535
+ "privacy": "public",
46536
+ "default": "false",
46537
+ "description": "Whether the button should be aria-disabled but stay interactive.",
46538
+ "attribute": "disabled-interactive",
46539
+ "reflects": true,
46540
+ "inheritedFrom": {
46541
+ "name": "SbbDisabledInteractiveMixin",
46542
+ "module": "core/mixins/disabled-mixin.js"
46543
+ }
46544
+ },
46545
+ {
46546
+ "kind": "field",
46547
+ "name": "disabled",
46548
+ "privacy": "public",
46549
+ "description": "Whether the component is disabled.",
46550
+ "default": "false",
46551
+ "type": {
46552
+ "text": "boolean"
46553
+ },
46554
+ "attribute": "disabled",
46555
+ "reflects": true,
46556
+ "inheritedFrom": {
46557
+ "name": "SbbDisabledMixin",
46558
+ "module": "core/mixins/disabled-mixin.js"
46559
+ }
46560
+ },
46561
+ {
46562
+ "kind": "field",
46563
+ "name": "#disabled",
46564
+ "privacy": "private",
46565
+ "type": {
46566
+ "text": "boolean"
46567
+ },
46568
+ "default": "false",
46569
+ "inheritedFrom": {
46570
+ "name": "SbbDisabledMixin",
46571
+ "module": "core/mixins/disabled-mixin.js"
46572
+ }
46573
+ },
46574
+ {
46575
+ "kind": "method",
46576
+ "name": "isDisabledExternally",
46577
+ "privacy": "protected",
46578
+ "return": {
46579
+ "type": {
46580
+ "text": "boolean"
46581
+ }
46582
+ },
46583
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
46584
+ "inheritedFrom": {
46585
+ "name": "SbbDisabledMixin",
46586
+ "module": "core/mixins/disabled-mixin.js"
46587
+ }
46588
+ },
46589
+ {
46590
+ "kind": "field",
46591
+ "name": "href",
46592
+ "type": {
46593
+ "text": "string"
46594
+ },
46595
+ "privacy": "public",
46596
+ "default": "''",
46597
+ "description": "The href value you want to link to.",
46598
+ "attribute": "href",
46599
+ "reflects": true,
46600
+ "inheritedFrom": {
46601
+ "name": "SbbLinkBaseElement",
46602
+ "module": "core/base-elements/link-base-element.js"
46603
+ }
46604
+ },
46605
+ {
46606
+ "kind": "field",
46607
+ "name": "target",
46608
+ "type": {
46609
+ "text": "LinkTargetType | string"
46610
+ },
46611
+ "privacy": "public",
46612
+ "default": "''",
46613
+ "description": "Where to display the linked URL.",
46614
+ "attribute": "target",
46615
+ "reflects": true,
46616
+ "inheritedFrom": {
46617
+ "name": "SbbLinkBaseElement",
46618
+ "module": "core/base-elements/link-base-element.js"
46619
+ }
46620
+ },
46621
+ {
46622
+ "kind": "field",
46623
+ "name": "rel",
46405
46624
  "type": {
46406
- "text": "boolean"
46625
+ "text": "string"
46407
46626
  },
46408
46627
  "privacy": "public",
46409
- "default": "false",
46410
- "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
46411
- "attribute": "loading",
46628
+ "default": "''",
46629
+ "description": "The relationship of the linked URL as space-separated link types.",
46630
+ "attribute": "rel",
46412
46631
  "reflects": true,
46413
46632
  "inheritedFrom": {
46414
- "name": "SbbButtonCommonElementMixin",
46415
- "module": "button/common/button-common.js"
46416
- }
46417
- },
46418
- {
46419
- "kind": "method",
46420
- "name": "renderTemplate",
46421
- "privacy": "protected",
46422
- "return": {
46423
- "type": {
46424
- "text": "TemplateResult"
46425
- }
46426
- },
46427
- "description": "Override this method to render the component template.",
46428
- "inheritedFrom": {
46429
- "name": "SbbActionBaseElement",
46430
- "module": "core/base-elements/action-base-element.js"
46633
+ "name": "SbbLinkBaseElement",
46634
+ "module": "core/base-elements/link-base-element.js"
46431
46635
  }
46432
46636
  },
46433
46637
  {
46434
46638
  "kind": "field",
46435
- "name": "negative",
46639
+ "name": "download",
46436
46640
  "type": {
46437
46641
  "text": "boolean"
46438
46642
  },
46439
46643
  "privacy": "public",
46440
46644
  "default": "false",
46441
- "description": "Negative coloring variant flag.",
46442
- "attribute": "negative",
46645
+ "description": "Whether the browser will show the download dialog on click.",
46646
+ "attribute": "download",
46443
46647
  "reflects": true,
46444
46648
  "inheritedFrom": {
46445
- "name": "SbbNegativeMixin",
46446
- "module": "core/mixins/negative-mixin.js"
46649
+ "name": "SbbLinkBaseElement",
46650
+ "module": "core/base-elements/link-base-element.js"
46447
46651
  }
46448
46652
  },
46449
46653
  {
46450
46654
  "kind": "field",
46451
- "name": "elementDependencies",
46655
+ "name": "accessibilityLabel",
46452
46656
  "type": {
46453
- "text": "SbbElementType[]"
46657
+ "text": "string"
46454
46658
  },
46455
46659
  "privacy": "public",
46456
- "static": true,
46457
- "default": "[SbbIconElement]",
46660
+ "default": "''",
46661
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
46662
+ "attribute": "accessibility-label",
46458
46663
  "inheritedFrom": {
46459
- "name": "SbbElement",
46460
- "module": "core/base-elements/element.js"
46664
+ "name": "SbbLinkBaseElement",
46665
+ "module": "core/base-elements/link-base-element.js"
46461
46666
  }
46462
46667
  },
46463
46668
  {
46464
46669
  "kind": "field",
46465
- "name": "iconName",
46670
+ "name": "accessibilityCurrent",
46466
46671
  "type": {
46467
46672
  "text": "string"
46468
46673
  },
46469
46674
  "privacy": "public",
46470
46675
  "default": "''",
46471
- "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.",
46472
- "attribute": "icon-name",
46473
- "inheritedFrom": {
46474
- "name": "SbbIconNameMixin",
46475
- "module": "icon/icon-name-mixin.js"
46476
- }
46477
- },
46478
- {
46479
- "kind": "method",
46480
- "name": "renderIconSlot",
46481
- "privacy": "protected",
46482
- "return": {
46483
- "type": {
46484
- "text": "TemplateResult"
46485
- }
46486
- },
46487
- "parameters": [
46488
- {
46489
- "name": "classname",
46490
- "optional": true,
46491
- "type": {
46492
- "text": "string"
46493
- }
46494
- }
46495
- ],
46676
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
46677
+ "attribute": "accessibility-current",
46496
46678
  "inheritedFrom": {
46497
- "name": "SbbIconNameMixin",
46498
- "module": "icon/icon-name-mixin.js"
46679
+ "name": "SbbLinkBaseElement",
46680
+ "module": "core/base-elements/link-base-element.js"
46499
46681
  }
46500
46682
  },
46501
46683
  {
46502
- "kind": "method",
46503
- "name": "renderIconName",
46684
+ "kind": "field",
46685
+ "name": "language",
46504
46686
  "privacy": "protected",
46505
- "return": {
46506
- "type": {
46507
- "text": "string"
46508
- }
46509
- },
46510
- "inheritedFrom": {
46511
- "name": "SbbIconNameMixin",
46512
- "module": "icon/icon-name-mixin.js"
46513
- }
46514
- },
46515
- {
46516
- "kind": "method",
46517
- "name": "_renderIconName",
46518
- "privacy": "private",
46519
- "return": {
46520
- "type": {
46521
- "text": "string"
46522
- }
46523
- },
46687
+ "default": "new SbbLanguageController(this)",
46524
46688
  "inheritedFrom": {
46525
- "name": "SbbIconNameMixin",
46526
- "module": "icon/icon-name-mixin.js"
46689
+ "name": "SbbLinkBaseElement",
46690
+ "module": "core/base-elements/link-base-element.js"
46527
46691
  }
46528
46692
  },
46529
46693
  {
46530
46694
  "kind": "field",
46531
- "name": "disabled",
46532
- "privacy": "public",
46533
- "description": "Whether the component is disabled.",
46534
- "default": "false",
46695
+ "name": "anchorRole",
46535
46696
  "type": {
46536
- "text": "boolean"
46697
+ "text": "string | null"
46537
46698
  },
46538
- "attribute": "disabled",
46539
- "reflects": true,
46699
+ "privacy": "protected",
46700
+ "readonly": true,
46701
+ "default": "null",
46540
46702
  "inheritedFrom": {
46541
- "name": "SbbDisabledMixin",
46542
- "module": "core/mixins/disabled-mixin.js"
46703
+ "name": "SbbLinkBaseElement",
46704
+ "module": "core/base-elements/link-base-element.js"
46543
46705
  }
46544
46706
  },
46545
46707
  {
46546
46708
  "kind": "field",
46547
- "name": "#disabled",
46709
+ "name": "_evaluateRelAttribute",
46548
46710
  "privacy": "private",
46549
- "type": {
46550
- "text": "boolean"
46551
- },
46552
- "default": "false",
46553
46711
  "inheritedFrom": {
46554
- "name": "SbbDisabledMixin",
46555
- "module": "core/mixins/disabled-mixin.js"
46712
+ "name": "SbbLinkBaseElement",
46713
+ "module": "core/base-elements/link-base-element.js"
46556
46714
  }
46557
46715
  },
46558
46716
  {
46559
46717
  "kind": "method",
46560
- "name": "isDisabledExternally",
46718
+ "name": "renderLink",
46561
46719
  "privacy": "protected",
46562
46720
  "return": {
46563
46721
  "type": {
46564
- "text": "boolean"
46722
+ "text": "TemplateResult"
46565
46723
  }
46566
46724
  },
46567
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
46725
+ "parameters": [
46726
+ {
46727
+ "name": "renderContent",
46728
+ "type": {
46729
+ "text": "TemplateResult"
46730
+ }
46731
+ }
46732
+ ],
46568
46733
  "inheritedFrom": {
46569
- "name": "SbbDisabledMixin",
46570
- "module": "core/mixins/disabled-mixin.js"
46734
+ "name": "SbbLinkBaseElement",
46735
+ "module": "core/base-elements/link-base-element.js"
46571
46736
  }
46572
46737
  },
46573
46738
  {
@@ -46862,16 +47027,20 @@
46862
47027
  "name": "SbbButtonCommonElementMixin",
46863
47028
  "module": "button/common/button-common.js"
46864
47029
  },
47030
+ {
47031
+ "name": "SbbDisabledInteractiveMixin",
47032
+ "module": "core.js"
47033
+ },
46865
47034
  {
46866
47035
  "name": "SbbDisabledMixin",
46867
47036
  "module": "core.js"
46868
47037
  }
46869
47038
  ],
46870
47039
  "superclass": {
46871
- "name": "SbbActionBaseElement",
47040
+ "name": "SbbLinkBaseElement",
46872
47041
  "module": "core.js"
46873
47042
  },
46874
- "tagName": "sbb-button-static",
47043
+ "tagName": "sbb-button-link",
46875
47044
  "customElement": true,
46876
47045
  "attributes": [
46877
47046
  {
@@ -46901,42 +47070,133 @@
46901
47070
  }
46902
47071
  },
46903
47072
  {
46904
- "name": "negative",
47073
+ "name": "negative",
47074
+ "type": {
47075
+ "text": "boolean"
47076
+ },
47077
+ "default": "false",
47078
+ "description": "Negative coloring variant flag.",
47079
+ "fieldName": "negative",
47080
+ "inheritedFrom": {
47081
+ "name": "SbbNegativeMixin",
47082
+ "module": "core/mixins/negative-mixin.js"
47083
+ }
47084
+ },
47085
+ {
47086
+ "name": "icon-name",
47087
+ "type": {
47088
+ "text": "string"
47089
+ },
47090
+ "default": "''",
47091
+ "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.",
47092
+ "fieldName": "iconName",
47093
+ "inheritedFrom": {
47094
+ "name": "SbbIconNameMixin",
47095
+ "module": "icon/icon-name-mixin.js"
47096
+ }
47097
+ },
47098
+ {
47099
+ "name": "disabled-interactive",
47100
+ "type": {
47101
+ "text": "boolean"
47102
+ },
47103
+ "default": "false",
47104
+ "description": "Whether the button should be aria-disabled but stay interactive.",
47105
+ "fieldName": "disabledInteractive",
47106
+ "inheritedFrom": {
47107
+ "name": "SbbDisabledInteractiveMixin",
47108
+ "module": "core/mixins/disabled-mixin.js"
47109
+ }
47110
+ },
47111
+ {
47112
+ "name": "disabled",
47113
+ "description": "Whether the component is disabled.",
47114
+ "default": "false",
47115
+ "type": {
47116
+ "text": "boolean"
47117
+ },
47118
+ "fieldName": "disabled",
47119
+ "inheritedFrom": {
47120
+ "name": "SbbDisabledMixin",
47121
+ "module": "core/mixins/disabled-mixin.js"
47122
+ }
47123
+ },
47124
+ {
47125
+ "name": "href",
47126
+ "type": {
47127
+ "text": "string"
47128
+ },
47129
+ "default": "''",
47130
+ "description": "The href value you want to link to.",
47131
+ "fieldName": "href",
47132
+ "inheritedFrom": {
47133
+ "name": "SbbLinkBaseElement",
47134
+ "module": "core/base-elements/link-base-element.js"
47135
+ }
47136
+ },
47137
+ {
47138
+ "name": "target",
47139
+ "type": {
47140
+ "text": "LinkTargetType | string"
47141
+ },
47142
+ "default": "''",
47143
+ "description": "Where to display the linked URL.",
47144
+ "fieldName": "target",
47145
+ "inheritedFrom": {
47146
+ "name": "SbbLinkBaseElement",
47147
+ "module": "core/base-elements/link-base-element.js"
47148
+ }
47149
+ },
47150
+ {
47151
+ "name": "rel",
47152
+ "type": {
47153
+ "text": "string"
47154
+ },
47155
+ "default": "''",
47156
+ "description": "The relationship of the linked URL as space-separated link types.",
47157
+ "fieldName": "rel",
47158
+ "inheritedFrom": {
47159
+ "name": "SbbLinkBaseElement",
47160
+ "module": "core/base-elements/link-base-element.js"
47161
+ }
47162
+ },
47163
+ {
47164
+ "name": "download",
46905
47165
  "type": {
46906
47166
  "text": "boolean"
46907
47167
  },
46908
47168
  "default": "false",
46909
- "description": "Negative coloring variant flag.",
46910
- "fieldName": "negative",
47169
+ "description": "Whether the browser will show the download dialog on click.",
47170
+ "fieldName": "download",
46911
47171
  "inheritedFrom": {
46912
- "name": "SbbNegativeMixin",
46913
- "module": "core/mixins/negative-mixin.js"
47172
+ "name": "SbbLinkBaseElement",
47173
+ "module": "core/base-elements/link-base-element.js"
46914
47174
  }
46915
47175
  },
46916
47176
  {
46917
- "name": "icon-name",
47177
+ "name": "accessibility-label",
46918
47178
  "type": {
46919
47179
  "text": "string"
46920
47180
  },
46921
47181
  "default": "''",
46922
- "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.",
46923
- "fieldName": "iconName",
47182
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
47183
+ "fieldName": "accessibilityLabel",
46924
47184
  "inheritedFrom": {
46925
- "name": "SbbIconNameMixin",
46926
- "module": "icon/icon-name-mixin.js"
47185
+ "name": "SbbLinkBaseElement",
47186
+ "module": "core/base-elements/link-base-element.js"
46927
47187
  }
46928
47188
  },
46929
47189
  {
46930
- "name": "disabled",
46931
- "description": "Whether the component is disabled.",
46932
- "default": "false",
47190
+ "name": "accessibility-current",
46933
47191
  "type": {
46934
- "text": "boolean"
47192
+ "text": "string"
46935
47193
  },
46936
- "fieldName": "disabled",
47194
+ "default": "''",
47195
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
47196
+ "fieldName": "accessibilityCurrent",
46937
47197
  "inheritedFrom": {
46938
- "name": "SbbDisabledMixin",
46939
- "module": "core/mixins/disabled-mixin.js"
47198
+ "name": "SbbLinkBaseElement",
47199
+ "module": "core/base-elements/link-base-element.js"
46940
47200
  }
46941
47201
  }
46942
47202
  ]
@@ -46945,22 +47205,22 @@
46945
47205
  "exports": [
46946
47206
  {
46947
47207
  "kind": "js",
46948
- "name": "SbbButtonStaticElement",
47208
+ "name": "SbbButtonLinkElement",
46949
47209
  "declaration": {
46950
- "name": "SbbButtonStaticElement",
46951
- "module": "button/button-static/button-static.component.js"
47210
+ "name": "SbbButtonLinkElement",
47211
+ "module": "button/button-link/button-link.component.js"
46952
47212
  }
46953
47213
  }
46954
47214
  ]
46955
47215
  },
46956
47216
  {
46957
47217
  "kind": "javascript-module",
46958
- "path": "button/button-link/button-link.component.js",
47218
+ "path": "button/button-static/button-static.component.js",
46959
47219
  "declarations": [
46960
47220
  {
46961
47221
  "kind": "class",
46962
- "description": "It displays a button enhanced with the SBB Design in the 'primary' variant, which will behave as a link.",
46963
- "name": "SbbButtonLinkElement",
47222
+ "description": "It displays a static button enhanced with the SBB Design in the 'primary' variant.",
47223
+ "name": "SbbButtonStaticElement",
46964
47224
  "cssProperties": [
46965
47225
  {
46966
47226
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -46970,7 +47230,7 @@
46970
47230
  ],
46971
47231
  "slots": [
46972
47232
  {
46973
- "description": "Use the unnamed slot to add content to the button-link.",
47233
+ "description": "Use the unnamed slot to add content to the button-static.",
46974
47234
  "name": ""
46975
47235
  },
46976
47236
  {
@@ -46988,7 +47248,7 @@
46988
47248
  "privacy": "public",
46989
47249
  "static": true,
46990
47250
  "readonly": true,
46991
- "default": "'sbb-button-link'",
47251
+ "default": "'sbb-button-static'",
46992
47252
  "inheritedFrom": {
46993
47253
  "name": "SbbElement",
46994
47254
  "module": "core/base-elements/element.js"
@@ -47021,329 +47281,164 @@
47021
47281
  "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
47022
47282
  "attribute": "loading",
47023
47283
  "reflects": true,
47024
- "inheritedFrom": {
47025
- "name": "SbbButtonCommonElementMixin",
47026
- "module": "button/common/button-common.js"
47027
- }
47028
- },
47029
- {
47030
- "kind": "method",
47031
- "name": "renderTemplate",
47032
- "privacy": "protected",
47033
- "return": {
47034
- "type": {
47035
- "text": "TemplateResult"
47036
- }
47037
- },
47038
- "description": "Override this method to render the component template.",
47039
- "inheritedFrom": {
47040
- "name": "SbbActionBaseElement",
47041
- "module": "core/base-elements/action-base-element.js"
47042
- }
47043
- },
47044
- {
47045
- "kind": "field",
47046
- "name": "negative",
47047
- "type": {
47048
- "text": "boolean"
47049
- },
47050
- "privacy": "public",
47051
- "default": "false",
47052
- "description": "Negative coloring variant flag.",
47053
- "attribute": "negative",
47054
- "reflects": true,
47055
- "inheritedFrom": {
47056
- "name": "SbbNegativeMixin",
47057
- "module": "core/mixins/negative-mixin.js"
47058
- }
47059
- },
47060
- {
47061
- "kind": "field",
47062
- "name": "elementDependencies",
47063
- "type": {
47064
- "text": "SbbElementType[]"
47065
- },
47066
- "privacy": "public",
47067
- "static": true,
47068
- "default": "[SbbIconElement]",
47069
- "inheritedFrom": {
47070
- "name": "SbbElement",
47071
- "module": "core/base-elements/element.js"
47072
- }
47073
- },
47074
- {
47075
- "kind": "field",
47076
- "name": "iconName",
47077
- "type": {
47078
- "text": "string"
47079
- },
47080
- "privacy": "public",
47081
- "default": "''",
47082
- "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.",
47083
- "attribute": "icon-name",
47084
- "inheritedFrom": {
47085
- "name": "SbbIconNameMixin",
47086
- "module": "icon/icon-name-mixin.js"
47087
- }
47088
- },
47089
- {
47090
- "kind": "method",
47091
- "name": "renderIconSlot",
47092
- "privacy": "protected",
47093
- "return": {
47094
- "type": {
47095
- "text": "TemplateResult"
47096
- }
47097
- },
47098
- "parameters": [
47099
- {
47100
- "name": "classname",
47101
- "optional": true,
47102
- "type": {
47103
- "text": "string"
47104
- }
47105
- }
47106
- ],
47107
- "inheritedFrom": {
47108
- "name": "SbbIconNameMixin",
47109
- "module": "icon/icon-name-mixin.js"
47110
- }
47111
- },
47112
- {
47113
- "kind": "method",
47114
- "name": "renderIconName",
47115
- "privacy": "protected",
47116
- "return": {
47117
- "type": {
47118
- "text": "string"
47119
- }
47120
- },
47121
- "inheritedFrom": {
47122
- "name": "SbbIconNameMixin",
47123
- "module": "icon/icon-name-mixin.js"
47124
- }
47125
- },
47126
- {
47127
- "kind": "method",
47128
- "name": "_renderIconName",
47129
- "privacy": "private",
47130
- "return": {
47131
- "type": {
47132
- "text": "string"
47133
- }
47134
- },
47135
- "inheritedFrom": {
47136
- "name": "SbbIconNameMixin",
47137
- "module": "icon/icon-name-mixin.js"
47138
- }
47139
- },
47140
- {
47141
- "kind": "field",
47142
- "name": "disabledInteractive",
47143
- "type": {
47144
- "text": "boolean"
47145
- },
47146
- "privacy": "public",
47147
- "default": "false",
47148
- "description": "Whether the button should be aria-disabled but stay interactive.",
47149
- "attribute": "disabled-interactive",
47150
- "reflects": true,
47151
- "inheritedFrom": {
47152
- "name": "SbbDisabledInteractiveMixin",
47153
- "module": "core/mixins/disabled-mixin.js"
47154
- }
47155
- },
47156
- {
47157
- "kind": "field",
47158
- "name": "disabled",
47159
- "privacy": "public",
47160
- "description": "Whether the component is disabled.",
47161
- "default": "false",
47162
- "type": {
47163
- "text": "boolean"
47164
- },
47165
- "attribute": "disabled",
47166
- "reflects": true,
47167
- "inheritedFrom": {
47168
- "name": "SbbDisabledMixin",
47169
- "module": "core/mixins/disabled-mixin.js"
47170
- }
47171
- },
47172
- {
47173
- "kind": "field",
47174
- "name": "#disabled",
47175
- "privacy": "private",
47176
- "type": {
47177
- "text": "boolean"
47178
- },
47179
- "default": "false",
47180
- "inheritedFrom": {
47181
- "name": "SbbDisabledMixin",
47182
- "module": "core/mixins/disabled-mixin.js"
47183
- }
47184
- },
47185
- {
47186
- "kind": "method",
47187
- "name": "isDisabledExternally",
47188
- "privacy": "protected",
47189
- "return": {
47190
- "type": {
47191
- "text": "boolean"
47192
- }
47193
- },
47194
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
47195
- "inheritedFrom": {
47196
- "name": "SbbDisabledMixin",
47197
- "module": "core/mixins/disabled-mixin.js"
47198
- }
47199
- },
47200
- {
47201
- "kind": "field",
47202
- "name": "href",
47203
- "type": {
47204
- "text": "string"
47205
- },
47206
- "privacy": "public",
47207
- "default": "''",
47208
- "description": "The href value you want to link to.",
47209
- "attribute": "href",
47210
- "reflects": true,
47211
- "inheritedFrom": {
47212
- "name": "SbbLinkBaseElement",
47213
- "module": "core/base-elements/link-base-element.js"
47214
- }
47215
- },
47216
- {
47217
- "kind": "field",
47218
- "name": "target",
47219
- "type": {
47220
- "text": "LinkTargetType | string"
47221
- },
47222
- "privacy": "public",
47223
- "default": "''",
47224
- "description": "Where to display the linked URL.",
47225
- "attribute": "target",
47226
- "reflects": true,
47227
- "inheritedFrom": {
47228
- "name": "SbbLinkBaseElement",
47229
- "module": "core/base-elements/link-base-element.js"
47284
+ "inheritedFrom": {
47285
+ "name": "SbbButtonCommonElementMixin",
47286
+ "module": "button/common/button-common.js"
47230
47287
  }
47231
47288
  },
47232
47289
  {
47233
- "kind": "field",
47234
- "name": "rel",
47235
- "type": {
47236
- "text": "string"
47290
+ "kind": "method",
47291
+ "name": "renderTemplate",
47292
+ "privacy": "protected",
47293
+ "return": {
47294
+ "type": {
47295
+ "text": "TemplateResult"
47296
+ }
47237
47297
  },
47238
- "privacy": "public",
47239
- "default": "''",
47240
- "description": "The relationship of the linked URL as space-separated link types.",
47241
- "attribute": "rel",
47242
- "reflects": true,
47298
+ "description": "Override this method to render the component template.",
47243
47299
  "inheritedFrom": {
47244
- "name": "SbbLinkBaseElement",
47245
- "module": "core/base-elements/link-base-element.js"
47300
+ "name": "SbbActionBaseElement",
47301
+ "module": "core/base-elements/action-base-element.js"
47246
47302
  }
47247
47303
  },
47248
47304
  {
47249
47305
  "kind": "field",
47250
- "name": "download",
47306
+ "name": "negative",
47251
47307
  "type": {
47252
47308
  "text": "boolean"
47253
47309
  },
47254
47310
  "privacy": "public",
47255
47311
  "default": "false",
47256
- "description": "Whether the browser will show the download dialog on click.",
47257
- "attribute": "download",
47312
+ "description": "Negative coloring variant flag.",
47313
+ "attribute": "negative",
47258
47314
  "reflects": true,
47259
47315
  "inheritedFrom": {
47260
- "name": "SbbLinkBaseElement",
47261
- "module": "core/base-elements/link-base-element.js"
47316
+ "name": "SbbNegativeMixin",
47317
+ "module": "core/mixins/negative-mixin.js"
47262
47318
  }
47263
47319
  },
47264
47320
  {
47265
47321
  "kind": "field",
47266
- "name": "accessibilityLabel",
47322
+ "name": "elementDependencies",
47267
47323
  "type": {
47268
- "text": "string"
47324
+ "text": "SbbElementType[]"
47269
47325
  },
47270
47326
  "privacy": "public",
47271
- "default": "''",
47272
- "description": "This will be forwarded as aria-label to the inner anchor element.",
47273
- "attribute": "accessibility-label",
47327
+ "static": true,
47328
+ "default": "[SbbIconElement]",
47274
47329
  "inheritedFrom": {
47275
- "name": "SbbLinkBaseElement",
47276
- "module": "core/base-elements/link-base-element.js"
47330
+ "name": "SbbElement",
47331
+ "module": "core/base-elements/element.js"
47277
47332
  }
47278
47333
  },
47279
47334
  {
47280
47335
  "kind": "field",
47281
- "name": "accessibilityCurrent",
47336
+ "name": "iconName",
47282
47337
  "type": {
47283
47338
  "text": "string"
47284
47339
  },
47285
47340
  "privacy": "public",
47286
47341
  "default": "''",
47287
- "description": "This will be forwarded as aria-current to the inner anchor element.",
47288
- "attribute": "accessibility-current",
47342
+ "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.",
47343
+ "attribute": "icon-name",
47289
47344
  "inheritedFrom": {
47290
- "name": "SbbLinkBaseElement",
47291
- "module": "core/base-elements/link-base-element.js"
47345
+ "name": "SbbIconNameMixin",
47346
+ "module": "icon/icon-name-mixin.js"
47292
47347
  }
47293
47348
  },
47294
47349
  {
47295
- "kind": "field",
47296
- "name": "language",
47350
+ "kind": "method",
47351
+ "name": "renderIconSlot",
47297
47352
  "privacy": "protected",
47298
- "default": "new SbbLanguageController(this)",
47353
+ "return": {
47354
+ "type": {
47355
+ "text": "TemplateResult"
47356
+ }
47357
+ },
47358
+ "parameters": [
47359
+ {
47360
+ "name": "classname",
47361
+ "optional": true,
47362
+ "type": {
47363
+ "text": "string"
47364
+ }
47365
+ }
47366
+ ],
47299
47367
  "inheritedFrom": {
47300
- "name": "SbbLinkBaseElement",
47301
- "module": "core/base-elements/link-base-element.js"
47368
+ "name": "SbbIconNameMixin",
47369
+ "module": "icon/icon-name-mixin.js"
47370
+ }
47371
+ },
47372
+ {
47373
+ "kind": "method",
47374
+ "name": "renderIconName",
47375
+ "privacy": "protected",
47376
+ "return": {
47377
+ "type": {
47378
+ "text": "string"
47379
+ }
47380
+ },
47381
+ "inheritedFrom": {
47382
+ "name": "SbbIconNameMixin",
47383
+ "module": "icon/icon-name-mixin.js"
47384
+ }
47385
+ },
47386
+ {
47387
+ "kind": "method",
47388
+ "name": "_renderIconName",
47389
+ "privacy": "private",
47390
+ "return": {
47391
+ "type": {
47392
+ "text": "string"
47393
+ }
47394
+ },
47395
+ "inheritedFrom": {
47396
+ "name": "SbbIconNameMixin",
47397
+ "module": "icon/icon-name-mixin.js"
47302
47398
  }
47303
47399
  },
47304
47400
  {
47305
47401
  "kind": "field",
47306
- "name": "anchorRole",
47402
+ "name": "disabled",
47403
+ "privacy": "public",
47404
+ "description": "Whether the component is disabled.",
47405
+ "default": "false",
47307
47406
  "type": {
47308
- "text": "string | null"
47407
+ "text": "boolean"
47309
47408
  },
47310
- "privacy": "protected",
47311
- "readonly": true,
47312
- "default": "null",
47409
+ "attribute": "disabled",
47410
+ "reflects": true,
47313
47411
  "inheritedFrom": {
47314
- "name": "SbbLinkBaseElement",
47315
- "module": "core/base-elements/link-base-element.js"
47412
+ "name": "SbbDisabledMixin",
47413
+ "module": "core/mixins/disabled-mixin.js"
47316
47414
  }
47317
47415
  },
47318
47416
  {
47319
47417
  "kind": "field",
47320
- "name": "_evaluateRelAttribute",
47418
+ "name": "#disabled",
47321
47419
  "privacy": "private",
47420
+ "type": {
47421
+ "text": "boolean"
47422
+ },
47423
+ "default": "false",
47322
47424
  "inheritedFrom": {
47323
- "name": "SbbLinkBaseElement",
47324
- "module": "core/base-elements/link-base-element.js"
47425
+ "name": "SbbDisabledMixin",
47426
+ "module": "core/mixins/disabled-mixin.js"
47325
47427
  }
47326
47428
  },
47327
47429
  {
47328
47430
  "kind": "method",
47329
- "name": "renderLink",
47431
+ "name": "isDisabledExternally",
47330
47432
  "privacy": "protected",
47331
47433
  "return": {
47332
47434
  "type": {
47333
- "text": "TemplateResult"
47435
+ "text": "boolean"
47334
47436
  }
47335
47437
  },
47336
- "parameters": [
47337
- {
47338
- "name": "renderContent",
47339
- "type": {
47340
- "text": "TemplateResult"
47341
- }
47342
- }
47343
- ],
47438
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
47344
47439
  "inheritedFrom": {
47345
- "name": "SbbLinkBaseElement",
47346
- "module": "core/base-elements/link-base-element.js"
47440
+ "name": "SbbDisabledMixin",
47441
+ "module": "core/mixins/disabled-mixin.js"
47347
47442
  }
47348
47443
  },
47349
47444
  {
@@ -47638,20 +47733,16 @@
47638
47733
  "name": "SbbButtonCommonElementMixin",
47639
47734
  "module": "button/common/button-common.js"
47640
47735
  },
47641
- {
47642
- "name": "SbbDisabledInteractiveMixin",
47643
- "module": "core.js"
47644
- },
47645
47736
  {
47646
47737
  "name": "SbbDisabledMixin",
47647
47738
  "module": "core.js"
47648
47739
  }
47649
47740
  ],
47650
47741
  "superclass": {
47651
- "name": "SbbLinkBaseElement",
47742
+ "name": "SbbActionBaseElement",
47652
47743
  "module": "core.js"
47653
47744
  },
47654
- "tagName": "sbb-button-link",
47745
+ "tagName": "sbb-button-static",
47655
47746
  "customElement": true,
47656
47747
  "attributes": [
47657
47748
  {
@@ -47706,19 +47797,6 @@
47706
47797
  "module": "icon/icon-name-mixin.js"
47707
47798
  }
47708
47799
  },
47709
- {
47710
- "name": "disabled-interactive",
47711
- "type": {
47712
- "text": "boolean"
47713
- },
47714
- "default": "false",
47715
- "description": "Whether the button should be aria-disabled but stay interactive.",
47716
- "fieldName": "disabledInteractive",
47717
- "inheritedFrom": {
47718
- "name": "SbbDisabledInteractiveMixin",
47719
- "module": "core/mixins/disabled-mixin.js"
47720
- }
47721
- },
47722
47800
  {
47723
47801
  "name": "disabled",
47724
47802
  "description": "Whether the component is disabled.",
@@ -47731,84 +47809,6 @@
47731
47809
  "name": "SbbDisabledMixin",
47732
47810
  "module": "core/mixins/disabled-mixin.js"
47733
47811
  }
47734
- },
47735
- {
47736
- "name": "href",
47737
- "type": {
47738
- "text": "string"
47739
- },
47740
- "default": "''",
47741
- "description": "The href value you want to link to.",
47742
- "fieldName": "href",
47743
- "inheritedFrom": {
47744
- "name": "SbbLinkBaseElement",
47745
- "module": "core/base-elements/link-base-element.js"
47746
- }
47747
- },
47748
- {
47749
- "name": "target",
47750
- "type": {
47751
- "text": "LinkTargetType | string"
47752
- },
47753
- "default": "''",
47754
- "description": "Where to display the linked URL.",
47755
- "fieldName": "target",
47756
- "inheritedFrom": {
47757
- "name": "SbbLinkBaseElement",
47758
- "module": "core/base-elements/link-base-element.js"
47759
- }
47760
- },
47761
- {
47762
- "name": "rel",
47763
- "type": {
47764
- "text": "string"
47765
- },
47766
- "default": "''",
47767
- "description": "The relationship of the linked URL as space-separated link types.",
47768
- "fieldName": "rel",
47769
- "inheritedFrom": {
47770
- "name": "SbbLinkBaseElement",
47771
- "module": "core/base-elements/link-base-element.js"
47772
- }
47773
- },
47774
- {
47775
- "name": "download",
47776
- "type": {
47777
- "text": "boolean"
47778
- },
47779
- "default": "false",
47780
- "description": "Whether the browser will show the download dialog on click.",
47781
- "fieldName": "download",
47782
- "inheritedFrom": {
47783
- "name": "SbbLinkBaseElement",
47784
- "module": "core/base-elements/link-base-element.js"
47785
- }
47786
- },
47787
- {
47788
- "name": "accessibility-label",
47789
- "type": {
47790
- "text": "string"
47791
- },
47792
- "default": "''",
47793
- "description": "This will be forwarded as aria-label to the inner anchor element.",
47794
- "fieldName": "accessibilityLabel",
47795
- "inheritedFrom": {
47796
- "name": "SbbLinkBaseElement",
47797
- "module": "core/base-elements/link-base-element.js"
47798
- }
47799
- },
47800
- {
47801
- "name": "accessibility-current",
47802
- "type": {
47803
- "text": "string"
47804
- },
47805
- "default": "''",
47806
- "description": "This will be forwarded as aria-current to the inner anchor element.",
47807
- "fieldName": "accessibilityCurrent",
47808
- "inheritedFrom": {
47809
- "name": "SbbLinkBaseElement",
47810
- "module": "core/base-elements/link-base-element.js"
47811
- }
47812
47812
  }
47813
47813
  ]
47814
47814
  }
@@ -47816,10 +47816,10 @@
47816
47816
  "exports": [
47817
47817
  {
47818
47818
  "kind": "js",
47819
- "name": "SbbButtonLinkElement",
47819
+ "name": "SbbButtonStaticElement",
47820
47820
  "declaration": {
47821
- "name": "SbbButtonLinkElement",
47822
- "module": "button/button-link/button-link.component.js"
47821
+ "name": "SbbButtonStaticElement",
47822
+ "module": "button/button-static/button-static.component.js"
47823
47823
  }
47824
47824
  }
47825
47825
  ]