@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
@@ -4,14 +4,14 @@ To help control the amount of information presented to the user, Accordions are
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
  Accordions are elements that can be used by designers to hide or reveal content. Use the header text to communicate what type of content the user can expect to see when the Accordion is expanded.
11
11
 
12
12
  Click on each state below to enter inspect view and get details on its code attributes and any global styles it uses.
13
13
 
14
-  
14
+
15
15
 
16
16
  ---
17
17
 
@@ -25,12 +25,12 @@ These rules establish how much margin should exist between and around elements.
25
25
 
26
26
  ## Accordion Component
27
27
 
28
- | Below you will find an interactive Storybook iframe for Accordions. 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:** Accordion |
29
- | --- | --- | --- |
28
+ | Below you will find an interactive Storybook iframe for Accordions. 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:** Accordion |
29
+ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | -------------------------------- |
30
30
 
31
31
  ---
32
32
 
33
- >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.
33
+ > 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.
34
34
 
35
35
  ### Accordion
36
36
 
@@ -42,8 +42,8 @@ To help control the amount of information presented to the user, Accordions are
42
42
 
43
43
  ## Overview
44
44
 
45
- | | In Figma | | | Meets Accessibility | | | In CZ ID Codebase |
46
- | --- | --- | --- | --- | --- | --- | --- | --- |
45
+ | | In Figma | | | Meets Accessibility | | | In CZ ID Codebase |
46
+ | --- | -------- | --- | --- | ------------------- | --- | --- | ----------------- |
47
47
 
48
48
  Accordions are elements that can be used by designers to hide or reveal content. Use the header text to communicate what type of content the user can expect to see when the Accordion is expanded. They can optionally include a bottom-positioned divider line to help visually separate an Accordion from the one below it.
49
49
 
@@ -65,8 +65,8 @@ These rules establish how much margin should exist between and around elements.
65
65
 
66
66
  ## Accordion Component
67
67
 
68
- | Below you will find an interactive Storybook iframe for Accordions. 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:** Accordion |
69
- | --- | --- | --- |
68
+ | Below you will find an interactive Storybook iframe for Accordions. 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:** Accordion |
69
+ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | -------------------------------- |
70
70
 
71
71
  ---
72
72
 
@@ -74,7 +74,7 @@ These rules establish how much margin should exist between and around elements.
74
74
 
75
75
  Storybook
76
76
 
77
-  
77
+
78
78
 
79
79
  ---
80
80
 
@@ -84,8 +84,8 @@ Accordions are expandable/collapsable elements that hide and reveal content to h
84
84
 
85
85
  ## Overview
86
86
 
87
- | | In Figma | | | Meets Accessibility | | | In Code |
88
- | --- | --- | --- | --- | --- | --- | --- | --- |
87
+ | | In Figma | | | Meets Accessibility | | | In Code |
88
+ | --- | -------- | --- | --- | ------------------- | --- | --- | ------- |
89
89
 
90
90
  ### Accordion Variants
91
91
 
@@ -107,8 +107,8 @@ Default
107
107
 
108
108
  Left-aligned toggles works well when the Accordion's container is wide, because a right-aligned toggle would be far from the header text and it is less obvious that the two elements are related.
109
109
 
110
- | Default | Default + Divider | Default + Subtitle | Expanded |
111
- | --- | --- | --- | --- |
110
+ | Default | Default + Divider | Default + Subtitle | Expanded |
111
+ | ------- | ----------------- | ------------------ | -------- |
112
112
 
113
113
  ---
114
114
 
@@ -117,7 +117,7 @@ Left-aligned toggles works well when the Accordion's container is wide, because
117
117
  Use when there's a preference for the Accordion toggle to appear to the right of its header text. The toggle icon right aligns to the right edge of the Accordion's container.
118
118
 
119
119
  | Default | Default + Divider | Default + Subtitle | Expanded |
120
- | --- | --- | --- | --- |
120
+ | ------- | ----------------- | ------------------ | -------- |
121
121
 
122
122
  ---
123
123
 
@@ -127,7 +127,7 @@ These rules establish how much margin should exist between and around elements.
127
127
 
128
128
  ## Code
129
129
 
130
- >**Note:** The code examples below must install dependencies before displaying and may take extra time to load
130
+ > **Note:** The code examples below must install dependencies before displaying and may take extra time to load
131
131
 
132
132
  ## Accordion
133
133
 
@@ -139,14 +139,14 @@ The component's source code in the SDS codebase can be found here.
139
139
 
