@czi-sds/mcp 0.3.0 → 0.4.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 (145) 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/zeroheight-exports/Accordion.md +167 -125
  46. package/data/zeroheight-exports/Banner.md +71 -48
  47. package/data/zeroheight-exports/Borders.md +72 -73
  48. package/data/zeroheight-exports/Buttons.md +375 -330
  49. package/data/zeroheight-exports/Callout.md +138 -116
  50. package/data/zeroheight-exports/Colors.md +254 -255
  51. package/data/zeroheight-exports/Content-Card.md +36 -37
  52. package/data/zeroheight-exports/Contributing-to-SDS.md +34 -35
  53. package/data/zeroheight-exports/Control-Inputs.md +289 -234
  54. package/data/zeroheight-exports/Corners.md +63 -64
  55. package/data/zeroheight-exports/Cover-page.md +0 -1
  56. package/data/zeroheight-exports/Dialog.md +237 -179
  57. package/data/zeroheight-exports/Downloads.md +10 -11
  58. package/data/zeroheight-exports/Drop-Shadows.md +40 -41
  59. package/data/zeroheight-exports/Dropdown-Input.md +158 -127
  60. package/data/zeroheight-exports/Dropdown-Menu.md +814 -718
  61. package/data/zeroheight-exports/Element-Status-Tracker.md +191 -192
  62. package/data/zeroheight-exports/Field-Inputs.md +149 -130
  63. package/data/zeroheight-exports/Filters.md +114 -94
  64. package/data/zeroheight-exports/Getting-Started.md +112 -249
  65. package/data/zeroheight-exports/Hero.md +43 -37
  66. package/data/zeroheight-exports/Icons.md +205 -206
  67. package/data/zeroheight-exports/Intent.md +6 -7
  68. package/data/zeroheight-exports/Introduction-to-Bases.md +8 -9
  69. package/data/zeroheight-exports/Introduction-to-Cells.md +11 -12
  70. package/data/zeroheight-exports/Introduction-to-DNA.md +8 -9
  71. package/data/zeroheight-exports/Introduction-to-Genes.md +8 -9
  72. package/data/zeroheight-exports/Introduction.md +52 -53
  73. package/data/zeroheight-exports/Link.md +50 -37
  74. package/data/zeroheight-exports/Lists.md +78 -63
  75. package/data/zeroheight-exports/Loading-Indicator.md +7 -8
  76. package/data/zeroheight-exports/Navigation.md +163 -142
  77. package/data/zeroheight-exports/Notification.md +132 -102
  78. package/data/zeroheight-exports/Panel.md +231 -115
  79. package/data/zeroheight-exports/Responsive-Design.md +35 -32
  80. package/data/zeroheight-exports/Search-Input.md +9 -10
  81. package/data/zeroheight-exports/Search.md +87 -104
  82. package/data/zeroheight-exports/Segmented-Control.md +68 -45
  83. package/data/zeroheight-exports/Spacing.md +210 -211
  84. package/data/zeroheight-exports/Table.md +414 -302
  85. package/data/zeroheight-exports/Tabs.md +126 -98
  86. package/data/zeroheight-exports/Tags.md +148 -118
  87. package/data/zeroheight-exports/Text-Link.md +32 -33
  88. package/data/zeroheight-exports/Theming.md +48 -29
  89. package/data/zeroheight-exports/Tooltips.md +253 -237
  90. package/data/zeroheight-exports/Typography.md +463 -464
  91. package/dist/stdio.js +44 -132
  92. package/package.json +3 -4
  93. package/data/component-props/Chip.json +0 -73
  94. package/data/component-props/List.json +0 -43
  95. package/data/component-props/Menu.json +0 -48
  96. package/data/component-props/Table.json +0 -26
  97. package/data/component-props-storybook/Accordion-storybook.json +0 -45
  98. package/data/component-props-storybook/Alert-storybook.json +0 -30
  99. package/data/component-props-storybook/Autocomplete-storybook.json +0 -67
  100. package/data/component-props-storybook/Banner-storybook.json +0 -78
  101. package/data/component-props-storybook/Button-storybook.json +0 -115
  102. package/data/component-props-storybook/ButtonDropdown-storybook.json +0 -73
  103. package/data/component-props-storybook/ButtonIcon-storybook.json +0 -60
  104. package/data/component-props-storybook/ButtonToggle-storybook.json +0 -68
  105. package/data/component-props-storybook/Callout-storybook.json +0 -90
  106. package/data/component-props-storybook/CellBasic-storybook.json +0 -138
  107. package/data/component-props-storybook/CellComponent-storybook.json +0 -48
  108. package/data/component-props-storybook/CellHeader-storybook.json +0 -71
  109. package/data/component-props-storybook/Chip-storybook.json +0 -26
  110. package/data/component-props-storybook/ComplexFilter-storybook.json +0 -60
  111. package/data/component-props-storybook/ContentCard-storybook.json +0 -175
  112. package/data/component-props-storybook/Dialog-storybook.json +0 -56
  113. package/data/component-props-storybook/Dropdown-storybook.json +0 -93
  114. package/data/component-props-storybook/DropdownMenu-storybook.json +0 -73
  115. package/data/component-props-storybook/HeatmapChart-storybook.json +0 -55
  116. package/data/component-props-storybook/Icon-storybook.json +0 -75
  117. package/data/component-props-storybook/InputCheckbox-storybook.json +0 -57
  118. package/data/component-props-storybook/InputDropdown-storybook.json +0 -80
  119. package/data/component-props-storybook/InputRadio-storybook.json +0 -56
  120. package/data/component-props-storybook/InputSearch-storybook.json +0 -55
  121. package/data/component-props-storybook/InputSlider-storybook.json +0 -55
  122. package/data/component-props-storybook/InputText-storybook.json +0 -59
  123. package/data/component-props-storybook/InputToggle-storybook.json +0 -42
  124. package/data/component-props-storybook/Link-storybook.json +0 -50
  125. package/data/component-props-storybook/List-storybook.json +0 -26
  126. package/data/component-props-storybook/LoadingIndicator-storybook.json +0 -34
  127. package/data/component-props-storybook/Menu-storybook.json +0 -26
  128. package/data/component-props-storybook/MenuItem-storybook.json +0 -74
  129. package/data/component-props-storybook/MenuSelect-storybook.json +0 -38
  130. package/data/component-props-storybook/NavigationFooter-storybook.json +0 -67
  131. package/data/component-props-storybook/NavigationHeader-storybook.json +0 -115
  132. package/data/component-props-storybook/NavigationJumpTo-storybook.json +0 -41
  133. package/data/component-props-storybook/Notification-storybook.json +0 -89
  134. package/data/component-props-storybook/Pagination-storybook.json +0 -50
  135. package/data/component-props-storybook/Panel-storybook.json +0 -52
  136. package/data/component-props-storybook/SegmentedControl-storybook.json +0 -30
  137. package/data/component-props-storybook/Table-storybook.json +0 -26
  138. package/data/component-props-storybook/TableHeader-storybook.json +0 -26
  139. package/data/component-props-storybook/TableRow-storybook.json +0 -62
  140. package/data/component-props-storybook/Tabs-storybook.json +0 -45
  141. package/data/component-props-storybook/Tag-storybook.json +0 -78
  142. package/data/component-props-storybook/TagFilter-storybook.json +0 -30
  143. package/data/component-props-storybook/Tooltip-storybook.json +0 -85
  144. package/data/component-props-storybook/TooltipCondensed-storybook.json +0 -38
  145. package/data/component-props-storybook/TooltipTable-storybook.json +0 -47
