@prozilla-os/core 1.3.0 → 1.3.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/main.d.ts +18 -0
- package/dist/main.js +16263 -14869
- package/dist/main.js.map +1 -1
- package/package.json +2 -3
package/dist/main.d.ts
CHANGED
|
@@ -195,6 +195,8 @@ export declare const CODE_EXTENSIONS: string[];
|
|
|
195
195
|
|
|
196
196
|
export declare function copyToClipboard(string: string, onSuccess?: (value: void) => void, onFail?: (value: void) => void): void;
|
|
197
197
|
|
|
198
|
+
export declare function DefaultRoute(): JSX_2.Element;
|
|
199
|
+
|
|
198
200
|
export declare const Desktop: MemoExoticComponent<() => JSX_2.Element>;
|
|
199
201
|
|
|
200
202
|
export declare class DesktopConfig {
|
|
@@ -416,6 +418,8 @@ declare type ModalsManagerState = ModalsManager | undefined;
|
|
|
416
418
|
|
|
417
419
|
export declare const ModalsView: MemoExoticComponent<() => JSX_2.Element>;
|
|
418
420
|
|
|
421
|
+
export declare function NoRoute(): JSX_2.Element;
|
|
422
|
+
|
|
419
423
|
export declare interface OnSelectionChangeParams {
|
|
420
424
|
files?: string[];
|
|
421
425
|
folders?: string[];
|
|
@@ -509,6 +513,14 @@ export declare function reloadViewport(): void;
|
|
|
509
513
|
|
|
510
514
|
export declare function removeUrlProtocol(url: string): string;
|
|
511
515
|
|
|
516
|
+
export declare function Router({ path, homePage, fallbackPage }: RouterProps): JSX_2.Element;
|
|
517
|
+
|
|
518
|
+
declare interface RouterProps {
|
|
519
|
+
path?: string;
|
|
520
|
+
homePage?: JSX.Element;
|
|
521
|
+
fallbackPage?: JSX.Element;
|
|
522
|
+
}
|
|
523
|
+
|
|
512
524
|
declare class Settings {
|
|
513
525
|
#private;
|
|
514
526
|
path: string;
|
|
@@ -606,6 +618,12 @@ declare interface SkinOptions {
|
|
|
606
618
|
loadStyleSheet?: () => void;
|
|
607
619
|
}
|
|
608
620
|
|
|
621
|
+
export declare function StandaloneRoute({ app }: StandaloneRouteProps): JSX_2.Element;
|
|
622
|
+
|
|
623
|
+
declare interface StandaloneRouteProps {
|
|
624
|
+
app: App;
|
|
625
|
+
}
|
|
626
|
+
|
|
609
627
|
declare class StorageManager_2 {
|
|
610
628
|
static MAX_BYTES: number;
|
|
611
629
|
static store(key: string, value: string): void;
|