@sbb-esta/lyne-elements-dev 4.12.1-dev.1777980762 → 4.12.1-dev.1777997554

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 +725 -725
  2. package/package.json +2 -2
@@ -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,479 +100532,151 @@
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",
100683
- "inheritedFrom": {
100684
- "name": "SbbFormAssociatedMixin",
100685
- "module": "core/mixins/form-associated-mixin.js"
100686
- }
100687
- },
100688
- {
100689
- "kind": "field",
100690
- "name": "validity",
100691
- "type": {
100692
- "text": "ValidityState"
100693
- },
100694
100603
  "privacy": "public",
100695
- "description": "Returns the ValidityState object for this element.",
100696
- "readonly": true,
100604
+ "default": "''",
100605
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
100606
+ "attribute": "accessibility-label",
100697
100607
  "inheritedFrom": {
100698
- "name": "SbbFormAssociatedMixin",
100699
- "module": "core/mixins/form-associated-mixin.js"
100608
+ "name": "SbbLinkBaseElement",
100609
+ "module": "core/base-elements/link-base-element.js"
100700
100610
  }
100701
100611
  },
100702
100612
  {
100703
100613
  "kind": "field",
100704
- "name": "validationMessage",
100614
+ "name": "accessibilityCurrent",
100705
100615
  "type": {
100706
100616
  "text": "string"
100707
100617
  },
100708
100618
  "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,
100711
- "inheritedFrom": {
100712
- "name": "SbbFormAssociatedMixin",
100713
- "module": "core/mixins/form-associated-mixin.js"
100714
- }
100715
- },
100716
- {
100717
- "kind": "field",
100718
- "name": "willValidate",
100719
- "type": {
100720
- "text": "boolean"
100721
- },
100722
- "privacy": "public",
100723
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
100724
- "readonly": true,
100619
+ "default": "''",
100620
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
100621
+ "attribute": "accessibility-current",
100725
100622
  "inheritedFrom": {
100726
- "name": "SbbFormAssociatedMixin",
100727
- "module": "core/mixins/form-associated-mixin.js"
100623
+ "name": "SbbLinkBaseElement",
100624
+ "module": "core/base-elements/link-base-element.js"
100728
100625
  }
100729
100626
  },
100730
100627
  {
100731
100628
  "kind": "field",
100732
- "name": "_validityStates",
100733
- "privacy": "private",
100734
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
100629
+ "name": "language",
100630
+ "privacy": "protected",
100631
+ "default": "new SbbLanguageController(this)",
100735
100632
  "inheritedFrom": {
100736
- "name": "SbbFormAssociatedMixin",
100737
- "module": "core/mixins/form-associated-mixin.js"
100633
+ "name": "SbbLinkBaseElement",
100634
+ "module": "core/base-elements/link-base-element.js"
100738
100635
  }
100739
100636
  },
100740
100637
  {
100741
100638
  "kind": "field",
100742
- "name": "formDisabled",
100639
+ "name": "anchorRole",
100743
100640
  "type": {
100744
- "text": "boolean"
100641
+ "text": "string | null"
100745
100642
  },
100746
100643
  "privacy": "protected",
100747
- "default": "false",
100748
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
100749
- "inheritedFrom": {
100750
- "name": "SbbFormAssociatedMixin",
100751
- "module": "core/mixins/form-associated-mixin.js"
100752
- }
100753
- },
100754
- {
100755
- "kind": "method",
100756
- "name": "checkValidity",
100757
- "privacy": "public",
100758
- "return": {
100759
- "type": {
100760
- "text": "boolean"
100761
- }
100762
- },
100763
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
100764
- "inheritedFrom": {
100765
- "name": "SbbFormAssociatedMixin",
100766
- "module": "core/mixins/form-associated-mixin.js"
100767
- }
100768
- },
100769
- {
100770
- "kind": "method",
100771
- "name": "reportValidity",
100772
- "privacy": "public",
100773
- "return": {
100774
- "type": {
100775
- "text": "boolean"
100776
- }
100777
- },
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
- "inheritedFrom": {
100780
- "name": "SbbFormAssociatedMixin",
100781
- "module": "core/mixins/form-associated-mixin.js"
100782
- }
100783
- },
100784
- {
100785
- "kind": "method",
100786
- "name": "setCustomValidity",
100787
- "privacy": "public",
100788
- "return": {
100789
- "type": {
100790
- "text": "void"
100791
- }
100792
- },
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.",
100644
+ "readonly": true,
100645
+ "default": "null",
100802
100646
  "inheritedFrom": {
100803
- "name": "SbbFormAssociatedMixin",
100804
- "module": "core/mixins/form-associated-mixin.js"
100647
+ "name": "SbbLinkBaseElement",
100648
+ "module": "core/base-elements/link-base-element.js"
100805
100649
  }
100806
100650
  },
