@salesforcedevs/docs-components 0.72.0 → 0.74.3
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": "0.
|
|
3
|
+
"version": "0.74.3",
|
|
4
4
|
"description": "Docs Lightning web components for DSC",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "index.js",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"@types/lodash.orderby": "^4.6.7",
|
|
25
25
|
"@types/lodash.uniqby": "^4.7.7"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "5b1dbe02a568ae6db02402a2d9e420b5b09b0f47"
|
|
28
28
|
}
|
|
@@ -150,7 +150,7 @@ export default class Content extends LightningElement {
|
|
|
150
150
|
is: ContentCallout
|
|
151
151
|
});
|
|
152
152
|
const detailEls = calloutEl.querySelectorAll(
|
|
153
|
-
"p, div.data, ol, ul, p+.codeSection, .mediaBd > span.ph"
|
|
153
|
+
"p, .p, div.data, ol, ul, p+.codeSection, p~.codeSection, div >.codeSection, .mediaBd > span.ph"
|
|
154
154
|
);
|
|
155
155
|
detailEls.forEach((detailEl) => {
|
|
156
156
|
if (detailEl.innerHTML.trim() !== "") {
|
|
@@ -159,7 +159,7 @@ export default class Content extends LightningElement {
|
|
|
159
159
|
});
|
|
160
160
|
|
|
161
161
|
let flag = 1;
|
|
162
|
-
for (let i = 0; i < detailEls.length; i++) {
|
|
162
|
+
for (let i: number = 0; i < detailEls.length; i++) {
|
|
163
163
|
flag &= detailEls[i].innerHTML.trim() === "";
|
|
164
164
|
}
|
|
165
165
|
|