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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/index.es.js +49 -77
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.js +48 -78
  4. package/dist/index.js.map +1 -1
  5. package/dist/patternfly-global.css +773 -846
  6. package/dist/patternfly-nested.css +12814 -9632
  7. package/dist/quickstarts-base.css +128 -757
  8. package/dist/quickstarts-full.es.js +3217 -2470
  9. package/dist/quickstarts-full.es.js.map +1 -1
  10. package/dist/quickstarts-standalone.css +165 -540
  11. package/dist/quickstarts-standalone.min.css +8 -4
  12. package/dist/quickstarts-vendor.css +37 -134
  13. package/dist/quickstarts.css +165 -891
  14. package/dist/quickstarts.min.css +1 -1
  15. package/package.json +20 -20
  16. package/src/ConsoleInternal/components/_icon-and-text.scss +2 -2
  17. package/src/ConsoleInternal/components/catalog/_catalog.scss +20 -20
  18. package/src/ConsoleInternal/components/markdown-view.tsx +2 -2
  19. package/src/ConsoleInternal/components/utils/_status-box.scss +1 -1
  20. package/src/ConsoleShared/src/components/layout/PageLayout.scss +10 -10
  21. package/src/ConsoleShared/src/components/markdown-extensions/accordion-extension.tsx +6 -4
  22. package/src/ConsoleShared/src/components/markdown-extensions/accordion-render-extension.tsx +2 -2
  23. package/src/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.tsx +5 -5
  24. package/src/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.tsx +8 -8
  25. package/src/ConsoleShared/src/components/markdown-extensions/showdown-extension.scss +5 -5
  26. package/src/ConsoleShared/src/components/spotlight/StaticSpotlight.tsx +1 -1
  27. package/src/ConsoleShared/src/components/spotlight/spotlight.scss +4 -4
  28. package/src/ConsoleShared/src/components/status/icons.tsx +6 -8
  29. package/src/HelpTopicDrawer.tsx +1 -1
  30. package/src/HelpTopicPanelContent.tsx +1 -1
  31. package/src/QuickStartCatalogPage.tsx +1 -8
  32. package/src/QuickStartDrawer.scss +1 -1
  33. package/src/QuickStartDrawer.tsx +1 -1
  34. package/src/QuickStartMarkdownView.tsx +1 -1
  35. package/src/QuickStartPanelContent.scss +10 -10
  36. package/src/QuickStartPanelContent.tsx +1 -1
  37. package/src/catalog/QuickStartCatalog.scss +1 -1
  38. package/src/catalog/QuickStartTile.tsx +4 -1
  39. package/src/catalog/QuickStartTileDescription.scss +4 -4
  40. package/src/catalog/QuickStartTileHeader.scss +5 -5
  41. package/src/catalog/Toolbar/QuickStartCatalogFilter.scss +9 -9
  42. package/src/catalog/Toolbar/QuickStartCatalogFilterItems.tsx +1 -1
  43. package/src/controller/QuickStartConclusion.tsx +1 -1
  44. package/src/controller/QuickStartContent.scss +2 -2
  45. package/src/controller/QuickStartFooter.scss +3 -3
  46. package/src/controller/QuickStartIntroduction.scss +7 -7
  47. package/src/controller/QuickStartIntroduction.tsx +1 -1
  48. package/src/controller/QuickStartTaskHeader.scss +15 -15
  49. package/src/controller/QuickStartTaskHeader.tsx +17 -17
  50. package/src/controller/QuickStartTaskHeaderList.scss +1 -1
  51. package/src/controller/QuickStartTaskHeaderList.tsx +1 -1
  52. package/src/controller/QuickStartTaskReview.scss +8 -8
  53. package/src/controller/QuickStartTasks.scss +14 -13
  54. package/src/styles/_base.scss +3 -6
  55. package/src/styles/_dark-custom-override.scss +16 -31
  56. package/src/styles/legacy-bootstrap/_variables.scss +8 -8
  57. package/src/styles/patternfly-global.scss +8 -8
  58. package/src/styles/patternfly-nested.scss +5 -5
  59. package/src/styles/style.scss +6 -6
  60. package/src/styles/vendor.scss +2 -2
package/dist/index.js CHANGED
@@ -17,11 +17,8 @@ var FireIcon = require('@patternfly/react-icons/dist/js/icons/fire-icon');
17
17
  var showdown = require('showdown');
18
18
  var SyncAltIcon = require('@patternfly/react-icons/dist/js/icons/sync-alt-icon');
19
19
  var CheckCircleIcon = require('@patternfly/react-icons/dist/js/icons/check-circle-icon');
