@patternfly/react-core 4.177.0 → 4.180.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.
Files changed (110) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/esm/components/Card/Card.d.ts +5 -7
  3. package/dist/esm/components/Card/Card.d.ts.map +1 -1
  4. package/dist/esm/components/Card/Card.js +14 -2
  5. package/dist/esm/components/Card/Card.js.map +1 -1
  6. package/dist/esm/components/DragDrop/Droppable.d.ts.map +1 -1
  7. package/dist/esm/components/DragDrop/Droppable.js +5 -1
  8. package/dist/esm/components/DragDrop/Droppable.js.map +1 -1
  9. package/dist/esm/components/DualListSelector/DualListSelectorTree.d.ts +1 -1
  10. package/dist/esm/components/DualListSelector/DualListSelectorTree.d.ts.map +1 -1
  11. package/dist/esm/components/DualListSelector/DualListSelectorTree.js +2 -1
  12. package/dist/esm/components/DualListSelector/DualListSelectorTree.js.map +1 -1
  13. package/dist/esm/components/DualListSelector/DualListSelectorTreeItem.d.ts +3 -1
  14. package/dist/esm/components/DualListSelector/DualListSelectorTreeItem.d.ts.map +1 -1
  15. package/dist/esm/components/DualListSelector/DualListSelectorTreeItem.js +24 -2
  16. package/dist/esm/components/DualListSelector/DualListSelectorTreeItem.js.map +1 -1
  17. package/dist/esm/components/MenuToggle/MenuToggle.d.ts +1 -1
  18. package/dist/esm/components/MenuToggle/MenuToggle.d.ts.map +1 -1
  19. package/dist/esm/components/MenuToggle/MenuToggle.js +2 -1
  20. package/dist/esm/components/MenuToggle/MenuToggle.js.map +1 -1
  21. package/dist/esm/components/Popover/Popover.d.ts.map +1 -1
  22. package/dist/esm/components/Popover/Popover.js +2 -22
  23. package/dist/esm/components/Popover/Popover.js.map +1 -1
  24. package/dist/js/components/Card/Card.d.ts +5 -7
  25. package/dist/js/components/Card/Card.d.ts.map +1 -1
  26. package/dist/js/components/Card/Card.js +14 -2
  27. package/dist/js/components/Card/Card.js.map +1 -1
  28. package/dist/js/components/DragDrop/Droppable.d.ts.map +1 -1
  29. package/dist/js/components/DragDrop/Droppable.js +5 -1
  30. package/dist/js/components/DragDrop/Droppable.js.map +1 -1
  31. package/dist/js/components/DualListSelector/DualListSelectorTree.d.ts +1 -1
  32. package/dist/js/components/DualListSelector/DualListSelectorTree.d.ts.map +1 -1
  33. package/dist/js/components/DualListSelector/DualListSelectorTree.js +2 -1
  34. package/dist/js/components/DualListSelector/DualListSelectorTree.js.map +1 -1
  35. package/dist/js/components/DualListSelector/DualListSelectorTreeItem.d.ts +3 -1
  36. package/dist/js/components/DualListSelector/DualListSelectorTreeItem.d.ts.map +1 -1
  37. package/dist/js/components/DualListSelector/DualListSelectorTreeItem.js +24 -3
  38. package/dist/js/components/DualListSelector/DualListSelectorTreeItem.js.map +1 -1
  39. package/dist/js/components/MenuToggle/MenuToggle.d.ts +1 -1
  40. package/dist/js/components/MenuToggle/MenuToggle.d.ts.map +1 -1
  41. package/dist/js/components/MenuToggle/MenuToggle.js +2 -1
  42. package/dist/js/components/MenuToggle/MenuToggle.js.map +1 -1
  43. package/dist/js/components/Popover/Popover.d.ts.map +1 -1
  44. package/dist/js/components/Popover/Popover.js +2 -22
  45. package/dist/js/components/Popover/Popover.js.map +1 -1
  46. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Black.woff2 +0 -0
  47. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-BlackItalic.woff2 +0 -0
  48. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Bold.woff2 +0 -0
  49. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-BoldItalic.woff2 +0 -0
  50. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Italic.woff2 +0 -0
  51. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Light.woff2 +0 -0
  52. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-LightItalic.woff2 +0 -0
  53. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Medium.woff2 +0 -0
  54. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-MediumItalic.woff2 +0 -0
  55. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Regular.woff2 +0 -0
  56. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplayVF-updated-Italic.woff2 +0 -0
  57. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplayVF-updated.woff2 +0 -0
  58. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Bold.woff2 +0 -0
  59. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-BoldItalic.woff2 +0 -0
  60. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Italic.woff2 +0 -0
  61. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Light.woff2 +0 -0
  62. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-LightItalic.woff2 +0 -0
  63. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Medium.woff2 +0 -0
  64. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-MediumItalic.woff2 +0 -0
  65. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Regular.woff2 +0 -0
  66. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMonoVF-updated-Italic.woff2 +0 -0
  67. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMonoVF-updated.woff2 +0 -0
  68. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Bold.woff2 +0 -0
  69. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-BoldItalic.woff2 +0 -0
  70. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Italic.woff2 +0 -0
  71. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Light.woff2 +0 -0
  72. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-LightItalic.woff2 +0 -0
  73. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Medium.woff2 +0 -0
  74. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-MediumItalic.woff2 +0 -0
  75. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Regular.woff2 +0 -0
  76. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatText/RedHatTextVF-updated-Italic.woff2 +0 -0
  77. package/dist/styles/assets/fonts/RedHatFont-updated/RedHatText/RedHatTextVF-updated.woff2 +0 -0
  78. package/dist/styles/assets/fonts/RedHatFont-updated/modified/RedHatDisplayVF-updated-ItalicModified.woff2 +0 -0
  79. package/dist/styles/assets/fonts/RedHatFont-updated/modified/RedHatDisplayVFModified-updated.woff2 +0 -0
  80. package/dist/styles/assets/fonts/RedHatFont-updated/modified/RedHatTextVF-updated-ItalicModified.woff2 +0 -0
  81. package/dist/styles/assets/fonts/RedHatFont-updated/modified/RedHatTextVFModified-updated.woff2 +0 -0
  82. package/dist/styles/base-no-reset.css +121 -0
  83. package/dist/styles/base.css +121 -15
  84. package/dist/umd/react-core.css +183 -12
  85. package/dist/umd/react-core.js +58 -31
  86. package/dist/umd/react-core.min.css +183 -12
  87. package/dist/umd/react-core.min.js +2 -2
  88. package/package.json +6 -6
  89. package/src/components/Card/Card.tsx +23 -17
  90. package/src/components/Card/__tests__/Card.test.tsx +8 -14
  91. package/src/components/Card/__tests__/__snapshots__/Card.test.tsx.snap +2 -12
  92. package/src/components/Card/examples/Card.md +230 -264
  93. package/src/components/DragDrop/Droppable.tsx +5 -1
  94. package/src/components/DragDrop/examples/DragDrop.md +2 -0
  95. package/src/components/DualListSelector/DualListSelectorTree.tsx +4 -2
  96. package/src/components/DualListSelector/DualListSelectorTreeItem.tsx +32 -1
  97. package/src/components/DualListSelector/__tests__/__snapshots__/DualListSelector.test.tsx.snap +3 -0
  98. package/src/components/DualListSelector/examples/ComposableTree.tsx +345 -0
  99. package/src/components/DualListSelector/examples/DualListSelector.md +5 -1
  100. package/src/components/MenuToggle/MenuToggle.tsx +5 -2
  101. package/src/components/MenuToggle/__tests__/MenuToggle.test.tsx +5 -0
  102. package/src/components/MenuToggle/__tests__/__snapshots__/MenuToggle.test.tsx.snap +59 -0
  103. package/src/components/MenuToggle/examples/MenuToggle.md +60 -67
  104. package/src/components/Popover/Popover.tsx +1 -19
  105. package/src/components/Popover/__tests__/Generated/__snapshots__/Popover.test.tsx.snap +0 -1
  106. package/src/components/Popover/__tests__/__snapshots__/Popover.test.tsx.snap +0 -4
  107. package/src/demos/Card/Card.md +47 -23
  108. package/src/demos/TextInputGroupDemo.md +8 -246
  109. package/src/demos/examples/TextInputGroup/AttributeValueFiltering.js +250 -0
  110. package/src/demos/examples/TextInputGroup/AutoCompleteSearch.js +230 -0
