@patternfly/react-core 4.220.1 → 4.221.1

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 (59) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/esm/components/InputGroup/InputGroup.d.ts +2 -0
  3. package/dist/esm/components/InputGroup/InputGroup.d.ts.map +1 -1
  4. package/dist/esm/components/InputGroup/InputGroup.js +3 -2
  5. package/dist/esm/components/InputGroup/InputGroup.js.map +1 -1
  6. package/dist/esm/components/SearchInput/AdvancedSearchMenu.d.ts +2 -0
  7. package/dist/esm/components/SearchInput/AdvancedSearchMenu.d.ts.map +1 -1
  8. package/dist/esm/components/SearchInput/AdvancedSearchMenu.js +12 -10
  9. package/dist/esm/components/SearchInput/AdvancedSearchMenu.js.map +1 -1
  10. package/dist/esm/components/SearchInput/SearchInput.d.ts +8 -0
  11. package/dist/esm/components/SearchInput/SearchInput.d.ts.map +1 -1
  12. package/dist/esm/components/SearchInput/SearchInput.js +38 -28
  13. package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
  14. package/dist/esm/components/TextInputGroup/TextInputGroup.d.ts +2 -0
  15. package/dist/esm/components/TextInputGroup/TextInputGroup.d.ts.map +1 -1
  16. package/dist/esm/components/TextInputGroup/TextInputGroup.js +3 -2
  17. package/dist/esm/components/TextInputGroup/TextInputGroup.js.map +1 -1
  18. package/dist/esm/components/TextInputGroup/TextInputGroupMain.d.ts +2 -0
  19. package/dist/esm/components/TextInputGroup/TextInputGroupMain.d.ts.map +1 -1
  20. package/dist/esm/components/TextInputGroup/TextInputGroupMain.js +3 -2
  21. package/dist/esm/components/TextInputGroup/TextInputGroupMain.js.map +1 -1
  22. package/dist/js/components/InputGroup/InputGroup.d.ts +2 -0
  23. package/dist/js/components/InputGroup/InputGroup.d.ts.map +1 -1
  24. package/dist/js/components/InputGroup/InputGroup.js +3 -2
  25. package/dist/js/components/InputGroup/InputGroup.js.map +1 -1
  26. package/dist/js/components/SearchInput/AdvancedSearchMenu.d.ts +2 -0
  27. package/dist/js/components/SearchInput/AdvancedSearchMenu.d.ts.map +1 -1
  28. package/dist/js/components/SearchInput/AdvancedSearchMenu.js +12 -10
  29. package/dist/js/components/SearchInput/AdvancedSearchMenu.js.map +1 -1
  30. package/dist/js/components/SearchInput/SearchInput.d.ts +8 -0
  31. package/dist/js/components/SearchInput/SearchInput.d.ts.map +1 -1
  32. package/dist/js/components/SearchInput/SearchInput.js +38 -28
  33. package/dist/js/components/SearchInput/SearchInput.js.map +1 -1
  34. package/dist/js/components/TextInputGroup/TextInputGroup.d.ts +2 -0
  35. package/dist/js/components/TextInputGroup/TextInputGroup.d.ts.map +1 -1
  36. package/dist/js/components/TextInputGroup/TextInputGroup.js +3 -2
  37. package/dist/js/components/TextInputGroup/TextInputGroup.js.map +1 -1
  38. package/dist/js/components/TextInputGroup/TextInputGroupMain.d.ts +2 -0
  39. package/dist/js/components/TextInputGroup/TextInputGroupMain.d.ts.map +1 -1
  40. package/dist/js/components/TextInputGroup/TextInputGroupMain.js +3 -2
  41. package/dist/js/components/TextInputGroup/TextInputGroupMain.js.map +1 -1
  42. package/dist/styles/assets/images/icon-github.hbs +4 -0
  43. package/dist/styles/assets/images/icon-google.hbs +4 -0
  44. package/dist/styles/assets/images/icon-red-hat.hbs +1 -0
  45. package/dist/styles/base-no-reset.css +93 -4
  46. package/dist/styles/base.css +93 -4
  47. package/dist/umd/react-core.css +873 -91
  48. package/dist/umd/react-core.js +409 -327
  49. package/dist/umd/react-core.min.css +790 -8
  50. package/dist/umd/react-core.min.js +6 -6
  51. package/package.json +6 -6
  52. package/src/components/InputGroup/InputGroup.tsx +7 -1
  53. package/src/components/SearchInput/AdvancedSearchMenu.tsx +24 -18
  54. package/src/components/SearchInput/SearchInput.tsx +130 -113
  55. package/src/components/SearchInput/__tests__/SearchInput.test.tsx +1 -1
  56. package/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap +297 -301
  57. package/src/components/SearchInput/examples/SearchInput.md +5 -2
  58. package/src/components/TextInputGroup/TextInputGroup.tsx +18 -7
  59. package/src/components/TextInputGroup/TextInputGroupMain.tsx +5 -0
@@ -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 {
@@ -8388,7 +8423,8 @@
8388
8423
  "disabled": "pf-m-disabled",
8389
8424
  "hover": "pf-m-hover",
8390
8425
  "focus": "pf-m-focus"
8391
- }
8426
+ },
8427
+ "themeDark": "pf-theme-dark"
8392
8428
  };
8393
8429
 
8394
8430
  exports.Weekday = void 0;
@@ -8803,7 +8839,8 @@
8803
8839
  "inline": "pf-m-inline",
8804
8840
  "block": "pf-m-block",
8805
8841
  "code": "pf-m-code"
8806
- }
8842
+ },
8843
+ "themeDark": "pf-theme-dark"
8807
8844
  };
8808
8845
 
8809
8846
  Promise.resolve().then(function () { return popover; });
@@ -8839,6 +8876,7 @@
8839
8876
  "popoverTitle": "pf-c-popover__title",
8840
8877
  "popoverTitleIcon": "pf-c-popover__title-icon",
8841
8878
  "popoverTitleText": "pf-c-popover__title-text",
8879
+ "themeDark": "pf-theme-dark",
8842
8880
  "title": "pf-c-title"
8843
8881
  };
8844
8882
 
@@ -9342,7 +9380,8 @@
9342
9380
  "plain": "pf-m-plain",
9343
9381
  "text": "pf-m-text",
9344
9382
  "disabled": "pf-m-disabled"
9345
- }
9383
+ },
9384
+ "themeDark": "pf-theme-dark"
9346
9385
  };
9347
9386
 
9348
9387
  const SearchIconConfig = {
@@ -9466,7 +9505,8 @@
9466
9505
  "inputGroupText": "pf-c-input-group__text",
9467
9506
  "modifiers": {
9468
9507
  "plain": "pf-m-plain"
9469
- }
9508
+ },
9509
+ "themeDark": "pf-theme-dark"
9470
9510
  };
9471
9511
 
9472
9512
  class FormSelect extends React__namespace.Component {
@@ -9583,10 +9623,11 @@
9583
9623
  TextArea.displayName = 'TextArea';
9584
9624
 
9585
9625
  const InputGroup = (_a) => {
9586
- var { className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
9626
+ var { className = '', children, innerRef } = _a, props = __rest$1(_a, ["className", "children", "innerRef"]);
9587
9627
  const formCtrls = [FormSelect, TextArea, TextInput].map(comp => comp.displayName);
9588
9628
  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
9629
+ const inputGroupRef = innerRef || React__namespace.useRef(null);
9630
+ return (React__namespace.createElement("div", Object.assign({ ref: inputGroupRef, className: css(styles$P.inputGroup, className) }, props), idItem
9590
9631
  ? React__namespace.Children.map(children, (child) => formCtrls.includes(child.type.displayName)
9591
9632
  ? React__namespace.cloneElement(child, { 'aria-describedby': idItem.props.id })
9592
9633
  : child)
@@ -9768,7 +9809,8 @@
9768
9809
  "expanded": "pf-m-expanded",
9769
9810
  "disabled": "pf-m-disabled",
9770
9811
  "noPadding": "pf-m-no-padding"
9771
- }
9812
+ },
9813
+ "themeDark": "pf-theme-dark"
9772
9814
  };
9773
9815
 
9774
9816
  Promise.resolve().then(function () { return dataListGrid; });
@@ -10227,7 +10269,8 @@
10227
10269
  "error": "pf-m-error",
10228
10270
  "alignRight": "pf-m-align-right",
10229
10271
  "top": "pf-m-top"
10230
- }
10272
+ },
10273
+ "themeDark": "pf-theme-dark"
10231
10274
  };
10232
10275
 
10233
10276
  const OutlinedCalendarAltIconConfig = {
@@ -10498,7 +10541,8 @@
10498
10541
  "inlineOn_2xl": "pf-m-inline-on-2xl",
10499
10542
  "staticOn_2xl": "pf-m-static-on-2xl"
10500
10543
  },
10501
- "pageMain": "pf-c-page__main"
10544
+ "pageMain": "pf-c-page__main",
10545
+ "themeDark": "pf-theme-dark"
10502
10546
  };
10503
10547
 
10504
10548
  exports.DrawerColorVariant = void 0;
@@ -14074,7 +14118,8 @@
14074
14118
  "success": "pf-m-success",
14075
14119
  "error": "pf-m-error",
14076
14120
  "dynamic": "pf-m-dynamic"
14077
- }
14121
+ },
14122
+ "themeDark": "pf-theme-dark"
14078
14123
  };
14079
14124
 
14080
14125
  const HelperText = (_a) => {
@@ -14137,7 +14182,8 @@
14137
14182
  "link": "pf-m-link",
14138
14183
  "inline": "pf-m-inline",
14139
14184
  "plain": "pf-m-plain"
14140
- }
14185
+ },
14186
+ "themeDark": "pf-theme-dark"
14141
14187
  };
