@wizeworks/silicaui-mcp 0.45.0 → 0.47.0
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/components.json +6 -0
- package/dist/data/themes.json +3 -0
- package/dist/data/tokens.json +61 -2
- package/package.json +1 -1
|
@@ -6358,6 +6358,12 @@
|
|
|
6358
6358
|
"optional": false,
|
|
6359
6359
|
"type": "React.ReactNode",
|
|
6360
6360
|
"doc": ""
|
|
6361
|
+
},
|
|
6362
|
+
{
|
|
6363
|
+
"name": "popupProps",
|
|
6364
|
+
"optional": true,
|
|
6365
|
+
"type": "Omit<AlertDialogContentProps, \"children\"> & {\n [key: `data-${string}`]: unknown;\n }",
|
|
6366
|
+
"doc": "Props for the portalled `AlertDialogContent` — chiefly `data-theme`. The popup portals to `document.body`, which is OUTSIDE any `[data-theme]` island the provider sits in, so a confirm raised from inside a themed region (an editor shell, a pane, a dark section) would otherwise resolve its tokens against the page instead of that region: <ImperativeAlertDialogProvider popupProps={{ \"data-theme\": \"studio\" }}> `data-*` keys are spelled out in the type because this is an object literal, not a JSX attribute list — TypeScript waives excess-property checks for hyphenated names only in JSX position."
|
|
6361
6367
|
}
|
|
6362
6368
|
]
|
|
6363
6369
|
}
|
package/dist/data/themes.json
CHANGED
package/dist/data/tokens.json
CHANGED
|
@@ -163,6 +163,17 @@
|
|
|
163
163
|
"step": 0.01,
|
|
164
164
|
"doc": "Base unit fields scale their height/padding from — raising it enlarges Input/Select/Button uniformly."
|
|
165
165
|
},
|
|
166
|
+
{
|
|
167
|
+
"key": "--size-selector",
|
|
168
|
+
"label": "Selector size",
|
|
169
|
+
"group": "form",
|
|
170
|
+
"default": "0.25rem",
|
|
171
|
+
"unit": "rem",
|
|
172
|
+
"min": 0.15,
|
|
173
|
+
"max": 0.4,
|
|
174
|
+
"step": 0.01,
|
|
175
|
+
"doc": "Base unit selector controls scale from — raising it enlarges Checkbox/Radio/Switch/Toggle/Badge uniformly. The selector tier is sized separately from fields so a dense checkbox can sit next to a large input."
|
|
176
|
+
},
|
|
166
177
|
{
|
|
167
178
|
"key": "--depth",
|
|
168
179
|
"label": "Depth",
|
|
@@ -183,7 +194,7 @@
|
|
|
183
194
|
"min": 0,
|
|
184
195
|
"max": 1,
|
|
185
196
|
"step": 1,
|
|
186
|
-
"doc": "
|
|
197
|
+
"doc": "Grain texture on the themed surface — the `[data-theme]` element itself, so it covers the page and every scoped island while Card and other raised surfaces keep their clean fill. An on/off switch (1 or 0), not a strength dial: it gates a tiling SVG grain that blends against `--color-base-100`, so one texture reads on light and dark alike."
|
|
187
198
|
},
|
|
188
199
|
{
|
|
189
200
|
"key": "--focus-width",
|
|
@@ -196,6 +207,17 @@
|
|
|
196
207
|
"step": 0.5,
|
|
197
208
|
"doc": "Outline width of the keyboard focus ring across interactive components."
|
|
198
209
|
},
|
|
210
|
+
{
|
|
211
|
+
"key": "--focus-offset",
|
|
212
|
+
"label": "Focus ring offset",
|
|
213
|
+
"group": "effects",
|
|
214
|
+
"default": "2px",
|
|
215
|
+
"unit": "px",
|
|
216
|
+
"min": 0,
|
|
217
|
+
"max": 6,
|
|
218
|
+
"step": 1,
|
|
219
|
+
"doc": "Gap between the control's edge and its focus ring. Fields render the ring as a two-stop box-shadow (base-100 spacer, then the accent), so the offset is what keeps the ring from sitting flush against the border."
|
|
220
|
+
},
|
|
199
221
|
{
|
|
200
222
|
"key": "--disabled-opacity",
|
|
201
223
|
"label": "Disabled opacity",
|
|
@@ -206,6 +228,43 @@
|
|
|
206
228
|
"max": 1,
|
|
207
229
|
"step": 0.05,
|
|
208
230
|
"doc": "Opacity applied to disabled controls."
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"key": "--duration",
|
|
234
|
+
"label": "Transition speed",
|
|
235
|
+
"group": "motion",
|
|
236
|
+
"default": "150ms",
|
|
237
|
+
"unit": "ms",
|
|
238
|
+
"min": 0,
|
|
239
|
+
"max": 500,
|
|
240
|
+
"step": 25,
|
|
241
|
+
"doc": "Length of every state transition in the library — hover, focus, open/close, checked. Snappy-vs-relaxed is a brand axis, so it is one token rather than a per-component prop. Under `prefers-reduced-motion: reduce` it is forced to 0.01ms and a theme's value is ignored."
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"key": "--ease",
|
|
245
|
+
"label": "Transition easing",
|
|
246
|
+
"group": "motion",
|
|
247
|
+
"default": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
248
|
+
"unit": "",
|
|
249
|
+
"options": [
|
|
250
|
+
{
|
|
251
|
+
"label": "Standard",
|
|
252
|
+
"value": "cubic-bezier(0.4, 0, 0.2, 1)"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"label": "Linear",
|
|
256
|
+
"value": "linear"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"label": "Out",
|
|
260
|
+
"value": "cubic-bezier(0, 0, 0.2, 1)"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"label": "Spring",
|
|
264
|
+
"value": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"doc": "Timing function paired with `--duration` on those same transitions. `Spring` overshoots past the target and settles back — the difference between a UI that feels mechanical and one that feels physical."
|
|
209
268
|
}
|
|
210
269
|
],
|
|
211
270
|
"typography": {
|
|
@@ -308,6 +367,6 @@
|
|
|
308
367
|
"--font-serif",
|
|
309
368
|
"--font-mono"
|
|
310
369
|
],
|
|
311
|
-
"note": "Every non-namespace token (see scalarTokens above
|
|
370
|
+
"note": "Every non-namespace token (see scalarTokens above) carries its default inline via var(--token, default) in each component, so an app's own :root/@theme override always wins. --duration is the one token an app cannot always win: under prefers-reduced-motion: reduce it is forced to 0.01ms with !important, on :root and on every [data-theme] island."
|
|
312
371
|
}
|
|
313
372
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wizeworks/silicaui-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
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",
|