@salesforcedevs/docs-components 1.3.388-playground-comp3 → 1.3.396-fix-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,11 +1,11 @@
1
1
  {
2
2
  "name": "@salesforcedevs/docs-components",
3
- "version": "1.3.388-playground-comp3",
3
+ "version": "1.3.396-fix-alpha",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "engines": {
8
- "node": "18.18.0"
8
+ "node": "18.x"
9
9
  },
10
10
  "publishConfig": {
11
11
  "access": "public"
@@ -8,7 +8,8 @@
8
8
  <iframe
9
9
  src={playgroundSrc}
10
10
  onload={handleIframeLoad}
11
- title="Component Example Preview"
11
+ title="Component Playground"
12
+ allow="clipboard-write"
12
13
  ></iframe>
13
14
  </div>
14
15
  </template>
@@ -1,4 +1,4 @@
1
- import { LightningElement, api, track } from "lwc";
1
+ import { LightningElement, api } from "lwc";
2
2
 
3
3
  export default class ComponentPlayground extends LightningElement {
4
4
  @api model!: string;
@@ -6,7 +6,7 @@ export default class ComponentPlayground extends LightningElement {
6
6
  @api component!: string;
7
7
  @api playgroundAppUrl!: string;
8
8
 
9
- @track isLoading = true;
9
+ isLoading = true;
10
10
 
11
11
  get playgroundSrc(): string {
12
12
  return `${this.playgroundAppUrl}/playground/${this.model}/${
@@ -456,6 +456,7 @@ export default class DocXmlContent extends LightningElementWithState<{
456
456
  this.setState({
457
457
  isFetchingDocument: true
458
458
  });
459
+
459
460
  const data = await this.contentProvider!.fetchDocumentData(
460
461
  this.pageReference.docId!
461
462
  );