@sbb-esta/lyne-elements-dev 4.7.0-dev.1773648656 → 4.7.0-dev.1773670966

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 +746 -746
  2. package/package.json +2 -2
@@ -101603,12 +101603,12 @@
101603
101603
  },
101604
101604
  {
101605
101605
  "kind": "javascript-module",
101606
- "path": "menu/menu-link/menu-link.component.js",
101606
+ "path": "menu/menu-button/menu-button.component.js",
101607
101607
  "declarations": [
101608
101608
  {
101609
101609
  "kind": "class",
101610
- "description": "It displays a link element that can be used in the `sbb-menu` component.",
101611
- "name": "SbbMenuLinkElement",
101610
+ "description": "It displays a button element that can be used in the `sbb-menu` component.",
101611
+ "name": "SbbMenuButtonElement",
101612
101612
  "cssProperties": [
101613
101613
  {
101614
101614
  "description": "Can be used to modify horizontal padding.",
@@ -101618,7 +101618,7 @@
101618
101618
  ],
101619
101619
  "slots": [
101620
101620
  {
101621
- "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
101621
+ "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
101622
101622
  "name": ""
101623
101623
  },
101624
101624
  {
@@ -101640,20 +101640,21 @@
101640
101640
  "name": "SbbElement",
101641
101641
  "module": "core/base-elements/element.js"
101642
101642
  },
101643
- "default": "'sbb-menu-link'"
101643
+ "default": "'sbb-menu-button'"
101644
101644
  },
101645
101645
  {
101646
101646
  "kind": "field",
101647
- "name": "anchorRole",
101647
+ "name": "role",
101648
101648
  "type": {
101649
- "text": "string"
101649
+ "text": "ElementInternals['role']"
101650
101650
  },
101651
- "privacy": "protected",
101651
+ "privacy": "public",
101652
+ "static": true,
101652
101653
  "readonly": true,
101653
101654
  "default": "'menuitem'",
101654
101655
  "inheritedFrom": {
101655
- "name": "SbbLinkBaseElement",
101656
- "module": "core/base-elements/link-base-element.js"
101656
+ "name": "SbbButtonLikeBaseElement",
101657
+ "module": "core/base-elements/button-base-element.js"
101657
101658
  }
101658
101659
  },
101659
101660
  {
@@ -101672,6 +101673,50 @@
101672
101673
  "module": "core/mixins/disabled-mixin.js"
101673
101674
  }
101674
101675
  },
101676
+ {
101677
+ "kind": "field",
101678
+ "name": "disabled",
101679
+ "privacy": "public",
101680
+ "description": "Whether the component is disabled.",
101681
+ "default": "false",
101682
+ "type": {
101683
+ "text": "boolean"
101684
+ },
101685
+ "attribute": "disabled",
101686
+ "reflects": true,
101687
+ "inheritedFrom": {
101688
+ "name": "SbbDisabledMixin",
101689
+ "module": "core/mixins/disabled-mixin.js"
101690
+ }
101691
+ },
101692
+ {
101693
+ "kind": "field",
101694
+ "name": "#disabled",
101695
+ "privacy": "private",
101696
+ "type": {
101697
+ "text": "boolean"
101698
+ },
101699
+ "default": "false",
101700
+ "inheritedFrom": {
101701
+ "name": "SbbDisabledMixin",
101702
+ "module": "core/mixins/disabled-mixin.js"
101703
+ }
101704
+ },
101705
+ {
101706
+ "kind": "method",
101707
+ "name": "isDisabledExternally",
101708
+ "privacy": "protected",
101709
+ "return": {
101710
+ "type": {
101711
+ "text": "boolean"
101712
+ }
101713
+ },
101714
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
101715
+ "inheritedFrom": {
101716
+ "name": "SbbDisabledMixin",
101717
+ "module": "core/mixins/disabled-mixin.js"
101718
+ }
101719
+ },
101675
101720
  {
101676
101721
  "kind": "field",
101677
101722
  "name": "styles",
@@ -101769,528 +101814,452 @@
101769
101814
  },
101770
101815
  {
101771
101816
  "kind": "field",
101772
- "name": "disabled",
101773
- "privacy": "public",
101774
- "description": "Whether the component is disabled.",
101775
- "default": "false",
101817
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
101776
101818
  "type": {
101777
- "text": "boolean"
101819
+ "text": "array"
101778
101820
  },
101779
- "attribute": "disabled",
101780
- "reflects": true,
101781
- "inheritedFrom": {
101782
- "name": "SbbDisabledMixin",
101783
- "module": "core/mixins/disabled-mixin.js"
101784
- }
101785
- },
101786
- {
101787
- "kind": "field",
101788
- "name": "#disabled",
101789
101821
  "privacy": "private",
101790
- "type": {
101791
- "text": "boolean"
101792
- },
101793
- "default": "false",
101794
- "inheritedFrom": {
101795
- "name": "SbbDisabledMixin",
101796
- "module": "core/mixins/disabled-mixin.js"
101797
- }
101798
- },
101799
- {
101800
- "kind": "method",
101801
- "name": "isDisabledExternally",
101802
- "privacy": "protected",
101803
- "return": {
101804
- "type": {
101805
- "text": "boolean"
101806
- }
101807
- },
101808
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
101822
+ "readonly": true,
101823
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
101809
101824
  "inheritedFrom": {
101810
- "name": "SbbDisabledMixin",
101811
- "module": "core/mixins/disabled-mixin.js"
101825
+ "name": "SbbButtonBaseElement",
101826
+ "module": "core/base-elements/button-base-element.js"
101812
101827
  }
101813
101828
  },
101814
101829
  {
101815
101830
  "kind": "field",
101816
- "name": "href",
101831
+ "name": "value",
101817
101832
  "type": {
101818
101833
  "text": "string"
101819
101834
  },
101820
101835
  "privacy": "public",
101821
- "default": "''",
101822
- "description": "The href value you want to link to.",
101823
- "attribute": "href",
101824
- "reflects": true,
101825
101836
  "inheritedFrom": {
101826
- "name": "SbbLinkBaseElement",
101827
- "module": "core/base-elements/link-base-element.js"
101828
- }
101829
- },
101830
- {
101831
- "kind": "field",
101832
- "name": "target",
101833
- "type": {
101834
- "text": "LinkTargetType | string"
101837
+ "name": "SbbButtonBaseElement",
101838
+ "module": "core/base-elements/button-base-element.js"
101835
101839
  },
101836
- "privacy": "public",
101837
101840
  "default": "''",
101838
- "description": "Where to display the linked URL.",
101839
- "attribute": "target",
101840
- "reflects": true,
101841
- "inheritedFrom": {
101842
- "name": "SbbLinkBaseElement",
101843
- "module": "core/base-elements/link-base-element.js"
101844
- }
101841
+ "description": "Value of the form element.",
101842
+ "attribute": "value"
101845
101843
  },
101846
101844
  {
101847
101845
  "kind": "field",
101848
- "name": "rel",
101849
- "type": {
101850
- "text": "string"
101851
- },
101846
+ "name": "type",
101852
101847
  "privacy": "public",
101853
- "default": "''",
101854
- "description": "The relationship of the linked URL as space-separated link types.",
101855
- "attribute": "rel",
101856
- "reflects": true,
101857
- "inheritedFrom": {
101858
- "name": "SbbLinkBaseElement",
101859
- "module": "core/base-elements/link-base-element.js"
101860
- }
101861
- },
101862
- {
101863
- "kind": "field",
101864
- "name": "download",
101848
+ "description": "The type attribute to use for the button.",
101849
+ "default": "'button'",
101865
101850
  "type": {
101866
- "text": "boolean"
101851
+ "text": "SbbButtonType"
101867
101852
  },
101868
- "privacy": "public",
101869
- "default": "false",
101870
- "description": "Whether the browser will show the download dialog on click.",
101871
- "attribute": "download",
101872
- "reflects": true,
101853
+ "attribute": "type",
101873
101854
  "inheritedFrom": {
101874
- "name": "SbbLinkBaseElement",
101875
- "module": "core/base-elements/link-base-element.js"
101855
+ "name": "SbbButtonBaseElement",
101856
+ "module": "core/base-elements/button-base-element.js"
101876
101857
  }
101877
101858
  },
101878
101859
  {
101879
101860
  "kind": "field",
101880
- "name": "accessibilityLabel",
101861
+ "name": "form",
101881
101862
  "type": {
101882
- "text": "string"
101863
+ "text": "HTMLFormElement | null"
101883
101864
  },
101884
101865
  "privacy": "public",
101885
- "default": "''",
101886
- "description": "This will be forwarded as aria-label to the inner anchor element.",
101887
- "attribute": "accessibility-label",
101866
+ "description": "The `<form>` element to associate the button with.",
101888
101867
  "inheritedFrom": {
101889
- "name": "SbbLinkBaseElement",
101890
- "module": "core/base-elements/link-base-element.js"
101891
- }
101868
+ "name": "SbbButtonBaseElement",
101869
+ "module": "core/base-elements/button-base-element.js"
101870
+ },
101871
+ "attribute": "form"
101892
101872
  },
101893
101873
  {
101894
101874
  "kind": "field",
101895
- "name": "accessibilityCurrent",
101875
+ "name": "_formId",
101896
101876
  "type": {
101897
101877
  "text": "string"
101898
101878
  },
101899
- "privacy": "public",
101879
+ "privacy": "private",
101900
101880
  "default": "''",
101901
- "description": "This will be forwarded as aria-current to the inner anchor element.",
101902
- "attribute": "accessibility-current",
101903
- "inheritedFrom": {
101904
- "name": "SbbLinkBaseElement",
101905
- "module": "core/base-elements/link-base-element.js"
101906
- }
101907
- },
101908
- {
101909
- "kind": "field",
101910
- "name": "language",
101911
- "privacy": "protected",
101912
- "default": "new SbbLanguageController(this)",
101913
101881
  "inheritedFrom": {
101914
- "name": "SbbLinkBaseElement",
101915
- "module": "core/base-elements/link-base-element.js"
101882
+ "name": "SbbButtonBaseElement",
101883
+ "module": "core/base-elements/button-base-element.js"
101916
101884
  }
101917
101885
  },
101918
101886
  {
101919
101887
  "kind": "field",
101920
- "name": "_evaluateRelAttribute",
101888
+ "name": "_handleButtonClick",
101921
101889
  "privacy": "private",
101922
101890
  "inheritedFrom": {
101923
- "name": "SbbLinkBaseElement",
101924
- "module": "core/base-elements/link-base-element.js"
101891
+ "name": "SbbButtonBaseElement",
101892
+ "module": "core/base-elements/button-base-element.js"
101925
101893
  }
101926
101894
  },
101927
101895
  {
101928
101896
  "kind": "method",
101929
- "name": "renderLink",
101930
- "privacy": "protected",
101897
+ "name": "_requestSubmit",
101898
+ "privacy": "private",
101931
101899
  "return": {
101932
101900
  "type": {
101933
- "text": "TemplateResult"
101901
+ "text": "void"
101934
101902
  }
101935
101903
  },
101936
101904
  "parameters": [
101937
101905
  {
101938
- "name": "renderContent",
101906
+ "name": "form",
101939
101907
  "type": {
101940
- "text": "TemplateResult"
101908
+ "text": "HTMLFormElement"
101941
101909
  }
101942
101910
  }
101943
101911
  ],
101944
101912
  "inheritedFrom": {
101945
- "name": "SbbLinkBaseElement",
101946
- "module": "core/base-elements/link-base-element.js"
101913
+ "name": "SbbButtonBaseElement",
101914
+ "module": "core/base-elements/button-base-element.js"
101947
101915
  }
101948
101916
  },
101949
101917
  {
101950
101918
  "kind": "field",
101951
- "name": "maybeDisabled",
101919
+ "name": "_formKeyDown",
101920
+ "privacy": "private",
101921
+ "inheritedFrom": {
101922
+ "name": "SbbButtonBaseElement",
101923
+ "module": "core/base-elements/button-base-element.js"
101924
+ }
101925
+ },
101926
+ {
101927
+ "kind": "field",
101928
+ "name": "formAssociated",
101952
101929
  "type": {
101953
- "text": "boolean | undefined"
101930
+ "text": "boolean"
101954
101931
  },
101955
- "privacy": "protected",
101956
- "readonly": true,
101932
+ "privacy": "public",
101933
+ "static": true,
101934
+ "default": "true",
101957
101935
  "inheritedFrom": {
101958
- "name": "SbbActionBaseElement",
101959
- "module": "core/base-elements/action-base-element.js"
101936
+ "name": "SbbFormAssociatedMixin",
101937
+ "module": "core/mixins/form-associated-mixin.js"
101960
101938
  }
101961
101939
  },
101962
101940
  {
101963
101941
  "kind": "field",
101964
- "name": "maybeDisabledInteractive",
101942
+ "name": "name",
101943
+ "privacy": "public",
101944
+ "description": "Name of the form element. Will be read from name attribute.",
101965
101945
  "type": {
101966
- "text": "boolean | undefined"
101946
+ "text": "string"
101967
101947
  },
101968
- "privacy": "protected",
101969
- "readonly": true,
101948
+ "attribute": "name",
101970
101949
  "inheritedFrom": {
101971
- "name": "SbbActionBaseElement",
101972
- "module": "core/base-elements/action-base-element.js"
101950
+ "name": "SbbFormAssociatedMixin",
101951
+ "module": "core/mixins/form-associated-mixin.js"
101973
101952
  }
101974
101953
  },
101975
101954
  {
101976
- "kind": "method",
101977
- "name": "setupBaseEventHandlers",
101978
- "privacy": "protected",
101979
- "return": {
101980
- "type": {
101981
- "text": "void"
101982
- }
101955
+ "kind": "field",
101956
+ "name": "validity",
101957
+ "type": {
101958
+ "text": "ValidityState"
101983
101959
  },
101960
+ "privacy": "public",
101961
+ "description": "Returns the ValidityState object for this element.",
101962
+ "readonly": true,
101984
101963
  "inheritedFrom": {
101985
- "name": "SbbActionBaseElement",
101986
- "module": "core/base-elements/action-base-element.js"
101964
+ "name": "SbbFormAssociatedMixin",
101965
+ "module": "core/mixins/form-associated-mixin.js"
101987
101966
  }
101988
101967
  },
101989
101968
  {
101990
101969
  "kind": "field",
101991
- "name": "_hydrationRequired",
101970
+ "name": "validationMessage",
101992
101971
  "type": {
101993
- "text": "boolean"
101972
+ "text": "string"
101994
101973
  },
101995
- "privacy": "private",
101996
- "default": "!!this.shadowRoot",
101974
+ "privacy": "public",
101975
+ "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.",
101976
+ "readonly": true,
101997
101977
  "inheritedFrom": {
101998
- "name": "SbbElement",
101999
- "module": "core/base-elements/element.js"
101978
+ "name": "SbbFormAssociatedMixin",
101979
+ "module": "core/mixins/form-associated-mixin.js"
102000
101980
  }
102001
101981
  },
102002
101982
  {
102003
101983
  "kind": "field",
102004
- "name": "_hydrationComplete",
102005
- "privacy": "private",
102006
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
101984
+ "name": "willValidate",
101985
+ "type": {
101986
+ "text": "boolean"
101987
+ },
101988
+ "privacy": "public",
101989
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
101990
+ "readonly": true,
102007
101991
  "inheritedFrom": {
102008
- "name": "SbbElement",
102009
- "module": "core/base-elements/element.js"
101992
+ "name": "SbbFormAssociatedMixin",
101993
+ "module": "core/mixins/form-associated-mixin.js"
102010
101994
  }
102011
101995
  },
102012
101996
  {
102013
101997
  "kind": "field",
102014
- "name": "_resolveHydration",
102015
- "type": {
102016
- "text": "(hydrationRequired: boolean) => void"
102017
- },
101998
+ "name": "_validityStates",
102018
101999
  "privacy": "private",
102000
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
102019
102001
  "inheritedFrom": {
102020
- "name": "SbbElement",
102021
- "module": "core/base-elements/element.js"
102002
+ "name": "SbbFormAssociatedMixin",
102003
+ "module": "core/mixins/form-associated-mixin.js"
102022
102004
  }
102023
102005
  },
102024
102006
  {
102025
102007
  "kind": "field",
102026
- "name": "hydrationRequired",
102008
+ "name": "formDisabled",
102027
102009
  "type": {
102028
102010
  "text": "boolean"
102029
102011
  },
102030
102012
  "privacy": "protected",
102031
- "description": "Returns whether hydration is required and not completed.",
102032
- "readonly": true,
102013
+ "default": "false",
102014
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
102033
102015
  "inheritedFrom": {
102034
- "name": "SbbElement",
102035
- "module": "core/base-elements/element.js"
102036
- },
102037
- "default": "!!this.shadowRoot"
102016
+ "name": "SbbFormAssociatedMixin",
102017
+ "module": "core/mixins/form-associated-mixin.js"
102018
+ }
102038
102019
  },
102039
102020
  {
102040
102021
  "kind": "method",
102041
- "name": "toggleState",
102042
- "privacy": "protected",
102022
+ "name": "checkValidity",
102023
+ "privacy": "public",
102043
102024
  "return": {
102044
102025
  "type": {
102045
- "text": "void"
102026
+ "text": "boolean"
102046
102027
  }
102047
102028
  },
102048
- "parameters": [
102049
- {
102050
- "name": "value",
102051
- "type": {
102052
- "text": "string"
102053
- }
102054
- },
102055
- {
102056
- "name": "force",
102057
- "optional": true,
102058
- "type": {
102059
- "text": "boolean"
102060
- }
102061
- }
102062
- ],
102029
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
102063
102030
  "inheritedFrom": {
102064
- "name": "SbbElement",
102065
- "module": "core/base-elements/element.js"
102031
+ "name": "SbbFormAssociatedMixin",
102032
+ "module": "core/mixins/form-associated-mixin.js"
102066
102033
  }
102067
102034
  },
102068
102035
  {
102069
- "kind": "field",
102070
- "name": "['_$sbbElement$']",
102071
- "type": {
102072
- "text": "boolean"
102073
- },
102036
+ "kind": "method",
102037
+ "name": "reportValidity",
102074
102038
  "privacy": "public",
102075
- "static": true,
102076
- "default": "true",
102039
+ "return": {
102040
+ "type": {
102041
+ "text": "boolean"
102042
+ }
102043
+ },
102044
+ "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.",
102077
102045
  "inheritedFrom": {
102078
- "name": "SbbElement",
102079
- "module": "core/base-elements/element.js"
102046
+ "name": "SbbFormAssociatedMixin",
102047
+ "module": "core/mixins/form-associated-mixin.js"
102080
102048
  }
102081
102049
  },
102082
102050
  {
102083
- "kind": "field",
102084
- "name": "_controllers",
102085
- "type": {
102086
- "text": "Set<SbbReactiveController> | undefined"
102051
+ "kind": "method",
102052
+ "name": "setCustomValidity",
102053
+ "privacy": "public",
102054
+ "return": {
102055
+ "type": {
102056
+ "text": "void"
102057
+ }
102087
102058
  },
102088
- "privacy": "private",
102059
+ "parameters": [
102060
+ {
102061
+ "name": "message",
102062
+ "type": {
102063
+ "text": "string"
102064
+ }
102065
+ }
102066
+ ],
102067
+ "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.",
102089
102068
  "inheritedFrom": {
102090
- "name": "SbbElement",
102091
- "module": "core/base-elements/element.js"
102069
+ "name": "SbbFormAssociatedMixin",
102070
+ "module": "core/mixins/form-associated-mixin.js"
102092
102071
  }
102093
- }
102094
- ],
102095
- "mixins": [
102096
- {
102097
- "name": "SbbDisabledInteractiveMixin",
102098
- "module": "core/mixins.js"
102099
102072
  },
102100
102073
  {
102101
- "name": "SbbMenuActionCommonElementMixin",
102102
- "module": "menu/common/menu-action-common.js"
102103
- }
102104
- ],
102105
- "superclass": {
102106
- "name": "SbbLinkBaseElement",
102107
- "module": "core/base-elements.js"
102108
- },
102109
- "tagName": "sbb-menu-link",
102110
- "customElement": true,
102111
- "attributes": [
102112
- {
102113
- "name": "disabled-interactive",
102114
- "type": {
102115
- "text": "boolean"
102074
+ "kind": "method",
102075
+ "name": "_hasDisabledAncestor",
102076
+ "privacy": "private",
102077
+ "return": {
102078
+ "type": {
102079
+ "text": "boolean"
102080
+ }
102116
102081
  },
102117
- "default": "false",
102118
- "description": "Whether the button should be aria-disabled but stay interactive.",
102119
- "fieldName": "disabledInteractive",
102120
102082
  "inheritedFrom": {
102121
- "name": "SbbDisabledInteractiveMixin",
102122
- "module": "core/mixins/disabled-mixin.js"
102083
+ "name": "SbbFormAssociatedMixin",
102084
+ "module": "core/mixins/form-associated-mixin.js"
102123
102085
  }
102124
102086
  },
102125
102087
  {
102126
- "name": "icon-name",
102127
- "type": {
102128
- "text": "string"
102088
+ "kind": "method",
102089
+ "name": "updateFormValue",
102090
+ "privacy": "protected",
102091
+ "return": {
102092
+ "type": {
102093
+ "text": "void"
102094
+ }
102129
102095
  },
102130
- "default": "''",
102131
- "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.",
102132
- "fieldName": "iconName",
102096
+ "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",
102133
102097
  "inheritedFrom": {
102134
- "name": "SbbIconNameMixin",
102135
- "module": "icon/icon-name-mixin.js"
102098
+ "name": "SbbFormAssociatedMixin",
102099
+ "module": "core/mixins/form-associated-mixin.js"
102136
102100
  }
102137
102101
  },
102138
102102
  {
102139
- "name": "disabled",
102140
- "description": "Whether the component is disabled.",
102141
- "default": "false",
102142
- "type": {
102143
- "text": "boolean"
102103
+ "kind": "method",
102104
+ "name": "formState",
102105
+ "privacy": "protected",
102106
+ "return": {
102107
+ "type": {
102108
+ "text": "FormRestoreState"
102109
+ }
102144
102110
  },
102145
- "fieldName": "disabled",
102146
102111
  "inheritedFrom": {
102147
- "name": "SbbDisabledMixin",
102148
- "module": "core/mixins/disabled-mixin.js"
102112
+ "name": "SbbFormAssociatedMixin",
102113
+ "module": "core/mixins/form-associated-mixin.js"
102149
102114
  }
102150
102115
  },
102151
102116
  {
102152
- "name": "href",
102153
- "type": {
102154
- "text": "string"
102117
+ "kind": "method",
102118
+ "name": "setValidityFlag",
102119
+ "privacy": "protected",
102120
+ "return": {
102121
+ "type": {
102122
+ "text": "void"
102123
+ }
102155
102124
  },
102156
- "default": "''",
102157
- "description": "The href value you want to link to.",
102158
- "fieldName": "href",
102125
+ "parameters": [
102126
+ {
102127
+ "name": "flag",
102128
+ "type": {
102129
+ "text": "T"
102130
+ }
102131
+ },
102132
+ {
102133
+ "name": "message",
102134
+ "type": {
102135
+ "text": "string"
102136
+ }
102137
+ },
102138
+ {
102139
+ "name": "flagValue",
102140
+ "optional": true,
102141
+ "type": {
102142
+ "text": "ValidityStateFlags[T]"
102143
+ }
102144
+ }
102145
+ ],
102146
+ "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).",
102159
102147
  "inheritedFrom": {
102160
- "name": "SbbLinkBaseElement",
102161
- "module": "core/base-elements/link-base-element.js"
102148
+ "name": "SbbFormAssociatedMixin",
102149
+ "module": "core/mixins/form-associated-mixin.js"
102162
102150
  }
102163
102151
  },
102164
102152
  {
102165
- "name": "target",
102166
- "type": {
102167
- "text": "LinkTargetType | string"
102153
+ "kind": "method",
102154
+ "name": "removeValidityFlag",
102155
+ "privacy": "protected",
102156
+ "return": {
102157
+ "type": {
102158
+ "text": "void"
102159
+ }
102168
102160
  },
102169
- "default": "''",
102170
- "description": "Where to display the linked URL.",
102171
- "fieldName": "target",
102161
+ "parameters": [
102162
+ {
102163
+ "name": "flag",
102164
+ "type": {
102165
+ "text": "T"
102166
+ }
102167
+ }
102168
+ ],
102169
+ "description": "Removes the validity state flag entry and updates validity state.",
102172
102170
  "inheritedFrom": {
102173
- "name": "SbbLinkBaseElement",
102174
- "module": "core/base-elements/link-base-element.js"
102171
+ "name": "SbbFormAssociatedMixin",
102172
+ "module": "core/mixins/form-associated-mixin.js"
102175
102173
  }
102176
102174
  },
102177
102175
  {
102178
- "name": "rel",
102179
- "type": {
102180
- "text": "string"
102176
+ "kind": "method",
102177
+ "name": "validate",
102178
+ "privacy": "protected",
102179
+ "return": {
102180
+ "type": {
102181
+ "text": "void"
102182
+ }
102181
102183
  },
102182
- "default": "''",
102183
- "description": "The relationship of the linked URL as space-separated link types.",
102184
- "fieldName": "rel",
102184
+ "description": "To be called whenever the current element needs to be validated.",
102185
102185
  "inheritedFrom": {
102186
- "name": "SbbLinkBaseElement",
102187
- "module": "core/base-elements/link-base-element.js"
102186
+ "name": "SbbFormAssociatedMixin",
102187
+ "module": "core/mixins/form-associated-mixin.js"
102188
102188
  }
102189
102189
  },
102190
102190
  {
102191
- "name": "download",
102192
- "type": {
102193
- "text": "boolean"
102191
+ "kind": "method",
102192
+ "name": "shouldValidate",
102193
+ "privacy": "protected",
102194
+ "return": {
102195
+ "type": {
102196
+ "text": "boolean"
102197
+ }
102194
102198
  },
102195
- "default": "false",
102196
- "description": "Whether the browser will show the download dialog on click.",
102197
- "fieldName": "download",
102199
+ "parameters": [
102200
+ {
102201
+ "name": "name",
102202
+ "type": {
102203
+ "text": "PropertyKey | undefined"
102204
+ }
102205
+ }
102206
+ ],
102207
+ "description": "Whether validation should be run on a property change with the given name.",
102198
102208
  "inheritedFrom": {
102199
- "name": "SbbLinkBaseElement",
102200
- "module": "core/base-elements/link-base-element.js"
102209
+ "name": "SbbFormAssociatedMixin",
102210
+ "module": "core/mixins/form-associated-mixin.js"
102201
102211
  }
102202
102212
  },
102203
102213
  {
102204
- "name": "accessibility-label",
102205
- "type": {
102206
- "text": "string"
102214
+ "kind": "method",
102215
+ "name": "_setInternalValidity",
102216
+ "privacy": "private",
102217
+ "return": {
102218
+ "type": {
102219
+ "text": "void"
102220
+ }
102207
102221
  },
102208
- "default": "''",
102209
- "description": "This will be forwarded as aria-label to the inner anchor element.",
102210
- "fieldName": "accessibilityLabel",
102211
102222
  "inheritedFrom": {
102212
- "name": "SbbLinkBaseElement",
102213
- "module": "core/base-elements/link-base-element.js"
102223
+ "name": "SbbFormAssociatedMixin",
102224
+ "module": "core/mixins/form-associated-mixin.js"
102214
102225
  }
102215
102226
  },
102216
102227
  {
102217
- "name": "accessibility-current",
102218
- "type": {
102219
- "text": "string"
102220
- },
102221
- "default": "''",
102222
- "description": "This will be forwarded as aria-current to the inner anchor element.",
102223
- "fieldName": "accessibilityCurrent",
102228
+ "kind": "field",
102229
+ "name": "_preventScrollOnSpaceKeydown",
102230
+ "privacy": "private",
102231
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
102232
+ "parameters": [
102233
+ {
102234
+ "description": "The origin event.",
102235
+ "name": "event"
102236
+ }
102237
+ ],
102224
102238
  "inheritedFrom": {
102225
- "name": "SbbLinkBaseElement",
102226
- "module": "core/base-elements/link-base-element.js"
102239
+ "name": "SbbButtonLikeBaseElement",
102240
+ "module": "core/base-elements/button-base-element.js"
102227
102241
  }
102228
- }
102229
- ]
102230
- }
102231
- ],
102232
- "exports": [
102233
- {
102234
- "kind": "js",
102235
- "name": "SbbMenuLinkElement",
102236
- "declaration": {
102237
- "name": "SbbMenuLinkElement",
102238
- "module": "menu/menu-link/menu-link.component.js"
102239
- }
102240
- }
102241
- ]
102242
- },
102243
- {
102244
- "kind": "javascript-module",
102245
- "path": "menu/menu-button/menu-button.component.js",
102246
- "declarations": [
102247
- {
102248
- "kind": "class",
102249
- "description": "It displays a button element that can be used in the `sbb-menu` component.",
102250
- "name": "SbbMenuButtonElement",
102251
- "cssProperties": [
102252
- {
102253
- "description": "Can be used to modify horizontal padding.",
102254
- "name": "--sbb-menu-action-outer-horizontal-padding",
102255
- "default": "var(--sbb-spacing-fixed-3x)"
102256
- }
102257
- ],
102258
- "slots": [
102259
- {
102260
- "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
102261
- "name": ""
102262
102242
  },
102263
- {
102264
- "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
102265
- "name": "icon"
102266
- }
102267
- ],
102268
- "members": [
102269
102243
  {
102270
102244
  "kind": "field",
102271
- "name": "elementName",
102272
- "type": {
102273
- "text": "string"
102274
- },
102275
- "privacy": "public",
102276
- "static": true,
102277
- "readonly": true,
102245
+ "name": "_removeActiveMarker",
102246
+ "privacy": "private",
102278
102247
  "inheritedFrom": {
102279
- "name": "SbbElement",
102280
- "module": "core/base-elements/element.js"
102281
- },
102282
- "default": "'sbb-menu-button'"
102248
+ "name": "SbbButtonLikeBaseElement",
102249
+ "module": "core/base-elements/button-base-element.js"
102250
+ }
102283
102251
  },
102284
102252
  {
102285
102253
  "kind": "field",
102286
- "name": "role",
102287
- "type": {
102288
- "text": "ElementInternals['role']"
102289
- },
102290
- "privacy": "public",
102291
- "static": true,
102292
- "readonly": true,
102293
- "default": "'menuitem'",
102254
+ "name": "_dispatchClickEventOnSpaceKeyup",
102255
+ "privacy": "private",
102256
+ "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.",
102257
+ "parameters": [
102258
+ {
102259
+ "description": "The origin event.",
102260
+ "name": "event"
102261
+ }
102262
+ ],
102294
102263
  "inheritedFrom": {
102295
102264
  "name": "SbbButtonLikeBaseElement",
102296
102265
  "module": "core/base-elements/button-base-element.js"
@@ -102298,619 +102267,622 @@
102298
102267
  },
102299
102268
  {
102300
102269
  "kind": "field",
102301
- "name": "disabledInteractive",
102302
- "type": {
102303
- "text": "boolean"
102304
- },
102305
- "privacy": "public",
102306
- "default": "false",
102307
- "description": "Whether the button should be aria-disabled but stay interactive.",
102308
- "attribute": "disabled-interactive",
102309
- "reflects": true,
102270
+ "name": "_dispatchClickEvent",
102271
+ "privacy": "private",
102310
102272
  "inheritedFrom": {
102311
- "name": "SbbDisabledInteractiveMixin",
102312
- "module": "core/mixins/disabled-mixin.js"
102273
+ "name": "SbbButtonLikeBaseElement",
102274
+ "module": "core/base-elements/button-base-element.js"
102313
102275
  }
102314
102276
  },
102315
102277
  {
102316
102278
  "kind": "field",
102317
- "name": "disabled",
102318
- "privacy": "public",
102319
- "description": "Whether the component is disabled.",
102320
- "default": "false",
102279
+ "name": "maybeDisabled",
102321
102280
  "type": {
102322
- "text": "boolean"
102281
+ "text": "boolean | undefined"
102323
102282
  },
102324
- "attribute": "disabled",
102325
- "reflects": true,
102283
+ "privacy": "protected",
102284
+ "readonly": true,
102326
102285
  "inheritedFrom": {
102327
- "name": "SbbDisabledMixin",
102328
- "module": "core/mixins/disabled-mixin.js"
102286
+ "name": "SbbActionBaseElement",
102287
+ "module": "core/base-elements/action-base-element.js"
102329
102288
  }
102330
102289
  },
102331
102290
  {
102332
102291
  "kind": "field",
102333
- "name": "#disabled",
102334
- "privacy": "private",
102292
+ "name": "maybeDisabledInteractive",
102335
102293
  "type": {
102336
- "text": "boolean"
102294
+ "text": "boolean | undefined"
102337
102295
  },
102338
- "default": "false",
102296
+ "privacy": "protected",
102297
+ "readonly": true,
102339
102298
  "inheritedFrom": {
102340
- "name": "SbbDisabledMixin",
102341
- "module": "core/mixins/disabled-mixin.js"
102299
+ "name": "SbbActionBaseElement",
102300
+ "module": "core/base-elements/action-base-element.js"
102342
102301
  }
102343
102302
  },
102344
102303
  {
102345
102304
  "kind": "method",
102346
- "name": "isDisabledExternally",
102305
+ "name": "setupBaseEventHandlers",
102347
102306
  "privacy": "protected",
102348
102307
  "return": {
102349
102308
  "type": {
102350
- "text": "boolean"
102309
+ "text": "void"
102351
102310
  }
102352
102311
  },
102353
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
102354
102312
  "inheritedFrom": {
102355
- "name": "SbbDisabledMixin",
102356
- "module": "core/mixins/disabled-mixin.js"
102313
+ "name": "SbbActionBaseElement",
102314
+ "module": "core/base-elements/action-base-element.js"
102357
102315
  }
102358
102316
  },
102359
102317
  {
102360
102318
  "kind": "field",
102361
- "name": "styles",
102319
+ "name": "_hydrationRequired",
102362
102320
  "type": {
102363
- "text": "CSSResultGroup"
102321
+ "text": "boolean"
102364
102322
  },
102365
- "privacy": "public",
102366
- "static": true,
102367
- "default": "[boxSizingStyles, style]",
102323
+ "privacy": "private",
102324
+ "default": "!!this.shadowRoot",
102368
102325
  "inheritedFrom": {
102369
- "name": "SbbMenuActionCommonElementMixin",
102370
- "module": "menu/common/menu-action-common.js"
102326
+ "name": "SbbElement",
102327
+ "module": "core/base-elements/element.js"
102371
102328
  }
102372
102329
  },
102373
102330
  {
102374
- "kind": "method",
102375
- "name": "renderTemplate",
102376
- "privacy": "protected",
102377
- "return": {
102378
- "type": {
102379
- "text": "TemplateResult"
102380
- }
102381
- },
102382
- "description": "Override this method to render the component template.",
102331
+ "kind": "field",
102332
+ "name": "_hydrationComplete",
102333
+ "privacy": "private",
102334
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
102383
102335
  "inheritedFrom": {
102384
- "name": "SbbActionBaseElement",
102385
- "module": "core/base-elements/action-base-element.js"
102336
+ "name": "SbbElement",
102337
+ "module": "core/base-elements/element.js"
102386
102338
  }
102387
102339
  },
102388
102340
  {
102389
102341
  "kind": "field",
102390
- "name": "iconName",
102342
+ "name": "_resolveHydration",
102391
102343
  "type": {
102392
- "text": "string"
102344
+ "text": "(hydrationRequired: boolean) => void"
102393
102345
  },
102394
- "privacy": "public",
102395
- "default": "''",
102396
- "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.",
102397
- "attribute": "icon-name",
102346
+ "privacy": "private",
102398
102347
  "inheritedFrom": {
102399
- "name": "SbbIconNameMixin",
102400
- "module": "icon/icon-name-mixin.js"
102348
+ "name": "SbbElement",
102349
+ "module": "core/base-elements/element.js"
102401
102350
  }
102402
102351
  },
102352
+ {
102353
+ "kind": "field",
102354
+ "name": "hydrationRequired",
102355
+ "type": {
102356
+ "text": "boolean"
102357
+ },
102358
+ "privacy": "protected",
102359
+ "description": "Returns whether hydration is required and not completed.",
102360
+ "readonly": true,
102361
+ "inheritedFrom": {
102362
+ "name": "SbbElement",
102363
+ "module": "core/base-elements/element.js"
102364
+ },
102365
+ "default": "!!this.shadowRoot"
102366
+ },
102403
102367
  {
102404
102368
  "kind": "method",
102405
- "name": "renderIconSlot",
102369
+ "name": "toggleState",
102406
102370
  "privacy": "protected",
102407
102371
  "return": {
102408
102372
  "type": {
102409
- "text": "TemplateResult"
102373
+ "text": "void"
102410
102374
  }
102411
102375
  },
102412
102376
  "parameters": [
102413
102377
  {
102414
- "name": "classname",
102415
- "optional": true,
102378
+ "name": "value",
102416
102379
  "type": {
102417
102380
  "text": "string"
102418
102381
  }
102382
+ },
102383
+ {
102384
+ "name": "force",
102385
+ "optional": true,
102386
+ "type": {
102387
+ "text": "boolean"
102388
+ }
102419
102389
  }
102420
102390
  ],
102421
102391
  "inheritedFrom": {
102422
- "name": "SbbIconNameMixin",
102423
- "module": "icon/icon-name-mixin.js"
102424
- }
102425
- },
102426
- {
102427
- "kind": "method",
102428
- "name": "renderIconName",
102429
- "privacy": "protected",
102430
- "return": {
102431
- "type": {
102432
- "text": "string"
102433
- }
102434
- },
102435
- "inheritedFrom": {
102436
- "name": "SbbIconNameMixin",
102437
- "module": "icon/icon-name-mixin.js"
102392
+ "name": "SbbElement",
102393
+ "module": "core/base-elements/element.js"
102438
102394
  }
102439
102395
  },
102440
102396
  {
102441
- "kind": "method",
102442
- "name": "_renderIconName",
102443
- "privacy": "private",
102444
- "return": {
102445
- "type": {
102446
- "text": "string"
102447
- }
102397
+ "kind": "field",
102398
+ "name": "['_$sbbElement$']",
102399
+ "type": {
102400
+ "text": "boolean"
102448
102401
  },
102402
+ "privacy": "public",
102403
+ "static": true,
102404
+ "default": "true",
102449
102405
  "inheritedFrom": {
102450
- "name": "SbbIconNameMixin",
102451
- "module": "icon/icon-name-mixin.js"
102406
+ "name": "SbbElement",
102407
+ "module": "core/base-elements/element.js"
102452
102408
  }
102453
102409
  },
102454
102410
  {
102455
102411
  "kind": "field",
102456
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
102412
+ "name": "_controllers",
102457
102413
  "type": {
102458
- "text": "array"
102414
+ "text": "Set<SbbReactiveController> | undefined"
102459
102415
  },
102460
102416
  "privacy": "private",
102461
- "readonly": true,
102462
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
102463
102417
  "inheritedFrom": {
102464
- "name": "SbbButtonBaseElement",
102465
- "module": "core/base-elements/button-base-element.js"
102418
+ "name": "SbbElement",
102419
+ "module": "core/base-elements/element.js"
102466
102420
  }
102467
- },
102421
+ }
102422
+ ],
102423
+ "mixins": [
102468
102424
  {
102469
- "kind": "field",
102470
- "name": "value",
102471
- "type": {
102472
- "text": "string"
102473
- },
102474
- "privacy": "public",
102475
- "inheritedFrom": {
102476
- "name": "SbbButtonBaseElement",
102477
- "module": "core/base-elements/button-base-element.js"
102478
- },
102479
- "default": "''",
102480
- "description": "Value of the form element.",
102481
- "attribute": "value"
102425
+ "name": "SbbDisabledTabIndexActionMixin",
102426
+ "module": "core/mixins.js"
102482
102427
  },
102483
102428
  {
102484
- "kind": "field",
102485
- "name": "type",
102486
- "privacy": "public",
102487
- "description": "The type attribute to use for the button.",
102488
- "default": "'button'",
102429
+ "name": "SbbMenuActionCommonElementMixin",
102430
+ "module": "menu/common/menu-action-common.js"
102431
+ }
102432
+ ],
102433
+ "superclass": {
102434
+ "name": "SbbButtonBaseElement",
102435
+ "module": "core/base-elements.js"
102436
+ },
102437
+ "tagName": "sbb-menu-button",
102438
+ "customElement": true,
102439
+ "attributes": [
102440
+ {
102441
+ "name": "disabled-interactive",
102489
102442
  "type": {
102490
- "text": "SbbButtonType"
102443
+ "text": "boolean"
102491
102444
  },
102492
- "attribute": "type",
102445
+ "default": "false",
102446
+ "description": "Whether the button should be aria-disabled but stay interactive.",
102447
+ "fieldName": "disabledInteractive",
102493
102448
  "inheritedFrom": {
102494
- "name": "SbbButtonBaseElement",
102495
- "module": "core/base-elements/button-base-element.js"
102449
+ "name": "SbbDisabledInteractiveMixin",
102450
+ "module": "core/mixins/disabled-mixin.js"
102496
102451
  }
102497
102452
  },
102498
102453
  {
102499
- "kind": "field",
102500
- "name": "form",
102454
+ "name": "disabled",
102455
+ "description": "Whether the component is disabled.",
102456
+ "default": "false",
102501
102457
  "type": {
102502
- "text": "HTMLFormElement | null"
102458
+ "text": "boolean"
102503
102459
  },
102504
- "privacy": "public",
102505
- "description": "The `<form>` element to associate the button with.",
102460
+ "fieldName": "disabled",
102506
102461
  "inheritedFrom": {
102507
- "name": "SbbButtonBaseElement",
102508
- "module": "core/base-elements/button-base-element.js"
102509
- },
102510
- "attribute": "form"
102462
+ "name": "SbbDisabledMixin",
102463
+ "module": "core/mixins/disabled-mixin.js"
102464
+ }
102511
102465
  },
102512
102466
  {
102513
- "kind": "field",
102514
- "name": "_formId",
102467
+ "name": "icon-name",
102515
102468
  "type": {
102516
102469
  "text": "string"
102517
102470
  },
102518
- "privacy": "private",
102519
102471
  "default": "''",
102472
+ "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.",
102473
+ "fieldName": "iconName",
102520
102474
  "inheritedFrom": {
102521
- "name": "SbbButtonBaseElement",
102522
- "module": "core/base-elements/button-base-element.js"
102523
- }
102524
- },
102525
- {
102526
- "kind": "field",
102527
- "name": "_handleButtonClick",
102528
- "privacy": "private",
102529
- "inheritedFrom": {
102530
- "name": "SbbButtonBaseElement",
102531
- "module": "core/base-elements/button-base-element.js"
102475
+ "name": "SbbIconNameMixin",
102476
+ "module": "icon/icon-name-mixin.js"
102532
102477
  }
102533
102478
  },
102534
102479
  {
102535
- "kind": "method",
102536
- "name": "_requestSubmit",
102537
- "privacy": "private",
102538
- "return": {
102539
- "type": {
102540
- "text": "void"
102541
- }
102480
+ "name": "value",
102481
+ "type": {
102482
+ "text": "string"
102542
102483
  },
102543
- "parameters": [
102544
- {
102545
- "name": "form",
102546
- "type": {
102547
- "text": "HTMLFormElement"
102548
- }
102549
- }
102550
- ],
102484
+ "default": "''",
102485
+ "description": "Value of the form element.",
102486
+ "fieldName": "value",
102551
102487
  "inheritedFrom": {
102552
102488
  "name": "SbbButtonBaseElement",
102553
102489
  "module": "core/base-elements/button-base-element.js"
102554
102490
  }
102555
102491
  },
102556
102492
  {
102557
- "kind": "field",
102558
- "name": "_formKeyDown",
102559
- "privacy": "private",
102493
+ "name": "type",
102494
+ "description": "The type attribute to use for the button.",
102495
+ "default": "'button'",
102496
+ "type": {
102497
+ "text": "SbbButtonType"
102498
+ },
102499
+ "fieldName": "type",
102560
102500
  "inheritedFrom": {
102561
102501
  "name": "SbbButtonBaseElement",
102562
102502
  "module": "core/base-elements/button-base-element.js"
102563
102503
  }
102564
102504
  },
102565
102505
  {
102566
- "kind": "field",
102567
- "name": "formAssociated",
102506
+ "name": "form",
102507
+ "description": "The `<form>` element to associate the button with.",
102568
102508
  "type": {
102569
- "text": "boolean"
102509
+ "text": "HTMLFormElement | null"
102570
102510
  },
102571
- "privacy": "public",
102572
- "static": true,
102573
- "default": "true",
102511
+ "fieldName": "form",
102574
102512
  "inheritedFrom": {
102575
- "name": "SbbFormAssociatedMixin",
102576
- "module": "core/mixins/form-associated-mixin.js"
102513
+ "name": "SbbButtonBaseElement",
102514
+ "module": "core/base-elements/button-base-element.js"
102577
102515
  }
102578
102516
  },
102579
102517
  {
102580
- "kind": "field",
102581
102518
  "name": "name",
102582
- "privacy": "public",
102583
102519
  "description": "Name of the form element. Will be read from name attribute.",
102584
102520
  "type": {
102585
102521
  "text": "string"
102586
102522
  },
102587
- "attribute": "name",
102523
+ "fieldName": "name",
102588
102524
  "inheritedFrom": {
102589
102525
  "name": "SbbFormAssociatedMixin",
102590
102526
  "module": "core/mixins/form-associated-mixin.js"
102591
102527
  }
102528
+ }
102529
+ ]
102530
+ }
102531
+ ],
102532
+ "exports": [
102533
+ {
102534
+ "kind": "js",
102535
+ "name": "SbbMenuButtonElement",
102536
+ "declaration": {
102537
+ "name": "SbbMenuButtonElement",
102538
+ "module": "menu/menu-button/menu-button.component.js"
102539
+ }
102540
+ }
102541
+ ]
102542
+ },
102543
+ {
102544
+ "kind": "javascript-module",
102545
+ "path": "menu/menu-link/menu-link.component.js",
102546
+ "declarations": [
102547
+ {
102548
+ "kind": "class",
102549
+ "description": "It displays a link element that can be used in the `sbb-menu` component.",
102550
+ "name": "SbbMenuLinkElement",
102551
+ "cssProperties": [
102552
+ {
102553
+ "description": "Can be used to modify horizontal padding.",
102554
+ "name": "--sbb-menu-action-outer-horizontal-padding",
102555
+ "default": "var(--sbb-spacing-fixed-3x)"
102556
+ }
102557
+ ],
102558
+ "slots": [
102559
+ {
102560
+ "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
102561
+ "name": ""
102592
102562
  },
102563
+ {
102564
+ "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
102565
+ "name": "icon"
102566
+ }
102567
+ ],
102568
+ "members": [
102593
102569
  {
102594
102570
  "kind": "field",
102595
- "name": "validity",
102571
+ "name": "elementName",
102596
102572
  "type": {
102597
- "text": "ValidityState"
102573
+ "text": "string"
102598
102574
  },
102599
102575
  "privacy": "public",
102600
- "description": "Returns the ValidityState object for this element.",
102576
+ "static": true,
102601
102577
  "readonly": true,
102602
102578
  "inheritedFrom": {
102603
- "name": "SbbFormAssociatedMixin",
102604
- "module": "core/mixins/form-associated-mixin.js"
102605
- }
102579
+ "name": "SbbElement",
102580
+ "module": "core/base-elements/element.js"
102581
+ },
102582
+ "default": "'sbb-menu-link'"
102606
102583
  },
102607
102584
  {
102608
102585
  "kind": "field",
102609
- "name": "validationMessage",
102586
+ "name": "anchorRole",
102610
102587
  "type": {
102611
102588
  "text": "string"
102612
102589
  },
102613
- "privacy": "public",
102614
- "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.",
102590
+ "privacy": "protected",
102615
102591
  "readonly": true,
102592
+ "default": "'menuitem'",
102616
102593
  "inheritedFrom": {
102617
- "name": "SbbFormAssociatedMixin",
102618
- "module": "core/mixins/form-associated-mixin.js"
102594
+ "name": "SbbLinkBaseElement",
102595
+ "module": "core/base-elements/link-base-element.js"
102619
102596
  }
102620
102597
  },
102621
102598
  {
102622
102599
  "kind": "field",
102623
- "name": "willValidate",
102600
+ "name": "disabledInteractive",
102624
102601
  "type": {
102625
102602
  "text": "boolean"
102626
102603
  },
102627
102604
  "privacy": "public",
102628
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
102629
- "readonly": true,
102630
- "inheritedFrom": {
102631
- "name": "SbbFormAssociatedMixin",
102632
- "module": "core/mixins/form-associated-mixin.js"
102633
- }
102634
- },
102635
- {
102636
- "kind": "field",
102637
- "name": "_validityStates",
102638
- "privacy": "private",
102639
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
102605
+ "default": "false",
102606
+ "description": "Whether the button should be aria-disabled but stay interactive.",
102607
+ "attribute": "disabled-interactive",
102608
+ "reflects": true,
102640
102609
  "inheritedFrom": {
102641
- "name": "SbbFormAssociatedMixin",
102642
- "module": "core/mixins/form-associated-mixin.js"
102610
+ "name": "SbbDisabledInteractiveMixin",
102611
+ "module": "core/mixins/disabled-mixin.js"
102643
102612
  }
102644
102613
  },
102645
102614
  {
102646
102615
  "kind": "field",
102647
- "name": "formDisabled",
102616
+ "name": "styles",
102648
102617
  "type": {
102649
- "text": "boolean"
102618
+ "text": "CSSResultGroup"
102650
102619
  },
102651
- "privacy": "protected",
102652
- "default": "false",
102653
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
102620
+ "privacy": "public",
102621
+ "static": true,
102622
+ "default": "[boxSizingStyles, style]",
102654
102623
  "inheritedFrom": {
102655
- "name": "SbbFormAssociatedMixin",
102656
- "module": "core/mixins/form-associated-mixin.js"
102624
+ "name": "SbbMenuActionCommonElementMixin",
102625
+ "module": "menu/common/menu-action-common.js"
102657
102626
  }
102658
102627
  },
102659
102628
  {
102660
102629
  "kind": "method",
102661
- "name": "checkValidity",
102662
- "privacy": "public",
102630
+ "name": "renderTemplate",
102631
+ "privacy": "protected",
102663
102632
  "return": {
102664
102633
  "type": {
102665
- "text": "boolean"
102634
+ "text": "TemplateResult"
102666
102635
  }
102667
102636
  },
102668
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
102637
+ "description": "Override this method to render the component template.",
102669
102638
  "inheritedFrom": {
102670
- "name": "SbbFormAssociatedMixin",
102671
- "module": "core/mixins/form-associated-mixin.js"
102639
+ "name": "SbbActionBaseElement",
102640
+ "module": "core/base-elements/action-base-element.js"
102672
102641
  }
102673
102642
  },
102674
102643
  {
102675
- "kind": "method",
102676
- "name": "reportValidity",
102677
- "privacy": "public",
102678
- "return": {
102679
- "type": {
102680
- "text": "boolean"
102681
- }
102644
+ "kind": "field",
102645
+ "name": "iconName",
102646
+ "type": {
102647
+ "text": "string"
102682
102648
  },
102683
- "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.",
102649
+ "privacy": "public",
102650
+ "default": "''",
102651
+ "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.",
102652
+ "attribute": "icon-name",
102684
102653
  "inheritedFrom": {
102685
- "name": "SbbFormAssociatedMixin",
102686
- "module": "core/mixins/form-associated-mixin.js"
102654
+ "name": "SbbIconNameMixin",
102655
+ "module": "icon/icon-name-mixin.js"
102687
102656
  }
102688
102657
  },
102689
102658
  {
102690
102659
  "kind": "method",
102691
- "name": "setCustomValidity",
102692
- "privacy": "public",
102660
+ "name": "renderIconSlot",
102661
+ "privacy": "protected",
102693
102662
  "return": {
102694
102663
  "type": {
102695
- "text": "void"
102664
+ "text": "TemplateResult"
102696
102665
  }
102697
102666
  },
102698
102667
  "parameters": [
102699
102668
  {
102700
- "name": "message",
102669
+ "name": "classname",
102670
+ "optional": true,
102701
102671
  "type": {
102702
102672
  "text": "string"
102703
102673
  }
102704
102674
  }
102705
102675
  ],
102706
- "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.",
102707
102676
  "inheritedFrom": {
102708
- "name": "SbbFormAssociatedMixin",
102709
- "module": "core/mixins/form-associated-mixin.js"
102677
+ "name": "SbbIconNameMixin",
102678
+ "module": "icon/icon-name-mixin.js"
102710
102679
  }
102711
102680
  },
102712
102681
  {
102713
102682
  "kind": "method",
102714
- "name": "_hasDisabledAncestor",
102715
- "privacy": "private",
102683
+ "name": "renderIconName",
102684
+ "privacy": "protected",
102716
102685
  "return": {
102717
102686
  "type": {
102718
- "text": "boolean"
102687
+ "text": "string"
102719
102688
  }
102720
102689
  },
102721
102690
  "inheritedFrom": {
102722
- "name": "SbbFormAssociatedMixin",
102723
- "module": "core/mixins/form-associated-mixin.js"
102691
+ "name": "SbbIconNameMixin",
102692
+ "module": "icon/icon-name-mixin.js"
102724
102693
  }
102725
102694
  },
102726
102695
  {
102727
102696
  "kind": "method",
102728
- "name": "updateFormValue",
102729
- "privacy": "protected",
102697
+ "name": "_renderIconName",
102698
+ "privacy": "private",
102730
102699
  "return": {
102731
102700
  "type": {
102732
- "text": "void"
102701
+ "text": "string"
102733
102702
  }
102734
102703
  },
102735
- "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",
102736
102704
  "inheritedFrom": {
102737
- "name": "SbbFormAssociatedMixin",
102738
- "module": "core/mixins/form-associated-mixin.js"
102705
+ "name": "SbbIconNameMixin",
102706
+ "module": "icon/icon-name-mixin.js"
102739
102707
  }
102740
102708
  },
102741
102709
  {
102742
- "kind": "method",
102743
- "name": "formState",
102744
- "privacy": "protected",
102745
- "return": {
102746
- "type": {
102747
- "text": "FormRestoreState"
102748
- }
102710
+ "kind": "field",
102711
+ "name": "disabled",
102712
+ "privacy": "public",
102713
+ "description": "Whether the component is disabled.",
102714
+ "default": "false",
102715
+ "type": {
102716
+ "text": "boolean"
102749
102717
  },
102718
+ "attribute": "disabled",
102719
+ "reflects": true,
102750
102720
  "inheritedFrom": {
102751
- "name": "SbbFormAssociatedMixin",
102752
- "module": "core/mixins/form-associated-mixin.js"
102721
+ "name": "SbbDisabledMixin",
102722
+ "module": "core/mixins/disabled-mixin.js"
102723
+ }
102724
+ },
102725
+ {
102726
+ "kind": "field",
102727
+ "name": "#disabled",
102728
+ "privacy": "private",
102729
+ "type": {
102730
+ "text": "boolean"
102731
+ },
102732
+ "default": "false",
102733
+ "inheritedFrom": {
102734
+ "name": "SbbDisabledMixin",
102735
+ "module": "core/mixins/disabled-mixin.js"
102753
102736
  }
102754
102737
  },
102755
102738
  {
102756
102739
  "kind": "method",
102757
- "name": "setValidityFlag",
102740
+ "name": "isDisabledExternally",
102758
102741
  "privacy": "protected",
102759
102742
  "return": {
102760
102743
  "type": {
102761
- "text": "void"
102744
+ "text": "boolean"
102762
102745
  }
102763
102746
  },
102764
- "parameters": [
102765
- {
102766
- "name": "flag",
102767
- "type": {
102768
- "text": "T"
102769
- }
102770
- },
102771
- {
102772
- "name": "message",
102773
- "type": {
102774
- "text": "string"
102775
- }
102776
- },
102777
- {
102778
- "name": "flagValue",
102779
- "optional": true,
102780
- "type": {
102781
- "text": "ValidityStateFlags[T]"
102782
- }
102783
- }
102784
- ],
102785
- "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).",
102747
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
102748
+ "inheritedFrom": {
102749
+ "name": "SbbDisabledMixin",
102750
+ "module": "core/mixins/disabled-mixin.js"
102751
+ }
102752
+ },
102753
+ {
102754
+ "kind": "field",
102755
+ "name": "href",
102756
+ "type": {
102757
+ "text": "string"
102758
+ },
102759
+ "privacy": "public",
102760
+ "default": "''",
102761
+ "description": "The href value you want to link to.",
102762
+ "attribute": "href",
102763
+ "reflects": true,
102764
+ "inheritedFrom": {
102765
+ "name": "SbbLinkBaseElement",
102766
+ "module": "core/base-elements/link-base-element.js"
102767
+ }
102768
+ },
102769
+ {
102770
+ "kind": "field",
102771
+ "name": "target",
102772
+ "type": {
102773
+ "text": "LinkTargetType | string"
102774
+ },
102775
+ "privacy": "public",
102776
+ "default": "''",
102777
+ "description": "Where to display the linked URL.",
102778
+ "attribute": "target",
102779
+ "reflects": true,
102786
102780
  "inheritedFrom": {
102787
- "name": "SbbFormAssociatedMixin",
102788
- "module": "core/mixins/form-associated-mixin.js"
102781
+ "name": "SbbLinkBaseElement",
102782
+ "module": "core/base-elements/link-base-element.js"
102789
102783
  }
102790
102784
  },
102791
102785
  {
102792
- "kind": "method",
102793
- "name": "removeValidityFlag",
102794
- "privacy": "protected",
102795
- "return": {
102796
- "type": {
102797
- "text": "void"
102798
- }
102786
+ "kind": "field",
102787
+ "name": "rel",
102788
+ "type": {
102789
+ "text": "string"
102799
102790
  },
102800
- "parameters": [
102801
- {
102802
- "name": "flag",
102803
- "type": {
102804
- "text": "T"
102805
- }
102806
- }
102807
- ],
102808
- "description": "Removes the validity state flag entry and updates validity state.",
102791
+ "privacy": "public",
102792
+ "default": "''",
102793
+ "description": "The relationship of the linked URL as space-separated link types.",
102794
+ "attribute": "rel",
102795
+ "reflects": true,
102809
102796
  "inheritedFrom": {
102810
- "name": "SbbFormAssociatedMixin",
102811
- "module": "core/mixins/form-associated-mixin.js"
102797
+ "name": "SbbLinkBaseElement",
102798
+ "module": "core/base-elements/link-base-element.js"
102812
102799
  }
102813
102800
  },
102814
102801
  {
102815
- "kind": "method",
102816
- "name": "validate",
102817
- "privacy": "protected",
102818
- "return": {
102819
- "type": {
102820
- "text": "void"
102821
- }
102802
+ "kind": "field",
102803
+ "name": "download",
102804
+ "type": {
102805
+ "text": "boolean"
102822
102806
  },
102823
- "description": "To be called whenever the current element needs to be validated.",
102807
+ "privacy": "public",
102808
+ "default": "false",
102809
+ "description": "Whether the browser will show the download dialog on click.",
102810
+ "attribute": "download",
102811
+ "reflects": true,
102824
102812
  "inheritedFrom": {
102825
- "name": "SbbFormAssociatedMixin",
102826
- "module": "core/mixins/form-associated-mixin.js"
102813
+ "name": "SbbLinkBaseElement",
102814
+ "module": "core/base-elements/link-base-element.js"
102827
102815
  }
102828
102816
  },
102829
102817
  {
102830
- "kind": "method",
102831
- "name": "shouldValidate",
102832
- "privacy": "protected",
102833
- "return": {
102834
- "type": {
102835
- "text": "boolean"
102836
- }
102818
+ "kind": "field",
102819
+ "name": "accessibilityLabel",
102820
+ "type": {
102821
+ "text": "string"
102837
102822
  },
102838
- "parameters": [
102839
- {
102840
- "name": "name",
102841
- "type": {
102842
- "text": "PropertyKey | undefined"
102843
- }
102844
- }
102845
- ],
102846
- "description": "Whether validation should be run on a property change with the given name.",
102823
+ "privacy": "public",
102824
+ "default": "''",
102825
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
102826
+ "attribute": "accessibility-label",
102847
102827
  "inheritedFrom": {
102848
- "name": "SbbFormAssociatedMixin",
102849
- "module": "core/mixins/form-associated-mixin.js"
102828
+ "name": "SbbLinkBaseElement",
102829
+ "module": "core/base-elements/link-base-element.js"
102850
102830
  }
102851
102831
  },
102852
102832
  {
102853
- "kind": "method",
102854
- "name": "_setInternalValidity",
102855
- "privacy": "private",
102856
- "return": {
102857
- "type": {
102858
- "text": "void"
102859
- }
102833
+ "kind": "field",
102834
+ "name": "accessibilityCurrent",
102835
+ "type": {
102836
+ "text": "string"
102860
102837
  },
102838
+ "privacy": "public",
102839
+ "default": "''",
102840
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
102841
+ "attribute": "accessibility-current",
102861
102842
  "inheritedFrom": {
102862
- "name": "SbbFormAssociatedMixin",
102863
- "module": "core/mixins/form-associated-mixin.js"
102843
+ "name": "SbbLinkBaseElement",
102844
+ "module": "core/base-elements/link-base-element.js"
102864
102845
  }
102865
102846
  },
102866
102847
  {
102867
102848
  "kind": "field",
102868
- "name": "_preventScrollOnSpaceKeydown",
102869
- "privacy": "private",
102870
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
102871
- "parameters": [
102872
- {
102873
- "description": "The origin event.",
102874
- "name": "event"
102875
- }
102876
- ],
102849
+ "name": "language",
102850
+ "privacy": "protected",
102851
+ "default": "new SbbLanguageController(this)",
102877
102852
  "inheritedFrom": {
102878
- "name": "SbbButtonLikeBaseElement",
102879
- "module": "core/base-elements/button-base-element.js"
102853
+ "name": "SbbLinkBaseElement",
102854
+ "module": "core/base-elements/link-base-element.js"
102880
102855
  }
102881
102856
  },
102882
102857
  {
102883
102858
  "kind": "field",
102884
- "name": "_removeActiveMarker",
102859
+ "name": "_evaluateRelAttribute",
102885
102860
  "privacy": "private",
102886
102861
  "inheritedFrom": {
102887
- "name": "SbbButtonLikeBaseElement",
102888
- "module": "core/base-elements/button-base-element.js"
102862
+ "name": "SbbLinkBaseElement",
102863
+ "module": "core/base-elements/link-base-element.js"
102889
102864
  }
102890
102865
  },
102891
102866
  {
102892
- "kind": "field",
102893
- "name": "_dispatchClickEventOnSpaceKeyup",
102894
- "privacy": "private",
102895
- "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.",
102867
+ "kind": "method",
102868
+ "name": "renderLink",
102869
+ "privacy": "protected",
102870
+ "return": {
102871
+ "type": {
102872
+ "text": "TemplateResult"
102873
+ }
102874
+ },
102896
102875
  "parameters": [
102897
102876
  {
102898
- "description": "The origin event.",
102899
- "name": "event"
102877
+ "name": "renderContent",
102878
+ "type": {
102879
+ "text": "TemplateResult"
102880
+ }
102900
102881
  }
102901
102882
  ],
102902
102883
  "inheritedFrom": {
102903
- "name": "SbbButtonLikeBaseElement",
102904
- "module": "core/base-elements/button-base-element.js"
102905
- }
102906
- },
102907
- {
102908
- "kind": "field",
102909
- "name": "_dispatchClickEvent",
102910
- "privacy": "private",
102911
- "inheritedFrom": {
102912
- "name": "SbbButtonLikeBaseElement",
102913
- "module": "core/base-elements/button-base-element.js"
102884
+ "name": "SbbLinkBaseElement",
102885
+ "module": "core/base-elements/link-base-element.js"
102914
102886
  }
102915
102887
  },
102916
102888
  {
@@ -103061,7 +103033,7 @@
103061
103033
  ],
103062
103034
  "mixins": [
103063
103035
  {
103064
- "name": "SbbDisabledTabIndexActionMixin",
103036
+ "name": "SbbDisabledInteractiveMixin",
103065
103037
  "module": "core/mixins.js"
103066
103038
  },
103067
103039
  {
@@ -103070,10 +103042,10 @@
103070
103042
  }
103071
103043
  ],
103072
103044
  "superclass": {
103073
- "name": "SbbButtonBaseElement",
103045
+ "name": "SbbLinkBaseElement",
103074
103046
  "module": "core/base-elements.js"
103075
103047
  },
103076
- "tagName": "sbb-menu-button",
103048
+ "tagName": "sbb-menu-link",
103077
103049
  "customElement": true,
103078
103050
  "attributes": [
103079
103051
  {
@@ -103089,6 +103061,19 @@
103089
103061
  "module": "core/mixins/disabled-mixin.js"
103090
103062
  }
103091
103063
  },
103064
+ {
103065
+ "name": "icon-name",
103066
+ "type": {
103067
+ "text": "string"
103068
+ },
103069
+ "default": "''",
103070
+ "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.",
103071
+ "fieldName": "iconName",
103072
+ "inheritedFrom": {
103073
+ "name": "SbbIconNameMixin",
103074
+ "module": "icon/icon-name-mixin.js"
103075
+ }
103076
+ },
103092
103077
  {
103093
103078
  "name": "disabled",
103094
103079
  "description": "Whether the component is disabled.",
@@ -103103,66 +103088,81 @@
103103
103088
  }
103104
103089
  },
103105
103090
  {
103106
- "name": "icon-name",
103091
+ "name": "href",
103107
103092
  "type": {
103108
103093
  "text": "string"
103109
103094
  },
103110
103095
  "default": "''",
103111
- "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.",
103112
- "fieldName": "iconName",
103096
+ "description": "The href value you want to link to.",
103097
+ "fieldName": "href",
103113
103098
  "inheritedFrom": {
103114
- "name": "SbbIconNameMixin",
103115
- "module": "icon/icon-name-mixin.js"
103099
+ "name": "SbbLinkBaseElement",
103100
+ "module": "core/base-elements/link-base-element.js"
103116
103101
  }
103117
103102
  },
103118
103103
  {
103119
- "name": "value",
103104
+ "name": "target",
103105
+ "type": {
103106
+ "text": "LinkTargetType | string"
103107
+ },
103108
+ "default": "''",
103109
+ "description": "Where to display the linked URL.",
103110
+ "fieldName": "target",
103111
+ "inheritedFrom": {
103112
+ "name": "SbbLinkBaseElement",
103113
+ "module": "core/base-elements/link-base-element.js"
103114
+ }
103115
+ },
103116
+ {
103117
+ "name": "rel",
103120
103118
  "type": {
103121
103119
  "text": "string"
103122
103120
  },
103123
103121
  "default": "''",
103124
- "description": "Value of the form element.",
103125
- "fieldName": "value",
103122
+ "description": "The relationship of the linked URL as space-separated link types.",
103123
+ "fieldName": "rel",
103126
103124
  "inheritedFrom": {
103127
- "name": "SbbButtonBaseElement",
103128
- "module": "core/base-elements/button-base-element.js"
103125
+ "name": "SbbLinkBaseElement",
103126
+ "module": "core/base-elements/link-base-element.js"
103129
103127
  }
103130
103128
  },
103131
103129
  {
103132
- "name": "type",
103133
- "description": "The type attribute to use for the button.",
103134
- "default": "'button'",
103130
+ "name": "download",
103135
103131
  "type": {
103136
- "text": "SbbButtonType"
103132
+ "text": "boolean"
103137
103133
  },
103138
- "fieldName": "type",
103134
+ "default": "false",
103135
+ "description": "Whether the browser will show the download dialog on click.",
103136
+ "fieldName": "download",
103139
103137
  "inheritedFrom": {
103140
- "name": "SbbButtonBaseElement",
103141
- "module": "core/base-elements/button-base-element.js"
103138
+ "name": "SbbLinkBaseElement",
103139
+ "module": "core/base-elements/link-base-element.js"
103142
103140
  }
103143
103141
  },
103144
103142
  {
103145
- "name": "form",
103146
- "description": "The `<form>` element to associate the button with.",
103143
+ "name": "accessibility-label",
103147
103144
  "type": {
103148
- "text": "HTMLFormElement | null"
103145
+ "text": "string"
103149
103146
  },
103150
- "fieldName": "form",
103147
+ "default": "''",
103148
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
103149
+ "fieldName": "accessibilityLabel",
103151
103150
  "inheritedFrom": {
103152
- "name": "SbbButtonBaseElement",
103153
- "module": "core/base-elements/button-base-element.js"
103151
+ "name": "SbbLinkBaseElement",
103152
+ "module": "core/base-elements/link-base-element.js"
103154
103153
  }
103155
103154
  },
103156
103155
  {
103157
- "name": "name",
103158
- "description": "Name of the form element. Will be read from name attribute.",
103156
+ "name": "accessibility-current",
103159
103157
  "type": {
103160
103158
  "text": "string"
103161
103159
  },
103162
- "fieldName": "name",
103160
+ "default": "''",
103161
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
103162
+ "fieldName": "accessibilityCurrent",
103163
103163
  "inheritedFrom": {
103164
- "name": "SbbFormAssociatedMixin",
103165
- "module": "core/mixins/form-associated-mixin.js"
103164
+ "name": "SbbLinkBaseElement",
103165
+ "module": "core/base-elements/link-base-element.js"
103166
103166
  }
103167
103167
  }
103168
103168
  ]
@@ -103171,10 +103171,10 @@
103171
103171
  "exports": [
103172
103172
  {
103173
103173
  "kind": "js",
103174
- "name": "SbbMenuButtonElement",
103174
+ "name": "SbbMenuLinkElement",
103175
103175
  "declaration": {
103176
- "name": "SbbMenuButtonElement",
103177
- "module": "menu/menu-button/menu-button.component.js"
103176
+ "name": "SbbMenuLinkElement",
103177
+ "module": "menu/menu-link/menu-link.component.js"
103178
103178
  }
103179
103179
  }
103180
103180
  ]