@c2n/mcp 0.0.15 → 0.0.16

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/data/registry.json +181 -58
  2. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "c2nVersion": "0.0.15",
3
+ "c2nVersion": "0.0.16",
4
4
  "categories": [
5
5
  "Inputs",
6
6
  "Buttons",
@@ -1303,6 +1303,23 @@
1303
1303
  "part": "tooltip",
1304
1304
  "property": "gap",
1305
1305
  "description": "Gap between tooltip rows."
1306
+ },
1307
+ {
1308
+ "name": "--c2-chart__legend-marker--size",
1309
+ "type": "pixel",
1310
+ "default": "10px",
1311
+ "part": "legend-marker",
1312
+ "property": "size",
1313
+ "description": "Size of the colour swatch in a tooltip row."
1314
+ },
1315
+ {
1316
+ "name": "--c2-chart__legend-marker--border-radius",
1317
+ "type": "border-radius",
1318
+ "default": "999px",
1319
+ "part": "legend-marker",
1320
+ "property": "border-radius",
1321
+ "token": "--c2-theme--radius-full",
1322
+ "description": "Corner radius of a tooltip row's colour swatch."
1306
1323
  }
1307
1324
  ]
1308
1325
  }
@@ -1855,7 +1872,8 @@
1855
1872
  "c2-attachment"
1856
1873
  ],
1857
1874
  "usedBy": [
1858
- "c2-attachment"
1875
+ "c2-attachment",
1876
+ "c2-upload"
1859
1877
  ]
1860
1878
  },
1861
1879
  "install": {
@@ -5126,6 +5144,23 @@
5126
5144
  "part": "tooltip",
5127
5145
  "property": "gap",
5128
5146
  "description": "Gap between tooltip rows."
5147
+ },
5148
+ {
5149
+ "name": "--c2-chart__legend-marker--size",
5150
+ "type": "pixel",
5151
+ "default": "10px",
5152
+ "part": "legend-marker",
5153
+ "property": "size",
5154
+ "description": "Size of the colour swatch in a tooltip row."
5155
+ },
5156
+ {
5157
+ "name": "--c2-chart__legend-marker--border-radius",
5158
+ "type": "border-radius",
5159
+ "default": "999px",
5160
+ "part": "legend-marker",
5161
+ "property": "border-radius",
5162
+ "token": "--c2-theme--radius-full",
5163
+ "description": "Corner radius of a tooltip row's colour swatch."
5129
5164
  }
5130
5165
  ]
5131
5166
  }
@@ -6230,7 +6265,8 @@
6230
6265
  "internal": [],
6231
6266
  "slotted": [],
6232
6267
  "usedBy": [
6233
- "c2-button-group"
6268
+ "c2-button-group",
6269
+ "c2-upload"
6234
6270
  ]
6235
6271
  },
6236
6272
  "install": {
@@ -8299,6 +8335,23 @@
8299
8335
  "part": "tooltip",
8300
8336
  "property": "gap",
8301
8337
  "description": "Gap between tooltip rows."
8338
+ },
8339
+ {
8340
+ "name": "--c2-chart__legend-marker--size",
8341
+ "type": "pixel",
8342
+ "default": "10px",
8343
+ "part": "legend-marker",
8344
+ "property": "size",
8345
+ "description": "Size of the colour swatch in a tooltip row."
8346
+ },
8347
+ {
8348
+ "name": "--c2-chart__legend-marker--border-radius",
8349
+ "type": "border-radius",
8350
+ "default": "999px",
8351
+ "part": "legend-marker",
8352
+ "property": "border-radius",
8353
+ "token": "--c2-theme--radius-full",
8354
+ "description": "Corner radius of a tooltip row's colour swatch."
8302
8355
  }
8303
8356
  ]
8304
8357
  }
@@ -10594,34 +10647,34 @@
10594
10647
  {
10595
10648
  "name": "--c2-chatbot--border-top",
10596
10649
  "type": "border",
10597
- "default": "1px solid #e4e4e7",
10650
+ "default": "1px solid rgb(177, 177, 177)",
10598
10651
  "part": "",
10599
10652
  "property": "border-top",
10600
- "token": "--c2-theme--color-outline-variant"
10653
+ "token": "--c2-theme--border"
10601
10654
  },
