@czi-sds/mcp 0.2.2 → 0.4.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-props/Accordion.json +14 -15
- package/data/component-props/Alert.json +2 -44
- package/data/component-props/Autocomplete.json +14 -32
- package/data/component-props/Banner.json +11 -12
- package/data/component-props/Button.json +17 -82
- package/data/component-props/ButtonDropdown.json +26 -0
- package/data/component-props/ButtonIcon.json +4 -60
- package/data/component-props/ButtonToggle.json +2 -66
- package/data/component-props/Callout.json +11 -65
- package/data/component-props/CellBasic.json +28 -56
- package/data/component-props/CellComponent.json +4 -32
- package/data/component-props/CellHeader.json +13 -49
- package/data/component-props/ComplexFilter.json +24 -4
- package/data/component-props/ContentCard.json +66 -2
- package/data/component-props/Dialog.json +26 -0
- package/data/component-props/Dropdown.json +29 -67
- package/data/component-props/DropdownMenu.json +16 -56
- package/data/component-props/HeatmapChart.json +6 -87
- package/data/component-props/Icon.json +3 -8
- package/data/component-props/InputCheckbox.json +5 -53
- package/data/component-props/InputDropdown.json +11 -33
- package/data/component-props/InputRadio.json +5 -53
- package/data/component-props/InputSearch.json +6 -70
- package/data/component-props/InputSlider.json +21 -35
- package/data/component-props/InputText.json +7 -63
- package/data/component-props/InputToggle.json +5 -54
- package/data/component-props/Link.json +18 -0
- package/data/component-props/LoadingIndicator.json +1 -2
- package/data/component-props/MenuItem.json +11 -41
- package/data/component-props/MenuSelect.json +4 -67
- package/data/component-props/NavigationFooter.json +0 -8
- package/data/component-props/NavigationHeader.json +14 -65
- package/data/component-props/NavigationJumpTo.json +0 -40
- package/data/component-props/Notification.json +14 -58
- package/data/component-props/Pagination.json +8 -33
- package/data/component-props/Panel.json +4 -54
- package/data/component-props/SegmentedControl.json +0 -55
- package/data/component-props/TableRow.json +10 -38
- package/data/component-props/Tabs.json +18 -0
- package/data/component-props/Tag.json +10 -56
- package/data/component-props/TagFilter.json +0 -47
- package/data/component-props/Tooltip.json +12 -61
- package/data/component-props/TooltipCondensed.json +18 -0
- package/data/component-props/TooltipTable.json +0 -4
- package/data/zeroheight-cache.json +5195 -0
- package/data/zeroheight-exports/Accordion.md +717 -0
- package/data/zeroheight-exports/Banner.md +599 -0
- package/data/zeroheight-exports/Borders.md +117 -0
- package/data/zeroheight-exports/Buttons.md +2305 -0
- package/data/zeroheight-exports/Callout.md +778 -0
- package/data/zeroheight-exports/Colors.md +632 -0
- package/data/zeroheight-exports/Content-Card.md +161 -0
- package/data/zeroheight-exports/Contributing-to-SDS.md +98 -0
- package/data/zeroheight-exports/Control-Inputs.md +2121 -0
- package/data/zeroheight-exports/Corners.md +111 -0
- package/data/zeroheight-exports/Cover-page.md +3 -0
- package/data/zeroheight-exports/Dialog.md +1191 -0
- package/data/zeroheight-exports/Downloads.md +120 -0
- package/data/zeroheight-exports/Drop-Shadows.md +79 -0
- package/data/zeroheight-exports/Dropdown-Input.md +1180 -0
- package/data/zeroheight-exports/Dropdown-Menu.md +3883 -0
- package/data/zeroheight-exports/Element-Status-Tracker.md +267 -0
- package/data/zeroheight-exports/Field-Inputs.md +984 -0
- package/data/zeroheight-exports/Filters.md +888 -0
- package/data/zeroheight-exports/Getting-Started.md +1159 -0
- package/data/zeroheight-exports/Hero.md +262 -0
- package/data/zeroheight-exports/Icons.md +431 -0
- package/data/zeroheight-exports/Intent.md +46 -0
- package/data/zeroheight-exports/Introduction-to-Bases.md +35 -0
- package/data/zeroheight-exports/Introduction-to-Cells.md +35 -0
- package/data/zeroheight-exports/Introduction-to-DNA.md +35 -0
- package/data/zeroheight-exports/Introduction-to-Genes.md +35 -0
- package/data/zeroheight-exports/Introduction.md +115 -0
- package/data/zeroheight-exports/Link.md +386 -0
- package/data/zeroheight-exports/Lists.md +632 -0
- package/data/zeroheight-exports/Loading-Indicator.md +37 -0
- package/data/zeroheight-exports/Navigation.md +874 -0
- package/data/zeroheight-exports/Notification.md +888 -0
- package/data/zeroheight-exports/Panel.md +978 -0
- package/data/zeroheight-exports/README.md +124 -0
- package/data/zeroheight-exports/Responsive-Design.md +278 -0
- package/data/zeroheight-exports/Search-Input.md +53 -0
- package/data/zeroheight-exports/Search.md +592 -0
- package/data/zeroheight-exports/Segmented-Control.md +584 -0
- package/data/zeroheight-exports/Spacing.md +297 -0
- package/data/zeroheight-exports/Table.md +4944 -0
- package/data/zeroheight-exports/Tabs.md +801 -0
- package/data/zeroheight-exports/Tags.md +1055 -0
- package/data/zeroheight-exports/Text-Link.md +184 -0
- package/data/zeroheight-exports/Theming.md +332 -0
- package/data/zeroheight-exports/Tooltips.md +1580 -0
- package/data/zeroheight-exports/Typography.md +768 -0
- package/dist/stdio.js +193 -93
- package/package.json +4 -4
- package/data/component-props/Chip.json +0 -73
- package/data/component-props/List.json +0 -43
- package/data/component-props/Menu.json +0 -48
- package/data/component-props/Table.json +0 -26
- package/data/component-props-storybook/Accordion-storybook.json +0 -45
- package/data/component-props-storybook/Alert-storybook.json +0 -30
- package/data/component-props-storybook/Autocomplete-storybook.json +0 -67
- package/data/component-props-storybook/Banner-storybook.json +0 -78
- package/data/component-props-storybook/Button-storybook.json +0 -115
- package/data/component-props-storybook/ButtonDropdown-storybook.json +0 -73
- package/data/component-props-storybook/ButtonIcon-storybook.json +0 -60
- package/data/component-props-storybook/ButtonToggle-storybook.json +0 -68
- package/data/component-props-storybook/Callout-storybook.json +0 -90
- package/data/component-props-storybook/CellBasic-storybook.json +0 -138
- package/data/component-props-storybook/CellComponent-storybook.json +0 -48
- package/data/component-props-storybook/CellHeader-storybook.json +0 -71
- package/data/component-props-storybook/Chip-storybook.json +0 -26
- package/data/component-props-storybook/ComplexFilter-storybook.json +0 -60
- package/data/component-props-storybook/ContentCard-storybook.json +0 -175
- package/data/component-props-storybook/Dialog-storybook.json +0 -56
- package/data/component-props-storybook/Dropdown-storybook.json +0 -93
- package/data/component-props-storybook/DropdownMenu-storybook.json +0 -73
- package/data/component-props-storybook/HeatmapChart-storybook.json +0 -55
- package/data/component-props-storybook/Icon-storybook.json +0 -75
- package/data/component-props-storybook/InputCheckbox-storybook.json +0 -57
- package/data/component-props-storybook/InputDropdown-storybook.json +0 -80
- package/data/component-props-storybook/InputRadio-storybook.json +0 -56
- package/data/component-props-storybook/InputSearch-storybook.json +0 -55
- package/data/component-props-storybook/InputSlider-storybook.json +0 -55
- package/data/component-props-storybook/InputText-storybook.json +0 -59
- package/data/component-props-storybook/InputToggle-storybook.json +0 -42
- package/data/component-props-storybook/Link-storybook.json +0 -50
- package/data/component-props-storybook/List-storybook.json +0 -26
- package/data/component-props-storybook/LoadingIndicator-storybook.json +0 -34
- package/data/component-props-storybook/Menu-storybook.json +0 -26
- package/data/component-props-storybook/MenuItem-storybook.json +0 -74
- package/data/component-props-storybook/MenuSelect-storybook.json +0 -38
- package/data/component-props-storybook/NavigationFooter-storybook.json +0 -67
- package/data/component-props-storybook/NavigationHeader-storybook.json +0 -115
- package/data/component-props-storybook/NavigationJumpTo-storybook.json +0 -41
- package/data/component-props-storybook/Notification-storybook.json +0 -89
- package/data/component-props-storybook/Pagination-storybook.json +0 -50
- package/data/component-props-storybook/Panel-storybook.json +0 -52
- package/data/component-props-storybook/SegmentedControl-storybook.json +0 -30
- package/data/component-props-storybook/Table-storybook.json +0 -26
- package/data/component-props-storybook/TableHeader-storybook.json +0 -26
- package/data/component-props-storybook/TableRow-storybook.json +0 -62
- package/data/component-props-storybook/Tabs-storybook.json +0 -45
- package/data/component-props-storybook/Tag-storybook.json +0 -78
- package/data/component-props-storybook/TagFilter-storybook.json +0 -30
- package/data/component-props-storybook/Tooltip-storybook.json +0 -85
- package/data/component-props-storybook/TooltipCondensed-storybook.json +0 -38
- package/data/component-props-storybook/TooltipTable-storybook.json +0 -47
|
@@ -1,109 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"HeatmapChart": {
|
|
3
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
4
|
"axisPointer": {
|
|
29
5
|
"type": "\"AxisPointerOption\" | \"AxisPointerOption[]\"",
|
|
30
6
|
"isRequired": false,
|
|
31
7
|
"description": "Display reference line and axis value under mouse pointer\nhttps://echarts.apache.org/en/option.html#axisPointer"
|
|
32
8
|
},
|
|
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
9
|
"camera": {
|
|
44
10
|
"type": "{ active: boolean; height: number; width: number; }",
|
|
45
11
|
"isRequired": false,
|
|
46
12
|
"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
13
|
},
|
|
48
|
-
"
|
|
49
|
-
"type": "
|
|
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"
|
|
14
|
+
"echartsRendererMode": {
|
|
15
|
+
"type": "\"svg\" | \"canvas\"",
|
|
16
|
+
"isRequired": false
|
|
82
17
|
},
|
|
83
18
|
"symbol": {
|
|
84
19
|
"type": "\"circle\" | \"rect\" | \"roundRect\"",
|
|
85
20
|
"isRequired": false,
|
|
86
21
|
"description": "The shape of the symbol."
|
|
87
22
|
},
|
|
88
|
-
"
|
|
89
|
-
"type": "
|
|
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"
|
|
23
|
+
"tooltip": {
|
|
24
|
+
"type": "any",
|
|
25
|
+
"isRequired": false
|
|
107
26
|
}
|
|
108
27
|
}
|
|
109
28
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Icon": {
|
|
3
3
|
"props": {
|
|
4
|
-
"
|
|
5
|
-
"type": "
|
|
4
|
+
"color": {
|
|
5
|
+
"type": "\"blue\" | \"gray\" | \"green\" | \"purple\" | \"red\" | \"yellow\"",
|
|
6
6
|
"isRequired": false
|
|
7
7
|
},
|
|
8
8
|
"sdsIcon": {
|
|
@@ -11,12 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"sdsSize": {
|
|
13
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
|
|
14
|
+
"isRequired": true
|
|
20
15
|
},
|
|
21
16
|
"shade": {
|
|
22
17
|
"type": "\"100\" | \"200\" | \"300\" | \"400\" | \"500\" | \"600\" | \"700\" | \"800\"",
|
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
"type": "string",
|
|
6
6
|
"isRequired": false
|
|
7
7
|
},
|
|
8
|
-
"
|
|
9
|
-
"type": "
|
|
10
|
-
"isRequired": false
|
|
8
|
+
"disabled": {
|
|
9
|
+
"type": "\"false\" | \"true\"",
|
|
10
|
+
"isRequired": false,
|
|
11
|
+
"description": "If `true`, the component is disabled.",
|
|
12
|
+
"defaultValue": false
|
|
11
13
|
},
|
|
12
14
|
"intent": {
|
|
13
15
|
"type": "\"default\" | \"negative\" | \"notice\" | \"positive\"",
|
|
@@ -20,56 +22,6 @@
|
|
|
20
22
|
"stage": {
|
|
21
23
|
"type": "\"indeterminate\" | \"checked\" | \"unchecked\"",
|
|
22
24
|
"isRequired": false
|
|
23
|
-
},
|
|
24
|
-
"icon": {
|
|
25
|
-
"type": "ReactNode",
|
|
26
|
-
"isRequired": false,
|
|
27
|
-
"description": "The icon to display when the component is unchecked.",
|
|
28
|
-
"defaultValue": "<CheckBoxOutlineBlankIcon />"
|
|
29
|
-
},
|
|
30
|
-
"className": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"isRequired": false
|
|
33
|
-
},
|
|
34
|
-
"style": {
|
|
35
|
-
"type": "CSSProperties",
|
|
36
|
-
"isRequired": false
|
|
37
|
-
},
|
|
38
|
-
"disabled": {
|
|
39
|
-
"type": "\"false\" | \"true\"",
|
|
40
|
-
"isRequired": false,
|
|
41
|
-
"description": "If `true`, the component is disabled.",
|
|
42
|
-
"defaultValue": false
|
|
43
|
-
},
|
|
44
|
-
"name": {
|
|
45
|
-
"type": "string",
|
|
46
|
-
"isRequired": false,
|
|
47
|
-
"description": "Name attribute of the `input` element."
|
|
48
|
-
},
|
|
49
|
-
"value": {
|
|
50
|
-
"type": "unknown",
|
|
51
|
-
"isRequired": false,
|
|
52
|
-
"description": "The value of the component. The DOM API casts this to a string.\nThe browser uses \"on\" as the default value."
|
|
53
|
-
},
|
|
54
|
-
"id": {
|
|
55
|
-
"type": "string",
|
|
56
|
-
"isRequired": false,
|
|
57
|
-
"description": "The id of the `input` element."
|
|
58
|
-
},
|
|
59
|
-
"onChange": {
|
|
60
|
-
"type": "function",
|
|
61
|
-
"isRequired": false,
|
|
62
|
-
"description": "Callback fired when the state is changed.\n@param event The event source of the callback.\nYou can pull out the new checked state by accessing `event.target.checked` (boolean)."
|
|
63
|
-
},
|
|
64
|
-
"onClick": {
|
|
65
|
-
"type": "function",
|
|
66
|
-
"isRequired": false
|
|
67
|
-
},
|
|
68
|
-
"size": {
|
|
69
|
-
"type": "\"small\" | \"medium\" | \"large\"",
|
|
70
|
-
"isRequired": false,
|
|
71
|
-
"description": "The size of the component.\n`small` is equivalent to the dense checkbox styling.",
|
|
72
|
-
"defaultValue": "medium"
|
|
73
25
|
}
|
|
74
26
|
}
|
|
75
27
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"InputDropdown": {
|
|
3
3
|
"props": {
|
|
4
|
+
"counter": {
|
|
5
|
+
"type": "ReactNode",
|
|
6
|
+
"isRequired": false
|
|
7
|
+
},
|
|
4
8
|
"disabled": {
|
|
5
9
|
"type": "\"false\" | \"true\"",
|
|
6
10
|
"isRequired": false
|
|
@@ -13,59 +17,33 @@
|
|
|
13
17
|
"type": "ReactNode",
|
|
14
18
|
"isRequired": true
|
|
15
19
|
},
|
|
16
|
-
"
|
|
17
|
-
"type": "
|
|
18
|
-
"isRequired": true
|
|
19
|
-
},
|
|
20
|
-
"state": {
|
|
21
|
-
"type": "\"default\" | \"open\"",
|
|
20
|
+
"multiple": {
|
|
21
|
+
"type": "\"false\" | \"true\"",
|
|
22
22
|
"isRequired": false
|
|
23
23
|
},
|
|
24
24
|
"sdsStyle": {
|
|
25
25
|
"type": "\"minimal\" | \"square\" | \"rounded\"",
|
|
26
|
-
"isRequired": false
|
|
27
|
-
"description": "The visual style variant of the component"
|
|
26
|
+
"isRequired": false
|
|
28
27
|
},
|
|
29
28
|
"sdsType": {
|
|
30
29
|
"type": "\"label\" | \"value\"",
|
|
31
|
-
"isRequired": false,
|
|
32
|
-
"description": "The type/variant of the component"
|
|
33
|
-
},
|
|
34
|
-
"multiple": {
|
|
35
|
-
"type": "\"false\" | \"true\"",
|
|
36
|
-
"isRequired": false
|
|
37
|
-
},
|
|
38
|
-
"details": {
|
|
39
|
-
"type": "ReactNode",
|
|
40
|
-
"isRequired": false
|
|
41
|
-
},
|
|
42
|
-
"counter": {
|
|
43
|
-
"type": "ReactNode",
|
|
44
30
|
"isRequired": false
|
|
45
31
|
},
|
|
46
|
-
"
|
|
47
|
-
"type": "
|
|
32
|
+
"shouldPutAColonAfterLabel": {
|
|
33
|
+
"type": "\"false\" | \"true\"",
|
|
48
34
|
"isRequired": false
|
|
49
35
|
},
|
|
50
36
|
"shouldTruncateMinimalDetails": {
|
|
51
37
|
"type": "\"false\" | \"true\"",
|
|
52
38
|
"isRequired": false
|
|
53
39
|
},
|
|
54
|
-
"
|
|
55
|
-
"type": "
|
|
40
|
+
"style": {
|
|
41
|
+
"type": "CSSProperties",
|
|
56
42
|
"isRequired": false
|
|
57
43
|
},
|
|
58
44
|
"width": {
|
|
59
45
|
"type": "number",
|
|
60
46
|
"isRequired": false
|
|
61
|
-
},
|
|
62
|
-
"className": {
|
|
63
|
-
"type": "string",
|
|
64
|
-
"isRequired": false
|
|
65
|
-
},
|
|
66
|
-
"style": {
|
|
67
|
-
"type": "CSSProperties",
|
|
68
|
-
"isRequired": false
|
|
69
47
|
}
|
|
70
48
|
}
|
|
71
49
|
}
|
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
"type": "string",
|
|
6
6
|
"isRequired": false
|
|
7
7
|
},
|
|
8
|
+
"disabled": {
|
|
9
|
+
"type": "\"false\" | \"true\"",
|
|
10
|
+
"isRequired": false,
|
|
11
|
+
"description": "If `true`, the component is disabled."
|
|
12
|
+
},
|
|
8
13
|
"intent": {
|
|
9
14
|
"type": "\"default\" | \"negative\" | \"notice\" | \"positive\"",
|
|
10
15
|
"isRequired": false
|
|
@@ -13,62 +18,9 @@
|
|
|
13
18
|
"type": "ReactNode",
|
|
14
19
|
"isRequired": false
|
|
15
20
|
},
|
|
16
|
-
"radioProps": {
|
|
17
|
-
"type": "Partial<RadioProps>",
|
|
18
|
-
"isRequired": false
|
|
19
|
-
},
|
|
20
21
|
"stage": {
|
|
21
22
|
"type": "\"checked\" | \"unchecked\"",
|
|
22
23
|
"isRequired": false
|
|
23
|
-
},
|
|
24
|
-
"value": {
|
|
25
|
-
"type": "string",
|
|
26
|
-
"isRequired": false,
|
|
27
|
-
"description": "The value of the component. The DOM API casts this to a string."
|
|
28
|
-
},
|
|
29
|
-
"icon": {
|
|
30
|
-
"type": "ReactNode",
|
|
31
|
-
"isRequired": false,
|
|
32
|
-
"description": "The icon to display when the component is unchecked.",
|
|
33
|
-
"defaultValue": "<RadioButtonIcon />"
|
|
34
|
-
},
|
|
35
|
-
"className": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"isRequired": false
|
|
38
|
-
},
|
|
39
|
-
"style": {
|
|
40
|
-
"type": "CSSProperties",
|
|
41
|
-
"isRequired": false
|
|
42
|
-
},
|
|
43
|
-
"disabled": {
|
|
44
|
-
"type": "\"false\" | \"true\"",
|
|
45
|
-
"isRequired": false,
|
|
46
|
-
"description": "If `true`, the component is disabled."
|
|
47
|
-
},
|
|
48
|
-
"name": {
|
|
49
|
-
"type": "string",
|
|
50
|
-
"isRequired": false,
|
|
51
|
-
"description": "Name attribute of the `input` element."
|
|
52
|
-
},
|
|
53
|
-
"id": {
|
|
54
|
-
"type": "string",
|
|
55
|
-
"isRequired": false,
|
|
56
|
-
"description": "The id of the `input` element."
|
|
57
|
-
},
|
|
58
|
-
"onChange": {
|
|
59
|
-
"type": "function",
|
|
60
|
-
"isRequired": false,
|
|
61
|
-
"description": "Callback fired when the state is changed.\n@param event The event source of the callback.\nYou can pull out the new value by accessing `event.target.value` (string).\nYou can pull out the new checked state by accessing `event.target.checked` (boolean)."
|
|
62
|
-
},
|
|
63
|
-
"onClick": {
|
|
64
|
-
"type": "function",
|
|
65
|
-
"isRequired": false
|
|
66
|
-
},
|
|
67
|
-
"size": {
|
|
68
|
-
"type": "\"small\" | \"medium\"",
|
|
69
|
-
"isRequired": false,
|
|
70
|
-
"description": "The size of the component.\n`small` is equivalent to the dense radio styling.",
|
|
71
|
-
"defaultValue": "medium"
|
|
72
24
|
}
|
|
73
25
|
}
|
|
74
26
|
}
|
|
@@ -1,98 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"InputSearch": {
|
|
3
3
|
"props": {
|
|
4
|
-
"className": {
|
|
5
|
-
"type": "string",
|
|
6
|
-
"isRequired": false
|
|
7
|
-
},
|
|
8
|
-
"style": {
|
|
9
|
-
"type": "CSSProperties",
|
|
10
|
-
"isRequired": false
|
|
11
|
-
},
|
|
12
|
-
"children": {
|
|
13
|
-
"type": "ReactNode",
|
|
14
|
-
"isRequired": false,
|
|
15
|
-
"description": "The content of the component.\n@ignore"
|
|
16
|
-
},
|
|
17
|
-
"color": {
|
|
18
|
-
"type": "\"error\" | \"primary\" | \"secondary\" | \"info\" | \"success\" | \"warning\"",
|
|
19
|
-
"isRequired": false,
|
|
20
|
-
"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).",
|
|
21
|
-
"defaultValue": "primary"
|
|
22
|
-
},
|
|
23
4
|
"disabled": {
|
|
24
5
|
"type": "\"false\" | \"true\"",
|
|
25
6
|
"isRequired": false,
|
|
26
7
|
"description": "If `true`, the component is disabled.",
|
|
27
8
|
"defaultValue": false
|
|
28
9
|
},
|
|
29
|
-
"fullWidth": {
|
|
30
|
-
"type": "\"false\" | \"true\"",
|
|
31
|
-
"isRequired": false,
|
|
32
|
-
"description": "If `true`, the input will take up the full width of its container.",
|
|
33
|
-
"defaultValue": false
|
|
34
|
-
},
|
|
35
|
-
"size": {
|
|
36
|
-
"type": "\"small\" | \"medium\"",
|
|
37
|
-
"isRequired": false,
|
|
38
|
-
"description": "The size of the component."
|
|
39
|
-
},
|
|
40
|
-
"variant": {
|
|
41
|
-
"type": "\"filled\" | \"outlined\" | \"standard\"",
|
|
42
|
-
"isRequired": false,
|
|
43
|
-
"description": "The variant to use.",
|
|
44
|
-
"defaultValue": "outlined\noutlined\noutlined"
|
|
45
|
-
},
|
|
46
|
-
"label": {
|
|
47
|
-
"type": "ReactNode",
|
|
48
|
-
"isRequired": false,
|
|
49
|
-
"description": "The label content."
|
|
50
|
-
},
|
|
51
10
|
"id": {
|
|
52
11
|
"type": "string",
|
|
53
12
|
"isRequired": false,
|
|
54
13
|
"description": "The id of the `input` element.\nUse this prop to make `label` and `helperText` accessible for screen readers."
|
|
55
14
|
},
|
|
56
|
-
"
|
|
57
|
-
"type": "
|
|
58
|
-
"isRequired": false,
|
|
59
|
-
"description": "Callback fired when the value is changed.\n@param event The event source of the callback.\nYou can pull out the new value by accessing `event.target.value` (string).\n@param event The event source of the callback.\nYou can pull out the new value by accessing `event.target.value` (string).\n@param event The event source of the callback.\nYou can pull out the new value by accessing `event.target.value` (string)."
|
|
60
|
-
},
|
|
61
|
-
"onClick": {
|
|
62
|
-
"type": "function",
|
|
15
|
+
"intent": {
|
|
16
|
+
"type": "\"default\" | \"negative\" | \"notice\" | \"positive\"",
|
|
63
17
|
"isRequired": false
|
|
64
18
|
},
|
|
65
|
-
"
|
|
66
|
-
"type": "
|
|
19
|
+
"label": {
|
|
20
|
+
"type": "ReactNode",
|
|
67
21
|
"isRequired": false,
|
|
68
|
-
"description": "
|
|
22
|
+
"description": "The label content."
|
|
69
23
|
},
|
|
70
24
|
"placeholder": {
|
|
71
25
|
"type": "string",
|
|
72
26
|
"isRequired": false,
|
|
73
27
|
"description": "The short hint displayed in the `input` before the user enters a value."
|
|
74
28
|
},
|
|
75
|
-
"value": {
|
|
76
|
-
"type": "string",
|
|
77
|
-
"isRequired": false,
|
|
78
|
-
"description": "The value of the `input` element, required for a controlled component."
|
|
79
|
-
},
|
|
80
|
-
"handleSubmit": {
|
|
81
|
-
"type": "(value: string) => void",
|
|
82
|
-
"isRequired": false
|
|
83
|
-
},
|
|
84
|
-
"customTheme": {
|
|
85
|
-
"type": "\"light\" | \"dark\" | \"auto\"",
|
|
86
|
-
"isRequired": false
|
|
87
|
-
},
|
|
88
|
-
"intent": {
|
|
89
|
-
"type": "\"default\" | \"negative\" | \"notice\" | \"positive\"",
|
|
90
|
-
"isRequired": false
|
|
91
|
-
},
|
|
92
29
|
"sdsStyle": {
|
|
93
30
|
"type": "\"rounded\" | \"square\"",
|
|
94
|
-
"isRequired": false
|
|
95
|
-
"description": "The visual style variant of the component"
|
|
31
|
+
"isRequired": false
|
|
96
32
|
}
|
|
97
33
|
}
|
|
98
34
|
}
|
|
@@ -1,55 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"InputSlider": {
|
|
3
3
|
"props": {
|
|
4
|
-
"className": {
|
|
5
|
-
"type": "string",
|
|
6
|
-
"isRequired": false,
|
|
7
|
-
"description": "@ignore"
|
|
8
|
-
},
|
|
9
|
-
"style": {
|
|
10
|
-
"type": "CSSProperties",
|
|
11
|
-
"isRequired": false
|
|
12
|
-
},
|
|
13
|
-
"color": {
|
|
14
|
-
"type": "\"primary\" | \"secondary\" | \"error\" | \"info\" | \"success\" | \"warning\"",
|
|
15
|
-
"isRequired": false,
|
|
16
|
-
"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).",
|
|
17
|
-
"defaultValue": "primary"
|
|
18
|
-
},
|
|
19
4
|
"disabled": {
|
|
20
5
|
"type": "\"false\" | \"true\"",
|
|
21
6
|
"isRequired": false,
|
|
22
7
|
"description": "If `true`, the component is disabled.",
|
|
23
8
|
"defaultValue": false
|
|
24
9
|
},
|
|
25
|
-
"
|
|
26
|
-
"type": "
|
|
10
|
+
"marks": {
|
|
11
|
+
"type": "\"false\" | \"true\" | \"Mark[]\"",
|
|
27
12
|
"isRequired": false,
|
|
28
|
-
"description": "
|
|
13
|
+
"description": "Marks indicate predetermined values to which the user can move the slider.\nIf `true` the marks are spaced according the value of the `step` prop.\nIf an array, it should contain objects with `value` and an optional `label` keys.",
|
|
14
|
+
"defaultValue": false
|
|
29
15
|
},
|
|
30
|
-
"
|
|
31
|
-
"type": "
|
|
16
|
+
"max": {
|
|
17
|
+
"type": "number",
|
|
32
18
|
"isRequired": false,
|
|
33
|
-
"description": "
|
|
19
|
+
"description": "The maximum allowed value of the slider.\nShould not be equal to min.",
|
|
20
|
+
"defaultValue": 100
|
|
34
21
|
},
|
|
35
|
-
"
|
|
36
|
-
"type": "
|
|
22
|
+
"min": {
|
|
23
|
+
"type": "number",
|
|
37
24
|
"isRequired": false,
|
|
38
|
-
"description": "The
|
|
39
|
-
"defaultValue":
|
|
25
|
+
"description": "The minimum allowed value of the slider.\nShould not be equal to max.",
|
|
26
|
+
"defaultValue": 0
|
|
40
27
|
},
|
|
41
|
-
"
|
|
42
|
-
"type": "
|
|
28
|
+
"step": {
|
|
29
|
+
"type": "number",
|
|
43
30
|
"isRequired": false,
|
|
44
|
-
"description": "The
|
|
31
|
+
"description": "The granularity with which the slider can step through values. (A \"discrete\" slider.)\nThe `min` prop serves as the origin for the valid values.\nWe recommend (max - min) to be evenly divisible by the step.\n\nWhen step is `null`, the thumb can only be slid onto marks provided with the `marks` prop.",
|
|
32
|
+
"defaultValue": 1
|
|
45
33
|
},
|
|
46
|
-
"
|
|
47
|
-
"type": "
|
|
48
|
-
"isRequired": false
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"type": "function",
|
|
52
|
-
"isRequired": false
|
|
34
|
+
"valueLabelDisplay": {
|
|
35
|
+
"type": "\"on\" | \"auto\" | \"off\"",
|
|
36
|
+
"isRequired": false,
|
|
37
|
+
"description": "Controls when the value label is displayed:\n\n- `auto` the value label will display when the thumb is hovered or focused.\n- `on` will display persistently.\n- `off` will never display.",
|
|
38
|
+
"defaultValue": "off"
|
|
53
39
|
}
|
|
54
40
|
}
|
|
55
41
|
}
|
|
@@ -1,93 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"InputText": {
|
|
3
3
|
"props": {
|
|
4
|
-
"className": {
|
|
5
|
-
"type": "string",
|
|
6
|
-
"isRequired": false
|
|
7
|
-
},
|
|
8
|
-
"style": {
|
|
9
|
-
"type": "CSSProperties",
|
|
10
|
-
"isRequired": false
|
|
11
|
-
},
|
|
12
|
-
"children": {
|
|
13
|
-
"type": "ReactNode",
|
|
14
|
-
"isRequired": false,
|
|
15
|
-
"description": "The content of the component.\n@ignore"
|
|
16
|
-
},
|
|
17
|
-
"color": {
|
|
18
|
-
"type": "\"error\" | \"primary\" | \"secondary\" | \"info\" | \"success\" | \"warning\"",
|
|
19
|
-
"isRequired": false,
|
|
20
|
-
"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).",
|
|
21
|
-
"defaultValue": "primary"
|
|
22
|
-
},
|
|
23
4
|
"disabled": {
|
|
24
5
|
"type": "\"false\" | \"true\"",
|
|
25
6
|
"isRequired": false,
|
|
26
7
|
"description": "If `true`, the component is disabled.",
|
|
27
8
|
"defaultValue": false
|
|
28
9
|
},
|
|
29
|
-
"
|
|
10
|
+
"hideLabel": {
|
|
30
11
|
"type": "\"false\" | \"true\"",
|
|
31
|
-
"isRequired": false
|
|
32
|
-
"description": "If `true`, the input will take up the full width of its container.",
|
|
33
|
-
"defaultValue": false
|
|
34
|
-
},
|
|
35
|
-
"size": {
|
|
36
|
-
"type": "\"small\" | \"medium\"",
|
|
37
|
-
"isRequired": false,
|
|
38
|
-
"description": "The size of the component."
|
|
39
|
-
},
|
|
40
|
-
"variant": {
|
|
41
|
-
"type": "\"filled\" | \"outlined\" | \"standard\"",
|
|
42
|
-
"isRequired": false,
|
|
43
|
-
"description": "The variant to use.",
|
|
44
|
-
"defaultValue": "outlined\noutlined\noutlined"
|
|
45
|
-
},
|
|
46
|
-
"label": {
|
|
47
|
-
"type": "ReactNode",
|
|
48
|
-
"isRequired": false,
|
|
49
|
-
"description": "The label content."
|
|
12
|
+
"isRequired": false
|
|
50
13
|
},
|
|
51
14
|
"id": {
|
|
52
15
|
"type": "string",
|
|
53
16
|
"isRequired": false,
|
|
54
17
|
"description": "The id of the `input` element.\nUse this prop to make `label` and `helperText` accessible for screen readers."
|
|
55
18
|
},
|
|
56
|
-
"
|
|
57
|
-
"type": "
|
|
58
|
-
"isRequired": false,
|
|
59
|
-
"description": "Callback fired when the value is changed.\n@param event The event source of the callback.\nYou can pull out the new value by accessing `event.target.value` (string).\n@param event The event source of the callback.\nYou can pull out the new value by accessing `event.target.value` (string).\n@param event The event source of the callback.\nYou can pull out the new value by accessing `event.target.value` (string)."
|
|
60
|
-
},
|
|
61
|
-
"onClick": {
|
|
62
|
-
"type": "function",
|
|
19
|
+
"intent": {
|
|
20
|
+
"type": "\"default\" | \"negative\" | \"notice\" | \"positive\"",
|
|
63
21
|
"isRequired": false
|
|
64
22
|
},
|
|
65
|
-
"
|
|
66
|
-
"type": "
|
|
23
|
+
"label": {
|
|
24
|
+
"type": "ReactNode",
|
|
67
25
|
"isRequired": false,
|
|
68
|
-
"description": "
|
|
26
|
+
"description": "The label content."
|
|
69
27
|
},
|
|
70
28
|
"placeholder": {
|
|
71
29
|
"type": "string",
|
|
72
30
|
"isRequired": false,
|
|
73
31
|
"description": "The short hint displayed in the `input` before the user enters a value."
|
|
74
32
|
},
|
|
75
|
-
"value": {
|
|
76
|
-
"type": "unknown",
|
|
77
|
-
"isRequired": false,
|
|
78
|
-
"description": "The value of the `input` element, required for a controlled component."
|
|
79
|
-
},
|
|
80
|
-
"intent": {
|
|
81
|
-
"type": "\"default\" | \"negative\" | \"notice\" | \"positive\"",
|
|
82
|
-
"isRequired": false
|
|
83
|
-
},
|
|
84
33
|
"sdsType": {
|
|
85
34
|
"type": "\"textField\" | \"textArea\"",
|
|
86
|
-
"isRequired": false,
|
|
87
|
-
"description": "The type/variant of the component"
|
|
88
|
-
},
|
|
89
|
-
"hideLabel": {
|
|
90
|
-
"type": "\"false\" | \"true\"",
|
|
91
35
|
"isRequired": false
|
|
92
36
|
}
|
|
93
37
|
}
|