@salesforcedevs/docs-components 1.3.325-rnbtab-alpha2 → 1.3.325-rnbtab-alpha3

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.325-rnbtab-alpha2",
3
+ "version": "1.3.325-rnbtab-alpha3",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -42,7 +42,6 @@ export default class ContentLayout extends LightningElement {
42
42
  @api language!: string;
43
43
  @api bailHref!: string;
44
44
  @api bailLabel!: string;
45
- @track initialIndex: number = 0;
46
45
 
47
46
  // This is needed for now to prevent failing snapshot tests due to links in the footer
48
47
  @api showFooter = false;
@@ -444,16 +443,7 @@ export default class ContentLayout extends LightningElement {
444
443
  }
445
444
  };
446
445
 
447
- onSlotChange(e): void {
448
- const slot = e.target;
449
- const child = slot.assignedElements();
450
- const tabComponent = child.find(
451
- (element: any) =>
452
- element.tagName.toLowerCase() === "dx-tab-panel-list"
453
- );
454
- if (tabComponent) {
455
- tabComponent.initialIndex = this.initialIndex; // Set the index value on the child component
456
- }
446
+ onSlotChange(): void {
457
447
  this.updateRNB();
458
448
  }
459
449