@sbb-esta/lyne-elements 4.0.5 → 4.2.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/breadcrumb/breadcrumb/breadcrumb.component.js +5 -5
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +7 -7
- package/calendar/calendar.component.js +52 -52
- package/card/card/card.component.js +14 -14
- package/core/interfaces/overlay-close-details.d.ts +1 -0
- package/core/interfaces/overlay-close-details.d.ts.map +1 -1
- package/core/styles/core.scss +14 -0
- package/core/styles/mixins/buttons.scss +1 -2
- package/core/styles/mixins/card.scss +9 -3
- package/core/styles/mixins/inputs.scss +1 -1
- package/core/styles/mixins/link.scss +0 -1
- package/core/styles/normalize.scss +4 -6
- package/core.css +170 -4
- package/custom-elements.json +1019 -347
- package/development/breadcrumb/breadcrumb/breadcrumb.component.js +1 -2
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +2 -3
- package/development/calendar/calendar.component.js +3 -5
- package/development/card/card/card.component.js +11 -1
- package/development/core/interfaces/overlay-close-details.d.ts +1 -0
- package/development/core/interfaces/overlay-close-details.d.ts.map +1 -1
- package/development/dialog/dialog/dialog.component.d.ts +4 -0
- package/development/dialog/dialog/dialog.component.d.ts.map +1 -1
- package/development/dialog/dialog/dialog.component.js +23 -5
- package/development/dialog/dialog.js +5 -2
- package/development/dialog.js +5 -2
- package/development/flip-card/flip-card/flip-card.component.js +2 -3
- package/development/link/common/block-link-common.js +1 -1
- package/development/link/common/inline-link-common.js +1 -1
- package/development/link/common/link-common.js +1 -1
- package/development/link/common.js +1 -1
- package/development/{link-common-CYr3PeRf.js → link-common-d27fHmQw.js} +1 -2
- package/development/link.js +1 -1
- package/development/option/option-hint/option-hint.component.js +2 -1
- package/development/overlay/overlay-base-element.d.ts +37 -5
- package/development/overlay/overlay-base-element.d.ts.map +1 -1
- package/development/overlay/overlay-base-element.js +32 -20
- package/development/overlay/overlay.component.d.ts +3 -0
- package/development/overlay/overlay.component.d.ts.map +1 -1
- package/development/overlay/overlay.component.js +19 -4
- package/development/overlay.js +3 -1
- package/development/paginator/paginator/paginator.component.js +2 -3
- package/development/popover/popover.component.d.ts +2 -2
- package/development/popover/popover.component.d.ts.map +1 -1
- package/development/popover/popover.component.js +5 -5
- package/development/stepper/step/step.component.d.ts +4 -0
- package/development/stepper/step/step.component.d.ts.map +1 -1
- package/development/stepper/step/step.component.js +5 -1
- package/development/stepper/stepper/stepper.component.d.ts +15 -0
- package/development/stepper/stepper/stepper.component.d.ts.map +1 -1
- package/development/stepper/stepper/stepper.component.js +19 -4
- package/development/stepper/stepper.js +2 -1
- package/development/stepper.js +2 -1
- package/development/tabs/common.d.ts +4 -0
- package/development/tabs/common.d.ts.map +1 -0
- package/development/tabs/common.js +170 -0
- package/development/tabs/tab-group/tab-group.component.d.ts.map +1 -1
- package/development/tabs/tab-group/tab-group.component.js +11 -18
- package/development/tabs/tab-label/tab-label.component.d.ts.map +1 -1
- package/development/tabs/tab-label/tab-label.component.js +110 -134
- package/development/tabs/tab-nav-bar/tab-nav-bar.component.d.ts +30 -0
- package/development/tabs/tab-nav-bar/tab-nav-bar.component.d.ts.map +1 -0
- package/development/tabs/tab-nav-bar/tab-nav-bar.component.js +105 -0
- package/development/tabs/tab-nav-bar.d.ts +5 -0
- package/development/tabs/tab-nav-bar.d.ts.map +1 -0
- package/development/tabs/tab-nav-bar.js +5 -0
- package/development/tabs.d.ts +1 -0
- package/development/tabs.d.ts.map +1 -1
- package/development/tabs.js +4 -2
- package/development/toast/toast.component.js +2 -2
- package/dialog/dialog/dialog.component.d.ts +4 -0
- package/dialog/dialog/dialog.component.d.ts.map +1 -1
- package/dialog/dialog/dialog.component.js +46 -26
- package/dialog/dialog.js +5 -2
- package/dialog.js +9 -6
- package/flip-card/flip-card/flip-card.component.js +11 -11
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/link/common/block-link-common.js +1 -1
- package/link/common/inline-link-common.js +1 -1
- package/link/common/link-common.js +1 -1
- package/link/common.js +1 -1
- package/{link-common-D9TmX32v.js → link-common-7IiqjmPD.js} +1 -1
- package/link.js +1 -1
- package/normalize.css +4 -6
- package/off-brand-theme.css +174 -10
- package/option/option-hint/option-hint.component.js +7 -7
- package/overlay/overlay-base-element.d.ts +37 -5
- package/overlay/overlay-base-element.d.ts.map +1 -1
- package/overlay/overlay-base-element.js +68 -62
- package/overlay/overlay.component.d.ts +3 -0
- package/overlay/overlay.component.d.ts.map +1 -1
- package/overlay/overlay.component.js +49 -32
- package/overlay.js +7 -5
- package/package.json +11 -1
- package/paginator/paginator/paginator.component.js +1 -1
- package/popover/popover.component.d.ts +2 -2
- package/popover/popover.component.d.ts.map +1 -1
- package/popover/popover.component.js +4 -4
- package/safety-theme.css +174 -10
- package/standard-theme.css +174 -10
- package/stepper/step/step.component.d.ts +4 -0
- package/stepper/step/step.component.d.ts.map +1 -1
- package/stepper/step/step.component.js +4 -0
- package/stepper/stepper/stepper.component.d.ts +15 -0
- package/stepper/stepper/stepper.component.d.ts.map +1 -1
- package/stepper/stepper/stepper.component.js +41 -33
- package/stepper/stepper.js +3 -2
- package/stepper.js +4 -3
- package/tabs/common.d.ts +4 -0
- package/tabs/common.d.ts.map +1 -0
- package/tabs/common.js +6 -0
- package/tabs/tab-group/tab-group.component.d.ts.map +1 -1
- package/tabs/tab-group/tab-group.component.js +38 -38
- package/tabs/tab-label/tab-label.component.d.ts.map +1 -1
- package/tabs/tab-label/tab-label.component.js +34 -35
- package/tabs/tab-nav-bar/tab-nav-bar.component.d.ts +30 -0
- package/tabs/tab-nav-bar/tab-nav-bar.component.d.ts.map +1 -0
- package/tabs/tab-nav-bar/tab-nav-bar.component.js +66 -0
- package/tabs/tab-nav-bar.d.ts +5 -0
- package/tabs/tab-nav-bar.d.ts.map +1 -0
- package/tabs/tab-nav-bar.js +4 -0
- package/tabs.d.ts +1 -0
- package/tabs.d.ts.map +1 -1
- package/tabs.js +5 -3
- package/toast/toast.component.js +1 -1
package/custom-elements.json
CHANGED
|
@@ -1582,6 +1582,14 @@
|
|
|
1582
1582
|
"name": "*",
|
|
1583
1583
|
"module": "tabs/tab-label.js"
|
|
1584
1584
|
}
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"kind": "js",
|
|
1588
|
+
"name": "*",
|
|
1589
|
+
"declaration": {
|
|
1590
|
+
"name": "*",
|
|
1591
|
+
"module": "tabs/tab-nav-bar/tab-nav-bar.component.js"
|
|
1592
|
+
}
|
|
1585
1593
|
}
|
|
1586
1594
|
]
|
|
1587
1595
|
},
|
|
@@ -13262,6 +13270,61 @@
|
|
|
13262
13270
|
"kind": "javascript-module",
|
|
13263
13271
|
"path": "overlay/overlay-base-element.js",
|
|
13264
13272
|
"declarations": [
|
|
13273
|
+
{
|
|
13274
|
+
"kind": "class",
|
|
13275
|
+
"description": "",
|
|
13276
|
+
"name": "SbbOverlayCloseEvent",
|
|
13277
|
+
"members": [
|
|
13278
|
+
{
|
|
13279
|
+
"kind": "field",
|
|
13280
|
+
"name": "result",
|
|
13281
|
+
"type": {
|
|
13282
|
+
"text": "T | null"
|
|
13283
|
+
},
|
|
13284
|
+
"privacy": "public",
|
|
13285
|
+
"readonly": true,
|
|
13286
|
+
"description": "The result associated with the closed overlay.\nThis is either the result assigned to the `closeTarget` via\n`assignOverlayResult` / `assignDialogResult` or the value of the\ncorresponding close attribute on the `closeTarget`\n(e.g. sbb-overlay-close=\"my-result\" or sbb-dialog-close=\"my-result\")."
|
|
13287
|
+
},
|
|
13288
|
+
{
|
|
13289
|
+
"kind": "field",
|
|
13290
|
+
"name": "closeTarget",
|
|
13291
|
+
"type": {
|
|
13292
|
+
"text": "HTMLElement | null"
|
|
13293
|
+
},
|
|
13294
|
+
"privacy": "public",
|
|
13295
|
+
"readonly": true,
|
|
13296
|
+
"description": "The element that was used to close the overlay/dialog, i.e. the element that the\nuser clicked on that had the close attribute.\nEmpty if closed programmatically or via Escape press."
|
|
13297
|
+
}
|
|
13298
|
+
],
|
|
13299
|
+
"superclass": {
|
|
13300
|
+
"name": "CustomEvent",
|
|
13301
|
+
"module": "overlay/overlay-base-element.js"
|
|
13302
|
+
},
|
|
13303
|
+
"classGenerics": "T = any"
|
|
13304
|
+
},
|
|
13305
|
+
{
|
|
13306
|
+
"kind": "function",
|
|
13307
|
+
"name": "assignOverlayResult",
|
|
13308
|
+
"return": {
|
|
13309
|
+
"type": {
|
|
13310
|
+
"text": "void"
|
|
13311
|
+
}
|
|
13312
|
+
},
|
|
13313
|
+
"parameters": [
|
|
13314
|
+
{
|
|
13315
|
+
"name": "element",
|
|
13316
|
+
"type": {
|
|
13317
|
+
"text": "HTMLElement"
|
|
13318
|
+
}
|
|
13319
|
+
},
|
|
13320
|
+
{
|
|
13321
|
+
"name": "result",
|
|
13322
|
+
"type": {
|
|
13323
|
+
"text": "T"
|
|
13324
|
+
}
|
|
13325
|
+
}
|
|
13326
|
+
]
|
|
13327
|
+
},
|
|
13265
13328
|
{
|
|
13266
13329
|
"kind": "variable",
|
|
13267
13330
|
"name": "overlayRefs",
|
|
@@ -13328,7 +13391,7 @@
|
|
|
13328
13391
|
"kind": "field",
|
|
13329
13392
|
"name": "openOverlayController",
|
|
13330
13393
|
"type": {
|
|
13331
|
-
"text": "AbortController"
|
|
13394
|
+
"text": "AbortController | undefined"
|
|
13332
13395
|
},
|
|
13333
13396
|
"privacy": "protected"
|
|
13334
13397
|
},
|
|
@@ -13400,7 +13463,7 @@
|
|
|
13400
13463
|
"kind": "field",
|
|
13401
13464
|
"name": "_triggerAbortController",
|
|
13402
13465
|
"type": {
|
|
13403
|
-
"text": "AbortController"
|
|
13466
|
+
"text": "AbortController | undefined"
|
|
13404
13467
|
},
|
|
13405
13468
|
"privacy": "private"
|
|
13406
13469
|
},
|
|
@@ -13450,6 +13513,52 @@
|
|
|
13450
13513
|
}
|
|
13451
13514
|
}
|
|
13452
13515
|
},
|
|
13516
|
+
{
|
|
13517
|
+
"kind": "method",
|
|
13518
|
+
"name": "dispatchBeforeCloseEvent",
|
|
13519
|
+
"privacy": "protected",
|
|
13520
|
+
"return": {
|
|
13521
|
+
"type": {
|
|
13522
|
+
"text": "boolean"
|
|
13523
|
+
}
|
|
13524
|
+
},
|
|
13525
|
+
"parameters": [
|
|
13526
|
+
{
|
|
13527
|
+
"name": "detail",
|
|
13528
|
+
"optional": true,
|
|
13529
|
+
"type": {
|
|
13530
|
+
"text": "SbbOverlayCloseEventDetails"
|
|
13531
|
+
}
|
|
13532
|
+
}
|
|
13533
|
+
],
|
|
13534
|
+
"inheritedFrom": {
|
|
13535
|
+
"name": "SbbOpenCloseBaseElement",
|
|
13536
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
13537
|
+
}
|
|
13538
|
+
},
|
|
13539
|
+
{
|
|
13540
|
+
"kind": "method",
|
|
13541
|
+
"name": "dispatchCloseEvent",
|
|
13542
|
+
"privacy": "protected",
|
|
13543
|
+
"return": {
|
|
13544
|
+
"type": {
|
|
13545
|
+
"text": "boolean"
|
|
13546
|
+
}
|
|
13547
|
+
},
|
|
13548
|
+
"parameters": [
|
|
13549
|
+
{
|
|
13550
|
+
"name": "detail",
|
|
13551
|
+
"optional": true,
|
|
13552
|
+
"type": {
|
|
13553
|
+
"text": "SbbOverlayCloseEventDetails"
|
|
13554
|
+
}
|
|
13555
|
+
}
|
|
13556
|
+
],
|
|
13557
|
+
"inheritedFrom": {
|
|
13558
|
+
"name": "SbbOpenCloseBaseElement",
|
|
13559
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
13560
|
+
}
|
|
13561
|
+
},
|
|
13453
13562
|
{
|
|
13454
13563
|
"kind": "method",
|
|
13455
13564
|
"name": "open",
|
|
@@ -13471,7 +13580,7 @@
|
|
|
13471
13580
|
"privacy": "public",
|
|
13472
13581
|
"return": {
|
|
13473
13582
|
"type": {
|
|
13474
|
-
"text": "
|
|
13583
|
+
"text": "void"
|
|
13475
13584
|
}
|
|
13476
13585
|
},
|
|
13477
13586
|
"description": "Closes the component.",
|
|
@@ -13482,12 +13591,53 @@
|
|
|
13482
13591
|
"type": {
|
|
13483
13592
|
"text": "any"
|
|
13484
13593
|
}
|
|
13485
|
-
}
|
|
13594
|
+
}
|
|
13595
|
+
],
|
|
13596
|
+
"inheritedFrom": {
|
|
13597
|
+
"name": "SbbOpenCloseBaseElement",
|
|
13598
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
13599
|
+
}
|
|
13600
|
+
},
|
|
13601
|
+
{
|
|
13602
|
+
"kind": "method",
|
|
13603
|
+
"name": "close",
|
|
13604
|
+
"privacy": "public",
|
|
13605
|
+
"return": {
|
|
13606
|
+
"type": {
|
|
13607
|
+
"text": "void"
|
|
13608
|
+
}
|
|
13609
|
+
},
|
|
13610
|
+
"description": "Closes the component.",
|
|
13611
|
+
"parameters": [
|
|
13486
13612
|
{
|
|
13487
|
-
"name": "
|
|
13613
|
+
"name": "result",
|
|
13488
13614
|
"optional": true,
|
|
13489
13615
|
"type": {
|
|
13490
|
-
"text": "
|
|
13616
|
+
"text": "any"
|
|
13617
|
+
}
|
|
13618
|
+
}
|
|
13619
|
+
],
|
|
13620
|
+
"inheritedFrom": {
|
|
13621
|
+
"name": "SbbOpenCloseBaseElement",
|
|
13622
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
13623
|
+
}
|
|
13624
|
+
},
|
|
13625
|
+
{
|
|
13626
|
+
"kind": "method",
|
|
13627
|
+
"name": "close",
|
|
13628
|
+
"privacy": "public",
|
|
13629
|
+
"return": {
|
|
13630
|
+
"type": {
|
|
13631
|
+
"text": "void"
|
|
13632
|
+
}
|
|
13633
|
+
},
|
|
13634
|
+
"description": "Closes the component.",
|
|
13635
|
+
"parameters": [
|
|
13636
|
+
{
|
|
13637
|
+
"name": "result",
|
|
13638
|
+
"optional": true,
|
|
13639
|
+
"type": {
|
|
13640
|
+
"text": "any"
|
|
13491
13641
|
}
|
|
13492
13642
|
}
|
|
13493
13643
|
],
|
|
@@ -13496,6 +13646,41 @@
|
|
|
13496
13646
|
"module": "core/base-elements/open-close-base-element.js"
|
|
13497
13647
|
}
|
|
13498
13648
|
},
|
|
13649
|
+
{
|
|
13650
|
+
"kind": "method",
|
|
13651
|
+
"name": "_close",
|
|
13652
|
+
"privacy": "private",
|
|
13653
|
+
"return": {
|
|
13654
|
+
"type": {
|
|
13655
|
+
"text": "void"
|
|
13656
|
+
}
|
|
13657
|
+
},
|
|
13658
|
+
"parameters": [
|
|
13659
|
+
{
|
|
13660
|
+
"name": "result",
|
|
13661
|
+
"type": {
|
|
13662
|
+
"text": "any"
|
|
13663
|
+
}
|
|
13664
|
+
},
|
|
13665
|
+
{
|
|
13666
|
+
"name": "target",
|
|
13667
|
+
"type": {
|
|
13668
|
+
"text": "HTMLElement | undefined"
|
|
13669
|
+
}
|
|
13670
|
+
}
|
|
13671
|
+
]
|
|
13672
|
+
},
|
|
13673
|
+
{
|
|
13674
|
+
"kind": "method",
|
|
13675
|
+
"name": "_hasClosedParent",
|
|
13676
|
+
"privacy": "private",
|
|
13677
|
+
"return": {
|
|
13678
|
+
"type": {
|
|
13679
|
+
"text": "boolean"
|
|
13680
|
+
}
|
|
13681
|
+
},
|
|
13682
|
+
"description": "Check if there is a parent dialog or overlay in the DOM that is closed.\nIn this case, the overlay should not be opened because it would break the state.\nNot nested but stacked overlays are supported so this logic does not apply in this case."
|
|
13683
|
+
},
|
|
13499
13684
|
{
|
|
13500
13685
|
"kind": "method",
|
|
13501
13686
|
"name": "_configureTrigger",
|
|
@@ -13591,52 +13776,6 @@
|
|
|
13591
13776
|
}
|
|
13592
13777
|
]
|
|
13593
13778
|
},
|
|
13594
|
-
{
|
|
13595
|
-
"kind": "method",
|
|
13596
|
-
"name": "dispatchBeforeCloseEvent",
|
|
13597
|
-
"privacy": "protected",
|
|
13598
|
-
"return": {
|
|
13599
|
-
"type": {
|
|
13600
|
-
"text": "boolean"
|
|
13601
|
-
}
|
|
13602
|
-
},
|
|
13603
|
-
"parameters": [
|
|
13604
|
-
{
|
|
13605
|
-
"name": "detail",
|
|
13606
|
-
"optional": true,
|
|
13607
|
-
"type": {
|
|
13608
|
-
"text": "SbbOverlayCloseEventDetails"
|
|
13609
|
-
}
|
|
13610
|
-
}
|
|
13611
|
-
],
|
|
13612
|
-
"inheritedFrom": {
|
|
13613
|
-
"name": "SbbOpenCloseBaseElement",
|
|
13614
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
13615
|
-
}
|
|
13616
|
-
},
|
|
13617
|
-
{
|
|
13618
|
-
"kind": "method",
|
|
13619
|
-
"name": "dispatchCloseEvent",
|
|
13620
|
-
"privacy": "protected",
|
|
13621
|
-
"return": {
|
|
13622
|
-
"type": {
|
|
13623
|
-
"text": "boolean"
|
|
13624
|
-
}
|
|
13625
|
-
},
|
|
13626
|
-
"parameters": [
|
|
13627
|
-
{
|
|
13628
|
-
"name": "detail",
|
|
13629
|
-
"optional": true,
|
|
13630
|
-
"type": {
|
|
13631
|
-
"text": "SbbOverlayCloseEventDetails"
|
|
13632
|
-
}
|
|
13633
|
-
}
|
|
13634
|
-
],
|
|
13635
|
-
"inheritedFrom": {
|
|
13636
|
-
"name": "SbbOpenCloseBaseElement",
|
|
13637
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
13638
|
-
}
|
|
13639
|
-
},
|
|
13640
13779
|
{
|
|
13641
13780
|
"kind": "field",
|
|
13642
13781
|
"name": "negative",
|
|
@@ -13781,52 +13920,6 @@
|
|
|
13781
13920
|
}
|
|
13782
13921
|
}
|
|
13783
13922
|
],
|
|
13784
|
-
"events": [
|
|
13785
|
-
{
|
|
13786
|
-
"name": "beforeclose",
|
|
13787
|
-
"type": {
|
|
13788
|
-
"text": "CustomEvent<SbbOverlayCloseEventDetails>"
|
|
13789
|
-
},
|
|
13790
|
-
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
13791
|
-
"inheritedFrom": {
|
|
13792
|
-
"name": "SbbOpenCloseBaseElement",
|
|
13793
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
13794
|
-
}
|
|
13795
|
-
},
|
|
13796
|
-
{
|
|
13797
|
-
"name": "close",
|
|
13798
|
-
"type": {
|
|
13799
|
-
"text": "CustomEvent<SbbOverlayCloseEventDetails>"
|
|
13800
|
-
},
|
|
13801
|
-
"description": "Emits whenever the component is closed.",
|
|
13802
|
-
"inheritedFrom": {
|
|
13803
|
-
"name": "SbbOpenCloseBaseElement",
|
|
13804
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
13805
|
-
}
|
|
13806
|
-
},
|
|
13807
|
-
{
|
|
13808
|
-
"name": "beforeopen",
|
|
13809
|
-
"type": {
|
|
13810
|
-
"text": "Event"
|
|
13811
|
-
},
|
|
13812
|
-
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
13813
|
-
"inheritedFrom": {
|
|
13814
|
-
"name": "SbbOpenCloseBaseElement",
|
|
13815
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
13816
|
-
}
|
|
13817
|
-
},
|
|
13818
|
-
{
|
|
13819
|
-
"name": "open",
|
|
13820
|
-
"type": {
|
|
13821
|
-
"text": "Event"
|
|
13822
|
-
},
|
|
13823
|
-
"description": "Emits whenever the component is opened.",
|
|
13824
|
-
"inheritedFrom": {
|
|
13825
|
-
"name": "SbbOpenCloseBaseElement",
|
|
13826
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
13827
|
-
}
|
|
13828
|
-
}
|
|
13829
|
-
],
|
|
13830
13923
|
"attributes": [
|
|
13831
13924
|
{
|
|
13832
13925
|
"name": "trigger",
|
|
@@ -13878,10 +13971,72 @@
|
|
|
13878
13971
|
"superclass": {
|
|
13879
13972
|
"name": "SbbOpenCloseBaseElement",
|
|
13880
13973
|
"module": "core/base-elements.js"
|
|
13881
|
-
}
|
|
13974
|
+
},
|
|
13975
|
+
"events": [
|
|
13976
|
+
{
|
|
13977
|
+
"name": "beforeopen",
|
|
13978
|
+
"type": {
|
|
13979
|
+
"text": "Event"
|
|
13980
|
+
},
|
|
13981
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
13982
|
+
"inheritedFrom": {
|
|
13983
|
+
"name": "SbbOpenCloseBaseElement",
|
|
13984
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
13985
|
+
}
|
|
13986
|
+
},
|
|
13987
|
+
{
|
|
13988
|
+
"name": "open",
|
|
13989
|
+
"type": {
|
|
13990
|
+
"text": "Event"
|
|
13991
|
+
},
|
|
13992
|
+
"description": "Emits whenever the component is opened.",
|
|
13993
|
+
"inheritedFrom": {
|
|
13994
|
+
"name": "SbbOpenCloseBaseElement",
|
|
13995
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
13996
|
+
}
|
|
13997
|
+
},
|
|
13998
|
+
{
|
|
13999
|
+
"name": "beforeclose",
|
|
14000
|
+
"type": {
|
|
14001
|
+
"text": "Event"
|
|
14002
|
+
},
|
|
14003
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
14004
|
+
"inheritedFrom": {
|
|
14005
|
+
"name": "SbbOpenCloseBaseElement",
|
|
14006
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
14007
|
+
}
|
|
14008
|
+
},
|
|
14009
|
+
{
|
|
14010
|
+
"name": "close",
|
|
14011
|
+
"type": {
|
|
14012
|
+
"text": "Event"
|
|
14013
|
+
},
|
|
14014
|
+
"description": "Emits whenever the component is closed.",
|
|
14015
|
+
"inheritedFrom": {
|
|
14016
|
+
"name": "SbbOpenCloseBaseElement",
|
|
14017
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
14018
|
+
}
|
|
14019
|
+
}
|
|
14020
|
+
]
|
|
13882
14021
|
}
|
|
13883
14022
|
],
|
|
13884
14023
|
"exports": [
|
|
14024
|
+
{
|
|
14025
|
+
"kind": "js",
|
|
14026
|
+
"name": "SbbOverlayCloseEvent",
|
|
14027
|
+
"declaration": {
|
|
14028
|
+
"name": "SbbOverlayCloseEvent",
|
|
14029
|
+
"module": "overlay/overlay-base-element.js"
|
|
14030
|
+
}
|
|
14031
|
+
},
|
|
14032
|
+
{
|
|
14033
|
+
"kind": "js",
|
|
14034
|
+
"name": "assignOverlayResult",
|
|
14035
|
+
"declaration": {
|
|
14036
|
+
"name": "assignOverlayResult",
|
|
14037
|
+
"module": "overlay/overlay-base-element.js"
|
|
14038
|
+
}
|
|
14039
|
+
},
|
|
13885
14040
|
{
|
|
13886
14041
|
"kind": "js",
|
|
13887
14042
|
"name": "overlayRefs",
|
|
@@ -14024,6 +14179,52 @@
|
|
|
14024
14179
|
"module": "overlay/overlay-base-element.js"
|
|
14025
14180
|
}
|
|
14026
14181
|
},
|
|
14182
|
+
{
|
|
14183
|
+
"kind": "method",
|
|
14184
|
+
"name": "dispatchBeforeCloseEvent",
|
|
14185
|
+
"privacy": "protected",
|
|
14186
|
+
"return": {
|
|
14187
|
+
"type": {
|
|
14188
|
+
"text": "boolean"
|
|
14189
|
+
}
|
|
14190
|
+
},
|
|
14191
|
+
"parameters": [
|
|
14192
|
+
{
|
|
14193
|
+
"name": "_detail",
|
|
14194
|
+
"optional": true,
|
|
14195
|
+
"type": {
|
|
14196
|
+
"text": "SbbOverlayCloseEventDetails"
|
|
14197
|
+
}
|
|
14198
|
+
}
|
|
14199
|
+
],
|
|
14200
|
+
"inheritedFrom": {
|
|
14201
|
+
"name": "SbbOpenCloseBaseElement",
|
|
14202
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
14203
|
+
}
|
|
14204
|
+
},
|
|
14205
|
+
{
|
|
14206
|
+
"kind": "method",
|
|
14207
|
+
"name": "dispatchCloseEvent",
|
|
14208
|
+
"privacy": "protected",
|
|
14209
|
+
"return": {
|
|
14210
|
+
"type": {
|
|
14211
|
+
"text": "boolean"
|
|
14212
|
+
}
|
|
14213
|
+
},
|
|
14214
|
+
"parameters": [
|
|
14215
|
+
{
|
|
14216
|
+
"name": "_detail",
|
|
14217
|
+
"optional": true,
|
|
14218
|
+
"type": {
|
|
14219
|
+
"text": "SbbOverlayCloseEventDetails"
|
|
14220
|
+
}
|
|
14221
|
+
}
|
|
14222
|
+
],
|
|
14223
|
+
"inheritedFrom": {
|
|
14224
|
+
"name": "SbbOpenCloseBaseElement",
|
|
14225
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
14226
|
+
}
|
|
14227
|
+
},
|
|
14027
14228
|
{
|
|
14028
14229
|
"kind": "field",
|
|
14029
14230
|
"name": "negative",
|
|
@@ -14113,7 +14314,7 @@
|
|
|
14113
14314
|
"kind": "field",
|
|
14114
14315
|
"name": "openOverlayController",
|
|
14115
14316
|
"type": {
|
|
14116
|
-
"text": "AbortController"
|
|
14317
|
+
"text": "AbortController | undefined"
|
|
14117
14318
|
},
|
|
14118
14319
|
"privacy": "protected",
|
|
14119
14320
|
"inheritedFrom": {
|
|
@@ -14225,7 +14426,7 @@
|
|
|
14225
14426
|
"kind": "field",
|
|
14226
14427
|
"name": "_triggerAbortController",
|
|
14227
14428
|
"type": {
|
|
14228
|
-
"text": "AbortController"
|
|
14429
|
+
"text": "AbortController | undefined"
|
|
14229
14430
|
},
|
|
14230
14431
|
"privacy": "private",
|
|
14231
14432
|
"inheritedFrom": {
|
|
@@ -14266,7 +14467,7 @@
|
|
|
14266
14467
|
"privacy": "public",
|
|
14267
14468
|
"return": {
|
|
14268
14469
|
"type": {
|
|
14269
|
-
"text": "
|
|
14470
|
+
"text": "void"
|
|
14270
14471
|
}
|
|
14271
14472
|
},
|
|
14272
14473
|
"description": "Closes the component.",
|
|
@@ -14277,13 +14478,6 @@
|
|
|
14277
14478
|
"type": {
|
|
14278
14479
|
"text": "any"
|
|
14279
14480
|
}
|
|
14280
|
-
},
|
|
14281
|
-
{
|
|
14282
|
-
"name": "target",
|
|
14283
|
-
"optional": true,
|
|
14284
|
-
"type": {
|
|
14285
|
-
"text": "HTMLElement"
|
|
14286
|
-
}
|
|
14287
14481
|
}
|
|
14288
14482
|
],
|
|
14289
14483
|
"inheritedFrom": {
|
|
@@ -14293,13 +14487,27 @@
|
|
|
14293
14487
|
},
|
|
14294
14488
|
{
|
|
14295
14489
|
"kind": "method",
|
|
14296
|
-
"name": "
|
|
14490
|
+
"name": "_close",
|
|
14297
14491
|
"privacy": "private",
|
|
14298
14492
|
"return": {
|
|
14299
14493
|
"type": {
|
|
14300
14494
|
"text": "void"
|
|
14301
14495
|
}
|
|
14302
14496
|
},
|
|
14497
|
+
"parameters": [
|
|
14498
|
+
{
|
|
14499
|
+
"name": "result",
|
|
14500
|
+
"type": {
|
|
14501
|
+
"text": "any"
|
|
14502
|
+
}
|
|
14503
|
+
},
|
|
14504
|
+
{
|
|
14505
|
+
"name": "target",
|
|
14506
|
+
"type": {
|
|
14507
|
+
"text": "HTMLElement | undefined"
|
|
14508
|
+
}
|
|
14509
|
+
}
|
|
14510
|
+
],
|
|
14303
14511
|
"inheritedFrom": {
|
|
14304
14512
|
"name": "SbbOverlayBaseElement",
|
|
14305
14513
|
"module": "overlay/overlay-base-element.js"
|
|
@@ -14307,13 +14515,14 @@
|
|
|
14307
14515
|
},
|
|
14308
14516
|
{
|
|
14309
14517
|
"kind": "method",
|
|
14310
|
-
"name": "
|
|
14311
|
-
"privacy": "
|
|
14518
|
+
"name": "_hasClosedParent",
|
|
14519
|
+
"privacy": "private",
|
|
14312
14520
|
"return": {
|
|
14313
14521
|
"type": {
|
|
14314
|
-
"text": "
|
|
14522
|
+
"text": "boolean"
|
|
14315
14523
|
}
|
|
14316
14524
|
},
|
|
14525
|
+
"description": "Check if there is a parent dialog or overlay in the DOM that is closed.\nIn this case, the overlay should not be opened because it would break the state.\nNot nested but stacked overlays are supported so this logic does not apply in this case.",
|
|
14317
14526
|
"inheritedFrom": {
|
|
14318
14527
|
"name": "SbbOverlayBaseElement",
|
|
14319
14528
|
"module": "overlay/overlay-base-element.js"
|
|
@@ -14321,8 +14530,8 @@
|
|
|
14321
14530
|
},
|
|
14322
14531
|
{
|
|
14323
14532
|
"kind": "method",
|
|
14324
|
-
"name": "
|
|
14325
|
-
"privacy": "
|
|
14533
|
+
"name": "_configureTrigger",
|
|
14534
|
+
"privacy": "private",
|
|
14326
14535
|
"return": {
|
|
14327
14536
|
"type": {
|
|
14328
14537
|
"text": "void"
|
|
@@ -14335,21 +14544,13 @@
|
|
|
14335
14544
|
},
|
|
14336
14545
|
{
|
|
14337
14546
|
"kind": "method",
|
|
14338
|
-
"name": "
|
|
14547
|
+
"name": "attachOpenOverlayEvents",
|
|
14339
14548
|
"privacy": "protected",
|
|
14340
14549
|
"return": {
|
|
14341
14550
|
"type": {
|
|
14342
14551
|
"text": "void"
|
|
14343
14552
|
}
|
|
14344
14553
|
},
|
|
14345
|
-
"parameters": [
|
|
14346
|
-
{
|
|
14347
|
-
"name": "event",
|
|
14348
|
-
"type": {
|
|
14349
|
-
"text": "Event"
|
|
14350
|
-
}
|
|
14351
|
-
}
|
|
14352
|
-
],
|
|
14353
14554
|
"inheritedFrom": {
|
|
14354
14555
|
"name": "SbbOverlayBaseElement",
|
|
14355
14556
|
"module": "overlay/overlay-base-element.js"
|
|
@@ -14357,7 +14558,7 @@
|
|
|
14357
14558
|
},
|
|
14358
14559
|
{
|
|
14359
14560
|
"kind": "method",
|
|
14360
|
-
"name": "
|
|
14561
|
+
"name": "removeInstanceFromGlobalCollection",
|
|
14361
14562
|
"privacy": "protected",
|
|
14362
14563
|
"return": {
|
|
14363
14564
|
"type": {
|
|
@@ -14371,7 +14572,7 @@
|
|
|
14371
14572
|
},
|
|
14372
14573
|
{
|
|
14373
14574
|
"kind": "method",
|
|
14374
|
-
"name": "
|
|
14575
|
+
"name": "closeOnSbbOverlayCloseClick",
|
|
14375
14576
|
"privacy": "protected",
|
|
14376
14577
|
"return": {
|
|
14377
14578
|
"type": {
|
|
@@ -14380,10 +14581,9 @@
|
|
|
14380
14581
|
},
|
|
14381
14582
|
"parameters": [
|
|
14382
14583
|
{
|
|
14383
|
-
"name": "
|
|
14384
|
-
"optional": true,
|
|
14584
|
+
"name": "event",
|
|
14385
14585
|
"type": {
|
|
14386
|
-
"text": "
|
|
14586
|
+
"text": "Event"
|
|
14387
14587
|
}
|
|
14388
14588
|
}
|
|
14389
14589
|
],
|
|
@@ -14394,21 +14594,13 @@
|
|
|
14394
14594
|
},
|
|
14395
14595
|
{
|
|
14396
14596
|
"kind": "method",
|
|
14397
|
-
"name": "
|
|
14597
|
+
"name": "removeAriaLiveRefContent",
|
|
14398
14598
|
"privacy": "protected",
|
|
14399
14599
|
"return": {
|
|
14400
14600
|
"type": {
|
|
14401
14601
|
"text": "void"
|
|
14402
14602
|
}
|
|
14403
14603
|
},
|
|
14404
|
-
"parameters": [
|
|
14405
|
-
{
|
|
14406
|
-
"name": "event",
|
|
14407
|
-
"type": {
|
|
14408
|
-
"text": "AnimationEvent"
|
|
14409
|
-
}
|
|
14410
|
-
}
|
|
14411
|
-
],
|
|
14412
14604
|
"inheritedFrom": {
|
|
14413
14605
|
"name": "SbbOverlayBaseElement",
|
|
14414
14606
|
"module": "overlay/overlay-base-element.js"
|
|
@@ -14416,48 +14608,47 @@
|
|
|
14416
14608
|
},
|
|
14417
14609
|
{
|
|
14418
14610
|
"kind": "method",
|
|
14419
|
-
"name": "
|
|
14611
|
+
"name": "setAriaLiveRefContent",
|
|
14420
14612
|
"privacy": "protected",
|
|
14421
14613
|
"return": {
|
|
14422
14614
|
"type": {
|
|
14423
|
-
"text": "
|
|
14615
|
+
"text": "void"
|
|
14424
14616
|
}
|
|
14425
14617
|
},
|
|
14426
14618
|
"parameters": [
|
|
14427
14619
|
{
|
|
14428
|
-
"name": "
|
|
14620
|
+
"name": "label",
|
|
14429
14621
|
"optional": true,
|
|
14430
14622
|
"type": {
|
|
14431
|
-
"text": "
|
|
14623
|
+
"text": "string"
|
|
14432
14624
|
}
|
|
14433
14625
|
}
|
|
14434
14626
|
],
|
|
14435
14627
|
"inheritedFrom": {
|
|
14436
|
-
"name": "
|
|
14437
|
-
"module": "
|
|
14628
|
+
"name": "SbbOverlayBaseElement",
|
|
14629
|
+
"module": "overlay/overlay-base-element.js"
|
|
14438
14630
|
}
|
|
14439
14631
|
},
|
|
14440
14632
|
{
|
|
14441
14633
|
"kind": "method",
|
|
14442
|
-
"name": "
|
|
14634
|
+
"name": "onOverlayAnimationEnd",
|
|
14443
14635
|
"privacy": "protected",
|
|
14444
14636
|
"return": {
|
|
14445
14637
|
"type": {
|
|
14446
|
-
"text": "
|
|
14638
|
+
"text": "void"
|
|
14447
14639
|
}
|
|
14448
14640
|
},
|
|
14449
14641
|
"parameters": [
|
|
14450
14642
|
{
|
|
14451
|
-
"name": "
|
|
14452
|
-
"optional": true,
|
|
14643
|
+
"name": "event",
|
|
14453
14644
|
"type": {
|
|
14454
|
-
"text": "
|
|
14645
|
+
"text": "AnimationEvent"
|
|
14455
14646
|
}
|
|
14456
14647
|
}
|
|
14457
14648
|
],
|
|
14458
14649
|
"inheritedFrom": {
|
|
14459
|
-
"name": "
|
|
14460
|
-
"module": "
|
|
14650
|
+
"name": "SbbOverlayBaseElement",
|
|
14651
|
+
"module": "overlay/overlay-base-element.js"
|
|
14461
14652
|
}
|
|
14462
14653
|
},
|
|
14463
14654
|
{
|
|
@@ -14573,89 +14764,11 @@
|
|
|
14573
14764
|
}
|
|
14574
14765
|
}
|
|
14575
14766
|
],
|
|
14576
|
-
"attributes": [
|
|
14577
|
-
{
|
|
14578
|
-
"name": "expanded",
|
|
14579
|
-
"type": {
|
|
14580
|
-
"text": "boolean"
|
|
14581
|
-
},
|
|
14582
|
-
"default": "false",
|
|
14583
|
-
"description": "Whether to allow the overlay content to stretch to full width.\nBy default, the content has the appropriate page size.",
|
|
14584
|
-
"fieldName": "expanded"
|
|
14585
|
-
},
|
|
14586
|
-
{
|
|
14587
|
-
"name": "accessibility-close-label",
|
|
14588
|
-
"type": {
|
|
14589
|
-
"text": "string"
|
|
14590
|
-
},
|
|
14591
|
-
"default": "''",
|
|
14592
|
-
"description": "This will be forwarded as aria-label to the close button element.",
|
|
14593
|
-
"fieldName": "accessibilityCloseLabel"
|
|
14594
|
-
},
|
|
14595
|
-
{
|
|
14596
|
-
"name": "negative",
|
|
14597
|
-
"type": {
|
|
14598
|
-
"text": "boolean"
|
|
14599
|
-
},
|
|
14600
|
-
"default": "false",
|
|
14601
|
-
"description": "Negative coloring variant flag.",
|
|
14602
|
-
"fieldName": "negative",
|
|
14603
|
-
"inheritedFrom": {
|
|
14604
|
-
"name": "SbbNegativeMixin",
|
|
14605
|
-
"module": "core/mixins/negative-mixin.js"
|
|
14606
|
-
}
|
|
14607
|
-
},
|
|
14608
|
-
{
|
|
14609
|
-
"name": "trigger",
|
|
14610
|
-
"type": {
|
|
14611
|
-
"text": "HTMLElement | null"
|
|
14612
|
-
},
|
|
14613
|
-
"default": "null",
|
|
14614
|
-
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
14615
|
-
"fieldName": "trigger",
|
|
14616
|
-
"inheritedFrom": {
|
|
14617
|
-
"name": "SbbOverlayBaseElement",
|
|
14618
|
-
"module": "overlay/overlay-base-element.js"
|
|
14619
|
-
}
|
|
14620
|
-
},
|
|
14621
|
-
{
|
|
14622
|
-
"name": "accessibility-label",
|
|
14623
|
-
"type": {
|
|
14624
|
-
"text": "string"
|
|
14625
|
-
},
|
|
14626
|
-
"default": "''",
|
|
14627
|
-
"description": "This will be forwarded as aria-label to the relevant nested element to describe the purpose of the overlay.",
|
|
14628
|
-
"fieldName": "accessibilityLabel",
|
|
14629
|
-
"inheritedFrom": {
|
|
14630
|
-
"name": "SbbOverlayBaseElement",
|
|
14631
|
-
"module": "overlay/overlay-base-element.js"
|
|
14632
|
-
}
|
|
14633
|
-
},
|
|
14634
|
-
{
|
|
14635
|
-
"name": "skipFocusRestoration",
|
|
14636
|
-
"type": {
|
|
14637
|
-
"text": "boolean"
|
|
14638
|
-
},
|
|
14639
|
-
"default": "false",
|
|
14640
|
-
"description": "Whether to skip restoring focus to the previously-focused element when the overlay is closed.\nNote that automatic focus restoration is an accessibility feature, and it is recommended that\nyou provide your own equivalent, if you decide to turn it off.",
|
|
14641
|
-
"fieldName": "skipFocusRestoration",
|
|
14642
|
-
"inheritedFrom": {
|
|
14643
|
-
"name": "SbbOverlayBaseElement",
|
|
14644
|
-
"module": "overlay/overlay-base-element.js"
|
|
14645
|
-
}
|
|
14646
|
-
}
|
|
14647
|
-
],
|
|
14648
|
-
"superclass": {
|
|
14649
|
-
"name": "SbbOverlayBaseElement",
|
|
14650
|
-
"module": "overlay/overlay-base-element.js"
|
|
14651
|
-
},
|
|
14652
|
-
"tagName": "sbb-overlay",
|
|
14653
|
-
"customElement": true,
|
|
14654
14767
|
"events": [
|
|
14655
14768
|
{
|
|
14656
14769
|
"name": "beforeclose",
|
|
14657
14770
|
"type": {
|
|
14658
|
-
"text": "
|
|
14771
|
+
"text": "SbbOverlayCloseEvent"
|
|
14659
14772
|
},
|
|
14660
14773
|
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
14661
14774
|
"inheritedFrom": {
|
|
@@ -14666,7 +14779,7 @@
|
|
|
14666
14779
|
{
|
|
14667
14780
|
"name": "close",
|
|
14668
14781
|
"type": {
|
|
14669
|
-
"text": "
|
|
14782
|
+
"text": "SbbOverlayCloseEvent"
|
|
14670
14783
|
},
|
|
14671
14784
|
"description": "Emits whenever the component is closed.",
|
|
14672
14785
|
"inheritedFrom": {
|
|
@@ -14696,7 +14809,85 @@
|
|
|
14696
14809
|
"module": "core/base-elements/open-close-base-element.js"
|
|
14697
14810
|
}
|
|
14698
14811
|
}
|
|
14699
|
-
]
|
|
14812
|
+
],
|
|
14813
|
+
"attributes": [
|
|
14814
|
+
{
|
|
14815
|
+
"name": "expanded",
|
|
14816
|
+
"type": {
|
|
14817
|
+
"text": "boolean"
|
|
14818
|
+
},
|
|
14819
|
+
"default": "false",
|
|
14820
|
+
"description": "Whether to allow the overlay content to stretch to full width.\nBy default, the content has the appropriate page size.",
|
|
14821
|
+
"fieldName": "expanded"
|
|
14822
|
+
},
|
|
14823
|
+
{
|
|
14824
|
+
"name": "accessibility-close-label",
|
|
14825
|
+
"type": {
|
|
14826
|
+
"text": "string"
|
|
14827
|
+
},
|
|
14828
|
+
"default": "''",
|
|
14829
|
+
"description": "This will be forwarded as aria-label to the close button element.",
|
|
14830
|
+
"fieldName": "accessibilityCloseLabel"
|
|
14831
|
+
},
|
|
14832
|
+
{
|
|
14833
|
+
"name": "negative",
|
|
14834
|
+
"type": {
|
|
14835
|
+
"text": "boolean"
|
|
14836
|
+
},
|
|
14837
|
+
"default": "false",
|
|
14838
|
+
"description": "Negative coloring variant flag.",
|
|
14839
|
+
"fieldName": "negative",
|
|
14840
|
+
"inheritedFrom": {
|
|
14841
|
+
"name": "SbbNegativeMixin",
|
|
14842
|
+
"module": "core/mixins/negative-mixin.js"
|
|
14843
|
+
}
|
|
14844
|
+
},
|
|
14845
|
+
{
|
|
14846
|
+
"name": "trigger",
|
|
14847
|
+
"type": {
|
|
14848
|
+
"text": "HTMLElement | null"
|
|
14849
|
+
},
|
|
14850
|
+
"default": "null",
|
|
14851
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
14852
|
+
"fieldName": "trigger",
|
|
14853
|
+
"inheritedFrom": {
|
|
14854
|
+
"name": "SbbOverlayBaseElement",
|
|
14855
|
+
"module": "overlay/overlay-base-element.js"
|
|
14856
|
+
}
|
|
14857
|
+
},
|
|
14858
|
+
{
|
|
14859
|
+
"name": "accessibility-label",
|
|
14860
|
+
"type": {
|
|
14861
|
+
"text": "string"
|
|
14862
|
+
},
|
|
14863
|
+
"default": "''",
|
|
14864
|
+
"description": "This will be forwarded as aria-label to the relevant nested element to describe the purpose of the overlay.",
|
|
14865
|
+
"fieldName": "accessibilityLabel",
|
|
14866
|
+
"inheritedFrom": {
|
|
14867
|
+
"name": "SbbOverlayBaseElement",
|
|
14868
|
+
"module": "overlay/overlay-base-element.js"
|
|
14869
|
+
}
|
|
14870
|
+
},
|
|
14871
|
+
{
|
|
14872
|
+
"name": "skipFocusRestoration",
|
|
14873
|
+
"type": {
|
|
14874
|
+
"text": "boolean"
|
|
14875
|
+
},
|
|
14876
|
+
"default": "false",
|
|
14877
|
+
"description": "Whether to skip restoring focus to the previously-focused element when the overlay is closed.\nNote that automatic focus restoration is an accessibility feature, and it is recommended that\nyou provide your own equivalent, if you decide to turn it off.",
|
|
14878
|
+
"fieldName": "skipFocusRestoration",
|
|
14879
|
+
"inheritedFrom": {
|
|
14880
|
+
"name": "SbbOverlayBaseElement",
|
|
14881
|
+
"module": "overlay/overlay-base-element.js"
|
|
14882
|
+
}
|
|
14883
|
+
}
|
|
14884
|
+
],
|
|
14885
|
+
"superclass": {
|
|
14886
|
+
"name": "SbbOverlayBaseElement",
|
|
14887
|
+
"module": "overlay/overlay-base-element.js"
|
|
14888
|
+
},
|
|
14889
|
+
"tagName": "sbb-overlay",
|
|
14890
|
+
"customElement": true
|
|
14700
14891
|
}
|
|
14701
14892
|
],
|
|
14702
14893
|
"exports": [
|
|
@@ -14828,7 +15019,7 @@
|
|
|
14828
15019
|
"kind": "field",
|
|
14829
15020
|
"name": "_triggerAbortController",
|
|
14830
15021
|
"type": {
|
|
14831
|
-
"text": "AbortController"
|
|
15022
|
+
"text": "AbortController | undefined"
|
|
14832
15023
|
},
|
|
14833
15024
|
"privacy": "private"
|
|
14834
15025
|
},
|
|
@@ -14836,7 +15027,7 @@
|
|
|
14836
15027
|
"kind": "field",
|
|
14837
15028
|
"name": "_openStateController",
|
|
14838
15029
|
"type": {
|
|
14839
|
-
"text": "AbortController"
|
|
15030
|
+
"text": "AbortController | undefined"
|
|
14840
15031
|
},
|
|
14841
15032
|
"privacy": "private"
|
|
14842
15033
|
},
|
|
@@ -15749,7 +15940,7 @@
|
|
|
15749
15940
|
"kind": "field",
|
|
15750
15941
|
"name": "_triggerAbortController",
|
|
15751
15942
|
"type": {
|
|
15752
|
-
"text": "AbortController"
|
|
15943
|
+
"text": "AbortController | undefined"
|
|
15753
15944
|
},
|
|
15754
15945
|
"privacy": "private",
|
|
15755
15946
|
"inheritedFrom": {
|
|
@@ -15761,7 +15952,7 @@
|
|
|
15761
15952
|
"kind": "field",
|
|
15762
15953
|
"name": "_openStateController",
|
|
15763
15954
|
"type": {
|
|
15764
|
-
"text": "AbortController"
|
|
15955
|
+
"text": "AbortController | undefined"
|
|
15765
15956
|
},
|
|
15766
15957
|
"privacy": "private",
|
|
15767
15958
|
"inheritedFrom": {
|
|
@@ -20412,6 +20603,29 @@
|
|
|
20412
20603
|
}
|
|
20413
20604
|
]
|
|
20414
20605
|
},
|
|
20606
|
+
{
|
|
20607
|
+
"kind": "javascript-module",
|
|
20608
|
+
"path": "tabs/common.js",
|
|
20609
|
+
"declarations": [],
|
|
20610
|
+
"exports": [
|
|
20611
|
+
{
|
|
20612
|
+
"kind": "js",
|
|
20613
|
+
"name": "tabGroupCommonStyles",
|
|
20614
|
+
"declaration": {
|
|
20615
|
+
"name": "default",
|
|
20616
|
+
"module": "./common/tab-group-common.scss?lit&inline"
|
|
20617
|
+
}
|
|
20618
|
+
},
|
|
20619
|
+
{
|
|
20620
|
+
"kind": "js",
|
|
20621
|
+
"name": "tabLabelCommonStyles",
|
|
20622
|
+
"declaration": {
|
|
20623
|
+
"name": "default",
|
|
20624
|
+
"module": "./common/tab-label-common.scss?lit&inline"
|
|
20625
|
+
}
|
|
20626
|
+
}
|
|
20627
|
+
]
|
|
20628
|
+
},
|
|
20415
20629
|
{
|
|
20416
20630
|
"kind": "javascript-module",
|
|
20417
20631
|
"path": "tabs/tab-group.js",
|
|
@@ -20442,6 +20656,21 @@
|
|
|
20442
20656
|
}
|
|
20443
20657
|
]
|
|
20444
20658
|
},
|
|
20659
|
+
{
|
|
20660
|
+
"kind": "javascript-module",
|
|
20661
|
+
"path": "tabs/tab-nav-bar.js",
|
|
20662
|
+
"declarations": [],
|
|
20663
|
+
"exports": [
|
|
20664
|
+
{
|
|
20665
|
+
"kind": "js",
|
|
20666
|
+
"name": "*",
|
|
20667
|
+
"declaration": {
|
|
20668
|
+
"name": "*",
|
|
20669
|
+
"module": "tabs/tab-nav-bar/tab-nav-bar.component.js"
|
|
20670
|
+
}
|
|
20671
|
+
}
|
|
20672
|
+
]
|
|
20673
|
+
},
|
|
20445
20674
|
{
|
|
20446
20675
|
"kind": "javascript-module",
|
|
20447
20676
|
"path": "tabs/tab.js",
|
|
@@ -61267,7 +61496,7 @@
|
|
|
61267
61496
|
"kind": "field",
|
|
61268
61497
|
"name": "_triggerAbortController",
|
|
61269
61498
|
"type": {
|
|
61270
|
-
"text": "AbortController"
|
|
61499
|
+
"text": "AbortController | undefined"
|
|
61271
61500
|
},
|
|
61272
61501
|
"privacy": "private",
|
|
61273
61502
|
"inheritedFrom": {
|
|
@@ -61279,7 +61508,7 @@
|
|
|
61279
61508
|
"kind": "field",
|
|
61280
61509
|
"name": "_openStateController",
|
|
61281
61510
|
"type": {
|
|
61282
|
-
"text": "AbortController"
|
|
61511
|
+
"text": "AbortController | undefined"
|
|
61283
61512
|
},
|
|
61284
61513
|
"privacy": "private",
|
|
61285
61514
|
"inheritedFrom": {
|
|
@@ -64829,6 +65058,52 @@
|
|
|
64829
65058
|
}
|
|
64830
65059
|
}
|
|
64831
65060
|
},
|
|
65061
|
+
{
|
|
65062
|
+
"kind": "method",
|
|
65063
|
+
"name": "dispatchBeforeCloseEvent",
|
|
65064
|
+
"privacy": "protected",
|
|
65065
|
+
"return": {
|
|
65066
|
+
"type": {
|
|
65067
|
+
"text": "boolean"
|
|
65068
|
+
}
|
|
65069
|
+
},
|
|
65070
|
+
"parameters": [
|
|
65071
|
+
{
|
|
65072
|
+
"name": "_detail",
|
|
65073
|
+
"optional": true,
|
|
65074
|
+
"type": {
|
|
65075
|
+
"text": "SbbOverlayCloseEventDetails"
|
|
65076
|
+
}
|
|
65077
|
+
}
|
|
65078
|
+
],
|
|
65079
|
+
"inheritedFrom": {
|
|
65080
|
+
"name": "SbbOpenCloseBaseElement",
|
|
65081
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
65082
|
+
}
|
|
65083
|
+
},
|
|
65084
|
+
{
|
|
65085
|
+
"kind": "method",
|
|
65086
|
+
"name": "dispatchCloseEvent",
|
|
65087
|
+
"privacy": "protected",
|
|
65088
|
+
"return": {
|
|
65089
|
+
"type": {
|
|
65090
|
+
"text": "boolean"
|
|
65091
|
+
}
|
|
65092
|
+
},
|
|
65093
|
+
"parameters": [
|
|
65094
|
+
{
|
|
65095
|
+
"name": "_detail",
|
|
65096
|
+
"optional": true,
|
|
65097
|
+
"type": {
|
|
65098
|
+
"text": "SbbOverlayCloseEventDetails"
|
|
65099
|
+
}
|
|
65100
|
+
}
|
|
65101
|
+
],
|
|
65102
|
+
"inheritedFrom": {
|
|
65103
|
+
"name": "SbbOpenCloseBaseElement",
|
|
65104
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
65105
|
+
}
|
|
65106
|
+
},
|
|
64832
65107
|
{
|
|
64833
65108
|
"kind": "field",
|
|
64834
65109
|
"name": "negative",
|
|
@@ -64918,7 +65193,7 @@
|
|
|
64918
65193
|
"kind": "field",
|
|
64919
65194
|
"name": "openOverlayController",
|
|
64920
65195
|
"type": {
|
|
64921
|
-
"text": "AbortController"
|
|
65196
|
+
"text": "AbortController | undefined"
|
|
64922
65197
|
},
|
|
64923
65198
|
"privacy": "protected",
|
|
64924
65199
|
"inheritedFrom": {
|
|
@@ -65030,7 +65305,7 @@
|
|
|
65030
65305
|
"kind": "field",
|
|
65031
65306
|
"name": "_triggerAbortController",
|
|
65032
65307
|
"type": {
|
|
65033
|
-
"text": "AbortController"
|
|
65308
|
+
"text": "AbortController | undefined"
|
|
65034
65309
|
},
|
|
65035
65310
|
"privacy": "private",
|
|
65036
65311
|
"inheritedFrom": {
|
|
@@ -65059,7 +65334,7 @@
|
|
|
65059
65334
|
"privacy": "public",
|
|
65060
65335
|
"return": {
|
|
65061
65336
|
"type": {
|
|
65062
|
-
"text": "
|
|
65337
|
+
"text": "void"
|
|
65063
65338
|
}
|
|
65064
65339
|
},
|
|
65065
65340
|
"description": "Closes the component.",
|
|
@@ -65070,13 +65345,6 @@
|
|
|
65070
65345
|
"type": {
|
|
65071
65346
|
"text": "any"
|
|
65072
65347
|
}
|
|
65073
|
-
},
|
|
65074
|
-
{
|
|
65075
|
-
"name": "target",
|
|
65076
|
-
"optional": true,
|
|
65077
|
-
"type": {
|
|
65078
|
-
"text": "HTMLElement"
|
|
65079
|
-
}
|
|
65080
65348
|
}
|
|
65081
65349
|
],
|
|
65082
65350
|
"inheritedFrom": {
|
|
@@ -65086,13 +65354,27 @@
|
|
|
65086
65354
|
},
|
|
65087
65355
|
{
|
|
65088
65356
|
"kind": "method",
|
|
65089
|
-
"name": "
|
|
65357
|
+
"name": "_close",
|
|
65090
65358
|
"privacy": "private",
|
|
65091
65359
|
"return": {
|
|
65092
65360
|
"type": {
|
|
65093
65361
|
"text": "void"
|
|
65094
65362
|
}
|
|
65095
65363
|
},
|
|
65364
|
+
"parameters": [
|
|
65365
|
+
{
|
|
65366
|
+
"name": "result",
|
|
65367
|
+
"type": {
|
|
65368
|
+
"text": "any"
|
|
65369
|
+
}
|
|
65370
|
+
},
|
|
65371
|
+
{
|
|
65372
|
+
"name": "target",
|
|
65373
|
+
"type": {
|
|
65374
|
+
"text": "HTMLElement | undefined"
|
|
65375
|
+
}
|
|
65376
|
+
}
|
|
65377
|
+
],
|
|
65096
65378
|
"inheritedFrom": {
|
|
65097
65379
|
"name": "SbbOverlayBaseElement",
|
|
65098
65380
|
"module": "overlay/overlay-base-element.js"
|
|
@@ -65100,13 +65382,14 @@
|
|
|
65100
65382
|
},
|
|
65101
65383
|
{
|
|
65102
65384
|
"kind": "method",
|
|
65103
|
-
"name": "
|
|
65104
|
-
"privacy": "
|
|
65385
|
+
"name": "_hasClosedParent",
|
|
65386
|
+
"privacy": "private",
|
|
65105
65387
|
"return": {
|
|
65106
65388
|
"type": {
|
|
65107
|
-
"text": "
|
|
65389
|
+
"text": "boolean"
|
|
65108
65390
|
}
|
|
65109
65391
|
},
|
|
65392
|
+
"description": "Check if there is a parent dialog or overlay in the DOM that is closed.\nIn this case, the overlay should not be opened because it would break the state.\nNot nested but stacked overlays are supported so this logic does not apply in this case.",
|
|
65110
65393
|
"inheritedFrom": {
|
|
65111
65394
|
"name": "SbbOverlayBaseElement",
|
|
65112
65395
|
"module": "overlay/overlay-base-element.js"
|
|
@@ -65114,8 +65397,8 @@
|
|
|
65114
65397
|
},
|
|
65115
65398
|
{
|
|
65116
65399
|
"kind": "method",
|
|
65117
|
-
"name": "
|
|
65118
|
-
"privacy": "
|
|
65400
|
+
"name": "_configureTrigger",
|
|
65401
|
+
"privacy": "private",
|
|
65119
65402
|
"return": {
|
|
65120
65403
|
"type": {
|
|
65121
65404
|
"text": "void"
|
|
@@ -65128,21 +65411,13 @@
|
|
|
65128
65411
|
},
|
|
65129
65412
|
{
|
|
65130
65413
|
"kind": "method",
|
|
65131
|
-
"name": "
|
|
65414
|
+
"name": "attachOpenOverlayEvents",
|
|
65132
65415
|
"privacy": "protected",
|
|
65133
65416
|
"return": {
|
|
65134
65417
|
"type": {
|
|
65135
65418
|
"text": "void"
|
|
65136
65419
|
}
|
|
65137
65420
|
},
|
|
65138
|
-
"parameters": [
|
|
65139
|
-
{
|
|
65140
|
-
"name": "event",
|
|
65141
|
-
"type": {
|
|
65142
|
-
"text": "Event"
|
|
65143
|
-
}
|
|
65144
|
-
}
|
|
65145
|
-
],
|
|
65146
65421
|
"inheritedFrom": {
|
|
65147
65422
|
"name": "SbbOverlayBaseElement",
|
|
65148
65423
|
"module": "overlay/overlay-base-element.js"
|
|
@@ -65150,7 +65425,7 @@
|
|
|
65150
65425
|
},
|
|
65151
65426
|
{
|
|
65152
65427
|
"kind": "method",
|
|
65153
|
-
"name": "
|
|
65428
|
+
"name": "removeInstanceFromGlobalCollection",
|
|
65154
65429
|
"privacy": "protected",
|
|
65155
65430
|
"return": {
|
|
65156
65431
|
"type": {
|
|
@@ -65164,7 +65439,7 @@
|
|
|
65164
65439
|
},
|
|
65165
65440
|
{
|
|
65166
65441
|
"kind": "method",
|
|
65167
|
-
"name": "
|
|
65442
|
+
"name": "closeOnSbbOverlayCloseClick",
|
|
65168
65443
|
"privacy": "protected",
|
|
65169
65444
|
"return": {
|
|
65170
65445
|
"type": {
|
|
@@ -65173,10 +65448,9 @@
|
|
|
65173
65448
|
},
|
|
65174
65449
|
"parameters": [
|
|
65175
65450
|
{
|
|
65176
|
-
"name": "
|
|
65177
|
-
"optional": true,
|
|
65451
|
+
"name": "event",
|
|
65178
65452
|
"type": {
|
|
65179
|
-
"text": "
|
|
65453
|
+
"text": "Event"
|
|
65180
65454
|
}
|
|
65181
65455
|
}
|
|
65182
65456
|
],
|
|
@@ -65187,21 +65461,13 @@
|
|
|
65187
65461
|
},
|
|
65188
65462
|
{
|
|
65189
65463
|
"kind": "method",
|
|
65190
|
-
"name": "
|
|
65464
|
+
"name": "removeAriaLiveRefContent",
|
|
65191
65465
|
"privacy": "protected",
|
|
65192
65466
|
"return": {
|
|
65193
65467
|
"type": {
|
|
65194
65468
|
"text": "void"
|
|
65195
65469
|
}
|
|
65196
65470
|
},
|
|
65197
|
-
"parameters": [
|
|
65198
|
-
{
|
|
65199
|
-
"name": "event",
|
|
65200
|
-
"type": {
|
|
65201
|
-
"text": "AnimationEvent"
|
|
65202
|
-
}
|
|
65203
|
-
}
|
|
65204
|
-
],
|
|
65205
65471
|
"inheritedFrom": {
|
|
65206
65472
|
"name": "SbbOverlayBaseElement",
|
|
65207
65473
|
"module": "overlay/overlay-base-element.js"
|
|
@@ -65209,48 +65475,47 @@
|
|
|
65209
65475
|
},
|
|
65210
65476
|
{
|
|
65211
65477
|
"kind": "method",
|
|
65212
|
-
"name": "
|
|
65478
|
+
"name": "setAriaLiveRefContent",
|
|
65213
65479
|
"privacy": "protected",
|
|
65214
65480
|
"return": {
|
|
65215
65481
|
"type": {
|
|
65216
|
-
"text": "
|
|
65482
|
+
"text": "void"
|
|
65217
65483
|
}
|
|
65218
65484
|
},
|
|
65219
65485
|
"parameters": [
|
|
65220
65486
|
{
|
|
65221
|
-
"name": "
|
|
65487
|
+
"name": "label",
|
|
65222
65488
|
"optional": true,
|
|
65223
65489
|
"type": {
|
|
65224
|
-
"text": "
|
|
65490
|
+
"text": "string"
|
|
65225
65491
|
}
|
|
65226
65492
|
}
|
|
65227
65493
|
],
|
|
65228
65494
|
"inheritedFrom": {
|
|
65229
|
-
"name": "
|
|
65230
|
-
"module": "
|
|
65495
|
+
"name": "SbbOverlayBaseElement",
|
|
65496
|
+
"module": "overlay/overlay-base-element.js"
|
|
65231
65497
|
}
|
|
65232
65498
|
},
|
|
65233
65499
|
{
|
|
65234
65500
|
"kind": "method",
|
|
65235
|
-
"name": "
|
|
65501
|
+
"name": "onOverlayAnimationEnd",
|
|
65236
65502
|
"privacy": "protected",
|
|
65237
65503
|
"return": {
|
|
65238
65504
|
"type": {
|
|
65239
|
-
"text": "
|
|
65505
|
+
"text": "void"
|
|
65240
65506
|
}
|
|
65241
65507
|
},
|
|
65242
65508
|
"parameters": [
|
|
65243
65509
|
{
|
|
65244
|
-
"name": "
|
|
65245
|
-
"optional": true,
|
|
65510
|
+
"name": "event",
|
|
65246
65511
|
"type": {
|
|
65247
|
-
"text": "
|
|
65512
|
+
"text": "AnimationEvent"
|
|
65248
65513
|
}
|
|
65249
65514
|
}
|
|
65250
65515
|
],
|
|
65251
65516
|
"inheritedFrom": {
|
|
65252
|
-
"name": "
|
|
65253
|
-
"module": "
|
|
65517
|
+
"name": "SbbOverlayBaseElement",
|
|
65518
|
+
"module": "overlay/overlay-base-element.js"
|
|
65254
65519
|
}
|
|
65255
65520
|
},
|
|
65256
65521
|
{
|
|
@@ -65381,6 +65646,52 @@
|
|
|
65381
65646
|
}
|
|
65382
65647
|
}
|
|
65383
65648
|
],
|
|
65649
|
+
"events": [
|
|
65650
|
+
{
|
|
65651
|
+
"name": "beforeclose",
|
|
65652
|
+
"type": {
|
|
65653
|
+
"text": "SbbDialogCloseEvent"
|
|
65654
|
+
},
|
|
65655
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
65656
|
+
"inheritedFrom": {
|
|
65657
|
+
"name": "SbbOpenCloseBaseElement",
|
|
65658
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
65659
|
+
}
|
|
65660
|
+
},
|
|
65661
|
+
{
|
|
65662
|
+
"name": "close",
|
|
65663
|
+
"type": {
|
|
65664
|
+
"text": "SbbDialogCloseEvent"
|
|
65665
|
+
},
|
|
65666
|
+
"description": "Emits whenever the component is closed.",
|
|
65667
|
+
"inheritedFrom": {
|
|
65668
|
+
"name": "SbbOpenCloseBaseElement",
|
|
65669
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
65670
|
+
}
|
|
65671
|
+
},
|
|
65672
|
+
{
|
|
65673
|
+
"name": "beforeopen",
|
|
65674
|
+
"type": {
|
|
65675
|
+
"text": "Event"
|
|
65676
|
+
},
|
|
65677
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
65678
|
+
"inheritedFrom": {
|
|
65679
|
+
"name": "SbbOpenCloseBaseElement",
|
|
65680
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
65681
|
+
}
|
|
65682
|
+
},
|
|
65683
|
+
{
|
|
65684
|
+
"name": "open",
|
|
65685
|
+
"type": {
|
|
65686
|
+
"text": "Event"
|
|
65687
|
+
},
|
|
65688
|
+
"description": "Emits whenever the component is opened.",
|
|
65689
|
+
"inheritedFrom": {
|
|
65690
|
+
"name": "SbbOpenCloseBaseElement",
|
|
65691
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
65692
|
+
}
|
|
65693
|
+
}
|
|
65694
|
+
],
|
|
65384
65695
|
"attributes": [
|
|
65385
65696
|
{
|
|
65386
65697
|
"name": "backdrop-action",
|
|
@@ -65458,56 +65769,26 @@
|
|
|
65458
65769
|
"module": "overlay.js"
|
|
65459
65770
|
},
|
|
65460
65771
|
"tagName": "sbb-dialog",
|
|
65461
|
-
"customElement": true
|
|
65462
|
-
"events": [
|
|
65463
|
-
{
|
|
65464
|
-
"name": "beforeclose",
|
|
65465
|
-
"type": {
|
|
65466
|
-
"text": "CustomEvent<SbbOverlayCloseEventDetails>"
|
|
65467
|
-
},
|
|
65468
|
-
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
65469
|
-
"inheritedFrom": {
|
|
65470
|
-
"name": "SbbOpenCloseBaseElement",
|
|
65471
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
65472
|
-
}
|
|
65473
|
-
},
|
|
65474
|
-
{
|
|
65475
|
-
"name": "close",
|
|
65476
|
-
"type": {
|
|
65477
|
-
"text": "CustomEvent<SbbOverlayCloseEventDetails>"
|
|
65478
|
-
},
|
|
65479
|
-
"description": "Emits whenever the component is closed.",
|
|
65480
|
-
"inheritedFrom": {
|
|
65481
|
-
"name": "SbbOpenCloseBaseElement",
|
|
65482
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
65483
|
-
}
|
|
65484
|
-
},
|
|
65485
|
-
{
|
|
65486
|
-
"name": "beforeopen",
|
|
65487
|
-
"type": {
|
|
65488
|
-
"text": "Event"
|
|
65489
|
-
},
|
|
65490
|
-
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
65491
|
-
"inheritedFrom": {
|
|
65492
|
-
"name": "SbbOpenCloseBaseElement",
|
|
65493
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
65494
|
-
}
|
|
65495
|
-
},
|
|
65496
|
-
{
|
|
65497
|
-
"name": "open",
|
|
65498
|
-
"type": {
|
|
65499
|
-
"text": "Event"
|
|
65500
|
-
},
|
|
65501
|
-
"description": "Emits whenever the component is opened.",
|
|
65502
|
-
"inheritedFrom": {
|
|
65503
|
-
"name": "SbbOpenCloseBaseElement",
|
|
65504
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
65505
|
-
}
|
|
65506
|
-
}
|
|
65507
|
-
]
|
|
65772
|
+
"customElement": true
|
|
65508
65773
|
}
|
|
65509
65774
|
],
|
|
65510
65775
|
"exports": [
|
|
65776
|
+
{
|
|
65777
|
+
"kind": "js",
|
|
65778
|
+
"name": "assignDialogResult",
|
|
65779
|
+
"declaration": {
|
|
65780
|
+
"name": "assignOverlayResult",
|
|
65781
|
+
"module": "../../overlay/overlay-base-element.js"
|
|
65782
|
+
}
|
|
65783
|
+
},
|
|
65784
|
+
{
|
|
65785
|
+
"kind": "js",
|
|
65786
|
+
"name": "SbbDialogCloseEvent",
|
|
65787
|
+
"declaration": {
|
|
65788
|
+
"name": "SbbOverlayCloseEvent",
|
|
65789
|
+
"module": "../../overlay/overlay-base-element.js"
|
|
65790
|
+
}
|
|
65791
|
+
},
|
|
65511
65792
|
{
|
|
65512
65793
|
"kind": "js",
|
|
65513
65794
|
"name": "SbbDialogElement",
|
|
@@ -101817,6 +102098,61 @@
|
|
|
101817
102098
|
"kind": "javascript-module",
|
|
101818
102099
|
"path": "stepper/stepper/stepper.component.js",
|
|
101819
102100
|
"declarations": [
|
|
102101
|
+
{
|
|
102102
|
+
"kind": "class",
|
|
102103
|
+
"description": "",
|
|
102104
|
+
"name": "SbbStepChangeEvent",
|
|
102105
|
+
"members": [
|
|
102106
|
+
{
|
|
102107
|
+
"kind": "field",
|
|
102108
|
+
"name": "selectedIndex",
|
|
102109
|
+
"type": {
|
|
102110
|
+
"text": "number | null"
|
|
102111
|
+
},
|
|
102112
|
+
"privacy": "public",
|
|
102113
|
+
"readonly": true,
|
|
102114
|
+
"description": "The index of the newly selected step.",
|
|
102115
|
+
"default": "selectedIndex"
|
|
102116
|
+
},
|
|
102117
|
+
{
|
|
102118
|
+
"kind": "field",
|
|
102119
|
+
"name": "previousIndex",
|
|
102120
|
+
"type": {
|
|
102121
|
+
"text": "number | null"
|
|
102122
|
+
},
|
|
102123
|
+
"privacy": "public",
|
|
102124
|
+
"readonly": true,
|
|
102125
|
+
"description": "The index of the previously selected step.",
|
|
102126
|
+
"default": "previousIndex"
|
|
102127
|
+
},
|
|
102128
|
+
{
|
|
102129
|
+
"kind": "field",
|
|
102130
|
+
"name": "selectedStep",
|
|
102131
|
+
"type": {
|
|
102132
|
+
"text": "SbbStepElement | null"
|
|
102133
|
+
},
|
|
102134
|
+
"privacy": "public",
|
|
102135
|
+
"readonly": true,
|
|
102136
|
+
"description": "The newly selected step element.",
|
|
102137
|
+
"default": "selectedStep"
|
|
102138
|
+
},
|
|
102139
|
+
{
|
|
102140
|
+
"kind": "field",
|
|
102141
|
+
"name": "previousStep",
|
|
102142
|
+
"type": {
|
|
102143
|
+
"text": "SbbStepElement | null"
|
|
102144
|
+
},
|
|
102145
|
+
"privacy": "public",
|
|
102146
|
+
"readonly": true,
|
|
102147
|
+
"description": "The previously selected step element.",
|
|
102148
|
+
"default": "previousStep"
|
|
102149
|
+
}
|
|
102150
|
+
],
|
|
102151
|
+
"superclass": {
|
|
102152
|
+
"name": "Event",
|
|
102153
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
102154
|
+
}
|
|
102155
|
+
},
|
|
101820
102156
|
{
|
|
101821
102157
|
"kind": "class",
|
|
101822
102158
|
"description": "Provides a structured, step-by-step workflow for user interactions.",
|
|
@@ -101836,6 +102172,17 @@
|
|
|
101836
102172
|
}
|
|
101837
102173
|
],
|
|
101838
102174
|
"members": [
|
|
102175
|
+
{
|
|
102176
|
+
"kind": "field",
|
|
102177
|
+
"name": "events",
|
|
102178
|
+
"privacy": "public",
|
|
102179
|
+
"static": true,
|
|
102180
|
+
"readonly": true,
|
|
102181
|
+
"default": "{ stepchange: 'stepchange', }",
|
|
102182
|
+
"type": {
|
|
102183
|
+
"text": "{\n stepchange: 'stepchange',\n }"
|
|
102184
|
+
}
|
|
102185
|
+
},
|
|
101839
102186
|
{
|
|
101840
102187
|
"kind": "field",
|
|
101841
102188
|
"name": "_observer",
|
|
@@ -102230,6 +102577,15 @@
|
|
|
102230
102577
|
}
|
|
102231
102578
|
}
|
|
102232
102579
|
],
|
|
102580
|
+
"events": [
|
|
102581
|
+
{
|
|
102582
|
+
"type": {
|
|
102583
|
+
"text": "SbbStepChangeEvent"
|
|
102584
|
+
},
|
|
102585
|
+
"description": "Emits whenever a step was changed.",
|
|
102586
|
+
"name": "stepchange"
|
|
102587
|
+
}
|
|
102588
|
+
],
|
|
102233
102589
|
"attributes": [
|
|
102234
102590
|
{
|
|
102235
102591
|
"name": "linear",
|
|
@@ -102291,9 +102647,25 @@
|
|
|
102291
102647
|
},
|
|
102292
102648
|
"tagName": "sbb-stepper",
|
|
102293
102649
|
"customElement": true
|
|
102650
|
+
},
|
|
102651
|
+
{
|
|
102652
|
+
"kind": "variable",
|
|
102653
|
+
"name": "currentIndex"
|
|
102654
|
+
},
|
|
102655
|
+
{
|
|
102656
|
+
"kind": "variable",
|
|
102657
|
+
"name": "currentStep"
|
|
102294
102658
|
}
|
|
102295
102659
|
],
|
|
102296
102660
|
"exports": [
|
|
102661
|
+
{
|
|
102662
|
+
"kind": "js",
|
|
102663
|
+
"name": "SbbStepChangeEvent",
|
|
102664
|
+
"declaration": {
|
|
102665
|
+
"name": "SbbStepChangeEvent",
|
|
102666
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
102667
|
+
}
|
|
102668
|
+
},
|
|
102297
102669
|
{
|
|
102298
102670
|
"kind": "js",
|
|
102299
102671
|
"name": "SbbStepperElement",
|
|
@@ -102678,7 +103050,7 @@
|
|
|
102678
103050
|
"kind": "field",
|
|
102679
103051
|
"name": "_tabGroupResizeObserver",
|
|
102680
103052
|
"privacy": "private",
|
|
102681
|
-
"default": "new ResizeController(this, { target: null, skipInitial: true, callback: (
|
|
103053
|
+
"default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => this._onTabGroupElementResize(), })"
|
|
102682
103054
|
},
|
|
102683
103055
|
{
|
|
102684
103056
|
"kind": "field",
|
|
@@ -102820,15 +103192,7 @@
|
|
|
102820
103192
|
"type": {
|
|
102821
103193
|
"text": "void"
|
|
102822
103194
|
}
|
|
102823
|
-
}
|
|
102824
|
-
"parameters": [
|
|
102825
|
-
{
|
|
102826
|
-
"name": "entries",
|
|
102827
|
-
"type": {
|
|
102828
|
-
"text": "ResizeObserverEntry[]"
|
|
102829
|
-
}
|
|
102830
|
-
}
|
|
102831
|
-
]
|
|
103195
|
+
}
|
|
102832
103196
|
},
|
|
102833
103197
|
{
|
|
102834
103198
|
"kind": "method",
|
|
@@ -103359,6 +103723,314 @@
|
|
|
103359
103723
|
}
|
|
103360
103724
|
]
|
|
103361
103725
|
},
|
|
103726
|
+
{
|
|
103727
|
+
"kind": "javascript-module",
|
|
103728
|
+
"path": "tabs/tab-nav-bar/tab-nav-bar.component.js",
|
|
103729
|
+
"declarations": [
|
|
103730
|
+
{
|
|
103731
|
+
"kind": "class",
|
|
103732
|
+
"description": "It displays one or more tab-label-like elements, each one is an anchor element.",
|
|
103733
|
+
"name": "SbbTabNavBarElement",
|
|
103734
|
+
"slots": [
|
|
103735
|
+
{
|
|
103736
|
+
"description": "Use the unnamed slot to add anchors.",
|
|
103737
|
+
"name": ""
|
|
103738
|
+
}
|
|
103739
|
+
],
|
|
103740
|
+
"members": [
|
|
103741
|
+
{
|
|
103742
|
+
"kind": "field",
|
|
103743
|
+
"name": "role",
|
|
103744
|
+
"type": {
|
|
103745
|
+
"text": "string"
|
|
103746
|
+
},
|
|
103747
|
+
"privacy": "public",
|
|
103748
|
+
"static": true,
|
|
103749
|
+
"readonly": true,
|
|
103750
|
+
"default": "'navigation'"
|
|
103751
|
+
},
|
|
103752
|
+
{
|
|
103753
|
+
"kind": "field",
|
|
103754
|
+
"name": "listChildLocalNames",
|
|
103755
|
+
"type": {
|
|
103756
|
+
"text": "array"
|
|
103757
|
+
},
|
|
103758
|
+
"privacy": "protected",
|
|
103759
|
+
"readonly": true,
|
|
103760
|
+
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
103761
|
+
"default": "['a']",
|
|
103762
|
+
"inheritedFrom": {
|
|
103763
|
+
"name": "SbbNamedSlotListMixin",
|
|
103764
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
103765
|
+
}
|
|
103766
|
+
},
|
|
103767
|
+
{
|
|
103768
|
+
"kind": "field",
|
|
103769
|
+
"name": "size",
|
|
103770
|
+
"type": {
|
|
103771
|
+
"text": "'s' | 'l' | 'xl'"
|
|
103772
|
+
},
|
|
103773
|
+
"privacy": "public",
|
|
103774
|
+
"description": "Size variant, either s, l or xl.",
|
|
103775
|
+
"default": "'l' / 's' (lean)",
|
|
103776
|
+
"attribute": "size",
|
|
103777
|
+
"reflects": true
|
|
103778
|
+
},
|
|
103779
|
+
{
|
|
103780
|
+
"kind": "field",
|
|
103781
|
+
"name": "_resizeController",
|
|
103782
|
+
"privacy": "private",
|
|
103783
|
+
"default": "new ResizeController(this, { target: null, callback: () => this._onTabGroupElementResize(), })"
|
|
103784
|
+
},
|
|
103785
|
+
{
|
|
103786
|
+
"kind": "field",
|
|
103787
|
+
"name": "_listElement",
|
|
103788
|
+
"type": {
|
|
103789
|
+
"text": "Element | null"
|
|
103790
|
+
},
|
|
103791
|
+
"privacy": "private",
|
|
103792
|
+
"default": "null"
|
|
103793
|
+
},
|
|
103794
|
+
{
|
|
103795
|
+
"kind": "method",
|
|
103796
|
+
"name": "_onTabGroupElementResize",
|
|
103797
|
+
"privacy": "private",
|
|
103798
|
+
"return": {
|
|
103799
|
+
"type": {
|
|
103800
|
+
"text": "void"
|
|
103801
|
+
}
|
|
103802
|
+
}
|
|
103803
|
+
},
|
|
103804
|
+
{
|
|
103805
|
+
"kind": "method",
|
|
103806
|
+
"name": "_updateWidthObserver",
|
|
103807
|
+
"privacy": "private",
|
|
103808
|
+
"return": {
|
|
103809
|
+
"type": {
|
|
103810
|
+
"text": "void"
|
|
103811
|
+
}
|
|
103812
|
+
}
|
|
103813
|
+
},
|
|
103814
|
+
{
|
|
103815
|
+
"kind": "field",
|
|
103816
|
+
"name": "listChildren",
|
|
103817
|
+
"type": {
|
|
103818
|
+
"text": "C[]"
|
|
103819
|
+
},
|
|
103820
|
+
"privacy": "protected",
|
|
103821
|
+
"default": "[]",
|
|
103822
|
+
"description": "A list of children with the defined tag names.\nThis array is only updated if there is an actual change\nto the child elements.",
|
|
103823
|
+
"inheritedFrom": {
|
|
103824
|
+
"name": "SbbNamedSlotListMixin",
|
|
103825
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
103826
|
+
}
|
|
103827
|
+
},
|
|
103828
|
+
{
|
|
103829
|
+
"kind": "field",
|
|
103830
|
+
"name": "_handleSlotchange",
|
|
103831
|
+
"privacy": "private",
|
|
103832
|
+
"inheritedFrom": {
|
|
103833
|
+
"name": "SbbNamedSlotListMixin",
|
|
103834
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
103835
|
+
}
|
|
103836
|
+
},
|
|
103837
|
+
{
|
|
103838
|
+
"kind": "method",
|
|
103839
|
+
"name": "renderList",
|
|
103840
|
+
"privacy": "protected",
|
|
103841
|
+
"return": {
|
|
103842
|
+
"type": {
|
|
103843
|
+
"text": "TemplateResult"
|
|
103844
|
+
}
|
|
103845
|
+
},
|
|
103846
|
+
"parameters": [
|
|
103847
|
+
{
|
|
103848
|
+
"name": "attributes",
|
|
103849
|
+
"default": "{}",
|
|
103850
|
+
"type": {
|
|
103851
|
+
"text": "{ class?: string; ariaLabel?: string; ariaLabelledby?: string }"
|
|
103852
|
+
}
|
|
103853
|
+
},
|
|
103854
|
+
{
|
|
103855
|
+
"name": "listItemAttributes",
|
|
103856
|
+
"default": "{}",
|
|
103857
|
+
"type": {
|
|
103858
|
+
"text": "{ localNameVisualOnly?: string[] }"
|
|
103859
|
+
}
|
|
103860
|
+
}
|
|
103861
|
+
],
|
|
103862
|
+
"description": "Renders list and list slots for slotted children or a number of list slots\ncorresponding to the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
|
|
103863
|
+
"inheritedFrom": {
|
|
103864
|
+
"name": "SbbNamedSlotListMixin",
|
|
103865
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
103866
|
+
}
|
|
103867
|
+
},
|
|
103868
|
+
{
|
|
103869
|
+
"kind": "method",
|
|
103870
|
+
"name": "listSlotEntries",
|
|
103871
|
+
"privacy": "protected",
|
|
103872
|
+
"return": {
|
|
103873
|
+
"type": {
|
|
103874
|
+
"text": "SbbNamedSlotProperties[]"
|
|
103875
|
+
}
|
|
103876
|
+
},
|
|
103877
|
+
"parameters": [
|
|
103878
|
+
{
|
|
103879
|
+
"name": "listItemAttributes",
|
|
103880
|
+
"type": {
|
|
103881
|
+
"text": "{\n localNameVisualOnly?: string[];\n }"
|
|
103882
|
+
}
|
|
103883
|
+
}
|
|
103884
|
+
],
|
|
103885
|
+
"description": "Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;\nits length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
|
|
103886
|
+
"inheritedFrom": {
|
|
103887
|
+
"name": "SbbNamedSlotListMixin",
|
|
103888
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
103889
|
+
}
|
|
103890
|
+
},
|
|
103891
|
+
{
|
|
103892
|
+
"kind": "method",
|
|
103893
|
+
"name": "renderHiddenSlot",
|
|
103894
|
+
"privacy": "protected",
|
|
103895
|
+
"return": {
|
|
103896
|
+
"type": {
|
|
103897
|
+
"text": "TemplateResult"
|
|
103898
|
+
}
|
|
103899
|
+
},
|
|
103900
|
+
"description": "Returns a hidden slot, which is intended as the children change detection.\nWhen an element without a slot attribute is slotted to the element, it triggers\nthe slotchange event, which can be used to assign it to the appropriate named slot.",
|
|
103901
|
+
"inheritedFrom": {
|
|
103902
|
+
"name": "SbbNamedSlotListMixin",
|
|
103903
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
103904
|
+
}
|
|
103905
|
+
},
|
|
103906
|
+
{
|
|
103907
|
+
"kind": "field",
|
|
103908
|
+
"name": "_hydrationRequired",
|
|
103909
|
+
"type": {
|
|
103910
|
+
"text": "boolean"
|
|
103911
|
+
},
|
|
103912
|
+
"privacy": "private",
|
|
103913
|
+
"default": "!!this.shadowRoot",
|
|
103914
|
+
"inheritedFrom": {
|
|
103915
|
+
"name": "SbbHydrationMixin",
|
|
103916
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
103917
|
+
}
|
|
103918
|
+
},
|
|
103919
|
+
{
|
|
103920
|
+
"kind": "field",
|
|
103921
|
+
"name": "_hydrationComplete",
|
|
103922
|
+
"privacy": "private",
|
|
103923
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
103924
|
+
"inheritedFrom": {
|
|
103925
|
+
"name": "SbbHydrationMixin",
|
|
103926
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
103927
|
+
}
|
|
103928
|
+
},
|
|
103929
|
+
{
|
|
103930
|
+
"kind": "field",
|
|
103931
|
+
"name": "_resolveHydration",
|
|
103932
|
+
"type": {
|
|
103933
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
103934
|
+
},
|
|
103935
|
+
"privacy": "private",
|
|
103936
|
+
"inheritedFrom": {
|
|
103937
|
+
"name": "SbbHydrationMixin",
|
|
103938
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
103939
|
+
}
|
|
103940
|
+
},
|
|
103941
|
+
{
|
|
103942
|
+
"kind": "field",
|
|
103943
|
+
"name": "hydrationRequired",
|
|
103944
|
+
"type": {
|
|
103945
|
+
"text": "boolean"
|
|
103946
|
+
},
|
|
103947
|
+
"privacy": "protected",
|
|
103948
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
103949
|
+
"readonly": true,
|
|
103950
|
+
"inheritedFrom": {
|
|
103951
|
+
"name": "SbbHydrationMixin",
|
|
103952
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
103953
|
+
},
|
|
103954
|
+
"default": "!!this.shadowRoot"
|
|
103955
|
+
},
|
|
103956
|
+
{
|
|
103957
|
+
"kind": "method",
|
|
103958
|
+
"name": "toggleState",
|
|
103959
|
+
"privacy": "protected",
|
|
103960
|
+
"return": {
|
|
103961
|
+
"type": {
|
|
103962
|
+
"text": "void"
|
|
103963
|
+
}
|
|
103964
|
+
},
|
|
103965
|
+
"parameters": [
|
|
103966
|
+
{
|
|
103967
|
+
"name": "value",
|
|
103968
|
+
"type": {
|
|
103969
|
+
"text": "string"
|
|
103970
|
+
}
|
|
103971
|
+
},
|
|
103972
|
+
{
|
|
103973
|
+
"name": "force",
|
|
103974
|
+
"optional": true,
|
|
103975
|
+
"type": {
|
|
103976
|
+
"text": "boolean"
|
|
103977
|
+
}
|
|
103978
|
+
}
|
|
103979
|
+
],
|
|
103980
|
+
"inheritedFrom": {
|
|
103981
|
+
"name": "SbbElementInternalsMixin",
|
|
103982
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
103983
|
+
}
|
|
103984
|
+
}
|
|
103985
|
+
],
|
|
103986
|
+
"attributes": [
|
|
103987
|
+
{
|
|
103988
|
+
"name": "size",
|
|
103989
|
+
"type": {
|
|
103990
|
+
"text": "'s' | 'l' | 'xl'"
|
|
103991
|
+
},
|
|
103992
|
+
"description": "Size variant, either s, l or xl.",
|
|
103993
|
+
"default": "'l' / 's' (lean)",
|
|
103994
|
+
"fieldName": "size"
|
|
103995
|
+
}
|
|
103996
|
+
],
|
|
103997
|
+
"mixins": [
|
|
103998
|
+
{
|
|
103999
|
+
"name": "SbbNamedSlotListMixin",
|
|
104000
|
+
"module": "core/mixins.js"
|
|
104001
|
+
},
|
|
104002
|
+
{
|
|
104003
|
+
"name": "SbbElementInternalsMixin",
|
|
104004
|
+
"module": "core/mixins.js"
|
|
104005
|
+
}
|
|
104006
|
+
],
|
|
104007
|
+
"superclass": {
|
|
104008
|
+
"name": "LitElement",
|
|
104009
|
+
"package": "lit"
|
|
104010
|
+
},
|
|
104011
|
+
"tagName": "sbb-tab-nav-bar",
|
|
104012
|
+
"customElement": true
|
|
104013
|
+
}
|
|
104014
|
+
],
|
|
104015
|
+
"exports": [
|
|
104016
|
+
{
|
|
104017
|
+
"kind": "js",
|
|
104018
|
+
"name": "SbbTabNavBarElement",
|
|
104019
|
+
"declaration": {
|
|
104020
|
+
"name": "SbbTabNavBarElement",
|
|
104021
|
+
"module": "tabs/tab-nav-bar/tab-nav-bar.component.js"
|
|
104022
|
+
}
|
|
104023
|
+
},
|
|
104024
|
+
{
|
|
104025
|
+
"kind": "custom-element-definition",
|
|
104026
|
+
"name": "sbb-tab-nav-bar",
|
|
104027
|
+
"declaration": {
|
|
104028
|
+
"name": "SbbTabNavBarElement",
|
|
104029
|
+
"module": "tabs/tab-nav-bar/tab-nav-bar.component.js"
|
|
104030
|
+
}
|
|
104031
|
+
}
|
|
104032
|
+
]
|
|
104033
|
+
},
|
|
103362
104034
|
{
|
|
103363
104035
|
"kind": "javascript-module",
|
|
103364
104036
|
"path": "tag/tag/tag.component.js",
|