@sbb-esta/lyne-elements-dev 4.13.0-dev.1779773598 → 4.13.0-dev.1780116462

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 +1209 -1209
  2. package/package.json +2 -2
@@ -99463,15 +99463,15 @@
99463
99463
  },
99464
99464
  {
99465
99465
  "kind": "javascript-module",
99466
- "path": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js",
99466
+ "path": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js",
99467
99467
  "declarations": [
99468
99468
  {
99469
99469
  "kind": "class",
99470
- "description": "Container for the icon sidebar content. Intended to be placed inside an `sbb-icon-sidebar-container` element.",
99471
- "name": "SbbIconSidebarContentElement",
99470
+ "description": "This is the parent component to one or two `<sbb-icon-sidebar>`s and one `<sbb-icon-sidebar-content>` element.",
99471
+ "name": "SbbIconSidebarContainerElement",
99472
99472
  "slots": [
99473
99473
  {
99474
- "description": "Use the unnamed slot to add any content elements.",
99474
+ "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
99475
99475
  "name": ""
99476
99476
  }
99477
99477
  ],
@@ -99485,12 +99485,42 @@
99485
99485
  "privacy": "public",
99486
99486
  "static": true,
99487
99487
  "readonly": true,
99488
- "default": "'sbb-icon-sidebar-content'",
99488
+ "default": "'sbb-icon-sidebar-container'",
99489
99489
  "inheritedFrom": {
99490
99490
  "name": "SbbElement",
99491
99491
  "module": "core/base-elements/element.js"
99492
99492
  }
99493
99493
  },
99494
+ {
99495
+ "kind": "field",
99496
+ "name": "sidebars",
99497
+ "type": {
99498
+ "text": "SbbIconSidebarElement[]"
99499
+ },
99500
+ "privacy": "public",
99501
+ "description": "The icon-sidebar children.",
99502
+ "readonly": true
99503
+ },
99504
+ {
99505
+ "kind": "field",
99506
+ "name": "start",
99507
+ "type": {
99508
+ "text": "SbbIconSidebarElement | null"
99509
+ },
99510
+ "privacy": "public",
99511
+ "description": "The icon-sidebar child at the start position.",
99512
+ "readonly": true
99513
+ },
99514
+ {
99515
+ "kind": "field",
99516
+ "name": "end",
99517
+ "type": {
99518
+ "text": "SbbIconSidebarElement | null"
99519
+ },
99520
+ "privacy": "public",
99521
+ "description": "The icon-sidebar child at the end position.",
99522
+ "readonly": true
99523
+ },
99494
99524
  {
99495
99525
  "kind": "field",
99496
99526
  "name": "_hydrationRequired",
@@ -99601,32 +99631,32 @@
99601
99631
  "name": "SbbElement",
99602
99632
  "module": "core/base-elements.js"
99603
99633
  },
99604
- "tagName": "sbb-icon-sidebar-content",
99634
+ "tagName": "sbb-icon-sidebar-container",
99605
99635
  "customElement": true
99606
99636
  }
99607
99637
  ],
99608
99638
  "exports": [
99609
99639
  {
99610
99640
  "kind": "js",
99611
- "name": "SbbIconSidebarContentElement",
99641
+ "name": "SbbIconSidebarContainerElement",
99612
99642
  "declaration": {
99613
- "name": "SbbIconSidebarContentElement",
99614
- "module": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js"
99643
+ "name": "SbbIconSidebarContainerElement",
99644
+ "module": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js"
99615
99645
  }
99616
99646
  }
99617
99647
  ]
99618
99648
  },
99619
99649
  {
99620
99650
  "kind": "javascript-module",
99621
- "path": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js",
99651
+ "path": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js",
99622
99652
  "declarations": [
99623
99653
  {
99624
99654
  "kind": "class",
99625
- "description": "This is the parent component to one or two `<sbb-icon-sidebar>`s and one `<sbb-icon-sidebar-content>` element.",
99626
- "name": "SbbIconSidebarContainerElement",
99655
+ "description": "Container for the icon sidebar content. Intended to be placed inside an `sbb-icon-sidebar-container` element.",
99656
+ "name": "SbbIconSidebarContentElement",
99627
99657
  "slots": [
99628
99658
  {
99629
- "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
99659
+ "description": "Use the unnamed slot to add any content elements.",
99630
99660
  "name": ""
99631
99661
  }
99632
99662
  ],
@@ -99640,42 +99670,12 @@
99640
99670
  "privacy": "public",
99641
99671
  "static": true,
99642
99672
  "readonly": true,
99643
- "default": "'sbb-icon-sidebar-container'",
99673
+ "default": "'sbb-icon-sidebar-content'",
99644
99674
  "inheritedFrom": {
99645
99675
  "name": "SbbElement",
99646
99676
  "module": "core/base-elements/element.js"
99647
99677
  }
99648
99678
  },
99649
- {
99650
- "kind": "field",
99651
- "name": "sidebars",
99652
- "type": {
99653
- "text": "SbbIconSidebarElement[]"
99654
- },
99655
- "privacy": "public",
99656
- "description": "The icon-sidebar children.",
99657
- "readonly": true
99658
- },
99659
- {
99660
- "kind": "field",
99661
- "name": "start",
99662
- "type": {
99663
- "text": "SbbIconSidebarElement | null"
99664
- },
99665
- "privacy": "public",
99666
- "description": "The icon-sidebar child at the start position.",
99667
- "readonly": true
99668
- },
99669
- {
99670
- "kind": "field",
99671
- "name": "end",
99672
- "type": {
99673
- "text": "SbbIconSidebarElement | null"
99674
- },
99675
- "privacy": "public",
99676
- "description": "The icon-sidebar child at the end position.",
99677
- "readonly": true
99678
- },
99679
99679
  {
99680
99680
  "kind": "field",
99681
99681
  "name": "_hydrationRequired",
@@ -99786,17 +99786,17 @@
99786
99786
  "name": "SbbElement",
99787
99787
  "module": "core/base-elements.js"
99788
99788
  },
99789
- "tagName": "sbb-icon-sidebar-container",
99789
+ "tagName": "sbb-icon-sidebar-content",
99790
99790
  "customElement": true
99791
99791
  }
99792
99792
  ],
99793
99793
  "exports": [
99794
99794
  {
99795
99795
  "kind": "js",
99796
- "name": "SbbIconSidebarContainerElement",
99796
+ "name": "SbbIconSidebarContentElement",
99797
99797
  "declaration": {
99798
- "name": "SbbIconSidebarContainerElement",
99799
- "module": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js"
99798
+ "name": "SbbIconSidebarContentElement",
99799
+ "module": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js"
99800
99800
  }
99801
99801
  }
99802
99802
  ]
@@ -100327,15 +100327,15 @@
100327
100327
  },
