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

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 +1060 -1060
  2. package/package.json +2 -2
@@ -37045,12 +37045,12 @@
37045
37045
  },
37046
37046
  {
37047
37047
  "kind": "javascript-module",
37048
- "path": "button/accent-button/accent-button.component.js",
37048
+ "path": "button/accent-button-link/accent-button-link.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.",
37053
- "name": "SbbAccentButtonElement",
37052
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
37053
+ "name": "SbbAccentButtonLinkElement",
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.",
37063
+ "description": "Use the unnamed slot to add content to the accent-button-link.",
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'",
37081
+ "default": "'sbb-accent-button-link'",
37082
37082
  "inheritedFrom": {
37083
37083
  "name": "SbbElement",
37084
37084
  "module": "core/base-elements/element.js"
@@ -37275,479 +37275,151 @@
37275
37275
  },
37276
37276
  {
37277
37277
  "kind": "field",
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",
37278
+ "name": "href",
37293
37279
  "type": {
37294
37280
  "text": "string"
37295
37281
  },
37296
37282
  "privacy": "public",
37297
37283
  "default": "''",
37298
- "description": "Value of the form element.",
37299
- "attribute": "value",
37300
- "inheritedFrom": {
37301
- "name": "SbbButtonBaseElement",
37302
- "module": "core/base-elements/button-base-element.js"
37303
- }
37304
- },
37305
- {
37306
- "kind": "field",
37307
- "name": "type",
37308
- "privacy": "public",
37309
- "description": "The type attribute to use for the button.",
37310
- "default": "'button'",
37311
- "type": {
37312
- "text": "SbbButtonType"
37313
- },
37314
- "attribute": "type",
37284
+ "description": "The href value you want to link to.",
37285
+ "attribute": "href",
37286
+ "reflects": true,
37315
37287
  "inheritedFrom": {
37316
- "name": "SbbButtonBaseElement",
37317
- "module": "core/base-elements/button-base-element.js"
37288
+ "name": "SbbLinkBaseElement",
37289
+ "module": "core/base-elements/link-base-element.js"
37318
37290
  }
37319
37291
  },
37320
37292
  {
37321
37293
  "kind": "field",
37322
- "name": "form",
37294
+ "name": "target",
37323
37295
  "type": {
37324
- "text": "HTMLFormElement | null"
37296
+ "text": "LinkTargetType | string"
37325
37297
  },
37326
37298
  "privacy": "public",
37327
- "description": "The `<form>` element to associate the button with.",
37328
- "attribute": "form",
37299
+ "default": "''",
37300
+ "description": "Where to display the linked URL.",
37301
+ "attribute": "target",
37302
+ "reflects": true,
37329
37303
  "inheritedFrom": {
37330
- "name": "SbbButtonBaseElement",
37331
- "module": "core/base-elements/button-base-element.js"
37304
+ "name": "SbbLinkBaseElement",
37305
+ "module": "core/base-elements/link-base-element.js"
37332
37306
  }
37333
37307
  },
37334
37308
  {
37335
37309
  "kind": "field",
37336
- "name": "_formId",
37310
+ "name": "rel",
37337
37311
  "type": {
37338
37312
  "text": "string"
37339
37313
  },
37340
- "privacy": "private",
37314
+ "privacy": "public",
37341
37315
  "default": "''",
37316
+ "description": "The relationship of the linked URL as space-separated link types.",
37317
+ "attribute": "rel",
37318
+ "reflects": true,
37342
37319
  "inheritedFrom": {
37343
- "name": "SbbButtonBaseElement",
37344
- "module": "core/base-elements/button-base-element.js"
37345
- }
37346
- },
37347
- {
37348
- "kind": "field",
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"
37320
+ "name": "SbbLinkBaseElement",
37321
+ "module": "core/base-elements/link-base-element.js"
37385
37322
  }
37386
37323
  },
37387
37324
  {
37388
37325
  "kind": "field",
37389
- "name": "formAssociated",
37326
+ "name": "download",
37390
37327
  "type": {
37391
37328
  "text": "boolean"
37392
37329
  },
37393
37330
  "privacy": "public",
37394
- "static": true,
37395
- "default": "true",
37331
+ "default": "false",
37332
+ "description": "Whether the browser will show the download dialog on click.",
37333
+ "attribute": "download",
37334
+ "reflects": true,
37396
37335
  "inheritedFrom": {
37397
- "name": "SbbFormAssociatedMixin",
37398
- "module": "core/mixins/form-associated-mixin.js"
37336
+ "name": "SbbLinkBaseElement",
37337
+ "module": "core/base-elements/link-base-element.js"
37399
37338
  }
37400
37339
  },
