@momentum-design/components 0.99.0 → 0.100.1
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/dist/browser/index.js +321 -319
- package/dist/browser/index.js.map +3 -3
- package/dist/components/animation/animation.component.d.ts +1 -0
- package/dist/components/animation/animation.component.js +9 -0
- package/dist/components/cardcheckbox/cardcheckbox.component.js +3 -3
- package/dist/components/cardradio/cardradio.component.js +3 -3
- package/dist/components/dialog/dialog.component.js +5 -0
- package/dist/components/formfieldwrapper/formfieldwrapper.styles.js +1 -0
- package/dist/components/icon/icon.component.d.ts +2 -1
- package/dist/components/icon/icon.component.js +9 -1
- package/dist/components/linksimple/linksimple.component.js +11 -11
- package/dist/components/listitem/listitem.component.js +6 -6
- package/dist/components/listitem/listitem.events.js +3 -1
- package/dist/components/menubar/menubar.component.d.ts +9 -0
- package/dist/components/menubar/menubar.component.js +38 -4
- package/dist/components/menuitem/menuitem.component.js +1 -1
- package/dist/components/menuitemcheckbox/menuitemcheckbox.component.js +12 -12
- package/dist/components/menuitemradio/menuitemradio.component.js +13 -13
- package/dist/components/menupopover/menupopover.component.d.ts +30 -12
- package/dist/components/menupopover/menupopover.component.js +231 -179
- package/dist/components/menupopover/menupopover.utils.d.ts +2 -2
- package/dist/components/menupopover/menupopover.utils.js +2 -2
- package/dist/components/navmenuitem/navmenuitem.component.js +1 -1
- package/dist/components/popover/popover.component.d.ts +29 -9
- package/dist/components/popover/popover.component.js +277 -212
- package/dist/components/popover/popover.constants.d.ts +1 -0
- package/dist/components/popover/popover.constants.js +1 -0
- package/dist/components/popover/popover.types.d.ts +19 -6
- package/dist/components/popover/popover.utils.d.ts +7 -2
- package/dist/components/popover/popover.utils.js +19 -8
- package/dist/components/select/select.component.js +2 -0
- package/dist/components/select/select.styles.js +1 -1
- package/dist/components/select/select.types.d.ts +5 -1
- package/dist/components/sidenavigation/sidenavigation.component.js +1 -1
- package/dist/components/spinner/spinner.component.d.ts +1 -1
- package/dist/components/spinner/spinner.component.js +1 -1
- package/dist/components/tablist/tablist.component.d.ts +1 -0
- package/dist/components/tablist/tablist.component.js +284 -273
- package/dist/components/textarea/textarea.component.d.ts +2 -2
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/tooltip/tooltip.component.d.ts +1 -1
- package/dist/components/tooltip/tooltip.component.js +14 -15
- package/dist/custom-elements.json +496 -154
- package/dist/react/coachmark/index.d.ts +12 -4
- package/dist/react/menupopover/index.d.ts +12 -4
- package/dist/react/popover/index.d.ts +12 -4
- package/dist/react/toggletip/index.d.ts +12 -4
- package/dist/react/tooltip/index.d.ts +12 -4
- package/package.json +2 -2
@@ -3388,9 +3388,22 @@
|
|
3388
3388
|
}
|
3389
3389
|
},
|
3390
3390
|
{
|
3391
|
-
"kind": "
|
3391
|
+
"kind": "method",
|
3392
3392
|
"name": "handleNavigation",
|
3393
3393
|
"privacy": "private",
|
3394
|
+
"return": {
|
3395
|
+
"type": {
|
3396
|
+
"text": "void"
|
3397
|
+
}
|
3398
|
+
},
|
3399
|
+
"parameters": [
|
3400
|
+
{
|
3401
|
+
"name": "e",
|
3402
|
+
"type": {
|
3403
|
+
"text": "MouseEvent | KeyboardEvent"
|
3404
|
+
}
|
3405
|
+
}
|
3406
|
+
],
|
3394
3407
|
"inheritedFrom": {
|
3395
3408
|
"name": "Linksimple",
|
3396
3409
|
"module": "components/linksimple/linksimple.component.js"
|
@@ -9184,6 +9197,20 @@
|
|
9184
9197
|
"module": "components/popover/popover.component.js"
|
9185
9198
|
}
|
9186
9199
|
},
|
9200
|
+
{
|
9201
|
+
"kind": "field",
|
9202
|
+
"name": "keepConnectedTooltipClosed",
|
9203
|
+
"type": {
|
9204
|
+
"text": "boolean"
|
9205
|
+
},
|
9206
|
+
"description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
|
9207
|
+
"attribute": "keep-connected-tooltip-closed",
|
9208
|
+
"reflects": true,
|
9209
|
+
"inheritedFrom": {
|
9210
|
+
"name": "Popover",
|
9211
|
+
"module": "components/popover/popover.component.js"
|
9212
|
+
}
|
9213
|
+
},
|
9187
9214
|
{
|
9188
9215
|
"kind": "field",
|
9189
9216
|
"name": "arrowElement",
|
@@ -9211,10 +9238,9 @@
|
|
9211
9238
|
}
|
9212
9239
|
},
|
9213
9240
|
{
|
9214
|
-
"kind": "
|
9215
|
-
"name": "
|
9241
|
+
"kind": "field",
|
9242
|
+
"name": "storeConnectedTooltip",
|
9216
9243
|
"privacy": "private",
|
9217
|
-
"description": "Sets up the trigger event listeners based on the trigger type.",
|
9218
9244
|
"inheritedFrom": {
|
9219
9245
|
"name": "Popover",
|
9220
9246
|
"module": "components/popover/popover.component.js"
|
@@ -9222,9 +9248,47 @@
|
|
9222
9248
|
},
|
9223
9249
|
{
|
9224
9250
|
"kind": "method",
|
9225
|
-
"name": "
|
9251
|
+
"name": "setupTriggerRelatedElement",
|
9226
9252
|
"privacy": "private",
|
9227
|
-
"
|
9253
|
+
"inheritedFrom": {
|
9254
|
+
"name": "Popover",
|
9255
|
+
"module": "components/popover/popover.component.js"
|
9256
|
+
}
|
9257
|
+
},
|
9258
|
+
{
|
9259
|
+
"kind": "field",
|
9260
|
+
"name": "cleanupTrigger",
|
9261
|
+
"privacy": "private",
|
9262
|
+
"inheritedFrom": {
|
9263
|
+
"name": "Popover",
|
9264
|
+
"module": "components/popover/popover.component.js"
|
9265
|
+
}
|
9266
|
+
},
|
9267
|
+
{
|
9268
|
+
"kind": "field",
|
9269
|
+
"name": "setupTriggerListeners",
|
9270
|
+
"privacy": "private",
|
9271
|
+
"description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.",
|
9272
|
+
"inheritedFrom": {
|
9273
|
+
"name": "Popover",
|
9274
|
+
"module": "components/popover/popover.component.js"
|
9275
|
+
}
|
9276
|
+
},
|
9277
|
+
{
|
9278
|
+
"kind": "field",
|
9279
|
+
"name": "removeTriggerListeners",
|
9280
|
+
"privacy": "private",
|
9281
|
+
"description": "Removes the trigger related event listeners.",
|
9282
|
+
"inheritedFrom": {
|
9283
|
+
"name": "Popover",
|
9284
|
+
"module": "components/popover/popover.component.js"
|
9285
|
+
}
|
9286
|
+
},
|
9287
|
+
{
|
9288
|
+
"kind": "field",
|
9289
|
+
"name": "removeAllListeners",
|
9290
|
+
"privacy": "private",
|
9291
|
+
"description": "Removes all event listeners related to the popover.",
|
9228
9292
|
"inheritedFrom": {
|
9229
9293
|
"name": "Popover",
|
9230
9294
|
"module": "components/popover/popover.component.js"
|
@@ -9356,7 +9420,7 @@
|
|
9356
9420
|
},
|
9357
9421
|
{
|
9358
9422
|
"kind": "field",
|
9359
|
-
"name": "
|
9423
|
+
"name": "show",
|
9360
9424
|
"privacy": "public",
|
9361
9425
|
"description": "Shows the popover.",
|
9362
9426
|
"inheritedFrom": {
|
@@ -9366,7 +9430,7 @@
|
|
9366
9430
|
},
|
9367
9431
|
{
|
9368
9432
|
"kind": "field",
|
9369
|
-
"name": "
|
9433
|
+
"name": "hide",
|
9370
9434
|
"privacy": "public",
|
9371
9435
|
"description": "Hides the popover.",
|
9372
9436
|
"inheritedFrom": {
|
@@ -9385,7 +9449,7 @@
|
|
9385
9449
|
}
|
9386
9450
|
},
|
9387
9451
|
{
|
9388
|
-
"kind": "
|
9452
|
+
"kind": "field",
|
9389
9453
|
"name": "positionPopover",
|
9390
9454
|
"privacy": "private",
|
9391
9455
|
"description": "Positions the popover based on the trigger element.\nIt also handles the flip, size and arrow placement.\nIt uses the floating-ui/dom library to calculate the position.",
|
@@ -9395,24 +9459,16 @@
|
|
9395
9459
|
}
|
9396
9460
|
},
|
9397
9461
|
{
|
9398
|
-
"kind": "
|
9462
|
+
"kind": "field",
|
9399
9463
|
"name": "findClosestPopover",
|
9400
9464
|
"privacy": "protected",
|
9401
|
-
"
|
9402
|
-
"type": {
|
9403
|
-
"text": "Popover | null"
|
9404
|
-
}
|
9405
|
-
},
|
9465
|
+
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
|
9406
9466
|
"parameters": [
|
9407
9467
|
{
|
9408
|
-
"
|
9409
|
-
"
|
9410
|
-
"text": "Element"
|
9411
|
-
},
|
9412
|
-
"description": "The element to start searching from."
|
9468
|
+
"description": "The element to start searching from.",
|
9469
|
+
"name": "element"
|
9413
9470
|
}
|
9414
9471
|
],
|
9415
|
-
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
|
9416
9472
|
"inheritedFrom": {
|
9417
9473
|
"name": "Popover",
|
9418
9474
|
"module": "components/popover/popover.component.js"
|
@@ -9895,6 +9951,18 @@
|
|
9895
9951
|
"name": "Popover",
|
9896
9952
|
"module": "src/components/popover/popover.component.ts"
|
9897
9953
|
}
|
9954
|
+
},
|
9955
|
+
{
|
9956
|
+
"name": "keep-connected-tooltip-closed",
|
9957
|
+
"type": {
|
9958
|
+
"text": "boolean"
|
9959
|
+
},
|
9960
|
+
"description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
|
9961
|
+
"fieldName": "keepConnectedTooltipClosed",
|
9962
|
+
"inheritedFrom": {
|
9963
|
+
"name": "Popover",
|
9964
|
+
"module": "src/components/popover/popover.component.ts"
|
9965
|
+
}
|
9898
9966
|
}
|
9899
9967
|
],
|
9900
9968
|
"superclass": {
|
@@ -12625,7 +12693,7 @@
|
|
12625
12693
|
"kind": "field",
|
12626
12694
|
"name": "abortController",
|
12627
12695
|
"type": {
|
12628
|
-
"text": "AbortController"
|
12696
|
+
"text": "AbortController | undefined"
|
12629
12697
|
},
|
12630
12698
|
"privacy": "private",
|
12631
12699
|
"default": "new AbortController()"
|
@@ -14308,9 +14376,22 @@
|
|
14308
14376
|
}
|
14309
14377
|
},
|
14310
14378
|
{
|
14311
|
-
"kind": "
|
14379
|
+
"kind": "method",
|
14312
14380
|
"name": "handleNavigation",
|
14313
14381
|
"privacy": "private",
|
14382
|
+
"return": {
|
14383
|
+
"type": {
|
14384
|
+
"text": "void"
|
14385
|
+
}
|
14386
|
+
},
|
14387
|
+
"parameters": [
|
14388
|
+
{
|
14389
|
+
"name": "e",
|
14390
|
+
"type": {
|
14391
|
+
"text": "MouseEvent | KeyboardEvent"
|
14392
|
+
}
|
14393
|
+
}
|
14394
|
+
],
|
14314
14395
|
"inheritedFrom": {
|
14315
14396
|
"name": "Linksimple",
|
14316
14397
|
"module": "components/linksimple/linksimple.component.js"
|
@@ -15287,9 +15368,22 @@
|
|
15287
15368
|
"reflects": true
|
15288
15369
|
},
|
15289
15370
|
{
|
15290
|
-
"kind": "
|
15371
|
+
"kind": "method",
|
15291
15372
|
"name": "handleNavigation",
|
15292
|
-
"privacy": "private"
|
15373
|
+
"privacy": "private",
|
15374
|
+
"return": {
|
15375
|
+
"type": {
|
15376
|
+
"text": "void"
|
15377
|
+
}
|
15378
|
+
},
|
15379
|
+
"parameters": [
|
15380
|
+
{
|
15381
|
+
"name": "e",
|
15382
|
+
"type": {
|
15383
|
+
"text": "MouseEvent | KeyboardEvent"
|
15384
|
+
}
|
15385
|
+
}
|
15386
|
+
]
|
15293
15387
|
},
|
15294
15388
|
{
|
15295
15389
|
"kind": "method",
|
@@ -16425,6 +16519,29 @@
|
|
16425
16519
|
},
|
16426
16520
|
"description": "Returns all menupopovers, including direct and slotted ones ."
|
16427
16521
|
},
|
16522
|
+
{
|
16523
|
+
"kind": "method",
|
16524
|
+
"name": "handleClick",
|
16525
|
+
"privacy": "private",
|
16526
|
+
"return": {
|
16527
|
+
"type": {
|
16528
|
+
"text": "void"
|
16529
|
+
}
|
16530
|
+
},
|
16531
|
+
"parameters": [
|
16532
|
+
{
|
16533
|
+
"name": "event",
|
16534
|
+
"type": {
|
16535
|
+
"text": "MouseEvent"
|
16536
|
+
}
|
16537
|
+
},
|
16538
|
+
{
|
16539
|
+
"description": "The target menu item that was clicked.",
|
16540
|
+
"name": "target"
|
16541
|
+
}
|
16542
|
+
],
|
16543
|
+
"description": "Closes all other submenus on the top level.\nThis method is used to ensure that only one topolevel submenu is open at a time.\nIt finds all other menu items with submenus and closes their submenus."
|
16544
|
+
},
|
16428
16545
|
{
|
16429
16546
|
"kind": "method",
|
16430
16547
|
"name": "resetTabIndexAndSetActiveTabIndex",
|
@@ -17627,7 +17744,7 @@
|
|
17627
17744
|
"reflects": true
|
17628
17745
|
},
|
17629
17746
|
{
|
17630
|
-
"kind": "
|
17747
|
+
"kind": "method",
|
17631
17748
|
"name": "handleMouseClick",
|
17632
17749
|
"privacy": "private",
|
17633
17750
|
"description": "Handles click events to toggle checked state\nIf the menuitemcheckbox is disabled, it does nothing.\nIf the menuitemcheckbox is not disabled, it toggles the `checked` state between `true` and `false`."
|
@@ -18106,8 +18223,11 @@
|
|
18106
18223
|
],
|
18107
18224
|
"events": [
|
18108
18225
|
{
|
18109
|
-
"description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
|
18110
18226
|
"name": "change",
|
18227
|
+
"type": {
|
18228
|
+
"text": "Event"
|
18229
|
+
},
|
18230
|
+
"description": "(React: onChange) This event is dispatched when the menuitemcheckbox changes.",
|
18111
18231
|
"reactName": "onChange"
|
18112
18232
|
},
|
18113
18233
|
{
|
@@ -18588,7 +18708,7 @@
|
|
18588
18708
|
"description": "Updates the checked state of all other radios in the same group.\nThis method is called when a radio is clicked to ensure that only one radio in the group can be checked at a time.\nIt sets the `checked` property of all other radios in the same group to `false`."
|
18589
18709
|
},
|
18590
18710
|
{
|
18591
|
-
"kind": "
|
18711
|
+
"kind": "method",
|
18592
18712
|
"name": "handleMouseClick",
|
18593
18713
|
"privacy": "private",
|
18594
18714
|
"description": "Handles click events to set checked state and uncheck siblings in the same group and container.\nIf the menuitemradio is not checked, it sets its checked state to `true`\nand sets all other menuitemradio elements of the same group with checked state to `false`."
|
@@ -19056,8 +19176,11 @@
|
|
19056
19176
|
],
|
19057
19177
|
"events": [
|
19058
19178
|
{
|
19059
|
-
"description": "(React: onChange) This event is dispatched when the menuitemradio changes.",
|
19060
19179
|
"name": "change",
|
19180
|
+
"type": {
|
19181
|
+
"text": "Event"
|
19182
|
+
},
|
19183
|
+
"description": "(React: onChange) This event is dispatched when the menuitemradio changes.",
|
19061
19184
|
"reactName": "onChange"
|
19062
19185
|
},
|
19063
19186
|
{
|
@@ -19473,6 +19596,15 @@
|
|
19473
19596
|
"privacy": "private",
|
19474
19597
|
"default": "[]"
|
19475
19598
|
},
|
19599
|
+
{
|
19600
|
+
"kind": "field",
|
19601
|
+
"name": "menuItemsWithSubMenus",
|
19602
|
+
"type": {
|
19603
|
+
"text": "Array<HTMLElement>"
|
19604
|
+
},
|
19605
|
+
"privacy": "private",
|
19606
|
+
"default": "[]"
|
19607
|
+
},
|
19476
19608
|
{
|
19477
19609
|
"kind": "method",
|
19478
19610
|
"name": "isOpenUpdated",
|
@@ -19601,50 +19733,60 @@
|
|
19601
19733
|
"module": "components/popover/popover.component.js"
|
19602
19734
|
}
|
19603
19735
|
},
|
19736
|
+
{
|
19737
|
+
"kind": "field",
|
19738
|
+
"name": "togglePopoverVisible",
|
19739
|
+
"privacy": "public",
|
19740
|
+
"description": "Toggles the visibility of the popover.\nThis method checks if the trigger element has the `soft-disabled` attribute.\nIf it does, the popover will not be toggled.\nIf the popover is currently visible, it hides the popover; otherwise, it shows the popover.",
|
19741
|
+
"return": {
|
19742
|
+
"type": {
|
19743
|
+
"text": ""
|
19744
|
+
}
|
19745
|
+
},
|
19746
|
+
"inheritedFrom": {
|
19747
|
+
"name": "Popover",
|
19748
|
+
"module": "components/popover/popover.component.js"
|
19749
|
+
}
|
19750
|
+
},
|
19604
19751
|
{
|
19605
19752
|
"kind": "method",
|
19606
|
-
"name": "
|
19753
|
+
"name": "closeOtherSubMenusOnSameLevel",
|
19607
19754
|
"privacy": "private",
|
19608
19755
|
"return": {
|
19609
19756
|
"type": {
|
19610
|
-
"text": ""
|
19757
|
+
"text": "void"
|
19611
19758
|
}
|
19612
19759
|
},
|
19613
19760
|
"parameters": [
|
19614
19761
|
{
|
19615
|
-
"name": "
|
19762
|
+
"name": "target",
|
19616
19763
|
"type": {
|
19617
|
-
"text": "
|
19764
|
+
"text": "HTMLElement"
|
19618
19765
|
},
|
19619
|
-
"description": "The
|
19766
|
+
"description": "The target menu item that was clicked."
|
19620
19767
|
}
|
19621
19768
|
],
|
19622
|
-
"description": "
|
19623
|
-
},
|
19624
|
-
{
|
19625
|
-
"kind": "field",
|
19626
|
-
"name": "togglePopoverVisible",
|
19627
|
-
"privacy": "public",
|
19628
|
-
"description": "Toggles the popover visibility.",
|
19629
|
-
"inheritedFrom": {
|
19630
|
-
"name": "Popover",
|
19631
|
-
"module": "components/popover/popover.component.js"
|
19632
|
-
}
|
19769
|
+
"description": "Closes all other submenus on the same level as the target menu item.\nThis method is used to ensure that only one submenu is open at a time.\nIt finds all other menu items with submenus and closes their submenus."
|
19633
19770
|
},
|
19634
19771
|
{
|
19635
19772
|
"kind": "method",
|
19636
|
-
"name": "
|
19773
|
+
"name": "fireMenuItemAction",
|
19637
19774
|
"privacy": "private",
|
19775
|
+
"return": {
|
19776
|
+
"type": {
|
19777
|
+
"text": "void"
|
19778
|
+
}
|
19779
|
+
},
|
19638
19780
|
"parameters": [
|
19639
19781
|
{
|
19640
19782
|
"name": "target",
|
19641
19783
|
"type": {
|
19642
19784
|
"text": "HTMLElement"
|
19643
19785
|
},
|
19644
|
-
"description": "The target
|
19786
|
+
"description": "The target menu item that was clicked or activated."
|
19645
19787
|
}
|
19646
19788
|
],
|
19647
|
-
"description": "
|
19789
|
+
"description": "Fires the 'action' event on the target menu item.\nThis method is used to trigger the action associated with a menu item when it is clicked or activated.\nIt checks if the target element matches the `MENUITEM_TAGNAME` and dispatches an 'action' event."
|
19648
19790
|
},
|
19649
19791
|
{
|
19650
19792
|
"kind": "method",
|
@@ -19667,17 +19809,9 @@
|
|
19667
19809
|
"description": "Handles mouse click events on the menu items.\nThis method checks if the clicked element is a valid menu item and not a submenu trigger.\nIf it is, it closes all other menu popovers to ensure only one menu is open at a time."
|
19668
19810
|
},
|
19669
19811
|
{
|
19670
|
-
"kind": "
|
19812
|
+
"kind": "field",
|
19671
19813
|
"name": "handleItemCreation",
|
19672
|
-
"privacy": "private"
|
19673
|
-
"parameters": [
|
19674
|
-
{
|
19675
|
-
"name": "event",
|
19676
|
-
"type": {
|
19677
|
-
"text": "Event"
|
19678
|
-
}
|
19679
|
-
}
|
19680
|
-
]
|
19814
|
+
"privacy": "private"
|
19681
19815
|
},
|
19682
19816
|
{
|
19683
19817
|
"kind": "field",
|
@@ -19717,19 +19851,16 @@
|
|
19717
19851
|
}
|
19718
19852
|
},
|
19719
19853
|
{
|
19720
|
-
"kind": "
|
19854
|
+
"kind": "field",
|
19721
19855
|
"name": "handleKeyDown",
|
19722
19856
|
"privacy": "private",
|
19857
|
+
"description": "Handles keydown events for keyboard navigation within the menu popover.\nThis method allows users to navigate through the menu items using the keyboard.\nIt supports Home, End, Arrow Up, Arrow Down, Arrow Left, Arrow Right, and Escape keys.\n\nAlso, it handles Enter key to close the menu popover",
|
19723
19858
|
"parameters": [
|
19724
19859
|
{
|
19725
|
-
"
|
19726
|
-
"
|
19727
|
-
"text": "KeyboardEvent"
|
19728
|
-
},
|
19729
|
-
"description": "The keyboard event that triggered the keydown action."
|
19860
|
+
"description": "The keyboard event that triggered the keydown action.",
|
19861
|
+
"name": "event"
|
19730
19862
|
}
|
19731
19863
|
],
|
19732
|
-
"description": "Handles keydown events for keyboard navigation within the menu popover.\nThis method allows users to navigate through the menu items using the keyboard.\nIt supports Home, End, Arrow Up, Arrow Down, Arrow Left, Arrow Right, and Escape keys.\n\nAlso, it handles Enter key to close the menu popover",
|
19733
19864
|
"return": {
|
19734
19865
|
"type": {
|
19735
19866
|
"text": ""
|
@@ -19737,19 +19868,16 @@
|
|
19737
19868
|
}
|
19738
19869
|
},
|
19739
19870
|
{
|
19740
|
-
"kind": "
|
19871
|
+
"kind": "field",
|
19741
19872
|
"name": "handleKeyUp",
|
19742
19873
|
"privacy": "private",
|
19874
|
+
"description": "Handles keyup events for keyboard navigation within the menu popover.\n\nSome keys must be handled with keyup event to prevent default action.\n\nSpace key closes the menu when the user presses it on a menu item,\nbut the same key will trigger a click on the menu opener button.\nThe button uses the keyup event so we have to handle it here as well\nto prevent the meu opener action which would re-open the menu.",
|
19743
19875
|
"parameters": [
|
19744
19876
|
{
|
19745
|
-
"
|
19746
|
-
"
|
19747
|
-
"text": "KeyboardEvent"
|
19748
|
-
},
|
19749
|
-
"description": "The keyboard event that triggered the keydown action."
|
19877
|
+
"description": "The keyboard event that triggered the keydown action.",
|
19878
|
+
"name": "event"
|
19750
19879
|
}
|
19751
19880
|
],
|
19752
|
-
"description": "Handles keyup events for keyboard navigation within the menu popover.\n\nSome keys must be handled with keyup event to prevent default action.\n\nSpace key closes the menu when the user presses it on a menu item,\nbut the same key will trigger a click on the menu opener button.\nThe button uses the keyup event so we have to handle it here as well\nto prevent the meu opener action which would re-open the menu.",
|
19753
19881
|
"return": {
|
19754
19882
|
"type": {
|
19755
19883
|
"text": ""
|
@@ -20737,6 +20865,20 @@
|
|
20737
20865
|
"module": "components/popover/popover.component.js"
|
20738
20866
|
}
|
20739
20867
|
},
|
20868
|
+
{
|
20869
|
+
"kind": "field",
|
20870
|
+
"name": "keepConnectedTooltipClosed",
|
20871
|
+
"type": {
|
20872
|
+
"text": "boolean"
|
20873
|
+
},
|
20874
|
+
"description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
|
20875
|
+
"attribute": "keep-connected-tooltip-closed",
|
20876
|
+
"reflects": true,
|
20877
|
+
"inheritedFrom": {
|
20878
|
+
"name": "Popover",
|
20879
|
+
"module": "components/popover/popover.component.js"
|
20880
|
+
}
|
20881
|
+
},
|
20740
20882
|
{
|
20741
20883
|
"kind": "field",
|
20742
20884
|
"name": "arrowElement",
|
@@ -20764,10 +20906,9 @@
|
|
20764
20906
|
}
|
20765
20907
|
},
|
20766
20908
|
{
|
20767
|
-
"kind": "
|
20768
|
-
"name": "
|
20909
|
+
"kind": "field",
|
20910
|
+
"name": "storeConnectedTooltip",
|
20769
20911
|
"privacy": "private",
|
20770
|
-
"description": "Sets up the trigger event listeners based on the trigger type.",
|
20771
20912
|
"inheritedFrom": {
|
20772
20913
|
"name": "Popover",
|
20773
20914
|
"module": "components/popover/popover.component.js"
|
@@ -20775,9 +20916,47 @@
|
|
20775
20916
|
},
|
20776
20917
|
{
|
20777
20918
|
"kind": "method",
|
20778
|
-
"name": "
|
20919
|
+
"name": "setupTriggerRelatedElement",
|
20920
|
+
"privacy": "private",
|
20921
|
+
"inheritedFrom": {
|
20922
|
+
"name": "Popover",
|
20923
|
+
"module": "components/popover/popover.component.js"
|
20924
|
+
}
|
20925
|
+
},
|
20926
|
+
{
|
20927
|
+
"kind": "field",
|
20928
|
+
"name": "cleanupTrigger",
|
20929
|
+
"privacy": "private",
|
20930
|
+
"inheritedFrom": {
|
20931
|
+
"name": "Popover",
|
20932
|
+
"module": "components/popover/popover.component.js"
|
20933
|
+
}
|
20934
|
+
},
|
20935
|
+
{
|
20936
|
+
"kind": "field",
|
20937
|
+
"name": "setupTriggerListeners",
|
20938
|
+
"privacy": "private",
|
20939
|
+
"description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.",
|
20940
|
+
"inheritedFrom": {
|
20941
|
+
"name": "Popover",
|
20942
|
+
"module": "components/popover/popover.component.js"
|
20943
|
+
}
|
20944
|
+
},
|
20945
|
+
{
|
20946
|
+
"kind": "field",
|
20947
|
+
"name": "removeTriggerListeners",
|
20779
20948
|
"privacy": "private",
|
20780
|
-
"description": "Removes the trigger event listeners.",
|
20949
|
+
"description": "Removes the trigger related event listeners.",
|
20950
|
+
"inheritedFrom": {
|
20951
|
+
"name": "Popover",
|
20952
|
+
"module": "components/popover/popover.component.js"
|
20953
|
+
}
|
20954
|
+
},
|
20955
|
+
{
|
20956
|
+
"kind": "field",
|
20957
|
+
"name": "removeAllListeners",
|
20958
|
+
"privacy": "private",
|
20959
|
+
"description": "Removes all event listeners related to the popover.",
|
20781
20960
|
"inheritedFrom": {
|
20782
20961
|
"name": "Popover",
|
20783
20962
|
"module": "components/popover/popover.component.js"
|
@@ -20867,7 +21046,7 @@
|
|
20867
21046
|
},
|
20868
21047
|
{
|
20869
21048
|
"kind": "field",
|
20870
|
-
"name": "
|
21049
|
+
"name": "show",
|
20871
21050
|
"privacy": "public",
|
20872
21051
|
"description": "Shows the popover.",
|
20873
21052
|
"inheritedFrom": {
|
@@ -20877,7 +21056,7 @@
|
|
20877
21056
|
},
|
20878
21057
|
{
|
20879
21058
|
"kind": "field",
|
20880
|
-
"name": "
|
21059
|
+
"name": "hide",
|
20881
21060
|
"privacy": "public",
|
20882
21061
|
"description": "Hides the popover.",
|
20883
21062
|
"inheritedFrom": {
|
@@ -20886,7 +21065,7 @@
|
|
20886
21065
|
}
|
20887
21066
|
},
|
20888
21067
|
{
|
20889
|
-
"kind": "
|
21068
|
+
"kind": "field",
|
20890
21069
|
"name": "positionPopover",
|
20891
21070
|
"privacy": "private",
|
20892
21071
|
"description": "Positions the popover based on the trigger element.\nIt also handles the flip, size and arrow placement.\nIt uses the floating-ui/dom library to calculate the position.",
|
@@ -20896,24 +21075,16 @@
|
|
20896
21075
|
}
|
20897
21076
|
},
|
20898
21077
|
{
|
20899
|
-
"kind": "
|
21078
|
+
"kind": "field",
|
20900
21079
|
"name": "findClosestPopover",
|
20901
21080
|
"privacy": "protected",
|
20902
|
-
"
|
20903
|
-
"type": {
|
20904
|
-
"text": "Popover | null"
|
20905
|
-
}
|
20906
|
-
},
|
21081
|
+
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
|
20907
21082
|
"parameters": [
|
20908
21083
|
{
|
20909
|
-
"
|
20910
|
-
"
|
20911
|
-
"text": "Element"
|
20912
|
-
},
|
20913
|
-
"description": "The element to start searching from."
|
21084
|
+
"description": "The element to start searching from.",
|
21085
|
+
"name": "element"
|
20914
21086
|
}
|
20915
21087
|
],
|
20916
|
-
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
|
20917
21088
|
"inheritedFrom": {
|
20918
21089
|
"name": "Popover",
|
20919
21090
|
"module": "components/popover/popover.component.js"
|
@@ -21406,6 +21577,18 @@
|
|
21406
21577
|
"name": "Popover",
|
21407
21578
|
"module": "src/components/popover/popover.component.ts"
|
21408
21579
|
}
|
21580
|
+
},
|
21581
|
+
{
|
21582
|
+
"name": "keep-connected-tooltip-closed",
|
21583
|
+
"type": {
|
21584
|
+
"text": "boolean"
|
21585
|
+
},
|
21586
|
+
"description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
|
21587
|
+
"fieldName": "keepConnectedTooltipClosed",
|
21588
|
+
"inheritedFrom": {
|
21589
|
+
"name": "Popover",
|
21590
|
+
"module": "src/components/popover/popover.component.ts"
|
21591
|
+
}
|
21409
21592
|
}
|
21410
21593
|
],
|
21411
21594
|
"superclass": {
|
@@ -25536,6 +25719,16 @@
|
|
25536
25719
|
"attribute": "disable-aria-haspopup",
|
25537
25720
|
"reflects": true
|
25538
25721
|
},
|
25722
|
+
{
|
25723
|
+
"kind": "field",
|
25724
|
+
"name": "keepConnectedTooltipClosed",
|
25725
|
+
"type": {
|
25726
|
+
"text": "boolean"
|
25727
|
+
},
|
25728
|
+
"description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
|
25729
|
+
"attribute": "keep-connected-tooltip-closed",
|
25730
|
+
"reflects": true
|
25731
|
+
},
|
25539
25732
|
{
|
25540
25733
|
"kind": "field",
|
25541
25734
|
"name": "arrowElement",
|
@@ -25554,17 +25747,38 @@
|
|
25554
25747
|
"privacy": "public",
|
25555
25748
|
"default": "null"
|
25556
25749
|
},
|
25750
|
+
{
|
25751
|
+
"kind": "field",
|
25752
|
+
"name": "storeConnectedTooltip",
|
25753
|
+
"privacy": "private"
|
25754
|
+
},
|
25557
25755
|
{
|
25558
25756
|
"kind": "method",
|
25559
|
-
"name": "
|
25757
|
+
"name": "setupTriggerRelatedElement",
|
25758
|
+
"privacy": "private"
|
25759
|
+
},
|
25760
|
+
{
|
25761
|
+
"kind": "field",
|
25762
|
+
"name": "cleanupTrigger",
|
25763
|
+
"privacy": "private"
|
25764
|
+
},
|
25765
|
+
{
|
25766
|
+
"kind": "field",
|
25767
|
+
"name": "setupTriggerListeners",
|
25560
25768
|
"privacy": "private",
|
25561
|
-
"description": "Sets up the trigger event listeners based on the trigger type."
|
25769
|
+
"description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers."
|
25562
25770
|
},
|
25563
25771
|
{
|
25564
|
-
"kind": "
|
25565
|
-
"name": "
|
25772
|
+
"kind": "field",
|
25773
|
+
"name": "removeTriggerListeners",
|
25566
25774
|
"privacy": "private",
|
25567
|
-
"description": "Removes the trigger event listeners."
|
25775
|
+
"description": "Removes the trigger related event listeners."
|
25776
|
+
},
|
25777
|
+
{
|
25778
|
+
"kind": "field",
|
25779
|
+
"name": "removeAllListeners",
|
25780
|
+
"privacy": "private",
|
25781
|
+
"description": "Removes all event listeners related to the popover."
|
25568
25782
|
},
|
25569
25783
|
{
|
25570
25784
|
"kind": "field",
|
@@ -25656,13 +25870,13 @@
|
|
25656
25870
|
},
|
25657
25871
|
{
|
25658
25872
|
"kind": "field",
|
25659
|
-
"name": "
|
25873
|
+
"name": "show",
|
25660
25874
|
"privacy": "public",
|
25661
25875
|
"description": "Shows the popover."
|
25662
25876
|
},
|
25663
25877
|
{
|
25664
25878
|
"kind": "field",
|
25665
|
-
"name": "
|
25879
|
+
"name": "hide",
|
25666
25880
|
"privacy": "public",
|
25667
25881
|
"description": "Hides the popover."
|
25668
25882
|
},
|
@@ -25673,30 +25887,22 @@
|
|
25673
25887
|
"description": "Toggles the popover visibility."
|
25674
25888
|
},
|
25675
25889
|
{
|
25676
|
-
"kind": "
|
25890
|
+
"kind": "field",
|
25677
25891
|
"name": "positionPopover",
|
25678
25892
|
"privacy": "private",
|
25679
25893
|
"description": "Positions the popover based on the trigger element.\nIt also handles the flip, size and arrow placement.\nIt uses the floating-ui/dom library to calculate the position."
|
25680
25894
|
},
|
25681
25895
|
{
|
25682
|
-
"kind": "
|
25896
|
+
"kind": "field",
|
25683
25897
|
"name": "findClosestPopover",
|
25684
25898
|
"privacy": "protected",
|
25685
|
-
"
|
25686
|
-
"type": {
|
25687
|
-
"text": "Popover | null"
|
25688
|
-
}
|
25689
|
-
},
|
25899
|
+
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
|
25690
25900
|
"parameters": [
|
25691
25901
|
{
|
25692
|
-
"
|
25693
|
-
"
|
25694
|
-
"text": "Element"
|
25695
|
-
},
|
25696
|
-
"description": "The element to start searching from."
|
25902
|
+
"description": "The element to start searching from.",
|
25903
|
+
"name": "element"
|
25697
25904
|
}
|
25698
|
-
]
|
25699
|
-
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario."
|
25905
|
+
]
|
25700
25906
|
},
|
25701
25907
|
{
|
25702
25908
|
"kind": "field",
|
@@ -26529,6 +26735,14 @@
|
|
26529
26735
|
"default": "false",
|
26530
26736
|
"fieldName": "disableAriaHasPopup"
|
26531
26737
|
},
|
26738
|
+
{
|
26739
|
+
"name": "keep-connected-tooltip-closed",
|
26740
|
+
"type": {
|
26741
|
+
"text": "boolean"
|
26742
|
+
},
|
26743
|
+
"description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
|
26744
|
+
"fieldName": "keepConnectedTooltipClosed"
|
26745
|
+
},
|
26532
26746
|
{
|
26533
26747
|
"name": "should-focus-trap-wrap",
|
26534
26748
|
"type": {
|
@@ -31722,6 +31936,9 @@
|
|
31722
31936
|
{
|
31723
31937
|
"kind": "field",
|
31724
31938
|
"name": "inverted",
|
31939
|
+
"type": {
|
31940
|
+
"text": "boolean | undefined"
|
31941
|
+
},
|
31725
31942
|
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
31726
31943
|
"default": "false",
|
31727
31944
|
"attribute": "inverted",
|
@@ -31763,6 +31980,9 @@
|
|
31763
31980
|
"attributes": [
|
31764
31981
|
{
|
31765
31982
|
"name": "inverted",
|
31983
|
+
"type": {
|
31984
|
+
"text": "boolean | undefined"
|
31985
|
+
},
|
31766
31986
|
"description": "The spinner color can be inverted by setting the inverted attribute to true.",
|
31767
31987
|
"default": "false",
|
31768
31988
|
"fieldName": "inverted"
|
@@ -33845,6 +34065,9 @@
|
|
33845
34065
|
{
|
33846
34066
|
"kind": "field",
|
33847
34067
|
"name": "rows",
|
34068
|
+
"type": {
|
34069
|
+
"text": "number | undefined"
|
34070
|
+
},
|
33848
34071
|
"description": "The rows attribute specifies the visible number of lines in a text area.",
|
33849
34072
|
"default": "5",
|
33850
34073
|
"attribute": "rows"
|
@@ -33852,6 +34075,9 @@
|
|
33852
34075
|
{
|
33853
34076
|
"kind": "field",
|
33854
34077
|
"name": "cols",
|
34078
|
+
"type": {
|
34079
|
+
"text": "number | undefined"
|
34080
|
+
},
|
33855
34081
|
"description": "The cols attribute specifies the visible number of lines in a text area.",
|
33856
34082
|
"default": "40",
|
33857
34083
|
"attribute": "cols"
|
@@ -34398,12 +34624,18 @@
|
|
34398
34624
|
},
|
34399
34625
|
{
|
34400
34626
|
"name": "rows",
|
34627
|
+
"type": {
|
34628
|
+
"text": "number | undefined"
|
34629
|
+
},
|
34401
34630
|
"description": "The rows attribute specifies the visible number of lines in a text area.",
|
34402
34631
|
"default": "5",
|
34403
34632
|
"fieldName": "rows"
|
34404
34633
|
},
|
34405
34634
|
{
|
34406
34635
|
"name": "cols",
|
34636
|
+
"type": {
|
34637
|
+
"text": "number | undefined"
|
34638
|
+
},
|
34407
34639
|
"description": "The cols attribute specifies the visible number of lines in a text area.",
|
34408
34640
|
"default": "40",
|
34409
34641
|
"fieldName": "cols"
|
@@ -37041,6 +37273,20 @@
|
|
37041
37273
|
"module": "components/popover/popover.component.js"
|
37042
37274
|
}
|
37043
37275
|
},
|
37276
|
+
{
|
37277
|
+
"kind": "field",
|
37278
|
+
"name": "keepConnectedTooltipClosed",
|
37279
|
+
"type": {
|
37280
|
+
"text": "boolean"
|
37281
|
+
},
|
37282
|
+
"description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
|
37283
|
+
"attribute": "keep-connected-tooltip-closed",
|
37284
|
+
"reflects": true,
|
37285
|
+
"inheritedFrom": {
|
37286
|
+
"name": "Popover",
|
37287
|
+
"module": "components/popover/popover.component.js"
|
37288
|
+
}
|
37289
|
+
},
|
37044
37290
|
{
|
37045
37291
|
"kind": "field",
|
37046
37292
|
"name": "arrowElement",
|
@@ -37068,10 +37314,9 @@
|
|
37068
37314
|
}
|
37069
37315
|
},
|
37070
37316
|
{
|
37071
|
-
"kind": "
|
37072
|
-
"name": "
|
37317
|
+
"kind": "field",
|
37318
|
+
"name": "storeConnectedTooltip",
|
37073
37319
|
"privacy": "private",
|
37074
|
-
"description": "Sets up the trigger event listeners based on the trigger type.",
|
37075
37320
|
"inheritedFrom": {
|
37076
37321
|
"name": "Popover",
|
37077
37322
|
"module": "components/popover/popover.component.js"
|
@@ -37079,9 +37324,47 @@
|
|
37079
37324
|
},
|
37080
37325
|
{
|
37081
37326
|
"kind": "method",
|
37082
|
-
"name": "
|
37327
|
+
"name": "setupTriggerRelatedElement",
|
37083
37328
|
"privacy": "private",
|
37084
|
-
"
|
37329
|
+
"inheritedFrom": {
|
37330
|
+
"name": "Popover",
|
37331
|
+
"module": "components/popover/popover.component.js"
|
37332
|
+
}
|
37333
|
+
},
|
37334
|
+
{
|
37335
|
+
"kind": "field",
|
37336
|
+
"name": "cleanupTrigger",
|
37337
|
+
"privacy": "private",
|
37338
|
+
"inheritedFrom": {
|
37339
|
+
"name": "Popover",
|
37340
|
+
"module": "components/popover/popover.component.js"
|
37341
|
+
}
|
37342
|
+
},
|
37343
|
+
{
|
37344
|
+
"kind": "field",
|
37345
|
+
"name": "setupTriggerListeners",
|
37346
|
+
"privacy": "private",
|
37347
|
+
"description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.",
|
37348
|
+
"inheritedFrom": {
|
37349
|
+
"name": "Popover",
|
37350
|
+
"module": "components/popover/popover.component.js"
|
37351
|
+
}
|
37352
|
+
},
|
37353
|
+
{
|
37354
|
+
"kind": "field",
|
37355
|
+
"name": "removeTriggerListeners",
|
37356
|
+
"privacy": "private",
|
37357
|
+
"description": "Removes the trigger related event listeners.",
|
37358
|
+
"inheritedFrom": {
|
37359
|
+
"name": "Popover",
|
37360
|
+
"module": "components/popover/popover.component.js"
|
37361
|
+
}
|
37362
|
+
},
|
37363
|
+
{
|
37364
|
+
"kind": "field",
|
37365
|
+
"name": "removeAllListeners",
|
37366
|
+
"privacy": "private",
|
37367
|
+
"description": "Removes all event listeners related to the popover.",
|
37085
37368
|
"inheritedFrom": {
|
37086
37369
|
"name": "Popover",
|
37087
37370
|
"module": "components/popover/popover.component.js"
|
@@ -37213,7 +37496,7 @@
|
|
37213
37496
|
},
|
37214
37497
|
{
|
37215
37498
|
"kind": "field",
|
37216
|
-
"name": "
|
37499
|
+
"name": "show",
|
37217
37500
|
"privacy": "public",
|
37218
37501
|
"description": "Shows the popover.",
|
37219
37502
|
"inheritedFrom": {
|
@@ -37223,7 +37506,7 @@
|
|
37223
37506
|
},
|
37224
37507
|
{
|
37225
37508
|
"kind": "field",
|
37226
|
-
"name": "
|
37509
|
+
"name": "hide",
|
37227
37510
|
"privacy": "public",
|
37228
37511
|
"description": "Hides the popover.",
|
37229
37512
|
"inheritedFrom": {
|
@@ -37242,7 +37525,7 @@
|
|
37242
37525
|
}
|
37243
37526
|
},
|
37244
37527
|
{
|
37245
|
-
"kind": "
|
37528
|
+
"kind": "field",
|
37246
37529
|
"name": "positionPopover",
|
37247
37530
|
"privacy": "private",
|
37248
37531
|
"description": "Positions the popover based on the trigger element.\nIt also handles the flip, size and arrow placement.\nIt uses the floating-ui/dom library to calculate the position.",
|
@@ -37252,24 +37535,16 @@
|
|
37252
37535
|
}
|
37253
37536
|
},
|
37254
37537
|
{
|
37255
|
-
"kind": "
|
37538
|
+
"kind": "field",
|
37256
37539
|
"name": "findClosestPopover",
|
37257
37540
|
"privacy": "protected",
|
37258
|
-
"
|
37259
|
-
"type": {
|
37260
|
-
"text": "Popover | null"
|
37261
|
-
}
|
37262
|
-
},
|
37541
|
+
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
|
37263
37542
|
"parameters": [
|
37264
37543
|
{
|
37265
|
-
"
|
37266
|
-
"
|
37267
|
-
"text": "Element"
|
37268
|
-
},
|
37269
|
-
"description": "The element to start searching from."
|
37544
|
+
"description": "The element to start searching from.",
|
37545
|
+
"name": "element"
|
37270
37546
|
}
|
37271
37547
|
],
|
37272
|
-
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
|
37273
37548
|
"inheritedFrom": {
|
37274
37549
|
"name": "Popover",
|
37275
37550
|
"module": "components/popover/popover.component.js"
|
@@ -37760,6 +38035,18 @@
|
|
37760
38035
|
"name": "Popover",
|
37761
38036
|
"module": "src/components/popover/popover.component.ts"
|
37762
38037
|
}
|
38038
|
+
},
|
38039
|
+
{
|
38040
|
+
"name": "keep-connected-tooltip-closed",
|
38041
|
+
"type": {
|
38042
|
+
"text": "boolean"
|
38043
|
+
},
|
38044
|
+
"description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
|
38045
|
+
"fieldName": "keepConnectedTooltipClosed",
|
38046
|
+
"inheritedFrom": {
|
38047
|
+
"name": "Popover",
|
38048
|
+
"module": "src/components/popover/popover.component.ts"
|
38049
|
+
}
|
37763
38050
|
}
|
37764
38051
|
],
|
37765
38052
|
"superclass": {
|
@@ -37944,7 +38231,7 @@
|
|
37944
38231
|
"privacy": "private",
|
37945
38232
|
"return": {
|
37946
38233
|
"type": {
|
37947
|
-
"text": "void"
|
38234
|
+
"text": "Promise<void>"
|
37948
38235
|
}
|
37949
38236
|
},
|
37950
38237
|
"description": "Updates the tooltip id if it is empty."
|
@@ -38976,6 +39263,20 @@
|
|
38976
39263
|
"module": "components/popover/popover.component.js"
|
38977
39264
|
}
|
38978
39265
|
},
|
39266
|
+
{
|
39267
|
+
"kind": "field",
|
39268
|
+
"name": "keepConnectedTooltipClosed",
|
39269
|
+
"type": {
|
39270
|
+
"text": "boolean"
|
39271
|
+
},
|
39272
|
+
"description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
|
39273
|
+
"attribute": "keep-connected-tooltip-closed",
|
39274
|
+
"reflects": true,
|
39275
|
+
"inheritedFrom": {
|
39276
|
+
"name": "Popover",
|
39277
|
+
"module": "components/popover/popover.component.js"
|
39278
|
+
}
|
39279
|
+
},
|
38979
39280
|
{
|
38980
39281
|
"kind": "field",
|
38981
39282
|
"name": "arrowElement",
|
@@ -39003,10 +39304,9 @@
|
|
39003
39304
|
}
|
39004
39305
|
},
|
39005
39306
|
{
|
39006
|
-
"kind": "
|
39007
|
-
"name": "
|
39307
|
+
"kind": "field",
|
39308
|
+
"name": "storeConnectedTooltip",
|
39008
39309
|
"privacy": "private",
|
39009
|
-
"description": "Sets up the trigger event listeners based on the trigger type.",
|
39010
39310
|
"inheritedFrom": {
|
39011
39311
|
"name": "Popover",
|
39012
39312
|
"module": "components/popover/popover.component.js"
|
@@ -39014,9 +39314,47 @@
|
|
39014
39314
|
},
|
39015
39315
|
{
|
39016
39316
|
"kind": "method",
|
39017
|
-
"name": "
|
39317
|
+
"name": "setupTriggerRelatedElement",
|
39318
|
+
"privacy": "private",
|
39319
|
+
"inheritedFrom": {
|
39320
|
+
"name": "Popover",
|
39321
|
+
"module": "components/popover/popover.component.js"
|
39322
|
+
}
|
39323
|
+
},
|
39324
|
+
{
|
39325
|
+
"kind": "field",
|
39326
|
+
"name": "cleanupTrigger",
|
39327
|
+
"privacy": "private",
|
39328
|
+
"inheritedFrom": {
|
39329
|
+
"name": "Popover",
|
39330
|
+
"module": "components/popover/popover.component.js"
|
39331
|
+
}
|
39332
|
+
},
|
39333
|
+
{
|
39334
|
+
"kind": "field",
|
39335
|
+
"name": "setupTriggerListeners",
|
39336
|
+
"privacy": "private",
|
39337
|
+
"description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.",
|
39338
|
+
"inheritedFrom": {
|
39339
|
+
"name": "Popover",
|
39340
|
+
"module": "components/popover/popover.component.js"
|
39341
|
+
}
|
39342
|
+
},
|
39343
|
+
{
|
39344
|
+
"kind": "field",
|
39345
|
+
"name": "removeTriggerListeners",
|
39346
|
+
"privacy": "private",
|
39347
|
+
"description": "Removes the trigger related event listeners.",
|
39348
|
+
"inheritedFrom": {
|
39349
|
+
"name": "Popover",
|
39350
|
+
"module": "components/popover/popover.component.js"
|
39351
|
+
}
|
39352
|
+
},
|
39353
|
+
{
|
39354
|
+
"kind": "field",
|
39355
|
+
"name": "removeAllListeners",
|
39018
39356
|
"privacy": "private",
|
39019
|
-
"description": "Removes
|
39357
|
+
"description": "Removes all event listeners related to the popover.",
|
39020
39358
|
"inheritedFrom": {
|
39021
39359
|
"name": "Popover",
|
39022
39360
|
"module": "components/popover/popover.component.js"
|
@@ -39148,7 +39486,7 @@
|
|
39148
39486
|
},
|
39149
39487
|
{
|
39150
39488
|
"kind": "field",
|
39151
|
-
"name": "
|
39489
|
+
"name": "show",
|
39152
39490
|
"privacy": "public",
|
39153
39491
|
"description": "Shows the popover.",
|
39154
39492
|
"inheritedFrom": {
|
@@ -39158,7 +39496,7 @@
|
|
39158
39496
|
},
|
39159
39497
|
{
|
39160
39498
|
"kind": "field",
|
39161
|
-
"name": "
|
39499
|
+
"name": "hide",
|
39162
39500
|
"privacy": "public",
|
39163
39501
|
"description": "Hides the popover.",
|
39164
39502
|
"inheritedFrom": {
|
@@ -39177,7 +39515,7 @@
|
|
39177
39515
|
}
|
39178
39516
|
},
|
39179
39517
|
{
|
39180
|
-
"kind": "
|
39518
|
+
"kind": "field",
|
39181
39519
|
"name": "positionPopover",
|
39182
39520
|
"privacy": "private",
|
39183
39521
|
"description": "Positions the popover based on the trigger element.\nIt also handles the flip, size and arrow placement.\nIt uses the floating-ui/dom library to calculate the position.",
|
@@ -39187,24 +39525,16 @@
|
|
39187
39525
|
}
|
39188
39526
|
},
|
39189
39527
|
{
|
39190
|
-
"kind": "
|
39528
|
+
"kind": "field",
|
39191
39529
|
"name": "findClosestPopover",
|
39192
39530
|
"privacy": "protected",
|
39193
|
-
"
|
39194
|
-
"type": {
|
39195
|
-
"text": "Popover | null"
|
39196
|
-
}
|
39197
|
-
},
|
39531
|
+
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
|
39198
39532
|
"parameters": [
|
39199
39533
|
{
|
39200
|
-
"
|
39201
|
-
"
|
39202
|
-
"text": "Element"
|
39203
|
-
},
|
39204
|
-
"description": "The element to start searching from."
|
39534
|
+
"description": "The element to start searching from.",
|
39535
|
+
"name": "element"
|
39205
39536
|
}
|
39206
39537
|
],
|
39207
|
-
"description": "Finds the closest popover to the passed element in the DOM tree.\n\nUseful when need to find the parent popover in a nested popover scenario.",
|
39208
39538
|
"inheritedFrom": {
|
39209
39539
|
"name": "Popover",
|
39210
39540
|
"module": "components/popover/popover.component.js"
|
@@ -39696,6 +40026,18 @@
|
|
39696
40026
|
"name": "Popover",
|
39697
40027
|
"module": "src/components/popover/popover.component.ts"
|
39698
40028
|
}
|
40029
|
+
},
|
40030
|
+
{
|
40031
|
+
"name": "keep-connected-tooltip-closed",
|
40032
|
+
"type": {
|
40033
|
+
"text": "boolean"
|
40034
|
+
},
|
40035
|
+
"description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
|
40036
|
+
"fieldName": "keepConnectedTooltipClosed",
|
40037
|
+
"inheritedFrom": {
|
40038
|
+
"name": "Popover",
|
40039
|
+
"module": "src/components/popover/popover.component.ts"
|
40040
|
+
}
|
39699
40041
|
}
|
39700
40042
|
],
|
39701
40043
|
"superclass": {
|