100328
100328
  {
100329
100329
  "kind": "javascript-module",
100330
- "path": "link/block-link-button/block-link-button.component.js",
100330
+ "path": "link/block-link/block-link.component.js",
100331
100331
  "declarations": [
100332
100332
  {
100333
100333
  "kind": "class",
100334
- "description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
100335
- "name": "SbbBlockLinkButtonElement",
100334
+ "description": "It displays a link enhanced with the SBB Design.",
100335
+ "name": "SbbBlockLinkElement",
100336
100336
  "slots": [
100337
100337
  {
100338
- "description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
100338
+ "description": "Use the unnamed slot to add content to the `sbb-block-link`.",
100339
100339
  "name": ""
100340
100340
  },
100341
100341
  {
@@ -100357,7 +100357,7 @@
100357
100357
  "name": "SbbElement",
100358
100358
  "module": "core/base-elements/element.js"
100359
100359
  },
100360
- "default": "'sbb-block-link-button'"
100360
+ "default": "'sbb-block-link'"
100361
100361
  },
100362
100362
  {
100363
100363
  "kind": "field",
@@ -100486,22 +100486,6 @@
100486
100486
  "module": "icon/icon-name-mixin.js"
100487
100487
  }
100488
100488
  },
100489
- {
100490
- "kind": "field",
100491
- "name": "disabledInteractive",
100492
- "type": {
100493
- "text": "boolean"
100494
- },
100495
- "privacy": "public",
100496
- "default": "false",
100497
- "description": "Whether the button should be aria-disabled but stay interactive.",
100498
- "attribute": "disabled-interactive",
100499
- "reflects": true,
100500
- "inheritedFrom": {
100501
- "name": "SbbDisabledInteractiveMixin",
100502
- "module": "core/mixins/disabled-mixin.js"
100503
- }
100504
- },
100505
100489
  {
100506
100490
  "kind": "field",
100507
100491
  "name": "disabled",
@@ -100548,308 +100532,246 @@
100548
100532
  },
100549
100533
  {
100550
100534
  "kind": "field",
100551
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
100552
- "type": {
100553
- "text": "array"
100554
- },
100555
- "privacy": "private",
100556
- "readonly": true,
100557
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
100558
- "inheritedFrom": {
100559
- "name": "SbbButtonBaseElement",
100560
- "module": "core/base-elements/button-base-element.js"
100561
- }
100562
- },
100563
- {
100564
- "kind": "field",
100565
- "name": "value",
100535
+ "name": "href",
100566
100536
  "type": {
100567
100537
  "text": "string"
100568
100538
  },
100569
100539
  "privacy": "public",
100570
- "inheritedFrom": {
100571
- "name": "SbbButtonBaseElement",
100572
- "module": "core/base-elements/button-base-element.js"
100573
- },
100574
100540
  "default": "''",
100575
- "description": "Value of the form element.",
100576
- "attribute": "value"
100577
- },
100578
- {
100579
- "kind": "field",
100580
- "name": "type",
100581
- "privacy": "public",
100582
- "description": "The type attribute to use for the button.",
100583
- "default": "'button'",
100584
- "type": {
100585
- "text": "SbbButtonType"
100586
- },
100587
- "attribute": "type",
100541
+ "description": "The href value you want to link to.",
100542
+ "attribute": "href",
100543
+ "reflects": true,
100588
100544
  "inheritedFrom": {
100589
- "name": "SbbButtonBaseElement",
100590
- "module": "core/base-elements/button-base-element.js"
100545
+ "name": "SbbLinkBaseElement",
100546
+ "module": "core/base-elements/link-base-element.js"
100591
100547
  }
100592
100548
  },
100593
100549
  {
100594
100550
  "kind": "field",
100595
- "name": "form",
100551
+ "name": "target",
100596
100552
  "type": {
100597
- "text": "HTMLFormElement | null"
100553
+ "text": "LinkTargetType | string"
100598
100554
  },
100599
100555
  "privacy": "public",
100600
- "description": "The `<form>` element to associate the button with.",
100556
+ "default": "''",
100557
+ "description": "Where to display the linked URL.",
100558
+ "attribute": "target",
100559
+ "reflects": true,
100601
100560
  "inheritedFrom": {
100602
- "name": "SbbButtonBaseElement",
100603
- "module": "core/base-elements/button-base-element.js"
100604
- },
100605
- "attribute": "form"
100561
+ "name": "SbbLinkBaseElement",
100562
+ "module": "core/base-elements/link-base-element.js"
100563
+ }
100606
100564
  },
100607
100565
  {
100608
100566
  "kind": "field",
100609
- "name": "_formId",
100567
+ "name": "rel",
100610
100568
  "type": {
100611
100569
  "text": "string"
100612
100570
  },
100613
- "privacy": "private",
100571
+ "privacy": "public",
100614
100572
  "default": "''",
100573
+ "description": "The relationship of the linked URL as space-separated link types.",
100574
+ "attribute": "rel",
100575
+ "reflects": true,
100615
100576
  "inheritedFrom": {
100616
- "name": "SbbButtonBaseElement",
100617
- "module": "core/base-elements/button-base-element.js"
100618
- }
100619
- },
100620
- {
100621
- "kind": "field",
100622
- "name": "_handleButtonClick",
100623
- "privacy": "private",
100624
- "inheritedFrom": {
100625
- "name": "SbbButtonBaseElement",
100626
- "module": "core/base-elements/button-base-element.js"
100627
- }
100628
- },
100629
- {
100630
- "kind": "method",
100631
- "name": "_requestSubmit",
100632
- "privacy": "private",
100633
- "return": {
100634
- "type": {
100635
- "text": "void"
100636
- }
100637
- },
100638
- "parameters": [
100639
- {
100640
- "name": "form",
100641
- "type": {
100642
- "text": "HTMLFormElement"
100643
- }
100644
- }
100645
- ],
100646
- "inheritedFrom": {
100647
- "name": "SbbButtonBaseElement",
100648
- "module": "core/base-elements/button-base-element.js"
100649
- }
100650
- },
100651
- {
100652
- "kind": "field",
100653
- "name": "_formKeyDown",
100654
- "privacy": "private",
100655
- "inheritedFrom": {
100656
- "name": "SbbButtonBaseElement",
100657
- "module": "core/base-elements/button-base-element.js"
100577
+ "name": "SbbLinkBaseElement",
100578
+ "module": "core/base-elements/link-base-element.js"
100658
100579
  }
100659
100580
  },
100660
100581
  {
100661
100582
  "kind": "field",
100662
- "name": "formAssociated",
100583
+ "name": "download",
100663
100584
  "type": {
100664
100585
  "text": "boolean"
100665
100586
  },
100666
100587
  "privacy": "public",
100667
- "static": true,
100668
- "default": "true",
100588
+ "default": "false",
100589
+ "description": "Whether the browser will show the download dialog on click.",
100590
+ "attribute": "download",
100591
+ "reflects": true,
100669
100592
  "inheritedFrom": {
100670
- "name": "SbbFormAssociatedMixin",
100671
- "module": "core/mixins/form-associated-mixin.js"
100593
+ "name": "SbbLinkBaseElement",
100594
+ "module": "core/base-elements/link-base-element.js"
100672
100595
  }
100673
100596
  },
100674
100597
  {
100675
100598
  "kind": "field",
100676
- "name": "name",
100677
- "privacy": "public",
100678
- "description": "Name of the form element. Will be read from name attribute.",
100599
+ "name": "accessibilityLabel",
100679
100600
  "type": {
100680
100601
  "text": "string"
100681
100602
  },
100682
- "attribute": "name",
100603
+ "privacy": "public",
100604
+ "default": "''",
100605
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
100606
+ "attribute": "accessibility-label",
100683
100607
  "inheritedFrom": {
100684
- "name": "SbbFormAssociatedMixin",
100685
- "module": "core/mixins/form-associated-mixin.js"
100608
+ "name": "SbbLinkBaseElement",
100609
+ "module": "core/base-elements/link-base-element.js"
100686
100610
  }
100687
100611
  },
100688
100612
  {
100689
100613
  "kind": "field",
100690
- "name": "validity",
100614
+ "name": "accessibilityCurrent",
100691
100615
  "type": {
100692
- "text": "ValidityState"
100616
+ "text": "string"
100693
100617
  },
100694
100618
  "privacy": "public",
100695
- "description": "Returns the ValidityState object for this element.",
100696
- "readonly": true,
100619
+ "default": "''",
100620
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
100621
+ "attribute": "accessibility-current",
100697
100622
  "inheritedFrom": {
100698
- "name": "SbbFormAssociatedMixin",
100699
- "module": "core/mixins/form-associated-mixin.js"
100623
+ "name": "SbbLinkBaseElement",
100624
+ "module": "core/base-elements/link-base-element.js"
100700
100625
  }
100701
100626
  },
100702
100627
  {
100703
100628
  "kind": "field",
100704
- "name": "validationMessage",
100705
- "type": {
100706
- "text": "string"
100707
- },
100708
- "privacy": "public",
100709
- "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.",
100710
- "readonly": true,
100629
+ "name": "language",
100630
+ "privacy": "protected",
100631
+ "default": "new SbbLanguageController(this)",
100711
100632
  "inheritedFrom": {
100712
- "name": "SbbFormAssociatedMixin",
100713
- "module": "core/mixins/form-associated-mixin.js"
100633
+ "name": "SbbLinkBaseElement",
100634
+ "module": "core/base-elements/link-base-element.js"
100714
100635
  }
100715
100636
  },
100716
100637
  {
100717
100638
  "kind": "field",
100718
- "name": "willValidate",
100639
+ "name": "anchorRole",
100719
100640
  "type": {
100720
- "text": "boolean"
100641
+ "text": "string | null"
100721
100642
  },
100722
- "privacy": "public",
100723
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
100643
+ "privacy": "protected",
100724
100644
  "readonly": true,
100645
+ "default": "null",
100725
100646
  "inheritedFrom": {
100726
- "name": "SbbFormAssociatedMixin",
100727
- "module": "core/mixins/form-associated-mixin.js"
100647
+ "name": "SbbLinkBaseElement",
100648
+ "module": "core/base-elements/link-base-element.js"
100728
100649
  }
100729
100650
  },
100730
100651
  {
100731
100652
  "kind": "field",
100732
- "name": "_validityStates",
100653
+ "name": "_evaluateRelAttribute",
100733
100654
  "privacy": "private",
100734
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
100735
100655
  "inheritedFrom": {
100736
- "name": "SbbFormAssociatedMixin",
100737
- "module": "core/mixins/form-associated-mixin.js"
100656
+ "name": "SbbLinkBaseElement",
100657
+ "module": "core/base-elements/link-base-element.js"
100658
+ }
100659
+ },
100660
+ {
100661
+ "kind": "method",
100662
+ "name": "renderLink",
100663
+ "privacy": "protected",
100664
+ "return": {
100665
+ "type": {
100666
+ "text": "TemplateResult"
100667
+ }
100668
+ },
100669
+ "parameters": [
100670
+ {
100671
+ "name": "renderContent",
100672
+ "type": {
100673
+ "text": "TemplateResult"
100674
+ }
100675
+ }
100676
+ ],
100677
+ "inheritedFrom": {
100678
+ "name": "SbbLinkBaseElement",
100679
+ "module": "core/base-elements/link-base-element.js"
100738
100680
  }
100739
100681
  },
100740
100682
  {
100741
100683
  "kind": "field",
100742
- "name": "formDisabled",
100684
+ "name": "maybeDisabled",
100743
100685
  "type": {
100744
- "text": "boolean"
100686
+ "text": "boolean | undefined"
100745
100687
  },
100746
100688
  "privacy": "protected",
100747
- "default": "false",
100748
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
100689
+ "readonly": true,
100749
100690
  "inheritedFrom": {
100750
- "name": "SbbFormAssociatedMixin",
100751
- "module": "core/mixins/form-associated-mixin.js"
100691
+ "name": "SbbActionBaseElement",
100692
+ "module": "core/base-elements/action-base-element.js"
100752
100693
  }
100753
100694
  },
100754
100695
  {
100755
- "kind": "method",
100756
- "name": "checkValidity",
100757
- "privacy": "public",
100758
- "return": {
100759
- "type": {
100760
- "text": "boolean"
100761
- }
100696
+ "kind": "field",
100697
+ "name": "maybeDisabledInteractive",
100698
+ "type": {
100699
+ "text": "boolean | undefined"
100762
100700
  },
100763
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
100701
+ "privacy": "protected",
100702
+ "readonly": true,
100764
100703
  "inheritedFrom": {
100765
- "name": "SbbFormAssociatedMixin",
100766
- "module": "core/mixins/form-associated-mixin.js"
100704
+ "name": "SbbActionBaseElement",
100705
+ "module": "core/base-elements/action-base-element.js"
100767
100706
  }
100768
100707
  },
100769
100708
  {
100770
100709
  "kind": "method",
100771
- "name": "reportValidity",
100772
- "privacy": "public",
100710
+ "name": "setupBaseEventHandlers",
100711
+ "privacy": "protected",
100773
100712
  "return": {
100774
100713
  "type": {
100775
- "text": "boolean"
100714
+ "text": "void"
100776
100715
  }
100777
100716
  },
100778
- "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.",
100779
100717
  "inheritedFrom": {
100780
- "name": "SbbFormAssociatedMixin",
100781
- "module": "core/mixins/form-associated-mixin.js"
100718
+ "name": "SbbActionBaseElement",
100719
+ "module": "core/base-elements/action-base-element.js"
100782
100720
  }
100783
100721
  },
100784
100722
  {
100785
- "kind": "method",
100786
- "name": "setCustomValidity",
100787
- "privacy": "public",
100788
- "return": {
100789
- "type": {
100790
- "text": "void"
100791
- }
100723
+ "kind": "field",
100724
+ "name": "_hydrationRequired",
100725
+ "type": {
100726
+ "text": "boolean"
100792
100727
  },
100793
- "parameters": [
100794
- {
100795
- "name": "message",
100796
- "type": {
100797
- "text": "string"
100798
- }
100799
- }
100800
- ],
100801
- "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.",
100728
+ "privacy": "private",
100729
+ "default": "!!this.shadowRoot",
100802
100730
  "inheritedFrom": {
100803
- "name": "SbbFormAssociatedMixin",
100804
- "module": "core/mixins/form-associated-mixin.js"
100731
+ "name": "SbbElement",
100732
+ "module": "core/base-elements/element.js"
100805
100733
  }
100806
100734
  },
100807
100735
  {
100808
- "kind": "method",
100809
- "name": "_hasDisabledAncestor",
100736
+ "kind": "field",
100737
+ "name": "_hydrationComplete",
100810
100738
  "privacy": "private",
100811
- "return": {
100812
- "type": {
100813
- "text": "boolean"
100814
- }
100815
- },
100739
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
100816
100740
  "inheritedFrom": {
100817
- "name": "SbbFormAssociatedMixin",
100818
- "module": "core/mixins/form-associated-mixin.js"
100741
+ "name": "SbbElement",
100742
+ "module": "core/base-elements/element.js"
100819
100743
  }
100820
100744
  },
100821
100745
  {
100822
- "kind": "method",
100823
- "name": "updateFormValue",
100824
- "privacy": "protected",
100825
- "return": {
100826
- "type": {
100827
- "text": "void"
100828
- }
100746
+ "kind": "field",
100747
+ "name": "_resolveHydration",
100748
+ "type": {
100749
+ "text": "(hydrationRequired: boolean) => void"
100829
100750
  },
100830
- "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",
100751
+ "privacy": "private",
100831
100752
  "inheritedFrom": {
100832
- "name": "SbbFormAssociatedMixin",
100833
- "module": "core/mixins/form-associated-mixin.js"
100753
+ "name": "SbbElement",
100754
+ "module": "core/base-elements/element.js"
100834
100755
  }
100835
100756
  },
100836
100757
  {
100837
- "kind": "method",
100838
- "name": "formState",
100839
- "privacy": "protected",
100840
- "return": {
100841
- "type": {
100842
- "text": "FormRestoreState"
100843
- }
100758
+ "kind": "field",
100759
+ "name": "hydrationRequired",
100760
+ "type": {
100761
+ "text": "boolean"
100844
100762
  },
100763
+ "privacy": "protected",
100764
+ "description": "Returns whether hydration is required and not completed.",
100765
+ "readonly": true,
100845
100766
  "inheritedFrom": {
100846
- "name": "SbbFormAssociatedMixin",
100847
- "module": "core/mixins/form-associated-mixin.js"
100848
- }
100767
+ "name": "SbbElement",
100768
+ "module": "core/base-elements/element.js"
100769
+ },
100770
+ "default": "!!this.shadowRoot"
100849
100771
  },
100850
100772
  {
100851
100773
  "kind": "method",
100852
- "name": "setValidityFlag",
100774
+ "name": "toggleState",
100853
100775
  "privacy": "protected",
100854
100776
  "return": {
100855
100777
  "type": {
@@ -100858,332 +100780,66 @@
100858
100780
  },
100859
100781
  "parameters": [
100860
100782
  {
100861
- "name": "flag",
100862
- "type": {
100863
- "text": "T"
100864
- }
100865
- },
100866
- {
100867
- "name": "message",
100783
+ "name": "value",
100868
100784
  "type": {
100869
100785
  "text": "string"
100870
100786
  }
100871
100787
  },
100872
100788
  {
100873
- "name": "flagValue",
100789
+ "name": "force",
100874
100790
  "optional": true,
100875
100791
  "type": {
100876
- "text": "ValidityStateFlags[T]"
100792
+ "text": "boolean"
100877
100793
  }
100878
100794
  }
100879
100795
  ],
100880
- "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).",
100881
100796
  "inheritedFrom": {
100882
- "name": "SbbFormAssociatedMixin",
100883
- "module": "core/mixins/form-associated-mixin.js"
100797
+ "name": "SbbElement",
100798
+ "module": "core/base-elements/element.js"
100884
100799
  }
100885
100800
  },
100886
100801
  {
100887
- "kind": "method",
100888
- "name": "removeValidityFlag",
100889
- "privacy": "protected",
100890
- "return": {
100891
- "type": {
100892
- "text": "void"
100893
- }
100802
+ "kind": "field",
100803
+ "name": "['_$sbbElement$']",
100804
+ "type": {
100805
+ "text": "boolean"
100894
100806
  },
100895
- "parameters": [
100896
- {
100897
- "name": "flag",
100898
- "type": {
100899
- "text": "T"
100900
- }
100901
- }
100902
- ],
100903
- "description": "Removes the validity state flag entry and updates validity state.",
100807
+ "privacy": "public",
100808
+ "static": true,
100809
+ "default": "true",
100904
100810
  "inheritedFrom": {
100905
- "name": "SbbFormAssociatedMixin",
100906
- "module": "core/mixins/form-associated-mixin.js"
100811
+ "name": "SbbElement",
100812
+ "module": "core/base-elements/element.js"
100907
100813
  }
100908
100814
  },
100909
100815
  {
100910
- "kind": "method",
100911
- "name": "validate",
100912
- "privacy": "protected",
100913
- "return": {
100914
- "type": {
100915
- "text": "void"
100916
- }
100816
+ "kind": "field",
100817
+ "name": "_controllers",
100818
+ "type": {
100819
+ "text": "Set<SbbReactiveController> | undefined"
100917
100820
  },
100918
- "description": "To be called whenever the current element needs to be validated.",
100821
+ "privacy": "private",
100919
100822
  "inheritedFrom": {
100920
- "name": "SbbFormAssociatedMixin",
100921
- "module": "core/mixins/form-associated-mixin.js"
100823
+ "name": "SbbElement",
100824
+ "module": "core/base-elements/element.js"
100922
100825
  }
100826
+ }
100827
+ ],
100828
+ "mixins": [
100829
+ {
100830
+ "name": "SbbBlockLinkCommonElementMixin",
100831
+ "module": "link/common/block-link-common.js"
100923
100832
  },
100924
100833
  {
100925
- "kind": "method",
100926
- "name": "shouldValidate",
100927
- "privacy": "protected",
100928
- "return": {
100929
- "type": {
100930
- "text": "boolean"
100931
- }
100932
- },
100933
- "parameters": [
100934
- {
100935
- "name": "name",
100936
- "type": {
100937
- "text": "PropertyKey | undefined"
100938
- }
100939
- }
100940
- ],
100941
- "description": "Whether validation should be run on a property change with the given name.",
100942
- "inheritedFrom": {
100943
- "name": "SbbFormAssociatedMixin",
100944
- "module": "core/mixins/form-associated-mixin.js"
100945
- }
100946
- },
100947
- {
100948
- "kind": "method",
100949
- "name": "_setInternalValidity",
100950
- "privacy": "private",
100951
- "return": {
100952
- "type": {
100953
- "text": "void"
100954
- }
100955
- },
100956
- "inheritedFrom": {
100957
- "name": "SbbFormAssociatedMixin",
100958
- "module": "core/mixins/form-associated-mixin.js"
100959
- }
100960
- },
100961
- {
100962
- "kind": "field",
100963
- "name": "role",
100964
- "type": {
100965
- "text": "ElementInternals['role']"
100966
- },
100967
- "privacy": "public",
100968
- "static": true,
100969
- "readonly": true,
100970
- "default": "'button'",
100971
- "inheritedFrom": {
100972
- "name": "SbbButtonLikeBaseElement",
100973
- "module": "core/base-elements/button-base-element.js"
100974
- }
100975
- },
100976
- {
100977
- "kind": "field",
100978
- "name": "_preventScrollOnSpaceKeydown",
100979
- "privacy": "private",
100980
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
100981
- "parameters": [
100982
- {
100983
- "description": "The origin event.",
100984
- "name": "event"
100985
- }
100986
- ],
100987
- "inheritedFrom": {
100988
- "name": "SbbButtonLikeBaseElement",
100989
- "module": "core/base-elements/button-base-element.js"
100990
- }
100991
- },
100992
- {
100993
- "kind": "field",
100994
- "name": "_removeActiveMarker",
100995
- "privacy": "private",
100996
- "inheritedFrom": {
100997
- "name": "SbbButtonLikeBaseElement",
100998
- "module": "core/base-elements/button-base-element.js"
100999
- }
101000
- },
101001
- {
101002
- "kind": "field",
101003
- "name": "_dispatchClickEventOnSpaceKeyup",
101004
- "privacy": "private",
101005
- "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.",
101006
- "parameters": [
101007
- {
101008
- "description": "The origin event.",
101009
- "name": "event"
101010
- }
101011
- ],
101012
- "inheritedFrom": {
101013
- "name": "SbbButtonLikeBaseElement",
101014
- "module": "core/base-elements/button-base-element.js"
101015
- }
101016
- },
101017
- {
101018
- "kind": "field",
101019
- "name": "_dispatchClickEvent",
101020
- "privacy": "private",
101021
- "inheritedFrom": {
101022
- "name": "SbbButtonLikeBaseElement",
101023
- "module": "core/base-elements/button-base-element.js"
101024
- }
101025
- },
101026
- {
101027
- "kind": "field",
101028
- "name": "maybeDisabled",
101029
- "type": {
101030
- "text": "boolean | undefined"
101031
- },
101032
- "privacy": "protected",
101033
- "readonly": true,
101034
- "inheritedFrom": {
101035
- "name": "SbbActionBaseElement",
101036
- "module": "core/base-elements/action-base-element.js"
101037
- }
101038
- },
101039
- {
101040
- "kind": "field",
101041
- "name": "maybeDisabledInteractive",
101042
- "type": {
101043
- "text": "boolean | undefined"
101044
- },
101045
- "privacy": "protected",
101046
- "readonly": true,
101047
- "inheritedFrom": {
101048
- "name": "SbbActionBaseElement",
101049
- "module": "core/base-elements/action-base-element.js"
101050
- }
101051
- },
101052
- {
101053
- "kind": "method",
101054
- "name": "setupBaseEventHandlers",
101055
- "privacy": "protected",
101056
- "return": {
101057
- "type": {
101058
- "text": "void"
101059
- }
101060
- },
101061
- "inheritedFrom": {
101062
- "name": "SbbActionBaseElement",
101063
- "module": "core/base-elements/action-base-element.js"
101064
- }
101065
- },
101066
- {
101067
- "kind": "field",
101068
- "name": "_hydrationRequired",
101069
- "type": {
101070
- "text": "boolean"
101071
- },
101072
- "privacy": "private",
101073
- "default": "!!this.shadowRoot",
101074
- "inheritedFrom": {
101075
- "name": "SbbElement",
101076
- "module": "core/base-elements/element.js"
101077
- }
101078
- },
101079
- {
101080
- "kind": "field",
101081
- "name": "_hydrationComplete",
101082
- "privacy": "private",
101083
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
101084
- "inheritedFrom": {
101085
- "name": "SbbElement",
101086
- "module": "core/base-elements/element.js"
101087
- }
101088
- },
101089
- {
101090
- "kind": "field",
101091
- "name": "_resolveHydration",
101092
- "type": {
101093
- "text": "(hydrationRequired: boolean) => void"
101094
- },
101095
- "privacy": "private",
101096
- "inheritedFrom": {
101097
- "name": "SbbElement",
101098
- "module": "core/base-elements/element.js"
101099
- }
101100
- },
101101
- {
101102
- "kind": "field",
101103
- "name": "hydrationRequired",
101104
- "type": {
101105
- "text": "boolean"
101106
- },
101107
- "privacy": "protected",
101108
- "description": "Returns whether hydration is required and not completed.",
101109
- "readonly": true,
101110
- "inheritedFrom": {
101111
- "name": "SbbElement",
101112
- "module": "core/base-elements/element.js"
101113
- },
101114
- "default": "!!this.shadowRoot"
101115
- },
101116
- {
101117
- "kind": "method",
101118
- "name": "toggleState",
101119
- "privacy": "protected",
101120
- "return": {
101121
- "type": {
101122
- "text": "void"
101123
- }
101124
- },
101125
- "parameters": [
101126
- {
101127
- "name": "value",
101128
- "type": {
101129
- "text": "string"
101130
- }
101131
- },
101132
- {
101133
- "name": "force",
101134
- "optional": true,
101135
- "type": {
101136
- "text": "boolean"
101137
- }
101138
- }
101139
- ],
101140
- "inheritedFrom": {
101141
- "name": "SbbElement",
101142
- "module": "core/base-elements/element.js"
101143
- }
101144
- },
101145
- {
101146
- "kind": "field",
101147
- "name": "['_$sbbElement$']",
101148
- "type": {
101149
- "text": "boolean"
101150
- },
101151
- "privacy": "public",
101152
- "static": true,
101153
- "default": "true",
101154
- "inheritedFrom": {
101155
- "name": "SbbElement",
101156
- "module": "core/base-elements/element.js"
101157
- }
101158
- },
101159
- {
101160
- "kind": "field",
101161
- "name": "_controllers",
101162
- "type": {
101163
- "text": "Set<SbbReactiveController> | undefined"
101164
- },
101165
- "privacy": "private",
101166
- "inheritedFrom": {
101167
- "name": "SbbElement",
101168
- "module": "core/base-elements/element.js"
101169
- }
101170
- }
101171
- ],
101172
- "mixins": [
101173
- {
101174
- "name": "SbbBlockLinkCommonElementMixin",
101175
- "module": "link/common/block-link-common.js"
101176
- },
101177
- {
101178
- "name": "SbbDisabledTabIndexActionMixin",
100834
+ "name": "SbbDisabledMixin",
101179
100835
  "module": "core/mixins.js"
101180
100836
  }
101181
100837
  ],
101182
100838
  "superclass": {
101183
- "name": "SbbButtonBaseElement",
100839
+ "name": "SbbLinkBaseElement",
101184
100840
  "module": "core/base-elements.js"
101185
100841
  },
101186
- "tagName": "sbb-block-link-button",
100842
+ "tagName": "sbb-block-link",
101187
100843
  "customElement": true,
101188
100844
  "attributes": [
101189
100845
  {
@@ -101226,79 +100882,94 @@
101226
100882
  }
101227
100883
  },
101228
100884
  {
101229
- "name": "disabled-interactive",
100885
+ "name": "disabled",
100886
+ "description": "Whether the component is disabled.",
100887
+ "default": "false",
101230
100888
  "type": {
101231
100889
  "text": "boolean"
101232
100890
  },
101233
- "default": "false",
101234
- "description": "Whether the button should be aria-disabled but stay interactive.",
101235
- "fieldName": "disabledInteractive",
100891
+ "fieldName": "disabled",
101236
100892
  "inheritedFrom": {
101237
- "name": "SbbDisabledInteractiveMixin",
100893
+ "name": "SbbDisabledMixin",
101238
100894
  "module": "core/mixins/disabled-mixin.js"
101239
100895
  }
101240
100896
  },
101241
100897
  {
101242
- "name": "disabled",
101243
- "description": "Whether the component is disabled.",
101244
- "default": "false",
100898
+ "name": "href",
101245
100899
  "type": {
101246
- "text": "boolean"
100900
+ "text": "string"
101247
100901
  },
101248
- "fieldName": "disabled",
100902
+ "default": "''",
100903
+ "description": "The href value you want to link to.",
100904
+ "fieldName": "href",
101249
100905
  "inheritedFrom": {
101250
- "name": "SbbDisabledMixin",
101251
- "module": "core/mixins/disabled-mixin.js"
100906
+ "name": "SbbLinkBaseElement",
100907
+ "module": "core/base-elements/link-base-element.js"
101252
100908
  }
101253
100909
  },
101254
100910
  {
101255
- "name": "value",
100911
+ "name": "target",
100912
+ "type": {
100913
+ "text": "LinkTargetType | string"
100914
+ },
100915
+ "default": "''",
100916
+ "description": "Where to display the linked URL.",
100917
+ "fieldName": "target",
100918
+ "inheritedFrom": {
100919
+ "name": "SbbLinkBaseElement",
100920
+ "module": "core/base-elements/link-base-element.js"
100921
+ }
100922
+ },
100923
+ {
100924
+ "name": "rel",
101256
100925
  "type": {
101257
100926
  "text": "string"
101258
100927
  },
101259
100928
  "default": "''",
101260
- "description": "Value of the form element.",
101261
- "fieldName": "value",
100929
+ "description": "The relationship of the linked URL as space-separated link types.",
100930
+ "fieldName": "rel",
101262
100931
  "inheritedFrom": {
101263
- "name": "SbbButtonBaseElement",
101264
- "module": "core/base-elements/button-base-element.js"
100932
+ "name": "SbbLinkBaseElement",
100933
+ "module": "core/base-elements/link-base-element.js"
101265
100934
  }
101266
100935
  },
101267
100936
  {
101268
- "name": "type",
101269
- "description": "The type attribute to use for the button.",
101270
- "default": "'button'",
100937
+ "name": "download",
101271
100938
  "type": {
101272
- "text": "SbbButtonType"
100939
+ "text": "boolean"
101273
100940
  },
101274
- "fieldName": "type",
100941
+ "default": "false",
100942
+ "description": "Whether the browser will show the download dialog on click.",
100943
+ "fieldName": "download",
101275
100944
  "inheritedFrom": {
101276
- "name": "SbbButtonBaseElement",
101277
- "module": "core/base-elements/button-base-element.js"
100945
+ "name": "SbbLinkBaseElement",
100946
+ "module": "core/base-elements/link-base-element.js"
101278
100947
  }
101279
100948
  },
101280
100949
  {
101281
- "name": "form",
101282
- "description": "The `<form>` element to associate the button with.",
100950
+ "name": "accessibility-label",
101283
100951
  "type": {
101284
- "text": "HTMLFormElement | null"
100952
+ "text": "string"
101285
100953
  },
101286
- "fieldName": "form",
100954
+ "default": "''",
100955
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
100956
+ "fieldName": "accessibilityLabel",
101287
100957
  "inheritedFrom": {
101288
- "name": "SbbButtonBaseElement",
101289
- "module": "core/base-elements/button-base-element.js"
100958
+ "name": "SbbLinkBaseElement",
100959
+ "module": "core/base-elements/link-base-element.js"
101290
100960
  }
101291
100961
  },
101292
100962
  {
101293
- "name": "name",
101294
- "description": "Name of the form element. Will be read from name attribute.",
100963
+ "name": "accessibility-current",
101295
100964
  "type": {
101296
100965
  "text": "string"
101297
100966
  },
101298
- "fieldName": "name",
100967
+ "default": "''",
100968
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
100969
+ "fieldName": "accessibilityCurrent",
101299
100970
  "inheritedFrom": {
101300
- "name": "SbbFormAssociatedMixin",
101301
- "module": "core/mixins/form-associated-mixin.js"
100971
+ "name": "SbbLinkBaseElement",
100972
+ "module": "core/base-elements/link-base-element.js"
101302
100973
  }
101303
100974
  }
101304
100975
  ]
@@ -101307,25 +100978,25 @@
101307
100978
  "exports": [
101308
100979
  {
101309
100980
  "kind": "js",
101310
- "name": "SbbBlockLinkButtonElement",
100981
+ "name": "SbbBlockLinkElement",
101311
100982
  "declaration": {
101312
- "name": "SbbBlockLinkButtonElement",
101313
- "module": "link/block-link-button/block-link-button.component.js"
100983
+ "name": "SbbBlockLinkElement",
100984
+ "module": "link/block-link/block-link.component.js"
101314
100985
  }
101315
100986
  }
101316
100987
  ]
101317
100988
  },
101318
100989
  {
101319
100990
  "kind": "javascript-module",
101320
- "path": "link/block-link/block-link.component.js",
100991
+ "path": "link/block-link-button/block-link-button.component.js",
101321
100992
  "declarations": [
101322
100993
  {
101323
100994
  "kind": "class",
101324
- "description": "It displays a link enhanced with the SBB Design.",
101325
- "name": "SbbBlockLinkElement",
100995
+ "description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
100996
+ "name": "SbbBlockLinkButtonElement",
101326
100997
  "slots": [
101327
100998
  {
101328
- "description": "Use the unnamed slot to add content to the `sbb-block-link`.",
100999
+ "description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
101329
101000
  "name": ""
101330
101001
  },
101331
101002
  {
@@ -101347,7 +101018,7 @@
101347
101018
  "name": "SbbElement",
101348
101019
  "module": "core/base-elements/element.js"
101349
101020
  },
101350
- "default": "'sbb-block-link'"
101021
+ "default": "'sbb-block-link-button'"
101351
101022
  },
101352
101023
  {
101353
101024
  "kind": "field",
@@ -101476,6 +101147,22 @@
101476
101147
  "module": "icon/icon-name-mixin.js"
101477
101148
  }
101478
101149
  },
101150
+ {
101151
+ "kind": "field",
101152
+ "name": "disabledInteractive",
101153
+ "type": {
101154
+ "text": "boolean"
101155
+ },
101156
+ "privacy": "public",
101157
+ "default": "false",
101158
+ "description": "Whether the button should be aria-disabled but stay interactive.",
101159
+ "attribute": "disabled-interactive",
101160
+ "reflects": true,
101161
+ "inheritedFrom": {
101162
+ "name": "SbbDisabledInteractiveMixin",
101163
+ "module": "core/mixins/disabled-mixin.js"
101164
+ }
101165
+ },
101479
101166
  {
101480
101167
  "kind": "field",
101481
101168
  "name": "disabled",
@@ -101522,151 +101209,479 @@
101522
101209
  },
101523
101210
  {
101524
101211
  "kind": "field",
101525
- "name": "href",
101212
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
101213
+ "type": {
101214
+ "text": "array"
101215
+ },
101216
+ "privacy": "private",
101217
+ "readonly": true,
101218
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
101219
+ "inheritedFrom": {
101220
+ "name": "SbbButtonBaseElement",
101221
+ "module": "core/base-elements/button-base-element.js"
101222
+ }
101223
+ },
101224
+ {
101225
+ "kind": "field",
101226
+ "name": "value",
101526
101227
  "type": {
101527
101228
  "text": "string"
101528
101229
  },
101529
101230
  "privacy": "public",
101231
+ "inheritedFrom": {
101232
+ "name": "SbbButtonBaseElement",
101233
+ "module": "core/base-elements/button-base-element.js"
101234
+ },
101530
101235
  "default": "''",
101531
- "description": "The href value you want to link to.",
101532
- "attribute": "href",
101533
- "reflects": true,
101236
+ "description": "Value of the form element.",
101237
+ "attribute": "value"
101238
+ },
101239
+ {
101240
+ "kind": "field",
101241
+ "name": "type",
101242
+ "privacy": "public",
101243
+ "description": "The type attribute to use for the button.",
101244
+ "default": "'button'",
101245
+ "type": {
101246
+ "text": "SbbButtonType"
101247
+ },
101248
+ "attribute": "type",
101534
101249
  "inheritedFrom": {
101535
- "name": "SbbLinkBaseElement",
101536
- "module": "core/base-elements/link-base-element.js"
101250
+ "name": "SbbButtonBaseElement",
101251
+ "module": "core/base-elements/button-base-element.js"
101537
101252
  }
101538
101253
  },
101539
101254
  {
101540
101255
  "kind": "field",
101541
- "name": "target",
101256
+ "name": "form",
101542
101257
  "type": {
101543
- "text": "LinkTargetType | string"
101258
+ "text": "HTMLFormElement | null"
101544
101259
  },
101545
101260
  "privacy": "public",
101546
- "default": "''",
101547
- "description": "Where to display the linked URL.",
101548
- "attribute": "target",
101549
- "reflects": true,
101261
+ "description": "The `<form>` element to associate the button with.",
101550
101262
  "inheritedFrom": {
101551
- "name": "SbbLinkBaseElement",
101552
- "module": "core/base-elements/link-base-element.js"
101553
- }
101263
+ "name": "SbbButtonBaseElement",
101264
+ "module": "core/base-elements/button-base-element.js"
101265
+ },
101266
+ "attribute": "form"
101554
101267
  },
101555
101268
  {
101556
101269
  "kind": "field",
101557
- "name": "rel",
101270
+ "name": "_formId",
101558
101271
  "type": {
101559
101272
  "text": "string"
101560
101273
  },
101561
- "privacy": "public",
101274
+ "privacy": "private",
101562
101275
  "default": "''",
101563
- "description": "The relationship of the linked URL as space-separated link types.",
101564
- "attribute": "rel",
101565
- "reflects": true,
101566
101276
  "inheritedFrom": {
101567
- "name": "SbbLinkBaseElement",
101568
- "module": "core/base-elements/link-base-element.js"
101277
+ "name": "SbbButtonBaseElement",
101278
+ "module": "core/base-elements/button-base-element.js"
101569
101279
  }
101570
101280
  },
101571
101281
  {
101572
101282
  "kind": "field",
101573
- "name": "download",
101283
+ "name": "_handleButtonClick",
101284
+ "privacy": "private",
101285
+ "inheritedFrom": {
101286
+ "name": "SbbButtonBaseElement",
101287
+ "module": "core/base-elements/button-base-element.js"
101288
+ }
101289
+ },
101290
+ {
101291
+ "kind": "method",
101292
+ "name": "_requestSubmit",
101293
+ "privacy": "private",
101294
+ "return": {
101295
+ "type": {
101296
+ "text": "void"
101297
+ }
101298
+ },
101299
+ "parameters": [
101300
+ {
101301
+ "name": "form",
101302
+ "type": {
101303
+ "text": "HTMLFormElement"
101304
+ }
101305
+ }
101306
+ ],
101307
+ "inheritedFrom": {
101308
+ "name": "SbbButtonBaseElement",
101309
+ "module": "core/base-elements/button-base-element.js"
101310
+ }
101311
+ },
101312
+ {
101313
+ "kind": "field",
101314
+ "name": "_formKeyDown",
101315
+ "privacy": "private",
101316
+ "inheritedFrom": {
101317
+ "name": "SbbButtonBaseElement",
101318
+ "module": "core/base-elements/button-base-element.js"
101319
+ }
101320
+ },
101321
+ {
101322
+ "kind": "field",
101323
+ "name": "formAssociated",
101574
101324
  "type": {
101575
101325
  "text": "boolean"
101576
101326
  },
101577
101327
  "privacy": "public",
101578
- "default": "false",
101579
- "description": "Whether the browser will show the download dialog on click.",
101580
- "attribute": "download",
101581
- "reflects": true,
101328
+ "static": true,
101329
+ "default": "true",
101582
101330
  "inheritedFrom": {
101583
- "name": "SbbLinkBaseElement",
101584
- "module": "core/base-elements/link-base-element.js"
101331
+ "name": "SbbFormAssociatedMixin",
101332
+ "module": "core/mixins/form-associated-mixin.js"
101585
101333
  }
101586
101334
  },
101587
101335
  {
101588
101336
  "kind": "field",
101589
- "name": "accessibilityLabel",
101337
+ "name": "name",
101338
+ "privacy": "public",
101339
+ "description": "Name of the form element. Will be read from name attribute.",
101590
101340
  "type": {
101591
101341
  "text": "string"
101592
101342
  },
101343
+ "attribute": "name",
101344
+ "inheritedFrom": {
101345
+ "name": "SbbFormAssociatedMixin",
101346
+ "module": "core/mixins/form-associated-mixin.js"
101347
+ }
101348
+ },
101349
+ {
101350
+ "kind": "field",
101351
+ "name": "validity",
101352
+ "type": {
101353
+ "text": "ValidityState"
101354
+ },
101593
101355
  "privacy": "public",
101594
- "default": "''",
101595
- "description": "This will be forwarded as aria-label to the inner anchor element.",
101596
- "attribute": "accessibility-label",
101356
+ "description": "Returns the ValidityState object for this element.",
101357
+ "readonly": true,
101597
101358
  "inheritedFrom": {
101598
- "name": "SbbLinkBaseElement",
101599
- "module": "core/base-elements/link-base-element.js"
101359
+ "name": "SbbFormAssociatedMixin",
101360
+ "module": "core/mixins/form-associated-mixin.js"
101600
101361
  }
101601
101362
  },
101602
101363
  {
101603
101364
  "kind": "field",
101604
- "name": "accessibilityCurrent",
101365
+ "name": "validationMessage",
101605
101366
  "type": {
101606
101367
  "text": "string"
101607
101368
  },
101608
101369
  "privacy": "public",
101609
- "default": "''",
101610
- "description": "This will be forwarded as aria-current to the inner anchor element.",
101611
- "attribute": "accessibility-current",
101370
+ "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.",
101371
+ "readonly": true,
101612
101372
  "inheritedFrom": {
101613
- "name": "SbbLinkBaseElement",
101614
- "module": "core/base-elements/link-base-element.js"
101373
+ "name": "SbbFormAssociatedMixin",
101374
+ "module": "core/mixins/form-associated-mixin.js"
101615
101375
  }
101616
101376
  },
101617
101377
  {
101618
101378
  "kind": "field",
101619
- "name": "language",
101620
- "privacy": "protected",
101621
- "default": "new SbbLanguageController(this)",
101379
+ "name": "willValidate",
101380
+ "type": {
101381
+ "text": "boolean"
101382
+ },
101383
+ "privacy": "public",
101384
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
101385
+ "readonly": true,
101622
101386
  "inheritedFrom": {
101623
- "name": "SbbLinkBaseElement",
101624
- "module": "core/base-elements/link-base-element.js"
101387
+ "name": "SbbFormAssociatedMixin",
101388
+ "module": "core/mixins/form-associated-mixin.js"
101625
101389
  }
101626
101390
  },
101627
101391
  {
101628
101392
  "kind": "field",
101629
- "name": "anchorRole",
101393
+ "name": "_validityStates",
101394
+ "privacy": "private",
101395
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
101396
+ "inheritedFrom": {
101397
+ "name": "SbbFormAssociatedMixin",
101398
+ "module": "core/mixins/form-associated-mixin.js"
101399
+ }
101400
+ },
101401
+ {
101402
+ "kind": "field",
101403
+ "name": "formDisabled",
101630
101404
  "type": {
101631
- "text": "string | null"
101405
+ "text": "boolean"
101632
101406
  },
101633
101407
  "privacy": "protected",
101634
- "readonly": true,
101635
- "default": "null",
101408
+ "default": "false",
101409
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
101636
101410
  "inheritedFrom": {
101637
- "name": "SbbLinkBaseElement",
101638
- "module": "core/base-elements/link-base-element.js"
101411
+ "name": "SbbFormAssociatedMixin",
101412
+ "module": "core/mixins/form-associated-mixin.js"
101639
101413
  }
101640
101414
  },
101641
101415
  {
101642
- "kind": "field",
101643
- "name": "_evaluateRelAttribute",
101416
+ "kind": "method",
101417
+ "name": "checkValidity",
101418
+ "privacy": "public",
101419
+ "return": {
101420
+ "type": {
101421
+ "text": "boolean"
101422
+ }
101423
+ },
101424
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
101425
+ "inheritedFrom": {
101426
+ "name": "SbbFormAssociatedMixin",
101427
+ "module": "core/mixins/form-associated-mixin.js"
101428
+ }
101429
+ },
101430
+ {
101431
+ "kind": "method",
101432
+ "name": "reportValidity",
101433
+ "privacy": "public",
101434
+ "return": {
101435
+ "type": {
101436
+ "text": "boolean"
101437
+ }
101438
+ },
101439
+ "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.",
101440
+ "inheritedFrom": {
101441
+ "name": "SbbFormAssociatedMixin",
101442
+ "module": "core/mixins/form-associated-mixin.js"
101443
+ }
101444
+ },
101445
+ {
101446
+ "kind": "method",
101447
+ "name": "setCustomValidity",
101448
+ "privacy": "public",
101449
+ "return": {
101450
+ "type": {
101451
+ "text": "void"
101452
+ }
101453
+ },
101454
+ "parameters": [
101455
+ {
101456
+ "name": "message",
101457
+ "type": {
101458
+ "text": "string"
101459
+ }
101460
+ }
101461
+ ],
101462
+ "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.",
101463
+ "inheritedFrom": {
101464
+ "name": "SbbFormAssociatedMixin",
101465
+ "module": "core/mixins/form-associated-mixin.js"
101466
+ }
101467
+ },
101468
+ {
101469
+ "kind": "method",
101470
+ "name": "_hasDisabledAncestor",
101644
101471
  "privacy": "private",
101472
+ "return": {
101473
+ "type": {
101474
+ "text": "boolean"
101475
+ }
101476
+ },
101645
101477
  "inheritedFrom": {
101646
- "name": "SbbLinkBaseElement",
101647
- "module": "core/base-elements/link-base-element.js"
101478
+ "name": "SbbFormAssociatedMixin",
101479
+ "module": "core/mixins/form-associated-mixin.js"
101648
101480
  }
101649
101481
  },
101650
101482
  {
101651
101483
  "kind": "method",
101652
- "name": "renderLink",
101484
+ "name": "updateFormValue",
101653
101485
  "privacy": "protected",
101654
101486
  "return": {
101655
101487
  "type": {
101656
- "text": "TemplateResult"
101488
+ "text": "void"
101489
+ }
101490
+ },
101491
+ "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",
101492
+ "inheritedFrom": {
101493
+ "name": "SbbFormAssociatedMixin",
101494
+ "module": "core/mixins/form-associated-mixin.js"
101495
+ }
101496
+ },
101497
+ {
101498
+ "kind": "method",
101499
+ "name": "formState",
101500
+ "privacy": "protected",
101501
+ "return": {
101502
+ "type": {
101503
+ "text": "FormRestoreState"
101504
+ }
101505
+ },
101506
+ "inheritedFrom": {
101507
+ "name": "SbbFormAssociatedMixin",
101508
+ "module": "core/mixins/form-associated-mixin.js"
101509
+ }
101510
+ },
101511
+ {
101512
+ "kind": "method",
101513
+ "name": "setValidityFlag",
101514
+ "privacy": "protected",
101515
+ "return": {
101516
+ "type": {
101517
+ "text": "void"
101657
101518
  }
101658
101519
  },
101659
101520
  "parameters": [
101660
101521
  {
101661
- "name": "renderContent",
101522
+ "name": "flag",
101662
101523
  "type": {
101663
- "text": "TemplateResult"
101524
+ "text": "T"
101525
+ }
101526
+ },
101527
+ {
101528
+ "name": "message",
101529
+ "type": {
101530
+ "text": "string"
101531
+ }
101532
+ },
101533
+ {
101534
+ "name": "flagValue",
101535
+ "optional": true,
101536
+ "type": {
101537
+ "text": "ValidityStateFlags[T]"
101664
101538
  }
101665
101539
  }
101666
101540
  ],
101541
+ "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).",
101667
101542
  "inheritedFrom": {
101668
- "name": "SbbLinkBaseElement",
101669
- "module": "core/base-elements/link-base-element.js"
101543
+ "name": "SbbFormAssociatedMixin",
101544
+ "module": "core/mixins/form-associated-mixin.js"
101545
+ }
101546
+ },
101547
+ {
101548
+ "kind": "method",
101549
+ "name": "removeValidityFlag",
101550
+ "privacy": "protected",
101551
+ "return": {
101552
+ "type": {
101553
+ "text": "void"
101554
+ }
101555
+ },
101556
+ "parameters": [
101557
+ {
101558
+ "name": "flag",
101559
+ "type": {
101560
+ "text": "T"
101561
+ }
101562
+ }
101563
+ ],
101564
+ "description": "Removes the validity state flag entry and updates validity state.",
101565
+ "inheritedFrom": {
101566
+ "name": "SbbFormAssociatedMixin",
101567
+ "module": "core/mixins/form-associated-mixin.js"
101568
+ }
101569
+ },
101570
+ {
101571
+ "kind": "method",
101572
+ "name": "validate",
101573
+ "privacy": "protected",
101574
+ "return": {
101575
+ "type": {
101576
+ "text": "void"
101577
+ }
101578
+ },
101579
+ "description": "To be called whenever the current element needs to be validated.",
101580
+ "inheritedFrom": {
101581
+ "name": "SbbFormAssociatedMixin",
101582
+ "module": "core/mixins/form-associated-mixin.js"
101583
+ }
101584
+ },
101585
+ {
101586
+ "kind": "method",
101587
+ "name": "shouldValidate",
101588
+ "privacy": "protected",
101589
+ "return": {
101590
+ "type": {
101591
+ "text": "boolean"
101592
+ }
101593
+ },
101594
+ "parameters": [
101595
+ {
101596
+ "name": "name",
101597
+ "type": {
101598
+ "text": "PropertyKey | undefined"
101599
+ }
101600
+ }
101601
+ ],
101602
+ "description": "Whether validation should be run on a property change with the given name.",
101603
+ "inheritedFrom": {
101604
+ "name": "SbbFormAssociatedMixin",
101605
+ "module": "core/mixins/form-associated-mixin.js"
101606
+ }
101607
+ },
101608
+ {
101609
+ "kind": "method",
101610
+ "name": "_setInternalValidity",
101611
+ "privacy": "private",
101612
+ "return": {
101613
+ "type": {
101614
+ "text": "void"
101615
+ }
101616
+ },
101617
+ "inheritedFrom": {
101618
+ "name": "SbbFormAssociatedMixin",
101619
+ "module": "core/mixins/form-associated-mixin.js"
101620
+ }
101621
+ },
101622
+ {
101623
+ "kind": "field",
101624
+ "name": "role",
101625
+ "type": {
101626
+ "text": "ElementInternals['role']"
101627
+ },
101628
+ "privacy": "public",
101629
+ "static": true,
101630
+ "readonly": true,
101631
+ "default": "'button'",
101632
+ "inheritedFrom": {
101633
+ "name": "SbbButtonLikeBaseElement",
101634
+ "module": "core/base-elements/button-base-element.js"
101635
+ }
101636
+ },
101637
+ {
101638
+ "kind": "field",
101639
+ "name": "_preventScrollOnSpaceKeydown",
101640
+ "privacy": "private",
101641
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
101642
+ "parameters": [
101643
+ {
101644
+ "description": "The origin event.",
101645
+ "name": "event"
101646
+ }
101647
+ ],
101648
+ "inheritedFrom": {
101649
+ "name": "SbbButtonLikeBaseElement",
101650
+ "module": "core/base-elements/button-base-element.js"
101651
+ }
101652
+ },
101653
+ {
101654
+ "kind": "field",
101655
+ "name": "_removeActiveMarker",
101656
+ "privacy": "private",
101657
+ "inheritedFrom": {
101658
+ "name": "SbbButtonLikeBaseElement",
101659
+ "module": "core/base-elements/button-base-element.js"
101660
+ }
101661
+ },
101662
+ {
101663
+ "kind": "field",
101664
+ "name": "_dispatchClickEventOnSpaceKeyup",
101665
+ "privacy": "private",
101666
+ "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.",
101667
+ "parameters": [
101668
+ {
101669
+ "description": "The origin event.",
101670
+ "name": "event"
101671
+ }
101672
+ ],
101673
+ "inheritedFrom": {
101674
+ "name": "SbbButtonLikeBaseElement",
101675
+ "module": "core/base-elements/button-base-element.js"
101676
+ }
101677
+ },
101678
+ {
101679
+ "kind": "field",
101680
+ "name": "_dispatchClickEvent",
101681
+ "privacy": "private",
101682
+ "inheritedFrom": {
101683
+ "name": "SbbButtonLikeBaseElement",
101684
+ "module": "core/base-elements/button-base-element.js"
101670
101685
  }
101671
101686
  },
101672
101687
  {
@@ -101821,15 +101836,15 @@
101821
101836
  "module": "link/common/block-link-common.js"
101822
101837
  },
101823
101838
  {
101824
- "name": "SbbDisabledMixin",
101839
+ "name": "SbbDisabledTabIndexActionMixin",
101825
101840
  "module": "core/mixins.js"
101826
101841
  }
101827
101842
  ],
101828
101843
  "superclass": {
101829
- "name": "SbbLinkBaseElement",
101844
+ "name": "SbbButtonBaseElement",
101830
101845
  "module": "core/base-elements.js"
101831
101846
  },
101832
- "tagName": "sbb-block-link",
101847
+ "tagName": "sbb-block-link-button",
101833
101848
  "customElement": true,
101834
101849
  "attributes": [
101835
101850
  {
@@ -101872,94 +101887,79 @@
101872
101887
  }
101873
101888
  },
101874
101889
  {
101875
- "name": "disabled",
101876
- "description": "Whether the component is disabled.",
101877
- "default": "false",
101890
+ "name": "disabled-interactive",
101878
101891
  "type": {
101879
101892
  "text": "boolean"
101880
101893
  },
101881
- "fieldName": "disabled",
101894
+ "default": "false",
101895
+ "description": "Whether the button should be aria-disabled but stay interactive.",
101896
+ "fieldName": "disabledInteractive",
101882
101897
  "inheritedFrom": {
101883
- "name": "SbbDisabledMixin",
101898
+ "name": "SbbDisabledInteractiveMixin",
101884
101899
  "module": "core/mixins/disabled-mixin.js"
101885
101900
  }
101886
101901
  },
101887
101902
  {
101888
- "name": "href",
101889
- "type": {
101890
- "text": "string"
101891
- },
101892
- "default": "''",
101893
- "description": "The href value you want to link to.",
101894
- "fieldName": "href",
101895
- "inheritedFrom": {
101896
- "name": "SbbLinkBaseElement",
101897
- "module": "core/base-elements/link-base-element.js"
101898
- }
101899
- },
101900
- {
101901
- "name": "target",
101903
+ "name": "disabled",
101904
+ "description": "Whether the component is disabled.",
101905
+ "default": "false",
101902
101906
  "type": {
101903
- "text": "LinkTargetType | string"
101907
+ "text": "boolean"
101904
101908
  },
101905
- "default": "''",
101906
- "description": "Where to display the linked URL.",
101907
- "fieldName": "target",
101909
+ "fieldName": "disabled",
101908
101910
  "inheritedFrom": {
101909
- "name": "SbbLinkBaseElement",
101910
- "module": "core/base-elements/link-base-element.js"
101911
+ "name": "SbbDisabledMixin",
101912
+ "module": "core/mixins/disabled-mixin.js"
101911
101913
  }
101912
101914
  },
101913
101915
  {
101914
- "name": "rel",
101916
+ "name": "value",
101915
101917
  "type": {
101916
101918
  "text": "string"
101917
101919
  },
101918
101920
  "default": "''",
101919
- "description": "The relationship of the linked URL as space-separated link types.",
101920
- "fieldName": "rel",
101921
+ "description": "Value of the form element.",
101922
+ "fieldName": "value",
101921
101923
  "inheritedFrom": {
101922
- "name": "SbbLinkBaseElement",
101923
- "module": "core/base-elements/link-base-element.js"
101924
+ "name": "SbbButtonBaseElement",
101925
+ "module": "core/base-elements/button-base-element.js"
101924
101926
  }
101925
101927
  },
101926
101928
  {
101927
- "name": "download",
101929
+ "name": "type",
101930
+ "description": "The type attribute to use for the button.",
101931
+ "default": "'button'",
101928
101932
  "type": {
101929
- "text": "boolean"
101933
+ "text": "SbbButtonType"
101930
101934
  },
101931
- "default": "false",
101932
- "description": "Whether the browser will show the download dialog on click.",
101933
- "fieldName": "download",
101935
+ "fieldName": "type",
101934
101936
  "inheritedFrom": {
101935
- "name": "SbbLinkBaseElement",
101936
- "module": "core/base-elements/link-base-element.js"
101937
+ "name": "SbbButtonBaseElement",
101938
+ "module": "core/base-elements/button-base-element.js"
101937
101939
  }
101938
101940
  },
101939
101941
  {
101940
- "name": "accessibility-label",
101942
+ "name": "form",
101943
+ "description": "The `<form>` element to associate the button with.",
101941
101944
  "type": {
101942
- "text": "string"
101945
+ "text": "HTMLFormElement | null"
101943
101946
  },
101944
- "default": "''",
101945
- "description": "This will be forwarded as aria-label to the inner anchor element.",
101946
- "fieldName": "accessibilityLabel",
101947
+ "fieldName": "form",
101947
101948
  "inheritedFrom": {
101948
- "name": "SbbLinkBaseElement",
101949
- "module": "core/base-elements/link-base-element.js"
101949
+ "name": "SbbButtonBaseElement",
101950
+ "module": "core/base-elements/button-base-element.js"
101950
101951
  }
101951
101952
  },
101952
101953
  {
101953
- "name": "accessibility-current",
101954
+ "name": "name",
101955
+ "description": "Name of the form element. Will be read from name attribute.",
101954
101956
  "type": {
101955
101957
  "text": "string"
101956
101958
  },
101957
- "default": "''",
101958
- "description": "This will be forwarded as aria-current to the inner anchor element.",
101959
- "fieldName": "accessibilityCurrent",
101959
+ "fieldName": "name",
101960
101960
  "inheritedFrom": {
101961
- "name": "SbbLinkBaseElement",
101962
- "module": "core/base-elements/link-base-element.js"
101961
+ "name": "SbbFormAssociatedMixin",
101962
+ "module": "core/mixins/form-associated-mixin.js"
101963
101963
  }
101964
101964
  }
101965
101965
  ]
@@ -101968,10 +101968,10 @@
101968
101968
  "exports": [
101969
101969
  {
101970
101970
  "kind": "js",
101971
- "name": "SbbBlockLinkElement",
101971
+ "name": "SbbBlockLinkButtonElement",
101972
101972
  "declaration": {
101973
- "name": "SbbBlockLinkElement",
101974
- "module": "link/block-link/block-link.component.js"
101973
+ "name": "SbbBlockLinkButtonElement",
101974
+ "module": "link/block-link-button/block-link-button.component.js"
101975
101975
  }
101976
101976
  }
101977
101977
  ]
@@ -131206,478 +131206,11 @@
131206
131206
  },
131207
131207
  "default": "false",
131208
131208
  "description": "Whether the button should be aria-disabled but stay interactive.",
131209
- "fieldName": "disabledInteractive",
131210
- "inheritedFrom": {
131211
- "name": "SbbDisabledInteractiveMixin",
131212
- "module": "core/mixins/disabled-mixin.js"
131213
- }
131214
- },
131215
- {
131216
- "name": "disabled",
131217
- "description": "Whether the component is disabled.",
131218
- "default": "false",
131219
- "type": {
131220
- "text": "boolean"
131221
- },
131222
- "fieldName": "disabled",
131223
- "inheritedFrom": {
131224
- "name": "SbbDisabledMixin",
131225
- "module": "core/mixins/disabled-mixin.js"
131226
- }
131227
- },
131228
- {
131229
- "name": "value",
131230
- "type": {
131231
- "text": "string"
131232
- },
131233
- "default": "''",
131234
- "description": "Value of the form element.",
131235
- "fieldName": "value",
131236
- "inheritedFrom": {
131237
- "name": "SbbButtonBaseElement",
131238
- "module": "core/base-elements/button-base-element.js"
131239
- }
131240
- },
131241
- {
131242
- "name": "type",
131243
- "description": "The type attribute to use for the button.",
131244
- "default": "'button'",
131245
- "type": {
131246
- "text": "SbbButtonType"
131247
- },
131248
- "fieldName": "type",
131249
- "inheritedFrom": {
131250
- "name": "SbbButtonBaseElement",
131251
- "module": "core/base-elements/button-base-element.js"
131252
- }
131253
- },
131254
- {
131255
- "name": "form",
131256
- "description": "The `<form>` element to associate the button with.",
131257
- "type": {
131258
- "text": "HTMLFormElement | null"
131259
- },
131260
- "fieldName": "form",
131261
- "inheritedFrom": {
131262
- "name": "SbbButtonBaseElement",
131263
- "module": "core/base-elements/button-base-element.js"
131264
- }
131265
- },
131266
- {
131267
- "name": "name",
131268
- "description": "Name of the form element. Will be read from name attribute.",
131269
- "type": {
131270
- "text": "string"
131271
- },
131272
- "fieldName": "name",
131273
- "inheritedFrom": {
131274
- "name": "SbbFormAssociatedMixin",
131275
- "module": "core/mixins/form-associated-mixin.js"
131276
- }
131277
- }
131278
- ],
131279
- "slots": [
131280
- {
131281
- "description": "Use the unnamed slot to add content to the secondary-button.",
131282
- "name": "",
131283
- "inheritedFrom": {
131284
- "name": "SbbSecondaryButtonElement",
131285
- "module": "button/secondary-button/secondary-button.component.js"
131286
- }
131287
- },
131288
- {
131289
- "description": "Slot used to display the icon, if one is set.",
131290
- "name": "icon",
131291
- "inheritedFrom": {
131292
- "name": "SbbSecondaryButtonElement",
131293
- "module": "button/secondary-button/secondary-button.component.js"
131294
- }
131295
- }
131296
- ],
131297
- "cssProperties": [
131298
- {
131299
- "description": "The delay before the loading animation starts, when setting the button into loading state.",
131300
- "name": "--sbb-button-loading-delay",
131301
- "default": "300ms",
131302
- "inheritedFrom": {
131303
- "name": "SbbSecondaryButtonElement",
131304
- "module": "button/secondary-button/secondary-button.component.js"
131305
- }
131306
- }
131307
- ]
131308
- }
131309
- ],
131310
- "exports": [
131311
- {
131312
- "kind": "js",
131313
- "name": "SbbTimetableFormSwapButtonElement",
131314
- "declaration": {
131315
- "name": "SbbTimetableFormSwapButtonElement",
131316
- "module": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js"
131317
- }
131318
- }
131319
- ]
131320
- },
131321
- {
131322
- "kind": "javascript-module",
131323
- "path": "toggle/toggle-option/toggle-option.component.js",
131324
- "declarations": [
131325
- {
131326
- "kind": "class",
131327
- "description": "It displays a toggle option within a `sbb-toggle`.",
131328
- "name": "SbbToggleOptionElement",
131329
- "slots": [
131330
- {
131331
- "description": "Use the unnamed slot to add content to the label of the toggle option.",
131332
- "name": ""
131333
- },
131334
- {
131335
- "description": "Slot used to render the `sbb-icon`.",
131336
- "name": "icon"
131337
- }
131338
- ],
131339
- "members": [
131340
- {
131341
- "kind": "field",
131342
- "name": "elementName",
131343
- "type": {
131344
- "text": "string"
131345
- },
131346
- "privacy": "public",
131347
- "static": true,
131348
- "readonly": true,
131349
- "default": "'sbb-toggle-option'",
131350
- "inheritedFrom": {
131351
- "name": "SbbElement",
131352
- "module": "core/base-elements/element.js"
131353
- }
131354
- },
131355
- {
131356
- "kind": "field",
131357
- "name": "role",
131358
- "type": {
131359
- "text": "string"
131360
- },
131361
- "privacy": "public",
131362
- "static": true,
131363
- "readonly": true,
131364
- "default": "'radio'"
131365
- },
131366
- {
131367
- "kind": "field",
131368
- "name": "checked",
131369
- "type": {
131370
- "text": "boolean"
131371
- },
131372
- "privacy": "public",
131373
- "default": "false",
131374
- "description": "Whether the toggle-option is checked.",
131375
- "attribute": "checked",
131376
- "reflects": true
131377
- },
131378
- {
131379
- "kind": "field",
131380
- "name": "value",
131381
- "type": {
131382
- "text": "(T = string) | null"
131383
- },
131384
- "privacy": "public",
131385
- "default": "null",
131386
- "description": "Value of toggle-option.",
131387
- "attribute": "value"
131388
- },
131389
- {
131390
- "kind": "field",
131391
- "name": "_toggle",
131392
- "type": {
131393
- "text": "SbbToggleElement | null"
131394
- },
131395
- "privacy": "private",
131396
- "default": "null"
131397
- },
131398
- {
131399
- "kind": "method",
131400
- "name": "_uncheckOtherOptions",
131401
- "privacy": "private",
131402
- "return": {
131403
- "type": {
131404
- "text": "void"
131405
- }
131406
- }
131407
- },
131408
- {
131409
- "kind": "method",
131410
- "name": "_handleDisabledChange",
131411
- "privacy": "private",
131412
- "return": {
131413
- "type": {
131414
- "text": "void"
131415
- }
131416
- }
131417
- },
131418
- {
131419
- "kind": "method",
131420
- "name": "_handleInput",
131421
- "privacy": "private",
131422
- "return": {
131423
- "type": {
131424
- "text": "void"
131425
- }
131426
- }
131427
- },
131428
- {
131429
- "kind": "method",
131430
- "name": "_verifyTabindex",
131431
- "privacy": "private",
131432
- "return": {
131433
- "type": {
131434
- "text": "void"
131435
- }
131436
- }
131437
- },
131438
- {
131439
- "kind": "field",
131440
- "name": "disabled",
131441
- "privacy": "public",
131442
- "description": "Whether the component is disabled.",
131443
- "default": "false",
131444
- "type": {
131445
- "text": "boolean"
131446
- },
131447
- "attribute": "disabled",
131448
- "reflects": true,
131449
- "inheritedFrom": {
131450
- "name": "SbbDisabledMixin",
131451
- "module": "core/mixins/disabled-mixin.js"
131452
- }
131453
- },
131454
- {
131455
- "kind": "field",
131456
- "name": "#disabled",
131457
- "privacy": "private",
131458
- "type": {
131459
- "text": "boolean"
131460
- },
131461
- "default": "false",
131462
- "inheritedFrom": {
131463
- "name": "SbbDisabledMixin",
131464
- "module": "core/mixins/disabled-mixin.js"
131465
- }
131466
- },
131467
- {
131468
- "kind": "method",
131469
- "name": "isDisabledExternally",
131470
- "privacy": "protected",
131471
- "return": {
131472
- "type": {
131473
- "text": "boolean"
131474
- }
131475
- },
131476
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
131477
- "inheritedFrom": {
131478
- "name": "SbbDisabledMixin",
131479
- "module": "core/mixins/disabled-mixin.js"
131480
- }
131481
- },
131482
- {
131483
- "kind": "field",
131484
- "name": "iconName",
131485
- "type": {
131486
- "text": "string"
131487
- },
131488
- "privacy": "public",
131489
- "default": "''",
131490
- "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.",
131491
- "attribute": "icon-name",
131492
- "inheritedFrom": {
131493
- "name": "SbbIconNameMixin",
131494
- "module": "icon/icon-name-mixin.js"
131495
- }
131496
- },
131497
- {
131498
- "kind": "method",
131499
- "name": "renderIconSlot",
131500
- "privacy": "protected",
131501
- "return": {
131502
- "type": {
131503
- "text": "TemplateResult"
131504
- }
131505
- },
131506
- "parameters": [
131507
- {
131508
- "name": "classname",
131509
- "optional": true,
131510
- "type": {
131511
- "text": "string"
131512
- }
131513
- }
131514
- ],
131515
- "inheritedFrom": {
131516
- "name": "SbbIconNameMixin",
131517
- "module": "icon/icon-name-mixin.js"
131518
- }
131519
- },
131520
- {
131521
- "kind": "method",
131522
- "name": "renderIconName",
131523
- "privacy": "protected",
131524
- "return": {
131525
- "type": {
131526
- "text": "string"
131527
- }
131528
- },
131529
- "inheritedFrom": {
131530
- "name": "SbbIconNameMixin",
131531
- "module": "icon/icon-name-mixin.js"
131532
- }
131533
- },
131534
- {
131535
- "kind": "method",
131536
- "name": "_renderIconName",
131537
- "privacy": "private",
131538
- "return": {
131539
- "type": {
131540
- "text": "string"
131541
- }
131542
- },
131543
- "inheritedFrom": {
131544
- "name": "SbbIconNameMixin",
131545
- "module": "icon/icon-name-mixin.js"
131546
- }
131547
- },
131548
- {
131549
- "kind": "field",
131550
- "name": "_hydrationRequired",
131551
- "type": {
131552
- "text": "boolean"
131553
- },
131554
- "privacy": "private",
131555
- "default": "!!this.shadowRoot",
131556
- "inheritedFrom": {
131557
- "name": "SbbElement",
131558
- "module": "core/base-elements/element.js"
131559
- }
131560
- },
131561
- {
131562
- "kind": "field",
131563
- "name": "_hydrationComplete",
131564
- "privacy": "private",
131565
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
131566
- "inheritedFrom": {
131567
- "name": "SbbElement",
131568
- "module": "core/base-elements/element.js"
131569
- }
131570
- },
131571
- {
131572
- "kind": "field",
131573
- "name": "_resolveHydration",
131574
- "type": {
131575
- "text": "(hydrationRequired: boolean) => void"
131576
- },
131577
- "privacy": "private",
131578
- "inheritedFrom": {
131579
- "name": "SbbElement",
131580
- "module": "core/base-elements/element.js"
131581
- }
131582
- },
131583
- {
131584
- "kind": "field",
131585
- "name": "hydrationRequired",
131586
- "type": {
131587
- "text": "boolean"
131588
- },
131589
- "privacy": "protected",
131590
- "description": "Returns whether hydration is required and not completed.",
131591
- "readonly": true,
131592
- "inheritedFrom": {
131593
- "name": "SbbElement",
131594
- "module": "core/base-elements/element.js"
131595
- },
131596
- "default": "!!this.shadowRoot"
131597
- },
131598
- {
131599
- "kind": "method",
131600
- "name": "toggleState",
131601
- "privacy": "protected",
131602
- "return": {
131603
- "type": {
131604
- "text": "void"
131605
- }
131606
- },
131607
- "parameters": [
131608
- {
131609
- "name": "value",
131610
- "type": {
131611
- "text": "string"
131612
- }
131613
- },
131614
- {
131615
- "name": "force",
131616
- "optional": true,
131617
- "type": {
131618
- "text": "boolean"
131619
- }
131620
- }
131621
- ],
131622
- "inheritedFrom": {
131623
- "name": "SbbElement",
131624
- "module": "core/base-elements/element.js"
131625
- }
131626
- },
131627
- {
131628
- "kind": "field",
131629
- "name": "['_$sbbElement$']",
131630
- "type": {
131631
- "text": "boolean"
131632
- },
131633
- "privacy": "public",
131634
- "static": true,
131635
- "default": "true",
131636
- "inheritedFrom": {
131637
- "name": "SbbElement",
131638
- "module": "core/base-elements/element.js"
131639
- }
131640
- },
131641
- {
131642
- "kind": "field",
131643
- "name": "_controllers",
131644
- "type": {
131645
- "text": "Set<SbbReactiveController> | undefined"
131646
- },
131647
- "privacy": "private",
131648
- "inheritedFrom": {
131649
- "name": "SbbElement",
131650
- "module": "core/base-elements/element.js"
131651
- }
131652
- }
131653
- ],
131654
- "events": [
131655
- {
131656
- "type": {
131657
- "text": "InputEvent"
131658
- },
131659
- "description": "The input event fires when the value has been changed as a direct result of a user action.",
131660
- "name": "input"
131661
- }
131662
- ],
131663
- "attributes": [
131664
- {
131665
- "name": "checked",
131666
- "type": {
131667
- "text": "boolean"
131668
- },
131669
- "default": "false",
131670
- "description": "Whether the toggle-option is checked.",
131671
- "fieldName": "checked"
131672
- },
131673
- {
131674
- "name": "value",
131675
- "type": {
131676
- "text": "T | null"
131677
- },
131678
- "default": "null",
131679
- "description": "Value of toggle-option.",
131680
- "fieldName": "value"
131209
+ "fieldName": "disabledInteractive",
131210
+ "inheritedFrom": {
131211
+ "name": "SbbDisabledInteractiveMixin",
131212
+ "module": "core/mixins/disabled-mixin.js"
131213
+ }
131681
131214
  },
131682
131215
  {
131683
131216
  "name": "disabled",
@@ -131693,45 +131226,94 @@
131693
131226
  }
131694
131227
  },
131695
131228
  {
131696
- "name": "icon-name",
131229
+ "name": "value",
131697
131230
  "type": {
131698
131231
  "text": "string"
131699
131232
  },
131700
131233
  "default": "''",
131701
- "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.",
131702
- "fieldName": "iconName",
131234
+ "description": "Value of the form element.",
131235
+ "fieldName": "value",
131703
131236
  "inheritedFrom": {
131704
- "name": "SbbIconNameMixin",
131705
- "module": "icon/icon-name-mixin.js"
131237
+ "name": "SbbButtonBaseElement",
131238
+ "module": "core/base-elements/button-base-element.js"
131239
+ }
131240
+ },
131241
+ {
131242
+ "name": "type",
131243
+ "description": "The type attribute to use for the button.",
131244
+ "default": "'button'",
131245
+ "type": {
131246
+ "text": "SbbButtonType"
131247
+ },
131248
+ "fieldName": "type",
131249
+ "inheritedFrom": {
131250
+ "name": "SbbButtonBaseElement",
131251
+ "module": "core/base-elements/button-base-element.js"
131252
+ }
131253
+ },
131254
+ {
131255
+ "name": "form",
131256
+ "description": "The `<form>` element to associate the button with.",
131257
+ "type": {
131258
+ "text": "HTMLFormElement | null"
131259
+ },
131260
+ "fieldName": "form",
131261
+ "inheritedFrom": {
131262
+ "name": "SbbButtonBaseElement",
131263
+ "module": "core/base-elements/button-base-element.js"
131264
+ }
131265
+ },
131266
+ {
131267
+ "name": "name",
131268
+ "description": "Name of the form element. Will be read from name attribute.",
131269
+ "type": {
131270
+ "text": "string"
131271
+ },
131272
+ "fieldName": "name",
131273
+ "inheritedFrom": {
131274
+ "name": "SbbFormAssociatedMixin",
131275
+ "module": "core/mixins/form-associated-mixin.js"
131706
131276
  }
131707
131277
  }
131708
131278
  ],
131709
- "mixins": [
131279
+ "slots": [
131710
131280
  {
131711
- "name": "SbbDisabledMixin",
131712
- "module": "core/mixins.js"
131281
+ "description": "Use the unnamed slot to add content to the secondary-button.",
131282
+ "name": "",
131283
+ "inheritedFrom": {
131284
+ "name": "SbbSecondaryButtonElement",
131285
+ "module": "button/secondary-button/secondary-button.component.js"
131286
+ }
131713
131287
  },
131714
131288
  {
131715
- "name": "SbbIconNameMixin",
131716
- "module": "icon.js"
131289
+ "description": "Slot used to display the icon, if one is set.",
131290
+ "name": "icon",
131291
+ "inheritedFrom": {
131292
+ "name": "SbbSecondaryButtonElement",
131293
+ "module": "button/secondary-button/secondary-button.component.js"
131294
+ }
131717
131295
  }
131718
131296
  ],
131719
- "superclass": {
131720
- "name": "SbbElement",
131721
- "module": "core/base-elements.js"
131722
- },
131723
- "tagName": "sbb-toggle-option",
131724
- "customElement": true,
131725
- "classGenerics": "T = string"
131297
+ "cssProperties": [
131298
+ {
131299
+ "description": "The delay before the loading animation starts, when setting the button into loading state.",
131300
+ "name": "--sbb-button-loading-delay",
131301
+ "default": "300ms",
131302
+ "inheritedFrom": {
131303
+ "name": "SbbSecondaryButtonElement",
131304
+ "module": "button/secondary-button/secondary-button.component.js"
131305
+ }
131306
+ }
131307
+ ]
131726
131308
  }
131727
131309
  ],
131728
131310
  "exports": [
131729
131311
  {
131730
131312
  "kind": "js",
131731
- "name": "SbbToggleOptionElement",
131313
+ "name": "SbbTimetableFormSwapButtonElement",
131732
131314
  "declaration": {
131733
- "name": "SbbToggleOptionElement",
131734
- "module": "toggle/toggle-option/toggle-option.component.js"
131315
+ "name": "SbbTimetableFormSwapButtonElement",
131316
+ "module": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js"
131735
131317
  }
131736
131318
  }
131737
131319
  ]
@@ -132505,6 +132087,424 @@
132505
132087
  }
