@smwb/ui-mcp-solid 2.3.0 → 2.5.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.
|
@@ -44,6 +44,16 @@
|
|
|
44
44
|
"required": false,
|
|
45
45
|
"description": "Semantic color token."
|
|
46
46
|
},
|
|
47
|
+
"customColor": {
|
|
48
|
+
"type": "string | undefined",
|
|
49
|
+
"required": false,
|
|
50
|
+
"description": "Paints the chip in an arbitrary CSS `<color>` (hex, `rgb()`, `hsl()`, a\nnamed color, `oklch()`, ...): the fill of a `filled` chip, the border and\nthe hover / selected tint of an `outlined` one. A bare hex such as\n`d73a4a` (the form trackers return label colors in) is read as `#d73a4a`;\na translucent color is drawn composited over the theme's page background.\nHover, active, selected and focus keep working on top; a disabled chip\nkeeps the disabled look; `customColor` wins over `color`. An empty value\nis no custom color.\n\nA filled chip's label and icons are black or white, whichever contrasts\nmore with the fill (at least 4.5:1, WCAG AA). An outlined chip keeps the\ntheme's label color, readable on both themes."
|
|
51
|
+
},
|
|
52
|
+
"customTextColor": {
|
|
53
|
+
"type": "string | undefined",
|
|
54
|
+
"required": false,
|
|
55
|
+
"description": "Label/icon color for a chip with `customColor`, over the automatic one, on\nboth variants; its contrast is the caller's to check. Without\n`customColor` it does nothing."
|
|
56
|
+
},
|
|
47
57
|
"onDelete": {
|
|
48
58
|
"type": "(event: MouseEvent & { currentTarget: HTMLButtonElement; target: Element }) => void",
|
|
49
59
|
"required": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "DagView",
|
|
3
|
-
"description": "A dependency graph (DAG): nodes laid out in layers (LR or TB) with arrowed edges, status colours from theme tokens, any node content through renderNode, single selection that lights the selected node's edges, and pan/zoom by mouse, wheel, trackpad, touch and keyboard (role=listbox of options).",
|
|
3
|
+
"description": "A dependency graph (DAG): nodes laid out in layers (LR or TB) with arrowed edges, status colours from theme tokens, any node content through renderNode, single selection that lights the selected node's edges, an `active: true` edge showing work flowing along it, running nodes pulsing (animateRunning), and pan/zoom by mouse, wheel, trackpad, touch and keyboard (role=listbox of options).",
|
|
4
4
|
"ssr": {
|
|
5
5
|
"safe": true,
|
|
6
6
|
"rendering": "universal"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"edges": {
|
|
40
40
|
"type": "readonly DagViewEdge[]",
|
|
41
41
|
"required": true,
|
|
42
|
-
"description": "The edges, from the node depended on to the node that depends on it."
|
|
42
|
+
"description": "The edges, from the node depended on to the node that depends on it; `active: true` on an edge shows work flowing along it."
|
|
43
43
|
},
|
|
44
44
|
"renderNode": {
|
|
45
45
|
"type": "((node: DagViewNode<T>, state: DagViewNodeState) => JSX.Element) | undefined",
|
|
@@ -101,6 +101,11 @@
|
|
|
101
101
|
"required": false,
|
|
102
102
|
"description": "Fades the nodes and edges that are not next to the selected node."
|
|
103
103
|
},
|
|
104
|
+
"animateRunning": {
|
|
105
|
+
"type": "boolean | undefined",
|
|
106
|
+
"required": false,
|
|
107
|
+
"description": "A running node's frame glows and pulses, and its status dot pulses; true by\ndefault. False keeps running nodes still (no glow, no dot pulse). With\nreduced motion nothing moves either way and the glow stays."
|
|
108
|
+
},
|
|
104
109
|
"viewport": {
|
|
105
110
|
"type": "DagViewViewport | undefined",
|
|
106
111
|
"required": false,
|
|
@@ -25,6 +25,11 @@
|
|
|
25
25
|
"required": false,
|
|
26
26
|
"description": "A count (or a short text) drawn as a `Badge` at the item's icon, or after the title when the item has no icon.\n`0`, `\"0\"`, an empty string and `undefined` draw nothing. The item's accessible name reads `\"<title> <badge>\"`."
|
|
27
27
|
},
|
|
28
|
+
"aria-current": {
|
|
29
|
+
"type": "JSX.HTMLAttributes<HTMLElement>[\"aria-current\"]",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "The value of `aria-current` while this item is the active one; the default is `\"page\"`. Inactive items carry no\n`aria-current`, whatever this holds, and the attribute moves with the active item."
|
|
32
|
+
},
|
|
28
33
|
"icon": {
|
|
29
34
|
"type": "JSX.Element",
|
|
30
35
|
"required": false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smwb/ui-mcp-solid",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Model Context Protocol server exposing the @smwb/ui-solid (SolidJS) component catalog and customization guide.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"zod": "^4.4.3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@smwb/ui-solid": "^2.
|
|
32
|
-
"@smwb/ui-styles": "^2.
|
|
31
|
+
"@smwb/ui-solid": "^2.5.0",
|
|
32
|
+
"@smwb/ui-styles": "^2.6.0",
|
|
33
33
|
"glob": "^13.0.6",
|
|
34
34
|
"typescript": "^6.0.3",
|
|
35
35
|
"vitest": "^2.1.9"
|