@czi-sds/mcp 0.12.1 → 0.13.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.
- package/data/component-list.json +1 -0
- package/data/component-props/CellBasic.json +8 -0
- package/data/component-props/CellComponent.json +1 -1
- package/data/component-props/CellHeader.json +1 -1
- package/data/component-props/InputDropdown.json +5 -1
- package/data/component-props/NavigationHeader.json +1 -1
- package/data/component-props/PreComposedTable.json +62 -0
- package/data/zeroheight-exports/Dropdown-Menus.md +0 -22
- package/package.json +2 -2
package/data/component-list.json
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"CellBasic": {
|
|
3
3
|
"props": {
|
|
4
|
+
"component": {
|
|
5
|
+
"type": "\"symbol\" | \"object\" | \"cite\" | \"data\" | \"form\" | \"label\" | \"pattern\" | \"span\" | \"summary\" | \"slot\" | \"style\" | \"title\" | \"center\" | \"link\" | \"a\" | \"abbr\" | \"address\" | \"area\" | \"article\" | \"aside\" | \"audio\" | \"b\" | \"base\" | \"bdi\" | \"bdo\" | \"big\" | \"blockquote\" | \"body\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"code\" | \"col\" | \"colgroup\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"head\" | \"header\" | \"hgroup\" | \"hr\" | \"html\" | \"i\" | \"iframe\" | \"img\" | \"input\" | \"ins\" | \"kbd\" | \"keygen\" | \"legend\" | \"li\" | \"main\" | \"map\" | \"mark\" | \"menu\" | \"menuitem\" | \"meta\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"output\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"progress\" | \"q\" | \"rp\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"search\" | \"script\" | \"section\" | \"select\" | \"small\" | \"source\" | \"strong\" | \"sub\" | \"sup\" | \"table\" | \"template\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"time\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"var\" | \"video\" | \"wbr\" | \"webview\" | \"svg\" | \"animate\" | \"animateMotion\" | \"animateTransform\" | \"circle\" | \"clipPath\" | \"defs\" | \"desc\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"filter\" | \"foreignObject\" | \"g\" | \"image\" | \"line\" | \"linearGradient\" | \"marker\" | \"mask\" | \"metadata\" | \"mpath\" | \"path\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"set\" | \"stop\" | \"switch\" | \"text\" | \"textPath\" | \"tspan\" | \"use\" | \"view\" | \"ComponentClass",
|
|
6
|
+
"isRequired": false
|
|
7
|
+
},
|
|
4
8
|
"horizontalAlign": {
|
|
5
9
|
"type": "\"left\" | \"right\"",
|
|
6
10
|
"isRequired": false
|
|
@@ -41,6 +45,10 @@
|
|
|
41
45
|
"type": "\"false\" | \"true\"",
|
|
42
46
|
"isRequired": false
|
|
43
47
|
},
|
|
48
|
+
"shouldShowUnderlineOnHover": {
|
|
49
|
+
"type": "\"false\" | \"true\"",
|
|
50
|
+
"isRequired": false
|
|
51
|
+
},
|
|
44
52
|
"shouldTextWrap": {
|
|
45
53
|
"type": "\"false\" | \"true\"",
|
|
46
54
|
"isRequired": false
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"isRequired": false
|
|
31
31
|
},
|
|
32
32
|
"sdsType": {
|
|
33
|
-
"type": "\"
|
|
33
|
+
"type": "\"value\" | \"label\"",
|
|
34
34
|
"isRequired": false
|
|
35
35
|
},
|
|
36
36
|
"shouldPutAColonAfterLabel": {
|
|
@@ -41,6 +41,10 @@
|
|
|
41
41
|
"type": "\"false\" | \"true\"",
|
|
42
42
|
"isRequired": false
|
|
43
43
|
},
|
|
44
|
+
"startIcon": {
|
|
45
|
+
"type": "ReactNode",
|
|
46
|
+
"isRequired": false
|
|
47
|
+
},
|
|
44
48
|
"style": {
|
|
45
49
|
"type": "CSSProperties",
|
|
46
50
|
"isRequired": false
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"isRequired": false
|
|
19
19
|
},
|
|
20
20
|
"logoLinkComponent": {
|
|
21
|
-
"type": "\"symbol\" | \"object\" | \"style\" | \"div\" | \"clipPath\" | \"filter\" | \"
|
|
21
|
+
"type": "\"symbol\" | \"object\" | \"style\" | \"div\" | \"clipPath\" | \"filter\" | \"marker\" | \"mask\" | \"p\" | \"header\" | \"a\" | \"abbr\" | \"address\" | \"area\" | \"article\" | \"aside\" | \"audio\" | \"b\" | \"base\" | \"bdi\" | \"bdo\" | \"big\" | \"blockquote\" | \"body\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"center\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"data\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"form\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"head\" | \"hgroup\" | \"hr\" | \"html\" | \"i\" | \"iframe\" | \"img\" | \"input\" | \"ins\" | \"kbd\" | \"keygen\" | \"label\" | \"legend\" | \"li\" | \"link\" | \"main\" | \"map\" | \"mark\" | \"menu\" | \"menuitem\" | \"meta\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"output\" | \"param\" | \"picture\" | \"pre\" | \"progress\" | \"q\" | \"rp\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"search\" | \"slot\" | \"script\" | \"section\" | \"select\" | \"small\" | \"source\" | \"span\" | \"strong\" | \"sub\" | \"summary\" | \"sup\" | \"table\" | \"template\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"time\" | \"title\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"var\" | \"video\" | \"wbr\" | \"webview\" | \"svg\" | \"animate\" | \"animateMotion\" | \"animateTransform\" | \"circle\" | \"defs\" | \"desc\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"image\" | \"line\" | \"linearGradient\" | \"metadata\" | \"mpath\" | \"path\" | \"pattern\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"set\" | \"stop\" | \"switch\" | \"text\" | \"textPath\" | \"tspan\" | \"use\" | \"view\" | \"ComponentClass",
|
|
22
22
|
"isRequired": false
|
|
23
23
|
},
|
|
24
24
|
"logoUrl": {
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"PreComposedTable": {
|
|
3
|
+
"props": {
|
|
4
|
+
"border": {
|
|
5
|
+
"type": "\"false\" | \"true\"",
|
|
6
|
+
"isRequired": false,
|
|
7
|
+
"defaultValue": true
|
|
8
|
+
},
|
|
9
|
+
"columns": {
|
|
10
|
+
"type": "ColumnDef<TData>[]",
|
|
11
|
+
"isRequired": true
|
|
12
|
+
},
|
|
13
|
+
"enableColumnFiltering": {
|
|
14
|
+
"type": "\"false\" | \"true\"",
|
|
15
|
+
"isRequired": false,
|
|
16
|
+
"defaultValue": false
|
|
17
|
+
},
|
|
18
|
+
"enableGlobalFiltering": {
|
|
19
|
+
"type": "\"false\" | \"true\"",
|
|
20
|
+
"isRequired": false,
|
|
21
|
+
"defaultValue": false
|
|
22
|
+
},
|
|
23
|
+
"enablePagination": {
|
|
24
|
+
"type": "\"false\" | \"true\"",
|
|
25
|
+
"isRequired": false,
|
|
26
|
+
"defaultValue": false
|
|
27
|
+
},
|
|
28
|
+
"enableRowSelection": {
|
|
29
|
+
"type": "\"false\" | \"true\"",
|
|
30
|
+
"isRequired": false,
|
|
31
|
+
"defaultValue": false
|
|
32
|
+
},
|
|
33
|
+
"enableSorting": {
|
|
34
|
+
"type": "\"false\" | \"true\"",
|
|
35
|
+
"isRequired": false,
|
|
36
|
+
"defaultValue": false
|
|
37
|
+
},
|
|
38
|
+
"onRowSelect": {
|
|
39
|
+
"type": "(selectedRows: TData[]) => void",
|
|
40
|
+
"isRequired": false
|
|
41
|
+
},
|
|
42
|
+
"paginationConfig": {
|
|
43
|
+
"type": "any",
|
|
44
|
+
"isRequired": false
|
|
45
|
+
},
|
|
46
|
+
"shouldPinSelectRowToLeft": {
|
|
47
|
+
"type": "\"false\" | \"true\"",
|
|
48
|
+
"isRequired": false,
|
|
49
|
+
"defaultValue": true
|
|
50
|
+
},
|
|
51
|
+
"sdsStyle": {
|
|
52
|
+
"type": "\"lined\" | \"striped\"",
|
|
53
|
+
"isRequired": false,
|
|
54
|
+
"defaultValue": "lined"
|
|
55
|
+
},
|
|
56
|
+
"tableRowProps": {
|
|
57
|
+
"type": "Partial<TableRowProps>",
|
|
58
|
+
"isRequired": false
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -26,16 +26,12 @@ Dropdown Menus are used in combination with Dropdown Inputs on napari hub as par
|
|
|
26
26
|
|
|
27
27
|
Click on each state below to enter inspect view and get details on its code attributes and any global styles it uses.
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
29
|
**Default**
|
|
32
30
|
|
|
33
31
|
---
|
|
34
32
|
|
|
35
33
|
---
|
|
36
34
|
|
|
37
|
-
|
|
38
|
-
|
|
39
35
|
**Default + Search**
|
|
40
36
|
|
|
41
37
|
---
|
|
@@ -266,8 +262,6 @@ Click on each state below to enter inspect view and get details on its code attr
|
|
|
266
262
|
|
|
267
263
|
Storybook
|
|
268
264
|
|
|
269
|
-
|
|
270
|
-
|
|
271
265
|
---
|
|
272
266
|
|
|
273
267
|
Dropdown Menus are coupled with Dropdown Inputs, Dropdown Buttons, and in some cases Icon Buttons whenever those elements present the user with options to choose from or selections to make.
|
|
@@ -296,8 +290,6 @@ Use the Single-select Dropdown Menu when users are only able to select one item
|
|
|
296
290
|
|
|
297
291
|
Click on each state below to enter inspect view and get details on its code attributes and any global styles it uses.
|
|
298
292
|
|
|
299
|
-
|
|
300
|
-
|
|
301
293
|
**Default**
|
|
302
294
|
|
|
303
295
|
---
|
|
@@ -326,8 +318,6 @@ Use the Multi-select Dropdown Menu when users are able to select one or more ite
|
|
|
326
318
|
|
|
327
319
|
Click on each state below to enter inspect view and get details on its code attributes and any global styles it uses.
|
|
328
320
|
|
|
329
|
-
|
|
330
|
-
|
|
331
321
|
**Default**
|
|
332
322
|
|
|
333
323
|
---
|
|
@@ -512,8 +502,6 @@ Click on each state below to enter inspect view and get details on its code attr
|
|
|
512
502
|
|
|
513
503
|
---
|
|
514
504
|
|
|
515
|
-
|
|
516
|
-
|
|
517
505
|
### Multi-select Menu Item
|
|
518
506
|
|
|
519
507
|
Menu Items can be optionally paired with additional clarifying details, with counters that indicate the number of items within that Menu Item's category, or be disabled entirely. These details are established within the `[array]` passed into the `options` prop on the Dropdown Menu component.
|
|
@@ -624,8 +612,6 @@ Use the Single-select Dropdown Menu when users are only able to select one item
|
|
|
624
612
|
|
|
625
613
|
Click on each state below to enter inspect view and get details on its code attributes and any global styles it uses.
|
|
626
614
|
|
|
627
|
-
|
|
628
|
-
|
|
629
615
|
**Default**
|
|
630
616
|
|
|
631
617
|
---
|
|
@@ -648,16 +634,12 @@ Click on each state below to enter inspect view and get details on its code attr
|
|
|
648
634
|
|
|
649
635
|
---
|
|
650
636
|
|
|
651
|
-
|
|
652
|
-
|
|
653
637
|
### Multi-select Dropdown Menu
|
|
654
638
|
|
|
655
639
|
Use the Multi-select Dropdown Menu when users are able to select one or more items from the menu. They can be configured to have their Menu Items separated out into different sections or groupings, or have a built-in title; both of these features are established by the `[array]` passed into the `options` prop. Additionally, they can be configured to include a Search Input. See the Data Format section below for details around configuring the `[array]`.
|
|
656
640
|
|
|
657
641
|
Click on each state below to enter inspect view and get details on its code attributes and any global styles it uses.
|
|
658
642
|
|
|
659
|
-
|
|
660
|
-
|
|
661
643
|
**Default**
|
|
662
644
|
|
|
663
645
|
---
|
|
@@ -850,8 +832,6 @@ Click on each state below to enter inspect view and get details on its code attr
|
|
|
850
832
|
|
|
851
833
|
---
|
|
852
834
|
|
|
853
|
-
|
|
854
|
-
|
|
855
835
|
### Multi-select Menu Item
|
|
856
836
|
|
|
857
837
|
Menu Items can be optionally paired with additional clarifying details, with counters that indicate the number of items within that Menu Item's category, or be disabled entirely. These details are established within the `[array]` passed into the `options` prop on the Dropdown Menu component.
|
|
@@ -931,5 +911,3 @@ Click on each state below to enter inspect view and get details on its code attr
|
|
|
931
911
|
### DropdownMenu
|
|
932
912
|
|
|
933
913
|
Storybook
|
|
934
|
-
|
|
935
|
-
|
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.
|
|
4
|
+
"version": "0.13.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": "
|
|
65
|
+
"gitHead": "cf607218acce402050b5c127e8528192c9bf5e52"
|
|
66
66
|
}
|