37401
37340
  {
37402
37341
  "kind": "field",
37403
- "name": "name",
37404
- "privacy": "public",
37405
- "description": "Name of the form element. Will be read from name attribute.",
37342
+ "name": "accessibilityLabel",
37406
37343
  "type": {
37407
37344
  "text": "string"
37408
37345
  },
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
- },
37421
37346
  "privacy": "public",
37422
- "description": "Returns the ValidityState object for this element.",
37423
- "readonly": true,
37347
+ "default": "''",
37348
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
37349
+ "attribute": "accessibility-label",
37424
37350
  "inheritedFrom": {
37425
- "name": "SbbFormAssociatedMixin",
37426
- "module": "core/mixins/form-associated-mixin.js"
37351
+ "name": "SbbLinkBaseElement",
37352
+ "module": "core/base-elements/link-base-element.js"
37427
37353
  }
37428
37354
  },
37429
37355
  {
37430
37356
  "kind": "field",
37431
- "name": "validationMessage",
37357
+ "name": "accessibilityCurrent",
37432
37358
  "type": {
37433
37359
  "text": "string"
37434
37360
  },
37435
37361
  "privacy": "public",
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,
37438
- "inheritedFrom": {
37439
- "name": "SbbFormAssociatedMixin",
37440
- "module": "core/mixins/form-associated-mixin.js"
37441
- }
37442
- },
37443
- {
37444
- "kind": "field",
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,
37362
+ "default": "''",
37363
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
37364
+ "attribute": "accessibility-current",
37452
37365
  "inheritedFrom": {
37453
- "name": "SbbFormAssociatedMixin",
37454
- "module": "core/mixins/form-associated-mixin.js"
37366
+ "name": "SbbLinkBaseElement",
37367
+ "module": "core/base-elements/link-base-element.js"
37455
37368
  }
37456
37369
  },
37457
37370
  {
37458
37371
  "kind": "field",
37459
- "name": "_validityStates",
37460
- "privacy": "private",
37461
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
37372
+ "name": "language",
37373
+ "privacy": "protected",
37374
+ "default": "new SbbLanguageController(this)",
37462
37375
  "inheritedFrom": {
37463
- "name": "SbbFormAssociatedMixin",
37464
- "module": "core/mixins/form-associated-mixin.js"
37376
+ "name": "SbbLinkBaseElement",
37377
+ "module": "core/base-elements/link-base-element.js"
37465
37378
  }
37466
37379
  },
37467
37380
  {
37468
37381
  "kind": "field",
37469
- "name": "formDisabled",
37382
+ "name": "anchorRole",
37470
37383
  "type": {
37471
- "text": "boolean"
37384
+ "text": "string | null"
37472
37385
  },
37473
37386
  "privacy": "protected",
37474
- "default": "false",
37475
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
37476
- "inheritedFrom": {
37477
- "name": "SbbFormAssociatedMixin",
37478
- "module": "core/mixins/form-associated-mixin.js"
37479
- }
37480
- },
37481
- {
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.",
37387
+ "readonly": true,
37388
+ "default": "null",
37529
37389
  "inheritedFrom": {
37530
- "name": "SbbFormAssociatedMixin",
37531
- "module": "core/mixins/form-associated-mixin.js"
37390
+ "name": "SbbLinkBaseElement",
37391
+ "module": "core/base-elements/link-base-element.js"
37532
37392
  }
37533
37393
  },
37534
37394
  {
37535
- "kind": "method",
37536
- "name": "_hasDisabledAncestor",
37395
+ "kind": "field",
37396
+ "name": "_evaluateRelAttribute",
37537
37397
  "privacy": "private",
37538
- "return": {
37539
- "type": {
37540
- "text": "boolean"
37541
- }
37542
- },
37543
- "inheritedFrom": {
37544
- "name": "SbbFormAssociatedMixin",
37545
- "module": "core/mixins/form-associated-mixin.js"
37546
- }
37547
- },
37548
- {
37549
- "kind": "method",
37550
- "name": "updateFormValue",
37551
- "privacy": "protected",
37552
- "return": {
37553
- "type": {
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"
37584
- }
37585
- },
37586
- "parameters": [
37587
- {
37588
- "name": "flag",
37589
- "type": {
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]"
37604
- }
37605
- }
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).",
37608
- "inheritedFrom": {
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
37398
  "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"
37399
+ "name": "SbbLinkBaseElement",
37400
+ "module": "core/base-elements/link-base-element.js"
37649
37401
  }
37650
37402
  },
