@sbb-esta/lyne-elements-dev 4.8.1-dev.1774272331 → 4.8.1-dev.1774275811

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.
@@ -36891,12 +36891,12 @@
36891
36891
  },
36892
36892
  {
36893
36893
  "kind": "javascript-module",
36894
- "path": "button/accent-button-link/accent-button-link.component.js",
36894
+ "path": "button/accent-button/accent-button.component.js",
36895
36895
  "declarations": [
36896
36896
  {
36897
36897
  "kind": "class",
36898
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
36899
- "name": "SbbAccentButtonLinkElement",
36898
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
36899
+ "name": "SbbAccentButtonElement",
36900
36900
  "cssProperties": [
36901
36901
  {
36902
36902
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -36906,7 +36906,7 @@
36906
36906
  ],
36907
36907
  "slots": [
36908
36908
  {
36909
- "description": "Use the unnamed slot to add content to the accent-button-link.",
36909
+ "description": "Use the unnamed slot to add content to the accent-button.",
36910
36910
  "name": ""
36911
36911
  },
36912
36912
  {
@@ -36924,7 +36924,7 @@
36924
36924
  "privacy": "public",
36925
36925
  "static": true,
36926
36926
  "readonly": true,
36927
- "default": "'sbb-accent-button-link'",
36927
+ "default": "'sbb-accent-button'",
36928
36928
  "inheritedFrom": {
36929
36929
  "name": "SbbElement",
36930
36930
  "module": "core/base-elements/element.js"
@@ -37121,1195 +37121,1163 @@
37121
37121
  },
37122
37122
  {
37123
37123
  "kind": "field",
37124
- "name": "href",
37125
- "type": {
37126
- "text": "string"
37127
- },
37128
- "privacy": "public",
37129
- "default": "''",
37130
- "description": "The href value you want to link to.",
37131
- "attribute": "href",
37132
- "reflects": true,
37133
- "inheritedFrom": {
37134
- "name": "SbbLinkBaseElement",
37135
- "module": "core/base-elements/link-base-element.js"
37136
- }
37137
- },
37138
- {
37139
- "kind": "field",
37140
- "name": "target",
37124
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
37141
37125
  "type": {
37142
- "text": "LinkTargetType | string"
37126
+ "text": "array"
37143
37127
  },
37144
- "privacy": "public",
37145
- "default": "''",
37146
- "description": "Where to display the linked URL.",
37147
- "attribute": "target",
37148
- "reflects": true,
37128
+ "privacy": "private",
37129
+ "readonly": true,
37130
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
37149
37131
  "inheritedFrom": {
37150
- "name": "SbbLinkBaseElement",
37151
- "module": "core/base-elements/link-base-element.js"
37132
+ "name": "SbbButtonBaseElement",
37133
+ "module": "core/base-elements/button-base-element.js"
37152
37134
  }
37153
37135
  },
37154
37136
  {
37155
37137
  "kind": "field",
37156
- "name": "rel",
37138
+ "name": "value",
37157
37139
  "type": {
37158
37140
  "text": "string"
37159
37141
  },
37160
37142
  "privacy": "public",
37161
37143
  "default": "''",
37162
- "description": "The relationship of the linked URL as space-separated link types.",
37163
- "attribute": "rel",
37164
- "reflects": true,
37144
+ "description": "Value of the form element.",
37145
+ "attribute": "value",
37165
37146
  "inheritedFrom": {
37166
- "name": "SbbLinkBaseElement",
37167
- "module": "core/base-elements/link-base-element.js"
37147
+ "name": "SbbButtonBaseElement",
37148
+ "module": "core/base-elements/button-base-element.js"
37168
37149
  }
37169
37150
  },
37170
37151
  {
37171
37152
  "kind": "field",
37172
- "name": "download",
37153
+ "name": "type",
37154
+ "privacy": "public",
37155
+ "description": "The type attribute to use for the button.",
37156
+ "default": "'button'",
37173
37157
  "type": {
37174
- "text": "boolean"
37158
+ "text": "SbbButtonType"
37175
37159
  },
37176
- "privacy": "public",
37177
- "default": "false",
37178
- "description": "Whether the browser will show the download dialog on click.",
37179
- "attribute": "download",
37180
- "reflects": true,
37160
+ "attribute": "type",
37181
37161
  "inheritedFrom": {
37182
- "name": "SbbLinkBaseElement",
37183
- "module": "core/base-elements/link-base-element.js"
37162
+ "name": "SbbButtonBaseElement",
37163
+ "module": "core/base-elements/button-base-element.js"
37184
37164
  }
37185
37165
  },
37186
37166
  {
37187
37167
  "kind": "field",
37188
- "name": "accessibilityLabel",
37168
+ "name": "form",
37189
37169
  "type": {
37190
- "text": "string"
37170
+ "text": "HTMLFormElement | null"
37191
37171
  },
37192
37172
  "privacy": "public",
37193
- "default": "''",
37194
- "description": "This will be forwarded as aria-label to the inner anchor element.",
37195
- "attribute": "accessibility-label",
37173
+ "description": "The `<form>` element to associate the button with.",
37174
+ "attribute": "form",
37196
37175
  "inheritedFrom": {
37197
- "name": "SbbLinkBaseElement",
37198
- "module": "core/base-elements/link-base-element.js"
37176
+ "name": "SbbButtonBaseElement",
37177
+ "module": "core/base-elements/button-base-element.js"
37199
37178
  }
37200
37179
  },
37201
37180
  {
37202
37181
  "kind": "field",
37203
- "name": "accessibilityCurrent",
37182
+ "name": "_formId",
37204
37183
  "type": {
37205
37184
  "text": "string"
37206
37185
  },
37207
- "privacy": "public",
37186
+ "privacy": "private",
37208
37187
  "default": "''",
37209
- "description": "This will be forwarded as aria-current to the inner anchor element.",
37210
- "attribute": "accessibility-current",
37211
- "inheritedFrom": {
37212
- "name": "SbbLinkBaseElement",
37213
- "module": "core/base-elements/link-base-element.js"
37214
- }
37215
- },
37216
- {
37217
- "kind": "field",
37218
- "name": "language",
37219
- "privacy": "protected",
37220
- "default": "new SbbLanguageController(this)",
37221
- "inheritedFrom": {
37222
- "name": "SbbLinkBaseElement",
37223
- "module": "core/base-elements/link-base-element.js"
37224
- }
37225
- },
37226
- {
37227
- "kind": "field",
37228
- "name": "anchorRole",
37229
- "type": {
37230
- "text": "string | null"
37231
- },
37232
- "privacy": "protected",
37233
- "readonly": true,
37234
- "default": "null",
37235
37188
  "inheritedFrom": {
37236
- "name": "SbbLinkBaseElement",
37237
- "module": "core/base-elements/link-base-element.js"
37189
+ "name": "SbbButtonBaseElement",
37190
+ "module": "core/base-elements/button-base-element.js"
37238
37191
  }
37239
37192
  },
37240
37193
  {
37241
37194
  "kind": "field",
37242
- "name": "_evaluateRelAttribute",
37195
+ "name": "_handleButtonClick",
37243
37196
  "privacy": "private",
37244
37197
  "inheritedFrom": {
37245
- "name": "SbbLinkBaseElement",
37246
- "module": "core/base-elements/link-base-element.js"
37198
+ "name": "SbbButtonBaseElement",
37199
+ "module": "core/base-elements/button-base-element.js"
37247
37200
  }
37248
37201
  },
37249
37202
  {
37250
37203
  "kind": "method",
37251
- "name": "renderLink",
37252
- "privacy": "protected",
37204
+ "name": "_requestSubmit",
37205
+ "privacy": "private",
37253
37206
  "return": {
37254
37207
  "type": {
37255
- "text": "TemplateResult"
37208
+ "text": "void"
37256
37209
  }
37257
37210
  },
37258
37211
  "parameters": [
37259
37212
  {
37260
- "name": "renderContent",
37213
+ "name": "form",
37261
37214
  "type": {
37262
- "text": "TemplateResult"
37215
+ "text": "HTMLFormElement"
37263
37216
  }
37264
37217
  }
37265
37218
  ],
37266
37219
  "inheritedFrom": {
37267
- "name": "SbbLinkBaseElement",
37268
- "module": "core/base-elements/link-base-element.js"
37220
+ "name": "SbbButtonBaseElement",
37221
+ "module": "core/base-elements/button-base-element.js"
37269
37222
  }
37270
37223
  },
37271
37224
  {
37272
37225
  "kind": "field",
37273
- "name": "maybeDisabled",
37274
- "type": {
37275
- "text": "boolean | undefined"
37276
- },
37277
- "privacy": "protected",
37278
- "readonly": true,
37226
+ "name": "_formKeyDown",
37227
+ "privacy": "private",
37279
37228
  "inheritedFrom": {
37280
- "name": "SbbActionBaseElement",
37281
- "module": "core/base-elements/action-base-element.js"
37229
+ "name": "SbbButtonBaseElement",
37230
+ "module": "core/base-elements/button-base-element.js"
37282
37231
  }
37283
37232
  },
37284
37233
  {
37285
37234
  "kind": "field",
37286
- "name": "maybeDisabledInteractive",
37235
+ "name": "formAssociated",
37287
37236
  "type": {
37288
- "text": "boolean | undefined"
37237
+ "text": "boolean"
37289
37238
  },
37290
- "privacy": "protected",
37291
- "readonly": true,
37239
+ "privacy": "public",
37240
+ "static": true,
37241
+ "default": "true",
37292
37242
  "inheritedFrom": {
37293
- "name": "SbbActionBaseElement",
37294
- "module": "core/base-elements/action-base-element.js"
37243
+ "name": "SbbFormAssociatedMixin",
37244
+ "module": "core/mixins/form-associated-mixin.js"
37295
37245
  }
37296
37246
  },
37297
37247
  {
37298
- "kind": "method",
37299
- "name": "setupBaseEventHandlers",
37300
- "privacy": "protected",
37301
- "return": {
37302
- "type": {
37303
- "text": "void"
37304
- }
37248
+ "kind": "field",
37249
+ "name": "name",
37250
+ "privacy": "public",
37251
+ "description": "Name of the form element. Will be read from name attribute.",
37252
+ "type": {
37253
+ "text": "string"
37305
37254
  },
37255
+ "attribute": "name",
37306
37256
  "inheritedFrom": {
37307
- "name": "SbbActionBaseElement",
37308
- "module": "core/base-elements/action-base-element.js"
37257
+ "name": "SbbFormAssociatedMixin",
37258
+ "module": "core/mixins/form-associated-mixin.js"
37309
37259
  }
37310
37260
  },
37311
37261
  {
37312
37262
  "kind": "field",
37313
- "name": "_hydrationRequired",
37263
+ "name": "validity",
37314
37264
  "type": {
37315
- "text": "boolean"
37265
+ "text": "ValidityState"
37316
37266
  },
37317
- "privacy": "private",
37318
- "default": "!!this.shadowRoot",
37267
+ "privacy": "public",
37268
+ "description": "Returns the ValidityState object for this element.",
37269
+ "readonly": true,
37319
37270
  "inheritedFrom": {
37320
- "name": "SbbHydrationMixin",
37321
- "module": "core/mixins/hydration-mixin.js"
37271
+ "name": "SbbFormAssociatedMixin",
37272
+ "module": "core/mixins/form-associated-mixin.js"
37322
37273
  }
37323
37274
  },
37324
37275
  {
37325
37276
  "kind": "field",
37326
- "name": "_hydrationComplete",
37327
- "privacy": "private",
37328
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
37277
+ "name": "validationMessage",
37278
+ "type": {
37279
+ "text": "string"
37280
+ },
37281
+ "privacy": "public",
37282
+ "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.",
37283
+ "readonly": true,
37329
37284
  "inheritedFrom": {
37330
- "name": "SbbHydrationMixin",
37331
- "module": "core/mixins/hydration-mixin.js"
37285
+ "name": "SbbFormAssociatedMixin",
37286
+ "module": "core/mixins/form-associated-mixin.js"
37332
37287
  }
37333
37288
  },
37334
37289
  {
37335
37290
  "kind": "field",
37336
- "name": "_resolveHydration",
37291
+ "name": "willValidate",
37337
37292
  "type": {
37338
- "text": "(hydrationRequired: boolean) => void"
37293
+ "text": "boolean"
37339
37294
  },
37295
+ "privacy": "public",
37296
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
37297
+ "readonly": true,
37298
+ "inheritedFrom": {
37299
+ "name": "SbbFormAssociatedMixin",
37300
+ "module": "core/mixins/form-associated-mixin.js"
37301
+ }
37302
+ },
37303
+ {
37304
+ "kind": "field",
37305
+ "name": "_validityStates",
37340
37306
  "privacy": "private",
37307
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
37341
37308
  "inheritedFrom": {
37342
- "name": "SbbHydrationMixin",
37343
- "module": "core/mixins/hydration-mixin.js"
37309
+ "name": "SbbFormAssociatedMixin",
37310
+ "module": "core/mixins/form-associated-mixin.js"
37344
37311
  }
37345
37312
  },
37346
37313
  {
37347
37314
  "kind": "field",
37348
- "name": "hydrationRequired",
37315
+ "name": "formDisabled",
37349
37316
  "type": {
37350
37317
  "text": "boolean"
37351
37318
  },
37352
37319
  "privacy": "protected",
37353
- "description": "Returns whether hydration is required and not completed.",
37354
- "readonly": true,
37320
+ "default": "false",
37321
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
37355
37322
  "inheritedFrom": {
37356
- "name": "SbbHydrationMixin",
37357
- "module": "core/mixins/hydration-mixin.js"
37358
- },
37359
- "default": "!!this.shadowRoot"
37323
+ "name": "SbbFormAssociatedMixin",
37324
+ "module": "core/mixins/form-associated-mixin.js"
37325
+ }
37360
37326
  },
37361
37327
  {
37362
37328
  "kind": "method",
37363
- "name": "toggleState",
37364
- "privacy": "protected",
37329
+ "name": "checkValidity",
37330
+ "privacy": "public",
37365
37331
  "return": {
37366
37332
  "type": {
37367
- "text": "void"
37333
+ "text": "boolean"
37368
37334
  }
37369
37335
  },
37370
- "parameters": [
37371
- {
37372
- "name": "value",
37373
- "type": {
37374
- "text": "string"
37375
- }
37376
- },
37377
- {
37378
- "name": "force",
37379
- "optional": true,
37336
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
37337
+ "inheritedFrom": {
37338
+ "name": "SbbFormAssociatedMixin",
37339
+ "module": "core/mixins/form-associated-mixin.js"
37340
+ }
37341
+ },
37342
+ {
37343
+ "kind": "method",
37344
+ "name": "reportValidity",
37345
+ "privacy": "public",
37346
+ "return": {
37347
+ "type": {
37348
+ "text": "boolean"
37349
+ }
37350
+ },
37351
+ "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.",
37352
+ "inheritedFrom": {
37353
+ "name": "SbbFormAssociatedMixin",
37354
+ "module": "core/mixins/form-associated-mixin.js"
37355
+ }
37356
+ },
37357
+ {
37358
+ "kind": "method",
37359
+ "name": "setCustomValidity",
37360
+ "privacy": "public",
37361
+ "return": {
37362
+ "type": {
37363
+ "text": "void"
37364
+ }
37365
+ },
37366
+ "parameters": [
37367
+ {
37368
+ "name": "message",
37380
37369
  "type": {
37381
- "text": "boolean"
37370
+ "text": "string"
37382
37371
  }
37383
37372
  }
37384
37373
  ],
37374
+ "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.",
37385
37375
  "inheritedFrom": {
37386
- "name": "SbbElementInternalsMixin",
37387
- "module": "core/mixins/element-internals-mixin.js"
37376
+ "name": "SbbFormAssociatedMixin",
37377
+ "module": "core/mixins/form-associated-mixin.js"
37388
37378
  }
37389
37379
  },
37390
37380
  {
37391
- "kind": "field",
37392
- "name": "['_$sbbElement$']",
37393
- "type": {
37394
- "text": "boolean"
37381
+ "kind": "method",
37382
+ "name": "_hasDisabledAncestor",
37383
+ "privacy": "private",
37384
+ "return": {
37385
+ "type": {
37386
+ "text": "boolean"
37387
+ }
37395
37388
  },
37396
- "privacy": "public",
37397
- "static": true,
37398
- "default": "true",
37399
37389
  "inheritedFrom": {
37400
- "name": "SbbElement",
37401
- "module": "core/base-elements/element.js"
37390
+ "name": "SbbFormAssociatedMixin",
37391
+ "module": "core/mixins/form-associated-mixin.js"
37402
37392
  }
37403
37393
  },
37404
37394
  {
37405
- "kind": "field",
37406
- "name": "_controllers",
37407
- "type": {
37408
- "text": "Set<SbbReactiveController> | undefined"
37395
+ "kind": "method",
37396
+ "name": "updateFormValue",
37397
+ "privacy": "protected",
37398
+ "return": {
37399
+ "type": {
37400
+ "text": "void"
37401
+ }
37409
37402
  },
37410
- "privacy": "private",
37403
+ "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",
37411
37404
  "inheritedFrom": {
37412
- "name": "SbbElement",
37413
- "module": "core/base-elements/element.js"
37405
+ "name": "SbbFormAssociatedMixin",
37406
+ "module": "core/mixins/form-associated-mixin.js"
37414
37407
  }
37415
- }
37416
- ],
37417
- "mixins": [
37418
- {
37419
- "name": "SbbButtonCommonElementMixin",
37420
- "module": "button/common.js"
37421
37408
  },
37422
37409
  {
37423
- "name": "SbbDisabledInteractiveMixin",
37424
- "module": "core/mixins.js"
37410
+ "kind": "method",
37411
+ "name": "formState",
37412
+ "privacy": "protected",
37413
+ "return": {
37414
+ "type": {
37415
+ "text": "FormRestoreState"
37416
+ }
37417
+ },
37418
+ "inheritedFrom": {
37419
+ "name": "SbbFormAssociatedMixin",
37420
+ "module": "core/mixins/form-associated-mixin.js"
37421
+ }
37425
37422
  },
37426
37423
  {
37427
- "name": "SbbDisabledMixin",
37428
- "module": "core/mixins.js"
37429
- }
37430
- ],
37431
- "superclass": {
37432
- "name": "SbbLinkBaseElement",
37433
- "module": "core/base-elements.js"
37434
- },
37435
- "tagName": "sbb-accent-button-link",
37436
- "customElement": true,
37437
- "attributes": [
37438
- {
37439
- "name": "size",
37440
- "type": {
37441
- "text": "SbbButtonSize"
37424
+ "kind": "method",
37425
+ "name": "setValidityFlag",
37426
+ "privacy": "protected",
37427
+ "return": {
37428
+ "type": {
37429
+ "text": "void"
37430
+ }
37442
37431
  },
37443
- "description": "Size variant, either l, m or s.",
37444
- "default": "'l' / 's' (lean)",
37445
- "fieldName": "size",
37432
+ "parameters": [
37433
+ {
37434
+ "name": "flag",
37435
+ "type": {
37436
+ "text": "T"
37437
+ }
37438
+ },
37439
+ {
37440
+ "name": "message",
37441
+ "type": {
37442
+ "text": "string"
37443
+ }
37444
+ },
37445
+ {
37446
+ "name": "flagValue",
37447
+ "optional": true,
37448
+ "type": {
37449
+ "text": "ValidityStateFlags[T]"
37450
+ }
37451
+ }
37452
+ ],
37453
+ "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).",
37446
37454
  "inheritedFrom": {
37447
- "name": "SbbButtonCommonElementMixin",
37448
- "module": "button/common/button-common.js"
37455
+ "name": "SbbFormAssociatedMixin",
37456
+ "module": "core/mixins/form-associated-mixin.js"
37449
37457
  }
37450
37458
  },
37451
37459
  {
37452
- "name": "loading",
37453
- "type": {
37454
- "text": "boolean"
37460
+ "kind": "method",
37461
+ "name": "removeValidityFlag",
37462
+ "privacy": "protected",
37463
+ "return": {
37464
+ "type": {
37465
+ "text": "void"
37466
+ }
37455
37467
  },
37456
- "default": "false",
37457
- "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.",
37458
- "fieldName": "loading",
37468
+ "parameters": [
37469
+ {
37470
+ "name": "flag",
37471
+ "type": {
37472
+ "text": "T"
37473
+ }
37474
+ }
37475
+ ],
37476
+ "description": "Removes the validity state flag entry and updates validity state.",
37459
37477
  "inheritedFrom": {
37460
- "name": "SbbButtonCommonElementMixin",
37461
- "module": "button/common/button-common.js"
37478
+ "name": "SbbFormAssociatedMixin",
37479
+ "module": "core/mixins/form-associated-mixin.js"
37462
37480
  }
37463
37481
  },
37464
37482
  {
37465
- "name": "negative",
37466
- "type": {
37467
- "text": "boolean"
37483
+ "kind": "method",
37484
+ "name": "validate",
37485
+ "privacy": "protected",
37486
+ "return": {
37487
+ "type": {
37488
+ "text": "void"
37489
+ }
37468
37490
  },
37469
- "default": "false",
37470
- "description": "Negative coloring variant flag.",
37471
- "fieldName": "negative",
37491
+ "description": "To be called whenever the current element needs to be validated.",
37472
37492
  "inheritedFrom": {
37473
- "name": "SbbNegativeMixin",
37474
- "module": "core/mixins/negative-mixin.js"
37493
+ "name": "SbbFormAssociatedMixin",
37494
+ "module": "core/mixins/form-associated-mixin.js"
37475
37495
  }
37476
37496
  },
37477
37497
  {
37478
- "name": "icon-name",
37479
- "type": {
37480
- "text": "string"
37498
+ "kind": "method",
37499
+ "name": "shouldValidate",
37500
+ "privacy": "protected",
37501
+ "return": {
37502
+ "type": {
37503
+ "text": "boolean"
37504
+ }
37481
37505
  },
37482
- "default": "''",
37483
- "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.",
37484
- "fieldName": "iconName",
37506
+ "parameters": [
37507
+ {
37508
+ "name": "name",
37509
+ "type": {
37510
+ "text": "PropertyKey | undefined"
37511
+ }
37512
+ }
37513
+ ],
37514
+ "description": "Whether validation should be run on a property change with the given name.",
37485
37515
  "inheritedFrom": {
37486
- "name": "SbbIconNameMixin",
37487
- "module": "icon/icon-name-mixin.js"
37516
+ "name": "SbbFormAssociatedMixin",
37517
+ "module": "core/mixins/form-associated-mixin.js"
37488
37518
  }
37489
37519
  },
37490
37520
  {
37491
- "name": "disabled-interactive",
37492
- "type": {
37493
- "text": "boolean"
37521
+ "kind": "method",
37522
+ "name": "_setInternalValidity",
37523
+ "privacy": "private",
37524
+ "return": {
37525
+ "type": {
37526
+ "text": "void"
37527
+ }
37494
37528
  },
37495
- "default": "false",
37496
- "description": "Whether the button should be aria-disabled but stay interactive.",
37497
- "fieldName": "disabledInteractive",
37498
37529
  "inheritedFrom": {
37499
- "name": "SbbDisabledInteractiveMixin",
37500
- "module": "core/mixins/disabled-mixin.js"
37530
+ "name": "SbbFormAssociatedMixin",
37531
+ "module": "core/mixins/form-associated-mixin.js"
37501
37532
  }
37502
37533
  },
37503
37534
  {
37504
- "name": "disabled",
37505
- "description": "Whether the component is disabled.",
37506
- "default": "false",
37535
+ "kind": "field",
37536
+ "name": "role",
37507
37537
  "type": {
37508
- "text": "boolean"
37538
+ "text": "ElementInternals['role']"
37509
37539
  },
37510
- "fieldName": "disabled",
37540
+ "privacy": "public",
37541
+ "static": true,
37542
+ "readonly": true,
37543
+ "default": "'button'",
37511
37544
  "inheritedFrom": {
37512
- "name": "SbbDisabledMixin",
37513
- "module": "core/mixins/disabled-mixin.js"
37545
+ "name": "SbbButtonLikeBaseElement",
37546
+ "module": "core/base-elements/button-base-element.js"
37514
37547
  }
37515
37548
  },
37516
37549
  {
37517
- "name": "href",
37550
+ "kind": "field",
37551
+ "name": "_preventScrollOnSpaceKeydown",
37552
+ "privacy": "private",
37553
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
37554
+ "parameters": [
37555
+ {
37556
+ "description": "The origin event.",
37557
+ "name": "event"
37558
+ }
37559
+ ],
37560
+ "inheritedFrom": {
37561
+ "name": "SbbButtonLikeBaseElement",
37562
+ "module": "core/base-elements/button-base-element.js"
37563
+ }
37564
+ },
37565
+ {
37566
+ "kind": "field",
37567
+ "name": "_removeActiveMarker",
37568
+ "privacy": "private",
37569
+ "inheritedFrom": {
37570
+ "name": "SbbButtonLikeBaseElement",
37571
+ "module": "core/base-elements/button-base-element.js"
37572
+ }
37573
+ },
37574
+ {
37575
+ "kind": "field",
37576
+ "name": "_dispatchClickEventOnSpaceKeyup",
37577
+ "privacy": "private",
37578
+ "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.",
37579
+ "parameters": [
37580
+ {
37581
+ "description": "The origin event.",
37582
+ "name": "event"
37583
+ }
37584
+ ],
37585
+ "inheritedFrom": {
37586
+ "name": "SbbButtonLikeBaseElement",
37587
+ "module": "core/base-elements/button-base-element.js"
37588
+ }
37589
+ },
37590
+ {
37591
+ "kind": "field",
37592
+ "name": "_dispatchClickEvent",
37593
+ "privacy": "private",
37594
+ "inheritedFrom": {
37595
+ "name": "SbbButtonLikeBaseElement",
37596
+ "module": "core/base-elements/button-base-element.js"
37597
+ }
37598
+ },
37599
+ {
37600
+ "kind": "field",
37601
+ "name": "maybeDisabled",
37518
37602
  "type": {
37519
- "text": "string"
37603
+ "text": "boolean | undefined"
37520
37604
  },
37521
- "default": "''",
37522
- "description": "The href value you want to link to.",
37523
- "fieldName": "href",
37605
+ "privacy": "protected",
37606
+ "readonly": true,
37524
37607
  "inheritedFrom": {
37525
- "name": "SbbLinkBaseElement",
37526
- "module": "core/base-elements/link-base-element.js"
37608
+ "name": "SbbActionBaseElement",
37609
+ "module": "core/base-elements/action-base-element.js"
37527
37610
  }
37528
37611
  },
37529
37612
  {
37530
- "name": "target",
37613
+ "kind": "field",
37614
+ "name": "maybeDisabledInteractive",
37531
37615
  "type": {
37532
- "text": "LinkTargetType | string"
37616
+ "text": "boolean | undefined"
37533
37617
  },
37534
- "default": "''",
37535
- "description": "Where to display the linked URL.",
37536
- "fieldName": "target",
37618
+ "privacy": "protected",
37619
+ "readonly": true,
37537
37620
  "inheritedFrom": {
37538
- "name": "SbbLinkBaseElement",
37539
- "module": "core/base-elements/link-base-element.js"
37621
+ "name": "SbbActionBaseElement",
37622
+ "module": "core/base-elements/action-base-element.js"
37540
37623
  }
37541
37624
  },
37542
37625
  {
37543
- "name": "rel",
37544
- "type": {
37545
- "text": "string"
37626
+ "kind": "method",
37627
+ "name": "setupBaseEventHandlers",
37628
+ "privacy": "protected",
37629
+ "return": {
37630
+ "type": {
37631
+ "text": "void"
37632
+ }
37546
37633
  },
37547
- "default": "''",
37548
- "description": "The relationship of the linked URL as space-separated link types.",
37549
- "fieldName": "rel",
37550
37634
  "inheritedFrom": {
37551
- "name": "SbbLinkBaseElement",
37552
- "module": "core/base-elements/link-base-element.js"
37635
+ "name": "SbbActionBaseElement",
37636
+ "module": "core/base-elements/action-base-element.js"
37553
37637
  }
37554
37638
  },
37555
37639
  {
37556
- "name": "download",
37640
+ "kind": "field",
37641
+ "name": "_hydrationRequired",
37557
37642
  "type": {
37558
37643
  "text": "boolean"
37559
37644
  },
37560
- "default": "false",
37561
- "description": "Whether the browser will show the download dialog on click.",
37562
- "fieldName": "download",
37645
+ "privacy": "private",
37646
+ "default": "!!this.shadowRoot",
37563
37647
  "inheritedFrom": {
37564
- "name": "SbbLinkBaseElement",
37565
- "module": "core/base-elements/link-base-element.js"
37648
+ "name": "SbbHydrationMixin",
37649
+ "module": "core/mixins/hydration-mixin.js"
37566
37650
  }
37567
37651
  },
37568
37652
  {
37569
- "name": "accessibility-label",
37570
- "type": {
37571
- "text": "string"
37572
- },
37573
- "default": "''",
37574
- "description": "This will be forwarded as aria-label to the inner anchor element.",
37575
- "fieldName": "accessibilityLabel",
37653
+ "kind": "field",
37654
+ "name": "_hydrationComplete",
37655
+ "privacy": "private",
37656
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
37576
37657
  "inheritedFrom": {
37577
- "name": "SbbLinkBaseElement",
37578
- "module": "core/base-elements/link-base-element.js"
37658
+ "name": "SbbHydrationMixin",
37659
+ "module": "core/mixins/hydration-mixin.js"
37579
37660
  }
37580
37661
  },
37581
37662
  {
37582
- "name": "accessibility-current",
37663
+ "kind": "field",
37664
+ "name": "_resolveHydration",
37583
37665
  "type": {
37584
- "text": "string"
37666
+ "text": "(hydrationRequired: boolean) => void"
37585
37667
  },
37586
- "default": "''",
37587
- "description": "This will be forwarded as aria-current to the inner anchor element.",
37588
- "fieldName": "accessibilityCurrent",
37668
+ "privacy": "private",
37589
37669
  "inheritedFrom": {
37590
- "name": "SbbLinkBaseElement",
37591
- "module": "core/base-elements/link-base-element.js"
37670
+ "name": "SbbHydrationMixin",
37671
+ "module": "core/mixins/hydration-mixin.js"
37592
37672
  }
37593
- }
37594
- ]
37595
- }
37596
- ],
37597
- "exports": [
37598
- {
37599
- "kind": "js",
37600
- "name": "SbbAccentButtonLinkElement",
37601
- "declaration": {
37602
- "name": "SbbAccentButtonLinkElement",
37603
- "module": "button/accent-button-link/accent-button-link.component.js"
37604
- }
37605
- }
37606
- ]
37607
- },
37608
- {
37609
- "kind": "javascript-module",
37610
- "path": "button/accent-button/accent-button.component.js",
37611
- "declarations": [
37612
- {
37613
- "kind": "class",
37614
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37615
- "name": "SbbAccentButtonElement",
37616
- "cssProperties": [
37617
- {
37618
- "description": "The delay before the loading animation starts, when setting the button into loading state.",
37619
- "name": "--sbb-button-loading-delay",
37620
- "default": "300ms"
37621
- }
37622
- ],
37623
- "slots": [
37673
+ },
37624
37674
  {
37625
- "description": "Use the unnamed slot to add content to the accent-button.",
37626
- "name": ""
37675
+ "kind": "field",
37676
+ "name": "hydrationRequired",
37677
+ "type": {
37678
+ "text": "boolean"
37679
+ },
37680
+ "privacy": "protected",
37681
+ "description": "Returns whether hydration is required and not completed.",
37682
+ "readonly": true,
37683
+ "inheritedFrom": {
37684
+ "name": "SbbHydrationMixin",
37685
+ "module": "core/mixins/hydration-mixin.js"
37686
+ },
37687
+ "default": "!!this.shadowRoot"
37627
37688
  },
37628
37689
  {
37629
- "description": "Slot used to display the icon, if one is set.",
37630
- "name": "icon"
37631
- }
37632
- ],
37633
- "members": [
37690
+ "kind": "method",
37691
+ "name": "toggleState",
37692
+ "privacy": "protected",
37693
+ "return": {
37694
+ "type": {
37695
+ "text": "void"
37696
+ }
37697
+ },
37698
+ "parameters": [
37699
+ {
37700
+ "name": "value",
37701
+ "type": {
37702
+ "text": "string"
37703
+ }
37704
+ },
37705
+ {
37706
+ "name": "force",
37707
+ "optional": true,
37708
+ "type": {
37709
+ "text": "boolean"
37710
+ }
37711
+ }
37712
+ ],
37713
+ "inheritedFrom": {
37714
+ "name": "SbbElementInternalsMixin",
37715
+ "module": "core/mixins/element-internals-mixin.js"
37716
+ }
37717
+ },
37634
37718
  {
37635
37719
  "kind": "field",
37636
- "name": "elementName",
37720
+ "name": "['_$sbbElement$']",
37637
37721
  "type": {
37638
- "text": "string"
37722
+ "text": "boolean"
37639
37723
  },
37640
37724
  "privacy": "public",
37641
37725
  "static": true,
37642
- "readonly": true,
37643
- "default": "'sbb-accent-button'",
37726
+ "default": "true",
37727
+ "inheritedFrom": {
37728
+ "name": "SbbElement",
37729
+ "module": "core/base-elements/element.js"
37730
+ }
37731
+ },
37732
+ {
37733
+ "kind": "field",
37734
+ "name": "_controllers",
37735
+ "type": {
37736
+ "text": "Set<SbbReactiveController> | undefined"
37737
+ },
37738
+ "privacy": "private",
37644
37739
  "inheritedFrom": {
37645
37740
  "name": "SbbElement",
37646
37741
  "module": "core/base-elements/element.js"
37647
37742
  }
37743
+ }
37744
+ ],
37745
+ "mixins": [
37746
+ {
37747
+ "name": "SbbButtonCommonElementMixin",
37748
+ "module": "button/common.js"
37648
37749
  },
37649
37750
  {
37650
- "kind": "field",
37751
+ "name": "SbbDisabledTabIndexActionMixin",
37752
+ "module": "core/mixins.js"
37753
+ }
37754
+ ],
37755
+ "superclass": {
37756
+ "name": "SbbButtonBaseElement",
37757
+ "module": "core/base-elements.js"
37758
+ },
37759
+ "tagName": "sbb-accent-button",
37760
+ "customElement": true,
37761
+ "attributes": [
37762
+ {
37651
37763
  "name": "size",
37652
37764
  "type": {
37653
37765
  "text": "SbbButtonSize"
37654
37766
  },
37655
- "privacy": "public",
37656
37767
  "description": "Size variant, either l, m or s.",
37657
37768
  "default": "'l' / 's' (lean)",
37658
- "attribute": "size",
37659
- "reflects": true,
37769
+ "fieldName": "size",
37660
37770
  "inheritedFrom": {
37661
37771
  "name": "SbbButtonCommonElementMixin",
37662
37772
  "module": "button/common/button-common.js"
37663
37773
  }
37664
37774
  },
37665
37775
  {
37666
- "kind": "field",
37667
37776
  "name": "loading",
37668
37777
  "type": {
37669
37778
  "text": "boolean"
37670
37779
  },
37671
- "privacy": "public",
37672
37780
  "default": "false",
37673
37781
  "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.",
37674
- "attribute": "loading",
37675
- "reflects": true,
37782
+ "fieldName": "loading",
37676
37783
  "inheritedFrom": {
37677
37784
  "name": "SbbButtonCommonElementMixin",
37678
37785
  "module": "button/common/button-common.js"
37679
37786
  }
37680
37787
  },
37681
37788
  {
37682
- "kind": "method",
37683
- "name": "renderTemplate",
37684
- "privacy": "protected",
37685
- "return": {
37686
- "type": {
37687
- "text": "TemplateResult"
37688
- }
37689
- },
37690
- "description": "Override this method to render the component template.",
37691
- "inheritedFrom": {
37692
- "name": "SbbActionBaseElement",
37693
- "module": "core/base-elements/action-base-element.js"
37694
- }
37695
- },
37696
- {
37697
- "kind": "field",
37698
37789
  "name": "negative",
37699
37790
  "type": {
37700
37791
  "text": "boolean"
37701
37792
  },
37702
- "privacy": "public",
37703
37793
  "default": "false",
37704
37794
  "description": "Negative coloring variant flag.",
37705
- "attribute": "negative",
37706
- "reflects": true,
37795
+ "fieldName": "negative",
37707
37796
  "inheritedFrom": {
37708
37797
  "name": "SbbNegativeMixin",
37709
37798
  "module": "core/mixins/negative-mixin.js"
37710
37799
  }
37711
37800
  },
37712
37801
  {
37713
- "kind": "field",
37714
- "name": "iconName",
37802
+ "name": "icon-name",
37715
37803
  "type": {
37716
37804
  "text": "string"
37717
37805
  },
37718
- "privacy": "public",
37719
37806
  "default": "''",
37720
37807
  "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.",
37721
- "attribute": "icon-name",
37722
- "inheritedFrom": {
37723
- "name": "SbbIconNameMixin",
37724
- "module": "icon/icon-name-mixin.js"
37725
- }
37726
- },
37727
- {
37728
- "kind": "method",
37729
- "name": "renderIconSlot",
37730
- "privacy": "protected",
37731
- "return": {
37732
- "type": {
37733
- "text": "TemplateResult"
37734
- }
37735
- },
37736
- "parameters": [
37737
- {
37738
- "name": "classname",
37739
- "optional": true,
37740
- "type": {
37741
- "text": "string"
37742
- }
37743
- }
37744
- ],
37745
- "inheritedFrom": {
37746
- "name": "SbbIconNameMixin",
37747
- "module": "icon/icon-name-mixin.js"
37748
- }
37749
- },
37750
- {
37751
- "kind": "method",
37752
- "name": "renderIconName",
37753
- "privacy": "protected",
37754
- "return": {
37755
- "type": {
37756
- "text": "string"
37757
- }
37758
- },
37759
- "inheritedFrom": {
37760
- "name": "SbbIconNameMixin",
37761
- "module": "icon/icon-name-mixin.js"
37762
- }
37763
- },
37764
- {
37765
- "kind": "method",
37766
- "name": "_renderIconName",
37767
- "privacy": "private",
37768
- "return": {
37769
- "type": {
37770
- "text": "string"
37771
- }
37772
- },
37808
+ "fieldName": "iconName",
37773
37809
  "inheritedFrom": {
37774
37810
  "name": "SbbIconNameMixin",
37775
37811
  "module": "icon/icon-name-mixin.js"
37776
37812
  }
37777
37813
  },
37778
37814
  {
37779
- "kind": "field",
37780
- "name": "disabledInteractive",
37815
+ "name": "disabled-interactive",
37781
37816
  "type": {
37782
37817
  "text": "boolean"
37783
37818
  },
37784
- "privacy": "public",
37785
37819
  "default": "false",
37786
37820
  "description": "Whether the button should be aria-disabled but stay interactive.",
37787
- "attribute": "disabled-interactive",
37788
- "reflects": true,
37821
+ "fieldName": "disabledInteractive",
37789
37822
  "inheritedFrom": {
37790
37823
  "name": "SbbDisabledInteractiveMixin",
37791
37824
  "module": "core/mixins/disabled-mixin.js"
37792
37825
  }
37793
37826
  },
37794
37827
  {
37795
- "kind": "field",
37796
37828
  "name": "disabled",
37797
- "privacy": "public",
37798
37829
  "description": "Whether the component is disabled.",
37799
37830
  "default": "false",
37800
37831
  "type": {
37801
37832
  "text": "boolean"
37802
37833
  },
37803
- "attribute": "disabled",
37804
- "reflects": true,
37805
- "inheritedFrom": {
37806
- "name": "SbbDisabledMixin",
37807
- "module": "core/mixins/disabled-mixin.js"
37808
- }
37809
- },
37810
- {
37811
- "kind": "field",
37812
- "name": "#disabled",
37813
- "privacy": "private",
37814
- "type": {
37815
- "text": "boolean"
37816
- },
37817
- "default": "false",
37818
- "inheritedFrom": {
37819
- "name": "SbbDisabledMixin",
37820
- "module": "core/mixins/disabled-mixin.js"
37821
- }
37822
- },
37823
- {
37824
- "kind": "method",
37825
- "name": "isDisabledExternally",
37826
- "privacy": "protected",
37827
- "return": {
37828
- "type": {
37829
- "text": "boolean"
37830
- }
37831
- },
37832
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
37834
+ "fieldName": "disabled",
37833
37835
  "inheritedFrom": {
37834
37836
  "name": "SbbDisabledMixin",
37835
37837
  "module": "core/mixins/disabled-mixin.js"
37836
37838
  }
37837
37839
  },
37838
37840
  {
37839
- "kind": "field",
37840
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
37841
- "type": {
37842
- "text": "array"
37843
- },
37844
- "privacy": "private",
37845
- "readonly": true,
37846
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
37847
- "inheritedFrom": {
37848
- "name": "SbbButtonBaseElement",
37849
- "module": "core/base-elements/button-base-element.js"
37850
- }
37851
- },
37852
- {
37853
- "kind": "field",
37854
37841
  "name": "value",
37855
37842
  "type": {
37856
37843
  "text": "string"
37857
37844
  },
37858
- "privacy": "public",
37859
37845
  "default": "''",
37860
37846
  "description": "Value of the form element.",
37861
- "attribute": "value",
37847
+ "fieldName": "value",
37862
37848
  "inheritedFrom": {
37863
37849
  "name": "SbbButtonBaseElement",
37864
37850
  "module": "core/base-elements/button-base-element.js"
37865
37851
  }
37866
37852
  },
37867
37853
  {
37868
- "kind": "field",
37869
37854
  "name": "type",
37870
- "privacy": "public",
37871
37855
  "description": "The type attribute to use for the button.",
37872
37856
  "default": "'button'",
37873
37857
  "type": {
37874
37858
  "text": "SbbButtonType"
37875
37859
  },
37876
- "attribute": "type",
37860
+ "fieldName": "type",
37877
37861
  "inheritedFrom": {
37878
37862
  "name": "SbbButtonBaseElement",
37879
37863
  "module": "core/base-elements/button-base-element.js"
37880
37864
  }
37881
37865
  },
37882
37866
  {
37883
- "kind": "field",
37884
37867
  "name": "form",
37885
- "type": {
37886
- "text": "HTMLFormElement | null"
37887
- },
37888
- "privacy": "public",
37889
37868
  "description": "The `<form>` element to associate the button with.",
37890
- "attribute": "form",
37891
- "inheritedFrom": {
37892
- "name": "SbbButtonBaseElement",
37893
- "module": "core/base-elements/button-base-element.js"
37894
- }
37895
- },
37896
- {
37897
- "kind": "field",
37898
- "name": "_formId",
37899
37869
  "type": {
37900
- "text": "string"
37901
- },
37902
- "privacy": "private",
37903
- "default": "''",
37904
- "inheritedFrom": {
37905
- "name": "SbbButtonBaseElement",
37906
- "module": "core/base-elements/button-base-element.js"
37907
- }
37908
- },
37909
- {
37910
- "kind": "field",
37911
- "name": "_handleButtonClick",
37912
- "privacy": "private",
37913
- "inheritedFrom": {
37914
- "name": "SbbButtonBaseElement",
37915
- "module": "core/base-elements/button-base-element.js"
37916
- }
37917
- },
37918
- {
37919
- "kind": "method",
37920
- "name": "_requestSubmit",
37921
- "privacy": "private",
37922
- "return": {
37923
- "type": {
37924
- "text": "void"
37925
- }
37870
+ "text": "HTMLFormElement | null"
37926
37871
  },
37927
- "parameters": [
37928
- {
37929
- "name": "form",
37930
- "type": {
37931
- "text": "HTMLFormElement"
37932
- }
37933
- }
37934
- ],
37935
- "inheritedFrom": {
37936
- "name": "SbbButtonBaseElement",
37937
- "module": "core/base-elements/button-base-element.js"
37938
- }
37939
- },
37940
- {
37941
- "kind": "field",
37942
- "name": "_formKeyDown",
37943
- "privacy": "private",
37872
+ "fieldName": "form",
37944
37873
  "inheritedFrom": {
37945
37874
  "name": "SbbButtonBaseElement",
37946
37875
  "module": "core/base-elements/button-base-element.js"
37947
37876
  }
37948
37877
  },
37949
37878
  {
37950
- "kind": "field",
37951
- "name": "formAssociated",
37952
- "type": {
37953
- "text": "boolean"
37954
- },
37955
- "privacy": "public",
37956
- "static": true,
37957
- "default": "true",
37958
- "inheritedFrom": {
37959
- "name": "SbbFormAssociatedMixin",
37960
- "module": "core/mixins/form-associated-mixin.js"
37961
- }
37962
- },
37963
- {
37964
- "kind": "field",
37965
37879
  "name": "name",
37966
- "privacy": "public",
37967
37880
  "description": "Name of the form element. Will be read from name attribute.",
37968
37881
  "type": {
37969
37882
  "text": "string"
37970
37883
  },
37971
- "attribute": "name",
37884
+ "fieldName": "name",
37972
37885
  "inheritedFrom": {
37973
37886
  "name": "SbbFormAssociatedMixin",
37974
37887
  "module": "core/mixins/form-associated-mixin.js"
37975
37888
  }
37889
+ }
37890
+ ]
37891
+ }
37892
+ ],
37893
+ "exports": [
37894
+ {
37895
+ "kind": "js",
37896
+ "name": "SbbAccentButtonElement",
37897
+ "declaration": {
37898
+ "name": "SbbAccentButtonElement",
37899
+ "module": "button/accent-button/accent-button.component.js"
37900
+ }
37901
+ }
37902
+ ]
37903
+ },
37904
+ {
37905
+ "kind": "javascript-module",
37906
+ "path": "button/accent-button-link/accent-button-link.component.js",
37907
+ "declarations": [
37908
+ {
37909
+ "kind": "class",
37910
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
37911
+ "name": "SbbAccentButtonLinkElement",
37912
+ "cssProperties": [
37913
+ {
37914
+ "description": "The delay before the loading animation starts, when setting the button into loading state.",
37915
+ "name": "--sbb-button-loading-delay",
37916
+ "default": "300ms"
37917
+ }
37918
+ ],
37919
+ "slots": [
37920
+ {
37921
+ "description": "Use the unnamed slot to add content to the accent-button-link.",
37922
+ "name": ""
37976
37923
  },
37924
+ {
37925
+ "description": "Slot used to display the icon, if one is set.",
37926
+ "name": "icon"
37927
+ }
37928
+ ],
37929
+ "members": [
37977
37930
  {
37978
37931
  "kind": "field",
37979
- "name": "validity",
37932
+ "name": "elementName",
37980
37933
  "type": {
37981
- "text": "ValidityState"
37934
+ "text": "string"
37982
37935
  },
37983
37936
  "privacy": "public",
37984
- "description": "Returns the ValidityState object for this element.",
37937
+ "static": true,
37985
37938
  "readonly": true,
37939
+ "default": "'sbb-accent-button-link'",
37986
37940
  "inheritedFrom": {
37987
- "name": "SbbFormAssociatedMixin",
37988
- "module": "core/mixins/form-associated-mixin.js"
37941
+ "name": "SbbElement",
37942
+ "module": "core/base-elements/element.js"
37989
37943
  }
37990
37944
  },
37991
37945
  {
37992
37946
  "kind": "field",
37993
- "name": "validationMessage",
37947
+ "name": "size",
37994
37948
  "type": {
37995
- "text": "string"
37949
+ "text": "SbbButtonSize"
37996
37950
  },
37997
37951
  "privacy": "public",
37998
- "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.",
37999
- "readonly": true,
37952
+ "description": "Size variant, either l, m or s.",
37953
+ "default": "'l' / 's' (lean)",
37954
+ "attribute": "size",
37955
+ "reflects": true,
38000
37956
  "inheritedFrom": {
38001
- "name": "SbbFormAssociatedMixin",
38002
- "module": "core/mixins/form-associated-mixin.js"
37957
+ "name": "SbbButtonCommonElementMixin",
37958
+ "module": "button/common/button-common.js"
38003
37959
  }
38004
37960
  },
38005
37961
  {
38006
37962
  "kind": "field",
38007
- "name": "willValidate",
37963
+ "name": "loading",
38008
37964
  "type": {
38009
37965
  "text": "boolean"
38010
37966
  },
38011
37967
  "privacy": "public",
38012
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
38013
- "readonly": true,
37968
+ "default": "false",
37969
+ "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.",
37970
+ "attribute": "loading",
37971
+ "reflects": true,
38014
37972
  "inheritedFrom": {
38015
- "name": "SbbFormAssociatedMixin",
38016
- "module": "core/mixins/form-associated-mixin.js"
37973
+ "name": "SbbButtonCommonElementMixin",
37974
+ "module": "button/common/button-common.js"
38017
37975
  }
38018
37976
  },
38019
37977
  {
38020
- "kind": "field",
38021
- "name": "_validityStates",
38022
- "privacy": "private",
38023
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
37978
+ "kind": "method",
37979
+ "name": "renderTemplate",
37980
+ "privacy": "protected",
37981
+ "return": {
37982
+ "type": {
37983
+ "text": "TemplateResult"
37984
+ }
37985
+ },
37986
+ "description": "Override this method to render the component template.",
38024
37987
  "inheritedFrom": {
38025
- "name": "SbbFormAssociatedMixin",
38026
- "module": "core/mixins/form-associated-mixin.js"
37988
+ "name": "SbbActionBaseElement",
37989
+ "module": "core/base-elements/action-base-element.js"
38027
37990
  }
38028
37991
  },
38029
37992
  {
38030
37993
  "kind": "field",
38031
- "name": "formDisabled",
37994
+ "name": "negative",
38032
37995
  "type": {
38033
37996
  "text": "boolean"
38034
37997
  },
38035
- "privacy": "protected",
37998
+ "privacy": "public",
38036
37999
  "default": "false",
38037
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
38000
+ "description": "Negative coloring variant flag.",
38001
+ "attribute": "negative",
38002
+ "reflects": true,
38038
38003
  "inheritedFrom": {
38039
- "name": "SbbFormAssociatedMixin",
38040
- "module": "core/mixins/form-associated-mixin.js"
38004
+ "name": "SbbNegativeMixin",
38005
+ "module": "core/mixins/negative-mixin.js"
38041
38006
  }
38042
38007
  },
38043
38008
  {
38044
- "kind": "method",
38045
- "name": "checkValidity",
38046
- "privacy": "public",
38047
- "return": {
38048
- "type": {
38049
- "text": "boolean"
38050
- }
38009
+ "kind": "field",
38010
+ "name": "iconName",
38011
+ "type": {
38012
+ "text": "string"
38051
38013
  },
38052
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
38053
- "inheritedFrom": {
38054
- "name": "SbbFormAssociatedMixin",
38055
- "module": "core/mixins/form-associated-mixin.js"
38056
- }
38057
- },
38058
- {
38059
- "kind": "method",
38060
- "name": "reportValidity",
38061
38014
  "privacy": "public",
38062
- "return": {
38063
- "type": {
38064
- "text": "boolean"
38065
- }
38066
- },
38067
- "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.",
38015
+ "default": "''",
38016
+ "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.",
38017
+ "attribute": "icon-name",
38068
38018
  "inheritedFrom": {
38069
- "name": "SbbFormAssociatedMixin",
38070
- "module": "core/mixins/form-associated-mixin.js"
38019
+ "name": "SbbIconNameMixin",
38020
+ "module": "icon/icon-name-mixin.js"
38071
38021
  }
38072
38022
  },
38073
38023
  {
38074
38024
  "kind": "method",
38075
- "name": "setCustomValidity",
38076
- "privacy": "public",
38025
+ "name": "renderIconSlot",
38026
+ "privacy": "protected",
38077
38027
  "return": {
38078
38028
  "type": {
38079
- "text": "void"
38029
+ "text": "TemplateResult"
38080
38030
  }
38081
38031
  },
38082
38032
  "parameters": [
38083
38033
  {
38084
- "name": "message",
38034
+ "name": "classname",
38035
+ "optional": true,
38085
38036
  "type": {
38086
38037
  "text": "string"
38087
38038
  }
38088
38039
  }
38089
38040
  ],
38090
- "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.",
38091
38041
  "inheritedFrom": {
38092
- "name": "SbbFormAssociatedMixin",
38093
- "module": "core/mixins/form-associated-mixin.js"
38042
+ "name": "SbbIconNameMixin",
38043
+ "module": "icon/icon-name-mixin.js"
38094
38044
  }
38095
38045
  },
38096
38046
  {
38097
38047
  "kind": "method",
38098
- "name": "_hasDisabledAncestor",
38099
- "privacy": "private",
38048
+ "name": "renderIconName",
38049
+ "privacy": "protected",
38100
38050
  "return": {
38101
38051
  "type": {
38102
- "text": "boolean"
38052
+ "text": "string"
38103
38053
  }
38104
38054
  },
38105
38055
  "inheritedFrom": {
38106
- "name": "SbbFormAssociatedMixin",
38107
- "module": "core/mixins/form-associated-mixin.js"
38056
+ "name": "SbbIconNameMixin",
38057
+ "module": "icon/icon-name-mixin.js"
38108
38058
  }
38109
38059
  },
38110
38060
  {
38111
38061
  "kind": "method",
38112
- "name": "updateFormValue",
38113
- "privacy": "protected",
38062
+ "name": "_renderIconName",
38063
+ "privacy": "private",
38114
38064
  "return": {
38115
38065
  "type": {
38116
- "text": "void"
38066
+ "text": "string"
38117
38067
  }
38118
38068
  },
38119
- "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",
38120
38069
  "inheritedFrom": {
38121
- "name": "SbbFormAssociatedMixin",
38122
- "module": "core/mixins/form-associated-mixin.js"
38070
+ "name": "SbbIconNameMixin",
38071
+ "module": "icon/icon-name-mixin.js"
38123
38072
  }
38124
38073
  },
38125
38074
  {
38126
- "kind": "method",
38127
- "name": "formState",
38128
- "privacy": "protected",
38129
- "return": {
38130
- "type": {
38131
- "text": "FormRestoreState"
38132
- }
38075
+ "kind": "field",
38076
+ "name": "disabledInteractive",
38077
+ "type": {
38078
+ "text": "boolean"
38133
38079
  },
38080
+ "privacy": "public",
38081
+ "default": "false",
38082
+ "description": "Whether the button should be aria-disabled but stay interactive.",
38083
+ "attribute": "disabled-interactive",
38084
+ "reflects": true,
38134
38085
  "inheritedFrom": {
38135
- "name": "SbbFormAssociatedMixin",
38136
- "module": "core/mixins/form-associated-mixin.js"
38086
+ "name": "SbbDisabledInteractiveMixin",
38087
+ "module": "core/mixins/disabled-mixin.js"
38137
38088
  }
38138
38089
  },
38139
38090
  {
38140
- "kind": "method",
38141
- "name": "setValidityFlag",
38142
- "privacy": "protected",
38143
- "return": {
38144
- "type": {
38145
- "text": "void"
38146
- }
38091
+ "kind": "field",
38092
+ "name": "disabled",
38093
+ "privacy": "public",
38094
+ "description": "Whether the component is disabled.",
38095
+ "default": "false",
38096
+ "type": {
38097
+ "text": "boolean"
38147
38098
  },
38148
- "parameters": [
38149
- {
38150
- "name": "flag",
38151
- "type": {
38152
- "text": "T"
38153
- }
38154
- },
38155
- {
38156
- "name": "message",
38157
- "type": {
38158
- "text": "string"
38159
- }
38160
- },
38161
- {
38162
- "name": "flagValue",
38163
- "optional": true,
38164
- "type": {
38165
- "text": "ValidityStateFlags[T]"
38166
- }
38167
- }
38168
- ],
38169
- "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).",
38099
+ "attribute": "disabled",
38100
+ "reflects": true,
38170
38101
  "inheritedFrom": {
38171
- "name": "SbbFormAssociatedMixin",
38172
- "module": "core/mixins/form-associated-mixin.js"
38102
+ "name": "SbbDisabledMixin",
38103
+ "module": "core/mixins/disabled-mixin.js"
38104
+ }
38105
+ },
38106
+ {
38107
+ "kind": "field",
38108
+ "name": "#disabled",
38109
+ "privacy": "private",
38110
+ "type": {
38111
+ "text": "boolean"
38112
+ },
38113
+ "default": "false",
38114
+ "inheritedFrom": {
38115
+ "name": "SbbDisabledMixin",
38116
+ "module": "core/mixins/disabled-mixin.js"
38173
38117
  }
38174
38118
  },
38175
38119
  {
38176
38120
  "kind": "method",
38177
- "name": "removeValidityFlag",
38121
+ "name": "isDisabledExternally",
38178
38122
  "privacy": "protected",
38179
38123
  "return": {
38180
38124
  "type": {
38181
- "text": "void"
38125
+ "text": "boolean"
38182
38126
  }
38183
38127
  },
38184
- "parameters": [
38185
- {
38186
- "name": "flag",
38187
- "type": {
38188
- "text": "T"
38189
- }
38190
- }
38191
- ],
38192
- "description": "Removes the validity state flag entry and updates validity state.",
38128
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
38129
+ "inheritedFrom": {
38130
+ "name": "SbbDisabledMixin",
38131
+ "module": "core/mixins/disabled-mixin.js"
38132
+ }
38133
+ },
38134
+ {
38135
+ "kind": "field",
38136
+ "name": "href",
38137
+ "type": {
38138
+ "text": "string"
38139
+ },
38140
+ "privacy": "public",
38141
+ "default": "''",
38142
+ "description": "The href value you want to link to.",
38143
+ "attribute": "href",
38144
+ "reflects": true,
38193
38145
  "inheritedFrom": {
38194
- "name": "SbbFormAssociatedMixin",
38195
- "module": "core/mixins/form-associated-mixin.js"
38146
+ "name": "SbbLinkBaseElement",
38147
+ "module": "core/base-elements/link-base-element.js"
38196
38148
  }
38197
38149
  },
38198
38150
  {
38199
- "kind": "method",
38200
- "name": "validate",
38201
- "privacy": "protected",
38202
- "return": {
38203
- "type": {
38204
- "text": "void"
38205
- }
38151
+ "kind": "field",
38152
+ "name": "target",
38153
+ "type": {
38154
+ "text": "LinkTargetType | string"
38206
38155
  },
38207
- "description": "To be called whenever the current element needs to be validated.",
38156
+ "privacy": "public",
38157
+ "default": "''",
38158
+ "description": "Where to display the linked URL.",
38159
+ "attribute": "target",
38160
+ "reflects": true,
38208
38161
  "inheritedFrom": {
38209
- "name": "SbbFormAssociatedMixin",
38210
- "module": "core/mixins/form-associated-mixin.js"
38162
+ "name": "SbbLinkBaseElement",
38163
+ "module": "core/base-elements/link-base-element.js"
38211
38164
  }
38212
38165
  },
38213
38166
  {
38214
- "kind": "method",
38215
- "name": "shouldValidate",
38216
- "privacy": "protected",
38217
- "return": {
38218
- "type": {
38219
- "text": "boolean"
38220
- }
38167
+ "kind": "field",
38168
+ "name": "rel",
38169
+ "type": {
38170
+ "text": "string"
38221
38171
  },
38222
- "parameters": [
38223
- {
38224
- "name": "name",
38225
- "type": {
38226
- "text": "PropertyKey | undefined"
38227
- }
38228
- }
38229
- ],
38230
- "description": "Whether validation should be run on a property change with the given name.",
38172
+ "privacy": "public",
38173
+ "default": "''",
38174
+ "description": "The relationship of the linked URL as space-separated link types.",
38175
+ "attribute": "rel",
38176
+ "reflects": true,
38231
38177
  "inheritedFrom": {
38232
- "name": "SbbFormAssociatedMixin",
38233
- "module": "core/mixins/form-associated-mixin.js"
38178
+ "name": "SbbLinkBaseElement",
38179
+ "module": "core/base-elements/link-base-element.js"
38234
38180
  }
38235
38181
  },
38236
38182
  {
38237
- "kind": "method",
38238
- "name": "_setInternalValidity",
38239
- "privacy": "private",
38240
- "return": {
38241
- "type": {
38242
- "text": "void"
38243
- }
38183
+ "kind": "field",
38184
+ "name": "download",
38185
+ "type": {
38186
+ "text": "boolean"
38244
38187
  },
38188
+ "privacy": "public",
38189
+ "default": "false",
38190
+ "description": "Whether the browser will show the download dialog on click.",
38191
+ "attribute": "download",
38192
+ "reflects": true,
38245
38193
  "inheritedFrom": {
38246
- "name": "SbbFormAssociatedMixin",
38247
- "module": "core/mixins/form-associated-mixin.js"
38194
+ "name": "SbbLinkBaseElement",
38195
+ "module": "core/base-elements/link-base-element.js"
38248
38196
  }
38249
38197
  },
38250
38198
  {
38251
38199
  "kind": "field",
38252
- "name": "role",
38200
+ "name": "accessibilityLabel",
38253
38201
  "type": {
38254
- "text": "ElementInternals['role']"
38202
+ "text": "string"
38255
38203
  },
38256
38204
  "privacy": "public",
38257
- "static": true,
38258
- "readonly": true,
38259
- "default": "'button'",
38205
+ "default": "''",
38206
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
38207
+ "attribute": "accessibility-label",
38260
38208
  "inheritedFrom": {
38261
- "name": "SbbButtonLikeBaseElement",
38262
- "module": "core/base-elements/button-base-element.js"
38209
+ "name": "SbbLinkBaseElement",
38210
+ "module": "core/base-elements/link-base-element.js"
38263
38211
  }
38264
38212
  },
38265
38213
  {
38266
38214
  "kind": "field",
38267
- "name": "_preventScrollOnSpaceKeydown",
38268
- "privacy": "private",
38269
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
38270
- "parameters": [
38271
- {
38272
- "description": "The origin event.",
38273
- "name": "event"
38274
- }
38275
- ],
38215
+ "name": "accessibilityCurrent",
38216
+ "type": {
38217
+ "text": "string"
38218
+ },
38219
+ "privacy": "public",
38220
+ "default": "''",
38221
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
38222
+ "attribute": "accessibility-current",
38276
38223
  "inheritedFrom": {
38277
- "name": "SbbButtonLikeBaseElement",
38278
- "module": "core/base-elements/button-base-element.js"
38224
+ "name": "SbbLinkBaseElement",
38225
+ "module": "core/base-elements/link-base-element.js"
38279
38226
  }
38280
38227
  },
38281
38228
  {
38282
38229
  "kind": "field",
38283
- "name": "_removeActiveMarker",
38284
- "privacy": "private",
38230
+ "name": "language",
38231
+ "privacy": "protected",
38232
+ "default": "new SbbLanguageController(this)",
38285
38233
  "inheritedFrom": {
38286
- "name": "SbbButtonLikeBaseElement",
38287
- "module": "core/base-elements/button-base-element.js"
38234
+ "name": "SbbLinkBaseElement",
38235
+ "module": "core/base-elements/link-base-element.js"
38288
38236
  }
38289
38237
  },
38290
38238
  {
38291
38239
  "kind": "field",
38292
- "name": "_dispatchClickEventOnSpaceKeyup",
38293
- "privacy": "private",
38294
- "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.",
38295
- "parameters": [
38296
- {
38297
- "description": "The origin event.",
38298
- "name": "event"
38299
- }
38300
- ],
38240
+ "name": "anchorRole",
38241
+ "type": {
38242
+ "text": "string | null"
38243
+ },
38244
+ "privacy": "protected",
38245
+ "readonly": true,
38246
+ "default": "null",
38301
38247
  "inheritedFrom": {
38302
- "name": "SbbButtonLikeBaseElement",
38303
- "module": "core/base-elements/button-base-element.js"
38248
+ "name": "SbbLinkBaseElement",
38249
+ "module": "core/base-elements/link-base-element.js"
38304
38250
  }
38305
38251
  },
38306
38252
  {
38307
38253
  "kind": "field",
38308
- "name": "_dispatchClickEvent",
38254
+ "name": "_evaluateRelAttribute",
38309
38255
  "privacy": "private",
38310
38256
  "inheritedFrom": {
38311
- "name": "SbbButtonLikeBaseElement",
38312
- "module": "core/base-elements/button-base-element.js"
38257
+ "name": "SbbLinkBaseElement",
38258
+ "module": "core/base-elements/link-base-element.js"
38259
+ }
38260
+ },
38261
+ {
38262
+ "kind": "method",
38263
+ "name": "renderLink",
38264
+ "privacy": "protected",
38265
+ "return": {
38266
+ "type": {
38267
+ "text": "TemplateResult"
38268
+ }
38269
+ },
38270
+ "parameters": [
38271
+ {
38272
+ "name": "renderContent",
38273
+ "type": {
38274
+ "text": "TemplateResult"
38275
+ }
38276
+ }
38277
+ ],
38278
+ "inheritedFrom": {
38279
+ "name": "SbbLinkBaseElement",
38280
+ "module": "core/base-elements/link-base-element.js"
38313
38281
  }
38314
38282
  },
38315
38283
  {
@@ -38464,15 +38432,19 @@
38464
38432
  "module": "button/common.js"
38465
38433
  },
38466
38434
  {
38467
- "name": "SbbDisabledTabIndexActionMixin",
38435
+ "name": "SbbDisabledInteractiveMixin",
38436
+ "module": "core/mixins.js"
38437
+ },
38438
+ {
38439
+ "name": "SbbDisabledMixin",
38468
38440
  "module": "core/mixins.js"
38469
38441
  }
38470
38442
  ],
38471
38443
  "superclass": {
38472
- "name": "SbbButtonBaseElement",
38444
+ "name": "SbbLinkBaseElement",
38473
38445
  "module": "core/base-elements.js"
38474
38446
  },
38475
- "tagName": "sbb-accent-button",
38447
+ "tagName": "sbb-accent-button-link",
38476
38448
  "customElement": true,
38477
38449
  "attributes": [
38478
38450
  {
@@ -38554,53 +38526,81 @@
38554
38526
  }
38555
38527
  },
38556
38528
  {
38557
- "name": "value",
38529
+ "name": "href",
38558
38530
  "type": {
38559
38531
  "text": "string"
38560
38532
  },
38561
38533
  "default": "''",
38562
- "description": "Value of the form element.",
38563
- "fieldName": "value",
38534
+ "description": "The href value you want to link to.",
38535
+ "fieldName": "href",
38564
38536
  "inheritedFrom": {
38565
- "name": "SbbButtonBaseElement",
38566
- "module": "core/base-elements/button-base-element.js"
38537
+ "name": "SbbLinkBaseElement",
38538
+ "module": "core/base-elements/link-base-element.js"
38567
38539
  }
38568
38540
  },
38569
38541
  {
38570
- "name": "type",
38571
- "description": "The type attribute to use for the button.",
38572
- "default": "'button'",
38542
+ "name": "target",
38573
38543
  "type": {
38574
- "text": "SbbButtonType"
38544
+ "text": "LinkTargetType | string"
38575
38545
  },
38576
- "fieldName": "type",
38546
+ "default": "''",
38547
+ "description": "Where to display the linked URL.",
38548
+ "fieldName": "target",
38577
38549
  "inheritedFrom": {
38578
- "name": "SbbButtonBaseElement",
38579
- "module": "core/base-elements/button-base-element.js"
38550
+ "name": "SbbLinkBaseElement",
38551
+ "module": "core/base-elements/link-base-element.js"
38580
38552
  }
38581
38553
  },
38582
38554
  {
38583
- "name": "form",
38584
- "description": "The `<form>` element to associate the button with.",
38555
+ "name": "rel",
38585
38556
  "type": {
38586
- "text": "HTMLFormElement | null"
38557
+ "text": "string"
38587
38558
  },
38588
- "fieldName": "form",
38559
+ "default": "''",
38560
+ "description": "The relationship of the linked URL as space-separated link types.",
38561
+ "fieldName": "rel",
38589
38562
  "inheritedFrom": {
38590
- "name": "SbbButtonBaseElement",
38591
- "module": "core/base-elements/button-base-element.js"
38563
+ "name": "SbbLinkBaseElement",
38564
+ "module": "core/base-elements/link-base-element.js"
38592
38565
  }
38593
38566
  },
38594
38567
  {
38595
- "name": "name",
38596
- "description": "Name of the form element. Will be read from name attribute.",
38568
+ "name": "download",
38569
+ "type": {
38570
+ "text": "boolean"
38571
+ },
38572
+ "default": "false",
38573
+ "description": "Whether the browser will show the download dialog on click.",
38574
+ "fieldName": "download",
38575
+ "inheritedFrom": {
38576
+ "name": "SbbLinkBaseElement",
38577
+ "module": "core/base-elements/link-base-element.js"
38578
+ }
38579
+ },
38580
+ {
38581
+ "name": "accessibility-label",
38597
38582
  "type": {
38598
38583
  "text": "string"
38599
38584
  },
38600
- "fieldName": "name",
38585
+ "default": "''",
38586
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
38587
+ "fieldName": "accessibilityLabel",
38601
38588
  "inheritedFrom": {
38602
- "name": "SbbFormAssociatedMixin",
38603
- "module": "core/mixins/form-associated-mixin.js"
38589
+ "name": "SbbLinkBaseElement",
38590
+ "module": "core/base-elements/link-base-element.js"
38591
+ }
38592
+ },
38593
+ {
38594
+ "name": "accessibility-current",
38595
+ "type": {
38596
+ "text": "string"
38597
+ },
38598
+ "default": "''",
38599
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
38600
+ "fieldName": "accessibilityCurrent",
38601
+ "inheritedFrom": {
38602
+ "name": "SbbLinkBaseElement",
38603
+ "module": "core/base-elements/link-base-element.js"
38604
38604
  }
38605
38605
  }
38606
38606
  ]
@@ -38609,10 +38609,10 @@
38609
38609
  "exports": [
38610
38610
  {
38611
38611
  "kind": "js",
38612
- "name": "SbbAccentButtonElement",
38612
+ "name": "SbbAccentButtonLinkElement",
38613
38613
  "declaration": {
38614
- "name": "SbbAccentButtonElement",
38615
- "module": "button/accent-button/accent-button.component.js"
38614
+ "name": "SbbAccentButtonLinkElement",
38615
+ "module": "button/accent-button-link/accent-button-link.component.js"
38616
38616
  }
38617
38617
  }
38618
38618
  ]