@sbb-esta/lyne-elements-dev 4.13.1-dev.1781017607 → 4.14.0-dev.1781535361

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 +755 -755
  2. package/package.json +2 -2
@@ -37131,12 +37131,12 @@
37131
37131
  },
37132
37132
  {
37133
37133
  "kind": "javascript-module",
37134
- "path": "button/accent-button/accent-button.component.js",
37134
+ "path": "button/accent-button-link/accent-button-link.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.",
37139
- "name": "SbbAccentButtonElement",
37138
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
37139
+ "name": "SbbAccentButtonLinkElement",
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.",
37149
+ "description": "Use the unnamed slot to add content to the accent-button-link.",
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'",
37167
+ "default": "'sbb-accent-button-link'",
37168
37168
  "inheritedFrom": {
37169
37169
  "name": "SbbElement",
37170
37170
  "module": "core/base-elements/element.js"
@@ -37361,1163 +37361,1195 @@
37361
37361
  },
37362
37362
  {
37363
37363
  "kind": "field",
37364
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
37364
+ "name": "href",
37365
37365
  "type": {
37366
- "text": "array"
37366
+ "text": "string"
37367
37367
  },
37368
- "privacy": "private",
37369
- "readonly": true,
37370
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
37368
+ "privacy": "public",
37369
+ "default": "''",
37370
+ "description": "The href value you want to link to.",
37371
+ "attribute": "href",
37372
+ "reflects": true,
37371
37373
  "inheritedFrom": {
37372
- "name": "SbbButtonBaseElement",
37373
- "module": "core/base-elements/button-base-element.js"
37374
+ "name": "SbbLinkBaseElement",
37375
+ "module": "core/base-elements/link-base-element.js"
37374
37376
  }
37375
37377
  },
37376
37378
  {
37377
37379
  "kind": "field",
37378
- "name": "value",
37380
+ "name": "target",
37379
37381
  "type": {
37380
- "text": "string"
37382
+ "text": "LinkTargetType | string"
37381
37383
  },
37382
37384
  "privacy": "public",
37383
37385
  "default": "''",
37384
- "description": "Value of the form element.",
37385
- "attribute": "value",
37386
+ "description": "Where to display the linked URL.",
37387
+ "attribute": "target",
37388
+ "reflects": true,
37386
37389
  "inheritedFrom": {
37387
- "name": "SbbButtonBaseElement",
37388
- "module": "core/base-elements/button-base-element.js"
37390
+ "name": "SbbLinkBaseElement",
37391
+ "module": "core/base-elements/link-base-element.js"
37389
37392
  }
37390
37393
  },
37391
37394
  {
37392
37395
  "kind": "field",
37393
- "name": "type",
37396
+ "name": "rel",
37397
+ "type": {
37398
+ "text": "string"
37399
+ },
37394
37400
  "privacy": "public",
37395
- "description": "The type attribute to use for the button.",
37396
- "default": "'button'",
37401
+ "default": "''",
37402
+ "description": "The relationship of the linked URL as space-separated link types.",
37403
+ "attribute": "rel",
37404
+ "reflects": true,
37405
+ "inheritedFrom": {
37406
+ "name": "SbbLinkBaseElement",
37407
+ "module": "core/base-elements/link-base-element.js"
37408
+ }
37409
+ },
37410
+ {
37411
+ "kind": "field",
37412
+ "name": "download",
37397
37413
  "type": {
37398
- "text": "SbbButtonType"
37414
+ "text": "boolean"
37399
37415
  },
37400
- "attribute": "type",
37416
+ "privacy": "public",
37417
+ "default": "false",
37418
+ "description": "Whether the browser will show the download dialog on click.",
37419
+ "attribute": "download",
37420
+ "reflects": true,
37401
37421
  "inheritedFrom": {
37402
- "name": "SbbButtonBaseElement",
37403
- "module": "core/base-elements/button-base-element.js"
37422
+ "name": "SbbLinkBaseElement",
37423
+ "module": "core/base-elements/link-base-element.js"
37404
37424
  }
37405
37425
  },
37406
37426
  {
37407
37427
  "kind": "field",
37408
- "name": "form",
37428
+ "name": "accessibilityLabel",
37409
37429
  "type": {
37410
- "text": "HTMLFormElement | null"
37430
+ "text": "string"
37411
37431
  },
37412
37432
  "privacy": "public",
37413
- "description": "The `<form>` element to associate the button with.",
37414
- "attribute": "form",
37433
+ "default": "''",
37434
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
37435
+ "attribute": "accessibility-label",
37415
37436
  "inheritedFrom": {
37416
- "name": "SbbButtonBaseElement",
37417
- "module": "core/base-elements/button-base-element.js"
37437
+ "name": "SbbLinkBaseElement",
37438
+ "module": "core/base-elements/link-base-element.js"
37418
37439
  }
37419
37440
  },
37420
37441
  {
37421
37442
  "kind": "field",
37422
- "name": "_formId",
37443
+ "name": "accessibilityCurrent",
37423
37444
  "type": {
37424
37445
  "text": "string"
37425
37446
  },
37426
- "privacy": "private",
37447
+ "privacy": "public",
37427
37448
  "default": "''",
37449
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
37450
+ "attribute": "accessibility-current",
37428
37451
  "inheritedFrom": {
37429
- "name": "SbbButtonBaseElement",
37430
- "module": "core/base-elements/button-base-element.js"
37452
+ "name": "SbbLinkBaseElement",
37453
+ "module": "core/base-elements/link-base-element.js"
37431
37454
  }
37432
37455
  },
37433
37456
  {
37434
37457
  "kind": "field",
37435
- "name": "_handleButtonClick",
37458
+ "name": "language",
37459
+ "privacy": "protected",
37460
+ "default": "new SbbLanguageController(this)",
37461
+ "inheritedFrom": {
37462
+ "name": "SbbLinkBaseElement",
37463
+ "module": "core/base-elements/link-base-element.js"
37464
+ }
37465
+ },
37466
+ {
37467
+ "kind": "field",
37468
+ "name": "anchorRole",
37469
+ "type": {
37470
+ "text": "string | null"
37471
+ },
37472
+ "privacy": "protected",
37473
+ "readonly": true,
37474
+ "default": "null",
37475
+ "inheritedFrom": {
37476
+ "name": "SbbLinkBaseElement",
37477
+ "module": "core/base-elements/link-base-element.js"
37478
+ }
37479
+ },
37480
+ {
37481
+ "kind": "field",
37482
+ "name": "_evaluateRelAttribute",
37436
37483
  "privacy": "private",
37437
37484
  "inheritedFrom": {
37438
- "name": "SbbButtonBaseElement",
37439
- "module": "core/base-elements/button-base-element.js"
37485
+ "name": "SbbLinkBaseElement",
37486
+ "module": "core/base-elements/link-base-element.js"
37440
37487
  }
37441
37488
  },
37442
37489
  {
37443
37490
  "kind": "method",
37444
- "name": "_requestSubmit",
37445
- "privacy": "private",
37491
+ "name": "renderLink",
37492
+ "privacy": "protected",
37446
37493
  "return": {
37447
37494
  "type": {
37448
- "text": "void"
37495
+ "text": "TemplateResult"
37449
37496
  }
37450
37497
  },
37451
37498
  "parameters": [
37452
37499
  {
37453
- "name": "form",
37500
+ "name": "renderContent",
37454
37501
  "type": {
37455
- "text": "HTMLFormElement"
37502
+ "text": "TemplateResult"
37456
37503
  }
37457
37504
  }
37458
37505
  ],
37459
37506
  "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"
37507
+ "name": "SbbLinkBaseElement",
37508
+ "module": "core/base-elements/link-base-element.js"
37471
37509
  }
37472
37510
  },
