@czi-sds/mcp 0.2.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.
Files changed (98) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +34 -0
  3. package/data/component-list.json +55 -0
  4. package/data/component-props/Accordion.json +31 -0
  5. package/data/component-props/Alert.json +52 -0
  6. package/data/component-props/Autocomplete.json +52 -0
  7. package/data/component-props/Banner.json +35 -0
  8. package/data/component-props/Button.json +109 -0
  9. package/data/component-props/ButtonIcon.json +80 -0
  10. package/data/component-props/ButtonToggle.json +91 -0
  11. package/data/component-props/Callout.json +93 -0
  12. package/data/component-props/CellBasic.json +102 -0
  13. package/data/component-props/CellComponent.json +46 -0
  14. package/data/component-props/CellHeader.json +78 -0
  15. package/data/component-props/Chip.json +73 -0
  16. package/data/component-props/ComplexFilter.json +19 -0
  17. package/data/component-props/ContentCard.json +18 -0
  18. package/data/component-props/Dropdown.json +107 -0
  19. package/data/component-props/DropdownMenu.json +86 -0
  20. package/data/component-props/HeatmapChart.json +110 -0
  21. package/data/component-props/Icon.json +27 -0
  22. package/data/component-props/InputCheckbox.json +76 -0
  23. package/data/component-props/InputDropdown.json +72 -0
  24. package/data/component-props/InputRadio.json +75 -0
  25. package/data/component-props/InputSearch.json +99 -0
  26. package/data/component-props/InputSlider.json +56 -0
  27. package/data/component-props/InputText.json +95 -0
  28. package/data/component-props/InputToggle.json +72 -0
  29. package/data/component-props/List.json +43 -0
  30. package/data/component-props/LoadingIndicator.json +11 -0
  31. package/data/component-props/Menu.json +48 -0
  32. package/data/component-props/MenuItem.json +72 -0
  33. package/data/component-props/MenuSelect.json +83 -0
  34. package/data/component-props/NavigationFooter.json +50 -0
  35. package/data/component-props/NavigationHeader.json +119 -0
  36. package/data/component-props/NavigationJumpTo.json +58 -0
  37. package/data/component-props/Notification.json +89 -0
  38. package/data/component-props/Pagination.json +51 -0
  39. package/data/component-props/Panel.json +72 -0
  40. package/data/component-props/SegmentedControl.json +65 -0
  41. package/data/component-props/Table.json +26 -0
  42. package/data/component-props/TableRow.json +70 -0
  43. package/data/component-props/Tag.json +86 -0
  44. package/data/component-props/TagFilter.json +58 -0
  45. package/data/component-props/Tooltip.json +86 -0
  46. package/data/component-props/TooltipTable.json +22 -0
  47. package/data/component-props-storybook/Accordion-storybook.json +45 -0
  48. package/data/component-props-storybook/Alert-storybook.json +30 -0
  49. package/data/component-props-storybook/Autocomplete-storybook.json +67 -0
  50. package/data/component-props-storybook/Banner-storybook.json +78 -0
  51. package/data/component-props-storybook/Button-storybook.json +115 -0
  52. package/data/component-props-storybook/ButtonDropdown-storybook.json +73 -0
  53. package/data/component-props-storybook/ButtonIcon-storybook.json +60 -0
  54. package/data/component-props-storybook/ButtonToggle-storybook.json +68 -0
  55. package/data/component-props-storybook/Callout-storybook.json +90 -0
  56. package/data/component-props-storybook/CellBasic-storybook.json +138 -0
  57. package/data/component-props-storybook/CellComponent-storybook.json +48 -0
  58. package/data/component-props-storybook/CellHeader-storybook.json +71 -0
  59. package/data/component-props-storybook/Chip-storybook.json +26 -0
  60. package/data/component-props-storybook/ComplexFilter-storybook.json +60 -0
  61. package/data/component-props-storybook/ContentCard-storybook.json +175 -0
  62. package/data/component-props-storybook/Dialog-storybook.json +56 -0
  63. package/data/component-props-storybook/Dropdown-storybook.json +93 -0
  64. package/data/component-props-storybook/DropdownMenu-storybook.json +73 -0
  65. package/data/component-props-storybook/HeatmapChart-storybook.json +55 -0
  66. package/data/component-props-storybook/Icon-storybook.json +75 -0
  67. package/data/component-props-storybook/InputCheckbox-storybook.json +57 -0
  68. package/data/component-props-storybook/InputDropdown-storybook.json +80 -0
  69. package/data/component-props-storybook/InputRadio-storybook.json +56 -0
  70. package/data/component-props-storybook/InputSearch-storybook.json +55 -0
  71. package/data/component-props-storybook/InputSlider-storybook.json +55 -0
  72. package/data/component-props-storybook/InputText-storybook.json +59 -0
  73. package/data/component-props-storybook/InputToggle-storybook.json +42 -0
  74. package/data/component-props-storybook/Link-storybook.json +50 -0
  75. package/data/component-props-storybook/List-storybook.json +26 -0
  76. package/data/component-props-storybook/LoadingIndicator-storybook.json +34 -0
  77. package/data/component-props-storybook/Menu-storybook.json +26 -0
  78. package/data/component-props-storybook/MenuItem-storybook.json +74 -0
  79. package/data/component-props-storybook/MenuSelect-storybook.json +38 -0
  80. package/data/component-props-storybook/NavigationFooter-storybook.json +67 -0
  81. package/data/component-props-storybook/NavigationHeader-storybook.json +115 -0
  82. package/data/component-props-storybook/NavigationJumpTo-storybook.json +41 -0
  83. package/data/component-props-storybook/Notification-storybook.json +89 -0
  84. package/data/component-props-storybook/Pagination-storybook.json +50 -0
  85. package/data/component-props-storybook/Panel-storybook.json +52 -0
  86. package/data/component-props-storybook/SegmentedControl-storybook.json +30 -0
  87. package/data/component-props-storybook/Table-storybook.json +26 -0
  88. package/data/component-props-storybook/TableHeader-storybook.json +26 -0
  89. package/data/component-props-storybook/TableRow-storybook.json +62 -0
  90. package/data/component-props-storybook/Tabs-storybook.json +45 -0
  91. package/data/component-props-storybook/Tag-storybook.json +78 -0
  92. package/data/component-props-storybook/TagFilter-storybook.json +30 -0
  93. package/data/component-props-storybook/Tooltip-storybook.json +85 -0
  94. package/data/component-props-storybook/TooltipCondensed-storybook.json +38 -0
  95. package/data/component-props-storybook/TooltipTable-storybook.json +47 -0
  96. package/data/tailwind.json +3009 -0
  97. package/dist/stdio.js +357 -0
  98. package/package.json +66 -0
