@sbb-esta/lyne-elements-dev 4.7.0-dev.1773317876 → 4.7.0-dev.1773329616

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.
@@ -101527,12 +101527,12 @@
101527
101527
  },
101528
101528
  {
101529
101529
  "kind": "javascript-module",
101530
- "path": "menu/menu-link/menu-link.component.js",
101530
+ "path": "menu/menu-button/menu-button.component.js",
101531
101531
  "declarations": [
101532
101532
  {
101533
101533
  "kind": "class",
101534
- "description": "It displays a link element that can be used in the `sbb-menu` component.",
101535
- "name": "SbbMenuLinkElement",
101534
+ "description": "It displays a button element that can be used in the `sbb-menu` component.",
101535
+ "name": "SbbMenuButtonElement",
101536
101536
  "cssProperties": [
101537
101537
  {
101538
101538
  "description": "Can be used to modify horizontal padding.",
@@ -101542,7 +101542,7 @@
101542
101542
  ],
101543
101543
  "slots": [
101544
101544
  {
101545
- "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
101545
+ "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
101546
101546
  "name": ""
101547
101547
  },
101548
101548
  {
@@ -101564,20 +101564,21 @@
101564
101564
  "name": "SbbElement",
101565
101565
  "module": "core/base-elements/element.js"
101566
101566
  },
101567
- "default": "'sbb-menu-link'"
101567
+ "default": "'sbb-menu-button'"
101568
101568
  },
101569
101569
  {
101570
101570
  "kind": "field",
101571
- "name": "anchorRole",
101571
+ "name": "role",
101572
101572
  "type": {
101573
- "text": "string"
101573
+ "text": "ElementInternals['role']"
101574
101574
  },
101575
- "privacy": "protected",
101575
+ "privacy": "public",
101576
+ "static": true,
101576
101577
  "readonly": true,
101577
101578
  "default": "'menuitem'",
101578
101579
  "inheritedFrom": {
101579
- "name": "SbbLinkBaseElement",
101580
- "module": "core/base-elements/link-base-element.js"
101580
+ "name": "SbbButtonLikeBaseElement",
101581
+ "module": "core/base-elements/button-base-element.js"
101581
101582
  }
101582
101583
  },
101583
101584
  {
@@ -101596,6 +101597,50 @@
101596
101597
  "module": "core/mixins/disabled-mixin.js"
101597
101598
  }
101598
101599
  },
101600
+ {
101601
+ "kind": "field",
101602
+ "name": "disabled",
101603
+ "privacy": "public",
101604
+ "description": "Whether the component is disabled.",
101605
+ "default": "false",
101606
+ "type": {
101607
+ "text": "boolean"
101608
+ },
101609
+ "attribute": "disabled",
101610
+ "reflects": true,
101611
+ "inheritedFrom": {
101612
+ "name": "SbbDisabledMixin",
101613
+ "module": "core/mixins/disabled-mixin.js"
101614
+ }
101615
+ },
101616
+ {
101617
+ "kind": "field",
101618
+ "name": "#disabled",
101619
+ "privacy": "private",
101620
+ "type": {
101621
+ "text": "boolean"
101622
+ },
101623
+ "default": "false",
101624
+ "inheritedFrom": {
101625
+ "name": "SbbDisabledMixin",
101626
+ "module": "core/mixins/disabled-mixin.js"
101627
+ }
101628
+ },
101629
+ {
101630
+ "kind": "method",
101631
+ "name": "isDisabledExternally",
101632
+ "privacy": "protected",
101633
+ "return": {
101634
+ "type": {
101635
+ "text": "boolean"
101636
+ }
101637
+ },
101638
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
101639
+ "inheritedFrom": {
101640
+ "name": "SbbDisabledMixin",
101641
+ "module": "core/mixins/disabled-mixin.js"
101642
+ }
101643
+ },
101599
101644
  {
101600
101645
  "kind": "field",
101601
101646
  "name": "styles",
@@ -101693,528 +101738,452 @@
101693
101738
  },
101694
101739
  {
101695
101740
  "kind": "field",
101696
- "name": "disabled",
101697
- "privacy": "public",
101698
- "description": "Whether the component is disabled.",
101699
- "default": "false",
101741
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
101700
101742
  "type": {
101701
- "text": "boolean"
101743
+ "text": "array"
101702
101744
  },
101703
- "attribute": "disabled",
101704
- "reflects": true,
101705
- "inheritedFrom": {
101706
- "name": "SbbDisabledMixin",
101707
- "module": "core/mixins/disabled-mixin.js"
101708
- }
101709
- },
101710
- {
101711
- "kind": "field",
101712
- "name": "#disabled",
101713
101745
  "privacy": "private",
101714
- "type": {
101715
- "text": "boolean"
101716
- },
101717
- "default": "false",
101718
- "inheritedFrom": {
101719
- "name": "SbbDisabledMixin",
101720
- "module": "core/mixins/disabled-mixin.js"
101721
- }
101722
- },
101723
- {
101724
- "kind": "method",
101725
- "name": "isDisabledExternally",
101726
- "privacy": "protected",
101727
- "return": {
101728
- "type": {
101729
- "text": "boolean"
101730
- }
101731
- },
101732
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
101746
+ "readonly": true,
101747
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
101733
101748
  "inheritedFrom": {
101734
- "name": "SbbDisabledMixin",
101735
- "module": "core/mixins/disabled-mixin.js"
101749
+ "name": "SbbButtonBaseElement",
101750
+ "module": "core/base-elements/button-base-element.js"
101736
101751
  }
101737
101752
  },
101738
101753
  {
101739
101754
  "kind": "field",
101740
- "name": "href",
101755
+ "name": "value",
101741
101756
  "type": {
101742
101757
  "text": "string"
101743
101758
  },
101744
101759
  "privacy": "public",
101745
- "default": "''",
101746
- "description": "The href value you want to link to.",
101747
- "attribute": "href",
101748
- "reflects": true,
101749
101760
  "inheritedFrom": {
101750
- "name": "SbbLinkBaseElement",
101751
- "module": "core/base-elements/link-base-element.js"
101752
- }
101753
- },
101754
- {
101755
- "kind": "field",
101756
- "name": "target",
101757
- "type": {
101758
- "text": "LinkTargetType | string"
101761
+ "name": "SbbButtonBaseElement",
101762
+ "module": "core/base-elements/button-base-element.js"
101759
101763
  },
101760
- "privacy": "public",
101761
101764
  "default": "''",
101762
- "description": "Where to display the linked URL.",
101763
- "attribute": "target",
101764
- "reflects": true,
101765
- "inheritedFrom": {
101766
- "name": "SbbLinkBaseElement",
101767
- "module": "core/base-elements/link-base-element.js"
101768
- }
101765
+ "description": "Value of the form element.",
101766
+ "attribute": "value"
101769
101767
  },
101770
101768
  {
101771
101769
  "kind": "field",
101772
- "name": "rel",
101773
- "type": {
101774
- "text": "string"
101775
- },
101770
+ "name": "type",
101776
101771
  "privacy": "public",
101777
- "default": "''",
101778
- "description": "The relationship of the linked URL as space-separated link types.",
101779
- "attribute": "rel",
101780
- "reflects": true,
101781
- "inheritedFrom": {
101782
- "name": "SbbLinkBaseElement",
101783
- "module": "core/base-elements/link-base-element.js"
101784
- }
101785
- },
101786
- {
101787
- "kind": "field",
101788
- "name": "download",
101772
+ "description": "The type attribute to use for the button.",
101773
+ "default": "'button'",
101789
101774
  "type": {
101790
- "text": "boolean"
101775
+ "text": "SbbButtonType"
101791
101776
  },
101792
- "privacy": "public",
101793
- "default": "false",
101794
- "description": "Whether the browser will show the download dialog on click.",
101795
- "attribute": "download",
101796
- "reflects": true,
101777
+ "attribute": "type",
101797
101778
  "inheritedFrom": {
101798
- "name": "SbbLinkBaseElement",
101799
- "module": "core/base-elements/link-base-element.js"
101779
+ "name": "SbbButtonBaseElement",
101780
+ "module": "core/base-elements/button-base-element.js"
101800
101781
  }
101801
101782
  },
101802
101783
  {
101803
101784
  "kind": "field",
101804
- "name": "accessibilityLabel",
101785
+ "name": "form",
101805
101786
  "type": {
101806
- "text": "string"
101787
+ "text": "HTMLFormElement | null"
101807
101788
  },
101808
101789
  "privacy": "public",
101809
- "default": "''",
101810
- "description": "This will be forwarded as aria-label to the inner anchor element.",
101811
- "attribute": "accessibility-label",
101790
+ "description": "The `<form>` element to associate the button with.",
101812
101791
  "inheritedFrom": {
101813
- "name": "SbbLinkBaseElement",
101814
- "module": "core/base-elements/link-base-element.js"
101815
- }
101792
+ "name": "SbbButtonBaseElement",
101793
+ "module": "core/base-elements/button-base-element.js"
101794
+ },
101795
+ "attribute": "form"
101816
101796
  },
101817
101797
  {
101818
101798
  "kind": "field",
101819
- "name": "accessibilityCurrent",
101799
+ "name": "_formId",
101820
101800
  "type": {
101821
101801
  "text": "string"
101822
101802
  },
101823
- "privacy": "public",
101803
+ "privacy": "private",
101824
101804
  "default": "''",
101825
- "description": "This will be forwarded as aria-current to the inner anchor element.",
101826
- "attribute": "accessibility-current",
101827
- "inheritedFrom": {
101828
- "name": "SbbLinkBaseElement",
101829
- "module": "core/base-elements/link-base-element.js"
101830
- }
101831
- },
101832
- {
101833
- "kind": "field",
101834
- "name": "language",
101835
- "privacy": "protected",
101836
- "default": "new SbbLanguageController(this)",
101837
101805
  "inheritedFrom": {
101838
- "name": "SbbLinkBaseElement",
101839
- "module": "core/base-elements/link-base-element.js"
101806
+ "name": "SbbButtonBaseElement",
101807
+ "module": "core/base-elements/button-base-element.js"
101840
101808
  }
101841
101809
  },
101842
101810
  {
101843
101811
  "kind": "field",
101844
- "name": "_evaluateRelAttribute",
101812
+ "name": "_handleButtonClick",
101845
101813
  "privacy": "private",
101846
101814
  "inheritedFrom": {
101847
- "name": "SbbLinkBaseElement",
101848
- "module": "core/base-elements/link-base-element.js"
101815
+ "name": "SbbButtonBaseElement",
101816
+ "module": "core/base-elements/button-base-element.js"
101849
101817
  }
101850
101818
  },
101851
101819
  {
101852
101820
  "kind": "method",
101853
- "name": "renderLink",
101854
- "privacy": "protected",
101821
+ "name": "_requestSubmit",
101822
+ "privacy": "private",
101855
101823
  "return": {
101856
101824
  "type": {
101857
- "text": "TemplateResult"
101825
+ "text": "void"
101858
101826
  }
101859
101827
  },
101860
101828
  "parameters": [
101861
101829
  {
101862
- "name": "renderContent",
101830
+ "name": "form",
101863
101831
  "type": {
101864
- "text": "TemplateResult"
101832
+ "text": "HTMLFormElement"
101865
101833
  }
101866
101834
  }
101867
101835
  ],
101868
101836
  "inheritedFrom": {
101869
- "name": "SbbLinkBaseElement",
101870
- "module": "core/base-elements/link-base-element.js"
101837
+ "name": "SbbButtonBaseElement",
101838
+ "module": "core/base-elements/button-base-element.js"
101871
101839
  }
101872
101840
  },
101873
101841
  {
101874
101842
  "kind": "field",
101875
- "name": "maybeDisabled",
101843
+ "name": "_formKeyDown",
101844
+ "privacy": "private",
101845
+ "inheritedFrom": {
101846
+ "name": "SbbButtonBaseElement",
101847
+ "module": "core/base-elements/button-base-element.js"
101848
+ }
101849
+ },
101850
+ {
101851
+ "kind": "field",
101852
+ "name": "formAssociated",
101876
101853
  "type": {
101877
- "text": "boolean | undefined"
101854
+ "text": "boolean"
101878
101855
  },
101879
- "privacy": "protected",
101880
- "readonly": true,
101856
+ "privacy": "public",
101857
+ "static": true,
101858
+ "default": "true",
101881
101859
  "inheritedFrom": {
101882
- "name": "SbbActionBaseElement",
101883
- "module": "core/base-elements/action-base-element.js"
101860
+ "name": "SbbFormAssociatedMixin",
101861
+ "module": "core/mixins/form-associated-mixin.js"
101884
101862
  }
101885
101863
  },
101886
101864
  {
101887
101865
  "kind": "field",
101888
- "name": "maybeDisabledInteractive",
101866
+ "name": "name",
101867
+ "privacy": "public",
101868
+ "description": "Name of the form element. Will be read from name attribute.",
101889
101869
  "type": {
101890
- "text": "boolean | undefined"
101870
+ "text": "string"
101891
101871
  },
101892
- "privacy": "protected",
101893
- "readonly": true,
101872
+ "attribute": "name",
101894
101873
  "inheritedFrom": {
101895
- "name": "SbbActionBaseElement",
101896
- "module": "core/base-elements/action-base-element.js"
101874
+ "name": "SbbFormAssociatedMixin",
101875
+ "module": "core/mixins/form-associated-mixin.js"
101897
101876
  }
101898
101877
  },
101899
101878
  {
101900
- "kind": "method",
101901
- "name": "setupBaseEventHandlers",
101902
- "privacy": "protected",
101903
- "return": {
101904
- "type": {
101905
- "text": "void"
101906
- }
101879
+ "kind": "field",
101880
+ "name": "validity",
101881
+ "type": {
101882
+ "text": "ValidityState"
101907
101883
  },
101884
+ "privacy": "public",
101885
+ "description": "Returns the ValidityState object for this element.",
101886
+ "readonly": true,
101908
101887
  "inheritedFrom": {
101909
- "name": "SbbActionBaseElement",
101910
- "module": "core/base-elements/action-base-element.js"
101888
+ "name": "SbbFormAssociatedMixin",
101889
+ "module": "core/mixins/form-associated-mixin.js"
101911
101890
  }
101912
101891
  },
101913
101892
  {
101914
101893
  "kind": "field",
101915
- "name": "_hydrationRequired",
101894
+ "name": "validationMessage",
101916
101895
  "type": {
101917
- "text": "boolean"
101896
+ "text": "string"
101918
101897
  },
101919
- "privacy": "private",
101920
- "default": "!!this.shadowRoot",
101898
+ "privacy": "public",
101899
+ "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.",
101900
+ "readonly": true,
101921
101901
  "inheritedFrom": {
101922
- "name": "SbbElement",
101923
- "module": "core/base-elements/element.js"
101902
+ "name": "SbbFormAssociatedMixin",
101903
+ "module": "core/mixins/form-associated-mixin.js"
101924
101904
  }
101925
101905
  },
101926
101906
  {
101927
101907
  "kind": "field",
101928
- "name": "_hydrationComplete",
101929
- "privacy": "private",
101930
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
101908
+ "name": "willValidate",
101909
+ "type": {
101910
+ "text": "boolean"
101911
+ },
101912
+ "privacy": "public",
101913
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
101914
+ "readonly": true,
101931
101915
  "inheritedFrom": {
101932
- "name": "SbbElement",
101933
- "module": "core/base-elements/element.js"
101916
+ "name": "SbbFormAssociatedMixin",
101917
+ "module": "core/mixins/form-associated-mixin.js"
101934
101918
  }
101935
101919
  },
101936
101920
  {
101937
101921
  "kind": "field",
101938
- "name": "_resolveHydration",
101939
- "type": {
101940
- "text": "(hydrationRequired: boolean) => void"
101941
- },
101922
+ "name": "_validityStates",
101942
101923
  "privacy": "private",
101924
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
101943
101925
  "inheritedFrom": {
101944
- "name": "SbbElement",
101945
- "module": "core/base-elements/element.js"
101926
+ "name": "SbbFormAssociatedMixin",
101927
+ "module": "core/mixins/form-associated-mixin.js"
101946
101928
  }
101947
101929
  },
101948
101930
  {
101949
101931
  "kind": "field",
101950
- "name": "hydrationRequired",
101932
+ "name": "formDisabled",
101951
101933
  "type": {
101952
101934
  "text": "boolean"
101953
101935
  },
101954
101936
  "privacy": "protected",
101955
- "description": "Returns whether hydration is required and not completed.",
101956
- "readonly": true,
101937
+ "default": "false",
101938
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
101957
101939
  "inheritedFrom": {
101958
- "name": "SbbElement",
101959
- "module": "core/base-elements/element.js"
101960
- },
101961
- "default": "!!this.shadowRoot"
101940
+ "name": "SbbFormAssociatedMixin",
101941
+ "module": "core/mixins/form-associated-mixin.js"
101942
+ }
101962
101943
  },
101963
101944
  {
101964
101945
  "kind": "method",
101965
- "name": "toggleState",
101966
- "privacy": "protected",
101946
+ "name": "checkValidity",
101947
+ "privacy": "public",
101967
101948
  "return": {
101968
101949
  "type": {
101969
- "text": "void"
101950
+ "text": "boolean"
101970
101951
  }
101971
101952
  },
101972
- "parameters": [
101973
- {
101974
- "name": "value",
101975
- "type": {
101976
- "text": "string"
101977
- }
101978
- },
101979
- {
101980
- "name": "force",
101981
- "optional": true,
101982
- "type": {
101983
- "text": "boolean"
101984
- }
101985
- }
101986
- ],
101953
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
101987
101954
  "inheritedFrom": {
101988
- "name": "SbbElement",
101989
- "module": "core/base-elements/element.js"
101955
+ "name": "SbbFormAssociatedMixin",
101956
+ "module": "core/mixins/form-associated-mixin.js"
101990
101957
  }
101991
101958
  },
101992
101959
  {
101993
- "kind": "field",
101994
- "name": "['_$sbbElement$']",
101995
- "type": {
101996
- "text": "boolean"
101997
- },
101960
+ "kind": "method",
101961
+ "name": "reportValidity",
101998
101962
  "privacy": "public",
101999
- "static": true,
102000
- "default": "true",
101963
+ "return": {
101964
+ "type": {
101965
+ "text": "boolean"
101966
+ }
101967
+ },
101968
+ "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.",
102001
101969
  "inheritedFrom": {
102002
- "name": "SbbElement",
102003
- "module": "core/base-elements/element.js"
101970
+ "name": "SbbFormAssociatedMixin",
101971
+ "module": "core/mixins/form-associated-mixin.js"
102004
101972
  }
102005
101973
  },
102006
101974
  {
102007
- "kind": "field",
102008
- "name": "_controllers",
102009
- "type": {
102010
- "text": "Set<SbbReactiveController> | undefined"
101975
+ "kind": "method",
101976
+ "name": "setCustomValidity",
101977
+ "privacy": "public",
101978
+ "return": {
101979
+ "type": {
101980
+ "text": "void"
101981
+ }
102011
101982
  },
102012
- "privacy": "private",
101983
+ "parameters": [
101984
+ {
101985
+ "name": "message",
101986
+ "type": {
101987
+ "text": "string"
101988
+ }
101989
+ }
101990
+ ],
101991
+ "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.",
102013
101992
  "inheritedFrom": {
102014
- "name": "SbbElement",
102015
- "module": "core/base-elements/element.js"
101993
+ "name": "SbbFormAssociatedMixin",
101994
+ "module": "core/mixins/form-associated-mixin.js"
102016
101995
  }
102017
- }
102018
- ],
102019
- "mixins": [
102020
- {
102021
- "name": "SbbDisabledInteractiveMixin",
102022
- "module": "core/mixins.js"
102023
101996
  },
102024
101997
  {
102025
- "name": "SbbMenuActionCommonElementMixin",
102026
- "module": "menu/common/menu-action-common.js"
102027
- }
102028
- ],
102029
- "superclass": {
102030
- "name": "SbbLinkBaseElement",
102031
- "module": "core/base-elements.js"
102032
- },
102033
- "tagName": "sbb-menu-link",
102034
- "customElement": true,
102035
- "attributes": [
102036
- {
102037
- "name": "disabled-interactive",
102038
- "type": {
102039
- "text": "boolean"
101998
+ "kind": "method",
101999
+ "name": "_hasDisabledAncestor",
102000
+ "privacy": "private",
102001
+ "return": {
102002
+ "type": {
102003
+ "text": "boolean"
102004
+ }
102040
102005
  },
102041
- "default": "false",
102042
- "description": "Whether the button should be aria-disabled but stay interactive.",
102043
- "fieldName": "disabledInteractive",
102044
102006
  "inheritedFrom": {
102045
- "name": "SbbDisabledInteractiveMixin",
102046
- "module": "core/mixins/disabled-mixin.js"
102007
+ "name": "SbbFormAssociatedMixin",
102008
+ "module": "core/mixins/form-associated-mixin.js"
102047
102009
  }
102048
102010
  },
102049
102011
  {
102050
- "name": "icon-name",
102051
- "type": {
102052
- "text": "string"
102012
+ "kind": "method",
102013
+ "name": "updateFormValue",
102014
+ "privacy": "protected",
102015
+ "return": {
102016
+ "type": {
102017
+ "text": "void"
102018
+ }
102053
102019
  },
102054
- "default": "''",
102055
- "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.",
102056
- "fieldName": "iconName",
102020
+ "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",
102057
102021
  "inheritedFrom": {
102058
- "name": "SbbIconNameMixin",
102059
- "module": "icon/icon-name-mixin.js"
102022
+ "name": "SbbFormAssociatedMixin",
102023
+ "module": "core/mixins/form-associated-mixin.js"
102060
102024
  }
102061
102025
  },
102062
102026
  {
102063
- "name": "disabled",
102064
- "description": "Whether the component is disabled.",
102065
- "default": "false",
102066
- "type": {
102067
- "text": "boolean"
102027
+ "kind": "method",
102028
+ "name": "formState",
102029
+ "privacy": "protected",
102030
+ "return": {
102031
+ "type": {
102032
+ "text": "FormRestoreState"
102033
+ }
102068
102034
  },
102069
- "fieldName": "disabled",
102070
102035
  "inheritedFrom": {
102071
- "name": "SbbDisabledMixin",
102072
- "module": "core/mixins/disabled-mixin.js"
102036
+ "name": "SbbFormAssociatedMixin",
102037
+ "module": "core/mixins/form-associated-mixin.js"
102073
102038
  }
102074
102039
  },
102075
102040
  {
102076
- "name": "href",
102077
- "type": {
102078
- "text": "string"
102041
+ "kind": "method",
102042
+ "name": "setValidityFlag",
102043
+ "privacy": "protected",
102044
+ "return": {
102045
+ "type": {
102046
+ "text": "void"
102047
+ }
102079
102048
  },
102080
- "default": "''",
102081
- "description": "The href value you want to link to.",
102082
- "fieldName": "href",
102049
+ "parameters": [
102050
+ {
102051
+ "name": "flag",
102052
+ "type": {
102053
+ "text": "T"
102054
+ }
102055
+ },
102056
+ {
102057
+ "name": "message",
102058
+ "type": {
102059
+ "text": "string"
102060
+ }
102061
+ },
102062
+ {
102063
+ "name": "flagValue",
102064
+ "optional": true,
102065
+ "type": {
102066
+ "text": "ValidityStateFlags[T]"
102067
+ }
102068
+ }
102069
+ ],
102070
+ "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).",
102083
102071
  "inheritedFrom": {
102084
- "name": "SbbLinkBaseElement",
102085
- "module": "core/base-elements/link-base-element.js"
102072
+ "name": "SbbFormAssociatedMixin",
102073
+ "module": "core/mixins/form-associated-mixin.js"
102086
102074
  }
102087
102075
  },
102088
102076
  {
102089
- "name": "target",
102090
- "type": {
102091
- "text": "LinkTargetType | string"
102077
+ "kind": "method",
102078
+ "name": "removeValidityFlag",
102079
+ "privacy": "protected",
102080
+ "return": {
102081
+ "type": {
102082
+ "text": "void"
102083
+ }
102092
102084
  },
102093
- "default": "''",
102094
- "description": "Where to display the linked URL.",
102095
- "fieldName": "target",
102085
+ "parameters": [
102086
+ {
102087
+ "name": "flag",
102088
+ "type": {
102089
+ "text": "T"
102090
+ }
102091
+ }
102092
+ ],
102093
+ "description": "Removes the validity state flag entry and updates validity state.",
102096
102094
  "inheritedFrom": {
102097
- "name": "SbbLinkBaseElement",
102098
- "module": "core/base-elements/link-base-element.js"
102095
+ "name": "SbbFormAssociatedMixin",
102096
+ "module": "core/mixins/form-associated-mixin.js"
102099
102097
  }
102100
102098
  },
102101
102099
  {
102102
- "name": "rel",
102103
- "type": {
102104
- "text": "string"
102100
+ "kind": "method",
102101
+ "name": "validate",
102102
+ "privacy": "protected",
102103
+ "return": {
102104
+ "type": {
102105
+ "text": "void"
102106
+ }
102105
102107
  },
102106
- "default": "''",
102107
- "description": "The relationship of the linked URL as space-separated link types.",
102108
- "fieldName": "rel",
102108
+ "description": "To be called whenever the current element needs to be validated.",
102109
102109
  "inheritedFrom": {
102110
- "name": "SbbLinkBaseElement",
102111
- "module": "core/base-elements/link-base-element.js"
102110
+ "name": "SbbFormAssociatedMixin",
102111
+ "module": "core/mixins/form-associated-mixin.js"
102112
102112
  }
102113
102113
  },
102114
102114
  {
102115
- "name": "download",
102116
- "type": {
102117
- "text": "boolean"
102115
+ "kind": "method",
102116
+ "name": "shouldValidate",
102117
+ "privacy": "protected",
102118
+ "return": {
102119
+ "type": {
102120
+ "text": "boolean"
102121
+ }
102118
102122
  },
102119
- "default": "false",
102120
- "description": "Whether the browser will show the download dialog on click.",
102121
- "fieldName": "download",
102123
+ "parameters": [
102124
+ {
102125
+ "name": "name",
102126
+ "type": {
102127
+ "text": "PropertyKey | undefined"
102128
+ }
102129
+ }
102130
+ ],
102131
+ "description": "Whether validation should be run on a property change with the given name.",
102122
102132
  "inheritedFrom": {
102123
- "name": "SbbLinkBaseElement",
102124
- "module": "core/base-elements/link-base-element.js"
102133
+ "name": "SbbFormAssociatedMixin",
102134
+ "module": "core/mixins/form-associated-mixin.js"
102125
102135
  }
102126
102136
  },
102127
102137
  {
102128
- "name": "accessibility-label",
102129
- "type": {
102130
- "text": "string"
102138
+ "kind": "method",
102139
+ "name": "_setInternalValidity",
102140
+ "privacy": "private",
102141
+ "return": {
102142
+ "type": {
102143
+ "text": "void"
102144
+ }
102131
102145
  },
102132
- "default": "''",
102133
- "description": "This will be forwarded as aria-label to the inner anchor element.",
102134
- "fieldName": "accessibilityLabel",
102135
102146
  "inheritedFrom": {
102136
- "name": "SbbLinkBaseElement",
102137
- "module": "core/base-elements/link-base-element.js"
102147
+ "name": "SbbFormAssociatedMixin",
102148
+ "module": "core/mixins/form-associated-mixin.js"
102138
102149
  }
102139
102150
  },
102140
102151
  {
102141
- "name": "accessibility-current",
102142
- "type": {
102143
- "text": "string"
102144
- },
102145
- "default": "''",
102146
- "description": "This will be forwarded as aria-current to the inner anchor element.",
102147
- "fieldName": "accessibilityCurrent",
102152
+ "kind": "field",
102153
+ "name": "_preventScrollOnSpaceKeydown",
102154
+ "privacy": "private",
102155
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
102156
+ "parameters": [
102157
+ {
102158
+ "description": "The origin event.",
102159
+ "name": "event"
102160
+ }
102161
+ ],
102148
102162
  "inheritedFrom": {
102149
- "name": "SbbLinkBaseElement",
102150
- "module": "core/base-elements/link-base-element.js"
102163
+ "name": "SbbButtonLikeBaseElement",
102164
+ "module": "core/base-elements/button-base-element.js"
102151
102165
  }
102152
- }
102153
- ]
102154
- }
102155
- ],
102156
- "exports": [
102157
- {
102158
- "kind": "js",
102159
- "name": "SbbMenuLinkElement",
102160
- "declaration": {
102161
- "name": "SbbMenuLinkElement",
102162
- "module": "menu/menu-link/menu-link.component.js"
102163
- }
102164
- }
102165
- ]
102166
- },
102167
- {
102168
- "kind": "javascript-module",
102169
- "path": "menu/menu-button/menu-button.component.js",
102170
- "declarations": [
102171
- {
102172
- "kind": "class",
102173
- "description": "It displays a button element that can be used in the `sbb-menu` component.",
102174
- "name": "SbbMenuButtonElement",
102175
- "cssProperties": [
102176
- {
102177
- "description": "Can be used to modify horizontal padding.",
102178
- "name": "--sbb-menu-action-outer-horizontal-padding",
102179
- "default": "var(--sbb-spacing-fixed-3x)"
102180
- }
102181
- ],
102182
- "slots": [
102183
- {
102184
- "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
102185
- "name": ""
102186
102166
  },
102187
- {
102188
- "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
102189
- "name": "icon"
102190
- }
102191
- ],
102192
- "members": [
102193
102167
  {
102194
102168
  "kind": "field",
102195
- "name": "elementName",
102196
- "type": {
102197
- "text": "string"
102198
- },
102199
- "privacy": "public",
102200
- "static": true,
102201
- "readonly": true,
102169
+ "name": "_removeActiveMarker",
102170
+ "privacy": "private",
102202
102171
  "inheritedFrom": {
102203
- "name": "SbbElement",
102204
- "module": "core/base-elements/element.js"
102205
- },
102206
- "default": "'sbb-menu-button'"
102172
+ "name": "SbbButtonLikeBaseElement",
102173
+ "module": "core/base-elements/button-base-element.js"
102174
+ }
102207
102175
  },
102208
102176
  {
102209
102177
  "kind": "field",
102210
- "name": "role",
102211
- "type": {
102212
- "text": "ElementInternals['role']"
102213
- },
102214
- "privacy": "public",
102215
- "static": true,
102216
- "readonly": true,
102217
- "default": "'menuitem'",
102178
+ "name": "_dispatchClickEventOnSpaceKeyup",
102179
+ "privacy": "private",
102180
+ "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.",
102181
+ "parameters": [
102182
+ {
102183
+ "description": "The origin event.",
102184
+ "name": "event"
102185
+ }
102186
+ ],
102218
102187
  "inheritedFrom": {
102219
102188
  "name": "SbbButtonLikeBaseElement",
102220
102189
  "module": "core/base-elements/button-base-element.js"
@@ -102222,619 +102191,622 @@
102222
102191
  },
102223
102192
  {
102224
102193
  "kind": "field",
102225
- "name": "disabledInteractive",
102226
- "type": {
102227
- "text": "boolean"
102228
- },
102229
- "privacy": "public",
102230
- "default": "false",
102231
- "description": "Whether the button should be aria-disabled but stay interactive.",
102232
- "attribute": "disabled-interactive",
102233
- "reflects": true,
102194
+ "name": "_dispatchClickEvent",
102195
+ "privacy": "private",
102234
102196
  "inheritedFrom": {
102235
- "name": "SbbDisabledInteractiveMixin",
102236
- "module": "core/mixins/disabled-mixin.js"
102197
+ "name": "SbbButtonLikeBaseElement",
102198
+ "module": "core/base-elements/button-base-element.js"
102237
102199
  }
102238
102200
  },
102239
102201
  {
102240
102202
  "kind": "field",
102241
- "name": "disabled",
102242
- "privacy": "public",
102243
- "description": "Whether the component is disabled.",
102244
- "default": "false",
102203
+ "name": "maybeDisabled",
102245
102204
  "type": {
102246
- "text": "boolean"
102205
+ "text": "boolean | undefined"
102247
102206
  },
102248
- "attribute": "disabled",
102249
- "reflects": true,
102207
+ "privacy": "protected",
102208
+ "readonly": true,
102250
102209
  "inheritedFrom": {
102251
- "name": "SbbDisabledMixin",
102252
- "module": "core/mixins/disabled-mixin.js"
102210
+ "name": "SbbActionBaseElement",
102211
+ "module": "core/base-elements/action-base-element.js"
102253
102212
  }
102254
102213
  },
102255
102214
  {
102256
102215
  "kind": "field",
102257
- "name": "#disabled",
102258
- "privacy": "private",
102216
+ "name": "maybeDisabledInteractive",
102259
102217
  "type": {
102260
- "text": "boolean"
102218
+ "text": "boolean | undefined"
102261
102219
  },
102262
- "default": "false",
102220
+ "privacy": "protected",
102221
+ "readonly": true,
102263
102222
  "inheritedFrom": {
102264
- "name": "SbbDisabledMixin",
102265
- "module": "core/mixins/disabled-mixin.js"
102223
+ "name": "SbbActionBaseElement",
102224
+ "module": "core/base-elements/action-base-element.js"
102266
102225
  }
102267
102226
  },
102268
102227
  {
102269
102228
  "kind": "method",
102270
- "name": "isDisabledExternally",
102229
+ "name": "setupBaseEventHandlers",
102271
102230
  "privacy": "protected",
102272
102231
  "return": {
102273
102232
  "type": {
102274
- "text": "boolean"
102233
+ "text": "void"
102275
102234
  }
102276
102235
  },
102277
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
102278
102236
  "inheritedFrom": {
102279
- "name": "SbbDisabledMixin",
102280
- "module": "core/mixins/disabled-mixin.js"
102237
+ "name": "SbbActionBaseElement",
102238
+ "module": "core/base-elements/action-base-element.js"
102239
+ }
102240
+ },
102241
+ {
102242
+ "kind": "field",
102243
+ "name": "_hydrationRequired",
102244
+ "type": {
102245
+ "text": "boolean"
102246
+ },
102247
+ "privacy": "private",
102248
+ "default": "!!this.shadowRoot",
102249
+ "inheritedFrom": {
102250
+ "name": "SbbElement",
102251
+ "module": "core/base-elements/element.js"
102281
102252
  }
102282
102253
  },
102283
102254
  {
102284
102255
  "kind": "field",
102285
- "name": "styles",
102286
- "type": {
102287
- "text": "CSSResultGroup"
102288
- },
102289
- "privacy": "public",
102290
- "static": true,
102291
- "default": "[boxSizingStyles, style]",
102256
+ "name": "_hydrationComplete",
102257
+ "privacy": "private",
102258
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
102292
102259
  "inheritedFrom": {
102293
- "name": "SbbMenuActionCommonElementMixin",
102294
- "module": "menu/common/menu-action-common.js"
102260
+ "name": "SbbElement",
102261
+ "module": "core/base-elements/element.js"
102295
102262
  }
102296
102263
  },
102297
102264
  {
102298
- "kind": "method",
102299
- "name": "renderTemplate",
102300
- "privacy": "protected",
102301
- "return": {
102302
- "type": {
102303
- "text": "TemplateResult"
102304
- }
102265
+ "kind": "field",
102266
+ "name": "_resolveHydration",
102267
+ "type": {
102268
+ "text": "(hydrationRequired: boolean) => void"
102305
102269
  },
102306
- "description": "Override this method to render the component template.",
102270
+ "privacy": "private",
102307
102271
  "inheritedFrom": {
102308
- "name": "SbbActionBaseElement",
102309
- "module": "core/base-elements/action-base-element.js"
102272
+ "name": "SbbElement",
102273
+ "module": "core/base-elements/element.js"
102310
102274
  }
102311
102275
  },
102312
102276
  {
102313
102277
  "kind": "field",
102314
- "name": "iconName",
102278
+ "name": "hydrationRequired",
102315
102279
  "type": {
102316
- "text": "string"
102280
+ "text": "boolean"
102317
102281
  },
102318
- "privacy": "public",
102319
- "default": "''",
102320
- "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.",
102321
- "attribute": "icon-name",
102282
+ "privacy": "protected",
102283
+ "description": "Returns whether hydration is required and not completed.",
102284
+ "readonly": true,
102322
102285
  "inheritedFrom": {
102323
- "name": "SbbIconNameMixin",
102324
- "module": "icon/icon-name-mixin.js"
102325
- }
102286
+ "name": "SbbElement",
102287
+ "module": "core/base-elements/element.js"
102288
+ },
102289
+ "default": "!!this.shadowRoot"
102326
102290
  },
102327
102291
  {
102328
102292
  "kind": "method",
102329
- "name": "renderIconSlot",
102293
+ "name": "toggleState",
102330
102294
  "privacy": "protected",
102331
102295
  "return": {
102332
102296
  "type": {
102333
- "text": "TemplateResult"
102297
+ "text": "void"
102334
102298
  }
102335
102299
  },
102336
102300
  "parameters": [
102337
102301
  {
102338
- "name": "classname",
102339
- "optional": true,
102302
+ "name": "value",
102340
102303
  "type": {
102341
102304
  "text": "string"
102342
102305
  }
102306
+ },
102307
+ {
102308
+ "name": "force",
102309
+ "optional": true,
102310
+ "type": {
102311
+ "text": "boolean"
102312
+ }
102343
102313
  }
102344
102314
  ],
102345
102315
  "inheritedFrom": {
102346
- "name": "SbbIconNameMixin",
102347
- "module": "icon/icon-name-mixin.js"
102348
- }
102349
- },
102350
- {
102351
- "kind": "method",
102352
- "name": "renderIconName",
102353
- "privacy": "protected",
102354
- "return": {
102355
- "type": {
102356
- "text": "string"
102357
- }
102358
- },
102359
- "inheritedFrom": {
102360
- "name": "SbbIconNameMixin",
102361
- "module": "icon/icon-name-mixin.js"
102316
+ "name": "SbbElement",
102317
+ "module": "core/base-elements/element.js"
102362
102318
  }
102363
102319
  },
102364
102320
  {
102365
- "kind": "method",
102366
- "name": "_renderIconName",
102367
- "privacy": "private",
102368
- "return": {
102369
- "type": {
102370
- "text": "string"
102371
- }
102321
+ "kind": "field",
102322
+ "name": "['_$sbbElement$']",
102323
+ "type": {
102324
+ "text": "boolean"
102372
102325
  },
102326
+ "privacy": "public",
102327
+ "static": true,
102328
+ "default": "true",
102373
102329
  "inheritedFrom": {
102374
- "name": "SbbIconNameMixin",
102375
- "module": "icon/icon-name-mixin.js"
102330
+ "name": "SbbElement",
102331
+ "module": "core/base-elements/element.js"
102376
102332
  }
102377
102333
  },
102378
102334
  {
102379
102335
  "kind": "field",
102380
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
102336
+ "name": "_controllers",
102381
102337
  "type": {
102382
- "text": "array"
102338
+ "text": "Set<SbbReactiveController> | undefined"
102383
102339
  },
102384
102340
  "privacy": "private",
102385
- "readonly": true,
102386
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
102387
102341
  "inheritedFrom": {
102388
- "name": "SbbButtonBaseElement",
102389
- "module": "core/base-elements/button-base-element.js"
102342
+ "name": "SbbElement",
102343
+ "module": "core/base-elements/element.js"
102390
102344
  }
102345
+ }
102346
+ ],
102347
+ "mixins": [
102348
+ {
102349
+ "name": "SbbDisabledTabIndexActionMixin",
102350
+ "module": "core/mixins.js"
102391
102351
  },
102392
102352
  {
102393
- "kind": "field",
102394
- "name": "value",
102353
+ "name": "SbbMenuActionCommonElementMixin",
102354
+ "module": "menu/common/menu-action-common.js"
102355
+ }
102356
+ ],
102357
+ "superclass": {
102358
+ "name": "SbbButtonBaseElement",
102359
+ "module": "core/base-elements.js"
102360
+ },
102361
+ "tagName": "sbb-menu-button",
102362
+ "customElement": true,
102363
+ "attributes": [
102364
+ {
102365
+ "name": "disabled-interactive",
102395
102366
  "type": {
102396
- "text": "string"
102367
+ "text": "boolean"
102397
102368
  },
102398
- "privacy": "public",
102369
+ "default": "false",
102370
+ "description": "Whether the button should be aria-disabled but stay interactive.",
102371
+ "fieldName": "disabledInteractive",
102399
102372
  "inheritedFrom": {
102400
- "name": "SbbButtonBaseElement",
102401
- "module": "core/base-elements/button-base-element.js"
102402
- },
102403
- "default": "''",
102404
- "description": "Value of the form element.",
102405
- "attribute": "value"
102373
+ "name": "SbbDisabledInteractiveMixin",
102374
+ "module": "core/mixins/disabled-mixin.js"
102375
+ }
102406
102376
  },
102407
102377
  {
102408
- "kind": "field",
102409
- "name": "type",
102410
- "privacy": "public",
102411
- "description": "The type attribute to use for the button.",
102412
- "default": "'button'",
102378
+ "name": "disabled",
102379
+ "description": "Whether the component is disabled.",
102380
+ "default": "false",
102413
102381
  "type": {
102414
- "text": "SbbButtonType"
102382
+ "text": "boolean"
102415
102383
  },
102416
- "attribute": "type",
102384
+ "fieldName": "disabled",
102417
102385
  "inheritedFrom": {
102418
- "name": "SbbButtonBaseElement",
102419
- "module": "core/base-elements/button-base-element.js"
102386
+ "name": "SbbDisabledMixin",
102387
+ "module": "core/mixins/disabled-mixin.js"
102420
102388
  }
102421
102389
  },
102422
102390
  {
102423
- "kind": "field",
102424
- "name": "form",
102391
+ "name": "icon-name",
102425
102392
  "type": {
102426
- "text": "HTMLFormElement | null"
102393
+ "text": "string"
102427
102394
  },
102428
- "privacy": "public",
102429
- "description": "The `<form>` element to associate the button with.",
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
+ "fieldName": "iconName",
102430
102398
  "inheritedFrom": {
102431
- "name": "SbbButtonBaseElement",
102432
- "module": "core/base-elements/button-base-element.js"
102433
- },
102434
- "attribute": "form"
102399
+ "name": "SbbIconNameMixin",
102400
+ "module": "icon/icon-name-mixin.js"
102401
+ }
102435
102402
  },
102436
102403
  {
102437
- "kind": "field",
102438
- "name": "_formId",
102404
+ "name": "value",
102439
102405
  "type": {
102440
102406
  "text": "string"
102441
102407
  },
102442
- "privacy": "private",
102443
102408
  "default": "''",
102409
+ "description": "Value of the form element.",
102410
+ "fieldName": "value",
102444
102411
  "inheritedFrom": {
102445
102412
  "name": "SbbButtonBaseElement",
102446
102413
  "module": "core/base-elements/button-base-element.js"
102447
102414
  }
102448
102415
  },
102449
102416
  {
102450
- "kind": "field",
102451
- "name": "_handleButtonClick",
102452
- "privacy": "private",
102417
+ "name": "type",
102418
+ "description": "The type attribute to use for the button.",
102419
+ "default": "'button'",
102420
+ "type": {
102421
+ "text": "SbbButtonType"
102422
+ },
102423
+ "fieldName": "type",
102453
102424
  "inheritedFrom": {
102454
102425
  "name": "SbbButtonBaseElement",
102455
102426
  "module": "core/base-elements/button-base-element.js"
102456
102427
  }
102457
102428
  },
102458
102429
  {
102459
- "kind": "method",
102460
- "name": "_requestSubmit",
102461
- "privacy": "private",
102462
- "return": {
102463
- "type": {
102464
- "text": "void"
102465
- }
102430
+ "name": "form",
102431
+ "description": "The `<form>` element to associate the button with.",
102432
+ "type": {
102433
+ "text": "HTMLFormElement | null"
102466
102434
  },
102467
- "parameters": [
102468
- {
102469
- "name": "form",
102470
- "type": {
102471
- "text": "HTMLFormElement"
102472
- }
102473
- }
102474
- ],
102435
+ "fieldName": "form",
102475
102436
  "inheritedFrom": {
102476
102437
  "name": "SbbButtonBaseElement",
102477
102438
  "module": "core/base-elements/button-base-element.js"
102478
102439
  }
102479
102440
  },
102480
102441
  {
102481
- "kind": "field",
102482
- "name": "_formKeyDown",
102483
- "privacy": "private",
102442
+ "name": "name",
102443
+ "description": "Name of the form element. Will be read from name attribute.",
102444
+ "type": {
102445
+ "text": "string"
102446
+ },
102447
+ "fieldName": "name",
102484
102448
  "inheritedFrom": {
102485
- "name": "SbbButtonBaseElement",
102486
- "module": "core/base-elements/button-base-element.js"
102449
+ "name": "SbbFormAssociatedMixin",
102450
+ "module": "core/mixins/form-associated-mixin.js"
102487
102451
  }
102488
- },
102452
+ }
102453
+ ]
102454
+ }
102455
+ ],
102456
+ "exports": [
102457
+ {
102458
+ "kind": "js",
102459
+ "name": "SbbMenuButtonElement",
102460
+ "declaration": {
102461
+ "name": "SbbMenuButtonElement",
102462
+ "module": "menu/menu-button/menu-button.component.js"
102463
+ }
102464
+ }
102465
+ ]
102466
+ },
102467
+ {
102468
+ "kind": "javascript-module",
102469
+ "path": "menu/menu-link/menu-link.component.js",
102470
+ "declarations": [
102471
+ {
102472
+ "kind": "class",
102473
+ "description": "It displays a link element that can be used in the `sbb-menu` component.",
102474
+ "name": "SbbMenuLinkElement",
102475
+ "cssProperties": [
102476
+ {
102477
+ "description": "Can be used to modify horizontal padding.",
102478
+ "name": "--sbb-menu-action-outer-horizontal-padding",
102479
+ "default": "var(--sbb-spacing-fixed-3x)"
102480
+ }
102481
+ ],
102482
+ "slots": [
102489
102483
  {
102490
- "kind": "field",
102491
- "name": "formAssociated",
102492
- "type": {
102493
- "text": "boolean"
102494
- },
102495
- "privacy": "public",
102496
- "static": true,
102497
- "default": "true",
102498
- "inheritedFrom": {
102499
- "name": "SbbFormAssociatedMixin",
102500
- "module": "core/mixins/form-associated-mixin.js"
102501
- }
102484
+ "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
102485
+ "name": ""
102502
102486
  },
102503
102487
  {
102504
- "kind": "field",
102505
- "name": "name",
102506
- "privacy": "public",
102507
- "description": "Name of the form element. Will be read from name attribute.",
102508
- "type": {
102509
- "text": "string"
102510
- },
102511
- "attribute": "name",
102512
- "inheritedFrom": {
102513
- "name": "SbbFormAssociatedMixin",
102514
- "module": "core/mixins/form-associated-mixin.js"
102515
- }
102516
- },
102488
+ "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
102489
+ "name": "icon"
102490
+ }
102491
+ ],
102492
+ "members": [
102517
102493
  {
102518
102494
  "kind": "field",
102519
- "name": "validity",
102495
+ "name": "elementName",
102520
102496
  "type": {
102521
- "text": "ValidityState"
102497
+ "text": "string"
102522
102498
  },
102523
102499
  "privacy": "public",
102524
- "description": "Returns the ValidityState object for this element.",
102500
+ "static": true,
102525
102501
  "readonly": true,
102526
102502
  "inheritedFrom": {
102527
- "name": "SbbFormAssociatedMixin",
102528
- "module": "core/mixins/form-associated-mixin.js"
102529
- }
102503
+ "name": "SbbElement",
102504
+ "module": "core/base-elements/element.js"
102505
+ },
102506
+ "default": "'sbb-menu-link'"
102530
102507
  },
102531
102508
  {
102532
102509
  "kind": "field",
102533
- "name": "validationMessage",
102510
+ "name": "anchorRole",
102534
102511
  "type": {
102535
102512
  "text": "string"
102536
102513
  },
102537
- "privacy": "public",
102538
- "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.",
102514
+ "privacy": "protected",
102539
102515
  "readonly": true,
102516
+ "default": "'menuitem'",
102540
102517
  "inheritedFrom": {
102541
- "name": "SbbFormAssociatedMixin",
102542
- "module": "core/mixins/form-associated-mixin.js"
102518
+ "name": "SbbLinkBaseElement",
102519
+ "module": "core/base-elements/link-base-element.js"
102543
102520
  }
102544
102521
  },
102545
102522
  {
102546
102523
  "kind": "field",
102547
- "name": "willValidate",
102524
+ "name": "disabledInteractive",
102548
102525
  "type": {
102549
102526
  "text": "boolean"
102550
102527
  },
102551
102528
  "privacy": "public",
102552
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
102553
- "readonly": true,
102554
- "inheritedFrom": {
102555
- "name": "SbbFormAssociatedMixin",
102556
- "module": "core/mixins/form-associated-mixin.js"
102557
- }
102558
- },
102559
- {
102560
- "kind": "field",
102561
- "name": "_validityStates",
102562
- "privacy": "private",
102563
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
102529
+ "default": "false",
102530
+ "description": "Whether the button should be aria-disabled but stay interactive.",
102531
+ "attribute": "disabled-interactive",
102532
+ "reflects": true,
102564
102533
  "inheritedFrom": {
102565
- "name": "SbbFormAssociatedMixin",
102566
- "module": "core/mixins/form-associated-mixin.js"
102534
+ "name": "SbbDisabledInteractiveMixin",
102535
+ "module": "core/mixins/disabled-mixin.js"
102567
102536
  }
102568
102537
  },
102569
102538
  {
102570
102539
  "kind": "field",
102571
- "name": "formDisabled",
102540
+ "name": "styles",
102572
102541
  "type": {
102573
- "text": "boolean"
102542
+ "text": "CSSResultGroup"
102574
102543
  },
102575
- "privacy": "protected",
102576
- "default": "false",
102577
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
102544
+ "privacy": "public",
102545
+ "static": true,
102546
+ "default": "[boxSizingStyles, style]",
102578
102547
  "inheritedFrom": {
102579
- "name": "SbbFormAssociatedMixin",
102580
- "module": "core/mixins/form-associated-mixin.js"
102548
+ "name": "SbbMenuActionCommonElementMixin",
102549
+ "module": "menu/common/menu-action-common.js"
102581
102550
  }
102582
102551
  },
102583
102552
  {
102584
102553
  "kind": "method",
102585
- "name": "checkValidity",
102586
- "privacy": "public",
102554
+ "name": "renderTemplate",
102555
+ "privacy": "protected",
102587
102556
  "return": {
102588
102557
  "type": {
102589
- "text": "boolean"
102558
+ "text": "TemplateResult"
102590
102559
  }
102591
102560
  },
102592
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
102561
+ "description": "Override this method to render the component template.",
102593
102562
  "inheritedFrom": {
102594
- "name": "SbbFormAssociatedMixin",
102595
- "module": "core/mixins/form-associated-mixin.js"
102563
+ "name": "SbbActionBaseElement",
102564
+ "module": "core/base-elements/action-base-element.js"
102596
102565
  }
102597
102566
  },
102598
102567
  {
102599
- "kind": "method",
102600
- "name": "reportValidity",
102601
- "privacy": "public",
102602
- "return": {
102603
- "type": {
102604
- "text": "boolean"
102605
- }
102568
+ "kind": "field",
102569
+ "name": "iconName",
102570
+ "type": {
102571
+ "text": "string"
102606
102572
  },
102607
- "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.",
102573
+ "privacy": "public",
102574
+ "default": "''",
102575
+ "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.",
102576
+ "attribute": "icon-name",
102608
102577
  "inheritedFrom": {
102609
- "name": "SbbFormAssociatedMixin",
102610
- "module": "core/mixins/form-associated-mixin.js"
102578
+ "name": "SbbIconNameMixin",
102579
+ "module": "icon/icon-name-mixin.js"
102611
102580
  }
102612
102581
  },
102613
102582
  {
102614
102583
  "kind": "method",
102615
- "name": "setCustomValidity",
102616
- "privacy": "public",
102584
+ "name": "renderIconSlot",
102585
+ "privacy": "protected",
102617
102586
  "return": {
102618
102587
  "type": {
102619
- "text": "void"
102588
+ "text": "TemplateResult"
102620
102589
  }
102621
102590
  },
102622
102591
  "parameters": [
102623
102592
  {
102624
- "name": "message",
102593
+ "name": "classname",
102594
+ "optional": true,
102625
102595
  "type": {
102626
102596
  "text": "string"
102627
102597
  }
102628
102598
  }
102629
102599
  ],
102630
- "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.",
102631
102600
  "inheritedFrom": {
102632
- "name": "SbbFormAssociatedMixin",
102633
- "module": "core/mixins/form-associated-mixin.js"
102601
+ "name": "SbbIconNameMixin",
102602
+ "module": "icon/icon-name-mixin.js"
102634
102603
  }
102635
102604
  },
102636
102605
  {
102637
102606
  "kind": "method",
102638
- "name": "_hasDisabledAncestor",
102639
- "privacy": "private",
102607
+ "name": "renderIconName",
102608
+ "privacy": "protected",
102640
102609
  "return": {
102641
102610
  "type": {
102642
- "text": "boolean"
102611
+ "text": "string"
102643
102612
  }
102644
102613
  },
102645
102614
  "inheritedFrom": {
102646
- "name": "SbbFormAssociatedMixin",
102647
- "module": "core/mixins/form-associated-mixin.js"
102615
+ "name": "SbbIconNameMixin",
102616
+ "module": "icon/icon-name-mixin.js"
102648
102617
  }
102649
102618
  },
102650
102619
  {
102651
102620
  "kind": "method",
102652
- "name": "updateFormValue",
102653
- "privacy": "protected",
102621
+ "name": "_renderIconName",
102622
+ "privacy": "private",
102654
102623
  "return": {
102655
102624
  "type": {
102656
- "text": "void"
102625
+ "text": "string"
102657
102626
  }
102658
102627
  },
102659
- "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",
102660
102628
  "inheritedFrom": {
102661
- "name": "SbbFormAssociatedMixin",
102662
- "module": "core/mixins/form-associated-mixin.js"
102629
+ "name": "SbbIconNameMixin",
102630
+ "module": "icon/icon-name-mixin.js"
102663
102631
  }
102664
102632
  },
102665
102633
  {
102666
- "kind": "method",
102667
- "name": "formState",
102668
- "privacy": "protected",
102669
- "return": {
102670
- "type": {
102671
- "text": "FormRestoreState"
102672
- }
102634
+ "kind": "field",
102635
+ "name": "disabled",
102636
+ "privacy": "public",
102637
+ "description": "Whether the component is disabled.",
102638
+ "default": "false",
102639
+ "type": {
102640
+ "text": "boolean"
102673
102641
  },
102642
+ "attribute": "disabled",
102643
+ "reflects": true,
102674
102644
  "inheritedFrom": {
102675
- "name": "SbbFormAssociatedMixin",
102676
- "module": "core/mixins/form-associated-mixin.js"
102645
+ "name": "SbbDisabledMixin",
102646
+ "module": "core/mixins/disabled-mixin.js"
102647
+ }
102648
+ },
102649
+ {
102650
+ "kind": "field",
102651
+ "name": "#disabled",
102652
+ "privacy": "private",
102653
+ "type": {
102654
+ "text": "boolean"
102655
+ },
102656
+ "default": "false",
102657
+ "inheritedFrom": {
102658
+ "name": "SbbDisabledMixin",
102659
+ "module": "core/mixins/disabled-mixin.js"
102677
102660
  }
102678
102661
  },
102679
102662
  {
102680
102663
  "kind": "method",
102681
- "name": "setValidityFlag",
102664
+ "name": "isDisabledExternally",
102682
102665
  "privacy": "protected",
102683
102666
  "return": {
102684
102667
  "type": {
102685
- "text": "void"
102668
+ "text": "boolean"
102686
102669
  }
102687
102670
  },
102688
- "parameters": [
102689
- {
102690
- "name": "flag",
102691
- "type": {
102692
- "text": "T"
102693
- }
102694
- },
102695
- {
102696
- "name": "message",
102697
- "type": {
102698
- "text": "string"
102699
- }
102700
- },
102701
- {
102702
- "name": "flagValue",
102703
- "optional": true,
102704
- "type": {
102705
- "text": "ValidityStateFlags[T]"
102706
- }
102707
- }
102708
- ],
102709
- "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).",
102671
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
102710
102672
  "inheritedFrom": {
102711
- "name": "SbbFormAssociatedMixin",
102712
- "module": "core/mixins/form-associated-mixin.js"
102673
+ "name": "SbbDisabledMixin",
102674
+ "module": "core/mixins/disabled-mixin.js"
102675
+ }
102676
+ },
102677
+ {
102678
+ "kind": "field",
102679
+ "name": "href",
102680
+ "type": {
102681
+ "text": "string"
102682
+ },
102683
+ "privacy": "public",
102684
+ "default": "''",
102685
+ "description": "The href value you want to link to.",
102686
+ "attribute": "href",
102687
+ "reflects": true,
102688
+ "inheritedFrom": {
102689
+ "name": "SbbLinkBaseElement",
102690
+ "module": "core/base-elements/link-base-element.js"
102691
+ }
102692
+ },
102693
+ {
102694
+ "kind": "field",
102695
+ "name": "target",
102696
+ "type": {
102697
+ "text": "LinkTargetType | string"
102698
+ },
102699
+ "privacy": "public",
102700
+ "default": "''",
102701
+ "description": "Where to display the linked URL.",
102702
+ "attribute": "target",
102703
+ "reflects": true,
102704
+ "inheritedFrom": {
102705
+ "name": "SbbLinkBaseElement",
102706
+ "module": "core/base-elements/link-base-element.js"
102713
102707
  }
102714
102708
  },
102715
102709
  {
102716
- "kind": "method",
102717
- "name": "removeValidityFlag",
102718
- "privacy": "protected",
102719
- "return": {
102720
- "type": {
102721
- "text": "void"
102722
- }
102710
+ "kind": "field",
102711
+ "name": "rel",
102712
+ "type": {
102713
+ "text": "string"
102723
102714
  },
102724
- "parameters": [
102725
- {
102726
- "name": "flag",
102727
- "type": {
102728
- "text": "T"
102729
- }
102730
- }
102731
- ],
102732
- "description": "Removes the validity state flag entry and updates validity state.",
102715
+ "privacy": "public",
102716
+ "default": "''",
102717
+ "description": "The relationship of the linked URL as space-separated link types.",
102718
+ "attribute": "rel",
102719
+ "reflects": true,
102733
102720
  "inheritedFrom": {
102734
- "name": "SbbFormAssociatedMixin",
102735
- "module": "core/mixins/form-associated-mixin.js"
102721
+ "name": "SbbLinkBaseElement",
102722
+ "module": "core/base-elements/link-base-element.js"
102736
102723
  }
102737
102724
  },
102738
102725
  {
102739
- "kind": "method",
102740
- "name": "validate",
102741
- "privacy": "protected",
102742
- "return": {
102743
- "type": {
102744
- "text": "void"
102745
- }
102726
+ "kind": "field",
102727
+ "name": "download",
102728
+ "type": {
102729
+ "text": "boolean"
102746
102730
  },
102747
- "description": "To be called whenever the current element needs to be validated.",
102731
+ "privacy": "public",
102732
+ "default": "false",
102733
+ "description": "Whether the browser will show the download dialog on click.",
102734
+ "attribute": "download",
102735
+ "reflects": true,
102748
102736
  "inheritedFrom": {
102749
- "name": "SbbFormAssociatedMixin",
102750
- "module": "core/mixins/form-associated-mixin.js"
102737
+ "name": "SbbLinkBaseElement",
102738
+ "module": "core/base-elements/link-base-element.js"
102751
102739
  }
102752
102740
  },
102753
102741
  {
102754
- "kind": "method",
102755
- "name": "shouldValidate",
102756
- "privacy": "protected",
102757
- "return": {
102758
- "type": {
102759
- "text": "boolean"
102760
- }
102742
+ "kind": "field",
102743
+ "name": "accessibilityLabel",
102744
+ "type": {
102745
+ "text": "string"
102761
102746
  },
102762
- "parameters": [
102763
- {
102764
- "name": "name",
102765
- "type": {
102766
- "text": "PropertyKey | undefined"
102767
- }
102768
- }
102769
- ],
102770
- "description": "Whether validation should be run on a property change with the given name.",
102747
+ "privacy": "public",
102748
+ "default": "''",
102749
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
102750
+ "attribute": "accessibility-label",
102771
102751
  "inheritedFrom": {
102772
- "name": "SbbFormAssociatedMixin",
102773
- "module": "core/mixins/form-associated-mixin.js"
102752
+ "name": "SbbLinkBaseElement",
102753
+ "module": "core/base-elements/link-base-element.js"
102774
102754
  }
102775
102755
  },
102776
102756
  {
102777
- "kind": "method",
102778
- "name": "_setInternalValidity",
102779
- "privacy": "private",
102780
- "return": {
102781
- "type": {
102782
- "text": "void"
102783
- }
102757
+ "kind": "field",
102758
+ "name": "accessibilityCurrent",
102759
+ "type": {
102760
+ "text": "string"
102784
102761
  },
102762
+ "privacy": "public",
102763
+ "default": "''",
102764
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
102765
+ "attribute": "accessibility-current",
102785
102766
  "inheritedFrom": {
102786
- "name": "SbbFormAssociatedMixin",
102787
- "module": "core/mixins/form-associated-mixin.js"
102767
+ "name": "SbbLinkBaseElement",
102768
+ "module": "core/base-elements/link-base-element.js"
102788
102769
  }
102789
102770
  },
102790
102771
  {
102791
102772
  "kind": "field",
102792
- "name": "_preventScrollOnSpaceKeydown",
102793
- "privacy": "private",
102794
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
102795
- "parameters": [
102796
- {
102797
- "description": "The origin event.",
102798
- "name": "event"
102799
- }
102800
- ],
102773
+ "name": "language",
102774
+ "privacy": "protected",
102775
+ "default": "new SbbLanguageController(this)",
102801
102776
  "inheritedFrom": {
102802
- "name": "SbbButtonLikeBaseElement",
102803
- "module": "core/base-elements/button-base-element.js"
102777
+ "name": "SbbLinkBaseElement",
102778
+ "module": "core/base-elements/link-base-element.js"
102804
102779
  }
102805
102780
  },
102806
102781
  {
102807
102782
  "kind": "field",
102808
- "name": "_removeActiveMarker",
102783
+ "name": "_evaluateRelAttribute",
102809
102784
  "privacy": "private",
102810
102785
  "inheritedFrom": {
102811
- "name": "SbbButtonLikeBaseElement",
102812
- "module": "core/base-elements/button-base-element.js"
102786
+ "name": "SbbLinkBaseElement",
102787
+ "module": "core/base-elements/link-base-element.js"
102813
102788
  }
102814
102789
  },
102815
102790
  {
102816
- "kind": "field",
102817
- "name": "_dispatchClickEventOnSpaceKeyup",
102818
- "privacy": "private",
102819
- "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.",
102791
+ "kind": "method",
102792
+ "name": "renderLink",
102793
+ "privacy": "protected",
102794
+ "return": {
102795
+ "type": {
102796
+ "text": "TemplateResult"
102797
+ }
102798
+ },
102820
102799
  "parameters": [
102821
102800
  {
102822
- "description": "The origin event.",
102823
- "name": "event"
102801
+ "name": "renderContent",
102802
+ "type": {
102803
+ "text": "TemplateResult"
102804
+ }
102824
102805
  }
102825
102806
  ],
102826
102807
  "inheritedFrom": {
102827
- "name": "SbbButtonLikeBaseElement",
102828
- "module": "core/base-elements/button-base-element.js"
102829
- }
102830
- },
102831
- {
102832
- "kind": "field",
102833
- "name": "_dispatchClickEvent",
102834
- "privacy": "private",
102835
- "inheritedFrom": {
102836
- "name": "SbbButtonLikeBaseElement",
102837
- "module": "core/base-elements/button-base-element.js"
102808
+ "name": "SbbLinkBaseElement",
102809
+ "module": "core/base-elements/link-base-element.js"
102838
102810
  }
102839
102811
  },
102840
102812
  {
@@ -102985,7 +102957,7 @@
102985
102957
  ],
102986
102958
  "mixins": [
102987
102959
  {
102988
- "name": "SbbDisabledTabIndexActionMixin",
102960
+ "name": "SbbDisabledInteractiveMixin",
102989
102961
  "module": "core/mixins.js"
102990
102962
  },
102991
102963
  {
@@ -102994,10 +102966,10 @@
102994
102966
  }
102995
102967
  ],
102996
102968
  "superclass": {
102997
- "name": "SbbButtonBaseElement",
102969
+ "name": "SbbLinkBaseElement",
102998
102970
  "module": "core/base-elements.js"
102999
102971
  },
103000
- "tagName": "sbb-menu-button",
102972
+ "tagName": "sbb-menu-link",
103001
102973
  "customElement": true,
103002
102974
  "attributes": [
103003
102975
  {
@@ -103013,6 +102985,19 @@
103013
102985
  "module": "core/mixins/disabled-mixin.js"
103014
102986
  }
103015
102987
  },
102988
+ {
102989
+ "name": "icon-name",
102990
+ "type": {
102991
+ "text": "string"
102992
+ },
102993
+ "default": "''",
102994
+ "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.",
102995
+ "fieldName": "iconName",
102996
+ "inheritedFrom": {
102997
+ "name": "SbbIconNameMixin",
102998
+ "module": "icon/icon-name-mixin.js"
102999
+ }
103000
+ },
103016
103001
  {
103017
103002
  "name": "disabled",
103018
103003
  "description": "Whether the component is disabled.",
@@ -103027,66 +103012,81 @@
103027
103012
  }
103028
103013
  },
103029
103014
  {
103030
- "name": "icon-name",
103015
+ "name": "href",
103031
103016
  "type": {
103032
103017
  "text": "string"
103033
103018
  },
103034
103019
  "default": "''",
103035
- "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.",
103036
- "fieldName": "iconName",
103020
+ "description": "The href value you want to link to.",
103021
+ "fieldName": "href",
103037
103022
  "inheritedFrom": {
103038
- "name": "SbbIconNameMixin",
103039
- "module": "icon/icon-name-mixin.js"
103023
+ "name": "SbbLinkBaseElement",
103024
+ "module": "core/base-elements/link-base-element.js"
103040
103025
  }
103041
103026
  },
103042
103027
  {
103043
- "name": "value",
103028
+ "name": "target",
103029
+ "type": {
103030
+ "text": "LinkTargetType | string"
103031
+ },
103032
+ "default": "''",
103033
+ "description": "Where to display the linked URL.",
103034
+ "fieldName": "target",
103035
+ "inheritedFrom": {
103036
+ "name": "SbbLinkBaseElement",
103037
+ "module": "core/base-elements/link-base-element.js"
103038
+ }
103039
+ },
103040
+ {
103041
+ "name": "rel",
103044
103042
  "type": {
103045
103043
  "text": "string"
103046
103044
  },
103047
103045
  "default": "''",
103048
- "description": "Value of the form element.",
103049
- "fieldName": "value",
103046
+ "description": "The relationship of the linked URL as space-separated link types.",
103047
+ "fieldName": "rel",
103050
103048
  "inheritedFrom": {
103051
- "name": "SbbButtonBaseElement",
103052
- "module": "core/base-elements/button-base-element.js"
103049
+ "name": "SbbLinkBaseElement",
103050
+ "module": "core/base-elements/link-base-element.js"
103053
103051
  }
103054
103052
  },
103055
103053
  {
103056
- "name": "type",
103057
- "description": "The type attribute to use for the button.",
103058
- "default": "'button'",
103054
+ "name": "download",
103059
103055
  "type": {
103060
- "text": "SbbButtonType"
103056
+ "text": "boolean"
103061
103057
  },
103062
- "fieldName": "type",
103058
+ "default": "false",
103059
+ "description": "Whether the browser will show the download dialog on click.",
103060
+ "fieldName": "download",
103063
103061
  "inheritedFrom": {
103064
- "name": "SbbButtonBaseElement",
103065
- "module": "core/base-elements/button-base-element.js"
103062
+ "name": "SbbLinkBaseElement",
103063
+ "module": "core/base-elements/link-base-element.js"
103066
103064
  }
103067
103065
  },
103068
103066
  {
103069
- "name": "form",
103070
- "description": "The `<form>` element to associate the button with.",
103067
+ "name": "accessibility-label",
103071
103068
  "type": {
103072
- "text": "HTMLFormElement | null"
103069
+ "text": "string"
103073
103070
  },
103074
- "fieldName": "form",
103071
+ "default": "''",
103072
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
103073
+ "fieldName": "accessibilityLabel",
103075
103074
  "inheritedFrom": {
103076
- "name": "SbbButtonBaseElement",
103077
- "module": "core/base-elements/button-base-element.js"
103075
+ "name": "SbbLinkBaseElement",
103076
+ "module": "core/base-elements/link-base-element.js"
103078
103077
  }
103079
103078
  },
103080
103079
  {
103081
- "name": "name",
103082
- "description": "Name of the form element. Will be read from name attribute.",
103080
+ "name": "accessibility-current",
103083
103081
  "type": {
103084
103082
  "text": "string"
103085
103083
  },
103086
- "fieldName": "name",
103084
+ "default": "''",
103085
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
103086
+ "fieldName": "accessibilityCurrent",
103087
103087
  "inheritedFrom": {
103088
- "name": "SbbFormAssociatedMixin",
103089
- "module": "core/mixins/form-associated-mixin.js"
103088
+ "name": "SbbLinkBaseElement",
103089
+ "module": "core/base-elements/link-base-element.js"
103090
103090
  }
103091
103091
  }
103092
103092
  ]
@@ -103095,10 +103095,10 @@
103095
103095
  "exports": [
103096
103096
  {
103097
103097
  "kind": "js",
103098
- "name": "SbbMenuButtonElement",
103098
+ "name": "SbbMenuLinkElement",
103099
103099
  "declaration": {
103100
- "name": "SbbMenuButtonElement",
103101
- "module": "menu/menu-button/menu-button.component.js"
103100
+ "name": "SbbMenuLinkElement",
103101
+ "module": "menu/menu-link/menu-link.component.js"
103102
103102
  }
103103
103103
  }
103104
103104
  ]
@@ -104339,6 +104339,15 @@
104339
104339
  "privacy": "private",
104340
104340
  "default": "null"
104341
104341
  },
104342
+ {
104343
+ "kind": "field",
104344
+ "name": "_previousOrientation",
104345
+ "type": {
104346
+ "text": "SbbOrientation | null"
104347
+ },
104348
+ "privacy": "private",
104349
+ "default": "null"
104350
+ },
104342
104351
  {
104343
104352
  "kind": "field",
104344
104353
  "name": "_hydrationRequired",