@@ -6,15 +6,15 @@ Banners are used to communicate product status updates to users, allowing the pr
6
6
 
7
7
  ## Banner Variants
8
8
 
9
- | Banners are meant to communicate product status updates to users such as system maintenance, new features, known product bugs or issues. etc. and are not meant to be used in response to an action the user has taken within the product. Use a Callout or Notification for these purposes. There are two Banner variants meant to be used in an alternating manner, allowing multiple Banners to be stacked together while maintaining the ability to differentiate between them. Both Banner variants can optionally be set to be manually dismissible by the user, allowing them to hide the Banner from view once it has been read. Banners span the full width of the page. Follow the usage criteria accompanying each variant as a guide for selecting the correct Banner for any given use case. | | **Jump to variant:** Primary Secondary |
10
- | --- | --- | --- |
9
+ | Banners are meant to communicate product status updates to users such as system maintenance, new features, known product bugs or issues. etc. and are not meant to be used in response to an action the user has taken within the product. Use a Callout or Notification for these purposes. There are two Banner variants meant to be used in an alternating manner, allowing multiple Banners to be stacked together while maintaining the ability to differentiate between them. Both Banner variants can optionally be set to be manually dismissible by the user, allowing them to hide the Banner from view once it has been read. Banners span the full width of the page. Follow the usage criteria accompanying each variant as a guide for selecting the correct Banner for any given use case. | | **Jump to variant:** Primary Secondary |
10
+ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | -------------------------------------- |
11
11
 
12
12
  ---
13
13
 
14
14
  ## Banner
15
15
 
16
- | | In Figma | | | Meets Accessibility | | | In CZ ID Codebase |
17
- | --- | --- | --- | --- | --- | --- | --- | --- |
16
+ | | In Figma | | | Meets Accessibility | | | In CZ ID Codebase |
17
+ | --- | -------- | --- | --- | ------------------- | --- | --- | ----------------- |
18
18
 