14142
14188
 
14143
14189
  const Hint = (_a) => {
@@ -14459,12 +14505,14 @@
14459
14505
  "red": "pf-m-red",
14460
14506
  "purple": "pf-m-purple",
14461
14507
  "cyan": "pf-m-cyan",
14508
+ "gold": "pf-m-gold",
14462
14509
  "outline": "pf-m-outline",
14463
14510
  "overflow": "pf-m-overflow",
14464
14511
  "add": "pf-m-add",
14465
14512
  "editable": "pf-m-editable",
14466
14513
  "editableActive": "pf-m-editable-active"
14467
- }
14514
+ },
14515
+ "themeDark": "pf-theme-dark"
14468
14516
  };
14469
14517
 
14470
14518
  Promise.resolve().then(function () { return labelGroup; });
@@ -14759,6 +14807,7 @@
14759
14807
  "loginMainHeader": "pf-c-login__main-header",
14760
14808
  "loginMainHeaderDesc": "pf-c-login__main-header-desc",
14761
14809
  "loginMainHeaderUtilities": "pf-c-login__main-header-utilities",
14810
+ "themeDark": "pf-theme-dark",
14762
14811
  "title": "pf-c-title"
14763
14812
  };
14764
14813
 
@@ -14965,6 +15014,7 @@
14965
15014
  },
14966
15015
  "nav": "pf-c-nav",
14967
15016
  "page": "pf-c-page",
15017
+ "themeDark": "pf-theme-dark",
14968
15018
  "toolbar": "pf-c-toolbar",
14969
15019
  "toolbarContentSection": "pf-c-toolbar__content-section",
14970
15020
  "toolbarExpandableContent": "pf-c-toolbar__expandable-content"
@@ -15008,6 +15058,7 @@
15008
15058
  "shadowTop": "pf-m-shadow-top",
15009
15059
  "fill": "pf-m-fill",
15010
15060
  "noFill": "pf-m-no-fill",
15061
+ "light_100": "pf-m-light-100",
15011
15062
  "dark_100": "pf-m-dark-100",
15012
15063
  "dark_200": "pf-m-dark-200",
15013
15064
  "padding": "pf-m-padding",
@@ -15047,7 +15098,8 @@
15047
15098
  "pageMainTabs": "pf-c-page__main-tabs",
15048
15099
  "pageMainWizard": "pf-c-page__main-wizard",
15049
15100
  "pageSidebar": "pf-c-page__sidebar",
15050
- "pageSidebarBody": "pf-c-page__sidebar-body"
15101
+ "pageSidebarBody": "pf-c-page__sidebar-body",
15102
+ "themeDark": "pf-theme-dark"
15051
15103
  };
15052
15104
 
15053
15105
  const global_breakpoint_xl = {
@@ -15308,7 +15360,8 @@
15308
15360
  "selected": "pf-m-selected",
15309
15361
  "favorite": "pf-m-favorite",
15310
15362
  "favorited": "pf-m-favorited"
15311
- }
15363
+ },
15364
+ "themeDark": "pf-theme-dark"
15312
15365
  };
15313
15366
 
15314
15367
  const MenuContext = React__namespace.createContext({
@@ -15819,7 +15872,8 @@
15819
15872
  "active": "pf-m-active",
15820
15873
  "fullWidth": "pf-m-full-width"
15821
15874
  },
15822
- "textInputGroup": "pf-c-text-input-group"
15875
+ "textInputGroup": "pf-c-text-input-group",
15876
+ "themeDark": "pf-theme-dark"
15823
15877
  };
15824
15878
 
15825
15879
  class MenuToggleBase extends React__namespace.Component {
@@ -15878,7 +15932,8 @@
15878
15932
  "info": "pf-m-info",
15879
15933
  "help": "pf-m-help",
15880
15934
  "icon": "pf-m-icon"
15881
- }
15935
+ },
15936
+ "themeDark": "pf-theme-dark"
15882
15937
  };
15883
15938
 
15884
15939
  const ModalBoxBody = (_a) => {
@@ -16288,7 +16343,8 @@
16288
16343
  "progressIndicator": "pf-c-progress__indicator",
16289
16344
  "progressMeasure": "pf-c-progress__measure",
16290
16345
  "progressStatus": "pf-c-progress__status",
16291
- "progressStatusIcon": "pf-c-progress__status-icon"
16346
+ "progressStatusIcon": "pf-c-progress__status-icon",
16347
+ "themeDark": "pf-theme-dark"
16292
16348
  };
16293
16349
 
16294
16350
  const ProgressBar = (_a) => {
@@ -16509,7 +16565,8 @@
16509
16565
  "navSectionTitle": "pf-c-nav__section-title",
16510
16566
  "navSubnav": "pf-c-nav__subnav",
16511
16567
  "navToggle": "pf-c-nav__toggle",
16512
- "navToggleIcon": "pf-c-nav__toggle-icon"
16568
+ "navToggleIcon": "pf-c-nav__toggle-icon",
16569
+ "themeDark": "pf-theme-dark"
16513
16570
  };
16514
16571
 
16515
16572
  const navContextDefaults = {};
@@ -16875,7 +16932,8 @@
16875
16932
  "attention": "pf-m-attention"
16876
16933
  },
16877
16934
  "notificationBadge": "pf-c-notification-badge",
16878
- "notificationBadgeCount": "pf-c-notification-badge__count"
16935
+ "notificationBadgeCount": "pf-c-notification-badge__count",
16936
+ "themeDark": "pf-theme-dark"
16879
16937
  };
16880
16938
 
16881
16939
  const AttentionBellIconConfig = {
@@ -16944,7 +17002,8 @@
16944
17002
  "notificationDrawerListItemHeader": "pf-c-notification-drawer__list-item-header",
16945
17003
  "notificationDrawerListItemHeaderIcon": "pf-c-notification-drawer__list-item-header-icon",
16946
17004
  "notificationDrawerListItemHeaderTitle": "pf-c-notification-drawer__list-item-header-title",
16947
- "notificationDrawerListItemTimestamp": "pf-c-notification-drawer__list-item-timestamp"
17005
+ "notificationDrawerListItemTimestamp": "pf-c-notification-drawer__list-item-timestamp",
17006
+ "themeDark": "pf-theme-dark"
16948
17007
  };
16949
17008
 
16950
17009
  const NotificationDrawerBase = (_a) => {
@@ -17165,7 +17224,8 @@
17165
17224
  "optionsMenuToggleButton": "pf-c-options-menu__toggle-button",
17166
17225
  "optionsMenuToggleButtonIcon": "pf-c-options-menu__toggle-button-icon",
17167
17226
  "optionsMenuToggleIcon": "pf-c-options-menu__toggle-icon",
17168
- "optionsMenuToggleText": "pf-c-options-menu__toggle-text"
17227
+ "optionsMenuToggleText": "pf-c-options-menu__toggle-text",
17228
+ "themeDark": "pf-theme-dark"
17169
17229
  };
17170
17230
 
17171
17231
  exports.OptionsMenuPosition = void 0;
@@ -17573,7 +17633,8 @@
17573
17633
  "paginationNav": "pf-c-pagination__nav",
17574
17634
  "paginationNavControl": "pf-c-pagination__nav-control",
17575
17635
  "paginationNavPageSelect": "pf-c-pagination__nav-page-select",
17576
- "paginationTotalItems": "pf-c-pagination__total-items"
17636
+ "paginationTotalItems": "pf-c-pagination__total-items",
17637
+ "themeDark": "pf-theme-dark"
17577
17638
  };
17578
17639
 
17579
17640
  class Navigation extends React__namespace.Component {
@@ -18090,10 +18151,56 @@
18090
18151
  "searchInputNav": "pf-c-search-input__nav",
18091
18152
  "searchInputText": "pf-c-search-input__text",
18092
18153
  "searchInputTextInput": "pf-c-search-input__text-input",
18093
- "searchInputUtilities": "pf-c-search-input__utilities"
18154
+ "searchInputUtilities": "pf-c-search-input__utilities",
18155
+ "themeDark": "pf-theme-dark"
18094
18156
  };
18095
18157
 
