@spaceandtimelabs/makeinfinite-ui 0.19.0 → 0.19.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.
package/dist/index.d.ts CHANGED
@@ -6,6 +6,31 @@ export declare const getTags: (projectName: string, projectUrl: string, corsProx
6
6
  ref: string;
7
7
  }[]>;
8
8
 
9
+ /**
10
+ * ImageGallery component displays a modal gallery of images from the project's images directory.
11
+ * It allows users to view and select images to reference in their chat messages.
12
+ * @component
13
+ */
14
+ export declare const ImageGallery: React.FC<ImageGalleryProps>;
15
+
16
+ /**
17
+ * Represents the properties required by the ImageGallery component.
18
+ * @interface ImageGalleryProps
19
+ */
20
+ declare interface ImageGalleryProps {
21
+ /** Controls the visibility of the gallery */
22
+ isOpen: boolean;
23
+ /** Callback function triggered when the gallery should be closed */
24
+ onClose: () => void;
25
+ /**
26
+ * Callback function triggered when an image is selected
27
+ * @param imagePath The relative path to the selected image (e.g., "./src/assets/images/example.jpg")
28
+ */
29
+ onImageSelect: (imagePath: string) => void;
30
+ /** The name of the current project */
31
+ projectName: string;
32
+ }
33
+
9
34
  export declare const initializeMakeInfinite: () => void;
10
35
 
11
36
  export declare const MakeInfinite: () => JSX_2.Element;