@@ -241,6 +241,12 @@
241
241
  --pf-global--FontFamily--sans-serif: "RedHatText", "Overpass", overpass, helvetica, arial, sans-serif;
242
242
  --pf-global--FontFamily--heading--sans-serif: "RedHatDisplay", "Overpass", overpass, helvetica, arial, sans-serif;
243
243
  --pf-global--FontFamily--monospace: "Liberation Mono", consolas, "SFMono-Regular", menlo, monaco, "Courier New", monospace;
244
+ --pf-global--FontFamily--redhat-updated--sans-serif: "RedHatTextUpdated", "Overpass", overpass, helvetica, arial, sans-serif;
245
+ --pf-global--FontFamily--redhat-updated--heading--sans-serif: "RedHatDisplayUpdated", "Overpass", overpass, helvetica, arial, sans-serif;
246
+ --pf-global--FontFamily--redhat--monospace: "RedHatMono", "Liberation Mono", consolas, "SFMono-Regular", menlo, monaco, "Courier New", monospace;
247
+ --pf-global--FontFamily--redhatVF--sans-serif: "RedHatTextVF", "RedHatText", "Overpass", overpass, helvetica, arial, sans-serif;
248
+ --pf-global--FontFamily--redhatVF--heading--sans-serif: "RedHatDisplayVF", "RedHatDisplay", "Overpass", overpass, helvetica, arial, sans-serif;
249
+ --pf-global--FontFamily--redhatVF--monospace: "RedHatMonoVF", "RedHatMono", "Liberation Mono", consolas, "SFMono-Regular", menlo, monaco, "Courier New", monospace;
244
250
  --pf-global--FontFamily--overpass--sans-serif: "overpass", overpass, "open sans", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
245
251
  --pf-global--FontFamily--overpass--monospace: "overpass-mono", overpass-mono, "SFMono-Regular", menlo, monaco, consolas, "Liberation Mono", "Courier New", monospace;
246
252
  --pf-global--FontSize--4xl: 2.25rem;
@@ -277,6 +283,21 @@
277
283
  --pf-global--FontWeight--bold: var(--pf-global--FontWeight--overpass--bold);
278
284
  }
279
285
 
286
+ .pf-m-redhat-updated-font {
287
+ --pf-global--FontFamily--sans-serif: var(--pf-global--FontFamily--redhat-updated--sans-serif);
288
+ --pf-global--FontFamily--heading--sans-serif: var(--pf-global--FontFamily--redhat-updated--heading--sans-serif);
289
+ }
290
+
291
+ .pf-m-redhatmono-font {
292
+ --pf-global--FontFamily--monospace: var(--pf-global--FontFamily--redhat--monospace);
293
+ }
294
+
295
+ .pf-m-redhatVF-font {
296
+ --pf-global--FontFamily--sans-serif: var(--pf-global--FontFamily--redhatVF--sans-serif);
297
+ --pf-global--FontFamily--heading--sans-serif: var(--pf-global--FontFamily--redhatVF--heading--sans-serif);
298
+ --pf-global--FontFamily--monospace: var(--pf-global--FontFamily--redhatVF--monospace);
299
+ }
300
+
280
301
  @font-face {
281
302
  font-family: "RedHatDisplay";
282
303
  src: url("./assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff2") format("woff2"), url("./assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff") format("woff");
@@ -317,6 +338,102 @@
317
338
  text-rendering: optimizeLegibility;
318
339
  }
319
340
 
