@salesforcedevs/dx-components 1.3.155 → 1.3.156

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": "1.3.155",
3
+ "version": "1.3.156",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -41,5 +41,5 @@
41
41
  "eventsourcemock": "^2.0.0",
42
42
  "luxon": "^3.1.0"
43
43
  },
44
- "gitHead": "49e14e97f56c7c2978f7dc7e8609ec921344e939"
44
+ "gitHead": "4b09e5ad067a5cd99859ffafc80da52023f08c3f"
45
45
  }
@@ -29,13 +29,7 @@
29
29
  <div class="recommended-container" if:true={recommended}>
30
30
  <span class="recommended-label">Recommended</span>
31
31
  </div>
32
- <div
33
- class={className}
34
- role={ariaRole}
35
- href={href}
36
- target={target}
37
- onclick={handleClick}
38
- >
32
+ <div class={className} href={href} target={target} onclick={handleClick}>
39
33
  <template if:true={topText}>
40
34
  <span class="top-text dx-text-body-4">{topText}</span>
41
35
  <dx-hr spacing="md"></dx-hr>
@@ -70,10 +70,6 @@ export default class CardTrial extends LightningElement {
70
70
  return !!(this.buttonOneCta || this.buttonTwoCta);
71
71
  }
72
72
 
73
- get ariaRole() {
74
- return this.hasButtons ? "menu" : "link";
75
- }
76
-
77
73
  get buttonOneTarget() {
78
74
  return this.isExternalURL(this.buttonOneHref) ? "_blank" : null;
79
75
  }