dsh-cad-studio 0.2.7 → 0.2.8

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.
Files changed (2) hide show
  1. package/client.js +2 -2
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -69,7 +69,7 @@ window.__ModuleLoader__.load({
69
69
  // ── activity rail (VSCode's left bar, sized for a 1/3-screen pane) ──
70
70
  rail: { flex: 'none', width: 28, display: 'flex', flexDirection: 'column', alignItems: 'center', gap: 2, padding: '4px 0', borderRight: '1px solid' },
71
71
  railBtn: (active) => ({
72
- width: 24, height: 24, display: 'flex', alignItems: 'center', justifyContent: 'center',
72
+ width: 26, height: 26, display: 'flex', alignItems: 'center', justifyContent: 'center',
73
73
  border: 'none', borderRadius: 5, padding: 0, cursor: 'pointer', background: active ? 'rgba(77,107,254,0.16)' : 'transparent',
74
74
  color: active ? '#4d6bfe' : 'inherit', opacity: active ? 1 : 0.62,
75
75
  boxShadow: active ? 'inset 2px 0 0 #4d6bfe' : 'none',
@@ -367,7 +367,7 @@ window.__ModuleLoader__.load({
367
367
 
368
368
  /** Rail glyphs — 15px so the 28px rail stays a strip, not a column. */
369
369
  function RailIcon({ name }) {
370
- const common = { width: 15, height: 15, viewBox: '0 0 16 16', fill: 'none', stroke: 'currentColor', strokeWidth: 1.3, strokeLinecap: 'round', strokeLinejoin: 'round', 'aria-hidden': 'true' }
370
+ const common = { width: 17, height: 17, viewBox: '0 0 16 16', fill: 'none', stroke: 'currentColor', strokeWidth: 1.25, strokeLinecap: 'round', strokeLinejoin: 'round', 'aria-hidden': 'true' }
371
371
  if (name === 'parts') {
372
372
  return h('svg', common, [
373
373
  h('path', { key: 'a', d: 'M8 1.6 13.7 4.9v6.2L8 14.4 2.3 11.1V4.9L8 1.6Z' }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-cad-studio",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "type": "module",
5
5
  "description": "CAD Studio — FreeCAD 桥(给 AI 的 14 个工具)+ Web 右栏 3D 面板:建模/装配/关节运动/出图/多页签查看",
6
6
  "exports": {