@salesforcedevs/dw-components 1.3.348 → 1.3.359

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.3.348",
3
+ "version": "1.3.359",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -26,5 +26,5 @@
26
26
  "@types/setimmediate": "1.0.4",
27
27
  "setimmediate": "1.0.5"
28
28
  },
29
- "gitHead": "026b9b66a33e64478850dba27324a211fc606bb0"
29
+ "gitHead": "fee5f7da5e1d4e1bef384c743d5da8f7b4c7632f"
30
30
  }
@@ -102,6 +102,7 @@ dx-section {
102
102
 
103
103
  .featured-demo {
104
104
  --dx-c-featured-content-header-background-color: unset;
105
+ --dx-c-featured-content-header-intense-background-color: unset;
105
106
  --dx-c-featured-content-header-padding-horizontal: unset;
106
107
  }
107
108
 
@@ -119,11 +119,11 @@ export default class DeSignupForm extends LightningElement {
119
119
  );
120
120
  }
121
121
 
122
- trackFormCompletion(target: EventTarget, formData: SignupForm) {
122
+ trackFormCompletion(target: EventTarget, formData: SignupForm, convertingPage = "success") {
123
123
  trackGtm(target!, "custEv_formCompletion", {
124
- converting_page: "SFDC:us:signup:success",
124
+ converting_page: `SFDC:us:signup:${convertingPage}`,
125
125
  converting_page_url:
126
- "https://developer.salesforce.com/signup/success",
126
+ `https://developer.salesforce.com/signup/${convertingPage}`,
127
127
  form_country: formData.user.country,
128
128
  form_name: "Dev Edition Signup",
129
129
  form_primary_product_interest: "Developer Edition",
@@ -171,12 +171,12 @@ export default class DeSignupForm extends LightningElement {
171
171
  authentication_type: "dev edition",
172
172
  new_registration: true
173
173
  });
174
- this.trackFormCompletion(event.target!, formData);
174
+ this.trackFormCompletion(event.target!, formData, "success");
175
175
  window.location.href = "/signup/success";
176
176
  })
177
177
  .catch((error) => {
178
178
  if (error.message === ErrorCode.GENERIC && didSubmitTimeout) {
179
- this.trackFormCompletion(event.target!, formData);
179
+ this.trackFormCompletion(event.target!, formData, "account-verification");
180
180
  // If the timeout time has passed at the point of error, and the error code is simply "GENERIC",
181
181
  // we do not know whether the org will ultimately be created (and we have no current way of confirming),
182
182
  // so we navigate the user to an interim page that tells them to watch their email.