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

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.
@@ -37029,12 +37029,12 @@
37029
37029
  },
37030
37030
  {
37031
37031
  "kind": "javascript-module",
37032
- "path": "button/accent-button/accent-button.component.js",
37032
+ "path": "button/accent-button-link/accent-button-link.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.",
37037
- "name": "SbbAccentButtonElement",
37036
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
37037
+ "name": "SbbAccentButtonLinkElement",
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.",
37047
+ "description": "Use the unnamed slot to add content to the accent-button-link.",
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'",
37065
+ "default": "'sbb-accent-button-link'",
37066
37066
  "inheritedFrom": {
37067
37067
  "name": "SbbElement",
37068
37068
  "module": "core/base-elements/element.js"
@@ -37259,479 +37259,151 @@
37259
37259
  },
37260
37260
  {
37261
37261
  "kind": "field",
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",
37262
+ "name": "href",
37277
37263
  "type": {
37278
37264
  "text": "string"
37279
37265
  },
37280
37266
  "privacy": "public",
37281
37267
  "default": "''",
37282
- "description": "Value of the form element.",
37283
- "attribute": "value",
37284
- "inheritedFrom": {
37285
- "name": "SbbButtonBaseElement",
37286
- "module": "core/base-elements/button-base-element.js"
37287
- }
37288
- },
37289
- {
37290
- "kind": "field",
37291
- "name": "type",
37292
- "privacy": "public",
37293
- "description": "The type attribute to use for the button.",
37294
- "default": "'button'",
37295
- "type": {
37296
- "text": "SbbButtonType"
37297
- },
37298
- "attribute": "type",
37268
+ "description": "The href value you want to link to.",
37269
+ "attribute": "href",
37270
+ "reflects": true,
37299
37271
  "inheritedFrom": {
37300
- "name": "SbbButtonBaseElement",
37301
- "module": "core/base-elements/button-base-element.js"
37272
+ "name": "SbbLinkBaseElement",
37273
+ "module": "core/base-elements/link-base-element.js"
37302
37274
  }
37303
37275
  },
37304
37276
  {
37305
37277
  "kind": "field",
37306
- "name": "form",
37278
+ "name": "target",
37307
37279
  "type": {
37308
- "text": "HTMLFormElement | null"
37280
+ "text": "LinkTargetType | string"
37309
37281
  },
37310
37282
  "privacy": "public",
37311
- "description": "The `<form>` element to associate the button with.",
37312
- "attribute": "form",
37283
+ "default": "''",
37284
+ "description": "Where to display the linked URL.",
37285
+ "attribute": "target",
37286
+ "reflects": true,
37313
37287
  "inheritedFrom": {
37314
- "name": "SbbButtonBaseElement",
37315
- "module": "core/base-elements/button-base-element.js"
37288
+ "name": "SbbLinkBaseElement",
37289
+ "module": "core/base-elements/link-base-element.js"
37316
37290
  }
37317
37291
  },
37318
37292
  {
37319
37293
  "kind": "field",
37320
- "name": "_formId",
37294
+ "name": "rel",
37321
37295
  "type": {
37322
37296
  "text": "string"
37323
37297
  },
37324
- "privacy": "private",
37298
+ "privacy": "public",
37325
37299
  "default": "''",
37300
+ "description": "The relationship of the linked URL as space-separated link types.",
37301
+ "attribute": "rel",
37302
+ "reflects": true,
37326
37303
  "inheritedFrom": {
37327
- "name": "SbbButtonBaseElement",
37328
- "module": "core/base-elements/button-base-element.js"
37329
- }
37330
- },
37331
- {
37332
- "kind": "field",
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"
37304
+ "name": "SbbLinkBaseElement",
37305
+ "module": "core/base-elements/link-base-element.js"
37369
37306
  }
37370
37307
  },
37371
37308
  {
37372
37309
  "kind": "field",
37373
- "name": "formAssociated",
37310
+ "name": "download",
37374
37311
  "type": {
37375
37312
  "text": "boolean"
37376
37313
  },
37377
37314
  "privacy": "public",
37378
- "static": true,
37379
- "default": "true",
37315
+ "default": "false",
37316
+ "description": "Whether the browser will show the download dialog on click.",
37317
+ "attribute": "download",
37318
+ "reflects": true,
37380
37319
  "inheritedFrom": {
37381
- "name": "SbbFormAssociatedMixin",
37382
- "module": "core/mixins/form-associated-mixin.js"
37320
+ "name": "SbbLinkBaseElement",
37321
+ "module": "core/base-elements/link-base-element.js"
37383
37322
  }
37384
37323
  },
37385
37324
  {
37386
37325
  "kind": "field",
37387
- "name": "name",
37388
- "privacy": "public",
37389
- "description": "Name of the form element. Will be read from name attribute.",
37326
+ "name": "accessibilityLabel",
37390
37327
  "type": {
37391
37328
  "text": "string"
37392
37329
  },
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
- },
37405
37330
  "privacy": "public",
37406
- "description": "Returns the ValidityState object for this element.",
37407
- "readonly": true,
37331
+ "default": "''",
37332
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
37333
+ "attribute": "accessibility-label",
37408
37334
  "inheritedFrom": {
37409
- "name": "SbbFormAssociatedMixin",
37410
- "module": "core/mixins/form-associated-mixin.js"
37335
+ "name": "SbbLinkBaseElement",
37336
+ "module": "core/base-elements/link-base-element.js"
37411
37337
  }
37412
37338
  },
37413
37339
  {
37414
37340
  "kind": "field",
37415
- "name": "validationMessage",
37341
+ "name": "accessibilityCurrent",
37416
37342
  "type": {
37417
37343
  "text": "string"
37418
37344
  },
37419
37345
  "privacy": "public",
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,
37422
- "inheritedFrom": {
37423
- "name": "SbbFormAssociatedMixin",
37424
- "module": "core/mixins/form-associated-mixin.js"
37425
- }
37426
- },
37427
- {
37428
- "kind": "field",
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,
37346
+ "default": "''",
37347
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
37348
+ "attribute": "accessibility-current",
37436
37349
  "inheritedFrom": {
37437
- "name": "SbbFormAssociatedMixin",
37438
- "module": "core/mixins/form-associated-mixin.js"
37350
+ "name": "SbbLinkBaseElement",
37351
+ "module": "core/base-elements/link-base-element.js"
37439
37352
  }
37440
37353
  },
37441
37354
  {
37442
37355
  "kind": "field",
37443
- "name": "_validityStates",
37444
- "privacy": "private",
37445
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
37356
+ "name": "language",
37357
+ "privacy": "protected",
37358
+ "default": "new SbbLanguageController(this)",
37446
37359
  "inheritedFrom": {
37447
- "name": "SbbFormAssociatedMixin",
37448
- "module": "core/mixins/form-associated-mixin.js"
37360
+ "name": "SbbLinkBaseElement",
37361
+ "module": "core/base-elements/link-base-element.js"
37449
37362
  }
37450
37363
  },
37451
37364
  {
37452
37365
  "kind": "field",
37453
- "name": "formDisabled",
37366
+ "name": "anchorRole",
37454
37367
  "type": {
37455
- "text": "boolean"
37368
+ "text": "string | null"
37456
37369
  },
37457
37370
  "privacy": "protected",
37458
- "default": "false",
37459
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
37460
- "inheritedFrom": {
37461
- "name": "SbbFormAssociatedMixin",
37462
- "module": "core/mixins/form-associated-mixin.js"
37463
- }
37464
- },
37465
- {
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.",
37371
+ "readonly": true,
37372
+ "default": "null",
37513
37373
  "inheritedFrom": {
37514
- "name": "SbbFormAssociatedMixin",
37515
- "module": "core/mixins/form-associated-mixin.js"
37374
+ "name": "SbbLinkBaseElement",
37375
+ "module": "core/base-elements/link-base-element.js"
37516
37376
  }
37517
37377
  },
