@sbb-esta/lyne-elements 4.6.0 → 4.7.0
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/autocomplete/autocomplete-base-element.js +34 -34
- package/chip/chip-group/chip-group.component.js +69 -49
- package/core/styles/core.scss +45 -73
- package/core/styles/mixins/overlay.scss +25 -15
- package/core/styles/mixins/pearl-chain-bullet.scss +12 -6
- package/core.css +113 -49
- package/custom-elements.json +351 -225
- package/datepicker/common/datepicker-button.js +18 -14
- package/datepicker/datepicker-next-day/datepicker-next-day.component.js +18 -26
- package/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +20 -28
- package/development/autocomplete/autocomplete-base-element.d.ts +2 -0
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete/autocomplete-base-element.js +37 -34
- package/development/calendar/calendar/calendar.component.d.ts +1 -1
- package/development/calendar/calendar/calendar.component.d.ts.map +1 -1
- package/development/calendar/calendar/calendar.component.js +1 -1
- package/development/calendar/calendar-day/calendar-day.component.d.ts +1 -1
- package/development/calendar/calendar-day/calendar-day.component.d.ts.map +1 -1
- package/development/calendar/calendar-day/calendar-day.component.js +1 -1
- package/development/chip/chip-group/chip-group.component.d.ts +6 -0
- package/development/chip/chip-group/chip-group.component.d.ts.map +1 -1
- package/development/chip/chip-group/chip-group.component.js +33 -4
- package/development/container/container/container.component.d.ts +2 -0
- package/development/container/container/container.component.d.ts.map +1 -1
- package/development/container/container/container.component.js +1 -1
- package/development/datepicker/common/datepicker-button.d.ts +3 -1
- package/development/datepicker/common/datepicker-button.d.ts.map +1 -1
- package/development/datepicker/common/datepicker-button.js +8 -4
- package/development/datepicker/datepicker-next-day/datepicker-next-day.component.d.ts +1 -1
- package/development/datepicker/datepicker-next-day/datepicker-next-day.component.d.ts.map +1 -1
- package/development/datepicker/datepicker-next-day/datepicker-next-day.component.js +3 -12
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.d.ts +1 -1
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.d.ts.map +1 -1
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +3 -12
- package/development/dialog/dialog/dialog.component.js +24 -37
- package/development/dialog/dialog-actions/dialog-actions.component.js +2 -2
- package/development/dialog/dialog-close-button/dialog-close-button.component.js +2 -2
- package/development/footer/footer.component.js +4 -19
- package/development/form-field/form-field/form-field.component.js +2 -1
- package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts +1 -1
- package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts.map +1 -1
- package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +2 -2
- package/development/option/optgroup/optgroup-base-element.js +4 -13
- package/development/option/option/option-base-element.d.ts.map +1 -1
- package/development/option/option/option-base-element.js +12 -14
- package/development/option/option/option.component.js +4 -28
- package/development/option/option-hint/option-hint.component.d.ts.map +1 -1
- package/development/option/option-hint/option-hint.component.js +11 -26
- package/development/select/select.component.js +11 -16
- package/development/status/status.component.d.ts.map +1 -1
- package/development/status/status.component.js +20 -26
- package/dialog/dialog/dialog.component.js +19 -19
- package/dialog/dialog-actions/dialog-actions.component.js +6 -6
- package/dialog/dialog-close-button/dialog-close-button.component.js +9 -9
- package/footer/footer.component.js +22 -22
- package/form-field/form-field/form-field.component.js +1 -1
- package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +1 -1
- package/off-brand-theme.css +113 -49
- package/option/optgroup/optgroup-base-element.js +22 -22
- package/option/option/option-base-element.js +11 -13
- package/option/option/option.component.js +15 -15
- package/option/option-hint/option-hint.component.js +16 -18
- package/package.json +1 -1
- package/safety-theme.css +113 -49
- package/select/select.component.js +18 -18
- package/standard-theme.css +113 -49
- package/status/status.component.js +27 -29
package/custom-elements.json
CHANGED
|
@@ -2616,6 +2616,16 @@
|
|
|
2616
2616
|
"default": "null",
|
|
2617
2617
|
"description": "Tracks input from keyboard."
|
|
2618
2618
|
},
|
|
2619
|
+
{
|
|
2620
|
+
"kind": "field",
|
|
2621
|
+
"name": "_isCustomChangeEvent",
|
|
2622
|
+
"type": {
|
|
2623
|
+
"text": "boolean"
|
|
2624
|
+
},
|
|
2625
|
+
"privacy": "private",
|
|
2626
|
+
"default": "false",
|
|
2627
|
+
"description": "If true, the 'change' event source is an option selection or a 'requireSelection' field cleanup"
|
|
2628
|
+
},
|
|
2619
2629
|
{
|
|
2620
2630
|
"kind": "field",
|
|
2621
2631
|
"name": "options",
|
|
@@ -4002,6 +4012,20 @@
|
|
|
4002
4012
|
"module": "autocomplete/autocomplete-base-element.js"
|
|
4003
4013
|
}
|
|
4004
4014
|
},
|
|
4015
|
+
{
|
|
4016
|
+
"kind": "field",
|
|
4017
|
+
"name": "_isCustomChangeEvent",
|
|
4018
|
+
"type": {
|
|
4019
|
+
"text": "boolean"
|
|
4020
|
+
},
|
|
4021
|
+
"privacy": "private",
|
|
4022
|
+
"default": "false",
|
|
4023
|
+
"description": "If true, the 'change' event source is an option selection or a 'requireSelection' field cleanup",
|
|
4024
|
+
"inheritedFrom": {
|
|
4025
|
+
"name": "SbbAutocompleteBaseElement",
|
|
4026
|
+
"module": "autocomplete/autocomplete-base-element.js"
|
|
4027
|
+
}
|
|
4028
|
+
},
|
|
4005
4029
|
{
|
|
4006
4030
|
"kind": "method",
|
|
4007
4031
|
"name": "open",
|
|
@@ -38019,7 +38043,7 @@
|
|
|
38019
38043
|
"name": "LitElement",
|
|
38020
38044
|
"package": "lit"
|
|
38021
38045
|
},
|
|
38022
|
-
"classGenerics": "T
|
|
38046
|
+
"classGenerics": "T = Date",
|
|
38023
38047
|
"tagName": "sbb-calendar",
|
|
38024
38048
|
"customElement": true
|
|
38025
38049
|
}
|
|
@@ -38112,7 +38136,7 @@
|
|
|
38112
38136
|
"privacy": "private",
|
|
38113
38137
|
"return": {
|
|
38114
38138
|
"type": {
|
|
38115
|
-
"text": "SbbCalendarElement | null"
|
|
38139
|
+
"text": "SbbCalendarElement<T> | null"
|
|
38116
38140
|
}
|
|
38117
38141
|
},
|
|
38118
38142
|
"description": "The component is used as the default day cell within the `sbb-calendar`,\nor, if extra content is needed, it can be slotted."
|
|
@@ -38130,7 +38154,7 @@
|
|
|
38130
38154
|
{
|
|
38131
38155
|
"name": "component",
|
|
38132
38156
|
"type": {
|
|
38133
|
-
"text": "SbbCalendarElement"
|
|
38157
|
+
"text": "SbbCalendarElement<T>"
|
|
38134
38158
|
}
|
|
38135
38159
|
}
|
|
38136
38160
|
]
|
|
@@ -38148,7 +38172,7 @@
|
|
|
38148
38172
|
{
|
|
38149
38173
|
"name": "component",
|
|
38150
38174
|
"type": {
|
|
38151
|
-
"text": "SbbCalendarElement"
|
|
38175
|
+
"text": "SbbCalendarElement<T>"
|
|
38152
38176
|
}
|
|
38153
38177
|
}
|
|
38154
38178
|
]
|
|
@@ -38166,7 +38190,7 @@
|
|
|
38166
38190
|
{
|
|
38167
38191
|
"name": "dateFilter",
|
|
38168
38192
|
"type": {
|
|
38169
|
-
"text": "((date:
|
|
38193
|
+
"text": "((date: T | null) => boolean) | null"
|
|
38170
38194
|
}
|
|
38171
38195
|
}
|
|
38172
38196
|
]
|
|
@@ -38184,13 +38208,13 @@
|
|
|
38184
38208
|
{
|
|
38185
38209
|
"name": "min",
|
|
38186
38210
|
"type": {
|
|
38187
|
-
"text": "
|
|
38211
|
+
"text": "T | null"
|
|
38188
38212
|
}
|
|
38189
38213
|
},
|
|
38190
38214
|
{
|
|
38191
38215
|
"name": "max",
|
|
38192
38216
|
"type": {
|
|
38193
|
-
"text": "
|
|
38217
|
+
"text": "T | null"
|
|
38194
38218
|
}
|
|
38195
38219
|
}
|
|
38196
38220
|
]
|
|
@@ -38748,7 +38772,7 @@
|
|
|
38748
38772
|
"name": "SbbButtonLikeBaseElement",
|
|
38749
38773
|
"module": "core/base-elements.js"
|
|
38750
38774
|
},
|
|
38751
|
-
"classGenerics": "T
|
|
38775
|
+
"classGenerics": "T = Date",
|
|
38752
38776
|
"tagName": "sbb-calendar-day",
|
|
38753
38777
|
"customElement": true
|
|
38754
38778
|
}
|
|
@@ -44589,6 +44613,17 @@
|
|
|
44589
44613
|
"description": "The array of keys that will trigger a `chipinputtokenend` event. Default `['Enter']`",
|
|
44590
44614
|
"attribute": "separator-keys"
|
|
44591
44615
|
},
|
|
44616
|
+
{
|
|
44617
|
+
"kind": "field",
|
|
44618
|
+
"name": "addOnBlur",
|
|
44619
|
+
"type": {
|
|
44620
|
+
"text": "boolean"
|
|
44621
|
+
},
|
|
44622
|
+
"privacy": "public",
|
|
44623
|
+
"default": "false",
|
|
44624
|
+
"description": "Whether to automatically add a chip when the input loses focus if there's a value.",
|
|
44625
|
+
"attribute": "add-on-blur"
|
|
44626
|
+
},
|
|
44592
44627
|
{
|
|
44593
44628
|
"kind": "field",
|
|
44594
44629
|
"name": "_inputAttributeObserver",
|
|
@@ -44769,6 +44804,17 @@
|
|
|
44769
44804
|
],
|
|
44770
44805
|
"description": "Listen for keyboard events on the input"
|
|
44771
44806
|
},
|
|
44807
|
+
{
|
|
44808
|
+
"kind": "method",
|
|
44809
|
+
"name": "_onInputBlur",
|
|
44810
|
+
"privacy": "private",
|
|
44811
|
+
"return": {
|
|
44812
|
+
"type": {
|
|
44813
|
+
"text": "void"
|
|
44814
|
+
}
|
|
44815
|
+
},
|
|
44816
|
+
"description": "Handle blur event on the input"
|
|
44817
|
+
},
|
|
44772
44818
|
{
|
|
44773
44819
|
"kind": "method",
|
|
44774
44820
|
"name": "_createChipFromInput",
|
|
@@ -45388,6 +45434,15 @@
|
|
|
45388
45434
|
"description": "The array of keys that will trigger a `chipinputtokenend` event. Default `['Enter']`",
|
|
45389
45435
|
"fieldName": "separatorKeys"
|
|
45390
45436
|
},
|
|
45437
|
+
{
|
|
45438
|
+
"name": "add-on-blur",
|
|
45439
|
+
"type": {
|
|
45440
|
+
"text": "boolean"
|
|
45441
|
+
},
|
|
45442
|
+
"default": "false",
|
|
45443
|
+
"description": "Whether to automatically add a chip when the input loses focus if there's a value.",
|
|
45444
|
+
"fieldName": "addOnBlur"
|
|
45445
|
+
},
|
|
45391
45446
|
{
|
|
45392
45447
|
"name": "required",
|
|
45393
45448
|
"description": "Whether the component is required.",
|
|
@@ -45497,6 +45552,12 @@
|
|
|
45497
45552
|
"kind": "class",
|
|
45498
45553
|
"description": "It displays its content with the default page spacing.",
|
|
45499
45554
|
"name": "SbbContainerElement",
|
|
45555
|
+
"cssProperties": [
|
|
45556
|
+
{
|
|
45557
|
+
"description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
|
|
45558
|
+
"name": "--sbb-page-spacing-padding"
|
|
45559
|
+
}
|
|
45560
|
+
],
|
|
45500
45561
|
"slots": [
|
|
45501
45562
|
{
|
|
45502
45563
|
"description": "Use the unnamed slot to add anything to the container.",
|
|
@@ -62873,6 +62934,25 @@
|
|
|
62873
62934
|
"text": "T | null"
|
|
62874
62935
|
}
|
|
62875
62936
|
},
|
|
62937
|
+
"parameters": [
|
|
62938
|
+
{
|
|
62939
|
+
"name": "_date",
|
|
62940
|
+
"type": {
|
|
62941
|
+
"text": "T"
|
|
62942
|
+
}
|
|
62943
|
+
}
|
|
62944
|
+
],
|
|
62945
|
+
"deprecated": "Use `getFollowingDate(date: T)` instead."
|
|
62946
|
+
},
|
|
62947
|
+
{
|
|
62948
|
+
"kind": "method",
|
|
62949
|
+
"name": "getFollowingDate",
|
|
62950
|
+
"privacy": "protected",
|
|
62951
|
+
"return": {
|
|
62952
|
+
"type": {
|
|
62953
|
+
"text": "T | null"
|
|
62954
|
+
}
|
|
62955
|
+
},
|
|
62876
62956
|
"parameters": [
|
|
62877
62957
|
{
|
|
62878
62958
|
"name": "_date",
|
|
@@ -64677,7 +64757,7 @@
|
|
|
64677
64757
|
},
|
|
64678
64758
|
{
|
|
64679
64759
|
"kind": "method",
|
|
64680
|
-
"name": "
|
|
64760
|
+
"name": "getFollowingDate",
|
|
64681
64761
|
"privacy": "protected",
|
|
64682
64762
|
"return": {
|
|
64683
64763
|
"type": {
|
|
@@ -64744,6 +64824,29 @@
|
|
|
64744
64824
|
},
|
|
64745
64825
|
"default": "true"
|
|
64746
64826
|
},
|
|
64827
|
+
{
|
|
64828
|
+
"kind": "method",
|
|
64829
|
+
"name": "findAvailableDate",
|
|
64830
|
+
"privacy": "protected",
|
|
64831
|
+
"return": {
|
|
64832
|
+
"type": {
|
|
64833
|
+
"text": "T | null"
|
|
64834
|
+
}
|
|
64835
|
+
},
|
|
64836
|
+
"parameters": [
|
|
64837
|
+
{
|
|
64838
|
+
"name": "_date",
|
|
64839
|
+
"type": {
|
|
64840
|
+
"text": "T"
|
|
64841
|
+
}
|
|
64842
|
+
}
|
|
64843
|
+
],
|
|
64844
|
+
"deprecated": "Use `getFollowingDate(date: T)` instead.",
|
|
64845
|
+
"inheritedFrom": {
|
|
64846
|
+
"name": "SbbDatepickerButton",
|
|
64847
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
64848
|
+
}
|
|
64849
|
+
},
|
|
64747
64850
|
{
|
|
64748
64851
|
"kind": "method",
|
|
64749
64852
|
"name": "_handleClick",
|
|
@@ -65612,7 +65715,7 @@
|
|
|
65612
65715
|
},
|
|
65613
65716
|
{
|
|
65614
65717
|
"kind": "method",
|
|
65615
|
-
"name": "
|
|
65718
|
+
"name": "getFollowingDate",
|
|
65616
65719
|
"privacy": "protected",
|
|
65617
65720
|
"return": {
|
|
65618
65721
|
"type": {
|
|
@@ -65679,6 +65782,29 @@
|
|
|
65679
65782
|
},
|
|
65680
65783
|
"default": "true"
|
|
65681
65784
|
},
|
|
65785
|
+
{
|
|
65786
|
+
"kind": "method",
|
|
65787
|
+
"name": "findAvailableDate",
|
|
65788
|
+
"privacy": "protected",
|
|
65789
|
+
"return": {
|
|
65790
|
+
"type": {
|
|
65791
|
+
"text": "T | null"
|
|
65792
|
+
}
|
|
65793
|
+
},
|
|
65794
|
+
"parameters": [
|
|
65795
|
+
{
|
|
65796
|
+
"name": "_date",
|
|
65797
|
+
"type": {
|
|
65798
|
+
"text": "T"
|
|
65799
|
+
}
|
|
65800
|
+
}
|
|
65801
|
+
],
|
|
65802
|
+
"deprecated": "Use `getFollowingDate(date: T)` instead.",
|
|
65803
|
+
"inheritedFrom": {
|
|
65804
|
+
"name": "SbbDatepickerButton",
|
|
65805
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
65806
|
+
}
|
|
65807
|
+
},
|
|
65682
65808
|
{
|
|
65683
65809
|
"kind": "method",
|
|
65684
65810
|
"name": "_handleClick",
|
|
@@ -89711,7 +89837,7 @@
|
|
|
89711
89837
|
},
|
|
89712
89838
|
"privacy": "public",
|
|
89713
89839
|
"default": "''",
|
|
89714
|
-
"description": "Date as ISO string (YYYY-MM
|
|
89840
|
+
"description": "Date as ISO string (YYYY-MM)",
|
|
89715
89841
|
"attribute": "date"
|
|
89716
89842
|
},
|
|
89717
89843
|
{
|
|
@@ -89782,7 +89908,7 @@
|
|
|
89782
89908
|
"text": "string"
|
|
89783
89909
|
},
|
|
89784
89910
|
"default": "''",
|
|
89785
|
-
"description": "Date as ISO string (YYYY-MM
|
|
89911
|
+
"description": "Date as ISO string (YYYY-MM)",
|
|
89786
89912
|
"fieldName": "date"
|
|
89787
89913
|
}
|
|
89788
89914
|
],
|
|
@@ -108089,219 +108215,6 @@
|
|
|
108089
108215
|
}
|
|
108090
108216
|
]
|
|
108091
108217
|
},
|
|
108092
|
-
{
|
|
108093
|
-
"kind": "javascript-module",
|
|
108094
|
-
"path": "teaser-product/teaser-product-static/teaser-product-static.component.js",
|
|
108095
|
-
"declarations": [
|
|
108096
|
-
{
|
|
108097
|
-
"kind": "class",
|
|
108098
|
-
"description": "Displays a text and a footnote, combined with an image, to tease a product.",
|
|
108099
|
-
"name": "SbbTeaserProductStaticElement",
|
|
108100
|
-
"cssProperties": [
|
|
108101
|
-
{
|
|
108102
|
-
"description": "At which percentage the background should start getting transparent.",
|
|
108103
|
-
"name": "--sbb-teaser-product-background-gradient-start",
|
|
108104
|
-
"default": "25%"
|
|
108105
|
-
},
|
|
108106
|
-
{
|
|
108107
|
-
"description": "At which percentage the background should be fully transparent.",
|
|
108108
|
-
"name": "--sbb-teaser-product-background-gradient-end",
|
|
108109
|
-
"default": "75%"
|
|
108110
|
-
}
|
|
108111
|
-
],
|
|
108112
|
-
"slots": [
|
|
108113
|
-
{
|
|
108114
|
-
"description": "Use this slot to provide the main content.",
|
|
108115
|
-
"name": ""
|
|
108116
|
-
},
|
|
108117
|
-
{
|
|
108118
|
-
"description": "Use this slot to provide an image or a `sbb-image` as a background.",
|
|
108119
|
-
"name": "image"
|
|
108120
|
-
},
|
|
108121
|
-
{
|
|
108122
|
-
"description": "Use this slot to provide a footnote.",
|
|
108123
|
-
"name": "footnote"
|
|
108124
|
-
}
|
|
108125
|
-
],
|
|
108126
|
-
"members": [
|
|
108127
|
-
{
|
|
108128
|
-
"kind": "field",
|
|
108129
|
-
"name": "imageAlignment",
|
|
108130
|
-
"type": {
|
|
108131
|
-
"text": "'after' | 'before'"
|
|
108132
|
-
},
|
|
108133
|
-
"privacy": "public",
|
|
108134
|
-
"default": "'after'",
|
|
108135
|
-
"description": "Whether the fully visible part of the image is aligned 'before' or 'after' the content.\nOnly relevant starting from large breakpoint.",
|
|
108136
|
-
"attribute": "image-alignment",
|
|
108137
|
-
"reflects": true,
|
|
108138
|
-
"inheritedFrom": {
|
|
108139
|
-
"name": "SbbTeaserProductCommonElementMixin",
|
|
108140
|
-
"module": "teaser-product/common/teaser-product-common.js"
|
|
108141
|
-
}
|
|
108142
|
-
},
|
|
108143
|
-
{
|
|
108144
|
-
"kind": "method",
|
|
108145
|
-
"name": "renderTemplate",
|
|
108146
|
-
"privacy": "protected",
|
|
108147
|
-
"return": {
|
|
108148
|
-
"type": {
|
|
108149
|
-
"text": "TemplateResult"
|
|
108150
|
-
}
|
|
108151
|
-
},
|
|
108152
|
-
"description": "Override this method to render the component template.",
|
|
108153
|
-
"inheritedFrom": {
|
|
108154
|
-
"name": "SbbActionBaseElement",
|
|
108155
|
-
"module": "core/base-elements/action-base-element.js"
|
|
108156
|
-
}
|
|
108157
|
-
},
|
|
108158
|
-
{
|
|
108159
|
-
"kind": "field",
|
|
108160
|
-
"name": "negative",
|
|
108161
|
-
"type": {
|
|
108162
|
-
"text": "boolean"
|
|
108163
|
-
},
|
|
108164
|
-
"privacy": "public",
|
|
108165
|
-
"default": "false",
|
|
108166
|
-
"description": "Negative coloring variant flag.",
|
|
108167
|
-
"attribute": "negative",
|
|
108168
|
-
"reflects": true,
|
|
108169
|
-
"inheritedFrom": {
|
|
108170
|
-
"name": "SbbNegativeMixin",
|
|
108171
|
-
"module": "core/mixins/negative-mixin.js"
|
|
108172
|
-
}
|
|
108173
|
-
},
|
|
108174
|
-
{
|
|
108175
|
-
"kind": "method",
|
|
108176
|
-
"name": "toggleState",
|
|
108177
|
-
"privacy": "protected",
|
|
108178
|
-
"return": {
|
|
108179
|
-
"type": {
|
|
108180
|
-
"text": "void"
|
|
108181
|
-
}
|
|
108182
|
-
},
|
|
108183
|
-
"parameters": [
|
|
108184
|
-
{
|
|
108185
|
-
"name": "value",
|
|
108186
|
-
"type": {
|
|
108187
|
-
"text": "string"
|
|
108188
|
-
}
|
|
108189
|
-
},
|
|
108190
|
-
{
|
|
108191
|
-
"name": "force",
|
|
108192
|
-
"optional": true,
|
|
108193
|
-
"type": {
|
|
108194
|
-
"text": "boolean"
|
|
108195
|
-
}
|
|
108196
|
-
}
|
|
108197
|
-
],
|
|
108198
|
-
"inheritedFrom": {
|
|
108199
|
-
"name": "SbbActionBaseElement",
|
|
108200
|
-
"module": "core/base-elements/action-base-element.js"
|
|
108201
|
-
}
|
|
108202
|
-
},
|
|
108203
|
-
{
|
|
108204
|
-
"kind": "field",
|
|
108205
|
-
"name": "maybeDisabled",
|
|
108206
|
-
"type": {
|
|
108207
|
-
"text": "boolean | undefined"
|
|
108208
|
-
},
|
|
108209
|
-
"privacy": "protected",
|
|
108210
|
-
"readonly": true,
|
|
108211
|
-
"inheritedFrom": {
|
|
108212
|
-
"name": "SbbActionBaseElement",
|
|
108213
|
-
"module": "core/base-elements/action-base-element.js"
|
|
108214
|
-
}
|
|
108215
|
-
},
|
|
108216
|
-
{
|
|
108217
|
-
"kind": "field",
|
|
108218
|
-
"name": "maybeDisabledInteractive",
|
|
108219
|
-
"type": {
|
|
108220
|
-
"text": "boolean | undefined"
|
|
108221
|
-
},
|
|
108222
|
-
"privacy": "protected",
|
|
108223
|
-
"readonly": true,
|
|
108224
|
-
"inheritedFrom": {
|
|
108225
|
-
"name": "SbbActionBaseElement",
|
|
108226
|
-
"module": "core/base-elements/action-base-element.js"
|
|
108227
|
-
}
|
|
108228
|
-
},
|
|
108229
|
-
{
|
|
108230
|
-
"kind": "method",
|
|
108231
|
-
"name": "setupBaseEventHandlers",
|
|
108232
|
-
"privacy": "protected",
|
|
108233
|
-
"return": {
|
|
108234
|
-
"type": {
|
|
108235
|
-
"text": "void"
|
|
108236
|
-
}
|
|
108237
|
-
},
|
|
108238
|
-
"inheritedFrom": {
|
|
108239
|
-
"name": "SbbActionBaseElement",
|
|
108240
|
-
"module": "core/base-elements/action-base-element.js"
|
|
108241
|
-
}
|
|
108242
|
-
}
|
|
108243
|
-
],
|
|
108244
|
-
"mixins": [
|
|
108245
|
-
{
|
|
108246
|
-
"name": "SbbTeaserProductCommonElementMixin",
|
|
108247
|
-
"module": "teaser-product/common.js"
|
|
108248
|
-
}
|
|
108249
|
-
],
|
|
108250
|
-
"superclass": {
|
|
108251
|
-
"name": "SbbActionBaseElement",
|
|
108252
|
-
"module": "core/base-elements.js"
|
|
108253
|
-
},
|
|
108254
|
-
"tagName": "sbb-teaser-product-static",
|
|
108255
|
-
"customElement": true,
|
|
108256
|
-
"attributes": [
|
|
108257
|
-
{
|
|
108258
|
-
"name": "image-alignment",
|
|
108259
|
-
"type": {
|
|
108260
|
-
"text": "'after' | 'before'"
|
|
108261
|
-
},
|
|
108262
|
-
"default": "'after'",
|
|
108263
|
-
"description": "Whether the fully visible part of the image is aligned 'before' or 'after' the content.\nOnly relevant starting from large breakpoint.",
|
|
108264
|
-
"fieldName": "imageAlignment",
|
|
108265
|
-
"inheritedFrom": {
|
|
108266
|
-
"name": "SbbTeaserProductCommonElementMixin",
|
|
108267
|
-
"module": "teaser-product/common/teaser-product-common.js"
|
|
108268
|
-
}
|
|
108269
|
-
},
|
|
108270
|
-
{
|
|
108271
|
-
"name": "negative",
|
|
108272
|
-
"type": {
|
|
108273
|
-
"text": "boolean"
|
|
108274
|
-
},
|
|
108275
|
-
"default": "false",
|
|
108276
|
-
"description": "Negative coloring variant flag.",
|
|
108277
|
-
"fieldName": "negative",
|
|
108278
|
-
"inheritedFrom": {
|
|
108279
|
-
"name": "SbbNegativeMixin",
|
|
108280
|
-
"module": "core/mixins/negative-mixin.js"
|
|
108281
|
-
}
|
|
108282
|
-
}
|
|
108283
|
-
]
|
|
108284
|
-
}
|
|
108285
|
-
],
|
|
108286
|
-
"exports": [
|
|
108287
|
-
{
|
|
108288
|
-
"kind": "js",
|
|
108289
|
-
"name": "SbbTeaserProductStaticElement",
|
|
108290
|
-
"declaration": {
|
|
108291
|
-
"name": "SbbTeaserProductStaticElement",
|
|
108292
|
-
"module": "teaser-product/teaser-product-static/teaser-product-static.component.js"
|
|
108293
|
-
}
|
|
108294
|
-
},
|
|
108295
|
-
{
|
|
108296
|
-
"kind": "custom-element-definition",
|
|
108297
|
-
"name": "sbb-teaser-product-static",
|
|
108298
|
-
"declaration": {
|
|
108299
|
-
"name": "SbbTeaserProductStaticElement",
|
|
108300
|
-
"module": "teaser-product/teaser-product-static/teaser-product-static.component.js"
|
|
108301
|
-
}
|
|
108302
|
-
}
|
|
108303
|
-
]
|
|
108304
|
-
},
|
|
108305
108218
|
{
|
|
108306
108219
|
"kind": "javascript-module",
|
|
108307
108220
|
"path": "teaser-product/teaser-product/teaser-product.component.js",
|
|
@@ -108742,6 +108655,219 @@
|
|
|
108742
108655
|
}
|
|
108743
108656
|
]
|
|
108744
108657
|
},
|
|
108658
|
+
{
|
|
108659
|
+
"kind": "javascript-module",
|
|
108660
|
+
"path": "teaser-product/teaser-product-static/teaser-product-static.component.js",
|
|
108661
|
+
"declarations": [
|
|
108662
|
+
{
|
|
108663
|
+
"kind": "class",
|
|
108664
|
+
"description": "Displays a text and a footnote, combined with an image, to tease a product.",
|
|
108665
|
+
"name": "SbbTeaserProductStaticElement",
|
|
108666
|
+
"cssProperties": [
|
|
108667
|
+
{
|
|
108668
|
+
"description": "At which percentage the background should start getting transparent.",
|
|
108669
|
+
"name": "--sbb-teaser-product-background-gradient-start",
|
|
108670
|
+
"default": "25%"
|
|
108671
|
+
},
|
|
108672
|
+
{
|
|
108673
|
+
"description": "At which percentage the background should be fully transparent.",
|
|
108674
|
+
"name": "--sbb-teaser-product-background-gradient-end",
|
|
108675
|
+
"default": "75%"
|
|
108676
|
+
}
|
|
108677
|
+
],
|
|
108678
|
+
"slots": [
|
|
108679
|
+
{
|
|
108680
|
+
"description": "Use this slot to provide the main content.",
|
|
108681
|
+
"name": ""
|
|
108682
|
+
},
|
|
108683
|
+
{
|
|
108684
|
+
"description": "Use this slot to provide an image or a `sbb-image` as a background.",
|
|
108685
|
+
"name": "image"
|
|
108686
|
+
},
|
|
108687
|
+
{
|
|
108688
|
+
"description": "Use this slot to provide a footnote.",
|
|
108689
|
+
"name": "footnote"
|
|
108690
|
+
}
|
|
108691
|
+
],
|
|
108692
|
+
"members": [
|
|
108693
|
+
{
|
|
108694
|
+
"kind": "field",
|
|
108695
|
+
"name": "imageAlignment",
|
|
108696
|
+
"type": {
|
|
108697
|
+
"text": "'after' | 'before'"
|
|
108698
|
+
},
|
|
108699
|
+
"privacy": "public",
|
|
108700
|
+
"default": "'after'",
|
|
108701
|
+
"description": "Whether the fully visible part of the image is aligned 'before' or 'after' the content.\nOnly relevant starting from large breakpoint.",
|
|
108702
|
+
"attribute": "image-alignment",
|
|
108703
|
+
"reflects": true,
|
|
108704
|
+
"inheritedFrom": {
|
|
108705
|
+
"name": "SbbTeaserProductCommonElementMixin",
|
|
108706
|
+
"module": "teaser-product/common/teaser-product-common.js"
|
|
108707
|
+
}
|
|
108708
|
+
},
|
|
108709
|
+
{
|
|
108710
|
+
"kind": "method",
|
|
108711
|
+
"name": "renderTemplate",
|
|
108712
|
+
"privacy": "protected",
|
|
108713
|
+
"return": {
|
|
108714
|
+
"type": {
|
|
108715
|
+
"text": "TemplateResult"
|
|
108716
|
+
}
|
|
108717
|
+
},
|
|
108718
|
+
"description": "Override this method to render the component template.",
|
|
108719
|
+
"inheritedFrom": {
|
|
108720
|
+
"name": "SbbActionBaseElement",
|
|
108721
|
+
"module": "core/base-elements/action-base-element.js"
|
|
108722
|
+
}
|
|
108723
|
+
},
|
|
108724
|
+
{
|
|
108725
|
+
"kind": "field",
|
|
108726
|
+
"name": "negative",
|
|
108727
|
+
"type": {
|
|
108728
|
+
"text": "boolean"
|
|
108729
|
+
},
|
|
108730
|
+
"privacy": "public",
|
|
108731
|
+
"default": "false",
|
|
108732
|
+
"description": "Negative coloring variant flag.",
|
|
108733
|
+
"attribute": "negative",
|
|
108734
|
+
"reflects": true,
|
|
108735
|
+
"inheritedFrom": {
|
|
108736
|
+
"name": "SbbNegativeMixin",
|
|
108737
|
+
"module": "core/mixins/negative-mixin.js"
|
|
108738
|
+
}
|
|
108739
|
+
},
|
|
108740
|
+
{
|
|
108741
|
+
"kind": "method",
|
|
108742
|
+
"name": "toggleState",
|
|
108743
|
+
"privacy": "protected",
|
|
108744
|
+
"return": {
|
|
108745
|
+
"type": {
|
|
108746
|
+
"text": "void"
|
|
108747
|
+
}
|
|
108748
|
+
},
|
|
108749
|
+
"parameters": [
|
|
108750
|
+
{
|
|
108751
|
+
"name": "value",
|
|
108752
|
+
"type": {
|
|
108753
|
+
"text": "string"
|
|
108754
|
+
}
|
|
108755
|
+
},
|
|
108756
|
+
{
|
|
108757
|
+
"name": "force",
|
|
108758
|
+
"optional": true,
|
|
108759
|
+
"type": {
|
|
108760
|
+
"text": "boolean"
|
|
108761
|
+
}
|
|
108762
|
+
}
|
|
108763
|
+
],
|
|
108764
|
+
"inheritedFrom": {
|
|
108765
|
+
"name": "SbbActionBaseElement",
|
|
108766
|
+
"module": "core/base-elements/action-base-element.js"
|
|
108767
|
+
}
|
|
108768
|
+
},
|
|
108769
|
+
{
|
|
108770
|
+
"kind": "field",
|
|
108771
|
+
"name": "maybeDisabled",
|
|
108772
|
+
"type": {
|
|
108773
|
+
"text": "boolean | undefined"
|
|
108774
|
+
},
|
|
108775
|
+
"privacy": "protected",
|
|
108776
|
+
"readonly": true,
|
|
108777
|
+
"inheritedFrom": {
|
|
108778
|
+
"name": "SbbActionBaseElement",
|
|
108779
|
+
"module": "core/base-elements/action-base-element.js"
|
|
108780
|
+
}
|
|
108781
|
+
},
|
|
108782
|
+
{
|
|
108783
|
+
"kind": "field",
|
|
108784
|
+
"name": "maybeDisabledInteractive",
|
|
108785
|
+
"type": {
|
|
108786
|
+
"text": "boolean | undefined"
|
|
108787
|
+
},
|
|
108788
|
+
"privacy": "protected",
|
|
108789
|
+
"readonly": true,
|
|
108790
|
+
"inheritedFrom": {
|
|
108791
|
+
"name": "SbbActionBaseElement",
|
|
108792
|
+
"module": "core/base-elements/action-base-element.js"
|
|
108793
|
+
}
|
|
108794
|
+
},
|
|
108795
|
+
{
|
|
108796
|
+
"kind": "method",
|
|
108797
|
+
"name": "setupBaseEventHandlers",
|
|
108798
|
+
"privacy": "protected",
|
|
108799
|
+
"return": {
|
|
108800
|
+
"type": {
|
|
108801
|
+
"text": "void"
|
|
108802
|
+
}
|
|
108803
|
+
},
|
|
108804
|
+
"inheritedFrom": {
|
|
108805
|
+
"name": "SbbActionBaseElement",
|
|
108806
|
+
"module": "core/base-elements/action-base-element.js"
|
|
108807
|
+
}
|
|
108808
|
+
}
|
|
108809
|
+
],
|
|
108810
|
+
"mixins": [
|
|
108811
|
+
{
|
|
108812
|
+
"name": "SbbTeaserProductCommonElementMixin",
|
|
108813
|
+
"module": "teaser-product/common.js"
|
|
108814
|
+
}
|
|
108815
|
+
],
|
|
108816
|
+
"superclass": {
|
|
108817
|
+
"name": "SbbActionBaseElement",
|
|
108818
|
+
"module": "core/base-elements.js"
|
|
108819
|
+
},
|
|
108820
|
+
"tagName": "sbb-teaser-product-static",
|
|
108821
|
+
"customElement": true,
|
|
108822
|
+
"attributes": [
|
|
108823
|
+
{
|
|
108824
|
+
"name": "image-alignment",
|
|
108825
|
+
"type": {
|
|
108826
|
+
"text": "'after' | 'before'"
|
|
108827
|
+
},
|
|
108828
|
+
"default": "'after'",
|
|
108829
|
+
"description": "Whether the fully visible part of the image is aligned 'before' or 'after' the content.\nOnly relevant starting from large breakpoint.",
|
|
108830
|
+
"fieldName": "imageAlignment",
|
|
108831
|
+
"inheritedFrom": {
|
|
108832
|
+
"name": "SbbTeaserProductCommonElementMixin",
|
|
108833
|
+
"module": "teaser-product/common/teaser-product-common.js"
|
|
108834
|
+
}
|
|
108835
|
+
},
|
|
108836
|
+
{
|
|
108837
|
+
"name": "negative",
|
|
108838
|
+
"type": {
|
|
108839
|
+
"text": "boolean"
|
|
108840
|
+
},
|
|
108841
|
+
"default": "false",
|
|
108842
|
+
"description": "Negative coloring variant flag.",
|
|
108843
|
+
"fieldName": "negative",
|
|
108844
|
+
"inheritedFrom": {
|
|
108845
|
+
"name": "SbbNegativeMixin",
|
|
108846
|
+
"module": "core/mixins/negative-mixin.js"
|
|
108847
|
+
}
|
|
108848
|
+
}
|
|
108849
|
+
]
|
|
108850
|
+
}
|
|
108851
|
+
],
|
|
108852
|
+
"exports": [
|
|
108853
|
+
{
|
|
108854
|
+
"kind": "js",
|
|
108855
|
+
"name": "SbbTeaserProductStaticElement",
|
|
108856
|
+
"declaration": {
|
|
108857
|
+
"name": "SbbTeaserProductStaticElement",
|
|
108858
|
+
"module": "teaser-product/teaser-product-static/teaser-product-static.component.js"
|
|
108859
|
+
}
|
|
108860
|
+
},
|
|
108861
|
+
{
|
|
108862
|
+
"kind": "custom-element-definition",
|
|
108863
|
+
"name": "sbb-teaser-product-static",
|
|
108864
|
+
"declaration": {
|
|
108865
|
+
"name": "SbbTeaserProductStaticElement",
|
|
108866
|
+
"module": "teaser-product/teaser-product-static/teaser-product-static.component.js"
|
|
108867
|
+
}
|
|
108868
|
+
}
|
|
108869
|
+
]
|
|
108870
|
+
},
|
|
108745
108871
|
{
|
|
108746
108872
|
"kind": "javascript-module",
|
|
108747
108873
|
"path": "timetable-form/timetable-form/timetable-form.component.js",
|