@sbb-esta/lyne-elements-dev 4.11.0-dev.1776089549 → 4.11.0-dev.1776118232

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 +755 -755
  2. package/package.json +2 -2
@@ -43917,12 +43917,12 @@
43917
43917
  },
43918
43918
  {
43919
43919
  "kind": "javascript-module",
43920
- "path": "button/secondary-button/secondary-button.component.js",
43920
+ "path": "button/secondary-button-link/secondary-button-link.component.js",
43921
43921
  "declarations": [
43922
43922
  {
43923
43923
  "kind": "class",
43924
- "description": "It displays a button enhanced with the SBB Design in the 'secondary' variant.",
43925
- "name": "SbbSecondaryButtonElement",
43924
+ "description": "It displays a button enhanced with the SBB Design in the 'primary' variant, which will behave as a link.",
43925
+ "name": "SbbSecondaryButtonLinkElement",
43926
43926
  "cssProperties": [
43927
43927
  {
43928
43928
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -43932,7 +43932,7 @@
43932
43932
  ],
43933
43933
  "slots": [
43934
43934
  {
43935
- "description": "Use the unnamed slot to add content to the secondary-button.",
43935
+ "description": "Use the unnamed slot to add content to the secondary-button-link.",
43936
43936
  "name": ""
43937
43937
  },
43938
43938
  {
@@ -43950,7 +43950,7 @@
43950
43950
  "privacy": "public",
43951
43951
  "static": true,
43952
43952
  "readonly": true,
43953
- "default": "'sbb-secondary-button'",
43953
+ "default": "'sbb-secondary-button-link'",
43954
43954
  "inheritedFrom": {
43955
43955
  "name": "SbbElement",
43956
43956
  "module": "core/base-elements/element.js"
@@ -44147,1163 +44147,1195 @@
44147
44147
  },
44148
44148
  {
44149
44149
  "kind": "field",
44150
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
44150
+ "name": "href",
44151
44151
  "type": {
44152
- "text": "array"
44152
+ "text": "string"
44153
44153
  },
44154
- "privacy": "private",
44155
- "readonly": true,
44156
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
44154
+ "privacy": "public",
44155
+ "default": "''",
44156
+ "description": "The href value you want to link to.",
44157
+ "attribute": "href",
44158
+ "reflects": true,
44157
44159
  "inheritedFrom": {
44158
- "name": "SbbButtonBaseElement",
44159
- "module": "core/base-elements/button-base-element.js"
44160
+ "name": "SbbLinkBaseElement",
44161
+ "module": "core/base-elements/link-base-element.js"
44160
44162
  }
44161
44163
  },
44162
44164
  {
44163
44165
  "kind": "field",
44164
- "name": "value",
44166
+ "name": "target",
44165
44167
  "type": {
44166
- "text": "string"
44168
+ "text": "LinkTargetType | string"
44167
44169
  },
44168
44170
  "privacy": "public",
44169
44171
  "default": "''",
44170
- "description": "Value of the form element.",
44171
- "attribute": "value",
44172
+ "description": "Where to display the linked URL.",
44173
+ "attribute": "target",
44174
+ "reflects": true,
44172
44175
  "inheritedFrom": {
44173
- "name": "SbbButtonBaseElement",
44174
- "module": "core/base-elements/button-base-element.js"
44176
+ "name": "SbbLinkBaseElement",
44177
+ "module": "core/base-elements/link-base-element.js"
44175
44178
  }
44176
44179
  },
44177
44180
  {
44178
44181
  "kind": "field",
44179
- "name": "type",
44182
+ "name": "rel",
44183
+ "type": {
44184
+ "text": "string"
44185
+ },
44180
44186
  "privacy": "public",
44181
- "description": "The type attribute to use for the button.",
44182
- "default": "'button'",
44187
+ "default": "''",
44188
+ "description": "The relationship of the linked URL as space-separated link types.",
44189
+ "attribute": "rel",
44190
+ "reflects": true,
44191
+ "inheritedFrom": {
44192
+ "name": "SbbLinkBaseElement",
44193
+ "module": "core/base-elements/link-base-element.js"
44194
+ }
44195
+ },
44196
+ {
44197
+ "kind": "field",
44198
+ "name": "download",
44183
44199
  "type": {
44184
- "text": "SbbButtonType"
44200
+ "text": "boolean"
44185
44201
  },
44186
- "attribute": "type",
44202
+ "privacy": "public",
44203
+ "default": "false",
44204
+ "description": "Whether the browser will show the download dialog on click.",
44205
+ "attribute": "download",
44206
+ "reflects": true,
44187
44207
  "inheritedFrom": {
44188
- "name": "SbbButtonBaseElement",
44189
- "module": "core/base-elements/button-base-element.js"
44208
+ "name": "SbbLinkBaseElement",
44209
+ "module": "core/base-elements/link-base-element.js"
44190
44210
  }
44191
44211
  },
44192
44212
  {
44193
44213
  "kind": "field",
44194
- "name": "form",
44214
+ "name": "accessibilityLabel",
44195
44215
  "type": {
44196
- "text": "HTMLFormElement | null"
44216
+ "text": "string"
44197
44217
  },
44198
44218
  "privacy": "public",
44199
- "description": "The `<form>` element to associate the button with.",
44200
- "attribute": "form",
44219
+ "default": "''",
44220
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
44221
+ "attribute": "accessibility-label",
44201
44222
  "inheritedFrom": {
44202
- "name": "SbbButtonBaseElement",
44203
- "module": "core/base-elements/button-base-element.js"
44223
+ "name": "SbbLinkBaseElement",
44224
+ "module": "core/base-elements/link-base-element.js"
44204
44225
  }
44205
44226
  },
44206
44227
  {
44207
44228
  "kind": "field",
44208
- "name": "_formId",
44229
+ "name": "accessibilityCurrent",
44209
44230
  "type": {
44210
44231
  "text": "string"
44211
44232
  },
44212
- "privacy": "private",
44233
+ "privacy": "public",
44213
44234
  "default": "''",
44235
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
44236
+ "attribute": "accessibility-current",
44214
44237
  "inheritedFrom": {
44215
- "name": "SbbButtonBaseElement",
44216
- "module": "core/base-elements/button-base-element.js"
44238
+ "name": "SbbLinkBaseElement",
44239
+ "module": "core/base-elements/link-base-element.js"
44217
44240
  }
44218
44241
  },
44219
44242
  {
44220
44243
  "kind": "field",
44221
- "name": "_handleButtonClick",
44244
+ "name": "language",
44245
+ "privacy": "protected",
44246
+ "default": "new SbbLanguageController(this)",
44247
+ "inheritedFrom": {
44248
+ "name": "SbbLinkBaseElement",
44249
+ "module": "core/base-elements/link-base-element.js"
44250
+ }
44251
+ },
44252
+ {
44253
+ "kind": "field",
44254
+ "name": "anchorRole",
44255
+ "type": {
44256
+ "text": "string | null"
44257
+ },
44258
+ "privacy": "protected",
44259
+ "readonly": true,
44260
+ "default": "null",
44261
+ "inheritedFrom": {
44262
+ "name": "SbbLinkBaseElement",
44263
+ "module": "core/base-elements/link-base-element.js"
44264
+ }
44265
+ },
44266
+ {
44267
+ "kind": "field",
44268
+ "name": "_evaluateRelAttribute",
44222
44269
  "privacy": "private",
44223
44270
  "inheritedFrom": {
44224
- "name": "SbbButtonBaseElement",
44225
- "module": "core/base-elements/button-base-element.js"
44271
+ "name": "SbbLinkBaseElement",
44272
+ "module": "core/base-elements/link-base-element.js"
44226
44273
  }
44227
44274
  },
44228
44275
  {
44229
44276
  "kind": "method",
44230
- "name": "_requestSubmit",
44231
- "privacy": "private",
44277
+ "name": "renderLink",
44278
+ "privacy": "protected",
44232
44279
  "return": {
44233
44280
  "type": {
44234
- "text": "void"
44281
+ "text": "TemplateResult"
44235
44282
  }
44236
44283
  },
44237
44284
  "parameters": [
44238
44285
  {
44239
- "name": "form",
44286
+ "name": "renderContent",
44240
44287
  "type": {
44241
- "text": "HTMLFormElement"
44288
+ "text": "TemplateResult"
44242
44289
  }
44243
44290
  }
44244
44291
  ],
44245
44292
  "inheritedFrom": {
44246
- "name": "SbbButtonBaseElement",
44247
- "module": "core/base-elements/button-base-element.js"
44248
- }
44249
- },
44250
- {
44251
- "kind": "field",
44252
- "name": "_formKeyDown",
44253
- "privacy": "private",
44254
- "inheritedFrom": {
44255
- "name": "SbbButtonBaseElement",
44256
- "module": "core/base-elements/button-base-element.js"
44293
+ "name": "SbbLinkBaseElement",
44294
+ "module": "core/base-elements/link-base-element.js"
44257
44295
  }
44258
44296
  },
44259
44297
  {
44260
44298
  "kind": "field",
44261
- "name": "formAssociated",
44299
+ "name": "maybeDisabled",
44262
44300
  "type": {
44263
- "text": "boolean"
44301
+ "text": "boolean | undefined"
44264
44302
  },
44265
- "privacy": "public",
44266
- "static": true,
44267
- "default": "true",
44303
+ "privacy": "protected",
44304
+ "readonly": true,
44268
44305
  "inheritedFrom": {
44269
- "name": "SbbFormAssociatedMixin",
44270
- "module": "core/mixins/form-associated-mixin.js"
44306
+ "name": "SbbActionBaseElement",
44307
+ "module": "core/base-elements/action-base-element.js"
44271
44308
  }
44272
44309
  },
44273
44310
  {
44274
44311
  "kind": "field",
44275
- "name": "name",
44276
- "privacy": "public",
44277
- "description": "Name of the form element. Will be read from name attribute.",
44312
+ "name": "maybeDisabledInteractive",
44278
44313
  "type": {
44279
- "text": "string"
44314
+ "text": "boolean | undefined"
44280
44315
  },
44281
- "attribute": "name",
44316
+ "privacy": "protected",
44317
+ "readonly": true,
44282
44318
  "inheritedFrom": {
44283
- "name": "SbbFormAssociatedMixin",
44284
- "module": "core/mixins/form-associated-mixin.js"
44319
+ "name": "SbbActionBaseElement",
44320
+ "module": "core/base-elements/action-base-element.js"
44285
44321
  }
44286
44322
  },
44287
44323
  {
44288
- "kind": "field",
44289
- "name": "validity",
44290
- "type": {
44291
- "text": "ValidityState"
44324
+ "kind": "method",
44325
+ "name": "setupBaseEventHandlers",
44326
+ "privacy": "protected",
44327
+ "return": {
44328
+ "type": {
44329
+ "text": "void"
44330
+ }
44292
44331
  },
44293
- "privacy": "public",
44294
- "description": "Returns the ValidityState object for this element.",
44295
- "readonly": true,
44296
44332
  "inheritedFrom": {
44297
- "name": "SbbFormAssociatedMixin",
44298
- "module": "core/mixins/form-associated-mixin.js"
44333
+ "name": "SbbActionBaseElement",
44334
+ "module": "core/base-elements/action-base-element.js"
44299
44335
  }
44300
44336
  },
44301
44337
  {
44302
44338
  "kind": "field",
44303
- "name": "validationMessage",
44339
+ "name": "_hydrationRequired",
44304
44340
  "type": {
44305
- "text": "string"
44341
+ "text": "boolean"
44306
44342
  },
44307
- "privacy": "public",
44308
- "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.",
44309
- "readonly": true,
44343
+ "privacy": "private",
44344
+ "default": "!!this.shadowRoot",
44310
44345
  "inheritedFrom": {
44311
- "name": "SbbFormAssociatedMixin",
44312
- "module": "core/mixins/form-associated-mixin.js"
44346
+ "name": "SbbHydrationMixin",
44347
+ "module": "core/mixins/hydration-mixin.js"
44313
44348
  }
44314
44349
  },
44315
44350
  {
44316
44351
  "kind": "field",
44317
- "name": "willValidate",
44318
- "type": {
44319
- "text": "boolean"
44320
- },
44321
- "privacy": "public",
44322
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
44323
- "readonly": true,
44352
+ "name": "_hydrationComplete",
44353
+ "privacy": "private",
44354
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
44324
44355
  "inheritedFrom": {
44325
- "name": "SbbFormAssociatedMixin",
44326
- "module": "core/mixins/form-associated-mixin.js"
44356
+ "name": "SbbHydrationMixin",
44357
+ "module": "core/mixins/hydration-mixin.js"
44327
44358
  }
44328
44359
  },
44329
44360
  {
44330
44361
  "kind": "field",
44331
- "name": "_validityStates",
44362
+ "name": "_resolveHydration",
44363
+ "type": {
44364
+ "text": "(hydrationRequired: boolean) => void"
44365
+ },
44332
44366
  "privacy": "private",
44333
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
44334
44367
  "inheritedFrom": {
44335
- "name": "SbbFormAssociatedMixin",
44336
- "module": "core/mixins/form-associated-mixin.js"
44368
+ "name": "SbbHydrationMixin",
44369
+ "module": "core/mixins/hydration-mixin.js"
44337
44370
  }
44338
44371
  },
44339
44372
  {
44340
44373
  "kind": "field",
44341
- "name": "formDisabled",
44374
+ "name": "hydrationRequired",
44342
44375
  "type": {
44343
44376
  "text": "boolean"
44344
44377
  },
44345
44378
  "privacy": "protected",
44346
- "default": "false",
44347
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
44379
+ "description": "Returns whether hydration is required and not completed.",
44380
+ "readonly": true,
44348
44381
  "inheritedFrom": {
44349
- "name": "SbbFormAssociatedMixin",
44350
- "module": "core/mixins/form-associated-mixin.js"
44351
- }
44382
+ "name": "SbbHydrationMixin",
44383
+ "module": "core/mixins/hydration-mixin.js"
44384
+ },
44385
+ "default": "!!this.shadowRoot"
44352
44386
  },
44353
44387
  {
44354
44388
  "kind": "method",
44355
- "name": "checkValidity",
44356
- "privacy": "public",
44389
+ "name": "toggleState",
44390
+ "privacy": "protected",
44357
44391
  "return": {
44358
44392
  "type": {
44359
- "text": "boolean"
44360
- }
44361
- },
44362
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
44363
- "inheritedFrom": {
44364
- "name": "SbbFormAssociatedMixin",
44365
- "module": "core/mixins/form-associated-mixin.js"
44366
- }
44367
- },
44368
- {
44369
- "kind": "method",
44370
- "name": "reportValidity",
44371
- "privacy": "public",
44372
- "return": {
44373
- "type": {
44374
- "text": "boolean"
44375
- }
44376
- },
44377
- "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.",
44378
- "inheritedFrom": {
44379
- "name": "SbbFormAssociatedMixin",
44380
- "module": "core/mixins/form-associated-mixin.js"
44381
- }
44382
- },
44383
- {
44384
- "kind": "method",
44385
- "name": "setCustomValidity",
44386
- "privacy": "public",
44387
- "return": {
44388
- "type": {
44389
- "text": "void"
44390
- }
44391
- },
44392
- "parameters": [
44393
- {
44394
- "name": "message",
44395
- "type": {
44396
- "text": "string"
44397
- }
44398
- }
44399
- ],
44400
- "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.",
44401
- "inheritedFrom": {
44402
- "name": "SbbFormAssociatedMixin",
44403
- "module": "core/mixins/form-associated-mixin.js"
44404
- }
44405
- },
44406
- {
44407
- "kind": "method",
44408
- "name": "_hasDisabledAncestor",
44409
- "privacy": "private",
44410
- "return": {
44411
- "type": {
44412
- "text": "boolean"
44413
- }
44414
- },
44415
- "inheritedFrom": {
44416
- "name": "SbbFormAssociatedMixin",
44417
- "module": "core/mixins/form-associated-mixin.js"
44418
- }
44419
- },
44420
- {
44421
- "kind": "method",
44422
- "name": "updateFormValue",
44423
- "privacy": "protected",
44424
- "return": {
44425
- "type": {
44426
- "text": "void"
44427
- }
44428
- },
44429
- "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",
44430
- "inheritedFrom": {
44431
- "name": "SbbFormAssociatedMixin",
44432
- "module": "core/mixins/form-associated-mixin.js"
44433
- }
44434
- },
44435
- {
44436
- "kind": "method",
44437
- "name": "formState",
44438
- "privacy": "protected",
44439
- "return": {
44440
- "type": {
44441
- "text": "FormRestoreState"
44442
- }
44443
- },
44444
- "inheritedFrom": {
44445
- "name": "SbbFormAssociatedMixin",
44446
- "module": "core/mixins/form-associated-mixin.js"
44447
- }
44448
- },
44449
- {
44450
- "kind": "method",
44451
- "name": "setValidityFlag",
44452
- "privacy": "protected",
44453
- "return": {
44454
- "type": {
44455
- "text": "void"
44393
+ "text": "void"
44456
44394
  }
44457
44395
  },
44458
44396
  "parameters": [
44459
44397
  {
44460
- "name": "flag",
44461
- "type": {
44462
- "text": "T"
44463
- }
44464
- },
44465
- {
44466
- "name": "message",
44398
+ "name": "value",
44467
44399
  "type": {
44468
44400
  "text": "string"
44469
44401
  }
44470
44402
  },
44471
44403
  {
44472
- "name": "flagValue",
44404
+ "name": "force",
44473
44405
  "optional": true,
44474
44406
  "type": {
44475
- "text": "ValidityStateFlags[T]"
44476
- }
44477
- }
44478
- ],
44479
- "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).",
44480
- "inheritedFrom": {
44481
- "name": "SbbFormAssociatedMixin",
44482
- "module": "core/mixins/form-associated-mixin.js"
44483
- }
44484
- },
44485
- {
44486
- "kind": "method",
44487
- "name": "removeValidityFlag",
44488
- "privacy": "protected",
44489
- "return": {
44490
- "type": {
44491
- "text": "void"
44492
- }
44493
- },
44494
- "parameters": [
44495
- {
44496
- "name": "flag",
44497
- "type": {
44498
- "text": "T"
44499
- }
44500
- }
44501
- ],
44502
- "description": "Removes the validity state flag entry and updates validity state.",
44503
- "inheritedFrom": {
44504
- "name": "SbbFormAssociatedMixin",
44505
- "module": "core/mixins/form-associated-mixin.js"
44506
- }
44507
- },
44508
- {
44509
- "kind": "method",
44510
- "name": "validate",
44511
- "privacy": "protected",
44512
- "return": {
44513
- "type": {
44514
- "text": "void"
44515
- }
44516
- },
44517
- "description": "To be called whenever the current element needs to be validated.",
44518
- "inheritedFrom": {
44519
- "name": "SbbFormAssociatedMixin",
44520
- "module": "core/mixins/form-associated-mixin.js"
44521
- }
44522
- },
44523
- {
44524
- "kind": "method",
44525
- "name": "shouldValidate",
44526
- "privacy": "protected",
44527
- "return": {
44528
- "type": {
44529
- "text": "boolean"
44530
- }
44531
- },
44532
- "parameters": [
44533
- {
44534
- "name": "name",
44535
- "type": {
44536
- "text": "PropertyKey | undefined"
44407
+ "text": "boolean"
44537
44408
  }
44538
44409
  }
44539
44410
  ],
44540
- "description": "Whether validation should be run on a property change with the given name.",
44541
- "inheritedFrom": {
44542
- "name": "SbbFormAssociatedMixin",
44543
- "module": "core/mixins/form-associated-mixin.js"
44544
- }
44545
- },
44546
- {
44547
- "kind": "method",
44548
- "name": "_setInternalValidity",
44549
- "privacy": "private",
44550
- "return": {
44551
- "type": {
44552
- "text": "void"
44553
- }
44554
- },
44555
44411
  "inheritedFrom": {
44556
- "name": "SbbFormAssociatedMixin",
44557
- "module": "core/mixins/form-associated-mixin.js"
44412
+ "name": "SbbElementInternalsMixin",
44413
+ "module": "core/mixins/element-internals-mixin.js"
44558
44414
  }
44559
44415
  },
44560
44416
  {
44561
44417
  "kind": "field",
44562
- "name": "role",
44418
+ "name": "['_$sbbElement$']",
44563
44419
  "type": {
44564
- "text": "ElementInternals['role']"
44420
+ "text": "boolean"
44565
44421
  },
44566
44422
  "privacy": "public",
44567
44423
  "static": true,
44568
- "readonly": true,
44569
- "default": "'button'",
44424
+ "default": "true",
44570
44425
  "inheritedFrom": {
44571
- "name": "SbbButtonLikeBaseElement",
44572
- "module": "core/base-elements/button-base-element.js"
44426
+ "name": "SbbElement",
44427
+ "module": "core/base-elements/element.js"
44573
44428
  }
44574
44429
  },
44575
44430
  {
44576
44431
  "kind": "field",
44577
- "name": "_preventScrollOnSpaceKeydown",
44432
+ "name": "_controllers",
44433
+ "type": {
44434
+ "text": "Set<SbbReactiveController> | undefined"
44435
+ },
44578
44436
  "privacy": "private",
44579
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
44580
- "parameters": [
44581
- {
44582
- "description": "The origin event.",
44583
- "name": "event"
44584
- }
44585
- ],
44586
44437
  "inheritedFrom": {
44587
- "name": "SbbButtonLikeBaseElement",
44588
- "module": "core/base-elements/button-base-element.js"
44438
+ "name": "SbbElement",
44439
+ "module": "core/base-elements/element.js"
44589
44440
  }
44441
+ }
44442
+ ],
44443
+ "mixins": [
44444
+ {
44445
+ "name": "SbbButtonCommonElementMixin",
44446
+ "module": "button/common/button-common.js"
44590
44447
  },
44591
44448
  {
44592
- "kind": "field",
44593
- "name": "_removeActiveMarker",
44594
- "privacy": "private",
44595
- "inheritedFrom": {
44596
- "name": "SbbButtonLikeBaseElement",
44597
- "module": "core/base-elements/button-base-element.js"
44598
- }
44449
+ "name": "SbbDisabledInteractiveMixin",
44450
+ "module": "core/mixins.js"
44599
44451
  },
44600
44452
  {
44601
- "kind": "field",
44602
- "name": "_dispatchClickEventOnSpaceKeyup",
44603
- "privacy": "private",
44604
- "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.",
44605
- "parameters": [
44606
- {
44607
- "description": "The origin event.",
44608
- "name": "event"
44609
- }
44610
- ],
44453
+ "name": "SbbDisabledMixin",
44454
+ "module": "core/mixins.js"
44455
+ }
44456
+ ],
44457
+ "superclass": {
44458
+ "name": "SbbLinkBaseElement",
44459
+ "module": "core/base-elements.js"
44460
+ },
44461
+ "tagName": "sbb-secondary-button-link",
44462
+ "customElement": true,
44463
+ "attributes": [
44464
+ {
44465
+ "name": "size",
44466
+ "type": {
44467
+ "text": "SbbButtonSize"
44468
+ },
44469
+ "description": "Size variant, either l, m or s.",
44470
+ "default": "'l' / 's' (lean)",
44471
+ "fieldName": "size",
44611
44472
  "inheritedFrom": {
44612
- "name": "SbbButtonLikeBaseElement",
44613
- "module": "core/base-elements/button-base-element.js"
44473
+ "name": "SbbButtonCommonElementMixin",
44474
+ "module": "button/common/button-common.js"
44614
44475
  }
44615
44476
  },
44616
44477
  {
44617
- "kind": "field",
44618
- "name": "_dispatchClickEvent",
44619
- "privacy": "private",
44478
+ "name": "loading",
44479
+ "type": {
44480
+ "text": "boolean"
44481
+ },
44482
+ "default": "false",
44483
+ "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.",
44484
+ "fieldName": "loading",
44620
44485
  "inheritedFrom": {
44621
- "name": "SbbButtonLikeBaseElement",
44622
- "module": "core/base-elements/button-base-element.js"
44486
+ "name": "SbbButtonCommonElementMixin",
44487
+ "module": "button/common/button-common.js"
44623
44488
  }
44624
44489
  },
44625
44490
  {
44626
- "kind": "field",
44627
- "name": "maybeDisabled",
44491
+ "name": "negative",
44628
44492
  "type": {
44629
- "text": "boolean | undefined"
44493
+ "text": "boolean"
44630
44494
  },
44631
- "privacy": "protected",
44632
- "readonly": true,
44495
+ "default": "false",
44496
+ "description": "Negative coloring variant flag.",
44497
+ "fieldName": "negative",
44633
44498
  "inheritedFrom": {
44634
- "name": "SbbActionBaseElement",
44635
- "module": "core/base-elements/action-base-element.js"
44499
+ "name": "SbbNegativeMixin",
44500
+ "module": "core/mixins/negative-mixin.js"
44636
44501
  }
44637
44502
  },
44638
44503
  {
44639
- "kind": "field",
44640
- "name": "maybeDisabledInteractive",
44504
+ "name": "icon-name",
44641
44505
  "type": {
44642
- "text": "boolean | undefined"
44506
+ "text": "string"
44643
44507
  },
44644
- "privacy": "protected",
44645
- "readonly": true,
44508
+ "default": "''",
44509
+ "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.",
44510
+ "fieldName": "iconName",
44646
44511
  "inheritedFrom": {
44647
- "name": "SbbActionBaseElement",
44648
- "module": "core/base-elements/action-base-element.js"
44512
+ "name": "SbbIconNameMixin",
44513
+ "module": "icon/icon-name-mixin.js"
44649
44514
  }
44650
44515
  },
44651
44516
  {
44652
- "kind": "method",
44653
- "name": "setupBaseEventHandlers",
44654
- "privacy": "protected",
44655
- "return": {
44656
- "type": {
44657
- "text": "void"
44658
- }
44517
+ "name": "disabled-interactive",
44518
+ "type": {
44519
+ "text": "boolean"
44659
44520
  },
44521
+ "default": "false",
44522
+ "description": "Whether the button should be aria-disabled but stay interactive.",
44523
+ "fieldName": "disabledInteractive",
44660
44524
  "inheritedFrom": {
44661
- "name": "SbbActionBaseElement",
44662
- "module": "core/base-elements/action-base-element.js"
44525
+ "name": "SbbDisabledInteractiveMixin",
44526
+ "module": "core/mixins/disabled-mixin.js"
44663
44527
  }
44664
44528
  },
44665
44529
  {
44666
- "kind": "field",
44667
- "name": "_hydrationRequired",
44530
+ "name": "disabled",
44531
+ "description": "Whether the component is disabled.",
44532
+ "default": "false",
44668
44533
  "type": {
44669
44534
  "text": "boolean"
44670
44535
  },
44671
- "privacy": "private",
44672
- "default": "!!this.shadowRoot",
44536
+ "fieldName": "disabled",
44673
44537
  "inheritedFrom": {
44674
- "name": "SbbHydrationMixin",
44675
- "module": "core/mixins/hydration-mixin.js"
44538
+ "name": "SbbDisabledMixin",
44539
+ "module": "core/mixins/disabled-mixin.js"
44676
44540
  }
44677
44541
  },
44678
44542
  {
44679
- "kind": "field",
44680
- "name": "_hydrationComplete",
44681
- "privacy": "private",
44682
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
44543
+ "name": "href",
44544
+ "type": {
44545
+ "text": "string"
44546
+ },
44547
+ "default": "''",
44548
+ "description": "The href value you want to link to.",
44549
+ "fieldName": "href",
44683
44550
  "inheritedFrom": {
44684
- "name": "SbbHydrationMixin",
44685
- "module": "core/mixins/hydration-mixin.js"
44551
+ "name": "SbbLinkBaseElement",
44552
+ "module": "core/base-elements/link-base-element.js"
44686
44553
  }
44687
44554
  },
44688
44555
  {
44689
- "kind": "field",
44690
- "name": "_resolveHydration",
44556
+ "name": "target",
44691
44557
  "type": {
44692
- "text": "(hydrationRequired: boolean) => void"
44558
+ "text": "LinkTargetType | string"
44693
44559
  },
44694
- "privacy": "private",
44560
+ "default": "''",
44561
+ "description": "Where to display the linked URL.",
44562
+ "fieldName": "target",
44695
44563
  "inheritedFrom": {
44696
- "name": "SbbHydrationMixin",
44697
- "module": "core/mixins/hydration-mixin.js"
44564
+ "name": "SbbLinkBaseElement",
44565
+ "module": "core/base-elements/link-base-element.js"
44698
44566
  }
44699
44567
  },
44700
44568
  {
44701
- "kind": "field",
44702
- "name": "hydrationRequired",
44569
+ "name": "rel",
44703
44570
  "type": {
44704
- "text": "boolean"
44571
+ "text": "string"
44705
44572
  },
44706
- "privacy": "protected",
44707
- "description": "Returns whether hydration is required and not completed.",
44708
- "readonly": true,
44573
+ "default": "''",
44574
+ "description": "The relationship of the linked URL as space-separated link types.",
44575
+ "fieldName": "rel",
44709
44576
  "inheritedFrom": {
44710
- "name": "SbbHydrationMixin",
44711
- "module": "core/mixins/hydration-mixin.js"
44712
- },
44713
- "default": "!!this.shadowRoot"
44577
+ "name": "SbbLinkBaseElement",
44578
+ "module": "core/base-elements/link-base-element.js"
44579
+ }
44714
44580
  },
44715
44581
  {
44716
- "kind": "method",
44717
- "name": "toggleState",
44718
- "privacy": "protected",
44719
- "return": {
44720
- "type": {
44721
- "text": "void"
44722
- }
44582
+ "name": "download",
44583
+ "type": {
44584
+ "text": "boolean"
44723
44585
  },
44724
- "parameters": [
44725
- {
44726
- "name": "value",
44727
- "type": {
44728
- "text": "string"
44729
- }
44730
- },
44731
- {
44732
- "name": "force",
44733
- "optional": true,
44734
- "type": {
44735
- "text": "boolean"
44736
- }
44737
- }
44738
- ],
44586
+ "default": "false",
44587
+ "description": "Whether the browser will show the download dialog on click.",
44588
+ "fieldName": "download",
44739
44589
  "inheritedFrom": {
44740
- "name": "SbbElementInternalsMixin",
44741
- "module": "core/mixins/element-internals-mixin.js"
44590
+ "name": "SbbLinkBaseElement",
44591
+ "module": "core/base-elements/link-base-element.js"
44742
44592
  }
44743
44593
  },
44744
44594
  {
44745
- "kind": "field",
44746
- "name": "['_$sbbElement$']",
44595
+ "name": "accessibility-label",
44747
44596
  "type": {
44748
- "text": "boolean"
44597
+ "text": "string"
44749
44598
  },
44750
- "privacy": "public",
44751
- "static": true,
44752
- "default": "true",
44599
+ "default": "''",
44600
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
44601
+ "fieldName": "accessibilityLabel",
44753
44602
  "inheritedFrom": {
44754
- "name": "SbbElement",
44755
- "module": "core/base-elements/element.js"
44603
+ "name": "SbbLinkBaseElement",
44604
+ "module": "core/base-elements/link-base-element.js"
44756
44605
  }
44757
44606
  },
44758
44607
  {
44759
- "kind": "field",
44760
- "name": "_controllers",
44608
+ "name": "accessibility-current",
44761
44609
  "type": {
44762
- "text": "Set<SbbReactiveController> | undefined"
44610
+ "text": "string"
44763
44611
  },
44764
- "privacy": "private",
44612
+ "default": "''",
44613
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
44614
+ "fieldName": "accessibilityCurrent",
44765
44615
  "inheritedFrom": {
44766
- "name": "SbbElement",
44767
- "module": "core/base-elements/element.js"
44616
+ "name": "SbbLinkBaseElement",
44617
+ "module": "core/base-elements/link-base-element.js"
44768
44618
  }
44769
44619
  }
44620
+ ]
44621
+ }
44622
+ ],
44623
+ "exports": [
44624
+ {
44625
+ "kind": "js",
44626
+ "name": "SbbSecondaryButtonLinkElement",
44627
+ "declaration": {
44628
+ "name": "SbbSecondaryButtonLinkElement",
44629
+ "module": "button/secondary-button-link/secondary-button-link.component.js"
44630
+ }
44631
+ }
44632
+ ]
44633
+ },
44634
+ {
44635
+ "kind": "javascript-module",
44636
+ "path": "button/secondary-button/secondary-button.component.js",
44637
+ "declarations": [
44638
+ {
44639
+ "kind": "class",
44640
+ "description": "It displays a button enhanced with the SBB Design in the 'secondary' variant.",
44641
+ "name": "SbbSecondaryButtonElement",
44642
+ "cssProperties": [
44643
+ {
44644
+ "description": "The delay before the loading animation starts, when setting the button into loading state.",
44645
+ "name": "--sbb-button-loading-delay",
44646
+ "default": "300ms"
44647
+ }
44770
44648
  ],
44771
- "mixins": [
44649
+ "slots": [
44772
44650
  {
44773
- "name": "SbbButtonCommonElementMixin",
44774
- "module": "button/common/button-common.js"
44651
+ "description": "Use the unnamed slot to add content to the secondary-button.",
44652
+ "name": ""
44775
44653
  },
44776
44654
  {
44777
- "name": "SbbDisabledTabIndexActionMixin",
44778
- "module": "core/mixins.js"
44655
+ "description": "Slot used to display the icon, if one is set.",
44656
+ "name": "icon"
44779
44657
  }
44780
44658
  ],
44781
- "superclass": {
44782
- "name": "SbbButtonBaseElement",
44783
- "module": "core/base-elements.js"
44784
- },
44785
- "tagName": "sbb-secondary-button",
44786
- "customElement": true,
44787
- "attributes": [
44659
+ "members": [
44660
+ {
44661
+ "kind": "field",
44662
+ "name": "elementName",
44663
+ "type": {
44664
+ "text": "string"
44665
+ },
44666
+ "privacy": "public",
44667
+ "static": true,
44668
+ "readonly": true,
44669
+ "default": "'sbb-secondary-button'",
44670
+ "inheritedFrom": {
44671
+ "name": "SbbElement",
44672
+ "module": "core/base-elements/element.js"
44673
+ }
44674
+ },
44788
44675
  {
44676
+ "kind": "field",
44789
44677
  "name": "size",
44790
44678
  "type": {
44791
44679
  "text": "SbbButtonSize"
44792
44680
  },
44681
+ "privacy": "public",
44793
44682
  "description": "Size variant, either l, m or s.",
44794
44683
  "default": "'l' / 's' (lean)",
44795
- "fieldName": "size",
44684
+ "attribute": "size",
44685
+ "reflects": true,
44796
44686
  "inheritedFrom": {
44797
44687
  "name": "SbbButtonCommonElementMixin",
44798
44688
  "module": "button/common/button-common.js"
44799
44689
  }
44800
44690
  },
44801
44691
  {
44692
+ "kind": "field",
44802
44693
  "name": "loading",
44803
44694
  "type": {
44804
44695
  "text": "boolean"
44805
44696
  },
44697
+ "privacy": "public",
44806
44698
  "default": "false",
44807
44699
  "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.",
44808
- "fieldName": "loading",
44700
+ "attribute": "loading",
44701
+ "reflects": true,
44809
44702
  "inheritedFrom": {
44810
44703
  "name": "SbbButtonCommonElementMixin",
44811
44704
  "module": "button/common/button-common.js"
44812
44705
  }
44813
44706
  },
44814
44707
  {
44708
+ "kind": "method",
44709
+ "name": "renderTemplate",
44710
+ "privacy": "protected",
44711
+ "return": {
44712
+ "type": {
44713
+ "text": "TemplateResult"
44714
+ }
44715
+ },
44716
+ "description": "Override this method to render the component template.",
44717
+ "inheritedFrom": {
44718
+ "name": "SbbActionBaseElement",
44719
+ "module": "core/base-elements/action-base-element.js"
44720
+ }
44721
+ },
44722
+ {
44723
+ "kind": "field",
44815
44724
  "name": "negative",
44816
44725
  "type": {
44817
44726
  "text": "boolean"
44818
44727
  },
44728
+ "privacy": "public",
44819
44729
  "default": "false",
44820
44730
  "description": "Negative coloring variant flag.",
44821
- "fieldName": "negative",
44731
+ "attribute": "negative",
44732
+ "reflects": true,
44822
44733
  "inheritedFrom": {
44823
44734
  "name": "SbbNegativeMixin",
44824
44735
  "module": "core/mixins/negative-mixin.js"
44825
44736
  }
44826
44737
  },
44827
44738
  {
44828
- "name": "icon-name",
44739
+ "kind": "field",
44740
+ "name": "iconName",
44829
44741
  "type": {
44830
44742
  "text": "string"
44831
44743
  },
44744
+ "privacy": "public",
44832
44745
  "default": "''",
44833
44746
  "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.",
44834
- "fieldName": "iconName",
44747
+ "attribute": "icon-name",
44835
44748
  "inheritedFrom": {
44836
44749
  "name": "SbbIconNameMixin",
44837
44750
  "module": "icon/icon-name-mixin.js"
44838
44751
  }
44839
44752
  },
44840
44753
  {
44841
- "name": "disabled-interactive",
44754
+ "kind": "method",
44755
+ "name": "renderIconSlot",
44756
+ "privacy": "protected",
44757
+ "return": {
44758
+ "type": {
44759
+ "text": "TemplateResult"
44760
+ }
44761
+ },
44762
+ "parameters": [
44763
+ {
44764
+ "name": "classname",
44765
+ "optional": true,
44766
+ "type": {
44767
+ "text": "string"
44768
+ }
44769
+ }
44770
+ ],
44771
+ "inheritedFrom": {
44772
+ "name": "SbbIconNameMixin",
44773
+ "module": "icon/icon-name-mixin.js"
44774
+ }
44775
+ },
44776
+ {
44777
+ "kind": "method",
44778
+ "name": "renderIconName",
44779
+ "privacy": "protected",
44780
+ "return": {
44781
+ "type": {
44782
+ "text": "string"
44783
+ }
44784
+ },
44785
+ "inheritedFrom": {
44786
+ "name": "SbbIconNameMixin",
44787
+ "module": "icon/icon-name-mixin.js"
44788
+ }
44789
+ },
44790
+ {
44791
+ "kind": "method",
44792
+ "name": "_renderIconName",
44793
+ "privacy": "private",
44794
+ "return": {
44795
+ "type": {
44796
+ "text": "string"
44797
+ }
44798
+ },
44799
+ "inheritedFrom": {
44800
+ "name": "SbbIconNameMixin",
44801
+ "module": "icon/icon-name-mixin.js"
44802
+ }
44803
+ },
44804
+ {
44805
+ "kind": "field",
44806
+ "name": "disabledInteractive",
44842
44807
  "type": {
44843
44808
  "text": "boolean"
44844
44809
  },
44810
+ "privacy": "public",
44845
44811
  "default": "false",
44846
44812
  "description": "Whether the button should be aria-disabled but stay interactive.",
44847
- "fieldName": "disabledInteractive",
44813
+ "attribute": "disabled-interactive",
44814
+ "reflects": true,
44848
44815
  "inheritedFrom": {
44849
44816
  "name": "SbbDisabledInteractiveMixin",
44850
44817
  "module": "core/mixins/disabled-mixin.js"
44851
44818
  }
44852
44819
  },
44853
44820
  {
44821
+ "kind": "field",
44854
44822
  "name": "disabled",
44823
+ "privacy": "public",
44855
44824
  "description": "Whether the component is disabled.",
44856
44825
  "default": "false",
44857
44826
  "type": {
44858
44827
  "text": "boolean"
44859
44828
  },
44860
- "fieldName": "disabled",
44829
+ "attribute": "disabled",
44830
+ "reflects": true,
44831
+ "inheritedFrom": {
44832
+ "name": "SbbDisabledMixin",
44833
+ "module": "core/mixins/disabled-mixin.js"
44834
+ }
44835
+ },
44836
+ {
44837
+ "kind": "field",
44838
+ "name": "#disabled",
44839
+ "privacy": "private",
44840
+ "type": {
44841
+ "text": "boolean"
44842
+ },
44843
+ "default": "false",
44844
+ "inheritedFrom": {
44845
+ "name": "SbbDisabledMixin",
44846
+ "module": "core/mixins/disabled-mixin.js"
44847
+ }
44848
+ },
44849
+ {
44850
+ "kind": "method",
44851
+ "name": "isDisabledExternally",
44852
+ "privacy": "protected",
44853
+ "return": {
44854
+ "type": {
44855
+ "text": "boolean"
44856
+ }
44857
+ },
44858
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
44861
44859
  "inheritedFrom": {
44862
44860
  "name": "SbbDisabledMixin",
44863
44861
  "module": "core/mixins/disabled-mixin.js"
44864
44862
  }
44865
44863
  },
44866
44864
  {
44865
+ "kind": "field",
44866
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
44867
+ "type": {
44868
+ "text": "array"
44869
+ },
44870
+ "privacy": "private",
44871
+ "readonly": true,
44872
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
44873
+ "inheritedFrom": {
44874
+ "name": "SbbButtonBaseElement",
44875
+ "module": "core/base-elements/button-base-element.js"
44876
+ }
44877
+ },
44878
+ {
44879
+ "kind": "field",
44867
44880
  "name": "value",
44868
44881
  "type": {
44869
44882
  "text": "string"
44870
44883
  },
44884
+ "privacy": "public",
44871
44885
  "default": "''",
44872
44886
  "description": "Value of the form element.",
44873
- "fieldName": "value",
44887
+ "attribute": "value",
44874
44888
  "inheritedFrom": {
44875
44889
  "name": "SbbButtonBaseElement",
44876
44890
  "module": "core/base-elements/button-base-element.js"
44877
44891
  }
44878
44892
  },
44879
44893
  {
44894
+ "kind": "field",
44880
44895
  "name": "type",
44896
+ "privacy": "public",
44881
44897
  "description": "The type attribute to use for the button.",
44882
44898
  "default": "'button'",
44883
44899
  "type": {
44884
44900
  "text": "SbbButtonType"
44885
44901
  },
44886
- "fieldName": "type",
44902
+ "attribute": "type",
44887
44903
  "inheritedFrom": {
44888
44904
  "name": "SbbButtonBaseElement",
44889
44905
  "module": "core/base-elements/button-base-element.js"
44890
44906
  }
44891
44907
  },
44892
44908
  {
44909
+ "kind": "field",
44893
44910
  "name": "form",
44894
- "description": "The `<form>` element to associate the button with.",
44895
44911
  "type": {
44896
44912
  "text": "HTMLFormElement | null"
44897
44913
  },
44898
- "fieldName": "form",
44914
+ "privacy": "public",
44915
+ "description": "The `<form>` element to associate the button with.",
44916
+ "attribute": "form",
44899
44917
  "inheritedFrom": {
44900
44918
  "name": "SbbButtonBaseElement",
44901
44919
  "module": "core/base-elements/button-base-element.js"
44902
44920
  }
44903
44921
  },
44904
44922
  {
44905
- "name": "name",
44906
- "description": "Name of the form element. Will be read from name attribute.",
44923
+ "kind": "field",
44924
+ "name": "_formId",
44907
44925
  "type": {
44908
44926
  "text": "string"
44909
44927
  },
44910
- "fieldName": "name",
44928
+ "privacy": "private",
44929
+ "default": "''",
44911
44930
  "inheritedFrom": {
44912
- "name": "SbbFormAssociatedMixin",
44913
- "module": "core/mixins/form-associated-mixin.js"
44931
+ "name": "SbbButtonBaseElement",
44932
+ "module": "core/base-elements/button-base-element.js"
44914
44933
  }
44915
- }
44916
- ]
44917
- }
44918
- ],
44919
- "exports": [
44920
- {
44921
- "kind": "js",
44922
- "name": "SbbSecondaryButtonElement",
44923
- "declaration": {
44924
- "name": "SbbSecondaryButtonElement",
44925
- "module": "button/secondary-button/secondary-button.component.js"
44926
- }
44927
- }
44928
- ]
44929
- },
44930
- {
44931
- "kind": "javascript-module",
44932
- "path": "button/secondary-button-link/secondary-button-link.component.js",
44933
- "declarations": [
44934
- {
44935
- "kind": "class",
44936
- "description": "It displays a button enhanced with the SBB Design in the 'primary' variant, which will behave as a link.",
44937
- "name": "SbbSecondaryButtonLinkElement",
44938
- "cssProperties": [
44934
+ },
44939
44935
  {
44940
- "description": "The delay before the loading animation starts, when setting the button into loading state.",
44941
- "name": "--sbb-button-loading-delay",
44942
- "default": "300ms"
44943
- }
44944
- ],
44945
- "slots": [
44936
+ "kind": "field",
44937
+ "name": "_handleButtonClick",
44938
+ "privacy": "private",
44939
+ "inheritedFrom": {
44940
+ "name": "SbbButtonBaseElement",
44941
+ "module": "core/base-elements/button-base-element.js"
44942
+ }
44943
+ },
44946
44944
  {
44947
- "description": "Use the unnamed slot to add content to the secondary-button-link.",
44948
- "name": ""
44945
+ "kind": "method",
44946
+ "name": "_requestSubmit",
44947
+ "privacy": "private",
44948
+ "return": {
44949
+ "type": {
44950
+ "text": "void"
44951
+ }
44952
+ },
44953
+ "parameters": [
44954
+ {
44955
+ "name": "form",
44956
+ "type": {
44957
+ "text": "HTMLFormElement"
44958
+ }
44959
+ }
44960
+ ],
44961
+ "inheritedFrom": {
44962
+ "name": "SbbButtonBaseElement",
44963
+ "module": "core/base-elements/button-base-element.js"
44964
+ }
44949
44965
  },
44950
44966
  {
44951
- "description": "Slot used to display the icon, if one is set.",
44952
- "name": "icon"
44953
- }
44954
- ],
44955
- "members": [
44967
+ "kind": "field",
44968
+ "name": "_formKeyDown",
44969
+ "privacy": "private",
44970
+ "inheritedFrom": {
44971
+ "name": "SbbButtonBaseElement",
44972
+ "module": "core/base-elements/button-base-element.js"
44973
+ }
44974
+ },
44975
+ {
44976
+ "kind": "field",
44977
+ "name": "formAssociated",
44978
+ "type": {
44979
+ "text": "boolean"
44980
+ },
44981
+ "privacy": "public",
44982
+ "static": true,
44983
+ "default": "true",
44984
+ "inheritedFrom": {
44985
+ "name": "SbbFormAssociatedMixin",
44986
+ "module": "core/mixins/form-associated-mixin.js"
44987
+ }
44988
+ },
44956
44989
  {
44957
44990
  "kind": "field",
44958
- "name": "elementName",
44991
+ "name": "name",
44992
+ "privacy": "public",
44993
+ "description": "Name of the form element. Will be read from name attribute.",
44959
44994
  "type": {
44960
44995
  "text": "string"
44961
44996
  },
44997
+ "attribute": "name",
44998
+ "inheritedFrom": {
44999
+ "name": "SbbFormAssociatedMixin",
45000
+ "module": "core/mixins/form-associated-mixin.js"
45001
+ }
45002
+ },
45003
+ {
45004
+ "kind": "field",
45005
+ "name": "validity",
45006
+ "type": {
45007
+ "text": "ValidityState"
45008
+ },
44962
45009
  "privacy": "public",
44963
- "static": true,
45010
+ "description": "Returns the ValidityState object for this element.",
44964
45011
  "readonly": true,
44965
- "default": "'sbb-secondary-button-link'",
44966
45012
  "inheritedFrom": {
44967
- "name": "SbbElement",
44968
- "module": "core/base-elements/element.js"
45013
+ "name": "SbbFormAssociatedMixin",
45014
+ "module": "core/mixins/form-associated-mixin.js"
44969
45015
  }
44970
45016
  },
44971
45017
  {
44972
45018
  "kind": "field",
44973
- "name": "size",
45019
+ "name": "validationMessage",
44974
45020
  "type": {
44975
- "text": "SbbButtonSize"
45021
+ "text": "string"
44976
45022
  },
44977
45023
  "privacy": "public",
44978
- "description": "Size variant, either l, m or s.",
44979
- "default": "'l' / 's' (lean)",
44980
- "attribute": "size",
44981
- "reflects": true,
45024
+ "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.",
45025
+ "readonly": true,
44982
45026
  "inheritedFrom": {
44983
- "name": "SbbButtonCommonElementMixin",
44984
- "module": "button/common/button-common.js"
45027
+ "name": "SbbFormAssociatedMixin",
45028
+ "module": "core/mixins/form-associated-mixin.js"
44985
45029
  }
44986
45030
  },
44987
45031
  {
44988
45032
  "kind": "field",
44989
- "name": "loading",
45033
+ "name": "willValidate",
44990
45034
  "type": {
44991
45035
  "text": "boolean"
44992
45036
  },
44993
45037
  "privacy": "public",
44994
- "default": "false",
44995
- "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.",
44996
- "attribute": "loading",
44997
- "reflects": true,
45038
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
45039
+ "readonly": true,
44998
45040
  "inheritedFrom": {
44999
- "name": "SbbButtonCommonElementMixin",
45000
- "module": "button/common/button-common.js"
45041
+ "name": "SbbFormAssociatedMixin",
45042
+ "module": "core/mixins/form-associated-mixin.js"
45001
45043
  }
45002
45044
  },
45003
45045
  {
45004
- "kind": "method",
45005
- "name": "renderTemplate",
45006
- "privacy": "protected",
45007
- "return": {
45008
- "type": {
45009
- "text": "TemplateResult"
45010
- }
45011
- },
45012
- "description": "Override this method to render the component template.",
45046
+ "kind": "field",
45047
+ "name": "_validityStates",
45048
+ "privacy": "private",
45049
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
45013
45050
  "inheritedFrom": {
45014
- "name": "SbbActionBaseElement",
45015
- "module": "core/base-elements/action-base-element.js"
45051
+ "name": "SbbFormAssociatedMixin",
45052
+ "module": "core/mixins/form-associated-mixin.js"
45016
45053
  }
45017
45054
  },
45018
45055
  {
45019
45056
  "kind": "field",
45020
- "name": "negative",
45057
+ "name": "formDisabled",
45021
45058
  "type": {
45022
45059
  "text": "boolean"
45023
45060
  },
45024
- "privacy": "public",
45061
+ "privacy": "protected",
45025
45062
  "default": "false",
45026
- "description": "Negative coloring variant flag.",
45027
- "attribute": "negative",
45028
- "reflects": true,
45063
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
45029
45064
  "inheritedFrom": {
45030
- "name": "SbbNegativeMixin",
45031
- "module": "core/mixins/negative-mixin.js"
45065
+ "name": "SbbFormAssociatedMixin",
45066
+ "module": "core/mixins/form-associated-mixin.js"
45032
45067
  }
45033
45068
  },
45034
45069
  {
45035
- "kind": "field",
45036
- "name": "iconName",
45037
- "type": {
45038
- "text": "string"
45070
+ "kind": "method",
45071
+ "name": "checkValidity",
45072
+ "privacy": "public",
45073
+ "return": {
45074
+ "type": {
45075
+ "text": "boolean"
45076
+ }
45039
45077
  },
45078
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
45079
+ "inheritedFrom": {
45080
+ "name": "SbbFormAssociatedMixin",
45081
+ "module": "core/mixins/form-associated-mixin.js"
45082
+ }
45083
+ },
45084
+ {
45085
+ "kind": "method",
45086
+ "name": "reportValidity",
45040
45087
  "privacy": "public",
45041
- "default": "''",
45042
- "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.",
45043
- "attribute": "icon-name",
45088
+ "return": {
45089
+ "type": {
45090
+ "text": "boolean"
45091
+ }
45092
+ },
45093
+ "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.",
45044
45094
  "inheritedFrom": {
45045
- "name": "SbbIconNameMixin",
45046
- "module": "icon/icon-name-mixin.js"
45095
+ "name": "SbbFormAssociatedMixin",
45096
+ "module": "core/mixins/form-associated-mixin.js"
45047
45097
  }
45048
45098
  },
45049
45099
  {
45050
45100
  "kind": "method",
45051
- "name": "renderIconSlot",
45052
- "privacy": "protected",
45101
+ "name": "setCustomValidity",
45102
+ "privacy": "public",
45053
45103
  "return": {
45054
45104
  "type": {
45055
- "text": "TemplateResult"
45105
+ "text": "void"
45056
45106
  }
45057
45107
  },
45058
45108
  "parameters": [
45059
45109
  {
45060
- "name": "classname",
45061
- "optional": true,
45110
+ "name": "message",
45062
45111
  "type": {
45063
45112
  "text": "string"
45064
45113
  }
45065
45114
  }
45066
45115
  ],
45116
+ "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.",
45067
45117
  "inheritedFrom": {
45068
- "name": "SbbIconNameMixin",
45069
- "module": "icon/icon-name-mixin.js"
45118
+ "name": "SbbFormAssociatedMixin",
45119
+ "module": "core/mixins/form-associated-mixin.js"
45070
45120
  }
45071
45121
  },
45072
45122
  {
45073
45123
  "kind": "method",
45074
- "name": "renderIconName",
45075
- "privacy": "protected",
45124
+ "name": "_hasDisabledAncestor",
45125
+ "privacy": "private",
45076
45126
  "return": {
45077
45127
  "type": {
45078
- "text": "string"
45128
+ "text": "boolean"
45079
45129
  }
45080
45130
  },
45081
45131
  "inheritedFrom": {
45082
- "name": "SbbIconNameMixin",
45083
- "module": "icon/icon-name-mixin.js"
45132
+ "name": "SbbFormAssociatedMixin",
45133
+ "module": "core/mixins/form-associated-mixin.js"
45084
45134
  }
45085
45135
  },
45086
45136
  {
45087
45137
  "kind": "method",
45088
- "name": "_renderIconName",
45089
- "privacy": "private",
45138
+ "name": "updateFormValue",
45139
+ "privacy": "protected",
45090
45140
  "return": {
45091
45141
  "type": {
45092
- "text": "string"
45142
+ "text": "void"
45093
45143
  }
45094
45144
  },
45145
+ "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",
45095
45146
  "inheritedFrom": {
45096
- "name": "SbbIconNameMixin",
45097
- "module": "icon/icon-name-mixin.js"
45098
- }
45099
- },
45100
- {
45101
- "kind": "field",
45102
- "name": "disabledInteractive",
45103
- "type": {
45104
- "text": "boolean"
45105
- },
45106
- "privacy": "public",
45107
- "default": "false",
45108
- "description": "Whether the button should be aria-disabled but stay interactive.",
45109
- "attribute": "disabled-interactive",
45110
- "reflects": true,
45111
- "inheritedFrom": {
45112
- "name": "SbbDisabledInteractiveMixin",
45113
- "module": "core/mixins/disabled-mixin.js"
45114
- }
45115
- },
45116
- {
45117
- "kind": "field",
45118
- "name": "disabled",
45119
- "privacy": "public",
45120
- "description": "Whether the component is disabled.",
45121
- "default": "false",
45122
- "type": {
45123
- "text": "boolean"
45124
- },
45125
- "attribute": "disabled",
45126
- "reflects": true,
45127
- "inheritedFrom": {
45128
- "name": "SbbDisabledMixin",
45129
- "module": "core/mixins/disabled-mixin.js"
45130
- }
45131
- },
45132
- {
45133
- "kind": "field",
45134
- "name": "#disabled",
45135
- "privacy": "private",
45136
- "type": {
45137
- "text": "boolean"
45138
- },
45139
- "default": "false",
45140
- "inheritedFrom": {
45141
- "name": "SbbDisabledMixin",
45142
- "module": "core/mixins/disabled-mixin.js"
45147
+ "name": "SbbFormAssociatedMixin",
45148
+ "module": "core/mixins/form-associated-mixin.js"
45143
45149
  }
45144
45150
  },
45145
45151
  {
45146
45152
  "kind": "method",
45147
- "name": "isDisabledExternally",
45153
+ "name": "formState",
45148
45154
  "privacy": "protected",
45149
45155
  "return": {
45150
45156
  "type": {
45151
- "text": "boolean"
45157
+ "text": "FormRestoreState"
45152
45158
  }
45153
45159
  },
45154
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
45155
45160
  "inheritedFrom": {
45156
- "name": "SbbDisabledMixin",
45157
- "module": "core/mixins/disabled-mixin.js"
45161
+ "name": "SbbFormAssociatedMixin",
45162
+ "module": "core/mixins/form-associated-mixin.js"
45158
45163
  }
45159
45164
  },
45160
45165
  {
45161
- "kind": "field",
45162
- "name": "href",
45163
- "type": {
45164
- "text": "string"
45166
+ "kind": "method",
45167
+ "name": "setValidityFlag",
45168
+ "privacy": "protected",
45169
+ "return": {
45170
+ "type": {
45171
+ "text": "void"
45172
+ }
45165
45173
  },
45166
- "privacy": "public",
45167
- "default": "''",
45168
- "description": "The href value you want to link to.",
45169
- "attribute": "href",
45170
- "reflects": true,
45174
+ "parameters": [
45175
+ {
45176
+ "name": "flag",
45177
+ "type": {
45178
+ "text": "T"
45179
+ }
45180
+ },
45181
+ {
45182
+ "name": "message",
45183
+ "type": {
45184
+ "text": "string"
45185
+ }
45186
+ },
45187
+ {
45188
+ "name": "flagValue",
45189
+ "optional": true,
45190
+ "type": {
45191
+ "text": "ValidityStateFlags[T]"
45192
+ }
45193
+ }
45194
+ ],
45195
+ "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).",
45171
45196
  "inheritedFrom": {
45172
- "name": "SbbLinkBaseElement",
45173
- "module": "core/base-elements/link-base-element.js"
45197
+ "name": "SbbFormAssociatedMixin",
45198
+ "module": "core/mixins/form-associated-mixin.js"
45174
45199
  }
45175
45200
  },
45176
45201
  {
45177
- "kind": "field",
45178
- "name": "target",
45179
- "type": {
45180
- "text": "LinkTargetType | string"
45202
+ "kind": "method",
45203
+ "name": "removeValidityFlag",
45204
+ "privacy": "protected",
45205
+ "return": {
45206
+ "type": {
45207
+ "text": "void"
45208
+ }
45181
45209
  },
45182
- "privacy": "public",
45183
- "default": "''",
45184
- "description": "Where to display the linked URL.",
45185
- "attribute": "target",
45186
- "reflects": true,
45210
+ "parameters": [
45211
+ {
45212
+ "name": "flag",
45213
+ "type": {
45214
+ "text": "T"
45215
+ }
45216
+ }
45217
+ ],
45218
+ "description": "Removes the validity state flag entry and updates validity state.",
45187
45219
  "inheritedFrom": {
45188
- "name": "SbbLinkBaseElement",
45189
- "module": "core/base-elements/link-base-element.js"
45220
+ "name": "SbbFormAssociatedMixin",
45221
+ "module": "core/mixins/form-associated-mixin.js"
45190
45222
  }
45191
45223
  },
45192
45224
  {
45193
- "kind": "field",
45194
- "name": "rel",
45195
- "type": {
45196
- "text": "string"
45225
+ "kind": "method",
45226
+ "name": "validate",
45227
+ "privacy": "protected",
45228
+ "return": {
45229
+ "type": {
45230
+ "text": "void"
45231
+ }
45197
45232
  },
45198
- "privacy": "public",
45199
- "default": "''",
45200
- "description": "The relationship of the linked URL as space-separated link types.",
45201
- "attribute": "rel",
45202
- "reflects": true,
45233
+ "description": "To be called whenever the current element needs to be validated.",
45203
45234
  "inheritedFrom": {
45204
- "name": "SbbLinkBaseElement",
45205
- "module": "core/base-elements/link-base-element.js"
45235
+ "name": "SbbFormAssociatedMixin",
45236
+ "module": "core/mixins/form-associated-mixin.js"
45206
45237
  }
45207
45238
  },
45208
45239
  {
45209
- "kind": "field",
45210
- "name": "download",
45211
- "type": {
45212
- "text": "boolean"
45240
+ "kind": "method",
45241
+ "name": "shouldValidate",
45242
+ "privacy": "protected",
45243
+ "return": {
45244
+ "type": {
45245
+ "text": "boolean"
45246
+ }
45213
45247
  },
45214
- "privacy": "public",
45215
- "default": "false",
45216
- "description": "Whether the browser will show the download dialog on click.",
45217
- "attribute": "download",
45218
- "reflects": true,
45248
+ "parameters": [
45249
+ {
45250
+ "name": "name",
45251
+ "type": {
45252
+ "text": "PropertyKey | undefined"
45253
+ }
45254
+ }
45255
+ ],
45256
+ "description": "Whether validation should be run on a property change with the given name.",
45219
45257
  "inheritedFrom": {
45220
- "name": "SbbLinkBaseElement",
45221
- "module": "core/base-elements/link-base-element.js"
45258
+ "name": "SbbFormAssociatedMixin",
45259
+ "module": "core/mixins/form-associated-mixin.js"
45222
45260
  }
45223
45261
  },
45224
45262
  {
45225
- "kind": "field",
45226
- "name": "accessibilityLabel",
45227
- "type": {
45228
- "text": "string"
45263
+ "kind": "method",
45264
+ "name": "_setInternalValidity",
45265
+ "privacy": "private",
45266
+ "return": {
45267
+ "type": {
45268
+ "text": "void"
45269
+ }
45229
45270
  },
45230
- "privacy": "public",
45231
- "default": "''",
45232
- "description": "This will be forwarded as aria-label to the inner anchor element.",
45233
- "attribute": "accessibility-label",
45234
45271
  "inheritedFrom": {
45235
- "name": "SbbLinkBaseElement",
45236
- "module": "core/base-elements/link-base-element.js"
45272
+ "name": "SbbFormAssociatedMixin",
45273
+ "module": "core/mixins/form-associated-mixin.js"
45237
45274
  }
45238
45275
  },
45239
45276
  {
45240
45277
  "kind": "field",
45241
- "name": "accessibilityCurrent",
45278
+ "name": "role",
45242
45279
  "type": {
45243
- "text": "string"
45280
+ "text": "ElementInternals['role']"
45244
45281
  },
45245
45282
  "privacy": "public",
45246
- "default": "''",
45247
- "description": "This will be forwarded as aria-current to the inner anchor element.",
45248
- "attribute": "accessibility-current",
45283
+ "static": true,
45284
+ "readonly": true,
45285
+ "default": "'button'",
45249
45286
  "inheritedFrom": {
45250
- "name": "SbbLinkBaseElement",
45251
- "module": "core/base-elements/link-base-element.js"
45287
+ "name": "SbbButtonLikeBaseElement",
45288
+ "module": "core/base-elements/button-base-element.js"
45252
45289
  }
45253
45290
  },
45254
45291
  {
45255
45292
  "kind": "field",
45256
- "name": "language",
45257
- "privacy": "protected",
45258
- "default": "new SbbLanguageController(this)",
45293
+ "name": "_preventScrollOnSpaceKeydown",
45294
+ "privacy": "private",
45295
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
45296
+ "parameters": [
45297
+ {
45298
+ "description": "The origin event.",
45299
+ "name": "event"
45300
+ }
45301
+ ],
45259
45302
  "inheritedFrom": {
45260
- "name": "SbbLinkBaseElement",
45261
- "module": "core/base-elements/link-base-element.js"
45303
+ "name": "SbbButtonLikeBaseElement",
45304
+ "module": "core/base-elements/button-base-element.js"
45262
45305
  }
45263
45306
  },
45264
45307
  {
45265
45308
  "kind": "field",
45266
- "name": "anchorRole",
45267
- "type": {
45268
- "text": "string | null"
45269
- },
45270
- "privacy": "protected",
45271
- "readonly": true,
45272
- "default": "null",
45309
+ "name": "_removeActiveMarker",
45310
+ "privacy": "private",
45273
45311
  "inheritedFrom": {
45274
- "name": "SbbLinkBaseElement",
45275
- "module": "core/base-elements/link-base-element.js"
45312
+ "name": "SbbButtonLikeBaseElement",
45313
+ "module": "core/base-elements/button-base-element.js"
45276
45314
  }
45277
45315
  },
45278
45316
  {
45279
45317
  "kind": "field",
45280
- "name": "_evaluateRelAttribute",
45318
+ "name": "_dispatchClickEventOnSpaceKeyup",
45281
45319
  "privacy": "private",
45282
- "inheritedFrom": {
45283
- "name": "SbbLinkBaseElement",
45284
- "module": "core/base-elements/link-base-element.js"
45285
- }
45286
- },
45287
- {
45288
- "kind": "method",
45289
- "name": "renderLink",
45290
- "privacy": "protected",
45291
- "return": {
45292
- "type": {
45293
- "text": "TemplateResult"
45294
- }
45295
- },
45320
+ "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.",
45296
45321
  "parameters": [
45297
45322
  {
45298
- "name": "renderContent",
45299
- "type": {
45300
- "text": "TemplateResult"
45301
- }
45323
+ "description": "The origin event.",
45324
+ "name": "event"
45302
45325
  }
45303
45326
  ],
45304
45327
  "inheritedFrom": {
45305
- "name": "SbbLinkBaseElement",
45306
- "module": "core/base-elements/link-base-element.js"
45328
+ "name": "SbbButtonLikeBaseElement",
45329
+ "module": "core/base-elements/button-base-element.js"
45330
+ }
45331
+ },
45332
+ {
45333
+ "kind": "field",
45334
+ "name": "_dispatchClickEvent",
45335
+ "privacy": "private",
45336
+ "inheritedFrom": {
45337
+ "name": "SbbButtonLikeBaseElement",
45338
+ "module": "core/base-elements/button-base-element.js"
45307
45339
  }
45308
45340
  },
45309
45341
  {
@@ -45458,19 +45490,15 @@
45458
45490
  "module": "button/common/button-common.js"
45459
45491
  },
45460
45492
  {
45461
- "name": "SbbDisabledInteractiveMixin",
45462
- "module": "core/mixins.js"
45463
- },
45464
- {
45465
- "name": "SbbDisabledMixin",
45493
+ "name": "SbbDisabledTabIndexActionMixin",
45466
45494
  "module": "core/mixins.js"
45467
45495
  }
45468
45496
  ],
45469
45497
  "superclass": {
45470
- "name": "SbbLinkBaseElement",
45498
+ "name": "SbbButtonBaseElement",
45471
45499
  "module": "core/base-elements.js"
45472
45500
  },
45473
- "tagName": "sbb-secondary-button-link",
45501
+ "tagName": "sbb-secondary-button",
45474
45502
  "customElement": true,
45475
45503
  "attributes": [
45476
45504
  {
@@ -45552,81 +45580,53 @@
45552
45580
  }
45553
45581
  },
45554
45582
  {
45555
- "name": "href",
45556
- "type": {
45557
- "text": "string"
45558
- },
45559
- "default": "''",
45560
- "description": "The href value you want to link to.",
45561
- "fieldName": "href",
45562
- "inheritedFrom": {
45563
- "name": "SbbLinkBaseElement",
45564
- "module": "core/base-elements/link-base-element.js"
45565
- }
45566
- },
45567
- {
45568
- "name": "target",
45569
- "type": {
45570
- "text": "LinkTargetType | string"
45571
- },
45572
- "default": "''",
45573
- "description": "Where to display the linked URL.",
45574
- "fieldName": "target",
45575
- "inheritedFrom": {
45576
- "name": "SbbLinkBaseElement",
45577
- "module": "core/base-elements/link-base-element.js"
45578
- }
45579
- },
45580
- {
45581
- "name": "rel",
45583
+ "name": "value",
45582
45584
  "type": {
45583
45585
  "text": "string"
45584
45586
  },
45585
45587
  "default": "''",
45586
- "description": "The relationship of the linked URL as space-separated link types.",
45587
- "fieldName": "rel",
45588
+ "description": "Value of the form element.",
45589
+ "fieldName": "value",
45588
45590
  "inheritedFrom": {
45589
- "name": "SbbLinkBaseElement",
45590
- "module": "core/base-elements/link-base-element.js"
45591
+ "name": "SbbButtonBaseElement",
45592
+ "module": "core/base-elements/button-base-element.js"
45591
45593
  }
45592
45594
  },
45593
45595
  {
45594
- "name": "download",
45596
+ "name": "type",
45597
+ "description": "The type attribute to use for the button.",
45598
+ "default": "'button'",
45595
45599
  "type": {
45596
- "text": "boolean"
45600
+ "text": "SbbButtonType"
45597
45601
  },
45598
- "default": "false",
45599
- "description": "Whether the browser will show the download dialog on click.",
45600
- "fieldName": "download",
45602
+ "fieldName": "type",
45601
45603
  "inheritedFrom": {
45602
- "name": "SbbLinkBaseElement",
45603
- "module": "core/base-elements/link-base-element.js"
45604
+ "name": "SbbButtonBaseElement",
45605
+ "module": "core/base-elements/button-base-element.js"
45604
45606
  }
45605
45607
  },
45606
45608
  {
45607
- "name": "accessibility-label",
45609
+ "name": "form",
45610
+ "description": "The `<form>` element to associate the button with.",
45608
45611
  "type": {
45609
- "text": "string"
45612
+ "text": "HTMLFormElement | null"
45610
45613
  },
45611
- "default": "''",
45612
- "description": "This will be forwarded as aria-label to the inner anchor element.",
45613
- "fieldName": "accessibilityLabel",
45614
+ "fieldName": "form",
45614
45615
  "inheritedFrom": {
45615
- "name": "SbbLinkBaseElement",
45616
- "module": "core/base-elements/link-base-element.js"
45616
+ "name": "SbbButtonBaseElement",
45617
+ "module": "core/base-elements/button-base-element.js"
45617
45618
  }
45618
45619
  },
45619
45620
  {
45620
- "name": "accessibility-current",
45621
+ "name": "name",
45622
+ "description": "Name of the form element. Will be read from name attribute.",
45621
45623
  "type": {
45622
45624
  "text": "string"
45623
45625
  },
45624
- "default": "''",
45625
- "description": "This will be forwarded as aria-current to the inner anchor element.",
45626
- "fieldName": "accessibilityCurrent",
45626
+ "fieldName": "name",
45627
45627
  "inheritedFrom": {
45628
- "name": "SbbLinkBaseElement",
45629
- "module": "core/base-elements/link-base-element.js"
45628
+ "name": "SbbFormAssociatedMixin",
45629
+ "module": "core/mixins/form-associated-mixin.js"
45630
45630
  }
45631
45631
  }
45632
45632
  ]
@@ -45635,10 +45635,10 @@
45635
45635
  "exports": [
45636
45636
  {
45637
45637
  "kind": "js",
45638
- "name": "SbbSecondaryButtonLinkElement",
45638
+ "name": "SbbSecondaryButtonElement",
45639
45639
  "declaration": {
45640
- "name": "SbbSecondaryButtonLinkElement",
45641
- "module": "button/secondary-button-link/secondary-button-link.component.js"
45640
+ "name": "SbbSecondaryButtonElement",
45641
+ "module": "button/secondary-button/secondary-button.component.js"
45642
45642
  }
45643
45643
  }
45644
45644
  ]