@rh-support/troubleshoot 0.3.4 → 0.3.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.
|
@@ -4,6 +4,13 @@ interface IProps {
|
|
|
4
4
|
showNewTag: boolean;
|
|
5
5
|
duplicateKeys: string[];
|
|
6
6
|
}
|
|
7
|
+
declare global {
|
|
8
|
+
namespace JSX {
|
|
9
|
+
interface IntrinsicElements {
|
|
10
|
+
'pfe-cta': any;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
7
14
|
export declare function InsightsRuleInfo({ doc, showNewTag, duplicateKeys }: IProps): JSX.Element;
|
|
8
15
|
export {};
|
|
9
16
|
//# sourceMappingURL=InsightsRuleInfo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightsRuleInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/Recommendations/InsightsRuleInfo.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAI7D,UAAU,MAAM;IACZ,GAAG,EAAE,wBAAwB,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,MAAM,EAAE,CAAC;CAC3B;AAOD,wBAAgB,gBAAgB,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,aAAa,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"InsightsRuleInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/Recommendations/InsightsRuleInfo.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAI7D,UAAU,MAAM;IACZ,GAAG,EAAE,wBAAwB,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,MAAM,EAAE,CAAC;CAC3B;AAOD,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,GAAG,CAAC;QACV,UAAU,iBAAiB;YACvB,SAAS,EAAE,GAAG,CAAC;SAClB;KACJ;CACJ;AAED,wBAAgB,gBAAgB,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,aAAa,EAAE,EAAE,MAAM,eA4J1E"}
|
|
@@ -74,6 +74,7 @@ export function InsightsRuleInfo({ doc, showNewTag, duplicateKeys }) {
|
|
|
74
74
|
React.createElement(Trans, null, "Additional info")),
|
|
75
75
|
React.createElement(AccordionContent, { isHidden: !isAdditionalExpanded },
|
|
76
76
|
React.createElement("p", { onClick: onAdditionalInfoElemClick, dangerouslySetInnerHTML: parseMoreInfo(ruleData === null || ruleData === void 0 ? void 0 : ruleData.more_info, (_g = insightsReport === null || insightsReport === void 0 ? void 0 : insightsReport.current) === null || _g === void 0 ? void 0 : _g.details) }))))),
|
|
77
|
-
React.createElement("
|
|
78
|
-
React.createElement(
|
|
77
|
+
React.createElement("pfe-cta", null,
|
|
78
|
+
React.createElement("a", { className: "se-recommended ts-result-insights cta-link", rel: "noopener noreferrer", target: "_blank", onClick: onCtaClick(doc.view_uri), "data-tracking-id": "se-recommended-insights-rule", "aria-label": "Related article", role: "button", href: getTrackingULRWithQueryParams(doc.view_uri, SessionResourceSource.INSIGHTS) },
|
|
79
|
+
React.createElement(Trans, null, "Related article"))))))));
|
|
79
80
|
}
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
|
|
109
109
|
.pf-c-alert {
|
|
110
110
|
.pf-c-alert__title {
|
|
111
|
-
font-weight: 600;
|
|
111
|
+
font-weight: 600 !important;
|
|
112
112
|
font-size: 15px;
|
|
113
113
|
}
|
|
114
114
|
|
|
@@ -248,6 +248,13 @@
|
|
|
248
248
|
|
|
249
249
|
& > *:not(.ea-rule) .cta-link {
|
|
250
250
|
padding: 0 0.8rem;
|
|
251
|
+
border: none;
|
|
252
|
+
font-size: 14px;
|
|
253
|
+
font-weight: 700;
|
|
254
|
+
}
|
|
255
|
+
.cta-link::after {
|
|
256
|
+
border: 0;
|
|
257
|
+
margin-left: 0 !important;
|
|
251
258
|
}
|
|
252
259
|
}
|
|
253
260
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"@patternfly/patternfly": "4.196.7",
|
|
32
32
|
"@patternfly/pfe-accordion": "1.12.3",
|
|
33
33
|
"@patternfly/pfe-collapse": "1.12.3",
|
|
34
|
+
"@patternfly/pfe-cta": "^1.12.3",
|
|
34
35
|
"@patternfly/pfe-tabs": "1.12.3",
|
|
35
36
|
"@patternfly/react-core": "4.202.16",
|
|
36
37
|
"@rh-support/components": "^0.1.3",
|
|
@@ -141,5 +142,5 @@
|
|
|
141
142
|
"not ie <= 11",
|
|
142
143
|
"not op_mini all"
|
|
143
144
|
],
|
|
144
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "de58d49b00c17b15e090aee40a57150952ef560c"
|
|
145
146
|
}
|