341
+ @font-face {
342
+ font-family: "RedHatDisplayUpdated";
343
+ src: url("./assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Regular.woff2") format("woff2");
344
+ font-style: normal;
345
+ font-weight: 300;
346
+ text-rendering: optimizeLegibility;
347
+ }
348
+
349
+ @font-face {
350
+ font-family: "RedHatDisplayUpdated";
351
+ src: url("./assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Medium.woff2") format("woff2");
352
+ font-style: normal;
353
+ font-weight: 400;
354
+ text-rendering: optimizeLegibility;
355
+ }
356
+
357
+ @font-face {
358
+ font-family: "RedHatDisplayUpdated";
359
+ src: url("./assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Bold.woff2") format("woff2");
360
+ font-style: normal;
361
+ font-weight: 700;
362
+ text-rendering: optimizeLegibility;
363
+ }
364
+
365
+ @font-face {
366
+ font-family: "RedHatTextUpdated";
367
+ src: url("./assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Regular.woff2") format("woff2");
368
+ font-style: normal;
369
+ font-weight: 400;
370
+ text-rendering: optimizeLegibility;
371
+ }
372
+
373
+ @font-face {
374
+ font-family: "RedHatTextUpdated";
375
+ src: url("./assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Medium.woff2") format("woff2");
376
+ font-style: normal;
377
+ font-weight: 700;
378
+ text-rendering: optimizeLegibility;
379
+ }
380
+
381
+ @font-face {
382
+ font-family: "RedHatMono";
383
+ src: url("./assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Regular.woff2") format("woff2");
384
+ font-style: normal;
385
+ font-weight: 400;
386
+ font-display: fallback;
387
+ }
388
+
389
+ @font-face {
390
+ font-family: "RedHatDisplayVF";
391
+ src: url("./assets/fonts/RedHatFont-updated/modified/RedHatDisplayVFModified-updated.woff2") format("woff2-variations");
392
+ font-style: normal;
393
+ font-weight: 300 900;
394
+ font-display: fallback;
395
+ }
396
+
397
+ @font-face {
398
+ font-family: "RedHatDisplayVF";
399
+ src: url("./assets/fonts/RedHatFont-updated/modified/RedHatDisplayVF-updated-ItalicModified.woff2") format("woff2-variations");
400
+ font-style: italic;
401
+ font-weight: 300 900;
402
+ font-display: fallback;
403
+ }
404
+
405
+ @font-face {
406
+ font-family: "RedHatTextVF";
407
+ src: url("./assets/fonts/RedHatFont-updated/modified/RedHatTextVFModified-updated.woff2") format("woff2-variations");
408
+ font-style: normal;
409
+ font-weight: 400 500;
410
+ font-display: fallback;
411
+ }
412
+
413
+ @font-face {
414
+ font-family: "RedHatTextVF";
415
+ src: url("./assets/fonts/RedHatFont-updated/modified/RedHatTextVF-updated-ItalicModified.woff2") format("woff2-variations");
416
+ font-style: italic;
417
+ font-weight: 400 500;
418
+ font-display: fallback;
419
+ }
420
+
421
+ @font-face {
422
+ font-family: "RedHatMonoVF";
423
+ src: url("./assets/fonts/RedHatFont-updated/RedHatMono/RedHatMonoVF-updated.woff2") format("woff2-variations");
424
+ font-style: normal;
425
+ font-weight: 300 700;
426
+ font-display: fallback;
427
+ }
428
+
429
+ @font-face {
430
+ font-family: "RedHatMonoVF";
431
+ src: url("./assets/fonts/RedHatFont-updated/RedHatMono/RedHatMonoVF-updated-Italic.woff2") format("woff2-variations");
432
+ font-style: italic;
433
+ font-weight: 300 700;
434
+ font-display: fallback;
435
+ }
436
+
320
437
  @font-face {
321
438
  font-family: "overpass";
322
439
  font-style: normal;
@@ -479,6 +596,10 @@ html {
479
596
  border: 0;
480
597
  }
481
598
 
599
+ .pf-m-tabular-nums {
600
+ font-variant-numeric: tabular-nums;
601
+ }
602
+
482
603
  html,
483
604
  body,
484
605
  p,
@@ -598,21 +719,6 @@ a {
598
719
  cursor: pointer;
599
720
  }
600
721
 
601
- button::-moz-focus-inner,
602
- [type=button]::-moz-focus-inner,
603
- [type=reset]::-moz-focus-inner,
604
- [type=submit]::-moz-focus-inner {
605
- padding: 0;
606
- border-style: none;
607
- }
608
-
609
- button:-moz-focusring,
610
- [type=button]:-moz-focusring,
611
- [type=reset]:-moz-focusring,
612
- [type=submit]:-moz-focusring {
613
- outline: 1px dotted ButtonText;
614
- }
615
-
616
722
  .pf-m-overpass-font a {
617
723
  font-weight: var(--pf-global--FontWeight--semi-bold);
618
724
  }
@@ -4993,6 +4993,22 @@ label.pf-c-check, .pf-c-check__label,
4993
4993
  --pf-c-description-list--m-horizontal__term--width: fit-content(20ch);
4994
4994
  }
4995
4995
 
4996
+ .pf-c-description-list.pf-m-fill-columns {
4997
+ display: block;
4998
+ column-count: var(--pf-c-description-list--GridTemplateColumns--count);
4999
+ margin-bottom: calc(var(--pf-c-description-list--RowGap) * -1);
5000
+ }
5001
+
5002
+ .pf-c-description-list.pf-m-fill-columns .pf-c-description-list__group {
5003
+ display: inline-grid;
5004
+ width: 100%;
5005
+ margin-bottom: var(--pf-c-description-list--RowGap);
5006
+ break-inside: avoid;
5007
+ page-break-inside: avoid;
5008
+ -webkit-column-break-inside: avoid;
5009
+ -moz-column-break-inside: avoid;
5010
+ }
5011
+
4996
5012
  .pf-c-description-list__group {
4997
5013
  display: grid;
4998
5014
  grid-column: var(--pf-c-description-list__group--GridColumn);
@@ -6592,14 +6608,15 @@ label.pf-c-check, .pf-c-check__label,
6592
6608
  }
6593
6609
 
6594
6610
  .pf-c-dropdown__toggle.pf-m-disabled, .pf-c-dropdown__toggle:disabled {
6611
+ --pf-c-dropdown__toggle--before--BorderBottomColor: transparent;
6595
6612
  pointer-events: none;
6596
6613
  }
6597
6614
 
