@salesforcedevs/docs-components 1.3.326 → 1.3.327
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.
|
|
3
|
+
"version": "1.3.327",
|
|
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": "f684f389715290826e36a66d35c42bf5eb3f04a4"
|
|
28
28
|
}
|
|
@@ -134,7 +134,7 @@ export default class Content extends LightningElement {
|
|
|
134
134
|
// ! Hot fix for incoming html tags from couchdb for xml blocks, fix me soon please
|
|
135
135
|
language: LANGUAGE_MAP[language] || language,
|
|
136
136
|
theme: this.codeBlockTheme,
|
|
137
|
-
|
|
137
|
+
header: "", // Default no title.
|
|
138
138
|
variant: this.codeBlockType,
|
|
139
139
|
isEncoded: true
|
|
140
140
|
});
|
|
@@ -173,7 +173,7 @@ export default class Content extends LightningElement {
|
|
|
173
173
|
const type = calloutEl.querySelector("h4")!.textContent!;
|
|
174
174
|
const typeLower = type.toLowerCase();
|
|
175
175
|
Object.assign(calloutCompEl, {
|
|
176
|
-
|
|
176
|
+
header: type,
|
|
177
177
|
variant: typeLower
|
|
178
178
|
});
|
|
179
179
|
// eslint-disable-next-line no-use-before-define
|