@patternfly/quickstarts 5.3.0-prerelease.1 → 6.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/catalog/QuickStartTile.d.ts +0 -3
  2. package/dist/catalog/QuickStartTileHeader.d.ts +0 -12
  3. package/dist/catalog/index.d.ts +1 -1
  4. package/dist/index.es.js +64 -101
  5. package/dist/index.es.js.map +1 -1
  6. package/dist/index.js +63 -103
  7. package/dist/index.js.map +1 -1
  8. package/dist/patternfly-global.css +773 -846
  9. package/dist/patternfly-nested.css +12814 -9632
  10. package/dist/quickstarts-base.css +155 -787
  11. package/dist/quickstarts-full.es.js +3689 -3599
  12. package/dist/quickstarts-full.es.js.map +1 -1
  13. package/dist/quickstarts-standalone.css +165 -546
  14. package/dist/quickstarts-standalone.min.css +8 -4
  15. package/dist/quickstarts-vendor.css +37 -134
  16. package/dist/quickstarts.css +192 -921
  17. package/dist/quickstarts.min.css +1 -1
  18. package/package.json +20 -19
  19. package/src/ConsoleInternal/components/_icon-and-text.scss +2 -2
  20. package/src/ConsoleInternal/components/catalog/_catalog.scss +20 -20
  21. package/src/ConsoleInternal/components/markdown-view.tsx +2 -2
  22. package/src/ConsoleInternal/components/utils/_status-box.scss +1 -1
  23. package/src/ConsoleShared/src/components/layout/PageLayout.scss +10 -10
  24. package/src/ConsoleShared/src/components/markdown-extensions/accordion-extension.tsx +6 -4
  25. package/src/ConsoleShared/src/components/markdown-extensions/accordion-render-extension.tsx +2 -2
  26. package/src/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.tsx +5 -5
  27. package/src/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.tsx +8 -8
  28. package/src/ConsoleShared/src/components/markdown-extensions/showdown-extension.scss +5 -5
  29. package/src/ConsoleShared/src/components/spotlight/StaticSpotlight.tsx +1 -1
  30. package/src/ConsoleShared/src/components/spotlight/spotlight.scss +4 -4
  31. package/src/ConsoleShared/src/components/status/icons.tsx +6 -8
  32. package/src/HelpTopicDrawer.tsx +1 -1
  33. package/src/HelpTopicPanelContent.tsx +1 -1
  34. package/src/QuickStartCatalogPage.tsx +1 -8
  35. package/src/QuickStartController.tsx +1 -1
  36. package/src/QuickStartDrawer.scss +1 -1
  37. package/src/QuickStartDrawer.tsx +1 -1
  38. package/src/QuickStartMarkdownView.tsx +1 -1
  39. package/src/QuickStartPanelContent.scss +10 -10
  40. package/src/QuickStartPanelContent.tsx +1 -1
  41. package/src/catalog/QuickStartCatalog.scss +1 -1
  42. package/src/catalog/QuickStartTile.tsx +11 -20
  43. package/src/catalog/QuickStartTileDescription.scss +4 -4
  44. package/src/catalog/QuickStartTileHeader.scss +5 -9
  45. package/src/catalog/QuickStartTileHeader.tsx +4 -31
  46. package/src/catalog/Toolbar/QuickStartCatalogFilter.scss +9 -9
  47. package/src/catalog/Toolbar/QuickStartCatalogFilterItems.tsx +1 -1
  48. package/src/catalog/index.ts +1 -1
  49. package/src/controller/QuickStartConclusion.tsx +1 -1
  50. package/src/controller/QuickStartContent.scss +2 -2
  51. package/src/controller/QuickStartFooter.scss +3 -3
  52. package/src/controller/QuickStartIntroduction.scss +7 -7
  53. package/src/controller/QuickStartIntroduction.tsx +1 -1
  54. package/src/controller/QuickStartTaskHeader.scss +15 -15
  55. package/src/controller/QuickStartTaskHeader.tsx +17 -17
  56. package/src/controller/QuickStartTaskHeaderList.scss +1 -1
  57. package/src/controller/QuickStartTaskHeaderList.tsx +1 -1
  58. package/src/controller/QuickStartTaskReview.scss +8 -8
  59. package/src/controller/QuickStartTasks.scss +14 -13
  60. package/src/styles/_base.scss +3 -6
  61. package/src/styles/_dark-custom-override.scss +16 -31
  62. package/src/styles/legacy-bootstrap/_variables.scss +8 -8
  63. package/src/styles/patternfly-global.scss +8 -8
  64. package/src/styles/patternfly-nested.scss +5 -5
  65. package/src/styles/style.scss +6 -6
  66. package/src/styles/vendor.scss +2 -2
