@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.pf-
|
|
1
|
+
.pf-v6-theme-dark {
|
|
2
2
|
.pfext-catalog-item-icon__img--large {
|
|
3
3
|
// Not perfect, but gives a better result for colors than just inverting
|
|
4
4
|
// by inverts to switch b/w, then rotates to get colors approximately back
|
|
@@ -7,56 +7,41 @@
|
|
|
7
7
|
|
|
8
8
|
// duration color was gray on white but on the blue header, only white text works
|
|
9
9
|
.pfext-quick-start-panel-content__header--blue-white .pfext-quick-start-panel-content__duration {
|
|
10
|
-
color: var(--pf-
|
|
10
|
+
color: var(--pf-t--global--text--color--on-brand--default);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.pfext-quick-start-task-header__subtitle {
|
|
14
|
-
color: var(--pf-
|
|
14
|
+
color: var(--pf-t--global--text--color--on-brand--default) !important;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.pfext-quick-start-task-header__task-icon-init {
|
|
18
|
-
background-color: var(--pf-
|
|
18
|
+
background-color: var(--pf-t--global--color--brand--default);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.pfext-quick-start-task-header__tryagain {
|
|
22
|
-
color: var(--pf-
|
|
22
|
+
color: var(--pf-t--global--text--color--subtle) !important;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.pfext-markdown-view pre:not(.pfext-code-block__pre) {
|
|
26
|
-
background-color: var(--pf-
|
|
27
|
-
border-color: var(--pf-
|
|
26
|
+
background-color: var(--pf-t--global--background--color--primary--default);
|
|
27
|
+
border-color: var(--pf-t--global--border--color--default);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.pfext-markdown-view .pf-
|
|
31
|
-
color: var(--pf-
|
|
32
|
-
background-color: var(--pf-
|
|
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
33
|
}
|
|
34
34
|
|
|
35
|
-
.pfext-markdown-view .pf-
|
|
36
|
-
|
|
37
|
-
background-color: var(--pf-v5-global--BackgroundColor--400);
|
|
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);
|
|
38
37
|
}
|
|
39
38
|
|
|
40
|
-
|
|
41
|
-
--pf-v5-c-clipboard-copy--m-inline--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// Make the cards light on dark background. It would be better to use pf-v5-c-page__main-section variable but we aren't using a page section here.
|
|
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.
|
|
45
40
|
.pfext-page-layout__content {
|
|
46
|
-
background-color: var(--pf-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.pfext-quick-start-catalog__gallery-item .pf-v5-c-card {
|
|
50
|
-
--pf-v5-c-card--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
|
41
|
+
background-color: var(--pf-t--global--background--color--secondary--default);
|
|
51
42
|
}
|
|
52
43
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
--pf-v5-c-alert--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
|
56
|
-
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
|
57
|
-
--pf-v5-c-alert--m-inline--m-success--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
|
58
|
-
--pf-v5-c-alert--m-inline--m-danger--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
|
59
|
-
--pf-v5-c-alert--m-inline--m-warning--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
|
60
|
-
--pf-v5-c-alert--m-inline--m-info--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
|
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);
|
|
61
46
|
}
|
|
62
47
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// PF4 overrides
|
|
2
2
|
$font-size-base: 14px;
|
|
3
|
-
$font-size-h1: var(--pf-
|
|
4
|
-
$font-size-h2:
|
|
5
|
-
$font-size-h3: var(--pf-
|
|
6
|
-
$font-size-h4: var(--pf-
|
|
7
|
-
$font-size-h5: var(--pf-
|
|
8
|
-
$font-size-h6: var(--pf-
|
|
3
|
+
$font-size-h1: var(--pf-t--global--font--size--heading--h1);
|
|
4
|
+
$font-size-h2: var(--pf-t--global--font--size--heading--h2);
|
|
5
|
+
$font-size-h3: var(--pf-t--global--font--size--heading--h3);
|
|
6
|
+
$font-size-h4: var(--pf-t--global--font--size--heading--h4);
|
|
7
|
+
$font-size-h5: var(--pf-t--global--font--size--heading--h5);
|
|
8
|
+
$font-size-h6: var(--pf-t--global--font--size--heading--h6);
|
|
9
9
|
$grid-gutter-width: 30px;
|
|
10
|
-
$headings-font-family: var(--pf-
|
|
11
|
-
$headings-font-weight: var(--pf-
|
|
10
|
+
$headings-font-family: var(--pf-t--global--font--family--heading);
|
|
11
|
+
$headings-font-weight: var(--pf-t--global--font--weight--heading);
|
|
12
12
|
|
|
13
13
|
// PF3 variables
|
|
14
14
|
$color-pf-black: #030303 !default;
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
// TODO: Investigate if we can remove and/or nest these within patternfly-nested.css
|
|
6
6
|
// what do we really need to expose globally?
|
|
7
7
|
// here are the classes that exist outside the scope of .pfext-quick-start__base:
|
|
8
|
-
// class="pf-
|
|
9
|
-
// class="pf-
|
|
10
|
-
// class="pf-
|
|
11
|
-
// class="pf-
|
|
12
|
-
// class="pf-
|
|
13
|
-
// class="pf-
|
|
8
|
+
// class="pf-v6-c-popover pfext-quick-start__base pf-m-right"
|
|
9
|
+
// class="pf-v6-c-modal-box pfext-modal pfext-quick-start-drawer__modal pfext-quick-start__base pf-m-sm"
|
|
10
|
+
// class="pf-v6-c-backdrop__open"
|
|
11
|
+
// class="pf-v6-c-backdrop"
|
|
12
|
+
// class="pf-v6-l-bullseye"
|
|
13
|
+
// class="pf-v6-c-tooltip pf-m-top pfext-quick-start__base"
|
|
14
14
|
|
|
15
|
-
@import '@patternfly/patternfly/sass-utilities
|
|
15
|
+
@import '@patternfly/patternfly/sass-utilities';
|
|
16
16
|
// gets added globally to :root
|
|
17
|
-
@import '@patternfly/patternfly/base/variables';
|
|
17
|
+
@import '@patternfly/patternfly/base/patternfly-variables';
|
|
18
18
|
|
|
19
19
|
@import '@patternfly/patternfly/components/Drawer/drawer.scss';
|
|
20
20
|
@import '@patternfly/patternfly/components/Popover/popover.scss';
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
// which can happen when they're not using PatternFly, or a different (older) version
|
|
3
3
|
// that could be incompatible with the version of PatternFly that we're using
|
|
4
4
|
|
|
5
|
-
@
|
|
5
|
+
@use '@patternfly/patternfly/sass-utilities';
|
|
6
6
|
|
|
7
7
|
.pfext-quick-start__base {
|
|
8
|
-
$pf-
|
|
9
|
-
@import '@patternfly/patternfly/base/common';
|
|
8
|
+
$pf-v6-global--enable-reset: false;
|
|
9
|
+
@import '@patternfly/patternfly/base/patternfly-common';
|
|
10
10
|
@import '@patternfly/patternfly/utilities/Accessibility/accessibility';
|
|
11
11
|
|
|
12
12
|
// it's okay that we include everything since we'll purge the unused styles
|
|
13
|
-
@import '@patternfly/patternfly/components
|
|
14
|
-
@import '@patternfly/patternfly/layouts
|
|
13
|
+
@import '@patternfly/patternfly/components';
|
|
14
|
+
@import '@patternfly/patternfly/layouts';
|
|
15
15
|
|
|
16
16
|
// some apps globally set text-align: center
|
|
17
17
|
text-align: left;
|
package/src/styles/style.scss
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
@import '@patternfly/patternfly/sass-utilities
|
|
1
|
+
@import '@patternfly/patternfly/sass-utilities';
|
|
2
2
|
@import './legacy-bootstrap/variables';
|
|
3
3
|
|
|
4
|
-
@import './base';
|
|
5
|
-
@import './dark-custom-override';
|
|
4
|
+
// @import './base';
|
|
5
|
+
// @import './dark-custom-override';
|
|
6
6
|
|
|
7
|
-
// React Components
|
|
8
|
-
@import '../ConsoleInternal/**/*.scss';
|
|
9
|
-
@import '../ConsoleShared/**/*.scss';
|
|
7
|
+
// // React Components
|
|
8
|
+
// @import '../ConsoleInternal/**/*.scss';
|
|
9
|
+
// @import '../ConsoleShared/**/*.scss';
|
|
10
10
|
|
|
11
11
|
// legacy bootstrap typography styles for markdown content
|
|
12
12
|
@import './legacy-bootstrap.scss';
|
package/src/styles/vendor.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// be careful about adding additional stylesheets here, they are bundled into the quickstarts.css
|
|
2
2
|
|
|
3
|
-
@import '@patternfly/patternfly/sass-utilities
|
|
3
|
+
@import '@patternfly/patternfly/sass-utilities';
|
|
4
4
|
|
|
5
|
-
@import '@patternfly/react-catalog-view-extension/dist/sass/react-catalog-view-extension.scss';
|
|
5
|
+
// @import '@patternfly/react-catalog-view-extension/dist/sass/react-catalog-view-extension.scss';
|
|
6
6
|
@import '@patternfly/patternfly/components/ClipboardCopy/clipboard-copy.scss';
|
|
7
7
|
@import '@patternfly/patternfly/components/CodeBlock/code-block.scss';
|