@patternfly/react-core 4.220.2 → 4.221.2

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 (90) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/esm/components/DataList/DataList.d.ts +9 -0
  3. package/dist/esm/components/DataList/DataList.d.ts.map +1 -1
  4. package/dist/esm/components/DataList/DataList.js +3 -2
  5. package/dist/esm/components/DataList/DataList.js.map +1 -1
  6. package/dist/esm/components/DataList/DataListItem.d.ts +2 -0
  7. package/dist/esm/components/DataList/DataListItem.d.ts.map +1 -1
  8. package/dist/esm/components/DataList/DataListItem.js +13 -6
  9. package/dist/esm/components/DataList/DataListItem.js.map +1 -1
  10. package/dist/esm/components/InputGroup/InputGroup.d.ts +2 -0
  11. package/dist/esm/components/InputGroup/InputGroup.d.ts.map +1 -1
  12. package/dist/esm/components/InputGroup/InputGroup.js +3 -2
  13. package/dist/esm/components/InputGroup/InputGroup.js.map +1 -1
  14. package/dist/esm/components/SearchInput/AdvancedSearchMenu.d.ts +2 -0
  15. package/dist/esm/components/SearchInput/AdvancedSearchMenu.d.ts.map +1 -1
  16. package/dist/esm/components/SearchInput/AdvancedSearchMenu.js +12 -10
  17. package/dist/esm/components/SearchInput/AdvancedSearchMenu.js.map +1 -1
  18. package/dist/esm/components/SearchInput/SearchInput.d.ts +8 -0
  19. package/dist/esm/components/SearchInput/SearchInput.d.ts.map +1 -1
  20. package/dist/esm/components/SearchInput/SearchInput.js +38 -28
  21. package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
  22. package/dist/esm/components/Select/Select.d.ts +2 -0
  23. package/dist/esm/components/Select/Select.d.ts.map +1 -1
  24. package/dist/esm/components/Select/Select.js +8 -7
  25. package/dist/esm/components/Select/Select.js.map +1 -1
  26. package/dist/esm/components/TextInputGroup/TextInputGroup.d.ts +2 -0
  27. package/dist/esm/components/TextInputGroup/TextInputGroup.d.ts.map +1 -1
  28. package/dist/esm/components/TextInputGroup/TextInputGroup.js +3 -2
  29. package/dist/esm/components/TextInputGroup/TextInputGroup.js.map +1 -1
  30. package/dist/esm/components/TextInputGroup/TextInputGroupMain.d.ts +2 -0
  31. package/dist/esm/components/TextInputGroup/TextInputGroupMain.d.ts.map +1 -1
  32. package/dist/esm/components/TextInputGroup/TextInputGroupMain.js +3 -2
  33. package/dist/esm/components/TextInputGroup/TextInputGroupMain.js.map +1 -1
  34. package/dist/js/components/DataList/DataList.d.ts +9 -0
  35. package/dist/js/components/DataList/DataList.d.ts.map +1 -1
  36. package/dist/js/components/DataList/DataList.js +3 -2
  37. package/dist/js/components/DataList/DataList.js.map +1 -1
  38. package/dist/js/components/DataList/DataListItem.d.ts +2 -0
  39. package/dist/js/components/DataList/DataListItem.d.ts.map +1 -1
  40. package/dist/js/components/DataList/DataListItem.js +13 -6
  41. package/dist/js/components/DataList/DataListItem.js.map +1 -1
  42. package/dist/js/components/InputGroup/InputGroup.d.ts +2 -0
  43. package/dist/js/components/InputGroup/InputGroup.d.ts.map +1 -1
  44. package/dist/js/components/InputGroup/InputGroup.js +3 -2
  45. package/dist/js/components/InputGroup/InputGroup.js.map +1 -1
  46. package/dist/js/components/SearchInput/AdvancedSearchMenu.d.ts +2 -0
  47. package/dist/js/components/SearchInput/AdvancedSearchMenu.d.ts.map +1 -1
  48. package/dist/js/components/SearchInput/AdvancedSearchMenu.js +12 -10
  49. package/dist/js/components/SearchInput/AdvancedSearchMenu.js.map +1 -1
  50. package/dist/js/components/SearchInput/SearchInput.d.ts +8 -0
  51. package/dist/js/components/SearchInput/SearchInput.d.ts.map +1 -1
  52. package/dist/js/components/SearchInput/SearchInput.js +38 -28
  53. package/dist/js/components/SearchInput/SearchInput.js.map +1 -1
  54. package/dist/js/components/Select/Select.d.ts +2 -0
  55. package/dist/js/components/Select/Select.d.ts.map +1 -1
  56. package/dist/js/components/Select/Select.js +8 -7
  57. package/dist/js/components/Select/Select.js.map +1 -1
  58. package/dist/js/components/TextInputGroup/TextInputGroup.d.ts +2 -0
  59. package/dist/js/components/TextInputGroup/TextInputGroup.d.ts.map +1 -1
  60. package/dist/js/components/TextInputGroup/TextInputGroup.js +3 -2
  61. package/dist/js/components/TextInputGroup/TextInputGroup.js.map +1 -1
  62. package/dist/js/components/TextInputGroup/TextInputGroupMain.d.ts +2 -0
  63. package/dist/js/components/TextInputGroup/TextInputGroupMain.d.ts.map +1 -1
  64. package/dist/js/components/TextInputGroup/TextInputGroupMain.js +3 -2
  65. package/dist/js/components/TextInputGroup/TextInputGroupMain.js.map +1 -1
  66. package/dist/styles/assets/images/icon-github.hbs +4 -0
  67. package/dist/styles/assets/images/icon-google.hbs +4 -0
  68. package/dist/styles/assets/images/icon-red-hat.hbs +1 -0
  69. package/dist/styles/base-no-reset.css +93 -4
  70. package/dist/styles/base.css +93 -4
  71. package/dist/umd/react-core.css +790 -8
  72. package/dist/umd/react-core.js +433 -342
  73. package/dist/umd/react-core.min.css +790 -8
  74. package/dist/umd/react-core.min.js +6 -6
  75. package/package.json +6 -6
  76. package/src/components/DataList/DataList.tsx +12 -0
  77. package/src/components/DataList/DataListItem.tsx +32 -3
  78. package/src/components/DataList/__tests__/DataList.test.tsx +130 -0
  79. package/src/components/DataList/examples/DataList.md +1 -0
  80. package/src/components/DataList/examples/DataListSelectableRows.tsx +5 -0
  81. package/src/components/InputGroup/InputGroup.tsx +7 -1
  82. package/src/components/SearchInput/AdvancedSearchMenu.tsx +24 -18
  83. package/src/components/SearchInput/SearchInput.tsx +130 -113
  84. package/src/components/SearchInput/__tests__/SearchInput.test.tsx +1 -1
  85. package/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap +297 -301
  86. package/src/components/SearchInput/examples/SearchInput.md +5 -2
  87. package/src/components/Select/Select.tsx +8 -2
  88. package/src/components/TextInputGroup/TextInputGroup.tsx +18 -7
  89. package/src/components/TextInputGroup/TextInputGroupMain.tsx +5 -0
  90. package/src/demos/PrimaryDetail.md +1 -1
@@ -123,7 +123,7 @@
123
123
  };
124
124
 
125
125
  /*!
126
- * tabbable 5.3.2
126
+ * tabbable 5.3.3
127
127
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
128
128
  */
129
129
  var candidateSelectors = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]:not(slot)', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable="false"])', 'details>summary:first-of-type', 'details'];
@@ -158,6 +158,12 @@
158
158
  * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.
159
159
  */
160
160
 
161
+ /**
162
+ * @callback ShadowRootFilter
163
+ * @param {Element} shadowHostNode the element which contains shadow content
164
+ * @returns {boolean} true if a shadow root could potentially contain valid candidates.
165
+ */
166
+
161
167
  /**
162
168
  * @typedef {Object} CandidatesScope
163
169
  * @property {Element} scope contains inner candidates
@@ -171,6 +177,7 @@
171
177
  * or a boolean stating if it has an undisclosed shadow root
172
178
  * @property {(node: Element) => boolean} filter filter candidates
173
179
  * @property {boolean} flatten if true then result will flatten any CandidatesScope into the returned list
180
+ * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;
174
181
  */
175
182
 
176
183
  /**
@@ -213,8 +220,9 @@
213
220
 
214
221
  var shadowRoot = element.shadowRoot || // check for an undisclosed shadow
215
222
  typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);
223
+ var validShadowRoot = !options.shadowRootFilter || options.shadowRootFilter(element);
216
224
 
217
- if (shadowRoot) {
225
+ if (shadowRoot && validShadowRoot) {
218
226
  // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed
219
227
  // shadow exists, so look at light dom children as fallback BUT create a scope for any
220
228
  // child candidates found because they're likely slotted elements (elements that are
@@ -495,6 +503,18 @@
495
503
 
496
504
  return true;
497
505
  };
506
+
507
+ var isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {
508
+ var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);
509
+
510
+ if (isNaN(tabIndex) || tabIndex >= 0) {
511
+ return true;
512
+ } // If a custom element has an explicit negative tabindex,
513
+ // browsers will not allow tab targeting said element's children.
514
+
515
+
516
+ return false;
517
+ };
498
518
  /**
499
519
  * @param {Array.<Element|CandidatesScope>} candidates
500
520
  * @returns Element[]
@@ -536,7 +556,8 @@
536
556
  candidates = getCandidatesIteratively([el], options.includeContainer, {
537
557
  filter: isNodeMatchingSelectorTabbable.bind(null, options),
538
558
  flatten: false,
539
- getShadowRoot: options.getShadowRoot
559
+ getShadowRoot: options.getShadowRoot,
560
+ shadowRootFilter: isValidShadowRootTabbable
540
561
  });
541
562
  } else {
542
563
  candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
@@ -4089,7 +4110,8 @@
4089
4110
  "card": "pf-c-card",
4090
4111
  "modifiers": {
4091
4112
  "plain": "pf-m-plain"
4092
- }
4113
+ },
4114
+ "themeDark": "pf-theme-dark"
4093
4115
  };
4094
4116
 
4095
4117
  Promise.resolve().then(function () { return content; });
@@ -4207,7 +4229,8 @@
4207
4229
  "end": "pf-m-end",
4208
4230
  "overpassFont": "pf-m-overpass-font"
4209
4231
  },
4210
- "spinner": "pf-c-spinner"
4232
+ "spinner": "pf-c-spinner",
4233
+ "themeDark": "pf-theme-dark"
4211
4234
  };
4212
4235
 
4213
4236
  Promise.resolve().then(function () { return spinner; });
@@ -4524,7 +4547,8 @@
4524
4547
  "bordered": "pf-m-bordered",
4525
4548
  "expanded": "pf-m-expanded",
4526
4549
  "fixed": "pf-m-fixed"
4527
- }
4550
+ },
4551
+ "themeDark": "pf-theme-dark"
4528
4552
  };
4529
4553
 
4530
4554
  const AccordionContext = React__namespace.createContext({});
@@ -4630,7 +4654,8 @@
4630
4654
  "expanded": "pf-m-expanded",
4631
4655
  "truncate": "pf-m-truncate",
4632
4656
  "overpassFont": "pf-m-overpass-font"
4633
- }
4657
+ },
4658
+ "themeDark": "pf-theme-dark"
4634
4659
  };
4635
4660
 
4636
4661
  Promise.resolve().then(function () { return accessibility; });
@@ -4759,6 +4784,7 @@
4759
4784
  "rightBottom": "pf-m-right-bottom",
4760
4785
  "textAlignLeft": "pf-m-text-align-left"
4761
4786
  },
4787
+ "themeDark": "pf-theme-dark",
4762
4788
  "tooltip": "pf-c-tooltip",
4763
4789
  "tooltipArrow": "pf-c-tooltip__arrow",
4764
4790
  "tooltipContent": "pf-c-tooltip__content"
@@ -5122,7 +5148,8 @@
5122
5148
  "external": "pf-m-external",
5123
5149
  "link": "pf-m-link",
5124
5150
  "action": "pf-m-action"
5125
- }
5151
+ },
5152
+ "themeDark": "pf-theme-dark"
5126
5153
  };
5127
5154
 
5128
5155
  Promise.resolve().then(function () { return formControl; });
@@ -5140,7 +5167,8 @@
5140
5167
  "placeholder": "pf-m-placeholder",
5141
5168
  "resizeVertical": "pf-m-resize-vertical",
5142
5169
  "resizeHorizontal": "pf-m-resize-horizontal"
5143
- }
5170
+ },
5171
+ "themeDark": "pf-theme-dark"
5144
5172
  };
5145
5173
 
5146
5174
  const ThIconConfig = {
@@ -5203,7 +5231,8 @@
5203
5231
  "ariaDisabled": "pf-m-aria-disabled",
5204
5232
  "icon": "pf-m-icon",
5205
5233
  "description": "pf-m-description"
5206
- }
5234
+ },
5235
+ "themeDark": "pf-theme-dark"
5207
5236
  };
5208
5237
 
5209
5238
  exports.DropdownPosition = void 0;
@@ -5831,7 +5860,8 @@
5831
5860
  "modifiers": {
5832
5861
  "read": "pf-m-read",
5833
5862
  "unread": "pf-m-unread"
5834
- }
5863
+ },
5864
+ "themeDark": "pf-theme-dark"
5835
5865
  };
5836
5866
 
5837
5867
  const Badge = (_a) => {
@@ -6369,7 +6399,8 @@
6369
6399
  "sticky": "pf-m-sticky",
6370
6400
  "disabled": "pf-m-disabled",
6371
6401
  "inline": "pf-m-inline"
6372
- }
6402
+ },
6403
+ "themeDark": "pf-theme-dark"
6373
6404
  };
6374
6405
 
6375
6406
  const Banner = (_a) => {
@@ -6417,7 +6448,8 @@
6417
6448
  "modifiers": {
6418
6449
  "current": "pf-m-current",
6419
6450
  "overpassFont": "pf-m-overpass-font"
6420
- }
6451
+ },
6452
+ "themeDark": "pf-theme-dark"
6421
6453
  };
6422
6454
 
6423
6455
  const Breadcrumb = (_a) => {
@@ -6624,7 +6656,8 @@
6624
6656
  "selectToggleStatusIcon": "pf-c-select__toggle-status-icon",
6625
6657
  "selectToggleText": "pf-c-select__toggle-text",
6626
6658
  "selectToggleTypeahead": "pf-c-select__toggle-typeahead",
6627
- "selectToggleWrapper": "pf-c-select__toggle-wrapper"
6659
+ "selectToggleWrapper": "pf-c-select__toggle-wrapper",
6660
+ "themeDark": "pf-theme-dark"
6628
6661
  };
6629
6662
 
6630
6663
  const TimesCircleIconConfig = {
@@ -6691,7 +6724,8 @@
6691
6724
  "inactive": "pf-m-inactive",
6692
6725
  "hidden": "pf-m-hidden",
6693
6726
  "expanded": "pf-m-expanded"
6694
- }
6727
+ },
6728
+ "themeDark": "pf-theme-dark"
6695
6729
  };
6696
6730
 
6697
6731
  Promise.resolve().then(function () { return check; });
@@ -7309,7 +7343,8 @@
7309
7343
  "modifiers": {
7310
7344
  "overflow": "pf-m-overflow",
7311
7345
  "draggable": "pf-m-draggable"
7312
- }
7346
+ },
7347
+ "themeDark": "pf-theme-dark"
7313
7348
  };
7314
7349
 
7315
7350
  class Chip extends React__namespace.Component {
@@ -8048,7 +8083,7 @@
8048
8083
  });
8049
8084
  }
8050
8085
  render() {
8051
- const _a = this.props, { children, chipGroupProps, chipGroupComponent, className, customContent, variant, direction, onSelect, onClear, onBlur, toggleId, isOpen, isGrouped, isPlain, isDisabled, hasPlaceholderStyle, validated, selections: selectionsProp, typeAheadAriaLabel, clearSelectionsAriaLabel, toggleAriaLabel, removeSelectionAriaLabel, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, placeholderText, width, maxHeight, toggleIcon, ouiaId, ouiaSafe, hasInlineFilter, isCheckboxSelectionBadgeHidden, inlineFilterPlaceholderText,
8086
+ const _a = this.props, { children, chipGroupProps, chipGroupComponent, className, customContent, variant, direction, onSelect, onClear, onBlur, toggleId, isOpen, isGrouped, isPlain, isDisabled, hasPlaceholderStyle, validated, selections: selectionsProp, typeAheadAriaLabel, typeAheadAriaDescribedby, clearSelectionsAriaLabel, toggleAriaLabel, removeSelectionAriaLabel, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedby, 'aria-invalid': ariaInvalid, placeholderText, width, maxHeight, toggleIcon, ouiaId, ouiaSafe, hasInlineFilter, isCheckboxSelectionBadgeHidden, inlineFilterPlaceholderText,
8052
8087
  /* eslint-disable @typescript-eslint/no-unused-vars */
8053
8088
  onFilter,
8054
8089
  /* eslint-disable @typescript-eslint/no-unused-vars */
@@ -8058,7 +8093,7 @@
8058
8093
  /* eslint-enable @typescript-eslint/no-unused-vars */
8059
8094
  menuAppendTo, favorites, onFavorite,
8060
8095
  /* eslint-disable @typescript-eslint/no-unused-vars */
8061
- favoritesLabel, footer, loadingVariant, isCreateSelectOptionObject, shouldResetOnSelect, isFlipEnabled } = _a, props = __rest$1(_a, ["children", "chipGroupProps", "chipGroupComponent", "className", "customContent", "variant", "direction", "onSelect", "onClear", "onBlur", "toggleId", "isOpen", "isGrouped", "isPlain", "isDisabled", "hasPlaceholderStyle", "validated", "selections", "typeAheadAriaLabel", "clearSelectionsAriaLabel", "toggleAriaLabel", "removeSelectionAriaLabel", 'aria-label', 'aria-labelledby', 'aria-describedby', 'aria-invalid', "placeholderText", "width", "maxHeight", "toggleIcon", "ouiaId", "ouiaSafe", "hasInlineFilter", "isCheckboxSelectionBadgeHidden", "inlineFilterPlaceholderText", "onFilter", "onTypeaheadInputChanged", "onCreateOption", "isCreatable", "onToggle", "createText", "noResultsFoundText", "customBadgeText", "inputIdPrefix", "inputAutoComplete", "isInputValuePersisted", "isInputFilterPersisted", "menuAppendTo", "favorites", "onFavorite", "favoritesLabel", "footer", "loadingVariant", "isCreateSelectOptionObject", "shouldResetOnSelect", "isFlipEnabled"]);
8096
+ favoritesLabel, footer, loadingVariant, isCreateSelectOptionObject, shouldResetOnSelect, isFlipEnabled } = _a, props = __rest$1(_a, ["children", "chipGroupProps", "chipGroupComponent", "className", "customContent", "variant", "direction", "onSelect", "onClear", "onBlur", "toggleId", "isOpen", "isGrouped", "isPlain", "isDisabled", "hasPlaceholderStyle", "validated", "selections", "typeAheadAriaLabel", "typeAheadAriaDescribedby", "clearSelectionsAriaLabel", "toggleAriaLabel", "removeSelectionAriaLabel", 'aria-label', 'aria-labelledby', 'aria-describedby', 'aria-invalid', "placeholderText", "width", "maxHeight", "toggleIcon", "ouiaId", "ouiaSafe", "hasInlineFilter", "isCheckboxSelectionBadgeHidden", "inlineFilterPlaceholderText", "onFilter", "onTypeaheadInputChanged", "onCreateOption", "isCreatable", "onToggle", "createText", "noResultsFoundText", "customBadgeText", "inputIdPrefix", "inputAutoComplete", "isInputValuePersisted", "isInputFilterPersisted", "menuAppendTo", "favorites", "onFavorite", "favoritesLabel", "footer", "loadingVariant", "isCreateSelectOptionObject", "shouldResetOnSelect", "isFlipEnabled"]);
8062
8097
  const { focusFirstOption: openedOnEnter, typeaheadCurrIndex, typeaheadInputValue, typeaheadFilteredChildren, favoritesGroup } = this.state;
