@czi-sds/mcp 0.5.2 → 0.5.4

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 (42) hide show
  1. package/data/component-list.json +1 -0
  2. package/data/component-props/NavigationHeader.json +4 -0
  3. package/data/tailwind.json +25 -25
  4. package/data/zeroheight-cache.json +5065 -1
  5. package/data/zeroheight-exports/Accordion.md +79 -22
  6. package/data/zeroheight-exports/Banner.md +102 -10
  7. package/data/zeroheight-exports/Buttons.md +1010 -1461
  8. package/data/zeroheight-exports/Callout.md +164 -11
  9. package/data/zeroheight-exports/Colors.md +1164 -41
  10. package/data/zeroheight-exports/Content-Card.md +148 -0
  11. package/data/zeroheight-exports/Control-Inputs.md +769 -72
  12. package/data/zeroheight-exports/Corners.md +8 -15
  13. package/data/zeroheight-exports/Dialog.md +190 -14
  14. package/data/zeroheight-exports/Downloads.md +116 -0
  15. package/data/zeroheight-exports/Dropdown-Input.md +612 -16
  16. package/data/zeroheight-exports/Dropdown-Menus.md +935 -0
  17. package/data/zeroheight-exports/Field-Inputs.md +430 -9
  18. package/data/zeroheight-exports/Filters.md +232 -9
  19. package/data/zeroheight-exports/Getting-Started.md +7 -9
  20. package/data/zeroheight-exports/Hero.md +152 -0
  21. package/data/zeroheight-exports/Icons.md +1854 -218
  22. package/data/zeroheight-exports/Intent.md +40 -0
  23. package/data/zeroheight-exports/Link.md +52 -6
  24. package/data/zeroheight-exports/Lists.md +360 -6
  25. package/data/zeroheight-exports/Loading-Indicator.md +6 -2
  26. package/data/zeroheight-exports/Navigation.md +324 -8
  27. package/data/zeroheight-exports/Notification.md +166 -16
  28. package/data/zeroheight-exports/Panel.md +68 -16
  29. package/data/zeroheight-exports/README.md +17 -19
  30. package/data/zeroheight-exports/Responsive-Design.md +52 -0
  31. package/data/zeroheight-exports/Search-Input.md +40 -2
  32. package/data/zeroheight-exports/Search.md +232 -2
  33. package/data/zeroheight-exports/Segmented-Control.md +34 -9
  34. package/data/zeroheight-exports/Table.md +452 -51
  35. package/data/zeroheight-exports/Tabs.md +534 -11
  36. package/data/zeroheight-exports/Tags.md +504 -14
  37. package/data/zeroheight-exports/Text-Link.md +90 -6
  38. package/data/zeroheight-exports/Theming.md +36 -6
  39. package/data/zeroheight-exports/Tooltips.md +453 -18
  40. package/data/zeroheight-exports/Typography.md +64 -32
  41. package/package.json +3 -3
  42. package/data/zeroheight-exports/Dropdown-Menu.md +0 -3883
@@ -16,15 +16,31 @@ Click on each state below to enter inspect view and get details on its code attr
16
16
  | **bodyM** | **bodyS** | **bodyXs** | **bodyXxs** |
17
17
  | --------- | --------- | ---------- | ----------- |
18
18
 
19
+ **Link**
20
+
19
21
  ---
20
22
 
21
- ### Text Link Spacing
23
+ **Link**
22
24
 
23
- These rules establish how much margin should exist between and around elements.
25
+ ---
26
+
27
+ **Link**
28
+
29
+ ---
30
+
31
+ **Link**
32
+
33
+ ---
24
34
 
35
+ ---
25
36
 
37
+ ### Text Link Spacing
26
38
 
39
+ These rules establish how much margin should exist between and around elements.
27
40
 
41
+ **Text Link spacing**
42
+
43
+ ---
28
44
 
29
45
  ## Code
30
46
 
@@ -41,8 +57,6 @@ These rules establish how much margin should exist between and around elements.
41
57
 
42
58
  Storybook
43
59
 
44
-
45
-
46
60
  ---
47
61
 
48
62
  Text Links are interactive elements that, when clicked, navigate the user away from the page they are currently viewing to another page or screen.
