@c2n/mcp 0.0.12 → 0.0.13
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 +14 -1
- 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.13",
|
|
4
4
|
"categories": [
|
|
5
5
|
"Inputs",
|
|
6
6
|
"Buttons",
|
|
@@ -35500,6 +35500,19 @@
|
|
|
35500
35500
|
"html": "<c2-select multiple value=\"design;engineering\" placeholder=\"Teams\" class=\"multiple\" client:only=\"lit\"><c2-list-item value=\"design\">Design</c2-list-item><c2-list-item value=\"engineering\">Engineering</c2-list-item><c2-list-item value=\"marketing\">Marketing</c2-list-item><c2-list-item value=\"sales\">Sales</c2-list-item></c2-select>",
|
|
35501
35501
|
"css": ".multiple {\n width: 220px;\n}"
|
|
35502
35502
|
},
|
|
35503
|
+
{
|
|
35504
|
+
"kind": "gallery",
|
|
35505
|
+
"label": "Checkbox multiple",
|
|
35506
|
+
"section": "Options",
|
|
35507
|
+
"description": "Checkbox multiple Options example for c2-select.",
|
|
35508
|
+
"isDefault": false,
|
|
35509
|
+
"tags": [
|
|
35510
|
+
"c2-select",
|
|
35511
|
+
"c2-list-item"
|
|
35512
|
+
],
|
|
35513
|
+
"html": "<c2-select multiple value=\"design;engineering\" placeholder=\"Teams\" class=\"checkbox-multiple\" client:only=\"lit\">\n <c2-list-item value=\"design\"><span slot=\"prefix-icon\" class=\"box\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"3\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"20 6 9 17 4 12\"></polyline></svg></span>Design</c2-list-item>\n <c2-list-item value=\"engineering\"><span slot=\"prefix-icon\" class=\"box\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"3\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"20 6 9 17 4 12\"></polyline></svg></span>Engineering</c2-list-item>\n <c2-list-item value=\"marketing\"><span slot=\"prefix-icon\" class=\"box\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"3\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"20 6 9 17 4 12\"></polyline></svg></span>Marketing</c2-list-item>\n <c2-list-item value=\"sales\"><span slot=\"prefix-icon\" class=\"box\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"3\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"20 6 9 17 4 12\"></polyline></svg></span>Sales</c2-list-item>\n</c2-select>",
|
|
35514
|
+
"css": ".checkbox-multiple {\n width: 220px;\n --c2-list-item--gap: 10px;\n --c2-list-item__selected--background: transparent;\n --c2-list-item__selected--color: #18181b;\n --c2-list-item__selected__hover--background: #f4f4f5;\n}\n.checkbox-multiple .box {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 16px;\n height: 16px;\n border: 1px solid #bcbcc6;\n border-radius: 4px;\n color: #ffffff;\n transition:\n background 120ms ease,\n border-color 120ms ease;\n}\n.checkbox-multiple .box svg {\n width: 12px;\n height: 12px;\n visibility: hidden;\n}\n.checkbox-multiple c2-list-item[selected] .box {\n background: #476ef9;\n border-color: #476ef9;\n}\n.checkbox-multiple c2-list-item[selected] .box svg {\n visibility: visible;\n}"
|
|
35515
|
+
},
|
|
35503
35516
|
{
|
|
35504
35517
|
"kind": "gallery",
|
|
35505
35518
|
"label": "Flat rows",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c2n/mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
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": "aa19b641f64fbc54c36b7649a8171d7a686abbdd"
|
|
105
105
|
}
|