@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,102 @@
1
+ {
2
+ "CellBasic": {
3
+ "props": {
4
+ "disabled": {
5
+ "type": "\"false\" | \"true\"",
6
+ "isRequired": false
7
+ },
8
+ "name": {
9
+ "type": "string",
10
+ "isRequired": false
11
+ },
12
+ "value": {
13
+ "type": "\"string\" | \"number\" | \"readonly string[]\"",
14
+ "isRequired": false
15
+ },
16
+ "className": {
17
+ "type": "string",
18
+ "isRequired": false
19
+ },
20
+ "id": {
21
+ "type": "string",
22
+ "isRequired": false
23
+ },
24
+ "style": {
25
+ "type": "CSSProperties",
26
+ "isRequired": false
27
+ },
28
+ "onChange": {
29
+ "type": "FormEventHandler<HTMLTableCellElement>",
30
+ "isRequired": false
31
+ },
32
+ "onClick": {
33
+ "type": "function",
34
+ "isRequired": false
35
+ },
36
+ "shouldShowTooltipOnHover": {
37
+ "type": "\"false\" | \"true\"",
38
+ "isRequired": false
39
+ },
40
+ "tooltipProps": {
41
+ "type": "TooltipProps",
42
+ "isRequired": false
43
+ },
44
+ "horizontalAlign": {
45
+ "type": "\"left\" | \"right\"",
46
+ "isRequired": false
47
+ },
48
+ "verticalAlign": {
49
+ "type": "\"top\" | \"center\" | \"bottom\"",
50
+ "isRequired": false
51
+ },
52
+ "iconVerticalAlign": {
53
+ "type": "\"top\" | \"center\" | \"bottom\"",
54
+ "isRequired": false
55
+ },
56
+ "shouldTextWrap": {
57
+ "type": "\"false\" | \"true\"",
58
+ "isRequired": false
59
+ },
60
+ "primaryTextWrapLineCount": {
61
+ "type": "number",
62
+ "isRequired": false
63
+ },
64
+ "secondaryTextWrapLineCount": {
65
+ "type": "number",
66
+ "isRequired": false
67
+ },
68
+ "tertiaryTextWrapLineCount": {
69
+ "type": "number",
70
+ "isRequired": false
71
+ },
72
+ "tabularNums": {
73
+ "type": "\"false\" | \"true\"",
74
+ "isRequired": false
75
+ },
76
+ "primaryText": {
77
+ "type": "string",
78
+ "isRequired": true
79
+ },
80
+ "secondaryText": {
81
+ "type": "string",
82
+ "isRequired": false
83
+ },
84
+ "tertiaryText": {
85
+ "type": "string",
86
+ "isRequired": false
87
+ },
88
+ "icon": {
89
+ "type": "ReactElement",
90
+ "isRequired": false
91
+ },
92
+ "primaryTextComponentSlotRight": {
93
+ "type": "ReactNode",
94
+ "isRequired": false
95
+ },
96
+ "primaryTextComponentSlotBottom": {
97
+ "type": "ReactNode",
98
+ "isRequired": false
99
+ }
100
+ }
101
+ }
102
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "CellComponent": {
3
+ "props": {
4
+ "disabled": {
5
+ "type": "\"false\" | \"true\"",
6
+ "isRequired": false
7
+ },
8
+ "name": {
9
+ "type": "string",
10
+ "isRequired": false
11
+ },
12
+ "value": {
13
+ "type": "\"string\" | \"number\" | \"readonly string[]\"",
14
+ "isRequired": false
15
+ },
16
+ "className": {
17
+ "type": "string",
18
+ "isRequired": false
19
+ },
20
+ "id": {
21
+ "type": "string",
22
+ "isRequired": false
23
+ },
24
+ "style": {
25
+ "type": "CSSProperties",
26
+ "isRequired": false
27
+ },
28
+ "onChange": {
29
+ "type": "FormEventHandler<HTMLTableCellElement>",
30
+ "isRequired": false
31
+ },
32
+ "onClick": {
33
+ "type": "function",
34
+ "isRequired": false
35
+ },
36
+ "horizontalAlign": {
37
+ "type": "\"left\" | \"center\" | \"right\"",
38
+ "isRequired": false
39
+ },
40
+ "verticalAlign": {
41
+ "type": "\"center\" | \"top\" | \"bottom\"",
42
+ "isRequired": false
43
+ }
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "CellHeader": {
3
+ "props": {
4
+ "disabled": {
5
+ "type": "\"false\" | \"true\"",
6
+ "isRequired": false
7
+ },
8
+ "name": {
9
+ "type": "string",
10
+ "isRequired": false
11
+ },
12
+ "value": {
13
+ "type": "\"string\" | \"number\" | \"readonly string[]\"",
14
+ "isRequired": false
15
+ },
16
+ "className": {
17
+ "type": "string",
18
+ "isRequired": false
19
+ },
20
+ "id": {
21
+ "type": "string",
22
+ "isRequired": false
23
+ },
24
+ "style": {
25
+ "type": "CSSProperties",
26
+ "isRequired": false
27
+ },
28
+ "onChange": {
29
+ "type": "FormEventHandler<HTMLTableCellElement>",
30
+ "isRequired": false
31
+ },
32
+ "onClick": {
33
+ "type": "function",
34
+ "isRequired": false
35
+ },
36
+ "tooltipText": {
37
+ "type": "string",
38
+ "isRequired": false
39
+ },
40
+ "tooltipSubtitle": {
41
+ "type": "string",
42
+ "isRequired": false
43
+ },
44
+ "shouldShowTooltipOnHover": {
45
+ "type": "\"false\" | \"true\"",
46
+ "isRequired": false
47
+ },
48
+ "tooltipProps": {
49
+ "type": "TooltipProps",
50
+ "isRequired": false
51
+ },
52
+ "active": {
53
+ "type": "\"false\" | \"true\"",
54
+ "isRequired": false
55
+ },
56
+ "hideSortIcon": {
57
+ "type": "\"false\" | \"true\"",
58
+ "isRequired": false
59
+ },
60
+ "horizontalAlign": {
61
+ "type": "\"left\" | \"center\" | \"right\"",
62
+ "isRequired": false
63
+ },
64
+ "hover": {
65
+ "type": "\"false\" | \"true\"",
66
+ "isRequired": false
67
+ },
68
+ "shouldTruncate": {
69
+ "type": "\"false\" | \"true\"",
70
+ "isRequired": false
71
+ },
72
+ "direction": {
73
+ "type": "\"asc\" | \"desc\"",
74
+ "isRequired": false
75
+ }
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "Chip": {
3
+ "props": {
4
+ "size": {
5
+ "type": "\"small\" | \"medium\"",
6
+ "isRequired": false,
7
+ "description": "The size of the component.",
8
+ "defaultValue": "medium"
9
+ },
10
+ "status": {
11
+ "type": "\"success\" | \"error\" | \"warning\" | \"info\" | \"pending\" | \"beta\"",
12
+ "isRequired": false
13
+ },
14
+ "isRounded": {
15
+ "type": "\"false\" | \"true\"",
16
+ "isRequired": false
17
+ },
18
+ "children": {
19
+ "type": "null",
20
+ "isRequired": false,
21
+ "description": "This prop isn't supported.\nUse the `component` prop if you need to change the children structure."
22
+ },
23
+ "color": {
24
+ "type": "\"success\" | \"error\" | \"warning\" | \"info\" | \"default\" | \"primary\" | \"secondary\"",
25
+ "isRequired": false,
26
+ "description": "The color of the component.\nIt supports both default and custom theme colors, which can be added as shown in the\n[palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).",
27
+ "defaultValue": "default"
28
+ },
29
+ "disabled": {
30
+ "type": "\"false\" | \"true\"",
31
+ "isRequired": false,
32
+ "description": "If `true`, the component is disabled.",
33
+ "defaultValue": false
34
+ },
35
+ "icon": {
36
+ "type": "ReactElement",
37
+ "isRequired": false,
38
+ "description": "Icon element."
39
+ },
40
+ "label": {
41
+ "type": "ReactNode",
42
+ "isRequired": false,
43
+ "description": "The content of the component."
44
+ },
45
+ "variant": {
46
+ "type": "\"filled\" | \"outlined\"",
47
+ "isRequired": false,
48
+ "description": "The variant to use.",
49
+ "defaultValue": "filled"
50
+ },
51
+ "className": {
52
+ "type": "string",
53
+ "isRequired": false
54
+ },
55
+ "style": {
56
+ "type": "CSSProperties",
57
+ "isRequired": false
58
+ },
59
+ "id": {
60
+ "type": "string",
61
+ "isRequired": false
62
+ },
63
+ "onChange": {
64
+ "type": "FormEventHandler<HTMLDivElement>",
65
+ "isRequired": false
66
+ },
67
+ "onClick": {
68
+ "type": "function",
69
+ "isRequired": false
70
+ }
71
+ }
72
+ }
73
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "ComplexFilter": {
3
+ "props": {
4
+ "label": {
5
+ "type": "ReactNode",
6
+ "isRequired": false
7
+ },
8
+ "onChange": {
9
+ "type": "(options: AutocompleteValue<T, Multiple, DisableClearable, FreeSolo>) => void",
10
+ "isRequired": false
11
+ },
12
+ "InputDropdownProps": {
13
+ "type": "InputDropdownPropsType",
14
+ "isRequired": false,
15
+ "defaultValue": "{ sdsStyle: minimal }"
16
+ }
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "ContentCard": {
3
+ "props": {
4
+ "buttonsPosition": {
5
+ "type": "\"left\" | \"right\"",
6
+ "isRequired": false
7
+ },
8
+ "clickableCard": {
9
+ "type": "\"false\" | \"true\"",
10
+ "isRequired": false
11
+ },
12
+ "classes": {
13
+ "type": "{ cardActions?: string; }",
14
+ "isRequired": false
15
+ }
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "Dropdown": {
3
+ "props": {
4
+ "onChange": {
5
+ "type": "(event: SyntheticEvent",
6
+ "isRequired": false,
7
+ "description": "Callback fired when the value changes.\n@param event The event source of the callback.\n@param value The new value of the component.\n@param reason One of \"createOption\", \"selectOption\", \"removeOption\", \"blur\" or \"clear\".\n@param details"
8
+ },
9
+ "className": {
10
+ "type": "string",
11
+ "isRequired": false
12
+ },
13
+ "id": {
14
+ "type": "string",
15
+ "isRequired": false,
16
+ "description": "This prop is used to help implement the accessibility logic.\nIf you don't provide an id it will fall back to a randomly generated one."
17
+ },
18
+ "style": {
19
+ "type": "CSSProperties",
20
+ "isRequired": false
21
+ },
22
+ "onClick": {
23
+ "type": "function",
24
+ "isRequired": false
25
+ },
26
+ "disabled": {
27
+ "type": "\"false\" | \"true\"",
28
+ "isRequired": false,
29
+ "description": "If `true`, the component is disabled.",
30
+ "defaultValue": false
31
+ },
32
+ "fullWidth": {
33
+ "type": "\"false\" | \"true\"",
34
+ "isRequired": false,
35
+ "description": "If `true`, the input will take up the full width of its container.",
36
+ "defaultValue": false
37
+ },
38
+ "loading": {
39
+ "type": "\"false\" | \"true\"",
40
+ "isRequired": false,
41
+ "description": "If `true`, the component is in a loading state.\nThis shows the `loadingText` in place of suggestions (only if there are no suggestions to show, for example `options` are empty).",
42
+ "defaultValue": false
43
+ },
44
+ "size": {
45
+ "type": "\"small\" | \"medium\"",
46
+ "isRequired": false,
47
+ "description": "The size of the component.",
48
+ "defaultValue": "medium"
49
+ },
50
+ "onClose": {
51
+ "type": "(event: SyntheticEvent<Element, Event>, reason: AutocompleteCloseReason) => void",
52
+ "isRequired": false,
53
+ "description": "Callback fired when the popup requests to be closed.\nUse in controlled mode (see open).\n@param event The event source of the callback.\n@param reason Can be: `\"toggleInput\"`, `\"escape\"`, `\"selectOption\"`, `\"removeOption\"`, `\"blur\"`."
54
+ },
55
+ "open": {
56
+ "type": "\"false\" | \"true\"",
57
+ "isRequired": false,
58
+ "description": "If `true`, the component is shown."
59
+ },
60
+ "value": {
61
+ "type": "any",
62
+ "isRequired": false,
63
+ "description": "The value of the autocomplete.\n\nThe value must have reference equality with the option in order to be selected.\nYou can customize the equality behavior with the `isOptionEqualToValue` prop."
64
+ },
65
+ "buttonPosition": {
66
+ "type": "\"left\" | \"right\"",
67
+ "isRequired": false
68
+ },
69
+ "buttons": {
70
+ "type": "\"false\" | \"true\"",
71
+ "isRequired": false
72
+ },
73
+ "closeOnBlur": {
74
+ "type": "\"false\" | \"true\"",
75
+ "isRequired": false
76
+ },
77
+ "label": {
78
+ "type": "ReactNode",
79
+ "isRequired": true
80
+ },
81
+ "search": {
82
+ "type": "\"false\" | \"true\"",
83
+ "isRequired": false
84
+ },
85
+ "isSearchAutoFocus": {
86
+ "type": "\"false\" | \"true\"",
87
+ "isRequired": false
88
+ },
89
+ "DropdownMenuProps": {
90
+ "type": "SdsDropdownMenuProps<T, Multiple, DisableClearable, FreeSolo>",
91
+ "isRequired": false
92
+ },
93
+ "InputDropdownProps": {
94
+ "type": "InputDropdownPropsType",
95
+ "isRequired": false
96
+ },
97
+ "InputDropdownComponent": {
98
+ "type": "any",
99
+ "isRequired": false
100
+ },
101
+ "isTriggerChangeOnOptionClick": {
102
+ "type": "\"false\" | \"true\"",
103
+ "isRequired": false
104
+ }
105
+ }
106
+ }
107
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "DropdownMenu": {
3
+ "props": {
4
+ "keepSearchOnSelect": {
5
+ "type": "\"false\" | \"true\"",
6
+ "isRequired": false
7
+ },
8
+ "renderInput": {
9
+ "type": "ReactNode",
10
+ "isRequired": false
11
+ },
12
+ "onInputChange": {
13
+ "type": "(event: SyntheticEvent",
14
+ "isRequired": false
15
+ },
16
+ "InputBaseProps": {
17
+ "type": "InputSearchProps",
18
+ "isRequired": false
19
+ },
20
+ "PopperBaseProps": {
21
+ "type": "Partial<PopperProps>",
22
+ "isRequired": false
23
+ },
24
+ "title": {
25
+ "type": "ReactNode",
26
+ "isRequired": false
27
+ },
28
+ "headerComponentSlot": {
29
+ "type": "Element",
30
+ "isRequired": false
31
+ },
32
+ "label": {
33
+ "type": "string",
34
+ "isRequired": false
35
+ },
36
+ "anchorEl": {
37
+ "type": "HTMLElement",
38
+ "isRequired": true
39
+ },
40
+ "PopperComponent": {
41
+ "type": "ReactNode",
42
+ "isRequired": false
43
+ },
44
+ "PaperComponent": {
45
+ "type": "ReactNode",
46
+ "isRequired": false
47
+ },
48
+ "PopperPlacement": {
49
+ "type": "complex",
50
+ "isRequired": false
51
+ },
52
+ "onClickAway": {
53
+ "type": "function",
54
+ "isRequired": false
55
+ },
56
+ "ClickAwayListenerProps": {
57
+ "type": "Partial<ClickAwayListenerProps>",
58
+ "isRequired": false
59
+ },
60
+ "width": {
61
+ "type": "\"string\" | \"number\" | \"string & {}\"",
62
+ "isRequired": false
63
+ },
64
+ "count": {
65
+ "type": "number",
66
+ "isRequired": false
67
+ },
68
+ "icon": {
69
+ "type": "ReactElement",
70
+ "isRequired": false
71
+ },
72
+ "search": {
73
+ "type": "\"false\" | \"true\"",
74
+ "isRequired": false
75
+ },
76
+ "isSearchAutoFocus": {
77
+ "type": "\"false\" | \"true\"",
78
+ "isRequired": false
79
+ },
80
+ "isMultiColumn": {
81
+ "type": "\"false\" | \"true\"",
82
+ "isRequired": false
83
+ }
84
+ }
85
+ }
86
+ }
@@ -0,0 +1,110 @@
1
+ {
2
+ "HeatmapChart": {
3
+ "props": {
4
+ "echartsRendererMode": {
5
+ "type": "\"svg\" | \"canvas\"",
6
+ "isRequired": false
7
+ },
8
+ "className": {
9
+ "type": "string",
10
+ "isRequired": false
11
+ },
12
+ "id": {
13
+ "type": "string",
14
+ "isRequired": false
15
+ },
16
+ "style": {
17
+ "type": "CSSProperties",
18
+ "isRequired": false
19
+ },
20
+ "onChange": {
21
+ "type": "FormEventHandler<HTMLDivElement>",
22
+ "isRequired": false
23
+ },
24
+ "onClick": {
25
+ "type": "function",
26
+ "isRequired": false
27
+ },
28
+ "axisPointer": {
29
+ "type": "\"AxisPointerOption\" | \"AxisPointerOption[]\"",
30
+ "isRequired": false,
31
+ "description": "Display reference line and axis value under mouse pointer\nhttps://echarts.apache.org/en/option.html#axisPointer"
32
+ },
33
+ "data": {
34
+ "type": "\"OptionSourceDataTypedArray\" | \"OptionSourceDataOriginal<OptionDataValue, OptionDataItemOriginal<OptionDataValue>>\" | \"OptionSourceDataObjectRows<OptionDataValue>\" | \"OptionSourceDataArrayRows<OptionDataValue>\" | \"OptionSourceDataKeyedColumns<OptionDataValue>\"",
35
+ "isRequired": true,
36
+ "description": "The data array to be visualized\nThe data point object shape can be whatever you like, but it must be consistent with the `encode` option\nFor example, if the data point shape is:\n{\n geneIndex: 0,\n cellTypeIndex: 0,\n percentage: 0.5\n}\nand you want geneIndex to be encoded to x axis and cellTypeIndex to be encoded to y axis, then make sure your encode option is:\nencode: {\n x: 'geneIndex',\n y: 'cellTypeIndex'\n}"
37
+ },
38
+ "dataZoom": {
39
+ "type": "\"SliderDataZoomOption\" | \"InsideDataZoomOption\" | \"DataZoomComponentOption[]\"",
40
+ "isRequired": false,
41
+ "description": "The `dataZoom` prop is utilized for implementing zoom functionality within a\nspecific area of the chart. This feature empowers users to inspect data in\ngranular detail, obtain an overview of the entire dataset, or eliminate\noutlier points.\nBy applying the `dataZoom` prop while locking the zoom level, the chart\nefficiently renders a confined portion of the heatmap. This selective\nrendering strategy becomes especially advantageous when dealing with\nextensive datasets. Instead of rendering the entire heatmap at once,\nthe chart dynamically loads and renders specific segments as the user\nscrolls through the data. This approach optimizes performance and enables\nthe creation of heatmaps with large amounts of data.\nhttps://echarts.apache.org/en/option.html#dataZoom"
42
+ },
43
+ "camera": {
44
+ "type": "{ active: boolean; height: number; width: number; }",
45
+ "isRequired": false,
46
+ "description": "The `camera` prop is utilized for implementing camera view port functionality\nwithin a specific area of the chart. This feature empowers users to render\na confined portion of the heatmap. This selective rendering strategy becomes\nespecially advantageous when dealing with extensive datasets. Instead of\nrendering the entire heatmap at once, the chart dynamically loads and renders\nspecific segments as the user scrolls through the data. This approach optimizes\nperformance and enables the creation of heatmaps with large amounts of data.\n\nThe `height` and `width` properties are used to specify the dimensions of the\ncamera view port. The `active` property is used to enable or disable the camera\nview port functionality."
47
+ },
48
+ "emphasis": {
49
+ "type": "ScatterStateOption",
50
+ "isRequired": false,
51
+ "description": "Customize the style of each cell item when mouse hovers on it, such as color, border, opacity, etc.\nhttps://echarts.apache.org/en/option.html#series-scatter.emphasis"
52
+ },
53
+ "xAxisData": {
54
+ "type": "CategoryAxisData",
55
+ "isRequired": true,
56
+ "description": "The data for the x axis\nFor example:\n[{ value: \"gene1\", textStyle: { color: \"red\" } }, \"gene2\", \"gene3\"]"
57
+ },
58
+ "yAxisData": {
59
+ "type": "CategoryAxisData",
60
+ "isRequired": true,
61
+ "description": "The data for the y axis\nFor example:\n[{ value: \"cellType1\", textStyle: { color: \"red\" } }, \"cellType2\", \"cellType3\"]"
62
+ },
63
+ "width": {
64
+ "type": "number",
65
+ "isRequired": true,
66
+ "description": "The width of the chart in pixels"
67
+ },
68
+ "height": {
69
+ "type": "number",
70
+ "isRequired": true,
71
+ "description": "The height of the chart in pixels"
72
+ },
73
+ "encode": {
74
+ "type": "{ x: string; y: string; }",
75
+ "isRequired": false,
76
+ "description": "Provide a mapping of data key to x/y axis encoding\nFor example, if the data is:\n{\n geneIndex: 0,\n cellTypeIndex: 0,\n percentage: 0.5\n}\nand we want to encode `geneIndex` to x axis and `cellTypeIndex` to y axis, then\nencode: {\n x: 'geneIndex',\n y: 'cellTypeIndex'\n}\nhttps://echarts.apache.org/en/option.html#series-scatter.encode"
77
+ },
78
+ "itemStyle": {
79
+ "type": "ItemStyleOption<CallbackDataParams>",
80
+ "isRequired": false,
81
+ "description": "Customize the style of each cell item, such as color, border, opacity, etc.\nhttps://echarts.apache.org/en/option.html#series-scatter.itemStyle"
82
+ },
83
+ "symbol": {
84
+ "type": "\"circle\" | \"rect\" | \"roundRect\"",
85
+ "isRequired": false,
86
+ "description": "The shape of the symbol."
87
+ },
88
+ "symbolSize": {
89
+ "type": "\"number\" | \"number[]\" | \"SymbolSizeCallback<CallbackDataParams>\"",
90
+ "isRequired": false,
91
+ "description": "`symbolSize` can be set to single numbers like 10, or use an array to represent width and height. For example, [20, 10] means symbol width is 20, and height is 10.\n\nIf size of symbols needs to be different, you can set with callback function in the following format:\n\n(value: Array|number, params: Object) => number|Array\n\nThe first parameter value is the value in data, and the second parameter params is the rest parameters of data item.\nhttps://echarts.apache.org/en/option.html#series-scatter.symbolSize"
92
+ },
93
+ "grid": {
94
+ "type": "\"GridOption\" | \"GridOption[]\" | \"(defaultOption: GridOption | GridOption[]) => GridOption | GridOption[]\"",
95
+ "isRequired": false,
96
+ "description": "https://echarts.apache.org/en/option.html#grid"
97
+ },
98
+ "options": {
99
+ "type": "EChartsOption",
100
+ "isRequired": false,
101
+ "description": "The options object to be passed to echarts.setOption()\nhttps://echarts.apache.org/en/option.html"
102
+ },
103
+ "onEvents": {
104
+ "type": "Record<string, (event: unknown, chart: EChartsType) => void>",
105
+ "isRequired": false,
106
+ "description": "Event listeners for the chart\nhttps://echarts.apache.org/en/api.html#events"
107
+ }
108
+ }
109
+ }
110
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "Icon": {
3
+ "props": {
4
+ "className": {
5
+ "type": "string",
6
+ "isRequired": false
7
+ },
8
+ "sdsIcon": {
9
+ "type": "complex",
10
+ "isRequired": true
11
+ },
12
+ "sdsSize": {
13
+ "type": "\"xs\" | \"s\" | \"l\" | \"xl\"",
14
+ "isRequired": true,
15
+ "description": "The size of the component"
16
+ },
17
+ "color": {
18
+ "type": "\"blue\" | \"gray\" | \"green\" | \"purple\" | \"red\" | \"yellow\"",
19
+ "isRequired": false
20
+ },
21
+ "shade": {
22
+ "type": "\"100\" | \"200\" | \"300\" | \"400\" | \"500\" | \"600\" | \"700\" | \"800\"",
23
+ "isRequired": false
24
+ }
25
+ }
26
+ }
27
+ }