@@ -70,7 +84,17 @@ Click on each state below to enter inspect view and get details on its code attr
70
84
  | **Default** | **Hover** | **Pressed** |
71
85
  | ----------- | --------- | ----------- |
72
86
 
87
+ **Default Visual Example_Default**
88
+
89
+ ---
90
+
91
+ **Default Visual Example_Hover**
73
92
 
93
+ ---
94
+
95
+ **Default visual example_Pressed**
96
+
97
+ ---
74
98
 
75
99
  ### Dashed Text Link
76
100
 
@@ -81,6 +105,18 @@ Click on each state below to enter inspect view and get details on its code attr
81
105
  | **Default** | **Hover** | **Pressed** |
82
106
  | ----------- | --------- | ----------- |
83
107
 
108
+ **Dashed Visual Example_Default**
109
+
110
+ ---
111
+
112
+ **Dashed Visual Example_Hover**
113
+
114
+ ---
115
+
116
+ **Dashed Visual Example_Pressed**
117
+
118
+ ---
119
+
84
120
  ### Dashed Text Link Color Examples
85
121
 
86
122
  See below for visual examples of how the Dashed Text Link should be used in different colors depending on the color of the background it is placed upon.
@@ -88,6 +124,18 @@ See below for visual examples of how the Dashed Text Link should be used in diff
88
124
  | **Black Text** | **Gray500 Text** | **White Text** |
89
125
  | -------------- | ---------------- | -------------- |
90
126
 
127
+ **Dashed Visual Example_Black Text**
128
+
129
+ ---
130
+
131
+ **Dashed Visual Example_Gray500 text**
132
+
133
+ ---
134
+
135
+ **Dashed Visual Example_White text**
136
+
137
+ ---
138
+
91
139
  ---
92
140
 
93
141
  ### Text Link Spacing
@@ -96,7 +144,9 @@ These rules establish how much margin should exist between and around elements.
96
144
 
97
145
  Note: Default Text Links fall in line with the rest of the text in the paragraph it is part of. Dashed Text Links are spaced lower than a default underline text-decoration.
98
146
 
147
+ **Dashed Text Link spacing**
99
148
 
149
+ ---
100
150
 
101
151
  ## Code
102
152
 
@@ -140,7 +190,17 @@ Click on each state below to enter inspect view and get details on its code attr
140
190
  | **Default** | **Hover** | **Pressed** |
141
191
  | ----------- | --------- | ----------- |
142
192
 
193
+ **Default Visual Example_Default**
194
+
195
+ ---
196
+
197
+ **Default Visual Example_Hover**
198
+
199
+ ---
143
200
 
201
+ **Default visual example_Pressed**
202
+
203
+ ---
144
204
 
145
205
  ### Dashed Text Link
146
206
 
@@ -151,7 +211,17 @@ Click on each state below to enter inspect view and get details on its code attr
151
211
  | **Default** | **Hover** | **Pressed** |
152
212
  | ----------- | --------- | ----------- |
153
213
 
214
+ **Dashed Visual Example_Default**
154
215
 
216
+ ---
217
+
218
+ **Dashed Visual Example_Hover**
219
+
220
+ ---
221
+
222
+ **Dashed Visual Example_Pressed**
223
+
224
+ ---
155
225
 
156
226
  ### Dashed Text Link Color Examples
157
227
 
@@ -160,6 +230,18 @@ See below for visual examples of how the Dashed Text Link should be used in diff
160
230
  | **Black Text** | **Gray500 Text** | **White Text** |
161
231
  | -------------- | ---------------- | -------------- |
162
232
 
233
+ **Dashed Visual Example_Black Text**
234
+
235
+ ---
236
+
237
+ **Dashed Visual Example_Gray500 text**
238
+
239
+ ---
240
+
241
+ **Dashed Visual Example_White text**
242
+
243
+ ---
244
+
163
245
  ---
164
246
 
165
247
  ### Text Link Spacing
@@ -168,6 +250,10 @@ These rules establish how much margin should exist between and around elements.
168
250
 
169
251
  Note: Default Text Links fall in line with the rest of the text in the paragraph it is part of. Dashed Text Links are spaced lower than a default underline text-decoration.
170
252
 
253
+ **Dashed Text Link spacing**
254
+
255
+ ---
256
+
171
257
  ## Code
172
258
 
173
259
  ## Text Link Component