37518
37378
  {
37519
- "kind": "method",
37520
- "name": "_hasDisabledAncestor",
37379
+ "kind": "field",
37380
+ "name": "_evaluateRelAttribute",
37521
37381
  "privacy": "private",
37522
- "return": {
37523
- "type": {
37524
- "text": "boolean"
37525
- }
37526
- },
37527
- "inheritedFrom": {
37528
- "name": "SbbFormAssociatedMixin",
37529
- "module": "core/mixins/form-associated-mixin.js"
37530
- }
37531
- },
37532
- {
37533
- "kind": "method",
37534
- "name": "updateFormValue",
37535
- "privacy": "protected",
37536
- "return": {
37537
- "type": {
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"
37568
- }
37569
- },
37570
- "parameters": [
37571
- {
37572
- "name": "flag",
37573
- "type": {
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]"
37588
- }
37589
- }
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).",
37592
- "inheritedFrom": {
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
37382
  "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"
37383
+ "name": "SbbLinkBaseElement",
37384
+ "module": "core/base-elements/link-base-element.js"
37633
37385
  }
37634
37386
  },
37635
37387
  {
37636
37388
  "kind": "method",
37637
- "name": "shouldValidate",
37389
+ "name": "renderLink",
37638
37390
  "privacy": "protected",
37639
37391
  "return": {
37640
37392
  "type": {
37641
- "text": "boolean"
37393
+ "text": "TemplateResult"
37642
37394
  }
37643
37395
  },
37644
37396
  "parameters": [
37645
37397
  {
37646
- "name": "name",
37398
+ "name": "renderContent",
37647
37399
  "type": {
37648
- "text": "PropertyKey | undefined"
37400
+ "text": "TemplateResult"
37649
37401
  }
37650
37402
  }
37651
37403
  ],
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
37404
  "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"
37405
+ "name": "SbbLinkBaseElement",
37406
+ "module": "core/base-elements/link-base-element.js"
37735
37407
  }
37736
37408
  },
37737
37409
  {
@@ -37886,15 +37558,19 @@
37886
37558
  "module": "button/common/button-common.js"
37887
37559
  },
37888
37560
  {
37889
- "name": "SbbDisabledTabIndexActionMixin",
37561
+ "name": "SbbDisabledInteractiveMixin",
37562
+ "module": "core/mixins.js"
37563
+ },
37564
+ {
37565
+ "name": "SbbDisabledMixin",
37890
37566
  "module": "core/mixins.js"
37891
37567
  }
37892
37568
  ],
37893
37569
  "superclass": {
37894
- "name": "SbbButtonBaseElement",
37570
+ "name": "SbbLinkBaseElement",
37895
37571
  "module": "core/base-elements.js"
37896
37572
  },
37897
- "tagName": "sbb-accent-button",
37573
+ "tagName": "sbb-accent-button-link",
37898
37574
  "customElement": true,
37899
37575
  "attributes": [
37900
37576
  {
@@ -37976,53 +37652,81 @@
37976
37652
  }
37977
37653
  },
37978
37654
  {
37979
- "name": "value",
37655
+ "name": "href",
37980
37656
  "type": {
37981
37657
  "text": "string"
37982
37658
  },
37983
37659
  "default": "''",
37984
- "description": "Value of the form element.",
37985
- "fieldName": "value",
37660
+ "description": "The href value you want to link to.",
37661
+ "fieldName": "href",
37986
37662
  "inheritedFrom": {
37987
- "name": "SbbButtonBaseElement",
37988
- "module": "core/base-elements/button-base-element.js"
37663
+ "name": "SbbLinkBaseElement",
37664
+ "module": "core/base-elements/link-base-element.js"
37989
37665
  }
37990
37666
  },
37991
37667
  {
37992
- "name": "type",
37993
- "description": "The type attribute to use for the button.",
37994
- "default": "'button'",
37668
+ "name": "target",
37995
37669
  "type": {
37996
- "text": "SbbButtonType"
37670
+ "text": "LinkTargetType | string"
37997
37671
  },
37998
- "fieldName": "type",
37672
+ "default": "''",
37673
+ "description": "Where to display the linked URL.",
37674
+ "fieldName": "target",
37999
37675
  "inheritedFrom": {
38000
- "name": "SbbButtonBaseElement",
38001
- "module": "core/base-elements/button-base-element.js"
37676
+ "name": "SbbLinkBaseElement",
37677
+ "module": "core/base-elements/link-base-element.js"
38002
37678
  }
38003
37679
  },
38004
37680
  {
38005
- "name": "form",
38006
- "description": "The `<form>` element to associate the button with.",
37681
+ "name": "rel",
38007
37682
  "type": {
38008
- "text": "HTMLFormElement | null"
37683
+ "text": "string"
38009
37684
  },
38010
- "fieldName": "form",
37685
+ "default": "''",
37686
+ "description": "The relationship of the linked URL as space-separated link types.",
37687
+ "fieldName": "rel",
38011
37688
  "inheritedFrom": {
38012
- "name": "SbbButtonBaseElement",
38013
- "module": "core/base-elements/button-base-element.js"
37689
+ "name": "SbbLinkBaseElement",
37690
+ "module": "core/base-elements/link-base-element.js"
38014
37691
  }
38015
37692
  },
38016
37693
  {
38017
- "name": "name",
38018
- "description": "Name of the form element. Will be read from name attribute.",
37694
+ "name": "download",
37695
+ "type": {
37696
+ "text": "boolean"
37697
+ },
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",
38019
37708
  "type": {
38020
37709
  "text": "string"
38021
37710
  },
38022
- "fieldName": "name",
37711
+ "default": "''",
37712
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
37713
+ "fieldName": "accessibilityLabel",
38023
37714
  "inheritedFrom": {
38024
- "name": "SbbFormAssociatedMixin",
38025
- "module": "core/mixins/form-associated-mixin.js"
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",
37727
+ "inheritedFrom": {
37728
+ "name": "SbbLinkBaseElement",
37729
+ "module": "core/base-elements/link-base-element.js"
38026
37730
  }
38027
37731
  }
38028
37732
  ]
@@ -38031,22 +37735,22 @@
38031
37735
  "exports": [
38032
37736
  {
38033
37737
  "kind": "js",
38034
- "name": "SbbAccentButtonElement",
37738
+ "name": "SbbAccentButtonLinkElement",
38035
37739
  "declaration": {
38036
- "name": "SbbAccentButtonElement",
38037
- "module": "button/accent-button/accent-button.component.js"
37740
+ "name": "SbbAccentButtonLinkElement",
37741
+ "module": "button/accent-button-link/accent-button-link.component.js"
38038
37742
  }
38039
37743
  }
38040
37744
  ]
38041
37745
  },
