inkbridge 0.1.0-beta.18 → 0.1.0-beta.19
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/README.md +9 -8
- package/code.js +10 -10
- package/package.json +1 -1
- package/scanner/compound-classes-lookup-regression.ts +81 -33
- package/src/render-engine-version.ts +1 -1
- package/src/tailwind/class-utils.ts +19 -18
package/README.md
CHANGED
|
@@ -180,13 +180,13 @@ ignores:
|
|
|
180
180
|
"react/forbid-dom-props": ["error", {
|
|
181
181
|
"forbid": [{
|
|
182
182
|
"propName": "style",
|
|
183
|
-
"message": "
|
|
183
|
+
"message": "Use Tailwind classes — Inkbridge ignores inline styles."
|
|
184
184
|
}]
|
|
185
185
|
}],
|
|
186
186
|
"react/forbid-component-props": ["error", {
|
|
187
187
|
"forbid": [{
|
|
188
188
|
"propName": "style",
|
|
189
|
-
"message": "
|
|
189
|
+
"message": "Use Tailwind classes — Inkbridge ignores inline styles."
|
|
190
190
|
}]
|
|
191
191
|
}]
|
|
192
192
|
}
|
|
@@ -261,15 +261,16 @@ Component data is always scanned live — you only need to update when a new `in
|
|
|
261
261
|
|
|
262
262
|
```
|
|
263
263
|
Figma plugin (sandboxed)
|
|
264
|
-
└── code.js
|
|
265
|
-
└── ui.html
|
|
264
|
+
└── code.js Main logic — no direct network access
|
|
265
|
+
└── ui.html Hidden iframe — relays I/O for code.js
|
|
266
266
|
|
|
267
|
-
code.js
|
|
268
|
-
|
|
269
|
-
|
|
267
|
+
code.js → ui.html → localhost:4000/api/inkbridge/scan-components
|
|
268
|
+
→ localhost:4000/api/inkbridge/patch-tokens
|
|
269
|
+
→ https://api.github.com
|
|
270
270
|
```
|
|
271
271
|
|
|
272
|
-
All network I/O is relayed through the UI iframe via `postMessage`
|
|
272
|
+
All network I/O is relayed through the UI iframe via `postMessage`
|
|
273
|
+
because the Figma plugin sandbox can't make requests directly.
|
|
273
274
|
|
|
274
275
|
---
|
|
275
276
|
|