@salesforcedevs/dw-components 1.3.157-canary.3 → 1.3.157-canary.4

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.157-canary.3",
3
+ "version": "1.3.157-canary.4",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -21,6 +21,10 @@ export type StepDatum = {
21
21
  body: string;
22
22
  };
23
23
  participatingCountryCodes?: string[];
24
+ salesforceEmployeeAlertInfo?: {
25
+ title: string;
26
+ body: string;
27
+ };
24
28
  };
25
29
  headerData?: {
26
30
  backgroundColor?: string;
@@ -132,6 +132,13 @@
132
132
  variant="accented"
133
133
  ></dx-alert>
134
134
  </div>
135
+ <div class="form-row" if:true={isSalesforceEmployee}>
136
+ <dx-alert
137
+ alert-info={salesforceEmployeeAlertInfo}
138
+ type="danger"
139
+ variant="accented"
140
+ ></dx-alert>
141
+ </div>
135
142
  <div class="form-row" if:true={showSubmitFailureAlert}>
136
143
  <dx-alert
137
144
  alert-info={formSubmitFailureAlertInfo}
@@ -118,6 +118,10 @@ export default class J2sForm extends LightningElementWithState<J2sFormState> {
118
118
  return this.formMetadata.notAvailableAlertInfo;
119
119
  }
120
120
 
121
+ get salesforceEmployeeAlertInfo() {
122
+ return this.formMetadata.salesforceEmployeeAlertInfo;
123
+ }
124
+
121
125
  get formSubmitFailureAlertInfo() {
122
126
  return this.formMetadata.formSubmitFailureAlertInfo;
123
127
  }