@codingfactory/mediables-vue 2.10.1 → 2.11.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.
@@ -275,11 +275,22 @@ export interface MediaManagementTabsSlotProps {
275
275
  trashTab: string;
276
276
  };
277
277
  }
278
- /** Payload for the management-view `bulk-actions` slot. */
278
+ /**
279
+ * Payload for the management-view `bulk-actions` slot.
280
+ *
281
+ * `selectedItemIds`, `selectedItems`, and `clearSelection` were added in
282
+ * 2.11.0 so host apps can build custom bulk actions (e.g. "Create gallery
283
+ * from selection", "Create post from selection") without re-querying or
284
+ * reaching into the component's internal selection state. Existing fields
285
+ * remain unchanged for backward compatibility.
286
+ */
279
287
  export interface MediaManagementBulkActionsSlotProps {
280
288
  selectedCount: number;
289
+ selectedItemIds: string[];
290
+ selectedItems: Media[];
281
291
  isDeleting: boolean;
282
292
  onBulkDelete: () => void | Promise<void>;
293
+ clearSelection: () => void;
283
294
  labels: {
284
295
  deleteButton: string;
285
296
  selectedCount: (count: number) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingfactory/mediables-vue",
3
- "version": "2.10.1",
3
+ "version": "2.11.0",
4
4
  "publishConfig": {
5
5
  "access": "restricted"
6
6
  },