@patternfly/quickstarts 6.0.0-alpha.2 → 6.0.0-alpha.4

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 (119) hide show
  1. package/dist/ConsoleInternal/components/markdown-view.d.ts +0 -1
  2. package/dist/ConsoleShared/src/components/markdown-extensions/accordion-extension.d.ts +0 -1
  3. package/dist/ConsoleShared/src/components/markdown-extensions/admonition-extension.d.ts +0 -1
  4. package/dist/ConsoleShared/src/components/markdown-extensions/code-extension.d.ts +0 -1
  5. package/dist/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.d.ts +0 -1
  6. package/dist/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.d.ts +0 -1
  7. package/dist/ConsoleShared/src/components/modal/Modal.d.ts +1 -2
  8. package/dist/ConsoleShared/src/components/spotlight/InteractiveSpotlight.d.ts +0 -1
  9. package/dist/ConsoleShared/src/components/spotlight/StaticSpotlight.d.ts +0 -1
  10. package/dist/HelpTopicDrawer.d.ts +0 -1
  11. package/dist/HelpTopicPanelContent.d.ts +0 -1
  12. package/dist/QuickStartDrawer.d.ts +0 -1
  13. package/dist/QuickStartPanelContent.d.ts +2 -2
  14. package/dist/catalog/QuickStartCatalog.d.ts +0 -1
  15. package/dist/catalog/QuickStartTile.d.ts +16 -2
  16. package/dist/catalog/QuickStartTileDescription.d.ts +0 -1
  17. package/dist/catalog/QuickStartTileFooter.d.ts +1 -0
  18. package/dist/catalog/QuickStartTileHeader.d.ts +1 -17
  19. package/dist/catalog/Toolbar/QuickStartCatalogFilter.d.ts +0 -1
  20. package/dist/catalog/index.d.ts +1 -1
  21. package/dist/controller/QuickStartContent.d.ts +1 -1
  22. package/dist/controller/QuickStartFooter.d.ts +1 -1
  23. package/dist/controller/QuickStartIntroduction.d.ts +0 -1
  24. package/dist/controller/QuickStartTaskHeaderList.d.ts +0 -1
  25. package/dist/controller/QuickStartTaskReview.d.ts +0 -1
  26. package/dist/controller/QuickStartTasks.d.ts +0 -1
  27. package/dist/index.es.js +188 -291
  28. package/dist/index.es.js.map +1 -1
  29. package/dist/index.js +189 -292
  30. package/dist/index.js.map +1 -1
  31. package/dist/patternfly-docs/quick-starts/examples/HelpTopic.jsx +4 -4
  32. package/dist/patternfly-docs/quick-starts/examples/example-data/example-help-topics.js +9 -18
  33. package/dist/patternfly-global.css +7 -53
  34. package/dist/patternfly-nested.css +1749 -1778
  35. package/dist/quickstarts-base.css +40 -420
  36. package/dist/quickstarts-full.es.js +1181 -1238
  37. package/dist/quickstarts-full.es.js.map +1 -1
  38. package/dist/quickstarts-standalone.css +41 -382
  39. package/dist/quickstarts-standalone.min.css +3 -3
  40. package/dist/quickstarts-vendor.css +6 -11
  41. package/dist/quickstarts.css +46 -431
  42. package/dist/quickstarts.min.css +1 -1
  43. package/dist/utils/quick-start-types.d.ts +1 -1
  44. package/package.json +10 -11
  45. package/src/ConsoleInternal/components/markdown-view.tsx +29 -9
  46. package/src/ConsoleShared/src/components/markdown-extensions/accordion-extension.tsx +10 -17
  47. package/src/ConsoleShared/src/components/markdown-extensions/admonition-extension.tsx +5 -11
  48. package/src/ConsoleShared/src/components/markdown-extensions/code-extension.tsx +2 -2
  49. package/src/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.tsx +0 -1
  50. package/src/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.tsx +2 -6
  51. package/src/ConsoleShared/src/components/markdown-extensions/utils.ts +2 -1
  52. package/src/ConsoleShared/src/components/modal/Modal.tsx +1 -2
  53. package/src/ConsoleShared/src/components/popper/SimplePopper.tsx +5 -2
  54. package/src/ConsoleShared/src/components/spotlight/InteractiveSpotlight.tsx +0 -1
  55. package/src/ConsoleShared/src/components/spotlight/StaticSpotlight.tsx +0 -1
  56. package/src/ConsoleShared/src/components/status/icons.tsx +1 -5
  57. package/src/HelpTopicDrawer.tsx +1 -4
  58. package/src/HelpTopicPanelContent.tsx +4 -16
  59. package/src/QuickStartCatalogPage.tsx +34 -25
  60. package/src/QuickStartCloseModal.tsx +2 -2
  61. package/src/QuickStartController.tsx +1 -1
  62. package/src/QuickStartDrawer.tsx +2 -7
  63. package/src/QuickStartPanelContent.scss +7 -39
  64. package/src/QuickStartPanelContent.tsx +20 -44
  65. package/src/catalog/Catalog/QuickStartCatalogHeader.tsx +5 -4
  66. package/src/catalog/Catalog/QuickStartCatalogSection.tsx +1 -1
  67. package/src/catalog/Catalog/QuickStartCatalogToolbar.tsx +1 -3
  68. package/src/catalog/QuickStartCatalog.tsx +12 -16
  69. package/src/catalog/QuickStartTile.scss +11 -9
  70. package/src/catalog/QuickStartTile.tsx +133 -72
  71. package/src/catalog/QuickStartTileDescription.tsx +28 -42
  72. package/src/catalog/QuickStartTileFooter.tsx +13 -19
  73. package/src/catalog/QuickStartTileHeader.tsx +9 -86
  74. package/src/catalog/Toolbar/QuickStartCatalogFilter.tsx +8 -10
  75. package/src/catalog/Toolbar/QuickStartCatalogFilterItems.tsx +2 -5
  76. package/src/catalog/__tests__/QuickStartCatalog.spec.tsx +3 -3
  77. package/src/catalog/__tests__/QuickStartTile.spec.tsx +5 -5
  78. package/src/catalog/__tests__/QuickStartTileDescription.spec.tsx +1 -1
  79. package/src/catalog/index.ts +1 -1
  80. package/src/controller/QuickStartConclusion.tsx +4 -4
  81. package/src/controller/QuickStartContent.scss +3 -7
  82. package/src/controller/QuickStartContent.tsx +3 -5
  83. package/src/controller/QuickStartFooter.scss +1 -11
  84. package/src/controller/QuickStartFooter.tsx +27 -21
  85. package/src/controller/QuickStartIntroduction.tsx +11 -16
  86. package/src/controller/QuickStartTaskHeader.scss +20 -42
  87. package/src/controller/QuickStartTaskHeader.tsx +21 -60
  88. package/src/controller/QuickStartTaskHeaderList.tsx +4 -6
  89. package/src/controller/QuickStartTaskReview.tsx +6 -12
  90. package/src/controller/QuickStartTasks.tsx +6 -8
  91. package/src/controller/__tests__/QuickStartConclusion.spec.tsx +6 -19
  92. package/src/controller/__tests__/QuickStartFooter.spec.tsx +9 -54
  93. package/src/controller/__tests__/QuickStartTaskHeader.spec.tsx +1 -1
  94. package/src/controller/__tests__/QuickStartTaskReview.spec.tsx +3 -6
  95. package/src/controller/__tests__/QuickStartTasks.spec.tsx +3 -6
  96. package/src/styles/_base.scss +3 -45
  97. package/src/styles/style.scss +1 -6
  98. package/src/utils/help-topic-context.tsx +2 -3
  99. package/src/utils/quick-start-context.tsx +10 -13
  100. package/src/utils/quick-start-types.ts +1 -1
  101. package/src/utils/quick-start-utils.ts +4 -2
  102. package/src/ConsoleInternal/components/_icon-and-text.scss +0 -14
  103. package/src/ConsoleInternal/components/_markdown-view.scss +0 -19
  104. package/src/ConsoleInternal/components/catalog/_catalog.scss +0 -392
  105. package/src/ConsoleInternal/components/utils/_status-box.scss +0 -58
  106. package/src/ConsoleShared/src/components/layout/PageLayout.scss +0 -29
  107. package/src/ConsoleShared/src/components/markdown-extensions/showdown-extension.scss +0 -52
  108. package/src/ConsoleShared/src/components/modal/Modal.scss +0 -3
  109. package/src/ConsoleShared/src/components/spotlight/spotlight.scss +0 -63
  110. package/src/QuickStartDrawer.scss +0 -11
  111. package/src/catalog/QuickStartCatalog.scss +0 -8
  112. package/src/catalog/QuickStartTileDescription.scss +0 -29
  113. package/src/catalog/QuickStartTileHeader.scss +0 -16
  114. package/src/catalog/Toolbar/QuickStartCatalogFilter.scss +0 -25
  115. package/src/controller/QuickStartIntroduction.scss +0 -35
  116. package/src/controller/QuickStartTaskHeaderList.scss +0 -17
  117. package/src/controller/QuickStartTaskReview.scss +0 -30
  118. package/src/controller/QuickStartTasks.scss +0 -90
  119. package/src/styles/_dark-custom-override.scss +0 -47
@@ -40,7 +40,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
40
40
  *
41
41
  * @param {any} args list of objects, string, or arrays to reduce
42
42
  */
43
- function css(...args) {
43
+ function css$1(...args) {
44
44
  // Adapted from https://github.com/JedWatson/classnames/blob/master/index.js
45
45
  const classes = [];
46
46
  const hasOwn = {}.hasOwnProperty;
@@ -50,7 +50,7 @@ function css(...args) {
50
50
  classes.push(arg);
51
51
  }
52
52
  else if (Array.isArray(arg) && arg.length) {
53
- const inner = css(...arg);
53
+ const inner = css$1(...arg);
54
54
  if (inner) {
55
55
  classes.push(inner);
56
56
  }
@@ -66,7 +66,7 @@ function css(...args) {
66
66
  return classes.join(' ');
67
67
  }
68
68
 
69
- var styles$r = {
69
+ var styles$v = {
70
70
  "content": "pf-v6-c-content",
71
71
  "contentA": "pf-v6-c-content--a",
72
72
  "contentBlockquote": "pf-v6-c-content--blockquote",
@@ -88,12 +88,13 @@ var styles$r = {
88
88
  "contentTable": "pf-v6-c-content--table",
89
89
  "contentUl": "pf-v6-c-content--ul",
90
90
  "modifiers": {
91
+ "editorial": "pf-m-editorial",
91
92
  "visited": "pf-m-visited",
92
93
  "plain": "pf-m-plain"
93
94
  }
94
95
  };
95
96
 
96
- var styles$q = {
97
+ var styles$u = {
97
98
  "modifiers": {
98
99
  "4xl": "pf-m-4xl",
99
100
  "3xl": "pf-m-3xl",
@@ -113,415 +114,64 @@ var styles$q = {
113
114
 
114
115
  const global_breakpoint_sm = {
115
116
  "name": "--pf-t--global--breakpoint--sm",
116
- "value": "576px",
117
+ "value": "36rem",
117
118
  "var": "var(--pf-t--global--breakpoint--sm)"
118
119
  };
119
120
 
120
121
  const global_breakpoint_md = {
121
122
  "name": "--pf-t--global--breakpoint--md",
122
- "value": "768px",
123
+ "value": "48rem",
123
124
  "var": "var(--pf-t--global--breakpoint--md)"
124
125
  };
125
126
 
126
127
  const global_breakpoint_lg = {
127
128
  "name": "--pf-t--global--breakpoint--lg",
128
- "value": "992px",
129
+ "value": "62rem",
129
130
  "var": "var(--pf-t--global--breakpoint--lg)"
130
131
  };
131
132
 
132
133
  const global_breakpoint_xl = {
133
134
  "name": "--pf-t--global--breakpoint--xl",
134
- "value": "1200px",
135
+ "value": "75rem",
135
136
  "var": "var(--pf-t--global--breakpoint--xl)"
136
137
  };
137
138
 
138
139
  const global_breakpoint_2xl = {
139
140
  "name": "--pf-t--global--breakpoint--2xl",
140
- "value": "1450px",
141
+ "value": "90.625rem",
141
142
  "var": "var(--pf-t--global--breakpoint--2xl)"
142
143
  };
143
144
 
144
145
  const global_breakpoint_height_sm = {
145
146
  "name": "--pf-t--global--breakpoint--height--sm",
146
- "value": "0px",
147
+ "value": "0rem",
147
148
  "var": "var(--pf-t--global--breakpoint--height--sm)"
148
149
  };
149
150
 
150
151
  const global_breakpoint_height_md = {
151
152
  "name": "--pf-t--global--breakpoint--height--md",
152
- "value": "640px",
153
+ "value": "40rem",
153
154
  "var": "var(--pf-t--global--breakpoint--height--md)"
154
155
  };
155
156
 
156
157
  const global_breakpoint_height_lg = {
157
158
  "name": "--pf-t--global--breakpoint--height--lg",
158
- "value": "768px",
159
+ "value": "48rem",
159
160
  "var": "var(--pf-t--global--breakpoint--height--lg)"
160
161
  };
161
162
 
162
163
  const global_breakpoint_height_xl = {
163
164
  "name": "--pf-t--global--breakpoint--height--xl",
164
- "value": "960px",
165
+ "value": "60rem",
165
166
  "var": "var(--pf-t--global--breakpoint--height--xl)"
166
167
  };
167
168
 
168
169
  const global_breakpoint_height_2xl = {
169
170
  "name": "--pf-t--global--breakpoint--height--2xl",
170
- "value": "1280px",
171
+ "value": "80rem",
171
172
  "var": "var(--pf-t--global--breakpoint--height--2xl)"
172
173
  };
173
174
 
174
- /******************************************************************************
175
- Copyright (c) Microsoft Corporation.
176
-
177
- Permission to use, copy, modify, and/or distribute this software for any
178
- purpose with or without fee is hereby granted.
179
-
180
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
181
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
182
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
183
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
184
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
185
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
186
- PERFORMANCE OF THIS SOFTWARE.
187
- ***************************************************************************** */
188
- /* global Reflect, Promise */
189
-
190
- var extendStatics = function(d, b) {
191
- extendStatics = Object.setPrototypeOf ||
192
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
193
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
194
- return extendStatics(d, b);
195
- };
196
-
197
- function __extends(d, b) {
198
- if (typeof b !== "function" && b !== null)
199
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
200
- extendStatics(d, b);
201
- function __() { this.constructor = d; }
202
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
203
- }
204
-
205
- var __assign = function() {
206
- __assign = Object.assign || function __assign(t) {
207
- for (var s, i = 1, n = arguments.length; i < n; i++) {
208
- s = arguments[i];
209
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
210
- }
211
- return t;
212
- };
213
- return __assign.apply(this, arguments);
214
- };
215
-
216
- function __rest(s, e) {
217
- var t = {};
218
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
219
- t[p] = s[p];
220
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
221
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
222
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
223
- t[p[i]] = s[p[i]];
224
- }
225
- return t;
226
- }
227
-
228
- function __decorate(decorators, target, key, desc) {
229
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
230
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
231
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
232
- return c > 3 && r && Object.defineProperty(target, key, r), r;
233
- }
234
-
235
- function __param(paramIndex, decorator) {
236
- return function (target, key) { decorator(target, key, paramIndex); }
237
- }
238
-
239
- function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
240
- function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
241
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
242
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
243
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
244
- var _, done = false;
245
- for (var i = decorators.length - 1; i >= 0; i--) {
246
- var context = {};
247
- for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
248
- for (var p in contextIn.access) context.access[p] = contextIn.access[p];
249
- context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
250
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
251
- if (kind === "accessor") {
252
- if (result === void 0) continue;
253
- if (result === null || typeof result !== "object") throw new TypeError("Object expected");
254
- if (_ = accept(result.get)) descriptor.get = _;
255
- if (_ = accept(result.set)) descriptor.set = _;
256
- if (_ = accept(result.init)) initializers.unshift(_);
257
- }
258
- else if (_ = accept(result)) {
259
- if (kind === "field") initializers.unshift(_);
260
- else descriptor[key] = _;
261
- }
262
- }
263
- if (target) Object.defineProperty(target, contextIn.name, descriptor);
264
- done = true;
265
- }
266
- function __runInitializers(thisArg, initializers, value) {
267
- var useValue = arguments.length > 2;
268
- for (var i = 0; i < initializers.length; i++) {
269
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
270
- }
271
- return useValue ? value : void 0;
272
- }
273
- function __propKey(x) {
274
- return typeof x === "symbol" ? x : "".concat(x);
275
- }
276
- function __setFunctionName(f, name, prefix) {
277
- if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
278
- return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
279
- }
280
- function __metadata(metadataKey, metadataValue) {
281
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
282
- }
283
-
284
- function __awaiter(thisArg, _arguments, P, generator) {
285
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
286
- return new (P || (P = Promise))(function (resolve, reject) {
287
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
288
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
289
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
290
- step((generator = generator.apply(thisArg, _arguments || [])).next());
291
- });
292
- }
293
-
294
- function __generator(thisArg, body) {
295
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
296
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
297
- function verb(n) { return function (v) { return step([n, v]); }; }
298
- function step(op) {
299
- if (f) throw new TypeError("Generator is already executing.");
300
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
301
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
302
- if (y = 0, t) op = [op[0] & 2, t.value];
303
- switch (op[0]) {
304
- case 0: case 1: t = op; break;
305
- case 4: _.label++; return { value: op[1], done: false };
306
- case 5: _.label++; y = op[1]; op = [0]; continue;
307
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
308
- default:
309
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
310
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
311
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
312
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
313
- if (t[2]) _.ops.pop();
314
- _.trys.pop(); continue;
315
- }
316
- op = body.call(thisArg, _);
317
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
318
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
319
- }
320
- }
321
-
322
- var __createBinding = Object.create ? (function(o, m, k, k2) {
323
- if (k2 === undefined) k2 = k;
324
- var desc = Object.getOwnPropertyDescriptor(m, k);
325
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
326
- desc = { enumerable: true, get: function() { return m[k]; } };
327
- }
328
- Object.defineProperty(o, k2, desc);
329
- }) : (function(o, m, k, k2) {
330
- if (k2 === undefined) k2 = k;
331
- o[k2] = m[k];
332
- });
333
-
334
- function __exportStar(m, o) {
335
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
336
- }
337
-
338
- function __values(o) {
339
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
340
- if (m) return m.call(o);
341
- if (o && typeof o.length === "number") return {
342
- next: function () {
343
- if (o && i >= o.length) o = void 0;
344
- return { value: o && o[i++], done: !o };
345
- }
346
- };
347
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
348
- }
349
-
350
- function __read(o, n) {
351
- var m = typeof Symbol === "function" && o[Symbol.iterator];
352
- if (!m) return o;
353
- var i = m.call(o), r, ar = [], e;
354
- try {
355
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
356
- }
357
- catch (error) { e = { error: error }; }
358
- finally {
359
- try {
360
- if (r && !r.done && (m = i["return"])) m.call(i);
361
- }
362
- finally { if (e) throw e.error; }
363
- }
364
- return ar;
365
- }
366
-
367
- /** @deprecated */
368
- function __spread() {
369
- for (var ar = [], i = 0; i < arguments.length; i++)
370
- ar = ar.concat(__read(arguments[i]));
371
- return ar;
372
- }
373
-
374
- /** @deprecated */
375
- function __spreadArrays() {
376
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
377
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
378
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
379
- r[k] = a[j];
380
- return r;
381
- }
382
-
383
- function __spreadArray(to, from, pack) {
384
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
385
- if (ar || !(i in from)) {
386
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
387
- ar[i] = from[i];
388
- }
389
- }
390
- return to.concat(ar || Array.prototype.slice.call(from));
391
- }
392
-
393
- function __await(v) {
394
- return this instanceof __await ? (this.v = v, this) : new __await(v);
395
- }
396
-
397
- function __asyncGenerator(thisArg, _arguments, generator) {
398
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
399
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
400
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
401
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
402
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
403
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
404
- function fulfill(value) { resume("next", value); }
405
- function reject(value) { resume("throw", value); }
406
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
407
- }
408
-
409
- function __asyncDelegator(o) {
410
- var i, p;
411
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
412
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
413
- }
414
-
415
- function __asyncValues(o) {
416
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
417
- var m = o[Symbol.asyncIterator], i;
418
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
419
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
420
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
421
- }
422
-
423
- function __makeTemplateObject(cooked, raw) {
424
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
425
- return cooked;
426
- }
427
- var __setModuleDefault = Object.create ? (function(o, v) {
428
- Object.defineProperty(o, "default", { enumerable: true, value: v });
429
- }) : function(o, v) {
430
- o["default"] = v;
431
- };
432
-
433
- function __importStar(mod) {
434
- if (mod && mod.__esModule) return mod;
435
- var result = {};
436
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
437
- __setModuleDefault(result, mod);
438
- return result;
439
- }
440
-
441
- function __importDefault(mod) {
442
- return (mod && mod.__esModule) ? mod : { default: mod };
443
- }
444
-
445
- function __classPrivateFieldGet(receiver, state, kind, f) {
446
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
447
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
448
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
449
- }
450
-
451
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
452
- if (kind === "m") throw new TypeError("Private method is not writable");
453
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
454
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
455
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
456
- }
457
-
458
- function __classPrivateFieldIn(state, receiver) {
459
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
460
- return typeof state === "function" ? receiver === state : state.has(receiver);
461
- }
462
-
463
- var tslib_es6 = {
464
- __extends,
465
- __assign,
466
- __rest,
467
- __decorate,
468
- __param,
469
- __metadata,
470
- __awaiter,
471
- __generator,
472
- __createBinding,
473
- __exportStar,
474
- __values,
475
- __read,
476
- __spread,
477
- __spreadArrays,
478
- __spreadArray,
479
- __await,
480
- __asyncGenerator,
481
- __asyncDelegator,
482
- __asyncValues,
483
- __makeTemplateObject,
484
- __importStar,
485
- __importDefault,
486
- __classPrivateFieldGet,
487
- __classPrivateFieldSet,
488
- __classPrivateFieldIn,
489
- };
490
-
491
- var tslib_es6$1 = /*#__PURE__*/Object.freeze({
492
- __proto__: null,
493
- __extends: __extends,
494
- get __assign () { return __assign; },
495
- __rest: __rest,
496
- __decorate: __decorate,
497
- __param: __param,
498
- __esDecorate: __esDecorate,
499
- __runInitializers: __runInitializers,
500
- __propKey: __propKey,
501
- __setFunctionName: __setFunctionName,
502
- __metadata: __metadata,
503
- __awaiter: __awaiter,
504
- __generator: __generator,
505
- __createBinding: __createBinding,
506
- __exportStar: __exportStar,
507
- __values: __values,
508
- __read: __read,
509
- __spread: __spread,
510
- __spreadArrays: __spreadArrays,
511
- __spreadArray: __spreadArray,
512
- __await: __await,
513
- __asyncGenerator: __asyncGenerator,
514
- __asyncDelegator: __asyncDelegator,
515
- __asyncValues: __asyncValues,
516
- __makeTemplateObject: __makeTemplateObject,
517
- __importStar: __importStar,
518
- __importDefault: __importDefault,
519
- __classPrivateFieldGet: __classPrivateFieldGet,
520
- __classPrivateFieldSet: __classPrivateFieldSet,
521
- __classPrivateFieldIn: __classPrivateFieldIn,
522
- 'default': tslib_es6
523
- });
524
-
525
175
  let currentId$1 = 0;
526
176
  /**
527
177
  * Factory to create Icon class components for consumers
@@ -534,7 +184,7 @@ function createIcon({ name, xOffset = 0, yOffset = 0, width, height, svgPath })
534
184
  this.id = `icon-title-${currentId$1++}`;
535
185
  }
536
186
  render() {
537
- const _b = this.props, { title, className } = _b, props = __rest(_b, ["title", "className"]);
187
+ const _b = this.props, { title, className } = _b, props = __rest$1(_b, ["title", "className"]);
538
188
  const classes = className ? `pf-v6-svg ${className}` : 'pf-v6-svg';
539
189
  const hasTitle = Boolean(title);
540
190
  const viewBox = [xOffset, yOffset, width, height].join(' ');
@@ -620,18 +270,18 @@ const KeyTypes = {
620
270
  ArrowRight: 'ArrowRight'
621
271
  };
622
272
  const globalWidthBreakpoints = {
623
- sm: parseInt(global_breakpoint_sm.value),
624
- md: parseInt(global_breakpoint_md.value),
625
- lg: parseInt(global_breakpoint_lg.value),
626
- xl: parseInt(global_breakpoint_xl.value),
627
- '2xl': parseInt(global_breakpoint_2xl.value)
273
+ sm: parseInt(global_breakpoint_sm.value) * 16,
274
+ md: parseInt(global_breakpoint_md.value) * 16,
275
+ lg: parseInt(global_breakpoint_lg.value) * 16,
276
+ xl: parseInt(global_breakpoint_xl.value) * 16,
277
+ '2xl': parseInt(global_breakpoint_2xl.value) * 16
628
278
  };
629
279
  const globalHeightBreakpoints = {
630
- sm: parseInt(global_breakpoint_height_sm.value),
631
- md: parseInt(global_breakpoint_height_md.value),
632
- lg: parseInt(global_breakpoint_height_lg.value),
633
- xl: parseInt(global_breakpoint_height_xl.value),
634
- '2xl': parseInt(global_breakpoint_height_2xl.value)
280
+ sm: parseInt(global_breakpoint_height_sm.value) * 16,
281
+ md: parseInt(global_breakpoint_height_md.value) * 16,
282
+ lg: parseInt(global_breakpoint_height_lg.value) * 16,
283
+ xl: parseInt(global_breakpoint_height_xl.value) * 16,
284
+ '2xl': parseInt(global_breakpoint_height_2xl.value) * 16
635
285
  };
636
286
  const statusIcons$2 = {
637
287
  success: CheckCircleIcon$1,
@@ -4239,7 +3889,7 @@ const hash = {
4239
3889
  };
4240
3890
  const getOppositePlacement = (placement) => placement.replace(/left|right|bottom|top|top-start|top-end|bottom-start|bottom-end|right-start|right-end|left-start|left-end/g, (matched) => hash[matched]);
4241
3891
  const getOpacityTransition = (animationDuration) => `opacity ${animationDuration}ms cubic-bezier(.54, 1.5, .38, 1.11)`;
4242
- const Popper = ({ trigger, popper, direction = 'down', position = 'start', placement, width, minWidth = 'trigger', maxWidth, appendTo = 'inline', zIndex = 9999, isVisible = true, positionModifiers, distance = 0, onMouseEnter, onMouseLeave, onFocus, onBlur, onDocumentClick, onTriggerClick, onTriggerEnter, onPopperClick, onPopperMouseEnter, onPopperMouseLeave, onDocumentKeyDown, enableFlip = true, flipBehavior = 'flip', triggerRef, popperRef, animationDuration = 0, entryDelay = 0, exitDelay = 0, onHidden = () => { }, onHide = () => { }, onMount = () => { }, onShow = () => { }, onShown = () => { }, preventOverflow = false }) => {
3892
+ const Popper = ({ trigger, popper, direction = 'down', position = 'start', placement, width, minWidth = 'trigger', maxWidth, appendTo = () => document.body, zIndex = 9999, isVisible = true, positionModifiers, distance = 0, onMouseEnter, onMouseLeave, onFocus, onBlur, onDocumentClick, onTriggerClick, onTriggerEnter, onPopperClick, onPopperMouseEnter, onPopperMouseLeave, onDocumentKeyDown, enableFlip = true, flipBehavior = 'flip', triggerRef, popperRef, animationDuration = 0, entryDelay = 0, exitDelay = 0, onHidden = () => { }, onHide = () => { }, onMount = () => { }, onShow = () => { }, onShown = () => { }, preventOverflow = false }) => {
4243
3893
  var _a;
4244
3894
  const [triggerElement, setTriggerElement] = React.useState(null);
4245
3895
  const [refElement, setRefElement] = React.useState(null);
@@ -4486,7 +4136,7 @@ const Popper = ({ trigger, popper, direction = 'down', position = 'start', place
4486
4136
  }
4487
4137
  return positionModifiers.top;
4488
4138
  };
4489
- const options = Object.assign({ className: css(popper.props && popper.props.className, positionModifiers && modifierFromPopperPosition()), style: Object.assign(Object.assign(Object.assign({}, ((popper.props && popper.props.style) || {})), popperStyles.popper), { zIndex,
4139
+ const options = Object.assign({ className: css$1(popper.props && popper.props.className, positionModifiers && modifierFromPopperPosition()), style: Object.assign(Object.assign(Object.assign({}, ((popper.props && popper.props.style) || {})), popperStyles.popper), { zIndex,
4490
4140
  opacity, transition: getOpacityTransition(animationDuration) }) }, attributes.popper);
4491
4141
  const getMenuWithPopper = () => {
4492
4142
  const localPopper = React.cloneElement(popper, options);
@@ -4804,7 +4454,7 @@ var TitleSizes;
4804
4454
  const Title = (_a) => {
4805
4455
  var { className = '', children = '', headingLevel: HeadingLevel, size, ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["className", "children", "headingLevel", "size", "ouiaId", "ouiaSafe"]);
4806
4456
  const ouiaProps = useOUIAProps(Title.displayName, ouiaId, ouiaSafe);
4807
- return (React.createElement(HeadingLevel, Object.assign({}, ouiaProps, props, { className: css(styles$q.title, size ? styles$q.modifiers[size] : styles$q.modifiers[HeadingLevel], className) }), children));
4457
+ return (React.createElement(HeadingLevel, Object.assign({}, ouiaProps, props, { className: css$1(styles$u.title, size ? styles$u.modifiers[size] : styles$u.modifiers[HeadingLevel], className) }), children));
4808
4458
  };
4809
4459
  Title.displayName = 'Title';
4810
4460
 
@@ -4843,7 +4493,7 @@ var buttonStyles = {
4843
4493
  "spinner": "pf-v6-c-spinner"
4844
4494
  };
4845
4495
 
4846
- var styles$p = {
4496
+ var styles$t = {
4847
4497
  "modifiers": {
4848
4498
  "inline": "pf-m-inline",
4849
4499
  "sm": "pf-m-sm",
@@ -4857,7 +4507,7 @@ var styles$p = {
4857
4507
 
4858
4508
  const c_spinner_diameter = {
4859
4509
  "name": "--pf-v6-c-spinner--diameter",
4860
- "value": "1em",
4510
+ "value": "3.5rem",
4861
4511
  "var": "var(--pf-v6-c-spinner--diameter)"
4862
4512
  };
4863
4513
 
@@ -4872,23 +4522,24 @@ const Spinner = (_a) => {
4872
4522
  var {
4873
4523
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
4874
4524
  className = '', size = 'xl', 'aria-valuetext': ariaValueText = 'Loading...', diameter, isInline = false, 'aria-label': ariaLabel, 'aria-labelledBy': ariaLabelledBy } = _a, props = __rest$1(_a, ["className", "size", 'aria-valuetext', "diameter", "isInline", 'aria-label', 'aria-labelledBy']);
4875
- return (React.createElement("svg", Object.assign({ className: css(styles$p.spinner, isInline ? styles$p.modifiers.inline : styles$p.modifiers[size], className), role: "progressbar", "aria-valuetext": ariaValueText, viewBox: "0 0 100 100" }, (diameter && { style: { [c_spinner_diameter.name]: diameter } }), (ariaLabel && { 'aria-label': ariaLabel }), (ariaLabelledBy && { 'aria-labelledBy': ariaLabelledBy }), (!ariaLabel && !ariaLabelledBy && { 'aria-label': 'Contents' }), props),
4876
- React.createElement("circle", { className: styles$p.spinnerPath, cx: "50", cy: "50", r: "45", fill: "none" })));
4525
+ return (React.createElement("svg", Object.assign({ className: css$1(styles$t.spinner, isInline ? styles$t.modifiers.inline : styles$t.modifiers[size], className), role: "progressbar", "aria-valuetext": ariaValueText, viewBox: "0 0 100 100" }, (diameter && { style: { [c_spinner_diameter.name]: diameter } }), (ariaLabel && { 'aria-label': ariaLabel }), (ariaLabelledBy && { 'aria-labelledBy': ariaLabelledBy }), (!ariaLabel && !ariaLabelledBy && { 'aria-label': 'Contents' }), props),
4526
+ React.createElement("circle", { className: styles$t.spinnerPath, cx: "50", cy: "50", r: "45", fill: "none" })));
4877
4527
  };
4878
4528
  Spinner.displayName = 'Spinner';
4879
4529
 
4880
- var styles$o = {
4530
+ var styles$s = {
4881
4531
  "badge": "pf-v6-c-badge",
4882
4532
  "badgeToggleIcon": "pf-v6-c-badge__toggle-icon",
4883
4533
  "modifiers": {
4884
4534
  "read": "pf-m-read",
4885
- "unread": "pf-m-unread"
4535
+ "unread": "pf-m-unread",
4536
+ "disabled": "pf-m-disabled"
4886
4537
  }
4887
4538
  };
4888
4539
 
4889
4540
  const Badge = (_a) => {
4890
- var { isRead = false, className = '', children = '', screenReaderText } = _a, props = __rest$1(_a, ["isRead", "className", "children", "screenReaderText"]);
4891
- return (React.createElement("span", Object.assign({}, props, { className: css(styles$o.badge, (isRead ? styles$o.modifiers.read : styles$o.modifiers.unread), className) }),
4541
+ var { isRead = false, isDisabled = false, className = '', children = '', screenReaderText } = _a, props = __rest$1(_a, ["isRead", "isDisabled", "className", "children", "screenReaderText"]);
4542
+ return (React.createElement("span", Object.assign({}, props, { className: css$1(styles$s.badge, (isRead ? styles$s.modifiers.read : styles$s.modifiers.unread), isDisabled && styles$s.modifiers.disabled, className) }),
4892
4543
  children,
4893
4544
  screenReaderText && React.createElement("span", { className: "pf-v6-screen-reader" }, screenReaderText)));
4894
4545
  };
@@ -4944,15 +4595,14 @@ const ButtonBase = (_a) => {
4944
4595
  return 0;
4945
4596
  }
4946
4597
  };
4947
- return (React.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isAriaDisabled || (!isButtonElement && isDisabled), "aria-label": ariaLabel, className: css(buttonStyles.button, buttonStyles.modifiers[variant], isBlock && buttonStyles.modifiers.block, isDisabled && !isButtonElement && buttonStyles.modifiers.disabled, isAriaDisabled && buttonStyles.modifiers.ariaDisabled, isClicked && buttonStyles.modifiers.clicked, isInline && variant === ButtonVariant.link && buttonStyles.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && buttonStyles.modifiers.danger, isLoading !== null && variant !== ButtonVariant.plain && buttonStyles.modifiers.progress, isLoading && buttonStyles.modifiers.inProgress, hasNoPadding && variant === ButtonVariant.plain && buttonStyles.modifiers.noPadding, variant === ButtonVariant.stateful && buttonStyles.modifiers[state], size === ButtonSize.sm && buttonStyles.modifiers.small, size === ButtonSize.lg && buttonStyles.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : role, ref: innerRef }, ouiaProps),
4948
- isLoading && (React.createElement("span", { className: css(buttonStyles.buttonProgress) },
4598
+ return (React.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isAriaDisabled || (!isButtonElement && isDisabled), "aria-label": ariaLabel, className: css$1(buttonStyles.button, buttonStyles.modifiers[variant], isBlock && buttonStyles.modifiers.block, isDisabled && !isButtonElement && buttonStyles.modifiers.disabled, isAriaDisabled && buttonStyles.modifiers.ariaDisabled, isClicked && buttonStyles.modifiers.clicked, isInline && variant === ButtonVariant.link && buttonStyles.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && buttonStyles.modifiers.danger, isLoading !== null && variant !== ButtonVariant.plain && buttonStyles.modifiers.progress, isLoading && buttonStyles.modifiers.inProgress, hasNoPadding && variant === ButtonVariant.plain && buttonStyles.modifiers.noPadding, variant === ButtonVariant.stateful && buttonStyles.modifiers[state], size === ButtonSize.sm && buttonStyles.modifiers.small, size === ButtonSize.lg && buttonStyles.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : role, ref: innerRef }, ouiaProps),
4599
+ isLoading && (React.createElement("span", { className: css$1(buttonStyles.buttonProgress) },
4949
4600
  React.createElement(Spinner, { size: spinnerSize.md, isInline: isInline, "aria-valuetext": spinnerAriaValueText, "aria-label": spinnerAriaLabel, "aria-labelledby": spinnerAriaLabelledBy }))),
4950
- variant === ButtonVariant.plain && children === null && icon ? icon : null,
4951
- variant !== ButtonVariant.plain && icon && (iconPosition === 'start' || iconPosition === 'left') && (React.createElement("span", { className: css(buttonStyles.buttonIcon, buttonStyles.modifiers.start) }, icon)),
4952
- children,
4953
- variant !== ButtonVariant.plain && icon && (iconPosition === 'end' || iconPosition === 'right') && (React.createElement("span", { className: css(buttonStyles.buttonIcon, buttonStyles.modifiers.end) }, icon)),
4954
- countOptions && (React.createElement("span", { className: css(buttonStyles.buttonCount, countOptions.className) },
4955
- React.createElement(Badge, { isRead: countOptions.isRead }, countOptions.count)))));
4601
+ icon && (iconPosition === 'start' || iconPosition === 'left') && (React.createElement("span", { className: css$1(buttonStyles.buttonIcon, buttonStyles.modifiers.start) }, icon)),
4602
+ children && React.createElement("span", { className: css$1('pf-v6-c-button__text') }, children),
4603
+ icon && (iconPosition === 'end' || iconPosition === 'right') && (React.createElement("span", { className: css$1(buttonStyles.buttonIcon, buttonStyles.modifiers.end) }, icon)),
4604
+ countOptions && (React.createElement("span", { className: css$1(buttonStyles.buttonCount, countOptions.className) },
4605
+ React.createElement(Badge, { isRead: countOptions.isRead, isDisabled: isDisabled }, countOptions.count)))));
4956
4606
  };
4957
4607
  const Button = React.forwardRef((props, ref) => (React.createElement(ButtonBase, Object.assign({ innerRef: ref }, props))));
4958
4608
  Button.displayName = 'Button';
@@ -4968,12 +4618,12 @@ const TimesIconConfig = {
4968
4618
 
4969
4619
  const TimesIcon = createIcon(TimesIconConfig);
4970
4620
 
4971
- var styles$n = {
4621
+ var styles$r = {
4972
4622
  "backdrop": "pf-v6-c-backdrop",
4973
4623
  "backdropOpen": "pf-v6-c-backdrop__open"
4974
4624
  };
4975
4625
 
4976
- var modalStyles = {
4626
+ var styles$q = {
4977
4627
  "button": "pf-v6-c-button",
4978
4628
  "modalBox": "pf-v6-c-modal-box",
4979
4629
  "modalBoxBody": "pf-v6-c-modal-box__body",
@@ -5000,33 +4650,32 @@ var modalStyles = {
5000
4650
  }
5001
4651
  };
5002
4652
 
5003
- var styles$m = {
4653
+ var styles$p = {
5004
4654
  "bullseye": "pf-v6-l-bullseye"
5005
4655
  };
5006
4656
 
5007
4657
  const Backdrop = (_a) => {
5008
4658
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
5009
- return (React.createElement("div", Object.assign({}, props, { className: css(styles$n.backdrop, className) }), children));
4659
+ return (React.createElement("div", Object.assign({}, props, { className: css$1(styles$r.backdrop, className) }), children));
5010
4660
  };
5011
4661
  Backdrop.displayName = 'Backdrop';
5012
4662
 
5013
4663
  const ModalBoxBody = (_a) => {
5014
4664
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
5015
- return (React.createElement("div", Object.assign({}, props, { className: css(modalStyles.modalBoxBody, className) }), children));
4665
+ return (React.createElement("div", Object.assign({}, props, { className: css$1(styles$q.modalBoxBody, className) }), children));
5016
4666
  };
5017
4667
  ModalBoxBody.displayName = 'ModalBoxBody';
5018
4668
 
5019
4669
  const ModalBoxCloseButton = (_a) => {
5020
4670
  var { className, onClose = () => undefined, 'aria-label': ariaLabel = 'Close', ouiaId } = _a, props = __rest$1(_a, ["className", "onClose", 'aria-label', "ouiaId"]);
5021
- return (React.createElement("div", { className: css(modalStyles.modalBoxClose, className) },
5022
- React.createElement(Button, Object.assign({ variant: "plain", onClick: (event) => onClose(event), "aria-label": ariaLabel }, (ouiaId && { ouiaId: `${ouiaId}-${ModalBoxCloseButton.displayName}` }), props),
5023
- React.createElement(TimesIcon, null))));
4671
+ return (React.createElement("div", { className: css$1(styles$q.modalBoxClose, className) },
4672
+ React.createElement(Button, Object.assign({ variant: "plain", onClick: (event) => onClose(event), "aria-label": ariaLabel }, (ouiaId && { ouiaId: `${ouiaId}-${ModalBoxCloseButton.displayName}` }), props, { icon: React.createElement(TimesIcon, null) }))));
5024
4673
  };
5025
4674
  ModalBoxCloseButton.displayName = 'ModalBoxCloseButton';
5026
4675
 
5027
4676
  const c_modal_box_m_align_top_spacer = {
5028
4677
  "name": "--pf-v6-c-modal-box--m-align-top--spacer",
5029
- "value": "8px",
4678
+ "value": "0.5rem",
5030
4679
  "var": "var(--pf-v6-c-modal-box--m-align-top--spacer)"
5031
4680
  };
5032
4681
 
@@ -5036,33 +4685,33 @@ const ModalBox = (_a) => {
5036
4685
  style = style || {};
5037
4686
  style[c_modal_box_m_align_top_spacer.name] = positionOffset;
5038
4687
  }
5039
- return (React.createElement("div", Object.assign({}, props, { role: "dialog", "aria-label": ariaLabel || null, "aria-labelledby": ariaLabelledby || null, "aria-describedby": ariaDescribedby, "aria-modal": "true", className: css(modalStyles.modalBox, className, position === 'top' && modalStyles.modifiers.alignTop, variant === 'large' && modalStyles.modifiers.lg, variant === 'small' && modalStyles.modifiers.sm, variant === 'medium' && modalStyles.modifiers.md), style: style }), children));
4688
+ return (React.createElement("div", Object.assign({}, props, { role: "dialog", "aria-label": ariaLabel || null, "aria-labelledby": ariaLabelledby || null, "aria-describedby": ariaDescribedby, "aria-modal": "true", className: css$1(styles$q.modalBox, className, position === 'top' && styles$q.modifiers.alignTop, variant === 'large' && styles$q.modifiers.lg, variant === 'small' && styles$q.modifiers.sm, variant === 'medium' && styles$q.modifiers.md), style: style }), children));
5040
4689
  };
5041
4690
  ModalBox.displayName = 'ModalBox';
5042
4691
 
5043
4692
  const ModalBoxFooter = (_a) => {
5044
4693
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
5045
- return (React.createElement("footer", Object.assign({}, props, { className: css(modalStyles.modalBoxFooter, className) }), children));
4694
+ return (React.createElement("footer", Object.assign({}, props, { className: css$1(styles$q.modalBoxFooter, className) }), children));
5046
4695
  };
5047
4696
  ModalBoxFooter.displayName = 'ModalBoxFooter';
5048
4697
 
5049
4698
  const ModalBoxDescription = (_a) => {
5050
4699
  var { children = null, className = '', id = '' } = _a, props = __rest$1(_a, ["children", "className", "id"]);
5051
- return (React.createElement("div", Object.assign({}, props, { id: id, className: css(modalStyles.modalBoxDescription, className) }), children));
4700
+ return (React.createElement("div", Object.assign({}, props, { id: id, className: css$1(styles$q.modalBoxDescription, className) }), children));
5052
4701
  };
5053
4702
  ModalBoxDescription.displayName = 'ModalBoxDescription';
5054
4703
 
5055
4704
  const ModalBoxHeader = (_a) => {
5056
4705
  var { children = null, className = '', help = null } = _a, props = __rest$1(_a, ["children", "className", "help"]);
5057
- return (React.createElement("header", Object.assign({ className: css(modalStyles.modalBoxHeader, help && modalStyles.modifiers.help, className) }, props),
4706
+ return (React.createElement("header", Object.assign({ className: css$1(styles$q.modalBoxHeader, help && styles$q.modifiers.help, className) }, props),
5058
4707
  help && (React.createElement(React.Fragment, null,
5059
- React.createElement("div", { className: css(modalStyles.modalBoxHeaderMain) }, children),
5060
- React.createElement("div", { className: `${modalStyles.modalBoxHeader}-help` }, help))),
4708
+ React.createElement("div", { className: css$1(styles$q.modalBoxHeaderMain) }, children),
4709
+ React.createElement("div", { className: `${styles$q.modalBoxHeader}-help` }, help))),
5061
4710
  !help && children));
5062
4711
  };
5063
4712
  ModalBoxHeader.displayName = 'ModalBoxHeader';
5064
4713
 
5065
- var styles$l = {
4714
+ var styles$o = {
5066
4715
  "modifiers": {
5067
4716
  "top": "pf-m-top",
5068
4717
  "topLeft": "pf-m-top-left",
@@ -5085,13 +4734,13 @@ var styles$l = {
5085
4734
 
5086
4735
  const TooltipContent = (_a) => {
5087
4736
  var { className, children, isLeftAligned } = _a, props = __rest$1(_a, ["className", "children", "isLeftAligned"]);
5088
- return (React.createElement("div", Object.assign({ className: css(styles$l.tooltipContent, isLeftAligned && styles$l.modifiers.textAlignLeft, className) }, props), children));
4737
+ return (React.createElement("div", Object.assign({ className: css$1(styles$o.tooltipContent, isLeftAligned && styles$o.modifiers.textAlignLeft, className) }, props), children));
5089
4738
  };
5090
4739
  TooltipContent.displayName = 'TooltipContent';
5091
4740
 
5092
4741
  const TooltipArrow = (_a) => {
5093
4742
  var { className } = _a, props = __rest$1(_a, ["className"]);
5094
- return React.createElement("div", Object.assign({ className: css(styles$l.tooltipArrow, className) }, props));
4743
+ return React.createElement("div", Object.assign({ className: css$1(styles$o.tooltipArrow, className) }, props));
5095
4744
  };
5096
4745
  TooltipArrow.displayName = 'TooltipArrow';
5097
4746
 
@@ -5161,21 +4810,21 @@ const Tooltip = (_a) => {
5161
4810
  setVisible(false);
5162
4811
  };
5163
4812
  const positionModifiers = {
5164
- top: styles$l.modifiers.top,
5165
- bottom: styles$l.modifiers.bottom,
5166
- left: styles$l.modifiers.left,
5167
- right: styles$l.modifiers.right,
5168
- 'top-start': styles$l.modifiers.topLeft,
5169
- 'top-end': styles$l.modifiers.topRight,
5170
- 'bottom-start': styles$l.modifiers.bottomLeft,
5171
- 'bottom-end': styles$l.modifiers.bottomRight,
5172
- 'left-start': styles$l.modifiers.leftTop,
5173
- 'left-end': styles$l.modifiers.leftBottom,
5174
- 'right-start': styles$l.modifiers.rightTop,
5175
- 'right-end': styles$l.modifiers.rightBottom
4813
+ top: styles$o.modifiers.top,
4814
+ bottom: styles$o.modifiers.bottom,
4815
+ left: styles$o.modifiers.left,
4816
+ right: styles$o.modifiers.right,
4817
+ 'top-start': styles$o.modifiers.topLeft,
4818
+ 'top-end': styles$o.modifiers.topRight,
4819
+ 'bottom-start': styles$o.modifiers.bottomLeft,
4820
+ 'bottom-end': styles$o.modifiers.bottomRight,
4821
+ 'left-start': styles$o.modifiers.leftTop,
4822
+ 'left-end': styles$o.modifiers.leftBottom,
4823
+ 'right-start': styles$o.modifiers.rightTop,
4824
+ 'right-end': styles$o.modifiers.rightBottom
5176
4825
  };
5177
4826
  const hasCustomMaxWidth = maxWidth !== c_tooltip_MaxWidth.value;
5178
- const content = (React.createElement("div", Object.assign({ "aria-live": ariaLive, className: css(styles$l.tooltip, className), role: "tooltip", id: id, style: {
4827
+ const content = (React.createElement("div", Object.assign({ "aria-live": ariaLive, className: css$1(styles$o.tooltip, className), role: "tooltip", id: id, style: {
5179
4828
  maxWidth: hasCustomMaxWidth ? maxWidth : null
5180
4829
  }, ref: popperRef }, rest),
5181
4830
  React.createElement(TooltipArrow, null),
@@ -5223,10 +4872,10 @@ const ModalBoxTitle = (_a) => {
5223
4872
  useIsomorphicLayoutEffect(() => {
5224
4873
  setHasTooltip(h1.current && h1.current.offsetWidth < h1.current.scrollWidth);
5225
4874
  }, []);
5226
- const content = (React.createElement("h1", Object.assign({ id: id, ref: h1, className: css(modalStyles.modalBoxTitle, titleIconVariant && modalStyles.modifiers.icon, className) }, props),
5227
- titleIconVariant && (React.createElement("span", { className: css(modalStyles.modalBoxTitleIcon) }, isVariantIcon(titleIconVariant) ? variantIcons[titleIconVariant] : React.createElement(CustomIcon, null))),
4875
+ const content = (React.createElement("h1", Object.assign({ id: id, ref: h1, className: css$1(styles$q.modalBoxTitle, titleIconVariant && styles$q.modifiers.icon, className) }, props),
4876
+ titleIconVariant && (React.createElement("span", { className: css$1(styles$q.modalBoxTitleIcon) }, isVariantIcon(titleIconVariant) ? variantIcons[titleIconVariant] : React.createElement(CustomIcon, null))),
5228
4877
  label && React.createElement("span", { className: "pf-v6-screen-reader" }, label),
5229
- React.createElement("span", { className: css(modalStyles.modalBoxTitleText) }, title)));
4878
+ React.createElement("span", { className: css$1(styles$q.modalBoxTitleText) }, title)));
5230
4879
  return hasTooltip ? React.createElement(Tooltip, { content: title }, content) : content;
5231
4880
  };
5232
4881
  ModalBoxTitle.displayName = 'ModalBoxTitle';
@@ -5260,7 +4909,7 @@ const ModalContent = (_a) => {
5260
4909
  }
5261
4910
  return idRefList.join(' ');
5262
4911
  };
5263
- const modalBox = (React.createElement(ModalBox, Object.assign({ id: boxId, className: css(className, isVariantIcon(titleIconVariant) && modalStyles.modifiers[titleIconVariant]), variant: variant, position: position, positionOffset: positionOffset, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledbyFormatted(), "aria-describedby": ariaDescribedby || (hasNoBodyWrapper ? null : descriptorId) }, getOUIAProps(ModalContent.displayName, ouiaId, ouiaSafe), { style: Object.assign(Object.assign({}, (width && { '--pf-v6-c-modal-box--Width': typeof width !== 'number' ? width : `${width}px` })), (maxWidth && {
4912
+ const modalBox = (React.createElement(ModalBox, Object.assign({ id: boxId, className: css$1(className, isVariantIcon(titleIconVariant) && styles$q.modifiers[titleIconVariant]), variant: variant, position: position, positionOffset: positionOffset, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledbyFormatted(), "aria-describedby": ariaDescribedby || (hasNoBodyWrapper ? null : descriptorId) }, getOUIAProps(ModalContent.displayName, ouiaId, ouiaSafe), { style: Object.assign(Object.assign({}, (width && { '--pf-v6-c-modal-box--Width': typeof width !== 'number' ? width : `${width}px` })), (maxWidth && {
5264
4913
  '--pf-v6-c-modal-box--MaxWidth': typeof maxWidth !== 'number' ? maxWidth : `${maxWidth}px`
5265
4914
  })) }),
5266
4915
  showClose && React.createElement(ModalBoxCloseButton, { onClose: (event) => onClose(event), ouiaId: ouiaId }),
@@ -5274,7 +4923,7 @@ const ModalContent = (_a) => {
5274
4923
  // FocusTrap's initialFocus can accept false as a value to prevent initial focus.
5275
4924
  // We want to prevent this in case false is ever passed in.
5276
4925
  initialFocus: elementToFocus || undefined
5277
- }, className: css(styles$m.bullseye) }, modalBox)));
4926
+ }, className: css$1(styles$p.bullseye) }, modalBox)));
5278
4927
  };
5279
4928
  ModalContent.displayName = 'ModalContent';
5280
4929
 
@@ -5334,12 +4983,12 @@ class Modal$1 extends React.Component {
5334
4983
  target.appendChild(container);
5335
4984
  target.addEventListener('keydown', this.handleEscKeyClick, false);
5336
4985
  if (this.props.isOpen) {
5337
- target.classList.add(css(styles$n.backdropOpen));
4986
+ target.classList.add(css$1(styles$r.backdropOpen));
5338
4987
  }
5339
4988
  else {
5340
- target.classList.remove(css(styles$n.backdropOpen));
4989
+ target.classList.remove(css$1(styles$r.backdropOpen));
5341
4990
  }
5342
- if (this.isEmpty(title) && this.isEmpty(ariaLabel) && this.isEmpty(ariaLabelledby)) {
4991
+ if (!title && this.isEmpty(ariaLabel) && this.isEmpty(ariaLabelledby)) {
5343
4992
  // eslint-disable-next-line no-console
5344
4993
  console.error('Modal: Specify at least one of: title, aria-label, aria-labelledby.');
5345
4994
  }
@@ -5352,11 +5001,11 @@ class Modal$1 extends React.Component {
5352
5001
  const { appendTo } = this.props;
5353
5002
  const target = this.getElement(appendTo);
5354
5003
  if (this.props.isOpen) {
5355
- target.classList.add(css(styles$n.backdropOpen));
5004
+ target.classList.add(css$1(styles$r.backdropOpen));
5356
5005
  this.toggleSiblingsFromScreenReaders(true);
5357
5006
  }
5358
5007
  else {
5359
- target.classList.remove(css(styles$n.backdropOpen));
5008
+ target.classList.remove(css$1(styles$r.backdropOpen));
5360
5009
  this.toggleSiblingsFromScreenReaders(false);
5361
5010
  }
5362
5011
  }
@@ -5367,7 +5016,7 @@ class Modal$1 extends React.Component {
5367
5016
  target.removeChild(this.state.container);
5368
5017
  }
5369
5018
  target.removeEventListener('keydown', this.handleEscKeyClick, false);
5370
- target.classList.remove(css(styles$n.backdropOpen));
5019
+ target.classList.remove(css$1(styles$r.backdropOpen));
5371
5020
  this.toggleSiblingsFromScreenReaders(false);
5372
5021
  }
5373
5022
  render() {
@@ -5405,7 +5054,7 @@ Modal$1.defaultProps = {
5405
5054
  position: 'default'
5406
5055
  };
5407
5056
 
5408
- var styles$k = {
5057
+ var styles$n = {
5409
5058
  "accordion": "pf-v6-c-accordion",
5410
5059
  "accordionExpandableContent": "pf-v6-c-accordion__expandable-content",
5411
5060
  "accordionExpandableContentBody": "pf-v6-c-accordion__expandable-content-body",
@@ -5429,7 +5078,7 @@ const AccordionItemContext = React.createContext({});
5429
5078
  const Accordion = (_a) => {
5430
5079
  var { children = null, className = '', 'aria-label': ariaLabel, headingLevel = 'h3', asDefinitionList = true, isBordered = false, displaySize = 'default', togglePosition = 'end' } = _a, props = __rest$1(_a, ["children", "className", 'aria-label', "headingLevel", "asDefinitionList", "isBordered", "displaySize", "togglePosition"]);
5431
5080
  const AccordionList = asDefinitionList ? 'dl' : 'div';
5432
- return (React.createElement(AccordionList, Object.assign({ className: css(styles$k.accordion, isBordered && styles$k.modifiers.bordered, togglePosition === 'start' && styles$k.modifiers.toggleStart, displaySize === 'lg' && styles$k.modifiers.displayLg, className), "aria-label": ariaLabel }, (!asDefinitionList && ariaLabel && { role: 'region' }), props),
5081
+ return (React.createElement(AccordionList, Object.assign({ className: css$1(styles$n.accordion, isBordered && styles$n.modifiers.bordered, togglePosition === 'start' && styles$n.modifiers.toggleStart, displaySize === 'lg' && styles$n.modifiers.displayLg, className), "aria-label": ariaLabel }, (!asDefinitionList && ariaLabel && { role: 'region' }), props),
5433
5082
  React.createElement(AccordionContext.Provider, { value: {
5434
5083
  ContentContainer: asDefinitionList ? 'dd' : 'div',
5435
5084
  ToggleContainer: asDefinitionList ? 'dt' : headingLevel,
@@ -5438,11 +5087,14 @@ const Accordion = (_a) => {
5438
5087
  };
5439
5088
  Accordion.displayName = 'Accordion';
5440
5089
 
5441
- const AccordionExpandableContentBody = ({ children = null }) => React.createElement("div", { className: css(styles$k.accordionExpandableContentBody) }, children);
5090
+ const AccordionExpandableContentBody = (_a) => {
5091
+ var { children = null } = _a, props = __rest$1(_a, ["children"]);
5092
+ return (React.createElement("div", Object.assign({ className: css$1(styles$n.accordionExpandableContentBody) }, props), children));
5093
+ };
5442
5094
  AccordionExpandableContentBody.displayName = 'AccordionExpandableContentBody';
5443
5095
 
5444
5096
  const AccordionContent = (_a) => {
5445
- var { className = '', children = null, id = '', isFixed = false, isCustomContent = false, 'aria-label': ariaLabel = '', 'aria-labelledby': ariaLabelledby, component } = _a, props = __rest$1(_a, ["className", "children", "id", "isFixed", "isCustomContent", 'aria-label', 'aria-labelledby', "component"]);
5097
+ var { className = '', children = null, id = '', isFixed = false, isCustomContent = false, 'aria-label': ariaLabel = '', 'aria-labelledby': ariaLabelledby, component, contentBodyProps } = _a, props = __rest$1(_a, ["className", "children", "id", "isFixed", "isCustomContent", 'aria-label', 'aria-labelledby', "component", "contentBodyProps"]);
5446
5098
  const [hasScrollbar, setHasScrollbar] = React.useState(false);
5447
5099
  const containerRef = React.useRef(null);
5448
5100
  const { isExpanded } = React.useContext(AccordionItemContext);
@@ -5457,15 +5109,18 @@ const AccordionContent = (_a) => {
5457
5109
  }, [containerRef, isFixed, isExpanded]);
5458
5110
  return (React.createElement(AccordionContext.Consumer, null, ({ ContentContainer }) => {
5459
5111
  const Container = component || ContentContainer;
5460
- return (React.createElement(Container, Object.assign({ ref: containerRef, id: id, className: css(styles$k.accordionExpandableContent, isFixed && styles$k.modifiers.fixed, className), hidden: !isExpanded }, (ariaLabel && { 'aria-label': ariaLabel }), (ariaLabelledby && { 'aria-labelledby': ariaLabelledby }), (hasScrollbar && { tabIndex: 0 }), (hasScrollbar && Container === 'div' && { role: 'region' }), props), isCustomContent ? children : React.createElement(AccordionExpandableContentBody, null, children)));
5112
+ return (React.createElement(Container, Object.assign({ ref: containerRef, id: id, className: css$1(styles$n.accordionExpandableContent, isFixed && styles$n.modifiers.fixed, className), hidden: !isExpanded }, (ariaLabel && { 'aria-label': ariaLabel }), (ariaLabelledby && { 'aria-labelledby': ariaLabelledby }), (hasScrollbar && { tabIndex: 0 }), (hasScrollbar && Container === 'div' && { role: 'region' }), props), isCustomContent ? (children) : (React.createElement(AccordionExpandableContentBody, Object.assign({}, contentBodyProps), children))));
5461
5113
  }));
5462
5114
  };
5463
5115
  AccordionContent.displayName = 'AccordionContent';
5464
5116
 
5465
- const AccordionItem = ({ children = null, className, isExpanded: isExpandedProp = false }) => (React.createElement(AccordionItemContext.Provider, { value: {
5466
- isExpanded: isExpandedProp
5467
- } },
5468
- React.createElement("div", { className: css(styles$k.accordionItem, isExpandedProp && styles$k.modifiers.expanded, className) }, children)));
5117
+ const AccordionItem = (_a) => {
5118
+ var { children = null, className, isExpanded: isExpandedProp = false } = _a, props = __rest$1(_a, ["children", "className", "isExpanded"]);
5119
+ return (React.createElement(AccordionItemContext.Provider, { value: {
5120
+ isExpanded: isExpandedProp
5121
+ } },
5122
+ React.createElement("div", Object.assign({ className: css$1(styles$n.accordionItem, isExpandedProp && styles$n.modifiers.expanded, className) }, props), children)));
5123
+ };
5469
5124
  AccordionItem.displayName = 'AccordionItem';
5470
5125
 
5471
5126
  const AngleRightIconConfig = {
@@ -5481,22 +5136,48 @@ const AngleRightIcon = createIcon(AngleRightIconConfig);
5481
5136
 
5482
5137
  const AccordionToggle = (_a) => {
5483
5138
  var { className = '', id, children = null, component } = _a, props = __rest$1(_a, ["className", "id", "children", "component"]);
5484
- const renderToggleIcon = () => (React.createElement("span", { className: css(styles$k.accordionToggleIcon) },
5139
+ const renderToggleIcon = () => (React.createElement("span", { className: css$1(styles$n.accordionToggleIcon) },
5485
5140
  React.createElement(AngleRightIcon, null)));
5486
5141
  const { isExpanded } = React.useContext(AccordionItemContext);
5487
5142
  return (React.createElement(AccordionContext.Consumer, null, ({ ToggleContainer, togglePosition }) => {
5488
5143
  const Container = component || ToggleContainer;
5489
5144
  const isToggleStartPositioned = togglePosition === 'start';
5490
5145
  return (React.createElement(Container, null,
5491
- React.createElement("button", Object.assign({ id: id, className: css(styles$k.accordionToggle, isExpanded && styles$k.modifiers.expanded, className), "aria-expanded": isExpanded, type: "button" }, props),
5146
+ React.createElement("button", Object.assign({ id: id, className: css$1(styles$n.accordionToggle, isExpanded && styles$n.modifiers.expanded, className), "aria-expanded": isExpanded, type: "button" }, props),
5492
5147
  isToggleStartPositioned && renderToggleIcon(),
5493
- React.createElement("span", { className: css(styles$k.accordionToggleText) }, children),
5148
+ React.createElement("span", { className: css$1(styles$n.accordionToggleText) }, children),
5494
5149
  !isToggleStartPositioned && renderToggleIcon())));
5495
5150
  }));
5496
5151
  };
5497
5152
  AccordionToggle.displayName = 'AccordionToggle';
5498
5153
 
5499
- var styles$j = {
5154
+ var styles$m = {
5155
+ "actionList": "pf-v6-c-action-list",
5156
+ "actionListGroup": "pf-v6-c-action-list__group",
5157
+ "modifiers": {
5158
+ "icons": "pf-m-icons"
5159
+ }
5160
+ };
5161
+
5162
+ const ActionList = (_a) => {
5163
+ var { children, isIconList, className } = _a, props = __rest$1(_a, ["children", "isIconList", "className"]);
5164
+ return (React.createElement("div", Object.assign({ className: css$1(styles$m.actionList, isIconList && styles$m.modifiers.icons, className) }, props), children));
5165
+ };
5166
+ ActionList.displayName = 'ActionList';
5167
+
5168
+ const ActionListGroup = (_a) => {
5169
+ var { children, className, isIconGroup } = _a, props = __rest$1(_a, ["children", "className", "isIconGroup"]);
5170
+ return (React.createElement("div", Object.assign({ className: css$1(styles$m.actionListGroup, isIconGroup && styles$m.modifiers.icons, className) }, props), children));
5171
+ };
5172
+ ActionListGroup.displayName = 'ActionListGroup';
5173
+
5174
+ const ActionListItem = (_a) => {
5175
+ var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
5176
+ return (React.createElement("div", Object.assign({ className: css$1(`${styles$m.actionList}__item`, className) }, props), children));
5177
+ };
5178
+ ActionListItem.displayName = 'ActionListItem';
5179
+
5180
+ var styles$l = {
5500
5181
  "alert": "pf-v6-c-alert",
5501
5182
  "alertAction": "pf-v6-c-alert__action",
5502
5183
  "alertActionGroup": "pf-v6-c-alert__action-group",
@@ -5531,7 +5212,7 @@ const variantIcons = {
5531
5212
  const AlertIcon = (_a) => {
5532
5213
  var { variant, customIcon, className = '' } = _a, props = __rest$1(_a, ["variant", "customIcon", "className"]);
5533
5214
  const Icon = variantIcons[variant];
5534
- return Icon ? (React.createElement("div", Object.assign({}, props, { className: css(styles$j.alertIcon, className) }), customIcon || React.createElement(Icon, null))) : null;
5215
+ return Icon ? (React.createElement("div", Object.assign({}, props, { className: css$1(styles$l.alertIcon, className) }), customIcon || React.createElement(Icon, null))) : null;
5535
5216
  };
5536
5217
 
5537
5218
  const AlertContext = React.createContext(null);
@@ -5545,9 +5226,8 @@ const c_alert__title_max_lines = {
5545
5226
  const AlertToggleExpandButton = (_a) => {
5546
5227
  var { 'aria-label': ariaLabel = '', variantLabel, onToggleExpand, isExpanded = false } = _a, props = __rest$1(_a, ['aria-label', "variantLabel", "onToggleExpand", "isExpanded"]);
5547
5228
  const { title, variantLabel: alertVariantLabel } = React.useContext(AlertContext);
5548
- return (React.createElement(Button, Object.assign({ variant: ButtonVariant.plain, onClick: onToggleExpand, "aria-expanded": isExpanded, "aria-label": ariaLabel === '' ? `Toggle ${variantLabel || alertVariantLabel} alert: ${title}` : ariaLabel }, props),
5549
- React.createElement("span", { className: css(styles$j.alertToggleIcon) },
5550
- React.createElement(AngleRightIcon, { "aria-hidden": "true" }))));
5229
+ return (React.createElement(Button, Object.assign({ variant: ButtonVariant.plain, onClick: onToggleExpand, "aria-expanded": isExpanded, "aria-label": ariaLabel === '' ? `Toggle ${variantLabel || alertVariantLabel} alert: ${title}` : ariaLabel }, props, { icon: React.createElement("span", { className: css$1(styles$l.alertToggleIcon) },
5230
+ React.createElement(AngleRightIcon, { "aria-hidden": "true" })) })));
5551
5231
  };
5552
5232
  AlertToggleExpandButton.displayName = 'AlertToggleExpandButton';
5553
5233
 
@@ -5631,20 +5311,20 @@ const Alert = (_a) => {
5631
5311
  if (dismissed) {
5632
5312
  return null;
5633
5313
  }
5634
- const Title = (React.createElement(TitleComponent, Object.assign({}, (isTooltipVisible && { tabIndex: 0 }), { ref: titleRef, className: css(styles$j.alertTitle, truncateTitle && styles$j.modifiers.truncate) }), getHeadingContent));
5635
- return (React.createElement("div", Object.assign({ ref: divRef, className: css(styles$j.alert, isInline && styles$j.modifiers.inline, isPlain && styles$j.modifiers.plain, isExpandable && styles$j.modifiers.expandable, isExpanded && styles$j.modifiers.expanded, styles$j.modifiers[variant], className) }, ouiaProps, (isLiveRegion && {
5314
+ const Title = (React.createElement(TitleComponent, Object.assign({}, (isTooltipVisible && { tabIndex: 0 }), { ref: titleRef, className: css$1(styles$l.alertTitle, truncateTitle && styles$l.modifiers.truncate) }), getHeadingContent));
5315
+ return (React.createElement("div", Object.assign({ ref: divRef, className: css$1(styles$l.alert, isInline && styles$l.modifiers.inline, isPlain && styles$l.modifiers.plain, isExpandable && styles$l.modifiers.expandable, isExpanded && styles$l.modifiers.expanded, styles$l.modifiers[variant], className) }, ouiaProps, (isLiveRegion && {
5636
5316
  'aria-live': 'polite',
5637
5317
  'aria-atomic': 'false'
5638
5318
  }), { onMouseEnter: myOnMouseEnter, onMouseLeave: myOnMouseLeave, id: id }, props),
5639
5319
  isExpandable && (React.createElement(AlertContext.Provider, { value: { title, variantLabel } },
5640
- React.createElement("div", { className: css(styles$j.alertToggle) },
5320
+ React.createElement("div", { className: css$1(styles$l.alertToggle) },
5641
5321
  React.createElement(AlertToggleExpandButton, { isExpanded: isExpanded, onToggleExpand: onToggleExpand, "aria-label": toggleAriaLabel })))),
5642
5322
  React.createElement(AlertIcon, { variant: variant, customIcon: customIcon }),
5643
5323
  isTooltipVisible ? (React.createElement(Tooltip, { content: getHeadingContent, position: tooltipPosition }, Title)) : (Title),
5644
5324
  actionClose && (React.createElement(AlertContext.Provider, { value: { title, variantLabel } },
5645
- React.createElement("div", { className: css(styles$j.alertAction) }, actionClose))),
5646
- children && (!isExpandable || (isExpandable && isExpanded)) && (React.createElement("div", { className: css(styles$j.alertDescription) }, children)),
5647
- actionLinks && React.createElement("div", { className: css(styles$j.alertActionGroup) }, actionLinks)));
5325
+ React.createElement("div", { className: css$1(styles$l.alertAction) }, actionClose))),
5326
+ children && (!isExpandable || (isExpandable && isExpanded)) && (React.createElement("div", { className: css$1(styles$l.alertDescription) }, children)),
5327
+ actionLinks && React.createElement("div", { className: css$1(styles$l.alertActionGroup) }, actionLinks)));
5648
5328
  };
5649
5329
  Alert.displayName = 'Alert';
5650
5330
 
@@ -5668,13 +5348,12 @@ var breadcrumbStyles = {
5668
5348
  "breadcrumbLink": "pf-v6-c-breadcrumb__link",
5669
5349
  "breadcrumbList": "pf-v6-c-breadcrumb__list",
5670
5350
  "dirRtl": "pf-v6-m-dir-rtl",
5671
- "menuToggle": "pf-v6-c-menu-toggle",
5672
5351
  "modifiers": {
5673
5352
  "current": "pf-m-current"
5674
5353
  }
5675
5354
  };
5676
5355
 
5677
- var formStyles$1 = {
5356
+ var formStyles = {
5678
5357
  "formControl": "pf-v6-c-form-control",
5679
5358
  "formControlIcon": "pf-v6-c-form-control__icon",
5680
5359
  "formControlToggleIcon": "pf-v6-c-form-control__toggle-icon",
@@ -5704,7 +5383,7 @@ const statusIcons$1 = {
5704
5383
  const FormControlIcon = (_a) => {
5705
5384
  var { status, customIcon, className } = _a, props = __rest$1(_a, ["status", "customIcon", "className"]);
5706
5385
  const StatusIcon = status && statusIcons$1[status];
5707
- return (React.createElement("span", Object.assign({ className: css(formStyles$1.formControlIcon, status && formStyles$1.modifiers.status, className) }, props), customIcon || React.createElement(StatusIcon, null)));
5386
+ return (React.createElement("span", Object.assign({ className: css$1(formStyles.formControlIcon, status && formStyles.modifiers.status, className) }, props), customIcon || React.createElement(StatusIcon, null)));
5708
5387
  };
5709
5388
 
5710
5389
  var TextInputTypes;
@@ -5793,9 +5472,9 @@ class TextInputBase extends React.Component {
5793
5472
  const ariaExpandedProps = expandedProps
5794
5473
  ? { 'aria-expanded': expandedProps === null || expandedProps === void 0 ? void 0 : expandedProps.isExpanded, 'aria-controls': expandedProps === null || expandedProps === void 0 ? void 0 : expandedProps.ariaControls, role: 'combobox' }
5795
5474
  : {};
5796
- return (React.createElement("span", { className: css(formStyles$1.formControl, readOnlyVariant && formStyles$1.modifiers.readonly, readOnlyVariant === 'plain' && formStyles$1.modifiers.plain, isDisabled && formStyles$1.modifiers.disabled, (isExpanded || (expandedProps === null || expandedProps === void 0 ? void 0 : expandedProps.isExpanded)) && formStyles$1.modifiers.expanded, customIcon && formStyles$1.modifiers.icon, hasStatusIcon && formStyles$1.modifiers[validated], className) },
5475
+ return (React.createElement("span", { className: css$1(formStyles.formControl, readOnlyVariant && formStyles.modifiers.readonly, readOnlyVariant === 'plain' && formStyles.modifiers.plain, isDisabled && formStyles.modifiers.disabled, (isExpanded || (expandedProps === null || expandedProps === void 0 ? void 0 : expandedProps.isExpanded)) && formStyles.modifiers.expanded, customIcon && formStyles.modifiers.icon, hasStatusIcon && formStyles.modifiers[validated], className) },
5797
5476
  React.createElement("input", Object.assign({}, props, { onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange, type: type, value: this.sanitizeInputValue(value), "aria-invalid": props['aria-invalid'] ? props['aria-invalid'] : validated === ValidatedOptions.error }, ariaExpandedProps, { required: isRequired, disabled: isDisabled, readOnly: !!readOnlyVariant || readOnly, ref: innerRef || this.inputRef, placeholder: placeholder }, getOUIAProps(TextInput.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))),
5798
- (customIcon || hasStatusIcon) && (React.createElement("span", { className: css(formStyles$1.formControlUtilities) },
5477
+ (customIcon || hasStatusIcon) && (React.createElement("span", { className: css$1(formStyles.formControlUtilities) },
5799
5478
  customIcon && React.createElement(FormControlIcon, { customIcon: customIcon }),
5800
5479
  hasStatusIcon && React.createElement(FormControlIcon, { status: validated })))));
5801
5480
  }
@@ -6058,7 +5737,7 @@ class MenuBase extends React.Component {
6058
5737
  }, noHorizontalArrowHandling: document.activeElement &&
6059
5738
  (document.activeElement.classList.contains(breadcrumbStyles.breadcrumbLink) ||
6060
5739
  document.activeElement.tagName === 'INPUT'), noEnterHandling: true, noSpaceHandling: true })),
6061
- React.createElement("div", Object.assign({ id: id, className: css(menuStyles.menu, isPlain && menuStyles.modifiers.plain, isScrollable && menuStyles.modifiers.scrollable, containsFlyout && menuStyles.modifiers.flyout, isNavFlyout && 'pf-m-nav', containsDrilldown && menuStyles.modifiers.drilldown, _isMenuDrilledIn && menuStyles.modifiers.drilledIn, className), ref: this.menuRef }, getOUIAProps(Menu.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), props), children)));
5740
+ React.createElement("div", Object.assign({ id: id, className: css$1(menuStyles.menu, isPlain && menuStyles.modifiers.plain, isScrollable && menuStyles.modifiers.scrollable, containsFlyout && menuStyles.modifiers.flyout, isNavFlyout && 'pf-m-nav', containsDrilldown && menuStyles.modifiers.drilldown, _isMenuDrilledIn && menuStyles.modifiers.drilledIn, className), ref: this.menuRef }, getOUIAProps(Menu.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), props), children)));
6062
5741
  }
6063
5742
  }
6064
5743
  MenuBase.displayName = 'Menu';
@@ -6112,7 +5791,7 @@ const MenuContent = React.forwardRef((props, ref) => {
6112
5791
  }
6113
5792
  return ref || menuContentRef;
6114
5793
  };
6115
- return (React.createElement(MenuContext.Consumer, null, ({ menuId, onGetMenuHeight }) => (React.createElement("div", Object.assign({}, rest, { className: css(menuStyles.menuContent, props.className), ref: (el) => refCallback(el, menuId, onGetMenuHeight), style: Object.assign(Object.assign({}, (menuHeight && { [c_menu__content_Height.name]: menuHeight })), (maxMenuHeight && { [c_menu__content_MaxHeight.name]: maxMenuHeight })) }), children))));
5794
+ return (React.createElement(MenuContext.Consumer, null, ({ menuId, onGetMenuHeight }) => (React.createElement("div", Object.assign({}, rest, { className: css$1(menuStyles.menuContent, props.className), ref: (el) => refCallback(el, menuId, onGetMenuHeight), style: Object.assign(Object.assign({}, (menuHeight && { [c_menu__content_Height.name]: menuHeight })), (maxMenuHeight && { [c_menu__content_MaxHeight.name]: maxMenuHeight })) }), children))));
6116
5795
  });
6117
5796
  MenuContent.displayName = 'MenuContent';
6118
5797
 
@@ -6167,7 +5846,7 @@ const CheckIconConfig = {
6167
5846
 
6168
5847
  const CheckIcon = createIcon(CheckIconConfig);
6169
5848
 
6170
- var styles$i = {
5849
+ var styles$k = {
6171
5850
  "check": "pf-v6-c-check",
6172
5851
  "checkBody": "pf-v6-c-check__body",
6173
5852
  "checkDescription": "pf-v6-c-check__description",
@@ -6208,22 +5887,22 @@ class Checkbox extends React.Component {
6208
5887
  if ([false, true].includes(defaultChecked)) {
6209
5888
  checkedProps.defaultChecked = defaultChecked;
6210
5889
  }
6211
- const inputRendered = (React.createElement("input", Object.assign({}, props, { className: css(styles$i.checkInput, inputClassName), type: "checkbox", onChange: this.handleChange, "aria-invalid": !isValid, "aria-label": ariaLabel, disabled: isDisabled, required: isRequired, ref: (elem) => elem && (elem.indeterminate = isChecked === null) }, checkedProps, getOUIAProps(Checkbox.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))));
5890
+ const inputRendered = (React.createElement("input", Object.assign({}, props, { className: css$1(styles$k.checkInput, inputClassName), type: "checkbox", onChange: this.handleChange, "aria-invalid": !isValid, "aria-label": ariaLabel, disabled: isDisabled, required: isRequired, ref: (elem) => elem && (elem.indeterminate = isChecked === null) }, checkedProps, getOUIAProps(Checkbox.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))));
6212
5891
  const wrapWithLabel = (isLabelWrapped && !component) || component === 'label';
6213
5892
  const Label = wrapWithLabel ? 'span' : 'label';
6214
- const labelRendered = label ? (React.createElement(Label, { className: css(styles$i.checkLabel, isDisabled && styles$i.modifiers.disabled), htmlFor: !wrapWithLabel ? props.id : undefined },
5893
+ const labelRendered = label ? (React.createElement(Label, { className: css$1(styles$k.checkLabel, isDisabled && styles$k.modifiers.disabled), htmlFor: !wrapWithLabel ? props.id : undefined },
6215
5894
  label,
6216
- isRequired && (React.createElement("span", { className: css(styles$i.checkLabelRequired), "aria-hidden": "true" }, ASTERISK)))) : null;
5895
+ isRequired && (React.createElement("span", { className: css$1(styles$k.checkLabelRequired), "aria-hidden": "true" }, ASTERISK)))) : null;
6217
5896
  const Component = component !== null && component !== void 0 ? component : (wrapWithLabel ? 'label' : 'div');
6218
5897
  checkedProps.checked = checkedProps.checked === null ? false : checkedProps.checked;
6219
- return (React.createElement(Component, { className: css(styles$i.check, !label && styles$i.modifiers.standalone, className), htmlFor: wrapWithLabel ? props.id : undefined },
5898
+ return (React.createElement(Component, { className: css$1(styles$k.check, !label && styles$k.modifiers.standalone, className), htmlFor: wrapWithLabel ? props.id : undefined },
6220
5899
  labelPosition === 'start' ? (React.createElement(React.Fragment, null,
6221
5900
  labelRendered,
6222
5901
  inputRendered)) : (React.createElement(React.Fragment, null,
6223
5902
  inputRendered,
6224
5903
  labelRendered)),
6225
- description && React.createElement("span", { className: css(styles$i.checkDescription) }, description),
6226
- body && React.createElement("span", { className: css(styles$i.checkBody) }, body)));
5904
+ description && React.createElement("span", { className: css$1(styles$k.checkDescription) }, description),
5905
+ body && React.createElement("span", { className: css$1(styles$k.checkBody) }, body)));
6227
5906
  }
6228
5907
  }
6229
5908
  Checkbox.displayName = 'Checkbox';
@@ -6258,8 +5937,8 @@ const MenuItemActionBase = (_a) => {
6258
5937
  // event specified on the Menu
6259
5938
  onActionClick && onActionClick(event, itemId, actionId);
6260
5939
  };
6261
- return (React.createElement("div", Object.assign({ className: css(menuStyles.menuItemAction, isFavorited !== null && 'pf-m-favorite', isFavorited && menuStyles.modifiers.favorited, className) }, props),
6262
- React.createElement(Button, { "aria-label": ariaLabel, onClick: onClickButton, ref: innerRef, role: "menuitem", variant: "plain", tabIndex: -1, isDisabled: isDisabled || isDisabledContext }, icon === 'favorites' || isFavorited !== null ? React.createElement(StarIcon, { "aria-hidden": true }) : icon)));
5940
+ return (React.createElement("div", Object.assign({ className: css$1(menuStyles.menuItemAction, isFavorited !== null && 'pf-m-favorite', isFavorited && menuStyles.modifiers.favorited, className) }, props),
5941
+ React.createElement(Button, { "aria-label": ariaLabel, onClick: onClickButton, ref: innerRef, role: "menuitem", variant: "plain", tabIndex: -1, isDisabled: isDisabled || isDisabledContext, icon: icon === 'favorites' || isFavorited !== null ? React.createElement(StarIcon, { "aria-hidden": true }) : icon })));
6263
5942
  }))));
6264
5943
  };
6265
5944
  const MenuItemAction = React.forwardRef((props, ref) => (React.createElement(MenuItemActionBase, Object.assign({}, props, { innerRef: ref }))));
@@ -6458,7 +6137,7 @@ const MenuItemBase = (_a) => {
6458
6137
  }, [isFocused]);
6459
6138
  const isSelectMenu = menuRole === 'listbox';
6460
6139
  const renderItem = (React.createElement(React.Fragment, null,
6461
- React.createElement(GenerateId, null, (randomId) => (React.createElement(Component, Object.assign({ id: id, tabIndex: -1, className: css(menuStyles.menuItem, getIsSelected() && !hasCheckbox && menuStyles.modifiers.selected, className), "aria-current": getAriaCurrent() }, (!hasCheckbox && { disabled: isDisabled, 'aria-label': ariaLabel }), (!hasCheckbox && !flyoutMenu && { role: isSelectMenu ? 'option' : 'menuitem' }), (!hasCheckbox && !flyoutMenu && isSelectMenu && { 'aria-selected': getIsSelected() }), { ref: innerRef }, (!hasCheckbox && {
6140
+ React.createElement(GenerateId, null, (randomId) => (React.createElement(Component, Object.assign({ id: id, tabIndex: -1, className: css$1(menuStyles.menuItem, getIsSelected() && !hasCheckbox && menuStyles.modifiers.selected, className), "aria-current": getAriaCurrent() }, (!hasCheckbox && { disabled: isDisabled, 'aria-label': ariaLabel }), (!hasCheckbox && !flyoutMenu && { role: isSelectMenu ? 'option' : 'menuitem' }), (!hasCheckbox && !flyoutMenu && isSelectMenu && { 'aria-selected': getIsSelected() }), { ref: innerRef }, (!hasCheckbox && {
6462
6141
  onClick: (event) => {
6463
6142
  if (!isAriaDisabled) {
6464
6143
  onItemSelect(event, onSelect);
@@ -6470,20 +6149,20 @@ const MenuItemBase = (_a) => {
6470
6149
  }
6471
6150
  }
6472
6151
  }), (hasCheckbox && { htmlFor: randomId }), additionalProps),
6473
- React.createElement("span", { className: css(menuStyles.menuItemMain) },
6474
- direction === 'up' && (React.createElement("span", { className: css(menuStyles.menuItemToggleIcon) },
6152
+ React.createElement("span", { className: css$1(menuStyles.menuItemMain) },
6153
+ direction === 'up' && (React.createElement("span", { className: css$1(menuStyles.menuItemToggleIcon) },
6475
6154
  React.createElement(AngleLeftIcon, { "aria-hidden": true }))),
6476
- icon && React.createElement("span", { className: css(menuStyles.menuItemIcon) }, icon),
6477
- hasCheckbox && (React.createElement("span", { className: css(menuStyles.menuItemCheck) },
6155
+ icon && React.createElement("span", { className: css$1(menuStyles.menuItemIcon) }, icon),
6156
+ hasCheckbox && (React.createElement("span", { className: css$1(menuStyles.menuItemCheck) },
6478
6157
  React.createElement(Checkbox, { id: randomId, component: "span", isChecked: isSelected || false, onChange: (event) => onItemSelect(event, onSelect), isDisabled: isDisabled, "aria-disabled": isAriaDisabled }))),
6479
- React.createElement("span", { className: css(menuStyles.menuItemText) }, children),
6480
- isExternalLink && (React.createElement("span", { className: css(menuStyles.menuItemExternalIcon) },
6158
+ React.createElement("span", { className: css$1(menuStyles.menuItemText) }, children),
6159
+ isExternalLink && (React.createElement("span", { className: css$1(menuStyles.menuItemExternalIcon) },
6481
6160
  React.createElement(ExternalLinkAltIcon$1, { "aria-hidden": true }))),
6482
- (flyoutMenu || direction === 'down') && (React.createElement("span", { className: css(menuStyles.menuItemToggleIcon) },
6161
+ (flyoutMenu || direction === 'down') && (React.createElement("span", { className: css$1(menuStyles.menuItemToggleIcon) },
6483
6162
  React.createElement(AngleRightIcon, { "aria-hidden": true }))),
6484
- getIsSelected() && (React.createElement("span", { className: css(menuStyles.menuItemSelectIcon) },
6163
+ getIsSelected() && (React.createElement("span", { className: css$1(menuStyles.menuItemSelectIcon) },
6485
6164
  React.createElement(CheckIcon, { "aria-hidden": true })))),
6486
- description && direction !== 'up' && (React.createElement("span", { className: css(menuStyles.menuItemDescription) },
6165
+ description && direction !== 'up' && (React.createElement("span", { className: css$1(menuStyles.menuItemDescription) },
6487
6166
  React.createElement("span", null, description)))))),
6488
6167
  flyoutVisible && (React.createElement(MenuContext.Provider, { value: { disableHover } },
6489
6168
  React.createElement(FlyoutContext.Provider, { value: { direction: flyoutXDirection } }, flyoutMenu))),
@@ -6491,7 +6170,7 @@ const MenuItemBase = (_a) => {
6491
6170
  React.createElement(MenuItemContext.Provider, { value: { itemId, isDisabled } },
6492
6171
  actions,
6493
6172
  isFavorited !== null && (React.createElement(MenuItemAction, { icon: "favorites", isFavorited: isFavorited, "aria-label": isFavorited ? 'starred' : 'not starred', onClick: (event) => onActionClick(event, itemId), tabIndex: -1, actionId: "fav" })))));
6494
- return (React.createElement("li", Object.assign({ className: css(menuStyles.menuListItem, isDisabled && menuStyles.modifiers.disabled, isAriaDisabled && menuStyles.modifiers.ariaDisabled, _isOnPath && menuStyles.modifiers.currentPath, isLoadButton && menuStyles.modifiers.load, isLoading && menuStyles.modifiers.loading, isFocused && 'pf-m-focus', isDanger && menuStyles.modifiers.danger, className), onMouseOver: () => {
6173
+ return (React.createElement("li", Object.assign({ className: css$1(menuStyles.menuListItem, isDisabled && menuStyles.modifiers.disabled, isAriaDisabled && menuStyles.modifiers.ariaDisabled, _isOnPath && menuStyles.modifiers.currentPath, isLoadButton && menuStyles.modifiers.load, isLoading && menuStyles.modifiers.loading, isFocused && 'pf-m-focus', isDanger && menuStyles.modifiers.danger, className), onMouseOver: () => {
6495
6174
  if (!isAriaDisabled) {
6496
6175
  onMouseOver();
6497
6176
  }
@@ -6503,7 +6182,7 @@ MenuItem.displayName = 'MenuItem';
6503
6182
  const MenuList = (_a) => {
6504
6183
  var { children = null, className, isAriaMultiselectable = false, 'aria-label': ariaLabel } = _a, props = __rest$1(_a, ["children", "className", "isAriaMultiselectable", 'aria-label']);
6505
6184
  const { role } = React.useContext(MenuContext);
6506
- return (React.createElement("ul", Object.assign({ role: role }, (role === 'listbox' && { 'aria-multiselectable': isAriaMultiselectable }), { className: css(menuStyles.menuList, className), "aria-label": ariaLabel }, props), children));
6185
+ return (React.createElement("ul", Object.assign({ role: role }, (role === 'listbox' && { 'aria-multiselectable': isAriaMultiselectable }), { className: css$1(menuStyles.menuList, className), "aria-label": ariaLabel }, props), children));
6507
6186
  };
6508
6187
  MenuList.displayName = 'MenuList';
6509
6188
 
@@ -6553,7 +6232,7 @@ const SelectBase = (_a) => {
6553
6232
  window.removeEventListener('click', handleClick);
6554
6233
  };
6555
6234
  }, [isOpen, menuRef, toggleRef, onOpenChange, onOpenChangeKeys]);
6556
- const menu = (React__default.createElement(Menu, Object.assign({ role: role, className: css(className), ref: menuRef, onSelect: (event, value) => {
6235
+ const menu = (React__default.createElement(Menu, Object.assign({ role: role, className: css$1(className), ref: menuRef, onSelect: (event, value) => {
6557
6236
  onSelect && onSelect(event, value);
6558
6237
  shouldFocusToggleOnSelect && toggleRef.current.focus();
6559
6238
  }, isPlain: isPlain, selected: selected, isScrollable: isScrollable !== null && isScrollable !== void 0 ? isScrollable : (menuHeight !== undefined || maxMenuHeight !== undefined) }, getOUIAProps(Select.displayName, props.ouiaId !== undefined ? props.ouiaId : getDefaultOUIAId(Select.displayName), props.ouiaSafe !== undefined ? props.ouiaSafe : true), props),
@@ -6565,18 +6244,18 @@ Select.displayName = 'Select';
6565
6244
 
6566
6245
  const SelectList = (_a) => {
6567
6246
  var { children, className, isAriaMultiselectable = false } = _a, props = __rest$1(_a, ["children", "className", "isAriaMultiselectable"]);
6568
- return (React__default.createElement(MenuList, Object.assign({ isAriaMultiselectable: isAriaMultiselectable, className: css(className) }, props), children));
6247
+ return (React__default.createElement(MenuList, Object.assign({ isAriaMultiselectable: isAriaMultiselectable, className: css$1(className) }, props), children));
6569
6248
  };
6570
6249
  SelectList.displayName = 'SelectList';
6571
6250
 
6572
6251
  const SelectOptionBase = (_a) => {
6573
6252
  var { children, className, innerRef, value } = _a, props = __rest$1(_a, ["children", "className", "innerRef", "value"]);
6574
- return (React__default.createElement(MenuItem, Object.assign({ itemId: value, ref: innerRef, className: css(className) }, props), children));
6253
+ return (React__default.createElement(MenuItem, Object.assign({ itemId: value, ref: innerRef, className: css$1(className) }, props), children));
6575
6254
  };
6576
6255
  const SelectOption = React__default.forwardRef((props, ref) => (React__default.createElement(SelectOptionBase, Object.assign({}, props, { innerRef: ref }))));
6577
6256
  SelectOption.displayName = 'SelectOption';
6578
6257
 
6579
- var styles$h = {
6258
+ var styles$j = {
6580
6259
  "button": "pf-v6-c-button",
6581
6260
  "check": "pf-v6-c-check",
6582
6261
  "checkInput": "pf-v6-c-check__input",
@@ -6595,7 +6274,6 @@ var styles$h = {
6595
6274
  "fullWidth": "pf-m-full-width",
6596
6275
  "plain": "pf-m-plain",
6597
6276
  "expanded": "pf-m-expanded",
6598
- "active": "pf-m-active",
6599
6277
  "disabled": "pf-m-disabled",
6600
6278
  "small": "pf-m-small",
6601
6279
  "success": "pf-m-success",
@@ -6603,7 +6281,8 @@ var styles$h = {
6603
6281
  "danger": "pf-m-danger",
6604
6282
  "splitButton": "pf-m-split-button",
6605
6283
  "action": "pf-m-action",
6606
- "typeahead": "pf-m-typeahead"
6284
+ "typeahead": "pf-m-typeahead",
6285
+ "text": "pf-m-text"
6607
6286
  },
6608
6287
  "textInputGroup": "pf-v6-c-text-input-group"
6609
6288
  };
@@ -6629,12 +6308,16 @@ class MenuToggleBase extends React.Component {
6629
6308
  constructor() {
6630
6309
  super(...arguments);
6631
6310
  this.displayName = 'MenuToggleBase';
6311
+ this.state = {
6312
+ ouiaStateId: getDefaultOUIAId(MenuToggle.displayName, this.props.variant)
6313
+ };
6632
6314
  }
6633
6315
  render() {
6634
- const _a = this.props, { children, className, icon, badge, isExpanded, isDisabled, isFullHeight, isFullWidth, splitButtonOptions, variant, status, statusIcon, innerRef, onClick, 'aria-label': ariaLabel } = _a, otherProps = __rest$1(_a, ["children", "className", "icon", "badge", "isExpanded", "isDisabled", "isFullHeight", "isFullWidth", "splitButtonOptions", "variant", "status", "statusIcon", "innerRef", "onClick", 'aria-label']);
6316
+ const _a = this.props, { children, className, icon, badge, isExpanded, isDisabled, isFullHeight, isFullWidth, splitButtonOptions, variant, status, statusIcon, innerRef, onClick, 'aria-label': ariaLabel, ouiaId, ouiaSafe } = _a, otherProps = __rest$1(_a, ["children", "className", "icon", "badge", "isExpanded", "isDisabled", "isFullHeight", "isFullWidth", "splitButtonOptions", "variant", "status", "statusIcon", "innerRef", "onClick", 'aria-label', "ouiaId", "ouiaSafe"]);
6635
6317
  const isPlain = variant === 'plain';
6636
6318
  const isPlainText = variant === 'plainText';
6637
6319
  const isTypeahead = variant === 'typeahead';
6320
+ const ouiaProps = getOUIAProps(MenuToggle.displayName, ouiaId !== null && ouiaId !== void 0 ? ouiaId : this.state.ouiaStateId, ouiaSafe);
6638
6321
  let _statusIcon = statusIcon;
6639
6322
  if (!statusIcon) {
6640
6323
  switch (status) {
@@ -6649,28 +6332,28 @@ class MenuToggleBase extends React.Component {
6649
6332
  break;
6650
6333
  }
6651
6334
  }
6652
- const toggleControls = (React.createElement("span", { className: css(styles$h.menuToggleControls) },
6653
- status !== undefined && React.createElement("span", { className: css(styles$h.menuToggleStatusIcon) }, _statusIcon),
6654
- React.createElement("span", { className: css(styles$h.menuToggleToggleIcon) },
6335
+ const toggleControls = (React.createElement("span", { className: css$1(styles$j.menuToggleControls) },
6336
+ status !== undefined && React.createElement("span", { className: css$1(styles$j.menuToggleStatusIcon) }, _statusIcon),
6337
+ React.createElement("span", { className: css$1(styles$j.menuToggleToggleIcon) },
6655
6338
  React.createElement(CaretDownIcon, { "aria-hidden": true }))));
6656
6339
  const content = (React.createElement(React.Fragment, null,
6657
- icon && React.createElement("span", { className: css(styles$h.menuToggleIcon) }, icon),
6658
- isTypeahead ? children : children && React.createElement("span", { className: css(styles$h.menuToggleText) }, children),
6659
- React.isValidElement(badge) && React.createElement("span", { className: css(styles$h.menuToggleCount) }, badge),
6660
- isTypeahead ? (React.createElement("button", { type: "button", className: css(styles$h.menuToggleButton), "aria-expanded": isExpanded, onClick: onClick, "aria-label": ariaLabel || 'Menu toggle', tabIndex: -1 }, toggleControls)) : (!isPlain && toggleControls)));
6661
- const commonStyles = css(styles$h.menuToggle, isExpanded && styles$h.modifiers.expanded, variant === 'primary' && styles$h.modifiers.primary, variant === 'secondary' && styles$h.modifiers.secondary, status && styles$h.modifiers[status], (isPlain || isPlainText) && styles$h.modifiers.plain, isPlainText && 'pf-m-text', isFullHeight && styles$h.modifiers.fullHeight, isFullWidth && styles$h.modifiers.fullWidth, isDisabled && styles$h.modifiers.disabled, className);
6340
+ icon && React.createElement("span", { className: css$1(styles$j.menuToggleIcon) }, icon),
6341
+ isTypeahead ? children : children && React.createElement("span", { className: css$1(styles$j.menuToggleText) }, children),
6342
+ React.isValidElement(badge) && React.createElement("span", { className: css$1(styles$j.menuToggleCount) }, badge),
6343
+ isTypeahead ? (React.createElement("button", Object.assign({ type: "button", className: css$1(styles$j.menuToggleButton), "aria-expanded": isExpanded, onClick: onClick, "aria-label": ariaLabel || 'Menu toggle', tabIndex: -1 }, ouiaProps), toggleControls)) : (!isPlain && toggleControls)));
6344
+ const commonStyles = css$1(styles$j.menuToggle, isExpanded && styles$j.modifiers.expanded, variant === 'primary' && styles$j.modifiers.primary, variant === 'secondary' && styles$j.modifiers.secondary, status && styles$j.modifiers[status], (isPlain || isPlainText) && styles$j.modifiers.plain, isPlainText && 'pf-m-text', isFullHeight && styles$j.modifiers.fullHeight, isFullWidth && styles$j.modifiers.fullWidth, isDisabled && styles$j.modifiers.disabled, className);
6662
6345
  const componentProps = Object.assign(Object.assign({ children: content }, (isDisabled && { disabled: true })), otherProps);
6663
6346
  if (isTypeahead) {
6664
- return (React.createElement("div", Object.assign({ ref: innerRef, className: css(commonStyles, styles$h.modifiers.typeahead) }, componentProps)));
6347
+ return (React.createElement("div", Object.assign({ ref: innerRef, className: css$1(commonStyles, styles$j.modifiers.typeahead) }, componentProps)));
6665
6348
  }
6666
6349
  if (splitButtonOptions) {
6667
- return (React.createElement("div", { ref: innerRef, className: css(commonStyles, styles$h.modifiers.splitButton, (splitButtonOptions === null || splitButtonOptions === void 0 ? void 0 : splitButtonOptions.variant) === 'action' && styles$h.modifiers.action) }, splitButtonOptions === null || splitButtonOptions === void 0 ? void 0 :
6350
+ return (React.createElement("div", { ref: innerRef, className: css$1(commonStyles, styles$j.modifiers.splitButton, (splitButtonOptions === null || splitButtonOptions === void 0 ? void 0 : splitButtonOptions.variant) === 'action' && styles$j.modifiers.action) }, splitButtonOptions === null || splitButtonOptions === void 0 ? void 0 :
6668
6351
  splitButtonOptions.items,
6669
- React.createElement("button", Object.assign({ className: css(styles$h.menuToggleButton), type: "button", "aria-expanded": isExpanded, "aria-label": ariaLabel, disabled: isDisabled, onClick: onClick }, (children && { style: { display: 'flex', paddingLeft: 'var(--pf-v5-global--spacer--sm)' } }), otherProps),
6670
- children && React.createElement("span", { className: css(styles$h.menuToggleText) }, children),
6352
+ React.createElement("button", Object.assign({ className: css$1(styles$j.menuToggleButton), type: "button", "aria-expanded": isExpanded, "aria-label": ariaLabel, disabled: isDisabled, onClick: onClick }, (children && { style: { display: 'flex', paddingLeft: 'var(--pf-v5-global--spacer--sm)' } }), otherProps, ouiaProps),
6353
+ children && React.createElement("span", { className: css$1(styles$j.menuToggleText) }, children),
6671
6354
  toggleControls)));
6672
6355
  }
6673
- return (React.createElement("button", Object.assign({ className: css(commonStyles), type: "button", "aria-label": ariaLabel, "aria-expanded": isExpanded, ref: innerRef, disabled: isDisabled, onClick: onClick }, componentProps)));
6356
+ return (React.createElement("button", Object.assign({ className: css$1(commonStyles), type: "button", "aria-label": ariaLabel, "aria-expanded": isExpanded, ref: innerRef, disabled: isDisabled, onClick: onClick }, componentProps, ouiaProps)));
6674
6357
  }
6675
6358
  }
6676
6359
  MenuToggleBase.defaultProps = {
@@ -6678,12 +6361,13 @@ MenuToggleBase.defaultProps = {
6678
6361
  isExpanded: false,
6679
6362
  isDisabled: false,
6680
6363
  isFullWidth: false,
6681
- isFullHeight: false
6364
+ isFullHeight: false,
6365
+ ouiaSafe: true
6682
6366
  };
6683
6367
  const MenuToggle = React.forwardRef((props, ref) => (React.createElement(MenuToggleBase, Object.assign({ innerRef: ref }, props))));
6684
6368
  MenuToggle.displayName = 'MenuToggle';
6685
6369
 
6686
- var styles$g = {
6370
+ var styles$i = {
6687
6371
  "inputGroup": "pf-v6-c-input-group",
6688
6372
  "inputGroupItem": "pf-v6-c-input-group__item",
6689
6373
  "inputGroupText": "pf-v6-c-input-group__text",
@@ -6699,7 +6383,7 @@ const InputGroupBase = (_a) => {
6699
6383
  var { className, children, innerRef } = _a, props = __rest$1(_a, ["className", "children", "innerRef"]);
6700
6384
  const ref = React.useRef(null);
6701
6385
  const inputGroupRef = innerRef || ref;
6702
- return (React.createElement("div", Object.assign({ ref: inputGroupRef, className: css(styles$g.inputGroup, className) }, props), children));
6386
+ return (React.createElement("div", Object.assign({ ref: inputGroupRef, className: css$1(styles$i.inputGroup, className) }, props), children));
6703
6387
  };
6704
6388
  InputGroupBase.displayName = 'InputGroupBase';
6705
6389
  const InputGroup = React.forwardRef((props, ref) => (React.createElement(InputGroupBase, Object.assign({ innerRef: ref }, props))));
@@ -6707,14 +6391,16 @@ InputGroup.displayName = 'InputGroup';
6707
6391
 
6708
6392
  const InputGroupItem = (_a) => {
6709
6393
  var { className, children, isFill = false, isBox = false, isPlain, isDisabled } = _a, props = __rest$1(_a, ["className", "children", "isFill", "isBox", "isPlain", "isDisabled"]);
6710
- return (React.createElement("div", Object.assign({ className: css(styles$g.inputGroupItem, isFill && styles$g.modifiers.fill, isBox && styles$g.modifiers.box, isPlain && styles$g.modifiers.plain, isDisabled && styles$g.modifiers.disabled, className) }, props), children));
6394
+ return (React.createElement("div", Object.assign({ className: css$1(styles$i.inputGroupItem, isFill && styles$i.modifiers.fill, isBox && styles$i.modifiers.box, isPlain && styles$i.modifiers.plain, isDisabled && styles$i.modifiers.disabled, className) }, props), children));
6711
6395
  };
6712
6396
  InputGroupItem.displayName = 'InputGroupItem';
6713
6397
 
6714
- var styles$f = {
6398
+ var styles$h = {
6399
+ "button": "pf-v6-c-button",
6715
6400
  "card": "pf-v6-c-card",
6716
6401
  "cardActions": "pf-v6-c-card__actions",
6717
6402
  "cardBody": "pf-v6-c-card__body",
6403
+ "cardClickableAction": "pf-v6-c-card__clickable-action",
6718
6404
  "cardExpandableContent": "pf-v6-c-card__expandable-content",
6719
6405
  "cardFooter": "pf-v6-c-card__footer",
6720
6406
  "cardHeader": "pf-v6-c-card__header",
@@ -6732,8 +6418,8 @@ var styles$f = {
6732
6418
  "modifiers": {
6733
6419
  "selectable": "pf-m-selectable",
6734
6420
  "clickable": "pf-m-clickable",
6735
- "selected": "pf-m-selected",
6736
6421
  "current": "pf-m-current",
6422
+ "selected": "pf-m-selected",
6737
6423
  "disabled": "pf-m-disabled",
6738
6424
  "compact": "pf-m-compact",
6739
6425
  "displayLg": "pf-m-display-lg",
@@ -6771,13 +6457,13 @@ const Card = (_a) => {
6771
6457
  }
6772
6458
  const getSelectableModifiers = () => {
6773
6459
  if (isSelectable && isClickable) {
6774
- return css(styles$f.modifiers.selectable, styles$f.modifiers.clickable, (isSelected || isClicked) && styles$f.modifiers.current);
6460
+ return css$1(styles$h.modifiers.selectable, styles$h.modifiers.clickable, (isSelected || isClicked) && styles$h.modifiers.current);
6775
6461
  }
6776
6462
  if (isSelectable) {
6777
- return css(styles$f.modifiers.selectable, isSelected && styles$f.modifiers.selected);
6463
+ return css$1(styles$h.modifiers.selectable, isSelected && styles$h.modifiers.selected);
6778
6464
  }
6779
6465
  if (isClickable) {
6780
- return css(styles$f.modifiers.clickable, isClicked && styles$f.modifiers.current);
6466
+ return css$1(styles$h.modifiers.clickable, isClicked && styles$h.modifiers.current);
6781
6467
  }
6782
6468
  return '';
6783
6469
  };
@@ -6790,21 +6476,21 @@ const Card = (_a) => {
6790
6476
  isClicked,
6791
6477
  isDisabled
6792
6478
  } },
6793
- React.createElement(Component, Object.assign({ id: id, className: css(styles$f.card, isCompact && styles$f.modifiers.compact, isExpanded && styles$f.modifiers.expanded, isLarge && styles$f.modifiers.displayLg, isFullHeight && styles$f.modifiers.fullHeight, isPlain && styles$f.modifiers.plain, variant === 'secondary' && styles$f.modifiers.secondary, getSelectableModifiers(), isDisabled && styles$f.modifiers.disabled, className) }, props, ouiaProps), children)));
6479
+ React.createElement(Component, Object.assign({ id: id, className: css$1(styles$h.card, isCompact && styles$h.modifiers.compact, isExpanded && styles$h.modifiers.expanded, isLarge && styles$h.modifiers.displayLg, isFullHeight && styles$h.modifiers.fullHeight, isPlain && styles$h.modifiers.plain, variant === 'secondary' && styles$h.modifiers.secondary, getSelectableModifiers(), isDisabled && styles$h.modifiers.disabled, className) }, props, ouiaProps), children)));
6794
6480
  };
6795
6481
  Card.displayName = 'Card';
6796
6482
 
6797
6483
  const CardBody = (_a) => {
6798
6484
  var { children, className, component = 'div', isFilled = true } = _a, props = __rest$1(_a, ["children", "className", "component", "isFilled"]);
6799
6485
  const Component = component;
6800
- return (React.createElement(Component, Object.assign({ className: css(styles$f.cardBody, !isFilled && styles$f.modifiers.noFill, className) }, props), children));
6486
+ return (React.createElement(Component, Object.assign({ className: css$1(styles$h.cardBody, !isFilled && styles$h.modifiers.noFill, className) }, props), children));
6801
6487
  };
6802
6488
  CardBody.displayName = 'CardBody';
6803
6489
 
6804
6490
  const CardFooter = (_a) => {
6805
6491
  var { children, className, component = 'div' } = _a, props = __rest$1(_a, ["children", "className", "component"]);
6806
6492
  const Component = component;
6807
- return (React.createElement(Component, Object.assign({ className: css(styles$f.cardFooter, className) }, props), children));
6493
+ return (React.createElement(Component, Object.assign({ className: css$1(styles$h.cardFooter, className) }, props), children));
6808
6494
  };
6809
6495
  CardFooter.displayName = 'CardFooter';
6810
6496
 
@@ -6813,30 +6499,30 @@ const CardTitle = (_a) => {
6813
6499
  const { cardId } = React.useContext(CardContext);
6814
6500
  const Component = component;
6815
6501
  const titleId = cardId ? `${cardId}-title` : '';
6816
- return (React.createElement("div", { className: css(styles$f.cardTitle) },
6817
- React.createElement(Component, Object.assign({ className: css(styles$f.cardTitleText, className), id: titleId || undefined }, props), children)));
6502
+ return (React.createElement("div", { className: css$1(styles$h.cardTitle) },
6503
+ React.createElement(Component, Object.assign({ className: css$1(styles$h.cardTitleText, className), id: titleId || undefined }, props), children)));
6818
6504
  };
6819
6505
  CardTitle.displayName = 'CardTitle';
6820
6506
 
6821
6507
  const CardHeaderMain = (_a) => {
6822
6508
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
6823
- return (React.createElement("div", Object.assign({ className: css(styles$f.cardHeaderMain, className) }, props), children));
6509
+ return (React.createElement("div", Object.assign({ className: css$1(styles$h.cardHeaderMain, className) }, props), children));
6824
6510
  };
6825
6511
  CardHeaderMain.displayName = 'CardHeaderMain';
6826
6512
 
6827
6513
  const CardActions = (_a) => {
6828
6514
  var { children, className, hasNoOffset = false } = _a, props = __rest$1(_a, ["children", "className", "hasNoOffset"]);
6829
- return (React.createElement("div", Object.assign({ className: css(styles$f.cardActions, hasNoOffset && styles$f.modifiers.noOffset, className) }, props), children));
6515
+ return (React.createElement("div", Object.assign({ className: css$1(styles$h.cardActions, hasNoOffset && styles$h.modifiers.noOffset, className) }, props), children));
6830
6516
  };
6831
6517
  CardActions.displayName = 'CardActions';
6832
6518
 
6833
6519
  const CardSelectableActions = (_a) => {
6834
6520
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
6835
- return (React.createElement("div", Object.assign({ className: css(styles$f.cardSelectableActions, className) }, props), children));
6521
+ return (React.createElement("div", Object.assign({ className: css$1(styles$h.cardSelectableActions, className) }, props), children));
6836
6522
  };
6837
6523
  CardSelectableActions.displayName = 'CardSelectableActions';
6838
6524
 
6839
- var styles$e = {
6525
+ var styles$g = {
6840
6526
  "modifiers": {
6841
6527
  "standalone": "pf-m-standalone",
6842
6528
  "disabled": "pf-m-disabled"
@@ -6870,19 +6556,19 @@ class Radio extends React.Component {
6870
6556
  // eslint-disable-next-line no-console
6871
6557
  console.error('Radio:', 'id is required to make input accessible');
6872
6558
  }
6873
- const inputRendered = (React.createElement("input", Object.assign({}, props, { className: css(styles$e.radioInput, inputClassName), type: "radio", onChange: this.handleChange, "aria-invalid": !isValid, disabled: isDisabled, checked: checked || isChecked }, (checked === undefined && { defaultChecked }), (!label && { 'aria-label': ariaLabel }), getOUIAProps(Radio.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))));
6559
+ const inputRendered = (React.createElement("input", Object.assign({}, props, { className: css$1(styles$g.radioInput, inputClassName), type: "radio", onChange: this.handleChange, "aria-invalid": !isValid, disabled: isDisabled, checked: checked || isChecked }, (checked === undefined && { defaultChecked }), (!label && { 'aria-label': ariaLabel }), getOUIAProps(Radio.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe))));
6874
6560
  const wrapWithLabel = (isLabelWrapped && !component) || component === 'label';
6875
6561
  const Label = wrapWithLabel ? 'span' : 'label';
6876
- const labelRendered = label ? (React.createElement(Label, { className: css(styles$e.radioLabel, isDisabled && styles$e.modifiers.disabled), htmlFor: !wrapWithLabel ? props.id : undefined }, label)) : null;
6562
+ const labelRendered = label ? (React.createElement(Label, { className: css$1(styles$g.radioLabel, isDisabled && styles$g.modifiers.disabled), htmlFor: !wrapWithLabel ? props.id : undefined }, label)) : null;
6877
6563
  const Component = component !== null && component !== void 0 ? component : (wrapWithLabel ? 'label' : 'div');
6878
- return (React.createElement(Component, { className: css(styles$e.radio, !label && styles$e.modifiers.standalone, className), htmlFor: wrapWithLabel ? props.id : undefined },
6564
+ return (React.createElement(Component, { className: css$1(styles$g.radio, !label && styles$g.modifiers.standalone, className), htmlFor: wrapWithLabel ? props.id : undefined },
6879
6565
  labelPosition === 'start' ? (React.createElement(React.Fragment, null,
6880
6566
  labelRendered,
6881
6567
  inputRendered)) : (React.createElement(React.Fragment, null,
6882
6568
  inputRendered,
6883
6569
  labelRendered)),
6884
- description && React.createElement("span", { className: css(styles$e.radioDescription) }, description),
6885
- body && React.createElement("span", { className: css(styles$e.radioBody) }, body)));
6570
+ description && React.createElement("span", { className: css$1(styles$g.radioDescription) }, description),
6571
+ body && React.createElement("span", { className: css$1(styles$g.radioBody) }, body)));
6886
6572
  }
6887
6573
  }
6888
6574
  Radio.displayName = 'Radio';
@@ -6896,12 +6582,11 @@ Radio.defaultProps = {
6896
6582
  const CardHeader = (_a) => {
6897
6583
  var { children, className, actions, selectableActions, id, onExpand, toggleButtonProps, isToggleRightAligned } = _a, props = __rest$1(_a, ["children", "className", "actions", "selectableActions", "id", "onExpand", "toggleButtonProps", "isToggleRightAligned"]);
6898
6584
  return (React.createElement(CardContext.Consumer, null, ({ cardId, isClickable, isSelectable, isSelected, isClicked, isDisabled: isCardDisabled }) => {
6899
- const cardHeaderToggle = (React.createElement("div", { className: css(styles$f.cardHeaderToggle) },
6585
+ const cardHeaderToggle = (React.createElement("div", { className: css$1(styles$h.cardHeaderToggle) },
6900
6586
  React.createElement(Button, Object.assign({ variant: "plain", type: "button", onClick: (evt) => {
6901
6587
  onExpand(evt, cardId);
6902
- } }, toggleButtonProps),
6903
- React.createElement("span", { className: css(styles$f.cardHeaderToggleIcon) },
6904
- React.createElement(AngleRightIcon, { "aria-hidden": "true" })))));
6588
+ } }, toggleButtonProps, { icon: React.createElement("span", { className: css$1(styles$h.cardHeaderToggleIcon) },
6589
+ React.createElement(AngleRightIcon, { "aria-hidden": "true" })) }))));
6905
6590
  const isClickableOrSelectableOnly = (isClickable && !isSelectable) || (isSelectable && !isClickable);
6906
6591
  if ((actions === null || actions === void 0 ? void 0 : actions.actions) && isClickableOrSelectableOnly) {
6907
6592
  // eslint-disable-next-line no-console
@@ -6936,7 +6621,7 @@ const CardHeader = (_a) => {
6936
6621
  }
6937
6622
  return baseProps;
6938
6623
  };
6939
- return (React.createElement("div", Object.assign({ className: css(styles$f.cardHeader, isToggleRightAligned && styles$f.modifiers.toggleRight, className), id: id }, props),
6624
+ return (React.createElement("div", Object.assign({ className: css$1(styles$h.cardHeader, isToggleRightAligned && styles$h.modifiers.toggleRight, className), id: id }, props),
6940
6625
  onExpand && !isToggleRightAligned && cardHeaderToggle,
6941
6626
  (actions || (selectableActions && (isClickable || isSelectable))) && (React.createElement(CardActions, { className: actions === null || actions === void 0 ? void 0 : actions.className, hasNoOffset: (actions === null || actions === void 0 ? void 0 : actions.hasNoOffset) || (selectableActions === null || selectableActions === void 0 ? void 0 : selectableActions.hasNoOffset) }, actions === null || actions === void 0 ? void 0 :
6942
6627
  actions.actions,
@@ -6947,7 +6632,7 @@ const CardHeader = (_a) => {
6947
6632
  };
6948
6633
  CardHeader.displayName = 'CardHeader';
6949
6634
 
6950
- var styles$d = {
6635
+ var styles$f = {
6951
6636
  "codeBlock": "pf-v6-c-code-block",
6952
6637
  "codeBlockActions": "pf-v6-c-code-block__actions",
6953
6638
  "codeBlockCode": "pf-v6-c-code-block__code",
@@ -6958,14 +6643,66 @@ var styles$d = {
6958
6643
 
6959
6644
  const CodeBlock = (_a) => {
6960
6645
  var { children = null, className, actions = null } = _a, props = __rest$1(_a, ["children", "className", "actions"]);
6961
- return (React.createElement("div", Object.assign({ className: css(styles$d.codeBlock, className) }, props),
6962
- actions && (React.createElement("div", { className: css(styles$d.codeBlockHeader) },
6963
- React.createElement("div", { className: css(styles$d.codeBlockActions) }, actions))),
6964
- React.createElement("div", { className: css(styles$d.codeBlockContent) }, children)));
6646
+ return (React.createElement("div", Object.assign({ className: css$1(styles$f.codeBlock, className) }, props),
6647
+ actions && (React.createElement("div", { className: css$1(styles$f.codeBlockHeader) },
6648
+ React.createElement("div", { className: css$1(styles$f.codeBlockActions) }, actions))),
6649
+ React.createElement("div", { className: css$1(styles$f.codeBlockContent) }, children)));
6965
6650
  };
6966
6651
  CodeBlock.displayName = 'CodeBlock';
6967
6652
 
6968
- var styles$c = {
6653
+ var ContentVariants;
6654
+ (function (ContentVariants) {
6655
+ ContentVariants["h1"] = "h1";
6656
+ ContentVariants["h2"] = "h2";
6657
+ ContentVariants["h3"] = "h3";
6658
+ ContentVariants["h4"] = "h4";
6659
+ ContentVariants["h5"] = "h5";
6660
+ ContentVariants["h6"] = "h6";
6661
+ ContentVariants["p"] = "p";
6662
+ ContentVariants["a"] = "a";
6663
+ ContentVariants["small"] = "small";
6664
+ ContentVariants["blockquote"] = "blockquote";
6665
+ ContentVariants["pre"] = "pre";
6666
+ ContentVariants["hr"] = "hr";
6667
+ ContentVariants["ul"] = "ul";
6668
+ ContentVariants["ol"] = "ol";
6669
+ ContentVariants["dl"] = "dl";
6670
+ ContentVariants["li"] = "li";
6671
+ ContentVariants["dt"] = "dt";
6672
+ ContentVariants["dd"] = "dd";
6673
+ })(ContentVariants || (ContentVariants = {}));
6674
+ const componentStyles = {
6675
+ div: styles$v.content,
6676
+ h1: styles$v.contentH1,
6677
+ h2: styles$v.contentH2,
6678
+ h3: styles$v.contentH3,
6679
+ h4: styles$v.contentH4,
6680
+ h5: styles$v.contentH5,
6681
+ h6: styles$v.contentH6,
6682
+ p: styles$v.contentP,
6683
+ a: styles$v.contentA,
6684
+ small: styles$v.contentSmall,
6685
+ blockquote: styles$v.contentBlockquote,
6686
+ pre: styles$v.contentPre,
6687
+ hr: styles$v.contentHr,
6688
+ ul: styles$v.contentUl,
6689
+ ol: styles$v.contentOl,
6690
+ dl: styles$v.contentDl,
6691
+ li: styles$v.contentLi,
6692
+ dt: styles$v.contentDt,
6693
+ dd: styles$v.contentDd
6694
+ };
6695
+ const Content = (_a) => {
6696
+ var { children, className = '', component, isPlainList = false, isVisitedLink = false, ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["children", "className", "component", "isPlainList", "isVisitedLink", "ouiaId", "ouiaSafe"]);
6697
+ const wrappingComponent = component !== null && component !== void 0 ? component : 'div';
6698
+ const Component = wrappingComponent;
6699
+ const ouiaProps = useOUIAProps(Content.displayName, ouiaId, ouiaSafe);
6700
+ const isList = ['ul', 'ol', 'dl'].includes(wrappingComponent);
6701
+ return (React.createElement(Component, Object.assign({}, ouiaProps, props, { "data-pf-content": true, className: css$1(componentStyles[wrappingComponent], isList && isPlainList && styles$v.modifiers.plain, isVisitedLink && styles$v.modifiers.visited, className) }), children));
6702
+ };
6703
+ Content.displayName = 'Content';
6704
+
6705
+ var styles$e = {
6969
6706
  "modifiers": {
6970
6707
  "noPadding": "pf-m-no-padding",
6971
6708
  "widthAuto": "pf-m-width-auto",
@@ -7003,33 +6740,33 @@ const PopoverContext = React.createContext({});
7003
6740
 
7004
6741
  const PopoverContent = (_a) => {
7005
6742
  var { className = null, children } = _a, props = __rest$1(_a, ["className", "children"]);
7006
- return (React.createElement("div", Object.assign({ className: css(styles$c.popoverContent, className) }, props), children));
6743
+ return (React.createElement("div", Object.assign({ className: css$1(styles$e.popoverContent, className) }, props), children));
7007
6744
  };
7008
6745
  PopoverContent.displayName = 'PopoverContent';
7009
6746
 
7010
6747
  const PopoverBody = (_a) => {
7011
6748
  var { children, id, className } = _a, props = __rest$1(_a, ["children", "id", "className"]);
7012
- return (React.createElement("div", Object.assign({ className: css(styles$c.popoverBody, className), id: id }, props), children));
6749
+ return (React.createElement("div", Object.assign({ className: css$1(styles$e.popoverBody, className), id: id }, props), children));
7013
6750
  };
7014
6751
  PopoverBody.displayName = 'PopoverBody';
7015
6752
 
7016
6753
  const PopoverHeaderIcon = (_a) => {
7017
6754
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
7018
- return (React.createElement("span", Object.assign({ className: css(styles$c.popoverTitleIcon, className) }, props), children));
6755
+ return (React.createElement("span", Object.assign({ className: css$1(styles$e.popoverTitleIcon, className) }, props), children));
7019
6756
  };
7020
6757
  PopoverHeaderIcon.displayName = 'PopoverHeaderIcon';
7021
6758
 
7022
6759
  const PopoverHeaderText = (_a) => {
7023
6760
  var { children, className, headingLevel } = _a, props = __rest$1(_a, ["children", "className", "headingLevel"]);
7024
6761
  const HeadingLevel = headingLevel;
7025
- return (React.createElement(HeadingLevel, Object.assign({ className: css(styles$c.popoverTitleText, className) }, props), children));
6762
+ return (React.createElement(HeadingLevel, Object.assign({ className: css$1(styles$e.popoverTitleText, className) }, props), children));
7026
6763
  };
7027
6764
  PopoverHeaderText.displayName = 'PopoverHeaderText';
7028
6765
 
7029
6766
  const PopoverHeader = (_a) => {
7030
6767
  var { children, icon, className, titleHeadingLevel = 'h6', alertSeverityVariant, id, alertSeverityScreenReaderText } = _a, props = __rest$1(_a, ["children", "icon", "className", "titleHeadingLevel", "alertSeverityVariant", "id", "alertSeverityScreenReaderText"]);
7031
- return (React.createElement("header", Object.assign({ className: css(styles$c.popoverHeader, className) }, props),
7032
- React.createElement("div", { className: css(styles$c.popoverTitle), id: id },
6768
+ return (React.createElement("header", Object.assign({ className: css$1(styles$e.popoverHeader, className) }, props),
6769
+ React.createElement("div", { className: css$1(styles$e.popoverTitle), id: id },
7033
6770
  icon && React.createElement(PopoverHeaderIcon, null, icon),
7034
6771
  React.createElement(PopoverHeaderText, { headingLevel: titleHeadingLevel },
7035
6772
  alertSeverityVariant && alertSeverityScreenReaderText && (React.createElement("span", { className: "pf-v6-screen-reader" }, alertSeverityScreenReaderText)),
@@ -7039,21 +6776,20 @@ PopoverHeader.displayName = 'PopoverHeader';
7039
6776
 
7040
6777
  const PopoverFooter = (_a) => {
7041
6778
  var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
7042
- return (React.createElement("footer", Object.assign({ className: css(styles$c.popoverFooter, className) }, props), children));
6779
+ return (React.createElement("footer", Object.assign({ className: css$1(styles$e.popoverFooter, className) }, props), children));
7043
6780
  };
7044
6781
  PopoverFooter.displayName = 'PopoverFooter';
7045
6782
 
7046
6783
  const PopoverCloseButton = (_a) => {
7047
6784
  var { onClose = () => undefined } = _a, props = __rest$1(_a, ["onClose"]);
7048
- return (React.createElement("div", { className: css(styles$c.popoverClose) },
7049
- React.createElement(Button, Object.assign({ onClick: onClose, variant: "plain", "aria-label": true }, props, { style: { pointerEvents: 'auto' } }),
7050
- React.createElement(TimesIcon, null))));
6785
+ return (React.createElement("div", { className: css$1(styles$e.popoverClose) },
6786
+ React.createElement(Button, Object.assign({ onClick: onClose, variant: "plain", "aria-label": true }, props, { style: { pointerEvents: 'auto' }, icon: React.createElement(TimesIcon, null) }))));
7051
6787
  };
7052
6788
  PopoverCloseButton.displayName = 'PopoverCloseButton';
7053
6789
 
7054
6790
  const PopoverArrow = (_a) => {
7055
6791
  var { className = '' } = _a, props = __rest$1(_a, ["className"]);
7056
- return React.createElement("div", Object.assign({ className: css(styles$c.popoverArrow, className) }, props));
6792
+ return React.createElement("div", Object.assign({ className: css$1(styles$e.popoverArrow, className) }, props));
7057
6793
  };
7058
6794
  PopoverArrow.displayName = 'PopoverArrow';
7059
6795
 
@@ -7086,11 +6822,11 @@ var PopoverPosition;
7086
6822
  PopoverPosition["rightEnd"] = "right-end";
7087
6823
  })(PopoverPosition || (PopoverPosition = {}));
7088
6824
  const alertStyle = {
7089
- custom: styles$c.modifiers.custom,
7090
- info: styles$c.modifiers.info,
7091
- success: styles$c.modifiers.success,
7092
- warning: styles$c.modifiers.warning,
7093
- danger: styles$c.modifiers.danger
6825
+ custom: styles$e.modifiers.custom,
6826
+ info: styles$e.modifiers.info,
6827
+ success: styles$e.modifiers.success,
6828
+ warning: styles$e.modifiers.warning,
6829
+ danger: styles$e.modifiers.danger
7094
6830
  };
7095
6831
  const Popover = (_a) => {
7096
6832
  var { children, position = 'top', enableFlip = true, className = '', isVisible = null, shouldClose = () => null, shouldOpen = () => null, 'aria-label': ariaLabel = '', bodyContent, headerContent = null, headerComponent = 'h6', headerIcon = null, alertSeverityVariant, alertSeverityScreenReaderText, footerContent = null, appendTo = () => document.body, hideOnOutsideClick = true, onHide = () => null, onHidden = () => null, onShow = () => null, onShown = () => null, onMount = () => null, zIndex = 9999, triggerAction = 'click', minWidth = c_popover_MinWidth && c_popover_MinWidth.value, maxWidth = c_popover_MaxWidth && c_popover_MaxWidth.value, closeBtnAriaLabel = 'Close', showClose = true, distance = 25, flipBehavior = [
@@ -7137,18 +6873,18 @@ const Popover = (_a) => {
7137
6873
  setVisible(false);
7138
6874
  };
7139
6875
  const positionModifiers = {
7140
- top: styles$c.modifiers.top,
7141
- bottom: styles$c.modifiers.bottom,
7142
- left: styles$c.modifiers.left,
7143
- right: styles$c.modifiers.right,
7144
- 'top-start': styles$c.modifiers.topLeft,
7145
- 'top-end': styles$c.modifiers.topRight,
7146
- 'bottom-start': styles$c.modifiers.bottomLeft,
7147
- 'bottom-end': styles$c.modifiers.bottomRight,
7148
- 'left-start': styles$c.modifiers.leftTop,
7149
- 'left-end': styles$c.modifiers.leftBottom,
7150
- 'right-start': styles$c.modifiers.rightTop,
7151
- 'right-end': styles$c.modifiers.rightBottom
6876
+ top: styles$e.modifiers.top,
6877
+ bottom: styles$e.modifiers.bottom,
6878
+ left: styles$e.modifiers.left,
6879
+ right: styles$e.modifiers.right,
6880
+ 'top-start': styles$e.modifiers.topLeft,
6881
+ 'top-end': styles$e.modifiers.topRight,
6882
+ 'bottom-start': styles$e.modifiers.bottomLeft,
6883
+ 'bottom-end': styles$e.modifiers.bottomRight,
6884
+ 'left-start': styles$e.modifiers.leftTop,
6885
+ 'left-end': styles$e.modifiers.leftBottom,
6886
+ 'right-start': styles$e.modifiers.rightTop,
6887
+ 'right-end': styles$e.modifiers.rightBottom
7152
6888
  };
7153
6889
  const hasCustomMinWidth = minWidth !== c_popover_MinWidth.value;
7154
6890
  const hasCustomMaxWidth = maxWidth !== c_popover_MaxWidth.value;
@@ -7268,7 +7004,7 @@ const Popover = (_a) => {
7268
7004
  }
7269
7005
  return node;
7270
7006
  }
7271
- }, preventScrollOnDeactivate: true, className: css(styles$c.popover, alertSeverityVariant && alertStyle[alertSeverityVariant], hasNoPadding && styles$c.modifiers.noPadding, hasAutoWidth && styles$c.modifiers.widthAuto, className), role: "dialog", "aria-modal": "true", "aria-label": headerContent ? undefined : ariaLabel, "aria-labelledby": headerContent ? `popover-${uniqueId}-header` : undefined, "aria-describedby": `popover-${uniqueId}-body`, onMouseDown: onContentMouseDown, style: {
7007
+ }, preventScrollOnDeactivate: true, className: css$1(styles$e.popover, alertSeverityVariant && alertStyle[alertSeverityVariant], hasNoPadding && styles$e.modifiers.noPadding, hasAutoWidth && styles$e.modifiers.widthAuto, className), role: "dialog", "aria-modal": "true", "aria-label": headerContent ? undefined : ariaLabel, "aria-labelledby": headerContent ? `popover-${uniqueId}-header` : undefined, "aria-describedby": `popover-${uniqueId}-body`, onMouseDown: onContentMouseDown, style: {
7272
7008
  minWidth: hasCustomMinWidth ? minWidth : null,
7273
7009
  maxWidth: hasCustomMaxWidth ? maxWidth : null
7274
7010
  } }, rest),
@@ -7369,11 +7105,11 @@ var DividerVariant;
7369
7105
  const Divider = (_a) => {
7370
7106
  var { className, component = DividerVariant.hr, inset, orientation } = _a, props = __rest$1(_a, ["className", "component", "inset", "orientation"]);
7371
7107
  const Component = component;
7372
- return (React.createElement(Component, Object.assign({ className: css(dividerStyles.divider, formatBreakpointMods(inset, dividerStyles), formatBreakpointMods(orientation, dividerStyles), className) }, (component !== 'hr' && { role: 'separator' }), props)));
7108
+ return (React.createElement(Component, Object.assign({ className: css$1(dividerStyles.divider, formatBreakpointMods(inset, dividerStyles), formatBreakpointMods(orientation, dividerStyles), className) }, (component !== 'hr' && { role: 'separator' }), props)));
7373
7109
  };
7374
7110
  Divider.displayName = 'Divider';
7375
7111
 
7376
- var styles$b = {
7112
+ var styles$d = {
7377
7113
  "dirRtl": "pf-v6-m-dir-rtl",
7378
7114
  "drawer": "pf-v6-c-drawer",
7379
7115
  "drawerActions": "pf-v6-c-drawer__actions",
@@ -7457,7 +7193,7 @@ const Drawer = (_a) => {
7457
7193
  const drawerRef = React.useRef();
7458
7194
  const drawerContentRef = React.useRef();
7459
7195
  return (React.createElement(DrawerContext.Provider, { value: { isExpanded, isStatic, onExpand, position, drawerRef, drawerContentRef, isInline } },
7460
- React.createElement("div", Object.assign({ className: css(styles$b.drawer, isExpanded && styles$b.modifiers.expanded, isInline && styles$b.modifiers.inline, isStatic && styles$b.modifiers.static, (position === 'left' || position === 'start') && styles$b.modifiers.panelLeft, position === 'bottom' && styles$b.modifiers.panelBottom, className), ref: drawerRef }, props), children)));
7196
+ React.createElement("div", Object.assign({ className: css$1(styles$d.drawer, isExpanded && styles$d.modifiers.expanded, isInline && styles$d.modifiers.inline, isStatic && styles$d.modifiers.static, (position === 'left' || position === 'start') && styles$d.modifiers.panelLeft, position === 'bottom' && styles$d.modifiers.panelBottom, className), ref: drawerRef }, props), children)));
7461
7197
  };
7462
7198
  Drawer.displayName = 'Drawer';
7463
7199
 
@@ -7465,7 +7201,7 @@ const DrawerActions = (_a) => {
7465
7201
  var {
7466
7202
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7467
7203
  className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
7468
- return (React.createElement("div", Object.assign({ className: css(styles$b.drawerActions, className) }, props), children));
7204
+ return (React.createElement("div", Object.assign({ className: css$1(styles$d.drawerActions, className) }, props), children));
7469
7205
  };
7470
7206
  DrawerActions.displayName = 'DrawerActions';
7471
7207
 
@@ -7473,7 +7209,7 @@ const DrawerCloseButton = (_a) => {
7473
7209
  var {
7474
7210
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7475
7211
  className = '', onClose = () => undefined, 'aria-label': ariaLabel = 'Close drawer panel' } = _a, props = __rest$1(_a, ["className", "onClose", 'aria-label']);
7476
- return (React.createElement("div", Object.assign({ className: css(styles$b.drawerClose, className) }, props),
7212
+ return (React.createElement("div", Object.assign({ className: css$1(styles$d.drawerClose, className) }, props),
7477
7213
  React.createElement(Button, { variant: "plain", onClick: onClose, "aria-label": ariaLabel },
7478
7214
  React.createElement(TimesIcon, null))));
7479
7215
  };
@@ -7483,7 +7219,7 @@ const DrawerMain = (_a) => {
7483
7219
  var {
7484
7220
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7485
7221
  className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
7486
- return (React.createElement("div", Object.assign({ className: css(styles$b.drawerMain, className) }, props), children));
7222
+ return (React.createElement("div", Object.assign({ className: css$1(styles$d.drawerMain, className) }, props), children));
7487
7223
  };
7488
7224
  DrawerMain.displayName = 'DrawerMain';
7489
7225
 
@@ -7497,7 +7233,7 @@ const DrawerContent = (_a) => {
7497
7233
  var { className, children, panelContent, colorVariant = DrawerContentColorVariant.default } = _a, props = __rest$1(_a, ["className", "children", "panelContent", "colorVariant"]);
7498
7234
  const { drawerContentRef } = React.useContext(DrawerContext);
7499
7235
  return (React.createElement(DrawerMain, null,
7500
- React.createElement("div", Object.assign({ className: css(styles$b.drawerContent, colorVariant === DrawerContentColorVariant.primary && styles$b.modifiers.primary, colorVariant === DrawerContentColorVariant.secondary && styles$b.modifiers.secondary, className), ref: drawerContentRef }, props), children),
7236
+ React.createElement("div", Object.assign({ className: css$1(styles$d.drawerContent, colorVariant === DrawerContentColorVariant.primary && styles$d.modifiers.primary, colorVariant === DrawerContentColorVariant.secondary && styles$d.modifiers.secondary, className), ref: drawerContentRef }, props), children),
7501
7237
  panelContent));
7502
7238
  };
7503
7239
  DrawerContent.displayName = 'DrawerContent';
@@ -7506,7 +7242,7 @@ const DrawerContentBody = (_a) => {
7506
7242
  var {
7507
7243
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7508
7244
  className = '', children, hasPadding = false } = _a, props = __rest$1(_a, ["className", "children", "hasPadding"]);
7509
- return (React.createElement("div", Object.assign({ className: css(styles$b.drawerBody, hasPadding && styles$b.modifiers.padding, className) }, props), children));
7245
+ return (React.createElement("div", Object.assign({ className: css$1(styles$d.drawerBody, hasPadding && styles$d.modifiers.padding, className) }, props), children));
7510
7246
  };
7511
7247
  DrawerContentBody.displayName = 'DrawerContentBody';
7512
7248
 
@@ -7514,7 +7250,7 @@ const DrawerHead = (_a) => {
7514
7250
  var {
7515
7251
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7516
7252
  className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
7517
- return (React.createElement("div", Object.assign({ className: css(styles$b.drawerHead, className) }, props), children));
7253
+ return (React.createElement("div", Object.assign({ className: css$1(styles$d.drawerHead, className) }, props), children));
7518
7254
  };
7519
7255
  DrawerHead.displayName = 'DrawerHead';
7520
7256
 
@@ -7522,7 +7258,7 @@ const DrawerPanelBody = (_a) => {
7522
7258
  var {
7523
7259
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7524
7260
  className = '', children, hasNoPadding = false } = _a, props = __rest$1(_a, ["className", "children", "hasNoPadding"]);
7525
- return (React.createElement("div", Object.assign({ className: css(styles$b.drawerBody, hasNoPadding && styles$b.modifiers.noPadding, className) }, props), children));
7261
+ return (React.createElement("div", Object.assign({ className: css$1(styles$d.drawerBody, hasNoPadding && styles$d.modifiers.noPadding, className) }, props), children));
7526
7262
  };
7527
7263
  DrawerPanelBody.displayName = 'DrawerPanelBody';
7528
7264
 
@@ -7647,7 +7383,7 @@ const DrawerPanelContent = (_a) => {
7647
7383
  e.preventDefault();
7648
7384
  document.addEventListener('mousemove', callbackMouseMove);
7649
7385
  document.addEventListener('mouseup', callbackMouseUp);
7650
- drawerRef.current.classList.add(css(styles$b.modifiers.resizing));
7386
+ drawerRef.current.classList.add(css$1(styles$d.modifiers.resizing));
7651
7387
  isResizing = true;
7652
7388
  setInitialVals = true;
7653
7389
  };
@@ -7702,7 +7438,7 @@ const DrawerPanelContent = (_a) => {
7702
7438
  if (!isResizing) {
7703
7439
  return;
7704
7440
  }
7705
- drawerRef.current.classList.remove(css(styles$b.modifiers.resizing));
7441
+ drawerRef.current.classList.remove(css$1(styles$d.modifiers.resizing));
7706
7442
  isResizing = false;
7707
7443
  onResize && onResize(e, currWidth, id);
7708
7444
  setInitialVals = true;
@@ -7813,7 +7549,7 @@ const DrawerPanelContent = (_a) => {
7813
7549
  escapeDeactivates: false
7814
7550
  }
7815
7551
  };
7816
- return (React.createElement(Component, Object.assign({}, (isValidFocusTrap && focusTrapProps), { id: id || panelId, className: css(styles$b.drawerPanel, isResizable && styles$b.modifiers.resizable, hasNoBorder && styles$b.modifiers.noBorder, formatBreakpointMods(widths, styles$b), colorVariant === DrawerColorVariant.noBackground && styles$b.modifiers.noBackground, colorVariant === DrawerColorVariant.secondary && styles$b.modifiers.secondary, className), onTransitionEnd: (ev) => {
7552
+ return (React.createElement(Component, Object.assign({}, (isValidFocusTrap && focusTrapProps), { id: id || panelId, className: css$1(styles$d.drawerPanel, isResizable && styles$d.modifiers.resizable, hasNoBorder && styles$d.modifiers.noBorder, formatBreakpointMods(widths, styles$d), colorVariant === DrawerColorVariant.noBackground && styles$d.modifiers.noBackground, colorVariant === DrawerColorVariant.secondary && styles$d.modifiers.secondary, className), onTransitionEnd: (ev) => {
7817
7553
  if (ev.target === panel.current) {
7818
7554
  if (!hidden && ev.nativeEvent.propertyName === 'transform') {
7819
7555
  onExpand(ev);
@@ -7827,15 +7563,15 @@ const DrawerPanelContent = (_a) => {
7827
7563
  style: boundaryCssVars
7828
7564
  }), props, { ref: panel }), isExpandedInternal && (React.createElement(React.Fragment, null,
7829
7565
  isResizable && (React.createElement(React.Fragment, null,
7830
- React.createElement("div", { className: css(styles$b.drawerSplitter, position !== 'bottom' && styles$b.modifiers.vertical), role: "separator", tabIndex: 0, "aria-orientation": position === 'bottom' ? 'horizontal' : 'vertical', "aria-label": resizeAriaLabel, "aria-valuenow": separatorValue, "aria-valuemin": 0, "aria-valuemax": 100, "aria-controls": id || panelId, onMouseDown: handleMousedown, onKeyDown: handleKeys, onTouchStart: handleTouchStart, ref: splitterRef },
7831
- React.createElement("div", { className: css(styles$b.drawerSplitterHandle), "aria-hidden": true })),
7832
- React.createElement("div", { className: css(styles$b.drawerPanelMain) }, children))),
7566
+ React.createElement("div", { className: css$1(styles$d.drawerSplitter, position !== 'bottom' && styles$d.modifiers.vertical), role: "separator", tabIndex: 0, "aria-orientation": position === 'bottom' ? 'horizontal' : 'vertical', "aria-label": resizeAriaLabel, "aria-valuenow": separatorValue, "aria-valuemin": 0, "aria-valuemax": 100, "aria-controls": id || panelId, onMouseDown: handleMousedown, onKeyDown: handleKeys, onTouchStart: handleTouchStart, ref: splitterRef },
7567
+ React.createElement("div", { className: css$1(styles$d.drawerSplitterHandle), "aria-hidden": true })),
7568
+ React.createElement("div", { className: css$1(styles$d.drawerPanelMain) }, children))),
7833
7569
  !isResizable && children))));
7834
7570
  }));
7835
7571
  };
7836
7572
  DrawerPanelContent.displayName = 'DrawerPanelContent';
7837
7573
 
7838
- var styles$a = {
7574
+ var styles$c = {
7839
7575
  "icon": "pf-v6-c-icon",
7840
7576
  "iconContent": "pf-v6-c-icon__content",
7841
7577
  "iconProgress": "pf-v6-c-icon__progress",
@@ -7869,9 +7605,9 @@ var styles$a = {
7869
7605
  const Icon = (_a) => {
7870
7606
  var { children, className, progressIcon, size, iconSize, progressIconSize, status, isInline = false, isInProgress = false, defaultProgressArialabel = 'Loading...', shouldMirrorRTL = false } = _a, props = __rest$1(_a, ["children", "className", "progressIcon", "size", "iconSize", "progressIconSize", "status", "isInline", "isInProgress", "defaultProgressArialabel", "shouldMirrorRTL"]);
7871
7607
  const _progressIcon = progressIcon !== null && progressIcon !== void 0 ? progressIcon : React.createElement(Spinner, { diameter: "1em", "aria-label": defaultProgressArialabel });
7872
- return (React.createElement("span", Object.assign({ className: css(styles$a.icon, isInline && styles$a.modifiers.inline, isInProgress && styles$a.modifiers.inProgress, styles$a.modifiers[size], className) }, props),
7873
- React.createElement("span", { className: css(styles$a.iconContent, styles$a.modifiers[iconSize], styles$a.modifiers[status], shouldMirrorRTL && 'pf-v6-m-mirror-inline-rtl') }, children),
7874
- isInProgress && (React.createElement("span", { className: css(styles$a.iconProgress, styles$a.modifiers[progressIconSize], className) }, _progressIcon))));
7608
+ return (React.createElement("span", Object.assign({ className: css$1(styles$c.icon, isInline && styles$c.modifiers.inline, isInProgress && styles$c.modifiers.inProgress, styles$c.modifiers[size], className) }, props),
7609
+ React.createElement("span", { className: css$1(styles$c.iconContent, styles$c.modifiers[iconSize], styles$c.modifiers[status], shouldMirrorRTL && 'pf-v6-m-mirror-inline-rtl') }, children),
7610
+ isInProgress && (React.createElement("span", { className: css$1(styles$c.iconProgress, styles$c.modifiers[progressIconSize], className) }, _progressIcon))));
7875
7611
  };
7876
7612
  Icon.displayName = 'Icon';
7877
7613
 
@@ -7908,7 +7644,7 @@ const ArrowRightIconConfig = {
7908
7644
 
7909
7645
  const ArrowRightIcon$1 = createIcon(ArrowRightIconConfig);
7910
7646
 
7911
- var formStyles = {
7647
+ var styles$b = {
7912
7648
  "button": "pf-v6-c-button",
7913
7649
  "dirRtl": "pf-v6-m-dir-rtl",
7914
7650
  "form": "pf-v6-c-form",
@@ -7941,6 +7677,7 @@ var formStyles = {
7941
7677
  "horizontal": "pf-m-horizontal",
7942
7678
  "alignRight": "pf-m-align-right",
7943
7679
  "noPaddingTop": "pf-m-no-padding-top",
7680
+ "info": "pf-m-info",
7944
7681
  "horizontalOnXs": "pf-m-horizontal-on-xs",
7945
7682
  "horizontalOnSm": "pf-m-horizontal-on-sm",
7946
7683
  "horizontalOnMd": "pf-m-horizontal-on-md",
@@ -7949,7 +7686,6 @@ var formStyles = {
7949
7686
  "horizontalOn_2xl": "pf-m-horizontal-on-2xl",
7950
7687
  "limitWidth": "pf-m-limit-width",
7951
7688
  "action": "pf-m-action",
7952
- "info": "pf-m-info",
7953
7689
  "disabled": "pf-m-disabled",
7954
7690
  "inline": "pf-m-inline",
7955
7691
  "stack": "pf-m-stack",
@@ -7961,10 +7697,10 @@ var formStyles = {
7961
7697
 
7962
7698
  const ActionGroup = (_a) => {
7963
7699
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
7964
- const customClassName = css(formStyles.formGroup, formStyles.modifiers.action, className);
7965
- const formActionsComponent = React.createElement("div", { className: css(formStyles.formActions) }, children);
7700
+ const customClassName = css$1(styles$b.formGroup, styles$b.modifiers.action, className);
7701
+ const formActionsComponent = React.createElement("div", { className: css$1(styles$b.formActions) }, children);
7966
7702
  return (React.createElement("div", Object.assign({}, props, { className: customClassName }),
7967
- React.createElement("div", { className: css(formStyles.formGroupControl) }, formActionsComponent)));
7703
+ React.createElement("div", { className: css$1(styles$b.formGroupControl) }, formActionsComponent)));
7968
7704
  };
7969
7705
  ActionGroup.displayName = 'ActionGroup';
7970
7706
 
@@ -7978,7 +7714,7 @@ const FormBase = (_a) => {
7978
7714
  var { children = null, className = '', isHorizontal = false, isWidthLimited = false, maxWidth = '', innerRef } = _a, props = __rest$1(_a, ["children", "className", "isHorizontal", "isWidthLimited", "maxWidth", "innerRef"]);
7979
7715
  return (React.createElement("form", Object.assign({ noValidate: true }, (maxWidth && {
7980
7716
  style: Object.assign({ [c_form_m_limit_width_MaxWidth.name]: maxWidth }, props.style)
7981
- }), props, { className: css(formStyles.form, isHorizontal && formStyles.modifiers.horizontal, (isWidthLimited || maxWidth) && formStyles.modifiers.limitWidth, className), ref: innerRef }), children));
7717
+ }), props, { className: css$1(styles$b.form, isHorizontal && styles$b.modifiers.horizontal, (isWidthLimited || maxWidth) && styles$b.modifiers.limitWidth, className), ref: innerRef }), children));
7982
7718
  };
7983
7719
  const Form = React.forwardRef((props, ref) => React.createElement(FormBase, Object.assign({ innerRef: ref }, props)));
7984
7720
  Form.displayName = 'Form';
@@ -7988,24 +7724,24 @@ const FormGroup = (_a) => {
7988
7724
  const isGroupOrRadioGroup = role === 'group' || role === 'radiogroup';
7989
7725
  const LabelComponent = isGroupOrRadioGroup ? 'span' : 'label';
7990
7726
  const labelContent = (React.createElement(React.Fragment, null,
7991
- React.createElement(LabelComponent, Object.assign({ className: css(formStyles.formLabel) }, (!isGroupOrRadioGroup && { htmlFor: fieldId })),
7992
- React.createElement("span", { className: css(formStyles.formLabelText) }, label),
7993
- isRequired && (React.createElement("span", { className: css(formStyles.formLabelRequired), "aria-hidden": "true" },
7727
+ React.createElement(LabelComponent, Object.assign({ className: css$1(styles$b.formLabel) }, (!isGroupOrRadioGroup && { htmlFor: fieldId })),
7728
+ React.createElement("span", { className: css$1(styles$b.formLabelText) }, label),
7729
+ isRequired && (React.createElement("span", { className: css$1(styles$b.formLabelRequired), "aria-hidden": "true" },
7994
7730
  ' ',
7995
7731
  ASTERISK))),
7996
7732
  React.createElement(React.Fragment, null, "\u00A0\u00A0"),
7997
- React.isValidElement(labelHelp) && React.createElement("span", { className: formStyles.formGroupLabelHelp }, labelHelp)));
7998
- return (React.createElement(GenerateId, null, (randomId) => (React.createElement("div", Object.assign({ className: css(formStyles.formGroup, className) }, (role && { role }), (isGroupOrRadioGroup && { 'aria-labelledby': `${fieldId || randomId}-legend` }), props),
7999
- label && (React.createElement("div", Object.assign({ className: css(formStyles.formGroupLabel, labelInfo && formStyles.modifiers.info, hasNoPaddingTop && formStyles.modifiers.noPaddingTop) }, (isGroupOrRadioGroup && { id: `${fieldId || randomId}-legend` })),
7733
+ React.isValidElement(labelHelp) && React.createElement("span", { className: styles$b.formGroupLabelHelp }, labelHelp)));
7734
+ return (React.createElement(GenerateId, null, (randomId) => (React.createElement("div", Object.assign({ className: css$1(styles$b.formGroup, className) }, (role && { role }), (isGroupOrRadioGroup && { 'aria-labelledby': `${fieldId || randomId}-legend` }), props),
7735
+ label && (React.createElement("div", Object.assign({ className: css$1(styles$b.formGroupLabel, labelInfo && styles$b.modifiers.info, hasNoPaddingTop && styles$b.modifiers.noPaddingTop) }, (isGroupOrRadioGroup && { id: `${fieldId || randomId}-legend` })),
8000
7736
  labelInfo && (React.createElement(React.Fragment, null,
8001
- React.createElement("div", { className: css(formStyles.formGroupLabelMain) }, labelContent),
8002
- React.createElement("div", { className: css(formStyles.formGroupLabelInfo) }, labelInfo))),
7737
+ React.createElement("div", { className: css$1(styles$b.formGroupLabelMain) }, labelContent),
7738
+ React.createElement("div", { className: css$1(styles$b.formGroupLabelInfo) }, labelInfo))),
8003
7739
  !labelInfo && labelContent)),
8004
- React.createElement("div", { className: css(formStyles.formGroupControl, isInline && formStyles.modifiers.inline, isStack && formStyles.modifiers.stack) }, children)))));
7740
+ React.createElement("div", { className: css$1(styles$b.formGroupControl, isInline && styles$b.modifiers.inline, isStack && styles$b.modifiers.stack) }, children)))));
8005
7741
  };
8006
7742
  FormGroup.displayName = 'FormGroup';
8007
7743
 
8008
- var styles$9 = {
7744
+ var styles$a = {
8009
7745
  "modifiers": {
8010
7746
  "bordered": "pf-m-bordered",
8011
7747
  "secondary": "pf-m-secondary",
@@ -8021,7 +7757,7 @@ var styles$9 = {
8021
7757
 
8022
7758
  const PanelBase = (_a) => {
8023
7759
  var { className, children, variant, isScrollable, innerRef } = _a, props = __rest$1(_a, ["className", "children", "variant", "isScrollable", "innerRef"]);
8024
- return (React.createElement("div", Object.assign({ className: css(styles$9.panel, variant && styles$9.modifiers[variant], isScrollable && styles$9.modifiers.scrollable, className), ref: innerRef }, props), children));
7760
+ return (React.createElement("div", Object.assign({ className: css$1(styles$a.panel, variant && styles$a.modifiers[variant], isScrollable && styles$a.modifiers.scrollable, className), ref: innerRef }, props), children));
8025
7761
  };
8026
7762
  const Panel = React.forwardRef((props, ref) => (React.createElement(PanelBase, Object.assign({ innerRef: ref }, props))));
8027
7763
  Panel.displayName = 'Panel';
@@ -8034,13 +7770,13 @@ const c_panel__main_MaxHeight = {
8034
7770
 
8035
7771
  const PanelMain = (_a) => {
8036
7772
  var { className, children, maxHeight } = _a, props = __rest$1(_a, ["className", "children", "maxHeight"]);
8037
- return (React.createElement("div", Object.assign({ className: css(styles$9.panelMain, className), style: { [c_panel__main_MaxHeight.name]: maxHeight } }, props), children));
7773
+ return (React.createElement("div", Object.assign({ className: css$1(styles$a.panelMain, className), style: { [c_panel__main_MaxHeight.name]: maxHeight } }, props), children));
8038
7774
  };
8039
7775
  PanelMain.displayName = 'PanelMain';
8040
7776
 
8041
7777
  const PanelMainBody = (_a) => {
8042
7778
  var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
8043
- return (React.createElement("div", Object.assign({ className: css(styles$9.panelMainBody, className) }, props), children));
7779
+ return (React.createElement("div", Object.assign({ className: css$1(styles$a.panelMainBody, className) }, props), children));
8044
7780
  };
8045
7781
  PanelMainBody.displayName = 'PanelMainBody';
8046
7782
 
@@ -8140,7 +7876,7 @@ const AdvancedSearchMenu = ({ className, parentRef, parentInputRef, value = '',
8140
7876
  React.createElement(TextInput, { type: "text", id: randomId, value: getValue('haswords'), onChange: (evt, value) => handleValueChange('haswords', value, evt) })))));
8141
7877
  return formGroups;
8142
7878
  };
8143
- return isSearchMenuOpen ? (React.createElement(Panel, { variant: "raised", className: css(className) },
7879
+ return isSearchMenuOpen ? (React.createElement(Panel, { variant: "raised", className: css$1(className) },
8144
7880
  React.createElement(PanelMain, null,
8145
7881
  React.createElement(PanelMainBody, null,
8146
7882
  React.createElement(Form, null,
@@ -8157,7 +7893,11 @@ var textInputGroupStyles = {
8157
7893
  "modifiers": {
8158
7894
  "disabled": "pf-m-disabled",
8159
7895
  "plain": "pf-m-plain",
7896
+ "success": "pf-m-success",
7897
+ "warning": "pf-m-warning",
7898
+ "error": "pf-m-error",
8160
7899
  "icon": "pf-m-icon",
7900
+ "status": "pf-m-status",
8161
7901
  "hint": "pf-m-hint"
8162
7902
  },
8163
7903
  "textInputGroup": "pf-v6-c-text-input-group",
@@ -8177,7 +7917,7 @@ const TextInputGroup = (_a) => {
8177
7917
  const ref = React.useRef(null);
8178
7918
  const textInputGroupRef = innerRef || ref;
8179
7919
  return (React.createElement(TextInputGroupContext.Provider, { value: { isDisabled } },
8180
- React.createElement("div", Object.assign({ ref: textInputGroupRef, className: css(textInputGroupStyles.textInputGroup, isDisabled && textInputGroupStyles.modifiers.disabled, isPlain && textInputGroupStyles.modifiers.plain, className) }, props), children)));
7920
+ React.createElement("div", Object.assign({ ref: textInputGroupRef, className: css$1(textInputGroupStyles.textInputGroup, isDisabled && textInputGroupStyles.modifiers.disabled, isPlain && textInputGroupStyles.modifiers.plain, className) }, props), children)));
8181
7921
  };
8182
7922
  TextInputGroup.displayName = 'TextInputGroup';
8183
7923
 
@@ -8189,19 +7929,19 @@ const TextInputGroupMainBase = (_a) => {
8189
7929
  const handleChange = (event) => {
8190
7930
  onChange(event, event.currentTarget.value);
8191
7931
  };
8192
- return (React.createElement("div", Object.assign({ className: css(textInputGroupStyles.textInputGroupMain, icon && textInputGroupStyles.modifiers.icon, className) }, props),
7932
+ return (React.createElement("div", Object.assign({ className: css$1(textInputGroupStyles.textInputGroupMain, icon && textInputGroupStyles.modifiers.icon, className) }, props),
8193
7933
  children,
8194
- React.createElement("span", { className: css(textInputGroupStyles.textInputGroupText) },
8195
- hint && (React.createElement("input", { className: css(textInputGroupStyles.textInputGroupTextInput, textInputGroupStyles.modifiers.hint), type: "text", disabled: true, "aria-hidden": "true", value: hint, id: inputId })),
8196
- icon && React.createElement("span", { className: css(textInputGroupStyles.textInputGroupIcon) }, icon),
8197
- React.createElement("input", Object.assign({ ref: textInputGroupInputInputRef, type: type, className: css(textInputGroupStyles.textInputGroupTextInput), "aria-label": ariaLabel, disabled: isDisabled, onChange: handleChange, onFocus: onFocus, onBlur: onBlur, value: inputValue || '', placeholder: inputPlaceHolder, name: name, "aria-activedescendant": ariaActivedescendant, id: inputId }, (role && { role }), (isExpanded !== undefined && { 'aria-expanded': isExpanded }), (ariaControls && { 'aria-controls': ariaControls }))))));
7934
+ React.createElement("span", { className: css$1(textInputGroupStyles.textInputGroupText) },
7935
+ hint && (React.createElement("input", { className: css$1(textInputGroupStyles.textInputGroupTextInput, textInputGroupStyles.modifiers.hint), type: "text", disabled: true, "aria-hidden": "true", value: hint, id: inputId })),
7936
+ icon && React.createElement("span", { className: css$1(textInputGroupStyles.textInputGroupIcon) }, icon),
7937
+ React.createElement("input", Object.assign({ ref: textInputGroupInputInputRef, type: type, className: css$1(textInputGroupStyles.textInputGroupTextInput), "aria-label": ariaLabel, disabled: isDisabled, onChange: handleChange, onFocus: onFocus, onBlur: onBlur, value: inputValue || '', placeholder: inputPlaceHolder, name: name, "aria-activedescendant": ariaActivedescendant, id: inputId }, (role && { role }), (isExpanded !== undefined && { 'aria-expanded': isExpanded }), (ariaControls && { 'aria-controls': ariaControls }))))));
8198
7938
  };
8199
7939
  const TextInputGroupMain = React.forwardRef((props, ref) => (React.createElement(TextInputGroupMainBase, Object.assign({ innerRef: ref }, props))));
8200
7940
  TextInputGroupMain.displayName = 'TextInputGroupMain';
8201
7941
 
8202
7942
  const TextInputGroupUtilities = (_a) => {
8203
7943
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
8204
- return (React.createElement("div", Object.assign({ className: css(textInputGroupStyles.textInputGroupUtilities, className) }, props), children));
7944
+ return (React.createElement("div", Object.assign({ className: css$1(textInputGroupStyles.textInputGroupUtilities, className) }, props), children));
8205
7945
  };
8206
7946
  TextInputGroupUtilities.displayName = 'TextInputGroupUtilities';
8207
7947
 
@@ -8326,12 +8066,9 @@ const SearchInputBase = (_a) => {
8326
8066
  (renderUtilities || areUtilitiesDisplayed) && (React.createElement(TextInputGroupUtilities, null,
8327
8067
  resultsCount && React.createElement(Badge, { isRead: true }, resultsCount),
8328
8068
  !!onNextClick && !!onPreviousClick && (React.createElement("div", { className: textInputGroupStyles.textInputGroupGroup },
8329
- React.createElement(Button, { variant: ButtonVariant.plain, "aria-label": previousNavigationButtonAriaLabel, isDisabled: isDisabled || isPreviousNavigationButtonDisabled, onClick: onPreviousClick },
8330
- React.createElement(AngleUpIcon, null)),
8331
- React.createElement(Button, { variant: ButtonVariant.plain, "aria-label": nextNavigationButtonAriaLabel, isDisabled: isDisabled || isNextNavigationButtonDisabled, onClick: onNextClick },
8332
- React.createElement(AngleDownIcon, null)))),
8333
- !!onClear && !expandableInput && (React.createElement(Button, { variant: ButtonVariant.plain, isDisabled: isDisabled, "aria-label": resetButtonLabel, onClick: onClearInput },
8334
- React.createElement(TimesIcon, null)))))));
8069
+ React.createElement(Button, { variant: ButtonVariant.plain, "aria-label": previousNavigationButtonAriaLabel, isDisabled: isDisabled || isPreviousNavigationButtonDisabled, onClick: onPreviousClick, icon: React.createElement(AngleUpIcon, null) }),
8070
+ React.createElement(Button, { variant: ButtonVariant.plain, "aria-label": nextNavigationButtonAriaLabel, isDisabled: isDisabled || isNextNavigationButtonDisabled, onClick: onNextClick, icon: React.createElement(AngleDownIcon, null) }))),
8071
+ !!onClear && !expandableInput && (React.createElement(Button, { variant: ButtonVariant.plain, isDisabled: isDisabled, "aria-label": resetButtonLabel, onClick: onClearInput, icon: React.createElement(TimesIcon, null) }))))));
8335
8072
  };
8336
8073
  const expandableToggle = (React.createElement(Button, { variant: ButtonVariant.plain, "aria-label": toggleAriaLabel, "aria-expanded": isExpanded, icon: isExpanded ? React.createElement(TimesIcon, null) : React.createElement(SearchIcon$1, null), onClick: onExpandHandler, ref: searchInputExpandableToggleRef }));
8337
8074
  const buildExpandableSearchInput = (_a = {}) => {
@@ -8354,15 +8091,13 @@ const SearchInputBase = (_a) => {
8354
8091
  return (React.createElement(InputGroup, Object.assign({ ref: triggerRef }, searchInputProps),
8355
8092
  React.createElement(InputGroupItem, { isFill: true }, buildTextInputGroup()),
8356
8093
  (attributes.length > 0 || onToggleAdvancedSearch) && (React.createElement(InputGroupItem, { isPlain: true },
8357
- React.createElement(Button, { className: isSearchMenuOpen && 'pf-m-expanded', variant: ButtonVariant.control, "aria-label": openMenuButtonAriaLabel, onClick: onToggle, isDisabled: isDisabled, "aria-expanded": isSearchMenuOpen },
8358
- React.createElement(CaretDownIcon, null)))),
8094
+ React.createElement(Button, { className: isSearchMenuOpen && 'pf-m-expanded', variant: ButtonVariant.control, "aria-label": openMenuButtonAriaLabel, onClick: onToggle, isDisabled: isDisabled, "aria-expanded": isSearchMenuOpen, icon: React.createElement(CaretDownIcon, null) }))),
8359
8095
  !!onSearch && (React.createElement(InputGroupItem, null,
8360
- React.createElement(Button, { type: "submit", variant: ButtonVariant.control, "aria-label": submitSearchButtonLabel, onClick: onSearchHandler, isDisabled: isDisabled },
8361
- React.createElement(Icon, { shouldMirrorRTL: true },
8362
- React.createElement(ArrowRightIcon$1, null))))),
8096
+ React.createElement(Button, { type: "submit", variant: ButtonVariant.control, "aria-label": submitSearchButtonLabel, onClick: onSearchHandler, isDisabled: isDisabled, icon: React.createElement(Icon, { shouldMirrorRTL: true },
8097
+ React.createElement(ArrowRightIcon$1, null)) }))),
8363
8098
  expandableInput && React.createElement(InputGroupItem, null, expandableToggle)));
8364
8099
  };
8365
- const searchInputProps = Object.assign(Object.assign({}, props), { className: className && css(className), innerRef: searchInputRef });
8100
+ const searchInputProps = Object.assign(Object.assign({}, props), { className: className && css$1(className), innerRef: searchInputRef });
8366
8101
  if (!!expandableInput && !isExpanded) {
8367
8102
  return (React.createElement(InputGroup, Object.assign({}, searchInputProps),
8368
8103
  React.createElement(InputGroupItem, null, expandableToggle)));
@@ -8371,9 +8106,9 @@ const SearchInputBase = (_a) => {
8371
8106
  if (attributes.length > 0) {
8372
8107
  const AdvancedSearch = (React.createElement("div", { ref: popperRef },
8373
8108
  React.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 })));
8374
- const AdvancedSearchWithPopper = (React.createElement("div", Object.assign({ className: css(className), ref: searchInputRef }, props),
8109
+ const AdvancedSearchWithPopper = (React.createElement("div", Object.assign({ className: css$1(className), ref: searchInputRef }, props),
8375
8110
  React.createElement(Popper, { trigger: buildSearchTextInputGroupWithExtraButtons(), triggerRef: triggerRef, popper: AdvancedSearch, popperRef: popperRef, isVisible: isSearchMenuOpen, enableFlip: true, appendTo: () => appendTo || searchInputRef.current, zIndex: zIndex })));
8376
- const AdvancedSearchInline = (React.createElement("div", Object.assign({ className: css(className), ref: searchInputRef }, props),
8111
+ const AdvancedSearchInline = (React.createElement("div", Object.assign({ className: css$1(className), ref: searchInputRef }, props),
8377
8112
  buildSearchTextInputGroupWithExtraButtons(),
8378
8113
  AdvancedSearch));
8379
8114
  return appendTo !== 'inline' ? AdvancedSearchWithPopper : AdvancedSearchInline;
@@ -8386,7 +8121,7 @@ SearchInputBase.displayName = 'SearchInputBase';
8386
8121
  const SearchInput = React.forwardRef((props, ref) => (React.createElement(SearchInputBase, Object.assign({}, props, { innerRef: ref }))));
8387
8122
  SearchInput.displayName = 'SearchInput';
8388
8123
 
8389
- var styles$8 = {
8124
+ var styles$9 = {
8390
8125
  "emptyState": "pf-v6-c-empty-state",
8391
8126
  "emptyStateActions": "pf-v6-c-empty-state__actions",
8392
8127
  "emptyStateBody": "pf-v6-c-empty-state__body",
@@ -8412,7 +8147,7 @@ const isSpinner = (icon) => icon.type === Spinner;
8412
8147
  const EmptyStateIcon = (_a) => {
8413
8148
  var { className, icon: IconComponent } = _a, props = __rest$1(_a, ["className", "icon"]);
8414
8149
  const iconIsSpinner = isSpinner(React.createElement(IconComponent, null));
8415
- return (React.createElement("div", { className: css(styles$8.emptyStateIcon) },
8150
+ return (React.createElement("div", { className: css$1(styles$9.emptyStateIcon) },
8416
8151
  React.createElement(IconComponent, Object.assign({ className: className, "aria-hidden": !iconIsSpinner }, props))));
8417
8152
  };
8418
8153
  EmptyStateIcon.displayName = 'EmptyStateIcon';
@@ -8428,10 +8163,10 @@ var EmptyStateHeadingLevel;
8428
8163
  })(EmptyStateHeadingLevel || (EmptyStateHeadingLevel = {}));
8429
8164
  const EmptyStateHeader = (_a) => {
8430
8165
  var { className, titleClassName, titleText, headingLevel: HeadingLevel = EmptyStateHeadingLevel.h1, icon: Icon } = _a, props = __rest$1(_a, ["className", "titleClassName", "titleText", "headingLevel", "icon"]);
8431
- return (React.createElement("div", Object.assign({ className: css(`${styles$8.emptyState}__header`, className) }, props),
8166
+ return (React.createElement("div", Object.assign({ className: css$1(`${styles$9.emptyState}__header`, className) }, props),
8432
8167
  Icon && React.createElement(EmptyStateIcon, { icon: Icon }),
8433
- React.createElement("div", { className: css(`${styles$8.emptyState}__title`) },
8434
- React.createElement(HeadingLevel, { className: css(styles$8.emptyStateTitleText, titleClassName) }, titleText))));
8168
+ React.createElement("div", { className: css$1(`${styles$9.emptyState}__title`) },
8169
+ React.createElement(HeadingLevel, { className: css$1(styles$9.emptyStateTitleText, titleClassName) }, titleText))));
8435
8170
  };
8436
8171
  EmptyStateHeader.displayName = 'EmptyStateHeader';
8437
8172
 
@@ -8455,8 +8190,8 @@ const EmptyState = (_a) => {
8455
8190
  var { children, className, variant = EmptyStateVariant.full, isFullHeight, status, icon: customIcon, titleText, titleClassName, headerClassName, headingLevel } = _a, props = __rest$1(_a, ["children", "className", "variant", "isFullHeight", "status", "icon", "titleText", "titleClassName", "headerClassName", "headingLevel"]);
8456
8191
  const statusIcon = status && statusIcons$2[status];
8457
8192
  const icon = customIcon || statusIcon;
8458
- return (React.createElement("div", Object.assign({ className: css(styles$8.emptyState, variant !== 'full' && styles$8.modifiers[variant], isFullHeight && styles$8.modifiers.fullHeight, status && styles$8.modifiers[status], className) }, props),
8459
- React.createElement("div", { className: css(styles$8.emptyStateContent) },
8193
+ return (React.createElement("div", Object.assign({ className: css$1(styles$9.emptyState, variant !== 'full' && styles$9.modifiers[variant], isFullHeight && styles$9.modifiers.fullHeight, status && styles$9.modifiers[status], className) }, props),
8194
+ React.createElement("div", { className: css$1(styles$9.emptyStateContent) },
8460
8195
  React.createElement(EmptyStateHeader, { icon: icon, titleText: titleText, titleClassName: titleClassName, className: headerClassName, headingLevel: headingLevel }),
8461
8196
  children)));
8462
8197
  };
@@ -8464,23 +8199,23 @@ EmptyState.displayName = 'EmptyState';
8464
8199
 
8465
8200
  const EmptyStateBody = (_a) => {
8466
8201
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
8467
- return (React.createElement("div", Object.assign({ className: css(styles$8.emptyStateBody, className) }, props), children));
8202
+ return (React.createElement("div", Object.assign({ className: css$1(styles$9.emptyStateBody, className) }, props), children));
8468
8203
  };
8469
8204
  EmptyStateBody.displayName = 'EmptyStateBody';
8470
8205
 
8471
8206
  const EmptyStateFooter = (_a) => {
8472
8207
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
8473
- return (React.createElement("div", Object.assign({ className: css(styles$8.emptyStateFooter, className) }, props), children));
8208
+ return (React.createElement("div", Object.assign({ className: css$1(styles$9.emptyStateFooter, className) }, props), children));
8474
8209
  };
8475
8210
  EmptyStateFooter.displayName = 'EmptyStateFooter';
8476
8211
 
8477
8212
  const EmptyStateActions = (_a) => {
8478
8213
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
8479
- return (React.createElement("div", Object.assign({ className: css(styles$8.emptyStateActions, className) }, props), children));
8214
+ return (React.createElement("div", Object.assign({ className: css$1(styles$9.emptyStateActions, className) }, props), children));
8480
8215
  };
8481
8216
  EmptyStateActions.displayName = 'EmptyStateActions';
8482
8217
 
8483
- var styles$7 = {
8218
+ var styles$8 = {
8484
8219
  "dirRtl": "pf-v6-m-dir-rtl",
8485
8220
  "expandableSection": "pf-v6-c-expandable-section",
8486
8221
  "expandableSectionContent": "pf-v6-c-expandable-section__content",
@@ -8531,10 +8266,12 @@ class ExpandableSection extends React.Component {
8531
8266
  }
8532
8267
  };
8533
8268
  this.resize = () => {
8534
- const { offsetWidth } = this.expandableContentRef.current;
8535
- if (this.state.previousWidth !== offsetWidth) {
8536
- this.setState({ previousWidth: offsetWidth });
8537
- this.checkToggleVisibility();
8269
+ if (this.expandableContentRef.current) {
8270
+ const { offsetWidth } = this.expandableContentRef.current;
8271
+ if (this.state.previousWidth !== offsetWidth) {
8272
+ this.setState({ previousWidth: offsetWidth });
8273
+ this.checkToggleVisibility();
8274
+ }
8538
8275
  }
8539
8276
  };
8540
8277
  this.handleResize = debounce$1(this.resize, 250);
@@ -8597,13 +8334,13 @@ class ExpandableSection extends React.Component {
8597
8334
  };
8598
8335
  }
8599
8336
  const computedToggleText = this.calculateToggleText(toggleText, toggleTextExpanded, toggleTextCollapsed, propOrStateIsExpanded);
8600
- const expandableToggle = !isDetached && (React.createElement("button", { className: css(styles$7.expandableSectionToggle), type: "button", "aria-expanded": propOrStateIsExpanded, "aria-controls": uniqueContentId, id: uniqueToggleId, onClick: (event) => onToggle(event, !propOrStateIsExpanded) },
8601
- variant !== ExpandableSectionVariant.truncate && (React.createElement("span", { className: css(styles$7.expandableSectionToggleIcon) },
8337
+ const expandableToggle = !isDetached && (React.createElement("button", { className: css$1(styles$8.expandableSectionToggle), type: "button", "aria-expanded": propOrStateIsExpanded, "aria-controls": uniqueContentId, id: uniqueToggleId, onClick: (event) => onToggle(event, !propOrStateIsExpanded) },
8338
+ variant !== ExpandableSectionVariant.truncate && (React.createElement("span", { className: css$1(styles$8.expandableSectionToggleIcon) },
8602
8339
  React.createElement(AngleRightIcon, { "aria-hidden": true }))),
8603
- React.createElement("span", { className: css(styles$7.expandableSectionToggleText) }, toggleContent || computedToggleText)));
8604
- return (React.createElement("div", Object.assign({ className: css(styles$7.expandableSection, propOrStateIsExpanded && styles$7.modifiers.expanded, displaySize === 'lg' && styles$7.modifiers.displayLg, isWidthLimited && styles$7.modifiers.limitWidth, isIndented && styles$7.modifiers.indented, variant === ExpandableSectionVariant.truncate && styles$7.modifiers.truncate, className) }, props),
8340
+ React.createElement("span", { className: css$1(styles$8.expandableSectionToggleText) }, toggleContent || computedToggleText)));
8341
+ return (React.createElement("div", Object.assign({ className: css$1(styles$8.expandableSection, propOrStateIsExpanded && styles$8.modifiers.expanded, displaySize === 'lg' && styles$8.modifiers.displayLg, isWidthLimited && styles$8.modifiers.limitWidth, isIndented && styles$8.modifiers.indented, variant === ExpandableSectionVariant.truncate && styles$8.modifiers.truncate, className) }, props),
8605
8342
  variant === ExpandableSectionVariant.default && expandableToggle,
8606
- React.createElement("div", { ref: this.expandableContentRef, className: css(styles$7.expandableSectionContent), hidden: variant !== ExpandableSectionVariant.truncate && !propOrStateIsExpanded, id: uniqueContentId, "aria-labelledby": uniqueToggleId, role: "region" }, children),
8343
+ React.createElement("div", { ref: this.expandableContentRef, className: css$1(styles$8.expandableSectionContent), hidden: variant !== ExpandableSectionVariant.truncate && !propOrStateIsExpanded, id: uniqueContentId, "aria-labelledby": uniqueToggleId, role: "region" }, children),
8607
8344
  variant === ExpandableSectionVariant.truncate && this.state.hasToggle && expandableToggle));
8608
8345
  }
8609
8346
  }
@@ -8622,31 +8359,382 @@ ExpandableSection.defaultProps = {
8622
8359
  variant: 'default'
8623
8360
  };
8624
8361
 
8625
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8626
-
8627
- function getDefaultExportFromCjs (x) {
8628
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
8629
- }
8630
-
8631
- function getAugmentedNamespace(n) {
8632
- if (n.__esModule) return n;
8633
- var a = Object.defineProperty({}, '__esModule', {value: true});
8634
- Object.keys(n).forEach(function (k) {
8635
- var d = Object.getOwnPropertyDescriptor(n, k);
8636
- Object.defineProperty(a, k, d.get ? d : {
8637
- enumerable: true,
8638
- get: function () {
8639
- return n[k];
8640
- }
8641
- });
8642
- });
8643
- return a;
8644
- }
8645
-
8646
- function createCommonjsModule(fn) {
8647
- var module = { exports: {} };
8648
- return fn(module, module.exports), module.exports;
8649
- }
8362
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8363
+
8364
+ function getDefaultExportFromCjs (x) {
8365
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
8366
+ }
8367
+
8368
+ function getAugmentedNamespace(n) {
8369
+ if (n.__esModule) return n;
8370
+ var a = Object.defineProperty({}, '__esModule', {value: true});
8371
+ Object.keys(n).forEach(function (k) {
8372
+ var d = Object.getOwnPropertyDescriptor(n, k);
8373
+ Object.defineProperty(a, k, d.get ? d : {
8374
+ enumerable: true,
8375
+ get: function () {
8376
+ return n[k];
8377
+ }
8378
+ });
8379
+ });
8380
+ return a;
8381
+ }
8382
+
8383
+ function createCommonjsModule(fn) {
8384
+ var module = { exports: {} };
8385
+ return fn(module, module.exports), module.exports;
8386
+ }
8387
+
8388
+ /******************************************************************************
8389
+ Copyright (c) Microsoft Corporation.
8390
+
8391
+ Permission to use, copy, modify, and/or distribute this software for any
8392
+ purpose with or without fee is hereby granted.
8393
+
8394
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8395
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
8396
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
8397
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
8398
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
8399
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
8400
+ PERFORMANCE OF THIS SOFTWARE.
8401
+ ***************************************************************************** */
8402
+ /* global Reflect, Promise */
8403
+
8404
+ var extendStatics = function(d, b) {
8405
+ extendStatics = Object.setPrototypeOf ||
8406
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8407
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
8408
+ return extendStatics(d, b);
8409
+ };
8410
+
8411
+ function __extends(d, b) {
8412
+ if (typeof b !== "function" && b !== null)
8413
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
8414
+ extendStatics(d, b);
8415
+ function __() { this.constructor = d; }
8416
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8417
+ }
8418
+
8419
+ var __assign = function() {
8420
+ __assign = Object.assign || function __assign(t) {
8421
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
8422
+ s = arguments[i];
8423
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
8424
+ }
8425
+ return t;
8426
+ };
8427
+ return __assign.apply(this, arguments);
8428
+ };
8429
+
8430
+ function __rest(s, e) {
8431
+ var t = {};
8432
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
8433
+ t[p] = s[p];
8434
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
8435
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8436
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8437
+ t[p[i]] = s[p[i]];
8438
+ }
8439
+ return t;
8440
+ }
8441
+
8442
+ function __decorate(decorators, target, key, desc) {
8443
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8444
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8445
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8446
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
8447
+ }
8448
+
8449
+ function __param(paramIndex, decorator) {
8450
+ return function (target, key) { decorator(target, key, paramIndex); }
8451
+ }
8452
+
8453
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
8454
+ function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
8455
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
8456
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
8457
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
8458
+ var _, done = false;
8459
+ for (var i = decorators.length - 1; i >= 0; i--) {
8460
+ var context = {};
8461
+ for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
8462
+ for (var p in contextIn.access) context.access[p] = contextIn.access[p];
8463
+ context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
8464
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
8465
+ if (kind === "accessor") {
8466
+ if (result === void 0) continue;
8467
+ if (result === null || typeof result !== "object") throw new TypeError("Object expected");
8468
+ if (_ = accept(result.get)) descriptor.get = _;
8469
+ if (_ = accept(result.set)) descriptor.set = _;
8470
+ if (_ = accept(result.init)) initializers.unshift(_);
8471
+ }
8472
+ else if (_ = accept(result)) {
8473
+ if (kind === "field") initializers.unshift(_);
8474
+ else descriptor[key] = _;
8475
+ }
8476
+ }
8477
+ if (target) Object.defineProperty(target, contextIn.name, descriptor);
8478
+ done = true;
8479
+ }
8480
+ function __runInitializers(thisArg, initializers, value) {
8481
+ var useValue = arguments.length > 2;
8482
+ for (var i = 0; i < initializers.length; i++) {
8483
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
8484
+ }
8485
+ return useValue ? value : void 0;
8486
+ }
8487
+ function __propKey(x) {
8488
+ return typeof x === "symbol" ? x : "".concat(x);
8489
+ }
8490
+ function __setFunctionName(f, name, prefix) {
8491
+ if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
8492
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
8493
+ }
8494
+ function __metadata(metadataKey, metadataValue) {
8495
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
8496
+ }
8497
+
8498
+ function __awaiter(thisArg, _arguments, P, generator) {
8499
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
8500
+ return new (P || (P = Promise))(function (resolve, reject) {
8501
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8502
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
8503
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8504
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8505
+ });
8506
+ }
8507
+
8508
+ function __generator(thisArg, body) {
8509
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
8510
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
8511
+ function verb(n) { return function (v) { return step([n, v]); }; }
8512
+ function step(op) {
8513
+ if (f) throw new TypeError("Generator is already executing.");
8514
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
8515
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
8516
+ if (y = 0, t) op = [op[0] & 2, t.value];
8517
+ switch (op[0]) {
8518
+ case 0: case 1: t = op; break;
8519
+ case 4: _.label++; return { value: op[1], done: false };
8520
+ case 5: _.label++; y = op[1]; op = [0]; continue;
8521
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
8522
+ default:
8523
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
8524
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
8525
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
8526
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
8527
+ if (t[2]) _.ops.pop();
8528
+ _.trys.pop(); continue;
8529
+ }
8530
+ op = body.call(thisArg, _);
8531
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
8532
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
8533
+ }
8534
+ }
8535
+
8536
+ var __createBinding = Object.create ? (function(o, m, k, k2) {
8537
+ if (k2 === undefined) k2 = k;
8538
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8539
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8540
+ desc = { enumerable: true, get: function() { return m[k]; } };
8541
+ }
8542
+ Object.defineProperty(o, k2, desc);
8543
+ }) : (function(o, m, k, k2) {
8544
+ if (k2 === undefined) k2 = k;
8545
+ o[k2] = m[k];
8546
+ });
8547
+
8548
+ function __exportStar(m, o) {
8549
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
8550
+ }
8551
+
8552
+ function __values(o) {
8553
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
8554
+ if (m) return m.call(o);
8555
+ if (o && typeof o.length === "number") return {
8556
+ next: function () {
8557
+ if (o && i >= o.length) o = void 0;
8558
+ return { value: o && o[i++], done: !o };
8559
+ }
8560
+ };
8561
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
8562
+ }
8563
+
8564
+ function __read(o, n) {
8565
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
8566
+ if (!m) return o;
8567
+ var i = m.call(o), r, ar = [], e;
8568
+ try {
8569
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
8570
+ }
8571
+ catch (error) { e = { error: error }; }
8572
+ finally {
8573
+ try {
8574
+ if (r && !r.done && (m = i["return"])) m.call(i);
8575
+ }
8576
+ finally { if (e) throw e.error; }
8577
+ }
8578
+ return ar;
8579
+ }
8580
+
8581
+ /** @deprecated */
8582
+ function __spread() {
8583
+ for (var ar = [], i = 0; i < arguments.length; i++)
8584
+ ar = ar.concat(__read(arguments[i]));
8585
+ return ar;
8586
+ }
8587
+
8588
+ /** @deprecated */
8589
+ function __spreadArrays() {
8590
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
8591
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
8592
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
8593
+ r[k] = a[j];
8594
+ return r;
8595
+ }
8596
+
8597
+ function __spreadArray(to, from, pack) {
8598
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
8599
+ if (ar || !(i in from)) {
8600
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
8601
+ ar[i] = from[i];
8602
+ }
8603
+ }
8604
+ return to.concat(ar || Array.prototype.slice.call(from));
8605
+ }
8606
+
8607
+ function __await(v) {
8608
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
8609
+ }
8610
+
8611
+ function __asyncGenerator(thisArg, _arguments, generator) {
8612
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
8613
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
8614
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
8615
+ function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
8616
+ function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
8617
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
8618
+ function fulfill(value) { resume("next", value); }
8619
+ function reject(value) { resume("throw", value); }
8620
+ function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
8621
+ }
8622
+
8623
+ function __asyncDelegator(o) {
8624
+ var i, p;
8625
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
8626
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
8627
+ }
8628
+
8629
+ function __asyncValues(o) {
8630
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
8631
+ var m = o[Symbol.asyncIterator], i;
8632
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
8633
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
8634
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
8635
+ }
8636
+
8637
+ function __makeTemplateObject(cooked, raw) {
8638
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
8639
+ return cooked;
8640
+ }
8641
+ var __setModuleDefault = Object.create ? (function(o, v) {
8642
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
8643
+ }) : function(o, v) {
8644
+ o["default"] = v;
8645
+ };
8646
+
8647
+ function __importStar(mod) {
8648
+ if (mod && mod.__esModule) return mod;
8649
+ var result = {};
8650
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
8651
+ __setModuleDefault(result, mod);
8652
+ return result;
8653
+ }
8654
+
8655
+ function __importDefault(mod) {
8656
+ return (mod && mod.__esModule) ? mod : { default: mod };
8657
+ }
8658
+
8659
+ function __classPrivateFieldGet(receiver, state, kind, f) {
8660
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
8661
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
8662
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
8663
+ }
8664
+
8665
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
8666
+ if (kind === "m") throw new TypeError("Private method is not writable");
8667
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
8668
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
8669
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
8670
+ }
8671
+
8672
+ function __classPrivateFieldIn(state, receiver) {
8673
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
8674
+ return typeof state === "function" ? receiver === state : state.has(receiver);
8675
+ }
8676
+
8677
+ var tslib_es6 = {
8678
+ __extends,
8679
+ __assign,
8680
+ __rest,
8681
+ __decorate,
8682
+ __param,
8683
+ __metadata,
8684
+ __awaiter,
8685
+ __generator,
8686
+ __createBinding,
8687
+ __exportStar,
8688
+ __values,
8689
+ __read,
8690
+ __spread,
8691
+ __spreadArrays,
8692
+ __spreadArray,
8693
+ __await,
8694
+ __asyncGenerator,
8695
+ __asyncDelegator,
8696
+ __asyncValues,
8697
+ __makeTemplateObject,
8698
+ __importStar,
8699
+ __importDefault,
8700
+ __classPrivateFieldGet,
8701
+ __classPrivateFieldSet,
8702
+ __classPrivateFieldIn,
8703
+ };
8704
+
8705
+ var tslib_es6$1 = /*#__PURE__*/Object.freeze({
8706
+ __proto__: null,
8707
+ __extends: __extends,
8708
+ get __assign () { return __assign; },
8709
+ __rest: __rest,
8710
+ __decorate: __decorate,
8711
+ __param: __param,
8712
+ __esDecorate: __esDecorate,
8713
+ __runInitializers: __runInitializers,
8714
+ __propKey: __propKey,
8715
+ __setFunctionName: __setFunctionName,
8716
+ __metadata: __metadata,
8717
+ __awaiter: __awaiter,
8718
+ __generator: __generator,
8719
+ __createBinding: __createBinding,
8720
+ __exportStar: __exportStar,
8721
+ __values: __values,
8722
+ __read: __read,
8723
+ __spread: __spread,
8724
+ __spreadArrays: __spreadArrays,
8725
+ __spreadArray: __spreadArray,
8726
+ __await: __await,
8727
+ __asyncGenerator: __asyncGenerator,
8728
+ __asyncDelegator: __asyncDelegator,
8729
+ __asyncValues: __asyncValues,
8730
+ __makeTemplateObject: __makeTemplateObject,
8731
+ __importStar: __importStar,
8732
+ __importDefault: __importDefault,
8733
+ __classPrivateFieldGet: __classPrivateFieldGet,
8734
+ __classPrivateFieldSet: __classPrivateFieldSet,
8735
+ __classPrivateFieldIn: __classPrivateFieldIn,
8736
+ 'default': tslib_es6
8737
+ });
8650
8738
 
8651
8739
  var labelStyles = {
8652
8740
  "button": "pf-v6-c-button",
@@ -8660,9 +8748,9 @@ var labelStyles = {
8660
8748
  "red": "pf-m-red",
8661
8749
  "orange": "pf-m-orange",
8662
8750
  "orangered": "pf-m-orangered",
8663
- "gold": "pf-m-gold",
8751
+ "yellow": "pf-m-yellow",
8664
8752
  "green": "pf-m-green",
8665
- "cyan": "pf-m-cyan",
8753
+ "teal": "pf-m-teal",
8666
8754
  "purple": "pf-m-purple",
8667
8755
  "success": "pf-m-success",
8668
8756
  "warning": "pf-m-warning",
@@ -8681,7 +8769,7 @@ var labelStyles = {
8681
8769
  }
8682
8770
  };
8683
8771
 
8684
- var styles$6 = {
8772
+ var styles$7 = {
8685
8773
  "button": "pf-v6-c-button",
8686
8774
  "labelGroup": "pf-v6-c-label-group",
8687
8775
  "labelGroupClose": "pf-v6-c-label-group__close",
@@ -8706,13 +8794,13 @@ const c_label__text_MaxWidth = {
8706
8794
 
8707
8795
  const colorStyles = {
8708
8796
  blue: labelStyles.modifiers.blue,
8709
- cyan: labelStyles.modifiers.cyan,
8797
+ teal: labelStyles.modifiers.teal,
8710
8798
  green: labelStyles.modifiers.green,
8711
8799
  orange: labelStyles.modifiers.orange,
8712
8800
  purple: labelStyles.modifiers.purple,
8713
8801
  red: labelStyles.modifiers.red,
8714
8802
  orangered: labelStyles.modifiers.orangered,
8715
- gold: labelStyles.modifiers.gold,
8803
+ yellow: labelStyles.modifiers.yellow,
8716
8804
  grey: ''
8717
8805
  };
8718
8806
  const statusIcons = {
@@ -8813,9 +8901,8 @@ const Label = (_a) => {
8813
8901
  }
8814
8902
  };
8815
8903
  const isClickableDisabled = (href || onLabelClick) && isDisabled;
8816
- const defaultCloseButton = (React.createElement(Button, Object.assign({ type: "button", variant: "plain", hasNoPadding: true, onClick: onClose, "aria-label": closeBtnAriaLabel || `Close ${children}` }, (isClickableDisabled && { isDisabled: true }), closeBtnProps),
8817
- React.createElement(TimesIcon, null)));
8818
- const closeButton = React.createElement("span", { className: css(labelStyles.labelActions) }, closeBtn || defaultCloseButton);
8904
+ const defaultCloseButton = (React.createElement(Button, Object.assign({ type: "button", variant: "plain", hasNoPadding: true, onClick: onClose, "aria-label": closeBtnAriaLabel || `Close ${children}` }, (isClickableDisabled && { isDisabled: true }), closeBtnProps, { icon: React.createElement(TimesIcon, null) })));
8905
+ const closeButton = React.createElement("span", { className: css$1(labelStyles.labelActions) }, closeBtn || defaultCloseButton);
8819
8906
  const textRef = React.createRef();
8820
8907
  // ref to apply tooltip when rendered is used
8821
8908
  const componentRef = React.useRef();
@@ -8827,8 +8914,8 @@ const Label = (_a) => {
8827
8914
  }
8828
8915
  }, [isEditableActive]);
8829
8916
  const content = (React.createElement(React.Fragment, null,
8830
- _icon && React.createElement("span", { className: css(labelStyles.labelIcon) }, _icon),
8831
- React.createElement("span", Object.assign({ ref: textRef, className: css(labelStyles.labelText) }, (textMaxWidth && {
8917
+ _icon && React.createElement("span", { className: css$1(labelStyles.labelIcon) }, _icon),
8918
+ React.createElement("span", Object.assign({ ref: textRef, className: css$1(labelStyles.labelText) }, (textMaxWidth && {
8832
8919
  style: {
8833
8920
  [c_label__text_MaxWidth.name]: textMaxWidth
8834
8921
  }
@@ -8853,7 +8940,7 @@ const Label = (_a) => {
8853
8940
  onClick: onLabelClick
8854
8941
  };
8855
8942
  const isButton = LabelComponentChildElement === 'button';
8856
- const labelComponentChildProps = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ className: css(labelStyles.labelContent, isClickable && labelStyles.modifiers.clickable) }, (isTooltipVisible && { tabIndex: 0 })), (href && { href })), (href && isDisabled && { onClick: (event) => event.preventDefault() })), (isButton && clickableLabelProps)), (isEditable && Object.assign({ ref: editableButtonRef, onClick: (e) => {
8943
+ const labelComponentChildProps = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ className: css$1(labelStyles.labelContent, isClickable && labelStyles.modifiers.clickable) }, (isTooltipVisible && { tabIndex: 0 })), (href && { href })), (href && isDisabled && { onClick: (event) => event.preventDefault() })), (isButton && clickableLabelProps)), (isEditable && Object.assign({ ref: editableButtonRef, onClick: (e) => {
8857
8944
  setIsEditableActive(true);
8858
8945
  e.stopPropagation();
8859
8946
  } }, editableProps))), (isClickableDisabled && isButton && { disabled: true })), (isClickableDisabled && href && { tabIndex: -1, 'aria-disabled': true }));
@@ -8871,14 +8958,14 @@ const Label = (_a) => {
8871
8958
  labelComponentChild = (React.createElement(Tooltip, { content: children, position: tooltipPosition }, labelComponentChild));
8872
8959
  }
8873
8960
  const LabelComponent = (isOverflowLabel ? 'button' : 'span');
8874
- return (React.createElement(LabelComponent, Object.assign({}, props, { className: css(labelStyles.label, isClickableDisabled && labelStyles.modifiers.disabled, colorStyles[color], variant === 'filled' && labelStyles.modifiers.filled, variant === 'outline' && labelStyles.modifiers.outline, status && labelStyles.modifiers[status], isOverflowLabel && labelStyles.modifiers.overflow, isCompact && labelStyles.modifiers.compact, isEditable && styles$6.modifiers.editable, isEditableActive && labelStyles.modifiers.editableActive, isClickable && labelStyles.modifiers.clickable, isAddLabel && labelStyles.modifiers.add, className), onClick: isOverflowLabel || isAddLabel ? onLabelClick : undefined }),
8961
+ return (React.createElement(LabelComponent, Object.assign({}, props, { className: css$1(labelStyles.label, isClickableDisabled && labelStyles.modifiers.disabled, colorStyles[color], variant === 'filled' && labelStyles.modifiers.filled, variant === 'outline' && labelStyles.modifiers.outline, status && labelStyles.modifiers[status], isOverflowLabel && labelStyles.modifiers.overflow, isCompact && labelStyles.modifiers.compact, isEditable && styles$7.modifiers.editable, isEditableActive && labelStyles.modifiers.editableActive, isClickable && labelStyles.modifiers.clickable, isAddLabel && labelStyles.modifiers.add, className), onClick: isOverflowLabel || isAddLabel ? onLabelClick : undefined }),
8875
8962
  !isEditableActive && labelComponentChild,
8876
8963
  !isEditableActive && onClose && closeButton,
8877
- isEditableActive && (React.createElement("input", Object.assign({ className: css(labelStyles.labelContent), type: "text", id: "editable-input", ref: editableInputRef, value: currValue, onChange: updateVal }, editableProps)))));
8964
+ isEditableActive && (React.createElement("input", Object.assign({ className: css$1(labelStyles.labelContent), type: "text", id: "editable-input", ref: editableInputRef, value: currValue, onChange: updateVal }, editableProps)))));
8878
8965
  };
8879
8966
  Label.displayName = 'Label';
8880
8967
 
8881
- var styles$5 = {
8968
+ var styles$6 = {
8882
8969
  "list": "pf-v6-c-list",
8883
8970
  "listItem": "pf-v6-c-list__item",
8884
8971
  "listItemIcon": "pf-v6-c-list__item-icon",
@@ -8909,15 +8996,15 @@ var ListComponent;
8909
8996
  })(ListComponent || (ListComponent = {}));
8910
8997
  const List = (_a) => {
8911
8998
  var { className = '', children = null, variant = null, isBordered = false, isPlain = false, iconSize = 'default', type = OrderType.number, ref = null, component = ListComponent.ul } = _a, props = __rest$1(_a, ["className", "children", "variant", "isBordered", "isPlain", "iconSize", "type", "ref", "component"]);
8912
- return component === ListComponent.ol ? (React.createElement("ol", Object.assign({ ref: ref, type: type }, (isPlain && { role: 'list' }), props, { className: css(styles$5.list, variant && styles$5.modifiers[variant], isBordered && styles$5.modifiers.bordered, isPlain && styles$5.modifiers.plain, iconSize && iconSize === 'large' && styles$5.modifiers.iconLg, className) }), children)) : (React.createElement("ul", Object.assign({ ref: ref }, (isPlain && { role: 'list' }), props, { className: css(styles$5.list, variant && styles$5.modifiers[variant], isBordered && styles$5.modifiers.bordered, isPlain && styles$5.modifiers.plain, iconSize && iconSize === 'large' && styles$5.modifiers.iconLg, className) }), children));
8999
+ return component === ListComponent.ol ? (React.createElement("ol", Object.assign({ ref: ref, type: type }, (isPlain && { role: 'list' }), props, { className: css$1(styles$6.list, variant && styles$6.modifiers[variant], isBordered && styles$6.modifiers.bordered, isPlain && styles$6.modifiers.plain, iconSize && iconSize === 'large' && styles$6.modifiers.iconLg, className) }), children)) : (React.createElement("ul", Object.assign({ ref: ref }, (isPlain && { role: 'list' }), props, { className: css$1(styles$6.list, variant && styles$6.modifiers[variant], isBordered && styles$6.modifiers.bordered, isPlain && styles$6.modifiers.plain, iconSize && iconSize === 'large' && styles$6.modifiers.iconLg, className) }), children));
8913
9000
  };
8914
9001
  List.displayName = 'List';
8915
9002
 
8916
9003
  const ListItem = (_a) => {
8917
9004
  var { icon = null, children = null } = _a, props = __rest$1(_a, ["icon", "children"]);
8918
- return (React.createElement("li", Object.assign({ className: css(icon && styles$5.listItem) }, props),
8919
- icon && React.createElement("span", { className: css(styles$5.listItemIcon) }, icon),
8920
- React.createElement("span", { className: icon && css(`${styles$5.list}__item-text`) }, children)));
9005
+ return (React.createElement("li", Object.assign({ className: css$1(icon && styles$6.listItem) }, props),
9006
+ icon && React.createElement("span", { className: css$1(styles$6.listItemIcon) }, icon),
9007
+ React.createElement("span", { className: icon && css$1(`${styles$6.list}__item-text`) }, children)));
8921
9008
  };
8922
9009
  ListItem.displayName = 'ListItem';
8923
9010
 
@@ -8934,82 +9021,114 @@ const PageContext = React.createContext(pageContextDefaults);
8934
9021
  PageContext.Provider;
8935
9022
  PageContext.Consumer;
8936
9023
 
8937
- var TextVariants;
8938
- (function (TextVariants) {
8939
- TextVariants["h1"] = "h1";
8940
- TextVariants["h2"] = "h2";
8941
- TextVariants["h3"] = "h3";
8942
- TextVariants["h4"] = "h4";
8943
- TextVariants["h5"] = "h5";
8944
- TextVariants["h6"] = "h6";
8945
- TextVariants["p"] = "p";
8946
- TextVariants["a"] = "a";
8947
- TextVariants["small"] = "small";
8948
- TextVariants["blockquote"] = "blockquote";
8949
- TextVariants["pre"] = "pre";
8950
- })(TextVariants || (TextVariants = {}));
8951
- const componentStyles$2 = {
8952
- h1: styles$r.contentH1,
8953
- h2: styles$r.contentH2,
8954
- h3: styles$r.contentH3,
8955
- h4: styles$r.contentH4,
8956
- h5: styles$r.contentH5,
8957
- h6: styles$r.contentH6,
8958
- p: styles$r.contentP,
8959
- a: styles$r.contentA,
8960
- small: styles$r.contentSmall,
8961
- blockquote: styles$r.contentBlockquote,
8962
- pre: styles$r.contentPre
8963
- };
8964
- const Text = (_a) => {
8965
- var { children = null, className = '', component = TextVariants.p, isVisitedLink = false, ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["children", "className", "component", "isVisitedLink", "ouiaId", "ouiaSafe"]);
8966
- const Component = component;
8967
- const ouiaProps = useOUIAProps(Text.displayName, ouiaId, ouiaSafe);
8968
- return (React.createElement(Component, Object.assign({}, ouiaProps, props, { "data-pf-content": true, className: css(isVisitedLink && component === TextVariants.a && styles$r.modifiers.visited, componentStyles$2[component], className) }), children));
8969
- };
8970
- Text.displayName = 'Text';
8971
-
8972
- var TextListVariants;
8973
- (function (TextListVariants) {
8974
- TextListVariants["ul"] = "ul";
8975
- TextListVariants["ol"] = "ol";
8976
- TextListVariants["dl"] = "dl";
8977
- })(TextListVariants || (TextListVariants = {}));
8978
- const componentStyles$1 = {
8979
- ul: styles$r.contentUl,
8980
- ol: styles$r.contentOl,
8981
- dl: styles$r.contentDl
8982
- };
8983
- const TextList = (_a) => {
8984
- var { children = null, className = '', component = TextListVariants.ul, isPlain = false } = _a, props = __rest$1(_a, ["children", "className", "component", "isPlain"]);
8985
- const Component = component;
8986
- return (React.createElement(Component, Object.assign({}, props, { className: css(isPlain && styles$r.modifiers.plain, componentStyles$1[component], className) }), children));
8987
- };
8988
- TextList.displayName = 'TextList';
8989
-
8990
- var TextListItemVariants;
8991
- (function (TextListItemVariants) {
8992
- TextListItemVariants["li"] = "li";
8993
- TextListItemVariants["dt"] = "dt";
8994
- TextListItemVariants["dd"] = "dd";
8995
- })(TextListItemVariants || (TextListItemVariants = {}));
8996
- const componentStyles = {
8997
- li: styles$r.contentLi,
8998
- dt: styles$r.contentDt,
8999
- dd: styles$r.contentDd
9000
- };
9001
- const TextListItem = (_a) => {
9002
- var { children = null, className = '', component = TextListItemVariants.li } = _a, props = __rest$1(_a, ["children", "className", "component"]);
9024
+ var styles$5 = {
9025
+ "dirRtl": "pf-v6-m-dir-rtl",
9026
+ "drawer": "pf-v6-c-drawer",
9027
+ "masthead": "pf-v6-c-masthead",
9028
+ "modifiers": {
9029
+ "expanded": "pf-m-expanded",
9030
+ "collapsed": "pf-m-collapsed",
9031
+ "pageInsets": "pf-m-page-insets",
9032
+ "contextSelector": "pf-m-context-selector",
9033
+ "insetNone": "pf-m-inset-none",
9034
+ "fill": "pf-m-fill",
9035
+ "noFill": "pf-m-no-fill",
9036
+ "limitWidth": "pf-m-limit-width",
9037
+ "alignCenter": "pf-m-align-center",
9038
+ "overflowScroll": "pf-m-overflow-scroll",
9039
+ "shadowBottom": "pf-m-shadow-bottom",
9040
+ "shadowTop": "pf-m-shadow-top",
9041
+ "stickyTop": "pf-m-sticky-top",
9042
+ "stickyBottom": "pf-m-sticky-bottom",
9043
+ "stickyTopOnSmHeight": "pf-m-sticky-top-on-sm-height",
9044
+ "stickyBottomOnSmHeight": "pf-m-sticky-bottom-on-sm-height",
9045
+ "stickyTopOnMdHeight": "pf-m-sticky-top-on-md-height",
9046
+ "stickyBottomOnMdHeight": "pf-m-sticky-bottom-on-md-height",
9047
+ "stickyTopOnLgHeight": "pf-m-sticky-top-on-lg-height",
9048
+ "stickyBottomOnLgHeight": "pf-m-sticky-bottom-on-lg-height",
9049
+ "stickyTopOnXlHeight": "pf-m-sticky-top-on-xl-height",
9050
+ "stickyBottomOnXlHeight": "pf-m-sticky-bottom-on-xl-height",
9051
+ "stickyTopOn_2xlHeight": "pf-m-sticky-top-on-2xl-height",
9052
+ "stickyBottomOn_2xlHeight": "pf-m-sticky-bottom-on-2xl-height",
9053
+ "secondary": "pf-m-secondary",
9054
+ "padding": "pf-m-padding",
9055
+ "noPadding": "pf-m-no-padding",
9056
+ "paddingOnSm": "pf-m-padding-on-sm",
9057
+ "noPaddingOnSm": "pf-m-no-padding-on-sm",
9058
+ "paddingOnMd": "pf-m-padding-on-md",
9059
+ "noPaddingOnMd": "pf-m-no-padding-on-md",
9060
+ "paddingOnLg": "pf-m-padding-on-lg",
9061
+ "noPaddingOnLg": "pf-m-no-padding-on-lg",
9062
+ "paddingOnXl": "pf-m-padding-on-xl",
9063
+ "noPaddingOnXl": "pf-m-no-padding-on-xl",
9064
+ "paddingOn_2xl": "pf-m-padding-on-2xl",
9065
+ "noPaddingOn_2xl": "pf-m-no-padding-on-2xl"
9066
+ },
9067
+ "page": "pf-v6-c-page",
9068
+ "pageDrawer": "pf-v6-c-page__drawer",
9069
+ "pageMain": "pf-v6-c-page__main",
9070
+ "pageMainBody": "pf-v6-c-page__main-body",
9071
+ "pageMainBreadcrumb": "pf-v6-c-page__main-breadcrumb",
9072
+ "pageMainContainer": "pf-v6-c-page__main-container",
9073
+ "pageMainDrawer": "pf-v6-c-page__main-drawer",
9074
+ "pageMainGroup": "pf-v6-c-page__main-group",
9075
+ "pageMainSection": "pf-v6-c-page__main-section",
9076
+ "pageMainSubnav": "pf-v6-c-page__main-subnav",
9077
+ "pageMainTabs": "pf-v6-c-page__main-tabs",
9078
+ "pageMainWizard": "pf-v6-c-page__main-wizard",
9079
+ "pageSidebar": "pf-v6-c-page__sidebar",
9080
+ "pageSidebarBody": "pf-v6-c-page__sidebar-body",
9081
+ "pageSidebarHeader": "pf-v6-c-page__sidebar-header",
9082
+ "pageSidebarTitle": "pf-v6-c-page__sidebar-title"
9083
+ };
9084
+
9085
+ const PageBody = (_a) => {
9086
+ var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
9087
+ return (React.createElement("div", Object.assign({}, props, { className: css$1(styles$5.pageMainBody, className) }), children));
9088
+ };
9089
+ PageBody.displayName = 'PageBody';
9090
+
9091
+ var PageSectionVariants;
9092
+ (function (PageSectionVariants) {
9093
+ PageSectionVariants["default"] = "default";
9094
+ PageSectionVariants["secondary"] = "secondary";
9095
+ })(PageSectionVariants || (PageSectionVariants = {}));
9096
+ var PageSectionTypes;
9097
+ (function (PageSectionTypes) {
9098
+ PageSectionTypes["default"] = "default";
9099
+ PageSectionTypes["subNav"] = "subnav";
9100
+ PageSectionTypes["breadcrumb"] = "breadcrumb";
9101
+ PageSectionTypes["tabs"] = "tabs";
9102
+ PageSectionTypes["wizard"] = "wizard";
9103
+ })(PageSectionTypes || (PageSectionTypes = {}));
9104
+ const variantType = {
9105
+ [PageSectionTypes.default]: styles$5.pageMainSection,
9106
+ [PageSectionTypes.subNav]: styles$5.pageMainSubnav,
9107
+ [PageSectionTypes.breadcrumb]: styles$5.pageMainBreadcrumb,
9108
+ [PageSectionTypes.tabs]: styles$5.pageMainTabs,
9109
+ [PageSectionTypes.wizard]: styles$5.pageMainWizard
9110
+ };
9111
+ const variantStyle = {
9112
+ [PageSectionVariants.default]: '',
9113
+ [PageSectionVariants.secondary]: styles$5.modifiers.secondary
9114
+ };
9115
+ const PageSection = (_a) => {
9116
+ var { className = '', children, variant = 'default', type = 'default', padding, isFilled, isWidthLimited = false, isCenterAligned = false, stickyOnBreakpoint, hasShadowTop = false, hasShadowBottom = false, hasOverflowScroll = false, 'aria-label': ariaLabel, component = 'section', hasBodyWrapper = true } = _a, props = __rest$1(_a, ["className", "children", "variant", "type", "padding", "isFilled", "isWidthLimited", "isCenterAligned", "stickyOnBreakpoint", "hasShadowTop", "hasShadowBottom", "hasOverflowScroll", 'aria-label', "component", "hasBodyWrapper"]);
9117
+ const { height, getVerticalBreakpoint } = React.useContext(PageContext);
9118
+ React.useEffect(() => {
9119
+ if (hasOverflowScroll && !ariaLabel) {
9120
+ /* eslint-disable no-console */
9121
+ console.warn('PageSection: An accessible aria-label is required when hasOverflowScroll is set to true.');
9122
+ }
9123
+ }, [hasOverflowScroll, ariaLabel]);
9003
9124
  const Component = component;
9004
- return (React.createElement(Component, Object.assign({}, props, { className: css(componentStyles[component], className) }), children));
9125
+ return (React.createElement(Component, Object.assign({}, props, { className: css$1(variantType[type], formatBreakpointMods(padding, styles$5), formatBreakpointMods(stickyOnBreakpoint, styles$5, 'sticky-', getVerticalBreakpoint(height), true), type === PageSectionTypes.default && variantStyle[variant], isFilled === false && styles$5.modifiers.noFill, isFilled === true && styles$5.modifiers.fill, isWidthLimited && styles$5.modifiers.limitWidth, isWidthLimited && isCenterAligned && type !== PageSectionTypes.subNav && styles$5.modifiers.alignCenter, hasShadowTop && styles$5.modifiers.shadowTop, hasShadowBottom && styles$5.modifiers.shadowBottom, hasOverflowScroll && styles$5.modifiers.overflowScroll, className) }, (hasOverflowScroll && { tabIndex: 0 }), { "aria-label": ariaLabel }), hasBodyWrapper ? React.createElement(PageBody, null, children) : children));
9005
9126
  };
9006
- TextListItem.displayName = 'TextListItem';
9127
+ PageSection.displayName = 'PageSection';
9007
9128
 
9008
9129
  var styles$4 = {
9009
9130
  "dirRtl": "pf-v6-m-dir-rtl",
9010
9131
  "modifiers": {
9011
- "labelGroupContainer": "pf-m-label-group-container",
9012
- "labelGroup": "pf-m-label-group",
9013
9132
  "hidden": "pf-m-hidden",
9014
9133
  "hiddenOnSm": "pf-m-hidden-on-sm",
9015
9134
  "visibleOnSm": "pf-m-visible-on-sm",
@@ -9024,17 +9143,19 @@ var styles$4 = {
9024
9143
  "sticky": "pf-m-sticky",
9025
9144
  "static": "pf-m-static",
9026
9145
  "fullHeight": "pf-m-full-height",
9027
- "pageInsets": "pf-m-page-insets",
9028
9146
  "primary": "pf-m-primary",
9029
9147
  "secondary": "pf-m-secondary",
9030
9148
  "noBackground": "pf-m-no-background",
9031
- "pagination": "pf-m-pagination",
9032
9149
  "expandAll": "pf-m-expand-all",
9033
9150
  "expanded": "pf-m-expanded",
9034
9151
  "label": "pf-m-label",
9152
+ "pagination": "pf-m-pagination",
9035
9153
  "overflowContainer": "pf-m-overflow-container",
9036
- "iconButtonGroup": "pf-m-icon-button-group",
9037
9154
  "filterGroup": "pf-m-filter-group",
9155
+ "labelGroup": "pf-m-label-group",
9156
+ "actionGroup": "pf-m-action-group",
9157
+ "actionGroupPlain": "pf-m-action-group-plain",
9158
+ "actionGroupInline": "pf-m-action-group-inline",
9038
9159
  "alignStart": "pf-m-align-start",
9039
9160
  "alignCenter": "pf-m-align-center",
9040
9161
  "alignEnd": "pf-m-align-end",
@@ -9071,40 +9192,22 @@ var styles$4 = {
9071
9192
  "gap_4xl": "pf-m-gap-4xl",
9072
9193
  "columnGapNone": "pf-m-column-gap-none",
9073
9194
  "rowGapNone": "pf-m-row-gap-none",
9074
- "marginInlineStartnone": "pf-m-margin-inline-startnone",
9075
- "marginInlineEndnone": "pf-m-margin-inline-endnone",
9076
9195
  "columnGapXs": "pf-m-column-gap-xs",
9077
9196
  "rowGapXs": "pf-m-row-gap-xs",
9078
- "marginInlineStartxs": "pf-m-margin-inline-startxs",
9079
- "marginInlineEndxs": "pf-m-margin-inline-endxs",
9080
9197
  "columnGapSm": "pf-m-column-gap-sm",
9081
9198
  "rowGapSm": "pf-m-row-gap-sm",
9082
- "marginInlineStartsm": "pf-m-margin-inline-startsm",
9083
- "marginInlineEndsm": "pf-m-margin-inline-endsm",
9084
9199
  "columnGapMd": "pf-m-column-gap-md",
9085
9200
  "rowGapMd": "pf-m-row-gap-md",
9086
- "marginInlineStartmd": "pf-m-margin-inline-startmd",
9087
- "marginInlineEndmd": "pf-m-margin-inline-endmd",
9088
9201
  "columnGapLg": "pf-m-column-gap-lg",
9089
9202
  "rowGapLg": "pf-m-row-gap-lg",
9090
- "marginInlineStartlg": "pf-m-margin-inline-startlg",
9091
- "marginInlineEndlg": "pf-m-margin-inline-endlg",
9092
9203
  "columnGapXl": "pf-m-column-gap-xl",
9093
9204
  "rowGapXl": "pf-m-row-gap-xl",
9094
- "marginInlineStartxl": "pf-m-margin-inline-startxl",
9095
- "marginInlineEndxl": "pf-m-margin-inline-endxl",
9096
9205
  "columnGap_2xl": "pf-m-column-gap-2xl",
9097
9206
  "rowGap_2xl": "pf-m-row-gap-2xl",
9098
- "marginInlineStart2xl": "pf-m-margin-inline-start2xl",
9099
- "marginInlineEnd2xl": "pf-m-margin-inline-end2xl",
9100
9207
  "columnGap_3xl": "pf-m-column-gap-3xl",
9101
9208
  "rowGap_3xl": "pf-m-row-gap-3xl",
9102
- "marginInlineStart3xl": "pf-m-margin-inline-start3xl",
9103
- "marginInlineEnd3xl": "pf-m-margin-inline-end3xl",
9104
9209
  "columnGap_4xl": "pf-m-column-gap-4xl",
9105
9210
  "rowGap_4xl": "pf-m-row-gap-4xl",
9106
- "marginInlineStart4xl": "pf-m-margin-inline-start4xl",
9107
- "marginInlineEnd4xl": "pf-m-margin-inline-end4xl",
9108
9211
  "toggleGroup": "pf-m-toggle-group",
9109
9212
  "show": "pf-m-show",
9110
9213
  "hide": "pf-m-hide",
@@ -9144,40 +9247,22 @@ var styles$4 = {
9144
9247
  "gap_4xlOnSm": "pf-m-gap-4xl-on-sm",
9145
9248
  "columnGapNoneOnSm": "pf-m-column-gap-none-on-sm",
9146
9249
  "rowGapNoneOnSm": "pf-m-row-gap-none-on-sm",
9147
- "marginInlineStartnoneOnSm": "pf-m-margin-inline-startnone-on-sm",
9148
- "marginInlineEndnoneOnSm": "pf-m-margin-inline-endnone-on-sm",
9149
9250
  "columnGapXsOnSm": "pf-m-column-gap-xs-on-sm",
9150
9251
  "rowGapXsOnSm": "pf-m-row-gap-xs-on-sm",
9151
- "marginInlineStartxsOnSm": "pf-m-margin-inline-startxs-on-sm",
9152
- "marginInlineEndxsOnSm": "pf-m-margin-inline-endxs-on-sm",
9153
9252
  "columnGapSmOnSm": "pf-m-column-gap-sm-on-sm",
9154
9253
  "rowGapSmOnSm": "pf-m-row-gap-sm-on-sm",
9155
- "marginInlineStartsmOnSm": "pf-m-margin-inline-startsm-on-sm",
9156
- "marginInlineEndsmOnSm": "pf-m-margin-inline-endsm-on-sm",
9157
9254
  "columnGapMdOnSm": "pf-m-column-gap-md-on-sm",
9158
9255
  "rowGapMdOnSm": "pf-m-row-gap-md-on-sm",
9159
- "marginInlineStartmdOnSm": "pf-m-margin-inline-startmd-on-sm",
9160
- "marginInlineEndmdOnSm": "pf-m-margin-inline-endmd-on-sm",
9161
9256
  "columnGapLgOnSm": "pf-m-column-gap-lg-on-sm",
9162
9257
  "rowGapLgOnSm": "pf-m-row-gap-lg-on-sm",
9163
- "marginInlineStartlgOnSm": "pf-m-margin-inline-startlg-on-sm",
9164
- "marginInlineEndlgOnSm": "pf-m-margin-inline-endlg-on-sm",
9165
9258
  "columnGapXlOnSm": "pf-m-column-gap-xl-on-sm",
9166
9259
  "rowGapXlOnSm": "pf-m-row-gap-xl-on-sm",
9167
- "marginInlineStartxlOnSm": "pf-m-margin-inline-startxl-on-sm",
9168
- "marginInlineEndxlOnSm": "pf-m-margin-inline-endxl-on-sm",
9169
9260
  "columnGap_2xlOnSm": "pf-m-column-gap-2xl-on-sm",
9170
9261
  "rowGap_2xlOnSm": "pf-m-row-gap-2xl-on-sm",
9171
- "marginInlineStart2xlOnSm": "pf-m-margin-inline-start2xl-on-sm",
9172
- "marginInlineEnd2xlOnSm": "pf-m-margin-inline-end2xl-on-sm",
9173
9262
  "columnGap_3xlOnSm": "pf-m-column-gap-3xl-on-sm",
9174
9263
  "rowGap_3xlOnSm": "pf-m-row-gap-3xl-on-sm",
9175
- "marginInlineStart3xlOnSm": "pf-m-margin-inline-start3xl-on-sm",
9176
- "marginInlineEnd3xlOnSm": "pf-m-margin-inline-end3xl-on-sm",
9177
9264
  "columnGap_4xlOnSm": "pf-m-column-gap-4xl-on-sm",
9178
9265
  "rowGap_4xlOnSm": "pf-m-row-gap-4xl-on-sm",
9179
- "marginInlineStart4xlOnSm": "pf-m-margin-inline-start4xl-on-sm",
9180
- "marginInlineEnd4xlOnSm": "pf-m-margin-inline-end4xl-on-sm",
9181
9266
  "showOnSm": "pf-m-show-on-sm",
9182
9267
  "hideOnSm": "pf-m-hide-on-sm",
9183
9268
  "alignStartOnMd": "pf-m-align-start-on-md",
@@ -9216,40 +9301,22 @@ var styles$4 = {
9216
9301
  "gap_4xlOnMd": "pf-m-gap-4xl-on-md",
9217
9302
  "columnGapNoneOnMd": "pf-m-column-gap-none-on-md",
9218
9303
  "rowGapNoneOnMd": "pf-m-row-gap-none-on-md",
9219
- "marginInlineStartnoneOnMd": "pf-m-margin-inline-startnone-on-md",
9220
- "marginInlineEndnoneOnMd": "pf-m-margin-inline-endnone-on-md",
9221
9304
  "columnGapXsOnMd": "pf-m-column-gap-xs-on-md",
9222
9305
  "rowGapXsOnMd": "pf-m-row-gap-xs-on-md",
9223
- "marginInlineStartxsOnMd": "pf-m-margin-inline-startxs-on-md",
9224
- "marginInlineEndxsOnMd": "pf-m-margin-inline-endxs-on-md",
9225
9306
  "columnGapSmOnMd": "pf-m-column-gap-sm-on-md",
9226
9307
  "rowGapSmOnMd": "pf-m-row-gap-sm-on-md",
9227
- "marginInlineStartsmOnMd": "pf-m-margin-inline-startsm-on-md",
9228
- "marginInlineEndsmOnMd": "pf-m-margin-inline-endsm-on-md",
9229
9308
  "columnGapMdOnMd": "pf-m-column-gap-md-on-md",
9230
9309
  "rowGapMdOnMd": "pf-m-row-gap-md-on-md",
9231
- "marginInlineStartmdOnMd": "pf-m-margin-inline-startmd-on-md",
9232
- "marginInlineEndmdOnMd": "pf-m-margin-inline-endmd-on-md",
9233
9310
  "columnGapLgOnMd": "pf-m-column-gap-lg-on-md",
9234
9311
  "rowGapLgOnMd": "pf-m-row-gap-lg-on-md",
9235
- "marginInlineStartlgOnMd": "pf-m-margin-inline-startlg-on-md",
9236
- "marginInlineEndlgOnMd": "pf-m-margin-inline-endlg-on-md",
9237
9312
  "columnGapXlOnMd": "pf-m-column-gap-xl-on-md",
9238
9313
  "rowGapXlOnMd": "pf-m-row-gap-xl-on-md",
9239
- "marginInlineStartxlOnMd": "pf-m-margin-inline-startxl-on-md",
9240
- "marginInlineEndxlOnMd": "pf-m-margin-inline-endxl-on-md",
9241
9314
  "columnGap_2xlOnMd": "pf-m-column-gap-2xl-on-md",
9242
9315
  "rowGap_2xlOnMd": "pf-m-row-gap-2xl-on-md",
9243
- "marginInlineStart2xlOnMd": "pf-m-margin-inline-start2xl-on-md",
9244
- "marginInlineEnd2xlOnMd": "pf-m-margin-inline-end2xl-on-md",
9245
9316
  "columnGap_3xlOnMd": "pf-m-column-gap-3xl-on-md",
9246
9317
  "rowGap_3xlOnMd": "pf-m-row-gap-3xl-on-md",
9247
- "marginInlineStart3xlOnMd": "pf-m-margin-inline-start3xl-on-md",
9248
- "marginInlineEnd3xlOnMd": "pf-m-margin-inline-end3xl-on-md",
9249
9318
  "columnGap_4xlOnMd": "pf-m-column-gap-4xl-on-md",
9250
9319
  "rowGap_4xlOnMd": "pf-m-row-gap-4xl-on-md",
9251
- "marginInlineStart4xlOnMd": "pf-m-margin-inline-start4xl-on-md",
9252
- "marginInlineEnd4xlOnMd": "pf-m-margin-inline-end4xl-on-md",
9253
9320
  "showOnMd": "pf-m-show-on-md",
9254
9321
  "hideOnMd": "pf-m-hide-on-md",
9255
9322
  "alignStartOnLg": "pf-m-align-start-on-lg",
@@ -9288,40 +9355,22 @@ var styles$4 = {
9288
9355
  "gap_4xlOnLg": "pf-m-gap-4xl-on-lg",
9289
9356
  "columnGapNoneOnLg": "pf-m-column-gap-none-on-lg",
9290
9357
  "rowGapNoneOnLg": "pf-m-row-gap-none-on-lg",
9291
- "marginInlineStartnoneOnLg": "pf-m-margin-inline-startnone-on-lg",
9292
- "marginInlineEndnoneOnLg": "pf-m-margin-inline-endnone-on-lg",
9293
9358
  "columnGapXsOnLg": "pf-m-column-gap-xs-on-lg",
9294
9359
  "rowGapXsOnLg": "pf-m-row-gap-xs-on-lg",
9295
- "marginInlineStartxsOnLg": "pf-m-margin-inline-startxs-on-lg",
9296
- "marginInlineEndxsOnLg": "pf-m-margin-inline-endxs-on-lg",
9297
9360
  "columnGapSmOnLg": "pf-m-column-gap-sm-on-lg",
9298
9361
  "rowGapSmOnLg": "pf-m-row-gap-sm-on-lg",
9299
- "marginInlineStartsmOnLg": "pf-m-margin-inline-startsm-on-lg",
9300
- "marginInlineEndsmOnLg": "pf-m-margin-inline-endsm-on-lg",
9301
9362
  "columnGapMdOnLg": "pf-m-column-gap-md-on-lg",
9302
9363
  "rowGapMdOnLg": "pf-m-row-gap-md-on-lg",
9303
- "marginInlineStartmdOnLg": "pf-m-margin-inline-startmd-on-lg",
9304
- "marginInlineEndmdOnLg": "pf-m-margin-inline-endmd-on-lg",
9305
9364
  "columnGapLgOnLg": "pf-m-column-gap-lg-on-lg",
9306
9365
  "rowGapLgOnLg": "pf-m-row-gap-lg-on-lg",
9307
- "marginInlineStartlgOnLg": "pf-m-margin-inline-startlg-on-lg",
9308
- "marginInlineEndlgOnLg": "pf-m-margin-inline-endlg-on-lg",
9309
9366
  "columnGapXlOnLg": "pf-m-column-gap-xl-on-lg",
9310
9367
  "rowGapXlOnLg": "pf-m-row-gap-xl-on-lg",
9311
- "marginInlineStartxlOnLg": "pf-m-margin-inline-startxl-on-lg",
9312
- "marginInlineEndxlOnLg": "pf-m-margin-inline-endxl-on-lg",
9313
9368
  "columnGap_2xlOnLg": "pf-m-column-gap-2xl-on-lg",
9314
9369
  "rowGap_2xlOnLg": "pf-m-row-gap-2xl-on-lg",
9315
- "marginInlineStart2xlOnLg": "pf-m-margin-inline-start2xl-on-lg",
9316
- "marginInlineEnd2xlOnLg": "pf-m-margin-inline-end2xl-on-lg",
9317
9370
  "columnGap_3xlOnLg": "pf-m-column-gap-3xl-on-lg",
9318
9371
  "rowGap_3xlOnLg": "pf-m-row-gap-3xl-on-lg",
9319
- "marginInlineStart3xlOnLg": "pf-m-margin-inline-start3xl-on-lg",
9320
- "marginInlineEnd3xlOnLg": "pf-m-margin-inline-end3xl-on-lg",
9321
9372
  "columnGap_4xlOnLg": "pf-m-column-gap-4xl-on-lg",
9322
9373
  "rowGap_4xlOnLg": "pf-m-row-gap-4xl-on-lg",
9323
- "marginInlineStart4xlOnLg": "pf-m-margin-inline-start4xl-on-lg",
9324
- "marginInlineEnd4xlOnLg": "pf-m-margin-inline-end4xl-on-lg",
9325
9374
  "showOnLg": "pf-m-show-on-lg",
9326
9375
  "hideOnLg": "pf-m-hide-on-lg",
9327
9376
  "alignStartOnXl": "pf-m-align-start-on-xl",
@@ -9360,40 +9409,22 @@ var styles$4 = {
9360
9409
  "gap_4xlOnXl": "pf-m-gap-4xl-on-xl",
9361
9410
  "columnGapNoneOnXl": "pf-m-column-gap-none-on-xl",
9362
9411
  "rowGapNoneOnXl": "pf-m-row-gap-none-on-xl",
9363
- "marginInlineStartnoneOnXl": "pf-m-margin-inline-startnone-on-xl",
9364
- "marginInlineEndnoneOnXl": "pf-m-margin-inline-endnone-on-xl",
9365
9412
  "columnGapXsOnXl": "pf-m-column-gap-xs-on-xl",
9366
9413
  "rowGapXsOnXl": "pf-m-row-gap-xs-on-xl",
9367
- "marginInlineStartxsOnXl": "pf-m-margin-inline-startxs-on-xl",
9368
- "marginInlineEndxsOnXl": "pf-m-margin-inline-endxs-on-xl",
9369
9414
  "columnGapSmOnXl": "pf-m-column-gap-sm-on-xl",
9370
9415
  "rowGapSmOnXl": "pf-m-row-gap-sm-on-xl",
9371
- "marginInlineStartsmOnXl": "pf-m-margin-inline-startsm-on-xl",
9372
- "marginInlineEndsmOnXl": "pf-m-margin-inline-endsm-on-xl",
9373
9416
  "columnGapMdOnXl": "pf-m-column-gap-md-on-xl",
9374
9417
  "rowGapMdOnXl": "pf-m-row-gap-md-on-xl",
9375
- "marginInlineStartmdOnXl": "pf-m-margin-inline-startmd-on-xl",
9376
- "marginInlineEndmdOnXl": "pf-m-margin-inline-endmd-on-xl",
9377
9418
  "columnGapLgOnXl": "pf-m-column-gap-lg-on-xl",
9378
9419
  "rowGapLgOnXl": "pf-m-row-gap-lg-on-xl",
9379
- "marginInlineStartlgOnXl": "pf-m-margin-inline-startlg-on-xl",
9380
- "marginInlineEndlgOnXl": "pf-m-margin-inline-endlg-on-xl",
9381
9420
  "columnGapXlOnXl": "pf-m-column-gap-xl-on-xl",
9382
9421
  "rowGapXlOnXl": "pf-m-row-gap-xl-on-xl",
9383
- "marginInlineStartxlOnXl": "pf-m-margin-inline-startxl-on-xl",
9384
- "marginInlineEndxlOnXl": "pf-m-margin-inline-endxl-on-xl",
9385
9422
  "columnGap_2xlOnXl": "pf-m-column-gap-2xl-on-xl",
9386
9423
  "rowGap_2xlOnXl": "pf-m-row-gap-2xl-on-xl",
9387
- "marginInlineStart2xlOnXl": "pf-m-margin-inline-start2xl-on-xl",
9388
- "marginInlineEnd2xlOnXl": "pf-m-margin-inline-end2xl-on-xl",
9389
9424
  "columnGap_3xlOnXl": "pf-m-column-gap-3xl-on-xl",
9390
9425
  "rowGap_3xlOnXl": "pf-m-row-gap-3xl-on-xl",
9391
- "marginInlineStart3xlOnXl": "pf-m-margin-inline-start3xl-on-xl",
9392
- "marginInlineEnd3xlOnXl": "pf-m-margin-inline-end3xl-on-xl",
9393
9426
  "columnGap_4xlOnXl": "pf-m-column-gap-4xl-on-xl",
9394
9427
  "rowGap_4xlOnXl": "pf-m-row-gap-4xl-on-xl",
9395
- "marginInlineStart4xlOnXl": "pf-m-margin-inline-start4xl-on-xl",
9396
- "marginInlineEnd4xlOnXl": "pf-m-margin-inline-end4xl-on-xl",
9397
9428
  "showOnXl": "pf-m-show-on-xl",
9398
9429
  "hideOnXl": "pf-m-hide-on-xl",
9399
9430
  "alignStartOn_2xl": "pf-m-align-start-on-2xl",
@@ -9432,40 +9463,22 @@ var styles$4 = {
9432
9463
  "gap_4xlOn_2xl": "pf-m-gap-4xl-on-2xl",
9433
9464
  "columnGapNoneOn_2xl": "pf-m-column-gap-none-on-2xl",
9434
9465
  "rowGapNoneOn_2xl": "pf-m-row-gap-none-on-2xl",
9435
- "marginInlineStartnoneOn_2xl": "pf-m-margin-inline-startnone-on-2xl",
9436
- "marginInlineEndnoneOn_2xl": "pf-m-margin-inline-endnone-on-2xl",
9437
9466
  "columnGapXsOn_2xl": "pf-m-column-gap-xs-on-2xl",
9438
9467
  "rowGapXsOn_2xl": "pf-m-row-gap-xs-on-2xl",
9439
- "marginInlineStartxsOn_2xl": "pf-m-margin-inline-startxs-on-2xl",
9440
- "marginInlineEndxsOn_2xl": "pf-m-margin-inline-endxs-on-2xl",
9441
9468
  "columnGapSmOn_2xl": "pf-m-column-gap-sm-on-2xl",
9442
9469
  "rowGapSmOn_2xl": "pf-m-row-gap-sm-on-2xl",
9443
- "marginInlineStartsmOn_2xl": "pf-m-margin-inline-startsm-on-2xl",
9444
- "marginInlineEndsmOn_2xl": "pf-m-margin-inline-endsm-on-2xl",
9445
9470
  "columnGapMdOn_2xl": "pf-m-column-gap-md-on-2xl",
9446
9471
  "rowGapMdOn_2xl": "pf-m-row-gap-md-on-2xl",
9447
- "marginInlineStartmdOn_2xl": "pf-m-margin-inline-startmd-on-2xl",
9448
- "marginInlineEndmdOn_2xl": "pf-m-margin-inline-endmd-on-2xl",
9449
9472
  "columnGapLgOn_2xl": "pf-m-column-gap-lg-on-2xl",
9450
9473
  "rowGapLgOn_2xl": "pf-m-row-gap-lg-on-2xl",
9451
- "marginInlineStartlgOn_2xl": "pf-m-margin-inline-startlg-on-2xl",
9452
- "marginInlineEndlgOn_2xl": "pf-m-margin-inline-endlg-on-2xl",
9453
9474
  "columnGapXlOn_2xl": "pf-m-column-gap-xl-on-2xl",
9454
9475
  "rowGapXlOn_2xl": "pf-m-row-gap-xl-on-2xl",
9455
- "marginInlineStartxlOn_2xl": "pf-m-margin-inline-startxl-on-2xl",
9456
- "marginInlineEndxlOn_2xl": "pf-m-margin-inline-endxl-on-2xl",
9457
9476
  "columnGap_2xlOn_2xl": "pf-m-column-gap-2xl-on-2xl",
9458
9477
  "rowGap_2xlOn_2xl": "pf-m-row-gap-2xl-on-2xl",
9459
- "marginInlineStart2xlOn_2xl": "pf-m-margin-inline-start2xl-on-2xl",
9460
- "marginInlineEnd2xlOn_2xl": "pf-m-margin-inline-end2xl-on-2xl",
9461
9478
  "columnGap_3xlOn_2xl": "pf-m-column-gap-3xl-on-2xl",
9462
9479
  "rowGap_3xlOn_2xl": "pf-m-row-gap-3xl-on-2xl",
9463
- "marginInlineStart3xlOn_2xl": "pf-m-margin-inline-start3xl-on-2xl",
9464
- "marginInlineEnd3xlOn_2xl": "pf-m-margin-inline-end3xl-on-2xl",
9465
9480
  "columnGap_4xlOn_2xl": "pf-m-column-gap-4xl-on-2xl",
9466
9481
  "rowGap_4xlOn_2xl": "pf-m-row-gap-4xl-on-2xl",
9467
- "marginInlineStart4xlOn_2xl": "pf-m-margin-inline-start4xl-on-2xl",
9468
- "marginInlineEnd4xlOn_2xl": "pf-m-margin-inline-end4xl-on-2xl",
9469
9482
  "showOn_2xl": "pf-m-show-on-2xl",
9470
9483
  "hideOn_2xl": "pf-m-hide-on-2xl"
9471
9484
  },
@@ -9483,7 +9496,7 @@ var styles$4 = {
9483
9496
  const ToolbarContext = React.createContext({
9484
9497
  isExpanded: false,
9485
9498
  toggleIsExpanded: () => { },
9486
- chipGroupContentRef: null,
9499
+ labelGroupContentRef: null,
9487
9500
  updateNumberFilters: () => { },
9488
9501
  numberOfFilters: 0,
9489
9502
  clearAllFilters: () => { }
@@ -9491,14 +9504,14 @@ const ToolbarContext = React.createContext({
9491
9504
  const ToolbarContentContext = React.createContext({
9492
9505
  expandableContentRef: null,
9493
9506
  expandableContentId: '',
9494
- chipContainerRef: null,
9507
+ labelContainerRef: null,
9495
9508
  clearAllFilters: () => { }
9496
9509
  });
9497
9510
  const globalBreakpoints = {
9498
- md: parseInt(global_breakpoint_md.value),
9499
- lg: parseInt(global_breakpoint_lg.value),
9500
- xl: parseInt(global_breakpoint_xl.value),
9501
- '2xl': parseInt(global_breakpoint_2xl.value)
9511
+ md: parseInt(global_breakpoint_md.value) * 16,
9512
+ lg: parseInt(global_breakpoint_lg.value) * 16,
9513
+ xl: parseInt(global_breakpoint_xl.value) * 16,
9514
+ '2xl': parseInt(global_breakpoint_2xl.value) * 16
9502
9515
  };
9503
9516
 
9504
9517
  var ToolbarItemVariant;
@@ -9506,35 +9519,39 @@ var ToolbarItemVariant;
9506
9519
  ToolbarItemVariant["separator"] = "separator";
9507
9520
  ToolbarItemVariant["pagination"] = "pagination";
9508
9521
  ToolbarItemVariant["label"] = "label";
9509
- ToolbarItemVariant["chip-group"] = "chip-group";
9522
+ ToolbarItemVariant["label-group"] = "label-group";
9510
9523
  ToolbarItemVariant["expand-all"] = "expand-all";
9511
9524
  })(ToolbarItemVariant || (ToolbarItemVariant = {}));
9512
9525
  const ToolbarItem = (_a) => {
9513
9526
  var { className, variant, visibility, gap, columnGap, rowGap, align, alignSelf, alignItems, id, children, isAllExpanded, isOverflowContainer } = _a, props = __rest$1(_a, ["className", "variant", "visibility", "gap", "columnGap", "rowGap", "align", "alignSelf", "alignItems", "id", "children", "isAllExpanded", "isOverflowContainer"]);
9514
9527
  if (variant === ToolbarItemVariant.separator) {
9515
- return React.createElement(Divider, Object.assign({ className: css(className), orientation: { default: 'vertical' } }, props));
9528
+ return React.createElement(Divider, Object.assign({ className: css$1(className), orientation: { default: 'vertical' } }, props));
9516
9529
  }
9517
- return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css(styles$4.toolbarItem, variant && styles$4.modifiers[toCamel(variant)], variant === ToolbarItemVariant['chip-group'] && styles$4.modifiers.labelGroup, isAllExpanded && styles$4.modifiers.expanded, isOverflowContainer && styles$4.modifiers.overflowContainer, formatBreakpointMods(visibility, styles$4, '', getBreakpoint(width)), formatBreakpointMods(align, styles$4, '', getBreakpoint(width)), formatBreakpointMods(gap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(columnGap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(rowGap, styles$4, '', getBreakpoint(width)), alignItems === 'start' && styles$4.modifiers.alignItemsStart, alignItems === 'center' && styles$4.modifiers.alignItemsCenter, alignItems === 'baseline' && styles$4.modifiers.alignItemsBaseline, alignSelf === 'start' && styles$4.modifiers.alignSelfStart, alignSelf === 'center' && styles$4.modifiers.alignSelfCenter, alignSelf === 'baseline' && styles$4.modifiers.alignSelfBaseline, className) }, (variant === 'label' && { 'aria-hidden': true }), { id: id }, props), children))));
9530
+ return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css$1(styles$4.toolbarItem, variant && styles$4.modifiers[toCamel(variant)], variant === ToolbarItemVariant['label-group'] && styles$4.modifiers.labelGroup, isAllExpanded && styles$4.modifiers.expanded, isOverflowContainer && styles$4.modifiers.overflowContainer, formatBreakpointMods(visibility, styles$4, '', getBreakpoint(width)), formatBreakpointMods(align, styles$4, '', getBreakpoint(width)), formatBreakpointMods(gap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(columnGap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(rowGap, styles$4, '', getBreakpoint(width)), alignItems === 'start' && styles$4.modifiers.alignItemsStart, alignItems === 'center' && styles$4.modifiers.alignItemsCenter, alignItems === 'baseline' && styles$4.modifiers.alignItemsBaseline, alignSelf === 'start' && styles$4.modifiers.alignSelfStart, alignSelf === 'center' && styles$4.modifiers.alignSelfCenter, alignSelf === 'baseline' && styles$4.modifiers.alignSelfBaseline, className) }, (variant === 'label' && { 'aria-hidden': true }), { id: id }, props), children))));
9518
9531
  };
9519
9532
  ToolbarItem.displayName = 'ToolbarItem';
9520
9533
 
9521
9534
  var ToolbarGroupVariant;
9522
9535
  (function (ToolbarGroupVariant) {
9523
9536
  ToolbarGroupVariant["filter-group"] = "filter-group";
9524
- ToolbarGroupVariant["icon-button-group"] = "icon-button-group";
9537
+ ToolbarGroupVariant["action-group"] = "action-group";
9538
+ ToolbarGroupVariant["action-group-inline"] = "action-group-inline";
9539
+ ToolbarGroupVariant["action-group-plain"] = "action-group-plain";
9540
+ ToolbarGroupVariant["label-group"] = "label-group";
9525
9541
  })(ToolbarGroupVariant || (ToolbarGroupVariant = {}));
9526
9542
  class ToolbarGroupWithRef extends React.Component {
9527
9543
  render() {
9528
9544
  const _a = this.props, { visibility, align, alignItems, alignSelf, gap, columnGap, rowGap, className, variant, children, isOverflowContainer, innerRef } = _a, props = __rest$1(_a, ["visibility", "align", "alignItems", "alignSelf", "gap", "columnGap", "rowGap", "className", "variant", "children", "isOverflowContainer", "innerRef"]);
9529
- return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css(styles$4.toolbarGroup, variant && styles$4.modifiers[toCamel(variant)], formatBreakpointMods(visibility, styles$4, '', getBreakpoint(width)), formatBreakpointMods(align, styles$4, '', getBreakpoint(width)), formatBreakpointMods(gap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(columnGap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(rowGap, styles$4, '', getBreakpoint(width)), alignItems === 'start' && styles$4.modifiers.alignItemsStart, alignItems === 'center' && styles$4.modifiers.alignItemsCenter, alignItems === 'baseline' && styles$4.modifiers.alignItemsBaseline, alignSelf === 'start' && styles$4.modifiers.alignSelfStart, alignSelf === 'center' && styles$4.modifiers.alignSelfCenter, alignSelf === 'baseline' && styles$4.modifiers.alignSelfBaseline, isOverflowContainer && styles$4.modifiers.overflowContainer, className) }, props, { ref: innerRef }), children))));
9545
+ return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css$1(styles$4.toolbarGroup, variant &&
9546
+ styles$4.modifiers[toCamel(variant)], formatBreakpointMods(visibility, styles$4, '', getBreakpoint(width)), formatBreakpointMods(align, styles$4, '', getBreakpoint(width)), formatBreakpointMods(gap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(columnGap, styles$4, '', getBreakpoint(width)), formatBreakpointMods(rowGap, styles$4, '', getBreakpoint(width)), alignItems === 'start' && styles$4.modifiers.alignItemsStart, alignItems === 'center' && styles$4.modifiers.alignItemsCenter, alignItems === 'baseline' && styles$4.modifiers.alignItemsBaseline, alignSelf === 'start' && styles$4.modifiers.alignSelfStart, alignSelf === 'center' && styles$4.modifiers.alignSelfCenter, alignSelf === 'baseline' && styles$4.modifiers.alignSelfBaseline, isOverflowContainer && styles$4.modifiers.overflowContainer, className) }, props, { ref: innerRef }), children))));
9530
9547
  }
9531
9548
  }
9532
9549
  const ToolbarGroup = React.forwardRef((props, ref) => (React.createElement(ToolbarGroupWithRef, Object.assign({}, props, { innerRef: ref }))));
9533
9550
 
9534
- class ToolbarChipGroupContent extends React.Component {
9551
+ class ToolbarLabelGroupContent extends React.Component {
9535
9552
  render() {
9536
- const _a = this.props, { className, isExpanded, chipGroupContentRef, clearAllFilters, showClearFiltersButton, clearFiltersButtonText, collapseListedFiltersBreakpoint, numberOfFilters, numberOfFiltersText, customChipGroupContent } = _a, props = __rest$1(_a, ["className", "isExpanded", "chipGroupContentRef", "clearAllFilters", "showClearFiltersButton", "clearFiltersButtonText", "collapseListedFiltersBreakpoint", "numberOfFilters", "numberOfFiltersText", "customChipGroupContent"]);
9537
- const clearChipGroups = () => {
9553
+ const _a = this.props, { className, isExpanded, labelGroupContentRef, clearAllFilters, showClearFiltersButton, clearFiltersButtonText, collapseListedFiltersBreakpoint, numberOfFilters, numberOfFiltersText, customLabelGroupContent } = _a, props = __rest$1(_a, ["className", "isExpanded", "labelGroupContentRef", "clearAllFilters", "showClearFiltersButton", "clearFiltersButtonText", "collapseListedFiltersBreakpoint", "numberOfFilters", "numberOfFiltersText", "customLabelGroupContent"]);
9554
+ const clearLabelGroups = () => {
9538
9555
  clearAllFilters();
9539
9556
  };
9540
9557
  let collapseListedFilters = false;
@@ -9546,17 +9563,19 @@ class ToolbarChipGroupContent extends React.Component {
9546
9563
  (canUseDOM ? window.innerWidth : 1200) < globalBreakpoints[collapseListedFiltersBreakpoint];
9547
9564
  }
9548
9565
  const isHidden = numberOfFilters === 0 || isExpanded;
9549
- return (React.createElement("div", Object.assign({ className: css(styles$4.toolbarContent, isHidden && styles$4.modifiers.hidden, className) }, ((numberOfFilters === 0 || isExpanded) && { hidden: true }), { ref: chipGroupContentRef }, props),
9550
- React.createElement(ToolbarGroup, Object.assign({ className: css(collapseListedFilters && styles$4.modifiers.hidden) }, (collapseListedFilters && { hidden: true }), (collapseListedFilters && { 'aria-hidden': true }))),
9551
- collapseListedFilters && numberOfFilters > 0 && !isExpanded && (React.createElement(ToolbarGroup, null,
9552
- React.createElement(ToolbarItem, null, numberOfFiltersText(numberOfFilters)))),
9553
- showClearFiltersButton && !isExpanded && !customChipGroupContent && (React.createElement(ToolbarItem, null,
9554
- React.createElement(Button, { variant: "link", onClick: clearChipGroups, isInline: true }, clearFiltersButtonText))),
9555
- customChipGroupContent && customChipGroupContent));
9556
- }
9557
- }
9558
- ToolbarChipGroupContent.displayName = 'ToolbarChipGroupContent';
9559
- ToolbarChipGroupContent.defaultProps = {
9566
+ const showNumberOfFilters = collapseListedFilters && numberOfFilters > 0 && !isExpanded;
9567
+ const showDefaultClearFilter = showClearFiltersButton && !isExpanded && !customLabelGroupContent;
9568
+ return (React.createElement("div", Object.assign({ className: css$1(styles$4.toolbarContent, isHidden && styles$4.modifiers.hidden, className) }, ((numberOfFilters === 0 || isExpanded) && { hidden: true }), { ref: labelGroupContentRef }, props),
9569
+ React.createElement(ToolbarGroup, Object.assign({ className: css$1(collapseListedFilters && styles$4.modifiers.hidden) }, (collapseListedFilters && { hidden: true }), (collapseListedFilters && { 'aria-hidden': true }))),
9570
+ (showNumberOfFilters || showDefaultClearFilter || customLabelGroupContent) && (React.createElement(ToolbarGroup, { variant: "action-group-inline" },
9571
+ showNumberOfFilters && React.createElement(ToolbarItem, null, numberOfFiltersText(numberOfFilters)),
9572
+ showDefaultClearFilter && (React.createElement(ToolbarItem, null,
9573
+ React.createElement(Button, { variant: "link", onClick: clearLabelGroups, isInline: true }, clearFiltersButtonText))),
9574
+ customLabelGroupContent && customLabelGroupContent))));
9575
+ }
9576
+ }
9577
+ ToolbarLabelGroupContent.displayName = 'ToolbarLabelGroupContent';
9578
+ ToolbarLabelGroupContent.defaultProps = {
9560
9579
  clearFiltersButtonText: 'Clear all filters',
9561
9580
  collapseListedFiltersBreakpoint: 'lg',
9562
9581
  numberOfFiltersText: (numberOfFilters) => `${numberOfFilters} filters applied`
@@ -9572,7 +9591,7 @@ var ToolbarColorVariant;
9572
9591
  class Toolbar extends React.Component {
9573
9592
  constructor() {
9574
9593
  super(...arguments);
9575
- this.chipGroupContentRef = React.createRef();
9594
+ this.labelGroupContentRef = React.createRef();
9576
9595
  this.staticFilterInfo = {};
9577
9596
  this.state = {
9578
9597
  isManagedToggleExpanded: false,
@@ -9604,27 +9623,27 @@ class Toolbar extends React.Component {
9604
9623
  };
9605
9624
  this.getNumberOfFilters = () => Object.values(this.state.filterInfo).reduce((acc, cur) => acc + cur, 0);
9606
9625
  this.renderToolbar = (randomId) => {
9607
- const _a = this.props, { clearAllFilters, clearFiltersButtonText, collapseListedFiltersBreakpoint, isExpanded: isExpandedProp, toggleIsExpanded, className, children, isFullHeight, isStatic, inset, usePageInsets, isSticky, ouiaId, numberOfFiltersText, customChipGroupContent, colorVariant = ToolbarColorVariant.default } = _a, props = __rest$1(_a, ["clearAllFilters", "clearFiltersButtonText", "collapseListedFiltersBreakpoint", "isExpanded", "toggleIsExpanded", "className", "children", "isFullHeight", "isStatic", "inset", "usePageInsets", "isSticky", "ouiaId", "numberOfFiltersText", "customChipGroupContent", "colorVariant"]);
9626
+ const _a = this.props, { clearAllFilters, clearFiltersButtonText, collapseListedFiltersBreakpoint, isExpanded: isExpandedProp, toggleIsExpanded, className, children, isFullHeight, isStatic, inset, isSticky, ouiaId, numberOfFiltersText, customLabelGroupContent, colorVariant = ToolbarColorVariant.default } = _a, props = __rest$1(_a, ["clearAllFilters", "clearFiltersButtonText", "collapseListedFiltersBreakpoint", "isExpanded", "toggleIsExpanded", "className", "children", "isFullHeight", "isStatic", "inset", "isSticky", "ouiaId", "numberOfFiltersText", "customLabelGroupContent", "colorVariant"]);
9608
9627
  const { isManagedToggleExpanded } = this.state;
9609
9628
  const isToggleManaged = this.isToggleManaged();
9610
9629
  const isExpanded = isToggleManaged ? isManagedToggleExpanded : isExpandedProp;
9611
9630
  const numberOfFilters = this.getNumberOfFilters();
9612
9631
  const showClearFiltersButton = numberOfFilters > 0;
9613
- return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css(styles$4.toolbar, isFullHeight && styles$4.modifiers.fullHeight, isStatic && styles$4.modifiers.static, usePageInsets && styles$4.modifiers.pageInsets, isSticky && styles$4.modifiers.sticky, formatBreakpointMods(inset, styles$4, '', getBreakpoint(width)), colorVariant === 'primary' && styles$4.modifiers.primary, colorVariant === 'secondary' && styles$4.modifiers.secondary, colorVariant === 'no-background' && styles$4.modifiers.noBackground, className), id: randomId }, getOUIAProps(Toolbar.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId), props),
9632
+ return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css$1(styles$4.toolbar, isFullHeight && styles$4.modifiers.fullHeight, isStatic && styles$4.modifiers.static, isSticky && styles$4.modifiers.sticky, formatBreakpointMods(inset, styles$4, '', getBreakpoint(width)), colorVariant === 'primary' && styles$4.modifiers.primary, colorVariant === 'secondary' && styles$4.modifiers.secondary, colorVariant === 'no-background' && styles$4.modifiers.noBackground, className), id: randomId }, getOUIAProps(Toolbar.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId), props),
9614
9633
  React.createElement(ToolbarContext.Provider, { value: {
9615
9634
  isExpanded,
9616
9635
  toggleIsExpanded: isToggleManaged ? this.toggleIsExpanded : toggleIsExpanded,
9617
- chipGroupContentRef: this.chipGroupContentRef,
9636
+ labelGroupContentRef: this.labelGroupContentRef,
9618
9637
  updateNumberFilters: this.updateNumberFilters,
9619
9638
  numberOfFilters,
9620
9639
  clearAllFilters,
9621
9640
  clearFiltersButtonText,
9622
9641
  showClearFiltersButton,
9623
9642
  toolbarId: randomId,
9624
- customChipGroupContent
9643
+ customLabelGroupContent
9625
9644
  } },
9626
9645
  children,
9627
- React.createElement(ToolbarChipGroupContent, { isExpanded: isExpanded, chipGroupContentRef: this.chipGroupContentRef, clearAllFilters: clearAllFilters, showClearFiltersButton: showClearFiltersButton, clearFiltersButtonText: clearFiltersButtonText, numberOfFilters: numberOfFilters, numberOfFiltersText: numberOfFiltersText, collapseListedFiltersBreakpoint: collapseListedFiltersBreakpoint, customChipGroupContent: customChipGroupContent }))))));
9646
+ React.createElement(ToolbarLabelGroupContent, { isExpanded: isExpanded, labelGroupContentRef: this.labelGroupContentRef, clearAllFilters: clearAllFilters, showClearFiltersButton: showClearFiltersButton, clearFiltersButtonText: clearFiltersButtonText, numberOfFilters: numberOfFilters, numberOfFiltersText: numberOfFiltersText, collapseListedFiltersBreakpoint: collapseListedFiltersBreakpoint, customLabelGroupContent: customLabelGroupContent }))))));
9628
9647
  };
9629
9648
  }
9630
9649
  componentDidMount() {
@@ -9647,23 +9666,23 @@ class ToolbarContent extends React.Component {
9647
9666
  constructor() {
9648
9667
  super(...arguments);
9649
9668
  this.expandableContentRef = React.createRef();
9650
- this.chipContainerRef = React.createRef();
9669
+ this.labelContainerRef = React.createRef();
9651
9670
  }
9652
9671
  render() {
9653
- const _a = this.props, { className, children, isExpanded, toolbarId, visibility, alignItems, clearAllFilters, showClearFiltersButton, clearFiltersButtonText, alignSelf } = _a, props = __rest$1(_a, ["className", "children", "isExpanded", "toolbarId", "visibility", "alignItems", "clearAllFilters", "showClearFiltersButton", "clearFiltersButtonText", "alignSelf"]);
9654
- return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css(styles$4.toolbarContent, formatBreakpointMods(visibility, styles$4, '', getBreakpoint(width)), className), ref: this.expandableContentRef }, props),
9672
+ const _a = this.props, { className, children, isExpanded, toolbarId, visibility, alignItems, clearAllFilters, showClearFiltersButton, clearFiltersButtonText } = _a, props = __rest$1(_a, ["className", "children", "isExpanded", "toolbarId", "visibility", "alignItems", "clearAllFilters", "showClearFiltersButton", "clearFiltersButtonText"]);
9673
+ return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css$1(styles$4.toolbarContent, formatBreakpointMods(visibility, styles$4, '', getBreakpoint(width)), className), ref: this.expandableContentRef }, props),
9655
9674
  React.createElement(ToolbarContext.Consumer, null, ({ clearAllFilters: clearAllFiltersContext, clearFiltersButtonText: clearFiltersButtonContext, showClearFiltersButton: showClearFiltersButtonContext, isExpanded: isExpandedContext, toolbarId: toolbarIdContext }) => {
9656
9675
  const expandableContentId = `${toolbarId || toolbarIdContext}-expandable-content-${ToolbarContent.currentId++}`;
9657
9676
  return (React.createElement(ToolbarContentContext.Provider, { value: {
9658
9677
  expandableContentRef: this.expandableContentRef,
9659
9678
  expandableContentId,
9660
- chipContainerRef: this.chipContainerRef,
9679
+ labelContainerRef: this.labelContainerRef,
9661
9680
  isExpanded: isExpanded || isExpandedContext,
9662
9681
  clearAllFilters: clearAllFilters || clearAllFiltersContext,
9663
9682
  clearFiltersButtonText: clearFiltersButtonText || clearFiltersButtonContext,
9664
9683
  showClearFiltersButton: showClearFiltersButton || showClearFiltersButtonContext
9665
9684
  } },
9666
- React.createElement("div", { className: css(styles$4.toolbarContentSection, alignItems === 'center' && styles$4.modifiers.alignItemsCenter, alignItems === 'start' && styles$4.modifiers.alignItemsStart, alignItems === 'baseline' && styles$4.modifiers.alignItemsBaseline, alignSelf === 'center' && styles$4.modifiers.alignSelfCenter, alignSelf === 'start' && styles$4.modifiers.alignSelfStart, alignSelf === 'baseline' && styles$4.modifiers.alignSelfBaseline) }, children)));
9685
+ React.createElement("div", { className: css$1(styles$4.toolbarContentSection, alignItems === 'center' && styles$4.modifiers.alignItemsCenter, alignItems === 'start' && styles$4.modifiers.alignItemsStart, alignItems === 'baseline' && styles$4.modifiers.alignItemsBaseline) }, children)));
9667
9686
  })))));
9668
9687
  }
9669
9688
  }
@@ -9682,6 +9701,7 @@ var styles$3 = {
9682
9701
  "finished": "pf-m-finished",
9683
9702
  "expanded": "pf-m-expanded",
9684
9703
  "danger": "pf-m-danger",
9704
+ "success": "pf-m-success",
9685
9705
  "current": "pf-m-current",
9686
9706
  "expandable": "pf-m-expandable",
9687
9707
  "disabled": "pf-m-disabled",
@@ -9720,6 +9740,7 @@ var WizardNavItemStatus;
9720
9740
  (function (WizardNavItemStatus) {
9721
9741
  WizardNavItemStatus["Default"] = "default";
9722
9742
  WizardNavItemStatus["Error"] = "error";
9743
+ WizardNavItemStatus["Success"] = "success";
9723
9744
  })(WizardNavItemStatus || (WizardNavItemStatus = {}));
9724
9745
  var WizardStepChangeScope;
9725
9746
  (function (WizardStepChangeScope) {
@@ -9728,9 +9749,10 @@ var WizardStepChangeScope;
9728
9749
  WizardStepChangeScope["Nav"] = "nav";
9729
9750
  })(WizardStepChangeScope || (WizardStepChangeScope = {}));
9730
9751
 
9731
- const WizardNavItem = ({ children = null, content = '', isCurrent = false, isDisabled = false,
9732
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
9733
- isVisited = false, stepIndex, onClick, component: NavItemComponent = 'button', href, isExpandable = false, id, status = 'default', target, ouiaId, ouiaSafe = true }) => {
9752
+ const WizardNavItem = (_a) => {
9753
+ var { children = null, content = '', isCurrent = false, isDisabled = false,
9754
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
9755
+ isVisited = false, stepIndex, onClick, component: NavItemComponent = 'button', href, isExpandable = false, id, status = 'default', target, ouiaId, ouiaSafe = true, className } = _a, props = __rest$1(_a, ["children", "content", "isCurrent", "isDisabled", "isVisited", "stepIndex", "onClick", "component", "href", "isExpandable", "id", "status", "target", "ouiaId", "ouiaSafe", "className"]);
9734
9756
  const [isExpanded, setIsExpanded] = React.useState(false);
9735
9757
  const ouiaProps = useOUIAProps(WizardNavItem.displayName, ouiaId, ouiaSafe);
9736
9758
  React.useEffect(() => {
@@ -9740,23 +9762,24 @@ isVisited = false, stepIndex, onClick, component: NavItemComponent = 'button', h
9740
9762
  // eslint-disable-next-line no-console
9741
9763
  console.error('WizardNavItem: When using an anchor, please provide an href');
9742
9764
  }
9743
- return (React.createElement("li", { className: css(styles$3.wizardNavItem, isExpandable && styles$3.modifiers.expandable, isExpandable && isExpanded && styles$3.modifiers.expanded) },
9765
+ return (React.createElement("li", Object.assign({ className: css$1(styles$3.wizardNavItem, isExpandable && styles$3.modifiers.expandable, isExpandable && isExpanded && styles$3.modifiers.expanded, className) }, props),
9744
9766
  React.createElement(NavItemComponent, Object.assign({}, (NavItemComponent === 'a'
9745
9767
  ? { tabIndex: isDisabled ? -1 : undefined, href, target }
9746
9768
  : { disabled: isDisabled }), (id && { id: id.toString() }), { onClick: (e) => {
9747
9769
  e.stopPropagation();
9748
9770
  isExpandable ? setIsExpanded(!isExpanded || isCurrent) : onClick === null || onClick === void 0 ? void 0 : onClick(e, stepIndex);
9749
- }, className: css(styles$3.wizardNavLink, isCurrent && styles$3.modifiers.current, isDisabled && styles$3.modifiers.disabled, status === WizardNavItemStatus.Error && styles$3.modifiers.danger), "aria-disabled": isDisabled ? true : null, "aria-current": isCurrent && !children ? 'step' : false }, (isExpandable && { 'aria-expanded': isExpanded }), ouiaProps),
9750
- status === WizardNavItemStatus.Error && (React.createElement(React.Fragment, null,
9751
- React.createElement("span", { className: "pf-v5-screen-reader" },
9771
+ }, className: css$1(styles$3.wizardNavLink, isCurrent && styles$3.modifiers.current, isDisabled && styles$3.modifiers.disabled, status === WizardNavItemStatus.Error && styles$3.modifiers.danger, status === WizardNavItemStatus.Success && styles$3.modifiers.success), "aria-disabled": isDisabled ? true : null, "aria-current": isCurrent && !children ? 'step' : false }, (isExpandable && { 'aria-expanded': isExpanded }), ouiaProps),
9772
+ status !== WizardNavItemStatus.Default && (React.createElement(React.Fragment, null,
9773
+ React.createElement("span", { className: "pf-v6-screen-reader" },
9752
9774
  ", ",
9753
9775
  status),
9754
- React.createElement("span", { className: css(styles$3.wizardNavLinkStatusIcon) },
9755
- React.createElement(ExclamationCircleIcon, null)))),
9756
- React.createElement("span", { className: css(styles$3.wizardNavLinkMain) }, isExpandable ? (React.createElement(React.Fragment, null,
9757
- React.createElement("span", { className: css(styles$3.wizardNavLinkText) }, content),
9758
- React.createElement("span", { className: css(styles$3.wizardNavLinkToggle) },
9759
- React.createElement("span", { className: css(styles$3.wizardNavLinkToggleIcon) },
9776
+ React.createElement("span", { className: css$1(styles$3.wizardNavLinkStatusIcon) },
9777
+ status === WizardNavItemStatus.Error && React.createElement(ExclamationCircleIcon, null),
9778
+ status === WizardNavItemStatus.Success && React.createElement(CheckCircleIcon$1, null)))),
9779
+ React.createElement("span", { className: css$1(styles$3.wizardNavLinkMain) }, isExpandable ? (React.createElement(React.Fragment, null,
9780
+ React.createElement("span", { className: css$1(styles$3.wizardNavLinkText) }, content),
9781
+ React.createElement("span", { className: css$1(styles$3.wizardNavLinkToggle) },
9782
+ React.createElement("span", { className: css$1(styles$3.wizardNavLinkToggleIcon) },
9760
9783
  React.createElement(AngleRightIcon, { "aria-label": `${isCurrent ? 'Collapse' : 'Expand'} step icon` }))))) : (React.createElement(React.Fragment, null, content)))),
9761
9784
  children));
9762
9785
  };
@@ -10317,14 +10340,14 @@ const l_flex_item_Order = {
10317
10340
  const Flex = (_a) => {
10318
10341
  var { children = null, className = '', component = 'div', spacer, spaceItems, gap, rowGap, columnGap, grow, shrink, flex, direction, alignItems, alignContent, alignSelf, align, justifyContent, display, fullWidth, flexWrap, order, style } = _a, props = __rest$1(_a, ["children", "className", "component", "spacer", "spaceItems", "gap", "rowGap", "columnGap", "grow", "shrink", "flex", "direction", "alignItems", "alignContent", "alignSelf", "align", "justifyContent", "display", "fullWidth", "flexWrap", "order", "style"]);
10319
10342
  const Component = component;
10320
- return (React.createElement(Component, Object.assign({ className: css(styles$2.flex, formatBreakpointMods(spacer, styles$2), formatBreakpointMods(spaceItems, styles$2), formatBreakpointMods(grow, styles$2), formatBreakpointMods(shrink, styles$2), formatBreakpointMods(flex, styles$2), formatBreakpointMods(direction, styles$2), formatBreakpointMods(alignItems, styles$2), formatBreakpointMods(alignContent, styles$2), formatBreakpointMods(alignSelf, styles$2), formatBreakpointMods(align, styles$2), formatBreakpointMods(justifyContent, styles$2), formatBreakpointMods(display, styles$2), formatBreakpointMods(fullWidth, styles$2), formatBreakpointMods(flexWrap, styles$2), formatBreakpointMods(gap, styles$2), formatBreakpointMods(rowGap, styles$2), formatBreakpointMods(columnGap, styles$2), className), style: style || order ? Object.assign(Object.assign({}, style), setBreakpointCssVars(order, l_flex_item_Order.name)) : undefined }, props), children));
10343
+ return (React.createElement(Component, Object.assign({ className: css$1(styles$2.flex, formatBreakpointMods(spacer, styles$2), formatBreakpointMods(spaceItems, styles$2), formatBreakpointMods(grow, styles$2), formatBreakpointMods(shrink, styles$2), formatBreakpointMods(flex, styles$2), formatBreakpointMods(direction, styles$2), formatBreakpointMods(alignItems, styles$2), formatBreakpointMods(alignContent, styles$2), formatBreakpointMods(alignSelf, styles$2), formatBreakpointMods(align, styles$2), formatBreakpointMods(justifyContent, styles$2), formatBreakpointMods(display, styles$2), formatBreakpointMods(fullWidth, styles$2), formatBreakpointMods(flexWrap, styles$2), formatBreakpointMods(gap, styles$2), formatBreakpointMods(rowGap, styles$2), formatBreakpointMods(columnGap, styles$2), className), style: style || order ? Object.assign(Object.assign({}, style), setBreakpointCssVars(order, l_flex_item_Order.name)) : undefined }, props), children));
10321
10344
  };
10322
10345
  Flex.displayName = 'Flex';
10323
10346
 
10324
10347
  const FlexItem = (_a) => {
10325
10348
  var { children = null, className = '', component = 'div', spacer, grow, shrink, flex, alignSelf, align, fullWidth, order, style } = _a, props = __rest$1(_a, ["children", "className", "component", "spacer", "grow", "shrink", "flex", "alignSelf", "align", "fullWidth", "order", "style"]);
10326
10349
  const Component = component;
10327
- return (React.createElement(Component, Object.assign({}, props, { className: css(formatBreakpointMods(spacer, styles$2), formatBreakpointMods(grow, styles$2), formatBreakpointMods(shrink, styles$2), formatBreakpointMods(flex, styles$2), formatBreakpointMods(alignSelf, styles$2), formatBreakpointMods(align, styles$2), formatBreakpointMods(fullWidth, styles$2), className), style: style || order ? Object.assign(Object.assign({}, style), setBreakpointCssVars(order, l_flex_item_Order.name)) : undefined }), children));
10350
+ return (React.createElement(Component, Object.assign({}, props, { className: css$1(formatBreakpointMods(spacer, styles$2), formatBreakpointMods(grow, styles$2), formatBreakpointMods(shrink, styles$2), formatBreakpointMods(flex, styles$2), formatBreakpointMods(alignSelf, styles$2), formatBreakpointMods(align, styles$2), formatBreakpointMods(fullWidth, styles$2), className), style: style || order ? Object.assign(Object.assign({}, style), setBreakpointCssVars(order, l_flex_item_Order.name)) : undefined }), children));
10328
10351
  };
10329
10352
  FlexItem.displayName = 'FlexItem';
10330
10353
 
@@ -10361,17 +10384,10 @@ const Gallery = (_a) => {
10361
10384
  value));
10362
10385
  }
10363
10386
  const widthStyles = Object.assign(Object.assign({}, minWidthStyles), maxWidthStyles);
10364
- return (React.createElement(Component, Object.assign({ className: css(styles$1.gallery, hasGutter && styles$1.modifiers.gutter, className) }, props, ((minWidths || maxWidths) && { style: Object.assign(Object.assign({}, widthStyles), props.style) })), children));
10387
+ return (React.createElement(Component, Object.assign({ className: css$1(styles$1.gallery, hasGutter && styles$1.modifiers.gutter, className) }, props, ((minWidths || maxWidths) && { style: Object.assign(Object.assign({}, widthStyles), props.style) })), children));
10365
10388
  };
10366
10389
  Gallery.displayName = 'Gallery';
10367
10390
 
10368
- const GalleryItem = (_a) => {
10369
- var { children = null, component = 'div' } = _a, props = __rest$1(_a, ["children", "component"]);
10370
- const Component = component;
10371
- return React.createElement(Component, Object.assign({}, props), children);
10372
- };
10373
- GalleryItem.displayName = 'GalleryItem';
10374
-
10375
10391
  var styles = {
10376
10392
  "modifiers": {
10377
10393
  "fill": "pf-m-fill",
@@ -10384,13 +10400,13 @@ var styles = {
10384
10400
  const Stack = (_a) => {
10385
10401
  var { hasGutter = false, className = '', children = null, component = 'div' } = _a, props = __rest$1(_a, ["hasGutter", "className", "children", "component"]);
10386
10402
  const Component = component;
10387
- return (React.createElement(Component, Object.assign({}, props, { className: css(styles.stack, hasGutter && styles.modifiers.gutter, className) }), children));
10403
+ return (React.createElement(Component, Object.assign({}, props, { className: css$1(styles.stack, hasGutter && styles.modifiers.gutter, className) }), children));
10388
10404
  };
10389
10405
  Stack.displayName = 'Stack';
10390
10406
 
10391
10407
  const StackItem = (_a) => {
10392
10408
  var { isFilled = false, className = '', children = null } = _a, props = __rest$1(_a, ["isFilled", "className", "children"]);
10393
- return (React.createElement("div", Object.assign({}, props, { className: css(styles.stackItem, isFilled && styles.modifiers.fill, className) }), children));
10409
+ return (React.createElement("div", Object.assign({}, props, { className: css$1(styles.stackItem, isFilled && styles.modifiers.fill, className) }), children));
10394
10410
  };
10395
10411
  StackItem.displayName = 'StackItem';
10396
10412
 
@@ -10445,6 +10461,36 @@ exports["default"] = exports.SearchIcon;
10445
10461
 
10446
10462
  var SearchIcon = /*@__PURE__*/getDefaultExportFromCjs(searchIcon);
10447
10463
 
10464
+ /** Joins args into a className string
10465
+ *
10466
+ * @param {any} args list of objects, string, or arrays to reduce
10467
+ */
10468
+ function css(...args) {
10469
+ // Adapted from https://github.com/JedWatson/classnames/blob/master/index.js
10470
+ const classes = [];
10471
+ const hasOwn = {}.hasOwnProperty;
10472
+ args.filter(Boolean).forEach((arg) => {
10473
+ const argType = typeof arg;
10474
+ if (argType === 'string' || argType === 'number') {
10475
+ classes.push(arg);
10476
+ }
10477
+ else if (Array.isArray(arg) && arg.length) {
10478
+ const inner = css(...arg);
10479
+ if (inner) {
10480
+ classes.push(inner);
10481
+ }
10482
+ }
10483
+ else if (argType === 'object') {
10484
+ for (const key in arg) {
10485
+ if (hasOwn.call(arg, key) && arg[key]) {
10486
+ classes.push(key);
10487
+ }
10488
+ }
10489
+ }
10490
+ });
10491
+ return classes.join(' ');
10492
+ }
10493
+
10448
10494
  function _extends() {
10449
10495
  _extends = Object.assign ? Object.assign.bind() : function (target) {
10450
10496
  for (var i = 1; i < arguments.length; i++) {
@@ -11177,9 +11223,7 @@ const useValuesForQuickStartContext = (value = {}) => {
11177
11223
  setAllQuickStartStates((qs) => (Object.assign(Object.assign({}, qs), { [activeQuickStartID]: updatedQuickStart })));
11178
11224
  }, [allQuickStartStates, activeQuickStartID, setAllQuickStartStates]);
11179
11225
  const activeQuickStartState = (_b = allQuickStartStates === null || allQuickStartStates === void 0 ? void 0 : allQuickStartStates[activeQuickStartID]) !== null && _b !== void 0 ? _b : {};
11180
- const getQuickStartForId = useCallback((id) => allQuickStartStates[id], [
11181
- allQuickStartStates,
11182
- ]);
11226
+ const getQuickStartForId = useCallback((id) => allQuickStartStates[id], [allQuickStartStates]);
11183
11227
  return {
11184
11228
  allQuickStarts: quickStarts,
11185
11229
  setAllQuickStarts: updateAllQuickStarts,
@@ -11258,66 +11302,6 @@ const CamelCaseWrap = ({ value, dataTest }) => {
11258
11302
  return rendered;
11259
11303
  };
11260
11304
 
11261
- class CatalogTile extends React.Component {
11262
- constructor(props) {
11263
- super(props);
11264
- this.handleClick = (e) => {
11265
- const { onClick, href } = this.props;
11266
- if (!href) {
11267
- e.preventDefault();
11268
- }
11269
- if (onClick) {
11270
- onClick(e);
11271
- }
11272
- };
11273
- this.renderBadges = (badges) => {
11274
- if (!badges || !badges.length) {
11275
- return null;
11276
- }
11277
- return (React.createElement("div", { className: "catalog-tile-pf-badge-container" }, badges.map((badge, index) => (React.createElement("span", { key: `badge-${index}` }, badge)))));
11278
- };
11279
- this.generatedId = getUniqueId('pf-catalog-tile');
11280
- }
11281
- render() {
11282
- const _a = this.props, { id, className, featured, onClick, href, icon, iconImg, iconAlt, iconClass, badges, title, vendor, description, footer,
11283
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
11284
- ref, children } = _a, props = __rest(_a, ["id", "className", "featured", "onClick", "href", "icon", "iconImg", "iconAlt", "iconClass", "badges", "title", "vendor", "description", "footer", "ref", "children"]);
11285
- return (React.createElement(Card, Object.assign({ component: href ? 'a' : 'div', id: id || this.generatedId, href: href || '#', className: css('catalog-tile-pf', { featured }, className), variant: featured ? 'secondary' : 'default', isClickable: !!onClick }, props),
11286
- (badges.length > 0 || iconImg || iconClass || icon || onClick) && (React.createElement(CardHeader, { actions: { actions: badges.length > 0 && this.renderBadges(badges), hasNoOffset: true }, selectableActions: onClick && {
11287
- selectableActionId: id + '-input',
11288
- onClickAction: (e) => this.handleClick(e),
11289
- selectableActionAriaLabelledby: id
11290
- } },
11291
- iconImg && React.createElement("img", { className: "catalog-tile-pf-icon", src: iconImg, alt: iconAlt }),
11292
- !iconImg && (iconClass || icon) && React.createElement("span", { className: `catalog-tile-pf-icon ${iconClass}` }, icon))),
11293
- React.createElement(CardTitle, { className: "catalog-tile-pf-header" },
11294
- React.createElement("div", { className: "catalog-tile-pf-title" }, title),
11295
- vendor && React.createElement("div", { className: "catalog-tile-pf-subtitle" }, vendor)),
11296
- (description || children) && (React.createElement(CardBody, { className: "catalog-tile-pf-body" },
11297
- description && (React.createElement("div", { className: "catalog-tile-pf-description" },
11298
- React.createElement("span", { className: css({ 'has-footer': footer }) }, description))),
11299
- children)),
11300
- footer && React.createElement(CardFooter, { className: "catalog-tile-pf-footer" }, footer)));
11301
- }
11302
- }
11303
- CatalogTile.displayName = 'CatalogTile';
11304
- CatalogTile.defaultProps = {
11305
- id: null,
11306
- className: '',
11307
- featured: false,
11308
- onClick: null,
11309
- href: null,
11310
- iconImg: null,
11311
- iconAlt: '',
11312
- iconClass: '',
11313
- icon: null,
11314
- badges: [],
11315
- vendor: null,
11316
- description: null,
11317
- footer: null,
11318
- children: null
11319
- };
11320
-
11321
11305
  var rocketIcon = createCommonjsModule(function (module, exports) {
11322
11306
  exports.__esModule = true;
11323
11307
  exports.RocketIconConfig = {
@@ -11467,44 +11451,6 @@ var Shadows;
11467
11451
  Shadows["top"] = "top";
11468
11452
  Shadows["bottom"] = "bottom";
11469
11453
  })(Shadows || (Shadows = {}));
11470
- const useScrollShadows = (node) => {
11471
- const [shadows, setShadows] = React.useState(Shadows.none);
11472
- const computeShadows = React.useCallback(() => {
11473
- if (node) {
11474
- const { scrollTop, clientHeight, scrollHeight } = node;
11475
- const top = scrollTop !== 0;
11476
- const bottom = scrollTop + clientHeight < scrollHeight;
11477
- if (top && bottom) {
11478
- setShadows(Shadows.both);
11479
- }
11480
- else if (top) {
11481
- setShadows(Shadows.top);
11482
- }
11483
- else if (bottom) {
11484
- setShadows(Shadows.bottom);
11485
- }
11486
- else {
11487
- setShadows(Shadows.none);
11488
- }
11489
- }
11490
- }, [node]);
11491
- // recompute when the scroll container changes in size
11492
- useResizeObserver(computeShadows, node);
11493
- React.useEffect(() => {
11494
- if (node) {
11495
- // compute initial shadows
11496
- computeShadows();
11497
- // listen for scroll events
11498
- node.addEventListener('scroll', computeShadows);
11499
- }
11500
- return () => {
11501
- if (node) {
11502
- node.removeEventListener('scroll', computeShadows);
11503
- }
11504
- };
11505
- }, [node, computeShadows]);
11506
- return shadows;
11507
- };
11508
11454
 
11509
11455
  const useBoundingClientRect = (targetElement) => {
11510
11456
  const [clientRect, setClientRect] = React.useState(() => targetElement ? targetElement.getBoundingClientRect() : null);
@@ -26066,6 +26012,7 @@ const useInlineCopyClipboardShowdownExtension = () => {
26066
26012
  }), [getResource]);
26067
26013
  };
26068
26014
 
26015
+ /* eslint-disable max-len */
26069
26016
  const useMultilineCopyClipboardShowdownExtension = () => {
26070
26017
  const { getResource } = React.useContext(QuickStartContext);
26071
26018
  return React.useMemo(() => ({
@@ -26086,10 +26033,7 @@ const useMultilineCopyClipboardShowdownExtension = () => {
26086
26033
  </div>
26087
26034
  </div>
26088
26035
  <div class="pf-v6-c-code-block__content">
26089
- <pre class="pf-v6-c-code-block__pre pfext-code-block__pre">
26090
- <code class="pf-v6-c-code-block__code"
26091
- ${MARKDOWN_SNIPPET_ID}="${groupId}">${group.trim()}</code>
26092
- </pre>
26036
+ <pre class="pf-v6-c-code-block__pre pfext-code-block__pre"><code class="pf-v6-c-code-block__code"${MARKDOWN_SNIPPET_ID}="${groupId}">${group.trim()}</code></pre>
26093
26037
  </div>
26094
26038
  </div>`;
26095
26039
  },
@@ -31197,16 +31141,40 @@ const markdownConvert = (markdown, extensions) => {
31197
31141
  }
31198
31142
  DOMPurify.addHook('beforeSanitizeElements', function (node) {
31199
31143
  // nodeType 1 = element type
31144
+ var _a;
31200
31145
  // transform anchor tags
31201
31146
  if (node.nodeType === 1 && node.nodeName.toLowerCase() === 'a') {
31202
31147
  node.setAttribute('rel', 'noopener noreferrer');
31203
31148
  return node;
31204
31149
  }
31205
- // add PF class to ul and ol lists
31206
- if (node.nodeType === 1 &&
31207
- (node.nodeName.toLowerCase() === 'ul' || node.nodeName.toLowerCase() === 'ol')) {
31208
- node.setAttribute('class', 'pf-v6-c-list');
31209
- return node;
31150
+ // add PF content classes
31151
+ if (node.nodeType === 1) {
31152
+ const contentElements = [
31153
+ 'ul',
31154
+ 'ol',
31155
+ 'p',
31156
+ 'li',
31157
+ 'hr',
31158
+ 'h1',
31159
+ 'h2',
31160
+ 'h3',
31161
+ 'h4',
31162
+ 'h5',
31163
+ 'h6',
31164
+ 'blockquote',
31165
+ 'pre',
31166
+ 'dl',
31167
+ 'dt',
31168
+ 'dd',
31169
+ 'table',
31170
+ ];
31171
+ if (contentElements.includes(node.nodeName.toLowerCase())) {
31172
+ // don't overwrite elements already being styled by PatternFly
31173
+ if (!((_a = node.getAttribute('class')) === null || _a === void 0 ? void 0 : _a.includes('pf-v6-c-'))) {
31174
+ node.setAttribute('class', `pf-v6-c-content--${node.nodeName.toLowerCase()}`);
31175
+ return node;
31176
+ }
31177
+ }
31210
31178
  }
31211
31179
  });
31212
31180
  // Add a hook to make all links open a new window
@@ -31274,7 +31242,7 @@ const RenderExtension = ({ renderExtension, selector, markup, docContext, }) =>
31274
31242
  };
31275
31243
  const InlineMarkdownView = ({ markup, isEmpty, renderExtension, className, }) => {
31276
31244
  const id = React.useMemo(() => uniqueId('markdown'), []);
31277
- return (React.createElement("div", { className: css('pfext-markdown-view', { 'is-empty': isEmpty }, className), id: id },
31245
+ return (React.createElement("div", { className: css({ 'is-empty': isEmpty }, className), id: id },
31278
31246
  React.createElement("div", { dangerouslySetInnerHTML: { __html: markup } }),
31279
31247
  renderExtension && (React.createElement(RenderExtension, { renderExtension: renderExtension, selector: `#${id}`, markup: markup }))));
31280
31248
  };
@@ -31346,7 +31314,6 @@ const SELECTOR_ID = `[\\w-]+`;
31346
31314
  // [linkLabel]{{action id}}
31347
31315
  const HIGHLIGHT_REGEXP = new RegExp(`\\[(${LINK_LABEL})]{{(${HIGHLIGHT_ACTIONS.join('|')}) (${SELECTOR_ID})}}`, 'g');
31348
31316
 
31349
- const removeParagraphWrap = (markdown) => markdown.replace(/^<p>|<\/p>$/g, '');
31350
31317
  const QuickStartMarkdownView = ({ content, exactHeight, className, }) => {
31351
31318
  const { markdown } = React.useContext(QuickStartContext);
31352
31319
  const inlineCopyClipboardShowdownExtension = useInlineCopyClipboardShowdownExtension();
@@ -31398,7 +31365,7 @@ var AdmonitionType;
31398
31365
  })(AdmonitionType || (AdmonitionType = {}));
31399
31366
  const admonitionToAlertVariantMap = {
31400
31367
  [AdmonitionType.NOTE]: { variant: 'info' },
31401
- [AdmonitionType.TIP]: { variant: 'default', customIcon: React.createElement(LightbulbIcon, null) },
31368
+ [AdmonitionType.TIP]: { variant: 'custom', customIcon: React.createElement(LightbulbIcon, null) },
31402
31369
  [AdmonitionType.IMPORTANT]: { variant: 'danger' },
31403
31370
  [AdmonitionType.CAUTION]: { variant: 'warning', customIcon: React.createElement(FireIcon, null) },
31404
31371
  [AdmonitionType.WARNING]: { variant: 'warning' },
@@ -31414,9 +31381,8 @@ React.useMemo(() => ({
31414
31381
  }
31415
31382
  admonitionType = admonitionType.toUpperCase();
31416
31383
  const { variant, customIcon } = admonitionToAlertVariantMap[admonitionType];
31417
- const style = admonitionType === AdmonitionType.CAUTION ? { backgroundColor: '#ec7a0915' } : {};
31418
31384
  const mdContent = React.createElement(QuickStartMarkdownView, { content: content });
31419
- const pfAlert = (React.createElement(Alert, { variant: variant, customIcon: customIcon && customIcon, isInline: true, title: admonitionType, className: "pfext-markdown-admonition", style: style }, mdContent));
31385
+ const pfAlert = (React.createElement(Alert, Object.assign({ variant: variant }, (customIcon && { customIcon }), { isInline: true, title: admonitionType, className: "pfext-markdown-admonition" }), mdContent));
31420
31386
  return removeTemplateWhitespace(renderToStaticMarkup(pfAlert));
31421
31387
  },
31422
31388
  }), []);
@@ -31573,42 +31539,39 @@ const StatusIcon = ({ status }) => (React.createElement(Status, { status: status
31573
31539
  const QuickStartTileDescription = ({ description, prerequisites, }) => {
31574
31540
  const { getResource } = React.useContext(QuickStartContext);
31575
31541
  const prereqs = prerequisites === null || prerequisites === void 0 ? void 0 : prerequisites.filter((p) => p);
31542
+ const buttonRef = React.useRef(null);
31576
31543
  return (React.createElement(React.Fragment, null,
31577
- React.createElement(QuickStartMarkdownView, { content: description, className: "pfext-quick-start-tile-description" }),
31578
- (prereqs === null || prereqs === void 0 ? void 0 : prereqs.length) > 0 && (React.createElement("div", { className: "pfext-quick-start-tile-prerequisites" },
31579
- React.createElement(Text, { component: TextVariants.h5, className: "pfext-quick-start-tile-prerequisites__text" },
31544
+ React.createElement(QuickStartMarkdownView, { content: description }),
31545
+ (prereqs === null || prereqs === void 0 ? void 0 : prereqs.length) > 0 && (React.createElement(Flex, { spaceItems: { default: 'spaceItemsSm' } },
31546
+ React.createElement("h5", null,
31580
31547
  getResource('Prerequisites ({{totalPrereqs}})').replace('{{totalPrereqs}}', prereqs.length),
31581
31548
  ' '),
31582
- React.createElement(Popover, { "aria-label": getResource('Prerequisites'), headerContent: getResource('Prerequisites'), className: "pfext-quick-start__base", bodyContent: React.createElement("div", { className: "pfext-popover__base" },
31583
- React.createElement(TextList, { "aria-label": getResource('Prerequisites'), className: "pfext-quick-start-tile-prerequisites-list" }, prereqs.map((prerequisite, index) => (
31549
+ React.createElement(Button, { variant: "link", isInline: true, "data-testid": "qs-card-prereqs", ref: buttonRef, onClick: (e) => {
31550
+ e.preventDefault();
31551
+ e.stopPropagation();
31552
+ }, "aria-label": getResource('Show prerequisites') },
31553
+ React.createElement(InfoCircleIcon, null)),
31554
+ React.createElement(Popover, { "aria-label": getResource('Prerequisites'), headerContent: getResource('Prerequisites'), triggerRef: buttonRef, bodyContent: React.createElement("div", null,
31555
+ React.createElement("ul", { "aria-label": getResource('Prerequisites') }, prereqs.map((prerequisite, index) => (
31584
31556
  // eslint-disable-next-line react/no-array-index-key
31585
- React.createElement(TextListItem, { key: index },
31586
- React.createElement(QuickStartMarkdownView, { content: prerequisite })))))) },
31587
- React.createElement(Button, { variant: "link", isInline: true, className: "pfext-quick-start-tile-prerequisites__icon", "data-testid": "qs-card-prereqs", onClick: (e) => {
31588
- e.preventDefault();
31589
- e.stopPropagation();
31590
- }, "aria-label": getResource('Show prerequisites') },
31591
- React.createElement(InfoCircleIcon, null)))))));
31557
+ React.createElement("li", { key: index },
31558
+ React.createElement(QuickStartMarkdownView, { content: prerequisite })))))) })))));
31592
31559
  };
31593
31560
 
31594
- const QuickStartTileFooter = ({ quickStartId, status, totalTasks, }) => {
31561
+ const QuickStartTileFooter = ({ quickStartId, status, totalTasks, onClickContinue, }) => {
31595
31562
  const { getResource } = React.useContext(QuickStartContext);
31596
31563
  const { activeQuickStartID, startQuickStart, restartQuickStart } = React.useContext(QuickStartContext);
31597
- const start = React.useCallback((e) => {
31598
- e.preventDefault();
31599
- e.stopPropagation();
31564
+ const start = React.useCallback(() => {
31600
31565
  startQuickStart(quickStartId, totalTasks);
31601
31566
  }, [quickStartId, startQuickStart, totalTasks]);
31602
- const restart = React.useCallback((e) => {
31603
- e.preventDefault();
31604
- e.stopPropagation();
31567
+ const restart = React.useCallback(() => {
31605
31568
  restartQuickStart(quickStartId, totalTasks);
31606
31569
  }, [quickStartId, restartQuickStart, totalTasks]);
31607
31570
  return (React.createElement(Flex, { justifyContent: { default: 'justifyContentSpaceBetween' } },
31608
31571
  status === QuickStartStatus.NOT_STARTED && (React.createElement(FlexItem, null,
31609
31572
  React.createElement(Button, { onClick: start, variant: "link", isInline: true, "data-testid": "qs-card-notStarted-start", id: `${quickStartId}-start`, "aria-labelledby": `${quickStartId}-start ${quickStartId}` }, getResource('Start')))),
31610
31573
  status === QuickStartStatus.IN_PROGRESS && activeQuickStartID !== quickStartId && (React.createElement(FlexItem, null,
31611
- React.createElement(Button, { variant: "link", isInline: true, "data-testid": "qs-card-inProgress-resume", id: `${quickStartId}-continue`, "aria-labelledby": `${quickStartId}-continue ${quickStartId}` }, getResource('Continue')))),
31574
+ React.createElement(Button, { variant: "link", onClick: onClickContinue, isInline: true, "data-testid": "qs-card-inProgress-resume", id: `${quickStartId}-continue`, "aria-labelledby": `${quickStartId}-continue ${quickStartId}` }, getResource('Continue')))),
31612
31575
  status === QuickStartStatus.COMPLETE && (React.createElement(FlexItem, null,
31613
31576
  React.createElement(Button, { onClick: restart, variant: "link", isInline: true, "data-testid": "qs-card-complete-restart", id: `${quickStartId}-restart`, "aria-labelledby": `${quickStartId}-restart ${quickStartId}` }, getResource('Restart')))),
31614
31577
  status === QuickStartStatus.IN_PROGRESS && (React.createElement(FlexItem, null,
@@ -31638,21 +31601,12 @@ const QuickStartTileFooterExternal = ({ link, quickStartId, }) => {
31638
31601
  React.createElement(Button, { component: "a", href: href, target: "_blank", rel: "noopener noreferrer", variant: "link", "aria-label": `Open documentation in new window`, isInline: true, icon: React.createElement(ExternalLinkAltIcon, null), iconPosition: "right", id: quickStartId, "aria-labelledby": `${quickStartId}-external ${quickStartId}` }, text || href))));
31639
31602
  };
31640
31603
 
31641
- var outlinedClockIcon = createCommonjsModule(function (module, exports) {
31642
- exports.__esModule = true;
31643
- exports.OutlinedClockIconConfig = {
31644
- name: 'OutlinedClockIcon',
31645
- height: 512,
31646
- width: 512,
31647
- svgPath: 'M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z',
31648
- yOffset: 0,
31649
- xOffset: 0,
31604
+ const QuickStartTileHeader = ({ name, quickStartId, onSelect, }) => {
31605
+ return (React.createElement(Flex, { flexWrap: { default: 'nowrap' } },
31606
+ React.createElement(Title, { headingLevel: "h3", "data-test": "title", id: quickStartId },
31607
+ React.createElement(Button, { variant: "link", isInline: true, onClick: onSelect },
31608
+ React.createElement(QuickStartMarkdownView, { content: name })))));
31650
31609
  };
31651
- exports.OutlinedClockIcon = createIcon_1.createIcon(exports.OutlinedClockIconConfig);
31652
- exports["default"] = exports.OutlinedClockIcon;
31653
- });
31654
-
31655
- var OutlinedClockIcon = /*@__PURE__*/getDefaultExportFromCjs(outlinedClockIcon);
31656
31610
 
31657
31611
  var outlinedBookmarkIcon = createCommonjsModule(function (module, exports) {
31658
31612
  exports.__esModule = true;
@@ -31670,42 +31624,52 @@ exports["default"] = exports.OutlinedBookmarkIcon;
31670
31624
 
31671
31625
  var OutlinedBookmarkIcon = /*@__PURE__*/getDefaultExportFromCjs(outlinedBookmarkIcon);
31672
31626
 
31673
- const statusColorMap = {
31674
- [QuickStartStatus.COMPLETE]: 'green',
31675
- [QuickStartStatus.IN_PROGRESS]: 'purple',
31676
- [QuickStartStatus.NOT_STARTED]: 'grey',
31627
+ var outlinedClockIcon = createCommonjsModule(function (module, exports) {
31628
+ exports.__esModule = true;
31629
+ exports.OutlinedClockIconConfig = {
31630
+ name: 'OutlinedClockIcon',
31631
+ height: 512,
31632
+ width: 512,
31633
+ svgPath: 'M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z',
31634
+ yOffset: 0,
31635
+ xOffset: 0,
31677
31636
  };
31678
- const QuickStartTileHeader = ({ status, duration, name, type, quickStartId, action, }) => {
31679
- const { getResource } = React.useContext(QuickStartContext);
31637
+ exports.OutlinedClockIcon = createIcon_1.createIcon(exports.OutlinedClockIconConfig);
31638
+ exports["default"] = exports.OutlinedClockIcon;
31639
+ });
31640
+
31641
+ var OutlinedClockIcon = /*@__PURE__*/getDefaultExportFromCjs(outlinedClockIcon);
31642
+
31643
+ const QuickStartTile = ({ quickStart, status, isActive, onClick = () => { }, action, }) => {
31644
+ const { metadata: { name: id }, spec: { icon, tasks, displayName, description, durationMinutes, prerequisites, link, type }, } = quickStart;
31645
+ const { setActiveQuickStart, footer, getResource } = React.useContext(QuickStartContext);
31646
+ const statusColorMap = {
31647
+ [QuickStartStatus.COMPLETE]: 'green',
31648
+ [QuickStartStatus.IN_PROGRESS]: 'purple',
31649
+ [QuickStartStatus.NOT_STARTED]: 'grey',
31650
+ };
31680
31651
  const statusLocaleMap = {
31681
31652
  [QuickStartStatus.COMPLETE]: getResource('Complete'),
31682
31653
  [QuickStartStatus.IN_PROGRESS]: getResource('In progress'),
31683
31654
  [QuickStartStatus.NOT_STARTED]: getResource('Not started'),
31684
31655
  };
31685
- const ActionIcon = (action === null || action === void 0 ? void 0 : action.icon) || OutlinedBookmarkIcon;
31686
- return (React.createElement("div", { className: "pfext-quick-start-tile-header" },
31687
- React.createElement(Flex, { flexWrap: { default: 'nowrap' } },
31688
- React.createElement(Title, { headingLevel: "h3", "data-test": "title", id: quickStartId },
31689
- React.createElement(QuickStartMarkdownView, { content: name })),
31690
- action && (React.createElement(Button, Object.assign({ "aria-label": action['aria-label'], icon: React.createElement(ActionIcon, null), variant: "plain", onClick: action.onClick }, action.buttonProps)))),
31691
- React.createElement("div", { className: "pfext-quick-start-tile-header__status" },
31692
- type && (React.createElement(Label, { className: "pfext-quick-start-tile-header--margin", color: type.color }, type.text)),
31693
- duration && (React.createElement(Label, { variant: "outline", "data-test": "duration", icon: React.createElement(OutlinedClockIcon, null), className: "pfext-quick-start-tile-header--margin" }, getResource('{{duration, number}} minutes', duration).replace('{{duration, number}}', duration))),
31694
- status !== QuickStartStatus.NOT_STARTED && (React.createElement(Label, { variant: "outline", color: statusColorMap[status], icon: React.createElement(StatusIcon, { status: status }), "data-test": "status" }, statusLocaleMap[status])))));
31695
- };
31696
-
31697
- const QuickStartTile = ({ quickStart, status, isActive, onClick = () => { }, action, }) => {
31698
- const { metadata: { name: id }, spec: { icon, tasks, displayName, description, durationMinutes, prerequisites, link, type }, } = quickStart;
31699
- const { setActiveQuickStart, footer } = React.useContext(QuickStartContext);
31700
- const ref = React.useRef(null);
31701
31656
  let quickStartIcon;
31702
31657
  if (typeof icon === 'object') {
31703
- quickStartIcon = React.createElement(Icon, { size: "xl" }, icon);
31658
+ quickStartIcon = React.createElement(Icon, { size: "2xl" }, icon);
31704
31659
  }
31705
31660
  else {
31706
- quickStartIcon = (React.createElement(Icon, { size: "xl" },
31707
- React.createElement(FallbackImg, { className: "pfext-catalog-item-icon__img--large", src: icon, alt: "", fallback: React.createElement(RocketIcon, null) })));
31661
+ quickStartIcon = (React.createElement(Icon, { size: "2xl" },
31662
+ React.createElement(FallbackImg, { src: icon, alt: "", className: "pfext-catalog-item-icon__img", fallback: React.createElement(RocketIcon, null) })));
31708
31663
  }
31664
+ const onSelect = () => {
31665
+ if (!link) {
31666
+ setActiveQuickStart(id, tasks === null || tasks === void 0 ? void 0 : tasks.length);
31667
+ }
31668
+ else {
31669
+ window.open(link.href, '_blank', 'noopener,noreferrer');
31670
+ }
31671
+ onClick();
31672
+ };
31709
31673
  const footerComponent = React.useMemo(() => {
31710
31674
  if (footer && footer.show === false) {
31711
31675
  return null;
@@ -31713,52 +31677,44 @@ const QuickStartTile = ({ quickStart, status, isActive, onClick = () => { }, act
31713
31677
  if (link) {
31714
31678
  return React.createElement(QuickStartTileFooterExternal, { link: link, quickStartId: id });
31715
31679
  }
31716
- return React.createElement(QuickStartTileFooter, { quickStartId: id, status: status, totalTasks: tasks === null || tasks === void 0 ? void 0 : tasks.length });
31680
+ return (React.createElement(QuickStartTileFooter, { quickStartId: id, status: status, totalTasks: tasks === null || tasks === void 0 ? void 0 : tasks.length, onClickContinue: onSelect }));
31717
31681
  }, [footer, id, link, status, tasks === null || tasks === void 0 ? void 0 : tasks.length]);
31718
- const handleClick = (e) => {
31719
- var _a;
31720
- if ((_a = ref.current) === null || _a === void 0 ? void 0 : _a.contains(e.target)) {
31721
- if (!link) {
31722
- setActiveQuickStart(id, tasks === null || tasks === void 0 ? void 0 : tasks.length);
31723
- }
31724
- onClick();
31725
- }
31726
- };
31727
- const linkProps = link
31728
- ? {
31729
- href: link.href,
31730
- target: '_blank',
31731
- rel: 'noreferrer',
31732
- }
31733
- : {};
31734
- return (React.createElement("div", { ref: ref, onClick: handleClick },
31735
- React.createElement(CatalogTile, Object.assign({ id: id + '-catalog-tile', style: {
31736
- cursor: 'pointer',
31737
- }, icon: quickStartIcon, className: "pfext-quick-start-tile", "data-testid": `qs-card-${camelize(displayName)}`, featured: isActive, title: React.createElement(QuickStartTileHeader, { name: displayName, status: status, duration: durationMinutes, type: type, quickStartId: id, action: action }), onKeyDown: (event) => {
31738
- if (event.key === 'Enter' || event.key === ' ') {
31739
- setActiveQuickStart(id, tasks === null || tasks === void 0 ? void 0 : tasks.length);
31740
- onClick();
31741
- }
31742
- } }, linkProps, { "data-test": `tile ${id}`, description: React.createElement(QuickStartTileDescription, { description: description, prerequisites: prerequisites }), footer: footerComponent, tabIndex: 0,
31743
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
31744
- // @ts-ignore-next-line
31745
- isSelectableRaised: true }))));
31682
+ const ActionIcon = (action === null || action === void 0 ? void 0 : action.icon) || OutlinedBookmarkIcon;
31683
+ const additionalAction = action ? (React.createElement(Button, Object.assign({ "aria-label": action['aria-label'], icon: React.createElement(ActionIcon, null), variant: "plain", onClick: action.onClick }, action.buttonProps))) : undefined;
31684
+ return (React.createElement(Card, Object.assign({ id: `${id}-catalog-tile`, style: { height: '100%' }, "data-testid": `qs-card-${camelize(displayName)}` }, (isActive && {
31685
+ isClickable: true,
31686
+ isSelectable: true,
31687
+ isSelected: true,
31688
+ isClicked: true,
31689
+ })),
31690
+ React.createElement(CardHeader, Object.assign({}, (action && {
31691
+ actions: { actions: additionalAction },
31692
+ })), quickStartIcon),
31693
+ React.createElement(CardTitle, null,
31694
+ React.createElement(QuickStartTileHeader, { name: displayName, onSelect: onSelect, quickStartId: id })),
31695
+ React.createElement(CardBody, null,
31696
+ React.createElement(Stack, { hasGutter: true },
31697
+ React.createElement(Flex, { spaceItems: { default: 'spaceItemsSm' } },
31698
+ type && React.createElement(Label, { color: type.color }, type.text),
31699
+ durationMinutes && (React.createElement(Label, { variant: "outline", "data-test": "duration", icon: React.createElement(OutlinedClockIcon, null) }, getResource('{{duration, number}} minutes', durationMinutes).replace('{{duration, number}}', durationMinutes))),
31700
+ status !== QuickStartStatus.NOT_STARTED && (React.createElement(Label, { variant: "outline", color: statusColorMap[status], icon: React.createElement(StatusIcon, { status: status }), "data-test": "status" }, statusLocaleMap[status]))),
31701
+ React.createElement(QuickStartTileDescription, { description: description, prerequisites: prerequisites }))),
31702
+ React.createElement(CardFooter, null, footerComponent)));
31746
31703
  };
31747
31704
 
31748
31705
  const QuickStartCatalog = ({ quickStarts }) => {
31749
31706
  const { activeQuickStartID, allQuickStartStates } = React.useContext(QuickStartContext);
31750
- return (React.createElement("div", { className: "pfext-page-layout__content" },
31751
- React.createElement(Gallery, { className: "pfext-quick-start-catalog__gallery", hasGutter: true }, quickStarts.map((quickStart) => {
31707
+ return (React.createElement("div", null,
31708
+ React.createElement(Gallery, { hasGutter: true }, quickStarts.map((quickStart, index) => {
31752
31709
  const { metadata: { name: id }, } = quickStart;
31753
- return (React.createElement(GalleryItem, { key: id, className: "pfext-quick-start-catalog__gallery-item" },
31754
- React.createElement(QuickStartTile, { quickStart: quickStart, isActive: id === activeQuickStartID, status: getQuickStartStatus(allQuickStartStates, id) })));
31710
+ return (React.createElement(QuickStartTile, { key: index, quickStart: quickStart, isActive: id === activeQuickStartID, status: getQuickStartStatus(allQuickStartStates, id) }));
31755
31711
  }))));
31756
31712
  };
31757
31713
 
31758
31714
  const QuickStartCatalogFilterSearch = (_a) => {
31759
31715
  var { searchInputText, handleTextChange } = _a, props = __rest(_a, ["searchInputText", "handleTextChange"]);
31760
31716
  const { getResource } = React.useContext(QuickStartContext);
31761
- return (React.createElement(ToolbarItem, { className: "pfext-quick-start-catalog-filter__input" },
31717
+ return (React.createElement(ToolbarItem, null,
31762
31718
  React.createElement(SearchInput, Object.assign({ placeholder: getResource('Filter by keyword...'), value: searchInputText, onChange: (_ev, value) => handleTextChange(value), onClear: () => handleTextChange('') }, props))));
31763
31719
  };
31764
31720
  const QuickStartCatalogFilterSelect = (_a) => {
@@ -31773,7 +31729,7 @@ const QuickStartCatalogFilterSelect = (_a) => {
31773
31729
  };
31774
31730
  const QuickStartCatalogFilterCount = ({ quickStartsCount }) => {
31775
31731
  const { getResource } = React.useContext(QuickStartContext);
31776
- return (React.createElement(ToolbarItem, { className: "pfext-quick-start-catalog-filter__count", align: { default: 'alignEnd' } }, getResource('{{count, number}} item', quickStartsCount).replace('{{count, number}}', quickStartsCount)));
31732
+ return (React.createElement(ToolbarItem, { align: { default: 'alignEnd' } }, getResource('{{count, number}} item', quickStartsCount).replace('{{count, number}}', quickStartsCount)));
31777
31733
  };
31778
31734
  const QuickStartCatalogFilterSearchWrapper = ({ onSearchInputChange = () => { } }) => {
31779
31735
  const { useQueryParams, filter, setFilter } = React.useContext(QuickStartContext);
@@ -31863,7 +31819,7 @@ const QuickStartCatalogFilterCountWrapper = ({ quickStartsCount }) => React.crea
31863
31819
 
31864
31820
  const QuickStartCatalogFilter = (_a) => {
31865
31821
  var { quickStartsCount, onSearchInputChange = () => { }, onStatusChange = () => { } } = _a, props = __rest(_a, ["quickStartsCount", "onSearchInputChange", "onStatusChange"]);
31866
- return (React.createElement(Toolbar, Object.assign({ usePageInsets: true, className: "pfext-quick-start-catalog-filter__flex" }, props),
31822
+ return (React.createElement(Toolbar, Object.assign({}, props),
31867
31823
  React.createElement(ToolbarContent, null,
31868
31824
  React.createElement(QuickStartCatalogFilterSearchWrapper, { onSearchInputChange: onSearchInputChange }),
31869
31825
  React.createElement(QuickStartCatalogFilterStatusWrapper, { onStatusChange: onStatusChange }),
@@ -31939,28 +31895,29 @@ const QuickStartCatalogPage = ({ quickStarts, showFilter, sortFnc = (q1, q2) =>
31939
31895
  if (!allQuickStarts || allQuickStarts.length === 0) {
31940
31896
  return React.createElement(EmptyBox, { label: getResource('Quick Starts') });
31941
31897
  }
31942
- return (React.createElement("div", { className: "pfext-quick-start__base" },
31943
- showTitle && (React.createElement("div", { className: "pfext-page-layout__header" },
31944
- React.createElement(Text, { component: "h1", className: "pfext-page-layout__title", "data-test": "page-title" }, title || getResource('Quick Starts')),
31945
- hint && React.createElement("div", { className: "pfext-page-layout__hint" }, hint))),
31946
- showTitle && React.createElement(Divider, { component: "div" }),
31947
- showFilter && (React.createElement(React.Fragment, null,
31948
- React.createElement(QuickStartCatalogFilter, { quickStartsCount: filteredQuickStarts.length, onSearchInputChange: onSearchInputChange, onStatusChange: onStatusChange }),
31949
- React.createElement(Divider, { component: "div" }))),
31950
- React.createElement(React.Fragment, null, filteredQuickStarts.length === 0 ? (React.createElement(QuickStartCatalogEmptyState, { clearFilters: clearFilters })) : (React.createElement(QuickStartCatalog, { quickStarts: filteredQuickStarts })))));
31898
+ return (React.createElement(React.Fragment, null,
31899
+ (showTitle || showFilter) && (React.createElement(PageSection, { hasBodyWrapper: false },
31900
+ showTitle && (React.createElement(React.Fragment, null,
31901
+ React.createElement(Content, { component: "h1", "data-test": "page-title" }, title || getResource('Quick Starts')),
31902
+ hint && React.createElement("div", null, hint))),
31903
+ showTitle && React.createElement(Divider, { component: "div" }),
31904
+ showFilter && (React.createElement(React.Fragment, null,
31905
+ React.createElement(QuickStartCatalogFilter, { quickStartsCount: filteredQuickStarts.length, onSearchInputChange: onSearchInputChange, onStatusChange: onStatusChange }),
31906
+ React.createElement(Divider, { component: "div" }))))),
31907
+ React.createElement(PageSection, { hasBodyWrapper: false }, filteredQuickStarts.length === 0 ? (React.createElement(QuickStartCatalogEmptyState, { clearFilters: clearFilters })) : (React.createElement(QuickStartCatalog, { quickStarts: filteredQuickStarts })))));
31951
31908
  };
31952
31909
 
31953
- const QuickStartCatalogHeader = ({ title, hint, }) => (React.createElement("div", { className: "pfext-page-layout__header" },
31954
- React.createElement("h1", { "data-pf-content": "true", className: "pfext-page-layout__title" }, title),
31955
- hint && React.createElement("div", { className: "pfext-page-layout__hint" }, hint)));
31910
+ const QuickStartCatalogHeader = ({ title, hint, }) => (React.createElement("div", null,
31911
+ React.createElement(Title, { headingLevel: "h1", "data-pf-content": "true" }, title),
31912
+ hint && React.createElement("div", null, hint)));
31956
31913
 
31957
- const QuickStartCatalogSection = ({ children }) => (React.createElement("div", { className: "pfext-page-layout__content" }, children));
31914
+ const QuickStartCatalogSection = ({ children }) => (React.createElement("div", null, children));
31958
31915
 
31959
- const QuickStartCatalogToolbar = ({ children }) => (React.createElement(Toolbar, { usePageInsets: true, className: "pfext-quick-start-catalog-filter__flex" }, children));
31916
+ const QuickStartCatalogToolbar = ({ children }) => (React.createElement(Toolbar, null, children));
31960
31917
 
31961
31918
  const QuickStartCloseModal = ({ isOpen, onConfirm, onCancel, }) => {
31962
31919
  const { getResource } = React.useContext(QuickStartContext);
31963
- return (React.createElement(Modal, { className: "pfext-quick-start-drawer__modal pfext-quick-start__base", isOpen: isOpen, variant: ModalVariant.small, showClose: false, "data-test": "leave-quickstart", title: getResource('Leave quick start?'), footer: React.createElement(Flex, null,
31920
+ return (React.createElement(Modal, { isOpen: isOpen, variant: ModalVariant.small, showClose: false, "data-test": "leave-quickstart", title: getResource('Leave quick start?'), footer: React.createElement(Flex, null,
31964
31921
  React.createElement(FlexItem, { align: { default: 'alignRight' } },
31965
31922
  React.createElement(Button, { variant: "secondary", "data-test": "cancel button", onClick: onCancel }, getResource('Cancel'))),
31966
31923
  React.createElement(FlexItem, null,
@@ -31992,29 +31949,28 @@ const QuickStartTaskHeader = ({ title, taskIndex, subtitle, taskStatus, size, is
31992
31949
  titleRef.current.parentNode.focus();
31993
31950
  }
31994
31951
  }, [focusOnQuickStart, isActiveTask]);
31995
- css('pfext-quick-start-task-header__title', {
31996
- 'pfext-quick-start-task-header__title-success': taskStatus === QuickStartTaskStatus.SUCCESS,
31997
- 'pfext-quick-start-task-header__title-failed': taskStatus === (QuickStartTaskStatus.FAILED || QuickStartTaskStatus.VISITED),
31998
- });
31999
- // const notCompleted = taskStatus === QuickStartTaskStatus.VISITED;
32000
- // const skippedReview = taskStatus === QuickStartTaskStatus.REVIEW;
32001
31952
  const failedReview = taskStatus === QuickStartTaskStatus.FAILED;
32002
- // TODO: toned down when this is shown, investigate further when we should display it
32003
- // related: https://github.com/patternfly/patternfly-quickstarts/issues/104
32004
31953
  const tryAgain = failedReview && (React.createElement(React.Fragment, null,
32005
31954
  React.createElement("div", null),
32006
31955
  React.createElement("div", { className: "pfext-quick-start-task-header__tryagain" }, "Try the steps again.")));
32007
31956
  const content = (React.createElement("div", { ref: titleRef },
32008
- React.createElement(Title, { headingLevel: "h3" },
32009
- React.createElement("span", { dangerouslySetInnerHTML: { __html: removeParagraphWrap(markdownConvert(title)) } }),
32010
- isActiveTask && subtitle && (React.createElement("span", { "data-test-id": "quick-start-task-subtitle" },
31957
+ React.createElement(Title, { headingLevel: "h3", size: size },
31958
+ React.createElement("span", { className: "pfext-quick-start-task-header__title" }, title),
31959
+ isActiveTask && subtitle && (React.createElement("span", null,
32011
31960
  ' ',
32012
- React.createElement(Text, { component: TextVariants.small }, subtitle))),
31961
+ React.createElement("span", { "data-test-id": "quick-start-task-subtitle", className: "pfext-quick-start-task-header__subtitle" }, subtitle))),
32013
31962
  tryAgain)));
32014
- return (React.createElement(WizardNavItem, { content: content, stepIndex: taskIndex, onClick: () => onTaskSelect(taskIndex - 1), component: "button", isCurrent: isActiveTask }, children));
31963
+ let status = 'default';
31964
+ if (taskStatus === QuickStartTaskStatus.FAILED) {
31965
+ status = 'error';
31966
+ }
31967
+ else if (taskStatus === QuickStartTaskStatus.SUCCESS) {
31968
+ status = 'success';
31969
+ }
31970
+ return (React.createElement(WizardNavItem, { content: content, stepIndex: taskIndex, onClick: () => onTaskSelect(taskIndex - 1), component: "button", isCurrent: isActiveTask, status: status }, children));
32015
31971
  };
32016
31972
 
32017
- const QuickStartTaskHeaderList = ({ tasks, allTaskStatuses, onTaskSelect, }) => tasks.length > 0 ? (React.createElement(List, { className: "pf-v6-c-wizard__nav-list" }, tasks.map((task, index) => (React.createElement(QuickStartTaskHeader, { key: task.title, title: task.title, taskIndex: index + 1, size: "md", taskStatus: allTaskStatuses[index], onTaskSelect: onTaskSelect }))))) : null;
31973
+ const QuickStartTaskHeaderList = ({ tasks, allTaskStatuses, onTaskSelect, }) => (tasks === null || tasks === void 0 ? void 0 : tasks.length) > 0 ? (React.createElement("div", { className: "pf-v6-c-wizard__nav-list" }, tasks.map((task, index) => (React.createElement(QuickStartTaskHeader, { key: task.title, title: task.title, taskIndex: index + 1, size: "md", taskStatus: allTaskStatuses[index], onTaskSelect: onTaskSelect }))))) : null;
32018
31974
 
32019
31975
  const QuickStartConclusion = ({ tasks, conclusion, allTaskStatuses, nextQuickStarts, onQuickStartChange, onTaskSelect, }) => {
32020
31976
  const hasFailedTask = allTaskStatuses.includes(QuickStartTaskStatus.FAILED);
@@ -32029,10 +31985,7 @@ const QuickStartConclusion = ({ tasks, conclusion, allTaskStatuses, nextQuickSta
32029
31985
  nextQuickStarts.length > 0 &&
32030
31986
  nextQuickStarts.map((nextQuickStart, index) => {
32031
31987
  var _a;
32032
- return (React.createElement(Button, { variant: "link", onClick: () => onQuickStartChange(nextQuickStart.metadata.name), isInline: true, isBlock: true, key: index },
32033
- getResource('Start {{nextQSDisplayName}} quick start').replace('{{nextQSDisplayName}}', (_a = nextQuickStart === null || nextQuickStart === void 0 ? void 0 : nextQuickStart.spec) === null || _a === void 0 ? void 0 : _a.displayName),
32034
- ' ',
32035
- React.createElement(ArrowRightIcon, { style: { marginLeft: 'var(--pf-t--global--spacer--xs)', verticalAlign: 'middle' } })));
31988
+ return (React.createElement(Button, { variant: "link", onClick: () => onQuickStartChange(nextQuickStart.metadata.name), isInline: true, icon: React.createElement(ArrowRightIcon, null), iconPosition: "end", isBlock: true, key: index, style: { marginTop: 'var(--pf-t--global--spacer--md' } }, getResource('Start {{nextQSDisplayName}} quick start').replace('{{nextQSDisplayName}}', (_a = nextQuickStart === null || nextQuickStart === void 0 ? void 0 : nextQuickStart.spec) === null || _a === void 0 ? void 0 : _a.displayName)));
32036
31989
  })));
32037
31990
  };
32038
31991
 
@@ -32040,15 +31993,14 @@ const QuickStartIntroduction = ({ tasks, introduction, allTaskStatuses, prerequi
32040
31993
  const { getResource } = React.useContext(QuickStartContext);
32041
31994
  const prereqs = prerequisites === null || prerequisites === void 0 ? void 0 : prerequisites.filter((p) => p);
32042
31995
  const [isPrereqsExpanded, setIsPrereqsExpanded] = React.useState(false);
32043
- const prereqList = (prereqs === null || prereqs === void 0 ? void 0 : prereqs.length) > 0 && (React.createElement(ExpandableSection, { toggleText: getResource('View Prerequisites ({{totalPrereqs}})').replace('{{totalPrereqs}}', prereqs.length), onToggle: () => setIsPrereqsExpanded(!isPrereqsExpanded), className: "pfext-quick-start-intro__prereq" },
32044
- React.createElement(List, { className: "pfext-quick-start-intro__prereq-list" }, prereqs.map((pr) => (React.createElement(ListItem, { key: pr, className: "pfext-quick-start-intro__prereq-list__item" },
32045
- React.createElement("span", { className: "pfext-quick-start-intro__prereq-list__item-content" },
32046
- React.createElement(QuickStartMarkdownView, { content: pr }))))))));
32047
- return (React.createElement(React.Fragment, null,
31996
+ const prereqList = (prereqs === null || prereqs === void 0 ? void 0 : prereqs.length) > 0 && (React.createElement(ExpandableSection, { toggleText: getResource('View Prerequisites ({{totalPrereqs}})').replace('{{totalPrereqs}}', prereqs.length), onToggle: () => setIsPrereqsExpanded(!isPrereqsExpanded) },
31997
+ React.createElement(List, null, prereqs.map((pr) => (React.createElement(ListItem, { key: pr },
31998
+ React.createElement(QuickStartMarkdownView, { content: pr })))))));
31999
+ return (React.createElement(Stack, { hasGutter: true },
32048
32000
  React.createElement(QuickStartMarkdownView, { content: introduction }),
32049
32001
  prereqList,
32050
- React.createElement("p", { style: { marginBottom: 'var(--pf-t--global--spacer--md)' } },
32051
- getResource('In this quick start, you will complete {{count, number}} task', tasks.length).replace('{{count, number}}', tasks.length),
32002
+ React.createElement("p", null,
32003
+ getResource('In this quick start, you will complete {{count, number}} task', tasks === null || tasks === void 0 ? void 0 : tasks.length).replace('{{count, number}}', (tasks === null || tasks === void 0 ? void 0 : tasks.length) || 0),
32052
32004
  ":"),
32053
32005
  React.createElement(QuickStartTaskHeaderList, { tasks: tasks, allTaskStatuses: allTaskStatuses, onTaskSelect: onTaskSelect })));
32054
32006
  };
@@ -32066,12 +32018,9 @@ const getAlertVariant = (status) => {
32066
32018
  const QuickStartTaskReview = ({ review, taskStatus, onTaskReview, }) => {
32067
32019
  const { instructions, failedTaskHelp: taskHelp } = review;
32068
32020
  const { getResource } = React.useContext(QuickStartContext);
32069
- const alertClassNames = css('pfext-quick-start-task-review', {
32070
- 'pfext-quick-start-task-review--success': taskStatus === QuickStartTaskStatus.SUCCESS,
32071
- 'pfext-quick-start-task-review--failed': taskStatus === QuickStartTaskStatus.FAILED,
32072
- });
32073
- const title = React.createElement("span", { className: alertClassNames }, getResource('Check your work'));
32074
- return (React.createElement(Alert, { className: "pfext-quick-start-task-review-alert", variant: getAlertVariant(taskStatus), title: title, isInline: true, role: "alert" },
32021
+ return (React.createElement(Alert, { variant: getAlertVariant(taskStatus), title: getResource('Check your work'), isInline: true, role: "alert", style: {
32022
+ marginBottom: 'var(--pf-t--global--spacer--md)',
32023
+ } },
32075
32024
  React.createElement(QuickStartMarkdownView, { content: instructions }),
32076
32025
  React.createElement("span", { className: "pfext-quick-start-task-review__actions" },
32077
32026
  React.createElement(Radio, { id: "review-success", name: "review-success", "data-testid": "qs-drawer-check-yes", label: getResource('Yes'), className: "pfext-quick-start-task-review__radio", isChecked: taskStatus === QuickStartTaskStatus.SUCCESS, onChange: () => onTaskReview(QuickStartTaskStatus.SUCCESS) }),
@@ -32081,7 +32030,7 @@ const QuickStartTaskReview = ({ review, taskStatus, onTaskReview, }) => {
32081
32030
 
32082
32031
  const QuickStartTasks = ({ tasks, taskNumber, allTaskStatuses, onTaskReview, onTaskSelect, }) => {
32083
32032
  const { getResource, alwaysShowTaskReview } = React.useContext(QuickStartContext);
32084
- return (React.createElement("div", { className: "pfext-quick-start-tasks__list" },
32033
+ return (React.createElement("div", { className: "pf-v6-c-wizard__nav-list", style: { padding: '0 0 0 0' } },
32085
32034
  React.createElement("ul", null, tasks
32086
32035
  .filter((_, index) => allTaskStatuses[index] !== QuickStartTaskStatus.INIT)
32087
32036
  .map((task, index) => {
@@ -32093,7 +32042,7 @@ const QuickStartTasks = ({ tasks, taskNumber, allTaskStatuses, onTaskReview, onT
32093
32042
  return (React.createElement(React.Fragment, { key: title },
32094
32043
  React.createElement(QuickStartTaskHeader, { taskIndex: index + 1, title: title, size: "md", subtitle: getResource('{{index, number}} of {{tasks, number}}')
32095
32044
  .replace('{{index, number}}', index + 1)
32096
- .replace('{{tasks, number}}', tasks.length), taskStatus: taskStatus, isActiveTask: isActiveTask, onTaskSelect: onTaskSelect }, isActiveTask && (React.createElement("div", { className: "pfext-quick-start-task__content" },
32045
+ .replace('{{tasks, number}}', tasks.length), taskStatus: taskStatus, isActiveTask: isActiveTask, onTaskSelect: onTaskSelect }, isActiveTask && (React.createElement(Stack, { hasGutter: true },
32097
32046
  React.createElement(QuickStartMarkdownView, { content: description }),
32098
32047
  shouldShowTaskReview && (React.createElement(QuickStartTaskReview, { review: review, taskStatus: taskStatus, onTaskReview: onTaskReview })))))));
32099
32048
  }))));
@@ -32101,14 +32050,14 @@ const QuickStartTasks = ({ tasks, taskNumber, allTaskStatuses, onTaskReview, onT
32101
32050
 
32102
32051
  const QuickStartContent = React.forwardRef(({ quickStart, nextQuickStarts = [], taskNumber, allTaskStatuses, onTaskSelect, onTaskReview, onQuickStartChange, }, ref) => {
32103
32052
  const { spec: { introduction, tasks, conclusion, prerequisites }, } = quickStart;
32104
- const totalTasks = tasks.length;
32105
- return (React.createElement("div", { className: "pfext-quick-start-content", ref: ref },
32053
+ const totalTasks = tasks === null || tasks === void 0 ? void 0 : tasks.length;
32054
+ return (React.createElement("div", { className: "pfext-quick-start-task", ref: ref },
32106
32055
  taskNumber === -1 && (React.createElement(QuickStartIntroduction, { tasks: tasks, allTaskStatuses: allTaskStatuses, introduction: introduction, prerequisites: prerequisites, onTaskSelect: onTaskSelect })),
32107
32056
  taskNumber > -1 && taskNumber < totalTasks && (React.createElement(QuickStartTasks, { tasks: tasks, taskNumber: taskNumber, allTaskStatuses: allTaskStatuses, onTaskReview: onTaskReview, onTaskSelect: onTaskSelect })),
32108
32057
  taskNumber === totalTasks && (React.createElement(QuickStartConclusion, { tasks: tasks, conclusion: conclusion, allTaskStatuses: allTaskStatuses, nextQuickStarts: nextQuickStarts, onQuickStartChange: onQuickStartChange, onTaskSelect: onTaskSelect }))));
32109
32058
  });
32110
32059
 
32111
- const QuickStartFooter = ({ status, taskNumber, totalTasks, onNext, onBack, footerClass, quickStartId, }) => {
32060
+ const QuickStartFooter = ({ status, taskNumber, totalTasks, onNext, onBack, quickStartId, className, }) => {
32112
32061
  const { restartQuickStart, getResource } = React.useContext(QuickStartContext);
32113
32062
  const PrimaryButtonText = React.useMemo(() => ({
32114
32063
  START: getResource('Start'),
@@ -32137,13 +32086,16 @@ const QuickStartFooter = ({ status, taskNumber, totalTasks, onNext, onBack, foot
32137
32086
  }
32138
32087
  return PrimaryButtonText.CONTINUE;
32139
32088
  }, [taskNumber, totalTasks, PrimaryButtonText, status]);
32140
- const getPrimaryButton = React.useMemo(() => (React.createElement(Button, { variant: "primary", className: "pfext-quick-start-footer__actionbtn", onClick: onNext, "data-testid": `qs-drawer-${camelize(getPrimaryButtonText)}`, "data-test": `${getPrimaryButtonText} button` }, getPrimaryButtonText)), [getPrimaryButtonText, onNext]);
32089
+ const getPrimaryButton = React.useMemo(() => (React.createElement(Button, { variant: "primary", onClick: onNext, "data-testid": `qs-drawer-${camelize(getPrimaryButtonText)}`, "data-test": `${getPrimaryButtonText} button` }, getPrimaryButtonText)), [getPrimaryButtonText, onNext]);
32141
32090
  const getSecondaryButton = React.useMemo(() => taskNumber === -1 && status !== QuickStartStatus.NOT_STARTED ? (React.createElement(Button, { variant: "secondary", onClick: onRestart, "data-testid": "qs-drawer-restart" }, SecondaryButtonText.RESTART)) : (taskNumber > -1 && (React.createElement(Button, { variant: "secondary", onClick: onBack, "data-testid": "qs-drawer-back" }, SecondaryButtonText.BACK))), [onRestart, onBack, SecondaryButtonText, status, taskNumber]);
32142
- const getSideNoteAction = React.useMemo(() => taskNumber !== -1 && (React.createElement(Button, { variant: "link", className: "pfext-quick-start-footer__restartbtn", onClick: onRestart, "data-testid": "qs-drawer-side-note-action" }, SecondaryButtonText.RESTART)), [taskNumber, onRestart, SecondaryButtonText.RESTART]);
32143
- return (React.createElement("div", { className: `pfext-quick-start-footer ${footerClass}` },
32144
- getPrimaryButton,
32145
- getSecondaryButton,
32146
- getSideNoteAction));
32091
+ const getSideNoteAction = React.useMemo(() => taskNumber !== -1 && (React.createElement(Button, { variant: "link", onClick: onRestart, "data-testid": "qs-drawer-side-note-action" }, SecondaryButtonText.RESTART)), [taskNumber, onRestart, SecondaryButtonText.RESTART]);
32092
+ return (React.createElement("div", { className: css('pfext-quick-start-footer', className) },
32093
+ React.createElement(ActionList, null,
32094
+ React.createElement(ActionListGroup, null,
32095
+ React.createElement(ActionListItem, null, getPrimaryButton),
32096
+ React.createElement(ActionListItem, null, getSecondaryButton)),
32097
+ React.createElement(ActionListGroup, null,
32098
+ React.createElement(ActionListItem, null, getSideNoteAction)))));
32147
32099
  };
32148
32100
 
32149
32101
  const QuickStartController = ({ quickStart, nextQuickStarts, contentRef, footerClass, }) => {
@@ -32182,7 +32134,7 @@ const QuickStartController = ({ quickStart, nextQuickStarts, contentRef, footerC
32182
32134
  }, [name, setQuickStartTaskNumber]);
32183
32135
  return (React.createElement(React.Fragment, null,
32184
32136
  React.createElement(QuickStartContent, { quickStart: quickStart, nextQuickStarts: nextQuickStarts, taskNumber: taskNumber, allTaskStatuses: allTaskStatuses, onTaskSelect: handleTaskSelect, onTaskReview: handleTaskStatusChange, onQuickStartChange: handleQuickStartChange, ref: contentRef }),
32185
- React.createElement(QuickStartFooter, { status: status, taskNumber: taskNumber, totalTasks: totalTasks, onNext: handleNext, onBack: handleBack, footerClass: footerClass, quickStartId: quickStart.metadata.name })));
32137
+ React.createElement(QuickStartFooter, { status: status, taskNumber: taskNumber, totalTasks: totalTasks, onNext: handleNext, onBack: handleBack, className: footerClass, quickStartId: quickStart.metadata.name })));
32186
32138
  };
32187
32139
 
32188
32140
  const getElement = (appendTo) => {
@@ -32199,24 +32151,17 @@ const useScrollTopOnTaskNumberChange = (node, taskNumber) => {
32199
32151
  }, [taskNumber, node]);
32200
32152
  };
32201
32153
  const QuickStartPanelContent = (_a) => {
32202
- var { quickStarts = [], handleClose, activeQuickStartID, appendTo, isResizable = true, showClose = true, headerVariant = '' } = _a, props = __rest(_a, ["quickStarts", "handleClose", "activeQuickStartID", "appendTo", "isResizable", "showClose", "headerVariant"]);
32154
+ var { quickStarts = [], handleClose, activeQuickStartID, appendTo, isResizable = true, showClose = true, footerClass } = _a, props = __rest(_a, ["quickStarts", "handleClose", "activeQuickStartID", "appendTo", "isResizable", "showClose", "footerClass"]);
32203
32155
  const titleRef = React.useRef(null);
32204
32156
  const { getResource, activeQuickStartState, focusOnQuickStart } = React.useContext(QuickStartContext);
32205
32157
  const [contentRef, setContentRef] = React.useState();
32206
- const shadows = useScrollShadows(contentRef);
32207
32158
  const quickStart = quickStarts.find((qs) => qs.metadata.name === activeQuickStartID);
32208
32159
  const taskNumber = activeQuickStartState === null || activeQuickStartState === void 0 ? void 0 : activeQuickStartState.taskNumber;
32209
32160
  useScrollTopOnTaskNumberChange(contentRef, taskNumber);
32210
32161
  const nextQuickStarts = quickStarts.filter((qs) => { var _a; return (_a = quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.nextQuickStart) === null || _a === void 0 ? void 0 : _a.includes(qs.metadata.name); });
32211
- const headerClasses = css('pfext-quick-start-panel-content__header', {
32212
- 'pfext-quick-start-panel-content__header__shadow': shadows === Shadows.top || shadows === Shadows.both,
32213
- 'pfext-quick-start-panel-content__header--blue-white': headerVariant === 'blue-white',
32214
- });
32215
- const footerClass = css({
32216
- 'pfext-quick-start-panel-content__footer__shadow': shadows === Shadows.bottom || shadows === Shadows.both,
32217
- });
32218
32162
  const getStep = () => {
32219
- const tasks = quickStart.spec.tasks.length;
32163
+ var _a;
32164
+ const tasks = ((_a = quickStart.spec.tasks) === null || _a === void 0 ? void 0 : _a.length) || 0;
32220
32165
  if (Number.parseInt(taskNumber) === -1) {
32221
32166
  return 'intro';
32222
32167
  }
@@ -32230,23 +32175,21 @@ const QuickStartPanelContent = (_a) => {
32230
32175
  titleRef.current.focus();
32231
32176
  }
32232
32177
  }, [focusOnQuickStart, quickStart]);
32233
- const content = quickStart ? (React.createElement(DrawerPanelContent, Object.assign({ isResizable: isResizable, className: "pfext-quick-start__base", "data-testid": `qs-drawer-${camelize(quickStart.spec.displayName)}`, "data-qs": `qs-step-${getStep()}`, "data-test": "quickstart drawer" }, props),
32234
- React.createElement("div", { className: headerClasses },
32178
+ const content = quickStart ? (React.createElement(DrawerPanelContent, Object.assign({ isResizable: isResizable, "data-testid": `qs-drawer-${camelize(quickStart.spec.displayName)}`, "data-qs": `qs-step-${getStep()}`, "data-test": "quickstart drawer", style: { '--pf-v6-c-drawer__panel--PaddingBlockStart': '0' } }, props),
32179
+ React.createElement("div", { className: "pfext-quick-start-panel-content" },
32235
32180
  React.createElement(DrawerHead, null,
32236
- React.createElement("div", { className: "pfext-quick-start-panel-content__title", tabIndex: -1, ref: titleRef },
32237
- React.createElement(Title, { headingLevel: "h2", size: "xl", className: "pfext-quick-start-panel-content__name", style: { marginRight: 'var(--pf-t--global--spacer--md)' } },
32238
- React.createElement("span", { dangerouslySetInnerHTML: {
32239
- __html: removeParagraphWrap(markdownConvert(quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.displayName)),
32240
- } }),
32241
- ' ',
32242
- React.createElement("small", { className: "pfext-quick-start-panel-content__duration" }, (quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
32243
- ? getResource('{{type}} • {{duration, number}} minutes', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
32244
- .replace('{{duration, number}}', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
32245
- .replace('{{type}}', getResource('Type'))
32246
- : getResource('Type')))),
32181
+ React.createElement("div", { tabIndex: -1, ref: titleRef },
32182
+ React.createElement(Title, { headingLevel: "h2", size: "xl", style: { marginRight: 'var(--pf-t--global--spacer--md)' } },
32183
+ React.createElement("span", null, quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.displayName),
32184
+ ' '),
32185
+ React.createElement("span", null, (quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
32186
+ ? getResource('{{type}} • {{duration, number}} minutes', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
32187
+ .replace('{{duration, number}}', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
32188
+ .replace('{{type}}', getResource('Type'))
32189
+ : getResource('Type'))),
32247
32190
  showClose && (React.createElement(DrawerActions, null,
32248
32191
  React.createElement(DrawerCloseButton, { onClick: handleClose, className: "pfext-quick-start-panel-content__close-button", "data-testid": "qs-drawer-close" }))))),
32249
- React.createElement(DrawerPanelBody, { hasNoPadding: true, className: "pfext-quick-start-panel-content__body", "data-test": "content" },
32192
+ React.createElement(DrawerPanelBody, { className: "pfext-quick-start-panel-content__body", "data-test": "content" },
32250
32193
  React.createElement(QuickStartController, { quickStart: quickStart, nextQuickStarts: nextQuickStarts, footerClass: footerClass, contentRef: setContentRef })))) : null;
32251
32194
  if (appendTo) {
32252
32195
  return ReactDOM.createPortal(content, getElement(appendTo));
@@ -32286,7 +32229,7 @@ const QuickStartContainer = (_a) => {
32286
32229
  };
32287
32230
  const QuickStartDrawer = (_a) => {
32288
32231
  var { quickStarts = [], children, appendTo, fullWidth, onCloseInProgress, onCloseNotInProgress } = _a, props = __rest(_a, ["quickStarts", "children", "appendTo", "fullWidth", "onCloseInProgress", "onCloseNotInProgress"]);
32289
- const { activeQuickStartID, setActiveQuickStart, allQuickStarts = [], activeQuickStartState, allQuickStartStates, setAllQuickStartStates, useLegacyHeaderColors, } = React.useContext(QuickStartContext);
32232
+ const { activeQuickStartID, setActiveQuickStart, allQuickStarts = [], activeQuickStartState, allQuickStartStates, setAllQuickStartStates, } = React.useContext(QuickStartContext);
32290
32233
  const combinedQuickStarts = allQuickStarts.concat(quickStarts);
32291
32234
  React.useEffect(() => {
32292
32235
  const params = new URLSearchParams(window.location.search);
@@ -32345,10 +32288,10 @@ const QuickStartDrawer = (_a) => {
32345
32288
  },
32346
32289
  }
32347
32290
  : {};
32348
- const panelContent = (React.createElement(QuickStartPanelContent, Object.assign({ quickStarts: combinedQuickStarts, handleClose: handleClose, activeQuickStartID: activeQuickStartID, appendTo: appendTo, isResizable: !fullWidth, headerVariant: useLegacyHeaderColors ? '' : 'blue-white' }, fullWidthPanelStyle)));
32291
+ const panelContent = (React.createElement(QuickStartPanelContent, Object.assign({ quickStarts: combinedQuickStarts, handleClose: handleClose, activeQuickStartID: activeQuickStartID, appendTo: appendTo, isResizable: !fullWidth }, fullWidthPanelStyle)));
32349
32292
  return (React.createElement(React.Fragment, null,
32350
32293
  React.createElement(Drawer, Object.assign({ isExpanded: !!activeQuickStartID, isInline: true }, props), children ? (React.createElement(DrawerContent, Object.assign({ panelContent: panelContent }, fullWidthBodyStyle),
32351
- React.createElement(DrawerContentBody, { className: "pfext-quick-start-drawer__body" }, children))) : (React.createElement("div", { className: "pf-v6-c-drawer__main" }, panelContent))),
32294
+ React.createElement(DrawerContentBody, null, children))) : (React.createElement("div", null, panelContent))),
32352
32295
  React.createElement(QuickStartCloseModal, { isOpen: modalOpen, onConfirm: onModalConfirm, onCancel: onModalCancel })));
32353
32296
  };
32354
32297
 
@@ -32426,17 +32369,17 @@ const HelpTopicPanelContent = (_a) => {
32426
32369
  !!((_b = activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.links) === null || _b === void 0 ? void 0 : _b.length) && React.createElement(Divider, null),
32427
32370
  paddingContainer(React.createElement(Stack, { hasGutter: true }, (_c = activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.links) === null || _c === void 0 ? void 0 : _c.map(({ href, text, newTab, isExternal }, index) => (React.createElement(StackItem, { key: index },
32428
32371
  React.createElement(Button, { component: "a", href: href, target: newTab ? '_blank' : '', rel: "noopener noreferrer", variant: "link", "aria-label": `Open documentation in new window`, isInline: true, icon: isExternal ? React.createElement(ExternalLinkAltIcon, null) : null, iconPosition: "right", style: { fontSize: 'inherit' } }, text || href))))))));
32429
- const content = (React.createElement(DrawerPanelContent, Object.assign({ isResizable: isResizable, className: "pfext-quick-start__base" }, props),
32372
+ const content = (React.createElement(DrawerPanelContent, Object.assign({ isResizable: isResizable }, props),
32430
32373
  React.createElement("div", null,
32431
32374
  React.createElement(DrawerHead, null,
32432
- React.createElement("div", { className: "pfext-quick-start-panel-content__title" },
32375
+ React.createElement("div", null,
32433
32376
  helpTopicOptions && (React.createElement(Select, { isPlain: true, id: "help-topics-select", selected: activeHelpTopic, isOpen: isHelpTopicMenuOpen, onSelect: onSelectHelpTopic, onOpenChange: (isOpen) => setIsHelpTopicMenuOpen(isOpen), toggle: (toggleRef) => (React.createElement(MenuToggle, { isFullWidth: true, ref: toggleRef, icon: React.createElement(BarsIcon, null), onClick: toggleHelpTopicMenu, isExpanded: isHelpTopicMenuOpen }, activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.title)) },
32434
32377
  React.createElement(SelectList, null, helpTopicOptions))),
32435
- React.createElement(Title, { headingLevel: "h1", size: "xl", className: "pfext-quick-start-panel-content__name", style: { marginRight: 'var(--pf-t--global--spacer--md)' } }, activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.title)),
32378
+ React.createElement(Title, { headingLevel: "h1", size: "xl", style: { marginRight: 'var(--pf-t--global--spacer--md)' } }, activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.title)),
32436
32379
  React.createElement(DrawerActions, null,
32437
- React.createElement(DrawerCloseButton, { onClick: onClose, className: "pfext-quick-start-panel-content__close-button", "data-testid": "qs-drawer-close" }))),
32380
+ React.createElement(DrawerCloseButton, { onClick: onClose, "data-testid": "qs-drawer-close" }))),
32438
32381
  React.createElement(Divider, null),
32439
- React.createElement(DrawerPanelBody, { hasNoPadding: true, className: "pfext-quick-start-panel-content__body", "data-test": "content" }, panelBodyItems))));
32382
+ React.createElement(DrawerPanelBody, { "data-test": "content" }, panelBodyItems))));
32440
32383
  return content;
32441
32384
  };
32442
32385
 
@@ -32468,7 +32411,7 @@ const HelpTopicDrawer = (_a) => {
32468
32411
  const panelContent = (React.createElement(HelpTopicPanelContent, { activeHelpTopic: activeHelpTopic, filteredHelpTopics: filteredHelpTopics, onClose: onClose }));
32469
32412
  return (React.createElement(React.Fragment, null,
32470
32413
  React.createElement(Drawer, Object.assign({ isExpanded: !!activeHelpTopic, isInline: true }, props), children ? (React.createElement(DrawerContent, { panelContent: panelContent },
32471
- React.createElement(DrawerContentBody, { className: "pfext-quick-start-drawer__body" }, children))) : (React.createElement("div", { className: "pf-v6-c-drawer__main" }, panelContent)))));
32414
+ React.createElement(DrawerContentBody, null, children))) : (React.createElement("div", { className: "pf-v6-c-drawer__main" }, panelContent)))));
32472
32415
  };
32473
32416
 
32474
32417
  const useLocalStorage = (key, initialValue) => {