@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
@@ -1,4 +1,4 @@
1
- .pf-v5-theme-dark {
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-v5-global--Color--light-100);
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-v5-global--palette--black-200) !important;
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-v5-global--primary-color--300);
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-v5-global--palette--black-200) !important;
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-v5-global--BackgroundColor--100);
27
- border-color: var(--pf-v5-global--BorderColor--100);
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-v5-c-code-block__code {
31
- color: var(--pf-v5-global--Color--100);
32
- background-color: var(--pf-v5-global--palette--black-600);
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-v5-c-code-block,
36
- .pfext-markdown-view .pf-v5-c-code-block code {
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
- :where(.pfext-markdown-view) .pf-v5-c-clipboard-copy.pf-m-inline {
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-v5-global--BackgroundColor--200);
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
- // Alerts currently has the wrong background in the PF dark stylesheet. This can be removed once that is fixed.
54
- .pf-v5-c-alert {
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-v5-global--FontSize--2xl);
4
- $font-size-h2: 20px; // must be literal value because of calculation in patternfly/dist/sass/patternfly/_list-view.scss
5
- $font-size-h3: var(--pf-v5-global--FontSize--lg);
6
- $font-size-h4: var(--pf-v5-global--FontSize--md);
7
- $font-size-h5: var(--pf-v5-global--FontSize--md);
8
- $font-size-h6: var(--pf-v5-global--FontSize--md);
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-v5-global--FontFamily--heading--sans-serif);
11
- $headings-font-weight: var(--pf-v5-global--FontWeight--normal);
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-v5-c-popover pfext-quick-start__base pf-m-right"
9
- // class="pf-v5-c-modal-box pfext-modal pfext-quick-start-drawer__modal pfext-quick-start__base pf-m-sm"
10
- // class="pf-v5-c-backdrop__open"
11
- // class="pf-v5-c-backdrop"
12
- // class="pf-v5-l-bullseye"
13
- // class="pf-v5-c-tooltip pf-m-top pfext-quick-start__base"
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/all';
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
- @import '@patternfly/patternfly/sass-utilities/all';
5
+ @use '@patternfly/patternfly/sass-utilities';
6
6
 
7
7
  .pfext-quick-start__base {
8
- $pf-v5-global--enable-reset: false;
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/all';
14
- @import '@patternfly/patternfly/layouts/all';
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;
@@ -1,12 +1,12 @@
1
- @import '@patternfly/patternfly/sass-utilities/all';
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';
@@ -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/all';
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';