18096
- const AdvancedSearchMenu = ({ parentRef, parentInputRef, value = '', attributes = [], formAdditionalItems, hasWordsAttrLabel = 'Has words', advancedSearchDelimiter, getAttrValueMap, onChange, onSearch, onClear, resetButtonLabel = 'Reset', submitSearchButtonLabel = 'Search', isSearchMenuOpen, onToggleAdvancedMenu }) => {
18158
+ Promise.resolve().then(function () { return panel; });
18159
+ var styles$m = {
18160
+ "modifiers": {
18161
+ "bordered": "pf-m-bordered",
18162
+ "raised": "pf-m-raised",
18163
+ "scrollable": "pf-m-scrollable"
18164
+ },
18165
+ "panel": "pf-c-panel",
18166
+ "panelFooter": "pf-c-panel__footer",
18167
+ "panelHeader": "pf-c-panel__header",
18168
+ "panelMain": "pf-c-panel__main",
18169
+ "panelMainBody": "pf-c-panel__main-body"
18170
+ };
18171
+
18172
+ const PanelBase = (_a) => {
18173
+ var { className, children, variant, isScrollable, innerRef } = _a, props = __rest$1(_a, ["className", "children", "variant", "isScrollable", "innerRef"]);
18174
+ 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));
18175
+ };
18176
+ const Panel = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(PanelBase, Object.assign({ innerRef: ref }, props))));
18177
+ Panel.displayName = 'Panel';
18178
+
18179
+ const PanelMain = (_a) => {
18180
+ var { className, children, maxHeight } = _a, props = __rest$1(_a, ["className", "children", "maxHeight"]);
18181
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$m.panelMain, className), style: { '--pf-c-panel__main--MaxHeight': maxHeight } }, props), children));
18182
+ };
18183
+ PanelMain.displayName = 'PanelMain';
18184
+
18185
+ const PanelMainBody = (_a) => {
18186
+ var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
18187
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$m.panelMainBody, className) }, props), children));
18188
+ };
18189
+ PanelMainBody.displayName = 'PanelMainBody';
18190
+
18191
+ const PanelHeader = (_a) => {
18192
+ var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
18193
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$m.panelHeader, className) }, props), children));
18194
+ };
18195
+ PanelHeader.displayName = 'PanelHeader';
18196
+
18197
+ const PanelFooter = (_a) => {
18198
+ var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
18199
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$m.panelFooter, className) }, props), children));
18200
+ };
18201
+ PanelFooter.displayName = 'PanelFooter';
18202
+
18203
+ const AdvancedSearchMenu = ({ className, parentRef, parentInputRef, value = '', attributes = [], formAdditionalItems, hasWordsAttrLabel = 'Has words', advancedSearchDelimiter, getAttrValueMap, onChange, onSearch, onClear, resetButtonLabel = 'Reset', submitSearchButtonLabel = 'Search', isSearchMenuOpen, onToggleAdvancedMenu }) => {
18097
18204
  const firstAttrRef = React__namespace.useRef(null);
18098
18205
  const [putFocusBackOnInput, setPutFocusBackOnInput] = React__namespace.useState(false);
18099
18206
  React__namespace.useEffect(() => {
@@ -18189,19 +18296,73 @@
18189
18296
  React__namespace.createElement(TextInput, { type: "text", id: randomId, value: getValue('haswords'), onChange: (value, evt) => handleValueChange('haswords', value, evt) })))));
18190
18297
  return formGroups;
18191
18298
  };
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;
18299
+ return isSearchMenuOpen ? (React__namespace.createElement(Panel, { variant: "raised", className: css(className) },
18300
+ React__namespace.createElement(PanelMain, null,
18301
+ React__namespace.createElement(PanelMainBody, null,
18302
+ React__namespace.createElement(Form, null,
18303
+ buildFormGroups(),
18304
+ formAdditionalItems ? formAdditionalItems : null,
18305
+ React__namespace.createElement(ActionGroup, null,
18306
+ React__namespace.createElement(Button, { variant: "primary", type: "submit", onClick: onSearchHandler, isDisabled: !value }, submitSearchButtonLabel),
18307
+ !!onClear && (React__namespace.createElement(Button, { variant: "link", type: "reset", onClick: onClear }, resetButtonLabel)))))))) : null;
18200
18308
  };
18201
18309
  AdvancedSearchMenu.displayName = 'SearchInput';
18202
18310
 
18311
+ Promise.resolve().then(function () { return textInputGroup; });
18312
+ var styles$l = {
18313
+ "button": "pf-c-button",
18314
+ "chipGroup": "pf-c-chip-group",
18315
+ "chipGroupList": "pf-c-chip-group__list",
18316
+ "modifiers": {
18317
+ "disabled": "pf-m-disabled",
18318
+ "plain": "pf-m-plain",
18319
+ "icon": "pf-m-icon",
18320
+ "hint": "pf-m-hint"
18321
+ },
18322
+ "textInputGroup": "pf-c-text-input-group",
18323
+ "textInputGroupGroup": "pf-c-text-input-group__group",
18324
+ "textInputGroupIcon": "pf-c-text-input-group__icon",
18325
+ "textInputGroupMain": "pf-c-text-input-group__main",
18326
+ "textInputGroupText": "pf-c-text-input-group__text",
18327
+ "textInputGroupTextInput": "pf-c-text-input-group__text-input",
18328
+ "textInputGroupUtilities": "pf-c-text-input-group__utilities"
18329
+ };
18330
+
18331
+ const TextInputGroupContext = React__namespace.createContext({
18332
+ isDisabled: false
18333
+ });
18334
+ const TextInputGroup = (_a) => {
18335
+ var { children, className, isDisabled, innerRef } = _a, props = __rest$1(_a, ["children", "className", "isDisabled", "innerRef"]);
18336
+ const textInputGroupRef = innerRef || React__namespace.useRef(null);
18337
+ return (React__namespace.createElement(TextInputGroupContext.Provider, { value: { isDisabled } },
18338
+ React__namespace.createElement("div", Object.assign({ ref: textInputGroupRef, className: css(styles$l.textInputGroup, isDisabled && styles$l.modifiers.disabled, className) }, props), children)));
18339
+ };
18340
+ TextInputGroup.displayName = 'TextInputGroup';
18341
+
18342
+ const TextInputGroupMain = (_a) => {
18343
+ 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"]);
18344
+ const { isDisabled } = React__namespace.useContext(TextInputGroupContext);
18345
+ const textInputGroupInputInputRef = innerRef || React__namespace.useRef(null);
18346
+ const handleChange = (event) => {
18347
+ onChange(event.currentTarget.value, event);
18348
+ };
18349
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$l.textInputGroupMain, icon && styles$l.modifiers.icon, className) }, props),
18350
+ children,
18351
+ React__namespace.createElement("span", { className: css(styles$l.textInputGroupText) },
18352
+ hint && (React__namespace.createElement("input", { className: css(styles$l.textInputGroupTextInput, styles$l.modifiers.hint), type: "text", disabled: true, "aria-hidden": "true", value: hint })),
18353
+ icon && React__namespace.createElement("span", { className: css(styles$l.textInputGroupIcon) }, icon),
18354
+ 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 }))));
18355
+ };
18356
+ TextInputGroupMain.displayName = 'TextInputGroupMain';
18357
+
18358
+ const TextInputGroupUtilities = (_a) => {
18359
+ var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
18360
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$l.textInputGroupUtilities, className) }, props), children));
18361
+ };
18362
+ TextInputGroupUtilities.displayName = 'TextInputGroupUtilities';
18363
+
18203
18364
  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"]);
18365
+ 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
18366
  const [isSearchMenuOpen, setIsSearchMenuOpen] = React__namespace.useState(false);
18206
18367
  const [searchValue, setSearchValue] = React__namespace.useState(value);
18207
18368
  const searchInputRef = React__namespace.useRef(null);
@@ -18218,11 +18379,11 @@
18218
18379
  React__namespace.useEffect(() => {
18219
18380
  setIsSearchMenuOpen(isAdvancedSearchOpen);
18220
18381
  }, [isAdvancedSearchOpen]);
18221
- const onChangeHandler = (event) => {
18382
+ const onChangeHandler = (value, event) => {
18222
18383
  if (onChange) {
18223
- onChange(event.currentTarget.value, event);
18384
+ onChange(value, event);
18224
18385
  }
18225
- setSearchValue(event.currentTarget.value);
18386
+ setSearchValue(value);
18226
18387
  };
18227
18388
  const onToggle = (e) => {
18228
18389
  const isOpen = !isSearchMenuOpen;
@@ -18267,30 +18428,39 @@
18267
18428
  searchInputInputRef.current.focus();
18268
18429
  }
18269
18430
  };
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))))))),
18431
+ const buildSearchTextInputGroup = (_a = {}) => {
18432
+ var searchInputProps = __rest$1(_a, []);
18433
+ return (React__namespace.createElement(TextInputGroup, Object.assign({ isDisabled: isDisabled }, searchInputProps),
18434
+ 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 }),
18435
+ value && (React__namespace.createElement(TextInputGroupUtilities, null,
18436
+ resultsCount && React__namespace.createElement(Badge, { isRead: true }, resultsCount),
18437
+ !!onNextClick && !!onPreviousClick && (React__namespace.createElement("div", { className: "pf-c-text-input-group__group" },
18438
+ React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, "aria-label": previousNavigationButtonAriaLabel, isDisabled: isDisabled || isPreviousNavigationButtonDisabled, onClick: onPreviousClick },
18439
+ React__namespace.createElement(AngleUpIcon$1, null)),
18440
+ React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, "aria-label": nextNavigationButtonAriaLabel, isDisabled: isDisabled || isNextNavigationButtonDisabled, onClick: onNextClick },
18441
+ React__namespace.createElement(AngleDownIcon$1, null)))),
18442
+ !!onClear && (React__namespace.createElement(Button, { variant: exports.ButtonVariant.plain, isDisabled: isDisabled, "aria-label": resetButtonLabel, onClick: onClearInput },
18443
+ React__namespace.createElement(TimesIcon$1, null)))))));
18444
+ };
18445
+ const buildSearchTextInputGroupWithExtraButtons = (_a = {}) => {
18446
+ var searchInputProps = __rest$1(_a, []);
18447
+ return (React__namespace.createElement(InputGroup, Object.assign({}, searchInputProps),
18448
+ buildSearchTextInputGroup(),
18289
18449
  (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
18450
  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 }))));
18451
+ !!onSearch && (React__namespace.createElement(Button, { type: "submit", variant: exports.ButtonVariant.control, "aria-label": submitSearchButtonLabel, onClick: onSearchHandler, isDisabled: isDisabled || !searchValue },
18452
+ React__namespace.createElement(ArrowRightIcon$1, null)))));
18453
+ };
18454
+ const searchInputProps = Object.assign(Object.assign({}, props), { className: className && css(className), innerRef: searchInputRef });
18455
+ if (!!onSearch || attributes.length > 0 || !!onToggleAdvancedSearch) {
18456
+ if (attributes.length > 0) {
18457
+ return (React__namespace.createElement("div", Object.assign({ className: css(className, styles$n.searchInput), ref: searchInputRef }, props),
18458
+ buildSearchTextInputGroupWithExtraButtons(),
18459
+ 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 })));
18460
+ }
18461
+ return buildSearchTextInputGroupWithExtraButtons(Object.assign({}, searchInputProps));
18462
+ }
18463
+ return buildSearchTextInputGroup(searchInputProps);
18294
18464
  };