100807
100651
  {
100808
- "kind": "method",
100809
- "name": "_hasDisabledAncestor",
100652
+ "kind": "field",
100653
+ "name": "_evaluateRelAttribute",
100810
100654
  "privacy": "private",
100811
- "return": {
100812
- "type": {
100813
- "text": "boolean"
100814
- }
100815
- },
100816
- "inheritedFrom": {
100817
- "name": "SbbFormAssociatedMixin",
100818
- "module": "core/mixins/form-associated-mixin.js"
100819
- }
100820
- },
100821
- {
100822
- "kind": "method",
100823
- "name": "updateFormValue",
100824
- "privacy": "protected",
100825
- "return": {
100826
- "type": {
100827
- "text": "void"
100828
- }
100829
- },
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",
100831
- "inheritedFrom": {
100832
- "name": "SbbFormAssociatedMixin",
100833
- "module": "core/mixins/form-associated-mixin.js"
100834
- }
100835
- },
100836
- {
100837
- "kind": "method",
100838
- "name": "formState",
100839
- "privacy": "protected",
100840
- "return": {
100841
- "type": {
100842
- "text": "FormRestoreState"
100843
- }
100844
- },
100845
- "inheritedFrom": {
100846
- "name": "SbbFormAssociatedMixin",
100847
- "module": "core/mixins/form-associated-mixin.js"
100848
- }
100849
- },
100850
- {
100851
- "kind": "method",
100852
- "name": "setValidityFlag",
100853
- "privacy": "protected",
100854
- "return": {
100855
- "type": {
100856
- "text": "void"
100857
- }
100858
- },
100859
- "parameters": [
100860
- {
100861
- "name": "flag",
100862
- "type": {
100863
- "text": "T"
100864
- }
100865
- },
100866
- {
100867
- "name": "message",
100868
- "type": {
100869
- "text": "string"
100870
- }
100871
- },
100872
- {
100873
- "name": "flagValue",
100874
- "optional": true,
100875
- "type": {
100876
- "text": "ValidityStateFlags[T]"
100877
- }
100878
- }
100879
- ],
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
- "inheritedFrom": {
100882
- "name": "SbbFormAssociatedMixin",
100883
- "module": "core/mixins/form-associated-mixin.js"
100884
- }
100885
- },
100886
- {
100887
- "kind": "method",
100888
- "name": "removeValidityFlag",
100889
- "privacy": "protected",
100890
- "return": {
100891
- "type": {
100892
- "text": "void"
100893
- }
100894
- },
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.",
100904
- "inheritedFrom": {
100905
- "name": "SbbFormAssociatedMixin",
100906
- "module": "core/mixins/form-associated-mixin.js"
100907
- }
100908
- },
100909
- {
100910
- "kind": "method",
100911
- "name": "validate",
100912
- "privacy": "protected",
100913
- "return": {
100914
- "type": {
100915
- "text": "void"
100916
- }
100917
- },
100918
- "description": "To be called whenever the current element needs to be validated.",
100919
100655
  "inheritedFrom": {
100920
- "name": "SbbFormAssociatedMixin",
100921
- "module": "core/mixins/form-associated-mixin.js"
100656
+ "name": "SbbLinkBaseElement",
100657
+ "module": "core/base-elements/link-base-element.js"
100922
100658
  }
100923
100659
  },