37473
37511
  {
37474
37512
  "kind": "field",
37475
- "name": "formAssociated",
37513
+ "name": "maybeDisabled",
37476
37514
  "type": {
37477
- "text": "boolean"
37515
+ "text": "boolean | undefined"
37478
37516
  },
37479
- "privacy": "public",
37480
- "static": true,
37481
- "default": "true",
37517
+ "privacy": "protected",
37518
+ "readonly": true,
37482
37519
  "inheritedFrom": {
37483
- "name": "SbbFormAssociatedMixin",
37484
- "module": "core/mixins/form-associated-mixin.js"
37520
+ "name": "SbbActionBaseElement",
37521
+ "module": "core/base-elements/action-base-element.js"
37485
37522
  }
37486
37523
  },
37487
37524
  {
37488
37525
  "kind": "field",
37489
- "name": "name",
37490
- "privacy": "public",
37491
- "description": "Name of the form element. Will be read from name attribute.",
37526
+ "name": "maybeDisabledInteractive",
37492
37527
  "type": {
37493
- "text": "string"
37528
+ "text": "boolean | undefined"
37494
37529
  },
37495
- "attribute": "name",
37530
+ "privacy": "protected",
37531
+ "readonly": true,
37496
37532
  "inheritedFrom": {
37497
- "name": "SbbFormAssociatedMixin",
37498
- "module": "core/mixins/form-associated-mixin.js"
37533
+ "name": "SbbActionBaseElement",
37534
+ "module": "core/base-elements/action-base-element.js"
37499
37535
  }
37500
37536
  },
37501
37537
  {
37502
- "kind": "field",
37503
- "name": "validity",
37504
- "type": {
37505
- "text": "ValidityState"
37538
+ "kind": "method",
37539
+ "name": "setupBaseEventHandlers",
37540
+ "privacy": "protected",
37541
+ "return": {
37542
+ "type": {
37543
+ "text": "void"
37544
+ }
37506
37545
  },
37507
- "privacy": "public",
37508
- "description": "Returns the ValidityState object for this element.",
37509
- "readonly": true,
37510
37546
  "inheritedFrom": {
37511
- "name": "SbbFormAssociatedMixin",
37512
- "module": "core/mixins/form-associated-mixin.js"
37547
+ "name": "SbbActionBaseElement",
37548
+ "module": "core/base-elements/action-base-element.js"
37513
37549
  }
37514
37550
  },
37515
37551
  {
37516
37552
  "kind": "field",
37517
- "name": "validationMessage",
37553
+ "name": "_hydrationRequired",
37518
37554
  "type": {
37519
- "text": "string"
37555
+ "text": "boolean"
37520
37556
  },
37521
- "privacy": "public",
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,
37557
+ "privacy": "private",
37558
+ "default": "!!this.shadowRoot",
37524
37559
  "inheritedFrom": {
37525
- "name": "SbbFormAssociatedMixin",
37526
- "module": "core/mixins/form-associated-mixin.js"
37560
+ "name": "SbbHydrationMixin",
37561
+ "module": "core/mixins/hydration-mixin.js"
37527
37562
  }
37528
37563
  },
37529
37564
  {
37530
37565
  "kind": "field",
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,
37566
+ "name": "_hydrationComplete",
37567
+ "privacy": "private",
37568
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
37538
37569
  "inheritedFrom": {
37539
- "name": "SbbFormAssociatedMixin",
37540
- "module": "core/mixins/form-associated-mixin.js"
37570
+ "name": "SbbHydrationMixin",
37571
+ "module": "core/mixins/hydration-mixin.js"
37541
37572
  }
37542
37573
  },
37543
37574
  {
37544
37575
  "kind": "field",
37545
- "name": "_validityStates",
37576
+ "name": "_resolveHydration",
37577
+ "type": {
37578
+ "text": "(hydrationRequired: boolean) => void"
37579
+ },
37546
37580
  "privacy": "private",
37547
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
37548
37581
  "inheritedFrom": {
37549
- "name": "SbbFormAssociatedMixin",
37550
- "module": "core/mixins/form-associated-mixin.js"
37582
+ "name": "SbbHydrationMixin",
37583
+ "module": "core/mixins/hydration-mixin.js"
37551
37584
  }
37552
37585
  },
37553
37586
  {
37554
37587
  "kind": "field",
37555
- "name": "formDisabled",
37588
+ "name": "hydrationRequired",
37556
37589
  "type": {
37557
37590
  "text": "boolean"
37558
37591
  },
37559
37592
  "privacy": "protected",
37560
- "default": "false",
37561
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
37593
+ "description": "Returns whether hydration is required and not completed.",
37594
+ "readonly": true,
37562
37595
  "inheritedFrom": {
37563
- "name": "SbbFormAssociatedMixin",
37564
- "module": "core/mixins/form-associated-mixin.js"
37565
- }
37596
+ "name": "SbbHydrationMixin",
37597
+ "module": "core/mixins/hydration-mixin.js"
37598
+ },
37599
+ "default": "!!this.shadowRoot"
37566
37600
  },
37567
37601
  {
37568
37602
  "kind": "method",
37569
- "name": "checkValidity",
37570
- "privacy": "public",
37603
+ "name": "toggleState",
37604
+ "privacy": "protected",
37571
37605
  "return": {
37572
37606
  "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",
37623
- "privacy": "private",
37624
- "return": {
37625
- "type": {
37626
- "text": "boolean"
37627
- }
37628
- },
37629
- "inheritedFrom": {
37630
- "name": "SbbFormAssociatedMixin",
37631
- "module": "core/mixins/form-associated-mixin.js"
37632
- }
37633
- },
37634
- {
37635
- "kind": "method",
37636
- "name": "updateFormValue",
37637
- "privacy": "protected",
37638
- "return": {
37639
- "type": {
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"
37607
+ "text": "void"
37670
37608
  }
37671
37609
  },
37672
37610
  "parameters": [
37673
37611
  {
37674
- "name": "flag",
37675
- "type": {
37676
- "text": "T"
37677
- }
37678
- },
37679
- {
37680
- "name": "message",
37612
+ "name": "value",
37681
37613
  "type": {
37682
37614
  "text": "string"
37683
37615
  }
37684
37616
  },
37685
37617
  {
37686
- "name": "flagValue",
37618
+ "name": "force",
37687
37619
  "optional": true,
37688
37620
  "type": {
37689
- "text": "ValidityStateFlags[T]"
37690
- }
37691
- }
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).",
37694
- "inheritedFrom": {
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"
37621
+ "text": "boolean"
37751
37622
  }
37752
37623
  }
37753
37624
  ],
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
37625
  "inheritedFrom": {
37770
- "name": "SbbFormAssociatedMixin",
37771
- "module": "core/mixins/form-associated-mixin.js"
37626
+ "name": "SbbElementInternalsMixin",
37627
+ "module": "core/mixins/element-internals-mixin.js"
37772
37628
  }
37773
37629
  },
37774
37630
  {
37775
37631
  "kind": "field",
37776
- "name": "role",
37632
+ "name": "['_$sbbElement$']",
37777
37633
  "type": {
37778
- "text": "ElementInternals['role']"
37634
+ "text": "boolean"
37779
37635
  },
37780
37636
  "privacy": "public",
37781
37637
  "static": true,
37782
- "readonly": true,
37783
- "default": "'button'",
37638
+ "default": "true",
37784
37639
  "inheritedFrom": {
37785
- "name": "SbbButtonLikeBaseElement",
37786
- "module": "core/base-elements/button-base-element.js"
37640
+ "name": "SbbElement",
37641
+ "module": "core/base-elements/element.js"
37787
37642
  }
37788
37643
  },