18295
18465
  SearchInputBase.displayName = 'SearchInputBase';
18296
18466
  const SearchInput = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(SearchInputBase, Object.assign({}, props, { innerRef: ref }))));
@@ -18316,20 +18486,21 @@
18316
18486
  SidebarPanel.displayName = 'SidebarPanel';
18317
18487
 
18318
18488
  Promise.resolve().then(function () { return simpleList; });
18319
- var styles$m = {
18489
+ var styles$k = {
18320
18490
  "modifiers": {
18321
18491
  "current": "pf-m-current"
18322
18492
  },
18323
18493
  "simpleList": "pf-c-simple-list",
18324
18494
  "simpleListItemLink": "pf-c-simple-list__item-link",
18325
18495
  "simpleListSection": "pf-c-simple-list__section",
18326
- "simpleListTitle": "pf-c-simple-list__title"
18496
+ "simpleListTitle": "pf-c-simple-list__title",
18497
+ "themeDark": "pf-theme-dark"
18327
18498
  };
18328
18499
 
18329
18500
  const SimpleListGroup = (_a) => {
18330
18501
  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),
18502
+ return (React__namespace.createElement("section", Object.assign({ className: css(styles$k.simpleListSection) }, props),
18503
+ React__namespace.createElement("h2", { id: id, className: css(styles$k.simpleListTitle, titleClassName), "aria-hidden": "true" }, title),
18333
18504
  React__namespace.createElement("ul", { className: css(className), "aria-labelledby": id }, children)));
18334
18505
  };
18335
18506
  SimpleListGroup.displayName = 'SimpleListGroup';
@@ -18359,7 +18530,7 @@
18359
18530
  updateCurrentRef: this.handleCurrentUpdate,
18360
18531
  isControlled
18361
18532
  } },
18362
- React__namespace.createElement("div", Object.assign({ className: css(styles$m.simpleList, className) }, props),
18533
+ React__namespace.createElement("div", Object.assign({ className: css(styles$k.simpleList, className) }, props),
18363
18534
  isGrouped && children,
18364
18535
  !isGrouped && React__namespace.createElement("ul", null, children))));
18365
18536
  }
@@ -18392,7 +18563,7 @@
18392
18563
  href
18393
18564
  };
18394
18565
  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) => {
18566
+ React__namespace.createElement(Component, Object.assign({ className: css(styles$k.simpleListItemLink, isCurrentItem && styles$k.modifiers.current, componentClassName), onClick: (evt) => {
18396
18567
  onClick(evt);
18397
18568
  updateCurrentRef(this.ref, this.props);
18398
18569
  }, ref: this.ref }, componentProps, additionalComponentProps), children)));
@@ -18413,7 +18584,7 @@
18413
18584
  };
18414
18585
 
18415
18586
  Promise.resolve().then(function () { return skeleton; });
18416
- var styles$l = {
18587
+ var styles$j = {
18417
18588
  "modifiers": {
18418
18589
  "circle": "pf-m-circle",
18419
18590
  "square": "pf-m-square",
@@ -18442,15 +18613,16 @@
18442
18613
  "textMd": "pf-m-text-md",
18443
18614
  "textSm": "pf-m-text-sm"
18444
18615
  },
18445
- "skeleton": "pf-c-skeleton"
18616
+ "skeleton": "pf-c-skeleton",
18617
+ "themeDark": "pf-theme-dark"
18446
18618
  };
18447
18619
 
18448
18620
  const Skeleton = (_a) => {
18449
18621
  var { className, width, height, fontSize, shape, screenreaderText } = _a, props = __rest$1(_a, ["className", "width", "height", "fontSize", "shape", "screenreaderText"]);
18450
18622
  const fontHeightClassName = fontSize
18451
- ? Object.values(styles$l.modifiers).find(key => key === `pf-m-text-${fontSize}`)
18623
+ ? Object.values(styles$j.modifiers).find(key => key === `pf-m-text-${fontSize}`)
18452
18624
  : 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) && {
18625
+ 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
18626
  style: Object.assign({ '--pf-c-skeleton--Width': width ? width : undefined, '--pf-c-skeleton--Height': height ? height : undefined }, props.style)
18455
18627
  })),
18456
18628
  React__namespace.createElement("span", { className: "pf-u-screen-reader" }, screenreaderText)));
@@ -18458,7 +18630,7 @@
18458
18630
  Skeleton.displayName = 'Skeleton';
18459
18631
 
18460
18632
  Promise.resolve().then(function () { return skipToContent; });
18461
- var styles$k = {
18633
+ var styles$i = {
18462
18634
  "skipToContent": "pf-c-skip-to-content"
18463
18635
  };
18464
18636
 
@@ -18475,7 +18647,7 @@
18475
18647
  render() {
18476
18648
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
18477
18649
  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));
18650
+ 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
18651
  }
18480
18652
  }
18481
18653
  SkipToContent.displayName = 'SkipToContent';
@@ -18484,7 +18656,7 @@
18484
18656
  };
18485
18657
 
18486
18658
  Promise.resolve().then(function () { return slider; });
18487
- var styles$j = {
18659
+ var styles$h = {
18488
18660
  "formControl": "pf-c-form-control",
18489
18661
  "inputGroup": "pf-c-input-group",
18490
18662
  "inputGroupText": "pf-c-input-group__text",
@@ -18509,9 +18681,9 @@
18509
18681
  const SliderStep = (_a) => {
18510
18682
  var { className, label, value, isTickHidden = false, isLabelHidden = false, isActive = false } = _a, props = __rest$1(_a, ["className", "label", "value", "isTickHidden", "isLabelHidden", "isActive"]);
18511
18683
  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)));
18684
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$h.sliderStep, isActive && styles$h.modifiers.active, className), style: style }, props),
18685
+ !isTickHidden && React__namespace.createElement("div", { className: css(styles$h.sliderStepTick) }),
18686
+ !isLabelHidden && label && React__namespace.createElement("div", { className: css(styles$h.sliderStepLabel) }, label)));
18515
18687
  };
18516
18688
  SliderStep.displayName = 'SliderStep';
18517
18689
 
@@ -18697,7 +18869,7 @@
18697
18869
  }
18698
18870
  };
18699
18871
  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 }));
18872
+ 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
18873
  if (inputLabel) {
18702
18874
  return (React__namespace.createElement(InputGroup, null,
18703
18875
  textInput,
@@ -18723,28 +18895,28 @@
18723
18895
  }
18724
18896
  return builtSteps;
18725
18897
  };
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 => {
18898
+ 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 }));
18899
+ 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),
18900
+ leftActions && React__namespace.createElement("div", { className: css(styles$h.sliderActions) }, leftActions),
18901
+ React__namespace.createElement("div", { className: css(styles$h.sliderMain) },
18902
+ React__namespace.createElement("div", { className: css(styles$h.sliderRail), ref: sliderRailRef, onClick: !isDisabled ? onSliderRailClick : null },
18903
+ React__namespace.createElement("div", { className: css(styles$h.sliderRailTrack) })),
18904
+ customSteps && (React__namespace.createElement("div", { className: css(styles$h.sliderSteps), "aria-hidden": "true" }, customSteps.map(stepObj => {
18733
18905
  const minValue = customSteps[0].value;
18734
18906
  const maxValue = customSteps[customSteps.length - 1].value;
18735
18907
  const stepValue = getStepValue(stepObj.value, minValue, maxValue);
18736
18908
  return (React__namespace.createElement(SliderStep, { key: stepObj.value, value: stepValue, label: stepObj.label, isLabelHidden: stepObj.isLabelHidden, isActive: stepObj.value <= localValue }));
18737
18909
  }))),
18738
- !customSteps && (showTicks || showBoundaries) && (React__namespace.createElement("div", { className: css(styles$j.sliderSteps), "aria-hidden": "true" }, buildSteps())),
18910
+ !customSteps && (showTicks || showBoundaries) && (React__namespace.createElement("div", { className: css(styles$h.sliderSteps), "aria-hidden": "true" }, buildSteps())),
18739
18911
  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)));
18912
+ isInputVisible && inputPosition === 'aboveThumb' && (React__namespace.createElement("div", { className: css(styles$h.sliderValue, styles$h.modifiers.floating) }, displayInput()))),
18913
+ isInputVisible && inputPosition === 'right' && React__namespace.createElement("div", { className: css(styles$h.sliderValue) }, displayInput()),
18914
+ rightActions && React__namespace.createElement("div", { className: css(styles$h.sliderActions) }, rightActions)));
18743
18915
  };
18744
18916
  Slider.displayName = 'Slider';
18745
18917
 
18746
18918
  Promise.resolve().then(function () { return _switch; });
18747
- var styles$i = {
18919
+ var styles$g = {
18748
18920
  "modifiers": {
18749
18921
  "reverse": "pf-m-reverse",
18750
18922
  "off": "pf-m-off",
@@ -18754,7 +18926,8 @@
18754
18926
  "switchInput": "pf-c-switch__input",
18755
18927
  "switchLabel": "pf-c-switch__label",
18756
18928
  "switchToggle": "pf-c-switch__toggle",
18757
- "switchToggleIcon": "pf-c-switch__toggle-icon"
18929
+ "switchToggleIcon": "pf-c-switch__toggle-icon",
18930
+ "themeDark": "pf-theme-dark"
18758
18931
  };
18759
18932
 
18760
18933
  class Switch extends React__namespace.Component {
@@ -18774,14 +18947,14 @@
18774
18947
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
18775
18948
  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
18949
  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)),
18950
+ 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)),
18951
+ 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
18952
  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" },
