react-os-shell 0.2.53 → 0.2.55

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 (44) hide show
  1. package/dist/{Browser-2TIJIWLC.js → Browser-4WIA5UFC.js} +3 -3
  2. package/dist/{Browser-2TIJIWLC.js.map → Browser-4WIA5UFC.js.map} +1 -1
  3. package/dist/{Calculator-F5V74AUF.js → Calculator-WJSLOXOC.js} +4 -4
  4. package/dist/{Calculator-F5V74AUF.js.map → Calculator-WJSLOXOC.js.map} +1 -1
  5. package/dist/{Calendar-KIPFDLRZ.js → Calendar-PNKZHKKU.js} +3 -3
  6. package/dist/{Calendar-KIPFDLRZ.js.map → Calendar-PNKZHKKU.js.map} +1 -1
  7. package/dist/{CurrencyConverter-BEYNE72I.js → CurrencyConverter-23WT33SH.js} +4 -4
  8. package/dist/{CurrencyConverter-BEYNE72I.js.map → CurrencyConverter-23WT33SH.js.map} +1 -1
  9. package/dist/{Documents-3BIQRSXA.js → Documents-QT3EIB6G.js} +3 -3
  10. package/dist/{Documents-3BIQRSXA.js.map → Documents-QT3EIB6G.js.map} +1 -1
  11. package/dist/{Email-RM5N27GG.js → Email-2LZXT2UA.js} +3 -3
  12. package/dist/{Email-RM5N27GG.js.map → Email-2LZXT2UA.js.map} +1 -1
  13. package/dist/Files-6NSYXV5B.js +8 -0
  14. package/dist/{Files-DAT6XKST.js.map → Files-6NSYXV5B.js.map} +1 -1
  15. package/dist/{Minesweeper-F7HUV7HZ.js → Minesweeper-BOCFOG5R.js} +3 -3
  16. package/dist/{Minesweeper-F7HUV7HZ.js.map → Minesweeper-BOCFOG5R.js.map} +1 -1
  17. package/dist/{Notepad-3S24OLEP.js → Notepad-UUUJKLXB.js} +3 -3
  18. package/dist/{Notepad-3S24OLEP.js.map → Notepad-UUUJKLXB.js.map} +1 -1
  19. package/dist/{PomodoroTimer-WEFU2TRQ.js → PomodoroTimer-H4EMUMPT.js} +4 -4
  20. package/dist/{PomodoroTimer-WEFU2TRQ.js.map → PomodoroTimer-H4EMUMPT.js.map} +1 -1
  21. package/dist/Preview-RDGDPER7.js +7 -0
  22. package/dist/{Preview-JEXLZAUR.js.map → Preview-RDGDPER7.js.map} +1 -1
  23. package/dist/{Spreadsheet-2JEK7VD7.js → Spreadsheet-TEK43EVB.js} +3 -3
  24. package/dist/{Spreadsheet-2JEK7VD7.js.map → Spreadsheet-TEK43EVB.js.map} +1 -1
  25. package/dist/{Weather-PETTCLBX.js → Weather-BGLKHRCK.js} +4 -4
  26. package/dist/{Weather-PETTCLBX.js.map → Weather-BGLKHRCK.js.map} +1 -1
  27. package/dist/{WorldClock-QTZM4U5N.js → WorldClock-X3VM3WFT.js} +4 -4
  28. package/dist/{WorldClock-QTZM4U5N.js.map → WorldClock-X3VM3WFT.js.map} +1 -1
  29. package/dist/apps/index.js +17 -17
  30. package/dist/{chunk-P5YKRJIW.js → chunk-4ZCO2DWL.js} +3 -3
  31. package/dist/{chunk-P5YKRJIW.js.map → chunk-4ZCO2DWL.js.map} +1 -1
  32. package/dist/{chunk-7HUGEY5T.js → chunk-OVQOM35O.js} +4 -4
  33. package/dist/{chunk-7HUGEY5T.js.map → chunk-OVQOM35O.js.map} +1 -1
  34. package/dist/{chunk-KMVFHNVT.js → chunk-QHLNMX3Z.js} +31 -46
  35. package/dist/chunk-QHLNMX3Z.js.map +1 -0
  36. package/dist/{chunk-VVXXHR5V.js → chunk-YMSQ23E4.js} +40 -7
  37. package/dist/chunk-YMSQ23E4.js.map +1 -0
  38. package/dist/index.d.ts +13 -1
  39. package/dist/index.js +4 -4
  40. package/package.json +1 -1
  41. package/dist/Files-DAT6XKST.js +0 -8
  42. package/dist/Preview-JEXLZAUR.js +0 -7
  43. package/dist/chunk-KMVFHNVT.js.map +0 -1
  44. package/dist/chunk-VVXXHR5V.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -186,6 +186,18 @@ interface ModalProps {
186
186
  openedFromKey?: string;
187
187
  children: React.ReactNode;
188
188
  }
