@kanso-protocol/mcp 3.0.1 → 4.0.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.
Files changed (2) hide show
  1. package/manifest.json +11 -5
  2. package/package.json +1 -1
package/manifest.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "generatedAt": "2026-05-20T13:56:39.701Z",
3
- "version": "3.0.1",
2
+ "generatedAt": "2026-05-25T13:29:28.020Z",
3
+ "version": "4.0.0",
4
4
  "totals": {
5
5
  "components": 57,
6
6
  "patterns": 22,
@@ -768,7 +768,7 @@
768
768
  },
769
769
  {
770
770
  "name": "color",
771
- "type": "KpColorRole",
771
+ "type": "KpButtonColor",
772
772
  "default": "'primary'",
773
773
  "description": ""
774
774
  },
@@ -829,9 +829,9 @@
829
829
  "selector": "kp-icon-button",
830
830
  "layer": "components",
831
831
  "package": "@kanso-protocol/button",
832
- "description": "Kanso Protocol — IconButton (atom)\n\nSquare ghost button with a single projected icon. Used for \"close\",\n\"clear\", \"dismiss\" affordances on Popover, Dialog, Toast, Input,\nAlert, etc. — replaces per-component reimplementations of the same\npattern (which historically drifted on hover / focus / sizing).\n\nColor is `currentColor` so the button picks up the foreground color\nof its container (e.g. inside Popover header it's `popover-fg-desc`,\ninside Toast it's the toast title color). Hover applies the same\nsubtle overlay used everywhere else.",
832
+ "description": "Kanso Protocol — IconButton (atom)",
833
833
  "examples": [
834
- "<kp-icon-button size=\"sm\" ariaLabel=\"Close\" (click)=\"close()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n <path d=\"M18 6 6 18M6 6l12 12\" stroke=\"currentColor\"\n stroke-width=\"2\" stroke-linecap=\"round\"/>\n </svg>\n </kp-icon-button>"
834
+ "(still works in 4.x but logs a deprecation notice on first use)\n<kp-icon-button size=\"sm\" ariaLabel=\"Close\" (click)=\"close()\">\n<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\">\n<path d=\"M18 6 6 18M6 6l12 12\" stroke=\"currentColor\"\n stroke-width=\"2\" stroke-linecap=\"round\"/>\n</svg>\n</kp-icon-button>"
835
835
  ],
836
836
  "inputs": [
837
837
  {
@@ -5622,6 +5622,12 @@
5622
5622
  "type": "boolean",
5623
5623
  "default": "true",
5624
5624
  "description": ""
5625
+ },
5626
+ {
5627
+ "name": "align",
5628
+ "type": "KpPageHeaderAlign",
5629
+ "default": "'start'",
5630
+ "description": "Cross-axis alignment of the back-button + title + actions row.\nDefault 'start' (optical baseline alignment for multi-line headers\nwith a description). 'center' for single-line headers where the\nback-button should sit mid-height with the title."
5625
5631
  }
5626
5632
  ],
5627
5633
  "outputs": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanso-protocol/mcp",
3
- "version": "3.0.1",
3
+ "version": "4.0.0",
4
4
  "license": "MIT",
5
5
  "description": "Kanso Protocol — Model Context Protocol server. Exposes the component / pattern / token catalog to AI agents so they can author Kanso UI without leaving the editor.",
6
6
  "author": "GregNBlack",