@sbb-esta/lyne-elements-dev 5.7.0-dev.1788418878 → 5.7.0-dev.1788418915
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 +1195 -34
- 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 +16 -4
- package/lean-safety-theme.css +16 -4
- package/lean-theme.css +16 -4
- package/off-brand-theme.css +16 -4
- package/package.json +2 -2
- package/safety-theme.css +16 -4
- package/standard-theme.css +16 -4
- package/teaser/_teaser.global.scss +17 -6
- package/teaser.js +1 -1
- package/teaser.pure.js +22 -18
package/custom-elements.json
CHANGED
|
@@ -158223,7 +158223,1085 @@
|
|
|
158223
158223
|
},
|
|
158224
158224
|
{
|
|
158225
158225
|
"kind": "javascript-module",
|
|
158226
|
-
"path": "teaser/teaser.
|
|
158226
|
+
"path": "teaser/common/teaser-common.js",
|
|
158227
|
+
"declarations": [
|
|
158228
|
+
{
|
|
158229
|
+
"kind": "class",
|
|
158230
|
+
"description": "",
|
|
158231
|
+
"name": "SbbTeaserCommonElementMixinType",
|
|
158232
|
+
"members": [
|
|
158233
|
+
{
|
|
158234
|
+
"kind": "field",
|
|
158235
|
+
"name": "alignment",
|
|
158236
|
+
"type": {
|
|
158237
|
+
"text": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
158238
|
+
},
|
|
158239
|
+
"privacy": "public"
|
|
158240
|
+
},
|
|
158241
|
+
{
|
|
158242
|
+
"kind": "field",
|
|
158243
|
+
"name": "size",
|
|
158244
|
+
"type": {
|
|
158245
|
+
"text": "'m' | 'l' | null"
|
|
158246
|
+
},
|
|
158247
|
+
"privacy": "public"
|
|
158248
|
+
},
|
|
158249
|
+
{
|
|
158250
|
+
"kind": "field",
|
|
158251
|
+
"name": "maybeDisabled",
|
|
158252
|
+
"type": {
|
|
158253
|
+
"text": "boolean | undefined"
|
|
158254
|
+
},
|
|
158255
|
+
"privacy": "protected",
|
|
158256
|
+
"readonly": true,
|
|
158257
|
+
"inheritedFrom": {
|
|
158258
|
+
"name": "SbbActionBaseElement",
|
|
158259
|
+
"module": "core/base-elements/action-base-element.js"
|
|
158260
|
+
}
|
|
158261
|
+
},
|
|
158262
|
+
{
|
|
158263
|
+
"kind": "field",
|
|
158264
|
+
"name": "maybeDisabledInteractive",
|
|
158265
|
+
"type": {
|
|
158266
|
+
"text": "boolean | undefined"
|
|
158267
|
+
},
|
|
158268
|
+
"privacy": "protected",
|
|
158269
|
+
"readonly": true,
|
|
158270
|
+
"inheritedFrom": {
|
|
158271
|
+
"name": "SbbActionBaseElement",
|
|
158272
|
+
"module": "core/base-elements/action-base-element.js"
|
|
158273
|
+
}
|
|
158274
|
+
},
|
|
158275
|
+
{
|
|
158276
|
+
"kind": "method",
|
|
158277
|
+
"name": "setupBaseEventHandlers",
|
|
158278
|
+
"privacy": "protected",
|
|
158279
|
+
"return": {
|
|
158280
|
+
"type": {
|
|
158281
|
+
"text": "void"
|
|
158282
|
+
}
|
|
158283
|
+
},
|
|
158284
|
+
"inheritedFrom": {
|
|
158285
|
+
"name": "SbbActionBaseElement",
|
|
158286
|
+
"module": "core/base-elements/action-base-element.js"
|
|
158287
|
+
}
|
|
158288
|
+
},
|
|
158289
|
+
{
|
|
158290
|
+
"kind": "method",
|
|
158291
|
+
"name": "renderTemplate",
|
|
158292
|
+
"privacy": "protected",
|
|
158293
|
+
"return": {
|
|
158294
|
+
"type": {
|
|
158295
|
+
"text": "TemplateResult"
|
|
158296
|
+
}
|
|
158297
|
+
},
|
|
158298
|
+
"description": "Override this method to render the component template.",
|
|
158299
|
+
"inheritedFrom": {
|
|
158300
|
+
"name": "SbbActionBaseElement",
|
|
158301
|
+
"module": "core/base-elements/action-base-element.js"
|
|
158302
|
+
}
|
|
158303
|
+
},
|
|
158304
|
+
{
|
|
158305
|
+
"kind": "field",
|
|
158306
|
+
"name": "['_$sbbElement$']",
|
|
158307
|
+
"type": {
|
|
158308
|
+
"text": "boolean"
|
|
158309
|
+
},
|
|
158310
|
+
"privacy": "public",
|
|
158311
|
+
"static": true,
|
|
158312
|
+
"default": "true",
|
|
158313
|
+
"inheritedFrom": {
|
|
158314
|
+
"name": "SbbElement",
|
|
158315
|
+
"module": "core/base-elements/element.js"
|
|
158316
|
+
}
|
|
158317
|
+
},
|
|
158318
|
+
{
|
|
158319
|
+
"kind": "field",
|
|
158320
|
+
"name": "elementName",
|
|
158321
|
+
"type": {
|
|
158322
|
+
"text": "string"
|
|
158323
|
+
},
|
|
158324
|
+
"privacy": "public",
|
|
158325
|
+
"static": true,
|
|
158326
|
+
"readonly": true,
|
|
158327
|
+
"inheritedFrom": {
|
|
158328
|
+
"name": "SbbElement",
|
|
158329
|
+
"module": "core/base-elements/element.js"
|
|
158330
|
+
}
|
|
158331
|
+
},
|
|
158332
|
+
{
|
|
158333
|
+
"kind": "field",
|
|
158334
|
+
"name": "elementDependencies",
|
|
158335
|
+
"type": {
|
|
158336
|
+
"text": "SbbElementType[] | undefined"
|
|
158337
|
+
},
|
|
158338
|
+
"privacy": "public",
|
|
158339
|
+
"static": true,
|
|
158340
|
+
"inheritedFrom": {
|
|
158341
|
+
"name": "SbbElement",
|
|
158342
|
+
"module": "core/base-elements/element.js"
|
|
158343
|
+
}
|
|
158344
|
+
},
|
|
158345
|
+
{
|
|
158346
|
+
"kind": "field",
|
|
158347
|
+
"name": "role",
|
|
158348
|
+
"type": {
|
|
158349
|
+
"text": "ElementInternals['role'] | undefined"
|
|
158350
|
+
},
|
|
158351
|
+
"privacy": "public",
|
|
158352
|
+
"static": true,
|
|
158353
|
+
"inheritedFrom": {
|
|
158354
|
+
"name": "SbbElement",
|
|
158355
|
+
"module": "core/base-elements/element.js"
|
|
158356
|
+
}
|
|
158357
|
+
},
|
|
158358
|
+
{
|
|
158359
|
+
"kind": "field",
|
|
158360
|
+
"name": "_controllers",
|
|
158361
|
+
"type": {
|
|
158362
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
158363
|
+
},
|
|
158364
|
+
"privacy": "private",
|
|
158365
|
+
"inheritedFrom": {
|
|
158366
|
+
"name": "SbbElement",
|
|
158367
|
+
"module": "core/base-elements/element.js"
|
|
158368
|
+
}
|
|
158369
|
+
},
|
|
158370
|
+
{
|
|
158371
|
+
"kind": "field",
|
|
158372
|
+
"name": "_hydrationRequired",
|
|
158373
|
+
"type": {
|
|
158374
|
+
"text": "boolean"
|
|
158375
|
+
},
|
|
158376
|
+
"privacy": "private",
|
|
158377
|
+
"default": "!!this.shadowRoot",
|
|
158378
|
+
"inheritedFrom": {
|
|
158379
|
+
"name": "SbbElement",
|
|
158380
|
+
"module": "core/base-elements/element.js"
|
|
158381
|
+
}
|
|
158382
|
+
},
|
|
158383
|
+
{
|
|
158384
|
+
"kind": "field",
|
|
158385
|
+
"name": "_hydrationComplete",
|
|
158386
|
+
"privacy": "private",
|
|
158387
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
158388
|
+
"inheritedFrom": {
|
|
158389
|
+
"name": "SbbElement",
|
|
158390
|
+
"module": "core/base-elements/element.js"
|
|
158391
|
+
}
|
|
158392
|
+
},
|
|
158393
|
+
{
|
|
158394
|
+
"kind": "field",
|
|
158395
|
+
"name": "_resolveHydration",
|
|
158396
|
+
"type": {
|
|
158397
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
158398
|
+
},
|
|
158399
|
+
"privacy": "private",
|
|
158400
|
+
"inheritedFrom": {
|
|
158401
|
+
"name": "SbbElement",
|
|
158402
|
+
"module": "core/base-elements/element.js"
|
|
158403
|
+
}
|
|
158404
|
+
},
|
|
158405
|
+
{
|
|
158406
|
+
"kind": "field",
|
|
158407
|
+
"name": "_textObserver",
|
|
158408
|
+
"type": {
|
|
158409
|
+
"text": "MutationObserver | undefined"
|
|
158410
|
+
},
|
|
158411
|
+
"privacy": "private",
|
|
158412
|
+
"inheritedFrom": {
|
|
158413
|
+
"name": "SbbElement",
|
|
158414
|
+
"module": "core/base-elements/element.js"
|
|
158415
|
+
}
|
|
158416
|
+
},
|
|
158417
|
+
{
|
|
158418
|
+
"kind": "field",
|
|
158419
|
+
"name": "hydrationRequired",
|
|
158420
|
+
"type": {
|
|
158421
|
+
"text": "boolean"
|
|
158422
|
+
},
|
|
158423
|
+
"privacy": "protected",
|
|
158424
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
158425
|
+
"readonly": true,
|
|
158426
|
+
"inheritedFrom": {
|
|
158427
|
+
"name": "SbbElement",
|
|
158428
|
+
"module": "core/base-elements/element.js"
|
|
158429
|
+
},
|
|
158430
|
+
"default": "!!this.shadowRoot"
|
|
158431
|
+
},
|
|
158432
|
+
{
|
|
158433
|
+
"kind": "method",
|
|
158434
|
+
"name": "finalizeStyles",
|
|
158435
|
+
"privacy": "protected",
|
|
158436
|
+
"static": true,
|
|
158437
|
+
"return": {
|
|
158438
|
+
"type": {
|
|
158439
|
+
"text": "CSSResultOrNative[]"
|
|
158440
|
+
}
|
|
158441
|
+
},
|
|
158442
|
+
"parameters": [
|
|
158443
|
+
{
|
|
158444
|
+
"name": "_styles",
|
|
158445
|
+
"type": {
|
|
158446
|
+
"text": "CSSResultGroup"
|
|
158447
|
+
}
|
|
158448
|
+
}
|
|
158449
|
+
],
|
|
158450
|
+
"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.",
|
|
158451
|
+
"inheritedFrom": {
|
|
158452
|
+
"name": "SbbElement",
|
|
158453
|
+
"module": "core/base-elements/element.js"
|
|
158454
|
+
}
|
|
158455
|
+
},
|
|
158456
|
+
{
|
|
158457
|
+
"kind": "method",
|
|
158458
|
+
"name": "toggleState",
|
|
158459
|
+
"privacy": "protected",
|
|
158460
|
+
"return": {
|
|
158461
|
+
"type": {
|
|
158462
|
+
"text": "void"
|
|
158463
|
+
}
|
|
158464
|
+
},
|
|
158465
|
+
"parameters": [
|
|
158466
|
+
{
|
|
158467
|
+
"name": "value",
|
|
158468
|
+
"type": {
|
|
158469
|
+
"text": "string"
|
|
158470
|
+
}
|
|
158471
|
+
},
|
|
158472
|
+
{
|
|
158473
|
+
"name": "force",
|
|
158474
|
+
"optional": true,
|
|
158475
|
+
"type": {
|
|
158476
|
+
"text": "boolean"
|
|
158477
|
+
}
|
|
158478
|
+
}
|
|
158479
|
+
],
|
|
158480
|
+
"inheritedFrom": {
|
|
158481
|
+
"name": "SbbElement",
|
|
158482
|
+
"module": "core/base-elements/element.js"
|
|
158483
|
+
}
|
|
158484
|
+
},
|
|
158485
|
+
{
|
|
158486
|
+
"kind": "method",
|
|
158487
|
+
"name": "_slotchangeHandler",
|
|
158488
|
+
"privacy": "private",
|
|
158489
|
+
"return": {
|
|
158490
|
+
"type": {
|
|
158491
|
+
"text": "void"
|
|
158492
|
+
}
|
|
158493
|
+
},
|
|
158494
|
+
"parameters": [
|
|
158495
|
+
{
|
|
158496
|
+
"name": "event",
|
|
158497
|
+
"type": {
|
|
158498
|
+
"text": "Event"
|
|
158499
|
+
}
|
|
158500
|
+
},
|
|
158501
|
+
{
|
|
158502
|
+
"name": "slot",
|
|
158503
|
+
"type": {
|
|
158504
|
+
"text": "HTMLSlotElement"
|
|
158505
|
+
}
|
|
158506
|
+
}
|
|
158507
|
+
],
|
|
158508
|
+
"inheritedFrom": {
|
|
158509
|
+
"name": "SbbElement",
|
|
158510
|
+
"module": "core/base-elements/element.js"
|
|
158511
|
+
}
|
|
158512
|
+
},
|
|
158513
|
+
{
|
|
158514
|
+
"kind": "method",
|
|
158515
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
158516
|
+
"privacy": "private",
|
|
158517
|
+
"return": {
|
|
158518
|
+
"type": {
|
|
158519
|
+
"text": "void"
|
|
158520
|
+
}
|
|
158521
|
+
},
|
|
158522
|
+
"parameters": [
|
|
158523
|
+
{
|
|
158524
|
+
"name": "slot",
|
|
158525
|
+
"type": {
|
|
158526
|
+
"text": "HTMLSlotElement"
|
|
158527
|
+
}
|
|
158528
|
+
}
|
|
158529
|
+
],
|
|
158530
|
+
"inheritedFrom": {
|
|
158531
|
+
"name": "SbbElement",
|
|
158532
|
+
"module": "core/base-elements/element.js"
|
|
158533
|
+
}
|
|
158534
|
+
},
|
|
158535
|
+
{
|
|
158536
|
+
"kind": "method",
|
|
158537
|
+
"name": "_updateSlottedState",
|
|
158538
|
+
"privacy": "private",
|
|
158539
|
+
"return": {
|
|
158540
|
+
"type": {
|
|
158541
|
+
"text": "void"
|
|
158542
|
+
}
|
|
158543
|
+
},
|
|
158544
|
+
"parameters": [
|
|
158545
|
+
{
|
|
158546
|
+
"name": "slot",
|
|
158547
|
+
"type": {
|
|
158548
|
+
"text": "HTMLSlotElement"
|
|
158549
|
+
}
|
|
158550
|
+
}
|
|
158551
|
+
],
|
|
158552
|
+
"inheritedFrom": {
|
|
158553
|
+
"name": "SbbElement",
|
|
158554
|
+
"module": "core/base-elements/element.js"
|
|
158555
|
+
}
|
|
158556
|
+
},
|
|
158557
|
+
{
|
|
158558
|
+
"kind": "method",
|
|
158559
|
+
"name": "_observeTextNodesInSlot",
|
|
158560
|
+
"privacy": "private",
|
|
158561
|
+
"return": {
|
|
158562
|
+
"type": {
|
|
158563
|
+
"text": "void"
|
|
158564
|
+
}
|
|
158565
|
+
},
|
|
158566
|
+
"parameters": [
|
|
158567
|
+
{
|
|
158568
|
+
"name": "slot",
|
|
158569
|
+
"type": {
|
|
158570
|
+
"text": "HTMLSlotElement"
|
|
158571
|
+
}
|
|
158572
|
+
}
|
|
158573
|
+
],
|
|
158574
|
+
"inheritedFrom": {
|
|
158575
|
+
"name": "SbbElement",
|
|
158576
|
+
"module": "core/base-elements/element.js"
|
|
158577
|
+
}
|
|
158578
|
+
},
|
|
158579
|
+
{
|
|
158580
|
+
"kind": "method",
|
|
158581
|
+
"name": "_hasSlottedContent",
|
|
158582
|
+
"privacy": "private",
|
|
158583
|
+
"return": {
|
|
158584
|
+
"type": {
|
|
158585
|
+
"text": "boolean"
|
|
158586
|
+
}
|
|
158587
|
+
},
|
|
158588
|
+
"parameters": [
|
|
158589
|
+
{
|
|
158590
|
+
"name": "slot",
|
|
158591
|
+
"type": {
|
|
158592
|
+
"text": "HTMLSlotElement"
|
|
158593
|
+
}
|
|
158594
|
+
}
|
|
158595
|
+
],
|
|
158596
|
+
"inheritedFrom": {
|
|
158597
|
+
"name": "SbbElement",
|
|
158598
|
+
"module": "core/base-elements/element.js"
|
|
158599
|
+
}
|
|
158600
|
+
}
|
|
158601
|
+
],
|
|
158602
|
+
"superclass": {
|
|
158603
|
+
"name": "SbbActionBaseElement",
|
|
158604
|
+
"module": "core.js"
|
|
158605
|
+
}
|
|
158606
|
+
},
|
|
158607
|
+
{
|
|
158608
|
+
"kind": "mixin",
|
|
158609
|
+
"description": "",
|
|
158610
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158611
|
+
"members": [
|
|
158612
|
+
{
|
|
158613
|
+
"kind": "field",
|
|
158614
|
+
"name": "styles",
|
|
158615
|
+
"type": {
|
|
158616
|
+
"text": "CSSResultGroup"
|
|
158617
|
+
},
|
|
158618
|
+
"privacy": "public",
|
|
158619
|
+
"static": true,
|
|
158620
|
+
"default": "[unsafeCSS(style)]"
|
|
158621
|
+
},
|
|
158622
|
+
{
|
|
158623
|
+
"kind": "field",
|
|
158624
|
+
"name": "alignment",
|
|
158625
|
+
"type": {
|
|
158626
|
+
"text": "SbbTeaserCommonElementMixinType['alignment']",
|
|
158627
|
+
"resolved": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
158628
|
+
},
|
|
158629
|
+
"privacy": "public",
|
|
158630
|
+
"default": "'after-centered'",
|
|
158631
|
+
"description": "Teaser variant - define the position and the alignment of the text block.",
|
|
158632
|
+
"attribute": "alignment",
|
|
158633
|
+
"reflects": true
|
|
158634
|
+
},
|
|
158635
|
+
{
|
|
158636
|
+
"kind": "field",
|
|
158637
|
+
"name": "size",
|
|
158638
|
+
"type": {
|
|
158639
|
+
"text": "SbbTeaserCommonElementMixinType['size']",
|
|
158640
|
+
"resolved": "'m' | 'l' | null"
|
|
158641
|
+
},
|
|
158642
|
+
"privacy": "public",
|
|
158643
|
+
"default": "null",
|
|
158644
|
+
"description": "Size variant, either m (default) or l.",
|
|
158645
|
+
"attribute": "size",
|
|
158646
|
+
"reflects": true
|
|
158647
|
+
},
|
|
158648
|
+
{
|
|
158649
|
+
"kind": "method",
|
|
158650
|
+
"name": "_handleSlotchange",
|
|
158651
|
+
"privacy": "private",
|
|
158652
|
+
"return": {
|
|
158653
|
+
"type": {
|
|
158654
|
+
"text": "void"
|
|
158655
|
+
}
|
|
158656
|
+
}
|
|
158657
|
+
},
|
|
158658
|
+
{
|
|
158659
|
+
"kind": "method",
|
|
158660
|
+
"name": "_configureChip",
|
|
158661
|
+
"privacy": "private",
|
|
158662
|
+
"return": {
|
|
158663
|
+
"type": {
|
|
158664
|
+
"text": "void"
|
|
158665
|
+
}
|
|
158666
|
+
},
|
|
158667
|
+
"parameters": [
|
|
158668
|
+
{
|
|
158669
|
+
"name": "event",
|
|
158670
|
+
"type": {
|
|
158671
|
+
"text": "Event"
|
|
158672
|
+
}
|
|
158673
|
+
}
|
|
158674
|
+
]
|
|
158675
|
+
},
|
|
158676
|
+
{
|
|
158677
|
+
"kind": "method",
|
|
158678
|
+
"name": "_configureTitle",
|
|
158679
|
+
"privacy": "private",
|
|
158680
|
+
"return": {
|
|
158681
|
+
"type": {
|
|
158682
|
+
"text": "void"
|
|
158683
|
+
}
|
|
158684
|
+
},
|
|
158685
|
+
"parameters": [
|
|
158686
|
+
{
|
|
158687
|
+
"name": "event",
|
|
158688
|
+
"type": {
|
|
158689
|
+
"text": "Event"
|
|
158690
|
+
}
|
|
158691
|
+
}
|
|
158692
|
+
]
|
|
158693
|
+
},
|
|
158694
|
+
{
|
|
158695
|
+
"kind": "method",
|
|
158696
|
+
"name": "renderTemplate",
|
|
158697
|
+
"privacy": "protected",
|
|
158698
|
+
"return": {
|
|
158699
|
+
"type": {
|
|
158700
|
+
"text": "TemplateResult"
|
|
158701
|
+
}
|
|
158702
|
+
}
|
|
158703
|
+
}
|
|
158704
|
+
],
|
|
158705
|
+
"attributes": [
|
|
158706
|
+
{
|
|
158707
|
+
"name": "alignment",
|
|
158708
|
+
"type": {
|
|
158709
|
+
"text": "SbbTeaserCommonElementMixinType['alignment']",
|
|
158710
|
+
"resolved": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
158711
|
+
},
|
|
158712
|
+
"default": "'after-centered'",
|
|
158713
|
+
"description": "Teaser variant - define the position and the alignment of the text block.",
|
|
158714
|
+
"fieldName": "alignment"
|
|
158715
|
+
},
|
|
158716
|
+
{
|
|
158717
|
+
"name": "size",
|
|
158718
|
+
"type": {
|
|
158719
|
+
"text": "SbbTeaserCommonElementMixinType['size']",
|
|
158720
|
+
"resolved": "'m' | 'l' | null"
|
|
158721
|
+
},
|
|
158722
|
+
"default": "null",
|
|
158723
|
+
"description": "Size variant, either m (default) or l.",
|
|
158724
|
+
"fieldName": "size"
|
|
158725
|
+
}
|
|
158726
|
+
],
|
|
158727
|
+
"parameters": [
|
|
158728
|
+
{
|
|
158729
|
+
"name": "superClass",
|
|
158730
|
+
"type": {
|
|
158731
|
+
"text": "T"
|
|
158732
|
+
}
|
|
158733
|
+
}
|
|
158734
|
+
]
|
|
158735
|
+
}
|
|
158736
|
+
],
|
|
158737
|
+
"exports": [
|
|
158738
|
+
{
|
|
158739
|
+
"kind": "js",
|
|
158740
|
+
"name": "SbbTeaserCommonElementMixinType",
|
|
158741
|
+
"declaration": {
|
|
158742
|
+
"name": "SbbTeaserCommonElementMixinType",
|
|
158743
|
+
"module": "teaser/common/teaser-common.js"
|
|
158744
|
+
}
|
|
158745
|
+
},
|
|
158746
|
+
{
|
|
158747
|
+
"kind": "js",
|
|
158748
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158749
|
+
"declaration": {
|
|
158750
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158751
|
+
"module": "teaser/common/teaser-common.js"
|
|
158752
|
+
}
|
|
158753
|
+
}
|
|
158754
|
+
]
|
|
158755
|
+
},
|
|
158756
|
+
{
|
|
158757
|
+
"kind": "javascript-module",
|
|
158758
|
+
"path": "teaser/teaser-static/teaser-static.component.js",
|
|
158759
|
+
"declarations": [
|
|
158760
|
+
{
|
|
158761
|
+
"kind": "class",
|
|
158762
|
+
"description": "Non-interactive variant of the `<sbb-teaser>`.",
|
|
158763
|
+
"name": "SbbTeaserStaticElement",
|
|
158764
|
+
"slots": [
|
|
158765
|
+
{
|
|
158766
|
+
"description": "Slot for an interactive action, e.g. a `<sbb-secondary-button-link>` element. The action is displayed below the description.",
|
|
158767
|
+
"name": "action"
|
|
158768
|
+
},
|
|
158769
|
+
{
|
|
158770
|
+
"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.",
|
|
158771
|
+
"name": "chip"
|
|
158772
|
+
},
|
|
158773
|
+
{
|
|
158774
|
+
"description": "Slot used to render the image.",
|
|
158775
|
+
"name": "image"
|
|
158776
|
+
},
|
|
158777
|
+
{
|
|
158778
|
+
"description": "Slot for the title. For the standard `sbb-title` element, the slot is automatically assigned when slotted in the unnamed slot.",
|
|
158779
|
+
"name": "title"
|
|
158780
|
+
},
|
|
158781
|
+
{
|
|
158782
|
+
"description": "Use the unnamed slot to render the description, the sbb-title and the sbb-chip-label.",
|
|
158783
|
+
"name": ""
|
|
158784
|
+
}
|
|
158785
|
+
],
|
|
158786
|
+
"members": [
|
|
158787
|
+
{
|
|
158788
|
+
"kind": "field",
|
|
158789
|
+
"name": "elementName",
|
|
158790
|
+
"type": {
|
|
158791
|
+
"text": "string"
|
|
158792
|
+
},
|
|
158793
|
+
"privacy": "public",
|
|
158794
|
+
"static": true,
|
|
158795
|
+
"readonly": true,
|
|
158796
|
+
"inheritedFrom": {
|
|
158797
|
+
"name": "SbbElement",
|
|
158798
|
+
"module": "core/base-elements/element.js"
|
|
158799
|
+
},
|
|
158800
|
+
"default": "'sbb-teaser-static'"
|
|
158801
|
+
},
|
|
158802
|
+
{
|
|
158803
|
+
"kind": "field",
|
|
158804
|
+
"name": "styles",
|
|
158805
|
+
"type": {
|
|
158806
|
+
"text": "CSSResultGroup"
|
|
158807
|
+
},
|
|
158808
|
+
"privacy": "public",
|
|
158809
|
+
"static": true,
|
|
158810
|
+
"default": "[unsafeCSS(style)]",
|
|
158811
|
+
"inheritedFrom": {
|
|
158812
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158813
|
+
"module": "teaser/common/teaser-common.js"
|
|
158814
|
+
}
|
|
158815
|
+
},
|
|
158816
|
+
{
|
|
158817
|
+
"kind": "field",
|
|
158818
|
+
"name": "alignment",
|
|
158819
|
+
"type": {
|
|
158820
|
+
"text": "SbbTeaserCommonElementMixinType['alignment']",
|
|
158821
|
+
"resolved": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
158822
|
+
},
|
|
158823
|
+
"privacy": "public",
|
|
158824
|
+
"default": "'after-centered'",
|
|
158825
|
+
"description": "Teaser variant - define the position and the alignment of the text block.",
|
|
158826
|
+
"attribute": "alignment",
|
|
158827
|
+
"reflects": true,
|
|
158828
|
+
"inheritedFrom": {
|
|
158829
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158830
|
+
"module": "teaser/common/teaser-common.js"
|
|
158831
|
+
}
|
|
158832
|
+
},
|
|
158833
|
+
{
|
|
158834
|
+
"kind": "field",
|
|
158835
|
+
"name": "size",
|
|
158836
|
+
"type": {
|
|
158837
|
+
"text": "SbbTeaserCommonElementMixinType['size']",
|
|
158838
|
+
"resolved": "'m' | 'l' | null"
|
|
158839
|
+
},
|
|
158840
|
+
"privacy": "public",
|
|
158841
|
+
"default": "null",
|
|
158842
|
+
"description": "Size variant, either m (default) or l.",
|
|
158843
|
+
"attribute": "size",
|
|
158844
|
+
"reflects": true,
|
|
158845
|
+
"inheritedFrom": {
|
|
158846
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158847
|
+
"module": "teaser/common/teaser-common.js"
|
|
158848
|
+
}
|
|
158849
|
+
},
|
|
158850
|
+
{
|
|
158851
|
+
"kind": "method",
|
|
158852
|
+
"name": "_handleSlotchange",
|
|
158853
|
+
"privacy": "private",
|
|
158854
|
+
"return": {
|
|
158855
|
+
"type": {
|
|
158856
|
+
"text": "void"
|
|
158857
|
+
}
|
|
158858
|
+
},
|
|
158859
|
+
"inheritedFrom": {
|
|
158860
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158861
|
+
"module": "teaser/common/teaser-common.js"
|
|
158862
|
+
}
|
|
158863
|
+
},
|
|
158864
|
+
{
|
|
158865
|
+
"kind": "method",
|
|
158866
|
+
"name": "_configureChip",
|
|
158867
|
+
"privacy": "private",
|
|
158868
|
+
"return": {
|
|
158869
|
+
"type": {
|
|
158870
|
+
"text": "void"
|
|
158871
|
+
}
|
|
158872
|
+
},
|
|
158873
|
+
"parameters": [
|
|
158874
|
+
{
|
|
158875
|
+
"name": "event",
|
|
158876
|
+
"type": {
|
|
158877
|
+
"text": "Event"
|
|
158878
|
+
}
|
|
158879
|
+
}
|
|
158880
|
+
],
|
|
158881
|
+
"inheritedFrom": {
|
|
158882
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158883
|
+
"module": "teaser/common/teaser-common.js"
|
|
158884
|
+
}
|
|
158885
|
+
},
|
|
158886
|
+
{
|
|
158887
|
+
"kind": "method",
|
|
158888
|
+
"name": "_configureTitle",
|
|
158889
|
+
"privacy": "private",
|
|
158890
|
+
"return": {
|
|
158891
|
+
"type": {
|
|
158892
|
+
"text": "void"
|
|
158893
|
+
}
|
|
158894
|
+
},
|
|
158895
|
+
"parameters": [
|
|
158896
|
+
{
|
|
158897
|
+
"name": "event",
|
|
158898
|
+
"type": {
|
|
158899
|
+
"text": "Event"
|
|
158900
|
+
}
|
|
158901
|
+
}
|
|
158902
|
+
],
|
|
158903
|
+
"inheritedFrom": {
|
|
158904
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
158905
|
+
"module": "teaser/common/teaser-common.js"
|
|
158906
|
+
}
|
|
158907
|
+
},
|
|
158908
|
+
{
|
|
158909
|
+
"kind": "method",
|
|
158910
|
+
"name": "renderTemplate",
|
|
158911
|
+
"privacy": "protected",
|
|
158912
|
+
"return": {
|
|
158913
|
+
"type": {
|
|
158914
|
+
"text": "TemplateResult"
|
|
158915
|
+
}
|
|
158916
|
+
},
|
|
158917
|
+
"description": "Override this method to render the component template.",
|
|
158918
|
+
"inheritedFrom": {
|
|
158919
|
+
"name": "SbbActionBaseElement",
|
|
158920
|
+
"module": "core/base-elements/action-base-element.js"
|
|
158921
|
+
}
|
|
158922
|
+
},
|
|
158923
|
+
{
|
|
158924
|
+
"kind": "field",
|
|
158925
|
+
"name": "maybeDisabled",
|
|
158926
|
+
"type": {
|
|
158927
|
+
"text": "boolean | undefined"
|
|
158928
|
+
},
|
|
158929
|
+
"privacy": "protected",
|
|
158930
|
+
"readonly": true,
|
|
158931
|
+
"inheritedFrom": {
|
|
158932
|
+
"name": "SbbActionBaseElement",
|
|
158933
|
+
"module": "core/base-elements/action-base-element.js"
|
|
158934
|
+
}
|
|
158935
|
+
},
|
|
158936
|
+
{
|
|
158937
|
+
"kind": "field",
|
|
158938
|
+
"name": "maybeDisabledInteractive",
|
|
158939
|
+
"type": {
|
|
158940
|
+
"text": "boolean | undefined"
|
|
158941
|
+
},
|
|
158942
|
+
"privacy": "protected",
|
|
158943
|
+
"readonly": true,
|
|
158944
|
+
"inheritedFrom": {
|
|
158945
|
+
"name": "SbbActionBaseElement",
|
|
158946
|
+
"module": "core/base-elements/action-base-element.js"
|
|
158947
|
+
}
|
|
158948
|
+
},
|
|
158949
|
+
{
|
|
158950
|
+
"kind": "method",
|
|
158951
|
+
"name": "setupBaseEventHandlers",
|
|
158952
|
+
"privacy": "protected",
|
|
158953
|
+
"return": {
|
|
158954
|
+
"type": {
|
|
158955
|
+
"text": "void"
|
|
158956
|
+
}
|
|
158957
|
+
},
|
|
158958
|
+
"inheritedFrom": {
|
|
158959
|
+
"name": "SbbActionBaseElement",
|
|
158960
|
+
"module": "core/base-elements/action-base-element.js"
|
|
158961
|
+
}
|
|
158962
|
+
},
|
|
158963
|
+
{
|
|
158964
|
+
"kind": "field",
|
|
158965
|
+
"name": "['_$sbbElement$']",
|
|
158966
|
+
"type": {
|
|
158967
|
+
"text": "boolean"
|
|
158968
|
+
},
|
|
158969
|
+
"privacy": "public",
|
|
158970
|
+
"static": true,
|
|
158971
|
+
"default": "true",
|
|
158972
|
+
"inheritedFrom": {
|
|
158973
|
+
"name": "SbbElement",
|
|
158974
|
+
"module": "core/base-elements/element.js"
|
|
158975
|
+
}
|
|
158976
|
+
},
|
|
158977
|
+
{
|
|
158978
|
+
"kind": "field",
|
|
158979
|
+
"name": "elementDependencies",
|
|
158980
|
+
"type": {
|
|
158981
|
+
"text": "SbbElementType[] | undefined"
|
|
158982
|
+
},
|
|
158983
|
+
"privacy": "public",
|
|
158984
|
+
"static": true,
|
|
158985
|
+
"inheritedFrom": {
|
|
158986
|
+
"name": "SbbElement",
|
|
158987
|
+
"module": "core/base-elements/element.js"
|
|
158988
|
+
}
|
|
158989
|
+
},
|
|
158990
|
+
{
|
|
158991
|
+
"kind": "field",
|
|
158992
|
+
"name": "role",
|
|
158993
|
+
"type": {
|
|
158994
|
+
"text": "ElementInternals['role'] | undefined"
|
|
158995
|
+
},
|
|
158996
|
+
"privacy": "public",
|
|
158997
|
+
"static": true,
|
|
158998
|
+
"inheritedFrom": {
|
|
158999
|
+
"name": "SbbElement",
|
|
159000
|
+
"module": "core/base-elements/element.js"
|
|
159001
|
+
}
|
|
159002
|
+
},
|
|
159003
|
+
{
|
|
159004
|
+
"kind": "field",
|
|
159005
|
+
"name": "_controllers",
|
|
159006
|
+
"type": {
|
|
159007
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
159008
|
+
},
|
|
159009
|
+
"privacy": "private",
|
|
159010
|
+
"inheritedFrom": {
|
|
159011
|
+
"name": "SbbElement",
|
|
159012
|
+
"module": "core/base-elements/element.js"
|
|
159013
|
+
}
|
|
159014
|
+
},
|
|
159015
|
+
{
|
|
159016
|
+
"kind": "field",
|
|
159017
|
+
"name": "_hydrationRequired",
|
|
159018
|
+
"type": {
|
|
159019
|
+
"text": "boolean"
|
|
159020
|
+
},
|
|
159021
|
+
"privacy": "private",
|
|
159022
|
+
"default": "!!this.shadowRoot",
|
|
159023
|
+
"inheritedFrom": {
|
|
159024
|
+
"name": "SbbElement",
|
|
159025
|
+
"module": "core/base-elements/element.js"
|
|
159026
|
+
}
|
|
159027
|
+
},
|
|
159028
|
+
{
|
|
159029
|
+
"kind": "field",
|
|
159030
|
+
"name": "_hydrationComplete",
|
|
159031
|
+
"privacy": "private",
|
|
159032
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
159033
|
+
"inheritedFrom": {
|
|
159034
|
+
"name": "SbbElement",
|
|
159035
|
+
"module": "core/base-elements/element.js"
|
|
159036
|
+
}
|
|
159037
|
+
},
|
|
159038
|
+
{
|
|
159039
|
+
"kind": "field",
|
|
159040
|
+
"name": "_resolveHydration",
|
|
159041
|
+
"type": {
|
|
159042
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
159043
|
+
},
|
|
159044
|
+
"privacy": "private",
|
|
159045
|
+
"inheritedFrom": {
|
|
159046
|
+
"name": "SbbElement",
|
|
159047
|
+
"module": "core/base-elements/element.js"
|
|
159048
|
+
}
|
|
159049
|
+
},
|
|
159050
|
+
{
|
|
159051
|
+
"kind": "field",
|
|
159052
|
+
"name": "_textObserver",
|
|
159053
|
+
"type": {
|
|
159054
|
+
"text": "MutationObserver | undefined"
|
|
159055
|
+
},
|
|
159056
|
+
"privacy": "private",
|
|
159057
|
+
"inheritedFrom": {
|
|
159058
|
+
"name": "SbbElement",
|
|
159059
|
+
"module": "core/base-elements/element.js"
|
|
159060
|
+
}
|
|
159061
|
+
},
|
|
159062
|
+
{
|
|
159063
|
+
"kind": "field",
|
|
159064
|
+
"name": "hydrationRequired",
|
|
159065
|
+
"type": {
|
|
159066
|
+
"text": "boolean"
|
|
159067
|
+
},
|
|
159068
|
+
"privacy": "protected",
|
|
159069
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
159070
|
+
"readonly": true,
|
|
159071
|
+
"inheritedFrom": {
|
|
159072
|
+
"name": "SbbElement",
|
|
159073
|
+
"module": "core/base-elements/element.js"
|
|
159074
|
+
},
|
|
159075
|
+
"default": "!!this.shadowRoot"
|
|
159076
|
+
},
|
|
159077
|
+
{
|
|
159078
|
+
"kind": "method",
|
|
159079
|
+
"name": "finalizeStyles",
|
|
159080
|
+
"privacy": "protected",
|
|
159081
|
+
"static": true,
|
|
159082
|
+
"return": {
|
|
159083
|
+
"type": {
|
|
159084
|
+
"text": "CSSResultOrNative[]"
|
|
159085
|
+
}
|
|
159086
|
+
},
|
|
159087
|
+
"parameters": [
|
|
159088
|
+
{
|
|
159089
|
+
"name": "_styles",
|
|
159090
|
+
"type": {
|
|
159091
|
+
"text": "CSSResultGroup"
|
|
159092
|
+
}
|
|
159093
|
+
}
|
|
159094
|
+
],
|
|
159095
|
+
"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.",
|
|
159096
|
+
"inheritedFrom": {
|
|
159097
|
+
"name": "SbbElement",
|
|
159098
|
+
"module": "core/base-elements/element.js"
|
|
159099
|
+
}
|
|
159100
|
+
},
|
|
159101
|
+
{
|
|
159102
|
+
"kind": "method",
|
|
159103
|
+
"name": "toggleState",
|
|
159104
|
+
"privacy": "protected",
|
|
159105
|
+
"return": {
|
|
159106
|
+
"type": {
|
|
159107
|
+
"text": "void"
|
|
159108
|
+
}
|
|
159109
|
+
},
|
|
159110
|
+
"parameters": [
|
|
159111
|
+
{
|
|
159112
|
+
"name": "value",
|
|
159113
|
+
"type": {
|
|
159114
|
+
"text": "string"
|
|
159115
|
+
}
|
|
159116
|
+
},
|
|
159117
|
+
{
|
|
159118
|
+
"name": "force",
|
|
159119
|
+
"optional": true,
|
|
159120
|
+
"type": {
|
|
159121
|
+
"text": "boolean"
|
|
159122
|
+
}
|
|
159123
|
+
}
|
|
159124
|
+
],
|
|
159125
|
+
"inheritedFrom": {
|
|
159126
|
+
"name": "SbbElement",
|
|
159127
|
+
"module": "core/base-elements/element.js"
|
|
159128
|
+
}
|
|
159129
|
+
},
|
|
159130
|
+
{
|
|
159131
|
+
"kind": "method",
|
|
159132
|
+
"name": "_slotchangeHandler",
|
|
159133
|
+
"privacy": "private",
|
|
159134
|
+
"return": {
|
|
159135
|
+
"type": {
|
|
159136
|
+
"text": "void"
|
|
159137
|
+
}
|
|
159138
|
+
},
|
|
159139
|
+
"parameters": [
|
|
159140
|
+
{
|
|
159141
|
+
"name": "event",
|
|
159142
|
+
"type": {
|
|
159143
|
+
"text": "Event"
|
|
159144
|
+
}
|
|
159145
|
+
},
|
|
159146
|
+
{
|
|
159147
|
+
"name": "slot",
|
|
159148
|
+
"type": {
|
|
159149
|
+
"text": "HTMLSlotElement"
|
|
159150
|
+
}
|
|
159151
|
+
}
|
|
159152
|
+
],
|
|
159153
|
+
"inheritedFrom": {
|
|
159154
|
+
"name": "SbbElement",
|
|
159155
|
+
"module": "core/base-elements/element.js"
|
|
159156
|
+
}
|
|
159157
|
+
},
|
|
159158
|
+
{
|
|
159159
|
+
"kind": "method",
|
|
159160
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
159161
|
+
"privacy": "private",
|
|
159162
|
+
"return": {
|
|
159163
|
+
"type": {
|
|
159164
|
+
"text": "void"
|
|
159165
|
+
}
|
|
159166
|
+
},
|
|
159167
|
+
"parameters": [
|
|
159168
|
+
{
|
|
159169
|
+
"name": "slot",
|
|
159170
|
+
"type": {
|
|
159171
|
+
"text": "HTMLSlotElement"
|
|
159172
|
+
}
|
|
159173
|
+
}
|
|
159174
|
+
],
|
|
159175
|
+
"inheritedFrom": {
|
|
159176
|
+
"name": "SbbElement",
|
|
159177
|
+
"module": "core/base-elements/element.js"
|
|
159178
|
+
}
|
|
159179
|
+
},
|
|
159180
|
+
{
|
|
159181
|
+
"kind": "method",
|
|
159182
|
+
"name": "_updateSlottedState",
|
|
159183
|
+
"privacy": "private",
|
|
159184
|
+
"return": {
|
|
159185
|
+
"type": {
|
|
159186
|
+
"text": "void"
|
|
159187
|
+
}
|
|
159188
|
+
},
|
|
159189
|
+
"parameters": [
|
|
159190
|
+
{
|
|
159191
|
+
"name": "slot",
|
|
159192
|
+
"type": {
|
|
159193
|
+
"text": "HTMLSlotElement"
|
|
159194
|
+
}
|
|
159195
|
+
}
|
|
159196
|
+
],
|
|
159197
|
+
"inheritedFrom": {
|
|
159198
|
+
"name": "SbbElement",
|
|
159199
|
+
"module": "core/base-elements/element.js"
|
|
159200
|
+
}
|
|
159201
|
+
},
|
|
159202
|
+
{
|
|
159203
|
+
"kind": "method",
|
|
159204
|
+
"name": "_observeTextNodesInSlot",
|
|
159205
|
+
"privacy": "private",
|
|
159206
|
+
"return": {
|
|
159207
|
+
"type": {
|
|
159208
|
+
"text": "void"
|
|
159209
|
+
}
|
|
159210
|
+
},
|
|
159211
|
+
"parameters": [
|
|
159212
|
+
{
|
|
159213
|
+
"name": "slot",
|
|
159214
|
+
"type": {
|
|
159215
|
+
"text": "HTMLSlotElement"
|
|
159216
|
+
}
|
|
159217
|
+
}
|
|
159218
|
+
],
|
|
159219
|
+
"inheritedFrom": {
|
|
159220
|
+
"name": "SbbElement",
|
|
159221
|
+
"module": "core/base-elements/element.js"
|
|
159222
|
+
}
|
|
159223
|
+
},
|
|
159224
|
+
{
|
|
159225
|
+
"kind": "method",
|
|
159226
|
+
"name": "_hasSlottedContent",
|
|
159227
|
+
"privacy": "private",
|
|
159228
|
+
"return": {
|
|
159229
|
+
"type": {
|
|
159230
|
+
"text": "boolean"
|
|
159231
|
+
}
|
|
159232
|
+
},
|
|
159233
|
+
"parameters": [
|
|
159234
|
+
{
|
|
159235
|
+
"name": "slot",
|
|
159236
|
+
"type": {
|
|
159237
|
+
"text": "HTMLSlotElement"
|
|
159238
|
+
}
|
|
159239
|
+
}
|
|
159240
|
+
],
|
|
159241
|
+
"inheritedFrom": {
|
|
159242
|
+
"name": "SbbElement",
|
|
159243
|
+
"module": "core/base-elements/element.js"
|
|
159244
|
+
}
|
|
159245
|
+
}
|
|
159246
|
+
],
|
|
159247
|
+
"mixins": [
|
|
159248
|
+
{
|
|
159249
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159250
|
+
"module": "teaser/common/teaser-common.js"
|
|
159251
|
+
}
|
|
159252
|
+
],
|
|
159253
|
+
"superclass": {
|
|
159254
|
+
"name": "SbbActionBaseElement",
|
|
159255
|
+
"module": "core.js"
|
|
159256
|
+
},
|
|
159257
|
+
"tagName": "sbb-teaser-static",
|
|
159258
|
+
"customElement": true,
|
|
159259
|
+
"attributes": [
|
|
159260
|
+
{
|
|
159261
|
+
"name": "alignment",
|
|
159262
|
+
"type": {
|
|
159263
|
+
"text": "SbbTeaserCommonElementMixinType['alignment']",
|
|
159264
|
+
"resolved": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
159265
|
+
},
|
|
159266
|
+
"default": "'after-centered'",
|
|
159267
|
+
"description": "Teaser variant - define the position and the alignment of the text block.",
|
|
159268
|
+
"fieldName": "alignment",
|
|
159269
|
+
"inheritedFrom": {
|
|
159270
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159271
|
+
"module": "teaser/common/teaser-common.js"
|
|
159272
|
+
}
|
|
159273
|
+
},
|
|
159274
|
+
{
|
|
159275
|
+
"name": "size",
|
|
159276
|
+
"type": {
|
|
159277
|
+
"text": "SbbTeaserCommonElementMixinType['size']",
|
|
159278
|
+
"resolved": "'m' | 'l' | null"
|
|
159279
|
+
},
|
|
159280
|
+
"default": "null",
|
|
159281
|
+
"description": "Size variant, either m (default) or l.",
|
|
159282
|
+
"fieldName": "size",
|
|
159283
|
+
"inheritedFrom": {
|
|
159284
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159285
|
+
"module": "teaser/common/teaser-common.js"
|
|
159286
|
+
}
|
|
159287
|
+
}
|
|
159288
|
+
]
|
|
159289
|
+
}
|
|
159290
|
+
],
|
|
159291
|
+
"exports": [
|
|
159292
|
+
{
|
|
159293
|
+
"kind": "js",
|
|
159294
|
+
"name": "SbbTeaserStaticElement",
|
|
159295
|
+
"declaration": {
|
|
159296
|
+
"name": "SbbTeaserStaticElement",
|
|
159297
|
+
"module": "teaser/teaser-static/teaser-static.component.js"
|
|
159298
|
+
}
|
|
159299
|
+
}
|
|
159300
|
+
]
|
|
159301
|
+
},
|
|
159302
|
+
{
|
|
159303
|
+
"kind": "javascript-module",
|
|
159304
|
+
"path": "teaser/teaser/teaser.component.js",
|
|
158227
159305
|
"declarations": [
|
|
158228
159306
|
{
|
|
158229
159307
|
"kind": "class",
|
|
@@ -158231,13 +159309,17 @@
|
|
|
158231
159309
|
"name": "SbbTeaserElement",
|
|
158232
159310
|
"slots": [
|
|
158233
159311
|
{
|
|
158234
|
-
"description": "Slot
|
|
158235
|
-
"name": "
|
|
159312
|
+
"description": "Slot for a static action, e.g. a `<sbb-secondary-button-static>` element. The action is displayed below the description.",
|
|
159313
|
+
"name": "action"
|
|
158236
159314
|
},
|
|
158237
159315
|
{
|
|
158238
159316
|
"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
159317
|
"name": "chip"
|
|
158240
159318
|
},
|
|
159319
|
+
{
|
|
159320
|
+
"description": "Slot used to render the image.",
|
|
159321
|
+
"name": "image"
|
|
159322
|
+
},
|
|
158241
159323
|
{
|
|
158242
159324
|
"description": "Slot for the title. For the standard `sbb-title` element, the slot is automatically assigned when slotted in the unnamed slot.",
|
|
158243
159325
|
"name": "title"
|
|
@@ -158263,17 +159345,53 @@
|
|
|
158263
159345
|
},
|
|
158264
159346
|
"default": "'sbb-teaser'"
|
|
158265
159347
|
},
|
|
159348
|
+
{
|
|
159349
|
+
"kind": "field",
|
|
159350
|
+
"name": "styles",
|
|
159351
|
+
"type": {
|
|
159352
|
+
"text": "CSSResultGroup"
|
|
159353
|
+
},
|
|
159354
|
+
"privacy": "public",
|
|
159355
|
+
"static": true,
|
|
159356
|
+
"default": "[unsafeCSS(style)]",
|
|
159357
|
+
"inheritedFrom": {
|
|
159358
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159359
|
+
"module": "teaser/common/teaser-common.js"
|
|
159360
|
+
}
|
|
159361
|
+
},
|
|
158266
159362
|
{
|
|
158267
159363
|
"kind": "field",
|
|
158268
159364
|
"name": "alignment",
|
|
158269
159365
|
"type": {
|
|
158270
|
-
"text": "'
|
|
159366
|
+
"text": "SbbTeaserCommonElementMixinType['alignment']",
|
|
159367
|
+
"resolved": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
158271
159368
|
},
|
|
158272
159369
|
"privacy": "public",
|
|
158273
159370
|
"default": "'after-centered'",
|
|
158274
159371
|
"description": "Teaser variant - define the position and the alignment of the text block.",
|
|
158275
159372
|
"attribute": "alignment",
|
|
158276
|
-
"reflects": true
|
|
159373
|
+
"reflects": true,
|
|
159374
|
+
"inheritedFrom": {
|
|
159375
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159376
|
+
"module": "teaser/common/teaser-common.js"
|
|
159377
|
+
}
|
|
159378
|
+
},
|
|
159379
|
+
{
|
|
159380
|
+
"kind": "field",
|
|
159381
|
+
"name": "size",
|
|
159382
|
+
"type": {
|
|
159383
|
+
"text": "SbbTeaserCommonElementMixinType['size']",
|
|
159384
|
+
"resolved": "'m' | 'l' | null"
|
|
159385
|
+
},
|
|
159386
|
+
"privacy": "public",
|
|
159387
|
+
"default": "null",
|
|
159388
|
+
"description": "Size variant, either m (default) or l.",
|
|
159389
|
+
"attribute": "size",
|
|
159390
|
+
"reflects": true,
|
|
159391
|
+
"inheritedFrom": {
|
|
159392
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159393
|
+
"module": "teaser/common/teaser-common.js"
|
|
159394
|
+
}
|
|
158277
159395
|
},
|
|
158278
159396
|
{
|
|
158279
159397
|
"kind": "method",
|
|
@@ -158283,6 +159401,10 @@
|
|
|
158283
159401
|
"type": {
|
|
158284
159402
|
"text": "void"
|
|
158285
159403
|
}
|
|
159404
|
+
},
|
|
159405
|
+
"inheritedFrom": {
|
|
159406
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159407
|
+
"module": "teaser/common/teaser-common.js"
|
|
158286
159408
|
}
|
|
158287
159409
|
},
|
|
158288
159410
|
{
|
|
@@ -158301,7 +159423,11 @@
|
|
|
158301
159423
|
"text": "Event"
|
|
158302
159424
|
}
|
|
158303
159425
|
}
|
|
158304
|
-
]
|
|
159426
|
+
],
|
|
159427
|
+
"inheritedFrom": {
|
|
159428
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159429
|
+
"module": "teaser/common/teaser-common.js"
|
|
159430
|
+
}
|
|
158305
159431
|
},
|
|
158306
159432
|
{
|
|
158307
159433
|
"kind": "method",
|
|
@@ -158319,16 +159445,25 @@
|
|
|
158319
159445
|
"text": "Event"
|
|
158320
159446
|
}
|
|
158321
159447
|
}
|
|
158322
|
-
]
|
|
159448
|
+
],
|
|
159449
|
+
"inheritedFrom": {
|
|
159450
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159451
|
+
"module": "teaser/common/teaser-common.js"
|
|
159452
|
+
}
|
|
158323
159453
|
},
|
|
158324
159454
|
{
|
|
158325
159455
|
"kind": "method",
|
|
158326
|
-
"name": "
|
|
159456
|
+
"name": "renderTemplate",
|
|
158327
159457
|
"privacy": "protected",
|
|
158328
159458
|
"return": {
|
|
158329
159459
|
"type": {
|
|
158330
159460
|
"text": "TemplateResult"
|
|
158331
159461
|
}
|
|
159462
|
+
},
|
|
159463
|
+
"description": "Override this method to render the component template.",
|
|
159464
|
+
"inheritedFrom": {
|
|
159465
|
+
"name": "SbbActionBaseElement",
|
|
159466
|
+
"module": "core/base-elements/action-base-element.js"
|
|
158332
159467
|
}
|
|
158333
159468
|
},
|
|
158334
159469
|
{
|
|
@@ -158520,21 +159655,6 @@
|
|
|
158520
159655
|
"module": "core/base-elements/action-base-element.js"
|
|
158521
159656
|
}
|
|
158522
159657
|
},
|
|
158523
|
-
{
|
|
158524
|
-
"kind": "method",
|
|
158525
|
-
"name": "renderTemplate",
|
|
158526
|
-
"privacy": "protected",
|
|
158527
|
-
"return": {
|
|
158528
|
-
"type": {
|
|
158529
|
-
"text": "TemplateResult"
|
|
158530
|
-
}
|
|
158531
|
-
},
|
|
158532
|
-
"description": "Override this method to render the component template.",
|
|
158533
|
-
"inheritedFrom": {
|
|
158534
|
-
"name": "SbbActionBaseElement",
|
|
158535
|
-
"module": "core/base-elements/action-base-element.js"
|
|
158536
|
-
}
|
|
158537
|
-
},
|
|
158538
159658
|
{
|
|
158539
159659
|
"kind": "field",
|
|
158540
159660
|
"name": "['_$sbbElement$']",
|
|
@@ -158819,15 +159939,46 @@
|
|
|
158819
159939
|
}
|
|
158820
159940
|
}
|
|
158821
159941
|
],
|
|
159942
|
+
"mixins": [
|
|
159943
|
+
{
|
|
159944
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159945
|
+
"module": "teaser/common/teaser-common.js"
|
|
159946
|
+
}
|
|
159947
|
+
],
|
|
159948
|
+
"superclass": {
|
|
159949
|
+
"name": "SbbLinkBaseElement",
|
|
159950
|
+
"module": "core.js"
|
|
159951
|
+
},
|
|
159952
|
+
"tagName": "sbb-teaser",
|
|
159953
|
+
"customElement": true,
|
|
158822
159954
|
"attributes": [
|
|
158823
159955
|
{
|
|
158824
159956
|
"name": "alignment",
|
|
158825
159957
|
"type": {
|
|
158826
|
-
"text": "'
|
|
159958
|
+
"text": "SbbTeaserCommonElementMixinType['alignment']",
|
|
159959
|
+
"resolved": "'before' | 'before-centered' | 'after' | 'after-centered' | 'below'"
|
|
158827
159960
|
},
|
|
158828
159961
|
"default": "'after-centered'",
|
|
158829
159962
|
"description": "Teaser variant - define the position and the alignment of the text block.",
|
|
158830
|
-
"fieldName": "alignment"
|
|
159963
|
+
"fieldName": "alignment",
|
|
159964
|
+
"inheritedFrom": {
|
|
159965
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159966
|
+
"module": "teaser/common/teaser-common.js"
|
|
159967
|
+
}
|
|
159968
|
+
},
|
|
159969
|
+
{
|
|
159970
|
+
"name": "size",
|
|
159971
|
+
"type": {
|
|
159972
|
+
"text": "SbbTeaserCommonElementMixinType['size']",
|
|
159973
|
+
"resolved": "'m' | 'l' | null"
|
|
159974
|
+
},
|
|
159975
|
+
"default": "null",
|
|
159976
|
+
"description": "Size variant, either m (default) or l.",
|
|
159977
|
+
"fieldName": "size",
|
|
159978
|
+
"inheritedFrom": {
|
|
159979
|
+
"name": "SbbTeaserCommonElementMixin",
|
|
159980
|
+
"module": "teaser/common/teaser-common.js"
|
|
159981
|
+
}
|
|
158831
159982
|
},
|
|
158832
159983
|
{
|
|
158833
159984
|
"name": "href",
|
|
@@ -158907,13 +160058,7 @@
|
|
|
158907
160058
|
"module": "core/base-elements/link-base-element.js"
|
|
158908
160059
|
}
|
|
158909
160060
|
}
|
|
158910
|
-
]
|
|
158911
|
-
"superclass": {
|
|
158912
|
-
"name": "SbbLinkBaseElement",
|
|
158913
|
-
"module": "core.js"
|
|
158914
|
-
},
|
|
158915
|
-
"tagName": "sbb-teaser",
|
|
158916
|
-
"customElement": true
|
|
160061
|
+
]
|
|
158917
160062
|
}
|
|
158918
160063
|
],
|
|
158919
160064
|
"exports": [
|
|
@@ -158922,7 +160067,7 @@
|
|
|
158922
160067
|
"name": "SbbTeaserElement",
|
|
158923
160068
|
"declaration": {
|
|
158924
160069
|
"name": "SbbTeaserElement",
|
|
158925
|
-
"module": "teaser/teaser.component.js"
|
|
160070
|
+
"module": "teaser/teaser/teaser.component.js"
|
|
158926
160071
|
}
|
|
158927
160072
|
}
|
|
158928
160073
|
]
|
|
@@ -158937,7 +160082,23 @@
|
|
|
158937
160082
|
"name": "*",
|
|
158938
160083
|
"declaration": {
|
|
158939
160084
|
"name": "*",
|
|
158940
|
-
"module": "teaser/teaser.
|
|
160085
|
+
"module": "teaser/common/teaser-common.js"
|
|
160086
|
+
}
|
|
160087
|
+
},
|
|
160088
|
+
{
|
|
160089
|
+
"kind": "js",
|
|
160090
|
+
"name": "*",
|
|
160091
|
+
"declaration": {
|
|
160092
|
+
"name": "*",
|
|
160093
|
+
"module": "teaser/teaser-static/teaser-static.component.js"
|
|
160094
|
+
}
|
|
160095
|
+
},
|
|
160096
|
+
{
|
|
160097
|
+
"kind": "js",
|
|
160098
|
+
"name": "*",
|
|
160099
|
+
"declaration": {
|
|
160100
|
+
"name": "*",
|
|
160101
|
+
"module": "teaser/teaser/teaser.component.js"
|
|
158941
160102
|
}
|
|
158942
160103
|
}
|
|
158943
160104
|
]
|