100924
100660
  {
100925
100661
  "kind": "method",
100926
- "name": "shouldValidate",
100662
+ "name": "renderLink",
100927
100663
  "privacy": "protected",
100928
100664
  "return": {
100929
100665
  "type": {
100930
- "text": "boolean"
100666
+ "text": "TemplateResult"
100931
100667
  }
100932
100668
  },
100933
100669
  "parameters": [
100934
100670
  {
100935
- "name": "name",
100671
+ "name": "renderContent",
100936
100672
  "type": {
100937
- "text": "PropertyKey | undefined"
100673
+ "text": "TemplateResult"
100938
100674
  }
100939
100675
  }
100940
100676
  ],
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
100677
  "inheritedFrom": {
101022
- "name": "SbbButtonLikeBaseElement",
101023
- "module": "core/base-elements/button-base-element.js"
100678
+ "name": "SbbLinkBaseElement",
100679
+ "module": "core/base-elements/link-base-element.js"
101024
100680
  }
101025
100681
  },
101026
100682
  {
@@ -101175,15 +100831,15 @@
101175
100831
  "module": "link/common/block-link-common.js"
101176
100832
  },
101177
100833
  {
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
  {
@@ -101225,19 +100881,6 @@
101225
100881
  "module": "icon/icon-name-mixin.js"
101226
100882
  }
101227
100883
  },
101228
- {
101229
- "name": "disabled-interactive",
101230
- "type": {
101231
- "text": "boolean"
101232
- },
101233
- "default": "false",
101234
- "description": "Whether the button should be aria-disabled but stay interactive.",
101235
- "fieldName": "disabledInteractive",
101236
- "inheritedFrom": {
101237
- "name": "SbbDisabledInteractiveMixin",
101238
- "module": "core/mixins/disabled-mixin.js"
101239
- }
101240
- },
101241
100884
  {
101242
100885
  "name": "disabled",
101243
100886
  "description": "Whether the component is disabled.",
@@ -101252,53 +100895,81 @@
101252
100895
  }
101253
100896
  },
101254
100897
  {
101255
- "name": "value",
100898
+ "name": "href",
101256
100899
  "type": {
101257
100900
  "text": "string"
101258
100901
  },
101259
100902
  "default": "''",
101260
- "description": "Value of the form element.",
101261
- "fieldName": "value",
100903
+ "description": "The href value you want to link to.",
100904
+ "fieldName": "href",
101262
100905
  "inheritedFrom": {
101263
- "name": "SbbButtonBaseElement",
101264
- "module": "core/base-elements/button-base-element.js"
100906
+ "name": "SbbLinkBaseElement",
100907
+ "module": "core/base-elements/link-base-element.js"
101265
100908
  }
101266
100909
  },
101267
100910
  {
101268
- "name": "type",
101269
- "description": "The type attribute to use for the button.",
101270
- "default": "'button'",
100911
+ "name": "target",
101271
100912
  "type": {
101272
- "text": "SbbButtonType"
100913
+ "text": "LinkTargetType | string"
101273
100914
  },
101274
- "fieldName": "type",
100915
+ "default": "''",
100916
+ "description": "Where to display the linked URL.",
100917
+ "fieldName": "target",
101275
100918
  "inheritedFrom": {
101276
- "name": "SbbButtonBaseElement",
101277
- "module": "core/base-elements/button-base-element.js"
100919
+ "name": "SbbLinkBaseElement",
100920
+ "module": "core/base-elements/link-base-element.js"
101278
100921
  }
101279
100922
  },
