@patternfly/quickstarts 1.4.0 → 1.4.1-rc.0

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.
@@ -84,12 +84,15 @@
84
84
 
85
85
  .pfext-quick-start__base {
86
86
  text-align: left; }
87
- .pfext-quick-start__base [class*="pf-c-"], .pfext-quick-start__base [class*="pf-c-"]::before, .pfext-quick-start__base [class*="pf-c-"]::after {
87
+ .pfext-quick-start__base *,
88
+ .pfext-quick-start__base *::before,
89
+ .pfext-quick-start__base *::after {
88
90
  padding: 0;
89
91
  margin: 0;
90
- background-color: transparent; }
91
- .pfext-quick-start__base html {
92
- font-size: unset !important; }
92
+ background-color: transparent;
93
+ border: 0;
94
+ min-width: auto;
95
+ height: auto; }
93
96
  .pfext-quick-start__base .pf-u-screen-reader {
94
97
  position: fixed;
95
98
  top: 0;
@@ -7231,3 +7234,8 @@
7231
7234
  @media (min-width: 1450px) {
7232
7235
  .pfext-quick-start__base .pf-l-gallery {
7233
7236
  --pf-l-gallery--GridTemplateColumns--minmax--max: var(--pf-l-gallery--GridTemplateColumns--max-on-2xl, var(--pf-l-gallery--GridTemplateColumns--max-on-xl, var(--pf-l-gallery--GridTemplateColumns--max-on-lg, var(--pf-l-gallery--GridTemplateColumns--max-on-md, var(--pf-l-gallery--GridTemplateColumns--max-on-sm, var(--pf-l-gallery--GridTemplateColumns--max)))))); } }
7237
+ .pfext-quick-start__base .pfext-quick-start__base * + .pf-c-select__toggle-arrow {
7238
+ margin-right: var(--pf-c-select__toggle-arrow--MarginRight);
7239
+ margin-left: var(--pf-c-select__toggle-arrow--MarginLeft); }
7240
+ .pfext-quick-start__base .pfext-quick-start__base .pf-c-select.pf-m-top.pf-m-expanded .pf-c-select__toggle-arrow {
7241
+ transform: rotate(var(--pf-c-select__toggle-arrow--m-top--m-expanded__toggle-arrow--Rotate)); }
@@ -369,6 +369,7 @@
369
369
  background: var(--pf-global--palette--black-150); }
370
370
 
371
371
  .pfext-page-layout__header {
372
+ padding-top: 1px;
372
373
  background-color: var(--pf-global--BackgroundColor--light-100); }
373
374
 
