@sbb-esta/lyne-elements 3.8.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/base-elements/open-close-base-element.d.ts +2 -0
- package/core/base-elements/open-close-base-element.d.ts.map +1 -1
- package/core/base-elements/open-close-base-element.js +4 -0
- package/core/controllers/escapable-overlay-controller.js +3 -3
- package/core/controllers/inert-controller.d.ts +8 -1
- package/core/controllers/inert-controller.d.ts.map +1 -1
- package/core/controllers/inert-controller.js +25 -13
- package/core/overlay/position.d.ts +20 -0
- package/core/overlay/position.d.ts.map +1 -1
- package/core/overlay/position.js +34 -23
- package/core/overlay.js +11 -10
- package/core/styles/core.scss +7 -0
- package/core.css +6 -0
- package/custom-elements.json +612 -138
- package/development/core/base-elements/open-close-base-element.d.ts +2 -0
- package/development/core/base-elements/open-close-base-element.d.ts.map +1 -1
- package/development/core/base-elements/open-close-base-element.js +5 -1
- package/development/core/controllers/escapable-overlay-controller.js +2 -2
- package/development/core/controllers/inert-controller.d.ts +8 -1
- package/development/core/controllers/inert-controller.d.ts.map +1 -1
- package/development/core/controllers/inert-controller.js +49 -30
- package/development/core/overlay/position.d.ts +20 -0
- package/development/core/overlay/position.d.ts.map +1 -1
- package/development/core/overlay/position.js +41 -1
- package/development/core/overlay.js +2 -1
- package/development/menu/common/menu-action-common.d.ts.map +1 -1
- package/development/menu/common/menu-action-common.js +20 -3
- package/development/menu/menu/menu.component.d.ts +21 -10
- package/development/menu/menu/menu.component.d.ts.map +1 -1
- package/development/menu/menu/menu.component.js +203 -61
- package/development/option/option/option.component.js +4 -2
- package/development/tabs/tab/tab.component.d.ts +10 -4
- package/development/tabs/tab/tab.component.d.ts.map +1 -1
- package/development/tabs/tab/tab.component.js +15 -16
- package/development/tabs/tab-group/tab-group.component.d.ts +15 -14
- package/development/tabs/tab-group/tab-group.component.d.ts.map +1 -1
- package/development/tabs/tab-group/tab-group.component.js +46 -175
- package/development/tabs/tab-label/tab-label.component.d.ts +21 -2
- package/development/tabs/tab-label/tab-label.component.d.ts.map +1 -1
- package/development/tabs/tab-label/tab-label.component.js +91 -6
- package/development/tooltip/tooltip.component.d.ts +6 -6
- package/development/tooltip/tooltip.component.d.ts.map +1 -1
- package/development/tooltip/tooltip.component.js +14 -7
- package/menu/common/menu-action-common.d.ts.map +1 -1
- package/menu/common/menu-action-common.js +15 -12
- package/menu/menu/menu.component.d.ts +21 -10
- package/menu/menu/menu.component.d.ts.map +1 -1
- package/menu/menu/menu.component.js +144 -80
- package/off-brand-theme.css +6 -0
- package/option/option/option.component.js +1 -1
- package/package.json +1 -1
- package/safety-theme.css +6 -0
- package/standard-theme.css +6 -0
- package/tabs/tab/tab.component.d.ts +10 -4
- package/tabs/tab/tab.component.d.ts.map +1 -1
- package/tabs/tab/tab.component.js +22 -24
- package/tabs/tab-group/tab-group.component.d.ts +15 -14
- package/tabs/tab-group/tab-group.component.d.ts.map +1 -1
- package/tabs/tab-group/tab-group.component.js +68 -122
- package/tabs/tab-label/tab-label.component.d.ts +21 -2
- package/tabs/tab-label/tab-label.component.d.ts.map +1 -1
- package/tabs/tab-label/tab-label.component.js +88 -46
- package/tooltip/tooltip.component.d.ts +6 -6
- package/tooltip/tooltip.component.d.ts.map +1 -1
- package/tooltip/tooltip.component.js +59 -54
package/custom-elements.json
CHANGED
|
@@ -3092,6 +3092,21 @@
|
|
|
3092
3092
|
"module": "core/base-elements/open-close-base-element.js"
|
|
3093
3093
|
}
|
|
3094
3094
|
},
|
|
3095
|
+
{
|
|
3096
|
+
"kind": "method",
|
|
3097
|
+
"name": "escapeStrategy",
|
|
3098
|
+
"privacy": "public",
|
|
3099
|
+
"return": {
|
|
3100
|
+
"type": {
|
|
3101
|
+
"text": "void"
|
|
3102
|
+
}
|
|
3103
|
+
},
|
|
3104
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
3105
|
+
"inheritedFrom": {
|
|
3106
|
+
"name": "SbbOpenCloseBaseElement",
|
|
3107
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
3108
|
+
}
|
|
3109
|
+
},
|
|
3095
3110
|
{
|
|
3096
3111
|
"kind": "method",
|
|
3097
3112
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -4247,6 +4262,21 @@
|
|
|
4247
4262
|
"module": "core/base-elements/open-close-base-element.js"
|
|
4248
4263
|
}
|
|
4249
4264
|
},
|
|
4265
|
+
{
|
|
4266
|
+
"kind": "method",
|
|
4267
|
+
"name": "escapeStrategy",
|
|
4268
|
+
"privacy": "public",
|
|
4269
|
+
"return": {
|
|
4270
|
+
"type": {
|
|
4271
|
+
"text": "void"
|
|
4272
|
+
}
|
|
4273
|
+
},
|
|
4274
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
4275
|
+
"inheritedFrom": {
|
|
4276
|
+
"name": "SbbOpenCloseBaseElement",
|
|
4277
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
4278
|
+
}
|
|
4279
|
+
},
|
|
4250
4280
|
{
|
|
4251
4281
|
"kind": "method",
|
|
4252
4282
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -13336,6 +13366,21 @@
|
|
|
13336
13366
|
"module": "core/base-elements/open-close-base-element.js"
|
|
13337
13367
|
}
|
|
13338
13368
|
},
|
|
13369
|
+
{
|
|
13370
|
+
"kind": "method",
|
|
13371
|
+
"name": "escapeStrategy",
|
|
13372
|
+
"privacy": "public",
|
|
13373
|
+
"return": {
|
|
13374
|
+
"type": {
|
|
13375
|
+
"text": "void"
|
|
13376
|
+
}
|
|
13377
|
+
},
|
|
13378
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
13379
|
+
"inheritedFrom": {
|
|
13380
|
+
"name": "SbbOpenCloseBaseElement",
|
|
13381
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
13382
|
+
}
|
|
13383
|
+
},
|
|
13339
13384
|
{
|
|
13340
13385
|
"kind": "method",
|
|
13341
13386
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -14100,6 +14145,21 @@
|
|
|
14100
14145
|
"module": "core/base-elements/open-close-base-element.js"
|
|
14101
14146
|
}
|
|
14102
14147
|
},
|
|
14148
|
+
{
|
|
14149
|
+
"kind": "method",
|
|
14150
|
+
"name": "escapeStrategy",
|
|
14151
|
+
"privacy": "public",
|
|
14152
|
+
"return": {
|
|
14153
|
+
"type": {
|
|
14154
|
+
"text": "void"
|
|
14155
|
+
}
|
|
14156
|
+
},
|
|
14157
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
14158
|
+
"inheritedFrom": {
|
|
14159
|
+
"name": "SbbOpenCloseBaseElement",
|
|
14160
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
14161
|
+
}
|
|
14162
|
+
},
|
|
14103
14163
|
{
|
|
14104
14164
|
"kind": "method",
|
|
14105
14165
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -15918,6 +15978,21 @@
|
|
|
15918
15978
|
"module": "core/base-elements/open-close-base-element.js"
|
|
15919
15979
|
}
|
|
15920
15980
|
},
|
|
15981
|
+
{
|
|
15982
|
+
"kind": "method",
|
|
15983
|
+
"name": "escapeStrategy",
|
|
15984
|
+
"privacy": "public",
|
|
15985
|
+
"return": {
|
|
15986
|
+
"type": {
|
|
15987
|
+
"text": "void"
|
|
15988
|
+
}
|
|
15989
|
+
},
|
|
15990
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
15991
|
+
"inheritedFrom": {
|
|
15992
|
+
"name": "SbbOpenCloseBaseElement",
|
|
15993
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
15994
|
+
}
|
|
15995
|
+
},
|
|
15921
15996
|
{
|
|
15922
15997
|
"kind": "method",
|
|
15923
15998
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -21866,6 +21941,21 @@
|
|
|
21866
21941
|
"module": "core/base-elements/open-close-base-element.js"
|
|
21867
21942
|
}
|
|
21868
21943
|
},
|
|
21944
|
+
{
|
|
21945
|
+
"kind": "method",
|
|
21946
|
+
"name": "escapeStrategy",
|
|
21947
|
+
"privacy": "public",
|
|
21948
|
+
"return": {
|
|
21949
|
+
"type": {
|
|
21950
|
+
"text": "void"
|
|
21951
|
+
}
|
|
21952
|
+
},
|
|
21953
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
21954
|
+
"inheritedFrom": {
|
|
21955
|
+
"name": "SbbOpenCloseBaseElement",
|
|
21956
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
21957
|
+
}
|
|
21958
|
+
},
|
|
21869
21959
|
{
|
|
21870
21960
|
"kind": "method",
|
|
21871
21961
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -22944,7 +23034,7 @@
|
|
|
22944
23034
|
"name": "openDelay",
|
|
22945
23035
|
"privacy": "public",
|
|
22946
23036
|
"description": "Open the tooltip after a given delay in milliseconds.\nGlobal configuration is used as default, if not set.",
|
|
22947
|
-
"default": "
|
|
23037
|
+
"default": "null",
|
|
22948
23038
|
"type": {
|
|
22949
23039
|
"text": "number"
|
|
22950
23040
|
},
|
|
@@ -22954,16 +23044,17 @@
|
|
|
22954
23044
|
"kind": "field",
|
|
22955
23045
|
"name": "_openDelay",
|
|
22956
23046
|
"type": {
|
|
22957
|
-
"text": "number |
|
|
23047
|
+
"text": "number | null"
|
|
22958
23048
|
},
|
|
22959
|
-
"privacy": "private"
|
|
23049
|
+
"privacy": "private",
|
|
23050
|
+
"default": "null"
|
|
22960
23051
|
},
|
|
22961
23052
|
{
|
|
22962
23053
|
"kind": "field",
|
|
22963
23054
|
"name": "closeDelay",
|
|
22964
23055
|
"privacy": "public",
|
|
22965
23056
|
"description": "Close the tooltip after a given delay in milliseconds.\nGlobal configuration is used as default, if not set.",
|
|
22966
|
-
"default": "
|
|
23057
|
+
"default": "null",
|
|
22967
23058
|
"type": {
|
|
22968
23059
|
"text": "number"
|
|
22969
23060
|
},
|
|
@@ -22973,9 +23064,10 @@
|
|
|
22973
23064
|
"kind": "field",
|
|
22974
23065
|
"name": "_closeDelay",
|
|
22975
23066
|
"type": {
|
|
22976
|
-
"text": "number |
|
|
23067
|
+
"text": "number | null"
|
|
22977
23068
|
},
|
|
22978
|
-
"privacy": "private"
|
|
23069
|
+
"privacy": "private",
|
|
23070
|
+
"default": "null"
|
|
22979
23071
|
},
|
|
22980
23072
|
{
|
|
22981
23073
|
"kind": "field",
|
|
@@ -23407,6 +23499,21 @@
|
|
|
23407
23499
|
"module": "core/base-elements/open-close-base-element.js"
|
|
23408
23500
|
}
|
|
23409
23501
|
},
|
|
23502
|
+
{
|
|
23503
|
+
"kind": "method",
|
|
23504
|
+
"name": "escapeStrategy",
|
|
23505
|
+
"privacy": "public",
|
|
23506
|
+
"return": {
|
|
23507
|
+
"type": {
|
|
23508
|
+
"text": "void"
|
|
23509
|
+
}
|
|
23510
|
+
},
|
|
23511
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
23512
|
+
"inheritedFrom": {
|
|
23513
|
+
"name": "SbbOpenCloseBaseElement",
|
|
23514
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
23515
|
+
}
|
|
23516
|
+
},
|
|
23410
23517
|
{
|
|
23411
23518
|
"kind": "method",
|
|
23412
23519
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -23477,7 +23584,7 @@
|
|
|
23477
23584
|
{
|
|
23478
23585
|
"name": "open-delay",
|
|
23479
23586
|
"description": "Open the tooltip after a given delay in milliseconds.\nGlobal configuration is used as default, if not set.",
|
|
23480
|
-
"default": "
|
|
23587
|
+
"default": "null",
|
|
23481
23588
|
"type": {
|
|
23482
23589
|
"text": "number"
|
|
23483
23590
|
},
|
|
@@ -23486,7 +23593,7 @@
|
|
|
23486
23593
|
{
|
|
23487
23594
|
"name": "close-delay",
|
|
23488
23595
|
"description": "Close the tooltip after a given delay in milliseconds.\nGlobal configuration is used as default, if not set.",
|
|
23489
|
-
"default": "
|
|
23596
|
+
"default": "null",
|
|
23490
23597
|
"type": {
|
|
23491
23598
|
"text": "number"
|
|
23492
23599
|
},
|
|
@@ -24167,6 +24274,21 @@
|
|
|
24167
24274
|
"module": "core/base-elements/open-close-base-element.js"
|
|
24168
24275
|
}
|
|
24169
24276
|
},
|
|
24277
|
+
{
|
|
24278
|
+
"kind": "method",
|
|
24279
|
+
"name": "escapeStrategy",
|
|
24280
|
+
"privacy": "public",
|
|
24281
|
+
"return": {
|
|
24282
|
+
"type": {
|
|
24283
|
+
"text": "void"
|
|
24284
|
+
}
|
|
24285
|
+
},
|
|
24286
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
24287
|
+
"inheritedFrom": {
|
|
24288
|
+
"name": "SbbOpenCloseBaseElement",
|
|
24289
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
24290
|
+
}
|
|
24291
|
+
},
|
|
24170
24292
|
{
|
|
24171
24293
|
"kind": "method",
|
|
24172
24294
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -25559,6 +25681,21 @@
|
|
|
25559
25681
|
"module": "core/base-elements/open-close-base-element.js"
|
|
25560
25682
|
}
|
|
25561
25683
|
},
|
|
25684
|
+
{
|
|
25685
|
+
"kind": "method",
|
|
25686
|
+
"name": "escapeStrategy",
|
|
25687
|
+
"privacy": "public",
|
|
25688
|
+
"return": {
|
|
25689
|
+
"type": {
|
|
25690
|
+
"text": "void"
|
|
25691
|
+
}
|
|
25692
|
+
},
|
|
25693
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
25694
|
+
"inheritedFrom": {
|
|
25695
|
+
"name": "SbbOpenCloseBaseElement",
|
|
25696
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
25697
|
+
}
|
|
25698
|
+
},
|
|
25562
25699
|
{
|
|
25563
25700
|
"kind": "method",
|
|
25564
25701
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -46604,6 +46741,17 @@
|
|
|
46604
46741
|
},
|
|
46605
46742
|
"description": "Closes the component."
|
|
46606
46743
|
},
|
|
46744
|
+
{
|
|
46745
|
+
"kind": "method",
|
|
46746
|
+
"name": "escapeStrategy",
|
|
46747
|
+
"privacy": "public",
|
|
46748
|
+
"return": {
|
|
46749
|
+
"type": {
|
|
46750
|
+
"text": "void"
|
|
46751
|
+
}
|
|
46752
|
+
},
|
|
46753
|
+
"description": "The method which is called on escape key press. Defaults to calling close()"
|
|
46754
|
+
},
|
|
46607
46755
|
{
|
|
46608
46756
|
"kind": "method",
|
|
46609
46757
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -46956,6 +47104,36 @@
|
|
|
46956
47104
|
},
|
|
46957
47105
|
"description": "Whether the assigned host is currently inert"
|
|
46958
47106
|
},
|
|
47107
|
+
{
|
|
47108
|
+
"kind": "method",
|
|
47109
|
+
"name": "exempt",
|
|
47110
|
+
"privacy": "public",
|
|
47111
|
+
"return": {
|
|
47112
|
+
"type": {
|
|
47113
|
+
"text": "void"
|
|
47114
|
+
}
|
|
47115
|
+
},
|
|
47116
|
+
"parameters": [
|
|
47117
|
+
{
|
|
47118
|
+
"name": "element",
|
|
47119
|
+
"type": {
|
|
47120
|
+
"text": "HTMLElement"
|
|
47121
|
+
}
|
|
47122
|
+
}
|
|
47123
|
+
],
|
|
47124
|
+
"description": "Temporarily removes all inert attributes from a given element."
|
|
47125
|
+
},
|
|
47126
|
+
{
|
|
47127
|
+
"kind": "method",
|
|
47128
|
+
"name": "restoreAllExempted",
|
|
47129
|
+
"privacy": "public",
|
|
47130
|
+
"return": {
|
|
47131
|
+
"type": {
|
|
47132
|
+
"text": "void"
|
|
47133
|
+
}
|
|
47134
|
+
},
|
|
47135
|
+
"description": "Inerts an element currently exempted from inert."
|
|
47136
|
+
},
|
|
46959
47137
|
{
|
|
46960
47138
|
"kind": "method",
|
|
46961
47139
|
"name": "_currentOverlay",
|
|
@@ -46966,10 +47144,38 @@
|
|
|
46966
47144
|
}
|
|
46967
47145
|
}
|
|
46968
47146
|
},
|
|
47147
|
+
{
|
|
47148
|
+
"kind": "method",
|
|
47149
|
+
"name": "_removeAllInertAttributes",
|
|
47150
|
+
"privacy": "private",
|
|
47151
|
+
"return": {
|
|
47152
|
+
"type": {
|
|
47153
|
+
"text": "void"
|
|
47154
|
+
}
|
|
47155
|
+
}
|
|
47156
|
+
},
|
|
46969
47157
|
{
|
|
46970
47158
|
"kind": "method",
|
|
46971
47159
|
"name": "_removeInertAttributes",
|
|
46972
47160
|
"privacy": "private",
|
|
47161
|
+
"return": {
|
|
47162
|
+
"type": {
|
|
47163
|
+
"text": "void"
|
|
47164
|
+
}
|
|
47165
|
+
},
|
|
47166
|
+
"parameters": [
|
|
47167
|
+
{
|
|
47168
|
+
"name": "element",
|
|
47169
|
+
"type": {
|
|
47170
|
+
"text": "HTMLElement"
|
|
47171
|
+
}
|
|
47172
|
+
}
|
|
47173
|
+
]
|
|
47174
|
+
},
|
|
47175
|
+
{
|
|
47176
|
+
"kind": "method",
|
|
47177
|
+
"name": "_addAllInertAttributes",
|
|
47178
|
+
"privacy": "private",
|
|
46973
47179
|
"return": {
|
|
46974
47180
|
"type": {
|
|
46975
47181
|
"text": "void"
|
|
@@ -46984,7 +47190,15 @@
|
|
|
46984
47190
|
"type": {
|
|
46985
47191
|
"text": "void"
|
|
46986
47192
|
}
|
|
46987
|
-
}
|
|
47193
|
+
},
|
|
47194
|
+
"parameters": [
|
|
47195
|
+
{
|
|
47196
|
+
"name": "element",
|
|
47197
|
+
"type": {
|
|
47198
|
+
"text": "HTMLElement"
|
|
47199
|
+
}
|
|
47200
|
+
}
|
|
47201
|
+
]
|
|
46988
47202
|
}
|
|
46989
47203
|
]
|
|
46990
47204
|
}
|
|
@@ -58686,6 +58900,59 @@
|
|
|
58686
58900
|
}
|
|
58687
58901
|
],
|
|
58688
58902
|
"description": "Determines the position of an element relative to a trigger element by evaluating\nthe optimal position based on the available space."
|
|
58903
|
+
},
|
|
58904
|
+
{
|
|
58905
|
+
"kind": "function",
|
|
58906
|
+
"name": "getElementPositionHorizontal",
|
|
58907
|
+
"return": {
|
|
58908
|
+
"type": {
|
|
58909
|
+
"text": ""
|
|
58910
|
+
}
|
|
58911
|
+
},
|
|
58912
|
+
"parameters": [
|
|
58913
|
+
{
|
|
58914
|
+
"name": "element",
|
|
58915
|
+
"type": {
|
|
58916
|
+
"text": "HTMLElement"
|
|
58917
|
+
},
|
|
58918
|
+
"description": "The element of which to calculate the position."
|
|
58919
|
+
},
|
|
58920
|
+
{
|
|
58921
|
+
"name": "trigger",
|
|
58922
|
+
"type": {
|
|
58923
|
+
"text": "HTMLElement"
|
|
58924
|
+
},
|
|
58925
|
+
"description": "The element relative to which to calculate the position."
|
|
58926
|
+
},
|
|
58927
|
+
{
|
|
58928
|
+
"name": "container",
|
|
58929
|
+
"type": {
|
|
58930
|
+
"text": "HTMLElement"
|
|
58931
|
+
},
|
|
58932
|
+
"description": "The element which has the position:fixed applied."
|
|
58933
|
+
},
|
|
58934
|
+
{
|
|
58935
|
+
"name": "properties",
|
|
58936
|
+
"optional": true,
|
|
58937
|
+
"type": {
|
|
58938
|
+
"text": "{\n verticalOffset?: number;\n horizontalOffset?: number;\n responsiveHeight?: boolean;\n contentSelector?: string;\n }"
|
|
58939
|
+
},
|
|
58940
|
+
"description": "Properties to take into account in calculations (optional)."
|
|
58941
|
+
},
|
|
58942
|
+
{
|
|
58943
|
+
"description": "The distance to be added between the element and the trigger (optional).",
|
|
58944
|
+
"name": "properties.verticalOffset"
|
|
58945
|
+
},
|
|
58946
|
+
{
|
|
58947
|
+
"description": "The horizontal offset to be applied to the element (optional).",
|
|
58948
|
+
"name": "properties.horizontalOffset"
|
|
58949
|
+
},
|
|
58950
|
+
{
|
|
58951
|
+
"description": "Whether the element calculates its height based on its content (optional).",
|
|
58952
|
+
"name": "properties.responsiveHeight"
|
|
58953
|
+
}
|
|
58954
|
+
],
|
|
58955
|
+
"description": "Determines the position of an element relative to a trigger element by evaluating\nthe optimal position based on the available space."
|
|
58689
58956
|
}
|
|
58690
58957
|
],
|
|
58691
58958
|
"exports": [
|
|
@@ -58712,6 +58979,14 @@
|
|
|
58712
58979
|
"name": "getElementPosition",
|
|
58713
58980
|
"module": "core/overlay/position.js"
|
|
58714
58981
|
}
|
|
58982
|
+
},
|
|
58983
|
+
{
|
|
58984
|
+
"kind": "js",
|
|
58985
|
+
"name": "getElementPositionHorizontal",
|
|
58986
|
+
"declaration": {
|
|
58987
|
+
"name": "getElementPositionHorizontal",
|
|
58988
|
+
"module": "core/overlay/position.js"
|
|
58989
|
+
}
|
|
58715
58990
|
}
|
|
58716
58991
|
]
|
|
58717
58992
|
},
|
|
@@ -61508,6 +61783,21 @@
|
|
|
61508
61783
|
"module": "core/base-elements/open-close-base-element.js"
|
|
61509
61784
|
}
|
|
61510
61785
|
},
|
|
61786
|
+
{
|
|
61787
|
+
"kind": "method",
|
|
61788
|
+
"name": "escapeStrategy",
|
|
61789
|
+
"privacy": "public",
|
|
61790
|
+
"return": {
|
|
61791
|
+
"type": {
|
|
61792
|
+
"text": "void"
|
|
61793
|
+
}
|
|
61794
|
+
},
|
|
61795
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
61796
|
+
"inheritedFrom": {
|
|
61797
|
+
"name": "SbbOpenCloseBaseElement",
|
|
61798
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
61799
|
+
}
|
|
61800
|
+
},
|
|
61511
61801
|
{
|
|
61512
61802
|
"kind": "method",
|
|
61513
61803
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -65098,6 +65388,21 @@
|
|
|
65098
65388
|
"module": "core/base-elements/open-close-base-element.js"
|
|
65099
65389
|
}
|
|
65100
65390
|
},
|
|
65391
|
+
{
|
|
65392
|
+
"kind": "method",
|
|
65393
|
+
"name": "escapeStrategy",
|
|
65394
|
+
"privacy": "public",
|
|
65395
|
+
"return": {
|
|
65396
|
+
"type": {
|
|
65397
|
+
"text": "void"
|
|
65398
|
+
}
|
|
65399
|
+
},
|
|
65400
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
65401
|
+
"inheritedFrom": {
|
|
65402
|
+
"name": "SbbOpenCloseBaseElement",
|
|
65403
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
65404
|
+
}
|
|
65405
|
+
},
|
|
65101
65406
|
{
|
|
65102
65407
|
"kind": "method",
|
|
65103
65408
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -81619,11 +81924,17 @@
|
|
|
81619
81924
|
"privacy": "private",
|
|
81620
81925
|
"default": "new SbbInertController(this)"
|
|
81621
81926
|
},
|
|
81927
|
+
{
|
|
81928
|
+
"kind": "field",
|
|
81929
|
+
"name": "_mobileBreakpoint",
|
|
81930
|
+
"privacy": "private",
|
|
81931
|
+
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
81932
|
+
},
|
|
81622
81933
|
{
|
|
81623
81934
|
"kind": "field",
|
|
81624
81935
|
"name": "_mediaMatcher",
|
|
81625
81936
|
"privacy": "private",
|
|
81626
|
-
"default": "new SbbMediaMatcherController(this, { [
|
|
81937
|
+
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
81627
81938
|
},
|
|
81628
81939
|
{
|
|
81629
81940
|
"kind": "field",
|
|
@@ -81631,6 +81942,36 @@
|
|
|
81631
81942
|
"privacy": "private",
|
|
81632
81943
|
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
81633
81944
|
},
|
|
81945
|
+
{
|
|
81946
|
+
"kind": "field",
|
|
81947
|
+
"name": "_language",
|
|
81948
|
+
"privacy": "private",
|
|
81949
|
+
"default": "new SbbLanguageController(this)"
|
|
81950
|
+
},
|
|
81951
|
+
{
|
|
81952
|
+
"kind": "field",
|
|
81953
|
+
"name": "_nestedMenu",
|
|
81954
|
+
"type": {
|
|
81955
|
+
"text": "SbbMenuElement | null"
|
|
81956
|
+
},
|
|
81957
|
+
"privacy": "private",
|
|
81958
|
+
"default": "null"
|
|
81959
|
+
},
|
|
81960
|
+
{
|
|
81961
|
+
"kind": "method",
|
|
81962
|
+
"name": "escapeStrategy",
|
|
81963
|
+
"privacy": "public",
|
|
81964
|
+
"return": {
|
|
81965
|
+
"type": {
|
|
81966
|
+
"text": "void"
|
|
81967
|
+
}
|
|
81968
|
+
},
|
|
81969
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
81970
|
+
"inheritedFrom": {
|
|
81971
|
+
"name": "SbbOpenCloseBaseElement",
|
|
81972
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
81973
|
+
}
|
|
81974
|
+
},
|
|
81634
81975
|
{
|
|
81635
81976
|
"kind": "method",
|
|
81636
81977
|
"name": "open",
|
|
@@ -81655,7 +81996,7 @@
|
|
|
81655
81996
|
"text": "void"
|
|
81656
81997
|
}
|
|
81657
81998
|
},
|
|
81658
|
-
"description": "Closes the menu.",
|
|
81999
|
+
"description": "Closes the menu and all its nested menus.",
|
|
81659
82000
|
"inheritedFrom": {
|
|
81660
82001
|
"name": "SbbOpenCloseBaseElement",
|
|
81661
82002
|
"module": "core/base-elements/open-close-base-element.js"
|
|
@@ -81663,27 +82004,46 @@
|
|
|
81663
82004
|
},
|
|
81664
82005
|
{
|
|
81665
82006
|
"kind": "method",
|
|
81666
|
-
"name": "
|
|
81667
|
-
"privacy": "
|
|
82007
|
+
"name": "closeAll",
|
|
82008
|
+
"privacy": "public",
|
|
81668
82009
|
"return": {
|
|
81669
82010
|
"type": {
|
|
81670
|
-
"text": "
|
|
82011
|
+
"text": "void"
|
|
81671
82012
|
}
|
|
81672
|
-
}
|
|
82013
|
+
},
|
|
82014
|
+
"description": "Closes the menu and all related menus nested and parent menus)."
|
|
81673
82015
|
},
|
|
81674
82016
|
{
|
|
81675
82017
|
"kind": "method",
|
|
81676
|
-
"name": "
|
|
82018
|
+
"name": "_close",
|
|
81677
82019
|
"privacy": "private",
|
|
81678
82020
|
"return": {
|
|
81679
82021
|
"type": {
|
|
81680
82022
|
"text": "void"
|
|
81681
82023
|
}
|
|
82024
|
+
},
|
|
82025
|
+
"parameters": [
|
|
82026
|
+
{
|
|
82027
|
+
"name": "closeAll",
|
|
82028
|
+
"default": "false",
|
|
82029
|
+
"description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
|
|
82030
|
+
"optional": true
|
|
82031
|
+
}
|
|
82032
|
+
]
|
|
82033
|
+
},
|
|
82034
|
+
{
|
|
82035
|
+
"kind": "method",
|
|
82036
|
+
"name": "_isZeroAnimationDuration",
|
|
82037
|
+
"privacy": "private",
|
|
82038
|
+
"return": {
|
|
82039
|
+
"type": {
|
|
82040
|
+
"text": "boolean"
|
|
82041
|
+
}
|
|
81682
82042
|
}
|
|
81683
82043
|
},
|
|
81684
82044
|
{
|
|
81685
82045
|
"kind": "method",
|
|
81686
|
-
"name": "
|
|
82046
|
+
"name": "_handleOpening",
|
|
81687
82047
|
"privacy": "private",
|
|
81688
82048
|
"return": {
|
|
81689
82049
|
"type": {
|
|
@@ -81693,22 +82053,13 @@
|
|
|
81693
82053
|
},
|
|
81694
82054
|
{
|
|
81695
82055
|
"kind": "method",
|
|
81696
|
-
"name": "
|
|
82056
|
+
"name": "_handleClosing",
|
|
81697
82057
|
"privacy": "private",
|
|
81698
82058
|
"return": {
|
|
81699
82059
|
"type": {
|
|
81700
82060
|
"text": "void"
|
|
81701
82061
|
}
|
|
81702
|
-
}
|
|
81703
|
-
"parameters": [
|
|
81704
|
-
{
|
|
81705
|
-
"name": "event",
|
|
81706
|
-
"type": {
|
|
81707
|
-
"text": "Event"
|
|
81708
|
-
}
|
|
81709
|
-
}
|
|
81710
|
-
],
|
|
81711
|
-
"description": "Handles click and checks if its target is a sbb-menu-button/sbb-menu-link."
|
|
82062
|
+
}
|
|
81712
82063
|
},
|
|
81713
82064
|
{
|
|
81714
82065
|
"kind": "method",
|
|
@@ -81768,7 +82119,7 @@
|
|
|
81768
82119
|
},
|
|
81769
82120
|
{
|
|
81770
82121
|
"kind": "method",
|
|
81771
|
-
"name": "
|
|
82122
|
+
"name": "_interactiveElementClick",
|
|
81772
82123
|
"privacy": "private",
|
|
81773
82124
|
"return": {
|
|
81774
82125
|
"type": {
|
|
@@ -81794,6 +82145,76 @@
|
|
|
81794
82145
|
"name": "_closeOnBackdropClick",
|
|
81795
82146
|
"privacy": "private"
|
|
81796
82147
|
},
|
|
82148
|
+
{
|
|
82149
|
+
"kind": "method",
|
|
82150
|
+
"name": "_nestedMenus",
|
|
82151
|
+
"privacy": "private",
|
|
82152
|
+
"return": {
|
|
82153
|
+
"type": {
|
|
82154
|
+
"text": "SbbMenuElement[]"
|
|
82155
|
+
}
|
|
82156
|
+
},
|
|
82157
|
+
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
82158
|
+
},
|
|
82159
|
+
{
|
|
82160
|
+
"kind": "method",
|
|
82161
|
+
"name": "_parentMenu",
|
|
82162
|
+
"privacy": "private",
|
|
82163
|
+
"return": {
|
|
82164
|
+
"type": {
|
|
82165
|
+
"text": "SbbMenuElement | null"
|
|
82166
|
+
}
|
|
82167
|
+
}
|
|
82168
|
+
},
|
|
82169
|
+
{
|
|
82170
|
+
"kind": "method",
|
|
82171
|
+
"name": "_mainMenu",
|
|
82172
|
+
"privacy": "private",
|
|
82173
|
+
"return": {
|
|
82174
|
+
"type": {
|
|
82175
|
+
"text": "SbbMenuElement"
|
|
82176
|
+
}
|
|
82177
|
+
},
|
|
82178
|
+
"description": "The outermost menu."
|
|
82179
|
+
},
|
|
82180
|
+
{
|
|
82181
|
+
"kind": "method",
|
|
82182
|
+
"name": "_isNested",
|
|
82183
|
+
"privacy": "private",
|
|
82184
|
+
"return": {
|
|
82185
|
+
"type": {
|
|
82186
|
+
"text": "boolean"
|
|
82187
|
+
}
|
|
82188
|
+
}
|
|
82189
|
+
},
|
|
82190
|
+
{
|
|
82191
|
+
"kind": "method",
|
|
82192
|
+
"name": "_updateNestedInert",
|
|
82193
|
+
"privacy": "private",
|
|
82194
|
+
"return": {
|
|
82195
|
+
"type": {
|
|
82196
|
+
"text": "void"
|
|
82197
|
+
}
|
|
82198
|
+
}
|
|
82199
|
+
},
|
|
82200
|
+
{
|
|
82201
|
+
"kind": "method",
|
|
82202
|
+
"name": "_handleMouseOver",
|
|
82203
|
+
"privacy": "private",
|
|
82204
|
+
"return": {
|
|
82205
|
+
"type": {
|
|
82206
|
+
"text": "void"
|
|
82207
|
+
}
|
|
82208
|
+
},
|
|
82209
|
+
"parameters": [
|
|
82210
|
+
{
|
|
82211
|
+
"name": "event",
|
|
82212
|
+
"type": {
|
|
82213
|
+
"text": "MouseEvent"
|
|
82214
|
+
}
|
|
82215
|
+
}
|
|
82216
|
+
]
|
|
82217
|
+
},
|
|
81797
82218
|
{
|
|
81798
82219
|
"kind": "method",
|
|
81799
82220
|
"name": "_onMenuAnimationEnd",
|
|
@@ -81832,6 +82253,16 @@
|
|
|
81832
82253
|
}
|
|
81833
82254
|
}
|
|
81834
82255
|
},
|
|
82256
|
+
{
|
|
82257
|
+
"kind": "method",
|
|
82258
|
+
"name": "_isMobile",
|
|
82259
|
+
"privacy": "private",
|
|
82260
|
+
"return": {
|
|
82261
|
+
"type": {
|
|
82262
|
+
"text": "boolean"
|
|
82263
|
+
}
|
|
82264
|
+
}
|
|
82265
|
+
},
|
|
81835
82266
|
{
|
|
81836
82267
|
"kind": "field",
|
|
81837
82268
|
"name": "listChildren",
|
|
@@ -84227,6 +84658,21 @@
|
|
|
84227
84658
|
"module": "core/base-elements/open-close-base-element.js"
|
|
84228
84659
|
}
|
|
84229
84660
|
},
|
|
84661
|
+
{
|
|
84662
|
+
"kind": "method",
|
|
84663
|
+
"name": "escapeStrategy",
|
|
84664
|
+
"privacy": "public",
|
|
84665
|
+
"return": {
|
|
84666
|
+
"type": {
|
|
84667
|
+
"text": "void"
|
|
84668
|
+
}
|
|
84669
|
+
},
|
|
84670
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
84671
|
+
"inheritedFrom": {
|
|
84672
|
+
"name": "SbbOpenCloseBaseElement",
|
|
84673
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
84674
|
+
}
|
|
84675
|
+
},
|
|
84230
84676
|
{
|
|
84231
84677
|
"kind": "method",
|
|
84232
84678
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -91553,6 +91999,21 @@
|
|
|
91553
91999
|
"module": "core/base-elements/open-close-base-element.js"
|
|
91554
92000
|
}
|
|
91555
92001
|
},
|
|
92002
|
+
{
|
|
92003
|
+
"kind": "method",
|
|
92004
|
+
"name": "escapeStrategy",
|
|
92005
|
+
"privacy": "public",
|
|
92006
|
+
"return": {
|
|
92007
|
+
"type": {
|
|
92008
|
+
"text": "void"
|
|
92009
|
+
}
|
|
92010
|
+
},
|
|
92011
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
92012
|
+
"inheritedFrom": {
|
|
92013
|
+
"name": "SbbOpenCloseBaseElement",
|
|
92014
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
92015
|
+
}
|
|
92016
|
+
},
|
|
91556
92017
|
{
|
|
91557
92018
|
"kind": "method",
|
|
91558
92019
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -92382,6 +92843,21 @@
|
|
|
92382
92843
|
"module": "core/base-elements/open-close-base-element.js"
|
|
92383
92844
|
}
|
|
92384
92845
|
},
|
|
92846
|
+
{
|
|
92847
|
+
"kind": "method",
|
|
92848
|
+
"name": "escapeStrategy",
|
|
92849
|
+
"privacy": "public",
|
|
92850
|
+
"return": {
|
|
92851
|
+
"type": {
|
|
92852
|
+
"text": "void"
|
|
92853
|
+
}
|
|
92854
|
+
},
|
|
92855
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
92856
|
+
"inheritedFrom": {
|
|
92857
|
+
"name": "SbbOpenCloseBaseElement",
|
|
92858
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
92859
|
+
}
|
|
92860
|
+
},
|
|
92385
92861
|
{
|
|
92386
92862
|
"kind": "method",
|
|
92387
92863
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -99494,6 +99970,21 @@
|
|
|
99494
99970
|
"module": "core/base-elements/open-close-base-element.js"
|
|
99495
99971
|
}
|
|
99496
99972
|
},
|
|
99973
|
+
{
|
|
99974
|
+
"kind": "method",
|
|
99975
|
+
"name": "escapeStrategy",
|
|
99976
|
+
"privacy": "public",
|
|
99977
|
+
"return": {
|
|
99978
|
+
"type": {
|
|
99979
|
+
"text": "void"
|
|
99980
|
+
}
|
|
99981
|
+
},
|
|
99982
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
99983
|
+
"inheritedFrom": {
|
|
99984
|
+
"name": "SbbOpenCloseBaseElement",
|
|
99985
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
99986
|
+
}
|
|
99987
|
+
},
|
|
99497
99988
|
{
|
|
99498
99989
|
"kind": "method",
|
|
99499
99990
|
"name": "dispatchBeforeOpenEvent",
|
|
@@ -102564,7 +103055,7 @@
|
|
|
102564
103055
|
"declarations": [
|
|
102565
103056
|
{
|
|
102566
103057
|
"kind": "class",
|
|
102567
|
-
"description": "Combined with a `sbb-tab-group`, it displays a tab's content.",
|
|
103058
|
+
"description": "Combined with a `sbb-tab-group` and `sbb-tab-label`, it displays a tab's content.",
|
|
102568
103059
|
"name": "SbbTabElement",
|
|
102569
103060
|
"slots": [
|
|
102570
103061
|
{
|
|
@@ -102585,33 +103076,24 @@
|
|
|
102585
103076
|
},
|
|
102586
103077
|
{
|
|
102587
103078
|
"kind": "field",
|
|
102588
|
-
"name": "
|
|
102589
|
-
"type": {
|
|
102590
|
-
"text": "SbbTabLabelElement | null"
|
|
102591
|
-
},
|
|
103079
|
+
"name": "events",
|
|
102592
103080
|
"privacy": "public",
|
|
102593
|
-
"
|
|
103081
|
+
"static": true,
|
|
102594
103082
|
"readonly": true,
|
|
102595
|
-
"default": "
|
|
103083
|
+
"default": "{ active: 'active', }",
|
|
103084
|
+
"type": {
|
|
103085
|
+
"text": "{\n active: 'active',\n }"
|
|
103086
|
+
}
|
|
102596
103087
|
},
|
|
102597
103088
|
{
|
|
102598
103089
|
"kind": "field",
|
|
102599
|
-
"name": "
|
|
103090
|
+
"name": "label",
|
|
102600
103091
|
"type": {
|
|
102601
103092
|
"text": "SbbTabLabelElement | null"
|
|
102602
103093
|
},
|
|
102603
|
-
"privacy": "
|
|
102604
|
-
"
|
|
102605
|
-
|
|
102606
|
-
{
|
|
102607
|
-
"kind": "method",
|
|
102608
|
-
"name": "_getTabLabel",
|
|
102609
|
-
"privacy": "private",
|
|
102610
|
-
"return": {
|
|
102611
|
-
"type": {
|
|
102612
|
-
"text": "SbbTabLabelElement | null"
|
|
102613
|
-
}
|
|
102614
|
-
}
|
|
103094
|
+
"privacy": "public",
|
|
103095
|
+
"description": "The `sbb-tab-label` associated with the tab.",
|
|
103096
|
+
"readonly": true
|
|
102615
103097
|
},
|
|
102616
103098
|
{
|
|
102617
103099
|
"kind": "method",
|
|
@@ -102643,6 +103125,15 @@
|
|
|
102643
103125
|
}
|
|
102644
103126
|
}
|
|
102645
103127
|
],
|
|
103128
|
+
"events": [
|
|
103129
|
+
{
|
|
103130
|
+
"type": {
|
|
103131
|
+
"text": "Event"
|
|
103132
|
+
},
|
|
103133
|
+
"description": "The `active` event fires when the sbb-tab has been activated via user selection on the sbb-tab-label.",
|
|
103134
|
+
"name": "active"
|
|
103135
|
+
}
|
|
103136
|
+
],
|
|
102646
103137
|
"mixins": [
|
|
102647
103138
|
{
|
|
102648
103139
|
"name": "SbbElementInternalsMixin",
|
|
@@ -102682,7 +103173,7 @@
|
|
|
102682
103173
|
"declarations": [
|
|
102683
103174
|
{
|
|
102684
103175
|
"kind": "class",
|
|
102685
|
-
"description": "It displays one or more tabs, each one with a label and
|
|
103176
|
+
"description": "It displays one or more tabs, each one with a label and some content.",
|
|
102686
103177
|
"name": "SbbTabGroupElement",
|
|
102687
103178
|
"slots": [
|
|
102688
103179
|
{
|
|
@@ -102702,23 +103193,6 @@
|
|
|
102702
103193
|
"text": "{\n tabchange: 'tabchange',\n }"
|
|
102703
103194
|
}
|
|
102704
103195
|
},
|
|
102705
|
-
{
|
|
102706
|
-
"kind": "field",
|
|
102707
|
-
"name": "_tabs",
|
|
102708
|
-
"type": {
|
|
102709
|
-
"text": "InterfaceSbbTabGroupTab[]"
|
|
102710
|
-
},
|
|
102711
|
-
"privacy": "private",
|
|
102712
|
-
"default": "[]"
|
|
102713
|
-
},
|
|
102714
|
-
{
|
|
102715
|
-
"kind": "field",
|
|
102716
|
-
"name": "_selectedTab",
|
|
102717
|
-
"type": {
|
|
102718
|
-
"text": "InterfaceSbbTabGroupTab | undefined"
|
|
102719
|
-
},
|
|
102720
|
-
"privacy": "private"
|
|
102721
|
-
},
|
|
102722
103196
|
{
|
|
102723
103197
|
"kind": "field",
|
|
102724
103198
|
"name": "_tabGroupElement",
|
|
@@ -102735,12 +103209,6 @@
|
|
|
102735
103209
|
},
|
|
102736
103210
|
"privacy": "private"
|
|
102737
103211
|
},
|
|
102738
|
-
{
|
|
102739
|
-
"kind": "field",
|
|
102740
|
-
"name": "_tabAttributeObserver",
|
|
102741
|
-
"privacy": "private",
|
|
102742
|
-
"default": "new MutationController(this, { target: null, config: tabObserverConfig, callback: (mutationsList) => this._onTabAttributesChange(mutationsList), })"
|
|
102743
|
-
},
|
|
102744
103212
|
{
|
|
102745
103213
|
"kind": "field",
|
|
102746
103214
|
"name": "_tabGroupResizeObserver",
|
|
@@ -102760,7 +103228,7 @@
|
|
|
102760
103228
|
"description": "Size variant, either s, l or xl.",
|
|
102761
103229
|
"default": "'l' / 's' (lean)",
|
|
102762
103230
|
"type": {
|
|
102763
|
-
"text": "
|
|
103231
|
+
"text": "'s' | 'l' | 'xl'"
|
|
102764
103232
|
},
|
|
102765
103233
|
"attribute": "size"
|
|
102766
103234
|
},
|
|
@@ -102768,7 +103236,7 @@
|
|
|
102768
103236
|
"kind": "field",
|
|
102769
103237
|
"name": "_size",
|
|
102770
103238
|
"type": {
|
|
102771
|
-
"text": "
|
|
103239
|
+
"text": "'s' | 'l' | 'xl'"
|
|
102772
103240
|
},
|
|
102773
103241
|
"privacy": "private"
|
|
102774
103242
|
},
|
|
@@ -102783,6 +103251,16 @@
|
|
|
102783
103251
|
"description": "Sets the initial tab. If it matches a disabled tab or exceeds the length of\nthe tab group, the first enabled tab will be selected.",
|
|
102784
103252
|
"attribute": "initial-selected-index"
|
|
102785
103253
|
},
|
|
103254
|
+
{
|
|
103255
|
+
"kind": "field",
|
|
103256
|
+
"name": "labels",
|
|
103257
|
+
"type": {
|
|
103258
|
+
"text": "SbbTabLabelElement[]"
|
|
103259
|
+
},
|
|
103260
|
+
"privacy": "public",
|
|
103261
|
+
"description": "Gets the slotted `sbb-tab-label`s.",
|
|
103262
|
+
"readonly": true
|
|
103263
|
+
},
|
|
102786
103264
|
{
|
|
102787
103265
|
"kind": "method",
|
|
102788
103266
|
"name": "disableTab",
|
|
@@ -102843,23 +103321,13 @@
|
|
|
102843
103321
|
],
|
|
102844
103322
|
"description": "Activates a tab by index."
|
|
102845
103323
|
},
|
|
102846
|
-
{
|
|
102847
|
-
"kind": "method",
|
|
102848
|
-
"name": "_getTabs",
|
|
102849
|
-
"privacy": "private",
|
|
102850
|
-
"return": {
|
|
102851
|
-
"type": {
|
|
102852
|
-
"text": "InterfaceSbbTabGroupTab[]"
|
|
102853
|
-
}
|
|
102854
|
-
}
|
|
102855
|
-
},
|
|
102856
103324
|
{
|
|
102857
103325
|
"kind": "method",
|
|
102858
103326
|
"name": "_enabledTabs",
|
|
102859
103327
|
"privacy": "private",
|
|
102860
103328
|
"return": {
|
|
102861
103329
|
"type": {
|
|
102862
|
-
"text": "
|
|
103330
|
+
"text": "SbbTabLabelElement[]"
|
|
102863
103331
|
}
|
|
102864
103332
|
}
|
|
102865
103333
|
},
|
|
@@ -102880,19 +103348,9 @@
|
|
|
102880
103348
|
},
|
|
102881
103349
|
{
|
|
102882
103350
|
"kind": "field",
|
|
102883
|
-
"name": "
|
|
103351
|
+
"name": "_onLabelSlotChange",
|
|
102884
103352
|
"privacy": "private"
|
|
102885
103353
|
},
|
|
102886
|
-
{
|
|
102887
|
-
"kind": "method",
|
|
102888
|
-
"name": "_assignId",
|
|
102889
|
-
"privacy": "private",
|
|
102890
|
-
"return": {
|
|
102891
|
-
"type": {
|
|
102892
|
-
"text": "string"
|
|
102893
|
-
}
|
|
102894
|
-
}
|
|
102895
|
-
},
|
|
102896
103354
|
{
|
|
102897
103355
|
"kind": "method",
|
|
102898
103356
|
"name": "_initSelection",
|
|
@@ -102903,24 +103361,6 @@
|
|
|
102903
103361
|
}
|
|
102904
103362
|
}
|
|
102905
103363
|
},
|
|
102906
|
-
{
|
|
102907
|
-
"kind": "method",
|
|
102908
|
-
"name": "_onTabAttributesChange",
|
|
102909
|
-
"privacy": "private",
|
|
102910
|
-
"return": {
|
|
102911
|
-
"type": {
|
|
102912
|
-
"text": "void"
|
|
102913
|
-
}
|
|
102914
|
-
},
|
|
102915
|
-
"parameters": [
|
|
102916
|
-
{
|
|
102917
|
-
"name": "mutationsList",
|
|
102918
|
-
"type": {
|
|
102919
|
-
"text": "MutationRecord[]"
|
|
102920
|
-
}
|
|
102921
|
-
}
|
|
102922
|
-
]
|
|
102923
|
-
},
|
|
102924
103364
|
{
|
|
102925
103365
|
"kind": "method",
|
|
102926
103366
|
"name": "_onTabGroupElementResize",
|
|
@@ -102957,24 +103397,6 @@
|
|
|
102957
103397
|
}
|
|
102958
103398
|
]
|
|
102959
103399
|
},
|
|
102960
|
-
{
|
|
102961
|
-
"kind": "method",
|
|
102962
|
-
"name": "_configure",
|
|
102963
|
-
"privacy": "private",
|
|
102964
|
-
"return": {
|
|
102965
|
-
"type": {
|
|
102966
|
-
"text": "void"
|
|
102967
|
-
}
|
|
102968
|
-
},
|
|
102969
|
-
"parameters": [
|
|
102970
|
-
{
|
|
102971
|
-
"name": "tabLabel",
|
|
102972
|
-
"type": {
|
|
102973
|
-
"text": "InterfaceSbbTabGroupTab"
|
|
102974
|
-
}
|
|
102975
|
-
}
|
|
102976
|
-
]
|
|
102977
|
-
},
|
|
102978
103400
|
{
|
|
102979
103401
|
"kind": "method",
|
|
102980
103402
|
"name": "_handleKeyDown",
|
|
@@ -103046,11 +103468,11 @@
|
|
|
103046
103468
|
],
|
|
103047
103469
|
"events": [
|
|
103048
103470
|
{
|
|
103049
|
-
"name": "tabchange",
|
|
103050
103471
|
"type": {
|
|
103051
103472
|
"text": "CustomEvent<SbbTabChangedEventDetails>"
|
|
103052
103473
|
},
|
|
103053
|
-
"description": "The tabchange event is dispatched when a tab is selected."
|
|
103474
|
+
"description": "The tabchange event is dispatched when a tab is selected.",
|
|
103475
|
+
"name": "tabchange"
|
|
103054
103476
|
}
|
|
103055
103477
|
],
|
|
103056
103478
|
"attributes": [
|
|
@@ -103059,7 +103481,7 @@
|
|
|
103059
103481
|
"description": "Size variant, either s, l or xl.",
|
|
103060
103482
|
"default": "'l' / 's' (lean)",
|
|
103061
103483
|
"type": {
|
|
103062
|
-
"text": "
|
|
103484
|
+
"text": "'s' | 'l' | 'xl'"
|
|
103063
103485
|
},
|
|
103064
103486
|
"fieldName": "size"
|
|
103065
103487
|
},
|
|
@@ -103139,6 +103561,16 @@
|
|
|
103139
103561
|
"static": true,
|
|
103140
103562
|
"default": "'tab'"
|
|
103141
103563
|
},
|
|
103564
|
+
{
|
|
103565
|
+
"kind": "field",
|
|
103566
|
+
"name": "_selected",
|
|
103567
|
+
"type": {
|
|
103568
|
+
"text": "boolean"
|
|
103569
|
+
},
|
|
103570
|
+
"privacy": "private",
|
|
103571
|
+
"default": "false",
|
|
103572
|
+
"description": "Whether the tab is selected."
|
|
103573
|
+
},
|
|
103142
103574
|
{
|
|
103143
103575
|
"kind": "field",
|
|
103144
103576
|
"name": "level",
|
|
@@ -103158,7 +103590,7 @@
|
|
|
103158
103590
|
},
|
|
103159
103591
|
"privacy": "public",
|
|
103160
103592
|
"default": "false",
|
|
103161
|
-
"description": "Active tab state",
|
|
103593
|
+
"description": "Active tab state.",
|
|
103162
103594
|
"attribute": "active",
|
|
103163
103595
|
"reflects": true
|
|
103164
103596
|
},
|
|
@@ -103174,6 +103606,48 @@
|
|
|
103174
103606
|
"attribute": "amount",
|
|
103175
103607
|
"reflects": true
|
|
103176
103608
|
},
|
|
103609
|
+
{
|
|
103610
|
+
"kind": "field",
|
|
103611
|
+
"name": "tab",
|
|
103612
|
+
"type": {
|
|
103613
|
+
"text": "SbbTabElement | null"
|
|
103614
|
+
},
|
|
103615
|
+
"privacy": "public",
|
|
103616
|
+
"description": "Get the `sbb-tab` related to the `sbb-tab-label`.",
|
|
103617
|
+
"readonly": true
|
|
103618
|
+
},
|
|
103619
|
+
{
|
|
103620
|
+
"kind": "field",
|
|
103621
|
+
"name": "group",
|
|
103622
|
+
"type": {
|
|
103623
|
+
"text": "SbbTabGroupElement | null"
|
|
103624
|
+
},
|
|
103625
|
+
"privacy": "public",
|
|
103626
|
+
"description": "Get the parent `sbb-tab-group`.",
|
|
103627
|
+
"readonly": true
|
|
103628
|
+
},
|
|
103629
|
+
{
|
|
103630
|
+
"kind": "method",
|
|
103631
|
+
"name": "deactivate",
|
|
103632
|
+
"privacy": "public",
|
|
103633
|
+
"return": {
|
|
103634
|
+
"type": {
|
|
103635
|
+
"text": "void"
|
|
103636
|
+
}
|
|
103637
|
+
},
|
|
103638
|
+
"description": "Deactivate the tab."
|
|
103639
|
+
},
|
|
103640
|
+
{
|
|
103641
|
+
"kind": "method",
|
|
103642
|
+
"name": "activate",
|
|
103643
|
+
"privacy": "public",
|
|
103644
|
+
"return": {
|
|
103645
|
+
"type": {
|
|
103646
|
+
"text": "void"
|
|
103647
|
+
}
|
|
103648
|
+
},
|
|
103649
|
+
"description": "Select the tab, deactivating the current selected one, and dispatch the tabchange event."
|
|
103650
|
+
},
|
|
103177
103651
|
{
|
|
103178
103652
|
"kind": "field",
|
|
103179
103653
|
"name": "disabled",
|
|
@@ -103303,7 +103777,7 @@
|
|
|
103303
103777
|
"text": "boolean"
|
|
103304
103778
|
},
|
|
103305
103779
|
"default": "false",
|
|
103306
|
-
"description": "Active tab state",
|
|
103780
|
+
"description": "Active tab state.",
|
|
103307
103781
|
"fieldName": "active"
|
|
103308
103782
|
},
|
|
103309
103783
|
{
|