@sbb-esta/lyne-elements-dev 4.0.0-dev.1775957896 → 4.0.0-dev.1776014111
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 +284 -284
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -153347,12 +153347,12 @@
|
|
|
153347
153347
|
},
|
|
153348
153348
|
{
|
|
153349
153349
|
"kind": "javascript-module",
|
|
153350
|
-
"path": "teaser-product/teaser-product
|
|
153350
|
+
"path": "teaser-product/teaser-product/teaser-product.component.js",
|
|
153351
153351
|
"declarations": [
|
|
153352
153352
|
{
|
|
153353
153353
|
"kind": "class",
|
|
153354
|
-
"description": "Displays a text and a footnote, combined with an image, to tease a product
|
|
153355
|
-
"name": "
|
|
153354
|
+
"description": "Displays a text and a footnote, combined with an image, to tease a product",
|
|
153355
|
+
"name": "SbbTeaserProductElement",
|
|
153356
153356
|
"cssProperties": [
|
|
153357
153357
|
{
|
|
153358
153358
|
"description": "At which percentage the background should start getting transparent.",
|
|
@@ -153393,7 +153393,21 @@
|
|
|
153393
153393
|
"name": "SbbElement",
|
|
153394
153394
|
"module": "core/base-elements/element.js"
|
|
153395
153395
|
},
|
|
153396
|
-
"default": "'sbb-teaser-product
|
|
153396
|
+
"default": "'sbb-teaser-product'"
|
|
153397
|
+
},
|
|
153398
|
+
{
|
|
153399
|
+
"kind": "field",
|
|
153400
|
+
"name": "elementDependencies",
|
|
153401
|
+
"type": {
|
|
153402
|
+
"text": "SbbElementType[]"
|
|
153403
|
+
},
|
|
153404
|
+
"privacy": "public",
|
|
153405
|
+
"static": true,
|
|
153406
|
+
"inheritedFrom": {
|
|
153407
|
+
"name": "SbbElement",
|
|
153408
|
+
"module": "core/base-elements/element.js"
|
|
153409
|
+
},
|
|
153410
|
+
"default": "[SbbScreenReaderOnlyElement]"
|
|
153397
153411
|
},
|
|
153398
153412
|
{
|
|
153399
153413
|
"kind": "field",
|
|
@@ -153442,6 +153456,155 @@
|
|
|
153442
153456
|
"module": "core/mixins/negative-mixin.js"
|
|
153443
153457
|
}
|
|
153444
153458
|
},
|
|
153459
|
+
{
|
|
153460
|
+
"kind": "field",
|
|
153461
|
+
"name": "href",
|
|
153462
|
+
"type": {
|
|
153463
|
+
"text": "string"
|
|
153464
|
+
},
|
|
153465
|
+
"privacy": "public",
|
|
153466
|
+
"default": "''",
|
|
153467
|
+
"description": "The href value you want to link to.",
|
|
153468
|
+
"attribute": "href",
|
|
153469
|
+
"reflects": true,
|
|
153470
|
+
"inheritedFrom": {
|
|
153471
|
+
"name": "SbbLinkBaseElement",
|
|
153472
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153473
|
+
}
|
|
153474
|
+
},
|
|
153475
|
+
{
|
|
153476
|
+
"kind": "field",
|
|
153477
|
+
"name": "target",
|
|
153478
|
+
"type": {
|
|
153479
|
+
"text": "LinkTargetType | string"
|
|
153480
|
+
},
|
|
153481
|
+
"privacy": "public",
|
|
153482
|
+
"default": "''",
|
|
153483
|
+
"description": "Where to display the linked URL.",
|
|
153484
|
+
"attribute": "target",
|
|
153485
|
+
"reflects": true,
|
|
153486
|
+
"inheritedFrom": {
|
|
153487
|
+
"name": "SbbLinkBaseElement",
|
|
153488
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153489
|
+
}
|
|
153490
|
+
},
|
|
153491
|
+
{
|
|
153492
|
+
"kind": "field",
|
|
153493
|
+
"name": "rel",
|
|
153494
|
+
"type": {
|
|
153495
|
+
"text": "string"
|
|
153496
|
+
},
|
|
153497
|
+
"privacy": "public",
|
|
153498
|
+
"default": "''",
|
|
153499
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
153500
|
+
"attribute": "rel",
|
|
153501
|
+
"reflects": true,
|
|
153502
|
+
"inheritedFrom": {
|
|
153503
|
+
"name": "SbbLinkBaseElement",
|
|
153504
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153505
|
+
}
|
|
153506
|
+
},
|
|
153507
|
+
{
|
|
153508
|
+
"kind": "field",
|
|
153509
|
+
"name": "download",
|
|
153510
|
+
"type": {
|
|
153511
|
+
"text": "boolean"
|
|
153512
|
+
},
|
|
153513
|
+
"privacy": "public",
|
|
153514
|
+
"default": "false",
|
|
153515
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
153516
|
+
"attribute": "download",
|
|
153517
|
+
"reflects": true,
|
|
153518
|
+
"inheritedFrom": {
|
|
153519
|
+
"name": "SbbLinkBaseElement",
|
|
153520
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153521
|
+
}
|
|
153522
|
+
},
|
|
153523
|
+
{
|
|
153524
|
+
"kind": "field",
|
|
153525
|
+
"name": "accessibilityLabel",
|
|
153526
|
+
"type": {
|
|
153527
|
+
"text": "string"
|
|
153528
|
+
},
|
|
153529
|
+
"privacy": "public",
|
|
153530
|
+
"default": "''",
|
|
153531
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
153532
|
+
"attribute": "accessibility-label",
|
|
153533
|
+
"inheritedFrom": {
|
|
153534
|
+
"name": "SbbLinkBaseElement",
|
|
153535
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153536
|
+
}
|
|
153537
|
+
},
|
|
153538
|
+
{
|
|
153539
|
+
"kind": "field",
|
|
153540
|
+
"name": "accessibilityCurrent",
|
|
153541
|
+
"type": {
|
|
153542
|
+
"text": "string"
|
|
153543
|
+
},
|
|
153544
|
+
"privacy": "public",
|
|
153545
|
+
"default": "''",
|
|
153546
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
153547
|
+
"attribute": "accessibility-current",
|
|
153548
|
+
"inheritedFrom": {
|
|
153549
|
+
"name": "SbbLinkBaseElement",
|
|
153550
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153551
|
+
}
|
|
153552
|
+
},
|
|
153553
|
+
{
|
|
153554
|
+
"kind": "field",
|
|
153555
|
+
"name": "language",
|
|
153556
|
+
"privacy": "protected",
|
|
153557
|
+
"default": "new SbbLanguageController(this)",
|
|
153558
|
+
"inheritedFrom": {
|
|
153559
|
+
"name": "SbbLinkBaseElement",
|
|
153560
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153561
|
+
}
|
|
153562
|
+
},
|
|
153563
|
+
{
|
|
153564
|
+
"kind": "field",
|
|
153565
|
+
"name": "anchorRole",
|
|
153566
|
+
"type": {
|
|
153567
|
+
"text": "string | null"
|
|
153568
|
+
},
|
|
153569
|
+
"privacy": "protected",
|
|
153570
|
+
"readonly": true,
|
|
153571
|
+
"default": "null",
|
|
153572
|
+
"inheritedFrom": {
|
|
153573
|
+
"name": "SbbLinkBaseElement",
|
|
153574
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153575
|
+
}
|
|
153576
|
+
},
|
|
153577
|
+
{
|
|
153578
|
+
"kind": "field",
|
|
153579
|
+
"name": "_evaluateRelAttribute",
|
|
153580
|
+
"privacy": "private",
|
|
153581
|
+
"inheritedFrom": {
|
|
153582
|
+
"name": "SbbLinkBaseElement",
|
|
153583
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153584
|
+
}
|
|
153585
|
+
},
|
|
153586
|
+
{
|
|
153587
|
+
"kind": "method",
|
|
153588
|
+
"name": "renderLink",
|
|
153589
|
+
"privacy": "protected",
|
|
153590
|
+
"return": {
|
|
153591
|
+
"type": {
|
|
153592
|
+
"text": "TemplateResult"
|
|
153593
|
+
}
|
|
153594
|
+
},
|
|
153595
|
+
"parameters": [
|
|
153596
|
+
{
|
|
153597
|
+
"name": "renderContent",
|
|
153598
|
+
"type": {
|
|
153599
|
+
"text": "TemplateResult"
|
|
153600
|
+
}
|
|
153601
|
+
}
|
|
153602
|
+
],
|
|
153603
|
+
"inheritedFrom": {
|
|
153604
|
+
"name": "SbbLinkBaseElement",
|
|
153605
|
+
"module": "core/base-elements/link-base-element.js"
|
|
153606
|
+
}
|
|
153607
|
+
},
|
|
153445
153608
|
{
|
|
153446
153609
|
"kind": "field",
|
|
153447
153610
|
"name": "maybeDisabled",
|
|
@@ -153496,19 +153659,6 @@
|
|
|
153496
153659
|
"module": "core/base-elements/element.js"
|
|
153497
153660
|
}
|
|
153498
153661
|
},
|
|
153499
|
-
{
|
|
153500
|
-
"kind": "field",
|
|
153501
|
-
"name": "elementDependencies",
|
|
153502
|
-
"type": {
|
|
153503
|
-
"text": "SbbElementType[] | undefined"
|
|
153504
|
-
},
|
|
153505
|
-
"privacy": "public",
|
|
153506
|
-
"static": true,
|
|
153507
|
-
"inheritedFrom": {
|
|
153508
|
-
"name": "SbbElement",
|
|
153509
|
-
"module": "core/base-elements/element.js"
|
|
153510
|
-
}
|
|
153511
|
-
},
|
|
153512
153662
|
{
|
|
153513
153663
|
"kind": "field",
|
|
153514
153664
|
"name": "role",
|
|
@@ -153749,10 +153899,10 @@
|
|
|
153749
153899
|
}
|
|
153750
153900
|
],
|
|
153751
153901
|
"superclass": {
|
|
153752
|
-
"name": "
|
|
153902
|
+
"name": "SbbLinkBaseElement",
|
|
153753
153903
|
"module": "core.js"
|
|
153754
153904
|
},
|
|
153755
|
-
"tagName": "sbb-teaser-product
|
|
153905
|
+
"tagName": "sbb-teaser-product",
|
|
153756
153906
|
"customElement": true,
|
|
153757
153907
|
"attributes": [
|
|
153758
153908
|
{
|
|
@@ -153764,295 +153914,210 @@
|
|
|
153764
153914
|
"description": "Whether the fully visible part of the image is aligned 'before' or 'after' the content.\nOnly relevant starting from large breakpoint.",
|
|
153765
153915
|
"fieldName": "imageAlignment",
|
|
153766
153916
|
"inheritedFrom": {
|
|
153767
|
-
"name": "SbbTeaserProductCommonElementMixin",
|
|
153768
|
-
"module": "teaser-product/common/teaser-product-common.js"
|
|
153769
|
-
}
|
|
153770
|
-
},
|
|
153771
|
-
{
|
|
153772
|
-
"name": "negative",
|
|
153773
|
-
"type": {
|
|
153774
|
-
"text": "boolean"
|
|
153775
|
-
},
|
|
153776
|
-
"default": "false",
|
|
153777
|
-
"description": "Negative coloring variant flag.",
|
|
153778
|
-
"fieldName": "negative",
|
|
153779
|
-
"inheritedFrom": {
|
|
153780
|
-
"name": "SbbNegativeMixin",
|
|
153781
|
-
"module": "core/mixins/negative-mixin.js"
|
|
153782
|
-
}
|
|
153783
|
-
}
|
|
153784
|
-
]
|
|
153785
|
-
}
|
|
153786
|
-
],
|
|
153787
|
-
"exports": [
|
|
153788
|
-
{
|
|
153789
|
-
"kind": "js",
|
|
153790
|
-
"name": "SbbTeaserProductStaticElement",
|
|
153791
|
-
"declaration": {
|
|
153792
|
-
"name": "SbbTeaserProductStaticElement",
|
|
153793
|
-
"module": "teaser-product/teaser-product-static/teaser-product-static.component.js"
|
|
153794
|
-
}
|
|
153795
|
-
}
|
|
153796
|
-
]
|
|
153797
|
-
},
|
|
153798
|
-
{
|
|
153799
|
-
"kind": "javascript-module",
|
|
153800
|
-
"path": "teaser-product/teaser-product/teaser-product.component.js",
|
|
153801
|
-
"declarations": [
|
|
153802
|
-
{
|
|
153803
|
-
"kind": "class",
|
|
153804
|
-
"description": "Displays a text and a footnote, combined with an image, to tease a product",
|
|
153805
|
-
"name": "SbbTeaserProductElement",
|
|
153806
|
-
"cssProperties": [
|
|
153807
|
-
{
|
|
153808
|
-
"description": "At which percentage the background should start getting transparent.",
|
|
153809
|
-
"name": "--sbb-teaser-product-background-gradient-start",
|
|
153810
|
-
"default": "25%"
|
|
153811
|
-
},
|
|
153812
|
-
{
|
|
153813
|
-
"description": "At which percentage the background should be fully transparent.",
|
|
153814
|
-
"name": "--sbb-teaser-product-background-gradient-end",
|
|
153815
|
-
"default": "75%"
|
|
153816
|
-
}
|
|
153817
|
-
],
|
|
153818
|
-
"slots": [
|
|
153819
|
-
{
|
|
153820
|
-
"description": "Use this slot to provide the main content.",
|
|
153821
|
-
"name": ""
|
|
153822
|
-
},
|
|
153823
|
-
{
|
|
153824
|
-
"description": "Use this slot to provide an image or a `sbb-image` as a background.",
|
|
153825
|
-
"name": "image"
|
|
153826
|
-
},
|
|
153827
|
-
{
|
|
153828
|
-
"description": "Use this slot to provide a footnote.",
|
|
153829
|
-
"name": "footnote"
|
|
153830
|
-
}
|
|
153831
|
-
],
|
|
153832
|
-
"members": [
|
|
153833
|
-
{
|
|
153834
|
-
"kind": "field",
|
|
153835
|
-
"name": "elementName",
|
|
153836
|
-
"type": {
|
|
153837
|
-
"text": "string"
|
|
153838
|
-
},
|
|
153839
|
-
"privacy": "public",
|
|
153840
|
-
"static": true,
|
|
153841
|
-
"readonly": true,
|
|
153842
|
-
"inheritedFrom": {
|
|
153843
|
-
"name": "SbbElement",
|
|
153844
|
-
"module": "core/base-elements/element.js"
|
|
153845
|
-
},
|
|
153846
|
-
"default": "'sbb-teaser-product'"
|
|
153847
|
-
},
|
|
153848
|
-
{
|
|
153849
|
-
"kind": "field",
|
|
153850
|
-
"name": "elementDependencies",
|
|
153851
|
-
"type": {
|
|
153852
|
-
"text": "SbbElementType[]"
|
|
153853
|
-
},
|
|
153854
|
-
"privacy": "public",
|
|
153855
|
-
"static": true,
|
|
153856
|
-
"inheritedFrom": {
|
|
153857
|
-
"name": "SbbElement",
|
|
153858
|
-
"module": "core/base-elements/element.js"
|
|
153859
|
-
},
|
|
153860
|
-
"default": "[SbbScreenReaderOnlyElement]"
|
|
153861
|
-
},
|
|
153862
|
-
{
|
|
153863
|
-
"kind": "field",
|
|
153864
|
-
"name": "imageAlignment",
|
|
153865
|
-
"type": {
|
|
153866
|
-
"text": "'after' | 'before'"
|
|
153867
|
-
},
|
|
153868
|
-
"privacy": "public",
|
|
153869
|
-
"default": "'after'",
|
|
153870
|
-
"description": "Whether the fully visible part of the image is aligned 'before' or 'after' the content.\nOnly relevant starting from large breakpoint.",
|
|
153871
|
-
"attribute": "image-alignment",
|
|
153872
|
-
"reflects": true,
|
|
153873
|
-
"inheritedFrom": {
|
|
153874
|
-
"name": "SbbTeaserProductCommonElementMixin",
|
|
153875
|
-
"module": "teaser-product/common/teaser-product-common.js"
|
|
153876
|
-
}
|
|
153877
|
-
},
|
|
153878
|
-
{
|
|
153879
|
-
"kind": "method",
|
|
153880
|
-
"name": "renderTemplate",
|
|
153881
|
-
"privacy": "protected",
|
|
153882
|
-
"return": {
|
|
153883
|
-
"type": {
|
|
153884
|
-
"text": "TemplateResult"
|
|
153885
|
-
}
|
|
153886
|
-
},
|
|
153887
|
-
"description": "Override this method to render the component template.",
|
|
153888
|
-
"inheritedFrom": {
|
|
153889
|
-
"name": "SbbActionBaseElement",
|
|
153890
|
-
"module": "core/base-elements/action-base-element.js"
|
|
153917
|
+
"name": "SbbTeaserProductCommonElementMixin",
|
|
153918
|
+
"module": "teaser-product/common/teaser-product-common.js"
|
|
153891
153919
|
}
|
|
153892
153920
|
},
|
|
153893
153921
|
{
|
|
153894
|
-
"kind": "field",
|
|
153895
153922
|
"name": "negative",
|
|
153896
153923
|
"type": {
|
|
153897
153924
|
"text": "boolean"
|
|
153898
153925
|
},
|
|
153899
|
-
"privacy": "public",
|
|
153900
153926
|
"default": "false",
|
|
153901
153927
|
"description": "Negative coloring variant flag.",
|
|
153902
|
-
"
|
|
153903
|
-
"reflects": true,
|
|
153928
|
+
"fieldName": "negative",
|
|
153904
153929
|
"inheritedFrom": {
|
|
153905
153930
|
"name": "SbbNegativeMixin",
|
|
153906
153931
|
"module": "core/mixins/negative-mixin.js"
|
|
153907
153932
|
}
|
|
153908
153933
|
},
|
|
153909
153934
|
{
|
|
153910
|
-
"kind": "field",
|
|
153911
153935
|
"name": "href",
|
|
153912
153936
|
"type": {
|
|
153913
153937
|
"text": "string"
|
|
153914
153938
|
},
|
|
153915
|
-
"privacy": "public",
|
|
153916
153939
|
"default": "''",
|
|
153917
153940
|
"description": "The href value you want to link to.",
|
|
153918
|
-
"
|
|
153919
|
-
"reflects": true,
|
|
153941
|
+
"fieldName": "href",
|
|
153920
153942
|
"inheritedFrom": {
|
|
153921
153943
|
"name": "SbbLinkBaseElement",
|
|
153922
153944
|
"module": "core/base-elements/link-base-element.js"
|
|
153923
153945
|
}
|
|
153924
153946
|
},
|
|
153925
153947
|
{
|
|
153926
|
-
"kind": "field",
|
|
153927
153948
|
"name": "target",
|
|
153928
153949
|
"type": {
|
|
153929
153950
|
"text": "LinkTargetType | string"
|
|
153930
153951
|
},
|
|
153931
|
-
"privacy": "public",
|
|
153932
153952
|
"default": "''",
|
|
153933
153953
|
"description": "Where to display the linked URL.",
|
|
153934
|
-
"
|
|
153935
|
-
"reflects": true,
|
|
153954
|
+
"fieldName": "target",
|
|
153936
153955
|
"inheritedFrom": {
|
|
153937
153956
|
"name": "SbbLinkBaseElement",
|
|
153938
153957
|
"module": "core/base-elements/link-base-element.js"
|
|
153939
153958
|
}
|
|
153940
153959
|
},
|
|
153941
153960
|
{
|
|
153942
|
-
"kind": "field",
|
|
153943
153961
|
"name": "rel",
|
|
153944
153962
|
"type": {
|
|
153945
153963
|
"text": "string"
|
|
153946
153964
|
},
|
|
153947
|
-
"privacy": "public",
|
|
153948
153965
|
"default": "''",
|
|
153949
153966
|
"description": "The relationship of the linked URL as space-separated link types.",
|
|
153950
|
-
"
|
|
153951
|
-
"reflects": true,
|
|
153967
|
+
"fieldName": "rel",
|
|
153952
153968
|
"inheritedFrom": {
|
|
153953
153969
|
"name": "SbbLinkBaseElement",
|
|
153954
153970
|
"module": "core/base-elements/link-base-element.js"
|
|
153955
153971
|
}
|
|
153956
153972
|
},
|
|
153957
153973
|
{
|
|
153958
|
-
"kind": "field",
|
|
153959
153974
|
"name": "download",
|
|
153960
153975
|
"type": {
|
|
153961
153976
|
"text": "boolean"
|
|
153962
153977
|
},
|
|
153963
|
-
"privacy": "public",
|
|
153964
153978
|
"default": "false",
|
|
153965
153979
|
"description": "Whether the browser will show the download dialog on click.",
|
|
153966
|
-
"
|
|
153967
|
-
"reflects": true,
|
|
153980
|
+
"fieldName": "download",
|
|
153968
153981
|
"inheritedFrom": {
|
|
153969
153982
|
"name": "SbbLinkBaseElement",
|
|
153970
153983
|
"module": "core/base-elements/link-base-element.js"
|
|
153971
153984
|
}
|
|
153972
153985
|
},
|
|
153973
153986
|
{
|
|
153974
|
-
"
|
|
153975
|
-
"name": "accessibilityLabel",
|
|
153987
|
+
"name": "accessibility-label",
|
|
153976
153988
|
"type": {
|
|
153977
153989
|
"text": "string"
|
|
153978
153990
|
},
|
|
153979
|
-
"privacy": "public",
|
|
153980
153991
|
"default": "''",
|
|
153981
153992
|
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
153982
|
-
"
|
|
153993
|
+
"fieldName": "accessibilityLabel",
|
|
153983
153994
|
"inheritedFrom": {
|
|
153984
153995
|
"name": "SbbLinkBaseElement",
|
|
153985
153996
|
"module": "core/base-elements/link-base-element.js"
|
|
153986
153997
|
}
|
|
153987
153998
|
},
|
|
153988
153999
|
{
|
|
153989
|
-
"
|
|
153990
|
-
"name": "accessibilityCurrent",
|
|
154000
|
+
"name": "accessibility-current",
|
|
153991
154001
|
"type": {
|
|
153992
154002
|
"text": "string"
|
|
153993
154003
|
},
|
|
153994
|
-
"privacy": "public",
|
|
153995
154004
|
"default": "''",
|
|
153996
154005
|
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
153997
|
-
"
|
|
154006
|
+
"fieldName": "accessibilityCurrent",
|
|
153998
154007
|
"inheritedFrom": {
|
|
153999
154008
|
"name": "SbbLinkBaseElement",
|
|
154000
154009
|
"module": "core/base-elements/link-base-element.js"
|
|
154001
154010
|
}
|
|
154011
|
+
}
|
|
154012
|
+
]
|
|
154013
|
+
}
|
|
154014
|
+
],
|
|
154015
|
+
"exports": [
|
|
154016
|
+
{
|
|
154017
|
+
"kind": "js",
|
|
154018
|
+
"name": "SbbTeaserProductElement",
|
|
154019
|
+
"declaration": {
|
|
154020
|
+
"name": "SbbTeaserProductElement",
|
|
154021
|
+
"module": "teaser-product/teaser-product/teaser-product.component.js"
|
|
154022
|
+
}
|
|
154023
|
+
}
|
|
154024
|
+
]
|
|
154025
|
+
},
|
|
154026
|
+
{
|
|
154027
|
+
"kind": "javascript-module",
|
|
154028
|
+
"path": "teaser-product/teaser-product-static/teaser-product-static.component.js",
|
|
154029
|
+
"declarations": [
|
|
154030
|
+
{
|
|
154031
|
+
"kind": "class",
|
|
154032
|
+
"description": "Displays a text and a footnote, combined with an image, to tease a product.",
|
|
154033
|
+
"name": "SbbTeaserProductStaticElement",
|
|
154034
|
+
"cssProperties": [
|
|
154035
|
+
{
|
|
154036
|
+
"description": "At which percentage the background should start getting transparent.",
|
|
154037
|
+
"name": "--sbb-teaser-product-background-gradient-start",
|
|
154038
|
+
"default": "25%"
|
|
154002
154039
|
},
|
|
154003
154040
|
{
|
|
154004
|
-
"
|
|
154005
|
-
"name": "
|
|
154006
|
-
"
|
|
154007
|
-
|
|
154008
|
-
|
|
154009
|
-
|
|
154010
|
-
|
|
154011
|
-
|
|
154041
|
+
"description": "At which percentage the background should be fully transparent.",
|
|
154042
|
+
"name": "--sbb-teaser-product-background-gradient-end",
|
|
154043
|
+
"default": "75%"
|
|
154044
|
+
}
|
|
154045
|
+
],
|
|
154046
|
+
"slots": [
|
|
154047
|
+
{
|
|
154048
|
+
"description": "Use this slot to provide the main content.",
|
|
154049
|
+
"name": ""
|
|
154050
|
+
},
|
|
154051
|
+
{
|
|
154052
|
+
"description": "Use this slot to provide an image or a `sbb-image` as a background.",
|
|
154053
|
+
"name": "image"
|
|
154012
154054
|
},
|
|
154055
|
+
{
|
|
154056
|
+
"description": "Use this slot to provide a footnote.",
|
|
154057
|
+
"name": "footnote"
|
|
154058
|
+
}
|
|
154059
|
+
],
|
|
154060
|
+
"members": [
|
|
154013
154061
|
{
|
|
154014
154062
|
"kind": "field",
|
|
154015
|
-
"name": "
|
|
154063
|
+
"name": "elementName",
|
|
154016
154064
|
"type": {
|
|
154017
|
-
"text": "string
|
|
154065
|
+
"text": "string"
|
|
154018
154066
|
},
|
|
154019
|
-
"privacy": "
|
|
154067
|
+
"privacy": "public",
|
|
154068
|
+
"static": true,
|
|
154020
154069
|
"readonly": true,
|
|
154021
|
-
"default": "null",
|
|
154022
154070
|
"inheritedFrom": {
|
|
154023
|
-
"name": "
|
|
154024
|
-
"module": "core/base-elements/
|
|
154025
|
-
}
|
|
154071
|
+
"name": "SbbElement",
|
|
154072
|
+
"module": "core/base-elements/element.js"
|
|
154073
|
+
},
|
|
154074
|
+
"default": "'sbb-teaser-product-static'"
|
|
154026
154075
|
},
|
|
154027
154076
|
{
|
|
154028
154077
|
"kind": "field",
|
|
154029
|
-
"name": "
|
|
154030
|
-
"
|
|
154078
|
+
"name": "imageAlignment",
|
|
154079
|
+
"type": {
|
|
154080
|
+
"text": "'after' | 'before'"
|
|
154081
|
+
},
|
|
154082
|
+
"privacy": "public",
|
|
154083
|
+
"default": "'after'",
|
|
154084
|
+
"description": "Whether the fully visible part of the image is aligned 'before' or 'after' the content.\nOnly relevant starting from large breakpoint.",
|
|
154085
|
+
"attribute": "image-alignment",
|
|
154086
|
+
"reflects": true,
|
|
154031
154087
|
"inheritedFrom": {
|
|
154032
|
-
"name": "
|
|
154033
|
-
"module": "
|
|
154088
|
+
"name": "SbbTeaserProductCommonElementMixin",
|
|
154089
|
+
"module": "teaser-product/common/teaser-product-common.js"
|
|
154034
154090
|
}
|
|
154035
154091
|
},
|
|
154036
154092
|
{
|
|
154037
154093
|
"kind": "method",
|
|
154038
|
-
"name": "
|
|
154094
|
+
"name": "renderTemplate",
|
|
154039
154095
|
"privacy": "protected",
|
|
154040
154096
|
"return": {
|
|
154041
154097
|
"type": {
|
|
154042
154098
|
"text": "TemplateResult"
|
|
154043
154099
|
}
|
|
154044
154100
|
},
|
|
154045
|
-
"
|
|
154046
|
-
{
|
|
154047
|
-
"name": "renderContent",
|
|
154048
|
-
"type": {
|
|
154049
|
-
"text": "TemplateResult"
|
|
154050
|
-
}
|
|
154051
|
-
}
|
|
154052
|
-
],
|
|
154101
|
+
"description": "Override this method to render the component template.",
|
|
154053
154102
|
"inheritedFrom": {
|
|
154054
|
-
"name": "
|
|
154055
|
-
"module": "core/base-elements/
|
|
154103
|
+
"name": "SbbActionBaseElement",
|
|
154104
|
+
"module": "core/base-elements/action-base-element.js"
|
|
154105
|
+
}
|
|
154106
|
+
},
|
|
154107
|
+
{
|
|
154108
|
+
"kind": "field",
|
|
154109
|
+
"name": "negative",
|
|
154110
|
+
"type": {
|
|
154111
|
+
"text": "boolean"
|
|
154112
|
+
},
|
|
154113
|
+
"privacy": "public",
|
|
154114
|
+
"default": "false",
|
|
154115
|
+
"description": "Negative coloring variant flag.",
|
|
154116
|
+
"attribute": "negative",
|
|
154117
|
+
"reflects": true,
|
|
154118
|
+
"inheritedFrom": {
|
|
154119
|
+
"name": "SbbNegativeMixin",
|
|
154120
|
+
"module": "core/mixins/negative-mixin.js"
|
|
154056
154121
|
}
|
|
154057
154122
|
},
|
|
154058
154123
|
{
|
|
@@ -154109,6 +154174,19 @@
|
|
|
154109
154174
|
"module": "core/base-elements/element.js"
|
|
154110
154175
|
}
|
|
154111
154176
|
},
|
|
154177
|
+
{
|
|
154178
|
+
"kind": "field",
|
|
154179
|
+
"name": "elementDependencies",
|
|
154180
|
+
"type": {
|
|
154181
|
+
"text": "SbbElementType[] | undefined"
|
|
154182
|
+
},
|
|
154183
|
+
"privacy": "public",
|
|
154184
|
+
"static": true,
|
|
154185
|
+
"inheritedFrom": {
|
|
154186
|
+
"name": "SbbElement",
|
|
154187
|
+
"module": "core/base-elements/element.js"
|
|
154188
|
+
}
|
|
154189
|
+
},
|
|
154112
154190
|
{
|
|
154113
154191
|
"kind": "field",
|
|
154114
154192
|
"name": "role",
|
|
@@ -154349,10 +154427,10 @@
|
|
|
154349
154427
|
}
|
|
154350
154428
|
],
|
|
154351
154429
|
"superclass": {
|
|
154352
|
-
"name": "
|
|
154430
|
+
"name": "SbbActionBaseElement",
|
|
154353
154431
|
"module": "core.js"
|
|
154354
154432
|
},
|
|
154355
|
-
"tagName": "sbb-teaser-product",
|
|
154433
|
+
"tagName": "sbb-teaser-product-static",
|
|
154356
154434
|
"customElement": true,
|
|
154357
154435
|
"attributes": [
|
|
154358
154436
|
{
|
|
@@ -154380,84 +154458,6 @@
|
|
|
154380
154458
|
"name": "SbbNegativeMixin",
|
|
154381
154459
|
"module": "core/mixins/negative-mixin.js"
|
|
154382
154460
|
}
|
|
154383
|
-
},
|
|
154384
|
-
{
|
|
154385
|
-
"name": "href",
|
|
154386
|
-
"type": {
|
|
154387
|
-
"text": "string"
|
|
154388
|
-
},
|
|
154389
|
-
"default": "''",
|
|
154390
|
-
"description": "The href value you want to link to.",
|
|
154391
|
-
"fieldName": "href",
|
|
154392
|
-
"inheritedFrom": {
|
|
154393
|
-
"name": "SbbLinkBaseElement",
|
|
154394
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154395
|
-
}
|
|
154396
|
-
},
|
|
154397
|
-
{
|
|
154398
|
-
"name": "target",
|
|
154399
|
-
"type": {
|
|
154400
|
-
"text": "LinkTargetType | string"
|
|
154401
|
-
},
|
|
154402
|
-
"default": "''",
|
|
154403
|
-
"description": "Where to display the linked URL.",
|
|
154404
|
-
"fieldName": "target",
|
|
154405
|
-
"inheritedFrom": {
|
|
154406
|
-
"name": "SbbLinkBaseElement",
|
|
154407
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154408
|
-
}
|
|
154409
|
-
},
|
|
154410
|
-
{
|
|
154411
|
-
"name": "rel",
|
|
154412
|
-
"type": {
|
|
154413
|
-
"text": "string"
|
|
154414
|
-
},
|
|
154415
|
-
"default": "''",
|
|
154416
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
154417
|
-
"fieldName": "rel",
|
|
154418
|
-
"inheritedFrom": {
|
|
154419
|
-
"name": "SbbLinkBaseElement",
|
|
154420
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154421
|
-
}
|
|
154422
|
-
},
|
|
154423
|
-
{
|
|
154424
|
-
"name": "download",
|
|
154425
|
-
"type": {
|
|
154426
|
-
"text": "boolean"
|
|
154427
|
-
},
|
|
154428
|
-
"default": "false",
|
|
154429
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
154430
|
-
"fieldName": "download",
|
|
154431
|
-
"inheritedFrom": {
|
|
154432
|
-
"name": "SbbLinkBaseElement",
|
|
154433
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154434
|
-
}
|
|
154435
|
-
},
|
|
154436
|
-
{
|
|
154437
|
-
"name": "accessibility-label",
|
|
154438
|
-
"type": {
|
|
154439
|
-
"text": "string"
|
|
154440
|
-
},
|
|
154441
|
-
"default": "''",
|
|
154442
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
154443
|
-
"fieldName": "accessibilityLabel",
|
|
154444
|
-
"inheritedFrom": {
|
|
154445
|
-
"name": "SbbLinkBaseElement",
|
|
154446
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154447
|
-
}
|
|
154448
|
-
},
|
|
154449
|
-
{
|
|
154450
|
-
"name": "accessibility-current",
|
|
154451
|
-
"type": {
|
|
154452
|
-
"text": "string"
|
|
154453
|
-
},
|
|
154454
|
-
"default": "''",
|
|
154455
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
154456
|
-
"fieldName": "accessibilityCurrent",
|
|
154457
|
-
"inheritedFrom": {
|
|
154458
|
-
"name": "SbbLinkBaseElement",
|
|
154459
|
-
"module": "core/base-elements/link-base-element.js"
|
|
154460
|
-
}
|
|
154461
154461
|
}
|
|
154462
154462
|
]
|
|
154463
154463
|
}
|
|
@@ -154465,10 +154465,10 @@
|
|
|
154465
154465
|
"exports": [
|
|
154466
154466
|
{
|
|
154467
154467
|
"kind": "js",
|
|
154468
|
-
"name": "
|
|
154468
|
+
"name": "SbbTeaserProductStaticElement",
|
|
154469
154469
|
"declaration": {
|
|
154470
|
-
"name": "
|
|
154471
|
-
"module": "teaser-product/teaser-product/teaser-product.component.js"
|
|
154470
|
+
"name": "SbbTeaserProductStaticElement",
|
|
154471
|
+
"module": "teaser-product/teaser-product-static/teaser-product-static.component.js"
|
|
154472
154472
|
}
|
|
154473
154473
|
}
|
|
154474
154474
|
]
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-dev",
|
|
3
|
-
"version": "4.0.0-dev.
|
|
3
|
+
"version": "4.0.0-dev.1776014111",
|
|
4
4
|
"description": "Lyne Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
7
7
|
"web components",
|
|
8
8
|
"lit",
|
|
9
|
-
"https://github.com/sbb-design-systems/lyne-components/commit/
|
|
9
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/2f4dc39f2853a217d4d05508479971f8b0dcbcd4"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|