101280
100923
  {
101281
- "name": "form",
101282
- "description": "The `<form>` element to associate the button with.",
100924
+ "name": "rel",
101283
100925
  "type": {
101284
- "text": "HTMLFormElement | null"
100926
+ "text": "string"
101285
100927
  },
101286
- "fieldName": "form",
100928
+ "default": "''",
100929
+ "description": "The relationship of the linked URL as space-separated link types.",
100930
+ "fieldName": "rel",
101287
100931
  "inheritedFrom": {
101288
- "name": "SbbButtonBaseElement",
101289
- "module": "core/base-elements/button-base-element.js"
100932
+ "name": "SbbLinkBaseElement",
100933
+ "module": "core/base-elements/link-base-element.js"
101290
100934
  }
101291
100935
  },
101292
100936
  {
101293
- "name": "name",
101294
- "description": "Name of the form element. Will be read from name attribute.",
100937
+ "name": "download",
100938
+ "type": {
100939
+ "text": "boolean"
100940
+ },
100941
+ "default": "false",
100942
+ "description": "Whether the browser will show the download dialog on click.",
100943
+ "fieldName": "download",
100944
+ "inheritedFrom": {
100945
+ "name": "SbbLinkBaseElement",
100946
+ "module": "core/base-elements/link-base-element.js"
100947
+ }
100948
+ },
100949
+ {
100950
+ "name": "accessibility-label",
101295
100951
  "type": {
101296
100952
  "text": "string"
101297
100953
  },
101298
- "fieldName": "name",
100954
+ "default": "''",
100955
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
100956
+ "fieldName": "accessibilityLabel",
101299
100957
  "inheritedFrom": {
101300
- "name": "SbbFormAssociatedMixin",
101301
- "module": "core/mixins/form-associated-mixin.js"
100958
+ "name": "SbbLinkBaseElement",
100959
+ "module": "core/base-elements/link-base-element.js"
100960
+ }
100961
+ },
100962
+ {
100963
+ "name": "accessibility-current",
100964
+ "type": {
100965
+ "text": "string"
100966
+ },
100967
+ "default": "''",
100968
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
100969
+ "fieldName": "accessibilityCurrent",
100970
+ "inheritedFrom": {
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
  ]
@@ -132898,155 +132898,6 @@
132898
132898
  }
132899
132899
  ]
132900
132900
  },
