prozilla-os 1.3.0 → 1.3.1

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
@@ -203,6 +203,8 @@ export declare const CODE_EXTENSIONS: string[];
203
203
 
204
204
  export declare function copyToClipboard(string: string, onSuccess?: (value: void) => void, onFail?: (value: void) => void): void;
205
205
 
206
+ export declare function DefaultRoute(): JSX_2.Element;
207
+
206
208
  export declare const Desktop: MemoExoticComponent<() => JSX_2.Element>;
207
209
 
208
210
  export declare class DesktopConfig {
@@ -446,6 +448,8 @@ declare type ModalsManagerState = ModalsManager | undefined;
446
448
 
447
449
  export declare const ModalsView: MemoExoticComponent<() => JSX_2.Element>;
448
450
 
451
+ export declare function NoRoute(): JSX_2.Element;
452
+
449
453
  export declare interface OnSelectionChangeParams {
450
454
  files?: string[];
451
455
  folders?: string[];
@@ -539,6 +543,14 @@ export declare function reloadViewport(): void;
539
543
 
540
544
  export declare function removeUrlProtocol(url: string): string;
541
545
 
546
+ export declare function Router({ path, homePage, fallbackPage }: RouterProps): JSX_2.Element;
547
+
548
+ declare interface RouterProps {
549
+ path?: string;
550
+ homePage?: JSX.Element;
551
+ fallbackPage?: JSX.Element;
552
+ }
553
+
542
554
  declare class Settings {
543
555
  #private;
544
556
  path: string;
@@ -642,6 +654,12 @@ declare interface SkinOptions {
642
654
  loadStyleSheet?: () => void;
643
655
  }
644
656
 
657
+ export declare function StandaloneRoute({ app }: StandaloneRouteProps): JSX_2.Element;
658
+
659
+ declare interface StandaloneRouteProps {
660
+ app: App;
661
+ }
662
+
645
663
  declare class StorageManager_2 {
646
664
  static MAX_BYTES: number;
647
665
  static store(key: string, value: string): void;