18953
+ React__namespace.createElement("span", { className: css(styles$g.switchToggle) }, hasCheckIcon && (React__namespace.createElement("span", { className: css(styles$g.switchToggleIcon), "aria-hidden": "true" },
18781
18954
  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" },
18955
+ React__namespace.createElement("span", { className: css(styles$g.switchLabel, styles$g.modifiers.on), id: isAriaLabelledBy ? `${this.id}-on` : null, "aria-hidden": "true" }, label),
18956
+ 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) },
18957
+ React__namespace.createElement("div", { className: css(styles$g.switchToggleIcon), "aria-hidden": "true" },
18785
18958
  React__namespace.createElement(CheckIcon$1, { noVerticalAlign: true }))))));
18786
18959
  }
18787
18960
  }
@@ -18795,7 +18968,7 @@
18795
18968
  };
18796
18969
 
18797
18970
  Promise.resolve().then(function () { return tabs; });
18798
- var styles$h = {
18971
+ var styles$f = {
18799
18972
  "button": "pf-c-button",
18800
18973
  "modifiers": {
18801
18974
  "fill": "pf-m-fill",
@@ -18874,7 +19047,8 @@
18874
19047
  "tabsToggle": "pf-c-tabs__toggle",
18875
19048
  "tabsToggleButton": "pf-c-tabs__toggle-button",
18876
19049
  "tabsToggleIcon": "pf-c-tabs__toggle-icon",
18877
- "tabsToggleText": "pf-c-tabs__toggle-text"
19050
+ "tabsToggleText": "pf-c-tabs__toggle-text",
19051
+ "themeDark": "pf-theme-dark"
18878
19052
  };
18879
19053
 
18880
19054
  const TabButton = (_a) => {
@@ -18917,12 +19091,12 @@
18917
19091
  return null;
18918
19092
  }
18919
19093
  };
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" },
19094
+ 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));
19095
+ 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
19096
  tooltip ? React__namespace.createElement(Tooltip, Object.assign({}, tooltip.props), tabButton) : tabButton,
18923
- handleTabClose !== undefined && (React__namespace.createElement("span", { className: css(styles$h.tabsItemClose) },
19097
+ handleTabClose !== undefined && (React__namespace.createElement("span", { className: css(styles$f.tabsItemClose) },
18924
19098
  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) },
19099
+ React__namespace.createElement("span", { className: css(styles$f.tabsItemCloseIcon) },
18926
19100
  React__namespace.createElement(TimesIcon$1, null)))))));
18927
19101
  };
18928
19102
  const Tab = React__namespace.forwardRef((props, ref) => React__namespace.createElement(TabBase, Object.assign({ innerRef: ref }, props)));
@@ -18942,7 +19116,7 @@
18942
19116
  var PlusIcon$1 = PlusIcon;
18943
19117
 
18944
19118
  Promise.resolve().then(function () { return tabContent; });
18945
- var styles$g = {
19119
+ var styles$e = {
18946
19120
  "modifiers": {
18947
19121
  "light_300": "pf-m-light-300",
18948
19122
  "padding": "pf-m-padding"
@@ -18953,7 +19127,7 @@
18953
19127
 
18954
19128
  const variantStyle$1 = {
18955
19129
  default: '',
18956
- light300: styles$g.modifiers.light_300
19130
+ light300: styles$e.modifiers.light_300
18957
19131
  };
18958
19132
  const TabContentBase = (_a) => {
18959
19133
  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 +19154,7 @@
18980
19154
  })(exports.TabsComponent || (exports.TabsComponent = {}));
18981
19155
  const variantStyle = {
18982
19156
  default: '',
18983
- light300: styles$h.modifiers.colorSchemeLight_300
19157
+ light300: styles$f.modifiers.colorSchemeLight_300
18984
19158
  };
18985
19159
  class Tabs extends React__namespace.Component {
18986
19160
  constructor(props) {
@@ -19152,19 +19326,19 @@
19152
19326
  handleTabClick: (...args) => this.handleTabClick(...args),
19153
19327
  handleTabClose: onClose
19154
19328
  } },
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) },
19329
+ 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),
19330
+ expandable && isVertical && (React__namespace.createElement(GenerateId, null, randomId => (React__namespace.createElement("div", { className: css(styles$f.tabsToggle) },
19331
+ React__namespace.createElement("div", { className: css(styles$f.tabsToggleButton) },
19158
19332
  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) },
19333
+ React__namespace.createElement("span", { className: css(styles$f.tabsToggleIcon) },
19160
19334
  React__namespace.createElement(AngleRightIcon$1, { "arian-hidden": "true" })),
19161
19335
  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 },
19336
+ 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
19337
  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 },
19338
+ React__namespace.createElement("ul", { className: css(styles$f.tabsList), ref: this.tabList, onScroll: this.handleScrollButtons, role: "tablist" }, filteredChildren),
19339
+ 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
19340
  React__namespace.createElement(AngleRightIcon$1, null)),
19167
- onAdd !== undefined && (React__namespace.createElement("span", { className: css(styles$h.tabsAdd) },
19341
+ onAdd !== undefined && (React__namespace.createElement("span", { className: css(styles$f.tabsAdd) },
19168
19342
  React__namespace.createElement(Button, { variant: "plain", "aria-label": addButtonAriaLabel || 'Add tab', onClick: onAdd },
19169
19343
  React__namespace.createElement(PlusIcon$1, null))))),
19170
19344
  filteredChildren
@@ -19196,30 +19370,31 @@
19196
19370
 
19197
19371
  const TabContentBody = (_a) => {
19198
19372
  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));
19373
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$e.tabContentBody, hasPadding && styles$e.modifiers.padding, className) }, props), children));
19200
19374
  };
19201
19375
  TabContentBody.displayName = 'TabContentBody';
19202
19376
 
19203
19377
  const TabTitleText = (_a) => {
19204
19378
  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));
19379
+ return (React__namespace.createElement("span", Object.assign({ className: css(styles$f.tabsItemText, className) }, props), children));
19206
19380
  };
19207
19381
  TabTitleText.displayName = 'TabTitleText';
19208
19382
 
19209
19383
  const TabTitleIcon = (_a) => {
19210
19384
  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));
19385
+ return (React__namespace.createElement("span", Object.assign({ className: css(styles$f.tabsItemIcon, className) }, props), children));
19212
19386
  };
19213
19387
  TabTitleIcon.displayName = 'TabTitleIcon';
19214
19388
 
19215
19389
  Promise.resolve().then(function () { return tile; });
19216
- var styles$f = {
19390
+ var styles$d = {
19217
19391
  "modifiers": {
19218
19392
  "selected": "pf-m-selected",
19219
19393
  "disabled": "pf-m-disabled",
19220
19394
  "displayLg": "pf-m-display-lg",
19221
19395
  "stacked": "pf-m-stacked"
19222
19396
  },
19397
+ "themeDark": "pf-theme-dark",
19223
19398
  "tile": "pf-c-tile",
19224
19399
  "tileBody": "pf-c-tile__body",
19225
19400
  "tileHeader": "pf-c-tile__header",
@@ -19229,11 +19404,11 @@
19229
19404
 
19230
19405
  const Tile = (_a) => {
19231
19406
  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)));
19407
+ 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),
19408
+ React__namespace.createElement("div", { className: css(styles$d.tileHeader, isStacked && styles$d.modifiers.stacked) },
19409
+ icon && React__namespace.createElement("div", { className: css(styles$d.tileIcon) }, icon),
19410
+ React__namespace.createElement("div", { className: css(styles$d.tileTitle) }, title)),
19411
+ children && React__namespace.createElement("div", { className: css(styles$d.tileBody) }, children)));
19237
19412
  };
19238
19413
  Tile.displayName = 'Tile';
19239
19414
 
@@ -19709,12 +19884,13 @@
19709
19884
  };
19710
19885
 
19711
19886
  Promise.resolve().then(function () { return toggleGroup; });
19712
- var styles$e = {
19887
+ var styles$c = {
19713
19888
  "modifiers": {
19714
19889
  "compact": "pf-m-compact",
19715
19890
  "selected": "pf-m-selected",
19716
19891
  "disabled": "pf-m-disabled"
19717
19892
  },
19893
+ "themeDark": "pf-theme-dark",
19718
19894
  "toggleGroup": "pf-c-toggle-group",
19719
19895
  "toggleGroupButton": "pf-c-toggle-group__button",
19720
19896
  "toggleGroupIcon": "pf-c-toggle-group__icon",
@@ -19727,7 +19903,7 @@
19727
19903
  ToggleGroupItemVariant["icon"] = "icon";
19728
19904
  ToggleGroupItemVariant["text"] = "text";
19729
19905
  })(ToggleGroupItemVariant || (ToggleGroupItemVariant = {}));
19730
- const ToggleGroupItemElement = ({ variant, children }) => (React__namespace.createElement("span", { className: css(variant === 'icon' && styles$e.toggleGroupIcon, variant === 'text' && styles$e.toggleGroupText) }, children));
19906
+ const ToggleGroupItemElement = ({ variant, children }) => (React__namespace.createElement("span", { className: css(variant === 'icon' && styles$c.toggleGroupIcon, variant === 'text' && styles$c.toggleGroupText) }, children));
19731
19907
  ToggleGroupItemElement.displayName = 'ToggleGroupItemElement';
19732
19908
 
19733
19909
  const ToggleGroupItem = (_a) => {
@@ -19739,8 +19915,8 @@
19739
19915
  /* eslint-disable no-console */
19740
19916
  console.warn('An accessible aria-label is required when using the toggle group item icon variant.');
19741
19917
  }
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 })),
19918
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$c.toggleGroupItem, className) }, props),
19919
+ 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
19920
  icon ? React__namespace.createElement(ToggleGroupItemElement, { variant: ToggleGroupItemVariant.icon }, icon) : null,
