@sbb-esta/lyne-elements 4.13.1 → 4.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/custom-elements.json +978 -978
  2. package/package.json +1 -1
@@ -37131,12 +37131,12 @@
37131
37131
  },
37132
37132
  {
37133
37133
  "kind": "javascript-module",
37134
- "path": "button/accent-button/accent-button.component.js",
37134
+ "path": "button/accent-button-link/accent-button-link.component.js",
37135
37135
  "declarations": [
37136
37136
  {
37137
37137
  "kind": "class",
37138
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37139
- "name": "SbbAccentButtonElement",
37138
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
37139
+ "name": "SbbAccentButtonLinkElement",
37140
37140
  "cssProperties": [
37141
37141
  {
37142
37142
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -37146,7 +37146,7 @@
37146
37146
  ],
37147
37147
  "slots": [
37148
37148
  {
37149
- "description": "Use the unnamed slot to add content to the accent-button.",
37149
+ "description": "Use the unnamed slot to add content to the accent-button-link.",
37150
37150
  "name": ""
37151
37151
  },
37152
37152
  {
@@ -37164,7 +37164,7 @@
37164
37164
  "privacy": "public",
37165
37165
  "static": true,
37166
37166
  "readonly": true,
37167
- "default": "'sbb-accent-button'",
37167
+ "default": "'sbb-accent-button-link'",
37168
37168
  "inheritedFrom": {
37169
37169
  "name": "SbbElement",
37170
37170
  "module": "core/base-elements/element.js"
@@ -37361,479 +37361,151 @@
37361
37361
  },
37362
37362
  {
37363
37363
  "kind": "field",
37364
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
37365
- "type": {
37366
- "text": "array"
37367
- },
37368
- "privacy": "private",
37369
- "readonly": true,
37370
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
37371
- "inheritedFrom": {
37372
- "name": "SbbButtonBaseElement",
37373
- "module": "core/base-elements/button-base-element.js"
37374
- }
37375
- },
37376
- {
37377
- "kind": "field",
37378
- "name": "value",
37364
+ "name": "href",
37379
37365
  "type": {
37380
37366
  "text": "string"
37381
37367
  },
37382
37368
  "privacy": "public",
37383
37369
  "default": "''",
37384
- "description": "Value of the form element.",
37385
- "attribute": "value",
37386
- "inheritedFrom": {
37387
- "name": "SbbButtonBaseElement",
37388
- "module": "core/base-elements/button-base-element.js"
37389
- }
37390
- },
37391
- {
37392
- "kind": "field",
37393
- "name": "type",
37394
- "privacy": "public",
37395
- "description": "The type attribute to use for the button.",
37396
- "default": "'button'",
37397
- "type": {
37398
- "text": "SbbButtonType"
37399
- },
37400
- "attribute": "type",
37370
+ "description": "The href value you want to link to.",
37371
+ "attribute": "href",
37372
+ "reflects": true,
37401
37373
  "inheritedFrom": {
37402
- "name": "SbbButtonBaseElement",
37403
- "module": "core/base-elements/button-base-element.js"
37374
+ "name": "SbbLinkBaseElement",
37375
+ "module": "core/base-elements/link-base-element.js"
37404
37376
  }
37405
37377
  },
37406
37378
  {
37407
37379
  "kind": "field",
37408
- "name": "form",
37380
+ "name": "target",
37409
37381
  "type": {
37410
- "text": "HTMLFormElement | null"
37382
+ "text": "LinkTargetType | string"
37411
37383
  },
37412
37384
  "privacy": "public",
37413
- "description": "The `<form>` element to associate the button with.",
37414
- "attribute": "form",
37385
+ "default": "''",
37386
+ "description": "Where to display the linked URL.",
37387
+ "attribute": "target",
37388
+ "reflects": true,
37415
37389
  "inheritedFrom": {
37416
- "name": "SbbButtonBaseElement",
37417
- "module": "core/base-elements/button-base-element.js"
37390
+ "name": "SbbLinkBaseElement",
37391
+ "module": "core/base-elements/link-base-element.js"
37418
37392
  }
37419
37393
  },
37420
37394
  {
37421
37395
  "kind": "field",
37422
- "name": "_formId",
37396
+ "name": "rel",
37423
37397
  "type": {
37424
37398
  "text": "string"
37425
37399
  },
37426
- "privacy": "private",
37400
+ "privacy": "public",
37427
37401
  "default": "''",
37402
+ "description": "The relationship of the linked URL as space-separated link types.",
37403
+ "attribute": "rel",
37404
+ "reflects": true,
37428
37405
  "inheritedFrom": {
37429
- "name": "SbbButtonBaseElement",
37430
- "module": "core/base-elements/button-base-element.js"
37431
- }
37432
- },
37433
- {
37434
- "kind": "field",
37435
- "name": "_handleButtonClick",
37436
- "privacy": "private",
37437
- "inheritedFrom": {
37438
- "name": "SbbButtonBaseElement",
37439
- "module": "core/base-elements/button-base-element.js"
37440
- }
37441
- },
37442
- {
37443
- "kind": "method",
37444
- "name": "_requestSubmit",
37445
- "privacy": "private",
37446
- "return": {
37447
- "type": {
37448
- "text": "void"
37449
- }
37450
- },
37451
- "parameters": [
37452
- {
37453
- "name": "form",
37454
- "type": {
37455
- "text": "HTMLFormElement"
37456
- }
37457
- }
37458
- ],
37459
- "inheritedFrom": {
37460
- "name": "SbbButtonBaseElement",
37461
- "module": "core/base-elements/button-base-element.js"
37462
- }
37463
- },
37464
- {
37465
- "kind": "field",
37466
- "name": "_formKeyDown",
37467
- "privacy": "private",
37468
- "inheritedFrom": {
37469
- "name": "SbbButtonBaseElement",
37470
- "module": "core/base-elements/button-base-element.js"
37406
+ "name": "SbbLinkBaseElement",
37407
+ "module": "core/base-elements/link-base-element.js"
37471
37408
  }
37472
37409
  },
37473
37410
  {
37474
37411
  "kind": "field",
37475
- "name": "formAssociated",
37412
+ "name": "download",
37476
37413
  "type": {
37477
37414
  "text": "boolean"
37478
37415
  },
37479
37416
  "privacy": "public",
37480
- "static": true,
37481
- "default": "true",
37417
+ "default": "false",
37418
+ "description": "Whether the browser will show the download dialog on click.",
37419
+ "attribute": "download",
37420
+ "reflects": true,
37482
37421
  "inheritedFrom": {
37483
- "name": "SbbFormAssociatedMixin",
37484
- "module": "core/mixins/form-associated-mixin.js"
37422
+ "name": "SbbLinkBaseElement",
37423
+ "module": "core/base-elements/link-base-element.js"
37485
37424
  }
37486
37425
  },
37487
37426
  {
37488
37427
  "kind": "field",
37489
- "name": "name",
37490
- "privacy": "public",
37491
- "description": "Name of the form element. Will be read from name attribute.",
37428
+ "name": "accessibilityLabel",
37492
37429
  "type": {
37493
37430
  "text": "string"
37494
37431
  },
37495
- "attribute": "name",
37496
- "inheritedFrom": {
37497
- "name": "SbbFormAssociatedMixin",
37498
- "module": "core/mixins/form-associated-mixin.js"
37499
- }
37500
- },
37501
- {
37502
- "kind": "field",
37503
- "name": "validity",
37504
- "type": {
37505
- "text": "ValidityState"
37506
- },
37507
37432
  "privacy": "public",
37508
- "description": "Returns the ValidityState object for this element.",
37509
- "readonly": true,
37433
+ "default": "''",
37434
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
37435
+ "attribute": "accessibility-label",
37510
37436
  "inheritedFrom": {
37511
- "name": "SbbFormAssociatedMixin",
37512
- "module": "core/mixins/form-associated-mixin.js"
37437
+ "name": "SbbLinkBaseElement",
37438
+ "module": "core/base-elements/link-base-element.js"
37513
37439
  }
37514
37440
  },
37515
37441
  {
37516
37442
  "kind": "field",
37517
- "name": "validationMessage",
37443
+ "name": "accessibilityCurrent",
37518
37444
  "type": {
37519
37445
  "text": "string"
37520
37446
  },
37521
37447
  "privacy": "public",
37522
- "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
37523
- "readonly": true,
37524
- "inheritedFrom": {
37525
- "name": "SbbFormAssociatedMixin",
37526
- "module": "core/mixins/form-associated-mixin.js"
37527
- }
37528
- },
37529
- {
37530
- "kind": "field",
37531
- "name": "willValidate",
37532
- "type": {
37533
- "text": "boolean"
37534
- },
37535
- "privacy": "public",
37536
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
37537
- "readonly": true,
37448
+ "default": "''",
37449
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
37450
+ "attribute": "accessibility-current",
37538
37451
  "inheritedFrom": {
37539
- "name": "SbbFormAssociatedMixin",
37540
- "module": "core/mixins/form-associated-mixin.js"
37452
+ "name": "SbbLinkBaseElement",
37453
+ "module": "core/base-elements/link-base-element.js"
37541
37454
  }
37542
37455
  },
37543
37456
  {
37544
37457
  "kind": "field",
37545
- "name": "_validityStates",
37546
- "privacy": "private",
37547
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
37458
+ "name": "language",
37459
+ "privacy": "protected",
37460
+ "default": "new SbbLanguageController(this)",
37548
37461
  "inheritedFrom": {
37549
- "name": "SbbFormAssociatedMixin",
37550
- "module": "core/mixins/form-associated-mixin.js"
37462
+ "name": "SbbLinkBaseElement",
37463
+ "module": "core/base-elements/link-base-element.js"
37551
37464
  }
37552
37465
  },
37553
37466
  {
37554
37467
  "kind": "field",
37555
- "name": "formDisabled",
37468
+ "name": "anchorRole",
37556
37469
  "type": {
37557
- "text": "boolean"
37470
+ "text": "string | null"
37558
37471
  },
37559
37472
  "privacy": "protected",
37560
- "default": "false",
37561
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
37562
- "inheritedFrom": {
37563
- "name": "SbbFormAssociatedMixin",
37564
- "module": "core/mixins/form-associated-mixin.js"
37565
- }
37566
- },
37567
- {
37568
- "kind": "method",
37569
- "name": "checkValidity",
37570
- "privacy": "public",
37571
- "return": {
37572
- "type": {
37573
- "text": "boolean"
37574
- }
37575
- },
37576
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
37577
- "inheritedFrom": {
37578
- "name": "SbbFormAssociatedMixin",
37579
- "module": "core/mixins/form-associated-mixin.js"
37580
- }
37581
- },
37582
- {
37583
- "kind": "method",
37584
- "name": "reportValidity",
37585
- "privacy": "public",
37586
- "return": {
37587
- "type": {
37588
- "text": "boolean"
37589
- }
37590
- },
37591
- "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
37592
- "inheritedFrom": {
37593
- "name": "SbbFormAssociatedMixin",
37594
- "module": "core/mixins/form-associated-mixin.js"
37595
- }
37596
- },
37597
- {
37598
- "kind": "method",
37599
- "name": "setCustomValidity",
37600
- "privacy": "public",
37601
- "return": {
37602
- "type": {
37603
- "text": "void"
37604
- }
37605
- },
37606
- "parameters": [
37607
- {
37608
- "name": "message",
37609
- "type": {
37610
- "text": "string"
37611
- }
37612
- }
37613
- ],
37614
- "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
37473
+ "readonly": true,
37474
+ "default": "null",
37615
37475
  "inheritedFrom": {
37616
- "name": "SbbFormAssociatedMixin",
37617
- "module": "core/mixins/form-associated-mixin.js"
37476
+ "name": "SbbLinkBaseElement",
37477
+ "module": "core/base-elements/link-base-element.js"
37618
37478
  }
37619
37479
  },
37620
37480
  {
37621
- "kind": "method",
37622
- "name": "_hasDisabledAncestor",
37481
+ "kind": "field",
37482
+ "name": "_evaluateRelAttribute",
37623
37483
  "privacy": "private",
37624
- "return": {
37625
- "type": {
37626
- "text": "boolean"
37627
- }
37628
- },
37629
- "inheritedFrom": {
37630
- "name": "SbbFormAssociatedMixin",
37631
- "module": "core/mixins/form-associated-mixin.js"
37632
- }
37633
- },
37634
- {
37635
- "kind": "method",
37636
- "name": "updateFormValue",
37637
- "privacy": "protected",
37638
- "return": {
37639
- "type": {
37640
- "text": "void"
37641
- }
37642
- },
37643
- "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
37644
- "inheritedFrom": {
37645
- "name": "SbbFormAssociatedMixin",
37646
- "module": "core/mixins/form-associated-mixin.js"
37647
- }
37648
- },
37649
- {
37650
- "kind": "method",
37651
- "name": "formState",
37652
- "privacy": "protected",
37653
- "return": {
37654
- "type": {
37655
- "text": "FormRestoreState"
37656
- }
37657
- },
37658
- "inheritedFrom": {
37659
- "name": "SbbFormAssociatedMixin",
37660
- "module": "core/mixins/form-associated-mixin.js"
37661
- }
37662
- },
37663
- {
37664
- "kind": "method",
37665
- "name": "setValidityFlag",
37666
- "privacy": "protected",
37667
- "return": {
37668
- "type": {
37669
- "text": "void"
37670
- }
37671
- },
37672
- "parameters": [
37673
- {
37674
- "name": "flag",
37675
- "type": {
37676
- "text": "T"
37677
- }
37678
- },
37679
- {
37680
- "name": "message",
37681
- "type": {
37682
- "text": "string"
37683
- }
37684
- },
37685
- {
37686
- "name": "flagValue",
37687
- "optional": true,
37688
- "type": {
37689
- "text": "ValidityStateFlags[T]"
37690
- }
37691
- }
37692
- ],
37693
- "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
37694
- "inheritedFrom": {
37695
- "name": "SbbFormAssociatedMixin",
37696
- "module": "core/mixins/form-associated-mixin.js"
37697
- }
37698
- },
37699
- {
37700
- "kind": "method",
37701
- "name": "removeValidityFlag",
37702
- "privacy": "protected",
37703
- "return": {
37704
- "type": {
37705
- "text": "void"
37706
- }
37707
- },
37708
- "parameters": [
37709
- {
37710
- "name": "flag",
37711
- "type": {
37712
- "text": "T"
37713
- }
37714
- }
37715
- ],
37716
- "description": "Removes the validity state flag entry and updates validity state.",
37717
- "inheritedFrom": {
37718
- "name": "SbbFormAssociatedMixin",
37719
- "module": "core/mixins/form-associated-mixin.js"
37720
- }
37721
- },
37722
- {
37723
- "kind": "method",
37724
- "name": "validate",
37725
- "privacy": "protected",
37726
- "return": {
37727
- "type": {
37728
- "text": "void"
37729
- }
37730
- },
37731
- "description": "To be called whenever the current element needs to be validated.",
37732
37484
  "inheritedFrom": {
37733
- "name": "SbbFormAssociatedMixin",
37734
- "module": "core/mixins/form-associated-mixin.js"
37485
+ "name": "SbbLinkBaseElement",
37486
+ "module": "core/base-elements/link-base-element.js"
37735
37487
  }
37736
37488
  },
37737
37489
  {
37738
37490
  "kind": "method",
37739
- "name": "shouldValidate",
37491
+ "name": "renderLink",
37740
37492
  "privacy": "protected",
37741
37493
  "return": {
37742
37494
  "type": {
37743
- "text": "boolean"
37495
+ "text": "TemplateResult"
37744
37496
  }
37745
37497
  },
37746
37498
  "parameters": [
37747
37499
  {
37748
- "name": "name",
37500
+ "name": "renderContent",
37749
37501
  "type": {
37750
- "text": "PropertyKey | undefined"
37502
+ "text": "TemplateResult"
37751
37503
  }
37752
37504
  }
37753
37505
  ],
37754
- "description": "Whether validation should be run on a property change with the given name.",
37755
37506
  "inheritedFrom": {
37756
- "name": "SbbFormAssociatedMixin",
37757
- "module": "core/mixins/form-associated-mixin.js"
37758
- }
37759
- },
37760
- {
37761
- "kind": "method",
37762
- "name": "_setInternalValidity",
37763
- "privacy": "private",
37764
- "return": {
37765
- "type": {
37766
- "text": "void"
37767
- }
37768
- },
37769
- "inheritedFrom": {
37770
- "name": "SbbFormAssociatedMixin",
37771
- "module": "core/mixins/form-associated-mixin.js"
37772
- }
37773
- },
37774
- {
37775
- "kind": "field",
37776
- "name": "role",
37777
- "type": {
37778
- "text": "ElementInternals['role']"
37779
- },
37780
- "privacy": "public",
37781
- "static": true,
37782
- "readonly": true,
37783
- "default": "'button'",
37784
- "inheritedFrom": {
37785
- "name": "SbbButtonLikeBaseElement",
37786
- "module": "core/base-elements/button-base-element.js"
37787
- }
37788
- },
37789
- {
37790
- "kind": "field",
37791
- "name": "_preventScrollOnSpaceKeydown",
37792
- "privacy": "private",
37793
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
37794
- "parameters": [
37795
- {
37796
- "description": "The origin event.",
37797
- "name": "event"
37798
- }
37799
- ],
37800
- "inheritedFrom": {
37801
- "name": "SbbButtonLikeBaseElement",
37802
- "module": "core/base-elements/button-base-element.js"
37803
- }
37804
- },
37805
- {
37806
- "kind": "field",
37807
- "name": "_removeActiveMarker",
37808
- "privacy": "private",
37809
- "inheritedFrom": {
37810
- "name": "SbbButtonLikeBaseElement",
37811
- "module": "core/base-elements/button-base-element.js"
37812
- }
37813
- },
37814
- {
37815
- "kind": "field",
37816
- "name": "_dispatchClickEventOnSpaceKeyup",
37817
- "privacy": "private",
37818
- "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
37819
- "parameters": [
37820
- {
37821
- "description": "The origin event.",
37822
- "name": "event"
37823
- }
37824
- ],
37825
- "inheritedFrom": {
37826
- "name": "SbbButtonLikeBaseElement",
37827
- "module": "core/base-elements/button-base-element.js"
37828
- }
37829
- },
37830
- {
37831
- "kind": "field",
37832
- "name": "_dispatchClickEvent",
37833
- "privacy": "private",
37834
- "inheritedFrom": {
37835
- "name": "SbbButtonLikeBaseElement",
37836
- "module": "core/base-elements/button-base-element.js"
37507
+ "name": "SbbLinkBaseElement",
37508
+ "module": "core/base-elements/link-base-element.js"
37837
37509
  }
37838
37510
  },
37839
37511
  {
@@ -37988,15 +37660,19 @@
37988
37660
  "module": "button/common/button-common.js"
37989
37661
  },
37990
37662
  {
37991
- "name": "SbbDisabledTabIndexActionMixin",
37663
+ "name": "SbbDisabledInteractiveMixin",
37664
+ "module": "core/mixins.js"
37665
+ },
37666
+ {
37667
+ "name": "SbbDisabledMixin",
37992
37668
  "module": "core/mixins.js"
37993
37669
  }
37994
37670
  ],
37995
37671
  "superclass": {
37996
- "name": "SbbButtonBaseElement",
37672
+ "name": "SbbLinkBaseElement",
37997
37673
  "module": "core/base-elements.js"
37998
37674
  },
37999
- "tagName": "sbb-accent-button",
37675
+ "tagName": "sbb-accent-button-link",
38000
37676
  "customElement": true,
38001
37677
  "attributes": [
38002
37678
  {
@@ -38078,53 +37754,81 @@
38078
37754
  }
38079
37755
  },
38080
37756
  {
38081
- "name": "value",
37757
+ "name": "href",
38082
37758
  "type": {
38083
37759
  "text": "string"
38084
37760
  },
38085
37761
  "default": "''",
38086
- "description": "Value of the form element.",
38087
- "fieldName": "value",
37762
+ "description": "The href value you want to link to.",
37763
+ "fieldName": "href",
38088
37764
  "inheritedFrom": {
38089
- "name": "SbbButtonBaseElement",
38090
- "module": "core/base-elements/button-base-element.js"
37765
+ "name": "SbbLinkBaseElement",
37766
+ "module": "core/base-elements/link-base-element.js"
38091
37767
  }
38092
37768
  },
38093
37769
  {
38094
- "name": "type",
38095
- "description": "The type attribute to use for the button.",
38096
- "default": "'button'",
37770
+ "name": "target",
38097
37771
  "type": {
38098
- "text": "SbbButtonType"
37772
+ "text": "LinkTargetType | string"
38099
37773
  },
38100
- "fieldName": "type",
37774
+ "default": "''",
37775
+ "description": "Where to display the linked URL.",
37776
+ "fieldName": "target",
38101
37777
  "inheritedFrom": {
38102
- "name": "SbbButtonBaseElement",
38103
- "module": "core/base-elements/button-base-element.js"
37778
+ "name": "SbbLinkBaseElement",
37779
+ "module": "core/base-elements/link-base-element.js"
38104
37780
  }
38105
37781
  },
38106
37782
  {
38107
- "name": "form",
38108
- "description": "The `<form>` element to associate the button with.",
37783
+ "name": "rel",
38109
37784
  "type": {
38110
- "text": "HTMLFormElement | null"
37785
+ "text": "string"
38111
37786
  },
38112
- "fieldName": "form",
37787
+ "default": "''",
37788
+ "description": "The relationship of the linked URL as space-separated link types.",
37789
+ "fieldName": "rel",
38113
37790
  "inheritedFrom": {
38114
- "name": "SbbButtonBaseElement",
38115
- "module": "core/base-elements/button-base-element.js"
37791
+ "name": "SbbLinkBaseElement",
37792
+ "module": "core/base-elements/link-base-element.js"
38116
37793
  }
38117
37794
  },
38118
37795
  {
38119
- "name": "name",
38120
- "description": "Name of the form element. Will be read from name attribute.",
37796
+ "name": "download",
37797
+ "type": {
37798
+ "text": "boolean"
37799
+ },
37800
+ "default": "false",
37801
+ "description": "Whether the browser will show the download dialog on click.",
37802
+ "fieldName": "download",
37803
+ "inheritedFrom": {
37804
+ "name": "SbbLinkBaseElement",
37805
+ "module": "core/base-elements/link-base-element.js"
37806
+ }
37807
+ },
37808
+ {
37809
+ "name": "accessibility-label",
38121
37810
  "type": {
38122
37811
  "text": "string"
38123
37812
  },
38124
- "fieldName": "name",
37813
+ "default": "''",
37814
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
37815
+ "fieldName": "accessibilityLabel",
38125
37816
  "inheritedFrom": {
38126
- "name": "SbbFormAssociatedMixin",
38127
- "module": "core/mixins/form-associated-mixin.js"
37817
+ "name": "SbbLinkBaseElement",
37818
+ "module": "core/base-elements/link-base-element.js"
37819
+ }
37820
+ },
37821
+ {
37822
+ "name": "accessibility-current",
37823
+ "type": {
37824
+ "text": "string"
37825
+ },
37826
+ "default": "''",
37827
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
37828
+ "fieldName": "accessibilityCurrent",
37829
+ "inheritedFrom": {
37830
+ "name": "SbbLinkBaseElement",
37831
+ "module": "core/base-elements/link-base-element.js"
38128
37832
  }
38129
37833
  }
38130
37834
  ]
@@ -38133,22 +37837,22 @@
38133
37837
  "exports": [
38134
37838
  {
38135
37839
  "kind": "js",
38136
- "name": "SbbAccentButtonElement",
37840
+ "name": "SbbAccentButtonLinkElement",
38137
37841
  "declaration": {
38138
- "name": "SbbAccentButtonElement",
38139
- "module": "button/accent-button/accent-button.component.js"
37842
+ "name": "SbbAccentButtonLinkElement",
37843
+ "module": "button/accent-button-link/accent-button-link.component.js"
38140
37844
  }
38141
37845
  }
38142
37846
  ]
38143
37847
  },
38144
37848
  {
38145
37849
  "kind": "javascript-module",
38146
- "path": "button/accent-button-link/accent-button-link.component.js",
37850
+ "path": "button/accent-button/accent-button.component.js",
38147
37851
  "declarations": [
38148
37852
  {
38149
37853
  "kind": "class",
38150
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
38151
- "name": "SbbAccentButtonLinkElement",
37854
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37855
+ "name": "SbbAccentButtonElement",
38152
37856
  "cssProperties": [
38153
37857
  {
38154
37858
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -38158,7 +37862,7 @@
38158
37862
  ],
38159
37863
  "slots": [
38160
37864
  {
38161
- "description": "Use the unnamed slot to add content to the accent-button-link.",
37865
+ "description": "Use the unnamed slot to add content to the accent-button.",
38162
37866
  "name": ""
38163
37867
  },
38164
37868
  {
@@ -38176,7 +37880,7 @@
38176
37880
  "privacy": "public",
38177
37881
  "static": true,
38178
37882
  "readonly": true,
38179
- "default": "'sbb-accent-button-link'",
37883
+ "default": "'sbb-accent-button'",
38180
37884
  "inheritedFrom": {
38181
37885
  "name": "SbbElement",
38182
37886
  "module": "core/base-elements/element.js"
@@ -38373,151 +38077,479 @@
38373
38077
  },
38374
38078
  {
38375
38079
  "kind": "field",
38376
- "name": "href",
38080
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
38081
+ "type": {
38082
+ "text": "array"
38083
+ },
38084
+ "privacy": "private",
38085
+ "readonly": true,
38086
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
38087
+ "inheritedFrom": {
38088
+ "name": "SbbButtonBaseElement",
38089
+ "module": "core/base-elements/button-base-element.js"
38090
+ }
38091
+ },
38092
+ {
38093
+ "kind": "field",
38094
+ "name": "value",
38377
38095
  "type": {
38378
38096
  "text": "string"
38379
38097
  },
38380
38098
  "privacy": "public",
38381
38099
  "default": "''",
38382
- "description": "The href value you want to link to.",
38383
- "attribute": "href",
38384
- "reflects": true,
38100
+ "description": "Value of the form element.",
38101
+ "attribute": "value",
38385
38102
  "inheritedFrom": {
38386
- "name": "SbbLinkBaseElement",
38387
- "module": "core/base-elements/link-base-element.js"
38103
+ "name": "SbbButtonBaseElement",
38104
+ "module": "core/base-elements/button-base-element.js"
38388
38105
  }
38389
38106
  },
38390
38107
  {
38391
38108
  "kind": "field",
38392
- "name": "target",
38109
+ "name": "type",
38110
+ "privacy": "public",
38111
+ "description": "The type attribute to use for the button.",
38112
+ "default": "'button'",
38393
38113
  "type": {
38394
- "text": "LinkTargetType | string"
38114
+ "text": "SbbButtonType"
38115
+ },
38116
+ "attribute": "type",
38117
+ "inheritedFrom": {
38118
+ "name": "SbbButtonBaseElement",
38119
+ "module": "core/base-elements/button-base-element.js"
38120
+ }
38121
+ },
38122
+ {
38123
+ "kind": "field",
38124
+ "name": "form",
38125
+ "type": {
38126
+ "text": "HTMLFormElement | null"
38395
38127
  },
38396
38128
  "privacy": "public",
38397
- "default": "''",
38398
- "description": "Where to display the linked URL.",
38399
- "attribute": "target",
38400
- "reflects": true,
38129
+ "description": "The `<form>` element to associate the button with.",
38130
+ "attribute": "form",
38401
38131
  "inheritedFrom": {
38402
- "name": "SbbLinkBaseElement",
38403
- "module": "core/base-elements/link-base-element.js"
38132
+ "name": "SbbButtonBaseElement",
38133
+ "module": "core/base-elements/button-base-element.js"
38404
38134
  }
38405
38135
  },
38406
38136
  {
38407
38137
  "kind": "field",
38408
- "name": "rel",
38138
+ "name": "_formId",
38409
38139
  "type": {
38410
38140
  "text": "string"
38411
38141
  },
38412
- "privacy": "public",
38142
+ "privacy": "private",
38413
38143
  "default": "''",
38414
- "description": "The relationship of the linked URL as space-separated link types.",
38415
- "attribute": "rel",
38416
- "reflects": true,
38417
38144
  "inheritedFrom": {
38418
- "name": "SbbLinkBaseElement",
38419
- "module": "core/base-elements/link-base-element.js"
38145
+ "name": "SbbButtonBaseElement",
38146
+ "module": "core/base-elements/button-base-element.js"
38420
38147
  }
38421
38148
  },
38422
38149
  {
38423
38150
  "kind": "field",
38424
- "name": "download",
38151
+ "name": "_handleButtonClick",
38152
+ "privacy": "private",
38153
+ "inheritedFrom": {
38154
+ "name": "SbbButtonBaseElement",
38155
+ "module": "core/base-elements/button-base-element.js"
38156
+ }
38157
+ },
38158
+ {
38159
+ "kind": "method",
38160
+ "name": "_requestSubmit",
38161
+ "privacy": "private",
38162
+ "return": {
38163
+ "type": {
38164
+ "text": "void"
38165
+ }
38166
+ },
38167
+ "parameters": [
38168
+ {
38169
+ "name": "form",
38170
+ "type": {
38171
+ "text": "HTMLFormElement"
38172
+ }
38173
+ }
38174
+ ],
38175
+ "inheritedFrom": {
38176
+ "name": "SbbButtonBaseElement",
38177
+ "module": "core/base-elements/button-base-element.js"
38178
+ }
38179
+ },
38180
+ {
38181
+ "kind": "field",
38182
+ "name": "_formKeyDown",
38183
+ "privacy": "private",
38184
+ "inheritedFrom": {
38185
+ "name": "SbbButtonBaseElement",
38186
+ "module": "core/base-elements/button-base-element.js"
38187
+ }
38188
+ },
38189
+ {
38190
+ "kind": "field",
38191
+ "name": "formAssociated",
38425
38192
  "type": {
38426
38193
  "text": "boolean"
38427
38194
  },
38428
38195
  "privacy": "public",
38429
- "default": "false",
38430
- "description": "Whether the browser will show the download dialog on click.",
38431
- "attribute": "download",
38432
- "reflects": true,
38196
+ "static": true,
38197
+ "default": "true",
38433
38198
  "inheritedFrom": {
38434
- "name": "SbbLinkBaseElement",
38435
- "module": "core/base-elements/link-base-element.js"
38199
+ "name": "SbbFormAssociatedMixin",
38200
+ "module": "core/mixins/form-associated-mixin.js"
38436
38201
  }
38437
38202
  },
38438
38203
  {
38439
38204
  "kind": "field",
38440
- "name": "accessibilityLabel",
38205
+ "name": "name",
38206
+ "privacy": "public",
38207
+ "description": "Name of the form element. Will be read from name attribute.",
38441
38208
  "type": {
38442
38209
  "text": "string"
38443
38210
  },
38211
+ "attribute": "name",
38212
+ "inheritedFrom": {
38213
+ "name": "SbbFormAssociatedMixin",
38214
+ "module": "core/mixins/form-associated-mixin.js"
38215
+ }
38216
+ },
38217
+ {
38218
+ "kind": "field",
38219
+ "name": "validity",
38220
+ "type": {
38221
+ "text": "ValidityState"
38222
+ },
38444
38223
  "privacy": "public",
38445
- "default": "''",
38446
- "description": "This will be forwarded as aria-label to the inner anchor element.",
38447
- "attribute": "accessibility-label",
38224
+ "description": "Returns the ValidityState object for this element.",
38225
+ "readonly": true,
38448
38226
  "inheritedFrom": {
38449
- "name": "SbbLinkBaseElement",
38450
- "module": "core/base-elements/link-base-element.js"
38227
+ "name": "SbbFormAssociatedMixin",
38228
+ "module": "core/mixins/form-associated-mixin.js"
38451
38229
  }
38452
38230
  },
38453
38231
  {
38454
38232
  "kind": "field",
38455
- "name": "accessibilityCurrent",
38233
+ "name": "validationMessage",
38456
38234
  "type": {
38457
38235
  "text": "string"
38458
38236
  },
38459
38237
  "privacy": "public",
38460
- "default": "''",
38461
- "description": "This will be forwarded as aria-current to the inner anchor element.",
38462
- "attribute": "accessibility-current",
38238
+ "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
38239
+ "readonly": true,
38463
38240
  "inheritedFrom": {
38464
- "name": "SbbLinkBaseElement",
38465
- "module": "core/base-elements/link-base-element.js"
38241
+ "name": "SbbFormAssociatedMixin",
38242
+ "module": "core/mixins/form-associated-mixin.js"
38466
38243
  }
38467
38244
  },
38468
38245
  {
38469
38246
  "kind": "field",
38470
- "name": "language",
38471
- "privacy": "protected",
38472
- "default": "new SbbLanguageController(this)",
38247
+ "name": "willValidate",
38248
+ "type": {
38249
+ "text": "boolean"
38250
+ },
38251
+ "privacy": "public",
38252
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
38253
+ "readonly": true,
38473
38254
  "inheritedFrom": {
38474
- "name": "SbbLinkBaseElement",
38475
- "module": "core/base-elements/link-base-element.js"
38255
+ "name": "SbbFormAssociatedMixin",
38256
+ "module": "core/mixins/form-associated-mixin.js"
38476
38257
  }
38477
38258
  },
38478
38259
  {
38479
38260
  "kind": "field",
38480
- "name": "anchorRole",
38261
+ "name": "_validityStates",
38262
+ "privacy": "private",
38263
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
38264
+ "inheritedFrom": {
38265
+ "name": "SbbFormAssociatedMixin",
38266
+ "module": "core/mixins/form-associated-mixin.js"
38267
+ }
38268
+ },
38269
+ {
38270
+ "kind": "field",
38271
+ "name": "formDisabled",
38481
38272
  "type": {
38482
- "text": "string | null"
38273
+ "text": "boolean"
38483
38274
  },
38484
38275
  "privacy": "protected",
38485
- "readonly": true,
38486
- "default": "null",
38276
+ "default": "false",
38277
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
38487
38278
  "inheritedFrom": {
38488
- "name": "SbbLinkBaseElement",
38489
- "module": "core/base-elements/link-base-element.js"
38279
+ "name": "SbbFormAssociatedMixin",
38280
+ "module": "core/mixins/form-associated-mixin.js"
38490
38281
  }
38491
38282
  },
38492
38283
  {
38493
- "kind": "field",
38494
- "name": "_evaluateRelAttribute",
38284
+ "kind": "method",
38285
+ "name": "checkValidity",
38286
+ "privacy": "public",
38287
+ "return": {
38288
+ "type": {
38289
+ "text": "boolean"
38290
+ }
38291
+ },
38292
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
38293
+ "inheritedFrom": {
38294
+ "name": "SbbFormAssociatedMixin",
38295
+ "module": "core/mixins/form-associated-mixin.js"
38296
+ }
38297
+ },
38298
+ {
38299
+ "kind": "method",
38300
+ "name": "reportValidity",
38301
+ "privacy": "public",
38302
+ "return": {
38303
+ "type": {
38304
+ "text": "boolean"
38305
+ }
38306
+ },
38307
+ "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
38308
+ "inheritedFrom": {
38309
+ "name": "SbbFormAssociatedMixin",
38310
+ "module": "core/mixins/form-associated-mixin.js"
38311
+ }
38312
+ },
38313
+ {
38314
+ "kind": "method",
38315
+ "name": "setCustomValidity",
38316
+ "privacy": "public",
38317
+ "return": {
38318
+ "type": {
38319
+ "text": "void"
38320
+ }
38321
+ },
38322
+ "parameters": [
38323
+ {
38324
+ "name": "message",
38325
+ "type": {
38326
+ "text": "string"
38327
+ }
38328
+ }
38329
+ ],
38330
+ "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
38331
+ "inheritedFrom": {
38332
+ "name": "SbbFormAssociatedMixin",
38333
+ "module": "core/mixins/form-associated-mixin.js"
38334
+ }
38335
+ },
38336
+ {
38337
+ "kind": "method",
38338
+ "name": "_hasDisabledAncestor",
38495
38339
  "privacy": "private",
38340
+ "return": {
38341
+ "type": {
38342
+ "text": "boolean"
38343
+ }
38344
+ },
38496
38345
  "inheritedFrom": {
38497
- "name": "SbbLinkBaseElement",
38498
- "module": "core/base-elements/link-base-element.js"
38346
+ "name": "SbbFormAssociatedMixin",
38347
+ "module": "core/mixins/form-associated-mixin.js"
38499
38348
  }
38500
38349
  },
38501
38350
  {
38502
38351
  "kind": "method",
38503
- "name": "renderLink",
38352
+ "name": "updateFormValue",
38504
38353
  "privacy": "protected",
38505
38354
  "return": {
38506
38355
  "type": {
38507
- "text": "TemplateResult"
38356
+ "text": "void"
38357
+ }
38358
+ },
38359
+ "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
38360
+ "inheritedFrom": {
38361
+ "name": "SbbFormAssociatedMixin",
38362
+ "module": "core/mixins/form-associated-mixin.js"
38363
+ }
38364
+ },
38365
+ {
38366
+ "kind": "method",
38367
+ "name": "formState",
38368
+ "privacy": "protected",
38369
+ "return": {
38370
+ "type": {
38371
+ "text": "FormRestoreState"
38372
+ }
38373
+ },
38374
+ "inheritedFrom": {
38375
+ "name": "SbbFormAssociatedMixin",
38376
+ "module": "core/mixins/form-associated-mixin.js"
38377
+ }
38378
+ },
38379
+ {
38380
+ "kind": "method",
38381
+ "name": "setValidityFlag",
38382
+ "privacy": "protected",
38383
+ "return": {
38384
+ "type": {
38385
+ "text": "void"
38508
38386
  }
38509
38387
  },
38510
38388
  "parameters": [
38511
38389
  {
38512
- "name": "renderContent",
38390
+ "name": "flag",
38513
38391
  "type": {
38514
- "text": "TemplateResult"
38392
+ "text": "T"
38393
+ }
38394
+ },
38395
+ {
38396
+ "name": "message",
38397
+ "type": {
38398
+ "text": "string"
38399
+ }
38400
+ },
38401
+ {
38402
+ "name": "flagValue",
38403
+ "optional": true,
38404
+ "type": {
38405
+ "text": "ValidityStateFlags[T]"
38515
38406
  }
38516
38407
  }
38517
38408
  ],
38409
+ "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
38518
38410
  "inheritedFrom": {
38519
- "name": "SbbLinkBaseElement",
38520
- "module": "core/base-elements/link-base-element.js"
38411
+ "name": "SbbFormAssociatedMixin",
38412
+ "module": "core/mixins/form-associated-mixin.js"
38413
+ }
38414
+ },
38415
+ {
38416
+ "kind": "method",
38417
+ "name": "removeValidityFlag",
38418
+ "privacy": "protected",
38419
+ "return": {
38420
+ "type": {
38421
+ "text": "void"
38422
+ }
38423
+ },
38424
+ "parameters": [
38425
+ {
38426
+ "name": "flag",
38427
+ "type": {
38428
+ "text": "T"
38429
+ }
38430
+ }
38431
+ ],
38432
+ "description": "Removes the validity state flag entry and updates validity state.",
38433
+ "inheritedFrom": {
38434
+ "name": "SbbFormAssociatedMixin",
38435
+ "module": "core/mixins/form-associated-mixin.js"
38436
+ }
38437
+ },
38438
+ {
38439
+ "kind": "method",
38440
+ "name": "validate",
38441
+ "privacy": "protected",
38442
+ "return": {
38443
+ "type": {
38444
+ "text": "void"
38445
+ }
38446
+ },
38447
+ "description": "To be called whenever the current element needs to be validated.",
38448
+ "inheritedFrom": {
38449
+ "name": "SbbFormAssociatedMixin",
38450
+ "module": "core/mixins/form-associated-mixin.js"
38451
+ }
38452
+ },
38453
+ {
38454
+ "kind": "method",
38455
+ "name": "shouldValidate",
38456
+ "privacy": "protected",
38457
+ "return": {
38458
+ "type": {
38459
+ "text": "boolean"
38460
+ }
38461
+ },
38462
+ "parameters": [
38463
+ {
38464
+ "name": "name",
38465
+ "type": {
38466
+ "text": "PropertyKey | undefined"
38467
+ }
38468
+ }
38469
+ ],
38470
+ "description": "Whether validation should be run on a property change with the given name.",
38471
+ "inheritedFrom": {
38472
+ "name": "SbbFormAssociatedMixin",
38473
+ "module": "core/mixins/form-associated-mixin.js"
38474
+ }
38475
+ },
38476
+ {
38477
+ "kind": "method",
38478
+ "name": "_setInternalValidity",
38479
+ "privacy": "private",
38480
+ "return": {
38481
+ "type": {
38482
+ "text": "void"
38483
+ }
38484
+ },
38485
+ "inheritedFrom": {
38486
+ "name": "SbbFormAssociatedMixin",
38487
+ "module": "core/mixins/form-associated-mixin.js"
38488
+ }
38489
+ },
38490
+ {
38491
+ "kind": "field",
38492
+ "name": "role",
38493
+ "type": {
38494
+ "text": "ElementInternals['role']"
38495
+ },
38496
+ "privacy": "public",
38497
+ "static": true,
38498
+ "readonly": true,
38499
+ "default": "'button'",
38500
+ "inheritedFrom": {
38501
+ "name": "SbbButtonLikeBaseElement",
38502
+ "module": "core/base-elements/button-base-element.js"
38503
+ }
38504
+ },
38505
+ {
38506
+ "kind": "field",
38507
+ "name": "_preventScrollOnSpaceKeydown",
38508
+ "privacy": "private",
38509
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
38510
+ "parameters": [
38511
+ {
38512
+ "description": "The origin event.",
38513
+ "name": "event"
38514
+ }
38515
+ ],
38516
+ "inheritedFrom": {
38517
+ "name": "SbbButtonLikeBaseElement",
38518
+ "module": "core/base-elements/button-base-element.js"
38519
+ }
38520
+ },
38521
+ {
38522
+ "kind": "field",
38523
+ "name": "_removeActiveMarker",
38524
+ "privacy": "private",
38525
+ "inheritedFrom": {
38526
+ "name": "SbbButtonLikeBaseElement",
38527
+ "module": "core/base-elements/button-base-element.js"
38528
+ }
38529
+ },
38530
+ {
38531
+ "kind": "field",
38532
+ "name": "_dispatchClickEventOnSpaceKeyup",
38533
+ "privacy": "private",
38534
+ "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
38535
+ "parameters": [
38536
+ {
38537
+ "description": "The origin event.",
38538
+ "name": "event"
38539
+ }
38540
+ ],
38541
+ "inheritedFrom": {
38542
+ "name": "SbbButtonLikeBaseElement",
38543
+ "module": "core/base-elements/button-base-element.js"
38544
+ }
38545
+ },
38546
+ {
38547
+ "kind": "field",
38548
+ "name": "_dispatchClickEvent",
38549
+ "privacy": "private",
38550
+ "inheritedFrom": {
38551
+ "name": "SbbButtonLikeBaseElement",
38552
+ "module": "core/base-elements/button-base-element.js"
38521
38553
  }
38522
38554
  },
38523
38555
  {
@@ -38672,19 +38704,15 @@
38672
38704
  "module": "button/common/button-common.js"
38673
38705
  },
38674
38706
  {
38675
- "name": "SbbDisabledInteractiveMixin",
38676
- "module": "core/mixins.js"
38677
- },
38678
- {
38679
- "name": "SbbDisabledMixin",
38707
+ "name": "SbbDisabledTabIndexActionMixin",
38680
38708
  "module": "core/mixins.js"
38681
38709
  }
38682
38710
  ],
38683
38711
  "superclass": {
38684
- "name": "SbbLinkBaseElement",
38712
+ "name": "SbbButtonBaseElement",
38685
38713
  "module": "core/base-elements.js"
38686
38714
  },
38687
- "tagName": "sbb-accent-button-link",
38715
+ "tagName": "sbb-accent-button",
38688
38716
  "customElement": true,
38689
38717
  "attributes": [
38690
38718
  {
@@ -38766,81 +38794,53 @@
38766
38794
  }
38767
38795
  },
38768
38796
  {
38769
- "name": "href",
38770
- "type": {
38771
- "text": "string"
38772
- },
38773
- "default": "''",
38774
- "description": "The href value you want to link to.",
38775
- "fieldName": "href",
38776
- "inheritedFrom": {
38777
- "name": "SbbLinkBaseElement",
38778
- "module": "core/base-elements/link-base-element.js"
38779
- }
38780
- },
38781
- {
38782
- "name": "target",
38783
- "type": {
38784
- "text": "LinkTargetType | string"
38785
- },
38786
- "default": "''",
38787
- "description": "Where to display the linked URL.",
38788
- "fieldName": "target",
38789
- "inheritedFrom": {
38790
- "name": "SbbLinkBaseElement",
38791
- "module": "core/base-elements/link-base-element.js"
38792
- }
38793
- },
38794
- {
38795
- "name": "rel",
38797
+ "name": "value",
38796
38798
  "type": {
38797
38799
  "text": "string"
38798
38800
  },
38799
38801
  "default": "''",
38800
- "description": "The relationship of the linked URL as space-separated link types.",
38801
- "fieldName": "rel",
38802
+ "description": "Value of the form element.",
38803
+ "fieldName": "value",
38802
38804
  "inheritedFrom": {
38803
- "name": "SbbLinkBaseElement",
38804
- "module": "core/base-elements/link-base-element.js"
38805
+ "name": "SbbButtonBaseElement",
38806
+ "module": "core/base-elements/button-base-element.js"
38805
38807
  }
38806
38808
  },
38807
38809
  {
38808
- "name": "download",
38810
+ "name": "type",
38811
+ "description": "The type attribute to use for the button.",
38812
+ "default": "'button'",
38809
38813
  "type": {
38810
- "text": "boolean"
38814
+ "text": "SbbButtonType"
38811
38815
  },
38812
- "default": "false",
38813
- "description": "Whether the browser will show the download dialog on click.",
38814
- "fieldName": "download",
38816
+ "fieldName": "type",
38815
38817
  "inheritedFrom": {
38816
- "name": "SbbLinkBaseElement",
38817
- "module": "core/base-elements/link-base-element.js"
38818
+ "name": "SbbButtonBaseElement",
38819
+ "module": "core/base-elements/button-base-element.js"
38818
38820
  }
38819
38821
  },
38820
38822
  {
38821
- "name": "accessibility-label",
38823
+ "name": "form",
38824
+ "description": "The `<form>` element to associate the button with.",
38822
38825
  "type": {
38823
- "text": "string"
38826
+ "text": "HTMLFormElement | null"
38824
38827
  },
38825
- "default": "''",
38826
- "description": "This will be forwarded as aria-label to the inner anchor element.",
38827
- "fieldName": "accessibilityLabel",
38828
+ "fieldName": "form",
38828
38829
  "inheritedFrom": {
38829
- "name": "SbbLinkBaseElement",
38830
- "module": "core/base-elements/link-base-element.js"
38830
+ "name": "SbbButtonBaseElement",
38831
+ "module": "core/base-elements/button-base-element.js"
38831
38832
  }
38832
38833
  },
38833
38834
  {
38834
- "name": "accessibility-current",
38835
+ "name": "name",
38836
+ "description": "Name of the form element. Will be read from name attribute.",
38835
38837
  "type": {
38836
38838
  "text": "string"
38837
38839
  },
38838
- "default": "''",
38839
- "description": "This will be forwarded as aria-current to the inner anchor element.",
38840
- "fieldName": "accessibilityCurrent",
38840
+ "fieldName": "name",
38841
38841
  "inheritedFrom": {
38842
- "name": "SbbLinkBaseElement",
38843
- "module": "core/base-elements/link-base-element.js"
38842
+ "name": "SbbFormAssociatedMixin",
38843
+ "module": "core/mixins/form-associated-mixin.js"
38844
38844
  }
38845
38845
  }
38846
38846
  ]
@@ -38849,10 +38849,10 @@
38849
38849
  "exports": [
38850
38850
  {
38851
38851
  "kind": "js",
38852
- "name": "SbbAccentButtonLinkElement",
38852
+ "name": "SbbAccentButtonElement",
38853
38853
  "declaration": {
38854
- "name": "SbbAccentButtonLinkElement",
38855
- "module": "button/accent-button-link/accent-button-link.component.js"
38854
+ "name": "SbbAccentButtonElement",
38855
+ "module": "button/accent-button/accent-button.component.js"
38856
38856
  }
38857
38857
  }
38858
38858
  ]
@@ -60779,6 +60779,240 @@
60779
60779
  }
60780
60780
  ]
60781
60781
  },
60782
+ {
60783
+ "kind": "javascript-module",
60784
+ "path": "container/container/container.component.js",
60785
+ "declarations": [
60786
+ {
60787
+ "kind": "class",
60788
+ "description": "It displays its content with the default page spacing.",
60789
+ "name": "SbbContainerElement",
60790
+ "cssProperties": [
60791
+ {
60792
+ "description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
60793
+ "name": "--sbb-page-spacing-padding"
60794
+ }
60795
+ ],
60796
+ "slots": [
60797
+ {
60798
+ "description": "Use the unnamed slot to add anything to the container.",
60799
+ "name": ""
60800
+ },
60801
+ {
60802
+ "description": "The slot used by the sbb-sticky-bar component.",
60803
+ "name": "sticky-bar"
60804
+ },
60805
+ {
60806
+ "description": "The slot used to slot an `sbb-image` to use as background.",
60807
+ "name": "image"
60808
+ }
60809
+ ],
60810
+ "members": [
60811
+ {
60812
+ "kind": "field",
60813
+ "name": "elementName",
60814
+ "type": {
60815
+ "text": "string"
60816
+ },
60817
+ "privacy": "public",
60818
+ "static": true,
60819
+ "readonly": true,
60820
+ "default": "'sbb-container'",
60821
+ "inheritedFrom": {
60822
+ "name": "SbbElement",
60823
+ "module": "core/base-elements/element.js"
60824
+ }
60825
+ },
60826
+ {
60827
+ "kind": "field",
60828
+ "name": "expanded",
60829
+ "type": {
60830
+ "text": "boolean"
60831
+ },
60832
+ "privacy": "public",
60833
+ "default": "false",
60834
+ "description": "Whether the container is expanded.",
60835
+ "attribute": "expanded",
60836
+ "reflects": true
60837
+ },
60838
+ {
60839
+ "kind": "field",
60840
+ "name": "backgroundExpanded",
60841
+ "type": {
60842
+ "text": "boolean"
60843
+ },
60844
+ "privacy": "public",
60845
+ "default": "false",
60846
+ "description": "Whether the background color is shown on full container width on large screens.",
60847
+ "attribute": "background-expanded",
60848
+ "reflects": true
60849
+ },
60850
+ {
60851
+ "kind": "field",
60852
+ "name": "color",
60853
+ "type": {
60854
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
60855
+ },
60856
+ "privacy": "public",
60857
+ "default": "'white'",
60858
+ "description": "Color of the container, like transparent, white etc.",
60859
+ "attribute": "color",
60860
+ "reflects": true
60861
+ },
60862
+ {
60863
+ "kind": "field",
60864
+ "name": "_hydrationRequired",
60865
+ "type": {
60866
+ "text": "boolean"
60867
+ },
60868
+ "privacy": "private",
60869
+ "default": "!!this.shadowRoot",
60870
+ "inheritedFrom": {
60871
+ "name": "SbbHydrationMixin",
60872
+ "module": "core/mixins/hydration-mixin.js"
60873
+ }
60874
+ },
60875
+ {
60876
+ "kind": "field",
60877
+ "name": "_hydrationComplete",
60878
+ "privacy": "private",
60879
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
60880
+ "inheritedFrom": {
60881
+ "name": "SbbHydrationMixin",
60882
+ "module": "core/mixins/hydration-mixin.js"
60883
+ }
60884
+ },
60885
+ {
60886
+ "kind": "field",
60887
+ "name": "_resolveHydration",
60888
+ "type": {
60889
+ "text": "(hydrationRequired: boolean) => void"
60890
+ },
60891
+ "privacy": "private",
60892
+ "inheritedFrom": {
60893
+ "name": "SbbHydrationMixin",
60894
+ "module": "core/mixins/hydration-mixin.js"
60895
+ }
60896
+ },
60897
+ {
60898
+ "kind": "field",
60899
+ "name": "hydrationRequired",
60900
+ "type": {
60901
+ "text": "boolean"
60902
+ },
60903
+ "privacy": "protected",
60904
+ "description": "Returns whether hydration is required and not completed.",
60905
+ "readonly": true,
60906
+ "inheritedFrom": {
60907
+ "name": "SbbHydrationMixin",
60908
+ "module": "core/mixins/hydration-mixin.js"
60909
+ },
60910
+ "default": "!!this.shadowRoot"
60911
+ },
60912
+ {
60913
+ "kind": "method",
60914
+ "name": "toggleState",
60915
+ "privacy": "protected",
60916
+ "return": {
60917
+ "type": {
60918
+ "text": "void"
60919
+ }
60920
+ },
60921
+ "parameters": [
60922
+ {
60923
+ "name": "value",
60924
+ "type": {
60925
+ "text": "string"
60926
+ }
60927
+ },
60928
+ {
60929
+ "name": "force",
60930
+ "optional": true,
60931
+ "type": {
60932
+ "text": "boolean"
60933
+ }
60934
+ }
60935
+ ],
60936
+ "inheritedFrom": {
60937
+ "name": "SbbElementInternalsMixin",
60938
+ "module": "core/mixins/element-internals-mixin.js"
60939
+ }
60940
+ },
60941
+ {
60942
+ "kind": "field",
60943
+ "name": "['_$sbbElement$']",
60944
+ "type": {
60945
+ "text": "boolean"
60946
+ },
60947
+ "privacy": "public",
60948
+ "static": true,
60949
+ "default": "true",
60950
+ "inheritedFrom": {
60951
+ "name": "SbbElement",
60952
+ "module": "core/base-elements/element.js"
60953
+ }
60954
+ },
60955
+ {
60956
+ "kind": "field",
60957
+ "name": "_controllers",
60958
+ "type": {
60959
+ "text": "Set<SbbReactiveController> | undefined"
60960
+ },
60961
+ "privacy": "private",
60962
+ "inheritedFrom": {
60963
+ "name": "SbbElement",
60964
+ "module": "core/base-elements/element.js"
60965
+ }
60966
+ }
60967
+ ],
60968
+ "attributes": [
60969
+ {
60970
+ "name": "expanded",
60971
+ "type": {
60972
+ "text": "boolean"
60973
+ },
60974
+ "default": "false",
60975
+ "description": "Whether the container is expanded.",
60976
+ "fieldName": "expanded"
60977
+ },
60978
+ {
60979
+ "name": "background-expanded",
60980
+ "type": {
60981
+ "text": "boolean"
60982
+ },
60983
+ "default": "false",
60984
+ "description": "Whether the background color is shown on full container width on large screens.",
60985
+ "fieldName": "backgroundExpanded"
60986
+ },
60987
+ {
60988
+ "name": "color",
60989
+ "type": {
60990
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
60991
+ },
60992
+ "default": "'white'",
60993
+ "description": "Color of the container, like transparent, white etc.",
60994
+ "fieldName": "color"
60995
+ }
60996
+ ],
60997
+ "superclass": {
60998
+ "name": "SbbElement",
60999
+ "module": "core/base-elements.js"
61000
+ },
61001
+ "tagName": "sbb-container",
61002
+ "customElement": true
61003
+ }
61004
+ ],
61005
+ "exports": [
61006
+ {
61007
+ "kind": "js",
61008
+ "name": "SbbContainerElement",
61009
+ "declaration": {
61010
+ "name": "SbbContainerElement",
61011
+ "module": "container/container/container.component.js"
61012
+ }
61013
+ }
61014
+ ]
61015
+ },
60782
61016
  {
60783
61017
  "kind": "javascript-module",
60784
61018
  "path": "container/sticky-bar/sticky-bar.component.js",
@@ -62133,240 +62367,6 @@
62133
62367
  }
62134
62368
  ]
62135
62369
  },
62136
- {
62137
- "kind": "javascript-module",
62138
- "path": "container/container/container.component.js",
62139
- "declarations": [
62140
- {
62141
- "kind": "class",
62142
- "description": "It displays its content with the default page spacing.",
62143
- "name": "SbbContainerElement",
62144
- "cssProperties": [
62145
- {
62146
- "description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
62147
- "name": "--sbb-page-spacing-padding"
62148
- }
62149
- ],
62150
- "slots": [
62151
- {
62152
- "description": "Use the unnamed slot to add anything to the container.",
62153
- "name": ""
62154
- },
62155
- {
62156
- "description": "The slot used by the sbb-sticky-bar component.",
62157
- "name": "sticky-bar"
62158
- },
62159
- {
62160
- "description": "The slot used to slot an `sbb-image` to use as background.",
62161
- "name": "image"
62162
- }
62163
- ],
62164
- "members": [
62165
- {
62166
- "kind": "field",
62167
- "name": "elementName",
62168
- "type": {
62169
- "text": "string"
62170
- },
62171
- "privacy": "public",
62172
- "static": true,
62173
- "readonly": true,
62174
- "default": "'sbb-container'",
62175
- "inheritedFrom": {
62176
- "name": "SbbElement",
62177
- "module": "core/base-elements/element.js"
62178
- }
62179
- },
62180
- {
62181
- "kind": "field",
62182
- "name": "expanded",
62183
- "type": {
62184
- "text": "boolean"
62185
- },
62186
- "privacy": "public",
62187
- "default": "false",
62188
- "description": "Whether the container is expanded.",
62189
- "attribute": "expanded",
62190
- "reflects": true
62191
- },
62192
- {
62193
- "kind": "field",
62194
- "name": "backgroundExpanded",
62195
- "type": {
62196
- "text": "boolean"
62197
- },
62198
- "privacy": "public",
62199
- "default": "false",
62200
- "description": "Whether the background color is shown on full container width on large screens.",
62201
- "attribute": "background-expanded",
62202
- "reflects": true
62203
- },
62204
- {
62205
- "kind": "field",
62206
- "name": "color",
62207
- "type": {
62208
- "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
62209
- },
62210
- "privacy": "public",
62211
- "default": "'white'",
62212
- "description": "Color of the container, like transparent, white etc.",
62213
- "attribute": "color",
62214
- "reflects": true
62215
- },
62216
- {
62217
- "kind": "field",
62218
- "name": "_hydrationRequired",
62219
- "type": {
62220
- "text": "boolean"
62221
- },
62222
- "privacy": "private",
62223
- "default": "!!this.shadowRoot",
62224
- "inheritedFrom": {
62225
- "name": "SbbHydrationMixin",
62226
- "module": "core/mixins/hydration-mixin.js"
62227
- }
62228
- },
62229
- {
62230
- "kind": "field",
62231
- "name": "_hydrationComplete",
62232
- "privacy": "private",
62233
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
62234
- "inheritedFrom": {
62235
- "name": "SbbHydrationMixin",
62236
- "module": "core/mixins/hydration-mixin.js"
62237
- }
62238
- },
62239
- {
62240
- "kind": "field",
62241
- "name": "_resolveHydration",
62242
- "type": {
62243
- "text": "(hydrationRequired: boolean) => void"
62244
- },
62245
- "privacy": "private",
62246
- "inheritedFrom": {
62247
- "name": "SbbHydrationMixin",
62248
- "module": "core/mixins/hydration-mixin.js"
62249
- }
62250
- },
62251
- {
62252
- "kind": "field",
62253
- "name": "hydrationRequired",
62254
- "type": {
62255
- "text": "boolean"
62256
- },
62257
- "privacy": "protected",
62258
- "description": "Returns whether hydration is required and not completed.",
62259
- "readonly": true,
62260
- "inheritedFrom": {
62261
- "name": "SbbHydrationMixin",
62262
- "module": "core/mixins/hydration-mixin.js"
62263
- },
62264
- "default": "!!this.shadowRoot"
62265
- },
62266
- {
62267
- "kind": "method",
62268
- "name": "toggleState",
62269
- "privacy": "protected",
62270
- "return": {
62271
- "type": {
62272
- "text": "void"
62273
- }
62274
- },
62275
- "parameters": [
62276
- {
62277
- "name": "value",
62278
- "type": {
62279
- "text": "string"
62280
- }
62281
- },
62282
- {
62283
- "name": "force",
62284
- "optional": true,
62285
- "type": {
62286
- "text": "boolean"
62287
- }
62288
- }
62289
- ],
62290
- "inheritedFrom": {
62291
- "name": "SbbElementInternalsMixin",
62292
- "module": "core/mixins/element-internals-mixin.js"
62293
- }
62294
- },
62295
- {
62296
- "kind": "field",
62297
- "name": "['_$sbbElement$']",
62298
- "type": {
62299
- "text": "boolean"
62300
- },
62301
- "privacy": "public",
62302
- "static": true,
62303
- "default": "true",
62304
- "inheritedFrom": {
62305
- "name": "SbbElement",
62306
- "module": "core/base-elements/element.js"
62307
- }
62308
- },
62309
- {
62310
- "kind": "field",
62311
- "name": "_controllers",
62312
- "type": {
62313
- "text": "Set<SbbReactiveController> | undefined"
62314
- },
62315
- "privacy": "private",
62316
- "inheritedFrom": {
62317
- "name": "SbbElement",
62318
- "module": "core/base-elements/element.js"
62319
- }
62320
- }
62321
- ],
62322
- "attributes": [
62323
- {
62324
- "name": "expanded",
62325
- "type": {
62326
- "text": "boolean"
62327
- },
62328
- "default": "false",
62329
- "description": "Whether the container is expanded.",
62330
- "fieldName": "expanded"
62331
- },
62332
- {
62333
- "name": "background-expanded",
62334
- "type": {
62335
- "text": "boolean"
62336
- },
62337
- "default": "false",
62338
- "description": "Whether the background color is shown on full container width on large screens.",
62339
- "fieldName": "backgroundExpanded"
62340
- },
62341
- {
62342
- "name": "color",
62343
- "type": {
62344
- "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
62345
- },
62346
- "default": "'white'",
62347
- "description": "Color of the container, like transparent, white etc.",
62348
- "fieldName": "color"
62349
- }
62350
- ],
62351
- "superclass": {
62352
- "name": "SbbElement",
62353
- "module": "core/base-elements.js"
62354
- },
62355
- "tagName": "sbb-container",
62356
- "customElement": true
62357
- }
62358
- ],
62359
- "exports": [
62360
- {
62361
- "kind": "js",
62362
- "name": "SbbContainerElement",
62363
- "declaration": {
62364
- "name": "SbbContainerElement",
62365
- "module": "container/container/container.component.js"
62366
- }
62367
- }
62368
- ]
62369
- },
62370
62370
  {
62371
62371
  "kind": "javascript-module",
62372
62372
  "path": "core/base-elements/action-base-element.js",
@@ -81344,12 +81344,12 @@
81344
81344
  },
81345
81345
  {
81346
81346
  "kind": "javascript-module",
81347
- "path": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js",
81347
+ "path": "datepicker/datepicker-next-day/datepicker-next-day.component.js",
81348
81348
  "declarations": [
81349
81349
  {
81350
81350
  "kind": "class",
81351
- "description": "Combined with a `sbb-datepicker`, it can be used to move the date back.",
81352
- "name": "SbbDatepickerPreviousDayElement",
81351
+ "description": "Combined with a `sbb-datepicker`, it can be used to move the date ahead.",
81352
+ "name": "SbbDatepickerNextDayElement",
81353
81353
  "members": [
81354
81354
  {
81355
81355
  "kind": "field",
@@ -81364,7 +81364,7 @@
81364
81364
  "name": "SbbElement",
81365
81365
  "module": "core/base-elements/element.js"
81366
81366
  },
81367
- "default": "'sbb-datepicker-previous-day'"
81367
+ "default": "'sbb-datepicker-next-day'"
81368
81368
  },
81369
81369
  {
81370
81370
  "kind": "field",
@@ -81377,7 +81377,7 @@
81377
81377
  "name": "SbbDatepickerButtonBase",
81378
81378
  "module": "datepicker/common/datepicker-button.js"
81379
81379
  },
81380
- "default": "'chevron-small-left-small'"
81380
+ "default": "'chevron-small-right-small'"
81381
81381
  },
81382
81382
  {
81383
81383
  "kind": "field",
@@ -81386,7 +81386,7 @@
81386
81386
  "text": "Record<string, string>"
81387
81387
  },
81388
81388
  "privacy": "protected",
81389
- "default": "i18nPreviousDay",
81389
+ "default": "i18nNextDay",
81390
81390
  "inheritedFrom": {
81391
81391
  "name": "SbbDatepickerButton",
81392
81392
  "module": "datepicker/common/datepicker-button.js"
@@ -81399,7 +81399,7 @@
81399
81399
  "text": "(_currentDate: string) => Record<string, string>"
81400
81400
  },
81401
81401
  "privacy": "protected",
81402
- "default": "i18nSelectPreviousDay",
81402
+ "default": "i18nSelectNextDay",
81403
81403
  "inheritedFrom": {
81404
81404
  "name": "SbbDatepickerButton",
81405
81405
  "module": "datepicker/common/datepicker-button.js"
@@ -81429,7 +81429,7 @@
81429
81429
  },
81430
81430
  {
81431
81431
  "kind": "method",
81432
- "name": "_isBeforeMinDate",
81432
+ "name": "_isAfterMaxDate",
81433
81433
  "privacy": "private",
81434
81434
  "return": {
81435
81435
  "type": {
@@ -82289,7 +82289,7 @@
82289
82289
  "name": "SbbDatepickerButton",
82290
82290
  "module": "datepicker/common/datepicker-button.js"
82291
82291
  },
82292
- "tagName": "sbb-datepicker-previous-day",
82292
+ "tagName": "sbb-datepicker-next-day",
82293
82293
  "customElement": true,
82294
82294
  "classGenerics": "T = Date",
82295
82295
  "attributes": [
@@ -82399,22 +82399,22 @@
82399
82399
  "exports": [
82400
82400
  {
82401
82401
  "kind": "js",
82402
- "name": "SbbDatepickerPreviousDayElement",
82402
+ "name": "SbbDatepickerNextDayElement",
82403
82403
  "declaration": {
82404
- "name": "SbbDatepickerPreviousDayElement",
82405
- "module": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js"
82404
+ "name": "SbbDatepickerNextDayElement",
82405
+ "module": "datepicker/datepicker-next-day/datepicker-next-day.component.js"
82406
82406
  }
82407
82407
  }
82408
82408
  ]
82409
82409
  },
82410
82410
  {
82411
82411
  "kind": "javascript-module",
82412
- "path": "datepicker/datepicker-next-day/datepicker-next-day.component.js",
82412
+ "path": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js",
82413
82413
  "declarations": [
82414
82414
  {
82415
82415
  "kind": "class",
82416
- "description": "Combined with a `sbb-datepicker`, it can be used to move the date ahead.",
82417
- "name": "SbbDatepickerNextDayElement",
82416
+ "description": "Combined with a `sbb-datepicker`, it can be used to move the date back.",
82417
+ "name": "SbbDatepickerPreviousDayElement",
82418
82418
  "members": [
82419
82419
  {
82420
82420
  "kind": "field",
@@ -82429,7 +82429,7 @@
82429
82429
  "name": "SbbElement",
82430
82430
  "module": "core/base-elements/element.js"
82431
82431
  },
82432
- "default": "'sbb-datepicker-next-day'"
82432
+ "default": "'sbb-datepicker-previous-day'"
82433
82433
  },
82434
82434
  {
82435
82435
  "kind": "field",
@@ -82442,7 +82442,7 @@
82442
82442
  "name": "SbbDatepickerButtonBase",
82443
82443
  "module": "datepicker/common/datepicker-button.js"
82444
82444
  },
82445
- "default": "'chevron-small-right-small'"
82445
+ "default": "'chevron-small-left-small'"
82446
82446
  },
82447
82447
  {
82448
82448
  "kind": "field",
@@ -82451,7 +82451,7 @@
82451
82451
  "text": "Record<string, string>"
82452
82452
  },
82453
82453
  "privacy": "protected",
82454
- "default": "i18nNextDay",
82454
+ "default": "i18nPreviousDay",
82455
82455
  "inheritedFrom": {
82456
82456
  "name": "SbbDatepickerButton",
82457
82457
  "module": "datepicker/common/datepicker-button.js"
@@ -82464,7 +82464,7 @@
82464
82464
  "text": "(_currentDate: string) => Record<string, string>"
82465
82465
  },
82466
82466
  "privacy": "protected",
82467
- "default": "i18nSelectNextDay",
82467
+ "default": "i18nSelectPreviousDay",
82468
82468
  "inheritedFrom": {
82469
82469
  "name": "SbbDatepickerButton",
82470
82470
  "module": "datepicker/common/datepicker-button.js"
@@ -82494,7 +82494,7 @@
82494
82494
  },
82495
82495
  {
82496
82496
  "kind": "method",
82497
- "name": "_isAfterMaxDate",
82497
+ "name": "_isBeforeMinDate",
82498
82498
  "privacy": "private",
82499
82499
  "return": {
82500
82500
  "type": {
@@ -83354,7 +83354,7 @@
83354
83354
  "name": "SbbDatepickerButton",
83355
83355
  "module": "datepicker/common/datepicker-button.js"
83356
83356
  },
83357
- "tagName": "sbb-datepicker-next-day",
83357
+ "tagName": "sbb-datepicker-previous-day",
83358
83358
  "customElement": true,
83359
83359
  "classGenerics": "T = Date",
83360
83360
  "attributes": [
@@ -83464,10 +83464,10 @@
83464
83464
  "exports": [
83465
83465
  {
83466
83466
  "kind": "js",
83467
- "name": "SbbDatepickerNextDayElement",
83467
+ "name": "SbbDatepickerPreviousDayElement",
83468
83468
  "declaration": {
83469
- "name": "SbbDatepickerNextDayElement",
83470
- "module": "datepicker/datepicker-next-day/datepicker-next-day.component.js"
83469
+ "name": "SbbDatepickerPreviousDayElement",
83470
+ "module": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js"
83471
83471
  }
83472
83472
  }
83473
83473
  ]
@@ -110097,176 +110097,6 @@
110097
110097
  }
110098
110098
  ]
110099
110099
  },
110100
- {
110101
- "kind": "javascript-module",
110102
- "path": "navigation/common/navigation-action-common.js",
110103
- "declarations": [
110104
- {
110105
- "kind": "class",
110106
- "description": "",
110107
- "name": "SbbNavigationActionCommonElementMixinType",
110108
- "members": [
110109
- {
110110
- "kind": "field",
110111
- "name": "size",
110112
- "type": {
110113
- "text": "SbbNavigationActionSize"
110114
- },
110115
- "privacy": "public"
110116
- },
110117
- {
110118
- "kind": "field",
110119
- "name": "marker",
110120
- "type": {
110121
- "text": "SbbNavigationMarkerElement | null"
110122
- },
110123
- "privacy": "public",
110124
- "readonly": true
110125
- },
110126
- {
110127
- "kind": "field",
110128
- "name": "section",
110129
- "type": {
110130
- "text": "SbbNavigationSectionElement | null"
110131
- },
110132
- "privacy": "public",
110133
- "readonly": true
110134
- },
110135
- {
110136
- "kind": "field",
110137
- "name": "connectedSection",
110138
- "type": {
110139
- "text": "SbbNavigationSectionElement | undefined"
110140
- },
110141
- "privacy": "public"
110142
- }
110143
- ]
110144
- },
110145
- {
110146
- "kind": "mixin",
110147
- "description": "",
110148
- "name": "SbbNavigationActionCommonElementMixin",
110149
- "members": [
110150
- {
110151
- "kind": "field",
110152
- "name": "styles",
110153
- "type": {
110154
- "text": "CSSResultGroup"
110155
- },
110156
- "privacy": "public",
110157
- "static": true,
110158
- "default": "[boxSizingStyles, unsafeCSS(style)]"
110159
- },
110160
- {
110161
- "kind": "field",
110162
- "name": "size",
110163
- "type": {
110164
- "text": "SbbNavigationActionSize"
110165
- },
110166
- "privacy": "public",
110167
- "description": "Action size variant, either s, m or l.",
110168
- "default": "'l' / 's' (lean)",
110169
- "attribute": "size",
110170
- "reflects": true
110171
- },
110172
- {
110173
- "kind": "field",
110174
- "name": "connectedSection",
110175
- "type": {
110176
- "text": "SbbNavigationSectionElement | undefined"
110177
- },
110178
- "privacy": "public",
110179
- "description": "The section that is being controlled by the action, if any."
110180
- },
110181
- {
110182
- "kind": "field",
110183
- "name": "marker",
110184
- "type": {
110185
- "text": "SbbNavigationMarkerElement | null"
110186
- },
110187
- "privacy": "public",
110188
- "description": "The navigation marker in which the action is nested.",
110189
- "readonly": true
110190
- },
110191
- {
110192
- "kind": "field",
110193
- "name": "section",
110194
- "type": {
110195
- "text": "SbbNavigationSectionElement | null"
110196
- },
110197
- "privacy": "public",
110198
- "description": "The section in which the action is nested.",
110199
- "readonly": true
110200
- },
110201
- {
110202
- "kind": "field",
110203
- "name": "_navigationMarker",
110204
- "type": {
110205
- "text": "SbbNavigationMarkerElement | null"
110206
- },
110207
- "privacy": "private",
110208
- "default": "null"
110209
- },
110210
- {
110211
- "kind": "field",
110212
- "name": "_navigationSection",
110213
- "type": {
110214
- "text": "SbbNavigationSectionElement | null"
110215
- },
110216
- "privacy": "private",
110217
- "default": "null"
110218
- },
110219
- {
110220
- "kind": "method",
110221
- "name": "renderTemplate",
110222
- "privacy": "protected",
110223
- "return": {
110224
- "type": {
110225
- "text": "TemplateResult"
110226
- }
110227
- }
110228
- }
110229
- ],
110230
- "attributes": [
110231
- {
110232
- "name": "size",
110233
- "type": {
110234
- "text": "SbbNavigationActionSize"
110235
- },
110236
- "description": "Action size variant, either s, m or l.",
110237
- "default": "'l' / 's' (lean)",
110238
- "fieldName": "size"
110239
- }
110240
- ],
110241
- "parameters": [
110242
- {
110243
- "name": "superClass",
110244
- "type": {
110245
- "text": "T"
110246
- }
110247
- }
110248
- ]
110249
- }
110250
- ],
110251
- "exports": [
110252
- {
110253
- "kind": "js",
110254
- "name": "SbbNavigationActionCommonElementMixinType",
110255
- "declaration": {
110256
- "name": "SbbNavigationActionCommonElementMixinType",
110257
- "module": "navigation/common/navigation-action-common.js"
110258
- }
110259
- },
110260
- {
110261
- "kind": "js",
110262
- "name": "SbbNavigationActionCommonElementMixin",
110263
- "declaration": {
110264
- "name": "SbbNavigationActionCommonElementMixin",
110265
- "module": "navigation/common/navigation-action-common.js"
110266
- }
110267
- }
110268
- ]
110269
- },
110270
110100
  {
110271
110101
  "kind": "javascript-module",
110272
110102
  "path": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js",
@@ -110485,6 +110315,176 @@
110485
110315
  }
110486
110316
  ]
110487
110317
  },
110318
+ {
110319
+ "kind": "javascript-module",
110320
+ "path": "navigation/common/navigation-action-common.js",
110321
+ "declarations": [
110322
+ {
110323
+ "kind": "class",
110324
+ "description": "",
110325
+ "name": "SbbNavigationActionCommonElementMixinType",
110326
+ "members": [
110327
+ {
110328
+ "kind": "field",
110329
+ "name": "size",
110330
+ "type": {
110331
+ "text": "SbbNavigationActionSize"
110332
+ },
110333
+ "privacy": "public"
110334
+ },
110335
+ {
110336
+ "kind": "field",
110337
+ "name": "marker",
110338
+ "type": {
110339
+ "text": "SbbNavigationMarkerElement | null"
110340
+ },
110341
+ "privacy": "public",
110342
+ "readonly": true
110343
+ },
110344
+ {
110345
+ "kind": "field",
110346
+ "name": "section",
110347
+ "type": {
110348
+ "text": "SbbNavigationSectionElement | null"
110349
+ },
110350
+ "privacy": "public",
110351
+ "readonly": true
110352
+ },
110353
+ {
110354
+ "kind": "field",
110355
+ "name": "connectedSection",
110356
+ "type": {
110357
+ "text": "SbbNavigationSectionElement | undefined"
110358
+ },
110359
+ "privacy": "public"
110360
+ }
110361
+ ]
110362
+ },
110363
+ {
110364
+ "kind": "mixin",
110365
+ "description": "",
110366
+ "name": "SbbNavigationActionCommonElementMixin",
110367
+ "members": [
110368
+ {
110369
+ "kind": "field",
110370
+ "name": "styles",
110371
+ "type": {
110372
+ "text": "CSSResultGroup"
110373
+ },
110374
+ "privacy": "public",
110375
+ "static": true,
110376
+ "default": "[boxSizingStyles, unsafeCSS(style)]"
110377
+ },
110378
+ {
110379
+ "kind": "field",
110380
+ "name": "size",
110381
+ "type": {
110382
+ "text": "SbbNavigationActionSize"
110383
+ },
110384
+ "privacy": "public",
110385
+ "description": "Action size variant, either s, m or l.",
110386
+ "default": "'l' / 's' (lean)",
110387
+ "attribute": "size",
110388
+ "reflects": true
110389
+ },
110390
+ {
110391
+ "kind": "field",
110392
+ "name": "connectedSection",
110393
+ "type": {
110394
+ "text": "SbbNavigationSectionElement | undefined"
110395
+ },
110396
+ "privacy": "public",
110397
+ "description": "The section that is being controlled by the action, if any."
110398
+ },
110399
+ {
110400
+ "kind": "field",
110401
+ "name": "marker",
110402
+ "type": {
110403
+ "text": "SbbNavigationMarkerElement | null"
110404
+ },
110405
+ "privacy": "public",
110406
+ "description": "The navigation marker in which the action is nested.",
110407
+ "readonly": true
110408
+ },
110409
+ {
110410
+ "kind": "field",
110411
+ "name": "section",
110412
+ "type": {
110413
+ "text": "SbbNavigationSectionElement | null"
110414
+ },
110415
+ "privacy": "public",
110416
+ "description": "The section in which the action is nested.",
110417
+ "readonly": true
110418
+ },
110419
+ {
110420
+ "kind": "field",
110421
+ "name": "_navigationMarker",
110422
+ "type": {
110423
+ "text": "SbbNavigationMarkerElement | null"
110424
+ },
110425
+ "privacy": "private",
110426
+ "default": "null"
110427
+ },
110428
+ {
110429
+ "kind": "field",
110430
+ "name": "_navigationSection",
110431
+ "type": {
110432
+ "text": "SbbNavigationSectionElement | null"
110433
+ },
110434
+ "privacy": "private",
110435
+ "default": "null"
110436
+ },
110437
+ {
110438
+ "kind": "method",
110439
+ "name": "renderTemplate",
110440
+ "privacy": "protected",
110441
+ "return": {
110442
+ "type": {
110443
+ "text": "TemplateResult"
110444
+ }
110445
+ }
110446
+ }
110447
+ ],
110448
+ "attributes": [
110449
+ {
110450
+ "name": "size",
110451
+ "type": {
110452
+ "text": "SbbNavigationActionSize"
110453
+ },
110454
+ "description": "Action size variant, either s, m or l.",
110455
+ "default": "'l' / 's' (lean)",
110456
+ "fieldName": "size"
110457
+ }
110458
+ ],
110459
+ "parameters": [
110460
+ {
110461
+ "name": "superClass",
110462
+ "type": {
110463
+ "text": "T"
110464
+ }
110465
+ }
110466
+ ]
110467
+ }
110468
+ ],
110469
+ "exports": [
110470
+ {
110471
+ "kind": "js",
110472
+ "name": "SbbNavigationActionCommonElementMixinType",
110473
+ "declaration": {
110474
+ "name": "SbbNavigationActionCommonElementMixinType",
110475
+ "module": "navigation/common/navigation-action-common.js"
110476
+ }
110477
+ },
110478
+ {
110479
+ "kind": "js",
110480
+ "name": "SbbNavigationActionCommonElementMixin",
110481
+ "declaration": {
110482
+ "name": "SbbNavigationActionCommonElementMixin",
110483
+ "module": "navigation/common/navigation-action-common.js"
110484
+ }
110485
+ }
110486
+ ]
110487
+ },
110488
110488
  {
110489
110489
  "kind": "javascript-module",
110490
110490
  "path": "navigation/navigation/navigation.component.js",