@salesforce/ui-bundle-features 12.8.0 → 12.9.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.
Files changed (2) hide show
  1. package/dist/features.json +55 -0
  2. package/package.json +1 -1
@@ -150,6 +150,61 @@
150
150
  "ChangePasswordPageComponent - Password change page"
151
151
  ]
152
152
  },
153
+ "angular-file-upload": {
154
+ "name": "Angular File Upload",
155
+ "package": "@salesforce/ui-bundle-template-feature-angular-file-upload",
156
+ "shortDescription": "File upload for Angular UI Bundles — upload files to Salesforce with a drop zone, per-file progress, cancel, and ContentVersion integration",
157
+ "longDescription": "A file-upload experience for Angular UI Bundles: a drag-and-drop (or click-to-select) drop zone, a modal dialog showing per-file upload progress with cancel, and a list of successfully uploaded files. Built with Angular standalone components and signals; upload orchestration is owned by a FileUploadStateService and Salesforce access goes through a FileUploadApiService that uses the base app's DataClient (REST for the /connect/file/upload config + /ui-api/records ContentVersion create, GraphQL uiapi.currentUser for the current user). The XHR upload, size utilities, and types are framework-agnostic ports of the React feature-react-file-upload reference. The FileUploadApiService also exposes a programmatic upload() API for building custom UIs. A demo page is wired at the /file-upload route.",
158
+ "keywords": [
159
+ "angular",
160
+ "file upload",
161
+ "upload",
162
+ "drag and drop",
163
+ "contentversion",
164
+ "files",
165
+ "progress"
166
+ ],
167
+ "featureDependencies": [],
168
+ "packageDependencies": {
169
+ "@angular/core": "^21.2.0",
170
+ "@angular/router": "^21.2.0",
171
+ "@salesforce/ui-bundle": "^12.8.0"
172
+ },
173
+ "copy": [
174
+ {
175
+ "from": "force-app/main/default/uiBundles/feature-angular-file-upload/src/app/features/file-upload",
176
+ "to": "<uiBundleDir>/src/app/features/file-upload",
177
+ "description": "File-upload library: API service (config/upload/ContentVersion/current user + programmatic upload()), signal-based state service, FileUpload component (drop zone + progress dialog + file item), types, utils, and labels"
178
+ },
179
+ {
180
+ "from": "force-app/main/default/uiBundles/feature-angular-file-upload/src/app/pages/file-upload",
181
+ "to": "<uiBundleDir>/src/app/pages/file-upload",
182
+ "description": "File-upload demo page hosting the FileUpload component"
183
+ },
184
+ {
185
+ "from": "force-app/main/default/uiBundles/feature-angular-file-upload/src/app/app.routes.ts",
186
+ "to": "<uiBundleDir>/src/app/features/file-upload/__example__file-upload-routes.ts",
187
+ "description": "Example route file wiring the /file-upload route — merge this into your app's route file",
188
+ "integrationTarget": "src/app/app.routes.ts"
189
+ }
190
+ ],
191
+ "features": [
192
+ "Drag-and-drop or click-to-select file selection",
193
+ "Modal dialog with per-file upload progress bars",
194
+ "Cancel an in-progress upload",
195
+ "Client-side max file size validation",
196
+ "Optional ContentVersion creation linked to a Salesforce record",
197
+ "Programmatic upload() API for building custom upload UIs"
198
+ ],
199
+ "components": [
200
+ "FileUploadApiService - Upload config, XHR upload, ContentVersion create, current user, and a unified upload() API",
201
+ "FileUploadStateService - Owns per-file upload state and dialog open/close (signals)",
202
+ "FileUploadComponent - Drop zone + progress dialog + uploaded file list",
203
+ "FileUploadDialogComponent - Modal listing per-file progress",
204
+ "FileUploadFileItemComponent - A single file row with progress, cancel, and status",
205
+ "FileUploadPageComponent - Demo page hosting the FileUpload component"
206
+ ]
207
+ },
153
208
  "angular-language-switcher": {
154
209
  "name": "Angular Language Switcher",
155
210
  "package": "@salesforce/ui-bundle-template-feature-angular-language-switcher",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-features",
3
- "version": "12.8.0",
3
+ "version": "12.9.0",
4
4
  "description": "CLI tool for searching and installing UI features into Salesforce UI Bundles",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "type": "module",