189
+ declare function toggleExposeMode(): void;
190
+ declare function exitExposeMode(): void;
191
+ declare function subscribeExposeHighlight(fn: () => void): () => boolean;
192
+ declare function getExposeHighlight(): string | null;
193
+ declare function setExposeHighlight(id: string | null): void;
194
+ /**
195
+ * Commit the current keyboard highlight: focus the highlighted window
196
+ * and exit exposé with the standard "picked tile glides back" animation.
197
+ * No-op when no highlight is set.
198
+ */
199
+ declare function commitExposeHighlight(): void;
200
+
189
201
  declare function Modal({ open, onClose, title, icon, copyText, size, dirty, onNext, onPrev, footer, bodyScroll, onMinimize, initialBox, actions, actionsLeft, allowPinOnTop, initialPosition, widget, compact, appStyle, autoHeight, autoMinHeight, widgetMenu, dimensions, windowKey, openedFromKey, children }: ModalProps): react.ReactPortal | null;
190
202
 
191
203
  /**
@@ -783,4 +795,4 @@ declare function useNewHotkey(callback: () => void): void;
783
795
  */
784
796
  declare function useEditHotkey(callback: (() => void) | null): void;
785
797
 
786
- 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 };
798
+ 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, commitExposeHighlight, confirm, confirmDestructive, createWindowRegistry, exitExposeMode, formatDate, getActiveWindowRoute, getExposeHighlight, glassStyle, isMac, openBugReportDialog, prompt, reportBug, setExposeHighlight, setShellApiClient, setShellAuthBridge, setShellNavIcons, setWindowDefaultPosition, subscribeExposeHighlight, toast, toggleExposeMode, 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-KMVFHNVT.js';
9
+ import { setPdfPreview } from './chunk-QHLNMX3Z.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-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';
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-YMSQ23E4.js';
14
+ export { CancelButton, CopyButton, DocFavStar, GLASS_DIVIDER, GLASS_INPUT_BG, Modal, ModalActions, PopupMenu, PopupMenuDivider, PopupMenuItem, PopupMenuLabel, WindowManagerProvider, WindowTitle, commitExposeHighlight, exitExposeMode, getActiveWindowRoute, getExposeHighlight, glassStyle, isEntityEntry, isPageEntry, setExposeHighlight, setShellApiClient, setShellNavIcons, setShellWindowRegistry, setWindowDefaultPosition, subscribeExposeHighlight, toggleExposeMode, useModalActive, useWidgetSettings, useWindowManager, useWindowMenuItem, useWindowTitle } from './chunk-YMSQ23E4.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.52" ;
898
+ var VERSION = "0.2.55" ;
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.53",
3
+ "version": "0.2.55",
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-7HUGEY5T.js';
2
- import './chunk-KMVFHNVT.js';
3
- import './chunk-KUIPWCTJ.js';
4
- import './chunk-WIJ45SYD.js';
5
- import './chunk-VVXXHR5V.js';
6
- import './chunk-PLGHQ7QW.js';
7
- //# sourceMappingURL=Files-DAT6XKST.js.map
8
- //# sourceMappingURL=Files-DAT6XKST.js.map
@@ -1,7 +0,0 @@
1
- export { Preview as default, setPdfPreview } from './chunk-KMVFHNVT.js';
2
- import './chunk-KUIPWCTJ.js';
3
- import './chunk-WIJ45SYD.js';
4
- import './chunk-VVXXHR5V.js';
5
- import './chunk-PLGHQ7QW.js';
6
- //# sourceMappingURL=Preview-JEXLZAUR.js.map
7
- //# sourceMappingURL=Preview-JEXLZAUR.js.map