8063
8098
  const selectToggleId = toggleId || `pf-select-toggle-id-${currentId$1++}`;
8064
8099
  const selections = Array.isArray(selectionsProp) ? selectionsProp : [selectionsProp];
@@ -8232,8 +8267,8 @@
8232
8267
  " ",
8233
8268
  innerMenu,
8234
8269
  " ") : innerMenu;
8235
- const popperContainer = (React__namespace.createElement("div", Object.assign({ className: css(styles$_.select, isOpen && styles$_.modifiers.expanded, validated === exports.ValidatedOptions.success && styles$_.modifiers.success, validated === exports.ValidatedOptions.warning && styles$_.modifiers.warning, validated === exports.ValidatedOptions.error && styles$_.modifiers.invalid, direction === exports.SelectDirection.up && styles$_.modifiers.top, className) }, (width && { style: { width } }), (validated !== exports.ValidatedOptions.default && { 'aria-describedby': ariaDescribedby }), (validated !== exports.ValidatedOptions.default && { 'aria-invalid': ariaInvalid })), isOpen && menuContainer));
8236
- const mainContainer = (React__namespace.createElement("div", Object.assign({ className: css(styles$_.select, isOpen && styles$_.modifiers.expanded, validated === exports.ValidatedOptions.success && styles$_.modifiers.success, validated === exports.ValidatedOptions.warning && styles$_.modifiers.warning, validated === exports.ValidatedOptions.error && styles$_.modifiers.invalid, direction === exports.SelectDirection.up && styles$_.modifiers.top, className), ref: this.parentRef }, getOUIAProps(Select.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), (width && { style: { width } }), (validated !== exports.ValidatedOptions.default && { 'aria-describedby': ariaDescribedby }), (validated !== exports.ValidatedOptions.default && { 'aria-invalid': ariaInvalid })),
8270
+ const popperContainer = (React__namespace.createElement("div", Object.assign({ className: css(styles$_.select, isOpen && styles$_.modifiers.expanded, validated === exports.ValidatedOptions.success && styles$_.modifiers.success, validated === exports.ValidatedOptions.warning && styles$_.modifiers.warning, validated === exports.ValidatedOptions.error && styles$_.modifiers.invalid, direction === exports.SelectDirection.up && styles$_.modifiers.top, className) }, (width && { style: { width } }), (ariaDescribedby && { 'aria-describedby': ariaDescribedby }), (validated !== exports.ValidatedOptions.default && { 'aria-invalid': ariaInvalid })), isOpen && menuContainer));
8271
+ const mainContainer = (React__namespace.createElement("div", Object.assign({ className: css(styles$_.select, isOpen && styles$_.modifiers.expanded, validated === exports.ValidatedOptions.success && styles$_.modifiers.success, validated === exports.ValidatedOptions.warning && styles$_.modifiers.warning, validated === exports.ValidatedOptions.error && styles$_.modifiers.invalid, direction === exports.SelectDirection.up && styles$_.modifiers.top, className), ref: this.parentRef }, getOUIAProps(Select.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), (width && { style: { width } }), (ariaDescribedby && { 'aria-describedby': ariaDescribedby }), (validated !== exports.ValidatedOptions.default && { 'aria-invalid': ariaInvalid })),
8237
8272
  React__namespace.createElement(SelectToggle, Object.assign({ id: selectToggleId, parentRef: this.parentRef, menuRef: this.menuComponentRef }, (footer && { footerRef: this.footerRef }), { isOpen: isOpen, isPlain: isPlain, hasPlaceholderStyle: hasPlaceholderStyle && (!selections.length || selections[0] === null || isSelectedPlaceholder), onToggle: this.onToggle, onEnter: this.onEnter, onClose: this.onClose, onBlur: onBlur, variant: variant, "aria-labelledby": `${ariaLabelledBy || ''} ${selectToggleId}`, "aria-label": toggleAriaLabel, handleTypeaheadKeys: this.handleTypeaheadKeys, moveFocusToLastMenuItem: this.moveFocusToLastMenuItem, isDisabled: isDisabled, hasClearButton: hasOnClear, hasFooter: footer !== undefined, onClickTypeaheadToggleButton: this.onClickTypeaheadToggleButton }),
8238
8273
  customContent && (React__namespace.createElement("div", { className: css(styles$_.selectToggleWrapper) },
8239
8274
  toggleIcon && React__namespace.createElement("span", { className: css(styles$_.selectToggleIcon) }, toggleIcon),
@@ -8253,15 +8288,15 @@
8253
8288
  variant === exports.SelectVariant.typeahead && !customContent && (React__namespace.createElement(React__namespace.Fragment, null,
8254
8289
  React__namespace.createElement("div", { className: css(styles$_.selectToggleWrapper) },
8255
8290
  toggleIcon && React__namespace.createElement("span", { className: css(styles$_.selectToggleIcon) }, toggleIcon),
8256
- React__namespace.createElement("input", { className: css(formStyles.formControl, styles$_.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-typeahead`, "aria-label": typeAheadAriaLabel, placeholder: placeholderText, value: typeaheadInputValue !== null
8291
+ React__namespace.createElement("input", Object.assign({ className: css(formStyles.formControl, styles$_.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-typeahead`, "aria-label": typeAheadAriaLabel }, (typeAheadAriaDescribedby && { 'aria-describedby': typeAheadAriaDescribedby }), { placeholder: placeholderText, value: typeaheadInputValue !== null
8257
8292
  ? typeaheadInputValue
8258
- : this.getDisplay(selections[0], 'text') || '', type: "text", onClick: this.onClick, onChange: this.onChange, autoComplete: inputAutoComplete, disabled: isDisabled, ref: this.inputRef })),
8293
+ : this.getDisplay(selections[0], 'text') || '', type: "text", onClick: this.onClick, onChange: this.onChange, autoComplete: inputAutoComplete, disabled: isDisabled, ref: this.inputRef }))),
8259
8294
  hasOnClear && (selections[0] || typeaheadInputValue) && clearBtn)),
8260
8295
  variant === exports.SelectVariant.typeaheadMulti && !customContent && (React__namespace.createElement(React__namespace.Fragment, null,
8261
8296
  React__namespace.createElement("div", { className: css(styles$_.selectToggleWrapper) },
8262
8297
  toggleIcon && React__namespace.createElement("span", { className: css(styles$_.selectToggleIcon) }, toggleIcon),
8263
8298
  selections && Array.isArray(selections) && selections.length > 0 && selectedChips,
8264
- React__namespace.createElement("input", { className: css(formStyles.formControl, styles$_.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-multi-typeahead-typeahead`, "aria-label": typeAheadAriaLabel, "aria-invalid": validated === exports.ValidatedOptions.error, placeholder: placeholderText, value: typeaheadInputValue !== null ? typeaheadInputValue : '', type: "text", onChange: this.onChange, onClick: this.onClick, autoComplete: inputAutoComplete, disabled: isDisabled, ref: this.inputRef })),
8299
+ React__namespace.createElement("input", Object.assign({ className: css(formStyles.formControl, styles$_.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-multi-typeahead-typeahead`, "aria-label": typeAheadAriaLabel, "aria-invalid": validated === exports.ValidatedOptions.error }, (typeAheadAriaDescribedby && { 'aria-describedby': typeAheadAriaDescribedby }), { placeholder: placeholderText, value: typeaheadInputValue !== null ? typeaheadInputValue : '', type: "text", onChange: this.onChange, onClick: this.onClick, autoComplete: inputAutoComplete, disabled: isDisabled, ref: this.inputRef }))),
8265
8300
  hasOnClear && ((selections && selections.length > 0) || typeaheadInputValue) && clearBtn)),
8266
8301
  validated === exports.ValidatedOptions.success && (React__namespace.createElement("span", { className: css(styles$_.selectToggleStatusIcon) },
8267
8302
  React__namespace.createElement(CheckCircleIcon$1, { "aria-hidden": "true" }))),
@@ -8305,6 +8340,7 @@
8305
8340
  'aria-describedby': '',
8306
8341
  'aria-invalid': false,
8307
8342
  typeAheadAriaLabel: '',
8343
+ typeAheadAriaDescribedby: '',
8308
8344
  clearSelectionsAriaLabel: 'Clear all',
8309
8345
  toggleAriaLabel: 'Options menu',
8310
8346
  removeSelectionAriaLabel: 'Remove',
@@ -8388,7 +8424,8 @@
8388
8424
  "disabled": "pf-m-disabled",
8389
8425
  "hover": "pf-m-hover",
8390
8426
  "focus": "pf-m-focus"
8391
- }
8427
+ },
8428
+ "themeDark": "pf-theme-dark"
8392
8429
  };
8393
8430
 
8394
8431
  exports.Weekday = void 0;
@@ -8803,7 +8840,8 @@
8803
8840
  "inline": "pf-m-inline",
8804
8841
  "block": "pf-m-block",
8805
8842
  "code": "pf-m-code"
8806
- }
8843
+ },
8844
+ "themeDark": "pf-theme-dark"
8807
8845
  };
8808
8846
 
8809
8847
  Promise.resolve().then(function () { return popover; });
@@ -8839,6 +8877,7 @@
8839
8877
  "popoverTitle": "pf-c-popover__title",
8840
8878
  "popoverTitleIcon": "pf-c-popover__title-icon",
8841
8879
  "popoverTitleText": "pf-c-popover__title-text",
8880
+ "themeDark": "pf-theme-dark",
8842
8881
  "title": "pf-c-title"
8843
8882
  };
8844
8883
 
@@ -9342,7 +9381,8 @@
9342
9381
  "plain": "pf-m-plain",
9343
9382
  "text": "pf-m-text",
9344
9383
  "disabled": "pf-m-disabled"
9345
- }
9384
+ },
9385
+ "themeDark": "pf-theme-dark"
9346
9386
  };
9347
9387
 
9348
9388
  const SearchIconConfig = {
@@ -9466,7 +9506,8 @@
9466
9506
  "inputGroupText": "pf-c-input-group__text",
9467
9507
  "modifiers": {
9468
9508
  "plain": "pf-m-plain"
9469
- }
9509
+ },
9510
+ "themeDark": "pf-theme-dark"
9470
9511
  };
9471
9512
 
9472
9513
  class FormSelect extends React__namespace.Component {
@@ -9583,10 +9624,11 @@
9583
9624
  TextArea.displayName = 'TextArea';
9584
9625
 
9585
9626
  const InputGroup = (_a) => {
9586
- var { className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
9627
+ var { className = '', children, innerRef } = _a, props = __rest$1(_a, ["className", "children", "innerRef"]);
9587
9628
  const formCtrls = [FormSelect, TextArea, TextInput].map(comp => comp.displayName);
9588
9629
  const idItem = React__namespace.Children.toArray(children).find((child) => !formCtrls.includes(child.type.displayName) && child.props.id);
9589
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$P.inputGroup, className) }, props), idItem
9630
+ const inputGroupRef = innerRef || React__namespace.useRef(null);
9631
+ return (React__namespace.createElement("div", Object.assign({ ref: inputGroupRef, className: css(styles$P.inputGroup, className) }, props), idItem
9590
9632
  ? React__namespace.Children.map(children, (child) => formCtrls.includes(child.type.displayName)
9591
9633
  ? React__namespace.cloneElement(child, { 'aria-describedby': idItem.props.id })
9592
9634
  : child)
@@ -9768,7 +9810,8 @@
9768
9810
  "expanded": "pf-m-expanded",
9769
9811
  "disabled": "pf-m-disabled",
9770
9812
  "noPadding": "pf-m-no-padding"
9771
- }
9813
+ },
9814
+ "themeDark": "pf-theme-dark"
9772
9815
  };
9773
9816
 
9774
9817
  Promise.resolve().then(function () { return dataListGrid; });
@@ -10004,9 +10047,9 @@
10004
10047
  render() {
10005
10048
  const _a = this.props, { className, children, onSelectDataListItem, selectedDataListItemId, isCompact, wrapModifier,
10006
10049
  /* eslint-disable @typescript-eslint/no-unused-vars */
10007
- onDragStart, onDragMove, onDragCancel, onDragFinish, gridBreakpoint, itemOrder } = _a,
10050
+ onDragStart, onDragMove, onDragCancel, onDragFinish, gridBreakpoint, itemOrder, selectableRow } = _a,
10008
10051
  /* eslint-enable @typescript-eslint/no-unused-vars */
10009
- props = __rest$1(_a, ["className", "children", "onSelectDataListItem", "selectedDataListItemId", "isCompact", "wrapModifier", "onDragStart", "onDragMove", "onDragCancel", "onDragFinish", "gridBreakpoint", "itemOrder"]);
10052
+ props = __rest$1(_a, ["className", "children", "onSelectDataListItem", "selectedDataListItemId", "isCompact", "wrapModifier", "onDragStart", "onDragMove", "onDragCancel", "onDragFinish", "gridBreakpoint", "itemOrder", "selectableRow"]);
10010
10053
  const { dragging } = this.state;
10011
10054
  const isSelectable = onSelectDataListItem !== undefined;
10012
10055
  const updateSelectedDataListItem = (id) => {
@@ -10021,6 +10064,7 @@
10021
10064
  isSelectable,
10022
10065
  selectedDataListItemId,
10023
10066
  updateSelectedDataListItem,
10067
+ selectableRow,
10024
10068
  isDraggable: this.html5DragDrop,
10025
10069
  dragStart: this.dragStart,
10026
10070
  dragEnd: this.dragEnd,
@@ -10114,8 +10158,8 @@
10114
10158
  }
10115
10159
  class DataListItem extends React__namespace.Component {
10116
10160
  render() {
10117
- const _a = this.props, { children, isExpanded, className, id, 'aria-labelledby': ariaLabelledBy } = _a, props = __rest$1(_a, ["children", "isExpanded", "className", "id", 'aria-labelledby']);
10118
- return (React__namespace.createElement(DataListContext.Consumer, null, ({ isSelectable, selectedDataListItemId, updateSelectedDataListItem, isDraggable, dragStart, dragEnd, drop }) => {
10161
+ const _a = this.props, { children, isExpanded, className, id, 'aria-labelledby': ariaLabelledBy, selectableInputAriaLabel } = _a, props = __rest$1(_a, ["children", "isExpanded", "className", "id", 'aria-labelledby', "selectableInputAriaLabel"]);
10162
+ return (React__namespace.createElement(DataListContext.Consumer, null, ({ isSelectable, selectedDataListItemId, updateSelectedDataListItem, selectableRow, isDraggable, dragStart, dragEnd, drop }) => {
10119
10163
  const selectDataListItem = (event) => {
10120
10164
  let target = event.target;
10121
10165
  while (event.currentTarget !== target) {
@@ -10146,10 +10190,17 @@
10146
10190
  onDragEnd: dragEnd,
10147
10191
  onDragStart: dragStart
10148
10192
  };
10149
- return (React__namespace.createElement("li", Object.assign({ id: id, className: css(styles$O.dataListItem, isExpanded && styles$O.modifiers.expanded, isSelectable && styles$O.modifiers.selectable, selectedDataListItemId && selectedDataListItemId === id && styles$O.modifiers.selected, className), "aria-labelledby": ariaLabelledBy }, (isSelectable && { tabIndex: 0, onClick: selectDataListItem, onKeyDown }), (isSelectable && selectedDataListItemId === id && { 'aria-selected': true }), props, dragProps), React__namespace.Children.map(children, child => React__namespace.isValidElement(child) &&
10150
- React__namespace.cloneElement(child, {
10151
- rowid: ariaLabelledBy
10152
- }))));
10193
+ const isSelected = selectedDataListItemId === id;
10194
+ const selectableInputAriaProps = selectableInputAriaLabel
10195
+ ? { 'aria-label': selectableInputAriaLabel }
10196
+ : { 'aria-labelledby': ariaLabelledBy };
10197
+ const selectableInputType = (selectableRow === null || selectableRow === void 0 ? void 0 : selectableRow.type) === 'multiple' ? 'checkbox' : 'radio';
10198
+ return (React__namespace.createElement("li", Object.assign({ id: id, className: css(styles$O.dataListItem, isExpanded && styles$O.modifiers.expanded, isSelectable && styles$O.modifiers.selectable, selectedDataListItemId && isSelected && styles$O.modifiers.selected, className), "aria-labelledby": ariaLabelledBy }, (isSelectable && { tabIndex: 0, onClick: selectDataListItem, onKeyDown }), (isSelectable && isSelected && { 'aria-selected': true }), props, dragProps),
10199
+ selectableRow && (React__namespace.createElement("input", Object.assign({ className: "pf-screen-reader", type: selectableInputType, checked: isSelected, onChange: event => selectableRow.onChange(id, event), tabIndex: -1 }, selectableInputAriaProps))),
10200
+ React__namespace.Children.map(children, child => React__namespace.isValidElement(child) &&
10201
+ React__namespace.cloneElement(child, {
10202
+ rowid: ariaLabelledBy
10203
+ }))));
10153
10204
  }));
10154
10205
  }
10155
10206
  }
@@ -10227,7 +10278,8 @@
10227
10278
  "error": "pf-m-error",
10228
10279
  "alignRight": "pf-m-align-right",
10229
10280
  "top": "pf-m-top"
10230
- }
10281
+ },
10282
+ "themeDark": "pf-theme-dark"
10231
10283
  };
10232
10284
 
10233
10285
  const OutlinedCalendarAltIconConfig = {
@@ -10498,7 +10550,8 @@
10498
10550
  "inlineOn_2xl": "pf-m-inline-on-2xl",
10499
10551
  "staticOn_2xl": "pf-m-static-on-2xl"
10500
10552
  },
10501
- "pageMain": "pf-c-page__main"
10553
+ "pageMain": "pf-c-page__main",
10554
+ "themeDark": "pf-theme-dark"
10502
10555
  };
10503
10556
 
10504
10557
  exports.DrawerColorVariant = void 0;
@@ -14074,7 +14127,8 @@
14074
14127
  "success": "pf-m-success",
14075
14128
  "error": "pf-m-error",
14076
14129
  "dynamic": "pf-m-dynamic"
14077
- }
14130
+ },
14131
+ "themeDark": "pf-theme-dark"
14078
14132
  };
14079
14133
 
14080
14134
  const HelperText = (_a) => {
@@ -14137,7 +14191,8 @@
14137
14191
  "link": "pf-m-link",
14138
14192
  "inline": "pf-m-inline",
14139
14193
  "plain": "pf-m-plain"
14140
- }
14194
+ },
14195
+ "themeDark": "pf-theme-dark"
14141
14196
  };
14142
14197
 
14143
14198
  const Hint = (_a) => {
@@ -14459,12 +14514,14 @@
14459
14514
  "red": "pf-m-red",
14460
14515
  "purple": "pf-m-purple",
14461
14516
  "cyan": "pf-m-cyan",
14517
+ "gold": "pf-m-gold",
14462
14518
  "outline": "pf-m-outline",
14463
14519
  "overflow": "pf-m-overflow",
14464
14520
  "add": "pf-m-add",
14465
14521
  "editable": "pf-m-editable",
14466
14522
  "editableActive": "pf-m-editable-active"
14467
- }
14523
+ },
14524
+ "themeDark": "pf-theme-dark"
14468
14525
  };
14469
14526
 
14470
14527
  Promise.resolve().then(function () { return labelGroup; });