10602
10655
  {
10603
10656
  "name": "--c2-chatbot--border-right",
10604
10657
  "type": "border",
10605
- "default": "1px solid #e4e4e7",
10658
+ "default": "1px solid rgb(177, 177, 177)",
10606
10659
  "part": "",
10607
10660
  "property": "border-right",
10608
- "token": "--c2-theme--color-outline-variant"
10661
+ "token": "--c2-theme--border"
10609
10662
  },
10610
10663
  {
10611
10664
  "name": "--c2-chatbot--border-bottom",
10612
10665
  "type": "border",
10613
- "default": "1px solid #e4e4e7",
10666
+ "default": "1px solid rgb(177, 177, 177)",
10614
10667
  "part": "",
10615
10668
  "property": "border-bottom",
10616
- "token": "--c2-theme--color-outline-variant"
10669
+ "token": "--c2-theme--border"
10617
10670
  },
10618
10671
  {
10619
10672
  "name": "--c2-chatbot--border-left",
10620
10673
  "type": "border",
10621
- "default": "1px solid #e4e4e7",
10674
+ "default": "1px solid rgb(177, 177, 177)",
10622
10675
  "part": "",
10623
10676
  "property": "border-left",
10624
- "token": "--c2-theme--color-outline-variant"
10677
+ "token": "--c2-theme--border"
10625
10678
  },
10626
10679
  {
10627
10680
  "name": "--c2-chatbot__header--padding",
@@ -10633,18 +10686,18 @@
10633
10686
  {
10634
10687
  "name": "--c2-chatbot__header--background",
10635
10688
  "type": "color",
10636
- "default": "#ffffff",
10689
+ "default": "rgb(248, 248, 248)",
10637
10690
  "part": "header",
10638
10691
  "property": "background",
10639
- "token": "--c2-theme--color-surface"
10692
+ "token": "--c2-theme--color-surface-container-low"
10640
10693
  },
10641
10694
  {
10642
10695
  "name": "--c2-chatbot__header--border-bottom",
10643
10696
  "type": "border",
10644
- "default": "1px solid #e4e4e7",
10697
+ "default": "1px solid rgb(177, 177, 177)",
10645
10698
  "part": "header",
10646
10699
  "property": "border-bottom",
10647
- "token": "--c2-theme--color-outline-variant"
10700
+ "token": "--c2-theme--border"
10648
10701
  }
10649
10702
  ]
10650
10703
  }
@@ -13268,10 +13321,9 @@
13268
13321
  {
13269
13322
  "name": "--c2-color-select__popover--background-color",
13270
13323
  "type": "color",
13271
- "default": "rgb(255, 255, 255)",
13324
+ "default": "rgb(253, 253, 253)",
13272
13325
  "part": "popover",
13273
- "property": "background-color",
13274
- "token": "--c2-theme--color-surface"
13326
+ "property": "background-color"
13275
13327
  },
13276
13328
  {
13277
13329
  "name": "--c2-color-select__popover--gap",
@@ -13520,14 +13572,6 @@
13520
13572
  ],
13521
13573
  "cssParts": [],