132506
132088
  ]
132507
132089
  },
132090
+ {
132091
+ "kind": "javascript-module",
132092
+ "path": "toggle/toggle-option/toggle-option.component.js",
132093
+ "declarations": [
132094
+ {
132095
+ "kind": "class",
132096
+ "description": "It displays a toggle option within a `sbb-toggle`.",
132097
+ "name": "SbbToggleOptionElement",
132098
+ "slots": [
132099
+ {
132100
+ "description": "Use the unnamed slot to add content to the label of the toggle option.",
132101
+ "name": ""
132102
+ },
132103
+ {
132104
+ "description": "Slot used to render the `sbb-icon`.",
132105
+ "name": "icon"
132106
+ }
132107
+ ],
132108
+ "members": [
132109
+ {
132110
+ "kind": "field",
132111
+ "name": "elementName",
132112
+ "type": {
132113
+ "text": "string"
132114
+ },
132115
+ "privacy": "public",
132116
+ "static": true,
132117
+ "readonly": true,
132118
+ "default": "'sbb-toggle-option'",
132119
+ "inheritedFrom": {
132120
+ "name": "SbbElement",
132121
+ "module": "core/base-elements/element.js"
132122
+ }
132123
+ },
132124
+ {
132125
+ "kind": "field",
132126
+ "name": "role",
132127
+ "type": {
132128
+ "text": "string"
132129
+ },
132130
+ "privacy": "public",
132131
+ "static": true,
132132
+ "readonly": true,
132133
+ "default": "'radio'"
132134
+ },
132135
+ {
132136
+ "kind": "field",
132137
+ "name": "checked",
132138
+ "type": {
132139
+ "text": "boolean"
132140
+ },
132141
+ "privacy": "public",
132142
+ "default": "false",
132143
+ "description": "Whether the toggle-option is checked.",
132144
+ "attribute": "checked",
132145
+ "reflects": true
132146
+ },
132147
+ {
132148
+ "kind": "field",
132149
+ "name": "value",
132150
+ "type": {
132151
+ "text": "(T = string) | null"
132152
+ },
132153
+ "privacy": "public",
132154
+ "default": "null",
132155
+ "description": "Value of toggle-option.",
132156
+ "attribute": "value"
132157
+ },
132158
+ {
132159
+ "kind": "field",
132160
+ "name": "_toggle",
132161
+ "type": {
132162
+ "text": "SbbToggleElement | null"
132163
+ },
132164
+ "privacy": "private",
132165
+ "default": "null"
132166
+ },
132167
+ {
132168
+ "kind": "method",
132169
+ "name": "_uncheckOtherOptions",
132170
+ "privacy": "private",
132171
+ "return": {
132172
+ "type": {
132173
+ "text": "void"
132174
+ }
132175
+ }
132176
+ },
132177
+ {
132178
+ "kind": "method",
132179
+ "name": "_handleDisabledChange",
132180
+ "privacy": "private",
132181
+ "return": {
132182
+ "type": {
132183
+ "text": "void"
132184
+ }
132185
+ }
132186
+ },
132187
+ {
132188
+ "kind": "method",
132189
+ "name": "_handleInput",
132190
+ "privacy": "private",
132191
+ "return": {
132192
+ "type": {
132193
+ "text": "void"
132194
+ }
132195
+ }
132196
+ },
132197
+ {
132198
+ "kind": "method",
132199
+ "name": "_verifyTabindex",
132200
+ "privacy": "private",
132201
+ "return": {
132202
+ "type": {
132203
+ "text": "void"
132204
+ }
132205
+ }
132206
+ },
132207
+ {
132208
+ "kind": "field",
132209
+ "name": "disabled",
132210
+ "privacy": "public",
132211
+ "description": "Whether the component is disabled.",
132212
+ "default": "false",
132213
+ "type": {
132214
+ "text": "boolean"
132215
+ },
132216
+ "attribute": "disabled",
132217
+ "reflects": true,
132218
+ "inheritedFrom": {
132219
+ "name": "SbbDisabledMixin",
132220
+ "module": "core/mixins/disabled-mixin.js"
132221
+ }
132222
+ },
132223
+ {
132224
+ "kind": "field",
132225
+ "name": "#disabled",
132226
+ "privacy": "private",
132227
+ "type": {
132228
+ "text": "boolean"
132229
+ },
132230
+ "default": "false",
132231
+ "inheritedFrom": {
132232
+ "name": "SbbDisabledMixin",
132233
+ "module": "core/mixins/disabled-mixin.js"
132234
+ }
132235
+ },
132236
+ {
132237
+ "kind": "method",
132238
+ "name": "isDisabledExternally",
132239
+ "privacy": "protected",
132240
+ "return": {
132241
+ "type": {
132242
+ "text": "boolean"
132243
+ }
132244
+ },
132245
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
132246
+ "inheritedFrom": {
132247
+ "name": "SbbDisabledMixin",
132248
+ "module": "core/mixins/disabled-mixin.js"
132249
+ }
132250
+ },
132251
+ {
132252
+ "kind": "field",
132253
+ "name": "iconName",
132254
+ "type": {
132255
+ "text": "string"
132256
+ },
132257
+ "privacy": "public",
132258
+ "default": "''",
132259
+ "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.",
132260
+ "attribute": "icon-name",
132261
+ "inheritedFrom": {
132262
+ "name": "SbbIconNameMixin",
132263
+ "module": "icon/icon-name-mixin.js"
132264
+ }
132265
+ },
132266
+ {
132267
+ "kind": "method",
132268
+ "name": "renderIconSlot",
132269
+ "privacy": "protected",
132270
+ "return": {
132271
+ "type": {
132272
+ "text": "TemplateResult"
132273
+ }
132274
+ },
132275
+ "parameters": [
132276
+ {
132277
+ "name": "classname",
132278
+ "optional": true,
132279
+ "type": {
132280
+ "text": "string"
132281
+ }
132282
+ }
132283
+ ],
132284
+ "inheritedFrom": {
132285
+ "name": "SbbIconNameMixin",
132286
+ "module": "icon/icon-name-mixin.js"
132287
+ }
132288
+ },
132289
+ {
132290
+ "kind": "method",
132291
+ "name": "renderIconName",
132292
+ "privacy": "protected",
132293
+ "return": {
132294
+ "type": {
132295
+ "text": "string"
132296
+ }
132297
+ },
132298
+ "inheritedFrom": {
132299
+ "name": "SbbIconNameMixin",
132300
+ "module": "icon/icon-name-mixin.js"
132301
+ }
132302
+ },
132303
+ {
132304
+ "kind": "method",
132305
+ "name": "_renderIconName",
132306
+ "privacy": "private",
132307
+ "return": {
132308
+ "type": {
132309
+ "text": "string"
132310
+ }
132311
+ },
132312
+ "inheritedFrom": {
132313
+ "name": "SbbIconNameMixin",
132314
+ "module": "icon/icon-name-mixin.js"
132315
+ }
132316
+ },
132317
+ {
132318
+ "kind": "field",
132319
+ "name": "_hydrationRequired",
132320
+ "type": {
132321
+ "text": "boolean"
132322
+ },
132323
+ "privacy": "private",
132324
+ "default": "!!this.shadowRoot",
132325
+ "inheritedFrom": {
132326
+ "name": "SbbElement",
132327
+ "module": "core/base-elements/element.js"
132328
+ }
132329
+ },
132330
+ {
132331
+ "kind": "field",
132332
+ "name": "_hydrationComplete",
132333
+ "privacy": "private",
132334
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
132335
+ "inheritedFrom": {
132336
+ "name": "SbbElement",
132337
+ "module": "core/base-elements/element.js"
132338
+ }
132339
+ },
132340
+ {
132341
+ "kind": "field",
132342
+ "name": "_resolveHydration",
132343
+ "type": {
132344
+ "text": "(hydrationRequired: boolean) => void"
132345
+ },
132346
+ "privacy": "private",
132347
+ "inheritedFrom": {
132348
+ "name": "SbbElement",
132349
+ "module": "core/base-elements/element.js"
132350
+ }
132351
+ },
132352
+ {
132353
+ "kind": "field",
132354
+ "name": "hydrationRequired",
132355
+ "type": {
132356
+ "text": "boolean"
132357
+ },
132358
+ "privacy": "protected",
132359
+ "description": "Returns whether hydration is required and not completed.",
132360
+ "readonly": true,
132361
+ "inheritedFrom": {
132362
+ "name": "SbbElement",
132363
+ "module": "core/base-elements/element.js"
132364
+ },
132365
+ "default": "!!this.shadowRoot"
132366
+ },
132367
+ {
132368
+ "kind": "method",
132369
+ "name": "toggleState",
132370
+ "privacy": "protected",
132371
+ "return": {
132372
+ "type": {
132373
+ "text": "void"
132374
+ }
132375
+ },
132376
+ "parameters": [
132377
+ {
132378
+ "name": "value",
132379
+ "type": {
132380
+ "text": "string"
132381
+ }
132382
+ },
132383
+ {
132384
+ "name": "force",
132385
+ "optional": true,
132386
+ "type": {
132387
+ "text": "boolean"
132388
+ }
132389
+ }
132390
+ ],
132391
+ "inheritedFrom": {
132392
+ "name": "SbbElement",
132393
+ "module": "core/base-elements/element.js"
132394
+ }
132395
+ },
132396
+ {
132397
+ "kind": "field",
132398
+ "name": "['_$sbbElement$']",
132399
+ "type": {
132400
+ "text": "boolean"
132401
+ },
132402
+ "privacy": "public",
132403
+ "static": true,
132404
+ "default": "true",
132405
+ "inheritedFrom": {
132406
+ "name": "SbbElement",
132407
+ "module": "core/base-elements/element.js"
132408
+ }
132409
+ },
132410
+ {
132411
+ "kind": "field",
132412
+ "name": "_controllers",
132413
+ "type": {
132414
+ "text": "Set<SbbReactiveController> | undefined"
132415
+ },
132416
+ "privacy": "private",
132417
+ "inheritedFrom": {
132418
+ "name": "SbbElement",
132419
+ "module": "core/base-elements/element.js"
132420
+ }
132421
+ }
132422
+ ],
132423
+ "events": [
132424
+ {
132425
+ "type": {
132426
+ "text": "InputEvent"
132427
+ },
132428
+ "description": "The input event fires when the value has been changed as a direct result of a user action.",
132429
+ "name": "input"
132430
+ }
132431
+ ],
132432
+ "attributes": [
132433
+ {
132434
+ "name": "checked",
132435
+ "type": {
132436
+ "text": "boolean"
132437
+ },
132438
+ "default": "false",
132439
+ "description": "Whether the toggle-option is checked.",
132440
+ "fieldName": "checked"
132441
+ },
132442
+ {
132443
+ "name": "value",
132444
+ "type": {
132445
+ "text": "T | null"
132446
+ },
132447
+ "default": "null",
132448
+ "description": "Value of toggle-option.",
132449
+ "fieldName": "value"
132450
+ },
132451
+ {
132452
+ "name": "disabled",
132453
+ "description": "Whether the component is disabled.",
132454
+ "default": "false",
132455
+ "type": {
132456
+ "text": "boolean"
132457
+ },
132458
+ "fieldName": "disabled",
132459
+ "inheritedFrom": {
132460
+ "name": "SbbDisabledMixin",
132461
+ "module": "core/mixins/disabled-mixin.js"
132462
+ }
132463
+ },
132464
+ {
132465
+ "name": "icon-name",
132466
+ "type": {
132467
+ "text": "string"
132468
+ },
132469
+ "default": "''",
132470
+ "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.",
132471
+ "fieldName": "iconName",
132472
+ "inheritedFrom": {
132473
+ "name": "SbbIconNameMixin",
132474
+ "module": "icon/icon-name-mixin.js"
132475
+ }
132476
+ }
132477
+ ],
132478
+ "mixins": [
132479
+ {
132480
+ "name": "SbbDisabledMixin",
132481
+ "module": "core/mixins.js"
132482
+ },
132483
+ {
132484
+ "name": "SbbIconNameMixin",
132485
+ "module": "icon.js"
132486
+ }
132487
+ ],
132488
+ "superclass": {
132489
+ "name": "SbbElement",
132490
+ "module": "core/base-elements.js"
132491
+ },
132492
+ "tagName": "sbb-toggle-option",
132493
+ "customElement": true,
132494
+ "classGenerics": "T = string"
132495
+ }
132496
+ ],
132497
+ "exports": [
132498
+ {
132499
+ "kind": "js",
132500
+ "name": "SbbToggleOptionElement",
132501
+ "declaration": {
132502
+ "name": "SbbToggleOptionElement",
132503
+ "module": "toggle/toggle-option/toggle-option.component.js"
132504
+ }
132505
+ }
132506
+ ]
132507
+ },
132508
132508
  {
132509
132509
  "kind": "javascript-module",
132510
132510
  "path": "train/train/train.component.js",