20
- var ExclamationCircleIcon = require('@patternfly/react-icons/dist/js/icons/exclamation-circle-icon');
20
+ require('@patternfly/react-icons/dist/js/icons/exclamation-circle-icon');
21
21
  var InfoCircleIcon = require('@patternfly/react-icons/dist/js/icons/info-circle-icon');
22
- require('@patternfly/react-tokens/dist/esm/global_danger_color_100');
23
- require('@patternfly/react-tokens/dist/esm/global_palette_blue_300');
24
- var okColor = require('@patternfly/react-tokens/dist/esm/global_palette_green_500');
25
22
  var ExternalLinkAltIcon = require('@patternfly/react-icons/dist/js/icons/external-link-alt-icon');
26
23
  var OutlinedClockIcon = require('@patternfly/react-icons/dist/js/icons/outlined-clock-icon');
27
24
  var OutlinedBookmarkIcon = require('@patternfly/react-icons/dist/js/icons/outlined-bookmark-icon');
@@ -60,9 +57,7 @@ var LightbulbIcon__default = /*#__PURE__*/_interopDefaultLegacy(LightbulbIcon);
60
57
  var FireIcon__default = /*#__PURE__*/_interopDefaultLegacy(FireIcon);
61
58
  var SyncAltIcon__default = /*#__PURE__*/_interopDefaultLegacy(SyncAltIcon);
62
59
  var CheckCircleIcon__default = /*#__PURE__*/_interopDefaultLegacy(CheckCircleIcon);
63
- var ExclamationCircleIcon__default = /*#__PURE__*/_interopDefaultLegacy(ExclamationCircleIcon);
64
60
  var InfoCircleIcon__default = /*#__PURE__*/_interopDefaultLegacy(InfoCircleIcon);
65
- var okColor__default = /*#__PURE__*/_interopDefaultLegacy(okColor);
66
61
  var ExternalLinkAltIcon__default = /*#__PURE__*/_interopDefaultLegacy(ExternalLinkAltIcon);
67
62
  var OutlinedClockIcon__default = /*#__PURE__*/_interopDefaultLegacy(OutlinedClockIcon);
68
63
  var OutlinedBookmarkIcon__default = /*#__PURE__*/_interopDefaultLegacy(OutlinedBookmarkIcon);
@@ -70,20 +65,17 @@ var ArrowRightIcon__default = /*#__PURE__*/_interopDefaultLegacy(ArrowRightIcon)
70
65
  var BarsIcon__default = /*#__PURE__*/_interopDefaultLegacy(BarsIcon);
71
66
 
72
67
  function _extends() {
73
- _extends = Object.assign || function (target) {
68
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
74
69
  for (var i = 1; i < arguments.length; i++) {
75
70
  var source = arguments[i];
76
-
77
71
  for (var key in source) {
78
72
  if (Object.prototype.hasOwnProperty.call(source, key)) {
79
73
  target[key] = source[key];
80
74
  }
81
75
  }
82
76
  }
83
-
84
77
  return target;
85
78
  };
86
-
87
79
  return _extends.apply(this, arguments);
88
80
  }
89
81
 
