@salesforcedevs/dw-components 1.3.120-alpha.0 → 1.3.124-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/dw-components",
3
- "version": "1.3.120-alpha.0",
3
+ "version": "1.3.124-alpha.0",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -23,6 +23,5 @@
23
23
  "@types/lodash.uniqby": "^4.7.7",
24
24
  "@types/setimmediate": "^1.0.2",
25
25
  "setimmediate": "^1.0.5"
26
- },
27
- "gitHead": "e10d764cbe3b3e9956eb47572b4dd3b4bed760e3"
26
+ }
28
27
  }
@@ -25,11 +25,18 @@ export default class DeSignupForm extends LightningElement {
25
25
  set roles(value) {
26
26
  this._roles = toJson(value);
27
27
  }
28
- @api countries: string = "";
28
+ @api
29
+ get countries() {
30
+ return this._countries;
31
+ }
32
+ set countries(value) {
33
+ this._countries = value;
34
+ }
29
35
  @api drmDomain: string = "";
30
36
  @api legalText: string = "";
31
37
 
32
38
  private country: Country = null;
39
+ private _countries: string = "";
33
40
  private disableSubmit = false;
34
41
  private username = "";
35
42
  private _roles: Array<SelectOption>;
@@ -216,7 +223,7 @@ export default class DeSignupForm extends LightningElement {
216
223
  if (!this.drmDomain) {
217
224
  return;
218
225
  }
219
- const errorMsg = "Error while getting county list";
226
+ const errorMsg = "Error while getting country list";
220
227
  try {
221
228
  const res = await fetch(
222
229
  `${this.drmDomain}/utilities/services/apexrest/countries`
@@ -227,8 +234,7 @@ export default class DeSignupForm extends LightningElement {
227
234
  }
228
235
 
229
236
  const data = await res.json();
230
- // eslint-disable-next-line @lwc/lwc/no-api-reassignments
231
- this.countries = JSON.stringify(data);
237
+ this._countries = JSON.stringify(data);
232
238
  } catch (error) {
233
239
  console.error(error);
234
240
  }
@@ -23,7 +23,7 @@ dx-section.events-action-bar::part(container) {
23
23
 
24
24
  dx-section.upcoming-events::part(container)::before {
25
25
  content: "";
26
- background-image: url(/assets/images/events-cloud1.svg);
26
+ background-image: url(https://a.sfdcstatic.com/developer-website/images/events-cloud1.svg);
27
27
  width: 146px;
28
28
  height: 106px;
29
29
  position: absolute;
@@ -34,7 +34,7 @@ dx-section.upcoming-events::part(container)::before {
34
34
 
35
35
  dx-section.upcoming-events::part(container)::after {
36
36
  content: "";
37
- background-image: url(/assets/images/events-cloud2.svg);
37
+ background-image: url(https://a.sfdcstatic.com/developer-website/images/events-cloud2.svg);
38
38
  width: 152px;
39
39
  height: 111px;
40
40
  position: absolute;
@@ -45,7 +45,7 @@ dx-section.upcoming-events::part(container)::after {
45
45
 
46
46
  dx-section.past-events::part(container)::before {
47
47
  content: "";
48
- background-image: url(/assets/images/events-gradient-elipse.svg);
48
+ background-image: url(https://a.sfdcstatic.com/developer-website/images/events-gradient-elipse.svg);
49
49
  width: 2991px;
50
50
  height: 839px;
51
51
  position: absolute;
@@ -56,7 +56,7 @@ dx-section.past-events::part(container)::before {
56
56
 
57
57
  dx-section:not(:nth-child(2)).past-events::part(container)::after {
58
58
  content: "";
59
- background-image: url(/assets/images/events-cloud3.svg);
59
+ background-image: url(https://a.sfdcstatic.com/developer-website/images/events-cloud3.svg);
60
60
  width: 655px;
61
61
  height: 270px;
62
62
  position: absolute;
@@ -14,7 +14,7 @@
14
14
  <div class="info-container">
15
15
  <a href="/podcast" class="info-link">
16
16
  <img
17
- src="/assets/images/dsc-home-podcast-art.svg"
17
+ src="https://a.sfdcstatic.com/developer-website/images/dsc-home-podcast-art.svg"
18
18
  loading="lazy"
19
19
  alt="Developer Podcast"
20
20
  style="width: 100%"
@@ -24,7 +24,7 @@
24
24
  </dx-button>
25
25
  <img
26
26
  class="slack-success_cody"
27
- src="/assets/images/cody-cloud-slack.svg"
27
+ src="https://a.sfdcstatic.com/developer-website/images/cody-cloud-slack.svg"
28
28
  alt="Cody the Bear on a laptop below a Slack icon"
29
29
  />
30
30
  </div>