6598
- .pf-c-dropdown__toggle.pf-m-disabled:not(.pf-m-plain), .pf-c-dropdown__toggle:disabled:not(.pf-m-plain) {
6615
+ .pf-c-dropdown__toggle.pf-m-disabled:not(.pf-m-plain), .pf-c-dropdown__toggle.pf-m-disabled.pf-m-plain.pf-m-text, .pf-c-dropdown__toggle:disabled:not(.pf-m-plain), .pf-c-dropdown__toggle:disabled.pf-m-plain.pf-m-text {
6599
6616
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--disabled--BackgroundColor);
6600
6617
  }
6601
6618
 
6602
- .pf-c-dropdown__toggle.pf-m-disabled:not(.pf-m-plain)::before, .pf-c-dropdown__toggle:disabled:not(.pf-m-plain)::before {
6619
+ .pf-c-dropdown__toggle.pf-m-disabled:not(.pf-m-plain)::before, .pf-c-dropdown__toggle.pf-m-disabled.pf-m-plain.pf-m-text::before, .pf-c-dropdown__toggle:disabled:not(.pf-m-plain)::before, .pf-c-dropdown__toggle:disabled.pf-m-plain.pf-m-text::before {
6603
6620
  border: 0;
6604
6621
  }
6605
6622
 
@@ -6607,13 +6624,16 @@ label.pf-c-check, .pf-c-check__label,
6607
6624
  padding: 0;
6608
6625
  }
6609
6626
 
6627
+ .pf-c-dropdown__toggle.pf-m-split-button:not(.pf-m-disabled) {
6628
+ background-color: var(--pf-c-dropdown__toggle--m-split-button--child--BackgroundColor);
6629
+ }
6630
+
6610
6631
  .pf-c-dropdown__toggle.pf-m-split-button > * {
6611
6632
  position: relative;
6612
6633
  padding-top: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingTop);
6613
6634
  padding-right: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingRight);
6614
6635
  padding-bottom: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingBottom);
6615
6636
  padding-left: var(--pf-c-dropdown__toggle--m-split-button--child--PaddingLeft);
6616
- background-color: var(--pf-c-dropdown__toggle--m-split-button--child--BackgroundColor);
6617
6637
  }
6618
6638
 
6619
6639
  .pf-c-dropdown__toggle.pf-m-split-button > *:first-child {
@@ -6645,6 +6665,10 @@ label.pf-c-check, .pf-c-check__label,
6645
6665
  border-left: var(--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth) solid var(--pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftColor);
6646
6666
  }
6647
6667
 
6668
+ .pf-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary.pf-m-disabled, .pf-c-dropdown__toggle.pf-m-split-button.pf-m-action.pf-m-primary[disabled] {
6669
+ --pf-c-dropdown__toggle--m-split-button--m-primary--m-action--child--BorderLeftWidth: 0;
6670
+ }
6671
+
6648
6672
  .pf-c-dropdown__toggle.pf-m-split-button .pf-c-dropdown__toggle-check {
6649
6673
  display: flex;
6650
6674
  align-items: center;
@@ -6717,14 +6741,14 @@ label.pf-c-check, .pf-c-check__label,
6717
6741
  border-bottom-width: var(--pf-c-dropdown--m-expanded__toggle--before--BorderBottomWidth);
6718
6742
  }
6719
6743
 
6720
- .pf-c-dropdown__toggle.pf-m-plain {
6744
+ .pf-c-dropdown__toggle.pf-m-plain:not(.pf-m-text) {
6721
6745
  --pf-c-dropdown__toggle--PaddingRight: var(--pf-c-dropdown__toggle--m-plain--PaddingRight);
6722
6746
  --pf-c-dropdown__toggle--PaddingLeft: var(--pf-c-dropdown__toggle--m-plain--PaddingLeft);
6723
6747
  display: inline-block;
6724
6748
  color: var(--pf-c-dropdown__toggle--m-plain--Color);
6725
6749
  }
6726
6750
 
6727
- .pf-c-dropdown__toggle.pf-m-plain > * {
6751
+ .pf-c-dropdown__toggle.pf-m-plain:not(.pf-m-text) > * {
6728
6752
  line-height: var(--pf-c-dropdown__toggle--m-plain--child--LineHeight);
6729
6753
  }
6730
6754
 
@@ -6741,13 +6765,13 @@ label.pf-c-check, .pf-c-check__label,
6741
6765
  }
6742
6766
 
6743
6767
  .pf-c-dropdown__toggle.pf-m-primary {
6744
- --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
6745
- --pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
6746
6768
  border-radius: var(--pf-c-dropdown__toggle--m-primary--BorderRadius);
6747
6769
  }
6748
6770
 
6749
- .pf-c-dropdown__toggle.pf-m-primary:not(.pf-m-disabled) {
6771
+ .pf-c-dropdown__toggle.pf-m-primary:not(.pf-m-disabled):not([disabled]) {
6750
6772
  --pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
6773
+ --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
6774
+ --pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
6751
6775
  }
6752
6776
 
6753
6777
  .pf-c-dropdown__toggle.pf-m-primary::before {
@@ -6766,17 +6790,20 @@ label.pf-c-check, .pf-c-check__label,
6766
6790
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--active--BackgroundColor);
6767
6791
  }
6768
6792
 
6769
- .pf-m-expanded > .pf-c-dropdown__toggle.pf-m-primary {
6793
+ .pf-c-dropdown__toggle.pf-m-primary .pf-m-expanded > :not(.pf-m-disabled):not([disabled]) {
6770
6794
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor);
6771
6795
  }
6772
6796
 
6773
6797
  .pf-c-dropdown__toggle.pf-m-secondary {
6798
+ border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
6799
+ }
6800
+
6801
+ .pf-c-dropdown__toggle.pf-m-secondary:not(.pf-m-disabled):not([disabled]) {
6774
6802
  --pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-secondary--Color);
6775
6803
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-secondary--BackgroundColor);
6776
- border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
6777
6804
  }
6778
6805
 
6779
- .pf-c-dropdown__toggle.pf-m-secondary::before {
6806
+ .pf-c-dropdown__toggle.pf-m-secondary:not(.pf-m-disabled):not([disabled])::before {
6780
6807
  border: var(--pf-c-dropdown__toggle--m-secondary--before--BorderWidth) solid var(--pf-c-dropdown__toggle--m-secondary--before--BorderColor);
6781
6808
  border-radius: var(--pf-c-dropdown__toggle--m-secondary--BorderRadius);
6782
6809
  }
@@ -7765,7 +7792,7 @@ label.pf-c-check, .pf-c-check__label,
7765
7792
  text-align: right;
7766
7793
  }
