@czi-sds/mcp 0.5.2 → 0.5.3
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.
- package/data/tailwind.json +25 -25
- package/data/zeroheight-cache.json +5065 -1
- package/data/zeroheight-exports/Accordion.md +81 -20
- package/data/zeroheight-exports/Banner.md +104 -10
- package/data/zeroheight-exports/Buttons.md +1029 -1454
- package/data/zeroheight-exports/Callout.md +174 -9
- package/data/zeroheight-exports/Colors.md +1164 -41
- package/data/zeroheight-exports/Content-Card.md +148 -0
- package/data/zeroheight-exports/Control-Inputs.md +778 -63
- package/data/zeroheight-exports/Corners.md +8 -15
- package/data/zeroheight-exports/Dialog.md +200 -12
- package/data/zeroheight-exports/Downloads.md +120 -0
- package/data/zeroheight-exports/Dropdown-Input.md +616 -12
- package/data/zeroheight-exports/Dropdown-Menus.md +1150 -0
- package/data/zeroheight-exports/Field-Inputs.md +450 -9
- package/data/zeroheight-exports/Filters.md +238 -9
- package/data/zeroheight-exports/Getting-Started.md +7 -3
- package/data/zeroheight-exports/Hero.md +152 -0
- package/data/zeroheight-exports/Icons.md +1854 -218
- package/data/zeroheight-exports/Intent.md +40 -0
- package/data/zeroheight-exports/Link.md +52 -6
- package/data/zeroheight-exports/Lists.md +364 -6
- package/data/zeroheight-exports/Loading-Indicator.md +8 -0
- package/data/zeroheight-exports/Navigation.md +328 -6
- package/data/zeroheight-exports/Notification.md +172 -12
- package/data/zeroheight-exports/Panel.md +72 -12
- package/data/zeroheight-exports/README.md +17 -19
- package/data/zeroheight-exports/Responsive-Design.md +52 -0
- package/data/zeroheight-exports/Search-Input.md +44 -0
- package/data/zeroheight-exports/Search.md +248 -0
- package/data/zeroheight-exports/Segmented-Control.md +34 -9
- package/data/zeroheight-exports/Table.md +468 -47
- package/data/zeroheight-exports/Tabs.md +542 -9
- package/data/zeroheight-exports/Tags.md +504 -12
- package/data/zeroheight-exports/Text-Link.md +100 -0
- package/data/zeroheight-exports/Theming.md +36 -6
- package/data/zeroheight-exports/Tooltips.md +466 -15
- package/data/zeroheight-exports/Typography.md +64 -32
- package/package.json +3 -3
- package/data/zeroheight-exports/Dropdown-Menu.md +0 -3883
|
@@ -16,12 +16,32 @@ 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
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
**Link**
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
**Link**
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
**Link**
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
19
35
|
---
|
|
20
36
|
|
|
21
37
|
### Text Link Spacing
|
|
22
38
|
|
|
23
39
|
These rules establish how much margin should exist between and around elements.
|
|
24
40
|
|
|
41
|
+
**Text Link spacing**
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
25
45
|
|
|
26
46
|
|
|
27
47
|
|
|
@@ -70,6 +90,18 @@ Click on each state below to enter inspect view and get details on its code attr
|
|
|
70
90
|
| **Default** | **Hover** | **Pressed** |
|
|
71
91
|
| ----------- | --------- | ----------- |
|
|
72
92
|
|
|
93
|
+
**Default Visual Example_Default**
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
**Default Visual Example_Hover**
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
**Default visual example_Pressed**
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
73
105
|
|
|
74
106
|
|
|
75
107
|
### Dashed Text Link
|
|
@@ -81,6 +113,18 @@ Click on each state below to enter inspect view and get details on its code attr
|
|
|
81
113
|
| **Default** | **Hover** | **Pressed** |
|
|
82
114
|
| ----------- | --------- | ----------- |
|
|
83
115
|
|
|
116
|
+
**Dashed Visual Example_Default**
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
**Dashed Visual Example_Hover**
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
**Dashed Visual Example_Pressed**
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
84
128
|
### Dashed Text Link Color Examples
|
|
85
129
|
|
|
86
130
|
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 +132,18 @@ See below for visual examples of how the Dashed Text Link should be used in diff
|
|
|
88
132
|
| **Black Text** | **Gray500 Text** | **White Text** |
|
|
89
133
|
| -------------- | ---------------- | -------------- |
|
|
90
134
|
|
|
135
|
+
**Dashed Visual Example_Black Text**
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
**Dashed Visual Example_Gray500 text**
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
**Dashed Visual Example_White text**
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
91
147
|
---
|
|
92
148
|
|
|
93
149
|
### Text Link Spacing
|
|
@@ -96,6 +152,10 @@ These rules establish how much margin should exist between and around elements.
|
|
|
96
152
|
|
|
97
153
|
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
154
|
|
|
155
|
+
**Dashed Text Link spacing**
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
99
159
|
|
|
100
160
|
|
|
101
161
|
## Code
|
|
@@ -140,6 +200,18 @@ Click on each state below to enter inspect view and get details on its code attr
|
|
|
140
200
|
| **Default** | **Hover** | **Pressed** |
|
|
141
201
|
| ----------- | --------- | ----------- |
|
|
142
202
|
|
|
203
|
+
**Default Visual Example_Default**
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
**Default Visual Example_Hover**
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
**Default visual example_Pressed**
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
143
215
|
|
|
144
216
|
|
|
145
217
|
### Dashed Text Link
|
|
@@ -151,6 +223,18 @@ Click on each state below to enter inspect view and get details on its code attr
|
|
|
151
223
|
| **Default** | **Hover** | **Pressed** |
|
|
152
224
|
| ----------- | --------- | ----------- |
|
|
153
225
|
|
|
226
|
+
**Dashed Visual Example_Default**
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
**Dashed Visual Example_Hover**
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
**Dashed Visual Example_Pressed**
|
|
235
|
+
|
|
236
|
+
---
|
|
237
|
+
|
|
154
238
|
|
|
155
239
|
|
|
156
240
|
### Dashed Text Link Color Examples
|
|
@@ -160,6 +244,18 @@ See below for visual examples of how the Dashed Text Link should be used in diff
|
|
|
160
244
|
| **Black Text** | **Gray500 Text** | **White Text** |
|
|
161
245
|
| -------------- | ---------------- | -------------- |
|
|
162
246
|
|
|
247
|
+
**Dashed Visual Example_Black Text**
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
**Dashed Visual Example_Gray500 text**
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
**Dashed Visual Example_White text**
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
163
259
|
---
|
|
164
260
|
|
|
165
261
|
### Text Link Spacing
|
|
@@ -168,6 +264,10 @@ These rules establish how much margin should exist between and around elements.
|
|
|
168
264
|
|
|
169
265
|
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
266
|
|
|
267
|
+
**Dashed Text Link spacing**
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
|
|
171
271
|
## Code
|
|
172
272
|
|
|
173
273
|
## Text Link Component
|
|
@@ -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>
|