@salesforcedevs/docs-components 1.3.227-newdocux-alpha3 → 1.3.227-newdocux-alpha-m2
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 +1 -1
- package/src/modules/doc/amfReference/amfReference.html +4 -4
- package/src/modules/doc/contentLayout/contentLayout.html +2 -2
- package/src/modules/doc/header/header.html +2 -2
- package/src/modules/doc/versionPicker/versionPicker.html +1 -1
- package/src/modules/doc/versionPicker/versionPicker.ts +1 -1
- package/src/modules/doc/xmlContent/xmlContent.html +1 -0
- package/src/modules/doc/xmlContent/xmlContent.ts +1 -3
package/package.json
CHANGED
|
@@ -42,10 +42,7 @@
|
|
|
42
42
|
latest-version={latestVersion}
|
|
43
43
|
></doc-version-picker>
|
|
44
44
|
</div>
|
|
45
|
-
<template if
|
|
46
|
-
<slot></slot>
|
|
47
|
-
</template>
|
|
48
|
-
<template if:true={showSpecBasedReference}>
|
|
45
|
+
<template lwc:if={showSpecBasedReference}>
|
|
49
46
|
<div class="container">
|
|
50
47
|
<div class="api-documentation">
|
|
51
48
|
<doc-amf-topic
|
|
@@ -55,5 +52,8 @@
|
|
|
55
52
|
</div>
|
|
56
53
|
</div>
|
|
57
54
|
</template>
|
|
55
|
+
<template lwc:else>
|
|
56
|
+
<slot></slot>
|
|
57
|
+
</template>
|
|
58
58
|
</doc-content-layout>
|
|
59
59
|
</template>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="content">
|
|
3
|
-
<template if
|
|
3
|
+
<template lwc:if={useOldSidebar}>
|
|
4
4
|
<dx-sidebar-old
|
|
5
5
|
class="is-sticky left-nav-bar"
|
|
6
6
|
trees={sidebarContent}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<slot name="sidebar-header" slot="version-picker"></slot>
|
|
16
16
|
</dx-sidebar-old>
|
|
17
17
|
</template>
|
|
18
|
-
<template
|
|
18
|
+
<template lwc:else>
|
|
19
19
|
<dx-sidebar
|
|
20
20
|
class="is-sticky left-nav-bar"
|
|
21
21
|
trees={sidebarContent}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<template if
|
|
2
|
+
<template lwc:if={shouldRender}>
|
|
3
3
|
<dx-brand-theme-provider brand={brand}>
|
|
4
4
|
<header class={className}>
|
|
5
5
|
<dx-banner
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
</header>
|
|
41
41
|
</dx-brand-theme-provider>
|
|
42
42
|
</template>
|
|
43
|
-
<template if
|
|
43
|
+
<template lwc:if={showDocDivider}>
|
|
44
44
|
<div class="no-header-content"></div>
|
|
45
45
|
</template>
|
|
46
46
|
</template>
|
|
@@ -578,9 +578,7 @@ export default class DocXmlContent extends LightningElementWithState<{
|
|
|
578
578
|
}
|
|
579
579
|
|
|
580
580
|
private updateSearchInput(searchParam: string): void {
|
|
581
|
-
(
|
|
582
|
-
this.template.querySelector("doc-content-layout") as any
|
|
583
|
-
)?.setSidebarInputValue(searchParam);
|
|
581
|
+
(this.refs.docContentLayout as any)?.setSidebarInputValue(searchParam);
|
|
584
582
|
}
|
|
585
583
|
|
|
586
584
|
private pageReferenceToString(reference: PageReference): string {
|