19745
19921
  text ? React__namespace.createElement(ToggleGroupItemElement, { variant: ToggleGroupItemVariant.text }, text) : null)));
19746
19922
  };
@@ -19754,12 +19930,12 @@
19754
19930
  ? child
19755
19931
  : React__namespace.cloneElement(child, areAllGroupsDisabled ? { isDisabled: true } : {});
19756
19932
  });
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));
19933
+ 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
19934
  };
19759
19935
  ToggleGroup.displayName = 'ToggleGroup';
19760
19936
 
19761
19937
  Promise.resolve().then(function () { return toolbar; });
19762
- var styles$d = {
19938
+ var styles$b = {
19763
19939
  "button": "pf-c-button",
19764
19940
  "chipGroup": "pf-c-chip-group",
19765
19941
  "divider": "pf-c-divider",
@@ -19955,7 +20131,7 @@
19955
20131
  const ToolbarItem = (_a) => {
19956
20132
  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
20133
  if (variant === exports.ToolbarItemVariant.separator) {
19958
- return React__namespace.createElement(Divider, Object.assign({ className: css(styles$d.modifiers.vertical, className) }, props));
20134
+ return React__namespace.createElement(Divider, Object.assign({ className: css(styles$b.modifiers.vertical, className) }, props));
19959
20135
  }
19960
20136
  if (visiblity !== undefined) {
19961
20137
  // eslint-disable-next-line no-console
@@ -19966,8 +20142,8 @@
19966
20142
  if (widths) {
19967
20143
  Object.entries(widths || {}).map(([breakpoint, value]) => (widthStyles[`--pf-c-toolbar__item--Width${breakpoint !== 'default' ? `-on-${breakpoint}` : ''}`] = value));
19968
20144
  }
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))));
20145
+ return (React__namespace.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React__namespace.createElement("div", Object.assign({ className: css(styles$b.toolbarItem, variant &&
20146
+ 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
20147
  };
19972
20148
  ToolbarItem.displayName = 'ToolbarItem';
19973
20149
 
@@ -19985,7 +20161,7 @@
19985
20161
  console.warn('The ToolbarGroup visiblity prop has been deprecated. ' +
19986
20162
  'Please use the correctly spelled visibility prop instead.');
19987
20163
  }
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))));
20164
+ 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
20165
  }
19990
20166
  }
19991
20167
  const ToolbarGroup = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(ToolbarGroupWithRef, Object.assign({}, props, { innerRef: ref }))));
@@ -20004,8 +20180,8 @@
20004
20180
  collapseListedFilters =
20005
20181
  (canUseDOM ? window.innerWidth : 1200) < globalBreakpoints[collapseListedFiltersBreakpoint];
20006
20182
  }
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 }))),
20183
+ 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),
20184
+ React__namespace.createElement(ToolbarGroup, Object.assign({ className: css(collapseListedFilters && styles$b.modifiers.hidden) }, (collapseListedFilters && { hidden: true }), (collapseListedFilters && { 'aria-hidden': true }))),
20009
20185
  collapseListedFilters && numberOfFilters > 0 && !isExpanded && (React__namespace.createElement(ToolbarGroup, null,
20010
20186
  React__namespace.createElement(ToolbarItem, null, numberOfFiltersText(numberOfFilters)))),
20011
20187
  showClearFiltersButton && !isExpanded && !customChipGroupContent && (React__namespace.createElement(ToolbarItem, null,
@@ -20061,7 +20237,7 @@
20061
20237
  const isExpanded = isToggleManaged ? isManagedToggleExpanded : isExpandedProp;
20062
20238
  const numberOfFilters = this.getNumberOfFilters();
20063
20239
  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),
20240
+ 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
20241
  React__namespace.createElement(ToolbarContext.Provider, { value: {
20066
20242
  isExpanded,
20067
20243
  toggleIsExpanded: isToggleManaged ? this.toggleIsExpanded : toggleIsExpanded,
@@ -20103,9 +20279,9 @@
20103
20279
  const clearChipGroups = () => {
20104
20280
  clearAllFilters();
20105
20281
  };
20106
- return (React__namespace.createElement("div", Object.assign({ className: css(styles$d.toolbarExpandableContent, className), ref: expandableContentRef }, props),
20282
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$b.toolbarExpandableContent, className), ref: expandableContentRef }, props),
20107
20283
  React__namespace.createElement(ToolbarGroup, null),
20108
- numberOfFilters > 0 && (React__namespace.createElement(ToolbarGroup, { className: styles$d.modifiers.chipContainer },
20284
+ numberOfFilters > 0 && (React__namespace.createElement(ToolbarGroup, { className: styles$b.modifiers.chipContainer },
20109
20285
  React__namespace.createElement(ToolbarGroup, { ref: chipContainerRef }),
20110
20286
  showClearFiltersButton && !customChipGroupContent && (React__namespace.createElement(ToolbarItem, null,
20111
20287
  React__namespace.createElement(Button, { variant: "link", onClick: clearChipGroups, isInline: true }, clearFiltersButtonText))),
@@ -20132,7 +20308,7 @@
20132
20308
  console.warn('The ToolbarContent visiblity prop has been deprecated. ' +
20133
20309
  'Please use the correctly spelled visibility prop instead.');
20134
20310
  }
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),
20311
+ 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
20312
  React__namespace.createElement(ToolbarContext.Consumer, null, ({ clearAllFilters: clearAllFiltersContext, clearFiltersButtonText: clearFiltersButtonContext, showClearFiltersButton: showClearFiltersButtonContext, toolbarId: toolbarIdContext }) => {
20137
20313
  const expandableContentId = `${toolbarId ||
20138
20314
  toolbarIdContext}-expandable-content-${ToolbarContent.currentId++}`;
@@ -20141,7 +20317,7 @@
20141
20317
  expandableContentId,
20142
20318
  chipContainerRef: this.chipContainerRef
20143
20319
  } },
20144
- React__namespace.createElement("div", { className: css(styles$d.toolbarContentSection) }, children),
20320
+ React__namespace.createElement("div", { className: css(styles$b.toolbarContentSection) }, children),
20145
20321
  React__namespace.createElement(ToolbarExpandableContent, { id: expandableContentId, isExpanded: isExpanded, expandableContentRef: this.expandableContentRef, chipContainerRef: this.chipContainerRef, clearAllFilters: clearAllFilters || clearAllFiltersContext, showClearFiltersButton: showClearFiltersButton || showClearFiltersButtonContext, clearFiltersButtonText: clearFiltersButtonText || clearFiltersButtonContext })));
20146
20322
  })))));
20147
20323
  }
@@ -20155,7 +20331,7 @@
20155
20331
 
20156
20332
  const ToolbarExpandIconWrapper = (_a) => {
20157
20333
  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));
20334
+ return (React__namespace.createElement("span", Object.assign({}, props, { className: css(styles$b.toolbarExpandAllIcon, className) }), children));
20159
20335
  };
20160
20336
  ToolbarExpandIconWrapper.displayName = 'ToolbarExpandIconWrapper';
20161
20337
 
@@ -20227,17 +20403,17 @@
20227
20403
  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
20404
  if (expandableContentRef.current && expandableContentRef.current.classList) {
20229
20405
  if (isExpanded) {
20230
- expandableContentRef.current.classList.add(styles$d.modifiers.expanded);
20406
+ expandableContentRef.current.classList.add(styles$b.modifiers.expanded);
20231
20407
  }
20232
20408
  else {
20233
- expandableContentRef.current.classList.remove(styles$d.modifiers.expanded);
20409
+ expandableContentRef.current.classList.remove(styles$b.modifiers.expanded);
20234
20410
  }
20235
20411
  }
20236
20412
  const breakpointMod = {};
20237
20413
  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) },
20414
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$b.toolbarGroup, styles$b.modifiers.toggleGroup, variant &&
20415
+ 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),
20416
+ React__namespace.createElement("div", { className: css(styles$b.toolbarToggle) },
20241
20417
  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
20418
  isExpanded
20243
20419
  ? ReactDOM__namespace.createPortal(children, expandableContentRef.current.firstElementChild)
@@ -20248,7 +20424,7 @@
20248
20424
  ToolbarToggleGroup.displayName = 'ToolbarToggleGroup';
20249
20425
 
20250
20426
  Promise.resolve().then(function () { return numberInput; });
20251
- var styles$c = {
20427
+ var styles$a = {
20252
20428
  "formControl": "pf-c-form-control",
20253
20429
  "inputGroup": "pf-c-input-group",
20254
20430
  "numberInput": "pf-c-number-input",
@@ -20268,19 +20444,19 @@
20268
20444
  };
20269
20445
  const NumberInput = (_a) => {
20270
20446
  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);
20447
+ const numberInputUnit = React__namespace.createElement("div", { className: css(styles$a.numberInputUnit) }, unit);
20272
20448
  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 && {
20449
+ return (React__namespace.createElement("div", Object.assign({ className: css(styles$a.numberInput, className) }, (widthChars && {
20274
20450
  style: Object.assign({ '--pf-c-number-input--c-form-control--width-chars': widthChars }, props.style)
20275
20451
  }), props),
20276
20452
  unit && unitPosition === 'before' && numberInputUnit,
20277
20453
  React__namespace.createElement(InputGroup, null,
20278
20454
  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) },
20455
+ React__namespace.createElement("span", { className: css(styles$a.numberInputIcon) },
20280
20456
  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 })),
20457
+ 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
20458
  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) },
20459
+ React__namespace.createElement("span", { className: css(styles$a.numberInputIcon) },
20284
20460
  React__namespace.createElement(PlusIcon$1, { "aria-hidden": "true" })))),
20285
20461
  unit && unitPosition === 'after' && numberInputUnit));
