react-os-shell 0.2.48 → 0.2.49

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 (43) hide show
  1. package/dist/{Browser-LSJORULM.js → Browser-2TIJIWLC.js} +3 -3
  2. package/dist/{Browser-LSJORULM.js.map → Browser-2TIJIWLC.js.map} +1 -1
  3. package/dist/{Calculator-ZKEH53OV.js → Calculator-F5V74AUF.js} +4 -4
  4. package/dist/{Calculator-ZKEH53OV.js.map → Calculator-F5V74AUF.js.map} +1 -1
  5. package/dist/{Calendar-PKRZ5MBU.js → Calendar-KIPFDLRZ.js} +3 -3
  6. package/dist/{Calendar-PKRZ5MBU.js.map → Calendar-KIPFDLRZ.js.map} +1 -1
  7. package/dist/{CurrencyConverter-5N44NZ6Z.js → CurrencyConverter-BEYNE72I.js} +4 -4
  8. package/dist/{CurrencyConverter-5N44NZ6Z.js.map → CurrencyConverter-BEYNE72I.js.map} +1 -1
  9. package/dist/{Documents-CQVIIFZV.js → Documents-3BIQRSXA.js} +3 -3
  10. package/dist/{Documents-CQVIIFZV.js.map → Documents-3BIQRSXA.js.map} +1 -1
  11. package/dist/{Email-CR6XS2AD.js → Email-RM5N27GG.js} +3 -3
  12. package/dist/{Email-CR6XS2AD.js.map → Email-RM5N27GG.js.map} +1 -1
  13. package/dist/Files-GALCVW6G.js +8 -0
  14. package/dist/{Files-QMEAFYY4.js.map → Files-GALCVW6G.js.map} +1 -1
  15. package/dist/{Minesweeper-QGUPDVRS.js → Minesweeper-F7HUV7HZ.js} +3 -3
  16. package/dist/{Minesweeper-QGUPDVRS.js.map → Minesweeper-F7HUV7HZ.js.map} +1 -1
  17. package/dist/{Notepad-74CQPZCV.js → Notepad-3S24OLEP.js} +3 -3
  18. package/dist/{Notepad-74CQPZCV.js.map → Notepad-3S24OLEP.js.map} +1 -1
  19. package/dist/{PomodoroTimer-FHSOLF3O.js → PomodoroTimer-WEFU2TRQ.js} +4 -4
  20. package/dist/{PomodoroTimer-FHSOLF3O.js.map → PomodoroTimer-WEFU2TRQ.js.map} +1 -1
  21. package/dist/Preview-UA3GCLDI.js +7 -0
  22. package/dist/{Preview-KX753OG4.js.map → Preview-UA3GCLDI.js.map} +1 -1
  23. package/dist/{Spreadsheet-MKXPPSKV.js → Spreadsheet-2JEK7VD7.js} +3 -3
  24. package/dist/{Spreadsheet-MKXPPSKV.js.map → Spreadsheet-2JEK7VD7.js.map} +1 -1
  25. package/dist/{Weather-YXSCSPQT.js → Weather-PETTCLBX.js} +4 -4
  26. package/dist/{Weather-YXSCSPQT.js.map → Weather-PETTCLBX.js.map} +1 -1
  27. package/dist/{WorldClock-XHM7WAUV.js → WorldClock-QTZM4U5N.js} +4 -4
  28. package/dist/{WorldClock-XHM7WAUV.js.map → WorldClock-QTZM4U5N.js.map} +1 -1
  29. package/dist/apps/index.js +17 -17
  30. package/dist/{chunk-FWOHEXUL.js → chunk-5H2XVDEI.js} +4 -4
  31. package/dist/{chunk-FWOHEXUL.js.map → chunk-5H2XVDEI.js.map} +1 -1
  32. package/dist/{chunk-G6WVMTJU.js → chunk-BV54NLUT.js} +3 -3
  33. package/dist/{chunk-G6WVMTJU.js.map → chunk-BV54NLUT.js.map} +1 -1
  34. package/dist/{chunk-UK2AA3J6.js → chunk-P5YKRJIW.js} +3 -3
  35. package/dist/{chunk-UK2AA3J6.js.map → chunk-P5YKRJIW.js.map} +1 -1
  36. package/dist/{chunk-7M3BBAHQ.js → chunk-VVXXHR5V.js} +13 -3
  37. package/dist/chunk-VVXXHR5V.js.map +1 -0
  38. package/dist/index.d.ts +8 -1
  39. package/dist/index.js +4 -4
  40. package/package.json +1 -1
  41. package/dist/Files-QMEAFYY4.js +0 -8
  42. package/dist/Preview-KX753OG4.js +0 -7
  43. package/dist/chunk-7M3BBAHQ.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -521,6 +521,13 @@ declare function DocFavStar({ entityType, entityId, label }: {
521
521
  entityId: string;
522
522
  label: string;
523
523
  }): react_jsx_runtime.JSX.Element;
