@salesforcedevs/dw-components 0.66.4 → 0.67.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": "0.66.4",
3
+ "version": "0.67.0",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -23,5 +23,5 @@
23
23
  "@types/lodash.orderby": "^4.6.7",
24
24
  "@types/lodash.uniqby": "^4.7.7"
25
25
  },
26
- "gitHead": "14d718be69bd8599b9ce3520a65dc8f0cb5f17de"
26
+ "gitHead": "187d8abcbea7dd2ec9f0352c3563662c44abbde8"
27
27
  }
@@ -48,6 +48,10 @@ form > .full-name-field {
48
48
  width: calc(50% - var(--dx-g-spacing-lg) / 2);
49
49
  }
50
50
 
51
+ .legal-terms {
52
+ margin-top: var(--dx-g-spacing-lg);
53
+ }
54
+
51
55
  .submit-button {
52
56
  width: 100%;
53
57
  }
@@ -56,6 +60,7 @@ form > .full-name-field {
56
60
  background-color: var(--dx-g-blue-vibrant-40);
57
61
  border-color: var(--dx-g-blue-vibrant-40);
58
62
  }
63
+
59
64
  @media screen and (min-width: 641px) {
60
65
  form > .full-name-field:first-of-type {
61
66
  margin-right: var(--dx-g-spacing-lg);
@@ -67,6 +67,7 @@
67
67
  missing-error-message="Create a user name"
68
68
  error-message={usernameError}
69
69
  format-error-message='Enter a unique username. Your username must be in the form of an email address, but does not have to be a real email address. We suggest "name@yourcompany." It must be unique and not associated with another Salesforce login credential.'
70
+ description-markup='Your username must be in the form of an email address (it does not have to be real). It must be unique and cannot be associated with another Salesforce login credential. <a href="/help" target="_blank">Read more about username recommendations.</a>'
70
71
  label="Username"
71
72
  name="username"
72
73
  placeholder="Ex. name@yourcompany.com"
@@ -75,16 +76,33 @@
75
76
  validity-on-blur={checkUsernameValidity}
76
77
  onchange={handleUsernameChange}
77
78
  ></dx-input>
78
- <dx-checkbox if:true={showMarketingField} name="opt_in" value="explicit">
79
+ <dx-checkbox
80
+ if:true={showMarketingField}
81
+ name="opt_in"
82
+ value="explicit"
83
+ >
79
84
  <span lwc:dom="manual" class="marketing-terms"></span>
80
85
  </dx-checkbox>
81
- <dx-checkbox if:true={showLegalCheckbox} required name="eula" value="accepted">
86
+ <dx-checkbox
87
+ if:true={showLegalCheckbox}
88
+ required
89
+ name="eula"
90
+ value="accepted"
91
+ >
82
92
  <span lwc:dom="manual" class="legal-terms"></span>
83
- <span if:true={learnMore} lwc:dom="manual" class="learn-more"></span>
93
+ <span
94
+ if:true={learnMore}
95
+ lwc:dom="manual"
96
+ class="learn-more"
97
+ ></span>
84
98
  </dx-checkbox>
85
99
  <template if:false={showLegalCheckbox}>
86
100
  <span lwc:dom="manual" class="legal-terms"></span>
87
- <span if:true={learnMore} lwc:dom="manual" class="learn-more"></span>
101
+ <span
102
+ if:true={learnMore}
103
+ lwc:dom="manual"
104
+ class="learn-more"
105
+ ></span>
88
106
  </template>
89
107
  <dx-button
90
108
  class="submit-button"