@sbb-esta/lyne-elements 3.10.0 → 3.11.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.
Files changed (107) hide show
  1. package/calendar/calendar.component.d.ts +2 -1
  2. package/calendar/calendar.component.d.ts.map +1 -1
  3. package/core/controllers/escapable-overlay-controller.d.ts +3 -0
  4. package/core/controllers/escapable-overlay-controller.d.ts.map +1 -1
  5. package/core/controllers/overlay-position-controller.d.ts +60 -0
  6. package/core/controllers/overlay-position-controller.d.ts.map +1 -0
  7. package/core/controllers/overlay-position-controller.js +224 -0
  8. package/core/controllers.d.ts +1 -0
  9. package/core/controllers.d.ts.map +1 -1
  10. package/core/controllers.js +12 -10
  11. package/core/styles/core.scss +27 -2
  12. package/core.css +21 -2
  13. package/custom-elements.json +1996 -544
  14. package/development/calendar/calendar.component.d.ts +2 -1
  15. package/development/calendar/calendar.component.d.ts.map +1 -1
  16. package/development/calendar/calendar.component.js +1 -1
  17. package/development/core/controllers/escapable-overlay-controller.d.ts +3 -0
  18. package/development/core/controllers/escapable-overlay-controller.d.ts.map +1 -1
  19. package/development/core/controllers/escapable-overlay-controller.js +1 -1
  20. package/development/core/controllers/overlay-position-controller.d.ts +60 -0
  21. package/development/core/controllers/overlay-position-controller.d.ts.map +1 -0
  22. package/development/core/controllers/overlay-position-controller.js +306 -0
  23. package/development/core/controllers.d.ts +1 -0
  24. package/development/core/controllers.d.ts.map +1 -1
  25. package/development/core/controllers.js +3 -1
  26. package/development/mini-calendar/mini-calendar/mini-calendar.component.d.ts +35 -0
  27. package/development/mini-calendar/mini-calendar/mini-calendar.component.d.ts.map +1 -0
  28. package/development/mini-calendar/mini-calendar/mini-calendar.component.js +201 -0
  29. package/development/mini-calendar/mini-calendar-day/mini-calendar-day.component.d.ts +23 -0
  30. package/development/mini-calendar/mini-calendar-day/mini-calendar-day.component.d.ts.map +1 -0
  31. package/development/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +181 -0
  32. package/development/mini-calendar/mini-calendar-day.d.ts +5 -0
  33. package/development/mini-calendar/mini-calendar-day.d.ts.map +1 -0
  34. package/development/mini-calendar/mini-calendar-day.js +5 -0
  35. package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts +25 -0
  36. package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts.map +1 -0
  37. package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +123 -0
  38. package/development/mini-calendar/mini-calendar-month.d.ts +5 -0
  39. package/development/mini-calendar/mini-calendar-month.d.ts.map +1 -0
  40. package/development/mini-calendar/mini-calendar-month.js +5 -0
  41. package/development/mini-calendar/mini-calendar.d.ts +5 -0
  42. package/development/mini-calendar/mini-calendar.d.ts.map +1 -0
  43. package/development/mini-calendar/mini-calendar.js +5 -0
  44. package/development/mini-calendar.d.ts +7 -0
  45. package/development/mini-calendar.d.ts.map +1 -0
  46. package/development/mini-calendar.js +9 -0
  47. package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts +4 -1
  48. package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts.map +1 -1
  49. package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.js +5 -1
  50. package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts +4 -1
  51. package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts.map +1 -1
  52. package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.js +5 -1
  53. package/development/tabs/tab/tab.component.d.ts +9 -0
  54. package/development/tabs/tab/tab.component.d.ts.map +1 -1
  55. package/development/tabs/tab/tab.component.js +48 -7
  56. package/development/tabs/tab-group/tab-group.component.d.ts +7 -3
  57. package/development/tabs/tab-group/tab-group.component.d.ts.map +1 -1
  58. package/development/tabs/tab-group/tab-group.component.js +19 -39
  59. package/development/tabs/tab-label/tab-label.component.d.ts.map +1 -1
  60. package/development/tabs/tab-label/tab-label.component.js +4 -3
  61. package/development/tooltip/tooltip.component.d.ts +11 -4
  62. package/development/tooltip/tooltip.component.d.ts.map +1 -1
  63. package/development/tooltip/tooltip.component.js +57 -78
  64. package/index.d.ts +6 -0
  65. package/index.js +6 -0
  66. package/mini-calendar/mini-calendar/mini-calendar.component.d.ts +35 -0
  67. package/mini-calendar/mini-calendar/mini-calendar.component.d.ts.map +1 -0
  68. package/mini-calendar/mini-calendar/mini-calendar.component.js +133 -0
  69. package/mini-calendar/mini-calendar-day/mini-calendar-day.component.d.ts +23 -0
  70. package/mini-calendar/mini-calendar-day/mini-calendar-day.component.d.ts.map +1 -0
  71. package/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +66 -0
  72. package/mini-calendar/mini-calendar-day.d.ts +5 -0
  73. package/mini-calendar/mini-calendar-day.d.ts.map +1 -0
  74. package/mini-calendar/mini-calendar-day.js +4 -0
  75. package/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts +25 -0
  76. package/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts.map +1 -0
  77. package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +59 -0
  78. package/mini-calendar/mini-calendar-month.d.ts +5 -0
  79. package/mini-calendar/mini-calendar-month.d.ts.map +1 -0
  80. package/mini-calendar/mini-calendar-month.js +4 -0
  81. package/mini-calendar/mini-calendar.d.ts +5 -0
  82. package/mini-calendar/mini-calendar.d.ts.map +1 -0
  83. package/mini-calendar/mini-calendar.js +4 -0
  84. package/mini-calendar.d.ts +7 -0
  85. package/mini-calendar.d.ts.map +1 -0
  86. package/mini-calendar.js +8 -0
  87. package/off-brand-theme.css +21 -2
  88. package/package.json +21 -1
  89. package/safety-theme.css +21 -2
  90. package/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts +4 -1
  91. package/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts.map +1 -1
  92. package/sidebar/icon-sidebar-button/icon-sidebar-button.component.js +9 -6
  93. package/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts +4 -1
  94. package/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts.map +1 -1
  95. package/sidebar/icon-sidebar-link/icon-sidebar-link.component.js +13 -10
  96. package/standard-theme.css +21 -2
  97. package/tabs/tab/tab.component.d.ts +9 -0
  98. package/tabs/tab/tab.component.d.ts.map +1 -1
  99. package/tabs/tab/tab.component.js +37 -18
  100. package/tabs/tab-group/tab-group.component.d.ts +7 -3
  101. package/tabs/tab-group/tab-group.component.d.ts.map +1 -1
  102. package/tabs/tab-group/tab-group.component.js +51 -52
  103. package/tabs/tab-label/tab-label.component.d.ts.map +1 -1
  104. package/tabs/tab-label/tab-label.component.js +12 -12
  105. package/tooltip/tooltip.component.d.ts +11 -4
  106. package/tooltip/tooltip.component.d.ts.map +1 -1
  107. package/tooltip/tooltip.component.js +60 -84
@@ -1100,6 +1100,37 @@
1100
1100
  }
1101
1101
  ]
1102
1102
  },
1103
+ {
1104
+ "kind": "javascript-module",
1105
+ "path": "mini-calendar.js",
1106
+ "declarations": [],
1107
+ "exports": [
1108
+ {
1109
+ "kind": "js",
1110
+ "name": "*",
1111
+ "declaration": {
1112
+ "name": "*",
1113
+ "module": "mini-calendar/mini-calendar.js"
1114
+ }
1115
+ },
1116
+ {
1117
+ "kind": "js",
1118
+ "name": "*",
1119
+ "declaration": {
1120
+ "name": "*",
1121
+ "module": "mini-calendar/mini-calendar-day.js"
1122
+ }
1123
+ },
1124
+ {
1125
+ "kind": "js",
1126
+ "name": "*",
1127
+ "declaration": {
1128
+ "name": "*",
1129
+ "module": "mini-calendar/mini-calendar-month.js"
1130
+ }
1131
+ }
1132
+ ]
1133
+ },
1103
1134
  {
1104
1135
  "kind": "javascript-module",
1105
1136
  "path": "navigation.js",
@@ -5009,7 +5040,7 @@
5009
5040
  "kind": "field",
5010
5041
  "name": "orientation",
5011
5042
  "type": {
5012
- "text": "'horizontal' | 'vertical'"
5043
+ "text": "SbbOrientation"
5013
5044
  },
5014
5045
  "privacy": "public",
5015
5046
  "default": "'horizontal'",
@@ -6830,7 +6861,7 @@
6830
6861
  {
6831
6862
  "name": "orientation",
6832
6863
  "type": {
6833
- "text": "'horizontal' | 'vertical'"
6864
+ "text": "SbbOrientation"
6834
6865
  },
6835
6866
  "default": "'horizontal'",
6836
6867
  "description": "The orientation of days in the calendar.",
@@ -7710,6 +7741,14 @@
7710
7741
  "name": "*",
7711
7742
  "module": "core/controllers/slot-state-controller.js"
7712
7743
  }
7744
+ },
7745
+ {
7746
+ "kind": "js",
7747
+ "name": "*",
7748
+ "declaration": {
7749
+ "name": "*",
7750
+ "module": "core/controllers/overlay-position-controller.js"
7751
+ }
7713
7752
  }
7714
7753
  ]
7715
7754
  },
@@ -12359,6 +12398,51 @@
12359
12398
  }
12360
12399
  ]
12361
12400
  },
12401
+ {
12402
+ "kind": "javascript-module",
12403
+ "path": "mini-calendar/mini-calendar-day.js",
12404
+ "declarations": [],
12405
+ "exports": [
12406
+ {
12407
+ "kind": "js",
12408
+ "name": "*",
12409
+ "declaration": {
12410
+ "name": "*",
12411
+ "module": "mini-calendar/mini-calendar-day/mini-calendar-day.component.js"
12412
+ }
12413
+ }
12414
+ ]
12415
+ },
12416
+ {
12417
+ "kind": "javascript-module",
12418
+ "path": "mini-calendar/mini-calendar-month.js",
12419
+ "declarations": [],
12420
+ "exports": [
12421
+ {
12422
+ "kind": "js",
12423
+ "name": "*",
12424
+ "declaration": {
12425
+ "name": "*",
12426
+ "module": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js"
12427
+ }
12428
+ }
12429
+ ]
12430
+ },
12431
+ {
12432
+ "kind": "javascript-module",
12433
+ "path": "mini-calendar/mini-calendar.js",
12434
+ "declarations": [],
12435
+ "exports": [
12436
+ {
12437
+ "kind": "js",
12438
+ "name": "*",
12439
+ "declaration": {
12440
+ "name": "*",
12441
+ "module": "mini-calendar/mini-calendar/mini-calendar.component.js"
12442
+ }
12443
+ }
12444
+ ]
12445
+ },
12362
12446
  {
12363
12447
  "kind": "javascript-module",
12364
12448
  "path": "navigation/common.js",
@@ -22973,6 +23057,16 @@
22973
23057
  "description": "It displays text content within a tooltip.",
22974
23058
  "name": "SbbTooltipElement",
22975
23059
  "cssProperties": [
23060
+ {
23061
+ "description": "The primary position for the tooltip.",
23062
+ "name": "--sbb-overlay-position-area",
23063
+ "default": "block-end"
23064
+ },
23065
+ {
23066
+ "description": "The list of fallback positions, separated by ',', for the tooltip",
23067
+ "name": "--sbb-overlay-position-try-fallbacks",
23068
+ "default": "block-end span-inline-end, block-end span-inline-start, block-start, block-start span-inline-end, block-start span-inline-start"
23069
+ },
22976
23070
  {
22977
23071
  "description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable. The default `z-index` of the component is set to `var(--sbb-overlay-default-z-index)` with a value of `1000`.",
22978
23072
  "name": "--sbb-tooltip-z-index",
@@ -23014,7 +23108,7 @@
23014
23108
  },
23015
23109
  "privacy": "public",
23016
23110
  "default": "null",
23017
- "description": "The element that will trigger the popover overlay.\n\nFor attribute usage, provide an id reference.",
23111
+ "description": "The element that will trigger the tooltip overlay.\n\nFor attribute usage, provide an id reference.",
23018
23112
  "attribute": "trigger"
23019
23113
  },
23020
23114
  {
@@ -23076,14 +23170,6 @@
23076
23170
  },
23077
23171
  "privacy": "private"
23078
23172
  },
