@factorialco/f0-react 1.240.3 → 1.241.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.
package/dist/f0.d.ts CHANGED
@@ -409,11 +409,18 @@ declare type BulkActionDefinition = {
409
409
  icon?: IconType;
410
410
  id: string;
411
411
  keepSelection?: boolean;
412
+ critical?: boolean;
413
+ description?: string;
414
+ disabled?: boolean;
412
415
  };
413
416
 
414
417
  declare type BulkActionsDefinition<R extends RecordType, Filters extends FiltersDefinition> = (selectedItems: Parameters<OnBulkActionCallback<R, Filters>>[1]) => {
415
- primary: BulkActionDefinition[];
416
- secondary?: BulkActionDefinition[];
418
+ primary?: (BulkActionDefinition | {
419
+ type: "separator";
420
+ })[];
421
+ secondary?: (BulkActionDefinition | {
422
+ type: "separator";
423
+ })[];
417
424
  } | {
418
425
  warningMessage: string;
419
426
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "1.240.3",
3
+ "version": "1.241.0",
4
4
  "main": "dist/f0.js",
5
5
  "typings": "dist/f0.d.ts",
6
6
  "private": false,