@sangheepark/figma-ds-mcp 0.2.8 → 0.2.9

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.
@@ -233,6 +233,14 @@ function enrichSpec(traversal, mapping) {
233
233
  if (typeof lh === 'number') {
234
234
  node.style['line-height'] = `${Math.round(lh * 100)}%`;
235
235
  }
236
+ // opacity 정규화: string → number (V11 fix)
237
+ const op = node.style['opacity'];
238
+ if (typeof op === 'string') {
239
+ const parsed = parseFloat(op);
240
+ if (!isNaN(parsed)) {
241
+ node.style['opacity'] = parsed;
242
+ }
243
+ }
236
244
  }
237
245
  // _ds_type 제거 (downstream 미소비 — build 전에 정리)
238
246
  if ('_ds_type' in node) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sangheepark/figma-ds-mcp",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "MCP server for Code to Figma Bridge — bridges Claude Code to Figma plugin via WebSocket",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",