@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.
Files changed (150) hide show
  1. package/data/component-props/Accordion.json +14 -15
  2. package/data/component-props/Alert.json +2 -44
  3. package/data/component-props/Autocomplete.json +14 -32
  4. package/data/component-props/Banner.json +11 -12
  5. package/data/component-props/Button.json +17 -82
  6. package/data/component-props/ButtonDropdown.json +26 -0
  7. package/data/component-props/ButtonIcon.json +4 -60
  8. package/data/component-props/ButtonToggle.json +2 -66
  9. package/data/component-props/Callout.json +11 -65
  10. package/data/component-props/CellBasic.json +28 -56
  11. package/data/component-props/CellComponent.json +4 -32
  12. package/data/component-props/CellHeader.json +13 -49
  13. package/data/component-props/ComplexFilter.json +24 -4
  14. package/data/component-props/ContentCard.json +66 -2
  15. package/data/component-props/Dialog.json +26 -0
  16. package/data/component-props/Dropdown.json +29 -67
  17. package/data/component-props/DropdownMenu.json +16 -56
  18. package/data/component-props/HeatmapChart.json +6 -87
  19. package/data/component-props/Icon.json +3 -8
  20. package/data/component-props/InputCheckbox.json +5 -53
  21. package/data/component-props/InputDropdown.json +11 -33
  22. package/data/component-props/InputRadio.json +5 -53
  23. package/data/component-props/InputSearch.json +6 -70
  24. package/data/component-props/InputSlider.json +21 -35
  25. package/data/component-props/InputText.json +7 -63
  26. package/data/component-props/InputToggle.json +5 -54
  27. package/data/component-props/Link.json +18 -0
  28. package/data/component-props/LoadingIndicator.json +1 -2
  29. package/data/component-props/MenuItem.json +11 -41
  30. package/data/component-props/MenuSelect.json +4 -67
  31. package/data/component-props/NavigationFooter.json +0 -8
  32. package/data/component-props/NavigationHeader.json +14 -65
  33. package/data/component-props/NavigationJumpTo.json +0 -40
  34. package/data/component-props/Notification.json +14 -58
  35. package/data/component-props/Pagination.json +8 -33
  36. package/data/component-props/Panel.json +4 -54
  37. package/data/component-props/SegmentedControl.json +0 -55
  38. package/data/component-props/TableRow.json +10 -38
  39. package/data/component-props/Tabs.json +18 -0
  40. package/data/component-props/Tag.json +10 -56
  41. package/data/component-props/TagFilter.json +0 -47
  42. package/data/component-props/Tooltip.json +12 -61
  43. package/data/component-props/TooltipCondensed.json +18 -0
  44. package/data/component-props/TooltipTable.json +0 -4
  45. package/data/resources/figma-rules.md +101 -0
  46. package/data/resources/sds-component-rules.md +189 -0
  47. package/data/resources/zeroheight-rules.md +180 -0
  48. package/data/zeroheight-cache.json +1 -1
  49. package/data/zeroheight-exports/Accordion.md +167 -125
  50. package/data/zeroheight-exports/Banner.md +71 -48
  51. package/data/zeroheight-exports/Borders.md +72 -73
  52. package/data/zeroheight-exports/Buttons.md +375 -330
  53. package/data/zeroheight-exports/Callout.md +138 -116
  54. package/data/zeroheight-exports/Colors.md +254 -255
  55. package/data/zeroheight-exports/Content-Card.md +36 -37
  56. package/data/zeroheight-exports/Contributing-to-SDS.md +34 -35
  57. package/data/zeroheight-exports/Control-Inputs.md +289 -234
  58. package/data/zeroheight-exports/Corners.md +63 -64
  59. package/data/zeroheight-exports/Cover-page.md +0 -1
  60. package/data/zeroheight-exports/Dialog.md +237 -179
  61. package/data/zeroheight-exports/Downloads.md +10 -11
  62. package/data/zeroheight-exports/Drop-Shadows.md +40 -41
  63. package/data/zeroheight-exports/Dropdown-Input.md +158 -127
  64. package/data/zeroheight-exports/Dropdown-Menu.md +814 -718
  65. package/data/zeroheight-exports/Element-Status-Tracker.md +191 -192
  66. package/data/zeroheight-exports/Field-Inputs.md +149 -130
  67. package/data/zeroheight-exports/Filters.md +114 -94
  68. package/data/zeroheight-exports/Getting-Started.md +112 -249
  69. package/data/zeroheight-exports/Hero.md +43 -37
  70. package/data/zeroheight-exports/Icons.md +205 -206
  71. package/data/zeroheight-exports/Intent.md +6 -7
  72. package/data/zeroheight-exports/Introduction-to-Bases.md +8 -9
  73. package/data/zeroheight-exports/Introduction-to-Cells.md +11 -12
  74. package/data/zeroheight-exports/Introduction-to-DNA.md +8 -9
  75. package/data/zeroheight-exports/Introduction-to-Genes.md +8 -9
  76. package/data/zeroheight-exports/Introduction.md +52 -53
  77. package/data/zeroheight-exports/Link.md +50 -37
  78. package/data/zeroheight-exports/Lists.md +78 -63
  79. package/data/zeroheight-exports/Loading-Indicator.md +7 -8
  80. package/data/zeroheight-exports/Navigation.md +163 -142
  81. package/data/zeroheight-exports/Notification.md +132 -102
  82. package/data/zeroheight-exports/Panel.md +231 -115
  83. package/data/zeroheight-exports/README.md +1 -1
  84. package/data/zeroheight-exports/Responsive-Design.md +35 -32
  85. package/data/zeroheight-exports/Search-Input.md +9 -10
  86. package/data/zeroheight-exports/Search.md +87 -104
  87. package/data/zeroheight-exports/Segmented-Control.md +68 -45
  88. package/data/zeroheight-exports/Spacing.md +210 -211
  89. package/data/zeroheight-exports/Table.md +414 -302
  90. package/data/zeroheight-exports/Tabs.md +126 -98
  91. package/data/zeroheight-exports/Tags.md +148 -118
  92. package/data/zeroheight-exports/Text-Link.md +32 -33
  93. package/data/zeroheight-exports/Theming.md +48 -29
  94. package/data/zeroheight-exports/Tooltips.md +253 -237
  95. package/data/zeroheight-exports/Typography.md +463 -464
  96. package/dist/stdio.js +136 -135
  97. package/package.json +3 -4
  98. package/data/component-props/Chip.json +0 -73
  99. package/data/component-props/List.json +0 -43
  100. package/data/component-props/Menu.json +0 -48
  101. package/data/component-props/Table.json +0 -26
  102. package/data/component-props-storybook/Accordion-storybook.json +0 -45
  103. package/data/component-props-storybook/Alert-storybook.json +0 -30
  104. package/data/component-props-storybook/Autocomplete-storybook.json +0 -67
  105. package/data/component-props-storybook/Banner-storybook.json +0 -78
  106. package/data/component-props-storybook/Button-storybook.json +0 -115
  107. package/data/component-props-storybook/ButtonDropdown-storybook.json +0 -73
  108. package/data/component-props-storybook/ButtonIcon-storybook.json +0 -60
  109. package/data/component-props-storybook/ButtonToggle-storybook.json +0 -68
  110. package/data/component-props-storybook/Callout-storybook.json +0 -90
  111. package/data/component-props-storybook/CellBasic-storybook.json +0 -138
  112. package/data/component-props-storybook/CellComponent-storybook.json +0 -48
  113. package/data/component-props-storybook/CellHeader-storybook.json +0 -71
  114. package/data/component-props-storybook/Chip-storybook.json +0 -26
  115. package/data/component-props-storybook/ComplexFilter-storybook.json +0 -60
  116. package/data/component-props-storybook/ContentCard-storybook.json +0 -175
  117. package/data/component-props-storybook/Dialog-storybook.json +0 -56
  118. package/data/component-props-storybook/Dropdown-storybook.json +0 -93
  119. package/data/component-props-storybook/DropdownMenu-storybook.json +0 -73
  120. package/data/component-props-storybook/HeatmapChart-storybook.json +0 -55
  121. package/data/component-props-storybook/Icon-storybook.json +0 -75
  122. package/data/component-props-storybook/InputCheckbox-storybook.json +0 -57
  123. package/data/component-props-storybook/InputDropdown-storybook.json +0 -80
  124. package/data/component-props-storybook/InputRadio-storybook.json +0 -56
  125. package/data/component-props-storybook/InputSearch-storybook.json +0 -55
  126. package/data/component-props-storybook/InputSlider-storybook.json +0 -55
  127. package/data/component-props-storybook/InputText-storybook.json +0 -59
  128. package/data/component-props-storybook/InputToggle-storybook.json +0 -42
  129. package/data/component-props-storybook/Link-storybook.json +0 -50
  130. package/data/component-props-storybook/List-storybook.json +0 -26
  131. package/data/component-props-storybook/LoadingIndicator-storybook.json +0 -34
  132. package/data/component-props-storybook/Menu-storybook.json +0 -26
  133. package/data/component-props-storybook/MenuItem-storybook.json +0 -74
  134. package/data/component-props-storybook/MenuSelect-storybook.json +0 -38
  135. package/data/component-props-storybook/NavigationFooter-storybook.json +0 -67
  136. package/data/component-props-storybook/NavigationHeader-storybook.json +0 -115
  137. package/data/component-props-storybook/NavigationJumpTo-storybook.json +0 -41
  138. package/data/component-props-storybook/Notification-storybook.json +0 -89
  139. package/data/component-props-storybook/Pagination-storybook.json +0 -50
  140. package/data/component-props-storybook/Panel-storybook.json +0 -52
  141. package/data/component-props-storybook/SegmentedControl-storybook.json +0 -30
  142. package/data/component-props-storybook/Table-storybook.json +0 -26
  143. package/data/component-props-storybook/TableHeader-storybook.json +0 -26
  144. package/data/component-props-storybook/TableRow-storybook.json +0 -62
  145. package/data/component-props-storybook/Tabs-storybook.json +0 -45
  146. package/data/component-props-storybook/Tag-storybook.json +0 -78
  147. package/data/component-props-storybook/TagFilter-storybook.json +0 -30
  148. package/data/component-props-storybook/Tooltip-storybook.json +0 -85
  149. package/data/component-props-storybook/TooltipCondensed-storybook.json +0 -38
  150. package/data/component-props-storybook/TooltipTable-storybook.json +0 -47