@@ -14759,6 +14816,7 @@
14759
14816
  "loginMainHeader": "pf-c-login__main-header",
14760
14817
  "loginMainHeaderDesc": "pf-c-login__main-header-desc",
14761
14818
  "loginMainHeaderUtilities": "pf-c-login__main-header-utilities",
14819
+ "themeDark": "pf-theme-dark",
14762
14820
  "title": "pf-c-title"
14763
14821
  };
14764
14822
 
@@ -14965,6 +15023,7 @@
14965
15023
  },
14966
15024
  "nav": "pf-c-nav",
14967
15025
  "page": "pf-c-page",
15026
+ "themeDark": "pf-theme-dark",
14968
15027
  "toolbar": "pf-c-toolbar",
14969
15028
  "toolbarContentSection": "pf-c-toolbar__content-section",
14970
15029
  "toolbarExpandableContent": "pf-c-toolbar__expandable-content"
@@ -15008,6 +15067,7 @@
15008
15067
  "shadowTop": "pf-m-shadow-top",
15009
15068
  "fill": "pf-m-fill",
15010
15069
  "noFill": "pf-m-no-fill",
15070
+ "light_100": "pf-m-light-100",
15011
15071
  "dark_100": "pf-m-dark-100",
15012
15072
  "dark_200": "pf-m-dark-200",
15013
15073
  "padding": "pf-m-padding",
@@ -15047,7 +15107,8 @@
15047
15107
  "pageMainTabs": "pf-c-page__main-tabs",
15048
15108
  "pageMainWizard": "pf-c-page__main-wizard",
15049
15109
  "pageSidebar": "pf-c-page__sidebar",
15050
- "pageSidebarBody": "pf-c-page__sidebar-body"
15110
+ "pageSidebarBody": "pf-c-page__sidebar-body",
15111
+ "themeDark": "pf-theme-dark"
15051
15112
  };
15052
15113
 
15053
15114
  const global_breakpoint_xl = {
@@ -15308,7 +15369,8 @@
15308
15369
  "selected": "pf-m-selected",
15309
15370
  "favorite": "pf-m-favorite",
15310
15371
  "favorited": "pf-m-favorited"
15311
- }
15372
+ },
15373
+ "themeDark": "pf-theme-dark"
15312
15374
  };
15313
15375
 
15314
15376
  const MenuContext = React__namespace.createContext({
@@ -15819,7 +15881,8 @@
15819
15881
  "active": "pf-m-active",
15820
15882
  "fullWidth": "pf-m-full-width"
15821
15883
  },
15822
- "textInputGroup": "pf-c-text-input-group"
15884
+ "textInputGroup": "pf-c-text-input-group",
15885
+ "themeDark": "pf-theme-dark"
15823
15886
  };
15824
15887
 
15825
15888
  class MenuToggleBase extends React__namespace.Component {
@@ -15878,7 +15941,8 @@
15878
15941
  "info": "pf-m-info",
15879
15942
  "help": "pf-m-help",
15880
15943
  "icon": "pf-m-icon"
15881
- }
15944
+ },
15945
+ "themeDark": "pf-theme-dark"
15882
15946
  };
15883
15947
 
15884
15948
  const ModalBoxBody = (_a) => {
@@ -16288,7 +16352,8 @@
16288
16352
  "progressIndicator": "pf-c-progress__indicator",
16289
16353
  "progressMeasure": "pf-c-progress__measure",
16290
16354
  "progressStatus": "pf-c-progress__status",
16291
- "progressStatusIcon": "pf-c-progress__status-icon"
16355
+ "progressStatusIcon": "pf-c-progress__status-icon",
16356
+ "themeDark": "pf-theme-dark"
16292
16357
  };
16293
16358
 
16294
16359
  const ProgressBar = (_a) => {
@@ -16509,7 +16574,8 @@
16509
16574
  "navSectionTitle": "pf-c-nav__section-title",
16510
16575
  "navSubnav": "pf-c-nav__subnav",
16511
16576
  "navToggle": "pf-c-nav__toggle",
16512
- "navToggleIcon": "pf-c-nav__toggle-icon"
16577
+ "navToggleIcon": "pf-c-nav__toggle-icon",
16578
+ "themeDark": "pf-theme-dark"
16513
16579
  };
16514
16580
 
16515
16581
  const navContextDefaults = {};
@@ -16875,7 +16941,8 @@
16875
16941
  "attention": "pf-m-attention"
16876
16942
  },
16877
16943
  "notificationBadge": "pf-c-notification-badge",
16878
- "notificationBadgeCount": "pf-c-notification-badge__count"
16944
+ "notificationBadgeCount": "pf-c-notification-badge__count",
16945
+ "themeDark": "pf-theme-dark"
16879
16946
  };
16880
16947
 
16881
16948
  const AttentionBellIconConfig = {
@@ -16944,7 +17011,8 @@
16944
17011
  "notificationDrawerListItemHeader": "pf-c-notification-drawer__list-item-header",
16945
17012
  "notificationDrawerListItemHeaderIcon": "pf-c-notification-drawer__list-item-header-icon",
16946
17013
  "notificationDrawerListItemHeaderTitle": "pf-c-notification-drawer__list-item-header-title",
16947
- "notificationDrawerListItemTimestamp": "pf-c-notification-drawer__list-item-timestamp"
17014
+ "notificationDrawerListItemTimestamp": "pf-c-notification-drawer__list-item-timestamp",
17015
+ "themeDark": "pf-theme-dark"
16948
17016
  };
16949
17017
 
16950
17018
  const NotificationDrawerBase = (_a) => {
@@ -17165,7 +17233,8 @@
17165
17233
  "optionsMenuToggleButton": "pf-c-options-menu__toggle-button",
17166
17234
  "optionsMenuToggleButtonIcon": "pf-c-options-menu__toggle-button-icon",
17167
17235
  "optionsMenuToggleIcon": "pf-c-options-menu__toggle-icon",
17168
- "optionsMenuToggleText": "pf-c-options-menu__toggle-text"
17236
+ "optionsMenuToggleText": "pf-c-options-menu__toggle-text",
17237
+ "themeDark": "pf-theme-dark"
17169
17238
  };
17170
17239
 
17171
17240
  exports.OptionsMenuPosition = void 0;
@@ -17573,7 +17642,8 @@
17573
17642
  "paginationNav": "pf-c-pagination__nav",
17574
17643
  "paginationNavControl": "pf-c-pagination__nav-control",
17575
17644
  "paginationNavPageSelect": "pf-c-pagination__nav-page-select",
17576
- "paginationTotalItems": "pf-c-pagination__total-items"
17645
+ "paginationTotalItems": "pf-c-pagination__total-items",
17646
+ "themeDark": "pf-theme-dark"
17577
17647
  };
17578
17648
 
17579
17649
  class Navigation extends React__namespace.Component {
@@ -18090,10 +18160,56 @@
18090
18160
  "searchInputNav": "pf-c-search-input__nav",
18091
18161
  "searchInputText": "pf-c-search-input__text",
18092
18162
  "searchInputTextInput": "pf-c-search-input__text-input",
18093
- "searchInputUtilities": "pf-c-search-input__utilities"
18163
+ "searchInputUtilities": "pf-c-search-input__utilities",
18164
+ "themeDark": "pf-theme-dark"
18094
18165
  };
18095
18166
 
18096
- const AdvancedSearchMenu = ({ parentRef, parentInputRef, value = '', attributes = [], formAdditionalItems, hasWordsAttrLabel = 'Has words', advancedSearchDelimiter, getAttrValueMap, onChange, onSearch, onClear, resetButtonLabel = 'Reset', submitSearchButtonLabel = 'Search', isSearchMenuOpen, onToggleAdvancedMenu }) => {
18167
+ Promise.resolve().then(function () { return panel; });
18168
+ var styles$m = {
18169
+ "modifiers": {
18170
+ "bordered": "pf-m-bordered",
18171
+ "raised": "pf-m-raised",
18172
+ "scrollable": "pf-m-scrollable"
18173
+ },
18174
+ "panel": "pf-c-panel",
18175
+ "panelFooter": "pf-c-panel__footer",
18176
+ "panelHeader": "pf-c-panel__header",
18177
+ "panelMain": "pf-c-panel__main",
18178
+ "panelMainBody": "pf-c-panel__main-body"
18179
+ };
18180
+
18181
+ const PanelBase = (_a) => {
18182
+ var { className, children, variant, isScrollable, innerRef } = _a, props = __rest$1(_a, ["className", "children", "variant", "isScrollable", "innerRef"]);
18183
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$m.panel, variant === 'raised' && styles$m.modifiers.raised, variant === 'bordered' && styles$m.modifiers.bordered, isScrollable && styles$m.modifiers.scrollable, className), ref: innerRef }, props), children));
18184
+ };
18185
+ const Panel = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(PanelBase, Object.assign({ innerRef: ref }, props))));
18186
+ Panel.displayName = 'Panel';
18187
+
18188
+ const PanelMain = (_a) => {
18189
+ var { className, children, maxHeight } = _a, props = __rest$1(_a, ["className", "children", "maxHeight"]);
18190
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$m.panelMain, className), style: { '--pf-c-panel__main--MaxHeight': maxHeight } }, props), children));
18191
+ };
18192
+ PanelMain.displayName = 'PanelMain';
18193
+
18194
+ const PanelMainBody = (_a) => {
18195
+ var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
18196
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$m.panelMainBody, className) }, props), children));
18197
+ };
18198
+ PanelMainBody.displayName = 'PanelMainBody';
18199
+
18200
+ const PanelHeader = (_a) => {
18201
+ var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
18202
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$m.panelHeader, className) }, props), children));
18203
+ };
18204
+ PanelHeader.displayName = 'PanelHeader';
18205
+
18206
+ const PanelFooter = (_a) => {
18207
+ var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
18208
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$m.panelFooter, className) }, props), children));
18209
+ };
18210
+ PanelFooter.displayName = 'PanelFooter';
18211
+
18212
+ const AdvancedSearchMenu = ({ className, parentRef, parentInputRef, value = '', attributes = [], formAdditionalItems, hasWordsAttrLabel = 'Has words', advancedSearchDelimiter, getAttrValueMap, onChange, onSearch, onClear, resetButtonLabel = 'Reset', submitSearchButtonLabel = 'Search', isSearchMenuOpen, onToggleAdvancedMenu }) => {
18097
18213
  const firstAttrRef = React__namespace.useRef(null);
18098
18214
  const [putFocusBackOnInput, setPutFocusBackOnInput] = React__namespace.useState(false);
18099
18215
  React__namespace.useEffect(() => {
@@ -18189,19 +18305,73 @@
18189
18305
  React__namespace.createElement(TextInput, { type: "text", id: randomId, value: getValue('haswords'), onChange: (value, evt) => handleValueChange('haswords', value, evt) })))));
18190
18306
  return formGroups;
18191
18307
  };
18192
- return isSearchMenuOpen ? (React__namespace.createElement("div", { className: styles$n.searchInputMenu },
18193
- React__namespace.createElement("div", { className: styles$n.searchInputMenuBody },
18194
- React__namespace.createElement(Form, null,
18195
- buildFormGroups(),
18196
- formAdditionalItems ? formAdditionalItems : null,
18197
- React__namespace.createElement(ActionGroup, null,
18198
- React__namespace.createElement(Button, { variant: "primary", type: "submit", onClick: onSearchHandler }, submitSearchButtonLabel),
18199
- !!onClear && (React__namespace.createElement(Button, { variant: "link", type: "reset", onClick: onClear }, resetButtonLabel))))))) : null;
18308
+ return isSearchMenuOpen ? (React__namespace.createElement(Panel, { variant: "raised", className: css(className) },
18309
+ React__namespace.createElement(PanelMain, null,
18310
+ React__namespace.createElement(PanelMainBody, null,
18311
+ React__namespace.createElement(Form, null,
18312
+ buildFormGroups(),
18313
+ formAdditionalItems ? formAdditionalItems : null,
18314
+ React__namespace.createElement(ActionGroup, null,
18315
+ React__namespace.createElement(Button, { variant: "primary", type: "submit", onClick: onSearchHandler, isDisabled: !value }, submitSearchButtonLabel),
18316
+ !!onClear && (React__namespace.createElement(Button, { variant: "link", type: "reset", onClick: onClear }, resetButtonLabel)))))))) : null;
18200
18317
  };
18201
18318
  AdvancedSearchMenu.displayName = 'SearchInput';
18202
18319
 
18320
+ Promise.resolve().then(function () { return textInputGroup; });
18321
+ var styles$l = {
18322
+ "button": "pf-c-button",
18323
+ "chipGroup": "pf-c-chip-group",
18324
+ "chipGroupList": "pf-c-chip-group__list",
18325
+ "modifiers": {
18326
+ "disabled": "pf-m-disabled",
18327
+ "plain": "pf-m-plain",
18328
+ "icon": "pf-m-icon",
18329
+ "hint": "pf-m-hint"
18330
+ },
18331
+ "textInputGroup": "pf-c-text-input-group",
18332
+ "textInputGroupGroup": "pf-c-text-input-group__group",
18333
+ "textInputGroupIcon": "pf-c-text-input-group__icon",
18334
+ "textInputGroupMain": "pf-c-text-input-group__main",
18335
+ "textInputGroupText": "pf-c-text-input-group__text",
18336
+ "textInputGroupTextInput": "pf-c-text-input-group__text-input",
18337
+ "textInputGroupUtilities": "pf-c-text-input-group__utilities"
18338
+ };
18339
+
18340
+ const TextInputGroupContext = React__namespace.createContext({
18341
+ isDisabled: false
18342
+ });
18343
+ const TextInputGroup = (_a) => {
18344
+ var { children, className, isDisabled, innerRef } = _a, props = __rest$1(_a, ["children", "className", "isDisabled", "innerRef"]);
18345
+ const textInputGroupRef = innerRef || React__namespace.useRef(null);
18346
+ return (React__namespace.createElement(TextInputGroupContext.Provider, { value: { isDisabled } },
18347
+ React__namespace.createElement("div", Object.assign({ ref: textInputGroupRef, className: css(styles$l.textInputGroup, isDisabled && styles$l.modifiers.disabled, className) }, props), children)));
18348
+ };
18349
+ TextInputGroup.displayName = 'TextInputGroup';
18350
+
18351
+ const TextInputGroupMain = (_a) => {
18352
+ var { children, className, icon, type = 'text', hint, onChange = () => undefined, onFocus, onBlur, 'aria-label': ariaLabel = 'Type to filter', value: inputValue, placeholder: inputPlaceHolder, innerRef } = _a, props = __rest$1(_a, ["children", "className", "icon", "type", "hint", "onChange", "onFocus", "onBlur", 'aria-label', "value", "placeholder", "innerRef"]);
18353
+ const { isDisabled } = React__namespace.useContext(TextInputGroupContext);
18354
+ const textInputGroupInputInputRef = innerRef || React__namespace.useRef(null);
18355
+ const handleChange = (event) => {
18356
+ onChange(event.currentTarget.value, event);
18357
+ };
18358
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$l.textInputGroupMain, icon && styles$l.modifiers.icon, className) }, props),
18359
+ children,
18360
+ React__namespace.createElement("span", { className: css(styles$l.textInputGroupText) },
18361
+ hint && (React__namespace.createElement("input", { className: css(styles$l.textInputGroupTextInput, styles$l.modifiers.hint), type: "text", disabled: true, "aria-hidden": "true", value: hint })),
18362
+ icon && React__namespace.createElement("span", { className: css(styles$l.textInputGroupIcon) }, icon),
18363
+ React__namespace.createElement("input", { ref: textInputGroupInputInputRef, type: type, className: css(styles$l.textInputGroupTextInput), "aria-label": ariaLabel, disabled: isDisabled, onChange: handleChange, onFocus: onFocus, onBlur: onBlur, value: inputValue || '', placeholder: inputPlaceHolder }))));
18364
+ };
18365
+ TextInputGroupMain.displayName = 'TextInputGroupMain';
18366
+
18367
+ const TextInputGroupUtilities = (_a) => {
18368
+ var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
18369
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$l.textInputGroupUtilities, className) }, props), children));
18370
+ };
18371
+ TextInputGroupUtilities.displayName = 'TextInputGroupUtilities';
18372
+
18203
18373
  const SearchInputBase = (_a) => {
18204
- var { className, value = '', attributes = [], formAdditionalItems, hasWordsAttrLabel = 'Has words', advancedSearchDelimiter, placeholder, hint, onChange, onSearch, onClear, onToggleAdvancedSearch, isAdvancedSearchOpen, resultsCount, onNextClick, onPreviousClick, innerRef, 'aria-label': ariaLabel = 'Search input', resetButtonLabel = 'Reset', openMenuButtonAriaLabel = 'Open advanced search', submitSearchButtonLabel = 'Search', isDisabled = false } = _a, props = __rest$1(_a, ["className", "value", "attributes", "formAdditionalItems", "hasWordsAttrLabel", "advancedSearchDelimiter", "placeholder", "hint", "onChange", "onSearch", "onClear", "onToggleAdvancedSearch", "isAdvancedSearchOpen", "resultsCount", "onNextClick", "onPreviousClick", "innerRef", 'aria-label', "resetButtonLabel", "openMenuButtonAriaLabel", "submitSearchButtonLabel", "isDisabled"]);
18374
+ var { className, value = '', attributes = [], formAdditionalItems, hasWordsAttrLabel = 'Has words', advancedSearchDelimiter, placeholder, hint, onChange, onSearch, onClear, onToggleAdvancedSearch, isAdvancedSearchOpen, resultsCount, onNextClick, onPreviousClick, innerRef, 'aria-label': ariaLabel = 'Search input', resetButtonLabel = 'Reset', openMenuButtonAriaLabel = 'Open advanced search', previousNavigationButtonAriaLabel = 'Previous', isPreviousNavigationButtonDisabled = false, isNextNavigationButtonDisabled = false, nextNavigationButtonAriaLabel = 'Next', submitSearchButtonLabel = 'Search', isDisabled = false } = _a, props = __rest$1(_a, ["className", "value", "attributes", "formAdditionalItems", "hasWordsAttrLabel", "advancedSearchDelimiter", "placeholder", "hint", "onChange", "onSearch", "onClear", "onToggleAdvancedSearch", "isAdvancedSearchOpen", "resultsCount", "onNextClick", "onPreviousClick", "innerRef", 'aria-label', "resetButtonLabel", "openMenuButtonAriaLabel", "previousNavigationButtonAriaLabel", "isPreviousNavigationButtonDisabled", "isNextNavigationButtonDisabled", "nextNavigationButtonAriaLabel", "submitSearchButtonLabel", "isDisabled"]);
18205
18375
  const [isSearchMenuOpen, setIsSearchMenuOpen] = React__namespace.useState(false);
18206
18376
  const [searchValue, setSearchValue] = React__namespace.useState(value);
18207
18377
  const searchInputRef = React__namespace.useRef(null);
@@ -18218,11 +18388,11 @@
18218
18388
  React__namespace.useEffect(() => {
18219
18389
  setIsSearchMenuOpen(isAdvancedSearchOpen);
18220
18390
  }, [isAdvancedSearchOpen]);
18221
- const onChangeHandler = (event) => {
18391
+ const onChangeHandler = (value, event) => {
18222
18392
  if (onChange) {
18223
- onChange(event.currentTarget.value, event);
18393
+ onChange(value, event);
18224
18394
  }
18225
- setSearchValue(event.currentTarget.value);
18395
+ setSearchValue(value);
18226
18396
  };
18227
18397
  const onToggle = (e) => {
18228
18398
  const isOpen = !isSearchMenuOpen;
@@ -18267,30 +18437,39 @@
18267
18437
  searchInputInputRef.current.focus();
18268
18438
  }
18269
18439
  };
18270
- return (React__namespace.createElement("div", Object.assign({ className: css(className, styles$n.searchInput), ref: searchInputRef }, props),
18271
- React__namespace.createElement(InputGroup, null,
18272
- React__namespace.createElement("div", { className: css(styles$n.searchInputBar) },
18273
- React__namespace.createElement("span", { className: css(styles$n.searchInputText) },
18274
- React__namespace.createElement("span", { className: css(styles$n.searchInputIcon) },
18275
- React__namespace.createElement(SearchIcon$1, null)),
18276
- hint && (React__namespace.createElement("input", { className: css(styles$n.searchInputTextInput, styles$n.modifiers.hint), type: "text", disabled: true, "aria-hidden": "true", value: hint })),
18277
- React__namespace.createElement("input", { ref: searchInputInputRef, className: css(styles$n.searchInputTextInput), value: searchValue, placeholder: placeholder, "aria-label": ariaLabel, onKeyDown: onEnter, onChange: onChangeHandler, disabled: isDisabled })),
18278
- value && (React__namespace.createElement("span", { className: css(styles$n.searchInputUtilities) },
18279
- resultsCount && (React__namespace.createElement("span", { className: css(styles$n.searchInputCount) },
18280
- React__namespace.createElement(Badge, { isRead: true }, resultsCount))),
18281
- !!onNextClick && !!onPreviousClick && (React__namespace.createElement("span", { className: css(styles$n.searchInputNav) },
18282
- React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, "aria-label": "Previous", isDisabled: isDisabled, onClick: onPreviousClick },
18283
- React__namespace.createElement(AngleUpIcon$1, null)),
18284
- React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, "aria-label": "Next", isDisabled: isDisabled, onClick: onNextClick },
18285
- React__namespace.createElement(AngleDownIcon$1, null)))),
18286
- !!onClear && (React__namespace.createElement("span", { className: "pf-c-search-input__clear" },
18287
- React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, isDisabled: isDisabled, "aria-label": resetButtonLabel, onClick: onClearInput },
18288
- React__namespace.createElement(TimesIcon$1, null))))))),
18440
+ const buildSearchTextInputGroup = (_a = {}) => {
18441
+ var searchInputProps = __rest$1(_a, []);
18442
+ return (React__namespace.createElement(TextInputGroup, Object.assign({ isDisabled: isDisabled }, searchInputProps),
18443
+ React__namespace.createElement(TextInputGroupMain, { hint: hint, icon: React__namespace.createElement(SearchIcon$1, null), innerRef: searchInputInputRef, value: searchValue, placeholder: placeholder, "aria-label": ariaLabel, onKeyDown: onEnter, onChange: onChangeHandler }),
18444
+ value && (React__namespace.createElement(TextInputGroupUtilities, null,
18445
+ resultsCount && React__namespace.createElement(Badge, { isRead: true }, resultsCount),
18446
+ !!onNextClick && !!onPreviousClick && (React__namespace.createElement("div", { className: "pf-c-text-input-group__group" },
18447
+ React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, "aria-label": previousNavigationButtonAriaLabel, isDisabled: isDisabled || isPreviousNavigationButtonDisabled, onClick: onPreviousClick },
18448
+ React__namespace.createElement(AngleUpIcon$1, null)),
18449
+ React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, "aria-label": nextNavigationButtonAriaLabel, isDisabled: isDisabled || isNextNavigationButtonDisabled, onClick: onNextClick },
18450
+ React__namespace.createElement(AngleDownIcon$1, null)))),
18451
+ !!onClear && (React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, isDisabled: isDisabled, "aria-label": resetButtonLabel, onClick: onClearInput },
18452
+ React__namespace.createElement(TimesIcon$1, null)))))));
18453
+ };
18454
+ const buildSearchTextInputGroupWithExtraButtons = (_a = {}) => {
18455
+ var searchInputProps = __rest$1(_a, []);
18456
+ return (React__namespace.createElement(InputGroup, Object.assign({}, searchInputProps),
18457
+ buildSearchTextInputGroup(),
18289
18458
  (attributes.length > 0 || onToggleAdvancedSearch) && (React__namespace.createElement(Button, { className: isSearchMenuOpen && 'pf-m-expanded', variant: exports.ButtonVariant.control, "aria-label": openMenuButtonAriaLabel, onClick: onToggle, isDisabled: isDisabled, "aria-expanded": isSearchMenuOpen },
18290
18459
  React__namespace.createElement(CaretDownIcon$1, null))),
18291
- !!onSearch && (React__namespace.createElement(Button, { type: "submit", variant: exports.ButtonVariant.control, "aria-label": submitSearchButtonLabel, onClick: onSearchHandler, isDisabled: isDisabled },
18292
- React__namespace.createElement(ArrowRightIcon$1, null)))),
18293
- attributes.length > 0 && (React__namespace.createElement(AdvancedSearchMenu, { value: value, parentRef: searchInputRef, parentInputRef: searchInputInputRef, onSearch: onSearch, onClear: onClear, onChange: onChange, onToggleAdvancedMenu: onToggle, resetButtonLabel: resetButtonLabel, submitSearchButtonLabel: submitSearchButtonLabel, attributes: attributes, formAdditionalItems: formAdditionalItems, hasWordsAttrLabel: hasWordsAttrLabel, advancedSearchDelimiter: advancedSearchDelimiter, getAttrValueMap: getAttrValueMap, isSearchMenuOpen: isSearchMenuOpen }))));
18460
+ !!onSearch && (React__namespace.createElement(Button, { type: "submit", variant: exports.ButtonVariant.control, "aria-label": submitSearchButtonLabel, onClick: onSearchHandler, isDisabled: isDisabled || !searchValue },
18461
+ React__namespace.createElement(ArrowRightIcon$1, null)))));
18462
+ };
18463
+ const searchInputProps = Object.assign(Object.assign({}, props), { className: className && css(className), innerRef: searchInputRef });
18464
+ if (!!onSearch || attributes.length > 0 || !!onToggleAdvancedSearch) {
18465
+ if (attributes.length > 0) {
18466
+ return (React__namespace.createElement("div", Object.assign({ className: css(className, styles$n.searchInput), ref: searchInputRef }, props),
18467
+ buildSearchTextInputGroupWithExtraButtons(),
18468
+ React__namespace.createElement(AdvancedSearchMenu, { className: styles$n.searchInputMenu, value: value, parentRef: searchInputRef, parentInputRef: searchInputInputRef, onSearch: onSearch, onClear: onClear, onChange: onChange, onToggleAdvancedMenu: onToggle, resetButtonLabel: resetButtonLabel, submitSearchButtonLabel: submitSearchButtonLabel, attributes: attributes, formAdditionalItems: formAdditionalItems, hasWordsAttrLabel: hasWordsAttrLabel, advancedSearchDelimiter: advancedSearchDelimiter, getAttrValueMap: getAttrValueMap, isSearchMenuOpen: isSearchMenuOpen })));
18469
+ }
18470
+ return buildSearchTextInputGroupWithExtraButtons(Object.assign({}, searchInputProps));
18471
+ }
18472
+ return buildSearchTextInputGroup(searchInputProps);
18294
18473
  };
