react-os-shell 3.3.1 → 3.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/{Browser-3TDBBBTF.js → Browser-GGKJBZCQ.js} +4 -4
- package/dist/{Browser-3TDBBBTF.js.map → Browser-GGKJBZCQ.js.map} +1 -1
- package/dist/{Documents-DM6ZYYUB.js → Documents-GY6E25YJ.js} +3 -3
- package/dist/{Documents-DM6ZYYUB.js.map → Documents-GY6E25YJ.js.map} +1 -1
- package/dist/Files-ZCGJDSXN.js +12 -0
- package/dist/{Files-2YM4DKVF.js.map → Files-ZCGJDSXN.js.map} +1 -1
- package/dist/{Notepad-ELFOY4IA.js → Notepad-JBG2GDDQ.js} +3 -3
- package/dist/{Notepad-ELFOY4IA.js.map → Notepad-JBG2GDDQ.js.map} +1 -1
- package/dist/Preview-T2XC46AG.js +8 -0
- package/dist/{Preview-VXSDJJFO.js.map → Preview-T2XC46AG.js.map} +1 -1
- package/dist/{Spreadsheet-UDEIXK2I.js → Spreadsheet-L6DMYE6W.js} +4 -4
- package/dist/{Spreadsheet-UDEIXK2I.js.map → Spreadsheet-L6DMYE6W.js.map} +1 -1
- package/dist/apps/index.js +12 -12
- package/dist/{chunk-TEEFE7IV.js → chunk-44B7SHZQ.js} +4 -4
- package/dist/{chunk-TEEFE7IV.js.map → chunk-44B7SHZQ.js.map} +1 -1
- package/dist/{chunk-HEY3SYFZ.js → chunk-4J4V7FLN.js} +3 -3
- package/dist/{chunk-HEY3SYFZ.js.map → chunk-4J4V7FLN.js.map} +1 -1
- package/dist/{chunk-7LF52UBQ.js → chunk-GLKDDFJL.js} +3 -3
- package/dist/{chunk-7LF52UBQ.js.map → chunk-GLKDDFJL.js.map} +1 -1
- package/dist/{chunk-ADTYTGFC.js → chunk-HM2POVAI.js} +4 -4
- package/dist/{chunk-ADTYTGFC.js.map → chunk-HM2POVAI.js.map} +1 -1
- package/dist/{chunk-NKNLIJA7.js → chunk-OS36T6ZP.js} +3 -3
- package/dist/{chunk-NKNLIJA7.js.map → chunk-OS36T6ZP.js.map} +1 -1
- package/dist/{chunk-DWGH2TFI.js → chunk-ZDTM7HX6.js} +3 -3
- package/dist/{chunk-DWGH2TFI.js.map → chunk-ZDTM7HX6.js.map} +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/Files-2YM4DKVF.js +0 -12
- package/dist/Preview-VXSDJJFO.js +0 -8
package/dist/index.d.ts
CHANGED
|
@@ -904,8 +904,9 @@ interface LayoutProps {
|
|
|
904
904
|
productName?: string;
|
|
905
905
|
/** Icon URL rendered next to the brand label. Defaults to `/favicon.svg`. */
|
|
906
906
|
productIcon?: string;
|
|
907
|
-
/** Wallpaper image URLs for the desktop background. When omitted,
|
|
908
|
-
*
|
|
907
|
+
/** Wallpaper image URLs for the desktop background. When omitted, falls back
|
|
908
|
+
* to the wallpapers registered on the `DesktopHostProvider` (the same pool the
|
|
909
|
+
* Customization picker shows); with neither, the desktop renders no image. */
|
|
909
910
|
wallpapers?: string[];
|
|
910
911
|
/** Override the default nav sections shown in the start menu. */
|
|
911
912
|
navSections?: (NavSection | NavItem)[];
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { subscribePomo, getPomoSnapshot } from './chunk-6VMTAVUD.js';
|
|
2
2
|
export { setShellTodoProvider } from './chunk-6VMTAVUD.js';
|
|
3
|
-
import { PREVIEW_OPENED_EVENT, publishDesktopFolders, requestFilesTrashView, FolderGlyph, openPreviewFile, requestFilesDesktopFolderView, FileIconTile, hashGradient } from './chunk-
|
|
4
|
-
export { Breadcrumbs } from './chunk-
|
|
3
|
+
import { PREVIEW_OPENED_EVENT, publishDesktopFolders, requestFilesTrashView, FolderGlyph, openPreviewFile, requestFilesDesktopFolderView, FileIconTile, hashGradient } from './chunk-HM2POVAI.js';
|
|
4
|
+
export { Breadcrumbs } from './chunk-HM2POVAI.js';
|
|
5
5
|
import { SidebarLayout } from './chunk-VGTEM5RZ.js';
|
|
6
6
|
export { SidebarLayout } from './chunk-VGTEM5RZ.js';
|
|
7
7
|
import { playNotification, playStartup, soundsEnabled, getSoundConfig, SOUND_PACK_KEYS, SOUND_PACKS, SOUND_TYPES, SOUND_TYPE_LABELS, setSoundForType, previewSound, setAllSounds, playLogout } from './chunk-D7PYW2QS.js';
|
|
8
|
-
export { ImageAnnotator_default as ImageAnnotator } from './chunk-
|
|
8
|
+
export { ImageAnnotator_default as ImageAnnotator } from './chunk-4J4V7FLN.js';
|
|
9
9
|
import { toast_default } from './chunk-VENYVK3L.js';
|
|
10
10
|
export { toast_default as toast } from './chunk-VENYVK3L.js';
|
|
11
|
-
export { EditableGrid } from './chunk-
|
|
11
|
+
export { EditableGrid } from './chunk-ZDTM7HX6.js';
|
|
12
12
|
import { useAuth, useShellAuth } from './chunk-ADJ3CERD.js';
|
|
13
13
|
export { ShellAuthProvider, setShellAuthBridge, useShellAuth } from './chunk-ADJ3CERD.js';
|
|
14
|
-
import { APP_VERSION } from './chunk-
|
|
15
|
-
export { VERSION } from './chunk-
|
|
14
|
+
import { APP_VERSION } from './chunk-GLKDDFJL.js';
|
|
15
|
+
export { VERSION } from './chunk-GLKDDFJL.js';
|
|
16
16
|
import { useWindowManager, PopupMenu, PopupMenuLabel, PopupMenuDivider, PopupMenuItem, WINDOW_REGISTRY, isPageEntry, Modal, useShellPrefs, useIsMobile, ModalActions, useModalActive, client_default, LoadingSpinner, setWindowPosition, ThumbCard, activateModal } from './chunk-6OWYD4O6.js';
|
|
17
17
|
export { CancelButton, CopyButton, DocFavStar, Modal, ModalActions, PopupMenu, PopupMenuDivider, PopupMenuItem, PopupMenuLabel, ShellPrefsProvider, WindowCrashedFallback, WindowErrorBoundary, WindowManagerProvider, WindowTitle, commitExposeHighlight, exitExposeMode, getActiveWindowRoute, getExposeHighlight, getWindowPosition, isEntityEntry, isPageEntry, registerModalEscapeInterceptor, setExposeHighlight, setShellApiClient, setShellWindowRegistry, setWindowDefaultPosition, setWindowPosition, subscribeExposeHighlight, toggleExposeMode, useLocalStoragePrefs, useModalActive, useShellPrefs, useWidgetSettings, useWindowManager, useWindowMenuItem, useWindowTitle } from './chunk-6OWYD4O6.js';
|
|
18
18
|
export { ConfirmProvider, confirm, confirmDestructive, prompt } from './chunk-UBN4IUDE.js';
|
|
@@ -4198,7 +4198,7 @@ function Layout({
|
|
|
4198
4198
|
const isMobile = useIsMobile();
|
|
4199
4199
|
const profile = user || {};
|
|
4200
4200
|
useTheme();
|
|
4201
|
-
const { favorites, toggle: toggleFavorite, desktopBg} = useFavorites(wallpapers);
|
|
4201
|
+
const { favorites, toggle: toggleFavorite, desktopBg} = useFavorites(wallpapers ?? host.wallpapers?.map((w) => w.src));
|
|
4202
4202
|
const { prefs, save: savePrefs } = useShellPrefs();
|
|
4203
4203
|
const layoutMode = prefs.layout_mode === "sidebar" ? "sidebar" : "classic";
|
|
4204
4204
|
const sidebarMode = layoutMode === "sidebar";
|