@czi-sds/mcp 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +34 -0
  3. package/data/component-list.json +55 -0
  4. package/data/component-props/Accordion.json +31 -0
  5. package/data/component-props/Alert.json +52 -0
  6. package/data/component-props/Autocomplete.json +52 -0
  7. package/data/component-props/Banner.json +35 -0
  8. package/data/component-props/Button.json +109 -0
  9. package/data/component-props/ButtonIcon.json +80 -0
  10. package/data/component-props/ButtonToggle.json +91 -0
  11. package/data/component-props/Callout.json +93 -0
  12. package/data/component-props/CellBasic.json +102 -0
  13. package/data/component-props/CellComponent.json +46 -0
  14. package/data/component-props/CellHeader.json +78 -0
  15. package/data/component-props/Chip.json +73 -0
  16. package/data/component-props/ComplexFilter.json +19 -0
  17. package/data/component-props/ContentCard.json +18 -0
  18. package/data/component-props/Dropdown.json +107 -0
  19. package/data/component-props/DropdownMenu.json +86 -0
  20. package/data/component-props/HeatmapChart.json +110 -0
  21. package/data/component-props/Icon.json +27 -0
  22. package/data/component-props/InputCheckbox.json +76 -0
  23. package/data/component-props/InputDropdown.json +72 -0
  24. package/data/component-props/InputRadio.json +75 -0
  25. package/data/component-props/InputSearch.json +99 -0
  26. package/data/component-props/InputSlider.json +56 -0
  27. package/data/component-props/InputText.json +95 -0
  28. package/data/component-props/InputToggle.json +72 -0
  29. package/data/component-props/List.json +43 -0
  30. package/data/component-props/LoadingIndicator.json +11 -0
  31. package/data/component-props/Menu.json +48 -0
  32. package/data/component-props/MenuItem.json +72 -0
  33. package/data/component-props/MenuSelect.json +83 -0
  34. package/data/component-props/NavigationFooter.json +50 -0
  35. package/data/component-props/NavigationHeader.json +119 -0
  36. package/data/component-props/NavigationJumpTo.json +58 -0
  37. package/data/component-props/Notification.json +89 -0
  38. package/data/component-props/Pagination.json +51 -0
  39. package/data/component-props/Panel.json +72 -0
  40. package/data/component-props/SegmentedControl.json +65 -0
  41. package/data/component-props/Table.json +26 -0
  42. package/data/component-props/TableRow.json +70 -0
  43. package/data/component-props/Tag.json +86 -0
  44. package/data/component-props/TagFilter.json +58 -0
  45. package/data/component-props/Tooltip.json +86 -0
  46. package/data/component-props/TooltipTable.json +22 -0
  47. package/data/component-props-storybook/Accordion-storybook.json +45 -0
  48. package/data/component-props-storybook/Alert-storybook.json +30 -0
  49. package/data/component-props-storybook/Autocomplete-storybook.json +67 -0
  50. package/data/component-props-storybook/Banner-storybook.json +78 -0
  51. package/data/component-props-storybook/Button-storybook.json +115 -0
  52. package/data/component-props-storybook/ButtonDropdown-storybook.json +73 -0
  53. package/data/component-props-storybook/ButtonIcon-storybook.json +60 -0
  54. package/data/component-props-storybook/ButtonToggle-storybook.json +68 -0
  55. package/data/component-props-storybook/Callout-storybook.json +90 -0
  56. package/data/component-props-storybook/CellBasic-storybook.json +138 -0
  57. package/data/component-props-storybook/CellComponent-storybook.json +48 -0
  58. package/data/component-props-storybook/CellHeader-storybook.json +71 -0
  59. package/data/component-props-storybook/Chip-storybook.json +26 -0
  60. package/data/component-props-storybook/ComplexFilter-storybook.json +60 -0
  61. package/data/component-props-storybook/ContentCard-storybook.json +175 -0
  62. package/data/component-props-storybook/Dialog-storybook.json +56 -0
  63. package/data/component-props-storybook/Dropdown-storybook.json +93 -0
  64. package/data/component-props-storybook/DropdownMenu-storybook.json +73 -0
  65. package/data/component-props-storybook/HeatmapChart-storybook.json +55 -0
  66. package/data/component-props-storybook/Icon-storybook.json +75 -0
  67. package/data/component-props-storybook/InputCheckbox-storybook.json +57 -0
  68. package/data/component-props-storybook/InputDropdown-storybook.json +80 -0
  69. package/data/component-props-storybook/InputRadio-storybook.json +56 -0
  70. package/data/component-props-storybook/InputSearch-storybook.json +55 -0
  71. package/data/component-props-storybook/InputSlider-storybook.json +55 -0
  72. package/data/component-props-storybook/InputText-storybook.json +59 -0
  73. package/data/component-props-storybook/InputToggle-storybook.json +42 -0
  74. package/data/component-props-storybook/Link-storybook.json +50 -0
  75. package/data/component-props-storybook/List-storybook.json +26 -0
  76. package/data/component-props-storybook/LoadingIndicator-storybook.json +34 -0
  77. package/data/component-props-storybook/Menu-storybook.json +26 -0
  78. package/data/component-props-storybook/MenuItem-storybook.json +74 -0
  79. package/data/component-props-storybook/MenuSelect-storybook.json +38 -0
  80. package/data/component-props-storybook/NavigationFooter-storybook.json +67 -0
  81. package/data/component-props-storybook/NavigationHeader-storybook.json +115 -0
  82. package/data/component-props-storybook/NavigationJumpTo-storybook.json +41 -0
  83. package/data/component-props-storybook/Notification-storybook.json +89 -0
  84. package/data/component-props-storybook/Pagination-storybook.json +50 -0
  85. package/data/component-props-storybook/Panel-storybook.json +52 -0
  86. package/data/component-props-storybook/SegmentedControl-storybook.json +30 -0
  87. package/data/component-props-storybook/Table-storybook.json +26 -0
  88. package/data/component-props-storybook/TableHeader-storybook.json +26 -0
  89. package/data/component-props-storybook/TableRow-storybook.json +62 -0
  90. package/data/component-props-storybook/Tabs-storybook.json +45 -0
  91. package/data/component-props-storybook/Tag-storybook.json +78 -0
  92. package/data/component-props-storybook/TagFilter-storybook.json +30 -0
  93. package/data/component-props-storybook/Tooltip-storybook.json +85 -0
  94. package/data/component-props-storybook/TooltipCondensed-storybook.json +38 -0
  95. package/data/component-props-storybook/TooltipTable-storybook.json +47 -0
  96. package/data/tailwind.json +3009 -0
  97. package/dist/stdio.js +357 -0
  98. package/package.json +66 -0
