@sbb-esta/lyne-elements-dev 4.11.0-dev.1776958539 → 4.11.0-dev.1777034128

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 (27) hide show
  1. package/core/styles/core.scss +4 -0
  2. package/core.css +8 -0
  3. package/custom-elements.json +1770 -1770
  4. package/development/file-selector/common/file-selector-common.d.ts.map +1 -1
  5. package/development/file-selector/common/file-selector-common.js +1 -1
  6. package/development/file-selector/common.js +1 -1
  7. package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts.map +1 -1
  8. package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
  9. package/development/file-selector/file-selector-dropzone.js +1 -1
  10. package/development/file-selector-common-C7xIEiV4.js +416 -0
  11. package/development/file-selector-dropzone.component-BAWMZW4F.js +111 -0
  12. package/development/file-selector.js +2 -2
  13. package/development/file-selector.pure.js +2 -2
  14. package/file-selector/common/file-selector-common.js +1 -1
  15. package/file-selector/common.js +1 -1
  16. package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
  17. package/file-selector/file-selector-dropzone.js +1 -1
  18. package/{file-selector-common-DN4vHMpP.js → file-selector-common-BL9mM4SZ.js} +38 -40
  19. package/{file-selector-dropzone.component-DSmBp7xN.js → file-selector-dropzone.component-Ctar2kEw.js} +3 -4
  20. package/file-selector.js +2 -2
  21. package/file-selector.pure.js +2 -2
  22. package/off-brand-theme.css +8 -0
  23. package/package.json +2 -2
  24. package/safety-theme.css +8 -0
  25. package/standard-theme.css +8 -0
  26. package/development/file-selector-common-C82QR3zb.js +0 -418
  27. package/development/file-selector-dropzone.component-xfkQt0VX.js +0 -112
@@ -37029,12 +37029,12 @@
37029
37029
  },
