@czi-sds/mcp 0.8.1 → 0.9.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.
@@ -27,6 +27,7 @@
27
27
  "InputSlider",
28
28
  "InputText",
29
29
  "InputToggle",
30
+ "Legend",
30
31
  "Link",
31
32
  "List",
32
33
  "LoadingIndicator",
@@ -51,6 +52,7 @@
51
52
  "TooltipTable"
52
53
  ],
53
54
  "data-viz": [
54
- "HeatmapChart"
55
+ "HeatmapChart",
56
+ "StackedBarChart"
55
57
  ]
56
58
  }
@@ -0,0 +1,83 @@
1
+ {
2
+ "StackedBarChart": {
3
+ "props": {
4
+ "badge": {
5
+ "type": "string",
6
+ "isRequired": false,
7
+ "description": "Badge text to display next to the title\nIf not provided, defaults to showing item count based on selection:\n- No selection: total count (e.g., \"5\")\n- Partial selection: selected count (e.g., \"3 of 5\")\n- All selected: \"All\""
8
+ },
9
+ "hideBadge": {
10
+ "type": "\"false\" | \"true\"",
11
+ "isRequired": false,
12
+ "description": "Hide the badge when true",
13
+ "defaultValue": false
14
+ },
15
+ "barHeight": {
16
+ "type": "number",
17
+ "isRequired": false,
18
+ "description": "Height of the bar in pixels",
19
+ "defaultValue": 16
20
+ },
21
+ "data": {
22
+ "type": "StackedBarChartDataItem[]",
23
+ "isRequired": true,
24
+ "description": "Array of data items to display in the stacked bar"
25
+ },
26
+ "maxAmount": {
27
+ "type": "number",
28
+ "isRequired": false,
29
+ "description": "Maximum amount for the bar (used only in \"amount\" mode)\nIf not provided, defaults to sum of all values (no remaining segment)\nIf provided and sum < maxAmount, shows gray \"remaining\" segment"
30
+ },
31
+ "mode": {
32
+ "type": "\"percentage\" | \"amount\"",
33
+ "isRequired": false,
34
+ "description": "Chart mode - controls how segments are calculated\n- \"percentage\": Segments fill entire bar (100%), proportional to their values\n- \"amount\": Segments sized based on actual values relative to maxAmount",
35
+ "defaultValue": "percentage"
36
+ },
37
+ "remainingLabel": {
38
+ "type": "string",
39
+ "isRequired": false,
40
+ "description": "Label for the remaining/unknown segment in amount mode",
41
+ "defaultValue": "Remaining"
42
+ },
43
+ "remainingUnit": {
44
+ "type": "string",
45
+ "isRequired": false,
46
+ "description": "Unit to display with the remaining segment value in amount mode\nIf not provided, uses the unit from the first data item (if available)"
47
+ },
48
+ "showLegend": {
49
+ "type": "\"false\" | \"true\"",
50
+ "isRequired": false,
51
+ "description": "Whether to show the legend below the chart",
52
+ "defaultValue": true
53
+ },
54
+ "showLegendValues": {
55
+ "type": "\"false\" | \"true\"",
56
+ "isRequired": false,
57
+ "description": "Whether to show percentage values in the legend",
58
+ "defaultValue": true
59
+ },
60
+ "title": {
61
+ "type": "string",
62
+ "isRequired": false,
63
+ "description": "Title to display above the chart"
64
+ },
65
+ "unit": {
66
+ "type": "string",
67
+ "isRequired": false,
68
+ "description": "Global unit to display with values in amount mode (e.g., \"GB\", \"datasets\", \"K\")\nIndividual data items can override this with their own unit property\nOnly shown when mode is \"amount\""
69
+ },
70
+ "width": {
71
+ "type": "\"string\" | \"number\"",
72
+ "isRequired": false,
73
+ "description": "Width of the chart - accepts any CSS width value (e.g., \"100%\", \"20vw\", \"300px\", or number for pixels)",
74
+ "defaultValue": "100%"
75
+ },
76
+ "colorGeneratorOptions": {
77
+ "type": "DiscreteColorGeneratorOptions",
78
+ "isRequired": false,
79
+ "description": "Options for the color generator"
80
+ }
81
+ }
82
+ }
83
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@czi-sds/mcp",
3
3
  "description": "The official MCP server for SDS",
4
- "version": "0.8.1",
4
+ "version": "0.9.0",
5
5
  "main": "dist/stdio.js",
6
6
  "files": [
7
7
  "dist",
@@ -62,5 +62,5 @@
62
62
  "tsx": "^4.20.3",
63
63
  "typescript": "^5.9.2"
64
64
  },
65
- "gitHead": "b58bd9d0f1788e490bec33f96cd308115bf814c9"
65
+ "gitHead": "fa72953eeff3f593852e738fd5776c65425bb044"
66
66
  }