@patternfly/quickstarts 6.0.0-alpha.6 → 6.0.0-prerelease.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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$1(...args) {
43
+ function css(...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$1(...args) {
50
50
  classes.push(arg);
51
51
  }
52
52
  else if (Array.isArray(arg) && arg.length) {
53
- const inner = css$1(...arg);
53
+ const inner = css(...arg);
54
54
  if (inner) {
55
55
  classes.push(inner);
56
56
  }
@@ -66,7 +66,7 @@ function css$1(...args) {
66
66
  return classes.join(' ');
67
67
  }
68
68
 
69
- var styles$v = {
69
+ var styles$w = {
70
70
  "content": "pf-v6-c-content",
71
71
  "contentA": "pf-v6-c-content--a",
72
72
  "contentBlockquote": "pf-v6-c-content--blockquote",
@@ -94,7 +94,7 @@ var styles$v = {
94
94
  }
95
95
  };
96
96
 
97
- var styles$u = {
97
+ var styles$v = {
98
98
  "modifiers": {
99
99
  "4xl": "pf-m-4xl",
100
100
  "3xl": "pf-m-3xl",
@@ -112,61 +112,61 @@ var styles$u = {
112
112
  "title": "pf-v6-c-title"
113
113
  };
114
114
 
115
- const global_breakpoint_sm = {
115
+ const t_global_breakpoint_sm = {
116
116
  "name": "--pf-t--global--breakpoint--sm",
117
117
  "value": "36rem",
118
118
  "var": "var(--pf-t--global--breakpoint--sm)"
119
119
  };
120
120
 
121
- const global_breakpoint_md = {
121
+ const t_global_breakpoint_md = {
122
122
  "name": "--pf-t--global--breakpoint--md",
123
123
  "value": "48rem",
124
124
  "var": "var(--pf-t--global--breakpoint--md)"
125
125
  };
126
126
 
127
- const global_breakpoint_lg = {
127
+ const t_global_breakpoint_lg = {
128
128
  "name": "--pf-t--global--breakpoint--lg",
129
129
  "value": "62rem",
130
130
  "var": "var(--pf-t--global--breakpoint--lg)"
131
131
  };
132
132
 
133
- const global_breakpoint_xl = {
133
+ const t_global_breakpoint_xl = {
134
134
  "name": "--pf-t--global--breakpoint--xl",
135
135
  "value": "75rem",
136
136
  "var": "var(--pf-t--global--breakpoint--xl)"
137
137
  };
138
138
 
139
- const global_breakpoint_2xl = {
139
+ const t_global_breakpoint_2xl = {
140
140
  "name": "--pf-t--global--breakpoint--2xl",
141
141
  "value": "90.625rem",
142
142
  "var": "var(--pf-t--global--breakpoint--2xl)"
143
143
  };
144
144
 
145
- const global_breakpoint_height_sm = {
145
+ const t_global_breakpoint_height_sm = {
146
146
  "name": "--pf-t--global--breakpoint--height--sm",
147
147
  "value": "0rem",
148
148
  "var": "var(--pf-t--global--breakpoint--height--sm)"
149
149
  };
150
150
 
151
- const global_breakpoint_height_md = {
151
+ const t_global_breakpoint_height_md = {
152
152
  "name": "--pf-t--global--breakpoint--height--md",
153
153
  "value": "40rem",
154
154
  "var": "var(--pf-t--global--breakpoint--height--md)"
155
155
  };
156
156
 
157
- const global_breakpoint_height_lg = {
157
+ const t_global_breakpoint_height_lg = {
158
158
  "name": "--pf-t--global--breakpoint--height--lg",
159
159
  "value": "48rem",
160
160
  "var": "var(--pf-t--global--breakpoint--height--lg)"
161
161
  };
162
162
 
163
- const global_breakpoint_height_xl = {
163
+ const t_global_breakpoint_height_xl = {
164
164
  "name": "--pf-t--global--breakpoint--height--xl",
165
165
  "value": "60rem",
166
166
  "var": "var(--pf-t--global--breakpoint--height--xl)"
167
167
  };
168
168
 
169
- const global_breakpoint_height_2xl = {
169
+ const t_global_breakpoint_height_2xl = {
170
170
  "name": "--pf-t--global--breakpoint--height--2xl",
171
171
  "value": "80rem",
172
172
  "var": "var(--pf-t--global--breakpoint--height--2xl)"
@@ -621,18 +621,18 @@ const KeyTypes = {
621
621
  ArrowRight: 'ArrowRight'
622
622
  };
623
623
  const globalWidthBreakpoints = {
624
- sm: parseInt(global_breakpoint_sm.value) * 16,
625
- md: parseInt(global_breakpoint_md.value) * 16,
626
- lg: parseInt(global_breakpoint_lg.value) * 16,
627
- xl: parseInt(global_breakpoint_xl.value) * 16,
628
- '2xl': parseInt(global_breakpoint_2xl.value) * 16
624
+ sm: parseInt(t_global_breakpoint_sm.value) * 16,
625
+ md: parseInt(t_global_breakpoint_md.value) * 16,
626
+ lg: parseInt(t_global_breakpoint_lg.value) * 16,
627
+ xl: parseInt(t_global_breakpoint_xl.value) * 16,
628
+ '2xl': parseInt(t_global_breakpoint_2xl.value) * 16
629
629
  };
630
630
  const globalHeightBreakpoints = {
631
- sm: parseInt(global_breakpoint_height_sm.value) * 16,
632
- md: parseInt(global_breakpoint_height_md.value) * 16,
633
- lg: parseInt(global_breakpoint_height_lg.value) * 16,
634
- xl: parseInt(global_breakpoint_height_xl.value) * 16,
635
- '2xl': parseInt(global_breakpoint_height_2xl.value) * 16
631
+ sm: parseInt(t_global_breakpoint_height_sm.value) * 16,
632
+ md: parseInt(t_global_breakpoint_height_md.value) * 16,
633
+ lg: parseInt(t_global_breakpoint_height_lg.value) * 16,
634
+ xl: parseInt(t_global_breakpoint_height_xl.value) * 16,
635
+ '2xl': parseInt(t_global_breakpoint_height_2xl.value) * 16
636
636
  };
637
637
  const statusIcons$2 = {
638
638
  success: CheckCircleIcon$1,
@@ -1212,10 +1212,18 @@ var isFocusable = function isFocusable(node, options) {
1212
1212
  };
1213
1213
 
1214
1214
  /*!
1215
- * focus-trap 7.5.4
1215
+ * focus-trap 7.6.0
1216
1216
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
1217
1217
  */
1218
1218
 
1219
+ function _defineProperty(e, r, t) {
1220
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
1221
+ value: t,
1222
+ enumerable: !0,
1223
+ configurable: !0,
1224
+ writable: !0
1225
+ }) : e[r] = t, e;
1226
+ }
1219
1227
  function ownKeys(e, r) {
1220
1228
  var t = Object.keys(e);
1221
1229
  if (Object.getOwnPropertySymbols) {
@@ -1237,33 +1245,19 @@ function _objectSpread2(e) {
1237
1245
  }
1238
1246
  return e;
1239
1247
  }
1240
- function _defineProperty(obj, key, value) {
1241
- key = _toPropertyKey(key);
1242
- if (key in obj) {
1243
- Object.defineProperty(obj, key, {
1244
- value: value,
1245
- enumerable: true,
1246
- configurable: true,
1247
- writable: true
1248
- });
1249
- } else {
1250
- obj[key] = value;
1251
- }
1252
- return obj;
1253
- }
1254
- function _toPrimitive(input, hint) {
1255
- if (typeof input !== "object" || input === null) return input;
1256
- var prim = input[Symbol.toPrimitive];
1257
- if (prim !== undefined) {
1258
- var res = prim.call(input, hint || "default");
1259
- if (typeof res !== "object") return res;
1248
+ function _toPrimitive(t, r) {
1249
+ if ("object" != typeof t || !t) return t;
1250
+ var e = t[Symbol.toPrimitive];
1251
+ if (void 0 !== e) {
1252
+ var i = e.call(t, r || "default");
1253
+ if ("object" != typeof i) return i;
1260
1254
  throw new TypeError("@@toPrimitive must return a primitive value.");
1261
1255
  }
1262
- return (hint === "string" ? String : Number)(input);
1256
+ return ("string" === r ? String : Number)(t);
1263
1257
  }
1264
- function _toPropertyKey(arg) {
1265
- var key = _toPrimitive(arg, "string");
1266
- return typeof key === "symbol" ? key : String(key);
1258
+ function _toPropertyKey(t) {
1259
+ var i = _toPrimitive(t, "string");
1260
+ return "symbol" == typeof i ? i : i + "";
1267
1261
  }
1268
1262
 
1269
1263
  var activeFocusTraps = {
@@ -1325,10 +1319,8 @@ var findIndex = function findIndex(arr, fn) {
1325
1319
  idx = i;
1326
1320
  return false; // break
1327
1321
  }
1328
-
1329
1322
  return true; // next
1330
1323
  });
1331
-
1332
1324
  return idx;
1333
1325
  };
1334
1326
 
@@ -1475,7 +1467,6 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1475
1467
  if (optionValue === true) {
1476
1468
  optionValue = undefined; // use default value
1477
1469
  }
1478
-
1479
1470
  if (!optionValue) {
1480
1471
  if (optionValue === undefined || optionValue === false) {
1481
1472
  return optionValue;
@@ -1621,25 +1612,25 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1621
1612
  *
1622
1613
  * @returns {HTMLElement} The element that currently has the focus
1623
1614
  **/
1624
- var getActiveElement = function getActiveElement(el) {
1615
+ var _getActiveElement = function getActiveElement(el) {
1625
1616
  var activeElement = el.activeElement;
1626
1617
  if (!activeElement) {
1627
1618
  return;
1628
1619
  }
1629
1620
  if (activeElement.shadowRoot && activeElement.shadowRoot.activeElement !== null) {
1630
- return getActiveElement(activeElement.shadowRoot);
1621
+ return _getActiveElement(activeElement.shadowRoot);
1631
1622
  }
1632
1623
  return activeElement;
1633
1624
  };
1634
- var tryFocus = function tryFocus(node) {
1625
+ var _tryFocus = function tryFocus(node) {
1635
1626
  if (node === false) {
1636
1627
  return;
1637
1628
  }
1638
- if (node === getActiveElement(document)) {
1629
+ if (node === _getActiveElement(document)) {
1639
1630
  return;
1640
1631
  }
1641
1632
  if (!node || !node.focus) {
1642
- tryFocus(getInitialFocusNode());
1633
+ _tryFocus(getInitialFocusNode());
1643
1634
  return;
1644
1635
  }
1645
1636
  node.focus({
@@ -1883,9 +1874,9 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1883
1874
  });
1884
1875
  }
1885
1876
  if (nextNode) {
1886
- tryFocus(nextNode);
1877
+ _tryFocus(nextNode);
1887
1878
  } else {
1888
- tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());
1879
+ _tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());
1889
1880
  }
1890
1881
  }
1891
1882
  state.recentNavEvent = undefined; // clear
@@ -1910,19 +1901,21 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1910
1901
  // to where it normally would
1911
1902
  event.preventDefault();
1912
1903
  }
1913
- tryFocus(destinationNode);
1904
+ _tryFocus(destinationNode);
1914
1905
  }
1915
1906
  // else, let the browser take care of [shift+]tab and move the focus
1916
1907
  };
1908
+ var checkTabKey = function checkTabKey(event) {
1909
+ if (config.isKeyForward(event) || config.isKeyBackward(event)) {
1910
+ checkKeyNav(event, config.isKeyBackward(event));
1911
+ }
1912
+ };
1917
1913
 
1918
- var checkKey = function checkKey(event) {
1914
+ // we use a different event phase for the Escape key to allow canceling the event and checking for this in escapeDeactivates
1915
+ var checkEscapeKey = function checkEscapeKey(event) {
1919
1916
  if (isEscapeEvent(event) && valueOrHandler(config.escapeDeactivates, event) !== false) {
1920
1917
  event.preventDefault();
1921
1918
  trap.deactivate();
1922
- return;
1923
- }
1924
- if (config.isKeyForward(event) || config.isKeyBackward(event)) {
1925
- checkKeyNav(event, config.isKeyBackward(event));
1926
1919
  }
1927
1920
  };
1928
1921
  var checkClick = function checkClick(e) {
@@ -1955,8 +1948,8 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1955
1948
  // Delay ensures that the focused element doesn't capture the event
1956
1949
  // that caused the focus trap activation.
1957
1950
  state.delayInitialFocusTimer = config.delayInitialFocus ? delay(function () {
1958
- tryFocus(getInitialFocusNode());
1959
- }) : tryFocus(getInitialFocusNode());
1951
+ _tryFocus(getInitialFocusNode());
1952
+ }) : _tryFocus(getInitialFocusNode());
1960
1953
  doc.addEventListener('focusin', checkFocusIn, true);
1961
1954
  doc.addEventListener('mousedown', checkPointerDown, {
1962
1955
  capture: true,
@@ -1970,10 +1963,11 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1970
1963
  capture: true,
1971
1964
  passive: false
1972
1965
  });
1973
- doc.addEventListener('keydown', checkKey, {
1966
+ doc.addEventListener('keydown', checkTabKey, {
1974
1967
  capture: true,
1975
1968
  passive: false
1976
1969
  });
1970
+ doc.addEventListener('keydown', checkEscapeKey);
1977
1971
  return trap;
1978
1972
  };
1979
1973
  var removeListeners = function removeListeners() {
@@ -1984,7 +1978,8 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1984
1978
  doc.removeEventListener('mousedown', checkPointerDown, true);
1985
1979
  doc.removeEventListener('touchstart', checkPointerDown, true);
1986
1980
  doc.removeEventListener('click', checkClick, true);
1987
- doc.removeEventListener('keydown', checkKey, true);
1981
+ doc.removeEventListener('keydown', checkTabKey, true);
1982
+ doc.removeEventListener('keydown', checkEscapeKey);
1988
1983
  return trap;
1989
1984
  };
1990
1985
 
@@ -2003,7 +1998,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
2003
1998
  // If the currently focused is removed then browsers will move focus to the
2004
1999
  // <body> element. If this happens, try to move focus back into the trap.
2005
2000
  if (isFocusedNodeRemoved) {
2006
- tryFocus(getInitialFocusNode());
2001
+ _tryFocus(getInitialFocusNode());
2007
2002
  }
2008
2003
  };
2009
2004
 
@@ -2089,7 +2084,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
2089
2084
  var finishDeactivation = function finishDeactivation() {
2090
2085
  delay(function () {
2091
2086
  if (returnFocus) {
2092
- tryFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation));
2087
+ _tryFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation));
2093
2088
  }
2094
2089
  onPostDeactivate === null || onPostDeactivate === void 0 || onPostDeactivate();
2095
2090
  });
@@ -4487,7 +4482,7 @@ const Popper = ({ trigger, popper, direction = 'down', position = 'start', place
4487
4482
  }
4488
4483
  return positionModifiers.top;
4489
4484
  };
4490
- 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,
4485
+ 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,
4491
4486
  opacity, transition: getOpacityTransition(animationDuration) }) }, attributes.popper);
4492
4487
  const getMenuWithPopper = () => {
4493
4488
  const localPopper = React.cloneElement(popper, options);
@@ -4803,11 +4798,11 @@ var TitleSizes;
4803
4798
  const Title = (_a) => {
4804
4799
  var { className = '', children = '', headingLevel: HeadingLevel, size, ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["className", "children", "headingLevel", "size", "ouiaId", "ouiaSafe"]);
4805
4800
  const ouiaProps = useOUIAProps(Title.displayName, ouiaId, ouiaSafe);
4806
- 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));
4801
+ return (React.createElement(HeadingLevel, Object.assign({}, ouiaProps, props, { className: css(styles$v.title, size ? styles$v.modifiers[size] : styles$v.modifiers[HeadingLevel], className) }), children));
4807
4802
  };
4808
4803
  Title.displayName = 'Title';
4809
4804
 
4810
- var buttonStyles = {
4805
+ var styles$u = {
4811
4806
  "badge": "pf-v6-c-badge",
4812
4807
  "button": "pf-v6-c-button",
4813
4808
  "buttonCount": "pf-v6-c-button__count",
@@ -4869,7 +4864,7 @@ var spinnerSize;
4869
4864
  })(spinnerSize || (spinnerSize = {}));
4870
4865
  const Spinner = (_a) => {
4871
4866
  var { 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']);
4872
- 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),
4867
+ return (React.createElement("svg", Object.assign({ className: css(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),
4873
4868
  React.createElement("circle", { className: styles$t.spinnerPath, cx: "50", cy: "50", r: "45", fill: "none" })));
4874
4869
  };
4875
4870
  Spinner.displayName = 'Spinner';
@@ -4886,7 +4881,7 @@ var styles$s = {
4886
4881
 
4887
4882
  const Badge = (_a) => {
4888
4883
  var { isRead = false, isDisabled = false, className = '', children = '', screenReaderText } = _a, props = __rest$1(_a, ["isRead", "isDisabled", "className", "children", "screenReaderText"]);
4889
- 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) }),
4884
+ return (React.createElement("span", Object.assign({}, props, { className: css(styles$s.badge, (isRead ? styles$s.modifiers.read : styles$s.modifiers.unread), isDisabled && styles$s.modifiers.disabled, className) }),
4890
4885
  children,
4891
4886
  screenReaderText && React.createElement("span", { className: "pf-v6-screen-reader" }, screenReaderText)));
4892
4887
  };
@@ -4928,6 +4923,7 @@ const ButtonBase = (_a) => {
4928
4923
  const Component = component;
4929
4924
  const isButtonElement = Component === 'button';
4930
4925
  const isInlineSpan = isInline && Component === 'span';
4926
+ const isIconAlignedAtEnd = iconPosition === 'end' || iconPosition === 'right';
4931
4927
  const preventedEvents = inoperableEvents.reduce((handlers, eventToPrevent) => (Object.assign(Object.assign({}, handlers), { [eventToPrevent]: (event) => {
4932
4928
  event.preventDefault();
4933
4929
  } })), {});
@@ -4942,13 +4938,17 @@ const ButtonBase = (_a) => {
4942
4938
  return 0;
4943
4939
  }
4944
4940
  };
4945
- 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),
4946
- isLoading && (React.createElement("span", { className: css$1(buttonStyles.buttonProgress) },
4941
+ const _icon = icon && (React.createElement("span", { className: css(styles$u.buttonIcon, children && styles$u.modifiers[isIconAlignedAtEnd ? 'end' : 'start']) }, icon));
4942
+ const _children = children && React.createElement("span", { className: css('pf-v6-c-button__text') }, children);
4943
+ return (React.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isAriaDisabled || (!isButtonElement && isDisabled), "aria-label": ariaLabel, className: css(styles$u.button, styles$u.modifiers[variant], isBlock && styles$u.modifiers.block, isDisabled && !isButtonElement && styles$u.modifiers.disabled, isAriaDisabled && styles$u.modifiers.ariaDisabled, isClicked && styles$u.modifiers.clicked, isInline && variant === ButtonVariant.link && styles$u.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && styles$u.modifiers.danger, isLoading !== null && variant !== ButtonVariant.plain && styles$u.modifiers.progress, isLoading && styles$u.modifiers.inProgress, hasNoPadding && variant === ButtonVariant.plain && styles$u.modifiers.noPadding, variant === ButtonVariant.stateful && styles$u.modifiers[state], size === ButtonSize.sm && styles$u.modifiers.small, size === ButtonSize.lg && styles$u.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : role, ref: innerRef }, ouiaProps),
4944
+ isLoading && (React.createElement("span", { className: css(styles$u.buttonProgress) },
4947
4945
  React.createElement(Spinner, { size: spinnerSize.md, isInline: isInline, "aria-valuetext": spinnerAriaValueText, "aria-label": spinnerAriaLabel, "aria-labelledby": spinnerAriaLabelledBy }))),
4948
- icon && (iconPosition === 'start' || iconPosition === 'left') && (React.createElement("span", { className: css$1(buttonStyles.buttonIcon, buttonStyles.modifiers.start) }, icon)),
4949
- children && React.createElement("span", { className: css$1('pf-v6-c-button__text') }, children),
4950
- icon && (iconPosition === 'end' || iconPosition === 'right') && (React.createElement("span", { className: css$1(buttonStyles.buttonIcon, buttonStyles.modifiers.end) }, icon)),
4951
- countOptions && (React.createElement("span", { className: css$1(buttonStyles.buttonCount, countOptions.className) },
4946
+ isIconAlignedAtEnd ? (React.createElement(React.Fragment, null,
4947
+ _children,
4948
+ _icon)) : (React.createElement(React.Fragment, null,
4949
+ _icon,
4950
+ _children)),
4951
+ countOptions && (React.createElement("span", { className: css(styles$u.buttonCount, countOptions.className) },
4952
4952
  React.createElement(Badge, { isRead: countOptions.isRead, isDisabled: isDisabled }, countOptions.count)))));
4953
4953
  };
4954
4954
  const Button = React.forwardRef((props, ref) => (React.createElement(ButtonBase, Object.assign({ innerRef: ref }, props))));
@@ -5003,19 +5003,19 @@ var styles$p = {
5003
5003
 
5004
5004
  const Backdrop = (_a) => {
5005
5005
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
5006
- return (React.createElement("div", Object.assign({}, props, { className: css$1(styles$r.backdrop, className) }), children));
5006
+ return (React.createElement("div", Object.assign({}, props, { className: css(styles$r.backdrop, className) }), children));
5007
5007
  };
5008
5008
  Backdrop.displayName = 'Backdrop';
5009
5009
 
5010
5010
  const ModalBoxBody = (_a) => {
5011
5011
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
5012
- return (React.createElement("div", Object.assign({}, props, { className: css$1(styles$q.modalBoxBody, className) }), children));
5012
+ return (React.createElement("div", Object.assign({}, props, { className: css(styles$q.modalBoxBody, className) }), children));
5013
5013
  };
5014
5014
  ModalBoxBody.displayName = 'ModalBoxBody';
5015
5015
 
5016
5016
  const ModalBoxCloseButton = (_a) => {
5017
5017
  var { className, onClose = () => undefined, 'aria-label': ariaLabel = 'Close', ouiaId } = _a, props = __rest$1(_a, ["className", "onClose", 'aria-label', "ouiaId"]);
5018
- return (React.createElement("div", { className: css$1(styles$q.modalBoxClose, className) },
5018
+ return (React.createElement("div", { className: css(styles$q.modalBoxClose, className) },
5019
5019
  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) }))));
5020
5020
  };
5021
5021
  ModalBoxCloseButton.displayName = 'ModalBoxCloseButton';
@@ -5032,27 +5032,27 @@ const ModalBox = (_a) => {
5032
5032
  style = style || {};
5033
5033
  style[c_modal_box_m_align_top_spacer.name] = positionOffset;
5034
5034
  }
5035
- 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));
5035
+ 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(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));
5036
5036
  };
5037
5037
  ModalBox.displayName = 'ModalBox';
5038
5038
 
5039
5039
  const ModalBoxFooter = (_a) => {
5040
5040
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
5041
- return (React.createElement("footer", Object.assign({}, props, { className: css$1(styles$q.modalBoxFooter, className) }), children));
5041
+ return (React.createElement("footer", Object.assign({}, props, { className: css(styles$q.modalBoxFooter, className) }), children));
5042
5042
  };
5043
5043
  ModalBoxFooter.displayName = 'ModalBoxFooter';
5044
5044
 
5045
5045
  const ModalBoxDescription = (_a) => {
5046
5046
  var { children = null, className = '', id = '' } = _a, props = __rest$1(_a, ["children", "className", "id"]);
5047
- return (React.createElement("div", Object.assign({}, props, { id: id, className: css$1(styles$q.modalBoxDescription, className) }), children));
5047
+ return (React.createElement("div", Object.assign({}, props, { id: id, className: css(styles$q.modalBoxDescription, className) }), children));
5048
5048
  };
5049
5049
  ModalBoxDescription.displayName = 'ModalBoxDescription';
5050
5050
 
5051
5051
  const ModalBoxHeader = (_a) => {
5052
5052
  var { children = null, className = '', help = null } = _a, props = __rest$1(_a, ["children", "className", "help"]);
5053
- return (React.createElement("header", Object.assign({ className: css$1(styles$q.modalBoxHeader, help && styles$q.modifiers.help, className) }, props),
5053
+ return (React.createElement("header", Object.assign({ className: css(styles$q.modalBoxHeader, help && styles$q.modifiers.help, className) }, props),
5054
5054
  help && (React.createElement(React.Fragment, null,
5055
- React.createElement("div", { className: css$1(styles$q.modalBoxHeaderMain) }, children),
5055
+ React.createElement("div", { className: css(styles$q.modalBoxHeaderMain) }, children),
5056
5056
  React.createElement("div", { className: `${styles$q.modalBoxHeader}-help` }, help))),
5057
5057
  !help && children));
5058
5058
  };
@@ -5081,13 +5081,13 @@ var styles$o = {
5081
5081
 
5082
5082
  const TooltipContent = (_a) => {
5083
5083
  var { className, children, isLeftAligned } = _a, props = __rest$1(_a, ["className", "children", "isLeftAligned"]);
5084
- return (React.createElement("div", Object.assign({ className: css$1(styles$o.tooltipContent, isLeftAligned && styles$o.modifiers.textAlignLeft, className) }, props), children));
5084
+ return (React.createElement("div", Object.assign({ className: css(styles$o.tooltipContent, isLeftAligned && styles$o.modifiers.textAlignLeft, className) }, props), children));
5085
5085
  };
5086
5086
  TooltipContent.displayName = 'TooltipContent';
5087
5087
 
5088
5088
  const TooltipArrow = (_a) => {
5089
5089
  var { className } = _a, props = __rest$1(_a, ["className"]);
5090
- return React.createElement("div", Object.assign({ className: css$1(styles$o.tooltipArrow, className) }, props));
5090
+ return React.createElement("div", Object.assign({ className: css(styles$o.tooltipArrow, className) }, props));
5091
5091
  };
5092
5092
  TooltipArrow.displayName = 'TooltipArrow';
5093
5093
 
@@ -5171,7 +5171,7 @@ const Tooltip = (_a) => {
5171
5171
  'right-end': styles$o.modifiers.rightBottom
5172
5172
  };
5173
5173
  const hasCustomMaxWidth = maxWidth !== c_tooltip_MaxWidth.value;
5174
- const content = (React.createElement("div", Object.assign({ "aria-live": ariaLive, className: css$1(styles$o.tooltip, className), role: "tooltip", id: id, style: {
5174
+ const content = (React.createElement("div", Object.assign({ "aria-live": ariaLive, className: css(styles$o.tooltip, className), role: "tooltip", id: id, style: {
5175
5175
  maxWidth: hasCustomMaxWidth ? maxWidth : null
5176
5176
  }, ref: popperRef }, rest),
5177
5177
  React.createElement(TooltipArrow, null),
@@ -5219,10 +5219,10 @@ const ModalBoxTitle = (_a) => {
5219
5219
  useIsomorphicLayoutEffect(() => {
5220
5220
  setHasTooltip(h1.current && h1.current.offsetWidth < h1.current.scrollWidth);
5221
5221
  }, []);
5222
- const content = (React.createElement("h1", Object.assign({ id: id, ref: h1, className: css$1(styles$q.modalBoxTitle, titleIconVariant && styles$q.modifiers.icon, className) }, props),
5223
- titleIconVariant && (React.createElement("span", { className: css$1(styles$q.modalBoxTitleIcon) }, isVariantIcon(titleIconVariant) ? variantIcons[titleIconVariant] : React.createElement(CustomIcon, null))),
5222
+ const content = (React.createElement("h1", Object.assign({ id: id, ref: h1, className: css(styles$q.modalBoxTitle, titleIconVariant && styles$q.modifiers.icon, className) }, props),
5223
+ titleIconVariant && (React.createElement("span", { className: css(styles$q.modalBoxTitleIcon) }, isVariantIcon(titleIconVariant) ? variantIcons[titleIconVariant] : React.createElement(CustomIcon, null))),
5224
5224
  label && React.createElement("span", { className: "pf-v6-screen-reader" }, label),
5225
- React.createElement("span", { className: css$1(styles$q.modalBoxTitleText) }, title)));
5225
+ React.createElement("span", { className: css(styles$q.modalBoxTitleText) }, title)));
5226
5226
  return hasTooltip ? React.createElement(Tooltip, { content: title }, content) : content;
5227
5227
  };
5228
5228
  ModalBoxTitle.displayName = 'ModalBoxTitle';
@@ -5256,7 +5256,7 @@ const ModalContent = (_a) => {
5256
5256
  }
5257
5257
  return idRefList.join(' ');
5258
5258
  };
5259
- 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 && {
5259
+ const modalBox = (React.createElement(ModalBox, Object.assign({ id: boxId, className: css(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 && {
5260
5260
  '--pf-v6-c-modal-box--MaxWidth': typeof maxWidth !== 'number' ? maxWidth : `${maxWidth}px`
5261
5261
  })) }),
5262
5262
  showClose && React.createElement(ModalBoxCloseButton, { onClose: (event) => onClose(event), ouiaId: ouiaId }),
@@ -5270,7 +5270,7 @@ const ModalContent = (_a) => {
5270
5270
  // FocusTrap's initialFocus can accept false as a value to prevent initial focus.
5271
5271
  // We want to prevent this in case false is ever passed in.
5272
5272
  initialFocus: elementToFocus || undefined
5273
- }, className: css$1(styles$p.bullseye) }, modalBox)));
5273
+ }, className: css(styles$p.bullseye) }, modalBox)));
5274
5274
  };
5275
5275
  ModalContent.displayName = 'ModalContent';
5276
5276
 
@@ -5330,10 +5330,10 @@ class Modal$1 extends React.Component {
5330
5330
  target.appendChild(container);
5331
5331
  target.addEventListener('keydown', this.handleEscKeyClick, false);
5332
5332
  if (this.props.isOpen) {
5333
- target.classList.add(css$1(styles$r.backdropOpen));
5333
+ target.classList.add(css(styles$r.backdropOpen));
5334
5334
  }
5335
5335
  else {
5336
- target.classList.remove(css$1(styles$r.backdropOpen));
5336
+ target.classList.remove(css(styles$r.backdropOpen));
5337
5337
  }
5338
5338
  if (!title && this.isEmpty(ariaLabel) && this.isEmpty(ariaLabelledby)) {
5339
5339
  // eslint-disable-next-line no-console
@@ -5348,11 +5348,11 @@ class Modal$1 extends React.Component {
5348
5348
  const { appendTo } = this.props;
5349
5349
  const target = this.getElement(appendTo);
5350
5350
  if (this.props.isOpen) {
5351
- target.classList.add(css$1(styles$r.backdropOpen));
5351
+ target.classList.add(css(styles$r.backdropOpen));
5352
5352
  this.toggleSiblingsFromScreenReaders(true);
5353
5353
  }
5354
5354
  else {
5355
- target.classList.remove(css$1(styles$r.backdropOpen));
5355
+ target.classList.remove(css(styles$r.backdropOpen));
5356
5356
  this.toggleSiblingsFromScreenReaders(false);
5357
5357
  }
5358
5358
  }
@@ -5363,7 +5363,7 @@ class Modal$1 extends React.Component {
5363
5363
  target.removeChild(this.state.container);
5364
5364
  }
5365
5365
  target.removeEventListener('keydown', this.handleEscKeyClick, false);
5366
- target.classList.remove(css$1(styles$r.backdropOpen));
5366
+ target.classList.remove(css(styles$r.backdropOpen));
5367
5367
  this.toggleSiblingsFromScreenReaders(false);
5368
5368
  }
5369
5369
  render() {
@@ -5425,7 +5425,7 @@ const AccordionItemContext = React.createContext({});
5425
5425
  const Accordion = (_a) => {
5426
5426
  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"]);
5427
5427
  const AccordionList = asDefinitionList ? 'dl' : 'div';
5428
- 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),
5428
+ return (React.createElement(AccordionList, Object.assign({ className: css(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),
5429
5429
  React.createElement(AccordionContext.Provider, { value: {
5430
5430
  ContentContainer: asDefinitionList ? 'dd' : 'div',
5431
5431
  ToggleContainer: asDefinitionList ? 'dt' : headingLevel,
@@ -5436,7 +5436,7 @@ Accordion.displayName = 'Accordion';
5436
5436
 
5437
5437
  const AccordionExpandableContentBody = (_a) => {
5438
5438
  var { children = null } = _a, props = __rest$1(_a, ["children"]);
5439
- return (React.createElement("div", Object.assign({ className: css$1(styles$n.accordionExpandableContentBody) }, props), children));
5439
+ return (React.createElement("div", Object.assign({ className: css(styles$n.accordionExpandableContentBody) }, props), children));
5440
5440
  };
5441
5441
  AccordionExpandableContentBody.displayName = 'AccordionExpandableContentBody';
5442
5442
 
@@ -5456,7 +5456,7 @@ const AccordionContent = (_a) => {
5456
5456
  }, [containerRef, isFixed, isExpanded]);
5457
5457
  return (React.createElement(AccordionContext.Consumer, null, ({ ContentContainer }) => {
5458
5458
  const Container = component || ContentContainer;
5459
- 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))));
5459
+ return (React.createElement(Container, Object.assign({ ref: containerRef, id: id, className: css(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))));
5460
5460
  }));
5461
5461
  };
5462
5462
  AccordionContent.displayName = 'AccordionContent';
@@ -5466,7 +5466,7 @@ const AccordionItem = (_a) => {
5466
5466
  return (React.createElement(AccordionItemContext.Provider, { value: {
5467
5467
  isExpanded: isExpandedProp
5468
5468
  } },
5469
- React.createElement("div", Object.assign({ className: css$1(styles$n.accordionItem, isExpandedProp && styles$n.modifiers.expanded, className) }, props), children)));
5469
+ React.createElement("div", Object.assign({ className: css(styles$n.accordionItem, isExpandedProp && styles$n.modifiers.expanded, className) }, props), children)));
5470
5470
  };
5471
5471
  AccordionItem.displayName = 'AccordionItem';
5472
5472
 
@@ -5483,16 +5483,16 @@ const AngleRightIcon = createIcon(AngleRightIconConfig);
5483
5483
 
5484
5484
  const AccordionToggle = (_a) => {
5485
5485
  var { className = '', id, children = null, component } = _a, props = __rest$1(_a, ["className", "id", "children", "component"]);
5486
- const renderToggleIcon = () => (React.createElement("span", { className: css$1(styles$n.accordionToggleIcon) },
5486
+ const renderToggleIcon = () => (React.createElement("span", { className: css(styles$n.accordionToggleIcon) },
5487
5487
  React.createElement(AngleRightIcon, null)));
5488
5488
  const { isExpanded } = React.useContext(AccordionItemContext);
5489
5489
  return (React.createElement(AccordionContext.Consumer, null, ({ ToggleContainer, togglePosition }) => {
5490
5490
  const Container = component || ToggleContainer;
5491
5491
  const isToggleStartPositioned = togglePosition === 'start';
5492
5492
  return (React.createElement(Container, null,
5493
- 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),
5493
+ React.createElement("button", Object.assign({ id: id, className: css(styles$n.accordionToggle, isExpanded && styles$n.modifiers.expanded, className), "aria-expanded": isExpanded, type: "button" }, props),
5494
5494
  isToggleStartPositioned && renderToggleIcon(),
5495
- React.createElement("span", { className: css$1(styles$n.accordionToggleText) }, children),
5495
+ React.createElement("span", { className: css(styles$n.accordionToggleText) }, children),
5496
5496
  !isToggleStartPositioned && renderToggleIcon())));
5497
5497
  }));
5498
5498
  };
@@ -5508,19 +5508,19 @@ var styles$m = {
5508
5508
 
5509
5509
  const ActionList = (_a) => {
5510
5510
  var { children, isIconList, className } = _a, props = __rest$1(_a, ["children", "isIconList", "className"]);
5511
- return (React.createElement("div", Object.assign({ className: css$1(styles$m.actionList, isIconList && styles$m.modifiers.icons, className) }, props), children));
5511
+ return (React.createElement("div", Object.assign({ className: css(styles$m.actionList, isIconList && styles$m.modifiers.icons, className) }, props), children));
5512
5512
  };
5513
5513
  ActionList.displayName = 'ActionList';
5514
5514
 
5515
5515
  const ActionListGroup = (_a) => {
5516
5516
  var { children, className, isIconGroup } = _a, props = __rest$1(_a, ["children", "className", "isIconGroup"]);
5517
- return (React.createElement("div", Object.assign({ className: css$1(styles$m.actionListGroup, isIconGroup && styles$m.modifiers.icons, className) }, props), children));
5517
+ return (React.createElement("div", Object.assign({ className: css(styles$m.actionListGroup, isIconGroup && styles$m.modifiers.icons, className) }, props), children));
5518
5518
  };
5519
5519
  ActionListGroup.displayName = 'ActionListGroup';
5520
5520
 
5521
5521
  const ActionListItem = (_a) => {
5522
5522
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
5523
- return (React.createElement("div", Object.assign({ className: css$1(`${styles$m.actionList}__item`, className) }, props), children));
5523
+ return (React.createElement("div", Object.assign({ className: css(`${styles$m.actionList}__item`, className) }, props), children));
5524
5524
  };
5525
5525
  ActionListItem.displayName = 'ActionListItem';
5526
5526
 
@@ -5559,7 +5559,7 @@ const variantIcons = {
5559
5559
  const AlertIcon = (_a) => {
5560
5560
  var { variant, customIcon, className = '' } = _a, props = __rest$1(_a, ["variant", "customIcon", "className"]);
5561
5561
  const Icon = variantIcons[variant];
5562
- return Icon ? (React.createElement("div", Object.assign({}, props, { className: css$1(styles$l.alertIcon, className) }), customIcon || React.createElement(Icon, null))) : null;
5562
+ return Icon ? (React.createElement("div", Object.assign({}, props, { className: css(styles$l.alertIcon, className) }), customIcon || React.createElement(Icon, null))) : null;
5563
5563
  };
5564
5564
 
5565
5565
  const AlertContext = React.createContext(null);
@@ -5573,7 +5573,7 @@ const c_alert__title_max_lines = {
5573
5573
  const AlertToggleExpandButton = (_a) => {
5574
5574
  var { 'aria-label': ariaLabel = '', variantLabel, onToggleExpand, isExpanded = false } = _a, props = __rest$1(_a, ['aria-label', "variantLabel", "onToggleExpand", "isExpanded"]);
5575
5575
  const { title, variantLabel: alertVariantLabel } = React.useContext(AlertContext);
5576
- 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) },
5576
+ 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(styles$l.alertToggleIcon) },
5577
5577
  React.createElement(AngleRightIcon, { "aria-hidden": "true" })) })));
5578
5578
  };
5579
5579
  AlertToggleExpandButton.displayName = 'AlertToggleExpandButton';
@@ -5658,20 +5658,20 @@ const Alert = (_a) => {
5658
5658
  if (dismissed) {
5659
5659
  return null;
5660
5660
  }
5661
- const Title = (React.createElement(TitleComponent, Object.assign({}, (isTooltipVisible && { tabIndex: 0 }), { ref: titleRef, className: css$1(styles$l.alertTitle, truncateTitle && styles$l.modifiers.truncate) }), getHeadingContent));
5662
- 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 && {
5661
+ const Title = (React.createElement(TitleComponent, Object.assign({}, (isTooltipVisible && { tabIndex: 0 }), { ref: titleRef, className: css(styles$l.alertTitle, truncateTitle && styles$l.modifiers.truncate) }), getHeadingContent));
5662
+ return (React.createElement("div", Object.assign({ ref: divRef, className: css(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 && {
5663
5663
  'aria-live': 'polite',
5664
5664
  'aria-atomic': 'false'
5665
5665
  }), { onMouseEnter: myOnMouseEnter, onMouseLeave: myOnMouseLeave, id: id }, props),
5666
5666
  isExpandable && (React.createElement(AlertContext.Provider, { value: { title, variantLabel } },
5667
- React.createElement("div", { className: css$1(styles$l.alertToggle) },
5667
+ React.createElement("div", { className: css(styles$l.alertToggle) },
5668
5668
  React.createElement(AlertToggleExpandButton, { isExpanded: isExpanded, onToggleExpand: onToggleExpand, "aria-label": toggleAriaLabel })))),
5669
5669
  React.createElement(AlertIcon, { variant: variant, customIcon: customIcon }),
5670
5670
  isTooltipVisible ? (React.createElement(Tooltip, { content: getHeadingContent, position: tooltipPosition }, Title)) : (Title),
5671
5671
  actionClose && (React.createElement(AlertContext.Provider, { value: { title, variantLabel } },
5672
- React.createElement("div", { className: css$1(styles$l.alertAction) }, actionClose))),
5673
- children && (!isExpandable || (isExpandable && isExpanded)) && (React.createElement("div", { className: css$1(styles$l.alertDescription) }, children)),
5674
- actionLinks && React.createElement("div", { className: css$1(styles$l.alertActionGroup) }, actionLinks)));
5672
+ React.createElement("div", { className: css(styles$l.alertAction) }, actionClose))),
5673
+ children && (!isExpandable || (isExpandable && isExpanded)) && (React.createElement("div", { className: css(styles$l.alertDescription) }, children)),
5674
+ actionLinks && React.createElement("div", { className: css(styles$l.alertActionGroup) }, actionLinks)));
5675
5675
  };
5676
5676
  Alert.displayName = 'Alert';
5677
5677
 
@@ -5706,10 +5706,11 @@ var formStyles = {
5706
5706
  "formControlToggleIcon": "pf-v6-c-form-control__toggle-icon",
5707
5707
  "formControlUtilities": "pf-v6-c-form-control__utilities",
5708
5708
  "modifiers": {
5709
- "readonly": "pf-m-readonly",
5709
+ "textarea": "pf-m-textarea",
5710
5710
  "success": "pf-m-success",
5711
5711
  "warning": "pf-m-warning",
5712
5712
  "error": "pf-m-error",
5713
+ "readonly": "pf-m-readonly",
5713
5714
  "plain": "pf-m-plain",
5714
5715
  "expanded": "pf-m-expanded",
5715
5716
  "disabled": "pf-m-disabled",
@@ -5730,7 +5731,7 @@ const statusIcons$1 = {
5730
5731
  const FormControlIcon = (_a) => {
5731
5732
  var { status, customIcon, className } = _a, props = __rest$1(_a, ["status", "customIcon", "className"]);
5732
5733
  const StatusIcon = status && statusIcons$1[status];
5733
- return (React.createElement("span", Object.assign({ className: css$1(formStyles.formControlIcon, status && formStyles.modifiers.status, className) }, props), customIcon || React.createElement(StatusIcon, null)));
5734
+ return (React.createElement("span", Object.assign({ className: css(formStyles.formControlIcon, status && formStyles.modifiers.status, className) }, props), customIcon || React.createElement(StatusIcon, null)));
5734
5735
  };
5735
5736
 
5736
5737
  var TextInputTypes;
@@ -5819,9 +5820,9 @@ class TextInputBase extends React.Component {
5819
5820
  const ariaExpandedProps = expandedProps
5820
5821
  ? { 'aria-expanded': expandedProps === null || expandedProps === void 0 ? void 0 : expandedProps.isExpanded, 'aria-controls': expandedProps === null || expandedProps === void 0 ? void 0 : expandedProps.ariaControls, role: 'combobox' }
5821
5822
  : {};
5822
- 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) },
5823
+ return (React.createElement("span", { className: css(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) },
5823
5824
  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))),
5824
- (customIcon || hasStatusIcon) && (React.createElement("span", { className: css$1(formStyles.formControlUtilities) },
5825
+ (customIcon || hasStatusIcon) && (React.createElement("span", { className: css(formStyles.formControlUtilities) },
5825
5826
  customIcon && React.createElement(FormControlIcon, { customIcon: customIcon }),
5826
5827
  hasStatusIcon && React.createElement(FormControlIcon, { status: validated })))));
5827
5828
  }
@@ -6084,7 +6085,7 @@ class MenuBase extends React.Component {
6084
6085
  }, noHorizontalArrowHandling: document.activeElement &&
6085
6086
  (document.activeElement.classList.contains(breadcrumbStyles.breadcrumbLink) ||
6086
6087
  document.activeElement.tagName === 'INPUT'), noEnterHandling: true, noSpaceHandling: true })),