20286
20462
  };
@@ -20297,7 +20473,7 @@
20297
20473
  TreeViewList.displayName = 'TreeViewList';
20298
20474
 
20299
20475
  Promise.resolve().then(function () { return treeView; });
20300
- var styles$b = {
20476
+ var styles$9 = {
20301
20477
  "badge": "pf-c-badge",
20302
20478
  "modifiers": {
20303
20479
  "compact": "pf-m-compact",
@@ -20308,6 +20484,7 @@
20308
20484
  "read": "pf-m-read",
20309
20485
  "truncate": "pf-m-truncate"
20310
20486
  },
20487
+ "themeDark": "pf-theme-dark",
20311
20488
  "treeView": "pf-c-tree-view",
20312
20489
  "treeViewAction": "pf-c-tree-view__action",
20313
20490
  "treeViewContent": "pf-c-tree-view__content",
@@ -20341,36 +20518,36 @@
20341
20518
  }, [isExpanded, defaultExpanded]);
20342
20519
  const Component = hasCheck ? 'div' : 'button';
20343
20520
  const ToggleComponent = hasCheck ? 'button' : 'div';
20344
- const renderToggle = (randomId) => (React__default["default"].createElement(ToggleComponent, Object.assign({ className: css(styles$b.treeViewNodeToggle), onClick: () => {
20521
+ const renderToggle = (randomId) => (React__default["default"].createElement(ToggleComponent, Object.assign({ className: css(styles$9.treeViewNodeToggle), onClick: () => {
20345
20522
  if (hasCheck) {
20346
20523
  setIsExpanded(!internalIsExpanded);
20347
20524
  }
20348
20525
  } }, (hasCheck && { 'aria-labelledby': `label-${randomId}` }), { tabIndex: -1 }),
20349
- React__default["default"].createElement("span", { className: css(styles$b.treeViewNodeToggleIcon) },
20526
+ React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeToggleIcon) },
20350
20527
  React__default["default"].createElement(AngleRightIcon$1, { "aria-hidden": "true" }))));
20351
- const renderCheck = (randomId) => (React__default["default"].createElement("span", { className: css(styles$b.treeViewNodeCheck) },
20528
+ const renderCheck = (randomId) => (React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeCheck) },
20352
20529
  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) },
20530
+ const iconRendered = (React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeIcon) },
20354
20531
  !internalIsExpanded && icon,
20355
20532
  internalIsExpanded && (expandedIcon || icon)));
20356
20533
  const renderNodeContent = (randomId) => {
20357
20534
  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;
20535
+ isCompact && title && React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeTitle) }, title),
20536
+ 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))));
20537
+ return isCompact ? React__default["default"].createElement("div", { className: css(styles$9.treeViewNodeContent) }, content) : content;
20361
20538
  };
20362
20539
  const badgeRendered = (React__default["default"].createElement(React__default["default"].Fragment, null,
20363
- hasBadge && children && (React__default["default"].createElement("span", { className: css(styles$b.treeViewNodeCount) },
20540
+ hasBadge && children && (React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeCount) },
20364
20541
  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) },
20542
+ hasBadge && !children && customBadgeContent !== undefined && (React__default["default"].createElement("span", { className: css(styles$9.treeViewNodeCount) },
20366
20543
  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 &&
20544
+ 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 }),
20545
+ React__default["default"].createElement("div", { className: css(styles$9.treeViewContent) },
20546
+ React__default["default"].createElement(GenerateId, { prefix: "checkbox-id" }, randomId => (React__default["default"].createElement(Component, { className: css(styles$9.treeViewNode, !children &&
20370
20547
  activeItems &&
20371
20548
  activeItems.length > 0 &&
20372
20549
  activeItems.some(item => compareItems && item && compareItems(item, itemData))
20373
- ? styles$b.modifiers.current
20550
+ ? styles$9.modifiers.current
20374
20551
  : ''), onClick: (evt) => {
20375
20552
  if (!hasCheck) {
20376
20553
  onSelect && onSelect(evt, itemData, parentItem);
@@ -20379,13 +20556,13 @@
20379
20556
  }
20380
20557
  }
20381
20558
  }, tabIndex: -1 },
20382
- React__default["default"].createElement("div", { className: css(styles$b.treeViewNodeContainer) },
20559
+ React__default["default"].createElement("div", { className: css(styles$9.treeViewNodeContainer) },
20383
20560
  children && renderToggle(randomId),
20384
20561
  hasCheck && renderCheck(randomId),
20385
20562
  icon && iconRendered,
20386
20563
  renderNodeContent(randomId),
20387
20564
  badgeRendered)))),
20388
- action && React__default["default"].createElement("div", { className: css(styles$b.treeViewAction) }, action)),
20565
+ action && React__default["default"].createElement("div", { className: css(styles$9.treeViewAction) }, action)),
20389
20566
  internalIsExpanded && children));
20390
20567
  };
20391
20568
  const TreeViewListItem = React__default["default"].memo(TreeViewListItemBase, (prevProps, nextProps) => {
@@ -20519,8 +20696,8 @@
20519
20696
  };
20520
20697
  this.variantStyleModifiers = {
20521
20698
  default: '',
20522
- compact: styles$b.modifiers.compact,
20523
- compactNoBackground: [styles$b.modifiers.compact, styles$b.modifiers.noBackground]
20699
+ compact: styles$9.modifiers.compact,
20700
+ compactNoBackground: [styles$9.modifiers.compact, styles$9.modifiers.noBackground]
20524
20701
  };
20525
20702
  }
20526
20703
  componentDidMount() {
@@ -20549,7 +20726,7 @@
20549
20726
  render() {
20550
20727
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
20551
20728
  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));
20729
+ 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
20730
  }
20554
20731
  }
20555
20732
 
@@ -20567,13 +20744,13 @@
20567
20744
 
20568
20745
  const TreeViewSearch = (_a) => {
20569
20746
  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) },
20747
+ return (React__namespace.createElement("div", { className: css(styles$9.treeViewSearch, className) },
20571
20748
  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
20749
  };
20573
20750
  TreeViewSearch.displayName = 'TreeViewSearch';
20574
20751
 
20575
20752
  Promise.resolve().then(function () { return wizard; });
20576
- var styles$a = {
20753
+ var styles$8 = {
20577
20754
  "button": "pf-c-button",
20578
20755
  "card": "pf-c-card",
20579
20756
  "drawer": "pf-c-drawer",
@@ -20587,6 +20764,7 @@
20587
20764
  "noPadding": "pf-m-no-padding"
20588
20765
  },
20589
20766
  "pageMainWizard": "pf-c-page__main-wizard",
20767
+ "themeDark": "pf-theme-dark",
20590
20768
  "wizard": "pf-c-wizard",
20591
20769
  "wizardClose": "pf-c-wizard__close",
20592
20770
  "wizardDescription": "pf-c-wizard__description",
@@ -20613,17 +20791,17 @@
20613
20791
  "wizardToggleSeparator": "pf-c-wizard__toggle-separator"
20614
20792
  };
20615
20793
 
20616
- const WizardFooterInternal = ({ onNext, onBack, onClose, isValid, firstStep, activeStep, nextButtonText, backButtonText, cancelButtonText }) => (React__namespace.createElement("footer", { className: css(styles$a.wizardFooter) },
20794
+ const WizardFooterInternal = ({ onNext, onBack, onClose, isValid, firstStep, activeStep, nextButtonText, backButtonText, cancelButtonText }) => (React__namespace.createElement("footer", { className: css(styles$8.wizardFooter) },
20617
20795
  React__namespace.createElement(Button, { variant: exports.ButtonVariant.primary, type: "submit", onClick: onNext, isDisabled: !isValid }, nextButtonText),
20618
20796
  !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 },
20797
+ !activeStep.hideCancelButton && (React__namespace.createElement("div", { className: styles$8.wizardFooterCancel },
20620
20798
  React__namespace.createElement(Button, { variant: exports.ButtonVariant.link, onClick: onClose }, cancelButtonText)))));
20621
20799
  WizardFooterInternal.displayName = 'WizardFooterInternal';
20622
20800
 
20623
20801
  const WizardBody = ({ children, hasNoBodyPadding = false, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, mainComponent = 'div' }) => {
20624
20802
  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)));
20803
+ return (React__namespace.createElement(MainComponent, { "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, className: css(styles$8.wizardMain) },
20804
+ React__namespace.createElement("div", { className: css(styles$8.wizardMainBody, hasNoBodyPadding && styles$8.modifiers.noPadding) }, children)));
20627
20805
  };
20628
20806
  WizardBody.displayName = 'WizardBody';
20629
20807
 
@@ -20649,18 +20827,18 @@
20649
20827
  }
20650
20828
  }
20651
20829
  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),
20830
+ React__namespace.createElement("button", { onClick: () => onNavToggle(!isNavOpen), className: css(styles$8.wizardToggle, isNavOpen && 'pf-m-expanded'), "aria-label": ariaLabel, "aria-expanded": isNavOpen },
20831
+ React__namespace.createElement("span", { className: css(styles$8.wizardToggleList) },
20832
+ React__namespace.createElement("span", { className: css(styles$8.wizardToggleListItem) },
20833
+ React__namespace.createElement("span", { className: css(styles$8.wizardToggleNum) }, activeStepIndex),
20656
20834
  " ",
20657
20835
  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) },
20836
+ activeStepSubName && React__namespace.createElement(AngleRightIcon$1, { className: css(styles$8.wizardToggleSeparator), "aria-hidden": "true" })),
20837
+ activeStepSubName && React__namespace.createElement("span", { className: css(styles$8.wizardToggleListItem) }, activeStepSubName)),
20838
+ React__namespace.createElement("span", { className: css(styles$8.wizardToggleIcon) },
20661
20839
  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) },
