@salesforcedevs/docs-components 1.28.3 → 1.28.4
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/.npmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//registry.npmjs.org/:_authToken=${SFDOCS_NPM_AUTH_TOKEN}
|
package/package.json
CHANGED
|
@@ -212,7 +212,8 @@ export default class RedocReference extends LightningElement {
|
|
|
212
212
|
const currentUrl = window.location;
|
|
213
213
|
const existingParams = currentUrl.search + currentUrl.hash;
|
|
214
214
|
|
|
215
|
-
|
|
215
|
+
// Use replaceState to avoid creating a new history entry when the user visits /references without any reference ID
|
|
216
|
+
window.history.replaceState(
|
|
216
217
|
{},
|
|
217
218
|
"",
|
|
218
219
|
`${parentReferencePath}${existingParams}`
|
|
@@ -348,7 +349,10 @@ export default class RedocReference extends LightningElement {
|
|
|
348
349
|
// Appends footer component to container
|
|
349
350
|
private insertFooter(container: HTMLElement): void {
|
|
350
351
|
const footerElement = createElement("dx-footer", { is: DxFooter });
|
|
351
|
-
Object.assign(footerElement, {
|
|
352
|
+
Object.assign(footerElement, {
|
|
353
|
+
variant: "no-signup",
|
|
354
|
+
mfeConfigOrigin: this.effectiveFooterOrigin
|
|
355
|
+
});
|
|
352
356
|
container.appendChild(footerElement);
|
|
353
357
|
}
|
|
354
358
|
|