140
140
  The SDS `Accordion` component introduces a couple new props that aren't part of the MUI version, that make it easier to implement options that may be needed in CZI products:
141
141
 
142
- * **`useDivider`****:** this boolean prop adds a horizontal line below the accordion, which can help to visually separate it from other accordions if they are stacked
143
- * **`togglePosition`****:** takes `right` (default) or `left` as values, and specifies where the baked-in Chevron icon that acts as a visual toggle sits
142
+ - **`useDivider`\*\***:\*\* this boolean prop adds a horizontal line below the accordion, which can help to visually separate it from other accordions if they are stacked
143
+ - **`togglePosition`\*\***:\*\* takes `right` (default) or `left` as values, and specifies where the baked-in Chevron icon that acts as a visual toggle sits
144
144
 
145
- Additionally, there are a couple of MUI props that are not currently supported by the SDS `Accordion` component:
145
+ Additionally, there are a couple of MUI props that are not currently supported by the SDS `Accordion` component:
146
146
 
147
- * **`defaultExpanded`****:** this boolean prop has no effect when used
148
- * **`expanded`****:** this boolean prop is not recommended to be used with the SDS `Accordion` component, because it forces the accordion to remain open even when the user clicks it as though to close it
149
- * **`disableGutters`****:** this boolean prop is not needed with the SDS accordion design, and has no effect
147
+ - **`defaultExpanded`\*\***:\*\* this boolean prop has no effect when used
148
+ - **`expanded`\*\***:\*\* this boolean prop is not recommended to be used with the SDS `Accordion` component, because it forces the accordion to remain open even when the user clicks it as though to close it
149
+ - **`disableGutters`\*\***:\*\* this boolean prop is not needed with the SDS accordion design, and has no effect
150
150
 
151
151
  ### MUI Documentation
152
152
 
@@ -156,15 +156,15 @@ Documentation for the underlying MUI component can be found here.
156
156
 
157
157
  Any custom SDS props and MUI props required for implementation are found on the table below. See the MUI documentation for additional optional props.
158
158
 
159
- | Name | Type | Default | Description |
160
- | --- | --- | --- | --- |
161
- | `id` | `string` | `-` | A unique id for each accordion item. |
162
- | `disabled` | `bool` | `false` | The `disabled` prop, when set to true, prevents user interaction with the Accordion component, keeping it in a static state. |
163
- | `togglePosition` | `"right"` `| "left"` | `right` | Position of the toggle chevron icon. |
164
- | `subtitle` | `string` | `-` | A text that will be displayed as a subtitle beneath the accordion title. |
165
- | `useDivider` | `bool` | `false` | Display a divider line between accordion items. |
159
+ | Name | Type | Default | Description |
160
+ | ---------------- | ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
161
+ | `id` | `string` | `-` | A unique id for each accordion item. |
162
+ | `disabled` | `bool` | `false` | The `disabled` prop, when set to true, prevents user interaction with the Accordion component, keeping it in a static state. |
163
+ | `togglePosition` | `"right"` ` | "left"` | `right` | Position of the toggle chevron icon. |
164
+ | `subtitle` | `string` | `-` | A text that will be displayed as a subtitle beneath the accordion title. |
165
+ | `useDivider` | `bool` | `false` | Display a divider line between accordion items. |
166
166
 
167
- There are more props that can be used with the `InputDropdown` component, via those available to MUI's `Accordion` component.
167
+ There are more props that can be used with the `InputDropdown` component, via those available to MUI's `Accordion` component.
168
168
 
169
169
  ### Code examples
170
170
 
