@salesforcedevs/docs-components 1.3.205 → 1.3.209-tag-alpha

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.205",
3
+ "version": "1.3.209-tag-alpha",
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": "2002bc58ce5f0ecc32effec28c796b3211c40178"
27
+ "gitHead": "4629fdd9ca18a13480044ad43515b91945d16aad"
28
28
  }
@@ -1320,42 +1320,14 @@ export default class AmfReference extends LightningElement {
1320
1320
  metaNavTitle.setAttribute("content", navTitle);
1321
1321
  }
1322
1322
 
1323
- /**
1324
- * Right now, the title tag only changes when you pick a Ref spec,
1325
- * not every time you choose a subsection of the Ref spec.
1326
- * This update aims to refresh the title tag with each selection.
1327
- * If a Ref spec is chosen, we add the value of the <selected topic> to the title.
1328
- * If a subsection is selected, we update the first part of the current
1329
- * title with the new <selected topic>.
1330
- * Example: Following is a sample project structure.
1331
- * - Project Name
1332
- * - Ref Spec1
1333
- * - Summary
1334
- * - Endpoints
1335
- * - E1
1336
- * - E2
1337
- * - Ref Spec2
1338
- * - Summary
1339
- * - Endpoints
1340
- * - E1 (Selected)
1341
- * - E2
1342
- * Previous Title: Ref Spec2 | Project Name | Salesforce Developer
1343
- * New Title: E1 | Ref Spec2 | Project Name | Salesforce Developer
1344
- *
1345
- */
1346
- if (titleTag) {
1347
- let titleTagValue = titleTag.textContent;
1348
- const titleTagSectionValues: string[] =
1349
- titleTagValue?.split(TITLE_SEPARATOR);
1350
- if (titleTagSectionValues) {
1351
- if (titleTagSectionValues.length <= 3) {
1352
- titleTagValue = navTitle + TITLE_SEPARATOR + titleTagValue;
1353
- } else {
1354
- titleTagSectionValues[0] = navTitle;
1355
- titleTagValue = titleTagSectionValues.join(TITLE_SEPARATOR);
1356
- }
1357
- }
1358
- titleTag.textContent = titleTagValue;
1323
+ // eslint-disable-next-line @lwc/lwc/no-document-query
1324
+ const coveoTitleMetaTag = document.querySelector(
1325
+ 'meta[name="coveo-search-title"]'
1326
+ );
1327
+ if (coveoTitleMetaTag && titleTag && navTitle) {
1328
+ const titleTagValue = titleTag.textContent;
1329
+ const coveoSerachTitle = navTitle + TITLE_SEPARATOR + titleTagValue;
1330
+ coveoTitleMetaTag.setAttribute("content", coveoSerachTitle);
1359
1331
  }
1360
1332
  }
1361
1333
 
@@ -52,3 +52,8 @@
52
52
  display: flex;
53
53
  flex-direction: row;
54
54
  }
55
+
56
+ .dx-callout-content {
57
+ flex: 1;
58
+ overflow: auto;
59
+ }
package/LICENSE DELETED
@@ -1,12 +0,0 @@
1
- Copyright (c) 2020, Salesforce.com, Inc.
2
- All rights reserved.
3
-
4
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
-
6
- * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
-
8
- * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9
-
10
- * Neither the name of Salesforce.com nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
11
-
12
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.