@salesforcedevs/dw-components 1.3.397-canary.1 → 1.3.397-canary.3

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.397-canary.1",
3
+ "version": "1.3.397-canary.3",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -32,9 +32,9 @@ span {
32
32
  }
33
33
 
34
34
  dx-checkbox,
35
- .privacy-notice,
36
- span.privacy-terms,
37
- span.marketing-terms {
35
+ .privacy-notice:not(:empty),
36
+ span.privacy-terms:not(:empty),
37
+ span.marketing-terms:not(:empty) {
38
38
  width: 100%;
39
39
  margin-bottom: var(--dx-g-spacing-lg);
40
40
  }
@@ -52,6 +52,7 @@ span a:hover {
52
52
  dx-input.username-field {
53
53
  height: initial;
54
54
  min-height: 105px;
55
+ margin-bottom: var(--dx-g-spacing-lg);
55
56
  }
56
57
 
57
58
  form > .full-name-field {
@@ -147,7 +147,7 @@ export default class DeSignupForm extends LightningElement {
147
147
  ) {
148
148
  trackGtm(target!, "custEv_formCompletion", {
149
149
  converting_page: `SFDC:us:signup:${convertingPage}`,
150
- converting_page_url: `https://developer.salesforce.com/signup/${convertingPage}`,
150
+ converting_page_url: `https://developer.salesforce.com/developer-legacy/signup/${convertingPage}`,
151
151
  form_country: formData.user.country,
152
152
  form_name: "Dev Edition Signup",
153
153
  form_primary_product_interest: "Developer Edition",
@@ -196,7 +196,7 @@ export default class DeSignupForm extends LightningElement {
196
196
  new_registration: true
197
197
  });
198
198
  this.trackFormCompletion(event.target!, formData, "success");
199
- window.location.href = "/signup/success";
199
+ window.location.href = "/developer-legacy/signup/success";
200
200
  })
201
201
  .catch((error) => {
202
202
  if (error.message === ErrorCode.GENERIC && didSubmitTimeout) {
@@ -208,7 +208,8 @@ export default class DeSignupForm extends LightningElement {
208
208
  // If the timeout time has passed at the point of error, and the error code is simply "GENERIC",
209
209
  // we do not know whether the org will ultimately be created (and we have no current way of confirming),
210
210
  // so we navigate the user to an interim page that tells them to watch their email.
211
- window.location.href = "/signup/account-verification";
211
+ window.location.href =
212
+ "/developer-legacy/signup/account-verification";
212
213
  } else {
213
214
  this.setSubmitButtonDisabled(false);
214
215
  this.resetRecaptcha();