@salesforcedevs/dw-components 1.3.157-canary.5 → 1.3.157-canary.6
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
|
@@ -61,6 +61,11 @@ dx-card-step.final-card-with-action::part(footer-container) {
|
|
|
61
61
|
.final-email-address {
|
|
62
62
|
font-size: var(--dx-g-text-sm);
|
|
63
63
|
}
|
|
64
|
+
|
|
65
|
+
[slot="secondary-action-section"] {
|
|
66
|
+
text-align: center;
|
|
67
|
+
padding-bottom: 20px;
|
|
68
|
+
}
|
|
64
69
|
}
|
|
65
70
|
|
|
66
71
|
@media screen and (max-width: 320px) {
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
required
|
|
155
155
|
class="terms"
|
|
156
156
|
onchange={handleFormFieldChange}
|
|
157
|
-
disabled={
|
|
157
|
+
disabled={disableCheckboxes}
|
|
158
158
|
>
|
|
159
159
|
<span lwc:dom="manual" class="marketing-terms"></span>
|
|
160
160
|
</dx-checkbox>
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
required
|
|
167
167
|
class="terms"
|
|
168
168
|
onchange={handleFormFieldChange}
|
|
169
|
-
disabled={
|
|
169
|
+
disabled={disableCheckboxes}
|
|
170
170
|
>
|
|
171
171
|
<span lwc:dom="manual" class="j2s-terms"></span>
|
|
172
172
|
</dx-checkbox>
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
required
|
|
180
180
|
class="terms"
|
|
181
181
|
onchange={handleFormFieldChange}
|
|
182
|
-
disabled={
|
|
182
|
+
disabled={disableCheckboxes}
|
|
183
183
|
>
|
|
184
184
|
<span lwc:dom="manual" class="legal-terms"></span>
|
|
185
185
|
<template if:true={state.learnMore}>
|
|
@@ -104,6 +104,10 @@ export default class J2sForm extends LightningElementWithState<J2sFormState> {
|
|
|
104
104
|
return !this.isParticipatingCountry(this.state.MailingCountry);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
+
get disableCheckboxes() {
|
|
108
|
+
return this.isSalesforceEmployee || this.isNotParticipatingCountry;
|
|
109
|
+
}
|
|
110
|
+
|
|
107
111
|
get isCountryWithReferralInput() {
|
|
108
112
|
return this.countriesWithReferralInput.includes(
|
|
109
113
|
this.state.MailingCountry
|