@sbb-esta/lyne-elements-dev 4.9.0-dev.1774933669 → 4.9.0-dev.1775022187
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.
- package/core.css +26 -0
- package/custom-elements.json +438 -434
- package/development/form-field/form-field/form-field.component.d.ts +4 -1
- package/development/form-field/form-field/form-field.component.d.ts.map +1 -1
- package/development/form-field/form-field/form-field.component.js +1 -1
- package/development/form-field/form-field.js +1 -1
- package/development/{form-field.component-BNIh6zGF.js → form-field.component-BTv2B0dZ.js} +5 -2
- package/development/form-field.js +1 -1
- package/development/form-field.pure.js +1 -1
- package/off-brand-theme.css +26 -0
- package/package.json +2 -2
- package/safety-theme.css +26 -0
- package/standard-theme.css +26 -0
package/custom-elements.json
CHANGED
|
@@ -93677,6 +93677,7 @@
|
|
|
93677
93677
|
"privacy": "public",
|
|
93678
93678
|
"default": "false",
|
|
93679
93679
|
"description": "Indicates whether the input is optional.",
|
|
93680
|
+
"deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
|
|
93680
93681
|
"attribute": "optional"
|
|
93681
93682
|
},
|
|
93682
93683
|
{
|
|
@@ -94200,6 +94201,7 @@
|
|
|
94200
94201
|
},
|
|
94201
94202
|
"default": "false",
|
|
94202
94203
|
"description": "Indicates whether the input is optional.",
|
|
94204
|
+
"deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
|
|
94203
94205
|
"fieldName": "optional"
|
|
94204
94206
|
},
|
|
94205
94207
|
{
|
|
@@ -100158,6 +100160,440 @@
|
|
|
100158
100160
|
}
|
|
100159
100161
|
]
|
|
100160
100162
|
},
|
|
100163
|
+
{
|
|
100164
|
+
"kind": "javascript-module",
|
|
100165
|
+
"path": "link/block-link-static/block-link-static.component.js",
|
|
100166
|
+
"declarations": [
|
|
100167
|
+
{
|
|
100168
|
+
"kind": "class",
|
|
100169
|
+
"description": "It displays a static link enhanced with the SBB Design.",
|
|
100170
|
+
"name": "SbbBlockLinkStaticElement",
|
|
100171
|
+
"slots": [
|
|
100172
|
+
{
|
|
100173
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
100174
|
+
"name": ""
|
|
100175
|
+
},
|
|
100176
|
+
{
|
|
100177
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
100178
|
+
"name": "icon"
|
|
100179
|
+
}
|
|
100180
|
+
],
|
|
100181
|
+
"members": [
|
|
100182
|
+
{
|
|
100183
|
+
"kind": "field",
|
|
100184
|
+
"name": "elementName",
|
|
100185
|
+
"type": {
|
|
100186
|
+
"text": "string"
|
|
100187
|
+
},
|
|
100188
|
+
"privacy": "public",
|
|
100189
|
+
"static": true,
|
|
100190
|
+
"readonly": true,
|
|
100191
|
+
"inheritedFrom": {
|
|
100192
|
+
"name": "SbbElement",
|
|
100193
|
+
"module": "core/base-elements/element.js"
|
|
100194
|
+
},
|
|
100195
|
+
"default": "'sbb-block-link-static'"
|
|
100196
|
+
},
|
|
100197
|
+
{
|
|
100198
|
+
"kind": "field",
|
|
100199
|
+
"name": "styles",
|
|
100200
|
+
"type": {
|
|
100201
|
+
"text": "CSSResultGroup"
|
|
100202
|
+
},
|
|
100203
|
+
"privacy": "public",
|
|
100204
|
+
"static": true,
|
|
100205
|
+
"default": "[boxSizingStyles, style, blockStyle]",
|
|
100206
|
+
"inheritedFrom": {
|
|
100207
|
+
"name": "SbbLinkCommonElementMixin",
|
|
100208
|
+
"module": "link/common/link-common.js"
|
|
100209
|
+
}
|
|
100210
|
+
},
|
|
100211
|
+
{
|
|
100212
|
+
"kind": "field",
|
|
100213
|
+
"name": "iconPlacement",
|
|
100214
|
+
"type": {
|
|
100215
|
+
"text": "SbbIconPlacement"
|
|
100216
|
+
},
|
|
100217
|
+
"privacy": "public",
|
|
100218
|
+
"default": "'start'",
|
|
100219
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
100220
|
+
"attribute": "icon-placement",
|
|
100221
|
+
"reflects": true,
|
|
100222
|
+
"inheritedFrom": {
|
|
100223
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
100224
|
+
"module": "link/common/block-link-common.js"
|
|
100225
|
+
}
|
|
100226
|
+
},
|
|
100227
|
+
{
|
|
100228
|
+
"kind": "method",
|
|
100229
|
+
"name": "renderTemplate",
|
|
100230
|
+
"privacy": "protected",
|
|
100231
|
+
"return": {
|
|
100232
|
+
"type": {
|
|
100233
|
+
"text": "TemplateResult"
|
|
100234
|
+
}
|
|
100235
|
+
},
|
|
100236
|
+
"description": "Override this method to render the component template.",
|
|
100237
|
+
"inheritedFrom": {
|
|
100238
|
+
"name": "SbbActionBaseElement",
|
|
100239
|
+
"module": "core/base-elements/action-base-element.js"
|
|
100240
|
+
}
|
|
100241
|
+
},
|
|
100242
|
+
{
|
|
100243
|
+
"kind": "field",
|
|
100244
|
+
"name": "size",
|
|
100245
|
+
"type": {
|
|
100246
|
+
"text": "SbbLinkSize"
|
|
100247
|
+
},
|
|
100248
|
+
"privacy": "public",
|
|
100249
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
100250
|
+
"default": "'s' / 'xs' (lean)",
|
|
100251
|
+
"attribute": "size",
|
|
100252
|
+
"reflects": true,
|
|
100253
|
+
"inheritedFrom": {
|
|
100254
|
+
"name": "SbbLinkCommonElementMixin",
|
|
100255
|
+
"module": "link/common/link-common.js"
|
|
100256
|
+
}
|
|
100257
|
+
},
|
|
100258
|
+
{
|
|
100259
|
+
"kind": "field",
|
|
100260
|
+
"name": "iconName",
|
|
100261
|
+
"type": {
|
|
100262
|
+
"text": "string"
|
|
100263
|
+
},
|
|
100264
|
+
"privacy": "public",
|
|
100265
|
+
"default": "''",
|
|
100266
|
+
"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.",
|
|
100267
|
+
"attribute": "icon-name",
|
|
100268
|
+
"inheritedFrom": {
|
|
100269
|
+
"name": "SbbIconNameMixin",
|
|
100270
|
+
"module": "icon/icon-name-mixin.js"
|
|
100271
|
+
}
|
|
100272
|
+
},
|
|
100273
|
+
{
|
|
100274
|
+
"kind": "method",
|
|
100275
|
+
"name": "renderIconSlot",
|
|
100276
|
+
"privacy": "protected",
|
|
100277
|
+
"return": {
|
|
100278
|
+
"type": {
|
|
100279
|
+
"text": "TemplateResult"
|
|
100280
|
+
}
|
|
100281
|
+
},
|
|
100282
|
+
"parameters": [
|
|
100283
|
+
{
|
|
100284
|
+
"name": "classname",
|
|
100285
|
+
"optional": true,
|
|
100286
|
+
"type": {
|
|
100287
|
+
"text": "string"
|
|
100288
|
+
}
|
|
100289
|
+
}
|
|
100290
|
+
],
|
|
100291
|
+
"inheritedFrom": {
|
|
100292
|
+
"name": "SbbIconNameMixin",
|
|
100293
|
+
"module": "icon/icon-name-mixin.js"
|
|
100294
|
+
}
|
|
100295
|
+
},
|
|
100296
|
+
{
|
|
100297
|
+
"kind": "method",
|
|
100298
|
+
"name": "renderIconName",
|
|
100299
|
+
"privacy": "protected",
|
|
100300
|
+
"return": {
|
|
100301
|
+
"type": {
|
|
100302
|
+
"text": "string"
|
|
100303
|
+
}
|
|
100304
|
+
},
|
|
100305
|
+
"inheritedFrom": {
|
|
100306
|
+
"name": "SbbIconNameMixin",
|
|
100307
|
+
"module": "icon/icon-name-mixin.js"
|
|
100308
|
+
}
|
|
100309
|
+
},
|
|
100310
|
+
{
|
|
100311
|
+
"kind": "method",
|
|
100312
|
+
"name": "_renderIconName",
|
|
100313
|
+
"privacy": "private",
|
|
100314
|
+
"return": {
|
|
100315
|
+
"type": {
|
|
100316
|
+
"text": "string"
|
|
100317
|
+
}
|
|
100318
|
+
},
|
|
100319
|
+
"inheritedFrom": {
|
|
100320
|
+
"name": "SbbIconNameMixin",
|
|
100321
|
+
"module": "icon/icon-name-mixin.js"
|
|
100322
|
+
}
|
|
100323
|
+
},
|
|
100324
|
+
{
|
|
100325
|
+
"kind": "field",
|
|
100326
|
+
"name": "disabled",
|
|
100327
|
+
"privacy": "public",
|
|
100328
|
+
"description": "Whether the component is disabled.",
|
|
100329
|
+
"default": "false",
|
|
100330
|
+
"type": {
|
|
100331
|
+
"text": "boolean"
|
|
100332
|
+
},
|
|
100333
|
+
"attribute": "disabled",
|
|
100334
|
+
"reflects": true,
|
|
100335
|
+
"inheritedFrom": {
|
|
100336
|
+
"name": "SbbDisabledMixin",
|
|
100337
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100338
|
+
}
|
|
100339
|
+
},
|
|
100340
|
+
{
|
|
100341
|
+
"kind": "field",
|
|
100342
|
+
"name": "#disabled",
|
|
100343
|
+
"privacy": "private",
|
|
100344
|
+
"type": {
|
|
100345
|
+
"text": "boolean"
|
|
100346
|
+
},
|
|
100347
|
+
"default": "false",
|
|
100348
|
+
"inheritedFrom": {
|
|
100349
|
+
"name": "SbbDisabledMixin",
|
|
100350
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100351
|
+
}
|
|
100352
|
+
},
|
|
100353
|
+
{
|
|
100354
|
+
"kind": "method",
|
|
100355
|
+
"name": "isDisabledExternally",
|
|
100356
|
+
"privacy": "protected",
|
|
100357
|
+
"return": {
|
|
100358
|
+
"type": {
|
|
100359
|
+
"text": "boolean"
|
|
100360
|
+
}
|
|
100361
|
+
},
|
|
100362
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
100363
|
+
"inheritedFrom": {
|
|
100364
|
+
"name": "SbbDisabledMixin",
|
|
100365
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100366
|
+
}
|
|
100367
|
+
},
|
|
100368
|
+
{
|
|
100369
|
+
"kind": "field",
|
|
100370
|
+
"name": "maybeDisabled",
|
|
100371
|
+
"type": {
|
|
100372
|
+
"text": "boolean | undefined"
|
|
100373
|
+
},
|
|
100374
|
+
"privacy": "protected",
|
|
100375
|
+
"readonly": true,
|
|
100376
|
+
"inheritedFrom": {
|
|
100377
|
+
"name": "SbbActionBaseElement",
|
|
100378
|
+
"module": "core/base-elements/action-base-element.js"
|
|
100379
|
+
}
|
|
100380
|
+
},
|
|
100381
|
+
{
|
|
100382
|
+
"kind": "field",
|
|
100383
|
+
"name": "maybeDisabledInteractive",
|
|
100384
|
+
"type": {
|
|
100385
|
+
"text": "boolean | undefined"
|
|
100386
|
+
},
|
|
100387
|
+
"privacy": "protected",
|
|
100388
|
+
"readonly": true,
|
|
100389
|
+
"inheritedFrom": {
|
|
100390
|
+
"name": "SbbActionBaseElement",
|
|
100391
|
+
"module": "core/base-elements/action-base-element.js"
|
|
100392
|
+
}
|
|
100393
|
+
},
|
|
100394
|
+
{
|
|
100395
|
+
"kind": "method",
|
|
100396
|
+
"name": "setupBaseEventHandlers",
|
|
100397
|
+
"privacy": "protected",
|
|
100398
|
+
"return": {
|
|
100399
|
+
"type": {
|
|
100400
|
+
"text": "void"
|
|
100401
|
+
}
|
|
100402
|
+
},
|
|
100403
|
+
"inheritedFrom": {
|
|
100404
|
+
"name": "SbbActionBaseElement",
|
|
100405
|
+
"module": "core/base-elements/action-base-element.js"
|
|
100406
|
+
}
|
|
100407
|
+
},
|
|
100408
|
+
{
|
|
100409
|
+
"kind": "field",
|
|
100410
|
+
"name": "_hydrationRequired",
|
|
100411
|
+
"type": {
|
|
100412
|
+
"text": "boolean"
|
|
100413
|
+
},
|
|
100414
|
+
"privacy": "private",
|
|
100415
|
+
"default": "!!this.shadowRoot",
|
|
100416
|
+
"inheritedFrom": {
|
|
100417
|
+
"name": "SbbElement",
|
|
100418
|
+
"module": "core/base-elements/element.js"
|
|
100419
|
+
}
|
|
100420
|
+
},
|
|
100421
|
+
{
|
|
100422
|
+
"kind": "field",
|
|
100423
|
+
"name": "_hydrationComplete",
|
|
100424
|
+
"privacy": "private",
|
|
100425
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
100426
|
+
"inheritedFrom": {
|
|
100427
|
+
"name": "SbbElement",
|
|
100428
|
+
"module": "core/base-elements/element.js"
|
|
100429
|
+
}
|
|
100430
|
+
},
|
|
100431
|
+
{
|
|
100432
|
+
"kind": "field",
|
|
100433
|
+
"name": "_resolveHydration",
|
|
100434
|
+
"type": {
|
|
100435
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
100436
|
+
},
|
|
100437
|
+
"privacy": "private",
|
|
100438
|
+
"inheritedFrom": {
|
|
100439
|
+
"name": "SbbElement",
|
|
100440
|
+
"module": "core/base-elements/element.js"
|
|
100441
|
+
}
|
|
100442
|
+
},
|
|
100443
|
+
{
|
|
100444
|
+
"kind": "field",
|
|
100445
|
+
"name": "hydrationRequired",
|
|
100446
|
+
"type": {
|
|
100447
|
+
"text": "boolean"
|
|
100448
|
+
},
|
|
100449
|
+
"privacy": "protected",
|
|
100450
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
100451
|
+
"readonly": true,
|
|
100452
|
+
"inheritedFrom": {
|
|
100453
|
+
"name": "SbbElement",
|
|
100454
|
+
"module": "core/base-elements/element.js"
|
|
100455
|
+
},
|
|
100456
|
+
"default": "!!this.shadowRoot"
|
|
100457
|
+
},
|
|
100458
|
+
{
|
|
100459
|
+
"kind": "method",
|
|
100460
|
+
"name": "toggleState",
|
|
100461
|
+
"privacy": "protected",
|
|
100462
|
+
"return": {
|
|
100463
|
+
"type": {
|
|
100464
|
+
"text": "void"
|
|
100465
|
+
}
|
|
100466
|
+
},
|
|
100467
|
+
"parameters": [
|
|
100468
|
+
{
|
|
100469
|
+
"name": "value",
|
|
100470
|
+
"type": {
|
|
100471
|
+
"text": "string"
|
|
100472
|
+
}
|
|
100473
|
+
},
|
|
100474
|
+
{
|
|
100475
|
+
"name": "force",
|
|
100476
|
+
"optional": true,
|
|
100477
|
+
"type": {
|
|
100478
|
+
"text": "boolean"
|
|
100479
|
+
}
|
|
100480
|
+
}
|
|
100481
|
+
],
|
|
100482
|
+
"inheritedFrom": {
|
|
100483
|
+
"name": "SbbElement",
|
|
100484
|
+
"module": "core/base-elements/element.js"
|
|
100485
|
+
}
|
|
100486
|
+
},
|
|
100487
|
+
{
|
|
100488
|
+
"kind": "field",
|
|
100489
|
+
"name": "['_$sbbElement$']",
|
|
100490
|
+
"type": {
|
|
100491
|
+
"text": "boolean"
|
|
100492
|
+
},
|
|
100493
|
+
"privacy": "public",
|
|
100494
|
+
"static": true,
|
|
100495
|
+
"default": "true",
|
|
100496
|
+
"inheritedFrom": {
|
|
100497
|
+
"name": "SbbElement",
|
|
100498
|
+
"module": "core/base-elements/element.js"
|
|
100499
|
+
}
|
|
100500
|
+
},
|
|
100501
|
+
{
|
|
100502
|
+
"kind": "field",
|
|
100503
|
+
"name": "_controllers",
|
|
100504
|
+
"type": {
|
|
100505
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
100506
|
+
},
|
|
100507
|
+
"privacy": "private",
|
|
100508
|
+
"inheritedFrom": {
|
|
100509
|
+
"name": "SbbElement",
|
|
100510
|
+
"module": "core/base-elements/element.js"
|
|
100511
|
+
}
|
|
100512
|
+
}
|
|
100513
|
+
],
|
|
100514
|
+
"mixins": [
|
|
100515
|
+
{
|
|
100516
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
100517
|
+
"module": "link/common/block-link-common.js"
|
|
100518
|
+
},
|
|
100519
|
+
{
|
|
100520
|
+
"name": "SbbDisabledMixin",
|
|
100521
|
+
"module": "core/mixins.js"
|
|
100522
|
+
}
|
|
100523
|
+
],
|
|
100524
|
+
"superclass": {
|
|
100525
|
+
"name": "SbbActionBaseElement",
|
|
100526
|
+
"module": "core/base-elements.js"
|
|
100527
|
+
},
|
|
100528
|
+
"tagName": "sbb-block-link-static",
|
|
100529
|
+
"customElement": true,
|
|
100530
|
+
"attributes": [
|
|
100531
|
+
{
|
|
100532
|
+
"name": "icon-placement",
|
|
100533
|
+
"type": {
|
|
100534
|
+
"text": "SbbIconPlacement"
|
|
100535
|
+
},
|
|
100536
|
+
"default": "'start'",
|
|
100537
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
100538
|
+
"fieldName": "iconPlacement",
|
|
100539
|
+
"inheritedFrom": {
|
|
100540
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
100541
|
+
"module": "link/common/block-link-common.js"
|
|
100542
|
+
}
|
|
100543
|
+
},
|
|
100544
|
+
{
|
|
100545
|
+
"name": "size",
|
|
100546
|
+
"type": {
|
|
100547
|
+
"text": "SbbLinkSize"
|
|
100548
|
+
},
|
|
100549
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
100550
|
+
"default": "'s' / 'xs' (lean)",
|
|
100551
|
+
"fieldName": "size",
|
|
100552
|
+
"inheritedFrom": {
|
|
100553
|
+
"name": "SbbLinkCommonElementMixin",
|
|
100554
|
+
"module": "link/common/link-common.js"
|
|
100555
|
+
}
|
|
100556
|
+
},
|
|
100557
|
+
{
|
|
100558
|
+
"name": "icon-name",
|
|
100559
|
+
"type": {
|
|
100560
|
+
"text": "string"
|
|
100561
|
+
},
|
|
100562
|
+
"default": "''",
|
|
100563
|
+
"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.",
|
|
100564
|
+
"fieldName": "iconName",
|
|
100565
|
+
"inheritedFrom": {
|
|
100566
|
+
"name": "SbbIconNameMixin",
|
|
100567
|
+
"module": "icon/icon-name-mixin.js"
|
|
100568
|
+
}
|
|
100569
|
+
},
|
|
100570
|
+
{
|
|
100571
|
+
"name": "disabled",
|
|
100572
|
+
"description": "Whether the component is disabled.",
|
|
100573
|
+
"default": "false",
|
|
100574
|
+
"type": {
|
|
100575
|
+
"text": "boolean"
|
|
100576
|
+
},
|
|
100577
|
+
"fieldName": "disabled",
|
|
100578
|
+
"inheritedFrom": {
|
|
100579
|
+
"name": "SbbDisabledMixin",
|
|
100580
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100581
|
+
}
|
|
100582
|
+
}
|
|
100583
|
+
]
|
|
100584
|
+
}
|
|
100585
|
+
],
|
|
100586
|
+
"exports": [
|
|
100587
|
+
{
|
|
100588
|
+
"kind": "js",
|
|
100589
|
+
"name": "SbbBlockLinkStaticElement",
|
|
100590
|
+
"declaration": {
|
|
100591
|
+
"name": "SbbBlockLinkStaticElement",
|
|
100592
|
+
"module": "link/block-link-static/block-link-static.component.js"
|
|
100593
|
+
}
|
|
100594
|
+
}
|
|
100595
|
+
]
|
|
100596
|
+
},
|
|
100161
100597
|
{
|
|
100162
100598
|
"kind": "javascript-module",
|
|
100163
100599
|
"path": "link/block-link-button/block-link-button.component.js",
|
|
@@ -101148,440 +101584,6 @@
|
|
|
101148
101584
|
}
|
|
101149
101585
|
]
|
|
101150
101586
|
},
|
|
101151
|
-
{
|
|
101152
|
-
"kind": "javascript-module",
|
|
101153
|
-
"path": "link/block-link-static/block-link-static.component.js",
|
|
101154
|
-
"declarations": [
|
|
101155
|
-
{
|
|
101156
|
-
"kind": "class",
|
|
101157
|
-
"description": "It displays a static link enhanced with the SBB Design.",
|
|
101158
|
-
"name": "SbbBlockLinkStaticElement",
|
|
101159
|
-
"slots": [
|
|
101160
|
-
{
|
|
101161
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
101162
|
-
"name": ""
|
|
101163
|
-
},
|
|
101164
|
-
{
|
|
101165
|
-
"description": "Slot used to display the icon, if one is set.",
|
|
101166
|
-
"name": "icon"
|
|
101167
|
-
}
|
|
101168
|
-
],
|
|
101169
|
-
"members": [
|
|
101170
|
-
{
|
|
101171
|
-
"kind": "field",
|
|
101172
|
-
"name": "elementName",
|
|
101173
|
-
"type": {
|
|
101174
|
-
"text": "string"
|
|
101175
|
-
},
|
|
101176
|
-
"privacy": "public",
|
|
101177
|
-
"static": true,
|
|
101178
|
-
"readonly": true,
|
|
101179
|
-
"inheritedFrom": {
|
|
101180
|
-
"name": "SbbElement",
|
|
101181
|
-
"module": "core/base-elements/element.js"
|
|
101182
|
-
},
|
|
101183
|
-
"default": "'sbb-block-link-static'"
|
|
101184
|
-
},
|
|
101185
|
-
{
|
|
101186
|
-
"kind": "field",
|
|
101187
|
-
"name": "styles",
|
|
101188
|
-
"type": {
|
|
101189
|
-
"text": "CSSResultGroup"
|
|
101190
|
-
},
|
|
101191
|
-
"privacy": "public",
|
|
101192
|
-
"static": true,
|
|
101193
|
-
"default": "[boxSizingStyles, style, blockStyle]",
|
|
101194
|
-
"inheritedFrom": {
|
|
101195
|
-
"name": "SbbLinkCommonElementMixin",
|
|
101196
|
-
"module": "link/common/link-common.js"
|
|
101197
|
-
}
|
|
101198
|
-
},
|
|
101199
|
-
{
|
|
101200
|
-
"kind": "field",
|
|
101201
|
-
"name": "iconPlacement",
|
|
101202
|
-
"type": {
|
|
101203
|
-
"text": "SbbIconPlacement"
|
|
101204
|
-
},
|
|
101205
|
-
"privacy": "public",
|
|
101206
|
-
"default": "'start'",
|
|
101207
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
101208
|
-
"attribute": "icon-placement",
|
|
101209
|
-
"reflects": true,
|
|
101210
|
-
"inheritedFrom": {
|
|
101211
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
101212
|
-
"module": "link/common/block-link-common.js"
|
|
101213
|
-
}
|
|
101214
|
-
},
|
|
101215
|
-
{
|
|
101216
|
-
"kind": "method",
|
|
101217
|
-
"name": "renderTemplate",
|
|
101218
|
-
"privacy": "protected",
|
|
101219
|
-
"return": {
|
|
101220
|
-
"type": {
|
|
101221
|
-
"text": "TemplateResult"
|
|
101222
|
-
}
|
|
101223
|
-
},
|
|
101224
|
-
"description": "Override this method to render the component template.",
|
|
101225
|
-
"inheritedFrom": {
|
|
101226
|
-
"name": "SbbActionBaseElement",
|
|
101227
|
-
"module": "core/base-elements/action-base-element.js"
|
|
101228
|
-
}
|
|
101229
|
-
},
|
|
101230
|
-
{
|
|
101231
|
-
"kind": "field",
|
|
101232
|
-
"name": "size",
|
|
101233
|
-
"type": {
|
|
101234
|
-
"text": "SbbLinkSize"
|
|
101235
|
-
},
|
|
101236
|
-
"privacy": "public",
|
|
101237
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
101238
|
-
"default": "'s' / 'xs' (lean)",
|
|
101239
|
-
"attribute": "size",
|
|
101240
|
-
"reflects": true,
|
|
101241
|
-
"inheritedFrom": {
|
|
101242
|
-
"name": "SbbLinkCommonElementMixin",
|
|
101243
|
-
"module": "link/common/link-common.js"
|
|
101244
|
-
}
|
|
101245
|
-
},
|
|
101246
|
-
{
|
|
101247
|
-
"kind": "field",
|
|
101248
|
-
"name": "iconName",
|
|
101249
|
-
"type": {
|
|
101250
|
-
"text": "string"
|
|
101251
|
-
},
|
|
101252
|
-
"privacy": "public",
|
|
101253
|
-
"default": "''",
|
|
101254
|
-
"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.",
|
|
101255
|
-
"attribute": "icon-name",
|
|
101256
|
-
"inheritedFrom": {
|
|
101257
|
-
"name": "SbbIconNameMixin",
|
|
101258
|
-
"module": "icon/icon-name-mixin.js"
|
|
101259
|
-
}
|
|
101260
|
-
},
|
|
101261
|
-
{
|
|
101262
|
-
"kind": "method",
|
|
101263
|
-
"name": "renderIconSlot",
|
|
101264
|
-
"privacy": "protected",
|
|
101265
|
-
"return": {
|
|
101266
|
-
"type": {
|
|
101267
|
-
"text": "TemplateResult"
|
|
101268
|
-
}
|
|
101269
|
-
},
|
|
101270
|
-
"parameters": [
|
|
101271
|
-
{
|
|
101272
|
-
"name": "classname",
|
|
101273
|
-
"optional": true,
|
|
101274
|
-
"type": {
|
|
101275
|
-
"text": "string"
|
|
101276
|
-
}
|
|
101277
|
-
}
|
|
101278
|
-
],
|
|
101279
|
-
"inheritedFrom": {
|
|
101280
|
-
"name": "SbbIconNameMixin",
|
|
101281
|
-
"module": "icon/icon-name-mixin.js"
|
|
101282
|
-
}
|
|
101283
|
-
},
|
|
101284
|
-
{
|
|
101285
|
-
"kind": "method",
|
|
101286
|
-
"name": "renderIconName",
|
|
101287
|
-
"privacy": "protected",
|
|
101288
|
-
"return": {
|
|
101289
|
-
"type": {
|
|
101290
|
-
"text": "string"
|
|
101291
|
-
}
|
|
101292
|
-
},
|
|
101293
|
-
"inheritedFrom": {
|
|
101294
|
-
"name": "SbbIconNameMixin",
|
|
101295
|
-
"module": "icon/icon-name-mixin.js"
|
|
101296
|
-
}
|
|
101297
|
-
},
|
|
101298
|
-
{
|
|
101299
|
-
"kind": "method",
|
|
101300
|
-
"name": "_renderIconName",
|
|
101301
|
-
"privacy": "private",
|
|
101302
|
-
"return": {
|
|
101303
|
-
"type": {
|
|
101304
|
-
"text": "string"
|
|
101305
|
-
}
|
|
101306
|
-
},
|
|
101307
|
-
"inheritedFrom": {
|
|
101308
|
-
"name": "SbbIconNameMixin",
|
|
101309
|
-
"module": "icon/icon-name-mixin.js"
|
|
101310
|
-
}
|
|
101311
|
-
},
|
|
101312
|
-
{
|
|
101313
|
-
"kind": "field",
|
|
101314
|
-
"name": "disabled",
|
|
101315
|
-
"privacy": "public",
|
|
101316
|
-
"description": "Whether the component is disabled.",
|
|
101317
|
-
"default": "false",
|
|
101318
|
-
"type": {
|
|
101319
|
-
"text": "boolean"
|
|
101320
|
-
},
|
|
101321
|
-
"attribute": "disabled",
|
|
101322
|
-
"reflects": true,
|
|
101323
|
-
"inheritedFrom": {
|
|
101324
|
-
"name": "SbbDisabledMixin",
|
|
101325
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101326
|
-
}
|
|
101327
|
-
},
|
|
101328
|
-
{
|
|
101329
|
-
"kind": "field",
|
|
101330
|
-
"name": "#disabled",
|
|
101331
|
-
"privacy": "private",
|
|
101332
|
-
"type": {
|
|
101333
|
-
"text": "boolean"
|
|
101334
|
-
},
|
|
101335
|
-
"default": "false",
|
|
101336
|
-
"inheritedFrom": {
|
|
101337
|
-
"name": "SbbDisabledMixin",
|
|
101338
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101339
|
-
}
|
|
101340
|
-
},
|
|
101341
|
-
{
|
|
101342
|
-
"kind": "method",
|
|
101343
|
-
"name": "isDisabledExternally",
|
|
101344
|
-
"privacy": "protected",
|
|
101345
|
-
"return": {
|
|
101346
|
-
"type": {
|
|
101347
|
-
"text": "boolean"
|
|
101348
|
-
}
|
|
101349
|
-
},
|
|
101350
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
101351
|
-
"inheritedFrom": {
|
|
101352
|
-
"name": "SbbDisabledMixin",
|
|
101353
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101354
|
-
}
|
|
101355
|
-
},
|
|
101356
|
-
{
|
|
101357
|
-
"kind": "field",
|
|
101358
|
-
"name": "maybeDisabled",
|
|
101359
|
-
"type": {
|
|
101360
|
-
"text": "boolean | undefined"
|
|
101361
|
-
},
|
|
101362
|
-
"privacy": "protected",
|
|
101363
|
-
"readonly": true,
|
|
101364
|
-
"inheritedFrom": {
|
|
101365
|
-
"name": "SbbActionBaseElement",
|
|
101366
|
-
"module": "core/base-elements/action-base-element.js"
|
|
101367
|
-
}
|
|
101368
|
-
},
|
|
101369
|
-
{
|
|
101370
|
-
"kind": "field",
|
|
101371
|
-
"name": "maybeDisabledInteractive",
|
|
101372
|
-
"type": {
|
|
101373
|
-
"text": "boolean | undefined"
|
|
101374
|
-
},
|
|
101375
|
-
"privacy": "protected",
|
|
101376
|
-
"readonly": true,
|
|
101377
|
-
"inheritedFrom": {
|
|
101378
|
-
"name": "SbbActionBaseElement",
|
|
101379
|
-
"module": "core/base-elements/action-base-element.js"
|
|
101380
|
-
}
|
|
101381
|
-
},
|
|
101382
|
-
{
|
|
101383
|
-
"kind": "method",
|
|
101384
|
-
"name": "setupBaseEventHandlers",
|
|
101385
|
-
"privacy": "protected",
|
|
101386
|
-
"return": {
|
|
101387
|
-
"type": {
|
|
101388
|
-
"text": "void"
|
|
101389
|
-
}
|
|
101390
|
-
},
|
|
101391
|
-
"inheritedFrom": {
|
|
101392
|
-
"name": "SbbActionBaseElement",
|
|
101393
|
-
"module": "core/base-elements/action-base-element.js"
|
|
101394
|
-
}
|
|
101395
|
-
},
|
|
101396
|
-
{
|
|
101397
|
-
"kind": "field",
|
|
101398
|
-
"name": "_hydrationRequired",
|
|
101399
|
-
"type": {
|
|
101400
|
-
"text": "boolean"
|
|
101401
|
-
},
|
|
101402
|
-
"privacy": "private",
|
|
101403
|
-
"default": "!!this.shadowRoot",
|
|
101404
|
-
"inheritedFrom": {
|
|
101405
|
-
"name": "SbbElement",
|
|
101406
|
-
"module": "core/base-elements/element.js"
|
|
101407
|
-
}
|
|
101408
|
-
},
|
|
101409
|
-
{
|
|
101410
|
-
"kind": "field",
|
|
101411
|
-
"name": "_hydrationComplete",
|
|
101412
|
-
"privacy": "private",
|
|
101413
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
101414
|
-
"inheritedFrom": {
|
|
101415
|
-
"name": "SbbElement",
|
|
101416
|
-
"module": "core/base-elements/element.js"
|
|
101417
|
-
}
|
|
101418
|
-
},
|
|
101419
|
-
{
|
|
101420
|
-
"kind": "field",
|
|
101421
|
-
"name": "_resolveHydration",
|
|
101422
|
-
"type": {
|
|
101423
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
101424
|
-
},
|
|
101425
|
-
"privacy": "private",
|
|
101426
|
-
"inheritedFrom": {
|
|
101427
|
-
"name": "SbbElement",
|
|
101428
|
-
"module": "core/base-elements/element.js"
|
|
101429
|
-
}
|
|
101430
|
-
},
|
|
101431
|
-
{
|
|
101432
|
-
"kind": "field",
|
|
101433
|
-
"name": "hydrationRequired",
|
|
101434
|
-
"type": {
|
|
101435
|
-
"text": "boolean"
|
|
101436
|
-
},
|
|
101437
|
-
"privacy": "protected",
|
|
101438
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
101439
|
-
"readonly": true,
|
|
101440
|
-
"inheritedFrom": {
|
|
101441
|
-
"name": "SbbElement",
|
|
101442
|
-
"module": "core/base-elements/element.js"
|
|
101443
|
-
},
|
|
101444
|
-
"default": "!!this.shadowRoot"
|
|
101445
|
-
},
|
|
101446
|
-
{
|
|
101447
|
-
"kind": "method",
|
|
101448
|
-
"name": "toggleState",
|
|
101449
|
-
"privacy": "protected",
|
|
101450
|
-
"return": {
|
|
101451
|
-
"type": {
|
|
101452
|
-
"text": "void"
|
|
101453
|
-
}
|
|
101454
|
-
},
|
|
101455
|
-
"parameters": [
|
|
101456
|
-
{
|
|
101457
|
-
"name": "value",
|
|
101458
|
-
"type": {
|
|
101459
|
-
"text": "string"
|
|
101460
|
-
}
|
|
101461
|
-
},
|
|
101462
|
-
{
|
|
101463
|
-
"name": "force",
|
|
101464
|
-
"optional": true,
|
|
101465
|
-
"type": {
|
|
101466
|
-
"text": "boolean"
|
|
101467
|
-
}
|
|
101468
|
-
}
|
|
101469
|
-
],
|
|
101470
|
-
"inheritedFrom": {
|
|
101471
|
-
"name": "SbbElement",
|
|
101472
|
-
"module": "core/base-elements/element.js"
|
|
101473
|
-
}
|
|
101474
|
-
},
|
|
101475
|
-
{
|
|
101476
|
-
"kind": "field",
|
|
101477
|
-
"name": "['_$sbbElement$']",
|
|
101478
|
-
"type": {
|
|
101479
|
-
"text": "boolean"
|
|
101480
|
-
},
|
|
101481
|
-
"privacy": "public",
|
|
101482
|
-
"static": true,
|
|
101483
|
-
"default": "true",
|
|
101484
|
-
"inheritedFrom": {
|
|
101485
|
-
"name": "SbbElement",
|
|
101486
|
-
"module": "core/base-elements/element.js"
|
|
101487
|
-
}
|
|
101488
|
-
},
|
|
101489
|
-
{
|
|
101490
|
-
"kind": "field",
|
|
101491
|
-
"name": "_controllers",
|
|
101492
|
-
"type": {
|
|
101493
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
101494
|
-
},
|
|
101495
|
-
"privacy": "private",
|
|
101496
|
-
"inheritedFrom": {
|
|
101497
|
-
"name": "SbbElement",
|
|
101498
|
-
"module": "core/base-elements/element.js"
|
|
101499
|
-
}
|
|
101500
|
-
}
|
|
101501
|
-
],
|
|
101502
|
-
"mixins": [
|
|
101503
|
-
{
|
|
101504
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
101505
|
-
"module": "link/common/block-link-common.js"
|
|
101506
|
-
},
|
|
101507
|
-
{
|
|
101508
|
-
"name": "SbbDisabledMixin",
|
|
101509
|
-
"module": "core/mixins.js"
|
|
101510
|
-
}
|
|
101511
|
-
],
|
|
101512
|
-
"superclass": {
|
|
101513
|
-
"name": "SbbActionBaseElement",
|
|
101514
|
-
"module": "core/base-elements.js"
|
|
101515
|
-
},
|
|
101516
|
-
"tagName": "sbb-block-link-static",
|
|
101517
|
-
"customElement": true,
|
|
101518
|
-
"attributes": [
|
|
101519
|
-
{
|
|
101520
|
-
"name": "icon-placement",
|
|
101521
|
-
"type": {
|
|
101522
|
-
"text": "SbbIconPlacement"
|
|
101523
|
-
},
|
|
101524
|
-
"default": "'start'",
|
|
101525
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
101526
|
-
"fieldName": "iconPlacement",
|
|
101527
|
-
"inheritedFrom": {
|
|
101528
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
101529
|
-
"module": "link/common/block-link-common.js"
|
|
101530
|
-
}
|
|
101531
|
-
},
|
|
101532
|
-
{
|
|
101533
|
-
"name": "size",
|
|
101534
|
-
"type": {
|
|
101535
|
-
"text": "SbbLinkSize"
|
|
101536
|
-
},
|
|
101537
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
101538
|
-
"default": "'s' / 'xs' (lean)",
|
|
101539
|
-
"fieldName": "size",
|
|
101540
|
-
"inheritedFrom": {
|
|
101541
|
-
"name": "SbbLinkCommonElementMixin",
|
|
101542
|
-
"module": "link/common/link-common.js"
|
|
101543
|
-
}
|
|
101544
|
-
},
|
|
101545
|
-
{
|
|
101546
|
-
"name": "icon-name",
|
|
101547
|
-
"type": {
|
|
101548
|
-
"text": "string"
|
|
101549
|
-
},
|
|
101550
|
-
"default": "''",
|
|
101551
|
-
"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.",
|
|
101552
|
-
"fieldName": "iconName",
|
|
101553
|
-
"inheritedFrom": {
|
|
101554
|
-
"name": "SbbIconNameMixin",
|
|
101555
|
-
"module": "icon/icon-name-mixin.js"
|
|
101556
|
-
}
|
|
101557
|
-
},
|
|
101558
|
-
{
|
|
101559
|
-
"name": "disabled",
|
|
101560
|
-
"description": "Whether the component is disabled.",
|
|
101561
|
-
"default": "false",
|
|
101562
|
-
"type": {
|
|
101563
|
-
"text": "boolean"
|
|
101564
|
-
},
|
|
101565
|
-
"fieldName": "disabled",
|
|
101566
|
-
"inheritedFrom": {
|
|
101567
|
-
"name": "SbbDisabledMixin",
|
|
101568
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101569
|
-
}
|
|
101570
|
-
}
|
|
101571
|
-
]
|
|
101572
|
-
}
|
|
101573
|
-
],
|
|
101574
|
-
"exports": [
|
|
101575
|
-
{
|
|
101576
|
-
"kind": "js",
|
|
101577
|
-
"name": "SbbBlockLinkStaticElement",
|
|
101578
|
-
"declaration": {
|
|
101579
|
-
"name": "SbbBlockLinkStaticElement",
|
|
101580
|
-
"module": "link/block-link-static/block-link-static.component.js"
|
|
101581
|
-
}
|
|
101582
|
-
}
|
|
101583
|
-
]
|
|
101584
|
-
},
|
|
101585
101587
|
{
|
|
101586
101588
|
"kind": "javascript-module",
|
|
101587
101589
|
"path": "link/common/block-link-common.js",
|
|
@@ -128564,6 +128566,7 @@
|
|
|
128564
128566
|
"privacy": "public",
|
|
128565
128567
|
"default": "false",
|
|
128566
128568
|
"description": "Indicates whether the input is optional.",
|
|
128569
|
+
"deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
|
|
128567
128570
|
"attribute": "optional",
|
|
128568
128571
|
"inheritedFrom": {
|
|
128569
128572
|
"name": "SbbFormFieldElement",
|
|
@@ -129174,6 +129177,7 @@
|
|
|
129174
129177
|
},
|
|
129175
129178
|
"default": "false",
|
|
129176
129179
|
"description": "Indicates whether the input is optional.",
|
|
129180
|
+
"deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
|
|
129177
129181
|
"fieldName": "optional",
|
|
129178
129182
|
"inheritedFrom": {
|
|
129179
129183
|
"name": "SbbFormFieldElement",
|