132901
- {
132902
- "kind": "javascript-module",
132903
- "path": "train/train-blocked-passage/train-blocked-passage.component.js",
132904
- "declarations": [
132905
- {
132906
- "kind": "class",
132907
- "description": "It visually displays a blocked passage between train wagons.",
132908
- "name": "SbbTrainBlockedPassageElement",
132909
- "members": [
132910
- {
132911
- "kind": "field",
132912
- "name": "elementName",
132913
- "type": {
132914
- "text": "string"
132915
- },
132916
- "privacy": "public",
132917
- "static": true,
132918
- "readonly": true,
132919
- "default": "'sbb-train-blocked-passage'",
132920
- "inheritedFrom": {
132921
- "name": "SbbElement",
132922
- "module": "core/base-elements/element.js"
132923
- }
132924
- },
132925
- {
132926
- "kind": "field",
132927
- "name": "_hydrationRequired",
132928
- "type": {
132929
- "text": "boolean"
132930
- },
132931
- "privacy": "private",
132932
- "default": "!!this.shadowRoot",
132933
- "inheritedFrom": {
132934
- "name": "SbbElement",
132935
- "module": "core/base-elements/element.js"
132936
- }
132937
- },
132938
- {
132939
- "kind": "field",
132940
- "name": "_hydrationComplete",
132941
- "privacy": "private",
132942
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
132943
- "inheritedFrom": {
132944
- "name": "SbbElement",
132945
- "module": "core/base-elements/element.js"
132946
- }
132947
- },
132948
- {
132949
- "kind": "field",
132950
- "name": "_resolveHydration",
132951
- "type": {
132952
- "text": "(hydrationRequired: boolean) => void"
132953
- },
132954
- "privacy": "private",
132955
- "inheritedFrom": {
132956
- "name": "SbbElement",
132957
- "module": "core/base-elements/element.js"
132958
- }
132959
- },
132960
- {
132961
- "kind": "field",
132962
- "name": "hydrationRequired",
132963
- "type": {
132964
- "text": "boolean"
132965
- },
132966
- "privacy": "protected",
132967
- "description": "Returns whether hydration is required and not completed.",
132968
- "readonly": true,
132969
- "inheritedFrom": {
132970
- "name": "SbbElement",
132971
- "module": "core/base-elements/element.js"
132972
- },
132973
- "default": "!!this.shadowRoot"
132974
- },
132975
- {
132976
- "kind": "method",
132977
- "name": "toggleState",
132978
- "privacy": "protected",
132979
- "return": {
132980
- "type": {
132981
- "text": "void"
132982
- }
132983
- },
132984
- "parameters": [
132985
- {
132986
- "name": "value",
132987
- "type": {
132988
- "text": "string"
132989
- }
132990
- },
132991
- {
132992
- "name": "force",
132993
- "optional": true,
132994
- "type": {
132995
- "text": "boolean"
132996
- }
132997
- }
132998
- ],
132999
- "inheritedFrom": {
133000
- "name": "SbbElement",
133001
- "module": "core/base-elements/element.js"
133002
- }
133003
- },
133004
- {
133005
- "kind": "field",
133006
- "name": "['_$sbbElement$']",
133007
- "type": {
133008
- "text": "boolean"
133009
- },
133010
- "privacy": "public",
133011
- "static": true,
133012
- "default": "true",
133013
- "inheritedFrom": {
133014
- "name": "SbbElement",
133015
- "module": "core/base-elements/element.js"
133016
- }
133017
- },
133018
- {
133019
- "kind": "field",
133020
- "name": "_controllers",
133021
- "type": {
133022
- "text": "Set<SbbReactiveController> | undefined"
133023
- },
133024
- "privacy": "private",
133025
- "inheritedFrom": {
133026
- "name": "SbbElement",
133027
- "module": "core/base-elements/element.js"
133028
- }
133029
- }
133030
- ],
133031
- "superclass": {
133032
- "name": "SbbElement",
133033
- "module": "core/base-elements.js"
133034
- },
133035
- "tagName": "sbb-train-blocked-passage",
133036
- "customElement": true
133037
- }
133038
- ],
133039
- "exports": [
133040
- {
133041
- "kind": "js",
133042
- "name": "SbbTrainBlockedPassageElement",
133043
- "declaration": {
133044
- "name": "SbbTrainBlockedPassageElement",
133045
- "module": "train/train-blocked-passage/train-blocked-passage.component.js"
133046
- }
133047
- }
133048
- ]
133049
- },
133050
132901
  {
133051
132902
  "kind": "javascript-module",
133052
132903
  "path": "train/train-formation/train-formation.component.js",
@@ -133379,6 +133230,155 @@
133379
133230
  }
133380
133231
  ]
133381
133232
  },
