@c2n/mcp 0.0.14 → 0.0.15
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/data/registry.json +27 -5
- package/package.json +2 -2
package/data/registry.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"c2nVersion": "0.0.
|
|
3
|
+
"c2nVersion": "0.0.15",
|
|
4
4
|
"categories": [
|
|
5
5
|
"Inputs",
|
|
6
6
|
"Buttons",
|
|
@@ -5952,6 +5952,24 @@
|
|
|
5952
5952
|
"type": "boolean",
|
|
5953
5953
|
"default": "false",
|
|
5954
5954
|
"description": "Declares a toggle button: `aria-pressed` is announced as `false` while not selected. Set by `c2-button-group` in selection modes."
|
|
5955
|
+
},
|
|
5956
|
+
{
|
|
5957
|
+
"name": "type",
|
|
5958
|
+
"type": "'button' | 'submit' | 'reset'",
|
|
5959
|
+
"default": "'button'",
|
|
5960
|
+
"description": "Native button behavior. `submit` submits the nearest form and `reset` restores it."
|
|
5961
|
+
},
|
|
5962
|
+
{
|
|
5963
|
+
"name": "value",
|
|
5964
|
+
"type": "string",
|
|
5965
|
+
"default": "''",
|
|
5966
|
+
"description": "Stable identity used by `c2-button-group` and included in submitted form data when `name` is set."
|
|
5967
|
+
},
|
|
5968
|
+
{
|
|
5969
|
+
"name": "name",
|
|
5970
|
+
"type": "string",
|
|
5971
|
+
"default": "''",
|
|
5972
|
+
"description": "Form field name used with `value` when the button is the control that submits the form."
|
|
5955
5973
|
}
|
|
5956
5974
|
],
|
|
5957
5975
|
"slots": [
|
|
@@ -7052,7 +7070,7 @@
|
|
|
7052
7070
|
"part": "indicator",
|
|
7053
7071
|
"property": "transition-duration",
|
|
7054
7072
|
"token": "--c2-theme--motion-scale",
|
|
7055
|
-
"description": "Sliding selection indicator animation duration."
|
|
7073
|
+
"description": "Sliding selection indicator animation duration. In the segmented appearance the group owns its children's surface variables with an important cascade layer. Theme the control through the `segmented-*` and `indicator-*` variables above; app-wide `c2-button` defaults will not leak into the segmented surface."
|
|
7056
7074
|
}
|
|
7057
7075
|
]
|
|
7058
7076
|
}
|
|
@@ -14246,7 +14264,7 @@
|
|
|
14246
14264
|
"tag": "c2-dashboard",
|
|
14247
14265
|
"className": "Dashboard",
|
|
14248
14266
|
"modulePath": "@c2n/dashboard",
|
|
14249
|
-
"description": "Grid of resizable panes. The children are `c2-dash-card` elements, placed by their `col`/`row` attributes; each\none draws drag handles on the edges it shares with a neighbour, and dragging one resizes the whole track, so the\ncards on either side stay aligned. `columns` and `rows` take a track count (`columns=\"3\"` is three equal columns)\nor an explicit track list (`columns=\"320px 1fr\"`); a track is switched to pixels the first time it is dragged, and\nthe `fr` tracks around it give up the space in proportion to their weight, down to the minimums. With a\n`storage-key` the sizes survive a reload.\n\n`layouts` makes the grid responsive without a remount: each entry names a media query and the tracks and card\nplacements to use while it matches, the first match wins, and every entry keeps its own stored sizes under\n`<storage-key>@<media
|
|
14267
|
+
"description": "Grid of resizable panes. The children are `c2-dash-card` elements, placed by their `col`/`row` attributes; each\none draws drag handles on the edges it shares with a neighbour, and dragging one resizes the whole track, so the\ncards on either side stay aligned. `columns` and `rows` take a track count (`columns=\"3\"` is three equal columns)\nor an explicit track list (`columns=\"320px 1fr\"`); a track is switched to pixels the first time it is dragged, and\nthe `fr` tracks around it give up the space in proportion to their weight, down to the minimums. With a\n`storage-key` the sizes survive a reload.\n\n`layouts` makes the grid responsive without a remount: each entry names a media query and the tracks and card\nplacements to use while it matches, the first match wins, and every entry keeps its own stored sizes under\n`<storage-key>@<media>`. Stored payloads are versioned and include stable card order; `serializeLayout` and\n`deserializeLayout` can preserve application metadata such as named sizes without coupling it to the component.\n\nPlacement is the application's: the grid never re-places cards on its own. A pane removed or hidden at runtime\nleaves its cells empty and its neighbours where they were, and a pane added at runtime lands exactly where its\n`col`/`row` say, on top of whatever is already there if that cell is taken. To close a gap, or to make room, set\nthe cards' `col`/`row`/`col-span`/`row-span` or hand the grid a `layout` record — both are applied in place.\n\nThe grid is the sizing authority: a card never sets its own width. Give the element a height (or place it in a\nflex/grid parent that does) whenever the rows use `fr`, since the row tracks divide the host's height.",
|
|
14250
14268
|
"attributes": [
|
|
14251
14269
|
{
|
|
14252
14270
|
"name": "columns",
|
|
@@ -14276,7 +14294,7 @@
|
|
|
14276
14294
|
"name": "storage-key",
|
|
14277
14295
|
"type": "string | undefined",
|
|
14278
14296
|
"default": "undefined",
|
|
14279
|
-
"description": "`localStorage` key the track sizes are stored under. Without it the grid starts from the authored
|
|
14297
|
+
"description": "`localStorage` key the track sizes and stable card order are stored under. Without it the grid starts from the authored layout."
|
|
14280
14298
|
}
|
|
14281
14299
|
],
|
|
14282
14300
|
"slots": [
|
|
@@ -14289,7 +14307,7 @@
|
|
|
14289
14307
|
{
|
|
14290
14308
|
"name": "layout-change",
|
|
14291
14309
|
"type": "CustomEvent<DashboardLayoutChangeDetail>",
|
|
14292
|
-
"description": "The
|
|
14310
|
+
"description": "The tracks or stable card order changed: a gesture ended, `setPanelOrder()`/`reset()` was called, or another entry of `layouts` took over. Includes the active breakpoint. Does not bubble: listen on the element."
|
|
14293
14311
|
}
|
|
14294
14312
|
],
|
|
14295
14313
|
"cssParts": [],
|
|
@@ -42540,6 +42558,10 @@
|
|
|
42540
42558
|
"name": "error",
|
|
42541
42559
|
"description": "Replaces the built-in message shown when `error` is set."
|
|
42542
42560
|
},
|
|
42561
|
+
{
|
|
42562
|
+
"name": "fallback",
|
|
42563
|
+
"description": "Meaningful server-rendered table content. It remains visible before custom-element upgrade and is retained in the light DOM but hidden after the interactive grid mounts, avoiding duplicate client content."
|
|
42564
|
+
},
|
|
42543
42565
|
{
|
|
42544
42566
|
"name": "cell:{rowKey}:{field}",
|
|
42545
42567
|
"description": "Body of one cell of a column marked `cell-slot`, e.g. `slot=\"cell:AAPL:change\"`. Lets a framework render a cell with its own template language instead of a `renderCell` function; the column's `renderCell` or formatted value stays as the fallback."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c2n/mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "MCP server exposing the c2n web components (API, examples, presets, theme tokens, variant generation) to AI agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"@c2n/config": "*",
|
|
102
102
|
"custom-elements-manifest": "2.1.0"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "129a6e537c68c04ed2a36508789bf42c9781e196"
|
|
105
105
|
}
|