23079
- {
23080
- "kind": "field",
23081
- "name": "overlay",
23082
- "type": {
23083
- "text": "HTMLDivElement | undefined"
23084
- },
23085
- "privacy": "protected"
23086
- },
23087
23173
  {
23088
23174
  "kind": "field",
23089
23175
  "name": "_triggerElement",
@@ -23115,6 +23201,12 @@
23115
23201
  "privacy": "private",
23116
23202
  "default": "new SbbEscapableOverlayController(this)"
23117
23203
  },
23204
+ {
23205
+ "kind": "field",
23206
+ "name": "_overlayController",
23207
+ "privacy": "private",
23208
+ "default": "new SbbOverlayPositionController(this)"
23209
+ },
23118
23210
  {
23119
23211
  "kind": "field",
23120
23212
  "name": "_openTimeout",
@@ -23324,7 +23416,7 @@
23324
23416
  },
23325
23417
  {
23326
23418
  "kind": "method",
23327
- "name": "_setTooltipPosition",
23419
+ "name": "_addTriggerEventHandlers",
23328
23420
  "privacy": "private",
23329
23421
  "return": {
23330
23422
  "type": {
@@ -23334,17 +23426,17 @@
23334
23426
  },
23335
23427
  {
23336
23428
  "kind": "method",
23337
- "name": "_addTriggerEventHandlers",
23429
+ "name": "_isZeroAnimationDuration",
23338
23430
  "privacy": "private",
23339
23431
  "return": {
23340
23432
  "type": {
23341
- "text": "void"
23433
+ "text": "boolean"
23342
23434
  }
23343
23435
  }
23344
23436
  },
23345
23437
  {
23346
23438
  "kind": "method",
23347
- "name": "_attachWindowEvents",
23439
+ "name": "_resetOpenCloseTimeout",
23348
23440
  "privacy": "private",
23349
23441
  "return": {
23350
23442
  "type": {
@@ -23353,446 +23445,426 @@
23353
23445
  }
23354
23446
  },
23355
23447
  {
23356
- "kind": "method",
23357
- "name": "_isZeroAnimationDuration",
23448
+ "kind": "field",
23449
+ "name": "disabled",
23450
+ "privacy": "public",
23451
+ "description": "Whether the component is disabled.",
23452
+ "default": "false",
23453
+ "type": {
23454
+ "text": "boolean"
23455
+ },
23456
+ "attribute": "disabled",
23457
+ "reflects": true,
23458
+ "inheritedFrom": {
23459
+ "name": "SbbDisabledMixin",
23460
+ "module": "core/mixins/disabled-mixin.js"
23461
+ }
23462
+ },
23463
+ {
23464
+ "kind": "field",
23465
+ "name": "#disabled",
23358
23466
  "privacy": "private",
23467
+ "type": {
23468
+ "text": "boolean"
23469
+ },
23470
+ "default": "false",
23471
+ "inheritedFrom": {
23472
+ "name": "SbbDisabledMixin",
23473
+ "module": "core/mixins/disabled-mixin.js"
23474
+ }
23475
+ },
23476
+ {
23477
+ "kind": "method",
23478
+ "name": "isDisabledExternally",
23479
+ "privacy": "protected",
23359
23480
  "return": {
23360
23481
  "type": {
23361
23482
  "text": "boolean"
23362
23483
  }
23484
+ },
23485
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
23486
+ "inheritedFrom": {
23487
+ "name": "SbbDisabledMixin",
23488
+ "module": "core/mixins/disabled-mixin.js"
23363
23489
  }
23364
23490
  },
23365
23491
  {
23366
23492
  "kind": "method",
23367
- "name": "_resetOpenCloseTimeout",
23368
- "privacy": "private",
23493
+ "name": "toggleState",
23494
+ "privacy": "protected",
23369
23495
  "return": {
23370
23496
  "type": {
23371
23497
  "text": "void"
23372
23498
  }
23499
+ },
23500
+ "parameters": [
23501
+ {
23502
+ "name": "state",
23503
+ "type": {
23504
+ "text": "string"
23505
+ }
23506
+ },
23507
+ {
23508
+ "name": "force",
23509
+ "optional": true,
23510
+ "type": {
23511
+ "text": "boolean"
23512
+ }
23513
+ }
23514
+ ],
23515
+ "inheritedFrom": {
23516
+ "name": "SbbElementInternalsMixin",
23517
+ "module": "core/mixins/element-internals-mixin.js"
23518
+ }
23519
+ },
23520
+ {
23521
+ "kind": "field",
23522
+ "name": "events",
23523
+ "privacy": "public",
23524
+ "static": true,
23525
+ "readonly": true,
23526
+ "default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
23527
+ "type": {
23528
+ "text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
23529
+ },
23530
+ "inheritedFrom": {
23531
+ "name": "SbbOpenCloseBaseElement",
23532
+ "module": "core/base-elements/open-close-base-element.js"
23533
+ }
23534
+ },
23535
+ {
23536
+ "kind": "field",
23537
+ "name": "state",
23538
+ "privacy": "protected",
23539
+ "description": "The state of the component.",
23540
+ "type": {
23541
+ "text": "SbbOpenedClosedState"
23542
+ },
23543
+ "inheritedFrom": {
23544
+ "name": "SbbOpenCloseBaseElement",
23545
+ "module": "core/base-elements/open-close-base-element.js"
23546
+ }
23547
+ },
23548
+ {
23549
+ "kind": "field",
23550
+ "name": "isOpen",
23551
+ "type": {
23552
+ "text": "boolean"
23553
+ },
23554
+ "privacy": "public",
23555
+ "description": "Whether the element is open.",
23556
+ "readonly": true,
23557
+ "inheritedFrom": {
23558
+ "name": "SbbOpenCloseBaseElement",
23559
+ "module": "core/base-elements/open-close-base-element.js"
23560
+ }
23561
+ },
23562
+ {
23563
+ "kind": "method",
23564
+ "name": "escapeStrategy",
23565
+ "privacy": "public",
23566
+ "return": {
23567
+ "type": {
23568
+ "text": "void"
23569
+ }
23570
+ },
23571
+ "description": "The method which is called on escape key press. Defaults to calling close()",
23572
+ "inheritedFrom": {
23573
+ "name": "SbbOpenCloseBaseElement",
23574
+ "module": "core/base-elements/open-close-base-element.js"
23575
+ }
23576
+ },
23577
+ {
23578
+ "kind": "method",
23579
+ "name": "dispatchBeforeOpenEvent",
23580
+ "privacy": "protected",
23581
+ "return": {
23582
+ "type": {
23583
+ "text": "boolean"
23584
+ }
23585
+ },
23586
+ "inheritedFrom": {
23587
+ "name": "SbbOpenCloseBaseElement",
23588
+ "module": "core/base-elements/open-close-base-element.js"
23589
+ }
23590
+ },
23591
+ {
23592
+ "kind": "method",
23593
+ "name": "dispatchOpenEvent",
23594
+ "privacy": "protected",
23595
+ "return": {
23596
+ "type": {
23597
+ "text": "boolean"
23598
+ }
23599
+ },
23600
+ "inheritedFrom": {
23601
+ "name": "SbbOpenCloseBaseElement",
23602
+ "module": "core/base-elements/open-close-base-element.js"
23603
+ }
23604
+ },
23605
+ {
23606
+ "kind": "method",
23607
+ "name": "dispatchBeforeCloseEvent",
23608
+ "privacy": "protected",
23609
+ "return": {
23610
+ "type": {
23611
+ "text": "boolean"
23612
+ }
23613
+ },
23614
+ "inheritedFrom": {
23615
+ "name": "SbbOpenCloseBaseElement",
23616
+ "module": "core/base-elements/open-close-base-element.js"
23617
+ }
23618
+ },
23619
+ {
23620
+ "kind": "method",
23621
+ "name": "dispatchCloseEvent",
23622
+ "privacy": "protected",
23623
+ "return": {
23624
+ "type": {
23625
+ "text": "boolean"
23626
+ }
23627
+ },
23628
+ "inheritedFrom": {
23629
+ "name": "SbbOpenCloseBaseElement",
23630
+ "module": "core/base-elements/open-close-base-element.js"
23631
+ }
23632
+ }
23633
+ ],
23634
+ "attributes": [
23635
+ {
23636
+ "name": "trigger",
23637
+ "type": {
23638
+ "text": "HTMLElement | null"
23639
+ },
23640
+ "default": "null",
23641
+ "description": "The element that will trigger the tooltip overlay.\n\nFor attribute usage, provide an id reference.",
23642
+ "fieldName": "trigger"
23643
+ },
23644
+ {
23645
+ "name": "open-delay",
23646
+ "description": "Open the tooltip after a given delay in milliseconds.\nGlobal configuration is used as default, if not set.",
23647
+ "default": "null",
23648
+ "type": {
23649
+ "text": "number"
23650
+ },
23651
+ "fieldName": "openDelay"
23652
+ },
23653
+ {
23654
+ "name": "close-delay",
23655
+ "description": "Close the tooltip after a given delay in milliseconds.\nGlobal configuration is used as default, if not set.",
23656
+ "default": "null",
23657
+ "type": {
23658
+ "text": "number"
23659
+ },
23660
+ "fieldName": "closeDelay"
23661
+ },
23662
+ {
23663
+ "name": "long-press-close-delay",
23664
+ "description": "Automatically close the tooltip after it has been open by long press.\nGlobal configuration is used as default, if not set.",
23665
+ "default": "1500",
23666
+ "type": {
23667
+ "text": "number"
23668
+ },
23669
+ "fieldName": "longPressCloseDelay"
23670
+ },
23671
+ {
23672
+ "name": "disabled",
23673
+ "description": "Whether the component is disabled.",
23674
+ "default": "false",
23675
+ "type": {
23676
+ "text": "boolean"
23677
+ },
23678
+ "fieldName": "disabled",
23679
+ "inheritedFrom": {
23680
+ "name": "SbbDisabledMixin",
23681
+ "module": "core/mixins/disabled-mixin.js"
23682
+ }
23683
+ }
23684
+ ],
23685
+ "mixins": [
23686
+ {
23687
+ "name": "SbbDisabledMixin",
23688
+ "module": "core/mixins.js"
23689
+ }
23690
+ ],
23691
+ "superclass": {
23692
+ "name": "SbbOpenCloseBaseElement",
23693
+ "module": "core/base-elements.js"
23694
+ },
23695
+ "tagName": "sbb-tooltip",
23696
+ "customElement": true,
23697
+ "events": [
23698
+ {
23699
+ "name": "beforeopen",
23700
+ "type": {
23701
+ "text": "Event"
23702
+ },
23703
+ "description": "Emits whenever the component starts the opening transition. Can be canceled.",
23704
+ "inheritedFrom": {
23705
+ "name": "SbbOpenCloseBaseElement",
23706
+ "module": "core/base-elements/open-close-base-element.js"
23707
+ }
23708
+ },
23709
+ {
23710
+ "name": "open",
23711
+ "type": {
23712
+ "text": "Event"
23713
+ },
23714
+ "description": "Emits whenever the component is opened.",
23715
+ "inheritedFrom": {
23716
+ "name": "SbbOpenCloseBaseElement",
23717
+ "module": "core/base-elements/open-close-base-element.js"
23718
+ }
23719
+ },
23720
+ {
23721
+ "name": "beforeclose",
23722
+ "type": {
23723
+ "text": "Event"
23724
+ },
23725
+ "description": "Emits whenever the component begins the closing transition. Can be canceled.",
23726
+ "inheritedFrom": {
23727
+ "name": "SbbOpenCloseBaseElement",
23728
+ "module": "core/base-elements/open-close-base-element.js"
23729
+ }
23730
+ },
23731
+ {
23732
+ "name": "close",
23733
+ "type": {
23734
+ "text": "Event"
23735
+ },
23736
+ "description": "Emits whenever the component is closed.",
23737
+ "inheritedFrom": {
23738
+ "name": "SbbOpenCloseBaseElement",
23739
+ "module": "core/base-elements/open-close-base-element.js"
23373
23740
  }
23374
- },
23375
- {
23376
- "kind": "field",
23377
- "name": "disabled",
23378
- "privacy": "public",
23379
- "description": "Whether the component is disabled.",
23380
- "default": "false",
23381
- "type": {
23382
- "text": "boolean"
23383
- },
23384
- "attribute": "disabled",
23385
- "reflects": true,
23386
- "inheritedFrom": {
23387
- "name": "SbbDisabledMixin",
23388
- "module": "core/mixins/disabled-mixin.js"
23389
- }
23390
- },
23391
- {
23392
- "kind": "field",
23393
- "name": "#disabled",
23394
- "privacy": "private",
23395
- "type": {
23396
- "text": "boolean"
23397
- },
23398
- "default": "false",
23399
- "inheritedFrom": {
23400
- "name": "SbbDisabledMixin",
23401
- "module": "core/mixins/disabled-mixin.js"
23402
- }
23403
- },
23404
- {
23405
- "kind": "method",
23406
- "name": "isDisabledExternally",
23407
- "privacy": "protected",
23408
- "return": {
23409
- "type": {
23410
- "text": "boolean"
23411
- }
23412
- },
23413
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
23414
- "inheritedFrom": {
23415
- "name": "SbbDisabledMixin",
23416
- "module": "core/mixins/disabled-mixin.js"
23417
- }
23418
- },
23419
- {
23420
- "kind": "method",
23421
- "name": "toggleState",
23422
- "privacy": "protected",
23423
- "return": {
23424
- "type": {
23425
- "text": "void"
23426
- }
23427
- },
23428
- "parameters": [
23429
- {
23430
- "name": "state",
23431
- "type": {
23432
- "text": "string"
23433
- }
23434
- },
23435
- {
23436
- "name": "force",
23437
- "optional": true,
23438
- "type": {
23439
- "text": "boolean"
23440
- }
23441
- }
23442
- ],
23443
- "inheritedFrom": {
23444
- "name": "SbbElementInternalsMixin",
23445
- "module": "core/mixins/element-internals-mixin.js"
23446
- }
23447
- },
23448
- {
23449
- "kind": "field",
23450
- "name": "events",
23451
- "privacy": "public",
23452
- "static": true,
23453
- "readonly": true,
23454
- "default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
23455
- "type": {
23456
- "text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
23457
- },
23458
- "inheritedFrom": {
23459
- "name": "SbbOpenCloseBaseElement",
23460
- "module": "core/base-elements/open-close-base-element.js"
23461
- }
23462
- },
23463
- {
23464
- "kind": "field",
23465
- "name": "state",
23466
- "privacy": "protected",
23467
- "description": "The state of the component.",
23468
- "type": {
23469
- "text": "SbbOpenedClosedState"
23470
- },
23471
- "inheritedFrom": {
23472
- "name": "SbbOpenCloseBaseElement",
23473
- "module": "core/base-elements/open-close-base-element.js"
23474
- }
23475
- },
23476
- {
23477
- "kind": "field",
23478
- "name": "isOpen",
23479
- "type": {
23480
- "text": "boolean"
23481
- },
23482
- "privacy": "public",
23483
- "description": "Whether the element is open.",
23484
- "readonly": true,
23485
- "inheritedFrom": {
23486
- "name": "SbbOpenCloseBaseElement",
23487
- "module": "core/base-elements/open-close-base-element.js"
23488
- }
23489
- },
23490
- {
23491
- "kind": "method",
23492
- "name": "escapeStrategy",
23493
- "privacy": "public",
23494
- "return": {
23495
- "type": {
23496
- "text": "void"
23497
- }
23498
- },
23499
- "description": "The method which is called on escape key press. Defaults to calling close()",
23500
- "inheritedFrom": {
23501
- "name": "SbbOpenCloseBaseElement",
23502
- "module": "core/base-elements/open-close-base-element.js"
23503
- }
23504
- },
23505
- {
23506
- "kind": "method",
23507
- "name": "dispatchBeforeOpenEvent",
23508
- "privacy": "protected",
23509
- "return": {
23510
- "type": {
23511
- "text": "boolean"
23512
- }
23513
- },
23514
- "inheritedFrom": {
23515
- "name": "SbbOpenCloseBaseElement",
23516
- "module": "core/base-elements/open-close-base-element.js"
23517
- }
23518
- },
23519
- {
23520
- "kind": "method",
23521
- "name": "dispatchOpenEvent",
23522
- "privacy": "protected",
23523
- "return": {
23524
- "type": {
23525
- "text": "boolean"
23526
- }
23527
- },
23528
- "inheritedFrom": {
23529
- "name": "SbbOpenCloseBaseElement",
23530
- "module": "core/base-elements/open-close-base-element.js"
23531
- }
23532
- },
23533
- {
23534
- "kind": "method",
23535
- "name": "dispatchBeforeCloseEvent",
23536
- "privacy": "protected",
23537
- "return": {
23538
- "type": {
23539
- "text": "boolean"
23540
- }
23541
- },
23542
- "inheritedFrom": {
23543
- "name": "SbbOpenCloseBaseElement",
23544
- "module": "core/base-elements/open-close-base-element.js"
23545
- }
23546
- },
23547
- {
23548
- "kind": "method",
23549
- "name": "dispatchCloseEvent",
23550
- "privacy": "protected",
23551
- "return": {
23552
- "type": {
23553
- "text": "boolean"
23554
- }
23555
- },
23556
- "inheritedFrom": {
23557
- "name": "SbbOpenCloseBaseElement",
23558
- "module": "core/base-elements/open-close-base-element.js"
23559
- }
23560
- }
23561
- ],
23562
- "attributes": [
23563
- {
23564
- "name": "trigger",
23565
- "type": {
23566
- "text": "HTMLElement | null"
23567
- },
23568
- "default": "null",
23569
- "description": "The element that will trigger the popover overlay.\n\nFor attribute usage, provide an id reference.",
23570
- "fieldName": "trigger"
23571
- },
23572
- {
23573
- "name": "open-delay",
23574
- "description": "Open the tooltip after a given delay in milliseconds.\nGlobal configuration is used as default, if not set.",
23575
- "default": "null",
23576
- "type": {
23577
- "text": "number"
23578
- },
23579
- "fieldName": "openDelay"
23580
- },
23581
- {
23582
- "name": "close-delay",
23583
- "description": "Close the tooltip after a given delay in milliseconds.\nGlobal configuration is used as default, if not set.",
23584
- "default": "null",
23585
- "type": {
23586
- "text": "number"
23587
- },
23588
- "fieldName": "closeDelay"
23589
- },
23590
- {
23591
- "name": "long-press-close-delay",
23592
- "description": "Automatically close the tooltip after it has been open by long press.\nGlobal configuration is used as default, if not set.",
23593
- "default": "1500",
23594
- "type": {
23595
- "text": "number"
23596
- },
23597
- "fieldName": "longPressCloseDelay"
23598
- },
23599
- {
23600
- "name": "disabled",
23601
- "description": "Whether the component is disabled.",
23602
- "default": "false",
23603
- "type": {
23604
- "text": "boolean"
23605
- },
23606
- "fieldName": "disabled",
23607
- "inheritedFrom": {
23608
- "name": "SbbDisabledMixin",
23609
- "module": "core/mixins/disabled-mixin.js"
23610
- }
23611
- }
23612
- ],
23613
- "mixins": [
23614
- {
23615
- "name": "SbbDisabledMixin",
23616
- "module": "core/mixins.js"
23617
- }
23618
- ],
23619
- "superclass": {
23620
- "name": "SbbOpenCloseBaseElement",
23621
- "module": "core/base-elements.js"
23622
- },
23623
- "tagName": "sbb-tooltip",
23624
- "customElement": true,
23625
- "events": [
23626
- {
23627
- "name": "beforeopen",
23628
- "type": {
23629
- "text": "Event"
23630
- },
23631
- "description": "Emits whenever the component starts the opening transition. Can be canceled.",
23632
- "inheritedFrom": {
23633
- "name": "SbbOpenCloseBaseElement",
23634
- "module": "core/base-elements/open-close-base-element.js"
23635
- }
23636
- },
23637
- {
23638
- "name": "open",
23639
- "type": {
23640
- "text": "Event"
23641
- },
23642
- "description": "Emits whenever the component is opened.",
23643
- "inheritedFrom": {
23644
- "name": "SbbOpenCloseBaseElement",
23645
- "module": "core/base-elements/open-close-base-element.js"
23646
- }
23647
- },
23648
- {
23649
- "name": "beforeclose",
23650
- "type": {
23651
- "text": "Event"
23652
- },
23653
- "description": "Emits whenever the component begins the closing transition. Can be canceled.",
23654
- "inheritedFrom": {
23655
- "name": "SbbOpenCloseBaseElement",
23656
- "module": "core/base-elements/open-close-base-element.js"
23657
- }
23658
- },
23659
- {
23660
- "name": "close",
23661
- "type": {
23662
- "text": "Event"
23663
- },
23664
- "description": "Emits whenever the component is closed.",
23665
- "inheritedFrom": {
23666
- "name": "SbbOpenCloseBaseElement",
23667
- "module": "core/base-elements/open-close-base-element.js"
23668
- }
23669
- }
23670
- ]
23671
- }
23672
- ],
23673
- "exports": [
23674
- {
23675
- "kind": "js",
23676
- "name": "SbbTooltipElement",
23677
- "declaration": {
23678
- "name": "SbbTooltipElement",
23679
- "module": "tooltip/tooltip.component.js"
23680
- }
23681
- },
23682
- {
23683
- "kind": "custom-element-definition",
23684
- "name": "sbb-tooltip",
23685
- "declaration": {
23686
- "name": "SbbTooltipElement",
23687
- "module": "tooltip/tooltip.component.js"
23688
- }
23689
- }
23690
- ]
23691
- },
23692
- {
23693
- "kind": "javascript-module",
23694
- "path": "train/train-blocked-passage.js",
23695
- "declarations": [],
23696
- "exports": [
23697
- {
23698
- "kind": "js",
23699
- "name": "*",
23700
- "declaration": {
23701
- "name": "*",
23702
- "module": "train/train-blocked-passage/train-blocked-passage.component.js"
23703
- }
23704
- }
23705
- ]
23706
- },
23707
- {
23708
- "kind": "javascript-module",
23709
- "path": "train/train-formation.js",
23710
- "declarations": [],
23711
- "exports": [
23712
- {
23713
- "kind": "js",
23714
- "name": "*",
23715
- "declaration": {
23716
- "name": "*",
23717
- "module": "train/train-formation/train-formation.component.js"
23718
- }
23719
- }
23720
- ]
23721
- },
23722
- {
23723
- "kind": "javascript-module",
23724
- "path": "train/train-wagon.js",
23725
- "declarations": [],
23726
- "exports": [
23727
- {
23728
- "kind": "js",
23729
- "name": "*",
23730
- "declaration": {
23731
- "name": "*",
23732
- "module": "train/train-wagon/train-wagon.component.js"
23733
- }
23734
- }
23735
- ]
23736
- },
23737
- {
23738
- "kind": "javascript-module",
23739
- "path": "train/train.js",
23740
- "declarations": [],
23741
- "exports": [
23742
- {
23743
- "kind": "js",
23744
- "name": "*",
23745
- "declaration": {
23746
- "name": "*",
23747
- "module": "train/train/train.component.js"
23748
- }
23749
- }
23750
- ]
23751
- },
23752
- {
23753
- "kind": "javascript-module",
23754
- "path": "visual-checkbox/visual-checkbox.component.js",
23755
- "declarations": [
23756
- {
23757
- "kind": "class",
23758
- "description": "It visually displays a non-interactive checkbox.",
23759
- "name": "SbbVisualCheckboxElement",
23760
- "members": [
23761
- {
23762
- "kind": "field",
23763
- "name": "checked",
23764
- "type": {
23765
- "text": "boolean"
23766
- },
23767
- "privacy": "public",
23768
- "default": "false",
23769
- "description": "Checked state.",
23770
- "attribute": "checked",
23771
- "reflects": true
23772
- },
23773
- {
23774
- "kind": "field",
23775
- "name": "indeterminate",
23776
- "type": {
23777
- "text": "boolean"
23778
- },
23779
- "privacy": "public",
23780
- "default": "false",
23781
- "description": "Indeterminate state.",
23782
- "attribute": "indeterminate",
23783
- "reflects": true
23784
- },
23785
- {
23786
- "kind": "field",
23787
- "name": "size",
23788
- "type": {
23789
- "text": "SbbCheckboxSize"
23790
- },
23791
- "privacy": "public",
23792
- "description": "Size of the checkbox, either xs, s or m.",
23793
- "default": "'m' / 'xs' (lean)",
23794
- "attribute": "size",
23795
- "reflects": true
23741
+ }
23742
+ ]
23743
+ }
23744
+ ],
23745
+ "exports": [
23746
+ {
23747
+ "kind": "js",
23748
+ "name": "SbbTooltipElement",
23749
+ "declaration": {
23750
+ "name": "SbbTooltipElement",
23751
+ "module": "tooltip/tooltip.component.js"
23752
+ }
23753
+ },
23754
+ {
23755
+ "kind": "custom-element-definition",
23756
+ "name": "sbb-tooltip",
23757
+ "declaration": {
23758
+ "name": "SbbTooltipElement",
23759
+ "module": "tooltip/tooltip.component.js"
23760
+ }
23761
+ }
23762
+ ]
23763
+ },
23764
+ {
23765
+ "kind": "javascript-module",
23766
+ "path": "train/train-blocked-passage.js",
23767
+ "declarations": [],
23768
+ "exports": [
23769
+ {
23770
+ "kind": "js",
23771
+ "name": "*",
23772
+ "declaration": {
23773
+ "name": "*",
23774
+ "module": "train/train-blocked-passage/train-blocked-passage.component.js"
23775
+ }
23776
+ }
23777
+ ]
23778
+ },
23779
+ {
23780
+ "kind": "javascript-module",
23781
+ "path": "train/train-formation.js",
23782
+ "declarations": [],
23783
+ "exports": [
23784
+ {
23785
+ "kind": "js",
23786
+ "name": "*",
23787
+ "declaration": {
23788
+ "name": "*",
23789
+ "module": "train/train-formation/train-formation.component.js"
23790
+ }
23791
+ }
23792
+ ]
23793
+ },
23794
+ {
23795
+ "kind": "javascript-module",
23796
+ "path": "train/train-wagon.js",
23797
+ "declarations": [],
23798
+ "exports": [
23799
+ {
23800
+ "kind": "js",
23801
+ "name": "*",
23802
+ "declaration": {
23803
+ "name": "*",
23804
+ "module": "train/train-wagon/train-wagon.component.js"
23805
+ }
23806
+ }
23807
+ ]
23808
+ },
23809
+ {
23810
+ "kind": "javascript-module",
23811
+ "path": "train/train.js",
23812
+ "declarations": [],
23813
+ "exports": [
23814
+ {
23815
+ "kind": "js",
23816
+ "name": "*",
23817
+ "declaration": {
23818
+ "name": "*",
23819
+ "module": "train/train/train.component.js"
23820
+ }
23821
+ }
23822
+ ]
23823
+ },
23824
+ {
23825
+ "kind": "javascript-module",
23826
+ "path": "visual-checkbox/visual-checkbox.component.js",
23827
+ "declarations": [
23828
+ {
23829
+ "kind": "class",
23830
+ "description": "It visually displays a non-interactive checkbox.",
23831
+ "name": "SbbVisualCheckboxElement",
23832
+ "members": [
23833
+ {
23834
+ "kind": "field",
23835
+ "name": "checked",
23836
+ "type": {
23837
+ "text": "boolean"
23838
+ },
23839
+ "privacy": "public",
23840
+ "default": "false",
23841
+ "description": "Checked state.",
23842
+ "attribute": "checked",
23843
+ "reflects": true
23844
+ },
23845
+ {
23846
+ "kind": "field",
23847
+ "name": "indeterminate",
23848
+ "type": {
23849
+ "text": "boolean"
23850
+ },
23851
+ "privacy": "public",
23852
+ "default": "false",
23853
+ "description": "Indeterminate state.",
23854
+ "attribute": "indeterminate",
23855
+ "reflects": true
23856
+ },
23857
+ {
23858
+ "kind": "field",
23859
+ "name": "size",
23860
+ "type": {
23861
+ "text": "SbbCheckboxSize"
23862
+ },
23863
+ "privacy": "public",
23864
+ "description": "Size of the checkbox, either xs, s or m.",
23865
+ "default": "'m' / 'xs' (lean)",
23866
+ "attribute": "size",
23867
+ "reflects": true
23796
23868
  },
23797
23869
  {
23798
23870
  "kind": "field",
@@ -46943,7 +47015,7 @@
46943
47015
  "declarations": [
46944
47016
  {
46945
47017
  "kind": "class",
46946
- "description": "",
47018
+ "description": "Handles the stack of overlays and closes the last opened one when pressing Escape.",
46947
47019
  "name": "SbbEscapableOverlayController",
46948
47020
  "members": [
46949
47021
  {
@@ -47679,6 +47751,240 @@
47679
47751
  }
47680
47752
  ]
47681
47753
  },
47754
+ {
47755
+ "kind": "javascript-module",
47756
+ "path": "core/controllers/overlay-position-controller.js",
47757
+ "declarations": [
47758
+ {
47759
+ "kind": "class",
47760
+ "description": "Controller for managing overlays positioning. Also acts as a polyfill when native\nCSS Anchor Positioning is not supported (enough).\nApplies unique anchor names when using native CSS Anchor Positioning\nor calculates and applies correct positions in polyfill mode.\n\nAlso, the controller sets the 'data-overlay-position' attribute on the overlay element.\nThis can be used to apply specific styles based on the current position of the overlay.\n\n### Implementation\nDefine and apply the following CSS variables on the overlay element:\n```scss\n --sbb-overlay-position-area: block-end; // Default\n --sbb-overlay-position-try-fallbacks: block-start, inline-end, inline-start; // Fallbacks\n\n position-area: var(--sbb-overlay-position-area);\n position-try-fallbacks: var(--sbb-overlay-position-try-fallbacks);\n```",
47761
+ "name": "SbbOverlayPositionController",
47762
+ "members": [
47763
+ {
47764
+ "kind": "field",
47765
+ "name": "_resizeObserver",
47766
+ "privacy": "private",
47767
+ "readonly": true
47768
+ },
47769
+ {
47770
+ "kind": "field",
47771
+ "name": "_overlay",
47772
+ "type": {
47773
+ "text": "HTMLElement"
47774
+ },
47775
+ "privacy": "private",
47776
+ "readonly": true
47777
+ },
47778
+ {
47779
+ "kind": "field",
47780
+ "name": "_abortController",
47781
+ "type": {
47782
+ "text": "AbortController | undefined"
47783
+ },
47784
+ "privacy": "private"
47785
+ },
47786
+ {
47787
+ "kind": "field",
47788
+ "name": "_anchor",
47789
+ "type": {
47790
+ "text": "HTMLElement | undefined"
47791
+ },
47792
+ "privacy": "private"
47793
+ },
47794
+ {
47795
+ "kind": "field",
47796
+ "name": "_overlayStyles",
47797
+ "type": {
47798
+ "text": "CSSStyleDeclaration | undefined"
47799
+ },
47800
+ "privacy": "private"
47801
+ },
47802
+ {
47803
+ "kind": "field",
47804
+ "name": "_frame",
47805
+ "type": {
47806
+ "text": "ReturnType<typeof requestAnimationFrame> | undefined"
47807
+ },
47808
+ "privacy": "private"
47809
+ },
47810
+ {
47811
+ "kind": "field",
47812
+ "name": "_anchorName",
47813
+ "privacy": "private",
47814
+ "default": "`--sbb-overlay-anchor-${++nextId}`"
47815
+ },
47816
+ {
47817
+ "kind": "field",
47818
+ "name": "_positions",
47819
+ "type": {
47820
+ "text": "string[]"
47821
+ },
47822
+ "privacy": "private",
47823
+ "default": "[]"
47824
+ },
47825
+ {
47826
+ "kind": "field",
47827
+ "name": "_lastPosition",
47828
+ "type": {
47829
+ "text": "string | undefined"
47830
+ },
47831
+ "privacy": "private"
47832
+ },
47833
+ {
47834
+ "kind": "field",
47835
+ "name": "currentPosition",
47836
+ "type": {
47837
+ "text": "string"
47838
+ },
47839
+ "privacy": "public",
47840
+ "description": "Get the current position. (e.g. block-end, block-start, etc.)",
47841
+ "readonly": true
47842
+ },
47843
+ {
47844
+ "kind": "method",
47845
+ "name": "hostConnected",
47846
+ "privacy": "public",
47847
+ "return": {
47848
+ "type": {
47849
+ "text": "void"
47850
+ }
47851
+ }
47852
+ },
47853
+ {
47854
+ "kind": "method",
47855
+ "name": "hostUpdate",
47856
+ "privacy": "public",
47857
+ "return": {
47858
+ "type": {
47859
+ "text": "void"
47860
+ }
47861
+ }
47862
+ },
47863
+ {
47864
+ "kind": "method",
47865
+ "name": "connect",
47866
+ "privacy": "public",
47867
+ "return": {
47868
+ "type": {
47869
+ "text": "void"
47870
+ }
47871
+ },
47872
+ "parameters": [
47873
+ {
47874
+ "name": "anchor",
47875
+ "type": {
47876
+ "text": "HTMLElement"
47877
+ },
47878
+ "description": "The anchor element."
47879
+ }
47880
+ ],
47881
+ "description": "Connects the overlay to the given trigger element and determines the optimal position.\nUsually, this is called when the overlay is opened."
47882
+ },
47883
+ {
47884
+ "kind": "method",
47885
+ "name": "disconnect",
47886
+ "privacy": "public",
47887
+ "return": {
47888
+ "type": {
47889
+ "text": "void"
47890
+ }
47891
+ }
47892
+ },
47893
+ {
47894
+ "kind": "method",
47895
+ "name": "_requestCalculatePosition",
47896
+ "privacy": "private",
47897
+ "return": {
47898
+ "type": {
47899
+ "text": "void"
47900
+ }
47901
+ }
47902
+ },
47903
+ {
47904
+ "kind": "method",
47905
+ "name": "_calculatePosition",
47906
+ "privacy": "private",
47907
+ "return": {
47908
+ "type": {
47909
+ "text": "void"
47910
+ }
47911
+ }
47912
+ },
47913
+ {
47914
+ "kind": "method",
47915
+ "name": "_getOptimalPosition",
47916
+ "privacy": "private",
47917
+ "return": {
47918
+ "type": {
47919
+ "text": "{\n left: number;\n top: number;\n position: string;\n fits?: boolean;\n }"
47920
+ }
47921
+ },
47922
+ "parameters": [
47923
+ {
47924
+ "name": "positions",
47925
+ "type": {
47926
+ "text": "string[]"
47927
+ },
47928
+ "description": "The list of positions to check."
47929
+ }
47930
+ ],
47931
+ "description": "Calculates the optimal position that fits the overlay."
47932
+ },
47933
+ {
47934
+ "kind": "method",
47935
+ "name": "_applyOverlayPosition",
47936
+ "privacy": "private",
47937
+ "return": {
47938
+ "type": {
47939
+ "text": "void"
47940
+ }
47941
+ },
47942
+ "parameters": [
47943
+ {
47944
+ "name": "position",
47945
+ "type": {
47946
+ "text": "string"
47947
+ }
47948
+ },
47949
+ {
47950
+ "name": "left",
47951
+ "type": {
47952
+ "text": "number"
47953
+ }
47954
+ },
47955
+ {
47956
+ "name": "top",
47957
+ "type": {
47958
+ "text": "number"
47959
+ }
47960
+ }
47961
+ ]
47962
+ },
47963
+ {
47964
+ "kind": "method",
47965
+ "name": "_readPositionsFromCss",
47966
+ "privacy": "private",
47967
+ "return": {
47968
+ "type": {
47969
+ "text": "void"
47970
+ }
47971
+ },
47972
+ "description": "Only used in polyfill mode.\nReads the list of the configured positions from the CSS variables."
47973
+ }
47974
+ ]
47975
+ }
47976
+ ],
47977
+ "exports": [
47978
+ {
47979
+ "kind": "js",
47980
+ "name": "SbbOverlayPositionController",
47981
+ "declaration": {
47982
+ "name": "SbbOverlayPositionController",
47983
+ "module": "core/controllers/overlay-position-controller.js"
47984
+ }
47985
+ }
47986
+ ]
47987
+ },
47682
47988
  {
47683
47989
  "kind": "javascript-module",
47684
47990
  "path": "core/controllers/slot-state-controller.js",
@@ -83851,158 +84157,1259 @@
83851
84157
  }
83852
84158
  }
83853
84159
  ],
83854
- "mixins": [
84160
+ "mixins": [
84161
+ {
84162
+ "name": "SbbDisabledInteractiveMixin",
84163
+ "module": "core/mixins.js"
84164
+ },
84165
+ {
84166
+ "name": "SbbMenuActionCommonElementMixin",
84167
+ "module": "menu/common.js"
84168
+ }
84169
+ ],
84170
+ "superclass": {
84171
+ "name": "SbbLinkBaseElement",
84172
+ "module": "core/base-elements.js"
84173
+ },
84174
+ "tagName": "sbb-menu-link",
84175
+ "customElement": true,
84176
+ "attributes": [
84177
+ {
84178
+ "name": "disabled-interactive",
84179
+ "type": {
84180
+ "text": "boolean"
84181
+ },
84182
+ "default": "false",
84183
+ "description": "Whether the button should be aria-disabled but stay interactive.",
84184
+ "fieldName": "disabledInteractive",
84185
+ "inheritedFrom": {
84186
+ "name": "SbbDisabledInteractiveMixin",
84187
+ "module": "core/mixins/disabled-mixin.js"
84188
+ }
84189
+ },
84190
+ {
84191
+ "name": "icon-name",
84192
+ "type": {
84193
+ "text": "string"
84194
+ },
84195
+ "default": "''",
84196
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
84197
+ "fieldName": "iconName",
84198
+ "inheritedFrom": {
84199
+ "name": "SbbIconNameMixin",
84200
+ "module": "icon/icon-name-mixin.js"
84201
+ }
84202
+ },
84203
+ {
84204
+ "name": "disabled",
84205
+ "description": "Whether the component is disabled.",
84206
+ "default": "false",
84207
+ "type": {
84208
+ "text": "boolean"
84209
+ },
84210
+ "fieldName": "disabled",
84211
+ "inheritedFrom": {
84212
+ "name": "SbbDisabledMixin",
84213
+ "module": "core/mixins/disabled-mixin.js"
84214
+ }
84215
+ },
84216
+ {
84217
+ "name": "href",
84218
+ "type": {
84219
+ "text": "string"
84220
+ },
84221
+ "default": "''",
84222
+ "description": "The href value you want to link to.",
84223
+ "fieldName": "href",
84224
+ "inheritedFrom": {
84225
+ "name": "SbbLinkBaseElement",
84226
+ "module": "core/base-elements/link-base-element.js"
84227
+ }
84228
+ },
84229
+ {
84230
+ "name": "target",
84231
+ "type": {
84232
+ "text": "LinkTargetType | string"
84233
+ },
84234
+ "default": "''",
84235
+ "description": "Where to display the linked URL.",
84236
+ "fieldName": "target",
84237
+ "inheritedFrom": {
84238
+ "name": "SbbLinkBaseElement",
84239
+ "module": "core/base-elements/link-base-element.js"
84240
+ }
84241
+ },
84242
+ {
84243
+ "name": "rel",
84244
+ "type": {
84245
+ "text": "string"
84246
+ },
84247
+ "default": "''",
84248
+ "description": "The relationship of the linked URL as space-separated link types.",
84249
+ "fieldName": "rel",
84250
+ "inheritedFrom": {
84251
+ "name": "SbbLinkBaseElement",
84252
+ "module": "core/base-elements/link-base-element.js"
84253
+ }
84254
+ },
84255
+ {
84256
+ "name": "download",
84257
+ "type": {
84258
+ "text": "boolean"
84259
+ },
84260
+ "default": "false",
84261
+ "description": "Whether the browser will show the download dialog on click.",
84262
+ "fieldName": "download",
84263
+ "inheritedFrom": {
84264
+ "name": "SbbLinkBaseElement",
84265
+ "module": "core/base-elements/link-base-element.js"
84266
+ }
84267
+ },
84268
+ {
84269
+ "name": "accessibility-label",
84270
+ "type": {
84271
+ "text": "string"
84272
+ },
84273
+ "default": "''",
84274
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
84275
+ "fieldName": "accessibilityLabel",
84276
+ "inheritedFrom": {
84277
+ "name": "SbbLinkBaseElement",
84278
+ "module": "core/base-elements/link-base-element.js"
84279
+ }
84280
+ },
84281
+ {
84282
+ "name": "accessibility-current",
84283
+ "type": {
84284
+ "text": "string"
84285
+ },
84286
+ "default": "''",
84287
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
84288
+ "fieldName": "accessibilityCurrent",
84289
+ "inheritedFrom": {
84290
+ "name": "SbbLinkBaseElement",
84291
+ "module": "core/base-elements/link-base-element.js"
84292
+ }
84293
+ }
84294
+ ]
84295
+ }
84296
+ ],
84297
+ "exports": [
84298
+ {
84299
+ "kind": "js",
84300
+ "name": "SbbMenuLinkElement",
84301
+ "declaration": {
84302
+ "name": "SbbMenuLinkElement",
84303
+ "module": "menu/menu-link/menu-link.component.js"
84304
+ }
84305
+ },
84306
+ {
84307
+ "kind": "custom-element-definition",
84308
+ "name": "sbb-menu-link",
84309
+ "declaration": {
84310
+ "name": "SbbMenuLinkElement",
84311
+ "module": "menu/menu-link/menu-link.component.js"
84312
+ }
84313
+ }
84314
+ ]
84315
+ },
84316
+ {
84317
+ "kind": "javascript-module",
84318
+ "path": "mini-calendar/mini-calendar/mini-calendar.component.js",
84319
+ "declarations": [
84320
+ {
84321
+ "kind": "class",
84322
+ "description": "It displays a minimal calendar, together with the `sbb-mini-calendar-month` and `sbb-mini-calendar-day`.",
84323
+ "name": "SbbMiniCalendarElement",
84324
+ "slots": [
84325
+ {
84326
+ "description": "Use the unnamed slot to add `sbb-mini-calendar-month` elements.",
84327
+ "name": ""
84328
+ }
84329
+ ],
84330
+ "members": [
84331
+ {
84332
+ "kind": "field",
84333
+ "name": "orientation",
84334
+ "type": {
84335
+ "text": "SbbOrientation"
84336
+ },
84337
+ "privacy": "public",
84338
+ "default": "'horizontal'",
84339
+ "description": "The orientation of days in the calendar.",
84340
+ "attribute": "orientation",
84341
+ "reflects": true
84342
+ },
84343
+ {
84344
+ "kind": "field",
84345
+ "name": "_keydownAbortController",
84346
+ "type": {
84347
+ "text": "AbortController | null"
84348
+ },
84349
+ "privacy": "private",
84350
+ "default": "null"
84351
+ },
84352
+ {
84353
+ "kind": "field",
84354
+ "name": "_dateAdapter",
84355
+ "type": {
84356
+ "text": "DateAdapter<T>"
84357
+ },
84358
+ "privacy": "private"
84359
+ },
84360
+ {
84361
+ "kind": "method",
84362
+ "name": "_getMiniCalendarMonths",
84363
+ "privacy": "private",
84364
+ "return": {
84365
+ "type": {
84366
+ "text": "SbbMiniCalendarMonthElement[]"
84367
+ }
84368
+ }
84369
+ },
84370
+ {
84371
+ "kind": "method",
84372
+ "name": "_getMiniCalendarDays",
84373
+ "privacy": "private",
84374
+ "return": {
84375
+ "type": {
84376
+ "text": "SbbMiniCalendarDayElement[]"
84377
+ }
84378
+ }
84379
+ },
84380
+ {
84381
+ "kind": "method",
84382
+ "name": "_setMonthsShowYear",
84383
+ "privacy": "private",
84384
+ "return": {
84385
+ "type": {
84386
+ "text": "void"
84387
+ }
84388
+ }
84389
+ },
84390
+ {
84391
+ "kind": "method",
84392
+ "name": "_handleKeydownCalendarDay",
84393
+ "privacy": "private",
84394
+ "return": {
84395
+ "type": {
84396
+ "text": "void"
84397
+ }
84398
+ },
84399
+ "parameters": [
84400
+ {
84401
+ "name": "event",
84402
+ "type": {
84403
+ "text": "KeyboardEvent"
84404
+ }
84405
+ }
84406
+ ]
84407
+ },
84408
+ {
84409
+ "kind": "method",
84410
+ "name": "_navigateByKeyboardDayView",
84411
+ "privacy": "private",
84412
+ "return": {
84413
+ "type": {
84414
+ "text": "SbbMiniCalendarDayElement"
84415
+ }
84416
+ },
84417
+ "parameters": [
84418
+ {
84419
+ "name": "days",
84420
+ "type": {
84421
+ "text": "SbbMiniCalendarDayElement[]"
84422
+ }
84423
+ },
84424
+ {
84425
+ "name": "day",
84426
+ "type": {
84427
+ "text": "SbbMiniCalendarDayElement"
84428
+ }
84429
+ },
84430
+ {
84431
+ "name": "event",
84432
+ "type": {
84433
+ "text": "KeyboardEvent"
84434
+ }
84435
+ }
84436
+ ]
84437
+ },
84438
+ {
84439
+ "kind": "method",
84440
+ "name": "_findDayArrowKeys",
84441
+ "privacy": "private",
84442
+ "return": {
84443
+ "type": {
84444
+ "text": "SbbMiniCalendarDayElement"
84445
+ }
84446
+ },
84447
+ "parameters": [
84448
+ {
84449
+ "name": "days",
84450
+ "type": {
84451
+ "text": "SbbMiniCalendarDayElement[]"
84452
+ }
84453
+ },
84454
+ {
84455
+ "name": "day",
84456
+ "type": {
84457
+ "text": "SbbMiniCalendarDayElement"
84458
+ }
84459
+ },
84460
+ {
84461
+ "name": "delta",
84462
+ "type": {
84463
+ "text": "number"
84464
+ }
84465
+ }
84466
+ ]
84467
+ },
84468
+ {
84469
+ "kind": "method",
84470
+ "name": "_findDaySpecialKeys",
84471
+ "privacy": "private",
84472
+ "return": {
84473
+ "type": {
84474
+ "text": "SbbMiniCalendarDayElement"
84475
+ }
84476
+ },
84477
+ "parameters": [
84478
+ {
84479
+ "name": "days",
84480
+ "type": {
84481
+ "text": "SbbMiniCalendarDayElement[]"
84482
+ }
84483
+ },
84484
+ {
84485
+ "name": "day",
84486
+ "type": {
84487
+ "text": "SbbMiniCalendarDayElement"
84488
+ }
84489
+ },
84490
+ {
84491
+ "name": "delta",
84492
+ "type": {
84493
+ "text": "number"
84494
+ }
84495
+ },
84496
+ {
84497
+ "name": "recursiveDelta",
84498
+ "type": {
84499
+ "text": "number"
84500
+ }
84501
+ }
84502
+ ]
84503
+ },
84504
+ {
84505
+ "kind": "method",
84506
+ "name": "_handleSlotchange",
84507
+ "privacy": "private",
84508
+ "return": {
84509
+ "type": {
84510
+ "text": "void"
84511
+ }
84512
+ }
84513
+ },
84514
+ {
84515
+ "kind": "method",
84516
+ "name": "_setupKeydownListener",
84517
+ "privacy": "private",
84518
+ "return": {
84519
+ "type": {
84520
+ "text": "void"
84521
+ }
84522
+ }
84523
+ }
84524
+ ],
84525
+ "attributes": [
84526
+ {
84527
+ "name": "orientation",
84528
+ "type": {
84529
+ "text": "SbbOrientation"
84530
+ },
84531
+ "default": "'horizontal'",
84532
+ "description": "The orientation of days in the calendar.",
84533
+ "fieldName": "orientation"
84534
+ }
84535
+ ],
84536
+ "superclass": {
84537
+ "name": "LitElement",
84538
+ "package": "lit"
84539
+ },
84540
+ "classGenerics": "T = Date",
84541
+ "tagName": "sbb-mini-calendar",
84542
+ "customElement": true
84543
+ }
84544
+ ],
84545
+ "exports": [
84546
+ {
84547
+ "kind": "js",
84548
+ "name": "SbbMiniCalendarElement",
84549
+ "declaration": {
84550
+ "name": "SbbMiniCalendarElement",
84551
+ "module": "mini-calendar/mini-calendar/mini-calendar.component.js"
84552
+ }
84553
+ },
84554
+ {
84555
+ "kind": "custom-element-definition",
84556
+ "name": "sbb-mini-calendar",
84557
+ "declaration": {
84558
+ "name": "SbbMiniCalendarElement",
84559
+ "module": "mini-calendar/mini-calendar/mini-calendar.component.js"
84560
+ }
84561
+ }
84562
+ ]
84563
+ },
84564
+ {
84565
+ "kind": "javascript-module",
84566
+ "path": "mini-calendar/mini-calendar-day/mini-calendar-day.component.js",
84567
+ "declarations": [
84568
+ {
84569
+ "kind": "class",
84570
+ "description": "It displays a day in the `sbb-mini-calendar-month`.",
84571
+ "name": "SbbMiniCalendarDayElement",
84572
+ "members": [
84573
+ {
84574
+ "kind": "field",
84575
+ "name": "_dateAdapter",
84576
+ "type": {
84577
+ "text": "DateAdapter<T>"
84578
+ },
84579
+ "privacy": "private"
84580
+ },
84581
+ {
84582
+ "kind": "field",
84583
+ "name": "date",
84584
+ "type": {
84585
+ "text": "string"
84586
+ },
84587
+ "privacy": "public",
84588
+ "default": "''",
84589
+ "description": "Date as ISO string (YYYY-MM-DD)",
84590
+ "attribute": "date"
84591
+ },
84592
+ {
84593
+ "kind": "field",
84594
+ "name": "marker",
84595
+ "type": {
84596
+ "text": "'target' | 'circle' | 'slash' | 'cross' | string"
84597
+ },
84598
+ "privacy": "public",
84599
+ "default": "''",
84600
+ "description": "The type of the marker.",
84601
+ "attribute": "marker",
84602
+ "reflects": true
84603
+ },
84604
+ {
84605
+ "kind": "field",
84606
+ "name": "color",
84607
+ "type": {
84608
+ "text": "'charcoal' | 'cloud' | 'orange' | 'red' | 'sky' | string"
84609
+ },
84610
+ "privacy": "public",
84611
+ "default": "''",
84612
+ "description": "The color of the marker.",
84613
+ "attribute": "color",
84614
+ "reflects": true
84615
+ },
84616
+ {
84617
+ "kind": "method",
84618
+ "name": "renderTemplate",
84619
+ "privacy": "protected",
84620
+ "return": {
84621
+ "type": {
84622
+ "text": "TemplateResult"
84623
+ }
84624
+ },
84625
+ "description": "Override this method to render the component template.",
84626
+ "inheritedFrom": {
84627
+ "name": "SbbActionBaseElement",
84628
+ "module": "core/base-elements/action-base-element.js"
84629
+ }
84630
+ },
84631
+ {
84632
+ "kind": "field",
84633
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
84634
+ "type": {
84635
+ "text": "array"
84636
+ },
84637
+ "privacy": "private",
84638
+ "readonly": true,
84639
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
84640
+ "inheritedFrom": {
84641
+ "name": "SbbButtonBaseElement",
84642
+ "module": "core/base-elements/button-base-element.js"
84643
+ }
84644
+ },
84645
+ {
84646
+ "kind": "field",
84647
+ "name": "value",
84648
+ "type": {
84649
+ "text": "string"
84650
+ },
84651
+ "privacy": "public",
84652
+ "inheritedFrom": {
84653
+ "name": "SbbButtonBaseElement",
84654
+ "module": "core/base-elements/button-base-element.js"
84655
+ },
84656
+ "default": "''",
84657
+ "description": "Value of the form element.",
84658
+ "attribute": "value"
84659
+ },
84660
+ {
84661
+ "kind": "field",
84662
+ "name": "type",
84663
+ "privacy": "public",
84664
+ "description": "The type attribute to use for the button.",
84665
+ "default": "'button'",
84666
+ "type": {
84667
+ "text": "SbbButtonType"
84668
+ },
84669
+ "attribute": "type",
84670
+ "inheritedFrom": {
84671
+ "name": "SbbButtonBaseElement",
84672
+ "module": "core/base-elements/button-base-element.js"
84673
+ }
84674
+ },
84675
+ {
84676
+ "kind": "field",
84677
+ "name": "form",
84678
+ "type": {
84679
+ "text": "HTMLFormElement | null"
84680
+ },
84681
+ "privacy": "public",
84682
+ "description": "The `<form>` element to associate the button with.",
84683
+ "inheritedFrom": {
84684
+ "name": "SbbButtonBaseElement",
84685
+ "module": "core/base-elements/button-base-element.js"
84686
+ },
84687
+ "attribute": "form"
84688
+ },
84689
+ {
84690
+ "kind": "field",
84691
+ "name": "_formId",
84692
+ "type": {
84693
+ "text": "string"
84694
+ },
84695
+ "privacy": "private",
84696
+ "default": "''",
84697
+ "inheritedFrom": {
84698
+ "name": "SbbButtonBaseElement",
84699
+ "module": "core/base-elements/button-base-element.js"
84700
+ }
84701
+ },
84702
+ {
84703
+ "kind": "field",
84704
+ "name": "_handleButtonClick",
84705
+ "privacy": "private",
84706
+ "inheritedFrom": {
84707
+ "name": "SbbButtonBaseElement",
84708
+ "module": "core/base-elements/button-base-element.js"
84709
+ }
84710
+ },
84711
+ {
84712
+ "kind": "method",
84713
+ "name": "_requestSubmit",
84714
+ "privacy": "private",
84715
+ "return": {
84716
+ "type": {
84717
+ "text": "void"
84718
+ }
84719
+ },
84720
+ "parameters": [
84721
+ {
84722
+ "name": "form",
84723
+ "type": {
84724
+ "text": "HTMLFormElement"
84725
+ }
84726
+ }
84727
+ ],
84728
+ "inheritedFrom": {
84729
+ "name": "SbbButtonBaseElement",
84730
+ "module": "core/base-elements/button-base-element.js"
84731
+ }
84732
+ },
84733
+ {
84734
+ "kind": "field",
84735
+ "name": "_formKeyDown",
84736
+ "privacy": "private",
84737
+ "inheritedFrom": {
84738
+ "name": "SbbButtonBaseElement",
84739
+ "module": "core/base-elements/button-base-element.js"
84740
+ }
84741
+ },
84742
+ {
84743
+ "kind": "field",
84744
+ "name": "formAssociated",
84745
+ "type": {
84746
+ "text": "boolean"
84747
+ },
84748
+ "privacy": "public",
84749
+ "static": true,
84750
+ "default": "true",
84751
+ "inheritedFrom": {
84752
+ "name": "SbbFormAssociatedMixin",
84753
+ "module": "core/mixins/form-associated-mixin.js"
84754
+ }
84755
+ },
84756
+ {
84757
+ "kind": "field",
84758
+ "name": "name",
84759
+ "privacy": "public",
84760
+ "description": "Name of the form element. Will be read from name attribute.",
84761
+ "type": {
84762
+ "text": "string"
84763
+ },
84764
+ "attribute": "name",
84765
+ "inheritedFrom": {
84766
+ "name": "SbbFormAssociatedMixin",
84767
+ "module": "core/mixins/form-associated-mixin.js"
84768
+ }
84769
+ },
84770
+ {
84771
+ "kind": "field",
84772
+ "name": "validity",
84773
+ "type": {
84774
+ "text": "ValidityState"
84775
+ },
84776
+ "privacy": "public",
84777
+ "description": "Returns the ValidityState object for this element.",
84778
+ "readonly": true,
84779
+ "inheritedFrom": {
84780
+ "name": "SbbFormAssociatedMixin",
84781
+ "module": "core/mixins/form-associated-mixin.js"
84782
+ }
84783
+ },
84784
+ {
84785
+ "kind": "field",
84786
+ "name": "validationMessage",
84787
+ "type": {
84788
+ "text": "string"
84789
+ },
84790
+ "privacy": "public",
84791
+ "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also a custom validity message\n(see below) has precedence over native validation messages.",
84792
+ "readonly": true,
84793
+ "inheritedFrom": {
84794
+ "name": "SbbFormAssociatedMixin",
84795
+ "module": "core/mixins/form-associated-mixin.js"
84796
+ }
84797
+ },
84798
+ {
84799
+ "kind": "field",
84800
+ "name": "willValidate",
84801
+ "type": {
84802
+ "text": "boolean"
84803
+ },
84804
+ "privacy": "public",
84805
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
84806
+ "readonly": true,
84807
+ "inheritedFrom": {
84808
+ "name": "SbbFormAssociatedMixin",
84809
+ "module": "core/mixins/form-associated-mixin.js"
84810
+ }
84811
+ },
84812
+ {
84813
+ "kind": "field",
84814
+ "name": "_validityStates",
84815
+ "privacy": "private",
84816
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
84817
+ "inheritedFrom": {
84818
+ "name": "SbbFormAssociatedMixin",
84819
+ "module": "core/mixins/form-associated-mixin.js"
84820
+ }
84821
+ },
84822
+ {
84823
+ "kind": "field",
84824
+ "name": "formDisabled",
84825
+ "type": {
84826
+ "text": "boolean"
84827
+ },
84828
+ "privacy": "protected",
84829
+ "default": "false",
84830
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
84831
+ "inheritedFrom": {
84832
+ "name": "SbbFormAssociatedMixin",
84833
+ "module": "core/mixins/form-associated-mixin.js"
84834
+ }
84835
+ },
84836
+ {
84837
+ "kind": "method",
84838
+ "name": "checkValidity",
84839
+ "privacy": "public",
84840
+ "return": {
84841
+ "type": {
84842
+ "text": "boolean"
84843
+ }
84844
+ },
84845
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
84846
+ "inheritedFrom": {
84847
+ "name": "SbbFormAssociatedMixin",
84848
+ "module": "core/mixins/form-associated-mixin.js"
84849
+ }
84850
+ },
84851
+ {
84852
+ "kind": "method",
84853
+ "name": "reportValidity",
84854
+ "privacy": "public",
84855
+ "return": {
84856
+ "type": {
84857
+ "text": "boolean"
84858
+ }
84859
+ },
84860
+ "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
84861
+ "inheritedFrom": {
84862
+ "name": "SbbFormAssociatedMixin",
84863
+ "module": "core/mixins/form-associated-mixin.js"
84864
+ }
84865
+ },
84866
+ {
84867
+ "kind": "method",
84868
+ "name": "setCustomValidity",
84869
+ "privacy": "public",
84870
+ "return": {
84871
+ "type": {
84872
+ "text": "void"
84873
+ }
84874
+ },
84875
+ "parameters": [
84876
+ {
84877
+ "name": "message",
84878
+ "type": {
84879
+ "text": "string"
84880
+ }
84881
+ }
84882
+ ],
84883
+ "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
84884
+ "inheritedFrom": {
84885
+ "name": "SbbFormAssociatedMixin",
84886
+ "module": "core/mixins/form-associated-mixin.js"
84887
+ }
84888
+ },
84889
+ {
84890
+ "kind": "method",
84891
+ "name": "_hasDisabledAncestor",
84892
+ "privacy": "private",
84893
+ "return": {
84894
+ "type": {
84895
+ "text": "boolean"
84896
+ }
84897
+ },
84898
+ "inheritedFrom": {
84899
+ "name": "SbbFormAssociatedMixin",
84900
+ "module": "core/mixins/form-associated-mixin.js"
84901
+ }
84902
+ },
84903
+ {
84904
+ "kind": "method",
84905
+ "name": "updateFormValue",
84906
+ "privacy": "protected",
84907
+ "return": {
84908
+ "type": {
84909
+ "text": "void"
84910
+ }
84911
+ },
84912
+ "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
84913
+ "inheritedFrom": {
84914
+ "name": "SbbFormAssociatedMixin",
84915
+ "module": "core/mixins/form-associated-mixin.js"
84916
+ }
84917
+ },
84918
+ {
84919
+ "kind": "method",
84920
+ "name": "formState",
84921
+ "privacy": "protected",
84922
+ "return": {
84923
+ "type": {
84924
+ "text": "FormRestoreState"
84925
+ }
84926
+ },
84927
+ "inheritedFrom": {
84928
+ "name": "SbbFormAssociatedMixin",
84929
+ "module": "core/mixins/form-associated-mixin.js"
84930
+ }
84931
+ },
84932
+ {
84933
+ "kind": "method",
84934
+ "name": "setValidityFlag",
84935
+ "privacy": "protected",
84936
+ "return": {
84937
+ "type": {
84938
+ "text": "void"
84939
+ }
84940
+ },
84941
+ "parameters": [
84942
+ {
84943
+ "name": "flag",
84944
+ "type": {
84945
+ "text": "T"
84946
+ }
84947
+ },
84948
+ {
84949
+ "name": "message",
84950
+ "type": {
84951
+ "text": "string"
84952
+ }
84953
+ },
84954
+ {
84955
+ "name": "flagValue",
84956
+ "optional": true,
84957
+ "type": {
84958
+ "text": "ValidityStateFlags[T]"
84959
+ }
84960
+ }
84961
+ ],
84962
+ "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
84963
+ "inheritedFrom": {
84964
+ "name": "SbbFormAssociatedMixin",
84965
+ "module": "core/mixins/form-associated-mixin.js"
84966
+ }
84967
+ },
84968
+ {
84969
+ "kind": "method",
84970
+ "name": "removeValidityFlag",
84971
+ "privacy": "protected",
84972
+ "return": {
84973
+ "type": {
84974
+ "text": "void"
84975
+ }
84976
+ },
84977
+ "parameters": [
84978
+ {
84979
+ "name": "flag",
84980
+ "type": {
84981
+ "text": "T"
84982
+ }
84983
+ }
84984
+ ],
84985
+ "description": "Removes the validity state flag entry and updates validity state.",
84986
+ "inheritedFrom": {
84987
+ "name": "SbbFormAssociatedMixin",
84988
+ "module": "core/mixins/form-associated-mixin.js"
84989
+ }
84990
+ },
84991
+ {
84992
+ "kind": "method",
84993
+ "name": "validate",
84994
+ "privacy": "protected",
84995
+ "return": {
84996
+ "type": {
84997
+ "text": "void"
84998
+ }
84999
+ },
85000
+ "description": "To be called whenever the current element needs to be validated.",
85001
+ "inheritedFrom": {
85002
+ "name": "SbbFormAssociatedMixin",
85003
+ "module": "core/mixins/form-associated-mixin.js"
85004
+ }
85005
+ },
85006
+ {
85007
+ "kind": "method",
85008
+ "name": "shouldValidate",
85009
+ "privacy": "protected",
85010
+ "return": {
85011
+ "type": {
85012
+ "text": "boolean"
85013
+ }
85014
+ },
85015
+ "parameters": [
85016
+ {
85017
+ "name": "name",
85018
+ "type": {
85019
+ "text": "PropertyKey | undefined"
85020
+ }
85021
+ }
85022
+ ],
85023
+ "description": "Whether validation should be run on a property change with the given name.",
85024
+ "inheritedFrom": {
85025
+ "name": "SbbFormAssociatedMixin",
85026
+ "module": "core/mixins/form-associated-mixin.js"
85027
+ }
85028
+ },
85029
+ {
85030
+ "kind": "method",
85031
+ "name": "_setInternalValidity",
85032
+ "privacy": "private",
85033
+ "return": {
85034
+ "type": {
85035
+ "text": "void"
85036
+ }
85037
+ },
85038
+ "inheritedFrom": {
85039
+ "name": "SbbFormAssociatedMixin",
85040
+ "module": "core/mixins/form-associated-mixin.js"
85041
+ }
85042
+ },
85043
+ {
85044
+ "kind": "field",
85045
+ "name": "role",
85046
+ "type": {
85047
+ "text": "ElementInternals['role']"
85048
+ },
85049
+ "privacy": "public",
85050
+ "static": true,
85051
+ "readonly": true,
85052
+ "default": "'button'",
85053
+ "inheritedFrom": {
85054
+ "name": "SbbButtonLikeBaseElement",
85055
+ "module": "core/base-elements/button-base-element.js"
85056
+ }
85057
+ },
85058
+ {
85059
+ "kind": "field",
85060
+ "name": "_preventScrollOnSpaceKeydown",
85061
+ "privacy": "private",
85062
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets data-active attribute.",
85063
+ "parameters": [
85064
+ {
85065
+ "description": "The origin event.",
85066
+ "name": "event"
85067
+ }
85068
+ ],
85069
+ "inheritedFrom": {
85070
+ "name": "SbbButtonLikeBaseElement",
85071
+ "module": "core/base-elements/button-base-element.js"
85072
+ }
85073
+ },
85074
+ {
85075
+ "kind": "field",
85076
+ "name": "_removeActiveMarker",
85077
+ "privacy": "private",
85078
+ "inheritedFrom": {
85079
+ "name": "SbbButtonLikeBaseElement",
85080
+ "module": "core/base-elements/button-base-element.js"
85081
+ }
85082
+ },
85083
+ {
85084
+ "kind": "field",
85085
+ "name": "_dispatchClickEventOnSpaceKeyup",
85086
+ "privacy": "private",
85087
+ "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
85088
+ "parameters": [
85089
+ {
85090
+ "description": "The origin event.",
85091
+ "name": "event"
85092
+ }
85093
+ ],
85094
+ "inheritedFrom": {
85095
+ "name": "SbbButtonLikeBaseElement",
85096
+ "module": "core/base-elements/button-base-element.js"
85097
+ }
85098
+ },
85099
+ {
85100
+ "kind": "field",
85101
+ "name": "_dispatchClickEvent",
85102
+ "privacy": "private",
85103
+ "inheritedFrom": {
85104
+ "name": "SbbButtonLikeBaseElement",
85105
+ "module": "core/base-elements/button-base-element.js"
85106
+ }
85107
+ },
85108
+ {
85109
+ "kind": "method",
85110
+ "name": "toggleState",
85111
+ "privacy": "protected",
85112
+ "return": {
85113
+ "type": {
85114
+ "text": "void"
85115
+ }
85116
+ },
85117
+ "parameters": [
85118
+ {
85119
+ "name": "state",
85120
+ "type": {
85121
+ "text": "string"
85122
+ }
85123
+ },
85124
+ {
85125
+ "name": "force",
85126
+ "optional": true,
85127
+ "type": {
85128
+ "text": "boolean"
85129
+ }
85130
+ }
85131
+ ],
85132
+ "inheritedFrom": {
85133
+ "name": "SbbActionBaseElement",
85134
+ "module": "core/base-elements/action-base-element.js"
85135
+ }
85136
+ },
85137
+ {
85138
+ "kind": "field",
85139
+ "name": "maybeDisabled",
85140
+ "type": {
85141
+ "text": "boolean | undefined"
85142
+ },
85143
+ "privacy": "protected",
85144
+ "readonly": true,
85145
+ "inheritedFrom": {
85146
+ "name": "SbbActionBaseElement",
85147
+ "module": "core/base-elements/action-base-element.js"
85148
+ }
85149
+ },
85150
+ {
85151
+ "kind": "field",
85152
+ "name": "maybeDisabledInteractive",
85153
+ "type": {
85154
+ "text": "boolean | undefined"
85155
+ },
85156
+ "privacy": "protected",
85157
+ "readonly": true,
85158
+ "inheritedFrom": {
85159
+ "name": "SbbActionBaseElement",
85160
+ "module": "core/base-elements/action-base-element.js"
85161
+ }
85162
+ },
85163
+ {
85164
+ "kind": "method",
85165
+ "name": "setupBaseEventHandlers",
85166
+ "privacy": "protected",
85167
+ "return": {
85168
+ "type": {
85169
+ "text": "void"
85170
+ }
85171
+ },
85172
+ "inheritedFrom": {
85173
+ "name": "SbbActionBaseElement",
85174
+ "module": "core/base-elements/action-base-element.js"
85175
+ }
85176
+ }
85177
+ ],
85178
+ "attributes": [
83855
85179
  {
83856
- "name": "SbbDisabledInteractiveMixin",
83857
- "module": "core/mixins.js"
85180
+ "name": "date",
85181
+ "type": {
85182
+ "text": "string"
85183
+ },
85184
+ "default": "''",
85185
+ "description": "Date as ISO string (YYYY-MM-DD)",
85186
+ "fieldName": "date"
83858
85187
  },
83859
85188
  {
83860
- "name": "SbbMenuActionCommonElementMixin",
83861
- "module": "menu/common.js"
83862
- }
83863
- ],
83864
- "superclass": {
83865
- "name": "SbbLinkBaseElement",
83866
- "module": "core/base-elements.js"
83867
- },
83868
- "tagName": "sbb-menu-link",
83869
- "customElement": true,
83870
- "attributes": [
85189
+ "name": "marker",
85190
+ "type": {
85191
+ "text": "'target' | 'circle' | 'slash' | 'cross' | string"
85192
+ },
85193
+ "default": "''",
85194
+ "description": "The type of the marker.",
85195
+ "fieldName": "marker"
85196
+ },
83871
85197
  {
83872
- "name": "disabled-interactive",
85198
+ "name": "color",
83873
85199
  "type": {
83874
- "text": "boolean"
85200
+ "text": "'charcoal' | 'cloud' | 'orange' | 'red' | 'sky' | string"
83875
85201
  },
83876
- "default": "false",
83877
- "description": "Whether the button should be aria-disabled but stay interactive.",
83878
- "fieldName": "disabledInteractive",
83879
- "inheritedFrom": {
83880
- "name": "SbbDisabledInteractiveMixin",
83881
- "module": "core/mixins/disabled-mixin.js"
83882
- }
85202
+ "default": "''",
85203
+ "description": "The color of the marker.",
85204
+ "fieldName": "color"
83883
85205
  },
83884
85206
  {
83885
- "name": "icon-name",
85207
+ "name": "value",
83886
85208
  "type": {
83887
85209
  "text": "string"
83888
85210
  },
83889
85211
  "default": "''",
83890
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
83891
- "fieldName": "iconName",
85212
+ "description": "Value of the form element.",
85213
+ "fieldName": "value",
83892
85214
  "inheritedFrom": {
83893
- "name": "SbbIconNameMixin",
83894
- "module": "icon/icon-name-mixin.js"
85215
+ "name": "SbbButtonBaseElement",
85216
+ "module": "core/base-elements/button-base-element.js"
83895
85217
  }
83896
85218
  },
83897
85219
  {
83898
- "name": "disabled",
83899
- "description": "Whether the component is disabled.",
83900
- "default": "false",
85220
+ "name": "type",
85221
+ "description": "The type attribute to use for the button.",
85222
+ "default": "'button'",
83901
85223
  "type": {
83902
- "text": "boolean"
85224
+ "text": "SbbButtonType"
83903
85225
  },
83904
- "fieldName": "disabled",
85226
+ "fieldName": "type",
83905
85227
  "inheritedFrom": {
83906
- "name": "SbbDisabledMixin",
83907
- "module": "core/mixins/disabled-mixin.js"
85228
+ "name": "SbbButtonBaseElement",
85229
+ "module": "core/base-elements/button-base-element.js"
83908
85230
  }
83909
85231
  },
83910
85232
  {
83911
- "name": "href",
85233
+ "name": "form",
85234
+ "description": "The `<form>` element to associate the button with.",
83912
85235
  "type": {
83913
- "text": "string"
85236
+ "text": "HTMLFormElement | null"
83914
85237
  },
83915
- "default": "''",
83916
- "description": "The href value you want to link to.",
83917
- "fieldName": "href",
85238
+ "fieldName": "form",
83918
85239
  "inheritedFrom": {
83919
- "name": "SbbLinkBaseElement",
83920
- "module": "core/base-elements/link-base-element.js"
85240
+ "name": "SbbButtonBaseElement",
85241
+ "module": "core/base-elements/button-base-element.js"
83921
85242
  }
83922
85243
  },
83923
85244
  {
83924
- "name": "target",
85245
+ "name": "name",
85246
+ "description": "Name of the form element. Will be read from name attribute.",
83925
85247
  "type": {
83926
- "text": "LinkTargetType | string"
85248
+ "text": "string"
83927
85249
  },
83928
- "default": "''",
83929
- "description": "Where to display the linked URL.",
83930
- "fieldName": "target",
85250
+ "fieldName": "name",
83931
85251
  "inheritedFrom": {
83932
- "name": "SbbLinkBaseElement",
83933
- "module": "core/base-elements/link-base-element.js"
85252
+ "name": "SbbFormAssociatedMixin",
85253
+ "module": "core/mixins/form-associated-mixin.js"
83934
85254
  }
83935
- },
85255
+ }
85256
+ ],
85257
+ "superclass": {
85258
+ "name": "SbbButtonBaseElement",
85259
+ "module": "core/base-elements.js"
85260
+ },
85261
+ "classGenerics": "T = Date",
85262
+ "tagName": "sbb-mini-calendar-day",
85263
+ "customElement": true
85264
+ }
85265
+ ],
85266
+ "exports": [
85267
+ {
85268
+ "kind": "js",
85269
+ "name": "SbbMiniCalendarDayElement",
85270
+ "declaration": {
85271
+ "name": "SbbMiniCalendarDayElement",
85272
+ "module": "mini-calendar/mini-calendar-day/mini-calendar-day.component.js"
85273
+ }
85274
+ },
85275
+ {
85276
+ "kind": "custom-element-definition",
85277
+ "name": "sbb-mini-calendar-day",
85278
+ "declaration": {
85279
+ "name": "SbbMiniCalendarDayElement",
85280
+ "module": "mini-calendar/mini-calendar-day/mini-calendar-day.component.js"
85281
+ }
85282
+ }
85283
+ ]
85284
+ },
85285
+ {
85286
+ "kind": "javascript-module",
85287
+ "path": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js",
85288
+ "declarations": [
85289
+ {
85290
+ "kind": "class",
85291
+ "description": "It displays a month in the `sbb-mini-calendar`.",
85292
+ "name": "SbbMiniCalendarMonthElement",
85293
+ "slots": [
83936
85294
  {
83937
- "name": "rel",
85295
+ "description": "Use the unnamed slot to add `sbb-mini-calendar-day` elements.",
85296
+ "name": ""
85297
+ }
85298
+ ],
85299
+ "members": [
85300
+ {
85301
+ "kind": "field",
85302
+ "name": "date",
83938
85303
  "type": {
83939
85304
  "text": "string"
83940
85305
  },
85306
+ "privacy": "public",
83941
85307
  "default": "''",
83942
- "description": "The relationship of the linked URL as space-separated link types.",
83943
- "fieldName": "rel",
83944
- "inheritedFrom": {
83945
- "name": "SbbLinkBaseElement",
83946
- "module": "core/base-elements/link-base-element.js"
83947
- }
85308
+ "description": "Date as ISO string (YYYY-MM-DD)",
85309
+ "attribute": "date"
83948
85310
  },
83949
85311
  {
83950
- "name": "download",
85312
+ "kind": "field",
85313
+ "name": "_dateAdapter",
83951
85314
  "type": {
83952
- "text": "boolean"
85315
+ "text": "DateAdapter<T>"
83953
85316
  },
83954
- "default": "false",
83955
- "description": "Whether the browser will show the download dialog on click.",
83956
- "fieldName": "download",
83957
- "inheritedFrom": {
83958
- "name": "SbbLinkBaseElement",
83959
- "module": "core/base-elements/link-base-element.js"
83960
- }
85317
+ "privacy": "private"
83961
85318
  },
83962
85319
  {
83963
- "name": "accessibility-label",
85320
+ "kind": "field",
85321
+ "name": "_monthNames",
85322
+ "privacy": "private"
85323
+ },
85324
+ {
85325
+ "kind": "field",
85326
+ "name": "_monthLabel",
83964
85327
  "type": {
83965
- "text": "string"
85328
+ "text": "string | null"
83966
85329
  },
83967
- "default": "''",
83968
- "description": "This will be forwarded as aria-label to the inner anchor element.",
83969
- "fieldName": "accessibilityLabel",
85330
+ "privacy": "private",
85331
+ "default": "null"
85332
+ },
85333
+ {
85334
+ "kind": "field",
85335
+ "name": "_yearLabel",
85336
+ "type": {
85337
+ "text": "string | null"
85338
+ },
85339
+ "privacy": "private",
85340
+ "default": "null"
85341
+ },
85342
+ {
85343
+ "kind": "method",
85344
+ "name": "toggleState",
85345
+ "privacy": "protected",
85346
+ "return": {
85347
+ "type": {
85348
+ "text": "void"
85349
+ }
85350
+ },
85351
+ "parameters": [
85352
+ {
85353
+ "name": "state",
85354
+ "type": {
85355
+ "text": "string"
85356
+ }
85357
+ },
85358
+ {
85359
+ "name": "force",
85360
+ "optional": true,
85361
+ "type": {
85362
+ "text": "boolean"
85363
+ }
85364
+ }
85365
+ ],
83970
85366
  "inheritedFrom": {
83971
- "name": "SbbLinkBaseElement",
83972
- "module": "core/base-elements/link-base-element.js"
85367
+ "name": "SbbElementInternalsMixin",
85368
+ "module": "core/mixins/element-internals-mixin.js"
83973
85369
  }
83974
- },
85370
+ }
85371
+ ],
85372
+ "attributes": [
83975
85373
  {
83976
- "name": "accessibility-current",
85374
+ "name": "date",
83977
85375
  "type": {
83978
85376
  "text": "string"
83979
85377
  },
83980
85378
  "default": "''",
83981
- "description": "This will be forwarded as aria-current to the inner anchor element.",
83982
- "fieldName": "accessibilityCurrent",
83983
- "inheritedFrom": {
83984
- "name": "SbbLinkBaseElement",
83985
- "module": "core/base-elements/link-base-element.js"
83986
- }
85379
+ "description": "Date as ISO string (YYYY-MM-DD)",
85380
+ "fieldName": "date"
83987
85381
  }
83988
- ]
85382
+ ],
85383
+ "mixins": [
85384
+ {
85385
+ "name": "SbbElementInternalsMixin",
85386
+ "module": "core/mixins.js"
85387
+ }
85388
+ ],
85389
+ "superclass": {
85390
+ "name": "LitElement",
85391
+ "package": "lit"
85392
+ },
85393
+ "classGenerics": "T = Date",
85394
+ "tagName": "sbb-mini-calendar-month",
85395
+ "customElement": true
83989
85396
  }
