@patternfly/react-core 4.208.8 → 4.208.11

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.
Files changed (67) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/esm/components/Dropdown/DropdownMenu.d.ts +2 -1
  3. package/dist/esm/components/Dropdown/DropdownMenu.d.ts.map +1 -1
  4. package/dist/esm/components/Dropdown/DropdownMenu.js.map +1 -1
  5. package/dist/esm/components/Menu/Menu.d.ts.map +1 -1
  6. package/dist/esm/components/Menu/Menu.js.map +1 -1
  7. package/dist/esm/components/Nav/NavList.d.ts +2 -0
  8. package/dist/esm/components/Nav/NavList.d.ts.map +1 -1
  9. package/dist/esm/components/Toolbar/ToolbarExpandableContent.d.ts +3 -1
  10. package/dist/esm/components/Toolbar/ToolbarExpandableContent.d.ts.map +1 -1
  11. package/dist/esm/components/Toolbar/ToolbarExpandableContent.js.map +1 -1
  12. package/dist/esm/components/Toolbar/ToolbarFilter.d.ts +3 -1
  13. package/dist/esm/components/Toolbar/ToolbarFilter.d.ts.map +1 -1
  14. package/dist/esm/components/Toolbar/ToolbarFilter.js.map +1 -1
  15. package/dist/esm/components/Toolbar/ToolbarUtils.d.ts +1 -1
  16. package/dist/esm/components/Toolbar/ToolbarUtils.d.ts.map +1 -1
  17. package/dist/esm/helpers/index.d.ts +1 -0
  18. package/dist/esm/helpers/index.d.ts.map +1 -1
  19. package/dist/esm/helpers/index.js +1 -0
  20. package/dist/esm/helpers/index.js.map +1 -1
  21. package/dist/esm/helpers/useInterval.d.ts +6 -0
  22. package/dist/esm/helpers/useInterval.d.ts.map +1 -0
  23. package/dist/esm/helpers/useInterval.js +21 -0
  24. package/dist/esm/helpers/useInterval.js.map +1 -0
  25. package/dist/js/components/Dropdown/DropdownMenu.d.ts +2 -1
  26. package/dist/js/components/Dropdown/DropdownMenu.d.ts.map +1 -1
  27. package/dist/js/components/Dropdown/DropdownMenu.js.map +1 -1
  28. package/dist/js/components/Menu/Menu.d.ts.map +1 -1
  29. package/dist/js/components/Menu/Menu.js.map +1 -1
  30. package/dist/js/components/Nav/NavList.d.ts +2 -0
  31. package/dist/js/components/Nav/NavList.d.ts.map +1 -1
  32. package/dist/js/components/Toolbar/ToolbarExpandableContent.d.ts +3 -1
  33. package/dist/js/components/Toolbar/ToolbarExpandableContent.d.ts.map +1 -1
  34. package/dist/js/components/Toolbar/ToolbarExpandableContent.js.map +1 -1
  35. package/dist/js/components/Toolbar/ToolbarFilter.d.ts +3 -1
  36. package/dist/js/components/Toolbar/ToolbarFilter.d.ts.map +1 -1
  37. package/dist/js/components/Toolbar/ToolbarFilter.js.map +1 -1
  38. package/dist/js/components/Toolbar/ToolbarUtils.d.ts +1 -1
  39. package/dist/js/components/Toolbar/ToolbarUtils.d.ts.map +1 -1
  40. package/dist/js/helpers/index.d.ts +1 -0
  41. package/dist/js/helpers/index.d.ts.map +1 -1
  42. package/dist/js/helpers/index.js +1 -0
  43. package/dist/js/helpers/index.js.map +1 -1
  44. package/dist/js/helpers/useInterval.d.ts +6 -0
  45. package/dist/js/helpers/useInterval.d.ts.map +1 -0
  46. package/dist/js/helpers/useInterval.js +26 -0
  47. package/dist/js/helpers/useInterval.js.map +1 -0
  48. package/dist/umd/react-core.css +233 -233
  49. package/dist/umd/react-core.js +21 -0
  50. package/dist/umd/react-core.min.js +1 -1
  51. package/package.json +5 -5
  52. package/src/components/AlertGroup/examples/AlertGroup.md +7 -361
  53. package/src/components/AlertGroup/examples/AlertGroupAsync.tsx +73 -0
  54. package/src/components/AlertGroup/examples/AlertGroupMultipleDynamic.tsx +59 -0
  55. package/src/components/AlertGroup/examples/AlertGroupSingularDynamic.tsx +70 -0
  56. package/src/components/AlertGroup/examples/AlertGroupSingularDynamicOverflow.tsx +89 -0
  57. package/src/components/AlertGroup/examples/AlertGroupStatic.tsx +11 -0
  58. package/src/components/AlertGroup/examples/AlertGroupToast.tsx +69 -0
  59. package/src/components/AlertGroup/examples/AlertGroupToastOverflowCapture.tsx +88 -0
  60. package/src/components/Dropdown/DropdownMenu.tsx +1 -0
  61. package/src/components/Menu/Menu.tsx +1 -0
  62. package/src/components/Nav/NavList.tsx +1 -1
  63. package/src/components/Toolbar/ToolbarExpandableContent.tsx +2 -1
  64. package/src/components/Toolbar/ToolbarFilter.tsx +2 -1
  65. package/src/components/Toolbar/ToolbarUtils.tsx +1 -1
  66. package/src/helpers/index.ts +1 -0
  67. package/src/helpers/useInterval.ts +25 -0
