@salesforce/ui-bundle-template-app-react-sample-b2e 1.119.2 → 1.119.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/dist/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.119.4](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.119.3...v1.119.4) (2026-03-31)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * replace undefined WEBAPPLICATIONS_DIR with UIBUNDLES_DIR in org-setup ([#398](https://github.com/salesforce-experience-platform-emu/webapps/issues/398)) ([615d499](https://github.com/salesforce-experience-platform-emu/webapps/commit/615d49976fd4b92a840d25db79591e2818938a92))
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.119.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.119.2...v1.119.3) (2026-03-31)
18
+
19
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
20
+
21
+
22
+
23
+
24
+
6
25
  ## [1.119.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.119.1...v1.119.2) (2026-03-31)
7
26
 
8
27
  **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
@@ -103,7 +103,7 @@ private class MaintenanceRequestTriggerHandler_Test {
103
103
  Maintenance_Request__c request = new Maintenance_Request__c(
104
104
  Type__c = 'Electrical',
105
105
  Description__c = 'Outlet not working',
106
- Priority__c = 'High (Same Day)'
106
+ Priority__c = 'High'
107
107
  );
108
108
  insert request;
109
109
  Test.stopTest();
@@ -129,7 +129,7 @@ private class MaintenanceRequestTriggerHandler_Test {
129
129
  Maintenance_Request__c request = new Maintenance_Request__c(
130
130
  Type__c = 'HVAC',
131
131
  Description__c = 'AC not cooling',
132
- Priority__c = 'High (Same Day)'
132
+ Priority__c = 'High'
133
133
  );
134
134
  insert request;
135
135
  Test.stopTest();
@@ -203,10 +203,10 @@ private class MaintenanceRequestTriggerHandler_Test {
203
203
  static void testBulkRequestAssignment() {
204
204
  Test.startTest();
205
205
  List<Maintenance_Request__c> requests = new List<Maintenance_Request__c>{
206
- new Maintenance_Request__c(Type__c = 'Plumbing', Description__c = 'Leak 1', Priority__c = 'High (Same Day)'),
206
+ new Maintenance_Request__c(Type__c = 'Plumbing', Description__c = 'Leak 1', Priority__c = 'High'),
207
207
  new Maintenance_Request__c(Type__c = 'Electrical', Description__c = 'Issue 1', Priority__c = 'Standard'),
208
208
  new Maintenance_Request__c(Type__c = 'Plumbing', Description__c = 'Leak 2', Priority__c = 'Standard'),
209
- new Maintenance_Request__c(Type__c = 'HVAC', Description__c = 'AC Issue', Priority__c = 'High (Same Day)'),
209
+ new Maintenance_Request__c(Type__c = 'HVAC', Description__c = 'AC Issue', Priority__c = 'High'),
210
210
  new Maintenance_Request__c(Type__c = 'Appliance', Description__c = 'Fridge Issue', Priority__c = 'Standard')
211
211
  };
212
212
  insert requests;
@@ -261,7 +261,7 @@ private class MaintenanceRequestTriggerHandler_Test {
261
261
  Maintenance_Request__c request = new Maintenance_Request__c(
262
262
  Type__c = 'Plumbing',
263
263
  Description__c = 'Emergency leak',
264
- Priority__c = 'High (Same Day)'
264
+ Priority__c = 'High'
265
265
  );
266
266
  insert request;
267
267
  Test.stopTest();
@@ -26,7 +26,7 @@
26
26
  "User__c": "@TenantRef2",
27
27
  "Description__c": "Main bedroom electrical outlet stopped working. No power to the entire wall. Possible circuit breaker issue.",
28
28
  "Type__c": "Electrical",
29
- "Priority__c": "High (Same Day)",
29
+ "Priority__c": "High",
30
30
  "Status__c": "Resolved",
31
31
  "Est_Cost__c": 200.0,
32
32
  "Actual_Cost__c": 185.0,
@@ -43,7 +43,7 @@
43
43
  "User__c": "@TenantRef3",
44
44
  "Description__c": "Air conditioning unit is making loud grinding noises when running. May need bearing replacement or refrigerant check.",
45
45
  "Type__c": "HVAC",
46
- "Priority__c": "High (Same Day)",
46
+ "Priority__c": "High",
47
47
  "Status__c": "In Progress",
48
48
  "Est_Cost__c": 300.0,
49
49
  "Actual_Cost__c": null,
@@ -162,7 +162,7 @@
162
162
  "User__c": "@TenantRef15",
163
163
  "Description__c": "Post-tenant move-out deep cleaning including carpets, windows, appliances, and all surfaces.",
164
164
  "Type__c": "Appliance",
165
- "Priority__c": "High (Same Day)",
165
+ "Priority__c": "High",
166
166
  "Status__c": "Resolved",
167
167
  "Est_Cost__c": 450.0,
168
168
  "Actual_Cost__c": 425.0,
@@ -179,7 +179,7 @@
179
179
  "User__c": "@TenantRef8",
180
180
  "Description__c": "Annual roof inspection revealed loose tiles that need securing and replacement before winter season.",
181
181
  "Type__c": "Plumbing",
182
- "Priority__c": "High (Same Day)",
182
+ "Priority__c": "High",
183
183
  "Status__c": "In Progress",
184
184
  "Est_Cost__c": 800.0,
185
185
  "Actual_Cost__c": null,
@@ -213,7 +213,7 @@
213
213
  "User__c": "@TenantRef7",
214
214
  "Description__c": "Main entrance lock is sticking and needs replacement for new tenant security and smooth operation.",
215
215
  "Type__c": "Appliance",
216
- "Priority__c": "High (Same Day)",
216
+ "Priority__c": "High",
217
217
  "Status__c": "Resolved",
218
218
  "Est_Cost__c": 120.0,
219
219
  "Actual_Cost__c": 110.0,
@@ -281,7 +281,7 @@
281
281
  "User__c": "@TenantRef6",
282
282
  "Description__c": "Monthly elevator maintenance and safety inspection as required by local building code regulations.",
283
283
  "Type__c": "Electrical",
284
- "Priority__c": "High (Same Day)",
284
+ "Priority__c": "High",
285
285
  "Status__c": "Resolved",
286
286
  "Est_Cost__c": 300.0,
287
287
  "Actual_Cost__c": 300.0,
@@ -366,7 +366,7 @@
366
366
  "User__c": "@TenantRef10",
367
367
  "Description__c": "Annual electrical panel inspection and circuit breaker testing to ensure electrical safety compliance.",
368
368
  "Type__c": "Electrical",
369
- "Priority__c": "High (Same Day)",
369
+ "Priority__c": "High",
370
370
  "Status__c": "New",
371
371
  "Est_Cost__c": 250.0,
372
372
  "Actual_Cost__c": null,
@@ -417,7 +417,7 @@
417
417
  "User__c": "@TenantRef15",
418
418
  "Description__c": "Install new washer and dryer units in laundry room for incoming tenant. Connect water, drain, and electrical.",
419
419
  "Type__c": "Appliance",
420
- "Priority__c": "High (Same Day)",
420
+ "Priority__c": "High",
421
421
  "Status__c": "In Progress",
422
422
  "Est_Cost__c": 200.0,
423
423
  "Actual_Cost__c": null,
@@ -13,12 +13,12 @@
13
13
  <valueSetDefinition>
14
14
  <sorted>false</sorted>
15
15
  <value>
16
- <fullName>Emergency (2hr)</fullName>
16
+ <fullName>Emergency</fullName>
17
17
  <default>false</default>
18
18
  <label>Emergency (2hr)</label>
19
19
  </value>
20
20
  <value>
21
- <fullName>High (Same Day)</fullName>
21
+ <fullName>High</fullName>
22
22
  <default>false</default>
23
23
  <label>High (Same Day)</label>
24
24
  </value>
@@ -15,8 +15,8 @@
15
15
  "graphql:schema": "node scripts/get-graphql-schema.mjs"
16
16
  },
17
17
  "dependencies": {
18
- "@salesforce/sdk-data": "^1.119.2",
19
- "@salesforce/ui-bundle": "^1.119.2",
18
+ "@salesforce/sdk-data": "^1.119.4",
19
+ "@salesforce/ui-bundle": "^1.119.4",
20
20
  "@tailwindcss/vite": "^4.1.17",
21
21
  "class-variance-authority": "^0.7.1",
22
22
  "clsx": "^2.1.1",
@@ -43,7 +43,7 @@
43
43
  "@graphql-eslint/eslint-plugin": "^4.1.0",
44
44
  "@graphql-tools/utils": "^11.0.0",
45
45
  "@playwright/test": "^1.49.0",
46
- "@salesforce/vite-plugin-ui-bundle": "^1.119.2",
46
+ "@salesforce/vite-plugin-ui-bundle": "^1.119.4",
47
47
  "@testing-library/jest-dom": "^6.6.3",
48
48
  "@testing-library/react": "^16.1.0",
49
49
  "@testing-library/user-event": "^14.5.2",
@@ -174,11 +174,11 @@ export const MaintenanceDetailsModal: React.FC<MaintenanceDetailsModalProps> = (
174
174
  );
175
175
  };
176
176
 
177
- type Priority = "Emergency (2hr)" | "High (Same Day)" | "Standard";
177
+ type Priority = "Emergency" | "High" | "Standard";
178
178
 
179
179
  const priorityStyles: Record<Priority, string> = {
180
- "Emergency (2hr)": "bg-red-100 text-red-700 border-red-200 text-sm",
181
- "High (Same Day)": "bg-orange-100 text-orange-700 border-orange-200 text-sm",
180
+ Emergency: "bg-red-100 text-red-700 border-red-200 text-sm",
181
+ High: "bg-orange-100 text-orange-700 border-orange-200 text-sm",
182
182
  Standard: "bg-blue-100 text-blue-700 border-blue-200 text-sm",
183
183
  };
184
184
 
@@ -9,11 +9,11 @@ interface MaintenanceRequestCardProps {
9
9
  }
10
10
 
11
11
  const priorityConfig: Record<
12
- "Emergency (2hr)" | "High (Same Day)" | "Standard",
12
+ "Emergency" | "High" | "Standard",
13
13
  { color: string; label: string; emoji: string }
14
14
  > = {
15
- "Emergency (2hr)": { color: "text-red-500", label: "EMERGENCY (2HR)", emoji: "🔴" },
16
- "High (Same Day)": { color: "text-orange-500", label: "HIGH (SAME DAY)", emoji: "🟠" },
15
+ Emergency: { color: "text-red-500", label: "EMERGENCY (2HR)", emoji: "🔴" },
16
+ High: { color: "text-orange-500", label: "HIGH (SAME DAY)", emoji: "🟠" },
17
17
  Standard: { color: "text-blue-500", label: "STANDARD", emoji: "🔵" },
18
18
  };
19
19
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
3
- "version": "1.119.2",
3
+ "version": "1.119.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
9
- "version": "1.119.2",
9
+ "version": "1.119.4",
10
10
  "license": "SEE LICENSE IN LICENSE.txt",
11
11
  "devDependencies": {
12
12
  "@lwc/eslint-plugin-lwc": "^3.3.0",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-base-sfdx-project",
3
- "version": "1.119.2",
3
+ "version": "1.119.4",
4
4
  "description": "Base SFDX project template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "publishConfig": {
@@ -322,10 +322,10 @@ async function main() {
322
322
  const gitignoreTemplates = loadGitignoreTemplates();
323
323
  if (gitignoreTemplates) {
324
324
  ensureGitignore(ROOT, gitignoreTemplates.sfdx);
325
- if (existsSync(WEBAPPLICATIONS_DIR)) {
326
- for (const entry of readdirSync(WEBAPPLICATIONS_DIR, { withFileTypes: true })) {
325
+ if (existsSync(UIBUNDLES_DIR)) {
326
+ for (const entry of readdirSync(UIBUNDLES_DIR, { withFileTypes: true })) {
327
327
  if (entry.isDirectory() && !entry.name.startsWith('.')) {
328
- ensureGitignore(resolve(WEBAPPLICATIONS_DIR, entry.name), gitignoreTemplates.webapp);
328
+ ensureGitignore(resolve(UIBUNDLES_DIR, entry.name), gitignoreTemplates.webapp);
329
329
  }
330
330
  }
331
331
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-app-react-sample-b2e",
3
- "version": "1.119.2",
3
+ "version": "1.119.4",
4
4
  "description": "Salesforce sample property rental React app",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",
@@ -16,7 +16,7 @@
16
16
  "clean": "rm -rf dist"
17
17
  },
18
18
  "dependencies": {
19
- "@salesforce/ui-bundle": "^1.119.2",
19
+ "@salesforce/ui-bundle": "^1.119.4",
20
20
  "sonner": "^1.7.0"
21
21
  },
22
22
  "devDependencies": {