@sbb-esta/lyne-elements-dev 5.15.0-dev.1796054560 → 5.15.0-dev.1796137118
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/carousel.pure.js +6 -6
- package/clock.pure.js +11 -11
- package/core.js +10 -10
- package/custom-elements.json +282 -99
- package/development/carousel/carousel-list/carousel-list.component.d.ts +1 -0
- package/development/carousel.pure.js +4 -3
- package/development/clock/clock.component.d.ts +1 -0
- package/development/clock.pure.js +14 -16
- package/development/core/controllers/host-styles-controller.d.ts +14 -0
- package/development/core/mixins/dynamic-styleheet-mixin.d.ts +1 -0
- package/development/core.d.ts +2 -1
- package/development/core.js +134 -95
- package/development/flip-card/flip-card/flip-card.component.d.ts +1 -0
- package/development/flip-card.pure.js +3 -2
- package/development/menu/menu/menu.component.d.ts +1 -0
- package/development/menu.pure.js +3 -4
- package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts +1 -0
- package/development/mini-calendar.pure.js +3 -2
- package/development/navigation/navigation-marker/navigation-marker.component.d.ts +1 -0
- package/development/navigation.pure.js +3 -2
- package/development/notification/notification.component.d.ts +1 -0
- package/development/notification.pure.js +3 -2
- package/development/popover/popover-base/popover-base.d.ts +1 -0
- package/development/popover.pure.js +3 -5
- package/development/sidebar/sidebar-container/sidebar-container.component.d.ts +2 -1
- package/development/sidebar.pure.js +7 -5
- package/development/slider/slider.component.d.ts +1 -0
- package/development/slider.pure.js +3 -2
- package/development/stepper/stepper/stepper.component.d.ts +1 -0
- package/development/stepper.pure.js +6 -5
- package/development/tabs/tab-group/tab-group.component.d.ts +1 -0
- package/development/tabs/tab-nav-bar/tab-nav-bar.component.d.ts +1 -0
- package/development/tabs.pure.js +8 -6
- package/development/toggle/toggle/toggle.component.d.ts +1 -0
- package/development/toggle.pure.js +4 -4
- package/development/tooltip/tooltip.component.d.ts +2 -1
- package/development/tooltip.pure.js +7 -4
- package/development/train.pure.js +4 -17
- package/flip-card.pure.js +8 -8
- package/menu.pure.js +8 -8
- package/mini-calendar.pure.js +5 -5
- package/navigation.pure.js +12 -12
- package/notification.pure.js +4 -4
- package/package.json +2 -2
- package/popover.pure.js +5 -5
- package/sidebar.pure.js +11 -11
- package/slider.pure.js +3 -3
- package/stepper.pure.js +7 -7
- package/tabs.pure.js +11 -11
- package/toggle.pure.js +4 -4
- package/tooltip.pure.js +2 -2
- package/train.pure.js +24 -29
package/custom-elements.json
CHANGED
|
@@ -9261,39 +9261,13 @@
|
|
|
9261
9261
|
},
|
|
9262
9262
|
{
|
|
9263
9263
|
"kind": "javascript-module",
|
|
9264
|
-
"path": "core/controllers/
|
|
9264
|
+
"path": "core/controllers/escapable-overlay-controller.js",
|
|
9265
9265
|
"declarations": [
|
|
9266
9266
|
{
|
|
9267
9267
|
"kind": "class",
|
|
9268
|
-
"description": "",
|
|
9269
|
-
"name": "
|
|
9268
|
+
"description": "Handles the stack of overlays and closes the last opened one when pressing Escape.",
|
|
9269
|
+
"name": "SbbEscapableOverlayController",
|
|
9270
9270
|
"members": [
|
|
9271
|
-
{
|
|
9272
|
-
"kind": "field",
|
|
9273
|
-
"name": "_reference",
|
|
9274
|
-
"type": {
|
|
9275
|
-
"text": "T | null | undefined"
|
|
9276
|
-
},
|
|
9277
|
-
"privacy": "private"
|
|
9278
|
-
},
|
|
9279
|
-
{
|
|
9280
|
-
"kind": "field",
|
|
9281
|
-
"name": "_watchers",
|
|
9282
|
-
"type": {
|
|
9283
|
-
"text": "Map<string, PropertyWatcher<T>> | undefined"
|
|
9284
|
-
},
|
|
9285
|
-
"privacy": "private"
|
|
9286
|
-
},
|
|
9287
|
-
{
|
|
9288
|
-
"kind": "method",
|
|
9289
|
-
"name": "hostConnected",
|
|
9290
|
-
"privacy": "public",
|
|
9291
|
-
"return": {
|
|
9292
|
-
"type": {
|
|
9293
|
-
"text": "void"
|
|
9294
|
-
}
|
|
9295
|
-
}
|
|
9296
|
-
},
|
|
9297
9271
|
{
|
|
9298
9272
|
"kind": "method",
|
|
9299
9273
|
"name": "hostDisconnected",
|
|
@@ -9324,33 +9298,40 @@
|
|
|
9324
9298
|
}
|
|
9325
9299
|
}
|
|
9326
9300
|
}
|
|
9327
|
-
]
|
|
9328
|
-
"classGenerics": "T extends LitElement"
|
|
9301
|
+
]
|
|
9329
9302
|
}
|
|
9330
9303
|
],
|
|
9331
9304
|
"exports": [
|
|
9332
9305
|
{
|
|
9333
9306
|
"kind": "js",
|
|
9334
|
-
"name": "
|
|
9307
|
+
"name": "SbbEscapableOverlayController",
|
|
9335
9308
|
"declaration": {
|
|
9336
|
-
"name": "
|
|
9337
|
-
"module": "core/controllers/
|
|
9309
|
+
"name": "SbbEscapableOverlayController",
|
|
9310
|
+
"module": "core/controllers/escapable-overlay-controller.js"
|
|
9338
9311
|
}
|
|
9339
9312
|
}
|
|
9340
9313
|
]
|
|
9341
9314
|
},
|
|
9342
9315
|
{
|
|
9343
9316
|
"kind": "javascript-module",
|
|
9344
|
-
"path": "core/controllers/
|
|
9317
|
+
"path": "core/controllers/host-styles-controller.js",
|
|
9345
9318
|
"declarations": [
|
|
9346
9319
|
{
|
|
9347
9320
|
"kind": "class",
|
|
9348
|
-
"description": "
|
|
9349
|
-
"name": "
|
|
9321
|
+
"description": "This controller applies a constructed CSSStyleSheet and keeps the style map synchronized with it.",
|
|
9322
|
+
"name": "SbbHostStylesController",
|
|
9350
9323
|
"members": [
|
|
9324
|
+
{
|
|
9325
|
+
"kind": "field",
|
|
9326
|
+
"name": "_styleSheet",
|
|
9327
|
+
"type": {
|
|
9328
|
+
"text": "CSSStyleSheet | undefined"
|
|
9329
|
+
},
|
|
9330
|
+
"privacy": "private"
|
|
9331
|
+
},
|
|
9351
9332
|
{
|
|
9352
9333
|
"kind": "method",
|
|
9353
|
-
"name": "
|
|
9334
|
+
"name": "hostConnected",
|
|
9354
9335
|
"privacy": "public",
|
|
9355
9336
|
"return": {
|
|
9356
9337
|
"type": {
|
|
@@ -9360,7 +9341,49 @@
|
|
|
9360
9341
|
},
|
|
9361
9342
|
{
|
|
9362
9343
|
"kind": "method",
|
|
9363
|
-
"name": "
|
|
9344
|
+
"name": "set",
|
|
9345
|
+
"privacy": "public",
|
|
9346
|
+
"return": {
|
|
9347
|
+
"type": {
|
|
9348
|
+
"text": "this"
|
|
9349
|
+
}
|
|
9350
|
+
},
|
|
9351
|
+
"parameters": [
|
|
9352
|
+
{
|
|
9353
|
+
"name": "key",
|
|
9354
|
+
"type": {
|
|
9355
|
+
"text": "string"
|
|
9356
|
+
}
|
|
9357
|
+
},
|
|
9358
|
+
{
|
|
9359
|
+
"name": "value",
|
|
9360
|
+
"type": {
|
|
9361
|
+
"text": "string"
|
|
9362
|
+
}
|
|
9363
|
+
}
|
|
9364
|
+
]
|
|
9365
|
+
},
|
|
9366
|
+
{
|
|
9367
|
+
"kind": "method",
|
|
9368
|
+
"name": "delete",
|
|
9369
|
+
"privacy": "public",
|
|
9370
|
+
"return": {
|
|
9371
|
+
"type": {
|
|
9372
|
+
"text": "boolean"
|
|
9373
|
+
}
|
|
9374
|
+
},
|
|
9375
|
+
"parameters": [
|
|
9376
|
+
{
|
|
9377
|
+
"name": "key",
|
|
9378
|
+
"type": {
|
|
9379
|
+
"text": "string"
|
|
9380
|
+
}
|
|
9381
|
+
}
|
|
9382
|
+
]
|
|
9383
|
+
},
|
|
9384
|
+
{
|
|
9385
|
+
"kind": "method",
|
|
9386
|
+
"name": "clear",
|
|
9364
9387
|
"privacy": "public",
|
|
9365
9388
|
"return": {
|
|
9366
9389
|
"type": {
|
|
@@ -9370,24 +9393,28 @@
|
|
|
9370
9393
|
},
|
|
9371
9394
|
{
|
|
9372
9395
|
"kind": "method",
|
|
9373
|
-
"name": "
|
|
9374
|
-
"privacy": "
|
|
9396
|
+
"name": "_updateHostStyles",
|
|
9397
|
+
"privacy": "private",
|
|
9375
9398
|
"return": {
|
|
9376
9399
|
"type": {
|
|
9377
9400
|
"text": "void"
|
|
9378
9401
|
}
|
|
9379
9402
|
}
|
|
9380
9403
|
}
|
|
9381
|
-
]
|
|
9404
|
+
],
|
|
9405
|
+
"superclass": {
|
|
9406
|
+
"name": "Map",
|
|
9407
|
+
"module": "core/controllers/host-styles-controller.js"
|
|
9408
|
+
}
|
|
9382
9409
|
}
|
|
9383
9410
|
],
|
|
9384
9411
|
"exports": [
|
|
9385
9412
|
{
|
|
9386
9413
|
"kind": "js",
|
|
9387
|
-
"name": "
|
|
9414
|
+
"name": "SbbHostStylesController",
|
|
9388
9415
|
"declaration": {
|
|
9389
|
-
"name": "
|
|
9390
|
-
"module": "core/controllers/
|
|
9416
|
+
"name": "SbbHostStylesController",
|
|
9417
|
+
"module": "core/controllers/host-styles-controller.js"
|
|
9391
9418
|
}
|
|
9392
9419
|
}
|
|
9393
9420
|
]
|
|
@@ -10191,6 +10218,86 @@
|
|
|
10191
10218
|
}
|
|
10192
10219
|
]
|
|
10193
10220
|
},
|
|
10221
|
+
{
|
|
10222
|
+
"kind": "javascript-module",
|
|
10223
|
+
"path": "core/controllers/property-watcher-controller.js",
|
|
10224
|
+
"declarations": [
|
|
10225
|
+
{
|
|
10226
|
+
"kind": "class",
|
|
10227
|
+
"description": "",
|
|
10228
|
+
"name": "SbbPropertyWatcherController",
|
|
10229
|
+
"members": [
|
|
10230
|
+
{
|
|
10231
|
+
"kind": "field",
|
|
10232
|
+
"name": "_reference",
|
|
10233
|
+
"type": {
|
|
10234
|
+
"text": "T | null | undefined"
|
|
10235
|
+
},
|
|
10236
|
+
"privacy": "private"
|
|
10237
|
+
},
|
|
10238
|
+
{
|
|
10239
|
+
"kind": "field",
|
|
10240
|
+
"name": "_watchers",
|
|
10241
|
+
"type": {
|
|
10242
|
+
"text": "Map<string, PropertyWatcher<T>> | undefined"
|
|
10243
|
+
},
|
|
10244
|
+
"privacy": "private"
|
|
10245
|
+
},
|
|
10246
|
+
{
|
|
10247
|
+
"kind": "method",
|
|
10248
|
+
"name": "hostConnected",
|
|
10249
|
+
"privacy": "public",
|
|
10250
|
+
"return": {
|
|
10251
|
+
"type": {
|
|
10252
|
+
"text": "void"
|
|
10253
|
+
}
|
|
10254
|
+
}
|
|
10255
|
+
},
|
|
10256
|
+
{
|
|
10257
|
+
"kind": "method",
|
|
10258
|
+
"name": "hostDisconnected",
|
|
10259
|
+
"privacy": "public",
|
|
10260
|
+
"return": {
|
|
10261
|
+
"type": {
|
|
10262
|
+
"text": "void"
|
|
10263
|
+
}
|
|
10264
|
+
}
|
|
10265
|
+
},
|
|
10266
|
+
{
|
|
10267
|
+
"kind": "method",
|
|
10268
|
+
"name": "connect",
|
|
10269
|
+
"privacy": "public",
|
|
10270
|
+
"return": {
|
|
10271
|
+
"type": {
|
|
10272
|
+
"text": "void"
|
|
10273
|
+
}
|
|
10274
|
+
}
|
|
10275
|
+
},
|
|
10276
|
+
{
|
|
10277
|
+
"kind": "method",
|
|
10278
|
+
"name": "disconnect",
|
|
10279
|
+
"privacy": "public",
|
|
10280
|
+
"return": {
|
|
10281
|
+
"type": {
|
|
10282
|
+
"text": "void"
|
|
10283
|
+
}
|
|
10284
|
+
}
|
|
10285
|
+
}
|
|
10286
|
+
],
|
|
10287
|
+
"classGenerics": "T extends LitElement"
|
|
10288
|
+
}
|
|
10289
|
+
],
|
|
10290
|
+
"exports": [
|
|
10291
|
+
{
|
|
10292
|
+
"kind": "js",
|
|
10293
|
+
"name": "SbbPropertyWatcherController",
|
|
10294
|
+
"declaration": {
|
|
10295
|
+
"name": "SbbPropertyWatcherController",
|
|
10296
|
+
"module": "core/controllers/property-watcher-controller.js"
|
|
10297
|
+
}
|
|
10298
|
+
}
|
|
10299
|
+
]
|
|
10300
|
+
},
|
|
10194
10301
|
{
|
|
10195
10302
|
"kind": "javascript-module",
|
|
10196
10303
|
"path": "core/controllers/scroll-controller.js",
|
|
@@ -12663,7 +12770,8 @@
|
|
|
12663
12770
|
"text": "T"
|
|
12664
12771
|
}
|
|
12665
12772
|
}
|
|
12666
|
-
]
|
|
12773
|
+
],
|
|
12774
|
+
"deprecated": "will be removed with next major release, use `SbbHostStylesController` instead."
|
|
12667
12775
|
}
|
|
12668
12776
|
],
|
|
12669
12777
|
"exports": [
|
|
@@ -31531,7 +31639,7 @@
|
|
|
31531
31639
|
"name": "*",
|
|
31532
31640
|
"declaration": {
|
|
31533
31641
|
"name": "*",
|
|
31534
|
-
"module": "core/controllers/
|
|
31642
|
+
"module": "core/controllers/escapable-overlay-controller.js"
|
|
31535
31643
|
}
|
|
31536
31644
|
},
|
|
31537
31645
|
{
|
|
@@ -31539,7 +31647,7 @@
|
|
|
31539
31647
|
"name": "*",
|
|
31540
31648
|
"declaration": {
|
|
31541
31649
|
"name": "*",
|
|
31542
|
-
"module": "core/controllers/
|
|
31650
|
+
"module": "core/controllers/host-styles-controller.js"
|
|
31543
31651
|
}
|
|
31544
31652
|
},
|
|
31545
31653
|
{
|
|
@@ -31582,6 +31690,14 @@
|
|
|
31582
31690
|
"module": "core/controllers/overlay-position-controller.js"
|
|
31583
31691
|
}
|
|
31584
31692
|
},
|
|
31693
|
+
{
|
|
31694
|
+
"kind": "js",
|
|
31695
|
+
"name": "*",
|
|
31696
|
+
"declaration": {
|
|
31697
|
+
"name": "*",
|
|
31698
|
+
"module": "core/controllers/property-watcher-controller.js"
|
|
31699
|
+
}
|
|
31700
|
+
},
|
|
31585
31701
|
{
|
|
31586
31702
|
"kind": "js",
|
|
31587
31703
|
"name": "*",
|
|
@@ -85193,6 +85309,12 @@
|
|
|
85193
85309
|
"privacy": "private",
|
|
85194
85310
|
"default": "new SbbLanguageController(this)"
|
|
85195
85311
|
},
|
|
85312
|
+
{
|
|
85313
|
+
"kind": "field",
|
|
85314
|
+
"name": "_hostStyles",
|
|
85315
|
+
"privacy": "private",
|
|
85316
|
+
"default": "new SbbHostStylesController(this)"
|
|
85317
|
+
},
|
|
85196
85318
|
{
|
|
85197
85319
|
"kind": "field",
|
|
85198
85320
|
"name": "_observedCarouselItems",
|
|
@@ -92060,6 +92182,12 @@
|
|
|
92060
92182
|
},
|
|
92061
92183
|
"privacy": "private"
|
|
92062
92184
|
},
|
|
92185
|
+
{
|
|
92186
|
+
"kind": "field",
|
|
92187
|
+
"name": "_hostStyles",
|
|
92188
|
+
"privacy": "private",
|
|
92189
|
+
"default": "new SbbHostStylesController(this)"
|
|
92190
|
+
},
|
|
92063
92191
|
{
|
|
92064
92192
|
"kind": "field",
|
|
92065
92193
|
"name": "_moveHoursHandFn",
|
|
@@ -98451,6 +98579,12 @@
|
|
|
98451
98579
|
},
|
|
98452
98580
|
"privacy": "private"
|
|
98453
98581
|
},
|
|
98582
|
+
{
|
|
98583
|
+
"kind": "field",
|
|
98584
|
+
"name": "_hostStyles",
|
|
98585
|
+
"privacy": "private",
|
|
98586
|
+
"default": "new SbbHostStylesController(this)"
|
|
98587
|
+
},
|
|
98454
98588
|
{
|
|
98455
98589
|
"kind": "field",
|
|
98456
98590
|
"name": "_resizeController",
|
|
@@ -99576,6 +99710,16 @@
|
|
|
99576
99710
|
"module": "popover/popover-base/popover-base.js"
|
|
99577
99711
|
}
|
|
99578
99712
|
},
|
|
99713
|
+
{
|
|
99714
|
+
"kind": "field",
|
|
99715
|
+
"name": "_hostStyles",
|
|
99716
|
+
"privacy": "private",
|
|
99717
|
+
"default": "new SbbHostStylesController(this)",
|
|
99718
|
+
"inheritedFrom": {
|
|
99719
|
+
"name": "SbbPopoverBaseElement",
|
|
99720
|
+
"module": "popover/popover-base/popover-base.js"
|
|
99721
|
+
}
|
|
99722
|
+
},
|
|
99579
99723
|
{
|
|
99580
99724
|
"kind": "field",
|
|
99581
99725
|
"name": "_resizeController",
|
|
@@ -101916,6 +102060,16 @@
|
|
|
101916
102060
|
"module": "popover/popover-base/popover-base.js"
|
|
101917
102061
|
}
|
|
101918
102062
|
},
|
|
102063
|
+
{
|
|
102064
|
+
"kind": "field",
|
|
102065
|
+
"name": "_hostStyles",
|
|
102066
|
+
"privacy": "private",
|
|
102067
|
+
"default": "new SbbHostStylesController(this)",
|
|
102068
|
+
"inheritedFrom": {
|
|
102069
|
+
"name": "SbbPopoverBaseElement",
|
|
102070
|
+
"module": "popover/popover-base/popover-base.js"
|
|
102071
|
+
}
|
|
102072
|
+
},
|
|
101919
102073
|
{
|
|
101920
102074
|
"kind": "field",
|
|
101921
102075
|
"name": "_resizeController",
|
|
@@ -118285,6 +118439,12 @@
|
|
|
118285
118439
|
"privacy": "private",
|
|
118286
118440
|
"default": "new SbbLanguageController(this)"
|
|
118287
118441
|
},
|
|
118442
|
+
{
|
|
118443
|
+
"kind": "field",
|
|
118444
|
+
"name": "_hostStyles",
|
|
118445
|
+
"privacy": "private",
|
|
118446
|
+
"default": "new SbbHostStylesController(this)"
|
|
118447
|
+
},
|
|
118288
118448
|
{
|
|
118289
118449
|
"kind": "field",
|
|
118290
118450
|
"name": "_cardDetailsResizeObserver",
|
|
@@ -122967,6 +123127,12 @@
|
|
|
122967
123127
|
},
|
|
122968
123128
|
"privacy": "private"
|
|
122969
123129
|
},
|
|
123130
|
+
{
|
|
123131
|
+
"kind": "field",
|
|
123132
|
+
"name": "_hostStyles",
|
|
123133
|
+
"privacy": "private",
|
|
123134
|
+
"default": "new SbbHostStylesController(this)"
|
|
123135
|
+
},
|
|
122970
123136
|
{
|
|
122971
123137
|
"kind": "field",
|
|
122972
123138
|
"name": "_escapableOverlayController",
|
|
@@ -123246,33 +123412,6 @@
|
|
|
123246
123412
|
}
|
|
123247
123413
|
}
|
|
123248
123414
|
},
|
|
123249
|
-
{
|
|
123250
|
-
"kind": "field",
|
|
123251
|
-
"name": "dynamicStyleSheet",
|
|
123252
|
-
"type": {
|
|
123253
|
-
"text": "CSSStyleSheet | null"
|
|
123254
|
-
},
|
|
123255
|
-
"privacy": "protected",
|
|
123256
|
-
"readonly": true,
|
|
123257
|
-
"inheritedFrom": {
|
|
123258
|
-
"name": "SbbDynamicStylesheetMixin",
|
|
123259
|
-
"module": "core/mixins/dynamic-styleheet-mixin.js"
|
|
123260
|
-
},
|
|
123261
|
-
"default": "null"
|
|
123262
|
-
},
|
|
123263
|
-
{
|
|
123264
|
-
"kind": "field",
|
|
123265
|
-
"name": "_dynamicStyleSheet",
|
|
123266
|
-
"type": {
|
|
123267
|
-
"text": "CSSStyleSheet | null"
|
|
123268
|
-
},
|
|
123269
|
-
"privacy": "private",
|
|
123270
|
-
"default": "null",
|
|
123271
|
-
"inheritedFrom": {
|
|
123272
|
-
"name": "SbbDynamicStylesheetMixin",
|
|
123273
|
-
"module": "core/mixins/dynamic-styleheet-mixin.js"
|
|
123274
|
-
}
|
|
123275
|
-
},
|
|
123276
123415
|
{
|
|
123277
123416
|
"kind": "field",
|
|
123278
123417
|
"name": "disabled",
|
|
@@ -123776,10 +123915,6 @@
|
|
|
123776
123915
|
}
|
|
123777
123916
|
],
|
|
123778
123917
|
"mixins": [
|
|
123779
|
-
{
|
|
123780
|
-
"name": "SbbDynamicStylesheetMixin",
|
|
123781
|
-
"module": "core.js"
|
|
123782
|
-
},
|
|
123783
123918
|
{
|
|
123784
123919
|
"name": "SbbDisabledMixin",
|
|
123785
123920
|
"module": "core.js"
|
|
@@ -137049,6 +137184,12 @@
|
|
|
137049
137184
|
},
|
|
137050
137185
|
"privacy": "private"
|
|
137051
137186
|
},
|
|
137187
|
+
{
|
|
137188
|
+
"kind": "field",
|
|
137189
|
+
"name": "_hostStyles",
|
|
137190
|
+
"privacy": "private",
|
|
137191
|
+
"default": "new SbbHostStylesController(this)"
|
|
137192
|
+
},
|
|
137052
137193
|
{
|
|
137053
137194
|
"kind": "field",
|
|
137054
137195
|
"name": "_escapableOverlayController",
|
|
@@ -139870,6 +140011,12 @@
|
|
|
139870
140011
|
},
|
|
139871
140012
|
"privacy": "private"
|
|
139872
140013
|
},
|
|
140014
|
+
{
|
|
140015
|
+
"kind": "field",
|
|
140016
|
+
"name": "_hostStyles",
|
|
140017
|
+
"privacy": "private",
|
|
140018
|
+
"default": "new SbbHostStylesController(this)"
|
|
140019
|
+
},
|
|
139873
140020
|
{
|
|
139874
140021
|
"kind": "field",
|
|
139875
140022
|
"name": "_monthNames",
|
|
@@ -142238,6 +142385,12 @@
|
|
|
142238
142385
|
},
|
|
142239
142386
|
"privacy": "private"
|
|
142240
142387
|
},
|
|
142388
|
+
{
|
|
142389
|
+
"kind": "field",
|
|
142390
|
+
"name": "_hostStyles",
|
|
142391
|
+
"privacy": "private",
|
|
142392
|
+
"default": "new SbbHostStylesController(this)"
|
|
142393
|
+
},
|
|
142241
142394
|
{
|
|
142242
142395
|
"kind": "method",
|
|
142243
142396
|
"name": "_updateMarkerActions",
|
|
@@ -145917,6 +146070,12 @@
|
|
|
145917
146070
|
"privacy": "private",
|
|
145918
146071
|
"default": "new SbbLanguageController(this)"
|
|
145919
146072
|
},
|
|
146073
|
+
{
|
|
146074
|
+
"kind": "field",
|
|
146075
|
+
"name": "_hostStyles",
|
|
146076
|
+
"privacy": "private",
|
|
146077
|
+
"default": "new SbbHostStylesController(this)"
|
|
146078
|
+
},
|
|
145920
146079
|
{
|
|
145921
146080
|
"kind": "field",
|
|
145922
146081
|
"name": "_notificationResizeObserver",
|
|
@@ -151187,6 +151346,12 @@
|
|
|
151187
151346
|
"privacy": "private",
|
|
151188
151347
|
"default": "new WeakSet<SbbSidebarElement>()"
|
|
151189
151348
|
},
|
|
151349
|
+
{
|
|
151350
|
+
"kind": "field",
|
|
151351
|
+
"name": "hostStyles",
|
|
151352
|
+
"privacy": "protected",
|
|
151353
|
+
"default": "new SbbHostStylesController(this)"
|
|
151354
|
+
},
|
|
151190
151355
|
{
|
|
151191
151356
|
"kind": "method",
|
|
151192
151357
|
"name": "_handleWidthChange",
|
|
@@ -153464,6 +153629,12 @@
|
|
|
153464
153629
|
"privacy": "private",
|
|
153465
153630
|
"description": "Reference to the inner HTMLInputElement with type='range'."
|
|
153466
153631
|
},
|
|
153632
|
+
{
|
|
153633
|
+
"kind": "field",
|
|
153634
|
+
"name": "_hostStyles",
|
|
153635
|
+
"privacy": "private",
|
|
153636
|
+
"default": "new SbbHostStylesController(this)"
|
|
153637
|
+
},
|
|
153467
153638
|
{
|
|
153468
153639
|
"kind": "method",
|
|
153469
153640
|
"name": "_defaultValue",
|
|
@@ -155059,6 +155230,12 @@
|
|
|
155059
155230
|
"text": "{\n stepchange: 'stepchange',\n }"
|
|
155060
155231
|
}
|
|
155061
155232
|
},
|
|
155233
|
+
{
|
|
155234
|
+
"kind": "field",
|
|
155235
|
+
"name": "_hostStyles",
|
|
155236
|
+
"privacy": "private",
|
|
155237
|
+
"default": "new SbbHostStylesController(this)"
|
|
155238
|
+
},
|
|
155062
155239
|
{
|
|
155063
155240
|
"kind": "field",
|
|
155064
155241
|
"name": "_observer",
|
|
@@ -159241,6 +159418,12 @@
|
|
|
159241
159418
|
},
|
|
159242
159419
|
"privacy": "private"
|
|
159243
159420
|
},
|
|
159421
|
+
{
|
|
159422
|
+
"kind": "field",
|
|
159423
|
+
"name": "_hostStyles",
|
|
159424
|
+
"privacy": "private",
|
|
159425
|
+
"default": "new SbbHostStylesController(this)"
|
|
159426
|
+
},
|
|
159244
159427
|
{
|
|
159245
159428
|
"kind": "field",
|
|
159246
159429
|
"name": "_tabGroupResizeObserver",
|
|
@@ -159869,6 +160052,12 @@
|
|
|
159869
160052
|
"attribute": "size",
|
|
159870
160053
|
"reflects": true
|
|
159871
160054
|
},
|
|
160055
|
+
{
|
|
160056
|
+
"kind": "field",
|
|
160057
|
+
"name": "_hostStyles",
|
|
160058
|
+
"privacy": "private",
|
|
160059
|
+
"default": "new SbbHostStylesController(this)"
|
|
160060
|
+
},
|
|
159872
160061
|
{
|
|
159873
160062
|
"kind": "field",
|
|
159874
160063
|
"name": "_resizeController",
|
|
@@ -174705,6 +174894,12 @@
|
|
|
174705
174894
|
"privacy": "private",
|
|
174706
174895
|
"default": "null"
|
|
174707
174896
|
},
|
|
174897
|
+
{
|
|
174898
|
+
"kind": "field",
|
|
174899
|
+
"name": "_hostStyles",
|
|
174900
|
+
"privacy": "private",
|
|
174901
|
+
"default": "new SbbHostStylesController(this)"
|
|
174902
|
+
},
|
|
174708
174903
|
{
|
|
174709
174904
|
"kind": "field",
|
|
174710
174905
|
"name": "options",
|
|
@@ -176718,12 +176913,9 @@
|
|
|
176718
176913
|
},
|
|
176719
176914
|
{
|
|
176720
176915
|
"kind": "field",
|
|
176721
|
-
"name": "
|
|
176722
|
-
"type": {
|
|
176723
|
-
"text": "CSSStyleSheet | null"
|
|
176724
|
-
},
|
|
176916
|
+
"name": "_hostStyles",
|
|
176725
176917
|
"privacy": "private",
|
|
176726
|
-
"default": "
|
|
176918
|
+
"default": "new SbbHostStylesController(this)"
|
|
176727
176919
|
},
|
|
176728
176920
|
{
|
|
176729
176921
|
"kind": "method",
|
|
@@ -178798,12 +178990,9 @@
|
|
|
178798
178990
|
},
|
|
178799
178991
|
{
|
|
178800
178992
|
"kind": "field",
|
|
178801
|
-
"name": "
|
|
178802
|
-
"type": {
|
|
178803
|
-
"text": "CSSStyleSheet | null"
|
|
178804
|
-
},
|
|
178993
|
+
"name": "_hostStyles",
|
|
178805
178994
|
"privacy": "private",
|
|
178806
|
-
"default": "
|
|
178995
|
+
"default": "new SbbHostStylesController(this)",
|
|
178807
178996
|
"inheritedFrom": {
|
|
178808
178997
|
"name": "SbbTrainWagonMixin",
|
|
178809
178998
|
"module": "train/train-wagon-common.js"
|
|
@@ -180151,12 +180340,9 @@
|
|
|
180151
180340
|
},
|
|
180152
180341
|
{
|
|
180153
180342
|
"kind": "field",
|
|
180154
|
-
"name": "
|
|
180155
|
-
"type": {
|
|
180156
|
-
"text": "CSSStyleSheet | null"
|
|
180157
|
-
},
|
|
180343
|
+
"name": "_hostStyles",
|
|
180158
180344
|
"privacy": "private",
|
|
180159
|
-
"default": "
|
|
180345
|
+
"default": "new SbbHostStylesController(this)",
|
|
180160
180346
|
"inheritedFrom": {
|
|
180161
180347
|
"name": "SbbTrainWagonMixin",
|
|
180162
180348
|
"module": "train/train-wagon-common.js"
|
|
@@ -181219,12 +181405,9 @@
|
|
|
181219
181405
|
},
|
|
181220
181406
|
{
|
|
181221
181407
|
"kind": "field",
|
|
181222
|
-
"name": "
|
|
181223
|
-
"type": {
|
|
181224
|
-
"text": "CSSStyleSheet | null"
|
|
181225
|
-
},
|
|
181408
|
+
"name": "_hostStyles",
|
|
181226
181409
|
"privacy": "private",
|
|
181227
|
-
"default": "
|
|
181410
|
+
"default": "new SbbHostStylesController(this)",
|
|
181228
181411
|
"inheritedFrom": {
|
|
181229
181412
|
"name": "SbbTrainWagonMixin",
|
|
181230
181413
|
"module": "train/train-wagon-common.js"
|
|
@@ -10,6 +10,7 @@ export declare class SbbCarouselListElement extends SbbElement {
|
|
|
10
10
|
static styles: CSSResultGroup;
|
|
11
11
|
private _currentIndex;
|
|
12
12
|
private _language;
|
|
13
|
+
private _hostStyles;
|
|
13
14
|
private _observedCarouselItems;
|
|
14
15
|
private _beforeShowObserver;
|
|
15
16
|
private _showObserver;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { html, unsafeCSS } from "lit";
|
|
2
|
-
import { SbbElement, SbbLanguageController, forceType, i18nCarouselArrowsNavigationHint, i18nCarouselItemAriaLabel, i18nNextSlide, i18nPreviousSlide, i18nSlide, isArrowKeyPressed, screenReaderOnlyStyles } from "./core.js";
|
|
2
|
+
import { SbbElement, SbbHostStylesController, SbbLanguageController, forceType, i18nCarouselArrowsNavigationHint, i18nCarouselItemAriaLabel, i18nNextSlide, i18nPreviousSlide, i18nSlide, isArrowKeyPressed, screenReaderOnlyStyles } from "./core.js";
|
|
3
3
|
import { IntersectionController } from "@lit-labs/observers/intersection-controller.js";
|
|
4
4
|
import { ResizeController } from "@lit-labs/observers/resize-controller.js";
|
|
5
5
|
import { __esDecorate, __runInitializers } from "tslib";
|
|
@@ -71,6 +71,7 @@ var SbbCarouselListElement = class extends SbbElement {
|
|
|
71
71
|
super();
|
|
72
72
|
this._currentIndex = 0;
|
|
73
73
|
this._language = new SbbLanguageController(this);
|
|
74
|
+
this._hostStyles = new SbbHostStylesController(this);
|
|
74
75
|
this._observedCarouselItems = [];
|
|
75
76
|
this._beforeShowObserver = new IntersectionController(this, {
|
|
76
77
|
target: null,
|
|
@@ -135,9 +136,9 @@ var SbbCarouselListElement = class extends SbbElement {
|
|
|
135
136
|
const carouselItems = this._carouselItems();
|
|
136
137
|
if (carouselItems.length === 0) return;
|
|
137
138
|
const firstItem = carouselItems[0];
|
|
138
|
-
if (firstItem.clientHeight > 0) this.
|
|
139
|
+
if (firstItem.clientHeight > 0) this._hostStyles.set(`--sbb-carousel-list-height`, `${firstItem.clientHeight}px`);
|
|
139
140
|
if (firstItem.clientWidth > 0) {
|
|
140
|
-
this.
|
|
141
|
+
this._hostStyles.set(`--sbb-carousel-list-width`, `${firstItem.clientWidth}px`);
|
|
141
142
|
carouselItems.forEach((item) => {
|
|
142
143
|
this._beforeShowObserver.observe(item);
|
|
143
144
|
this._showObserver.observe(item);
|
|
@@ -28,6 +28,7 @@ export declare class SbbClockElement extends SbbElement {
|
|
|
28
28
|
/** Move the minutes hand every minute. */
|
|
29
29
|
private _handMovement?;
|
|
30
30
|
private _resetIntervalId?;
|
|
31
|
+
private _hostStyles;
|
|
31
32
|
/** Callback function for hours hand. */
|
|
32
33
|
private _moveHoursHandFn;
|
|
33
34
|
/** Callback function for minutes hand. */
|