@czi-sds/mcp 0.3.0 → 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-exports/Accordion.md +167 -125
- package/data/zeroheight-exports/Banner.md +71 -48
- package/data/zeroheight-exports/Borders.md +72 -73
- package/data/zeroheight-exports/Buttons.md +375 -330
- package/data/zeroheight-exports/Callout.md +138 -116
- package/data/zeroheight-exports/Colors.md +254 -255
- package/data/zeroheight-exports/Content-Card.md +36 -37
- package/data/zeroheight-exports/Contributing-to-SDS.md +34 -35
- package/data/zeroheight-exports/Control-Inputs.md +289 -234
- package/data/zeroheight-exports/Corners.md +63 -64
- package/data/zeroheight-exports/Cover-page.md +0 -1
- package/data/zeroheight-exports/Dialog.md +237 -179
- package/data/zeroheight-exports/Downloads.md +10 -11
- package/data/zeroheight-exports/Drop-Shadows.md +40 -41
- package/data/zeroheight-exports/Dropdown-Input.md +158 -127
- package/data/zeroheight-exports/Dropdown-Menu.md +814 -718
- package/data/zeroheight-exports/Element-Status-Tracker.md +191 -192
- package/data/zeroheight-exports/Field-Inputs.md +149 -130
- package/data/zeroheight-exports/Filters.md +114 -94
- package/data/zeroheight-exports/Getting-Started.md +112 -249
- package/data/zeroheight-exports/Hero.md +43 -37
- package/data/zeroheight-exports/Icons.md +205 -206
- package/data/zeroheight-exports/Intent.md +6 -7
- package/data/zeroheight-exports/Introduction-to-Bases.md +8 -9
- package/data/zeroheight-exports/Introduction-to-Cells.md +11 -12
- package/data/zeroheight-exports/Introduction-to-DNA.md +8 -9
- package/data/zeroheight-exports/Introduction-to-Genes.md +8 -9
- package/data/zeroheight-exports/Introduction.md +52 -53
- package/data/zeroheight-exports/Link.md +50 -37
- package/data/zeroheight-exports/Lists.md +78 -63
- package/data/zeroheight-exports/Loading-Indicator.md +7 -8
- package/data/zeroheight-exports/Navigation.md +163 -142
- package/data/zeroheight-exports/Notification.md +132 -102
- package/data/zeroheight-exports/Panel.md +231 -115
- package/data/zeroheight-exports/Responsive-Design.md +35 -32
- package/data/zeroheight-exports/Search-Input.md +9 -10
- package/data/zeroheight-exports/Search.md +87 -104
- package/data/zeroheight-exports/Segmented-Control.md +68 -45
- package/data/zeroheight-exports/Spacing.md +210 -211
- package/data/zeroheight-exports/Table.md +414 -302
- package/data/zeroheight-exports/Tabs.md +126 -98
- package/data/zeroheight-exports/Tags.md +148 -118
- package/data/zeroheight-exports/Text-Link.md +32 -33
- package/data/zeroheight-exports/Theming.md +48 -29
- package/data/zeroheight-exports/Tooltips.md +253 -237
- package/data/zeroheight-exports/Typography.md +463 -464
- package/dist/stdio.js +44 -132
- package/package.json +3 -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,29 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Accordion": {
|
|
3
3
|
"props": {
|
|
4
|
-
"
|
|
5
|
-
"type": "
|
|
6
|
-
"isRequired": false,
|
|
7
|
-
"description": "The content of the component."
|
|
8
|
-
},
|
|
9
|
-
"className": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"isRequired": false
|
|
12
|
-
},
|
|
13
|
-
"style": {
|
|
14
|
-
"type": "CSSProperties",
|
|
4
|
+
"defaultExpanded": {
|
|
5
|
+
"type": "any",
|
|
15
6
|
"isRequired": false
|
|
16
7
|
},
|
|
17
8
|
"id": {
|
|
18
9
|
"type": "string",
|
|
19
10
|
"isRequired": false
|
|
20
11
|
},
|
|
21
|
-
"
|
|
22
|
-
"type": "
|
|
12
|
+
"togglePosition": {
|
|
13
|
+
"type": "any",
|
|
23
14
|
"isRequired": false
|
|
24
15
|
},
|
|
25
|
-
"
|
|
26
|
-
"type": "
|
|
16
|
+
"useDivider": {
|
|
17
|
+
"type": "any",
|
|
18
|
+
"isRequired": false
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"AccordionHeader": {
|
|
23
|
+
"props": {
|
|
24
|
+
"subtitle": {
|
|
25
|
+
"type": "string",
|
|
27
26
|
"isRequired": false
|
|
28
27
|
}
|
|
29
28
|
}
|
|
@@ -1,50 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Alert": {
|
|
3
3
|
"props": {
|
|
4
|
-
"
|
|
5
|
-
"type": "
|
|
6
|
-
"isRequired": false,
|
|
7
|
-
"description": "The color of the component. Unless provided, the value is taken from the `severity` prop.\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)."
|
|
8
|
-
},
|
|
9
|
-
"icon": {
|
|
10
|
-
"type": "ReactNode",
|
|
11
|
-
"isRequired": false,
|
|
12
|
-
"description": "Override the icon displayed before the children.\nUnless provided, the icon is mapped to the value of the `severity` prop.\nSet to `false` to remove the `icon`."
|
|
13
|
-
},
|
|
14
|
-
"onClose": {
|
|
15
|
-
"type": "(event: SyntheticEvent<Element, Event>) => void",
|
|
16
|
-
"isRequired": false,
|
|
17
|
-
"description": "Callback fired when the component requests to be closed.\nWhen provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.\n@param event The event source of the callback."
|
|
18
|
-
},
|
|
19
|
-
"variant": {
|
|
20
|
-
"type": "\"standard\" | \"filled\" | \"outlined\"",
|
|
21
|
-
"isRequired": false,
|
|
22
|
-
"description": "The variant to use.",
|
|
23
|
-
"defaultValue": "standard"
|
|
24
|
-
},
|
|
25
|
-
"className": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"isRequired": false
|
|
28
|
-
},
|
|
29
|
-
"style": {
|
|
30
|
-
"type": "CSSProperties",
|
|
31
|
-
"isRequired": false
|
|
32
|
-
},
|
|
33
|
-
"children": {
|
|
34
|
-
"type": "ReactNode",
|
|
35
|
-
"isRequired": false,
|
|
36
|
-
"description": "The content of the component."
|
|
37
|
-
},
|
|
38
|
-
"id": {
|
|
39
|
-
"type": "string",
|
|
40
|
-
"isRequired": false
|
|
41
|
-
},
|
|
42
|
-
"onChange": {
|
|
43
|
-
"type": "FormEventHandler<HTMLDivElement>",
|
|
44
|
-
"isRequired": false
|
|
45
|
-
},
|
|
46
|
-
"onClick": {
|
|
47
|
-
"type": "function",
|
|
4
|
+
"text": {
|
|
5
|
+
"type": "any",
|
|
48
6
|
"isRequired": false
|
|
49
7
|
}
|
|
50
8
|
}
|
|
@@ -1,50 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Autocomplete": {
|
|
3
3
|
"props": {
|
|
4
|
-
"
|
|
5
|
-
"type": "
|
|
4
|
+
"groupBy": {
|
|
5
|
+
"type": "any",
|
|
6
6
|
"isRequired": false
|
|
7
7
|
},
|
|
8
|
-
"
|
|
9
|
-
"type": "
|
|
10
|
-
"isRequired": false,
|
|
11
|
-
"description": "Popper render function or node."
|
|
12
|
-
},
|
|
13
|
-
"open": {
|
|
14
|
-
"type": "\"false\" | \"true\"",
|
|
15
|
-
"isRequired": true,
|
|
16
|
-
"description": "If `true`, the component is shown."
|
|
17
|
-
},
|
|
18
|
-
"className": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"isRequired": false
|
|
21
|
-
},
|
|
22
|
-
"id": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"isRequired": false
|
|
25
|
-
},
|
|
26
|
-
"onChange": {
|
|
27
|
-
"type": "FormEventHandler<HTMLDivElement>",
|
|
8
|
+
"intent": {
|
|
9
|
+
"type": "any",
|
|
28
10
|
"isRequired": false
|
|
29
11
|
},
|
|
30
|
-
"
|
|
31
|
-
"type": "
|
|
12
|
+
"keepSearchOnSelect": {
|
|
13
|
+
"type": "any",
|
|
32
14
|
"isRequired": false
|
|
33
15
|
},
|
|
34
|
-
"
|
|
35
|
-
"type": "
|
|
16
|
+
"label": {
|
|
17
|
+
"type": "any",
|
|
36
18
|
"isRequired": false
|
|
37
19
|
},
|
|
38
|
-
"
|
|
39
|
-
"type": "
|
|
20
|
+
"multiple": {
|
|
21
|
+
"type": "any",
|
|
40
22
|
"isRequired": false
|
|
41
23
|
},
|
|
42
|
-
"
|
|
43
|
-
"type": "
|
|
24
|
+
"onChange": {
|
|
25
|
+
"type": "FormEventHandler<HTMLDivElement>",
|
|
44
26
|
"isRequired": false
|
|
45
27
|
},
|
|
46
|
-
"
|
|
47
|
-
"type": "
|
|
28
|
+
"options": {
|
|
29
|
+
"type": "any",
|
|
48
30
|
"isRequired": false
|
|
49
31
|
}
|
|
50
32
|
}
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Banner": {
|
|
3
3
|
"props": {
|
|
4
|
-
"icon": {
|
|
5
|
-
"type": "ReactElement",
|
|
6
|
-
"isRequired": false
|
|
7
|
-
},
|
|
8
|
-
"sdsIconProps": {
|
|
9
|
-
"type": "IconProps<string | number | symbol>",
|
|
10
|
-
"isRequired": false
|
|
11
|
-
},
|
|
12
4
|
"dismissed": {
|
|
13
5
|
"type": "\"false\" | \"true\"",
|
|
14
6
|
"isRequired": false
|
|
@@ -17,18 +9,25 @@
|
|
|
17
9
|
"type": "\"false\" | \"true\"",
|
|
18
10
|
"isRequired": false
|
|
19
11
|
},
|
|
20
|
-
"
|
|
21
|
-
"type": "
|
|
12
|
+
"icon": {
|
|
13
|
+
"type": "ReactElement",
|
|
22
14
|
"isRequired": false
|
|
23
15
|
},
|
|
24
16
|
"intent": {
|
|
25
17
|
"type": "\"info\" | \"negative\" | \"notice\" | \"positive\"",
|
|
26
18
|
"isRequired": false
|
|
27
19
|
},
|
|
20
|
+
"sdsIconProps": {
|
|
21
|
+
"type": "IconProps<string | number | symbol>",
|
|
22
|
+
"isRequired": false
|
|
23
|
+
},
|
|
28
24
|
"sdsType": {
|
|
29
25
|
"type": "\"primary\" | \"secondary\"",
|
|
30
|
-
"isRequired": true
|
|
31
|
-
|
|
26
|
+
"isRequired": true
|
|
27
|
+
},
|
|
28
|
+
"textChild": {
|
|
29
|
+
"type": "any",
|
|
30
|
+
"isRequired": false
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
33
|
}
|
|
@@ -1,107 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Button": {
|
|
3
3
|
"props": {
|
|
4
|
-
"
|
|
5
|
-
"type": "string",
|
|
6
|
-
"isRequired": false
|
|
7
|
-
},
|
|
8
|
-
"style": {
|
|
9
|
-
"type": "CSSProperties",
|
|
10
|
-
"isRequired": false
|
|
11
|
-
},
|
|
12
|
-
"children": {
|
|
4
|
+
"endIcon": {
|
|
13
5
|
"type": "ReactNode",
|
|
14
6
|
"isRequired": false,
|
|
15
|
-
"description": "
|
|
16
|
-
},
|
|
17
|
-
"disabled": {
|
|
18
|
-
"type": "\"false\" | \"true\"",
|
|
19
|
-
"isRequired": false,
|
|
20
|
-
"description": "If `true`, the component is disabled.",
|
|
21
|
-
"defaultValue": "false\nfalse"
|
|
7
|
+
"description": "Element placed after the children."
|
|
22
8
|
},
|
|
23
|
-
"
|
|
24
|
-
"type": "
|
|
25
|
-
"isRequired":
|
|
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": "primary"
|
|
9
|
+
"icon": {
|
|
10
|
+
"type": "ReactElement",
|
|
11
|
+
"isRequired": true
|
|
28
12
|
},
|
|
29
|
-
"
|
|
13
|
+
"isAllCaps": {
|
|
30
14
|
"type": "\"false\" | \"true\"",
|
|
31
|
-
"isRequired": false,
|
|
32
|
-
"description": "If `true`, the button will take up the full width of its container.",
|
|
33
|
-
"defaultValue": false
|
|
34
|
-
},
|
|
35
|
-
"href": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"isRequired": false,
|
|
38
|
-
"description": "The URL to link to when the button is clicked.\nIf defined, an `a` element will be used as the root node."
|
|
39
|
-
},
|
|
40
|
-
"size": {
|
|
41
|
-
"type": "\"small\" | \"medium\" | \"large\"",
|
|
42
|
-
"isRequired": false,
|
|
43
|
-
"description": "The size of the component.\n`small` is equivalent to the dense button styling.",
|
|
44
|
-
"defaultValue": "medium"
|
|
45
|
-
},
|
|
46
|
-
"variant": {
|
|
47
|
-
"type": "\"text\" | \"outlined\" | \"contained\"",
|
|
48
|
-
"isRequired": false,
|
|
49
|
-
"description": "The variant to use.",
|
|
50
|
-
"defaultValue": "text"
|
|
51
|
-
},
|
|
52
|
-
"name": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"isRequired": false
|
|
55
|
-
},
|
|
56
|
-
"value": {
|
|
57
|
-
"type": "\"string\" | \"number\" | \"readonly string[]\"",
|
|
58
|
-
"isRequired": false
|
|
59
|
-
},
|
|
60
|
-
"id": {
|
|
61
|
-
"type": "string",
|
|
62
|
-
"isRequired": false
|
|
63
|
-
},
|
|
64
|
-
"onChange": {
|
|
65
|
-
"type": "FormEventHandler<HTMLButtonElement>",
|
|
66
15
|
"isRequired": false
|
|
67
16
|
},
|
|
68
17
|
"onClick": {
|
|
69
18
|
"type": "function",
|
|
70
19
|
"isRequired": false
|
|
71
20
|
},
|
|
72
|
-
"sdsStyle": {
|
|
73
|
-
"type": "\"icon\" | \"minimal\" | \"rounded\" | \"square\"",
|
|
74
|
-
"isRequired": true,
|
|
75
|
-
"description": "The visual style variant of the component"
|
|
76
|
-
},
|
|
77
|
-
"sdsType": {
|
|
78
|
-
"type": "\"primary\" | \"secondary\" | \"tertiary\" | \"destructive\"",
|
|
79
|
-
"isRequired": false,
|
|
80
|
-
"description": "The type/variant of the component"
|
|
81
|
-
},
|
|
82
21
|
"sdsSize": {
|
|
83
22
|
"type": "\"small\" | \"medium\" | \"large\"",
|
|
84
|
-
"isRequired": false
|
|
85
|
-
"description": "The size of the component"
|
|
23
|
+
"isRequired": false
|
|
86
24
|
},
|
|
87
|
-
"
|
|
88
|
-
"type": "
|
|
25
|
+
"sdsStyle": {
|
|
26
|
+
"type": "\"icon\" | \"minimal\" | \"rounded\" | \"square\"",
|
|
89
27
|
"isRequired": true
|
|
90
28
|
},
|
|
91
|
-
"
|
|
92
|
-
"type": "
|
|
93
|
-
"isRequired": false
|
|
94
|
-
},
|
|
95
|
-
"isAllCaps": {
|
|
96
|
-
"type": "\"false\" | \"true\"",
|
|
29
|
+
"sdsType": {
|
|
30
|
+
"type": "\"primary\" | \"secondary\" | \"tertiary\" | \"destructive\"",
|
|
97
31
|
"isRequired": false
|
|
98
32
|
},
|
|
99
|
-
"
|
|
100
|
-
"type": "
|
|
101
|
-
"isRequired": false
|
|
33
|
+
"startIcon": {
|
|
34
|
+
"type": "ReactNode",
|
|
35
|
+
"isRequired": false,
|
|
36
|
+
"description": "Element placed before the children."
|
|
102
37
|
},
|
|
103
|
-
"
|
|
104
|
-
"type": "
|
|
38
|
+
"text": {
|
|
39
|
+
"type": "any",
|
|
105
40
|
"isRequired": false
|
|
106
41
|
}
|
|
107
42
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ButtonDropdown": {
|
|
3
|
+
"props": {
|
|
4
|
+
"disabled": {
|
|
5
|
+
"type": "any",
|
|
6
|
+
"isRequired": false
|
|
7
|
+
},
|
|
8
|
+
"icon": {
|
|
9
|
+
"type": "any",
|
|
10
|
+
"isRequired": false
|
|
11
|
+
},
|
|
12
|
+
"sdsSize": {
|
|
13
|
+
"type": "any",
|
|
14
|
+
"isRequired": false
|
|
15
|
+
},
|
|
16
|
+
"sdsStyle": {
|
|
17
|
+
"type": "any",
|
|
18
|
+
"isRequired": false
|
|
19
|
+
},
|
|
20
|
+
"sdsType": {
|
|
21
|
+
"type": "any",
|
|
22
|
+
"isRequired": false
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,78 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ButtonIcon": {
|
|
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 icon to display.\nThe content of the component."
|
|
16
|
-
},
|
|
17
4
|
"disabled": {
|
|
18
5
|
"type": "\"false\" | \"true\"",
|
|
19
6
|
"isRequired": false,
|
|
20
7
|
"description": "If `true`, the component is disabled.",
|
|
21
8
|
"defaultValue": "false\nfalse"
|
|
22
9
|
},
|
|
23
|
-
"
|
|
24
|
-
"type": "
|
|
25
|
-
"isRequired":
|
|
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
|
-
"size": {
|
|
30
|
-
"type": "\"small\" | \"medium\" | \"large\"",
|
|
31
|
-
"isRequired": false,
|
|
32
|
-
"description": "The size of the component.\n`small` is equivalent to the dense button styling.",
|
|
33
|
-
"defaultValue": "medium"
|
|
34
|
-
},
|
|
35
|
-
"name": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"isRequired": false
|
|
38
|
-
},
|
|
39
|
-
"value": {
|
|
40
|
-
"type": "\"string\" | \"number\" | \"readonly string[]\"",
|
|
41
|
-
"isRequired": false
|
|
42
|
-
},
|
|
43
|
-
"id": {
|
|
44
|
-
"type": "string",
|
|
45
|
-
"isRequired": false
|
|
46
|
-
},
|
|
47
|
-
"onChange": {
|
|
48
|
-
"type": "FormEventHandler<HTMLButtonElement>",
|
|
49
|
-
"isRequired": false
|
|
50
|
-
},
|
|
51
|
-
"onClick": {
|
|
52
|
-
"type": "function",
|
|
53
|
-
"isRequired": false
|
|
10
|
+
"icon": {
|
|
11
|
+
"type": "ReactElement",
|
|
12
|
+
"isRequired": true
|
|
54
13
|
},
|
|
55
14
|
"sdsSize": {
|
|
56
15
|
"type": "\"small\" | \"medium\" | \"large\"",
|
|
57
|
-
"isRequired": false
|
|
58
|
-
"description": "The size of the component"
|
|
16
|
+
"isRequired": false
|
|
59
17
|
},
|
|
60
18
|
"sdsType": {
|
|
61
19
|
"type": "\"primary\" | \"secondary\" | \"tertiary\"",
|
|
62
|
-
"isRequired": false,
|
|
63
|
-
"description": "The type/variant of the component"
|
|
64
|
-
},
|
|
65
|
-
"icon": {
|
|
66
|
-
"type": "ReactElement",
|
|
67
|
-
"isRequired": true
|
|
68
|
-
},
|
|
69
|
-
"sdsIcon": {
|
|
70
|
-
"type": "ReactElement",
|
|
71
|
-
"isRequired": false,
|
|
72
|
-
"description": "@deprecated (masoudmanson): This prop is deprecated and will be removed in the next major version.\nPlease use `icon` instead."
|
|
73
|
-
},
|
|
74
|
-
"sdsIconProps": {
|
|
75
|
-
"type": "IconProps<string | number | symbol>",
|
|
76
20
|
"isRequired": false
|
|
77
21
|
}
|
|
78
22
|
}
|
|
@@ -1,81 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"ButtonToggle": {
|
|
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."
|
|
16
|
-
},
|
|
17
4
|
"disabled": {
|
|
18
5
|
"type": "\"false\" | \"true\"",
|
|
19
6
|
"isRequired": false,
|
|
20
7
|
"description": "If `true`, the component is disabled."
|
|
21
8
|
},
|
|
22
|
-
"color": {
|
|
23
|
-
"type": "\"inherit\" | \"primary\" | \"secondary\" | \"success\" | \"error\" | \"info\" | \"warning\"",
|
|
24
|
-
"isRequired": false,
|
|
25
|
-
"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).",
|
|
26
|
-
"defaultValue": "primary"
|
|
27
|
-
},
|
|
28
|
-
"fullWidth": {
|
|
29
|
-
"type": "\"false\" | \"true\"",
|
|
30
|
-
"isRequired": false,
|
|
31
|
-
"description": "If `true`, the button will take up the full width of its container.",
|
|
32
|
-
"defaultValue": false
|
|
33
|
-
},
|
|
34
|
-
"href": {
|
|
35
|
-
"type": "string",
|
|
36
|
-
"isRequired": false,
|
|
37
|
-
"description": "The URL to link to when the button is clicked.\nIf defined, an `a` element will be used as the root node."
|
|
38
|
-
},
|
|
39
|
-
"size": {
|
|
40
|
-
"type": "\"small\" | \"medium\" | \"large\"",
|
|
41
|
-
"isRequired": false,
|
|
42
|
-
"description": "The size of the component.\n`small` is equivalent to the dense button styling.",
|
|
43
|
-
"defaultValue": "medium"
|
|
44
|
-
},
|
|
45
|
-
"variant": {
|
|
46
|
-
"type": "\"text\" | \"outlined\" | \"contained\"",
|
|
47
|
-
"isRequired": false,
|
|
48
|
-
"description": "The variant to use.",
|
|
49
|
-
"defaultValue": "text"
|
|
50
|
-
},
|
|
51
|
-
"name": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"isRequired": false
|
|
54
|
-
},
|
|
55
|
-
"value": {
|
|
56
|
-
"type": "\"string\" | \"number\" | \"readonly string[]\"",
|
|
57
|
-
"isRequired": false
|
|
58
|
-
},
|
|
59
|
-
"id": {
|
|
60
|
-
"type": "string",
|
|
61
|
-
"isRequired": false
|
|
62
|
-
},
|
|
63
|
-
"onChange": {
|
|
64
|
-
"type": "FormEventHandler<HTMLButtonElement>",
|
|
65
|
-
"isRequired": false
|
|
66
|
-
},
|
|
67
|
-
"onClick": {
|
|
68
|
-
"type": "function",
|
|
69
|
-
"isRequired": false
|
|
70
|
-
},
|
|
71
9
|
"icon": {
|
|
72
10
|
"type": "ReactElement",
|
|
73
11
|
"isRequired": true
|
|
74
12
|
},
|
|
75
13
|
"sdsSize": {
|
|
76
14
|
"type": "\"small\" | \"medium\" | \"large\"",
|
|
77
|
-
"isRequired": false
|
|
78
|
-
"description": "The size of the component"
|
|
15
|
+
"isRequired": false
|
|
79
16
|
},
|
|
80
17
|
"sdsStage": {
|
|
81
18
|
"type": "\"off\" | \"on\"",
|
|
@@ -83,8 +20,7 @@
|
|
|
83
20
|
},
|
|
84
21
|
"sdsType": {
|
|
85
22
|
"type": "\"primary\" | \"secondary\"",
|
|
86
|
-
"isRequired": false
|
|
87
|
-
"description": "The type/variant of the component"
|
|
23
|
+
"isRequired": false
|
|
88
24
|
}
|
|
89
25
|
}
|
|
90
26
|
}
|
|
@@ -1,40 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Callout": {
|
|
3
3
|
"props": {
|
|
4
|
-
"
|
|
5
|
-
"type": "
|
|
6
|
-
"isRequired": false
|
|
7
|
-
},
|
|
8
|
-
"style": {
|
|
9
|
-
"type": "CSSProperties",
|
|
4
|
+
"autoDismiss": {
|
|
5
|
+
"type": "\"number\" | \"false\" | \"true\"",
|
|
10
6
|
"isRequired": false
|
|
11
7
|
},
|
|
12
|
-
"
|
|
8
|
+
"body": {
|
|
13
9
|
"type": "ReactNode",
|
|
14
|
-
"isRequired": false,
|
|
15
|
-
"description": "The content of the component."
|
|
16
|
-
},
|
|
17
|
-
"variant": {
|
|
18
|
-
"type": "\"standard\" | \"filled\" | \"outlined\"",
|
|
19
|
-
"isRequired": false,
|
|
20
|
-
"description": "The variant to use.",
|
|
21
|
-
"defaultValue": "standard"
|
|
22
|
-
},
|
|
23
|
-
"id": {
|
|
24
|
-
"type": "string",
|
|
25
10
|
"isRequired": false
|
|
26
11
|
},
|
|
27
|
-
"
|
|
28
|
-
"type": "\"
|
|
29
|
-
"isRequired": false,
|
|
30
|
-
"description": "The color of the component. Unless provided, the value is taken from the `severity` prop.\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)."
|
|
31
|
-
},
|
|
32
|
-
"onChange": {
|
|
33
|
-
"type": "FormEventHandler<HTMLDivElement>",
|
|
12
|
+
"hideBody": {
|
|
13
|
+
"type": "\"false\" | \"true\"",
|
|
34
14
|
"isRequired": false
|
|
35
15
|
},
|
|
36
|
-
"
|
|
37
|
-
"type": "
|
|
16
|
+
"hideTitle": {
|
|
17
|
+
"type": "\"false\" | \"true\"",
|
|
38
18
|
"isRequired": false
|
|
39
19
|
},
|
|
40
20
|
"icon": {
|
|
@@ -42,51 +22,17 @@
|
|
|
42
22
|
"isRequired": false,
|
|
43
23
|
"description": "Override the icon displayed before the children.\nUnless provided, the icon is mapped to the value of the `severity` prop.\nSet to `false` to remove the `icon`."
|
|
44
24
|
},
|
|
45
|
-
"onClose": {
|
|
46
|
-
"type": "(event: SyntheticEvent<Element, Event>) => void",
|
|
47
|
-
"isRequired": false,
|
|
48
|
-
"description": "Callback fired when the component requests to be closed.\nWhen provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.\n@param event The event source of the callback."
|
|
49
|
-
},
|
|
50
|
-
"autoDismiss": {
|
|
51
|
-
"type": "\"number\" | \"false\" | \"true\"",
|
|
52
|
-
"isRequired": false
|
|
53
|
-
},
|
|
54
|
-
"dismissed": {
|
|
55
|
-
"type": "\"false\" | \"true\"",
|
|
56
|
-
"isRequired": false
|
|
57
|
-
},
|
|
58
|
-
"sdsIconProps": {
|
|
59
|
-
"type": "IconProps<string | number | symbol>",
|
|
60
|
-
"isRequired": false
|
|
61
|
-
},
|
|
62
25
|
"intent": {
|
|
63
26
|
"type": "\"info\" | \"negative\" | \"notice\" | \"positive\"",
|
|
64
27
|
"isRequired": true
|
|
65
28
|
},
|
|
66
|
-
"
|
|
67
|
-
"type": "\"
|
|
68
|
-
"isRequired": false
|
|
69
|
-
},
|
|
70
|
-
"hideTitle": {
|
|
71
|
-
"type": "\"false\" | \"true\"",
|
|
72
|
-
"isRequired": false
|
|
73
|
-
},
|
|
74
|
-
"body": {
|
|
75
|
-
"type": "ReactNode",
|
|
76
|
-
"isRequired": false
|
|
77
|
-
},
|
|
78
|
-
"hideBody": {
|
|
79
|
-
"type": "\"false\" | \"true\"",
|
|
29
|
+
"sdsStyle": {
|
|
30
|
+
"type": "\"persistent\" | \"expandable\" | \"dismissible\"",
|
|
80
31
|
"isRequired": false
|
|
81
32
|
},
|
|
82
|
-
"
|
|
83
|
-
"type": "
|
|
33
|
+
"title": {
|
|
34
|
+
"type": "string",
|
|
84
35
|
"isRequired": false
|
|
85
|
-
},
|
|
86
|
-
"sdsStyle": {
|
|
87
|
-
"type": "\"persistent\" | \"expandable\" | \"dismissible\"",
|
|
88
|
-
"isRequired": false,
|
|
89
|
-
"description": "The visual style variant of the component"
|
|
90
36
|
}
|
|
91
37
|
}
|
|
92
38
|
}
|