@@ -1,6 +1,6 @@
1
1
  # Exported Zeroheight Pages
2
2
 
3
- Generated on: 2025-08-20T17:39:49.546Z
3
+ Generated on: 2025-08-21T19:18:43.696Z
4
4
  Styleguide ID: 66099
5
5
  Total files exported: 56
6
6
  Total pages combined: 164
@@ -20,36 +20,36 @@ Insight into these use cases has resulted in SDS implementing three distinct bre
20
20
 
21
21
  #### Small
22
22
 
23
- *Screens <512px wide*
23
+ _Screens <512px wide_
24
24
 
25
25
  Small breakpoint will be used when applications are viewed on mobile devices and small-screened tablets. At this breakpoint only the main content should be displayed as there is not enough screen real estate to fit non-primary elements.
26
26
 
27
27
  Header Navigation has been designed to collapse into a hamburger menu on narrow screens. Other navigation elements like Panels, Jump-to-Navigation, as well as supplemental pieces of UI will likely need to be accessed via alternative methods. This could mean tucking them away within a Dropdown Menu or an Accordion, adding them as additional menu items within the hamburger menu, or hiding them altogether. For this reason, designers should take special care to consider how these non-primary elements will be used on narrow screens.
28
28
 
29
- | CSS | SCSS | Tailwind |
30
- | --- | --- | --- |
29
+ | CSS | SCSS | Tailwind |
30
+ | --------------------- | -------------------- | -------------------- |
31
31
  | `--sds-breakpoint-sm` | `$sds-breakpoint-sm` | `breakpoints.sds-sm` |
