@patternfly/quickstarts 6.0.0-alpha.2 → 6.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ConsoleInternal/components/markdown-view.d.ts +0 -1
- package/dist/ConsoleShared/src/components/markdown-extensions/accordion-extension.d.ts +0 -1
- package/dist/ConsoleShared/src/components/markdown-extensions/admonition-extension.d.ts +0 -1
- package/dist/ConsoleShared/src/components/markdown-extensions/code-extension.d.ts +0 -1
- package/dist/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.d.ts +0 -1
- package/dist/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.d.ts +0 -1
- package/dist/ConsoleShared/src/components/modal/Modal.d.ts +1 -2
- package/dist/ConsoleShared/src/components/spotlight/InteractiveSpotlight.d.ts +0 -1
- package/dist/ConsoleShared/src/components/spotlight/StaticSpotlight.d.ts +0 -1
- package/dist/HelpTopicDrawer.d.ts +0 -1
- package/dist/HelpTopicPanelContent.d.ts +0 -1
- package/dist/QuickStartDrawer.d.ts +0 -1
- package/dist/QuickStartPanelContent.d.ts +2 -2
- package/dist/catalog/QuickStartCatalog.d.ts +0 -1
- package/dist/catalog/QuickStartTile.d.ts +16 -2
- package/dist/catalog/QuickStartTileDescription.d.ts +0 -1
- package/dist/catalog/QuickStartTileFooter.d.ts +1 -0
- package/dist/catalog/QuickStartTileHeader.d.ts +1 -17
- package/dist/catalog/Toolbar/QuickStartCatalogFilter.d.ts +0 -1
- package/dist/catalog/index.d.ts +1 -1
- package/dist/controller/QuickStartContent.d.ts +1 -1
- package/dist/controller/QuickStartFooter.d.ts +1 -1
- package/dist/controller/QuickStartIntroduction.d.ts +0 -1
- package/dist/controller/QuickStartTaskHeaderList.d.ts +0 -1
- package/dist/controller/QuickStartTaskReview.d.ts +0 -1
- package/dist/controller/QuickStartTasks.d.ts +0 -1
- package/dist/index.es.js +188 -291
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +189 -292
- package/dist/index.js.map +1 -1
- package/dist/patternfly-docs/quick-starts/examples/HelpTopic.jsx +4 -4
- package/dist/patternfly-docs/quick-starts/examples/example-data/example-help-topics.js +9 -18
- package/dist/patternfly-global.css +7 -53
- package/dist/patternfly-nested.css +1749 -1778
- package/dist/quickstarts-base.css +40 -420
- package/dist/quickstarts-full.es.js +1181 -1238
- package/dist/quickstarts-full.es.js.map +1 -1
- package/dist/quickstarts-standalone.css +41 -382
- package/dist/quickstarts-standalone.min.css +3 -3
- package/dist/quickstarts-vendor.css +6 -11
- package/dist/quickstarts.css +46 -431
- package/dist/quickstarts.min.css +1 -1
- package/dist/utils/quick-start-types.d.ts +1 -1
- package/package.json +10 -11
- package/src/ConsoleInternal/components/markdown-view.tsx +29 -9
- package/src/ConsoleShared/src/components/markdown-extensions/accordion-extension.tsx +10 -17
- package/src/ConsoleShared/src/components/markdown-extensions/admonition-extension.tsx +5 -11
- package/src/ConsoleShared/src/components/markdown-extensions/code-extension.tsx +2 -2
- package/src/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.tsx +0 -1
- package/src/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.tsx +2 -6
- package/src/ConsoleShared/src/components/markdown-extensions/utils.ts +2 -1
- package/src/ConsoleShared/src/components/modal/Modal.tsx +1 -2
- package/src/ConsoleShared/src/components/popper/SimplePopper.tsx +5 -2
- package/src/ConsoleShared/src/components/spotlight/InteractiveSpotlight.tsx +0 -1
- package/src/ConsoleShared/src/components/spotlight/StaticSpotlight.tsx +0 -1
- package/src/ConsoleShared/src/components/status/icons.tsx +1 -5
- package/src/HelpTopicDrawer.tsx +1 -4
- package/src/HelpTopicPanelContent.tsx +4 -16
- package/src/QuickStartCatalogPage.tsx +34 -25
- package/src/QuickStartCloseModal.tsx +2 -2
- package/src/QuickStartController.tsx +1 -1
- package/src/QuickStartDrawer.tsx +2 -7
- package/src/QuickStartPanelContent.scss +7 -39
- package/src/QuickStartPanelContent.tsx +20 -44
- package/src/catalog/Catalog/QuickStartCatalogHeader.tsx +5 -4
- package/src/catalog/Catalog/QuickStartCatalogSection.tsx +1 -1
- package/src/catalog/Catalog/QuickStartCatalogToolbar.tsx +1 -3
- package/src/catalog/QuickStartCatalog.tsx +12 -16
- package/src/catalog/QuickStartTile.scss +11 -9
- package/src/catalog/QuickStartTile.tsx +133 -72
- package/src/catalog/QuickStartTileDescription.tsx +28 -42
- package/src/catalog/QuickStartTileFooter.tsx +13 -19
- package/src/catalog/QuickStartTileHeader.tsx +9 -86
- package/src/catalog/Toolbar/QuickStartCatalogFilter.tsx +8 -10
- package/src/catalog/Toolbar/QuickStartCatalogFilterItems.tsx +2 -5
- package/src/catalog/__tests__/QuickStartCatalog.spec.tsx +3 -3
- package/src/catalog/__tests__/QuickStartTile.spec.tsx +5 -5
- package/src/catalog/__tests__/QuickStartTileDescription.spec.tsx +1 -1
- package/src/catalog/index.ts +1 -1
- package/src/controller/QuickStartConclusion.tsx +4 -4
- package/src/controller/QuickStartContent.scss +3 -7
- package/src/controller/QuickStartContent.tsx +3 -5
- package/src/controller/QuickStartFooter.scss +1 -11
- package/src/controller/QuickStartFooter.tsx +27 -21
- package/src/controller/QuickStartIntroduction.tsx +11 -16
- package/src/controller/QuickStartTaskHeader.scss +20 -42
- package/src/controller/QuickStartTaskHeader.tsx +21 -60
- package/src/controller/QuickStartTaskHeaderList.tsx +4 -6
- package/src/controller/QuickStartTaskReview.tsx +6 -12
- package/src/controller/QuickStartTasks.tsx +6 -8
- package/src/controller/__tests__/QuickStartConclusion.spec.tsx +6 -19
- package/src/controller/__tests__/QuickStartFooter.spec.tsx +9 -54
- package/src/controller/__tests__/QuickStartTaskHeader.spec.tsx +1 -1
- package/src/controller/__tests__/QuickStartTaskReview.spec.tsx +3 -6
- package/src/controller/__tests__/QuickStartTasks.spec.tsx +3 -6
- package/src/styles/_base.scss +3 -45
- package/src/styles/style.scss +1 -6
- package/src/utils/help-topic-context.tsx +2 -3
- package/src/utils/quick-start-context.tsx +10 -13
- package/src/utils/quick-start-types.ts +1 -1
- package/src/utils/quick-start-utils.ts +4 -2
- package/src/ConsoleInternal/components/_icon-and-text.scss +0 -14
- package/src/ConsoleInternal/components/_markdown-view.scss +0 -19
- package/src/ConsoleInternal/components/catalog/_catalog.scss +0 -392
- package/src/ConsoleInternal/components/utils/_status-box.scss +0 -58
- package/src/ConsoleShared/src/components/layout/PageLayout.scss +0 -29
- package/src/ConsoleShared/src/components/markdown-extensions/showdown-extension.scss +0 -52
- package/src/ConsoleShared/src/components/modal/Modal.scss +0 -3
- package/src/ConsoleShared/src/components/spotlight/spotlight.scss +0 -63
- package/src/QuickStartDrawer.scss +0 -11
- package/src/catalog/QuickStartCatalog.scss +0 -8
- package/src/catalog/QuickStartTileDescription.scss +0 -29
- package/src/catalog/QuickStartTileHeader.scss +0 -16
- package/src/catalog/Toolbar/QuickStartCatalogFilter.scss +0 -25
- package/src/controller/QuickStartIntroduction.scss +0 -35
- package/src/controller/QuickStartTaskHeaderList.scss +0 -17
- package/src/controller/QuickStartTaskReview.scss +0 -30
- package/src/controller/QuickStartTasks.scss +0 -90
- package/src/styles/_dark-custom-override.scss +0 -47
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
.pfext-quick-start-intro {
|
|
2
|
-
&__prereq {
|
|
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
|
-
}
|
|
7
|
-
.pf-v6-c-expandable-section__toggle {
|
|
8
|
-
padding-top: 0;
|
|
9
|
-
padding-bottom: 0;
|
|
10
|
-
&-text {
|
|
11
|
-
margin-left: var(--pf-t--global--spacer--sm);
|
|
12
|
-
}
|
|
13
|
-
&-icon {
|
|
14
|
-
color: var(--pf-v6-c-expandable-section__toggle--Color);
|
|
15
|
-
&:focus, &:hover {
|
|
16
|
-
--pf-v6-c-expandable-section__toggle--Color: var(--pf-v6-c-expandable-section__toggle--focus--Color);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-list {
|
|
22
|
-
padding-left: 20px;
|
|
23
|
-
&__item {
|
|
24
|
-
&::marker {
|
|
25
|
-
font-size: 0.8rem;
|
|
26
|
-
}
|
|
27
|
-
&-content {
|
|
28
|
-
position: relative;
|
|
29
|
-
left: 2px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
.pfext-quick-start-task-header {
|
|
2
|
-
&__list {
|
|
3
|
-
padding: 0 !important;
|
|
4
|
-
|
|
5
|
-
button::before {
|
|
6
|
-
content: none;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
li {
|
|
10
|
-
list-style-type: none;
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-wrap: wrap;
|
|
13
|
-
align-items: center;
|
|
14
|
-
margin-bottom: var(--pf-t--global--spacer--xs);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
.pfext-quick-start-task-review-alert {
|
|
2
|
-
margin: var(--pf-t--global--spacer--lg) 0;
|
|
3
|
-
}
|
|
4
|
-
.pfext-quick-start-task-review {
|
|
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
|
-
|
|
9
|
-
&__actions {
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: flex-start;
|
|
12
|
-
margin-bottom: var(--pf-t--global--spacer--sm);
|
|
13
|
-
input[type='radio'] {
|
|
14
|
-
margin-top: 0;
|
|
15
|
-
margin-right: 0;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&__radio {
|
|
20
|
-
margin-right: var(--pf-t--global--spacer--xl) !important;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&--success {
|
|
24
|
-
color: var(--pf-t--global--text--color--status--success--default) !important;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&--failed {
|
|
28
|
-
color: var(--pf-t--global--text--color--status--danger--default);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
.pfext-quick-start-tasks {
|
|
2
|
-
&__list {
|
|
3
|
-
button::before {
|
|
4
|
-
content: none;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
li {
|
|
8
|
-
&.pf-v6-c-wizard__nav-item {
|
|
9
|
-
list-style-type: none;
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-wrap: wrap;
|
|
12
|
-
align-items: center;
|
|
13
|
-
margin-bottom: var(--pf-t--global--spacer--xs);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
.pfext-quick-start-task__content {
|
|
17
|
-
margin-bottom: var(--pf-t--global--spacer--md);
|
|
18
|
-
}
|
|
19
|
-
// Custom styles on PF React List rendered in custom react renderer
|
|
20
|
-
.task-pflist {
|
|
21
|
-
&-title {
|
|
22
|
-
font-size: 14px !important;
|
|
23
|
-
margin-bottom: 6px;
|
|
24
|
-
}
|
|
25
|
-
&-subtitle {
|
|
26
|
-
color: var(--pf-t--global--text--color--subtle);
|
|
27
|
-
font-size: 16px;
|
|
28
|
-
}
|
|
29
|
-
&-list {
|
|
30
|
-
font-size: 16px;
|
|
31
|
-
&--prereq {
|
|
32
|
-
padding-left: var(--pf-t--global--spacer--lg);
|
|
33
|
-
li + li {
|
|
34
|
-
margin-top: 4px;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
&--proc {
|
|
38
|
-
padding-left: 10px;
|
|
39
|
-
li + li {
|
|
40
|
-
margin-top: 16px;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
&__item {
|
|
44
|
-
&--prereq {
|
|
45
|
-
&::marker {
|
|
46
|
-
font-size: 0.8rem;
|
|
47
|
-
}
|
|
48
|
-
.task-pflist-list__item__content {
|
|
49
|
-
position: relative;
|
|
50
|
-
left: 2px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
&--proc {
|
|
54
|
-
font-size: 14px;
|
|
55
|
-
.task-pflist-list__item__content {
|
|
56
|
-
position: relative;
|
|
57
|
-
left: 4px;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
&__content {
|
|
61
|
-
.pf-v6-c-alert {
|
|
62
|
-
// add margins to match design
|
|
63
|
-
margin: var(--pf-t--global--spacer--md) 0;
|
|
64
|
-
}
|
|
65
|
-
.pf-v6-c-alert__title {
|
|
66
|
-
// remove margins from markdown css
|
|
67
|
-
margin-top: 0;
|
|
68
|
-
margin-bottom: 0;
|
|
69
|
-
// lift PF style specificity to override markdown css
|
|
70
|
-
font-weight: var(--pf-v6-c-alert__title--FontWeight);
|
|
71
|
-
font-family: inherit;
|
|
72
|
-
line-height: inherit;
|
|
73
|
-
color: var(--pf-v6-c-alert__title--Color);
|
|
74
|
-
word-break: break-word;
|
|
75
|
-
}
|
|
76
|
-
.task-pflist-list__item__content__note {
|
|
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);
|
|
81
|
-
&__body {
|
|
82
|
-
font-size: 14px;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
.pf-v6-theme-dark {
|
|
2
|
-
.pfext-catalog-item-icon__img--large {
|
|
3
|
-
// Not perfect, but gives a better result for colors than just inverting
|
|
4
|
-
// by inverts to switch b/w, then rotates to get colors approximately back
|
|
5
|
-
filter: brightness(1.5) invert(1) hue-rotate(180deg) saturate(4);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
// duration color was gray on white but on the blue header, only white text works
|
|
9
|
-
.pfext-quick-start-panel-content__header--blue-white .pfext-quick-start-panel-content__duration {
|
|
10
|
-
color: var(--pf-t--global--text--color--on-brand--default);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.pfext-quick-start-task-header__subtitle {
|
|
14
|
-
color: var(--pf-t--global--text--color--on-brand--default) !important;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.pfext-quick-start-task-header__task-icon-init {
|
|
18
|
-
background-color: var(--pf-t--global--color--brand--default);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.pfext-quick-start-task-header__tryagain {
|
|
22
|
-
color: var(--pf-t--global--text--color--subtle) !important;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.pfext-markdown-view pre:not(.pfext-code-block__pre) {
|
|
26
|
-
background-color: var(--pf-t--global--background--color--primary--default);
|
|
27
|
-
border-color: var(--pf-t--global--border--color--default);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.pfext-markdown-view .pf-v6-c-code-block__code {
|
|
31
|
-
color: var(--pf-t--global--text--color--regular);
|
|
32
|
-
background-color: var(--pf-t--global--background--color--secondary--default);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
:where(.pfext-markdown-view) .pf-v6-c-clipboard-copy.pf-m-inline {
|
|
36
|
-
--pf-v6-c-clipboard-copy--m-inline--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// Make the cards light on dark background. It would be better to use pf-v6-c-page__main-section variable but we aren't using a page section here.
|
|
40
|
-
.pfext-page-layout__content {
|
|
41
|
-
background-color: var(--pf-t--global--background--color--secondary--default);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.pfext-quick-start-catalog__gallery-item .pf-v6-c-card {
|
|
45
|
-
--pf-v6-c-card--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
46
|
-
}
|
|
47
|
-
}
|