83990
85397
  ],
83991
85398
  "exports": [
83992
85399
  {
83993
85400
  "kind": "js",
83994
- "name": "SbbMenuLinkElement",
85401
+ "name": "SbbMiniCalendarMonthElement",
83995
85402
  "declaration": {
83996
- "name": "SbbMenuLinkElement",
83997
- "module": "menu/menu-link/menu-link.component.js"
85403
+ "name": "SbbMiniCalendarMonthElement",
85404
+ "module": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js"
83998
85405
  }
83999
85406
  },
84000
85407
  {
84001
85408
  "kind": "custom-element-definition",
84002
- "name": "sbb-menu-link",
85409
+ "name": "sbb-mini-calendar-month",
84003
85410
  "declaration": {
84004
- "name": "SbbMenuLinkElement",
84005
- "module": "menu/menu-link/menu-link.component.js"
85411
+ "name": "SbbMiniCalendarMonthElement",
85412
+ "module": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js"
84006
85413
  }
84007
85414
  }
84008
85415
  ]
@@ -103102,6 +104509,12 @@
103102
104509
  "text": "{\n active: 'active',\n }"
103103
104510
  }
103104
104511
  },
104512
+ {
104513
+ "kind": "field",
104514
+ "name": "_tabContentResizeObserver",
104515
+ "privacy": "private",
104516
+ "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => this._onTabContentElementResize(), })"
104517
+ },
103105
104518
  {
103106
104519
  "kind": "field",
103107
104520
  "name": "label",
@@ -103112,6 +104525,26 @@
103112
104525
  "description": "The `sbb-tab-label` associated with the tab.",
103113
104526
  "readonly": true
103114
104527
  },
