@salesforcedevs/dw-components 1.2.5-canary.2 → 1.2.5-canary.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dw-components",
3
- "version": "1.2.5-canary.2",
3
+ "version": "1.2.5-canary.4",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -77,7 +77,7 @@ ul {
77
77
 
78
78
  .login-link {
79
79
  color: var(--dx-g-blue-vibrant-20);
80
- display: block;
80
+ display: inline-block;
81
81
  }
82
82
 
83
83
  .login-link-label {
@@ -91,13 +91,13 @@ ul {
91
91
  display: inline-block;
92
92
  height: 16px;
93
93
  margin-left: 6px;
94
- vertical-align: middle;
94
+ vertical-align: sub;
95
95
  }
96
96
 
97
97
  .login-link-icon {
98
98
  display: inline-block;
99
99
  margin-left: 6px;
100
- vertical-align: baseline;
100
+ vertical-align: text-bottom;
101
101
  }
102
102
 
103
103
  .login-link-blurb {
@@ -47,8 +47,9 @@ export default class AvatarButton extends LightningElement {
47
47
  private userInfo: UserInfo = {};
48
48
 
49
49
  private handleComponentLogoutClick = (event: Event) => {
50
+ event.preventDefault();
50
51
  this.trackLogoutClick();
51
- (this.template.querySelector('dx-tbid-avatar-button') as unknown as TbidAvatarButton).logout(event);
52
+ (this.template.querySelector('dx-tbid-avatar-button') as unknown as TbidAvatarButton).logout();
52
53
  };
53
54
 
54
55
  private handleComponentLoginClick = (event: Event) => {