@handamade/psi-mcp 0.22.0 → 0.23.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.22.0",
2
+ "version": "0.23.0",
3
3
  "themes": [
4
4
  "light",
5
5
  "dark",
@@ -5698,7 +5698,7 @@
5698
5698
  "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."
5699
5699
  },
5700
5700
  "utilities": {
5701
- "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.",
5701
+ "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. Every utility sits in @layer psi.utilities, above @layer psi.components, so on a component root it beats the component's own value (D94). Import @handamade/psi-tokens/utilities.css — it is required, not optional; .psi-container and the reduced-motion duration zeroing live there.",
5702
5702
  "families": [
5703
5703
  {
5704
5704
  "prefix": "psi-gap-*",
@@ -5994,6 +5994,26 @@
5994
5994
  "psi-my-144"
5995
5995
  ]
5996
5996
  },
5997
+ {
5998
+ "prefix": "psi-fg-*",
5999
+ "property": "color",
6000
+ "scale": null,
6001
+ "classes": [
6002
+ "psi-fg-primary",
6003
+ "psi-fg-secondary",
6004
+ "psi-fg-tertiary",
6005
+ "psi-fg-quaternary",
6006
+ "psi-fg-primary-inverted",
6007
+ "psi-fg-static-white",
6008
+ "psi-fg-static-black",
6009
+ "psi-fg-on-accent",
6010
+ "psi-fg-accent",
6011
+ "psi-fg-success",
6012
+ "psi-fg-warning",
6013
+ "psi-fg-danger",
6014
+ "psi-fg-on-inverted"
6015
+ ]
6016
+ },
5997
6017
  {
5998
6018
  "prefix": "psi-text-*",
5999
6019
  "property": "font",
@@ -6070,6 +6090,19 @@
6070
6090
  "psi-display-32-32-extrabold",
6071
6091
  "psi-display-36-64-black",
6072
6092
  "psi-display-56-128-black",
6093
+ "psi-fg-accent",
6094
+ "psi-fg-danger",
6095
+ "psi-fg-on-accent",
6096
+ "psi-fg-on-inverted",
6097
+ "psi-fg-primary",
6098
+ "psi-fg-primary-inverted",
6099
+ "psi-fg-quaternary",
6100
+ "psi-fg-secondary",
6101
+ "psi-fg-static-black",
6102
+ "psi-fg-static-white",
6103
+ "psi-fg-success",
6104
+ "psi-fg-tertiary",
6105
+ "psi-fg-warning",
6073
6106
  "psi-gap-0",
6074
6107
  "psi-gap-12",
6075
6108
  "psi-gap-120",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handamade/psi-mcp",
3
- "version": "0.22.0",
3
+ "version": "0.23.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-react": "0.22.0",
37
- "@handamade/psi-tokens": "0.22.0"
36
+ "@handamade/psi-react": "0.23.0",
37
+ "@handamade/psi-tokens": "0.23.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "tsx scripts/build-index.ts && tsc -p tsconfig.build.json"