19
19
  ### Primary Banner
20
20
 
@@ -24,7 +24,7 @@ If additional context or information is needed beyond the space available on the
24
24
 
25
25
  When the information being communicated on the Banner is intended to remain persistent on the screen and is not manually dismissible by the user, use a persistent Banner. To allow the user to manually dismiss the Banner, use a dismissible Banner.
26
26
 
27
-  
27
+
28
28
 
29
29
  ---
30
30
 
@@ -52,8 +52,8 @@ These rules establish how much margin should exist between and around elements.
52
52
 
53
53
  ## Banner Component
54
54
 
55
- | Below you will find an interactive Storybook iframe for Banners. 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:** Banner |
56
- | --- | --- | --- |
55
+ | Below you will find an interactive Storybook iframe for Banners. 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:** Banner |
56
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --- | ----------------------------- |
57
57
 
58
58
  ---
59
59
 
@@ -69,8 +69,8 @@ Banners are used to communicate product status updates to users, allowing the pr
69
69
 
70
70
  ## Overview
71
71
 
72
- | | In Figma | | | Meets Accessibility | | | In Code |
73
- | --- | --- | --- | --- | --- | --- | --- | --- |
72
+ | | In Figma | | | Meets Accessibility | | | In Code |
73
+ | --- | -------- | --- | --- | ------------------- | --- | --- | ------- |
74
74
 
75
75
  ### Banner Variants
76
76
 
@@ -101,7 +101,7 @@ If additional context or information is needed beyond the space available on the
101
101
  When the information being communicated on the Banner is intended to remain persistent on the screen and is not manually dismissible by the user, use a persistent Banner. To allow the user to manually dismiss the Banner, use a dismissible Banner.
102
102
 
103
103
  | Default (Persistent) | Default (Dismissible) | Hover (Dismissible) |
104
- | --- | --- | --- |
104
+ | -------------------- | --------------------- | ------------------- |
105
105
 
106
106
  ---
107
107
 
@@ -114,7 +114,7 @@ If additional context or information is needed beyond the space available on the
114
114
  When the information being communicated on the Banner is intended to remain persistent on the screen and is not manually dismissible by the user, use a persistent Banner. To allow the user to manually dismiss the Banner, use a dismissible Banner.
115
115
 
116
116
  | Default (Persistent) | Default (Dismissible) | Hover (Dismissible) |
117
- | --- | --- | --- |
117
+ | -------------------- | --------------------- | ------------------- |
118
118
 
119
119
  ---
120
120
 
@@ -133,16 +133,16 @@ Each intent is demonstrated below using the Dismissible variant for reference. R
133
133
  #### Primary
134
134
 
135
135
  | Info | Negative | Notice | Positive |
136
- | --- | --- | --- | --- |
136
+ | ---- | -------- | ------ | -------- |
137
137
 
138
138
  #### Secondary
139
139
 
140
140
  | Info | Negative | Notice | Positive |
141
- | --- | --- | --- | --- |
141
+ | ---- | -------- | ------ | -------- |
142
142
 
143
143
  ## Code
144
144
 
145
- >**Note:** The code examples below must install dependencies before displaying and may take extra time to load
145
+ > **Note:** The code examples below must install dependencies before displaying and may take extra time to load
146
146
 
147
147
  ## Banner
148
148
 
@@ -154,14 +154,14 @@ The component's source code in the SDS codebase can be found here.
154
154
 
155
155
  Any custom SDS props and MUI props required for implementation are found on the table below. See the MUI documentation for additional optional props.
156
156
 
157
- | Name | Type | Default | Description |
158
- | --- | --- | --- | --- |
159
- | `dismissed` | `bool` | `false` | If `true`, the banner has been dismissed by the user. |
160
- | `dismissible` | `bool` | `true` | If `true`, the banner can be dismissed by the user. |
161
- | `sdsType` | `"primary"` `| "secondary"` | `primary` | The `primary` variant has a `400` background color and white text color. The `secondary` variant has a `100` background color and `primary` text color. |
162
- | `icon` | `ReactNode` | `-` | The icon to be displayed within the banner. If not provided, a`InfoCircle` icon will be displayed. |
163
- | `sdsIconProps` | `Partial<IconProps>` | `-` | Additional props to be passed to the icon component. |
164
- | `onClose` | `fn` | `-` | Callback fired when the component requests to be closed. When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked. **Signature:**`function(event: React.SyntheticEvent) => void` `event`. The event source of the callback. |
157
+ | Name | Type | Default | Description |
158
+ | -------------- | -------------------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
159
+ | `dismissed` | `bool` | `false` | If `true`, the banner has been dismissed by the user. |
160
+ | `dismissible` | `bool` | `true` | If `true`, the banner can be dismissed by the user. |
161
+ | `sdsType` | `"primary"` ` | "secondary"` | `primary` | The `primary` variant has a `400` background color and white text color. The `secondary` variant has a `100` background color and `primary` text color. |
162
+ | `icon` | `ReactNode` | `-` | The icon to be displayed within the banner. If not provided, a`InfoCircle` icon will be displayed. |
163
+ | `sdsIconProps` | `Partial<IconProps>` | `-` | Additional props to be passed to the icon component. |
164
+ | `onClose` | `fn` | `-` | Callback fired when the component requests to be closed. When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked. **Signature:**`function(event: React.SyntheticEvent) => void` `event`. The event source of the callback. |
165
165
 
