@patternfly/quickstarts 2.4.4 → 2.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,6 +818,17 @@
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
+
821
832
  .pfext-quick-start-tile-description {
822
833
  display: -webkit-box;
823
834
  overflow: hidden;
@@ -854,17 +865,6 @@
854
865
  margin-right: var(--pf-global--spacer--sm);
855
866
  }
856
867
 
857
- .pfext-quick-start-tile {
858
- height: 100%;
859
- }
860
- .pfext-quick-start-tile .catalog-tile-pf-description .has-footer {
861
- display: block;
862
- -webkit-line-clamp: unset;
863
- }
864
- .pfext-quick-start-tile .catalog-tile-pf-icon {
865
- display: flex;
866
- }
867
-
868
868
  .pfext-markdown-view.is-empty {
869
869
  color: #999;
870
870
  }
@@ -904,16 +904,6 @@
904
904
  --pf-c-check__label--FontSize: 14px;
905
905
  }
906
906
 
907
- .pfext-quick-start-content {
908
- flex: 1 1 0;
909
- overflow: auto;
910
- padding: var(--pf-global--spacer--lg);
911
- font-size: 16px;
912
- }
913
- .pfext-quick-start-content .pf-c-alert__description p {
914
- font-size: 13px;
915
- }
916
-
917
907
  .pfext-quick-start-footer {
918
908
  background-color: var(--pf-global--BackgroundColor--100);
919
909
  flex: 0 0 auto;
@@ -926,34 +916,14 @@
926
916
  float: right;
927
917
  }
928
918
 