18295
18474
  SearchInputBase.displayName = 'SearchInputBase';
18296
18475
  const SearchInput = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(SearchInputBase, Object.assign({}, props, { innerRef: ref }))));
@@ -18316,20 +18495,21 @@
18316
18495
  SidebarPanel.displayName = 'SidebarPanel';
18317
18496
 
18318
18497
  Promise.resolve().then(function () { return simpleList; });
18319
- var styles$m = {
18498
+ var styles$k = {
18320
18499
  "modifiers": {
18321
18500
  "current": "pf-m-current"
18322
18501
  },
18323
18502
  "simpleList": "pf-c-simple-list",
18324
18503
  "simpleListItemLink": "pf-c-simple-list__item-link",
18325
18504
  "simpleListSection": "pf-c-simple-list__section",
18326
- "simpleListTitle": "pf-c-simple-list__title"
18505
+ "simpleListTitle": "pf-c-simple-list__title",
18506
+ "themeDark": "pf-theme-dark"
18327
18507
  };
18328
18508
 
18329
18509
  const SimpleListGroup = (_a) => {
18330
18510
  var { children = null, className = '', title = '', titleClassName = '', id = '' } = _a, props = __rest$1(_a, ["children", "className", "title", "titleClassName", "id"]);
18331
- return (React__namespace.createElement("section", Object.assign({ className: css(styles$m.simpleListSection) }, props),
18332
- React__namespace.createElement("h2", { id: id, className: css(styles$m.simpleListTitle, titleClassName), "aria-hidden": "true" }, title),
18511
+ return (React__namespace.createElement("section", Object.assign({ className: css(styles$k.simpleListSection) }, props),
18512
+ React__namespace.createElement("h2", { id: id, className: css(styles$k.simpleListTitle, titleClassName), "aria-hidden": "true" }, title),
18333
18513
  React__namespace.createElement("ul", { className: css(className), "aria-labelledby": id }, children)));
18334
18514
  };
18335
18515
  SimpleListGroup.displayName = 'SimpleListGroup';
@@ -18359,7 +18539,7 @@
18359
18539
  updateCurrentRef: this.handleCurrentUpdate,
18360
18540
  isControlled
18361
18541
  } },
18362
- React__namespace.createElement("div", Object.assign({ className: css(styles$m.simpleList, className) }, props),
18542
+ React__namespace.createElement("div", Object.assign({ className: css(styles$k.simpleList, className) }, props),
18363
18543
  isGrouped && children,
18364
18544
  !isGrouped && React__namespace.createElement("ul", null, children))));
18365
18545
  }
@@ -18392,7 +18572,7 @@
18392
18572
  href
18393
18573
  };
18394
18574
  return (React__namespace.createElement("li", Object.assign({ className: css(className) }, props),
18395
- React__namespace.createElement(Component, Object.assign({ className: css(styles$m.simpleListItemLink, isCurrentItem && styles$m.modifiers.current, componentClassName), onClick: (evt) => {
18575
+ React__namespace.createElement(Component, Object.assign({ className: css(styles$k.simpleListItemLink, isCurrentItem && styles$k.modifiers.current, componentClassName), onClick: (evt) => {
18396
18576
  onClick(evt);
18397
18577
  updateCurrentRef(this.ref, this.props);
18398
18578
  }, ref: this.ref }, componentProps, additionalComponentProps), children)));
@@ -18413,7 +18593,7 @@
18413
18593
  };
18414
18594
 
18415
18595
  Promise.resolve().then(function () { return skeleton; });
18416
- var styles$l = {
18596
+ var styles$j = {
18417
18597
  "modifiers": {
18418
18598
  "circle": "pf-m-circle",
18419
18599
  "square": "pf-m-square",
@@ -18442,15 +18622,16 @@
18442
18622
  "textMd": "pf-m-text-md",
18443
18623
  "textSm": "pf-m-text-sm"
18444
18624
  },
18445
- "skeleton": "pf-c-skeleton"
18625
+ "skeleton": "pf-c-skeleton",
18626
+ "themeDark": "pf-theme-dark"
18446
18627
  };
18447
18628
 
18448
18629
  const Skeleton = (_a) => {
18449
18630
  var { className, width, height, fontSize, shape, screenreaderText } = _a, props = __rest$1(_a, ["className", "width", "height", "fontSize", "shape", "screenreaderText"]);
18450
18631
  const fontHeightClassName = fontSize
18451
- ? Object.values(styles$l.modifiers).find(key => key === `pf-m-text-${fontSize}`)
18632
+ ? Object.values(styles$j.modifiers).find(key => key === `pf-m-text-${fontSize}`)
18452
18633
  : undefined;
18453
- return (React__namespace.createElement("div", Object.assign({}, props, { className: css(styles$l.skeleton, fontSize && fontHeightClassName, shape === 'circle' && styles$l.modifiers.circle, shape === 'square' && styles$l.modifiers.square, className) }, ((width || height) && {
18634
+ return (React__namespace.createElement("div", Object.assign({}, props, { className: css(styles$j.skeleton, fontSize && fontHeightClassName, shape === 'circle' && styles$j.modifiers.circle, shape === 'square' && styles$j.modifiers.square, className) }, ((width || height) && {
18454
18635
  style: Object.assign({ '--pf-c-skeleton--Width': width ? width : undefined, '--pf-c-skeleton--Height': height ? height : undefined }, props.style)
18455
18636
  })),
18456
18637
  React__namespace.createElement("span", { className: "pf-u-screen-reader" }, screenreaderText)));
@@ -18458,7 +18639,7 @@
18458
18639
  Skeleton.displayName = 'Skeleton';
18459
18640
 
18460
18641
  Promise.resolve().then(function () { return skipToContent; });
18461
- var styles$k = {
18642
+ var styles$i = {
18462
18643
  "skipToContent": "pf-c-skip-to-content"
18463
18644
  };
18464
18645
 
@@ -18475,7 +18656,7 @@
18475
18656
  render() {
18476
18657
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
18477
18658
  const _a = this.props, { children, className, href, show, type } = _a, rest = __rest$1(_a, ["children", "className", "href", "show", "type"]);
18478
- return (React__namespace.createElement("a", Object.assign({}, rest, { className: css(buttonStyles.button, buttonStyles.modifiers.primary, styles$k.skipToContent, className), ref: this.componentRef, href: href }), children));
18659
+ return (React__namespace.createElement("a", Object.assign({}, rest, { className: css(buttonStyles.button, buttonStyles.modifiers.primary, styles$i.skipToContent, className), ref: this.componentRef, href: href }), children));
18479
18660
  }
18480
18661
  }
18481
18662
  SkipToContent.displayName = 'SkipToContent';
@@ -18484,7 +18665,7 @@
18484
18665
  };
18485
18666
 
18486
18667
  Promise.resolve().then(function () { return slider; });
18487
- var styles$j = {
18668
+ var styles$h = {
18488
18669
  "formControl": "pf-c-form-control",
18489
18670
  "inputGroup": "pf-c-input-group",
18490
18671
  "inputGroupText": "pf-c-input-group__text",
@@ -18509,9 +18690,9 @@
18509
18690
  const SliderStep = (_a) => {
18510
18691
  var { className, label, value, isTickHidden = false, isLabelHidden = false, isActive = false } = _a, props = __rest$1(_a, ["className", "label", "value", "isTickHidden", "isLabelHidden", "isActive"]);
18511
18692
  const style = { '--pf-c-slider__step--Left': `${value}%` };
18512
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$j.sliderStep, isActive && styles$j.modifiers.active, className), style: style }, props),
18513
- !isTickHidden && React__namespace.createElement("div", { className: css(styles$j.sliderStepTick) }),
18514
- !isLabelHidden && label && React__namespace.createElement("div", { className: css(styles$j.sliderStepLabel) }, label)));
18693
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$h.sliderStep, isActive && styles$h.modifiers.active, className), style: style }, props),
18694
+ !isTickHidden && React__namespace.createElement("div", { className: css(styles$h.sliderStepTick) }),
18695
+ !isLabelHidden && label && React__namespace.createElement("div", { className: css(styles$h.sliderStepLabel) }, label)));
18515
18696
  };
18516
18697
  SliderStep.displayName = 'SliderStep';
18517
18698
 
@@ -18697,7 +18878,7 @@
18697
18878
  }
18698
18879
  };
18699
18880
  const displayInput = () => {
18700
- const textInput = (React__namespace.createElement(TextInput, { className: css(styles$j.formControl), isDisabled: isDisabled, type: "number", value: localInputValue, "aria-label": inputAriaLabel, onKeyDown: handleKeyPressOnInput, onChange: onChangeHandler, onClick: onInputFocus, onFocus: onInputFocus, onBlur: onBlur }));
18881
+ const textInput = (React__namespace.createElement(TextInput, { className: css(styles$h.formControl), isDisabled: isDisabled, type: "number", value: localInputValue, "aria-label": inputAriaLabel, onKeyDown: handleKeyPressOnInput, onChange: onChangeHandler, onClick: onInputFocus, onFocus: onInputFocus, onBlur: onBlur }));
18701
18882
  if (inputLabel) {
18702
18883
  return (React__namespace.createElement(InputGroup, null,
18703
18884
  textInput,
@@ -18723,28 +18904,28 @@
18723
18904
  }
18724
18905
  return builtSteps;
18725
18906
  };
18726
- const thumbComponent = (React__namespace.createElement("div", { className: css(styles$j.sliderThumb), ref: thumbRef, tabIndex: isDisabled ? -1 : 0, role: "slider", "aria-valuemin": customSteps ? customSteps[0].value : min, "aria-valuemax": customSteps ? customSteps[customSteps.length - 1].value : max, "aria-valuenow": localValue, "aria-valuetext": findAriaTextValue(), "aria-label": thumbAriaLabel, "aria-disabled": isDisabled, "aria-describedby": ariaDescribedby, "aria-labelledby": ariaLabelledby, onMouseDown: !isDisabled ? handleMouseDown : null, onTouchStart: !isDisabled ? handleTouchStart : null, onKeyDown: !isDisabled ? handleThumbKeys : null, onClick: !isDisabled ? onThumbClick : null }));
18727
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$j.slider, className, isDisabled && styles$j.modifiers.disabled), style: Object.assign(Object.assign({}, style), inputStyle) }, props),
18728
- leftActions && React__namespace.createElement("div", { className: css(styles$j.sliderActions) }, leftActions),
18729
- React__namespace.createElement("div", { className: css(styles$j.sliderMain) },
18730
- React__namespace.createElement("div", { className: css(styles$j.sliderRail), ref: sliderRailRef, onClick: !isDisabled ? onSliderRailClick : null },
18731
- React__namespace.createElement("div", { className: css(styles$j.sliderRailTrack) })),
18732
- customSteps && (React__namespace.createElement("div", { className: css(styles$j.sliderSteps), "aria-hidden": "true" }, customSteps.map(stepObj => {
18907
+ const thumbComponent = (React__namespace.createElement("div", { className: css(styles$h.sliderThumb), ref: thumbRef, tabIndex: isDisabled ? -1 : 0, role: "slider", "aria-valuemin": customSteps ? customSteps[0].value : min, "aria-valuemax": customSteps ? customSteps[customSteps.length - 1].value : max, "aria-valuenow": localValue, "aria-valuetext": findAriaTextValue(), "aria-label": thumbAriaLabel, "aria-disabled": isDisabled, "aria-describedby": ariaDescribedby, "aria-labelledby": ariaLabelledby, onMouseDown: !isDisabled ? handleMouseDown : null, onTouchStart: !isDisabled ? handleTouchStart : null, onKeyDown: !isDisabled ? handleThumbKeys : null, onClick: !isDisabled ? onThumbClick : null }));
18908
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$h.slider, className, isDisabled && styles$h.modifiers.disabled), style: Object.assign(Object.assign({}, style), inputStyle) }, props),
18909
+ leftActions && React__namespace.createElement("div", { className: css(styles$h.sliderActions) }, leftActions),
18910
+ React__namespace.createElement("div", { className: css(styles$h.sliderMain) },
18911
+ React__namespace.createElement("div", { className: css(styles$h.sliderRail), ref: sliderRailRef, onClick: !isDisabled ? onSliderRailClick : null },
18912
+ React__namespace.createElement("div", { className: css(styles$h.sliderRailTrack) })),
18913
+ customSteps && (React__namespace.createElement("div", { className: css(styles$h.sliderSteps), "aria-hidden": "true" }, customSteps.map(stepObj => {
18733
18914
  const minValue = customSteps[0].value;
18734
18915
  const maxValue = customSteps[customSteps.length - 1].value;
18735
18916
  const stepValue = getStepValue(stepObj.value, minValue, maxValue);
18736
18917
  return (React__namespace.createElement(SliderStep, { key: stepObj.value, value: stepValue, label: stepObj.label, isLabelHidden: stepObj.isLabelHidden, isActive: stepObj.value <= localValue }));
18737
18918
  }))),
18738
- !customSteps && (showTicks || showBoundaries) && (React__namespace.createElement("div", { className: css(styles$j.sliderSteps), "aria-hidden": "true" }, buildSteps())),
18919
+ !customSteps && (showTicks || showBoundaries) && (React__namespace.createElement("div", { className: css(styles$h.sliderSteps), "aria-hidden": "true" }, buildSteps())),
18739
18920
  hasTooltipOverThumb ? (React__namespace.createElement(Tooltip, { entryDelay: 0, content: findAriaTextValue() }, thumbComponent)) : (thumbComponent),
18740
- isInputVisible && inputPosition === 'aboveThumb' && (React__namespace.createElement("div", { className: css(styles$j.sliderValue, styles$j.modifiers.floating) }, displayInput()))),
18741
- isInputVisible && inputPosition === 'right' && React__namespace.createElement("div", { className: css(styles$j.sliderValue) }, displayInput()),
18742
- rightActions && React__namespace.createElement("div", { className: css(styles$j.sliderActions) }, rightActions)));
18921
+ isInputVisible && inputPosition === 'aboveThumb' && (React__namespace.createElement("div", { className: css(styles$h.sliderValue, styles$h.modifiers.floating) }, displayInput()))),
18922
+ isInputVisible && inputPosition === 'right' && React__namespace.createElement("div", { className: css(styles$h.sliderValue) }, displayInput()),
18923
+ rightActions && React__namespace.createElement("div", { className: css(styles$h.sliderActions) }, rightActions)));
18743
18924
  };
