@sbb-esta/lyne-elements-dev 4.6.0-dev.1772145545 → 4.6.0-dev.1772184050

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 +983 -983
  2. package/package.json +2 -2
@@ -26010,12 +26010,12 @@
26010
26010
  },
26011
26011
  {
26012
26012
  "kind": "javascript-module",
26013
- "path": "button/accent-button-link/accent-button-link.component.js",
26013
+ "path": "button/accent-button/accent-button.component.js",
26014
26014
  "declarations": [
26015
26015
  {
26016
26016
  "kind": "class",
26017
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
26018
- "name": "SbbAccentButtonLinkElement",
26017
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
26018
+ "name": "SbbAccentButtonElement",
26019
26019
  "cssProperties": [
26020
26020
  {
26021
26021
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -26025,7 +26025,7 @@
26025
26025
  ],
26026
26026
  "slots": [
26027
26027
  {
26028
- "description": "Use the unnamed slot to add content to the accent-button-link.",
26028
+ "description": "Use the unnamed slot to add content to the accent-button.",
26029
26029
  "name": ""
26030
26030
  },
26031
26031
  {
@@ -26225,151 +26225,479 @@
26225
26225
  },
26226
26226
  {
26227
26227
  "kind": "field",
26228
- "name": "href",
26228
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
26229
+ "type": {
26230
+ "text": "array"
26231
+ },
26232
+ "privacy": "private",
26233
+ "readonly": true,
26234
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
26235
+ "inheritedFrom": {
26236
+ "name": "SbbButtonBaseElement",
26237
+ "module": "core/base-elements/button-base-element.js"
26238
+ }
26239
+ },
26240
+ {
26241
+ "kind": "field",
26242
+ "name": "value",
26229
26243
  "type": {
26230
26244
  "text": "string"
26231
26245
  },
26232
26246
  "privacy": "public",
26233
26247
  "default": "''",
26234
- "description": "The href value you want to link to.",
26235
- "attribute": "href",
26236
- "reflects": true,
26248
+ "description": "Value of the form element.",
26249
+ "attribute": "value",
26237
26250
  "inheritedFrom": {
26238
- "name": "SbbLinkBaseElement",
26239
- "module": "core/base-elements/link-base-element.js"
26251
+ "name": "SbbButtonBaseElement",
26252
+ "module": "core/base-elements/button-base-element.js"
26240
26253
  }
26241
26254
  },
26242
26255
  {
26243
26256
  "kind": "field",
26244
- "name": "target",
26257
+ "name": "type",
26258
+ "privacy": "public",
26259
+ "description": "The type attribute to use for the button.",
26260
+ "default": "'button'",
26245
26261
  "type": {
26246
- "text": "LinkTargetType | string"
26262
+ "text": "SbbButtonType"
26263
+ },
26264
+ "attribute": "type",
26265
+ "inheritedFrom": {
26266
+ "name": "SbbButtonBaseElement",
26267
+ "module": "core/base-elements/button-base-element.js"
26268
+ }
26269
+ },
26270
+ {
26271
+ "kind": "field",
26272
+ "name": "form",
26273
+ "type": {
26274
+ "text": "HTMLFormElement | null"
26247
26275
  },
26248
26276
  "privacy": "public",
26249
- "default": "''",
26250
- "description": "Where to display the linked URL.",
26251
- "attribute": "target",
26252
- "reflects": true,
26277
+ "description": "The `<form>` element to associate the button with.",
26278
+ "attribute": "form",
26253
26279
  "inheritedFrom": {
26254
- "name": "SbbLinkBaseElement",
26255
- "module": "core/base-elements/link-base-element.js"
26280
+ "name": "SbbButtonBaseElement",
26281
+ "module": "core/base-elements/button-base-element.js"
26256
26282
  }
26257
26283
  },
26258
26284
  {
26259
26285
  "kind": "field",
26260
- "name": "rel",
26286
+ "name": "_formId",
26261
26287
  "type": {
26262
26288
  "text": "string"
26263
26289
  },
26264
- "privacy": "public",
26290
+ "privacy": "private",
26265
26291
  "default": "''",
26266
- "description": "The relationship of the linked URL as space-separated link types.",
26267
- "attribute": "rel",
26268
- "reflects": true,
26269
26292
  "inheritedFrom": {
26270
- "name": "SbbLinkBaseElement",
26271
- "module": "core/base-elements/link-base-element.js"
26293
+ "name": "SbbButtonBaseElement",
26294
+ "module": "core/base-elements/button-base-element.js"
26272
26295
  }
26273
26296
  },
26274
26297
  {
26275
26298
  "kind": "field",
26276
- "name": "download",
26299
+ "name": "_handleButtonClick",
26300
+ "privacy": "private",
26301
+ "inheritedFrom": {
26302
+ "name": "SbbButtonBaseElement",
26303
+ "module": "core/base-elements/button-base-element.js"
26304
+ }
26305
+ },
26306
+ {
26307
+ "kind": "method",
26308
+ "name": "_requestSubmit",
26309
+ "privacy": "private",
26310
+ "return": {
26311
+ "type": {
26312
+ "text": "void"
26313
+ }
26314
+ },
26315
+ "parameters": [
26316
+ {
26317
+ "name": "form",
26318
+ "type": {
26319
+ "text": "HTMLFormElement"
26320
+ }
26321
+ }
26322
+ ],
26323
+ "inheritedFrom": {
26324
+ "name": "SbbButtonBaseElement",
26325
+ "module": "core/base-elements/button-base-element.js"
26326
+ }
26327
+ },
26328
+ {
26329
+ "kind": "field",
26330
+ "name": "_formKeyDown",
26331
+ "privacy": "private",
26332
+ "inheritedFrom": {
26333
+ "name": "SbbButtonBaseElement",
26334
+ "module": "core/base-elements/button-base-element.js"
26335
+ }
26336
+ },
26337
+ {
26338
+ "kind": "field",
26339
+ "name": "formAssociated",
26277
26340
  "type": {
26278
26341
  "text": "boolean"
26279
26342
  },
26280
26343
  "privacy": "public",
26281
- "default": "false",
26282
- "description": "Whether the browser will show the download dialog on click.",
26283
- "attribute": "download",
26284
- "reflects": true,
26344
+ "static": true,
26345
+ "default": "true",
26285
26346
  "inheritedFrom": {
26286
- "name": "SbbLinkBaseElement",
26287
- "module": "core/base-elements/link-base-element.js"
26347
+ "name": "SbbFormAssociatedMixin",
26348
+ "module": "core/mixins/form-associated-mixin.js"
26288
26349
  }
26289
26350
  },
26290
26351
  {
26291
26352
  "kind": "field",
26292
- "name": "accessibilityLabel",
26353
+ "name": "name",
26354
+ "privacy": "public",
26355
+ "description": "Name of the form element. Will be read from name attribute.",
26293
26356
  "type": {
26294
26357
  "text": "string"
26295
26358
  },
26359
+ "attribute": "name",
26360
+ "inheritedFrom": {
26361
+ "name": "SbbFormAssociatedMixin",
26362
+ "module": "core/mixins/form-associated-mixin.js"
26363
+ }
26364
+ },
26365
+ {
26366
+ "kind": "field",
26367
+ "name": "validity",
26368
+ "type": {
26369
+ "text": "ValidityState"
26370
+ },
26296
26371
  "privacy": "public",
26297
- "default": "''",
26298
- "description": "This will be forwarded as aria-label to the inner anchor element.",
26299
- "attribute": "accessibility-label",
26372
+ "description": "Returns the ValidityState object for this element.",
26373
+ "readonly": true,
26300
26374
  "inheritedFrom": {
26301
- "name": "SbbLinkBaseElement",
26302
- "module": "core/base-elements/link-base-element.js"
26375
+ "name": "SbbFormAssociatedMixin",
26376
+ "module": "core/mixins/form-associated-mixin.js"
26303
26377
  }
26304
26378
  },
26305
26379
  {
26306
26380
  "kind": "field",
26307
- "name": "accessibilityCurrent",
26381
+ "name": "validationMessage",
26308
26382
  "type": {
26309
26383
  "text": "string"
26310
26384
  },
26311
26385
  "privacy": "public",
26312
- "default": "''",
26313
- "description": "This will be forwarded as aria-current to the inner anchor element.",
26314
- "attribute": "accessibility-current",
26386
+ "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.",
26387
+ "readonly": true,
26315
26388
  "inheritedFrom": {
26316
- "name": "SbbLinkBaseElement",
26317
- "module": "core/base-elements/link-base-element.js"
26389
+ "name": "SbbFormAssociatedMixin",
26390
+ "module": "core/mixins/form-associated-mixin.js"
26318
26391
  }
26319
26392
  },
26320
26393
  {
26321
26394
  "kind": "field",
26322
- "name": "language",
26323
- "privacy": "protected",
26324
- "default": "new SbbLanguageController(this)",
26395
+ "name": "willValidate",
26396
+ "type": {
26397
+ "text": "boolean"
26398
+ },
26399
+ "privacy": "public",
26400
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
26401
+ "readonly": true,
26325
26402
  "inheritedFrom": {
26326
- "name": "SbbLinkBaseElement",
26327
- "module": "core/base-elements/link-base-element.js"
26403
+ "name": "SbbFormAssociatedMixin",
26404
+ "module": "core/mixins/form-associated-mixin.js"
26328
26405
  }
26329
26406
  },
26330
26407
  {
26331
26408
  "kind": "field",
26332
- "name": "anchorRole",
26409
+ "name": "_validityStates",
26410
+ "privacy": "private",
26411
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
26412
+ "inheritedFrom": {
26413
+ "name": "SbbFormAssociatedMixin",
26414
+ "module": "core/mixins/form-associated-mixin.js"
26415
+ }
26416
+ },
26417
+ {
26418
+ "kind": "field",
26419
+ "name": "formDisabled",
26333
26420
  "type": {
26334
- "text": "string | null"
26421
+ "text": "boolean"
26335
26422
  },
26336
26423
  "privacy": "protected",
26337
- "readonly": true,
26338
- "default": "null",
26424
+ "default": "false",
26425
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
26339
26426
  "inheritedFrom": {
26340
- "name": "SbbLinkBaseElement",
26341
- "module": "core/base-elements/link-base-element.js"
26427
+ "name": "SbbFormAssociatedMixin",
26428
+ "module": "core/mixins/form-associated-mixin.js"
26342
26429
  }
26343
26430
  },
26344
26431
  {
26345
- "kind": "field",
26346
- "name": "_evaluateRelAttribute",
26432
+ "kind": "method",
26433
+ "name": "checkValidity",
26434
+ "privacy": "public",
26435
+ "return": {
26436
+ "type": {
26437
+ "text": "boolean"
26438
+ }
26439
+ },
26440
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
26441
+ "inheritedFrom": {
26442
+ "name": "SbbFormAssociatedMixin",
26443
+ "module": "core/mixins/form-associated-mixin.js"
26444
+ }
26445
+ },
26446
+ {
26447
+ "kind": "method",
26448
+ "name": "reportValidity",
26449
+ "privacy": "public",
26450
+ "return": {
26451
+ "type": {
26452
+ "text": "boolean"
26453
+ }
26454
+ },
26455
+ "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.",
26456
+ "inheritedFrom": {
26457
+ "name": "SbbFormAssociatedMixin",
26458
+ "module": "core/mixins/form-associated-mixin.js"
26459
+ }
26460
+ },
26461
+ {
26462
+ "kind": "method",
26463
+ "name": "setCustomValidity",
26464
+ "privacy": "public",
26465
+ "return": {
26466
+ "type": {
26467
+ "text": "void"
26468
+ }
26469
+ },
26470
+ "parameters": [
26471
+ {
26472
+ "name": "message",
26473
+ "type": {
26474
+ "text": "string"
26475
+ }
26476
+ }
26477
+ ],
26478
+ "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.",
26479
+ "inheritedFrom": {
26480
+ "name": "SbbFormAssociatedMixin",
26481
+ "module": "core/mixins/form-associated-mixin.js"
26482
+ }
26483
+ },
26484
+ {
26485
+ "kind": "method",
26486
+ "name": "_hasDisabledAncestor",
26347
26487
  "privacy": "private",
26488
+ "return": {
26489
+ "type": {
26490
+ "text": "boolean"
26491
+ }
26492
+ },
26348
26493
  "inheritedFrom": {
26349
- "name": "SbbLinkBaseElement",
26350
- "module": "core/base-elements/link-base-element.js"
26494
+ "name": "SbbFormAssociatedMixin",
26495
+ "module": "core/mixins/form-associated-mixin.js"
26351
26496
  }
26352
26497
  },
26353
26498
  {
26354
26499
  "kind": "method",
26355
- "name": "renderLink",
26500
+ "name": "updateFormValue",
26356
26501
  "privacy": "protected",
26357
26502
  "return": {
26358
26503
  "type": {
26359
- "text": "TemplateResult"
26504
+ "text": "void"
26505
+ }
26506
+ },
26507
+ "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",
26508
+ "inheritedFrom": {
26509
+ "name": "SbbFormAssociatedMixin",
26510
+ "module": "core/mixins/form-associated-mixin.js"
26511
+ }
26512
+ },
26513
+ {
26514
+ "kind": "method",
26515
+ "name": "formState",
26516
+ "privacy": "protected",
26517
+ "return": {
26518
+ "type": {
26519
+ "text": "FormRestoreState"
26520
+ }
26521
+ },
26522
+ "inheritedFrom": {
26523
+ "name": "SbbFormAssociatedMixin",
26524
+ "module": "core/mixins/form-associated-mixin.js"
26525
+ }
26526
+ },
26527
+ {
26528
+ "kind": "method",
26529
+ "name": "setValidityFlag",
26530
+ "privacy": "protected",
26531
+ "return": {
26532
+ "type": {
26533
+ "text": "void"
26360
26534
  }
26361
26535
  },
26362
26536
  "parameters": [
26363
26537
  {
26364
- "name": "renderContent",
26538
+ "name": "flag",
26365
26539
  "type": {
26366
- "text": "TemplateResult"
26540
+ "text": "T"
26541
+ }
26542
+ },
26543
+ {
26544
+ "name": "message",
26545
+ "type": {
26546
+ "text": "string"
26547
+ }
26548
+ },
26549
+ {
26550
+ "name": "flagValue",
26551
+ "optional": true,
26552
+ "type": {
26553
+ "text": "ValidityStateFlags[T]"
26367
26554
  }
26368
26555
  }
26369
26556
  ],
26557
+ "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).",
26370
26558
  "inheritedFrom": {
26371
- "name": "SbbLinkBaseElement",
26372
- "module": "core/base-elements/link-base-element.js"
26559
+ "name": "SbbFormAssociatedMixin",
26560
+ "module": "core/mixins/form-associated-mixin.js"
26561
+ }
26562
+ },
26563
+ {
26564
+ "kind": "method",
26565
+ "name": "removeValidityFlag",
26566
+ "privacy": "protected",
26567
+ "return": {
26568
+ "type": {
26569
+ "text": "void"
26570
+ }
26571
+ },
26572
+ "parameters": [
26573
+ {
26574
+ "name": "flag",
26575
+ "type": {
26576
+ "text": "T"
26577
+ }
26578
+ }
26579
+ ],
26580
+ "description": "Removes the validity state flag entry and updates validity state.",
26581
+ "inheritedFrom": {
26582
+ "name": "SbbFormAssociatedMixin",
26583
+ "module": "core/mixins/form-associated-mixin.js"
26584
+ }
26585
+ },
26586
+ {
26587
+ "kind": "method",
26588
+ "name": "validate",
26589
+ "privacy": "protected",
26590
+ "return": {
26591
+ "type": {
26592
+ "text": "void"
26593
+ }
26594
+ },
26595
+ "description": "To be called whenever the current element needs to be validated.",
26596
+ "inheritedFrom": {
26597
+ "name": "SbbFormAssociatedMixin",
26598
+ "module": "core/mixins/form-associated-mixin.js"
26599
+ }
26600
+ },
26601
+ {
26602
+ "kind": "method",
26603
+ "name": "shouldValidate",
26604
+ "privacy": "protected",
26605
+ "return": {
26606
+ "type": {
26607
+ "text": "boolean"
26608
+ }
26609
+ },
26610
+ "parameters": [
26611
+ {
26612
+ "name": "name",
26613
+ "type": {
26614
+ "text": "PropertyKey | undefined"
26615
+ }
26616
+ }
26617
+ ],
26618
+ "description": "Whether validation should be run on a property change with the given name.",
26619
+ "inheritedFrom": {
26620
+ "name": "SbbFormAssociatedMixin",
26621
+ "module": "core/mixins/form-associated-mixin.js"
26622
+ }
26623
+ },
26624
+ {
26625
+ "kind": "method",
26626
+ "name": "_setInternalValidity",
26627
+ "privacy": "private",
26628
+ "return": {
26629
+ "type": {
26630
+ "text": "void"
26631
+ }
26632
+ },
26633
+ "inheritedFrom": {
26634
+ "name": "SbbFormAssociatedMixin",
26635
+ "module": "core/mixins/form-associated-mixin.js"
26636
+ }
26637
+ },
26638
+ {
26639
+ "kind": "field",
26640
+ "name": "role",
26641
+ "type": {
26642
+ "text": "ElementInternals['role']"
26643
+ },
26644
+ "privacy": "public",
26645
+ "static": true,
26646
+ "readonly": true,
26647
+ "default": "'button'",
26648
+ "inheritedFrom": {
26649
+ "name": "SbbButtonLikeBaseElement",
26650
+ "module": "core/base-elements/button-base-element.js"
26651
+ }
26652
+ },
26653
+ {
26654
+ "kind": "field",
26655
+ "name": "_preventScrollOnSpaceKeydown",
26656
+ "privacy": "private",
26657
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
26658
+ "parameters": [
26659
+ {
26660
+ "description": "The origin event.",
26661
+ "name": "event"
26662
+ }
26663
+ ],
26664
+ "inheritedFrom": {
26665
+ "name": "SbbButtonLikeBaseElement",
26666
+ "module": "core/base-elements/button-base-element.js"
26667
+ }
26668
+ },
26669
+ {
26670
+ "kind": "field",
26671
+ "name": "_removeActiveMarker",
26672
+ "privacy": "private",
26673
+ "inheritedFrom": {
26674
+ "name": "SbbButtonLikeBaseElement",
26675
+ "module": "core/base-elements/button-base-element.js"
26676
+ }
26677
+ },
26678
+ {
26679
+ "kind": "field",
26680
+ "name": "_dispatchClickEventOnSpaceKeyup",
26681
+ "privacy": "private",
26682
+ "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.",
26683
+ "parameters": [
26684
+ {
26685
+ "description": "The origin event.",
26686
+ "name": "event"
26687
+ }
26688
+ ],
26689
+ "inheritedFrom": {
26690
+ "name": "SbbButtonLikeBaseElement",
26691
+ "module": "core/base-elements/button-base-element.js"
26692
+ }
26693
+ },
26694
+ {
26695
+ "kind": "field",
26696
+ "name": "_dispatchClickEvent",
26697
+ "privacy": "private",
26698
+ "inheritedFrom": {
26699
+ "name": "SbbButtonLikeBaseElement",
26700
+ "module": "core/base-elements/button-base-element.js"
26373
26701
  }
26374
26702
  },
26375
26703
  {
@@ -26448,19 +26776,15 @@
26448
26776
  "module": "button/common.js"
26449
26777
  },
26450
26778
  {
26451
- "name": "SbbDisabledInteractiveMixin",
26452
- "module": "core/mixins.js"
26453
- },
26454
- {
26455
- "name": "SbbDisabledMixin",
26779
+ "name": "SbbDisabledTabIndexActionMixin",
26456
26780
  "module": "core/mixins.js"
26457
26781
  }
26458
26782
  ],
26459
26783
  "superclass": {
26460
- "name": "SbbLinkBaseElement",
26784
+ "name": "SbbButtonBaseElement",
26461
26785
  "module": "core/base-elements.js"
26462
26786
  },
26463
- "tagName": "sbb-accent-button-link",
26787
+ "tagName": "sbb-accent-button",
26464
26788
  "customElement": true,
26465
26789
  "attributes": [
26466
26790
  {
@@ -26542,81 +26866,53 @@
26542
26866
  }
26543
26867
  },
26544
26868
  {
26545
- "name": "href",
26869
+ "name": "value",
26546
26870
  "type": {
26547
26871
  "text": "string"
26548
26872
  },
26549
26873
  "default": "''",
26550
- "description": "The href value you want to link to.",
26551
- "fieldName": "href",
26874
+ "description": "Value of the form element.",
26875
+ "fieldName": "value",
26552
26876
  "inheritedFrom": {
26553
- "name": "SbbLinkBaseElement",
26554
- "module": "core/base-elements/link-base-element.js"
26877
+ "name": "SbbButtonBaseElement",
26878
+ "module": "core/base-elements/button-base-element.js"
26555
26879
  }
26556
26880
  },
26557
26881
  {
26558
- "name": "target",
26882
+ "name": "type",
26883
+ "description": "The type attribute to use for the button.",
26884
+ "default": "'button'",
26559
26885
  "type": {
26560
- "text": "LinkTargetType | string"
26886
+ "text": "SbbButtonType"
26561
26887
  },
26562
- "default": "''",
26563
- "description": "Where to display the linked URL.",
26564
- "fieldName": "target",
26888
+ "fieldName": "type",
26565
26889
  "inheritedFrom": {
26566
- "name": "SbbLinkBaseElement",
26567
- "module": "core/base-elements/link-base-element.js"
26890
+ "name": "SbbButtonBaseElement",
26891
+ "module": "core/base-elements/button-base-element.js"
26568
26892
  }
26569
26893
  },
26570
26894
  {
26571
- "name": "rel",
26895
+ "name": "form",
26896
+ "description": "The `<form>` element to associate the button with.",
26572
26897
  "type": {
26573
- "text": "string"
26898
+ "text": "HTMLFormElement | null"
26574
26899
  },
26575
- "default": "''",
26576
- "description": "The relationship of the linked URL as space-separated link types.",
26577
- "fieldName": "rel",
26900
+ "fieldName": "form",
26578
26901
  "inheritedFrom": {
26579
- "name": "SbbLinkBaseElement",
26580
- "module": "core/base-elements/link-base-element.js"
26902
+ "name": "SbbButtonBaseElement",
26903
+ "module": "core/base-elements/button-base-element.js"
26581
26904
  }
26582
26905
  },
26583
26906
  {
26584
- "name": "download",
26907
+ "name": "name",
26908
+ "description": "Name of the form element. Will be read from name attribute.",
26585
26909
  "type": {
26586
- "text": "boolean"
26910
+ "text": "string"
26587
26911
  },
26588
- "default": "false",
26589
- "description": "Whether the browser will show the download dialog on click.",
26590
- "fieldName": "download",
26591
- "inheritedFrom": {
26592
- "name": "SbbLinkBaseElement",
26593
- "module": "core/base-elements/link-base-element.js"
26594
- }
26595
- },
26596
- {
26597
- "name": "accessibility-label",
26598
- "type": {
26599
- "text": "string"
26600
- },
26601
- "default": "''",
26602
- "description": "This will be forwarded as aria-label to the inner anchor element.",
26603
- "fieldName": "accessibilityLabel",
26604
- "inheritedFrom": {
26605
- "name": "SbbLinkBaseElement",
26606
- "module": "core/base-elements/link-base-element.js"
26607
- }
26608
- },
26609
- {
26610
- "name": "accessibility-current",
26611
- "type": {
26612
- "text": "string"
26613
- },
26614
- "default": "''",
26615
- "description": "This will be forwarded as aria-current to the inner anchor element.",
26616
- "fieldName": "accessibilityCurrent",
26912
+ "fieldName": "name",
26617
26913
  "inheritedFrom": {
26618
- "name": "SbbLinkBaseElement",
26619
- "module": "core/base-elements/link-base-element.js"
26914
+ "name": "SbbFormAssociatedMixin",
26915
+ "module": "core/mixins/form-associated-mixin.js"
26620
26916
  }
26621
26917
  }
26622
26918
  ]
@@ -26625,30 +26921,30 @@
26625
26921
  "exports": [
26626
26922
  {
26627
26923
  "kind": "js",
26628
- "name": "SbbAccentButtonLinkElement",
26924
+ "name": "SbbAccentButtonElement",
26629
26925
  "declaration": {
26630
- "name": "SbbAccentButtonLinkElement",
26631
- "module": "button/accent-button-link/accent-button-link.component.js"
26926
+ "name": "SbbAccentButtonElement",
26927
+ "module": "button/accent-button/accent-button.component.js"
26632
26928
  }
26633
26929
  },
26634
26930
  {
26635
26931
  "kind": "custom-element-definition",
26636
- "name": "sbb-accent-button-link",
26932
+ "name": "sbb-accent-button",
26637
26933
  "declaration": {
26638
- "name": "SbbAccentButtonLinkElement",
26639
- "module": "button/accent-button-link/accent-button-link.component.js"
26934
+ "name": "SbbAccentButtonElement",
26935
+ "module": "button/accent-button/accent-button.component.js"
26640
26936
  }
26641
26937
  }
26642
26938
  ]
26643
26939
  },
26644
26940
  {
26645
26941
  "kind": "javascript-module",
26646
- "path": "button/accent-button/accent-button.component.js",
26942
+ "path": "button/accent-button-link/accent-button-link.component.js",
26647
26943
  "declarations": [
26648
26944
  {
26649
26945
  "kind": "class",
26650
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
26651
- "name": "SbbAccentButtonElement",
26946
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
26947
+ "name": "SbbAccentButtonLinkElement",
26652
26948
  "cssProperties": [
26653
26949
  {
26654
26950
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -26658,7 +26954,7 @@
26658
26954
  ],
26659
26955
  "slots": [
26660
26956
  {
26661
- "description": "Use the unnamed slot to add content to the accent-button.",
26957
+ "description": "Use the unnamed slot to add content to the accent-button-link.",
26662
26958
  "name": ""
26663
26959
  },
26664
26960
  {
@@ -26858,479 +27154,151 @@
26858
27154
  },
26859
27155
  {
26860
27156
  "kind": "field",
26861
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
26862
- "type": {
26863
- "text": "array"
26864
- },
26865
- "privacy": "private",
26866
- "readonly": true,
26867
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
26868
- "inheritedFrom": {
26869
- "name": "SbbButtonBaseElement",
26870
- "module": "core/base-elements/button-base-element.js"
26871
- }
26872
- },
26873
- {
26874
- "kind": "field",
26875
- "name": "value",
27157
+ "name": "href",
26876
27158
  "type": {
26877
27159
  "text": "string"
26878
27160
  },
26879
27161
  "privacy": "public",
26880
27162
  "default": "''",
26881
- "description": "Value of the form element.",
26882
- "attribute": "value",
26883
- "inheritedFrom": {
26884
- "name": "SbbButtonBaseElement",
26885
- "module": "core/base-elements/button-base-element.js"
26886
- }
26887
- },
26888
- {
26889
- "kind": "field",
26890
- "name": "type",
26891
- "privacy": "public",
26892
- "description": "The type attribute to use for the button.",
26893
- "default": "'button'",
26894
- "type": {
26895
- "text": "SbbButtonType"
26896
- },
26897
- "attribute": "type",
27163
+ "description": "The href value you want to link to.",
27164
+ "attribute": "href",
27165
+ "reflects": true,
26898
27166
  "inheritedFrom": {
26899
- "name": "SbbButtonBaseElement",
26900
- "module": "core/base-elements/button-base-element.js"
27167
+ "name": "SbbLinkBaseElement",
27168
+ "module": "core/base-elements/link-base-element.js"
26901
27169
  }
26902
27170
  },
26903
27171
  {
26904
27172
  "kind": "field",
26905
- "name": "form",
27173
+ "name": "target",
26906
27174
  "type": {
26907
- "text": "HTMLFormElement | null"
27175
+ "text": "LinkTargetType | string"
26908
27176
  },
26909
27177
  "privacy": "public",
26910
- "description": "The `<form>` element to associate the button with.",
26911
- "attribute": "form",
27178
+ "default": "''",
27179
+ "description": "Where to display the linked URL.",
27180
+ "attribute": "target",
27181
+ "reflects": true,
26912
27182
  "inheritedFrom": {
26913
- "name": "SbbButtonBaseElement",
26914
- "module": "core/base-elements/button-base-element.js"
27183
+ "name": "SbbLinkBaseElement",
27184
+ "module": "core/base-elements/link-base-element.js"
26915
27185
  }
26916
27186
  },
26917
27187
  {
26918
27188
  "kind": "field",
26919
- "name": "_formId",
27189
+ "name": "rel",
26920
27190
  "type": {
26921
27191
  "text": "string"
26922
27192
  },
26923
- "privacy": "private",
27193
+ "privacy": "public",
26924
27194
  "default": "''",
27195
+ "description": "The relationship of the linked URL as space-separated link types.",
27196
+ "attribute": "rel",
27197
+ "reflects": true,
26925
27198
  "inheritedFrom": {
26926
- "name": "SbbButtonBaseElement",
26927
- "module": "core/base-elements/button-base-element.js"
26928
- }
26929
- },
26930
- {
26931
- "kind": "field",
26932
- "name": "_handleButtonClick",
26933
- "privacy": "private",
26934
- "inheritedFrom": {
26935
- "name": "SbbButtonBaseElement",
26936
- "module": "core/base-elements/button-base-element.js"
26937
- }
26938
- },
26939
- {
26940
- "kind": "method",
26941
- "name": "_requestSubmit",
26942
- "privacy": "private",
26943
- "return": {
26944
- "type": {
26945
- "text": "void"
26946
- }
26947
- },
26948
- "parameters": [
26949
- {
26950
- "name": "form",
26951
- "type": {
26952
- "text": "HTMLFormElement"
26953
- }
26954
- }
26955
- ],
26956
- "inheritedFrom": {
26957
- "name": "SbbButtonBaseElement",
26958
- "module": "core/base-elements/button-base-element.js"
26959
- }
26960
- },
26961
- {
26962
- "kind": "field",
26963
- "name": "_formKeyDown",
26964
- "privacy": "private",
26965
- "inheritedFrom": {
26966
- "name": "SbbButtonBaseElement",
26967
- "module": "core/base-elements/button-base-element.js"
27199
+ "name": "SbbLinkBaseElement",
27200
+ "module": "core/base-elements/link-base-element.js"
26968
27201
  }
26969
27202
  },
26970
27203
  {
26971
27204
  "kind": "field",
26972
- "name": "formAssociated",
27205
+ "name": "download",
26973
27206
  "type": {
26974
27207
  "text": "boolean"
26975
27208
  },
26976
27209
  "privacy": "public",
26977
- "static": true,
26978
- "default": "true",
27210
+ "default": "false",
27211
+ "description": "Whether the browser will show the download dialog on click.",
27212
+ "attribute": "download",
27213
+ "reflects": true,
26979
27214
  "inheritedFrom": {
26980
- "name": "SbbFormAssociatedMixin",
26981
- "module": "core/mixins/form-associated-mixin.js"
27215
+ "name": "SbbLinkBaseElement",
27216
+ "module": "core/base-elements/link-base-element.js"
26982
27217
  }
26983
27218
  },
26984
27219
  {
26985
27220
  "kind": "field",
26986
- "name": "name",
26987
- "privacy": "public",
26988
- "description": "Name of the form element. Will be read from name attribute.",
27221
+ "name": "accessibilityLabel",
26989
27222
  "type": {
26990
27223
  "text": "string"
26991
27224
  },
26992
- "attribute": "name",
26993
- "inheritedFrom": {
26994
- "name": "SbbFormAssociatedMixin",
26995
- "module": "core/mixins/form-associated-mixin.js"
26996
- }
26997
- },
26998
- {
26999
- "kind": "field",
27000
- "name": "validity",
27001
- "type": {
27002
- "text": "ValidityState"
27003
- },
27004
27225
  "privacy": "public",
27005
- "description": "Returns the ValidityState object for this element.",
27006
- "readonly": true,
27226
+ "default": "''",
27227
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
27228
+ "attribute": "accessibility-label",
27007
27229
  "inheritedFrom": {
27008
- "name": "SbbFormAssociatedMixin",
27009
- "module": "core/mixins/form-associated-mixin.js"
27230
+ "name": "SbbLinkBaseElement",
27231
+ "module": "core/base-elements/link-base-element.js"
27010
27232
  }
27011
27233
  },
27012
27234
  {
27013
27235
  "kind": "field",
27014
- "name": "validationMessage",
27236
+ "name": "accessibilityCurrent",
27015
27237
  "type": {
27016
27238
  "text": "string"
27017
27239
  },
27018
27240
  "privacy": "public",
27019
- "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.",
27020
- "readonly": true,
27021
- "inheritedFrom": {
27022
- "name": "SbbFormAssociatedMixin",
27023
- "module": "core/mixins/form-associated-mixin.js"
27024
- }
27025
- },
27026
- {
27027
- "kind": "field",
27028
- "name": "willValidate",
27029
- "type": {
27030
- "text": "boolean"
27031
- },
27032
- "privacy": "public",
27033
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
27034
- "readonly": true,
27241
+ "default": "''",
27242
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
27243
+ "attribute": "accessibility-current",
27035
27244
  "inheritedFrom": {
27036
- "name": "SbbFormAssociatedMixin",
27037
- "module": "core/mixins/form-associated-mixin.js"
27245
+ "name": "SbbLinkBaseElement",
27246
+ "module": "core/base-elements/link-base-element.js"
27038
27247
  }
27039
27248
  },
27040
27249
  {
27041
27250
  "kind": "field",
27042
- "name": "_validityStates",
27043
- "privacy": "private",
27044
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
27251
+ "name": "language",
27252
+ "privacy": "protected",
27253
+ "default": "new SbbLanguageController(this)",
27045
27254
  "inheritedFrom": {
27046
- "name": "SbbFormAssociatedMixin",
27047
- "module": "core/mixins/form-associated-mixin.js"
27255
+ "name": "SbbLinkBaseElement",
27256
+ "module": "core/base-elements/link-base-element.js"
27048
27257
  }
27049
27258
  },
27050
27259
  {
27051
27260
  "kind": "field",
27052
- "name": "formDisabled",
27261
+ "name": "anchorRole",
27053
27262
  "type": {
27054
- "text": "boolean"
27263
+ "text": "string | null"
27055
27264
  },
27056
27265
  "privacy": "protected",
27057
- "default": "false",
27058
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
27059
- "inheritedFrom": {
27060
- "name": "SbbFormAssociatedMixin",
27061
- "module": "core/mixins/form-associated-mixin.js"
27062
- }
27063
- },
27064
- {
27065
- "kind": "method",
27066
- "name": "checkValidity",
27067
- "privacy": "public",
27068
- "return": {
27069
- "type": {
27070
- "text": "boolean"
27071
- }
27072
- },
27073
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
27074
- "inheritedFrom": {
27075
- "name": "SbbFormAssociatedMixin",
27076
- "module": "core/mixins/form-associated-mixin.js"
27077
- }
27078
- },
27079
- {
27080
- "kind": "method",
27081
- "name": "reportValidity",
27082
- "privacy": "public",
27083
- "return": {
27084
- "type": {
27085
- "text": "boolean"
27086
- }
27087
- },
27088
- "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.",
27089
- "inheritedFrom": {
27090
- "name": "SbbFormAssociatedMixin",
27091
- "module": "core/mixins/form-associated-mixin.js"
27092
- }
27093
- },
27094
- {
27095
- "kind": "method",
27096
- "name": "setCustomValidity",
27097
- "privacy": "public",
27098
- "return": {
27099
- "type": {
27100
- "text": "void"
27101
- }
27102
- },
27103
- "parameters": [
27104
- {
27105
- "name": "message",
27106
- "type": {
27107
- "text": "string"
27108
- }
27109
- }
27110
- ],
27111
- "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.",
27266
+ "readonly": true,
27267
+ "default": "null",
27112
27268
  "inheritedFrom": {
27113
- "name": "SbbFormAssociatedMixin",
27114
- "module": "core/mixins/form-associated-mixin.js"
27269
+ "name": "SbbLinkBaseElement",
27270
+ "module": "core/base-elements/link-base-element.js"
27115
27271
  }
27116
27272
  },
27117
27273
  {
27118
- "kind": "method",
27119
- "name": "_hasDisabledAncestor",
27274
+ "kind": "field",
27275
+ "name": "_evaluateRelAttribute",
27120
27276
  "privacy": "private",
27121
- "return": {
27122
- "type": {
27123
- "text": "boolean"
27124
- }
27125
- },
27126
- "inheritedFrom": {
27127
- "name": "SbbFormAssociatedMixin",
27128
- "module": "core/mixins/form-associated-mixin.js"
27129
- }
27130
- },
27131
- {
27132
- "kind": "method",
27133
- "name": "updateFormValue",
27134
- "privacy": "protected",
27135
- "return": {
27136
- "type": {
27137
- "text": "void"
27138
- }
27139
- },
27140
- "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",
27141
- "inheritedFrom": {
27142
- "name": "SbbFormAssociatedMixin",
27143
- "module": "core/mixins/form-associated-mixin.js"
27144
- }
27145
- },
27146
- {
27147
- "kind": "method",
27148
- "name": "formState",
27149
- "privacy": "protected",
27150
- "return": {
27151
- "type": {
27152
- "text": "FormRestoreState"
27153
- }
27154
- },
27155
- "inheritedFrom": {
27156
- "name": "SbbFormAssociatedMixin",
27157
- "module": "core/mixins/form-associated-mixin.js"
27158
- }
27159
- },
27160
- {
27161
- "kind": "method",
27162
- "name": "setValidityFlag",
27163
- "privacy": "protected",
27164
- "return": {
27165
- "type": {
27166
- "text": "void"
27167
- }
27168
- },
27169
- "parameters": [
27170
- {
27171
- "name": "flag",
27172
- "type": {
27173
- "text": "T"
27174
- }
27175
- },
27176
- {
27177
- "name": "message",
27178
- "type": {
27179
- "text": "string"
27180
- }
27181
- },
27182
- {
27183
- "name": "flagValue",
27184
- "optional": true,
27185
- "type": {
27186
- "text": "ValidityStateFlags[T]"
27187
- }
27188
- }
27189
- ],
27190
- "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).",
27191
- "inheritedFrom": {
27192
- "name": "SbbFormAssociatedMixin",
27193
- "module": "core/mixins/form-associated-mixin.js"
27194
- }
27195
- },
27196
- {
27197
- "kind": "method",
27198
- "name": "removeValidityFlag",
27199
- "privacy": "protected",
27200
- "return": {
27201
- "type": {
27202
- "text": "void"
27203
- }
27204
- },
27205
- "parameters": [
27206
- {
27207
- "name": "flag",
27208
- "type": {
27209
- "text": "T"
27210
- }
27211
- }
27212
- ],
27213
- "description": "Removes the validity state flag entry and updates validity state.",
27214
- "inheritedFrom": {
27215
- "name": "SbbFormAssociatedMixin",
27216
- "module": "core/mixins/form-associated-mixin.js"
27217
- }
27218
- },
27219
- {
27220
- "kind": "method",
27221
- "name": "validate",
27222
- "privacy": "protected",
27223
- "return": {
27224
- "type": {
27225
- "text": "void"
27226
- }
27227
- },
27228
- "description": "To be called whenever the current element needs to be validated.",
27229
27277
  "inheritedFrom": {
27230
- "name": "SbbFormAssociatedMixin",
27231
- "module": "core/mixins/form-associated-mixin.js"
27278
+ "name": "SbbLinkBaseElement",
27279
+ "module": "core/base-elements/link-base-element.js"
27232
27280
  }
27233
27281
  },
27234
27282
  {
27235
27283
  "kind": "method",
27236
- "name": "shouldValidate",
27284
+ "name": "renderLink",
27237
27285
  "privacy": "protected",
27238
27286
  "return": {
27239
27287
  "type": {
27240
- "text": "boolean"
27288
+ "text": "TemplateResult"
27241
27289
  }
27242
27290
  },
27243
27291
  "parameters": [
27244
27292
  {
27245
- "name": "name",
27293
+ "name": "renderContent",
27246
27294
  "type": {
27247
- "text": "PropertyKey | undefined"
27295
+ "text": "TemplateResult"
27248
27296
  }
27249
27297
  }
27250
27298
  ],
27251
- "description": "Whether validation should be run on a property change with the given name.",
27252
27299
  "inheritedFrom": {
27253
- "name": "SbbFormAssociatedMixin",
27254
- "module": "core/mixins/form-associated-mixin.js"
27255
- }
27256
- },
27257
- {
27258
- "kind": "method",
27259
- "name": "_setInternalValidity",
27260
- "privacy": "private",
27261
- "return": {
27262
- "type": {
27263
- "text": "void"
27264
- }
27265
- },
27266
- "inheritedFrom": {
27267
- "name": "SbbFormAssociatedMixin",
27268
- "module": "core/mixins/form-associated-mixin.js"
27269
- }
27270
- },
27271
- {
27272
- "kind": "field",
27273
- "name": "role",
27274
- "type": {
27275
- "text": "ElementInternals['role']"
27276
- },
27277
- "privacy": "public",
27278
- "static": true,
27279
- "readonly": true,
27280
- "default": "'button'",
27281
- "inheritedFrom": {
27282
- "name": "SbbButtonLikeBaseElement",
27283
- "module": "core/base-elements/button-base-element.js"
27284
- }
27285
- },
27286
- {
27287
- "kind": "field",
27288
- "name": "_preventScrollOnSpaceKeydown",
27289
- "privacy": "private",
27290
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
27291
- "parameters": [
27292
- {
27293
- "description": "The origin event.",
27294
- "name": "event"
27295
- }
27296
- ],
27297
- "inheritedFrom": {
27298
- "name": "SbbButtonLikeBaseElement",
27299
- "module": "core/base-elements/button-base-element.js"
27300
- }
27301
- },
27302
- {
27303
- "kind": "field",
27304
- "name": "_removeActiveMarker",
27305
- "privacy": "private",
27306
- "inheritedFrom": {
27307
- "name": "SbbButtonLikeBaseElement",
27308
- "module": "core/base-elements/button-base-element.js"
27309
- }
27310
- },
27311
- {
27312
- "kind": "field",
27313
- "name": "_dispatchClickEventOnSpaceKeyup",
27314
- "privacy": "private",
27315
- "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.",
27316
- "parameters": [
27317
- {
27318
- "description": "The origin event.",
27319
- "name": "event"
27320
- }
27321
- ],
27322
- "inheritedFrom": {
27323
- "name": "SbbButtonLikeBaseElement",
27324
- "module": "core/base-elements/button-base-element.js"
27325
- }
27326
- },
27327
- {
27328
- "kind": "field",
27329
- "name": "_dispatchClickEvent",
27330
- "privacy": "private",
27331
- "inheritedFrom": {
27332
- "name": "SbbButtonLikeBaseElement",
27333
- "module": "core/base-elements/button-base-element.js"
27300
+ "name": "SbbLinkBaseElement",
27301
+ "module": "core/base-elements/link-base-element.js"
27334
27302
  }
27335
27303
  },
27336
27304
  {
@@ -27409,15 +27377,19 @@
27409
27377
  "module": "button/common.js"
27410
27378
  },
27411
27379
  {
27412
- "name": "SbbDisabledTabIndexActionMixin",
27380
+ "name": "SbbDisabledInteractiveMixin",
27381
+ "module": "core/mixins.js"
27382
+ },
27383
+ {
27384
+ "name": "SbbDisabledMixin",
27413
27385
  "module": "core/mixins.js"
27414
27386
  }
27415
27387
  ],
27416
27388
  "superclass": {
27417
- "name": "SbbButtonBaseElement",
27389
+ "name": "SbbLinkBaseElement",
27418
27390
  "module": "core/base-elements.js"
27419
27391
  },
27420
- "tagName": "sbb-accent-button",
27392
+ "tagName": "sbb-accent-button-link",
27421
27393
  "customElement": true,
27422
27394
  "attributes": [
27423
27395
  {
@@ -27499,53 +27471,81 @@
27499
27471
  }
27500
27472
  },
27501
27473
  {
27502
- "name": "value",
27474
+ "name": "href",
27503
27475
  "type": {
27504
27476
  "text": "string"
27505
27477
  },
27506
27478
  "default": "''",
27507
- "description": "Value of the form element.",
27508
- "fieldName": "value",
27479
+ "description": "The href value you want to link to.",
27480
+ "fieldName": "href",
27509
27481
  "inheritedFrom": {
27510
- "name": "SbbButtonBaseElement",
27511
- "module": "core/base-elements/button-base-element.js"
27482
+ "name": "SbbLinkBaseElement",
27483
+ "module": "core/base-elements/link-base-element.js"
27512
27484
  }
27513
27485
  },
27514
27486
  {
27515
- "name": "type",
27516
- "description": "The type attribute to use for the button.",
27517
- "default": "'button'",
27487
+ "name": "target",
27518
27488
  "type": {
27519
- "text": "SbbButtonType"
27489
+ "text": "LinkTargetType | string"
27520
27490
  },
27521
- "fieldName": "type",
27491
+ "default": "''",
27492
+ "description": "Where to display the linked URL.",
27493
+ "fieldName": "target",
27522
27494
  "inheritedFrom": {
27523
- "name": "SbbButtonBaseElement",
27524
- "module": "core/base-elements/button-base-element.js"
27495
+ "name": "SbbLinkBaseElement",
27496
+ "module": "core/base-elements/link-base-element.js"
27525
27497
  }
27526
27498
  },
27527
27499
  {
27528
- "name": "form",
27529
- "description": "The `<form>` element to associate the button with.",
27500
+ "name": "rel",
27530
27501
  "type": {
27531
- "text": "HTMLFormElement | null"
27502
+ "text": "string"
27532
27503
  },
27533
- "fieldName": "form",
27504
+ "default": "''",
27505
+ "description": "The relationship of the linked URL as space-separated link types.",
27506
+ "fieldName": "rel",
27534
27507
  "inheritedFrom": {
27535
- "name": "SbbButtonBaseElement",
27536
- "module": "core/base-elements/button-base-element.js"
27508
+ "name": "SbbLinkBaseElement",
27509
+ "module": "core/base-elements/link-base-element.js"
27537
27510
  }
27538
27511
  },
27539
27512
  {
27540
- "name": "name",
27541
- "description": "Name of the form element. Will be read from name attribute.",
27513
+ "name": "download",
27514
+ "type": {
27515
+ "text": "boolean"
27516
+ },
27517
+ "default": "false",
27518
+ "description": "Whether the browser will show the download dialog on click.",
27519
+ "fieldName": "download",
27520
+ "inheritedFrom": {
27521
+ "name": "SbbLinkBaseElement",
27522
+ "module": "core/base-elements/link-base-element.js"
27523
+ }
27524
+ },
27525
+ {
27526
+ "name": "accessibility-label",
27542
27527
  "type": {
27543
27528
  "text": "string"
27544
27529
  },
27545
- "fieldName": "name",
27530
+ "default": "''",
27531
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
27532
+ "fieldName": "accessibilityLabel",
27546
27533
  "inheritedFrom": {
27547
- "name": "SbbFormAssociatedMixin",
27548
- "module": "core/mixins/form-associated-mixin.js"
27534
+ "name": "SbbLinkBaseElement",
27535
+ "module": "core/base-elements/link-base-element.js"
27536
+ }
27537
+ },
27538
+ {
27539
+ "name": "accessibility-current",
27540
+ "type": {
27541
+ "text": "string"
27542
+ },
27543
+ "default": "''",
27544
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
27545
+ "fieldName": "accessibilityCurrent",
27546
+ "inheritedFrom": {
27547
+ "name": "SbbLinkBaseElement",
27548
+ "module": "core/base-elements/link-base-element.js"
27549
27549
  }
27550
27550
  }
27551
27551
  ]
@@ -27554,18 +27554,18 @@
27554
27554
  "exports": [
27555
27555
  {
27556
27556
  "kind": "js",
27557
- "name": "SbbAccentButtonElement",
27557
+ "name": "SbbAccentButtonLinkElement",
27558
27558
  "declaration": {
27559
- "name": "SbbAccentButtonElement",
27560
- "module": "button/accent-button/accent-button.component.js"
27559
+ "name": "SbbAccentButtonLinkElement",
27560
+ "module": "button/accent-button-link/accent-button-link.component.js"
27561
27561
  }
27562
27562
  },
27563
27563
  {
27564
27564
  "kind": "custom-element-definition",
27565
- "name": "sbb-accent-button",
27565
+ "name": "sbb-accent-button-link",
27566
27566
  "declaration": {
27567
- "name": "SbbAccentButtonElement",
27568
- "module": "button/accent-button/accent-button.component.js"
27567
+ "name": "SbbAccentButtonLinkElement",
27568
+ "module": "button/accent-button-link/accent-button-link.component.js"
27569
27569
  }
27570
27570
  }
27571
27571
  ]
@@ -76350,473 +76350,116 @@
76350
76350
  {
76351
76351
  "name": "optional",
76352
76352
  "type": {
76353
- "text": "boolean"
76354
- },
76355
- "default": "false",
76356
- "description": "Indicates whether the input is optional.",
76357
- "fieldName": "optional"
76358
- },
76359
- {
76360
- "name": "size",
76361
- "type": {
76362
- "text": "'l' | 'm' | 's'"
76363
- },
76364
- "description": "Size variant, either l, m or s.",
76365
- "default": "'m' / 's' (lean)",
76366
- "fieldName": "size"
76367
- },
76368
- {
76369
- "name": "borderless",
76370
- "type": {
76371
- "text": "boolean"
76372
- },
76373
- "default": "false",
76374
- "description": "Whether to display the form field without a border.",
76375
- "fieldName": "borderless"
76376
- },
76377
- {
76378
- "name": "width",
76379
- "type": {
76380
- "text": "'default' | 'collapse'"
76381
- },
76382
- "default": "'default'",
76383
- "description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
76384
- "fieldName": "width"
76385
- },
76386
- {
76387
- "name": "hidden-label",
76388
- "type": {
76389
- "text": "boolean"
76390
- },
76391
- "default": "false",
76392
- "description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
76393
- "fieldName": "hiddenLabel"
76394
- },
76395
- {
76396
- "name": "floating-label",
76397
- "type": {
76398
- "text": "boolean"
76399
- },
76400
- "default": "false",
76401
- "description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
76402
- "fieldName": "floatingLabel"
76403
- },
76404
- {
76405
- "name": "negative",
76406
- "type": {
76407
- "text": "boolean"
76408
- },
76409
- "default": "false",
76410
- "description": "Negative coloring variant flag.",
76411
- "fieldName": "negative",
76412
- "inheritedFrom": {
76413
- "name": "SbbNegativeMixin",
76414
- "module": "core/mixins/negative-mixin.js"
76415
- }
76416
- }
76417
- ],
76418
- "mixins": [
76419
- {
76420
- "name": "SbbNegativeMixin",
76421
- "module": "core/mixins.js"
76422
- },
76423
- {
76424
- "name": "SbbElementInternalsMixin",
76425
- "module": "core/mixins.js"
76426
- },
76427
- {
76428
- "name": "SbbHydrationMixin",
76429
- "module": "core/mixins.js"
76430
- }
76431
- ],
76432
- "superclass": {
76433
- "name": "LitElement",
76434
- "package": "lit"
76435
- },
76436
- "tagName": "sbb-form-field",
76437
- "customElement": true
76438
- }
76439
- ],
76440
- "exports": [
76441
- {
76442
- "kind": "js",
76443
- "name": "SbbFormFieldControlEvent",
76444
- "declaration": {
76445
- "name": "SbbFormFieldControlEvent",
76446
- "module": "form-field/form-field/form-field.component.js"
76447
- }
76448
- },
76449
- {
76450
- "kind": "js",
76451
- "name": "SbbFormFieldElement",
76452
- "declaration": {
76453
- "name": "SbbFormFieldElement",
76454
- "module": "form-field/form-field/form-field.component.js"
76455
- }
76456
- },
76457
- {
76458
- "kind": "custom-element-definition",
76459
- "name": "sbb-form-field",
76460
- "declaration": {
76461
- "name": "SbbFormFieldElement",
76462
- "module": "form-field/form-field/form-field.component.js"
76463
- }
76464
- }
76465
- ]
76466
- },
76467
- {
76468
- "kind": "javascript-module",
76469
- "path": "header/common/header-action-common.js",
76470
- "declarations": [
76471
- {
76472
- "kind": "class",
76473
- "description": "",
76474
- "name": "SbbHeaderActionCommonElementMixinType",
76475
- "members": [
76476
- {
76477
- "kind": "field",
76478
- "name": "expandFrom",
76479
- "type": {
76480
- "text": "SbbHorizontalFrom"
76481
- },
76482
- "privacy": "public"
76483
- },
76484
- {
76485
- "kind": "field",
76486
- "name": "iconName",
76487
- "type": {
76488
- "text": "string"
76489
- },
76490
- "privacy": "public",
76491
- "default": "''",
76492
- "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.",
76493
- "attribute": "icon-name",
76494
- "inheritedFrom": {
76495
- "name": "SbbIconNameMixin",
76496
- "module": "icon/icon-name-mixin.js"
76497
- }
76498
- },
76499
- {
76500
- "kind": "method",
76501
- "name": "renderIconSlot",
76502
- "privacy": "protected",
76503
- "return": {
76504
- "type": {
76505
- "text": "TemplateResult"
76506
- }
76507
- },
76508
- "parameters": [
76509
- {
76510
- "name": "classname",
76511
- "optional": true,
76512
- "type": {
76513
- "text": "string"
76514
- }
76515
- }
76516
- ],
76517
- "inheritedFrom": {
76518
- "name": "SbbIconNameMixin",
76519
- "module": "icon/icon-name-mixin.js"
76520
- }
76521
- },
76522
- {
76523
- "kind": "method",
76524
- "name": "renderIconName",
76525
- "privacy": "protected",
76526
- "return": {
76527
- "type": {
76528
- "text": "string"
76529
- }
76530
- },
76531
- "inheritedFrom": {
76532
- "name": "SbbIconNameMixin",
76533
- "module": "icon/icon-name-mixin.js"
76534
- }
76535
- },
76536
- {
76537
- "kind": "method",
76538
- "name": "_renderIconName",
76539
- "privacy": "private",
76540
- "return": {
76541
- "type": {
76542
- "text": "string"
76543
- }
76544
- },
76545
- "inheritedFrom": {
76546
- "name": "SbbIconNameMixin",
76547
- "module": "icon/icon-name-mixin.js"
76548
- }
76549
- },
76550
- {
76551
- "kind": "method",
76552
- "name": "toggleState",
76553
- "privacy": "protected",
76554
- "return": {
76555
- "type": {
76556
- "text": "void"
76557
- }
76558
- },
76559
- "parameters": [
76560
- {
76561
- "name": "value",
76562
- "type": {
76563
- "text": "string"
76564
- }
76565
- },
76566
- {
76567
- "name": "force",
76568
- "optional": true,
76569
- "type": {
76570
- "text": "boolean"
76571
- }
76572
- }
76573
- ],
76574
- "inheritedFrom": {
76575
- "name": "SbbActionBaseElement",
76576
- "module": "core/base-elements/action-base-element.js"
76577
- }
76578
- },
76579
- {
76580
- "kind": "field",
76581
- "name": "maybeDisabled",
76582
- "type": {
76583
- "text": "boolean | undefined"
76584
- },
76585
- "privacy": "protected",
76586
- "readonly": true,
76587
- "inheritedFrom": {
76588
- "name": "SbbActionBaseElement",
76589
- "module": "core/base-elements/action-base-element.js"
76590
- }
76591
- },
76592
- {
76593
- "kind": "field",
76594
- "name": "maybeDisabledInteractive",
76595
- "type": {
76596
- "text": "boolean | undefined"
76597
- },
76598
- "privacy": "protected",
76599
- "readonly": true,
76600
- "inheritedFrom": {
76601
- "name": "SbbActionBaseElement",
76602
- "module": "core/base-elements/action-base-element.js"
76603
- }
76604
- },
76605
- {
76606
- "kind": "method",
76607
- "name": "setupBaseEventHandlers",
76608
- "privacy": "protected",
76609
- "return": {
76610
- "type": {
76611
- "text": "void"
76612
- }
76613
- },
76614
- "inheritedFrom": {
76615
- "name": "SbbActionBaseElement",
76616
- "module": "core/base-elements/action-base-element.js"
76617
- }
76618
- },
76619
- {
76620
- "kind": "method",
76621
- "name": "renderTemplate",
76622
- "privacy": "protected",
76623
- "return": {
76624
- "type": {
76625
- "text": "TemplateResult"
76626
- }
76627
- },
76628
- "description": "Override this method to render the component template.",
76629
- "inheritedFrom": {
76630
- "name": "SbbActionBaseElement",
76631
- "module": "core/base-elements/action-base-element.js"
76632
- }
76633
- }
76634
- ],
76635
- "mixins": [
76636
- {
76637
- "name": "SbbIconNameMixin",
76638
- "module": "icon.js"
76639
- }
76640
- ],
76641
- "superclass": {
76642
- "name": "SbbActionBaseElement",
76643
- "module": "core/base-elements.js"
76644
- },
76645
- "attributes": [
76646
- {
76647
- "name": "icon-name",
76648
- "type": {
76649
- "text": "string"
76650
- },
76651
- "default": "''",
76652
- "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.",
76653
- "fieldName": "iconName",
76654
- "inheritedFrom": {
76655
- "name": "SbbIconNameMixin",
76656
- "module": "icon/icon-name-mixin.js"
76657
- }
76658
- }
76659
- ]
76660
- },
76661
- {
76662
- "kind": "mixin",
76663
- "description": "",
76664
- "name": "SbbHeaderActionCommonElementMixin",
76665
- "members": [
76666
- {
76667
- "kind": "field",
76668
- "name": "styles",
76669
- "type": {
76670
- "text": "CSSResultGroup"
76671
- },
76672
- "privacy": "public",
76673
- "static": true,
76674
- "default": "[boxSizingStyles, style]"
76675
- },
76676
- {
76677
- "kind": "field",
76678
- "name": "expandFrom",
76679
- "type": {
76680
- "text": "SbbHorizontalFrom"
76681
- },
76682
- "privacy": "public",
76683
- "default": "'large'",
76684
- "description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
76685
- "attribute": "expand-from",
76686
- "reflects": true
76687
- },
76688
- {
76689
- "kind": "method",
76690
- "name": "renderTemplate",
76691
- "privacy": "protected",
76692
- "return": {
76693
- "type": {
76694
- "text": "TemplateResult"
76695
- }
76696
- }
76353
+ "text": "boolean"
76354
+ },
76355
+ "default": "false",
76356
+ "description": "Indicates whether the input is optional.",
76357
+ "fieldName": "optional"
76697
76358
  },
76698
76359
  {
76699
- "kind": "field",
76700
- "name": "iconName",
76360
+ "name": "size",
76701
76361
  "type": {
76702
- "text": "string"
76362
+ "text": "'l' | 'm' | 's'"
76703
76363
  },
76704
- "privacy": "public",
76705
- "default": "''",
76706
- "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.",
76707
- "attribute": "icon-name",
76708
- "inheritedFrom": {
76709
- "name": "SbbIconNameMixin",
76710
- "module": "icon/icon-name-mixin.js"
76711
- }
76364
+ "description": "Size variant, either l, m or s.",
76365
+ "default": "'m' / 's' (lean)",
76366
+ "fieldName": "size"
76712
76367
  },
76713
76368
  {
76714
- "kind": "method",
76715
- "name": "renderIconSlot",
76716
- "privacy": "protected",
76717
- "return": {
76718
- "type": {
76719
- "text": "TemplateResult"
76720
- }
76369
+ "name": "borderless",
76370
+ "type": {
76371
+ "text": "boolean"
76721
76372
  },
76722
- "parameters": [
76723
- {
76724
- "name": "classname",
76725
- "optional": true,
76726
- "type": {
76727
- "text": "string"
76728
- }
76729
- }
76730
- ],
76731
- "inheritedFrom": {
76732
- "name": "SbbIconNameMixin",
76733
- "module": "icon/icon-name-mixin.js"
76734
- }
76373
+ "default": "false",
76374
+ "description": "Whether to display the form field without a border.",
76375
+ "fieldName": "borderless"
76735
76376
  },
76736
76377
  {
76737
- "kind": "method",
76738
- "name": "renderIconName",
76739
- "privacy": "protected",
76740
- "return": {
76741
- "type": {
76742
- "text": "string"
76743
- }
76378
+ "name": "width",
76379
+ "type": {
76380
+ "text": "'default' | 'collapse'"
76744
76381
  },
76745
- "inheritedFrom": {
76746
- "name": "SbbIconNameMixin",
76747
- "module": "icon/icon-name-mixin.js"
76748
- }
76382
+ "default": "'default'",
76383
+ "description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
76384
+ "fieldName": "width"
76749
76385
  },
76750
76386
  {
76751
- "kind": "method",
76752
- "name": "_renderIconName",
76753
- "privacy": "private",
76754
- "return": {
76755
- "type": {
76756
- "text": "string"
76757
- }
76387
+ "name": "hidden-label",
76388
+ "type": {
76389
+ "text": "boolean"
76758
76390
  },
76759
- "inheritedFrom": {
76760
- "name": "SbbIconNameMixin",
76761
- "module": "icon/icon-name-mixin.js"
76762
- }
76763
- }
76764
- ],
76765
- "attributes": [
76391
+ "default": "false",
76392
+ "description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
76393
+ "fieldName": "hiddenLabel"
76394
+ },
76766
76395
  {
76767
- "name": "expand-from",
76396
+ "name": "floating-label",
76768
76397
  "type": {
76769
- "text": "SbbHorizontalFrom"
76398
+ "text": "boolean"
76770
76399
  },
76771
- "default": "'large'",
76772
- "description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
76773
- "fieldName": "expandFrom"
76400
+ "default": "false",
76401
+ "description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
76402
+ "fieldName": "floatingLabel"
76774
76403
  },
76775
76404
  {
76776
- "name": "icon-name",
76405
+ "name": "negative",
76777
76406
  "type": {
76778
- "text": "string"
76407
+ "text": "boolean"
76779
76408
  },
76780
- "default": "''",
76781
- "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.",
76782
- "fieldName": "iconName",
76409
+ "default": "false",
76410
+ "description": "Negative coloring variant flag.",
76411
+ "fieldName": "negative",
76783
76412
  "inheritedFrom": {
76784
- "name": "SbbIconNameMixin",
76785
- "module": "icon/icon-name-mixin.js"
76413
+ "name": "SbbNegativeMixin",
76414
+ "module": "core/mixins/negative-mixin.js"
76786
76415
  }
76787
76416
  }
76788
76417
  ],
76789
76418
  "mixins": [
76790
76419
  {
76791
- "name": "SbbIconNameMixin",
76792
- "module": "icon.js"
76793
- }
76794
- ],
76795
- "parameters": [
76420
+ "name": "SbbNegativeMixin",
76421
+ "module": "core/mixins.js"
76422
+ },
76796
76423
  {
76797
- "name": "superClass",
76798
- "type": {
76799
- "text": "T"
76800
- }
76424
+ "name": "SbbElementInternalsMixin",
76425
+ "module": "core/mixins.js"
76426
+ },
76427
+ {
76428
+ "name": "SbbHydrationMixin",
76429
+ "module": "core/mixins.js"
76801
76430
  }
76802
- ]
76431
+ ],
76432
+ "superclass": {
76433
+ "name": "LitElement",
76434
+ "package": "lit"
76435
+ },
76436
+ "tagName": "sbb-form-field",
76437
+ "customElement": true
76803
76438
  }
76804
76439
  ],
76805
76440
  "exports": [
76806
76441
  {
76807
76442
  "kind": "js",
76808
- "name": "SbbHeaderActionCommonElementMixinType",
76443
+ "name": "SbbFormFieldControlEvent",
76809
76444
  "declaration": {
76810
- "name": "SbbHeaderActionCommonElementMixinType",
76811
- "module": "header/common/header-action-common.js"
76445
+ "name": "SbbFormFieldControlEvent",
76446
+ "module": "form-field/form-field/form-field.component.js"
76812
76447
  }
76813
76448
  },
76814
76449
  {
76815
76450
  "kind": "js",
76816
- "name": "SbbHeaderActionCommonElementMixin",
76451
+ "name": "SbbFormFieldElement",
76817
76452
  "declaration": {
76818
- "name": "SbbHeaderActionCommonElementMixin",
76819
- "module": "header/common/header-action-common.js"
76453
+ "name": "SbbFormFieldElement",
76454
+ "module": "form-field/form-field/form-field.component.js"
76455
+ }
76456
+ },
76457
+ {
76458
+ "kind": "custom-element-definition",
76459
+ "name": "sbb-form-field",
76460
+ "declaration": {
76461
+ "name": "SbbFormFieldElement",
76462
+ "module": "form-field/form-field/form-field.component.js"
76820
76463
  }
76821
76464
  }
76822
76465
  ]
@@ -77530,6 +77173,363 @@
77530
77173
  }