524
+ /** Public, framework-free helper: route ('/orders', '/qc-reports', …)
525
+ * of the window the user is currently focused on. Returns undefined
526
+ * when no app window is active (start menu / dashboard with nothing
527
+ * open). Useful for code paths that fire outside React render — the
528
+ * shell consumer can stamp metadata on a payload (e.g. "which module
529
+ * is this bug report against?") without needing to lift state. */
530
+ declare function getActiveWindowRoute(): string | undefined;
524
531
  declare function WindowManagerProvider({ children }: {
525
532
  children: ReactNode;
526
533
  }): react_jsx_runtime.JSX.Element;
@@ -770,4 +777,4 @@ declare function useNewHotkey(callback: () => void): void;
770
777
  */
771
778
  declare function useEditHotkey(callback: (() => void) | null): void;
772
779
 
773
- export { ALT, ALT_SHIFT_D, ALT_SHIFT_E, ALT_SHIFT_N, type BugReport, type BugReportConfig, BugReportConfigProvider, BugReportDetail, type BugReportExtraField, type BugReportExtraSelectField, BugReportProvider, type BugReportSubmission, type BugReportSubmitPayload, CMD_A, CMD_DOT, CMD_ENTER, CMD_K, CMD_S, CancelButton, type ChangelogEntry, ConfirmProvider, CopyButton, Customization, Desktop, type DesktopHostConfig, DesktopHostProvider, DocFavStar, ENTER, type EntityFetcher, GLASS_DIVIDER, GLASS_INPUT_BG, GlobalSearch, Layout, type LayoutProps, MOD, Modal, ModalActions, NotificationBell, type NotificationsConfig, PopupMenu, PopupMenuDivider, PopupMenuItem, PopupMenuLabel, type ReportType, SHIFT, type SearchConfig, type SearchProvider, type SearchResult, type SemanticGroup, type ShellAuth, ShellAuthProvider, ShellEntityFetcherProvider, type ShellNotification, type ShellPrefsAdapter, ShellPrefsProvider, ShortcutHelp, StartMenu, StatusBadge, StatusBadgeProvider, type StickyEntityRef, type StickyResolver, VERSION, WindowManagerProvider, WindowRegistry, WindowTitle, confirm, confirmDestructive, createWindowRegistry, formatDate, glassStyle, isMac, openBugReportDialog, prompt, reportBug, setShellApiClient, setShellAuthBridge, setShellNavIcons, setWindowDefaultPosition, toast, useBugReport, useClickOutside, useDesktopHost, useEditHotkey, useLocalStoragePrefs, useModalActive, useNewHotkey, useShellAuth, useShellEntityFetcher, useShellPrefs, useWidgetSettings, useWindowManager, useWindowMenuItem, useWindowTitle };
780
+ export { ALT, ALT_SHIFT_D, ALT_SHIFT_E, ALT_SHIFT_N, type BugReport, type BugReportConfig, BugReportConfigProvider, BugReportDetail, type BugReportExtraField, type BugReportExtraSelectField, BugReportProvider, type BugReportSubmission, type BugReportSubmitPayload, CMD_A, CMD_DOT, CMD_ENTER, CMD_K, CMD_S, CancelButton, type ChangelogEntry, ConfirmProvider, CopyButton, Customization, Desktop, type DesktopHostConfig, DesktopHostProvider, DocFavStar, ENTER, type EntityFetcher, GLASS_DIVIDER, GLASS_INPUT_BG, GlobalSearch, Layout, type LayoutProps, MOD, Modal, ModalActions, NotificationBell, type NotificationsConfig, PopupMenu, PopupMenuDivider, PopupMenuItem, PopupMenuLabel, type ReportType, SHIFT, type SearchConfig, type SearchProvider, type SearchResult, type SemanticGroup, type ShellAuth, ShellAuthProvider, ShellEntityFetcherProvider, type ShellNotification, type ShellPrefsAdapter, ShellPrefsProvider, ShortcutHelp, StartMenu, StatusBadge, StatusBadgeProvider, type StickyEntityRef, type StickyResolver, VERSION, WindowManagerProvider, WindowRegistry, WindowTitle, confirm, confirmDestructive, createWindowRegistry, formatDate, getActiveWindowRoute, glassStyle, isMac, openBugReportDialog, prompt, reportBug, setShellApiClient, setShellAuthBridge, setShellNavIcons, setWindowDefaultPosition, toast, useBugReport, useClickOutside, useDesktopHost, useEditHotkey, useLocalStoragePrefs, useModalActive, useNewHotkey, useShellAuth, useShellEntityFetcher, useShellPrefs, useWidgetSettings, useWindowManager, useWindowMenuItem, useWindowTitle };
package/dist/index.js CHANGED
@@ -6,12 +6,12 @@ import { useGoogleAuth } from './chunk-MVWEL34Y.js';
6
6
  import { useShellPrefs } from './chunk-36VM54SC.js';
7
7
  export { ShellPrefsProvider, useLocalStoragePrefs, useShellPrefs } from './chunk-36VM54SC.js';
