@salesforcedevs/dx-components 0.64.2 → 0.64.3-alpha.0

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.64.2",
3
+ "version": "0.64.3-alpha.0",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -3,6 +3,8 @@ import cx from "classnames";
3
3
  import { toDxColor } from "dxUtils/css";
4
4
  import { track } from "dxUtils/analytics";
5
5
 
6
+ export const ANALYTICS_EVENT_NAME = "custEv_ctaLinkClick";
7
+
6
8
  export default class CardCallout extends LightningElement {
7
9
  @api backgroundColor: string = "indigo-vibrant-40";
8
10
  @api color: string = "white";
@@ -28,10 +30,12 @@ export default class CardCallout extends LightningElement {
28
30
  }
29
31
 
30
32
  private sendGtm(e: PointerEvent) {
31
- track(e.currentTarget, "custEv_ctaLinkClick", {
32
- content_type: "callout",
33
- item_title: this.title,
34
- item_location: this.href
33
+ track(e.currentTarget, ANALYTICS_EVENT_NAME, {
34
+ clickURL: this.href,
35
+ itemTitle: this.title,
36
+ clickText: this.label,
37
+ elementType: "card callout",
38
+ destinationType: "internal"
35
39
  });
36
40
  }
37
41
  }
@@ -35,6 +35,10 @@ input {
35
35
  padding-left: 12px;
36
36
  }
37
37
 
38
+ .checkbox-label::first-letter {
39
+ text-transform: uppercase;
40
+ }
41
+
38
42
  .checkbox-error {
39
43
  opacity: 0;
40
44
  margin-top: var(--dx-g-spacing-xs);