gpui-bridge-react 0.4.0 → 0.4.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.
@@ -225,6 +225,8 @@ export interface WindowProps {
225
225
  minHeight?: number;
226
226
  /** Minimizes (`true`) or restores (`false`) on the next commit. */
227
227
  minimized?: boolean;
228
+ /** Hides (`false`, no taskbar button) or shows and focuses (`true`); Windows only. */
229
+ visible?: boolean;
228
230
  /** No system title bar; only read when the window opens. */
229
231
  frameless?: boolean;
230
232
  /** Classes of the window's root div (default `size-full`). */
@@ -31,7 +31,7 @@ function updateTray(instance, prevProps, nextProps) {
31
31
  }
32
32
  /** `Window` and `Tray` are not nodes of their parent. */
33
33
  const detached = (instance) => Boolean(instance.window || instance.tray);
34
- const WINDOW_OPTIONS = ["title", "width", "height", "x", "y", "minWidth", "minHeight", "minimized", "frameless"];
34
+ const WINDOW_OPTIONS = ["title", "width", "height", "x", "y", "minWidth", "minHeight", "minimized", "visible", "frameless"];
35
35
  /** React handler prop per window event (PROTOCOL.md section 3). */
36
36
  const WINDOW_EVENT_PROPS = {
37
37
  onFocus: "focus",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gpui-bridge-react",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "React renderer for gpui-bridge native UIs",
5
5
  "license": "MIT",
6
6
  "author": "gpui-bridge contributors",
@@ -29,14 +29,14 @@
29
29
  "node": ">=22.6"
30
30
  },
31
31
  "peerDependencies": {
32
- "gpui-bridge": "^0.4.0",
32
+ "gpui-bridge": "^0.4.1",
33
33
  "react": "^19.3.0"
34
34
  },
35
35
  "dependencies": {
36
36
  "react-reconciler": "0.34.0"
37
37
  },
38
38
  "devDependencies": {
39
- "gpui-bridge": "0.4.0",
39
+ "gpui-bridge": "0.4.1",
40
40
  "@types/node": "^26.6.5",
41
41
  "@types/react": "19.3.0",
42
42
  "@types/react-reconciler": "^0.34.0",