@wizeworks/silicaui-mcp 0.59.3 → 0.60.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/dist/data/classes.json +10 -1
- package/dist/data/components.json +481 -314
- package/dist/data/schema.json +22 -1
- package/dist/data/themes.json +1 -1
- package/package.json +1 -1
package/dist/data/schema.json
CHANGED
|
@@ -291,6 +291,12 @@
|
|
|
291
291
|
"optional": true,
|
|
292
292
|
"type": "number",
|
|
293
293
|
"doc": ""
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "audience",
|
|
297
|
+
"optional": true,
|
|
298
|
+
"type": "unknown",
|
|
299
|
+
"doc": "WHO this render is for — the viewer, the recipient, the signed-in visitor. Opaque to silica, exactly like a `ref`: the core never reads it, never compares it and has no idea what is inside. It is carried from the caller of `resolveTree`/`resolveEmailTree` down to every `resolveBinding` call so a host can answer the same reference differently for different people. Separate from `item`/`index` on purpose. Those two say WHERE in a repeat a node is, and they are rewritten on every iteration; this says who the whole render is addressed to, and it is constant across the walk. Overloading `item` would have collided the moment an audience-aware binding appeared inside a collection. Added for P04 act 6 — one marketing email, three shops — where the builder could render exactly one recipient's version of a document and an author had no way to look at anybody else's."
|
|
294
300
|
}
|
|
295
301
|
],
|
|
296
302
|
"options": [
|
|
@@ -336,7 +342,10 @@
|
|
|
336
342
|
"role",
|
|
337
343
|
"tabindex",
|
|
338
344
|
"hidden",
|
|
339
|
-
"inert"
|
|
345
|
+
"inert",
|
|
346
|
+
"dir",
|
|
347
|
+
"lang",
|
|
348
|
+
"translate"
|
|
340
349
|
],
|
|
341
350
|
"tags": [
|
|
342
351
|
{
|
|
@@ -605,6 +614,18 @@
|
|
|
605
614
|
"void": false,
|
|
606
615
|
"attrs": []
|
|
607
616
|
},
|
|
617
|
+
{
|
|
618
|
+
"tag": "bdi",
|
|
619
|
+
"group": "text",
|
|
620
|
+
"void": false,
|
|
621
|
+
"attrs": []
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"tag": "bdo",
|
|
625
|
+
"group": "text",
|
|
626
|
+
"void": false,
|
|
627
|
+
"attrs": []
|
|
628
|
+
},
|
|
608
629
|
{
|
|
609
630
|
"tag": "ul",
|
|
610
631
|
"group": "list",
|
package/dist/data/themes.json
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"prefersdark"
|
|
39
39
|
],
|
|
40
40
|
"tokenNote": "Any Silica token can also be set in the same block — `--color-*`, `--radius-*`, `--size-field`, `--border`, `--depth`, … (get_tokens lists them). Those entries are collected generically, so the list is open; the four named options above are the plugin's own switches.",
|
|
41
|
-
"doc": "
|
|
41
|
+
"doc": "Tailwind hands a COMMA-SEPARATED option value to a plugin as an ARRAY, not as one string. `index.js` knows this — `parseColors` and `parsePrefix` both open with `Array.isArray(option)` — but that knowledge never reached this file, and the old `unquote` fell straight through on an array because `typeof v` was not `\"string\"`. The array then reached `addBase`, which emits ONE DECLARATION PER ELEMENT under the same property name, so the last fragment won: --font-head: \"Cormorant Garamond\", serif; → --font-head: Cormorant Garamond; --font-head: serif; ← wins A theme's type faces were therefore impossible to set through the documented CSS path, and it failed silently: you get the generic `serif`, which looks like a font rather than like a bug. Multi-layer shadows split the same way. Joining is the whole fix. See docs/personas/issues/031.",
|
|
42
42
|
"contentNote": "A `--color-X` with no matching `--color-X-content` gets a legible foreground auto-derived by measured contrast — declare one only to override that choice.",
|
|
43
43
|
"partialNote": "Partial overrides are fine: unspecified tokens fall through to the built-in theme via the cascade. Load the theme plugin AFTER `@plugin \"@wizeworks/silicaui\"` so source order puts your values on top."
|
|
44
44
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wizeworks/silicaui-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.60.1",
|
|
4
4
|
"description": "A local MCP server that lets AI coding assistants query the Silica UI design system — real class names, component props, blocks, and behaviors — instead of guessing.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|