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

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