929
- .pfext-quick-start-intro__prereq {
930
- margin-bottom: var(--pf-global--spacer--md);
931
- }
932
- .pfext-quick-start-intro__prereq .pf-c-expandable-section__content {
933
- margin-top: var(--pf-global--spacer--sm);
934
- }
935
- .pfext-quick-start-intro__prereq .pf-c-expandable-section__toggle {
936
- padding-top: 0;
937
- padding-bottom: 0;
938
- }
939
- .pfext-quick-start-intro__prereq .pf-c-expandable-section__toggle-text {
940
- margin-left: var(--pf-global--spacer--sm);
941
- }
942
- .pfext-quick-start-intro__prereq .pf-c-expandable-section__toggle-icon {
943
- color: var(--pf-c-expandable-section__toggle--Color);
944
- }
945
- .pfext-quick-start-intro__prereq .pf-c-expandable-section__toggle-icon:focus, .pfext-quick-start-intro__prereq .pf-c-expandable-section__toggle-icon:hover {
946
- --pf-c-expandable-section__toggle--Color: var(--pf-c-expandable-section__toggle--focus--Color);
947
- }
948
- .pfext-quick-start-intro__prereq-list {
949
- padding-left: 20px;
950
- }
951
- .pfext-quick-start-intro__prereq-list__item::marker {
952
- font-size: 0.8rem;
919
+ .pfext-quick-start-content {
920
+ flex: 1 1 0;
921
+ overflow: auto;
922
+ padding: var(--pf-global--spacer--lg);
923
+ font-size: 16px;
953
924
  }
954
- .pfext-quick-start-intro__prereq-list__item-content {
955
- position: relative;
956
- left: 2px;
925
+ .pfext-quick-start-content .pf-c-alert__description p {
926
+ font-size: 13px;
957
927
  }
958
928
 
959
929
  .pfext-quick-start-tasks__list button::before {
@@ -1027,18 +997,34 @@
1027
997
  font-size: 14px;
1028
998
  }
1029
999
 
1030
- .pfext-quick-start-task-header__list {
1031
- padding: 0 !important;
1000
+ .pfext-quick-start-intro__prereq {
1001
+ margin-bottom: var(--pf-global--spacer--md);
1032
1002
  }
1033
- .pfext-quick-start-task-header__list button::before {
1034
- content: none;
1003
+ .pfext-quick-start-intro__prereq .pf-c-expandable-section__content {
1004
+ margin-top: var(--pf-global--spacer--sm);
1035
1005
  }
1036
- .pfext-quick-start-task-header__list li {
1037
- list-style-type: none;
1038
- display: flex;
1039
- flex-wrap: wrap;
1040
- align-items: center;
1041
- margin-bottom: var(--pf-global--spacer--xs);
1006
+ .pfext-quick-start-intro__prereq .pf-c-expandable-section__toggle {
1007
+ padding-top: 0;
1008
+ padding-bottom: 0;
1009
+ }
1010
+ .pfext-quick-start-intro__prereq .pf-c-expandable-section__toggle-text {
1011
+ margin-left: var(--pf-global--spacer--sm);
1012
+ }
1013
+ .pfext-quick-start-intro__prereq .pf-c-expandable-section__toggle-icon {
1014
+ color: var(--pf-c-expandable-section__toggle--Color);
1015
+ }
1016
+ .pfext-quick-start-intro__prereq .pf-c-expandable-section__toggle-icon:focus, .pfext-quick-start-intro__prereq .pf-c-expandable-section__toggle-icon:hover {
1017
+ --pf-c-expandable-section__toggle--Color: var(--pf-c-expandable-section__toggle--focus--Color);
1018
+ }
1019
+ .pfext-quick-start-intro__prereq-list {
1020
+ padding-left: 20px;
1021
+ }
1022
+ .pfext-quick-start-intro__prereq-list__item::marker {
1023
+ font-size: 0.8rem;
1024
+ }
1025
+ .pfext-quick-start-intro__prereq-list__item-content {
1026
+ position: relative;
1027
+ left: 2px;
1042
1028
  }
1043
1029
 
1044
1030
  .pfext-quick-start-task-review-alert {
@@ -1116,6 +1102,24 @@
1116
1102
  color: var(--pf-global--danger-color--100) !important;
1117
1103
  }
1118
1104
 
1105
+ .pfext-quick-start-task-header__list {
1106
+ padding: 0 !important;
1107
+ }
1108
+ .pfext-quick-start-task-header__list button::before {
1109
+ content: none;
1110
+ }
1111
+ .pfext-quick-start-task-header__list li {
1112
+ list-style-type: none;
1113
+ display: flex;
1114
+ flex-wrap: wrap;
1115
+ align-items: center;
1116
+ margin-bottom: var(--pf-global--spacer--xs);
1117
+ }
1118
+
1119
+ .pfext-modal {
1120
+ position: absolute !important;
1121
+ }
1122
+
1119
1123
  .pfext-markdown-view .pfext-code-block__pre {
1120
1124
  /* override the styles applied by showdown while parsing <pre /> */
1121
1125
  display: flex;
@@ -1150,10 +1154,6 @@
1150
1154
  word-break: break-word;
1151
1155
  }
1152
1156
 
1153
- .pfext-modal {
1154
- position: absolute !important;
1155
- }
1156
-
1157
1157
  @keyframes pfext-spotlight-expand {
1158
1158
  0% {
1159
1159
  outline-offset: -4px;
@@ -19449,8 +19449,18 @@ const markdownConvert = (markdown, extensions) => __awaiter(void 0, void 0, void
19449
19449
  node.setAttribute('xlink:show', 'new');
19450
19450
  }
19451
19451
  });
19452
- // Replace code fences with non markdown formatting relates tokens so that marked doesn't try to parse them as code spans
19453
- const markdownWithSubstitutedCodeFences = markdown.replace(/```/g, '@@@');
19452
+ const reverseString = (str) => str
19453
+ .split('')
19454
+ .reverse()
19455
+ .join('');
19456
+ // replace code fences that end in a double curly brace (which are used by our custom md extensions) with non
19457
+ // markdown formatting related tokens so that marked doesn't try to parse them as code spans
19458
+ //
19459
+ // we want to reverse the string before we do the substitution so that we only match the opening code fence which
19460
+ // corresponds to the closing code fence with the double curly brace
19461
+ const reversedMarkdown = reverseString(markdown);
19462
+ const reverseMarkdownWithSubstitutedCodeFences = reversedMarkdown.replace(/{{```((.|\n)*?)```/g, '{{@@@$1@@@');
19463
+ const markdownWithSubstitutedCodeFences = reverseString(reverseMarkdownWithSubstitutedCodeFences);
19454
19464
  const parsedMarkdown = yield marked.parse(markdownWithSubstitutedCodeFences);
19455
19465
  // Swap the temporary tokens back to code fences before we run the extensions
19456
19466
  let md = parsedMarkdown.replace(/@@@/g, '```');