@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.
- package/LICENSE +21 -0
- package/README.md +34 -0
- package/data/component-list.json +55 -0
- package/data/component-props/Accordion.json +31 -0
- package/data/component-props/Alert.json +52 -0
- package/data/component-props/Autocomplete.json +52 -0
- package/data/component-props/Banner.json +35 -0
- package/data/component-props/Button.json +109 -0
- package/data/component-props/ButtonIcon.json +80 -0
- package/data/component-props/ButtonToggle.json +91 -0
- package/data/component-props/Callout.json +93 -0
- package/data/component-props/CellBasic.json +102 -0
- package/data/component-props/CellComponent.json +46 -0
- package/data/component-props/CellHeader.json +78 -0
- package/data/component-props/Chip.json +73 -0
- package/data/component-props/ComplexFilter.json +19 -0
- package/data/component-props/ContentCard.json +18 -0
- package/data/component-props/Dropdown.json +107 -0
- package/data/component-props/DropdownMenu.json +86 -0
- package/data/component-props/HeatmapChart.json +110 -0
- package/data/component-props/Icon.json +27 -0
- package/data/component-props/InputCheckbox.json +76 -0
- package/data/component-props/InputDropdown.json +72 -0
- package/data/component-props/InputRadio.json +75 -0
- package/data/component-props/InputSearch.json +99 -0
- package/data/component-props/InputSlider.json +56 -0
- package/data/component-props/InputText.json +95 -0
- package/data/component-props/InputToggle.json +72 -0
- package/data/component-props/List.json +43 -0
- package/data/component-props/LoadingIndicator.json +11 -0
- package/data/component-props/Menu.json +48 -0
- package/data/component-props/MenuItem.json +72 -0
- package/data/component-props/MenuSelect.json +83 -0
- package/data/component-props/NavigationFooter.json +50 -0
- package/data/component-props/NavigationHeader.json +119 -0
- package/data/component-props/NavigationJumpTo.json +58 -0
- package/data/component-props/Notification.json +89 -0
- package/data/component-props/Pagination.json +51 -0
- package/data/component-props/Panel.json +72 -0
- package/data/component-props/SegmentedControl.json +65 -0
- package/data/component-props/Table.json +26 -0
- package/data/component-props/TableRow.json +70 -0
- package/data/component-props/Tag.json +86 -0
- package/data/component-props/TagFilter.json +58 -0
- package/data/component-props/Tooltip.json +86 -0
- package/data/component-props/TooltipTable.json +22 -0
- package/data/component-props-storybook/Accordion-storybook.json +45 -0
- package/data/component-props-storybook/Alert-storybook.json +30 -0
- package/data/component-props-storybook/Autocomplete-storybook.json +67 -0
- package/data/component-props-storybook/Banner-storybook.json +78 -0
- package/data/component-props-storybook/Button-storybook.json +115 -0
- package/data/component-props-storybook/ButtonDropdown-storybook.json +73 -0
- package/data/component-props-storybook/ButtonIcon-storybook.json +60 -0
- package/data/component-props-storybook/ButtonToggle-storybook.json +68 -0
- package/data/component-props-storybook/Callout-storybook.json +90 -0
- package/data/component-props-storybook/CellBasic-storybook.json +138 -0
- package/data/component-props-storybook/CellComponent-storybook.json +48 -0
- package/data/component-props-storybook/CellHeader-storybook.json +71 -0
- package/data/component-props-storybook/Chip-storybook.json +26 -0
- package/data/component-props-storybook/ComplexFilter-storybook.json +60 -0
- package/data/component-props-storybook/ContentCard-storybook.json +175 -0
- package/data/component-props-storybook/Dialog-storybook.json +56 -0
- package/data/component-props-storybook/Dropdown-storybook.json +93 -0
- package/data/component-props-storybook/DropdownMenu-storybook.json +73 -0
- package/data/component-props-storybook/HeatmapChart-storybook.json +55 -0
- package/data/component-props-storybook/Icon-storybook.json +75 -0
- package/data/component-props-storybook/InputCheckbox-storybook.json +57 -0
- package/data/component-props-storybook/InputDropdown-storybook.json +80 -0
- package/data/component-props-storybook/InputRadio-storybook.json +56 -0
- package/data/component-props-storybook/InputSearch-storybook.json +55 -0
- package/data/component-props-storybook/InputSlider-storybook.json +55 -0
- package/data/component-props-storybook/InputText-storybook.json +59 -0
- package/data/component-props-storybook/InputToggle-storybook.json +42 -0
- package/data/component-props-storybook/Link-storybook.json +50 -0
- package/data/component-props-storybook/List-storybook.json +26 -0
- package/data/component-props-storybook/LoadingIndicator-storybook.json +34 -0
- package/data/component-props-storybook/Menu-storybook.json +26 -0
- package/data/component-props-storybook/MenuItem-storybook.json +74 -0
- package/data/component-props-storybook/MenuSelect-storybook.json +38 -0
- package/data/component-props-storybook/NavigationFooter-storybook.json +67 -0
- package/data/component-props-storybook/NavigationHeader-storybook.json +115 -0
- package/data/component-props-storybook/NavigationJumpTo-storybook.json +41 -0
- package/data/component-props-storybook/Notification-storybook.json +89 -0
- package/data/component-props-storybook/Pagination-storybook.json +50 -0
- package/data/component-props-storybook/Panel-storybook.json +52 -0
- package/data/component-props-storybook/SegmentedControl-storybook.json +30 -0
- package/data/component-props-storybook/Table-storybook.json +26 -0
- package/data/component-props-storybook/TableHeader-storybook.json +26 -0
- package/data/component-props-storybook/TableRow-storybook.json +62 -0
- package/data/component-props-storybook/Tabs-storybook.json +45 -0
- package/data/component-props-storybook/Tag-storybook.json +78 -0
- package/data/component-props-storybook/TagFilter-storybook.json +30 -0
- package/data/component-props-storybook/Tooltip-storybook.json +85 -0
- package/data/component-props-storybook/TooltipCondensed-storybook.json +38 -0
- package/data/component-props-storybook/TooltipTable-storybook.json +47 -0
- package/data/tailwind.json +3009 -0
- package/dist/stdio.js +357 -0
- package/package.json +66 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Table": {
|
|
3
|
+
"props": {
|
|
4
|
+
"className": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"isRequired": false
|
|
7
|
+
},
|
|
8
|
+
"id": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"isRequired": false
|
|
11
|
+
},
|
|
12
|
+
"style": {
|
|
13
|
+
"type": "CSSProperties",
|
|
14
|
+
"isRequired": false
|
|
15
|
+
},
|
|
16
|
+
"onChange": {
|
|
17
|
+
"type": "FormEventHandler<HTMLTableElement>",
|
|
18
|
+
"isRequired": false
|
|
19
|
+
},
|
|
20
|
+
"onClick": {
|
|
21
|
+
"type": "function",
|
|
22
|
+
"isRequired": false
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"TableRow": {
|
|
3
|
+
"props": {
|
|
4
|
+
"disabled": {
|
|
5
|
+
"type": "\"false\" | \"true\"",
|
|
6
|
+
"isRequired": false
|
|
7
|
+
},
|
|
8
|
+
"name": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"isRequired": false
|
|
11
|
+
},
|
|
12
|
+
"selected": {
|
|
13
|
+
"type": "\"false\" | \"true\"",
|
|
14
|
+
"isRequired": false
|
|
15
|
+
},
|
|
16
|
+
"value": {
|
|
17
|
+
"type": "\"string\" | \"number\" | \"readonly string[]\"",
|
|
18
|
+
"isRequired": false
|
|
19
|
+
},
|
|
20
|
+
"className": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"isRequired": false
|
|
23
|
+
},
|
|
24
|
+
"id": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"isRequired": false
|
|
27
|
+
},
|
|
28
|
+
"style": {
|
|
29
|
+
"type": "CSSProperties",
|
|
30
|
+
"isRequired": false
|
|
31
|
+
},
|
|
32
|
+
"onChange": {
|
|
33
|
+
"type": "FormEventHandler<HTMLTableRowElement>",
|
|
34
|
+
"isRequired": false
|
|
35
|
+
},
|
|
36
|
+
"onClick": {
|
|
37
|
+
"type": "function",
|
|
38
|
+
"isRequired": false
|
|
39
|
+
},
|
|
40
|
+
"tooltipText": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"isRequired": false
|
|
43
|
+
},
|
|
44
|
+
"tooltipSubtitle": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"isRequired": false
|
|
47
|
+
},
|
|
48
|
+
"shouldShowTooltipOnHover": {
|
|
49
|
+
"type": "\"false\" | \"true\"",
|
|
50
|
+
"isRequired": false
|
|
51
|
+
},
|
|
52
|
+
"tooltipProps": {
|
|
53
|
+
"type": "TooltipProps",
|
|
54
|
+
"isRequired": false
|
|
55
|
+
},
|
|
56
|
+
"rowHeight": {
|
|
57
|
+
"type": "number",
|
|
58
|
+
"isRequired": false
|
|
59
|
+
},
|
|
60
|
+
"useDivider": {
|
|
61
|
+
"type": "\"false\" | \"true\"",
|
|
62
|
+
"isRequired": false
|
|
63
|
+
},
|
|
64
|
+
"hover": {
|
|
65
|
+
"type": "\"false\" | \"true\"",
|
|
66
|
+
"isRequired": false
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Tag": {
|
|
3
|
+
"props": {
|
|
4
|
+
"label": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"isRequired": true,
|
|
7
|
+
"description": "The content of the component."
|
|
8
|
+
},
|
|
9
|
+
"color": {
|
|
10
|
+
"type": "\"info\" | \"positive\" | \"notice\" | \"negative\" | \"neutral\" | \"beta\" | \"[string, string]\" | \"[string, string, string]\"",
|
|
11
|
+
"isRequired": false
|
|
12
|
+
},
|
|
13
|
+
"className": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"isRequired": false
|
|
16
|
+
},
|
|
17
|
+
"style": {
|
|
18
|
+
"type": "CSSProperties",
|
|
19
|
+
"isRequired": false
|
|
20
|
+
},
|
|
21
|
+
"children": {
|
|
22
|
+
"type": "null",
|
|
23
|
+
"isRequired": false,
|
|
24
|
+
"description": "This prop isn't supported.\nUse the `component` prop if you need to change the children structure."
|
|
25
|
+
},
|
|
26
|
+
"disabled": {
|
|
27
|
+
"type": "\"false\" | \"true\"",
|
|
28
|
+
"isRequired": false,
|
|
29
|
+
"description": "If `true`, the component is disabled.",
|
|
30
|
+
"defaultValue": false
|
|
31
|
+
},
|
|
32
|
+
"icon": {
|
|
33
|
+
"type": "ReactElement",
|
|
34
|
+
"isRequired": false,
|
|
35
|
+
"description": "Icon element."
|
|
36
|
+
},
|
|
37
|
+
"size": {
|
|
38
|
+
"type": "\"small\" | \"medium\"",
|
|
39
|
+
"isRequired": false,
|
|
40
|
+
"description": "The size of the component.",
|
|
41
|
+
"defaultValue": "medium"
|
|
42
|
+
},
|
|
43
|
+
"variant": {
|
|
44
|
+
"type": "\"outlined\" | \"filled\"",
|
|
45
|
+
"isRequired": false,
|
|
46
|
+
"description": "The variant to use.",
|
|
47
|
+
"defaultValue": "filled"
|
|
48
|
+
},
|
|
49
|
+
"id": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"isRequired": false
|
|
52
|
+
},
|
|
53
|
+
"onChange": {
|
|
54
|
+
"type": "FormEventHandler<HTMLDivElement>",
|
|
55
|
+
"isRequired": false
|
|
56
|
+
},
|
|
57
|
+
"onClick": {
|
|
58
|
+
"type": "function",
|
|
59
|
+
"isRequired": false
|
|
60
|
+
},
|
|
61
|
+
"hover": {
|
|
62
|
+
"type": "\"false\" | \"true\"",
|
|
63
|
+
"isRequired": false
|
|
64
|
+
},
|
|
65
|
+
"sdsType": {
|
|
66
|
+
"type": "\"primary\" | \"secondary\"",
|
|
67
|
+
"isRequired": false,
|
|
68
|
+
"description": "The type/variant of the component"
|
|
69
|
+
},
|
|
70
|
+
"sdsStyle": {
|
|
71
|
+
"type": "\"square\" | \"rounded\"",
|
|
72
|
+
"isRequired": false,
|
|
73
|
+
"description": "The visual style variant of the component"
|
|
74
|
+
},
|
|
75
|
+
"sdsSize": {
|
|
76
|
+
"type": "\"s\" | \"l\"",
|
|
77
|
+
"isRequired": false,
|
|
78
|
+
"description": "The size of the component"
|
|
79
|
+
},
|
|
80
|
+
"tagColor": {
|
|
81
|
+
"type": "\"info\" | \"positive\" | \"notice\" | \"negative\" | \"neutral\" | \"beta\" | \"[string, string]\" | \"[string, string, string]\"",
|
|
82
|
+
"isRequired": false
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"TagFilter": {
|
|
3
|
+
"props": {
|
|
4
|
+
"label": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"isRequired": true,
|
|
7
|
+
"description": "The content of the component."
|
|
8
|
+
},
|
|
9
|
+
"onDelete": {
|
|
10
|
+
"type": "(event: any) => void",
|
|
11
|
+
"isRequired": true,
|
|
12
|
+
"description": "Callback fired when the delete icon is clicked.\nIf set, the delete icon will be shown."
|
|
13
|
+
},
|
|
14
|
+
"className": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"isRequired": false
|
|
17
|
+
},
|
|
18
|
+
"style": {
|
|
19
|
+
"type": "CSSProperties",
|
|
20
|
+
"isRequired": false
|
|
21
|
+
},
|
|
22
|
+
"children": {
|
|
23
|
+
"type": "null",
|
|
24
|
+
"isRequired": false,
|
|
25
|
+
"description": "This prop isn't supported.\nUse the `component` prop if you need to change the children structure."
|
|
26
|
+
},
|
|
27
|
+
"disabled": {
|
|
28
|
+
"type": "\"false\" | \"true\"",
|
|
29
|
+
"isRequired": false,
|
|
30
|
+
"description": "If `true`, the component is disabled.",
|
|
31
|
+
"defaultValue": false
|
|
32
|
+
},
|
|
33
|
+
"icon": {
|
|
34
|
+
"type": "ReactElement",
|
|
35
|
+
"isRequired": false,
|
|
36
|
+
"description": "Icon element."
|
|
37
|
+
},
|
|
38
|
+
"size": {
|
|
39
|
+
"type": "\"small\" | \"medium\"",
|
|
40
|
+
"isRequired": false,
|
|
41
|
+
"description": "The size of the component.",
|
|
42
|
+
"defaultValue": "medium"
|
|
43
|
+
},
|
|
44
|
+
"id": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"isRequired": false
|
|
47
|
+
},
|
|
48
|
+
"onChange": {
|
|
49
|
+
"type": "FormEventHandler<HTMLDivElement>",
|
|
50
|
+
"isRequired": false
|
|
51
|
+
},
|
|
52
|
+
"onClick": {
|
|
53
|
+
"type": "function",
|
|
54
|
+
"isRequired": false
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Tooltip": {
|
|
3
|
+
"props": {
|
|
4
|
+
"title": {
|
|
5
|
+
"type": "ReactNode",
|
|
6
|
+
"isRequired": false,
|
|
7
|
+
"description": "Tooltip title. Zero-length titles string, undefined, null and false are never displayed."
|
|
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 this prop. It falls back to a randomly generated id."
|
|
17
|
+
},
|
|
18
|
+
"style": {
|
|
19
|
+
"type": "CSSProperties",
|
|
20
|
+
"isRequired": false
|
|
21
|
+
},
|
|
22
|
+
"children": {
|
|
23
|
+
"type": "ReactElement",
|
|
24
|
+
"isRequired": true,
|
|
25
|
+
"description": "Tooltip reference element."
|
|
26
|
+
},
|
|
27
|
+
"onChange": {
|
|
28
|
+
"type": "FormEventHandler<HTMLDivElement>",
|
|
29
|
+
"isRequired": false
|
|
30
|
+
},
|
|
31
|
+
"onClick": {
|
|
32
|
+
"type": "function",
|
|
33
|
+
"isRequired": false
|
|
34
|
+
},
|
|
35
|
+
"arrowOffset": {
|
|
36
|
+
"type": "number",
|
|
37
|
+
"isRequired": false
|
|
38
|
+
},
|
|
39
|
+
"followCursor": {
|
|
40
|
+
"type": "\"false\" | \"true\"",
|
|
41
|
+
"isRequired": false,
|
|
42
|
+
"description": "If `true`, the tooltip follow the cursor over the wrapped element.",
|
|
43
|
+
"defaultValue": false
|
|
44
|
+
},
|
|
45
|
+
"inverted": {
|
|
46
|
+
"type": "\"false\" | \"true\"",
|
|
47
|
+
"isRequired": false
|
|
48
|
+
},
|
|
49
|
+
"sdsStyle": {
|
|
50
|
+
"type": "\"dark\" | \"light\"",
|
|
51
|
+
"isRequired": false,
|
|
52
|
+
"description": "The visual style variant of the component"
|
|
53
|
+
},
|
|
54
|
+
"hasInvertedStyle": {
|
|
55
|
+
"type": "\"false\" | \"true\"",
|
|
56
|
+
"isRequired": false
|
|
57
|
+
},
|
|
58
|
+
"subtitle": {
|
|
59
|
+
"type": "ReactNode",
|
|
60
|
+
"isRequired": false
|
|
61
|
+
},
|
|
62
|
+
"width": {
|
|
63
|
+
"type": "\"default\" | \"wide\"",
|
|
64
|
+
"isRequired": false
|
|
65
|
+
},
|
|
66
|
+
"textAlign": {
|
|
67
|
+
"type": "\"left\" | \"right\" | \"center\"",
|
|
68
|
+
"isRequired": false
|
|
69
|
+
},
|
|
70
|
+
"componentSlot": {
|
|
71
|
+
"type": "ReactNode",
|
|
72
|
+
"isRequired": false
|
|
73
|
+
},
|
|
74
|
+
"onClose": {
|
|
75
|
+
"type": "(event: Event | SyntheticEvent<Element, Event>) => void",
|
|
76
|
+
"isRequired": false,
|
|
77
|
+
"description": "Callback fired when the component requests to be closed.\n@param event The event source of the callback."
|
|
78
|
+
},
|
|
79
|
+
"open": {
|
|
80
|
+
"type": "\"false\" | \"true\"",
|
|
81
|
+
"isRequired": false,
|
|
82
|
+
"description": "If `true`, the component is shown."
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"TooltipTable": {
|
|
3
|
+
"props": {
|
|
4
|
+
"data": {
|
|
5
|
+
"type": "{ label?: string; dataRows: { label: string; value: string | number; }[]; disabled?: boolean; }[]",
|
|
6
|
+
"isRequired": false
|
|
7
|
+
},
|
|
8
|
+
"contentAlert": {
|
|
9
|
+
"type": "\"string\" | \"Element\"",
|
|
10
|
+
"isRequired": false
|
|
11
|
+
},
|
|
12
|
+
"itemAlign": {
|
|
13
|
+
"type": "\"left\" | \"right\"",
|
|
14
|
+
"isRequired": false
|
|
15
|
+
},
|
|
16
|
+
"showSectionHeader": {
|
|
17
|
+
"type": "\"false\" | \"true\"",
|
|
18
|
+
"isRequired": false
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Accordion": {
|
|
3
|
+
"props": {
|
|
4
|
+
"defaultExpanded": {
|
|
5
|
+
"type": "boolean",
|
|
6
|
+
"isRequired": false
|
|
7
|
+
},
|
|
8
|
+
"id": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"isRequired": true
|
|
11
|
+
},
|
|
12
|
+
"subtitle": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"isRequired": false
|
|
15
|
+
},
|
|
16
|
+
"togglePosition": {
|
|
17
|
+
"type": "\"right\" | \"left\"",
|
|
18
|
+
"isRequired": false,
|
|
19
|
+
"options": [
|
|
20
|
+
"right",
|
|
21
|
+
"left"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"useDivider": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"isRequired": false
|
|
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
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Alert": {
|
|
3
|
+
"props": {
|
|
4
|
+
"text": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"isRequired": true
|
|
7
|
+
},
|
|
8
|
+
"className": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"isRequired": false,
|
|
11
|
+
"description": "Standard React className prop"
|
|
12
|
+
},
|
|
13
|
+
"style": {
|
|
14
|
+
"type": "CSSProperties",
|
|
15
|
+
"isRequired": false,
|
|
16
|
+
"description": "Standard React style prop"
|
|
17
|
+
},
|
|
18
|
+
"children": {
|
|
19
|
+
"type": "ReactNode",
|
|
20
|
+
"isRequired": false,
|
|
21
|
+
"description": "Standard React children prop"
|
|
22
|
+
},
|
|
23
|
+
"id": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"isRequired": false,
|
|
26
|
+
"description": "Standard React id prop"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Autocomplete": {
|
|
3
|
+
"props": {
|
|
4
|
+
"groupBy": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"isRequired": false
|
|
7
|
+
},
|
|
8
|
+
"intent": {
|
|
9
|
+
"type": "\"default\" | \"negative\" | \"notice\" | \"positive\"",
|
|
10
|
+
"isRequired": false,
|
|
11
|
+
"options": [
|
|
12
|
+
"default",
|
|
13
|
+
"negative",
|
|
14
|
+
"notice",
|
|
15
|
+
"positive"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"keepSearchOnSelect": {
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"isRequired": false
|
|
21
|
+
},
|
|
22
|
+
"label": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"isRequired": false
|
|
25
|
+
},
|
|
26
|
+
"multiple": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"isRequired": false
|
|
29
|
+
},
|
|
30
|
+
"onChange": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"isRequired": false
|
|
33
|
+
},
|
|
34
|
+
"options": {
|
|
35
|
+
"type": "\"0\" | \"1\" | \"2\" | \"3\" | \"4\"",
|
|
36
|
+
"isRequired": false,
|
|
37
|
+
"options": [
|
|
38
|
+
"0",
|
|
39
|
+
"1",
|
|
40
|
+
"2",
|
|
41
|
+
"3",
|
|
42
|
+
"4"
|
|
43
|
+
]
|
|
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
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Banner": {
|
|
3
|
+
"props": {
|
|
4
|
+
"dismissed": {
|
|
5
|
+
"type": "boolean",
|
|
6
|
+
"isRequired": false,
|
|
7
|
+
"defaultValue": false
|
|
8
|
+
},
|
|
9
|
+
"dismissible": {
|
|
10
|
+
"type": "boolean",
|
|
11
|
+
"isRequired": false,
|
|
12
|
+
"defaultValue": true
|
|
13
|
+
},
|
|
14
|
+
"icon": {
|
|
15
|
+
"type": "\"0\" | \"1\" | \"2\" | \"3\" | \"4\" | \"5\" | \"6\"",
|
|
16
|
+
"isRequired": false,
|
|
17
|
+
"options": [
|
|
18
|
+
"0",
|
|
19
|
+
"1",
|
|
20
|
+
"2",
|
|
21
|
+
"3",
|
|
22
|
+
"4",
|
|
23
|
+
"5",
|
|
24
|
+
"6"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"intent": {
|
|
28
|
+
"type": "\"info\" | \"negative\" | \"positive\" | \"notice\"",
|
|
29
|
+
"isRequired": false,
|
|
30
|
+
"defaultValue": "info",
|
|
31
|
+
"options": [
|
|
32
|
+
"info",
|
|
33
|
+
"negative",
|
|
34
|
+
"positive",
|
|
35
|
+
"notice"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"sdsIconProps": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"isRequired": false
|
|
41
|
+
},
|
|
42
|
+
"sdsType": {
|
|
43
|
+
"type": "\"primary\" | \"secondary\"",
|
|
44
|
+
"isRequired": true,
|
|
45
|
+
"defaultValue": "primary",
|
|
46
|
+
"options": [
|
|
47
|
+
"primary",
|
|
48
|
+
"secondary"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"textChild": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"isRequired": true,
|
|
54
|
+
"defaultValue": "BANNER_TEXT"
|
|
55
|
+
},
|
|
56
|
+
"className": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"isRequired": false,
|
|
59
|
+
"description": "Standard React className prop"
|
|
60
|
+
},
|
|
61
|
+
"style": {
|
|
62
|
+
"type": "CSSProperties",
|
|
63
|
+
"isRequired": false,
|
|
64
|
+
"description": "Standard React style prop"
|
|
65
|
+
},
|
|
66
|
+
"children": {
|
|
67
|
+
"type": "ReactNode",
|
|
68
|
+
"isRequired": false,
|
|
69
|
+
"description": "Standard React children prop"
|
|
70
|
+
},
|
|
71
|
+
"id": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"isRequired": false,
|
|
74
|
+
"description": "Standard React id prop"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Button": {
|
|
3
|
+
"props": {
|
|
4
|
+
"endIcon": {
|
|
5
|
+
"type": "\"0\" | \"1\" | \"2\" | \"3\" | \"4\" | \"5\" | \"6\" | \"7\" | \"8\" | \"9\"",
|
|
6
|
+
"isRequired": false,
|
|
7
|
+
"options": [
|
|
8
|
+
"0",
|
|
9
|
+
"1",
|
|
10
|
+
"2",
|
|
11
|
+
"3",
|
|
12
|
+
"4",
|
|
13
|
+
"5",
|
|
14
|
+
"6",
|
|
15
|
+
"7",
|
|
16
|
+
"8",
|
|
17
|
+
"9"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"icon": {
|
|
21
|
+
"type": "\"0\" | \"1\" | \"2\" | \"3\" | \"4\" | \"5\" | \"6\" | \"7\" | \"8\" | \"9\"",
|
|
22
|
+
"isRequired": false,
|
|
23
|
+
"options": [
|
|
24
|
+
"0",
|
|
25
|
+
"1",
|
|
26
|
+
"2",
|
|
27
|
+
"3",
|
|
28
|
+
"4",
|
|
29
|
+
"5",
|
|
30
|
+
"6",
|
|
31
|
+
"7",
|
|
32
|
+
"8",
|
|
33
|
+
"9"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"isAllCaps": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"isRequired": false
|
|
39
|
+
},
|
|
40
|
+
"onClick": {
|
|
41
|
+
"type": "function",
|
|
42
|
+
"isRequired": false
|
|
43
|
+
},
|
|
44
|
+
"sdsSize": {
|
|
45
|
+
"type": "\"0\" | \"1\" | \"2\"",
|
|
46
|
+
"isRequired": false,
|
|
47
|
+
"options": [
|
|
48
|
+
"0",
|
|
49
|
+
"1",
|
|
50
|
+
"2"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"sdsStyle": {
|
|
54
|
+
"type": "\"rounded\" | \"square\" | \"minimal\" | \"icon\"",
|
|
55
|
+
"isRequired": false,
|
|
56
|
+
"options": [
|
|
57
|
+
"rounded",
|
|
58
|
+
"square",
|
|
59
|
+
"minimal",
|
|
60
|
+
"icon"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"sdsType": {
|
|
64
|
+
"type": "\"primary\" | \"secondary\" | \"tertiary\" | \"destructive\"",
|
|
65
|
+
"isRequired": false,
|
|
66
|
+
"options": [
|
|
67
|
+
"primary",
|
|
68
|
+
"secondary",
|
|
69
|
+
"tertiary",
|
|
70
|
+
"destructive"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"startIcon": {
|
|
74
|
+
"type": "\"0\" | \"1\" | \"2\" | \"3\" | \"4\" | \"5\" | \"6\" | \"7\" | \"8\" | \"9\"",
|
|
75
|
+
"isRequired": false,
|
|
76
|
+
"options": [
|
|
77
|
+
"0",
|
|
78
|
+
"1",
|
|
79
|
+
"2",
|
|
80
|
+
"3",
|
|
81
|
+
"4",
|
|
82
|
+
"5",
|
|
83
|
+
"6",
|
|
84
|
+
"7",
|
|
85
|
+
"8",
|
|
86
|
+
"9"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"text": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"isRequired": false
|
|
92
|
+
},
|
|
93
|
+
"className": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"isRequired": false,
|
|
96
|
+
"description": "Standard React className prop"
|
|
97
|
+
},
|
|
98
|
+
"style": {
|
|
99
|
+
"type": "CSSProperties",
|
|
100
|
+
"isRequired": false,
|
|
101
|
+
"description": "Standard React style prop"
|
|
102
|
+
},
|
|
103
|
+
"children": {
|
|
104
|
+
"type": "ReactNode",
|
|
105
|
+
"isRequired": false,
|
|
106
|
+
"description": "Standard React children prop"
|
|
107
|
+
},
|
|
108
|
+
"id": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"isRequired": false,
|
|
111
|
+
"description": "Standard React id prop"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|