@salesforcedevs/docs-components 1.27.17 → 1.27.18

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.27.17",
3
+ "version": "1.27.18",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -25,5 +25,5 @@
25
25
  "@types/lodash.orderby": "4.6.9",
26
26
  "@types/lodash.uniqby": "4.7.9"
27
27
  },
28
- "gitHead": "9ece8c200753fe3cab55150989e65c7a594ad570"
28
+ "gitHead": "39f762aa6e34b9a3607c0f3ce4c1ad445c79c3bc"
29
29
  }
@@ -416,7 +416,8 @@ export default class ContentLayout extends LightningElement {
416
416
  const tocItem = {
417
417
  anchor: `#${headingElement.hash}`,
418
418
  id: headingElement.id,
419
- label: headingElement.header
419
+ label: headingElement.header,
420
+ level: headingLevel
420
421
  };
421
422
  tocOptions.push(tocItem);
422
423
  this.tocOptionIdsSet.add(headingElement.id);