37651
37403
  {
37652
37404
  "kind": "method",
37653
- "name": "shouldValidate",
37405
+ "name": "renderLink",
37654
37406
  "privacy": "protected",
37655
37407
  "return": {
37656
37408
  "type": {
37657
- "text": "boolean"
37409
+ "text": "TemplateResult"
37658
37410
  }
37659
37411
  },
37660
37412
  "parameters": [
37661
37413
  {
37662
- "name": "name",
37414
+ "name": "renderContent",
37663
37415
  "type": {
37664
- "text": "PropertyKey | undefined"
37416
+ "text": "TemplateResult"
37665
37417
  }
37666
37418
  }
37667
37419
  ],
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
37420
  "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"
37421
+ "name": "SbbLinkBaseElement",
37422
+ "module": "core/base-elements/link-base-element.js"
37751
37423
  }
37752
37424
  },
37753
37425
  {
@@ -37902,15 +37574,19 @@
37902
37574
  "module": "button/common/button-common.js"
37903
37575
  },
37904
37576
  {
37905
- "name": "SbbDisabledTabIndexActionMixin",
37577
+ "name": "SbbDisabledInteractiveMixin",
37578
+ "module": "core/mixins.js"
37579
+ },
37580
+ {
37581
+ "name": "SbbDisabledMixin",
37906
37582
  "module": "core/mixins.js"
37907
37583
  }
37908
37584
  ],
37909
37585
  "superclass": {
37910
- "name": "SbbButtonBaseElement",
37586
+ "name": "SbbLinkBaseElement",
37911
37587
  "module": "core/base-elements.js"
37912
37588
  },
37913
- "tagName": "sbb-accent-button",
37589
+ "tagName": "sbb-accent-button-link",
37914
37590
  "customElement": true,
37915
37591
  "attributes": [
37916
37592
  {
@@ -37992,53 +37668,81 @@
37992
37668
  }
37993
37669
  },
37994
37670
  {
37995
- "name": "value",
37671
+ "name": "href",
37996
37672
  "type": {
37997
37673
  "text": "string"
37998
37674
  },
37999
37675
  "default": "''",
38000
- "description": "Value of the form element.",
38001
- "fieldName": "value",
37676
+ "description": "The href value you want to link to.",
37677
+ "fieldName": "href",
38002
37678
  "inheritedFrom": {
38003
- "name": "SbbButtonBaseElement",
38004
- "module": "core/base-elements/button-base-element.js"
37679
+ "name": "SbbLinkBaseElement",
37680
+ "module": "core/base-elements/link-base-element.js"
38005
37681
  }
38006
37682
  },
38007
37683
  {
38008
- "name": "type",
38009
- "description": "The type attribute to use for the button.",
38010
- "default": "'button'",
37684
+ "name": "target",
38011
37685
  "type": {
38012
- "text": "SbbButtonType"
37686
+ "text": "LinkTargetType | string"
38013
37687
  },
38014
- "fieldName": "type",
37688
+ "default": "''",
37689
+ "description": "Where to display the linked URL.",
37690
+ "fieldName": "target",
38015
37691
  "inheritedFrom": {
38016
- "name": "SbbButtonBaseElement",
38017
- "module": "core/base-elements/button-base-element.js"
37692
+ "name": "SbbLinkBaseElement",
37693
+ "module": "core/base-elements/link-base-element.js"
38018
37694
  }
38019
37695
  },
38020
37696
  {
38021
- "name": "form",
38022
- "description": "The `<form>` element to associate the button with.",
37697
+ "name": "rel",
38023
37698
  "type": {
38024
- "text": "HTMLFormElement | null"
37699
+ "text": "string"
38025
37700
  },
38026
- "fieldName": "form",
37701
+ "default": "''",
37702
+ "description": "The relationship of the linked URL as space-separated link types.",
37703
+ "fieldName": "rel",
38027
37704
  "inheritedFrom": {
38028
- "name": "SbbButtonBaseElement",
38029
- "module": "core/base-elements/button-base-element.js"
37705
+ "name": "SbbLinkBaseElement",
37706
+ "module": "core/base-elements/link-base-element.js"
38030
37707
  }
38031
37708
  },
