@sbb-esta/lyne-elements-dev 4.14.1-dev.1784021905 → 4.14.1-dev.1784021980

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 +1228 -1228
  2. package/package.json +2 -2
@@ -37131,12 +37131,12 @@
37131
37131
  },
37132
37132
  {
37133
37133
  "kind": "javascript-module",
37134
- "path": "button/accent-button-link/accent-button-link.component.js",
37134
+ "path": "button/accent-button/accent-button.component.js",
37135
37135
  "declarations": [
37136
37136
  {
37137
37137
  "kind": "class",
37138
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
37139
- "name": "SbbAccentButtonLinkElement",
37138
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37139
+ "name": "SbbAccentButtonElement",
37140
37140
  "cssProperties": [
37141
37141
  {
37142
37142
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -37146,7 +37146,7 @@
37146
37146
  ],
37147
37147
  "slots": [
37148
37148
  {
37149
- "description": "Use the unnamed slot to add content to the accent-button-link.",
37149
+ "description": "Use the unnamed slot to add content to the accent-button.",
37150
37150
  "name": ""
37151
37151
  },
37152
37152
  {
@@ -37164,7 +37164,7 @@
37164
37164
  "privacy": "public",
37165
37165
  "static": true,
37166
37166
  "readonly": true,
37167
- "default": "'sbb-accent-button-link'",
37167
+ "default": "'sbb-accent-button'",
37168
37168
  "inheritedFrom": {
37169
37169
  "name": "SbbElement",
37170
37170
  "module": "core/base-elements/element.js"
@@ -37361,151 +37361,479 @@
37361
37361
  },
37362
37362
  {
37363
37363
  "kind": "field",
37364
- "name": "href",
37364
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
37365
+ "type": {
37366
+ "text": "array"
37367
+ },
37368
+ "privacy": "private",
37369
+ "readonly": true,
37370
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
37371
+ "inheritedFrom": {
37372
+ "name": "SbbButtonBaseElement",
37373
+ "module": "core/base-elements/button-base-element.js"
37374
+ }
37375
+ },
37376
+ {
37377
+ "kind": "field",
37378
+ "name": "value",
37365
37379
  "type": {
37366
37380
  "text": "string"
37367
37381
  },
37368
37382
  "privacy": "public",
37369
37383
  "default": "''",
37370
- "description": "The href value you want to link to.",
37371
- "attribute": "href",
37372
- "reflects": true,
37384
+ "description": "Value of the form element.",
37385
+ "attribute": "value",
37373
37386
  "inheritedFrom": {
37374
- "name": "SbbLinkBaseElement",
37375
- "module": "core/base-elements/link-base-element.js"
37387
+ "name": "SbbButtonBaseElement",
37388
+ "module": "core/base-elements/button-base-element.js"
37376
37389
  }
37377
37390
  },
37378
37391
  {
37379
37392
  "kind": "field",
37380
- "name": "target",
37393
+ "name": "type",
37394
+ "privacy": "public",
37395
+ "description": "The type attribute to use for the button.",
37396
+ "default": "'button'",
37381
37397
  "type": {
37382
- "text": "LinkTargetType | string"
37398
+ "text": "SbbButtonType"
37399
+ },
37400
+ "attribute": "type",
37401
+ "inheritedFrom": {
37402
+ "name": "SbbButtonBaseElement",
37403
+ "module": "core/base-elements/button-base-element.js"
37404
+ }
37405
+ },
37406
+ {
37407
+ "kind": "field",
37408
+ "name": "form",
37409
+ "type": {
37410
+ "text": "HTMLFormElement | null"
37383
37411
  },
37384
37412
  "privacy": "public",
37385
- "default": "''",
37386
- "description": "Where to display the linked URL.",
37387
- "attribute": "target",
37388
- "reflects": true,
37413
+ "description": "The `<form>` element to associate the button with.",
37414
+ "attribute": "form",
37389
37415
  "inheritedFrom": {
37390
- "name": "SbbLinkBaseElement",
37391
- "module": "core/base-elements/link-base-element.js"
37416
+ "name": "SbbButtonBaseElement",
37417
+ "module": "core/base-elements/button-base-element.js"
37392
37418
  }
37393
37419
  },
37394
37420
  {
37395
37421
  "kind": "field",
37396
- "name": "rel",
37422
+ "name": "_formId",
37397
37423
  "type": {
37398
37424
  "text": "string"
37399
37425
  },
37400
- "privacy": "public",
37426
+ "privacy": "private",
37401
37427
  "default": "''",
37402
- "description": "The relationship of the linked URL as space-separated link types.",
37403
- "attribute": "rel",
37404
- "reflects": true,
37405
37428
  "inheritedFrom": {
37406
- "name": "SbbLinkBaseElement",
37407
- "module": "core/base-elements/link-base-element.js"
37429
+ "name": "SbbButtonBaseElement",
37430
+ "module": "core/base-elements/button-base-element.js"
37408
37431
  }
37409
37432
  },
37410
37433
  {
37411
37434
  "kind": "field",
37412
- "name": "download",
37435
+ "name": "_handleButtonClick",
37436
+ "privacy": "private",
37437
+ "inheritedFrom": {
37438
+ "name": "SbbButtonBaseElement",
37439
+ "module": "core/base-elements/button-base-element.js"
37440
+ }
37441
+ },
37442
+ {
37443
+ "kind": "method",
37444
+ "name": "_requestSubmit",
37445
+ "privacy": "private",
37446
+ "return": {
37447
+ "type": {
37448
+ "text": "void"
37449
+ }
37450
+ },
37451
+ "parameters": [
37452
+ {
37453
+ "name": "form",
37454
+ "type": {
37455
+ "text": "HTMLFormElement"
37456
+ }
37457
+ }
37458
+ ],
37459
+ "inheritedFrom": {
37460
+ "name": "SbbButtonBaseElement",
37461
+ "module": "core/base-elements/button-base-element.js"
37462
+ }
37463
+ },
37464
+ {
37465
+ "kind": "field",
37466
+ "name": "_formKeyDown",
37467
+ "privacy": "private",
37468
+ "inheritedFrom": {
37469
+ "name": "SbbButtonBaseElement",
37470
+ "module": "core/base-elements/button-base-element.js"
37471
+ }
37472
+ },
37473
+ {
37474
+ "kind": "field",
37475
+ "name": "formAssociated",
37413
37476
  "type": {
37414
37477
  "text": "boolean"
37415
37478
  },
37416
37479
  "privacy": "public",
37417
- "default": "false",
37418
- "description": "Whether the browser will show the download dialog on click.",
37419
- "attribute": "download",
37420
- "reflects": true,
37480
+ "static": true,
37481
+ "default": "true",
37421
37482
  "inheritedFrom": {
37422
- "name": "SbbLinkBaseElement",
37423
- "module": "core/base-elements/link-base-element.js"
37483
+ "name": "SbbFormAssociatedMixin",
37484
+ "module": "core/mixins/form-associated-mixin.js"
37424
37485
  }
37425
37486
  },
37426
37487
  {
37427
37488
  "kind": "field",
37428
- "name": "accessibilityLabel",
37489
+ "name": "name",
37490
+ "privacy": "public",
37491
+ "description": "Name of the form element. Will be read from name attribute.",
37429
37492
  "type": {
37430
37493
  "text": "string"
37431
37494
  },
37495
+ "attribute": "name",
37496
+ "inheritedFrom": {
37497
+ "name": "SbbFormAssociatedMixin",
37498
+ "module": "core/mixins/form-associated-mixin.js"
37499
+ }
37500
+ },
37501
+ {
37502
+ "kind": "field",
37503
+ "name": "validity",
37504
+ "type": {
37505
+ "text": "ValidityState"
37506
+ },
37432
37507
  "privacy": "public",
37433
- "default": "''",
37434
- "description": "This will be forwarded as aria-label to the inner anchor element.",
37435
- "attribute": "accessibility-label",
37508
+ "description": "Returns the ValidityState object for this element.",
37509
+ "readonly": true,
37436
37510
  "inheritedFrom": {
37437
- "name": "SbbLinkBaseElement",
37438
- "module": "core/base-elements/link-base-element.js"
37511
+ "name": "SbbFormAssociatedMixin",
37512
+ "module": "core/mixins/form-associated-mixin.js"
37439
37513
  }
37440
37514
  },
37441
37515
  {
37442
37516
  "kind": "field",
37443
- "name": "accessibilityCurrent",
37517
+ "name": "validationMessage",
37444
37518
  "type": {
37445
37519
  "text": "string"
37446
37520
  },
37447
37521
  "privacy": "public",
37448
- "default": "''",
37449
- "description": "This will be forwarded as aria-current to the inner anchor element.",
37450
- "attribute": "accessibility-current",
37522
+ "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.",
37523
+ "readonly": true,
37451
37524
  "inheritedFrom": {
37452
- "name": "SbbLinkBaseElement",
37453
- "module": "core/base-elements/link-base-element.js"
37525
+ "name": "SbbFormAssociatedMixin",
37526
+ "module": "core/mixins/form-associated-mixin.js"
37454
37527
  }
37455
37528
  },
37456
37529
  {
37457
37530
  "kind": "field",
37458
- "name": "language",
37459
- "privacy": "protected",
37460
- "default": "new SbbLanguageController(this)",
37531
+ "name": "willValidate",
37532
+ "type": {
37533
+ "text": "boolean"
37534
+ },
37535
+ "privacy": "public",
37536
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
37537
+ "readonly": true,
37461
37538
  "inheritedFrom": {
37462
- "name": "SbbLinkBaseElement",
37463
- "module": "core/base-elements/link-base-element.js"
37539
+ "name": "SbbFormAssociatedMixin",
37540
+ "module": "core/mixins/form-associated-mixin.js"
37464
37541
  }
37465
37542
  },
37466
37543
  {
37467
37544
  "kind": "field",
37468
- "name": "anchorRole",
37545
+ "name": "_validityStates",
37546
+ "privacy": "private",
37547
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
37548
+ "inheritedFrom": {
37549
+ "name": "SbbFormAssociatedMixin",
37550
+ "module": "core/mixins/form-associated-mixin.js"
37551
+ }
37552
+ },
37553
+ {
37554
+ "kind": "field",
37555
+ "name": "formDisabled",
37469
37556
  "type": {
37470
- "text": "string | null"
37557
+ "text": "boolean"
37471
37558
  },
37472
37559
  "privacy": "protected",
37473
- "readonly": true,
37474
- "default": "null",
37560
+ "default": "false",
37561
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
37475
37562
  "inheritedFrom": {
37476
- "name": "SbbLinkBaseElement",
37477
- "module": "core/base-elements/link-base-element.js"
37563
+ "name": "SbbFormAssociatedMixin",
37564
+ "module": "core/mixins/form-associated-mixin.js"
37478
37565
  }
37479
37566
  },
37480
37567
  {
37481
- "kind": "field",
37482
- "name": "_evaluateRelAttribute",
37568
+ "kind": "method",
37569
+ "name": "checkValidity",
37570
+ "privacy": "public",
37571
+ "return": {
37572
+ "type": {
37573
+ "text": "boolean"
37574
+ }
37575
+ },
37576
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
37577
+ "inheritedFrom": {
37578
+ "name": "SbbFormAssociatedMixin",
37579
+ "module": "core/mixins/form-associated-mixin.js"
37580
+ }
37581
+ },
37582
+ {
37583
+ "kind": "method",
37584
+ "name": "reportValidity",
37585
+ "privacy": "public",
37586
+ "return": {
37587
+ "type": {
37588
+ "text": "boolean"
37589
+ }
37590
+ },
37591
+ "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.",
37592
+ "inheritedFrom": {
37593
+ "name": "SbbFormAssociatedMixin",
37594
+ "module": "core/mixins/form-associated-mixin.js"
37595
+ }
37596
+ },
37597
+ {
37598
+ "kind": "method",
37599
+ "name": "setCustomValidity",
37600
+ "privacy": "public",
37601
+ "return": {
37602
+ "type": {
37603
+ "text": "void"
37604
+ }
37605
+ },
37606
+ "parameters": [
37607
+ {
37608
+ "name": "message",
37609
+ "type": {
37610
+ "text": "string"
37611
+ }
37612
+ }
37613
+ ],
37614
+ "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.",
37615
+ "inheritedFrom": {
37616
+ "name": "SbbFormAssociatedMixin",
37617
+ "module": "core/mixins/form-associated-mixin.js"
37618
+ }
37619
+ },
37620
+ {
37621
+ "kind": "method",
37622
+ "name": "_hasDisabledAncestor",
37483
37623
  "privacy": "private",
37624
+ "return": {
37625
+ "type": {
37626
+ "text": "boolean"
37627
+ }
37628
+ },
37484
37629
  "inheritedFrom": {
37485
- "name": "SbbLinkBaseElement",
37486
- "module": "core/base-elements/link-base-element.js"
37630
+ "name": "SbbFormAssociatedMixin",
37631
+ "module": "core/mixins/form-associated-mixin.js"
37487
37632
  }
37488
37633
  },
37489
37634
  {
37490
37635
  "kind": "method",
37491
- "name": "renderLink",
37636
+ "name": "updateFormValue",
37492
37637
  "privacy": "protected",
37493
37638
  "return": {
37494
37639
  "type": {
37495
- "text": "TemplateResult"
37640
+ "text": "void"
37641
+ }
37642
+ },
37643
+ "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",
37644
+ "inheritedFrom": {
37645
+ "name": "SbbFormAssociatedMixin",
37646
+ "module": "core/mixins/form-associated-mixin.js"
37647
+ }
37648
+ },
37649
+ {
37650
+ "kind": "method",
37651
+ "name": "formState",
37652
+ "privacy": "protected",
37653
+ "return": {
37654
+ "type": {
37655
+ "text": "FormRestoreState"
37656
+ }
37657
+ },
37658
+ "inheritedFrom": {
37659
+ "name": "SbbFormAssociatedMixin",
37660
+ "module": "core/mixins/form-associated-mixin.js"
37661
+ }
37662
+ },
37663
+ {
37664
+ "kind": "method",
37665
+ "name": "setValidityFlag",
37666
+ "privacy": "protected",
37667
+ "return": {
37668
+ "type": {
37669
+ "text": "void"
37496
37670
  }
37497
37671
  },
37498
37672
  "parameters": [
37499
37673
  {
37500
- "name": "renderContent",
37674
+ "name": "flag",
37501
37675
  "type": {
37502
- "text": "TemplateResult"
37676
+ "text": "T"
37677
+ }
37678
+ },
37679
+ {
37680
+ "name": "message",
37681
+ "type": {
37682
+ "text": "string"
37683
+ }
37684
+ },
37685
+ {
37686
+ "name": "flagValue",
37687
+ "optional": true,
37688
+ "type": {
37689
+ "text": "ValidityStateFlags[T]"
37503
37690
  }
37504
37691
  }
37505
37692
  ],
37693
+ "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).",
37506
37694
  "inheritedFrom": {
37507
- "name": "SbbLinkBaseElement",
37508
- "module": "core/base-elements/link-base-element.js"
37695
+ "name": "SbbFormAssociatedMixin",
37696
+ "module": "core/mixins/form-associated-mixin.js"
37697
+ }
37698
+ },
37699
+ {
37700
+ "kind": "method",
37701
+ "name": "removeValidityFlag",
37702
+ "privacy": "protected",
37703
+ "return": {
37704
+ "type": {
37705
+ "text": "void"
37706
+ }
37707
+ },
37708
+ "parameters": [
37709
+ {
37710
+ "name": "flag",
37711
+ "type": {
37712
+ "text": "T"
37713
+ }
37714
+ }
37715
+ ],
37716
+ "description": "Removes the validity state flag entry and updates validity state.",
37717
+ "inheritedFrom": {
37718
+ "name": "SbbFormAssociatedMixin",
37719
+ "module": "core/mixins/form-associated-mixin.js"
37720
+ }
37721
+ },
37722
+ {
37723
+ "kind": "method",
37724
+ "name": "validate",
37725
+ "privacy": "protected",
37726
+ "return": {
37727
+ "type": {
37728
+ "text": "void"
37729
+ }
37730
+ },
37731
+ "description": "To be called whenever the current element needs to be validated.",
37732
+ "inheritedFrom": {
37733
+ "name": "SbbFormAssociatedMixin",
37734
+ "module": "core/mixins/form-associated-mixin.js"
37735
+ }
37736
+ },
37737
+ {
37738
+ "kind": "method",
37739
+ "name": "shouldValidate",
37740
+ "privacy": "protected",
37741
+ "return": {
37742
+ "type": {
37743
+ "text": "boolean"
37744
+ }
37745
+ },
37746
+ "parameters": [
37747
+ {
37748
+ "name": "name",
37749
+ "type": {
37750
+ "text": "PropertyKey | undefined"
37751
+ }
37752
+ }
37753
+ ],
37754
+ "description": "Whether validation should be run on a property change with the given name.",
37755
+ "inheritedFrom": {
37756
+ "name": "SbbFormAssociatedMixin",
37757
+ "module": "core/mixins/form-associated-mixin.js"
37758
+ }
37759
+ },
37760
+ {
37761
+ "kind": "method",
37762
+ "name": "_setInternalValidity",
37763
+ "privacy": "private",
37764
+ "return": {
37765
+ "type": {
37766
+ "text": "void"
37767
+ }
37768
+ },
37769
+ "inheritedFrom": {
37770
+ "name": "SbbFormAssociatedMixin",
37771
+ "module": "core/mixins/form-associated-mixin.js"
37772
+ }
37773
+ },
37774
+ {
37775
+ "kind": "field",
37776
+ "name": "role",
37777
+ "type": {
37778
+ "text": "ElementInternals['role']"
37779
+ },
37780
+ "privacy": "public",
37781
+ "static": true,
37782
+ "readonly": true,
37783
+ "default": "'button'",
37784
+ "inheritedFrom": {
37785
+ "name": "SbbButtonLikeBaseElement",
37786
+ "module": "core/base-elements/button-base-element.js"
37787
+ }
37788
+ },
37789
+ {
37790
+ "kind": "field",
37791
+ "name": "_preventScrollOnSpaceKeydown",
37792
+ "privacy": "private",
37793
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
37794
+ "parameters": [
37795
+ {
37796
+ "description": "The origin event.",
37797
+ "name": "event"
37798
+ }
37799
+ ],
37800
+ "inheritedFrom": {
37801
+ "name": "SbbButtonLikeBaseElement",
37802
+ "module": "core/base-elements/button-base-element.js"
37803
+ }
37804
+ },
37805
+ {
37806
+ "kind": "field",
37807
+ "name": "_removeActiveMarker",
37808
+ "privacy": "private",
37809
+ "inheritedFrom": {
37810
+ "name": "SbbButtonLikeBaseElement",
37811
+ "module": "core/base-elements/button-base-element.js"
37812
+ }
37813
+ },
37814
+ {
37815
+ "kind": "field",
37816
+ "name": "_dispatchClickEventOnSpaceKeyup",
37817
+ "privacy": "private",
37818
+ "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.",
37819
+ "parameters": [
37820
+ {
37821
+ "description": "The origin event.",
37822
+ "name": "event"
37823
+ }
37824
+ ],
37825
+ "inheritedFrom": {
37826
+ "name": "SbbButtonLikeBaseElement",
37827
+ "module": "core/base-elements/button-base-element.js"
37828
+ }
37829
+ },
37830
+ {
37831
+ "kind": "field",
37832
+ "name": "_dispatchClickEvent",
37833
+ "privacy": "private",
37834
+ "inheritedFrom": {
37835
+ "name": "SbbButtonLikeBaseElement",
37836
+ "module": "core/base-elements/button-base-element.js"
37509
37837
  }
37510
37838
  },
37511
37839
  {
@@ -37660,19 +37988,15 @@
37660
37988
  "module": "button/common/button-common.js"
37661
37989
  },
37662
37990
  {
37663
- "name": "SbbDisabledInteractiveMixin",
37664
- "module": "core/mixins.js"
37665
- },
37666
- {
37667
- "name": "SbbDisabledMixin",
37991
+ "name": "SbbDisabledTabIndexActionMixin",
37668
37992
  "module": "core/mixins.js"
37669
37993
  }
37670
37994
  ],
37671
37995
  "superclass": {
37672
- "name": "SbbLinkBaseElement",
37996
+ "name": "SbbButtonBaseElement",
37673
37997
  "module": "core/base-elements.js"
37674
37998
  },
37675
- "tagName": "sbb-accent-button-link",
37999
+ "tagName": "sbb-accent-button",
37676
38000
  "customElement": true,
37677
38001
  "attributes": [
37678
38002
  {
@@ -37754,81 +38078,53 @@
37754
38078
  }
37755
38079
  },
37756
38080
  {
37757
- "name": "href",
38081
+ "name": "value",
37758
38082
  "type": {
37759
38083
  "text": "string"
37760
38084
  },
37761
38085
  "default": "''",
37762
- "description": "The href value you want to link to.",
37763
- "fieldName": "href",
38086
+ "description": "Value of the form element.",
38087
+ "fieldName": "value",
37764
38088
  "inheritedFrom": {
37765
- "name": "SbbLinkBaseElement",
37766
- "module": "core/base-elements/link-base-element.js"
38089
+ "name": "SbbButtonBaseElement",
38090
+ "module": "core/base-elements/button-base-element.js"
37767
38091
  }
37768
38092
  },
37769
38093
  {
37770
- "name": "target",
38094
+ "name": "type",
38095
+ "description": "The type attribute to use for the button.",
38096
+ "default": "'button'",
37771
38097
  "type": {
37772
- "text": "LinkTargetType | string"
38098
+ "text": "SbbButtonType"
37773
38099
  },
37774
- "default": "''",
37775
- "description": "Where to display the linked URL.",
37776
- "fieldName": "target",
38100
+ "fieldName": "type",
37777
38101
  "inheritedFrom": {
37778
- "name": "SbbLinkBaseElement",
37779
- "module": "core/base-elements/link-base-element.js"
38102
+ "name": "SbbButtonBaseElement",
38103
+ "module": "core/base-elements/button-base-element.js"
37780
38104
  }
37781
38105
  },
37782
38106
  {
37783
- "name": "rel",
38107
+ "name": "form",
38108
+ "description": "The `<form>` element to associate the button with.",
37784
38109
  "type": {
37785
- "text": "string"
38110
+ "text": "HTMLFormElement | null"
37786
38111
  },
37787
- "default": "''",
37788
- "description": "The relationship of the linked URL as space-separated link types.",
37789
- "fieldName": "rel",
38112
+ "fieldName": "form",
37790
38113
  "inheritedFrom": {
37791
- "name": "SbbLinkBaseElement",
37792
- "module": "core/base-elements/link-base-element.js"
38114
+ "name": "SbbButtonBaseElement",
38115
+ "module": "core/base-elements/button-base-element.js"
37793
38116
  }
37794
38117
  },
37795
38118
  {
37796
- "name": "download",
38119
+ "name": "name",
38120
+ "description": "Name of the form element. Will be read from name attribute.",
37797
38121
  "type": {
37798
- "text": "boolean"
38122
+ "text": "string"
37799
38123
  },
37800
- "default": "false",
37801
- "description": "Whether the browser will show the download dialog on click.",
37802
- "fieldName": "download",
37803
- "inheritedFrom": {
37804
- "name": "SbbLinkBaseElement",
37805
- "module": "core/base-elements/link-base-element.js"
37806
- }
37807
- },
37808
- {
37809
- "name": "accessibility-label",
37810
- "type": {
37811
- "text": "string"
37812
- },
37813
- "default": "''",
37814
- "description": "This will be forwarded as aria-label to the inner anchor element.",
37815
- "fieldName": "accessibilityLabel",
37816
- "inheritedFrom": {
37817
- "name": "SbbLinkBaseElement",
37818
- "module": "core/base-elements/link-base-element.js"
37819
- }
37820
- },
37821
- {
37822
- "name": "accessibility-current",
37823
- "type": {
37824
- "text": "string"
37825
- },
37826
- "default": "''",
37827
- "description": "This will be forwarded as aria-current to the inner anchor element.",
37828
- "fieldName": "accessibilityCurrent",
38124
+ "fieldName": "name",
37829
38125
  "inheritedFrom": {
37830
- "name": "SbbLinkBaseElement",
37831
- "module": "core/base-elements/link-base-element.js"
38126
+ "name": "SbbFormAssociatedMixin",
38127
+ "module": "core/mixins/form-associated-mixin.js"
37832
38128
  }
37833
38129
  }
37834
38130
  ]
@@ -37837,22 +38133,22 @@
37837
38133
  "exports": [
37838
38134
  {
37839
38135
  "kind": "js",
37840
- "name": "SbbAccentButtonLinkElement",
38136
+ "name": "SbbAccentButtonElement",
37841
38137
  "declaration": {
37842
- "name": "SbbAccentButtonLinkElement",
37843
- "module": "button/accent-button-link/accent-button-link.component.js"
38138
+ "name": "SbbAccentButtonElement",
38139
+ "module": "button/accent-button/accent-button.component.js"
37844
38140
  }
37845
38141
  }
37846
38142
  ]
37847
38143
  },
37848
38144
  {
37849
38145
  "kind": "javascript-module",
37850
- "path": "button/accent-button/accent-button.component.js",
38146
+ "path": "button/accent-button-link/accent-button-link.component.js",
37851
38147
  "declarations": [
37852
38148
  {
37853
38149
  "kind": "class",
37854
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37855
- "name": "SbbAccentButtonElement",
38150
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
38151
+ "name": "SbbAccentButtonLinkElement",
37856
38152
  "cssProperties": [
37857
38153
  {
37858
38154
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -37862,7 +38158,7 @@
37862
38158
  ],
37863
38159
  "slots": [
37864
38160
  {
37865
- "description": "Use the unnamed slot to add content to the accent-button.",
38161
+ "description": "Use the unnamed slot to add content to the accent-button-link.",
37866
38162
  "name": ""
37867
38163
  },
37868
38164
  {
@@ -37880,7 +38176,7 @@
37880
38176
  "privacy": "public",
37881
38177
  "static": true,
37882
38178
  "readonly": true,
37883
- "default": "'sbb-accent-button'",
38179
+ "default": "'sbb-accent-button-link'",
37884
38180
  "inheritedFrom": {
37885
38181
  "name": "SbbElement",
37886
38182
  "module": "core/base-elements/element.js"
@@ -38077,479 +38373,151 @@
38077
38373
  },
38078
38374
  {
38079
38375
  "kind": "field",
38080
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
38081
- "type": {
38082
- "text": "array"
38083
- },
38084
- "privacy": "private",
38085
- "readonly": true,
38086
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
38087
- "inheritedFrom": {
38088
- "name": "SbbButtonBaseElement",
38089
- "module": "core/base-elements/button-base-element.js"
38090
- }
38091
- },
38092
- {
38093
- "kind": "field",
38094
- "name": "value",
38376
+ "name": "href",
38095
38377
  "type": {
38096
38378
  "text": "string"
38097
38379
  },
38098
38380
  "privacy": "public",
38099
38381
  "default": "''",
38100
- "description": "Value of the form element.",
38101
- "attribute": "value",
38102
- "inheritedFrom": {
38103
- "name": "SbbButtonBaseElement",
38104
- "module": "core/base-elements/button-base-element.js"
38105
- }
38106
- },
38107
- {
38108
- "kind": "field",
38109
- "name": "type",
38110
- "privacy": "public",
38111
- "description": "The type attribute to use for the button.",
38112
- "default": "'button'",
38113
- "type": {
38114
- "text": "SbbButtonType"
38115
- },
38116
- "attribute": "type",
38382
+ "description": "The href value you want to link to.",
38383
+ "attribute": "href",
38384
+ "reflects": true,
38117
38385
  "inheritedFrom": {
38118
- "name": "SbbButtonBaseElement",
38119
- "module": "core/base-elements/button-base-element.js"
38386
+ "name": "SbbLinkBaseElement",
38387
+ "module": "core/base-elements/link-base-element.js"
38120
38388
  }
38121
38389
  },
38122
38390
  {
38123
38391
  "kind": "field",
38124
- "name": "form",
38392
+ "name": "target",
38125
38393
  "type": {
38126
- "text": "HTMLFormElement | null"
38394
+ "text": "LinkTargetType | string"
38127
38395
  },
38128
38396
  "privacy": "public",
38129
- "description": "The `<form>` element to associate the button with.",
38130
- "attribute": "form",
38397
+ "default": "''",
38398
+ "description": "Where to display the linked URL.",
38399
+ "attribute": "target",
38400
+ "reflects": true,
38131
38401
  "inheritedFrom": {
38132
- "name": "SbbButtonBaseElement",
38133
- "module": "core/base-elements/button-base-element.js"
38402
+ "name": "SbbLinkBaseElement",
38403
+ "module": "core/base-elements/link-base-element.js"
38134
38404
  }
38135
38405
  },
38136
38406
  {
38137
38407
  "kind": "field",
38138
- "name": "_formId",
38408
+ "name": "rel",
38139
38409
  "type": {
38140
38410
  "text": "string"
38141
38411
  },
38142
- "privacy": "private",
38412
+ "privacy": "public",
38143
38413
  "default": "''",
38414
+ "description": "The relationship of the linked URL as space-separated link types.",
38415
+ "attribute": "rel",
38416
+ "reflects": true,
38144
38417
  "inheritedFrom": {
38145
- "name": "SbbButtonBaseElement",
38146
- "module": "core/base-elements/button-base-element.js"
38147
- }
38148
- },
38149
- {
38150
- "kind": "field",
38151
- "name": "_handleButtonClick",
38152
- "privacy": "private",
38153
- "inheritedFrom": {
38154
- "name": "SbbButtonBaseElement",
38155
- "module": "core/base-elements/button-base-element.js"
38156
- }
38157
- },
38158
- {
38159
- "kind": "method",
38160
- "name": "_requestSubmit",
38161
- "privacy": "private",
38162
- "return": {
38163
- "type": {
38164
- "text": "void"
38165
- }
38166
- },
38167
- "parameters": [
38168
- {
38169
- "name": "form",
38170
- "type": {
38171
- "text": "HTMLFormElement"
38172
- }
38173
- }
38174
- ],
38175
- "inheritedFrom": {
38176
- "name": "SbbButtonBaseElement",
38177
- "module": "core/base-elements/button-base-element.js"
38178
- }
38179
- },
38180
- {
38181
- "kind": "field",
38182
- "name": "_formKeyDown",
38183
- "privacy": "private",
38184
- "inheritedFrom": {
38185
- "name": "SbbButtonBaseElement",
38186
- "module": "core/base-elements/button-base-element.js"
38418
+ "name": "SbbLinkBaseElement",
38419
+ "module": "core/base-elements/link-base-element.js"
38187
38420
  }
38188
38421
  },
38189
38422
  {
38190
38423
  "kind": "field",
38191
- "name": "formAssociated",
38424
+ "name": "download",
38192
38425
  "type": {
38193
38426
  "text": "boolean"
38194
38427
  },
38195
38428
  "privacy": "public",
38196
- "static": true,
38197
- "default": "true",
38429
+ "default": "false",
38430
+ "description": "Whether the browser will show the download dialog on click.",
38431
+ "attribute": "download",
38432
+ "reflects": true,
38198
38433
  "inheritedFrom": {
38199
- "name": "SbbFormAssociatedMixin",
38200
- "module": "core/mixins/form-associated-mixin.js"
38434
+ "name": "SbbLinkBaseElement",
38435
+ "module": "core/base-elements/link-base-element.js"
38201
38436
  }
38202
38437
  },
38203
38438
  {
38204
38439
  "kind": "field",
38205
- "name": "name",
38206
- "privacy": "public",
38207
- "description": "Name of the form element. Will be read from name attribute.",
38440
+ "name": "accessibilityLabel",
38208
38441
  "type": {
38209
38442
  "text": "string"
38210
38443
  },
38211
- "attribute": "name",
38212
- "inheritedFrom": {
38213
- "name": "SbbFormAssociatedMixin",
38214
- "module": "core/mixins/form-associated-mixin.js"
38215
- }
38216
- },
38217
- {
38218
- "kind": "field",
38219
- "name": "validity",
38220
- "type": {
38221
- "text": "ValidityState"
38222
- },
38223
38444
  "privacy": "public",
38224
- "description": "Returns the ValidityState object for this element.",
38225
- "readonly": true,
38445
+ "default": "''",
38446
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
38447
+ "attribute": "accessibility-label",
38226
38448
  "inheritedFrom": {
38227
- "name": "SbbFormAssociatedMixin",
38228
- "module": "core/mixins/form-associated-mixin.js"
38449
+ "name": "SbbLinkBaseElement",
38450
+ "module": "core/base-elements/link-base-element.js"
38229
38451
  }
38230
38452
  },
38231
38453
  {
38232
38454
  "kind": "field",
38233
- "name": "validationMessage",
38455
+ "name": "accessibilityCurrent",
38234
38456
  "type": {
38235
38457
  "text": "string"
38236
38458
  },
38237
38459
  "privacy": "public",
38238
- "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.",
38239
- "readonly": true,
38240
- "inheritedFrom": {
38241
- "name": "SbbFormAssociatedMixin",
38242
- "module": "core/mixins/form-associated-mixin.js"
38243
- }
38244
- },
38245
- {
38246
- "kind": "field",
38247
- "name": "willValidate",
38248
- "type": {
38249
- "text": "boolean"
38250
- },
38251
- "privacy": "public",
38252
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
38253
- "readonly": true,
38460
+ "default": "''",
38461
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
38462
+ "attribute": "accessibility-current",
38254
38463
  "inheritedFrom": {
38255
- "name": "SbbFormAssociatedMixin",
38256
- "module": "core/mixins/form-associated-mixin.js"
38464
+ "name": "SbbLinkBaseElement",
38465
+ "module": "core/base-elements/link-base-element.js"
38257
38466
  }
38258
38467
  },
38259
38468
  {
38260
38469
  "kind": "field",
38261
- "name": "_validityStates",
38262
- "privacy": "private",
38263
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
38470
+ "name": "language",
38471
+ "privacy": "protected",
38472
+ "default": "new SbbLanguageController(this)",
38264
38473
  "inheritedFrom": {
38265
- "name": "SbbFormAssociatedMixin",
38266
- "module": "core/mixins/form-associated-mixin.js"
38474
+ "name": "SbbLinkBaseElement",
38475
+ "module": "core/base-elements/link-base-element.js"
38267
38476
  }
38268
38477
  },
38269
38478
  {
38270
38479
  "kind": "field",
38271
- "name": "formDisabled",
38480
+ "name": "anchorRole",
38272
38481
  "type": {
38273
- "text": "boolean"
38482
+ "text": "string | null"
38274
38483
  },
38275
38484
  "privacy": "protected",
38276
- "default": "false",
38277
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
38278
- "inheritedFrom": {
38279
- "name": "SbbFormAssociatedMixin",
38280
- "module": "core/mixins/form-associated-mixin.js"
38281
- }
38282
- },
38283
- {
38284
- "kind": "method",
38285
- "name": "checkValidity",
38286
- "privacy": "public",
38287
- "return": {
38288
- "type": {
38289
- "text": "boolean"
38290
- }
38291
- },
38292
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
38293
- "inheritedFrom": {
38294
- "name": "SbbFormAssociatedMixin",
38295
- "module": "core/mixins/form-associated-mixin.js"
38296
- }
38297
- },
38298
- {
38299
- "kind": "method",
38300
- "name": "reportValidity",
38301
- "privacy": "public",
38302
- "return": {
38303
- "type": {
38304
- "text": "boolean"
38305
- }
38306
- },
38307
- "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.",
38308
- "inheritedFrom": {
38309
- "name": "SbbFormAssociatedMixin",
38310
- "module": "core/mixins/form-associated-mixin.js"
38311
- }
38312
- },
38313
- {
38314
- "kind": "method",
38315
- "name": "setCustomValidity",
38316
- "privacy": "public",
38317
- "return": {
38318
- "type": {
38319
- "text": "void"
38320
- }
38321
- },
38322
- "parameters": [
38323
- {
38324
- "name": "message",
38325
- "type": {
38326
- "text": "string"
38327
- }
38328
- }
38329
- ],
38330
- "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.",
38485
+ "readonly": true,
38486
+ "default": "null",
38331
38487
  "inheritedFrom": {
38332
- "name": "SbbFormAssociatedMixin",
38333
- "module": "core/mixins/form-associated-mixin.js"
38488
+ "name": "SbbLinkBaseElement",
38489
+ "module": "core/base-elements/link-base-element.js"
38334
38490
  }
38335
38491
  },
38336
38492
  {
38337
- "kind": "method",
38338
- "name": "_hasDisabledAncestor",
38493
+ "kind": "field",
38494
+ "name": "_evaluateRelAttribute",
38339
38495
  "privacy": "private",
38340
- "return": {
38341
- "type": {
38342
- "text": "boolean"
38343
- }
38344
- },
38345
- "inheritedFrom": {
38346
- "name": "SbbFormAssociatedMixin",
38347
- "module": "core/mixins/form-associated-mixin.js"
38348
- }
38349
- },
38350
- {
38351
- "kind": "method",
38352
- "name": "updateFormValue",
38353
- "privacy": "protected",
38354
- "return": {
38355
- "type": {
38356
- "text": "void"
38357
- }
38358
- },
38359
- "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",
38360
- "inheritedFrom": {
38361
- "name": "SbbFormAssociatedMixin",
38362
- "module": "core/mixins/form-associated-mixin.js"
38363
- }
38364
- },
38365
- {
38366
- "kind": "method",
38367
- "name": "formState",
38368
- "privacy": "protected",
38369
- "return": {
38370
- "type": {
38371
- "text": "FormRestoreState"
38372
- }
38373
- },
38374
- "inheritedFrom": {
38375
- "name": "SbbFormAssociatedMixin",
38376
- "module": "core/mixins/form-associated-mixin.js"
38377
- }
38378
- },
38379
- {
38380
- "kind": "method",
38381
- "name": "setValidityFlag",
38382
- "privacy": "protected",
38383
- "return": {
38384
- "type": {
38385
- "text": "void"
38386
- }
38387
- },
38388
- "parameters": [
38389
- {
38390
- "name": "flag",
38391
- "type": {
38392
- "text": "T"
38393
- }
38394
- },
38395
- {
38396
- "name": "message",
38397
- "type": {
38398
- "text": "string"
38399
- }
38400
- },
38401
- {
38402
- "name": "flagValue",
38403
- "optional": true,
38404
- "type": {
38405
- "text": "ValidityStateFlags[T]"
38406
- }
38407
- }
38408
- ],
38409
- "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).",
38410
- "inheritedFrom": {
38411
- "name": "SbbFormAssociatedMixin",
38412
- "module": "core/mixins/form-associated-mixin.js"
38413
- }
38414
- },
38415
- {
38416
- "kind": "method",
38417
- "name": "removeValidityFlag",
38418
- "privacy": "protected",
38419
- "return": {
38420
- "type": {
38421
- "text": "void"
38422
- }
38423
- },
38424
- "parameters": [
38425
- {
38426
- "name": "flag",
38427
- "type": {
38428
- "text": "T"
38429
- }
38430
- }
38431
- ],
38432
- "description": "Removes the validity state flag entry and updates validity state.",
38433
- "inheritedFrom": {
38434
- "name": "SbbFormAssociatedMixin",
38435
- "module": "core/mixins/form-associated-mixin.js"
38436
- }
38437
- },
38438
- {
38439
- "kind": "method",
38440
- "name": "validate",
38441
- "privacy": "protected",
38442
- "return": {
38443
- "type": {
38444
- "text": "void"
38445
- }
38446
- },
38447
- "description": "To be called whenever the current element needs to be validated.",
38448
38496
  "inheritedFrom": {
38449
- "name": "SbbFormAssociatedMixin",
38450
- "module": "core/mixins/form-associated-mixin.js"
38497
+ "name": "SbbLinkBaseElement",
38498
+ "module": "core/base-elements/link-base-element.js"
38451
38499
  }
38452
38500
  },
38453
38501
  {
38454
38502
  "kind": "method",
38455
- "name": "shouldValidate",
38503
+ "name": "renderLink",
38456
38504
  "privacy": "protected",
38457
38505
  "return": {
38458
38506
  "type": {
38459
- "text": "boolean"
38507
+ "text": "TemplateResult"
38460
38508
  }
38461
38509
  },
38462
38510
  "parameters": [
38463
38511
  {
38464
- "name": "name",
38512
+ "name": "renderContent",
38465
38513
  "type": {
38466
- "text": "PropertyKey | undefined"
38514
+ "text": "TemplateResult"
38467
38515
  }
38468
38516
  }
38469
38517
  ],
38470
- "description": "Whether validation should be run on a property change with the given name.",
38471
- "inheritedFrom": {
38472
- "name": "SbbFormAssociatedMixin",
38473
- "module": "core/mixins/form-associated-mixin.js"
38474
- }
38475
- },
38476
- {
38477
- "kind": "method",
38478
- "name": "_setInternalValidity",
38479
- "privacy": "private",
38480
- "return": {
38481
- "type": {
38482
- "text": "void"
38483
- }
38484
- },
38485
- "inheritedFrom": {
38486
- "name": "SbbFormAssociatedMixin",
38487
- "module": "core/mixins/form-associated-mixin.js"
38488
- }
38489
- },
38490
- {
38491
- "kind": "field",
38492
- "name": "role",
38493
- "type": {
38494
- "text": "ElementInternals['role']"
38495
- },
38496
- "privacy": "public",
38497
- "static": true,
38498
- "readonly": true,
38499
- "default": "'button'",
38500
- "inheritedFrom": {
38501
- "name": "SbbButtonLikeBaseElement",
38502
- "module": "core/base-elements/button-base-element.js"
38503
- }
38504
- },
38505
- {
38506
- "kind": "field",
38507
- "name": "_preventScrollOnSpaceKeydown",
38508
- "privacy": "private",
38509
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
38510
- "parameters": [
38511
- {
38512
- "description": "The origin event.",
38513
- "name": "event"
38514
- }
38515
- ],
38516
- "inheritedFrom": {
38517
- "name": "SbbButtonLikeBaseElement",
38518
- "module": "core/base-elements/button-base-element.js"
38519
- }
38520
- },
38521
- {
38522
- "kind": "field",
38523
- "name": "_removeActiveMarker",
38524
- "privacy": "private",
38525
- "inheritedFrom": {
38526
- "name": "SbbButtonLikeBaseElement",
38527
- "module": "core/base-elements/button-base-element.js"
38528
- }
38529
- },
38530
- {
38531
- "kind": "field",
38532
- "name": "_dispatchClickEventOnSpaceKeyup",
38533
- "privacy": "private",
38534
- "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.",
38535
- "parameters": [
38536
- {
38537
- "description": "The origin event.",
38538
- "name": "event"
38539
- }
38540
- ],
38541
- "inheritedFrom": {
38542
- "name": "SbbButtonLikeBaseElement",
38543
- "module": "core/base-elements/button-base-element.js"
38544
- }
38545
- },
38546
- {
38547
- "kind": "field",
38548
- "name": "_dispatchClickEvent",
38549
- "privacy": "private",
38550
38518
  "inheritedFrom": {
38551
- "name": "SbbButtonLikeBaseElement",
38552
- "module": "core/base-elements/button-base-element.js"
38519
+ "name": "SbbLinkBaseElement",
38520
+ "module": "core/base-elements/link-base-element.js"
38553
38521
  }
38554
38522
  },
38555
38523
  {
@@ -38704,15 +38672,19 @@
38704
38672
  "module": "button/common/button-common.js"
38705
38673
  },
38706
38674
  {
38707
- "name": "SbbDisabledTabIndexActionMixin",
38675
+ "name": "SbbDisabledInteractiveMixin",
38676
+ "module": "core/mixins.js"
38677
+ },
38678
+ {
38679
+ "name": "SbbDisabledMixin",
38708
38680
  "module": "core/mixins.js"
38709
38681
  }
38710
38682
  ],
38711
38683
  "superclass": {
38712
- "name": "SbbButtonBaseElement",
38684
+ "name": "SbbLinkBaseElement",
38713
38685
  "module": "core/base-elements.js"
38714
38686
  },
38715
- "tagName": "sbb-accent-button",
38687
+ "tagName": "sbb-accent-button-link",
38716
38688
  "customElement": true,
38717
38689
  "attributes": [
38718
38690
  {
@@ -38794,53 +38766,81 @@
38794
38766
  }
38795
38767
  },
38796
38768
  {
38797
- "name": "value",
38769
+ "name": "href",
38798
38770
  "type": {
38799
38771
  "text": "string"
38800
38772
  },
38801
38773
  "default": "''",
38802
- "description": "Value of the form element.",
38803
- "fieldName": "value",
38774
+ "description": "The href value you want to link to.",
38775
+ "fieldName": "href",
38804
38776
  "inheritedFrom": {
38805
- "name": "SbbButtonBaseElement",
38806
- "module": "core/base-elements/button-base-element.js"
38777
+ "name": "SbbLinkBaseElement",
38778
+ "module": "core/base-elements/link-base-element.js"
38807
38779
  }
38808
38780
  },
38809
38781
  {
38810
- "name": "type",
38811
- "description": "The type attribute to use for the button.",
38812
- "default": "'button'",
38782
+ "name": "target",
38813
38783
  "type": {
38814
- "text": "SbbButtonType"
38784
+ "text": "LinkTargetType | string"
38815
38785
  },
38816
- "fieldName": "type",
38786
+ "default": "''",
38787
+ "description": "Where to display the linked URL.",
38788
+ "fieldName": "target",
38817
38789
  "inheritedFrom": {
38818
- "name": "SbbButtonBaseElement",
38819
- "module": "core/base-elements/button-base-element.js"
38790
+ "name": "SbbLinkBaseElement",
38791
+ "module": "core/base-elements/link-base-element.js"
38820
38792
  }
38821
38793
  },
38822
38794
  {
38823
- "name": "form",
38824
- "description": "The `<form>` element to associate the button with.",
38795
+ "name": "rel",
38825
38796
  "type": {
38826
- "text": "HTMLFormElement | null"
38797
+ "text": "string"
38827
38798
  },
38828
- "fieldName": "form",
38799
+ "default": "''",
38800
+ "description": "The relationship of the linked URL as space-separated link types.",
38801
+ "fieldName": "rel",
38829
38802
  "inheritedFrom": {
38830
- "name": "SbbButtonBaseElement",
38831
- "module": "core/base-elements/button-base-element.js"
38803
+ "name": "SbbLinkBaseElement",
38804
+ "module": "core/base-elements/link-base-element.js"
38832
38805
  }
38833
38806
  },
38834
38807
  {
38835
- "name": "name",
38836
- "description": "Name of the form element. Will be read from name attribute.",
38808
+ "name": "download",
38809
+ "type": {
38810
+ "text": "boolean"
38811
+ },
38812
+ "default": "false",
38813
+ "description": "Whether the browser will show the download dialog on click.",
38814
+ "fieldName": "download",
38815
+ "inheritedFrom": {
38816
+ "name": "SbbLinkBaseElement",
38817
+ "module": "core/base-elements/link-base-element.js"
38818
+ }
38819
+ },
38820
+ {
38821
+ "name": "accessibility-label",
38837
38822
  "type": {
38838
38823
  "text": "string"
38839
38824
  },
38840
- "fieldName": "name",
38825
+ "default": "''",
38826
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
38827
+ "fieldName": "accessibilityLabel",
38841
38828
  "inheritedFrom": {
38842
- "name": "SbbFormAssociatedMixin",
38843
- "module": "core/mixins/form-associated-mixin.js"
38829
+ "name": "SbbLinkBaseElement",
38830
+ "module": "core/base-elements/link-base-element.js"
38831
+ }
38832
+ },
38833
+ {
38834
+ "name": "accessibility-current",
38835
+ "type": {
38836
+ "text": "string"
38837
+ },
38838
+ "default": "''",
38839
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
38840
+ "fieldName": "accessibilityCurrent",
38841
+ "inheritedFrom": {
38842
+ "name": "SbbLinkBaseElement",
38843
+ "module": "core/base-elements/link-base-element.js"
38844
38844
  }
38845
38845
  }
38846
38846
  ]
@@ -38849,10 +38849,10 @@
38849
38849
  "exports": [
38850
38850
  {
38851
38851
  "kind": "js",
38852
- "name": "SbbAccentButtonElement",
38852
+ "name": "SbbAccentButtonLinkElement",
38853
38853
  "declaration": {
38854
- "name": "SbbAccentButtonElement",
38855
- "module": "button/accent-button/accent-button.component.js"
38854
+ "name": "SbbAccentButtonLinkElement",
38855
+ "module": "button/accent-button-link/accent-button-link.component.js"
38856
38856
  }
38857
38857
  }
38858
38858
  ]
@@ -100323,17 +100323,665 @@
100323
100323
  ],
100324
100324
  "mixins": [
100325
100325
  {
100326
- "name": "SbbIconNameMixin",
100327
- "module": "icon.js"
100326
+ "name": "SbbIconNameMixin",
100327
+ "module": "icon.js"
100328
+ }
100329
+ ],
100330
+ "superclass": {
100331
+ "name": "SbbLinkBaseElement",
100332
+ "module": "core/base-elements.js"
100333
+ },
100334
+ "tagName": "sbb-icon-sidebar-link",
100335
+ "customElement": true,
100336
+ "attributes": [
100337
+ {
100338
+ "name": "icon-name",
100339
+ "type": {
100340
+ "text": "string"
100341
+ },
100342
+ "default": "''",
100343
+ "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.",
100344
+ "fieldName": "iconName",
100345
+ "inheritedFrom": {
100346
+ "name": "SbbIconNameMixin",
100347
+ "module": "icon/icon-name-mixin.js"
100348
+ }
100349
+ },
100350
+ {
100351
+ "name": "href",
100352
+ "type": {
100353
+ "text": "string"
100354
+ },
100355
+ "default": "''",
100356
+ "description": "The href value you want to link to.",
100357
+ "fieldName": "href",
100358
+ "inheritedFrom": {
100359
+ "name": "SbbLinkBaseElement",
100360
+ "module": "core/base-elements/link-base-element.js"
100361
+ }
100362
+ },
100363
+ {
100364
+ "name": "target",
100365
+ "type": {
100366
+ "text": "LinkTargetType | string"
100367
+ },
100368
+ "default": "''",
100369
+ "description": "Where to display the linked URL.",
100370
+ "fieldName": "target",
100371
+ "inheritedFrom": {
100372
+ "name": "SbbLinkBaseElement",
100373
+ "module": "core/base-elements/link-base-element.js"
100374
+ }
100375
+ },
100376
+ {
100377
+ "name": "rel",
100378
+ "type": {
100379
+ "text": "string"
100380
+ },
100381
+ "default": "''",
100382
+ "description": "The relationship of the linked URL as space-separated link types.",
100383
+ "fieldName": "rel",
100384
+ "inheritedFrom": {
100385
+ "name": "SbbLinkBaseElement",
100386
+ "module": "core/base-elements/link-base-element.js"
100387
+ }
100388
+ },
100389
+ {
100390
+ "name": "download",
100391
+ "type": {
100392
+ "text": "boolean"
100393
+ },
100394
+ "default": "false",
100395
+ "description": "Whether the browser will show the download dialog on click.",
100396
+ "fieldName": "download",
100397
+ "inheritedFrom": {
100398
+ "name": "SbbLinkBaseElement",
100399
+ "module": "core/base-elements/link-base-element.js"
100400
+ }
100401
+ },
100402
+ {
100403
+ "name": "accessibility-label",
100404
+ "type": {
100405
+ "text": "string"
100406
+ },
100407
+ "default": "''",
100408
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
100409
+ "fieldName": "accessibilityLabel",
100410
+ "inheritedFrom": {
100411
+ "name": "SbbLinkBaseElement",
100412
+ "module": "core/base-elements/link-base-element.js"
100413
+ }
100414
+ },
100415
+ {
100416
+ "name": "accessibility-current",
100417
+ "type": {
100418
+ "text": "string"
100419
+ },
100420
+ "default": "''",
100421
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
100422
+ "fieldName": "accessibilityCurrent",
100423
+ "inheritedFrom": {
100424
+ "name": "SbbLinkBaseElement",
100425
+ "module": "core/base-elements/link-base-element.js"
100426
+ }
100427
+ }
100428
+ ]
100429
+ }
100430
+ ],
100431
+ "exports": [
100432
+ {
100433
+ "kind": "js",
100434
+ "name": "SbbIconSidebarLinkElement",
100435
+ "declaration": {
100436
+ "name": "SbbIconSidebarLinkElement",
100437
+ "module": "icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.js"
100438
+ }
100439
+ }
100440
+ ]
100441
+ },
100442
+ {
100443
+ "kind": "javascript-module",
100444
+ "path": "link/block-link/block-link.component.js",
100445
+ "declarations": [
100446
+ {
100447
+ "kind": "class",
100448
+ "description": "It displays a link enhanced with the SBB Design.",
100449
+ "name": "SbbBlockLinkElement",
100450
+ "slots": [
100451
+ {
100452
+ "description": "Use the unnamed slot to add content to the `sbb-block-link`.",
100453
+ "name": ""
100454
+ },
100455
+ {
100456
+ "description": "Slot used to display the icon, if one is set.",
100457
+ "name": "icon"
100458
+ }
100459
+ ],
100460
+ "members": [
100461
+ {
100462
+ "kind": "field",
100463
+ "name": "elementName",
100464
+ "type": {
100465
+ "text": "string"
100466
+ },
100467
+ "privacy": "public",
100468
+ "static": true,
100469
+ "readonly": true,
100470
+ "inheritedFrom": {
100471
+ "name": "SbbElement",
100472
+ "module": "core/base-elements/element.js"
100473
+ },
100474
+ "default": "'sbb-block-link'"
100475
+ },
100476
+ {
100477
+ "kind": "field",
100478
+ "name": "styles",
100479
+ "type": {
100480
+ "text": "CSSResultGroup"
100481
+ },
100482
+ "privacy": "public",
100483
+ "static": true,
100484
+ "default": "[super.styles, unsafeCSS(blockStyle)]",
100485
+ "inheritedFrom": {
100486
+ "name": "SbbLinkCommonElementMixin",
100487
+ "module": "link/common/link-common.js"
100488
+ }
100489
+ },
100490
+ {
100491
+ "kind": "field",
100492
+ "name": "iconPlacement",
100493
+ "type": {
100494
+ "text": "SbbIconPlacement"
100495
+ },
100496
+ "privacy": "public",
100497
+ "default": "'start'",
100498
+ "description": "Moves the icon to the end of the component if set to true.",
100499
+ "attribute": "icon-placement",
100500
+ "reflects": true,
100501
+ "inheritedFrom": {
100502
+ "name": "SbbBlockLinkCommonElementMixin",
100503
+ "module": "link/common/block-link-common.js"
100504
+ }
100505
+ },
100506
+ {
100507
+ "kind": "method",
100508
+ "name": "renderTemplate",
100509
+ "privacy": "protected",
100510
+ "return": {
100511
+ "type": {
100512
+ "text": "TemplateResult"
100513
+ }
100514
+ },
100515
+ "description": "Override this method to render the component template.",
100516
+ "inheritedFrom": {
100517
+ "name": "SbbActionBaseElement",
100518
+ "module": "core/base-elements/action-base-element.js"
100519
+ }
100520
+ },
100521
+ {
100522
+ "kind": "field",
100523
+ "name": "size",
100524
+ "type": {
100525
+ "text": "SbbLinkSize"
100526
+ },
100527
+ "privacy": "public",
100528
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
100529
+ "default": "'s' / 'xs' (lean)",
100530
+ "attribute": "size",
100531
+ "reflects": true,
100532
+ "inheritedFrom": {
100533
+ "name": "SbbLinkCommonElementMixin",
100534
+ "module": "link/common/link-common.js"
100535
+ }
100536
+ },
100537
+ {
100538
+ "kind": "field",
100539
+ "name": "iconName",
100540
+ "type": {
100541
+ "text": "string"
100542
+ },
100543
+ "privacy": "public",
100544
+ "default": "''",
100545
+ "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.",
100546
+ "attribute": "icon-name",
100547
+ "inheritedFrom": {
100548
+ "name": "SbbIconNameMixin",
100549
+ "module": "icon/icon-name-mixin.js"
100550
+ }
100551
+ },
100552
+ {
100553
+ "kind": "method",
100554
+ "name": "renderIconSlot",
100555
+ "privacy": "protected",
100556
+ "return": {
100557
+ "type": {
100558
+ "text": "TemplateResult"
100559
+ }
100560
+ },
100561
+ "parameters": [
100562
+ {
100563
+ "name": "classname",
100564
+ "optional": true,
100565
+ "type": {
100566
+ "text": "string"
100567
+ }
100568
+ }
100569
+ ],
100570
+ "inheritedFrom": {
100571
+ "name": "SbbIconNameMixin",
100572
+ "module": "icon/icon-name-mixin.js"
100573
+ }
100574
+ },
100575
+ {
100576
+ "kind": "method",
100577
+ "name": "renderIconName",
100578
+ "privacy": "protected",
100579
+ "return": {
100580
+ "type": {
100581
+ "text": "string"
100582
+ }
100583
+ },
100584
+ "inheritedFrom": {
100585
+ "name": "SbbIconNameMixin",
100586
+ "module": "icon/icon-name-mixin.js"
100587
+ }
100588
+ },
100589
+ {
100590
+ "kind": "method",
100591
+ "name": "_renderIconName",
100592
+ "privacy": "private",
100593
+ "return": {
100594
+ "type": {
100595
+ "text": "string"
100596
+ }
100597
+ },
100598
+ "inheritedFrom": {
100599
+ "name": "SbbIconNameMixin",
100600
+ "module": "icon/icon-name-mixin.js"
100601
+ }
100602
+ },
100603
+ {
100604
+ "kind": "field",
100605
+ "name": "disabled",
100606
+ "privacy": "public",
100607
+ "description": "Whether the component is disabled.",
100608
+ "default": "false",
100609
+ "type": {
100610
+ "text": "boolean"
100611
+ },
100612
+ "attribute": "disabled",
100613
+ "reflects": true,
100614
+ "inheritedFrom": {
100615
+ "name": "SbbDisabledMixin",
100616
+ "module": "core/mixins/disabled-mixin.js"
100617
+ }
100618
+ },
100619
+ {
100620
+ "kind": "field",
100621
+ "name": "#disabled",
100622
+ "privacy": "private",
100623
+ "type": {
100624
+ "text": "boolean"
100625
+ },
100626
+ "default": "false",
100627
+ "inheritedFrom": {
100628
+ "name": "SbbDisabledMixin",
100629
+ "module": "core/mixins/disabled-mixin.js"
100630
+ }
100631
+ },
100632
+ {
100633
+ "kind": "method",
100634
+ "name": "isDisabledExternally",
100635
+ "privacy": "protected",
100636
+ "return": {
100637
+ "type": {
100638
+ "text": "boolean"
100639
+ }
100640
+ },
100641
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
100642
+ "inheritedFrom": {
100643
+ "name": "SbbDisabledMixin",
100644
+ "module": "core/mixins/disabled-mixin.js"
100645
+ }
100646
+ },
100647
+ {
100648
+ "kind": "field",
100649
+ "name": "href",
100650
+ "type": {
100651
+ "text": "string"
100652
+ },
100653
+ "privacy": "public",
100654
+ "default": "''",
100655
+ "description": "The href value you want to link to.",
100656
+ "attribute": "href",
100657
+ "reflects": true,
100658
+ "inheritedFrom": {
100659
+ "name": "SbbLinkBaseElement",
100660
+ "module": "core/base-elements/link-base-element.js"
100661
+ }
100662
+ },
100663
+ {
100664
+ "kind": "field",
100665
+ "name": "target",
100666
+ "type": {
100667
+ "text": "LinkTargetType | string"
100668
+ },
100669
+ "privacy": "public",
100670
+ "default": "''",
100671
+ "description": "Where to display the linked URL.",
100672
+ "attribute": "target",
100673
+ "reflects": true,
100674
+ "inheritedFrom": {
100675
+ "name": "SbbLinkBaseElement",
100676
+ "module": "core/base-elements/link-base-element.js"
100677
+ }
100678
+ },
100679
+ {
100680
+ "kind": "field",
100681
+ "name": "rel",
100682
+ "type": {
100683
+ "text": "string"
100684
+ },
100685
+ "privacy": "public",
100686
+ "default": "''",
100687
+ "description": "The relationship of the linked URL as space-separated link types.",
100688
+ "attribute": "rel",
100689
+ "reflects": true,
100690
+ "inheritedFrom": {
100691
+ "name": "SbbLinkBaseElement",
100692
+ "module": "core/base-elements/link-base-element.js"
100693
+ }
100694
+ },
100695
+ {
100696
+ "kind": "field",
100697
+ "name": "download",
100698
+ "type": {
100699
+ "text": "boolean"
100700
+ },
100701
+ "privacy": "public",
100702
+ "default": "false",
100703
+ "description": "Whether the browser will show the download dialog on click.",
100704
+ "attribute": "download",
100705
+ "reflects": true,
100706
+ "inheritedFrom": {
100707
+ "name": "SbbLinkBaseElement",
100708
+ "module": "core/base-elements/link-base-element.js"
100709
+ }
100710
+ },
100711
+ {
100712
+ "kind": "field",
100713
+ "name": "accessibilityLabel",
100714
+ "type": {
100715
+ "text": "string"
100716
+ },
100717
+ "privacy": "public",
100718
+ "default": "''",
100719
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
100720
+ "attribute": "accessibility-label",
100721
+ "inheritedFrom": {
100722
+ "name": "SbbLinkBaseElement",
100723
+ "module": "core/base-elements/link-base-element.js"
100724
+ }
100725
+ },
100726
+ {
100727
+ "kind": "field",
100728
+ "name": "accessibilityCurrent",
100729
+ "type": {
100730
+ "text": "string"
100731
+ },
100732
+ "privacy": "public",
100733
+ "default": "''",
100734
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
100735
+ "attribute": "accessibility-current",
100736
+ "inheritedFrom": {
100737
+ "name": "SbbLinkBaseElement",
100738
+ "module": "core/base-elements/link-base-element.js"
100739
+ }
100740
+ },
100741
+ {
100742
+ "kind": "field",
100743
+ "name": "language",
100744
+ "privacy": "protected",
100745
+ "default": "new SbbLanguageController(this)",
100746
+ "inheritedFrom": {
100747
+ "name": "SbbLinkBaseElement",
100748
+ "module": "core/base-elements/link-base-element.js"
100749
+ }
100750
+ },
100751
+ {
100752
+ "kind": "field",
100753
+ "name": "anchorRole",
100754
+ "type": {
100755
+ "text": "string | null"
100756
+ },
100757
+ "privacy": "protected",
100758
+ "readonly": true,
100759
+ "default": "null",
100760
+ "inheritedFrom": {
100761
+ "name": "SbbLinkBaseElement",
100762
+ "module": "core/base-elements/link-base-element.js"
100763
+ }
100764
+ },
100765
+ {
100766
+ "kind": "field",
100767
+ "name": "_evaluateRelAttribute",
100768
+ "privacy": "private",
100769
+ "inheritedFrom": {
100770
+ "name": "SbbLinkBaseElement",
100771
+ "module": "core/base-elements/link-base-element.js"
100772
+ }
100773
+ },
100774
+ {
100775
+ "kind": "method",
100776
+ "name": "renderLink",
100777
+ "privacy": "protected",
100778
+ "return": {
100779
+ "type": {
100780
+ "text": "TemplateResult"
100781
+ }
100782
+ },
100783
+ "parameters": [
100784
+ {
100785
+ "name": "renderContent",
100786
+ "type": {
100787
+ "text": "TemplateResult"
100788
+ }
100789
+ }
100790
+ ],
100791
+ "inheritedFrom": {
100792
+ "name": "SbbLinkBaseElement",
100793
+ "module": "core/base-elements/link-base-element.js"
100794
+ }
100795
+ },
100796
+ {
100797
+ "kind": "field",
100798
+ "name": "maybeDisabled",
100799
+ "type": {
100800
+ "text": "boolean | undefined"
100801
+ },
100802
+ "privacy": "protected",
100803
+ "readonly": true,
100804
+ "inheritedFrom": {
100805
+ "name": "SbbActionBaseElement",
100806
+ "module": "core/base-elements/action-base-element.js"
100807
+ }
100808
+ },
100809
+ {
100810
+ "kind": "field",
100811
+ "name": "maybeDisabledInteractive",
100812
+ "type": {
100813
+ "text": "boolean | undefined"
100814
+ },
100815
+ "privacy": "protected",
100816
+ "readonly": true,
100817
+ "inheritedFrom": {
100818
+ "name": "SbbActionBaseElement",
100819
+ "module": "core/base-elements/action-base-element.js"
100820
+ }
100821
+ },
100822
+ {
100823
+ "kind": "method",
100824
+ "name": "setupBaseEventHandlers",
100825
+ "privacy": "protected",
100826
+ "return": {
100827
+ "type": {
100828
+ "text": "void"
100829
+ }
100830
+ },
100831
+ "inheritedFrom": {
100832
+ "name": "SbbActionBaseElement",
100833
+ "module": "core/base-elements/action-base-element.js"
100834
+ }
100835
+ },
100836
+ {
100837
+ "kind": "field",
100838
+ "name": "_hydrationRequired",
100839
+ "type": {
100840
+ "text": "boolean"
100841
+ },
100842
+ "privacy": "private",
100843
+ "default": "!!this.shadowRoot",
100844
+ "inheritedFrom": {
100845
+ "name": "SbbElement",
100846
+ "module": "core/base-elements/element.js"
100847
+ }
100848
+ },
100849
+ {
100850
+ "kind": "field",
100851
+ "name": "_hydrationComplete",
100852
+ "privacy": "private",
100853
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
100854
+ "inheritedFrom": {
100855
+ "name": "SbbElement",
100856
+ "module": "core/base-elements/element.js"
100857
+ }
100858
+ },
100859
+ {
100860
+ "kind": "field",
100861
+ "name": "_resolveHydration",
100862
+ "type": {
100863
+ "text": "(hydrationRequired: boolean) => void"
100864
+ },
100865
+ "privacy": "private",
100866
+ "inheritedFrom": {
100867
+ "name": "SbbElement",
100868
+ "module": "core/base-elements/element.js"
100869
+ }
100870
+ },
100871
+ {
100872
+ "kind": "field",
100873
+ "name": "hydrationRequired",
100874
+ "type": {
100875
+ "text": "boolean"
100876
+ },
100877
+ "privacy": "protected",
100878
+ "description": "Returns whether hydration is required and not completed.",
100879
+ "readonly": true,
100880
+ "inheritedFrom": {
100881
+ "name": "SbbElement",
100882
+ "module": "core/base-elements/element.js"
100883
+ },
100884
+ "default": "!!this.shadowRoot"
100885
+ },
100886
+ {
100887
+ "kind": "method",
100888
+ "name": "toggleState",
100889
+ "privacy": "protected",
100890
+ "return": {
100891
+ "type": {
100892
+ "text": "void"
100893
+ }
100894
+ },
100895
+ "parameters": [
100896
+ {
100897
+ "name": "value",
100898
+ "type": {
100899
+ "text": "string"
100900
+ }
100901
+ },
100902
+ {
100903
+ "name": "force",
100904
+ "optional": true,
100905
+ "type": {
100906
+ "text": "boolean"
100907
+ }
100908
+ }
100909
+ ],
100910
+ "inheritedFrom": {
100911
+ "name": "SbbElement",
100912
+ "module": "core/base-elements/element.js"
100913
+ }
100914
+ },
100915
+ {
100916
+ "kind": "field",
100917
+ "name": "['_$sbbElement$']",
100918
+ "type": {
100919
+ "text": "boolean"
100920
+ },
100921
+ "privacy": "public",
100922
+ "static": true,
100923
+ "default": "true",
100924
+ "inheritedFrom": {
100925
+ "name": "SbbElement",
100926
+ "module": "core/base-elements/element.js"
100927
+ }
100928
+ },
100929
+ {
100930
+ "kind": "field",
100931
+ "name": "_controllers",
100932
+ "type": {
100933
+ "text": "Set<SbbReactiveController> | undefined"
100934
+ },
100935
+ "privacy": "private",
100936
+ "inheritedFrom": {
100937
+ "name": "SbbElement",
100938
+ "module": "core/base-elements/element.js"
100939
+ }
100940
+ }
100941
+ ],
100942
+ "mixins": [
100943
+ {
100944
+ "name": "SbbBlockLinkCommonElementMixin",
100945
+ "module": "link/common/block-link-common.js"
100946
+ },
100947
+ {
100948
+ "name": "SbbDisabledMixin",
100949
+ "module": "core/mixins.js"
100328
100950
  }
100329
100951
  ],
100330
100952
  "superclass": {
100331
100953
  "name": "SbbLinkBaseElement",
100332
100954
  "module": "core/base-elements.js"
100333
100955
  },
100334
- "tagName": "sbb-icon-sidebar-link",
100956
+ "tagName": "sbb-block-link",
100335
100957
  "customElement": true,
100336
100958
  "attributes": [
100959
+ {
100960
+ "name": "icon-placement",
100961
+ "type": {
100962
+ "text": "SbbIconPlacement"
100963
+ },
100964
+ "default": "'start'",
100965
+ "description": "Moves the icon to the end of the component if set to true.",
100966
+ "fieldName": "iconPlacement",
100967
+ "inheritedFrom": {
100968
+ "name": "SbbBlockLinkCommonElementMixin",
100969
+ "module": "link/common/block-link-common.js"
100970
+ }
100971
+ },
100972
+ {
100973
+ "name": "size",
100974
+ "type": {
100975
+ "text": "SbbLinkSize"
100976
+ },
100977
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
100978
+ "default": "'s' / 'xs' (lean)",
100979
+ "fieldName": "size",
100980
+ "inheritedFrom": {
100981
+ "name": "SbbLinkCommonElementMixin",
100982
+ "module": "link/common/link-common.js"
100983
+ }
100984
+ },
100337
100985
  {
100338
100986
  "name": "icon-name",
100339
100987
  "type": {
@@ -100347,6 +100995,19 @@
100347
100995
  "module": "icon/icon-name-mixin.js"
100348
100996
  }
100349
100997
  },
100998
+ {
100999
+ "name": "disabled",
101000
+ "description": "Whether the component is disabled.",
101001
+ "default": "false",
101002
+ "type": {
101003
+ "text": "boolean"
101004
+ },
101005
+ "fieldName": "disabled",
101006
+ "inheritedFrom": {
101007
+ "name": "SbbDisabledMixin",
101008
+ "module": "core/mixins/disabled-mixin.js"
101009
+ }
101010
+ },
100350
101011
  {
100351
101012
  "name": "href",
100352
101013
  "type": {
@@ -100431,25 +101092,25 @@
100431
101092
  "exports": [
100432
101093
  {
100433
101094
  "kind": "js",
100434
- "name": "SbbIconSidebarLinkElement",
101095
+ "name": "SbbBlockLinkElement",
100435
101096
  "declaration": {
100436
- "name": "SbbIconSidebarLinkElement",
100437
- "module": "icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.js"
101097
+ "name": "SbbBlockLinkElement",
101098
+ "module": "link/block-link/block-link.component.js"
100438
101099
  }
100439
101100
  }
100440
101101
  ]
100441
101102
  },
100442
101103
  {
100443
101104
  "kind": "javascript-module",
100444
- "path": "link/block-link/block-link.component.js",
101105
+ "path": "link/block-link-static/block-link-static.component.js",
100445
101106
  "declarations": [
100446
101107
  {
100447
101108
  "kind": "class",
100448
- "description": "It displays a link enhanced with the SBB Design.",
100449
- "name": "SbbBlockLinkElement",
101109
+ "description": "It displays a static link enhanced with the SBB Design.",
101110
+ "name": "SbbBlockLinkStaticElement",
100450
101111
  "slots": [
100451
101112
  {
100452
- "description": "Use the unnamed slot to add content to the `sbb-block-link`.",
101113
+ "description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
100453
101114
  "name": ""
100454
101115
  },
100455
101116
  {
@@ -100471,7 +101132,7 @@
100471
101132
  "name": "SbbElement",
100472
101133
  "module": "core/base-elements/element.js"
100473
101134
  },
100474
- "default": "'sbb-block-link'"
101135
+ "default": "'sbb-block-link-static'"
100475
101136
  },
100476
101137
  {
100477
101138
  "kind": "field",
@@ -100644,155 +101305,6 @@
100644
101305
  "module": "core/mixins/disabled-mixin.js"
100645
101306
  }
100646
101307
  },
100647
- {
100648
- "kind": "field",
100649
- "name": "href",
100650
- "type": {
100651
- "text": "string"
100652
- },
100653
- "privacy": "public",
100654
- "default": "''",
100655
- "description": "The href value you want to link to.",
100656
- "attribute": "href",
100657
- "reflects": true,
100658
- "inheritedFrom": {
100659
- "name": "SbbLinkBaseElement",
100660
- "module": "core/base-elements/link-base-element.js"
100661
- }
100662
- },
100663
- {
100664
- "kind": "field",
100665
- "name": "target",
100666
- "type": {
100667
- "text": "LinkTargetType | string"
100668
- },
100669
- "privacy": "public",
100670
- "default": "''",
100671
- "description": "Where to display the linked URL.",
100672
- "attribute": "target",
100673
- "reflects": true,
100674
- "inheritedFrom": {
100675
- "name": "SbbLinkBaseElement",
100676
- "module": "core/base-elements/link-base-element.js"
100677
- }
100678
- },
100679
- {
100680
- "kind": "field",
100681
- "name": "rel",
100682
- "type": {
100683
- "text": "string"
100684
- },
100685
- "privacy": "public",
100686
- "default": "''",
100687
- "description": "The relationship of the linked URL as space-separated link types.",
100688
- "attribute": "rel",
100689
- "reflects": true,
100690
- "inheritedFrom": {
100691
- "name": "SbbLinkBaseElement",
100692
- "module": "core/base-elements/link-base-element.js"
100693
- }
100694
- },
100695
- {
100696
- "kind": "field",
100697
- "name": "download",
100698
- "type": {
100699
- "text": "boolean"
100700
- },
100701
- "privacy": "public",
100702
- "default": "false",
100703
- "description": "Whether the browser will show the download dialog on click.",
100704
- "attribute": "download",
100705
- "reflects": true,
100706
- "inheritedFrom": {
100707
- "name": "SbbLinkBaseElement",
100708
- "module": "core/base-elements/link-base-element.js"
100709
- }
100710
- },
100711
- {
100712
- "kind": "field",
100713
- "name": "accessibilityLabel",
100714
- "type": {
100715
- "text": "string"
100716
- },
100717
- "privacy": "public",
100718
- "default": "''",
100719
- "description": "This will be forwarded as aria-label to the inner anchor element.",
100720
- "attribute": "accessibility-label",
100721
- "inheritedFrom": {
100722
- "name": "SbbLinkBaseElement",
100723
- "module": "core/base-elements/link-base-element.js"
100724
- }
100725
- },
100726
- {
100727
- "kind": "field",
100728
- "name": "accessibilityCurrent",
100729
- "type": {
100730
- "text": "string"
100731
- },
100732
- "privacy": "public",
100733
- "default": "''",
100734
- "description": "This will be forwarded as aria-current to the inner anchor element.",
100735
- "attribute": "accessibility-current",
100736
- "inheritedFrom": {
100737
- "name": "SbbLinkBaseElement",
100738
- "module": "core/base-elements/link-base-element.js"
100739
- }
100740
- },
100741
- {
100742
- "kind": "field",
100743
- "name": "language",
100744
- "privacy": "protected",
100745
- "default": "new SbbLanguageController(this)",
100746
- "inheritedFrom": {
100747
- "name": "SbbLinkBaseElement",
100748
- "module": "core/base-elements/link-base-element.js"
100749
- }
100750
- },
100751
- {
100752
- "kind": "field",
100753
- "name": "anchorRole",
100754
- "type": {
100755
- "text": "string | null"
100756
- },
100757
- "privacy": "protected",
100758
- "readonly": true,
100759
- "default": "null",
100760
- "inheritedFrom": {
100761
- "name": "SbbLinkBaseElement",
100762
- "module": "core/base-elements/link-base-element.js"
100763
- }
100764
- },
100765
- {
100766
- "kind": "field",
100767
- "name": "_evaluateRelAttribute",
100768
- "privacy": "private",
100769
- "inheritedFrom": {
100770
- "name": "SbbLinkBaseElement",
100771
- "module": "core/base-elements/link-base-element.js"
100772
- }
100773
- },
100774
- {
100775
- "kind": "method",
100776
- "name": "renderLink",
100777
- "privacy": "protected",
100778
- "return": {
100779
- "type": {
100780
- "text": "TemplateResult"
100781
- }
100782
- },
100783
- "parameters": [
100784
- {
100785
- "name": "renderContent",
100786
- "type": {
100787
- "text": "TemplateResult"
100788
- }
100789
- }
100790
- ],
100791
- "inheritedFrom": {
100792
- "name": "SbbLinkBaseElement",
100793
- "module": "core/base-elements/link-base-element.js"
100794
- }
100795
- },
100796
101308
  {
100797
101309
  "kind": "field",
100798
101310
  "name": "maybeDisabled",
@@ -100950,10 +101462,10 @@
100950
101462
  }
100951
101463
  ],
100952
101464
  "superclass": {
100953
- "name": "SbbLinkBaseElement",
101465
+ "name": "SbbActionBaseElement",
100954
101466
  "module": "core/base-elements.js"
100955
101467
  },
100956
- "tagName": "sbb-block-link",
101468
+ "tagName": "sbb-block-link-static",
100957
101469
  "customElement": true,
100958
101470
  "attributes": [
100959
101471
  {
@@ -101007,84 +101519,6 @@
101007
101519
  "name": "SbbDisabledMixin",
101008
101520
  "module": "core/mixins/disabled-mixin.js"
101009
101521
  }
101010
- },
101011
- {
101012
- "name": "href",
101013
- "type": {
101014
- "text": "string"
101015
- },
101016
- "default": "''",
101017
- "description": "The href value you want to link to.",
101018
- "fieldName": "href",
101019
- "inheritedFrom": {
101020
- "name": "SbbLinkBaseElement",
101021
- "module": "core/base-elements/link-base-element.js"
101022
- }
101023
- },
101024
- {
101025
- "name": "target",
101026
- "type": {
101027
- "text": "LinkTargetType | string"
101028
- },
101029
- "default": "''",
101030
- "description": "Where to display the linked URL.",
101031
- "fieldName": "target",
101032
- "inheritedFrom": {
101033
- "name": "SbbLinkBaseElement",
101034
- "module": "core/base-elements/link-base-element.js"
101035
- }
101036
- },
101037
- {
101038
- "name": "rel",
101039
- "type": {
101040
- "text": "string"
101041
- },
101042
- "default": "''",
101043
- "description": "The relationship of the linked URL as space-separated link types.",
101044
- "fieldName": "rel",
101045
- "inheritedFrom": {
101046
- "name": "SbbLinkBaseElement",
101047
- "module": "core/base-elements/link-base-element.js"
101048
- }
101049
- },
101050
- {
101051
- "name": "download",
101052
- "type": {
101053
- "text": "boolean"
101054
- },
101055
- "default": "false",
101056
- "description": "Whether the browser will show the download dialog on click.",
101057
- "fieldName": "download",
101058
- "inheritedFrom": {
101059
- "name": "SbbLinkBaseElement",
101060
- "module": "core/base-elements/link-base-element.js"
101061
- }
101062
- },
101063
- {
101064
- "name": "accessibility-label",
101065
- "type": {
101066
- "text": "string"
101067
- },
101068
- "default": "''",
101069
- "description": "This will be forwarded as aria-label to the inner anchor element.",
101070
- "fieldName": "accessibilityLabel",
101071
- "inheritedFrom": {
101072
- "name": "SbbLinkBaseElement",
101073
- "module": "core/base-elements/link-base-element.js"
101074
- }
101075
- },
101076
- {
101077
- "name": "accessibility-current",
101078
- "type": {
101079
- "text": "string"
101080
- },
101081
- "default": "''",
101082
- "description": "This will be forwarded as aria-current to the inner anchor element.",
101083
- "fieldName": "accessibilityCurrent",
101084
- "inheritedFrom": {
101085
- "name": "SbbLinkBaseElement",
101086
- "module": "core/base-elements/link-base-element.js"
101087
- }
101088
101522
  }
101089
101523
  ]
101090
101524
  }
@@ -101092,10 +101526,10 @@
101092
101526
  "exports": [
101093
101527
  {
101094
101528
  "kind": "js",
101095
- "name": "SbbBlockLinkElement",
101529
+ "name": "SbbBlockLinkStaticElement",
101096
101530
  "declaration": {
101097
- "name": "SbbBlockLinkElement",
101098
- "module": "link/block-link/block-link.component.js"
101531
+ "name": "SbbBlockLinkStaticElement",
101532
+ "module": "link/block-link-static/block-link-static.component.js"
101099
101533
  }
101100
101534
  }
101101
101535
  ]
@@ -102090,440 +102524,6 @@
102090
102524
  }
102091
102525
  ]
102092
102526
  },
102093
- {
102094
- "kind": "javascript-module",
102095
- "path": "link/block-link-static/block-link-static.component.js",
102096
- "declarations": [
102097
- {
102098
- "kind": "class",
102099
- "description": "It displays a static link enhanced with the SBB Design.",
102100
- "name": "SbbBlockLinkStaticElement",
102101
- "slots": [
102102
- {
102103
- "description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
102104
- "name": ""
102105
- },
102106
- {
102107
- "description": "Slot used to display the icon, if one is set.",
102108
- "name": "icon"
102109
- }
102110
- ],
102111
- "members": [
102112
- {
102113
- "kind": "field",
102114
- "name": "elementName",
102115
- "type": {
102116
- "text": "string"
102117
- },
102118
- "privacy": "public",
102119
- "static": true,
102120
- "readonly": true,
102121
- "inheritedFrom": {
102122
- "name": "SbbElement",
102123
- "module": "core/base-elements/element.js"
102124
- },
102125
- "default": "'sbb-block-link-static'"
102126
- },
102127
- {
102128
- "kind": "field",
102129
- "name": "styles",
102130
- "type": {
102131
- "text": "CSSResultGroup"
102132
- },
102133
- "privacy": "public",
102134
- "static": true,
102135
- "default": "[super.styles, unsafeCSS(blockStyle)]",
102136
- "inheritedFrom": {
102137
- "name": "SbbLinkCommonElementMixin",
102138
- "module": "link/common/link-common.js"
102139
- }
102140
- },
102141
- {
102142
- "kind": "field",
102143
- "name": "iconPlacement",
102144
- "type": {
102145
- "text": "SbbIconPlacement"
102146
- },
102147
- "privacy": "public",
102148
- "default": "'start'",
102149
- "description": "Moves the icon to the end of the component if set to true.",
102150
- "attribute": "icon-placement",
102151
- "reflects": true,
102152
- "inheritedFrom": {
102153
- "name": "SbbBlockLinkCommonElementMixin",
102154
- "module": "link/common/block-link-common.js"
102155
- }
102156
- },
102157
- {
102158
- "kind": "method",
102159
- "name": "renderTemplate",
102160
- "privacy": "protected",
102161
- "return": {
102162
- "type": {
102163
- "text": "TemplateResult"
102164
- }
102165
- },
102166
- "description": "Override this method to render the component template.",
102167
- "inheritedFrom": {
102168
- "name": "SbbActionBaseElement",
102169
- "module": "core/base-elements/action-base-element.js"
102170
- }
102171
- },
102172
- {
102173
- "kind": "field",
102174
- "name": "size",
102175
- "type": {
102176
- "text": "SbbLinkSize"
102177
- },
102178
- "privacy": "public",
102179
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102180
- "default": "'s' / 'xs' (lean)",
102181
- "attribute": "size",
102182
- "reflects": true,
102183
- "inheritedFrom": {
102184
- "name": "SbbLinkCommonElementMixin",
102185
- "module": "link/common/link-common.js"
102186
- }
102187
- },
102188
- {
102189
- "kind": "field",
102190
- "name": "iconName",
102191
- "type": {
102192
- "text": "string"
102193
- },
102194
- "privacy": "public",
102195
- "default": "''",
102196
- "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.",
102197
- "attribute": "icon-name",
102198
- "inheritedFrom": {
102199
- "name": "SbbIconNameMixin",
102200
- "module": "icon/icon-name-mixin.js"
102201
- }
102202
- },
102203
- {
102204
- "kind": "method",
102205
- "name": "renderIconSlot",
102206
- "privacy": "protected",
102207
- "return": {
102208
- "type": {
102209
- "text": "TemplateResult"
102210
- }
102211
- },
102212
- "parameters": [
102213
- {
102214
- "name": "classname",
102215
- "optional": true,
102216
- "type": {
102217
- "text": "string"
102218
- }
102219
- }
102220
- ],
102221
- "inheritedFrom": {
102222
- "name": "SbbIconNameMixin",
102223
- "module": "icon/icon-name-mixin.js"
102224
- }
102225
- },
102226
- {
102227
- "kind": "method",
102228
- "name": "renderIconName",
102229
- "privacy": "protected",
102230
- "return": {
102231
- "type": {
102232
- "text": "string"
102233
- }
102234
- },
102235
- "inheritedFrom": {
102236
- "name": "SbbIconNameMixin",
102237
- "module": "icon/icon-name-mixin.js"
102238
- }
102239
- },
102240
- {
102241
- "kind": "method",
102242
- "name": "_renderIconName",
102243
- "privacy": "private",
102244
- "return": {
102245
- "type": {
102246
- "text": "string"
102247
- }
102248
- },
102249
- "inheritedFrom": {
102250
- "name": "SbbIconNameMixin",
102251
- "module": "icon/icon-name-mixin.js"
102252
- }
102253
- },
102254
- {
102255
- "kind": "field",
102256
- "name": "disabled",
102257
- "privacy": "public",
102258
- "description": "Whether the component is disabled.",
102259
- "default": "false",
102260
- "type": {
102261
- "text": "boolean"
102262
- },
102263
- "attribute": "disabled",
102264
- "reflects": true,
102265
- "inheritedFrom": {
102266
- "name": "SbbDisabledMixin",
102267
- "module": "core/mixins/disabled-mixin.js"
102268
- }
102269
- },
102270
- {
102271
- "kind": "field",
102272
- "name": "#disabled",
102273
- "privacy": "private",
102274
- "type": {
102275
- "text": "boolean"
102276
- },
102277
- "default": "false",
102278
- "inheritedFrom": {
102279
- "name": "SbbDisabledMixin",
102280
- "module": "core/mixins/disabled-mixin.js"
102281
- }
102282
- },
102283
- {
102284
- "kind": "method",
102285
- "name": "isDisabledExternally",
102286
- "privacy": "protected",
102287
- "return": {
102288
- "type": {
102289
- "text": "boolean"
102290
- }
102291
- },
102292
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
102293
- "inheritedFrom": {
102294
- "name": "SbbDisabledMixin",
102295
- "module": "core/mixins/disabled-mixin.js"
102296
- }
102297
- },
102298
- {
102299
- "kind": "field",
102300
- "name": "maybeDisabled",
102301
- "type": {
102302
- "text": "boolean | undefined"
102303
- },
102304
- "privacy": "protected",
102305
- "readonly": true,
102306
- "inheritedFrom": {
102307
- "name": "SbbActionBaseElement",
102308
- "module": "core/base-elements/action-base-element.js"
102309
- }
102310
- },
102311
- {
102312
- "kind": "field",
102313
- "name": "maybeDisabledInteractive",
102314
- "type": {
102315
- "text": "boolean | undefined"
102316
- },
102317
- "privacy": "protected",
102318
- "readonly": true,
102319
- "inheritedFrom": {
102320
- "name": "SbbActionBaseElement",
102321
- "module": "core/base-elements/action-base-element.js"
102322
- }
102323
- },
102324
- {
102325
- "kind": "method",
102326
- "name": "setupBaseEventHandlers",
102327
- "privacy": "protected",
102328
- "return": {
102329
- "type": {
102330
- "text": "void"
102331
- }
102332
- },
102333
- "inheritedFrom": {
102334
- "name": "SbbActionBaseElement",
102335
- "module": "core/base-elements/action-base-element.js"
102336
- }
102337
- },
102338
- {
102339
- "kind": "field",
102340
- "name": "_hydrationRequired",
102341
- "type": {
102342
- "text": "boolean"
102343
- },
102344
- "privacy": "private",
102345
- "default": "!!this.shadowRoot",
102346
- "inheritedFrom": {
102347
- "name": "SbbElement",
102348
- "module": "core/base-elements/element.js"
102349
- }
102350
- },
102351
- {
102352
- "kind": "field",
102353
- "name": "_hydrationComplete",
102354
- "privacy": "private",
102355
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
102356
- "inheritedFrom": {
102357
- "name": "SbbElement",
102358
- "module": "core/base-elements/element.js"
102359
- }
102360
- },
102361
- {
102362
- "kind": "field",
102363
- "name": "_resolveHydration",
102364
- "type": {
102365
- "text": "(hydrationRequired: boolean) => void"
102366
- },
102367
- "privacy": "private",
102368
- "inheritedFrom": {
102369
- "name": "SbbElement",
102370
- "module": "core/base-elements/element.js"
102371
- }
102372
- },
102373
- {
102374
- "kind": "field",
102375
- "name": "hydrationRequired",
102376
- "type": {
102377
- "text": "boolean"
102378
- },
102379
- "privacy": "protected",
102380
- "description": "Returns whether hydration is required and not completed.",
102381
- "readonly": true,
102382
- "inheritedFrom": {
102383
- "name": "SbbElement",
102384
- "module": "core/base-elements/element.js"
102385
- },
102386
- "default": "!!this.shadowRoot"
102387
- },
102388
- {
102389
- "kind": "method",
102390
- "name": "toggleState",
102391
- "privacy": "protected",
102392
- "return": {
102393
- "type": {
102394
- "text": "void"
102395
- }
102396
- },
102397
- "parameters": [
102398
- {
102399
- "name": "value",
102400
- "type": {
102401
- "text": "string"
102402
- }
102403
- },
102404
- {
102405
- "name": "force",
102406
- "optional": true,
102407
- "type": {
102408
- "text": "boolean"
102409
- }
102410
- }
102411
- ],
102412
- "inheritedFrom": {
102413
- "name": "SbbElement",
102414
- "module": "core/base-elements/element.js"
102415
- }
102416
- },
102417
- {
102418
- "kind": "field",
102419
- "name": "['_$sbbElement$']",
102420
- "type": {
102421
- "text": "boolean"
102422
- },
102423
- "privacy": "public",
102424
- "static": true,
102425
- "default": "true",
102426
- "inheritedFrom": {
102427
- "name": "SbbElement",
102428
- "module": "core/base-elements/element.js"
102429
- }
102430
- },
102431
- {
102432
- "kind": "field",
102433
- "name": "_controllers",
102434
- "type": {
102435
- "text": "Set<SbbReactiveController> | undefined"
102436
- },
102437
- "privacy": "private",
102438
- "inheritedFrom": {
102439
- "name": "SbbElement",
102440
- "module": "core/base-elements/element.js"
102441
- }
102442
- }
102443
- ],
102444
- "mixins": [
102445
- {
102446
- "name": "SbbBlockLinkCommonElementMixin",
102447
- "module": "link/common/block-link-common.js"
102448
- },
102449
- {
102450
- "name": "SbbDisabledMixin",
102451
- "module": "core/mixins.js"
102452
- }
102453
- ],
102454
- "superclass": {
102455
- "name": "SbbActionBaseElement",
102456
- "module": "core/base-elements.js"
102457
- },
102458
- "tagName": "sbb-block-link-static",
102459
- "customElement": true,
102460
- "attributes": [
102461
- {
102462
- "name": "icon-placement",
102463
- "type": {
102464
- "text": "SbbIconPlacement"
102465
- },
102466
- "default": "'start'",
102467
- "description": "Moves the icon to the end of the component if set to true.",
102468
- "fieldName": "iconPlacement",
102469
- "inheritedFrom": {
102470
- "name": "SbbBlockLinkCommonElementMixin",
102471
- "module": "link/common/block-link-common.js"
102472
- }
102473
- },
102474
- {
102475
- "name": "size",
102476
- "type": {
102477
- "text": "SbbLinkSize"
102478
- },
102479
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102480
- "default": "'s' / 'xs' (lean)",
102481
- "fieldName": "size",
102482
- "inheritedFrom": {
102483
- "name": "SbbLinkCommonElementMixin",
102484
- "module": "link/common/link-common.js"
102485
- }
102486
- },
102487
- {
102488
- "name": "icon-name",
102489
- "type": {
102490
- "text": "string"
102491
- },
102492
- "default": "''",
102493
- "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.",
102494
- "fieldName": "iconName",
102495
- "inheritedFrom": {
102496
- "name": "SbbIconNameMixin",
102497
- "module": "icon/icon-name-mixin.js"
102498
- }
102499
- },
102500
- {
102501
- "name": "disabled",
102502
- "description": "Whether the component is disabled.",
102503
- "default": "false",
102504
- "type": {
102505
- "text": "boolean"
102506
- },
102507
- "fieldName": "disabled",
102508
- "inheritedFrom": {
102509
- "name": "SbbDisabledMixin",
102510
- "module": "core/mixins/disabled-mixin.js"
102511
- }
102512
- }
102513
- ]
102514
- }
102515
- ],
102516
- "exports": [
102517
- {
102518
- "kind": "js",
102519
- "name": "SbbBlockLinkStaticElement",
102520
- "declaration": {
102521
- "name": "SbbBlockLinkStaticElement",
102522
- "module": "link/block-link-static/block-link-static.component.js"
102523
- }
102524
- }
102525
- ]
102526
- },
102527
102527
  {
102528
102528
  "kind": "javascript-module",
102529
102529
  "path": "link/common/block-link-common.js",