7767
7794
 
7768
- @media (min-width: 768px) {
7795
+ @media screen and (min-width: 768px) {
7769
7796
  .pf-c-form.pf-m-horizontal {
7770
7797
  --pf-c-form__group-label--PaddingBottom: 0;
7771
7798
  }
@@ -7789,6 +7816,150 @@ label.pf-c-check, .pf-c-check__label,
7789
7816
  grid-column: 2;
7790
7817
  }
7791
7818
  }
7819
+ @media screen and (min-width: 0) {
7820
+ .pf-c-form.pf-m-horizontal-on-xs {
7821
+ --pf-c-form__group-label--PaddingBottom: 0;
7822
+ }
7823
+
7824
+ .pf-c-form.pf-m-horizontal-on-xs .pf-c-form__group {
7825
+ display: grid;
7826
+ grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
7827
+ grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
7828
+ }
7829
+
7830
+ .pf-c-form.pf-m-horizontal-on-xs .pf-c-form__group-label {
7831
+ padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
7832
+ }
7833
+
7834
+ .pf-c-form.pf-m-horizontal-on-xs .pf-c-form__group-label.pf-m-no-padding-top {
7835
+ --pf-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
7836
+ transform: translateY(var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY));
7837
+ }
7838
+
7839
+ .pf-c-form.pf-m-horizontal-on-xs .pf-c-form__group-control {
7840
+ grid-column: 2;
7841
+ }
7842
+ }
7843
+ @media (min-width: 576px) {
7844
+ .pf-c-form.pf-m-horizontal-on-sm {
7845
+ --pf-c-form__group-label--PaddingBottom: 0;
7846
+ }
7847
+
7848
+ .pf-c-form.pf-m-horizontal-on-sm .pf-c-form__group {
7849
+ display: grid;
7850
+ grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
7851
+ grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
7852
+ }
7853
+
7854
+ .pf-c-form.pf-m-horizontal-on-sm .pf-c-form__group-label {
7855
+ padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
7856
+ }
7857
+
7858
+ .pf-c-form.pf-m-horizontal-on-sm .pf-c-form__group-label.pf-m-no-padding-top {
7859
+ --pf-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
7860
+ transform: translateY(var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY));
7861
+ }
7862
+
7863
+ .pf-c-form.pf-m-horizontal-on-sm .pf-c-form__group-control {
7864
+ grid-column: 2;
7865
+ }
7866
+ }
7867
+ @media (min-width: 768px) {
7868
+ .pf-c-form.pf-m-horizontal-on-md {
7869
+ --pf-c-form__group-label--PaddingBottom: 0;
7870
+ }
7871
+
7872
+ .pf-c-form.pf-m-horizontal-on-md .pf-c-form__group {
7873
+ display: grid;
7874
+ grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
7875
+ grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
7876
+ }
7877
+
7878
+ .pf-c-form.pf-m-horizontal-on-md .pf-c-form__group-label {
7879
+ padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
7880
+ }
7881
+
7882
+ .pf-c-form.pf-m-horizontal-on-md .pf-c-form__group-label.pf-m-no-padding-top {
7883
+ --pf-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
7884
+ transform: translateY(var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY));
7885
+ }
7886
+
7887
+ .pf-c-form.pf-m-horizontal-on-md .pf-c-form__group-control {
7888
+ grid-column: 2;
7889
+ }
7890
+ }
7891
+ @media (min-width: 992px) {
7892
+ .pf-c-form.pf-m-horizontal-on-lg {
7893
+ --pf-c-form__group-label--PaddingBottom: 0;
7894
+ }
7895
+
7896
+ .pf-c-form.pf-m-horizontal-on-lg .pf-c-form__group {
7897
+ display: grid;
7898
+ grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
7899
+ grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
7900
+ }
7901
+
7902
+ .pf-c-form.pf-m-horizontal-on-lg .pf-c-form__group-label {
7903
+ padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
7904
+ }
7905
+
7906
+ .pf-c-form.pf-m-horizontal-on-lg .pf-c-form__group-label.pf-m-no-padding-top {
7907
+ --pf-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
7908
+ transform: translateY(var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY));
7909
+ }
7910
+
7911
+ .pf-c-form.pf-m-horizontal-on-lg .pf-c-form__group-control {
7912
+ grid-column: 2;
7913
+ }
7914
+ }
7915
+ @media (min-width: 1200px) {
7916
+ .pf-c-form.pf-m-horizontal-on-xl {
7917
+ --pf-c-form__group-label--PaddingBottom: 0;
7918
+ }
7919
+
7920
+ .pf-c-form.pf-m-horizontal-on-xl .pf-c-form__group {
7921
+ display: grid;
7922
+ grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
7923
+ grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
7924
+ }
7925
+
7926
+ .pf-c-form.pf-m-horizontal-on-xl .pf-c-form__group-label {
7927
+ padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
7928
+ }
7929
+
7930
+ .pf-c-form.pf-m-horizontal-on-xl .pf-c-form__group-label.pf-m-no-padding-top {
7931
+ --pf-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
7932
+ transform: translateY(var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY));
7933
+ }
7934
+
7935
+ .pf-c-form.pf-m-horizontal-on-xl .pf-c-form__group-control {
7936
+ grid-column: 2;
7937
+ }
7938
+ }
7939
+ @media (min-width: 1450px) {
7940
+ .pf-c-form.pf-m-horizontal-on-2xl {
7941
+ --pf-c-form__group-label--PaddingBottom: 0;
7942
+ }
7943
+
7944
+ .pf-c-form.pf-m-horizontal-on-2xl .pf-c-form__group {
7945
+ display: grid;
7946
+ grid-column-gap: var(--pf-c-form--m-horizontal__group-label--md--GridColumnGap);
7947
+ grid-template-columns: var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth) var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
7948
+ }
7949
+
7950
+ .pf-c-form.pf-m-horizontal-on-2xl .pf-c-form__group-label {
7951
+ padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
7952
+ }
7953
+
7954
+ .pf-c-form.pf-m-horizontal-on-2xl .pf-c-form__group-label.pf-m-no-padding-top {
7955
+ --pf-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
7956
+ transform: translateY(var(--pf-c-form--m-horizontal__group-label--m-no-padding--md--TranslateY));
7957
+ }
7958
+
7959
+ .pf-c-form.pf-m-horizontal-on-2xl .pf-c-form__group-control {
7960
+ grid-column: 2;
7961
+ }
7962
+ }
7792
7963
  .pf-c-form.pf-m-limit-width {
7793
7964
  max-width: var(--pf-c-form--m-limit-width--MaxWidth);
7794
7965
  }