@@ -127,7 +127,7 @@ const HelpTopicPanelContent: React.FC<HelpTopicPanelContentProps> = ({
127
127
  headingLevel="h1"
128
128
  size="xl"
129
129
  className="pfext-quick-start-panel-content__name"
130
- style={{ marginRight: 'var(--pf-v5-global--spacer--md)' }}
130
+ style={{ marginRight: 'var(--pf-t--global--spacer--md)' }}
131
131
  >
132
132
  {activeHelpTopic?.title}
133
133
  </Title>
@@ -4,11 +4,9 @@ import {
4
4
  Divider,
5
5
  EmptyState,
6
6
  EmptyStateBody,
7
- EmptyStateIcon,
8
7
  Text,
9
8
  EmptyStateFooter,
10
9
  EmptyStateActions,
11
- EmptyStateHeader,
12
10
  } from '@patternfly/react-core';
13
11
  import SearchIcon from '@patternfly/react-icons/dist/js/icons/search-icon';
14
12
  import { EmptyBox, LoadingBox, clearFilterParams } from '@console/internal/components/utils';
@@ -30,12 +28,7 @@ export interface QuickStartCatalogPageProps {
30
28
  export const QuickStartCatalogEmptyState = ({ clearFilters }) => {
31
29
  const { getResource } = React.useContext<QuickStartContextValues>(QuickStartContext);
32
30
  return (
33
- <EmptyState>
34
- <EmptyStateHeader
35
- titleText={<>{getResource('No results found')}</>}
36
- icon={<EmptyStateIcon icon={SearchIcon} />}
37
- headingLevel="h4"
38
- />
31
+ <EmptyState headingLevel="h4" icon={SearchIcon} titleText={<>{getResource('No results found')}</>}>
39
32
  <EmptyStateBody>
40
33
  {getResource(
41
34
  'No results match the filter criteria. Remove filters or clear all filters to show results.',
@@ -50,7 +50,7 @@ const QuickStartController: React.FC<QuickStartControllerProps> = ({
50
50
  let activeTaskNumber = 0;
51
51
  while (
52
52
  activeTaskNumber !== totalTasks &&
53
- activeQuickStartState[`taskStatus${activeTaskNumber}`] === QuickStartTaskStatus.SUCCESS
53
+ activeQuickStartState[`taskStatus${activeTaskNumber}`] !== QuickStartTaskStatus.INIT
54
54
  ) {
55
55
  activeTaskNumber++;
56
56
  }
@@ -5,7 +5,7 @@
5
5
  z-index: 0;
6
6
  position: relative;
7
7
  }
8
- &__modal > .pf-v5-c-modal-box__footer {
8
+ &__modal > .pf-v6-c-modal-box__footer {
9
9
  display: block;
10
10
  }
11
11
  }
@@ -252,7 +252,7 @@ export const QuickStartDrawer: React.FC<QuickStartDrawerProps> = ({
252
252
  </DrawerContentBody>
253
253
  </DrawerContent>
254
254
  ) : (
255
- <div className="pf-v5-c-drawer__main">{panelContent}</div>
255
+ <div className="pf-v6-c-drawer__main">{panelContent}</div>
256
256
  )}
257
257
  </Drawer>
258
258
  <QuickStartCloseModal
@@ -45,7 +45,7 @@ const QuickStartMarkdownView: React.FC<QuickStartMarkdownViewProps> = ({
45
45
  if (!linkLabel || !linkType || !linkId) {
46
46
  return text;
47
47
  }
48
- return `<button class="pf-v5-c-button pf-m-inline pf-m-link" data-highlight="${linkId}">${linkLabel}</button>`;
48
+ return `<button class="pf-v6-c-button pf-m-inline pf-m-link" data-highlight="${linkId}">${linkLabel}</button>`;
49
49
  },
50
50
  },
51
51
  {
@@ -3,21 +3,21 @@
3
3
  position: sticky;
4
4
  top: 0px;
5
5
  background: inherit;
6
- z-index: var(--pf-v5-global--ZIndex--xs);
6
+ z-index: var(--pf-t--global--z-index--xs);
7
7
  &__shadow {
8
- box-shadow: var(--pf-v5-global--BoxShadow--sm-bottom);
8
+ box-shadow: var(--pf-t--global--box-shadow--sm--bottom);
9
9
  }
10
10
  &--blue-white {
11
- background-color: var(--pf-v5-global--palette--blue-400);
11
+ background-color: var(--pf-t--global--color--brand--default);
12
12
  .pfext-quick-start-panel-content__title {
13
- color: var(--pf-v5-global--Color--light-100);
13
+ color: var(--pf-t--global--text--color--on-brand--default);
14
14
  }
15
15
  .pfext-quick-start-panel-content__duration {
16
- color: var(--pf-v5-global--Color--light-200);
16
+ color: var(--pf-t--global--text--color--on-brand--default);
17
17
  }
18
18
  .pfext-quick-start-panel-content__close-button {
19
19
  button {
20
- color: var(--pf-v5-global--Color--light-100) !important;
20
+ color: var(--pf-t--global--text--color--on-brand--default) !important;
21
21
  }
22
22
  }
23
23
  }
@@ -33,14 +33,14 @@
33
33
  }
34
34
  &__duration {
35
35
  display: inline-block;
36
- font-size: var(--pf-v5-global--FontSize--md);
37
- font-weight: 400;
36
+ font-size: var(--pf-t--global--font--size--body--default);
37
+ font-weight: var(--pf-t--global--font--weight--body);
38
38
  line-height: 1;
39
- color: #9c9c9c;
39
+ color: var(--pf-t--global--text--color--subtle);
40
40
  }
41
41
  &__footer {
42
42
  &__shadow {
43
- box-shadow: var(--pf-v5-global--BoxShadow--sm-top);
43
+ box-shadow: var(--pf-t--global--box-shadow--sm--top);
44
44
  }
45
45
  }
46
46
  }
@@ -111,7 +111,7 @@ const QuickStartPanelContent: React.FC<QuickStartPanelContentProps> = ({
111
111
  headingLevel="h2"
112
112
  size="xl"
113
113
  className="pfext-quick-start-panel-content__name"
114
- style={{ marginRight: 'var(--pf-v5-global--spacer--md)' }}
114
+ style={{ marginRight: 'var(--pf-t--global--spacer--md)' }}
115
115
  >
116
116
  <span
117
117
  dangerouslySetInnerHTML={{
@@ -1,6 +1,6 @@
1
1
  .pfext-quick-start-catalog {
2
2
  &__gallery {
3
- --pf-v5-l-gallery--GridTemplateColumns: repeat(auto-fill, 300px) !important;
3
+ --pf-v6-l-gallery--GridTemplateColumns: repeat(auto-fill, 300px) !important;
4
4
  }
5
5
  &__gallery-item {
6
6
  display: inherit !important;
@@ -8,7 +8,8 @@ import { camelize } from '../utils/quick-start-utils';
8
8
  import QuickStartTileDescription from './QuickStartTileDescription';
9
9
  import QuickStartTileFooter from './QuickStartTileFooter';
10
10
  import QuickStartTileFooterExternal from './QuickStartTileFooterExternal';
11
- import QuickStartTileHeader, { QuickstartAction } from './QuickStartTileHeader';
11
+ import QuickStartTileHeader from './QuickStartTileHeader';
12
+ import { Icon } from '@patternfly/react-core';
12
13
 
13
14
  import './QuickStartTile.scss';
14
15
 
@@ -17,8 +18,6 @@ interface QuickStartTileProps {
17
18
  status: QuickStartStatus;
18
19
  isActive: boolean;
19
20
  onClick?: () => void;
20
- /** Action config for button rendered next to title */
21
- action?: QuickstartAction;
22
21
  }
23
22
 
24
23
  const QuickStartTile: React.FC<QuickStartTileProps> = ({
@@ -26,7 +25,6 @@ const QuickStartTile: React.FC<QuickStartTileProps> = ({
26
25
  status,
27
26
  isActive,
28
27
  onClick = () => {},
29
- action,
30
28
  }) => {
31
29
  const {
32
30
  metadata: { name: id },
@@ -40,15 +38,17 @@ const QuickStartTile: React.FC<QuickStartTileProps> = ({
40
38
 
41
39
  let quickStartIcon: React.ReactNode;
42
40
  if (typeof icon === 'object') {
43
- quickStartIcon = icon;
41
+ quickStartIcon = <Icon size="xl">{icon}</Icon>
44
42
  } else {
45
43
  quickStartIcon = (
44
+ <Icon size="xl">
46
45
  <FallbackImg
47
46
  className="pfext-catalog-item-icon__img--large"
48
47
  src={icon as string}
49
48
  alt=""
50
49
  fallback={<RocketIcon />}
51
50
  />
51
+ </Icon>
52
52
  );
53
53
  }
54
54
 
@@ -68,23 +68,17 @@ const QuickStartTile: React.FC<QuickStartTileProps> = ({
68
68
  e: React.FormEvent<HTMLInputElement> | React.MouseEvent<Element, MouseEvent>,
69
69
  ) => {
70
70
  if (ref.current?.contains(e.target as Node)) {
71
- if (!link) {
71
+ if (link) {
72
+ window.open(link.href);
73
+ } else {
72
74
  setActiveQuickStart(id, tasks?.length);
73
75
  }
74
76
  onClick();
75
77
  }
76
78
  };
77
79
 
78
- const linkProps = link
79
- ? {
80
- href: link.href,
81
- target: '_blank',
82
- rel: 'noreferrer',
83
- }
84
- : {};
85
-
86
80
  return (
87
- <div ref={ref} onClick={handleClick}>
81
+ <div ref={ref}>
88
82
  <CatalogTile
89
83
  id={id + '-catalog-tile'}
90
84
  style={{
@@ -101,9 +95,9 @@ const QuickStartTile: React.FC<QuickStartTileProps> = ({
101
95
  duration={durationMinutes}
102
96
  type={type}
103
97
  quickStartId={id}
104
- action={action}
105
98
  />
106
99
  }
100
+ onClick={handleClick}
107
101
  onKeyDown={(event) => {
108
102
  if (event.key === 'Enter' || event.key === ' ') {
109
103
  setActiveQuickStart(id, tasks?.length);
@@ -111,16 +105,13 @@ const QuickStartTile: React.FC<QuickStartTileProps> = ({
111
105
  }
112
106
  }}
113
107
  // https://github.com/patternfly/patternfly-react/issues/7039
114
- {...linkProps}
108
+ href={link?.href}
115
109
  data-test={`tile ${id}`}
116
110
  description={
117
111
  <QuickStartTileDescription description={description} prerequisites={prerequisites} />
118
112
  }
119
113
  footer={footerComponent}
120
114
  tabIndex={0}
121
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
122
- // @ts-ignore-next-line
123
- isSelectableRaised
124
115
  />
125
116
  </div>
126
117
  );
@@ -13,12 +13,12 @@
13
13
  &-prerequisites {
14
14
  display: inline-flex;
15
15
  &__text {
16
- margin-right: var(--pf-v5-global--spacer--sm);
17
- font-size: var(--pf-v5-global--FontSize--md);
16
+ margin-right: var(--pf-t--global--spacer--sm);
17
+ font-size: var(--pf-t--global--font--size--md);
18
18
  margin-top: 11.5px;
19
19
  margin-bottom: 11.5px;
20
- font-family: var(--pf-v5-global--FontFamily--heading--sans-serif);
21
- font-weight: var(--pf-v5-global--FontWeight--normal);
20
+ font-family: var(--pf-t--global--font--family--heading);
21
+ font-weight: var(--pf-t--global--font--weight--heading);
22
22
  line-height: 1.1;
23
23
  }
24
24
 
@@ -1,16 +1,12 @@
1
1
  .pfext-quick-start-tile-header {
2
2
  &__status {
3
- margin: var(--pf-v5-global--spacer--sm) 0;
3
+ margin: var(--pf-t--global--spacer--sm) 0;
4
4
  }
5
5
  &--margin {
6
- margin-right: var(--pf-v5-global--spacer--sm);
7
- margin-bottom: var(--pf-v5-global--spacer--sm);
6
+ margin-right: var(--pf-t--global--spacer--sm);
7
+ margin-bottom: var(--pf-t--global--spacer--sm);
8
8
  }
9
- & .pf-v5-c-badge:not(:last-of-type) {
10
- margin-right: var(--pf-v5-global--spacer--sm);
11
- }
12
-
13
- h3 {
14
- flex: 1;
9
+ & .pf-v6-c-badge:not(:last-of-type) {
10
+ margin-right: var(--pf-t--global--spacer--sm);
15
11
  }
16
12
  }
@@ -1,31 +1,18 @@
1
1
  import './QuickStartTileHeader.scss';
2
2
  import * as React from 'react';
3
- import { Button, ButtonProps, Flex, Label, Title } from '@patternfly/react-core';
3
+ import { Label, Title } from '@patternfly/react-core';
4
4
  import OutlinedClockIcon from '@patternfly/react-icons/dist/js/icons/outlined-clock-icon';
5
- import OutlinedBookmarkIcon from '@patternfly/react-icons/dist/js/icons/outlined-bookmark-icon';
6
5
  import { StatusIcon } from '@console/shared';
7
6
  import { QuickStartContext, QuickStartContextValues } from '../utils/quick-start-context';
8
7
  import { QuickStartStatus, QuickStartType } from '../utils/quick-start-types';
9
8
  import QuickStartMarkdownView from '../QuickStartMarkdownView';
10
9
 
11
- export interface QuickstartAction {
12
- /** Screen reader aria label. */
13
- 'aria-label': string;
14
- /** Icon to be rendered as a plain button, by default Bookmark outlined will be used. */
15
- icon?: React.ComponentType<unknown>;
16
- /** Callback with synthetic event parameter. */
17
- onClick?: (e: React.SyntheticEvent) => void;
18
- /** Additional button props to be rendered as extra props. */
19
- buttonProps?: ButtonProps;
20
- }
21
-
22
10
  interface QuickStartTileHeaderProps {
23
11
  status: string;
24
12
  duration: number;
25
13
  name: string;
26
14
  type?: QuickStartType;
27
15
  quickStartId?: string;
28
- action?: QuickstartAction;
29
16
  }
30
17
 
31
18
  const statusColorMap = {
@@ -40,7 +27,6 @@ const QuickStartTileHeader: React.FC<QuickStartTileHeaderProps> = ({
40
27
  name,
41
28
  type,
42
29
  quickStartId,
43
- action,
44
30
  }) => {
45
31
  const { getResource } = React.useContext<QuickStartContextValues>(QuickStartContext);
46
32
 
@@ -50,24 +36,11 @@ const QuickStartTileHeader: React.FC<QuickStartTileHeaderProps> = ({
50
36
  [QuickStartStatus.NOT_STARTED]: getResource('Not started'),
51
37
  };
52
38
 
53
- const ActionIcon = action?.icon || OutlinedBookmarkIcon;
54
-
55
39
  return (
56
40
  <div className="pfext-quick-start-tile-header">
57
- <Flex flexWrap={{ default: 'nowrap' }}>
58
- <Title headingLevel="h3" data-test="title" id={quickStartId}>
59
- <QuickStartMarkdownView content={name} />
60
- </Title>
61
- {action && (
62
- <Button
63
- aria-label={action['aria-label']}
64
- icon={<ActionIcon />}
65
- variant="plain"
66
- onClick={action.onClick}
67
- {...action.buttonProps}
68
- />
69
- )}
70
- </Flex>
41
+ <Title headingLevel="h3" data-test="title" id={quickStartId}>
42
+ <QuickStartMarkdownView content={name} />
43
+ </Title>
71
44
  <div className="pfext-quick-start-tile-header__status">
72
45
  {type && (
73
46
  <Label className="pfext-quick-start-tile-header--margin" color={type.color}>
@@ -5,21 +5,21 @@
5
5
  }
6
6
 
7
7
  &__count {
8
- font-weight: var(--pf-v5-global--FontWeight--bold);
8
+ font-weight: var(--pf-t--global--font--weight--body--bold);
9
9
  }
10
10
  }
11
11
 
12
- .pf-v5-c-toolbar.pf-m-page-insets.pfext-quick-start-catalog-filter__flex {
13
- --pf-v5-c-toolbar--PaddingBottom: var(--pf-v5-global--spacer--sm);
14
- --pf-v5-c-toolbar--PaddingTop: var(--pf-v5-global--spacer--sm);
15
- --pf-v5-c-toolbar--RowGap: 0;
12
+ .pf-v6-c-toolbar.pf-m-page-insets.pfext-quick-start-catalog-filter__flex {
13
+ --pf-v6-c-toolbar--PaddingBottom: var(--pf-t--global--spacer--sm);
14
+ --pf-v6-c-toolbar--PaddingTop: var(--pf-t--global--spacer--sm);
15
+ --pf-v6-c-toolbar--RowGap: 0;
16
16
  font-size: 14px;
17
17
 
18
- .pf-v5-c-select {
19
- --pf-v5-c-select__toggle--FontSize: 14px;
18
+ .pf-v6-c-select {
19
+ --pf-v6-c-select__toggle--FontSize: 14px;
20
20
  }
21
21
 
22
- .pf-v5-c-check {
23
- --pf-v5-c-check__label--FontSize: 14px;
22
+ .pf-v6-c-check {
23
+ --pf-v6-c-check__label--FontSize: 14px;
24
24
  }
25
25
  }
@@ -73,7 +73,7 @@ export const QuickStartCatalogFilterCount = ({ quickStartsCount }) => {
73
73
  return (
74
74
  <ToolbarItem
75
75
  className="pfext-quick-start-catalog-filter__count"
76
- align={{ default: 'alignRight' }}
76
+ align={{ default: 'alignEnd' }}
77
77
  >
78
78
  {getResource('{{count, number}} item', quickStartsCount).replace(
79
79
  '{{count, number}}',
@@ -4,6 +4,6 @@ export { default as QuickStartTile } from './QuickStartTile';
4
4
  export { default as QuickStartTileDescription } from './QuickStartTileDescription';
5
5
  export { default as QuickStartTileFooter } from './QuickStartTileFooter';
6
6
  export { default as QuickStartTileFooterExternal } from './QuickStartTileFooterExternal';
7
- export { default as QuickStartTileHeader, QuickstartAction } from './QuickStartTileHeader';
7
+ export { default as QuickStartTileHeader } from './QuickStartTileHeader';
8
8
  export * from './Toolbar/QuickStartCatalogFilterItems';
9
9
  export * from './Catalog';
@@ -53,7 +53,7 @@ const QuickStartConclusion: React.FC<QuickStartConclusionProps> = ({
53
53
  nextQuickStart?.spec?.displayName,
54
54
  )}{' '}
55
55
  <ArrowRightIcon
56
- style={{ marginLeft: 'var(--pf-v5-global--spacer--xs)', verticalAlign: 'middle' }}
56
+ style={{ marginLeft: 'var(--pf-t--global--spacer--xs)', verticalAlign: 'middle' }}
57
57
  />
58
58
  </Button>
59
59
  ))}
@@ -1,10 +1,10 @@
1
1
  .pfext-quick-start-content {
2
2
  flex: 1 1 0;
3
3
  overflow: auto;
4
- padding: var(--pf-v5-global--spacer--lg);
4
+ padding: var(--pf-t--global--spacer--lg);
5
5
  font-size: 16px;
6
6
 
7
- .pf-v5-c-alert__description {
7
+ .pf-v6-c-alert__description {
8
8
  p {
9
9
  font-size: 13px;
10
10
  }
@@ -1,10 +1,10 @@
1
1
  .pfext-quick-start-footer {
2
- background-color: var(--pf-v5-global--BackgroundColor--100); // this is an example about how we should use PF variables
2
+ background-color: var(--pf-t--global--background--color--primary--default); // this is an example about how we should use PF variables
3
3
  flex: 0 0 auto;
4
- padding: var(--pf-v5-global--spacer--md) var(--pf-v5-global--spacer--lg);
4
+ padding: var(--pf-t--global--spacer--md) var(--pf-t--global--spacer--lg);
5
5
 
6
6
  &__actionbtn {
7
- margin-right: var(--pf-v5-global--spacer--md);
7
+ margin-right: var(--pf-t--global--spacer--md);
8
8
  }
9
9
 
10
10
  &__restartbtn {
@@ -1,19 +1,19 @@
1
1
  .pfext-quick-start-intro {
2
2
  &__prereq {
3
- margin-bottom: var(--pf-v5-global--spacer--md);
4
- .pf-v5-c-expandable-section__content {
5
- margin-top: var(--pf-v5-global--spacer--sm);
3
+ margin-bottom: var(--pf-t--global--spacer--md);
4
+ .pf-v6-c-expandable-section__content {
5
+ margin-top: var(--pf-t--global--spacer--sm);
6
6
  }
7
- .pf-v5-c-expandable-section__toggle {
7
+ .pf-v6-c-expandable-section__toggle {
8
8
  padding-top: 0;
9
9
  padding-bottom: 0;
10
10
  &-text {
11
- margin-left: var(--pf-v5-global--spacer--sm);
11
+ margin-left: var(--pf-t--global--spacer--sm);
12
12
  }
13
13
  &-icon {
14
- color: var(--pf-v5-c-expandable-section__toggle--Color);
14
+ color: var(--pf-v6-c-expandable-section__toggle--Color);
15
15
  &:focus, &:hover {
16
- --pf-v5-c-expandable-section__toggle--Color: var(--pf-v5-c-expandable-section__toggle--focus--Color);
16
+ --pf-v6-c-expandable-section__toggle--Color: var(--pf-v6-c-expandable-section__toggle--focus--Color);
17
17
  }
18
18
  }
19
19
  }
@@ -49,7 +49,7 @@ const QuickStartIntroduction: React.FC<QuickStartIntroductionProps> = ({
49
49
  <>
50
50
  <QuickStartMarkdownView content={introduction} />
51
51
  {prereqList}
52
- <p style={{ marginBottom: 'var(--pf-v5-global--spacer--md)' }}>
52
+ <p style={{ marginBottom: 'var(--pf-t--global--spacer--md)' }}>
53
53
  {getResource(
54
54
  'In this quick start, you will complete {{count, number}} task',
55
55
  tasks.length,
@@ -1,41 +1,41 @@
1
1
  .pfext-quick-start-task-header {
2
- margin-bottom: var(--pf-v5-global--spacer--sm);
2
+ margin-bottom: var(--pf-t--global--spacer--sm);
3
3
  display: grid;
4
4
  grid-template-columns: min-content auto;
5
- font-size: var(--pf-v5-global--FontSize--md);
5
+ font-size: var(--pf-t--global--font--size--body--default);
6
6
  button::before {
7
7
  content: none;
8
8
  }
9
9
 
10
10
  &__title {
11
- color: var(--pf-v5-global--primary-color--100) !important;
12
- margin-right: var(--pf-v5-global--spacer--md) !important;
11
+ color: var(--pf-t--global--text--color--brand--default) !important;
12
+ margin-right: var(--pf-t--global--spacer--md) !important;
13
13
  }
14
14
 
15
15
  &__subtitle {
16
- font-size: var(--pf-v5-global--FontSize--sm);
17
- color: var(--pf-v5-global--Color--dark-200) !important;
16
+ font-size: var(--pf-t--global--font--size--body--sm);
17
+ color: var(--pf-t--global--text--color--subtle) !important;
18
18
  }
19
19
 
20
20
  &__tryagain {
21
21
  display: block;
22
- font-size: var(--pf-v5-global--FontSize--md);
23
- color: var(--pf-v5-global--Color--300) !important;
22
+ font-size: var(--pf-t--global--font--size--body--default);
23
+ color: var(--pf-t--global--text--color--subtle) !important;
24
24
  }
25
25
 
26
26
  &__title-success {
27
- color: var(--pf-v5-global--success-color--100) !important;
27
+ color: var(--pf-t--global--text--color--status--success--default) !important;
28
28
  }
29
29
 
30
30
  &__title-failed {
31
- color: var(--pf-v5-global--danger-color--100) !important;
31
+ color: var(--pf-t--global--text--color--status--danger--default) !important;
32
32
  }
33
33
 
34
34
  &__task-icon {
35
35
  &-init {
36
- background-color: var(--pf-v5-global--primary-color--100);
37
- border-radius: var(--pf-v5-global--BorderRadius--lg);
38
- color: var(--pf-v5-global--Color--light-100);
36
+ background-color: var(--pf-t--global--color--brand--default);
37
+ border-radius: var(--pf-t--global--border--radius--large);
38
+ color: var(--pf-t--global--text--color--on-brand--default);
39
39
  display: inline-flex;
40
40
  justify-content: center;
41
41
  height: 1.5em;
@@ -48,11 +48,11 @@
48
48
  }
49
49
 
50
50
  &-success {
51
- color: var(--pf-v5-global--success-color--100) !important;
51
+ color: var(--pf-t--global--text--color--status--success--default) !important;
52
52
  }
53
53
 
54
54
  &-failed {
55
- color: var(--pf-v5-global--danger-color--100) !important;
55
+ color: var(--pf-t--global--text--color--status--danger--default) !important;
56
56
  }
57
57
  }
58
58
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Icon, Title, WizardNavItem } from '@patternfly/react-core';
2
+ import { Icon, Text, TextVariants, Title, WizardNavItem } from '@patternfly/react-core';
3
3
  import CheckCircleIcon from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
4
4
  import ExclamationCircleIcon from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
5
5
  import { css } from '@patternfly/react-styles';
@@ -91,22 +91,22 @@ const QuickStartTaskHeader: React.FC<QuickStartTaskHeaderProps> = ({
91
91
  );
92
92
 
93
93
  const content = (
94
- <div className="pfext-quick-start-task-header" ref={titleRef}>
95
- <TaskIcon taskIndex={taskIndex} taskStatus={taskStatus} />
96
- <Title headingLevel="h3" size={size} className={classNames}>
97
- <span dangerouslySetInnerHTML={{ __html: removeParagraphWrap(markdownConvert(title)) }} />
98
- {isActiveTask && subtitle && (
99
- <span
100
- className="pfext-quick-start-task-header__subtitle"
101
- data-test-id="quick-start-task-subtitle"
102
- >
103
- {' '}
104
- {subtitle}
105
- </span>
106
- )}
107
- </Title>
108
- {tryAgain}
109
- </div>
94
+ <div ref={titleRef}>
95
+ <Title headingLevel="h3">
96
+ <span dangerouslySetInnerHTML={{ __html: removeParagraphWrap(markdownConvert(title)) }} />
97
+ {isActiveTask && subtitle && (
98
+ <span
99
+ data-test-id="quick-start-task-subtitle"
100
+ >
101
+ {' '}
102
+ <Text component={TextVariants.small}>
103
+ {subtitle}
104
+ </Text>
105
+ </span>
106
+ )}
107
+ {tryAgain}
108
+ </Title>
109
+ </div>
110
110
  );
111
111
 
112
112
  return (
@@ -11,7 +11,7 @@
11
11
  display: flex;
12
12
  flex-wrap: wrap;
13
13
  align-items: center;
14
- margin-bottom: var(--pf-v5-global--spacer--xs);
14
+ margin-bottom: var(--pf-t--global--spacer--xs);
15
15
  }
16
16
  }
17
17
  }
@@ -16,7 +16,7 @@ const QuickStartTaskHeaderList: React.FC<QuickStartTaskHeaderListProps> = ({
16
16
  allTaskStatuses,
17
17
  onTaskSelect,
18
18
  }) => tasks.length > 0 ? (
19
- <List className="pfext-quick-start-task-header__list">
19
+ <List className="pf-v6-c-wizard__nav-list">
20
20
  {tasks.map((task, index) => (
21
21
  <TaskHeader
22
22
  key={task.title}