@yogiswara/honcho-editor-ui 2.0.1 → 2.0.2

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.
@@ -1,6 +1,6 @@
1
1
  import { SelectChangeEvent } from "@mui/material";
2
- import { AdjustmentState, ImageItem } from './useHonchoEditor';
3
- export declare function useHonchoEditorBulk(): {
2
+ import { AdjustmentState, ImageItem, Controller } from './useHonchoEditor';
3
+ export declare function useHonchoEditorBulk(controller: Controller, initImageId: string, firebaseUid: string): {
4
4
  isBulkEditing: boolean;
5
5
  selectedImages: string;
6
6
  imageList: ImageItem[];
@@ -6,7 +6,7 @@ const initialAdjustments = {
6
6
  whitesScore: 0, blacksScore: 0, saturationScore: 0, contrastScore: 0, clarityScore: 0, sharpnessScore: 0,
7
7
  };
8
8
  const clamp = (value) => Math.max(-100, Math.min(100, value));
9
- export function useHonchoEditorBulk() {
9
+ export function useHonchoEditorBulk(controller, initImageId, firebaseUid) {
10
10
  const { currentState, actions: historyActions, historyInfo } = useAdjustmentHistory(initialAdjustments);
11
11
  // State for Bulk Editing
12
12
  const [isBulkEditing, setIsBulkEditing] = useState(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yogiswara/honcho-editor-ui",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "A complete UI component library for the Honcho photo editor.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",