38032
37709
  {
38033
- "name": "name",
38034
- "description": "Name of the form element. Will be read from name attribute.",
37710
+ "name": "download",
37711
+ "type": {
37712
+ "text": "boolean"
37713
+ },
37714
+ "default": "false",
37715
+ "description": "Whether the browser will show the download dialog on click.",
37716
+ "fieldName": "download",
37717
+ "inheritedFrom": {
37718
+ "name": "SbbLinkBaseElement",
37719
+ "module": "core/base-elements/link-base-element.js"
37720
+ }
37721
+ },
37722
+ {
37723
+ "name": "accessibility-label",
38035
37724
  "type": {
38036
37725
  "text": "string"
38037
37726
  },
38038
- "fieldName": "name",
37727
+ "default": "''",
37728
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
37729
+ "fieldName": "accessibilityLabel",
38039
37730
  "inheritedFrom": {
38040
- "name": "SbbFormAssociatedMixin",
38041
- "module": "core/mixins/form-associated-mixin.js"
37731
+ "name": "SbbLinkBaseElement",
37732
+ "module": "core/base-elements/link-base-element.js"
37733
+ }
37734
+ },
37735
+ {
37736
+ "name": "accessibility-current",
37737
+ "type": {
37738
+ "text": "string"
37739
+ },
37740
+ "default": "''",
37741
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
37742
+ "fieldName": "accessibilityCurrent",
37743
+ "inheritedFrom": {
37744
+ "name": "SbbLinkBaseElement",
37745
+ "module": "core/base-elements/link-base-element.js"
38042
37746
  }
38043
37747
  }
38044
37748
  ]
@@ -38047,22 +37751,22 @@
38047
37751
  "exports": [
38048
37752
  {
38049
37753
  "kind": "js",
38050
- "name": "SbbAccentButtonElement",
37754
+ "name": "SbbAccentButtonLinkElement",
38051
37755
  "declaration": {
38052
- "name": "SbbAccentButtonElement",
38053
- "module": "button/accent-button/accent-button.component.js"
37756
+ "name": "SbbAccentButtonLinkElement",
37757
+ "module": "button/accent-button-link/accent-button-link.component.js"
38054
37758
  }
38055
37759
  }
38056
37760
  ]
38057
37761
  },