133233
+ {
133234
+ "kind": "javascript-module",
133235
+ "path": "train/train-blocked-passage/train-blocked-passage.component.js",
133236
+ "declarations": [
133237
+ {
133238
+ "kind": "class",
133239
+ "description": "It visually displays a blocked passage between train wagons.",
133240
+ "name": "SbbTrainBlockedPassageElement",
133241
+ "members": [
133242
+ {
133243
+ "kind": "field",
133244
+ "name": "elementName",
133245
+ "type": {
133246
+ "text": "string"
133247
+ },
133248
+ "privacy": "public",
133249
+ "static": true,
133250
+ "readonly": true,
133251
+ "default": "'sbb-train-blocked-passage'",
133252
+ "inheritedFrom": {
133253
+ "name": "SbbElement",
133254
+ "module": "core/base-elements/element.js"
133255
+ }
133256
+ },
133257
+ {
133258
+ "kind": "field",
133259
+ "name": "_hydrationRequired",
133260
+ "type": {
133261
+ "text": "boolean"
133262
+ },
133263
+ "privacy": "private",
133264
+ "default": "!!this.shadowRoot",
133265
+ "inheritedFrom": {
133266
+ "name": "SbbElement",
133267
+ "module": "core/base-elements/element.js"
133268
+ }
133269
+ },
133270
+ {
133271
+ "kind": "field",
133272
+ "name": "_hydrationComplete",
133273
+ "privacy": "private",
133274
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
133275
+ "inheritedFrom": {
133276
+ "name": "SbbElement",
133277
+ "module": "core/base-elements/element.js"
133278
+ }
133279
+ },
133280
+ {
133281
+ "kind": "field",
133282
+ "name": "_resolveHydration",
133283
+ "type": {
133284
+ "text": "(hydrationRequired: boolean) => void"
133285
+ },
133286
+ "privacy": "private",
133287
+ "inheritedFrom": {
133288
+ "name": "SbbElement",
133289
+ "module": "core/base-elements/element.js"
133290
+ }
133291
+ },
133292
+ {
133293
+ "kind": "field",
133294
+ "name": "hydrationRequired",
133295
+ "type": {
133296
+ "text": "boolean"
133297
+ },
133298
+ "privacy": "protected",
133299
+ "description": "Returns whether hydration is required and not completed.",
133300
+ "readonly": true,
133301
+ "inheritedFrom": {
133302
+ "name": "SbbElement",
133303
+ "module": "core/base-elements/element.js"
133304
+ },
133305
+ "default": "!!this.shadowRoot"
133306
+ },
133307
+ {
133308
+ "kind": "method",
133309
+ "name": "toggleState",
133310
+ "privacy": "protected",
133311
+ "return": {
133312
+ "type": {
133313
+ "text": "void"
133314
+ }
133315
+ },
133316
+ "parameters": [
133317
+ {
133318
+ "name": "value",
133319
+ "type": {
133320
+ "text": "string"
133321
+ }
133322
+ },
133323
+ {
133324
+ "name": "force",
133325
+ "optional": true,
133326
+ "type": {
133327
+ "text": "boolean"
133328
+ }
133329
+ }
133330
+ ],
133331
+ "inheritedFrom": {
133332
+ "name": "SbbElement",
133333
+ "module": "core/base-elements/element.js"
133334
+ }
133335
+ },
133336
+ {
133337
+ "kind": "field",
133338
+ "name": "['_$sbbElement$']",
133339
+ "type": {
133340
+ "text": "boolean"
133341
+ },
133342
+ "privacy": "public",
133343
+ "static": true,
133344
+ "default": "true",
133345
+ "inheritedFrom": {
133346
+ "name": "SbbElement",
133347
+ "module": "core/base-elements/element.js"
133348
+ }
133349
+ },
133350
+ {
133351
+ "kind": "field",
133352
+ "name": "_controllers",
133353
+ "type": {
133354
+ "text": "Set<SbbReactiveController> | undefined"
133355
+ },
133356
+ "privacy": "private",
133357
+ "inheritedFrom": {
133358
+ "name": "SbbElement",
133359
+ "module": "core/base-elements/element.js"
133360
+ }
133361
+ }
133362
+ ],
133363
+ "superclass": {
133364
+ "name": "SbbElement",
133365
+ "module": "core/base-elements.js"
133366
+ },
133367
+ "tagName": "sbb-train-blocked-passage",
133368
+ "customElement": true
133369
+ }
133370
+ ],
133371
+ "exports": [
133372
+ {
133373
+ "kind": "js",
133374
+ "name": "SbbTrainBlockedPassageElement",
133375
+ "declaration": {
133376
+ "name": "SbbTrainBlockedPassageElement",
133377
+ "module": "train/train-blocked-passage/train-blocked-passage.component.js"
133378
+ }
133379
+ }
133380
+ ]
133381
+ },
133382
133382
  {
133383
133383
  "kind": "javascript-module",
133384
133384
  "path": "train/train-wagon/train-wagon.component.js",