38042
37746
  {
38043
37747
  "kind": "javascript-module",
38044
- "path": "button/accent-button-link/accent-button-link.component.js",
37748
+ "path": "button/accent-button/accent-button.component.js",
38045
37749
  "declarations": [
38046
37750
  {
38047
37751
  "kind": "class",
38048
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
38049
- "name": "SbbAccentButtonLinkElement",
37752
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37753
+ "name": "SbbAccentButtonElement",
38050
37754
  "cssProperties": [
38051
37755
  {
38052
37756
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -38056,7 +37760,7 @@
38056
37760
  ],
38057
37761
  "slots": [
38058
37762
  {
38059
- "description": "Use the unnamed slot to add content to the accent-button-link.",
37763
+ "description": "Use the unnamed slot to add content to the accent-button.",
38060
37764
  "name": ""
38061
37765
  },
38062
37766
  {
@@ -38074,7 +37778,7 @@
38074
37778
  "privacy": "public",
38075
37779
  "static": true,
38076
37780
  "readonly": true,
38077
- "default": "'sbb-accent-button-link'",
37781
+ "default": "'sbb-accent-button'",
38078
37782
  "inheritedFrom": {
38079
37783
  "name": "SbbElement",
38080
37784
  "module": "core/base-elements/element.js"
@@ -38082,340 +37786,668 @@
38082
37786
  },
38083
37787
  {
38084
37788
  "kind": "field",
38085
- "name": "size",
38086
- "type": {
38087
- "text": "SbbButtonSize"
38088
- },
38089
- "privacy": "public",
38090
- "description": "Size variant, either l, m or s.",
38091
- "default": "'l' / 's' (lean)",
38092
- "attribute": "size",
38093
- "reflects": true,
37789
+ "name": "size",
37790
+ "type": {
37791
+ "text": "SbbButtonSize"
37792
+ },
37793
+ "privacy": "public",
37794
+ "description": "Size variant, either l, m or s.",
37795
+ "default": "'l' / 's' (lean)",
37796
+ "attribute": "size",
37797
+ "reflects": true,
37798
+ "inheritedFrom": {
37799
+ "name": "SbbButtonCommonElementMixin",
37800
+ "module": "button/common/button-common.js"
37801
+ }
37802
+ },
37803
+ {
37804
+ "kind": "field",
37805
+ "name": "loading",
37806
+ "type": {
37807
+ "text": "boolean"
37808
+ },
37809
+ "privacy": "public",
37810
+ "default": "false",
37811
+ "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
37812
+ "attribute": "loading",
37813
+ "reflects": true,
37814
+ "inheritedFrom": {
37815
+ "name": "SbbButtonCommonElementMixin",
37816
+ "module": "button/common/button-common.js"
37817
+ }
37818
+ },
37819
+ {
37820
+ "kind": "method",
37821
+ "name": "renderTemplate",
37822
+ "privacy": "protected",
37823
+ "return": {
37824
+ "type": {
37825
+ "text": "TemplateResult"
37826
+ }
37827
+ },
37828
+ "description": "Override this method to render the component template.",
37829
+ "inheritedFrom": {
37830
+ "name": "SbbActionBaseElement",
37831
+ "module": "core/base-elements/action-base-element.js"
37832
+ }
37833
+ },
37834
+ {
37835
+ "kind": "field",
37836
+ "name": "negative",
37837
+ "type": {
37838
+ "text": "boolean"
37839
+ },
37840
+ "privacy": "public",
37841
+ "default": "false",
37842
+ "description": "Negative coloring variant flag.",
37843
+ "attribute": "negative",
37844
+ "reflects": true,
37845
+ "inheritedFrom": {
37846
+ "name": "SbbNegativeMixin",
37847
+ "module": "core/mixins/negative-mixin.js"
37848
+ }
37849
+ },
37850
+ {
37851
+ "kind": "field",
37852
+ "name": "iconName",
37853
+ "type": {
37854
+ "text": "string"
37855
+ },
37856
+ "privacy": "public",
37857
+ "default": "''",
37858
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
37859
+ "attribute": "icon-name",
37860
+ "inheritedFrom": {
37861
+ "name": "SbbIconNameMixin",
37862
+ "module": "icon/icon-name-mixin.js"
37863
+ }
37864
+ },
37865
+ {
37866
+ "kind": "method",
37867
+ "name": "renderIconSlot",
37868
+ "privacy": "protected",
37869
+ "return": {
37870
+ "type": {
37871
+ "text": "TemplateResult"
37872
+ }
37873
+ },
37874
+ "parameters": [
37875
+ {
37876
+ "name": "classname",
37877
+ "optional": true,
37878
+ "type": {
37879
+ "text": "string"
37880
+ }
37881
+ }
37882
+ ],
37883
+ "inheritedFrom": {
37884
+ "name": "SbbIconNameMixin",
37885
+ "module": "icon/icon-name-mixin.js"
37886
+ }
37887
+ },
37888
+ {
37889
+ "kind": "method",
37890
+ "name": "renderIconName",
37891
+ "privacy": "protected",
37892
+ "return": {
37893
+ "type": {
37894
+ "text": "string"
37895
+ }
37896
+ },
37897
+ "inheritedFrom": {
37898
+ "name": "SbbIconNameMixin",
37899
+ "module": "icon/icon-name-mixin.js"
37900
+ }
37901
+ },
37902
+ {
37903
+ "kind": "method",
37904
+ "name": "_renderIconName",
37905
+ "privacy": "private",
37906
+ "return": {
37907
+ "type": {
37908
+ "text": "string"
37909
+ }
37910
+ },
37911
+ "inheritedFrom": {
37912
+ "name": "SbbIconNameMixin",
37913
+ "module": "icon/icon-name-mixin.js"
37914
+ }
37915
+ },
37916
+ {
37917
+ "kind": "field",
37918
+ "name": "disabledInteractive",
37919
+ "type": {
37920
+ "text": "boolean"
37921
+ },
37922
+ "privacy": "public",
37923
+ "default": "false",
37924
+ "description": "Whether the button should be aria-disabled but stay interactive.",
37925
+ "attribute": "disabled-interactive",
37926
+ "reflects": true,
37927
+ "inheritedFrom": {
37928
+ "name": "SbbDisabledInteractiveMixin",
37929
+ "module": "core/mixins/disabled-mixin.js"
37930
+ }
37931
+ },
37932
+ {
37933
+ "kind": "field",
37934
+ "name": "disabled",
37935
+ "privacy": "public",
37936
+ "description": "Whether the component is disabled.",
37937
+ "default": "false",
37938
+ "type": {
37939
+ "text": "boolean"
37940
+ },
37941
+ "attribute": "disabled",
37942
+ "reflects": true,
37943
+ "inheritedFrom": {
37944
+ "name": "SbbDisabledMixin",
37945
+ "module": "core/mixins/disabled-mixin.js"
37946
+ }
37947
+ },
37948
+ {
37949
+ "kind": "field",
37950
+ "name": "#disabled",
37951
+ "privacy": "private",
37952
+ "type": {
37953
+ "text": "boolean"
37954
+ },
37955
+ "default": "false",
37956
+ "inheritedFrom": {
37957
+ "name": "SbbDisabledMixin",
37958
+ "module": "core/mixins/disabled-mixin.js"
37959
+ }
37960
+ },
37961
+ {
37962
+ "kind": "method",
37963
+ "name": "isDisabledExternally",
37964
+ "privacy": "protected",
37965
+ "return": {
37966
+ "type": {
37967
+ "text": "boolean"
37968
+ }
37969
+ },
37970
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
37971
+ "inheritedFrom": {
37972
+ "name": "SbbDisabledMixin",
37973
+ "module": "core/mixins/disabled-mixin.js"
37974
+ }
37975
+ },
37976
+ {
37977
+ "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",
37993
+ "type": {
37994
+ "text": "string"
37995
+ },
37996
+ "privacy": "public",
37997
+ "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",
38015
+ "inheritedFrom": {
38016
+ "name": "SbbButtonBaseElement",
38017
+ "module": "core/base-elements/button-base-element.js"
38018
+ }
38019
+ },
38020
+ {
38021
+ "kind": "field",
38022
+ "name": "form",
38023
+ "type": {
38024
+ "text": "HTMLFormElement | null"
38025
+ },
38026
+ "privacy": "public",
38027
+ "description": "The `<form>` element to associate the button with.",
38028
+ "attribute": "form",
38029
+ "inheritedFrom": {
38030
+ "name": "SbbButtonBaseElement",
38031
+ "module": "core/base-elements/button-base-element.js"
38032
+ }
38033
+ },
38034
+ {
38035
+ "kind": "field",
38036
+ "name": "_formId",
38037
+ "type": {
38038
+ "text": "string"
38039
+ },
38040
+ "privacy": "private",
38041
+ "default": "''",
38042
+ "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"
38085
+ }
38086
+ },
38087
+ {
38088
+ "kind": "field",
38089
+ "name": "formAssociated",
38090
+ "type": {
38091
+ "text": "boolean"
38092
+ },
38093
+ "privacy": "public",
38094
+ "static": true,
38095
+ "default": "true",
38096
+ "inheritedFrom": {
38097
+ "name": "SbbFormAssociatedMixin",
38098
+ "module": "core/mixins/form-associated-mixin.js"
38099
+ }
38100
+ },
38101
+ {
38102
+ "kind": "field",
38103
+ "name": "name",
38104
+ "privacy": "public",
38105
+ "description": "Name of the form element. Will be read from name attribute.",
38106
+ "type": {
38107
+ "text": "string"
38108
+ },
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
+ "privacy": "public",
38122
+ "description": "Returns the ValidityState object for this element.",
38123
+ "readonly": true,
38124
+ "inheritedFrom": {
38125
+ "name": "SbbFormAssociatedMixin",
38126
+ "module": "core/mixins/form-associated-mixin.js"
38127
+ }
38128
+ },
38129
+ {
38130
+ "kind": "field",
38131
+ "name": "validationMessage",
38132
+ "type": {
38133
+ "text": "string"
38134
+ },
38135
+ "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,
38152
+ "inheritedFrom": {
38153
+ "name": "SbbFormAssociatedMixin",
38154
+ "module": "core/mixins/form-associated-mixin.js"
38155
+ }
38156
+ },
38157
+ {
38158
+ "kind": "field",
38159
+ "name": "_validityStates",
38160
+ "privacy": "private",
38161
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
38094
38162
  "inheritedFrom": {
38095
- "name": "SbbButtonCommonElementMixin",
38096
- "module": "button/common/button-common.js"
38163
+ "name": "SbbFormAssociatedMixin",
38164
+ "module": "core/mixins/form-associated-mixin.js"
38097
38165
  }
38098
38166
  },
38099
38167
  {
38100
38168
  "kind": "field",
38101
- "name": "loading",
38169
+ "name": "formDisabled",
38102
38170
  "type": {
38103
38171
  "text": "boolean"
38104
38172
  },
38105
- "privacy": "public",
38173
+ "privacy": "protected",
38106
38174
  "default": "false",
38107
- "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
38108
- "attribute": "loading",
38109
- "reflects": true,
38175
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
38110
38176
  "inheritedFrom": {
38111
- "name": "SbbButtonCommonElementMixin",
38112
- "module": "button/common/button-common.js"
38177
+ "name": "SbbFormAssociatedMixin",
38178
+ "module": "core/mixins/form-associated-mixin.js"
38113
38179
  }
38114
38180
  },
38115
38181
  {
38116
38182
  "kind": "method",
38117
- "name": "renderTemplate",
38118
- "privacy": "protected",
38183
+ "name": "checkValidity",
38184
+ "privacy": "public",
38119
38185
  "return": {
38120
38186
  "type": {
38121
- "text": "TemplateResult"
38187
+ "text": "boolean"
38122
38188
  }
38123
38189
  },
38124
- "description": "Override this method to render the component template.",
38190
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
38125
38191
  "inheritedFrom": {
38126
- "name": "SbbActionBaseElement",
38127
- "module": "core/base-elements/action-base-element.js"
38192
+ "name": "SbbFormAssociatedMixin",
38193
+ "module": "core/mixins/form-associated-mixin.js"
38128
38194
  }
38129
38195
  },
38130
38196
  {
38131
- "kind": "field",
38132
- "name": "negative",
38133
- "type": {
38134
- "text": "boolean"
38135
- },
38197
+ "kind": "method",
38198
+ "name": "reportValidity",
38136
38199
  "privacy": "public",
38137
- "default": "false",
38138
- "description": "Negative coloring variant flag.",
38139
- "attribute": "negative",
38140
- "reflects": true,
38141
- "inheritedFrom": {
38142
- "name": "SbbNegativeMixin",
38143
- "module": "core/mixins/negative-mixin.js"
38144
- }
38145
- },
38146
- {
38147
- "kind": "field",
38148
- "name": "iconName",
38149
- "type": {
38150
- "text": "string"
38200
+ "return": {
38201
+ "type": {
38202
+ "text": "boolean"
38203
+ }
38151
38204
  },
38152
- "privacy": "public",
38153
- "default": "''",
38154
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
38155
- "attribute": "icon-name",
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.",
38156
38206
  "inheritedFrom": {
38157
- "name": "SbbIconNameMixin",
38158
- "module": "icon/icon-name-mixin.js"
38207
+ "name": "SbbFormAssociatedMixin",
38208
+ "module": "core/mixins/form-associated-mixin.js"
38159
38209
  }
38160
38210
  },
38161
38211
  {
38162
38212
  "kind": "method",
38163
- "name": "renderIconSlot",
38164
- "privacy": "protected",
38213
+ "name": "setCustomValidity",
38214
+ "privacy": "public",
38165
38215
  "return": {
38166
38216
  "type": {
38167
- "text": "TemplateResult"
38217
+ "text": "void"
38168
38218
  }
38169
38219
  },
38170
38220
  "parameters": [
38171
38221
  {
38172
- "name": "classname",
38173
- "optional": true,
38222
+ "name": "message",
38174
38223
  "type": {
38175
38224
  "text": "string"
38176
38225
  }
38177
38226
  }
38178
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.",
38179
38229
  "inheritedFrom": {
38180
- "name": "SbbIconNameMixin",
38181
- "module": "icon/icon-name-mixin.js"
38230
+ "name": "SbbFormAssociatedMixin",
38231
+ "module": "core/mixins/form-associated-mixin.js"
38182
38232
  }
38183
38233
  },
38184
38234
  {
38185
38235
  "kind": "method",
38186
- "name": "renderIconName",
38187
- "privacy": "protected",
38236
+ "name": "_hasDisabledAncestor",
38237
+ "privacy": "private",
38188
38238
  "return": {
38189
38239
  "type": {
38190
- "text": "string"
38240
+ "text": "boolean"
38191
38241
  }
38192
38242
  },
38193
38243
  "inheritedFrom": {
38194
- "name": "SbbIconNameMixin",
38195
- "module": "icon/icon-name-mixin.js"
38244
+ "name": "SbbFormAssociatedMixin",
38245
+ "module": "core/mixins/form-associated-mixin.js"
38196
38246
  }
38197
38247
  },
38198
38248
  {
38199
38249
  "kind": "method",
38200
- "name": "_renderIconName",
38201
- "privacy": "private",
38250
+ "name": "updateFormValue",
38251
+ "privacy": "protected",
38202
38252
  "return": {
38203
38253
  "type": {
38204
- "text": "string"
38254
+ "text": "void"
38205
38255
  }
38206
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",
38207
38258
  "inheritedFrom": {
38208
- "name": "SbbIconNameMixin",
38209
- "module": "icon/icon-name-mixin.js"
38210
- }
38211
- },
38212
- {
38213
- "kind": "field",
38214
- "name": "disabledInteractive",
38215
- "type": {
38216
- "text": "boolean"
38217
- },
38218
- "privacy": "public",
38219
- "default": "false",
38220
- "description": "Whether the button should be aria-disabled but stay interactive.",
38221
- "attribute": "disabled-interactive",
38222
- "reflects": true,
38223
- "inheritedFrom": {
38224
- "name": "SbbDisabledInteractiveMixin",
38225
- "module": "core/mixins/disabled-mixin.js"
38226
- }
38227
- },
38228
- {
38229
- "kind": "field",
38230
- "name": "disabled",
38231
- "privacy": "public",
38232
- "description": "Whether the component is disabled.",
38233
- "default": "false",
38234
- "type": {
38235
- "text": "boolean"
38236
- },
38237
- "attribute": "disabled",
38238
- "reflects": true,
38239
- "inheritedFrom": {
38240
- "name": "SbbDisabledMixin",
38241
- "module": "core/mixins/disabled-mixin.js"
38259
+ "name": "SbbFormAssociatedMixin",
38260
+ "module": "core/mixins/form-associated-mixin.js"
38242
38261
  }
38243
38262
  },
38244
38263
  {
38245
- "kind": "field",
38246
- "name": "#disabled",
38247
- "privacy": "private",
38248
- "type": {
38249
- "text": "boolean"
38264
+ "kind": "method",
38265
+ "name": "formState",
38266
+ "privacy": "protected",
38267
+ "return": {
38268
+ "type": {
38269
+ "text": "FormRestoreState"
38270
+ }
38250
38271
  },
38251
- "default": "false",
38252
38272
  "inheritedFrom": {
38253
- "name": "SbbDisabledMixin",
38254
- "module": "core/mixins/disabled-mixin.js"
38273
+ "name": "SbbFormAssociatedMixin",
38274
+ "module": "core/mixins/form-associated-mixin.js"
38255
38275
  }
38256
38276
  },
38257
38277
  {
38258
38278
  "kind": "method",
38259
- "name": "isDisabledExternally",
38279
+ "name": "setValidityFlag",
38260
38280
  "privacy": "protected",
38261
38281
  "return": {
38262
38282
  "type": {
38263
- "text": "boolean"
38283
+ "text": "void"
38264
38284
  }
38265
38285
  },
38266
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
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).",
38267
38308
  "inheritedFrom": {
38268
- "name": "SbbDisabledMixin",
38269
- "module": "core/mixins/disabled-mixin.js"
38309
+ "name": "SbbFormAssociatedMixin",
38310
+ "module": "core/mixins/form-associated-mixin.js"
38270
38311
  }
38271
38312
  },
38272
38313
  {
38273
- "kind": "field",
38274
- "name": "href",
38275
- "type": {
38276
- "text": "string"
38314
+ "kind": "method",
38315
+ "name": "removeValidityFlag",
38316
+ "privacy": "protected",
38317
+ "return": {
38318
+ "type": {
38319
+ "text": "void"
38320
+ }
38277
38321
  },
38278
- "privacy": "public",
38279
- "default": "''",
38280
- "description": "The href value you want to link to.",
38281
- "attribute": "href",
38282
- "reflects": true,
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.",
38283
38331
  "inheritedFrom": {
38284
- "name": "SbbLinkBaseElement",
38285
- "module": "core/base-elements/link-base-element.js"
38332
+ "name": "SbbFormAssociatedMixin",
38333
+ "module": "core/mixins/form-associated-mixin.js"
38286
38334
  }
38287
38335
  },
38288
38336
  {
38289
- "kind": "field",
38290
- "name": "target",
38291
- "type": {
38292
- "text": "LinkTargetType | string"
38337
+ "kind": "method",
38338
+ "name": "validate",
38339
+ "privacy": "protected",
38340
+ "return": {
38341
+ "type": {
38342
+ "text": "void"
38343
+ }
38293
38344
  },
38294
- "privacy": "public",
38295
- "default": "''",
38296
- "description": "Where to display the linked URL.",
38297
- "attribute": "target",
38298
- "reflects": true,
38345
+ "description": "To be called whenever the current element needs to be validated.",
38299
38346
  "inheritedFrom": {
38300
- "name": "SbbLinkBaseElement",
38301
- "module": "core/base-elements/link-base-element.js"
38347
+ "name": "SbbFormAssociatedMixin",
38348
+ "module": "core/mixins/form-associated-mixin.js"
38302
38349
  }
38303
38350
  },
38304
38351
  {
38305
- "kind": "field",
38306
- "name": "rel",
38307
- "type": {
38308
- "text": "string"
38352
+ "kind": "method",
38353
+ "name": "shouldValidate",
38354
+ "privacy": "protected",
38355
+ "return": {
38356
+ "type": {
38357
+ "text": "boolean"
38358
+ }
38309
38359
  },
38310
- "privacy": "public",
38311
- "default": "''",
38312
- "description": "The relationship of the linked URL as space-separated link types.",
38313
- "attribute": "rel",
38314
- "reflects": true,
38360
+ "parameters": [
38361
+ {
38362
+ "name": "name",
38363
+ "type": {
38364
+ "text": "PropertyKey | undefined"
38365
+ }
38366
+ }
38367
+ ],
38368
+ "description": "Whether validation should be run on a property change with the given name.",
38315
38369
  "inheritedFrom": {
38316
- "name": "SbbLinkBaseElement",
38317
- "module": "core/base-elements/link-base-element.js"
38370
+ "name": "SbbFormAssociatedMixin",
38371
+ "module": "core/mixins/form-associated-mixin.js"
38318
38372
  }
38319
38373
  },
38320
38374
  {
38321
- "kind": "field",
38322
- "name": "download",
38323
- "type": {
38324
- "text": "boolean"
38375
+ "kind": "method",
38376
+ "name": "_setInternalValidity",
38377
+ "privacy": "private",
38378
+ "return": {
38379
+ "type": {
38380
+ "text": "void"
38381
+ }
38325
38382
  },
38326
- "privacy": "public",
38327
- "default": "false",
38328
- "description": "Whether the browser will show the download dialog on click.",
38329
- "attribute": "download",
38330
- "reflects": true,
38331
38383
  "inheritedFrom": {
38332
- "name": "SbbLinkBaseElement",
38333
- "module": "core/base-elements/link-base-element.js"
38384
+ "name": "SbbFormAssociatedMixin",
38385
+ "module": "core/mixins/form-associated-mixin.js"
38334
38386
  }
38335
38387
  },
38336
38388
  {
38337
38389
  "kind": "field",
38338
- "name": "accessibilityLabel",
38390
+ "name": "role",
38339
38391
  "type": {
38340
- "text": "string"
38392
+ "text": "ElementInternals['role']"
38341
38393
  },
38342
38394
  "privacy": "public",
38343
- "default": "''",
38344
- "description": "This will be forwarded as aria-label to the inner anchor element.",
38345
- "attribute": "accessibility-label",
38395
+ "static": true,
38396
+ "readonly": true,
38397
+ "default": "'button'",
38346
38398
  "inheritedFrom": {
38347
- "name": "SbbLinkBaseElement",
38348
- "module": "core/base-elements/link-base-element.js"
38399
+ "name": "SbbButtonLikeBaseElement",
38400
+ "module": "core/base-elements/button-base-element.js"
38349
38401
  }
38350
38402
  },
38351
38403
  {
38352
38404
  "kind": "field",
38353
- "name": "accessibilityCurrent",
38354
- "type": {
38355
- "text": "string"
38356
- },
38357
- "privacy": "public",
38358
- "default": "''",
38359
- "description": "This will be forwarded as aria-current to the inner anchor element.",
38360
- "attribute": "accessibility-current",
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
+ ],
38361
38414
  "inheritedFrom": {
38362
- "name": "SbbLinkBaseElement",
38363
- "module": "core/base-elements/link-base-element.js"
38415
+ "name": "SbbButtonLikeBaseElement",
38416
+ "module": "core/base-elements/button-base-element.js"
38364
38417
  }
38365
38418
  },
38366
38419
  {
38367
38420
  "kind": "field",
38368
- "name": "language",
38369
- "privacy": "protected",
38370
- "default": "new SbbLanguageController(this)",
38421
+ "name": "_removeActiveMarker",
38422
+ "privacy": "private",
38371
38423
  "inheritedFrom": {
38372
- "name": "SbbLinkBaseElement",
38373
- "module": "core/base-elements/link-base-element.js"
38424
+ "name": "SbbButtonLikeBaseElement",
38425
+ "module": "core/base-elements/button-base-element.js"
38374
38426
  }
38375
38427
  },
38376
38428
  {
38377
38429
  "kind": "field",
38378
- "name": "anchorRole",
38379
- "type": {
38380
- "text": "string | null"
38381
- },
38382
- "privacy": "protected",
38383
- "readonly": true,
38384
- "default": "null",
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
+ ],
38385
38439
  "inheritedFrom": {
38386
- "name": "SbbLinkBaseElement",
38387
- "module": "core/base-elements/link-base-element.js"
38440
+ "name": "SbbButtonLikeBaseElement",
38441
+ "module": "core/base-elements/button-base-element.js"
38388
38442
  }
38389
38443
  },
38390
38444
  {
38391
38445
  "kind": "field",
38392
- "name": "_evaluateRelAttribute",
38446
+ "name": "_dispatchClickEvent",
38393
38447
  "privacy": "private",
38394
38448
  "inheritedFrom": {
38395
- "name": "SbbLinkBaseElement",
38396
- "module": "core/base-elements/link-base-element.js"
38397
- }
38398
- },
38399
- {
38400
- "kind": "method",
38401
- "name": "renderLink",
38402
- "privacy": "protected",
38403
- "return": {
38404
- "type": {
38405
- "text": "TemplateResult"
38406
- }
38407
- },
38408
- "parameters": [
38409
- {
38410
- "name": "renderContent",
38411
- "type": {
38412
- "text": "TemplateResult"
38413
- }
38414
- }
38415
- ],
38416
- "inheritedFrom": {
38417
- "name": "SbbLinkBaseElement",
38418
- "module": "core/base-elements/link-base-element.js"
38449
+ "name": "SbbButtonLikeBaseElement",
38450
+ "module": "core/base-elements/button-base-element.js"
38419
38451
  }
38420
38452
  },
38421
38453
  {
@@ -38570,19 +38602,15 @@
38570
38602
  "module": "button/common/button-common.js"
38571
38603
  },
38572
38604
  {
38573
- "name": "SbbDisabledInteractiveMixin",
38574
- "module": "core/mixins.js"
38575
- },
38576
- {
38577
- "name": "SbbDisabledMixin",
38605
+ "name": "SbbDisabledTabIndexActionMixin",
38578
38606
  "module": "core/mixins.js"
38579
38607
  }
38580
38608
  ],
38581
38609
  "superclass": {
38582
- "name": "SbbLinkBaseElement",
38610
+ "name": "SbbButtonBaseElement",
38583
38611
  "module": "core/base-elements.js"
38584
38612
  },
38585
- "tagName": "sbb-accent-button-link",
38613
+ "tagName": "sbb-accent-button",
38586
38614
  "customElement": true,
38587
38615
  "attributes": [
38588
38616
  {
@@ -38664,81 +38692,53 @@
38664
38692
  }
38665
38693
  },
38666
38694
  {
38667
- "name": "href",
38668
- "type": {
38669
- "text": "string"
38670
- },
38671
- "default": "''",
38672
- "description": "The href value you want to link to.",
38673
- "fieldName": "href",
38674
- "inheritedFrom": {
38675
- "name": "SbbLinkBaseElement",
38676
- "module": "core/base-elements/link-base-element.js"
38677
- }
38678
- },
38679
- {
38680
- "name": "target",
38681
- "type": {
38682
- "text": "LinkTargetType | string"
38683
- },
38684
- "default": "''",
38685
- "description": "Where to display the linked URL.",
38686
- "fieldName": "target",
38687
- "inheritedFrom": {
38688
- "name": "SbbLinkBaseElement",
38689
- "module": "core/base-elements/link-base-element.js"
38690
- }
38691
- },
38692
- {
38693
- "name": "rel",
38695
+ "name": "value",
38694
38696
  "type": {
38695
38697
  "text": "string"
38696
38698
  },
38697
38699
  "default": "''",
38698
- "description": "The relationship of the linked URL as space-separated link types.",
38699
- "fieldName": "rel",
38700
+ "description": "Value of the form element.",
38701
+ "fieldName": "value",
38700
38702
  "inheritedFrom": {
38701
- "name": "SbbLinkBaseElement",
38702
- "module": "core/base-elements/link-base-element.js"
38703
+ "name": "SbbButtonBaseElement",
38704
+ "module": "core/base-elements/button-base-element.js"
38703
38705
  }
38704
38706
  },
38705
38707
  {
38706
- "name": "download",
38708
+ "name": "type",
38709
+ "description": "The type attribute to use for the button.",
38710
+ "default": "'button'",
38707
38711
  "type": {
38708
- "text": "boolean"
38712
+ "text": "SbbButtonType"
38709
38713
  },
38710
- "default": "false",
38711
- "description": "Whether the browser will show the download dialog on click.",
38712
- "fieldName": "download",
38714
+ "fieldName": "type",
38713
38715
  "inheritedFrom": {
38714
- "name": "SbbLinkBaseElement",
38715
- "module": "core/base-elements/link-base-element.js"
38716
+ "name": "SbbButtonBaseElement",
38717
+ "module": "core/base-elements/button-base-element.js"
38716
38718
  }
38717
38719
  },
38718
38720
  {
38719
- "name": "accessibility-label",
38721
+ "name": "form",
38722
+ "description": "The `<form>` element to associate the button with.",
38720
38723
  "type": {
38721
- "text": "string"
38724
+ "text": "HTMLFormElement | null"
38722
38725
  },
38723
- "default": "''",
38724
- "description": "This will be forwarded as aria-label to the inner anchor element.",
38725
- "fieldName": "accessibilityLabel",
38726
+ "fieldName": "form",
38726
38727
  "inheritedFrom": {
38727
- "name": "SbbLinkBaseElement",
38728
- "module": "core/base-elements/link-base-element.js"
38728
+ "name": "SbbButtonBaseElement",
38729
+ "module": "core/base-elements/button-base-element.js"
38729
38730
  }
38730
38731
  },
38731
38732
  {
38732
- "name": "accessibility-current",
38733
+ "name": "name",
38734
+ "description": "Name of the form element. Will be read from name attribute.",
38733
38735
  "type": {
38734
38736
  "text": "string"
38735
38737
  },
38736
- "default": "''",
38737
- "description": "This will be forwarded as aria-current to the inner anchor element.",
38738
- "fieldName": "accessibilityCurrent",
38738
+ "fieldName": "name",
38739
38739
  "inheritedFrom": {
38740
- "name": "SbbLinkBaseElement",
38741
- "module": "core/base-elements/link-base-element.js"
38740
+ "name": "SbbFormAssociatedMixin",
38741
+ "module": "core/mixins/form-associated-mixin.js"
38742
38742
  }
38743
38743
  }
38744
38744
  ]
@@ -38747,10 +38747,10 @@
38747
38747
  "exports": [
38748
38748
  {
38749
38749
  "kind": "js",
38750
- "name": "SbbAccentButtonLinkElement",
38750
+ "name": "SbbAccentButtonElement",
38751
38751
  "declaration": {
38752
- "name": "SbbAccentButtonLinkElement",
38753
- "module": "button/accent-button-link/accent-button-link.component.js"
38752
+ "name": "SbbAccentButtonElement",
38753
+ "module": "button/accent-button/accent-button.component.js"
38754
38754
  }
38755
38755
  }
38756
38756
  ]
@@ -77903,26 +77903,6 @@
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
- },
77926
77906
  {
77927
77907
  "kind": "javascript-module",
77928
77908
  "path": "core/testing/event-spy.js",
@@ -78320,6 +78300,26 @@
78320
78300
  }
78321
78301
  ]
78322
78302
  },
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",
@@ -122782,6 +122782,310 @@
122782
122782
  }
122783
122783
  ]
122784
122784
  },
122785
+ {
122786
+ "kind": "javascript-module",
122787
+ "path": "stepper/step/step.component.js",
122788
+ "declarations": [
122789
+ {
122790
+ "kind": "class",
122791
+ "description": "Combined with a `sbb-stepper`, it displays a step's content.",
122792
+ "name": "SbbStepElement",
122793
+ "slots": [
122794
+ {
122795
+ "description": "Use the unnamed slot to provide content.",
122796
+ "name": ""
122797
+ }
122798
+ ],
122799
+ "members": [
122800
+ {
122801
+ "kind": "field",
122802
+ "name": "elementName",
122803
+ "type": {
122804
+ "text": "string"
122805
+ },
122806
+ "privacy": "public",
122807
+ "static": true,
122808
+ "readonly": true,
122809
+ "default": "'sbb-step'",
122810
+ "inheritedFrom": {
122811
+ "name": "SbbElement",
122812
+ "module": "core/base-elements/element.js"
122813
+ }
122814
+ },
122815
+ {
122816
+ "kind": "field",
122817
+ "name": "role",
122818
+ "type": {
122819
+ "text": "string"
122820
+ },
122821
+ "privacy": "public",
122822
+ "static": true,
122823
+ "readonly": true,
122824
+ "default": "'tabpanel'"
122825
+ },
122826
+ {
122827
+ "kind": "field",
122828
+ "name": "events",
122829
+ "privacy": "public",
122830
+ "static": true,
122831
+ "readonly": true,
122832
+ "default": "{ validate: 'validate', resizechange: 'resizechange', }",
122833
+ "type": {
122834
+ "text": "{\n validate: 'validate',\n resizechange: 'resizechange',\n }"
122835
+ }
122836
+ },
122837
+ {
122838
+ "kind": "field",
122839
+ "name": "_stepResizeObserver",
122840
+ "privacy": "private",
122841
+ "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => setTimeout(() => this._onStepElementResize()), })"
122842
+ },
122843
+ {
122844
+ "kind": "field",
122845
+ "name": "label",
122846
+ "type": {
122847
+ "text": "SbbStepLabelElement | null"
122848
+ },
122849
+ "privacy": "public",
122850
+ "description": "The label of the step.",
122851
+ "readonly": true,
122852
+ "default": "null"
122853
+ },
122854
+ {
122855
+ "kind": "field",
122856
+ "name": "_label",
122857
+ "type": {
122858
+ "text": "SbbStepLabelElement | null"
122859
+ },
122860
+ "privacy": "private",
122861
+ "default": "null"
122862
+ },
122863
+ {
122864
+ "kind": "field",
122865
+ "name": "stepper",
122866
+ "type": {
122867
+ "text": "SbbStepperElement | null"
122868
+ },
122869
+ "privacy": "public",
122870
+ "readonly": true
122871
+ },
122872
+ {
122873
+ "kind": "field",
122874
+ "name": "_previousOrientation",
122875
+ "type": {
122876
+ "text": "string | undefined"
122877
+ },
122878
+ "privacy": "private"
122879
+ },
122880
+ {
122881
+ "kind": "method",
122882
+ "name": "_handleClick",
122883
+ "privacy": "private",
122884
+ "return": {
122885
+ "type": {
122886
+ "text": "void"
122887
+ }
122888
+ },
122889
+ "parameters": [
122890
+ {
122891
+ "name": "event",
122892
+ "type": {
122893
+ "text": "Event"
122894
+ }
122895
+ }
122896
+ ],
122897
+ "description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
122898
+ },
122899
+ {
122900
+ "kind": "method",
122901
+ "name": "_isGoNextElement",
122902
+ "privacy": "private",
122903
+ "return": {
122904
+ "type": {
122905
+ "text": "boolean"
122906
+ }
122907
+ },
122908
+ "parameters": [
122909
+ {
122910
+ "name": "element",
122911
+ "type": {
122912
+ "text": "HTMLElement"
122913
+ }
122914
+ }
122915
+ ]
122916
+ },
122917
+ {
122918
+ "kind": "method",
122919
+ "name": "_isGoPreviousElement",
122920
+ "privacy": "private",
122921
+ "return": {
122922
+ "type": {
122923
+ "text": "boolean"
122924
+ }
122925
+ },
122926
+ "parameters": [
122927
+ {
122928
+ "name": "element",
122929
+ "type": {
122930
+ "text": "HTMLElement"
122931
+ }
122932
+ }
122933
+ ]
122934
+ },
122935
+ {
122936
+ "kind": "method",
122937
+ "name": "_onStepElementResize",
122938
+ "privacy": "private",
122939
+ "return": {
122940
+ "type": {
122941
+ "text": "void"
122942
+ }
122943
+ }
122944
+ },
122945
+ {
122946
+ "kind": "method",
122947
+ "name": "_assignLabel",
122948
+ "privacy": "private",
122949
+ "return": {
122950
+ "type": {
122951
+ "text": "void"
122952
+ }
122953
+ }
122954
+ },
122955
+ {
122956
+ "kind": "field",
122957
+ "name": "_hydrationRequired",
122958
+ "type": {
122959
+ "text": "boolean"
122960
+ },
122961
+ "privacy": "private",
122962
+ "default": "!!this.shadowRoot",
122963
+ "inheritedFrom": {
122964
+ "name": "SbbElement",
122965
+ "module": "core/base-elements/element.js"
122966
+ }
122967
+ },
122968
+ {
122969
+ "kind": "field",
122970
+ "name": "_hydrationComplete",
122971
+ "privacy": "private",
122972
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
122973
+ "inheritedFrom": {
122974
+ "name": "SbbElement",
122975
+ "module": "core/base-elements/element.js"
122976
+ }
122977
+ },
122978
+ {
122979
+ "kind": "field",
122980
+ "name": "_resolveHydration",
122981
+ "type": {
122982
+ "text": "(hydrationRequired: boolean) => void"
122983
+ },
122984
+ "privacy": "private",
122985
+ "inheritedFrom": {
122986
+ "name": "SbbElement",
122987
+ "module": "core/base-elements/element.js"
122988
+ }
122989
+ },
122990
+ {
122991
+ "kind": "field",
122992
+ "name": "hydrationRequired",
122993
+ "type": {
122994
+ "text": "boolean"
122995
+ },
122996
+ "privacy": "protected",
122997
+ "description": "Returns whether hydration is required and not completed.",
122998
+ "readonly": true,
122999
+ "inheritedFrom": {
123000
+ "name": "SbbElement",
123001
+ "module": "core/base-elements/element.js"
123002
+ },
123003
+ "default": "!!this.shadowRoot"
123004
+ },
123005
+ {
123006
+ "kind": "method",
123007
+ "name": "toggleState",
123008
+ "privacy": "protected",
123009
+ "return": {
123010
+ "type": {
123011
+ "text": "void"
123012
+ }
123013
+ },
123014
+ "parameters": [
123015
+ {
123016
+ "name": "value",
123017
+ "type": {
123018
+ "text": "string"
123019
+ }
123020
+ },
123021
+ {
123022
+ "name": "force",
123023
+ "optional": true,
123024
+ "type": {
123025
+ "text": "boolean"
123026
+ }
123027
+ }
123028
+ ],
123029
+ "inheritedFrom": {
123030
+ "name": "SbbElement",
123031
+ "module": "core/base-elements/element.js"
123032
+ }
123033
+ },
123034
+ {
123035
+ "kind": "field",
123036
+ "name": "['_$sbbElement$']",
123037
+ "type": {
123038
+ "text": "boolean"
123039
+ },
123040
+ "privacy": "public",
123041
+ "static": true,
123042
+ "default": "true",
123043
+ "inheritedFrom": {
123044
+ "name": "SbbElement",
123045
+ "module": "core/base-elements/element.js"
123046
+ }
123047
+ },
123048
+ {
123049
+ "kind": "field",
123050
+ "name": "_controllers",
123051
+ "type": {
123052
+ "text": "Set<SbbReactiveController> | undefined"
123053
+ },
123054
+ "privacy": "private",
123055
+ "inheritedFrom": {
123056
+ "name": "SbbElement",
123057
+ "module": "core/base-elements/element.js"
123058
+ }
123059
+ }
123060
+ ],
123061
+ "events": [
123062
+ {
123063
+ "name": "validate",
123064
+ "type": {
123065
+ "text": "CustomEvent<SbbStepValidateEventDetails>"
123066
+ },
123067
+ "description": "The validate event is dispatched when a step change is triggered. Can be canceled to abort the step change."
123068
+ }
123069
+ ],
123070
+ "superclass": {
123071
+ "name": "SbbElement",
123072
+ "module": "core/base-elements.js"
123073
+ },
123074
+ "tagName": "sbb-step",
123075
+ "customElement": true
123076
+ }
123077
+ ],
123078
+ "exports": [
123079
+ {
123080
+ "kind": "js",
123081
+ "name": "SbbStepElement",
123082
+ "declaration": {
123083
+ "name": "SbbStepElement",
123084
+ "module": "stepper/step/step.component.js"
123085
+ }
123086
+ }
123087
+ ]
123088
+ },
122785
123089
  {
122786
123090
  "kind": "javascript-module",
122787
123091
  "path": "stepper/step-label/step-label.component.js",
@@ -123744,310 +124048,6 @@
123744
124048
  }
123745
124049
  ]
123746
124050
  },