37030
37030
  {
37031
37031
  "kind": "javascript-module",
37032
- "path": "button/accent-button-link/accent-button-link.component.js",
37032
+ "path": "button/accent-button/accent-button.component.js",
37033
37033
  "declarations": [
37034
37034
  {
37035
37035
  "kind": "class",
37036
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
37037
- "name": "SbbAccentButtonLinkElement",
37036
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37037
+ "name": "SbbAccentButtonElement",
37038
37038
  "cssProperties": [
37039
37039
  {
37040
37040
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -37044,7 +37044,7 @@
37044
37044
  ],
37045
37045
  "slots": [
37046
37046
  {
37047
- "description": "Use the unnamed slot to add content to the accent-button-link.",
37047
+ "description": "Use the unnamed slot to add content to the accent-button.",
37048
37048
  "name": ""
37049
37049
  },
37050
37050
  {
@@ -37062,7 +37062,7 @@
37062
37062
  "privacy": "public",
37063
37063
  "static": true,
37064
37064
  "readonly": true,
37065
- "default": "'sbb-accent-button-link'",
37065
+ "default": "'sbb-accent-button'",
37066
37066
  "inheritedFrom": {
37067
37067
  "name": "SbbElement",
37068
37068
  "module": "core/base-elements/element.js"
@@ -37259,151 +37259,479 @@
37259
37259
  },
37260
37260
  {
37261
37261
  "kind": "field",
37262
- "name": "href",
37262
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
37263
+ "type": {
37264
+ "text": "array"
37265
+ },
37266
+ "privacy": "private",
37267
+ "readonly": true,
37268
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
37269
+ "inheritedFrom": {
37270
+ "name": "SbbButtonBaseElement",
37271
+ "module": "core/base-elements/button-base-element.js"
37272
+ }
37273
+ },
37274
+ {
37275
+ "kind": "field",
37276
+ "name": "value",
37263
37277
  "type": {
37264
37278
  "text": "string"
37265
37279
  },
37266
37280
  "privacy": "public",
37267
37281
  "default": "''",
37268
- "description": "The href value you want to link to.",
37269
- "attribute": "href",
37270
- "reflects": true,
37282
+ "description": "Value of the form element.",
37283
+ "attribute": "value",
37271
37284
  "inheritedFrom": {
37272
- "name": "SbbLinkBaseElement",
37273
- "module": "core/base-elements/link-base-element.js"
37285
+ "name": "SbbButtonBaseElement",
37286
+ "module": "core/base-elements/button-base-element.js"
37274
37287
  }
37275
37288
  },
37276
37289
  {
37277
37290
  "kind": "field",
37278
- "name": "target",
37291
+ "name": "type",
37292
+ "privacy": "public",
37293
+ "description": "The type attribute to use for the button.",
37294
+ "default": "'button'",
37279
37295
  "type": {
37280
- "text": "LinkTargetType | string"
37296
+ "text": "SbbButtonType"
37297
+ },
37298
+ "attribute": "type",
37299
+ "inheritedFrom": {
37300
+ "name": "SbbButtonBaseElement",
37301
+ "module": "core/base-elements/button-base-element.js"
37302
+ }
37303
+ },
37304
+ {
37305
+ "kind": "field",
37306
+ "name": "form",
37307
+ "type": {
37308
+ "text": "HTMLFormElement | null"
37281
37309
  },
37282
37310
  "privacy": "public",
37283
- "default": "''",
37284
- "description": "Where to display the linked URL.",
37285
- "attribute": "target",
37286
- "reflects": true,
37311
+ "description": "The `<form>` element to associate the button with.",
37312
+ "attribute": "form",
37287
37313
  "inheritedFrom": {
37288
- "name": "SbbLinkBaseElement",
37289
- "module": "core/base-elements/link-base-element.js"
37314
+ "name": "SbbButtonBaseElement",
37315
+ "module": "core/base-elements/button-base-element.js"
37290
37316
  }
37291
37317
  },
37292
37318
  {
37293
37319
  "kind": "field",
37294
- "name": "rel",
37320
+ "name": "_formId",
37295
37321
  "type": {
37296
37322
  "text": "string"
37297
37323
  },
37298
- "privacy": "public",
37324
+ "privacy": "private",
37299
37325
  "default": "''",
37300
- "description": "The relationship of the linked URL as space-separated link types.",
37301
- "attribute": "rel",
37302
- "reflects": true,
37303
37326
  "inheritedFrom": {
37304
- "name": "SbbLinkBaseElement",
37305
- "module": "core/base-elements/link-base-element.js"
37327
+ "name": "SbbButtonBaseElement",
37328
+ "module": "core/base-elements/button-base-element.js"
37306
37329
  }
37307
37330
  },
37308
37331
  {
37309
37332
  "kind": "field",
37310
- "name": "download",
37333
+ "name": "_handleButtonClick",
37334
+ "privacy": "private",
37335
+ "inheritedFrom": {
37336
+ "name": "SbbButtonBaseElement",
37337
+ "module": "core/base-elements/button-base-element.js"
37338
+ }
37339
+ },
37340
+ {
37341
+ "kind": "method",
37342
+ "name": "_requestSubmit",
37343
+ "privacy": "private",
37344
+ "return": {
37345
+ "type": {
37346
+ "text": "void"
37347
+ }
37348
+ },
37349
+ "parameters": [
37350
+ {
37351
+ "name": "form",
37352
+ "type": {
37353
+ "text": "HTMLFormElement"
37354
+ }
37355
+ }
37356
+ ],
37357
+ "inheritedFrom": {
37358
+ "name": "SbbButtonBaseElement",
37359
+ "module": "core/base-elements/button-base-element.js"
37360
+ }
37361
+ },
37362
+ {
37363
+ "kind": "field",
37364
+ "name": "_formKeyDown",
37365
+ "privacy": "private",
37366
+ "inheritedFrom": {
37367
+ "name": "SbbButtonBaseElement",
37368
+ "module": "core/base-elements/button-base-element.js"
37369
+ }
37370
+ },
37371
+ {
37372
+ "kind": "field",
37373
+ "name": "formAssociated",
37311
37374
  "type": {
37312
37375
  "text": "boolean"
37313
37376
  },
37314
37377
  "privacy": "public",
37315
- "default": "false",
37316
- "description": "Whether the browser will show the download dialog on click.",
37317
- "attribute": "download",
37318
- "reflects": true,
37378
+ "static": true,
37379
+ "default": "true",
37319
37380
  "inheritedFrom": {
37320
- "name": "SbbLinkBaseElement",
37321
- "module": "core/base-elements/link-base-element.js"
37381
+ "name": "SbbFormAssociatedMixin",
37382
+ "module": "core/mixins/form-associated-mixin.js"
37322
37383
  }
37323
37384
  },
37324
37385
  {
37325
37386
  "kind": "field",
37326
- "name": "accessibilityLabel",
37387
+ "name": "name",
37388
+ "privacy": "public",
37389
+ "description": "Name of the form element. Will be read from name attribute.",
37327
37390
  "type": {
37328
37391
  "text": "string"
37329
37392
  },
37393
+ "attribute": "name",
37394
+ "inheritedFrom": {
37395
+ "name": "SbbFormAssociatedMixin",
37396
+ "module": "core/mixins/form-associated-mixin.js"
37397
+ }
37398
+ },
37399
+ {
37400
+ "kind": "field",
37401
+ "name": "validity",
37402
+ "type": {
37403
+ "text": "ValidityState"
37404
+ },
37330
37405
  "privacy": "public",
37331
- "default": "''",
37332
- "description": "This will be forwarded as aria-label to the inner anchor element.",
37333
- "attribute": "accessibility-label",
37406
+ "description": "Returns the ValidityState object for this element.",
37407
+ "readonly": true,
37334
37408
  "inheritedFrom": {
37335
- "name": "SbbLinkBaseElement",
37336
- "module": "core/base-elements/link-base-element.js"
37409
+ "name": "SbbFormAssociatedMixin",
37410
+ "module": "core/mixins/form-associated-mixin.js"
37337
37411
  }
37338
37412
  },
37339
37413
  {
37340
37414
  "kind": "field",
37341
- "name": "accessibilityCurrent",
37415
+ "name": "validationMessage",
37342
37416
  "type": {
37343
37417
  "text": "string"
37344
37418
  },
37345
37419
  "privacy": "public",
37346
- "default": "''",
37347
- "description": "This will be forwarded as aria-current to the inner anchor element.",
37348
- "attribute": "accessibility-current",
37420
+ "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.",
37421
+ "readonly": true,
37349
37422
  "inheritedFrom": {
37350
- "name": "SbbLinkBaseElement",
37351
- "module": "core/base-elements/link-base-element.js"
37423
+ "name": "SbbFormAssociatedMixin",
37424
+ "module": "core/mixins/form-associated-mixin.js"
37352
37425
  }
37353
37426
  },
37354
37427
  {
37355
37428
  "kind": "field",
37356
- "name": "language",
37357
- "privacy": "protected",
37358
- "default": "new SbbLanguageController(this)",
37429
+ "name": "willValidate",
37430
+ "type": {
37431
+ "text": "boolean"
37432
+ },
37433
+ "privacy": "public",
37434
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
37435
+ "readonly": true,
37359
37436
  "inheritedFrom": {
37360
- "name": "SbbLinkBaseElement",
37361
- "module": "core/base-elements/link-base-element.js"
37437
+ "name": "SbbFormAssociatedMixin",
37438
+ "module": "core/mixins/form-associated-mixin.js"
37362
37439
  }
37363
37440
  },
37364
37441
  {
37365
37442
  "kind": "field",
37366
- "name": "anchorRole",
37443
+ "name": "_validityStates",
37444
+ "privacy": "private",
37445
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
37446
+ "inheritedFrom": {
37447
+ "name": "SbbFormAssociatedMixin",
37448
+ "module": "core/mixins/form-associated-mixin.js"
37449
+ }
37450
+ },
37451
+ {
37452
+ "kind": "field",
37453
+ "name": "formDisabled",
37367
37454
  "type": {
37368
- "text": "string | null"
37455
+ "text": "boolean"
37369
37456
  },
37370
37457
  "privacy": "protected",
37371
- "readonly": true,
37372
- "default": "null",
37458
+ "default": "false",
37459
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
37373
37460
  "inheritedFrom": {
37374
- "name": "SbbLinkBaseElement",
37375
- "module": "core/base-elements/link-base-element.js"
37461
+ "name": "SbbFormAssociatedMixin",
37462
+ "module": "core/mixins/form-associated-mixin.js"
37376
37463
  }
37377
37464
  },
37378
37465
  {
37379
- "kind": "field",
37380
- "name": "_evaluateRelAttribute",
37466
+ "kind": "method",
37467
+ "name": "checkValidity",
37468
+ "privacy": "public",
37469
+ "return": {
37470
+ "type": {
37471
+ "text": "boolean"
37472
+ }
37473
+ },
37474
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
37475
+ "inheritedFrom": {
37476
+ "name": "SbbFormAssociatedMixin",
37477
+ "module": "core/mixins/form-associated-mixin.js"
37478
+ }
37479
+ },
37480
+ {
37481
+ "kind": "method",
37482
+ "name": "reportValidity",
37483
+ "privacy": "public",
37484
+ "return": {
37485
+ "type": {
37486
+ "text": "boolean"
37487
+ }
37488
+ },
37489
+ "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.",
37490
+ "inheritedFrom": {
37491
+ "name": "SbbFormAssociatedMixin",
37492
+ "module": "core/mixins/form-associated-mixin.js"
37493
+ }
37494
+ },
37495
+ {
37496
+ "kind": "method",
37497
+ "name": "setCustomValidity",
37498
+ "privacy": "public",
37499
+ "return": {
37500
+ "type": {
37501
+ "text": "void"
37502
+ }
37503
+ },
37504
+ "parameters": [
37505
+ {
37506
+ "name": "message",
37507
+ "type": {
37508
+ "text": "string"
37509
+ }
37510
+ }
37511
+ ],
37512
+ "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.",
37513
+ "inheritedFrom": {
37514
+ "name": "SbbFormAssociatedMixin",
37515
+ "module": "core/mixins/form-associated-mixin.js"
37516
+ }
37517
+ },
37518
+ {
37519
+ "kind": "method",
37520
+ "name": "_hasDisabledAncestor",
37381
37521
  "privacy": "private",
37522
+ "return": {
37523
+ "type": {
37524
+ "text": "boolean"
37525
+ }
37526
+ },
37382
37527
  "inheritedFrom": {
37383
- "name": "SbbLinkBaseElement",
37384
- "module": "core/base-elements/link-base-element.js"
37528
+ "name": "SbbFormAssociatedMixin",
37529
+ "module": "core/mixins/form-associated-mixin.js"
37385
37530
  }
37386
37531
  },
37387
37532
  {
37388
37533
  "kind": "method",
37389
- "name": "renderLink",
37534
+ "name": "updateFormValue",
37390
37535
  "privacy": "protected",
37391
37536
  "return": {
37392
37537
  "type": {
37393
- "text": "TemplateResult"
37538
+ "text": "void"
37539
+ }
37540
+ },
37541
+ "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",
37542
+ "inheritedFrom": {
37543
+ "name": "SbbFormAssociatedMixin",
37544
+ "module": "core/mixins/form-associated-mixin.js"
37545
+ }
37546
+ },
37547
+ {
37548
+ "kind": "method",
37549
+ "name": "formState",
37550
+ "privacy": "protected",
37551
+ "return": {
37552
+ "type": {
37553
+ "text": "FormRestoreState"
37554
+ }
37555
+ },
37556
+ "inheritedFrom": {
37557
+ "name": "SbbFormAssociatedMixin",
37558
+ "module": "core/mixins/form-associated-mixin.js"
37559
+ }
37560
+ },
37561
+ {
37562
+ "kind": "method",
37563
+ "name": "setValidityFlag",
37564
+ "privacy": "protected",
37565
+ "return": {
37566
+ "type": {
37567
+ "text": "void"
37394
37568
  }
37395
37569
  },
37396
37570
  "parameters": [
37397
37571
  {
37398
- "name": "renderContent",
37572
+ "name": "flag",
37399
37573
  "type": {
37400
- "text": "TemplateResult"
37574
+ "text": "T"
37575
+ }
37576
+ },
37577
+ {
37578
+ "name": "message",
37579
+ "type": {
37580
+ "text": "string"
37581
+ }
37582
+ },
37583
+ {
37584
+ "name": "flagValue",
37585
+ "optional": true,
37586
+ "type": {
37587
+ "text": "ValidityStateFlags[T]"
37401
37588
  }
37402
37589
  }
37403
37590
  ],
37591
+ "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).",
37404
37592
  "inheritedFrom": {
37405
- "name": "SbbLinkBaseElement",
37406
- "module": "core/base-elements/link-base-element.js"
37593
+ "name": "SbbFormAssociatedMixin",
37594
+ "module": "core/mixins/form-associated-mixin.js"
37595
+ }
37596
+ },
37597
+ {
37598
+ "kind": "method",
37599
+ "name": "removeValidityFlag",
37600
+ "privacy": "protected",
37601
+ "return": {
37602
+ "type": {
37603
+ "text": "void"
37604
+ }
37605
+ },
37606
+ "parameters": [
37607
+ {
37608
+ "name": "flag",
37609
+ "type": {
37610
+ "text": "T"
37611
+ }
37612
+ }
37613
+ ],
37614
+ "description": "Removes the validity state flag entry and updates validity state.",
37615
+ "inheritedFrom": {
37616
+ "name": "SbbFormAssociatedMixin",
37617
+ "module": "core/mixins/form-associated-mixin.js"
37618
+ }
37619
+ },
37620
+ {
37621
+ "kind": "method",
37622
+ "name": "validate",
37623
+ "privacy": "protected",
37624
+ "return": {
37625
+ "type": {
37626
+ "text": "void"
37627
+ }
37628
+ },
37629
+ "description": "To be called whenever the current element needs to be validated.",
37630
+ "inheritedFrom": {
37631
+ "name": "SbbFormAssociatedMixin",
37632
+ "module": "core/mixins/form-associated-mixin.js"
37633
+ }
37634
+ },
37635
+ {
37636
+ "kind": "method",
37637
+ "name": "shouldValidate",
37638
+ "privacy": "protected",
37639
+ "return": {
37640
+ "type": {
37641
+ "text": "boolean"
37642
+ }
37643
+ },
37644
+ "parameters": [
37645
+ {
37646
+ "name": "name",
37647
+ "type": {
37648
+ "text": "PropertyKey | undefined"
37649
+ }
37650
+ }
37651
+ ],
37652
+ "description": "Whether validation should be run on a property change with the given name.",
37653
+ "inheritedFrom": {
37654
+ "name": "SbbFormAssociatedMixin",
37655
+ "module": "core/mixins/form-associated-mixin.js"
37656
+ }
37657
+ },
37658
+ {
37659
+ "kind": "method",
37660
+ "name": "_setInternalValidity",
37661
+ "privacy": "private",
37662
+ "return": {
37663
+ "type": {
37664
+ "text": "void"
37665
+ }
37666
+ },
37667
+ "inheritedFrom": {
37668
+ "name": "SbbFormAssociatedMixin",
37669
+ "module": "core/mixins/form-associated-mixin.js"
37670
+ }
37671
+ },
37672
+ {
37673
+ "kind": "field",
37674
+ "name": "role",
37675
+ "type": {
37676
+ "text": "ElementInternals['role']"
37677
+ },
37678
+ "privacy": "public",
37679
+ "static": true,
37680
+ "readonly": true,
37681
+ "default": "'button'",
37682
+ "inheritedFrom": {
37683
+ "name": "SbbButtonLikeBaseElement",
37684
+ "module": "core/base-elements/button-base-element.js"
37685
+ }
37686
+ },
37687
+ {
37688
+ "kind": "field",
37689
+ "name": "_preventScrollOnSpaceKeydown",
37690
+ "privacy": "private",
37691
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
37692
+ "parameters": [
37693
+ {
37694
+ "description": "The origin event.",
37695
+ "name": "event"
37696
+ }
37697
+ ],
37698
+ "inheritedFrom": {
37699
+ "name": "SbbButtonLikeBaseElement",
37700
+ "module": "core/base-elements/button-base-element.js"
37701
+ }
37702
+ },
37703
+ {
37704
+ "kind": "field",
37705
+ "name": "_removeActiveMarker",
37706
+ "privacy": "private",
37707
+ "inheritedFrom": {
37708
+ "name": "SbbButtonLikeBaseElement",
37709
+ "module": "core/base-elements/button-base-element.js"
37710
+ }
37711
+ },
37712
+ {
37713
+ "kind": "field",
37714
+ "name": "_dispatchClickEventOnSpaceKeyup",
37715
+ "privacy": "private",
37716
+ "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.",
37717
+ "parameters": [
37718
+ {
37719
+ "description": "The origin event.",
37720
+ "name": "event"
37721
+ }
37722
+ ],
37723
+ "inheritedFrom": {
37724
+ "name": "SbbButtonLikeBaseElement",
37725
+ "module": "core/base-elements/button-base-element.js"
37726
+ }
37727
+ },
37728
+ {
37729
+ "kind": "field",
37730
+ "name": "_dispatchClickEvent",
37731
+ "privacy": "private",
37732
+ "inheritedFrom": {
37733
+ "name": "SbbButtonLikeBaseElement",
37734
+ "module": "core/base-elements/button-base-element.js"
37407
37735
  }
37408
37736
  },
37409
37737
  {
@@ -37558,19 +37886,15 @@
37558
37886
  "module": "button/common/button-common.js"
37559
37887
  },
37560
37888
  {
37561
- "name": "SbbDisabledInteractiveMixin",
37562
- "module": "core/mixins.js"
37563
- },
37564
- {
37565
- "name": "SbbDisabledMixin",
37889
+ "name": "SbbDisabledTabIndexActionMixin",
37566
37890
  "module": "core/mixins.js"
37567
37891
  }
37568
37892
  ],
37569
37893
  "superclass": {
37570
- "name": "SbbLinkBaseElement",
37894
+ "name": "SbbButtonBaseElement",
37571
37895
  "module": "core/base-elements.js"
37572
37896
  },
37573
- "tagName": "sbb-accent-button-link",
37897
+ "tagName": "sbb-accent-button",
37574
37898
  "customElement": true,
37575
37899
  "attributes": [
37576
37900
  {
@@ -37652,81 +37976,53 @@
37652
37976
  }
37653
37977
  },
37654
37978
  {
37655
- "name": "href",
37979
+ "name": "value",
37656
37980
  "type": {
37657
37981
  "text": "string"
37658
37982
  },
37659
37983
  "default": "''",
37660
- "description": "The href value you want to link to.",
37661
- "fieldName": "href",
37984
+ "description": "Value of the form element.",
37985
+ "fieldName": "value",
37662
37986
  "inheritedFrom": {
37663
- "name": "SbbLinkBaseElement",
37664
- "module": "core/base-elements/link-base-element.js"
37987
+ "name": "SbbButtonBaseElement",
37988
+ "module": "core/base-elements/button-base-element.js"
37665
37989
  }
37666
37990
  },
37667
37991
  {
37668
- "name": "target",
37992
+ "name": "type",
37993
+ "description": "The type attribute to use for the button.",
37994
+ "default": "'button'",
37669
37995
  "type": {
37670
- "text": "LinkTargetType | string"
37996
+ "text": "SbbButtonType"
37671
37997
  },
37672
- "default": "''",
37673
- "description": "Where to display the linked URL.",
37674
- "fieldName": "target",
37998
+ "fieldName": "type",
37675
37999
  "inheritedFrom": {
37676
- "name": "SbbLinkBaseElement",
37677
- "module": "core/base-elements/link-base-element.js"
38000
+ "name": "SbbButtonBaseElement",
38001
+ "module": "core/base-elements/button-base-element.js"
37678
38002
  }
37679
38003
  },
37680
38004
  {
37681
- "name": "rel",
38005
+ "name": "form",
38006
+ "description": "The `<form>` element to associate the button with.",
37682
38007
  "type": {
37683
- "text": "string"
38008
+ "text": "HTMLFormElement | null"
37684
38009
  },
37685
- "default": "''",
37686
- "description": "The relationship of the linked URL as space-separated link types.",
37687
- "fieldName": "rel",
38010
+ "fieldName": "form",
37688
38011
  "inheritedFrom": {
37689
- "name": "SbbLinkBaseElement",
37690
- "module": "core/base-elements/link-base-element.js"
38012
+ "name": "SbbButtonBaseElement",
38013
+ "module": "core/base-elements/button-base-element.js"
37691
38014
  }
37692
38015
  },
37693
38016
  {
37694
- "name": "download",
38017
+ "name": "name",
38018
+ "description": "Name of the form element. Will be read from name attribute.",
37695
38019
  "type": {
37696
- "text": "boolean"
38020
+ "text": "string"
37697
38021
  },
37698
- "default": "false",
37699
- "description": "Whether the browser will show the download dialog on click.",
37700
- "fieldName": "download",
37701
- "inheritedFrom": {
37702
- "name": "SbbLinkBaseElement",
37703
- "module": "core/base-elements/link-base-element.js"
37704
- }
37705
- },
37706
- {
37707
- "name": "accessibility-label",
37708
- "type": {
37709
- "text": "string"
37710
- },
37711
- "default": "''",
37712
- "description": "This will be forwarded as aria-label to the inner anchor element.",
37713
- "fieldName": "accessibilityLabel",
37714
- "inheritedFrom": {
37715
- "name": "SbbLinkBaseElement",
37716
- "module": "core/base-elements/link-base-element.js"
37717
- }
37718
- },
37719
- {
37720
- "name": "accessibility-current",
37721
- "type": {
37722
- "text": "string"
37723
- },
37724
- "default": "''",
37725
- "description": "This will be forwarded as aria-current to the inner anchor element.",
37726
- "fieldName": "accessibilityCurrent",
38022
+ "fieldName": "name",
37727
38023
  "inheritedFrom": {
37728
- "name": "SbbLinkBaseElement",
37729
- "module": "core/base-elements/link-base-element.js"
38024
+ "name": "SbbFormAssociatedMixin",
38025
+ "module": "core/mixins/form-associated-mixin.js"
37730
38026
  }
37731
38027
  }
37732
38028
  ]
@@ -37735,22 +38031,22 @@
37735
38031
  "exports": [
37736
38032
  {
37737
38033
  "kind": "js",
37738
- "name": "SbbAccentButtonLinkElement",
38034
+ "name": "SbbAccentButtonElement",
37739
38035
  "declaration": {
37740
- "name": "SbbAccentButtonLinkElement",
37741
- "module": "button/accent-button-link/accent-button-link.component.js"
38036
+ "name": "SbbAccentButtonElement",
38037
+ "module": "button/accent-button/accent-button.component.js"
37742
38038
  }
37743
38039
  }
37744
38040
  ]
37745
38041
  },
37746
38042
  {
37747
38043
  "kind": "javascript-module",
37748
- "path": "button/accent-button/accent-button.component.js",
38044
+ "path": "button/accent-button-link/accent-button-link.component.js",
37749
38045
  "declarations": [
37750
38046
  {
37751
38047
  "kind": "class",
37752
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37753
- "name": "SbbAccentButtonElement",
38048
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
38049
+ "name": "SbbAccentButtonLinkElement",
37754
38050
  "cssProperties": [
37755
38051
  {
37756
38052
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -37760,7 +38056,7 @@
37760
38056
  ],
37761
38057
  "slots": [
37762
38058
  {
37763
- "description": "Use the unnamed slot to add content to the accent-button.",
38059
+ "description": "Use the unnamed slot to add content to the accent-button-link.",
37764
38060
  "name": ""
37765
38061
  },
37766
38062
  {
@@ -37778,7 +38074,7 @@
37778
38074
  "privacy": "public",
37779
38075
  "static": true,
37780
38076
  "readonly": true,
37781
- "default": "'sbb-accent-button'",
38077
+ "default": "'sbb-accent-button-link'",
37782
38078
  "inheritedFrom": {
37783
38079
  "name": "SbbElement",
37784
38080
  "module": "core/base-elements/element.js"
@@ -37975,479 +38271,151 @@
37975
38271
  },
37976
38272
  {
37977
38273
  "kind": "field",
37978
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
37979
- "type": {
37980
- "text": "array"
37981
- },
37982
- "privacy": "private",
37983
- "readonly": true,
37984
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
37985
- "inheritedFrom": {
37986
- "name": "SbbButtonBaseElement",
37987
- "module": "core/base-elements/button-base-element.js"
37988
- }
37989
- },
37990
- {
37991
- "kind": "field",
37992
- "name": "value",
38274
+ "name": "href",
37993
38275
  "type": {
37994
38276
  "text": "string"
37995
38277
  },
37996
38278
  "privacy": "public",
37997
38279
  "default": "''",
37998
- "description": "Value of the form element.",
37999
- "attribute": "value",
38000
- "inheritedFrom": {
38001
- "name": "SbbButtonBaseElement",
38002
- "module": "core/base-elements/button-base-element.js"
38003
- }
38004
- },
38005
- {
38006
- "kind": "field",
38007
- "name": "type",
38008
- "privacy": "public",
38009
- "description": "The type attribute to use for the button.",
38010
- "default": "'button'",
38011
- "type": {
38012
- "text": "SbbButtonType"
38013
- },
38014
- "attribute": "type",
38280
+ "description": "The href value you want to link to.",
38281
+ "attribute": "href",
38282
+ "reflects": true,
38015
38283
  "inheritedFrom": {
38016
- "name": "SbbButtonBaseElement",
38017
- "module": "core/base-elements/button-base-element.js"
38284
+ "name": "SbbLinkBaseElement",
38285
+ "module": "core/base-elements/link-base-element.js"
38018
38286
  }
38019
38287
  },
38020
38288
  {
38021
38289
  "kind": "field",
38022
- "name": "form",
38290
+ "name": "target",
38023
38291
  "type": {
38024
- "text": "HTMLFormElement | null"
38292
+ "text": "LinkTargetType | string"
38025
38293
  },
38026
38294
  "privacy": "public",
38027
- "description": "The `<form>` element to associate the button with.",
38028
- "attribute": "form",
38295
+ "default": "''",
38296
+ "description": "Where to display the linked URL.",
38297
+ "attribute": "target",
38298
+ "reflects": true,
38029
38299
  "inheritedFrom": {
38030
- "name": "SbbButtonBaseElement",
38031
- "module": "core/base-elements/button-base-element.js"
38300
+ "name": "SbbLinkBaseElement",
38301
+ "module": "core/base-elements/link-base-element.js"
38032
38302
  }
38033
38303
  },
38034
38304
  {
38035
38305
  "kind": "field",
38036
- "name": "_formId",
38306
+ "name": "rel",
38037
38307
  "type": {
38038
38308
  "text": "string"
38039
38309
  },
38040
- "privacy": "private",
38310
+ "privacy": "public",
38041
38311
  "default": "''",
38312
+ "description": "The relationship of the linked URL as space-separated link types.",
38313
+ "attribute": "rel",
38314
+ "reflects": true,
38042
38315
  "inheritedFrom": {
38043
- "name": "SbbButtonBaseElement",
38044
- "module": "core/base-elements/button-base-element.js"
38045
- }
38046
- },
38047
- {
38048
- "kind": "field",
38049
- "name": "_handleButtonClick",
38050
- "privacy": "private",
38051
- "inheritedFrom": {
38052
- "name": "SbbButtonBaseElement",
38053
- "module": "core/base-elements/button-base-element.js"
38054
- }
38055
- },
38056
- {
38057
- "kind": "method",
38058
- "name": "_requestSubmit",
38059
- "privacy": "private",
38060
- "return": {
38061
- "type": {
38062
- "text": "void"
38063
- }
38064
- },
38065
- "parameters": [
38066
- {
38067
- "name": "form",
38068
- "type": {
38069
- "text": "HTMLFormElement"
38070
- }
38071
- }
38072
- ],
38073
- "inheritedFrom": {
38074
- "name": "SbbButtonBaseElement",
38075
- "module": "core/base-elements/button-base-element.js"
38076
- }
38077
- },
38078
- {
38079
- "kind": "field",
38080
- "name": "_formKeyDown",
38081
- "privacy": "private",
38082
- "inheritedFrom": {
38083
- "name": "SbbButtonBaseElement",
38084
- "module": "core/base-elements/button-base-element.js"
38316
+ "name": "SbbLinkBaseElement",
38317
+ "module": "core/base-elements/link-base-element.js"
38085
38318
  }
38086
38319
  },
38087
38320
  {
38088
38321
  "kind": "field",
38089
- "name": "formAssociated",
38322
+ "name": "download",
38090
38323
  "type": {
38091
38324
  "text": "boolean"
38092
38325
  },
38093
38326
  "privacy": "public",
38094
- "static": true,
38095
- "default": "true",
38327
+ "default": "false",
38328
+ "description": "Whether the browser will show the download dialog on click.",
38329
+ "attribute": "download",
38330
+ "reflects": true,
38096
38331
  "inheritedFrom": {
38097
- "name": "SbbFormAssociatedMixin",
38098
- "module": "core/mixins/form-associated-mixin.js"
38332
+ "name": "SbbLinkBaseElement",
38333
+ "module": "core/base-elements/link-base-element.js"
38099
38334
  }
38100
38335
  },
38101
38336
  {
38102
38337
  "kind": "field",
38103
- "name": "name",
38104
- "privacy": "public",
38105
- "description": "Name of the form element. Will be read from name attribute.",
38338
+ "name": "accessibilityLabel",
38106
38339
  "type": {
38107
38340
  "text": "string"
38108
38341
  },
38109
- "attribute": "name",
38110
- "inheritedFrom": {
38111
- "name": "SbbFormAssociatedMixin",
38112
- "module": "core/mixins/form-associated-mixin.js"
38113
- }
38114
- },
38115
- {
38116
- "kind": "field",
38117
- "name": "validity",
38118
- "type": {
38119
- "text": "ValidityState"
38120
- },
38121
38342
  "privacy": "public",
38122
- "description": "Returns the ValidityState object for this element.",
38123
- "readonly": true,
38343
+ "default": "''",
38344
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
38345
+ "attribute": "accessibility-label",
38124
38346
  "inheritedFrom": {
38125
- "name": "SbbFormAssociatedMixin",
38126
- "module": "core/mixins/form-associated-mixin.js"
38347
+ "name": "SbbLinkBaseElement",
38348
+ "module": "core/base-elements/link-base-element.js"
38127
38349
  }
38128
38350
  },
38129
38351
  {
38130
38352
  "kind": "field",
38131
- "name": "validationMessage",
38353
+ "name": "accessibilityCurrent",
38132
38354
  "type": {
38133
38355
  "text": "string"
38134
38356
  },
38135
38357
  "privacy": "public",
38136
- "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.",
38137
- "readonly": true,
38138
- "inheritedFrom": {
38139
- "name": "SbbFormAssociatedMixin",
38140
- "module": "core/mixins/form-associated-mixin.js"
38141
- }
38142
- },
38143
- {
38144
- "kind": "field",
38145
- "name": "willValidate",
38146
- "type": {
38147
- "text": "boolean"
38148
- },
38149
- "privacy": "public",
38150
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
38151
- "readonly": true,
38358
+ "default": "''",
38359
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
38360
+ "attribute": "accessibility-current",
38152
38361
  "inheritedFrom": {
38153
- "name": "SbbFormAssociatedMixin",
38154
- "module": "core/mixins/form-associated-mixin.js"
38362
+ "name": "SbbLinkBaseElement",
38363
+ "module": "core/base-elements/link-base-element.js"
38155
38364
  }
38156
38365
  },
38157
38366
  {
38158
38367
  "kind": "field",
38159
- "name": "_validityStates",
38160
- "privacy": "private",
38161
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
38368
+ "name": "language",
38369
+ "privacy": "protected",
38370
+ "default": "new SbbLanguageController(this)",
38162
38371
  "inheritedFrom": {
38163
- "name": "SbbFormAssociatedMixin",
38164
- "module": "core/mixins/form-associated-mixin.js"
38372
+ "name": "SbbLinkBaseElement",
38373
+ "module": "core/base-elements/link-base-element.js"
38165
38374
  }
38166
38375
  },
38167
38376
  {
38168
38377
  "kind": "field",
38169
- "name": "formDisabled",
38378
+ "name": "anchorRole",
38170
38379
  "type": {
38171
- "text": "boolean"
38380
+ "text": "string | null"
38172
38381
  },
38173
38382
  "privacy": "protected",
38174
- "default": "false",
38175
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
38176
- "inheritedFrom": {
38177
- "name": "SbbFormAssociatedMixin",
38178
- "module": "core/mixins/form-associated-mixin.js"
38179
- }
38180
- },
38181
- {
38182
- "kind": "method",
38183
- "name": "checkValidity",
38184
- "privacy": "public",
38185
- "return": {
38186
- "type": {
38187
- "text": "boolean"
38188
- }
38189
- },
38190
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
38191
- "inheritedFrom": {
38192
- "name": "SbbFormAssociatedMixin",
38193
- "module": "core/mixins/form-associated-mixin.js"
38194
- }
38195
- },
38196
- {
38197
- "kind": "method",
38198
- "name": "reportValidity",
38199
- "privacy": "public",
38200
- "return": {
38201
- "type": {
38202
- "text": "boolean"
38203
- }
38204
- },
38205
- "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.",
38206
- "inheritedFrom": {
38207
- "name": "SbbFormAssociatedMixin",
38208
- "module": "core/mixins/form-associated-mixin.js"
38209
- }
38210
- },
38211
- {
38212
- "kind": "method",
38213
- "name": "setCustomValidity",
38214
- "privacy": "public",
38215
- "return": {
38216
- "type": {
38217
- "text": "void"
38218
- }
38219
- },
38220
- "parameters": [
38221
- {
38222
- "name": "message",
38223
- "type": {
38224
- "text": "string"
38225
- }
38226
- }
38227
- ],
38228
- "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.",
38383
+ "readonly": true,
38384
+ "default": "null",
38229
38385
  "inheritedFrom": {
38230
- "name": "SbbFormAssociatedMixin",
38231
- "module": "core/mixins/form-associated-mixin.js"
38386
+ "name": "SbbLinkBaseElement",
38387
+ "module": "core/base-elements/link-base-element.js"
38232
38388
  }
38233
38389
  },
38234
38390
  {
38235
- "kind": "method",
38236
- "name": "_hasDisabledAncestor",
38391
+ "kind": "field",
38392
+ "name": "_evaluateRelAttribute",
38237
38393
  "privacy": "private",
38238
- "return": {
38239
- "type": {
38240
- "text": "boolean"
38241
- }
38242
- },
38243
- "inheritedFrom": {
38244
- "name": "SbbFormAssociatedMixin",
38245
- "module": "core/mixins/form-associated-mixin.js"
38246
- }
38247
- },
38248
- {
38249
- "kind": "method",
38250
- "name": "updateFormValue",
38251
- "privacy": "protected",
38252
- "return": {
38253
- "type": {
38254
- "text": "void"
38255
- }
38256
- },
38257
- "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",
38258
- "inheritedFrom": {
38259
- "name": "SbbFormAssociatedMixin",
38260
- "module": "core/mixins/form-associated-mixin.js"
38261
- }
38262
- },
38263
- {
38264
- "kind": "method",
38265
- "name": "formState",
38266
- "privacy": "protected",
38267
- "return": {
38268
- "type": {
38269
- "text": "FormRestoreState"
38270
- }
38271
- },
38272
- "inheritedFrom": {
38273
- "name": "SbbFormAssociatedMixin",
38274
- "module": "core/mixins/form-associated-mixin.js"
38275
- }
38276
- },
38277
- {
38278
- "kind": "method",
38279
- "name": "setValidityFlag",
38280
- "privacy": "protected",
38281
- "return": {
38282
- "type": {
38283
- "text": "void"
38284
- }
38285
- },
38286
- "parameters": [
38287
- {
38288
- "name": "flag",
38289
- "type": {
38290
- "text": "T"
38291
- }
38292
- },
38293
- {
38294
- "name": "message",
38295
- "type": {
38296
- "text": "string"
38297
- }
38298
- },
38299
- {
38300
- "name": "flagValue",
38301
- "optional": true,
38302
- "type": {
38303
- "text": "ValidityStateFlags[T]"
38304
- }
38305
- }
38306
- ],
38307
- "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).",
38308
- "inheritedFrom": {
38309
- "name": "SbbFormAssociatedMixin",
38310
- "module": "core/mixins/form-associated-mixin.js"
38311
- }
38312
- },
38313
- {
38314
- "kind": "method",
38315
- "name": "removeValidityFlag",
38316
- "privacy": "protected",
38317
- "return": {
38318
- "type": {
38319
- "text": "void"
38320
- }
38321
- },
38322
- "parameters": [
38323
- {
38324
- "name": "flag",
38325
- "type": {
38326
- "text": "T"
38327
- }
38328
- }
38329
- ],
38330
- "description": "Removes the validity state flag entry and updates validity state.",
38331
- "inheritedFrom": {
38332
- "name": "SbbFormAssociatedMixin",
38333
- "module": "core/mixins/form-associated-mixin.js"
38334
- }
38335
- },
38336
- {
38337
- "kind": "method",
38338
- "name": "validate",
38339
- "privacy": "protected",
38340
- "return": {
38341
- "type": {
38342
- "text": "void"
38343
- }
38344
- },
38345
- "description": "To be called whenever the current element needs to be validated.",
38346
38394
  "inheritedFrom": {
38347
- "name": "SbbFormAssociatedMixin",
38348
- "module": "core/mixins/form-associated-mixin.js"
38395
+ "name": "SbbLinkBaseElement",
38396
+ "module": "core/base-elements/link-base-element.js"
38349
38397
  }
38350
38398
  },
38351
38399
  {
38352
38400
  "kind": "method",
38353
- "name": "shouldValidate",
38401
+ "name": "renderLink",
38354
38402
  "privacy": "protected",
38355
38403
  "return": {
38356
38404
  "type": {
38357
- "text": "boolean"
38405
+ "text": "TemplateResult"
38358
38406
  }
38359
38407
  },
38360
38408
  "parameters": [
38361
38409
  {
38362
- "name": "name",
38410
+ "name": "renderContent",
38363
38411
  "type": {
38364
- "text": "PropertyKey | undefined"
38412
+ "text": "TemplateResult"
38365
38413
  }
38366
38414
  }
38367
38415
  ],
38368
- "description": "Whether validation should be run on a property change with the given name.",
38369
38416
  "inheritedFrom": {
38370
- "name": "SbbFormAssociatedMixin",
38371
- "module": "core/mixins/form-associated-mixin.js"
38372
- }
38373
- },
38374
- {
38375
- "kind": "method",
38376
- "name": "_setInternalValidity",
38377
- "privacy": "private",
38378
- "return": {
38379
- "type": {
38380
- "text": "void"
38381
- }
38382
- },
38383
- "inheritedFrom": {
38384
- "name": "SbbFormAssociatedMixin",
38385
- "module": "core/mixins/form-associated-mixin.js"
38386
- }
38387
- },
38388
- {
38389
- "kind": "field",
38390
- "name": "role",
38391
- "type": {
38392
- "text": "ElementInternals['role']"
38393
- },
38394
- "privacy": "public",
38395
- "static": true,
38396
- "readonly": true,
38397
- "default": "'button'",
38398
- "inheritedFrom": {
38399
- "name": "SbbButtonLikeBaseElement",
38400
- "module": "core/base-elements/button-base-element.js"
38401
- }
38402
- },
38403
- {
38404
- "kind": "field",
38405
- "name": "_preventScrollOnSpaceKeydown",
38406
- "privacy": "private",
38407
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
38408
- "parameters": [
38409
- {
38410
- "description": "The origin event.",
38411
- "name": "event"
38412
- }
38413
- ],
38414
- "inheritedFrom": {
38415
- "name": "SbbButtonLikeBaseElement",
38416
- "module": "core/base-elements/button-base-element.js"
38417
- }
38418
- },
38419
- {
38420
- "kind": "field",
38421
- "name": "_removeActiveMarker",
38422
- "privacy": "private",
38423
- "inheritedFrom": {
38424
- "name": "SbbButtonLikeBaseElement",
38425
- "module": "core/base-elements/button-base-element.js"
38426
- }
38427
- },
38428
- {
38429
- "kind": "field",
38430
- "name": "_dispatchClickEventOnSpaceKeyup",
38431
- "privacy": "private",
38432
- "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.",
38433
- "parameters": [
38434
- {
38435
- "description": "The origin event.",
38436
- "name": "event"
38437
- }
38438
- ],
38439
- "inheritedFrom": {
38440
- "name": "SbbButtonLikeBaseElement",
38441
- "module": "core/base-elements/button-base-element.js"
38442
- }
38443
- },
38444
- {
38445
- "kind": "field",
38446
- "name": "_dispatchClickEvent",
38447
- "privacy": "private",
38448
- "inheritedFrom": {
38449
- "name": "SbbButtonLikeBaseElement",
38450
- "module": "core/base-elements/button-base-element.js"
38417
+ "name": "SbbLinkBaseElement",
38418
+ "module": "core/base-elements/link-base-element.js"
38451
38419
  }
38452
38420
  },
38453
38421
  {
@@ -38602,15 +38570,19 @@
38602
38570
  "module": "button/common/button-common.js"
38603
38571
  },
38604
38572
  {
38605
- "name": "SbbDisabledTabIndexActionMixin",
38573
+ "name": "SbbDisabledInteractiveMixin",
38574
+ "module": "core/mixins.js"
38575
+ },
38576
+ {
38577
+ "name": "SbbDisabledMixin",
38606
38578
  "module": "core/mixins.js"
38607
38579
  }
38608
38580
  ],
38609
38581
  "superclass": {
38610
- "name": "SbbButtonBaseElement",
38582
+ "name": "SbbLinkBaseElement",
38611
38583
  "module": "core/base-elements.js"
38612
38584
  },
38613
- "tagName": "sbb-accent-button",
38585
+ "tagName": "sbb-accent-button-link",
38614
38586
  "customElement": true,
38615
38587
  "attributes": [
38616
38588
  {
@@ -38692,53 +38664,81 @@
38692
38664
  }
38693
38665
  },
38694
38666
  {
38695
- "name": "value",
38667
+ "name": "href",
38696
38668
  "type": {
38697
38669
  "text": "string"
38698
38670
  },
38699
38671
  "default": "''",
38700
- "description": "Value of the form element.",
38701
- "fieldName": "value",
38672
+ "description": "The href value you want to link to.",
38673
+ "fieldName": "href",
38702
38674
  "inheritedFrom": {
38703
- "name": "SbbButtonBaseElement",
38704
- "module": "core/base-elements/button-base-element.js"
38675
+ "name": "SbbLinkBaseElement",
38676
+ "module": "core/base-elements/link-base-element.js"
38705
38677
  }
38706
38678
  },
38707
38679
  {
38708
- "name": "type",
38709
- "description": "The type attribute to use for the button.",
38710
- "default": "'button'",
38680
+ "name": "target",
38711
38681
  "type": {
38712
- "text": "SbbButtonType"
38682
+ "text": "LinkTargetType | string"
38713
38683
  },
38714
- "fieldName": "type",
38684
+ "default": "''",
38685
+ "description": "Where to display the linked URL.",
38686
+ "fieldName": "target",
38715
38687
  "inheritedFrom": {
38716
- "name": "SbbButtonBaseElement",
38717
- "module": "core/base-elements/button-base-element.js"
38688
+ "name": "SbbLinkBaseElement",
38689
+ "module": "core/base-elements/link-base-element.js"
38718
38690
  }
38719
38691
  },
38720
38692
  {
38721
- "name": "form",
38722
- "description": "The `<form>` element to associate the button with.",
38693
+ "name": "rel",
38723
38694
  "type": {
38724
- "text": "HTMLFormElement | null"
38695
+ "text": "string"
38725
38696
  },
38726
- "fieldName": "form",
38697
+ "default": "''",
38698
+ "description": "The relationship of the linked URL as space-separated link types.",
38699
+ "fieldName": "rel",
38727
38700
  "inheritedFrom": {
38728
- "name": "SbbButtonBaseElement",
38729
- "module": "core/base-elements/button-base-element.js"
38701
+ "name": "SbbLinkBaseElement",
38702
+ "module": "core/base-elements/link-base-element.js"
38730
38703
  }
38731
38704
  },
38732
38705
  {
38733
- "name": "name",
38734
- "description": "Name of the form element. Will be read from name attribute.",
38706
+ "name": "download",
38707
+ "type": {
38708
+ "text": "boolean"
38709
+ },
38710
+ "default": "false",
38711
+ "description": "Whether the browser will show the download dialog on click.",
38712
+ "fieldName": "download",
38713
+ "inheritedFrom": {
38714
+ "name": "SbbLinkBaseElement",
38715
+ "module": "core/base-elements/link-base-element.js"
38716
+ }
38717
+ },
38718
+ {
38719
+ "name": "accessibility-label",
38735
38720
  "type": {
38736
38721
  "text": "string"
38737
38722
  },
38738
- "fieldName": "name",
38723
+ "default": "''",
38724
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
38725
+ "fieldName": "accessibilityLabel",
38739
38726
  "inheritedFrom": {
38740
- "name": "SbbFormAssociatedMixin",
38741
- "module": "core/mixins/form-associated-mixin.js"
38727
+ "name": "SbbLinkBaseElement",
38728
+ "module": "core/base-elements/link-base-element.js"
38729
+ }
38730
+ },
38731
+ {
38732
+ "name": "accessibility-current",
38733
+ "type": {
38734
+ "text": "string"
38735
+ },
38736
+ "default": "''",
38737
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
38738
+ "fieldName": "accessibilityCurrent",
38739
+ "inheritedFrom": {
38740
+ "name": "SbbLinkBaseElement",
38741
+ "module": "core/base-elements/link-base-element.js"
38742
38742
  }
38743
38743
  }
38744
38744
  ]
@@ -38747,10 +38747,10 @@
38747
38747
  "exports": [
38748
38748
  {
38749
38749
  "kind": "js",
38750
- "name": "SbbAccentButtonElement",
38750
+ "name": "SbbAccentButtonLinkElement",
38751
38751
  "declaration": {
38752
- "name": "SbbAccentButtonElement",
38753
- "module": "button/accent-button/accent-button.component.js"
38752
+ "name": "SbbAccentButtonLinkElement",
38753
+ "module": "button/accent-button-link/accent-button-link.component.js"
38754
38754
  }
38755
38755
  }
38756
38756
  ]
@@ -60887,488 +60887,26 @@
60887
60887
  "type": {
60888
60888
  "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
60889
60889
  },
60890
- "default": "'white'",
60891
- "description": "Color of the container, like transparent, white etc.",
60892
- "fieldName": "color"
60893
- }
60894
- ],
60895
- "superclass": {
60896
- "name": "SbbElement",
60897
- "module": "core/base-elements.js"
60898
- },
60899
- "tagName": "sbb-container",
60900
- "customElement": true
60901
- }
60902
- ],
60903
- "exports": [
60904
- {
60905
- "kind": "js",
60906
- "name": "SbbContainerElement",
60907
- "declaration": {
60908
- "name": "SbbContainerElement",
60909
- "module": "container/container/container.component.js"
60910
- }
60911
- }
60912
- ]
60913
- },
60914
- {
60915
- "kind": "javascript-module",
60916
- "path": "container/sticky-bar/sticky-bar.component.js",
60917
- "declarations": [
60918
- {
60919
- "kind": "class",
60920
- "description": "A container that sticks to the bottom of the page if slotted into `sbb-container`.",
60921
- "name": "SbbStickyBarElement",
60922
- "cssProperties": [
60923
- {
60924
- "description": "Block padding of the sticky bar.",
60925
- "name": "--sbb-sticky-bar-padding-block",
60926
- "default": "var(--sbb-spacing-responsive-xs)"
60927
- },
60928
- {
60929
- "description": "Define an additional area where the sticky bar overlaps the following content on the bottom. This area becomes visible when the sticky bar transitions from sticky to the normal document flow.",
60930
- "name": "--sbb-sticky-bar-bottom-overlapping-height",
60931
- "default": "0px"
60932
- },
60933
- {
60934
- "description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable.",
60935
- "name": "--sbb-sticky-bar-z-index"
60936
- }
60937
- ],
60938
- "slots": [
60939
- {
60940
- "description": "Use the unnamed slot to add content to the sticky bar.",
60941
- "name": ""
60942
- }
60943
- ],
60944
- "members": [
60945
- {
60946
- "kind": "field",
60947
- "name": "elementName",
60948
- "type": {
60949
- "text": "string"
60950
- },
60951
- "privacy": "public",
60952
- "static": true,
60953
- "readonly": true,
60954
- "default": "'sbb-sticky-bar'",
60955
- "inheritedFrom": {
60956
- "name": "SbbElement",
60957
- "module": "core/base-elements/element.js"
60958
- }
60959
- },
60960
- {
60961
- "kind": "field",
60962
- "name": "events",
60963
- "privacy": "public",
60964
- "static": true,
60965
- "readonly": true,
60966
- "default": "{ beforestick: 'beforestick', stick: 'stick', beforeunstick: 'beforeunstick', unstick: 'unstick', }",
60967
- "type": {
60968
- "text": "{\n beforestick: 'beforestick',\n stick: 'stick',\n beforeunstick: 'beforeunstick',\n unstick: 'unstick',\n }"
60969
- }
60970
- },
60971
- {
60972
- "kind": "field",
60973
- "name": "color",
60974
- "type": {
60975
- "text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
60976
- },
60977
- "privacy": "public",
60978
- "default": "null",
60979
- "description": "Color of the container, like transparent, white etc.",
60980
- "attribute": "color",
60981
- "reflects": true
60982
- },
60983
- {
60984
- "kind": "field",
60985
- "name": "size",
60986
- "type": {
60987
- "text": "'m' | 's'"
60988
- },
60989
- "privacy": "public",
60990
- "description": "Size of the container.",
60991
- "default": "'m' / 's' (lean)",
60992
- "attribute": "size",
60993
- "reflects": true
60994
- },
60995
- {
60996
- "kind": "field",
60997
- "name": "_state",
60998
- "privacy": "private",
60999
- "description": "The state of the component.",
61000
- "type": {
61001
- "text": "StickyState"
61002
- },
61003
- "default": "'sticky'"
61004
- },
61005
- {
61006
- "kind": "field",
61007
- "name": "_stateInternal",
61008
- "type": {
61009
- "text": "StickyState"
61010
- },
61011
- "privacy": "private"
61012
- },
61013
- {
61014
- "kind": "field",
61015
- "name": "_intersector",
61016
- "type": {
61017
- "text": "HTMLSpanElement | undefined"
61018
- },
61019
- "privacy": "private"
61020
- },
61021
- {
61022
- "kind": "field",
61023
- "name": "_observer",
61024
- "privacy": "private",
61025
- "default": "new IntersectionController(this, { // Although `this` is observed, we have to postpone observing // into firstUpdated() to achieve a correct initial state. target: null, callback: (entries) => this._detectStickyState(entries[0]), })"
61026
- },
61027
- {
61028
- "kind": "method",
61029
- "name": "_isZeroAnimationDuration",
61030
- "privacy": "private",
61031
- "return": {
61032
- "type": {
61033
- "text": "boolean"
61034
- }
61035
- }
61036
- },
61037
- {
61038
- "kind": "method",
61039
- "name": "_detectStickyState",
61040
- "privacy": "private",
61041
- "return": {
61042
- "type": {
61043
- "text": "void"
61044
- }
61045
- },
61046
- "parameters": [
61047
- {
61048
- "name": "entry",
61049
- "type": {
61050
- "text": "IntersectionObserverEntry"
61051
- }
61052
- }
61053
- ]
61054
- },
61055
- {
61056
- "kind": "method",
61057
- "name": "stick",
61058
- "privacy": "public",
61059
- "return": {
61060
- "type": {
61061
- "text": "void"
61062
- }
61063
- },
61064
- "description": "Animates from normal content flow position to `position: sticky`."
61065
- },
61066
- {
61067
- "kind": "method",
61068
- "name": "unstick",
61069
- "privacy": "public",
61070
- "return": {
61071
- "type": {
61072
- "text": "void"
61073
- }
61074
- },
61075
- "description": "Animates `position: sticky` to normal content flow position."
61076
- },
61077
- {
61078
- "kind": "method",
61079
- "name": "_stickyCallback",
61080
- "privacy": "private",
61081
- "return": {
61082
- "type": {
61083
- "text": "void"
61084
- }
61085
- }
61086
- },
61087
- {
61088
- "kind": "method",
61089
- "name": "_unstickyCallback",
61090
- "privacy": "private",
61091
- "return": {
61092
- "type": {
61093
- "text": "void"
61094
- }
61095
- }
61096
- },
61097
- {
61098
- "kind": "method",
61099
- "name": "_onAnimationEnd",
61100
- "privacy": "private",
61101
- "return": {
61102
- "type": {
61103
- "text": "void"
61104
- }
61105
- },
61106
- "parameters": [
61107
- {
61108
- "name": "event",
61109
- "type": {
61110
- "text": "AnimationEvent"
61111
- }
61112
- }
61113
- ]
61114
- },
61115
- {
61116
- "kind": "method",
61117
- "name": "_dispatchBeforeStickEvent",
61118
- "privacy": "private",
61119
- "return": {
61120
- "type": {
61121
- "text": "boolean"
61122
- }
61123
- }
61124
- },
61125
- {
61126
- "kind": "method",
61127
- "name": "_dispatchBeforeUnStickEvent",
61128
- "privacy": "private",
61129
- "return": {
61130
- "type": {
61131
- "text": "boolean"
61132
- }
61133
- }
61134
- },
61135
- {
61136
- "kind": "field",
61137
- "name": "_updatePromise",
61138
- "privacy": "private",
61139
- "inheritedFrom": {
61140
- "name": "SbbUpdateSchedulerMixin",
61141
- "module": "core/mixins/update-scheduler-mixin.js"
61142
- }
61143
- },
61144
- {
61145
- "kind": "field",
61146
- "name": "_updateResolve",
61147
- "privacy": "private",
61148
- "inheritedFrom": {
61149
- "name": "SbbUpdateSchedulerMixin",
61150
- "module": "core/mixins/update-scheduler-mixin.js"
61151
- }
61152
- },
61153
- {
61154
- "kind": "method",
61155
- "name": "startUpdate",
61156
- "privacy": "protected",
61157
- "return": {
61158
- "type": {
61159
- "text": "void"
61160
- }
61161
- },
61162
- "inheritedFrom": {
61163
- "name": "SbbUpdateSchedulerMixin",
61164
- "module": "core/mixins/update-scheduler-mixin.js"
61165
- }
61166
- },
61167
- {
61168
- "kind": "method",
61169
- "name": "completeUpdate",
61170
- "privacy": "protected",
61171
- "return": {
61172
- "type": {
61173
- "text": "void"
61174
- }
61175
- },
61176
- "inheritedFrom": {
61177
- "name": "SbbUpdateSchedulerMixin",
61178
- "module": "core/mixins/update-scheduler-mixin.js"
61179
- }
61180
- },
61181
- {
61182
- "kind": "method",
61183
- "name": "getUpdateComplete",
61184
- "privacy": "protected",
61185
- "return": {
61186
- "type": {
61187
- "text": "Promise<boolean>"
61188
- }
61189
- },
61190
- "inheritedFrom": {
61191
- "name": "SbbUpdateSchedulerMixin",
61192
- "module": "core/mixins/update-scheduler-mixin.js"
61193
- }
61194
- },
61195
- {
61196
- "kind": "field",
61197
- "name": "_hydrationRequired",
61198
- "type": {
61199
- "text": "boolean"
61200
- },
61201
- "privacy": "private",
61202
- "default": "!!this.shadowRoot",
61203
- "inheritedFrom": {
61204
- "name": "SbbHydrationMixin",
61205
- "module": "core/mixins/hydration-mixin.js"
61206
- }
61207
- },
61208
- {
61209
- "kind": "field",
61210
- "name": "_hydrationComplete",
61211
- "privacy": "private",
61212
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
61213
- "inheritedFrom": {
61214
- "name": "SbbHydrationMixin",
61215
- "module": "core/mixins/hydration-mixin.js"
61216
- }
61217
- },
61218
- {
61219
- "kind": "field",
61220
- "name": "_resolveHydration",
61221
- "type": {
61222
- "text": "(hydrationRequired: boolean) => void"
61223
- },
61224
- "privacy": "private",
61225
- "inheritedFrom": {
61226
- "name": "SbbHydrationMixin",
61227
- "module": "core/mixins/hydration-mixin.js"
61228
- }
61229
- },
61230
- {
61231
- "kind": "field",
61232
- "name": "hydrationRequired",
61233
- "type": {
61234
- "text": "boolean"
61235
- },
61236
- "privacy": "protected",
61237
- "description": "Returns whether hydration is required and not completed.",
61238
- "readonly": true,
61239
- "inheritedFrom": {
61240
- "name": "SbbHydrationMixin",
61241
- "module": "core/mixins/hydration-mixin.js"
61242
- },
61243
- "default": "!!this.shadowRoot"
61244
- },
61245
- {
61246
- "kind": "method",
61247
- "name": "toggleState",
61248
- "privacy": "protected",
61249
- "return": {
61250
- "type": {
61251
- "text": "void"
61252
- }
61253
- },
61254
- "parameters": [
61255
- {
61256
- "name": "value",
61257
- "type": {
61258
- "text": "string"
61259
- }
61260
- },
61261
- {
61262
- "name": "force",
61263
- "optional": true,
61264
- "type": {
61265
- "text": "boolean"
61266
- }
61267
- }
61268
- ],
61269
- "inheritedFrom": {
61270
- "name": "SbbElementInternalsMixin",
61271
- "module": "core/mixins/element-internals-mixin.js"
61272
- }
61273
- },
61274
- {
61275
- "kind": "field",
61276
- "name": "['_$sbbElement$']",
61277
- "type": {
61278
- "text": "boolean"
61279
- },
61280
- "privacy": "public",
61281
- "static": true,
61282
- "default": "true",
61283
- "inheritedFrom": {
61284
- "name": "SbbElement",
61285
- "module": "core/base-elements/element.js"
61286
- }
61287
- },
61288
- {
61289
- "kind": "field",
61290
- "name": "_controllers",
61291
- "type": {
61292
- "text": "Set<SbbReactiveController> | undefined"
61293
- },
61294
- "privacy": "private",
61295
- "inheritedFrom": {
61296
- "name": "SbbElement",
61297
- "module": "core/base-elements/element.js"
61298
- }
61299
- }
61300
- ],
61301
- "events": [
61302
- {
61303
- "name": "stick",
61304
- "type": {
61305
- "text": "Event"
61306
- },
61307
- "description": "Emits when the animation from normal content flow to `position: sticky` ends."
61308
- },
61309
- {
61310
- "name": "unstick",
61311
- "type": {
61312
- "text": "Event"
61313
- },
61314
- "description": "Emits when the animation from `position: sticky` to normal content flow ends."
61315
- },
61316
- {
61317
- "name": "beforestick",
61318
- "type": {
61319
- "text": "Event"
61320
- },
61321
- "description": "Emits when the animation from normal content flow to `position: sticky` starts. Can be canceled."
61322
- },
61323
- {
61324
- "name": "beforeunstick",
61325
- "type": {
61326
- "text": "Event"
61327
- },
61328
- "description": "Emits when the animation from `position: sticky` to normal content flow starts. Can be canceled."
61329
- }
61330
- ],
61331
- "attributes": [
61332
- {
61333
- "name": "color",
61334
- "type": {
61335
- "text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
61336
- },
61337
- "default": "null",
61338
- "description": "Color of the container, like transparent, white etc.",
61339
- "fieldName": "color"
61340
- },
61341
- {
61342
- "name": "size",
61343
- "type": {
61344
- "text": "'m' | 's'"
61345
- },
61346
- "description": "Size of the container.",
61347
- "default": "'m' / 's' (lean)",
61348
- "fieldName": "size"
61349
- }
61350
- ],
61351
- "mixins": [
61352
- {
61353
- "name": "SbbUpdateSchedulerMixin",
61354
- "module": "core/mixins.js"
60890
+ "default": "'white'",
60891
+ "description": "Color of the container, like transparent, white etc.",
60892
+ "fieldName": "color"
61355
60893
  }
61356
60894
  ],
61357
60895
  "superclass": {
61358
60896
  "name": "SbbElement",
61359
60897
  "module": "core/base-elements.js"
61360
60898
  },
61361
- "tagName": "sbb-sticky-bar",
60899
+ "tagName": "sbb-container",
61362
60900
  "customElement": true
61363
60901
  }
61364
60902
  ],
61365
60903
  "exports": [
61366
60904
  {
61367
60905
  "kind": "js",
61368
- "name": "SbbStickyBarElement",
60906
+ "name": "SbbContainerElement",
61369
60907
  "declaration": {
61370
- "name": "SbbStickyBarElement",
61371
- "module": "container/sticky-bar/sticky-bar.component.js"
60908
+ "name": "SbbContainerElement",
60909
+ "module": "container/container/container.component.js"
61372
60910
  }
61373
60911
  }
61374
60912
  ]
@@ -62041,226 +61579,688 @@
62041
61579
  "members": [
62042
61580
  {
62043
61581
  "kind": "field",
62044
- "name": "_liveElement",
61582
+ "name": "_liveElement",
61583
+ "type": {
61584
+ "text": "HTMLElement"
61585
+ },
61586
+ "privacy": "private"
61587
+ },
61588
+ {
61589
+ "kind": "field",
61590
+ "name": "_previousTimeout",
61591
+ "type": {
61592
+ "text": "ReturnType<typeof setTimeout> | undefined"
61593
+ },
61594
+ "privacy": "private"
61595
+ },
61596
+ {
61597
+ "kind": "field",
61598
+ "name": "_currentPromise",
61599
+ "type": {
61600
+ "text": "Promise<void> | undefined"
61601
+ },
61602
+ "privacy": "private"
61603
+ },
61604
+ {
61605
+ "kind": "field",
61606
+ "name": "_currentResolve",
61607
+ "type": {
61608
+ "text": "(() => void) | undefined"
61609
+ },
61610
+ "privacy": "private"
61611
+ },
61612
+ {
61613
+ "kind": "method",
61614
+ "name": "announce",
61615
+ "privacy": "public",
61616
+ "return": {
61617
+ "type": {
61618
+ "text": ""
61619
+ }
61620
+ },
61621
+ "parameters": [
61622
+ {
61623
+ "name": "message",
61624
+ "type": {
61625
+ "text": "string"
61626
+ },
61627
+ "description": "Message to be announced to the screen reader."
61628
+ }
61629
+ ],
61630
+ "description": "Announces a message to screen readers."
61631
+ },
61632
+ {
61633
+ "kind": "method",
61634
+ "name": "announce",
61635
+ "privacy": "public",
61636
+ "return": {
61637
+ "type": {
61638
+ "text": ""
61639
+ }
61640
+ },
61641
+ "parameters": [
61642
+ {
61643
+ "name": "message",
61644
+ "type": {
61645
+ "text": "string"
61646
+ },
61647
+ "description": "Message to be announced to the screen reader."
61648
+ },
61649
+ {
61650
+ "name": "politeness",
61651
+ "optional": true,
61652
+ "type": {
61653
+ "text": "AriaLivePoliteness"
61654
+ },
61655
+ "description": "The politeness of the announcer element."
61656
+ }
61657
+ ],
61658
+ "description": "Announces a message to screen readers."
61659
+ },
61660
+ {
61661
+ "kind": "method",
61662
+ "name": "announce",
61663
+ "privacy": "public",
61664
+ "return": {
61665
+ "type": {
61666
+ "text": ""
61667
+ }
61668
+ },
61669
+ "parameters": [
61670
+ {
61671
+ "name": "message",
61672
+ "type": {
61673
+ "text": "string"
61674
+ },
61675
+ "description": "Message to be announced to the screen reader."
61676
+ },
61677
+ {
61678
+ "name": "duration",
61679
+ "optional": true,
61680
+ "type": {
61681
+ "text": "number"
61682
+ },
61683
+ "description": "Time in milliseconds after which to clear out the announcer element. Note\nthat this takes effect after the message has been added to the DOM, which can be up to\n100ms after `announce` has been called."
61684
+ }
61685
+ ],
61686
+ "description": "Announces a message to screen readers."
61687
+ },
61688
+ {
61689
+ "kind": "method",
61690
+ "name": "announce",
61691
+ "privacy": "public",
61692
+ "return": {
61693
+ "type": {
61694
+ "text": ""
61695
+ }
61696
+ },
61697
+ "parameters": [
61698
+ {
61699
+ "name": "message",
61700
+ "type": {
61701
+ "text": "string"
61702
+ },
61703
+ "description": "Message to be announced to the screen reader."
61704
+ },
61705
+ {
61706
+ "name": "politeness",
61707
+ "optional": true,
61708
+ "type": {
61709
+ "text": "AriaLivePoliteness"
61710
+ },
61711
+ "description": "The politeness of the announcer element."
61712
+ },
61713
+ {
61714
+ "name": "duration",
61715
+ "optional": true,
61716
+ "type": {
61717
+ "text": "number"
61718
+ },
61719
+ "description": "Time in milliseconds after which to clear out the announcer element. Note\nthat this takes effect after the message has been added to the DOM, which can be up to\n100ms after `announce` has been called."
61720
+ }
61721
+ ],
61722
+ "description": "Announces a message to screen readers."
61723
+ },
61724
+ {
61725
+ "kind": "method",
61726
+ "name": "announce",
61727
+ "privacy": "public",
61728
+ "return": {
61729
+ "type": {
61730
+ "text": "Promise<void>"
61731
+ }
61732
+ },
61733
+ "parameters": [
61734
+ {
61735
+ "name": "message",
61736
+ "type": {
61737
+ "text": "string"
61738
+ }
61739
+ },
61740
+ {
61741
+ "name": "args",
61742
+ "type": {
61743
+ "text": "any[]"
61744
+ }
61745
+ }
61746
+ ]
61747
+ },
61748
+ {
61749
+ "kind": "method",
61750
+ "name": "clear",
61751
+ "privacy": "public",
61752
+ "return": {
61753
+ "type": {
61754
+ "text": "void"
61755
+ }
61756
+ },
61757
+ "description": "Clears the current text from the announcer element. Can be used to prevent\nscreen readers from reading the text out again while the user is going\nthrough the page landmarks."
61758
+ },
61759
+ {
61760
+ "kind": "method",
61761
+ "name": "destroy",
61762
+ "privacy": "public",
61763
+ "return": {
61764
+ "type": {
61765
+ "text": "void"
61766
+ }
61767
+ }
61768
+ },
61769
+ {
61770
+ "kind": "method",
61771
+ "name": "_createLiveElement",
61772
+ "privacy": "private",
61773
+ "return": {
61774
+ "type": {
61775
+ "text": "HTMLElement"
61776
+ }
61777
+ }
61778
+ }
61779
+ ]
61780
+ },
61781
+ {
61782
+ "kind": "variable",
61783
+ "name": "sbbLiveAnnouncer",
61784
+ "default": "new SbbLiveAnnouncer()"
61785
+ }
61786
+ ],
61787
+ "exports": [
61788
+ {
61789
+ "kind": "js",
61790
+ "name": "SbbLiveAnnouncer",
61791
+ "declaration": {
61792
+ "name": "SbbLiveAnnouncer",
61793
+ "module": "core/a11y/live-announcer.js"
61794
+ }
61795
+ },
61796
+ {
61797
+ "kind": "js",
61798
+ "name": "sbbLiveAnnouncer",
61799
+ "declaration": {
61800
+ "name": "sbbLiveAnnouncer",
61801
+ "module": "core/a11y/live-announcer.js"
61802
+ }
61803
+ }
61804
+ ]
61805
+ },
61806
+ {
61807
+ "kind": "javascript-module",
61808
+ "path": "container/sticky-bar/sticky-bar.component.js",
61809
+ "declarations": [
61810
+ {
61811
+ "kind": "class",
61812
+ "description": "A container that sticks to the bottom of the page if slotted into `sbb-container`.",
61813
+ "name": "SbbStickyBarElement",
61814
+ "cssProperties": [
61815
+ {
61816
+ "description": "Block padding of the sticky bar.",
61817
+ "name": "--sbb-sticky-bar-padding-block",
61818
+ "default": "var(--sbb-spacing-responsive-xs)"
61819
+ },
61820
+ {
61821
+ "description": "Define an additional area where the sticky bar overlaps the following content on the bottom. This area becomes visible when the sticky bar transitions from sticky to the normal document flow.",
61822
+ "name": "--sbb-sticky-bar-bottom-overlapping-height",
61823
+ "default": "0px"
61824
+ },
61825
+ {
61826
+ "description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable.",
61827
+ "name": "--sbb-sticky-bar-z-index"
61828
+ }
61829
+ ],
61830
+ "slots": [
61831
+ {
61832
+ "description": "Use the unnamed slot to add content to the sticky bar.",
61833
+ "name": ""
61834
+ }
61835
+ ],
61836
+ "members": [
61837
+ {
61838
+ "kind": "field",
61839
+ "name": "elementName",
61840
+ "type": {
61841
+ "text": "string"
61842
+ },
61843
+ "privacy": "public",
61844
+ "static": true,
61845
+ "readonly": true,
61846
+ "default": "'sbb-sticky-bar'",
61847
+ "inheritedFrom": {
61848
+ "name": "SbbElement",
61849
+ "module": "core/base-elements/element.js"
61850
+ }
61851
+ },
61852
+ {
61853
+ "kind": "field",
61854
+ "name": "events",
61855
+ "privacy": "public",
61856
+ "static": true,
61857
+ "readonly": true,
61858
+ "default": "{ beforestick: 'beforestick', stick: 'stick', beforeunstick: 'beforeunstick', unstick: 'unstick', }",
61859
+ "type": {
61860
+ "text": "{\n beforestick: 'beforestick',\n stick: 'stick',\n beforeunstick: 'beforeunstick',\n unstick: 'unstick',\n }"
61861
+ }
61862
+ },
61863
+ {
61864
+ "kind": "field",
61865
+ "name": "color",
61866
+ "type": {
61867
+ "text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
61868
+ },
61869
+ "privacy": "public",
61870
+ "default": "null",
61871
+ "description": "Color of the container, like transparent, white etc.",
61872
+ "attribute": "color",
61873
+ "reflects": true
61874
+ },
61875
+ {
61876
+ "kind": "field",
61877
+ "name": "size",
61878
+ "type": {
61879
+ "text": "'m' | 's'"
61880
+ },
61881
+ "privacy": "public",
61882
+ "description": "Size of the container.",
61883
+ "default": "'m' / 's' (lean)",
61884
+ "attribute": "size",
61885
+ "reflects": true
61886
+ },
61887
+ {
61888
+ "kind": "field",
61889
+ "name": "_state",
61890
+ "privacy": "private",
61891
+ "description": "The state of the component.",
61892
+ "type": {
61893
+ "text": "StickyState"
61894
+ },
61895
+ "default": "'sticky'"
61896
+ },
61897
+ {
61898
+ "kind": "field",
61899
+ "name": "_stateInternal",
61900
+ "type": {
61901
+ "text": "StickyState"
61902
+ },
61903
+ "privacy": "private"
61904
+ },
61905
+ {
61906
+ "kind": "field",
61907
+ "name": "_intersector",
61908
+ "type": {
61909
+ "text": "HTMLSpanElement | undefined"
61910
+ },
61911
+ "privacy": "private"
61912
+ },
61913
+ {
61914
+ "kind": "field",
61915
+ "name": "_observer",
61916
+ "privacy": "private",
61917
+ "default": "new IntersectionController(this, { // Although `this` is observed, we have to postpone observing // into firstUpdated() to achieve a correct initial state. target: null, callback: (entries) => this._detectStickyState(entries[0]), })"
61918
+ },
61919
+ {
61920
+ "kind": "method",
61921
+ "name": "_isZeroAnimationDuration",
61922
+ "privacy": "private",
61923
+ "return": {
61924
+ "type": {
61925
+ "text": "boolean"
61926
+ }
61927
+ }
61928
+ },
61929
+ {
61930
+ "kind": "method",
61931
+ "name": "_detectStickyState",
61932
+ "privacy": "private",
61933
+ "return": {
61934
+ "type": {
61935
+ "text": "void"
61936
+ }
61937
+ },
61938
+ "parameters": [
61939
+ {
61940
+ "name": "entry",
61941
+ "type": {
61942
+ "text": "IntersectionObserverEntry"
61943
+ }
61944
+ }
61945
+ ]
61946
+ },
61947
+ {
61948
+ "kind": "method",
61949
+ "name": "stick",
61950
+ "privacy": "public",
61951
+ "return": {
61952
+ "type": {
61953
+ "text": "void"
61954
+ }
61955
+ },
61956
+ "description": "Animates from normal content flow position to `position: sticky`."
61957
+ },
61958
+ {
61959
+ "kind": "method",
61960
+ "name": "unstick",
61961
+ "privacy": "public",
61962
+ "return": {
61963
+ "type": {
61964
+ "text": "void"
61965
+ }
61966
+ },
61967
+ "description": "Animates `position: sticky` to normal content flow position."
61968
+ },
61969
+ {
61970
+ "kind": "method",
61971
+ "name": "_stickyCallback",
61972
+ "privacy": "private",
61973
+ "return": {
61974
+ "type": {
61975
+ "text": "void"
61976
+ }
61977
+ }
61978
+ },
61979
+ {
61980
+ "kind": "method",
61981
+ "name": "_unstickyCallback",
61982
+ "privacy": "private",
61983
+ "return": {
61984
+ "type": {
61985
+ "text": "void"
61986
+ }
61987
+ }
61988
+ },
61989
+ {
61990
+ "kind": "method",
61991
+ "name": "_onAnimationEnd",
61992
+ "privacy": "private",
61993
+ "return": {
61994
+ "type": {
61995
+ "text": "void"
61996
+ }
61997
+ },
61998
+ "parameters": [
61999
+ {
62000
+ "name": "event",
62001
+ "type": {
62002
+ "text": "AnimationEvent"
62003
+ }
62004
+ }
62005
+ ]
62006
+ },
62007
+ {
62008
+ "kind": "method",
62009
+ "name": "_dispatchBeforeStickEvent",
62010
+ "privacy": "private",
62011
+ "return": {
62012
+ "type": {
62013
+ "text": "boolean"
62014
+ }
62015
+ }
62016
+ },
62017
+ {
62018
+ "kind": "method",
62019
+ "name": "_dispatchBeforeUnStickEvent",
62020
+ "privacy": "private",
62021
+ "return": {
62022
+ "type": {
62023
+ "text": "boolean"
62024
+ }
62025
+ }
62026
+ },
62027
+ {
62028
+ "kind": "field",
62029
+ "name": "_updatePromise",
62030
+ "privacy": "private",
62031
+ "inheritedFrom": {
62032
+ "name": "SbbUpdateSchedulerMixin",
62033
+ "module": "core/mixins/update-scheduler-mixin.js"
62034
+ }
62035
+ },
62036
+ {
62037
+ "kind": "field",
62038
+ "name": "_updateResolve",
62039
+ "privacy": "private",
62040
+ "inheritedFrom": {
62041
+ "name": "SbbUpdateSchedulerMixin",
62042
+ "module": "core/mixins/update-scheduler-mixin.js"
62043
+ }
62044
+ },
62045
+ {
62046
+ "kind": "method",
62047
+ "name": "startUpdate",
62048
+ "privacy": "protected",
62049
+ "return": {
62050
+ "type": {
62051
+ "text": "void"
62052
+ }
62053
+ },
62054
+ "inheritedFrom": {
62055
+ "name": "SbbUpdateSchedulerMixin",
62056
+ "module": "core/mixins/update-scheduler-mixin.js"
62057
+ }
62058
+ },
62059
+ {
62060
+ "kind": "method",
62061
+ "name": "completeUpdate",
62062
+ "privacy": "protected",
62063
+ "return": {
62064
+ "type": {
62065
+ "text": "void"
62066
+ }
62067
+ },
62068
+ "inheritedFrom": {
62069
+ "name": "SbbUpdateSchedulerMixin",
62070
+ "module": "core/mixins/update-scheduler-mixin.js"
62071
+ }
62072
+ },
62073
+ {
62074
+ "kind": "method",
62075
+ "name": "getUpdateComplete",
62076
+ "privacy": "protected",
62077
+ "return": {
62078
+ "type": {
62079
+ "text": "Promise<boolean>"
62080
+ }
62081
+ },
62082
+ "inheritedFrom": {
62083
+ "name": "SbbUpdateSchedulerMixin",
62084
+ "module": "core/mixins/update-scheduler-mixin.js"
62085
+ }
62086
+ },
62087
+ {
62088
+ "kind": "field",
62089
+ "name": "_hydrationRequired",
62045
62090
  "type": {
62046
- "text": "HTMLElement"
62091
+ "text": "boolean"
62047
62092
  },
62048
- "privacy": "private"
62093
+ "privacy": "private",
62094
+ "default": "!!this.shadowRoot",
62095
+ "inheritedFrom": {
62096
+ "name": "SbbHydrationMixin",
62097
+ "module": "core/mixins/hydration-mixin.js"
62098
+ }
62049
62099
  },
62050
62100
  {
62051
62101
  "kind": "field",
62052
- "name": "_previousTimeout",
62053
- "type": {
62054
- "text": "ReturnType<typeof setTimeout> | undefined"
62055
- },
62056
- "privacy": "private"
62102
+ "name": "_hydrationComplete",
62103
+ "privacy": "private",
62104
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
62105
+ "inheritedFrom": {
62106
+ "name": "SbbHydrationMixin",
62107
+ "module": "core/mixins/hydration-mixin.js"
62108
+ }
62057
62109
  },
62058
62110
  {
62059
62111
  "kind": "field",
62060
- "name": "_currentPromise",
62112
+ "name": "_resolveHydration",
62061
62113
  "type": {
62062
- "text": "Promise<void> | undefined"
62114
+ "text": "(hydrationRequired: boolean) => void"
62063
62115
  },
62064
- "privacy": "private"
62116
+ "privacy": "private",
62117
+ "inheritedFrom": {
62118
+ "name": "SbbHydrationMixin",
62119
+ "module": "core/mixins/hydration-mixin.js"
62120
+ }
62065
62121
  },
62066
62122
  {
62067
62123
  "kind": "field",
62068
- "name": "_currentResolve",
62124
+ "name": "hydrationRequired",
62069
62125
  "type": {
62070
- "text": "(() => void) | undefined"
62126
+ "text": "boolean"
62071
62127
  },
62072
- "privacy": "private"
62073
- },
62074
- {
62075
- "kind": "method",
62076
- "name": "announce",
62077
- "privacy": "public",
62078
- "return": {
62079
- "type": {
62080
- "text": ""
62081
- }
62128
+ "privacy": "protected",
62129
+ "description": "Returns whether hydration is required and not completed.",
62130
+ "readonly": true,
62131
+ "inheritedFrom": {
62132
+ "name": "SbbHydrationMixin",
62133
+ "module": "core/mixins/hydration-mixin.js"
62082
62134
  },
62083
- "parameters": [
62084
- {
62085
- "name": "message",
62086
- "type": {
62087
- "text": "string"
62088
- },
62089
- "description": "Message to be announced to the screen reader."
62090
- }
62091
- ],
62092
- "description": "Announces a message to screen readers."
62135
+ "default": "!!this.shadowRoot"
62093
62136
  },
62094
62137
  {
62095
62138
  "kind": "method",
62096
- "name": "announce",
62097
- "privacy": "public",
62139
+ "name": "toggleState",
62140
+ "privacy": "protected",
62098
62141
  "return": {
62099
62142
  "type": {
62100
- "text": ""
62143
+ "text": "void"
62101
62144
  }
62102
62145
  },
62103
62146
  "parameters": [
62104
62147
  {
62105
- "name": "message",
62148
+ "name": "value",
62106
62149
  "type": {
62107
62150
  "text": "string"
62108
- },
62109
- "description": "Message to be announced to the screen reader."
62151
+ }
62110
62152
  },
62111
62153
  {
62112
- "name": "politeness",
62154
+ "name": "force",
62113
62155
  "optional": true,
62114
62156
  "type": {
62115
- "text": "AriaLivePoliteness"
62116
- },
62117
- "description": "The politeness of the announcer element."
62157
+ "text": "boolean"
62158
+ }
62118
62159
  }
62119
62160
  ],
62120
- "description": "Announces a message to screen readers."
62161
+ "inheritedFrom": {
62162
+ "name": "SbbElementInternalsMixin",
62163
+ "module": "core/mixins/element-internals-mixin.js"
62164
+ }
62121
62165
  },
62122
62166
  {
62123
- "kind": "method",
62124
- "name": "announce",
62125
- "privacy": "public",
62126
- "return": {
62127
- "type": {
62128
- "text": ""
62129
- }
62167
+ "kind": "field",
62168
+ "name": "['_$sbbElement$']",
62169
+ "type": {
62170
+ "text": "boolean"
62130
62171
  },
62131
- "parameters": [
62132
- {
62133
- "name": "message",
62134
- "type": {
62135
- "text": "string"
62136
- },
62137
- "description": "Message to be announced to the screen reader."
62138
- },
62139
- {
62140
- "name": "duration",
62141
- "optional": true,
62142
- "type": {
62143
- "text": "number"
62144
- },
62145
- "description": "Time in milliseconds after which to clear out the announcer element. Note\nthat this takes effect after the message has been added to the DOM, which can be up to\n100ms after `announce` has been called."
62146
- }
62147
- ],
62148
- "description": "Announces a message to screen readers."
62172
+ "privacy": "public",
62173
+ "static": true,
62174
+ "default": "true",
62175
+ "inheritedFrom": {
62176
+ "name": "SbbElement",
62177
+ "module": "core/base-elements/element.js"
62178
+ }
62149
62179
  },
62150
62180
  {
62151
- "kind": "method",
62152
- "name": "announce",
62153
- "privacy": "public",
62154
- "return": {
62155
- "type": {
62156
- "text": ""
62157
- }
62181
+ "kind": "field",
62182
+ "name": "_controllers",
62183
+ "type": {
62184
+ "text": "Set<SbbReactiveController> | undefined"
62158
62185
  },
62159
- "parameters": [
62160
- {
62161
- "name": "message",
62162
- "type": {
62163
- "text": "string"
62164
- },
62165
- "description": "Message to be announced to the screen reader."
62166
- },
62167
- {
62168
- "name": "politeness",
62169
- "optional": true,
62170
- "type": {
62171
- "text": "AriaLivePoliteness"
62172
- },
62173
- "description": "The politeness of the announcer element."
62174
- },
62175
- {
62176
- "name": "duration",
62177
- "optional": true,
62178
- "type": {
62179
- "text": "number"
62180
- },
62181
- "description": "Time in milliseconds after which to clear out the announcer element. Note\nthat this takes effect after the message has been added to the DOM, which can be up to\n100ms after `announce` has been called."
62182
- }
62183
- ],
62184
- "description": "Announces a message to screen readers."
62186
+ "privacy": "private",
62187
+ "inheritedFrom": {
62188
+ "name": "SbbElement",
62189
+ "module": "core/base-elements/element.js"
62190
+ }
62191
+ }
62192
+ ],
62193
+ "events": [
62194
+ {
62195
+ "name": "stick",
62196
+ "type": {
62197
+ "text": "Event"
62198
+ },
62199
+ "description": "Emits when the animation from normal content flow to `position: sticky` ends."
62185
62200
  },
62186
62201
  {
62187
- "kind": "method",
62188
- "name": "announce",
62189
- "privacy": "public",
62190
- "return": {
62191
- "type": {
62192
- "text": "Promise<void>"
62193
- }
62202
+ "name": "unstick",
62203
+ "type": {
62204
+ "text": "Event"
62194
62205
  },
62195
- "parameters": [
62196
- {
62197
- "name": "message",
62198
- "type": {
62199
- "text": "string"
62200
- }
62201
- },
62202
- {
62203
- "name": "args",
62204
- "type": {
62205
- "text": "any[]"
62206
- }
62207
- }
62208
- ]
62206
+ "description": "Emits when the animation from `position: sticky` to normal content flow ends."
62209
62207
  },
62210
62208
  {
62211
- "kind": "method",
62212
- "name": "clear",
62213
- "privacy": "public",
62214
- "return": {
62215
- "type": {
62216
- "text": "void"
62217
- }
62209
+ "name": "beforestick",
62210
+ "type": {
62211
+ "text": "Event"
62218
62212
  },
62219
- "description": "Clears the current text from the announcer element. Can be used to prevent\nscreen readers from reading the text out again while the user is going\nthrough the page landmarks."
62213
+ "description": "Emits when the animation from normal content flow to `position: sticky` starts. Can be canceled."
62220
62214
  },
62221
62215
  {
62222
- "kind": "method",
62223
- "name": "destroy",
62224
- "privacy": "public",
62225
- "return": {
62226
- "type": {
62227
- "text": "void"
62228
- }
62229
- }
62216
+ "name": "beforeunstick",
62217
+ "type": {
62218
+ "text": "Event"
62219
+ },
62220
+ "description": "Emits when the animation from `position: sticky` to normal content flow starts. Can be canceled."
62221
+ }
62222
+ ],
62223
+ "attributes": [
62224
+ {
62225
+ "name": "color",
62226
+ "type": {
62227
+ "text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
62228
+ },
62229
+ "default": "null",
62230
+ "description": "Color of the container, like transparent, white etc.",
62231
+ "fieldName": "color"
62230
62232
  },
62231
62233
  {
62232
- "kind": "method",
62233
- "name": "_createLiveElement",
62234
- "privacy": "private",
62235
- "return": {
62236
- "type": {
62237
- "text": "HTMLElement"
62238
- }
62239
- }
62234
+ "name": "size",
62235
+ "type": {
62236
+ "text": "'m' | 's'"
62237
+ },
62238
+ "description": "Size of the container.",
62239
+ "default": "'m' / 's' (lean)",
62240
+ "fieldName": "size"
62240
62241
  }
62241
- ]
62242
- },
62243
- {
62244
- "kind": "variable",
62245
- "name": "sbbLiveAnnouncer",
62246
- "default": "new SbbLiveAnnouncer()"
62242
+ ],
62243
+ "mixins": [
62244
+ {
62245
+ "name": "SbbUpdateSchedulerMixin",
62246
+ "module": "core/mixins.js"
62247
+ }
62248
+ ],
62249
+ "superclass": {
62250
+ "name": "SbbElement",
62251
+ "module": "core/base-elements.js"
62252
+ },
62253
+ "tagName": "sbb-sticky-bar",
62254
+ "customElement": true
62247
62255
  }
62248
62256
  ],
62249
62257
  "exports": [
62250
62258
  {
62251
62259
  "kind": "js",
62252
- "name": "SbbLiveAnnouncer",
62253
- "declaration": {
62254
- "name": "SbbLiveAnnouncer",
62255
- "module": "core/a11y/live-announcer.js"
62256
- }
62257
- },
62258
- {
62259
- "kind": "js",
62260
- "name": "sbbLiveAnnouncer",
62260
+ "name": "SbbStickyBarElement",
62261
62261
  "declaration": {
62262
- "name": "sbbLiveAnnouncer",
62263
- "module": "core/a11y/live-announcer.js"
62262
+ "name": "SbbStickyBarElement",
62263
+ "module": "container/sticky-bar/sticky-bar.component.js"
62264
62264
  }
62265
62265
  }
62266
62266
  ]
@@ -68593,229 +68593,6 @@
68593
68593
  }
68594
68594
  ]
68595
68595
  },
