@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.
- package/dist/index.es.js +49 -77
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +48 -78
- package/dist/index.js.map +1 -1
- package/dist/patternfly-global.css +773 -846
- package/dist/patternfly-nested.css +12814 -9632
- package/dist/quickstarts-base.css +128 -757
- package/dist/quickstarts-full.es.js +3217 -2470
- package/dist/quickstarts-full.es.js.map +1 -1
- package/dist/quickstarts-standalone.css +165 -540
- package/dist/quickstarts-standalone.min.css +8 -4
- package/dist/quickstarts-vendor.css +37 -134
- package/dist/quickstarts.css +165 -891
- package/dist/quickstarts.min.css +1 -1
- package/package.json +20 -20
- package/src/ConsoleInternal/components/_icon-and-text.scss +2 -2
- package/src/ConsoleInternal/components/catalog/_catalog.scss +20 -20
- package/src/ConsoleInternal/components/markdown-view.tsx +2 -2
- package/src/ConsoleInternal/components/utils/_status-box.scss +1 -1
- package/src/ConsoleShared/src/components/layout/PageLayout.scss +10 -10
- package/src/ConsoleShared/src/components/markdown-extensions/accordion-extension.tsx +6 -4
- package/src/ConsoleShared/src/components/markdown-extensions/accordion-render-extension.tsx +2 -2
- package/src/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.tsx +5 -5
- package/src/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.tsx +8 -8
- package/src/ConsoleShared/src/components/markdown-extensions/showdown-extension.scss +5 -5
- package/src/ConsoleShared/src/components/spotlight/StaticSpotlight.tsx +1 -1
- package/src/ConsoleShared/src/components/spotlight/spotlight.scss +4 -4
- package/src/ConsoleShared/src/components/status/icons.tsx +6 -8
- package/src/HelpTopicDrawer.tsx +1 -1
- package/src/HelpTopicPanelContent.tsx +1 -1
- package/src/QuickStartCatalogPage.tsx +1 -8
- package/src/QuickStartDrawer.scss +1 -1
- package/src/QuickStartDrawer.tsx +1 -1
- package/src/QuickStartMarkdownView.tsx +1 -1
- package/src/QuickStartPanelContent.scss +10 -10
- package/src/QuickStartPanelContent.tsx +1 -1
- package/src/catalog/QuickStartCatalog.scss +1 -1
- package/src/catalog/QuickStartTile.tsx +4 -1
- package/src/catalog/QuickStartTileDescription.scss +4 -4
- package/src/catalog/QuickStartTileHeader.scss +5 -5
- package/src/catalog/Toolbar/QuickStartCatalogFilter.scss +9 -9
- package/src/catalog/Toolbar/QuickStartCatalogFilterItems.tsx +1 -1
- package/src/controller/QuickStartConclusion.tsx +1 -1
- package/src/controller/QuickStartContent.scss +2 -2
- package/src/controller/QuickStartFooter.scss +3 -3
- package/src/controller/QuickStartIntroduction.scss +7 -7
- package/src/controller/QuickStartIntroduction.tsx +1 -1
- package/src/controller/QuickStartTaskHeader.scss +15 -15
- package/src/controller/QuickStartTaskHeader.tsx +17 -17
- package/src/controller/QuickStartTaskHeaderList.scss +1 -1
- package/src/controller/QuickStartTaskHeaderList.tsx +1 -1
- package/src/controller/QuickStartTaskReview.scss +8 -8
- package/src/controller/QuickStartTasks.scss +14 -13
- package/src/styles/_base.scss +3 -6
- package/src/styles/_dark-custom-override.scss +16 -31
- package/src/styles/legacy-bootstrap/_variables.scss +8 -8
- package/src/styles/patternfly-global.scss +8 -8
- package/src/styles/patternfly-nested.scss +5 -5
- package/src/styles/style.scss +6 -6
- 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-
|
|
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.',
|
package/src/QuickStartDrawer.tsx
CHANGED
|
@@ -252,7 +252,7 @@ export const QuickStartDrawer: React.FC<QuickStartDrawerProps> = ({
|
|
|
252
252
|
</DrawerContentBody>
|
|
253
253
|
</DrawerContent>
|
|
254
254
|
) : (
|
|
255
|
-
<div className="pf-
|
|
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-
|
|
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-
|
|
6
|
+
z-index: var(--pf-t--global--z-index--xs);
|
|
7
7
|
&__shadow {
|
|
8
|
-
box-shadow: var(--pf-
|
|
8
|
+
box-shadow: var(--pf-t--global--box-shadow--sm--bottom);
|
|
9
9
|
}
|
|
10
10
|
&--blue-white {
|
|
11
|
-
background-color: var(--pf-
|
|
11
|
+
background-color: var(--pf-t--global--color--brand--default);
|
|
12
12
|
.pfext-quick-start-panel-content__title {
|
|
13
|
-
color: var(--pf-
|
|
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-
|
|
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-
|
|
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-
|
|
37
|
-
font-weight:
|
|
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:
|
|
39
|
+
color: var(--pf-t--global--text--color--subtle);
|
|
40
40
|
}
|
|
41
41
|
&__footer {
|
|
42
42
|
&__shadow {
|
|
43
|
-
box-shadow: var(--pf-
|
|
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-
|
|
114
|
+
style={{ marginRight: 'var(--pf-t--global--spacer--md)' }}
|
|
115
115
|
>
|
|
116
116
|
<span
|
|
117
117
|
dangerouslySetInnerHTML={{
|
|
@@ -9,6 +9,7 @@ import QuickStartTileDescription from './QuickStartTileDescription';
|
|
|
9
9
|
import QuickStartTileFooter from './QuickStartTileFooter';
|
|
10
10
|
import QuickStartTileFooterExternal from './QuickStartTileFooterExternal';
|
|
11
11
|
import QuickStartTileHeader, { QuickstartAction } from './QuickStartTileHeader';
|
|
12
|
+
import { Icon } from '@patternfly/react-core';
|
|
12
13
|
|
|
13
14
|
import './QuickStartTile.scss';
|
|
14
15
|
|
|
@@ -40,15 +41,17 @@ const QuickStartTile: React.FC<QuickStartTileProps> = ({
|
|
|
40
41
|
|
|
41
42
|
let quickStartIcon: React.ReactNode;
|
|
42
43
|
if (typeof icon === 'object') {
|
|
43
|
-
quickStartIcon = icon
|
|
44
|
+
quickStartIcon = <Icon size="xl">{icon}</Icon>
|
|
44
45
|
} else {
|
|
45
46
|
quickStartIcon = (
|
|
47
|
+
<Icon size="xl">
|
|
46
48
|
<FallbackImg
|
|
47
49
|
className="pfext-catalog-item-icon__img--large"
|
|
48
50
|
src={icon as string}
|
|
49
51
|
alt=""
|
|
50
52
|
fallback={<RocketIcon />}
|
|
51
53
|
/>
|
|
54
|
+
</Icon>
|
|
52
55
|
);
|
|
53
56
|
}
|
|
54
57
|
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
&-prerequisites {
|
|
14
14
|
display: inline-flex;
|
|
15
15
|
&__text {
|
|
16
|
-
margin-right: var(--pf-
|
|
17
|
-
font-size: var(--pf-
|
|
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-
|
|
21
|
-
font-weight: var(--pf-
|
|
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,13 +1,13 @@
|
|
|
1
1
|
.pfext-quick-start-tile-header {
|
|
2
2
|
&__status {
|
|
3
|
-
margin: var(--pf-
|
|
3
|
+
margin: var(--pf-t--global--spacer--sm) 0;
|
|
4
4
|
}
|
|
5
5
|
&--margin {
|
|
6
|
-
margin-right: var(--pf-
|
|
7
|
-
margin-bottom: var(--pf-
|
|
6
|
+
margin-right: var(--pf-t--global--spacer--sm);
|
|
7
|
+
margin-bottom: var(--pf-t--global--spacer--sm);
|
|
8
8
|
}
|
|
9
|
-
& .pf-
|
|
10
|
-
margin-right: var(--pf-
|
|
9
|
+
& .pf-v6-c-badge:not(:last-of-type) {
|
|
10
|
+
margin-right: var(--pf-t--global--spacer--sm);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
h3 {
|
|
@@ -5,21 +5,21 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
&__count {
|
|
8
|
-
font-weight: var(--pf-
|
|
8
|
+
font-weight: var(--pf-t--global--font--weight--body--bold);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.pf-
|
|
13
|
-
--pf-
|
|
14
|
-
--pf-
|
|
15
|
-
--pf-
|
|
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-
|
|
19
|
-
--pf-
|
|
18
|
+
.pf-v6-c-select {
|
|
19
|
+
--pf-v6-c-select__toggle--FontSize: 14px;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.pf-
|
|
23
|
-
--pf-
|
|
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: '
|
|
76
|
+
align={{ default: 'alignEnd' }}
|
|
77
77
|
>
|
|
78
78
|
{getResource('{{count, number}} item', quickStartsCount).replace(
|
|
79
79
|
'{{count, number}}',
|
|
@@ -53,7 +53,7 @@ const QuickStartConclusion: React.FC<QuickStartConclusionProps> = ({
|
|
|
53
53
|
nextQuickStart?.spec?.displayName,
|
|
54
54
|
)}{' '}
|
|
55
55
|
<ArrowRightIcon
|
|
56
|
-
style={{ marginLeft: 'var(--pf-
|
|
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-
|
|
4
|
+
padding: var(--pf-t--global--spacer--lg);
|
|
5
5
|
font-size: 16px;
|
|
6
6
|
|
|
7
|
-
.pf-
|
|
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-
|
|
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-
|
|
4
|
+
padding: var(--pf-t--global--spacer--md) var(--pf-t--global--spacer--lg);
|
|
5
5
|
|
|
6
6
|
&__actionbtn {
|
|
7
|
-
margin-right: var(--pf-
|
|
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-
|
|
4
|
-
.pf-
|
|
5
|
-
margin-top: var(--pf-
|
|
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-
|
|
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-
|
|
11
|
+
margin-left: var(--pf-t--global--spacer--sm);
|
|
12
12
|
}
|
|
13
13
|
&-icon {
|
|
14
|
-
color: var(--pf-
|
|
14
|
+
color: var(--pf-v6-c-expandable-section__toggle--Color);
|
|
15
15
|
&:focus, &:hover {
|
|
16
|
-
--pf-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
12
|
-
margin-right: var(--pf-
|
|
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-
|
|
17
|
-
color: var(--pf-
|
|
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-
|
|
23
|
-
color: var(--pf-
|
|
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-
|
|
27
|
+
color: var(--pf-t--global--text--color--status--success--default) !important;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
&__title-failed {
|
|
31
|
-
color: var(--pf-
|
|
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-
|
|
37
|
-
border-radius: var(--pf-
|
|
38
|
-
color: var(--pf-
|
|
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-
|
|
51
|
+
color: var(--pf-t--global--text--color--status--success--default) !important;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
&-failed {
|
|
55
|
-
color: var(--pf-
|
|
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';
|
|
@@ -93,22 +93,22 @@ const QuickStartTaskHeader: React.FC<QuickStartTaskHeaderProps> = ({
|
|
|
93
93
|
);
|
|
94
94
|
|
|
95
95
|
const content = (
|
|
96
|
-
<div
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
</div>
|
|
96
|
+
<div ref={titleRef}>
|
|
97
|
+
<Title headingLevel="h3">
|
|
98
|
+
<span dangerouslySetInnerHTML={{ __html: removeParagraphWrap(markdownConvert(title)) }} />
|
|
99
|
+
{isActiveTask && subtitle && (
|
|
100
|
+
<span
|
|
101
|
+
data-test-id="quick-start-task-subtitle"
|
|
102
|
+
>
|
|
103
|
+
{' '}
|
|
104
|
+
<Text component={TextVariants.small}>
|
|
105
|
+
{subtitle}
|
|
106
|
+
</Text>
|
|
107
|
+
</span>
|
|
108
|
+
)}
|
|
109
|
+
{tryAgain}
|
|
110
|
+
</Title>
|
|
111
|
+
</div>
|
|
112
112
|
);
|
|
113
113
|
|
|
114
114
|
return (
|
|
@@ -16,7 +16,7 @@ const QuickStartTaskHeaderList: React.FC<QuickStartTaskHeaderListProps> = ({
|
|
|
16
16
|
allTaskStatuses,
|
|
17
17
|
onTaskSelect,
|
|
18
18
|
}) => tasks.length > 0 ? (
|
|
19
|
-
<List className="
|
|
19
|
+
<List className="pf-v6-c-wizard__nav-list">
|
|
20
20
|
{tasks.map((task, index) => (
|
|
21
21
|
<TaskHeader
|
|
22
22
|
key={task.title}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
.pfext-quick-start-task-review-alert {
|
|
2
|
-
margin: var(--pf-
|
|
2
|
+
margin: var(--pf-t--global--spacer--lg) 0;
|
|
3
3
|
}
|
|
4
4
|
.pfext-quick-start-task-review {
|
|
5
|
-
font-size: var(--pf-
|
|
6
|
-
line-height: var(--pf-
|
|
7
|
-
font-family: var(--pf-
|
|
5
|
+
font-size: var(--pf-t--global--font--size--md);
|
|
6
|
+
line-height: var(--pf-t--global--font--line-height--heading);
|
|
7
|
+
font-family: var(--pf-t--global--font--family--heading);
|
|
8
8
|
|
|
9
9
|
&__actions {
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: flex-start;
|
|
12
|
-
margin-bottom: var(--pf-
|
|
12
|
+
margin-bottom: var(--pf-t--global--spacer--sm);
|
|
13
13
|
input[type='radio'] {
|
|
14
14
|
margin-top: 0;
|
|
15
15
|
margin-right: 0;
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
&__radio {
|
|
20
|
-
margin-right: var(--pf-
|
|
20
|
+
margin-right: var(--pf-t--global--spacer--xl) !important;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&--success {
|
|
24
|
-
color: var(--pf-
|
|
24
|
+
color: var(--pf-t--global--text--color--status--success--default) !important;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&--failed {
|
|
28
|
-
color: var(--pf-
|
|
28
|
+
color: var(--pf-t--global--text--color--status--danger--default);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
li {
|
|
8
|
-
&.pf-
|
|
8
|
+
&.pf-v6-c-wizard__nav-item {
|
|
9
9
|
list-style-type: none;
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-wrap: wrap;
|
|
12
12
|
align-items: center;
|
|
13
|
-
margin-bottom: var(--pf-
|
|
13
|
+
margin-bottom: var(--pf-t--global--spacer--xs);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
.pfext-quick-start-task__content {
|
|
17
|
-
margin-bottom: var(--pf-
|
|
17
|
+
margin-bottom: var(--pf-t--global--spacer--md);
|
|
18
18
|
}
|
|
19
19
|
// Custom styles on PF React List rendered in custom react renderer
|
|
20
20
|
.task-pflist {
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
margin-bottom: 6px;
|
|
24
24
|
}
|
|
25
25
|
&-subtitle {
|
|
26
|
-
color: var(--pf-
|
|
26
|
+
color: var(--pf-t--global--text--color--subtle);
|
|
27
27
|
font-size: 16px;
|
|
28
28
|
}
|
|
29
29
|
&-list {
|
|
30
30
|
font-size: 16px;
|
|
31
31
|
&--prereq {
|
|
32
|
-
padding-left: var(--pf-
|
|
32
|
+
padding-left: var(--pf-t--global--spacer--lg);
|
|
33
33
|
li + li {
|
|
34
34
|
margin-top: 4px;
|
|
35
35
|
}
|
|
@@ -58,25 +58,26 @@
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
&__content {
|
|
61
|
-
.pf-
|
|
61
|
+
.pf-v6-c-alert {
|
|
62
62
|
// add margins to match design
|
|
63
|
-
margin: var(--pf-
|
|
63
|
+
margin: var(--pf-t--global--spacer--md) 0;
|
|
64
64
|
}
|
|
65
|
-
.pf-
|
|
65
|
+
.pf-v6-c-alert__title {
|
|
66
66
|
// remove margins from markdown css
|
|
67
67
|
margin-top: 0;
|
|
68
68
|
margin-bottom: 0;
|
|
69
69
|
// lift PF style specificity to override markdown css
|
|
70
|
-
font-weight: var(--pf-
|
|
70
|
+
font-weight: var(--pf-v6-c-alert__title--FontWeight);
|
|
71
71
|
font-family: inherit;
|
|
72
72
|
line-height: inherit;
|
|
73
|
-
color: var(--pf-
|
|
73
|
+
color: var(--pf-v6-c-alert__title--Color);
|
|
74
74
|
word-break: break-word;
|
|
75
75
|
}
|
|
76
76
|
.task-pflist-list__item__content__note {
|
|
77
|
-
background-color: var(--pf-
|
|
78
|
-
border-color: var(--pf-
|
|
79
|
-
margin: var(--pf-
|
|
77
|
+
background-color: var(--pf-t--global--color--nonstatus--blue--default);
|
|
78
|
+
border-color: var(--pf-t--global--border--color--brand--default);
|
|
79
|
+
margin: var(--pf-t--global--spacer--md) 0;
|
|
80
|
+
color: var(--pf-t--global--text--color--nonstatus--on-blue--default);
|
|
80
81
|
&__body {
|
|
81
82
|
font-size: 14px;
|
|
82
83
|
}
|
package/src/styles/_base.scss
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
// match pf4 styling / table col head styling
|
|
8
8
|
dt {
|
|
9
|
-
font-weight: var(--pf-
|
|
9
|
+
font-weight: var(--pf-t--global--font--weight--body--bold); }
|
|
10
10
|
|
|
11
11
|
dd {
|
|
12
12
|
margin-bottom: 20px; }
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
margin-right: 7px;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.pf-
|
|
32
|
-
--pf-
|
|
31
|
+
.pf-v6-c-list {
|
|
32
|
+
--pf-v6-c-list--PaddingLeft: 20px;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -40,9 +40,6 @@
|
|
|
40
40
|
.pfext-page-layout__content,
|
|
41
41
|
// catalog item prereq popover
|
|
42
42
|
.pfext-popover__base {
|
|
43
|
-
--pf-v5-global--FontSize--md: 14px;
|
|
44
|
-
--pf-v5-global--FontSize--sm: 13px;
|
|
45
|
-
|
|
46
43
|
ul {
|
|
47
44
|
list-style-type: disc;
|
|
48
45
|
}
|