@salesforcedevs/dx-components 0.59.0-avatar-button → 0.59.0-avatar-button-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/package.json
CHANGED
|
@@ -19,7 +19,9 @@
|
|
|
19
19
|
onstatechange={handleStateChange}
|
|
20
20
|
></dx-header-search>
|
|
21
21
|
</div>
|
|
22
|
-
<
|
|
22
|
+
<div if:true={showTbidLogin} class="header-tbid-login">
|
|
23
|
+
<dx-avatar-button></dx-avatar-button>
|
|
24
|
+
</div>
|
|
23
25
|
<div if:true={showSignup} class="header-login-signup">
|
|
24
26
|
<dx-button
|
|
25
27
|
aria-label="Sign Up For Salesforce Developer Edition"
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { HeaderBase } from "dxBaseElements/headerBase";
|
|
2
2
|
|
|
3
3
|
export default class Header extends HeaderBase {
|
|
4
|
+
private get showTbidLogin(): boolean {
|
|
5
|
+
return this.showSignup;
|
|
6
|
+
}
|
|
7
|
+
|
|
4
8
|
private get showSignup(): boolean {
|
|
5
9
|
return this.signupLink
|
|
6
10
|
? (this.mobile && !this.isSearchOpen) || !this.mobile
|
|
@@ -109,12 +109,14 @@ header.state-show-mobile-nav .header_l2_group-nav_overflow {
|
|
|
109
109
|
margin-left: var(--dx-g-spacing-sm);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.header-login-signup
|
|
112
|
+
.header-login-signup,
|
|
113
|
+
.header-tbid-login {
|
|
113
114
|
display: flex;
|
|
114
115
|
align-items: center;
|
|
115
116
|
}
|
|
116
117
|
|
|
117
|
-
.header-login-signup dx-button
|
|
118
|
+
.header-login-signup dx-button,
|
|
119
|
+
.header-tbid-login dx-avatar-button {
|
|
118
120
|
margin-left: var(--dx-g-spacing-smd);
|
|
119
121
|
}
|
|
120
122
|
|