18744
18925
  Slider.displayName = 'Slider';
18745
18926
 
18746
18927
  Promise.resolve().then(function () { return _switch; });
18747
- var styles$i = {
18928
+ var styles$g = {
18748
18929
  "modifiers": {
18749
18930
  "reverse": "pf-m-reverse",
18750
18931
  "off": "pf-m-off",
@@ -18754,7 +18935,8 @@
18754
18935
  "switchInput": "pf-c-switch__input",
18755
18936
  "switchLabel": "pf-c-switch__label",
18756
18937
  "switchToggle": "pf-c-switch__toggle",
18757
- "switchToggleIcon": "pf-c-switch__toggle-icon"
18938
+ "switchToggleIcon": "pf-c-switch__toggle-icon",
18939
+ "themeDark": "pf-theme-dark"
18758
18940
  };
18759
18941
 
18760
18942
  class Switch extends React__namespace.Component {
@@ -18774,14 +18956,14 @@
18774
18956
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
18775
18957
  id, className, label, labelOff, isChecked, defaultChecked, hasCheckIcon, isDisabled, onChange, isReversed, ouiaId, ouiaSafe } = _a, props = __rest$1(_a, ["id", "className", "label", "labelOff", "isChecked", "defaultChecked", "hasCheckIcon", "isDisabled", "onChange", "isReversed", "ouiaId", "ouiaSafe"]);
18776
18958
  const isAriaLabelledBy = props['aria-label'] === '';
18777
- return (React__namespace.createElement("label", Object.assign({ className: css(styles$i.switch, isReversed && styles$i.modifiers.reverse, className), htmlFor: this.id }, getOUIAProps(Switch.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe)),
18778
- React__namespace.createElement("input", Object.assign({ id: this.id, className: css(styles$i.switchInput), type: "checkbox", onChange: event => onChange(event.target.checked, event) }, ([true, false].includes(defaultChecked) && { defaultChecked }), (![true, false].includes(defaultChecked) && { checked: isChecked }), { disabled: isDisabled, "aria-labelledby": isAriaLabelledBy ? `${this.id}-on` : null }, props)),
18959
+ return (React__namespace.createElement("label", Object.assign({ className: css(styles$g.switch, isReversed && styles$g.modifiers.reverse, className), htmlFor: this.id }, getOUIAProps(Switch.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe)),
18960
+ React__namespace.createElement("input", Object.assign({ id: this.id, className: css(styles$g.switchInput), type: "checkbox", onChange: event => onChange(event.target.checked, event) }, ([true, false].includes(defaultChecked) && { defaultChecked }), (![true, false].includes(defaultChecked) && { checked: isChecked }), { disabled: isDisabled, "aria-labelledby": isAriaLabelledBy ? `${this.id}-on` : null }, props)),
18779
18961
  label !== undefined ? (React__namespace.createElement(React__namespace.Fragment, null,
18780
- React__namespace.createElement("span", { className: css(styles$i.switchToggle) }, hasCheckIcon && (React__namespace.createElement("span", { className: css(styles$i.switchToggleIcon), "aria-hidden": "true" },
18962
+ React__namespace.createElement("span", { className: css(styles$g.switchToggle) }, hasCheckIcon && (React__namespace.createElement("span", { className: css(styles$g.switchToggleIcon), "aria-hidden": "true" },
18781
18963
  React__namespace.createElement(CheckIcon$1, { noVerticalAlign: true })))),
18782
- React__namespace.createElement("span", { className: css(styles$i.switchLabel, styles$i.modifiers.on), id: isAriaLabelledBy ? `${this.id}-on` : null, "aria-hidden": "true" }, label),
18783
- React__namespace.createElement("span", { className: css(styles$i.switchLabel, styles$i.modifiers.off), id: isAriaLabelledBy ? `${this.id}-off` : null, "aria-hidden": "true" }, labelOff !== undefined ? labelOff : label))) : (React__namespace.createElement("span", { className: css(styles$i.switchToggle) },
18784
- React__namespace.createElement("div", { className: css(styles$i.switchToggleIcon), "aria-hidden": "true" },
18964
+ React__namespace.createElement("span", { className: css(styles$g.switchLabel, styles$g.modifiers.on), id: isAriaLabelledBy ? `${this.id}-on` : null, "aria-hidden": "true" }, label),
18965
+ React__namespace.createElement("span", { className: css(styles$g.switchLabel, styles$g.modifiers.off), id: isAriaLabelledBy ? `${this.id}-off` : null, "aria-hidden": "true" }, labelOff !== undefined ? labelOff : label))) : (React__namespace.createElement("span", { className: css(styles$g.switchToggle) },
18966
+ React__namespace.createElement("div", { className: css(styles$g.switchToggleIcon), "aria-hidden": "true" },
18785
18967
  React__namespace.createElement(CheckIcon$1, { noVerticalAlign: true }))))));
18786
18968
  }
18787
18969
  }
@@ -18795,7 +18977,7 @@
18795
18977
  };
18796
18978
 
18797
18979
  Promise.resolve().then(function () { return tabs; });
18798
- var styles$h = {
18980
+ var styles$f = {
18799
18981
  "button": "pf-c-button",
18800
18982
  "modifiers": {
18801
18983
  "fill": "pf-m-fill",
@@ -18874,7 +19056,8 @@
18874
19056
  "tabsToggle": "pf-c-tabs__toggle",
18875
19057
  "tabsToggleButton": "pf-c-tabs__toggle-button",
18876
19058
  "tabsToggleIcon": "pf-c-tabs__toggle-icon",
18877
- "tabsToggleText": "pf-c-tabs__toggle-text"
19059
+ "tabsToggleText": "pf-c-tabs__toggle-text",
19060
+ "themeDark": "pf-theme-dark"
18878
19061
  };
18879
19062
 
18880
19063
  const TabButton = (_a) => {
@@ -18917,12 +19100,12 @@
18917
19100
  return null;
18918
19101
  }
18919
19102
  };
18920
- const tabButton = (React__namespace.createElement(TabButton, Object.assign({ parentInnerRef: innerRef, className: css(styles$h.tabsLink, isDisabled && href && styles$h.modifiers.disabled, isAriaDisabled && styles$h.modifiers.ariaDisabled), disabled: isButtonElement ? isDisabled : null, "aria-disabled": isDisabled || isAriaDisabled, tabIndex: getDefaultTabIdx(), onClick: (event) => handleTabClick(event, eventKey, tabContentRef) }, (isAriaDisabled ? preventedEvents : null), { id: `pf-tab-${eventKey}-${childId || uniqueId}`, "aria-controls": ariaControls, tabContentRef: tabContentRef, ouiaId: childOuiaId, href: href, role: "tab", "aria-selected": eventKey === localActiveKey }, props), title));
18921
- return (React__namespace.createElement("li", { className: css(styles$h.tabsItem, eventKey === localActiveKey && styles$h.modifiers.current, handleTabClose && styles$h.modifiers.action, handleTabClose && (isDisabled || isAriaDisabled) && styles$h.modifiers.disabled, childClassName), role: "presentation" },
19103
+ const tabButton = (React__namespace.createElement(TabButton, Object.assign({ parentInnerRef: innerRef, className: css(styles$f.tabsLink, isDisabled && href && styles$f.modifiers.disabled, isAriaDisabled && styles$f.modifiers.ariaDisabled), disabled: isButtonElement ? isDisabled : null, "aria-disabled": isDisabled || isAriaDisabled, tabIndex: getDefaultTabIdx(), onClick: (event) => handleTabClick(event, eventKey, tabContentRef) }, (isAriaDisabled ? preventedEvents : null), { id: `pf-tab-${eventKey}-${childId || uniqueId}`, "aria-controls": ariaControls, tabContentRef: tabContentRef, ouiaId: childOuiaId, href: href, role: "tab", "aria-selected": eventKey === localActiveKey }, props), title));
19104
+ return (React__namespace.createElement("li", { className: css(styles$f.tabsItem, eventKey === localActiveKey && styles$f.modifiers.current, handleTabClose && styles$f.modifiers.action, handleTabClose && (isDisabled || isAriaDisabled) && styles$f.modifiers.disabled, childClassName), role: "presentation" },
18922
19105
  tooltip ? React__namespace.createElement(Tooltip, Object.assign({}, tooltip.props), tabButton) : tabButton,
18923
- handleTabClose !== undefined && (React__namespace.createElement("span", { className: css(styles$h.tabsItemClose) },
19106
+ handleTabClose !== undefined && (React__namespace.createElement("span", { className: css(styles$f.tabsItemClose) },
18924
19107
  React__namespace.createElement(Button, { variant: "plain", "aria-label": closeButtonAriaLabel || 'Close tab', onClick: (event) => handleTabClose(event, eventKey, tabContentRef), isDisabled: isCloseDisabled },
18925
- React__namespace.createElement("span", { className: css(styles$h.tabsItemCloseIcon) },
19108
+ React__namespace.createElement("span", { className: css(styles$f.tabsItemCloseIcon) },
18926
19109
  React__namespace.createElement(TimesIcon$1, null)))))));
18927
19110
  };
18928
19111
  const Tab = React__namespace.forwardRef((props, ref) => React__namespace.createElement(TabBase, Object.assign({ innerRef: ref }, props)));
@@ -18942,7 +19125,7 @@
18942
19125
  var PlusIcon$1 = PlusIcon;
18943
19126
 
18944
19127
  Promise.resolve().then(function () { return tabContent; });
18945
- var styles$g = {
19128
+ var styles$e = {
18946
19129
  "modifiers": {
18947
19130
  "light_300": "pf-m-light-300",
18948
19131
  "padding": "pf-m-padding"
@@ -18953,7 +19136,7 @@
18953
19136
 
18954
19137
  const variantStyle$1 = {
18955
19138
  default: '',
18956
- light300: styles$g.modifiers.light_300
19139
+ light300: styles$e.modifiers.light_300
18957
19140
  };
18958
19141
  const TabContentBase = (_a) => {
18959
19142
  var { id, activeKey, 'aria-label': ariaLabel, child, children, className, eventKey, innerRef, ouiaId, ouiaSafe } = _a, props = __rest$1(_a, ["id", "activeKey", 'aria-label', "child", "children", "className", "eventKey", "innerRef", "ouiaId", "ouiaSafe"]);
@@ -18980,7 +19163,7 @@
18980
19163
  })(exports.TabsComponent || (exports.TabsComponent = {}));
18981
19164
  const variantStyle = {
18982
19165
  default: '',
18983
- light300: styles$h.modifiers.colorSchemeLight_300
19166
+ light300: styles$f.modifiers.colorSchemeLight_300
18984
19167
  };
18985
19168
  class Tabs extends React__namespace.Component {
18986
19169
  constructor(props) {
@@ -19152,19 +19335,19 @@
19152
19335
  handleTabClick: (...args) => this.handleTabClick(...args),
19153
19336
  handleTabClose: onClose
19154
19337
  } },
19155
- React__namespace.createElement(Component, Object.assign({ "aria-label": ariaLabel, className: css(styles$h.tabs, isFilled && styles$h.modifiers.fill, isSecondary && styles$h.modifiers.secondary, isVertical && styles$h.modifiers.vertical, isVertical && expandable && formatBreakpointMods(expandable, styles$h), isVertical && expandable && isExpandedLocal && styles$h.modifiers.expanded, isBox && styles$h.modifiers.box, showScrollButtons && !isVertical && styles$h.modifiers.scrollable, usePageInsets && styles$h.modifiers.pageInsets, !hasBorderBottom && styles$h.modifiers.noBorderBottom, hasSecondaryBorderBottom && styles$h.modifiers.borderBottom, formatBreakpointMods(inset, styles$h), variantStyle[variant], className) }, getOUIAProps(Tabs.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), { id: id && id }, props),
19156
- expandable && isVertical && (React__namespace.createElement(GenerateId, null, randomId => (React__namespace.createElement("div", { className: css(styles$h.tabsToggle) },
19157
- React__namespace.createElement("div", { className: css(styles$h.tabsToggleButton) },
19338
+ React__namespace.createElement(Component, Object.assign({ "aria-label": ariaLabel, className: css(styles$f.tabs, isFilled && styles$f.modifiers.fill, isSecondary && styles$f.modifiers.secondary, isVertical && styles$f.modifiers.vertical, isVertical && expandable && formatBreakpointMods(expandable, styles$f), isVertical && expandable && isExpandedLocal && styles$f.modifiers.expanded, isBox && styles$f.modifiers.box, showScrollButtons && !isVertical && styles$f.modifiers.scrollable, usePageInsets && styles$f.modifiers.pageInsets, !hasBorderBottom && styles$f.modifiers.noBorderBottom, hasSecondaryBorderBottom && styles$f.modifiers.borderBottom, formatBreakpointMods(inset, styles$f), variantStyle[variant], className) }, getOUIAProps(Tabs.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), { id: id && id }, props),
19339
+ expandable && isVertical && (React__namespace.createElement(GenerateId, null, randomId => (React__namespace.createElement("div", { className: css(styles$f.tabsToggle) },
19340
+ React__namespace.createElement("div", { className: css(styles$f.tabsToggleButton) },
19158
19341
  React__namespace.createElement(Button, { onClick: () => toggleTabs(!isExpandedLocal), variant: "plain", "aria-label": toggleAriaLabel, "aria-expanded": isExpandedLocal, id: `${randomId}-button`, "aria-labelledby": `${randomId}-text ${randomId}-button` },
19159
- React__namespace.createElement("span", { className: css(styles$h.tabsToggleIcon) },
19342
+ React__namespace.createElement("span", { className: css(styles$f.tabsToggleIcon) },
19160
19343
  React__namespace.createElement(AngleRightIcon$1, { "arian-hidden": "true" })),
19161
19344
  toggleText && (React__namespace.createElement("span", { className: css('pf-c-tabs__toggle-text'), id: `${randomId}-text` }, toggleText)))))))),
19162
- React__namespace.createElement("button", { className: css(styles$h.tabsScrollButton, isSecondary && buttonStyles.modifiers.secondary), "aria-label": leftScrollAriaLabel, onClick: this.scrollLeft, disabled: disableLeftScrollButton, "aria-hidden": disableLeftScrollButton },
19345
+ React__namespace.createElement("button", { className: css(styles$f.tabsScrollButton, isSecondary && buttonStyles.modifiers.secondary), "aria-label": leftScrollAriaLabel, onClick: this.scrollLeft, disabled: disableLeftScrollButton, "aria-hidden": disableLeftScrollButton },
19163
19346
  React__namespace.createElement(AngleLeftIcon$1, null)),
19164
- React__namespace.createElement("ul", { className: css(styles$h.tabsList), ref: this.tabList, onScroll: this.handleScrollButtons, role: "tablist" }, filteredChildren),
19165
- React__namespace.createElement("button", { className: css(styles$h.tabsScrollButton, isSecondary && buttonStyles.modifiers.secondary), "aria-label": rightScrollAriaLabel, onClick: this.scrollRight, disabled: disableRightScrollButton, "aria-hidden": disableRightScrollButton },
19347
+ React__namespace.createElement("ul", { className: css(styles$f.tabsList), ref: this.tabList, onScroll: this.handleScrollButtons, role: "tablist" }, filteredChildren),
19348
+ React__namespace.createElement("button", { className: css(styles$f.tabsScrollButton, isSecondary && buttonStyles.modifiers.secondary), "aria-label": rightScrollAriaLabel, onClick: this.scrollRight, disabled: disableRightScrollButton, "aria-hidden": disableRightScrollButton },
19166
19349
  React__namespace.createElement(AngleRightIcon$1, null)),
19167
- onAdd !== undefined && (React__namespace.createElement("span", { className: css(styles$h.tabsAdd) },
19350
+ onAdd !== undefined && (React__namespace.createElement("span", { className: css(styles$f.tabsAdd) },
19168
19351
  React__namespace.createElement(Button, { variant: "plain", "aria-label": addButtonAriaLabel || 'Add tab', onClick: onAdd },
19169
19352
  React__namespace.createElement(PlusIcon$1, null))))),
19170
19353
  filteredChildren
@@ -19196,30 +19379,31 @@
19196
19379
 
19197
19380
  const TabContentBody = (_a) => {
19198
19381
  var { children, className, hasPadding } = _a, props = __rest$1(_a, ["children", "className", "hasPadding"]);
19199
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$g.tabContentBody, hasPadding && styles$g.modifiers.padding, className) }, props), children));
19382
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$e.tabContentBody, hasPadding && styles$e.modifiers.padding, className) }, props), children));
19200
19383
  };
19201
19384
  TabContentBody.displayName = 'TabContentBody';
19202
19385
 
19203
19386
  const TabTitleText = (_a) => {
19204
19387
  var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
19205
- return (React__namespace.createElement("span", Object.assign({ className: css(styles$h.tabsItemText, className) }, props), children));
19388
+ return (React__namespace.createElement("span", Object.assign({ className: css(styles$f.tabsItemText, className) }, props), children));
19206
19389
  };
19207
19390
  TabTitleText.displayName = 'TabTitleText';
19208
19391
 
19209
19392
  const TabTitleIcon = (_a) => {
19210
19393
  var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
19211
- return (React__namespace.createElement("span", Object.assign({ className: css(styles$h.tabsItemIcon, className) }, props), children));
19394
+ return (React__namespace.createElement("span", Object.assign({ className: css(styles$f.tabsItemIcon, className) }, props), children));
19212
19395
  };
19213
19396
  TabTitleIcon.displayName = 'TabTitleIcon';
19214
19397
 
19215
19398
  Promise.resolve().then(function () { return tile; });
19216
- var styles$f = {
19399
+ var styles$d = {
19217
19400
  "modifiers": {
19218
19401
  "selected": "pf-m-selected",
19219
19402
  "disabled": "pf-m-disabled",
19220
19403
  "displayLg": "pf-m-display-lg",
19221
19404
  "stacked": "pf-m-stacked"
19222
19405
  },
19406
+ "themeDark": "pf-theme-dark",
19223
19407
  "tile": "pf-c-tile",
19224
19408
  "tileBody": "pf-c-tile__body",
19225
19409
  "tileHeader": "pf-c-tile__header",
@@ -19229,11 +19413,11 @@
19229
19413
 
19230
19414
  const Tile = (_a) => {
19231
19415
  var { children, title, icon, isStacked, isSelected, isDisabled, isDisplayLarge, className } = _a, props = __rest$1(_a, ["children", "title", "icon", "isStacked", "isSelected", "isDisabled", "isDisplayLarge", "className"]);
19232
- return (React__namespace.createElement("div", Object.assign({ role: "option", "aria-selected": isSelected }, (isDisabled && { 'aria-disabled': isDisabled }), { className: css(styles$f.tile, isSelected && styles$f.modifiers.selected, isDisabled && styles$f.modifiers.disabled, isDisplayLarge && styles$f.modifiers.displayLg, className), tabIndex: 0 }, props),
19233
- React__namespace.createElement("div", { className: css(styles$f.tileHeader, isStacked && styles$f.modifiers.stacked) },
19234
- icon && React__namespace.createElement("div", { className: css(styles$f.tileIcon) }, icon),
19235
- React__namespace.createElement("div", { className: css(styles$f.tileTitle) }, title)),
19236
- children && React__namespace.createElement("div", { className: css(styles$f.tileBody) }, children)));
19416
+ return (React__namespace.createElement("div", Object.assign({ role: "option", "aria-selected": isSelected }, (isDisabled && { 'aria-disabled': isDisabled }), { className: css(styles$d.tile, isSelected && styles$d.modifiers.selected, isDisabled && styles$d.modifiers.disabled, isDisplayLarge && styles$d.modifiers.displayLg, className), tabIndex: 0 }, props),
19417
+ React__namespace.createElement("div", { className: css(styles$d.tileHeader, isStacked && styles$d.modifiers.stacked) },
19418
+ icon && React__namespace.createElement("div", { className: css(styles$d.tileIcon) }, icon),
19419
+ React__namespace.createElement("div", { className: css(styles$d.tileTitle) }, title)),
19420
+ children && React__namespace.createElement("div", { className: css(styles$d.tileBody) }, children)));
19237
19421
  };
19238
19422
  Tile.displayName = 'Tile';
19239
19423
 
@@ -19709,12 +19893,13 @@
19709
19893
  };
19710
19894
 
19711
19895
  Promise.resolve().then(function () { return toggleGroup; });
19712
- var styles$e = {
19896
+ var styles$c = {
19713
19897
  "modifiers": {
19714
19898
  "compact": "pf-m-compact",
19715
19899
  "selected": "pf-m-selected",
19716
19900
  "disabled": "pf-m-disabled"
19717
19901
  },
19902
+ "themeDark": "pf-theme-dark",
19718
19903
  "toggleGroup": "pf-c-toggle-group",
19719
19904
  "toggleGroupButton": "pf-c-toggle-group__button",
19720
19905
  "toggleGroupIcon": "pf-c-toggle-group__icon",
@@ -19727,7 +19912,7 @@
19727
19912
  ToggleGroupItemVariant["icon"] = "icon";
19728
19913
  ToggleGroupItemVariant["text"] = "text";
19729
19914
  })(ToggleGroupItemVariant || (ToggleGroupItemVariant = {}));
19730
- const ToggleGroupItemElement = ({ variant, children }) => (React__namespace.createElement("span", { className: css(variant === 'icon' && styles$e.toggleGroupIcon, variant === 'text' && styles$e.toggleGroupText) }, children));
19915
+ const ToggleGroupItemElement = ({ variant, children }) => (React__namespace.createElement("span", { className: css(variant === 'icon' && styles$c.toggleGroupIcon, variant === 'text' && styles$c.toggleGroupText) }, children));
19731
19916
  ToggleGroupItemElement.displayName = 'ToggleGroupItemElement';
19732
19917
 
19733
19918
  const ToggleGroupItem = (_a) => {
@@ -19739,8 +19924,8 @@
19739
19924
  /* eslint-disable no-console */
19740
19925
  console.warn('An accessible aria-label is required when using the toggle group item icon variant.');
19741
19926
  }
19742
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$e.toggleGroupItem, className) }, props),
19743
- React__namespace.createElement("button", Object.assign({ type: "button", className: css(styles$e.toggleGroupButton, isSelected && styles$e.modifiers.selected), "aria-pressed": isSelected, onClick: handleChange }, (ariaLabel && { 'aria-label': ariaLabel }), (isDisabled && { disabled: true }), (buttonId && { id: buttonId })),
19927
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$c.toggleGroupItem, className) }, props),
19928
+ React__namespace.createElement("button", Object.assign({ type: "button", className: css(styles$c.toggleGroupButton, isSelected && styles$c.modifiers.selected), "aria-pressed": isSelected, onClick: handleChange }, (ariaLabel && { 'aria-label': ariaLabel }), (isDisabled && { disabled: true }), (buttonId && { id: buttonId })),
19744
19929
  icon ? React__namespace.createElement(ToggleGroupItemElement, { variant: ToggleGroupItemVariant.icon }, icon) : null,
19745
19930
  text ? React__namespace.createElement(ToggleGroupItemElement, { variant: ToggleGroupItemVariant.text }, text) : null)));
19746
19931
  };
@@ -19754,12 +19939,12 @@
19754
19939
  ? child
19755
19940
  : React__namespace.cloneElement(child, areAllGroupsDisabled ? { isDisabled: true } : {});
19756
19941
  });
19757
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$e.toggleGroup, isCompact && styles$e.modifiers.compact, className), role: "group", "aria-label": ariaLabel }, props), toggleGroupItemList));
19942
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$c.toggleGroup, isCompact && styles$c.modifiers.compact, className), role: "group", "aria-label": ariaLabel }, props), toggleGroupItemList));
19758
19943
  };
