@sbb-esta/lyne-elements-dev 5.7.0-dev.1788418878 → 5.7.0-dev.1788435806
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/custom-elements.json +1424 -253
- package/development/autocomplete/autocomplete.component.d.ts +1 -0
- package/development/autocomplete.pure.js +1 -0
- package/development/option.pure.js +1 -1
- package/development/select/select.component.d.ts +1 -0
- package/development/select.pure.js +1 -0
- package/development/teaser/common/teaser-common.d.ts +6 -0
- package/development/teaser/{teaser.component.d.ts → teaser/teaser.component.d.ts} +6 -9
- package/development/teaser/teaser-static/teaser-static.component.d.ts +22 -0
- package/development/teaser.js +2 -1
- package/development/teaser.pure.d.ts +3 -1
- package/development/teaser.pure.js +171 -100
- package/index.d.ts +2 -1
- package/index.js +2 -1
- package/lean-off-brand-theme.css +17 -5
- package/lean-safety-theme.css +17 -5
- package/lean-theme.css +17 -5
- package/off-brand-theme.css +17 -5
- package/option/_option.global.scss +3 -1
- package/option.pure.js +1 -1
- package/package.json +2 -2
- package/safety-theme.css +17 -5
- package/standard-theme.css +17 -5
- package/teaser/_teaser.global.scss +17 -6
- package/teaser.js +1 -1
- package/teaser.pure.js +22 -18
package/custom-elements.json
CHANGED
|
@@ -63171,6 +63171,11 @@
|
|
|
63171
63171
|
"name": "--sbb-select-z-index",
|
|
63172
63172
|
"default": "var(--sbb-overlay-default-z-index)"
|
|
63173
63173
|
},
|
|
63174
|
+
{
|
|
63175
|
+
"description": "Gap between select and panel.",
|
|
63176
|
+
"name": "--sbb-options-panel-offset",
|
|
63177
|
+
"default": "var(--sbb-spacing-fixed-2x)"
|
|
63178
|
+
},
|
|
63174
63179
|
{
|
|
63175
63180
|
"description": "Maximum height of the options panel. If the calculated remaining space is smaller, the value gets ignored.",
|
|
63176
63181
|
"name": "--sbb-options-panel-max-height"
|
|
@@ -67430,6 +67435,11 @@
|
|
|
67430
67435
|
"name": "--sbb-autocomplete-z-index",
|
|
67431
67436
|
"default": "var(--sbb-overlay-default-z-index)"
|
|
67432
67437
|
},
|
|
67438
|
+
{
|
|
67439
|
+
"description": "Gap between autocomplete and panel.",
|
|
67440
|
+
"name": "--sbb-options-panel-offset",
|
|
67441
|
+
"default": "var(--sbb-spacing-fixed-2x)"
|
|
67442
|
+
},
|
|
67433
67443
|
{
|
|
67434
67444
|
"description": "Maximum height of the options panel. If the calculated remaining space is smaller, the value gets ignored.",
|
|
67435
67445
|
"name": "--sbb-options-panel-max-height"
|
|
@@ -158223,262 +158233,28 @@
|
|
|
158223
158233
|
},
|
|
158224
158234
|
{
|
|
158225
158235
|
"kind": "javascript-module",
|
|
158226
|
-
"path": "teaser/teaser.
|
|
158236
|
+
"path": "teaser/common/teaser-common.js",
|
|
158227
158237
|
"declarations": [
|
|
158228
158238
|
{
|
|
158229
158239
|
"kind": "class",
|
|
158230
|
-
"description": "
|
|
158231
|
-
"name": "
|
|
158232
|
-
"slots": [
|
|
158233
|
-
{
|
|
158234
|
-
"description": "Slot used to render the image.",
|
|
158235
|
-
"name": "image"
|
|
158236
|
-
},
|
|
158237
|
-
{
|
|
158238
|
-
"description": "Slot for the `sbb-chip-label` element. The slot on the `sbb-chip-label` element is automatically assigned when slotted in the unnamed slot.",
|
|
158239
|
-
"name": "chip"
|
|
158240
|
-
},
|
|
158241
|
-
{
|
|
158242
|
-
"description": "Slot for the title. For the standard `sbb-title` element, the slot is automatically assigned when slotted in the unnamed slot.",
|
|
158243
|
-
"name": "title"
|
|
158244
|
-
},
|
|
158245
|
-
{
|
|
158246
|
-
"description": "Use the unnamed slot to render the description, the sbb-title and the sbb-chip-label.",
|
|
158247
|
-
"name": ""
|
|
158248
|
-
}
|
|
158249
|
-
],
|
|
158240
|
+
"description": "",
|
|
158241
|
+
"name": "SbbTeaserCommonElementMixinType",
|
|
158250
158242
|
"members": [
|
|
158251
|
-
{
|
|
158252
|
-
"kind": "field",
|
|
158253
|
-
"name": "elementName",
|
|
158254
|
-
"type": {
|
|
158255
|
-
"text": "string"
|
|
158256
|
-
},
|
|
158257
|
-
"privacy": "public",
|
|
158258
|
-
"static": true,
|
|
158259
|
-
"readonly": true,
|
|
158260
|
-
"inheritedFrom": {
|
|
158261
|
-
"name": "SbbElement",
|
|
158262
|
-
"module": "core/base-elements/element.js"
|
|
158263
|
-
},
|
|
158264
|
-
"default": "'sbb-teaser'"
|
|
158265
|
-
},
|
|
158266
158243
|
{
|
|
158267
158244
|
"kind": "field",
|
|
158268
158245
|
"name": "alignment",
|
|
158269
158246
|
"type": {
|
|
158270
|
-
"text": "'
|
|
158271
|
-
},
|
|
158272
|
-
"privacy": "public",
|
|
158273
|
-
"default": "'after-centered'",
|
|
158274
|
-
"description": "Teaser variant - define the position and the alignment of the text block.",
|
|
158275
|
-
"attribute": "alignment",
|
|
158276
|
-
"reflects": true
|
|
158277
|
-
},
|
|
158278
|
-
{
|
|
158279
|
-
"kind": "method",
|
|
158280
|
-
"name": "_handleSlotchange",
|
|
158281
|
-
"privacy": "private",
|
|
158282
|
-
"return": {
|
|
158283
|
-
"type": {
|
|
158284
|
-
"text": "void"
|
|
158285
|
-
}
|
|
158286
|
-
}
|
|
158287
|
-
},
|
|
158288
|
-
{
|
|
158289
|
-
"kind": "method",
|
|
158290
|
-
"name": "_configureChip",
|
|
158291
|
-
"privacy": "private",
|
|
158292
|
-
"return": {
|
|
158293
|
-
"type": {
|
|
158294
|
-
"text": "void"
|
|
158295
|
-
}
|
|
158296
|
-
},
|
|
158297
|
-
"parameters": [
|
|
158298
|
-
{
|
|
158299
|
-
"name": "event",
|
|
158300
|
-
"type": {
|
|
158301
|
-
"text": "Event"
|
|
158302
|
-
}
|
|
158303
|
-
}
|
|
158304
|
-
]
|
|
158305
|
-
},
|
|
158306
|
-
{
|
|
158307
|
-
"kind": "method",
|
|
158308
|
-
"name": "_configureTitle",
|
|
158309
|
-
"privacy": "private",
|
|
158310
|
-
"return": {
|
|
158311
|
-
"type": {
|
|
158312
|
-
"text": "void"
|
|
158313
|
-
}
|
|
158314
|
-
},
|
|
158315
|
-
"parameters": [
|
|
158316
|
-
{
|
|
158317
|
-
"name": "event",
|
|
158318
|
-
"type": {
|
|
158319
|
-
"text": "Event"
|
|
158320
|
-
}
|
|
158321
|
-
}
|
|
158322
|
-
]
|
|
158323
|
-
},
|
|
158324
|
-
{
|
|
158325
|
-
"kind": "method",
|
|
158326
|
-
"name": "renderContent",
|
|
158327
|
-
"privacy": "protected",
|
|
158328
|
-
"return": {
|
|
158329
|
-
"type": {
|
|
158330
|
-
"text": "TemplateResult"
|
|
158331
|
-
}
|
|
158332
|
-
}
|
|
158333
|
-
},
|
|
158334
|
-
{
|
|
158335
|
-
"kind": "field",
|
|
158336
|
-
"name": "href",
|
|
158337
|
-
"type": {
|
|
158338
|
-
"text": "string"
|
|
158339
|
-
},
|
|
158340
|
-
"privacy": "public",
|
|
158341
|
-
"default": "''",
|
|
158342
|
-
"description": "The href value you want to link to.",
|
|
158343
|
-
"attribute": "href",
|
|
158344
|
-
"reflects": true,
|
|
158345
|
-
"inheritedFrom": {
|
|
158346
|
-
"name": "SbbLinkBaseElement",
|
|
158347
|
-
"module": "core/base-elements/link-base-element.js"
|
|
158348
|
-
}
|
|
158349
|
-
},
|
|
158350
|
-
{
|
|
158351
|
-
"kind": "field",
|
|
158352
|
-
"name": "target",
|
|
158353
|
-
"type": {
|
|
158354
|
-
"text": "'_blank' | '_self' | '_parent' | '_top' | string"
|
|
158355
|
-
},
|
|
158356
|
-
"privacy": "public",
|
|
158357
|
-
"default": "''",
|
|
158358
|
-
"description": "Where to display the linked URL.",
|
|
158359
|
-
"attribute": "target",
|
|
158360
|
-
"reflects": true,
|
|
158361
|
-
"inheritedFrom": {
|
|
158362
|
-
"name": "SbbLinkBaseElement",
|
|
158363
|
-
"module": "core/base-elements/link-base-element.js"
|
|
158364
|
-
}
|
|
158365
|
-
},
|
|
158366
|
-
{
|
|
158367
|
-
"kind": "field",
|
|
158368
|
-
"name": "rel",
|
|
158369
|
-
"type": {
|
|
158370
|
-
"text": "string"
|
|
158371
|
-
},
|
|
158372
|
-
"privacy": "public",
|
|
158373
|
-
"default": "''",
|
|
158374
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
158375
|
-
"attribute": "rel",
|
|
158376
|
-
"reflects": true,
|
|
158377
|
-
"inheritedFrom": {
|
|
158378
|
-
"name": "SbbLinkBaseElement",
|
|
158379
|
-
"module": "core/base-elements/link-base-element.js"
|
|
158380
|
-
}
|
|
158381
|
-
},
|
|
158382
|
-
{
|
|
158383
|
-
"kind": "field",
|
|
158384
|
-
"name": "download",
|
|
158385
|
-
"type": {
|
|
158386
|
-
"text": "boolean"
|
|
158387
|
-
},
|
|
158388
|
-
"privacy": "public",
|
|
158389
|
-
"default": "false",
|
|
158390
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
158391
|
-
"attribute": "download",
|
|
158392
|
-
"reflects": true,
|
|
158393
|
-
"inheritedFrom": {
|
|
158394
|
-
"name": "SbbLinkBaseElement",
|
|
158395
|
-
"module": "core/base-elements/link-base-element.js"
|
|
158396
|
-
}
|
|
158397
|
-
},
|
|
158398
|
-
{
|
|
158399
|
-
"kind": "field",
|
|
158400
|
-
"name": "accessibilityLabel",
|
|
158401
|
-
"type": {
|
|
158402
|
-
"text": "string"
|
|
158247
|
+
"text": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
158403
158248
|
},
|
|
158404
|
-
"privacy": "public"
|
|
158405
|
-
"default": "''",
|
|
158406
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
158407
|
-
"attribute": "accessibility-label",
|
|
158408
|
-
"inheritedFrom": {
|
|
158409
|
-
"name": "SbbLinkBaseElement",
|
|
158410
|
-
"module": "core/base-elements/link-base-element.js"
|
|
158411
|
-
}
|
|
158412
|
-
},
|
|
158413
|
-
{
|
|
158414
|
-
"kind": "field",
|
|
158415
|
-
"name": "accessibilityCurrent",
|
|
158416
|
-
"type": {
|
|
158417
|
-
"text": "string"
|
|
158418
|
-
},
|
|
158419
|
-
"privacy": "public",
|
|
158420
|
-
"default": "''",
|
|
158421
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
158422
|
-
"attribute": "accessibility-current",
|
|
158423
|
-
"inheritedFrom": {
|
|
158424
|
-
"name": "SbbLinkBaseElement",
|
|
158425
|
-
"module": "core/base-elements/link-base-element.js"
|
|
158426
|
-
}
|
|
158427
|
-
},
|
|
158428
|
-
{
|
|
158429
|
-
"kind": "field",
|
|
158430
|
-
"name": "language",
|
|
158431
|
-
"privacy": "protected",
|
|
158432
|
-
"default": "new SbbLanguageController(this)",
|
|
158433
|
-
"inheritedFrom": {
|
|
158434
|
-
"name": "SbbLinkBaseElement",
|
|
158435
|
-
"module": "core/base-elements/link-base-element.js"
|
|
158436
|
-
}
|
|
158249
|
+
"privacy": "public"
|
|
158437
158250
|
},
|
|
158438
158251
|
{
|
|
158439
158252
|
"kind": "field",
|
|
158440
|
-
"name": "
|
|
158253
|
+
"name": "size",
|
|
158441
158254
|
"type": {
|
|
158442
|
-
"text": "
|
|
158255
|
+
"text": "'m' | 'l' | null"
|
|
158443
158256
|
},
|
|
158444
|
-
"privacy": "
|
|
158445
|
-
"readonly": true,
|
|
158446
|
-
"default": "null",
|
|
158447
|
-
"inheritedFrom": {
|
|
158448
|
-
"name": "SbbLinkBaseElement",
|
|
158449
|
-
"module": "core/base-elements/link-base-element.js"
|
|
158450
|
-
}
|
|
158451
|
-
},
|
|
158452
|
-
{
|
|
158453
|
-
"kind": "field",
|
|
158454
|
-
"name": "_evaluateRelAttribute",
|
|
158455
|
-
"privacy": "private",
|
|
158456
|
-
"inheritedFrom": {
|
|
158457
|
-
"name": "SbbLinkBaseElement",
|
|
158458
|
-
"module": "core/base-elements/link-base-element.js"
|
|
158459
|
-
}
|
|
158460
|
-
},
|
|
158461
|
-
{
|
|
158462
|
-
"kind": "method",
|
|
158463
|
-
"name": "renderLink",
|
|
158464
|
-
"privacy": "protected",
|
|
158465
|
-
"return": {
|
|
158466
|
-
"type": {
|
|
158467
|
-
"text": "TemplateResult"
|
|
158468
|
-
}
|
|
158469
|
-
},
|
|
158470
|
-
"parameters": [
|
|
158471
|
-
{
|
|
158472
|
-
"name": "renderContent",
|
|
158473
|
-
"type": {
|
|
158474
|
-
"text": "TemplateResult"
|
|
158475
|
-
}
|
|
158476
|
-
}
|
|
158477
|
-
],
|
|
158478
|
-
"inheritedFrom": {
|
|
158479
|
-
"name": "SbbLinkBaseElement",
|
|
158480
|
-
"module": "core/base-elements/link-base-element.js"
|
|
158481
|
-
}
|
|
158257
|
+
"privacy": "public"
|
|
158482
158258
|
},
|
|
158483
158259
|
{
|
|
158484
158260
|
"kind": "field",
|
|
@@ -158549,6 +158325,20 @@
|
|
|
158549
158325
|
"module": "core/base-elements/element.js"
|
|
158550
158326
|
}
|
|
158551
158327
|
},
|
|
158328
|
+
{
|
|
158329
|
+
"kind": "field",
|
|
158330
|
+
"name": "elementName",
|
|
158331
|
+
"type": {
|
|
158332
|
+
"text": "string"
|
|
158333
|
+
},
|
|
158334
|
+
"privacy": "public",
|
|
158335
|
+
"static": true,
|
|
158336
|
+
"readonly": true,
|
|
158337
|
+
"inheritedFrom": {
|
|
158338
|
+
"name": "SbbElement",
|
|
158339
|
+
"module": "core/base-elements/element.js"
|
|
158340
|
+
}
|
|
158341
|
+
},
|
|
158552
158342
|
{
|
|
158553
158343
|
"kind": "field",
|
|
158554
158344
|
"name": "elementDependencies",
|
|
@@ -158819,15 +158609,1386 @@
|
|
|
158819
158609
|
}
|
|
158820
158610
|
}
|
|
158821
158611
|
],
|
|
158612
|
+
"superclass": {
|
|
158613
|
+
"name": "SbbActionBaseElement",
|
|
158614
|
+
"module": "core.js"
|
|
158615
|
+
}
|
|
158616
|
+
},
|
|
158617
|
+
{
|
|
158618
|
+
"kind": "mixin",
|
|
158619
|
+
"description": "",
|
|
158620
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158621
|
+
"members": [
|
|
158622
|
+
{
|
|
158623
|
+
"kind": "field",
|
|
158624
|
+
"name": "styles",
|
|
158625
|
+
"type": {
|
|
158626
|
+
"text": "CSSResultGroup"
|
|
158627
|
+
},
|
|
158628
|
+
"privacy": "public",
|
|
158629
|
+
"static": true,
|
|
158630
|
+
"default": "[unsafeCSS(style)]"
|
|
158631
|
+
},
|
|
158632
|
+
{
|
|
158633
|
+
"kind": "field",
|
|
158634
|
+
"name": "alignment",
|
|
158635
|
+
"type": {
|
|
158636
|
+
"text": "SbbTeaserCommonElementMixinType['alignment']",
|
|
158637
|
+
"resolved": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
158638
|
+
},
|
|
158639
|
+
"privacy": "public",
|
|
158640
|
+
"default": "'after-centered'",
|
|
158641
|
+
"description": "Teaser variant - define the position and the alignment of the text block.",
|
|
158642
|
+
"attribute": "alignment",
|
|
158643
|
+
"reflects": true
|
|
158644
|
+
},
|
|
158645
|
+
{
|
|
158646
|
+
"kind": "field",
|
|
158647
|
+
"name": "size",
|
|
158648
|
+
"type": {
|
|
158649
|
+
"text": "SbbTeaserCommonElementMixinType['size']",
|
|
158650
|
+
"resolved": "'m' | 'l' | null"
|
|
158651
|
+
},
|
|
158652
|
+
"privacy": "public",
|
|
158653
|
+
"default": "null",
|
|
158654
|
+
"description": "Size variant, either m (default) or l.",
|
|
158655
|
+
"attribute": "size",
|
|
158656
|
+
"reflects": true
|
|
158657
|
+
},
|
|
158658
|
+
{
|
|
158659
|
+
"kind": "method",
|
|
158660
|
+
"name": "_handleSlotchange",
|
|
158661
|
+
"privacy": "private",
|
|
158662
|
+
"return": {
|
|
158663
|
+
"type": {
|
|
158664
|
+
"text": "void"
|
|
158665
|
+
}
|
|
158666
|
+
}
|
|
158667
|
+
},
|
|
158668
|
+
{
|
|
158669
|
+
"kind": "method",
|
|
158670
|
+
"name": "_configureChip",
|
|
158671
|
+
"privacy": "private",
|
|
158672
|
+
"return": {
|
|
158673
|
+
"type": {
|
|
158674
|
+
"text": "void"
|
|
158675
|
+
}
|
|
158676
|
+
},
|
|
158677
|
+
"parameters": [
|
|
158678
|
+
{
|
|
158679
|
+
"name": "event",
|
|
158680
|
+
"type": {
|
|
158681
|
+
"text": "Event"
|
|
158682
|
+
}
|
|
158683
|
+
}
|
|
158684
|
+
]
|
|
158685
|
+
},
|
|
158686
|
+
{
|
|
158687
|
+
"kind": "method",
|
|
158688
|
+
"name": "_configureTitle",
|
|
158689
|
+
"privacy": "private",
|
|
158690
|
+
"return": {
|
|
158691
|
+
"type": {
|
|
158692
|
+
"text": "void"
|
|
158693
|
+
}
|
|
158694
|
+
},
|
|
158695
|
+
"parameters": [
|
|
158696
|
+
{
|
|
158697
|
+
"name": "event",
|
|
158698
|
+
"type": {
|
|
158699
|
+
"text": "Event"
|
|
158700
|
+
}
|
|
158701
|
+
}
|
|
158702
|
+
]
|
|
158703
|
+
},
|
|
158704
|
+
{
|
|
158705
|
+
"kind": "method",
|
|
158706
|
+
"name": "renderTemplate",
|
|
158707
|
+
"privacy": "protected",
|
|
158708
|
+
"return": {
|
|
158709
|
+
"type": {
|
|
158710
|
+
"text": "TemplateResult"
|
|
158711
|
+
}
|
|
158712
|
+
}
|
|
158713
|
+
}
|
|
158714
|
+
],
|
|
158715
|
+
"attributes": [
|
|
158716
|
+
{
|
|
158717
|
+
"name": "alignment",
|
|
158718
|
+
"type": {
|
|
158719
|
+
"text": "SbbTeaserCommonElementMixinType['alignment']",
|
|
158720
|
+
"resolved": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
158721
|
+
},
|
|
158722
|
+
"default": "'after-centered'",
|
|
158723
|
+
"description": "Teaser variant - define the position and the alignment of the text block.",
|
|
158724
|
+
"fieldName": "alignment"
|
|
158725
|
+
},
|
|
158726
|
+
{
|
|
158727
|
+
"name": "size",
|
|
158728
|
+
"type": {
|
|
158729
|
+
"text": "SbbTeaserCommonElementMixinType['size']",
|
|
158730
|
+
"resolved": "'m' | 'l' | null"
|
|
158731
|
+
},
|
|
158732
|
+
"default": "null",
|
|
158733
|
+
"description": "Size variant, either m (default) or l.",
|
|
158734
|
+
"fieldName": "size"
|
|
158735
|
+
}
|
|
158736
|
+
],
|
|
158737
|
+
"parameters": [
|
|
158738
|
+
{
|
|
158739
|
+
"name": "superClass",
|
|
158740
|
+
"type": {
|
|
158741
|
+
"text": "T"
|
|
158742
|
+
}
|
|
158743
|
+
}
|
|
158744
|
+
]
|
|
158745
|
+
}
|
|
158746
|
+
],
|
|
158747
|
+
"exports": [
|
|
158748
|
+
{
|
|
158749
|
+
"kind": "js",
|
|
158750
|
+
"name": "SbbTeaserCommonElementMixinType",
|
|
158751
|
+
"declaration": {
|
|
158752
|
+
"name": "SbbTeaserCommonElementMixinType",
|
|
158753
|
+
"module": "teaser/common/teaser-common.js"
|
|
158754
|
+
}
|
|
158755
|
+
},
|
|
158756
|
+
{
|
|
158757
|
+
"kind": "js",
|
|
158758
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158759
|
+
"declaration": {
|
|
158760
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158761
|
+
"module": "teaser/common/teaser-common.js"
|
|
158762
|
+
}
|
|
158763
|
+
}
|
|
158764
|
+
]
|
|
158765
|
+
},
|
|
158766
|
+
{
|
|
158767
|
+
"kind": "javascript-module",
|
|
158768
|
+
"path": "teaser/teaser-static/teaser-static.component.js",
|
|
158769
|
+
"declarations": [
|
|
158770
|
+
{
|
|
158771
|
+
"kind": "class",
|
|
158772
|
+
"description": "Non-interactive variant of the `<sbb-teaser>`.",
|
|
158773
|
+
"name": "SbbTeaserStaticElement",
|
|
158774
|
+
"slots": [
|
|
158775
|
+
{
|
|
158776
|
+
"description": "Slot for an interactive action, e.g. a `<sbb-secondary-button-link>` element. The action is displayed below the description.",
|
|
158777
|
+
"name": "action"
|
|
158778
|
+
},
|
|
158779
|
+
{
|
|
158780
|
+
"description": "Slot for the `sbb-chip-label` element. The slot on the `sbb-chip-label` element is automatically assigned when slotted in the unnamed slot.",
|
|
158781
|
+
"name": "chip"
|
|
158782
|
+
},
|
|
158783
|
+
{
|
|
158784
|
+
"description": "Slot used to render the image.",
|
|
158785
|
+
"name": "image"
|
|
158786
|
+
},
|
|
158787
|
+
{
|
|
158788
|
+
"description": "Slot for the title. For the standard `sbb-title` element, the slot is automatically assigned when slotted in the unnamed slot.",
|
|
158789
|
+
"name": "title"
|
|
158790
|
+
},
|
|
158791
|
+
{
|
|
158792
|
+
"description": "Use the unnamed slot to render the description, the sbb-title and the sbb-chip-label.",
|
|
158793
|
+
"name": ""
|
|
158794
|
+
}
|
|
158795
|
+
],
|
|
158796
|
+
"members": [
|
|
158797
|
+
{
|
|
158798
|
+
"kind": "field",
|
|
158799
|
+
"name": "elementName",
|
|
158800
|
+
"type": {
|
|
158801
|
+
"text": "string"
|
|
158802
|
+
},
|
|
158803
|
+
"privacy": "public",
|
|
158804
|
+
"static": true,
|
|
158805
|
+
"readonly": true,
|
|
158806
|
+
"inheritedFrom": {
|
|
158807
|
+
"name": "SbbElement",
|
|
158808
|
+
"module": "core/base-elements/element.js"
|
|
158809
|
+
},
|
|
158810
|
+
"default": "'sbb-teaser-static'"
|
|
158811
|
+
},
|
|
158812
|
+
{
|
|
158813
|
+
"kind": "field",
|
|
158814
|
+
"name": "styles",
|
|
158815
|
+
"type": {
|
|
158816
|
+
"text": "CSSResultGroup"
|
|
158817
|
+
},
|
|
158818
|
+
"privacy": "public",
|
|
158819
|
+
"static": true,
|
|
158820
|
+
"default": "[unsafeCSS(style)]",
|
|
158821
|
+
"inheritedFrom": {
|
|
158822
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158823
|
+
"module": "teaser/common/teaser-common.js"
|
|
158824
|
+
}
|
|
158825
|
+
},
|
|
158826
|
+
{
|
|
158827
|
+
"kind": "field",
|
|
158828
|
+
"name": "alignment",
|
|
158829
|
+
"type": {
|
|
158830
|
+
"text": "SbbTeaserCommonElementMixinType['alignment']",
|
|
158831
|
+
"resolved": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
158832
|
+
},
|
|
158833
|
+
"privacy": "public",
|
|
158834
|
+
"default": "'after-centered'",
|
|
158835
|
+
"description": "Teaser variant - define the position and the alignment of the text block.",
|
|
158836
|
+
"attribute": "alignment",
|
|
158837
|
+
"reflects": true,
|
|
158838
|
+
"inheritedFrom": {
|
|
158839
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158840
|
+
"module": "teaser/common/teaser-common.js"
|
|
158841
|
+
}
|
|
158842
|
+
},
|
|
158843
|
+
{
|
|
158844
|
+
"kind": "field",
|
|
158845
|
+
"name": "size",
|
|
158846
|
+
"type": {
|
|
158847
|
+
"text": "SbbTeaserCommonElementMixinType['size']",
|
|
158848
|
+
"resolved": "'m' | 'l' | null"
|
|
158849
|
+
},
|
|
158850
|
+
"privacy": "public",
|
|
158851
|
+
"default": "null",
|
|
158852
|
+
"description": "Size variant, either m (default) or l.",
|
|
158853
|
+
"attribute": "size",
|
|
158854
|
+
"reflects": true,
|
|
158855
|
+
"inheritedFrom": {
|
|
158856
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158857
|
+
"module": "teaser/common/teaser-common.js"
|
|
158858
|
+
}
|
|
158859
|
+
},
|
|
158860
|
+
{
|
|
158861
|
+
"kind": "method",
|
|
158862
|
+
"name": "_handleSlotchange",
|
|
158863
|
+
"privacy": "private",
|
|
158864
|
+
"return": {
|
|
158865
|
+
"type": {
|
|
158866
|
+
"text": "void"
|
|
158867
|
+
}
|
|
158868
|
+
},
|
|
158869
|
+
"inheritedFrom": {
|
|
158870
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158871
|
+
"module": "teaser/common/teaser-common.js"
|
|
158872
|
+
}
|
|
158873
|
+
},
|
|
158874
|
+
{
|
|
158875
|
+
"kind": "method",
|
|
158876
|
+
"name": "_configureChip",
|
|
158877
|
+
"privacy": "private",
|
|
158878
|
+
"return": {
|
|
158879
|
+
"type": {
|
|
158880
|
+
"text": "void"
|
|
158881
|
+
}
|
|
158882
|
+
},
|
|
158883
|
+
"parameters": [
|
|
158884
|
+
{
|
|
158885
|
+
"name": "event",
|
|
158886
|
+
"type": {
|
|
158887
|
+
"text": "Event"
|
|
158888
|
+
}
|
|
158889
|
+
}
|
|
158890
|
+
],
|
|
158891
|
+
"inheritedFrom": {
|
|
158892
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158893
|
+
"module": "teaser/common/teaser-common.js"
|
|
158894
|
+
}
|
|
158895
|
+
},
|
|
158896
|
+
{
|
|
158897
|
+
"kind": "method",
|
|
158898
|
+
"name": "_configureTitle",
|
|
158899
|
+
"privacy": "private",
|
|
158900
|
+
"return": {
|
|
158901
|
+
"type": {
|
|
158902
|
+
"text": "void"
|
|
158903
|
+
}
|
|
158904
|
+
},
|
|
158905
|
+
"parameters": [
|
|
158906
|
+
{
|
|
158907
|
+
"name": "event",
|
|
158908
|
+
"type": {
|
|
158909
|
+
"text": "Event"
|
|
158910
|
+
}
|
|
158911
|
+
}
|
|
158912
|
+
],
|
|
158913
|
+
"inheritedFrom": {
|
|
158914
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158915
|
+
"module": "teaser/common/teaser-common.js"
|
|
158916
|
+
}
|
|
158917
|
+
},
|
|
158918
|
+
{
|
|
158919
|
+
"kind": "method",
|
|
158920
|
+
"name": "renderTemplate",
|
|
158921
|
+
"privacy": "protected",
|
|
158922
|
+
"return": {
|
|
158923
|
+
"type": {
|
|
158924
|
+
"text": "TemplateResult"
|
|
158925
|
+
}
|
|
158926
|
+
},
|
|
158927
|
+
"description": "Override this method to render the component template.",
|
|
158928
|
+
"inheritedFrom": {
|
|
158929
|
+
"name": "SbbActionBaseElement",
|
|
158930
|
+
"module": "core/base-elements/action-base-element.js"
|
|
158931
|
+
}
|
|
158932
|
+
},
|
|
158933
|
+
{
|
|
158934
|
+
"kind": "field",
|
|
158935
|
+
"name": "maybeDisabled",
|
|
158936
|
+
"type": {
|
|
158937
|
+
"text": "boolean | undefined"
|
|
158938
|
+
},
|
|
158939
|
+
"privacy": "protected",
|
|
158940
|
+
"readonly": true,
|
|
158941
|
+
"inheritedFrom": {
|
|
158942
|
+
"name": "SbbActionBaseElement",
|
|
158943
|
+
"module": "core/base-elements/action-base-element.js"
|
|
158944
|
+
}
|
|
158945
|
+
},
|
|
158946
|
+
{
|
|
158947
|
+
"kind": "field",
|
|
158948
|
+
"name": "maybeDisabledInteractive",
|
|
158949
|
+
"type": {
|
|
158950
|
+
"text": "boolean | undefined"
|
|
158951
|
+
},
|
|
158952
|
+
"privacy": "protected",
|
|
158953
|
+
"readonly": true,
|
|
158954
|
+
"inheritedFrom": {
|
|
158955
|
+
"name": "SbbActionBaseElement",
|
|
158956
|
+
"module": "core/base-elements/action-base-element.js"
|
|
158957
|
+
}
|
|
158958
|
+
},
|
|
158959
|
+
{
|
|
158960
|
+
"kind": "method",
|
|
158961
|
+
"name": "setupBaseEventHandlers",
|
|
158962
|
+
"privacy": "protected",
|
|
158963
|
+
"return": {
|
|
158964
|
+
"type": {
|
|
158965
|
+
"text": "void"
|
|
158966
|
+
}
|
|
158967
|
+
},
|
|
158968
|
+
"inheritedFrom": {
|
|
158969
|
+
"name": "SbbActionBaseElement",
|
|
158970
|
+
"module": "core/base-elements/action-base-element.js"
|
|
158971
|
+
}
|
|
158972
|
+
},
|
|
158973
|
+
{
|
|
158974
|
+
"kind": "field",
|
|
158975
|
+
"name": "['_$sbbElement$']",
|
|
158976
|
+
"type": {
|
|
158977
|
+
"text": "boolean"
|
|
158978
|
+
},
|
|
158979
|
+
"privacy": "public",
|
|
158980
|
+
"static": true,
|
|
158981
|
+
"default": "true",
|
|
158982
|
+
"inheritedFrom": {
|
|
158983
|
+
"name": "SbbElement",
|
|
158984
|
+
"module": "core/base-elements/element.js"
|
|
158985
|
+
}
|
|
158986
|
+
},
|
|
158987
|
+
{
|
|
158988
|
+
"kind": "field",
|
|
158989
|
+
"name": "elementDependencies",
|
|
158990
|
+
"type": {
|
|
158991
|
+
"text": "SbbElementType[] | undefined"
|
|
158992
|
+
},
|
|
158993
|
+
"privacy": "public",
|
|
158994
|
+
"static": true,
|
|
158995
|
+
"inheritedFrom": {
|
|
158996
|
+
"name": "SbbElement",
|
|
158997
|
+
"module": "core/base-elements/element.js"
|
|
158998
|
+
}
|
|
158999
|
+
},
|
|
159000
|
+
{
|
|
159001
|
+
"kind": "field",
|
|
159002
|
+
"name": "role",
|
|
159003
|
+
"type": {
|
|
159004
|
+
"text": "ElementInternals['role'] | undefined"
|
|
159005
|
+
},
|
|
159006
|
+
"privacy": "public",
|
|
159007
|
+
"static": true,
|
|
159008
|
+
"inheritedFrom": {
|
|
159009
|
+
"name": "SbbElement",
|
|
159010
|
+
"module": "core/base-elements/element.js"
|
|
159011
|
+
}
|
|
159012
|
+
},
|
|
159013
|
+
{
|
|
159014
|
+
"kind": "field",
|
|
159015
|
+
"name": "_controllers",
|
|
159016
|
+
"type": {
|
|
159017
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
159018
|
+
},
|
|
159019
|
+
"privacy": "private",
|
|
159020
|
+
"inheritedFrom": {
|
|
159021
|
+
"name": "SbbElement",
|
|
159022
|
+
"module": "core/base-elements/element.js"
|
|
159023
|
+
}
|
|
159024
|
+
},
|
|
159025
|
+
{
|
|
159026
|
+
"kind": "field",
|
|
159027
|
+
"name": "_hydrationRequired",
|
|
159028
|
+
"type": {
|
|
159029
|
+
"text": "boolean"
|
|
159030
|
+
},
|
|
159031
|
+
"privacy": "private",
|
|
159032
|
+
"default": "!!this.shadowRoot",
|
|
159033
|
+
"inheritedFrom": {
|
|
159034
|
+
"name": "SbbElement",
|
|
159035
|
+
"module": "core/base-elements/element.js"
|
|
159036
|
+
}
|
|
159037
|
+
},
|
|
159038
|
+
{
|
|
159039
|
+
"kind": "field",
|
|
159040
|
+
"name": "_hydrationComplete",
|
|
159041
|
+
"privacy": "private",
|
|
159042
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
159043
|
+
"inheritedFrom": {
|
|
159044
|
+
"name": "SbbElement",
|
|
159045
|
+
"module": "core/base-elements/element.js"
|
|
159046
|
+
}
|
|
159047
|
+
},
|
|
159048
|
+
{
|
|
159049
|
+
"kind": "field",
|
|
159050
|
+
"name": "_resolveHydration",
|
|
159051
|
+
"type": {
|
|
159052
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
159053
|
+
},
|
|
159054
|
+
"privacy": "private",
|
|
159055
|
+
"inheritedFrom": {
|
|
159056
|
+
"name": "SbbElement",
|
|
159057
|
+
"module": "core/base-elements/element.js"
|
|
159058
|
+
}
|
|
159059
|
+
},
|
|
159060
|
+
{
|
|
159061
|
+
"kind": "field",
|
|
159062
|
+
"name": "_textObserver",
|
|
159063
|
+
"type": {
|
|
159064
|
+
"text": "MutationObserver | undefined"
|
|
159065
|
+
},
|
|
159066
|
+
"privacy": "private",
|
|
159067
|
+
"inheritedFrom": {
|
|
159068
|
+
"name": "SbbElement",
|
|
159069
|
+
"module": "core/base-elements/element.js"
|
|
159070
|
+
}
|
|
159071
|
+
},
|
|
159072
|
+
{
|
|
159073
|
+
"kind": "field",
|
|
159074
|
+
"name": "hydrationRequired",
|
|
159075
|
+
"type": {
|
|
159076
|
+
"text": "boolean"
|
|
159077
|
+
},
|
|
159078
|
+
"privacy": "protected",
|
|
159079
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
159080
|
+
"readonly": true,
|
|
159081
|
+
"inheritedFrom": {
|
|
159082
|
+
"name": "SbbElement",
|
|
159083
|
+
"module": "core/base-elements/element.js"
|
|
159084
|
+
},
|
|
159085
|
+
"default": "!!this.shadowRoot"
|
|
159086
|
+
},
|
|
159087
|
+
{
|
|
159088
|
+
"kind": "method",
|
|
159089
|
+
"name": "finalizeStyles",
|
|
159090
|
+
"privacy": "protected",
|
|
159091
|
+
"static": true,
|
|
159092
|
+
"return": {
|
|
159093
|
+
"type": {
|
|
159094
|
+
"text": "CSSResultOrNative[]"
|
|
159095
|
+
}
|
|
159096
|
+
},
|
|
159097
|
+
"parameters": [
|
|
159098
|
+
{
|
|
159099
|
+
"name": "_styles",
|
|
159100
|
+
"type": {
|
|
159101
|
+
"text": "CSSResultGroup"
|
|
159102
|
+
}
|
|
159103
|
+
}
|
|
159104
|
+
],
|
|
159105
|
+
"description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
|
|
159106
|
+
"inheritedFrom": {
|
|
159107
|
+
"name": "SbbElement",
|
|
159108
|
+
"module": "core/base-elements/element.js"
|
|
159109
|
+
}
|
|
159110
|
+
},
|
|
159111
|
+
{
|
|
159112
|
+
"kind": "method",
|
|
159113
|
+
"name": "toggleState",
|
|
159114
|
+
"privacy": "protected",
|
|
159115
|
+
"return": {
|
|
159116
|
+
"type": {
|
|
159117
|
+
"text": "void"
|
|
159118
|
+
}
|
|
159119
|
+
},
|
|
159120
|
+
"parameters": [
|
|
159121
|
+
{
|
|
159122
|
+
"name": "value",
|
|
159123
|
+
"type": {
|
|
159124
|
+
"text": "string"
|
|
159125
|
+
}
|
|
159126
|
+
},
|
|
159127
|
+
{
|
|
159128
|
+
"name": "force",
|
|
159129
|
+
"optional": true,
|
|
159130
|
+
"type": {
|
|
159131
|
+
"text": "boolean"
|
|
159132
|
+
}
|
|
159133
|
+
}
|
|
159134
|
+
],
|
|
159135
|
+
"inheritedFrom": {
|
|
159136
|
+
"name": "SbbElement",
|
|
159137
|
+
"module": "core/base-elements/element.js"
|
|
159138
|
+
}
|
|
159139
|
+
},
|
|
159140
|
+
{
|
|
159141
|
+
"kind": "method",
|
|
159142
|
+
"name": "_slotchangeHandler",
|
|
159143
|
+
"privacy": "private",
|
|
159144
|
+
"return": {
|
|
159145
|
+
"type": {
|
|
159146
|
+
"text": "void"
|
|
159147
|
+
}
|
|
159148
|
+
},
|
|
159149
|
+
"parameters": [
|
|
159150
|
+
{
|
|
159151
|
+
"name": "event",
|
|
159152
|
+
"type": {
|
|
159153
|
+
"text": "Event"
|
|
159154
|
+
}
|
|
159155
|
+
},
|
|
159156
|
+
{
|
|
159157
|
+
"name": "slot",
|
|
159158
|
+
"type": {
|
|
159159
|
+
"text": "HTMLSlotElement"
|
|
159160
|
+
}
|
|
159161
|
+
}
|
|
159162
|
+
],
|
|
159163
|
+
"inheritedFrom": {
|
|
159164
|
+
"name": "SbbElement",
|
|
159165
|
+
"module": "core/base-elements/element.js"
|
|
159166
|
+
}
|
|
159167
|
+
},
|
|
159168
|
+
{
|
|
159169
|
+
"kind": "method",
|
|
159170
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
159171
|
+
"privacy": "private",
|
|
159172
|
+
"return": {
|
|
159173
|
+
"type": {
|
|
159174
|
+
"text": "void"
|
|
159175
|
+
}
|
|
159176
|
+
},
|
|
159177
|
+
"parameters": [
|
|
159178
|
+
{
|
|
159179
|
+
"name": "slot",
|
|
159180
|
+
"type": {
|
|
159181
|
+
"text": "HTMLSlotElement"
|
|
159182
|
+
}
|
|
159183
|
+
}
|
|
159184
|
+
],
|
|
159185
|
+
"inheritedFrom": {
|
|
159186
|
+
"name": "SbbElement",
|
|
159187
|
+
"module": "core/base-elements/element.js"
|
|
159188
|
+
}
|
|
159189
|
+
},
|
|
159190
|
+
{
|
|
159191
|
+
"kind": "method",
|
|
159192
|
+
"name": "_updateSlottedState",
|
|
159193
|
+
"privacy": "private",
|
|
159194
|
+
"return": {
|
|
159195
|
+
"type": {
|
|
159196
|
+
"text": "void"
|
|
159197
|
+
}
|
|
159198
|
+
},
|
|
159199
|
+
"parameters": [
|
|
159200
|
+
{
|
|
159201
|
+
"name": "slot",
|
|
159202
|
+
"type": {
|
|
159203
|
+
"text": "HTMLSlotElement"
|
|
159204
|
+
}
|
|
159205
|
+
}
|
|
159206
|
+
],
|
|
159207
|
+
"inheritedFrom": {
|
|
159208
|
+
"name": "SbbElement",
|
|
159209
|
+
"module": "core/base-elements/element.js"
|
|
159210
|
+
}
|
|
159211
|
+
},
|
|
159212
|
+
{
|
|
159213
|
+
"kind": "method",
|
|
159214
|
+
"name": "_observeTextNodesInSlot",
|
|
159215
|
+
"privacy": "private",
|
|
159216
|
+
"return": {
|
|
159217
|
+
"type": {
|
|
159218
|
+
"text": "void"
|
|
159219
|
+
}
|
|
159220
|
+
},
|
|
159221
|
+
"parameters": [
|
|
159222
|
+
{
|
|
159223
|
+
"name": "slot",
|
|
159224
|
+
"type": {
|
|
159225
|
+
"text": "HTMLSlotElement"
|
|
159226
|
+
}
|
|
159227
|
+
}
|
|
159228
|
+
],
|
|
159229
|
+
"inheritedFrom": {
|
|
159230
|
+
"name": "SbbElement",
|
|
159231
|
+
"module": "core/base-elements/element.js"
|
|
159232
|
+
}
|
|
159233
|
+
},
|
|
159234
|
+
{
|
|
159235
|
+
"kind": "method",
|
|
159236
|
+
"name": "_hasSlottedContent",
|
|
159237
|
+
"privacy": "private",
|
|
159238
|
+
"return": {
|
|
159239
|
+
"type": {
|
|
159240
|
+
"text": "boolean"
|
|
159241
|
+
}
|
|
159242
|
+
},
|
|
159243
|
+
"parameters": [
|
|
159244
|
+
{
|
|
159245
|
+
"name": "slot",
|
|
159246
|
+
"type": {
|
|
159247
|
+
"text": "HTMLSlotElement"
|
|
159248
|
+
}
|
|
159249
|
+
}
|
|
159250
|
+
],
|
|
159251
|
+
"inheritedFrom": {
|
|
159252
|
+
"name": "SbbElement",
|
|
159253
|
+
"module": "core/base-elements/element.js"
|
|
159254
|
+
}
|
|
159255
|
+
}
|
|
159256
|
+
],
|
|
159257
|
+
"mixins": [
|
|
159258
|
+
{
|
|
159259
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159260
|
+
"module": "teaser/common/teaser-common.js"
|
|
159261
|
+
}
|
|
159262
|
+
],
|
|
159263
|
+
"superclass": {
|
|
159264
|
+
"name": "SbbActionBaseElement",
|
|
159265
|
+
"module": "core.js"
|
|
159266
|
+
},
|
|
159267
|
+
"tagName": "sbb-teaser-static",
|
|
159268
|
+
"customElement": true,
|
|
159269
|
+
"attributes": [
|
|
159270
|
+
{
|
|
159271
|
+
"name": "alignment",
|
|
159272
|
+
"type": {
|
|
159273
|
+
"text": "SbbTeaserCommonElementMixinType['alignment']",
|
|
159274
|
+
"resolved": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
159275
|
+
},
|
|
159276
|
+
"default": "'after-centered'",
|
|
159277
|
+
"description": "Teaser variant - define the position and the alignment of the text block.",
|
|
159278
|
+
"fieldName": "alignment",
|
|
159279
|
+
"inheritedFrom": {
|
|
159280
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159281
|
+
"module": "teaser/common/teaser-common.js"
|
|
159282
|
+
}
|
|
159283
|
+
},
|
|
159284
|
+
{
|
|
159285
|
+
"name": "size",
|
|
159286
|
+
"type": {
|
|
159287
|
+
"text": "SbbTeaserCommonElementMixinType['size']",
|
|
159288
|
+
"resolved": "'m' | 'l' | null"
|
|
159289
|
+
},
|
|
159290
|
+
"default": "null",
|
|
159291
|
+
"description": "Size variant, either m (default) or l.",
|
|
159292
|
+
"fieldName": "size",
|
|
159293
|
+
"inheritedFrom": {
|
|
159294
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159295
|
+
"module": "teaser/common/teaser-common.js"
|
|
159296
|
+
}
|
|
159297
|
+
}
|
|
159298
|
+
]
|
|
159299
|
+
}
|
|
159300
|
+
],
|
|
159301
|
+
"exports": [
|
|
159302
|
+
{
|
|
159303
|
+
"kind": "js",
|
|
159304
|
+
"name": "SbbTeaserStaticElement",
|
|
159305
|
+
"declaration": {
|
|
159306
|
+
"name": "SbbTeaserStaticElement",
|
|
159307
|
+
"module": "teaser/teaser-static/teaser-static.component.js"
|
|
159308
|
+
}
|
|
159309
|
+
}
|
|
159310
|
+
]
|
|
159311
|
+
},
|
|
159312
|
+
{
|
|
159313
|
+
"kind": "javascript-module",
|
|
159314
|
+
"path": "teaser/teaser/teaser.component.js",
|
|
159315
|
+
"declarations": [
|
|
159316
|
+
{
|
|
159317
|
+
"kind": "class",
|
|
159318
|
+
"description": "It displays an interactive image with caption.",
|
|
159319
|
+
"name": "SbbTeaserElement",
|
|
159320
|
+
"slots": [
|
|
159321
|
+
{
|
|
159322
|
+
"description": "Slot for a static action, e.g. a `<sbb-secondary-button-static>` element. The action is displayed below the description.",
|
|
159323
|
+
"name": "action"
|
|
159324
|
+
},
|
|
159325
|
+
{
|
|
159326
|
+
"description": "Slot for the `sbb-chip-label` element. The slot on the `sbb-chip-label` element is automatically assigned when slotted in the unnamed slot.",
|
|
159327
|
+
"name": "chip"
|
|
159328
|
+
},
|
|
159329
|
+
{
|
|
159330
|
+
"description": "Slot used to render the image.",
|
|
159331
|
+
"name": "image"
|
|
159332
|
+
},
|
|
159333
|
+
{
|
|
159334
|
+
"description": "Slot for the title. For the standard `sbb-title` element, the slot is automatically assigned when slotted in the unnamed slot.",
|
|
159335
|
+
"name": "title"
|
|
159336
|
+
},
|
|
159337
|
+
{
|
|
159338
|
+
"description": "Use the unnamed slot to render the description, the sbb-title and the sbb-chip-label.",
|
|
159339
|
+
"name": ""
|
|
159340
|
+
}
|
|
159341
|
+
],
|
|
159342
|
+
"members": [
|
|
159343
|
+
{
|
|
159344
|
+
"kind": "field",
|
|
159345
|
+
"name": "elementName",
|
|
159346
|
+
"type": {
|
|
159347
|
+
"text": "string"
|
|
159348
|
+
},
|
|
159349
|
+
"privacy": "public",
|
|
159350
|
+
"static": true,
|
|
159351
|
+
"readonly": true,
|
|
159352
|
+
"inheritedFrom": {
|
|
159353
|
+
"name": "SbbElement",
|
|
159354
|
+
"module": "core/base-elements/element.js"
|
|
159355
|
+
},
|
|
159356
|
+
"default": "'sbb-teaser'"
|
|
159357
|
+
},
|
|
159358
|
+
{
|
|
159359
|
+
"kind": "field",
|
|
159360
|
+
"name": "styles",
|
|
159361
|
+
"type": {
|
|
159362
|
+
"text": "CSSResultGroup"
|
|
159363
|
+
},
|
|
159364
|
+
"privacy": "public",
|
|
159365
|
+
"static": true,
|
|
159366
|
+
"default": "[unsafeCSS(style)]",
|
|
159367
|
+
"inheritedFrom": {
|
|
159368
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159369
|
+
"module": "teaser/common/teaser-common.js"
|
|
159370
|
+
}
|
|
159371
|
+
},
|
|
159372
|
+
{
|
|
159373
|
+
"kind": "field",
|
|
159374
|
+
"name": "alignment",
|
|
159375
|
+
"type": {
|
|
159376
|
+
"text": "SbbTeaserCommonElementMixinType['alignment']",
|
|
159377
|
+
"resolved": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
159378
|
+
},
|
|
159379
|
+
"privacy": "public",
|
|
159380
|
+
"default": "'after-centered'",
|
|
159381
|
+
"description": "Teaser variant - define the position and the alignment of the text block.",
|
|
159382
|
+
"attribute": "alignment",
|
|
159383
|
+
"reflects": true,
|
|
159384
|
+
"inheritedFrom": {
|
|
159385
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159386
|
+
"module": "teaser/common/teaser-common.js"
|
|
159387
|
+
}
|
|
159388
|
+
},
|
|
159389
|
+
{
|
|
159390
|
+
"kind": "field",
|
|
159391
|
+
"name": "size",
|
|
159392
|
+
"type": {
|
|
159393
|
+
"text": "SbbTeaserCommonElementMixinType['size']",
|
|
159394
|
+
"resolved": "'m' | 'l' | null"
|
|
159395
|
+
},
|
|
159396
|
+
"privacy": "public",
|
|
159397
|
+
"default": "null",
|
|
159398
|
+
"description": "Size variant, either m (default) or l.",
|
|
159399
|
+
"attribute": "size",
|
|
159400
|
+
"reflects": true,
|
|
159401
|
+
"inheritedFrom": {
|
|
159402
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159403
|
+
"module": "teaser/common/teaser-common.js"
|
|
159404
|
+
}
|
|
159405
|
+
},
|
|
159406
|
+
{
|
|
159407
|
+
"kind": "method",
|
|
159408
|
+
"name": "_handleSlotchange",
|
|
159409
|
+
"privacy": "private",
|
|
159410
|
+
"return": {
|
|
159411
|
+
"type": {
|
|
159412
|
+
"text": "void"
|
|
159413
|
+
}
|
|
159414
|
+
},
|
|
159415
|
+
"inheritedFrom": {
|
|
159416
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159417
|
+
"module": "teaser/common/teaser-common.js"
|
|
159418
|
+
}
|
|
159419
|
+
},
|
|
159420
|
+
{
|
|
159421
|
+
"kind": "method",
|
|
159422
|
+
"name": "_configureChip",
|
|
159423
|
+
"privacy": "private",
|
|
159424
|
+
"return": {
|
|
159425
|
+
"type": {
|
|
159426
|
+
"text": "void"
|
|
159427
|
+
}
|
|
159428
|
+
},
|
|
159429
|
+
"parameters": [
|
|
159430
|
+
{
|
|
159431
|
+
"name": "event",
|
|
159432
|
+
"type": {
|
|
159433
|
+
"text": "Event"
|
|
159434
|
+
}
|
|
159435
|
+
}
|
|
159436
|
+
],
|
|
159437
|
+
"inheritedFrom": {
|
|
159438
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159439
|
+
"module": "teaser/common/teaser-common.js"
|
|
159440
|
+
}
|
|
159441
|
+
},
|
|
159442
|
+
{
|
|
159443
|
+
"kind": "method",
|
|
159444
|
+
"name": "_configureTitle",
|
|
159445
|
+
"privacy": "private",
|
|
159446
|
+
"return": {
|
|
159447
|
+
"type": {
|
|
159448
|
+
"text": "void"
|
|
159449
|
+
}
|
|
159450
|
+
},
|
|
159451
|
+
"parameters": [
|
|
159452
|
+
{
|
|
159453
|
+
"name": "event",
|
|
159454
|
+
"type": {
|
|
159455
|
+
"text": "Event"
|
|
159456
|
+
}
|
|
159457
|
+
}
|
|
159458
|
+
],
|
|
159459
|
+
"inheritedFrom": {
|
|
159460
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159461
|
+
"module": "teaser/common/teaser-common.js"
|
|
159462
|
+
}
|
|
159463
|
+
},
|
|
159464
|
+
{
|
|
159465
|
+
"kind": "method",
|
|
159466
|
+
"name": "renderTemplate",
|
|
159467
|
+
"privacy": "protected",
|
|
159468
|
+
"return": {
|
|
159469
|
+
"type": {
|
|
159470
|
+
"text": "TemplateResult"
|
|
159471
|
+
}
|
|
159472
|
+
},
|
|
159473
|
+
"description": "Override this method to render the component template.",
|
|
159474
|
+
"inheritedFrom": {
|
|
159475
|
+
"name": "SbbActionBaseElement",
|
|
159476
|
+
"module": "core/base-elements/action-base-element.js"
|
|
159477
|
+
}
|
|
159478
|
+
},
|
|
159479
|
+
{
|
|
159480
|
+
"kind": "field",
|
|
159481
|
+
"name": "href",
|
|
159482
|
+
"type": {
|
|
159483
|
+
"text": "string"
|
|
159484
|
+
},
|
|
159485
|
+
"privacy": "public",
|
|
159486
|
+
"default": "''",
|
|
159487
|
+
"description": "The href value you want to link to.",
|
|
159488
|
+
"attribute": "href",
|
|
159489
|
+
"reflects": true,
|
|
159490
|
+
"inheritedFrom": {
|
|
159491
|
+
"name": "SbbLinkBaseElement",
|
|
159492
|
+
"module": "core/base-elements/link-base-element.js"
|
|
159493
|
+
}
|
|
159494
|
+
},
|
|
159495
|
+
{
|
|
159496
|
+
"kind": "field",
|
|
159497
|
+
"name": "target",
|
|
159498
|
+
"type": {
|
|
159499
|
+
"text": "'_blank' | '_self' | '_parent' | '_top' | string"
|
|
159500
|
+
},
|
|
159501
|
+
"privacy": "public",
|
|
159502
|
+
"default": "''",
|
|
159503
|
+
"description": "Where to display the linked URL.",
|
|
159504
|
+
"attribute": "target",
|
|
159505
|
+
"reflects": true,
|
|
159506
|
+
"inheritedFrom": {
|
|
159507
|
+
"name": "SbbLinkBaseElement",
|
|
159508
|
+
"module": "core/base-elements/link-base-element.js"
|
|
159509
|
+
}
|
|
159510
|
+
},
|
|
159511
|
+
{
|
|
159512
|
+
"kind": "field",
|
|
159513
|
+
"name": "rel",
|
|
159514
|
+
"type": {
|
|
159515
|
+
"text": "string"
|
|
159516
|
+
},
|
|
159517
|
+
"privacy": "public",
|
|
159518
|
+
"default": "''",
|
|
159519
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
159520
|
+
"attribute": "rel",
|
|
159521
|
+
"reflects": true,
|
|
159522
|
+
"inheritedFrom": {
|
|
159523
|
+
"name": "SbbLinkBaseElement",
|
|
159524
|
+
"module": "core/base-elements/link-base-element.js"
|
|
159525
|
+
}
|
|
159526
|
+
},
|
|
159527
|
+
{
|
|
159528
|
+
"kind": "field",
|
|
159529
|
+
"name": "download",
|
|
159530
|
+
"type": {
|
|
159531
|
+
"text": "boolean"
|
|
159532
|
+
},
|
|
159533
|
+
"privacy": "public",
|
|
159534
|
+
"default": "false",
|
|
159535
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
159536
|
+
"attribute": "download",
|
|
159537
|
+
"reflects": true,
|
|
159538
|
+
"inheritedFrom": {
|
|
159539
|
+
"name": "SbbLinkBaseElement",
|
|
159540
|
+
"module": "core/base-elements/link-base-element.js"
|
|
159541
|
+
}
|
|
159542
|
+
},
|
|
159543
|
+
{
|
|
159544
|
+
"kind": "field",
|
|
159545
|
+
"name": "accessibilityLabel",
|
|
159546
|
+
"type": {
|
|
159547
|
+
"text": "string"
|
|
159548
|
+
},
|
|
159549
|
+
"privacy": "public",
|
|
159550
|
+
"default": "''",
|
|
159551
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
159552
|
+
"attribute": "accessibility-label",
|
|
159553
|
+
"inheritedFrom": {
|
|
159554
|
+
"name": "SbbLinkBaseElement",
|
|
159555
|
+
"module": "core/base-elements/link-base-element.js"
|
|
159556
|
+
}
|
|
159557
|
+
},
|
|
159558
|
+
{
|
|
159559
|
+
"kind": "field",
|
|
159560
|
+
"name": "accessibilityCurrent",
|
|
159561
|
+
"type": {
|
|
159562
|
+
"text": "string"
|
|
159563
|
+
},
|
|
159564
|
+
"privacy": "public",
|
|
159565
|
+
"default": "''",
|
|
159566
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
159567
|
+
"attribute": "accessibility-current",
|
|
159568
|
+
"inheritedFrom": {
|
|
159569
|
+
"name": "SbbLinkBaseElement",
|
|
159570
|
+
"module": "core/base-elements/link-base-element.js"
|
|
159571
|
+
}
|
|
159572
|
+
},
|
|
159573
|
+
{
|
|
159574
|
+
"kind": "field",
|
|
159575
|
+
"name": "language",
|
|
159576
|
+
"privacy": "protected",
|
|
159577
|
+
"default": "new SbbLanguageController(this)",
|
|
159578
|
+
"inheritedFrom": {
|
|
159579
|
+
"name": "SbbLinkBaseElement",
|
|
159580
|
+
"module": "core/base-elements/link-base-element.js"
|
|
159581
|
+
}
|
|
159582
|
+
},
|
|
159583
|
+
{
|
|
159584
|
+
"kind": "field",
|
|
159585
|
+
"name": "anchorRole",
|
|
159586
|
+
"type": {
|
|
159587
|
+
"text": "string | null"
|
|
159588
|
+
},
|
|
159589
|
+
"privacy": "protected",
|
|
159590
|
+
"readonly": true,
|
|
159591
|
+
"default": "null",
|
|
159592
|
+
"inheritedFrom": {
|
|
159593
|
+
"name": "SbbLinkBaseElement",
|
|
159594
|
+
"module": "core/base-elements/link-base-element.js"
|
|
159595
|
+
}
|
|
159596
|
+
},
|
|
159597
|
+
{
|
|
159598
|
+
"kind": "field",
|
|
159599
|
+
"name": "_evaluateRelAttribute",
|
|
159600
|
+
"privacy": "private",
|
|
159601
|
+
"inheritedFrom": {
|
|
159602
|
+
"name": "SbbLinkBaseElement",
|
|
159603
|
+
"module": "core/base-elements/link-base-element.js"
|
|
159604
|
+
}
|
|
159605
|
+
},
|
|
159606
|
+
{
|
|
159607
|
+
"kind": "method",
|
|
159608
|
+
"name": "renderLink",
|
|
159609
|
+
"privacy": "protected",
|
|
159610
|
+
"return": {
|
|
159611
|
+
"type": {
|
|
159612
|
+
"text": "TemplateResult"
|
|
159613
|
+
}
|
|
159614
|
+
},
|
|
159615
|
+
"parameters": [
|
|
159616
|
+
{
|
|
159617
|
+
"name": "renderContent",
|
|
159618
|
+
"type": {
|
|
159619
|
+
"text": "TemplateResult"
|
|
159620
|
+
}
|
|
159621
|
+
}
|
|
159622
|
+
],
|
|
159623
|
+
"inheritedFrom": {
|
|
159624
|
+
"name": "SbbLinkBaseElement",
|
|
159625
|
+
"module": "core/base-elements/link-base-element.js"
|
|
159626
|
+
}
|
|
159627
|
+
},
|
|
159628
|
+
{
|
|
159629
|
+
"kind": "field",
|
|
159630
|
+
"name": "maybeDisabled",
|
|
159631
|
+
"type": {
|
|
159632
|
+
"text": "boolean | undefined"
|
|
159633
|
+
},
|
|
159634
|
+
"privacy": "protected",
|
|
159635
|
+
"readonly": true,
|
|
159636
|
+
"inheritedFrom": {
|
|
159637
|
+
"name": "SbbActionBaseElement",
|
|
159638
|
+
"module": "core/base-elements/action-base-element.js"
|
|
159639
|
+
}
|
|
159640
|
+
},
|
|
159641
|
+
{
|
|
159642
|
+
"kind": "field",
|
|
159643
|
+
"name": "maybeDisabledInteractive",
|
|
159644
|
+
"type": {
|
|
159645
|
+
"text": "boolean | undefined"
|
|
159646
|
+
},
|
|
159647
|
+
"privacy": "protected",
|
|
159648
|
+
"readonly": true,
|
|
159649
|
+
"inheritedFrom": {
|
|
159650
|
+
"name": "SbbActionBaseElement",
|
|
159651
|
+
"module": "core/base-elements/action-base-element.js"
|
|
159652
|
+
}
|
|
159653
|
+
},
|
|
159654
|
+
{
|
|
159655
|
+
"kind": "method",
|
|
159656
|
+
"name": "setupBaseEventHandlers",
|
|
159657
|
+
"privacy": "protected",
|
|
159658
|
+
"return": {
|
|
159659
|
+
"type": {
|
|
159660
|
+
"text": "void"
|
|
159661
|
+
}
|
|
159662
|
+
},
|
|
159663
|
+
"inheritedFrom": {
|
|
159664
|
+
"name": "SbbActionBaseElement",
|
|
159665
|
+
"module": "core/base-elements/action-base-element.js"
|
|
159666
|
+
}
|
|
159667
|
+
},
|
|
159668
|
+
{
|
|
159669
|
+
"kind": "field",
|
|
159670
|
+
"name": "['_$sbbElement$']",
|
|
159671
|
+
"type": {
|
|
159672
|
+
"text": "boolean"
|
|
159673
|
+
},
|
|
159674
|
+
"privacy": "public",
|
|
159675
|
+
"static": true,
|
|
159676
|
+
"default": "true",
|
|
159677
|
+
"inheritedFrom": {
|
|
159678
|
+
"name": "SbbElement",
|
|
159679
|
+
"module": "core/base-elements/element.js"
|
|
159680
|
+
}
|
|
159681
|
+
},
|
|
159682
|
+
{
|
|
159683
|
+
"kind": "field",
|
|
159684
|
+
"name": "elementDependencies",
|
|
159685
|
+
"type": {
|
|
159686
|
+
"text": "SbbElementType[] | undefined"
|
|
159687
|
+
},
|
|
159688
|
+
"privacy": "public",
|
|
159689
|
+
"static": true,
|
|
159690
|
+
"inheritedFrom": {
|
|
159691
|
+
"name": "SbbElement",
|
|
159692
|
+
"module": "core/base-elements/element.js"
|
|
159693
|
+
}
|
|
159694
|
+
},
|
|
159695
|
+
{
|
|
159696
|
+
"kind": "field",
|
|
159697
|
+
"name": "role",
|
|
159698
|
+
"type": {
|
|
159699
|
+
"text": "ElementInternals['role'] | undefined"
|
|
159700
|
+
},
|
|
159701
|
+
"privacy": "public",
|
|
159702
|
+
"static": true,
|
|
159703
|
+
"inheritedFrom": {
|
|
159704
|
+
"name": "SbbElement",
|
|
159705
|
+
"module": "core/base-elements/element.js"
|
|
159706
|
+
}
|
|
159707
|
+
},
|
|
159708
|
+
{
|
|
159709
|
+
"kind": "field",
|
|
159710
|
+
"name": "_controllers",
|
|
159711
|
+
"type": {
|
|
159712
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
159713
|
+
},
|
|
159714
|
+
"privacy": "private",
|
|
159715
|
+
"inheritedFrom": {
|
|
159716
|
+
"name": "SbbElement",
|
|
159717
|
+
"module": "core/base-elements/element.js"
|
|
159718
|
+
}
|
|
159719
|
+
},
|
|
159720
|
+
{
|
|
159721
|
+
"kind": "field",
|
|
159722
|
+
"name": "_hydrationRequired",
|
|
159723
|
+
"type": {
|
|
159724
|
+
"text": "boolean"
|
|
159725
|
+
},
|
|
159726
|
+
"privacy": "private",
|
|
159727
|
+
"default": "!!this.shadowRoot",
|
|
159728
|
+
"inheritedFrom": {
|
|
159729
|
+
"name": "SbbElement",
|
|
159730
|
+
"module": "core/base-elements/element.js"
|
|
159731
|
+
}
|
|
159732
|
+
},
|
|
159733
|
+
{
|
|
159734
|
+
"kind": "field",
|
|
159735
|
+
"name": "_hydrationComplete",
|
|
159736
|
+
"privacy": "private",
|
|
159737
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
159738
|
+
"inheritedFrom": {
|
|
159739
|
+
"name": "SbbElement",
|
|
159740
|
+
"module": "core/base-elements/element.js"
|
|
159741
|
+
}
|
|
159742
|
+
},
|
|
159743
|
+
{
|
|
159744
|
+
"kind": "field",
|
|
159745
|
+
"name": "_resolveHydration",
|
|
159746
|
+
"type": {
|
|
159747
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
159748
|
+
},
|
|
159749
|
+
"privacy": "private",
|
|
159750
|
+
"inheritedFrom": {
|
|
159751
|
+
"name": "SbbElement",
|
|
159752
|
+
"module": "core/base-elements/element.js"
|
|
159753
|
+
}
|
|
159754
|
+
},
|
|
159755
|
+
{
|
|
159756
|
+
"kind": "field",
|
|
159757
|
+
"name": "_textObserver",
|
|
159758
|
+
"type": {
|
|
159759
|
+
"text": "MutationObserver | undefined"
|
|
159760
|
+
},
|
|
159761
|
+
"privacy": "private",
|
|
159762
|
+
"inheritedFrom": {
|
|
159763
|
+
"name": "SbbElement",
|
|
159764
|
+
"module": "core/base-elements/element.js"
|
|
159765
|
+
}
|
|
159766
|
+
},
|
|
159767
|
+
{
|
|
159768
|
+
"kind": "field",
|
|
159769
|
+
"name": "hydrationRequired",
|
|
159770
|
+
"type": {
|
|
159771
|
+
"text": "boolean"
|
|
159772
|
+
},
|
|
159773
|
+
"privacy": "protected",
|
|
159774
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
159775
|
+
"readonly": true,
|
|
159776
|
+
"inheritedFrom": {
|
|
159777
|
+
"name": "SbbElement",
|
|
159778
|
+
"module": "core/base-elements/element.js"
|
|
159779
|
+
},
|
|
159780
|
+
"default": "!!this.shadowRoot"
|
|
159781
|
+
},
|
|
159782
|
+
{
|
|
159783
|
+
"kind": "method",
|
|
159784
|
+
"name": "finalizeStyles",
|
|
159785
|
+
"privacy": "protected",
|
|
159786
|
+
"static": true,
|
|
159787
|
+
"return": {
|
|
159788
|
+
"type": {
|
|
159789
|
+
"text": "CSSResultOrNative[]"
|
|
159790
|
+
}
|
|
159791
|
+
},
|
|
159792
|
+
"parameters": [
|
|
159793
|
+
{
|
|
159794
|
+
"name": "_styles",
|
|
159795
|
+
"type": {
|
|
159796
|
+
"text": "CSSResultGroup"
|
|
159797
|
+
}
|
|
159798
|
+
}
|
|
159799
|
+
],
|
|
159800
|
+
"description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
|
|
159801
|
+
"inheritedFrom": {
|
|
159802
|
+
"name": "SbbElement",
|
|
159803
|
+
"module": "core/base-elements/element.js"
|
|
159804
|
+
}
|
|
159805
|
+
},
|
|
159806
|
+
{
|
|
159807
|
+
"kind": "method",
|
|
159808
|
+
"name": "toggleState",
|
|
159809
|
+
"privacy": "protected",
|
|
159810
|
+
"return": {
|
|
159811
|
+
"type": {
|
|
159812
|
+
"text": "void"
|
|
159813
|
+
}
|
|
159814
|
+
},
|
|
159815
|
+
"parameters": [
|
|
159816
|
+
{
|
|
159817
|
+
"name": "value",
|
|
159818
|
+
"type": {
|
|
159819
|
+
"text": "string"
|
|
159820
|
+
}
|
|
159821
|
+
},
|
|
159822
|
+
{
|
|
159823
|
+
"name": "force",
|
|
159824
|
+
"optional": true,
|
|
159825
|
+
"type": {
|
|
159826
|
+
"text": "boolean"
|
|
159827
|
+
}
|
|
159828
|
+
}
|
|
159829
|
+
],
|
|
159830
|
+
"inheritedFrom": {
|
|
159831
|
+
"name": "SbbElement",
|
|
159832
|
+
"module": "core/base-elements/element.js"
|
|
159833
|
+
}
|
|
159834
|
+
},
|
|
159835
|
+
{
|
|
159836
|
+
"kind": "method",
|
|
159837
|
+
"name": "_slotchangeHandler",
|
|
159838
|
+
"privacy": "private",
|
|
159839
|
+
"return": {
|
|
159840
|
+
"type": {
|
|
159841
|
+
"text": "void"
|
|
159842
|
+
}
|
|
159843
|
+
},
|
|
159844
|
+
"parameters": [
|
|
159845
|
+
{
|
|
159846
|
+
"name": "event",
|
|
159847
|
+
"type": {
|
|
159848
|
+
"text": "Event"
|
|
159849
|
+
}
|
|
159850
|
+
},
|
|
159851
|
+
{
|
|
159852
|
+
"name": "slot",
|
|
159853
|
+
"type": {
|
|
159854
|
+
"text": "HTMLSlotElement"
|
|
159855
|
+
}
|
|
159856
|
+
}
|
|
159857
|
+
],
|
|
159858
|
+
"inheritedFrom": {
|
|
159859
|
+
"name": "SbbElement",
|
|
159860
|
+
"module": "core/base-elements/element.js"
|
|
159861
|
+
}
|
|
159862
|
+
},
|
|
159863
|
+
{
|
|
159864
|
+
"kind": "method",
|
|
159865
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
159866
|
+
"privacy": "private",
|
|
159867
|
+
"return": {
|
|
159868
|
+
"type": {
|
|
159869
|
+
"text": "void"
|
|
159870
|
+
}
|
|
159871
|
+
},
|
|
159872
|
+
"parameters": [
|
|
159873
|
+
{
|
|
159874
|
+
"name": "slot",
|
|
159875
|
+
"type": {
|
|
159876
|
+
"text": "HTMLSlotElement"
|
|
159877
|
+
}
|
|
159878
|
+
}
|
|
159879
|
+
],
|
|
159880
|
+
"inheritedFrom": {
|
|
159881
|
+
"name": "SbbElement",
|
|
159882
|
+
"module": "core/base-elements/element.js"
|
|
159883
|
+
}
|
|
159884
|
+
},
|
|
159885
|
+
{
|
|
159886
|
+
"kind": "method",
|
|
159887
|
+
"name": "_updateSlottedState",
|
|
159888
|
+
"privacy": "private",
|
|
159889
|
+
"return": {
|
|
159890
|
+
"type": {
|
|
159891
|
+
"text": "void"
|
|
159892
|
+
}
|
|
159893
|
+
},
|
|
159894
|
+
"parameters": [
|
|
159895
|
+
{
|
|
159896
|
+
"name": "slot",
|
|
159897
|
+
"type": {
|
|
159898
|
+
"text": "HTMLSlotElement"
|
|
159899
|
+
}
|
|
159900
|
+
}
|
|
159901
|
+
],
|
|
159902
|
+
"inheritedFrom": {
|
|
159903
|
+
"name": "SbbElement",
|
|
159904
|
+
"module": "core/base-elements/element.js"
|
|
159905
|
+
}
|
|
159906
|
+
},
|
|
159907
|
+
{
|
|
159908
|
+
"kind": "method",
|
|
159909
|
+
"name": "_observeTextNodesInSlot",
|
|
159910
|
+
"privacy": "private",
|
|
159911
|
+
"return": {
|
|
159912
|
+
"type": {
|
|
159913
|
+
"text": "void"
|
|
159914
|
+
}
|
|
159915
|
+
},
|
|
159916
|
+
"parameters": [
|
|
159917
|
+
{
|
|
159918
|
+
"name": "slot",
|
|
159919
|
+
"type": {
|
|
159920
|
+
"text": "HTMLSlotElement"
|
|
159921
|
+
}
|
|
159922
|
+
}
|
|
159923
|
+
],
|
|
159924
|
+
"inheritedFrom": {
|
|
159925
|
+
"name": "SbbElement",
|
|
159926
|
+
"module": "core/base-elements/element.js"
|
|
159927
|
+
}
|
|
159928
|
+
},
|
|
159929
|
+
{
|
|
159930
|
+
"kind": "method",
|
|
159931
|
+
"name": "_hasSlottedContent",
|
|
159932
|
+
"privacy": "private",
|
|
159933
|
+
"return": {
|
|
159934
|
+
"type": {
|
|
159935
|
+
"text": "boolean"
|
|
159936
|
+
}
|
|
159937
|
+
},
|
|
159938
|
+
"parameters": [
|
|
159939
|
+
{
|
|
159940
|
+
"name": "slot",
|
|
159941
|
+
"type": {
|
|
159942
|
+
"text": "HTMLSlotElement"
|
|
159943
|
+
}
|
|
159944
|
+
}
|
|
159945
|
+
],
|
|
159946
|
+
"inheritedFrom": {
|
|
159947
|
+
"name": "SbbElement",
|
|
159948
|
+
"module": "core/base-elements/element.js"
|
|
159949
|
+
}
|
|
159950
|
+
}
|
|
159951
|
+
],
|
|
159952
|
+
"mixins": [
|
|
159953
|
+
{
|
|
159954
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159955
|
+
"module": "teaser/common/teaser-common.js"
|
|
159956
|
+
}
|
|
159957
|
+
],
|
|
159958
|
+
"superclass": {
|
|
159959
|
+
"name": "SbbLinkBaseElement",
|
|
159960
|
+
"module": "core.js"
|
|
159961
|
+
},
|
|
159962
|
+
"tagName": "sbb-teaser",
|
|
159963
|
+
"customElement": true,
|
|
158822
159964
|
"attributes": [
|
|
158823
159965
|
{
|
|
158824
159966
|
"name": "alignment",
|
|
158825
159967
|
"type": {
|
|
158826
|
-
"text": "'
|
|
159968
|
+
"text": "SbbTeaserCommonElementMixinType['alignment']",
|
|
159969
|
+
"resolved": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
158827
159970
|
},
|
|
158828
159971
|
"default": "'after-centered'",
|
|
158829
159972
|
"description": "Teaser variant - define the position and the alignment of the text block.",
|
|
158830
|
-
"fieldName": "alignment"
|
|
159973
|
+
"fieldName": "alignment",
|
|
159974
|
+
"inheritedFrom": {
|
|
159975
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159976
|
+
"module": "teaser/common/teaser-common.js"
|
|
159977
|
+
}
|
|
159978
|
+
},
|
|
159979
|
+
{
|
|
159980
|
+
"name": "size",
|
|
159981
|
+
"type": {
|
|
159982
|
+
"text": "SbbTeaserCommonElementMixinType['size']",
|
|
159983
|
+
"resolved": "'m' | 'l' | null"
|
|
159984
|
+
},
|
|
159985
|
+
"default": "null",
|
|
159986
|
+
"description": "Size variant, either m (default) or l.",
|
|
159987
|
+
"fieldName": "size",
|
|
159988
|
+
"inheritedFrom": {
|
|
159989
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159990
|
+
"module": "teaser/common/teaser-common.js"
|
|
159991
|
+
}
|
|
158831
159992
|
},
|
|
158832
159993
|
{
|
|
158833
159994
|
"name": "href",
|
|
@@ -158907,13 +160068,7 @@
|
|
|
158907
160068
|
"module": "core/base-elements/link-base-element.js"
|
|
158908
160069
|
}
|
|
158909
160070
|
}
|
|
158910
|
-
]
|
|
158911
|
-
"superclass": {
|
|
158912
|
-
"name": "SbbLinkBaseElement",
|
|
158913
|
-
"module": "core.js"
|
|
158914
|
-
},
|
|
158915
|
-
"tagName": "sbb-teaser",
|
|
158916
|
-
"customElement": true
|
|
160071
|
+
]
|
|
158917
160072
|
}
|
|
158918
160073
|
],
|
|
158919
160074
|
"exports": [
|
|
@@ -158922,7 +160077,7 @@
|
|
|
158922
160077
|
"name": "SbbTeaserElement",
|
|
158923
160078
|
"declaration": {
|
|
158924
160079
|
"name": "SbbTeaserElement",
|
|
158925
|
-
"module": "teaser/teaser.component.js"
|
|
160080
|
+
"module": "teaser/teaser/teaser.component.js"
|
|
158926
160081
|
}
|
|
158927
160082
|
}
|
|
158928
160083
|
]
|
|
@@ -158937,7 +160092,23 @@
|
|
|
158937
160092
|
"name": "*",
|
|
158938
160093
|
"declaration": {
|
|
158939
160094
|
"name": "*",
|
|
158940
|
-
"module": "teaser/teaser.
|
|
160095
|
+
"module": "teaser/common/teaser-common.js"
|
|
160096
|
+
}
|
|
160097
|
+
},
|
|
160098
|
+
{
|
|
160099
|
+
"kind": "js",
|
|
160100
|
+
"name": "*",
|
|
160101
|
+
"declaration": {
|
|
160102
|
+
"name": "*",
|
|
160103
|
+
"module": "teaser/teaser-static/teaser-static.component.js"
|
|
160104
|
+
}
|
|
160105
|
+
},
|
|
160106
|
+
{
|
|
160107
|
+
"kind": "js",
|
|
160108
|
+
"name": "*",
|
|
160109
|
+
"declaration": {
|
|
160110
|
+
"name": "*",
|
|
160111
|
+
"module": "teaser/teaser/teaser.component.js"
|
|
158941
160112
|
}
|
|
158942
160113
|
}
|
|
158943
160114
|
]
|