68596
- {
68597
- "kind": "javascript-module",
68598
- "path": "core/decorators/base.js",
68599
- "declarations": [],
68600
- "exports": []
68601
- },
68602
- {
68603
- "kind": "javascript-module",
68604
- "path": "core/decorators/force-type.js",
68605
- "declarations": [
68606
- {
68607
- "kind": "function",
68608
- "name": "forceType",
68609
- "return": {
68610
- "type": {
68611
- "text": "PropertyDecorator"
68612
- }
68613
- },
68614
- "parameters": [
68615
- {
68616
- "name": "convert",
68617
- "optional": true,
68618
- "type": {
68619
- "text": "(v: unknown) => V"
68620
- }
68621
- }
68622
- ],
68623
- "description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
68624
- }
68625
- ],
68626
- "exports": [
68627
- {
68628
- "kind": "js",
68629
- "name": "forceType",
68630
- "declaration": {
68631
- "name": "forceType",
68632
- "module": "core/decorators/force-type.js"
68633
- }
68634
- }
68635
- ]
68636
- },
68637
- {
68638
- "kind": "javascript-module",
68639
- "path": "core/decorators/get-override.js",
68640
- "declarations": [
68641
- {
68642
- "kind": "function",
68643
- "name": "getOverride",
68644
- "parameters": [
68645
- {
68646
- "name": "callback",
68647
- "type": {
68648
- "text": "(instance: C, innerValue: V) => V"
68649
- }
68650
- }
68651
- ],
68652
- "description": "Decorator that overrides the underlying getter of the accessor."
68653
- }
68654
- ],
68655
- "exports": [
68656
- {
68657
- "kind": "js",
68658
- "name": "getOverride",
68659
- "declaration": {
68660
- "name": "getOverride",
68661
- "module": "core/decorators/get-override.js"
68662
- }
68663
- }
68664
- ]
68665
- },
68666
- {
68667
- "kind": "javascript-module",
68668
- "path": "core/decorators/handle-distinct-change.js",
68669
- "declarations": [
68670
- {
68671
- "kind": "function",
68672
- "name": "handleDistinctChange",
68673
- "parameters": [
68674
- {
68675
- "name": "callback",
68676
- "type": {
68677
- "text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
68678
- }
68679
- }
68680
- ],
68681
- "description": "Decorator that calls the given callback when the value\nof the associated property is changed."
68682
- }
68683
- ],
68684
- "exports": [
68685
- {
68686
- "kind": "js",
68687
- "name": "handleDistinctChange",
68688
- "declaration": {
68689
- "name": "handleDistinctChange",
68690
- "module": "core/decorators/handle-distinct-change.js"
68691
- }
68692
- }
68693
- ]
68694
- },
68695
- {
68696
- "kind": "javascript-module",
68697
- "path": "core/decorators/host-attributes.js",
68698
- "declarations": [
68699
- {
68700
- "kind": "function",
68701
- "name": "hostAttributes",
68702
- "parameters": [
68703
- {
68704
- "name": "attributes",
68705
- "type": {
68706
- "text": "Record<string, string | null>"
68707
- },
68708
- "description": "A record of attributes to apply to the element."
68709
- }
68710
- ],
68711
- "description": "Applies the given attributes to the related element.\nIf an empty string is passed as a value, the attribute will be set\nwithout value.",
68712
- "deprecated": "Will be removed with next major version."
68713
- }
68714
- ],
68715
- "exports": [
68716
- {
68717
- "kind": "js",
68718
- "name": "hostAttributes",
68719
- "declaration": {
68720
- "name": "hostAttributes",
68721
- "module": "core/decorators/host-attributes.js"
68722
- }
68723
- }
68724
- ]
68725
- },
68726
- {
68727
- "kind": "javascript-module",
68728
- "path": "core/decorators/id-reference.js",
68729
- "declarations": [
68730
- {
68731
- "kind": "function",
68732
- "name": "idReference",
68733
- "description": "Accessor decorator that resolves id references dynamically.\nIf a string is passed (e.g. from an attribute), it will be resolved to the element with that id.\nThis decorator observes the connected document fragment for changes to the id attribute\nand child elements and if any id reference is established or removed, it will\nupdate the associated property."
68734
- }
68735
- ],
68736
- "exports": [
68737
- {
68738
- "kind": "js",
68739
- "name": "idReference",
68740
- "declaration": {
68741
- "name": "idReference",
68742
- "module": "core/decorators/id-reference.js"
68743
- }
68744
- }
68745
- ]
68746
- },
68747
- {
68748
- "kind": "javascript-module",
68749
- "path": "core/decorators/omit-empty-converter.js",
68750
- "declarations": [
68751
- {
68752
- "kind": "variable",
68753
- "name": "omitEmptyConverter",
68754
- "type": {
68755
- "text": "ComplexAttributeConverter"
68756
- },
68757
- "default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
68758
- "description": "Converts empty values to null, which will not be rendered as attributes.\ne.g. for string properties, an empty value '' will not be rendered as an\nempty attribute, as would be the default with lit."
68759
- }
68760
- ],
68761
- "exports": [
68762
- {
68763
- "kind": "js",
68764
- "name": "omitEmptyConverter",
68765
- "declaration": {
68766
- "name": "omitEmptyConverter",
68767
- "module": "core/decorators/omit-empty-converter.js"
68768
- }
68769
- }
68770
- ]
68771
- },
68772
- {
68773
- "kind": "javascript-module",
68774
- "path": "core/decorators/plain-date.js",
68775
- "declarations": [
68776
- {
68777
- "kind": "variable",
68778
- "name": "plainDateConverter",
68779
- "type": {
68780
- "text": "ComplexAttributeConverter"
68781
- },
68782
- "default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
68783
- "description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
68784
- },
68785
- {
68786
- "kind": "function",
68787
- "name": "plainDate",
68788
- "parameters": [
68789
- {
68790
- "name": "config",
68791
- "optional": true,
68792
- "type": {
68793
- "text": "SbbPlainDateConfiguration"
68794
- }
68795
- }
68796
- ],
68797
- "description": "Decorator that tries to deserialize the given value to a date object\nand adapts the getter to only return a copy of the internal value,\nin order to avoid outside manipulation of date objects."
68798
- }
68799
- ],
68800
- "exports": [
68801
- {
68802
- "kind": "js",
68803
- "name": "plainDateConverter",
68804
- "declaration": {
68805
- "name": "plainDateConverter",
68806
- "module": "core/decorators/plain-date.js"
68807
- }
68808
- },
68809
- {
68810
- "kind": "js",
68811
- "name": "plainDate",
68812
- "declaration": {
68813
- "name": "plainDate",
68814
- "module": "core/decorators/plain-date.js"
68815
- }
68816
- }
68817
- ]
68818
- },
68819
68596
  {
68820
68597
  "kind": "javascript-module",
68821
68598
  "path": "core/dom/animation.js",
@@ -69254,6 +69031,229 @@
69254
69031
  }
