@salesforcedevs/dx-components 0.45.0 → 0.46.2

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/dx-components",
3
- "version": "0.45.0",
3
+ "version": "0.46.2",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -28,5 +28,5 @@
28
28
  "@types/lodash.get": "^4.4.6",
29
29
  "@types/vimeo__player": "^2.16.2"
30
30
  },
31
- "gitHead": "6e38daa55ef9ef7e43b71be5c08b5be1aab534b7"
31
+ "gitHead": "9396146b0d02e24bfa200721582bf4a8a0e97f7f"
32
32
  }
@@ -116,7 +116,8 @@
116
116
  border: 1px solid var(--dx-c-button-primary-color);
117
117
  }
118
118
 
119
- .button.variant_primary:hover {
119
+ .button.variant_primary:hover,
120
+ :host([aria-expanded="true"]) .button.variant_primary {
120
121
  background: var(--dx-c-button-primary-color-hover);
121
122
  border-color: var(--dx-c-button-primary-color-hover);
122
123
  }
@@ -129,7 +130,8 @@
129
130
  border: 1px solid var(--dx-c-button-primary-color);
130
131
  }
131
132
 
132
- .button.variant_secondary:hover {
133
+ .button.variant_secondary:hover,
134
+ :host([aria-expanded="true"]) .button.variant_secondary {
133
135
  background: var(--dx-c-button-secondary-color-hover);
134
136
  }
135
137
 
@@ -146,7 +148,8 @@
146
148
  color: white;
147
149
  }
148
150
 
149
- .button.variant_tertiary:hover {
151
+ .button.variant_tertiary:hover,
152
+ :host([aria-expanded="true"]) .button.variant_tertiary {
150
153
  background: var(--dx-c-button-secondary-color-hover);
151
154
  border-color: var(--dx-c-button-secondary-color-hover);
152
155
  }
@@ -161,7 +164,9 @@
161
164
  }
162
165
 
163
166
  .button.variant_inline:hover,
164
- .button.variant_inline-inherit:hover {
167
+ .button.variant_inline-inherit:hover,
168
+ :host([aria-expanded="true"])
169
+ :is(.button.variant_inline, .button.variant_inline-inherit) {
165
170
  color: var(--dx-c-button-inline-color-hover);
166
171
  }
167
172
 
@@ -176,7 +181,8 @@
176
181
  border: 1px solid var(--dx-c-button-custom-border);
177
182
  }
178
183
 
179
- .button.variant_custom:hover {
184
+ .button.variant_custom:hover,
185
+ :host([aria-expanded="true"]) .button.variant_custom {
180
186
  color: var(--dx-c-button-custom-color-hover);
181
187
  background: var(--dx-c-button-custom-background-hover);
182
188
  border-color: var(--dx-c-button-custom-border-hover);
@@ -11,8 +11,9 @@ import {
11
11
  } from "./links";
12
12
  import { track } from "dx/instrumentation";
13
13
 
14
+ const PATH = "/newsletter";
14
15
  const createNewsletterSignupHref = (email: string): string =>
15
- `/newsletter?subscriberEmail=${email}`;
16
+ `${PATH}?subscriberEmail=${email}`;
16
17
 
17
18
  const ANALYTICS_INFO = {
18
19
  itemTitle: "Newsletter Sign Up Footer",
@@ -95,7 +96,7 @@ export default class Footer extends LightningElement {
95
96
  track(e.currentTarget, "custEv_ctaButtonClick", {
96
97
  ...ANALYTICS_INFO,
97
98
  clickText: this.inputSubmitLabel,
98
- clickUrl: href
99
+ clickUrl: PATH
99
100
  });
100
101
 
101
102
  window.location.assign(href);
@@ -145,7 +145,7 @@ export default class Sidebar extends SidebarBase {
145
145
  }
146
146
 
147
147
  renderedCallback() {
148
- super.renderedCallback()
148
+ super.renderedCallback();
149
149
  this.initializeSearchScrollPosition();
150
150
  }
151
151
 
@@ -160,7 +160,7 @@ export default class Sidebar extends SidebarBase {
160
160
  }
161
161
 
162
162
  disconnectedCallback() {
163
- super.disconnectedCallback()
163
+ super.disconnectedCallback();
164
164
  this.matchMedia.removeEventListener("change", this.onMediaChange);
165
165
  }
166
166
 
@@ -49,7 +49,10 @@
49
49
  ></dx-input>
50
50
  </div>
51
51
  </div>
52
- <div class="sidebar-content sidebar-content-tree" if:true={anyResultMatch}>
52
+ <div
53
+ class="sidebar-content sidebar-content-tree"
54
+ if:true={anyResultMatch}
55
+ >
53
56
  <dx-tree
54
57
  for:each={filteredTrees}
55
58
  for:item="tree"
@@ -86,7 +86,7 @@ export default class Sidebar extends SidebarBase {
86
86
  }
87
87
 
88
88
  disconnectedCallback() {
89
- super.disconnectedCallback()
89
+ super.disconnectedCallback();
90
90
  this.matchMedia.removeEventListener("change", this.onMediaChange);
91
91
  }
92
92