@salesforce/ui-bundle-template-app-react-sample-b2e 10.19.1 → 10.20.1
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/README.md +0 -13
- package/dist/CHANGELOG.md +16 -0
- package/dist/force-app/main/default/uiBundles/propertymanagementapp/package.json +4 -4
- package/dist/force-app/main/default/uiBundles/propertymanagementapp/src/components/applications/ApplicationDetailsModal.tsx +7 -2
- package/dist/force-app/main/default/uiBundles/propertymanagementapp/src/components/maintenanceRequests/MaintenanceDetailsModal.tsx +7 -2
- package/dist/package-lock.json +2 -2
- package/dist/package.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -39,19 +39,6 @@ nx run propertymanagementapp:build
|
|
|
39
39
|
cd dist/force-app/main/default/uiBundles/propertymanagementapp && npm install && npm test
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
### Accessibility tests
|
|
43
|
-
|
|
44
|
-
Automated accessibility tests (Vitest + [vitest-axe](https://github.com/chaance/vitest-axe)) live in [`a11y-tests/`](a11y-tests/) — a standalone package **outside** the shipped UI Bundle, so its dependencies and specs never ship to `dist/`. The specs import the components under test from the UI Bundle source via an `@` alias, and assert zero axe violations (no rule exclusions).
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
cd a11y-tests
|
|
48
|
-
npm install
|
|
49
|
-
npm test # vitest run
|
|
50
|
-
npm run test:a11y # verbose, *.a11y.test.tsx only
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
These tests run against the UI Bundle source directly, so no build step is required.
|
|
54
|
-
|
|
55
42
|
### Clean
|
|
56
43
|
|
|
57
44
|
```bash
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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
|
+
## [10.20.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v10.20.0...v10.20.1) (2026-06-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [10.20.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v10.19.1...v10.20.0) (2026-06-23)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [10.19.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v10.19.0...v10.19.1) (2026-06-22)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@salesforce/platform-sdk": "^10.
|
|
22
|
-
"@salesforce/ui-bundle": "^10.
|
|
21
|
+
"@salesforce/platform-sdk": "^10.20.1",
|
|
22
|
+
"@salesforce/ui-bundle": "^10.20.1",
|
|
23
23
|
"@tailwindcss/vite": "^4.1.17",
|
|
24
24
|
"class-variance-authority": "^0.7.1",
|
|
25
25
|
"clsx": "^2.1.1",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
47
47
|
"@graphql-tools/utils": "^11.0.0",
|
|
48
48
|
"@playwright/test": "^1.49.0",
|
|
49
|
-
"@salesforce/graphiti": "^10.
|
|
50
|
-
"@salesforce/vite-plugin-ui-bundle": "^10.
|
|
49
|
+
"@salesforce/graphiti": "^10.20.1",
|
|
50
|
+
"@salesforce/vite-plugin-ui-bundle": "^10.20.1",
|
|
51
51
|
"@testing-library/jest-dom": "^6.6.3",
|
|
52
52
|
"@testing-library/react": "^16.1.0",
|
|
53
53
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -54,8 +54,12 @@ export const ApplicationDetailsModal: React.FC<ApplicationDetailsModalProps> = (
|
|
|
54
54
|
<div className="relative bg-white rounded-lg shadow-xl w-full max-w-2xl mx-4 max-h-[90vh] overflow-y-auto">
|
|
55
55
|
<div className="flex items-center justify-between p-6 border-b border-gray-200">
|
|
56
56
|
<h2 className="text-xl font-semibold text-gray-900">Application Details</h2>
|
|
57
|
-
<button
|
|
58
|
-
|
|
57
|
+
<button
|
|
58
|
+
onClick={onClose}
|
|
59
|
+
aria-label="Close"
|
|
60
|
+
className="text-gray-400 hover:text-gray-600 transition-colors"
|
|
61
|
+
>
|
|
62
|
+
<X className="w-6 h-6" aria-hidden="true" />
|
|
59
63
|
</button>
|
|
60
64
|
</div>
|
|
61
65
|
|
|
@@ -103,6 +107,7 @@ export const ApplicationDetailsModal: React.FC<ApplicationDetailsModalProps> = (
|
|
|
103
107
|
<select
|
|
104
108
|
value={selectedStatus}
|
|
105
109
|
onChange={(e) => setSelectedStatus(e.target.value)}
|
|
110
|
+
aria-label="Application status"
|
|
106
111
|
className="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-purple-500 focus:border-transparent"
|
|
107
112
|
>
|
|
108
113
|
{statusOptions.map((s) => (
|
|
@@ -70,8 +70,12 @@ export const MaintenanceDetailsModal: React.FC<MaintenanceDetailsModalProps> = (
|
|
|
70
70
|
<div className="relative bg-white rounded-lg shadow-xl w-full max-w-2xl mx-4 max-h-[90vh] overflow-y-auto">
|
|
71
71
|
<div className="flex items-center justify-between p-6 border-b border-gray-200">
|
|
72
72
|
<h2 className="text-xl font-semibold text-gray-900">Maintenance Request Details</h2>
|
|
73
|
-
<button
|
|
74
|
-
|
|
73
|
+
<button
|
|
74
|
+
onClick={onClose}
|
|
75
|
+
aria-label="Close"
|
|
76
|
+
className="text-gray-400 hover:text-gray-600 transition-colors"
|
|
77
|
+
>
|
|
78
|
+
<X className="w-6 h-6" aria-hidden="true" />
|
|
75
79
|
</button>
|
|
76
80
|
</div>
|
|
77
81
|
|
|
@@ -136,6 +140,7 @@ export const MaintenanceDetailsModal: React.FC<MaintenanceDetailsModalProps> = (
|
|
|
136
140
|
<select
|
|
137
141
|
value={selectedStatus}
|
|
138
142
|
onChange={(e) => setSelectedStatus(e.target.value)}
|
|
143
|
+
aria-label="Maintenance request status"
|
|
139
144
|
className="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-purple-500 focus:border-transparent"
|
|
140
145
|
>
|
|
141
146
|
{statusOptions.map((s) => (
|
package/dist/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-template-base-sfdx-project-experimental",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.20.1",
|
|
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": "10.
|
|
9
|
+
"version": "10.20.1",
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/ui-bundle-template-app-react-sample-b2e",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.20.1",
|
|
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": "^10.
|
|
19
|
+
"@salesforce/ui-bundle": "^10.20.1",
|
|
20
20
|
"sonner": "^1.7.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|