32
32
 
33
33
  #### Medium
34
34
 
35
- *Screens between 512px-1023px wide*
35
+ _Screens between 512px-1023px wide_
36
36
 
37
37
  Medium breakpoint will be used when applications are viewed on small laptops and large-screened tablets. At this breakpoint there is enough space to show both main content as well as a few non-primary elements, though likely not all.
38
38
 
39
39
  Depending on the number of nav items in the Header Navigation it will either collapse into a hamburger menu or remain fully visible. This breakpoint gives designers control over which UI elements are displayed and which need to be accessed via alternative methods, offering more flexibility around how users interact with the application. Designing for this breakpoint still requires specific consideration to determine which non-primary elements remain visible vs which must be accessed elsewhere in the UI.
40
40
 
41
- | CSS | SCSS | Tailwind |
42
- | --- | --- | --- |
41
+ | CSS | SCSS | Tailwind |
42
+ | --------------------- | -------------------- | -------------------- |
43
43
  | `--sds-breakpoint-md` | `$sds-breakpoint-md` | `breakpoints.sds-md` |
44
44
 
45
45
  #### Large
46
46
 
47
- *Screens >1024px wide*
47
+ _Screens >1024px wide_
48
48
 
49
49
  Large breakpoint will be used when applications are viewed on large laptops, desktop monitors, and other large displays. At this breakpoint there is enough space to show all content as intended. Considerations should be made for viewing on ultra-wide displays, such as implementing a max-width on pages to ensure UI elements are not stretched out of proportion.
