@patternfly/pfe-core 5.0.3 → 5.0.5
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/controllers/combobox-controller.d.ts +4 -0
- package/controllers/combobox-controller.js +35 -7
- package/controllers/combobox-controller.js.map +1 -1
- package/controllers/floating-dom-controller.d.ts +31 -4
- package/controllers/floating-dom-controller.js +1385 -10
- package/controllers/floating-dom-controller.js.map +1 -1
- package/controllers/test/combobox-controller.spec.js +8 -8
- package/controllers/test/combobox-controller.spec.js.map +1 -1
- package/custom-elements.json +423 -42
- package/package.json +3 -4
package/custom-elements.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"declarations": [
|
|
8
8
|
{
|
|
9
9
|
"name": "ActivedescendantController",
|
|
10
|
-
"description": "Implements activedescendant pattern, as described in WAI-ARIA practices,\n[Managing Focus in Composites Using aria-activedescendant][ad]\n
|
|
10
|
+
"description": "Implements activedescendant pattern, as described in WAI-ARIA practices,\n[Managing Focus in Composites Using aria-activedescendant][ad]\n\nThe steps for using the aria-activedescendant method of managing focus are as follows.\n\n- When the container element that has a role that supports aria-activedescendant is loaded\nor created, ensure that:\n- The container element is included in the tab sequence as described in\nKeyboard Navigation Between Components or is a focusable element of a composite\nthat implements a roving tabindex.\n- It has aria-activedescendant=\"IDREF\" where IDREF is the ID of the element within\nthe container that should be identified as active when the widget receives focus.\nThe referenced element needs to meet the DOM relationship requirements described below.\n- When the container element receives DOM focus, draw a visual focus indicator on the active\nelement and ensure the active element is scrolled into view.\n- When the composite widget contains focus and the user presses a navigation key that moves\nfocus within the widget, such as an arrow key:\n- Change the value of aria-activedescendant on the container to refer to the element\nthat should be reported to assistive technologies as active.\n- Move the visual focus indicator and, if necessary, scrolled the active element into view.\n- If the design calls for a specific element to be focused the next time a user moves focus\ninto the composite with Tab or Shift+Tab, check if aria-activedescendant is referring to\nthat target element when the container loses focus. If it is not, set aria-activedescendant\nto refer to the target element.\n\nThe specification for aria-activedescendant places important restrictions on the\nDOM relationship between the focused element that has the aria-activedescendant attribute\nand the element referenced as active by the value of the attribute.\nOne of the following three conditions must be met.\n\n1. The element referenced as active is a DOM descendant of the focused referencing element.\n2. The focused referencing element has a value specified for the aria-owns property that\nincludes the ID of the element referenced as active.\n3. The focused referencing element has role of combobox, textbox, or searchbox\nand has aria-controls property referring to an element with a role that supports\naria-activedescendant and either:\n1. The element referenced as active is a descendant of the controlled element.\n2. The controlled element has a value specified for the aria-owns property that includes\nthe ID of the element referenced as active.\n\n[ad]: https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_focus_activedescendant",
|
|
11
11
|
"superclass": {
|
|
12
12
|
"name": "ATFocusController"
|
|
13
13
|
},
|
|
@@ -67,6 +67,21 @@
|
|
|
67
67
|
"description": "All items",
|
|
68
68
|
"kind": "field"
|
|
69
69
|
},
|
|
70
|
+
{
|
|
71
|
+
"name": "host",
|
|
72
|
+
"type": {
|
|
73
|
+
"text": "ReactiveControllerHost"
|
|
74
|
+
},
|
|
75
|
+
"kind": "field"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "options",
|
|
79
|
+
"type": {
|
|
80
|
+
"text": "ActivedescendantControllerOptions\u003cItem\u003e"
|
|
81
|
+
},
|
|
82
|
+
"kind": "field",
|
|
83
|
+
"privacy": "protected"
|
|
84
|
+
},
|
|
70
85
|
{
|
|
71
86
|
"return": {
|
|
72
87
|
"type": {
|
|
@@ -115,6 +130,9 @@
|
|
|
115
130
|
"privacy": "public"
|
|
116
131
|
}
|
|
117
132
|
],
|
|
133
|
+
"source": {
|
|
134
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/activedescendant-controller.ts#L76"
|
|
135
|
+
},
|
|
118
136
|
"kind": "class"
|
|
119
137
|
}
|
|
120
138
|
],
|
|
@@ -181,6 +199,20 @@
|
|
|
181
199
|
"default": "new Map\u003cstring, string[]\u003e()",
|
|
182
200
|
"kind": "field"
|
|
183
201
|
},
|
|
202
|
+
{
|
|
203
|
+
"name": "host",
|
|
204
|
+
"type": {
|
|
205
|
+
"text": "E"
|
|
206
|
+
},
|
|
207
|
+
"kind": "field"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "options",
|
|
211
|
+
"type": {
|
|
212
|
+
"text": "Options\u003cE\u003e | undefined"
|
|
213
|
+
},
|
|
214
|
+
"kind": "field"
|
|
215
|
+
},
|
|
184
216
|
{
|
|
185
217
|
"return": {
|
|
186
218
|
"type": {
|
|
@@ -323,6 +355,9 @@
|
|
|
323
355
|
"privacy": "private"
|
|
324
356
|
}
|
|
325
357
|
],
|
|
358
|
+
"source": {
|
|
359
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/cascade-controller.ts#L18"
|
|
360
|
+
},
|
|
326
361
|
"kind": "class",
|
|
327
362
|
"deprecated": "use context, especially via `@patternfly/pfe-core/functions/context.js`;"
|
|
328
363
|
}
|
|
@@ -344,7 +379,7 @@
|
|
|
344
379
|
"declarations": [
|
|
345
380
|
{
|
|
346
381
|
"name": "ComboboxController",
|
|
347
|
-
"summary": "Implements the WAI-ARIA pattern [Editable Combobox with Both List and Inline Autocomplete].\n
|
|
382
|
+
"summary": "Implements the WAI-ARIA pattern [Editable Combobox with Both List and Inline Autocomplete].\n\nCombobox with keyboard and pointer navigation, using the aria-activedescendant pattern.\n\nWARNING: Safari VoiceOver does not support aria-activedescendant, so Safari users\nrely on the combobox input value being announced when navigating the listbox with the keyboard.\nWe have erred on the side that it may be less-broken to avoid announcing disabled items in that\ncase, rather than announcing the disabled items value without indicating that it is disabled.",
|
|
348
383
|
"members": [
|
|
349
384
|
{
|
|
350
385
|
"parameters": [
|
|
@@ -395,6 +430,20 @@
|
|
|
395
430
|
"static": true,
|
|
396
431
|
"privacy": "private"
|
|
397
432
|
},
|
|
433
|
+
{
|
|
434
|
+
"name": "instances",
|
|
435
|
+
"default": "new WeakMap\u003cReactiveControllerHost, ComboboxController\u003cHTMLElement\u003e\u003e()",
|
|
436
|
+
"kind": "field",
|
|
437
|
+
"static": true,
|
|
438
|
+
"privacy": "private"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "hosts",
|
|
442
|
+
"default": "new Set\u003cReactiveControllerHost\u003e()",
|
|
443
|
+
"kind": "field",
|
|
444
|
+
"static": true,
|
|
445
|
+
"privacy": "private"
|
|
446
|
+
},
|
|
398
447
|
{
|
|
399
448
|
"name": "options",
|
|
400
449
|
"type": {
|
|
@@ -426,6 +475,13 @@
|
|
|
426
475
|
"description": "The current selection: a list of items",
|
|
427
476
|
"kind": "field"
|
|
428
477
|
},
|
|
478
|
+
{
|
|
479
|
+
"name": "host",
|
|
480
|
+
"type": {
|
|
481
|
+
"text": "ReactiveControllerHost"
|
|
482
|
+
},
|
|
483
|
+
"kind": "field"
|
|
484
|
+
},
|
|
429
485
|
{
|
|
430
486
|
"return": {
|
|
431
487
|
"type": {
|
|
@@ -453,6 +509,24 @@
|
|
|
453
509
|
"name": "hostDisconnected",
|
|
454
510
|
"kind": "method"
|
|
455
511
|
},
|
|
512
|
+
{
|
|
513
|
+
"return": {
|
|
514
|
+
"type": {
|
|
515
|
+
"text": "void"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
"name": "disconnect",
|
|
519
|
+
"kind": "method"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"return": {
|
|
523
|
+
"type": {
|
|
524
|
+
"text": "Promise\u003cvoid\u003e"
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
"name": "_onFocusoutElement",
|
|
528
|
+
"kind": "method"
|
|
529
|
+
},
|
|
456
530
|
{
|
|
457
531
|
"return": {
|
|
458
532
|
"type": {
|
|
@@ -465,6 +539,9 @@
|
|
|
465
539
|
"privacy": "public"
|
|
466
540
|
}
|
|
467
541
|
],
|
|
542
|
+
"source": {
|
|
543
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/combobox-controller.ts#L158"
|
|
544
|
+
},
|
|
468
545
|
"kind": "class"
|
|
469
546
|
}
|
|
470
547
|
],
|
|
@@ -493,6 +570,13 @@
|
|
|
493
570
|
},
|
|
494
571
|
"kind": "field"
|
|
495
572
|
},
|
|
573
|
+
{
|
|
574
|
+
"name": "host",
|
|
575
|
+
"type": {
|
|
576
|
+
"text": "ReactiveElement"
|
|
577
|
+
},
|
|
578
|
+
"kind": "field"
|
|
579
|
+
},
|
|
496
580
|
{
|
|
497
581
|
"parameters": [
|
|
498
582
|
{
|
|
@@ -533,6 +617,9 @@
|
|
|
533
617
|
"kind": "method"
|
|
534
618
|
}
|
|
535
619
|
],
|
|
620
|
+
"source": {
|
|
621
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/css-variable-controller.ts#L3"
|
|
622
|
+
},
|
|
536
623
|
"kind": "class"
|
|
537
624
|
}
|
|
538
625
|
],
|
|
@@ -593,13 +680,21 @@
|
|
|
593
680
|
},
|
|
594
681
|
{
|
|
595
682
|
"name": "styles",
|
|
596
|
-
"description": "Styles to apply to your element's container\n
|
|
683
|
+
"description": "Styles to apply to your element's container\n\n- `--_floating-content-translate`: translate to apply to floating content.",
|
|
597
684
|
"type": {
|
|
598
685
|
"text": "StyleInfo"
|
|
599
686
|
},
|
|
600
687
|
"readonly": true,
|
|
601
688
|
"kind": "field"
|
|
602
689
|
},
|
|
690
|
+
{
|
|
691
|
+
"name": "host",
|
|
692
|
+
"type": {
|
|
693
|
+
"text": "ReactiveControllerHost"
|
|
694
|
+
},
|
|
695
|
+
"kind": "field",
|
|
696
|
+
"privacy": "private"
|
|
697
|
+
},
|
|
603
698
|
{
|
|
604
699
|
"return": {
|
|
605
700
|
"type": {
|
|
@@ -630,6 +725,9 @@
|
|
|
630
725
|
"kind": "method"
|
|
631
726
|
}
|
|
632
727
|
],
|
|
728
|
+
"source": {
|
|
729
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/floating-dom-controller.ts#L29"
|
|
730
|
+
},
|
|
633
731
|
"kind": "class"
|
|
634
732
|
}
|
|
635
733
|
],
|
|
@@ -650,7 +748,6 @@
|
|
|
650
748
|
"declarations": [
|
|
651
749
|
{
|
|
652
750
|
"name": "InternalsController",
|
|
653
|
-
"description": "reactively forward the internals object's aria mixin prototype",
|
|
654
751
|
"members": [
|
|
655
752
|
{
|
|
656
753
|
"name": "instances",
|
|
@@ -1241,6 +1338,21 @@
|
|
|
1241
1338
|
"kind": "field",
|
|
1242
1339
|
"privacy": "private"
|
|
1243
1340
|
},
|
|
1341
|
+
{
|
|
1342
|
+
"name": "host",
|
|
1343
|
+
"type": {
|
|
1344
|
+
"text": "ReactiveControllerHost"
|
|
1345
|
+
},
|
|
1346
|
+
"kind": "field"
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"name": "options",
|
|
1350
|
+
"type": {
|
|
1351
|
+
"text": "InternalsControllerOptions"
|
|
1352
|
+
},
|
|
1353
|
+
"kind": "field",
|
|
1354
|
+
"privacy": "private"
|
|
1355
|
+
},
|
|
1244
1356
|
{
|
|
1245
1357
|
"name": "attachOrRetrieveInternals",
|
|
1246
1358
|
"description": "Typescript (with experimental decorators) will compile the class\nsuch that the order of operations is:\n1. set up constructor parameter fields\n2. run decorated field setters with initializers as the value\n3. run the rest of the constructor\nBecause of that, `this.internals` may not be available in the decorator setter\nso we cheat here with nullish coalescing assignment operator `??=`;",
|
|
@@ -1351,6 +1463,9 @@
|
|
|
1351
1463
|
"kind": "method"
|
|
1352
1464
|
}
|
|
1353
1465
|
],
|
|
1466
|
+
"source": {
|
|
1467
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/internals-controller.ts#L71"
|
|
1468
|
+
},
|
|
1354
1469
|
"kind": "class"
|
|
1355
1470
|
}
|
|
1356
1471
|
],
|
|
@@ -1396,6 +1511,22 @@
|
|
|
1396
1511
|
"kind": "field",
|
|
1397
1512
|
"privacy": "private"
|
|
1398
1513
|
},
|
|
1514
|
+
{
|
|
1515
|
+
"name": "host",
|
|
1516
|
+
"type": {
|
|
1517
|
+
"text": "ReactiveElement"
|
|
1518
|
+
},
|
|
1519
|
+
"kind": "field",
|
|
1520
|
+
"privacy": "private"
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
"name": "options",
|
|
1524
|
+
"type": {
|
|
1525
|
+
"text": "Options | undefined"
|
|
1526
|
+
},
|
|
1527
|
+
"kind": "field",
|
|
1528
|
+
"privacy": "private"
|
|
1529
|
+
},
|
|
1399
1530
|
{
|
|
1400
1531
|
"return": {
|
|
1401
1532
|
"type": {
|
|
@@ -1430,6 +1561,9 @@
|
|
|
1430
1561
|
"kind": "method"
|
|
1431
1562
|
}
|
|
1432
1563
|
],
|
|
1564
|
+
"source": {
|
|
1565
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/light-dom-controller.ts#L10"
|
|
1566
|
+
},
|
|
1433
1567
|
"kind": "class"
|
|
1434
1568
|
}
|
|
1435
1569
|
],
|
|
@@ -1459,7 +1593,10 @@
|
|
|
1459
1593
|
}
|
|
1460
1594
|
],
|
|
1461
1595
|
"name": "isItem",
|
|
1462
|
-
"kind": "function"
|
|
1596
|
+
"kind": "function",
|
|
1597
|
+
"source": {
|
|
1598
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/listbox-controller.ts#L81"
|
|
1599
|
+
}
|
|
1463
1600
|
},
|
|
1464
1601
|
{
|
|
1465
1602
|
"parameters": [
|
|
@@ -1473,11 +1610,14 @@
|
|
|
1473
1610
|
],
|
|
1474
1611
|
"name": "isItemDisabled",
|
|
1475
1612
|
"description": "This is a fib. aria-disabled might not be present on an element that uses internals,\nand the `disabled` attribute may not accurately represent the disabled state.\nshort of patching the `attachInternals` constructor, it may not be possible at\nruntime to know with certainty that an arbitrary custom element is disabled or not.",
|
|
1476
|
-
"kind": "function"
|
|
1613
|
+
"kind": "function",
|
|
1614
|
+
"source": {
|
|
1615
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/listbox-controller.ts#L96"
|
|
1616
|
+
}
|
|
1477
1617
|
},
|
|
1478
1618
|
{
|
|
1479
1619
|
"name": "ListboxController",
|
|
1480
|
-
"description": "
|
|
1620
|
+
"description": "Implements listbox semantics and accesibility. As there are two recognized\npatterns for implementing keyboard interactions with listbox patterns,\nprovide a secondary controller (either RovingTabindexController or\nActiveDescendantController) to complete the implementation.",
|
|
1481
1621
|
"members": [
|
|
1482
1622
|
{
|
|
1483
1623
|
"name": "instances",
|
|
@@ -1551,6 +1691,13 @@
|
|
|
1551
1691
|
},
|
|
1552
1692
|
"kind": "field"
|
|
1553
1693
|
},
|
|
1694
|
+
{
|
|
1695
|
+
"name": "host",
|
|
1696
|
+
"type": {
|
|
1697
|
+
"text": "ReactiveControllerHost"
|
|
1698
|
+
},
|
|
1699
|
+
"kind": "field"
|
|
1700
|
+
},
|
|
1554
1701
|
{
|
|
1555
1702
|
"return": {
|
|
1556
1703
|
"type": {
|
|
@@ -1606,6 +1753,9 @@
|
|
|
1606
1753
|
"privacy": "public"
|
|
1607
1754
|
}
|
|
1608
1755
|
],
|
|
1756
|
+
"source": {
|
|
1757
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/listbox-controller.ts#L145"
|
|
1758
|
+
},
|
|
1609
1759
|
"kind": "class"
|
|
1610
1760
|
}
|
|
1611
1761
|
],
|
|
@@ -1672,7 +1822,7 @@
|
|
|
1672
1822
|
}
|
|
1673
1823
|
},
|
|
1674
1824
|
"name": "debugLog",
|
|
1675
|
-
"description": "A boolean value that indicates if the logging should be printed to the console; used for debugging.\nFor use in a JS file or script tag; can also be added in the constructor of a component during development.",
|
|
1825
|
+
"description": "A boolean value that indicates if the logging should be printed to the console; used for debugging.\nFor use in a JS file or script tag; can also be added in the constructor of a component during development.\n\nLogger.debugLog(true);",
|
|
1676
1826
|
"kind": "method",
|
|
1677
1827
|
"static": true
|
|
1678
1828
|
},
|
|
@@ -1692,7 +1842,7 @@
|
|
|
1692
1842
|
}
|
|
1693
1843
|
},
|
|
1694
1844
|
"name": "debug",
|
|
1695
|
-
"description": "A logging wrapper which checks the debugLog boolean and prints to the console if true.",
|
|
1845
|
+
"description": "A logging wrapper which checks the debugLog boolean and prints to the console if true.\n\nLogger.debug(\"Hello\");",
|
|
1696
1846
|
"kind": "method",
|
|
1697
1847
|
"static": true
|
|
1698
1848
|
},
|
|
@@ -1712,7 +1862,7 @@
|
|
|
1712
1862
|
}
|
|
1713
1863
|
},
|
|
1714
1864
|
"name": "info",
|
|
1715
|
-
"description": "A logging wrapper which checks the debugLog boolean and prints to the console if true.",
|
|
1865
|
+
"description": "A logging wrapper which checks the debugLog boolean and prints to the console if true.\n\nLogger.info(\"Hello\");",
|
|
1716
1866
|
"kind": "method",
|
|
1717
1867
|
"static": true
|
|
1718
1868
|
},
|
|
@@ -1732,7 +1882,7 @@
|
|
|
1732
1882
|
}
|
|
1733
1883
|
},
|
|
1734
1884
|
"name": "log",
|
|
1735
|
-
"description": "A logging wrapper which checks the debugLog boolean and prints to the console if true.",
|
|
1885
|
+
"description": "A logging wrapper which checks the debugLog boolean and prints to the console if true.\n\nLogger.log(\"Hello\");",
|
|
1736
1886
|
"kind": "method",
|
|
1737
1887
|
"static": true
|
|
1738
1888
|
},
|
|
@@ -1752,7 +1902,7 @@
|
|
|
1752
1902
|
}
|
|
1753
1903
|
},
|
|
1754
1904
|
"name": "warn",
|
|
1755
|
-
"description": "A console warning wrapper which formats your output with useful debugging information.",
|
|
1905
|
+
"description": "A console warning wrapper which formats your output with useful debugging information.\n\nLogger.warn(\"Hello\");",
|
|
1756
1906
|
"kind": "method",
|
|
1757
1907
|
"static": true
|
|
1758
1908
|
},
|
|
@@ -1772,7 +1922,7 @@
|
|
|
1772
1922
|
}
|
|
1773
1923
|
},
|
|
1774
1924
|
"name": "error",
|
|
1775
|
-
"description": "A console error wrapper which formats your output with useful debugging information.\nFor use inside a component's function.",
|
|
1925
|
+
"description": "A console error wrapper which formats your output with useful debugging information.\nFor use inside a component's function.\n\nLogger.error(\"Hello\");",
|
|
1776
1926
|
"kind": "method",
|
|
1777
1927
|
"static": true
|
|
1778
1928
|
},
|
|
@@ -1792,7 +1942,7 @@
|
|
|
1792
1942
|
}
|
|
1793
1943
|
},
|
|
1794
1944
|
"name": "debug",
|
|
1795
|
-
"description": "Debug logging that outputs the tag name as a prefix automatically",
|
|
1945
|
+
"description": "Debug logging that outputs the tag name as a prefix automatically\n\nthis.logger.log(\"Hello\");",
|
|
1796
1946
|
"kind": "method"
|
|
1797
1947
|
},
|
|
1798
1948
|
{
|
|
@@ -1811,7 +1961,7 @@
|
|
|
1811
1961
|
}
|
|
1812
1962
|
},
|
|
1813
1963
|
"name": "info",
|
|
1814
|
-
"description": "Info logging that outputs the tag name as a prefix automatically",
|
|
1964
|
+
"description": "Info logging that outputs the tag name as a prefix automatically\n\nthis.logger.log(\"Hello\");",
|
|
1815
1965
|
"kind": "method"
|
|
1816
1966
|
},
|
|
1817
1967
|
{
|
|
@@ -1830,7 +1980,7 @@
|
|
|
1830
1980
|
}
|
|
1831
1981
|
},
|
|
1832
1982
|
"name": "log",
|
|
1833
|
-
"description": "Local logging that outputs the tag name as a prefix automatically",
|
|
1983
|
+
"description": "Local logging that outputs the tag name as a prefix automatically\n\nthis.logger.log(\"Hello\");",
|
|
1834
1984
|
"kind": "method"
|
|
1835
1985
|
},
|
|
1836
1986
|
{
|
|
@@ -1849,7 +1999,7 @@
|
|
|
1849
1999
|
}
|
|
1850
2000
|
},
|
|
1851
2001
|
"name": "warn",
|
|
1852
|
-
"description": "Local warning wrapper that outputs the tag name as a prefix automatically.\nFor use inside a component's function.",
|
|
2002
|
+
"description": "Local warning wrapper that outputs the tag name as a prefix automatically.\nFor use inside a component's function.\n\nthis.logger.warn(\"Hello\");",
|
|
1853
2003
|
"kind": "method"
|
|
1854
2004
|
},
|
|
1855
2005
|
{
|
|
@@ -1868,9 +2018,17 @@
|
|
|
1868
2018
|
}
|
|
1869
2019
|
},
|
|
1870
2020
|
"name": "error",
|
|
1871
|
-
"description": "Local error wrapper that outputs the tag name as a prefix automatically.\nFor use inside a component's function.",
|
|
2021
|
+
"description": "Local error wrapper that outputs the tag name as a prefix automatically.\nFor use inside a component's function.\n\nthis.logger.error(\"Hello\");",
|
|
1872
2022
|
"kind": "method"
|
|
1873
2023
|
},
|
|
2024
|
+
{
|
|
2025
|
+
"name": "host",
|
|
2026
|
+
"type": {
|
|
2027
|
+
"text": "ReactiveControllerHost"
|
|
2028
|
+
},
|
|
2029
|
+
"kind": "field",
|
|
2030
|
+
"privacy": "private"
|
|
2031
|
+
},
|
|
1874
2032
|
{
|
|
1875
2033
|
"return": {
|
|
1876
2034
|
"type": {
|
|
@@ -1881,6 +2039,9 @@
|
|
|
1881
2039
|
"kind": "method"
|
|
1882
2040
|
}
|
|
1883
2041
|
],
|
|
2042
|
+
"source": {
|
|
2043
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/logger.ts#L3"
|
|
2044
|
+
},
|
|
1884
2045
|
"kind": "class"
|
|
1885
2046
|
}
|
|
1886
2047
|
],
|
|
@@ -1942,6 +2103,21 @@
|
|
|
1942
2103
|
"readonly": true,
|
|
1943
2104
|
"kind": "field"
|
|
1944
2105
|
},
|
|
2106
|
+
{
|
|
2107
|
+
"name": "host",
|
|
2108
|
+
"type": {
|
|
2109
|
+
"text": "ReactiveElement"
|
|
2110
|
+
},
|
|
2111
|
+
"kind": "field"
|
|
2112
|
+
},
|
|
2113
|
+
{
|
|
2114
|
+
"name": "options",
|
|
2115
|
+
"type": {
|
|
2116
|
+
"text": "Options | undefined"
|
|
2117
|
+
},
|
|
2118
|
+
"kind": "field",
|
|
2119
|
+
"privacy": "private"
|
|
2120
|
+
},
|
|
1945
2121
|
{
|
|
1946
2122
|
"parameters": [
|
|
1947
2123
|
{
|
|
@@ -2011,6 +2187,9 @@
|
|
|
2011
2187
|
"kind": "method"
|
|
2012
2188
|
}
|
|
2013
2189
|
],
|
|
2190
|
+
"source": {
|
|
2191
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/overflow-controller.ts#L16"
|
|
2192
|
+
},
|
|
2014
2193
|
"kind": "class"
|
|
2015
2194
|
}
|
|
2016
2195
|
],
|
|
@@ -2047,6 +2226,14 @@
|
|
|
2047
2226
|
},
|
|
2048
2227
|
"kind": "field"
|
|
2049
2228
|
},
|
|
2229
|
+
{
|
|
2230
|
+
"name": "host",
|
|
2231
|
+
"type": {
|
|
2232
|
+
"text": "ReactiveElement"
|
|
2233
|
+
},
|
|
2234
|
+
"kind": "field",
|
|
2235
|
+
"privacy": "private"
|
|
2236
|
+
},
|
|
2050
2237
|
{
|
|
2051
2238
|
"return": {
|
|
2052
2239
|
"type": {
|
|
@@ -2066,6 +2253,9 @@
|
|
|
2066
2253
|
"kind": "method"
|
|
2067
2254
|
}
|
|
2068
2255
|
],
|
|
2256
|
+
"source": {
|
|
2257
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/perf-controller.ts#L5"
|
|
2258
|
+
},
|
|
2069
2259
|
"kind": "class"
|
|
2070
2260
|
}
|
|
2071
2261
|
],
|
|
@@ -2096,6 +2286,22 @@
|
|
|
2096
2286
|
"kind": "field",
|
|
2097
2287
|
"privacy": "private"
|
|
2098
2288
|
},
|
|
2289
|
+
{
|
|
2290
|
+
"name": "host",
|
|
2291
|
+
"type": {
|
|
2292
|
+
"text": "T"
|
|
2293
|
+
},
|
|
2294
|
+
"kind": "field",
|
|
2295
|
+
"privacy": "private"
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
"name": "options",
|
|
2299
|
+
"type": {
|
|
2300
|
+
"text": "PropertyObserverOptions\u003cT\u003e"
|
|
2301
|
+
},
|
|
2302
|
+
"kind": "field",
|
|
2303
|
+
"privacy": "private"
|
|
2304
|
+
},
|
|
2099
2305
|
{
|
|
2100
2306
|
"return": {
|
|
2101
2307
|
"type": {
|
|
@@ -2116,6 +2322,9 @@
|
|
|
2116
2322
|
"kind": "method"
|
|
2117
2323
|
}
|
|
2118
2324
|
],
|
|
2325
|
+
"source": {
|
|
2326
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/property-observer-controller.ts#L19"
|
|
2327
|
+
},
|
|
2119
2328
|
"kind": "class"
|
|
2120
2329
|
}
|
|
2121
2330
|
],
|
|
@@ -2136,7 +2345,7 @@
|
|
|
2136
2345
|
"declarations": [
|
|
2137
2346
|
{
|
|
2138
2347
|
"name": "RovingTabindexController",
|
|
2139
|
-
"description": "Implements roving tabindex, as described in WAI-ARIA practices, [Managing Focus Within\nComponents Using a Roving tabindex][rti]\n
|
|
2348
|
+
"description": "Implements roving tabindex, as described in WAI-ARIA practices, [Managing Focus Within\nComponents Using a Roving tabindex][rti]\n\n[rti]: https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_roving_tabindex",
|
|
2140
2349
|
"superclass": {
|
|
2141
2350
|
"name": "ATFocusController"
|
|
2142
2351
|
},
|
|
@@ -2177,6 +2386,13 @@
|
|
|
2177
2386
|
"name": "items",
|
|
2178
2387
|
"kind": "field"
|
|
2179
2388
|
},
|
|
2389
|
+
{
|
|
2390
|
+
"name": "host",
|
|
2391
|
+
"type": {
|
|
2392
|
+
"text": "ReactiveControllerHost"
|
|
2393
|
+
},
|
|
2394
|
+
"kind": "field"
|
|
2395
|
+
},
|
|
2180
2396
|
{
|
|
2181
2397
|
"parameters": [
|
|
2182
2398
|
{
|
|
@@ -2196,6 +2412,9 @@
|
|
|
2196
2412
|
"privacy": "protected"
|
|
2197
2413
|
}
|
|
2198
2414
|
],
|
|
2415
|
+
"source": {
|
|
2416
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/roving-tabindex-controller.ts#L15"
|
|
2417
|
+
},
|
|
2199
2418
|
"kind": "class"
|
|
2200
2419
|
}
|
|
2201
2420
|
],
|
|
@@ -2238,6 +2457,14 @@
|
|
|
2238
2457
|
},
|
|
2239
2458
|
"kind": "field"
|
|
2240
2459
|
},
|
|
2460
|
+
{
|
|
2461
|
+
"name": "host",
|
|
2462
|
+
"type": {
|
|
2463
|
+
"text": "ReactiveControllerHost \u0026 HTMLElement"
|
|
2464
|
+
},
|
|
2465
|
+
"kind": "field",
|
|
2466
|
+
"privacy": "private"
|
|
2467
|
+
},
|
|
2241
2468
|
{
|
|
2242
2469
|
"return": {
|
|
2243
2470
|
"type": {
|
|
@@ -2276,6 +2503,9 @@
|
|
|
2276
2503
|
"privacy": "public"
|
|
2277
2504
|
}
|
|
2278
2505
|
],
|
|
2506
|
+
"source": {
|
|
2507
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/scroll-spy-controller.ts#L34"
|
|
2508
|
+
},
|
|
2279
2509
|
"kind": "class"
|
|
2280
2510
|
}
|
|
2281
2511
|
],
|
|
@@ -2331,6 +2561,13 @@
|
|
|
2331
2561
|
"kind": "field",
|
|
2332
2562
|
"static": true
|
|
2333
2563
|
},
|
|
2564
|
+
{
|
|
2565
|
+
"name": "host",
|
|
2566
|
+
"type": {
|
|
2567
|
+
"text": "ReactiveElement"
|
|
2568
|
+
},
|
|
2569
|
+
"kind": "field"
|
|
2570
|
+
},
|
|
2334
2571
|
{
|
|
2335
2572
|
"parameters": [
|
|
2336
2573
|
{
|
|
@@ -2399,6 +2636,9 @@
|
|
|
2399
2636
|
"kind": "method"
|
|
2400
2637
|
}
|
|
2401
2638
|
],
|
|
2639
|
+
"source": {
|
|
2640
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/slot-controller-server.ts#L7"
|
|
2641
|
+
},
|
|
2402
2642
|
"kind": "class"
|
|
2403
2643
|
}
|
|
2404
2644
|
],
|
|
@@ -2427,7 +2667,10 @@
|
|
|
2427
2667
|
}
|
|
2428
2668
|
],
|
|
2429
2669
|
"name": "isObjectSpread",
|
|
2430
|
-
"kind": "function"
|
|
2670
|
+
"kind": "function",
|
|
2671
|
+
"source": {
|
|
2672
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/slot-controller.ts#L37"
|
|
2673
|
+
}
|
|
2431
2674
|
},
|
|
2432
2675
|
{
|
|
2433
2676
|
"name": "SlotControllerPublicAPI",
|
|
@@ -2448,11 +2691,36 @@
|
|
|
2448
2691
|
"kind": "field"
|
|
2449
2692
|
}
|
|
2450
2693
|
],
|
|
2694
|
+
"source": {
|
|
2695
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/slot-controller.ts#L52"
|
|
2696
|
+
},
|
|
2451
2697
|
"kind": "class"
|
|
2452
2698
|
},
|
|
2453
2699
|
{
|
|
2454
2700
|
"name": "SlotRecord",
|
|
2455
2701
|
"members": [
|
|
2702
|
+
{
|
|
2703
|
+
"name": "slot",
|
|
2704
|
+
"type": {
|
|
2705
|
+
"text": "HTMLSlotElement"
|
|
2706
|
+
},
|
|
2707
|
+
"kind": "field"
|
|
2708
|
+
},
|
|
2709
|
+
{
|
|
2710
|
+
"name": "name",
|
|
2711
|
+
"type": {
|
|
2712
|
+
"text": "string | symbol"
|
|
2713
|
+
},
|
|
2714
|
+
"kind": "field"
|
|
2715
|
+
},
|
|
2716
|
+
{
|
|
2717
|
+
"name": "host",
|
|
2718
|
+
"type": {
|
|
2719
|
+
"text": "ReactiveElement"
|
|
2720
|
+
},
|
|
2721
|
+
"kind": "field",
|
|
2722
|
+
"privacy": "private"
|
|
2723
|
+
},
|
|
2456
2724
|
{
|
|
2457
2725
|
"name": "elements",
|
|
2458
2726
|
"readonly": true,
|
|
@@ -2464,6 +2732,9 @@
|
|
|
2464
2732
|
"kind": "field"
|
|
2465
2733
|
}
|
|
2466
2734
|
],
|
|
2735
|
+
"source": {
|
|
2736
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/slot-controller.ts#L101"
|
|
2737
|
+
},
|
|
2467
2738
|
"kind": "class"
|
|
2468
2739
|
},
|
|
2469
2740
|
{
|
|
@@ -2485,6 +2756,13 @@
|
|
|
2485
2756
|
"kind": "field",
|
|
2486
2757
|
"static": true
|
|
2487
2758
|
},
|
|
2759
|
+
{
|
|
2760
|
+
"name": "host",
|
|
2761
|
+
"type": {
|
|
2762
|
+
"text": "ReactiveElement"
|
|
2763
|
+
},
|
|
2764
|
+
"kind": "field"
|
|
2765
|
+
},
|
|
2488
2766
|
{
|
|
2489
2767
|
"return": {
|
|
2490
2768
|
"type": {
|
|
@@ -2519,7 +2797,7 @@
|
|
|
2519
2797
|
}
|
|
2520
2798
|
},
|
|
2521
2799
|
"name": "getSlotted",
|
|
2522
|
-
"description": "Given a slot name or slot names, returns elements assigned to the requested slots as an array.\nIf no value is provided, it returns all children not assigned to a slot (without a slot attribute).",
|
|
2800
|
+
"description": "Given a slot name or slot names, returns elements assigned to the requested slots as an array.\nIf no value is provided, it returns all children not assigned to a slot (without a slot attribute).\n\n\u003cfigure\u003e\n\u003cfigcaption\u003eGet header-slotted elements\u003c/figcaption\u003e\n\n```js\nthis.getSlotted('header')\n```\n\u003c/figure\u003e\n\n\u003cfigure\u003e\n\u003cfigcaption\u003eGet header- and footer-slotted elements\u003c/figcaption\u003e\n\n```js\nthis.getSlotted('header', 'footer')\n```\n\u003c/figure\u003e\n\n\u003cfigure\u003e\n\u003cfigcaption\u003eGet default-slotted elements\u003c/figcaption\u003e\n\n```js\nthis.getSlotted();\n```\n\u003c/figure\u003e",
|
|
2523
2801
|
"kind": "method",
|
|
2524
2802
|
"privacy": "public"
|
|
2525
2803
|
},
|
|
@@ -2539,7 +2817,7 @@
|
|
|
2539
2817
|
}
|
|
2540
2818
|
},
|
|
2541
2819
|
"name": "hasSlotted",
|
|
2542
|
-
"description": "Returns a boolean statement of whether or not any of those slots exists in the light DOM.",
|
|
2820
|
+
"description": "Returns a boolean statement of whether or not any of those slots exists in the light DOM.\n\nthis.hasSlotted('header');",
|
|
2543
2821
|
"kind": "method",
|
|
2544
2822
|
"privacy": "public"
|
|
2545
2823
|
},
|
|
@@ -2559,11 +2837,14 @@
|
|
|
2559
2837
|
}
|
|
2560
2838
|
},
|
|
2561
2839
|
"name": "isEmpty",
|
|
2562
|
-
"description": "Whether or not all the requested slots are empty.",
|
|
2840
|
+
"description": "Whether or not all the requested slots are empty.\n\nthis.isEmpty('header', 'footer');\n\nthis.isEmpty();",
|
|
2563
2841
|
"kind": "method",
|
|
2564
2842
|
"privacy": "public"
|
|
2565
2843
|
}
|
|
2566
2844
|
],
|
|
2845
|
+
"source": {
|
|
2846
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/slot-controller.ts#L130"
|
|
2847
|
+
},
|
|
2567
2848
|
"kind": "class"
|
|
2568
2849
|
}
|
|
2569
2850
|
],
|
|
@@ -2603,6 +2884,23 @@
|
|
|
2603
2884
|
"kind": "field",
|
|
2604
2885
|
"privacy": "private"
|
|
2605
2886
|
},
|
|
2887
|
+
{
|
|
2888
|
+
"name": "host",
|
|
2889
|
+
"type": {
|
|
2890
|
+
"text": "ReactiveElement"
|
|
2891
|
+
},
|
|
2892
|
+
"kind": "field",
|
|
2893
|
+
"privacy": "private"
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"name": "styles",
|
|
2897
|
+
"description": "These styles will be applied to the host element",
|
|
2898
|
+
"type": {
|
|
2899
|
+
"text": "CSSResultGroup"
|
|
2900
|
+
},
|
|
2901
|
+
"kind": "field",
|
|
2902
|
+
"privacy": "private"
|
|
2903
|
+
},
|
|
2606
2904
|
{
|
|
2607
2905
|
"return": {
|
|
2608
2906
|
"type": {
|
|
@@ -2613,6 +2911,9 @@
|
|
|
2613
2911
|
"kind": "method"
|
|
2614
2912
|
}
|
|
2615
2913
|
],
|
|
2914
|
+
"source": {
|
|
2915
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/style-controller.ts#L21"
|
|
2916
|
+
},
|
|
2616
2917
|
"kind": "class"
|
|
2617
2918
|
}
|
|
2618
2919
|
],
|
|
@@ -2709,6 +3010,9 @@
|
|
|
2709
3010
|
"kind": "method"
|
|
2710
3011
|
}
|
|
2711
3012
|
],
|
|
3013
|
+
"source": {
|
|
3014
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/tabs-aria-controller.ts#L14"
|
|
3015
|
+
},
|
|
2712
3016
|
"kind": "class"
|
|
2713
3017
|
}
|
|
2714
3018
|
],
|
|
@@ -2785,6 +3089,9 @@
|
|
|
2785
3089
|
"kind": "method"
|
|
2786
3090
|
}
|
|
2787
3091
|
],
|
|
3092
|
+
"source": {
|
|
3093
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/controllers/timestamp-controller.ts#L27"
|
|
3094
|
+
},
|
|
2788
3095
|
"kind": "class"
|
|
2789
3096
|
}
|
|
2790
3097
|
],
|
|
@@ -2813,8 +3120,11 @@
|
|
|
2813
3120
|
}
|
|
2814
3121
|
],
|
|
2815
3122
|
"name": "bound",
|
|
2816
|
-
"description": "Binds a class method to the instance",
|
|
2817
|
-
"kind": "function"
|
|
3123
|
+
"description": "Binds a class method to the instance\n\n\u003cfigure\u003e\n\u003cfigcaption\u003eBinding an event listener\u003c/figcaption\u003e\n\n```ts\nprivate mo = new MutationObserver(this.onMutation);\n\u003c/figure\u003e",
|
|
3124
|
+
"kind": "function",
|
|
3125
|
+
"source": {
|
|
3126
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/decorators/bound.ts#L17"
|
|
3127
|
+
}
|
|
2818
3128
|
}
|
|
2819
3129
|
],
|
|
2820
3130
|
"exports": [
|
|
@@ -2845,7 +3155,10 @@
|
|
|
2845
3155
|
"name": "cascades",
|
|
2846
3156
|
"description": "Cascades the decorated attribute to children",
|
|
2847
3157
|
"deprecated": "use context, especially via `@patternfly/pfe-core/functions/context.js`;",
|
|
2848
|
-
"kind": "function"
|
|
3158
|
+
"kind": "function",
|
|
3159
|
+
"source": {
|
|
3160
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/decorators/cascades.ts#L10"
|
|
3161
|
+
}
|
|
2849
3162
|
}
|
|
2850
3163
|
],
|
|
2851
3164
|
"exports": [
|
|
@@ -2874,12 +3187,14 @@
|
|
|
2874
3187
|
}
|
|
2875
3188
|
],
|
|
2876
3189
|
"name": "deprecation",
|
|
2877
|
-
"description": "Aliases the decorated field to an existing property, and logs a warning if it is used",
|
|
2878
|
-
"kind": "function"
|
|
3190
|
+
"description": "Aliases the decorated field to an existing property, and logs a warning if it is used\n\n\u003cfigure\u003e\n\u003cfigcaption\u003edeprecating an attribute\u003c/figcaption\u003e\n\n```ts\n\u003c/figure\u003e",
|
|
3191
|
+
"kind": "function",
|
|
3192
|
+
"source": {
|
|
3193
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/decorators/deprecation.ts#L21"
|
|
3194
|
+
}
|
|
2879
3195
|
},
|
|
2880
3196
|
{
|
|
2881
3197
|
"name": "Deprecation",
|
|
2882
|
-
"description": "Aliases the decorated field to an existing property, and logs a warning if it is used",
|
|
2883
3198
|
"members": [
|
|
2884
3199
|
{
|
|
2885
3200
|
"name": "logger",
|
|
@@ -2898,11 +3213,38 @@
|
|
|
2898
3213
|
"kind": "field",
|
|
2899
3214
|
"privacy": "private"
|
|
2900
3215
|
},
|
|
3216
|
+
{
|
|
3217
|
+
"name": "host",
|
|
3218
|
+
"type": {
|
|
3219
|
+
"text": "T"
|
|
3220
|
+
},
|
|
3221
|
+
"kind": "field",
|
|
3222
|
+
"privacy": "private"
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
"name": "options",
|
|
3226
|
+
"type": {
|
|
3227
|
+
"text": "DeprecationDeclaration\u003cK\u003e"
|
|
3228
|
+
},
|
|
3229
|
+
"kind": "field",
|
|
3230
|
+
"privacy": "private"
|
|
3231
|
+
},
|
|
3232
|
+
{
|
|
3233
|
+
"name": "deprecatedKey",
|
|
3234
|
+
"type": {
|
|
3235
|
+
"text": "string \u0026 keyof T"
|
|
3236
|
+
},
|
|
3237
|
+
"kind": "field",
|
|
3238
|
+
"privacy": "private"
|
|
3239
|
+
},
|
|
2901
3240
|
{
|
|
2902
3241
|
"name": "hostUpdate",
|
|
2903
3242
|
"kind": "method"
|
|
2904
3243
|
}
|
|
2905
3244
|
],
|
|
3245
|
+
"source": {
|
|
3246
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/decorators/deprecation.ts#L38"
|
|
3247
|
+
},
|
|
2906
3248
|
"kind": "class"
|
|
2907
3249
|
}
|
|
2908
3250
|
],
|
|
@@ -2933,7 +3275,10 @@
|
|
|
2933
3275
|
],
|
|
2934
3276
|
"name": "initializer",
|
|
2935
3277
|
"description": "Runs the decorated method in `connectedCallback`,\nprovided the element has light children, and sets\nup a mutation observer to re-run the callback,\nunless opted-out with `{ observe: false }`",
|
|
2936
|
-
"kind": "function"
|
|
3278
|
+
"kind": "function",
|
|
3279
|
+
"source": {
|
|
3280
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/decorators/initializer.ts#L13"
|
|
3281
|
+
}
|
|
2937
3282
|
}
|
|
2938
3283
|
],
|
|
2939
3284
|
"exports": [
|
|
@@ -2963,7 +3308,10 @@
|
|
|
2963
3308
|
],
|
|
2964
3309
|
"name": "listen",
|
|
2965
3310
|
"description": "Listens for a given event on the custom element.\nequivalent to calling `this.addEventListener` in the constructor",
|
|
2966
|
-
"kind": "function"
|
|
3311
|
+
"kind": "function",
|
|
3312
|
+
"source": {
|
|
3313
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/decorators/listen.ts#L9"
|
|
3314
|
+
}
|
|
2967
3315
|
}
|
|
2968
3316
|
],
|
|
2969
3317
|
"exports": [
|
|
@@ -2991,7 +3339,10 @@
|
|
|
2991
3339
|
}
|
|
2992
3340
|
],
|
|
2993
3341
|
"name": "observed",
|
|
2994
|
-
"kind": "function"
|
|
3342
|
+
"kind": "function",
|
|
3343
|
+
"source": {
|
|
3344
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/decorators/observed.ts#L34"
|
|
3345
|
+
}
|
|
2995
3346
|
},
|
|
2996
3347
|
{
|
|
2997
3348
|
"parameters": [
|
|
@@ -3003,7 +3354,10 @@
|
|
|
3003
3354
|
}
|
|
3004
3355
|
],
|
|
3005
3356
|
"name": "observed",
|
|
3006
|
-
"kind": "function"
|
|
3357
|
+
"kind": "function",
|
|
3358
|
+
"source": {
|
|
3359
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/decorators/observed.ts#L35"
|
|
3360
|
+
}
|
|
3007
3361
|
}
|
|
3008
3362
|
],
|
|
3009
3363
|
"exports": [
|
|
@@ -3033,7 +3387,10 @@
|
|
|
3033
3387
|
],
|
|
3034
3388
|
"name": "observes",
|
|
3035
3389
|
"description": "Observes changes on the given property and calls the decorated method\nwith the old and new values when it changes. In cases where the decorated method\nneeds to access uninitialized class fields, You may need to wait for the element to connect\nbefore running your effects. In that case, you can optionally specify which\nlifecycle state to wait for. e.g.:\n- `waitFor: 'firstUpdate'` waits until the first update cycle has completed\n- `waitFor: 'updated'` waits until the next update cycle has completed\n- `waitFor: 'connected'` waits until the element connects",
|
|
3036
|
-
"kind": "function"
|
|
3390
|
+
"kind": "function",
|
|
3391
|
+
"source": {
|
|
3392
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/decorators/observes.ts#L21"
|
|
3393
|
+
}
|
|
3037
3394
|
}
|
|
3038
3395
|
],
|
|
3039
3396
|
"exports": [
|
|
@@ -3063,7 +3420,10 @@
|
|
|
3063
3420
|
],
|
|
3064
3421
|
"name": "time",
|
|
3065
3422
|
"description": "Tracks the time a method takes to complete using the [performance API](https://developer.mozilla.org/en-US/docs/Web/API/Performance)",
|
|
3066
|
-
"kind": "function"
|
|
3423
|
+
"kind": "function",
|
|
3424
|
+
"source": {
|
|
3425
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/decorators/time.ts#L5"
|
|
3426
|
+
}
|
|
3067
3427
|
}
|
|
3068
3428
|
],
|
|
3069
3429
|
"exports": [
|
|
@@ -3093,7 +3453,10 @@
|
|
|
3093
3453
|
],
|
|
3094
3454
|
"name": "trace",
|
|
3095
3455
|
"description": "Logs the result of a class method",
|
|
3096
|
-
"kind": "function"
|
|
3456
|
+
"kind": "function",
|
|
3457
|
+
"source": {
|
|
3458
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/decorators/trace.ts#L5"
|
|
3459
|
+
}
|
|
3097
3460
|
}
|
|
3098
3461
|
],
|
|
3099
3462
|
"exports": [
|
|
@@ -3123,7 +3486,10 @@
|
|
|
3123
3486
|
],
|
|
3124
3487
|
"name": "arraysAreEquivalent",
|
|
3125
3488
|
"description": "Whether the two arrays are equivalent\nArrays are equivalent when they are both empty, or when their lengths are equal and each of\ntheir members is equal (===) to the corresponding member in the other array.\nIf either argument is not an array, the result will be strict equivalence (===)",
|
|
3126
|
-
"kind": "function"
|
|
3489
|
+
"kind": "function",
|
|
3490
|
+
"source": {
|
|
3491
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/functions/arraysAreEquivalent.ts#L9"
|
|
3492
|
+
}
|
|
3127
3493
|
}
|
|
3128
3494
|
],
|
|
3129
3495
|
"exports": [
|
|
@@ -3153,7 +3519,10 @@
|
|
|
3153
3519
|
],
|
|
3154
3520
|
"name": "containsDeep",
|
|
3155
3521
|
"description": "Whether or not the container contains the node,\nand if not, whether the node is contained by any element\nslotted in to the container",
|
|
3156
|
-
"kind": "function"
|
|
3522
|
+
"kind": "function",
|
|
3523
|
+
"source": {
|
|
3524
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/functions/containsDeep.ts#L8"
|
|
3525
|
+
}
|
|
3157
3526
|
}
|
|
3158
3527
|
],
|
|
3159
3528
|
"exports": [
|
|
@@ -3184,7 +3553,10 @@
|
|
|
3184
3553
|
],
|
|
3185
3554
|
"name": "createContextWithRoot",
|
|
3186
3555
|
"description": "In order to prevent late-upgrading-context-consumers from 'missing'\ntheir rightful context providers, we must set up a `ContextRoot` on the body.\nAlways use this function when creating contexts that are shared with child elements.",
|
|
3187
|
-
"kind": "function"
|
|
3556
|
+
"kind": "function",
|
|
3557
|
+
"source": {
|
|
3558
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/functions/context.ts#L25"
|
|
3559
|
+
}
|
|
3188
3560
|
}
|
|
3189
3561
|
],
|
|
3190
3562
|
"exports": [
|
|
@@ -3214,7 +3586,10 @@
|
|
|
3214
3586
|
],
|
|
3215
3587
|
"name": "debounce",
|
|
3216
3588
|
"description": "Debounce helper function",
|
|
3217
|
-
"kind": "function"
|
|
3589
|
+
"kind": "function",
|
|
3590
|
+
"source": {
|
|
3591
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/functions/debounce.ts#L9"
|
|
3592
|
+
}
|
|
3218
3593
|
}
|
|
3219
3594
|
],
|
|
3220
3595
|
"exports": [
|
|
@@ -3247,7 +3622,10 @@
|
|
|
3247
3622
|
},
|
|
3248
3623
|
"name": "isElementInView",
|
|
3249
3624
|
"description": "This function returns whether or not an element is within the viewable area of a container. If partial is true,\nthen this function will return true even if only part of the element is in view.",
|
|
3250
|
-
"kind": "function"
|
|
3625
|
+
"kind": "function",
|
|
3626
|
+
"source": {
|
|
3627
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/functions/isElementInView.ts#L10"
|
|
3628
|
+
}
|
|
3251
3629
|
}
|
|
3252
3630
|
],
|
|
3253
3631
|
"exports": [
|
|
@@ -3268,7 +3646,10 @@
|
|
|
3268
3646
|
{
|
|
3269
3647
|
"name": "getRandomId",
|
|
3270
3648
|
"description": "A quick way to fetch a random ID value.\n_Note:_ All values are prefixed automatically to ensure an ID-safe value is returned.",
|
|
3271
|
-
"kind": "function"
|
|
3649
|
+
"kind": "function",
|
|
3650
|
+
"source": {
|
|
3651
|
+
"href": "https://github.com/patternfly/patternfly-elements/tree/main/functions/random.ts#L6"
|
|
3652
|
+
}
|
|
3272
3653
|
}
|
|
3273
3654
|
],
|
|
3274
3655
|
"exports": [
|