166
166
  ### Code examples
167
167
 
@@ -194,13 +194,11 @@ h1 {
194
194
 
195
195
  ```json
196
196
  {
197
- "include": [
198
- "./**/*"
199
- ],
197
+ "include": ["./**/*"],
200
198
  "compilerOptions": {
201
199
  "strict": true,
202
200
  "esModuleInterop": true,
203
- "lib": [ "dom", "es2015" ],
201
+ "lib": ["dom", "es2015"],
204
202
  "jsx": "react-jsx"
205
203
  }
206
204
  }
@@ -262,13 +260,12 @@ root.render(
262
260
  <RootApp />
263
261
  </React.StrictMode>
264
262
  );
265
-
266
263
  ```
267
264
 
268
265
  **/public/index.html**
269
266
 
270
267
  ```html
271
- <!DOCTYPE html>
268
+ <!doctype html>
272
269
  <html lang="en">
273
270
  <head>
274
271
  <meta charset="UTF-8" />
@@ -289,13 +286,24 @@ root.render(
289
286
  <div id="root"></div>
290
287
  </body>
291
288
  </html>
292
-
293
289
  ```
294
290
 
295
291
  **/package.json**
296
292
 
297
293
  ```json
298
- {"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"}
294
+ {
295
+ "dependencies": {
296
+ "react": "^18.0.0",
297
+ "react-dom": "^18.0.0",
298
+ "react-scripts": "^4.0.0"
299
+ },
300
+ "devDependencies": {
301
+ "@types/react": "^18.0.0",
302
+ "@types/react-dom": "^18.0.0",
303
+ "typescript": "^4.0.0"
304
+ },
305
+ "main": "/index.tsx"
306
+ }
299
307
  ```
300
308
 
301
309
  ---
@@ -329,13 +337,11 @@ h1 {
329
337
 
330
338
  ```json
331
339
  {
332
- "include": [
333
- "./**/*"
334
- ],
340
+ "include": ["./**/*"],
335
341
  "compilerOptions": {
336
342
  "strict": true,
337
343
  "esModuleInterop": true,
338
- "lib": [ "dom", "es2015" ],
344
+ "lib": ["dom", "es2015"],
339
345
  "jsx": "react-jsx"
340
346
  }
341
347
  }
@@ -397,13 +403,12 @@ root.render(
397
403
  <RootApp />
398
404
  </React.StrictMode>
399
405
  );
400
-
401
406
  ```
402
407
 
403
408
  **/public/index.html**
404
409
 
405
410
  ```html
406
- <!DOCTYPE html>
411
+ <!doctype html>
407
412
  <html lang="en">
408
413
  <head>
409
414
  <meta charset="UTF-8" />
@@ -424,20 +429,31 @@ root.render(
424
429
  <div id="root"></div>
425
430
  </body>
426
431
  </html>
427
-
428
432
  ```
429
433
 
430
434
  **/package.json**
431
435
 
432
436
  ```json
433
- {"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"}
437
+ {
438
+ "dependencies": {
439
+ "react": "^18.0.0",
440
+ "react-dom": "^18.0.0",
441
+ "react-scripts": "^4.0.0"
442
+ },
443
+ "devDependencies": {
444
+ "@types/react": "^18.0.0",
445
+ "@types/react-dom": "^18.0.0",
446
+ "typescript": "^4.0.0"
447
+ },
448
+ "main": "/index.tsx"
449
+ }
434
450
  ```
435
451
 
436
452
  ---
437
453
 
438
454
  #### Banner with a custom background color
439
455
 
440
- This example shows how to implement a `Banner` component with a custom background color. 
456
+ This example shows how to implement a `Banner` component with a custom background color.
441
457
 
442
458
  **/styles.css**
443
459
 
@@ -464,13 +480,11 @@ h1 {
464
480
 
465
481
  ```json
466
482
  {
467
- "include": [
468
- "./**/*"
469
- ],
483
+ "include": ["./**/*"],
470
484
  "compilerOptions": {
471
485
  "strict": true,
472
486
  "esModuleInterop": true,
473
- "lib": [ "dom", "es2015" ],
487
+ "lib": ["dom", "es2015"],
474
488
  "jsx": "react-jsx"
475
489
  }
476
490
  }
@@ -536,13 +550,12 @@ root.render(
536
550
  <RootApp />
537
551
  </React.StrictMode>
538
552
  );
539
-
540
553
  ```
541
554
 
542
555
  **/public/index.html**
543
556
 
544
557
  ```html
545
- <!DOCTYPE html>
558
+ <!doctype html>
546
559
  <html lang="en">
547
560
  <head>
548
561
  <meta charset="UTF-8" />
@@ -563,14 +576,24 @@ root.render(
563
576
  <div id="root"></div>
564
577
  </body>
565
578
  </html>
566
-
567
579
  ```
568
580
 
569
581
  **/package.json**
570
582
 
571
583
  ```json
572
- {"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"}
584
+ {
585
+ "dependencies": {
586
+ "react": "^18.0.0",
587
+ "react-dom": "^18.0.0",
588
+ "react-scripts": "^4.0.0"
589
+ },
590
+ "devDependencies": {
591
+ "@types/react": "^18.0.0",
592
+ "@types/react-dom": "^18.0.0",
593
+ "typescript": "^4.0.0"
594
+ },
595
+ "main": "/index.tsx"
596
+ }
573
597
  ```
574
598
 
575
599
  ---
576
-
@@ -4,55 +4,55 @@ Borders are the lines that go around elements to help contain them while visuall
4
4
 
5
5
  ### Types of Borders
6
6
 
7
- | **Visual** | | **Border Type** | | **Usage** |
8
- | --- | --- | --- | --- | --- |
9
- | | | Standard Border | | Base style for all borders. Borders are used on secondary buttons, input fields, modals, dropdown menus, etc. |
10
- | | | Dashed Border | | Dashed borders are used in file upload/drag and drop containers and Dashed Links. |
7
+ | **Visual** | | **Border Type** | | **Usage** |
8
+ | ---------- | --- | --------------- | --- | ------------------------------------------------------------------------------------------------------------- |
9
+ | | | Standard Border | | Base style for all borders. Borders are used on secondary buttons, input fields, modals, dropdown menus, etc. |
10
+ | | | Dashed Border | | Dashed borders are used in file upload/drag and drop containers and Dashed Links. |
11
11
 
12
12
  ### Base Borders
13
13
 
14
14
  These borders are used throughout the SDS whenever borders in Base colors are needed.
15
15
 
16
- | **Visual** | | **Usage** | | **CSS / SCSS Variables** | | **Value** |
17
- | --- | --- | --- | --- | --- | --- | --- |
18
- | | | Default | | `--sds-border-base-default` `$sds-border-base-default` | | `1px solid #999999` |
19
- | | | Hover | | `--sds-border-base-hover` `$sds-border-base-hover` | | `1px solid #000000` |
20
- | | | Disabled | | `--sds-border-base-disabled` `$sds-border-base-disabled` | | `1px solid #cccccc` |
21
- | | | Table borders only | | `--sds-border-base-table` `$sds-border-base-table` | | `1px solid #cccccc` |
22
- | | | Dividers only (`<hr>`) | | `--sds-border-base-divider` `$sds-border-base-divider` | | `1px solid #eaeaea` |
16
+ | **Visual** | | **Usage** | | **CSS / SCSS Variables** | | **Value** |
17
+ | ---------- | --- | ---------------------- | --- | -------------------------------------------------------- | --- | ------------------- |
18
+ | | | Default | | `--sds-border-base-default` `$sds-border-base-default` | | `1px solid #999999` |
19
+ | | | Hover | | `--sds-border-base-hover` `$sds-border-base-hover` | | `1px solid #000000` |
20
+ | | | Disabled | | `--sds-border-base-disabled` `$sds-border-base-disabled` | | `1px solid #cccccc` |
21
+ | | | Table borders only | | `--sds-border-base-table` `$sds-border-base-table` | | `1px solid #cccccc` |
22
+ | | | Dividers only (`<hr>`) | | `--sds-border-base-divider` `$sds-border-base-divider` | | `1px solid #eaeaea` |
23
23
 
24
24
  ### Link Borders
25
25
 
26
26
  Use this border type when implementing links with a dashed underline.
27
27
 
28
- | **Visual** | | **Usage** | | **CSS / SCSS Variables** | | **Value** |
29
- | --- | --- | --- | --- | --- | --- | --- |
30
- | | | Dashed link (default state) | | `--sds-border-link-dashed` `$sds-border-link-dashed` | | `1px dashed` |
31
- | | | Dashed link (hover and pressed states) | | `--sds-border-link-solid` `$sds-border-link-solid` | | `1px solid` |
28
+ | **Visual** | | **Usage** | | **CSS / SCSS Variables** | | **Value** |
29
+ | ---------- | --- | -------------------------------------- | --- | ---------------------------------------------------- | --- | ------------ |
30
+ | | | Dashed link (default state) | | `--sds-border-link-dashed` `$sds-border-link-dashed` | | `1px dashed` |
31
+ | | | Dashed link (hover and pressed states) | | `--sds-border-link-solid` `$sds-border-link-solid` | | `1px solid` |
32
32
 
33
33
  ### Accent Borders
34
34
 
35
35
  These borders are used throughout the SDS whenever borders in Accent colors are needed.
36
36
 
37
- | **Visual** | | **Usage** | | **CSS / SCSS Variables** | | **Value** |
38
- | --- | --- | --- | --- | --- | --- | --- |
39
- | | | Default | | `--sds-border-accent-default` `$sds-border-accent-default` | | `1px solid #0b68f8` |
40
- | | | Hover | | `--sds-border-accent-hover` `$sds-border-accent-hover` | | `1px solid #0142a4` |
41
- | | | Disabled | | `--sds-border-accent-disabled` `$sds-border-accent-disabled` | | `1px solid #a6c9ff` |
42
- | | | Default (dashed) | | `--sds-border-accent-dashed` `$sds-border-accent-dashed` | | `1px dashed #0b68f8` |
37
+ | **Visual** | | **Usage** | | **CSS / SCSS Variables** | | **Value** |
38
+ | ---------- | --- | ---------------- | --- | ------------------------------------------------------------ | --- | -------------------- |
39
+ | | | Default | | `--sds-border-accent-default` `$sds-border-accent-default` | | `1px solid #0b68f8` |
40
+ | | | Hover | | `--sds-border-accent-hover` `$sds-border-accent-hover` | | `1px solid #0142a4` |
41
+ | | | Disabled | | `--sds-border-accent-disabled` `$sds-border-accent-disabled` | | `1px solid #a6c9ff` |
42
+ | | | Default (dashed) | | `--sds-border-accent-dashed` `$sds-border-accent-dashed` | | `1px dashed #0b68f8` |
43
43
 
44
44
  ### Intent Borders
45
45
 
46
- These borders are used on elements when needing to communicate a specific intent as indicated in the *Intent* column.
46
+ These borders are used on elements when needing to communicate a specific intent as indicated in the _Intent_ column.
47
47
 
48
- | **Visual** | | **Intent** | | **CSS / SCSS Variables** | | **Value** |
49
- | --- | --- | --- | --- | --- | --- | --- |
50
- | | | Beta | | `--sds-border-beta-default` `$sds-border-beta-default` | | `1px solid #7a41ce` |
51
- | | | Info | | `--sds-border-info-default` `$sds-border-info-default` | | `1px solid #0b68f8` |
52
- | | | Negative | | `--sds-border-negative-default` `$sds-border-negative-default` | | `1px solid #dc132c` |
53
- | | | Neutral | | `--sds-border-neutral-default` `$sds-border-neutral-default` | | `1px solid #999999` |
54
- | | | Notice | | `--sds-border-notice-default` `$sds-border-notice-default` | | `1px solid #f5a623` |
55
- | | | Positive | | `--sds-border-positive-default` `$sds-border-positive-default` | | `1px solid #3cb371` |
48
+ | **Visual** | | **Intent** | | **CSS / SCSS Variables** | | **Value** |
49
+ | ---------- | --- | ---------- | --- | -------------------------------------------------------------- | --- | ------------------- |
50
+ | | | Beta | | `--sds-border-beta-default` `$sds-border-beta-default` | | `1px solid #7a41ce` |
51
+ | | | Info | | `--sds-border-info-default` `$sds-border-info-default` | | `1px solid #0b68f8` |
52
+ | | | Negative | | `--sds-border-negative-default` `$sds-border-negative-default` | | `1px solid #dc132c` |
53
+ | | | Neutral | | `--sds-border-neutral-default` `$sds-border-neutral-default` | | `1px solid #999999` |
54
+ | | | Notice | | `--sds-border-notice-default` `$sds-border-notice-default` | | `1px solid #f5a623` |
55
+ | | | Positive | | `--sds-border-positive-default` `$sds-border-positive-default` | | `1px solid #3cb371` |
56
56
 
57
57
  ---
58
58
 
@@ -60,30 +60,30 @@ Borders are the lines that go around elements to help contain them while visuall
60
60
 
61
61
  ### Types of Borders
62
62
 
63
- | **Visual** | | **Border Type** | | **Usage** |
64
- | --- | --- | --- | --- | --- |
65
- | | | Standard Border | | Base style for all borders. Borders are used on secondary buttons, input fields, modals, dropdown menus, etc. |
66
- | | | Dashed Border | | Dashed borders are used in file upload/drag and drop containers and Dashed Text Links. |
63
+ | **Visual** | | **Border Type** | | **Usage** |
64
+ | ---------- | --- | --------------- | --- | ------------------------------------------------------------------------------------------------------------- |
65
+ | | | Standard Border | | Base style for all borders. Borders are used on secondary buttons, input fields, modals, dropdown menus, etc. |
66
+ | | | Dashed Border | | Dashed borders are used in file upload/drag and drop containers and Dashed Text Links. |
67
67
 
68
68
  ### Border Variables
69
69
 
70
- | **Visual** | | **Variable** | | **Value** | | **Usage** |
71
- | --- | --- | --- | --- | --- | --- | --- |
72
- | | | `borderPrimary600` | | `1px solid primary600;` | | Active rounded and square buttons |
73
- | | | `borderPrimary500` | | `1px solid primary500;` | | Hover rounded and square buttons |
74
- | | | `borderPrimary400` | | `1px solid primary400;` | | Secondary buttons, active states of input containers |
75
- | | | `borderGray500` | | `1px solid gray500;` | | Input and dropdown hover states |
76
- | | | `borderGray400` | | `1px solid gray400;` | | Input borders (default states) |
77
- | | | `borderGray300` | | `1px solid gray300;` | | Disabled or non-interactive containers (buttons/inputs/tooltips) |
78
- | | | `borderGray200` | | `1px solid gray200;` | | |
79
- | | | `borderGray100` | | `1px solid gray100;` | | Modals and dropdown Menus |
80
- | | | `borderSuccess400` | | `1px solid success400;` | | |
81
- | | | `borderError400` | | `1px solid error500;` | | |
82
- | | | `borderWarning400` | | `1px solid warning500;` | | Warning state on inputs |
83
- | | | `borderGray400Dashed` | | `2px dashed gray400;` | | File upload/drag and drop containers |
84
- | | | `borderPrimary400Dashed` | | `2px dashed primary400;` | | Hover states for containers with dashed borders |
85
- | | | `borderLinkDashed` | | `1px dashed;` | | Default bottom-border for Dashed Text Links; border color is inherited from the color used in the paragraph it is part of. |
86
- | | | `borderLinkSolid` | | `1px solid;` | | Hover and Pressed bottom-border for Dashed Text Links; border color is inherited from the color used in the paragraph it is part of. |
70
+ | **Visual** | | **Variable** | | **Value** | | **Usage** |
71
+ | ---------- | --- | ------------------------ | --- | ------------------------ | --- | ------------------------------------------------------------------------------------------------------------------------------------ |
72
+ | | | `borderPrimary600` | | `1px solid primary600;` | | Active rounded and square buttons |
73
+ | | | `borderPrimary500` | | `1px solid primary500;` | | Hover rounded and square buttons |
74
+ | | | `borderPrimary400` | | `1px solid primary400;` | | Secondary buttons, active states of input containers |
75
+ | | | `borderGray500` | | `1px solid gray500;` | | Input and dropdown hover states |
76
+ | | | `borderGray400` | | `1px solid gray400;` | | Input borders (default states) |
77
+ | | | `borderGray300` | | `1px solid gray300;` | | Disabled or non-interactive containers (buttons/inputs/tooltips) |
78
+ | | | `borderGray200` | | `1px solid gray200;` | | |
79
+ | | | `borderGray100` | | `1px solid gray100;` | | Modals and dropdown Menus |
80
+ | | | `borderSuccess400` | | `1px solid success400;` | | |
81
+ | | | `borderError400` | | `1px solid error500;` | | |
82
+ | | | `borderWarning400` | | `1px solid warning500;` | | Warning state on inputs |
83
+ | | | `borderGray400Dashed` | | `2px dashed gray400;` | | File upload/drag and drop containers |
84
+ | | | `borderPrimary400Dashed` | | `2px dashed primary400;` | | Hover states for containers with dashed borders |
85
+ | | | `borderLinkDashed` | | `1px dashed;` | | Default bottom-border for Dashed Text Links; border color is inherited from the color used in the paragraph it is part of. |
86
+ | | | `borderLinkSolid` | | `1px solid;` | | Hover and Pressed bottom-border for Dashed Text Links; border color is inherited from the color used in the paragraph it is part of. |
87
87
 
88
88
  ---
89
89
 
@@ -91,28 +91,27 @@ Borders are the lines that go around elements to help contain them while visuall
91
91
 
92
92
  ### Types of Borders
93
93
 
94
- | **Visual** | | **Border Type** | | **Usage** |
95
- | --- | --- | --- | --- | --- |
96
- | | | Standard Border | | Base style for all borders. Borders are used on secondary buttons, input fields, modals, dropdown menus, etc. |
97
- | | | Dashed Border | | Dashed borders are used in file upload/drag and drop containers and Dashed Text Links. |
94
+ | **Visual** | | **Border Type** | | **Usage** |
95
+ | ---------- | --- | --------------- | --- | ------------------------------------------------------------------------------------------------------------- |
96
+ | | | Standard Border | | Base style for all borders. Borders are used on secondary buttons, input fields, modals, dropdown menus, etc. |
97
+ | | | Dashed Border | | Dashed borders are used in file upload/drag and drop containers and Dashed Text Links. |
98
98
 
99
99
  ### Border Variables
100
100
 
101
- | **Visual** | | **Variable** | | **Value** | | **Usage** |
102
- | --- | --- | --- | --- | --- | --- | --- |
103
- | | | `borderPrimary600` | | `1px solid primary600;` | | Active rounded and square buttons |
104
- | | | `borderPrimary500` | | `1px solid primary500;` | | Hover rounded and square buttons |
105
- | | | `borderPrimary400` | | `1px solid primary400;` | | Secondary buttons, active states of input containers |
106
- | | | `borderGray500` | | `1px solid gray500;` | | Input and dropdown hover states |
107
- | | | `borderGray400` | | `1px solid gray400;` | | Input borders (default states) |
108
- | | | `borderGray300` | | `1px solid gray300;` | | Disabled or non-interactive containers (buttons/inputs/tooltips) |
109
- | | | `borderGray200` | | `1px solid gray200;` | | |
110
- | | | `borderGray100` | | `1px solid gray100;` | | Modals and dropdown Menus |
111
- | | | `borderSuccess400` | | `1px solid success400;` | | |
112
- | | | `borderError400` | | `1px solid error500;` | | |
113
- | | | `borderWarning400` | | `1px solid warning500;` | | Warning state on inputs |
114
- | | | `borderGray400Dashed` | | `2px dashed gray400;` | | File upload/drag and drop containers |
115
- | | | `borderPrimary400Dashed` | | `2px dashed primary400;` | | Hover states for containers with dashed borders |
116
- | | | `borderLinkDashed` | | `1px dashed;` | | Default bottom-border for Dashed Text Links; border color is inherited from the color used in the paragraph it is part of. |
117
- | | | `borderLinkSolid` | | `1px solid;` | | Hover and Pressed bottom-border for Dashed Text Links; border color is inherited from the color used in the paragraph it is part of. |
118
-
101
+ | **Visual** | | **Variable** | | **Value** | | **Usage** |
102
+ | ---------- | --- | ------------------------ | --- | ------------------------ | --- | ------------------------------------------------------------------------------------------------------------------------------------ |
103
+ | | | `borderPrimary600` | | `1px solid primary600;` | | Active rounded and square buttons |
104
+ | | | `borderPrimary500` | | `1px solid primary500;` | | Hover rounded and square buttons |
105
+ | | | `borderPrimary400` | | `1px solid primary400;` | | Secondary buttons, active states of input containers |
106
+ | | | `borderGray500` | | `1px solid gray500;` | | Input and dropdown hover states |
107
+ | | | `borderGray400` | | `1px solid gray400;` | | Input borders (default states) |
108
+ | | | `borderGray300` | | `1px solid gray300;` | | Disabled or non-interactive containers (buttons/inputs/tooltips) |
109
+ | | | `borderGray200` | | `1px solid gray200;` | | |
110
+ | | | `borderGray100` | | `1px solid gray100;` | | Modals and dropdown Menus |
111
+ | | | `borderSuccess400` | | `1px solid success400;` | | |
112
+ | | | `borderError400` | | `1px solid error500;` | | |
113
+ | | | `borderWarning400` | | `1px solid warning500;` | | Warning state on inputs |
114
+ | | | `borderGray400Dashed` | | `2px dashed gray400;` | | File upload/drag and drop containers |
115
+ | | | `borderPrimary400Dashed` | | `2px dashed primary400;` | | Hover states for containers with dashed borders |
116
+ | | | `borderLinkDashed` | | `1px dashed;` | | Default bottom-border for Dashed Text Links; border color is inherited from the color used in the paragraph it is part of. |
117
+ | | | `borderLinkSolid` | | `1px solid;` | | Hover and Pressed bottom-border for Dashed Text Links; border color is inherited from the color used in the paragraph it is part of. |