50
50
 
51
- | CSS | SCSS | Tailwind |
52
- | --- | --- | --- |
51
+ | CSS | SCSS | Tailwind |
52
+ | --------------------- | -------------------- | -------------------- |
53
53
  | `--sds-breakpoint-lg` | `$sds-breakpoint-lg` | `breakpoints.sds-lg` |
54
54
 
55
55
  ### Typography
@@ -61,19 +61,19 @@ Each typography variable from one set has a corresponding variable in the other,
61
61
  Below are a few visual examples of the differences. See the Typography section for a detailed breakdown of the typography variables for each set.
62
62
 
63
63
  | Header XXL – wide | Header XXL – narrow |
64
- | :--- | :--- |
64
+ | :---------------- | :------------------ |
65
65
 
66
66
  | Body L – wide | Body L – narrow |
67
- | :--- | :--- |
67
+ | :------------ | :-------------- |
68
68
 
69
69
  | Caps XXS – wide | Caps XXS – narrow |
70
- | :--- | :--- |
70
+ | :-------------- | :---------------- |
71
71
 
72
72
  | Tabular S – wide | Tabular S – narrow |
73
- | :--- | :--- |
73
+ | :--------------- | :----------------- |
74
74
 
75
75
  | Code S – wide | Code S – narrow |
76
- | :--- | :--- |
76
+ | :------------ | :-------------- |
77
77
 
78
78
  ## Code
79
79
 
@@ -99,7 +99,7 @@ For more information on breakpoints, please refer to the MUI documentation.
99
99
 
100
100
  This example demonstrates how to access SCS breakpoints to adjust component styling dynamically based on different screen sizes.
101
101
 
102
- >**Note:** Use the resize handle to the right of the preview section below to adjust the container width. The background color will change dynamically based on the window width and the styles assigned to each breakpoint.
102
+ > **Note:** Use the resize handle to the right of the preview section below to adjust the container width. The background color will change dynamically based on the window width and the styles assigned to each breakpoint.
103
103
 
104
104
  **/styles.css**
105
105
 
