@salesforcedevs/dx-components 1.3.229-dh5-alpha → 1.3.229-dh7-alpha
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
|
@@ -26,9 +26,6 @@
|
|
|
26
26
|
<div class="header padding-horizontal" if:false={mobile}>
|
|
27
27
|
<h2 class="dx-text-display-6 header-title">{header}</h2>
|
|
28
28
|
</div>
|
|
29
|
-
<!-- <div class="mobile-header padding-horizontal" if:true={mobile}>
|
|
30
|
-
<h2 class="dx-text-display-6">{header}</h2>
|
|
31
|
-
</div> -->
|
|
32
29
|
<div class="search padding-horizontal">
|
|
33
30
|
<dx-sidebar-search
|
|
34
31
|
onchange={onSearchChange}
|
|
@@ -41,7 +38,7 @@
|
|
|
41
38
|
</div>
|
|
42
39
|
<slot name="version-picker"></slot>
|
|
43
40
|
<h2
|
|
44
|
-
class="results-heading dx-text-body-3"
|
|
41
|
+
class="results-heading dx-text-body-3 padding-horizontal"
|
|
45
42
|
if:true={showResultsHeading}
|
|
46
43
|
>
|
|
47
44
|
Results
|
|
@@ -28,9 +28,6 @@
|
|
|
28
28
|
<div class="header padding-horizontal" if:false={mobile}>
|
|
29
29
|
<h2 class="dx-text-display-6 header-title">{header}</h2>
|
|
30
30
|
</div>
|
|
31
|
-
<!-- <div class="mobile-header padding-horizontal" if:true={mobile}>
|
|
32
|
-
<h2 class="dx-text-display-6">{header}</h2>
|
|
33
|
-
</div> -->
|
|
34
31
|
<div class="search padding-horizontal">
|
|
35
32
|
<dx-input
|
|
36
33
|
class="search-box"
|
|
@@ -80,7 +80,6 @@ export abstract class HeaderBase extends LightningElement {
|
|
|
80
80
|
private showNavScrollShadow: boolean = false;
|
|
81
81
|
protected isSearchOpen: boolean = false;
|
|
82
82
|
private _showBanner?: boolean = false;
|
|
83
|
-
protected shouldRender: boolean = false;
|
|
84
83
|
|
|
85
84
|
get url() {
|
|
86
85
|
return this.href ? new URL(this.href!) : window.location;
|
|
@@ -196,11 +195,9 @@ export abstract class HeaderBase extends LightningElement {
|
|
|
196
195
|
private onMediaChange = (e: MediaQueryListEvent | MediaQueryList) => {
|
|
197
196
|
if (!e.matches) {
|
|
198
197
|
this.mobile = false;
|
|
199
|
-
this.shouldRender = false;
|
|
200
198
|
this.closeMobileNavMenu();
|
|
201
199
|
} else {
|
|
202
200
|
this.mobile = true;
|
|
203
|
-
this.shouldRender = true;
|
|
204
201
|
}
|
|
205
202
|
};
|
|
206
203
|
|