@@ -4494,6 +4494,7 @@
4494
4494
  "action": "pf-m-action",
4495
4495
  "disabled": "pf-m-disabled",
4496
4496
  "plain": "pf-m-plain",
4497
+ "text": "pf-m-text",
4497
4498
  "splitButton": "pf-m-split-button",
4498
4499
  "primary": "pf-m-primary",
4499
4500
  "active": "pf-m-active",
@@ -4513,8 +4514,7 @@
4513
4514
  "alignLeftOn_2xl": "pf-m-align-left-on-2xl",
4514
4515
  "ariaDisabled": "pf-m-aria-disabled",
4515
4516
  "icon": "pf-m-icon",
4516
- "description": "pf-m-description",
4517
- "text": "pf-m-text"
4517
+ "description": "pf-m-description"
4518
4518
  }
4519
4519
  };
4520
4520
 
@@ -5935,6 +5935,12 @@
5935
5935
  "horizontal": "pf-m-horizontal",
5936
5936
  "alignRight": "pf-m-align-right",
5937
5937
  "noPaddingTop": "pf-m-no-padding-top",
5938
+ "horizontalOnXs": "pf-m-horizontal-on-xs",
5939
+ "horizontalOnSm": "pf-m-horizontal-on-sm",
5940
+ "horizontalOnMd": "pf-m-horizontal-on-md",
5941
+ "horizontalOnLg": "pf-m-horizontal-on-lg",
5942
+ "horizontalOnXl": "pf-m-horizontal-on-xl",
5943
+ "horizontalOn_2xl": "pf-m-horizontal-on-2xl",
5938
5944
  "limitWidth": "pf-m-limit-width",
5939
5945
  "action": "pf-m-action",
5940
5946
  "info": "pf-m-info",
@@ -7630,7 +7636,7 @@
7630
7636
  isExpanded: false
7631
7637
  });
7632
7638
  const Card = (_a) => {
7633
- var { children = null, id = '', className = '', component = 'article', isHoverable = false, isHoverableRaised = false, isCompact = false, isSelectable = false, isSelected = false, isSelectableRaised = false, isSelectedRaised = false, isFlat = false, isExpanded = false, isRounded = false, isLarge = false, isFullHeight = false, isPlain = false, ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["children", "id", "className", "component", "isHoverable", "isHoverableRaised", "isCompact", "isSelectable", "isSelected", "isSelectableRaised", "isSelectedRaised", "isFlat", "isExpanded", "isRounded", "isLarge", "isFullHeight", "isPlain", "ouiaId", "ouiaSafe"]);
7639
+ var { children = null, id = '', className = '', component = 'article', isHoverable = false, isCompact = false, isSelectable = false, isSelectableRaised = false, isSelected = false, isDisabledRaised = false, isFlat = false, isExpanded = false, isRounded = false, isLarge = false, isFullHeight = false, isPlain = false, ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["children", "id", "className", "component", "isHoverable", "isCompact", "isSelectable", "isSelectableRaised", "isSelected", "isDisabledRaised", "isFlat", "isExpanded", "isRounded", "isLarge", "isFullHeight", "isPlain", "ouiaId", "ouiaSafe"]);
7634
7640
  const Component = component;
7635
7641
  const ouiaProps = useOUIAProps(Card.displayName, ouiaId, ouiaSafe);
7636
7642
  if (isCompact && isLarge) {
@@ -7638,11 +7644,23 @@
7638
7644
  console.warn('Card: Cannot use isCompact with isLarge. Defaulting to isCompact');
7639
7645
  isLarge = false;
7640
7646
  }
7647
+ const getSelectableModifiers = () => {
7648
+ if (isDisabledRaised) {
7649
+ return css(_default$Y.modifiers.nonSelectableRaised);
7650
+ }
7651
+ if (isSelectableRaised) {
7652
+ return css(_default$Y.modifiers.selectableRaised, isSelected && _default$Y.modifiers.selectedRaised);
7653
+ }
7654
+ if (isSelectable || isHoverable) {
7655
+ return css(_default$Y.modifiers.selectable, isSelected && _default$Y.modifiers.selected);
7656
+ }
7657
+ return '';
7658
+ };
7641
7659
  return (React__namespace.createElement(CardContext.Provider, { value: {
7642
7660
  cardId: id,
7643
7661
  isExpanded
7644
7662
  } },
7645
- React__namespace.createElement(Component, Object.assign({ id: id, className: css(_default$Y.card, isHoverable && _default$Y.modifiers.hoverable, isHoverableRaised && _default$Y.modifiers.hoverableRaised, isCompact && _default$Y.modifiers.compact, isSelectable && !isSelectableRaised && _default$Y.modifiers.selectable, isSelected && !isSelectedRaised && isSelectable && _default$Y.modifiers.selected, isSelectableRaised && _default$Y.modifiers.selectableRaised, isSelectedRaised && isSelectableRaised && _default$Y.modifiers.selectedRaised, isExpanded && _default$Y.modifiers.expanded, isFlat && _default$Y.modifiers.flat, isRounded && _default$Y.modifiers.rounded, isLarge && _default$Y.modifiers.displayLg, isFullHeight && _default$Y.modifiers.fullHeight, isPlain && _default$Y.modifiers.plain, className), tabIndex: isSelectableRaised || isSelectable ? '0' : undefined }, props, ouiaProps), children)));
7663
+ React__namespace.createElement(Component, Object.assign({ id: id, className: css(_default$Y.card, isCompact && _default$Y.modifiers.compact, isExpanded && _default$Y.modifiers.expanded, isFlat && _default$Y.modifiers.flat, isRounded && _default$Y.modifiers.rounded, isLarge && _default$Y.modifiers.displayLg, isFullHeight && _default$Y.modifiers.fullHeight, isPlain && _default$Y.modifiers.plain, getSelectableModifiers(), className), tabIndex: isSelectable || isSelectableRaised ? '0' : undefined }, props, ouiaProps), children)));
7646
7664
  };
