@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,72 @@
1
+ {
2
+ "MenuItem": {
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
+ "disabled": {
18
+ "type": "\"false\" | \"true\"",
19
+ "isRequired": false,
20
+ "description": "If `true`, the component is disabled.",
21
+ "defaultValue": "false\nfalse"
22
+ },
23
+ "value": {
24
+ "type": "\"string\" | \"number\" | \"readonly string[]\"",
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",
41
+ "isRequired": false
42
+ },
43
+ "isMultiSelect": {
44
+ "type": "\"false\" | \"true\"",
45
+ "isRequired": false
46
+ },
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
+ "sdsIconProps": {
57
+ "type": "IconProps<IconName>",
58
+ "isRequired": false
59
+ },
60
+ "sdsStyle": {
61
+ "type": "\"determinate\" | \"indeterminate\"",
62
+ "isRequired": false,
63
+ "description": "The visual style variant of the component"
64
+ },
65
+ "sdsType": {
66
+ "type": "\"action\" | \"default\"",
67
+ "isRequired": false,
68
+ "description": "The type/variant of the component"
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,83 @@
1
+ {
2
+ "MenuSelect": {
3
+ "props": {
4
+ "onChange": {
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": {
33
+ "type": "\"false\" | \"true\"",
34
+ "isRequired": false,
35
+ "description": "If `true`, the input will take up the full width of its container.",
36
+ "defaultValue": false
37
+ },
38
+ "loading": {
39
+ "type": "\"false\" | \"true\"",
40
+ "isRequired": false,
41
+ "description": "If `true`, the component is in a loading state.\nThis shows the `loadingText` in place of suggestions (only if there are no suggestions to show, for example `options` are empty).",
42
+ "defaultValue": false
43
+ },
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
+ "search": {
78
+ "type": "\"false\" | \"true\"",
79
+ "isRequired": false
80
+ }
81
+ }
82
+ }
83
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "NavigationFooter": {
3
+ "props": {
4
+ "hasInvertedStyle": {
5
+ "type": "\"false\" | \"true\"",
6
+ "isRequired": false
7
+ },
8
+ "images": {
9
+ "type": "FooterImage[]",
10
+ "isRequired": false
11
+ },
12
+ "logo": {
13
+ "type": "ReactNode",
14
+ "isRequired": false
15
+ },
16
+ "logoUrl": {
17
+ "type": "string",
18
+ "isRequired": false
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
+ "navItems": {
29
+ "type": "NavigationFooterNavItem[]",
30
+ "isRequired": false
31
+ },
32
+ "navLinks": {
33
+ "type": "NavigationFooterNavItem[]",
34
+ "isRequired": false
35
+ },
36
+ "tag": {
37
+ "type": "string",
38
+ "isRequired": false
39
+ },
40
+ "tagColor": {
41
+ "type": "\"info\" | \"positive\" | \"notice\" | \"negative\" | \"neutral\" | \"beta\" | \"[string, string]\" | \"[string, string, string]\"",
42
+ "isRequired": false
43
+ },
44
+ "title": {
45
+ "type": "string",
46
+ "isRequired": true
47
+ }
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,119 @@
1
+ {
2
+ "NavigationHeader": {
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
+ "buttons": {
50
+ "type": "ReactNode",
51
+ "isRequired": false
52
+ },
53
+ "hasInvertedStyle": {
54
+ "type": "\"false\" | \"true\"",
55
+ "isRequired": false
56
+ },
57
+ "logo": {
58
+ "type": "ReactNode",
59
+ "isRequired": false
60
+ },
61
+ "logoUrl": {
62
+ "type": "string",
63
+ "isRequired": false
64
+ },
65
+ "logoLinkComponent": {
66
+ "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
+ "isRequired": false
68
+ },
69
+ "logoLinkProps": {
70
+ "type": "LinkProps",
71
+ "isRequired": false
72
+ },
73
+ "scrollElevation": {
74
+ "type": "\"false\" | \"true\"",
75
+ "isRequired": false
76
+ },
77
+ "primaryNavItems": {
78
+ "type": "NavigationHeaderPrimaryNavItem<string>[]",
79
+ "isRequired": false
80
+ },
81
+ "primaryNavPosition": {
82
+ "type": "\"left\" | \"right\"",
83
+ "isRequired": false
84
+ },
85
+ "searchProps": {
86
+ "type": "\"Partial<FilledTextFieldProps & AccessibleInputSearchProps & InputSearchExtraProps>\" | \"Partial<OutlinedTextFieldProps & AccessibleInputSearchProps & InputSearchExtraProps>\" | \"Partial<StandardTextFieldProps & AccessibleInputSearchProps & InputSearchExtraProps>\"",
87
+ "isRequired": false
88
+ },
89
+ "secondaryNavItems": {
90
+ "type": "NavigationHeaderSecondaryNavItem[]",
91
+ "isRequired": false
92
+ },
93
+ "setActivePrimaryNavKey": {
94
+ "type": "(key: string) => void",
95
+ "isRequired": false
96
+ },
97
+ "showSearch": {
98
+ "type": "\"false\" | \"true\"",
99
+ "isRequired": false
100
+ },
101
+ "tag": {
102
+ "type": "string",
103
+ "isRequired": false
104
+ },
105
+ "tagColor": {
106
+ "type": "\"info\" | \"positive\" | \"notice\" | \"negative\" | \"neutral\" | \"beta\" | \"[string, string]\" | \"[string, string, string]\"",
107
+ "isRequired": false
108
+ },
109
+ "drawerOpen": {
110
+ "type": "\"false\" | \"true\"",
111
+ "isRequired": false
112
+ },
113
+ "setDrawerOpen": {
114
+ "type": "(open: boolean) => void",
115
+ "isRequired": false
116
+ }
117
+ }
118
+ }
119
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "NavigationJumpTo": {
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
+ "items": {
41
+ "type": "Item[]",
42
+ "isRequired": true
43
+ },
44
+ "offsetTop": {
45
+ "type": "number",
46
+ "isRequired": false
47
+ },
48
+ "width": {
49
+ "type": "\"string\" | \"number\" | \"string & {}\"",
50
+ "isRequired": false
51
+ },
52
+ "isSubItem": {
53
+ "type": "\"false\" | \"true\"",
54
+ "isRequired": false
55
+ }
56
+ }
57
+ }
58
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "Notification": {
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
+ "autoDismiss": {
51
+ "type": "\"number\" | \"false\" | \"true\"",
52
+ "isRequired": false
53
+ },
54
+ "buttonOnClick": {
55
+ "type": "(event: SyntheticEvent<Element, Event>) => void",
56
+ "isRequired": false
57
+ },
58
+ "buttonText": {
59
+ "type": "string",
60
+ "isRequired": false
61
+ },
62
+ "buttonPosition": {
63
+ "type": "\"left\" | \"right\"",
64
+ "isRequired": false
65
+ },
66
+ "dismissed": {
67
+ "type": "\"false\" | \"true\"",
68
+ "isRequired": false
69
+ },
70
+ "slideDirection": {
71
+ "type": "\"left\" | \"right\"",
72
+ "isRequired": false,
73
+ "defaultValue": "left"
74
+ },
75
+ "extraContent": {
76
+ "type": "\"false\" | \"true\"",
77
+ "isRequired": false
78
+ },
79
+ "intent": {
80
+ "type": "\"info\" | \"negative\" | \"positive\" | \"notice\"",
81
+ "isRequired": true
82
+ },
83
+ "sdsIconProps": {
84
+ "type": "IconProps<string | number | symbol>",
85
+ "isRequired": false
86
+ }
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "Pagination": {
3
+ "props": {
4
+ "sdsStyle": {
5
+ "type": "\"round\" | \"square\"",
6
+ "isRequired": false,
7
+ "description": "The visual style variant of the component"
8
+ },
9
+ "disabled": {
10
+ "type": "\"false\" | \"true\"",
11
+ "isRequired": false
12
+ },
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
+ "siblingCount": {
38
+ "type": "number",
39
+ "isRequired": false
40
+ },
41
+ "currentPage": {
42
+ "type": "number",
43
+ "isRequired": true
44
+ },
45
+ "pageSize": {
46
+ "type": "number",
47
+ "isRequired": true
48
+ }
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "Panel": {
3
+ "props": {
4
+ "children": {
5
+ "type": "ReactNode",
6
+ "isRequired": false,
7
+ "description": "The content of the component."
8
+ },
9
+ "className": {
10
+ "type": "string",
11
+ "isRequired": false,
12
+ "description": "@ignore"
13
+ },
14
+ "onClose": {
15
+ "type": "\"backdropClick\" | \"escapeKeyDown\"",
16
+ "isRequired": false,
17
+ "description": "Callback fired when the component requests to be closed.\nThe `reason` parameter can optionally be used to control the response to `onClose`.\n@param event The event source of the callback.\n@param reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`."
18
+ },
19
+ "open": {
20
+ "type": "\"false\" | \"true\"",
21
+ "isRequired": false,
22
+ "description": "If `true`, the component is shown.",
23
+ "defaultValue": 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<HTMLDivElement>",
35
+ "isRequired": false
36
+ },
37
+ "onClick": {
38
+ "type": "function",
39
+ "isRequired": false
40
+ },
41
+ "sdsType": {
42
+ "type": "\"overlay\" | \"basic\"",
43
+ "isRequired": true,
44
+ "description": "The type/variant of the component"
45
+ },
46
+ "position": {
47
+ "type": "\"bottom\" | \"left\" | \"right\"",
48
+ "isRequired": false
49
+ },
50
+ "width": {
51
+ "type": "\"string\" | \"number\"",
52
+ "isRequired": false
53
+ },
54
+ "isBackdropClickEnabled": {
55
+ "type": "\"false\" | \"true\"",
56
+ "isRequired": false
57
+ },
58
+ "HeaderComponent": {
59
+ "type": "ReactNode",
60
+ "isRequired": false
61
+ },
62
+ "closeButtonOnClick": {
63
+ "type": "function",
64
+ "isRequired": false
65
+ },
66
+ "CloseButtonComponent": {
67
+ "type": "ReactNode",
68
+ "isRequired": false
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "SegmentedControl": {
3
+ "props": {
4
+ "buttonDefinition": {
5
+ "type": "SingleButtonDefinition[]",
6
+ "isRequired": true
7
+ },
8
+ "children": {
9
+ "type": "ReactNode",
10
+ "isRequired": false,
11
+ "description": "The content of the component."
12
+ },
13
+ "color": {
14
+ "type": "\"standard\" | \"primary\" | \"secondary\" | \"error\" | \"info\" | \"success\" | \"warning\"",
15
+ "isRequired": false,
16
+ "description": "The color of the button when it is selected.\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": "standard"
18
+ },
19
+ "disabled": {
20
+ "type": "\"false\" | \"true\"",
21
+ "isRequired": false,
22
+ "description": "If `true`, the component is disabled. This implies that all ToggleButton children will be disabled.",
23
+ "defaultValue": false
24
+ },
25
+ "fullWidth": {
26
+ "type": "\"false\" | \"true\"",
27
+ "isRequired": false,
28
+ "description": "If `true`, the button group will take up the full width of its container.",
29
+ "defaultValue": false
30
+ },
31
+ "onChange": {
32
+ "type": "function",
33
+ "isRequired": false,
34
+ "description": "Callback fired when the value changes.\n@param event The event source of the callback.\n@param value of the selected buttons. When `exclusive` is true\nthis is a single value; when false an array of selected values. If no value\nis selected and `exclusive` is true the value is null; when false an empty array."
35
+ },
36
+ "size": {
37
+ "type": "\"small\" | \"medium\" | \"large\"",
38
+ "isRequired": false,
39
+ "description": "The size of the component.",
40
+ "defaultValue": "medium"
41
+ },
42
+ "value": {
43
+ "type": "any",
44
+ "isRequired": false,
45
+ "description": "The currently selected value within the group or an array of selected\nvalues when `exclusive` is false.\n\nThe value must have reference equality with the option in order to be selected."
46
+ },
47
+ "className": {
48
+ "type": "string",
49
+ "isRequired": false
50
+ },
51
+ "id": {
52
+ "type": "string",
53
+ "isRequired": false
54
+ },
55
+ "style": {
56
+ "type": "CSSProperties",
57
+ "isRequired": false
58
+ },
59
+ "onClick": {
60
+ "type": "function",
61
+ "isRequired": false
62
+ }
63
+ }
64
+ }
65
+ }