@@ -0,0 +1,6 @@
1
+ /** This is a custom React hook in a format suggest by Dan Abramov in a blog post here:
2
+ * https://overreacted.io/making-setinterval-declarative-with-react-hooks/. It allows setInterval to be used
3
+ * declaratively in functional React components.
4
+ */
5
+ export declare function useInterval(callback: () => void, delay: number | null): void;
6
+ //# sourceMappingURL=useInterval.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useInterval.d.ts","sourceRoot":"","sources":["../../../src/helpers/useInterval.ts"],"names":[],"mappings":"AAEA;;;GAGG;AAEH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,QAiBrE"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useInterval = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const React = tslib_1.__importStar(require("react"));
6
+ /** This is a custom React hook in a format suggest by Dan Abramov in a blog post here:
7
+ * https://overreacted.io/making-setinterval-declarative-with-react-hooks/. It allows setInterval to be used
8
+ * declaratively in functional React components.
9
+ */
10
+ function useInterval(callback, delay) {
11
+ const savedCallback = React.useRef(() => { });
12
+ React.useEffect(() => {
13
+ savedCallback.current = callback;
14
+ }, [callback]);
15
+ React.useEffect(() => {
16
+ function tick() {
17
+ savedCallback.current();
18
+ }
19
+ if (delay !== null) {
20
+ const id = setInterval(tick, delay);
21
+ return () => clearInterval(id);
22
+ }
23
+ }, [delay]);
24
+ }
25
+ exports.useInterval = useInterval;
26
+ //# sourceMappingURL=useInterval.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useInterval.js","sourceRoot":"","sources":["../../../src/helpers/useInterval.ts"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAE/B;;;GAGG;AAEH,SAAgB,WAAW,CAAC,QAAoB,EAAE,KAAoB;IACpE,MAAM,aAAa,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;IAE7C,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,aAAa,CAAC,OAAO,GAAG,QAAQ,CAAC;IACnC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,SAAS,IAAI;YACX,aAAa,CAAC,OAAO,EAAE,CAAC;QAC1B,CAAC;QAED,IAAI,KAAK,KAAK,IAAI,EAAE;YAClB,MAAM,EAAE,GAAG,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YACpC,OAAO,GAAG,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;SAChC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;AACd,CAAC;AAjBD,kCAiBC"}
@@ -17305,6 +17305,83 @@ label.pf-c-radio, .pf-c-radio__label,
17305
17305
  box-shadow: var(--pf-c-select__menu-footer--BoxShadow);
17306
17306
  }
17307
17307
 