6087
- 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)));
6088
+ 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)));
6088
6089
  }
6089
6090
  }
6090
6091
  MenuBase.displayName = 'Menu';
@@ -6138,7 +6139,7 @@ const MenuContent = React.forwardRef((props, ref) => {
6138
6139
  }
6139
6140
  return ref || menuContentRef;
6140
6141
  };
6141
- 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))));
6142
+ 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))));
6142
6143
  });
6143
6144
  MenuContent.displayName = 'MenuContent';
6144
6145
 
@@ -6234,22 +6235,22 @@ class Checkbox extends React.Component {
6234
6235
  if ([false, true].includes(defaultChecked)) {
6235
6236
  checkedProps.defaultChecked = defaultChecked;
6236
6237
  }
6237
- 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))));
6238
+ const inputRendered = (React.createElement("input", Object.assign({}, props, { className: css(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))));
6238
6239
  const wrapWithLabel = (isLabelWrapped && !component) || component === 'label';
6239
6240
  const Label = wrapWithLabel ? 'span' : 'label';
6240
- const labelRendered = label ? (React.createElement(Label, { className: css$1(styles$k.checkLabel, isDisabled && styles$k.modifiers.disabled), htmlFor: !wrapWithLabel ? props.id : undefined },
6241
+ const labelRendered = label ? (React.createElement(Label, { className: css(styles$k.checkLabel, isDisabled && styles$k.modifiers.disabled), htmlFor: !wrapWithLabel ? props.id : undefined },
6241
6242
  label,
6242
- isRequired && (React.createElement("span", { className: css$1(styles$k.checkLabelRequired), "aria-hidden": "true" }, ASTERISK)))) : null;
6243
+ isRequired && (React.createElement("span", { className: css(styles$k.checkLabelRequired), "aria-hidden": "true" }, ASTERISK)))) : null;
6243
6244
  const Component = component !== null && component !== void 0 ? component : (wrapWithLabel ? 'label' : 'div');
6244
6245
  checkedProps.checked = checkedProps.checked === null ? false : checkedProps.checked;
6245
- return (React.createElement(Component, { className: css$1(styles$k.check, !label && styles$k.modifiers.standalone, className), htmlFor: wrapWithLabel ? props.id : undefined },
6246
+ return (React.createElement(Component, { className: css(styles$k.check, !label && styles$k.modifiers.standalone, className), htmlFor: wrapWithLabel ? props.id : undefined },
6246
6247
  labelPosition === 'start' ? (React.createElement(React.Fragment, null,
6247
6248
  labelRendered,
6248
6249
  inputRendered)) : (React.createElement(React.Fragment, null,
6249
6250
  inputRendered,
6250
6251
  labelRendered)),
6251
- description && React.createElement("span", { className: css$1(styles$k.checkDescription) }, description),
6252
- body && React.createElement("span", { className: css$1(styles$k.checkBody) }, body)));
6252
+ description && React.createElement("span", { className: css(styles$k.checkDescription) }, description),
6253
+ body && React.createElement("span", { className: css(styles$k.checkBody) }, body)));
6253
6254
  }
