zidane-gui 8.0.4 → 8.1.0

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.
@@ -77,7 +77,10 @@
77
77
  z-index: 2147483647;
78
78
  background: var(--zg-bg, #0d1013);
79
79
  opacity: 1;
80
- transition: opacity 180ms cubic-bezier(0.23, 1, 0.32, 1);
80
+ /* The `fade-out` motion; the fallback covers the frames before the
81
+ design-system stylesheet lands (this runs before React). */
82
+ transition: opacity var(--zg-motion-fade-out-duration, 140ms)
83
+ var(--zg-motion-fade-out-ease, cubic-bezier(0.33, 1, 0.68, 1));
81
84
  }
82
85
 
83
86
  html.zg-ready .zg-loading {
@@ -85,8 +88,8 @@
85
88
  pointer-events: none;
86
89
  }
87
90
  </style>
88
- <script type="module" crossorigin src="./assets/index-rup1hjNH.js"></script>
89
- <link rel="stylesheet" crossorigin href="./assets/index-miPiOG60.css">
91
+ <script type="module" crossorigin src="./assets/index-DlEFfgBI.js"></script>
92
+ <link rel="stylesheet" crossorigin href="./assets/index-u9t9fsPc.css">
90
93
  </head>
91
94
  <body>
92
95
  <div id="root"></div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zidane-gui",
3
3
  "productName": "Zidane",
4
- "version": "8.0.4",
4
+ "version": "8.1.0",
5
5
  "description": "Zidane Desktop",
6
6
  "author": "StackBlitz",
7
7
  "type": "module",
@@ -23,8 +23,10 @@
23
23
  "start": "electron-vite preview",
24
24
  "link:zidane": "node -e \"const fs=require('fs'),p='node_modules/zidane';fs.rmSync(p,{recursive:true,force:true});fs.symlinkSync('../..',p,'dir')\"",
25
25
  "postinstall": "node scripts/postinstall.mjs",
26
+ "icons:macos": "electron scripts/render-macos-icons.mjs",
26
27
  "prepack": "electron-vite build",
27
- "typecheck": "bun --cwd=.. run build && tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.web.json",
28
+ "typecheck": "bun --cwd=.. run build && bun check -p tsconfig.node.json && bun check -p tsconfig.web.json",
29
+ "typecheck:tsc": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.web.json",
28
30
  "format": "prettier --write .",
29
31
  "format:check": "prettier --check .",
30
32
  "pretest": "bun --cwd=.. run build",
@@ -45,7 +47,6 @@
45
47
  "@pierre/diffs": "^1.5.2",
46
48
  "@pierre/trees": "^1.0.0-beta.6",
47
49
  "@radix-ui/react-dropdown-menu": "^2.1.25",
48
- "@radix-ui/react-tooltip": "^1.3.0",
49
50
  "@tahul/ghostty-web": "^0.6.0",
50
51
  "@tiptap/core": "^3.31.4",
51
52
  "@tiptap/extension-mention": "^3.31.4",
@@ -57,6 +58,7 @@
57
58
  "dotenv": "^17.4.2",
58
59
  "electron": "^41.10.7",
59
60
  "motion": "^13.5.1",
61
+ "quickjs-wasi": "3.6.2",
60
62
  "react": "^19.3.0",
61
63
  "react-dom": "^19.3.0",
62
64
  "react-markdown": "^10.1.0",
@@ -64,7 +66,7 @@
64
66
  "shiki": "^4.5.0",
65
67
  "tippy.js": "^6.3.7",
66
68
  "typescript-language-server": "^6.0.1",
67
- "zidane": "8.0.4",
69
+ "zidane": "8.1.0",
68
70
  "zod": "^4.6.5"
69
71
  },
70
72
  "devDependencies": {
Binary file
Binary file
Binary file
Binary file
@@ -132,10 +132,10 @@ function tryRun(cmd, args) {
132
132
  }
133
133
 
134
134
  /**
135
- * Render resources/icon.png (1024×1024) into a .icns via the sips +
135
+ * Render a 1024×1024 PNG (resources/icon-macos.png) into a .icns via the sips +
136
136
  * iconutil tools that ship with macOS. Returns the icns path or null.
137
137
  */
138
- function buildIcns(iconPng, outDir) {
138
+ export function buildIcns(iconPng, outDir) {
139
139
  const iconset = join(mkdtempSync(join(tmpdir(), 'zidane-icon-')), 'Zidane.iconset');
140
140
  mkdirSync(iconset, { recursive: true });
141
141
  for (const size of [16, 32, 64, 128, 256, 512, 1024]) {
@@ -179,7 +179,8 @@ function installMacApp(pkgDir, electron) {
179
179
  run('plutil', ['-replace', key, '-string', value, plist]);
180
180
  }
181
181
 
182
- const icns = buildIcns(join(pkgDir, 'resources/icon.png'), resources);
182
+ // The icon on Apple's grid, the size of every other app's (`src/main/macos-icon.ts`).
183
+ const icns = buildIcns(join(pkgDir, 'resources/icon-macos.png'), resources);
183
184
  if (icns) {
184
185
  tryRun('plutil', ['-replace', 'CFBundleIconFile', '-string', APP_NAME, plist]);
185
186
  }