38058
37762
  {
38059
37763
  "kind": "javascript-module",
38060
- "path": "button/accent-button-link/accent-button-link.component.js",
37764
+ "path": "button/accent-button/accent-button.component.js",
38061
37765
  "declarations": [
38062
37766
  {
38063
37767
  "kind": "class",
38064
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
38065
- "name": "SbbAccentButtonLinkElement",
37768
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37769
+ "name": "SbbAccentButtonElement",
38066
37770
  "cssProperties": [
38067
37771
  {
38068
37772
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -38072,7 +37776,7 @@
38072
37776
  ],
38073
37777
  "slots": [
38074
37778
  {
38075
- "description": "Use the unnamed slot to add content to the accent-button-link.",
37779
+ "description": "Use the unnamed slot to add content to the accent-button.",
38076
37780
  "name": ""
38077
37781
  },
38078
37782
  {
@@ -38090,7 +37794,7 @@
38090
37794
  "privacy": "public",
38091
37795
  "static": true,
38092
37796
  "readonly": true,
38093
- "default": "'sbb-accent-button-link'",
37797
+ "default": "'sbb-accent-button'",
38094
37798
  "inheritedFrom": {
38095
37799
  "name": "SbbElement",
38096
37800
  "module": "core/base-elements/element.js"
@@ -38098,340 +37802,668 @@
38098
37802
  },
38099
37803
  {
38100
37804
  "kind": "field",
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,
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,
38168
+ "inheritedFrom": {
38169
+ "name": "SbbFormAssociatedMixin",
38170
+ "module": "core/mixins/form-associated-mixin.js"
38171
+ }
38172
+ },
38173
+ {
38174
+ "kind": "field",
38175
+ "name": "_validityStates",
38176
+ "privacy": "private",
38177
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
38110
38178
  "inheritedFrom": {
38111
- "name": "SbbButtonCommonElementMixin",
38112
- "module": "button/common/button-common.js"
38179
+ "name": "SbbFormAssociatedMixin",
38180
+ "module": "core/mixins/form-associated-mixin.js"
38113
38181
  }
38114
38182
  },
38115
38183
  {
38116
38184
  "kind": "field",
38117
- "name": "loading",
38185
+ "name": "formDisabled",
38118
38186
  "type": {
38119
38187
  "text": "boolean"
38120
38188
  },
38121
- "privacy": "public",
38189
+ "privacy": "protected",
38122
38190
  "default": "false",
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,
38191
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
38126
38192
  "inheritedFrom": {
38127
- "name": "SbbButtonCommonElementMixin",
38128
- "module": "button/common/button-common.js"
38193
+ "name": "SbbFormAssociatedMixin",
38194
+ "module": "core/mixins/form-associated-mixin.js"
38129
38195
  }
38130
38196
  },
38131
38197
  {
38132
38198
  "kind": "method",
38133
- "name": "renderTemplate",
38134
- "privacy": "protected",
38199
+ "name": "checkValidity",
38200
+ "privacy": "public",
38135
38201
  "return": {
38136
38202
  "type": {
38137
- "text": "TemplateResult"
38203
+ "text": "boolean"
38138
38204
  }
38139
38205
  },
38140
- "description": "Override this method to render the component template.",
38206
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
38141
38207
  "inheritedFrom": {
38142
- "name": "SbbActionBaseElement",
38143
- "module": "core/base-elements/action-base-element.js"
38208
+ "name": "SbbFormAssociatedMixin",
38209
+ "module": "core/mixins/form-associated-mixin.js"
38144
38210
  }
38145
38211
  },
38146
38212
  {
38147
- "kind": "field",
38148
- "name": "negative",
38149
- "type": {
38150
- "text": "boolean"
38151
- },
38213
+ "kind": "method",
38214
+ "name": "reportValidity",
38152
38215
  "privacy": "public",
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"
38216
+ "return": {
38217
+ "type": {
38218
+ "text": "boolean"
38219
+ }
38167
38220
  },
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",
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.",
38172
38222
  "inheritedFrom": {
38173
- "name": "SbbIconNameMixin",
38174
- "module": "icon/icon-name-mixin.js"
38223
+ "name": "SbbFormAssociatedMixin",
38224
+ "module": "core/mixins/form-associated-mixin.js"
38175
38225
  }
38176
38226
  },
38177
38227
  {
38178
38228
  "kind": "method",
38179
- "name": "renderIconSlot",
38180
- "privacy": "protected",
38229
+ "name": "setCustomValidity",
38230
+ "privacy": "public",
38181
38231
  "return": {
38182
38232
  "type": {
38183
- "text": "TemplateResult"
38233
+ "text": "void"
38184
38234
  }
38185
38235
  },
38186
38236
  "parameters": [
38187
38237
  {
38188
- "name": "classname",
38189
- "optional": true,
38238
+ "name": "message",
38190
38239
  "type": {
38191
38240
  "text": "string"
38192
38241
  }
38193
38242
  }
38194
38243
  ],
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.",
38195
38245
  "inheritedFrom": {
38196
- "name": "SbbIconNameMixin",
38197
- "module": "icon/icon-name-mixin.js"
38246
+ "name": "SbbFormAssociatedMixin",
38247
+ "module": "core/mixins/form-associated-mixin.js"
38198
38248
  }
38199
38249
  },
38200
38250
  {
38201
38251
  "kind": "method",
38202
- "name": "renderIconName",
38203
- "privacy": "protected",
38252
+ "name": "_hasDisabledAncestor",
38253
+ "privacy": "private",
38204
38254
  "return": {
38205
38255
  "type": {
38206
- "text": "string"
38256
+ "text": "boolean"
38207
38257
  }
38208
38258
  },
38209
38259
  "inheritedFrom": {
38210
- "name": "SbbIconNameMixin",
38211
- "module": "icon/icon-name-mixin.js"
38260
+ "name": "SbbFormAssociatedMixin",
38261
+ "module": "core/mixins/form-associated-mixin.js"
38212
38262
  }
38213
38263
  },
38214
38264
  {
38215
38265
  "kind": "method",
38216
- "name": "_renderIconName",
38217
- "privacy": "private",
38266
+ "name": "updateFormValue",
38267
+ "privacy": "protected",
38218
38268
  "return": {
38219
38269
  "type": {
38220
- "text": "string"
38270
+ "text": "void"
38221
38271
  }
38222
38272
  },
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",
38223
38274
  "inheritedFrom": {
38224
- "name": "SbbIconNameMixin",
38225
- "module": "icon/icon-name-mixin.js"
38226
- }
38227
- },
38228
- {
38229
- "kind": "field",
38230
- "name": "disabledInteractive",
38231
- "type": {
38232
- "text": "boolean"
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,
38239
- "inheritedFrom": {
38240
- "name": "SbbDisabledInteractiveMixin",
38241
- "module": "core/mixins/disabled-mixin.js"
38242
- }
38243
- },
38244
- {
38245
- "kind": "field",
38246
- "name": "disabled",
38247
- "privacy": "public",
38248
- "description": "Whether the component is disabled.",
38249
- "default": "false",
38250
- "type": {
38251
- "text": "boolean"
38252
- },
38253
- "attribute": "disabled",
38254
- "reflects": true,
38255
- "inheritedFrom": {
38256
- "name": "SbbDisabledMixin",
38257
- "module": "core/mixins/disabled-mixin.js"
38275
+ "name": "SbbFormAssociatedMixin",
38276
+ "module": "core/mixins/form-associated-mixin.js"
38258
38277
  }
38259
38278
  },
38260
38279
  {
38261
- "kind": "field",
38262
- "name": "#disabled",
38263
- "privacy": "private",
38264
- "type": {
38265
- "text": "boolean"
38280
+ "kind": "method",
38281
+ "name": "formState",
38282
+ "privacy": "protected",
38283
+ "return": {
38284
+ "type": {
38285
+ "text": "FormRestoreState"
38286
+ }
38266
38287
  },
38267
- "default": "false",
38268
38288
  "inheritedFrom": {
38269
- "name": "SbbDisabledMixin",
38270
- "module": "core/mixins/disabled-mixin.js"
38289
+ "name": "SbbFormAssociatedMixin",
38290
+ "module": "core/mixins/form-associated-mixin.js"
38271
38291
  }
38272
38292
  },
38273
38293
  {
38274
38294
  "kind": "method",
38275
- "name": "isDisabledExternally",
38295
+ "name": "setValidityFlag",
38276
38296
  "privacy": "protected",
38277
38297
  "return": {
38278
38298
  "type": {
38279
- "text": "boolean"
38299
+ "text": "void"
38280
38300
  }
38281
38301
  },
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.",
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).",
38283
38324
  "inheritedFrom": {
38284
- "name": "SbbDisabledMixin",
38285
- "module": "core/mixins/disabled-mixin.js"
38325
+ "name": "SbbFormAssociatedMixin",
38326
+ "module": "core/mixins/form-associated-mixin.js"
38286
38327
  }
38287
38328
  },
38288
38329
  {
38289
- "kind": "field",
38290
- "name": "href",
38291
- "type": {
38292
- "text": "string"
38330
+ "kind": "method",
38331
+ "name": "removeValidityFlag",
38332
+ "privacy": "protected",
38333
+ "return": {
38334
+ "type": {
38335
+ "text": "void"
38336
+ }
38293
38337
  },
38294
- "privacy": "public",
38295
- "default": "''",
38296
- "description": "The href value you want to link to.",
38297
- "attribute": "href",
38298
- "reflects": true,
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.",
38299
38347
  "inheritedFrom": {
38300
- "name": "SbbLinkBaseElement",
38301
- "module": "core/base-elements/link-base-element.js"
38348
+ "name": "SbbFormAssociatedMixin",
38349
+ "module": "core/mixins/form-associated-mixin.js"
38302
38350
  }
38303
38351
  },
38304
38352
  {
38305
- "kind": "field",
38306
- "name": "target",
38307
- "type": {
38308
- "text": "LinkTargetType | string"
38353
+ "kind": "method",
38354
+ "name": "validate",
38355
+ "privacy": "protected",
38356
+ "return": {
38357
+ "type": {
38358
+ "text": "void"
38359
+ }
38309
38360
  },
38310
- "privacy": "public",
38311
- "default": "''",
38312
- "description": "Where to display the linked URL.",
38313
- "attribute": "target",
38314
- "reflects": true,
38361
+ "description": "To be called whenever the current element needs to be validated.",
38315
38362
  "inheritedFrom": {
38316
- "name": "SbbLinkBaseElement",
38317
- "module": "core/base-elements/link-base-element.js"
38363
+ "name": "SbbFormAssociatedMixin",
38364
+ "module": "core/mixins/form-associated-mixin.js"
38318
38365
  }
38319
38366
  },
38320
38367
  {
38321
- "kind": "field",
38322
- "name": "rel",
38323
- "type": {
38324
- "text": "string"
38368
+ "kind": "method",
38369
+ "name": "shouldValidate",
38370
+ "privacy": "protected",
38371
+ "return": {
38372
+ "type": {
38373
+ "text": "boolean"
38374
+ }
38325
38375
  },
38326
- "privacy": "public",
38327
- "default": "''",
38328
- "description": "The relationship of the linked URL as space-separated link types.",
38329
- "attribute": "rel",
38330
- "reflects": true,
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.",
38331
38385
  "inheritedFrom": {
38332
- "name": "SbbLinkBaseElement",
38333
- "module": "core/base-elements/link-base-element.js"
38386
+ "name": "SbbFormAssociatedMixin",
38387
+ "module": "core/mixins/form-associated-mixin.js"
38334
38388
  }
38335
38389
  },
38336
38390
  {
38337
- "kind": "field",
38338
- "name": "download",
38339
- "type": {
38340
- "text": "boolean"
38391
+ "kind": "method",
38392
+ "name": "_setInternalValidity",
38393
+ "privacy": "private",
38394
+ "return": {
38395
+ "type": {
38396
+ "text": "void"
38397
+ }
38341
38398
  },
38342
- "privacy": "public",
38343
- "default": "false",
38344
- "description": "Whether the browser will show the download dialog on click.",
38345
- "attribute": "download",
38346
- "reflects": true,
38347
38399
  "inheritedFrom": {
38348
- "name": "SbbLinkBaseElement",
38349
- "module": "core/base-elements/link-base-element.js"
38400
+ "name": "SbbFormAssociatedMixin",
38401
+ "module": "core/mixins/form-associated-mixin.js"
38350
38402
  }
38351
38403
  },
38352
38404
  {
38353
38405
  "kind": "field",
38354
- "name": "accessibilityLabel",
38406
+ "name": "role",
38355
38407
  "type": {
38356
- "text": "string"
38408
+ "text": "ElementInternals['role']"
38357
38409
  },
38358
38410
  "privacy": "public",
38359
- "default": "''",
38360
- "description": "This will be forwarded as aria-label to the inner anchor element.",
38361
- "attribute": "accessibility-label",
38411
+ "static": true,
38412
+ "readonly": true,
38413
+ "default": "'button'",
38362
38414
  "inheritedFrom": {
38363
- "name": "SbbLinkBaseElement",
38364
- "module": "core/base-elements/link-base-element.js"
38415
+ "name": "SbbButtonLikeBaseElement",
38416
+ "module": "core/base-elements/button-base-element.js"
38365
38417
  }
38366
38418
  },
38367
38419
  {
38368
38420
  "kind": "field",
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",
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
+ ],
38377
38430
  "inheritedFrom": {
38378
- "name": "SbbLinkBaseElement",
38379
- "module": "core/base-elements/link-base-element.js"
38431
+ "name": "SbbButtonLikeBaseElement",
38432
+ "module": "core/base-elements/button-base-element.js"
38380
38433
  }
38381
38434
  },
38382
38435
  {
38383
38436
  "kind": "field",
38384
- "name": "language",
38385
- "privacy": "protected",
38386
- "default": "new SbbLanguageController(this)",
38437
+ "name": "_removeActiveMarker",
38438
+ "privacy": "private",
38387
38439
  "inheritedFrom": {
38388
- "name": "SbbLinkBaseElement",
38389
- "module": "core/base-elements/link-base-element.js"
38440
+ "name": "SbbButtonLikeBaseElement",
38441
+ "module": "core/base-elements/button-base-element.js"
38390
38442
  }
38391
38443
  },
38392
38444
  {
38393
38445
  "kind": "field",
38394
- "name": "anchorRole",
38395
- "type": {
38396
- "text": "string | null"
38397
- },
38398
- "privacy": "protected",
38399
- "readonly": true,
38400
- "default": "null",
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
+ ],
38401
38455
  "inheritedFrom": {
38402
- "name": "SbbLinkBaseElement",
38403
- "module": "core/base-elements/link-base-element.js"
38456
+ "name": "SbbButtonLikeBaseElement",
38457
+ "module": "core/base-elements/button-base-element.js"
38404
38458
  }
38405
38459
  },
38406
38460
  {
38407
38461
  "kind": "field",
38408
- "name": "_evaluateRelAttribute",
38462
+ "name": "_dispatchClickEvent",
38409
38463
  "privacy": "private",
38410
38464
  "inheritedFrom": {
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"
38465
+ "name": "SbbButtonLikeBaseElement",
38466
+ "module": "core/base-elements/button-base-element.js"
38435
38467
  }
38436
38468
  },
38437
38469
  {
@@ -38586,19 +38618,15 @@
38586
38618
  "module": "button/common/button-common.js"
38587
38619
  },
38588
38620
  {
38589
- "name": "SbbDisabledInteractiveMixin",
38590
- "module": "core/mixins.js"
38591
- },
38592
- {
38593
- "name": "SbbDisabledMixin",
38621
+ "name": "SbbDisabledTabIndexActionMixin",
38594
38622
  "module": "core/mixins.js"
38595
38623
  }
38596
38624
  ],
38597
38625
  "superclass": {
38598
- "name": "SbbLinkBaseElement",
38626
+ "name": "SbbButtonBaseElement",
38599
38627
  "module": "core/base-elements.js"
38600
38628
  },
38601
- "tagName": "sbb-accent-button-link",
38629
+ "tagName": "sbb-accent-button",
38602
38630
  "customElement": true,
38603
38631
  "attributes": [
38604
38632
  {
@@ -38680,81 +38708,53 @@
38680
38708
  }
38681
38709
  },
38682
38710
  {
38683
- "name": "href",
38684
- "type": {
38685
- "text": "string"
38686
- },
38687
- "default": "''",
38688
- "description": "The href value you want to link to.",
38689
- "fieldName": "href",
38690
- "inheritedFrom": {
38691
- "name": "SbbLinkBaseElement",
38692
- "module": "core/base-elements/link-base-element.js"
38693
- }
38694
- },
38695
- {
38696
- "name": "target",
38697
- "type": {
38698
- "text": "LinkTargetType | string"
38699
- },
38700
- "default": "''",
38701
- "description": "Where to display the linked URL.",
38702
- "fieldName": "target",
38703
- "inheritedFrom": {
38704
- "name": "SbbLinkBaseElement",
38705
- "module": "core/base-elements/link-base-element.js"
38706
- }
38707
- },
38708
- {
38709
- "name": "rel",
38711
+ "name": "value",
38710
38712
  "type": {
38711
38713
  "text": "string"
38712
38714
  },
38713
38715
  "default": "''",
38714
- "description": "The relationship of the linked URL as space-separated link types.",
38715
- "fieldName": "rel",
38716
+ "description": "Value of the form element.",
38717
+ "fieldName": "value",
38716
38718
  "inheritedFrom": {
38717
- "name": "SbbLinkBaseElement",
38718
- "module": "core/base-elements/link-base-element.js"
38719
+ "name": "SbbButtonBaseElement",
38720
+ "module": "core/base-elements/button-base-element.js"
38719
38721
  }
38720
38722
  },
38721
38723
  {
38722
- "name": "download",
38724
+ "name": "type",
38725
+ "description": "The type attribute to use for the button.",
38726
+ "default": "'button'",
38723
38727
  "type": {
38724
- "text": "boolean"
38728
+ "text": "SbbButtonType"
38725
38729
  },
38726
- "default": "false",
38727
- "description": "Whether the browser will show the download dialog on click.",
38728
- "fieldName": "download",
38730
+ "fieldName": "type",
38729
38731
  "inheritedFrom": {
38730
- "name": "SbbLinkBaseElement",
38731
- "module": "core/base-elements/link-base-element.js"
38732
+ "name": "SbbButtonBaseElement",
38733
+ "module": "core/base-elements/button-base-element.js"
38732
38734
  }
38733
38735
  },
38734
38736
  {
38735
- "name": "accessibility-label",
38737
+ "name": "form",
38738
+ "description": "The `<form>` element to associate the button with.",
38736
38739
  "type": {
38737
- "text": "string"
38740
+ "text": "HTMLFormElement | null"
38738
38741
  },
38739
- "default": "''",
38740
- "description": "This will be forwarded as aria-label to the inner anchor element.",
38741
- "fieldName": "accessibilityLabel",
38742
+ "fieldName": "form",
38742
38743
  "inheritedFrom": {
38743
- "name": "SbbLinkBaseElement",
38744
- "module": "core/base-elements/link-base-element.js"
38744
+ "name": "SbbButtonBaseElement",
38745
+ "module": "core/base-elements/button-base-element.js"
38745
38746
  }
38746
38747
  },
38747
38748
  {
38748
- "name": "accessibility-current",
38749
+ "name": "name",
38750
+ "description": "Name of the form element. Will be read from name attribute.",
38749
38751
  "type": {
38750
38752
  "text": "string"
38751
38753
  },
38752
- "default": "''",
38753
- "description": "This will be forwarded as aria-current to the inner anchor element.",
38754
- "fieldName": "accessibilityCurrent",
38754
+ "fieldName": "name",
38755
38755
  "inheritedFrom": {
38756
- "name": "SbbLinkBaseElement",
38757
- "module": "core/base-elements/link-base-element.js"
38756
+ "name": "SbbFormAssociatedMixin",
38757
+ "module": "core/mixins/form-associated-mixin.js"
38758
38758
  }
38759
38759
  }
38760
38760
  ]
@@ -38763,10 +38763,10 @@
38763
38763
  "exports": [
38764
38764
  {
38765
38765
  "kind": "js",
38766
- "name": "SbbAccentButtonLinkElement",
38766
+ "name": "SbbAccentButtonElement",
38767
38767
  "declaration": {
38768
- "name": "SbbAccentButtonLinkElement",
38769
- "module": "button/accent-button-link/accent-button-link.component.js"
38768
+ "name": "SbbAccentButtonElement",
38769
+ "module": "button/accent-button/accent-button.component.js"
38770
38770
  }
38771
38771
  }
38772
38772
  ]
@@ -77919,26 +77919,6 @@
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
- },
77942
77922
  {
77943
77923
  "kind": "javascript-module",
77944
77924
  "path": "core/testing/event-spy.js",
@@ -78336,6 +78316,26 @@
78336
78316
  }
78337
78317
  ]
78338
78318
  },
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,6 +98637,346 @@
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
+ },
98640
98980
  {
98641
98981
  "kind": "javascript-module",
98642
98982
  "path": "icon-sidebar/icon-sidebar-button/icon-sidebar-button.component.js",
@@ -99461,346 +99801,6 @@
99461
99801
  }
99462
99802
  ]
99463
99803
  },
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",