@czi-sds/mcp 0.8.1 → 0.9.1

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,95 @@
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 (minimum 1px)",
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 \"cumulative\" 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": "\"porportional\" | \"cumulative\"",
33
+ "isRequired": false,
34
+ "description": "Chart mode - controls how segments are calculated\n- \"porportional\": Segments fill entire bar (100%), proportional to their values\n- \"cumulative\": Segments sized based on actual values relative to maxAmount",
35
+ "defaultValue": "porportional"
36
+ },
37
+ "legendValueFormat": {
38
+ "type": "\"percentage\" | \"count\"",
39
+ "isRequired": false,
40
+ "description": "Format for legend values\n- \"percentage\": Shows percentage of the item in the bar chart (e.g., \"20%\")\n- \"count\": Shows the count from the data object with the unit defined by the unit prop",
41
+ "defaultValue": "percentage"
42
+ },
43
+ "selectionBehavior": {
44
+ "type": "\"dim\" | \"hide\"",
45
+ "isRequired": false,
46
+ "description": "Behavior to apply when items are selected\n- \"dim\": Non-selected segments become semi-transparent (20% opacity)\n- \"hide\": Non-selected segments are hidden from the bar chart",
47
+ "defaultValue": "dim"
48
+ },
49
+ "remainingLabel": {
50
+ "type": "string",
51
+ "isRequired": false,
52
+ "description": "Label for the remaining/unknown segment in cumulative mode",
53
+ "defaultValue": "Remaining"
54
+ },
55
+ "remainingUnit": {
56
+ "type": "string",
57
+ "isRequired": false,
58
+ "description": "Unit to display with the remaining segment value in cumulative mode\nIf not provided, uses the unit from the first data item (if available)"
59
+ },
60
+ "showLegend": {
61
+ "type": "\"false\" | \"true\"",
62
+ "isRequired": false,
63
+ "description": "Whether to show the legend below the chart",
64
+ "defaultValue": true
65
+ },
66
+ "showLegendValues": {
67
+ "type": "\"false\" | \"true\"",
68
+ "isRequired": false,
69
+ "description": "Whether to show percentage values in the legend",
70
+ "defaultValue": true
71
+ },
72
+ "title": {
73
+ "type": "string",
74
+ "isRequired": false,
75
+ "description": "Title to display above the chart"
76
+ },
77
+ "unit": {
78
+ "type": "string",
79
+ "isRequired": false,
80
+ "description": "Global unit to display with values in cumulative mode (e.g., \"GB\", \"datasets\", \"K\")\nIndividual data items can override this with their own unit property\nOnly shown when mode is \"cumulative\""
81
+ },
82
+ "width": {
83
+ "type": "\"string\" | \"number\"",
84
+ "isRequired": false,
85
+ "description": "Width of the chart - accepts any CSS width value (e.g., \"100%\", \"20vw\", \"300px\", or number for pixels)",
86
+ "defaultValue": "100%"
87
+ },
88
+ "colorGeneratorOptions": {
89
+ "type": "DiscreteColorGeneratorOptions",
90
+ "isRequired": false,
91
+ "description": "Options for the color generator"
92
+ }
93
+ }
94
+ }
95
+ }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "fontFamily": {
3
- "sds-body": "var(--font-inter),Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Helvetica,Arial,sans-serif",
4
- "sds-caps": "var(--font-inter),Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Helvetica,Arial,sans-serif",
3
+ "sds-body": "var(--font-inter), Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif",
4
+ "sds-caps": "var(--font-inter), Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif",
5
5
  "sds-code": "\"IBM Plex Mono\", monospace",
6
- "sds-header": "var(--font-inter),Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Helvetica,Arial,sans-serif",
7
- "sds-link": "var(--font-inter),Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Helvetica,Arial,sans-serif",
8
- "sds-tabular": "var(--font-inter),Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Helvetica,Arial,sans-serif",
9
- "sds-title": "var(--font-inter),Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Helvetica,Arial,sans-serif"
6
+ "sds-header": "var(--font-inter), Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif",
7
+ "sds-link": "var(--font-inter), Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif",
8
+ "sds-tabular": "var(--font-inter), Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif",
9
+ "sds-title": "var(--font-inter), Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif"
10
10
  },
11
11
  "fontSize": {
12
12
  "sds-body-l-400-narrow": "16px",
@@ -2965,7 +2965,7 @@
2965
2965
  "sds-color-primitive-green-800": "#001f00",
2966
2966
  "sds-color-primitive-purple-100": "#efeafe",
2967
2967
  "sds-color-primitive-purple-200": "#e4dbfc",
2968
- "sds-color-primitive-purple-300": "#cbbaF8",
2968
+ "sds-color-primitive-purple-300": "#cbbaf8",
2969
2969
  "sds-color-primitive-purple-400": "#b296f2",
2970
2970
  "sds-color-primitive-purple-500": "#8b54e2",
2971
2971
  "sds-color-primitive-purple-600": "#6526b5",
@@ -3013,7 +3013,7 @@
3013
3013
  "sds-color-semantic-base-background-primary-dark": "#000000",
3014
3014
  "sds-color-semantic-base-background-primary-inverse": "#000000",
3015
3015
  "sds-color-semantic-base-background-secondary": "#ededed66",
3016
- "sds-color-semantic-base-background-secondary-on-dark": "#3b3b3b9E",
3016
+ "sds-color-semantic-base-background-secondary-on-dark": "#3b3b3b9e",
3017
3017
  "sds-color-semantic-base-background-secondary-inverse": "#3b3b3b",
3018
3018
  "sds-color-semantic-base-background-tertiary": "#ededed",
3019
3019
  "sds-color-semantic-base-border-on-fill": "#ffffff",
@@ -3144,4 +3144,4 @@
3144
3144
  "sds-xxs": "4px",
3145
3145
  "sds-xxxs": "2px"
3146
3146
  }
3147
- }
3147
+ }
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.1",
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": "cf00fb1e64b7a73b8f0c0c320330fac096c700fd"
66
66
  }