8
8
  import { playNotification, playStartup, soundsEnabled, getSoundConfig, SOUND_PACK_KEYS, SOUND_PACKS, SOUND_TYPES, SOUND_TYPE_LABELS, playLogout, setSoundForType, previewSound, setAllSounds } from './chunk-D7PYW2QS.js';
9
- import { setPdfPreview } from './chunk-G6WVMTJU.js';
9
+ import { setPdfPreview } from './chunk-BV54NLUT.js';
10
10
  import './chunk-KUIPWCTJ.js';
11
11
  import { toast_default } from './chunk-WIJ45SYD.js';
12
12
  export { toast_default as toast } from './chunk-WIJ45SYD.js';
13
- import { useWindowManager, glassStyle, PopupMenu, PopupMenuLabel, PopupMenuDivider, PopupMenuItem, Modal, startMenuCategories, useIsMobile, navSections, isSection, GLASS_INPUT_BG, navIcons, sectionIcons, ModalActions, useModalActive, WINDOW_REGISTRY, isPageEntry, LoadingSpinner, ThumbCard, activateModal } from './chunk-7M3BBAHQ.js';
14
- export { CancelButton, CopyButton, DocFavStar, GLASS_DIVIDER, GLASS_INPUT_BG, Modal, ModalActions, PopupMenu, PopupMenuDivider, PopupMenuItem, PopupMenuLabel, WindowManagerProvider, WindowTitle, glassStyle, isEntityEntry, isPageEntry, setShellApiClient, setShellNavIcons, setShellWindowRegistry, setWindowDefaultPosition, useModalActive, useWidgetSettings, useWindowManager, useWindowMenuItem, useWindowTitle } from './chunk-7M3BBAHQ.js';
13
+ import { useWindowManager, glassStyle, PopupMenu, PopupMenuLabel, PopupMenuDivider, PopupMenuItem, Modal, startMenuCategories, useIsMobile, navSections, isSection, GLASS_INPUT_BG, navIcons, sectionIcons, ModalActions, useModalActive, WINDOW_REGISTRY, isPageEntry, LoadingSpinner, ThumbCard, activateModal } from './chunk-VVXXHR5V.js';
14
+ export { CancelButton, CopyButton, DocFavStar, GLASS_DIVIDER, GLASS_INPUT_BG, Modal, ModalActions, PopupMenu, PopupMenuDivider, PopupMenuItem, PopupMenuLabel, WindowManagerProvider, WindowTitle, getActiveWindowRoute, glassStyle, isEntityEntry, isPageEntry, setShellApiClient, setShellNavIcons, setShellWindowRegistry, setWindowDefaultPosition, useModalActive, useWidgetSettings, useWindowManager, useWindowMenuItem, useWindowTitle } from './chunk-VVXXHR5V.js';
15
15
  import { confirm } from './chunk-PLGHQ7QW.js';
16
16
  export { ConfirmProvider, confirm, confirmDestructive, prompt } from './chunk-PLGHQ7QW.js';
17
17
  import { createContext, lazy, useState, useRef, useEffect, useCallback, useLayoutEffect, useContext, Suspense, isValidElement, cloneElement, useSyncExternalStore, useMemo } from 'react';
@@ -895,7 +895,7 @@ function StatusBadge({ status }) {
895
895
  }
896
896
 
897
897
  // src/version.ts
898
- var VERSION = "0.2.48" ;
898
+ var VERSION = "0.2.49" ;
899
899
  var APP_VERSION = VERSION;
900
900
 
901
901
  // src/changelog.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-os-shell",
3
- "version": "0.2.48",
3
+ "version": "0.2.49",
4
4
  "description": "Desktop-style React UI shell — windows, taskbar, start menu, sticky notes, frosted glass theming, and 17 bundled apps including a PDF Preview viewer.",
5
5
  "license": "MIT",
6
6
  "author": "Victor Y. Mau",
@@ -1,8 +0,0 @@
1
- export { Files as default, openFilesInTrashMode } from './chunk-FWOHEXUL.js';
2
- import './chunk-G6WVMTJU.js';
3
- import './chunk-KUIPWCTJ.js';
4
- import './chunk-WIJ45SYD.js';
5
- import './chunk-7M3BBAHQ.js';
6
- import './chunk-PLGHQ7QW.js';
7
- //# sourceMappingURL=Files-QMEAFYY4.js.map
8
- //# sourceMappingURL=Files-QMEAFYY4.js.map
@@ -1,7 +0,0 @@
1
- export { Preview as default, setPdfPreview } from './chunk-G6WVMTJU.js';
2
- import './chunk-KUIPWCTJ.js';
3
- import './chunk-WIJ45SYD.js';
4
- import './chunk-7M3BBAHQ.js';
5
- import './chunk-PLGHQ7QW.js';
6
- //# sourceMappingURL=Preview-KX753OG4.js.map
7
- //# sourceMappingURL=Preview-KX753OG4.js.map