37789
37644
  {
37790
37645
  "kind": "field",
37791
- "name": "_preventScrollOnSpaceKeydown",
37646
+ "name": "_controllers",
37647
+ "type": {
37648
+ "text": "Set<SbbReactiveController> | undefined"
37649
+ },
37792
37650
  "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
37651
  "inheritedFrom": {
37801
- "name": "SbbButtonLikeBaseElement",
37802
- "module": "core/base-elements/button-base-element.js"
37652
+ "name": "SbbElement",
37653
+ "module": "core/base-elements/element.js"
37803
37654
  }
37655
+ }
37656
+ ],
37657
+ "mixins": [
37658
+ {
37659
+ "name": "SbbButtonCommonElementMixin",
37660
+ "module": "button/common/button-common.js"
37804
37661
  },
37805
37662
  {
37806
- "kind": "field",
37807
- "name": "_removeActiveMarker",
37808
- "privacy": "private",
37809
- "inheritedFrom": {
37810
- "name": "SbbButtonLikeBaseElement",
37811
- "module": "core/base-elements/button-base-element.js"
37812
- }
37663
+ "name": "SbbDisabledInteractiveMixin",
37664
+ "module": "core/mixins.js"
37813
37665
  },
37814
37666
  {
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
- ],
37667
+ "name": "SbbDisabledMixin",
37668
+ "module": "core/mixins.js"
37669
+ }
37670
+ ],
37671
+ "superclass": {
37672
+ "name": "SbbLinkBaseElement",
37673
+ "module": "core/base-elements.js"
37674
+ },
37675
+ "tagName": "sbb-accent-button-link",
37676
+ "customElement": true,
37677
+ "attributes": [
37678
+ {
37679
+ "name": "size",
37680
+ "type": {
37681
+ "text": "SbbButtonSize"
37682
+ },
37683
+ "description": "Size variant, either l, m or s.",
37684
+ "default": "'l' / 's' (lean)",
37685
+ "fieldName": "size",
37825
37686
  "inheritedFrom": {
37826
- "name": "SbbButtonLikeBaseElement",
37827
- "module": "core/base-elements/button-base-element.js"
37687
+ "name": "SbbButtonCommonElementMixin",
37688
+ "module": "button/common/button-common.js"
37828
37689
  }
37829
37690
  },
37830
37691
  {
37831
- "kind": "field",
37832
- "name": "_dispatchClickEvent",
37833
- "privacy": "private",
37692
+ "name": "loading",
37693
+ "type": {
37694
+ "text": "boolean"
37695
+ },
37696
+ "default": "false",
37697
+ "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
37698
+ "fieldName": "loading",
37834
37699
  "inheritedFrom": {
37835
- "name": "SbbButtonLikeBaseElement",
37836
- "module": "core/base-elements/button-base-element.js"
37700
+ "name": "SbbButtonCommonElementMixin",
37701
+ "module": "button/common/button-common.js"
37837
37702
  }
37838
37703
  },
37839
37704
  {
37840
- "kind": "field",
37841
- "name": "maybeDisabled",
37705
+ "name": "negative",
37842
37706
  "type": {
37843
- "text": "boolean | undefined"
37707
+ "text": "boolean"
37844
37708
  },
37845
- "privacy": "protected",
37846
- "readonly": true,
37709
+ "default": "false",
37710
+ "description": "Negative coloring variant flag.",
37711
+ "fieldName": "negative",
37847
37712
  "inheritedFrom": {
37848
- "name": "SbbActionBaseElement",
37849
- "module": "core/base-elements/action-base-element.js"
37713
+ "name": "SbbNegativeMixin",
37714
+ "module": "core/mixins/negative-mixin.js"
37850
37715
  }
37851
37716
  },
37852
37717
  {
37853
- "kind": "field",
37854
- "name": "maybeDisabledInteractive",
37718
+ "name": "icon-name",
37855
37719
  "type": {
37856
- "text": "boolean | undefined"
37720
+ "text": "string"
37857
37721
  },
37858
- "privacy": "protected",
37859
- "readonly": true,
37722
+ "default": "''",
37723
+ "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.",
37724
+ "fieldName": "iconName",
37860
37725
  "inheritedFrom": {
37861
- "name": "SbbActionBaseElement",
37862
- "module": "core/base-elements/action-base-element.js"
37726
+ "name": "SbbIconNameMixin",
37727
+ "module": "icon/icon-name-mixin.js"
37863
37728
  }
37864
37729
  },
37865
37730
  {
37866
- "kind": "method",
37867
- "name": "setupBaseEventHandlers",
37868
- "privacy": "protected",
37869
- "return": {
37870
- "type": {
37871
- "text": "void"
37872
- }
37731
+ "name": "disabled-interactive",
37732
+ "type": {
37733
+ "text": "boolean"
37873
37734
  },
37735
+ "default": "false",
37736
+ "description": "Whether the button should be aria-disabled but stay interactive.",
37737
+ "fieldName": "disabledInteractive",
37874
37738
  "inheritedFrom": {
37875
- "name": "SbbActionBaseElement",
37876
- "module": "core/base-elements/action-base-element.js"
37739
+ "name": "SbbDisabledInteractiveMixin",
37740
+ "module": "core/mixins/disabled-mixin.js"
37877
37741
  }
37878
37742
  },
37879
37743
  {
37880
- "kind": "field",
37881
- "name": "_hydrationRequired",
37744
+ "name": "disabled",
37745
+ "description": "Whether the component is disabled.",
37746
+ "default": "false",
37882
37747
  "type": {
37883
37748
  "text": "boolean"
37884
37749
  },
37885
- "privacy": "private",
37886
- "default": "!!this.shadowRoot",
37750
+ "fieldName": "disabled",
37887
37751
  "inheritedFrom": {
37888
- "name": "SbbHydrationMixin",
37889
- "module": "core/mixins/hydration-mixin.js"
37752
+ "name": "SbbDisabledMixin",
37753
+ "module": "core/mixins/disabled-mixin.js"
37890
37754
  }
37891
37755
  },
37892
37756
  {
37893
- "kind": "field",
37894
- "name": "_hydrationComplete",
37895
- "privacy": "private",
37896
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
37757
+ "name": "href",
37758
+ "type": {
37759
+ "text": "string"
37760
+ },
37761
+ "default": "''",
37762
+ "description": "The href value you want to link to.",
37763
+ "fieldName": "href",
37897
37764
  "inheritedFrom": {
37898
- "name": "SbbHydrationMixin",
37899
- "module": "core/mixins/hydration-mixin.js"
37765
+ "name": "SbbLinkBaseElement",
37766
+ "module": "core/base-elements/link-base-element.js"
37900
37767
  }
37901
37768
  },
37902
37769
  {
37903
- "kind": "field",
37904
- "name": "_resolveHydration",
37770
+ "name": "target",
37905
37771
  "type": {
37906
- "text": "(hydrationRequired: boolean) => void"
37772
+ "text": "LinkTargetType | string"
37907
37773
  },
37908
- "privacy": "private",
37774
+ "default": "''",
37775
+ "description": "Where to display the linked URL.",
37776
+ "fieldName": "target",
37909
37777
  "inheritedFrom": {
37910
- "name": "SbbHydrationMixin",
37911
- "module": "core/mixins/hydration-mixin.js"
37778
+ "name": "SbbLinkBaseElement",
37779
+ "module": "core/base-elements/link-base-element.js"
37912
37780
  }
37913
37781
  },
37914
37782
  {
37915
- "kind": "field",
37916
- "name": "hydrationRequired",
37783
+ "name": "rel",
37917
37784
  "type": {
37918
- "text": "boolean"
37785
+ "text": "string"
37919
37786
  },
37920
- "privacy": "protected",
37921
- "description": "Returns whether hydration is required and not completed.",
37922
- "readonly": true,
37787
+ "default": "''",
37788
+ "description": "The relationship of the linked URL as space-separated link types.",
37789
+ "fieldName": "rel",
37923
37790
  "inheritedFrom": {
37924
- "name": "SbbHydrationMixin",
37925
- "module": "core/mixins/hydration-mixin.js"
37926
- },
37927
- "default": "!!this.shadowRoot"
37791
+ "name": "SbbLinkBaseElement",
37792
+ "module": "core/base-elements/link-base-element.js"
37793
+ }
37928
37794
  },
37929
37795
  {
37930
- "kind": "method",
37931
- "name": "toggleState",
37932
- "privacy": "protected",
37933
- "return": {
37934
- "type": {
37935
- "text": "void"
37936
- }
37796
+ "name": "download",
37797
+ "type": {
37798
+ "text": "boolean"
37937
37799
  },
37938
- "parameters": [
37939
- {
37940
- "name": "value",
37941
- "type": {
37942
- "text": "string"
37943
- }
37944
- },
37945
- {
37946
- "name": "force",
37947
- "optional": true,
37948
- "type": {
37949
- "text": "boolean"
37950
- }
37951
- }
37952
- ],
37800
+ "default": "false",
37801
+ "description": "Whether the browser will show the download dialog on click.",
37802
+ "fieldName": "download",
37953
37803
  "inheritedFrom": {
37954
- "name": "SbbElementInternalsMixin",
37955
- "module": "core/mixins/element-internals-mixin.js"
37804
+ "name": "SbbLinkBaseElement",
37805
+ "module": "core/base-elements/link-base-element.js"
37956
37806
  }
37957
37807
  },
37958
37808
  {
37959
- "kind": "field",
37960
- "name": "['_$sbbElement$']",
37809
+ "name": "accessibility-label",
37961
37810
  "type": {
37962
- "text": "boolean"
37811
+ "text": "string"
37963
37812
  },
37964
- "privacy": "public",
37965
- "static": true,
37966
- "default": "true",
37813
+ "default": "''",
37814
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
37815
+ "fieldName": "accessibilityLabel",
37967
37816
  "inheritedFrom": {
37968
- "name": "SbbElement",
37969
- "module": "core/base-elements/element.js"
37817
+ "name": "SbbLinkBaseElement",
37818
+ "module": "core/base-elements/link-base-element.js"
37970
37819
  }
37971
37820
  },
37972
37821
  {
37973
- "kind": "field",
37974
- "name": "_controllers",
37822
+ "name": "accessibility-current",
37975
37823
  "type": {
37976
- "text": "Set<SbbReactiveController> | undefined"
37824
+ "text": "string"
37977
37825
  },
37978
- "privacy": "private",
37826
+ "default": "''",
37827
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
37828
+ "fieldName": "accessibilityCurrent",
37979
37829
  "inheritedFrom": {
37980
- "name": "SbbElement",
37981
- "module": "core/base-elements/element.js"
37830
+ "name": "SbbLinkBaseElement",
37831
+ "module": "core/base-elements/link-base-element.js"
37982
37832
  }
37983
37833
  }
37834
+ ]
37835
+ }
37836
+ ],
37837
+ "exports": [
37838
+ {
37839
+ "kind": "js",
37840
+ "name": "SbbAccentButtonLinkElement",
37841
+ "declaration": {
37842
+ "name": "SbbAccentButtonLinkElement",
37843
+ "module": "button/accent-button-link/accent-button-link.component.js"
37844
+ }
37845
+ }
37846
+ ]
37847
+ },
37848
+ {
37849
+ "kind": "javascript-module",
37850
+ "path": "button/accent-button/accent-button.component.js",
37851
+ "declarations": [
37852
+ {
37853
+ "kind": "class",
37854
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37855
+ "name": "SbbAccentButtonElement",
37856
+ "cssProperties": [
37857
+ {
37858
+ "description": "The delay before the loading animation starts, when setting the button into loading state.",
37859
+ "name": "--sbb-button-loading-delay",
37860
+ "default": "300ms"
37861
+ }
37984
37862
  ],
37985
- "mixins": [
37863
+ "slots": [
37986
37864
  {
37987
- "name": "SbbButtonCommonElementMixin",
37988
- "module": "button/common/button-common.js"
37865
+ "description": "Use the unnamed slot to add content to the accent-button.",
37866
+ "name": ""
37989
37867
  },
37990
37868
  {
37991
- "name": "SbbDisabledTabIndexActionMixin",
37992
- "module": "core/mixins.js"
37869
+ "description": "Slot used to display the icon, if one is set.",
37870
+ "name": "icon"
37993
37871
  }
37994
37872
  ],
37995
- "superclass": {
37996
- "name": "SbbButtonBaseElement",
37997
- "module": "core/base-elements.js"
37998
- },
37999
- "tagName": "sbb-accent-button",
38000
- "customElement": true,
38001
- "attributes": [
37873
+ "members": [
37874
+ {
37875
+ "kind": "field",
37876
+ "name": "elementName",
37877
+ "type": {
37878
+ "text": "string"
37879
+ },
37880
+ "privacy": "public",
37881
+ "static": true,
37882
+ "readonly": true,
37883
+ "default": "'sbb-accent-button'",
37884
+ "inheritedFrom": {
37885
+ "name": "SbbElement",
37886
+ "module": "core/base-elements/element.js"
37887
+ }
37888
+ },
38002
37889
  {
37890
+ "kind": "field",
38003
37891
  "name": "size",
38004
37892
  "type": {
38005
37893
  "text": "SbbButtonSize"
38006
37894
  },
37895
+ "privacy": "public",
38007
37896
  "description": "Size variant, either l, m or s.",
38008
37897
  "default": "'l' / 's' (lean)",
38009
- "fieldName": "size",
37898
+ "attribute": "size",
37899
+ "reflects": true,
38010
37900
  "inheritedFrom": {
38011
37901
  "name": "SbbButtonCommonElementMixin",
38012
37902
  "module": "button/common/button-common.js"
38013
37903
  }
38014
37904
  },
38015
37905
  {
37906
+ "kind": "field",
38016
37907
  "name": "loading",
38017
37908
  "type": {
38018
37909
  "text": "boolean"
38019
37910
  },
37911
+ "privacy": "public",
38020
37912
  "default": "false",
38021
37913
  "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
38022
- "fieldName": "loading",
37914
+ "attribute": "loading",
37915
+ "reflects": true,
38023
37916
  "inheritedFrom": {
38024
37917
  "name": "SbbButtonCommonElementMixin",
38025
37918
  "module": "button/common/button-common.js"
38026
37919
  }
38027
37920
  },
38028
37921
  {
37922
+ "kind": "method",
37923
+ "name": "renderTemplate",
37924
+ "privacy": "protected",
37925
+ "return": {
37926
+ "type": {
37927
+ "text": "TemplateResult"
37928
+ }
37929
+ },
37930
+ "description": "Override this method to render the component template.",
37931
+ "inheritedFrom": {
37932
+ "name": "SbbActionBaseElement",
37933
+ "module": "core/base-elements/action-base-element.js"
37934
+ }
37935
+ },
37936
+ {
37937
+ "kind": "field",
38029
37938
  "name": "negative",
38030
37939
  "type": {
38031
37940
  "text": "boolean"
38032
37941
  },
37942
+ "privacy": "public",
38033
37943
  "default": "false",
38034
37944
  "description": "Negative coloring variant flag.",
38035
- "fieldName": "negative",
37945
+ "attribute": "negative",
37946
+ "reflects": true,
38036
37947
  "inheritedFrom": {
38037
37948
  "name": "SbbNegativeMixin",
38038
37949
  "module": "core/mixins/negative-mixin.js"
38039
37950
  }
38040
37951
  },
38041
37952
  {
38042
- "name": "icon-name",
37953
+ "kind": "field",
37954
+ "name": "iconName",
38043
37955
  "type": {
38044
37956
  "text": "string"
38045
37957
  },
37958
+ "privacy": "public",
38046
37959
  "default": "''",
38047
37960
  "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.",
38048
- "fieldName": "iconName",
37961
+ "attribute": "icon-name",
38049
37962
  "inheritedFrom": {
38050
37963
  "name": "SbbIconNameMixin",
38051
37964
  "module": "icon/icon-name-mixin.js"
38052
37965
  }
38053
37966
  },
38054
37967
  {
38055
- "name": "disabled-interactive",
37968
+ "kind": "method",
37969
+ "name": "renderIconSlot",
37970
+ "privacy": "protected",
37971
+ "return": {
37972
+ "type": {
37973
+ "text": "TemplateResult"
37974
+ }
37975
+ },
37976
+ "parameters": [
37977
+ {
37978
+ "name": "classname",
37979
+ "optional": true,
37980
+ "type": {
37981
+ "text": "string"
37982
+ }
37983
+ }
37984
+ ],
37985
+ "inheritedFrom": {
37986
+ "name": "SbbIconNameMixin",
37987
+ "module": "icon/icon-name-mixin.js"
37988
+ }
37989
+ },
37990
+ {
37991
+ "kind": "method",
37992
+ "name": "renderIconName",
37993
+ "privacy": "protected",
37994
+ "return": {
37995
+ "type": {
37996
+ "text": "string"
37997
+ }
37998
+ },
37999
+ "inheritedFrom": {
38000
+ "name": "SbbIconNameMixin",
38001
+ "module": "icon/icon-name-mixin.js"
38002
+ }
38003
+ },
38004
+ {
38005
+ "kind": "method",
38006
+ "name": "_renderIconName",
38007
+ "privacy": "private",
38008
+ "return": {
38009
+ "type": {
38010
+ "text": "string"
38011
+ }
38012
+ },
38013
+ "inheritedFrom": {
38014
+ "name": "SbbIconNameMixin",
38015
+ "module": "icon/icon-name-mixin.js"
38016
+ }
38017
+ },
38018
+ {
38019
+ "kind": "field",
38020
+ "name": "disabledInteractive",
38056
38021
  "type": {
38057
38022
  "text": "boolean"
38058
38023
  },
38024
+ "privacy": "public",
38059
38025
  "default": "false",
38060
38026
  "description": "Whether the button should be aria-disabled but stay interactive.",
38061
- "fieldName": "disabledInteractive",
38027
+ "attribute": "disabled-interactive",
38028
+ "reflects": true,
38062
38029
  "inheritedFrom": {
38063
38030
  "name": "SbbDisabledInteractiveMixin",
38064
38031
  "module": "core/mixins/disabled-mixin.js"
38065
38032
  }
38066
38033
  },
38067
38034
  {
38035
+ "kind": "field",
38068
38036
  "name": "disabled",
38037
+ "privacy": "public",
38069
38038
  "description": "Whether the component is disabled.",
38070
38039
  "default": "false",
38071
38040
  "type": {
38072
38041
  "text": "boolean"
38073
38042
  },
38074
- "fieldName": "disabled",
38043
+ "attribute": "disabled",
38044
+ "reflects": true,
38045
+ "inheritedFrom": {
38046
+ "name": "SbbDisabledMixin",
38047
+ "module": "core/mixins/disabled-mixin.js"
38048
+ }
38049
+ },
38050
+ {
38051
+ "kind": "field",
38052
+ "name": "#disabled",
38053
+ "privacy": "private",
38054
+ "type": {
38055
+ "text": "boolean"
38056
+ },
38057
+ "default": "false",
38058
+ "inheritedFrom": {
38059
+ "name": "SbbDisabledMixin",
38060
+ "module": "core/mixins/disabled-mixin.js"
38061
+ }
38062
+ },
38063
+ {
38064
+ "kind": "method",
38065
+ "name": "isDisabledExternally",
38066
+ "privacy": "protected",
38067
+ "return": {
38068
+ "type": {
38069
+ "text": "boolean"
38070
+ }
38071
+ },
38072
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
38075
38073
  "inheritedFrom": {
38076
38074
  "name": "SbbDisabledMixin",
38077
38075
  "module": "core/mixins/disabled-mixin.js"
38078
38076
  }
38079
38077
  },
38080
38078
  {
38079
+ "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",
38081
38094
  "name": "value",
38082
38095
  "type": {
38083
38096
  "text": "string"
38084
38097
  },
38098
+ "privacy": "public",
38085
38099
  "default": "''",
38086
38100
  "description": "Value of the form element.",
38087
- "fieldName": "value",
38101
+ "attribute": "value",
38088
38102
  "inheritedFrom": {
38089
38103
  "name": "SbbButtonBaseElement",
38090
38104
  "module": "core/base-elements/button-base-element.js"
38091
38105
  }
38092
38106
  },
38093
38107
  {
38108
+ "kind": "field",
38094
38109
  "name": "type",
38110
+ "privacy": "public",
38095
38111
  "description": "The type attribute to use for the button.",
38096
38112
  "default": "'button'",
38097
38113
  "type": {
38098
38114
  "text": "SbbButtonType"
38099
38115
  },
38100
- "fieldName": "type",
38116
+ "attribute": "type",
38101
38117
  "inheritedFrom": {
38102
38118
  "name": "SbbButtonBaseElement",
38103
38119
  "module": "core/base-elements/button-base-element.js"
38104
38120
  }
38105
38121
  },
38106
38122
  {
38123
+ "kind": "field",
38107
38124
  "name": "form",
38108
- "description": "The `<form>` element to associate the button with.",
38109
38125
  "type": {
38110
38126
  "text": "HTMLFormElement | null"
38111
38127
  },
38112
- "fieldName": "form",
38128
+ "privacy": "public",
38129
+ "description": "The `<form>` element to associate the button with.",
38130
+ "attribute": "form",
38113
38131
  "inheritedFrom": {
38114
38132
  "name": "SbbButtonBaseElement",
38115
38133
  "module": "core/base-elements/button-base-element.js"
38116
38134
  }
38117
38135
  },
38118
38136
  {
38119
- "name": "name",
38120
- "description": "Name of the form element. Will be read from name attribute.",
38137
+ "kind": "field",
38138
+ "name": "_formId",
38121
38139
  "type": {
38122
38140
  "text": "string"
38123
38141
  },
38124
- "fieldName": "name",
38142
+ "privacy": "private",
38143
+ "default": "''",
38125
38144
  "inheritedFrom": {
38126
- "name": "SbbFormAssociatedMixin",
38127
- "module": "core/mixins/form-associated-mixin.js"
38145
+ "name": "SbbButtonBaseElement",
38146
+ "module": "core/base-elements/button-base-element.js"
38128
38147
  }
38129
- }
38130
- ]
38131
- }
38132
- ],
38133
- "exports": [
38134
- {
38135
- "kind": "js",
38136
- "name": "SbbAccentButtonElement",
38137
- "declaration": {
38138
- "name": "SbbAccentButtonElement",
38139
- "module": "button/accent-button/accent-button.component.js"
38140
- }
38141
- }
38142
- ]
38143
- },
38144
- {
38145
- "kind": "javascript-module",
38146
- "path": "button/accent-button-link/accent-button-link.component.js",
38147
- "declarations": [
38148
- {
38149
- "kind": "class",
38150
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
38151
- "name": "SbbAccentButtonLinkElement",
38152
- "cssProperties": [
38148
+ },
38153
38149
  {
38154
- "description": "The delay before the loading animation starts, when setting the button into loading state.",
38155
- "name": "--sbb-button-loading-delay",
38156
- "default": "300ms"
38157
- }
38158
- ],
38159
- "slots": [
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
+ },
38160
38158
  {
38161
- "description": "Use the unnamed slot to add content to the accent-button-link.",
38162
- "name": ""
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
+ }
38163
38179
  },
38164
38180
  {
38165
- "description": "Slot used to display the icon, if one is set.",
38166
- "name": "icon"
38167
- }
38168
- ],
38169
- "members": [
38181
+ "kind": "field",
38182
+ "name": "_formKeyDown",
38183
+ "privacy": "private",
38184
+ "inheritedFrom": {
38185
+ "name": "SbbButtonBaseElement",
38186
+ "module": "core/base-elements/button-base-element.js"
38187
+ }
38188
+ },
38189
+ {
38190
+ "kind": "field",
38191
+ "name": "formAssociated",
38192
+ "type": {
38193
+ "text": "boolean"
38194
+ },
38195
+ "privacy": "public",
38196
+ "static": true,
38197
+ "default": "true",
38198
+ "inheritedFrom": {
38199
+ "name": "SbbFormAssociatedMixin",
38200
+ "module": "core/mixins/form-associated-mixin.js"
38201
+ }
38202
+ },
38170
38203
  {
38171
38204
  "kind": "field",
38172
- "name": "elementName",
38205
+ "name": "name",
38206
+ "privacy": "public",
38207
+ "description": "Name of the form element. Will be read from name attribute.",
38173
38208
  "type": {
38174
38209
  "text": "string"
38175
38210
  },
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
+ },
38176
38223
  "privacy": "public",
38177
- "static": true,
38224
+ "description": "Returns the ValidityState object for this element.",
38178
38225
  "readonly": true,
38179
- "default": "'sbb-accent-button-link'",
38180
38226
  "inheritedFrom": {
38181
- "name": "SbbElement",
38182
- "module": "core/base-elements/element.js"
38227
+ "name": "SbbFormAssociatedMixin",
38228
+ "module": "core/mixins/form-associated-mixin.js"
38183
38229
  }
38184
38230
  },
38185
38231
  {
38186
38232
  "kind": "field",
38187
- "name": "size",
38233
+ "name": "validationMessage",
38188
38234
  "type": {
38189
- "text": "SbbButtonSize"
38235
+ "text": "string"
38190
38236
  },
38191
38237
  "privacy": "public",
38192
- "description": "Size variant, either l, m or s.",
38193
- "default": "'l' / 's' (lean)",
38194
- "attribute": "size",
38195
- "reflects": true,
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,
38196
38240
  "inheritedFrom": {
38197
- "name": "SbbButtonCommonElementMixin",
38198
- "module": "button/common/button-common.js"
38241
+ "name": "SbbFormAssociatedMixin",
38242
+ "module": "core/mixins/form-associated-mixin.js"
38199
38243
  }
38200
38244
  },
38201
38245
  {
38202
38246
  "kind": "field",
38203
- "name": "loading",
38247
+ "name": "willValidate",
38204
38248
  "type": {
38205
38249
  "text": "boolean"
38206
38250
  },
38207
38251
  "privacy": "public",
38208
- "default": "false",
38209
- "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
38210
- "attribute": "loading",
38211
- "reflects": true,
38252
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
38253
+ "readonly": true,
38212
38254
  "inheritedFrom": {
38213
- "name": "SbbButtonCommonElementMixin",
38214
- "module": "button/common/button-common.js"
38255
+ "name": "SbbFormAssociatedMixin",
38256
+ "module": "core/mixins/form-associated-mixin.js"
38215
38257
  }
38216
38258
  },
38217
38259
  {
38218
- "kind": "method",
38219
- "name": "renderTemplate",
38220
- "privacy": "protected",
38221
- "return": {
38222
- "type": {
38223
- "text": "TemplateResult"
38224
- }
38225
- },
38226
- "description": "Override this method to render the component template.",
38260
+ "kind": "field",
38261
+ "name": "_validityStates",
38262
+ "privacy": "private",
38263
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
38227
38264
  "inheritedFrom": {
38228
- "name": "SbbActionBaseElement",
38229
- "module": "core/base-elements/action-base-element.js"
38265
+ "name": "SbbFormAssociatedMixin",
38266
+ "module": "core/mixins/form-associated-mixin.js"
38230
38267
  }
38231
38268
  },
38232
38269
  {
38233
38270
  "kind": "field",
38234
- "name": "negative",
38271
+ "name": "formDisabled",
38235
38272
  "type": {
38236
38273
  "text": "boolean"
38237
38274
  },
38238
- "privacy": "public",
38275
+ "privacy": "protected",
38239
38276
  "default": "false",
38240
- "description": "Negative coloring variant flag.",
38241
- "attribute": "negative",
38242
- "reflects": true,
38277
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
38243
38278
  "inheritedFrom": {
38244
- "name": "SbbNegativeMixin",
38245
- "module": "core/mixins/negative-mixin.js"
38279
+ "name": "SbbFormAssociatedMixin",
38280
+ "module": "core/mixins/form-associated-mixin.js"
38246
38281
  }
38247
38282
  },
38248
38283
  {
38249
- "kind": "field",
38250
- "name": "iconName",
38251
- "type": {
38252
- "text": "string"
38284
+ "kind": "method",
38285
+ "name": "checkValidity",
38286
+ "privacy": "public",
38287
+ "return": {
38288
+ "type": {
38289
+ "text": "boolean"
38290
+ }
38253
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",
38254
38301
  "privacy": "public",
38255
- "default": "''",
38256
- "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.",
38257
- "attribute": "icon-name",
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.",
38258
38308
  "inheritedFrom": {
38259
- "name": "SbbIconNameMixin",
38260
- "module": "icon/icon-name-mixin.js"
38309
+ "name": "SbbFormAssociatedMixin",
38310
+ "module": "core/mixins/form-associated-mixin.js"
38261
38311
  }
38262
38312
  },
38263
38313
  {
38264
38314
  "kind": "method",
38265
- "name": "renderIconSlot",
38266
- "privacy": "protected",
38315
+ "name": "setCustomValidity",
38316
+ "privacy": "public",
38267
38317
  "return": {
38268
38318
  "type": {
38269
- "text": "TemplateResult"
38319
+ "text": "void"
38270
38320
  }
38271
38321
  },
38272
38322
  "parameters": [
38273
38323
  {
38274
- "name": "classname",
38275
- "optional": true,
38324
+ "name": "message",
38276
38325
  "type": {
38277
38326
  "text": "string"
38278
38327
  }
38279
38328
  }
38280
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.",
38281
38331
  "inheritedFrom": {
38282
- "name": "SbbIconNameMixin",
38283
- "module": "icon/icon-name-mixin.js"
38332
+ "name": "SbbFormAssociatedMixin",
38333
+ "module": "core/mixins/form-associated-mixin.js"
38284
38334
  }
38285
38335
  },
38286
38336
  {
38287
38337
  "kind": "method",
38288
- "name": "renderIconName",
38289
- "privacy": "protected",
38338
+ "name": "_hasDisabledAncestor",
38339
+ "privacy": "private",
38290
38340
  "return": {
38291
38341
  "type": {
38292
- "text": "string"
38342
+ "text": "boolean"
38293
38343
  }
38294
38344
  },
38295
38345
  "inheritedFrom": {
38296
- "name": "SbbIconNameMixin",
38297
- "module": "icon/icon-name-mixin.js"
38346
+ "name": "SbbFormAssociatedMixin",
38347
+ "module": "core/mixins/form-associated-mixin.js"
38298
38348
  }
38299
38349
  },
38300
38350
  {
38301
38351
  "kind": "method",
38302
- "name": "_renderIconName",
38303
- "privacy": "private",
38352
+ "name": "updateFormValue",
38353
+ "privacy": "protected",
38304
38354
  "return": {
38305
38355
  "type": {
38306
- "text": "string"
38356
+ "text": "void"
38307
38357
  }
38308
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",
38309
38360
  "inheritedFrom": {
38310
- "name": "SbbIconNameMixin",
38311
- "module": "icon/icon-name-mixin.js"
38312
- }
38313
- },
38314
- {
38315
- "kind": "field",
38316
- "name": "disabledInteractive",
38317
- "type": {
38318
- "text": "boolean"
38319
- },
38320
- "privacy": "public",
38321
- "default": "false",
38322
- "description": "Whether the button should be aria-disabled but stay interactive.",
38323
- "attribute": "disabled-interactive",
38324
- "reflects": true,
38325
- "inheritedFrom": {
38326
- "name": "SbbDisabledInteractiveMixin",
38327
- "module": "core/mixins/disabled-mixin.js"
38328
- }
38329
- },
38330
- {
38331
- "kind": "field",
38332
- "name": "disabled",
38333
- "privacy": "public",
38334
- "description": "Whether the component is disabled.",
38335
- "default": "false",
38336
- "type": {
38337
- "text": "boolean"
38338
- },
38339
- "attribute": "disabled",
38340
- "reflects": true,
38341
- "inheritedFrom": {
38342
- "name": "SbbDisabledMixin",
38343
- "module": "core/mixins/disabled-mixin.js"
38344
- }
38345
- },
38346
- {
38347
- "kind": "field",
38348
- "name": "#disabled",
38349
- "privacy": "private",
38350
- "type": {
38351
- "text": "boolean"
38352
- },
38353
- "default": "false",
38354
- "inheritedFrom": {
38355
- "name": "SbbDisabledMixin",
38356
- "module": "core/mixins/disabled-mixin.js"
38361
+ "name": "SbbFormAssociatedMixin",
38362
+ "module": "core/mixins/form-associated-mixin.js"
38357
38363
  }
38358
38364
  },
38359
38365
  {
38360
38366
  "kind": "method",
38361
- "name": "isDisabledExternally",
38367
+ "name": "formState",
38362
38368
  "privacy": "protected",
38363
38369
  "return": {
38364
38370
  "type": {
38365
- "text": "boolean"
38371
+ "text": "FormRestoreState"
38366
38372
  }
38367
38373
  },
38368
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
38369
38374
  "inheritedFrom": {
38370
- "name": "SbbDisabledMixin",
38371
- "module": "core/mixins/disabled-mixin.js"
38375
+ "name": "SbbFormAssociatedMixin",
38376
+ "module": "core/mixins/form-associated-mixin.js"
38372
38377
  }
38373
38378
  },
38374
38379
  {
38375
- "kind": "field",
38376
- "name": "href",
38377
- "type": {
38378
- "text": "string"
38380
+ "kind": "method",
38381
+ "name": "setValidityFlag",
38382
+ "privacy": "protected",
38383
+ "return": {
38384
+ "type": {
38385
+ "text": "void"
38386
+ }
38379
38387
  },
38380
- "privacy": "public",
38381
- "default": "''",
38382
- "description": "The href value you want to link to.",
38383
- "attribute": "href",
38384
- "reflects": true,
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).",
38385
38410
  "inheritedFrom": {
38386
- "name": "SbbLinkBaseElement",
38387
- "module": "core/base-elements/link-base-element.js"
38411
+ "name": "SbbFormAssociatedMixin",
38412
+ "module": "core/mixins/form-associated-mixin.js"
38388
38413
  }
38389
38414
  },
38390
38415
  {
38391
- "kind": "field",
38392
- "name": "target",
38393
- "type": {
38394
- "text": "LinkTargetType | string"
38416
+ "kind": "method",
38417
+ "name": "removeValidityFlag",
38418
+ "privacy": "protected",
38419
+ "return": {
38420
+ "type": {
38421
+ "text": "void"
38422
+ }
38395
38423
  },
38396
- "privacy": "public",
38397
- "default": "''",
38398
- "description": "Where to display the linked URL.",
38399
- "attribute": "target",
38400
- "reflects": true,
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.",
38401
38433
  "inheritedFrom": {
38402
- "name": "SbbLinkBaseElement",
38403
- "module": "core/base-elements/link-base-element.js"
38434
+ "name": "SbbFormAssociatedMixin",
38435
+ "module": "core/mixins/form-associated-mixin.js"
38404
38436
  }
38405
38437
  },
38406
38438
  {
38407
- "kind": "field",
38408
- "name": "rel",
38409
- "type": {
38410
- "text": "string"
38439
+ "kind": "method",
38440
+ "name": "validate",
38441
+ "privacy": "protected",
38442
+ "return": {
38443
+ "type": {
38444
+ "text": "void"
38445
+ }
38411
38446
  },
38412
- "privacy": "public",
38413
- "default": "''",
38414
- "description": "The relationship of the linked URL as space-separated link types.",
38415
- "attribute": "rel",
38416
- "reflects": true,
38447
+ "description": "To be called whenever the current element needs to be validated.",
38417
38448
  "inheritedFrom": {
38418
- "name": "SbbLinkBaseElement",
38419
- "module": "core/base-elements/link-base-element.js"
38449
+ "name": "SbbFormAssociatedMixin",
38450
+ "module": "core/mixins/form-associated-mixin.js"
38420
38451
  }
38421
38452
  },
38422
38453
  {
38423
- "kind": "field",
38424
- "name": "download",
38425
- "type": {
38426
- "text": "boolean"
38454
+ "kind": "method",
38455
+ "name": "shouldValidate",
38456
+ "privacy": "protected",
38457
+ "return": {
38458
+ "type": {
38459
+ "text": "boolean"
38460
+ }
38427
38461
  },
38428
- "privacy": "public",
38429
- "default": "false",
38430
- "description": "Whether the browser will show the download dialog on click.",
38431
- "attribute": "download",
38432
- "reflects": true,
38462
+ "parameters": [
38463
+ {
38464
+ "name": "name",
38465
+ "type": {
38466
+ "text": "PropertyKey | undefined"
38467
+ }
38468
+ }
38469
+ ],
38470
+ "description": "Whether validation should be run on a property change with the given name.",
38433
38471
  "inheritedFrom": {
38434
- "name": "SbbLinkBaseElement",
38435
- "module": "core/base-elements/link-base-element.js"
38472
+ "name": "SbbFormAssociatedMixin",
38473
+ "module": "core/mixins/form-associated-mixin.js"
38436
38474
  }
38437
38475
  },
38438
38476
  {
38439
- "kind": "field",
38440
- "name": "accessibilityLabel",
38441
- "type": {
38442
- "text": "string"
38477
+ "kind": "method",
38478
+ "name": "_setInternalValidity",
38479
+ "privacy": "private",
38480
+ "return": {
38481
+ "type": {
38482
+ "text": "void"
38483
+ }
38443
38484
  },
38444
- "privacy": "public",
38445
- "default": "''",
38446
- "description": "This will be forwarded as aria-label to the inner anchor element.",
38447
- "attribute": "accessibility-label",
38448
38485
  "inheritedFrom": {
38449
- "name": "SbbLinkBaseElement",
38450
- "module": "core/base-elements/link-base-element.js"
38486
+ "name": "SbbFormAssociatedMixin",
38487
+ "module": "core/mixins/form-associated-mixin.js"
38451
38488
  }
38452
38489
  },
38453
38490
  {
38454
38491
  "kind": "field",
38455
- "name": "accessibilityCurrent",
38492
+ "name": "role",
38456
38493
  "type": {
38457
- "text": "string"
38494
+ "text": "ElementInternals['role']"
38458
38495
  },
38459
38496
  "privacy": "public",
38460
- "default": "''",
38461
- "description": "This will be forwarded as aria-current to the inner anchor element.",
38462
- "attribute": "accessibility-current",
38497
+ "static": true,
38498
+ "readonly": true,
38499
+ "default": "'button'",
38463
38500
  "inheritedFrom": {
38464
- "name": "SbbLinkBaseElement",
38465
- "module": "core/base-elements/link-base-element.js"
38501
+ "name": "SbbButtonLikeBaseElement",
38502
+ "module": "core/base-elements/button-base-element.js"
38466
38503
  }
38467
38504
  },
38468
38505
  {
38469
38506
  "kind": "field",
38470
- "name": "language",
38471
- "privacy": "protected",
38472
- "default": "new SbbLanguageController(this)",
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
+ ],
38473
38516
  "inheritedFrom": {
38474
- "name": "SbbLinkBaseElement",
38475
- "module": "core/base-elements/link-base-element.js"
38517
+ "name": "SbbButtonLikeBaseElement",
38518
+ "module": "core/base-elements/button-base-element.js"
38476
38519
  }
38477
38520
  },
38478
38521
  {
38479
38522
  "kind": "field",
38480
- "name": "anchorRole",
38481
- "type": {
38482
- "text": "string | null"
38483
- },
38484
- "privacy": "protected",
38485
- "readonly": true,
38486
- "default": "null",
38523
+ "name": "_removeActiveMarker",
38524
+ "privacy": "private",
38487
38525
  "inheritedFrom": {
38488
- "name": "SbbLinkBaseElement",
38489
- "module": "core/base-elements/link-base-element.js"
38526
+ "name": "SbbButtonLikeBaseElement",
38527
+ "module": "core/base-elements/button-base-element.js"
38490
38528
  }
38491
38529
  },
38492
38530
  {
38493
38531
  "kind": "field",
38494
- "name": "_evaluateRelAttribute",
38532
+ "name": "_dispatchClickEventOnSpaceKeyup",
38495
38533
  "privacy": "private",
38496
- "inheritedFrom": {
38497
- "name": "SbbLinkBaseElement",
38498
- "module": "core/base-elements/link-base-element.js"
38499
- }
38500
- },
38501
- {
38502
- "kind": "method",
38503
- "name": "renderLink",
38504
- "privacy": "protected",
38505
- "return": {
38506
- "type": {
38507
- "text": "TemplateResult"
38508
- }
38509
- },
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.",
38510
38535
  "parameters": [
38511
38536
  {
38512
- "name": "renderContent",
38513
- "type": {
38514
- "text": "TemplateResult"
38515
- }
38537
+ "description": "The origin event.",
38538
+ "name": "event"
38516
38539
  }
38517
38540
  ],
38518
38541
  "inheritedFrom": {
38519
- "name": "SbbLinkBaseElement",
38520
- "module": "core/base-elements/link-base-element.js"
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
+ "inheritedFrom": {
38551
+ "name": "SbbButtonLikeBaseElement",
38552
+ "module": "core/base-elements/button-base-element.js"
38521
38553
  }
38522
38554
  },
38523
38555
  {
@@ -38672,19 +38704,15 @@
38672
38704
  "module": "button/common/button-common.js"
38673
38705
  },
38674
38706
  {
38675
- "name": "SbbDisabledInteractiveMixin",
38676
- "module": "core/mixins.js"
38677
- },
38678
- {
38679
- "name": "SbbDisabledMixin",
38707
+ "name": "SbbDisabledTabIndexActionMixin",
38680
38708
  "module": "core/mixins.js"
38681
38709
  }
38682
38710
  ],
38683
38711
  "superclass": {
38684
- "name": "SbbLinkBaseElement",
38712
+ "name": "SbbButtonBaseElement",
38685
38713
  "module": "core/base-elements.js"
38686
38714
  },
38687
- "tagName": "sbb-accent-button-link",
38715
+ "tagName": "sbb-accent-button",
38688
38716
  "customElement": true,
38689
38717
  "attributes": [
38690
38718
  {
@@ -38766,81 +38794,53 @@
38766
38794
  }
38767
38795
  },
38768
38796
  {
38769
- "name": "href",
38770
- "type": {
38771
- "text": "string"
38772
- },
38773
- "default": "''",
38774
- "description": "The href value you want to link to.",
38775
- "fieldName": "href",
38776
- "inheritedFrom": {
38777
- "name": "SbbLinkBaseElement",
38778
- "module": "core/base-elements/link-base-element.js"
38779
- }
38780
- },
38781
- {
38782
- "name": "target",
38783
- "type": {
38784
- "text": "LinkTargetType | string"
38785
- },
38786
- "default": "''",
38787
- "description": "Where to display the linked URL.",
38788
- "fieldName": "target",
38789
- "inheritedFrom": {
38790
- "name": "SbbLinkBaseElement",
38791
- "module": "core/base-elements/link-base-element.js"
38792
- }
38793
- },
38794
- {
38795
- "name": "rel",
38797
+ "name": "value",
38796
38798
  "type": {
38797
38799
  "text": "string"
38798
38800
  },
38799
38801
  "default": "''",
38800
- "description": "The relationship of the linked URL as space-separated link types.",
38801
- "fieldName": "rel",
38802
+ "description": "Value of the form element.",
38803
+ "fieldName": "value",
38802
38804
  "inheritedFrom": {
38803
- "name": "SbbLinkBaseElement",
38804
- "module": "core/base-elements/link-base-element.js"
38805
+ "name": "SbbButtonBaseElement",
38806
+ "module": "core/base-elements/button-base-element.js"
38805
38807
  }
38806
38808
  },
38807
38809
  {
38808
- "name": "download",
38810
+ "name": "type",
38811
+ "description": "The type attribute to use for the button.",
38812
+ "default": "'button'",
38809
38813
  "type": {
38810
- "text": "boolean"
38814
+ "text": "SbbButtonType"
38811
38815
  },
38812
- "default": "false",
38813
- "description": "Whether the browser will show the download dialog on click.",
38814
- "fieldName": "download",
38816
+ "fieldName": "type",
38815
38817
  "inheritedFrom": {
38816
- "name": "SbbLinkBaseElement",
38817
- "module": "core/base-elements/link-base-element.js"
38818
+ "name": "SbbButtonBaseElement",
38819
+ "module": "core/base-elements/button-base-element.js"
38818
38820
  }
38819
38821
  },
38820
38822
  {
38821
- "name": "accessibility-label",
38823
+ "name": "form",
38824
+ "description": "The `<form>` element to associate the button with.",
38822
38825
  "type": {
38823
- "text": "string"
38826
+ "text": "HTMLFormElement | null"
38824
38827
  },
38825
- "default": "''",
38826
- "description": "This will be forwarded as aria-label to the inner anchor element.",
38827
- "fieldName": "accessibilityLabel",
38828
+ "fieldName": "form",
38828
38829
  "inheritedFrom": {
38829
- "name": "SbbLinkBaseElement",
38830
- "module": "core/base-elements/link-base-element.js"
38830
+ "name": "SbbButtonBaseElement",
38831
+ "module": "core/base-elements/button-base-element.js"
38831
38832
  }
38832
38833
  },
38833
38834
  {
38834
- "name": "accessibility-current",
38835
+ "name": "name",
38836
+ "description": "Name of the form element. Will be read from name attribute.",
38835
38837
  "type": {
38836
38838
  "text": "string"
38837
38839
  },
38838
- "default": "''",
38839
- "description": "This will be forwarded as aria-current to the inner anchor element.",
38840
- "fieldName": "accessibilityCurrent",
38840
+ "fieldName": "name",
38841
38841
  "inheritedFrom": {
38842
- "name": "SbbLinkBaseElement",
38843
- "module": "core/base-elements/link-base-element.js"
38842
+ "name": "SbbFormAssociatedMixin",
38843
+ "module": "core/mixins/form-associated-mixin.js"
38844
38844
  }
38845
38845
  }
38846
38846
  ]
@@ -38849,10 +38849,10 @@
38849
38849
  "exports": [
38850
38850
  {
38851
38851
  "kind": "js",
38852
- "name": "SbbAccentButtonLinkElement",
38852
+ "name": "SbbAccentButtonElement",
38853
38853
  "declaration": {
38854
- "name": "SbbAccentButtonLinkElement",
38855
- "module": "button/accent-button-link/accent-button-link.component.js"
38854
+ "name": "SbbAccentButtonElement",
38855
+ "module": "button/accent-button/accent-button.component.js"
38856
38856
  }
38857
38857
  }
38858
38858
  ]