@@ -180,5 +266,3 @@ Note: Default Text Links fall in line with the rest of the text in the paragraph
180
266
  ### Link
181
267
 
182
268
  Storybook
183
-
184
-
@@ -17,11 +17,27 @@ The color indexes used in SDS primitive color names (e.g., `gray100`, `gray200`,
17
17
  | Light Mode | Dark Mode |
18
18
  | :--------: | :-------: |
19
19
 
20
+ **Color_Dark Mode_Color Indexes_gray100_Light**
21
+
22
+ ---
23
+
24
+ **Color_Dark Mode_Color Indexes_gray100_Dark**
25
+
26
+ ---
27
+
20
28
  In most cases, each semantic variable will have the same primitive value mapped to it regardless of the mode of that primitive value. For example, the semantic variable `Base.text-primary` has `gray900` mapped to it; in Light Mode `gray900` = `#000000`(black), but in Dark Mode `gray900` = `#ffffff` (white). This means that in both modes primary text is highly visible against the background it is placed on top of, whether a light background in Light Mode or a dark background in Dark Mode.
21
29
 
22
30
  | Light Mode | Dark Mode |
23
31
  | :--------: | :-------: |
24
32
 
33
+ **Color_Dark Mode_Color Indexes_text-primary_Light**
34
+
35
+ ---
36
+
37
+ **Color_Dark Mode_Color Indexes_text-primary_Dark**
38
+
39
+ ---
40
+
25
41
  ### Differences in Light Mode vs Dark Mode
26
42
 
27
43
  The only instances where the primitive variables mapped to semantic variables differ between modes is `background-primary`, `surface`, and `fill-primary`. Where Light Mode uses `gray50` (white) for all of these, Dark Mode has to use two separate shades of dark gray to adhere to visual accessibility best practices.
@@ -31,6 +47,14 @@ In Dark Mode, `background-primary` is `gray75` (not quite pure black which has p
31
47
  | Light Mode | Dark Mode |
32
48
  | :--------: | :-------: |
33
49
 
50
+ **Color_Dark Mode_Differences_Light**
51
+
52
+ ---
53
+
54
+ **Color_Dark Mode_Differences_Dark**
55
+
56
+ ---
57
+
34
58
  ### Inverted Style
35
59
 
36
60
  There are a few components (Header Navigation, Footer Navigation, Tooltip, and Condensed Tooltip) that can be displayed with light or dark backgrounds regardless of which color mode the user's application is set to. Enable this using the prop `hasInvertedStyle` which by default is set to `false`. In Light Mode the component will have a light background and in Dark Mode the component will have a dark background. When set to `true`, the colors will be inverted and in Light Mode the component will have a dark background and in Dark Mode the component will have a light background.
@@ -40,6 +64,14 @@ See the individual component pages for more details and visual examples.
40
64
  | Default (Light Mode) | Inverted (Light Mode) |
41
65
  | :------------------: | :-------------------: |
42
66
 
67
+ **Color_Inverted Style_Default**
68
+
69
+ ---
70
+
71
+ **Color_Inverted Style_Inverted**
72
+
73
+ ---
74
+
43
75
  ## Code
44
76
 
45
77
  ## Dark Mode
@@ -145,15 +177,14 @@ root.render(
145
177
  <head>
146
178
  <meta charset="UTF-8" />
147
179
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
148
- <title>Theming</title>
149
180
  <link rel="preconnect" href="https://fonts.googleapis.com" />
150
181
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
151
182
  <link
152
- href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap"
183
+ href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
153
184
  rel="stylesheet"
154
185
  />
155
186
  <link
156
- href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&display=swap"
187
+ href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap"
157
188
  rel="stylesheet"
158
189
  />
159
190
  </head>
@@ -293,15 +324,14 @@ root.render(
293
324
  <head>
294
325
  <meta charset="UTF-8" />
295
326
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
296
- <title>Theming</title>
297
327
  <link rel="preconnect" href="https://fonts.googleapis.com" />
298
328
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
299
329
  <link
300
- href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap"
330
+ href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
301
331
  rel="stylesheet"
302
332
  />
303
333
  <link
304
- href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&display=swap"
334
+ href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap"
305
335
  rel="stylesheet"
306
336
  />
307
337
  </head>