17308
+ .pf-c-simple-list {
17309
+ --pf-c-simple-list__item-link--PaddingTop: var(--pf-global--spacer--xs);
17310
+ --pf-c-simple-list__item-link--PaddingRight: var(--pf-global--spacer--md);
17311
+ --pf-c-simple-list__item-link--PaddingBottom: var(--pf-global--spacer--xs);
17312
+ --pf-c-simple-list__item-link--PaddingLeft: var(--pf-global--spacer--md);
17313
+ --pf-c-simple-list__item-link--BackgroundColor: var(--pf-global--BackgroundColor--100);
17314
+ --pf-c-simple-list__item-link--Color: var(--pf-global--Color--100);
17315
+ --pf-c-simple-list__item-link--FontSize: var(--pf-global--FontSize--sm);
17316
+ --pf-c-simple-list__item-link--FontWeight: var(--pf-global--FontWeight--normal);
17317
+ --pf-c-simple-list__item-link--m-current--Color: var(--pf-global--link--Color);
17318
+ --pf-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-global--BackgroundColor--200);
17319
+ --pf-c-simple-list__item-link--m-current--FontWeight: var(--pf-global--FontWeight--normal);
17320
+ --pf-c-simple-list__item-link--hover--Color: var(--pf-global--Color--100);
17321
+ --pf-c-simple-list__item-link--hover--BackgroundColor: var(--pf-global--BackgroundColor--200);
17322
+ --pf-c-simple-list__item-link--focus--Color: var(--pf-global--Color--100);
17323
+ --pf-c-simple-list__item-link--focus--BackgroundColor: var(--pf-global--BackgroundColor--200);
17324
+ --pf-c-simple-list__item-link--focus--FontWeight: var(--pf-global--FontWeight--normal);
17325
+ --pf-c-simple-list__item-link--active--Color: var(--pf-global--Color--100);
17326
+ --pf-c-simple-list__item-link--active--BackgroundColor: var(--pf-global--BackgroundColor--200);
17327
+ --pf-c-simple-list__item-link--active--FontWeight: var(--pf-global--FontWeight--normal);
17328
+ --pf-c-simple-list__title--PaddingTop: var(--pf-global--spacer--sm);
17329
+ --pf-c-simple-list__title--PaddingRight: var(--pf-global--spacer--md);
17330
+ --pf-c-simple-list__title--PaddingBottom: var(--pf-global--spacer--sm);
17331
+ --pf-c-simple-list__title--PaddingLeft: var(--pf-global--spacer--md);
17332
+ --pf-c-simple-list__title--FontSize: var(--pf-global--FontSize--sm);
17333
+ --pf-c-simple-list__title--Color: var(--pf-global--Color--dark-200);
17334
+ --pf-c-simple-list__title--FontWeight: var(--pf-global--FontWeight--semi-bold);
17335
+ --pf-c-simple-list__section--section--MarginTop: var(--pf-global--spacer--sm);
17336
+ }
17337
+
17338
+ .pf-c-simple-list__item-link {
17339
+ display: block;
17340
+ width: 100%;
17341
+ padding: var(--pf-c-simple-list__item-link--PaddingTop) var(--pf-c-simple-list__item-link--PaddingRight) var(--pf-c-simple-list__item-link--PaddingBottom) var(--pf-c-simple-list__item-link--PaddingLeft);
17342
+ font-size: var(--pf-c-simple-list__item-link--FontSize);
17343
+ font-weight: var(--pf-c-simple-list__item-link--FontWeight);
17344
+ color: var(--pf-c-simple-list__item-link--Color);
17345
+ text-align: left;
17346
+ background-color: var(--pf-c-simple-list__item-link--BackgroundColor);
17347
+ border: none;
17348
+ }
17349
+
17350
+ .pf-c-simple-list__item-link:hover {
17351
+ text-decoration: none;
17352
+ --pf-c-simple-list__item-link--BackgroundColor: var(--pf-c-simple-list__item-link--hover--BackgroundColor);
17353
+ --pf-c-simple-list__item-link--Color: var(--pf-c-simple-list__item-link--hover--Color);
17354
+ }
17355
+
17356
+ .pf-c-simple-list__item-link:focus {
17357
+ --pf-c-simple-list__item-link--FontWeight: var(--pf-c-simple-list__item-link--focus--FontWeight);
17358
+ --pf-c-simple-list__item-link--BackgroundColor: var(--pf-c-simple-list__item-link--focus--BackgroundColor);
17359
+ --pf-c-simple-list__item-link--Color: var(--pf-c-simple-list__item-link--focus--Color);
17360
+ }
17361
+
17362
+ .pf-c-simple-list__item-link:active {
17363
+ --pf-c-simple-list__item-link--FontWeight: var(--pf-c-simple-list__item-link--active--FontWeight);
17364
+ --pf-c-simple-list__item-link--BackgroundColor: var(--pf-c-simple-list__item-link--active--BackgroundColor);
17365
+ --pf-c-simple-list__item-link--Color: var(--pf-c-simple-list__item-link--active--Color);
17366
+ }
17367
+
17368
+ .pf-c-simple-list__item-link.pf-m-current {
17369
+ --pf-c-simple-list__item-link--FontWeight: var(--pf-c-simple-list__item-link--m-current--FontWeight);
17370
+ --pf-c-simple-list__item-link--BackgroundColor: var(--pf-c-simple-list__item-link--m-current--BackgroundColor);
17371
+ --pf-c-simple-list__item-link--Color: var(--pf-c-simple-list__item-link--m-current--Color);
17372
+ }
17373
+
17374
+ .pf-c-simple-list__title {
17375
+ padding: var(--pf-c-simple-list__title--PaddingTop) var(--pf-c-simple-list__title--PaddingRight) var(--pf-c-simple-list__title--PaddingBottom) var(--pf-c-simple-list__title--PaddingLeft);
17376
+ font-size: var(--pf-c-simple-list__title--FontSize);
17377
+ font-weight: var(--pf-c-simple-list__title--FontWeight);
17378
+ color: var(--pf-c-simple-list__title--Color);
17379
+ }
17380
+
17381
+ .pf-c-simple-list__section + .pf-c-simple-list__section {
17382
+ margin-top: var(--pf-c-simple-list__section--section--MarginTop);
17383
+ }
17384
+
17308
17385
  .pf-c-skeleton {
17309
17386
  --pf-c-skeleton--BackgroundColor: var(--pf-global--palette--black-150);
17310
17387
  --pf-c-skeleton--Width: auto;
@@ -17494,83 +17571,6 @@ label.pf-c-radio, .pf-c-radio__label,
17494
17571
  transform: translateX(100%);
17495
17572
  }
17496
17573
  }