69255
69032
  ]
69256
69033
  },
69034
+ {
69035
+ "kind": "javascript-module",
69036
+ "path": "core/decorators/base.js",
69037
+ "declarations": [],
69038
+ "exports": []
69039
+ },
69040
+ {
69041
+ "kind": "javascript-module",
69042
+ "path": "core/decorators/force-type.js",
69043
+ "declarations": [
69044
+ {
69045
+ "kind": "function",
69046
+ "name": "forceType",
69047
+ "return": {
69048
+ "type": {
69049
+ "text": "PropertyDecorator"
69050
+ }
69051
+ },
69052
+ "parameters": [
69053
+ {
69054
+ "name": "convert",
69055
+ "optional": true,
69056
+ "type": {
69057
+ "text": "(v: unknown) => V"
69058
+ }
69059
+ }
69060
+ ],
69061
+ "description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
69062
+ }
69063
+ ],
69064
+ "exports": [
69065
+ {
69066
+ "kind": "js",
69067
+ "name": "forceType",
69068
+ "declaration": {
69069
+ "name": "forceType",
69070
+ "module": "core/decorators/force-type.js"
69071
+ }
69072
+ }
69073
+ ]
69074
+ },
69075
+ {
69076
+ "kind": "javascript-module",
69077
+ "path": "core/decorators/get-override.js",
69078
+ "declarations": [
69079
+ {
69080
+ "kind": "function",
69081
+ "name": "getOverride",
69082
+ "parameters": [
69083
+ {
69084
+ "name": "callback",
69085
+ "type": {
69086
+ "text": "(instance: C, innerValue: V) => V"
69087
+ }
69088
+ }
69089
+ ],
69090
+ "description": "Decorator that overrides the underlying getter of the accessor."
69091
+ }
69092
+ ],
69093
+ "exports": [
69094
+ {
69095
+ "kind": "js",
69096
+ "name": "getOverride",
69097
+ "declaration": {
69098
+ "name": "getOverride",
69099
+ "module": "core/decorators/get-override.js"
69100
+ }
69101
+ }
69102
+ ]
69103
+ },
69104
+ {
69105
+ "kind": "javascript-module",
69106
+ "path": "core/decorators/handle-distinct-change.js",
69107
+ "declarations": [
69108
+ {
69109
+ "kind": "function",
69110
+ "name": "handleDistinctChange",
69111
+ "parameters": [
69112
+ {
69113
+ "name": "callback",
69114
+ "type": {
69115
+ "text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
69116
+ }
69117
+ }
69118
+ ],
69119
+ "description": "Decorator that calls the given callback when the value\nof the associated property is changed."
69120
+ }
69121
+ ],
69122
+ "exports": [
69123
+ {
69124
+ "kind": "js",
69125
+ "name": "handleDistinctChange",
69126
+ "declaration": {
69127
+ "name": "handleDistinctChange",
69128
+ "module": "core/decorators/handle-distinct-change.js"
69129
+ }
69130
+ }
69131
+ ]
69132
+ },
69133
+ {
69134
+ "kind": "javascript-module",
69135
+ "path": "core/decorators/host-attributes.js",
69136
+ "declarations": [
69137
+ {
69138
+ "kind": "function",
69139
+ "name": "hostAttributes",
69140
+ "parameters": [
69141
+ {
69142
+ "name": "attributes",
69143
+ "type": {
69144
+ "text": "Record<string, string | null>"
69145
+ },
69146
+ "description": "A record of attributes to apply to the element."
69147
+ }
69148
+ ],
69149
+ "description": "Applies the given attributes to the related element.\nIf an empty string is passed as a value, the attribute will be set\nwithout value.",
69150
+ "deprecated": "Will be removed with next major version."
69151
+ }
69152
+ ],
69153
+ "exports": [
69154
+ {
69155
+ "kind": "js",
69156
+ "name": "hostAttributes",
69157
+ "declaration": {
69158
+ "name": "hostAttributes",
69159
+ "module": "core/decorators/host-attributes.js"
69160
+ }
69161
+ }
69162
+ ]
69163
+ },
69164
+ {
69165
+ "kind": "javascript-module",
69166
+ "path": "core/decorators/id-reference.js",
69167
+ "declarations": [
69168
+ {
69169
+ "kind": "function",
69170
+ "name": "idReference",
69171
+ "description": "Accessor decorator that resolves id references dynamically.\nIf a string is passed (e.g. from an attribute), it will be resolved to the element with that id.\nThis decorator observes the connected document fragment for changes to the id attribute\nand child elements and if any id reference is established or removed, it will\nupdate the associated property."
69172
+ }
69173
+ ],
69174
+ "exports": [
69175
+ {
69176
+ "kind": "js",
69177
+ "name": "idReference",
69178
+ "declaration": {
69179
+ "name": "idReference",
69180
+ "module": "core/decorators/id-reference.js"
69181
+ }
69182
+ }
69183
+ ]
69184
+ },
69185
+ {
69186
+ "kind": "javascript-module",
69187
+ "path": "core/decorators/omit-empty-converter.js",
69188
+ "declarations": [
69189
+ {
69190
+ "kind": "variable",
69191
+ "name": "omitEmptyConverter",
69192
+ "type": {
69193
+ "text": "ComplexAttributeConverter"
69194
+ },
69195
+ "default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
69196
+ "description": "Converts empty values to null, which will not be rendered as attributes.\ne.g. for string properties, an empty value '' will not be rendered as an\nempty attribute, as would be the default with lit."
69197
+ }
69198
+ ],
69199
+ "exports": [
69200
+ {
69201
+ "kind": "js",
69202
+ "name": "omitEmptyConverter",
69203
+ "declaration": {
69204
+ "name": "omitEmptyConverter",
69205
+ "module": "core/decorators/omit-empty-converter.js"
69206
+ }
69207
+ }
69208
+ ]
69209
+ },
69210
+ {
69211
+ "kind": "javascript-module",
69212
+ "path": "core/decorators/plain-date.js",
69213
+ "declarations": [
69214
+ {
69215
+ "kind": "variable",
69216
+ "name": "plainDateConverter",
69217
+ "type": {
69218
+ "text": "ComplexAttributeConverter"
69219
+ },
69220
+ "default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
69221
+ "description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
69222
+ },
69223
+ {
69224
+ "kind": "function",
69225
+ "name": "plainDate",
69226
+ "parameters": [
69227
+ {
69228
+ "name": "config",
69229
+ "optional": true,
69230
+ "type": {
69231
+ "text": "SbbPlainDateConfiguration"
69232
+ }
69233
+ }
69234
+ ],
69235
+ "description": "Decorator that tries to deserialize the given value to a date object\nand adapts the getter to only return a copy of the internal value,\nin order to avoid outside manipulation of date objects."
69236
+ }
69237
+ ],
69238
+ "exports": [
69239
+ {
69240
+ "kind": "js",
69241
+ "name": "plainDateConverter",
69242
+ "declaration": {
69243
+ "name": "plainDateConverter",
69244
+ "module": "core/decorators/plain-date.js"
69245
+ }
69246
+ },
69247
+ {
69248
+ "kind": "js",
69249
+ "name": "plainDate",
69250
+ "declaration": {
69251
+ "name": "plainDate",
69252
+ "module": "core/decorators/plain-date.js"
69253
+ }
69254
+ }
69255
+ ]
69256
+ },
69257
69257
  {
69258
69258
  "kind": "javascript-module",
69259
69259
  "path": "core/eventing/composed-path-has-attribute.js",
@@ -77903,6 +77903,26 @@
77903
77903
  }