104528
+ {
104529
+ "kind": "field",
104530
+ "name": "group",
104531
+ "type": {
104532
+ "text": "SbbTabGroupElement | null"
104533
+ },
104534
+ "privacy": "public",
104535
+ "description": "Get the parent `sbb-tab-group`.",
104536
+ "readonly": true
104537
+ },
104538
+ {
104539
+ "kind": "method",
104540
+ "name": "_onTabContentElementResize",
104541
+ "privacy": "private",
104542
+ "return": {
104543
+ "type": {
104544
+ "text": "void"
104545
+ }
104546
+ }
104547
+ },
103115
104548
  {
103116
104549
  "kind": "method",
103117
104550
  "name": "toggleState",
@@ -103232,12 +104665,6 @@
103232
104665
  "privacy": "private",
103233
104666
  "default": "new ResizeController(this, { target: null, skipInitial: true, callback: (entries) => this._onTabGroupElementResize(entries), })"
103234
104667
  },
103235
- {
103236
- "kind": "field",
103237
- "name": "_tabContentResizeObserver",
103238
- "privacy": "private",
103239
- "default": "new ResizeController(this, { target: null, skipInitial: true, callback: (entries) => this._onTabContentElementResize(entries), })"
103240
- },
103241
104668
  {
103242
104669
  "kind": "field",
103243
104670
  "name": "size",
@@ -103278,6 +104705,16 @@
103278
104705
  "description": "Gets the slotted `sbb-tab-label`s.",
103279
104706
  "readonly": true
103280
104707
  },
