@czi-sds/mcp 0.3.0 → 0.5.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/resources/figma-rules.md +101 -0
- package/data/resources/sds-component-rules.md +189 -0
- package/data/resources/zeroheight-rules.md +180 -0
- package/data/zeroheight-cache.json +1 -1
- 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/README.md +1 -1
- 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 +136 -135
- 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,70 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"InputToggle": {
|
|
3
3
|
"props": {
|
|
4
|
-
"offLabel": {
|
|
5
|
-
"type": "string",
|
|
6
|
-
"isRequired": false
|
|
7
|
-
},
|
|
8
|
-
"onChange": {
|
|
9
|
-
"type": "function",
|
|
10
|
-
"isRequired": false,
|
|
11
|
-
"description": "Callback fired when the state is changed."
|
|
12
|
-
},
|
|
13
|
-
"onLabel": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"isRequired": false
|
|
16
|
-
},
|
|
17
|
-
"width": {
|
|
18
|
-
"type": "number",
|
|
19
|
-
"isRequired": false
|
|
20
|
-
},
|
|
21
|
-
"color": {
|
|
22
|
-
"type": "\"primary\" | \"secondary\" | \"error\" | \"info\" | \"success\" | \"warning\" | \"default\"",
|
|
23
|
-
"isRequired": false,
|
|
24
|
-
"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).",
|
|
25
|
-
"defaultValue": "primary"
|
|
26
|
-
},
|
|
27
4
|
"disabled": {
|
|
28
5
|
"type": "\"false\" | \"true\"",
|
|
29
6
|
"isRequired": false,
|
|
30
7
|
"description": "If `true`, the component is disabled."
|
|
31
8
|
},
|
|
32
|
-
"
|
|
33
|
-
"type": "ReactNode",
|
|
34
|
-
"isRequired": false,
|
|
35
|
-
"description": "The icon to display when the component is unchecked."
|
|
36
|
-
},
|
|
37
|
-
"size": {
|
|
38
|
-
"type": "\"small\" | \"medium\"",
|
|
39
|
-
"isRequired": false,
|
|
40
|
-
"description": "The size of the component.\n`small` is equivalent to the dense switch styling.",
|
|
41
|
-
"defaultValue": "medium"
|
|
42
|
-
},
|
|
43
|
-
"value": {
|
|
44
|
-
"type": "unknown",
|
|
45
|
-
"isRequired": false,
|
|
46
|
-
"description": "The value of the component. The DOM API casts this to a string.\nThe browser uses \"on\" as the default value."
|
|
47
|
-
},
|
|
48
|
-
"className": {
|
|
9
|
+
"offLabel": {
|
|
49
10
|
"type": "string",
|
|
50
11
|
"isRequired": false
|
|
51
12
|
},
|
|
52
|
-
"
|
|
53
|
-
"type": "CSSProperties",
|
|
54
|
-
"isRequired": false
|
|
55
|
-
},
|
|
56
|
-
"name": {
|
|
57
|
-
"type": "string",
|
|
58
|
-
"isRequired": false,
|
|
59
|
-
"description": "Name attribute of the `input` element."
|
|
60
|
-
},
|
|
61
|
-
"id": {
|
|
13
|
+
"onLabel": {
|
|
62
14
|
"type": "string",
|
|
63
|
-
"isRequired": false
|
|
64
|
-
"description": "The id of the `input` element."
|
|
15
|
+
"isRequired": false
|
|
65
16
|
},
|
|
66
|
-
"
|
|
67
|
-
"type": "
|
|
17
|
+
"width": {
|
|
18
|
+
"type": "number",
|
|
68
19
|
"isRequired": false
|
|
69
20
|
}
|
|
70
21
|
}
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"MenuItem": {
|
|
3
3
|
"props": {
|
|
4
|
-
"
|
|
5
|
-
"type": "string",
|
|
6
|
-
"isRequired": false
|
|
7
|
-
},
|
|
8
|
-
"style": {
|
|
9
|
-
"type": "CSSProperties",
|
|
10
|
-
"isRequired": false
|
|
11
|
-
},
|
|
12
|
-
"children": {
|
|
4
|
+
"column": {
|
|
13
5
|
"type": "ReactNode",
|
|
14
|
-
"isRequired": false
|
|
15
|
-
"description": "The content of the component."
|
|
6
|
+
"isRequired": false
|
|
16
7
|
},
|
|
17
8
|
"disabled": {
|
|
18
9
|
"type": "\"false\" | \"true\"",
|
|
@@ -20,52 +11,31 @@
|
|
|
20
11
|
"description": "If `true`, the component is disabled.",
|
|
21
12
|
"defaultValue": "false\nfalse"
|
|
22
13
|
},
|
|
23
|
-
"
|
|
24
|
-
"type": "
|
|
25
|
-
"isRequired": false
|
|
26
|
-
},
|
|
27
|
-
"id": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"isRequired": false
|
|
30
|
-
},
|
|
31
|
-
"onChange": {
|
|
32
|
-
"type": "FormEventHandler<HTMLLIElement>",
|
|
33
|
-
"isRequired": false
|
|
34
|
-
},
|
|
35
|
-
"onClick": {
|
|
36
|
-
"type": "function",
|
|
37
|
-
"isRequired": false
|
|
38
|
-
},
|
|
39
|
-
"column": {
|
|
40
|
-
"type": "ReactNode",
|
|
14
|
+
"icon": {
|
|
15
|
+
"type": "any",
|
|
41
16
|
"isRequired": false
|
|
42
17
|
},
|
|
43
18
|
"isMultiSelect": {
|
|
44
19
|
"type": "\"false\" | \"true\"",
|
|
45
20
|
"isRequired": false
|
|
46
21
|
},
|
|
47
|
-
"icon": {
|
|
48
|
-
"type": "any",
|
|
49
|
-
"isRequired": false
|
|
50
|
-
},
|
|
51
|
-
"sdsIcon": {
|
|
52
|
-
"type": "any",
|
|
53
|
-
"isRequired": false,
|
|
54
|
-
"description": "@deprecated Use `icon` instead.\n(masoudmanson): This prop is deprecated and will be removed in the next major version.\nPlease replace instances of `sdsIcon` with `icon`."
|
|
55
|
-
},
|
|
56
22
|
"sdsIconProps": {
|
|
57
23
|
"type": "IconProps<IconName>",
|
|
58
24
|
"isRequired": false
|
|
59
25
|
},
|
|
60
26
|
"sdsStyle": {
|
|
61
27
|
"type": "\"determinate\" | \"indeterminate\"",
|
|
62
|
-
"isRequired": false
|
|
63
|
-
"description": "The visual style variant of the component"
|
|
28
|
+
"isRequired": false
|
|
64
29
|
},
|
|
65
30
|
"sdsType": {
|
|
66
31
|
"type": "\"action\" | \"default\"",
|
|
32
|
+
"isRequired": false
|
|
33
|
+
},
|
|
34
|
+
"selected": {
|
|
35
|
+
"type": "\"false\" | \"true\"",
|
|
67
36
|
"isRequired": false,
|
|
68
|
-
"description": "
|
|
37
|
+
"description": "If `true`, the component is selected.",
|
|
38
|
+
"defaultValue": false
|
|
69
39
|
}
|
|
70
40
|
}
|
|
71
41
|
}
|
|
@@ -1,79 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"MenuSelect": {
|
|
3
3
|
"props": {
|
|
4
|
-
"
|
|
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": {
|
|
4
|
+
"keepSearchOnSelect": {
|
|
33
5
|
"type": "\"false\" | \"true\"",
|
|
34
|
-
"isRequired": false
|
|
35
|
-
"description": "If `true`, the input will take up the full width of its container.",
|
|
36
|
-
"defaultValue": false
|
|
6
|
+
"isRequired": false
|
|
37
7
|
},
|
|
38
|
-
"
|
|
8
|
+
"multiple": {
|
|
39
9
|
"type": "\"false\" | \"true\"",
|
|
40
10
|
"isRequired": false,
|
|
41
|
-
"description": "If `true`,
|
|
11
|
+
"description": "If `true`, `value` must be an array and the menu will support multiple selections.",
|
|
42
12
|
"defaultValue": false
|
|
43
13
|
},
|
|
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": "\"string\" | \"DefaultMenuSelectOption\" | \"(T | AutocompleteFreeSoloValueMapping<FreeSolo>)[]\"",
|
|
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
|
-
"keepSearchOnSelect": {
|
|
66
|
-
"type": "\"false\" | \"true\"",
|
|
67
|
-
"isRequired": false
|
|
68
|
-
},
|
|
69
|
-
"renderInput": {
|
|
70
|
-
"type": "ReactNode",
|
|
71
|
-
"isRequired": false
|
|
72
|
-
},
|
|
73
|
-
"InputBaseProps": {
|
|
74
|
-
"type": "InputSearchProps",
|
|
75
|
-
"isRequired": false
|
|
76
|
-
},
|
|
77
14
|
"search": {
|
|
78
15
|
"type": "\"false\" | \"true\"",
|
|
79
16
|
"isRequired": false
|
|
@@ -17,14 +17,6 @@
|
|
|
17
17
|
"type": "string",
|
|
18
18
|
"isRequired": false
|
|
19
19
|
},
|
|
20
|
-
"logoComponent": {
|
|
21
|
-
"type": "\"symbol\" | \"object\" | \"a\" | \"abbr\" | \"address\" | \"area\" | \"article\" | \"aside\" | \"audio\" | \"b\" | \"base\" | \"bdi\" | \"bdo\" | \"big\" | \"blockquote\" | \"body\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"center\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"data\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"form\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"head\" | \"header\" | \"hgroup\" | \"hr\" | \"html\" | \"i\" | \"iframe\" | \"img\" | \"input\" | \"ins\" | \"kbd\" | \"keygen\" | \"label\" | \"legend\" | \"li\" | \"link\" | \"main\" | \"map\" | \"mark\" | \"menu\" | \"menuitem\" | \"meta\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"output\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"progress\" | \"q\" | \"rp\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"search\" | \"slot\" | \"script\" | \"section\" | \"select\" | \"small\" | \"source\" | \"span\" | \"strong\" | \"style\" | \"sub\" | \"summary\" | \"sup\" | \"table\" | \"template\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"time\" | \"title\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"var\" | \"video\" | \"wbr\" | \"webview\" | \"svg\" | \"animate\" | \"animateMotion\" | \"animateTransform\" | \"circle\" | \"clipPath\" | \"defs\" | \"desc\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"filter\" | \"foreignObject\" | \"g\" | \"image\" | \"line\" | \"linearGradient\" | \"marker\" | \"mask\" | \"metadata\" | \"mpath\" | \"path\" | \"pattern\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"set\" | \"stop\" | \"switch\" | \"text\" | \"textPath\" | \"tspan\" | \"use\" | \"view\" | \"ComponentClass",
|
|
22
|
-
"isRequired": false
|
|
23
|
-
},
|
|
24
|
-
"logoLinkProps": {
|
|
25
|
-
"type": "Record<string, unknown>",
|
|
26
|
-
"isRequired": false
|
|
27
|
-
},
|
|
28
20
|
"navItems": {
|
|
29
21
|
"type": "NavigationFooterNavItem[]",
|
|
30
22
|
"isRequired": false
|
|
@@ -1,51 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"NavigationHeader": {
|
|
3
3
|
"props": {
|
|
4
|
-
"className": {
|
|
5
|
-
"type": "string",
|
|
6
|
-
"isRequired": false
|
|
7
|
-
},
|
|
8
|
-
"style": {
|
|
9
|
-
"type": "CSSProperties",
|
|
10
|
-
"isRequired": false
|
|
11
|
-
},
|
|
12
|
-
"color": {
|
|
13
|
-
"type": "\"inherit\" | \"default\" | \"error\" | \"info\" | \"primary\" | \"secondary\" | \"transparent\" | \"success\" | \"warning\"",
|
|
14
|
-
"isRequired": false,
|
|
15
|
-
"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).",
|
|
16
|
-
"defaultValue": "primary"
|
|
17
|
-
},
|
|
18
|
-
"children": {
|
|
19
|
-
"type": "ReactNode",
|
|
20
|
-
"isRequired": false,
|
|
21
|
-
"description": "The content of the component."
|
|
22
|
-
},
|
|
23
|
-
"variant": {
|
|
24
|
-
"type": "\"elevation\" | \"outlined\"",
|
|
25
|
-
"isRequired": false,
|
|
26
|
-
"description": "The variant to use.",
|
|
27
|
-
"defaultValue": "elevation"
|
|
28
|
-
},
|
|
29
|
-
"title": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"isRequired": true
|
|
32
|
-
},
|
|
33
|
-
"id": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"isRequired": false
|
|
36
|
-
},
|
|
37
|
-
"onChange": {
|
|
38
|
-
"type": "FormEventHandler<HTMLElement>",
|
|
39
|
-
"isRequired": false
|
|
40
|
-
},
|
|
41
|
-
"onClick": {
|
|
42
|
-
"type": "function",
|
|
43
|
-
"isRequired": false
|
|
44
|
-
},
|
|
45
|
-
"activePrimaryNavKey": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"isRequired": false
|
|
48
|
-
},
|
|
49
4
|
"buttons": {
|
|
50
5
|
"type": "ReactNode",
|
|
51
6
|
"isRequired": false
|
|
@@ -58,21 +13,19 @@
|
|
|
58
13
|
"type": "ReactNode",
|
|
59
14
|
"isRequired": false
|
|
60
15
|
},
|
|
61
|
-
"logoUrl": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"isRequired": false
|
|
64
|
-
},
|
|
65
16
|
"logoLinkComponent": {
|
|
66
17
|
"type": "\"symbol\" | \"object\" | \"style\" | \"div\" | \"clipPath\" | \"filter\" | \"mask\" | \"marker\" | \"p\" | \"header\" | \"a\" | \"abbr\" | \"address\" | \"area\" | \"article\" | \"aside\" | \"audio\" | \"b\" | \"base\" | \"bdi\" | \"bdo\" | \"big\" | \"blockquote\" | \"body\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"center\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"data\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"form\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"head\" | \"hgroup\" | \"hr\" | \"html\" | \"i\" | \"iframe\" | \"img\" | \"input\" | \"ins\" | \"kbd\" | \"keygen\" | \"label\" | \"legend\" | \"li\" | \"link\" | \"main\" | \"map\" | \"mark\" | \"menu\" | \"menuitem\" | \"meta\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"output\" | \"param\" | \"picture\" | \"pre\" | \"progress\" | \"q\" | \"rp\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"search\" | \"slot\" | \"script\" | \"section\" | \"select\" | \"small\" | \"source\" | \"span\" | \"strong\" | \"sub\" | \"summary\" | \"sup\" | \"table\" | \"template\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"time\" | \"title\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"var\" | \"video\" | \"wbr\" | \"webview\" | \"svg\" | \"animate\" | \"animateMotion\" | \"animateTransform\" | \"circle\" | \"defs\" | \"desc\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"image\" | \"line\" | \"linearGradient\" | \"metadata\" | \"mpath\" | \"path\" | \"pattern\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"set\" | \"stop\" | \"switch\" | \"text\" | \"textPath\" | \"tspan\" | \"use\" | \"view\" | \"ComponentClass",
|
|
67
18
|
"isRequired": false
|
|
68
19
|
},
|
|
69
|
-
"
|
|
70
|
-
"type": "
|
|
20
|
+
"logoUrl": {
|
|
21
|
+
"type": "string",
|
|
71
22
|
"isRequired": false
|
|
72
23
|
},
|
|
73
|
-
"
|
|
74
|
-
"type": "\"
|
|
75
|
-
"isRequired": false
|
|
24
|
+
"position": {
|
|
25
|
+
"type": "\"fixed\" | \"absolute\" | \"sticky\" | \"static\" | \"relative\"",
|
|
26
|
+
"isRequired": false,
|
|
27
|
+
"description": "The positioning type. The behavior of the different options is described\n[in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).\nNote: `sticky` is not universally supported and will fall back to `static` when unavailable.",
|
|
28
|
+
"defaultValue": "fixed"
|
|
76
29
|
},
|
|
77
30
|
"primaryNavItems": {
|
|
78
31
|
"type": "NavigationHeaderPrimaryNavItem<string>[]",
|
|
@@ -82,6 +35,10 @@
|
|
|
82
35
|
"type": "\"left\" | \"right\"",
|
|
83
36
|
"isRequired": false
|
|
84
37
|
},
|
|
38
|
+
"scrollElevation": {
|
|
39
|
+
"type": "\"false\" | \"true\"",
|
|
40
|
+
"isRequired": false
|
|
41
|
+
},
|
|
85
42
|
"searchProps": {
|
|
86
43
|
"type": "\"Partial<FilledTextFieldProps & AccessibleInputSearchProps & InputSearchExtraProps>\" | \"Partial<OutlinedTextFieldProps & AccessibleInputSearchProps & InputSearchExtraProps>\" | \"Partial<StandardTextFieldProps & AccessibleInputSearchProps & InputSearchExtraProps>\"",
|
|
87
44
|
"isRequired": false
|
|
@@ -90,10 +47,6 @@
|
|
|
90
47
|
"type": "NavigationHeaderSecondaryNavItem[]",
|
|
91
48
|
"isRequired": false
|
|
92
49
|
},
|
|
93
|
-
"setActivePrimaryNavKey": {
|
|
94
|
-
"type": "(key: string) => void",
|
|
95
|
-
"isRequired": false
|
|
96
|
-
},
|
|
97
50
|
"showSearch": {
|
|
98
51
|
"type": "\"false\" | \"true\"",
|
|
99
52
|
"isRequired": false
|
|
@@ -106,13 +59,9 @@
|
|
|
106
59
|
"type": "\"info\" | \"positive\" | \"notice\" | \"negative\" | \"neutral\" | \"beta\" | \"[string, string]\" | \"[string, string, string]\"",
|
|
107
60
|
"isRequired": false
|
|
108
61
|
},
|
|
109
|
-
"
|
|
110
|
-
"type": "
|
|
111
|
-
"isRequired":
|
|
112
|
-
},
|
|
113
|
-
"setDrawerOpen": {
|
|
114
|
-
"type": "(open: boolean) => void",
|
|
115
|
-
"isRequired": false
|
|
62
|
+
"title": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"isRequired": true
|
|
116
65
|
}
|
|
117
66
|
}
|
|
118
67
|
}
|
|
@@ -1,42 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"NavigationJumpTo": {
|
|
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
|
-
"onChange": {
|
|
18
|
-
"type": "\"click\" | \"scroll\"",
|
|
19
|
-
"isRequired": false
|
|
20
|
-
},
|
|
21
|
-
"value": {
|
|
22
|
-
"type": "any",
|
|
23
|
-
"isRequired": false,
|
|
24
|
-
"description": "The value of the currently selected `Tab`.\nIf you don't want any selected `Tab`, you can set this prop to `false`."
|
|
25
|
-
},
|
|
26
|
-
"variant": {
|
|
27
|
-
"type": "\"standard\" | \"scrollable\" | \"fullWidth\"",
|
|
28
|
-
"isRequired": false,
|
|
29
|
-
"description": "Determines additional display behavior of the tabs:\n\n- `scrollable` will invoke scrolling properties and allow for horizontally\nscrolling (or swiping) of the tab bar.\n- `fullWidth` will make the tabs grow to use all the available space,\nwhich should be used for small views, like on mobile.\n- `standard` will render the default state.",
|
|
30
|
-
"defaultValue": "standard"
|
|
31
|
-
},
|
|
32
|
-
"id": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"isRequired": false
|
|
35
|
-
},
|
|
36
|
-
"onClick": {
|
|
37
|
-
"type": "function",
|
|
38
|
-
"isRequired": false
|
|
39
|
-
},
|
|
40
4
|
"items": {
|
|
41
5
|
"type": "Item[]",
|
|
42
6
|
"isRequired": true
|
|
@@ -48,10 +12,6 @@
|
|
|
48
12
|
"width": {
|
|
49
13
|
"type": "\"string\" | \"number\" | \"string & {}\"",
|
|
50
14
|
"isRequired": false
|
|
51
|
-
},
|
|
52
|
-
"isSubItem": {
|
|
53
|
-
"type": "\"false\" | \"true\"",
|
|
54
|
-
"isRequired": false
|
|
55
15
|
}
|
|
56
16
|
}
|
|
57
17
|
}
|
|
@@ -1,52 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Notification": {
|
|
3
3
|
"props": {
|
|
4
|
-
"color": {
|
|
5
|
-
"type": "\"info\" | \"success\" | \"warning\" | \"error\"",
|
|
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",
|
|
48
|
-
"isRequired": false
|
|
49
|
-
},
|
|
50
4
|
"autoDismiss": {
|
|
51
5
|
"type": "\"number\" | \"false\" | \"true\"",
|
|
52
6
|
"isRequired": false
|
|
@@ -55,34 +9,36 @@
|
|
|
55
9
|
"type": "(event: SyntheticEvent<Element, Event>) => void",
|
|
56
10
|
"isRequired": false
|
|
57
11
|
},
|
|
58
|
-
"buttonText": {
|
|
59
|
-
"type": "string",
|
|
60
|
-
"isRequired": false
|
|
61
|
-
},
|
|
62
12
|
"buttonPosition": {
|
|
63
13
|
"type": "\"left\" | \"right\"",
|
|
64
14
|
"isRequired": false
|
|
65
15
|
},
|
|
66
|
-
"
|
|
16
|
+
"extraContent": {
|
|
67
17
|
"type": "\"false\" | \"true\"",
|
|
68
18
|
"isRequired": false
|
|
69
19
|
},
|
|
70
|
-
"
|
|
71
|
-
"type": "
|
|
20
|
+
"icon": {
|
|
21
|
+
"type": "ReactNode",
|
|
72
22
|
"isRequired": false,
|
|
73
|
-
"
|
|
74
|
-
},
|
|
75
|
-
"extraContent": {
|
|
76
|
-
"type": "\"false\" | \"true\"",
|
|
77
|
-
"isRequired": false
|
|
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`."
|
|
78
24
|
},
|
|
79
25
|
"intent": {
|
|
80
26
|
"type": "\"info\" | \"negative\" | \"positive\" | \"notice\"",
|
|
81
27
|
"isRequired": true
|
|
82
28
|
},
|
|
29
|
+
"onClose": {
|
|
30
|
+
"type": "(event: SyntheticEvent<Element, Event>) => void",
|
|
31
|
+
"isRequired": false,
|
|
32
|
+
"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."
|
|
33
|
+
},
|
|
83
34
|
"sdsIconProps": {
|
|
84
35
|
"type": "IconProps<string | number | symbol>",
|
|
85
36
|
"isRequired": false
|
|
37
|
+
},
|
|
38
|
+
"slideDirection": {
|
|
39
|
+
"type": "\"left\" | \"right\"",
|
|
40
|
+
"isRequired": false,
|
|
41
|
+
"defaultValue": "left"
|
|
86
42
|
}
|
|
87
43
|
}
|
|
88
44
|
}
|
|
@@ -1,50 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Pagination": {
|
|
3
3
|
"props": {
|
|
4
|
+
"pageSize": {
|
|
5
|
+
"type": "number",
|
|
6
|
+
"isRequired": true
|
|
7
|
+
},
|
|
4
8
|
"sdsStyle": {
|
|
5
9
|
"type": "\"round\" | \"square\"",
|
|
6
|
-
"isRequired": false,
|
|
7
|
-
"description": "The visual style variant of the component"
|
|
8
|
-
},
|
|
9
|
-
"disabled": {
|
|
10
|
-
"type": "\"false\" | \"true\"",
|
|
11
10
|
"isRequired": false
|
|
12
11
|
},
|
|
13
|
-
"selected": {
|
|
14
|
-
"type": "\"false\" | \"true\"",
|
|
15
|
-
"isRequired": false
|
|
16
|
-
},
|
|
17
|
-
"truncateDropdown": {
|
|
18
|
-
"type": "\"false\" | \"true\"",
|
|
19
|
-
"isRequired": false
|
|
20
|
-
},
|
|
21
|
-
"onPageChange": {
|
|
22
|
-
"type": "(page: number) => void",
|
|
23
|
-
"isRequired": true
|
|
24
|
-
},
|
|
25
|
-
"onNextPage": {
|
|
26
|
-
"type": "() => void",
|
|
27
|
-
"isRequired": true
|
|
28
|
-
},
|
|
29
|
-
"onPreviousPage": {
|
|
30
|
-
"type": "() => void",
|
|
31
|
-
"isRequired": true
|
|
32
|
-
},
|
|
33
|
-
"totalCount": {
|
|
34
|
-
"type": "number",
|
|
35
|
-
"isRequired": true
|
|
36
|
-
},
|
|
37
12
|
"siblingCount": {
|
|
38
13
|
"type": "number",
|
|
39
14
|
"isRequired": false
|
|
40
15
|
},
|
|
41
|
-
"
|
|
16
|
+
"totalCount": {
|
|
42
17
|
"type": "number",
|
|
43
18
|
"isRequired": true
|
|
44
19
|
},
|
|
45
|
-
"
|
|
46
|
-
"type": "
|
|
47
|
-
"isRequired":
|
|
20
|
+
"truncateDropdown": {
|
|
21
|
+
"type": "\"false\" | \"true\"",
|
|
22
|
+
"isRequired": false
|
|
48
23
|
}
|
|
49
24
|
}
|
|
50
25
|
}
|