@momentum-design/components 0.103.3 → 0.104.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/dist/custom-elements.json +1757 -1757
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/package.json +1 -1
@@ -16284,6 +16284,161 @@
|
|
16284
16284
|
}
|
16285
16285
|
]
|
16286
16286
|
},
|
16287
|
+
{
|
16288
|
+
"kind": "javascript-module",
|
16289
|
+
"path": "components/list/list.component.js",
|
16290
|
+
"declarations": [
|
16291
|
+
{
|
16292
|
+
"kind": "class",
|
16293
|
+
"description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
|
16294
|
+
"name": "List",
|
16295
|
+
"cssParts": [
|
16296
|
+
{
|
16297
|
+
"description": "The container slot around the list items",
|
16298
|
+
"name": "container"
|
16299
|
+
}
|
16300
|
+
],
|
16301
|
+
"slots": [
|
16302
|
+
{
|
16303
|
+
"description": "This is a default/unnamed slot, where listitems can be placed.",
|
16304
|
+
"name": "default"
|
16305
|
+
},
|
16306
|
+
{
|
16307
|
+
"description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
|
16308
|
+
"name": "list-header"
|
16309
|
+
}
|
16310
|
+
],
|
16311
|
+
"members": [
|
16312
|
+
{
|
16313
|
+
"kind": "method",
|
16314
|
+
"name": "handleKeyDown",
|
16315
|
+
"privacy": "private",
|
16316
|
+
"return": {
|
16317
|
+
"type": {
|
16318
|
+
"text": "void"
|
16319
|
+
}
|
16320
|
+
},
|
16321
|
+
"parameters": [
|
16322
|
+
{
|
16323
|
+
"name": "event",
|
16324
|
+
"type": {
|
16325
|
+
"text": "KeyboardEvent"
|
16326
|
+
},
|
16327
|
+
"description": "The keyboard event."
|
16328
|
+
}
|
16329
|
+
],
|
16330
|
+
"description": "Handles the keydown event on the list element.\nIf the key is 'ArrowUp' or 'ArrowDown', it focuses to the previous or next list item\nand sets the active tabindex of the list item.\nPrevents the default event behavior."
|
16331
|
+
},
|
16332
|
+
{
|
16333
|
+
"kind": "method",
|
16334
|
+
"name": "getCurrentIndex",
|
16335
|
+
"privacy": "private",
|
16336
|
+
"return": {
|
16337
|
+
"type": {
|
16338
|
+
"text": ""
|
16339
|
+
}
|
16340
|
+
},
|
16341
|
+
"parameters": [
|
16342
|
+
{
|
16343
|
+
"name": "target",
|
16344
|
+
"type": {
|
16345
|
+
"text": "EventTarget | null"
|
16346
|
+
},
|
16347
|
+
"description": "The target element to find the index of."
|
16348
|
+
}
|
16349
|
+
],
|
16350
|
+
"description": "Returns the index of the given target in the listItems array.\nIf the target is not a list item, but a child element of a list item,\nit returns the index of the parent list item."
|
16351
|
+
},
|
16352
|
+
{
|
16353
|
+
"kind": "method",
|
16354
|
+
"name": "getNewIndexBasedOnKey",
|
16355
|
+
"privacy": "private",
|
16356
|
+
"return": {
|
16357
|
+
"type": {
|
16358
|
+
"text": ""
|
16359
|
+
}
|
16360
|
+
},
|
16361
|
+
"parameters": [
|
16362
|
+
{
|
16363
|
+
"name": "key",
|
16364
|
+
"type": {
|
16365
|
+
"text": "string"
|
16366
|
+
},
|
16367
|
+
"description": "The key that was pressed."
|
16368
|
+
},
|
16369
|
+
{
|
16370
|
+
"name": "currentIndex",
|
16371
|
+
"type": {
|
16372
|
+
"text": "number"
|
16373
|
+
},
|
16374
|
+
"description": "The current index of the focused list item."
|
16375
|
+
},
|
16376
|
+
{
|
16377
|
+
"name": "wrappedDivsCount",
|
16378
|
+
"type": {
|
16379
|
+
"text": "number"
|
16380
|
+
},
|
16381
|
+
"description": "The total number of list items."
|
16382
|
+
}
|
16383
|
+
],
|
16384
|
+
"description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list."
|
16385
|
+
},
|
16386
|
+
{
|
16387
|
+
"kind": "method",
|
16388
|
+
"name": "handleMouseClick",
|
16389
|
+
"privacy": "protected",
|
16390
|
+
"return": {
|
16391
|
+
"type": {
|
16392
|
+
"text": "void"
|
16393
|
+
}
|
16394
|
+
},
|
16395
|
+
"parameters": [
|
16396
|
+
{
|
16397
|
+
"name": "event",
|
16398
|
+
"type": {
|
16399
|
+
"text": "MouseEvent"
|
16400
|
+
},
|
16401
|
+
"description": "The mouse event."
|
16402
|
+
}
|
16403
|
+
],
|
16404
|
+
"description": "Handles the mouse click event on the list element.\nFinds the index of the target element in the list items array and calls\n`resetTabIndexAndSetActiveTabIndex` with that index."
|
16405
|
+
},
|
16406
|
+
{
|
16407
|
+
"kind": "method",
|
16408
|
+
"name": "resetTabIndexAndSetActiveTabIndex",
|
16409
|
+
"privacy": "private",
|
16410
|
+
"parameters": [
|
16411
|
+
{
|
16412
|
+
"name": "newIndex",
|
16413
|
+
"type": {
|
16414
|
+
"text": "number"
|
16415
|
+
},
|
16416
|
+
"description": "The index of the new active element in the list."
|
16417
|
+
}
|
16418
|
+
],
|
16419
|
+
"description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
|
16420
|
+
}
|
16421
|
+
],
|
16422
|
+
"superclass": {
|
16423
|
+
"name": "Component",
|
16424
|
+
"module": "/src/models"
|
16425
|
+
},
|
16426
|
+
"tagName": "mdc-list",
|
16427
|
+
"jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
|
16428
|
+
"customElement": true
|
16429
|
+
}
|
16430
|
+
],
|
16431
|
+
"exports": [
|
16432
|
+
{
|
16433
|
+
"kind": "js",
|
16434
|
+
"name": "default",
|
16435
|
+
"declaration": {
|
16436
|
+
"name": "List",
|
16437
|
+
"module": "components/list/list.component.js"
|
16438
|
+
}
|
16439
|
+
}
|
16440
|
+
]
|
16441
|
+
},
|
16287
16442
|
{
|
16288
16443
|
"kind": "javascript-module",
|
16289
16444
|
"path": "components/linksimple/linksimple.component.js",
|
@@ -16575,211 +16730,56 @@
|
|
16575
16730
|
},
|
16576
16731
|
{
|
16577
16732
|
"kind": "javascript-module",
|
16578
|
-
"path": "components/
|
16733
|
+
"path": "components/listheader/listheader.component.js",
|
16579
16734
|
"declarations": [
|
16580
16735
|
{
|
16581
16736
|
"kind": "class",
|
16582
|
-
"description": "
|
16583
|
-
"name": "
|
16584
|
-
"
|
16737
|
+
"description": "Listheader component is used to display a header in a list.\nIt can include icons before and after the header text, and allows for additional content via slots.",
|
16738
|
+
"name": "Listheader",
|
16739
|
+
"cssProperties": [
|
16585
16740
|
{
|
16586
|
-
"description": "
|
16587
|
-
"name": "
|
16741
|
+
"description": "height of the header",
|
16742
|
+
"name": "--mdc-listheader-height"
|
16743
|
+
},
|
16744
|
+
{
|
16745
|
+
"description": "padding around the header content",
|
16746
|
+
"name": "--mdc-listheader-padding"
|
16747
|
+
},
|
16748
|
+
{
|
16749
|
+
"description": "gap between content",
|
16750
|
+
"name": "--mdc-listheader-gap"
|
16588
16751
|
}
|
16589
16752
|
],
|
16590
16753
|
"slots": [
|
16591
16754
|
{
|
16592
|
-
"description": "
|
16755
|
+
"description": "to pass in actionable content like buttons or links",
|
16593
16756
|
"name": "default"
|
16594
|
-
},
|
16595
|
-
{
|
16596
|
-
"description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
|
16597
|
-
"name": "list-header"
|
16598
16757
|
}
|
16599
16758
|
],
|
16600
16759
|
"members": [
|
16601
16760
|
{
|
16602
|
-
"kind": "
|
16603
|
-
"name": "
|
16604
|
-
"
|
16605
|
-
|
16606
|
-
"type": {
|
16607
|
-
"text": "void"
|
16608
|
-
}
|
16761
|
+
"kind": "field",
|
16762
|
+
"name": "prefixIcon",
|
16763
|
+
"type": {
|
16764
|
+
"text": "IconNames | undefined"
|
16609
16765
|
},
|
16610
|
-
"
|
16611
|
-
|
16612
|
-
"name": "event",
|
16613
|
-
"type": {
|
16614
|
-
"text": "KeyboardEvent"
|
16615
|
-
},
|
16616
|
-
"description": "The keyboard event."
|
16617
|
-
}
|
16618
|
-
],
|
16619
|
-
"description": "Handles the keydown event on the list element.\nIf the key is 'ArrowUp' or 'ArrowDown', it focuses to the previous or next list item\nand sets the active tabindex of the list item.\nPrevents the default event behavior."
|
16766
|
+
"description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
|
16767
|
+
"attribute": "prefix-icon"
|
16620
16768
|
},
|
16621
16769
|
{
|
16622
|
-
"kind": "
|
16623
|
-
"name": "
|
16624
|
-
"
|
16625
|
-
|
16626
|
-
"type": {
|
16627
|
-
"text": ""
|
16628
|
-
}
|
16770
|
+
"kind": "field",
|
16771
|
+
"name": "postfixIcon",
|
16772
|
+
"type": {
|
16773
|
+
"text": "IconNames | undefined"
|
16629
16774
|
},
|
16630
|
-
"
|
16631
|
-
|
16632
|
-
"name": "target",
|
16633
|
-
"type": {
|
16634
|
-
"text": "EventTarget | null"
|
16635
|
-
},
|
16636
|
-
"description": "The target element to find the index of."
|
16637
|
-
}
|
16638
|
-
],
|
16639
|
-
"description": "Returns the index of the given target in the listItems array.\nIf the target is not a list item, but a child element of a list item,\nit returns the index of the parent list item."
|
16775
|
+
"description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
|
16776
|
+
"attribute": "postfix-icon"
|
16640
16777
|
},
|
16641
16778
|
{
|
16642
|
-
"kind": "
|
16643
|
-
"name": "
|
16644
|
-
"
|
16645
|
-
|
16646
|
-
"type": {
|
16647
|
-
"text": ""
|
16648
|
-
}
|
16649
|
-
},
|
16650
|
-
"parameters": [
|
16651
|
-
{
|
16652
|
-
"name": "key",
|
16653
|
-
"type": {
|
16654
|
-
"text": "string"
|
16655
|
-
},
|
16656
|
-
"description": "The key that was pressed."
|
16657
|
-
},
|
16658
|
-
{
|
16659
|
-
"name": "currentIndex",
|
16660
|
-
"type": {
|
16661
|
-
"text": "number"
|
16662
|
-
},
|
16663
|
-
"description": "The current index of the focused list item."
|
16664
|
-
},
|
16665
|
-
{
|
16666
|
-
"name": "wrappedDivsCount",
|
16667
|
-
"type": {
|
16668
|
-
"text": "number"
|
16669
|
-
},
|
16670
|
-
"description": "The total number of list items."
|
16671
|
-
}
|
16672
|
-
],
|
16673
|
-
"description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list."
|
16674
|
-
},
|
16675
|
-
{
|
16676
|
-
"kind": "method",
|
16677
|
-
"name": "handleMouseClick",
|
16678
|
-
"privacy": "protected",
|
16679
|
-
"return": {
|
16680
|
-
"type": {
|
16681
|
-
"text": "void"
|
16682
|
-
}
|
16683
|
-
},
|
16684
|
-
"parameters": [
|
16685
|
-
{
|
16686
|
-
"name": "event",
|
16687
|
-
"type": {
|
16688
|
-
"text": "MouseEvent"
|
16689
|
-
},
|
16690
|
-
"description": "The mouse event."
|
16691
|
-
}
|
16692
|
-
],
|
16693
|
-
"description": "Handles the mouse click event on the list element.\nFinds the index of the target element in the list items array and calls\n`resetTabIndexAndSetActiveTabIndex` with that index."
|
16694
|
-
},
|
16695
|
-
{
|
16696
|
-
"kind": "method",
|
16697
|
-
"name": "resetTabIndexAndSetActiveTabIndex",
|
16698
|
-
"privacy": "private",
|
16699
|
-
"parameters": [
|
16700
|
-
{
|
16701
|
-
"name": "newIndex",
|
16702
|
-
"type": {
|
16703
|
-
"text": "number"
|
16704
|
-
},
|
16705
|
-
"description": "The index of the new active element in the list."
|
16706
|
-
}
|
16707
|
-
],
|
16708
|
-
"description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
|
16709
|
-
}
|
16710
|
-
],
|
16711
|
-
"superclass": {
|
16712
|
-
"name": "Component",
|
16713
|
-
"module": "/src/models"
|
16714
|
-
},
|
16715
|
-
"tagName": "mdc-list",
|
16716
|
-
"jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
|
16717
|
-
"customElement": true
|
16718
|
-
}
|
16719
|
-
],
|
16720
|
-
"exports": [
|
16721
|
-
{
|
16722
|
-
"kind": "js",
|
16723
|
-
"name": "default",
|
16724
|
-
"declaration": {
|
16725
|
-
"name": "List",
|
16726
|
-
"module": "components/list/list.component.js"
|
16727
|
-
}
|
16728
|
-
}
|
16729
|
-
]
|
16730
|
-
},
|
16731
|
-
{
|
16732
|
-
"kind": "javascript-module",
|
16733
|
-
"path": "components/listheader/listheader.component.js",
|
16734
|
-
"declarations": [
|
16735
|
-
{
|
16736
|
-
"kind": "class",
|
16737
|
-
"description": "Listheader component is used to display a header in a list.\nIt can include icons before and after the header text, and allows for additional content via slots.",
|
16738
|
-
"name": "Listheader",
|
16739
|
-
"cssProperties": [
|
16740
|
-
{
|
16741
|
-
"description": "height of the header",
|
16742
|
-
"name": "--mdc-listheader-height"
|
16743
|
-
},
|
16744
|
-
{
|
16745
|
-
"description": "padding around the header content",
|
16746
|
-
"name": "--mdc-listheader-padding"
|
16747
|
-
},
|
16748
|
-
{
|
16749
|
-
"description": "gap between content",
|
16750
|
-
"name": "--mdc-listheader-gap"
|
16751
|
-
}
|
16752
|
-
],
|
16753
|
-
"slots": [
|
16754
|
-
{
|
16755
|
-
"description": "to pass in actionable content like buttons or links",
|
16756
|
-
"name": "default"
|
16757
|
-
}
|
16758
|
-
],
|
16759
|
-
"members": [
|
16760
|
-
{
|
16761
|
-
"kind": "field",
|
16762
|
-
"name": "prefixIcon",
|
16763
|
-
"type": {
|
16764
|
-
"text": "IconNames | undefined"
|
16765
|
-
},
|
16766
|
-
"description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
|
16767
|
-
"attribute": "prefix-icon"
|
16768
|
-
},
|
16769
|
-
{
|
16770
|
-
"kind": "field",
|
16771
|
-
"name": "postfixIcon",
|
16772
|
-
"type": {
|
16773
|
-
"text": "IconNames | undefined"
|
16774
|
-
},
|
16775
|
-
"description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
|
16776
|
-
"attribute": "postfix-icon"
|
16777
|
-
},
|
16778
|
-
{
|
16779
|
-
"kind": "field",
|
16780
|
-
"name": "headerText",
|
16781
|
-
"type": {
|
16782
|
-
"text": "string | undefined"
|
16779
|
+
"kind": "field",
|
16780
|
+
"name": "headerText",
|
16781
|
+
"type": {
|
16782
|
+
"text": "string | undefined"
|
16783
16783
|
},
|
16784
16784
|
"description": "Text to be rendered in the header",
|
16785
16785
|
"attribute": "header-text"
|
@@ -39497,186 +39497,127 @@
|
|
39497
39497
|
},
|
39498
39498
|
{
|
39499
39499
|
"kind": "javascript-module",
|
39500
|
-
"path": "components/
|
39500
|
+
"path": "components/typewriter/typewriter.component.js",
|
39501
39501
|
"declarations": [
|
39502
39502
|
{
|
39503
39503
|
"kind": "class",
|
39504
|
-
"description": "
|
39505
|
-
"name": "
|
39506
|
-
"
|
39507
|
-
{
|
39508
|
-
"description": "The maximum width of the tooltip.",
|
39509
|
-
"name": "--mdc-tooltip-max-width"
|
39510
|
-
},
|
39511
|
-
{
|
39512
|
-
"description": "The padding of the tooltip.",
|
39513
|
-
"name": "--mdc-tooltip-padding"
|
39514
|
-
},
|
39515
|
-
{
|
39516
|
-
"description": "The text color of the tooltip.",
|
39517
|
-
"name": "--mdc-tooltip-text-color"
|
39518
|
-
},
|
39519
|
-
{
|
39520
|
-
"description": "The text color of the tooltip when the color is contrast.",
|
39521
|
-
"name": "--mdc-tooltip-text-color-contrast"
|
39522
|
-
},
|
39523
|
-
{
|
39524
|
-
"description": "radius of the arrow border",
|
39525
|
-
"name": "--mdc-popover-arrow-border-radius",
|
39526
|
-
"inheritedFrom": {
|
39527
|
-
"name": "Popover",
|
39528
|
-
"module": "src/components/popover/popover.component.ts"
|
39529
|
-
}
|
39530
|
-
},
|
39531
|
-
{
|
39532
|
-
"description": "border of the arrow",
|
39533
|
-
"name": "--mdc-popover-arrow-border",
|
39534
|
-
"inheritedFrom": {
|
39535
|
-
"name": "Popover",
|
39536
|
-
"module": "src/components/popover/popover.component.ts"
|
39537
|
-
}
|
39538
|
-
},
|
39539
|
-
{
|
39540
|
-
"description": "primary background color of the popover",
|
39541
|
-
"name": "--mdc-popover-primary-background-color",
|
39542
|
-
"inheritedFrom": {
|
39543
|
-
"name": "Popover",
|
39544
|
-
"module": "src/components/popover/popover.component.ts"
|
39545
|
-
}
|
39546
|
-
},
|
39547
|
-
{
|
39548
|
-
"description": "border color of the popover",
|
39549
|
-
"name": "--mdc-popover-border-color",
|
39550
|
-
"inheritedFrom": {
|
39551
|
-
"name": "Popover",
|
39552
|
-
"module": "src/components/popover/popover.component.ts"
|
39553
|
-
}
|
39554
|
-
},
|
39555
|
-
{
|
39556
|
-
"description": "inverted background color of the popover",
|
39557
|
-
"name": "--mdc-popover-inverted-background-color",
|
39558
|
-
"inheritedFrom": {
|
39559
|
-
"name": "Popover",
|
39560
|
-
"module": "src/components/popover/popover.component.ts"
|
39561
|
-
}
|
39562
|
-
},
|
39563
|
-
{
|
39564
|
-
"description": "inverted border color of the popover",
|
39565
|
-
"name": "--mdc-popover-inverted-border-color",
|
39566
|
-
"inheritedFrom": {
|
39567
|
-
"name": "Popover",
|
39568
|
-
"module": "src/components/popover/popover.component.ts"
|
39569
|
-
}
|
39570
|
-
},
|
39571
|
-
{
|
39572
|
-
"description": "inverted text color of the popover",
|
39573
|
-
"name": "--mdc-popover-inverted-text-color",
|
39574
|
-
"inheritedFrom": {
|
39575
|
-
"name": "Popover",
|
39576
|
-
"module": "src/components/popover/popover.component.ts"
|
39577
|
-
}
|
39578
|
-
},
|
39504
|
+
"description": "Typewriter component that creates a typewriter effect on text content.\nIt uses the Text component internally, adding a progressive typing effect.\n\nThe `type` attribute allows changing the text style (passed to the internal Text component).\nThe `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).\nThe default tag name is `p`.\n\nThe `speed` attribute controls typing speed in milliseconds per character:\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds\n\nAdvanced features:\n- Dynamic speed adjustment during typing\n- Chunked text addition via addTextChunk() method\n- Instant text addition via addInstantTextChunk() method or instant parameter\n- Mixed instant and animated chunks in queue\n- Continues typing in background tabs\n- Performance optimized for large text\n- maxQueueSize to limit memory usage from excessive queuing\n- event handling for typing completion and content changes\n\nThe component includes accessibility features:\n- Screen readers announce the complete text, not character by character\n- Uses aria-live=\"polite\" for dynamic content updates\n- Sets aria-busy during typing animation",
|
39505
|
+
"name": "Typewriter",
|
39506
|
+
"cssParts": [
|
39579
39507
|
{
|
39580
|
-
"description": "
|
39581
|
-
"name": "
|
39582
|
-
"inheritedFrom": {
|
39583
|
-
"name": "Popover",
|
39584
|
-
"module": "src/components/popover/popover.component.ts"
|
39585
|
-
}
|
39508
|
+
"description": "Container for the text element",
|
39509
|
+
"name": "container"
|
39586
39510
|
},
|
39587
39511
|
{
|
39588
|
-
"description": "
|
39589
|
-
"name": "
|
39590
|
-
|
39591
|
-
|
39592
|
-
|
39593
|
-
}
|
39594
|
-
},
|
39512
|
+
"description": "The text element (forwarded to mdc-text)",
|
39513
|
+
"name": "text"
|
39514
|
+
}
|
39515
|
+
],
|
39516
|
+
"slots": [
|
39595
39517
|
{
|
39596
|
-
"description": "
|
39597
|
-
"name": "
|
39598
|
-
"inheritedFrom": {
|
39599
|
-
"name": "Popover",
|
39600
|
-
"module": "src/components/popover/popover.component.ts"
|
39601
|
-
}
|
39518
|
+
"description": "Default slot for text content",
|
39519
|
+
"name": ""
|
39602
39520
|
}
|
39603
39521
|
],
|
39604
39522
|
"members": [
|
39605
39523
|
{
|
39606
39524
|
"kind": "field",
|
39607
|
-
"name": "
|
39525
|
+
"name": "type",
|
39608
39526
|
"type": {
|
39609
|
-
"text": "
|
39527
|
+
"text": "TextType"
|
39610
39528
|
},
|
39611
|
-
"
|
39612
|
-
"
|
39613
|
-
"
|
39529
|
+
"privacy": "public",
|
39530
|
+
"description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
|
39531
|
+
"default": "body-large-regular",
|
39532
|
+
"attribute": "type",
|
39614
39533
|
"reflects": true
|
39615
39534
|
},
|
39616
39535
|
{
|
39617
39536
|
"kind": "field",
|
39618
|
-
"name": "
|
39537
|
+
"name": "tagname",
|
39619
39538
|
"type": {
|
39620
|
-
"text": "
|
39539
|
+
"text": "TagName | undefined"
|
39621
39540
|
},
|
39622
|
-
"privacy": "
|
39623
|
-
|
39624
|
-
|
39625
|
-
"
|
39626
|
-
"name": "getTooltipText",
|
39627
|
-
"privacy": "private",
|
39628
|
-
"return": {
|
39629
|
-
"type": {
|
39630
|
-
"text": ""
|
39631
|
-
}
|
39632
|
-
}
|
39541
|
+
"privacy": "public",
|
39542
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the internal text element.\n\nAcceptable values include all valid tag names from the Text component.",
|
39543
|
+
"attribute": "tagname",
|
39544
|
+
"reflects": true
|
39633
39545
|
},
|
39634
39546
|
{
|
39635
|
-
"kind": "
|
39636
|
-
"name": "
|
39547
|
+
"kind": "field",
|
39548
|
+
"name": "speed",
|
39549
|
+
"type": {
|
39550
|
+
"text": "TypewriterSpeed"
|
39551
|
+
},
|
39552
|
+
"privacy": "public",
|
39553
|
+
"description": "Speed of the typewriter effect in milliseconds per character.\nCan be a string preset or a numeric string in milliseconds.\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds (e.g., '100')",
|
39554
|
+
"default": "'normal' (60ms per character)",
|
39555
|
+
"attribute": "speed",
|
39556
|
+
"reflects": true
|
39557
|
+
},
|
39558
|
+
{
|
39559
|
+
"kind": "field",
|
39560
|
+
"name": "maxQueueSize",
|
39561
|
+
"type": {
|
39562
|
+
"text": "number"
|
39563
|
+
},
|
39564
|
+
"privacy": "public",
|
39565
|
+
"description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
|
39566
|
+
"default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
|
39567
|
+
"attribute": "max-queue-size",
|
39568
|
+
"reflects": true
|
39569
|
+
},
|
39570
|
+
{
|
39571
|
+
"kind": "method",
|
39572
|
+
"name": "createTimeout",
|
39637
39573
|
"privacy": "private",
|
39638
39574
|
"return": {
|
39639
39575
|
"type": {
|
39640
|
-
"text": "
|
39576
|
+
"text": "number"
|
39641
39577
|
}
|
39642
39578
|
},
|
39643
39579
|
"parameters": [
|
39644
39580
|
{
|
39645
|
-
"name": "
|
39581
|
+
"name": "callback",
|
39646
39582
|
"type": {
|
39647
|
-
"text": "
|
39648
|
-
}
|
39649
|
-
|
39583
|
+
"text": "() => void"
|
39584
|
+
}
|
39585
|
+
},
|
39586
|
+
{
|
39587
|
+
"name": "delay",
|
39588
|
+
"type": {
|
39589
|
+
"text": "number"
|
39590
|
+
}
|
39650
39591
|
}
|
39651
39592
|
],
|
39652
|
-
"description": "
|
39593
|
+
"description": "Helper to create tracked setTimeout that will be cleaned up on disconnect"
|
39653
39594
|
},
|
39654
39595
|
{
|
39655
39596
|
"kind": "method",
|
39656
|
-
"name": "
|
39597
|
+
"name": "clearAllTimeouts",
|
39657
39598
|
"privacy": "private",
|
39658
39599
|
"return": {
|
39659
39600
|
"type": {
|
39660
|
-
"text": "
|
39601
|
+
"text": "void"
|
39661
39602
|
}
|
39662
39603
|
},
|
39663
|
-
"description": "
|
39604
|
+
"description": "Clear all pending timeouts"
|
39664
39605
|
},
|
39665
39606
|
{
|
39666
39607
|
"kind": "method",
|
39667
|
-
"name": "
|
39668
|
-
"privacy": "
|
39608
|
+
"name": "clearQueue",
|
39609
|
+
"privacy": "public",
|
39669
39610
|
"return": {
|
39670
39611
|
"type": {
|
39671
39612
|
"text": "void"
|
39672
39613
|
}
|
39673
39614
|
},
|
39674
|
-
"description": "
|
39615
|
+
"description": "Clears the text chunk queue and stops processing\nUseful for resetting the component state"
|
39675
39616
|
},
|
39676
39617
|
{
|
39677
39618
|
"kind": "method",
|
39678
|
-
"name": "
|
39679
|
-
"privacy": "
|
39619
|
+
"name": "addTextChunk",
|
39620
|
+
"privacy": "public",
|
39680
39621
|
"return": {
|
39681
39622
|
"type": {
|
39682
39623
|
"text": "void"
|
@@ -39684,570 +39625,554 @@
|
|
39684
39625
|
},
|
39685
39626
|
"parameters": [
|
39686
39627
|
{
|
39687
|
-
"name": "
|
39628
|
+
"name": "text",
|
39688
39629
|
"type": {
|
39689
|
-
"text": "
|
39630
|
+
"text": "string"
|
39690
39631
|
},
|
39691
|
-
"description": "The
|
39632
|
+
"description": "The text to add"
|
39633
|
+
},
|
39634
|
+
{
|
39635
|
+
"name": "speed",
|
39636
|
+
"optional": true,
|
39637
|
+
"type": {
|
39638
|
+
"text": "TypewriterSpeed"
|
39639
|
+
},
|
39640
|
+
"description": "Optional speed override for this chunk"
|
39641
|
+
},
|
39642
|
+
{
|
39643
|
+
"name": "instant",
|
39644
|
+
"optional": true,
|
39645
|
+
"type": {
|
39646
|
+
"text": "boolean"
|
39647
|
+
},
|
39648
|
+
"description": "If true, text appears instantly without animation"
|
39692
39649
|
}
|
39693
39650
|
],
|
39694
|
-
"description": "
|
39695
|
-
},
|
39696
|
-
{
|
39697
|
-
"kind": "field",
|
39698
|
-
"name": "preventScroll",
|
39699
|
-
"type": {
|
39700
|
-
"text": "boolean"
|
39701
|
-
},
|
39702
|
-
"privacy": "protected",
|
39703
|
-
"description": "Prevent outside scrolling when element is shown.\n\nIMPLEMENT THIS IN YOUR COMPONENT.",
|
39704
|
-
"default": "false",
|
39705
|
-
"attribute": "prevent-scroll",
|
39706
|
-
"reflects": true,
|
39707
|
-
"inheritedFrom": {
|
39708
|
-
"name": "Popover",
|
39709
|
-
"module": "components/popover/popover.component.js"
|
39710
|
-
}
|
39711
|
-
},
|
39712
|
-
{
|
39713
|
-
"kind": "method",
|
39714
|
-
"name": "activatePreventScroll",
|
39715
|
-
"privacy": "protected",
|
39716
|
-
"inheritedFrom": {
|
39717
|
-
"name": "Popover",
|
39718
|
-
"module": "components/popover/popover.component.js"
|
39719
|
-
}
|
39651
|
+
"description": "Adds a chunk of text to be typed out, optionally with a different speed"
|
39720
39652
|
},
|
39721
39653
|
{
|
39722
39654
|
"kind": "method",
|
39723
|
-
"name": "
|
39724
|
-
"privacy": "
|
39725
|
-
"
|
39726
|
-
"
|
39727
|
-
|
39728
|
-
|
39729
|
-
},
|
39730
|
-
{
|
39731
|
-
"kind": "field",
|
39732
|
-
"name": "focusTrap",
|
39733
|
-
"type": {
|
39734
|
-
"text": "boolean"
|
39735
|
-
},
|
39736
|
-
"privacy": "protected",
|
39737
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.\n\nIMPLEMENT THIS IN YOUR COMPONENT.",
|
39738
|
-
"default": "false",
|
39739
|
-
"attribute": "focus-trap",
|
39740
|
-
"reflects": true,
|
39741
|
-
"inheritedFrom": {
|
39742
|
-
"name": "Popover",
|
39743
|
-
"module": "components/popover/popover.component.js"
|
39744
|
-
}
|
39745
|
-
},
|
39746
|
-
{
|
39747
|
-
"kind": "field",
|
39748
|
-
"name": "shouldFocusTrapWrap",
|
39749
|
-
"type": {
|
39750
|
-
"text": "boolean"
|
39655
|
+
"name": "addInstantTextChunk",
|
39656
|
+
"privacy": "public",
|
39657
|
+
"return": {
|
39658
|
+
"type": {
|
39659
|
+
"text": "void"
|
39660
|
+
}
|
39751
39661
|
},
|
39752
|
-
"default": "true",
|
39753
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
39754
|
-
"attribute": "should-focus-trap-wrap",
|
39755
|
-
"reflects": true,
|
39756
|
-
"inheritedFrom": {
|
39757
|
-
"name": "Popover",
|
39758
|
-
"module": "components/popover/popover.component.js"
|
39759
|
-
}
|
39760
|
-
},
|
39761
|
-
{
|
39762
|
-
"kind": "method",
|
39763
|
-
"name": "setIsFocusTrapActivated",
|
39764
|
-
"privacy": "private",
|
39765
39662
|
"parameters": [
|
39766
39663
|
{
|
39767
|
-
"name": "
|
39664
|
+
"name": "text",
|
39768
39665
|
"type": {
|
39769
|
-
"text": "
|
39770
|
-
}
|
39666
|
+
"text": "string"
|
39667
|
+
},
|
39668
|
+
"description": "The text to add instantly"
|
39771
39669
|
}
|
39772
39670
|
],
|
39773
|
-
"
|
39774
|
-
"name": "Popover",
|
39775
|
-
"module": "components/popover/popover.component.js"
|
39776
|
-
}
|
39777
|
-
},
|
39778
|
-
{
|
39779
|
-
"kind": "method",
|
39780
|
-
"name": "activateFocusTrap",
|
39781
|
-
"privacy": "public",
|
39782
|
-
"description": "Activate the focus trap",
|
39783
|
-
"inheritedFrom": {
|
39784
|
-
"name": "Popover",
|
39785
|
-
"module": "components/popover/popover.component.js"
|
39786
|
-
}
|
39671
|
+
"description": "Adds a chunk of text instantly without typing animation"
|
39787
39672
|
},
|
39788
39673
|
{
|
39789
39674
|
"kind": "method",
|
39790
|
-
"name": "
|
39791
|
-
"privacy": "
|
39792
|
-
"
|
39793
|
-
|
39794
|
-
|
39795
|
-
|
39796
|
-
}
|
39675
|
+
"name": "processChunkQueue",
|
39676
|
+
"privacy": "private",
|
39677
|
+
"return": {
|
39678
|
+
"type": {
|
39679
|
+
"text": "void"
|
39680
|
+
}
|
39681
|
+
},
|
39682
|
+
"description": "Processes all chunks in the queue"
|
39797
39683
|
},
|
39798
39684
|
{
|
39799
39685
|
"kind": "method",
|
39800
|
-
"name": "
|
39686
|
+
"name": "processNextChunk",
|
39801
39687
|
"privacy": "private",
|
39802
|
-
"parameters": [
|
39803
|
-
{
|
39804
|
-
"name": "element",
|
39805
|
-
"type": {
|
39806
|
-
"text": "HTMLElement"
|
39807
|
-
},
|
39808
|
-
"description": "The element to check."
|
39809
|
-
}
|
39810
|
-
],
|
39811
|
-
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
39812
39688
|
"return": {
|
39813
39689
|
"type": {
|
39814
|
-
"text": ""
|
39690
|
+
"text": "void"
|
39815
39691
|
}
|
39816
39692
|
},
|
39817
|
-
"
|
39818
|
-
"name": "Popover",
|
39819
|
-
"module": "components/popover/popover.component.js"
|
39820
|
-
}
|
39693
|
+
"description": "Processes the next chunk in the queue"
|
39821
39694
|
},
|
39822
39695
|
{
|
39823
39696
|
"kind": "method",
|
39824
|
-
"name": "
|
39697
|
+
"name": "getTypingDelayMs",
|
39825
39698
|
"privacy": "private",
|
39826
|
-
"parameters": [
|
39827
|
-
{
|
39828
|
-
"name": "element",
|
39829
|
-
"type": {
|
39830
|
-
"text": "HTMLElement"
|
39831
|
-
},
|
39832
|
-
"description": "The element to check."
|
39833
|
-
}
|
39834
|
-
],
|
39835
|
-
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
39836
39699
|
"return": {
|
39837
39700
|
"type": {
|
39838
|
-
"text": ""
|
39701
|
+
"text": "number"
|
39839
39702
|
}
|
39840
39703
|
},
|
39841
|
-
"
|
39842
|
-
"name": "Popover",
|
39843
|
-
"module": "components/popover/popover.component.js"
|
39844
|
-
}
|
39704
|
+
"description": "Gets the typing delay in milliseconds per character"
|
39845
39705
|
},
|
39846
39706
|
{
|
39847
39707
|
"kind": "method",
|
39848
|
-
"name": "
|
39708
|
+
"name": "captureAndProcessContent",
|
39849
39709
|
"privacy": "private",
|
39850
|
-
"parameters": [
|
39851
|
-
{
|
39852
|
-
"name": "element",
|
39853
|
-
"type": {
|
39854
|
-
"text": "HTMLElement"
|
39855
|
-
},
|
39856
|
-
"description": "The element to check."
|
39857
|
-
}
|
39858
|
-
],
|
39859
|
-
"description": "Determines if the element is not visible in the DOM.",
|
39860
39710
|
"return": {
|
39861
39711
|
"type": {
|
39862
|
-
"text": ""
|
39712
|
+
"text": "void"
|
39863
39713
|
}
|
39864
39714
|
},
|
39865
|
-
"
|
39866
|
-
"name": "Popover",
|
39867
|
-
"module": "components/popover/popover.component.js"
|
39868
|
-
}
|
39715
|
+
"description": "Captures slot content and starts typewriter animation"
|
39869
39716
|
},
|
39870
39717
|
{
|
39871
39718
|
"kind": "method",
|
39872
|
-
"name": "
|
39719
|
+
"name": "startTypingAnimation",
|
39873
39720
|
"privacy": "private",
|
39721
|
+
"return": {
|
39722
|
+
"type": {
|
39723
|
+
"text": "void"
|
39724
|
+
}
|
39725
|
+
},
|
39874
39726
|
"parameters": [
|
39875
39727
|
{
|
39876
|
-
"name": "
|
39728
|
+
"name": "onComplete",
|
39729
|
+
"optional": true,
|
39877
39730
|
"type": {
|
39878
|
-
"text": "
|
39879
|
-
}
|
39880
|
-
"description": "The element to check."
|
39731
|
+
"text": "() => void"
|
39732
|
+
}
|
39881
39733
|
}
|
39882
39734
|
],
|
39883
|
-
"description": "
|
39884
|
-
"return": {
|
39885
|
-
"type": {
|
39886
|
-
"text": ""
|
39887
|
-
}
|
39888
|
-
},
|
39889
|
-
"inheritedFrom": {
|
39890
|
-
"name": "Popover",
|
39891
|
-
"module": "components/popover/popover.component.js"
|
39892
|
-
}
|
39735
|
+
"description": "Starts the typewriter animation"
|
39893
39736
|
},
|
39894
39737
|
{
|
39895
39738
|
"kind": "method",
|
39896
|
-
"name": "
|
39739
|
+
"name": "clearTypingAnimation",
|
39897
39740
|
"privacy": "private",
|
39898
|
-
"parameters": [
|
39899
|
-
{
|
39900
|
-
"name": "element",
|
39901
|
-
"type": {
|
39902
|
-
"text": "HTMLElement"
|
39903
|
-
},
|
39904
|
-
"description": "The element to check."
|
39905
|
-
}
|
39906
|
-
],
|
39907
|
-
"description": "Checks if the element is hidden by a computed style.",
|
39908
39741
|
"return": {
|
39909
39742
|
"type": {
|
39910
|
-
"text": ""
|
39743
|
+
"text": "void"
|
39911
39744
|
}
|
39912
39745
|
},
|
39913
|
-
"
|
39914
|
-
"name": "Popover",
|
39915
|
-
"module": "components/popover/popover.component.js"
|
39916
|
-
}
|
39746
|
+
"description": "Clears the typing animation timeout"
|
39917
39747
|
},
|
39918
39748
|
{
|
39919
39749
|
"kind": "method",
|
39920
|
-
"name": "
|
39750
|
+
"name": "handleSlotChange",
|
39921
39751
|
"privacy": "private",
|
39922
|
-
"parameters": [
|
39923
|
-
{
|
39924
|
-
"name": "element",
|
39925
|
-
"type": {
|
39926
|
-
"text": "HTMLElement"
|
39927
|
-
},
|
39928
|
-
"description": "The element to check."
|
39929
|
-
}
|
39930
|
-
],
|
39931
|
-
"description": "Checks if the element is hidden from the user.",
|
39932
39752
|
"return": {
|
39933
39753
|
"type": {
|
39934
|
-
"text": ""
|
39754
|
+
"text": "void"
|
39935
39755
|
}
|
39936
39756
|
},
|
39937
|
-
"
|
39938
|
-
|
39939
|
-
|
39757
|
+
"description": "Handler for slotchange event"
|
39758
|
+
}
|
39759
|
+
],
|
39760
|
+
"events": [
|
39761
|
+
{
|
39762
|
+
"type": {
|
39763
|
+
"text": "CustomEvent"
|
39940
39764
|
}
|
39941
39765
|
},
|
39942
39766
|
{
|
39943
|
-
"
|
39944
|
-
"name": "
|
39945
|
-
"
|
39946
|
-
"parameters": [
|
39947
|
-
{
|
39948
|
-
"name": "element",
|
39949
|
-
"type": {
|
39950
|
-
"text": "any"
|
39951
|
-
},
|
39952
|
-
"description": "The element to check."
|
39953
|
-
}
|
39954
|
-
],
|
39955
|
-
"description": "Checks if the element is disabled.",
|
39956
|
-
"return": {
|
39957
|
-
"type": {
|
39958
|
-
"text": ""
|
39959
|
-
}
|
39960
|
-
},
|
39961
|
-
"inheritedFrom": {
|
39962
|
-
"name": "Popover",
|
39963
|
-
"module": "components/popover/popover.component.js"
|
39964
|
-
}
|
39767
|
+
"description": "(React: onTypingComplete) Fired when the typewriter finishes typing all content. Detail: \\{ finalContent: string \\}",
|
39768
|
+
"name": "typing-complete",
|
39769
|
+
"reactName": "onTypingComplete"
|
39965
39770
|
},
|
39966
39771
|
{
|
39967
|
-
"
|
39968
|
-
"name": "
|
39969
|
-
"
|
39970
|
-
|
39971
|
-
|
39972
|
-
|
39973
|
-
|
39974
|
-
|
39975
|
-
|
39976
|
-
|
39977
|
-
}
|
39978
|
-
],
|
39979
|
-
"description": "Checks if the element is not tabbable.",
|
39980
|
-
"return": {
|
39981
|
-
"type": {
|
39982
|
-
"text": ""
|
39983
|
-
}
|
39772
|
+
"description": "(React: onChange) Fired when the content of the typewriter changes. Detail: \\{ content: string, isTyping: boolean \\}",
|
39773
|
+
"name": "change",
|
39774
|
+
"reactName": "onChange"
|
39775
|
+
}
|
39776
|
+
],
|
39777
|
+
"attributes": [
|
39778
|
+
{
|
39779
|
+
"name": "type",
|
39780
|
+
"type": {
|
39781
|
+
"text": "TextType"
|
39984
39782
|
},
|
39985
|
-
"
|
39986
|
-
|
39987
|
-
|
39988
|
-
}
|
39783
|
+
"description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
|
39784
|
+
"default": "body-large-regular",
|
39785
|
+
"fieldName": "type"
|
39989
39786
|
},
|
39990
39787
|
{
|
39991
|
-
"
|
39992
|
-
"
|
39993
|
-
|
39994
|
-
"return": {
|
39995
|
-
"type": {
|
39996
|
-
"text": ""
|
39997
|
-
}
|
39788
|
+
"name": "tagname",
|
39789
|
+
"type": {
|
39790
|
+
"text": "TagName | undefined"
|
39998
39791
|
},
|
39999
|
-
"
|
40000
|
-
|
40001
|
-
"name": "element",
|
40002
|
-
"type": {
|
40003
|
-
"text": "HTMLElement"
|
40004
|
-
},
|
40005
|
-
"description": "The element to check."
|
40006
|
-
}
|
40007
|
-
],
|
40008
|
-
"description": "Checks if the element is interactive.",
|
40009
|
-
"inheritedFrom": {
|
40010
|
-
"name": "Popover",
|
40011
|
-
"module": "components/popover/popover.component.js"
|
40012
|
-
}
|
39792
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the internal text element.\n\nAcceptable values include all valid tag names from the Text component.",
|
39793
|
+
"fieldName": "tagname"
|
40013
39794
|
},
|
40014
39795
|
{
|
40015
|
-
"
|
40016
|
-
"
|
40017
|
-
|
40018
|
-
"parameters": [
|
40019
|
-
{
|
40020
|
-
"name": "element",
|
40021
|
-
"type": {
|
40022
|
-
"text": "HTMLElement"
|
40023
|
-
},
|
40024
|
-
"description": "The element to check."
|
40025
|
-
}
|
40026
|
-
],
|
40027
|
-
"description": "Checks if the element is focusable.",
|
40028
|
-
"return": {
|
40029
|
-
"type": {
|
40030
|
-
"text": ""
|
40031
|
-
}
|
39796
|
+
"name": "speed",
|
39797
|
+
"type": {
|
39798
|
+
"text": "TypewriterSpeed"
|
40032
39799
|
},
|
40033
|
-
"
|
40034
|
-
|
40035
|
-
|
40036
|
-
}
|
39800
|
+
"description": "Speed of the typewriter effect in milliseconds per character.\nCan be a string preset or a numeric string in milliseconds.\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds (e.g., '100')",
|
39801
|
+
"default": "'normal' (60ms per character)",
|
39802
|
+
"fieldName": "speed"
|
40037
39803
|
},
|
40038
39804
|
{
|
40039
|
-
"
|
40040
|
-
"
|
40041
|
-
|
40042
|
-
"return": {
|
40043
|
-
"type": {
|
40044
|
-
"text": ""
|
40045
|
-
}
|
39805
|
+
"name": "max-queue-size",
|
39806
|
+
"type": {
|
39807
|
+
"text": "number"
|
40046
39808
|
},
|
40047
|
-
"
|
40048
|
-
|
40049
|
-
|
40050
|
-
|
40051
|
-
|
40052
|
-
|
40053
|
-
|
40054
|
-
|
40055
|
-
|
40056
|
-
|
40057
|
-
|
40058
|
-
|
40059
|
-
|
40060
|
-
|
40061
|
-
|
40062
|
-
|
40063
|
-
|
40064
|
-
|
40065
|
-
|
40066
|
-
|
40067
|
-
|
40068
|
-
|
40069
|
-
|
39809
|
+
"description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
|
39810
|
+
"default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
|
39811
|
+
"fieldName": "maxQueueSize"
|
39812
|
+
}
|
39813
|
+
],
|
39814
|
+
"superclass": {
|
39815
|
+
"name": "Component",
|
39816
|
+
"module": "/src/models"
|
39817
|
+
},
|
39818
|
+
"tagName": "mdc-typewriter",
|
39819
|
+
"jsDoc": "/**\n * Typewriter component that creates a typewriter effect on text content.\n * It uses the Text component internally, adding a progressive typing effect.\n *\n * The `type` attribute allows changing the text style (passed to the internal Text component).\n * The `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).\n * The default tag name is `p`.\n *\n * The `speed` attribute controls typing speed in milliseconds per character:\n * - 'very-slow' = 240ms per character\n * - 'slow' = 120ms per character\n * - 'normal' = 60ms per character (default)\n * - 'fast' = 20ms per character\n * - 'very-fast' = 1ms per character\n * - Or any numeric string representing milliseconds\n *\n * Advanced features:\n * - Dynamic speed adjustment during typing\n * - Chunked text addition via addTextChunk() method\n * - Instant text addition via addInstantTextChunk() method or instant parameter\n * - Mixed instant and animated chunks in queue\n * - Continues typing in background tabs\n * - Performance optimized for large text\n * - maxQueueSize to limit memory usage from excessive queuing\n * - event handling for typing completion and content changes\n *\n * The component includes accessibility features:\n * - Screen readers announce the complete text, not character by character\n * - Uses aria-live=\"polite\" for dynamic content updates\n * - Sets aria-busy during typing animation\n *\n * @dependency mdc-text\n *\n * @tagname mdc-typewriter\n * @slot - Default slot for text content\n *\n * @csspart container - Container for the text element\n * @csspart text - The text element (forwarded to mdc-text)\n *\n * @event typing-complete - (React: onTypingComplete) Fired when the typewriter finishes typing all content.\n * Detail: \\{ finalContent: string \\}\n * @event change - (React: onChange) Fired when the content of the typewriter changes.\n * Detail: \\{ content: string, isTyping: boolean \\}\n */",
|
39820
|
+
"customElement": true
|
39821
|
+
}
|
39822
|
+
],
|
39823
|
+
"exports": [
|
39824
|
+
{
|
39825
|
+
"kind": "js",
|
39826
|
+
"name": "default",
|
39827
|
+
"declaration": {
|
39828
|
+
"name": "Typewriter",
|
39829
|
+
"module": "components/typewriter/typewriter.component.js"
|
39830
|
+
}
|
39831
|
+
}
|
39832
|
+
]
|
39833
|
+
},
|
39834
|
+
{
|
39835
|
+
"kind": "javascript-module",
|
39836
|
+
"path": "components/virtualizedlist/virtualizedlist.component.js",
|
39837
|
+
"declarations": [
|
39838
|
+
{
|
39839
|
+
"kind": "class",
|
39840
|
+
"description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
|
39841
|
+
"name": "VirtualizedList",
|
39842
|
+
"slots": [
|
40070
39843
|
{
|
40071
|
-
"
|
40072
|
-
"name": "
|
40073
|
-
|
40074
|
-
|
40075
|
-
|
40076
|
-
"name": "Popover",
|
40077
|
-
"module": "components/popover/popover.component.js"
|
40078
|
-
}
|
40079
|
-
},
|
39844
|
+
"description": "Client side List with nested list items.",
|
39845
|
+
"name": ""
|
39846
|
+
}
|
39847
|
+
],
|
39848
|
+
"members": [
|
40080
39849
|
{
|
40081
|
-
"kind": "
|
40082
|
-
"name": "
|
39850
|
+
"kind": "field",
|
39851
|
+
"name": "onscroll",
|
39852
|
+
"type": {
|
39853
|
+
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
39854
|
+
},
|
39855
|
+
"description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
|
39856
|
+
"default": "null",
|
39857
|
+
"attribute": "onscroll"
|
39858
|
+
},
|
39859
|
+
{
|
39860
|
+
"kind": "field",
|
39861
|
+
"name": "virtualizerProps",
|
39862
|
+
"type": {
|
39863
|
+
"text": "VirtualizerProps"
|
39864
|
+
},
|
39865
|
+
"description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
|
39866
|
+
"attribute": "virtualizerprops"
|
39867
|
+
},
|
39868
|
+
{
|
39869
|
+
"kind": "field",
|
39870
|
+
"name": "setlistdata",
|
39871
|
+
"type": {
|
39872
|
+
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
39873
|
+
},
|
39874
|
+
"description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
|
39875
|
+
"default": "null",
|
39876
|
+
"attribute": "setlistdata"
|
39877
|
+
},
|
39878
|
+
{
|
39879
|
+
"kind": "field",
|
39880
|
+
"name": "scrollElementRef",
|
39881
|
+
"type": {
|
39882
|
+
"text": "Ref<HTMLDivElement>"
|
39883
|
+
},
|
39884
|
+
"privacy": "public"
|
39885
|
+
},
|
39886
|
+
{
|
39887
|
+
"kind": "field",
|
39888
|
+
"name": "virtualizer",
|
39889
|
+
"type": {
|
39890
|
+
"text": "Virtualizer<Element, Element> | null"
|
39891
|
+
},
|
40083
39892
|
"privacy": "public",
|
40084
|
-
"
|
40085
|
-
|
40086
|
-
|
40087
|
-
|
40088
|
-
|
40089
|
-
|
40090
|
-
|
40091
|
-
|
40092
|
-
|
40093
|
-
]
|
40094
|
-
|
39893
|
+
"default": "null"
|
39894
|
+
},
|
39895
|
+
{
|
39896
|
+
"kind": "field",
|
39897
|
+
"name": "virtualItems",
|
39898
|
+
"type": {
|
39899
|
+
"text": "Array<VirtualItem>"
|
39900
|
+
},
|
39901
|
+
"privacy": "public",
|
39902
|
+
"default": "[]"
|
39903
|
+
},
|
39904
|
+
{
|
39905
|
+
"kind": "field",
|
39906
|
+
"name": "virtualizerController",
|
39907
|
+
"type": {
|
39908
|
+
"text": "null"
|
39909
|
+
},
|
39910
|
+
"default": "null"
|
39911
|
+
}
|
39912
|
+
],
|
39913
|
+
"events": [
|
39914
|
+
{
|
39915
|
+
"description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
|
39916
|
+
"name": "onscroll",
|
39917
|
+
"reactName": "onScroll"
|
39918
|
+
}
|
39919
|
+
],
|
39920
|
+
"attributes": [
|
39921
|
+
{
|
39922
|
+
"name": "onscroll",
|
39923
|
+
"type": {
|
39924
|
+
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
39925
|
+
},
|
39926
|
+
"description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
|
39927
|
+
"default": "null",
|
39928
|
+
"fieldName": "onscroll"
|
39929
|
+
},
|
39930
|
+
{
|
39931
|
+
"name": "virtualizerprops",
|
39932
|
+
"type": {
|
39933
|
+
"text": "VirtualizerProps"
|
39934
|
+
},
|
39935
|
+
"description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
|
39936
|
+
"fieldName": "virtualizerProps"
|
39937
|
+
},
|
39938
|
+
{
|
39939
|
+
"name": "setlistdata",
|
39940
|
+
"type": {
|
39941
|
+
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
39942
|
+
},
|
39943
|
+
"description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
|
39944
|
+
"default": "null",
|
39945
|
+
"fieldName": "setlistdata"
|
39946
|
+
}
|
39947
|
+
],
|
39948
|
+
"superclass": {
|
39949
|
+
"name": "Component",
|
39950
|
+
"module": "/src/models"
|
39951
|
+
},
|
39952
|
+
"tagName": "mdc-virtualizedlist",
|
39953
|
+
"jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
|
39954
|
+
"customElement": true
|
39955
|
+
}
|
39956
|
+
],
|
39957
|
+
"exports": [
|
39958
|
+
{
|
39959
|
+
"kind": "js",
|
39960
|
+
"name": "default",
|
39961
|
+
"declaration": {
|
39962
|
+
"name": "VirtualizedList",
|
39963
|
+
"module": "components/virtualizedlist/virtualizedlist.component.js"
|
39964
|
+
}
|
39965
|
+
}
|
39966
|
+
]
|
39967
|
+
},
|
39968
|
+
{
|
39969
|
+
"kind": "javascript-module",
|
39970
|
+
"path": "components/tooltip/tooltip.component.js",
|
39971
|
+
"declarations": [
|
39972
|
+
{
|
39973
|
+
"kind": "class",
|
39974
|
+
"description": "A tooltip is triggered by mouse hover or by keyboard focus\nand will disappear upon mouse exit or focus change.\n\nNote: Tooltips cannot contain content that can be focused or interacted with.",
|
39975
|
+
"name": "Tooltip",
|
39976
|
+
"cssProperties": [
|
39977
|
+
{
|
39978
|
+
"description": "The maximum width of the tooltip.",
|
39979
|
+
"name": "--mdc-tooltip-max-width"
|
39980
|
+
},
|
39981
|
+
{
|
39982
|
+
"description": "The padding of the tooltip.",
|
39983
|
+
"name": "--mdc-tooltip-padding"
|
39984
|
+
},
|
39985
|
+
{
|
39986
|
+
"description": "The text color of the tooltip.",
|
39987
|
+
"name": "--mdc-tooltip-text-color"
|
39988
|
+
},
|
39989
|
+
{
|
39990
|
+
"description": "The text color of the tooltip when the color is contrast.",
|
39991
|
+
"name": "--mdc-tooltip-text-color-contrast"
|
39992
|
+
},
|
39993
|
+
{
|
39994
|
+
"description": "radius of the arrow border",
|
39995
|
+
"name": "--mdc-popover-arrow-border-radius",
|
40095
39996
|
"inheritedFrom": {
|
40096
39997
|
"name": "Popover",
|
40097
|
-
"module": "components/popover/popover.component.
|
39998
|
+
"module": "src/components/popover/popover.component.ts"
|
40098
39999
|
}
|
40099
40000
|
},
|
40100
40001
|
{
|
40101
|
-
"
|
40102
|
-
"name": "
|
40103
|
-
"privacy": "private",
|
40104
|
-
"parameters": [
|
40105
|
-
{
|
40106
|
-
"name": "currentIndex",
|
40107
|
-
"type": {
|
40108
|
-
"text": "number"
|
40109
|
-
},
|
40110
|
-
"description": "The current index."
|
40111
|
-
},
|
40112
|
-
{
|
40113
|
-
"name": "step",
|
40114
|
-
"type": {
|
40115
|
-
"text": "number"
|
40116
|
-
},
|
40117
|
-
"description": "The step to calculate the next index."
|
40118
|
-
}
|
40119
|
-
],
|
40120
|
-
"description": "Calculates the next index for the focus trap.",
|
40121
|
-
"return": {
|
40122
|
-
"type": {
|
40123
|
-
"text": ""
|
40124
|
-
}
|
40125
|
-
},
|
40002
|
+
"description": "border of the arrow",
|
40003
|
+
"name": "--mdc-popover-arrow-border",
|
40126
40004
|
"inheritedFrom": {
|
40127
40005
|
"name": "Popover",
|
40128
|
-
"module": "components/popover/popover.component.
|
40006
|
+
"module": "src/components/popover/popover.component.ts"
|
40129
40007
|
}
|
40130
40008
|
},
|
40131
40009
|
{
|
40132
|
-
"
|
40133
|
-
"name": "
|
40134
|
-
"privacy": "private",
|
40135
|
-
"description": "Returns the deepest active element in the shadow DOM.",
|
40136
|
-
"return": {
|
40137
|
-
"type": {
|
40138
|
-
"text": ""
|
40139
|
-
}
|
40140
|
-
},
|
40010
|
+
"description": "primary background color of the popover",
|
40011
|
+
"name": "--mdc-popover-primary-background-color",
|
40141
40012
|
"inheritedFrom": {
|
40142
40013
|
"name": "Popover",
|
40143
|
-
"module": "components/popover/popover.component.
|
40014
|
+
"module": "src/components/popover/popover.component.ts"
|
40015
|
+
}
|
40016
|
+
},
|
40017
|
+
{
|
40018
|
+
"description": "border color of the popover",
|
40019
|
+
"name": "--mdc-popover-border-color",
|
40020
|
+
"inheritedFrom": {
|
40021
|
+
"name": "Popover",
|
40022
|
+
"module": "src/components/popover/popover.component.ts"
|
40023
|
+
}
|
40024
|
+
},
|
40025
|
+
{
|
40026
|
+
"description": "inverted background color of the popover",
|
40027
|
+
"name": "--mdc-popover-inverted-background-color",
|
40028
|
+
"inheritedFrom": {
|
40029
|
+
"name": "Popover",
|
40030
|
+
"module": "src/components/popover/popover.component.ts"
|
40031
|
+
}
|
40032
|
+
},
|
40033
|
+
{
|
40034
|
+
"description": "inverted border color of the popover",
|
40035
|
+
"name": "--mdc-popover-inverted-border-color",
|
40036
|
+
"inheritedFrom": {
|
40037
|
+
"name": "Popover",
|
40038
|
+
"module": "src/components/popover/popover.component.ts"
|
40039
|
+
}
|
40040
|
+
},
|
40041
|
+
{
|
40042
|
+
"description": "inverted text color of the popover",
|
40043
|
+
"name": "--mdc-popover-inverted-text-color",
|
40044
|
+
"inheritedFrom": {
|
40045
|
+
"name": "Popover",
|
40046
|
+
"module": "src/components/popover/popover.component.ts"
|
40047
|
+
}
|
40048
|
+
},
|
40049
|
+
{
|
40050
|
+
"description": "elevation of the popover",
|
40051
|
+
"name": "--mdc-popover-elevation-3",
|
40052
|
+
"inheritedFrom": {
|
40053
|
+
"name": "Popover",
|
40054
|
+
"module": "src/components/popover/popover.component.ts"
|
40055
|
+
}
|
40056
|
+
},
|
40057
|
+
{
|
40058
|
+
"description": "max width of the popover",
|
40059
|
+
"name": "--mdc-popover-max-width",
|
40060
|
+
"inheritedFrom": {
|
40061
|
+
"name": "Popover",
|
40062
|
+
"module": "src/components/popover/popover.component.ts"
|
40144
40063
|
}
|
40145
40064
|
},
|
40065
|
+
{
|
40066
|
+
"description": "max height of the popover",
|
40067
|
+
"name": "--mdc-popover-max-height",
|
40068
|
+
"inheritedFrom": {
|
40069
|
+
"name": "Popover",
|
40070
|
+
"module": "src/components/popover/popover.component.ts"
|
40071
|
+
}
|
40072
|
+
}
|
40073
|
+
],
|
40074
|
+
"members": [
|
40075
|
+
{
|
40076
|
+
"kind": "field",
|
40077
|
+
"name": "tooltipType",
|
40078
|
+
"type": {
|
40079
|
+
"text": "TooltipType"
|
40080
|
+
},
|
40081
|
+
"description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
|
40082
|
+
"default": "'description'",
|
40083
|
+
"attribute": "tooltip-type",
|
40084
|
+
"reflects": true
|
40085
|
+
},
|
40086
|
+
{
|
40087
|
+
"kind": "field",
|
40088
|
+
"name": "defaultSlotNodes",
|
40089
|
+
"type": {
|
40090
|
+
"text": "Array<Node>"
|
40091
|
+
},
|
40092
|
+
"privacy": "private"
|
40093
|
+
},
|
40146
40094
|
{
|
40147
40095
|
"kind": "method",
|
40148
|
-
"name": "
|
40096
|
+
"name": "getTooltipText",
|
40149
40097
|
"privacy": "private",
|
40150
|
-
"parameters": [
|
40151
|
-
{
|
40152
|
-
"name": "activeElement",
|
40153
|
-
"type": {
|
40154
|
-
"text": "HTMLElement"
|
40155
|
-
},
|
40156
|
-
"description": "The active element."
|
40157
|
-
}
|
40158
|
-
],
|
40159
|
-
"description": "Finds the index of the active element within the focusable elements.",
|
40160
40098
|
"return": {
|
40161
40099
|
"type": {
|
40162
40100
|
"text": ""
|
40163
40101
|
}
|
40164
|
-
},
|
40165
|
-
"inheritedFrom": {
|
40166
|
-
"name": "Popover",
|
40167
|
-
"module": "components/popover/popover.component.js"
|
40168
40102
|
}
|
40169
40103
|
},
|
40170
40104
|
{
|
40171
40105
|
"kind": "method",
|
40172
|
-
"name": "
|
40106
|
+
"name": "setTooltipType",
|
40173
40107
|
"privacy": "private",
|
40108
|
+
"return": {
|
40109
|
+
"type": {
|
40110
|
+
"text": "void"
|
40111
|
+
}
|
40112
|
+
},
|
40174
40113
|
"parameters": [
|
40175
40114
|
{
|
40176
|
-
"name": "
|
40177
|
-
"type": {
|
40178
|
-
"text": "HTMLElement"
|
40179
|
-
},
|
40180
|
-
"description": "The active element."
|
40181
|
-
},
|
40182
|
-
{
|
40183
|
-
"name": "element",
|
40115
|
+
"name": "type",
|
40184
40116
|
"type": {
|
40185
|
-
"text": "
|
40117
|
+
"text": "TooltipType"
|
40186
40118
|
},
|
40187
|
-
"description": "The
|
40119
|
+
"description": "The type to set."
|
40188
40120
|
}
|
40189
40121
|
],
|
40190
|
-
"description": "
|
40122
|
+
"description": "Sets the type attribute for the tooltip component.\nIf the provided type is not included in the TOOLTIP_TYPES,\nit defaults to the value specified in DEFAULTS.TOOLTIP_TYPE."
|
40123
|
+
},
|
40124
|
+
{
|
40125
|
+
"kind": "method",
|
40126
|
+
"name": "onIdUpdated",
|
40127
|
+
"privacy": "private",
|
40191
40128
|
"return": {
|
40192
40129
|
"type": {
|
40193
|
-
"text": ""
|
40130
|
+
"text": "Promise<void>"
|
40194
40131
|
}
|
40195
40132
|
},
|
40196
|
-
"
|
40197
|
-
"name": "Popover",
|
40198
|
-
"module": "components/popover/popover.component.js"
|
40199
|
-
}
|
40133
|
+
"description": "Updates the tooltip id if it is empty."
|
40200
40134
|
},
|
40201
40135
|
{
|
40202
40136
|
"kind": "method",
|
40203
|
-
"name": "
|
40137
|
+
"name": "onPlacementUpdated",
|
40204
40138
|
"privacy": "private",
|
40205
|
-
"
|
40206
|
-
{
|
40207
|
-
"
|
40208
|
-
"type": {
|
40209
|
-
"text": "KeyboardEvent"
|
40210
|
-
}
|
40211
|
-
},
|
40212
|
-
{
|
40213
|
-
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
40214
|
-
"name": "direction"
|
40139
|
+
"return": {
|
40140
|
+
"type": {
|
40141
|
+
"text": "void"
|
40215
40142
|
}
|
40216
|
-
|
40217
|
-
"description": "
|
40218
|
-
"inheritedFrom": {
|
40219
|
-
"name": "Popover",
|
40220
|
-
"module": "components/popover/popover.component.js"
|
40221
|
-
}
|
40143
|
+
},
|
40144
|
+
"description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
|
40222
40145
|
},
|
40223
40146
|
{
|
40224
40147
|
"kind": "method",
|
40225
|
-
"name": "
|
40148
|
+
"name": "onTooltipTypeUpdated",
|
40226
40149
|
"privacy": "private",
|
40150
|
+
"return": {
|
40151
|
+
"type": {
|
40152
|
+
"text": "void"
|
40153
|
+
}
|
40154
|
+
},
|
40227
40155
|
"parameters": [
|
40228
40156
|
{
|
40229
|
-
"name": "
|
40157
|
+
"name": "changedProperties",
|
40230
40158
|
"type": {
|
40231
|
-
"text": "
|
40159
|
+
"text": "PropertyValues"
|
40232
40160
|
},
|
40233
|
-
"description": "The
|
40161
|
+
"description": "The changed properties."
|
40234
40162
|
}
|
40235
40163
|
],
|
40236
|
-
"description": "
|
40237
|
-
"inheritedFrom": {
|
40238
|
-
"name": "Popover",
|
40239
|
-
"module": "components/popover/popover.component.js"
|
40240
|
-
}
|
40164
|
+
"description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
|
40241
40165
|
},
|
40242
40166
|
{
|
40243
40167
|
"kind": "field",
|
40244
|
-
"name": "
|
40168
|
+
"name": "preventScroll",
|
40245
40169
|
"type": {
|
40246
|
-
"text": "
|
40170
|
+
"text": "boolean"
|
40247
40171
|
},
|
40248
|
-
"
|
40249
|
-
"description": "
|
40250
|
-
"
|
40172
|
+
"privacy": "protected",
|
40173
|
+
"description": "Prevent outside scrolling when element is shown.\n\nIMPLEMENT THIS IN YOUR COMPONENT.",
|
40174
|
+
"default": "false",
|
40175
|
+
"attribute": "prevent-scroll",
|
40251
40176
|
"reflects": true,
|
40252
40177
|
"inheritedFrom": {
|
40253
40178
|
"name": "Popover",
|
@@ -40255,30 +40180,18 @@
|
|
40255
40180
|
}
|
40256
40181
|
},
|
40257
40182
|
{
|
40258
|
-
"kind": "
|
40259
|
-
"name": "
|
40260
|
-
"
|
40261
|
-
"text": "string"
|
40262
|
-
},
|
40263
|
-
"default": "''",
|
40264
|
-
"description": "The ID of the element that triggers the popover.\nThis attribute is required for the popover to work.",
|
40265
|
-
"attribute": "triggerID",
|
40266
|
-
"reflects": true,
|
40183
|
+
"kind": "method",
|
40184
|
+
"name": "activatePreventScroll",
|
40185
|
+
"privacy": "protected",
|
40267
40186
|
"inheritedFrom": {
|
40268
40187
|
"name": "Popover",
|
40269
40188
|
"module": "components/popover/popover.component.js"
|
40270
40189
|
}
|
40271
40190
|
},
|
40272
40191
|
{
|
40273
|
-
"kind": "
|
40274
|
-
"name": "
|
40275
|
-
"
|
40276
|
-
"text": "PopoverTrigger"
|
40277
|
-
},
|
40278
|
-
"description": "Determines the events that cause the Popover to show.\nMultiple event names should be separated by spaces.\nFor example to allow both click and hover, use 'click mouseenter' as the trigger.\n- **click**\n- **mouseenter**\n- **focusin**\n- **manual**",
|
40279
|
-
"default": "click",
|
40280
|
-
"attribute": "trigger",
|
40281
|
-
"reflects": true,
|
40192
|
+
"kind": "method",
|
40193
|
+
"name": "deactivatePreventScroll",
|
40194
|
+
"privacy": "protected",
|
40282
40195
|
"inheritedFrom": {
|
40283
40196
|
"name": "Popover",
|
40284
40197
|
"module": "components/popover/popover.component.js"
|
@@ -40286,13 +40199,14 @@
|
|
40286
40199
|
},
|
40287
40200
|
{
|
40288
40201
|
"kind": "field",
|
40289
|
-
"name": "
|
40202
|
+
"name": "focusTrap",
|
40290
40203
|
"type": {
|
40291
|
-
"text": "
|
40204
|
+
"text": "boolean"
|
40292
40205
|
},
|
40293
|
-
"
|
40294
|
-
"
|
40295
|
-
"
|
40206
|
+
"privacy": "protected",
|
40207
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.\n\nIMPLEMENT THIS IN YOUR COMPONENT.",
|
40208
|
+
"default": "false",
|
40209
|
+
"attribute": "focus-trap",
|
40296
40210
|
"reflects": true,
|
40297
40211
|
"inheritedFrom": {
|
40298
40212
|
"name": "Popover",
|
@@ -40301,13 +40215,13 @@
|
|
40301
40215
|
},
|
40302
40216
|
{
|
40303
40217
|
"kind": "field",
|
40304
|
-
"name": "
|
40218
|
+
"name": "shouldFocusTrapWrap",
|
40305
40219
|
"type": {
|
40306
|
-
"text": "
|
40220
|
+
"text": "boolean"
|
40307
40221
|
},
|
40308
|
-
"
|
40309
|
-
"
|
40310
|
-
"attribute": "
|
40222
|
+
"default": "true",
|
40223
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
40224
|
+
"attribute": "should-focus-trap-wrap",
|
40311
40225
|
"reflects": true,
|
40312
40226
|
"inheritedFrom": {
|
40313
40227
|
"name": "Popover",
|
@@ -40315,300 +40229,481 @@
|
|
40315
40229
|
}
|
40316
40230
|
},
|
40317
40231
|
{
|
40318
|
-
"kind": "
|
40319
|
-
"name": "
|
40320
|
-
"
|
40321
|
-
|
40322
|
-
|
40323
|
-
|
40324
|
-
|
40325
|
-
|
40326
|
-
|
40232
|
+
"kind": "method",
|
40233
|
+
"name": "setIsFocusTrapActivated",
|
40234
|
+
"privacy": "private",
|
40235
|
+
"parameters": [
|
40236
|
+
{
|
40237
|
+
"name": "isActivated",
|
40238
|
+
"type": {
|
40239
|
+
"text": "boolean"
|
40240
|
+
}
|
40241
|
+
}
|
40242
|
+
],
|
40243
|
+
"inheritedFrom": {
|
40244
|
+
"name": "Popover",
|
40245
|
+
"module": "components/popover/popover.component.js"
|
40246
|
+
}
|
40247
|
+
},
|
40248
|
+
{
|
40249
|
+
"kind": "method",
|
40250
|
+
"name": "activateFocusTrap",
|
40251
|
+
"privacy": "public",
|
40252
|
+
"description": "Activate the focus trap",
|
40327
40253
|
"inheritedFrom": {
|
40328
40254
|
"name": "Popover",
|
40329
40255
|
"module": "components/popover/popover.component.js"
|
40330
40256
|
}
|
40331
40257
|
},
|
40332
40258
|
{
|
40333
|
-
"kind": "
|
40334
|
-
"name": "
|
40335
|
-
"
|
40336
|
-
|
40259
|
+
"kind": "method",
|
40260
|
+
"name": "deactivateFocusTrap",
|
40261
|
+
"privacy": "public",
|
40262
|
+
"description": "Deactivate the focus trap.",
|
40263
|
+
"inheritedFrom": {
|
40264
|
+
"name": "Popover",
|
40265
|
+
"module": "components/popover/popover.component.js"
|
40266
|
+
}
|
40267
|
+
},
|
40268
|
+
{
|
40269
|
+
"kind": "method",
|
40270
|
+
"name": "hasNoClientRects",
|
40271
|
+
"privacy": "private",
|
40272
|
+
"parameters": [
|
40273
|
+
{
|
40274
|
+
"name": "element",
|
40275
|
+
"type": {
|
40276
|
+
"text": "HTMLElement"
|
40277
|
+
},
|
40278
|
+
"description": "The element to check."
|
40279
|
+
}
|
40280
|
+
],
|
40281
|
+
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
40282
|
+
"return": {
|
40283
|
+
"type": {
|
40284
|
+
"text": ""
|
40285
|
+
}
|
40337
40286
|
},
|
40338
|
-
"description": "The offset of the popover.",
|
40339
|
-
"default": "4",
|
40340
|
-
"attribute": "offset",
|
40341
|
-
"reflects": true,
|
40342
40287
|
"inheritedFrom": {
|
40343
40288
|
"name": "Popover",
|
40344
40289
|
"module": "components/popover/popover.component.js"
|
40345
40290
|
}
|
40346
40291
|
},
|
40347
40292
|
{
|
40348
|
-
"kind": "
|
40349
|
-
"name": "
|
40350
|
-
"
|
40351
|
-
|
40293
|
+
"kind": "method",
|
40294
|
+
"name": "hasZeroDimensions",
|
40295
|
+
"privacy": "private",
|
40296
|
+
"parameters": [
|
40297
|
+
{
|
40298
|
+
"name": "element",
|
40299
|
+
"type": {
|
40300
|
+
"text": "HTMLElement"
|
40301
|
+
},
|
40302
|
+
"description": "The element to check."
|
40303
|
+
}
|
40304
|
+
],
|
40305
|
+
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
40306
|
+
"return": {
|
40307
|
+
"type": {
|
40308
|
+
"text": ""
|
40309
|
+
}
|
40352
40310
|
},
|
40353
|
-
"description": "This describes the clipping element(s) or area that overflow will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
|
40354
|
-
"default": "'clippingAncestors'",
|
40355
|
-
"attribute": "boundary",
|
40356
|
-
"reflects": true,
|
40357
40311
|
"inheritedFrom": {
|
40358
40312
|
"name": "Popover",
|
40359
40313
|
"module": "components/popover/popover.component.js"
|
40360
40314
|
}
|
40361
40315
|
},
|
40362
40316
|
{
|
40363
|
-
"kind": "
|
40364
|
-
"name": "
|
40365
|
-
"
|
40366
|
-
|
40317
|
+
"kind": "method",
|
40318
|
+
"name": "isNotVisible",
|
40319
|
+
"privacy": "private",
|
40320
|
+
"parameters": [
|
40321
|
+
{
|
40322
|
+
"name": "element",
|
40323
|
+
"type": {
|
40324
|
+
"text": "HTMLElement"
|
40325
|
+
},
|
40326
|
+
"description": "The element to check."
|
40327
|
+
}
|
40328
|
+
],
|
40329
|
+
"description": "Determines if the element is not visible in the DOM.",
|
40330
|
+
"return": {
|
40331
|
+
"type": {
|
40332
|
+
"text": ""
|
40333
|
+
}
|
40367
40334
|
},
|
40368
|
-
"description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
|
40369
|
-
"default": "'viewport'",
|
40370
|
-
"attribute": "boundary-root",
|
40371
|
-
"reflects": true,
|
40372
40335
|
"inheritedFrom": {
|
40373
40336
|
"name": "Popover",
|
40374
40337
|
"module": "components/popover/popover.component.js"
|
40375
40338
|
}
|
40376
40339
|
},
|
40377
40340
|
{
|
40378
|
-
"kind": "
|
40379
|
-
"name": "
|
40380
|
-
"
|
40381
|
-
|
40341
|
+
"kind": "method",
|
40342
|
+
"name": "hasHiddenStyle",
|
40343
|
+
"privacy": "private",
|
40344
|
+
"parameters": [
|
40345
|
+
{
|
40346
|
+
"name": "element",
|
40347
|
+
"type": {
|
40348
|
+
"text": "HTMLElement"
|
40349
|
+
},
|
40350
|
+
"description": "The element to check."
|
40351
|
+
}
|
40352
|
+
],
|
40353
|
+
"description": "Checks if the element has inline styles that make it hidden.",
|
40354
|
+
"return": {
|
40355
|
+
"type": {
|
40356
|
+
"text": ""
|
40357
|
+
}
|
40382
40358
|
},
|
40383
|
-
"description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
|
40384
|
-
"default": "undefined",
|
40385
|
-
"attribute": "boundary-padding",
|
40386
|
-
"reflects": true,
|
40387
40359
|
"inheritedFrom": {
|
40388
40360
|
"name": "Popover",
|
40389
40361
|
"module": "components/popover/popover.component.js"
|
40390
40362
|
}
|
40391
40363
|
},
|
40392
40364
|
{
|
40393
|
-
"kind": "
|
40394
|
-
"name": "
|
40395
|
-
"
|
40396
|
-
|
40365
|
+
"kind": "method",
|
40366
|
+
"name": "hasComputedHidden",
|
40367
|
+
"privacy": "private",
|
40368
|
+
"parameters": [
|
40369
|
+
{
|
40370
|
+
"name": "element",
|
40371
|
+
"type": {
|
40372
|
+
"text": "HTMLElement"
|
40373
|
+
},
|
40374
|
+
"description": "The element to check."
|
40375
|
+
}
|
40376
|
+
],
|
40377
|
+
"description": "Checks if the element is hidden by a computed style.",
|
40378
|
+
"return": {
|
40379
|
+
"type": {
|
40380
|
+
"text": ""
|
40381
|
+
}
|
40397
40382
|
},
|
40398
|
-
"description": "The arrow visibility of the popover.",
|
40399
|
-
"default": "false",
|
40400
|
-
"attribute": "show-arrow",
|
40401
|
-
"reflects": true,
|
40402
40383
|
"inheritedFrom": {
|
40403
40384
|
"name": "Popover",
|
40404
40385
|
"module": "components/popover/popover.component.js"
|
40405
40386
|
}
|
40406
40387
|
},
|
40407
40388
|
{
|
40408
|
-
"kind": "
|
40409
|
-
"name": "
|
40410
|
-
"
|
40411
|
-
|
40389
|
+
"kind": "method",
|
40390
|
+
"name": "isHidden",
|
40391
|
+
"privacy": "private",
|
40392
|
+
"parameters": [
|
40393
|
+
{
|
40394
|
+
"name": "element",
|
40395
|
+
"type": {
|
40396
|
+
"text": "HTMLElement"
|
40397
|
+
},
|
40398
|
+
"description": "The element to check."
|
40399
|
+
}
|
40400
|
+
],
|
40401
|
+
"description": "Checks if the element is hidden from the user.",
|
40402
|
+
"return": {
|
40403
|
+
"type": {
|
40404
|
+
"text": ""
|
40405
|
+
}
|
40412
40406
|
},
|
40413
|
-
"description": "The close button visibility of the popover.",
|
40414
|
-
"default": "false",
|
40415
|
-
"attribute": "close-button",
|
40416
|
-
"reflects": true,
|
40417
40407
|
"inheritedFrom": {
|
40418
40408
|
"name": "Popover",
|
40419
40409
|
"module": "components/popover/popover.component.js"
|
40420
40410
|
}
|
40421
40411
|
},
|
40422
40412
|
{
|
40423
|
-
"kind": "
|
40424
|
-
"name": "
|
40425
|
-
"
|
40426
|
-
|
40413
|
+
"kind": "method",
|
40414
|
+
"name": "isDisabled",
|
40415
|
+
"privacy": "private",
|
40416
|
+
"parameters": [
|
40417
|
+
{
|
40418
|
+
"name": "element",
|
40419
|
+
"type": {
|
40420
|
+
"text": "any"
|
40421
|
+
},
|
40422
|
+
"description": "The element to check."
|
40423
|
+
}
|
40424
|
+
],
|
40425
|
+
"description": "Checks if the element is disabled.",
|
40426
|
+
"return": {
|
40427
|
+
"type": {
|
40428
|
+
"text": ""
|
40429
|
+
}
|
40427
40430
|
},
|
40428
|
-
"description": "Determines whether the popover is interactive.\nMake sure to set focusTrap to true to keep the focus inside the popover in case necessary.\nSetting interactive to true will not automatically set focusTrap!",
|
40429
|
-
"default": "false",
|
40430
|
-
"attribute": "interactive",
|
40431
|
-
"reflects": true,
|
40432
40431
|
"inheritedFrom": {
|
40433
40432
|
"name": "Popover",
|
40434
40433
|
"module": "components/popover/popover.component.js"
|
40435
40434
|
}
|
40436
40435
|
},
|
40437
40436
|
{
|
40438
|
-
"kind": "
|
40439
|
-
"name": "
|
40440
|
-
"
|
40441
|
-
|
40437
|
+
"kind": "method",
|
40438
|
+
"name": "isNotTabbable",
|
40439
|
+
"privacy": "private",
|
40440
|
+
"parameters": [
|
40441
|
+
{
|
40442
|
+
"name": "element",
|
40443
|
+
"type": {
|
40444
|
+
"text": "HTMLElement"
|
40445
|
+
},
|
40446
|
+
"description": "The element to check."
|
40447
|
+
}
|
40448
|
+
],
|
40449
|
+
"description": "Checks if the element is not tabbable.",
|
40450
|
+
"return": {
|
40451
|
+
"type": {
|
40452
|
+
"text": ""
|
40453
|
+
}
|
40442
40454
|
},
|
40443
|
-
"description": "The delay of the show/hide popover.",
|
40444
|
-
"default": "0,0",
|
40445
|
-
"attribute": "delay",
|
40446
|
-
"reflects": true,
|
40447
40455
|
"inheritedFrom": {
|
40448
40456
|
"name": "Popover",
|
40449
40457
|
"module": "components/popover/popover.component.js"
|
40450
40458
|
}
|
40451
40459
|
},
|
40452
40460
|
{
|
40453
|
-
"kind": "
|
40454
|
-
"name": "
|
40455
|
-
"
|
40456
|
-
|
40461
|
+
"kind": "method",
|
40462
|
+
"name": "isInteractiveElement",
|
40463
|
+
"privacy": "private",
|
40464
|
+
"return": {
|
40465
|
+
"type": {
|
40466
|
+
"text": ""
|
40467
|
+
}
|
40457
40468
|
},
|
40458
|
-
"
|
40459
|
-
|
40460
|
-
|
40461
|
-
|
40469
|
+
"parameters": [
|
40470
|
+
{
|
40471
|
+
"name": "element",
|
40472
|
+
"type": {
|
40473
|
+
"text": "HTMLElement"
|
40474
|
+
},
|
40475
|
+
"description": "The element to check."
|
40476
|
+
}
|
40477
|
+
],
|
40478
|
+
"description": "Checks if the element is interactive.",
|
40462
40479
|
"inheritedFrom": {
|
40463
40480
|
"name": "Popover",
|
40464
40481
|
"module": "components/popover/popover.component.js"
|
40465
40482
|
}
|
40466
40483
|
},
|
40467
40484
|
{
|
40468
|
-
"kind": "
|
40469
|
-
"name": "
|
40470
|
-
"
|
40471
|
-
|
40485
|
+
"kind": "method",
|
40486
|
+
"name": "isFocusable",
|
40487
|
+
"privacy": "private",
|
40488
|
+
"parameters": [
|
40489
|
+
{
|
40490
|
+
"name": "element",
|
40491
|
+
"type": {
|
40492
|
+
"text": "HTMLElement"
|
40493
|
+
},
|
40494
|
+
"description": "The element to check."
|
40495
|
+
}
|
40496
|
+
],
|
40497
|
+
"description": "Checks if the element is focusable.",
|
40498
|
+
"return": {
|
40499
|
+
"type": {
|
40500
|
+
"text": ""
|
40501
|
+
}
|
40472
40502
|
},
|
40473
|
-
"description": "Propagates the event, when the escape key is pressed (only when pressed inside the popover)\nIf true, the escape key press close the popover and will propagate the keydown event.\nIf false, the escape key press will close the popover but will not propagate the keydown event.\n(set to false to prevent the event from bubbling up to the document).\n\nThis only works when `hideOnEscape` is true.",
|
40474
|
-
"default": "false",
|
40475
|
-
"attribute": "propagate-event-on-escape",
|
40476
|
-
"reflects": true,
|
40477
40503
|
"inheritedFrom": {
|
40478
40504
|
"name": "Popover",
|
40479
40505
|
"module": "components/popover/popover.component.js"
|
40480
40506
|
}
|
40481
40507
|
},
|
40482
40508
|
{
|
40483
|
-
"kind": "
|
40484
|
-
"name": "
|
40485
|
-
"
|
40486
|
-
|
40509
|
+
"kind": "method",
|
40510
|
+
"name": "findFocusable",
|
40511
|
+
"privacy": "private",
|
40512
|
+
"return": {
|
40513
|
+
"type": {
|
40514
|
+
"text": ""
|
40515
|
+
}
|
40487
40516
|
},
|
40488
|
-
"
|
40489
|
-
|
40490
|
-
|
40491
|
-
|
40517
|
+
"parameters": [
|
40518
|
+
{
|
40519
|
+
"name": "root",
|
40520
|
+
"type": {
|
40521
|
+
"text": "ShadowRoot | HTMLElement"
|
40522
|
+
},
|
40523
|
+
"description": "The root element to search for focusable elements."
|
40524
|
+
},
|
40525
|
+
{
|
40526
|
+
"name": "matches",
|
40527
|
+
"default": "new Set()",
|
40528
|
+
"type": {
|
40529
|
+
"text": "Set<HTMLElement>"
|
40530
|
+
},
|
40531
|
+
"description": "The set of focusable elements."
|
40532
|
+
}
|
40533
|
+
],
|
40534
|
+
"description": "Recursively finds all focusable elements within the given root and its descendants.\n\nMake sure this is performant, as it will be called multiple times.",
|
40492
40535
|
"inheritedFrom": {
|
40493
40536
|
"name": "Popover",
|
40494
40537
|
"module": "components/popover/popover.component.js"
|
40495
40538
|
}
|
40496
40539
|
},
|
40497
40540
|
{
|
40498
|
-
"kind": "
|
40499
|
-
"name": "
|
40500
|
-
"
|
40501
|
-
|
40502
|
-
},
|
40503
|
-
"description": "Hide on outside click of the popover.",
|
40504
|
-
"default": "false",
|
40505
|
-
"attribute": "hide-on-outside-click",
|
40506
|
-
"reflects": true,
|
40541
|
+
"kind": "method",
|
40542
|
+
"name": "setFocusableElements",
|
40543
|
+
"privacy": "private",
|
40544
|
+
"description": "Updates the list of focusable elements within the component's shadow root.",
|
40507
40545
|
"inheritedFrom": {
|
40508
40546
|
"name": "Popover",
|
40509
40547
|
"module": "components/popover/popover.component.js"
|
40510
40548
|
}
|
40511
40549
|
},
|
40512
40550
|
{
|
40513
|
-
"kind": "
|
40514
|
-
"name": "
|
40515
|
-
"
|
40516
|
-
|
40517
|
-
|
40518
|
-
|
40519
|
-
|
40520
|
-
|
40521
|
-
|
40551
|
+
"kind": "method",
|
40552
|
+
"name": "setInitialFocus",
|
40553
|
+
"privacy": "public",
|
40554
|
+
"parameters": [
|
40555
|
+
{
|
40556
|
+
"name": "elementIndexToReceiveFocus",
|
40557
|
+
"default": "0",
|
40558
|
+
"type": {
|
40559
|
+
"text": "number"
|
40560
|
+
},
|
40561
|
+
"description": "The index of the preferable element to focus."
|
40562
|
+
}
|
40563
|
+
],
|
40564
|
+
"description": "Sets the initial focus within the container.",
|
40522
40565
|
"inheritedFrom": {
|
40523
40566
|
"name": "Popover",
|
40524
40567
|
"module": "components/popover/popover.component.js"
|
40525
40568
|
}
|
40526
40569
|
},
|
40527
40570
|
{
|
40528
|
-
"kind": "
|
40529
|
-
"name": "
|
40530
|
-
"
|
40531
|
-
|
40571
|
+
"kind": "method",
|
40572
|
+
"name": "calculateNextIndex",
|
40573
|
+
"privacy": "private",
|
40574
|
+
"parameters": [
|
40575
|
+
{
|
40576
|
+
"name": "currentIndex",
|
40577
|
+
"type": {
|
40578
|
+
"text": "number"
|
40579
|
+
},
|
40580
|
+
"description": "The current index."
|
40581
|
+
},
|
40582
|
+
{
|
40583
|
+
"name": "step",
|
40584
|
+
"type": {
|
40585
|
+
"text": "number"
|
40586
|
+
},
|
40587
|
+
"description": "The step to calculate the next index."
|
40588
|
+
}
|
40589
|
+
],
|
40590
|
+
"description": "Calculates the next index for the focus trap.",
|
40591
|
+
"return": {
|
40592
|
+
"type": {
|
40593
|
+
"text": ""
|
40594
|
+
}
|
40532
40595
|
},
|
40533
|
-
"description": "Determines whether the popover with backdrop.\nOther than popover and trigger element, the rest of the screen will be covered with a backdrop.",
|
40534
|
-
"default": "false",
|
40535
|
-
"attribute": "backdrop",
|
40536
|
-
"reflects": true,
|
40537
40596
|
"inheritedFrom": {
|
40538
40597
|
"name": "Popover",
|
40539
40598
|
"module": "components/popover/popover.component.js"
|
40540
40599
|
}
|
40541
40600
|
},
|
40542
40601
|
{
|
40543
|
-
"kind": "
|
40544
|
-
"name": "
|
40545
|
-
"
|
40546
|
-
|
40602
|
+
"kind": "method",
|
40603
|
+
"name": "getDeepActiveElement",
|
40604
|
+
"privacy": "private",
|
40605
|
+
"description": "Returns the deepest active element in the shadow DOM.",
|
40606
|
+
"return": {
|
40607
|
+
"type": {
|
40608
|
+
"text": ""
|
40609
|
+
}
|
40547
40610
|
},
|
40548
|
-
"description": "Changes the placement of popover to keep it in view when scrolling.",
|
40549
|
-
"default": "true",
|
40550
|
-
"attribute": "flip",
|
40551
|
-
"reflects": true,
|
40552
40611
|
"inheritedFrom": {
|
40553
40612
|
"name": "Popover",
|
40554
40613
|
"module": "components/popover/popover.component.js"
|
40555
40614
|
}
|
40556
40615
|
},
|
40557
40616
|
{
|
40558
|
-
"kind": "
|
40559
|
-
"name": "
|
40560
|
-
"
|
40561
|
-
|
40617
|
+
"kind": "method",
|
40618
|
+
"name": "findElement",
|
40619
|
+
"privacy": "private",
|
40620
|
+
"parameters": [
|
40621
|
+
{
|
40622
|
+
"name": "activeElement",
|
40623
|
+
"type": {
|
40624
|
+
"text": "HTMLElement"
|
40625
|
+
},
|
40626
|
+
"description": "The active element."
|
40627
|
+
}
|
40628
|
+
],
|
40629
|
+
"description": "Finds the index of the active element within the focusable elements.",
|
40630
|
+
"return": {
|
40631
|
+
"type": {
|
40632
|
+
"text": ""
|
40633
|
+
}
|
40562
40634
|
},
|
40563
|
-
"description": "Changes the size of popover to keep it in view when scrolling.",
|
40564
|
-
"default": "false",
|
40565
|
-
"attribute": "size",
|
40566
|
-
"reflects": true,
|
40567
40635
|
"inheritedFrom": {
|
40568
40636
|
"name": "Popover",
|
40569
40637
|
"module": "components/popover/popover.component.js"
|
40570
40638
|
}
|
40571
40639
|
},
|
40572
40640
|
{
|
40573
|
-
"kind": "
|
40574
|
-
"name": "
|
40575
|
-
"
|
40576
|
-
|
40641
|
+
"kind": "method",
|
40642
|
+
"name": "isEqualFocusNode",
|
40643
|
+
"privacy": "private",
|
40644
|
+
"parameters": [
|
40645
|
+
{
|
40646
|
+
"name": "activeElement",
|
40647
|
+
"type": {
|
40648
|
+
"text": "HTMLElement"
|
40649
|
+
},
|
40650
|
+
"description": "The active element."
|
40651
|
+
},
|
40652
|
+
{
|
40653
|
+
"name": "element",
|
40654
|
+
"type": {
|
40655
|
+
"text": "HTMLElement"
|
40656
|
+
},
|
40657
|
+
"description": "The element to compare."
|
40658
|
+
}
|
40659
|
+
],
|
40660
|
+
"description": "Checks if the active element is equal to the given element.",
|
40661
|
+
"return": {
|
40662
|
+
"type": {
|
40663
|
+
"text": ""
|
40664
|
+
}
|
40577
40665
|
},
|
40578
|
-
"description": "The z-index of the popover.",
|
40579
|
-
"default": "1000",
|
40580
|
-
"attribute": "z-index",
|
40581
|
-
"reflects": true,
|
40582
40666
|
"inheritedFrom": {
|
40583
40667
|
"name": "Popover",
|
40584
40668
|
"module": "components/popover/popover.component.js"
|
40585
40669
|
}
|
40586
40670
|
},
|
40587
40671
|
{
|
40588
|
-
"kind": "
|
40589
|
-
"name": "
|
40590
|
-
"
|
40591
|
-
|
40592
|
-
|
40593
|
-
|
40594
|
-
|
40595
|
-
|
40596
|
-
|
40672
|
+
"kind": "method",
|
40673
|
+
"name": "trapFocus",
|
40674
|
+
"privacy": "private",
|
40675
|
+
"parameters": [
|
40676
|
+
{
|
40677
|
+
"name": "event",
|
40678
|
+
"type": {
|
40679
|
+
"text": "KeyboardEvent"
|
40680
|
+
}
|
40681
|
+
},
|
40682
|
+
{
|
40683
|
+
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
40684
|
+
"name": "direction"
|
40685
|
+
}
|
40686
|
+
],
|
40687
|
+
"description": "Traps focus within the container.",
|
40597
40688
|
"inheritedFrom": {
|
40598
40689
|
"name": "Popover",
|
40599
40690
|
"module": "components/popover/popover.component.js"
|
40600
40691
|
}
|
40601
40692
|
},
|
40602
40693
|
{
|
40603
|
-
"kind": "
|
40604
|
-
"name": "
|
40605
|
-
"
|
40606
|
-
|
40607
|
-
|
40608
|
-
|
40609
|
-
|
40610
|
-
|
40611
|
-
|
40694
|
+
"kind": "method",
|
40695
|
+
"name": "handleTabKeydown",
|
40696
|
+
"privacy": "private",
|
40697
|
+
"parameters": [
|
40698
|
+
{
|
40699
|
+
"name": "event",
|
40700
|
+
"type": {
|
40701
|
+
"text": "KeyboardEvent"
|
40702
|
+
},
|
40703
|
+
"description": "The keyboard event."
|
40704
|
+
}
|
40705
|
+
],
|
40706
|
+
"description": "Traps focus within the container.",
|
40612
40707
|
"inheritedFrom": {
|
40613
40708
|
"name": "Popover",
|
40614
40709
|
"module": "components/popover/popover.component.js"
|
@@ -40616,13 +40711,13 @@
|
|
40616
40711
|
},
|
40617
40712
|
{
|
40618
40713
|
"kind": "field",
|
40619
|
-
"name": "
|
40714
|
+
"name": "id",
|
40620
40715
|
"type": {
|
40621
|
-
"text": "
|
40716
|
+
"text": "string"
|
40622
40717
|
},
|
40623
|
-
"
|
40624
|
-
"
|
40625
|
-
"attribute": "
|
40718
|
+
"default": "''",
|
40719
|
+
"description": "The unique ID of the popover.",
|
40720
|
+
"attribute": "id",
|
40626
40721
|
"reflects": true,
|
40627
40722
|
"inheritedFrom": {
|
40628
40723
|
"name": "Popover",
|
@@ -40631,13 +40726,13 @@
|
|
40631
40726
|
},
|
40632
40727
|
{
|
40633
40728
|
"kind": "field",
|
40634
|
-
"name": "
|
40729
|
+
"name": "triggerID",
|
40635
40730
|
"type": {
|
40636
|
-
"text": "
|
40731
|
+
"text": "string"
|
40637
40732
|
},
|
40638
|
-
"
|
40639
|
-
"
|
40640
|
-
"attribute": "
|
40733
|
+
"default": "''",
|
40734
|
+
"description": "The ID of the element that triggers the popover.\nThis attribute is required for the popover to work.",
|
40735
|
+
"attribute": "triggerID",
|
40641
40736
|
"reflects": true,
|
40642
40737
|
"inheritedFrom": {
|
40643
40738
|
"name": "Popover",
|
@@ -40646,13 +40741,13 @@
|
|
40646
40741
|
},
|
40647
40742
|
{
|
40648
40743
|
"kind": "field",
|
40649
|
-
"name": "
|
40744
|
+
"name": "trigger",
|
40650
40745
|
"type": {
|
40651
|
-
"text": "
|
40746
|
+
"text": "PopoverTrigger"
|
40652
40747
|
},
|
40653
|
-
"
|
40654
|
-
"
|
40655
|
-
"attribute": "
|
40748
|
+
"description": "Determines the events that cause the Popover to show.\nMultiple event names should be separated by spaces.\nFor example to allow both click and hover, use 'click mouseenter' as the trigger.\n- **click**\n- **mouseenter**\n- **focusin**\n- **manual**",
|
40749
|
+
"default": "click",
|
40750
|
+
"attribute": "trigger",
|
40656
40751
|
"reflects": true,
|
40657
40752
|
"inheritedFrom": {
|
40658
40753
|
"name": "Popover",
|
@@ -40661,13 +40756,13 @@
|
|
40661
40756
|
},
|
40662
40757
|
{
|
40663
40758
|
"kind": "field",
|
40664
|
-
"name": "
|
40759
|
+
"name": "placement",
|
40665
40760
|
"type": {
|
40666
|
-
"text": "
|
40761
|
+
"text": "PopoverPlacement"
|
40667
40762
|
},
|
40668
|
-
"
|
40669
|
-
"
|
40670
|
-
"attribute": "
|
40763
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
40764
|
+
"default": "bottom",
|
40765
|
+
"attribute": "placement",
|
40671
40766
|
"reflects": true,
|
40672
40767
|
"inheritedFrom": {
|
40673
40768
|
"name": "Popover",
|
@@ -40676,13 +40771,13 @@
|
|
40676
40771
|
},
|
40677
40772
|
{
|
40678
40773
|
"kind": "field",
|
40679
|
-
"name": "
|
40774
|
+
"name": "color",
|
40680
40775
|
"type": {
|
40681
|
-
"text": "
|
40776
|
+
"text": "PopoverColor"
|
40682
40777
|
},
|
40683
|
-
"description": "
|
40684
|
-
"default": "
|
40685
|
-
"attribute": "
|
40778
|
+
"description": "Color of the popover\n- **tonal**\n- **contrast**",
|
40779
|
+
"default": "tonal",
|
40780
|
+
"attribute": "color",
|
40686
40781
|
"reflects": true,
|
40687
40782
|
"inheritedFrom": {
|
40688
40783
|
"name": "Popover",
|
@@ -40691,13 +40786,13 @@
|
|
40691
40786
|
},
|
40692
40787
|
{
|
40693
40788
|
"kind": "field",
|
40694
|
-
"name": "
|
40789
|
+
"name": "visible",
|
40695
40790
|
"type": {
|
40696
40791
|
"text": "boolean"
|
40697
40792
|
},
|
40698
|
-
"description": "
|
40793
|
+
"description": "The visibility of the popover.",
|
40699
40794
|
"default": "false",
|
40700
|
-
"attribute": "
|
40795
|
+
"attribute": "visible",
|
40701
40796
|
"reflects": true,
|
40702
40797
|
"inheritedFrom": {
|
40703
40798
|
"name": "Popover",
|
@@ -40706,12 +40801,13 @@
|
|
40706
40801
|
},
|
40707
40802
|
{
|
40708
40803
|
"kind": "field",
|
40709
|
-
"name": "
|
40804
|
+
"name": "offset",
|
40710
40805
|
"type": {
|
40711
|
-
"text": "
|
40806
|
+
"text": "number"
|
40712
40807
|
},
|
40713
|
-
"description": "
|
40714
|
-
"
|
40808
|
+
"description": "The offset of the popover.",
|
40809
|
+
"default": "4",
|
40810
|
+
"attribute": "offset",
|
40715
40811
|
"reflects": true,
|
40716
40812
|
"inheritedFrom": {
|
40717
40813
|
"name": "Popover",
|
@@ -40720,12 +40816,14 @@
|
|
40720
40816
|
},
|
40721
40817
|
{
|
40722
40818
|
"kind": "field",
|
40723
|
-
"name": "
|
40819
|
+
"name": "boundary",
|
40724
40820
|
"type": {
|
40725
|
-
"text": "
|
40821
|
+
"text": "'clippingAncestors' | string"
|
40726
40822
|
},
|
40727
|
-
"
|
40728
|
-
"default": "
|
40823
|
+
"description": "This describes the clipping element(s) or area that overflow will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
|
40824
|
+
"default": "'clippingAncestors'",
|
40825
|
+
"attribute": "boundary",
|
40826
|
+
"reflects": true,
|
40729
40827
|
"inheritedFrom": {
|
40730
40828
|
"name": "Popover",
|
40731
40829
|
"module": "components/popover/popover.component.js"
|
@@ -40733,12 +40831,14 @@
|
|
40733
40831
|
},
|
40734
40832
|
{
|
40735
40833
|
"kind": "field",
|
40736
|
-
"name": "
|
40834
|
+
"name": "boundaryRoot",
|
40737
40835
|
"type": {
|
40738
|
-
"text": "
|
40836
|
+
"text": "'viewport' | 'document'"
|
40739
40837
|
},
|
40740
|
-
"
|
40741
|
-
"default": "
|
40838
|
+
"description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
|
40839
|
+
"default": "'viewport'",
|
40840
|
+
"attribute": "boundary-root",
|
40841
|
+
"reflects": true,
|
40742
40842
|
"inheritedFrom": {
|
40743
40843
|
"name": "Popover",
|
40744
40844
|
"module": "components/popover/popover.component.js"
|
@@ -40746,17 +40846,29 @@
|
|
40746
40846
|
},
|
40747
40847
|
{
|
40748
40848
|
"kind": "field",
|
40749
|
-
"name": "
|
40750
|
-
"
|
40849
|
+
"name": "boundaryPadding",
|
40850
|
+
"type": {
|
40851
|
+
"text": "number | undefined"
|
40852
|
+
},
|
40853
|
+
"description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
|
40854
|
+
"default": "undefined",
|
40855
|
+
"attribute": "boundary-padding",
|
40856
|
+
"reflects": true,
|
40751
40857
|
"inheritedFrom": {
|
40752
40858
|
"name": "Popover",
|
40753
40859
|
"module": "components/popover/popover.component.js"
|
40754
40860
|
}
|
40755
40861
|
},
|
40756
40862
|
{
|
40757
|
-
"kind": "
|
40758
|
-
"name": "
|
40759
|
-
"
|
40863
|
+
"kind": "field",
|
40864
|
+
"name": "showArrow",
|
40865
|
+
"type": {
|
40866
|
+
"text": "boolean"
|
40867
|
+
},
|
40868
|
+
"description": "The arrow visibility of the popover.",
|
40869
|
+
"default": "false",
|
40870
|
+
"attribute": "show-arrow",
|
40871
|
+
"reflects": true,
|
40760
40872
|
"inheritedFrom": {
|
40761
40873
|
"name": "Popover",
|
40762
40874
|
"module": "components/popover/popover.component.js"
|
@@ -40764,8 +40876,14 @@
|
|
40764
40876
|
},
|
40765
40877
|
{
|
40766
40878
|
"kind": "field",
|
40767
|
-
"name": "
|
40768
|
-
"
|
40879
|
+
"name": "closeButton",
|
40880
|
+
"type": {
|
40881
|
+
"text": "boolean"
|
40882
|
+
},
|
40883
|
+
"description": "The close button visibility of the popover.",
|
40884
|
+
"default": "false",
|
40885
|
+
"attribute": "close-button",
|
40886
|
+
"reflects": true,
|
40769
40887
|
"inheritedFrom": {
|
40770
40888
|
"name": "Popover",
|
40771
40889
|
"module": "components/popover/popover.component.js"
|
@@ -40773,9 +40891,14 @@
|
|
40773
40891
|
},
|
40774
40892
|
{
|
40775
40893
|
"kind": "field",
|
40776
|
-
"name": "
|
40777
|
-
"
|
40778
|
-
|
40894
|
+
"name": "interactive",
|
40895
|
+
"type": {
|
40896
|
+
"text": "boolean"
|
40897
|
+
},
|
40898
|
+
"description": "Determines whether the popover is interactive.\nMake sure to set focusTrap to true to keep the focus inside the popover in case necessary.\nSetting interactive to true will not automatically set focusTrap!",
|
40899
|
+
"default": "false",
|
40900
|
+
"attribute": "interactive",
|
40901
|
+
"reflects": true,
|
40779
40902
|
"inheritedFrom": {
|
40780
40903
|
"name": "Popover",
|
40781
40904
|
"module": "components/popover/popover.component.js"
|
@@ -40783,9 +40906,14 @@
|
|
40783
40906
|
},
|
40784
40907
|
{
|
40785
40908
|
"kind": "field",
|
40786
|
-
"name": "
|
40787
|
-
"
|
40788
|
-
|
40909
|
+
"name": "delay",
|
40910
|
+
"type": {
|
40911
|
+
"text": "string"
|
40912
|
+
},
|
40913
|
+
"description": "The delay of the show/hide popover.",
|
40914
|
+
"default": "0,0",
|
40915
|
+
"attribute": "delay",
|
40916
|
+
"reflects": true,
|
40789
40917
|
"inheritedFrom": {
|
40790
40918
|
"name": "Popover",
|
40791
40919
|
"module": "components/popover/popover.component.js"
|
@@ -40793,9 +40921,14 @@
|
|
40793
40921
|
},
|
40794
40922
|
{
|
40795
40923
|
"kind": "field",
|
40796
|
-
"name": "
|
40797
|
-
"
|
40798
|
-
|
40924
|
+
"name": "hideOnEscape",
|
40925
|
+
"type": {
|
40926
|
+
"text": "boolean"
|
40927
|
+
},
|
40928
|
+
"description": "Hide popover on escape key press.",
|
40929
|
+
"default": "false",
|
40930
|
+
"attribute": "hide-on-escape",
|
40931
|
+
"reflects": true,
|
40799
40932
|
"inheritedFrom": {
|
40800
40933
|
"name": "Popover",
|
40801
40934
|
"module": "components/popover/popover.component.js"
|
@@ -40803,15 +40936,14 @@
|
|
40803
40936
|
},
|
40804
40937
|
{
|
40805
40938
|
"kind": "field",
|
40806
|
-
"name": "
|
40807
|
-
"
|
40808
|
-
|
40809
|
-
|
40810
|
-
|
40811
|
-
|
40812
|
-
|
40813
|
-
|
40814
|
-
],
|
40939
|
+
"name": "propagateEventOnEscape",
|
40940
|
+
"type": {
|
40941
|
+
"text": "boolean"
|
40942
|
+
},
|
40943
|
+
"description": "Propagates the event, when the escape key is pressed (only when pressed inside the popover)\nIf true, the escape key press close the popover and will propagate the keydown event.\nIf false, the escape key press will close the popover but will not propagate the keydown event.\n(set to false to prevent the event from bubbling up to the document).\n\nThis only works when `hideOnEscape` is true.",
|
40944
|
+
"default": "false",
|
40945
|
+
"attribute": "propagate-event-on-escape",
|
40946
|
+
"reflects": true,
|
40815
40947
|
"inheritedFrom": {
|
40816
40948
|
"name": "Popover",
|
40817
40949
|
"module": "components/popover/popover.component.js"
|
@@ -40819,15 +40951,14 @@
|
|
40819
40951
|
},
|
40820
40952
|
{
|
40821
40953
|
"kind": "field",
|
40822
|
-
"name": "
|
40823
|
-
"
|
40824
|
-
|
40825
|
-
|
40826
|
-
|
40827
|
-
|
40828
|
-
|
40829
|
-
|
40830
|
-
],
|
40954
|
+
"name": "hideOnBlur",
|
40955
|
+
"type": {
|
40956
|
+
"text": "boolean"
|
40957
|
+
},
|
40958
|
+
"description": "Hide popover on blur.",
|
40959
|
+
"default": "false",
|
40960
|
+
"attribute": "hide-on-blur",
|
40961
|
+
"reflects": true,
|
40831
40962
|
"inheritedFrom": {
|
40832
40963
|
"name": "Popover",
|
40833
40964
|
"module": "components/popover/popover.component.js"
|
@@ -40835,41 +40966,29 @@
|
|
40835
40966
|
},
|
40836
40967
|
{
|
40837
40968
|
"kind": "field",
|
40838
|
-
"name": "
|
40839
|
-
"
|
40840
|
-
|
40841
|
-
|
40842
|
-
|
40843
|
-
|
40844
|
-
|
40845
|
-
|
40846
|
-
],
|
40969
|
+
"name": "hideOnOutsideClick",
|
40970
|
+
"type": {
|
40971
|
+
"text": "boolean"
|
40972
|
+
},
|
40973
|
+
"description": "Hide on outside click of the popover.",
|
40974
|
+
"default": "false",
|
40975
|
+
"attribute": "hide-on-outside-click",
|
40976
|
+
"reflects": true,
|
40847
40977
|
"inheritedFrom": {
|
40848
40978
|
"name": "Popover",
|
40849
40979
|
"module": "components/popover/popover.component.js"
|
40850
40980
|
}
|
40851
40981
|
},
|
40852
40982
|
{
|
40853
|
-
"kind": "
|
40854
|
-
"name": "
|
40855
|
-
"
|
40856
|
-
|
40857
|
-
|
40858
|
-
|
40859
|
-
|
40860
|
-
|
40861
|
-
|
40862
|
-
"description": "The old value of the visible property."
|
40863
|
-
},
|
40864
|
-
{
|
40865
|
-
"name": "newValue",
|
40866
|
-
"type": {
|
40867
|
-
"text": "boolean"
|
40868
|
-
},
|
40869
|
-
"description": "The new value of the visible property."
|
40870
|
-
}
|
40871
|
-
],
|
40872
|
-
"description": "Handles the popover visibility change and position the popover.\nHandles the exit event to close the popover.",
|
40983
|
+
"kind": "field",
|
40984
|
+
"name": "focusBackToTrigger",
|
40985
|
+
"type": {
|
40986
|
+
"text": "boolean"
|
40987
|
+
},
|
40988
|
+
"description": "The focus back to trigger after the popover hide.",
|
40989
|
+
"default": "false",
|
40990
|
+
"attribute": "focus-back-to-trigger",
|
40991
|
+
"reflects": true,
|
40873
40992
|
"inheritedFrom": {
|
40874
40993
|
"name": "Popover",
|
40875
40994
|
"module": "components/popover/popover.component.js"
|
@@ -40877,9 +40996,14 @@
|
|
40877
40996
|
},
|
40878
40997
|
{
|
40879
40998
|
"kind": "field",
|
40880
|
-
"name": "
|
40881
|
-
"
|
40882
|
-
|
40999
|
+
"name": "backdrop",
|
41000
|
+
"type": {
|
41001
|
+
"text": "boolean"
|
41002
|
+
},
|
41003
|
+
"description": "Determines whether the popover with backdrop.\nOther than popover and trigger element, the rest of the screen will be covered with a backdrop.",
|
41004
|
+
"default": "false",
|
41005
|
+
"attribute": "backdrop",
|
41006
|
+
"reflects": true,
|
40883
41007
|
"inheritedFrom": {
|
40884
41008
|
"name": "Popover",
|
40885
41009
|
"module": "components/popover/popover.component.js"
|
@@ -40887,9 +41011,14 @@
|
|
40887
41011
|
},
|
40888
41012
|
{
|
40889
41013
|
"kind": "field",
|
40890
|
-
"name": "
|
40891
|
-
"
|
40892
|
-
|
41014
|
+
"name": "flip",
|
41015
|
+
"type": {
|
41016
|
+
"text": "boolean"
|
41017
|
+
},
|
41018
|
+
"description": "Changes the placement of popover to keep it in view when scrolling.",
|
41019
|
+
"default": "true",
|
41020
|
+
"attribute": "flip",
|
41021
|
+
"reflects": true,
|
40893
41022
|
"inheritedFrom": {
|
40894
41023
|
"name": "Popover",
|
40895
41024
|
"module": "components/popover/popover.component.js"
|
@@ -40897,9 +41026,14 @@
|
|
40897
41026
|
},
|
40898
41027
|
{
|
40899
41028
|
"kind": "field",
|
40900
|
-
"name": "
|
40901
|
-
"
|
40902
|
-
|
41029
|
+
"name": "size",
|
41030
|
+
"type": {
|
41031
|
+
"text": "boolean"
|
41032
|
+
},
|
41033
|
+
"description": "Changes the size of popover to keep it in view when scrolling.",
|
41034
|
+
"default": "false",
|
41035
|
+
"attribute": "size",
|
41036
|
+
"reflects": true,
|
40903
41037
|
"inheritedFrom": {
|
40904
41038
|
"name": "Popover",
|
40905
41039
|
"module": "components/popover/popover.component.js"
|
@@ -40907,9 +41041,14 @@
|
|
40907
41041
|
},
|
40908
41042
|
{
|
40909
41043
|
"kind": "field",
|
40910
|
-
"name": "
|
40911
|
-
"
|
40912
|
-
|
41044
|
+
"name": "zIndex",
|
41045
|
+
"type": {
|
41046
|
+
"text": "number"
|
41047
|
+
},
|
41048
|
+
"description": "The z-index of the popover.",
|
41049
|
+
"default": "1000",
|
41050
|
+
"attribute": "z-index",
|
41051
|
+
"reflects": true,
|
40913
41052
|
"inheritedFrom": {
|
40914
41053
|
"name": "Popover",
|
40915
41054
|
"module": "components/popover/popover.component.js"
|
@@ -40917,9 +41056,14 @@
|
|
40917
41056
|
},
|
40918
41057
|
{
|
40919
41058
|
"kind": "field",
|
40920
|
-
"name": "
|
40921
|
-
"
|
40922
|
-
|
41059
|
+
"name": "appendTo",
|
41060
|
+
"type": {
|
41061
|
+
"text": "string | undefined"
|
41062
|
+
},
|
41063
|
+
"description": "Element ID that the popover append to.",
|
41064
|
+
"default": "''",
|
41065
|
+
"attribute": "append-to",
|
41066
|
+
"reflects": true,
|
40923
41067
|
"inheritedFrom": {
|
40924
41068
|
"name": "Popover",
|
40925
41069
|
"module": "components/popover/popover.component.js"
|
@@ -40927,9 +41071,14 @@
|
|
40927
41071
|
},
|
40928
41072
|
{
|
40929
41073
|
"kind": "field",
|
40930
|
-
"name": "
|
40931
|
-
"
|
40932
|
-
|
41074
|
+
"name": "closeButtonAriaLabel",
|
41075
|
+
"type": {
|
41076
|
+
"text": "string | null"
|
41077
|
+
},
|
41078
|
+
"default": "null",
|
41079
|
+
"description": "aria-label attribute to be set for close button accessibility.",
|
41080
|
+
"attribute": "close-button-aria-label",
|
41081
|
+
"reflects": true,
|
40933
41082
|
"inheritedFrom": {
|
40934
41083
|
"name": "Popover",
|
40935
41084
|
"module": "components/popover/popover.component.js"
|
@@ -40937,9 +41086,14 @@
|
|
40937
41086
|
},
|
40938
41087
|
{
|
40939
41088
|
"kind": "field",
|
40940
|
-
"name": "
|
40941
|
-
"
|
40942
|
-
|
41089
|
+
"name": "strategy",
|
41090
|
+
"type": {
|
41091
|
+
"text": "'absolute' | 'fixed'"
|
41092
|
+
},
|
41093
|
+
"description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
|
41094
|
+
"default": "absolute",
|
41095
|
+
"attribute": "strategy",
|
41096
|
+
"reflects": true,
|
40943
41097
|
"inheritedFrom": {
|
40944
41098
|
"name": "Popover",
|
40945
41099
|
"module": "components/popover/popover.component.js"
|
@@ -40947,9 +41101,14 @@
|
|
40947
41101
|
},
|
40948
41102
|
{
|
40949
41103
|
"kind": "field",
|
40950
|
-
"name": "
|
40951
|
-
"
|
40952
|
-
|
41104
|
+
"name": "role",
|
41105
|
+
"type": {
|
41106
|
+
"text": "HTMLElement['role']"
|
41107
|
+
},
|
41108
|
+
"description": "Role of the popover",
|
41109
|
+
"default": "dialog",
|
41110
|
+
"attribute": "role",
|
41111
|
+
"reflects": true,
|
40953
41112
|
"inheritedFrom": {
|
40954
41113
|
"name": "Popover",
|
40955
41114
|
"module": "components/popover/popover.component.js"
|
@@ -40957,9 +41116,14 @@
|
|
40957
41116
|
},
|
40958
41117
|
{
|
40959
41118
|
"kind": "field",
|
40960
|
-
"name": "
|
40961
|
-
"
|
40962
|
-
|
41119
|
+
"name": "ariaLabelledby",
|
41120
|
+
"type": {
|
41121
|
+
"text": "string | null"
|
41122
|
+
},
|
41123
|
+
"default": "null",
|
41124
|
+
"description": "aria-labelledby for an interactive popover only, defaults to the trigger component id.\nUsed in nested cases where the triggerComponent isn't the actual button.",
|
41125
|
+
"attribute": "aria-labelledby",
|
41126
|
+
"reflects": true,
|
40963
41127
|
"inheritedFrom": {
|
40964
41128
|
"name": "Popover",
|
40965
41129
|
"module": "components/popover/popover.component.js"
|
@@ -40967,9 +41131,14 @@
|
|
40967
41131
|
},
|
40968
41132
|
{
|
40969
41133
|
"kind": "field",
|
40970
|
-
"name": "
|
40971
|
-
"
|
40972
|
-
|
41134
|
+
"name": "ariaDescribedby",
|
41135
|
+
"type": {
|
41136
|
+
"text": "string | null"
|
41137
|
+
},
|
41138
|
+
"default": "null",
|
41139
|
+
"description": "aria-describedby of the popover.",
|
41140
|
+
"attribute": "aria-describedby",
|
41141
|
+
"reflects": true,
|
40973
41142
|
"inheritedFrom": {
|
40974
41143
|
"name": "Popover",
|
40975
41144
|
"module": "components/popover/popover.component.js"
|
@@ -40977,15 +41146,14 @@
|
|
40977
41146
|
},
|
40978
41147
|
{
|
40979
41148
|
"kind": "field",
|
40980
|
-
"name": "
|
40981
|
-
"
|
40982
|
-
|
40983
|
-
|
40984
|
-
|
40985
|
-
|
40986
|
-
|
40987
|
-
|
40988
|
-
],
|
41149
|
+
"name": "disableAriaExpanded",
|
41150
|
+
"type": {
|
41151
|
+
"text": "boolean"
|
41152
|
+
},
|
41153
|
+
"description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
41154
|
+
"default": "false",
|
41155
|
+
"attribute": "disable-aria-expanded",
|
41156
|
+
"reflects": true,
|
40989
41157
|
"inheritedFrom": {
|
40990
41158
|
"name": "Popover",
|
40991
41159
|
"module": "components/popover/popover.component.js"
|
@@ -40993,1004 +41161,836 @@
|
|
40993
41161
|
},
|
40994
41162
|
{
|
40995
41163
|
"kind": "field",
|
40996
|
-
"name": "
|
40997
|
-
"
|
41164
|
+
"name": "disableAriaHasPopup",
|
41165
|
+
"type": {
|
41166
|
+
"text": "boolean"
|
41167
|
+
},
|
41168
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
41169
|
+
"default": "false",
|
41170
|
+
"attribute": "disable-aria-haspopup",
|
41171
|
+
"reflects": true,
|
40998
41172
|
"inheritedFrom": {
|
40999
41173
|
"name": "Popover",
|
41000
41174
|
"module": "components/popover/popover.component.js"
|
41001
41175
|
}
|
41002
|
-
}
|
41003
|
-
],
|
41004
|
-
"events": [
|
41005
|
-
{
|
41006
|
-
"description": "(React: onShown) This event is dispatched when the tooltip is shown",
|
41007
|
-
"name": "shown",
|
41008
|
-
"reactName": "onShown",
|
41009
|
-
"inheritedFrom": {
|
41010
|
-
"name": "Popover",
|
41011
|
-
"module": "src/components/popover/popover.component.ts"
|
41012
|
-
}
|
41013
41176
|
},
|
41014
41177
|
{
|
41015
|
-
"
|
41016
|
-
"name": "
|
41017
|
-
"
|
41178
|
+
"kind": "field",
|
41179
|
+
"name": "keepConnectedTooltipClosed",
|
41180
|
+
"type": {
|
41181
|
+
"text": "boolean"
|
41182
|
+
},
|
41183
|
+
"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.",
|
41184
|
+
"attribute": "keep-connected-tooltip-closed",
|
41185
|
+
"reflects": true,
|
41018
41186
|
"inheritedFrom": {
|
41019
41187
|
"name": "Popover",
|
41020
|
-
"module": "
|
41188
|
+
"module": "components/popover/popover.component.js"
|
41021
41189
|
}
|
41022
41190
|
},
|
41023
41191
|
{
|
41024
|
-
"
|
41025
|
-
"name": "
|
41026
|
-
"
|
41192
|
+
"kind": "field",
|
41193
|
+
"name": "arrowElement",
|
41194
|
+
"type": {
|
41195
|
+
"text": "HTMLElement | null"
|
41196
|
+
},
|
41197
|
+
"privacy": "public",
|
41198
|
+
"default": "null",
|
41027
41199
|
"inheritedFrom": {
|
41028
41200
|
"name": "Popover",
|
41029
|
-
"module": "
|
41201
|
+
"module": "components/popover/popover.component.js"
|
41030
41202
|
}
|
41031
41203
|
},
|
41032
41204
|
{
|
41033
|
-
"
|
41034
|
-
"name": "
|
41035
|
-
"
|
41205
|
+
"kind": "field",
|
41206
|
+
"name": "triggerElement",
|
41207
|
+
"type": {
|
41208
|
+
"text": "HTMLElement | null"
|
41209
|
+
},
|
41210
|
+
"privacy": "public",
|
41211
|
+
"default": "null",
|
41036
41212
|
"inheritedFrom": {
|
41037
41213
|
"name": "Popover",
|
41038
|
-
"module": "
|
41214
|
+
"module": "components/popover/popover.component.js"
|
41039
41215
|
}
|
41040
|
-
}
|
41041
|
-
],
|
41042
|
-
"attributes": [
|
41043
|
-
{
|
41044
|
-
"name": "tooltip-type",
|
41045
|
-
"type": {
|
41046
|
-
"text": "TooltipType"
|
41047
|
-
},
|
41048
|
-
"description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
|
41049
|
-
"default": "'description'",
|
41050
|
-
"fieldName": "tooltipType"
|
41051
41216
|
},
|
41052
41217
|
{
|
41053
|
-
"
|
41054
|
-
"
|
41055
|
-
|
41056
|
-
},
|
41057
|
-
"default": "true",
|
41058
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
41059
|
-
"fieldName": "shouldFocusTrapWrap",
|
41218
|
+
"kind": "field",
|
41219
|
+
"name": "storeConnectedTooltip",
|
41220
|
+
"privacy": "private",
|
41060
41221
|
"inheritedFrom": {
|
41061
41222
|
"name": "Popover",
|
41062
|
-
"module": "
|
41223
|
+
"module": "components/popover/popover.component.js"
|
41063
41224
|
}
|
41064
41225
|
},
|
41065
41226
|
{
|
41066
|
-
"
|
41067
|
-
"
|
41068
|
-
|
41069
|
-
},
|
41070
|
-
"default": "''",
|
41071
|
-
"description": "The unique ID of the popover.",
|
41072
|
-
"fieldName": "id",
|
41227
|
+
"kind": "method",
|
41228
|
+
"name": "setupTriggerRelatedElement",
|
41229
|
+
"privacy": "private",
|
41073
41230
|
"inheritedFrom": {
|
41074
41231
|
"name": "Popover",
|
41075
|
-
"module": "
|
41232
|
+
"module": "components/popover/popover.component.js"
|
41076
41233
|
}
|
41077
41234
|
},
|
41078
41235
|
{
|
41079
|
-
"
|
41080
|
-
"
|
41081
|
-
|
41082
|
-
},
|
41083
|
-
"default": "''",
|
41084
|
-
"description": "The ID of the element that triggers the popover.\nThis attribute is required for the popover to work.",
|
41085
|
-
"fieldName": "triggerID",
|
41236
|
+
"kind": "field",
|
41237
|
+
"name": "cleanupTrigger",
|
41238
|
+
"privacy": "private",
|
41086
41239
|
"inheritedFrom": {
|
41087
41240
|
"name": "Popover",
|
41088
|
-
"module": "
|
41241
|
+
"module": "components/popover/popover.component.js"
|
41089
41242
|
}
|
41090
41243
|
},
|
41091
41244
|
{
|
41092
|
-
"
|
41093
|
-
"
|
41094
|
-
|
41095
|
-
|
41096
|
-
"description": "Determines the events that cause the Popover to show.\nMultiple event names should be separated by spaces.\nFor example to allow both click and hover, use 'click mouseenter' as the trigger.\n- **click**\n- **mouseenter**\n- **focusin**\n- **manual**",
|
41097
|
-
"default": "click",
|
41098
|
-
"fieldName": "trigger",
|
41245
|
+
"kind": "field",
|
41246
|
+
"name": "setupTriggerListeners",
|
41247
|
+
"privacy": "private",
|
41248
|
+
"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.",
|
41099
41249
|
"inheritedFrom": {
|
41100
41250
|
"name": "Popover",
|
41101
|
-
"module": "
|
41251
|
+
"module": "components/popover/popover.component.js"
|
41102
41252
|
}
|
41103
41253
|
},
|
41104
41254
|
{
|
41105
|
-
"
|
41106
|
-
"
|
41107
|
-
|
41108
|
-
|
41109
|
-
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
41110
|
-
"default": "bottom",
|
41111
|
-
"fieldName": "placement",
|
41255
|
+
"kind": "field",
|
41256
|
+
"name": "removeTriggerListeners",
|
41257
|
+
"privacy": "private",
|
41258
|
+
"description": "Removes the trigger related event listeners.",
|
41112
41259
|
"inheritedFrom": {
|
41113
41260
|
"name": "Popover",
|
41114
|
-
"module": "
|
41261
|
+
"module": "components/popover/popover.component.js"
|
41115
41262
|
}
|
41116
41263
|
},
|
41117
41264
|
{
|
41118
|
-
"
|
41119
|
-
"
|
41120
|
-
|
41121
|
-
|
41122
|
-
"description": "Color of the popover\n- **tonal**\n- **contrast**",
|
41123
|
-
"default": "tonal",
|
41124
|
-
"fieldName": "color",
|
41265
|
+
"kind": "field",
|
41266
|
+
"name": "removeAllListeners",
|
41267
|
+
"privacy": "private",
|
41268
|
+
"description": "Removes all event listeners related to the popover.",
|
41125
41269
|
"inheritedFrom": {
|
41126
41270
|
"name": "Popover",
|
41127
|
-
"module": "
|
41271
|
+
"module": "components/popover/popover.component.js"
|
41128
41272
|
}
|
41129
41273
|
},
|
41130
41274
|
{
|
41131
|
-
"
|
41132
|
-
"
|
41133
|
-
|
41134
|
-
|
41135
|
-
"
|
41136
|
-
|
41137
|
-
|
41275
|
+
"kind": "field",
|
41276
|
+
"name": "onOutsidePopoverClick",
|
41277
|
+
"privacy": "protected",
|
41278
|
+
"description": "Handles the outside click event to close the popover.",
|
41279
|
+
"parameters": [
|
41280
|
+
{
|
41281
|
+
"description": "The mouse event.",
|
41282
|
+
"name": "event"
|
41283
|
+
}
|
41284
|
+
],
|
41138
41285
|
"inheritedFrom": {
|
41139
41286
|
"name": "Popover",
|
41140
|
-
"module": "
|
41287
|
+
"module": "components/popover/popover.component.js"
|
41141
41288
|
}
|
41142
|
-
},
|
41143
|
-
{
|
41144
|
-
"
|
41145
|
-
"
|
41146
|
-
|
41147
|
-
|
41148
|
-
"
|
41149
|
-
|
41150
|
-
|
41289
|
+
},
|
41290
|
+
{
|
41291
|
+
"kind": "field",
|
41292
|
+
"name": "onEscapeKeydown",
|
41293
|
+
"privacy": "private",
|
41294
|
+
"description": "Handles the escape keydown event to close the popover.\n\nThis method is attached to the document.",
|
41295
|
+
"parameters": [
|
41296
|
+
{
|
41297
|
+
"description": "The keyboard event.",
|
41298
|
+
"name": "event"
|
41299
|
+
}
|
41300
|
+
],
|
41151
41301
|
"inheritedFrom": {
|
41152
41302
|
"name": "Popover",
|
41153
|
-
"module": "
|
41303
|
+
"module": "components/popover/popover.component.js"
|
41154
41304
|
}
|
41155
41305
|
},
|
41156
41306
|
{
|
41157
|
-
"
|
41158
|
-
"
|
41159
|
-
|
41160
|
-
|
41161
|
-
"
|
41162
|
-
|
41163
|
-
|
41307
|
+
"kind": "field",
|
41308
|
+
"name": "onPopoverFocusOut",
|
41309
|
+
"privacy": "private",
|
41310
|
+
"description": "Handles the popover focus out event.",
|
41311
|
+
"parameters": [
|
41312
|
+
{
|
41313
|
+
"description": "The focus event.",
|
41314
|
+
"name": "event"
|
41315
|
+
}
|
41316
|
+
],
|
41164
41317
|
"inheritedFrom": {
|
41165
41318
|
"name": "Popover",
|
41166
|
-
"module": "
|
41319
|
+
"module": "components/popover/popover.component.js"
|
41167
41320
|
}
|
41168
41321
|
},
|
41169
41322
|
{
|
41170
|
-
"
|
41171
|
-
"
|
41172
|
-
|
41173
|
-
|
41174
|
-
|
41175
|
-
|
41176
|
-
|
41323
|
+
"kind": "method",
|
41324
|
+
"name": "isOpenUpdated",
|
41325
|
+
"privacy": "protected",
|
41326
|
+
"parameters": [
|
41327
|
+
{
|
41328
|
+
"name": "oldValue",
|
41329
|
+
"type": {
|
41330
|
+
"text": "boolean"
|
41331
|
+
},
|
41332
|
+
"description": "The old value of the visible property."
|
41333
|
+
},
|
41334
|
+
{
|
41335
|
+
"name": "newValue",
|
41336
|
+
"type": {
|
41337
|
+
"text": "boolean"
|
41338
|
+
},
|
41339
|
+
"description": "The new value of the visible property."
|
41340
|
+
}
|
41341
|
+
],
|
41342
|
+
"description": "Handles the popover visibility change and position the popover.\nHandles the exit event to close the popover.",
|
41177
41343
|
"inheritedFrom": {
|
41178
41344
|
"name": "Popover",
|
41179
|
-
"module": "
|
41345
|
+
"module": "components/popover/popover.component.js"
|
41180
41346
|
}
|
41181
41347
|
},
|
41182
41348
|
{
|
41183
|
-
"
|
41184
|
-
"
|
41185
|
-
|
41186
|
-
|
41187
|
-
"description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
|
41188
|
-
"default": "undefined",
|
41189
|
-
"fieldName": "boundaryPadding",
|
41349
|
+
"kind": "field",
|
41350
|
+
"name": "handleMouseEnter",
|
41351
|
+
"privacy": "private",
|
41352
|
+
"description": "Handles mouse enter event on the trigger element.\nThis method sets the `isHovered` flag to true and shows the popover",
|
41190
41353
|
"inheritedFrom": {
|
41191
41354
|
"name": "Popover",
|
41192
|
-
"module": "
|
41355
|
+
"module": "components/popover/popover.component.js"
|
41193
41356
|
}
|
41194
41357
|
},
|
41195
41358
|
{
|
41196
|
-
"
|
41197
|
-
"
|
41198
|
-
|
41199
|
-
|
41200
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
41201
|
-
"default": "false",
|
41202
|
-
"fieldName": "focusTrap",
|
41359
|
+
"kind": "field",
|
41360
|
+
"name": "handleMouseLeave",
|
41361
|
+
"privacy": "private",
|
41362
|
+
"description": "Handles mouse leave event on the trigger element.\nThis method sets the `isHovered` flag to false and starts the close delay\ntimer to hide the popover.",
|
41203
41363
|
"inheritedFrom": {
|
41204
41364
|
"name": "Popover",
|
41205
|
-
"module": "
|
41365
|
+
"module": "components/popover/popover.component.js"
|
41206
41366
|
}
|
41207
41367
|
},
|
41208
41368
|
{
|
41209
|
-
"
|
41210
|
-
"
|
41211
|
-
|
41212
|
-
|
41213
|
-
"description": "Prevent outside scrolling when popover is shown.",
|
41214
|
-
"default": "false",
|
41215
|
-
"fieldName": "preventScroll",
|
41369
|
+
"kind": "field",
|
41370
|
+
"name": "handleFocusOut",
|
41371
|
+
"privacy": "private",
|
41372
|
+
"description": "Handles focus out event on the trigger element.\nThis method checks if the popover is not hovered and hides the popover.\nIf the popover is hovered, it will not hide the popover.",
|
41216
41373
|
"inheritedFrom": {
|
41217
41374
|
"name": "Popover",
|
41218
|
-
"module": "
|
41375
|
+
"module": "components/popover/popover.component.js"
|
41219
41376
|
}
|
41220
41377
|
},
|
41221
41378
|
{
|
41222
|
-
"
|
41223
|
-
"
|
41224
|
-
|
41225
|
-
|
41226
|
-
"description": "The arrow visibility of the popover.",
|
41227
|
-
"default": "false",
|
41228
|
-
"fieldName": "showArrow",
|
41379
|
+
"kind": "field",
|
41380
|
+
"name": "handleFocusIn",
|
41381
|
+
"privacy": "private",
|
41382
|
+
"description": "Handles focus in event on the trigger element.\nThis method checks if the trigger element has visible focus or is being hovered.",
|
41229
41383
|
"inheritedFrom": {
|
41230
41384
|
"name": "Popover",
|
41231
|
-
"module": "
|
41385
|
+
"module": "components/popover/popover.component.js"
|
41232
41386
|
}
|
41233
41387
|
},
|
41234
41388
|
{
|
41235
|
-
"
|
41236
|
-
"
|
41237
|
-
|
41238
|
-
|
41239
|
-
"description": "The close button visibility of the popover.",
|
41240
|
-
"default": "false",
|
41241
|
-
"fieldName": "closeButton",
|
41389
|
+
"kind": "field",
|
41390
|
+
"name": "startCloseDelay",
|
41391
|
+
"privacy": "private",
|
41392
|
+
"description": "Starts the close delay timer.\nIf the popover is not interactive, it will close the popover after the delay.",
|
41242
41393
|
"inheritedFrom": {
|
41243
41394
|
"name": "Popover",
|
41244
|
-
"module": "
|
41395
|
+
"module": "components/popover/popover.component.js"
|
41245
41396
|
}
|
41246
41397
|
},
|
41247
41398
|
{
|
41248
|
-
"
|
41249
|
-
"
|
41250
|
-
|
41251
|
-
|
41252
|
-
"description": "Determines whether the popover is interactive.\nMake sure to set focusTrap to true to keep the focus inside the popover in case necessary.\nSetting interactive to true will not automatically set focusTrap!",
|
41253
|
-
"default": "false",
|
41254
|
-
"fieldName": "interactive",
|
41399
|
+
"kind": "field",
|
41400
|
+
"name": "cancelCloseDelay",
|
41401
|
+
"privacy": "private",
|
41402
|
+
"description": "Cancels the close delay timer.",
|
41255
41403
|
"inheritedFrom": {
|
41256
41404
|
"name": "Popover",
|
41257
|
-
"module": "
|
41405
|
+
"module": "components/popover/popover.component.js"
|
41258
41406
|
}
|
41259
41407
|
},
|
41260
41408
|
{
|
41261
|
-
"
|
41262
|
-
"
|
41263
|
-
|
41264
|
-
|
41265
|
-
"description": "The delay of the show/hide popover.",
|
41266
|
-
"default": "0,0",
|
41267
|
-
"fieldName": "delay",
|
41409
|
+
"kind": "field",
|
41410
|
+
"name": "show",
|
41411
|
+
"privacy": "public",
|
41412
|
+
"description": "Shows the popover.",
|
41268
41413
|
"inheritedFrom": {
|
41269
41414
|
"name": "Popover",
|
41270
|
-
"module": "
|
41415
|
+
"module": "components/popover/popover.component.js"
|
41271
41416
|
}
|
41272
41417
|
},
|
41273
41418
|
{
|
41274
|
-
"
|
41275
|
-
"
|
41276
|
-
|
41277
|
-
|
41278
|
-
"description": "Hide popover on escape key press.",
|
41279
|
-
"default": "false",
|
41280
|
-
"fieldName": "hideOnEscape",
|
41419
|
+
"kind": "field",
|
41420
|
+
"name": "hide",
|
41421
|
+
"privacy": "public",
|
41422
|
+
"description": "Hides the popover.",
|
41281
41423
|
"inheritedFrom": {
|
41282
41424
|
"name": "Popover",
|
41283
|
-
"module": "
|
41425
|
+
"module": "components/popover/popover.component.js"
|
41284
41426
|
}
|
41285
41427
|
},
|
41286
41428
|
{
|
41287
|
-
"
|
41288
|
-
"
|
41289
|
-
|
41290
|
-
|
41291
|
-
"description": "Propagates the event, when the escape key is pressed (only when pressed inside the popover)\nIf true, the escape key press close the popover and will propagate the keydown event.\nIf false, the escape key press will close the popover but will not propagate the keydown event.\n(set to false to prevent the event from bubbling up to the document).\n\nThis only works when `hideOnEscape` is true.",
|
41292
|
-
"default": "false",
|
41293
|
-
"fieldName": "propagateEventOnEscape",
|
41429
|
+
"kind": "field",
|
41430
|
+
"name": "togglePopoverVisible",
|
41431
|
+
"privacy": "public",
|
41432
|
+
"description": "Toggles the popover visibility.",
|
41294
41433
|
"inheritedFrom": {
|
41295
41434
|
"name": "Popover",
|
41296
|
-
"module": "
|
41435
|
+
"module": "components/popover/popover.component.js"
|
41297
41436
|
}
|
41298
41437
|
},
|
41299
41438
|
{
|
41300
|
-
"
|
41301
|
-
"
|
41302
|
-
|
41303
|
-
|
41304
|
-
"description": "Hide popover on blur.",
|
41305
|
-
"default": "false",
|
41306
|
-
"fieldName": "hideOnBlur",
|
41439
|
+
"kind": "field",
|
41440
|
+
"name": "positionPopover",
|
41441
|
+
"privacy": "private",
|
41442
|
+
"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.",
|
41307
41443
|
"inheritedFrom": {
|
41308
41444
|
"name": "Popover",
|
41309
|
-
"module": "
|
41445
|
+
"module": "components/popover/popover.component.js"
|
41310
41446
|
}
|
41311
41447
|
},
|
41312
41448
|
{
|
41313
|
-
"
|
41314
|
-
"
|
41315
|
-
|
41316
|
-
|
41317
|
-
"
|
41318
|
-
|
41319
|
-
|
41449
|
+
"kind": "field",
|
41450
|
+
"name": "findClosestPopover",
|
41451
|
+
"privacy": "protected",
|
41452
|
+
"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.",
|
41453
|
+
"parameters": [
|
41454
|
+
{
|
41455
|
+
"description": "The element to start searching from.",
|
41456
|
+
"name": "element"
|
41457
|
+
}
|
41458
|
+
],
|
41320
41459
|
"inheritedFrom": {
|
41321
41460
|
"name": "Popover",
|
41322
|
-
"module": "
|
41461
|
+
"module": "components/popover/popover.component.js"
|
41323
41462
|
}
|
41324
41463
|
},
|
41325
41464
|
{
|
41326
|
-
"
|
41327
|
-
"
|
41328
|
-
|
41329
|
-
},
|
41330
|
-
"description": "The focus back to trigger after the popover hide.",
|
41331
|
-
"default": "false",
|
41332
|
-
"fieldName": "focusBackToTrigger",
|
41465
|
+
"kind": "field",
|
41466
|
+
"name": "utils",
|
41467
|
+
"default": "new PopoverUtils(this)",
|
41333
41468
|
"inheritedFrom": {
|
41334
41469
|
"name": "Popover",
|
41335
|
-
"module": "
|
41470
|
+
"module": "components/popover/popover.component.js"
|
41336
41471
|
}
|
41337
|
-
}
|
41472
|
+
}
|
41473
|
+
],
|
41474
|
+
"events": [
|
41338
41475
|
{
|
41339
|
-
"
|
41340
|
-
"
|
41341
|
-
|
41342
|
-
},
|
41343
|
-
"description": "Determines whether the popover with backdrop.\nOther than popover and trigger element, the rest of the screen will be covered with a backdrop.",
|
41344
|
-
"default": "false",
|
41345
|
-
"fieldName": "backdrop",
|
41476
|
+
"description": "(React: onShown) This event is dispatched when the tooltip is shown",
|
41477
|
+
"name": "shown",
|
41478
|
+
"reactName": "onShown",
|
41346
41479
|
"inheritedFrom": {
|
41347
41480
|
"name": "Popover",
|
41348
41481
|
"module": "src/components/popover/popover.component.ts"
|
41349
41482
|
}
|
41350
41483
|
},
|
41351
41484
|
{
|
41352
|
-
"
|
41353
|
-
"
|
41354
|
-
|
41355
|
-
},
|
41356
|
-
"description": "Changes the placement of popover to keep it in view when scrolling.",
|
41357
|
-
"default": "true",
|
41358
|
-
"fieldName": "flip",
|
41485
|
+
"description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
|
41486
|
+
"name": "hidden",
|
41487
|
+
"reactName": "onHidden",
|
41359
41488
|
"inheritedFrom": {
|
41360
41489
|
"name": "Popover",
|
41361
41490
|
"module": "src/components/popover/popover.component.ts"
|
41362
41491
|
}
|
41363
41492
|
},
|
41364
41493
|
{
|
41365
|
-
"
|
41366
|
-
"
|
41367
|
-
|
41368
|
-
},
|
41369
|
-
"description": "Changes the size of popover to keep it in view when scrolling.",
|
41370
|
-
"default": "false",
|
41371
|
-
"fieldName": "size",
|
41494
|
+
"description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
|
41495
|
+
"name": "created",
|
41496
|
+
"reactName": "onCreated",
|
41372
41497
|
"inheritedFrom": {
|
41373
41498
|
"name": "Popover",
|
41374
41499
|
"module": "src/components/popover/popover.component.ts"
|
41375
41500
|
}
|
41376
41501
|
},
|
41377
41502
|
{
|
41378
|
-
"
|
41379
|
-
"
|
41380
|
-
|
41381
|
-
},
|
41382
|
-
"description": "The z-index of the popover.",
|
41383
|
-
"default": "1000",
|
41384
|
-
"fieldName": "zIndex",
|
41503
|
+
"description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
|
41504
|
+
"name": "destroyed",
|
41505
|
+
"reactName": "onDestroyed",
|
41385
41506
|
"inheritedFrom": {
|
41386
41507
|
"name": "Popover",
|
41387
41508
|
"module": "src/components/popover/popover.component.ts"
|
41388
41509
|
}
|
41389
|
-
}
|
41510
|
+
}
|
41511
|
+
],
|
41512
|
+
"attributes": [
|
41390
41513
|
{
|
41391
|
-
"name": "
|
41514
|
+
"name": "tooltip-type",
|
41392
41515
|
"type": {
|
41393
|
-
"text": "
|
41516
|
+
"text": "TooltipType"
|
41394
41517
|
},
|
41395
|
-
"description": "
|
41396
|
-
"default": "''",
|
41397
|
-
"fieldName": "
|
41398
|
-
"inheritedFrom": {
|
41399
|
-
"name": "Popover",
|
41400
|
-
"module": "src/components/popover/popover.component.ts"
|
41401
|
-
}
|
41518
|
+
"description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
|
41519
|
+
"default": "'description'",
|
41520
|
+
"fieldName": "tooltipType"
|
41402
41521
|
},
|
41403
41522
|
{
|
41404
|
-
"name": "
|
41523
|
+
"name": "should-focus-trap-wrap",
|
41405
41524
|
"type": {
|
41406
|
-
"text": "
|
41525
|
+
"text": "boolean"
|
41407
41526
|
},
|
41408
|
-
"default": "
|
41409
|
-
"description": "
|
41410
|
-
"fieldName": "
|
41527
|
+
"default": "true",
|
41528
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
41529
|
+
"fieldName": "shouldFocusTrapWrap",
|
41411
41530
|
"inheritedFrom": {
|
41412
41531
|
"name": "Popover",
|
41413
41532
|
"module": "src/components/popover/popover.component.ts"
|
41414
41533
|
}
|
41415
41534
|
},
|
41416
41535
|
{
|
41417
|
-
"name": "
|
41536
|
+
"name": "id",
|
41418
41537
|
"type": {
|
41419
|
-
"text": "
|
41538
|
+
"text": "string"
|
41420
41539
|
},
|
41421
|
-
"
|
41422
|
-
"
|
41423
|
-
"fieldName": "
|
41540
|
+
"default": "''",
|
41541
|
+
"description": "The unique ID of the popover.",
|
41542
|
+
"fieldName": "id",
|
41424
41543
|
"inheritedFrom": {
|
41425
41544
|
"name": "Popover",
|
41426
41545
|
"module": "src/components/popover/popover.component.ts"
|
41427
41546
|
}
|
41428
41547
|
},
|
41429
41548
|
{
|
41430
|
-
"name": "
|
41549
|
+
"name": "triggerID",
|
41431
41550
|
"type": {
|
41432
|
-
"text": "
|
41551
|
+
"text": "string"
|
41433
41552
|
},
|
41434
|
-
"
|
41435
|
-
"
|
41436
|
-
"fieldName": "
|
41553
|
+
"default": "''",
|
41554
|
+
"description": "The ID of the element that triggers the popover.\nThis attribute is required for the popover to work.",
|
41555
|
+
"fieldName": "triggerID",
|
41437
41556
|
"inheritedFrom": {
|
41438
41557
|
"name": "Popover",
|
41439
41558
|
"module": "src/components/popover/popover.component.ts"
|
41440
41559
|
}
|
41441
41560
|
},
|
41442
41561
|
{
|
41443
|
-
"name": "
|
41562
|
+
"name": "trigger",
|
41444
41563
|
"type": {
|
41445
|
-
"text": "
|
41564
|
+
"text": "PopoverTrigger"
|
41446
41565
|
},
|
41447
|
-
"
|
41448
|
-
"
|
41449
|
-
"fieldName": "
|
41566
|
+
"description": "Determines the events that cause the Popover to show.\nMultiple event names should be separated by spaces.\nFor example to allow both click and hover, use 'click mouseenter' as the trigger.\n- **click**\n- **mouseenter**\n- **focusin**\n- **manual**",
|
41567
|
+
"default": "click",
|
41568
|
+
"fieldName": "trigger",
|
41450
41569
|
"inheritedFrom": {
|
41451
41570
|
"name": "Popover",
|
41452
41571
|
"module": "src/components/popover/popover.component.ts"
|
41453
41572
|
}
|
41454
41573
|
},
|
41455
41574
|
{
|
41456
|
-
"name": "
|
41575
|
+
"name": "placement",
|
41457
41576
|
"type": {
|
41458
|
-
"text": "
|
41577
|
+
"text": "PopoverPlacement"
|
41459
41578
|
},
|
41460
|
-
"
|
41461
|
-
"
|
41462
|
-
"fieldName": "
|
41579
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
41580
|
+
"default": "bottom",
|
41581
|
+
"fieldName": "placement",
|
41463
41582
|
"inheritedFrom": {
|
41464
41583
|
"name": "Popover",
|
41465
41584
|
"module": "src/components/popover/popover.component.ts"
|
41466
41585
|
}
|
41467
41586
|
},
|
41468
41587
|
{
|
41469
|
-
"name": "
|
41588
|
+
"name": "color",
|
41470
41589
|
"type": {
|
41471
|
-
"text": "
|
41590
|
+
"text": "PopoverColor"
|
41472
41591
|
},
|
41473
|
-
"description": "
|
41474
|
-
"default": "
|
41475
|
-
"fieldName": "
|
41592
|
+
"description": "Color of the popover\n- **tonal**\n- **contrast**",
|
41593
|
+
"default": "tonal",
|
41594
|
+
"fieldName": "color",
|
41476
41595
|
"inheritedFrom": {
|
41477
41596
|
"name": "Popover",
|
41478
41597
|
"module": "src/components/popover/popover.component.ts"
|
41479
41598
|
}
|
41480
41599
|
},
|
41481
41600
|
{
|
41482
|
-
"name": "
|
41601
|
+
"name": "visible",
|
41483
41602
|
"type": {
|
41484
41603
|
"text": "boolean"
|
41485
41604
|
},
|
41486
|
-
"description": "
|
41605
|
+
"description": "The visibility of the popover.",
|
41487
41606
|
"default": "false",
|
41488
|
-
"fieldName": "
|
41607
|
+
"fieldName": "visible",
|
41489
41608
|
"inheritedFrom": {
|
41490
41609
|
"name": "Popover",
|
41491
41610
|
"module": "src/components/popover/popover.component.ts"
|
41492
41611
|
}
|
41493
41612
|
},
|
41494
41613
|
{
|
41495
|
-
"name": "
|
41614
|
+
"name": "offset",
|
41496
41615
|
"type": {
|
41497
|
-
"text": "
|
41616
|
+
"text": "number"
|
41498
41617
|
},
|
41499
|
-
"description": "
|
41500
|
-
"
|
41618
|
+
"description": "The offset of the popover.",
|
41619
|
+
"default": "4",
|
41620
|
+
"fieldName": "offset",
|
41501
41621
|
"inheritedFrom": {
|
41502
41622
|
"name": "Popover",
|
41503
41623
|
"module": "src/components/popover/popover.component.ts"
|
41504
41624
|
}
|
41505
|
-
}
|
41506
|
-
],
|
41507
|
-
"superclass": {
|
41508
|
-
"name": "Popover",
|
41509
|
-
"module": "/src/components/popover/popover.component"
|
41510
|
-
},
|
41511
|
-
"tagName": "mdc-tooltip",
|
41512
|
-
"jsDoc": "/**\n * A tooltip is triggered by mouse hover or by keyboard focus\n * and will disappear upon mouse exit or focus change.\n *\n * Note: Tooltips cannot contain content that can be focused or interacted with.\n *\n * @tagname mdc-tooltip\n *\n * @event shown - (React: onShown) This event is dispatched when the tooltip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the tooltip is hidden\n * @event created - (React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.\n * @cssproperty --mdc-tooltip-padding - The padding of the tooltip.\n * @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.\n * @cssproperty --mdc-tooltip-text-color-contrast - The text color of the tooltip when the color is contrast.\n *\n */",
|
41513
|
-
"customElement": true,
|
41514
|
-
"slots": [
|
41625
|
+
},
|
41515
41626
|
{
|
41516
|
-
"
|
41517
|
-
"
|
41627
|
+
"name": "boundary",
|
41628
|
+
"type": {
|
41629
|
+
"text": "'clippingAncestors' | string"
|
41630
|
+
},
|
41631
|
+
"description": "This describes the clipping element(s) or area that overflow will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
|
41632
|
+
"default": "'clippingAncestors'",
|
41633
|
+
"fieldName": "boundary",
|
41518
41634
|
"inheritedFrom": {
|
41519
41635
|
"name": "Popover",
|
41520
41636
|
"module": "src/components/popover/popover.component.ts"
|
41521
41637
|
}
|
41522
|
-
}
|
41523
|
-
]
|
41524
|
-
}
|
41525
|
-
],
|
41526
|
-
"exports": [
|
41527
|
-
{
|
41528
|
-
"kind": "js",
|
41529
|
-
"name": "default",
|
41530
|
-
"declaration": {
|
41531
|
-
"name": "Tooltip",
|
41532
|
-
"module": "components/tooltip/tooltip.component.js"
|
41533
|
-
}
|
41534
|
-
}
|
41535
|
-
]
|
41536
|
-
},
|
41537
|
-
{
|
41538
|
-
"kind": "javascript-module",
|
41539
|
-
"path": "components/typewriter/typewriter.component.js",
|
41540
|
-
"declarations": [
|
41541
|
-
{
|
41542
|
-
"kind": "class",
|
41543
|
-
"description": "Typewriter component that creates a typewriter effect on text content.\nIt uses the Text component internally, adding a progressive typing effect.\n\nThe `type` attribute allows changing the text style (passed to the internal Text component).\nThe `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).\nThe default tag name is `p`.\n\nThe `speed` attribute controls typing speed in milliseconds per character:\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds\n\nAdvanced features:\n- Dynamic speed adjustment during typing\n- Chunked text addition via addTextChunk() method\n- Instant text addition via addInstantTextChunk() method or instant parameter\n- Mixed instant and animated chunks in queue\n- Continues typing in background tabs\n- Performance optimized for large text\n- maxQueueSize to limit memory usage from excessive queuing\n- event handling for typing completion and content changes\n\nThe component includes accessibility features:\n- Screen readers announce the complete text, not character by character\n- Uses aria-live=\"polite\" for dynamic content updates\n- Sets aria-busy during typing animation",
|
41544
|
-
"name": "Typewriter",
|
41545
|
-
"cssParts": [
|
41546
|
-
{
|
41547
|
-
"description": "Container for the text element",
|
41548
|
-
"name": "container"
|
41549
|
-
},
|
41550
|
-
{
|
41551
|
-
"description": "The text element (forwarded to mdc-text)",
|
41552
|
-
"name": "text"
|
41553
|
-
}
|
41554
|
-
],
|
41555
|
-
"slots": [
|
41556
|
-
{
|
41557
|
-
"description": "Default slot for text content",
|
41558
|
-
"name": ""
|
41559
|
-
}
|
41560
|
-
],
|
41561
|
-
"members": [
|
41562
|
-
{
|
41563
|
-
"kind": "field",
|
41564
|
-
"name": "type",
|
41565
|
-
"type": {
|
41566
|
-
"text": "TextType"
|
41567
|
-
},
|
41568
|
-
"privacy": "public",
|
41569
|
-
"description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
|
41570
|
-
"default": "body-large-regular",
|
41571
|
-
"attribute": "type",
|
41572
|
-
"reflects": true
|
41573
|
-
},
|
41574
|
-
{
|
41575
|
-
"kind": "field",
|
41576
|
-
"name": "tagname",
|
41577
|
-
"type": {
|
41578
|
-
"text": "TagName | undefined"
|
41579
|
-
},
|
41580
|
-
"privacy": "public",
|
41581
|
-
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the internal text element.\n\nAcceptable values include all valid tag names from the Text component.",
|
41582
|
-
"attribute": "tagname",
|
41583
|
-
"reflects": true
|
41584
|
-
},
|
41585
|
-
{
|
41586
|
-
"kind": "field",
|
41587
|
-
"name": "speed",
|
41588
|
-
"type": {
|
41589
|
-
"text": "TypewriterSpeed"
|
41590
|
-
},
|
41591
|
-
"privacy": "public",
|
41592
|
-
"description": "Speed of the typewriter effect in milliseconds per character.\nCan be a string preset or a numeric string in milliseconds.\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds (e.g., '100')",
|
41593
|
-
"default": "'normal' (60ms per character)",
|
41594
|
-
"attribute": "speed",
|
41595
|
-
"reflects": true
|
41596
41638
|
},
|
41597
41639
|
{
|
41598
|
-
"
|
41599
|
-
"name": "maxQueueSize",
|
41640
|
+
"name": "boundary-root",
|
41600
41641
|
"type": {
|
41601
|
-
"text": "
|
41602
|
-
},
|
41603
|
-
"privacy": "public",
|
41604
|
-
"description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
|
41605
|
-
"default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
|
41606
|
-
"attribute": "max-queue-size",
|
41607
|
-
"reflects": true
|
41608
|
-
},
|
41609
|
-
{
|
41610
|
-
"kind": "method",
|
41611
|
-
"name": "createTimeout",
|
41612
|
-
"privacy": "private",
|
41613
|
-
"return": {
|
41614
|
-
"type": {
|
41615
|
-
"text": "number"
|
41616
|
-
}
|
41617
|
-
},
|
41618
|
-
"parameters": [
|
41619
|
-
{
|
41620
|
-
"name": "callback",
|
41621
|
-
"type": {
|
41622
|
-
"text": "() => void"
|
41623
|
-
}
|
41624
|
-
},
|
41625
|
-
{
|
41626
|
-
"name": "delay",
|
41627
|
-
"type": {
|
41628
|
-
"text": "number"
|
41629
|
-
}
|
41630
|
-
}
|
41631
|
-
],
|
41632
|
-
"description": "Helper to create tracked setTimeout that will be cleaned up on disconnect"
|
41633
|
-
},
|
41634
|
-
{
|
41635
|
-
"kind": "method",
|
41636
|
-
"name": "clearAllTimeouts",
|
41637
|
-
"privacy": "private",
|
41638
|
-
"return": {
|
41639
|
-
"type": {
|
41640
|
-
"text": "void"
|
41641
|
-
}
|
41642
|
-
},
|
41643
|
-
"description": "Clear all pending timeouts"
|
41644
|
-
},
|
41645
|
-
{
|
41646
|
-
"kind": "method",
|
41647
|
-
"name": "clearQueue",
|
41648
|
-
"privacy": "public",
|
41649
|
-
"return": {
|
41650
|
-
"type": {
|
41651
|
-
"text": "void"
|
41652
|
-
}
|
41642
|
+
"text": "'viewport' | 'document'"
|
41653
41643
|
},
|
41654
|
-
"description": "
|
41644
|
+
"description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
|
41645
|
+
"default": "'viewport'",
|
41646
|
+
"fieldName": "boundaryRoot",
|
41647
|
+
"inheritedFrom": {
|
41648
|
+
"name": "Popover",
|
41649
|
+
"module": "src/components/popover/popover.component.ts"
|
41650
|
+
}
|
41655
41651
|
},
|
41656
41652
|
{
|
41657
|
-
"
|
41658
|
-
"
|
41659
|
-
|
41660
|
-
"return": {
|
41661
|
-
"type": {
|
41662
|
-
"text": "void"
|
41663
|
-
}
|
41653
|
+
"name": "boundary-padding",
|
41654
|
+
"type": {
|
41655
|
+
"text": "number | undefined"
|
41664
41656
|
},
|
41665
|
-
"
|
41666
|
-
|
41667
|
-
|
41668
|
-
|
41669
|
-
|
41670
|
-
|
41671
|
-
|
41672
|
-
},
|
41673
|
-
{
|
41674
|
-
"name": "speed",
|
41675
|
-
"optional": true,
|
41676
|
-
"type": {
|
41677
|
-
"text": "TypewriterSpeed"
|
41678
|
-
},
|
41679
|
-
"description": "Optional speed override for this chunk"
|
41680
|
-
},
|
41681
|
-
{
|
41682
|
-
"name": "instant",
|
41683
|
-
"optional": true,
|
41684
|
-
"type": {
|
41685
|
-
"text": "boolean"
|
41686
|
-
},
|
41687
|
-
"description": "If true, text appears instantly without animation"
|
41688
|
-
}
|
41689
|
-
],
|
41690
|
-
"description": "Adds a chunk of text to be typed out, optionally with a different speed"
|
41657
|
+
"description": "Virtual padding around the boundary to check for overflow.\nSo the popover will not be placed on top of the edge of the boundary.\n\nDefault works well for most cases, but you can set this to customise it when necessary.",
|
41658
|
+
"default": "undefined",
|
41659
|
+
"fieldName": "boundaryPadding",
|
41660
|
+
"inheritedFrom": {
|
41661
|
+
"name": "Popover",
|
41662
|
+
"module": "src/components/popover/popover.component.ts"
|
41663
|
+
}
|
41691
41664
|
},
|
41692
41665
|
{
|
41693
|
-
"
|
41694
|
-
"
|
41695
|
-
|
41696
|
-
"return": {
|
41697
|
-
"type": {
|
41698
|
-
"text": "void"
|
41699
|
-
}
|
41666
|
+
"name": "focus-trap",
|
41667
|
+
"type": {
|
41668
|
+
"text": "boolean"
|
41700
41669
|
},
|
41701
|
-
"
|
41702
|
-
|
41703
|
-
|
41704
|
-
|
41705
|
-
|
41706
|
-
|
41707
|
-
|
41708
|
-
}
|
41709
|
-
],
|
41710
|
-
"description": "Adds a chunk of text instantly without typing animation"
|
41670
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.",
|
41671
|
+
"default": "false",
|
41672
|
+
"fieldName": "focusTrap",
|
41673
|
+
"inheritedFrom": {
|
41674
|
+
"name": "Popover",
|
41675
|
+
"module": "src/components/popover/popover.component.ts"
|
41676
|
+
}
|
41711
41677
|
},
|
41712
41678
|
{
|
41713
|
-
"
|
41714
|
-
"
|
41715
|
-
|
41716
|
-
"return": {
|
41717
|
-
"type": {
|
41718
|
-
"text": "void"
|
41719
|
-
}
|
41679
|
+
"name": "prevent-scroll",
|
41680
|
+
"type": {
|
41681
|
+
"text": "boolean"
|
41720
41682
|
},
|
41721
|
-
"description": "
|
41683
|
+
"description": "Prevent outside scrolling when popover is shown.",
|
41684
|
+
"default": "false",
|
41685
|
+
"fieldName": "preventScroll",
|
41686
|
+
"inheritedFrom": {
|
41687
|
+
"name": "Popover",
|
41688
|
+
"module": "src/components/popover/popover.component.ts"
|
41689
|
+
}
|
41722
41690
|
},
|
41723
41691
|
{
|
41724
|
-
"
|
41725
|
-
"
|
41726
|
-
|
41727
|
-
"return": {
|
41728
|
-
"type": {
|
41729
|
-
"text": "void"
|
41730
|
-
}
|
41692
|
+
"name": "show-arrow",
|
41693
|
+
"type": {
|
41694
|
+
"text": "boolean"
|
41731
41695
|
},
|
41732
|
-
"description": "
|
41696
|
+
"description": "The arrow visibility of the popover.",
|
41697
|
+
"default": "false",
|
41698
|
+
"fieldName": "showArrow",
|
41699
|
+
"inheritedFrom": {
|
41700
|
+
"name": "Popover",
|
41701
|
+
"module": "src/components/popover/popover.component.ts"
|
41702
|
+
}
|
41733
41703
|
},
|
41734
41704
|
{
|
41735
|
-
"
|
41736
|
-
"
|
41737
|
-
|
41738
|
-
"return": {
|
41739
|
-
"type": {
|
41740
|
-
"text": "number"
|
41741
|
-
}
|
41705
|
+
"name": "close-button",
|
41706
|
+
"type": {
|
41707
|
+
"text": "boolean"
|
41742
41708
|
},
|
41743
|
-
"description": "
|
41709
|
+
"description": "The close button visibility of the popover.",
|
41710
|
+
"default": "false",
|
41711
|
+
"fieldName": "closeButton",
|
41712
|
+
"inheritedFrom": {
|
41713
|
+
"name": "Popover",
|
41714
|
+
"module": "src/components/popover/popover.component.ts"
|
41715
|
+
}
|
41744
41716
|
},
|
41745
41717
|
{
|
41746
|
-
"
|
41747
|
-
"
|
41748
|
-
|
41749
|
-
"return": {
|
41750
|
-
"type": {
|
41751
|
-
"text": "void"
|
41752
|
-
}
|
41718
|
+
"name": "interactive",
|
41719
|
+
"type": {
|
41720
|
+
"text": "boolean"
|
41753
41721
|
},
|
41754
|
-
"description": "
|
41722
|
+
"description": "Determines whether the popover is interactive.\nMake sure to set focusTrap to true to keep the focus inside the popover in case necessary.\nSetting interactive to true will not automatically set focusTrap!",
|
41723
|
+
"default": "false",
|
41724
|
+
"fieldName": "interactive",
|
41725
|
+
"inheritedFrom": {
|
41726
|
+
"name": "Popover",
|
41727
|
+
"module": "src/components/popover/popover.component.ts"
|
41728
|
+
}
|
41755
41729
|
},
|
41756
41730
|
{
|
41757
|
-
"
|
41758
|
-
"
|
41759
|
-
|
41760
|
-
"return": {
|
41761
|
-
"type": {
|
41762
|
-
"text": "void"
|
41763
|
-
}
|
41731
|
+
"name": "delay",
|
41732
|
+
"type": {
|
41733
|
+
"text": "string"
|
41764
41734
|
},
|
41765
|
-
"
|
41766
|
-
|
41767
|
-
|
41768
|
-
|
41769
|
-
|
41770
|
-
|
41771
|
-
|
41772
|
-
}
|
41773
|
-
],
|
41774
|
-
"description": "Starts the typewriter animation"
|
41735
|
+
"description": "The delay of the show/hide popover.",
|
41736
|
+
"default": "0,0",
|
41737
|
+
"fieldName": "delay",
|
41738
|
+
"inheritedFrom": {
|
41739
|
+
"name": "Popover",
|
41740
|
+
"module": "src/components/popover/popover.component.ts"
|
41741
|
+
}
|
41775
41742
|
},
|
41776
41743
|
{
|
41777
|
-
"
|
41778
|
-
"
|
41779
|
-
|
41780
|
-
"return": {
|
41781
|
-
"type": {
|
41782
|
-
"text": "void"
|
41783
|
-
}
|
41744
|
+
"name": "hide-on-escape",
|
41745
|
+
"type": {
|
41746
|
+
"text": "boolean"
|
41784
41747
|
},
|
41785
|
-
"description": "
|
41748
|
+
"description": "Hide popover on escape key press.",
|
41749
|
+
"default": "false",
|
41750
|
+
"fieldName": "hideOnEscape",
|
41751
|
+
"inheritedFrom": {
|
41752
|
+
"name": "Popover",
|
41753
|
+
"module": "src/components/popover/popover.component.ts"
|
41754
|
+
}
|
41786
41755
|
},
|
41787
41756
|
{
|
41788
|
-
"
|
41789
|
-
"
|
41790
|
-
|
41791
|
-
"return": {
|
41792
|
-
"type": {
|
41793
|
-
"text": "void"
|
41794
|
-
}
|
41757
|
+
"name": "propagate-event-on-escape",
|
41758
|
+
"type": {
|
41759
|
+
"text": "boolean"
|
41795
41760
|
},
|
41796
|
-
"description": "
|
41797
|
-
|
41798
|
-
|
41799
|
-
|
41761
|
+
"description": "Propagates the event, when the escape key is pressed (only when pressed inside the popover)\nIf true, the escape key press close the popover and will propagate the keydown event.\nIf false, the escape key press will close the popover but will not propagate the keydown event.\n(set to false to prevent the event from bubbling up to the document).\n\nThis only works when `hideOnEscape` is true.",
|
41762
|
+
"default": "false",
|
41763
|
+
"fieldName": "propagateEventOnEscape",
|
41764
|
+
"inheritedFrom": {
|
41765
|
+
"name": "Popover",
|
41766
|
+
"module": "src/components/popover/popover.component.ts"
|
41767
|
+
}
|
41768
|
+
},
|
41800
41769
|
{
|
41770
|
+
"name": "hide-on-blur",
|
41801
41771
|
"type": {
|
41802
|
-
"text": "
|
41772
|
+
"text": "boolean"
|
41773
|
+
},
|
41774
|
+
"description": "Hide popover on blur.",
|
41775
|
+
"default": "false",
|
41776
|
+
"fieldName": "hideOnBlur",
|
41777
|
+
"inheritedFrom": {
|
41778
|
+
"name": "Popover",
|
41779
|
+
"module": "src/components/popover/popover.component.ts"
|
41803
41780
|
}
|
41804
41781
|
},
|
41805
41782
|
{
|
41806
|
-
"
|
41807
|
-
"
|
41808
|
-
|
41783
|
+
"name": "hide-on-outside-click",
|
41784
|
+
"type": {
|
41785
|
+
"text": "boolean"
|
41786
|
+
},
|
41787
|
+
"description": "Hide on outside click of the popover.",
|
41788
|
+
"default": "false",
|
41789
|
+
"fieldName": "hideOnOutsideClick",
|
41790
|
+
"inheritedFrom": {
|
41791
|
+
"name": "Popover",
|
41792
|
+
"module": "src/components/popover/popover.component.ts"
|
41793
|
+
}
|
41809
41794
|
},
|
41810
41795
|
{
|
41811
|
-
"
|
41812
|
-
"
|
41813
|
-
|
41814
|
-
|
41815
|
-
|
41816
|
-
|
41796
|
+
"name": "focus-back-to-trigger",
|
41797
|
+
"type": {
|
41798
|
+
"text": "boolean"
|
41799
|
+
},
|
41800
|
+
"description": "The focus back to trigger after the popover hide.",
|
41801
|
+
"default": "false",
|
41802
|
+
"fieldName": "focusBackToTrigger",
|
41803
|
+
"inheritedFrom": {
|
41804
|
+
"name": "Popover",
|
41805
|
+
"module": "src/components/popover/popover.component.ts"
|
41806
|
+
}
|
41807
|
+
},
|
41817
41808
|
{
|
41818
|
-
"name": "
|
41809
|
+
"name": "backdrop",
|
41819
41810
|
"type": {
|
41820
|
-
"text": "
|
41811
|
+
"text": "boolean"
|
41821
41812
|
},
|
41822
|
-
"description": "
|
41823
|
-
"default": "
|
41824
|
-
"fieldName": "
|
41813
|
+
"description": "Determines whether the popover with backdrop.\nOther than popover and trigger element, the rest of the screen will be covered with a backdrop.",
|
41814
|
+
"default": "false",
|
41815
|
+
"fieldName": "backdrop",
|
41816
|
+
"inheritedFrom": {
|
41817
|
+
"name": "Popover",
|
41818
|
+
"module": "src/components/popover/popover.component.ts"
|
41819
|
+
}
|
41825
41820
|
},
|
41826
41821
|
{
|
41827
|
-
"name": "
|
41822
|
+
"name": "flip",
|
41828
41823
|
"type": {
|
41829
|
-
"text": "
|
41824
|
+
"text": "boolean"
|
41830
41825
|
},
|
41831
|
-
"description": "
|
41832
|
-
"
|
41826
|
+
"description": "Changes the placement of popover to keep it in view when scrolling.",
|
41827
|
+
"default": "true",
|
41828
|
+
"fieldName": "flip",
|
41829
|
+
"inheritedFrom": {
|
41830
|
+
"name": "Popover",
|
41831
|
+
"module": "src/components/popover/popover.component.ts"
|
41832
|
+
}
|
41833
41833
|
},
|
41834
41834
|
{
|
41835
|
-
"name": "
|
41835
|
+
"name": "size",
|
41836
41836
|
"type": {
|
41837
|
-
"text": "
|
41837
|
+
"text": "boolean"
|
41838
41838
|
},
|
41839
|
-
"description": "
|
41840
|
-
"default": "
|
41841
|
-
"fieldName": "
|
41839
|
+
"description": "Changes the size of popover to keep it in view when scrolling.",
|
41840
|
+
"default": "false",
|
41841
|
+
"fieldName": "size",
|
41842
|
+
"inheritedFrom": {
|
41843
|
+
"name": "Popover",
|
41844
|
+
"module": "src/components/popover/popover.component.ts"
|
41845
|
+
}
|
41842
41846
|
},
|
41843
41847
|
{
|
41844
|
-
"name": "
|
41848
|
+
"name": "z-index",
|
41845
41849
|
"type": {
|
41846
41850
|
"text": "number"
|
41847
41851
|
},
|
41848
|
-
"description": "
|
41849
|
-
"default": "
|
41850
|
-
"fieldName": "
|
41851
|
-
|
41852
|
-
|
41853
|
-
|
41854
|
-
|
41855
|
-
"module": "/src/models"
|
41856
|
-
},
|
41857
|
-
"tagName": "mdc-typewriter",
|
41858
|
-
"jsDoc": "/**\n * Typewriter component that creates a typewriter effect on text content.\n * It uses the Text component internally, adding a progressive typing effect.\n *\n * The `type` attribute allows changing the text style (passed to the internal Text component).\n * The `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).\n * The default tag name is `p`.\n *\n * The `speed` attribute controls typing speed in milliseconds per character:\n * - 'very-slow' = 240ms per character\n * - 'slow' = 120ms per character\n * - 'normal' = 60ms per character (default)\n * - 'fast' = 20ms per character\n * - 'very-fast' = 1ms per character\n * - Or any numeric string representing milliseconds\n *\n * Advanced features:\n * - Dynamic speed adjustment during typing\n * - Chunked text addition via addTextChunk() method\n * - Instant text addition via addInstantTextChunk() method or instant parameter\n * - Mixed instant and animated chunks in queue\n * - Continues typing in background tabs\n * - Performance optimized for large text\n * - maxQueueSize to limit memory usage from excessive queuing\n * - event handling for typing completion and content changes\n *\n * The component includes accessibility features:\n * - Screen readers announce the complete text, not character by character\n * - Uses aria-live=\"polite\" for dynamic content updates\n * - Sets aria-busy during typing animation\n *\n * @dependency mdc-text\n *\n * @tagname mdc-typewriter\n * @slot - Default slot for text content\n *\n * @csspart container - Container for the text element\n * @csspart text - The text element (forwarded to mdc-text)\n *\n * @event typing-complete - (React: onTypingComplete) Fired when the typewriter finishes typing all content.\n * Detail: \\{ finalContent: string \\}\n * @event change - (React: onChange) Fired when the content of the typewriter changes.\n * Detail: \\{ content: string, isTyping: boolean \\}\n */",
|
41859
|
-
"customElement": true
|
41860
|
-
}
|
41861
|
-
],
|
41862
|
-
"exports": [
|
41863
|
-
{
|
41864
|
-
"kind": "js",
|
41865
|
-
"name": "default",
|
41866
|
-
"declaration": {
|
41867
|
-
"name": "Typewriter",
|
41868
|
-
"module": "components/typewriter/typewriter.component.js"
|
41869
|
-
}
|
41870
|
-
}
|
41871
|
-
]
|
41872
|
-
},
|
41873
|
-
{
|
41874
|
-
"kind": "javascript-module",
|
41875
|
-
"path": "components/virtualizedlist/virtualizedlist.component.js",
|
41876
|
-
"declarations": [
|
41877
|
-
{
|
41878
|
-
"kind": "class",
|
41879
|
-
"description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
|
41880
|
-
"name": "VirtualizedList",
|
41881
|
-
"slots": [
|
41882
|
-
{
|
41883
|
-
"description": "Client side List with nested list items.",
|
41884
|
-
"name": ""
|
41885
|
-
}
|
41886
|
-
],
|
41887
|
-
"members": [
|
41888
|
-
{
|
41889
|
-
"kind": "field",
|
41890
|
-
"name": "onscroll",
|
41891
|
-
"type": {
|
41892
|
-
"text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
|
41893
|
-
},
|
41894
|
-
"description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
|
41895
|
-
"default": "null",
|
41896
|
-
"attribute": "onscroll"
|
41852
|
+
"description": "The z-index of the popover.",
|
41853
|
+
"default": "1000",
|
41854
|
+
"fieldName": "zIndex",
|
41855
|
+
"inheritedFrom": {
|
41856
|
+
"name": "Popover",
|
41857
|
+
"module": "src/components/popover/popover.component.ts"
|
41858
|
+
}
|
41897
41859
|
},
|
41898
41860
|
{
|
41899
|
-
"
|
41900
|
-
"name": "virtualizerProps",
|
41861
|
+
"name": "append-to",
|
41901
41862
|
"type": {
|
41902
|
-
"text": "
|
41863
|
+
"text": "string | undefined"
|
41903
41864
|
},
|
41904
|
-
"description": "
|
41905
|
-
"
|
41865
|
+
"description": "Element ID that the popover append to.",
|
41866
|
+
"default": "''",
|
41867
|
+
"fieldName": "appendTo",
|
41868
|
+
"inheritedFrom": {
|
41869
|
+
"name": "Popover",
|
41870
|
+
"module": "src/components/popover/popover.component.ts"
|
41871
|
+
}
|
41906
41872
|
},
|
41907
41873
|
{
|
41908
|
-
"
|
41909
|
-
"name": "setlistdata",
|
41874
|
+
"name": "close-button-aria-label",
|
41910
41875
|
"type": {
|
41911
|
-
"text": "
|
41876
|
+
"text": "string | null"
|
41912
41877
|
},
|
41913
|
-
"description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
|
41914
41878
|
"default": "null",
|
41915
|
-
"
|
41879
|
+
"description": "aria-label attribute to be set for close button accessibility.",
|
41880
|
+
"fieldName": "closeButtonAriaLabel",
|
41881
|
+
"inheritedFrom": {
|
41882
|
+
"name": "Popover",
|
41883
|
+
"module": "src/components/popover/popover.component.ts"
|
41884
|
+
}
|
41916
41885
|
},
|
41917
41886
|
{
|
41918
|
-
"
|
41919
|
-
"name": "scrollElementRef",
|
41887
|
+
"name": "strategy",
|
41920
41888
|
"type": {
|
41921
|
-
"text": "
|
41889
|
+
"text": "'absolute' | 'fixed'"
|
41922
41890
|
},
|
41923
|
-
"
|
41891
|
+
"description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
|
41892
|
+
"default": "absolute",
|
41893
|
+
"fieldName": "strategy",
|
41894
|
+
"inheritedFrom": {
|
41895
|
+
"name": "Popover",
|
41896
|
+
"module": "src/components/popover/popover.component.ts"
|
41897
|
+
}
|
41924
41898
|
},
|
41925
41899
|
{
|
41926
|
-
"
|
41927
|
-
"name": "virtualizer",
|
41900
|
+
"name": "role",
|
41928
41901
|
"type": {
|
41929
|
-
"text": "
|
41902
|
+
"text": "HTMLElement['role']"
|
41930
41903
|
},
|
41931
|
-
"
|
41932
|
-
"default": "
|
41904
|
+
"description": "Role of the popover",
|
41905
|
+
"default": "dialog",
|
41906
|
+
"fieldName": "role",
|
41907
|
+
"inheritedFrom": {
|
41908
|
+
"name": "Popover",
|
41909
|
+
"module": "src/components/popover/popover.component.ts"
|
41910
|
+
}
|
41933
41911
|
},
|
41934
41912
|
{
|
41935
|
-
"
|
41936
|
-
"name": "virtualItems",
|
41913
|
+
"name": "aria-labelledby",
|
41937
41914
|
"type": {
|
41938
|
-
"text": "
|
41915
|
+
"text": "string | null"
|
41939
41916
|
},
|
41940
|
-
"
|
41941
|
-
"
|
41917
|
+
"default": "null",
|
41918
|
+
"description": "aria-labelledby for an interactive popover only, defaults to the trigger component id.\nUsed in nested cases where the triggerComponent isn't the actual button.",
|
41919
|
+
"fieldName": "ariaLabelledby",
|
41920
|
+
"inheritedFrom": {
|
41921
|
+
"name": "Popover",
|
41922
|
+
"module": "src/components/popover/popover.component.ts"
|
41923
|
+
}
|
41942
41924
|
},
|
41943
41925
|
{
|
41944
|
-
"
|
41945
|
-
"name": "virtualizerController",
|
41926
|
+
"name": "aria-describedby",
|
41946
41927
|
"type": {
|
41947
|
-
"text": "null"
|
41928
|
+
"text": "string | null"
|
41948
41929
|
},
|
41949
|
-
"default": "null"
|
41950
|
-
|
41951
|
-
|
41952
|
-
|
41953
|
-
|
41954
|
-
|
41955
|
-
|
41956
|
-
|
41957
|
-
}
|
41958
|
-
],
|
41959
|
-
"attributes": [
|
41930
|
+
"default": "null",
|
41931
|
+
"description": "aria-describedby of the popover.",
|
41932
|
+
"fieldName": "ariaDescribedby",
|
41933
|
+
"inheritedFrom": {
|
41934
|
+
"name": "Popover",
|
41935
|
+
"module": "src/components/popover/popover.component.ts"
|
41936
|
+
}
|
41937
|
+
},
|
41960
41938
|
{
|
41961
|
-
"name": "
|
41939
|
+
"name": "disable-aria-expanded",
|
41962
41940
|
"type": {
|
41963
|
-
"text": "
|
41941
|
+
"text": "boolean"
|
41964
41942
|
},
|
41965
|
-
"description": "
|
41966
|
-
"default": "
|
41967
|
-
"fieldName": "
|
41943
|
+
"description": "Disable setting the aria-expanded attribute on trigger element.\nMake sure to set this to false when the popover is interactive.",
|
41944
|
+
"default": "false",
|
41945
|
+
"fieldName": "disableAriaExpanded",
|
41946
|
+
"inheritedFrom": {
|
41947
|
+
"name": "Popover",
|
41948
|
+
"module": "src/components/popover/popover.component.ts"
|
41949
|
+
}
|
41968
41950
|
},
|
41969
41951
|
{
|
41970
|
-
"name": "
|
41952
|
+
"name": "disable-aria-haspopup",
|
41971
41953
|
"type": {
|
41972
|
-
"text": "
|
41954
|
+
"text": "boolean"
|
41973
41955
|
},
|
41974
|
-
"description": "
|
41975
|
-
"
|
41956
|
+
"description": "Disable setting the aria-haspopup attribute on trigger element.\nMake sure to set this to true when the popover is extended and its role\nis not 'dialog' or 'alertdialog' i.e. listbox, menu, etc.",
|
41957
|
+
"default": "false",
|
41958
|
+
"fieldName": "disableAriaHasPopup",
|
41959
|
+
"inheritedFrom": {
|
41960
|
+
"name": "Popover",
|
41961
|
+
"module": "src/components/popover/popover.component.ts"
|
41962
|
+
}
|
41976
41963
|
},
|
41977
41964
|
{
|
41978
|
-
"name": "
|
41965
|
+
"name": "keep-connected-tooltip-closed",
|
41979
41966
|
"type": {
|
41980
|
-
"text": "
|
41967
|
+
"text": "boolean"
|
41981
41968
|
},
|
41982
|
-
"description": "
|
41983
|
-
"
|
41984
|
-
"
|
41969
|
+
"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.",
|
41970
|
+
"fieldName": "keepConnectedTooltipClosed",
|
41971
|
+
"inheritedFrom": {
|
41972
|
+
"name": "Popover",
|
41973
|
+
"module": "src/components/popover/popover.component.ts"
|
41974
|
+
}
|
41985
41975
|
}
|
41986
41976
|
],
|
41987
41977
|
"superclass": {
|
41988
|
-
"name": "
|
41989
|
-
"module": "/src/
|
41978
|
+
"name": "Popover",
|
41979
|
+
"module": "/src/components/popover/popover.component"
|
41990
41980
|
},
|
41991
|
-
"tagName": "mdc-
|
41992
|
-
"jsDoc": "/**\n *
|
41993
|
-
"customElement": true
|
41981
|
+
"tagName": "mdc-tooltip",
|
41982
|
+
"jsDoc": "/**\n * A tooltip is triggered by mouse hover or by keyboard focus\n * and will disappear upon mouse exit or focus change.\n *\n * Note: Tooltips cannot contain content that can be focused or interacted with.\n *\n * @tagname mdc-tooltip\n *\n * @event shown - (React: onShown) This event is dispatched when the tooltip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the tooltip is hidden\n * @event created - (React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.\n * @cssproperty --mdc-tooltip-padding - The padding of the tooltip.\n * @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.\n * @cssproperty --mdc-tooltip-text-color-contrast - The text color of the tooltip when the color is contrast.\n *\n */",
|
41983
|
+
"customElement": true,
|
41984
|
+
"slots": [
|
41985
|
+
{
|
41986
|
+
"description": "Default slot for the popover content",
|
41987
|
+
"name": "",
|
41988
|
+
"inheritedFrom": {
|
41989
|
+
"name": "Popover",
|
41990
|
+
"module": "src/components/popover/popover.component.ts"
|
41991
|
+
}
|
41992
|
+
}
|
41993
|
+
]
|
41994
41994
|
}
|
41995
41995
|
],
|
41996
41996
|
"exports": [
|
@@ -41998,8 +41998,8 @@
|
|
41998
41998
|
"kind": "js",
|
41999
41999
|
"name": "default",
|
42000
42000
|
"declaration": {
|
42001
|
-
"name": "
|
42002
|
-
"module": "components/
|
42001
|
+
"name": "Tooltip",
|
42002
|
+
"module": "components/tooltip/tooltip.component.js"
|
42003
42003
|
}
|
42004
42004
|
}
|
42005
42005
|
]
|