@salesforcedevs/docs-components 1.3.104-alpha06 → 1.3.104-alpha08
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.css +0 -2
- package/src/modules/doc/amfReference/amfReference.html +8 -4
- package/src/modules/doc/contentLayout/contentLayout.css +3 -2
- package/src/modules/doc/header/header.css +5 -2
- package/src/modules/doc/phase/phase.css +9 -2
- package/src/modules/docHelpers/phaseContentLayout/phaseContentLayout.css +0 -39
package/package.json
CHANGED
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
toc-options={tocOptions}
|
|
17
17
|
enable-slot-change="true"
|
|
18
18
|
>
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
<doc-phase
|
|
20
|
+
slot="doc-phase"
|
|
21
|
+
if:true={docPhaseInfo}
|
|
22
|
+
doc-phase-info={docPhaseInfo}
|
|
23
|
+
></doc-phase>
|
|
22
24
|
<div slot="sidebar-header" class="version-picker">
|
|
23
25
|
<template if:true={isVersionEnabled}>
|
|
24
26
|
<dx-dropdown
|
|
@@ -28,7 +30,9 @@
|
|
|
28
30
|
value={selectedVersion.id}
|
|
29
31
|
width="290px"
|
|
30
32
|
>
|
|
31
|
-
<dx-button variant="inline" class="version-picker-text">
|
|
33
|
+
<dx-button variant="inline" class="version-picker-text">
|
|
34
|
+
{selectedVersion.id}
|
|
35
|
+
</dx-button>
|
|
32
36
|
</dx-dropdown>
|
|
33
37
|
</template>
|
|
34
38
|
</div>
|
|
@@ -46,11 +46,12 @@ dx-toc {
|
|
|
46
46
|
justify-content: center;
|
|
47
47
|
max-width: var(--dx-g-doc-content-max-width);
|
|
48
48
|
margin: auto;
|
|
49
|
-
padding: 0 var(--dx-g-header-padding-horizontal);
|
|
49
|
+
padding: 0 var(--dx-g-global-header-padding-horizontal);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.content-body {
|
|
53
53
|
margin: var(--dx-g-spacing-sm) 0 var(--dx-g-spacing-xl);
|
|
54
|
+
max-width: 900px;
|
|
54
55
|
flex: 1;
|
|
55
56
|
width: 0;
|
|
56
57
|
}
|
|
@@ -58,7 +59,7 @@ dx-toc {
|
|
|
58
59
|
.is-sticky {
|
|
59
60
|
height: 100vh;
|
|
60
61
|
position: sticky;
|
|
61
|
-
top:
|
|
62
|
+
top: calc(var(--dx-g-global-header-height) + var(--dx-g-doc-header-height));
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
.right-nav-bar {
|
|
@@ -7,6 +7,7 @@ dx-logo {
|
|
|
7
7
|
|
|
8
8
|
.header_l2 {
|
|
9
9
|
justify-content: space-between;
|
|
10
|
+
height: var(--dx-g-doc-header-main-nav-height);
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
.nav_menu-button {
|
|
@@ -56,7 +57,7 @@ header:not(.has-brand) > .header_l2 {
|
|
|
56
57
|
--border-color: var(--button-primary-color-hover);
|
|
57
58
|
}
|
|
58
59
|
|
|
59
|
-
@media (max-width:
|
|
60
|
+
@media (max-width: 768px) {
|
|
60
61
|
.header_l2 {
|
|
61
62
|
padding: 0;
|
|
62
63
|
flex-wrap: wrap;
|
|
@@ -78,12 +79,14 @@ header:not(.has-brand) > .header_l2 {
|
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
.header_l2_group-nav_overflow {
|
|
82
|
+
height: 48px;
|
|
81
83
|
margin-right: var(--dx-g-spacing-sm);
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
.header_l2_group-title {
|
|
87
|
+
height: var(--dx-g-doc-header-main-nav-height);
|
|
85
88
|
margin-right: 0;
|
|
86
|
-
padding: var(--dx-g-spacing-smd) var(--dx-g-header-padding-horizontal);
|
|
89
|
+
padding: var(--dx-g-spacing-smd) var(--dx-g-global-header-padding-horizontal);
|
|
87
90
|
}
|
|
88
91
|
|
|
89
92
|
.header_l2_group-title .header_lang-dropdown {
|
|
@@ -2,12 +2,19 @@
|
|
|
2
2
|
@import "dxHelpers/text";
|
|
3
3
|
@import "docHelpers/status";
|
|
4
4
|
|
|
5
|
+
:host {
|
|
6
|
+
--doc-c-phase-top: calc(var(--dx-g-global-header-height) + var(--dx-g-doc-header-height));
|
|
7
|
+
|
|
8
|
+
position: sticky;
|
|
9
|
+
top: var(--doc-c-phase-top);
|
|
10
|
+
}
|
|
11
|
+
|
|
5
12
|
.doc-phase-container {
|
|
6
13
|
display: flex;
|
|
7
14
|
flex-direction: column;
|
|
8
15
|
align-items: center;
|
|
9
|
-
padding-left: var(--dx-g-header-padding-horizontal);
|
|
10
|
-
padding-right: var(--dx-g-header-padding-horizontal);
|
|
16
|
+
padding-left: var(--dx-g-global-header-padding-horizontal);
|
|
17
|
+
padding-right: var(--dx-g-global-header-padding-horizontal);
|
|
11
18
|
width: 100%;
|
|
12
19
|
border: none;
|
|
13
20
|
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
doc-phase::part(container) {
|
|
2
|
-
margin-bottom: var(--dx-g-spacing-sm);
|
|
3
|
-
padding-left: var(--dx-g-spacing-mlg);
|
|
4
|
-
padding-right: var(--dx-g-spacing-lg);
|
|
5
|
-
width: auto;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.doc-phase-wrapper {
|
|
9
|
-
position: sticky;
|
|
10
|
-
top: 0;
|
|
11
|
-
z-index: 4;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@media screen and (max-width: 800px) {
|
|
15
|
-
doc-phase::part(container) {
|
|
16
|
-
margin-bottom: 0;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@media screen and (min-width: 1024px) and (max-width: 1496px) {
|
|
21
|
-
doc-phase::part(container) {
|
|
22
|
-
padding-right: var(--dx-g-spacing-3xl);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@media screen and (min-width: 1496px) {
|
|
27
|
-
doc-phase::part(container) {
|
|
28
|
-
margin-right: calc(
|
|
29
|
-
var(--dx-g-page-padding-horizontal) - var(--dx-g-spacing-lg)
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@media screen and (max-width: 768px) {
|
|
35
|
-
/* We are giving top value because there is one more sticky item(lnb) with height 40px */
|
|
36
|
-
.doc-phase-wrapper {
|
|
37
|
-
top: 40px;
|
|
38
|
-
}
|
|
39
|
-
}
|