13522
13574
  "cssProperties": [
13523
- {
13524
- "name": "--c2-color-slider--border-radius",
13525
- "type": "border-radius",
13526
- "default": "8px",
13527
- "part": "",
13528
- "property": "border-radius",
13529
- "token": "--c2-theme--radius-lg"
13530
- },
13531
13575
  {
13532
13576
  "name": "--c2-color-slider--border-top-left-radius",
13533
13577
  "type": "border-radius",
@@ -13563,33 +13607,30 @@
13563
13607
  {
13564
13608
  "name": "--c2-color-slider--border-top",
13565
13609
  "type": "border",
13566
- "default": "1px solid rgb(177, 177, 177)",
13610
+ "default": "1px solid rgb(248, 248, 248)",
13567
13611
  "part": "",
13568
- "property": "border-top",
13569
- "token": "--c2-theme--border"
13612
+ "property": "border-top"
13570
13613
  },
13571
13614
  {
13572
13615
  "name": "--c2-color-slider--border-right",
13573
13616
  "type": "border",
13574
- "default": "1px solid rgb(177, 177, 177)",
13617
+ "default": "1px solid rgb(248, 248, 248)",
13575
13618
  "part": "",
13576
- "property": "border-right",
13577
- "token": "--c2-theme--border"
13619
+ "property": "border-right"
13578
13620
  },
13579
13621
  {
13580
13622
  "name": "--c2-color-slider--border-bottom",
13581
13623
  "type": "border",
13582
- "default": "1px solid rgb(177, 177, 177)",
13624
+ "default": "1px solid rgb(248, 248, 248)",
13583
13625
  "part": "",
13584
- "property": "border-bottom",
13585
- "token": "--c2-theme--border"
13626
+ "property": "border-bottom"
13586
13627
  },
13587
13628
  {
13588
- "name": "--c2-color-slider--borde-leftr",
13629
+ "name": "--c2-color-slider--border-left",
13589
13630
  "type": "border",
13590
- "default": "1px solid rgb(177, 177, 177)",
13631
+ "default": "1px solid rgb(248, 248, 248)",
13591
13632
  "part": "",
13592
- "property": "borde-leftr",
13633
+ "property": "border-left",
13593
13634
  "token": "--c2-theme--border"
13594
13635
  },
13595
13636
  {
@@ -17932,6 +17973,23 @@
17932
17973
  "part": "tooltip",
17933
17974
  "property": "gap",
17934
17975
  "description": "Gap between tooltip rows."
17976
+ },
17977
+ {
17978
+ "name": "--c2-chart__legend-marker--size",
17979
+ "type": "pixel",
17980
+ "default": "10px",
17981
+ "part": "legend-marker",
17982
+ "property": "size",
17983
+ "description": "Size of the colour swatch in a tooltip row."
17984
+ },
17985
+ {
17986
+ "name": "--c2-chart__legend-marker--border-radius",
17987
+ "type": "border-radius",
17988
+ "default": "999px",
17989
+ "part": "legend-marker",
17990
+ "property": "border-radius",
17991
+ "token": "--c2-theme--radius-full",
17992
+ "description": "Corner radius of a tooltip row's colour swatch."
17935
17993
  }
17936
17994
  ]
17937
17995
  }
@@ -20582,6 +20640,23 @@
20582
20640
  "part": "tooltip",
20583
20641
  "property": "gap",
20584
20642
  "description": "Gap between tooltip rows."
20643
+ },
20644
+ {
20645
+ "name": "--c2-chart__legend-marker--size",
20646
+ "type": "pixel",
20647
+ "default": "10px",
20648
+ "part": "legend-marker",
20649
+ "property": "size",
20650
+ "description": "Size of the colour swatch in a tooltip row."
20651
+ },
20652
+ {
20653
+ "name": "--c2-chart__legend-marker--border-radius",
20654
+ "type": "border-radius",
20655
+ "default": "999px",
20656
+ "part": "legend-marker",
20657
+ "property": "border-radius",
20658
+ "token": "--c2-theme--radius-full",
20659
+ "description": "Corner radius of a tooltip row's colour swatch."
20585
20660
  }
20586
20661
  ]
20587
20662
  }
@@ -21036,6 +21111,7 @@
21036
21111
  {
21037
21112
  "name": "--c2-link-button__icon--color",
21038
21113
  "type": "color",
21114
+ "default": "currentColor",
21039
21115
  "part": "icon",
21040
21116
  "property": "color"
21041
21117
  }
@@ -30090,6 +30166,23 @@
30090
30166
  "part": "tooltip",
30091
30167
  "property": "gap",
30092
30168
  "description": "Gap between tooltip rows."
30169
+ },
30170
+ {
30171
+ "name": "--c2-chart__legend-marker--size",
30172
+ "type": "pixel",
30173
+ "default": "10px",
30174
+ "part": "legend-marker",
30175
+ "property": "size",
30176
+ "description": "Size of the colour swatch in a tooltip row."
30177
+ },
30178
+ {
30179
+ "name": "--c2-chart__legend-marker--border-radius",
30180
+ "type": "border-radius",
30181
+ "default": "999px",
30182
+ "part": "legend-marker",
30183
+ "property": "border-radius",
30184
+ "token": "--c2-theme--radius-full",
30185
+ "description": "Corner radius of a tooltip row's colour swatch."
30093
30186
  }
30094
30187
  ]
30095
30188
  }
@@ -34840,6 +34933,23 @@
34840
34933
  "part": "tooltip",
34841
34934
  "property": "gap",
34842
34935
  "description": "Gap between tooltip rows."
34936
+ },
34937
+ {
34938
+ "name": "--c2-chart__legend-marker--size",
34939
+ "type": "pixel",
34940
+ "default": "10px",
34941
+ "part": "legend-marker",
34942
+ "property": "size",
34943
+ "description": "Size of the colour swatch in a tooltip row."
34944
+ },
34945
+ {
34946
+ "name": "--c2-chart__legend-marker--border-radius",
34947
+ "type": "border-radius",
34948
+ "default": "999px",
34949
+ "part": "legend-marker",
34950
+ "property": "border-radius",
34951
+ "token": "--c2-theme--radius-full",
34952
+ "description": "Corner radius of a tooltip row's colour swatch."
34843
34953
  }