7647
7665
  Card.displayName = 'Card';
7648
7666
 
@@ -9083,26 +9101,6 @@
9083
9101
  }
9084
9102
  }
9085
9103
  };
9086
- const onTriggerEnter = (event) => {
9087
- if (event.keyCode === KEY_CODES.ENTER) {
9088
- if (!visible) {
9089
- if (triggerManually) {
9090
- shouldOpen(show, event);
9091
- }
9092
- else {
9093
- show(true);
9094
- }
9095
- }
9096
- else {
9097
- if (triggerManually) {
9098
- shouldClose(null, hide, event);
9099
- }
9100
- else {
9101
- hide();
9102
- }
9103
- }
9104
- }
9105
- };
9106
9104
  const onTriggerClick = (event) => {
9107
9105
  if (triggerManually) {
9108
9106
  if (visible) {
@@ -9117,7 +9115,7 @@
9117
9115
  hide();
9118
9116
  }
9119
9117
  else {
9120
- show();
9118
+ show(true);
9121
9119
  }
9122
9120
  }
9123
9121
  };
@@ -9162,7 +9160,7 @@
9162
9160
  React__namespace.createElement(PopoverBody, { id: `popover-${uniqueId}-body` }, typeof bodyContent === 'function' ? bodyContent(hide) : bodyContent),
9163
9161
  footerContent && (React__namespace.createElement(PopoverFooter, { id: `popover-${uniqueId}-footer` }, typeof footerContent === 'function' ? footerContent(hide) : footerContent)))));
9164
9162
  return (React__namespace.createElement(PopoverContext.Provider, { value: { headerComponent } },
9165
- React__namespace.createElement(Popper, { trigger: children, reference: reference, popper: content, popperMatchesTriggerWidth: false, appendTo: appendTo, isVisible: visible, positionModifiers: positionModifiers, distance: distance, placement: position, onTriggerClick: onTriggerClick, onTriggerEnter: onTriggerEnter, onDocumentClick: onDocumentClick, onDocumentKeyDown: onDocumentKeyDown, enableFlip: enableFlip, zIndex: zIndex, flipBehavior: flipBehavior })));
9163
+ React__namespace.createElement(Popper, { trigger: children, reference: reference, popper: content, popperMatchesTriggerWidth: false, appendTo: appendTo, isVisible: visible, positionModifiers: positionModifiers, distance: distance, placement: position, onTriggerClick: onTriggerClick, onDocumentClick: onDocumentClick, onDocumentKeyDown: onDocumentKeyDown, enableFlip: enableFlip, zIndex: zIndex, flipBehavior: flipBehavior })));
9166
9164
  };
9167
9165
  Popover.displayName = 'Popover';
9168
9166
 
@@ -9285,6 +9283,7 @@
9285
9283
  "autoFit": "pf-m-auto-fit",
9286
9284
  "compact": "pf-m-compact",
9287
9285
  "fluid": "pf-m-fluid",
9286
+ "fillColumns": "pf-m-fill-columns",
9288
9287
  "helpText": "pf-m-help-text",
9289
9288
  "1Col": "pf-m-1-col",
9290
9289
  "2Col": "pf-m-2-col",
@@ -9835,11 +9834,16 @@
9835
9834
  const DualListSelectorListContext = React__namespace.createContext({});
9836
9835
  const DualListSelectorPaneContext = React__namespace.createContext({ isChosen: false });
9837
9836
 
9838
- const DualListSelectorTreeItem = (_a) => {
9839
- var { onOptionCheck, children, className, id, text, defaultExpanded, hasBadge, isChecked, checkProps, badgeProps, itemData, isDisabled = false } = _a, props = __rest$1(_a, ["onOptionCheck", "children", "className", "id", "text", "defaultExpanded", "hasBadge", "isChecked", "checkProps", "badgeProps", "itemData", "isDisabled"]);
9837
+ const DualListSelectorTreeItemBase = (_a) => {
9838
+ var { onOptionCheck, children, className, id, text, defaultExpanded, hasBadge, isChecked, checkProps, badgeProps, itemData, isDisabled = false,
9839
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
9840
+ useMemo } = _a, props = __rest$1(_a, ["onOptionCheck", "children", "className", "id", "text", "defaultExpanded", "hasBadge", "isChecked", "checkProps", "badgeProps", "itemData", "isDisabled", "useMemo"]);
9840
9841
  const ref = React__namespace.useRef(null);
9841
9842
  const [isExpanded, setIsExpanded] = React__namespace.useState(defaultExpanded || false);
9842
9843
  const { setFocusedOption } = React__namespace.useContext(DualListSelectorListContext);
9844
+ React__namespace.useEffect(() => {
9845
+ setIsExpanded(defaultExpanded);
9846
+ }, [defaultExpanded]);
9843
9847
  return (React__namespace.createElement("li", Object.assign({ className: css(_default$N.dualListSelectorListItem, className, children && _default$N.modifiers.expandable, isExpanded && _default$N.modifiers.expanded, isDisabled && _default$N.modifiers.disabled), id: id }, props, { "aria-selected": isChecked, role: "treeitem" }, (isExpanded && { 'aria-expanded': 'true' })),
9844
9848
  React__namespace.createElement("div", { className: css(_default$N.dualListSelectorListItemRow, isChecked && _default$N.modifiers.selected, _default$N.modifiers.check) },
9845
9849
  React__namespace.createElement("div", { className: css(_default$N.dualListSelectorItem), ref: ref, tabIndex: -1, onClick: isDisabled
@@ -9878,11 +9882,29 @@
9878
9882
  React__namespace.createElement(Badge, Object.assign({}, badgeProps), flattenTree(children.props.data).length)))))),
9879
9883
  isExpanded && children));
9880
9884
  };