@@ -909,8 +901,8 @@ class CatalogTile extends React__namespace.Component {
909
901
  const _a = this.props, { id, className, featured, onClick, href, icon, iconImg, iconAlt, iconClass, badges, title, vendor, description, footer,
910
902
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
911
903
  ref, children } = _a, props = tslib.__rest(_a, ["id", "className", "featured", "onClick", "href", "icon", "iconImg", "iconAlt", "iconClass", "badges", "title", "vendor", "description", "footer", "ref", "children"]);
912
- return (React__namespace.createElement(reactCore.Card, Object.assign({ component: href ? 'a' : 'div', id: id || this.generatedId, href: href || '#', className: reactStyles.css('catalog-tile-pf', { featured }, className), isClickable: !!onClick }, props),
913
- (badges.length > 0 || iconImg || iconClass || icon || onClick) && (React__namespace.createElement(reactCore.CardHeader, { actions: { actions: badges.length > 0 && this.renderBadges(badges) }, selectableActions: onClick && {
904
+ return (React__namespace.createElement(reactCore.Card, Object.assign({ component: href ? 'a' : 'div', id: id || this.generatedId, href: href || '#', className: reactStyles.css('catalog-tile-pf', { featured }, className), variant: featured ? 'secondary' : 'default', isClickable: !!onClick }, props),
905
+ (badges.length > 0 || iconImg || iconClass || icon || onClick) && (React__namespace.createElement(reactCore.CardHeader, { actions: { actions: badges.length > 0 && this.renderBadges(badges), hasNoOffset: true }, selectableActions: onClick && {
914
906
  selectableActionId: id + '-input',
915
907
  onClickAction: (e) => this.handleClick(e),
916
908
  selectableActionAriaLabelledby: id
@@ -1151,7 +1143,7 @@ const StaticSpotlight = ({ element }) => {
1151
1143
  }
1152
1144
  : {};
1153
1145
  return clientRect ? (React__namespace.createElement(Portal, null,
1154
- React__namespace.createElement("div", { className: "pf-v5-c-backdrop pfext-spotlight__with-backdrop" },
1146
+ React__namespace.createElement("div", { className: "pf-v6-c-backdrop pfext-spotlight__with-backdrop" },
1155
1147
  React__namespace.createElement("div", { className: "pfext-spotlight pfext-spotlight__element-highlight-noanimate", style: style })))) : null;
1156
1148
  };
1157
1149
 
@@ -1274,11 +1266,11 @@ const useInlineCopyClipboardShowdownExtension = () => {
1274
1266
  if (!group || isNaN(groupId)) {
1275
1267
  return text;
1276
1268
  }
1277
- return removeTemplateWhitespace(`<span class="pf-v5-c-clipboard-copy pf-m-inline">
1278
- <span class="pf-v5-c-clipboard-copy__text" ${MARKDOWN_SNIPPET_ID}="${groupId}">${group}</span>
1279
- <span class="pf-v5-c-clipboard-copy__actions">
1280
- <span class="pf-v5-c-clipboard-copy__actions-item">
1281
- <button class="pf-v5-c-button pf-m-plain" aria-label="${getResource('Copy to clipboard')}" ${MARKDOWN_COPY_BUTTON_ID}="${groupId}">
1269
+ return removeTemplateWhitespace(`<span class="pf-v6-c-clipboard-copy pf-m-inline">
1270
+ <span class="pf-v6-c-clipboard-copy__text" ${MARKDOWN_SNIPPET_ID}="${groupId}">${group}</span>
1271
+ <span class="pf-v6-c-clipboard-copy__actions">
1272
+ <span class="pf-v6-c-clipboard-copy__actions-item">
1273
+ <button class="pf-v6-c-button pf-m-plain" aria-label="${getResource('Copy to clipboard')}" ${MARKDOWN_COPY_BUTTON_ID}="${groupId}">
1282
1274
  ${server.renderToStaticMarkup(React__namespace.createElement(CopyIcon__default['default'], null))}
1283
1275
  </button>
1284
1276
  </span>
@@ -1297,19 +1289,19 @@ const useMultilineCopyClipboardShowdownExtension = () => {
1297
1289
  if (!group || isNaN(groupId)) {
1298
1290
  return text;
1299
1291
  }
1300
- return `<div class="pf-v5-c-code-block">
1301
- <div class="pf-v5-c-code-block__header">
1302
- <div class="pf-v5-c-code-block__actions">
1303
- <div class="pf-v5-c-code-block__actions-item">
1304
- <button class="pf-v5-c-button pf-m-plain" type="button" aria-label="${getResource('Copy to clipboard')}" ${MARKDOWN_COPY_BUTTON_ID}="${groupId}">
1292
+ return `<div class="pf-v6-c-code-block">
1293
+ <div class="pf-v6-c-code-block__header">
1294
+ <div class="pf-v6-c-code-block__actions">
1295
+ <div class="pf-v6-c-code-block__actions-item">
1296
+ <button class="pf-v6-c-button pf-m-plain" type="button" aria-label="${getResource('Copy to clipboard')}" ${MARKDOWN_COPY_BUTTON_ID}="${groupId}">
1305
1297
  ${server.renderToStaticMarkup(React__namespace.createElement(CopyIcon__default['default'], null))}
1306
1298
  </button>
1307
1299
  </div>
1308
1300
  </div>
1309
1301
  </div>
1310
- <div class="pf-v5-c-code-block__content">
1311
- <pre class="pf-v5-c-code-block__pre pfext-code-block__pre">
1312
- <code class="pf-v5-c-code-block__code"
1302
+ <div class="pf-v6-c-code-block__content">
1303
+ <pre class="pf-v6-c-code-block__pre pfext-code-block__pre">
1304
+ <code class="pf-v6-c-code-block__code"
1313
1305
  ${MARKDOWN_SNIPPET_ID}="${groupId}">${group.trim()}</code>
1314
1306
  </pre>
1315
1307
  </div>
@@ -1340,7 +1332,7 @@ const markdownConvert = (markdown, extensions) => {
1340
1332
  // add PF class to ul and ol lists
1341
1333
  if (node.nodeType === 1 &&
1342
1334
  (node.nodeName.toLowerCase() === 'ul' || node.nodeName.toLowerCase() === 'ol')) {
1343
- node.setAttribute('class', 'pf-v5-c-list');
1335
+ node.setAttribute('class', 'pf-v6-c-list');
1344
1336
  return node;
1345
1337
  }
1346
1338
  });
@@ -1451,7 +1443,7 @@ const IFrameMarkdownView = ({ exactHeight, markup, isEmpty, renderExtension, cla
1451
1443
  body {
1452
1444
  background-color: transparent !important;
1453
1445
  color: ${isEmpty ? '#999' : '#333'};
1454
- font-family: var(--pf-v5-global--FontFamily--sans-serif);
1446
+ font-family: var(--pf-t--global--font--family--body);
1455
1447
  min-width: auto !important;
1456
1448
  }
1457
1449
  table {
@@ -1497,7 +1489,7 @@ const QuickStartMarkdownView = ({ content, exactHeight, className, }) => {
1497
1489
  if (!linkLabel || !linkType || !linkId) {
1498
1490
  return text;
1499
1491
  }
1500
- return `<button class="pf-v5-c-button pf-m-inline pf-m-link" data-highlight="${linkId}">${linkLabel}</button>`;
1492
+ return `<button class="pf-v6-c-button pf-m-inline pf-m-link" data-highlight="${linkId}">${linkLabel}</button>`;
1501
1493
  },
1502
1494
  },
1503
1495
  {
@@ -1573,10 +1565,11 @@ const useAccordionShowdownExtension = () => React__namespace.useMemo(() => ({
1573
1565
  regex: /\[(.+)]{{(accordion) ("(.*?)")}}/g,
1574
1566
  replace: (_text, accordionContent, _command, accordionHeading) => {
1575
1567
  const accordionId = String(accordionHeading).replace(/\s/g, '-');
1576
- return removeTemplateWhitespace(server.renderToStaticMarkup(React__namespace.createElement(reactCore.Accordion, { asDefinitionList: true },
1577
- React__namespace.createElement(reactCore.AccordionItem, null,
1578
- React__namespace.createElement(reactCore.AccordionToggle, { isExpanded: false, id: `${ACCORDION_MARKDOWN_BUTTON_ID}-${accordionId}` }, accordionHeading),
1579
- React__namespace.createElement(reactCore.AccordionContent, { id: `${ACCORDION_MARKDOWN_CONTENT_ID}-${accordionId}`, isHidden: !false }, accordionContent)))));
1568
+ return removeTemplateWhitespace(server.renderToStaticMarkup(React__namespace.createElement(React__namespace.Fragment, null,
1569
+ React__namespace.createElement(reactCore.Accordion, { asDefinitionList: true },
1570
+ React__namespace.createElement(reactCore.AccordionItem, { isExpanded: false },
1571
+ React__namespace.createElement(reactCore.AccordionToggle, { id: `${ACCORDION_MARKDOWN_BUTTON_ID}-${accordionId}` }, accordionHeading),
1572
+ React__namespace.createElement(reactCore.AccordionContent, { id: `${ACCORDION_MARKDOWN_CONTENT_ID}-${accordionId}` }, accordionContent))))));
1580
1573
  },
1581
1574
  }), []);
1582
1575
 
@@ -1584,9 +1577,9 @@ const AccordionShowdownHandler = ({ buttonElement, contentElement, }) => {
1584
1577
  const [expanded, setExpanded] = React__namespace.useState(false);
1585
1578
  const handleClick = () => {
1586
1579
  const expandedModifier = 'pf-m-expanded';
1587
- buttonElement.className = `pf-v5-c-accordion__toggle ${!expanded ? expandedModifier : ''}`;
1580
+ buttonElement.className = `pf-v6-c-accordion__toggle ${!expanded ? expandedModifier : ''}`;
1588
1581
  contentElement.hidden = expanded;
1589
- contentElement.className = `pf-v5-c-accordion__expanded-content ${!expanded ? expandedModifier : ''}`;
1582
+ contentElement.className = `pf-v6-c-accordion__expanded-content ${!expanded ? expandedModifier : ''}`;
1590
1583
  setExpanded(!expanded);
1591
1584
  };
1592
1585
  useEventListener(buttonElement, 'click', handleClick);
@@ -1637,8 +1630,8 @@ const GenericStatus = (props) => {
1637
1630
  return React__namespace.Children.toArray(children).length ? (React__namespace.createElement(PopoverStatus, Object.assign({ title: popoverTitle || title }, restProps, { statusBody: statusBody }), children)) : (statusBody);
1638
1631
  };
1639
1632
 
1640
- const GreenCheckCircleIcon = ({ className, title, size }) => (React__namespace.createElement(reactCore.Icon, { size: size },
1641
- React__namespace.createElement(CheckCircleIcon__default['default'], { "data-test": "success-icon", color: okColor__default['default'].value, className: className, title: title })));
1633
+ const GreenCheckCircleIcon = ({ className, title, size }) => (React__namespace.createElement(reactCore.Icon, { size: size, status: "success" },
1634
+ React__namespace.createElement(CheckCircleIcon__default['default'], { "data-test": "success-icon", className: className, title: title })));
1642
1635
 
1643
1636
  const SuccessStatus = (props) => (React__namespace.createElement(GenericStatus, Object.assign({}, props, { Icon: GreenCheckCircleIcon, title: props.title || 'Healthy' })));
1644
1637
  SuccessStatus.displayName = 'SuccessStatus';
@@ -1738,10 +1731,11 @@ const QuickStartTile = ({ quickStart, status, isActive, onClick = () => { }, act
1738
1731
  const ref = React__namespace.useRef(null);
1739
1732
  let quickStartIcon;
1740
1733
  if (typeof icon === 'object') {
1741
- quickStartIcon = icon;
1734
+ quickStartIcon = React__namespace.createElement(reactCore.Icon, { size: "xl" }, icon);
1742
1735
  }
1743
1736
  else {
1744
- quickStartIcon = (React__namespace.createElement(FallbackImg, { className: "pfext-catalog-item-icon__img--large", src: icon, alt: "", fallback: React__namespace.createElement(RocketIcon__default['default'], null) }));
1737
+ quickStartIcon = (React__namespace.createElement(reactCore.Icon, { size: "xl" },
1738
+ React__namespace.createElement(FallbackImg, { className: "pfext-catalog-item-icon__img--large", src: icon, alt: "", fallback: React__namespace.createElement(RocketIcon__default['default'], null) })));
1745
1739
  }
1746
1740
  const footerComponent = React__namespace.useMemo(() => {
1747
1741
  if (footer && footer.show === false) {
@@ -1810,7 +1804,7 @@ const QuickStartCatalogFilterSelect = (_a) => {
1810
1804
  };
1811
1805
  const QuickStartCatalogFilterCount = ({ quickStartsCount }) => {
1812
1806
  const { getResource } = React__namespace.useContext(QuickStartContext);
1813
- return (React__namespace.createElement(reactCore.ToolbarItem, { className: "pfext-quick-start-catalog-filter__count", align: { default: 'alignRight' } }, getResource('{{count, number}} item', quickStartsCount).replace('{{count, number}}', quickStartsCount)));
1807
+ return (React__namespace.createElement(reactCore.ToolbarItem, { className: "pfext-quick-start-catalog-filter__count", align: { default: 'alignEnd' } }, getResource('{{count, number}} item', quickStartsCount).replace('{{count, number}}', quickStartsCount)));
1814
1808
  };
1815
1809
  const QuickStartCatalogFilterSearchWrapper = ({ onSearchInputChange = () => { } }) => {
1816
1810
  const { useQueryParams, filter, setFilter } = React__namespace.useContext(QuickStartContext);
@@ -1909,8 +1903,7 @@ const QuickStartCatalogFilter = (_a) => {
1909
1903
 
1910
1904
  const QuickStartCatalogEmptyState = ({ clearFilters }) => {
1911
1905
  const { getResource } = React__namespace.useContext(QuickStartContext);
1912
- return (React__namespace.createElement(reactCore.EmptyState, null,
1913
- React__namespace.createElement(reactCore.EmptyStateHeader, { titleText: React__namespace.createElement(React__namespace.Fragment, null, getResource('No results found')), icon: React__namespace.createElement(reactCore.EmptyStateIcon, { icon: SearchIcon__default['default'] }), headingLevel: "h4" }),
1906
+ return (React__namespace.createElement(reactCore.EmptyState, { headingLevel: "h4", icon: SearchIcon__default['default'], titleText: React__namespace.createElement(React__namespace.Fragment, null, getResource('No results found')) },
1914
1907
  React__namespace.createElement(reactCore.EmptyStateBody, null, getResource('No results match the filter criteria. Remove filters or clear all filters to show results.')),
1915
1908
  React__namespace.createElement(reactCore.EmptyStateFooter, null,
1916
1909
  React__namespace.createElement(reactCore.EmptyStateActions, null,
@@ -2005,28 +1998,6 @@ const QuickStartCloseModal = ({ isOpen, onConfirm, onCancel, }) => {
2005
1998
  React__namespace.createElement(reactCore.Button, { variant: "primary", "data-test": "leave button", onClick: onConfirm }, getResource('Leave')))), isFullScreen: true }, getResource('Your progress will be saved.')));
2006
1999
  };
2007
2000
 
2008
- const TaskIcon = ({ taskIndex, taskStatus }) => {
2009
- const { getResource } = React__namespace.useContext(QuickStartContext);
2010
- const success = taskStatus === exports.QuickStartTaskStatus.SUCCESS;
2011
- const failed = taskStatus === exports.QuickStartTaskStatus.FAILED;
2012
- const classNames = reactStyles.css('pfext-icon-and-text__icon', {
2013
- 'pfext-quick-start-task-header__task-icon-init': !failed && !success,
2014
- });
2015
- let content;
2016
- if (success) {
2017
- content = (React__namespace.createElement(reactCore.Icon, { size: "md" },
2018
- React__namespace.createElement(CheckCircleIcon__default['default'], { className: "pfext-quick-start-task-header__task-icon-success" }),
2019
- ' '));
2020
- }
2021
- else if (failed) {
2022
- content = (React__namespace.createElement(reactCore.Icon, { size: "md" },
2023
- React__namespace.createElement(ExclamationCircleIcon__default['default'], { className: "pfext-quick-start-task-header__task-icon-failed" })));
2024
- }
2025
- else {
2026
- content = getResource('{{taskIndex, number}}', taskIndex).replace('{{taskIndex, number}}', taskIndex);
2027
- }
2028
- return React__namespace.createElement("span", { className: classNames }, content);
2029
- };
2030
2001
  const QuickStartTaskHeader = ({ title, taskIndex, subtitle, taskStatus, size, isActiveTask, onTaskSelect, children, }) => {
2031
2002
  const titleRef = React__namespace.useRef(null);
2032
2003
  const { focusOnQuickStart } = React__namespace.useContext(QuickStartContext);
@@ -2036,7 +2007,7 @@ const QuickStartTaskHeader = ({ title, taskIndex, subtitle, taskStatus, size, is
2036
2007
  titleRef.current.parentNode.focus();
2037
2008
  }
2038
2009
  }, [focusOnQuickStart, isActiveTask]);
2039
- const classNames = reactStyles.css('pfext-quick-start-task-header__title', {
2010
+ reactStyles.css('pfext-quick-start-task-header__title', {
2040
2011
  'pfext-quick-start-task-header__title-success': taskStatus === exports.QuickStartTaskStatus.SUCCESS,
2041
2012
  'pfext-quick-start-task-header__title-failed': taskStatus === (exports.QuickStartTaskStatus.FAILED || exports.QuickStartTaskStatus.VISITED),
2042
2013
  });
@@ -2048,18 +2019,17 @@ const QuickStartTaskHeader = ({ title, taskIndex, subtitle, taskStatus, size, is
2048
2019
  const tryAgain = failedReview && (React__namespace.createElement(React__namespace.Fragment, null,
2049
2020
  React__namespace.createElement("div", null),
2050
2021
  React__namespace.createElement("div", { className: "pfext-quick-start-task-header__tryagain" }, "Try the steps again.")));
2051
- const content = (React__namespace.createElement("div", { className: "pfext-quick-start-task-header", ref: titleRef },
2052
- React__namespace.createElement(TaskIcon, { taskIndex: taskIndex, taskStatus: taskStatus }),
2053
- React__namespace.createElement(reactCore.Title, { headingLevel: "h3", size: size, className: classNames },
2022
+ const content = (React__namespace.createElement("div", { ref: titleRef },
2023
+ React__namespace.createElement(reactCore.Title, { headingLevel: "h3" },
2054
2024
  React__namespace.createElement("span", { dangerouslySetInnerHTML: { __html: removeParagraphWrap(markdownConvert(title)) } }),
2055
- isActiveTask && subtitle && (React__namespace.createElement("span", { className: "pfext-quick-start-task-header__subtitle", "data-test-id": "quick-start-task-subtitle" },
2025
+ isActiveTask && subtitle && (React__namespace.createElement("span", { "data-test-id": "quick-start-task-subtitle" },
2056
2026
  ' ',
2057
- subtitle))),
2058
- tryAgain));
2027
+ React__namespace.createElement(reactCore.Text, { component: reactCore.TextVariants.small }, subtitle))),
2028
+ tryAgain)));
2059
2029
  return (React__namespace.createElement(reactCore.WizardNavItem, { content: content, stepIndex: taskIndex, onClick: () => onTaskSelect(taskIndex - 1), component: "button", isCurrent: isActiveTask }, children));
2060
2030
  };
2061
2031
 
2062
- const QuickStartTaskHeaderList = ({ tasks, allTaskStatuses, onTaskSelect, }) => tasks.length > 0 ? (React__namespace.createElement(reactCore.List, { className: "pfext-quick-start-task-header__list" }, tasks.map((task, index) => (React__namespace.createElement(QuickStartTaskHeader, { key: task.title, title: task.title, taskIndex: index + 1, size: "md", taskStatus: allTaskStatuses[index], onTaskSelect: onTaskSelect }))))) : null;
2032
+ const QuickStartTaskHeaderList = ({ tasks, allTaskStatuses, onTaskSelect, }) => tasks.length > 0 ? (React__namespace.createElement(reactCore.List, { className: "pf-v6-c-wizard__nav-list" }, tasks.map((task, index) => (React__namespace.createElement(QuickStartTaskHeader, { key: task.title, title: task.title, taskIndex: index + 1, size: "md", taskStatus: allTaskStatuses[index], onTaskSelect: onTaskSelect }))))) : null;
2063
2033
 
2064
2034
  const QuickStartConclusion = ({ tasks, conclusion, allTaskStatuses, nextQuickStarts, onQuickStartChange, onTaskSelect, }) => {
2065
2035
  const hasFailedTask = allTaskStatuses.includes(exports.QuickStartTaskStatus.FAILED);
@@ -2077,7 +2047,7 @@ const QuickStartConclusion = ({ tasks, conclusion, allTaskStatuses, nextQuickSta
2077
2047
  return (React__namespace.createElement(reactCore.Button, { variant: "link", onClick: () => onQuickStartChange(nextQuickStart.metadata.name), isInline: true, isBlock: true, key: index },
2078
2048
  getResource('Start {{nextQSDisplayName}} quick start').replace('{{nextQSDisplayName}}', (_a = nextQuickStart === null || nextQuickStart === void 0 ? void 0 : nextQuickStart.spec) === null || _a === void 0 ? void 0 : _a.displayName),
2079
2049
  ' ',
2080
- React__namespace.createElement(ArrowRightIcon__default['default'], { style: { marginLeft: 'var(--pf-v5-global--spacer--xs)', verticalAlign: 'middle' } })));
2050
+ React__namespace.createElement(ArrowRightIcon__default['default'], { style: { marginLeft: 'var(--pf-t--global--spacer--xs)', verticalAlign: 'middle' } })));
2081
2051
  })));
2082
2052
  };
2083
2053
 
@@ -2092,7 +2062,7 @@ const QuickStartIntroduction = ({ tasks, introduction, allTaskStatuses, prerequi
2092
2062
  return (React__namespace.createElement(React__namespace.Fragment, null,
2093
2063
  React__namespace.createElement(QuickStartMarkdownView, { content: introduction }),
2094
2064
  prereqList,
2095
- React__namespace.createElement("p", { style: { marginBottom: 'var(--pf-v5-global--spacer--md)' } },
2065
+ React__namespace.createElement("p", { style: { marginBottom: 'var(--pf-t--global--spacer--md)' } },
2096
2066
  getResource('In this quick start, you will complete {{count, number}} task', tasks.length).replace('{{count, number}}', tasks.length),
2097
2067
  ":"),
2098
2068
  React__namespace.createElement(QuickStartTaskHeaderList, { tasks: tasks, allTaskStatuses: allTaskStatuses, onTaskSelect: onTaskSelect })));
@@ -2279,7 +2249,7 @@ const QuickStartPanelContent = (_a) => {
2279
2249
  React__namespace.createElement("div", { className: headerClasses },
2280
2250
  React__namespace.createElement(reactCore.DrawerHead, null,
2281
2251
  React__namespace.createElement("div", { className: "pfext-quick-start-panel-content__title", tabIndex: -1, ref: titleRef },
2282
- React__namespace.createElement(reactCore.Title, { headingLevel: "h2", size: "xl", className: "pfext-quick-start-panel-content__name", style: { marginRight: 'var(--pf-v5-global--spacer--md)' } },
2252
+ React__namespace.createElement(reactCore.Title, { headingLevel: "h2", size: "xl", className: "pfext-quick-start-panel-content__name", style: { marginRight: 'var(--pf-t--global--spacer--md)' } },
2283
2253
  React__namespace.createElement("span", { dangerouslySetInnerHTML: {
2284
2254
  __html: removeParagraphWrap(markdownConvert(quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.displayName)),
2285
2255
  } }),
@@ -2393,7 +2363,7 @@ const QuickStartDrawer = (_a) => {
2393
2363
  const panelContent = (React__namespace.createElement(QuickStartPanelContent, Object.assign({ quickStarts: combinedQuickStarts, handleClose: handleClose, activeQuickStartID: activeQuickStartID, appendTo: appendTo, isResizable: !fullWidth, headerVariant: useLegacyHeaderColors ? '' : 'blue-white' }, fullWidthPanelStyle)));
2394
2364
  return (React__namespace.createElement(React__namespace.Fragment, null,
2395
2365
  React__namespace.createElement(reactCore.Drawer, Object.assign({ isExpanded: !!activeQuickStartID, isInline: true }, props), children ? (React__namespace.createElement(reactCore.DrawerContent, Object.assign({ panelContent: panelContent }, fullWidthBodyStyle),
2396
- React__namespace.createElement(reactCore.DrawerContentBody, { className: "pfext-quick-start-drawer__body" }, children))) : (React__namespace.createElement("div", { className: "pf-v5-c-drawer__main" }, panelContent))),
2366
+ React__namespace.createElement(reactCore.DrawerContentBody, { className: "pfext-quick-start-drawer__body" }, children))) : (React__namespace.createElement("div", { className: "pf-v6-c-drawer__main" }, panelContent))),
2397
2367
  React__namespace.createElement(QuickStartCloseModal, { isOpen: modalOpen, onConfirm: onModalConfirm, onCancel: onModalCancel })));
2398
2368
  };
2399
2369
 
@@ -2461,7 +2431,7 @@ const HelpTopicPanelContent = (_a) => {
2461
2431
  React__namespace.createElement("div", { className: "pfext-quick-start-panel-content__title" },
2462
2432
  helpTopicOptions && (React__namespace.createElement(reactCore.Select, { isPlain: true, id: "help-topics-select", selected: activeHelpTopic, isOpen: isHelpTopicMenuOpen, onSelect: onSelectHelpTopic, onOpenChange: (isOpen) => setIsHelpTopicMenuOpen(isOpen), toggle: (toggleRef) => (React__namespace.createElement(reactCore.MenuToggle, { isFullWidth: true, ref: toggleRef, icon: React__namespace.createElement(BarsIcon__default['default'], null), onClick: toggleHelpTopicMenu, isExpanded: isHelpTopicMenuOpen }, activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.title)) },
2463
2433
  React__namespace.createElement(reactCore.SelectList, null, helpTopicOptions))),
2464
- React__namespace.createElement(reactCore.Title, { headingLevel: "h1", size: "xl", className: "pfext-quick-start-panel-content__name", style: { marginRight: 'var(--pf-v5-global--spacer--md)' } }, activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.title)),
2434
+ React__namespace.createElement(reactCore.Title, { headingLevel: "h1", size: "xl", className: "pfext-quick-start-panel-content__name", style: { marginRight: 'var(--pf-t--global--spacer--md)' } }, activeHelpTopic === null || activeHelpTopic === void 0 ? void 0 : activeHelpTopic.title)),
2465
2435
  React__namespace.createElement(reactCore.DrawerActions, null,
2466
2436
  React__namespace.createElement(reactCore.DrawerCloseButton, { onClick: onClose, className: "pfext-quick-start-panel-content__close-button", "data-testid": "qs-drawer-close" }))),
2467
2437
  React__namespace.createElement(reactCore.Divider, null),
@@ -2497,7 +2467,7 @@ const HelpTopicDrawer = (_a) => {
2497
2467
  const panelContent = (React__namespace.createElement(HelpTopicPanelContent, { activeHelpTopic: activeHelpTopic, filteredHelpTopics: filteredHelpTopics, onClose: onClose }));
2498
2468
  return (React__namespace.createElement(React__namespace.Fragment, null,
2499
2469
  React__namespace.createElement(reactCore.Drawer, Object.assign({ isExpanded: !!activeHelpTopic, isInline: true }, props), children ? (React__namespace.createElement(reactCore.DrawerContent, { panelContent: panelContent },
2500
- React__namespace.createElement(reactCore.DrawerContentBody, { className: "pfext-quick-start-drawer__body" }, children))) : (React__namespace.createElement("div", { className: "pf-v5-c-drawer__main" }, panelContent)))));
2470
+ React__namespace.createElement(reactCore.DrawerContentBody, { className: "pfext-quick-start-drawer__body" }, children))) : (React__namespace.createElement("div", { className: "pf-v6-c-drawer__main" }, panelContent)))));
2501
2471
  };
2502
2472
 
2503
2473
  const useLocalStorage = (key, initialValue) => {