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.
Files changed (31) hide show
  1. package/dist/{Browser-3TDBBBTF.js → Browser-GGKJBZCQ.js} +4 -4
  2. package/dist/{Browser-3TDBBBTF.js.map → Browser-GGKJBZCQ.js.map} +1 -1
  3. package/dist/{Documents-DM6ZYYUB.js → Documents-GY6E25YJ.js} +3 -3
  4. package/dist/{Documents-DM6ZYYUB.js.map → Documents-GY6E25YJ.js.map} +1 -1
  5. package/dist/Files-ZCGJDSXN.js +12 -0
  6. package/dist/{Files-2YM4DKVF.js.map → Files-ZCGJDSXN.js.map} +1 -1
  7. package/dist/{Notepad-ELFOY4IA.js → Notepad-JBG2GDDQ.js} +3 -3
  8. package/dist/{Notepad-ELFOY4IA.js.map → Notepad-JBG2GDDQ.js.map} +1 -1
  9. package/dist/Preview-T2XC46AG.js +8 -0
  10. package/dist/{Preview-VXSDJJFO.js.map → Preview-T2XC46AG.js.map} +1 -1
  11. package/dist/{Spreadsheet-UDEIXK2I.js → Spreadsheet-L6DMYE6W.js} +4 -4
  12. package/dist/{Spreadsheet-UDEIXK2I.js.map → Spreadsheet-L6DMYE6W.js.map} +1 -1
  13. package/dist/apps/index.js +12 -12
  14. package/dist/{chunk-TEEFE7IV.js → chunk-44B7SHZQ.js} +4 -4
  15. package/dist/{chunk-TEEFE7IV.js.map → chunk-44B7SHZQ.js.map} +1 -1
  16. package/dist/{chunk-HEY3SYFZ.js → chunk-4J4V7FLN.js} +3 -3
  17. package/dist/{chunk-HEY3SYFZ.js.map → chunk-4J4V7FLN.js.map} +1 -1
  18. package/dist/{chunk-7LF52UBQ.js → chunk-GLKDDFJL.js} +3 -3
  19. package/dist/{chunk-7LF52UBQ.js.map → chunk-GLKDDFJL.js.map} +1 -1
  20. package/dist/{chunk-ADTYTGFC.js → chunk-HM2POVAI.js} +4 -4
  21. package/dist/{chunk-ADTYTGFC.js.map → chunk-HM2POVAI.js.map} +1 -1
  22. package/dist/{chunk-NKNLIJA7.js → chunk-OS36T6ZP.js} +3 -3
  23. package/dist/{chunk-NKNLIJA7.js.map → chunk-OS36T6ZP.js.map} +1 -1
  24. package/dist/{chunk-DWGH2TFI.js → chunk-ZDTM7HX6.js} +3 -3
  25. package/dist/{chunk-DWGH2TFI.js.map → chunk-ZDTM7HX6.js.map} +1 -1
  26. package/dist/index.d.ts +3 -2
  27. package/dist/index.js +7 -7
  28. package/dist/index.js.map +1 -1
  29. package/package.json +1 -1
  30. package/dist/Files-2YM4DKVF.js +0 -12
  31. 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, the
908
- * desktop renders with no image (just the dark fallback). */
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-ADTYTGFC.js';
4
- export { Breadcrumbs } from './chunk-ADTYTGFC.js';
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-HEY3SYFZ.js';
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-DWGH2TFI.js';
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-7LF52UBQ.js';
15
- export { VERSION } from './chunk-7LF52UBQ.js';
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";