react-os-shell 3.17.1 → 3.19.1

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 (50) hide show
  1. package/dist/{Browser-77H2ZZLT.js → Browser-CHCL2XCI.js} +6 -6
  2. package/dist/{Browser-77H2ZZLT.js.map → Browser-CHCL2XCI.js.map} +1 -1
  3. package/dist/{Calculator-VNAHCUPX.js → Calculator-IYQBRKNC.js} +5 -5
  4. package/dist/{Calculator-VNAHCUPX.js.map → Calculator-IYQBRKNC.js.map} +1 -1
  5. package/dist/{CurrencyConverter-6KCSMTK3.js → CurrencyConverter-JC2U6AD5.js} +5 -5
  6. package/dist/{CurrencyConverter-6KCSMTK3.js.map → CurrencyConverter-JC2U6AD5.js.map} +1 -1
  7. package/dist/{Documents-LQTYAUKW.js → Documents-ZKNFPZSQ.js} +6 -6
  8. package/dist/{Documents-LQTYAUKW.js.map → Documents-ZKNFPZSQ.js.map} +1 -1
  9. package/dist/{Files-757RXEST.js → Files-D3DLAWPB.js} +8 -8
  10. package/dist/{Files-757RXEST.js.map → Files-D3DLAWPB.js.map} +1 -1
  11. package/dist/{Notepad-GYLYX7T3.js → Notepad-ROCYE66F.js} +6 -6
  12. package/dist/{Notepad-GYLYX7T3.js.map → Notepad-ROCYE66F.js.map} +1 -1
  13. package/dist/{PomodoroTimer-JXQ7AUGT.js → PomodoroTimer-5HUENCFB.js} +6 -6
  14. package/dist/{PomodoroTimer-JXQ7AUGT.js.map → PomodoroTimer-5HUENCFB.js.map} +1 -1
  15. package/dist/{Preview-YR23SFGX.js → Preview-YBEAIJWC.js} +6 -6
  16. package/dist/{Preview-YR23SFGX.js.map → Preview-YBEAIJWC.js.map} +1 -1
  17. package/dist/{Sidebar-PY762ANK.js → Sidebar-AGFOKQ5J.js} +3 -3
  18. package/dist/{Sidebar-PY762ANK.js.map → Sidebar-AGFOKQ5J.js.map} +1 -1
  19. package/dist/{Spreadsheet-NCAGYS2M.js → Spreadsheet-ZPZ3ZSQW.js} +6 -6
  20. package/dist/{Spreadsheet-NCAGYS2M.js.map → Spreadsheet-ZPZ3ZSQW.js.map} +1 -1
  21. package/dist/{Stock-4KKYNRLJ.js → Stock-OX7CDMRJ.js} +5 -5
  22. package/dist/{Stock-4KKYNRLJ.js.map → Stock-OX7CDMRJ.js.map} +1 -1
  23. package/dist/{Weather-AGOD4HUE.js → Weather-5MCEUYIK.js} +5 -5
  24. package/dist/{Weather-AGOD4HUE.js.map → Weather-5MCEUYIK.js.map} +1 -1
  25. package/dist/{WorldClock-NIHBWJUF.js → WorldClock-I4E7BXFK.js} +5 -5
  26. package/dist/{WorldClock-NIHBWJUF.js.map → WorldClock-I4E7BXFK.js.map} +1 -1
  27. package/dist/apps/index.js +18 -18
  28. package/dist/{chunk-YOSS3REK.js → chunk-3ZRS7MY7.js} +3 -3
  29. package/dist/{chunk-YOSS3REK.js.map → chunk-3ZRS7MY7.js.map} +1 -1
  30. package/dist/{chunk-5Z3GCMCZ.js → chunk-73IUVYII.js} +3 -3
  31. package/dist/{chunk-5Z3GCMCZ.js.map → chunk-73IUVYII.js.map} +1 -1
  32. package/dist/{chunk-UPO23MX4.js → chunk-AA24QYTD.js} +3 -3
  33. package/dist/{chunk-UPO23MX4.js.map → chunk-AA24QYTD.js.map} +1 -1
  34. package/dist/{chunk-ZF6AYO4G.js → chunk-GW3RA6IS.js} +20 -2
  35. package/dist/chunk-GW3RA6IS.js.map +1 -0
  36. package/dist/{chunk-UFR3CXIF.js → chunk-LRVPNWRE.js} +3 -3
  37. package/dist/{chunk-UFR3CXIF.js.map → chunk-LRVPNWRE.js.map} +1 -1
  38. package/dist/{chunk-DQXFKKET.js → chunk-RPSFO2H2.js} +86 -25
  39. package/dist/chunk-RPSFO2H2.js.map +1 -0
  40. package/dist/chunk-TMV4ZMIJ.js +7 -0
  41. package/dist/{chunk-FTOV2TSV.js.map → chunk-TMV4ZMIJ.js.map} +1 -1
  42. package/dist/{chunk-EOJXG5DW.js → chunk-VF2OX22J.js} +5 -5
  43. package/dist/{chunk-EOJXG5DW.js.map → chunk-VF2OX22J.js.map} +1 -1
  44. package/dist/index.js +71 -40
  45. package/dist/index.js.map +1 -1
  46. package/dist/styles.css +27 -0
  47. package/package.json +1 -1
  48. package/dist/chunk-DQXFKKET.js.map +0 -1
  49. package/dist/chunk-FTOV2TSV.js +0 -7
  50. package/dist/chunk-ZF6AYO4G.js.map +0 -1