@@ -0,0 +1,56 @@
1
+ {
2
+ "InputRadio": {
3
+ "props": {
4
+ "caption": {
5
+ "type": "string",
6
+ "isRequired": false
7
+ },
8
+ "disabled": {
9
+ "type": "boolean",
10
+ "isRequired": false
11
+ },
12
+ "intent": {
13
+ "type": "\"default\" | \"negative\" | \"notice\" | \"positive\"",
14
+ "isRequired": false,
15
+ "options": [
16
+ "default",
17
+ "negative",
18
+ "notice",
19
+ "positive"
20
+ ]
21
+ },
22
+ "label": {
23
+ "type": "string",
24
+ "isRequired": false
25
+ },
26
+ "stage": {
27
+ "type": "\"checked\" | \"unchecked\"",
28
+ "isRequired": false,
29
+ "options": [
30
+ "checked",
31
+ "unchecked"
32
+ ]
33
+ },
34
+ "className": {
35
+ "type": "string",
36
+ "isRequired": false,
37
+ "description": "Standard React className prop"
38
+ },
39
+ "style": {
40
+ "type": "CSSProperties",
41
+ "isRequired": false,
42
+ "description": "Standard React style prop"
43
+ },
44
+ "children": {
45
+ "type": "ReactNode",
46
+ "isRequired": false,
47
+ "description": "Standard React children prop"
48
+ },
49
+ "id": {
50
+ "type": "string",
51
+ "isRequired": false,
52
+ "description": "Standard React id prop"
53
+ }
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "InputSearch": {
3
+ "props": {
4
+ "disabled": {
5
+ "type": "boolean",
6
+ "isRequired": false
7
+ },
8
+ "id": {
9
+ "type": "string",
10
+ "isRequired": true
11
+ },
12
+ "intent": {
13
+ "type": "\"default\" | \"negative\" | \"notice\" | \"positive\"",
14
+ "isRequired": false,
15
+ "options": [
16
+ "default",
17
+ "negative",
18
+ "notice",
19
+ "positive"
20
+ ]
21
+ },
22
+ "label": {
23
+ "type": "string",
24
+ "isRequired": true
25
+ },
26
+ "placeholder": {
27
+ "type": "string",
28
+ "isRequired": false
29
+ },
30
+ "sdsStyle": {
31
+ "type": "\"rounded\" | \"square\"",
32
+ "isRequired": false,
33
+ "options": [
34
+ "rounded",
35
+ "square"
36
+ ]
37
+ },
38
+ "className": {
39
+ "type": "string",
40
+ "isRequired": false,
41
+ "description": "Standard React className prop"
42
+ },
43
+ "style": {
44
+ "type": "CSSProperties",
45
+ "isRequired": false,
46
+ "description": "Standard React style prop"
47
+ },
48
+ "children": {
49
+ "type": "ReactNode",
50
+ "isRequired": false,
51
+ "description": "Standard React children prop"
52
+ }
53
+ }
54
+ }
55
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "InputSlider": {
3
+ "props": {
4
+ "disabled": {
5
+ "type": "boolean",
6
+ "isRequired": false
7
+ },
8
+ "marks": {
9
+ "type": "boolean",
10
+ "isRequired": false
11
+ },
12
+ "max": {
13
+ "type": "number",
14
+ "isRequired": false
15
+ },
16
+ "min": {
17
+ "type": "number",
18
+ "isRequired": false
19
+ },
20
+ "step": {
21
+ "type": "number",
22
+ "isRequired": false
23
+ },
24
+ "valueLabelDisplay": {
25
+ "type": "\"auto\" | \"off\" | \"on\"",
26
+ "isRequired": false,
27
+ "options": [
28
+ "auto",
29
+ "off",
30
+ "on"
31
+ ]
32
+ },
33
+ "className": {
34
+ "type": "string",
35
+ "isRequired": false,
36
+ "description": "Standard React className prop"
37
+ },
38
+ "style": {
39
+ "type": "CSSProperties",
40
+ "isRequired": false,
41
+ "description": "Standard React style prop"
42
+ },
43
+ "children": {
44
+ "type": "ReactNode",
45
+ "isRequired": false,
46
+ "description": "Standard React children prop"
47
+ },
48
+ "id": {
49
+ "type": "string",
50
+ "isRequired": false,
51
+ "description": "Standard React id prop"
52
+ }
53
+ }
54
+ }
55
+ }
@@ -0,0 +1,59 @@
1
+ {
2
+ "InputText": {
3
+ "props": {
4
+ "disabled": {
5
+ "type": "boolean",
6
+ "isRequired": false
7
+ },
8
+ "hideLabel": {
9
+ "type": "boolean",
10
+ "isRequired": false
11
+ },
12
+ "id": {
13
+ "type": "string",
14
+ "isRequired": true
15
+ },
16
+ "intent": {
17
+ "type": "\"default\" | \"negative\" | \"notice\" | \"positive\"",
18
+ "isRequired": false,
19
+ "options": [
20
+ "default",
21
+ "negative",
22
+ "notice",
23
+ "positive"
24
+ ]
25
+ },
26
+ "label": {
27
+ "type": "string",
28
+ "isRequired": false
29
+ },
30
+ "placeholder": {
31
+ "type": "string",
32
+ "isRequired": false
33
+ },
34
+ "sdsType": {
35
+ "type": "\"textField\" | \"textArea\"",
36
+ "isRequired": false,
37
+ "options": [
38
+ "textField",
39
+ "textArea"
40
+ ]
41
+ },
42
+ "className": {
43
+ "type": "string",
44
+ "isRequired": false,
45
+ "description": "Standard React className prop"
46
+ },
47
+ "style": {
48
+ "type": "CSSProperties",
49
+ "isRequired": false,
50
+ "description": "Standard React style prop"
51
+ },
52
+ "children": {
53
+ "type": "ReactNode",
54
+ "isRequired": false,
55
+ "description": "Standard React children prop"
56
+ }
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "InputToggle": {
3
+ "props": {
4
+ "disabled": {
5
+ "type": "boolean",
6
+ "isRequired": false
7
+ },
8
+ "offLabel": {
9
+ "type": "string",
10
+ "isRequired": false
11
+ },
12
+ "onLabel": {
13
+ "type": "string",
14
+ "isRequired": false
15
+ },
16
+ "width": {
17
+ "type": "number",
18
+ "isRequired": false
19
+ },
20
+ "className": {
21
+ "type": "string",
22
+ "isRequired": false,
23
+ "description": "Standard React className prop"
24
+ },
25
+ "style": {
26
+ "type": "CSSProperties",
27
+ "isRequired": false,
28
+ "description": "Standard React style prop"
29
+ },
30
+ "children": {
31
+ "type": "ReactNode",
32
+ "isRequired": false,
33
+ "description": "Standard React children prop"
34
+ },
35
+ "id": {
36
+ "type": "string",
37
+ "isRequired": false,
38
+ "description": "Standard React id prop"
39
+ }
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "Link": {
3
+ "props": {
4
+ "fontWeight": {
5
+ "type": "\"normal\" | \"bold\"",
6
+ "isRequired": false,
7
+ "options": [
8
+ "normal",
9
+ "bold"
10
+ ]
11
+ },
12
+ "sdsSize": {
13
+ "type": "\"s\" | \"xs\"",
14
+ "isRequired": false,
15
+ "options": [
16
+ "s",
17
+ "xs"
18
+ ]
19
+ },
20
+ "sdsStyle": {
21
+ "type": "\"default\" | \"dashed\"",
22
+ "isRequired": false,
23
+ "options": [
24
+ "default",
25
+ "dashed"
26
+ ]
27
+ },
28
+ "className": {
29
+ "type": "string",
30
+ "isRequired": false,
31
+ "description": "Standard React className prop"
32
+ },
33
+ "style": {
34
+ "type": "CSSProperties",
35
+ "isRequired": false,
36
+ "description": "Standard React style prop"
37
+ },
38
+ "children": {
39
+ "type": "ReactNode",
40
+ "isRequired": false,
41
+ "description": "Standard React children prop"
42
+ },
43
+ "id": {
44
+ "type": "string",
45
+ "isRequired": false,
46
+ "description": "Standard React id prop"
47
+ }
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "List": {
3
+ "props": {
4
+ "className": {
5
+ "type": "string",
6
+ "isRequired": false,
7
+ "description": "Standard React className prop"
8
+ },
9
+ "style": {
10
+ "type": "CSSProperties",
11
+ "isRequired": false,
12
+ "description": "Standard React style prop"
13
+ },
14
+ "children": {
15
+ "type": "ReactNode",
16
+ "isRequired": false,
17
+ "description": "Standard React children prop"
18
+ },
19
+ "id": {
20
+ "type": "string",
21
+ "isRequired": false,
22
+ "description": "Standard React id prop"
23
+ }
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "LoadingIndicator": {
3
+ "props": {
4
+ "sdsStyle": {
5
+ "type": "\"minimal\" | \"tag\"",
6
+ "isRequired": false,
7
+ "options": [
8
+ "minimal",
9
+ "tag"
10
+ ]
11
+ },
12
+ "className": {
13
+ "type": "string",
14
+ "isRequired": false,
15
+ "description": "Standard React className prop"
16
+ },
17
+ "style": {
18
+ "type": "CSSProperties",
19
+ "isRequired": false,
20
+ "description": "Standard React style prop"
21
+ },
22
+ "children": {
23
+ "type": "ReactNode",
24
+ "isRequired": false,
25
+ "description": "Standard React children prop"
26
+ },
27
+ "id": {
28
+ "type": "string",
29
+ "isRequired": false,
30
+ "description": "Standard React id prop"
31
+ }
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "Menu": {
3
+ "props": {
4
+ "className": {
5
+ "type": "string",
6
+ "isRequired": false,
7
+ "description": "Standard React className prop"
8
+ },
9
+ "style": {
10
+ "type": "CSSProperties",
11
+ "isRequired": false,
12
+ "description": "Standard React style prop"
13
+ },
14
+ "children": {
15
+ "type": "ReactNode",
16
+ "isRequired": false,
17
+ "description": "Standard React children prop"
18
+ },
19
+ "id": {
20
+ "type": "string",
21
+ "isRequired": false,
22
+ "description": "Standard React id prop"
23
+ }
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "MenuItem": {
3
+ "props": {
4
+ "column": {
5
+ "type": "string",
6
+ "isRequired": false
7
+ },
8
+ "disabled": {
9
+ "type": "boolean",
10
+ "isRequired": false
11
+ },
12
+ "icon": {
13
+ "type": "\"0\" | \"1\" | \"2\" | \"3\" | \"4\" | \"5\"",
14
+ "isRequired": false,
15
+ "options": [
16
+ "0",
17
+ "1",
18
+ "2",
19
+ "3",
20
+ "4",
21
+ "5"
22
+ ]
23
+ },
24
+ "isMultiSelect": {
25
+ "type": "boolean",
26
+ "isRequired": false
27
+ },
28
+ "sdsIconProps": {
29
+ "type": "object",
30
+ "isRequired": false
31
+ },
32
+ "sdsStyle": {
33
+ "type": "\"determinate\" | \"indeterminate\"",
34
+ "isRequired": false,
35
+ "options": [
36
+ "determinate",
37
+ "indeterminate"
38
+ ]
39
+ },
40
+ "sdsType": {
41
+ "type": "\"default\" | \"action\"",
42
+ "isRequired": false,
43
+ "options": [
44
+ "default",
45
+ "action"
46
+ ]
47
+ },
48
+ "selected": {
49
+ "type": "boolean",
50
+ "isRequired": false
51
+ },
52
+ "className": {
53
+ "type": "string",
54
+ "isRequired": false,
55
+ "description": "Standard React className prop"
56
+ },
57
+ "style": {
58
+ "type": "CSSProperties",
59
+ "isRequired": false,
60
+ "description": "Standard React style prop"
61
+ },
62
+ "children": {
63
+ "type": "ReactNode",
64
+ "isRequired": false,
65
+ "description": "Standard React children prop"
66
+ },
67
+ "id": {
68
+ "type": "string",
69
+ "isRequired": false,
70
+ "description": "Standard React id prop"
71
+ }
72
+ }
73
+ }
74
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "MenuSelect": {
3
+ "props": {
4
+ "keepSearchOnSelect": {
5
+ "type": "boolean",
6
+ "isRequired": false
7
+ },
8
+ "multiple": {
9
+ "type": "boolean",
10
+ "isRequired": false
11
+ },
12
+ "search": {
13
+ "type": "boolean",
14
+ "isRequired": false
15
+ },
16
+ "className": {
17
+ "type": "string",
18
+ "isRequired": false,
19
+ "description": "Standard React className prop"
20
+ },
21
+ "style": {
22
+ "type": "CSSProperties",
23
+ "isRequired": false,
24
+ "description": "Standard React style prop"
25
+ },
26
+ "children": {
27
+ "type": "ReactNode",
28
+ "isRequired": false,
29
+ "description": "Standard React children prop"
30
+ },
31
+ "id": {
32
+ "type": "string",
33
+ "isRequired": false,
34
+ "description": "Standard React id prop"
35
+ }
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "NavigationFooter": {
3
+ "props": {
4
+ "hasInvertedStyle": {
5
+ "type": "boolean",
6
+ "isRequired": false
7
+ },
8
+ "images": {
9
+ "type": "object",
10
+ "isRequired": false
11
+ },
12
+ "logo": {
13
+ "type": "\"0\" | \"1\" | \"2\"",
14
+ "isRequired": false,
15
+ "options": [
16
+ "0",
17
+ "1",
18
+ "2"
19
+ ]
20
+ },
21
+ "logoUrl": {
22
+ "type": "string",
23
+ "isRequired": false
24
+ },
25
+ "navItems": {
26
+ "type": "object",
27
+ "isRequired": false
28
+ },
29
+ "navLinks": {
30
+ "type": "object",
31
+ "isRequired": false
32
+ },
33
+ "tag": {
34
+ "type": "string",
35
+ "isRequired": false
36
+ },
37
+ "tagColor": {
38
+ "type": "string",
39
+ "isRequired": false
40
+ },
41
+ "title": {
42
+ "type": "string",
43
+ "isRequired": false
44
+ },
45
+ "className": {
46
+ "type": "string",
47
+ "isRequired": false,
48
+ "description": "Standard React className prop"
49
+ },
50
+ "style": {
51
+ "type": "CSSProperties",
52
+ "isRequired": false,
53
+ "description": "Standard React style prop"
54
+ },
55
+ "children": {
56
+ "type": "ReactNode",
57
+ "isRequired": false,
58
+ "description": "Standard React children prop"
59
+ },
60
+ "id": {
61
+ "type": "string",
62
+ "isRequired": false,
63
+ "description": "Standard React id prop"
64
+ }
65
+ }
66
+ }
67
+ }