@salesforcedevs/docs-components 1.18.5 → 1.18.7
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.18.
|
|
3
|
+
"version": "1.18.7",
|
|
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": "
|
|
28
|
+
"gitHead": "3ada6ae4198e8ec27ced5c448ed8588afa6e5431"
|
|
29
29
|
}
|
|
@@ -7,6 +7,11 @@
|
|
|
7
7
|
if:true={isLoading}
|
|
8
8
|
></dx-spinner>
|
|
9
9
|
<dx-error-fallback lwc:if={showError}></dx-error-fallback>
|
|
10
|
+
<dx-error-fallback
|
|
11
|
+
lwc:if={showNoSpecifications}
|
|
12
|
+
title="No specifications to show"
|
|
13
|
+
description="No specifications are available for this component or API module. When specifications are defined, they'll appear here."
|
|
14
|
+
></dx-error-fallback>
|
|
10
15
|
<template lwc:if={hasAttributes}>
|
|
11
16
|
<doc-heading
|
|
12
17
|
header="Attributes"
|
|
@@ -108,6 +108,17 @@ export default class SpecificationContent extends LightningElement {
|
|
|
108
108
|
return this.events?.length > 0;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
+
get showNoSpecifications() {
|
|
112
|
+
return (
|
|
113
|
+
!this.showError &&
|
|
114
|
+
!this.isLoading &&
|
|
115
|
+
!this.hasAttributes &&
|
|
116
|
+
!this.hasMethods &&
|
|
117
|
+
!this.hasSlots &&
|
|
118
|
+
!this.hasEvents
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
|
|
111
122
|
renderedCallback(): void {
|
|
112
123
|
if (this.data) {
|
|
113
124
|
this.debouncedNotifyDataRendered();
|