@patternfly/quickstarts 5.4.3 → 5.4.5

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.
@@ -818,17 +818,6 @@
818
818
  display: inherit !important;
819
819
  }
820
820
 
821
- .pfext-quick-start-tile {
822
- height: 100%;
823
- }
824
- .pfext-quick-start-tile .catalog-tile-pf-description .has-footer {
825
- display: block;
826
- -webkit-line-clamp: unset;
827
- }
828
- .pfext-quick-start-tile .catalog-tile-pf-icon {
829
- display: flex;
830
- }
831
-
832
821
  .pfext-quick-start-tile-description {
833
822
  display: -webkit-box;
834
823
  overflow: hidden;
@@ -868,6 +857,17 @@
868
857
  flex: 1;
869
858
  }
870
859
 
860
+ .pfext-quick-start-tile {
861
+ height: 100%;
862
+ }
863
+ .pfext-quick-start-tile .catalog-tile-pf-description .has-footer {
864
+ display: block;
865
+ -webkit-line-clamp: unset;
866
+ }
867
+ .pfext-quick-start-tile .catalog-tile-pf-icon {
868
+ display: flex;
869
+ }
870
+
871
871
  .pfext-markdown-view.is-empty {
872
872
  color: #999;
873
873
  }
@@ -907,6 +907,16 @@
907
907
  --pf-v5-c-check__label--FontSize: 14px;
908
908
  }
909
909
 
910
+ .pfext-quick-start-content {
911
+ flex: 1 1 0;
912
+ overflow: auto;
913
+ padding: var(--pf-v5-global--spacer--lg);
914
+ font-size: 16px;
915
+ }
916
+ .pfext-quick-start-content .pf-v5-c-alert__description p {
917
+ font-size: 13px;
918
+ }
919
+
910
920
  .pfext-quick-start-footer {
911
921
  background-color: var(--pf-v5-global--BackgroundColor--100);
912
922
  flex: 0 0 auto;
@@ -919,16 +929,6 @@
919
929
  float: right;
920
930
  }
921
931
 
922
- .pfext-quick-start-content {
923
- flex: 1 1 0;
924
- overflow: auto;
925
- padding: var(--pf-v5-global--spacer--lg);
926
- font-size: 16px;
927
- }
928
- .pfext-quick-start-content .pf-v5-c-alert__description p {
929
- font-size: 13px;
930
- }
931
-
932
932
  .pfext-quick-start-intro__prereq {
933
933
  margin-bottom: var(--pf-v5-global--spacer--md);
934
934
  }
@@ -1030,6 +1030,20 @@
1030
1030
  font-size: 14px;
1031
1031
  }
1032
1032
 
1033
+ .pfext-quick-start-task-header__list {
1034
+ padding: 0 !important;
1035
+ }
1036
+ .pfext-quick-start-task-header__list button::before {
1037
+ content: none;
1038
+ }
1039
+ .pfext-quick-start-task-header__list li {
1040
+ list-style-type: none;
1041
+ display: flex;
1042
+ flex-wrap: wrap;
1043
+ align-items: center;
1044
+ margin-bottom: var(--pf-v5-global--spacer--xs);
1045
+ }
1046
+
1033
1047
  .pfext-quick-start-task-review-alert {
1034
1048
  margin: var(--pf-v5-global--spacer--lg) 0;
1035
1049
  }
@@ -1058,20 +1072,6 @@
1058
1072
  color: var(--pf-chart-global--danger--Color--100);
1059
1073
  }
1060
1074
 
1061
- .pfext-quick-start-task-header__list {
1062
- padding: 0 !important;
1063
- }
1064
- .pfext-quick-start-task-header__list button::before {
1065
- content: none;
1066
- }
1067
- .pfext-quick-start-task-header__list li {
1068
- list-style-type: none;
1069
- display: flex;
1070
- flex-wrap: wrap;
1071
- align-items: center;
1072
- margin-bottom: var(--pf-v5-global--spacer--xs);
1073
- }
1074
-
1075
1075
  .pfext-quick-start-task-header {
1076
1076
  margin-bottom: var(--pf-v5-global--spacer--sm);
1077
1077
  display: grid;
@@ -29093,7 +29093,10 @@ const QuickStartContainer = (_a) => {
29093
29093
  const QuickStartDrawer = (_a) => {
29094
29094
  var { quickStarts = [], children, appendTo, fullWidth, onCloseInProgress, onCloseNotInProgress } = _a, props = __rest(_a, ["quickStarts", "children", "appendTo", "fullWidth", "onCloseInProgress", "onCloseNotInProgress"]);
29095
29095
  const { activeQuickStartID, setActiveQuickStart, allQuickStarts = [], activeQuickStartState, allQuickStartStates, setAllQuickStartStates, useLegacyHeaderColors, } = React.useContext(QuickStartContext);
29096
- const combinedQuickStarts = allQuickStarts.concat(quickStarts);
29096
+ const combinedQuickStarts = [
29097
+ ...allQuickStarts,
29098
+ ...quickStarts,
29099
+ ].filter((qs, idx, arr) => arr.findIndex(q => q.metadata.name === qs.metadata.name) === idx);
29097
29100
  React.useEffect(() => {
29098
29101
  const params = new URLSearchParams(window.location.search);
29099
29102
  // if there is a quick start param, but the quick start is not active, set it