6254
6255
  }
6255
6256
  Checkbox.displayName = 'Checkbox';
@@ -6284,7 +6285,7 @@ const MenuItemActionBase = (_a) => {
6284
6285
  // event specified on the Menu
6285
6286
  onActionClick && onActionClick(event, itemId, actionId);
6286
6287
  };
6287
- return (React.createElement("div", Object.assign({ className: css$1(menuStyles.menuItemAction, isFavorited !== null && 'pf-m-favorite', isFavorited && menuStyles.modifiers.favorited, className) }, props),
6288
+ return (React.createElement("div", Object.assign({ className: css(menuStyles.menuItemAction, isFavorited !== null && 'pf-m-favorite', isFavorited && menuStyles.modifiers.favorited, className) }, props),
6288
6289
  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 })));
6289
6290
  }))));
6290
6291
  };
@@ -6484,7 +6485,7 @@ const MenuItemBase = (_a) => {
6484
6485
  }, [isFocused]);
6485
6486
  const isSelectMenu = menuRole === 'listbox';
6486
6487
  const renderItem = (React.createElement(React.Fragment, null,
6487
- 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 && {
6488
+ 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 && {
6488
6489
  onClick: (event) => {
6489
6490
  if (!isAriaDisabled) {
6490
6491
  onItemSelect(event, onSelect);
@@ -6496,20 +6497,20 @@ const MenuItemBase = (_a) => {
6496
6497
  }
6497
6498
  }
6498
6499
  }), (hasCheckbox && { htmlFor: randomId }), additionalProps),
6499
- React.createElement("span", { className: css$1(menuStyles.menuItemMain) },
6500
- direction === 'up' && (React.createElement("span", { className: css$1(menuStyles.menuItemToggleIcon) },
6500
+ React.createElement("span", { className: css(menuStyles.menuItemMain) },
6501
+ direction === 'up' && (React.createElement("span", { className: css(menuStyles.menuItemToggleIcon) },
6501
6502
  React.createElement(AngleLeftIcon, { "aria-hidden": true }))),
6502
- icon && React.createElement("span", { className: css$1(menuStyles.menuItemIcon) }, icon),
6503
- hasCheckbox && (React.createElement("span", { className: css$1(menuStyles.menuItemCheck) },
6503
+ icon && React.createElement("span", { className: css(menuStyles.menuItemIcon) }, icon),
6504
+ hasCheckbox && (React.createElement("span", { className: css(menuStyles.menuItemCheck) },
6504
6505
  React.createElement(Checkbox, { id: randomId, component: "span", isChecked: isSelected || false, onChange: (event) => onItemSelect(event, onSelect), isDisabled: isDisabled, "aria-disabled": isAriaDisabled }))),
6505
- React.createElement("span", { className: css$1(menuStyles.menuItemText) }, children),
6506
- isExternalLink && (React.createElement("span", { className: css$1(menuStyles.menuItemExternalIcon) },
6506
+ React.createElement("span", { className: css(menuStyles.menuItemText) }, children),
6507
+ isExternalLink && (React.createElement("span", { className: css(menuStyles.menuItemExternalIcon) },
6507
6508
  React.createElement(ExternalLinkAltIcon$1, { "aria-hidden": true }))),
6508
- (flyoutMenu || direction === 'down') && (React.createElement("span", { className: css$1(menuStyles.menuItemToggleIcon) },
6509
+ (flyoutMenu || direction === 'down') && (React.createElement("span", { className: css(menuStyles.menuItemToggleIcon) },
6509
6510
  React.createElement(AngleRightIcon, { "aria-hidden": true }))),
6510
- getIsSelected() && (React.createElement("span", { className: css$1(menuStyles.menuItemSelectIcon) },
6511
+ getIsSelected() && (React.createElement("span", { className: css(menuStyles.menuItemSelectIcon) },
6511
6512
  React.createElement(CheckIcon, { "aria-hidden": true })))),
6512
- description && direction !== 'up' && (React.createElement("span", { className: css$1(menuStyles.menuItemDescription) },
6513
+ description && direction !== 'up' && (React.createElement("span", { className: css(menuStyles.menuItemDescription) },
6513
6514
  React.createElement("span", null, description)))))),
6514
6515
  flyoutVisible && (React.createElement(MenuContext.Provider, { value: { disableHover } },
6515
6516
  React.createElement(FlyoutContext.Provider, { value: { direction: flyoutXDirection } }, flyoutMenu))),
@@ -6517,7 +6518,7 @@ const MenuItemBase = (_a) => {
6517
6518
  React.createElement(MenuItemContext.Provider, { value: { itemId, isDisabled } },
6518
6519
  actions,
6519
6520
  isFavorited !== null && (React.createElement(MenuItemAction, { icon: "favorites", isFavorited: isFavorited, "aria-label": isFavorited ? 'starred' : 'not starred', onClick: (event) => onActionClick(event, itemId), tabIndex: -1, actionId: "fav" })))));
6520
- 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: () => {
6521
+ 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: () => {
6521
6522
  if (!isAriaDisabled) {
6522
6523
  onMouseOver();
6523
6524
  }
@@ -6529,7 +6530,7 @@ MenuItem.displayName = 'MenuItem';
6529
6530
  const MenuList = (_a) => {
6530
6531
  var { children = null, className, isAriaMultiselectable = false, 'aria-label': ariaLabel } = _a, props = __rest$1(_a, ["children", "className", "isAriaMultiselectable", 'aria-label']);
6531
6532
  const { role } = React.useContext(MenuContext);
6532
- return (React.createElement("ul", Object.assign({ role: role }, (role === 'listbox' && { 'aria-multiselectable': isAriaMultiselectable }), { className: css$1(menuStyles.menuList, className), "aria-label": ariaLabel }, props), children));
6533
+ return (React.createElement("ul", Object.assign({ role: role }, (role === 'listbox' && { 'aria-multiselectable': isAriaMultiselectable }), { className: css(menuStyles.menuList, className), "aria-label": ariaLabel }, props), children));
6533
6534
  };
6534
6535
  MenuList.displayName = 'MenuList';
6535
6536
 
@@ -6549,7 +6550,7 @@ const SelectBase = (_a) => {
6549
6550
  var _a;
6550
6551
  const firstElement = (_a = menuRef === null || menuRef === void 0 ? void 0 : menuRef.current) === null || _a === void 0 ? void 0 : _a.querySelector('li button:not(:disabled),li input:not(:disabled)');
6551
6552
  firstElement && firstElement.focus();
6552
- }, 0);
6553
+ }, 10);
6553
6554
  }
6554
6555
  prevIsOpen.current = isOpen;
6555
6556
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -6584,7 +6585,7 @@ const SelectBase = (_a) => {
6584
6585
  window.removeEventListener('click', handleClick);
6585
6586
  };
6586
6587
  }, [isOpen, menuRef, toggleRef, onOpenChange, onOpenChangeKeys]);
6587
- const menu = (React__default.createElement(Menu, Object.assign({ role: role, className: css$1(className), ref: menuRef, onSelect: (event, value) => {
6588
+ const menu = (React__default.createElement(Menu, Object.assign({ role: role, className: css(className), ref: menuRef, onSelect: (event, value) => {
6588
6589
  onSelect && onSelect(event, value);
6589
6590
  shouldFocusToggleOnSelect && toggleRef.current.focus();
6590
6591
  }, 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),
@@ -6596,18 +6597,19 @@ Select.displayName = 'Select';
6596
6597
 
6597
6598
  const SelectList = (_a) => {
6598
6599
  var { children, className, isAriaMultiselectable = false } = _a, props = __rest$1(_a, ["children", "className", "isAriaMultiselectable"]);
6599
- return (React__default.createElement(MenuList, Object.assign({ isAriaMultiselectable: isAriaMultiselectable, className: css$1(className) }, props), children));
6600
+ return (React__default.createElement(MenuList, Object.assign({ isAriaMultiselectable: isAriaMultiselectable, className: css(className) }, props), children));
6600
6601
  };
6601
6602
  SelectList.displayName = 'SelectList';
6602
6603
 
6603
6604
  const SelectOptionBase = (_a) => {
6604
6605
  var { children, className, innerRef, value } = _a, props = __rest$1(_a, ["children", "className", "innerRef", "value"]);
6605
- return (React__default.createElement(MenuItem, Object.assign({ itemId: value, ref: innerRef, className: css$1(className) }, props), children));
6606
+ return (React__default.createElement(MenuItem, Object.assign({ itemId: value, ref: innerRef, className: css(className) }, props), children));
6606
6607
  };
6607
6608
  const SelectOption = React__default.forwardRef((props, ref) => (React__default.createElement(SelectOptionBase, Object.assign({}, props, { innerRef: ref }))));
6608
6609
  SelectOption.displayName = 'SelectOption';
6609
6610
 
6610
6611
  var styles$j = {
6612
+ "avatar": "pf-v6-c-avatar",
6611
6613
  "button": "pf-v6-c-button",
6612
6614
  "check": "pf-v6-c-check",
6613
6615
  "checkInput": "pf-v6-c-check__input",
@@ -6631,10 +6633,12 @@ var styles$j = {
6631
6633
  "success": "pf-m-success",
6632
6634
  "warning": "pf-m-warning",
6633
6635
  "danger": "pf-m-danger",
6636
+ "placeholder": "pf-m-placeholder",
6634
6637
  "splitButton": "pf-m-split-button",
6635
- "action": "pf-m-action",
6638
+ "standalone": "pf-m-standalone",
6636
6639
  "typeahead": "pf-m-typeahead",
6637
- "text": "pf-m-text"
6640
+ "text": "pf-m-text",
6641
+ "avatar": "pf-m-avatar"
6638
6642
  },
6639
6643
  "textInputGroup": "pf-v6-c-text-input-group"
6640
6644
  };
@@ -6670,7 +6674,7 @@ class MenuToggleBase extends React.Component {
6670
6674
  };
6671
6675
  }
6672
6676
  render() {
6673
- const _a = this.props, { children, className, icon, badge, isExpanded, isDisabled, isFullHeight, isFullWidth, splitButtonOptions, variant, status, statusIcon, innerRef, onClick, 'aria-label': ariaLabel, ouiaId, ouiaSafe, size } = _a, otherProps = __rest$1(_a, ["children", "className", "icon", "badge", "isExpanded", "isDisabled", "isFullHeight", "isFullWidth", "splitButtonOptions", "variant", "status", "statusIcon", "innerRef", "onClick", 'aria-label', "ouiaId", "ouiaSafe", "size"]);
6677
+ const _a = this.props, { children, className, icon, badge, isExpanded, isDisabled, isFullHeight, isFullWidth, isPlaceholder, splitButtonItems, variant, status, statusIcon, innerRef, onClick, 'aria-label': ariaLabel, ouiaId, ouiaSafe, size } = _a, otherProps = __rest$1(_a, ["children", "className", "icon", "badge", "isExpanded", "isDisabled", "isFullHeight", "isFullWidth", "isPlaceholder", "splitButtonItems", "variant", "status", "statusIcon", "innerRef", "onClick", 'aria-label', "ouiaId", "ouiaSafe", "size"]);
6674
6678
  const isPlain = variant === 'plain';
6675
6679
  const isPlainText = variant === 'plainText';
6676
6680
  const isTypeahead = variant === 'typeahead';
@@ -6689,28 +6693,28 @@ class MenuToggleBase extends React.Component {
6689
6693
  break;
6690
6694
  }
6691
6695
  }
6692
- const toggleControls = (React.createElement("span", { className: css$1(styles$j.menuToggleControls) },
6693
- status !== undefined && React.createElement("span", { className: css$1(styles$j.menuToggleStatusIcon) }, _statusIcon),
6694
- React.createElement("span", { className: css$1(styles$j.menuToggleToggleIcon) },
6696
+ const toggleControls = (React.createElement("span", { className: css(styles$j.menuToggleControls) },
6697
+ status !== undefined && React.createElement("span", { className: css(styles$j.menuToggleStatusIcon) }, _statusIcon),
6698
+ React.createElement("span", { className: css(styles$j.menuToggleToggleIcon) },
6695
6699
  React.createElement(CaretDownIcon, { "aria-hidden": true }))));
6696
6700
  const content = (React.createElement(React.Fragment, null,
6697
- icon && React.createElement("span", { className: css$1(styles$j.menuToggleIcon) }, icon),
6698
- isTypeahead ? children : children && React.createElement("span", { className: css$1(styles$j.menuToggleText) }, children),
6699
- React.isValidElement(badge) && React.createElement("span", { className: css$1(styles$j.menuToggleCount) }, badge),
6700
- 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)));
6701
- 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, size === MenuToggleSize.sm && styles$j.modifiers.small, className);
6701
+ icon && React.createElement("span", { className: css(styles$j.menuToggleIcon) }, icon),
6702
+ isTypeahead ? children : children && React.createElement("span", { className: css(styles$j.menuToggleText) }, children),
6703
+ React.isValidElement(badge) && React.createElement("span", { className: css(styles$j.menuToggleCount) }, badge),
6704
+ isTypeahead ? (React.createElement("button", Object.assign({ type: "button", className: css(styles$j.menuToggleButton), "aria-expanded": isExpanded, onClick: onClick, "aria-label": ariaLabel || 'Menu toggle', tabIndex: -1 }, ouiaProps), toggleControls)) : (!isPlain && toggleControls)));
6705
+ const commonStyles = css(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, isPlaceholder && styles$j.modifiers.placeholder, size === MenuToggleSize.sm && styles$j.modifiers.small, className);
6702
6706
  const componentProps = Object.assign(Object.assign({ children: content }, (isDisabled && { disabled: true })), otherProps);
6703
6707
  if (isTypeahead) {
6704
- return (React.createElement("div", Object.assign({ ref: innerRef, className: css$1(commonStyles, styles$j.modifiers.typeahead) }, componentProps)));
6708
+ return (React.createElement("div", Object.assign({ ref: innerRef, className: css(commonStyles, styles$j.modifiers.typeahead) }, componentProps)));
6705
6709
  }
6706
- if (splitButtonOptions) {
6707
- 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 :
6708
- splitButtonOptions.items,
6709
- React.createElement("button", Object.assign({ className: css$1(styles$j.menuToggleButton, children && styles$j.modifiers.text), type: "button", "aria-expanded": isExpanded, "aria-label": ariaLabel, disabled: isDisabled, onClick: onClick }, otherProps, ouiaProps),
6710
- children && React.createElement("span", { className: css$1(styles$j.menuToggleText) }, children),
6710
+ if (splitButtonItems) {
6711
+ return (React.createElement("div", { ref: innerRef, className: css(commonStyles, styles$j.modifiers.splitButton) },
6712
+ splitButtonItems,
6713
+ React.createElement("button", Object.assign({ className: css(styles$j.menuToggleButton, children && styles$j.modifiers.text), type: "button", "aria-expanded": isExpanded, "aria-label": ariaLabel, disabled: isDisabled, onClick: onClick }, otherProps, ouiaProps),
6714
+ children && React.createElement("span", { className: css(styles$j.menuToggleText) }, children),
6711
6715
  toggleControls)));
6712
6716
  }
6713
- 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)));
6717
+ return (React.createElement("button", Object.assign({ className: css(commonStyles), type: "button", "aria-label": ariaLabel, "aria-expanded": isExpanded, ref: innerRef, disabled: isDisabled, onClick: onClick }, componentProps, ouiaProps)));
6714
6718
  }
6715
6719
  }
6716
6720
  MenuToggleBase.defaultProps = {
@@ -6719,6 +6723,7 @@ MenuToggleBase.defaultProps = {
6719
6723
  isDisabled: false,
6720
6724
  isFullWidth: false,
6721
6725
  isFullHeight: false,
6726
+ isPlaceholder: false,
6722
6727
  size: 'default',
6723
6728
  ouiaSafe: true
6724
6729
  };
@@ -6741,7 +6746,7 @@ const InputGroupBase = (_a) => {
6741
6746
  var { className, children, innerRef } = _a, props = __rest$1(_a, ["className", "children", "innerRef"]);
6742
6747
  const ref = React.useRef(null);
6743
6748
  const inputGroupRef = innerRef || ref;
6744
- return (React.createElement("div", Object.assign({ ref: inputGroupRef, className: css$1(styles$i.inputGroup, className) }, props), children));
6749
+ return (React.createElement("div", Object.assign({ ref: inputGroupRef, className: css(styles$i.inputGroup, className) }, props), children));
6745
6750
  };
6746
6751
  InputGroupBase.displayName = 'InputGroupBase';
6747
6752
  const InputGroup = React.forwardRef((props, ref) => (React.createElement(InputGroupBase, Object.assign({ innerRef: ref }, props))));
@@ -6749,7 +6754,7 @@ InputGroup.displayName = 'InputGroup';
6749
6754
 
6750
6755
  const InputGroupItem = (_a) => {
6751
6756
  var { className, children, isFill = false, isBox = false, isPlain, isDisabled } = _a, props = __rest$1(_a, ["className", "children", "isFill", "isBox", "isPlain", "isDisabled"]);
6752
- 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));
6757
+ return (React.createElement("div", Object.assign({ className: css(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));
6753
6758
  };
6754
6759
  InputGroupItem.displayName = 'InputGroupItem';
6755
6760
 
@@ -6815,13 +6820,13 @@ const Card = (_a) => {
6815
6820
  }
6816
6821
  const getSelectableModifiers = () => {
6817
6822
  if (isSelectable && isClickable) {
6818
- return css$1(styles$h.modifiers.selectable, styles$h.modifiers.clickable, (isSelected || isClicked) && styles$h.modifiers.current);
6823
+ return css(styles$h.modifiers.selectable, styles$h.modifiers.clickable, (isSelected || isClicked) && styles$h.modifiers.current);
6819
6824
  }
6820
6825
  if (isSelectable) {
6821
- return css$1(styles$h.modifiers.selectable, isSelected && styles$h.modifiers.selected);
6826
+ return css(styles$h.modifiers.selectable, isSelected && styles$h.modifiers.selected);
6822
6827
  }
6823
6828
  if (isClickable) {
6824
- return css$1(styles$h.modifiers.clickable, isClicked && styles$h.modifiers.current);
6829
+ return css(styles$h.modifiers.clickable, isClicked && styles$h.modifiers.current);
6825
6830
  }
6826
6831
  return '';
6827
6832
  };
@@ -6834,21 +6839,21 @@ const Card = (_a) => {
6834
6839
  isClicked,
6835
6840
  isDisabled
6836
6841
  } },
6837
- 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)));
6842
+ React.createElement(Component, Object.assign({ id: id, className: css(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)));
6838
6843
  };
6839
6844
  Card.displayName = 'Card';
6840
6845
 
6841
6846
  const CardBody = (_a) => {
6842
6847
  var { children, className, component = 'div', isFilled = true } = _a, props = __rest$1(_a, ["children", "className", "component", "isFilled"]);
6843
6848
  const Component = component;
6844
- return (React.createElement(Component, Object.assign({ className: css$1(styles$h.cardBody, !isFilled && styles$h.modifiers.noFill, className) }, props), children));
6849
+ return (React.createElement(Component, Object.assign({ className: css(styles$h.cardBody, !isFilled && styles$h.modifiers.noFill, className) }, props), children));
6845
6850
  };
6846
6851
  CardBody.displayName = 'CardBody';
6847
6852
 
6848
6853
  const CardFooter = (_a) => {
6849
6854
  var { children, className, component = 'div' } = _a, props = __rest$1(_a, ["children", "className", "component"]);
6850
6855
  const Component = component;
6851
- return (React.createElement(Component, Object.assign({ className: css$1(styles$h.cardFooter, className) }, props), children));
6856
+ return (React.createElement(Component, Object.assign({ className: css(styles$h.cardFooter, className) }, props), children));
6852
6857
  };
6853
6858
  CardFooter.displayName = 'CardFooter';
6854
6859
 
@@ -6857,26 +6862,26 @@ const CardTitle = (_a) => {
6857
6862
  const { cardId } = React.useContext(CardContext);
6858
6863
  const Component = component;
6859
6864
  const titleId = cardId ? `${cardId}-title` : '';
6860
- return (React.createElement("div", { className: css$1(styles$h.cardTitle) },
6861
- React.createElement(Component, Object.assign({ className: css$1(styles$h.cardTitleText, className), id: titleId || undefined }, props), children)));
6865
+ return (React.createElement("div", { className: css(styles$h.cardTitle) },
6866
+ React.createElement(Component, Object.assign({ className: css(styles$h.cardTitleText, className), id: titleId || undefined }, props), children)));
6862
6867
  };
6863
6868
  CardTitle.displayName = 'CardTitle';
6864
6869
 
6865
6870
  const CardHeaderMain = (_a) => {
6866
6871
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
6867
- return (React.createElement("div", Object.assign({ className: css$1(styles$h.cardHeaderMain, className) }, props), children));
6872
+ return (React.createElement("div", Object.assign({ className: css(styles$h.cardHeaderMain, className) }, props), children));
6868
6873
  };
6869
6874
  CardHeaderMain.displayName = 'CardHeaderMain';
6870
6875
 
6871
6876
  const CardActions = (_a) => {
6872
6877
  var { children, className, hasNoOffset = false } = _a, props = __rest$1(_a, ["children", "className", "hasNoOffset"]);
6873
- return (React.createElement("div", Object.assign({ className: css$1(styles$h.cardActions, hasNoOffset && styles$h.modifiers.noOffset, className) }, props), children));
6878
+ return (React.createElement("div", Object.assign({ className: css(styles$h.cardActions, hasNoOffset && styles$h.modifiers.noOffset, className) }, props), children));
6874
6879
  };
6875
6880
  CardActions.displayName = 'CardActions';
6876
6881
 
6877
6882
  const CardSelectableActions = (_a) => {
6878
6883
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
6879
- return (React.createElement("div", Object.assign({ className: css$1(styles$h.cardSelectableActions, className) }, props), children));
6884
+ return (React.createElement("div", Object.assign({ className: css(styles$h.cardSelectableActions, className) }, props), children));
6880
6885
  };
6881
6886
  CardSelectableActions.displayName = 'CardSelectableActions';
6882
6887
 
@@ -6914,19 +6919,19 @@ class Radio extends React.Component {
6914
6919
  // eslint-disable-next-line no-console
6915
6920
  console.error('Radio:', 'id is required to make input accessible');
6916
6921
  }
6917
- 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))));
6922
+ const inputRendered = (React.createElement("input", Object.assign({}, props, { className: css(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))));
6918
6923
  const wrapWithLabel = (isLabelWrapped && !component) || component === 'label';
6919
6924
  const Label = wrapWithLabel ? 'span' : 'label';
6920
- const labelRendered = label ? (React.createElement(Label, { className: css$1(styles$g.radioLabel, isDisabled && styles$g.modifiers.disabled), htmlFor: !wrapWithLabel ? props.id : undefined }, label)) : null;
6925
+ const labelRendered = label ? (React.createElement(Label, { className: css(styles$g.radioLabel, isDisabled && styles$g.modifiers.disabled), htmlFor: !wrapWithLabel ? props.id : undefined }, label)) : null;
6921
6926
  const Component = component !== null && component !== void 0 ? component : (wrapWithLabel ? 'label' : 'div');
6922
- return (React.createElement(Component, { className: css$1(styles$g.radio, !label && styles$g.modifiers.standalone, className), htmlFor: wrapWithLabel ? props.id : undefined },
6927
+ return (React.createElement(Component, { className: css(styles$g.radio, !label && styles$g.modifiers.standalone, className), htmlFor: wrapWithLabel ? props.id : undefined },
6923
6928
  labelPosition === 'start' ? (React.createElement(React.Fragment, null,
6924
6929
  labelRendered,
6925
6930
  inputRendered)) : (React.createElement(React.Fragment, null,
6926
6931
  inputRendered,
6927
6932
  labelRendered)),
6928
- description && React.createElement("span", { className: css$1(styles$g.radioDescription) }, description),
6929
- body && React.createElement("span", { className: css$1(styles$g.radioBody) }, body)));
6933
+ description && React.createElement("span", { className: css(styles$g.radioDescription) }, description),
6934
+ body && React.createElement("span", { className: css(styles$g.radioBody) }, body)));
6930
6935
  }
6931
6936
  }
6932
6937
  Radio.displayName = 'Radio';
@@ -6939,51 +6944,47 @@ Radio.defaultProps = {
6939
6944
 
6940
6945
  const CardHeader = (_a) => {
6941
6946
  var { children, className, actions, selectableActions, id, onExpand, toggleButtonProps, isToggleRightAligned } = _a, props = __rest$1(_a, ["children", "className", "actions", "selectableActions", "id", "onExpand", "toggleButtonProps", "isToggleRightAligned"]);
6942
- return (React.createElement(CardContext.Consumer, null, ({ cardId, isClickable, isSelectable, isSelected, isClicked, isDisabled: isCardDisabled }) => {
6943
- const cardHeaderToggle = (React.createElement("div", { className: css$1(styles$h.cardHeaderToggle) },
6947
+ const uniqueId = React.useId();
6948
+ return (React.createElement(CardContext.Consumer, null, ({ cardId, isClickable, isSelectable, isSelected, isDisabled: isCardDisabled }) => {
6949
+ const cardHeaderToggle = (React.createElement("div", { className: css(styles$h.cardHeaderToggle) },
6944
6950
  React.createElement(Button, Object.assign({ variant: "plain", type: "button", onClick: (evt) => {
6945
6951
  onExpand(evt, cardId);
6946
- } }, toggleButtonProps, { icon: React.createElement("span", { className: css$1(styles$h.cardHeaderToggleIcon) },
6952
+ } }, toggleButtonProps, { icon: React.createElement("span", { className: css(styles$h.cardHeaderToggleIcon) },
6947
6953
  React.createElement(AngleRightIcon, { "aria-hidden": "true" })) }))));
6948
6954
  const isClickableOrSelectableOnly = (isClickable && !isSelectable) || (isSelectable && !isClickable);
6949
6955
  if ((actions === null || actions === void 0 ? void 0 : actions.actions) && isClickableOrSelectableOnly) {
6950
6956
  // eslint-disable-next-line no-console
6951
- console.warn(`${isClickable ? 'Clickable' : 'Selectable'} only cards should not contain any other actions. If you wish to include additional actions, use a clickable and selectable card.`);
6957
+ console.error(`Card: ${isClickable ? 'Clickable' : 'Selectable'} only cards should not contain any other actions. If you wish to include additional actions, use a clickable and selectable card.`);
6952
6958
  }
6953
- const handleActionClick = (event) => {
6954
- if (selectableActions === null || selectableActions === void 0 ? void 0 : selectableActions.onClickAction) {
6955
- selectableActions.onClickAction(event);
6956
- }
6957
- else if (selectableActions === null || selectableActions === void 0 ? void 0 : selectableActions.to) {
6958
- window.open(selectableActions.to, selectableActions.isExternalLink ? '_blank' : '_self');
6959
- }
6959
+ const isClickableOnlyCard = isClickable && !isSelectable;
6960
+ if ((isClickableOnlyCard || isSelectable) &&
6961
+ !(selectableActions === null || selectableActions === void 0 ? void 0 : selectableActions.selectableActionAriaLabel) &&
6962
+ !(selectableActions === null || selectableActions === void 0 ? void 0 : selectableActions.selectableActionAriaLabelledby)) {
6963
+ // eslint-disable-next-line no-console
6964
+ console.error(`Card: ${isClickableOnlyCard ? 'Clickable-only cards' : 'Cards with a selectable input'} must have either the selectableActions.selectableActionAriaLabel or selectableActions.selectableActionAriaLabelledby prop passed in order to provide an accessible name to the clickable element.`);
6965
+ }
6966
+ const SelectableCardInput = (selectableActions === null || selectableActions === void 0 ? void 0 : selectableActions.variant) === 'single' ? Radio : Checkbox;
6967
+ const getSelectableProps = () => {
6968
+ var _a, _b;
6969
+ return (Object.assign({ className: css('pf-m-standalone'), inputClassName: css((selectableActions === null || selectableActions === void 0 ? void 0 : selectableActions.isHidden) && 'pf-v6-screen-reader'), label: React.createElement(React.Fragment, null), 'aria-label': selectableActions.selectableActionAriaLabel, 'aria-labelledby': selectableActions.selectableActionAriaLabelledby, id: (_a = selectableActions.selectableActionId) !== null && _a !== void 0 ? _a : `card-selectable-${uniqueId}`, name: selectableActions.name, isDisabled: isCardDisabled, onChange: selectableActions.onChange, isChecked: (_b = selectableActions.isChecked) !== null && _b !== void 0 ? _b : isSelected }, selectableActions.selectableActionProps));
6960
6970
  };
6961
- const getClickableSelectableProps = () => {
6962
- var _a;
6963
- const baseProps = {
6964
- className: 'pf-m-standalone',
6965
- inputClassName: isClickable && !isSelectable && 'pf-v6-screen-reader',
6966
- label: React.createElement(React.Fragment, null),
6967
- 'aria-label': selectableActions.selectableActionAriaLabel,
6968
- 'aria-labelledby': selectableActions.selectableActionAriaLabelledby,
6969
- id: selectableActions.selectableActionId,
6970
- name: selectableActions.name,
6971
- isDisabled: isCardDisabled
6972
- };
6973
- const isSelectableInputChecked = (_a = selectableActions.isChecked) !== null && _a !== void 0 ? _a : isSelected;
6974
- if (isClickable && !isSelectable) {
6975
- return Object.assign(Object.assign({}, baseProps), { onClick: handleActionClick, isChecked: isClicked });
6971
+ const isClickableLinkCard = (selectableActions === null || selectableActions === void 0 ? void 0 : selectableActions.to) !== undefined;
6972
+ const ClickableCardComponent = isClickableLinkCard ? 'a' : 'button';
6973
+ const getClickableProps = () => {
6974
+ const isDisabledLinkCard = isCardDisabled && isClickableLinkCard;
6975
+ const baseProps = Object.assign({ className: css('pf-v6-c-card__clickable-action', isDisabledLinkCard && styles$h.modifiers.disabled, (selectableActions === null || selectableActions === void 0 ? void 0 : selectableActions.isHidden) && 'pf-v6-screen-reader'), id: selectableActions.selectableActionId, 'aria-label': selectableActions.selectableActionAriaLabel, 'aria-labelledby': selectableActions.selectableActionAriaLabelledby }, selectableActions.selectableActionProps);
6976
+ if (isClickableLinkCard) {
6977
+ return Object.assign(Object.assign(Object.assign(Object.assign({}, baseProps), { href: selectableActions.to }), (isCardDisabled && { tabIndex: -1, 'aria-disabled': true })), (selectableActions.isExternalLink && { target: '_blank' }));
6976
6978
  }
6977
- if (isSelectable) {
6978
- return Object.assign(Object.assign({}, baseProps), { onChange: selectableActions.onChange, isChecked: isSelectableInputChecked });
6979
- }
6980
- return baseProps;
6979
+ return Object.assign(Object.assign({}, baseProps), { type: 'button', disabled: isCardDisabled, onClick: selectableActions.onClickAction });
6981
6980
  };
6982
- return (React.createElement("div", Object.assign({ className: css$1(styles$h.cardHeader, isToggleRightAligned && styles$h.modifiers.toggleRight, className), id: id }, props),
6981
+ return (React.createElement("div", Object.assign({ className: css(styles$h.cardHeader, isToggleRightAligned && styles$h.modifiers.toggleRight, className), id: id }, props),
6983
6982
  onExpand && !isToggleRightAligned && cardHeaderToggle,
6984
6983
  (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 :
6985
6984
  actions.actions,
6986
- selectableActions && (isClickable || isSelectable) && (React.createElement(CardSelectableActions, { className: selectableActions === null || selectableActions === void 0 ? void 0 : selectableActions.className }, (selectableActions === null || selectableActions === void 0 ? void 0 : selectableActions.variant) === 'single' || (isClickable && !isSelectable) ? (React.createElement(Radio, Object.assign({}, getClickableSelectableProps()))) : (React.createElement(Checkbox, Object.assign({}, getClickableSelectableProps()))))))),
6985
+ selectableActions && (isClickable || isSelectable) && (React.createElement(CardSelectableActions, { className: selectableActions === null || selectableActions === void 0 ? void 0 : selectableActions.className },
6986
+ isSelectable && React.createElement(SelectableCardInput, Object.assign({}, getSelectableProps())),
6987
+ isClickableOnlyCard && React.createElement(ClickableCardComponent, Object.assign({}, getClickableProps())))))),
6987
6988
  children && React.createElement(CardHeaderMain, null, children),
6988
6989
  onExpand && isToggleRightAligned && cardHeaderToggle));
6989
6990
  }));
@@ -7001,10 +7002,10 @@ var styles$f = {
7001
7002
 
7002
7003
  const CodeBlock = (_a) => {
7003
7004
  var { children = null, className, actions = null } = _a, props = __rest$1(_a, ["children", "className", "actions"]);
7004
- return (React.createElement("div", Object.assign({ className: css$1(styles$f.codeBlock, className) }, props),
7005
- actions && (React.createElement("div", { className: css$1(styles$f.codeBlockHeader) },
7006
- React.createElement("div", { className: css$1(styles$f.codeBlockActions) }, actions))),
7007
- React.createElement("div", { className: css$1(styles$f.codeBlockContent) }, children)));
7005
+ return (React.createElement("div", Object.assign({ className: css(styles$f.codeBlock, className) }, props),
7006
+ actions && (React.createElement("div", { className: css(styles$f.codeBlockHeader) },
7007
+ React.createElement("div", { className: css(styles$f.codeBlockActions) }, actions))),
7008
+ React.createElement("div", { className: css(styles$f.codeBlockContent) }, children)));
7008
7009
  };
7009
7010
  CodeBlock.displayName = 'CodeBlock';
7010
7011
 
@@ -7030,33 +7031,33 @@ var ContentVariants;
7030
7031
  ContentVariants["dd"] = "dd";
7031
7032
  })(ContentVariants || (ContentVariants = {}));
7032
7033
  const componentStyles = {
7033
- div: styles$v.content,
7034
- h1: styles$v.contentH1,
7035
- h2: styles$v.contentH2,
7036
- h3: styles$v.contentH3,
7037
- h4: styles$v.contentH4,
7038
- h5: styles$v.contentH5,
7039
- h6: styles$v.contentH6,
7040
- p: styles$v.contentP,
7041
- a: styles$v.contentA,
7042
- small: styles$v.contentSmall,
7043
- blockquote: styles$v.contentBlockquote,
7044
- pre: styles$v.contentPre,
7045
- hr: styles$v.contentHr,
7046
- ul: styles$v.contentUl,
7047
- ol: styles$v.contentOl,
7048
- dl: styles$v.contentDl,
7049
- li: styles$v.contentLi,
7050
- dt: styles$v.contentDt,
7051
- dd: styles$v.contentDd
7034
+ div: styles$w.content,
7035
+ h1: styles$w.contentH1,
7036
+ h2: styles$w.contentH2,
7037
+ h3: styles$w.contentH3,
7038
+ h4: styles$w.contentH4,
7039
+ h5: styles$w.contentH5,
7040
+ h6: styles$w.contentH6,
7041
+ p: styles$w.contentP,
7042
+ a: styles$w.contentA,
7043
+ small: styles$w.contentSmall,
7044
+ blockquote: styles$w.contentBlockquote,
7045
+ pre: styles$w.contentPre,
7046
+ hr: styles$w.contentHr,
7047
+ ul: styles$w.contentUl,
7048
+ ol: styles$w.contentOl,
7049
+ dl: styles$w.contentDl,
7050
+ li: styles$w.contentLi,
7051
+ dt: styles$w.contentDt,
7052
+ dd: styles$w.contentDd
7052
7053
  };
7053
7054
  const Content = (_a) => {
7054
- var { children, className = '', component, isPlainList = false, isVisitedLink = false, ouiaId, ouiaSafe = true } = _a, props = __rest$1(_a, ["children", "className", "component", "isPlainList", "isVisitedLink", "ouiaId", "ouiaSafe"]);
7055
+ var { children, className = '', component, isPlainList = false, isVisitedLink = false, ouiaId, ouiaSafe = true, isEditorial = false } = _a, props = __rest$1(_a, ["children", "className", "component", "isPlainList", "isVisitedLink", "ouiaId", "ouiaSafe", "isEditorial"]);
7055
7056
  const wrappingComponent = component !== null && component !== void 0 ? component : 'div';
7056
7057
  const Component = wrappingComponent;
7057
7058
  const ouiaProps = useOUIAProps(Content.displayName, ouiaId, ouiaSafe);
7058
7059
  const isList = ['ul', 'ol', 'dl'].includes(wrappingComponent);
7059
- 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));
7060
+ return (React.createElement(Component, Object.assign({}, ouiaProps, props, { "data-pf-content": true, className: css(componentStyles[wrappingComponent], isList && isPlainList && styles$w.modifiers.plain, isVisitedLink && styles$w.modifiers.visited, isEditorial && styles$w.modifiers.editorial, className) }), children));
7060
7061
  };
7061
7062
  Content.displayName = 'Content';
7062
7063
 
@@ -7098,33 +7099,33 @@ const PopoverContext = React.createContext({});
7098
7099
 
7099
7100
  const PopoverContent = (_a) => {
7100
7101
  var { className = null, children } = _a, props = __rest$1(_a, ["className", "children"]);
7101
- return (React.createElement("div", Object.assign({ className: css$1(styles$e.popoverContent, className) }, props), children));
7102
+ return (React.createElement("div", Object.assign({ className: css(styles$e.popoverContent, className) }, props), children));
7102
7103
  };
7103
7104
  PopoverContent.displayName = 'PopoverContent';
7104
7105
 
7105
7106
  const PopoverBody = (_a) => {
7106
7107
  var { children, id, className } = _a, props = __rest$1(_a, ["children", "id", "className"]);
7107
- return (React.createElement("div", Object.assign({ className: css$1(styles$e.popoverBody, className), id: id }, props), children));
7108
+ return (React.createElement("div", Object.assign({ className: css(styles$e.popoverBody, className), id: id }, props), children));
7108
7109
  };
7109
7110
  PopoverBody.displayName = 'PopoverBody';
7110
7111
 
7111
7112
  const PopoverHeaderIcon = (_a) => {
7112
7113
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
7113
- return (React.createElement("span", Object.assign({ className: css$1(styles$e.popoverTitleIcon, className) }, props), children));
7114
+ return (React.createElement("span", Object.assign({ className: css(styles$e.popoverTitleIcon, className) }, props), children));
7114
7115
  };
7115
7116
  PopoverHeaderIcon.displayName = 'PopoverHeaderIcon';
7116
7117
 
7117
7118
  const PopoverHeaderText = (_a) => {
7118
7119
  var { children, className, headingLevel } = _a, props = __rest$1(_a, ["children", "className", "headingLevel"]);
7119
7120
  const HeadingLevel = headingLevel;
7120
- return (React.createElement(HeadingLevel, Object.assign({ className: css$1(styles$e.popoverTitleText, className) }, props), children));
7121
+ return (React.createElement(HeadingLevel, Object.assign({ className: css(styles$e.popoverTitleText, className) }, props), children));
7121
7122
  };
7122
7123
  PopoverHeaderText.displayName = 'PopoverHeaderText';
7123
7124
 
7124
7125
  const PopoverHeader = (_a) => {
7125
7126
  var { children, icon, className, titleHeadingLevel = 'h6', alertSeverityVariant, id, alertSeverityScreenReaderText } = _a, props = __rest$1(_a, ["children", "icon", "className", "titleHeadingLevel", "alertSeverityVariant", "id", "alertSeverityScreenReaderText"]);
7126
- return (React.createElement("header", Object.assign({ className: css$1(styles$e.popoverHeader, className) }, props),
7127
- React.createElement("div", { className: css$1(styles$e.popoverTitle), id: id },
7127
+ return (React.createElement("header", Object.assign({ className: css(styles$e.popoverHeader, className) }, props),
7128
+ React.createElement("div", { className: css(styles$e.popoverTitle), id: id },
7128
7129
  icon && React.createElement(PopoverHeaderIcon, null, icon),
7129
7130
  React.createElement(PopoverHeaderText, { headingLevel: titleHeadingLevel },
7130
7131
  alertSeverityVariant && alertSeverityScreenReaderText && (React.createElement("span", { className: "pf-v6-screen-reader" }, alertSeverityScreenReaderText)),
@@ -7134,20 +7135,20 @@ PopoverHeader.displayName = 'PopoverHeader';
7134
7135
 
7135
7136
  const PopoverFooter = (_a) => {
7136
7137
  var { children, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
7137
- return (React.createElement("footer", Object.assign({ className: css$1(styles$e.popoverFooter, className) }, props), children));
7138
+ return (React.createElement("footer", Object.assign({ className: css(styles$e.popoverFooter, className) }, props), children));
7138
7139
  };
7139
7140
  PopoverFooter.displayName = 'PopoverFooter';
7140
7141
 
7141
7142
  const PopoverCloseButton = (_a) => {
7142
7143
  var { onClose = () => undefined } = _a, props = __rest$1(_a, ["onClose"]);
7143
- return (React.createElement("div", { className: css$1(styles$e.popoverClose) },
7144
+ return (React.createElement("div", { className: css(styles$e.popoverClose) },
7144
7145
  React.createElement(Button, Object.assign({ onClick: onClose, variant: "plain", "aria-label": true }, props, { style: { pointerEvents: 'auto' }, icon: React.createElement(TimesIcon, null) }))));
7145
7146
  };
7146
7147
  PopoverCloseButton.displayName = 'PopoverCloseButton';
7147
7148
 
7148
7149
  const PopoverArrow = (_a) => {
7149
7150
  var { className = '' } = _a, props = __rest$1(_a, ["className"]);
7150
- return React.createElement("div", Object.assign({ className: css$1(styles$e.popoverArrow, className) }, props));
7151
+ return React.createElement("div", Object.assign({ className: css(styles$e.popoverArrow, className) }, props));
7151
7152
  };
7152
7153
  PopoverArrow.displayName = 'PopoverArrow';
7153
7154
 
@@ -7362,7 +7363,7 @@ const Popover = (_a) => {
7362
7363
  }
7363
7364
  return node;
7364
7365
  }
7365
- }, 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: {
7366
+ }, preventScrollOnDeactivate: true, className: css(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: {
7366
7367
  minWidth: hasCustomMinWidth ? minWidth : null,
7367
7368
  maxWidth: hasCustomMaxWidth ? maxWidth : null
7368
7369
  } }, rest),
@@ -7463,7 +7464,7 @@ var DividerVariant;
7463
7464
  const Divider = (_a) => {
7464
7465
  var { className, component = DividerVariant.hr, inset, orientation } = _a, props = __rest$1(_a, ["className", "component", "inset", "orientation"]);
7465
7466
  const Component = component;
7466
- return (React.createElement(Component, Object.assign({ className: css$1(dividerStyles.divider, formatBreakpointMods(inset, dividerStyles), formatBreakpointMods(orientation, dividerStyles), className) }, (component !== 'hr' && { role: 'separator' }), props)));
7467
+ return (React.createElement(Component, Object.assign({ className: css(dividerStyles.divider, formatBreakpointMods(inset, dividerStyles), formatBreakpointMods(orientation, dividerStyles), className) }, (component !== 'hr' && { role: 'separator' }), props)));
7467
7468
  };
7468
7469
  Divider.displayName = 'Divider';
7469
7470
 
@@ -7485,9 +7486,9 @@ var styles$d = {
7485
7486
  "modifiers": {
7486
7487
  "panelBottom": "pf-m-panel-bottom",
7487
7488
  "inline": "pf-m-inline",
7489
+ "static": "pf-m-static",
7488
7490
  "noBorder": "pf-m-no-border",
7489
7491
  "resizable": "pf-m-resizable",
7490
- "static": "pf-m-static",
7491
7492
  "panelLeft": "pf-m-panel-left",
7492
7493
  "expanded": "pf-m-expanded",
7493
7494
  "resizing": "pf-m-resizing",
@@ -7527,8 +7528,7 @@ var styles$d = {
7527
7528
  "staticOnXl": "pf-m-static-on-xl",
7528
7529
  "inlineOn_2xl": "pf-m-inline-on-2xl",
7529
7530
  "staticOn_2xl": "pf-m-static-on-2xl"
7530
- },
7531
- "pageMain": "pf-v6-c-page__main"
7531
+ }
7532
7532
  };
7533
7533
 
7534
7534
  var DrawerColorVariant;
@@ -7551,27 +7551,26 @@ const Drawer = (_a) => {
7551
7551
  const drawerRef = React.useRef();
7552
7552
  const drawerContentRef = React.useRef();
7553
7553
  return (React.createElement(DrawerContext.Provider, { value: { isExpanded, isStatic, onExpand, position, drawerRef, drawerContentRef, isInline } },
7554
- 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)));
7554
+ React.createElement("div", Object.assign({ className: css(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)));
7555
7555
  };
7556
7556
  Drawer.displayName = 'Drawer';
7557
7557
 
7558
7558
  const DrawerActions = (_a) => {
7559
7559
  var { className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
7560
- return (React.createElement("div", Object.assign({ className: css$1(styles$d.drawerActions, className) }, props), children));
7560
+ return (React.createElement("div", Object.assign({ className: css(styles$d.drawerActions, className) }, props), children));
7561
7561
  };
7562
7562
  DrawerActions.displayName = 'DrawerActions';
7563
7563
 
7564
7564
  const DrawerCloseButton = (_a) => {
7565
7565
  var { className = '', onClose = () => undefined, 'aria-label': ariaLabel = 'Close drawer panel' } = _a, props = __rest$1(_a, ["className", "onClose", 'aria-label']);
7566
- return (React.createElement("div", Object.assign({ className: css$1(styles$d.drawerClose, className) }, props),
7567
- React.createElement(Button, { variant: "plain", onClick: onClose, "aria-label": ariaLabel },
7568
- React.createElement(TimesIcon, null))));
7566
+ return (React.createElement("div", Object.assign({ className: css(styles$d.drawerClose, className) }, props),
7567
+ React.createElement(Button, { variant: "plain", onClick: onClose, "aria-label": ariaLabel, icon: React.createElement(TimesIcon, null) })));
7569
7568
  };
7570
7569
  DrawerCloseButton.displayName = 'DrawerCloseButton';
7571
7570
 
7572
7571
  const DrawerMain = (_a) => {
7573
7572
  var { className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
7574
- return (React.createElement("div", Object.assign({ className: css$1(styles$d.drawerMain, className) }, props), children));
7573
+ return (React.createElement("div", Object.assign({ className: css(styles$d.drawerMain, className) }, props), children));
7575
7574
  };
7576
7575
  DrawerMain.displayName = 'DrawerMain';
7577
7576
 
@@ -7585,26 +7584,26 @@ const DrawerContent = (_a) => {
7585
7584
  var { className, children, panelContent, colorVariant = DrawerContentColorVariant.default } = _a, props = __rest$1(_a, ["className", "children", "panelContent", "colorVariant"]);
7586
7585
  const { drawerContentRef } = React.useContext(DrawerContext);
7587
7586
  return (React.createElement(DrawerMain, null,
7588
- 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),
7587
+ React.createElement("div", Object.assign({ className: css(styles$d.drawerContent, colorVariant === DrawerContentColorVariant.primary && styles$d.modifiers.primary, colorVariant === DrawerContentColorVariant.secondary && styles$d.modifiers.secondary, className), ref: drawerContentRef }, props), children),
7589
7588
  panelContent));
7590
7589
  };
7591
7590
  DrawerContent.displayName = 'DrawerContent';
7592
7591
 
7593
7592
  const DrawerContentBody = (_a) => {
7594
7593
  var { className = '', children, hasPadding = false } = _a, props = __rest$1(_a, ["className", "children", "hasPadding"]);
7595
- return (React.createElement("div", Object.assign({ className: css$1(styles$d.drawerBody, hasPadding && styles$d.modifiers.padding, className) }, props), children));
7594
+ return (React.createElement("div", Object.assign({ className: css(styles$d.drawerBody, hasPadding && styles$d.modifiers.padding, className) }, props), children));
7596
7595
  };
7597
7596
  DrawerContentBody.displayName = 'DrawerContentBody';
7598
7597
 
7599
7598
  const DrawerHead = (_a) => {
7600
7599
  var { className = '', children } = _a, props = __rest$1(_a, ["className", "children"]);
7601
- return (React.createElement("div", Object.assign({ className: css$1(styles$d.drawerHead, className) }, props), children));
7600
+ return (React.createElement("div", Object.assign({ className: css(styles$d.drawerHead, className) }, props), children));
7602
7601
  };
7603
7602
  DrawerHead.displayName = 'DrawerHead';
7604
7603
 
7605
7604
  const DrawerPanelBody = (_a) => {
7606
7605
  var { className = '', children, hasNoPadding = false } = _a, props = __rest$1(_a, ["className", "children", "hasNoPadding"]);
7607
- return (React.createElement("div", Object.assign({ className: css$1(styles$d.drawerBody, hasNoPadding && styles$d.modifiers.noPadding, className) }, props), children));
7606
+ return (React.createElement("div", Object.assign({ className: css(styles$d.drawerBody, hasNoPadding && styles$d.modifiers.noPadding, className) }, props), children));
7608
7607
  };
7609
7608
  DrawerPanelBody.displayName = 'DrawerPanelBody';
7610
7609
 
@@ -7729,7 +7728,7 @@ const DrawerPanelContent = (_a) => {
7729
7728
  e.preventDefault();
7730
7729
  document.addEventListener('mousemove', callbackMouseMove);
7731
7730
  document.addEventListener('mouseup', callbackMouseUp);
7732
- drawerRef.current.classList.add(css$1(styles$d.modifiers.resizing));
7731
+ drawerRef.current.classList.add(css(styles$d.modifiers.resizing));
7733
7732
  isResizing = true;
7734
7733
  setInitialVals = true;
7735
7734
  };
@@ -7784,7 +7783,7 @@ const DrawerPanelContent = (_a) => {
7784
7783
  if (!isResizing) {
7785
7784
  return;
7786
7785
  }
7787
- drawerRef.current.classList.remove(css$1(styles$d.modifiers.resizing));
7786
+ drawerRef.current.classList.remove(css(styles$d.modifiers.resizing));
7788
7787
  isResizing = false;
7789
7788
  onResize && onResize(e, currWidth, id);
7790
7789
  setInitialVals = true;
@@ -7895,7 +7894,7 @@ const DrawerPanelContent = (_a) => {
7895
7894
  escapeDeactivates: false
7896
7895
  }
7897
7896
  };
7898
- 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) => {
7897
+ return (React.createElement(Component, Object.assign({}, (isValidFocusTrap && focusTrapProps), { id: id || panelId, className: css(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) => {
7899
7898
  if (ev.target === panel.current) {
7900
7899
  if (!hidden && ev.nativeEvent.propertyName === 'transform') {
7901
7900
  onExpand(ev);
@@ -7909,9 +7908,9 @@ const DrawerPanelContent = (_a) => {
7909
7908
  style: boundaryCssVars
7910
7909
  }), props, { ref: panel }), isExpandedInternal && (React.createElement(React.Fragment, null,
7911
7910
  isResizable && (React.createElement(React.Fragment, null,
7912
- 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 },
7913
- React.createElement("div", { className: css$1(styles$d.drawerSplitterHandle), "aria-hidden": true })),
7914
- React.createElement("div", { className: css$1(styles$d.drawerPanelMain) }, children))),
7911
+ React.createElement("div", { className: css(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 },
7912
+ React.createElement("div", { className: css(styles$d.drawerSplitterHandle), "aria-hidden": true })),
7913
+ React.createElement("div", { className: css(styles$d.drawerPanelMain) }, children))),
7915
7914
  !isResizable && children))));
7916
7915
  }));
7917
7916
  };
@@ -7951,9 +7950,9 @@ var styles$c = {
7951
7950
  const Icon = (_a) => {
7952
7951
  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"]);
7953
7952
  const _progressIcon = progressIcon !== null && progressIcon !== void 0 ? progressIcon : React.createElement(Spinner, { diameter: "1em", "aria-label": defaultProgressArialabel });
7954
- 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),
7955
- 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),
7956
- isInProgress && (React.createElement("span", { className: css$1(styles$c.iconProgress, styles$c.modifiers[progressIconSize], className) }, _progressIcon))));
7953
+ return (React.createElement("span", Object.assign({ className: css(styles$c.icon, isInline && styles$c.modifiers.inline, isInProgress && styles$c.modifiers.inProgress, styles$c.modifiers[size], className) }, props),
7954
+ React.createElement("span", { className: css(styles$c.iconContent, styles$c.modifiers[iconSize], styles$c.modifiers[status], shouldMirrorRTL && 'pf-v6-m-mirror-inline-rtl') }, children),
7955
+ isInProgress && (React.createElement("span", { className: css(styles$c.iconProgress, styles$c.modifiers[progressIconSize], className) }, _progressIcon))));
7957
7956
  };
7958
7957
  Icon.displayName = 'Icon';
7959
7958
 
@@ -8043,10 +8042,10 @@ var styles$b = {
8043
8042
 
8044
8043
  const ActionGroup = (_a) => {
8045
8044
  var { children = null, className = '' } = _a, props = __rest$1(_a, ["children", "className"]);
8046
- const customClassName = css$1(styles$b.formGroup, styles$b.modifiers.action, className);
8047
- const formActionsComponent = React.createElement("div", { className: css$1(styles$b.formActions) }, children);
8045
+ const customClassName = css(styles$b.formGroup, styles$b.modifiers.action, className);
8046
+ const formActionsComponent = React.createElement("div", { className: css(styles$b.formActions) }, children);
8048
8047
  return (React.createElement("div", Object.assign({}, props, { className: customClassName }),
8049
- React.createElement("div", { className: css$1(styles$b.formGroupControl) }, formActionsComponent)));
8048
+ React.createElement("div", { className: css(styles$b.formGroupControl) }, formActionsComponent)));
8050
8049
  };
8051
8050
  ActionGroup.displayName = 'ActionGroup';
8052
8051
 
@@ -8060,7 +8059,7 @@ const FormBase = (_a) => {
8060
8059
  var { children = null, className = '', isHorizontal = false, isWidthLimited = false, maxWidth = '', innerRef } = _a, props = __rest$1(_a, ["children", "className", "isHorizontal", "isWidthLimited", "maxWidth", "innerRef"]);
8061
8060
  return (React.createElement("form", Object.assign({ noValidate: true }, (maxWidth && {
8062
8061
  style: Object.assign({ [c_form_m_limit_width_MaxWidth.name]: maxWidth }, props.style)
8063
- }), props, { className: css$1(styles$b.form, isHorizontal && styles$b.modifiers.horizontal, (isWidthLimited || maxWidth) && styles$b.modifiers.limitWidth, className), ref: innerRef }), children));
8062
+ }), props, { className: css(styles$b.form, isHorizontal && styles$b.modifiers.horizontal, (isWidthLimited || maxWidth) && styles$b.modifiers.limitWidth, className), ref: innerRef }), children));
8064
8063
  };
8065
8064
  const Form = React.forwardRef((props, ref) => React.createElement(FormBase, Object.assign({ innerRef: ref }, props)));
8066
8065
  Form.displayName = 'Form';
@@ -8070,20 +8069,20 @@ const FormGroup = (_a) => {
8070
8069
  const isGroupOrRadioGroup = role === 'group' || role === 'radiogroup';
8071
8070
  const LabelComponent = isGroupOrRadioGroup ? 'span' : 'label';
8072
8071
  const labelContent = (React.createElement(React.Fragment, null,
8073
- React.createElement(LabelComponent, Object.assign({ className: css$1(styles$b.formLabel) }, (!isGroupOrRadioGroup && { htmlFor: fieldId })),
8074
- React.createElement("span", { className: css$1(styles$b.formLabelText) }, label),
8075
- isRequired && (React.createElement("span", { className: css$1(styles$b.formLabelRequired), "aria-hidden": "true" },
8072
+ React.createElement(LabelComponent, Object.assign({ className: css(styles$b.formLabel) }, (!isGroupOrRadioGroup && { htmlFor: fieldId })),
8073
+ React.createElement("span", { className: css(styles$b.formLabelText) }, label),
8074
+ isRequired && (React.createElement("span", { className: css(styles$b.formLabelRequired), "aria-hidden": "true" },
8076
8075
  ' ',
8077
8076
  ASTERISK))),
8078
8077
  React.createElement(React.Fragment, null, "\u00A0\u00A0"),
8079
8078
  React.isValidElement(labelHelp) && React.createElement("span", { className: styles$b.formGroupLabelHelp }, labelHelp)));
8080
- 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),
8081
- 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` })),
8079
+ return (React.createElement(GenerateId, null, (randomId) => (React.createElement("div", Object.assign({ className: css(styles$b.formGroup, className) }, (role && { role }), (isGroupOrRadioGroup && { 'aria-labelledby': `${fieldId || randomId}-legend` }), props),
8080
+ label && (React.createElement("div", Object.assign({ className: css(styles$b.formGroupLabel, labelInfo && styles$b.modifiers.info, hasNoPaddingTop && styles$b.modifiers.noPaddingTop) }, (isGroupOrRadioGroup && { id: `${fieldId || randomId}-legend` })),
8082
8081
  labelInfo && (React.createElement(React.Fragment, null,
8083
- React.createElement("div", { className: css$1(styles$b.formGroupLabelMain) }, labelContent),
8084
- React.createElement("div", { className: css$1(styles$b.formGroupLabelInfo) }, labelInfo))),
8082
+ React.createElement("div", { className: css(styles$b.formGroupLabelMain) }, labelContent),
8083
+ React.createElement("div", { className: css(styles$b.formGroupLabelInfo) }, labelInfo))),
8085
8084
  !labelInfo && labelContent)),
8086
- React.createElement("div", { className: css$1(styles$b.formGroupControl, isInline && styles$b.modifiers.inline, isStack && styles$b.modifiers.stack) }, children)))));
8085
+ React.createElement("div", { className: css(styles$b.formGroupControl, isInline && styles$b.modifiers.inline, isStack && styles$b.modifiers.stack) }, children)))));
8087
8086
  };
8088
8087
  FormGroup.displayName = 'FormGroup';
8089
8088
 
@@ -8103,7 +8102,7 @@ var styles$a = {
8103
8102
 
8104
8103
  const PanelBase = (_a) => {
8105
8104
  var { className, children, variant, isScrollable, innerRef } = _a, props = __rest$1(_a, ["className", "children", "variant", "isScrollable", "innerRef"]);
8106
- 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));
8105
+ return (React.createElement("div", Object.assign({ className: css(styles$a.panel, variant && styles$a.modifiers[variant], isScrollable && styles$a.modifiers.scrollable, className), ref: innerRef }, props), children));
8107
8106
  };
8108
8107
  const Panel = React.forwardRef((props, ref) => (React.createElement(PanelBase, Object.assign({ innerRef: ref }, props))));
8109
8108
  Panel.displayName = 'Panel';
@@ -8116,13 +8115,13 @@ const c_panel__main_MaxHeight = {
8116
8115
 
8117
8116
  const PanelMain = (_a) => {
8118
8117
  var { className, children, maxHeight } = _a, props = __rest$1(_a, ["className", "children", "maxHeight"]);
8119
- return (React.createElement("div", Object.assign({ className: css$1(styles$a.panelMain, className), style: { [c_panel__main_MaxHeight.name]: maxHeight } }, props), children));
8118
+ return (React.createElement("div", Object.assign({ className: css(styles$a.panelMain, className), style: { [c_panel__main_MaxHeight.name]: maxHeight } }, props), children));
8120
8119
  };
8121
8120
  PanelMain.displayName = 'PanelMain';
8122
8121
 
8123
8122
  const PanelMainBody = (_a) => {
8124
8123
  var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
8125
- return (React.createElement("div", Object.assign({ className: css$1(styles$a.panelMainBody, className) }, props), children));
8124
+ return (React.createElement("div", Object.assign({ className: css(styles$a.panelMainBody, className) }, props), children));
8126
8125
  };
8127
8126
  PanelMainBody.displayName = 'PanelMainBody';
8128
8127
 
@@ -8222,7 +8221,7 @@ const AdvancedSearchMenu = ({ className, parentRef, parentInputRef, value = '',
8222
8221
  React.createElement(TextInput, { type: "text", id: randomId, value: getValue('haswords'), onChange: (evt, value) => handleValueChange('haswords', value, evt) })))));
8223
8222
  return formGroups;
8224
8223
  };
8225
- return isSearchMenuOpen ? (React.createElement(Panel, { variant: "raised", className: css$1(className) },
8224
+ return isSearchMenuOpen ? (React.createElement(Panel, { variant: "raised", className: css(className) },
8226
8225
  React.createElement(PanelMain, null,
8227
8226
  React.createElement(PanelMainBody, null,
8228
8227
  React.createElement(Form, null,
@@ -8259,35 +8258,43 @@ const TextInputGroupContext = React.createContext({
8259
8258
  isDisabled: false
8260
8259
  });
8261
8260
  const TextInputGroup = (_a) => {
8262
- var { children, className, isDisabled, isPlain, innerRef } = _a, props = __rest$1(_a, ["children", "className", "isDisabled", "isPlain", "innerRef"]);
8261
+ var { children, className, isDisabled, isPlain, validated, innerRef } = _a, props = __rest$1(_a, ["children", "className", "isDisabled", "isPlain", "validated", "innerRef"]);
8263
8262
  const ref = React.useRef(null);
8264
8263
  const textInputGroupRef = innerRef || ref;
8265
- return (React.createElement(TextInputGroupContext.Provider, { value: { isDisabled } },
8266
- React.createElement("div", Object.assign({ ref: textInputGroupRef, className: css$1(textInputGroupStyles.textInputGroup, isDisabled && textInputGroupStyles.modifiers.disabled, isPlain && textInputGroupStyles.modifiers.plain, className) }, props), children)));
8264
+ return (React.createElement(TextInputGroupContext.Provider, { value: { isDisabled, validated } },
8265
+ React.createElement("div", Object.assign({ ref: textInputGroupRef, className: css(textInputGroupStyles.textInputGroup, isDisabled && textInputGroupStyles.modifiers.disabled, isPlain && textInputGroupStyles.modifiers.plain, validated && textInputGroupStyles.modifiers[validated], className) }, props), children)));
8267
8266
  };
8268
8267
  TextInputGroup.displayName = 'TextInputGroup';
8269
8268
 
8269
+ const TextInputGroupIcon = (_a) => {
8270
+ var { children, className, isStatus } = _a, props = __rest$1(_a, ["children", "className", "isStatus"]);
8271
+ return (React.createElement("span", Object.assign({ className: css(textInputGroupStyles.textInputGroupIcon, isStatus && textInputGroupStyles.modifiers.status, className) }, props), children));
8272
+ };
8273
+ TextInputGroupIcon.displayName = 'TextInputGroupIcon';
8274
+
8270
8275
  const TextInputGroupMainBase = (_a) => {
8271
8276
  var { children, className, icon, type = 'text', hint, onChange = () => undefined, onFocus, onBlur, 'aria-label': ariaLabel = 'Type to filter', value: inputValue, placeholder: inputPlaceHolder, innerRef, name, 'aria-activedescendant': ariaActivedescendant, role, isExpanded, 'aria-controls': ariaControls, inputId } = _a, props = __rest$1(_a, ["children", "className", "icon", "type", "hint", "onChange", "onFocus", "onBlur", 'aria-label', "value", "placeholder", "innerRef", "name", 'aria-activedescendant', "role", "isExpanded", 'aria-controls', "inputId"]);
8272
- const { isDisabled } = React.useContext(TextInputGroupContext);
8277
+ const { isDisabled, validated } = React.useContext(TextInputGroupContext);
8273
8278
  const ref = React.useRef(null);
8274
8279
  const textInputGroupInputInputRef = innerRef || ref;
8280
+ const StatusIcon = statusIcons$2[validated === ValidatedOptions.error ? 'danger' : validated];
8275
8281
  const handleChange = (event) => {
8276
8282
  onChange(event, event.currentTarget.value);
8277
8283
  };
8278
- return (React.createElement("div", Object.assign({ className: css$1(textInputGroupStyles.textInputGroupMain, icon && textInputGroupStyles.modifiers.icon, className) }, props),
8284
+ return (React.createElement("div", Object.assign({ className: css(textInputGroupStyles.textInputGroupMain, icon && textInputGroupStyles.modifiers.icon, className) }, props),
8279
8285
  children,
8280
- React.createElement("span", { className: css$1(textInputGroupStyles.textInputGroupText) },
8281
- hint && (React.createElement("input", { className: css$1(textInputGroupStyles.textInputGroupTextInput, textInputGroupStyles.modifiers.hint), type: "text", disabled: true, "aria-hidden": "true", value: hint, id: inputId })),
8282
- icon && React.createElement("span", { className: css$1(textInputGroupStyles.textInputGroupIcon) }, icon),
8283
- 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 }))))));
8286
+ React.createElement("span", { className: css(textInputGroupStyles.textInputGroupText) },
8287
+ hint && (React.createElement("input", { className: css(textInputGroupStyles.textInputGroupTextInput, textInputGroupStyles.modifiers.hint), type: "text", disabled: true, "aria-hidden": "true", value: hint, id: inputId })),
8288
+ icon && React.createElement(TextInputGroupIcon, null, icon),
8289
+ 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 }))),
8290
+ validated && React.createElement(TextInputGroupIcon, { isStatus: true }, React.createElement(StatusIcon, { "aria-hidden": "true" })))));
8284
8291
  };
8285
8292
  const TextInputGroupMain = React.forwardRef((props, ref) => (React.createElement(TextInputGroupMainBase, Object.assign({ innerRef: ref }, props))));
8286
8293
  TextInputGroupMain.displayName = 'TextInputGroupMain';
8287
8294
 
8288
8295
  const TextInputGroupUtilities = (_a) => {
8289
8296
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
8290
- return (React.createElement("div", Object.assign({ className: css$1(textInputGroupStyles.textInputGroupUtilities, className) }, props), children));
8297
+ return (React.createElement("div", Object.assign({ className: css(textInputGroupStyles.textInputGroupUtilities, className) }, props), children));
8291
8298
  };
8292
8299
  TextInputGroupUtilities.displayName = 'TextInputGroupUtilities';
8293
8300
 
@@ -8443,7 +8450,7 @@ const SearchInputBase = (_a) => {
8443
8450
  React.createElement(ArrowRightIcon$1, null)) }))),
8444
8451
  expandableInput && React.createElement(InputGroupItem, null, expandableToggle)));
8445
8452
  };
8446
- const searchInputProps = Object.assign(Object.assign({}, props), { className: className && css$1(className), innerRef: searchInputRef });
8453
+ const searchInputProps = Object.assign(Object.assign({}, props), { className: className && css(className), innerRef: searchInputRef });
8447
8454
  if (!!expandableInput && !isExpanded) {
8448
8455
  return (React.createElement(InputGroup, Object.assign({}, searchInputProps),
8449
8456
  React.createElement(InputGroupItem, null, expandableToggle)));
@@ -8452,9 +8459,9 @@ const SearchInputBase = (_a) => {
8452
8459
  if (attributes.length > 0) {
8453
8460
  const AdvancedSearch = (React.createElement("div", { ref: popperRef },
8454
8461
  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 })));
8455
- const AdvancedSearchWithPopper = (React.createElement("div", Object.assign({ className: css$1(className), ref: searchInputRef }, props),
8462
+ const AdvancedSearchWithPopper = (React.createElement("div", Object.assign({ className: css(className), ref: searchInputRef }, props),
8456
8463
  React.createElement(Popper, { trigger: buildSearchTextInputGroupWithExtraButtons(), triggerRef: triggerRef, popper: AdvancedSearch, popperRef: popperRef, isVisible: isSearchMenuOpen, enableFlip: true, appendTo: () => appendTo || searchInputRef.current, zIndex: zIndex })));
8457
- const AdvancedSearchInline = (React.createElement("div", Object.assign({ className: css$1(className), ref: searchInputRef }, props),
8464
+ const AdvancedSearchInline = (React.createElement("div", Object.assign({ className: css(className), ref: searchInputRef }, props),
8458
8465
  buildSearchTextInputGroupWithExtraButtons(),
8459
8466
  AdvancedSearch));
8460
8467
  return appendTo !== 'inline' ? AdvancedSearchWithPopper : AdvancedSearchInline;
@@ -8493,7 +8500,7 @@ const isSpinner = (icon) => icon.type === Spinner;
8493
8500
  const EmptyStateIcon = (_a) => {
8494
8501
  var { className, icon: IconComponent } = _a, props = __rest$1(_a, ["className", "icon"]);
8495
8502
  const iconIsSpinner = isSpinner(React.createElement(IconComponent, null));
8496
- return (React.createElement("div", { className: css$1(styles$9.emptyStateIcon) },
8503
+ return (React.createElement("div", { className: css(styles$9.emptyStateIcon) },
8497
8504
  React.createElement(IconComponent, Object.assign({ className: className, "aria-hidden": !iconIsSpinner }, props))));
8498
8505
  };
8499
8506
  EmptyStateIcon.displayName = 'EmptyStateIcon';
@@ -8509,10 +8516,10 @@ var EmptyStateHeadingLevel;
8509
8516
  })(EmptyStateHeadingLevel || (EmptyStateHeadingLevel = {}));
8510
8517
  const EmptyStateHeader = (_a) => {
8511
8518
  var { className, titleClassName, titleText, headingLevel: HeadingLevel = EmptyStateHeadingLevel.h1, icon: Icon } = _a, props = __rest$1(_a, ["className", "titleClassName", "titleText", "headingLevel", "icon"]);
8512
- return (React.createElement("div", Object.assign({ className: css$1(`${styles$9.emptyState}__header`, className) }, props),
8519
+ return (React.createElement("div", Object.assign({ className: css(`${styles$9.emptyState}__header`, className) }, props),
8513
8520
  Icon && React.createElement(EmptyStateIcon, { icon: Icon }),
8514
- React.createElement("div", { className: css$1(`${styles$9.emptyState}__title`) },
8515
- React.createElement(HeadingLevel, { className: css$1(styles$9.emptyStateTitleText, titleClassName) }, titleText))));
8521
+ titleText && (React.createElement("div", { className: css(`${styles$9.emptyState}__title`) },
8522
+ React.createElement(HeadingLevel, { className: css(styles$9.emptyStateTitleText, titleClassName) }, titleText)))));
8516
8523
  };
8517
8524
  EmptyStateHeader.displayName = 'EmptyStateHeader';
8518
8525
 
@@ -8536,8 +8543,8 @@ const EmptyState = (_a) => {
8536
8543
  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"]);
8537
8544
  const statusIcon = status && statusIcons$2[status];
8538
8545
  const icon = customIcon || statusIcon;
8539
- 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),
8540
- React.createElement("div", { className: css$1(styles$9.emptyStateContent) },
8546
+ return (React.createElement("div", Object.assign({ className: css(styles$9.emptyState, variant !== 'full' && styles$9.modifiers[variant], isFullHeight && styles$9.modifiers.fullHeight, status && styles$9.modifiers[status], className) }, props),
8547
+ React.createElement("div", { className: css(styles$9.emptyStateContent) },
8541
8548
  React.createElement(EmptyStateHeader, { icon: icon, titleText: titleText, titleClassName: titleClassName, className: headerClassName, headingLevel: headingLevel }),
8542
8549
  children)));
8543
8550
  };
@@ -8545,19 +8552,19 @@ EmptyState.displayName = 'EmptyState';
8545
8552
 
8546
8553
  const EmptyStateBody = (_a) => {
8547
8554
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
8548
- return (React.createElement("div", Object.assign({ className: css$1(styles$9.emptyStateBody, className) }, props), children));
8555
+ return (React.createElement("div", Object.assign({ className: css(styles$9.emptyStateBody, className) }, props), children));
8549
8556
  };
8550
8557
  EmptyStateBody.displayName = 'EmptyStateBody';
8551
8558
 
8552
8559
  const EmptyStateFooter = (_a) => {
8553
8560
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
8554
- return (React.createElement("div", Object.assign({ className: css$1(styles$9.emptyStateFooter, className) }, props), children));
8561
+ return (React.createElement("div", Object.assign({ className: css(styles$9.emptyStateFooter, className) }, props), children));
8555
8562
  };
8556
8563
  EmptyStateFooter.displayName = 'EmptyStateFooter';
8557
8564
 
8558
8565
  const EmptyStateActions = (_a) => {
8559
8566
  var { children, className } = _a, props = __rest$1(_a, ["children", "className"]);
8560
- return (React.createElement("div", Object.assign({ className: css$1(styles$9.emptyStateActions, className) }, props), children));
8567
+ return (React.createElement("div", Object.assign({ className: css(styles$9.emptyStateActions, className) }, props), children));
8561
8568
  };
8562
8569
  EmptyStateActions.displayName = 'EmptyStateActions';
8563
8570
 
@@ -8565,9 +8572,7 @@ var styles$8 = {
8565
8572
  "dirRtl": "pf-v6-m-dir-rtl",
8566
8573
  "expandableSection": "pf-v6-c-expandable-section",
8567
8574
  "expandableSectionContent": "pf-v6-c-expandable-section__content",
8568
- "expandableSectionToggle": "pf-v6-c-expandable-section__toggle",
8569
8575
  "expandableSectionToggleIcon": "pf-v6-c-expandable-section__toggle-icon",
8570
- "expandableSectionToggleText": "pf-v6-c-expandable-section__toggle-text",
8571
8576
  "modifiers": {
8572
8577
  "expanded": "pf-m-expanded",
8573
8578
  "limitWidth": "pf-m-limit-width",
@@ -8680,13 +8685,14 @@ class ExpandableSection extends React.Component {
8680
8685
  };
8681
8686
  }
8682
8687
  const computedToggleText = this.calculateToggleText(toggleText, toggleTextExpanded, toggleTextCollapsed, propOrStateIsExpanded);
8683
- 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) },
8684
- variant !== ExpandableSectionVariant.truncate && (React.createElement("span", { className: css$1(styles$8.expandableSectionToggleIcon) },
8685
- React.createElement(AngleRightIcon, { "aria-hidden": true }))),
8686
- React.createElement("span", { className: css$1(styles$8.expandableSectionToggleText) }, toggleContent || computedToggleText)));
8687
- 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),
8688
+ const expandableToggle = !isDetached && (React.createElement("div", { className: `${styles$8.expandableSection}__toggle` },
8689
+ React.createElement(Button, Object.assign({ variant: "link" }, (variant === ExpandableSectionVariant.truncate && { isInline: true }), { "aria-expanded": propOrStateIsExpanded, "aria-controls": uniqueContentId, id: uniqueToggleId, onClick: (event) => onToggle(event, !propOrStateIsExpanded) }, (variant !== ExpandableSectionVariant.truncate && {
8690
+ icon: (React.createElement("span", { className: css(styles$8.expandableSectionToggleIcon) },
8691
+ React.createElement(AngleRightIcon, { "aria-hidden": true })))
8692
+ })), toggleContent || computedToggleText)));
8693
+ return (React.createElement("div", Object.assign({ className: css(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),
8688
8694
  variant === ExpandableSectionVariant.default && expandableToggle,
8689
- 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),
8695
+ React.createElement("div", { ref: this.expandableContentRef, className: css(styles$8.expandableSectionContent), hidden: variant !== ExpandableSectionVariant.truncate && !propOrStateIsExpanded, id: uniqueContentId, "aria-labelledby": uniqueToggleId, role: "region" }, children),
8690
8696
  variant === ExpandableSectionVariant.truncate && this.state.hasToggle && expandableToggle));
8691
8697
  }
8692
8698
  }
@@ -8897,7 +8903,7 @@ const Label = (_a) => {
8897
8903
  };
8898
8904
  const isClickableDisabled = (href || onLabelClick) && isDisabled;
8899
8905
  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) })));
8900
- const closeButton = React.createElement("span", { className: css$1(labelStyles.labelActions) }, closeBtn || defaultCloseButton);
8906
+ const closeButton = React.createElement("span", { className: css(labelStyles.labelActions) }, closeBtn || defaultCloseButton);
8901
8907
  const textRef = React.createRef();
8902
8908
  // ref to apply tooltip when rendered is used
8903
8909
  const componentRef = React.useRef();
@@ -8909,8 +8915,8 @@ const Label = (_a) => {
8909
8915
  }
8910
8916
  }, [isEditableActive]);
8911
8917
  const content = (React.createElement(React.Fragment, null,
8912
- _icon && React.createElement("span", { className: css$1(labelStyles.labelIcon) }, _icon),
8913
- React.createElement("span", Object.assign({ ref: textRef, className: css$1(labelStyles.labelText) }, (textMaxWidth && {
8918
+ _icon && React.createElement("span", { className: css(labelStyles.labelIcon) }, _icon),
8919
+ React.createElement("span", Object.assign({ ref: textRef, className: css(labelStyles.labelText) }, (textMaxWidth && {
8914
8920
  style: {
8915
8921
  [c_label__text_MaxWidth.name]: textMaxWidth
8916
8922
  }
@@ -8935,7 +8941,7 @@ const Label = (_a) => {
8935
8941
  onClick: onLabelClick
8936
8942
  };
8937
8943
  const isButton = LabelComponentChildElement === 'button';
8938
- 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) => {
8944
+ 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) => {
8939
8945
  setIsEditableActive(true);
8940
8946
  e.stopPropagation();
8941
8947
  } }, editableProps))), (isClickableDisabled && isButton && { disabled: true })), (isClickableDisabled && href && { tabIndex: -1, 'aria-disabled': true }));
@@ -8953,10 +8959,10 @@ const Label = (_a) => {
8953
8959
  labelComponentChild = (React.createElement(Tooltip, { content: children, position: tooltipPosition }, labelComponentChild));
8954
8960
  }
8955
8961
  const LabelComponent = (isOverflowLabel ? 'button' : 'span');
8956
- 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 }, (LabelComponent === 'button' && { type: 'button' })),
8962
+ 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$7.modifiers.editable, isEditableActive && labelStyles.modifiers.editableActive, isClickable && labelStyles.modifiers.clickable, isAddLabel && labelStyles.modifiers.add, className), onClick: isOverflowLabel || isAddLabel ? onLabelClick : undefined }, (LabelComponent === 'button' && { type: 'button' })),
8957
8963
  !isEditableActive && labelComponentChild,
8958
8964
  !isEditableActive && onClose && closeButton,
8959
- isEditableActive && (React.createElement("input", Object.assign({ className: css$1(labelStyles.labelContent), type: "text", id: "editable-input", ref: editableInputRef, value: currValue, onChange: updateVal }, editableProps)))));
8965
+ isEditableActive && (React.createElement("input", Object.assign({ className: css(labelStyles.labelContent), type: "text", id: "editable-input", ref: editableInputRef, value: currValue, onChange: updateVal }, editableProps)))));
8960
8966
  };
8961
8967
  Label.displayName = 'Label';
8962
8968
 
@@ -8991,15 +8997,15 @@ var ListComponent;
8991
8997
  })(ListComponent || (ListComponent = {}));
8992
8998
  const List = (_a) => {
8993
8999
  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"]);
8994
- 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));
9000
+ return component === ListComponent.ol ? (React.createElement("ol", Object.assign({ ref: ref, type: type }, (isPlain && { role: 'list' }), props, { className: css(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(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));
8995
9001
  };
8996
9002
  List.displayName = 'List';
8997
9003
 
8998
9004
  const ListItem = (_a) => {
8999
9005
  var { icon = null, children = null } = _a, props = __rest$1(_a, ["icon", "children"]);
9000
- return (React.createElement("li", Object.assign({ className: css$1(icon && styles$6.listItem) }, props),
9001
- icon && React.createElement("span", { className: css$1(styles$6.listItemIcon) }, icon),
9002
- React.createElement("span", { className: icon && css$1(`${styles$6.list}__item-text`) }, children)));
9006
+ return (React.createElement("li", Object.assign({ className: css(icon && styles$6.listItem) }, props),
9007
+ icon && React.createElement("span", { className: css(styles$6.listItemIcon) }, icon),
9008
+ React.createElement("span", { className: icon && css(`${styles$6.list}__item-text`) }, children)));
9003
9009
  };
9004
9010
  ListItem.displayName = 'ListItem';
9005
9011
 
@@ -9018,7 +9024,6 @@ PageContext.Consumer;
9018
9024
 
9019
9025
  var styles$5 = {
9020
9026
  "dirRtl": "pf-v6-m-dir-rtl",
9021
- "drawer": "pf-v6-c-drawer",
9022
9027
  "masthead": "pf-v6-c-masthead",
9023
9028
  "modifiers": {
9024
9029
  "expanded": "pf-m-expanded",
@@ -9079,7 +9084,7 @@ var styles$5 = {
9079
9084
 
9080
9085
  const PageBody = (_a) => {
9081
9086
  var { className, children } = _a, props = __rest$1(_a, ["className", "children"]);
9082
- return (React.createElement("div", Object.assign({}, props, { className: css$1(styles$5.pageMainBody, className) }), children));
9087
+ return (React.createElement("div", Object.assign({}, props, { className: css(styles$5.pageMainBody, className) }), children));
9083
9088
  };
9084
9089
  PageBody.displayName = 'PageBody';
9085
9090
 
@@ -9117,7 +9122,7 @@ const PageSection = (_a) => {
9117
9122
  }
9118
9123
  }, [hasOverflowScroll, ariaLabel]);
9119
9124
  const Component = component;
9120
- 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));
9125
+ return (React.createElement(Component, Object.assign({}, props, { className: css(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));
9121
9126
  };
9122
9127
  PageSection.displayName = 'PageSection';
9123
9128
 
@@ -9503,10 +9508,10 @@ const ToolbarContentContext = React.createContext({
9503
9508
  clearAllFilters: () => { }
9504
9509
  });
9505
9510
  const globalBreakpoints = {
9506
- md: parseInt(global_breakpoint_md.value) * 16,
9507
- lg: parseInt(global_breakpoint_lg.value) * 16,
9508
- xl: parseInt(global_breakpoint_xl.value) * 16,
9509
- '2xl': parseInt(global_breakpoint_2xl.value) * 16
9511
+ md: parseInt(t_global_breakpoint_md.value) * 16,
9512
+ lg: parseInt(t_global_breakpoint_lg.value) * 16,
9513
+ xl: parseInt(t_global_breakpoint_xl.value) * 16,
9514
+ '2xl': parseInt(t_global_breakpoint_2xl.value) * 16
9510
9515
  };
9511
9516
 
9512
9517
  var ToolbarItemVariant;
@@ -9520,9 +9525,9 @@ var ToolbarItemVariant;
9520
9525
  const ToolbarItem = (_a) => {
9521
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"]);
9522
9527
  if (variant === ToolbarItemVariant.separator) {
9523
- return React.createElement(Divider, Object.assign({ className: css$1(className), orientation: { default: 'vertical' } }, props));
9528
+ return React.createElement(Divider, Object.assign({ className: css(className), orientation: { default: 'vertical' } }, props));
9524
9529
  }
9525
- 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))));
9530
+ 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['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))));
9526
9531
  };
9527
9532
  ToolbarItem.displayName = 'ToolbarItem';
9528
9533
 
@@ -9537,7 +9542,7 @@ var ToolbarGroupVariant;
9537
9542
  class ToolbarGroupWithRef extends React.Component {
9538
9543
  render() {
9539
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"]);
9540
- return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css$1(styles$4.toolbarGroup, variant &&
9545
+ return (React.createElement(PageContext.Consumer, null, ({ width, getBreakpoint }) => (React.createElement("div", Object.assign({ className: css(styles$4.toolbarGroup, variant &&
9541
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))));
9542
9547
  }
9543
9548
  }
@@ -9560,8 +9565,8 @@ class ToolbarLabelGroupContent extends React.Component {
9560
9565
  const isHidden = numberOfFilters === 0 || isExpanded;
9561
9566
  const showNumberOfFilters = collapseListedFilters && numberOfFilters > 0 && !isExpanded;
9562
9567
  const showDefaultClearFilter = showClearFiltersButton && !isExpanded && !customLabelGroupContent;
9563
- 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),
9564
- React.createElement(ToolbarGroup, Object.assign({ className: css$1(collapseListedFilters && styles$4.modifiers.hidden) }, (collapseListedFilters && { hidden: true }), (collapseListedFilters && { 'aria-hidden': true }))),
9568
+ return (React.createElement("div", Object.assign({ className: css(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(collapseListedFilters && styles$4.modifiers.hidden) }, (collapseListedFilters && { hidden: true }), (collapseListedFilters && { 'aria-hidden': true }))),
9565
9570
  (showNumberOfFilters || showDefaultClearFilter || customLabelGroupContent) && (React.createElement(ToolbarGroup, { variant: "action-group-inline" },
9566
9571
  showNumberOfFilters && React.createElement(ToolbarItem, null, numberOfFiltersText(numberOfFilters)),
9567
9572
  showDefaultClearFilter && (React.createElement(ToolbarItem, null,
@@ -9624,7 +9629,7 @@ class Toolbar extends React.Component {
9624
9629
  const isExpanded = isToggleManaged ? isManagedToggleExpanded : isExpandedProp;
9625
9630
  const numberOfFilters = this.getNumberOfFilters();
9626
9631
  const showClearFiltersButton = numberOfFilters > 0;
9627
- 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),
9632
+ 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, 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),
9628
9633
  React.createElement(ToolbarContext.Provider, { value: {
9629
9634
  isExpanded,
9630
9635
  toggleIsExpanded: isToggleManaged ? this.toggleIsExpanded : toggleIsExpanded,
@@ -9665,7 +9670,7 @@ class ToolbarContent extends React.Component {
9665
9670
  }
9666
9671
  render() {
9667
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"]);
9668
- 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),
9673
+ 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),
9669
9674
  React.createElement(ToolbarContext.Consumer, null, ({ clearAllFilters: clearAllFiltersContext, clearFiltersButtonText: clearFiltersButtonContext, showClearFiltersButton: showClearFiltersButtonContext, isExpanded: isExpandedContext, toolbarId: toolbarIdContext }) => {
9670
9675
  const expandableContentId = `${toolbarId || toolbarIdContext}-expandable-content-${ToolbarContent.currentId++}`;
9671
9676
  return (React.createElement(ToolbarContentContext.Provider, { value: {
@@ -9677,7 +9682,7 @@ class ToolbarContent extends React.Component {
9677
9682
  clearFiltersButtonText: clearFiltersButtonText || clearFiltersButtonContext,
9678
9683
  showClearFiltersButton: showClearFiltersButton || showClearFiltersButtonContext
9679
9684
  } },
9680
- 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)));
9685
+ 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) }, children)));
9681
9686
  })))));
9682
9687
  }
9683
9688
  }
@@ -9757,24 +9762,24 @@ const WizardNavItem = (_a) => {
9757
9762
  // eslint-disable-next-line no-console
9758
9763
  console.error('WizardNavItem: When using an anchor, please provide an href');
9759
9764
  }
9760
- 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),
9765
+ return (React.createElement("li", Object.assign({ className: css(styles$3.wizardNavItem, isExpandable && styles$3.modifiers.expandable, isExpandable && isExpanded && styles$3.modifiers.expanded, className) }, props),
9761
9766
  React.createElement(NavItemComponent, Object.assign({}, (NavItemComponent === 'a'
9762
9767
  ? { tabIndex: isDisabled ? -1 : undefined, href, target }
9763
9768
  : { disabled: isDisabled }), (id && { id: id.toString() }), { onClick: (e) => {
9764
9769
  e.stopPropagation();
9765
9770
  isExpandable ? setIsExpanded(!isExpanded || isCurrent) : onClick === null || onClick === void 0 ? void 0 : onClick(e, stepIndex);
9766
- }, 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),
9771
+ }, className: css(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),
9767
9772
  status !== WizardNavItemStatus.Default && (React.createElement(React.Fragment, null,
9768
9773
  React.createElement("span", { className: "pf-v6-screen-reader" },
9769
9774
  ", ",
9770
9775
  status),
9771
- React.createElement("span", { className: css$1(styles$3.wizardNavLinkStatusIcon) },
9776
+ React.createElement("span", { className: css(styles$3.wizardNavLinkStatusIcon) },
9772
9777
  status === WizardNavItemStatus.Error && React.createElement(ExclamationCircleIcon, null),
9773
9778
  status === WizardNavItemStatus.Success && React.createElement(CheckCircleIcon$1, null)))),
9774
- React.createElement("span", { className: css$1(styles$3.wizardNavLinkMain) }, isExpandable ? (React.createElement(React.Fragment, null,
9775
- React.createElement("span", { className: css$1(styles$3.wizardNavLinkText) }, content),
9776
- React.createElement("span", { className: css$1(styles$3.wizardNavLinkToggle) },
9777
- React.createElement("span", { className: css$1(styles$3.wizardNavLinkToggleIcon) },
9779
+ React.createElement("span", { className: css(styles$3.wizardNavLinkMain) }, isExpandable ? (React.createElement(React.Fragment, null,
9780
+ React.createElement("span", { className: css(styles$3.wizardNavLinkText) }, content),
9781
+ React.createElement("span", { className: css(styles$3.wizardNavLinkToggle) },
9782
+ React.createElement("span", { className: css(styles$3.wizardNavLinkToggleIcon) },
9778
9783
  React.createElement(AngleRightIcon, { "aria-label": `${isCurrent ? 'Collapse' : 'Expand'} step icon` }))))) : (React.createElement(React.Fragment, null, content)))),
9779
9784
  children));
9780
9785
  };
@@ -10335,14 +10340,14 @@ const l_flex_item_Order = {
10335
10340
  const Flex = (_a) => {
10336
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"]);
10337
10342
  const Component = component;
10338
- 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));
10343
+ 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));
10339
10344
  };
10340
10345
  Flex.displayName = 'Flex';
10341
10346
 
10342
10347
  const FlexItem = (_a) => {
10343
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"]);
10344
10349
  const Component = component;
10345
- 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));
10350
+ 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));
10346
10351
  };
10347
10352
  FlexItem.displayName = 'FlexItem';
10348
10353
 
@@ -10379,7 +10384,7 @@ const Gallery = (_a) => {
10379
10384
  value));
10380
10385
  }
10381
10386
  const widthStyles = Object.assign(Object.assign({}, minWidthStyles), maxWidthStyles);
10382
- 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));
10387
+ 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));
10383
10388
  };
10384
10389
  Gallery.displayName = 'Gallery';
10385
10390
 
@@ -10395,13 +10400,13 @@ var styles = {
10395
10400
  const Stack = (_a) => {
10396
10401
  var { hasGutter = false, className = '', children = null, component = 'div' } = _a, props = __rest$1(_a, ["hasGutter", "className", "children", "component"]);
10397
10402
  const Component = component;
10398
- return (React.createElement(Component, Object.assign({}, props, { className: css$1(styles.stack, hasGutter && styles.modifiers.gutter, className) }), children));
10403
+ return (React.createElement(Component, Object.assign({}, props, { className: css(styles.stack, hasGutter && styles.modifiers.gutter, className) }), children));
10399
10404
  };
10400
10405
  Stack.displayName = 'Stack';
10401
10406
 
10402
10407
  const StackItem = (_a) => {
10403
10408
  var { isFilled = false, className = '', children = null } = _a, props = __rest$1(_a, ["isFilled", "className", "children"]);
10404
- return (React.createElement("div", Object.assign({}, props, { className: css$1(styles.stackItem, isFilled && styles.modifiers.fill, className) }), children));
10409
+ return (React.createElement("div", Object.assign({}, props, { className: css(styles.stackItem, isFilled && styles.modifiers.fill, className) }), children));
10405
10410
  };
10406
10411
  StackItem.displayName = 'StackItem';
10407
10412
 
@@ -10456,36 +10461,6 @@ exports["default"] = exports.SearchIcon;
10456
10461
 
10457
10462
  var SearchIcon = /*@__PURE__*/getDefaultExportFromCjs(searchIcon);
10458
10463
 
10459
- /** Joins args into a className string
10460
- *
10461
- * @param {any} args list of objects, string, or arrays to reduce
10462
- */
10463
- function css(...args) {
10464
- // Adapted from https://github.com/JedWatson/classnames/blob/master/index.js
10465
- const classes = [];
10466
- const hasOwn = {}.hasOwnProperty;
10467
- args.filter(Boolean).forEach((arg) => {
10468
- const argType = typeof arg;
10469
- if (argType === 'string' || argType === 'number') {
10470
- classes.push(arg);
10471
- }
10472
- else if (Array.isArray(arg) && arg.length) {
10473
- const inner = css(...arg);
10474
- if (inner) {
10475
- classes.push(inner);
10476
- }
10477
- }
10478
- else if (argType === 'object') {
10479
- for (const key in arg) {
10480
- if (hasOwn.call(arg, key) && arg[key]) {
10481
- classes.push(key);
10482
- }
10483
- }
10484
- }
10485
- });
10486
- return classes.join(' ');
10487
- }
10488
-
10489
10464
  function _extends() {
10490
10465
  _extends = Object.assign ? Object.assign.bind() : function (target) {
10491
10466
  for (var i = 1; i < arguments.length; i++) {
@@ -31596,12 +31571,9 @@ const QuickStartTileFooterExternal = ({ link, quickStartId, }) => {
31596
31571
  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))));
31597
31572
  };
31598
31573
 
31599
- const QuickStartTileHeader = ({ name, quickStartId, onSelect, }) => {
31600
- return (React.createElement(Flex, { flexWrap: { default: 'nowrap' } },
31601
- React.createElement(Title, { headingLevel: "h3", "data-test": "title", id: quickStartId },
31602
- React.createElement(Button, { variant: "link", isInline: true, onClick: onSelect },
31603
- React.createElement(QuickStartMarkdownView, { content: name })))));
31604
- };
31574
+ const QuickStartTileHeader = ({ name, quickStartId, onSelect, }) => (React.createElement(Flex, { flexWrap: { default: 'nowrap' } },
31575
+ React.createElement(Title, { headingLevel: "h3", "data-test": "title", id: quickStartId },
31576
+ React.createElement(Button, { variant: "link", isInline: true, onClick: onSelect }, name))));
31605
31577
 
31606
31578
  var outlinedBookmarkIcon = createCommonjsModule(function (module, exports) {
31607
31579
  exports.__esModule = true;
@@ -31700,7 +31672,7 @@ const QuickStartTile = ({ quickStart, status, isActive, onClick = () => { }, act
31700
31672
  const QuickStartCatalog = ({ quickStarts }) => {
31701
31673
  const { activeQuickStartID, allQuickStartStates } = React.useContext(QuickStartContext);
31702
31674
  return (React.createElement("div", null,
31703
- React.createElement(Gallery, { hasGutter: true }, quickStarts.map((quickStart, index) => {
31675
+ React.createElement(Gallery, { hasGutter: true, className: "pfext-quick-start-catalog__gallery" }, quickStarts.map((quickStart, index) => {
31704
31676
  const { metadata: { name: id }, } = quickStart;
31705
31677
  return (React.createElement(QuickStartTile, { key: index, quickStart: quickStart, isActive: id === activeQuickStartID, status: getQuickStartStatus(allQuickStartStates, id) }));
31706
31678
  }))));
@@ -31965,7 +31937,7 @@ const QuickStartTaskHeader = ({ title, taskIndex, subtitle, taskStatus, size, is
31965
31937
  return (React.createElement(WizardNavItem, { content: content, stepIndex: taskIndex, onClick: () => onTaskSelect(taskIndex - 1), component: "button", isCurrent: isActiveTask, status: status }, children));
31966
31938
  };
31967
31939
 
31968
- 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;
31940
+ const QuickStartTaskHeaderList = ({ tasks, allTaskStatuses, onTaskSelect, }) => (tasks === null || tasks === void 0 ? void 0 : tasks.length) > 0 ? (React.createElement("ul", { className: "pf-v6-c-wizard 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;
31969
31941
 
31970
31942
  const QuickStartConclusion = ({ tasks, conclusion, allTaskStatuses, nextQuickStarts, onQuickStartChange, onTaskSelect, }) => {
31971
31943
  const hasFailedTask = allTaskStatuses.includes(QuickStartTaskStatus.FAILED);
@@ -32025,7 +31997,7 @@ const QuickStartTaskReview = ({ review, taskStatus, onTaskReview, }) => {
32025
31997
 
32026
31998
  const QuickStartTasks = ({ tasks, taskNumber, allTaskStatuses, onTaskReview, onTaskSelect, }) => {
32027
31999
  const { getResource, alwaysShowTaskReview } = React.useContext(QuickStartContext);
32028
- return (React.createElement("div", { className: "pf-v6-c-wizard__nav-list", style: { padding: '0 0 0 0' } },
32000
+ return (React.createElement("div", { className: "pf-v6-c-wizard pf-v6-c-wizard__nav-list", style: { padding: '0 0 0 0' } },
32029
32001
  React.createElement("ul", null, tasks
32030
32002
  .filter((_, index) => allTaskStatuses[index] !== QuickStartTaskStatus.INIT)
32031
32003
  .map((task, index) => {
@@ -32081,7 +32053,7 @@ const QuickStartFooter = ({ status, taskNumber, totalTasks, onNext, onBack, quic
32081
32053
  }
32082
32054
  return PrimaryButtonText.CONTINUE;
32083
32055
  }, [taskNumber, totalTasks, PrimaryButtonText, status]);
32084
- const getPrimaryButton = React.useMemo(() => (React.createElement(Button, { variant: "primary", onClick: onNext, "data-testid": `qs-drawer-${camelize(getPrimaryButtonText)}`, "data-test": `${getPrimaryButtonText} button` }, getPrimaryButtonText)), [getPrimaryButtonText, onNext]);
32056
+ 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]);
32085
32057
  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]);
32086
32058
  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]);
32087
32059
  return (React.createElement("div", { className: css('pfext-quick-start-footer', className) },