@@ -0,0 +1,76 @@
1
+ {
2
+ "InputCheckbox": {
3
+ "props": {
4
+ "caption": {
5
+ "type": "string",
6
+ "isRequired": false
7
+ },
8
+ "checkboxProps": {
9
+ "type": "Partial<CheckboxProps>",
10
+ "isRequired": false
11
+ },
12
+ "intent": {
13
+ "type": "\"default\" | \"negative\" | \"notice\" | \"positive\"",
14
+ "isRequired": false
15
+ },
16
+ "label": {
17
+ "type": "ReactNode",
18
+ "isRequired": false
19
+ },
20
+ "stage": {
21
+ "type": "\"indeterminate\" | \"checked\" | \"unchecked\"",
22
+ "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
+ }
74
+ }
75
+ }
76
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "InputDropdown": {
3
+ "props": {
4
+ "disabled": {
5
+ "type": "\"false\" | \"true\"",
6
+ "isRequired": false
7
+ },
8
+ "intent": {
9
+ "type": "\"default\" | \"negative\" | \"notice\" | \"positive\"",
10
+ "isRequired": false
11
+ },
12
+ "label": {
13
+ "type": "ReactNode",
14
+ "isRequired": true
15
+ },
16
+ "onClick": {
17
+ "type": "function",
18
+ "isRequired": true
19
+ },
20
+ "state": {
21
+ "type": "\"default\" | \"open\"",
22
+ "isRequired": false
23
+ },
24
+ "sdsStyle": {
25
+ "type": "\"minimal\" | \"square\" | \"rounded\"",
26
+ "isRequired": false,
27
+ "description": "The visual style variant of the component"
28
+ },
29
+ "sdsType": {
30
+ "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
+ "isRequired": false
45
+ },
46
+ "value": {
47
+ "type": "ReactNode",
48
+ "isRequired": false
49
+ },
50
+ "shouldTruncateMinimalDetails": {
51
+ "type": "\"false\" | \"true\"",
52
+ "isRequired": false
53
+ },
54
+ "shouldPutAColonAfterLabel": {
55
+ "type": "\"false\" | \"true\"",
56
+ "isRequired": false
57
+ },
58
+ "width": {
59
+ "type": "number",
60
+ "isRequired": false
61
+ },
62
+ "className": {
63
+ "type": "string",
64
+ "isRequired": false
65
+ },
66
+ "style": {
67
+ "type": "CSSProperties",
68
+ "isRequired": false
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,75 @@
1
+ {
2
+ "InputRadio": {
3
+ "props": {
4
+ "caption": {
5
+ "type": "string",
6
+ "isRequired": false
7
+ },
8
+ "intent": {
9
+ "type": "\"default\" | \"negative\" | \"notice\" | \"positive\"",
10
+ "isRequired": false
11
+ },
12
+ "label": {
13
+ "type": "ReactNode",
14
+ "isRequired": false
15
+ },
16
+ "radioProps": {
17
+ "type": "Partial<RadioProps>",
18
+ "isRequired": false
19
+ },
20
+ "stage": {
21
+ "type": "\"checked\" | \"unchecked\"",
22
+ "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
+ }
73
+ }
74
+ }
75
+ }
@@ -0,0 +1,99 @@
1
+ {
2
+ "InputSearch": {
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
+ "disabled": {
24
+ "type": "\"false\" | \"true\"",
25
+ "isRequired": false,
26
+ "description": "If `true`, the component is disabled.",
27
+ "defaultValue": false
28
+ },
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
+ "id": {
52
+ "type": "string",
53
+ "isRequired": false,
54
+ "description": "The id of the `input` element.\nUse this prop to make `label` and `helperText` accessible for screen readers."
55
+ },
56
+ "onChange": {
57
+ "type": "function",
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",
63
+ "isRequired": false
64
+ },
65
+ "name": {
66
+ "type": "string",
67
+ "isRequired": false,
68
+ "description": "Name attribute of the `input` element."
69
+ },
70
+ "placeholder": {
71
+ "type": "string",
72
+ "isRequired": false,
73
+ "description": "The short hint displayed in the `input` before the user enters a value."
74
+ },
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
+ "sdsStyle": {
93
+ "type": "\"rounded\" | \"square\"",
94
+ "isRequired": false,
95
+ "description": "The visual style variant of the component"
96
+ }
97
+ }
98
+ }
99
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "InputSlider": {
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
+ "disabled": {
20
+ "type": "\"false\" | \"true\"",
21
+ "isRequired": false,
22
+ "description": "If `true`, the component is disabled.",
23
+ "defaultValue": false
24
+ },
25
+ "name": {
26
+ "type": "string",
27
+ "isRequired": false,
28
+ "description": "Name attribute of the hidden `input` element."
29
+ },
30
+ "onChange": {
31
+ "type": "(event: Event, value: number | number[], activeThumb: number) => void",
32
+ "isRequired": false,
33
+ "description": "Callback function that is fired when the slider's value changed.\n@param event The event source of the callback.\nYou can pull out the new value by accessing `event.target.value` (any).\n**Warning**: This is a generic event not a change event.\n@param value The new value.\n@param activeThumb Index of the currently moved thumb."
34
+ },
35
+ "size": {
36
+ "type": "\"small\" | \"medium\"",
37
+ "isRequired": false,
38
+ "description": "The size of the slider.",
39
+ "defaultValue": "medium"
40
+ },
41
+ "value": {
42
+ "type": "\"number\" | \"number[]\"",
43
+ "isRequired": false,
44
+ "description": "The value of the slider.\nFor ranged sliders, provide an array with two values."
45
+ },
46
+ "id": {
47
+ "type": "string",
48
+ "isRequired": false
49
+ },
50
+ "onClick": {
51
+ "type": "function",
52
+ "isRequired": false
53
+ }
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,95 @@
1
+ {
2
+ "InputText": {
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
+ "disabled": {
24
+ "type": "\"false\" | \"true\"",
25
+ "isRequired": false,
26
+ "description": "If `true`, the component is disabled.",
27
+ "defaultValue": false
28
+ },
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
+ "id": {
52
+ "type": "string",
53
+ "isRequired": false,
54
+ "description": "The id of the `input` element.\nUse this prop to make `label` and `helperText` accessible for screen readers."
55
+ },
56
+ "onChange": {
57
+ "type": "function",
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",
63
+ "isRequired": false
64
+ },
65
+ "name": {
66
+ "type": "string",
67
+ "isRequired": false,
68
+ "description": "Name attribute of the `input` element."
69
+ },
70
+ "placeholder": {
71
+ "type": "string",
72
+ "isRequired": false,
73
+ "description": "The short hint displayed in the `input` before the user enters a value."
74
+ },
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
+ "sdsType": {
85
+ "type": "\"textField\" | \"textArea\"",
86
+ "isRequired": false,
87
+ "description": "The type/variant of the component"
88
+ },
89
+ "hideLabel": {
90
+ "type": "\"false\" | \"true\"",
91
+ "isRequired": false
92
+ }
93
+ }
94
+ }
95
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "InputToggle": {
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
+ "disabled": {
28
+ "type": "\"false\" | \"true\"",
29
+ "isRequired": false,
30
+ "description": "If `true`, the component is disabled."
31
+ },
32
+ "icon": {
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": {
49
+ "type": "string",
50
+ "isRequired": false
51
+ },
52
+ "style": {
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": {
62
+ "type": "string",
63
+ "isRequired": false,
64
+ "description": "The id of the `input` element."
65
+ },
66
+ "onClick": {
67
+ "type": "function",
68
+ "isRequired": false
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "List": {
3
+ "props": {
4
+ "component": {
5
+ "type": "\"symbol\" | \"object\" | \"style\" | \"ul\" | \"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\" | \"sub\" | \"summary\" | \"sup\" | \"table\" | \"template\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"time\" | \"title\" | \"tr\" | \"track\" | \"u\" | \"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",
6
+ "isRequired": false
7
+ },
8
+ "marginBottom": {
9
+ "type": "\"s\" | \"xxxs\" | \"xxs\" | \"xs\" | \"m\" | \"l\"",
10
+ "isRequired": false
11
+ },
12
+ "ordered": {
13
+ "type": "\"false\" | \"true\"",
14
+ "isRequired": false
15
+ },
16
+ "children": {
17
+ "type": "ReactNode",
18
+ "isRequired": false,
19
+ "description": "The content of the component."
20
+ },
21
+ "className": {
22
+ "type": "string",
23
+ "isRequired": false
24
+ },
25
+ "style": {
26
+ "type": "CSSProperties",
27
+ "isRequired": false
28
+ },
29
+ "id": {
30
+ "type": "string",
31
+ "isRequired": false
32
+ },
33
+ "onChange": {
34
+ "type": "FormEventHandler<HTMLUListElement>",
35
+ "isRequired": false
36
+ },
37
+ "onClick": {
38
+ "type": "function",
39
+ "isRequired": false
40
+ }
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "LoadingIndicator": {
3
+ "props": {
4
+ "sdsStyle": {
5
+ "type": "\"minimal\" | \"tag\"",
6
+ "isRequired": true,
7
+ "description": "The visual style variant of the component"
8
+ }
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "Menu": {
3
+ "props": {
4
+ "children": {
5
+ "type": "ReactNode",
6
+ "isRequired": false,
7
+ "description": "Menu contents, normally `MenuItem`s."
8
+ },
9
+ "onClose": {
10
+ "type": "\"backdropClick\" | \"escapeKeyDown\"",
11
+ "isRequired": false,
12
+ "description": "Callback fired when the component requests to be closed.\n@param event The event source of the callback.\n@param reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`, `\"tabKeyDown\"`."
13
+ },
14
+ "open": {
15
+ "type": "\"false\" | \"true\"",
16
+ "isRequired": true,
17
+ "description": "If `true`, the component is shown."
18
+ },
19
+ "variant": {
20
+ "type": "\"menu\" | \"selectedMenu\"",
21
+ "isRequired": false,
22
+ "description": "The variant to use. Use `menu` to prevent selected items from impacting the initial focus.",
23
+ "defaultValue": "selectedMenu"
24
+ },
25
+ "className": {
26
+ "type": "string",
27
+ "isRequired": false,
28
+ "description": "@ignore"
29
+ },
30
+ "style": {
31
+ "type": "CSSProperties",
32
+ "isRequired": false
33
+ },
34
+ "id": {
35
+ "type": "string",
36
+ "isRequired": false
37
+ },
38
+ "onChange": {
39
+ "type": "FormEventHandler<HTMLDivElement>",
40
+ "isRequired": false
41
+ },
42
+ "onClick": {
43
+ "type": "function",
44
+ "isRequired": false
45
+ }
46
+ }
47
+ }
48
+ }