77904
77904
  ]
77905
77905
  },
77906
+ {
77907
+ "kind": "javascript-module",
77908
+ "path": "core/styles/styles.js",
77909
+ "declarations": [
77910
+ {
77911
+ "kind": "variable",
77912
+ "name": "boxSizingStyles"
77913
+ }
77914
+ ],
77915
+ "exports": [
77916
+ {
77917
+ "kind": "js",
77918
+ "name": "boxSizingStyles",
77919
+ "declaration": {
77920
+ "name": "boxSizingStyles",
77921
+ "module": "core/styles/styles.js"
77922
+ }
77923
+ }
77924
+ ]
77925
+ },
77906
77926
  {
77907
77927
  "kind": "javascript-module",
77908
77928
  "path": "core/testing/event-spy.js",
@@ -78300,26 +78320,6 @@
78300
78320
  }
78301
78321
  ]
78302
78322
  },
78303
- {
78304
- "kind": "javascript-module",
78305
- "path": "core/styles/styles.js",
78306
- "declarations": [
78307
- {
78308
- "kind": "variable",
78309
- "name": "boxSizingStyles"
78310
- }
78311
- ],
78312
- "exports": [
78313
- {
78314
- "kind": "js",
78315
- "name": "boxSizingStyles",
78316
- "declaration": {
78317
- "name": "boxSizingStyles",
78318
- "module": "core/styles/styles.js"
78319
- }
78320
- }
78321
- ]
78322
- },
78323
78323
  {
78324
78324
  "kind": "javascript-module",
78325
78325
  "path": "datepicker/common/datepicker-button.js",
@@ -81204,12 +81204,12 @@
81204
81204
  },