@@ -197,13 +197,11 @@ h1 {
197
197
 
198
198
  ```json
199
199
  {
200
- "include": [
201
- "./**/*"
202
- ],
200
+ "include": ["./**/*"],
203
201
  "compilerOptions": {
204
202
  "strict": true,
205
203
  "esModuleInterop": true,
206
- "lib": [ "dom", "es2015" ],
204
+ "lib": ["dom", "es2015"],
207
205
  "jsx": "react-jsx"
208
206
  }
209
207
  }
@@ -213,17 +211,18 @@ h1 {
213
211
 
214
212
  ```tsx
215
213
  // Most minimal Accordion (just has the basic requirements)
216
-
217
- import { Accordion, AccordionHeader, AccordionDetails } from "@czi-sds/components";
214
+
215
+ import {
216
+ Accordion,
217
+ AccordionHeader,
218
+ AccordionDetails,
219
+ } from "@czi-sds/components";
218
220
  import "./styles.css";
219
221
 
220
222
  function App() {
221
223
  return (
222
224
  <div className="app">
223
- <Accordion
224
- id="accordion-1"
225
- useDivider={false}
226
- togglePosition="right">
225
+ <Accordion id="accordion-1" useDivider={false} togglePosition="right">
227
226
  <AccordionHeader id={`accordion-1-header`}>
228
227
  Accordion Header
229
228
  </AccordionHeader>
@@ -276,13 +275,12 @@ root.render(
276
275
  <RootApp />
277
276
  </React.StrictMode>
278
277
  );
279
-
280
278
  ```
281
279
 
282
280
  **/public/index.html**
283
281
 
284
282
  ```html
285
- <!DOCTYPE html>
283
+ <!doctype html>
286
284
  <html lang="en">
287
285
  <head>
288
286
  <meta charset="UTF-8" />
@@ -303,13 +301,24 @@ root.render(
303
301
  <div id="root"></div>
304
302
  </body>
305
303
  </html>
306
-
307
304
  ```
308
305
 
309
306
  **/package.json**
310
307
 
311
308
  ```json
312
- {"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"}
309
+ {
310
+ "dependencies": {
311
+ "react": "^18.0.0",
312
+ "react-dom": "^18.0.0",
313
+ "react-scripts": "^4.0.0"
314
+ },
315
+ "devDependencies": {
316
+ "@types/react": "^18.0.0",
317
+ "@types/react-dom": "^18.0.0",
318
+ "typescript": "^4.0.0"
319
+ },
320
+ "main": "/index.tsx"
321
+ }
313
322
  ```
314
323
 
315
324
  ---
@@ -343,13 +352,11 @@ h1 {
343
352
 
344
353
  ```json
345
354
  {
346
- "include": [
347
- "./**/*"
348
- ],
355
+ "include": ["./**/*"],
349
356
  "compilerOptions": {
350
357
  "strict": true,
351
358
  "esModuleInterop": true,
352
- "lib": [ "dom", "es2015" ],
359
+ "lib": ["dom", "es2015"],
353
360
  "jsx": "react-jsx"
354
361
  }
355
362
  }
@@ -359,56 +366,63 @@ h1 {
359
366
 
360
367
  ```tsx
361
368
  // Most minimal InputDropdown (just has the basic requirements)
362
-
363
- import { Accordion, AccordionHeader, AccordionDetails } from "@czi-sds/components";
369
+
370
+ import {
371
+ Accordion,
372
+ AccordionHeader,
373
+ AccordionDetails,
374
+ } from "@czi-sds/components";
364
375
  import "./styles.css";
365
376
 
366
377
  function App() {
367
378
  return (
368
379
  <div className="app">
369
- <Accordion
370
- id="accordion-1"
371
- useDivider={true}
372
- togglePosition="right">
373
- <AccordionHeader id={`accordion-1-header`} subtitle="Explore the functionalities of our amazing product">
380
+ <Accordion id="accordion-1" useDivider={true} togglePosition="right">
381
+ <AccordionHeader
382
+ id={`accordion-1-header`}
383
+ subtitle="Explore the functionalities of our amazing product"
384
+ >
374
385
  Product Features
375
386
  </AccordionHeader>
376
387
  <AccordionDetails>
377
- Unveil the multitude of features that make our product stand out. From seamless
378
- integration with your existing workflow to advanced customization options,
379
- each feature has been meticulously crafted to empower you. Navigate through
380
- this section to discover how our product can revolutionize the way you work.
388
+ Unveil the multitude of features that make our product stand out. From
389
+ seamless integration with your existing workflow to advanced
390
+ customization options, each feature has been meticulously crafted to
391
+ empower you. Navigate through this section to discover how our product
392
+ can revolutionize the way you work.
381
393
  </AccordionDetails>
382
394
  </Accordion>
383
- <Accordion
384
- id="accordion-2"
385
- useDivider={true}
386
- togglePosition="right">
387
- <AccordionHeader id={`accordion-2-header`} subtitle="Answers to commonly asked questions about our service">
395
+ <Accordion id="accordion-2" useDivider={true} togglePosition="right">
396
+ <AccordionHeader
397
+ id={`accordion-2-header`}
398
+ subtitle="Answers to commonly asked questions about our service"
399
+ >
388
400
  FAQ Section
389
401
  </AccordionHeader>
390
402
  <AccordionDetails>
391
- Delve into a comprehensive compilation of frequently asked questions and their
392
- detailed answers. This section is your go-to resource for clarifying any doubts
393
- you might have about our service. Whether it's about pricing, compatibility,
394
- or functionality, we've got you covered with clear and concise explanations,
395
- ensuring a smooth and informed experience.
403
+ Delve into a comprehensive compilation of frequently asked questions
404
+ and their detailed answers. This section is your go-to resource for
405
+ clarifying any doubts you might have about our service. Whether it's
406
+ about pricing, compatibility, or functionality, we've got you covered
407
+ with clear and concise explanations, ensuring a smooth and informed
408
+ experience.
396
409
  </AccordionDetails>
397
410
  </Accordion>
398
-
399
- <Accordion
400
- id="accordion-3"
401
- useDivider={false}
402
- togglePosition="right">
403
- <AccordionHeader id={`accordion-3-header`} subtitle="Enhance your skills with our collection of educational materials">
411
+
412
+ <Accordion id="accordion-3" useDivider={false} togglePosition="right">
413
+ <AccordionHeader
414
+ id={`accordion-3-header`}
415
+ subtitle="Enhance your skills with our collection of educational materials"
416
+ >
404
417
  Learning Resources
405
418
  </AccordionHeader>
406
419
  <AccordionDetails>
407
- Embark on a journey of continuous improvement with our treasure trove of learning
408
- materials. This section hosts an array of tutorials, guides, and insightful
409
- articles designed to enhance your skills and deepen your understanding.
410
- Whether you're a beginner or an expert, these resources offer valuable
411
- insights to help you grow and excel in your endeavors.
420
+ Embark on a journey of continuous improvement with our treasure trove
421
+ of learning materials. This section hosts an array of tutorials,
422
+ guides, and insightful articles designed to enhance your skills and
423
+ deepen your understanding. Whether you're a beginner or an expert,
424
+ these resources offer valuable insights to help you grow and excel in
425
+ your endeavors.
412
426
  </AccordionDetails>
413
427
  </Accordion>
414
428
  </div>
@@ -455,13 +469,12 @@ root.render(
455
469
  <RootApp />
456
470
  </React.StrictMode>
457
471
  );
458
-
459
472
  ```
460
473
 
461
474
  **/public/index.html**
462
475
 
463
476
  ```html
464
- <!DOCTYPE html>
477
+ <!doctype html>
465
478
  <html lang="en">
466
479
  <head>
467
480
  <meta charset="UTF-8" />
@@ -482,13 +495,24 @@ root.render(
482
495
  <div id="root"></div>
483
496
  </body>
484
497
  </html>
485
-
486
498
  ```
487
499
 
488
500
  **/package.json**
489
501
 
490
502
  ```json
491
- {"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"}
503
+ {
504
+ "dependencies": {
505
+ "react": "^18.0.0",
506
+ "react-dom": "^18.0.0",
507
+ "react-scripts": "^4.0.0"
508
+ },
509
+ "devDependencies": {
510
+ "@types/react": "^18.0.0",
511
+ "@types/react-dom": "^18.0.0",
512
+ "typescript": "^4.0.0"
513
+ },
514
+ "main": "/index.tsx"
515
+ }
492
516
  ```
493
517
 
494
518
  ---
@@ -522,13 +546,11 @@ h1 {
522
546
 
523
547
  ```json
524
548
  {
525
- "include": [
526
- "./**/*"
527
- ],
549
+ "include": ["./**/*"],
528
550
  "compilerOptions": {
529
551
  "strict": true,
530
552
  "esModuleInterop": true,
531
- "lib": [ "dom", "es2015" ],
553
+ "lib": ["dom", "es2015"],
532
554
  "jsx": "react-jsx"
533
555
  }
534
556
  }
@@ -538,57 +560,68 @@ h1 {
538
560
 
539
561
  ```tsx
540
562
  // Most minimal InputDropdown (just has the basic requirements)
541
-
542
- import { Accordion, AccordionHeader, AccordionDetails } from "@czi-sds/components";
563
+
564
+ import {
565
+ Accordion,
566
+ AccordionHeader,
567
+ AccordionDetails,
568
+ } from "@czi-sds/components";
543
569
  import "./styles.css";
544
570
 
545
571
  function App() {
546
572
  return (
547
573
  <div className="app">
548
- <Accordion
549
- id="accordion-1"
550
- useDivider={true}
551
- togglePosition="right">
552
- <AccordionHeader id={`accordion-1-header`} subtitle="Explore the functionalities of our amazing product">
574
+ <Accordion id="accordion-1" useDivider={true} togglePosition="right">
575
+ <AccordionHeader
576
+ id={`accordion-1-header`}
577
+ subtitle="Explore the functionalities of our amazing product"
578
+ >
553
579
  Product Features
554
580
  </AccordionHeader>
555
581
  <AccordionDetails>
556
- Unveil the multitude of features that make our product stand out. From seamless
557
- integration with your existing workflow to advanced customization options,
558
- each feature has been meticulously crafted to empower you. Navigate through
559
- this section to discover how our product can revolutionize the way you work.
582
+ Unveil the multitude of features that make our product stand out. From
583
+ seamless integration with your existing workflow to advanced
584
+ customization options, each feature has been meticulously crafted to
585
+ empower you. Navigate through this section to discover how our product
586
+ can revolutionize the way you work.
560
587
  </AccordionDetails>
561
588
  </Accordion>
562
589
  <Accordion
563
590
  disabled={true}
564
- id="accordion-2"
565
- useDivider={true}
566
- togglePosition="right">
567
- <AccordionHeader id={`accordion-2-header`} subtitle="Answers to commonly asked questions about our service">
591
+ id="accordion-2"
592
+ useDivider={true}
593
+ togglePosition="right"
594
+ >
595
+ <AccordionHeader
596
+ id={`accordion-2-header`}
597
+ subtitle="Answers to commonly asked questions about our service"
598
+ >
568
599
  FAQ Section
569
600
  </AccordionHeader>
570
601
  <AccordionDetails>
571
- Delve into a comprehensive compilation of frequently asked questions and their
572
- detailed answers. This section is your go-to resource for clarifying any doubts
573
- you might have about our service. Whether it's about pricing, compatibility,
574
- or functionality, we've got you covered with clear and concise explanations,
575
- ensuring a smooth and informed experience.
602
+ Delve into a comprehensive compilation of frequently asked questions
603
+ and their detailed answers. This section is your go-to resource for
604
+ clarifying any doubts you might have about our service. Whether it's
605
+ about pricing, compatibility, or functionality, we've got you covered
606
+ with clear and concise explanations, ensuring a smooth and informed
607
+ experience.
576
608
  </AccordionDetails>
577
609
  </Accordion>
578
-
579
- <Accordion
580
- id="accordion-3"
581
- useDivider={false}
582
- togglePosition="right">
583
- <AccordionHeader id={`accordion-3-header`} subtitle="Enhance your skills with our collection of educational materials">
610
+
611
+ <Accordion id="accordion-3" useDivider={false} togglePosition="right">
612
+ <AccordionHeader
613
+ id={`accordion-3-header`}
614
+ subtitle="Enhance your skills with our collection of educational materials"
615
+ >
584
616
  Learning Resources
585
617
  </AccordionHeader>
586
618
  <AccordionDetails>
587
- Embark on a journey of continuous improvement with our treasure trove of learning
588
- materials. This section hosts an array of tutorials, guides, and insightful
589
- articles designed to enhance your skills and deepen your understanding.
590
- Whether you're a beginner or an expert, these resources offer valuable
591
- insights to help you grow and excel in your endeavors.
619
+ Embark on a journey of continuous improvement with our treasure trove
620
+ of learning materials. This section hosts an array of tutorials,
621
+ guides, and insightful articles designed to enhance your skills and
622
+ deepen your understanding. Whether you're a beginner or an expert,
623
+ these resources offer valuable insights to help you grow and excel in
624
+ your endeavors.
592
625
  </AccordionDetails>
593
626
  </Accordion>
594
627
  </div>
@@ -635,13 +668,12 @@ root.render(
635
668
  <RootApp />
636
669
  </React.StrictMode>
637
670
  );
638
-
639
671
  ```
640
672
 
641
673
  **/public/index.html**
642
674
 
643
675
  ```html
644
- <!DOCTYPE html>
676
+ <!doctype html>
645
677
  <html lang="en">
646
678
  <head>
647
679
  <meta charset="UTF-8" />
@@ -662,14 +694,24 @@ root.render(
662
694
  <div id="root"></div>
663
695
  </body>
664
696
  </html>
665
-
666
697
  ```
667
698
 
668
699
  **/package.json**
669
700
 
670
701
  ```json
671
- {"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"}
702
+ {
703
+ "dependencies": {
704
+ "react": "^18.0.0",
705
+ "react-dom": "^18.0.0",
706
+ "react-scripts": "^4.0.0"
707
+ },
708
+ "devDependencies": {
709
+ "@types/react": "^18.0.0",
710
+ "@types/react-dom": "^18.0.0",
711
+ "typescript": "^4.0.0"
712
+ },
713
+ "main": "/index.tsx"
714
+ }
672
715
  ```
673
716
 
674
717
  ---
675
-