react-os-shell 0.2.50 → 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 +8 -2
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
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
|
@@ -895,7 +895,7 @@ function StatusBadge({ status }) {
|
|
|
895
895
|
}
|
|
896
896
|
|
|
897
897
|
// src/version.ts
|
|
898
|
-
var VERSION = "0.2.
|
|
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",
|