374
375
  .pfext-page-layout__hint {
@@ -587,15 +588,6 @@
587
588
  .pfext-markdown-view th {
588
589
  text-align: left; }
589
590
 
590
- .pfext-quick-start-drawer__body {
591
- display: flex;
592
- flex-direction: column;
593
- z-index: 0;
594
- position: relative; }
595
-
596
- .pfext-quick-start-drawer__modal > .pf-c-modal-box__footer {
597
- display: block; }
598
-
599
591
  .pfext-quick-start-panel-content__header {
600
592
  position: sticky;
601
593
  top: 0px;
@@ -603,6 +595,14 @@
603
595
  z-index: var(--pf-global--ZIndex--xs); }
604
596
  .pfext-quick-start-panel-content__header__shadow {
605
597
  box-shadow: var(--pf-global--BoxShadow--sm-bottom); }
598
+ .pfext-quick-start-panel-content__header--blue-white {
599
+ background-color: var(--pf-global--palette--blue-400); }
600
+ .pfext-quick-start-panel-content__header--blue-white .pfext-quick-start-panel-content__title {
601
+ color: var(--pf-global--Color--light-100); }
602
+ .pfext-quick-start-panel-content__header--blue-white .pfext-quick-start-panel-content__duration {
603
+ color: var(--pf-global--Color--light-200); }
604
+ .pfext-quick-start-panel-content__header--blue-white .pfext-quick-start-panel-content__close-button button {
605
+ color: var(--pf-global--Color--light-100) !important; }
606
606
 
607
607
  .pfext-quick-start-panel-content__body {
608
608
  display: flex;
@@ -617,7 +617,7 @@
617
617
 
618
618
  .pfext-quick-start-panel-content__duration {
619
619
  display: inline-block;
620
- font-size: 65%;
620
+ font-size: var(--pf-global--FontSize--md);
621
621
  font-weight: 400;
622
622
  line-height: 1;
623
623
  color: #9c9c9c; }
@@ -625,19 +625,14 @@
625
625
  .pfext-quick-start-panel-content__footer__shadow {
626
626
  box-shadow: var(--pf-global--BoxShadow--sm-top); }
627
627
 
628
- .pfext-quick-start-catalog__gallery {
629
- --pf-l-gallery--GridTemplateColumns: repeat(auto-fill, 300px) !important; }
630
-
631
- .pfext-quick-start-catalog__gallery-item {
632
- display: inherit !important; }
628
+ .pfext-quick-start-drawer__body {
629
+ display: flex;
630
+ flex-direction: column;
631
+ z-index: 0;
632
+ position: relative; }
633
633
 
634
- .pfext-quick-start-tile {
635
- height: 100%; }
636
- .pfext-quick-start-tile .catalog-tile-pf-description .has-footer {
637
- display: block;
638
- -webkit-line-clamp: unset; }
639
- .pfext-quick-start-tile .catalog-tile-pf-icon {
640
- display: flex; }
634
+ .pfext-quick-start-drawer__modal > .pf-c-modal-box__footer {
635
+ display: block; }
641
636
 
642
637
  .pfext-quick-start-tile-description {
643
638
  display: -webkit-box;
@@ -674,6 +669,20 @@
674
669
  .pfext-quick-start-tile-header .pf-c-badge:not(:last-of-type) {
675
670
  margin-right: var(--pf-global--spacer--sm); }
676
671
 
672
+ .pfext-quick-start-catalog__gallery {
673
+ --pf-l-gallery--GridTemplateColumns: repeat(auto-fill, 300px) !important; }
674
+
675
+ .pfext-quick-start-catalog__gallery-item {
676
+ display: inherit !important; }
677
+
678
+ .pfext-quick-start-tile {
679
+ height: 100%; }
680
+ .pfext-quick-start-tile .catalog-tile-pf-description .has-footer {
681
+ display: block;
682
+ -webkit-line-clamp: unset; }
683
+ .pfext-quick-start-tile .catalog-tile-pf-icon {
684
+ display: flex; }
685
+
677
686
  .pfext-quick-start-catalog-filter__input {
678
687
  flex-grow: 1;
679
688
  max-width: 500px; }
@@ -691,14 +700,6 @@
691
700
  .pf-c-toolbar.pf-m-page-insets.pfext-quick-start-catalog-filter__flex .pf-c-check {
692
701
  --pf-c-check__label--FontSize: 14px; }
693
702
 
694
- .pfext-quick-start-content {
695
- flex: 1 1 0;
696
- overflow: auto;
697
- padding: var(--pf-global--spacer--sm) var(--pf-global--spacer--lg);
698
- font-size: 16px; }
699
- .pfext-quick-start-content .pf-c-alert__description p {
700
- font-size: 13px; }
701
-
702
703
  .pfext-quick-start-footer {
703
704
  background-color: var(--pf-global--Color--light-100);
704
705
  flex: 0 0 auto;
@@ -708,6 +709,14 @@
708
709
  .pfext-quick-start-footer__restartbtn {
709
710
  float: right; }
710
711
 
712
+ .pfext-quick-start-content {
713
+ flex: 1 1 0;
714
+ overflow: auto;
715
+ padding: var(--pf-global--spacer--lg);
716
+ font-size: 16px; }
717
+ .pfext-quick-start-content .pf-c-alert__description p {
718
+ font-size: 13px; }
719
+
711
720
  .pfext-markdown-view.is-empty {
712
721
  color: #999; }
713
722
 
@@ -725,6 +734,65 @@
725
734
  .pfext-markdown-view th {
726
735
  padding-top: 0; }
727
736
 
737
+ .pfext-quick-start-tasks__list button::before {
738
+ content: none; }
739
+
740
+ .pfext-quick-start-tasks__list li.pf-c-wizard__nav-item {
741
+ list-style-type: none;
742
+ display: flex;
743
+ flex-wrap: wrap;
744
+ align-items: center;
745
+ margin-bottom: var(--pf-global--spacer--xs); }
746
+
747
+ .pfext-quick-start-tasks__list .pfext-quick-start-task__content {
748
+ margin-left: var(--pf-global--spacer--lg);
749
+ margin-bottom: var(--pf-global--spacer--md); }
750
+
751
+ .pfext-quick-start-tasks__list .task-pflist-title {
752
+ font-size: 14px !important;
753
+ margin-bottom: 6px; }
754
+
755
+ .pfext-quick-start-tasks__list .task-pflist-subtitle {
756
+ color: var(--pf-global--Color--200);
757
+ font-size: 16px; }
758
+
759
+ .pfext-quick-start-tasks__list .task-pflist-list {
760
+ font-size: 16px; }
761
+ .pfext-quick-start-tasks__list .task-pflist-list--prereq {
762
+ padding-left: var(--pf-global--spacer--lg); }
763
+ .pfext-quick-start-tasks__list .task-pflist-list--prereq li + li {
764
+ margin-top: 4px; }
765
+ .pfext-quick-start-tasks__list .task-pflist-list--proc {
766
+ padding-left: 10px; }
767
+ .pfext-quick-start-tasks__list .task-pflist-list--proc li + li {
768
+ margin-top: 16px; }
769
+ .pfext-quick-start-tasks__list .task-pflist-list__item--prereq::marker {
770
+ font-size: 0.8rem; }
771
+ .pfext-quick-start-tasks__list .task-pflist-list__item--prereq .task-pflist-list__item__content {
772
+ position: relative;
773
+ left: 2px; }
774
+ .pfext-quick-start-tasks__list .task-pflist-list__item--proc {
775
+ font-size: 14px; }
776
+ .pfext-quick-start-tasks__list .task-pflist-list__item--proc .task-pflist-list__item__content {
777
+ position: relative;
778
+ left: 4px; }
779
+ .pfext-quick-start-tasks__list .task-pflist-list__item__content .pf-c-alert {
780
+ margin: var(--pf-global--spacer--md) 0; }
781
+ .pfext-quick-start-tasks__list .task-pflist-list__item__content .pf-c-alert__title {
782
+ margin-top: 0;
783
+ margin-bottom: 0;
784
+ font-weight: var(--pf-c-alert__title--FontWeight);
785
+ font-family: inherit;
786
+ line-height: inherit;
787
+ color: var(--pf-c-alert__title--Color);
788
+ word-break: break-word; }
789
+ .pfext-quick-start-tasks__list .task-pflist-list__item__content .task-pflist-list__item__content__note {
790
+ background-color: var(--pf-global--palette--blue-50);
791
+ border-color: var(--pf-global--active-color--200);
792
+ margin: var(--pf-global--spacer--md) 0; }
793
+ .pfext-quick-start-tasks__list .task-pflist-list__item__content .task-pflist-list__item__content__note__body {
794
+ font-size: 14px; }
795
+
728
796
  .pfext-quick-start-intro__prereq {
729
797
  margin-bottom: var(--pf-global--spacer--md); }
730
798
  .pfext-quick-start-intro__prereq .pf-c-expandable-section__content {
@@ -746,41 +814,22 @@
746
814
  position: relative;
747
815
  left: 2px; }
748
816
 
749
- .pfext-quick-start-tasks__list button::before {
750
- content: none; }
751
-
752
- .pfext-quick-start-tasks__list li.pf-c-wizard__nav-item {
753
- list-style-type: none;
754
- display: flex;
755
- flex-wrap: wrap;
756
- align-items: center;
757
- margin-bottom: var(--pf-global--spacer--xs); }
758
-
759
- .pfext-quick-start-task-header__list {
760
- padding: 0 !important; }
761
- .pfext-quick-start-task-header__list button::before {
762
- content: none; }
763
- .pfext-quick-start-task-header__list li {
764
- list-style-type: none;
765
- display: flex;
766
- flex-wrap: wrap;
767
- align-items: center;
768
- margin-bottom: var(--pf-global--spacer--xs); }
769
-
770
817
  .pfext-quick-start-task-header {
771
- margin-bottom: var(--pf-global--spacer--xs); }
818
+ margin-bottom: var(--pf-global--spacer--sm);
819
+ display: grid;
820
+ grid-template-columns: min-content auto;
821
+ font-size: var(--pf-global--FontSize--md); }
772
822
  .pfext-quick-start-task-header button::before {
773
823
  content: none; }
774
824
  .pfext-quick-start-task-header__title {
775
825
  color: var(--pf-global--primary-color--100) !important;
776
826
  margin-right: var(--pf-global--spacer--md) !important; }
777
827
  .pfext-quick-start-task-header__subtitle {
778
- display: inline-block;
779
828
  font-size: var(--pf-global--FontSize--sm);
780
829
  color: var(--pf-global--Color--400) !important; }
781
830
  .pfext-quick-start-task-header__tryagain {
782
831
  display: block;
783
- font-size: var(--pf-global--FontSize--sm);
832
+ font-size: var(--pf-global--FontSize--md);
784
833
  color: var(--pf-global--Color--300) !important; }
785
834
  .pfext-quick-start-task-header__title-success {
786
835
  color: var(--pf-global--palette--green-500) !important; }
@@ -796,6 +845,10 @@
796
845
  width: 1.5em; }
797
846
  .pfext-quick-start-task-header__task-icon-success, .pfext-quick-start-task-header__task-icon-failed {
798
847
  vertical-align: middle !important; }
848
+ .pfext-quick-start-task-header__task-icon-success {
849
+ color: var(--pf-global--palette--green-500) !important; }
850
+ .pfext-quick-start-task-header__task-icon-failed {
851
+ color: var(--pf-global--danger-color--100) !important; }
799
852
 
800
853
  .pfext-quick-start-task-review-alert {
801
854
  margin: var(--pf-global--spacer--lg) 0; }
@@ -818,8 +871,16 @@
818
871
  .pfext-quick-start-task-review--failed {
819
872
  color: var(--pf-chart-global--danger--Color--100); }
820
873
 
821
- .pfext-modal {
822
- position: absolute !important; }
874
+ .pfext-quick-start-task-header__list {
875
+ padding: 0 !important; }
876
+ .pfext-quick-start-task-header__list button::before {
877
+ content: none; }
878
+ .pfext-quick-start-task-header__list li {
879
+ list-style-type: none;
880
+ display: flex;
881
+ flex-wrap: wrap;
882
+ align-items: center;
883
+ margin-bottom: var(--pf-global--spacer--xs); }
823
884
 
824
885
  .pfext-markdown-view .pfext-code-block__pre {
825
886
  /* override the styles applied by showdown while parsing <pre /> */
@@ -842,6 +903,9 @@
842
903
  .pfext-markdown-view .pfext-markdown-execute-snippet__button[data-executed] > i.fa-play {
843
904
  display: none; }
844
905
 
906
+ .pfext-modal {
907
+ position: absolute !important; }
908
+
845
909
  @keyframes pfext-spotlight-expand {
846
910
  0% {
847
911
  outline-offset: -4px;
@@ -8834,7 +8834,8 @@ var en = {
8834
8834
  "Your progress will be saved.": "Your progress will be saved.",
8835
8835
  "Not available": "Not available",
8836
8836
  "Copy to clipboard": "Copy to clipboard",
8837
- "Successfully copied to clipboard!": "Successfully copied to clipboard!"
8837
+ "Successfully copied to clipboard!": "Successfully copied to clipboard!",
8838
+ "Quick start • {{duration, number}} minutes": "Quick start • {{duration, number}} minutes"
8838
8839
  };
8839
8840
 
8840
8841
  /* eslint-disable */
@@ -9244,6 +9245,7 @@ const QuickStartContextDefaults = {
9244
9245
  },
9245
9246
  setFilter: () => { },
9246
9247
  footer: null,
9248
+ useLegacyHeaderColors: false,
9247
9249
  markdown: null,
9248
9250
  loading: false,
9249
9251
  alwaysShowTaskReview: false,
@@ -9262,7 +9264,7 @@ const getResource = (resource, options, resourceBundle, lng) => {
9262
9264
  const useValuesForQuickStartContext = (value = {}) => {
9263
9265
  var _a, _b;
9264
9266
  const combinedValue = Object.assign(Object.assign({}, QuickStartContextDefaults), value);
9265
- const { activeQuickStartID, setActiveQuickStartID, setAllQuickStartStates, useQueryParams, allQuickStartStates, allQuickStarts = [], footer, markdown, } = combinedValue;
9267
+ const { activeQuickStartID, setActiveQuickStartID, setAllQuickStartStates, useQueryParams, allQuickStartStates, allQuickStarts = [], footer, useLegacyHeaderColors, markdown, } = combinedValue;
9266
9268
  const [quickStarts, setQuickStarts] = React__default.useState(combinedValue.allQuickStarts || []);
9267
9269
  const [resourceBundle, setResourceBundle] = React__default.useState(Object.assign(Object.assign({}, en), combinedValue.resourceBundle));
9268
9270
  const [language, setLanguage] = React__default.useState(combinedValue.language);
@@ -9445,6 +9447,7 @@ const useValuesForQuickStartContext = (value = {}) => {
9445
9447
  setQuickStartTaskStatus,
9446
9448
  getQuickStartForId,
9447
9449
  footer,
9450
+ useLegacyHeaderColors,
9448
9451
  useQueryParams,
9449
9452
  markdown,
9450
9453
  resourceBundle,
@@ -19465,16 +19468,16 @@ const QuickStartTaskHeader = ({ title, taskIndex, subtitle, taskStatus, size, is
19465
19468
  });
19466
19469
  const notCompleted = taskStatus === QuickStartTaskStatus.VISITED;
19467
19470
  const skippedReviewOrFailed = taskStatus === QuickStartTaskStatus.REVIEW || taskStatus === QuickStartTaskStatus.FAILED;
19468
- const tryAgain = !isActiveTask && (skippedReviewOrFailed || notCompleted) && (React.createElement(FlexItem, null,
19469
- React.createElement(Title, { headingLevel: "h4", className: "pfext-quick-start-task-header__tryagain" }, "Try the steps again.")));
19470
- const content = (React.createElement(Flex, { className: "pfext-quick-start-task-header", direction: { default: 'column' }, spaceItems: { default: 'spaceItemsXs' } },
19471
- React.createElement(FlexItem, null,
19472
- React.createElement(Title, { headingLevel: "h3", size: size, className: classNames },
19473
- React.createElement(TaskIcon, { taskIndex: taskIndex, taskStatus: taskStatus }),
19474
- React.createElement("span", { dangerouslySetInnerHTML: { __html: removeParagraphWrap(markdownConvert(title)) } }),
19475
- isActiveTask && subtitle && (React.createElement(React.Fragment, null,
19476
- ' ',
19477
- React.createElement("span", { className: "pfext-quick-start-task-header__subtitle", "data-test-id": "quick-start-task-subtitle" }, subtitle))))),
19471
+ const tryAgain = !isActiveTask && (skippedReviewOrFailed || notCompleted) && (React.createElement(React.Fragment, null,
19472
+ React.createElement("div", null),
19473
+ React.createElement("div", { className: "pfext-quick-start-task-header__tryagain" }, "Try the steps again.")));
19474
+ const content = (React.createElement("div", { className: "pfext-quick-start-task-header" },
19475
+ React.createElement(TaskIcon, { taskIndex: taskIndex, taskStatus: taskStatus }),
19476
+ React.createElement(Title, { headingLevel: "h3", size: size, className: classNames },
19477
+ React.createElement("span", { dangerouslySetInnerHTML: { __html: removeParagraphWrap(markdownConvert(title)) } }),
19478
+ isActiveTask && subtitle && (React.createElement("span", { className: "pfext-quick-start-task-header__subtitle", "data-test-id": "quick-start-task-subtitle" },
19479
+ ' ',
19480
+ subtitle))),
19478
19481
  tryAgain));
19479
19482
  return (React.createElement(WizardNavItem, { content: content, step: taskIndex, onNavItemClick: () => onTaskSelect(taskIndex - 1), navItemComponent: "button", isCurrent: isActiveTask }));
19480
19483
  };
@@ -19561,7 +19564,7 @@ const QuickStartTasks = ({ tasks, taskNumber, allTaskStatuses, onTaskReview, onT
19561
19564
  React.createElement(QuickStartTaskHeader, { taskIndex: index + 1, title: title, size: "md", subtitle: getResource('{{index, number}} of {{tasks, number}}')
19562
19565
  .replace('{{index, number}}', index + 1)
19563
19566
  .replace('{{tasks, number}}', tasks.length), taskStatus: taskStatus, isActiveTask: isActiveTask, onTaskSelect: onTaskSelect }),
19564
- isActiveTask && (React.createElement("div", { style: { marginBottom: 'var(--pf-global--spacer--md)' } },
19567
+ isActiveTask && (React.createElement("div", { className: "pfext-quick-start-task__content" },
19565
19568
  React.createElement(QuickStartMarkdownView, { content: description }),
19566
19569
  shouldShowTaskReview && (React.createElement(QuickStartTaskReview, { review: review, taskStatus: taskStatus, onTaskReview: onTaskReview }))))));
19567
19570
  })));
@@ -19673,7 +19676,7 @@ const useScrollTopOnTaskNumberChange = (node, taskNumber) => {
19673
19676
  }, [taskNumber, node]);
19674
19677
  };
19675
19678
  const QuickStartPanelContent = (_a) => {
19676
- var { quickStarts = [], handleClose, activeQuickStartID, appendTo, isResizable = true, showClose = true } = _a, props = __rest$1(_a, ["quickStarts", "handleClose", "activeQuickStartID", "appendTo", "isResizable", "showClose"]);
19679
+ var { quickStarts = [], handleClose, activeQuickStartID, appendTo, isResizable = true, showClose = true, headerVariant = '' } = _a, props = __rest$1(_a, ["quickStarts", "handleClose", "activeQuickStartID", "appendTo", "isResizable", "showClose", "headerVariant"]);
19677
19680
  const { getResource } = React.useContext(QuickStartContext);
19678
19681
  const [contentRef, setContentRef] = React.useState();
19679
19682
  const shadows = useScrollShadows(contentRef);
@@ -19684,6 +19687,7 @@ const QuickStartPanelContent = (_a) => {
19684
19687
  const nextQuickStarts = quickStarts.filter((qs) => { var _a; return (_a = quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.nextQuickStart) === null || _a === void 0 ? void 0 : _a.includes(qs.metadata.name); });
19685
19688
  const headerClasses = css('pfext-quick-start-panel-content__header', {
19686
19689
  'pfext-quick-start-panel-content__header__shadow': shadows === Shadows.top || shadows === Shadows.both,
19690
+ 'pfext-quick-start-panel-content__header--blue-white': headerVariant === 'blue-white',
19687
19691
  });
19688
19692
  const footerClass = css({
19689
19693
  'pfext-quick-start-panel-content__footer__shadow': shadows === Shadows.bottom || shadows === Shadows.both,
@@ -19702,12 +19706,12 @@ const QuickStartPanelContent = (_a) => {
19702
19706
  React.createElement("div", { className: headerClasses },
19703
19707
  React.createElement(DrawerHead, null,
19704
19708
  React.createElement("div", { className: "pfext-quick-start-panel-content__title" },
19705
- React.createElement(Title, { headingLevel: "h1", size: "xl", style: { marginRight: 'var(--pf-global--spacer--md)' } }, quickStart === null || quickStart === void 0 ? void 0 :
19709
+ React.createElement(Title, { headingLevel: "h1", size: "xl", className: "pfext-quick-start-panel-content__name", style: { marginRight: 'var(--pf-global--spacer--md)' } }, quickStart === null || quickStart === void 0 ? void 0 :
19706
19710
  quickStart.spec.displayName,
19707
19711
  ' ',
19708
- React.createElement("small", { className: "pfext-quick-start-panel-content__duration text-secondary" }, getResource('{{duration, number}} minutes', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes).replace('{{duration, number}}', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)))),
19712
+ React.createElement("small", { className: "pfext-quick-start-panel-content__duration" }, getResource('Quick start • {{duration, number}} minutes', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes).replace('{{duration, number}}', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)))),
19709
19713
  showClose && (React.createElement(DrawerActions, null,
19710
- React.createElement(DrawerCloseButton, { onClick: handleClose, "data-testid": "qs-drawer-close" }))))),
19714
+ React.createElement(DrawerCloseButton, { onClick: handleClose, className: "pfext-quick-start-panel-content__close-button", "data-testid": "qs-drawer-close" }))))),
19711
19715
  React.createElement(DrawerPanelBody, { hasNoPadding: true, className: "pfext-quick-start-panel-content__body", "data-test": "content" },
19712
19716
  React.createElement(QuickStartController, { quickStart: quickStart, nextQuickStarts: nextQuickStarts, footerClass: footerClass, contentRef: setContentRef })))) : null;
19713
19717
  if (appendTo) {
@@ -19717,13 +19721,14 @@ const QuickStartPanelContent = (_a) => {
19717
19721
  };
19718
19722
 
19719
19723
  const QuickStartContainer = (_a) => {
19720
- var { quickStarts, children, activeQuickStartID, allQuickStartStates, setActiveQuickStartID, setAllQuickStartStates, appendTo, fullWidth, onCloseInProgress, onCloseNotInProgress, resourceBundle, showCardFooters, language, loading = false, useQueryParams = true, markdown, contextProps, alwaysShowTaskReview = false } = _a, props = __rest$1(_a, ["quickStarts", "children", "activeQuickStartID", "allQuickStartStates", "setActiveQuickStartID", "setAllQuickStartStates", "appendTo", "fullWidth", "onCloseInProgress", "onCloseNotInProgress", "resourceBundle", "showCardFooters", "language", "loading", "useQueryParams", "markdown", "contextProps", "alwaysShowTaskReview"]);
19724
+ var { quickStarts, children, activeQuickStartID, allQuickStartStates, setActiveQuickStartID, setAllQuickStartStates, appendTo, fullWidth, onCloseInProgress, onCloseNotInProgress, resourceBundle, showCardFooters, useLegacyHeaderColors, language, loading = false, useQueryParams = true, markdown, contextProps, alwaysShowTaskReview = false } = _a, props = __rest$1(_a, ["quickStarts", "children", "activeQuickStartID", "allQuickStartStates", "setActiveQuickStartID", "setAllQuickStartStates", "appendTo", "fullWidth", "onCloseInProgress", "onCloseNotInProgress", "resourceBundle", "showCardFooters", "useLegacyHeaderColors", "language", "loading", "useQueryParams", "markdown", "contextProps", "alwaysShowTaskReview"]);
19721
19725
  const valuesForQuickstartContext = useValuesForQuickStartContext(Object.assign({ allQuickStarts: quickStarts, activeQuickStartID,
19722
19726
  setActiveQuickStartID,
19723
19727
  allQuickStartStates,
19724
19728
  setAllQuickStartStates, footer: {
19725
19729
  show: showCardFooters,
19726
- }, language, resourceBundle: Object.assign({}, resourceBundle), loading,
19730
+ }, useLegacyHeaderColors,
19731
+ language, resourceBundle: Object.assign({}, resourceBundle), loading,
19727
19732
  useQueryParams,
19728
19733
  markdown,
19729
19734
  alwaysShowTaskReview }, contextProps));
@@ -19747,7 +19752,7 @@ const QuickStartContainer = (_a) => {
19747
19752
  };
19748
19753
  const QuickStartDrawer = (_a) => {
19749
19754
  var { quickStarts = [], children, appendTo, fullWidth, onCloseInProgress, onCloseNotInProgress } = _a, props = __rest$1(_a, ["quickStarts", "children", "appendTo", "fullWidth", "onCloseInProgress", "onCloseNotInProgress"]);
19750
- const { activeQuickStartID, setActiveQuickStart, allQuickStarts = [], activeQuickStartState, allQuickStartStates, setAllQuickStartStates, } = React.useContext(QuickStartContext);
19755
+ const { activeQuickStartID, setActiveQuickStart, allQuickStarts = [], activeQuickStartState, allQuickStartStates, setAllQuickStartStates, useLegacyHeaderColors, } = React.useContext(QuickStartContext);
19751
19756
  const combinedQuickStarts = allQuickStarts.concat(quickStarts);
19752
19757
  React.useEffect(() => {
19753
19758
  const params = new URLSearchParams(window.location.search);
@@ -19806,7 +19811,7 @@ const QuickStartDrawer = (_a) => {
19806
19811
  },
19807
19812
  }
19808
19813
  : {};
19809
- const panelContent = (React.createElement(QuickStartPanelContent, Object.assign({ quickStarts: combinedQuickStarts, handleClose: handleClose, activeQuickStartID: activeQuickStartID, appendTo: appendTo, isResizable: !fullWidth }, fullWidthPanelStyle)));
19814
+ const panelContent = (React.createElement(QuickStartPanelContent, Object.assign({ quickStarts: combinedQuickStarts, handleClose: handleClose, activeQuickStartID: activeQuickStartID, appendTo: appendTo, isResizable: !fullWidth, headerVariant: useLegacyHeaderColors ? '' : 'blue-white' }, fullWidthPanelStyle)));
19810
19815
  return (React.createElement(React.Fragment, null,
19811
19816
  React.createElement(Drawer, Object.assign({ isExpanded: !!activeQuickStartID, isInline: true }, props), children ? (React.createElement(DrawerContent, Object.assign({ panelContent: panelContent }, fullWidthBodyStyle),
19812
19817
  React.createElement(DrawerContentBody, { className: "pfext-quick-start-drawer__body" }, children))) : (React.createElement("div", { className: "pf-c-drawer__main" }, panelContent))),