@salesforcedevs/docs-components 1.3.209 → 1.3.215
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/docs-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.215",
|
|
4
4
|
"description": "Docs Lightning web components for DSC",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "index.js",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"@types/lodash.orderby": "^4.6.7",
|
|
25
25
|
"@types/lodash.uniqby": "^4.7.7"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "1afd60f1dc498d2be28473bac6585289d657cc50"
|
|
28
28
|
}
|
|
@@ -1343,8 +1343,21 @@ export default class AmfReference extends LightningElement {
|
|
|
1343
1343
|
* New Title: E1 | Ref Spec2 | Project Name | Salesforce Developer
|
|
1344
1344
|
*
|
|
1345
1345
|
*/
|
|
1346
|
+
// eslint-disable-next-line @lwc/lwc/no-document-query
|
|
1347
|
+
let coveoTitleMetaTag = document.querySelector(
|
|
1348
|
+
'meta[name="coveo-search-title"]'
|
|
1349
|
+
);
|
|
1350
|
+
if (!coveoTitleMetaTag) {
|
|
1351
|
+
coveoTitleMetaTag = document.createElement("meta");
|
|
1352
|
+
coveoTitleMetaTag.setAttribute("name", "coveo-search-title");
|
|
1353
|
+
// eslint-disable-next-line @lwc/lwc/no-document-query
|
|
1354
|
+
document
|
|
1355
|
+
.getElementsByTagName("head")[0]
|
|
1356
|
+
.appendChild(coveoTitleMetaTag);
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1346
1359
|
if (titleTag) {
|
|
1347
|
-
let titleTagValue = titleTag.textContent;
|
|
1360
|
+
let titleTagValue = titleTag.textContent || "";
|
|
1348
1361
|
const titleTagSectionValues: string[] =
|
|
1349
1362
|
titleTagValue?.split(TITLE_SEPARATOR);
|
|
1350
1363
|
if (titleTagSectionValues) {
|
|
@@ -1356,6 +1369,7 @@ export default class AmfReference extends LightningElement {
|
|
|
1356
1369
|
}
|
|
1357
1370
|
}
|
|
1358
1371
|
titleTag.textContent = titleTagValue;
|
|
1372
|
+
coveoTitleMetaTag.setAttribute("content", titleTagValue);
|
|
1359
1373
|
}
|
|
1360
1374
|
}
|
|
1361
1375
|
|