19759
19944
  ToggleGroup.displayName = 'ToggleGroup';
19760
19945
 
19761
19946
  Promise.resolve().then(function () { return toolbar; });
19762
- var styles$d = {
19947
+ var styles$b = {
19763
19948
  "button": "pf-c-button",
19764
19949
  "chipGroup": "pf-c-chip-group",
19765
19950
  "divider": "pf-c-divider",
@@ -19955,7 +20140,7 @@
19955
20140
  const ToolbarItem = (_a) => {
19956
20141
  var { className, variant, visibility, visiblity, alignment, spacer, widths, id, children, isAllExpanded } = _a, props = __rest$1(_a, ["className", "variant", "visibility", "visiblity", "alignment", "spacer", "widths", "id", "children", "isAllExpanded"]);
19957
20142
  if (variant === exports.ToolbarItemVariant.separator) {
19958
- return React__namespace.createElement(Divider, Object.assign({ className: css(styles$d.modifiers.vertical, className) }, props));
20143
+ return React__namespace.createElement(Divider, Object.assign({ className: css(styles$b.modifiers.vertical, className) }, props));
19959
20144
  }
19960
20145
  if (visiblity !== undefined) {
19961
20146
  // eslint-disable-next-line no-console
@@ -19966,8 +20151,8 @@
19966
20151
  if (widths) {
19967
20152
  Object.entries(widths || {}).map(([breakpoint, value]) => (widthStyles[`--pf-c-toolbar__item--Width${breakpoint !== 'default' ? `-on-${breakpoint}` : ''}`] = value));
19968
20153
  }
19969
- return (React__namespace.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React__namespace.createElement("div", Object.assign({ className: css(styles$d.toolbarItem, variant &&
19970
- styles$d.modifiers[toCamel(variant)], isAllExpanded && styles$d.modifiers.expanded, formatBreakpointMods(visibility || visiblity, styles$d, '', getBreakpoint(width)), formatBreakpointMods(alignment, styles$d, '', getBreakpoint(width)), formatBreakpointMods(spacer, styles$d, '', getBreakpoint(width)), className) }, (variant === 'label' && { 'aria-hidden': true }), { id: id }, props, (widths && { style: Object.assign(Object.assign({}, widthStyles), props.style) })), children))));
20154
+ return (React__namespace.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React__namespace.createElement("div", Object.assign({ className: css(styles$b.toolbarItem, variant &&
20155
+ styles$b.modifiers[toCamel(variant)], isAllExpanded && styles$b.modifiers.expanded, formatBreakpointMods(visibility || visiblity, styles$b, '', getBreakpoint(width)), formatBreakpointMods(alignment, styles$b, '', getBreakpoint(width)), formatBreakpointMods(spacer, styles$b, '', getBreakpoint(width)), className) }, (variant === 'label' && { 'aria-hidden': true }), { id: id }, props, (widths && { style: Object.assign(Object.assign({}, widthStyles), props.style) })), children))));
19971
20156
  };
19972
20157
  ToolbarItem.displayName = 'ToolbarItem';
19973
20158
 
@@ -19985,7 +20170,7 @@
19985
20170
  console.warn('The ToolbarGroup visiblity prop has been deprecated. ' +
19986
20171
  'Please use the correctly spelled visibility prop instead.');
19987
20172
  }
19988
- return (React__namespace.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React__namespace.createElement("div", Object.assign({ className: css(styles$d.toolbarGroup, variant && styles$d.modifiers[toCamel(variant)], formatBreakpointMods(visibility || visiblity, styles$d, '', getBreakpoint(width)), formatBreakpointMods(alignment, styles$d, '', getBreakpoint(width)), formatBreakpointMods(spacer, styles$d, '', getBreakpoint(width)), formatBreakpointMods(spaceItems, styles$d, '', getBreakpoint(width)), className) }, props, { ref: innerRef }), children))));
20173
+ return (React__namespace.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React__namespace.createElement("div", Object.assign({ className: css(styles$b.toolbarGroup, variant && styles$b.modifiers[toCamel(variant)], formatBreakpointMods(visibility || visiblity, styles$b, '', getBreakpoint(width)), formatBreakpointMods(alignment, styles$b, '', getBreakpoint(width)), formatBreakpointMods(spacer, styles$b, '', getBreakpoint(width)), formatBreakpointMods(spaceItems, styles$b, '', getBreakpoint(width)), className) }, props, { ref: innerRef }), children))));
19989
20174
  }
19990
20175
  }
19991
20176
  const ToolbarGroup = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(ToolbarGroupWithRef, Object.assign({}, props, { innerRef: ref }))));
@@ -20004,8 +20189,8 @@
20004
20189
  collapseListedFilters =
20005
20190
  (canUseDOM ? window.innerWidth : 1200) < globalBreakpoints[collapseListedFiltersBreakpoint];
20006
20191
  }
20007
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$d.toolbarContent, (numberOfFilters === 0 || isExpanded) && styles$d.modifiers.hidden, className) }, ((numberOfFilters === 0 || isExpanded) && { hidden: true }), { ref: chipGroupContentRef }, props),
20008
- React__namespace.createElement(ToolbarGroup, Object.assign({ className: css(collapseListedFilters && styles$d.modifiers.hidden) }, (collapseListedFilters && { hidden: true }), (collapseListedFilters && { 'aria-hidden': true }))),
20192
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$b.toolbarContent, (numberOfFilters === 0 || isExpanded) && styles$b.modifiers.hidden, className) }, ((numberOfFilters === 0 || isExpanded) && { hidden: true }), { ref: chipGroupContentRef }, props),
20193
+ React__namespace.createElement(ToolbarGroup, Object.assign({ className: css(collapseListedFilters && styles$b.modifiers.hidden) }, (collapseListedFilters && { hidden: true }), (collapseListedFilters && { 'aria-hidden': true }))),
20009
20194
  collapseListedFilters && numberOfFilters > 0 && !isExpanded && (React__namespace.createElement(ToolbarGroup, null,
20010
20195
  React__namespace.createElement(ToolbarItem, null, numberOfFiltersText(numberOfFilters)))),
20011
20196
  showClearFiltersButton && !isExpanded && !customChipGroupContent && (React__namespace.createElement(ToolbarItem, null,
@@ -20061,7 +20246,7 @@
20061
20246
  const isExpanded = isToggleManaged ? isManagedToggleExpanded : isExpandedProp;
20062
20247
  const numberOfFilters = this.getNumberOfFilters();
20063
20248
  const showClearFiltersButton = numberOfFilters > 0;
20064
- return (React__namespace.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React__namespace.createElement("div", Object.assign({ className: css(styles$d.toolbar, isFullHeight && styles$d.modifiers.fullHeight, isStatic && styles$d.modifiers.static, usePageInsets && styles$d.modifiers.pageInsets, isSticky && styles$d.modifiers.sticky, formatBreakpointMods(inset, styles$d, '', getBreakpoint(width)), className), id: randomId }, getOUIAProps(Toolbar.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId), props),
20249
+ return (React__namespace.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React__namespace.createElement("div", Object.assign({ className: css(styles$b.toolbar, isFullHeight && styles$b.modifiers.fullHeight, isStatic && styles$b.modifiers.static, usePageInsets && styles$b.modifiers.pageInsets, isSticky && styles$b.modifiers.sticky, formatBreakpointMods(inset, styles$b, '', getBreakpoint(width)), className), id: randomId }, getOUIAProps(Toolbar.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId), props),
20065
20250
  React__namespace.createElement(ToolbarContext.Provider, { value: {
20066
20251
  isExpanded,
20067
20252
  toggleIsExpanded: isToggleManaged ? this.toggleIsExpanded : toggleIsExpanded,
@@ -20103,9 +20288,9 @@
20103
20288
  const clearChipGroups = () => {
20104
20289
  clearAllFilters();
20105
20290
  };
20106
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$d.toolbarExpandableContent, className), ref: expandableContentRef }, props),
20291
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$b.toolbarExpandableContent, className), ref: expandableContentRef }, props),
20107
20292
  React__namespace.createElement(ToolbarGroup, null),
20108
- numberOfFilters > 0 && (React__namespace.createElement(ToolbarGroup, { className: styles$d.modifiers.chipContainer },
20293
+ numberOfFilters > 0 && (React__namespace.createElement(ToolbarGroup, { className: styles$b.modifiers.chipContainer },
20109
20294
  React__namespace.createElement(ToolbarGroup, { ref: chipContainerRef }),
20110
20295
  showClearFiltersButton && !customChipGroupContent && (React__namespace.createElement(ToolbarItem, null,
20111
20296
  React__namespace.createElement(Button, { variant: "link", onClick: clearChipGroups, isInline: true }, clearFiltersButtonText))),
@@ -20132,7 +20317,7 @@
20132
20317
  console.warn('The ToolbarContent visiblity prop has been deprecated. ' +
20133
20318
  'Please use the correctly spelled visibility prop instead.');
20134
20319
  }
20135
- return (React__namespace.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React__namespace.createElement("div", Object.assign({ className: css(styles$d.toolbarContent, formatBreakpointMods(visibility || visiblity, styles$d, '', getBreakpoint(width)), formatBreakpointMods(alignment, styles$d, '', getBreakpoint(width)), className) }, props),
20320
+ return (React__namespace.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React__namespace.createElement("div", Object.assign({ className: css(styles$b.toolbarContent, formatBreakpointMods(visibility || visiblity, styles$b, '', getBreakpoint(width)), formatBreakpointMods(alignment, styles$b, '', getBreakpoint(width)), className) }, props),
20136
20321
  React__namespace.createElement(ToolbarContext.Consumer, null, ({ clearAllFilters: clearAllFiltersContext, clearFiltersButtonText: clearFiltersButtonContext, showClearFiltersButton: showClearFiltersButtonContext, toolbarId: toolbarIdContext }) => {
20137
20322
  const expandableContentId = `${toolbarId ||
20138
20323
  toolbarIdContext}-expandable-content-${ToolbarContent.currentId++}`;
@@ -20141,7 +20326,7 @@
20141
20326
  expandableContentId,
20142
20327
  chipContainerRef: this.chipContainerRef
20143
20328
  } },
20144
- React__namespace.createElement("div", { className: css(styles$d.toolbarContentSection) }, children),
20329
+ React__namespace.createElement("div", { className: css(styles$b.toolbarContentSection) }, children),
20145
20330
  React__namespace.createElement(ToolbarExpandableContent, { id: expandableContentId, isExpanded: isExpanded, expandableContentRef: this.expandableContentRef, chipContainerRef: this.chipContainerRef, clearAllFilters: clearAllFilters || clearAllFiltersContext, showClearFiltersButton: showClearFiltersButton || showClearFiltersButtonContext, clearFiltersButtonText: clearFiltersButtonText || clearFiltersButtonContext })));
20146
20331
  })))));
20147
20332
  }
@@ -20155,7 +20340,7 @@
20155
20340
 
20156
20341
  const ToolbarExpandIconWrapper = (_a) => {
20157
20342
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
20158
- return (React__namespace.createElement("span", Object.assign({}, props, { className: css(styles$d.toolbarExpandAllIcon, className) }), children));
20343
+ return (React__namespace.createElement("span", Object.assign({}, props, { className: css(styles$b.toolbarExpandAllIcon, className) }), children));
20159
20344
  };
20160
20345
  ToolbarExpandIconWrapper.displayName = 'ToolbarExpandIconWrapper';
20161
20346
 
@@ -20227,17 +20412,17 @@
20227
20412
  return (React__namespace.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React__namespace.createElement(ToolbarContext.Consumer, null, ({ isExpanded, toggleIsExpanded }) => (React__namespace.createElement(ToolbarContentContext.Consumer, null, ({ expandableContentRef, expandableContentId }) => {
20228
20413
  if (expandableContentRef.current && expandableContentRef.current.classList) {
20229
20414
  if (isExpanded) {
20230
- expandableContentRef.current.classList.add(styles$d.modifiers.expanded);
20415
+ expandableContentRef.current.classList.add(styles$b.modifiers.expanded);
20231
20416
  }
20232
20417
  else {
20233
- expandableContentRef.current.classList.remove(styles$d.modifiers.expanded);
20418
+ expandableContentRef.current.classList.remove(styles$b.modifiers.expanded);
20234
20419
  }
20235
20420
  }
20236
20421
  const breakpointMod = {};
20237
20422
  breakpointMod[breakpoint] = 'show';
20238
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$d.toolbarGroup, styles$d.modifiers.toggleGroup, variant &&
20239
- styles$d.modifiers[toCamel(variant)], formatBreakpointMods(breakpointMod, styles$d, '', getBreakpoint(width)), formatBreakpointMods(visibility || visiblity, styles$d, '', getBreakpoint(width)), formatBreakpointMods(alignment, styles$d, '', getBreakpoint(width)), formatBreakpointMods(spacer, styles$d, '', getBreakpoint(width)), formatBreakpointMods(spaceItems, styles$d, '', getBreakpoint(width)), className) }, props),
20240
- React__namespace.createElement("div", { className: css(styles$d.toolbarToggle) },
20423
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$b.toolbarGroup, styles$b.modifiers.toggleGroup, variant &&
20424
+ styles$b.modifiers[toCamel(variant)], formatBreakpointMods(breakpointMod, styles$b, '', getBreakpoint(width)), formatBreakpointMods(visibility || visiblity, styles$b, '', getBreakpoint(width)), formatBreakpointMods(alignment, styles$b, '', getBreakpoint(width)), formatBreakpointMods(spacer, styles$b, '', getBreakpoint(width)), formatBreakpointMods(spaceItems, styles$b, '', getBreakpoint(width)), className) }, props),
20425
+ React__namespace.createElement("div", { className: css(styles$b.toolbarToggle) },
20241
20426
  React__namespace.createElement(Button, Object.assign({ variant: "plain", onClick: toggleIsExpanded, "aria-label": "Show Filters" }, (isExpanded && { 'aria-expanded': true }), { "aria-haspopup": isExpanded && this.isContentPopup(), "aria-controls": expandableContentId }), toggleIcon)),
20242
20427
  isExpanded
20243
20428
  ? ReactDOM__namespace.createPortal(children, expandableContentRef.current.firstElementChild)
@@ -20248,7 +20433,7 @@
20248
20433
  ToolbarToggleGroup.displayName = 'ToolbarToggleGroup';
20249
20434
 
20250
20435
  Promise.resolve().then(function () { return numberInput; });
20251
- var styles$c = {
20436
+ var styles$a = {
20252
20437
  "formControl": "pf-c-form-control",
20253
20438
  "inputGroup": "pf-c-input-group",
20254
20439
  "numberInput": "pf-c-number-input",
@@ -20268,19 +20453,19 @@
20268
20453
  };
20269
20454
  const NumberInput = (_a) => {
20270
20455
  var { value = 0, className, widthChars, isDisabled = false, onMinus = () => { }, onChange, onBlur, onPlus = () => { }, unit, unitPosition = 'after', min, max, inputName, inputAriaLabel = 'Input', minusBtnAriaLabel = 'Minus', plusBtnAriaLabel = 'Plus', inputProps, minusBtnProps, plusBtnProps } = _a, props = __rest$1(_a, ["value", "className", "widthChars", "isDisabled", "onMinus", "onChange", "onBlur", "onPlus", "unit", "unitPosition", "min", "max", "inputName", "inputAriaLabel", "minusBtnAriaLabel", "plusBtnAriaLabel", "inputProps", "minusBtnProps", "plusBtnProps"]);
20271
- const numberInputUnit = React__namespace.createElement("div", { className: css(styles$c.numberInputUnit) }, unit);
20456
+ const numberInputUnit = React__namespace.createElement("div", { className: css(styles$a.numberInputUnit) }, unit);
20272
20457
  const keyDownHandler = inputProps && inputProps.onKeyDown ? inputProps.onKeyDown : defaultKeyDownHandler({ inputName, onMinus, onPlus });
20273
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$c.numberInput, className) }, (widthChars && {
20458
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$a.numberInput, className) }, (widthChars && {
20274
20459
  style: Object.assign({ '--pf-c-number-input--c-form-control--width-chars': widthChars }, props.style)
20275
20460
  }), props),