123747
- {
123748
- "kind": "javascript-module",
123749
- "path": "stepper/step/step.component.js",
123750
- "declarations": [
123751
- {
123752
- "kind": "class",
123753
- "description": "Combined with a `sbb-stepper`, it displays a step's content.",
123754
- "name": "SbbStepElement",
123755
- "slots": [
123756
- {
123757
- "description": "Use the unnamed slot to provide content.",
123758
- "name": ""
123759
- }
123760
- ],
123761
- "members": [
123762
- {
123763
- "kind": "field",
123764
- "name": "elementName",
123765
- "type": {
123766
- "text": "string"
123767
- },
123768
- "privacy": "public",
123769
- "static": true,
123770
- "readonly": true,
123771
- "default": "'sbb-step'",
123772
- "inheritedFrom": {
123773
- "name": "SbbElement",
123774
- "module": "core/base-elements/element.js"
123775
- }
123776
- },
123777
- {
123778
- "kind": "field",
123779
- "name": "role",
123780
- "type": {
123781
- "text": "string"
123782
- },
123783
- "privacy": "public",
123784
- "static": true,
123785
- "readonly": true,
123786
- "default": "'tabpanel'"
123787
- },
123788
- {
123789
- "kind": "field",
123790
- "name": "events",
123791
- "privacy": "public",
123792
- "static": true,
123793
- "readonly": true,
123794
- "default": "{ validate: 'validate', resizechange: 'resizechange', }",
123795
- "type": {
123796
- "text": "{\n validate: 'validate',\n resizechange: 'resizechange',\n }"
123797
- }
123798
- },
123799
- {
123800
- "kind": "field",
123801
- "name": "_stepResizeObserver",
123802
- "privacy": "private",
123803
- "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => setTimeout(() => this._onStepElementResize()), })"
123804
- },
123805
- {
123806
- "kind": "field",
123807
- "name": "label",
123808
- "type": {
123809
- "text": "SbbStepLabelElement | null"
123810
- },
123811
- "privacy": "public",
123812
- "description": "The label of the step.",
123813
- "readonly": true,
123814
- "default": "null"
123815
- },
123816
- {
123817
- "kind": "field",
123818
- "name": "_label",
123819
- "type": {
123820
- "text": "SbbStepLabelElement | null"
123821
- },
123822
- "privacy": "private",
123823
- "default": "null"
123824
- },
123825
- {
123826
- "kind": "field",
123827
- "name": "stepper",
123828
- "type": {
123829
- "text": "SbbStepperElement | null"
123830
- },
123831
- "privacy": "public",
123832
- "readonly": true
123833
- },
123834
- {
123835
- "kind": "field",
123836
- "name": "_previousOrientation",
123837
- "type": {
123838
- "text": "string | undefined"
123839
- },
123840
- "privacy": "private"
123841
- },
123842
- {
123843
- "kind": "method",
123844
- "name": "_handleClick",
123845
- "privacy": "private",
123846
- "return": {
123847
- "type": {
123848
- "text": "void"
123849
- }
123850
- },
123851
- "parameters": [
123852
- {
123853
- "name": "event",
123854
- "type": {
123855
- "text": "Event"
123856
- }
123857
- }
123858
- ],
123859
- "description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
123860
- },
123861
- {
123862
- "kind": "method",
123863
- "name": "_isGoNextElement",
123864
- "privacy": "private",
123865
- "return": {
123866
- "type": {
123867
- "text": "boolean"
123868
- }
123869
- },
123870
- "parameters": [
123871
- {
123872
- "name": "element",
123873
- "type": {
123874
- "text": "HTMLElement"
123875
- }
123876
- }
123877
- ]
123878
- },
123879
- {
123880
- "kind": "method",
123881
- "name": "_isGoPreviousElement",
123882
- "privacy": "private",
123883
- "return": {
123884
- "type": {
123885
- "text": "boolean"
123886
- }
123887
- },
123888
- "parameters": [
123889
- {
123890
- "name": "element",
123891
- "type": {
123892
- "text": "HTMLElement"
123893
- }
123894
- }
123895
- ]
123896
- },
123897
- {
123898
- "kind": "method",
123899
- "name": "_onStepElementResize",
123900
- "privacy": "private",
123901
- "return": {
123902
- "type": {
123903
- "text": "void"
123904
- }
123905
- }
123906
- },
123907
- {
123908
- "kind": "method",
123909
- "name": "_assignLabel",
123910
- "privacy": "private",
123911
- "return": {
123912
- "type": {
123913
- "text": "void"
123914
- }
123915
- }
123916
- },
123917
- {
123918
- "kind": "field",
123919
- "name": "_hydrationRequired",
123920
- "type": {
123921
- "text": "boolean"
123922
- },
123923
- "privacy": "private",
123924
- "default": "!!this.shadowRoot",
123925
- "inheritedFrom": {
123926
- "name": "SbbElement",
123927
- "module": "core/base-elements/element.js"
123928
- }
123929
- },
123930
- {
123931
- "kind": "field",
123932
- "name": "_hydrationComplete",
123933
- "privacy": "private",
123934
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
123935
- "inheritedFrom": {
123936
- "name": "SbbElement",
123937
- "module": "core/base-elements/element.js"
123938
- }
123939
- },
123940
- {
123941
- "kind": "field",
123942
- "name": "_resolveHydration",
123943
- "type": {
123944
- "text": "(hydrationRequired: boolean) => void"
123945
- },
123946
- "privacy": "private",
123947
- "inheritedFrom": {
123948
- "name": "SbbElement",
123949
- "module": "core/base-elements/element.js"
123950
- }
123951
- },
123952
- {
123953
- "kind": "field",
123954
- "name": "hydrationRequired",
123955
- "type": {
123956
- "text": "boolean"
123957
- },
123958
- "privacy": "protected",
123959
- "description": "Returns whether hydration is required and not completed.",
123960
- "readonly": true,
123961
- "inheritedFrom": {
123962
- "name": "SbbElement",
123963
- "module": "core/base-elements/element.js"
123964
- },
123965
- "default": "!!this.shadowRoot"
123966
- },
123967
- {
123968
- "kind": "method",
123969
- "name": "toggleState",
123970
- "privacy": "protected",
123971
- "return": {
123972
- "type": {
123973
- "text": "void"
123974
- }
123975
- },
123976
- "parameters": [
123977
- {
123978
- "name": "value",
123979
- "type": {
123980
- "text": "string"
123981
- }
123982
- },
123983
- {
123984
- "name": "force",
123985
- "optional": true,
123986
- "type": {
123987
- "text": "boolean"
123988
- }
123989
- }
123990
- ],
123991
- "inheritedFrom": {
123992
- "name": "SbbElement",
123993
- "module": "core/base-elements/element.js"
123994
- }
123995
- },
123996
- {
123997
- "kind": "field",
123998
- "name": "['_$sbbElement$']",
123999
- "type": {
124000
- "text": "boolean"
124001
- },
124002
- "privacy": "public",
124003
- "static": true,
124004
- "default": "true",
124005
- "inheritedFrom": {
124006
- "name": "SbbElement",
124007
- "module": "core/base-elements/element.js"
124008
- }
124009
- },
124010
- {
124011
- "kind": "field",
124012
- "name": "_controllers",
124013
- "type": {
124014
- "text": "Set<SbbReactiveController> | undefined"
124015
- },
124016
- "privacy": "private",
124017
- "inheritedFrom": {
124018
- "name": "SbbElement",
124019
- "module": "core/base-elements/element.js"
124020
- }
124021
- }
124022
- ],
124023
- "events": [
124024
- {
124025
- "name": "validate",
124026
- "type": {
124027
- "text": "CustomEvent<SbbStepValidateEventDetails>"
124028
- },
124029
- "description": "The validate event is dispatched when a step change is triggered. Can be canceled to abort the step change."
124030
- }
124031
- ],
124032
- "superclass": {
124033
- "name": "SbbElement",
124034
- "module": "core/base-elements.js"
124035
- },
124036
- "tagName": "sbb-step",
124037
- "customElement": true
124038
- }
124039
- ],
124040
- "exports": [
124041
- {
124042
- "kind": "js",
124043
- "name": "SbbStepElement",
124044
- "declaration": {
124045
- "name": "SbbStepElement",
124046
- "module": "stepper/step/step.component.js"
124047
- }
124048
- }
124049
- ]
124050
- },
124051
124051
  {
124052
124052
  "kind": "javascript-module",
124053
124053
  "path": "stepper/stepper/stepper.component.js",