81205
81205
  {
81206
81206
  "kind": "javascript-module",
81207
- "path": "datepicker/datepicker-next-day/datepicker-next-day.component.js",
81207
+ "path": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js",
81208
81208
  "declarations": [
81209
81209
  {
81210
81210
  "kind": "class",
81211
- "description": "Combined with a `sbb-datepicker`, it can be used to move the date ahead.",
81212
- "name": "SbbDatepickerNextDayElement",
81211
+ "description": "Combined with a `sbb-datepicker`, it can be used to move the date back.",
81212
+ "name": "SbbDatepickerPreviousDayElement",
81213
81213
  "members": [
81214
81214
  {
81215
81215
  "kind": "field",
@@ -81224,7 +81224,7 @@
81224
81224
  "name": "SbbElement",
81225
81225
  "module": "core/base-elements/element.js"
81226
81226
  },
81227
- "default": "'sbb-datepicker-next-day'"
81227
+ "default": "'sbb-datepicker-previous-day'"
81228
81228
  },
81229
81229
  {
81230
81230
  "kind": "field",
@@ -81237,7 +81237,7 @@
81237
81237
  "name": "SbbDatepickerButtonBase",
81238
81238
  "module": "datepicker/common/datepicker-button.js"
81239
81239
  },
81240
- "default": "'chevron-small-right-small'"
81240
+ "default": "'chevron-small-left-small'"
81241
81241
  },
81242
81242
  {
81243
81243
  "kind": "field",
@@ -81246,7 +81246,7 @@
81246
81246
  "text": "Record<string, string>"
81247
81247
  },
81248
81248
  "privacy": "protected",
81249
- "default": "i18nNextDay",
81249
+ "default": "i18nPreviousDay",
81250
81250
  "inheritedFrom": {
81251
81251
  "name": "SbbDatepickerButton",
81252
81252
  "module": "datepicker/common/datepicker-button.js"
@@ -81259,7 +81259,7 @@
81259
81259
  "text": "(_currentDate: string) => Record<string, string>"
81260
81260
  },
81261
81261
  "privacy": "protected",
81262
- "default": "i18nSelectNextDay",
81262
+ "default": "i18nSelectPreviousDay",
81263
81263
  "inheritedFrom": {
81264
81264
  "name": "SbbDatepickerButton",
81265
81265
  "module": "datepicker/common/datepicker-button.js"
@@ -81289,7 +81289,7 @@
81289
81289
  },
81290
81290
  {
81291
81291
  "kind": "method",
81292
- "name": "_isAfterMaxDate",
81292
+ "name": "_isBeforeMinDate",
81293
81293
  "privacy": "private",
81294
81294
  "return": {
81295
81295
  "type": {
@@ -82149,7 +82149,7 @@
82149
82149
  "name": "SbbDatepickerButton",
82150
82150
  "module": "datepicker/common/datepicker-button.js"
82151
82151
  },
82152
- "tagName": "sbb-datepicker-next-day",
82152
+ "tagName": "sbb-datepicker-previous-day",
82153
82153
  "customElement": true,
82154
82154
  "classGenerics": "T = Date",
82155
82155
  "attributes": [
@@ -82259,22 +82259,22 @@
82259
82259
  "exports": [
82260
82260
  {
82261
82261
  "kind": "js",
82262
- "name": "SbbDatepickerNextDayElement",
82262
+ "name": "SbbDatepickerPreviousDayElement",
82263
82263
  "declaration": {
82264
- "name": "SbbDatepickerNextDayElement",
82265
- "module": "datepicker/datepicker-next-day/datepicker-next-day.component.js"
82264
+ "name": "SbbDatepickerPreviousDayElement",
82265
+ "module": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js"
82266
82266
  }
82267
82267
  }
82268
82268
  ]
82269
82269
  },
82270
82270
  {
82271
82271
  "kind": "javascript-module",
82272
- "path": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js",
82272
+ "path": "datepicker/datepicker-next-day/datepicker-next-day.component.js",
82273
82273
  "declarations": [
82274
82274
  {
82275
82275
  "kind": "class",
82276
- "description": "Combined with a `sbb-datepicker`, it can be used to move the date back.",
82277
- "name": "SbbDatepickerPreviousDayElement",
82276
+ "description": "Combined with a `sbb-datepicker`, it can be used to move the date ahead.",
82277
+ "name": "SbbDatepickerNextDayElement",
82278
82278
  "members": [
82279
82279
  {
82280
82280
  "kind": "field",
@@ -82289,7 +82289,7 @@
82289
82289
  "name": "SbbElement",
82290
82290
  "module": "core/base-elements/element.js"
82291
82291
  },
82292
- "default": "'sbb-datepicker-previous-day'"
82292
+ "default": "'sbb-datepicker-next-day'"
82293
82293
  },
82294
82294
  {
82295
82295
  "kind": "field",
@@ -82302,7 +82302,7 @@
82302
82302
  "name": "SbbDatepickerButtonBase",
82303
82303
  "module": "datepicker/common/datepicker-button.js"
82304
82304
  },
82305
- "default": "'chevron-small-left-small'"
82305
+ "default": "'chevron-small-right-small'"
82306
82306
  },
82307
82307
  {
82308
82308
  "kind": "field",
@@ -82311,7 +82311,7 @@
82311
82311
  "text": "Record<string, string>"
82312
82312
  },
82313
82313
  "privacy": "protected",
82314
- "default": "i18nPreviousDay",
82314
+ "default": "i18nNextDay",
82315
82315
  "inheritedFrom": {
82316
82316
  "name": "SbbDatepickerButton",
82317
82317
  "module": "datepicker/common/datepicker-button.js"
@@ -82324,7 +82324,7 @@
82324
82324
  "text": "(_currentDate: string) => Record<string, string>"
82325
82325
  },
82326
82326
  "privacy": "protected",
82327
- "default": "i18nSelectPreviousDay",
82327
+ "default": "i18nSelectNextDay",
82328
82328
  "inheritedFrom": {
82329
82329
  "name": "SbbDatepickerButton",
82330
82330
  "module": "datepicker/common/datepicker-button.js"
@@ -82354,7 +82354,7 @@
82354
82354
  },
82355
82355
  {
82356
82356
  "kind": "method",
82357
- "name": "_isBeforeMinDate",
82357
+ "name": "_isAfterMaxDate",
82358
82358
  "privacy": "private",
82359
82359
  "return": {
82360
82360
  "type": {
@@ -83214,7 +83214,7 @@
83214
83214
  "name": "SbbDatepickerButton",
83215
83215
  "module": "datepicker/common/datepicker-button.js"
83216
83216
  },
83217
- "tagName": "sbb-datepicker-previous-day",
83217
+ "tagName": "sbb-datepicker-next-day",
83218
83218
  "customElement": true,
83219
83219
  "classGenerics": "T = Date",
83220
83220
  "attributes": [
@@ -83324,10 +83324,10 @@
83324
83324
  "exports": [
83325
83325
  {
83326
83326
  "kind": "js",
83327
- "name": "SbbDatepickerPreviousDayElement",
83327
+ "name": "SbbDatepickerNextDayElement",
83328
83328
  "declaration": {
83329
- "name": "SbbDatepickerPreviousDayElement",
83330
- "module": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js"
83329
+ "name": "SbbDatepickerNextDayElement",
83330
+ "module": "datepicker/datepicker-next-day/datepicker-next-day.component.js"
83331
83331
  }
83332
83332
  }
83333
83333
  ]
@@ -109957,6 +109957,176 @@
109957
109957
  }
109958
109958
  ]
109959
109959
  },
109960
+ {
109961
+ "kind": "javascript-module",
109962
+ "path": "navigation/common/navigation-action-common.js",
109963
+ "declarations": [
109964
+ {
109965
+ "kind": "class",
109966
+ "description": "",
109967
+ "name": "SbbNavigationActionCommonElementMixinType",
109968
+ "members": [
109969
+ {
109970
+ "kind": "field",
109971
+ "name": "size",
109972
+ "type": {
109973
+ "text": "SbbNavigationActionSize"
109974
+ },
109975
+ "privacy": "public"
109976
+ },
109977
+ {
109978
+ "kind": "field",
109979
+ "name": "marker",
109980
+ "type": {
109981
+ "text": "SbbNavigationMarkerElement | null"
109982
+ },
109983
+ "privacy": "public",
109984
+ "readonly": true
109985
+ },
109986
+ {
109987
+ "kind": "field",
109988
+ "name": "section",
109989
+ "type": {
109990
+ "text": "SbbNavigationSectionElement | null"
109991
+ },
109992
+ "privacy": "public",
109993
+ "readonly": true
109994
+ },
109995
+ {
109996
+ "kind": "field",
109997
+ "name": "connectedSection",
109998
+ "type": {
109999
+ "text": "SbbNavigationSectionElement | undefined"
110000
+ },
110001
+ "privacy": "public"
110002
+ }
110003
+ ]
110004
+ },
110005
+ {
110006
+ "kind": "mixin",
110007
+ "description": "",
110008
+ "name": "SbbNavigationActionCommonElementMixin",
110009
+ "members": [
110010
+ {
110011
+ "kind": "field",
110012
+ "name": "styles",
110013
+ "type": {
110014
+ "text": "CSSResultGroup"
110015
+ },
110016
+ "privacy": "public",
110017
+ "static": true,
110018
+ "default": "[boxSizingStyles, unsafeCSS(style)]"
110019
+ },
110020
+ {
110021
+ "kind": "field",
110022
+ "name": "size",
110023
+ "type": {
110024
+ "text": "SbbNavigationActionSize"
110025
+ },
110026
+ "privacy": "public",
110027
+ "description": "Action size variant, either s, m or l.",
110028
+ "default": "'l' / 's' (lean)",
110029
+ "attribute": "size",
110030
+ "reflects": true
110031
+ },
110032
+ {
110033
+ "kind": "field",
110034
+ "name": "connectedSection",
110035
+ "type": {
110036
+ "text": "SbbNavigationSectionElement | undefined"
110037
+ },
110038
+ "privacy": "public",
110039
+ "description": "The section that is being controlled by the action, if any."
110040
+ },
110041
+ {
110042
+ "kind": "field",
110043
+ "name": "marker",
110044
+ "type": {
110045
+ "text": "SbbNavigationMarkerElement | null"
110046
+ },
110047
+ "privacy": "public",
110048
+ "description": "The navigation marker in which the action is nested.",
110049
+ "readonly": true
110050
+ },
110051
+ {
110052
+ "kind": "field",
110053
+ "name": "section",
110054
+ "type": {
110055
+ "text": "SbbNavigationSectionElement | null"
110056
+ },
110057
+ "privacy": "public",
110058
+ "description": "The section in which the action is nested.",
110059
+ "readonly": true
110060
+ },
110061
+ {
110062
+ "kind": "field",
110063
+ "name": "_navigationMarker",
110064
+ "type": {
110065
+ "text": "SbbNavigationMarkerElement | null"
110066
+ },
110067
+ "privacy": "private",
110068
+ "default": "null"
110069
+ },
110070
+ {
110071
+ "kind": "field",
110072
+ "name": "_navigationSection",
110073
+ "type": {
110074
+ "text": "SbbNavigationSectionElement | null"
110075
+ },
110076
+ "privacy": "private",
110077
+ "default": "null"
110078
+ },
110079
+ {
110080
+ "kind": "method",
110081
+ "name": "renderTemplate",
110082
+ "privacy": "protected",
110083
+ "return": {
110084
+ "type": {
110085
+ "text": "TemplateResult"
110086
+ }
110087
+ }
110088
+ }
110089
+ ],
110090
+ "attributes": [
110091
+ {
110092
+ "name": "size",
110093
+ "type": {
110094
+ "text": "SbbNavigationActionSize"
110095
+ },
110096
+ "description": "Action size variant, either s, m or l.",
110097
+ "default": "'l' / 's' (lean)",
110098
+ "fieldName": "size"
110099
+ }
110100
+ ],
110101
+ "parameters": [
110102
+ {
110103
+ "name": "superClass",
110104
+ "type": {
110105
+ "text": "T"
110106
+ }
110107
+ }
110108
+ ]
110109
+ }
110110
+ ],
110111
+ "exports": [
110112
+ {
110113
+ "kind": "js",
110114
+ "name": "SbbNavigationActionCommonElementMixinType",
110115
+ "declaration": {
110116
+ "name": "SbbNavigationActionCommonElementMixinType",
110117
+ "module": "navigation/common/navigation-action-common.js"
110118
+ }
110119
+ },
110120
+ {
110121
+ "kind": "js",
110122
+ "name": "SbbNavigationActionCommonElementMixin",
110123
+ "declaration": {
110124
+ "name": "SbbNavigationActionCommonElementMixin",
110125
+ "module": "navigation/common/navigation-action-common.js"
110126
+ }
110127
+ }
110128
+ ]
110129
+ },
109960
110130
  {
109961
110131
  "kind": "javascript-module",
109962
110132
  "path": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js",
@@ -110175,176 +110345,6 @@
110175
110345
  }
110176
110346
  ]
110177
110347
  },
110178
- {
110179
- "kind": "javascript-module",
110180
- "path": "navigation/common/navigation-action-common.js",
110181
- "declarations": [
110182
- {
110183
- "kind": "class",
110184
- "description": "",
110185
- "name": "SbbNavigationActionCommonElementMixinType",
110186
- "members": [
110187
- {
110188
- "kind": "field",
110189
- "name": "size",
110190
- "type": {
110191
- "text": "SbbNavigationActionSize"
110192
- },
110193
- "privacy": "public"
110194
- },
110195
- {
110196
- "kind": "field",
110197
- "name": "marker",
110198
- "type": {
110199
- "text": "SbbNavigationMarkerElement | null"
110200
- },
110201
- "privacy": "public",
110202
- "readonly": true
110203
- },
110204
- {
110205
- "kind": "field",
110206
- "name": "section",
110207
- "type": {
110208
- "text": "SbbNavigationSectionElement | null"
110209
- },
110210
- "privacy": "public",
110211
- "readonly": true
110212
- },
110213
- {
110214
- "kind": "field",
110215
- "name": "connectedSection",
110216
- "type": {
110217
- "text": "SbbNavigationSectionElement | undefined"
110218
- },
110219
- "privacy": "public"
110220
- }
110221
- ]
110222
- },
110223
- {
110224
- "kind": "mixin",
110225
- "description": "",
110226
- "name": "SbbNavigationActionCommonElementMixin",
110227
- "members": [
110228
- {
110229
- "kind": "field",
110230
- "name": "styles",
110231
- "type": {
110232
- "text": "CSSResultGroup"
110233
- },
110234
- "privacy": "public",
110235
- "static": true,
110236
- "default": "[boxSizingStyles, unsafeCSS(style)]"
110237
- },
110238
- {
110239
- "kind": "field",
110240
- "name": "size",
110241
- "type": {
110242
- "text": "SbbNavigationActionSize"
110243
- },
110244
- "privacy": "public",
110245
- "description": "Action size variant, either s, m or l.",
110246
- "default": "'l' / 's' (lean)",
110247
- "attribute": "size",
110248
- "reflects": true
110249
- },
110250
- {
110251
- "kind": "field",
110252
- "name": "connectedSection",
110253
- "type": {
110254
- "text": "SbbNavigationSectionElement | undefined"
110255
- },
110256
- "privacy": "public",
110257
- "description": "The section that is being controlled by the action, if any."
110258
- },
110259
- {
110260
- "kind": "field",
110261
- "name": "marker",
110262
- "type": {
110263
- "text": "SbbNavigationMarkerElement | null"
110264
- },
110265
- "privacy": "public",
110266
- "description": "The navigation marker in which the action is nested.",
110267
- "readonly": true
110268
- },
110269
- {
110270
- "kind": "field",
110271
- "name": "section",
110272
- "type": {
110273
- "text": "SbbNavigationSectionElement | null"
110274
- },
110275
- "privacy": "public",
110276
- "description": "The section in which the action is nested.",
110277
- "readonly": true
110278
- },
110279
- {
110280
- "kind": "field",
110281
- "name": "_navigationMarker",
110282
- "type": {
110283
- "text": "SbbNavigationMarkerElement | null"
110284
- },
110285
- "privacy": "private",
110286
- "default": "null"
110287
- },
110288
- {
110289
- "kind": "field",
110290
- "name": "_navigationSection",
110291
- "type": {
110292
- "text": "SbbNavigationSectionElement | null"
110293
- },
110294
- "privacy": "private",
110295
- "default": "null"
110296
- },
110297
- {
110298
- "kind": "method",
110299
- "name": "renderTemplate",
110300
- "privacy": "protected",
110301
- "return": {
110302
- "type": {
110303
- "text": "TemplateResult"
110304
- }
110305
- }
110306
- }
110307
- ],
110308
- "attributes": [
110309
- {
110310
- "name": "size",
110311
- "type": {
110312
- "text": "SbbNavigationActionSize"
110313
- },
110314
- "description": "Action size variant, either s, m or l.",
110315
- "default": "'l' / 's' (lean)",
110316
- "fieldName": "size"
110317
- }
110318
- ],
110319
- "parameters": [
110320
- {
110321
- "name": "superClass",
110322
- "type": {
110323
- "text": "T"
110324
- }
110325
- }
110326
- ]
110327
- }
110328
- ],
110329
- "exports": [
110330
- {
110331
- "kind": "js",
110332
- "name": "SbbNavigationActionCommonElementMixinType",
110333
- "declaration": {
110334
- "name": "SbbNavigationActionCommonElementMixinType",
110335
- "module": "navigation/common/navigation-action-common.js"
110336
- }
110337
- },
110338
- {
110339
- "kind": "js",
110340
- "name": "SbbNavigationActionCommonElementMixin",
110341
- "declaration": {
110342
- "name": "SbbNavigationActionCommonElementMixin",
110343
- "module": "navigation/common/navigation-action-common.js"
110344
- }
110345
- }
110346
- ]
110347
- },
110348
110348
  {
110349
110349
  "kind": "javascript-module",
110350
110350
  "path": "navigation/navigation/navigation.component.js",
@@ -132872,155 +132872,6 @@
132872
132872
  }
132873
132873
  ]
132874
132874
  },
132875
- {
132876
- "kind": "javascript-module",
132877
- "path": "train/train-blocked-passage/train-blocked-passage.component.js",
132878
- "declarations": [
132879
- {
132880
- "kind": "class",
132881
- "description": "It visually displays a blocked passage between train wagons.",
132882
- "name": "SbbTrainBlockedPassageElement",
132883
- "members": [
132884
- {
132885
- "kind": "field",
132886
- "name": "elementName",
132887
- "type": {
132888
- "text": "string"
132889
- },
132890
- "privacy": "public",
132891
- "static": true,
132892
- "readonly": true,
132893
- "default": "'sbb-train-blocked-passage'",
132894
- "inheritedFrom": {
132895
- "name": "SbbElement",
132896
- "module": "core/base-elements/element.js"
132897
- }
132898
- },
132899
- {
132900
- "kind": "field",
132901
- "name": "_hydrationRequired",
132902
- "type": {
132903
- "text": "boolean"
132904
- },
132905
- "privacy": "private",
132906
- "default": "!!this.shadowRoot",
132907
- "inheritedFrom": {
132908
- "name": "SbbElement",
132909
- "module": "core/base-elements/element.js"
132910
- }
132911
- },
132912
- {
132913
- "kind": "field",
132914
- "name": "_hydrationComplete",
132915
- "privacy": "private",
132916
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
132917
- "inheritedFrom": {
132918
- "name": "SbbElement",
132919
- "module": "core/base-elements/element.js"
132920
- }
132921
- },
132922
- {
132923
- "kind": "field",
132924
- "name": "_resolveHydration",
132925
- "type": {
132926
- "text": "(hydrationRequired: boolean) => void"
132927
- },
132928
- "privacy": "private",
132929
- "inheritedFrom": {
132930
- "name": "SbbElement",
132931
- "module": "core/base-elements/element.js"
132932
- }
132933
- },
132934
- {
132935
- "kind": "field",
132936
- "name": "hydrationRequired",
132937
- "type": {
132938
- "text": "boolean"
132939
- },
132940
- "privacy": "protected",
132941
- "description": "Returns whether hydration is required and not completed.",
132942
- "readonly": true,
132943
- "inheritedFrom": {
132944
- "name": "SbbElement",
132945
- "module": "core/base-elements/element.js"
132946
- },
132947
- "default": "!!this.shadowRoot"
132948
- },
132949
- {
132950
- "kind": "method",
132951
- "name": "toggleState",
132952
- "privacy": "protected",
132953
- "return": {
132954
- "type": {
132955
- "text": "void"
132956
- }
132957
- },
132958
- "parameters": [
132959
- {
132960
- "name": "value",
132961
- "type": {
132962
- "text": "string"
132963
- }
132964
- },
132965
- {
132966
- "name": "force",
132967
- "optional": true,
132968
- "type": {
132969
- "text": "boolean"
132970
- }
132971
- }
132972
- ],
132973
- "inheritedFrom": {
132974
- "name": "SbbElement",
132975
- "module": "core/base-elements/element.js"
132976
- }
132977
- },
132978
- {
132979
- "kind": "field",
132980
- "name": "['_$sbbElement$']",
132981
- "type": {
132982
- "text": "boolean"
132983
- },
132984
- "privacy": "public",
132985
- "static": true,
132986
- "default": "true",
132987
- "inheritedFrom": {
132988
- "name": "SbbElement",
132989
- "module": "core/base-elements/element.js"
132990
- }
132991
- },
132992
- {
132993
- "kind": "field",
132994
- "name": "_controllers",
132995
- "type": {
132996
- "text": "Set<SbbReactiveController> | undefined"
132997
- },
132998
- "privacy": "private",
132999
- "inheritedFrom": {
133000
- "name": "SbbElement",
133001
- "module": "core/base-elements/element.js"
133002
- }
133003
- }
133004
- ],
133005
- "superclass": {
133006
- "name": "SbbElement",
133007
- "module": "core/base-elements.js"
133008
- },
133009
- "tagName": "sbb-train-blocked-passage",
133010
- "customElement": true
133011
- }
133012
- ],
133013
- "exports": [
133014
- {
133015
- "kind": "js",
133016
- "name": "SbbTrainBlockedPassageElement",
133017
- "declaration": {
133018
- "name": "SbbTrainBlockedPassageElement",
133019
- "module": "train/train-blocked-passage/train-blocked-passage.component.js"
133020
- }
133021
- }
133022
- ]
133023
- },
133024
132875
  {
133025
132876
  "kind": "javascript-module",
133026
132877
  "path": "train/train-formation/train-formation.component.js",
@@ -133353,6 +133204,155 @@
133353
133204
  }
133354
133205
  ]
133355
133206
  },