104708
+ {
104709
+ "kind": "field",
104710
+ "name": "tabs",
104711
+ "type": {
104712
+ "text": "SbbTabElement[]"
104713
+ },
104714
+ "privacy": "public",
104715
+ "description": "Gets the slotted `sbb-tab`s.",
104716
+ "readonly": true
104717
+ },
103281
104718
  {
103282
104719
  "kind": "method",
103283
104720
  "name": "disableTab",
@@ -103398,7 +104835,7 @@
103398
104835
  },
103399
104836
  {
103400
104837
  "kind": "method",
103401
- "name": "_onTabContentElementResize",
104838
+ "name": "_handleKeyDown",
103402
104839
  "privacy": "private",
103403
104840
  "return": {
103404
104841
  "type": {
@@ -103407,17 +104844,17 @@
103407
104844
  },
103408
104845
  "parameters": [
103409
104846
  {
103410
- "name": "entries",
104847
+ "name": "evt",
103411
104848
  "type": {
103412
- "text": "ResizeObserverEntry[]"
104849
+ "text": "KeyboardEvent"
103413
104850
  }
103414
104851
  }
103415
104852
  ]
103416
104853
  },
103417
104854
  {
103418
104855
  "kind": "method",
103419
- "name": "_handleKeyDown",
103420
- "privacy": "private",
104856
+ "name": "toggleState",
104857
+ "privacy": "protected",
103421
104858
  "return": {
103422
104859
  "type": {
103423
104860
  "text": "void"
@@ -103425,12 +104862,23 @@
103425
104862
  },
103426
104863
  "parameters": [
103427
104864
  {
103428
- "name": "evt",
104865
+ "name": "state",
103429
104866
  "type": {
103430
- "text": "KeyboardEvent"
104867
+ "text": "string"
104868
+ }
104869
+ },
104870
+ {
104871
+ "name": "force",
104872
+ "optional": true,
104873
+ "type": {
104874
+ "text": "boolean"
103431
104875
  }
103432
104876
  }
103433
- ]
104877
+ ],
104878
+ "inheritedFrom": {
104879
+ "name": "SbbElementInternalsMixin",
104880
+ "module": "core/mixins/element-internals-mixin.js"
104881
+ }
103434
104882
  },
103435
104883
  {
103436
104884
  "kind": "field",
@@ -103513,6 +104961,10 @@
103513
104961
  }
103514
104962
  ],
103515
104963
  "mixins": [
104964
+ {
104965
+ "name": "SbbElementInternalsMixin",
104966
+ "module": "core/mixins.js"
104967
+ },
103516
104968
  {
103517
104969
  "name": "SbbHydrationMixin",
103518
104970
  "module": "core/mixins.js"