@@ -1,7 +0,0 @@
1
- // src/version.ts
2
- var VERSION = "3.17.1" ;
3
- var APP_VERSION = VERSION;
4
-
5
- export { APP_VERSION, VERSION };
6
- //# sourceMappingURL=chunk-FTOV2TSV.js.map
7
- //# sourceMappingURL=chunk-FTOV2TSV.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/shell/nav-types.ts","../src/shell-config/nav.tsx","../src/utils/glass.ts"],"names":[],"mappings":";AAkDO,SAAS,UAAU,IAAA,EAAgD;AACxE,EAAA,OAAO,OAAA,IAAW,IAAA;AACpB;;;ACpCA,IAAM,YAAuC,EAAC;AACvC,IAAM,QAAA,GAAsC,IAAI,KAAA,CAAM,SAAA,EAAW;AAAA,EACtE,GAAA,CAAI,IAAI,CAAA,EAAW;AAAE,IAAA,OAAO,UAAU,CAAC,CAAA;AAAA,EAAG,CAAA;AAAA,EAC1C,GAAA,CAAI,IAAI,CAAA,EAAW;AAAE,IAAA,OAAO,CAAA,IAAK,SAAA;AAAA,EAAW,CAAA;AAAA,EAC5C,OAAA,GAAU;AAAE,IAAA,OAAO,MAAA,CAAO,KAAK,SAAS,CAAA;AAAA,EAAG,CAAA;AAAA,EAC3C,wBAAA,CAAyB,IAAI,CAAA,EAAW;AACtC,IAAA,IAAI,CAAA,IAAK,SAAA,EAAW,OAAO,EAAE,YAAA,EAAc,IAAA,EAAM,UAAA,EAAY,IAAA,EAAM,KAAA,EAAO,SAAA,CAAU,CAAC,CAAA,EAAE;AACvF,IAAA,OAAO,MAAA;AAAA,EACT;AACF,CAAC;AACM,S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A,EAAA,OAAO;AAAA,IACL,UAAA,EAAY,4CAA4C,CAAA,GAAI,IAAI,0BAA0B,CAAA,GAAI,IAAI,CAAA,wBAAA,EAA2B,CAAA,GAAI,IAAI,CAAA,OAAA,CAAA;AAAA,IACrI,cAAA,EAAgB,0BAAA;AAAA,IAChB,oBAAA,EAAsB,0BAAA;AAAA,IACtB,MAAA,EAAQ,kCAAA;AAAA,IACR,SAAA,EAAW;AAAA,GACb;AACF;AAGO,IAAM,aAAA,GAAgB;AAKtB,IAAM,cAAA,GAAiB","file":"chunk-ZF6AYO4G.js","sourcesContent":["/**\n * Nav data types used by <Layout> + <StartMenu>. The actual sections, icons,\n * and categories are consumer-supplied via Layout props — the package never\n * ships nav DATA, only the shape it expects.\n */\nimport type { ReactNode } from 'react';\n\nexport interface NavItem {\n to: string;\n label: string;\n perms?: string[];\n dividerAfter?: boolean;\n /** Optional 3rd-level sub-items. Hovering the parent in <StartMenu> opens\n * a nested flyout; in <Sidebar> the parent becomes an inline sub-accordion. */\n children?: NavItem[];\n}\n\nexport interface NavSection {\n label: string;\n items: NavItem[];\n perms?: string[];\n /** Optional landing route for clicks on the section title itself\n * (e.g. R&D's `/rd` dashboard). */\n to?: string;\n}\n\nexport interface VirtualSection {\n label: string;\n items: NavItem[];\n icon?: ReactNode;\n}\n\nexport interface StartMenuCategories {\n /** Section labels rendered in the \"ERP\" group (bold, with section icon). */\n erp: string[];\n /** Section labels rendered in the \"system\" group. */\n system: string[];\n /** Optional virtual flyouts (e.g. a \"Utilities\" tray). */\n virtual?: VirtualSection[];\n /** Optional section labels pinned to the bottom of the menu, next to the user\n * profile, separated from the ERP group by a divider. */\n footer?: string[];\n /** Optional flat top-level items pinned to the bottom of the menu, next to\n * the user profile, separated from the ERP group by a divider. Unlike\n * `footer` (section labels rendered as flyouts), these render as direct\n * clickable rows — use for standalone destinations like System Preferences\n * or a bug-report link. */\n footerItems?: NavItem[];\n}\n\nexport function isSection(item: NavSection | NavItem): item is NavSection {\n return 'items' in item;\n}\n","/**\n * INTERNAL stub — package-side compatibility for files that legacy-imported\n * default nav data from `shell-config/nav`. The package never ships nav\n * DATA; consumers always supply `navSections` / `navIcons` / `sectionIcons` /\n * `categories` as Layout props.\n *\n * Empty defaults exported here so the copied files compile during the\n * extraction transition. Each consumer-facing field is also re-exported as\n * a TYPE alias for code that only needed the shape.\n */\nimport type { ReactNode } from 'react';\nimport type { NavItem, NavSection, StartMenuCategories, VirtualSection } from '../shell/nav-types';\n\n// Live proxy: WindowManager reads window-title icons from this module-level\n// map. Consumers register their full icon set once at app startup so the\n// title bars show the same glyphs as the start menu.\nconst _navIcons: Record<string, ReactNode> = {};\nexport const navIcons: Record<string, ReactNode> = new Proxy(_navIcons, {\n get(_t, k: string) { return _navIcons[k]; },\n has(_t, k: string) { return k in _navIcons; },\n ownKeys() { return Object.keys(_navIcons); },\n getOwnPropertyDescriptor(_t, k: string) {\n if (k in _navIcons) return { configurable: true, enumerable: true, value: _navIcons[k] };\n return undefined;\n },\n});\nexport function setShellNavIcons(icons: Record<string, ReactNode>): void {\n for (const k of Object.keys(_navIcons)) delete _navIcons[k];\n Object.assign(_navIcons, icons);\n}\n\nexport const sectionIcons: Record<string, ReactNode> = {};\nexport const navSections: (NavSection | NavItem)[] = [];\nexport const startMenuCategories: StartMenuCategories = { erp: [], system: [], virtual: [], footer: [] };\n\nexport { isSection } from '../shell/nav-types';\nexport type { NavItem, NavSection, StartMenuCategories, VirtualSection };\n","import type { CSSProperties } from 'react';\n\n/** Read the system menu opacity from CSS custom property set by Layout */\nfunction getMenuOpacity(): number {\n try {\n const val = getComputedStyle(document.documentElement).getPropertyValue('--menu-opacity')?.trim();\n if (val) return parseFloat(val);\n } catch {}\n return 0.95;\n}\n\nfunction isDarkTheme(): boolean {\n try {\n return document.documentElement.getAttribute('data-theme') === 'dark';\n } catch {\n return false;\n }\n}\n\n/** Frosted glass style — shared across all menus, popups, and glass UI elements.\n * Reads --menu-opacity CSS variable set by the theme system, and adapts the\n * base tint to dark mode so menus don't stay light-cream when text is light. */\nexport function glassStyle(opacity?: number): CSSProperties {\n const o = opacity ?? getMenuOpacity();\n if (isDarkTheme()) {\n // Dark frosted glass — Catppuccin-aligned base (#1e1e2e / 30,30,46) with\n // a subtle gradient and lighter inner highlight.\n return {\n background: `linear-gradient(135deg, rgba(30,30,46,${o * 0.85}) 0%, rgba(24,24,37,${o * 0.75}) 50%, rgba(30,30,46,${o * 0.85}) 100%)`,\n backdropFilter: 'blur(40px) saturate(1.6)',\n WebkitBackdropFilter: 'blur(40px) saturate(1.6)',\n border: '1px solid rgba(255,255,255,0.08)',\n boxShadow: 'inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -1px 0 rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3)',\n };\n }\n return {\n background: `linear-gradient(135deg, rgba(255,255,255,${o * 0.85}) 0%, rgba(255,255,255,${o * 0.65}) 50%, rgba(255,255,255,${o * 0.75}) 100%)`,\n backdropFilter: 'blur(40px) saturate(1.8)',\n WebkitBackdropFilter: 'blur(40px) saturate(1.8)',\n border: '1px solid rgba(255,255,255,0.35)',\n boxShadow: 'inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -1px 0 rgba(255,255,255,0.1), 0 8px 32px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08)',\n };\n}\n\n/** Glass divider border color */\nexport const GLASS_DIVIDER = 'border-white/20';\n\n/** Glass input/search bar background — declared in styles.css so it can adapt\n * to dark mode (a flat `bg-white/15` reads as a too-bright tile on the dark\n * glass gradient). */\nexport const GLASS_INPUT_BG = 'glass-input-bg';\n"]}