create-zenbu-app 0.0.32 → 0.0.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-zenbu-app",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "Scaffold a new Zenbu app",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -13,7 +13,7 @@
13
13
  "react-dom": ">=18"
14
14
  },
15
15
  "devDependencies": {
16
- "@zenbujs/core": "0.0.23",
16
+ "@zenbujs/core": "0.0.24",
17
17
  "@types/node": "^22.0.0",
18
18
  "@types/react": "^19.0.0",
19
19
  "@types/react-dom": "^19.0.0",
@@ -12,7 +12,7 @@
12
12
  "db:generate": "zen db generate"
13
13
  },
14
14
  "dependencies": {
15
- "@zenbujs/core": "0.0.23",
15
+ "@zenbujs/core": "0.0.24",
16
16
  "@tailwindcss/vite": "^4.2.0",
17
17
  "@vitejs/plugin-react": "^5.0.0",
18
18
  "react": "^19.0.0",
@@ -21,7 +21,24 @@
21
21
  background: #09090b;
22
22
  }
23
23
  }
24
+ /*
25
+ Matches `Titlebar` (src/renderer/components/titlebar.tsx) so the swap
26
+ from splash to React app is layout-shift free.
27
+ */
28
+ .titlebar {
29
+ height: 40px;
30
+ flex-shrink: 0;
31
+ border-bottom: 1px solid #e4e4e7;
32
+ -webkit-app-region: drag;
33
+ }
34
+ @media (prefers-color-scheme: dark) {
35
+ .titlebar {
36
+ border-bottom-color: #27272a;
37
+ }
38
+ }
24
39
  </style>
25
40
  </head>
26
- <body></body>
41
+ <body>
42
+ <div class="titlebar"></div>
43
+ </body>
27
44
  </html>
@@ -12,7 +12,7 @@
12
12
  "db:generate": "zen db generate"
13
13
  },
14
14
  "dependencies": {
15
- "@zenbujs/core": "0.0.23",
15
+ "@zenbujs/core": "0.0.24",
16
16
  "@vitejs/plugin-react": "^5.0.0",
17
17
  "react": "^19.0.0",
18
18
  "react-dom": "^19.0.0",
@@ -21,7 +21,24 @@
21
21
  background: #09090b;
22
22
  }
23
23
  }
24
+ /*
25
+ Matches `Titlebar` (src/renderer/components/titlebar.tsx + main.css) so
26
+ the swap from splash to React app is layout-shift free.
27
+ */
28
+ .titlebar {
29
+ height: 40px;
30
+ flex-shrink: 0;
31
+ border-bottom: 1px solid #e4e4e7;
32
+ -webkit-app-region: drag;
33
+ }
34
+ @media (prefers-color-scheme: dark) {
35
+ .titlebar {
36
+ border-bottom-color: #27272a;
37
+ }
38
+ }
24
39
  </style>
25
40
  </head>
26
- <body></body>
41
+ <body>
42
+ <div class="titlebar"></div>
43
+ </body>
27
44
  </html>