20276
20461
  unit && unitPosition === 'before' && numberInputUnit,
20277
20462
  React__namespace.createElement(InputGroup, null,
20278
20463
  React__namespace.createElement(Button, Object.assign({ variant: "control", "aria-label": minusBtnAriaLabel, isDisabled: isDisabled || value <= min, onClick: evt => onMinus(evt, inputName) }, minusBtnProps),
20279
- React__namespace.createElement("span", { className: css(styles$c.numberInputIcon) },
20464
+ React__namespace.createElement("span", { className: css(styles$a.numberInputIcon) },
20280
20465
  React__namespace.createElement(MinusIcon$1, { "aria-hidden": "true" }))),
20281
- React__namespace.createElement("input", Object.assign({ className: css(styles$c.formControl), type: "number", value: value, name: inputName, "aria-label": inputAriaLabel }, (isDisabled && { disabled: isDisabled }), (onChange && { onChange }), (onBlur && { onBlur }), (!onChange && { readOnly: true }), inputProps, { onKeyDown: keyDownHandler })),
20466
+ React__namespace.createElement("input", Object.assign({ className: css(styles$a.formControl), type: "number", value: value, name: inputName, "aria-label": inputAriaLabel }, (isDisabled && { disabled: isDisabled }), (onChange && { onChange }), (onBlur && { onBlur }), (!onChange && { readOnly: true }), inputProps, { onKeyDown: keyDownHandler })),
20282
20467
  React__namespace.createElement(Button, Object.assign({ variant: "control", "aria-label": plusBtnAriaLabel, isDisabled: isDisabled || value >= max, onClick: evt => onPlus(evt, inputName) }, plusBtnProps),
20283
- React__namespace.createElement("span", { className: css(styles$c.numberInputIcon) },
20468
+ React__namespace.createElement("span", { className: css(styles$a.numberInputIcon) },
20284
20469
  React__namespace.createElement(PlusIcon$1, { "aria-hidden": "true" })))),
20285
20470
  unit && unitPosition === 'after' && numberInputUnit));
20286
20471
  };
@@ -20297,7 +20482,7 @@
20297
20482
  TreeViewList.displayName = 'TreeViewList';
20298
20483
 
20299
20484
  Promise.resolve().then(function () { return treeView; });
20300
- var styles$b = {
20485
+ var styles$9 = {
20301
20486
  "badge": "pf-c-badge",
20302
20487
  "modifiers": {
20303
20488
  "compact": "pf-m-compact",
@@ -20308,6 +20493,7 @@
20308
20493
  "read": "pf-m-read",
20309
20494
  "truncate": "pf-m-truncate"
20310
20495
  },
20496
+ "themeDark": "pf-theme-dark",
20311
20497
  "treeView": "pf-c-tree-view",
20312
20498
  "treeViewAction": "pf-c-tree-view__action",
20313
20499
  "treeViewContent": "pf-c-tree-view__content",
@@ -20341,36 +20527,36 @@
20341
20527
  }, [isExpanded, defaultExpanded]);
20342
20528
  const Component = hasCheck ? 'div' : 'button';
20343
20529
  const ToggleComponent = hasCheck ? 'button' : 'div';
20344
- const renderToggle = (randomId) => (React__default["default"].createElement(ToggleComponent, Object.assign({ className: css(styles$b.treeViewNodeToggle), onClick: () => {
20530
+ const renderToggle = (randomId) => (React__default["default"].createElement(ToggleComponent, Object.assign({ className: css(styles$9.treeViewNodeToggle), onClick: () => {
20345
20531
  if (hasCheck) {
20346
20532
  setIsExpanded(!internalIsExpanded);
20347
20533
  }
20348
20534
  } }, (hasCheck && { 'aria-labelledby': `label-${randomId}` }), { tabIndex: -1 }),
20349
- React__default["default"].createElement("span", { className: css(styles$b.treeViewNodeToggleIcon) },
20535
+ React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeToggleIcon) },
20350
20536
  React__default["default"].createElement(AngleRightIcon$1, { "aria-hidden": "true" }))));
20351
- const renderCheck = (randomId) => (React__default["default"].createElement("span", { className: css(styles$b.treeViewNodeCheck) },
20537
+ const renderCheck = (randomId) => (React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeCheck) },
20352
20538
  React__default["default"].createElement("input", Object.assign({ type: "checkbox", onChange: (evt) => onCheck && onCheck(evt, itemData, parentItem), onClick: (evt) => evt.stopPropagation(), ref: elem => elem && (elem.indeterminate = checkProps.checked === null) }, checkProps, { checked: checkProps.checked === null ? false : checkProps.checked, id: randomId, tabIndex: -1 }))));
20353
- const iconRendered = (React__default["default"].createElement("span", { className: css(styles$b.treeViewNodeIcon) },
20539
+ const iconRendered = (React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeIcon) },
20354
20540
  !internalIsExpanded && icon,
20355
20541
  internalIsExpanded && (expandedIcon || icon)));
20356
20542
  const renderNodeContent = (randomId) => {
20357
20543
  const content = (React__default["default"].createElement(React__default["default"].Fragment, null,
20358
- isCompact && title && React__default["default"].createElement("span", { className: css(styles$b.treeViewNodeTitle) }, title),
20359
- hasCheck ? (React__default["default"].createElement("label", { className: css(styles$b.treeViewNodeText), htmlFor: randomId, id: `label-${randomId}` }, name)) : (React__default["default"].createElement("span", { className: css(styles$b.treeViewNodeText) }, name))));
20360
- return isCompact ? React__default["default"].createElement("div", { className: css(styles$b.treeViewNodeContent) }, content) : content;
20544
+ isCompact && title && React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeTitle) }, title),
20545
+ hasCheck ? (React__default["default"].createElement("label", { className: css(styles$9.treeViewNodeText), htmlFor: randomId, id: `label-${randomId}` }, name)) : (React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeText) }, name))));
20546
+ return isCompact ? React__default["default"].createElement("div", { className: css(styles$9.treeViewNodeContent) }, content) : content;
20361
20547
  };
20362
20548
  const badgeRendered = (React__default["default"].createElement(React__default["default"].Fragment, null,
20363
- hasBadge && children && (React__default["default"].createElement("span", { className: css(styles$b.treeViewNodeCount) },
20549
+ hasBadge && children && (React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeCount) },
20364
20550
  React__default["default"].createElement(Badge, Object.assign({}, badgeProps), customBadgeContent ? customBadgeContent : children.props.data.length))),
20365
- hasBadge && !children && customBadgeContent !== undefined && (React__default["default"].createElement("span", { className: css(styles$b.treeViewNodeCount) },
20551
+ hasBadge && !children && customBadgeContent !== undefined && (React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeCount) },
20366
20552
  React__default["default"].createElement(Badge, Object.assign({}, badgeProps), customBadgeContent)))));
20367
- return (React__default["default"].createElement("li", Object.assign({ id: id, className: css(styles$b.treeViewListItem, internalIsExpanded && styles$b.modifiers.expanded) }, (internalIsExpanded && { 'aria-expanded': 'true' }), { role: "treeitem", tabIndex: -1 }),
20368
- React__default["default"].createElement("div", { className: css(styles$b.treeViewContent) },
20369
- React__default["default"].createElement(GenerateId, { prefix: "checkbox-id" }, randomId => (React__default["default"].createElement(Component, { className: css(styles$b.treeViewNode, !children &&
20553
+ return (React__default["default"].createElement("li", Object.assign({ id: id, className: css(styles$9.treeViewListItem, internalIsExpanded && styles$9.modifiers.expanded) }, (internalIsExpanded && { 'aria-expanded': 'true' }), { role: "treeitem", tabIndex: -1 }),
20554
+ React__default["default"].createElement("div", { className: css(styles$9.treeViewContent) },
20555
+ React__default["default"].createElement(GenerateId, { prefix: "checkbox-id" }, randomId => (React__default["default"].createElement(Component, { className: css(styles$9.treeViewNode, !children &&
20370
20556
  activeItems &&
20371
20557
  activeItems.length > 0 &&
20372
20558
  activeItems.some(item => compareItems && item && compareItems(item, itemData))
20373
- ? styles$b.modifiers.current
20559
+ ? styles$9.modifiers.current
20374
20560
  : ''), onClick: (evt) => {
20375
20561
  if (!hasCheck) {
20376
20562
  onSelect && onSelect(evt, itemData, parentItem);
@@ -20379,13 +20565,13 @@
20379
20565
  }
20380
20566
  }
20381
20567
  }, tabIndex: -1 },
20382
- React__default["default"].createElement("div", { className: css(styles$b.treeViewNodeContainer) },
20568
+ React__default["default"].createElement("div", { className: css(styles$9.treeViewNodeContainer) },
20383
20569
  children && renderToggle(randomId),
20384
20570
  hasCheck && renderCheck(randomId),
20385
20571
  icon && iconRendered,
20386
20572
  renderNodeContent(randomId),
20387
20573
  badgeRendered)))),
20388
- action && React__default["default"].createElement("div", { className: css(styles$b.treeViewAction) }, action)),
20574
+ action && React__default["default"].createElement("div", { className: css(styles$9.treeViewAction) }, action)),
20389
20575
  internalIsExpanded && children));
20390
20576
  };
20391
20577
  const TreeViewListItem = React__default["default"].memo(TreeViewListItemBase, (prevProps, nextProps) => {
@@ -20519,8 +20705,8 @@
20519
20705
  };
20520
20706
  this.variantStyleModifiers = {
20521
20707
  default: '',
20522
- compact: styles$b.modifiers.compact,
20523
- compactNoBackground: [styles$b.modifiers.compact, styles$b.modifiers.noBackground]
20708
+ compact: styles$9.modifiers.compact,
20709
+ compactNoBackground: [styles$9.modifiers.compact, styles$9.modifiers.noBackground]
20524
20710
  };
20525
20711
  }
20526
20712
  componentDidMount() {
@@ -20549,7 +20735,7 @@
20549
20735
  render() {
20550
20736
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
20551
20737
  const _a = this.props, { children, hasChecks, hasGuides, variant, className } = _a, props = __rest$1(_a, ["children", "hasChecks", "hasGuides", "variant", "className"]);
20552
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$b.treeView, hasGuides && styles$b.modifiers.guides, this.variantStyleModifiers[variant], className), ref: this.treeRef }, props), children));
20738
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$9.treeView, hasGuides && styles$9.modifiers.guides, this.variantStyleModifiers[variant], className), ref: this.treeRef }, props), children));
20553
20739
  }
20554
20740
  }
20555
20741
 
@@ -20567,13 +20753,13 @@
20567
20753
 