133207
+ {
133208
+ "kind": "javascript-module",
133209
+ "path": "train/train-blocked-passage/train-blocked-passage.component.js",
133210
+ "declarations": [
133211
+ {
133212
+ "kind": "class",
133213
+ "description": "It visually displays a blocked passage between train wagons.",
133214
+ "name": "SbbTrainBlockedPassageElement",
133215
+ "members": [
133216
+ {
133217
+ "kind": "field",
133218
+ "name": "elementName",
133219
+ "type": {
133220
+ "text": "string"
133221
+ },
133222
+ "privacy": "public",
133223
+ "static": true,
133224
+ "readonly": true,
133225
+ "default": "'sbb-train-blocked-passage'",
133226
+ "inheritedFrom": {
133227
+ "name": "SbbElement",
133228
+ "module": "core/base-elements/element.js"
133229
+ }
133230
+ },
133231
+ {
133232
+ "kind": "field",
133233
+ "name": "_hydrationRequired",
133234
+ "type": {
133235
+ "text": "boolean"
133236
+ },
133237
+ "privacy": "private",
133238
+ "default": "!!this.shadowRoot",
133239
+ "inheritedFrom": {
133240
+ "name": "SbbElement",
133241
+ "module": "core/base-elements/element.js"
133242
+ }
133243
+ },
133244
+ {
133245
+ "kind": "field",
133246
+ "name": "_hydrationComplete",
133247
+ "privacy": "private",
133248
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
133249
+ "inheritedFrom": {
133250
+ "name": "SbbElement",
133251
+ "module": "core/base-elements/element.js"
133252
+ }
133253
+ },
133254
+ {
133255
+ "kind": "field",
133256
+ "name": "_resolveHydration",
133257
+ "type": {
133258
+ "text": "(hydrationRequired: boolean) => void"
133259
+ },
133260
+ "privacy": "private",
133261
+ "inheritedFrom": {
133262
+ "name": "SbbElement",
133263
+ "module": "core/base-elements/element.js"
133264
+ }
133265
+ },
133266
+ {
133267
+ "kind": "field",
133268
+ "name": "hydrationRequired",
133269
+ "type": {
133270
+ "text": "boolean"
133271
+ },
133272
+ "privacy": "protected",
133273
+ "description": "Returns whether hydration is required and not completed.",
133274
+ "readonly": true,
133275
+ "inheritedFrom": {
133276
+ "name": "SbbElement",
133277
+ "module": "core/base-elements/element.js"
133278
+ },
133279
+ "default": "!!this.shadowRoot"
133280
+ },
133281
+ {
133282
+ "kind": "method",
133283
+ "name": "toggleState",
133284
+ "privacy": "protected",
133285
+ "return": {
133286
+ "type": {
133287
+ "text": "void"
133288
+ }
133289
+ },
133290
+ "parameters": [
133291
+ {
133292
+ "name": "value",
133293
+ "type": {
133294
+ "text": "string"
133295
+ }
133296
+ },
133297
+ {
133298
+ "name": "force",
133299
+ "optional": true,
133300
+ "type": {
133301
+ "text": "boolean"
133302
+ }
133303
+ }
133304
+ ],
133305
+ "inheritedFrom": {
133306
+ "name": "SbbElement",
133307
+ "module": "core/base-elements/element.js"
133308
+ }
133309
+ },
133310
+ {
133311
+ "kind": "field",
133312
+ "name": "['_$sbbElement$']",
133313
+ "type": {
133314
+ "text": "boolean"
133315
+ },
133316
+ "privacy": "public",
133317
+ "static": true,
133318
+ "default": "true",
133319
+ "inheritedFrom": {
133320
+ "name": "SbbElement",
133321
+ "module": "core/base-elements/element.js"
133322
+ }
133323
+ },
133324
+ {
133325
+ "kind": "field",
133326
+ "name": "_controllers",
133327
+ "type": {
133328
+ "text": "Set<SbbReactiveController> | undefined"
133329
+ },
133330
+ "privacy": "private",
133331
+ "inheritedFrom": {
133332
+ "name": "SbbElement",
133333
+ "module": "core/base-elements/element.js"
133334
+ }
133335
+ }
133336
+ ],
133337
+ "superclass": {
133338
+ "name": "SbbElement",
133339
+ "module": "core/base-elements.js"
133340
+ },
133341
+ "tagName": "sbb-train-blocked-passage",
133342
+ "customElement": true
133343
+ }
133344
+ ],
133345
+ "exports": [
133346
+ {
133347
+ "kind": "js",
133348
+ "name": "SbbTrainBlockedPassageElement",
133349
+ "declaration": {
133350
+ "name": "SbbTrainBlockedPassageElement",
133351
+ "module": "train/train-blocked-passage/train-blocked-passage.component.js"
133352
+ }
133353
+ }
133354
+ ]
133355
+ },
133356
133356
  {
133357
133357
  "kind": "javascript-module",
133358
133358
  "path": "train/train-wagon/train-wagon.component.js",