34844
34954
  ]
34845
34955
  }
@@ -39489,6 +39599,23 @@
39489
39599
  "part": "tooltip",
39490
39600
  "property": "gap",
39491
39601
  "description": "Gap between tooltip rows."
39602
+ },
39603
+ {
39604
+ "name": "--c2-chart__legend-marker--size",
39605
+ "type": "pixel",
39606
+ "default": "10px",
39607
+ "part": "legend-marker",
39608
+ "property": "size",
39609
+ "description": "Size of the colour swatch in a tooltip row."
39610
+ },
39611
+ {
39612
+ "name": "--c2-chart__legend-marker--border-radius",
39613
+ "type": "border-radius",
39614
+ "default": "999px",
39615
+ "part": "legend-marker",
39616
+ "property": "border-radius",
39617
+ "token": "--c2-theme--radius-full",
39618
+ "description": "Corner radius of a tooltip row's colour swatch."
39492
39619
  }
39493
39620
  ]
39494
39621
  }
@@ -41128,7 +41255,7 @@
41128
41255
  {
41129
41256
  "name": "--c2-step__row--indent",
41130
41257
  "type": "pixel",
41131
- "default": "marker size + row gap",
41258
+ "default": "calc(var(--c2-step__marker--size, 16px) + var(--c2-step__row--gap, 10px))",
41132
41259
  "part": "row",
41133
41260
  "property": "indent",
41134
41261
  "description": "Extra inset per level of nesting. The default puts a sub-step's marker under its parent's label, which is what makes the nesting read without drawing anything."
@@ -43921,7 +44048,7 @@
43921
44048
  {
43922
44049
  "name": "--c2-tabs--box-shadow",
43923
44050
  "type": "box-shadow",
43924
- "default": "inset 0px -2px 0px 0px rgb(230, 230, 230)",
44051
+ "default": "inset 0px -2px 0px 0px rgb(213, 213, 213)",
43925
44052
  "part": "",
43926
44053
  "property": "box-shadow",
43927
44054
  "token": "--c2-theme--color-outline-variant"
@@ -49969,7 +50096,8 @@
49969
50096
  ],
49970
50097
  "composition": {
49971
50098
  "internal": [
49972
- "c2-attachment, c2-button"
50099
+ "c2-attachment",
50100
+ "c2-button"
49973
50101
  ],
49974
50102
  "slotted": [],
49975
50103
  "usedBy": []
@@ -51038,7 +51166,7 @@
51038
51166
  "light": "#ffffff",
51039
51167
  "dark": "#18181b",
51040
51168
  "description": "Default surface of inputs, lists, cards, dialogs.",
51041
- "usedBy": 49
51169
+ "usedBy": 47
51042
51170
  },
51043
51171
  {
51044
51172
  "name": "--c2-theme--color-surface-container-low",
@@ -51046,7 +51174,7 @@
51046
51174
  "light": "#fafafa",
51047
51175
  "dark": "#1f1f23",
51048
51176
  "description": "Slightly raised surface: side navigation, read-only fields, subtle hover.",
51049
- "usedBy": 13
51177
+ "usedBy": 14
51050
51178
  },
51051
51179
  {
51052
51180
  "name": "--c2-theme--color-surface-container",
@@ -51086,7 +51214,7 @@
51086
51214
  "light": "#e4e4e7",
51087
51215
  "dark": "#27272a",
51088
51216
  "description": "Hairline dividers and light borders.",
51089
- "usedBy": 79
51217
+ "usedBy": 74
51090
51218
  },
51091
51219
  {
51092
51220
  "name": "--c2-theme--color-outline-strong",
@@ -51182,7 +51310,7 @@
51182
51310
  "category": "radius",
51183
51311
  "light": "8px",
51184
51312
  "description": "Large radius: cards, panels, popovers.",
51185
- "usedBy": 72
51313
+ "usedBy": 71
51186
51314
  },
51187
51315
  {
51188
51316
  "name": "--c2-theme--radius-xl",
@@ -51210,7 +51338,7 @@
51210
51338
  "category": "border",
51211
51339
  "light": null,
51212
51340
  "description": "Complete resting border shorthand. Unset by default: it falls back to `border-width solid color-outline`.",
51213
- "usedBy": 48
51341
+ "usedBy": 50
51214
51342
  },
51215
51343
  {
51216
51344
  "name": "--c2-theme--focus-ring",
@@ -51537,12 +51665,12 @@
51537
51665
  "--c2-chatbot--border-top-right-radius": "--c2-theme--radius-lg",
51538
51666
  "--c2-chatbot--border-bottom-left-radius": "--c2-theme--radius-lg",
51539
51667
  "--c2-chatbot--border-bottom-right-radius": "--c2-theme--radius-lg",
51540
- "--c2-chatbot--border-top": "--c2-theme--color-outline-variant",
51541
- "--c2-chatbot--border-right": "--c2-theme--color-outline-variant",
51542
- "--c2-chatbot--border-bottom": "--c2-theme--color-outline-variant",
51543
- "--c2-chatbot--border-left": "--c2-theme--color-outline-variant",
51544
- "--c2-chatbot__header--background": "--c2-theme--color-surface",
51545
- "--c2-chatbot__header--border-bottom": "--c2-theme--color-outline-variant",
51668
+ "--c2-chatbot--border-top": "--c2-theme--border",
51669
+ "--c2-chatbot--border-right": "--c2-theme--border",
51670
+ "--c2-chatbot--border-bottom": "--c2-theme--border",
51671
+ "--c2-chatbot--border-left": "--c2-theme--border",
51672
+ "--c2-chatbot__header--background": "--c2-theme--color-surface-container-low",
51673
+ "--c2-chatbot__header--border-bottom": "--c2-theme--border",
51546
51674
  "--c2-checkbox__container--border-top-left-radius": "--c2-theme--radius-sm",
51547
51675
  "--c2-checkbox__container--border-top-right-radius": "--c2-theme--radius-sm",
51548
51676
  "--c2-checkbox__container--border-bottom-left-radius": "--c2-theme--radius-sm",
@@ -51593,7 +51721,6 @@
51593
51721
  "--c2-code-viewer--border-bottom-right-radius": "--c2-theme--radius-lg",
51594
51722
  "--c2-code-viewer__header--font-size": "--c2-theme--font-size-sm",
51595
51723
  "--c2-code-viewer__copy--border-radius": "--c2-theme--radius-md",
51596
- "--c2-color-select__popover--background-color": "--c2-theme--color-surface",
51597
51724
  "--c2-color-select__popover--border-top": "--c2-theme--border",
51598
51725
  "--c2-color-select__popover--border-right": "--c2-theme--border",
51599
51726
  "--c2-color-select__popover--border-bottom": "--c2-theme--border",
@@ -51607,15 +51734,11 @@
51607
51734
  "--c2-color-select__color__sample--border-bottom": "--c2-theme--border",
51608
51735
  "--c2-color-select__color__sample--border-left": "--c2-theme--border",
51609
51736
  "--c2-color-select__color__sample--border-radius": "--c2-theme--radius-sm",
51610
- "--c2-color-slider--border-radius": "--c2-theme--radius-lg",
51611
51737
  "--c2-color-slider--border-top-left-radius": "--c2-theme--radius-lg",
51612
51738
  "--c2-color-slider--border-top-right-radius": "--c2-theme--radius-lg",
51613
51739
  "--c2-color-slider--border-bottom-left-radius": "--c2-theme--radius-lg",
51614
51740
  "--c2-color-slider--border-bottom-right-radius": "--c2-theme--radius-lg",
51615
- "--c2-color-slider--border-top": "--c2-theme--border",
51616
- "--c2-color-slider--border-right": "--c2-theme--border",
51617
- "--c2-color-slider--border-bottom": "--c2-theme--border",
51618
- "--c2-color-slider--borde-leftr": "--c2-theme--border",
51741
+ "--c2-color-slider--border-left": "--c2-theme--border",
51619
51742
  "--c2-color-slider__color-handle--border-top-left-radius": "--c2-theme--radius-md",
51620
51743
  "--c2-color-slider__color-handle--border-top-right-radius": "--c2-theme--radius-md",
51621
51744
  "--c2-color-slider__color-handle--border-bottom-left-radius": "--c2-theme--radius-md",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c2n/mcp",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
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": "129a6e537c68c04ed2a36508789bf42c9781e196"
104
+ "gitHead": "d04bcc1c278febafc95f94904d68ea583d380e05"
105
105
  }