@@ -126,13 +126,11 @@ h1 {
126
126
 
127
127
  ```json
128
128
  {
129
- "include": [
130
- "./**/*"
131
- ],
129
+ "include": ["./**/*"],
132
130
  "compilerOptions": {
133
131
  "strict": true,
134
132
  "esModuleInterop": true,
135
- "lib": [ "dom", "es2015" ],
133
+ "lib": ["dom", "es2015"],
136
134
  "jsx": "react-jsx"
137
135
  }
138
136
  }
@@ -180,19 +178,15 @@ function App() {
180
178
 
181
179
  useLayoutEffect(() => {
182
180
  handleWidth();
183
-
181
+
184
182
  window.addEventListener("resize", () => handleWidth());
185
183
 
186
- return ()=> {
184
+ return () => {
187
185
  window.removeEventListener("resize", () => handleWidth());
188
186
  };
189
187
  }, []);
190
-
191
- return (
192
- <StyledDiv>
193
- Current width is: {width}
194
- </StyledDiv>
195
- );
188
+
189
+ return <StyledDiv>Current width is: {width}</StyledDiv>;
196
190
  }
197
191
 
198
192
  export default App;
@@ -235,13 +229,12 @@ root.render(
235
229
  <RootApp />
236
230
  </React.StrictMode>
237
231
  );
238
-
239
232
  ```
240
233
 
241
234
  **/public/index.html**
242
235
 
243
236
  ```html
244
- <!DOCTYPE html>
237
+ <!doctype html>
245
238
  <html lang="en">
246
239
  <head>
247
240
  <meta charset="UTF-8" />
@@ -262,14 +255,24 @@ root.render(
262
255
  <div id="root"></div>
263
256
  </body>
264
257
  </html>
265
-
266
258
  ```
267
259
 
268
260
  **/package.json**
269
261
 
270
262
  ```json
271
- {"dependencies":{"react":"^18.0.0","react-dom":"^18.0.0","react-scripts":"^4.0.0"},"devDependencies":{"@types/react":"^18.0.0","@types/react-dom":"^18.0.0","typescript":"^4.0.0"},"main":"/index.tsx"}
263
+ {
264
+ "dependencies": {
265
+ "react": "^18.0.0",
266
+ "react-dom": "^18.0.0",
267
+ "react-scripts": "^4.0.0"
268
+ },
269
+ "devDependencies": {
270
+ "@types/react": "^18.0.0",
271
+ "@types/react-dom": "^18.0.0",
272
+ "typescript": "^4.0.0"
273
+ },
274
+ "main": "/index.tsx"
275
+ }
272
276
  ```
273
277
 
274
278
  ---
275
-
@@ -4,8 +4,8 @@ Search Inputs are elements that allow users to type within them and perform a se
4
4
 
5
5
  ## Overview
6
6
 
7
- | | In Figma | | | Meets Accessibility | | | In napari hub + .org Codebases |
8
- | --- | --- | --- | --- | --- | --- | --- | --- |
7
+ | | In Figma | | | Meets Accessibility | | | In napari hub + .org Codebases |
8
+ | --- | -------- | --- | --- | ------------------- | --- | --- | ------------------------------ |
9
9
 
10
10
  ### Large Search Input
11
11
 
@@ -14,9 +14,9 @@ Used in napari hub for top-level searches across the entire plugin database.
14
14
  Click on each state below to enter inspect view and get details on its code attributes and any global styles it uses.
15
15
 
16
16
  | **Default** | **Hover** | **Default** | **Focus** | **Disabled** |
17
- | --- | --- | --- | --- | --- |
17
+ | ----------- | --------- | ----------- | --------- | ------------ |
18
+
18
19
 
19
-  
20
20
 
21
21
  ### Small Search Input
22
22
 
@@ -25,7 +25,7 @@ Used in napari hub for searching within plugin Filter Dropdown Menus when there
25
25
  Used in napari.org for searches within a given page.
26
26
 
27
27
  | **Default** | **Hover** | **Default** | **Focus** | **Disabled** |
28
- | --- | --- | --- | --- | --- |
28
+ | ----------- | --------- | ----------- | --------- | ------------ |
29
29
 
30
30
  ---
31
31
 
@@ -33,22 +33,21 @@ Used in napari.org for searches within a given page.
33
33
 
34
34
  These rules establish how much margin should exist between and around elements.
35
35
 
36
-  
36
+
37
37
 
38
38
  ## Code
39
39
 
40
40
  ## Field Input Components
41
41
 
42
- | Below you will find an interactive Storybook iframe for Field Inputs. Tabs within each iframe provide a different set of tools: The Controls tab allows you to see and adjust all available props. The Actions tab shows you data displayed by event handler arguments. | | **Jump to component:** InputSearch |
43
- | --- | --- | --- |
42
+ | Below you will find an interactive Storybook iframe for Field Inputs. Tabs within each iframe provide a different set of tools: The Controls tab allows you to see and adjust all available props. The Actions tab shows you data displayed by event handler arguments. | | **Jump to component:** InputSearch |
43
+ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ---------------------------------- |
44
44
 
45
45
  ---
46
46
 
47
- >This component appears as it is in the default SDS codebase. Once imported into the napari hub or napari.org codebases, use a theme file to enable the napari visual appearance customization.
47
+ > This component appears as it is in the default SDS codebase. Once imported into the napari hub or napari.org codebases, use a theme file to enable the napari visual appearance customization.
48
48
 
49
49
  ### InputSearch
50
50
 
51
51
  Storybook
52
52
 
53
-  
54
53