@sbb-esta/lyne-elements-dev 4.13.0-dev.1779242439 → 4.13.0-dev.1779256010

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 +1062 -1062
  2. package/package.json +2 -2
@@ -37045,12 +37045,12 @@
37045
37045
  },
37046
37046
  {
37047
37047
  "kind": "javascript-module",
37048
- "path": "button/accent-button-link/accent-button-link.component.js",
37048
+ "path": "button/accent-button/accent-button.component.js",
37049
37049
  "declarations": [
37050
37050
  {
37051
37051
  "kind": "class",
37052
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
37053
- "name": "SbbAccentButtonLinkElement",
37052
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37053
+ "name": "SbbAccentButtonElement",
37054
37054
  "cssProperties": [
37055
37055
  {
37056
37056
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -37060,7 +37060,7 @@
37060
37060
  ],
37061
37061
  "slots": [
37062
37062
  {
37063
- "description": "Use the unnamed slot to add content to the accent-button-link.",
37063
+ "description": "Use the unnamed slot to add content to the accent-button.",
37064
37064
  "name": ""
37065
37065
  },
37066
37066
  {
@@ -37078,7 +37078,7 @@
37078
37078
  "privacy": "public",
37079
37079
  "static": true,
37080
37080
  "readonly": true,
37081
- "default": "'sbb-accent-button-link'",
37081
+ "default": "'sbb-accent-button'",
37082
37082
  "inheritedFrom": {
37083
37083
  "name": "SbbElement",
37084
37084
  "module": "core/base-elements/element.js"
@@ -37275,151 +37275,479 @@
37275
37275
  },
37276
37276
  {
37277
37277
  "kind": "field",
37278
- "name": "href",
37278
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
37279
+ "type": {
37280
+ "text": "array"
37281
+ },
37282
+ "privacy": "private",
37283
+ "readonly": true,
37284
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
37285
+ "inheritedFrom": {
37286
+ "name": "SbbButtonBaseElement",
37287
+ "module": "core/base-elements/button-base-element.js"
37288
+ }
37289
+ },
37290
+ {
37291
+ "kind": "field",
37292
+ "name": "value",
37279
37293
  "type": {
37280
37294
  "text": "string"
37281
37295
  },
37282
37296
  "privacy": "public",
37283
37297
  "default": "''",
37284
- "description": "The href value you want to link to.",
37285
- "attribute": "href",
37286
- "reflects": true,
37298
+ "description": "Value of the form element.",
37299
+ "attribute": "value",
37287
37300
  "inheritedFrom": {
37288
- "name": "SbbLinkBaseElement",
37289
- "module": "core/base-elements/link-base-element.js"
37301
+ "name": "SbbButtonBaseElement",
37302
+ "module": "core/base-elements/button-base-element.js"
37290
37303
  }
37291
37304
  },
37292
37305
  {
37293
37306
  "kind": "field",
37294
- "name": "target",
37307
+ "name": "type",
37308
+ "privacy": "public",
37309
+ "description": "The type attribute to use for the button.",
37310
+ "default": "'button'",
37295
37311
  "type": {
37296
- "text": "LinkTargetType | string"
37312
+ "text": "SbbButtonType"
37313
+ },
37314
+ "attribute": "type",
37315
+ "inheritedFrom": {
37316
+ "name": "SbbButtonBaseElement",
37317
+ "module": "core/base-elements/button-base-element.js"
37318
+ }
37319
+ },
37320
+ {
37321
+ "kind": "field",
37322
+ "name": "form",
37323
+ "type": {
37324
+ "text": "HTMLFormElement | null"
37297
37325
  },
37298
37326
  "privacy": "public",
37299
- "default": "''",
37300
- "description": "Where to display the linked URL.",
37301
- "attribute": "target",
37302
- "reflects": true,
37327
+ "description": "The `<form>` element to associate the button with.",
37328
+ "attribute": "form",
37303
37329
  "inheritedFrom": {
37304
- "name": "SbbLinkBaseElement",
37305
- "module": "core/base-elements/link-base-element.js"
37330
+ "name": "SbbButtonBaseElement",
37331
+ "module": "core/base-elements/button-base-element.js"
37306
37332
  }
37307
37333
  },
37308
37334
  {
37309
37335
  "kind": "field",
37310
- "name": "rel",
37336
+ "name": "_formId",
37311
37337
  "type": {
37312
37338
  "text": "string"
37313
37339
  },
37314
- "privacy": "public",
37340
+ "privacy": "private",
37315
37341
  "default": "''",
37316
- "description": "The relationship of the linked URL as space-separated link types.",
37317
- "attribute": "rel",
37318
- "reflects": true,
37319
37342
  "inheritedFrom": {
37320
- "name": "SbbLinkBaseElement",
37321
- "module": "core/base-elements/link-base-element.js"
37343
+ "name": "SbbButtonBaseElement",
37344
+ "module": "core/base-elements/button-base-element.js"
37322
37345
  }
37323
37346
  },
37324
37347
  {
37325
37348
  "kind": "field",
37326
- "name": "download",
37349
+ "name": "_handleButtonClick",
37350
+ "privacy": "private",
37351
+ "inheritedFrom": {
37352
+ "name": "SbbButtonBaseElement",
37353
+ "module": "core/base-elements/button-base-element.js"
37354
+ }
37355
+ },
37356
+ {
37357
+ "kind": "method",
37358
+ "name": "_requestSubmit",
37359
+ "privacy": "private",
37360
+ "return": {
37361
+ "type": {
37362
+ "text": "void"
37363
+ }
37364
+ },
37365
+ "parameters": [
37366
+ {
37367
+ "name": "form",
37368
+ "type": {
37369
+ "text": "HTMLFormElement"
37370
+ }
37371
+ }
37372
+ ],
37373
+ "inheritedFrom": {
37374
+ "name": "SbbButtonBaseElement",
37375
+ "module": "core/base-elements/button-base-element.js"
37376
+ }
37377
+ },
37378
+ {
37379
+ "kind": "field",
37380
+ "name": "_formKeyDown",
37381
+ "privacy": "private",
37382
+ "inheritedFrom": {
37383
+ "name": "SbbButtonBaseElement",
37384
+ "module": "core/base-elements/button-base-element.js"
37385
+ }
37386
+ },
37387
+ {
37388
+ "kind": "field",
37389
+ "name": "formAssociated",
37327
37390
  "type": {
37328
37391
  "text": "boolean"
37329
37392
  },
37330
37393
  "privacy": "public",
37331
- "default": "false",
37332
- "description": "Whether the browser will show the download dialog on click.",
37333
- "attribute": "download",
37334
- "reflects": true,
37394
+ "static": true,
37395
+ "default": "true",
37335
37396
  "inheritedFrom": {
37336
- "name": "SbbLinkBaseElement",
37337
- "module": "core/base-elements/link-base-element.js"
37397
+ "name": "SbbFormAssociatedMixin",
37398
+ "module": "core/mixins/form-associated-mixin.js"
37338
37399
  }
37339
37400
  },
37340
37401
  {
37341
37402
  "kind": "field",
37342
- "name": "accessibilityLabel",
37403
+ "name": "name",
37404
+ "privacy": "public",
37405
+ "description": "Name of the form element. Will be read from name attribute.",
37343
37406
  "type": {
37344
37407
  "text": "string"
37345
37408
  },
37409
+ "attribute": "name",
37410
+ "inheritedFrom": {
37411
+ "name": "SbbFormAssociatedMixin",
37412
+ "module": "core/mixins/form-associated-mixin.js"
37413
+ }
37414
+ },
37415
+ {
37416
+ "kind": "field",
37417
+ "name": "validity",
37418
+ "type": {
37419
+ "text": "ValidityState"
37420
+ },
37346
37421
  "privacy": "public",
37347
- "default": "''",
37348
- "description": "This will be forwarded as aria-label to the inner anchor element.",
37349
- "attribute": "accessibility-label",
37422
+ "description": "Returns the ValidityState object for this element.",
37423
+ "readonly": true,
37350
37424
  "inheritedFrom": {
37351
- "name": "SbbLinkBaseElement",
37352
- "module": "core/base-elements/link-base-element.js"
37425
+ "name": "SbbFormAssociatedMixin",
37426
+ "module": "core/mixins/form-associated-mixin.js"
37353
37427
  }
37354
37428
  },
37355
37429
  {
37356
37430
  "kind": "field",
37357
- "name": "accessibilityCurrent",
37431
+ "name": "validationMessage",
37358
37432
  "type": {
37359
37433
  "text": "string"
37360
37434
  },
37361
37435
  "privacy": "public",
37362
- "default": "''",
37363
- "description": "This will be forwarded as aria-current to the inner anchor element.",
37364
- "attribute": "accessibility-current",
37436
+ "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.",
37437
+ "readonly": true,
37365
37438
  "inheritedFrom": {
37366
- "name": "SbbLinkBaseElement",
37367
- "module": "core/base-elements/link-base-element.js"
37439
+ "name": "SbbFormAssociatedMixin",
37440
+ "module": "core/mixins/form-associated-mixin.js"
37368
37441
  }
37369
37442
  },
37370
37443
  {
37371
37444
  "kind": "field",
37372
- "name": "language",
37373
- "privacy": "protected",
37374
- "default": "new SbbLanguageController(this)",
37445
+ "name": "willValidate",
37446
+ "type": {
37447
+ "text": "boolean"
37448
+ },
37449
+ "privacy": "public",
37450
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
37451
+ "readonly": true,
37375
37452
  "inheritedFrom": {
37376
- "name": "SbbLinkBaseElement",
37377
- "module": "core/base-elements/link-base-element.js"
37453
+ "name": "SbbFormAssociatedMixin",
37454
+ "module": "core/mixins/form-associated-mixin.js"
37378
37455
  }
37379
37456
  },
37380
37457
  {
37381
37458
  "kind": "field",
37382
- "name": "anchorRole",
37459
+ "name": "_validityStates",
37460
+ "privacy": "private",
37461
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
37462
+ "inheritedFrom": {
37463
+ "name": "SbbFormAssociatedMixin",
37464
+ "module": "core/mixins/form-associated-mixin.js"
37465
+ }
37466
+ },
37467
+ {
37468
+ "kind": "field",
37469
+ "name": "formDisabled",
37383
37470
  "type": {
37384
- "text": "string | null"
37471
+ "text": "boolean"
37385
37472
  },
37386
37473
  "privacy": "protected",
37387
- "readonly": true,
37388
- "default": "null",
37474
+ "default": "false",
37475
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
37389
37476
  "inheritedFrom": {
37390
- "name": "SbbLinkBaseElement",
37391
- "module": "core/base-elements/link-base-element.js"
37477
+ "name": "SbbFormAssociatedMixin",
37478
+ "module": "core/mixins/form-associated-mixin.js"
37392
37479
  }
37393
37480
  },
37394
37481
  {
37395
- "kind": "field",
37396
- "name": "_evaluateRelAttribute",
37482
+ "kind": "method",
37483
+ "name": "checkValidity",
37484
+ "privacy": "public",
37485
+ "return": {
37486
+ "type": {
37487
+ "text": "boolean"
37488
+ }
37489
+ },
37490
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
37491
+ "inheritedFrom": {
37492
+ "name": "SbbFormAssociatedMixin",
37493
+ "module": "core/mixins/form-associated-mixin.js"
37494
+ }
37495
+ },
37496
+ {
37497
+ "kind": "method",
37498
+ "name": "reportValidity",
37499
+ "privacy": "public",
37500
+ "return": {
37501
+ "type": {
37502
+ "text": "boolean"
37503
+ }
37504
+ },
37505
+ "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.",
37506
+ "inheritedFrom": {
37507
+ "name": "SbbFormAssociatedMixin",
37508
+ "module": "core/mixins/form-associated-mixin.js"
37509
+ }
37510
+ },
37511
+ {
37512
+ "kind": "method",
37513
+ "name": "setCustomValidity",
37514
+ "privacy": "public",
37515
+ "return": {
37516
+ "type": {
37517
+ "text": "void"
37518
+ }
37519
+ },
37520
+ "parameters": [
37521
+ {
37522
+ "name": "message",
37523
+ "type": {
37524
+ "text": "string"
37525
+ }
37526
+ }
37527
+ ],
37528
+ "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.",
37529
+ "inheritedFrom": {
37530
+ "name": "SbbFormAssociatedMixin",
37531
+ "module": "core/mixins/form-associated-mixin.js"
37532
+ }
37533
+ },
37534
+ {
37535
+ "kind": "method",
37536
+ "name": "_hasDisabledAncestor",
37397
37537
  "privacy": "private",
37538
+ "return": {
37539
+ "type": {
37540
+ "text": "boolean"
37541
+ }
37542
+ },
37398
37543
  "inheritedFrom": {
37399
- "name": "SbbLinkBaseElement",
37400
- "module": "core/base-elements/link-base-element.js"
37544
+ "name": "SbbFormAssociatedMixin",
37545
+ "module": "core/mixins/form-associated-mixin.js"
37401
37546
  }
37402
37547
  },
37403
37548
  {
37404
37549
  "kind": "method",
37405
- "name": "renderLink",
37550
+ "name": "updateFormValue",
37406
37551
  "privacy": "protected",
37407
37552
  "return": {
37408
37553
  "type": {
37409
- "text": "TemplateResult"
37554
+ "text": "void"
37555
+ }
37556
+ },
37557
+ "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",
37558
+ "inheritedFrom": {
37559
+ "name": "SbbFormAssociatedMixin",
37560
+ "module": "core/mixins/form-associated-mixin.js"
37561
+ }
37562
+ },
37563
+ {
37564
+ "kind": "method",
37565
+ "name": "formState",
37566
+ "privacy": "protected",
37567
+ "return": {
37568
+ "type": {
37569
+ "text": "FormRestoreState"
37570
+ }
37571
+ },
37572
+ "inheritedFrom": {
37573
+ "name": "SbbFormAssociatedMixin",
37574
+ "module": "core/mixins/form-associated-mixin.js"
37575
+ }
37576
+ },
37577
+ {
37578
+ "kind": "method",
37579
+ "name": "setValidityFlag",
37580
+ "privacy": "protected",
37581
+ "return": {
37582
+ "type": {
37583
+ "text": "void"
37410
37584
  }
37411
37585
  },
37412
37586
  "parameters": [
37413
37587
  {
37414
- "name": "renderContent",
37588
+ "name": "flag",
37415
37589
  "type": {
37416
- "text": "TemplateResult"
37590
+ "text": "T"
37591
+ }
37592
+ },
37593
+ {
37594
+ "name": "message",
37595
+ "type": {
37596
+ "text": "string"
37597
+ }
37598
+ },
37599
+ {
37600
+ "name": "flagValue",
37601
+ "optional": true,
37602
+ "type": {
37603
+ "text": "ValidityStateFlags[T]"
37417
37604
  }
37418
37605
  }
37419
37606
  ],
37607
+ "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).",
37420
37608
  "inheritedFrom": {
37421
- "name": "SbbLinkBaseElement",
37422
- "module": "core/base-elements/link-base-element.js"
37609
+ "name": "SbbFormAssociatedMixin",
37610
+ "module": "core/mixins/form-associated-mixin.js"
37611
+ }
37612
+ },
37613
+ {
37614
+ "kind": "method",
37615
+ "name": "removeValidityFlag",
37616
+ "privacy": "protected",
37617
+ "return": {
37618
+ "type": {
37619
+ "text": "void"
37620
+ }
37621
+ },
37622
+ "parameters": [
37623
+ {
37624
+ "name": "flag",
37625
+ "type": {
37626
+ "text": "T"
37627
+ }
37628
+ }
37629
+ ],
37630
+ "description": "Removes the validity state flag entry and updates validity state.",
37631
+ "inheritedFrom": {
37632
+ "name": "SbbFormAssociatedMixin",
37633
+ "module": "core/mixins/form-associated-mixin.js"
37634
+ }
37635
+ },
37636
+ {
37637
+ "kind": "method",
37638
+ "name": "validate",
37639
+ "privacy": "protected",
37640
+ "return": {
37641
+ "type": {
37642
+ "text": "void"
37643
+ }
37644
+ },
37645
+ "description": "To be called whenever the current element needs to be validated.",
37646
+ "inheritedFrom": {
37647
+ "name": "SbbFormAssociatedMixin",
37648
+ "module": "core/mixins/form-associated-mixin.js"
37649
+ }
37650
+ },
37651
+ {
37652
+ "kind": "method",
37653
+ "name": "shouldValidate",
37654
+ "privacy": "protected",
37655
+ "return": {
37656
+ "type": {
37657
+ "text": "boolean"
37658
+ }
37659
+ },
37660
+ "parameters": [
37661
+ {
37662
+ "name": "name",
37663
+ "type": {
37664
+ "text": "PropertyKey | undefined"
37665
+ }
37666
+ }
37667
+ ],
37668
+ "description": "Whether validation should be run on a property change with the given name.",
37669
+ "inheritedFrom": {
37670
+ "name": "SbbFormAssociatedMixin",
37671
+ "module": "core/mixins/form-associated-mixin.js"
37672
+ }
37673
+ },
37674
+ {
37675
+ "kind": "method",
37676
+ "name": "_setInternalValidity",
37677
+ "privacy": "private",
37678
+ "return": {
37679
+ "type": {
37680
+ "text": "void"
37681
+ }
37682
+ },
37683
+ "inheritedFrom": {
37684
+ "name": "SbbFormAssociatedMixin",
37685
+ "module": "core/mixins/form-associated-mixin.js"
37686
+ }
37687
+ },
37688
+ {
37689
+ "kind": "field",
37690
+ "name": "role",
37691
+ "type": {
37692
+ "text": "ElementInternals['role']"
37693
+ },
37694
+ "privacy": "public",
37695
+ "static": true,
37696
+ "readonly": true,
37697
+ "default": "'button'",
37698
+ "inheritedFrom": {
37699
+ "name": "SbbButtonLikeBaseElement",
37700
+ "module": "core/base-elements/button-base-element.js"
37701
+ }
37702
+ },
37703
+ {
37704
+ "kind": "field",
37705
+ "name": "_preventScrollOnSpaceKeydown",
37706
+ "privacy": "private",
37707
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
37708
+ "parameters": [
37709
+ {
37710
+ "description": "The origin event.",
37711
+ "name": "event"
37712
+ }
37713
+ ],
37714
+ "inheritedFrom": {
37715
+ "name": "SbbButtonLikeBaseElement",
37716
+ "module": "core/base-elements/button-base-element.js"
37717
+ }
37718
+ },
37719
+ {
37720
+ "kind": "field",
37721
+ "name": "_removeActiveMarker",
37722
+ "privacy": "private",
37723
+ "inheritedFrom": {
37724
+ "name": "SbbButtonLikeBaseElement",
37725
+ "module": "core/base-elements/button-base-element.js"
37726
+ }
37727
+ },
37728
+ {
37729
+ "kind": "field",
37730
+ "name": "_dispatchClickEventOnSpaceKeyup",
37731
+ "privacy": "private",
37732
+ "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.",
37733
+ "parameters": [
37734
+ {
37735
+ "description": "The origin event.",
37736
+ "name": "event"
37737
+ }
37738
+ ],
37739
+ "inheritedFrom": {
37740
+ "name": "SbbButtonLikeBaseElement",
37741
+ "module": "core/base-elements/button-base-element.js"
37742
+ }
37743
+ },
37744
+ {
37745
+ "kind": "field",
37746
+ "name": "_dispatchClickEvent",
37747
+ "privacy": "private",
37748
+ "inheritedFrom": {
37749
+ "name": "SbbButtonLikeBaseElement",
37750
+ "module": "core/base-elements/button-base-element.js"
37423
37751
  }
37424
37752
  },
37425
37753
  {
@@ -37574,19 +37902,15 @@
37574
37902
  "module": "button/common/button-common.js"
37575
37903
  },
37576
37904
  {
37577
- "name": "SbbDisabledInteractiveMixin",
37578
- "module": "core/mixins.js"
37579
- },
37580
- {
37581
- "name": "SbbDisabledMixin",
37905
+ "name": "SbbDisabledTabIndexActionMixin",
37582
37906
  "module": "core/mixins.js"
37583
37907
  }
37584
37908
  ],
37585
37909
  "superclass": {
37586
- "name": "SbbLinkBaseElement",
37910
+ "name": "SbbButtonBaseElement",
37587
37911
  "module": "core/base-elements.js"
37588
37912
  },
37589
- "tagName": "sbb-accent-button-link",
37913
+ "tagName": "sbb-accent-button",
37590
37914
  "customElement": true,
37591
37915
  "attributes": [
37592
37916
  {
@@ -37668,81 +37992,53 @@
37668
37992
  }
37669
37993
  },
37670
37994
  {
37671
- "name": "href",
37672
- "type": {
37673
- "text": "string"
37674
- },
37675
- "default": "''",
37676
- "description": "The href value you want to link to.",
37677
- "fieldName": "href",
37678
- "inheritedFrom": {
37679
- "name": "SbbLinkBaseElement",
37680
- "module": "core/base-elements/link-base-element.js"
37681
- }
37682
- },
37683
- {
37684
- "name": "target",
37685
- "type": {
37686
- "text": "LinkTargetType | string"
37687
- },
37688
- "default": "''",
37689
- "description": "Where to display the linked URL.",
37690
- "fieldName": "target",
37691
- "inheritedFrom": {
37692
- "name": "SbbLinkBaseElement",
37693
- "module": "core/base-elements/link-base-element.js"
37694
- }
37695
- },
37696
- {
37697
- "name": "rel",
37995
+ "name": "value",
37698
37996
  "type": {
37699
37997
  "text": "string"
37700
37998
  },
37701
37999
  "default": "''",
37702
- "description": "The relationship of the linked URL as space-separated link types.",
37703
- "fieldName": "rel",
38000
+ "description": "Value of the form element.",
38001
+ "fieldName": "value",
37704
38002
  "inheritedFrom": {
37705
- "name": "SbbLinkBaseElement",
37706
- "module": "core/base-elements/link-base-element.js"
38003
+ "name": "SbbButtonBaseElement",
38004
+ "module": "core/base-elements/button-base-element.js"
37707
38005
  }
37708
38006
  },
37709
38007
  {
37710
- "name": "download",
38008
+ "name": "type",
38009
+ "description": "The type attribute to use for the button.",
38010
+ "default": "'button'",
37711
38011
  "type": {
37712
- "text": "boolean"
38012
+ "text": "SbbButtonType"
37713
38013
  },
37714
- "default": "false",
37715
- "description": "Whether the browser will show the download dialog on click.",
37716
- "fieldName": "download",
38014
+ "fieldName": "type",
37717
38015
  "inheritedFrom": {
37718
- "name": "SbbLinkBaseElement",
37719
- "module": "core/base-elements/link-base-element.js"
38016
+ "name": "SbbButtonBaseElement",
38017
+ "module": "core/base-elements/button-base-element.js"
37720
38018
  }
37721
38019
  },
37722
38020
  {
37723
- "name": "accessibility-label",
38021
+ "name": "form",
38022
+ "description": "The `<form>` element to associate the button with.",
37724
38023
  "type": {
37725
- "text": "string"
38024
+ "text": "HTMLFormElement | null"
37726
38025
  },
37727
- "default": "''",
37728
- "description": "This will be forwarded as aria-label to the inner anchor element.",
37729
- "fieldName": "accessibilityLabel",
38026
+ "fieldName": "form",
37730
38027
  "inheritedFrom": {
37731
- "name": "SbbLinkBaseElement",
37732
- "module": "core/base-elements/link-base-element.js"
38028
+ "name": "SbbButtonBaseElement",
38029
+ "module": "core/base-elements/button-base-element.js"
37733
38030
  }
37734
38031
  },
37735
38032
  {
37736
- "name": "accessibility-current",
38033
+ "name": "name",
38034
+ "description": "Name of the form element. Will be read from name attribute.",
37737
38035
  "type": {
37738
38036
  "text": "string"
37739
38037
  },
37740
- "default": "''",
37741
- "description": "This will be forwarded as aria-current to the inner anchor element.",
37742
- "fieldName": "accessibilityCurrent",
38038
+ "fieldName": "name",
37743
38039
  "inheritedFrom": {
37744
- "name": "SbbLinkBaseElement",
37745
- "module": "core/base-elements/link-base-element.js"
38040
+ "name": "SbbFormAssociatedMixin",
38041
+ "module": "core/mixins/form-associated-mixin.js"
37746
38042
  }
37747
38043
  }
37748
38044
  ]
@@ -37751,22 +38047,22 @@
37751
38047
  "exports": [
37752
38048
  {
37753
38049
  "kind": "js",
37754
- "name": "SbbAccentButtonLinkElement",
38050
+ "name": "SbbAccentButtonElement",
37755
38051
  "declaration": {
37756
- "name": "SbbAccentButtonLinkElement",
37757
- "module": "button/accent-button-link/accent-button-link.component.js"
38052
+ "name": "SbbAccentButtonElement",
38053
+ "module": "button/accent-button/accent-button.component.js"
37758
38054
  }
37759
38055
  }
37760
38056
  ]
37761
38057
  },
37762
38058
  {
37763
38059
  "kind": "javascript-module",
37764
- "path": "button/accent-button/accent-button.component.js",
38060
+ "path": "button/accent-button-link/accent-button-link.component.js",
37765
38061
  "declarations": [
37766
38062
  {
37767
38063
  "kind": "class",
37768
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37769
- "name": "SbbAccentButtonElement",
38064
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
38065
+ "name": "SbbAccentButtonLinkElement",
37770
38066
  "cssProperties": [
37771
38067
  {
37772
38068
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -37776,7 +38072,7 @@
37776
38072
  ],
37777
38073
  "slots": [
37778
38074
  {
37779
- "description": "Use the unnamed slot to add content to the accent-button.",
38075
+ "description": "Use the unnamed slot to add content to the accent-button-link.",
37780
38076
  "name": ""
37781
38077
  },
37782
38078
  {
@@ -37794,676 +38090,348 @@
37794
38090
  "privacy": "public",
37795
38091
  "static": true,
37796
38092
  "readonly": true,
37797
- "default": "'sbb-accent-button'",
37798
- "inheritedFrom": {
37799
- "name": "SbbElement",
37800
- "module": "core/base-elements/element.js"
37801
- }
37802
- },
37803
- {
37804
- "kind": "field",
37805
- "name": "size",
37806
- "type": {
37807
- "text": "SbbButtonSize"
37808
- },
37809
- "privacy": "public",
37810
- "description": "Size variant, either l, m or s.",
37811
- "default": "'l' / 's' (lean)",
37812
- "attribute": "size",
37813
- "reflects": true,
37814
- "inheritedFrom": {
37815
- "name": "SbbButtonCommonElementMixin",
37816
- "module": "button/common/button-common.js"
37817
- }
37818
- },
37819
- {
37820
- "kind": "field",
37821
- "name": "loading",
37822
- "type": {
37823
- "text": "boolean"
37824
- },
37825
- "privacy": "public",
37826
- "default": "false",
37827
- "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.",
37828
- "attribute": "loading",
37829
- "reflects": true,
37830
- "inheritedFrom": {
37831
- "name": "SbbButtonCommonElementMixin",
37832
- "module": "button/common/button-common.js"
37833
- }
37834
- },
37835
- {
37836
- "kind": "method",
37837
- "name": "renderTemplate",
37838
- "privacy": "protected",
37839
- "return": {
37840
- "type": {
37841
- "text": "TemplateResult"
37842
- }
37843
- },
37844
- "description": "Override this method to render the component template.",
37845
- "inheritedFrom": {
37846
- "name": "SbbActionBaseElement",
37847
- "module": "core/base-elements/action-base-element.js"
37848
- }
37849
- },
37850
- {
37851
- "kind": "field",
37852
- "name": "negative",
37853
- "type": {
37854
- "text": "boolean"
37855
- },
37856
- "privacy": "public",
37857
- "default": "false",
37858
- "description": "Negative coloring variant flag.",
37859
- "attribute": "negative",
37860
- "reflects": true,
37861
- "inheritedFrom": {
37862
- "name": "SbbNegativeMixin",
37863
- "module": "core/mixins/negative-mixin.js"
37864
- }
37865
- },
37866
- {
37867
- "kind": "field",
37868
- "name": "iconName",
37869
- "type": {
37870
- "text": "string"
37871
- },
37872
- "privacy": "public",
37873
- "default": "''",
37874
- "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.",
37875
- "attribute": "icon-name",
37876
- "inheritedFrom": {
37877
- "name": "SbbIconNameMixin",
37878
- "module": "icon/icon-name-mixin.js"
37879
- }
37880
- },
37881
- {
37882
- "kind": "method",
37883
- "name": "renderIconSlot",
37884
- "privacy": "protected",
37885
- "return": {
37886
- "type": {
37887
- "text": "TemplateResult"
37888
- }
37889
- },
37890
- "parameters": [
37891
- {
37892
- "name": "classname",
37893
- "optional": true,
37894
- "type": {
37895
- "text": "string"
37896
- }
37897
- }
37898
- ],
37899
- "inheritedFrom": {
37900
- "name": "SbbIconNameMixin",
37901
- "module": "icon/icon-name-mixin.js"
37902
- }
37903
- },
37904
- {
37905
- "kind": "method",
37906
- "name": "renderIconName",
37907
- "privacy": "protected",
37908
- "return": {
37909
- "type": {
37910
- "text": "string"
37911
- }
37912
- },
37913
- "inheritedFrom": {
37914
- "name": "SbbIconNameMixin",
37915
- "module": "icon/icon-name-mixin.js"
37916
- }
37917
- },
37918
- {
37919
- "kind": "method",
37920
- "name": "_renderIconName",
37921
- "privacy": "private",
37922
- "return": {
37923
- "type": {
37924
- "text": "string"
37925
- }
37926
- },
37927
- "inheritedFrom": {
37928
- "name": "SbbIconNameMixin",
37929
- "module": "icon/icon-name-mixin.js"
37930
- }
37931
- },
37932
- {
37933
- "kind": "field",
37934
- "name": "disabledInteractive",
37935
- "type": {
37936
- "text": "boolean"
37937
- },
37938
- "privacy": "public",
37939
- "default": "false",
37940
- "description": "Whether the button should be aria-disabled but stay interactive.",
37941
- "attribute": "disabled-interactive",
37942
- "reflects": true,
37943
- "inheritedFrom": {
37944
- "name": "SbbDisabledInteractiveMixin",
37945
- "module": "core/mixins/disabled-mixin.js"
37946
- }
37947
- },
37948
- {
37949
- "kind": "field",
37950
- "name": "disabled",
37951
- "privacy": "public",
37952
- "description": "Whether the component is disabled.",
37953
- "default": "false",
37954
- "type": {
37955
- "text": "boolean"
37956
- },
37957
- "attribute": "disabled",
37958
- "reflects": true,
37959
- "inheritedFrom": {
37960
- "name": "SbbDisabledMixin",
37961
- "module": "core/mixins/disabled-mixin.js"
37962
- }
37963
- },
37964
- {
37965
- "kind": "field",
37966
- "name": "#disabled",
37967
- "privacy": "private",
37968
- "type": {
37969
- "text": "boolean"
37970
- },
37971
- "default": "false",
37972
- "inheritedFrom": {
37973
- "name": "SbbDisabledMixin",
37974
- "module": "core/mixins/disabled-mixin.js"
37975
- }
37976
- },
37977
- {
37978
- "kind": "method",
37979
- "name": "isDisabledExternally",
37980
- "privacy": "protected",
37981
- "return": {
37982
- "type": {
37983
- "text": "boolean"
37984
- }
37985
- },
37986
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
37987
- "inheritedFrom": {
37988
- "name": "SbbDisabledMixin",
37989
- "module": "core/mixins/disabled-mixin.js"
37990
- }
37991
- },
37992
- {
37993
- "kind": "field",
37994
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
37995
- "type": {
37996
- "text": "array"
37997
- },
37998
- "privacy": "private",
37999
- "readonly": true,
38000
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
38001
- "inheritedFrom": {
38002
- "name": "SbbButtonBaseElement",
38003
- "module": "core/base-elements/button-base-element.js"
38004
- }
38005
- },
38006
- {
38007
- "kind": "field",
38008
- "name": "value",
38009
- "type": {
38010
- "text": "string"
38011
- },
38012
- "privacy": "public",
38013
- "default": "''",
38014
- "description": "Value of the form element.",
38015
- "attribute": "value",
38016
- "inheritedFrom": {
38017
- "name": "SbbButtonBaseElement",
38018
- "module": "core/base-elements/button-base-element.js"
38019
- }
38020
- },
38021
- {
38022
- "kind": "field",
38023
- "name": "type",
38024
- "privacy": "public",
38025
- "description": "The type attribute to use for the button.",
38026
- "default": "'button'",
38027
- "type": {
38028
- "text": "SbbButtonType"
38029
- },
38030
- "attribute": "type",
38031
- "inheritedFrom": {
38032
- "name": "SbbButtonBaseElement",
38033
- "module": "core/base-elements/button-base-element.js"
38034
- }
38035
- },
38036
- {
38037
- "kind": "field",
38038
- "name": "form",
38039
- "type": {
38040
- "text": "HTMLFormElement | null"
38041
- },
38042
- "privacy": "public",
38043
- "description": "The `<form>` element to associate the button with.",
38044
- "attribute": "form",
38045
- "inheritedFrom": {
38046
- "name": "SbbButtonBaseElement",
38047
- "module": "core/base-elements/button-base-element.js"
38048
- }
38049
- },
38050
- {
38051
- "kind": "field",
38052
- "name": "_formId",
38053
- "type": {
38054
- "text": "string"
38055
- },
38056
- "privacy": "private",
38057
- "default": "''",
38058
- "inheritedFrom": {
38059
- "name": "SbbButtonBaseElement",
38060
- "module": "core/base-elements/button-base-element.js"
38061
- }
38062
- },
38063
- {
38064
- "kind": "field",
38065
- "name": "_handleButtonClick",
38066
- "privacy": "private",
38067
- "inheritedFrom": {
38068
- "name": "SbbButtonBaseElement",
38069
- "module": "core/base-elements/button-base-element.js"
38070
- }
38071
- },
38072
- {
38073
- "kind": "method",
38074
- "name": "_requestSubmit",
38075
- "privacy": "private",
38076
- "return": {
38077
- "type": {
38078
- "text": "void"
38079
- }
38080
- },
38081
- "parameters": [
38082
- {
38083
- "name": "form",
38084
- "type": {
38085
- "text": "HTMLFormElement"
38086
- }
38087
- }
38088
- ],
38089
- "inheritedFrom": {
38090
- "name": "SbbButtonBaseElement",
38091
- "module": "core/base-elements/button-base-element.js"
38092
- }
38093
- },
38094
- {
38095
- "kind": "field",
38096
- "name": "_formKeyDown",
38097
- "privacy": "private",
38098
- "inheritedFrom": {
38099
- "name": "SbbButtonBaseElement",
38100
- "module": "core/base-elements/button-base-element.js"
38101
- }
38102
- },
38103
- {
38104
- "kind": "field",
38105
- "name": "formAssociated",
38106
- "type": {
38107
- "text": "boolean"
38108
- },
38109
- "privacy": "public",
38110
- "static": true,
38111
- "default": "true",
38112
- "inheritedFrom": {
38113
- "name": "SbbFormAssociatedMixin",
38114
- "module": "core/mixins/form-associated-mixin.js"
38115
- }
38116
- },
38117
- {
38118
- "kind": "field",
38119
- "name": "name",
38120
- "privacy": "public",
38121
- "description": "Name of the form element. Will be read from name attribute.",
38122
- "type": {
38123
- "text": "string"
38124
- },
38125
- "attribute": "name",
38126
- "inheritedFrom": {
38127
- "name": "SbbFormAssociatedMixin",
38128
- "module": "core/mixins/form-associated-mixin.js"
38129
- }
38130
- },
38131
- {
38132
- "kind": "field",
38133
- "name": "validity",
38134
- "type": {
38135
- "text": "ValidityState"
38136
- },
38137
- "privacy": "public",
38138
- "description": "Returns the ValidityState object for this element.",
38139
- "readonly": true,
38140
- "inheritedFrom": {
38141
- "name": "SbbFormAssociatedMixin",
38142
- "module": "core/mixins/form-associated-mixin.js"
38143
- }
38144
- },
38145
- {
38146
- "kind": "field",
38147
- "name": "validationMessage",
38148
- "type": {
38149
- "text": "string"
38150
- },
38151
- "privacy": "public",
38152
- "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.",
38153
- "readonly": true,
38154
- "inheritedFrom": {
38155
- "name": "SbbFormAssociatedMixin",
38156
- "module": "core/mixins/form-associated-mixin.js"
38157
- }
38158
- },
38159
- {
38160
- "kind": "field",
38161
- "name": "willValidate",
38162
- "type": {
38163
- "text": "boolean"
38164
- },
38165
- "privacy": "public",
38166
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
38167
- "readonly": true,
38093
+ "default": "'sbb-accent-button-link'",
38168
38094
  "inheritedFrom": {
38169
- "name": "SbbFormAssociatedMixin",
38170
- "module": "core/mixins/form-associated-mixin.js"
38095
+ "name": "SbbElement",
38096
+ "module": "core/base-elements/element.js"
38171
38097
  }
38172
38098
  },
38173
38099
  {
38174
38100
  "kind": "field",
38175
- "name": "_validityStates",
38176
- "privacy": "private",
38177
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
38101
+ "name": "size",
38102
+ "type": {
38103
+ "text": "SbbButtonSize"
38104
+ },
38105
+ "privacy": "public",
38106
+ "description": "Size variant, either l, m or s.",
38107
+ "default": "'l' / 's' (lean)",
38108
+ "attribute": "size",
38109
+ "reflects": true,
38178
38110
  "inheritedFrom": {
38179
- "name": "SbbFormAssociatedMixin",
38180
- "module": "core/mixins/form-associated-mixin.js"
38111
+ "name": "SbbButtonCommonElementMixin",
38112
+ "module": "button/common/button-common.js"
38181
38113
  }
38182
38114
  },
38183
38115
  {
38184
38116
  "kind": "field",
38185
- "name": "formDisabled",
38117
+ "name": "loading",
38186
38118
  "type": {
38187
38119
  "text": "boolean"
38188
38120
  },
38189
- "privacy": "protected",
38121
+ "privacy": "public",
38190
38122
  "default": "false",
38191
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
38123
+ "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.",
38124
+ "attribute": "loading",
38125
+ "reflects": true,
38192
38126
  "inheritedFrom": {
38193
- "name": "SbbFormAssociatedMixin",
38194
- "module": "core/mixins/form-associated-mixin.js"
38127
+ "name": "SbbButtonCommonElementMixin",
38128
+ "module": "button/common/button-common.js"
38195
38129
  }
38196
38130
  },
38197
38131
  {
38198
38132
  "kind": "method",
38199
- "name": "checkValidity",
38200
- "privacy": "public",
38133
+ "name": "renderTemplate",
38134
+ "privacy": "protected",
38201
38135
  "return": {
38202
38136
  "type": {
38203
- "text": "boolean"
38137
+ "text": "TemplateResult"
38204
38138
  }
38205
38139
  },
38206
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
38140
+ "description": "Override this method to render the component template.",
38207
38141
  "inheritedFrom": {
38208
- "name": "SbbFormAssociatedMixin",
38209
- "module": "core/mixins/form-associated-mixin.js"
38142
+ "name": "SbbActionBaseElement",
38143
+ "module": "core/base-elements/action-base-element.js"
38210
38144
  }
38211
38145
  },
38212
38146
  {
38213
- "kind": "method",
38214
- "name": "reportValidity",
38147
+ "kind": "field",
38148
+ "name": "negative",
38149
+ "type": {
38150
+ "text": "boolean"
38151
+ },
38215
38152
  "privacy": "public",
38216
- "return": {
38217
- "type": {
38218
- "text": "boolean"
38219
- }
38153
+ "default": "false",
38154
+ "description": "Negative coloring variant flag.",
38155
+ "attribute": "negative",
38156
+ "reflects": true,
38157
+ "inheritedFrom": {
38158
+ "name": "SbbNegativeMixin",
38159
+ "module": "core/mixins/negative-mixin.js"
38160
+ }
38161
+ },
38162
+ {
38163
+ "kind": "field",
38164
+ "name": "iconName",
38165
+ "type": {
38166
+ "text": "string"
38220
38167
  },
38221
- "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.",
38168
+ "privacy": "public",
38169
+ "default": "''",
38170
+ "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.",
38171
+ "attribute": "icon-name",
38222
38172
  "inheritedFrom": {
38223
- "name": "SbbFormAssociatedMixin",
38224
- "module": "core/mixins/form-associated-mixin.js"
38173
+ "name": "SbbIconNameMixin",
38174
+ "module": "icon/icon-name-mixin.js"
38225
38175
  }
38226
38176
  },
38227
38177
  {
38228
38178
  "kind": "method",
38229
- "name": "setCustomValidity",
38230
- "privacy": "public",
38179
+ "name": "renderIconSlot",
38180
+ "privacy": "protected",
38231
38181
  "return": {
38232
38182
  "type": {
38233
- "text": "void"
38183
+ "text": "TemplateResult"
38234
38184
  }
38235
38185
  },
38236
38186
  "parameters": [
38237
38187
  {
38238
- "name": "message",
38188
+ "name": "classname",
38189
+ "optional": true,
38239
38190
  "type": {
38240
38191
  "text": "string"
38241
38192
  }
38242
38193
  }
38243
38194
  ],
38244
- "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.",
38245
38195
  "inheritedFrom": {
38246
- "name": "SbbFormAssociatedMixin",
38247
- "module": "core/mixins/form-associated-mixin.js"
38196
+ "name": "SbbIconNameMixin",
38197
+ "module": "icon/icon-name-mixin.js"
38248
38198
  }
38249
38199
  },
38250
38200
  {
38251
38201
  "kind": "method",
38252
- "name": "_hasDisabledAncestor",
38253
- "privacy": "private",
38202
+ "name": "renderIconName",
38203
+ "privacy": "protected",
38254
38204
  "return": {
38255
38205
  "type": {
38256
- "text": "boolean"
38206
+ "text": "string"
38257
38207
  }
38258
38208
  },
38259
38209
  "inheritedFrom": {
38260
- "name": "SbbFormAssociatedMixin",
38261
- "module": "core/mixins/form-associated-mixin.js"
38210
+ "name": "SbbIconNameMixin",
38211
+ "module": "icon/icon-name-mixin.js"
38262
38212
  }
38263
38213
  },
38264
38214
  {
38265
38215
  "kind": "method",
38266
- "name": "updateFormValue",
38267
- "privacy": "protected",
38216
+ "name": "_renderIconName",
38217
+ "privacy": "private",
38268
38218
  "return": {
38269
38219
  "type": {
38270
- "text": "void"
38220
+ "text": "string"
38271
38221
  }
38272
38222
  },
38273
- "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",
38274
38223
  "inheritedFrom": {
38275
- "name": "SbbFormAssociatedMixin",
38276
- "module": "core/mixins/form-associated-mixin.js"
38224
+ "name": "SbbIconNameMixin",
38225
+ "module": "icon/icon-name-mixin.js"
38277
38226
  }
38278
38227
  },
38279
38228
  {
38280
- "kind": "method",
38281
- "name": "formState",
38282
- "privacy": "protected",
38283
- "return": {
38284
- "type": {
38285
- "text": "FormRestoreState"
38286
- }
38229
+ "kind": "field",
38230
+ "name": "disabledInteractive",
38231
+ "type": {
38232
+ "text": "boolean"
38287
38233
  },
38234
+ "privacy": "public",
38235
+ "default": "false",
38236
+ "description": "Whether the button should be aria-disabled but stay interactive.",
38237
+ "attribute": "disabled-interactive",
38238
+ "reflects": true,
38288
38239
  "inheritedFrom": {
38289
- "name": "SbbFormAssociatedMixin",
38290
- "module": "core/mixins/form-associated-mixin.js"
38240
+ "name": "SbbDisabledInteractiveMixin",
38241
+ "module": "core/mixins/disabled-mixin.js"
38291
38242
  }
38292
38243
  },
38293
38244
  {
38294
- "kind": "method",
38295
- "name": "setValidityFlag",
38296
- "privacy": "protected",
38297
- "return": {
38298
- "type": {
38299
- "text": "void"
38300
- }
38245
+ "kind": "field",
38246
+ "name": "disabled",
38247
+ "privacy": "public",
38248
+ "description": "Whether the component is disabled.",
38249
+ "default": "false",
38250
+ "type": {
38251
+ "text": "boolean"
38301
38252
  },
38302
- "parameters": [
38303
- {
38304
- "name": "flag",
38305
- "type": {
38306
- "text": "T"
38307
- }
38308
- },
38309
- {
38310
- "name": "message",
38311
- "type": {
38312
- "text": "string"
38313
- }
38314
- },
38315
- {
38316
- "name": "flagValue",
38317
- "optional": true,
38318
- "type": {
38319
- "text": "ValidityStateFlags[T]"
38320
- }
38321
- }
38322
- ],
38323
- "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).",
38253
+ "attribute": "disabled",
38254
+ "reflects": true,
38324
38255
  "inheritedFrom": {
38325
- "name": "SbbFormAssociatedMixin",
38326
- "module": "core/mixins/form-associated-mixin.js"
38256
+ "name": "SbbDisabledMixin",
38257
+ "module": "core/mixins/disabled-mixin.js"
38327
38258
  }
38328
38259
  },
38329
38260
  {
38330
- "kind": "method",
38331
- "name": "removeValidityFlag",
38332
- "privacy": "protected",
38333
- "return": {
38334
- "type": {
38335
- "text": "void"
38336
- }
38261
+ "kind": "field",
38262
+ "name": "#disabled",
38263
+ "privacy": "private",
38264
+ "type": {
38265
+ "text": "boolean"
38337
38266
  },
38338
- "parameters": [
38339
- {
38340
- "name": "flag",
38341
- "type": {
38342
- "text": "T"
38343
- }
38344
- }
38345
- ],
38346
- "description": "Removes the validity state flag entry and updates validity state.",
38267
+ "default": "false",
38347
38268
  "inheritedFrom": {
38348
- "name": "SbbFormAssociatedMixin",
38349
- "module": "core/mixins/form-associated-mixin.js"
38269
+ "name": "SbbDisabledMixin",
38270
+ "module": "core/mixins/disabled-mixin.js"
38350
38271
  }
38351
38272
  },
38352
38273
  {
38353
38274
  "kind": "method",
38354
- "name": "validate",
38275
+ "name": "isDisabledExternally",
38355
38276
  "privacy": "protected",
38356
38277
  "return": {
38357
38278
  "type": {
38358
- "text": "void"
38279
+ "text": "boolean"
38359
38280
  }
38360
38281
  },
38361
- "description": "To be called whenever the current element needs to be validated.",
38282
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
38362
38283
  "inheritedFrom": {
38363
- "name": "SbbFormAssociatedMixin",
38364
- "module": "core/mixins/form-associated-mixin.js"
38284
+ "name": "SbbDisabledMixin",
38285
+ "module": "core/mixins/disabled-mixin.js"
38365
38286
  }
38366
38287
  },
38367
38288
  {
38368
- "kind": "method",
38369
- "name": "shouldValidate",
38370
- "privacy": "protected",
38371
- "return": {
38372
- "type": {
38373
- "text": "boolean"
38374
- }
38289
+ "kind": "field",
38290
+ "name": "href",
38291
+ "type": {
38292
+ "text": "string"
38375
38293
  },
38376
- "parameters": [
38377
- {
38378
- "name": "name",
38379
- "type": {
38380
- "text": "PropertyKey | undefined"
38381
- }
38382
- }
38383
- ],
38384
- "description": "Whether validation should be run on a property change with the given name.",
38294
+ "privacy": "public",
38295
+ "default": "''",
38296
+ "description": "The href value you want to link to.",
38297
+ "attribute": "href",
38298
+ "reflects": true,
38385
38299
  "inheritedFrom": {
38386
- "name": "SbbFormAssociatedMixin",
38387
- "module": "core/mixins/form-associated-mixin.js"
38300
+ "name": "SbbLinkBaseElement",
38301
+ "module": "core/base-elements/link-base-element.js"
38388
38302
  }
38389
38303
  },
38390
38304
  {
38391
- "kind": "method",
38392
- "name": "_setInternalValidity",
38393
- "privacy": "private",
38394
- "return": {
38395
- "type": {
38396
- "text": "void"
38397
- }
38305
+ "kind": "field",
38306
+ "name": "target",
38307
+ "type": {
38308
+ "text": "LinkTargetType | string"
38398
38309
  },
38310
+ "privacy": "public",
38311
+ "default": "''",
38312
+ "description": "Where to display the linked URL.",
38313
+ "attribute": "target",
38314
+ "reflects": true,
38399
38315
  "inheritedFrom": {
38400
- "name": "SbbFormAssociatedMixin",
38401
- "module": "core/mixins/form-associated-mixin.js"
38316
+ "name": "SbbLinkBaseElement",
38317
+ "module": "core/base-elements/link-base-element.js"
38402
38318
  }
38403
38319
  },
38404
38320
  {
38405
38321
  "kind": "field",
38406
- "name": "role",
38322
+ "name": "rel",
38407
38323
  "type": {
38408
- "text": "ElementInternals['role']"
38324
+ "text": "string"
38409
38325
  },
38410
38326
  "privacy": "public",
38411
- "static": true,
38412
- "readonly": true,
38413
- "default": "'button'",
38327
+ "default": "''",
38328
+ "description": "The relationship of the linked URL as space-separated link types.",
38329
+ "attribute": "rel",
38330
+ "reflects": true,
38414
38331
  "inheritedFrom": {
38415
- "name": "SbbButtonLikeBaseElement",
38416
- "module": "core/base-elements/button-base-element.js"
38332
+ "name": "SbbLinkBaseElement",
38333
+ "module": "core/base-elements/link-base-element.js"
38417
38334
  }
38418
38335
  },
38419
38336
  {
38420
38337
  "kind": "field",
38421
- "name": "_preventScrollOnSpaceKeydown",
38422
- "privacy": "private",
38423
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
38424
- "parameters": [
38425
- {
38426
- "description": "The origin event.",
38427
- "name": "event"
38428
- }
38429
- ],
38338
+ "name": "download",
38339
+ "type": {
38340
+ "text": "boolean"
38341
+ },
38342
+ "privacy": "public",
38343
+ "default": "false",
38344
+ "description": "Whether the browser will show the download dialog on click.",
38345
+ "attribute": "download",
38346
+ "reflects": true,
38430
38347
  "inheritedFrom": {
38431
- "name": "SbbButtonLikeBaseElement",
38432
- "module": "core/base-elements/button-base-element.js"
38348
+ "name": "SbbLinkBaseElement",
38349
+ "module": "core/base-elements/link-base-element.js"
38433
38350
  }
38434
38351
  },
38435
38352
  {
38436
38353
  "kind": "field",
38437
- "name": "_removeActiveMarker",
38438
- "privacy": "private",
38354
+ "name": "accessibilityLabel",
38355
+ "type": {
38356
+ "text": "string"
38357
+ },
38358
+ "privacy": "public",
38359
+ "default": "''",
38360
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
38361
+ "attribute": "accessibility-label",
38439
38362
  "inheritedFrom": {
38440
- "name": "SbbButtonLikeBaseElement",
38441
- "module": "core/base-elements/button-base-element.js"
38363
+ "name": "SbbLinkBaseElement",
38364
+ "module": "core/base-elements/link-base-element.js"
38442
38365
  }
38443
38366
  },
38444
38367
  {
38445
38368
  "kind": "field",
38446
- "name": "_dispatchClickEventOnSpaceKeyup",
38447
- "privacy": "private",
38448
- "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.",
38449
- "parameters": [
38450
- {
38451
- "description": "The origin event.",
38452
- "name": "event"
38453
- }
38454
- ],
38369
+ "name": "accessibilityCurrent",
38370
+ "type": {
38371
+ "text": "string"
38372
+ },
38373
+ "privacy": "public",
38374
+ "default": "''",
38375
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
38376
+ "attribute": "accessibility-current",
38455
38377
  "inheritedFrom": {
38456
- "name": "SbbButtonLikeBaseElement",
38457
- "module": "core/base-elements/button-base-element.js"
38378
+ "name": "SbbLinkBaseElement",
38379
+ "module": "core/base-elements/link-base-element.js"
38458
38380
  }
38459
38381
  },
38460
38382
  {
38461
38383
  "kind": "field",
38462
- "name": "_dispatchClickEvent",
38384
+ "name": "language",
38385
+ "privacy": "protected",
38386
+ "default": "new SbbLanguageController(this)",
38387
+ "inheritedFrom": {
38388
+ "name": "SbbLinkBaseElement",
38389
+ "module": "core/base-elements/link-base-element.js"
38390
+ }
38391
+ },
38392
+ {
38393
+ "kind": "field",
38394
+ "name": "anchorRole",
38395
+ "type": {
38396
+ "text": "string | null"
38397
+ },
38398
+ "privacy": "protected",
38399
+ "readonly": true,
38400
+ "default": "null",
38401
+ "inheritedFrom": {
38402
+ "name": "SbbLinkBaseElement",
38403
+ "module": "core/base-elements/link-base-element.js"
38404
+ }
38405
+ },
38406
+ {
38407
+ "kind": "field",
38408
+ "name": "_evaluateRelAttribute",
38463
38409
  "privacy": "private",
38464
38410
  "inheritedFrom": {
38465
- "name": "SbbButtonLikeBaseElement",
38466
- "module": "core/base-elements/button-base-element.js"
38411
+ "name": "SbbLinkBaseElement",
38412
+ "module": "core/base-elements/link-base-element.js"
38413
+ }
38414
+ },
38415
+ {
38416
+ "kind": "method",
38417
+ "name": "renderLink",
38418
+ "privacy": "protected",
38419
+ "return": {
38420
+ "type": {
38421
+ "text": "TemplateResult"
38422
+ }
38423
+ },
38424
+ "parameters": [
38425
+ {
38426
+ "name": "renderContent",
38427
+ "type": {
38428
+ "text": "TemplateResult"
38429
+ }
38430
+ }
38431
+ ],
38432
+ "inheritedFrom": {
38433
+ "name": "SbbLinkBaseElement",
38434
+ "module": "core/base-elements/link-base-element.js"
38467
38435
  }
38468
38436
  },
38469
38437
  {
@@ -38618,15 +38586,19 @@
38618
38586
  "module": "button/common/button-common.js"
38619
38587
  },
38620
38588
  {
38621
- "name": "SbbDisabledTabIndexActionMixin",
38589
+ "name": "SbbDisabledInteractiveMixin",
38590
+ "module": "core/mixins.js"
38591
+ },
38592
+ {
38593
+ "name": "SbbDisabledMixin",
38622
38594
  "module": "core/mixins.js"
38623
38595
  }
38624
38596
  ],
38625
38597
  "superclass": {
38626
- "name": "SbbButtonBaseElement",
38598
+ "name": "SbbLinkBaseElement",
38627
38599
  "module": "core/base-elements.js"
38628
38600
  },
38629
- "tagName": "sbb-accent-button",
38601
+ "tagName": "sbb-accent-button-link",
38630
38602
  "customElement": true,
38631
38603
  "attributes": [
38632
38604
  {
@@ -38708,53 +38680,81 @@
38708
38680
  }
38709
38681
  },
38710
38682
  {
38711
- "name": "value",
38683
+ "name": "href",
38712
38684
  "type": {
38713
38685
  "text": "string"
38714
38686
  },
38715
38687
  "default": "''",
38716
- "description": "Value of the form element.",
38717
- "fieldName": "value",
38688
+ "description": "The href value you want to link to.",
38689
+ "fieldName": "href",
38718
38690
  "inheritedFrom": {
38719
- "name": "SbbButtonBaseElement",
38720
- "module": "core/base-elements/button-base-element.js"
38691
+ "name": "SbbLinkBaseElement",
38692
+ "module": "core/base-elements/link-base-element.js"
38721
38693
  }
38722
38694
  },
38723
38695
  {
38724
- "name": "type",
38725
- "description": "The type attribute to use for the button.",
38726
- "default": "'button'",
38696
+ "name": "target",
38727
38697
  "type": {
38728
- "text": "SbbButtonType"
38698
+ "text": "LinkTargetType | string"
38729
38699
  },
38730
- "fieldName": "type",
38700
+ "default": "''",
38701
+ "description": "Where to display the linked URL.",
38702
+ "fieldName": "target",
38731
38703
  "inheritedFrom": {
38732
- "name": "SbbButtonBaseElement",
38733
- "module": "core/base-elements/button-base-element.js"
38704
+ "name": "SbbLinkBaseElement",
38705
+ "module": "core/base-elements/link-base-element.js"
38734
38706
  }
38735
38707
  },
38736
38708
  {
38737
- "name": "form",
38738
- "description": "The `<form>` element to associate the button with.",
38709
+ "name": "rel",
38739
38710
  "type": {
38740
- "text": "HTMLFormElement | null"
38711
+ "text": "string"
38741
38712
  },
38742
- "fieldName": "form",
38713
+ "default": "''",
38714
+ "description": "The relationship of the linked URL as space-separated link types.",
38715
+ "fieldName": "rel",
38743
38716
  "inheritedFrom": {
38744
- "name": "SbbButtonBaseElement",
38745
- "module": "core/base-elements/button-base-element.js"
38717
+ "name": "SbbLinkBaseElement",
38718
+ "module": "core/base-elements/link-base-element.js"
38746
38719
  }
38747
38720
  },
38748
38721
  {
38749
- "name": "name",
38750
- "description": "Name of the form element. Will be read from name attribute.",
38722
+ "name": "download",
38723
+ "type": {
38724
+ "text": "boolean"
38725
+ },
38726
+ "default": "false",
38727
+ "description": "Whether the browser will show the download dialog on click.",
38728
+ "fieldName": "download",
38729
+ "inheritedFrom": {
38730
+ "name": "SbbLinkBaseElement",
38731
+ "module": "core/base-elements/link-base-element.js"
38732
+ }
38733
+ },
38734
+ {
38735
+ "name": "accessibility-label",
38751
38736
  "type": {
38752
38737
  "text": "string"
38753
38738
  },
38754
- "fieldName": "name",
38739
+ "default": "''",
38740
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
38741
+ "fieldName": "accessibilityLabel",
38755
38742
  "inheritedFrom": {
38756
- "name": "SbbFormAssociatedMixin",
38757
- "module": "core/mixins/form-associated-mixin.js"
38743
+ "name": "SbbLinkBaseElement",
38744
+ "module": "core/base-elements/link-base-element.js"
38745
+ }
38746
+ },
38747
+ {
38748
+ "name": "accessibility-current",
38749
+ "type": {
38750
+ "text": "string"
38751
+ },
38752
+ "default": "''",
38753
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
38754
+ "fieldName": "accessibilityCurrent",
38755
+ "inheritedFrom": {
38756
+ "name": "SbbLinkBaseElement",
38757
+ "module": "core/base-elements/link-base-element.js"
38758
38758
  }
38759
38759
  }
38760
38760
  ]
@@ -38763,10 +38763,10 @@
38763
38763
  "exports": [
38764
38764
  {
38765
38765
  "kind": "js",
38766
- "name": "SbbAccentButtonElement",
38766
+ "name": "SbbAccentButtonLinkElement",
38767
38767
  "declaration": {
38768
- "name": "SbbAccentButtonElement",
38769
- "module": "button/accent-button/accent-button.component.js"
38768
+ "name": "SbbAccentButtonLinkElement",
38769
+ "module": "button/accent-button-link/accent-button-link.component.js"
38770
38770
  }
38771
38771
  }
38772
38772
  ]
@@ -77919,6 +77919,26 @@
77919
77919
  }
77920
77920
  ]
77921
77921
  },
77922
+ {
77923
+ "kind": "javascript-module",
77924
+ "path": "core/styles/styles.js",
77925
+ "declarations": [
77926
+ {
77927
+ "kind": "variable",
77928
+ "name": "boxSizingStyles"
77929
+ }
77930
+ ],
77931
+ "exports": [
77932
+ {
77933
+ "kind": "js",
77934
+ "name": "boxSizingStyles",
77935
+ "declaration": {
77936
+ "name": "boxSizingStyles",
77937
+ "module": "core/styles/styles.js"
77938
+ }
77939
+ }
77940
+ ]
77941
+ },
77922
77942
  {
77923
77943
  "kind": "javascript-module",
77924
77944
  "path": "core/testing/event-spy.js",
@@ -78316,26 +78336,6 @@
78316
78336
  }
78317
78337
  ]
78318
78338
  },
78319
- {
78320
- "kind": "javascript-module",
78321
- "path": "core/styles/styles.js",
78322
- "declarations": [
78323
- {
78324
- "kind": "variable",
78325
- "name": "boxSizingStyles"
78326
- }
78327
- ],
78328
- "exports": [
78329
- {
78330
- "kind": "js",
78331
- "name": "boxSizingStyles",
78332
- "declaration": {
78333
- "name": "boxSizingStyles",
78334
- "module": "core/styles/styles.js"
78335
- }
78336
- }
78337
- ]
78338
- },
78339
78339
  {
78340
78340
  "kind": "javascript-module",
78341
78341
  "path": "datepicker/common/datepicker-button.js",
@@ -98637,346 +98637,6 @@
98637
98637
  }
98638
98638
  ]
98639
98639
  },
98640
- {
98641
- "kind": "javascript-module",
98642
- "path": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js",
98643
- "declarations": [
98644
- {
98645
- "kind": "class",
98646
- "description": "This is the parent component to one or two `<sbb-icon-sidebar>`s and one `<sbb-icon-sidebar-content>` element.",
98647
- "name": "SbbIconSidebarContainerElement",
98648
- "slots": [
98649
- {
98650
- "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
98651
- "name": ""
98652
- }
98653
- ],
98654
- "members": [
98655
- {
98656
- "kind": "field",
98657
- "name": "elementName",
98658
- "type": {
98659
- "text": "string"
98660
- },
98661
- "privacy": "public",
98662
- "static": true,
98663
- "readonly": true,
98664
- "default": "'sbb-icon-sidebar-container'",
98665
- "inheritedFrom": {
98666
- "name": "SbbElement",
98667
- "module": "core/base-elements/element.js"
98668
- }
98669
- },
98670
- {
98671
- "kind": "field",
98672
- "name": "sidebars",
98673
- "type": {
98674
- "text": "SbbIconSidebarElement[]"
98675
- },
98676
- "privacy": "public",
98677
- "description": "The icon-sidebar children.",
98678
- "readonly": true
98679
- },
98680
- {
98681
- "kind": "field",
98682
- "name": "start",
98683
- "type": {
98684
- "text": "SbbIconSidebarElement | null"
98685
- },
98686
- "privacy": "public",
98687
- "description": "The icon-sidebar child at the start position.",
98688
- "readonly": true
98689
- },
98690
- {
98691
- "kind": "field",
98692
- "name": "end",
98693
- "type": {
98694
- "text": "SbbIconSidebarElement | null"
98695
- },
98696
- "privacy": "public",
98697
- "description": "The icon-sidebar child at the end position.",
98698
- "readonly": true
98699
- },
98700
- {
98701
- "kind": "field",
98702
- "name": "_hydrationRequired",
98703
- "type": {
98704
- "text": "boolean"
98705
- },
98706
- "privacy": "private",
98707
- "default": "!!this.shadowRoot",
98708
- "inheritedFrom": {
98709
- "name": "SbbElement",
98710
- "module": "core/base-elements/element.js"
98711
- }
98712
- },
98713
- {
98714
- "kind": "field",
98715
- "name": "_hydrationComplete",
98716
- "privacy": "private",
98717
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
98718
- "inheritedFrom": {
98719
- "name": "SbbElement",
98720
- "module": "core/base-elements/element.js"
98721
- }
98722
- },
98723
- {
98724
- "kind": "field",
98725
- "name": "_resolveHydration",
98726
- "type": {
98727
- "text": "(hydrationRequired: boolean) => void"
98728
- },
98729
- "privacy": "private",
98730
- "inheritedFrom": {
98731
- "name": "SbbElement",
98732
- "module": "core/base-elements/element.js"
98733
- }
98734
- },
98735
- {
98736
- "kind": "field",
98737
- "name": "hydrationRequired",
98738
- "type": {
98739
- "text": "boolean"
98740
- },
98741
- "privacy": "protected",
98742
- "description": "Returns whether hydration is required and not completed.",
98743
- "readonly": true,
98744
- "inheritedFrom": {
98745
- "name": "SbbElement",
98746
- "module": "core/base-elements/element.js"
98747
- },
98748
- "default": "!!this.shadowRoot"
98749
- },
98750
- {
98751
- "kind": "method",
98752
- "name": "toggleState",
98753
- "privacy": "protected",
98754
- "return": {
98755
- "type": {
98756
- "text": "void"
98757
- }
98758
- },
98759
- "parameters": [
98760
- {
98761
- "name": "value",
98762
- "type": {
98763
- "text": "string"
98764
- }
98765
- },
98766
- {
98767
- "name": "force",
98768
- "optional": true,
98769
- "type": {
98770
- "text": "boolean"
98771
- }
98772
- }
98773
- ],
98774
- "inheritedFrom": {
98775
- "name": "SbbElement",
98776
- "module": "core/base-elements/element.js"
98777
- }
98778
- },
98779
- {
98780
- "kind": "field",
98781
- "name": "['_$sbbElement$']",
98782
- "type": {
98783
- "text": "boolean"
98784
- },
98785
- "privacy": "public",
98786
- "static": true,
98787
- "default": "true",
98788
- "inheritedFrom": {
98789
- "name": "SbbElement",
98790
- "module": "core/base-elements/element.js"
98791
- }
98792
- },
98793
- {
98794
- "kind": "field",
98795
- "name": "_controllers",
98796
- "type": {
98797
- "text": "Set<SbbReactiveController> | undefined"
98798
- },
98799
- "privacy": "private",
98800
- "inheritedFrom": {
98801
- "name": "SbbElement",
98802
- "module": "core/base-elements/element.js"
98803
- }
98804
- }
98805
- ],
98806
- "superclass": {
98807
- "name": "SbbElement",
98808
- "module": "core/base-elements.js"
98809
- },
98810
- "tagName": "sbb-icon-sidebar-container",
98811
- "customElement": true
98812
- }
98813
- ],
98814
- "exports": [
98815
- {
98816
- "kind": "js",
98817
- "name": "SbbIconSidebarContainerElement",
98818
- "declaration": {
98819
- "name": "SbbIconSidebarContainerElement",
98820
- "module": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js"
98821
- }
98822
- }
98823
- ]
98824
- },
98825
- {
98826
- "kind": "javascript-module",
98827
- "path": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js",
98828
- "declarations": [
98829
- {
98830
- "kind": "class",
98831
- "description": "Container for the icon sidebar content. Intended to be placed inside an `sbb-icon-sidebar-container` element.",
98832
- "name": "SbbIconSidebarContentElement",
98833
- "slots": [
98834
- {
98835
- "description": "Use the unnamed slot to add any content elements.",
98836
- "name": ""
98837
- }
98838
- ],
98839
- "members": [
98840
- {
98841
- "kind": "field",
98842
- "name": "elementName",
98843
- "type": {
98844
- "text": "string"
98845
- },
98846
- "privacy": "public",
98847
- "static": true,
98848
- "readonly": true,
98849
- "default": "'sbb-icon-sidebar-content'",
98850
- "inheritedFrom": {
98851
- "name": "SbbElement",
98852
- "module": "core/base-elements/element.js"
98853
- }
98854
- },
98855
- {
98856
- "kind": "field",
98857
- "name": "_hydrationRequired",
98858
- "type": {
98859
- "text": "boolean"
98860
- },
98861
- "privacy": "private",
98862
- "default": "!!this.shadowRoot",
98863
- "inheritedFrom": {
98864
- "name": "SbbElement",
98865
- "module": "core/base-elements/element.js"
98866
- }
98867
- },
98868
- {
98869
- "kind": "field",
98870
- "name": "_hydrationComplete",
98871
- "privacy": "private",
98872
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
98873
- "inheritedFrom": {
98874
- "name": "SbbElement",
98875
- "module": "core/base-elements/element.js"
98876
- }
98877
- },
98878
- {
98879
- "kind": "field",
98880
- "name": "_resolveHydration",
98881
- "type": {
98882
- "text": "(hydrationRequired: boolean) => void"
98883
- },
98884
- "privacy": "private",
98885
- "inheritedFrom": {
98886
- "name": "SbbElement",
98887
- "module": "core/base-elements/element.js"
98888
- }
98889
- },
98890
- {
98891
- "kind": "field",
98892
- "name": "hydrationRequired",
98893
- "type": {
98894
- "text": "boolean"
98895
- },
98896
- "privacy": "protected",
98897
- "description": "Returns whether hydration is required and not completed.",
98898
- "readonly": true,
98899
- "inheritedFrom": {
98900
- "name": "SbbElement",
98901
- "module": "core/base-elements/element.js"
98902
- },
98903
- "default": "!!this.shadowRoot"
98904
- },
98905
- {
98906
- "kind": "method",
98907
- "name": "toggleState",
98908
- "privacy": "protected",
98909
- "return": {
98910
- "type": {
98911
- "text": "void"
98912
- }
98913
- },
98914
- "parameters": [
98915
- {
98916
- "name": "value",
98917
- "type": {
98918
- "text": "string"
98919
- }
98920
- },
98921
- {
98922
- "name": "force",
98923
- "optional": true,
98924
- "type": {
98925
- "text": "boolean"
98926
- }
98927
- }
98928
- ],
98929
- "inheritedFrom": {
98930
- "name": "SbbElement",
98931
- "module": "core/base-elements/element.js"
98932
- }
98933
- },
98934
- {
98935
- "kind": "field",
98936
- "name": "['_$sbbElement$']",
98937
- "type": {
98938
- "text": "boolean"
98939
- },
98940
- "privacy": "public",
98941
- "static": true,
98942
- "default": "true",
98943
- "inheritedFrom": {
98944
- "name": "SbbElement",
98945
- "module": "core/base-elements/element.js"
98946
- }
98947
- },
98948
- {
98949
- "kind": "field",
98950
- "name": "_controllers",
98951
- "type": {
98952
- "text": "Set<SbbReactiveController> | undefined"
98953
- },
98954
- "privacy": "private",
98955
- "inheritedFrom": {
98956
- "name": "SbbElement",
98957
- "module": "core/base-elements/element.js"
98958
- }
98959
- }
98960
- ],
98961
- "superclass": {
98962
- "name": "SbbElement",
98963
- "module": "core/base-elements.js"
98964
- },
98965
- "tagName": "sbb-icon-sidebar-content",
98966
- "customElement": true
98967
- }
98968
- ],
98969
- "exports": [
98970
- {
98971
- "kind": "js",
98972
- "name": "SbbIconSidebarContentElement",
98973
- "declaration": {
98974
- "name": "SbbIconSidebarContentElement",
98975
- "module": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js"
98976
- }
98977
- }
98978
- ]
98979
- },
98980
98640
  {
98981
98641
  "kind": "javascript-module",
98982
98642
  "path": "icon-sidebar/icon-sidebar-button/icon-sidebar-button.component.js",
@@ -99801,6 +99461,346 @@
99801
99461
  }
99802
99462
  ]
99803
99463
  },
99464
+ {
99465
+ "kind": "javascript-module",
99466
+ "path": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js",
99467
+ "declarations": [
99468
+ {
99469
+ "kind": "class",
99470
+ "description": "This is the parent component to one or two `<sbb-icon-sidebar>`s and one `<sbb-icon-sidebar-content>` element.",
99471
+ "name": "SbbIconSidebarContainerElement",
99472
+ "slots": [
99473
+ {
99474
+ "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
99475
+ "name": ""
99476
+ }
99477
+ ],
99478
+ "members": [
99479
+ {
99480
+ "kind": "field",
99481
+ "name": "elementName",
99482
+ "type": {
99483
+ "text": "string"
99484
+ },
99485
+ "privacy": "public",
99486
+ "static": true,
99487
+ "readonly": true,
99488
+ "default": "'sbb-icon-sidebar-container'",
99489
+ "inheritedFrom": {
99490
+ "name": "SbbElement",
99491
+ "module": "core/base-elements/element.js"
99492
+ }
99493
+ },
99494
+ {
99495
+ "kind": "field",
99496
+ "name": "sidebars",
99497
+ "type": {
99498
+ "text": "SbbIconSidebarElement[]"
99499
+ },
99500
+ "privacy": "public",
99501
+ "description": "The icon-sidebar children.",
99502
+ "readonly": true
99503
+ },
99504
+ {
99505
+ "kind": "field",
99506
+ "name": "start",
99507
+ "type": {
99508
+ "text": "SbbIconSidebarElement | null"
99509
+ },
99510
+ "privacy": "public",
99511
+ "description": "The icon-sidebar child at the start position.",
99512
+ "readonly": true
99513
+ },
99514
+ {
99515
+ "kind": "field",
99516
+ "name": "end",
99517
+ "type": {
99518
+ "text": "SbbIconSidebarElement | null"
99519
+ },
99520
+ "privacy": "public",
99521
+ "description": "The icon-sidebar child at the end position.",
99522
+ "readonly": true
99523
+ },
99524
+ {
99525
+ "kind": "field",
99526
+ "name": "_hydrationRequired",
99527
+ "type": {
99528
+ "text": "boolean"
99529
+ },
99530
+ "privacy": "private",
99531
+ "default": "!!this.shadowRoot",
99532
+ "inheritedFrom": {
99533
+ "name": "SbbElement",
99534
+ "module": "core/base-elements/element.js"
99535
+ }
99536
+ },
99537
+ {
99538
+ "kind": "field",
99539
+ "name": "_hydrationComplete",
99540
+ "privacy": "private",
99541
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
99542
+ "inheritedFrom": {
99543
+ "name": "SbbElement",
99544
+ "module": "core/base-elements/element.js"
99545
+ }
99546
+ },
99547
+ {
99548
+ "kind": "field",
99549
+ "name": "_resolveHydration",
99550
+ "type": {
99551
+ "text": "(hydrationRequired: boolean) => void"
99552
+ },
99553
+ "privacy": "private",
99554
+ "inheritedFrom": {
99555
+ "name": "SbbElement",
99556
+ "module": "core/base-elements/element.js"
99557
+ }
99558
+ },
99559
+ {
99560
+ "kind": "field",
99561
+ "name": "hydrationRequired",
99562
+ "type": {
99563
+ "text": "boolean"
99564
+ },
99565
+ "privacy": "protected",
99566
+ "description": "Returns whether hydration is required and not completed.",
99567
+ "readonly": true,
99568
+ "inheritedFrom": {
99569
+ "name": "SbbElement",
99570
+ "module": "core/base-elements/element.js"
99571
+ },
99572
+ "default": "!!this.shadowRoot"
99573
+ },
99574
+ {
99575
+ "kind": "method",
99576
+ "name": "toggleState",
99577
+ "privacy": "protected",
99578
+ "return": {
99579
+ "type": {
99580
+ "text": "void"
99581
+ }
99582
+ },
99583
+ "parameters": [
99584
+ {
99585
+ "name": "value",
99586
+ "type": {
99587
+ "text": "string"
99588
+ }
99589
+ },
99590
+ {
99591
+ "name": "force",
99592
+ "optional": true,
99593
+ "type": {
99594
+ "text": "boolean"
99595
+ }
99596
+ }
99597
+ ],
99598
+ "inheritedFrom": {
99599
+ "name": "SbbElement",
99600
+ "module": "core/base-elements/element.js"
99601
+ }
99602
+ },
99603
+ {
99604
+ "kind": "field",
99605
+ "name": "['_$sbbElement$']",
99606
+ "type": {
99607
+ "text": "boolean"
99608
+ },
99609
+ "privacy": "public",
99610
+ "static": true,
99611
+ "default": "true",
99612
+ "inheritedFrom": {
99613
+ "name": "SbbElement",
99614
+ "module": "core/base-elements/element.js"
99615
+ }
99616
+ },
99617
+ {
99618
+ "kind": "field",
99619
+ "name": "_controllers",
99620
+ "type": {
99621
+ "text": "Set<SbbReactiveController> | undefined"
99622
+ },
99623
+ "privacy": "private",
99624
+ "inheritedFrom": {
99625
+ "name": "SbbElement",
99626
+ "module": "core/base-elements/element.js"
99627
+ }
99628
+ }
99629
+ ],
99630
+ "superclass": {
99631
+ "name": "SbbElement",
99632
+ "module": "core/base-elements.js"
99633
+ },
99634
+ "tagName": "sbb-icon-sidebar-container",
99635
+ "customElement": true
99636
+ }
99637
+ ],
99638
+ "exports": [
99639
+ {
99640
+ "kind": "js",
99641
+ "name": "SbbIconSidebarContainerElement",
99642
+ "declaration": {
99643
+ "name": "SbbIconSidebarContainerElement",
99644
+ "module": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js"
99645
+ }
99646
+ }
99647
+ ]
99648
+ },
99649
+ {
99650
+ "kind": "javascript-module",
99651
+ "path": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js",
99652
+ "declarations": [
99653
+ {
99654
+ "kind": "class",
99655
+ "description": "Container for the icon sidebar content. Intended to be placed inside an `sbb-icon-sidebar-container` element.",
99656
+ "name": "SbbIconSidebarContentElement",
99657
+ "slots": [
99658
+ {
99659
+ "description": "Use the unnamed slot to add any content elements.",
99660
+ "name": ""
99661
+ }
99662
+ ],
99663
+ "members": [
99664
+ {
99665
+ "kind": "field",
99666
+ "name": "elementName",
99667
+ "type": {
99668
+ "text": "string"
99669
+ },
99670
+ "privacy": "public",
99671
+ "static": true,
99672
+ "readonly": true,
99673
+ "default": "'sbb-icon-sidebar-content'",
99674
+ "inheritedFrom": {
99675
+ "name": "SbbElement",
99676
+ "module": "core/base-elements/element.js"
99677
+ }
99678
+ },
99679
+ {
99680
+ "kind": "field",
99681
+ "name": "_hydrationRequired",
99682
+ "type": {
99683
+ "text": "boolean"
99684
+ },
99685
+ "privacy": "private",
99686
+ "default": "!!this.shadowRoot",
99687
+ "inheritedFrom": {
99688
+ "name": "SbbElement",
99689
+ "module": "core/base-elements/element.js"
99690
+ }
99691
+ },
99692
+ {
99693
+ "kind": "field",
99694
+ "name": "_hydrationComplete",
99695
+ "privacy": "private",
99696
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
99697
+ "inheritedFrom": {
99698
+ "name": "SbbElement",
99699
+ "module": "core/base-elements/element.js"
99700
+ }
99701
+ },
99702
+ {
99703
+ "kind": "field",
99704
+ "name": "_resolveHydration",
99705
+ "type": {
99706
+ "text": "(hydrationRequired: boolean) => void"
99707
+ },
99708
+ "privacy": "private",
99709
+ "inheritedFrom": {
99710
+ "name": "SbbElement",
99711
+ "module": "core/base-elements/element.js"
99712
+ }
99713
+ },
99714
+ {
99715
+ "kind": "field",
99716
+ "name": "hydrationRequired",
99717
+ "type": {
99718
+ "text": "boolean"
99719
+ },
99720
+ "privacy": "protected",
99721
+ "description": "Returns whether hydration is required and not completed.",
99722
+ "readonly": true,
99723
+ "inheritedFrom": {
99724
+ "name": "SbbElement",
99725
+ "module": "core/base-elements/element.js"
99726
+ },
99727
+ "default": "!!this.shadowRoot"
99728
+ },
99729
+ {
99730
+ "kind": "method",
99731
+ "name": "toggleState",
99732
+ "privacy": "protected",
99733
+ "return": {
99734
+ "type": {
99735
+ "text": "void"
99736
+ }
99737
+ },
99738
+ "parameters": [
99739
+ {
99740
+ "name": "value",
99741
+ "type": {
99742
+ "text": "string"
99743
+ }
99744
+ },
99745
+ {
99746
+ "name": "force",
99747
+ "optional": true,
99748
+ "type": {
99749
+ "text": "boolean"
99750
+ }
99751
+ }
99752
+ ],
99753
+ "inheritedFrom": {
99754
+ "name": "SbbElement",
99755
+ "module": "core/base-elements/element.js"
99756
+ }
99757
+ },
99758
+ {
99759
+ "kind": "field",
99760
+ "name": "['_$sbbElement$']",
99761
+ "type": {
99762
+ "text": "boolean"
99763
+ },
99764
+ "privacy": "public",
99765
+ "static": true,
99766
+ "default": "true",
99767
+ "inheritedFrom": {
99768
+ "name": "SbbElement",
99769
+ "module": "core/base-elements/element.js"
99770
+ }
99771
+ },
99772
+ {
99773
+ "kind": "field",
99774
+ "name": "_controllers",
99775
+ "type": {
99776
+ "text": "Set<SbbReactiveController> | undefined"
99777
+ },
99778
+ "privacy": "private",
99779
+ "inheritedFrom": {
99780
+ "name": "SbbElement",
99781
+ "module": "core/base-elements/element.js"
99782
+ }
99783
+ }
99784
+ ],
99785
+ "superclass": {
99786
+ "name": "SbbElement",
99787
+ "module": "core/base-elements.js"
99788
+ },
99789
+ "tagName": "sbb-icon-sidebar-content",
99790
+ "customElement": true
99791
+ }
99792
+ ],
99793
+ "exports": [
99794
+ {
99795
+ "kind": "js",
99796
+ "name": "SbbIconSidebarContentElement",
99797
+ "declaration": {
99798
+ "name": "SbbIconSidebarContentElement",
99799
+ "module": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js"
99800
+ }
99801
+ }
99802
+ ]
99803
+ },
99804
99804
  {
99805
99805
  "kind": "javascript-module",
99806
99806
  "path": "icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.js",