@handamade/psi-mcp 0.16.0 → 0.17.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/psi-index.json +11 -2
- package/package.json +3 -3
package/dist/psi-index.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.17.0",
|
|
3
3
|
"themes": [
|
|
4
4
|
"light",
|
|
5
5
|
"dark",
|
|
@@ -4192,7 +4192,7 @@
|
|
|
4192
4192
|
"radius": "Control radius is size-invariant (D56) — it does NOT ride the size ramp, because border-radius sits on each component's base rule and all four sizes resolve to radius-8. One dial, --psi-control-radius, is the layer to override, aliased per component: --psi-button-radius (Button, and IconButton via the same token), --psi-input-radius, --psi-select-radius, --psi-checkbox-box-radius, and --psi-tooltip-radius. Checkbox and Tooltip cap themselves with min(var(--psi-control-radius), var(--psi-radius-4)) and min(…, var(--psi-radius-6)) respectively so neither over-rounds a small object — but the published radius scale's floor is radius-4, so Checkbox's cap is a no-op for every on-scale value a theme can set; it only bites at an off-scale value like 0px. Tooltip's higher ceiling does track a sharper theme, down to radius-4. Tag and Switch stay --psi-radius-full: pill-ness is component identity, not theme expression. A theme retunes every control's shape by setting --psi-control-radius once. Psi now has two radius dials, not one: --psi-control-radius (here, for interactive controls) and --psi-surface-radius (for elevated surfaces — Dialog, Panel, Menu). --psi-card-radius sits on neither dial, so a theme that retunes controls or surfaces leaves Card at its own default of radius-8."
|
|
4193
4193
|
},
|
|
4194
4194
|
"utilities": {
|
|
4195
|
-
"note": "Every utility class shipped in utilities.css, generated from the same source as the CSS (D79).
|
|
4195
|
+
"note": "Every utility class shipped in utilities.css, generated from the same source as the CSS (D79). Scaled utility families set one property each and create no layout context: .psi-gap-* sets gap only, so pair it with display:flex or grid yourself. The bare/fixed utilities (.psi-container, .psi-media-tint, .psi-sr-only) set several. Import @handamade/psi-tokens/utilities.css — it is required, not optional; .psi-container and the reduced-motion duration zeroing live there.",
|
|
4196
4196
|
"families": [
|
|
4197
4197
|
{
|
|
4198
4198
|
"prefix": "psi-gap-*",
|
|
@@ -4549,6 +4549,14 @@
|
|
|
4549
4549
|
"classes": [
|
|
4550
4550
|
"psi-media-tint"
|
|
4551
4551
|
]
|
|
4552
|
+
},
|
|
4553
|
+
{
|
|
4554
|
+
"prefix": "psi-sr-only",
|
|
4555
|
+
"property": "position, width, height, padding, margin, overflow, clip, clip-path, white-space, border",
|
|
4556
|
+
"scale": null,
|
|
4557
|
+
"classes": [
|
|
4558
|
+
"psi-sr-only"
|
|
4559
|
+
]
|
|
4552
4560
|
}
|
|
4553
4561
|
],
|
|
4554
4562
|
"classes": [
|
|
@@ -4676,6 +4684,7 @@
|
|
|
4676
4684
|
"psi-py-8",
|
|
4677
4685
|
"psi-py-80",
|
|
4678
4686
|
"psi-py-96",
|
|
4687
|
+
"psi-sr-only",
|
|
4679
4688
|
"psi-tabular",
|
|
4680
4689
|
"psi-text-12-16-medium",
|
|
4681
4690
|
"psi-text-12-16-regular",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@handamade/psi-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "MCP server and agent-context generator for the Psi (Ψ) design system",
|
|
6
6
|
"type": "module",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"tsx": "^4.22.4",
|
|
34
34
|
"typescript": "^5.7.0",
|
|
35
35
|
"vitest": "^3.2.6",
|
|
36
|
-
"@handamade/psi-tokens": "0.
|
|
37
|
-
"@handamade/psi-react": "0.
|
|
36
|
+
"@handamade/psi-tokens": "0.17.0",
|
|
37
|
+
"@handamade/psi-react": "0.17.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "tsx scripts/build-index.ts && tsc -p tsconfig.build.json"
|