prozilla-os 1.2.1 → 1.2.3

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/main.d.ts CHANGED
@@ -348,6 +348,9 @@ export declare function getViewportParams(): Record<string, string>;
348
348
 
349
349
  export declare function HeaderMenu({ children, ...props }: ActionsProps): JSX_2.Element;
350
350
 
351
+ declare function Image_2({ className, src, ...props }: ImageProps): JSX_2.Element;
352
+ export { Image_2 as Image }
353
+
351
354
  export declare const IMAGE_EXTENSIONS: string[];
352
355
 
353
356
  export declare function ImagePreview({ source, className, onError, ...props }: ImagePreviewProps): JSX_2.Element;
@@ -358,6 +361,12 @@ declare interface ImagePreviewProps {
358
361
  onError?: Function;
359
362
  }
360
363
 
364
+ declare interface ImageProps {
365
+ className?: string;
366
+ src?: string;
367
+ [key: string]: unknown;
368
+ }
369
+
361
370
  export declare function Interactable({ onClick, onDoubleClick, children, ...props }: InteractableProps): JSX_2.Element;
362
371
 
363
372
  declare interface InteractableProps {
@@ -807,7 +816,7 @@ export declare function useAppFolder(app?: App): VirtualFolder | null;
807
816
  /**
808
817
  * Combine clas names and an optional static class name
809
818
  */
810
- export declare function useClassNames(classNames: (string | undefined)[], block?: string, element?: string, modifier?: string): string;
819
+ export declare function useClassNames(classNames: (string | undefined)[], block?: string, element?: string, modifier?: string | string[]): string;
811
820
 
812
821
  export declare function useContextMenu({ Actions }: UseContextMenuParams): {
813
822
  onContextMenu: (event: MouseEvent_2<HTMLElement, MouseEvent_2>, params?: object) => Modal;
@@ -898,7 +907,7 @@ declare interface UseShortcutsParams {
898
907
  /**
899
908
  * Generates static class name using BEM notation
900
909
  */
901
- export declare function useStaticClassName(block?: string, element?: string, modifier?: string): string | null;
910
+ export declare function useStaticClassName(block?: string, element?: string, modifier?: string | string[]): string | null;
902
911
 
903
912
  export declare function useSystemManager(): SystemManager;
904
913
 
package/dist/main.js CHANGED
@@ -37602,6 +37602,9 @@ function sh({ active: t }) {
37602
37602
  case "%":
37603
37603
  m("%");
37604
37604
  break;
37605
+ case "Backspace":
37606
+ e != null && e.length > 0 && n(e.slice(0, -1));
37607
+ break;
37605
37608
  }
37606
37609
  };
37607
37610
  return document.addEventListener("keydown", S), () => {