17497
- .pf-c-simple-list {
17498
- --pf-c-simple-list__item-link--PaddingTop: var(--pf-global--spacer--xs);
17499
- --pf-c-simple-list__item-link--PaddingRight: var(--pf-global--spacer--md);
17500
- --pf-c-simple-list__item-link--PaddingBottom: var(--pf-global--spacer--xs);
17501
- --pf-c-simple-list__item-link--PaddingLeft: var(--pf-global--spacer--md);
17502
- --pf-c-simple-list__item-link--BackgroundColor: var(--pf-global--BackgroundColor--100);
17503
- --pf-c-simple-list__item-link--Color: var(--pf-global--Color--100);
17504
- --pf-c-simple-list__item-link--FontSize: var(--pf-global--FontSize--sm);
17505
- --pf-c-simple-list__item-link--FontWeight: var(--pf-global--FontWeight--normal);
17506
- --pf-c-simple-list__item-link--m-current--Color: var(--pf-global--link--Color);
17507
- --pf-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-global--BackgroundColor--200);
17508
- --pf-c-simple-list__item-link--m-current--FontWeight: var(--pf-global--FontWeight--normal);
17509
- --pf-c-simple-list__item-link--hover--Color: var(--pf-global--Color--100);
17510
- --pf-c-simple-list__item-link--hover--BackgroundColor: var(--pf-global--BackgroundColor--200);
17511
- --pf-c-simple-list__item-link--focus--Color: var(--pf-global--Color--100);
17512
- --pf-c-simple-list__item-link--focus--BackgroundColor: var(--pf-global--BackgroundColor--200);
17513
- --pf-c-simple-list__item-link--focus--FontWeight: var(--pf-global--FontWeight--normal);
17514
- --pf-c-simple-list__item-link--active--Color: var(--pf-global--Color--100);
17515
- --pf-c-simple-list__item-link--active--BackgroundColor: var(--pf-global--BackgroundColor--200);
17516
- --pf-c-simple-list__item-link--active--FontWeight: var(--pf-global--FontWeight--normal);
17517
- --pf-c-simple-list__title--PaddingTop: var(--pf-global--spacer--sm);
17518
- --pf-c-simple-list__title--PaddingRight: var(--pf-global--spacer--md);
17519
- --pf-c-simple-list__title--PaddingBottom: var(--pf-global--spacer--sm);
17520
- --pf-c-simple-list__title--PaddingLeft: var(--pf-global--spacer--md);
17521
- --pf-c-simple-list__title--FontSize: var(--pf-global--FontSize--sm);
17522
- --pf-c-simple-list__title--Color: var(--pf-global--Color--dark-200);
17523
- --pf-c-simple-list__title--FontWeight: var(--pf-global--FontWeight--semi-bold);
17524
- --pf-c-simple-list__section--section--MarginTop: var(--pf-global--spacer--sm);
17525
- }
17526
-
17527
- .pf-c-simple-list__item-link {
17528
- display: block;
17529
- width: 100%;
17530
- padding: var(--pf-c-simple-list__item-link--PaddingTop) var(--pf-c-simple-list__item-link--PaddingRight) var(--pf-c-simple-list__item-link--PaddingBottom) var(--pf-c-simple-list__item-link--PaddingLeft);
17531
- font-size: var(--pf-c-simple-list__item-link--FontSize);
17532
- font-weight: var(--pf-c-simple-list__item-link--FontWeight);
17533
- color: var(--pf-c-simple-list__item-link--Color);
17534
- text-align: left;
17535
- background-color: var(--pf-c-simple-list__item-link--BackgroundColor);
17536
- border: none;
17537
- }
17538
-
17539
- .pf-c-simple-list__item-link:hover {
17540
- text-decoration: none;
17541
- --pf-c-simple-list__item-link--BackgroundColor: var(--pf-c-simple-list__item-link--hover--BackgroundColor);
17542
- --pf-c-simple-list__item-link--Color: var(--pf-c-simple-list__item-link--hover--Color);
17543
- }
17544
-
17545
- .pf-c-simple-list__item-link:focus {
17546
- --pf-c-simple-list__item-link--FontWeight: var(--pf-c-simple-list__item-link--focus--FontWeight);
17547
- --pf-c-simple-list__item-link--BackgroundColor: var(--pf-c-simple-list__item-link--focus--BackgroundColor);
17548
- --pf-c-simple-list__item-link--Color: var(--pf-c-simple-list__item-link--focus--Color);
17549
- }
17550
-
17551
- .pf-c-simple-list__item-link:active {
17552
- --pf-c-simple-list__item-link--FontWeight: var(--pf-c-simple-list__item-link--active--FontWeight);
17553
- --pf-c-simple-list__item-link--BackgroundColor: var(--pf-c-simple-list__item-link--active--BackgroundColor);
17554
- --pf-c-simple-list__item-link--Color: var(--pf-c-simple-list__item-link--active--Color);
17555
- }
17556
-
17557
- .pf-c-simple-list__item-link.pf-m-current {
17558
- --pf-c-simple-list__item-link--FontWeight: var(--pf-c-simple-list__item-link--m-current--FontWeight);
17559
- --pf-c-simple-list__item-link--BackgroundColor: var(--pf-c-simple-list__item-link--m-current--BackgroundColor);
17560
- --pf-c-simple-list__item-link--Color: var(--pf-c-simple-list__item-link--m-current--Color);
17561
- }
17562
-
17563
- .pf-c-simple-list__title {
17564
- padding: var(--pf-c-simple-list__title--PaddingTop) var(--pf-c-simple-list__title--PaddingRight) var(--pf-c-simple-list__title--PaddingBottom) var(--pf-c-simple-list__title--PaddingLeft);
17565
- font-size: var(--pf-c-simple-list__title--FontSize);
17566
- font-weight: var(--pf-c-simple-list__title--FontWeight);
17567
- color: var(--pf-c-simple-list__title--Color);
17568
- }
17569
-
17570
- .pf-c-simple-list__section + .pf-c-simple-list__section {
17571
- margin-top: var(--pf-c-simple-list__section--section--MarginTop);
17572
- }
17573
-
17574
17574
  .pf-c-skip-to-content {
17575
17575
  --pf-c-skip-to-content--Top: var(--pf-global--spacer--md);
17576
17576
  --pf-c-skip-to-content--ZIndex: var(--pf-global--ZIndex--2xl);
@@ -19762,99 +19762,6 @@ svg.pf-c-spinner.pf-m-xl {
19762
19762
  margin-left: var(--pf-c-toggle-group__icon--text--MarginLeft);
19763
19763
  }
19764
19764
 
19765
- .pf-c-tooltip {
19766
- --pf-c-tooltip--MaxWidth: 18.75rem;
19767
- --pf-c-tooltip--BoxShadow: var(--pf-global--BoxShadow--md);
19768
- --pf-c-tooltip__content--PaddingTop: var(--pf-global--spacer--sm);
19769
- --pf-c-tooltip__content--PaddingRight: var(--pf-global--spacer--sm);
19770
- --pf-c-tooltip__content--PaddingBottom: var(--pf-global--spacer--sm);
19771
- --pf-c-tooltip__content--PaddingLeft: var(--pf-global--spacer--sm);
19772
- --pf-c-tooltip__content--Color: var(--pf-global--Color--light-100);
19773
- --pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
19774
- --pf-c-tooltip__content--FontSize: var(--pf-global--FontSize--sm);
19775
- --pf-c-tooltip__arrow--Width: 0.5rem;
19776
- --pf-c-tooltip__arrow--Height: 0.5rem;
19777
- --pf-c-tooltip__arrow--m-top--TranslateX: -50%;
19778
- --pf-c-tooltip__arrow--m-top--TranslateY: 50%;
19779
- --pf-c-tooltip__arrow--m-top--Rotate: 45deg;
19780
- --pf-c-tooltip__arrow--m-right--TranslateX: -50%;
19781
- --pf-c-tooltip__arrow--m-right--TranslateY: -50%;
19782
- --pf-c-tooltip__arrow--m-right--Rotate: 45deg;
19783
- --pf-c-tooltip__arrow--m-bottom--TranslateX: -50%;
19784
- --pf-c-tooltip__arrow--m-bottom--TranslateY: -50%;
19785
- --pf-c-tooltip__arrow--m-bottom--Rotate: 45deg;
19786
- --pf-c-tooltip__arrow--m-left--TranslateX: 50%;
19787
- --pf-c-tooltip__arrow--m-left--TranslateY: -50%;
19788
- --pf-c-tooltip__arrow--m-left--Rotate: 45deg;
19789
- position: relative;
19790
- max-width: var(--pf-c-tooltip--MaxWidth);
19791
- box-shadow: var(--pf-c-tooltip--BoxShadow);
19792
- }
19793
-
19794
- .pf-c-tooltip.pf-m-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-top-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-top-right .pf-c-tooltip__arrow {
19795
- bottom: 0;
19796
- left: 50%;
19797
- transform: translateX(var(--pf-c-tooltip__arrow--m-top--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-top--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-top--Rotate));
19798
- }
19799
-
19800
- .pf-c-tooltip.pf-m-bottom .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-right .pf-c-tooltip__arrow {
19801
- top: 0;
19802
- left: 50%;
19803
- transform: translateX(var(--pf-c-tooltip__arrow--m-bottom--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-bottom--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-bottom--Rotate));
19804
- }
19805
-
19806
- .pf-c-tooltip.pf-m-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-left-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-left-bottom .pf-c-tooltip__arrow {
19807
- top: 50%;
19808
- right: 0;
19809
- transform: translateX(var(--pf-c-tooltip__arrow--m-left--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-left--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-left--Rotate));
19810
- }
19811
-
19812
- .pf-c-tooltip.pf-m-right .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-bottom .pf-c-tooltip__arrow {
19813
- top: 50%;
19814
- left: 0;
19815
- transform: translateX(var(--pf-c-tooltip__arrow--m-right--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-right--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-right--Rotate));
19816
- }
19817
-
19818
- .pf-c-tooltip.pf-m-left-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-top .pf-c-tooltip__arrow {
19819
- top: var(--pf-c-tooltip__arrow--Height);
19820
- }
19821
-
19822
- .pf-c-tooltip.pf-m-left-bottom .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-bottom .pf-c-tooltip__arrow {
19823
- top: auto;
19824
- bottom: 0;
19825
- }
19826
-
19827
- .pf-c-tooltip.pf-m-top-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-left .pf-c-tooltip__arrow {
19828
- left: var(--pf-c-tooltip__arrow--Width);
19829
- }
19830
-
19831
- .pf-c-tooltip.pf-m-top-right .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-right .pf-c-tooltip__arrow {
19832
- right: 0;
19833
- left: auto;
19834
- }
19835
-
19836
- .pf-c-tooltip__content {
19837
- position: relative;
19838
- padding: var(--pf-c-tooltip__content--PaddingTop) var(--pf-c-tooltip__content--PaddingRight) var(--pf-c-tooltip__content--PaddingBottom) var(--pf-c-tooltip__content--PaddingLeft);
19839
- font-size: var(--pf-c-tooltip__content--FontSize);
19840
- color: var(--pf-c-tooltip__content--Color);
19841
- text-align: center;
19842
- word-break: break-word;
19843
- background-color: var(--pf-c-tooltip__content--BackgroundColor);
19844
- }
19845
-
19846
- .pf-c-tooltip__content.pf-m-text-align-left {
19847
- text-align: left;
19848
- }
19849
-
19850
- .pf-c-tooltip__arrow {
19851
- position: absolute;
19852
- width: var(--pf-c-tooltip__arrow--Width);
19853
- height: var(--pf-c-tooltip__arrow--Height);
19854
- pointer-events: none;
19855
- background-color: var(--pf-c-tooltip__content--BackgroundColor);
19856
- }
19857
-
19858
19765
  .pf-c-toolbar__content-section, .pf-c-toolbar__content, .pf-c-toolbar__item, .pf-c-toolbar__group {
19859
19766
  --pf-hidden-visible--visible--Visibility: visible;
19860
19767
  --pf-hidden-visible--hidden--Display: none;
@@ -21236,6 +21143,99 @@ svg.pf-c-spinner.pf-m-xl {
21236
21143
  --pf-c-toolbar--spacer: 0;
21237
21144
  }
21238
21145
 
21146
+ .pf-c-tooltip {
21147
+ --pf-c-tooltip--MaxWidth: 18.75rem;
21148
+ --pf-c-tooltip--BoxShadow: var(--pf-global--BoxShadow--md);
21149
+ --pf-c-tooltip__content--PaddingTop: var(--pf-global--spacer--sm);
21150
+ --pf-c-tooltip__content--PaddingRight: var(--pf-global--spacer--sm);
21151
+ --pf-c-tooltip__content--PaddingBottom: var(--pf-global--spacer--sm);
21152
+ --pf-c-tooltip__content--PaddingLeft: var(--pf-global--spacer--sm);
21153
+ --pf-c-tooltip__content--Color: var(--pf-global--Color--light-100);
21154
+ --pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
21155
+ --pf-c-tooltip__content--FontSize: var(--pf-global--FontSize--sm);
21156
+ --pf-c-tooltip__arrow--Width: 0.5rem;
21157
+ --pf-c-tooltip__arrow--Height: 0.5rem;
21158
+ --pf-c-tooltip__arrow--m-top--TranslateX: -50%;
21159
+ --pf-c-tooltip__arrow--m-top--TranslateY: 50%;
21160
+ --pf-c-tooltip__arrow--m-top--Rotate: 45deg;
21161
+ --pf-c-tooltip__arrow--m-right--TranslateX: -50%;
21162
+ --pf-c-tooltip__arrow--m-right--TranslateY: -50%;
21163
+ --pf-c-tooltip__arrow--m-right--Rotate: 45deg;
21164
+ --pf-c-tooltip__arrow--m-bottom--TranslateX: -50%;
21165
+ --pf-c-tooltip__arrow--m-bottom--TranslateY: -50%;
21166
+ --pf-c-tooltip__arrow--m-bottom--Rotate: 45deg;
21167
+ --pf-c-tooltip__arrow--m-left--TranslateX: 50%;
21168
+ --pf-c-tooltip__arrow--m-left--TranslateY: -50%;
21169
+ --pf-c-tooltip__arrow--m-left--Rotate: 45deg;
21170
+ position: relative;
21171
+ max-width: var(--pf-c-tooltip--MaxWidth);
21172
+ box-shadow: var(--pf-c-tooltip--BoxShadow);
21173
+ }
21174
+
21175
+ .pf-c-tooltip.pf-m-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-top-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-top-right .pf-c-tooltip__arrow {
21176
+ bottom: 0;
21177
+ left: 50%;
21178
+ transform: translateX(var(--pf-c-tooltip__arrow--m-top--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-top--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-top--Rotate));
21179
+ }
21180
+
21181
+ .pf-c-tooltip.pf-m-bottom .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-right .pf-c-tooltip__arrow {
21182
+ top: 0;
21183
+ left: 50%;
21184
+ transform: translateX(var(--pf-c-tooltip__arrow--m-bottom--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-bottom--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-bottom--Rotate));
21185
+ }
21186
+
21187
+ .pf-c-tooltip.pf-m-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-left-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-left-bottom .pf-c-tooltip__arrow {
21188
+ top: 50%;
21189
+ right: 0;
21190
+ transform: translateX(var(--pf-c-tooltip__arrow--m-left--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-left--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-left--Rotate));
21191
+ }
21192
+
21193
+ .pf-c-tooltip.pf-m-right .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-bottom .pf-c-tooltip__arrow {
21194
+ top: 50%;
21195
+ left: 0;
21196
+ transform: translateX(var(--pf-c-tooltip__arrow--m-right--TranslateX)) translateY(var(--pf-c-tooltip__arrow--m-right--TranslateY)) rotate(var(--pf-c-tooltip__arrow--m-right--Rotate));
21197
+ }
21198
+
21199
+ .pf-c-tooltip.pf-m-left-top .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-top .pf-c-tooltip__arrow {
21200
+ top: var(--pf-c-tooltip__arrow--Height);
21201
+ }
21202
+
21203
+ .pf-c-tooltip.pf-m-left-bottom .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-right-bottom .pf-c-tooltip__arrow {
21204
+ top: auto;
21205
+ bottom: 0;
21206
+ }
21207
+
21208
+ .pf-c-tooltip.pf-m-top-left .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-left .pf-c-tooltip__arrow {
21209
+ left: var(--pf-c-tooltip__arrow--Width);
21210
+ }
21211
+
21212
+ .pf-c-tooltip.pf-m-top-right .pf-c-tooltip__arrow, .pf-c-tooltip.pf-m-bottom-right .pf-c-tooltip__arrow {
21213
+ right: 0;
21214
+ left: auto;
21215
+ }
21216
+
21217
+ .pf-c-tooltip__content {
21218
+ position: relative;
21219
+ padding: var(--pf-c-tooltip__content--PaddingTop) var(--pf-c-tooltip__content--PaddingRight) var(--pf-c-tooltip__content--PaddingBottom) var(--pf-c-tooltip__content--PaddingLeft);
21220
+ font-size: var(--pf-c-tooltip__content--FontSize);
21221
+ color: var(--pf-c-tooltip__content--Color);
21222
+ text-align: center;
21223
+ word-break: break-word;
21224
+ background-color: var(--pf-c-tooltip__content--BackgroundColor);
21225
+ }
21226
+
21227
+ .pf-c-tooltip__content.pf-m-text-align-left {
21228
+ text-align: left;
21229
+ }
21230
+
21231
+ .pf-c-tooltip__arrow {
21232
+ position: absolute;
21233
+ width: var(--pf-c-tooltip__arrow--Width);
21234
+ height: var(--pf-c-tooltip__arrow--Height);
21235
+ pointer-events: none;
21236
+ background-color: var(--pf-c-tooltip__content--BackgroundColor);
21237
+ }
21238
+
21239
21239
  .pf-c-number-input .pf-c-form-control {
21240
21240
  appearance: textfield;
21241
21241
  }
@@ -22283,6 +22283,69 @@ svg.pf-c-spinner.pf-m-xl {
22283
22283
  margin-left: var(--pf-c-wizard__footer-cancel--MarginLeft);
22284
22284
  }
22285
22285
 
22286
+ .pf-c-draggable {
22287
+ --pf-c-draggable--Cursor: auto;
22288
+ --pf-c-draggable--m-dragging--Cursor: grabbing;
22289
+ --pf-c-draggable--m-dragging--BoxShadow: var(--pf-global--BoxShadow--md);
22290
+ --pf-c-draggable--m-dragging--after--BorderWidth: var(--pf-global--BorderWidth--sm);
22291
+ --pf-c-draggable--m-dragging--after--BorderColor: var(--pf-global--active-color--100);
22292
+ --pf-c-draggable--m-drag-outside--Cursor: not-allowed;
22293
+ --pf-c-draggable--m-drag-outside--after--BorderColor: var(--pf-global--danger-color--100);
22294
+ cursor: var(--pf-c-draggable--Cursor);
22295
+ }
22296
+
22297
+ .pf-c-draggable.pf-m-dragging {
22298
+ --pf-c-draggable--Cursor: var(--pf-c-draggable--m-dragging--Cursor);
22299
+ position: relative;
22300
+ background-color: var(--pf-c-draggable--m-dragging--BackgroundColor);
22301
+ box-shadow: var(--pf-c-draggable--m-dragging--BoxShadow);
22302
+ }
22303
+
22304
+ .pf-c-draggable.pf-m-dragging::after {
22305
+ position: absolute;
22306
+ top: 0;
22307
+ right: 0;
22308
+ bottom: 0;
22309
+ left: 0;
22310
+ content: "";
22311
+ border: var(--pf-c-draggable--m-dragging--after--BorderWidth) solid var(--pf-c-draggable--m-dragging--after--BorderColor);
22312
+ }
22313
+
22314
+ .pf-c-draggable.pf-m-drag-outside {
22315
+ --pf-c-draggable--m-dragging--Cursor: var(--pf-c-draggable--m-drag-outside--Cursor);
22316
+ --pf-c-draggable--m-dragging--after--BorderColor: var(--pf-c-draggable--m-drag-outside--after--BorderColor);
22317
+ }
22318
+
22319
+ .pf-c-droppable {
22320
+ --pf-c-droppable--m-dragging--after--BackgroundColor: rgba(255, 255, 255, 0.6);
22321
+ --pf-c-droppable--m-dragging--after--BorderWidth: var(--pf-global--BorderWidth--sm);
22322
+ --pf-c-droppable--m-dragging--after--BorderColor: var(--pf-global--active-color--100);
22323
+ --pf-c-droppable--m-drag-outside--after--BorderColor: var(--pf-global--danger-color--100);
22324
+ }
22325
+
22326
+ .pf-c-droppable.pf-m-dragging {
22327
+ position: relative;
22328
+ }
22329
+
22330
+ .pf-c-droppable.pf-m-dragging::after {
22331
+ position: absolute;
22332
+ top: 0;
22333
+ right: 0;
22334
+ bottom: 0;
22335
+ left: 0;
22336
+ pointer-events: none;
22337
+ content: "";
22338
+ }
22339
+
22340
+ .pf-c-droppable::after {
22341
+ background-color: var(--pf-c-droppable--m-dragging--after--BackgroundColor);
22342
+ border: var(--pf-c-droppable--m-dragging--after--BorderWidth) solid var(--pf-c-droppable--m-dragging--after--BorderColor);
22343
+ }
22344
+
22345
+ .pf-c-droppable.pf-m-drag-outside {
22346
+ --pf-c-droppable--m-dragging--after--BorderColor: var(--pf-c-droppable--m-drag-outside--after--BorderColor);
22347
+ }
22348
+
22286
22349
  .pf-c-text-input-group {
22287
22350
  --pf-c-text-input-group--BackgroundColor: var(--pf-global--BackgroundColor--100);
22288
22351
  --pf-c-text-input-group__text--before--BorderWidth: var(--pf-global--BorderWidth--sm);
@@ -22455,69 +22518,6 @@ svg.pf-c-spinner.pf-m-xl {
22455
22518
  display: flex;
22456
22519
  }
22457
22520
 
22458
- .pf-c-draggable {
22459
- --pf-c-draggable--Cursor: auto;
22460
- --pf-c-draggable--m-dragging--Cursor: grabbing;
22461
- --pf-c-draggable--m-dragging--BoxShadow: var(--pf-global--BoxShadow--md);
22462
- --pf-c-draggable--m-dragging--after--BorderWidth: var(--pf-global--BorderWidth--sm);
22463
- --pf-c-draggable--m-dragging--after--BorderColor: var(--pf-global--active-color--100);
22464
- --pf-c-draggable--m-drag-outside--Cursor: not-allowed;
22465
- --pf-c-draggable--m-drag-outside--after--BorderColor: var(--pf-global--danger-color--100);
22466
- cursor: var(--pf-c-draggable--Cursor);
22467
- }
22468
-
22469
- .pf-c-draggable.pf-m-dragging {
22470
- --pf-c-draggable--Cursor: var(--pf-c-draggable--m-dragging--Cursor);
22471
- position: relative;
22472
- background-color: var(--pf-c-draggable--m-dragging--BackgroundColor);
22473
- box-shadow: var(--pf-c-draggable--m-dragging--BoxShadow);
22474
- }
22475
-
22476
- .pf-c-draggable.pf-m-dragging::after {
22477
- position: absolute;
22478
- top: 0;
22479
- right: 0;
22480
- bottom: 0;
22481
- left: 0;
22482
- content: "";
22483
- border: var(--pf-c-draggable--m-dragging--after--BorderWidth) solid var(--pf-c-draggable--m-dragging--after--BorderColor);
22484
- }
22485
-
22486
- .pf-c-draggable.pf-m-drag-outside {
22487
- --pf-c-draggable--m-dragging--Cursor: var(--pf-c-draggable--m-drag-outside--Cursor);
22488
- --pf-c-draggable--m-dragging--after--BorderColor: var(--pf-c-draggable--m-drag-outside--after--BorderColor);
22489
- }
22490
-
22491
- .pf-c-droppable {
22492
- --pf-c-droppable--m-dragging--after--BackgroundColor: rgba(255, 255, 255, 0.6);
22493
- --pf-c-droppable--m-dragging--after--BorderWidth: var(--pf-global--BorderWidth--sm);
22494
- --pf-c-droppable--m-dragging--after--BorderColor: var(--pf-global--active-color--100);
22495
- --pf-c-droppable--m-drag-outside--after--BorderColor: var(--pf-global--danger-color--100);
22496
- }
22497
-
22498
- .pf-c-droppable.pf-m-dragging {
22499
- position: relative;
22500
- }
22501
-
22502
- .pf-c-droppable.pf-m-dragging::after {
22503
- position: absolute;
22504
- top: 0;
22505
- right: 0;
22506
- bottom: 0;
22507
- left: 0;
22508
- pointer-events: none;
22509
- content: "";
22510
- }
22511
-
22512
- .pf-c-droppable::after {
22513
- background-color: var(--pf-c-droppable--m-dragging--after--BackgroundColor);
22514
- border: var(--pf-c-droppable--m-dragging--after--BorderWidth) solid var(--pf-c-droppable--m-dragging--after--BorderColor);
22515
- }
22516
-
22517
- .pf-c-droppable.pf-m-drag-outside {
22518
- --pf-c-droppable--m-dragging--after--BorderColor: var(--pf-c-droppable--m-drag-outside--after--BorderColor);
22519
- }
22520
-
22521
22521
  .pf-c-panel {
22522
22522
  --pf-c-panel--Width: auto;
22523
22523
  --pf-c-panel--MinWidth: auto;
@@ -3483,6 +3483,26 @@
3483
3483
  };
3484
3484
  };
3485
3485
 
3486
+ /** This is a custom React hook in a format suggest by Dan Abramov in a blog post here:
3487
+ * https://overreacted.io/making-setinterval-declarative-with-react-hooks/. It allows setInterval to be used
3488
+ * declaratively in functional React components.
3489
+ */
3490
+ function useInterval(callback, delay) {
3491
+ const savedCallback = React__namespace.useRef(() => { });
3492
+ React__namespace.useEffect(() => {
3493
+ savedCallback.current = callback;
3494
+ }, [callback]);
3495
+ React__namespace.useEffect(() => {
3496
+ function tick() {
3497
+ savedCallback.current();
3498
+ }
3499
+ if (delay !== null) {
3500
+ const id = setInterval(tick, delay);
3501
+ return () => clearInterval(id);
3502
+ }
3503
+ }, [delay]);
3504
+ }
3505
+
3486
3506
  Promise.resolve().then(function () { return bullseye; });
3487
3507
  var styles$1h = {
3488
3508
  "bullseye": "pf-l-bullseye"
@@ -22338,6 +22358,7 @@
22338
22358
  exports.sideElementIsOutOfView = sideElementIsOutOfView;
22339
22359
  exports.toCamel = toCamel;
22340
22360
  exports.trimLeft = trimLeft;
22361
+ exports.useInterval = useInterval;
22341
22362
  exports.useIsomorphicLayoutEffect = useIsomorphicLayoutEffect;
22342
22363
  exports.useOUIAId = useOUIAId;
22343
22364
  exports.useOUIAProps = useOUIAProps;