20840
+ React__namespace.createElement("div", { className: css(styles$8.wizardOuterWrap) },
20841
+ React__namespace.createElement("div", { className: css(styles$8.wizardInnerWrap) },
20664
20842
  nav(isNavOpen),
20665
20843
  React__namespace.createElement(WizardBody, { mainComponent: isInPage ? 'div' : 'main', "aria-label": mainAriaLabel, "aria-labelledby": mainAriaLabelledBy, hasNoBodyPadding: hasNoBodyPadding }, activeStep.component)),
20666
20844
  children)));
@@ -20668,12 +20846,12 @@
20668
20846
  WizardToggle.displayName = 'WizardToggle';
20669
20847
 
20670
20848
  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);
20849
+ const innerList = React__namespace.createElement("ol", { className: css(styles$8.wizardNavList) }, children);
20672
20850
  if (returnList) {
20673
20851
  return innerList;
20674
20852
  }
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)));
20853
+ return (React__namespace.createElement("nav", { className: css(styles$8.wizardNav, isOpen && styles$8.modifiers.expanded), "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy },
20854
+ React__namespace.createElement("ol", { className: css(styles$8.wizardNavList) }, children)));
20677
20855
  };
20678
20856
  WizardNav.displayName = 'WizardNav';
20679
20857
 
@@ -20695,11 +20873,11 @@
20695
20873
  tabIndex: isDisabled ? -1 : undefined,
20696
20874
  href
20697
20875
  };
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) },
20876
+ return (React__namespace.createElement("li", { className: css(styles$8.wizardNavItem, isExpandable && styles$8.modifiers.expandable, isExpandable && isExpanded && styles$8.modifiers.expanded) },
20877
+ 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,
20878
+ React__namespace.createElement("span", { className: css(styles$8.wizardNavLinkText) }, content),
20879
+ React__namespace.createElement("span", { className: css(styles$8.wizardNavLinkToggle) },
20880
+ React__namespace.createElement("span", { className: css(styles$8.wizardNavLinkToggleIcon) },
20703
20881
  React__namespace.createElement(AngleRightIcon$1, null))))) : (content)),
20704
20882
  children));
20705
20883
  };
@@ -20716,11 +20894,11 @@
20716
20894
  const WizardContextProvider = WizardContext.Provider;
20717
20895
  const WizardContextConsumer = WizardContext.Consumer;
20718
20896
 
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 },
20897
+ const WizardHeader = ({ onClose = () => undefined, title, description, hideClose, closeButtonAriaLabel, titleId, descriptionComponent: Component = 'p', descriptionId }) => (React__namespace.createElement("div", { className: css(styles$8.wizardHeader) },
20898
+ !hideClose && (React__namespace.createElement(Button, { variant: "plain", className: css(styles$8.wizardClose), "aria-label": closeButtonAriaLabel, onClick: onClose },
20721
20899
  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))));
20900
+ 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")),
20901
+ description && (React__namespace.createElement(Component, { className: css(styles$8.wizardDescription), id: descriptionId }, description))));
20724
20902
  WizardHeader.displayName = 'WizardHeader';
20725
20903
 
20726
20904
  class Wizard extends React__namespace.Component {
@@ -20947,7 +21125,7 @@
20947
21125
  };
20948
21126
  const divStyles = Object.assign(Object.assign({}, (height ? { height } : {})), (width ? { width } : {}));
20949
21127
  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 }),
21128
+ 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
21129
  title && (React__namespace.createElement(WizardHeader, { titleId: this.titleId, descriptionId: this.descriptionId, onClose: onClose, title: title, description: description, descriptionComponent: descriptionComponent, closeButtonAriaLabel: closeButtonAriaLabel, hideClose: hideClose })),
20952
21130
  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
21131
  if (isOpen !== undefined) {
@@ -20986,7 +21164,7 @@
20986
21164
  isNavExpandable: false
20987
21165
  };
20988
21166
 
20989
- const WizardFooter = ({ children }) => (React__namespace.createElement("footer", { className: css(styles$a.wizardFooter) }, children));
21167
+ const WizardFooter = ({ children }) => (React__namespace.createElement("footer", { className: css(styles$8.wizardFooter) }, children));
20990
21168
  WizardFooter.displayName = 'WizardFooter';
20991
21169
 
20992
21170
  const DragDropContext = React__namespace.createContext({
@@ -20998,7 +21176,7 @@
20998
21176
  DragDrop.displayName = 'DragDrop';
20999
21177
 
21000
21178
  Promise.resolve().then(function () { return dragDrop; });
21001
- var styles$9 = {
21179
+ var styles$7 = {
21002
21180
  "draggable": "pf-c-draggable",
21003
21181
  "droppable": "pf-c-droppable",
21004
21182
  "modifiers": {
@@ -21047,8 +21225,8 @@
21047
21225
  // Reset per-element state
21048
21226
  function resetDroppableItem(droppableItem) {
21049
21227
  removeBlankDiv(droppableItem.node);
21050
- droppableItem.node.classList.remove(styles$9.modifiers.dragging);
21051
- droppableItem.node.classList.remove(styles$9.modifiers.dragOutside);
21228
+ droppableItem.node.classList.remove(styles$7.modifiers.dragging);
21229
+ droppableItem.node.classList.remove(styles$7.modifiers.dragOutside);
21052
21230
  droppableItem.draggableNodes.forEach((n, i) => {
21053
21231
  n.style.transform = '';
21054
21232
  n.style.transition = '';
@@ -21123,7 +21301,7 @@
21123
21301
  const { node, rect, isDraggingHost, draggableNodes, draggableNodesRects } = droppableItem;
21124
21302
  if (overlaps(ev, rect)) {
21125
21303
  // Add valid dropzone style
21126
- node.classList.remove(styles$9.modifiers.dragOutside);
21304
+ node.classList.remove(styles$7.modifiers.dragOutside);
21127
21305
  hoveringDroppable = node;
21128
21306
  // Check if we need to add a blank div row
21129
21307
  if (node.getAttribute('blankDiv') !== 'true' && !isDraggingHost) {
@@ -21159,8 +21337,8 @@
21159
21337
  }
21160
21338
  else {
21161
21339
  resetDroppableItem(droppableItem);
21162
- node.classList.add(styles$9.modifiers.dragging);
21163
- node.classList.add(styles$9.modifiers.dragOutside);
21340
+ node.classList.add(styles$7.modifiers.dragging);
21341
+ node.classList.add(styles$7.modifiers.dragOutside);
21164
21342
  }
21165
21343
  });
21166
21344
  // Move hovering draggable and style it based on cursor position
@@ -21208,7 +21386,7 @@
21208
21386
  const rect = dragging.getBoundingClientRect();
21209
21387
  const droppableNodes = Array.from(document.querySelectorAll(`[data-pf-droppable="${zone}"]`));
21210
21388
  const droppableItems = droppableNodes.reduce((acc, cur) => {
21211
- cur.classList.add(styles$9.modifiers.dragging);
21389
+ cur.classList.add(styles$7.modifiers.dragging);
21212
21390
  const draggableNodes = Array.from(cur.querySelectorAll(`[data-pf-draggable-zone="${zone}"]`));
21213
21391
  const isDraggingHost = cur.contains(dragging);
21214
21392
  if (isDraggingHost) {
@@ -21244,7 +21422,7 @@
21244
21422
  // Comment out this line to debug while dragging by right clicking
21245
21423
  // document.addEventListener('contextmenu', mouseUpListener);
21246
21424
  };
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,
21425
+ 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
21426
  onTransitionEnd,
21249
21427
  style }, props);
21250
21428
  return (React__namespace.createElement(React__namespace.Fragment, null,
@@ -21258,108 +21436,12 @@
21258
21436
  const childProps = Object.assign({ 'data-pf-droppable': zone, 'data-pf-droppableid': droppableId,
21259
21437
  // if has no wrapper is set, don't overwrite children className with the className prop
21260
21438
  className: hasNoWrapper && React__namespace.Children.count(children) === 1
21261
- ? css(styles$9.droppable, className, children.props.className)
21262
- : css(styles$9.droppable, className) }, props);
21439
+ ? css(styles$7.droppable, className, children.props.className)
21440
+ : css(styles$7.droppable, className) }, props);
21263
21441
  return (React__namespace.createElement(DroppableContext.Provider, { value: { zone, droppableId } }, hasNoWrapper ? (React__namespace.cloneElement(children, childProps)) : (React__namespace.createElement("div", Object.assign({}, childProps), children))));
21264
21442
  };
21265
21443
  Droppable.displayName = 'Droppable';
21266
21444
 
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
21445
  Promise.resolve().then(function () { return truncate; });
21364
21446
  var styles$6 = {
21365
21447
  "truncate": "pf-c-truncate",
@@ -22536,6 +22618,14 @@
22536
22618
  __proto__: null
22537
22619
  });
22538
22620
 
22621
+ var panel = /*#__PURE__*/Object.freeze({
22622
+ __proto__: null
22623
+ });
22624
+
22625
+ var textInputGroup = /*#__PURE__*/Object.freeze({
22626
+ __proto__: null
22627
+ });
22628
+
22539
22629
  var simpleList = /*#__PURE__*/Object.freeze({
22540
22630
  __proto__: null
22541
22631
  });
@@ -22592,14 +22682,6 @@
22592
22682
  __proto__: null
22593
22683
  });
22594
22684
 
22595
- var textInputGroup = /*#__PURE__*/Object.freeze({
22596
- __proto__: null
22597
- });
22598
-
22599
- var panel = /*#__PURE__*/Object.freeze({
22600
- __proto__: null
22601
- });
22602
-
22603
22685
  var truncate = /*#__PURE__*/Object.freeze({
22604
22686
  __proto__: null
22605
22687
  });