9885
+ const DualListSelectorTreeItem = React__namespace.memo(DualListSelectorTreeItemBase, (prevProps, nextProps) => {
9886
+ if (!nextProps.useMemo) {
9887
+ return false;
9888
+ }
9889
+ if (prevProps.className !== nextProps.className ||
9890
+ prevProps.text !== nextProps.text ||
9891
+ prevProps.id !== nextProps.id ||
9892
+ prevProps.defaultExpanded !== nextProps.defaultExpanded ||
9893
+ prevProps.checkProps !== nextProps.checkProps ||
9894
+ prevProps.hasBadge !== nextProps.hasBadge ||
9895
+ prevProps.badgeProps !== nextProps.badgeProps ||
9896
+ prevProps.isChecked !== nextProps.isChecked ||
9897
+ prevProps.itemData !== nextProps.itemData) {
9898
+ return false;
9899
+ }
9900
+ return true;
9901
+ });
9881
9902
  DualListSelectorTreeItem.displayName = 'DualListSelectorTreeItem';
9882
9903
 
9883
9904
  const DualListSelectorTree = (_a) => {
9884
9905
  var { data, hasBadges = false, isNested = false, defaultAllExpanded = false, onOptionCheck, isDisabled = false } = _a, props = __rest$1(_a, ["data", "hasBadges", "isNested", "defaultAllExpanded", "onOptionCheck", "isDisabled"]);
9885
- const tree = data.map(item => (React__namespace.createElement(DualListSelectorTreeItem, Object.assign({ key: item.id, text: item.text, id: item.id, defaultExpanded: item.defaultExpanded !== undefined ? item.defaultExpanded : defaultAllExpanded, onOptionCheck: onOptionCheck, isChecked: item.isChecked, checkProps: item.checkProps, hasBadge: item.hasBadge !== undefined ? item.hasBadge : hasBadges, badgeProps: item.badgeProps, itemData: item, isDisabled: isDisabled }, (item.children && {
9906
+ const dataToRender = typeof data === 'function' ? data() : data;
9907
+ const tree = dataToRender.map(item => (React__namespace.createElement(DualListSelectorTreeItem, Object.assign({ key: item.id, text: item.text, id: item.id, defaultExpanded: item.defaultExpanded !== undefined ? item.defaultExpanded : defaultAllExpanded, onOptionCheck: onOptionCheck, isChecked: item.isChecked, checkProps: item.checkProps, hasBadge: item.hasBadge !== undefined ? item.hasBadge : hasBadges, badgeProps: item.badgeProps, itemData: item, isDisabled: isDisabled, useMemo: true }, (item.children && {
9886
9908
  children: (React__namespace.createElement(DualListSelectorTree, { isNested: true, data: item.children, hasBadges: hasBadges, defaultAllExpanded: defaultAllExpanded, onOptionCheck: onOptionCheck, isDisabled: isDisabled }))
9887
9909
  })))));
9888
9910
  return isNested ? (React__namespace.createElement("ul", Object.assign({ className: css(_default$N.dualListSelectorList), role: "group" }, props), tree)) : (React__namespace.createElement(React__namespace.Fragment, null, tree));
@@ -14380,6 +14402,7 @@
14380
14402
  render() {
14381
14403
  const _a = this.props, { children, className, icon, badge, isExpanded, isDisabled, variant, innerRef } = _a, props = __rest$1(_a, ["children", "className", "icon", "badge", "isExpanded", "isDisabled", "variant", "innerRef"]);
14382
14404
  const isPlain = variant === 'plain';
14405
+ const isPlainText = variant === 'plainText';
14383
14406
  const content = (React__namespace.createElement(React__namespace.Fragment, null,
14384
14407
  icon && React__namespace.createElement("span", { className: css(_default$y.menuToggleIcon) }, icon),
14385
14408
  React__namespace.createElement("span", { className: "pf-c-menu-toggle__text" }, children),
@@ -14387,7 +14410,7 @@
14387
14410
  React__namespace.createElement("span", { className: css(_default$y.menuToggleControls) },
14388
14411
  React__namespace.createElement("span", { className: css(_default$y.menuToggleToggleIcon) },
14389
14412
  React__namespace.createElement(CaretDownIcon$1, { "aria-hidden": true })))));
14390
- return (React__namespace.createElement("button", Object.assign({ className: css(_default$y.menuToggle, isExpanded && _default$y.modifiers.expanded, variant === 'primary' && _default$y.modifiers.primary, isPlain && _default$y.modifiers.plain, className), type: "button", "aria-expanded": false, ref: innerRef }, (isExpanded && { 'aria-expanded': true }), (isDisabled && { disabled: true }), props),
14413
+ return (React__namespace.createElement("button", Object.assign({ className: css(_default$y.menuToggle, isExpanded && _default$y.modifiers.expanded, variant === 'primary' && _default$y.modifiers.primary, (isPlain || isPlainText) && _default$y.modifiers.plain, isPlainText && _default$y.modifiers.text, className), type: "button", "aria-expanded": false, ref: innerRef }, (isExpanded && { 'aria-expanded': true }), (isDisabled && { disabled: true }), props),
14391
14414
  isPlain && children,
14392
14415
  !isPlain && content));
14393
14416
  }
@@ -19608,7 +19631,11 @@
19608
19631
 
19609
19632
  const Droppable = (_a) => {
19610
19633
  var { className, children, zone = 'defaultZone', droppableId = 'defaultId', hasNoWrapper = false } = _a, props = __rest$1(_a, ["className", "children", "zone", "droppableId", "hasNoWrapper"]);
19611
- const childProps = Object.assign({ 'data-pf-droppable': zone, 'data-pf-droppableid': droppableId, className: css(_default$8.droppable, className) }, props);
19634
+ const childProps = Object.assign({ 'data-pf-droppable': zone, 'data-pf-droppableid': droppableId,
19635
+ // if has no wrapper is set, don't overwrite children className with the className prop
19636
+ className: hasNoWrapper && React__namespace.Children.count(children) === 1
19637
+ ? css(_default$8.droppable, className, children.props.className)
19638
+ : css(_default$8.droppable, className) }, props);
19612
19639
  return (React__namespace.createElement(DroppableContext.Provider, { value: { zone, droppableId } }, hasNoWrapper ? (React__namespace.cloneElement(children, childProps)) : (React__namespace.createElement("div", Object.assign({}, childProps), children))));
19613
19640
  };
19614
19641
  Droppable.displayName = 'Droppable';