@sbb-esta/lyne-elements-dev 4.13.0-dev.1780466217 → 4.13.0-dev.1780484160

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
@@ -107333,12 +107333,12 @@
107333
107333
  },
107334
107334
  {
107335
107335
  "kind": "javascript-module",
107336
- "path": "menu/menu-link/menu-link.component.js",
107336
+ "path": "menu/menu-button/menu-button.component.js",
107337
107337
  "declarations": [
107338
107338
  {
107339
107339
  "kind": "class",
107340
- "description": "It displays a link element that can be used in the `sbb-menu` component.",
107341
- "name": "SbbMenuLinkElement",
107340
+ "description": "It displays a button element that can be used in the `sbb-menu` component.",
107341
+ "name": "SbbMenuButtonElement",
107342
107342
  "cssProperties": [
107343
107343
  {
107344
107344
  "description": "Can be used to modify horizontal padding.",
@@ -107348,7 +107348,7 @@
107348
107348
  ],
107349
107349
  "slots": [
107350
107350
  {
107351
- "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
107351
+ "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
107352
107352
  "name": ""
107353
107353
  },
107354
107354
  {
@@ -107370,20 +107370,21 @@
107370
107370
  "name": "SbbElement",
107371
107371
  "module": "core/base-elements/element.js"
107372
107372
  },
107373
- "default": "'sbb-menu-link'"
107373
+ "default": "'sbb-menu-button'"
107374
107374
  },
107375
107375
  {
107376
107376
  "kind": "field",
107377
- "name": "anchorRole",
107377
+ "name": "role",
107378
107378
  "type": {
107379
- "text": "string"
107379
+ "text": "ElementInternals['role']"
107380
107380
  },
107381
- "privacy": "protected",
107381
+ "privacy": "public",
107382
+ "static": true,
107382
107383
  "readonly": true,
107383
107384
  "default": "'menuitem'",
107384
107385
  "inheritedFrom": {
107385
- "name": "SbbLinkBaseElement",
107386
- "module": "core/base-elements/link-base-element.js"
107386
+ "name": "SbbButtonLikeBaseElement",
107387
+ "module": "core/base-elements/button-base-element.js"
107387
107388
  }
107388
107389
  },
107389
107390
  {
@@ -107402,6 +107403,50 @@
107402
107403
  "module": "core/mixins/disabled-mixin.js"
107403
107404
  }
107404
107405
  },
107406
+ {
107407
+ "kind": "field",
107408
+ "name": "disabled",
107409
+ "privacy": "public",
107410
+ "description": "Whether the component is disabled.",
107411
+ "default": "false",
107412
+ "type": {
107413
+ "text": "boolean"
107414
+ },
107415
+ "attribute": "disabled",
107416
+ "reflects": true,
107417
+ "inheritedFrom": {
107418
+ "name": "SbbDisabledMixin",
107419
+ "module": "core/mixins/disabled-mixin.js"
107420
+ }
107421
+ },
107422
+ {
107423
+ "kind": "field",
107424
+ "name": "#disabled",
107425
+ "privacy": "private",
107426
+ "type": {
107427
+ "text": "boolean"
107428
+ },
107429
+ "default": "false",
107430
+ "inheritedFrom": {
107431
+ "name": "SbbDisabledMixin",
107432
+ "module": "core/mixins/disabled-mixin.js"
107433
+ }
107434
+ },
107435
+ {
107436
+ "kind": "method",
107437
+ "name": "isDisabledExternally",
107438
+ "privacy": "protected",
107439
+ "return": {
107440
+ "type": {
107441
+ "text": "boolean"
107442
+ }
107443
+ },
107444
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
107445
+ "inheritedFrom": {
107446
+ "name": "SbbDisabledMixin",
107447
+ "module": "core/mixins/disabled-mixin.js"
107448
+ }
107449
+ },
107405
107450
  {
107406
107451
  "kind": "field",
107407
107452
  "name": "styles",
@@ -107499,528 +107544,452 @@
107499
107544
  },
107500
107545
  {
107501
107546
  "kind": "field",
107502
- "name": "disabled",
107503
- "privacy": "public",
107504
- "description": "Whether the component is disabled.",
107505
- "default": "false",
107547
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
107506
107548
  "type": {
107507
- "text": "boolean"
107549
+ "text": "array"
107508
107550
  },
107509
- "attribute": "disabled",
107510
- "reflects": true,
107511
- "inheritedFrom": {
107512
- "name": "SbbDisabledMixin",
107513
- "module": "core/mixins/disabled-mixin.js"
107514
- }
107515
- },
107516
- {
107517
- "kind": "field",
107518
- "name": "#disabled",
107519
107551
  "privacy": "private",
107520
- "type": {
107521
- "text": "boolean"
107522
- },
107523
- "default": "false",
107524
- "inheritedFrom": {
107525
- "name": "SbbDisabledMixin",
107526
- "module": "core/mixins/disabled-mixin.js"
107527
- }
107528
- },
107529
- {
107530
- "kind": "method",
107531
- "name": "isDisabledExternally",
107532
- "privacy": "protected",
107533
- "return": {
107534
- "type": {
107535
- "text": "boolean"
107536
- }
107537
- },
107538
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
107552
+ "readonly": true,
107553
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
107539
107554
  "inheritedFrom": {
107540
- "name": "SbbDisabledMixin",
107541
- "module": "core/mixins/disabled-mixin.js"
107555
+ "name": "SbbButtonBaseElement",
107556
+ "module": "core/base-elements/button-base-element.js"
107542
107557
  }
107543
107558
  },
107544
107559
  {
107545
107560
  "kind": "field",
107546
- "name": "href",
107561
+ "name": "value",
107547
107562
  "type": {
107548
107563
  "text": "string"
107549
107564
  },
107550
107565
  "privacy": "public",
107551
- "default": "''",
107552
- "description": "The href value you want to link to.",
107553
- "attribute": "href",
107554
- "reflects": true,
107555
107566
  "inheritedFrom": {
107556
- "name": "SbbLinkBaseElement",
107557
- "module": "core/base-elements/link-base-element.js"
107558
- }
107559
- },
107560
- {
107561
- "kind": "field",
107562
- "name": "target",
107563
- "type": {
107564
- "text": "LinkTargetType | string"
107567
+ "name": "SbbButtonBaseElement",
107568
+ "module": "core/base-elements/button-base-element.js"
107565
107569
  },
107566
- "privacy": "public",
107567
107570
  "default": "''",
107568
- "description": "Where to display the linked URL.",
107569
- "attribute": "target",
107570
- "reflects": true,
107571
- "inheritedFrom": {
107572
- "name": "SbbLinkBaseElement",
107573
- "module": "core/base-elements/link-base-element.js"
107574
- }
107571
+ "description": "Value of the form element.",
107572
+ "attribute": "value"
107575
107573
  },
107576
107574
  {
107577
107575
  "kind": "field",
107578
- "name": "rel",
107579
- "type": {
107580
- "text": "string"
107581
- },
107576
+ "name": "type",
107582
107577
  "privacy": "public",
107583
- "default": "''",
107584
- "description": "The relationship of the linked URL as space-separated link types.",
107585
- "attribute": "rel",
107586
- "reflects": true,
107587
- "inheritedFrom": {
107588
- "name": "SbbLinkBaseElement",
107589
- "module": "core/base-elements/link-base-element.js"
107590
- }
107591
- },
107592
- {
107593
- "kind": "field",
107594
- "name": "download",
107578
+ "description": "The type attribute to use for the button.",
107579
+ "default": "'button'",
107595
107580
  "type": {
107596
- "text": "boolean"
107581
+ "text": "SbbButtonType"
107597
107582
  },
107598
- "privacy": "public",
107599
- "default": "false",
107600
- "description": "Whether the browser will show the download dialog on click.",
107601
- "attribute": "download",
107602
- "reflects": true,
107583
+ "attribute": "type",
107603
107584
  "inheritedFrom": {
107604
- "name": "SbbLinkBaseElement",
107605
- "module": "core/base-elements/link-base-element.js"
107585
+ "name": "SbbButtonBaseElement",
107586
+ "module": "core/base-elements/button-base-element.js"
107606
107587
  }
107607
107588
  },
107608
107589
  {
107609
107590
  "kind": "field",
107610
- "name": "accessibilityLabel",
107591
+ "name": "form",
107611
107592
  "type": {
107612
- "text": "string"
107593
+ "text": "HTMLFormElement | null"
107613
107594
  },
107614
107595
  "privacy": "public",
107615
- "default": "''",
107616
- "description": "This will be forwarded as aria-label to the inner anchor element.",
107617
- "attribute": "accessibility-label",
107596
+ "description": "The `<form>` element to associate the button with.",
107618
107597
  "inheritedFrom": {
107619
- "name": "SbbLinkBaseElement",
107620
- "module": "core/base-elements/link-base-element.js"
107621
- }
107598
+ "name": "SbbButtonBaseElement",
107599
+ "module": "core/base-elements/button-base-element.js"
107600
+ },
107601
+ "attribute": "form"
107622
107602
  },
107623
107603
  {
107624
107604
  "kind": "field",
107625
- "name": "accessibilityCurrent",
107605
+ "name": "_formId",
107626
107606
  "type": {
107627
107607
  "text": "string"
107628
107608
  },
107629
- "privacy": "public",
107609
+ "privacy": "private",
107630
107610
  "default": "''",
107631
- "description": "This will be forwarded as aria-current to the inner anchor element.",
107632
- "attribute": "accessibility-current",
107633
- "inheritedFrom": {
107634
- "name": "SbbLinkBaseElement",
107635
- "module": "core/base-elements/link-base-element.js"
107636
- }
107637
- },
107638
- {
107639
- "kind": "field",
107640
- "name": "language",
107641
- "privacy": "protected",
107642
- "default": "new SbbLanguageController(this)",
107643
107611
  "inheritedFrom": {
107644
- "name": "SbbLinkBaseElement",
107645
- "module": "core/base-elements/link-base-element.js"
107612
+ "name": "SbbButtonBaseElement",
107613
+ "module": "core/base-elements/button-base-element.js"
107646
107614
  }
107647
107615
  },
107648
107616
  {
107649
107617
  "kind": "field",
107650
- "name": "_evaluateRelAttribute",
107618
+ "name": "_handleButtonClick",
107651
107619
  "privacy": "private",
107652
107620
  "inheritedFrom": {
107653
- "name": "SbbLinkBaseElement",
107654
- "module": "core/base-elements/link-base-element.js"
107621
+ "name": "SbbButtonBaseElement",
107622
+ "module": "core/base-elements/button-base-element.js"
107655
107623
  }
107656
107624
  },
107657
107625
  {
107658
107626
  "kind": "method",
107659
- "name": "renderLink",
107660
- "privacy": "protected",
107627
+ "name": "_requestSubmit",
107628
+ "privacy": "private",
107661
107629
  "return": {
107662
107630
  "type": {
107663
- "text": "TemplateResult"
107631
+ "text": "void"
107664
107632
  }
107665
107633
  },
107666
107634
  "parameters": [
107667
107635
  {
107668
- "name": "renderContent",
107636
+ "name": "form",
107669
107637
  "type": {
107670
- "text": "TemplateResult"
107638
+ "text": "HTMLFormElement"
107671
107639
  }
107672
107640
  }
107673
107641
  ],
107674
107642
  "inheritedFrom": {
107675
- "name": "SbbLinkBaseElement",
107676
- "module": "core/base-elements/link-base-element.js"
107643
+ "name": "SbbButtonBaseElement",
107644
+ "module": "core/base-elements/button-base-element.js"
107677
107645
  }
107678
107646
  },
107679
107647
  {
107680
107648
  "kind": "field",
107681
- "name": "maybeDisabled",
107649
+ "name": "_formKeyDown",
107650
+ "privacy": "private",
107651
+ "inheritedFrom": {
107652
+ "name": "SbbButtonBaseElement",
107653
+ "module": "core/base-elements/button-base-element.js"
107654
+ }
107655
+ },
107656
+ {
107657
+ "kind": "field",
107658
+ "name": "formAssociated",
107682
107659
  "type": {
107683
- "text": "boolean | undefined"
107660
+ "text": "boolean"
107684
107661
  },
107685
- "privacy": "protected",
107686
- "readonly": true,
107662
+ "privacy": "public",
107663
+ "static": true,
107664
+ "default": "true",
107687
107665
  "inheritedFrom": {
107688
- "name": "SbbActionBaseElement",
107689
- "module": "core/base-elements/action-base-element.js"
107666
+ "name": "SbbFormAssociatedMixin",
107667
+ "module": "core/mixins/form-associated-mixin.js"
107690
107668
  }
107691
107669
  },
107692
107670
  {
107693
107671
  "kind": "field",
107694
- "name": "maybeDisabledInteractive",
107672
+ "name": "name",
107673
+ "privacy": "public",
107674
+ "description": "Name of the form element. Will be read from name attribute.",
107695
107675
  "type": {
107696
- "text": "boolean | undefined"
107676
+ "text": "string"
107697
107677
  },
107698
- "privacy": "protected",
107699
- "readonly": true,
107678
+ "attribute": "name",
107700
107679
  "inheritedFrom": {
107701
- "name": "SbbActionBaseElement",
107702
- "module": "core/base-elements/action-base-element.js"
107680
+ "name": "SbbFormAssociatedMixin",
107681
+ "module": "core/mixins/form-associated-mixin.js"
107703
107682
  }
107704
107683
  },
107705
107684
  {
107706
- "kind": "method",
107707
- "name": "setupBaseEventHandlers",
107708
- "privacy": "protected",
107709
- "return": {
107710
- "type": {
107711
- "text": "void"
107712
- }
107685
+ "kind": "field",
107686
+ "name": "validity",
107687
+ "type": {
107688
+ "text": "ValidityState"
107713
107689
  },
107690
+ "privacy": "public",
107691
+ "description": "Returns the ValidityState object for this element.",
107692
+ "readonly": true,
107714
107693
  "inheritedFrom": {
107715
- "name": "SbbActionBaseElement",
107716
- "module": "core/base-elements/action-base-element.js"
107694
+ "name": "SbbFormAssociatedMixin",
107695
+ "module": "core/mixins/form-associated-mixin.js"
107717
107696
  }
107718
107697
  },
107719
107698
  {
107720
107699
  "kind": "field",
107721
- "name": "_hydrationRequired",
107700
+ "name": "validationMessage",
107722
107701
  "type": {
107723
- "text": "boolean"
107702
+ "text": "string"
107724
107703
  },
107725
- "privacy": "private",
107726
- "default": "!!this.shadowRoot",
107704
+ "privacy": "public",
107705
+ "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.",
107706
+ "readonly": true,
107727
107707
  "inheritedFrom": {
107728
- "name": "SbbElement",
107729
- "module": "core/base-elements/element.js"
107708
+ "name": "SbbFormAssociatedMixin",
107709
+ "module": "core/mixins/form-associated-mixin.js"
107730
107710
  }
107731
107711
  },
107732
107712
  {
107733
107713
  "kind": "field",
107734
- "name": "_hydrationComplete",
107735
- "privacy": "private",
107736
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
107714
+ "name": "willValidate",
107715
+ "type": {
107716
+ "text": "boolean"
107717
+ },
107718
+ "privacy": "public",
107719
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
107720
+ "readonly": true,
107737
107721
  "inheritedFrom": {
107738
- "name": "SbbElement",
107739
- "module": "core/base-elements/element.js"
107722
+ "name": "SbbFormAssociatedMixin",
107723
+ "module": "core/mixins/form-associated-mixin.js"
107740
107724
  }
107741
107725
  },
107742
107726
  {
107743
107727
  "kind": "field",
107744
- "name": "_resolveHydration",
107745
- "type": {
107746
- "text": "(hydrationRequired: boolean) => void"
107747
- },
107728
+ "name": "_validityStates",
107748
107729
  "privacy": "private",
107730
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
107749
107731
  "inheritedFrom": {
107750
- "name": "SbbElement",
107751
- "module": "core/base-elements/element.js"
107732
+ "name": "SbbFormAssociatedMixin",
107733
+ "module": "core/mixins/form-associated-mixin.js"
107752
107734
  }
107753
107735
  },
107754
107736
  {
107755
107737
  "kind": "field",
107756
- "name": "hydrationRequired",
107738
+ "name": "formDisabled",
107757
107739
  "type": {
107758
107740
  "text": "boolean"
107759
107741
  },
107760
107742
  "privacy": "protected",
107761
- "description": "Returns whether hydration is required and not completed.",
107762
- "readonly": true,
107743
+ "default": "false",
107744
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
107763
107745
  "inheritedFrom": {
107764
- "name": "SbbElement",
107765
- "module": "core/base-elements/element.js"
107766
- },
107767
- "default": "!!this.shadowRoot"
107746
+ "name": "SbbFormAssociatedMixin",
107747
+ "module": "core/mixins/form-associated-mixin.js"
107748
+ }
107768
107749
  },
107769
107750
  {
107770
107751
  "kind": "method",
107771
- "name": "toggleState",
107772
- "privacy": "protected",
107752
+ "name": "checkValidity",
107753
+ "privacy": "public",
107773
107754
  "return": {
107774
107755
  "type": {
107775
- "text": "void"
107756
+ "text": "boolean"
107776
107757
  }
107777
107758
  },
107778
- "parameters": [
107779
- {
107780
- "name": "value",
107781
- "type": {
107782
- "text": "string"
107783
- }
107784
- },
107785
- {
107786
- "name": "force",
107787
- "optional": true,
107788
- "type": {
107789
- "text": "boolean"
107790
- }
107791
- }
107792
- ],
107759
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
107793
107760
  "inheritedFrom": {
107794
- "name": "SbbElement",
107795
- "module": "core/base-elements/element.js"
107761
+ "name": "SbbFormAssociatedMixin",
107762
+ "module": "core/mixins/form-associated-mixin.js"
107796
107763
  }
107797
107764
  },
107798
107765
  {
107799
- "kind": "field",
107800
- "name": "['_$sbbElement$']",
107801
- "type": {
107802
- "text": "boolean"
107803
- },
107766
+ "kind": "method",
107767
+ "name": "reportValidity",
107804
107768
  "privacy": "public",
107805
- "static": true,
107806
- "default": "true",
107769
+ "return": {
107770
+ "type": {
107771
+ "text": "boolean"
107772
+ }
107773
+ },
107774
+ "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.",
107807
107775
  "inheritedFrom": {
107808
- "name": "SbbElement",
107809
- "module": "core/base-elements/element.js"
107776
+ "name": "SbbFormAssociatedMixin",
107777
+ "module": "core/mixins/form-associated-mixin.js"
107810
107778
  }
107811
107779
  },
107812
107780
  {
107813
- "kind": "field",
107814
- "name": "_controllers",
107815
- "type": {
107816
- "text": "Set<SbbReactiveController> | undefined"
107781
+ "kind": "method",
107782
+ "name": "setCustomValidity",
107783
+ "privacy": "public",
107784
+ "return": {
107785
+ "type": {
107786
+ "text": "void"
107787
+ }
107817
107788
  },
107818
- "privacy": "private",
107789
+ "parameters": [
107790
+ {
107791
+ "name": "message",
107792
+ "type": {
107793
+ "text": "string"
107794
+ }
107795
+ }
107796
+ ],
107797
+ "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.",
107819
107798
  "inheritedFrom": {
107820
- "name": "SbbElement",
107821
- "module": "core/base-elements/element.js"
107799
+ "name": "SbbFormAssociatedMixin",
107800
+ "module": "core/mixins/form-associated-mixin.js"
107822
107801
  }
107823
- }
107824
- ],
107825
- "mixins": [
107826
- {
107827
- "name": "SbbDisabledInteractiveMixin",
107828
- "module": "core/mixins.js"
107829
107802
  },
107830
107803
  {
107831
- "name": "SbbMenuActionCommonElementMixin",
107832
- "module": "menu/common/menu-action-common.js"
107833
- }
107834
- ],
107835
- "superclass": {
107836
- "name": "SbbLinkBaseElement",
107837
- "module": "core/base-elements.js"
107838
- },
107839
- "tagName": "sbb-menu-link",
107840
- "customElement": true,
107841
- "attributes": [
107842
- {
107843
- "name": "disabled-interactive",
107844
- "type": {
107845
- "text": "boolean"
107804
+ "kind": "method",
107805
+ "name": "_hasDisabledAncestor",
107806
+ "privacy": "private",
107807
+ "return": {
107808
+ "type": {
107809
+ "text": "boolean"
107810
+ }
107846
107811
  },
107847
- "default": "false",
107848
- "description": "Whether the button should be aria-disabled but stay interactive.",
107849
- "fieldName": "disabledInteractive",
107850
107812
  "inheritedFrom": {
107851
- "name": "SbbDisabledInteractiveMixin",
107852
- "module": "core/mixins/disabled-mixin.js"
107813
+ "name": "SbbFormAssociatedMixin",
107814
+ "module": "core/mixins/form-associated-mixin.js"
107853
107815
  }
107854
107816
  },
107855
107817
  {
107856
- "name": "icon-name",
107857
- "type": {
107858
- "text": "string"
107818
+ "kind": "method",
107819
+ "name": "updateFormValue",
107820
+ "privacy": "protected",
107821
+ "return": {
107822
+ "type": {
107823
+ "text": "void"
107824
+ }
107859
107825
  },
107860
- "default": "''",
107861
- "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.",
107862
- "fieldName": "iconName",
107826
+ "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",
107863
107827
  "inheritedFrom": {
107864
- "name": "SbbIconNameMixin",
107865
- "module": "icon/icon-name-mixin.js"
107828
+ "name": "SbbFormAssociatedMixin",
107829
+ "module": "core/mixins/form-associated-mixin.js"
107866
107830
  }
107867
107831
  },
107868
107832
  {
107869
- "name": "disabled",
107870
- "description": "Whether the component is disabled.",
107871
- "default": "false",
107872
- "type": {
107873
- "text": "boolean"
107833
+ "kind": "method",
107834
+ "name": "formState",
107835
+ "privacy": "protected",
107836
+ "return": {
107837
+ "type": {
107838
+ "text": "FormRestoreState"
107839
+ }
107874
107840
  },
107875
- "fieldName": "disabled",
107876
107841
  "inheritedFrom": {
107877
- "name": "SbbDisabledMixin",
107878
- "module": "core/mixins/disabled-mixin.js"
107842
+ "name": "SbbFormAssociatedMixin",
107843
+ "module": "core/mixins/form-associated-mixin.js"
107879
107844
  }
107880
107845
  },
107881
107846
  {
107882
- "name": "href",
107883
- "type": {
107884
- "text": "string"
107847
+ "kind": "method",
107848
+ "name": "setValidityFlag",
107849
+ "privacy": "protected",
107850
+ "return": {
107851
+ "type": {
107852
+ "text": "void"
107853
+ }
107885
107854
  },
107886
- "default": "''",
107887
- "description": "The href value you want to link to.",
107888
- "fieldName": "href",
107855
+ "parameters": [
107856
+ {
107857
+ "name": "flag",
107858
+ "type": {
107859
+ "text": "T"
107860
+ }
107861
+ },
107862
+ {
107863
+ "name": "message",
107864
+ "type": {
107865
+ "text": "string"
107866
+ }
107867
+ },
107868
+ {
107869
+ "name": "flagValue",
107870
+ "optional": true,
107871
+ "type": {
107872
+ "text": "ValidityStateFlags[T]"
107873
+ }
107874
+ }
107875
+ ],
107876
+ "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).",
107889
107877
  "inheritedFrom": {
107890
- "name": "SbbLinkBaseElement",
107891
- "module": "core/base-elements/link-base-element.js"
107878
+ "name": "SbbFormAssociatedMixin",
107879
+ "module": "core/mixins/form-associated-mixin.js"
107892
107880
  }
107893
107881
  },
107894
107882
  {
107895
- "name": "target",
107896
- "type": {
107897
- "text": "LinkTargetType | string"
107883
+ "kind": "method",
107884
+ "name": "removeValidityFlag",
107885
+ "privacy": "protected",
107886
+ "return": {
107887
+ "type": {
107888
+ "text": "void"
107889
+ }
107898
107890
  },
107899
- "default": "''",
107900
- "description": "Where to display the linked URL.",
107901
- "fieldName": "target",
107891
+ "parameters": [
107892
+ {
107893
+ "name": "flag",
107894
+ "type": {
107895
+ "text": "T"
107896
+ }
107897
+ }
107898
+ ],
107899
+ "description": "Removes the validity state flag entry and updates validity state.",
107902
107900
  "inheritedFrom": {
107903
- "name": "SbbLinkBaseElement",
107904
- "module": "core/base-elements/link-base-element.js"
107901
+ "name": "SbbFormAssociatedMixin",
107902
+ "module": "core/mixins/form-associated-mixin.js"
107905
107903
  }
107906
107904
  },
107907
107905
  {
107908
- "name": "rel",
107909
- "type": {
107910
- "text": "string"
107906
+ "kind": "method",
107907
+ "name": "validate",
107908
+ "privacy": "protected",
107909
+ "return": {
107910
+ "type": {
107911
+ "text": "void"
107912
+ }
107911
107913
  },
107912
- "default": "''",
107913
- "description": "The relationship of the linked URL as space-separated link types.",
107914
- "fieldName": "rel",
107914
+ "description": "To be called whenever the current element needs to be validated.",
107915
107915
  "inheritedFrom": {
107916
- "name": "SbbLinkBaseElement",
107917
- "module": "core/base-elements/link-base-element.js"
107916
+ "name": "SbbFormAssociatedMixin",
107917
+ "module": "core/mixins/form-associated-mixin.js"
107918
107918
  }
107919
107919
  },
107920
107920
  {
107921
- "name": "download",
107922
- "type": {
107923
- "text": "boolean"
107921
+ "kind": "method",
107922
+ "name": "shouldValidate",
107923
+ "privacy": "protected",
107924
+ "return": {
107925
+ "type": {
107926
+ "text": "boolean"
107927
+ }
107924
107928
  },
107925
- "default": "false",
107926
- "description": "Whether the browser will show the download dialog on click.",
107927
- "fieldName": "download",
107929
+ "parameters": [
107930
+ {
107931
+ "name": "name",
107932
+ "type": {
107933
+ "text": "PropertyKey | undefined"
107934
+ }
107935
+ }
107936
+ ],
107937
+ "description": "Whether validation should be run on a property change with the given name.",
107928
107938
  "inheritedFrom": {
107929
- "name": "SbbLinkBaseElement",
107930
- "module": "core/base-elements/link-base-element.js"
107939
+ "name": "SbbFormAssociatedMixin",
107940
+ "module": "core/mixins/form-associated-mixin.js"
107931
107941
  }
107932
107942
  },
107933
107943
  {
107934
- "name": "accessibility-label",
107935
- "type": {
107936
- "text": "string"
107944
+ "kind": "method",
107945
+ "name": "_setInternalValidity",
107946
+ "privacy": "private",
107947
+ "return": {
107948
+ "type": {
107949
+ "text": "void"
107950
+ }
107937
107951
  },
107938
- "default": "''",
107939
- "description": "This will be forwarded as aria-label to the inner anchor element.",
107940
- "fieldName": "accessibilityLabel",
107941
107952
  "inheritedFrom": {
107942
- "name": "SbbLinkBaseElement",
107943
- "module": "core/base-elements/link-base-element.js"
107953
+ "name": "SbbFormAssociatedMixin",
107954
+ "module": "core/mixins/form-associated-mixin.js"
107944
107955
  }
107945
107956
  },
107946
107957
  {
107947
- "name": "accessibility-current",
107948
- "type": {
107949
- "text": "string"
107950
- },
107951
- "default": "''",
107952
- "description": "This will be forwarded as aria-current to the inner anchor element.",
107953
- "fieldName": "accessibilityCurrent",
107958
+ "kind": "field",
107959
+ "name": "_preventScrollOnSpaceKeydown",
107960
+ "privacy": "private",
107961
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
107962
+ "parameters": [
107963
+ {
107964
+ "description": "The origin event.",
107965
+ "name": "event"
107966
+ }
107967
+ ],
107954
107968
  "inheritedFrom": {
107955
- "name": "SbbLinkBaseElement",
107956
- "module": "core/base-elements/link-base-element.js"
107969
+ "name": "SbbButtonLikeBaseElement",
107970
+ "module": "core/base-elements/button-base-element.js"
107957
107971
  }
107958
- }
107959
- ]
107960
- }
107961
- ],
107962
- "exports": [
107963
- {
107964
- "kind": "js",
107965
- "name": "SbbMenuLinkElement",
107966
- "declaration": {
107967
- "name": "SbbMenuLinkElement",
107968
- "module": "menu/menu-link/menu-link.component.js"
107969
- }
107970
- }
107971
- ]
107972
- },
107973
- {
107974
- "kind": "javascript-module",
107975
- "path": "menu/menu-button/menu-button.component.js",
107976
- "declarations": [
107977
- {
107978
- "kind": "class",
107979
- "description": "It displays a button element that can be used in the `sbb-menu` component.",
107980
- "name": "SbbMenuButtonElement",
107981
- "cssProperties": [
107982
- {
107983
- "description": "Can be used to modify horizontal padding.",
107984
- "name": "--sbb-menu-action-outer-horizontal-padding",
107985
- "default": "var(--sbb-spacing-fixed-3x)"
107986
- }
107987
- ],
107988
- "slots": [
107989
- {
107990
- "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
107991
- "name": ""
107992
107972
  },
107993
- {
107994
- "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
107995
- "name": "icon"
107996
- }
107997
- ],
107998
- "members": [
107999
107973
  {
108000
107974
  "kind": "field",
108001
- "name": "elementName",
108002
- "type": {
108003
- "text": "string"
108004
- },
108005
- "privacy": "public",
108006
- "static": true,
108007
- "readonly": true,
107975
+ "name": "_removeActiveMarker",
107976
+ "privacy": "private",
108008
107977
  "inheritedFrom": {
108009
- "name": "SbbElement",
108010
- "module": "core/base-elements/element.js"
108011
- },
108012
- "default": "'sbb-menu-button'"
107978
+ "name": "SbbButtonLikeBaseElement",
107979
+ "module": "core/base-elements/button-base-element.js"
107980
+ }
108013
107981
  },
108014
107982
  {
108015
107983
  "kind": "field",
108016
- "name": "role",
108017
- "type": {
108018
- "text": "ElementInternals['role']"
108019
- },
108020
- "privacy": "public",
108021
- "static": true,
108022
- "readonly": true,
108023
- "default": "'menuitem'",
107984
+ "name": "_dispatchClickEventOnSpaceKeyup",
107985
+ "privacy": "private",
107986
+ "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.",
107987
+ "parameters": [
107988
+ {
107989
+ "description": "The origin event.",
107990
+ "name": "event"
107991
+ }
107992
+ ],
108024
107993
  "inheritedFrom": {
108025
107994
  "name": "SbbButtonLikeBaseElement",
108026
107995
  "module": "core/base-elements/button-base-element.js"
@@ -108028,619 +107997,622 @@
108028
107997
  },
108029
107998
  {
108030
107999
  "kind": "field",
108031
- "name": "disabledInteractive",
108032
- "type": {
108033
- "text": "boolean"
108034
- },
108035
- "privacy": "public",
108036
- "default": "false",
108037
- "description": "Whether the button should be aria-disabled but stay interactive.",
108038
- "attribute": "disabled-interactive",
108039
- "reflects": true,
108000
+ "name": "_dispatchClickEvent",
108001
+ "privacy": "private",
108040
108002
  "inheritedFrom": {
108041
- "name": "SbbDisabledInteractiveMixin",
108042
- "module": "core/mixins/disabled-mixin.js"
108003
+ "name": "SbbButtonLikeBaseElement",
108004
+ "module": "core/base-elements/button-base-element.js"
108043
108005
  }
108044
108006
  },
108045
108007
  {
108046
108008
  "kind": "field",
108047
- "name": "disabled",
108048
- "privacy": "public",
108049
- "description": "Whether the component is disabled.",
108050
- "default": "false",
108009
+ "name": "maybeDisabled",
108051
108010
  "type": {
108052
- "text": "boolean"
108011
+ "text": "boolean | undefined"
108053
108012
  },
108054
- "attribute": "disabled",
108055
- "reflects": true,
108013
+ "privacy": "protected",
108014
+ "readonly": true,
108056
108015
  "inheritedFrom": {
108057
- "name": "SbbDisabledMixin",
108058
- "module": "core/mixins/disabled-mixin.js"
108016
+ "name": "SbbActionBaseElement",
108017
+ "module": "core/base-elements/action-base-element.js"
108059
108018
  }
108060
108019
  },
108061
108020
  {
108062
108021
  "kind": "field",
108063
- "name": "#disabled",
108064
- "privacy": "private",
108022
+ "name": "maybeDisabledInteractive",
108065
108023
  "type": {
108066
- "text": "boolean"
108024
+ "text": "boolean | undefined"
108067
108025
  },
108068
- "default": "false",
108026
+ "privacy": "protected",
108027
+ "readonly": true,
108069
108028
  "inheritedFrom": {
108070
- "name": "SbbDisabledMixin",
108071
- "module": "core/mixins/disabled-mixin.js"
108029
+ "name": "SbbActionBaseElement",
108030
+ "module": "core/base-elements/action-base-element.js"
108072
108031
  }
108073
108032
  },
108074
108033
  {
108075
108034
  "kind": "method",
108076
- "name": "isDisabledExternally",
108035
+ "name": "setupBaseEventHandlers",
108077
108036
  "privacy": "protected",
108078
108037
  "return": {
108079
108038
  "type": {
108080
- "text": "boolean"
108039
+ "text": "void"
108081
108040
  }
108082
108041
  },
108083
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
108084
108042
  "inheritedFrom": {
108085
- "name": "SbbDisabledMixin",
108086
- "module": "core/mixins/disabled-mixin.js"
108043
+ "name": "SbbActionBaseElement",
108044
+ "module": "core/base-elements/action-base-element.js"
108087
108045
  }
108088
108046
  },
108089
108047
  {
108090
108048
  "kind": "field",
108091
- "name": "styles",
108049
+ "name": "_hydrationRequired",
108092
108050
  "type": {
108093
- "text": "CSSResultGroup"
108051
+ "text": "boolean"
108094
108052
  },
108095
- "privacy": "public",
108096
- "static": true,
108097
- "default": "[boxSizingStyles, unsafeCSS(style)]",
108053
+ "privacy": "private",
108054
+ "default": "!!this.shadowRoot",
108098
108055
  "inheritedFrom": {
108099
- "name": "SbbMenuActionCommonElementMixin",
108100
- "module": "menu/common/menu-action-common.js"
108056
+ "name": "SbbElement",
108057
+ "module": "core/base-elements/element.js"
108101
108058
  }
108102
108059
  },
108103
108060
  {
108104
- "kind": "method",
108105
- "name": "renderTemplate",
108106
- "privacy": "protected",
108107
- "return": {
108108
- "type": {
108109
- "text": "TemplateResult"
108110
- }
108111
- },
108112
- "description": "Override this method to render the component template.",
108061
+ "kind": "field",
108062
+ "name": "_hydrationComplete",
108063
+ "privacy": "private",
108064
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
108113
108065
  "inheritedFrom": {
108114
- "name": "SbbActionBaseElement",
108115
- "module": "core/base-elements/action-base-element.js"
108066
+ "name": "SbbElement",
108067
+ "module": "core/base-elements/element.js"
108116
108068
  }
108117
108069
  },
108118
108070
  {
108119
108071
  "kind": "field",
108120
- "name": "iconName",
108072
+ "name": "_resolveHydration",
108121
108073
  "type": {
108122
- "text": "string"
108074
+ "text": "(hydrationRequired: boolean) => void"
108123
108075
  },
108124
- "privacy": "public",
108125
- "default": "''",
108126
- "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.",
108127
- "attribute": "icon-name",
108076
+ "privacy": "private",
108128
108077
  "inheritedFrom": {
108129
- "name": "SbbIconNameMixin",
108130
- "module": "icon/icon-name-mixin.js"
108078
+ "name": "SbbElement",
108079
+ "module": "core/base-elements/element.js"
108131
108080
  }
108132
108081
  },
108082
+ {
108083
+ "kind": "field",
108084
+ "name": "hydrationRequired",
108085
+ "type": {
108086
+ "text": "boolean"
108087
+ },
108088
+ "privacy": "protected",
108089
+ "description": "Returns whether hydration is required and not completed.",
108090
+ "readonly": true,
108091
+ "inheritedFrom": {
108092
+ "name": "SbbElement",
108093
+ "module": "core/base-elements/element.js"
108094
+ },
108095
+ "default": "!!this.shadowRoot"
108096
+ },
108133
108097
  {
108134
108098
  "kind": "method",
108135
- "name": "renderIconSlot",
108099
+ "name": "toggleState",
108136
108100
  "privacy": "protected",
108137
108101
  "return": {
108138
108102
  "type": {
108139
- "text": "TemplateResult"
108103
+ "text": "void"
108140
108104
  }
108141
108105
  },
108142
108106
  "parameters": [
108143
108107
  {
108144
- "name": "classname",
108145
- "optional": true,
108108
+ "name": "value",
108146
108109
  "type": {
108147
108110
  "text": "string"
108148
108111
  }
108112
+ },
108113
+ {
108114
+ "name": "force",
108115
+ "optional": true,
108116
+ "type": {
108117
+ "text": "boolean"
108118
+ }
108149
108119
  }
108150
108120
  ],
108151
108121
  "inheritedFrom": {
108152
- "name": "SbbIconNameMixin",
108153
- "module": "icon/icon-name-mixin.js"
108154
- }
108155
- },
108156
- {
108157
- "kind": "method",
108158
- "name": "renderIconName",
108159
- "privacy": "protected",
108160
- "return": {
108161
- "type": {
108162
- "text": "string"
108163
- }
108164
- },
108165
- "inheritedFrom": {
108166
- "name": "SbbIconNameMixin",
108167
- "module": "icon/icon-name-mixin.js"
108122
+ "name": "SbbElement",
108123
+ "module": "core/base-elements/element.js"
108168
108124
  }
108169
108125
  },
108170
108126
  {
108171
- "kind": "method",
108172
- "name": "_renderIconName",
108173
- "privacy": "private",
108174
- "return": {
108175
- "type": {
108176
- "text": "string"
108177
- }
108127
+ "kind": "field",
108128
+ "name": "['_$sbbElement$']",
108129
+ "type": {
108130
+ "text": "boolean"
108178
108131
  },
108132
+ "privacy": "public",
108133
+ "static": true,
108134
+ "default": "true",
108179
108135
  "inheritedFrom": {
108180
- "name": "SbbIconNameMixin",
108181
- "module": "icon/icon-name-mixin.js"
108136
+ "name": "SbbElement",
108137
+ "module": "core/base-elements/element.js"
108182
108138
  }
108183
108139
  },
108184
108140
  {
108185
108141
  "kind": "field",
108186
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
108142
+ "name": "_controllers",
108187
108143
  "type": {
108188
- "text": "array"
108144
+ "text": "Set<SbbReactiveController> | undefined"
108189
108145
  },
108190
108146
  "privacy": "private",
108191
- "readonly": true,
108192
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
108193
108147
  "inheritedFrom": {
108194
- "name": "SbbButtonBaseElement",
108195
- "module": "core/base-elements/button-base-element.js"
108148
+ "name": "SbbElement",
108149
+ "module": "core/base-elements/element.js"
108196
108150
  }
108197
- },
108151
+ }
108152
+ ],
108153
+ "mixins": [
108198
108154
  {
108199
- "kind": "field",
108200
- "name": "value",
108201
- "type": {
108202
- "text": "string"
108203
- },
108204
- "privacy": "public",
108205
- "inheritedFrom": {
108206
- "name": "SbbButtonBaseElement",
108207
- "module": "core/base-elements/button-base-element.js"
108208
- },
108209
- "default": "''",
108210
- "description": "Value of the form element.",
108211
- "attribute": "value"
108155
+ "name": "SbbDisabledTabIndexActionMixin",
108156
+ "module": "core/mixins.js"
108212
108157
  },
108213
108158
  {
108214
- "kind": "field",
108215
- "name": "type",
108216
- "privacy": "public",
108217
- "description": "The type attribute to use for the button.",
108218
- "default": "'button'",
108159
+ "name": "SbbMenuActionCommonElementMixin",
108160
+ "module": "menu/common/menu-action-common.js"
108161
+ }
108162
+ ],
108163
+ "superclass": {
108164
+ "name": "SbbButtonBaseElement",
108165
+ "module": "core/base-elements.js"
108166
+ },
108167
+ "tagName": "sbb-menu-button",
108168
+ "customElement": true,
108169
+ "attributes": [
108170
+ {
108171
+ "name": "disabled-interactive",
108219
108172
  "type": {
108220
- "text": "SbbButtonType"
108173
+ "text": "boolean"
108221
108174
  },
108222
- "attribute": "type",
108175
+ "default": "false",
108176
+ "description": "Whether the button should be aria-disabled but stay interactive.",
108177
+ "fieldName": "disabledInteractive",
108223
108178
  "inheritedFrom": {
108224
- "name": "SbbButtonBaseElement",
108225
- "module": "core/base-elements/button-base-element.js"
108179
+ "name": "SbbDisabledInteractiveMixin",
108180
+ "module": "core/mixins/disabled-mixin.js"
108226
108181
  }
108227
108182
  },
108228
108183
  {
108229
- "kind": "field",
108230
- "name": "form",
108184
+ "name": "disabled",
108185
+ "description": "Whether the component is disabled.",
108186
+ "default": "false",
108231
108187
  "type": {
108232
- "text": "HTMLFormElement | null"
108188
+ "text": "boolean"
108233
108189
  },
108234
- "privacy": "public",
108235
- "description": "The `<form>` element to associate the button with.",
108190
+ "fieldName": "disabled",
108236
108191
  "inheritedFrom": {
108237
- "name": "SbbButtonBaseElement",
108238
- "module": "core/base-elements/button-base-element.js"
108239
- },
108240
- "attribute": "form"
108192
+ "name": "SbbDisabledMixin",
108193
+ "module": "core/mixins/disabled-mixin.js"
108194
+ }
108241
108195
  },
108242
108196
  {
108243
- "kind": "field",
108244
- "name": "_formId",
108197
+ "name": "icon-name",
108245
108198
  "type": {
108246
108199
  "text": "string"
108247
108200
  },
108248
- "privacy": "private",
108249
108201
  "default": "''",
108202
+ "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.",
108203
+ "fieldName": "iconName",
108250
108204
  "inheritedFrom": {
108251
- "name": "SbbButtonBaseElement",
108252
- "module": "core/base-elements/button-base-element.js"
108253
- }
108254
- },
108255
- {
108256
- "kind": "field",
108257
- "name": "_handleButtonClick",
108258
- "privacy": "private",
108259
- "inheritedFrom": {
108260
- "name": "SbbButtonBaseElement",
108261
- "module": "core/base-elements/button-base-element.js"
108205
+ "name": "SbbIconNameMixin",
108206
+ "module": "icon/icon-name-mixin.js"
108262
108207
  }
108263
108208
  },
108264
108209
  {
108265
- "kind": "method",
108266
- "name": "_requestSubmit",
108267
- "privacy": "private",
108268
- "return": {
108269
- "type": {
108270
- "text": "void"
108271
- }
108210
+ "name": "value",
108211
+ "type": {
108212
+ "text": "string"
108272
108213
  },
108273
- "parameters": [
108274
- {
108275
- "name": "form",
108276
- "type": {
108277
- "text": "HTMLFormElement"
108278
- }
108279
- }
108280
- ],
108214
+ "default": "''",
108215
+ "description": "Value of the form element.",
108216
+ "fieldName": "value",
108281
108217
  "inheritedFrom": {
108282
108218
  "name": "SbbButtonBaseElement",
108283
108219
  "module": "core/base-elements/button-base-element.js"
108284
108220
  }
108285
108221
  },
108286
108222
  {
108287
- "kind": "field",
108288
- "name": "_formKeyDown",
108289
- "privacy": "private",
108223
+ "name": "type",
108224
+ "description": "The type attribute to use for the button.",
108225
+ "default": "'button'",
108226
+ "type": {
108227
+ "text": "SbbButtonType"
108228
+ },
108229
+ "fieldName": "type",
108290
108230
  "inheritedFrom": {
108291
108231
  "name": "SbbButtonBaseElement",
108292
108232
  "module": "core/base-elements/button-base-element.js"
108293
108233
  }
108294
108234
  },
108295
108235
  {
108296
- "kind": "field",
108297
- "name": "formAssociated",
108236
+ "name": "form",
108237
+ "description": "The `<form>` element to associate the button with.",
108298
108238
  "type": {
108299
- "text": "boolean"
108239
+ "text": "HTMLFormElement | null"
108300
108240
  },
108301
- "privacy": "public",
108302
- "static": true,
108303
- "default": "true",
108241
+ "fieldName": "form",
108304
108242
  "inheritedFrom": {
108305
- "name": "SbbFormAssociatedMixin",
108306
- "module": "core/mixins/form-associated-mixin.js"
108243
+ "name": "SbbButtonBaseElement",
108244
+ "module": "core/base-elements/button-base-element.js"
108307
108245
  }
108308
108246
  },
108309
108247
  {
108310
- "kind": "field",
108311
108248
  "name": "name",
108312
- "privacy": "public",
108313
108249
  "description": "Name of the form element. Will be read from name attribute.",
108314
108250
  "type": {
108315
108251
  "text": "string"
108316
108252
  },
108317
- "attribute": "name",
108253
+ "fieldName": "name",
108318
108254
  "inheritedFrom": {
108319
108255
  "name": "SbbFormAssociatedMixin",
108320
108256
  "module": "core/mixins/form-associated-mixin.js"
108321
108257
  }
108258
+ }
108259
+ ]
108260
+ }
108261
+ ],
108262
+ "exports": [
108263
+ {
108264
+ "kind": "js",
108265
+ "name": "SbbMenuButtonElement",
108266
+ "declaration": {
108267
+ "name": "SbbMenuButtonElement",
108268
+ "module": "menu/menu-button/menu-button.component.js"
108269
+ }
108270
+ }
108271
+ ]
108272
+ },
108273
+ {
108274
+ "kind": "javascript-module",
108275
+ "path": "menu/menu-link/menu-link.component.js",
108276
+ "declarations": [
108277
+ {
108278
+ "kind": "class",
108279
+ "description": "It displays a link element that can be used in the `sbb-menu` component.",
108280
+ "name": "SbbMenuLinkElement",
108281
+ "cssProperties": [
108282
+ {
108283
+ "description": "Can be used to modify horizontal padding.",
108284
+ "name": "--sbb-menu-action-outer-horizontal-padding",
108285
+ "default": "var(--sbb-spacing-fixed-3x)"
108286
+ }
108287
+ ],
108288
+ "slots": [
108289
+ {
108290
+ "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
108291
+ "name": ""
108322
108292
  },
108293
+ {
108294
+ "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
108295
+ "name": "icon"
108296
+ }
108297
+ ],
108298
+ "members": [
108323
108299
  {
108324
108300
  "kind": "field",
108325
- "name": "validity",
108301
+ "name": "elementName",
108326
108302
  "type": {
108327
- "text": "ValidityState"
108303
+ "text": "string"
108328
108304
  },
108329
108305
  "privacy": "public",
108330
- "description": "Returns the ValidityState object for this element.",
108306
+ "static": true,
108331
108307
  "readonly": true,
108332
108308
  "inheritedFrom": {
108333
- "name": "SbbFormAssociatedMixin",
108334
- "module": "core/mixins/form-associated-mixin.js"
108335
- }
108309
+ "name": "SbbElement",
108310
+ "module": "core/base-elements/element.js"
108311
+ },
108312
+ "default": "'sbb-menu-link'"
108336
108313
  },
108337
108314
  {
108338
108315
  "kind": "field",
108339
- "name": "validationMessage",
108316
+ "name": "anchorRole",
108340
108317
  "type": {
108341
108318
  "text": "string"
108342
108319
  },
108343
- "privacy": "public",
108344
- "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.",
108320
+ "privacy": "protected",
108345
108321
  "readonly": true,
108322
+ "default": "'menuitem'",
108346
108323
  "inheritedFrom": {
108347
- "name": "SbbFormAssociatedMixin",
108348
- "module": "core/mixins/form-associated-mixin.js"
108324
+ "name": "SbbLinkBaseElement",
108325
+ "module": "core/base-elements/link-base-element.js"
108349
108326
  }
108350
108327
  },
108351
108328
  {
108352
108329
  "kind": "field",
108353
- "name": "willValidate",
108330
+ "name": "disabledInteractive",
108354
108331
  "type": {
108355
108332
  "text": "boolean"
108356
108333
  },
108357
108334
  "privacy": "public",
108358
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
108359
- "readonly": true,
108360
- "inheritedFrom": {
108361
- "name": "SbbFormAssociatedMixin",
108362
- "module": "core/mixins/form-associated-mixin.js"
108363
- }
108364
- },
108365
- {
108366
- "kind": "field",
108367
- "name": "_validityStates",
108368
- "privacy": "private",
108369
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
108335
+ "default": "false",
108336
+ "description": "Whether the button should be aria-disabled but stay interactive.",
108337
+ "attribute": "disabled-interactive",
108338
+ "reflects": true,
108370
108339
  "inheritedFrom": {
108371
- "name": "SbbFormAssociatedMixin",
108372
- "module": "core/mixins/form-associated-mixin.js"
108340
+ "name": "SbbDisabledInteractiveMixin",
108341
+ "module": "core/mixins/disabled-mixin.js"
108373
108342
  }
108374
108343
  },
108375
108344
  {
108376
108345
  "kind": "field",
108377
- "name": "formDisabled",
108346
+ "name": "styles",
108378
108347
  "type": {
108379
- "text": "boolean"
108348
+ "text": "CSSResultGroup"
108380
108349
  },
108381
- "privacy": "protected",
108382
- "default": "false",
108383
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
108350
+ "privacy": "public",
108351
+ "static": true,
108352
+ "default": "[boxSizingStyles, unsafeCSS(style)]",
108384
108353
  "inheritedFrom": {
108385
- "name": "SbbFormAssociatedMixin",
108386
- "module": "core/mixins/form-associated-mixin.js"
108354
+ "name": "SbbMenuActionCommonElementMixin",
108355
+ "module": "menu/common/menu-action-common.js"
108387
108356
  }
108388
108357
  },
108389
108358
  {
108390
108359
  "kind": "method",
108391
- "name": "checkValidity",
108392
- "privacy": "public",
108360
+ "name": "renderTemplate",
108361
+ "privacy": "protected",
108393
108362
  "return": {
108394
108363
  "type": {
108395
- "text": "boolean"
108364
+ "text": "TemplateResult"
108396
108365
  }
108397
108366
  },
108398
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
108367
+ "description": "Override this method to render the component template.",
108399
108368
  "inheritedFrom": {
108400
- "name": "SbbFormAssociatedMixin",
108401
- "module": "core/mixins/form-associated-mixin.js"
108369
+ "name": "SbbActionBaseElement",
108370
+ "module": "core/base-elements/action-base-element.js"
108402
108371
  }
108403
108372
  },
108404
108373
  {
108405
- "kind": "method",
108406
- "name": "reportValidity",
108407
- "privacy": "public",
108408
- "return": {
108409
- "type": {
108410
- "text": "boolean"
108411
- }
108374
+ "kind": "field",
108375
+ "name": "iconName",
108376
+ "type": {
108377
+ "text": "string"
108412
108378
  },
108413
- "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.",
108379
+ "privacy": "public",
108380
+ "default": "''",
108381
+ "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.",
108382
+ "attribute": "icon-name",
108414
108383
  "inheritedFrom": {
108415
- "name": "SbbFormAssociatedMixin",
108416
- "module": "core/mixins/form-associated-mixin.js"
108384
+ "name": "SbbIconNameMixin",
108385
+ "module": "icon/icon-name-mixin.js"
108417
108386
  }
108418
108387
  },
108419
108388
  {
108420
108389
  "kind": "method",
108421
- "name": "setCustomValidity",
108422
- "privacy": "public",
108390
+ "name": "renderIconSlot",
108391
+ "privacy": "protected",
108423
108392
  "return": {
108424
108393
  "type": {
108425
- "text": "void"
108394
+ "text": "TemplateResult"
108426
108395
  }
108427
108396
  },
108428
108397
  "parameters": [
108429
108398
  {
108430
- "name": "message",
108399
+ "name": "classname",
108400
+ "optional": true,
108431
108401
  "type": {
108432
108402
  "text": "string"
108433
108403
  }
108434
108404
  }
108435
108405
  ],
108436
- "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.",
108437
108406
  "inheritedFrom": {
108438
- "name": "SbbFormAssociatedMixin",
108439
- "module": "core/mixins/form-associated-mixin.js"
108407
+ "name": "SbbIconNameMixin",
108408
+ "module": "icon/icon-name-mixin.js"
108440
108409
  }
108441
108410
  },
108442
108411
  {
108443
108412
  "kind": "method",
108444
- "name": "_hasDisabledAncestor",
108445
- "privacy": "private",
108413
+ "name": "renderIconName",
108414
+ "privacy": "protected",
108446
108415
  "return": {
108447
108416
  "type": {
108448
- "text": "boolean"
108417
+ "text": "string"
108449
108418
  }
108450
108419
  },
108451
108420
  "inheritedFrom": {
108452
- "name": "SbbFormAssociatedMixin",
108453
- "module": "core/mixins/form-associated-mixin.js"
108421
+ "name": "SbbIconNameMixin",
108422
+ "module": "icon/icon-name-mixin.js"
108454
108423
  }
108455
108424
  },
108456
108425
  {
108457
108426
  "kind": "method",
108458
- "name": "updateFormValue",
108459
- "privacy": "protected",
108427
+ "name": "_renderIconName",
108428
+ "privacy": "private",
108460
108429
  "return": {
108461
108430
  "type": {
108462
- "text": "void"
108431
+ "text": "string"
108463
108432
  }
108464
108433
  },
108465
- "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",
108466
108434
  "inheritedFrom": {
108467
- "name": "SbbFormAssociatedMixin",
108468
- "module": "core/mixins/form-associated-mixin.js"
108435
+ "name": "SbbIconNameMixin",
108436
+ "module": "icon/icon-name-mixin.js"
108469
108437
  }
108470
108438
  },
108471
108439
  {
108472
- "kind": "method",
108473
- "name": "formState",
108474
- "privacy": "protected",
108475
- "return": {
108476
- "type": {
108477
- "text": "FormRestoreState"
108478
- }
108440
+ "kind": "field",
108441
+ "name": "disabled",
108442
+ "privacy": "public",
108443
+ "description": "Whether the component is disabled.",
108444
+ "default": "false",
108445
+ "type": {
108446
+ "text": "boolean"
108479
108447
  },
108448
+ "attribute": "disabled",
108449
+ "reflects": true,
108480
108450
  "inheritedFrom": {
108481
- "name": "SbbFormAssociatedMixin",
108482
- "module": "core/mixins/form-associated-mixin.js"
108451
+ "name": "SbbDisabledMixin",
108452
+ "module": "core/mixins/disabled-mixin.js"
108453
+ }
108454
+ },
108455
+ {
108456
+ "kind": "field",
108457
+ "name": "#disabled",
108458
+ "privacy": "private",
108459
+ "type": {
108460
+ "text": "boolean"
108461
+ },
108462
+ "default": "false",
108463
+ "inheritedFrom": {
108464
+ "name": "SbbDisabledMixin",
108465
+ "module": "core/mixins/disabled-mixin.js"
108483
108466
  }
108484
108467
  },
108485
108468
  {
108486
108469
  "kind": "method",
108487
- "name": "setValidityFlag",
108470
+ "name": "isDisabledExternally",
108488
108471
  "privacy": "protected",
108489
108472
  "return": {
108490
108473
  "type": {
108491
- "text": "void"
108474
+ "text": "boolean"
108492
108475
  }
108493
108476
  },
108494
- "parameters": [
108495
- {
108496
- "name": "flag",
108497
- "type": {
108498
- "text": "T"
108499
- }
108500
- },
108501
- {
108502
- "name": "message",
108503
- "type": {
108504
- "text": "string"
108505
- }
108506
- },
108507
- {
108508
- "name": "flagValue",
108509
- "optional": true,
108510
- "type": {
108511
- "text": "ValidityStateFlags[T]"
108512
- }
108513
- }
108514
- ],
108515
- "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).",
108477
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
108478
+ "inheritedFrom": {
108479
+ "name": "SbbDisabledMixin",
108480
+ "module": "core/mixins/disabled-mixin.js"
108481
+ }
108482
+ },
108483
+ {
108484
+ "kind": "field",
108485
+ "name": "href",
108486
+ "type": {
108487
+ "text": "string"
108488
+ },
108489
+ "privacy": "public",
108490
+ "default": "''",
108491
+ "description": "The href value you want to link to.",
108492
+ "attribute": "href",
108493
+ "reflects": true,
108494
+ "inheritedFrom": {
108495
+ "name": "SbbLinkBaseElement",
108496
+ "module": "core/base-elements/link-base-element.js"
108497
+ }
108498
+ },
108499
+ {
108500
+ "kind": "field",
108501
+ "name": "target",
108502
+ "type": {
108503
+ "text": "LinkTargetType | string"
108504
+ },
108505
+ "privacy": "public",
108506
+ "default": "''",
108507
+ "description": "Where to display the linked URL.",
108508
+ "attribute": "target",
108509
+ "reflects": true,
108516
108510
  "inheritedFrom": {
108517
- "name": "SbbFormAssociatedMixin",
108518
- "module": "core/mixins/form-associated-mixin.js"
108511
+ "name": "SbbLinkBaseElement",
108512
+ "module": "core/base-elements/link-base-element.js"
108519
108513
  }
108520
108514
  },
108521
108515
  {
108522
- "kind": "method",
108523
- "name": "removeValidityFlag",
108524
- "privacy": "protected",
108525
- "return": {
108526
- "type": {
108527
- "text": "void"
108528
- }
108516
+ "kind": "field",
108517
+ "name": "rel",
108518
+ "type": {
108519
+ "text": "string"
108529
108520
  },
108530
- "parameters": [
108531
- {
108532
- "name": "flag",
108533
- "type": {
108534
- "text": "T"
108535
- }
108536
- }
108537
- ],
108538
- "description": "Removes the validity state flag entry and updates validity state.",
108521
+ "privacy": "public",
108522
+ "default": "''",
108523
+ "description": "The relationship of the linked URL as space-separated link types.",
108524
+ "attribute": "rel",
108525
+ "reflects": true,
108539
108526
  "inheritedFrom": {
108540
- "name": "SbbFormAssociatedMixin",
108541
- "module": "core/mixins/form-associated-mixin.js"
108527
+ "name": "SbbLinkBaseElement",
108528
+ "module": "core/base-elements/link-base-element.js"
108542
108529
  }
108543
108530
  },
108544
108531
  {
108545
- "kind": "method",
108546
- "name": "validate",
108547
- "privacy": "protected",
108548
- "return": {
108549
- "type": {
108550
- "text": "void"
108551
- }
108532
+ "kind": "field",
108533
+ "name": "download",
108534
+ "type": {
108535
+ "text": "boolean"
108552
108536
  },
108553
- "description": "To be called whenever the current element needs to be validated.",
108537
+ "privacy": "public",
108538
+ "default": "false",
108539
+ "description": "Whether the browser will show the download dialog on click.",
108540
+ "attribute": "download",
108541
+ "reflects": true,
108554
108542
  "inheritedFrom": {
108555
- "name": "SbbFormAssociatedMixin",
108556
- "module": "core/mixins/form-associated-mixin.js"
108543
+ "name": "SbbLinkBaseElement",
108544
+ "module": "core/base-elements/link-base-element.js"
108557
108545
  }
108558
108546
  },
108559
108547
  {
108560
- "kind": "method",
108561
- "name": "shouldValidate",
108562
- "privacy": "protected",
108563
- "return": {
108564
- "type": {
108565
- "text": "boolean"
108566
- }
108548
+ "kind": "field",
108549
+ "name": "accessibilityLabel",
108550
+ "type": {
108551
+ "text": "string"
108567
108552
  },
108568
- "parameters": [
108569
- {
108570
- "name": "name",
108571
- "type": {
108572
- "text": "PropertyKey | undefined"
108573
- }
108574
- }
108575
- ],
108576
- "description": "Whether validation should be run on a property change with the given name.",
108553
+ "privacy": "public",
108554
+ "default": "''",
108555
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
108556
+ "attribute": "accessibility-label",
108577
108557
  "inheritedFrom": {
108578
- "name": "SbbFormAssociatedMixin",
108579
- "module": "core/mixins/form-associated-mixin.js"
108558
+ "name": "SbbLinkBaseElement",
108559
+ "module": "core/base-elements/link-base-element.js"
108580
108560
  }
108581
108561
  },
108582
108562
  {
108583
- "kind": "method",
108584
- "name": "_setInternalValidity",
108585
- "privacy": "private",
108586
- "return": {
108587
- "type": {
108588
- "text": "void"
108589
- }
108563
+ "kind": "field",
108564
+ "name": "accessibilityCurrent",
108565
+ "type": {
108566
+ "text": "string"
108590
108567
  },
108568
+ "privacy": "public",
108569
+ "default": "''",
108570
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
108571
+ "attribute": "accessibility-current",
108591
108572
  "inheritedFrom": {
108592
- "name": "SbbFormAssociatedMixin",
108593
- "module": "core/mixins/form-associated-mixin.js"
108573
+ "name": "SbbLinkBaseElement",
108574
+ "module": "core/base-elements/link-base-element.js"
108594
108575
  }
108595
108576
  },
108596
108577
  {
108597
108578
  "kind": "field",
108598
- "name": "_preventScrollOnSpaceKeydown",
108599
- "privacy": "private",
108600
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
108601
- "parameters": [
108602
- {
108603
- "description": "The origin event.",
108604
- "name": "event"
108605
- }
108606
- ],
108579
+ "name": "language",
108580
+ "privacy": "protected",
108581
+ "default": "new SbbLanguageController(this)",
108607
108582
  "inheritedFrom": {
108608
- "name": "SbbButtonLikeBaseElement",
108609
- "module": "core/base-elements/button-base-element.js"
108583
+ "name": "SbbLinkBaseElement",
108584
+ "module": "core/base-elements/link-base-element.js"
108610
108585
  }
108611
108586
  },
108612
108587
  {
108613
108588
  "kind": "field",
108614
- "name": "_removeActiveMarker",
108589
+ "name": "_evaluateRelAttribute",
108615
108590
  "privacy": "private",
108616
108591
  "inheritedFrom": {
108617
- "name": "SbbButtonLikeBaseElement",
108618
- "module": "core/base-elements/button-base-element.js"
108592
+ "name": "SbbLinkBaseElement",
108593
+ "module": "core/base-elements/link-base-element.js"
108619
108594
  }
108620
108595
  },
108621
108596
  {
108622
- "kind": "field",
108623
- "name": "_dispatchClickEventOnSpaceKeyup",
108624
- "privacy": "private",
108625
- "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.",
108597
+ "kind": "method",
108598
+ "name": "renderLink",
108599
+ "privacy": "protected",
108600
+ "return": {
108601
+ "type": {
108602
+ "text": "TemplateResult"
108603
+ }
108604
+ },
108626
108605
  "parameters": [
108627
108606
  {
108628
- "description": "The origin event.",
108629
- "name": "event"
108607
+ "name": "renderContent",
108608
+ "type": {
108609
+ "text": "TemplateResult"
108610
+ }
108630
108611
  }
108631
108612
  ],
108632
108613
  "inheritedFrom": {
108633
- "name": "SbbButtonLikeBaseElement",
108634
- "module": "core/base-elements/button-base-element.js"
108635
- }
108636
- },
108637
- {
108638
- "kind": "field",
108639
- "name": "_dispatchClickEvent",
108640
- "privacy": "private",
108641
- "inheritedFrom": {
108642
- "name": "SbbButtonLikeBaseElement",
108643
- "module": "core/base-elements/button-base-element.js"
108614
+ "name": "SbbLinkBaseElement",
108615
+ "module": "core/base-elements/link-base-element.js"
108644
108616
  }
108645
108617
  },
108646
108618
  {
@@ -108791,7 +108763,7 @@
108791
108763
  ],
108792
108764
  "mixins": [
108793
108765
  {
108794
- "name": "SbbDisabledTabIndexActionMixin",
108766
+ "name": "SbbDisabledInteractiveMixin",
108795
108767
  "module": "core/mixins.js"
108796
108768
  },
108797
108769
  {
@@ -108800,10 +108772,10 @@
108800
108772
  }
108801
108773
  ],
108802
108774
  "superclass": {
108803
- "name": "SbbButtonBaseElement",
108775
+ "name": "SbbLinkBaseElement",
108804
108776
  "module": "core/base-elements.js"
108805
108777
  },
108806
- "tagName": "sbb-menu-button",
108778
+ "tagName": "sbb-menu-link",
108807
108779
  "customElement": true,
108808
108780
  "attributes": [
108809
108781
  {
@@ -108819,6 +108791,19 @@
108819
108791
  "module": "core/mixins/disabled-mixin.js"
108820
108792
  }
108821
108793
  },
108794
+ {
108795
+ "name": "icon-name",
108796
+ "type": {
108797
+ "text": "string"
108798
+ },
108799
+ "default": "''",
108800
+ "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.",
108801
+ "fieldName": "iconName",
108802
+ "inheritedFrom": {
108803
+ "name": "SbbIconNameMixin",
108804
+ "module": "icon/icon-name-mixin.js"
108805
+ }
108806
+ },
108822
108807
  {
108823
108808
  "name": "disabled",
108824
108809
  "description": "Whether the component is disabled.",
@@ -108833,66 +108818,81 @@
108833
108818
  }
108834
108819
  },
108835
108820
  {
108836
- "name": "icon-name",
108821
+ "name": "href",
108837
108822
  "type": {
108838
108823
  "text": "string"
108839
108824
  },
108840
108825
  "default": "''",
108841
- "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.",
108842
- "fieldName": "iconName",
108826
+ "description": "The href value you want to link to.",
108827
+ "fieldName": "href",
108843
108828
  "inheritedFrom": {
108844
- "name": "SbbIconNameMixin",
108845
- "module": "icon/icon-name-mixin.js"
108829
+ "name": "SbbLinkBaseElement",
108830
+ "module": "core/base-elements/link-base-element.js"
108846
108831
  }
108847
108832
  },
108848
108833
  {
108849
- "name": "value",
108834
+ "name": "target",
108835
+ "type": {
108836
+ "text": "LinkTargetType | string"
108837
+ },
108838
+ "default": "''",
108839
+ "description": "Where to display the linked URL.",
108840
+ "fieldName": "target",
108841
+ "inheritedFrom": {
108842
+ "name": "SbbLinkBaseElement",
108843
+ "module": "core/base-elements/link-base-element.js"
108844
+ }
108845
+ },
108846
+ {
108847
+ "name": "rel",
108850
108848
  "type": {
108851
108849
  "text": "string"
108852
108850
  },
108853
108851
  "default": "''",
108854
- "description": "Value of the form element.",
108855
- "fieldName": "value",
108852
+ "description": "The relationship of the linked URL as space-separated link types.",
108853
+ "fieldName": "rel",
108856
108854
  "inheritedFrom": {
108857
- "name": "SbbButtonBaseElement",
108858
- "module": "core/base-elements/button-base-element.js"
108855
+ "name": "SbbLinkBaseElement",
108856
+ "module": "core/base-elements/link-base-element.js"
108859
108857
  }
108860
108858
  },
108861
108859
  {
108862
- "name": "type",
108863
- "description": "The type attribute to use for the button.",
108864
- "default": "'button'",
108860
+ "name": "download",
108865
108861
  "type": {
108866
- "text": "SbbButtonType"
108862
+ "text": "boolean"
108867
108863
  },
108868
- "fieldName": "type",
108864
+ "default": "false",
108865
+ "description": "Whether the browser will show the download dialog on click.",
108866
+ "fieldName": "download",
108869
108867
  "inheritedFrom": {
108870
- "name": "SbbButtonBaseElement",
108871
- "module": "core/base-elements/button-base-element.js"
108868
+ "name": "SbbLinkBaseElement",
108869
+ "module": "core/base-elements/link-base-element.js"
108872
108870
  }
108873
108871
  },
108874
108872
  {
108875
- "name": "form",
108876
- "description": "The `<form>` element to associate the button with.",
108873
+ "name": "accessibility-label",
108877
108874
  "type": {
108878
- "text": "HTMLFormElement | null"
108875
+ "text": "string"
108879
108876
  },
108880
- "fieldName": "form",
108877
+ "default": "''",
108878
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
108879
+ "fieldName": "accessibilityLabel",
108881
108880
  "inheritedFrom": {
108882
- "name": "SbbButtonBaseElement",
108883
- "module": "core/base-elements/button-base-element.js"
108881
+ "name": "SbbLinkBaseElement",
108882
+ "module": "core/base-elements/link-base-element.js"
108884
108883
  }
108885
108884
  },
108886
108885
  {
108887
- "name": "name",
108888
- "description": "Name of the form element. Will be read from name attribute.",
108886
+ "name": "accessibility-current",
108889
108887
  "type": {
108890
108888
  "text": "string"
108891
108889
  },
108892
- "fieldName": "name",
108890
+ "default": "''",
108891
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
108892
+ "fieldName": "accessibilityCurrent",
108893
108893
  "inheritedFrom": {
108894
- "name": "SbbFormAssociatedMixin",
108895
- "module": "core/mixins/form-associated-mixin.js"
108894
+ "name": "SbbLinkBaseElement",
108895
+ "module": "core/base-elements/link-base-element.js"
108896
108896
  }
108897
108897
  }
108898
108898
  ]
@@ -108901,10 +108901,10 @@
108901
108901
  "exports": [
108902
108902
  {
108903
108903
  "kind": "js",
108904
- "name": "SbbMenuButtonElement",
108904
+ "name": "SbbMenuLinkElement",
108905
108905
  "declaration": {
108906
- "name": "SbbMenuButtonElement",
108907
- "module": "menu/menu-button/menu-button.component.js"
108906
+ "name": "SbbMenuLinkElement",
108907
+ "module": "menu/menu-link/menu-link.component.js"
108908
108908
  }
108909
108909
  }
108910
108910
  ]