@salesforcedevs/docs-components 1.14.8-ldh-alpha1 → 1.14.8-ldh-alpha2

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.14.8-ldh-alpha1",
3
+ "version": "1.14.8-ldh-alpha2",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -11,6 +11,8 @@
11
11
  language={language}
12
12
  bail-href={bailHref}
13
13
  bail-label={bailLabel}
14
+ dev-center={devCenter}
15
+ brand={brand}
14
16
  >
15
17
  <slot name="sidebar-header" slot="version-picker"></slot>
16
18
  </dx-sidebar-old>
@@ -30,6 +32,8 @@
30
32
  language={language}
31
33
  bail-href={bailHref}
32
34
  bail-label={bailLabel}
35
+ dev-center={devCenter}
36
+ brand={brand}
33
37
  >
34
38
  <slot name="sidebar-header" slot="version-picker"></slot>
35
39
  </dx-sidebar>
@@ -42,6 +42,8 @@ export default class ContentLayout extends LightningElement {
42
42
  @api language!: string;
43
43
  @api bailHref!: string;
44
44
  @api bailLabel!: string;
45
+ @api devCenter: any;
46
+ @api brand: any;
45
47
 
46
48
  // This is needed for now to prevent failing snapshot tests due to links in the footer
47
49
  @api showFooter = false;
@@ -1,5 +1,3 @@
1
- /* eslint-disable @lwc/lwc/no-document-query */
2
- import { api } from "lwc";
3
1
  import ContentLayout from "doc/contentLayout";
4
2
 
5
3
  const TOC_HEADER_TAG = "doc-heading";
@@ -8,8 +6,6 @@ const SPECIFICATION_TAB_TITLE = "Specification";
8
6
  export const OBSERVER_ATTACH_WAIT_TIME = 500;
9
7
 
10
8
  export default class LwcContentLayout extends ContentLayout {
11
- @api devCenter: any;
12
- @api brand: any;
13
9
  private rnbByTab: boolean = false;
14
10
 
15
11
  private setRNBByTab() {