20568
20754
  const TreeViewSearch = (_a) => {
20569
20755
  var { className, onSearch, id, name, 'aria-label': ariaLabel } = _a, props = __rest$1(_a, ["className", "onSearch", "id", "name", 'aria-label']);
20570
- return (React__namespace.createElement("div", { className: css(styles$b.treeViewSearch, className) },
20756
+ return (React__namespace.createElement("div", { className: css(styles$9.treeViewSearch, className) },
20571
20757
  React__namespace.createElement("input", Object.assign({ className: css(formStyles.formControl, formStyles.modifiers.search), onChange: onSearch, id: id, name: name, "aria-label": ariaLabel, type: "search" }, props))));
20572
20758
  };
20573
20759
  TreeViewSearch.displayName = 'TreeViewSearch';
20574
20760
 
20575
20761
  Promise.resolve().then(function () { return wizard; });
20576
- var styles$a = {
20762
+ var styles$8 = {
20577
20763
  "button": "pf-c-button",
20578
20764
  "card": "pf-c-card",
20579
20765
  "drawer": "pf-c-drawer",
@@ -20587,6 +20773,7 @@
20587
20773
  "noPadding": "pf-m-no-padding"
20588
20774
  },
20589
20775
  "pageMainWizard": "pf-c-page__main-wizard",
20776
+ "themeDark": "pf-theme-dark",
20590
20777
  "wizard": "pf-c-wizard",
20591
20778
  "wizardClose": "pf-c-wizard__close",
20592
20779
  "wizardDescription": "pf-c-wizard__description",
@@ -20613,17 +20800,17 @@
20613
20800
  "wizardToggleSeparator": "pf-c-wizard__toggle-separator"
20614
20801
  };
20615
20802
 
20616
- const WizardFooterInternal = ({ onNext, onBack, onClose, isValid, firstStep, activeStep, nextButtonText, backButtonText, cancelButtonText }) => (React__namespace.createElement("footer", { className: css(styles$a.wizardFooter) },
20803
+ const WizardFooterInternal = ({ onNext, onBack, onClose, isValid, firstStep, activeStep, nextButtonText, backButtonText, cancelButtonText }) => (React__namespace.createElement("footer", { className: css(styles$8.wizardFooter) },
20617
20804
  React__namespace.createElement(Button, { variant: exports.ButtonVariant.primary, type: "submit", onClick: onNext, isDisabled: !isValid }, nextButtonText),
20618
20805
  !activeStep.hideBackButton && (React__namespace.createElement(Button, { variant: exports.ButtonVariant.secondary, onClick: onBack, isDisabled: firstStep }, backButtonText)),
20619
- !activeStep.hideCancelButton && (React__namespace.createElement("div", { className: styles$a.wizardFooterCancel },
20806
+ !activeStep.hideCancelButton && (React__namespace.createElement("div", { className: styles$8.wizardFooterCancel },
20620
20807
  React__namespace.createElement(Button, { variant: exports.ButtonVariant.link, onClick: onClose }, cancelButtonText)))));
20621
20808
  WizardFooterInternal.displayName = 'WizardFooterInternal';
20622
20809
 
20623
20810
  const WizardBody = ({ children, hasNoBodyPadding = false, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, mainComponent = 'div' }) => {
20624
20811
  const MainComponent = mainComponent;
20625
- return (React__namespace.createElement(MainComponent, { "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, className: css(styles$a.wizardMain) },
20626
- React__namespace.createElement("div", { className: css(styles$a.wizardMainBody, hasNoBodyPadding && styles$a.modifiers.noPadding) }, children)));
20812
+ return (React__namespace.createElement(MainComponent, { "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, className: css(styles$8.wizardMain) },
20813
+ React__namespace.createElement("div", { className: css(styles$8.wizardMainBody, hasNoBodyPadding && styles$8.modifiers.noPadding) }, children)));
20627
20814
  };
20628
20815
  WizardBody.displayName = 'WizardBody';
20629
20816
 
@@ -20649,18 +20836,18 @@
20649
20836
  }
20650
20837
  }
20651
20838
  return (React__namespace.createElement(React__namespace.Fragment, null,
20652
- React__namespace.createElement("button", { onClick: () => onNavToggle(!isNavOpen), className: css(styles$a.wizardToggle, isNavOpen && 'pf-m-expanded'), "aria-label": ariaLabel, "aria-expanded": isNavOpen },
20653
- React__namespace.createElement("span", { className: css(styles$a.wizardToggleList) },
20654
- React__namespace.createElement("span", { className: css(styles$a.wizardToggleListItem) },
20655
- React__namespace.createElement("span", { className: css(styles$a.wizardToggleNum) }, activeStepIndex),
20839
+ React__namespace.createElement("button", { onClick: () => onNavToggle(!isNavOpen), className: css(styles$8.wizardToggle, isNavOpen && 'pf-m-expanded'), "aria-label": ariaLabel, "aria-expanded": isNavOpen },
20840
+ React__namespace.createElement("span", { className: css(styles$8.wizardToggleList) },
20841
+ React__namespace.createElement("span", { className: css(styles$8.wizardToggleListItem) },
20842
+ React__namespace.createElement("span", { className: css(styles$8.wizardToggleNum) }, activeStepIndex),
20656
20843
  " ",
20657
20844
  activeStepName,
20658
- activeStepSubName && React__namespace.createElement(AngleRightIcon$1, { className: css(styles$a.wizardToggleSeparator), "aria-hidden": "true" })),
20659
- activeStepSubName && React__namespace.createElement("span", { className: css(styles$a.wizardToggleListItem) }, activeStepSubName)),
20660
- React__namespace.createElement("span", { className: css(styles$a.wizardToggleIcon) },
20845
+ activeStepSubName && React__namespace.createElement(AngleRightIcon$1, { className: css(styles$8.wizardToggleSeparator), "aria-hidden": "true" })),
20846
+ activeStepSubName && React__namespace.createElement("span", { className: css(styles$8.wizardToggleListItem) }, activeStepSubName)),
20847
+ React__namespace.createElement("span", { className: css(styles$8.wizardToggleIcon) },
20661
20848
  React__namespace.createElement(CaretDownIcon$1, { "aria-hidden": "true" }))),
20662
- React__namespace.createElement("div", { className: css(styles$a.wizardOuterWrap) },
20663
- React__namespace.createElement("div", { className: css(styles$a.wizardInnerWrap) },
20849
+ React__namespace.createElement("div", { className: css(styles$8.wizardOuterWrap) },
20850
+ React__namespace.createElement("div", { className: css(styles$8.wizardInnerWrap) },
20664
20851
  nav(isNavOpen),
20665
20852
  React__namespace.createElement(WizardBody, { mainComponent: isInPage ? 'div' : 'main', "aria-label": mainAriaLabel, "aria-labelledby": mainAriaLabelledBy, hasNoBodyPadding: hasNoBodyPadding }, activeStep.component)),
20666
20853
  children)));
@@ -20668,12 +20855,12 @@
20668
20855
  WizardToggle.displayName = 'WizardToggle';
20669
20856
 
20670
20857
  const WizardNav = ({ children, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, isOpen = false, returnList = false }) => {
20671
- const innerList = React__namespace.createElement("ol", { className: css(styles$a.wizardNavList) }, children);
20858
+ const innerList = React__namespace.createElement("ol", { className: css(styles$8.wizardNavList) }, children);
20672
20859
  if (returnList) {
20673
20860
  return innerList;
20674
20861
  }
20675
- return (React__namespace.createElement("nav", { className: css(styles$a.wizardNav, isOpen && styles$a.modifiers.expanded), "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy },
20676
- React__namespace.createElement("ol", { className: css(styles$a.wizardNavList) }, children)));
20862
+ return (React__namespace.createElement("nav", { className: css(styles$8.wizardNav, isOpen && styles$8.modifiers.expanded), "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy },
20863
+ React__namespace.createElement("ol", { className: css(styles$8.wizardNavList) }, children)));
20677
20864
  };
20678
20865
  WizardNav.displayName = 'WizardNav';
20679
20866
 
@@ -20695,11 +20882,11 @@
20695
20882
  tabIndex: isDisabled ? -1 : undefined,
20696
20883
  href
20697
20884
  };
20698
- return (React__namespace.createElement("li", { className: css(styles$a.wizardNavItem, isExpandable && styles$a.modifiers.expandable, isExpandable && isExpanded && styles$a.modifiers.expanded) },
20699
- React__namespace.createElement(NavItemComponent, Object.assign({}, rest, (navItemComponent === 'a' ? Object.assign({}, linkProps) : Object.assign({}, btnProps)), (id && { id: id.toString() }), { onClick: () => (isExpandable ? setIsExpanded(!isExpanded || isCurrent) : onNavItemClick(step)), className: css(styles$a.wizardNavLink, isCurrent && styles$a.modifiers.current, isDisabled && styles$a.modifiers.disabled), "aria-disabled": isDisabled ? true : null, "aria-current": isCurrent && !children ? 'step' : false }, (isExpandable && { 'aria-expanded': isExpanded })), isExpandable ? (React__namespace.createElement(React__namespace.Fragment, null,
20700
- React__namespace.createElement("span", { className: css(styles$a.wizardNavLinkText) }, content),
20701
- React__namespace.createElement("span", { className: css(styles$a.wizardNavLinkToggle) },
20702
- React__namespace.createElement("span", { className: css(styles$a.wizardNavLinkToggleIcon) },
20885
+ return (React__namespace.createElement("li", { className: css(styles$8.wizardNavItem, isExpandable && styles$8.modifiers.expandable, isExpandable && isExpanded && styles$8.modifiers.expanded) },
20886
+ React__namespace.createElement(NavItemComponent, Object.assign({}, rest, (navItemComponent === 'a' ? Object.assign({}, linkProps) : Object.assign({}, btnProps)), (id && { id: id.toString() }), { onClick: () => (isExpandable ? setIsExpanded(!isExpanded || isCurrent) : onNavItemClick(step)), className: css(styles$8.wizardNavLink, isCurrent && styles$8.modifiers.current, isDisabled && styles$8.modifiers.disabled), "aria-disabled": isDisabled ? true : null, "aria-current": isCurrent && !children ? 'step' : false }, (isExpandable && { 'aria-expanded': isExpanded })), isExpandable ? (React__namespace.createElement(React__namespace.Fragment, null,
20887
+ React__namespace.createElement("span", { className: css(styles$8.wizardNavLinkText) }, content),
20888
+ React__namespace.createElement("span", { className: css(styles$8.wizardNavLinkToggle) },
20889
+ React__namespace.createElement("span", { className: css(styles$8.wizardNavLinkToggleIcon) },
20703
20890
  React__namespace.createElement(AngleRightIcon$1, null))))) : (content)),
20704
20891
  children));
20705
20892
  };
@@ -20716,11 +20903,11 @@
20716
20903
  const WizardContextProvider = WizardContext.Provider;
20717
20904
  const WizardContextConsumer = WizardContext.Consumer;
20718
20905
 
20719
- const WizardHeader = ({ onClose = () => undefined, title, description, hideClose, closeButtonAriaLabel, titleId, descriptionComponent: Component = 'p', descriptionId }) => (React__namespace.createElement("div", { className: css(styles$a.wizardHeader) },
20720
- !hideClose && (React__namespace.createElement(Button, { variant: "plain", className: css(styles$a.wizardClose), "aria-label": closeButtonAriaLabel, onClick: onClose },
20906
+ const WizardHeader = ({ onClose = () => undefined, title, description, hideClose, closeButtonAriaLabel, titleId, descriptionComponent: Component = 'p', descriptionId }) => (React__namespace.createElement("div", { className: css(styles$8.wizardHeader) },
20907
+ !hideClose && (React__namespace.createElement(Button, { variant: "plain", className: css(styles$8.wizardClose), "aria-label": closeButtonAriaLabel, onClick: onClose },
20721
20908
  React__namespace.createElement(TimesIcon$1, { "aria-hidden": "true" }))),
20722
- React__namespace.createElement(Title, { headingLevel: "h2", size: "3xl", className: css(styles$a.wizardTitle), "aria-label": title, id: titleId }, title || React__namespace.createElement(React__namespace.Fragment, null, "\u00A0")),
20723
- description && (React__namespace.createElement(Component, { className: css(styles$a.wizardDescription), id: descriptionId }, description))));
20909
+ React__namespace.createElement(Title, { headingLevel: "h2", size: "3xl", className: css(styles$8.wizardTitle), "aria-label": title, id: titleId }, title || React__namespace.createElement(React__namespace.Fragment, null, "\u00A0")),
20910
+ description && (React__namespace.createElement(Component, { className: css(styles$8.wizardDescription), id: descriptionId }, description))));
20724
20911
  WizardHeader.displayName = 'WizardHeader';
20725
20912
 
20726
20913
  class Wizard extends React__namespace.Component {
@@ -20947,7 +21134,7 @@
20947
21134
  };
20948
21135
  const divStyles = Object.assign(Object.assign({}, (height ? { height } : {})), (width ? { width } : {}));
20949
21136
  const wizard = (React__namespace.createElement(WizardContextProvider, { value: context },
20950
- React__namespace.createElement("div", Object.assign({}, rest, { className: css(styles$a.wizard, activeStep && activeStep.isFinishedStep && 'pf-m-finished', className), style: Object.keys(divStyles).length ? divStyles : undefined }),
21137
+ React__namespace.createElement("div", Object.assign({}, rest, { className: css(styles$8.wizard, activeStep && activeStep.isFinishedStep && 'pf-m-finished', className), style: Object.keys(divStyles).length ? divStyles : undefined }),
20951
21138
  title && (React__namespace.createElement(WizardHeader, { titleId: this.titleId, descriptionId: this.descriptionId, onClose: onClose, title: title, description: description, descriptionComponent: descriptionComponent, closeButtonAriaLabel: closeButtonAriaLabel, hideClose: hideClose })),
20952
21139
  React__namespace.createElement(WizardToggle, { mainAriaLabel: mainAriaLabel, isInPage: isOpen === undefined, mainAriaLabelledBy: (title || mainAriaLabelledBy) && (mainAriaLabelledBy || this.titleId), isNavOpen: this.state.isNavOpen, onNavToggle: isNavOpen => this.setState({ isNavOpen }), nav: nav, steps: steps, activeStep: activeStep, hasNoBodyPadding: hasNoBodyPadding }, footer || (React__namespace.createElement(WizardFooterInternal, { onNext: this.onNext, onBack: this.onBack, onClose: onClose, isValid: isValid, firstStep: firstStep, activeStep: activeStep, nextButtonText: (activeStep && activeStep.nextButtonText) || nextButtonText, backButtonText: backButtonText, cancelButtonText: cancelButtonText }))))));
20953
21140
  if (isOpen !== undefined) {
@@ -20986,7 +21173,7 @@
20986
21173
  isNavExpandable: false
20987
21174
  };
20988
21175
 
20989
- const WizardFooter = ({ children }) => (React__namespace.createElement("footer", { className: css(styles$a.wizardFooter) }, children));
21176
+ const WizardFooter = ({ children }) => (React__namespace.createElement("footer", { className: css(styles$8.wizardFooter) }, children));
20990
21177
  WizardFooter.displayName = 'WizardFooter';
20991
21178
 
20992
21179
  const DragDropContext = React__namespace.createContext({
@@ -20998,7 +21185,7 @@
20998
21185
  DragDrop.displayName = 'DragDrop';
20999
21186
 
21000
21187
  Promise.resolve().then(function () { return dragDrop; });
21001
- var styles$9 = {
21188
+ var styles$7 = {
21002
21189
  "draggable": "pf-c-draggable",
21003
21190
  "droppable": "pf-c-droppable",
21004
21191
  "modifiers": {
@@ -21047,8 +21234,8 @@
21047
21234
  // Reset per-element state
21048
21235
  function resetDroppableItem(droppableItem) {
21049
21236
  removeBlankDiv(droppableItem.node);
21050
- droppableItem.node.classList.remove(styles$9.modifiers.dragging);
21051
- droppableItem.node.classList.remove(styles$9.modifiers.dragOutside);
21237
+ droppableItem.node.classList.remove(styles$7.modifiers.dragging);
21238
+ droppableItem.node.classList.remove(styles$7.modifiers.dragOutside);
21052
21239
  droppableItem.draggableNodes.forEach((n, i) => {
21053
21240
  n.style.transform = '';
21054
21241
  n.style.transition = '';
@@ -21123,7 +21310,7 @@
21123
21310
  const { node, rect, isDraggingHost, draggableNodes, draggableNodesRects } = droppableItem;
21124
21311
  if (overlaps(ev, rect)) {
21125
21312
  // Add valid dropzone style
21126
- node.classList.remove(styles$9.modifiers.dragOutside);
21313
+ node.classList.remove(styles$7.modifiers.dragOutside);
21127
21314
  hoveringDroppable = node;
21128
21315
  // Check if we need to add a blank div row
21129
21316
  if (node.getAttribute('blankDiv') !== 'true' && !isDraggingHost) {
@@ -21159,8 +21346,8 @@
21159
21346
  }
21160
21347
  else {
21161
21348
  resetDroppableItem(droppableItem);
21162
- node.classList.add(styles$9.modifiers.dragging);
21163
- node.classList.add(styles$9.modifiers.dragOutside);
21349
+ node.classList.add(styles$7.modifiers.dragging);
21350
+ node.classList.add(styles$7.modifiers.dragOutside);
21164
21351
  }
21165
21352
  });
21166
21353
  // Move hovering draggable and style it based on cursor position
@@ -21208,7 +21395,7 @@
21208
21395
  const rect = dragging.getBoundingClientRect();
21209
21396
  const droppableNodes = Array.from(document.querySelectorAll(`[data-pf-droppable="${zone}"]`));
21210
21397
  const droppableItems = droppableNodes.reduce((acc, cur) => {
21211
- cur.classList.add(styles$9.modifiers.dragging);
21398
+ cur.classList.add(styles$7.modifiers.dragging);
21212
21399
  const draggableNodes = Array.from(cur.querySelectorAll(`[data-pf-draggable-zone="${zone}"]`));
21213
21400
  const isDraggingHost = cur.contains(dragging);
21214
21401
  if (isDraggingHost) {
@@ -21244,7 +21431,7 @@
21244
21431
  // Comment out this line to debug while dragging by right clicking
21245
21432
  // document.addEventListener('contextmenu', mouseUpListener);
21246
21433
  };
21247
- const childProps = Object.assign({ 'data-pf-draggable-zone': isDragging ? null : zone, draggable: true, className: css(styles$9.draggable, isDragging && styles$9.modifiers.dragging, !isValidDrag && styles$9.modifiers.dragOutside, className), onDragStart,
21434
+ const childProps = Object.assign({ 'data-pf-draggable-zone': isDragging ? null : zone, draggable: true, className: css(styles$7.draggable, isDragging && styles$7.modifiers.dragging, !isValidDrag && styles$7.modifiers.dragOutside, className), onDragStart,
21248
21435
  onTransitionEnd,
21249
21436
  style }, props);
21250
21437
  return (React__namespace.createElement(React__namespace.Fragment, null,
@@ -21258,108 +21445,12 @@
21258
21445
  const childProps = Object.assign({ 'data-pf-droppable': zone, 'data-pf-droppableid': droppableId,
21259
21446
  // if has no wrapper is set, don't overwrite children className with the className prop
21260
21447
  className: hasNoWrapper && React__namespace.Children.count(children) === 1
21261
- ? css(styles$9.droppable, className, children.props.className)
21262
- : css(styles$9.droppable, className) }, props);
21448
+ ? css(styles$7.droppable, className, children.props.className)
21449
+ : css(styles$7.droppable, className) }, props);
21263
21450
  return (React__namespace.createElement(DroppableContext.Provider, { value: { zone, droppableId } }, hasNoWrapper ? (React__namespace.cloneElement(children, childProps)) : (React__namespace.createElement("div", Object.assign({}, childProps), children))));
21264
21451
  };
21265
21452
  Droppable.displayName = 'Droppable';
21266
21453
 
21267
- Promise.resolve().then(function () { return textInputGroup; });
21268
- var styles$8 = {
21269
- "button": "pf-c-button",
21270
- "chipGroup": "pf-c-chip-group",
21271
- "chipGroupList": "pf-c-chip-group__list",
21272
- "modifiers": {
21273
- "disabled": "pf-m-disabled",
21274
- "plain": "pf-m-plain",
21275
- "icon": "pf-m-icon",
21276
- "hint": "pf-m-hint"
21277
- },
21278
- "textInputGroup": "pf-c-text-input-group",
21279
- "textInputGroupGroup": "pf-c-text-input-group__group",
21280
- "textInputGroupIcon": "pf-c-text-input-group__icon",
21281
- "textInputGroupMain": "pf-c-text-input-group__main",
21282
- "textInputGroupText": "pf-c-text-input-group__text",
21283
- "textInputGroupTextInput": "pf-c-text-input-group__text-input",
21284
- "textInputGroupUtilities": "pf-c-text-input-group__utilities"
21285
- };
21286
-
21287
- const TextInputGroupContext = React__namespace.createContext({
21288
- isDisabled: false
21289
- });
21290
- const TextInputGroup = (_a) => {
21291
- var { children, className, isDisabled } = _a, props = __rest$1(_a, ["children", "className", "isDisabled"]);
21292
- return (React__namespace.createElement(TextInputGroupContext.Provider, { value: { isDisabled } },
21293
- React__namespace.createElement("div", Object.assign({ className: css(styles$8.textInputGroup, isDisabled && styles$8.modifiers.disabled, className) }, props), children)));
21294
- };
21295
- TextInputGroup.displayName = 'TextInputGroup';
21296
-
21297
- const TextInputGroupMain = (_a) => {
21298
- var { children, className, icon, type = 'text', hint, onChange = () => undefined, onFocus, onBlur, 'aria-label': ariaLabel = 'Type to filter', value: inputValue, placeholder: inputPlaceHolder } = _a, props = __rest$1(_a, ["children", "className", "icon", "type", "hint", "onChange", "onFocus", "onBlur", 'aria-label', "value", "placeholder"]);
21299
- const { isDisabled } = React__namespace.useContext(TextInputGroupContext);
21300
- const handleChange = (event) => {
21301
- onChange(event.currentTarget.value, event);
21302
- };
21303
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$8.textInputGroupMain, icon && styles$8.modifiers.icon, className) }, props),
21304
- children,
21305
- React__namespace.createElement("span", { className: css(styles$8.textInputGroupText) },
21306
- hint && (React__namespace.createElement("input", { className: css(styles$8.textInputGroupTextInput, styles$8.modifiers.hint), type: "text", disabled: true, "aria-hidden": "true", value: hint })),
21307
- icon && React__namespace.createElement("span", { className: css(styles$8.textInputGroupIcon) }, icon),
21308
- React__namespace.createElement("input", { type: type, className: css(styles$8.textInputGroupTextInput), "aria-label": ariaLabel, disabled: isDisabled, onChange: handleChange, onFocus: onFocus, onBlur: onBlur, value: inputValue || '', placeholder: inputPlaceHolder }))));
21309
- };
21310
- TextInputGroupMain.displayName = 'TextInputGroupMain';
21311
-
21312
- const TextInputGroupUtilities = (_a) => {
21313
- var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
21314
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$8.textInputGroupUtilities, className) }, props), children));
21315
- };
21316
- TextInputGroupUtilities.displayName = 'TextInputGroupUtilities';
21317
-
21318
- Promise.resolve().then(function () { return panel; });
21319
- var styles$7 = {
21320
- "modifiers": {
21321
- "bordered": "pf-m-bordered",
21322
- "raised": "pf-m-raised",
21323
- "scrollable": "pf-m-scrollable"
21324
- },
21325
- "panel": "pf-c-panel",
21326
- "panelFooter": "pf-c-panel__footer",
21327
- "panelHeader": "pf-c-panel__header",
21328
- "panelMain": "pf-c-panel__main",
21329
- "panelMainBody": "pf-c-panel__main-body"
21330
- };
21331
-
21332
- const PanelBase = (_a) => {
21333
- var { className, children, variant, isScrollable, innerRef } = _a, props = __rest$1(_a, ["className", "children", "variant", "isScrollable", "innerRef"]);
21334
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$7.panel, variant === 'raised' && styles$7.modifiers.raised, variant === 'bordered' && styles$7.modifiers.bordered, isScrollable && styles$7.modifiers.scrollable, className), ref: innerRef }, props), children));
21335
- };
21336
- const Panel = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(PanelBase, Object.assign({ innerRef: ref }, props))));
21337
- Panel.displayName = 'Panel';
21338
-
21339
- const PanelMain = (_a) => {
21340
- var { className, children, maxHeight } = _a, props = __rest$1(_a, ["className", "children", "maxHeight"]);
21341
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$7.panelMain, className), style: { '--pf-c-panel__main--MaxHeight': maxHeight } }, props), children));
21342
- };
21343
- PanelMain.displayName = 'PanelMain';
21344
-
21345
- const PanelMainBody = (_a) => {
21346
- var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
21347
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$7.panelMainBody, className) }, props), children));
21348
- };
21349
- PanelMainBody.displayName = 'PanelMainBody';
21350
-
21351
- const PanelHeader = (_a) => {
21352
- var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
21353
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$7.panelHeader, className) }, props), children));
21354
- };
21355
- PanelHeader.displayName = 'PanelHeader';
21356
-
21357
- const PanelFooter = (_a) => {
21358
- var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
21359
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$7.panelFooter, className) }, props), children));
21360
- };
21361
- PanelFooter.displayName = 'PanelFooter';
21362
-
21363
21454
  Promise.resolve().then(function () { return truncate; });
21364
21455
  var styles$6 = {
21365
21456
  "truncate": "pf-c-truncate",
@@ -22536,6 +22627,14 @@
22536
22627
  __proto__: null
22537
22628
  });
22538
22629
 
22630
+ var panel = /*#__PURE__*/Object.freeze({
22631
+ __proto__: null
22632
+ });
22633
+
22634
+ var textInputGroup = /*#__PURE__*/Object.freeze({
22635
+ __proto__: null
22636
+ });
22637
+
22539
22638
  var simpleList = /*#__PURE__*/Object.freeze({
22540
22639
  __proto__: null
22541
22640
  });
@@ -22592,14 +22691,6 @@
22592
22691
  __proto__: null
22593
22692
  });
22594
22693
 
22595
- var textInputGroup = /*#__PURE__*/Object.freeze({
22596
- __proto__: null
22597
- });
22598
-
22599
- var panel = /*#__PURE__*/Object.freeze({
22600
- __proto__: null
22601
- });
22602
-
22603
22694
  var truncate = /*#__PURE__*/Object.freeze({
22604
22695
  __proto__: null
22605
22696
  });