77531
77174
  ]
77532
77175
  },
77176
+ {
77177
+ "kind": "javascript-module",
77178
+ "path": "header/common/header-action-common.js",
77179
+ "declarations": [
77180
+ {
77181
+ "kind": "class",
77182
+ "description": "",
77183
+ "name": "SbbHeaderActionCommonElementMixinType",
77184
+ "members": [
77185
+ {
77186
+ "kind": "field",
77187
+ "name": "expandFrom",
77188
+ "type": {
77189
+ "text": "SbbHorizontalFrom"
77190
+ },
77191
+ "privacy": "public"
77192
+ },
77193
+ {
77194
+ "kind": "field",
77195
+ "name": "iconName",
77196
+ "type": {
77197
+ "text": "string"
77198
+ },
77199
+ "privacy": "public",
77200
+ "default": "''",
77201
+ "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.",
77202
+ "attribute": "icon-name",
77203
+ "inheritedFrom": {
77204
+ "name": "SbbIconNameMixin",
77205
+ "module": "icon/icon-name-mixin.js"
77206
+ }
77207
+ },
77208
+ {
77209
+ "kind": "method",
77210
+ "name": "renderIconSlot",
77211
+ "privacy": "protected",
77212
+ "return": {
77213
+ "type": {
77214
+ "text": "TemplateResult"
77215
+ }
77216
+ },
77217
+ "parameters": [
77218
+ {
77219
+ "name": "classname",
77220
+ "optional": true,
77221
+ "type": {
77222
+ "text": "string"
77223
+ }
77224
+ }
77225
+ ],
77226
+ "inheritedFrom": {
77227
+ "name": "SbbIconNameMixin",
77228
+ "module": "icon/icon-name-mixin.js"
77229
+ }
77230
+ },
77231
+ {
77232
+ "kind": "method",
77233
+ "name": "renderIconName",
77234
+ "privacy": "protected",
77235
+ "return": {
77236
+ "type": {
77237
+ "text": "string"
77238
+ }
77239
+ },
77240
+ "inheritedFrom": {
77241
+ "name": "SbbIconNameMixin",
77242
+ "module": "icon/icon-name-mixin.js"
77243
+ }
77244
+ },
77245
+ {
77246
+ "kind": "method",
77247
+ "name": "_renderIconName",
77248
+ "privacy": "private",
77249
+ "return": {
77250
+ "type": {
77251
+ "text": "string"
77252
+ }
77253
+ },
77254
+ "inheritedFrom": {
77255
+ "name": "SbbIconNameMixin",
77256
+ "module": "icon/icon-name-mixin.js"
77257
+ }
77258
+ },
77259
+ {
77260
+ "kind": "method",
77261
+ "name": "toggleState",
77262
+ "privacy": "protected",
77263
+ "return": {
77264
+ "type": {
77265
+ "text": "void"
77266
+ }
77267
+ },
77268
+ "parameters": [
77269
+ {
77270
+ "name": "value",
77271
+ "type": {
77272
+ "text": "string"
77273
+ }
77274
+ },
77275
+ {
77276
+ "name": "force",
77277
+ "optional": true,
77278
+ "type": {
77279
+ "text": "boolean"
77280
+ }
77281
+ }
77282
+ ],
77283
+ "inheritedFrom": {
77284
+ "name": "SbbActionBaseElement",
77285
+ "module": "core/base-elements/action-base-element.js"
77286
+ }
77287
+ },
77288
+ {
77289
+ "kind": "field",
77290
+ "name": "maybeDisabled",
77291
+ "type": {
77292
+ "text": "boolean | undefined"
77293
+ },
77294
+ "privacy": "protected",
77295
+ "readonly": true,
77296
+ "inheritedFrom": {
77297
+ "name": "SbbActionBaseElement",
77298
+ "module": "core/base-elements/action-base-element.js"
77299
+ }
77300
+ },
77301
+ {
77302
+ "kind": "field",
77303
+ "name": "maybeDisabledInteractive",
77304
+ "type": {
77305
+ "text": "boolean | undefined"
77306
+ },
77307
+ "privacy": "protected",
77308
+ "readonly": true,
77309
+ "inheritedFrom": {
77310
+ "name": "SbbActionBaseElement",
77311
+ "module": "core/base-elements/action-base-element.js"
77312
+ }
77313
+ },
77314
+ {
77315
+ "kind": "method",
77316
+ "name": "setupBaseEventHandlers",
77317
+ "privacy": "protected",
77318
+ "return": {
77319
+ "type": {
77320
+ "text": "void"
77321
+ }
77322
+ },
77323
+ "inheritedFrom": {
77324
+ "name": "SbbActionBaseElement",
77325
+ "module": "core/base-elements/action-base-element.js"
77326
+ }
77327
+ },
77328
+ {
77329
+ "kind": "method",
77330
+ "name": "renderTemplate",
77331
+ "privacy": "protected",
77332
+ "return": {
77333
+ "type": {
77334
+ "text": "TemplateResult"
77335
+ }
77336
+ },
77337
+ "description": "Override this method to render the component template.",
77338
+ "inheritedFrom": {
77339
+ "name": "SbbActionBaseElement",
77340
+ "module": "core/base-elements/action-base-element.js"
77341
+ }
77342
+ }
77343
+ ],
77344
+ "mixins": [
77345
+ {
77346
+ "name": "SbbIconNameMixin",
77347
+ "module": "icon.js"
77348
+ }
77349
+ ],
77350
+ "superclass": {
77351
+ "name": "SbbActionBaseElement",
77352
+ "module": "core/base-elements.js"
77353
+ },
77354
+ "attributes": [
77355
+ {
77356
+ "name": "icon-name",
77357
+ "type": {
77358
+ "text": "string"
77359
+ },
77360
+ "default": "''",
77361
+ "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.",
77362
+ "fieldName": "iconName",
77363
+ "inheritedFrom": {
77364
+ "name": "SbbIconNameMixin",
77365
+ "module": "icon/icon-name-mixin.js"
77366
+ }
77367
+ }
77368
+ ]
77369
+ },
77370
+ {
77371
+ "kind": "mixin",
77372
+ "description": "",
77373
+ "name": "SbbHeaderActionCommonElementMixin",
77374
+ "members": [
77375
+ {
77376
+ "kind": "field",
77377
+ "name": "styles",
77378
+ "type": {
77379
+ "text": "CSSResultGroup"
77380
+ },
77381
+ "privacy": "public",
77382
+ "static": true,
77383
+ "default": "[boxSizingStyles, style]"
77384
+ },
77385
+ {
77386
+ "kind": "field",
77387
+ "name": "expandFrom",
77388
+ "type": {
77389
+ "text": "SbbHorizontalFrom"
77390
+ },
77391
+ "privacy": "public",
77392
+ "default": "'large'",
77393
+ "description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
77394
+ "attribute": "expand-from",
77395
+ "reflects": true
77396
+ },
77397
+ {
77398
+ "kind": "method",
77399
+ "name": "renderTemplate",
77400
+ "privacy": "protected",
77401
+ "return": {
77402
+ "type": {
77403
+ "text": "TemplateResult"
77404
+ }
77405
+ }
77406
+ },
77407
+ {
77408
+ "kind": "field",
77409
+ "name": "iconName",
77410
+ "type": {
77411
+ "text": "string"
77412
+ },
77413
+ "privacy": "public",
77414
+ "default": "''",
77415
+ "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.",
77416
+ "attribute": "icon-name",
77417
+ "inheritedFrom": {
77418
+ "name": "SbbIconNameMixin",
77419
+ "module": "icon/icon-name-mixin.js"
77420
+ }
77421
+ },
77422
+ {
77423
+ "kind": "method",
77424
+ "name": "renderIconSlot",
77425
+ "privacy": "protected",
77426
+ "return": {
77427
+ "type": {
77428
+ "text": "TemplateResult"
77429
+ }
77430
+ },
77431
+ "parameters": [
77432
+ {
77433
+ "name": "classname",
77434
+ "optional": true,
77435
+ "type": {
77436
+ "text": "string"
77437
+ }
77438
+ }
77439
+ ],
77440
+ "inheritedFrom": {
77441
+ "name": "SbbIconNameMixin",
77442
+ "module": "icon/icon-name-mixin.js"
77443
+ }
77444
+ },
77445
+ {
77446
+ "kind": "method",
77447
+ "name": "renderIconName",
77448
+ "privacy": "protected",
77449
+ "return": {
77450
+ "type": {
77451
+ "text": "string"
77452
+ }
77453
+ },
77454
+ "inheritedFrom": {
77455
+ "name": "SbbIconNameMixin",
77456
+ "module": "icon/icon-name-mixin.js"
77457
+ }
77458
+ },
77459
+ {
77460
+ "kind": "method",
77461
+ "name": "_renderIconName",
77462
+ "privacy": "private",
77463
+ "return": {
77464
+ "type": {
77465
+ "text": "string"
77466
+ }
77467
+ },
77468
+ "inheritedFrom": {
77469
+ "name": "SbbIconNameMixin",
77470
+ "module": "icon/icon-name-mixin.js"
77471
+ }
77472
+ }
77473
+ ],
77474
+ "attributes": [
77475
+ {
77476
+ "name": "expand-from",
77477
+ "type": {
77478
+ "text": "SbbHorizontalFrom"
77479
+ },
77480
+ "default": "'large'",
77481
+ "description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
77482
+ "fieldName": "expandFrom"
77483
+ },
77484
+ {
77485
+ "name": "icon-name",
77486
+ "type": {
77487
+ "text": "string"
77488
+ },
77489
+ "default": "''",
77490
+ "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.",
77491
+ "fieldName": "iconName",
77492
+ "inheritedFrom": {
77493
+ "name": "SbbIconNameMixin",
77494
+ "module": "icon/icon-name-mixin.js"
77495
+ }
77496
+ }
77497
+ ],
77498
+ "mixins": [
77499
+ {
77500
+ "name": "SbbIconNameMixin",
77501
+ "module": "icon.js"
77502
+ }
77503
+ ],
77504
+ "parameters": [
77505
+ {
77506
+ "name": "superClass",
77507
+ "type": {
77508
+ "text": "T"
77509
+ }
77510
+ }
77511
+ ]
77512
+ }
77513
+ ],
77514
+ "exports": [
77515
+ {
77516
+ "kind": "js",
77517
+ "name": "SbbHeaderActionCommonElementMixinType",
77518
+ "declaration": {
77519
+ "name": "SbbHeaderActionCommonElementMixinType",
77520
+ "module": "header/common/header-action-common.js"
77521
+ }
77522
+ },
77523
+ {
77524
+ "kind": "js",
77525
+ "name": "SbbHeaderActionCommonElementMixin",
77526
+ "declaration": {
77527
+ "name": "SbbHeaderActionCommonElementMixin",
77528
+ "module": "header/common/header-action-common.js"
77529
+ }
77530
+ }
77531
+ ]
77532
+ },
77533
77533
  {
77534
77534
  "kind": "javascript-module",
77535
77535
  "path": "header/header/header.component.js",