@salesforcedevs/docs-components
Advanced tools
Comparing version 1.3.300-alpha.2 to 1.3.300-alpha.3
{ | ||
"name": "@salesforcedevs/docs-components", | ||
"version": "1.3.300-alpha.2", | ||
"version": "1.3.300-alpha.3", | ||
"description": "Docs Lightning web components for DSC", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -346,4 +346,6 @@ /* eslint-disable @lwc/lwc/no-document-query */ | ||
for (const headingElement of headingElements as any) { | ||
// Sometimes elements hash is not being set when slot content is wrapped with div | ||
// Sometimes elements hash and header is not being set when slot content is wrapped with div | ||
headingElement.hash = headingElement.attributes.hash?.nodeValue; | ||
headingElement.header = | ||
headingElement.attributes.header?.nodeValue; | ||
} | ||
@@ -350,0 +352,0 @@ |
@@ -16,13 +16,6 @@ import { LightningElement, api } from "lwc"; | ||
export default class Heading extends LightningElement { | ||
@api header: string = ""; | ||
@api hash: string | null = null; | ||
@api | ||
get header(): string { | ||
return this._header; | ||
} | ||
set header(value: string) { | ||
this._header = value; | ||
} | ||
@api | ||
private get ariaLevel(): string { | ||
@@ -56,3 +49,2 @@ // Really Dark Magic (TM) | ||
private _header: string = ""; | ||
private _ariaLevel: string | null = null; | ||
@@ -59,0 +51,0 @@ private _displayLevel: string | null = null; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
254551
6528