react-os-shell 0.2.49 → 0.2.51

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/index.d.ts CHANGED
@@ -630,8 +630,14 @@ interface LayoutProps {
630
630
  /** Universal search config — when omitted, Cmd-K opens the picker but no
631
631
  * results ever come back. */
632
632
  search?: SearchConfig;
633
- }
634
- declare function Layout({ productName, productIcon, wallpapers, navSections, navIcons, sectionIcons, categories, notifications, search, }?: LayoutProps): react_jsx_runtime.JSX.Element;
633
+ /** Custom node rendered in the system tray to the LEFT of the
634
+ * notification bell (or above it on a vertical taskbar). Lets a host
635
+ * app drop in icons like a server-status indicator without forking
636
+ * the shell. The shell renders the node as-is — keep it small (a
637
+ * single icon-sized button) so it fits the existing tray rhythm. */
638
+ taskbarTrayLeft?: ReactNode;
639
+ }
640
+ declare function Layout({ productName, productIcon, wallpapers, navSections, navIcons, sectionIcons, categories, notifications, search, taskbarTrayLeft, }?: LayoutProps): react_jsx_runtime.JSX.Element;
635
641
 
636
642
  interface StartMenuProps {
637
643
  open: boolean;
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ 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-BV54NLUT.js';
9
+ import { setPdfPreview } from './chunk-VTHYW6BX.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';
@@ -895,7 +895,7 @@ function StatusBadge({ status }) {
895
895
  }
896
896
 
897
897
  // src/version.ts
898
- var VERSION = "0.2.49" ;
898
+ var VERSION = "0.2.51" ;
899
899
  var APP_VERSION = VERSION;
900
900
 
901
901
  // src/changelog.ts
@@ -3941,7 +3941,8 @@ function Layout({
3941
3941
  sectionIcons: sectionIcons2 = sectionIcons,
3942
3942
  categories = startMenuCategories,
3943
3943
  notifications,
3944
- search
3944
+ search,
3945
+ taskbarTrayLeft
3945
3946
  } = {}) {
3946
3947
  const bugReport = useBugReport();
3947
3948
  const { user, logout} = useAuth();
@@ -4262,12 +4263,14 @@ function Layout({
4262
4263
  }
4263
4264
  ),
4264
4265
  /* @__PURE__ */ jsx(TaskbarPomodoro, {}),
4266
+ taskbarTrayLeft,
4265
4267
  notifications && /* @__PURE__ */ jsx(NotificationBell, { ...notifications, popDirection: taskbarPosition === "right" ? "left" : "right" })
4266
4268
  ] }) })
4267
4269
  ) : (
4268
4270
  /* Horizontal: icons then clock */
4269
4271
  /* @__PURE__ */ jsxs(Fragment, { children: [
4270
4272
  /* @__PURE__ */ jsx(TaskbarPomodoro, {}),
4273
+ taskbarTrayLeft,
4271
4274
  notifications && /* @__PURE__ */ jsx(NotificationBell, { ...notifications }),
4272
4275
  /* @__PURE__ */ jsx(
4273
4276
  "button",