@kiva/kv-components 8.21.0 → 8.21.1
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/docs/code-connect.md +6 -3
- package/package.json +2 -2
package/docs/code-connect.md
CHANGED
|
@@ -144,6 +144,11 @@ case exactly, and the **`label` is a nested TEXT layer** read with `findText(...
|
|
|
144
144
|
|
|
145
145
|
## Publishing
|
|
146
146
|
|
|
147
|
+
> **Publishing workflow (agents & humans):** for the step-by-step detect →
|
|
148
|
+
> validate → reconcile → publish → verify flow, plus token setup, use the
|
|
149
|
+
> **`publish-code-connect`** skill in `@kiva/kv-skills` (`kiva-design-to-code`
|
|
150
|
+
> plugin). This section is the reference it defers to for authoring/reconciling.
|
|
151
|
+
|
|
147
152
|
Publish writes the mapping to the **shared Figma org library** — every designer and
|
|
148
153
|
engineer with access to that library sees the result. Do this deliberately, not as a
|
|
149
154
|
side effect of another task:
|
|
@@ -197,9 +202,7 @@ to touch it to map a component — it's here for maintenance.
|
|
|
197
202
|
- **Figma plan**: Org or Enterprise (Code Connect publish is gated on this).
|
|
198
203
|
- **A published component** in a Figma team library — Code Connect maps to a published
|
|
199
204
|
component's `node-id`, not a local/unpublished frame.
|
|
200
|
-
- **`FIGMA_ACCESS_TOKEN`** with Code Connect write scope, as a local
|
|
201
|
-
variable. **Never commit this token.** It's only required for `publish`; `parse` needs
|
|
202
|
-
no token.
|
|
205
|
+
- **`FIGMA_ACCESS_TOKEN`** with Code Connect write scope, as a local environment variable (Code Connect write can't run in CI — see the `publish-code-connect` skill for why). **Never commit this token.** It's only required for `publish`; `parse` needs no token.
|
|
203
206
|
- **A way to read the component's real property names/values** before writing or
|
|
204
207
|
reconciling a mapping — the **Figma MCP server** (`get_context_for_code_connect` /
|
|
205
208
|
`get_code_connect_suggestions`) preferred, or the `figma connect create <node-url>` CLI
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "8.21.
|
|
3
|
+
"version": "8.21.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"dependencies": {
|
|
114
114
|
"fuse.js": "^7.1.0"
|
|
115
115
|
},
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "4a6cdd82691d5045a4a728788200bc1980898558"
|
|
117
117
|
}
|