@czi-sds/mcp 0.2.2 → 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 (147) 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-cache.json +5195 -0
  46. package/data/zeroheight-exports/Accordion.md +717 -0
  47. package/data/zeroheight-exports/Banner.md +599 -0
  48. package/data/zeroheight-exports/Borders.md +117 -0
  49. package/data/zeroheight-exports/Buttons.md +2305 -0
  50. package/data/zeroheight-exports/Callout.md +778 -0
  51. package/data/zeroheight-exports/Colors.md +632 -0
  52. package/data/zeroheight-exports/Content-Card.md +161 -0
  53. package/data/zeroheight-exports/Contributing-to-SDS.md +98 -0
  54. package/data/zeroheight-exports/Control-Inputs.md +2121 -0
  55. package/data/zeroheight-exports/Corners.md +111 -0
  56. package/data/zeroheight-exports/Cover-page.md +3 -0
  57. package/data/zeroheight-exports/Dialog.md +1191 -0
  58. package/data/zeroheight-exports/Downloads.md +120 -0
  59. package/data/zeroheight-exports/Drop-Shadows.md +79 -0
  60. package/data/zeroheight-exports/Dropdown-Input.md +1180 -0
  61. package/data/zeroheight-exports/Dropdown-Menu.md +3883 -0
  62. package/data/zeroheight-exports/Element-Status-Tracker.md +267 -0
  63. package/data/zeroheight-exports/Field-Inputs.md +984 -0
  64. package/data/zeroheight-exports/Filters.md +888 -0
  65. package/data/zeroheight-exports/Getting-Started.md +1159 -0
  66. package/data/zeroheight-exports/Hero.md +262 -0
  67. package/data/zeroheight-exports/Icons.md +431 -0
  68. package/data/zeroheight-exports/Intent.md +46 -0
  69. package/data/zeroheight-exports/Introduction-to-Bases.md +35 -0
  70. package/data/zeroheight-exports/Introduction-to-Cells.md +35 -0
  71. package/data/zeroheight-exports/Introduction-to-DNA.md +35 -0
  72. package/data/zeroheight-exports/Introduction-to-Genes.md +35 -0
  73. package/data/zeroheight-exports/Introduction.md +115 -0
  74. package/data/zeroheight-exports/Link.md +386 -0
  75. package/data/zeroheight-exports/Lists.md +632 -0
  76. package/data/zeroheight-exports/Loading-Indicator.md +37 -0
  77. package/data/zeroheight-exports/Navigation.md +874 -0
  78. package/data/zeroheight-exports/Notification.md +888 -0
  79. package/data/zeroheight-exports/Panel.md +978 -0
  80. package/data/zeroheight-exports/README.md +124 -0
  81. package/data/zeroheight-exports/Responsive-Design.md +278 -0
  82. package/data/zeroheight-exports/Search-Input.md +53 -0
  83. package/data/zeroheight-exports/Search.md +592 -0
  84. package/data/zeroheight-exports/Segmented-Control.md +584 -0
  85. package/data/zeroheight-exports/Spacing.md +297 -0
  86. package/data/zeroheight-exports/Table.md +4944 -0
  87. package/data/zeroheight-exports/Tabs.md +801 -0
  88. package/data/zeroheight-exports/Tags.md +1055 -0
  89. package/data/zeroheight-exports/Text-Link.md +184 -0
  90. package/data/zeroheight-exports/Theming.md +332 -0
  91. package/data/zeroheight-exports/Tooltips.md +1580 -0
  92. package/data/zeroheight-exports/Typography.md +768 -0
  93. package/dist/stdio.js +193 -93
  94. package/package.json +4 -4
  95. package/data/component-props/Chip.json +0 -73
  96. package/data/component-props/List.json +0 -43
  97. package/data/component-props/Menu.json +0 -48
  98. package/data/component-props/Table.json +0 -26
  99. package/data/component-props-storybook/Accordion-storybook.json +0 -45
  100. package/data/component-props-storybook/Alert-storybook.json +0 -30
  101. package/data/component-props-storybook/Autocomplete-storybook.json +0 -67
  102. package/data/component-props-storybook/Banner-storybook.json +0 -78
  103. package/data/component-props-storybook/Button-storybook.json +0 -115
  104. package/data/component-props-storybook/ButtonDropdown-storybook.json +0 -73
  105. package/data/component-props-storybook/ButtonIcon-storybook.json +0 -60
  106. package/data/component-props-storybook/ButtonToggle-storybook.json +0 -68
  107. package/data/component-props-storybook/Callout-storybook.json +0 -90
  108. package/data/component-props-storybook/CellBasic-storybook.json +0 -138
  109. package/data/component-props-storybook/CellComponent-storybook.json +0 -48
  110. package/data/component-props-storybook/CellHeader-storybook.json +0 -71
  111. package/data/component-props-storybook/Chip-storybook.json +0 -26
  112. package/data/component-props-storybook/ComplexFilter-storybook.json +0 -60
  113. package/data/component-props-storybook/ContentCard-storybook.json +0 -175
  114. package/data/component-props-storybook/Dialog-storybook.json +0 -56
  115. package/data/component-props-storybook/Dropdown-storybook.json +0 -93
  116. package/data/component-props-storybook/DropdownMenu-storybook.json +0 -73
  117. package/data/component-props-storybook/HeatmapChart-storybook.json +0 -55
  118. package/data/component-props-storybook/Icon-storybook.json +0 -75
  119. package/data/component-props-storybook/InputCheckbox-storybook.json +0 -57
  120. package/data/component-props-storybook/InputDropdown-storybook.json +0 -80
  121. package/data/component-props-storybook/InputRadio-storybook.json +0 -56
  122. package/data/component-props-storybook/InputSearch-storybook.json +0 -55
  123. package/data/component-props-storybook/InputSlider-storybook.json +0 -55
  124. package/data/component-props-storybook/InputText-storybook.json +0 -59
  125. package/data/component-props-storybook/InputToggle-storybook.json +0 -42
  126. package/data/component-props-storybook/Link-storybook.json +0 -50
  127. package/data/component-props-storybook/List-storybook.json +0 -26
  128. package/data/component-props-storybook/LoadingIndicator-storybook.json +0 -34
  129. package/data/component-props-storybook/Menu-storybook.json +0 -26
  130. package/data/component-props-storybook/MenuItem-storybook.json +0 -74
  131. package/data/component-props-storybook/MenuSelect-storybook.json +0 -38
  132. package/data/component-props-storybook/NavigationFooter-storybook.json +0 -67
  133. package/data/component-props-storybook/NavigationHeader-storybook.json +0 -115
  134. package/data/component-props-storybook/NavigationJumpTo-storybook.json +0 -41
  135. package/data/component-props-storybook/Notification-storybook.json +0 -89
  136. package/data/component-props-storybook/Pagination-storybook.json +0 -50
  137. package/data/component-props-storybook/Panel-storybook.json +0 -52
  138. package/data/component-props-storybook/SegmentedControl-storybook.json +0 -30
  139. package/data/component-props-storybook/Table-storybook.json +0 -26
  140. package/data/component-props-storybook/TableHeader-storybook.json +0 -26
  141. package/data/component-props-storybook/TableRow-storybook.json +0 -62
  142. package/data/component-props-storybook/Tabs-storybook.json +0 -45
  143. package/data/component-props-storybook/Tag-storybook.json +0 -78
  144. package/data/component-props-storybook/TagFilter-storybook.json +0 -30
  145. package/data/component-props-storybook/Tooltip-storybook.json +0 -85
  146. package/data/component-props-storybook/TooltipCondensed-storybook.json +0 -38
  147. package/data/component-props-storybook/TooltipTable-storybook.json +0 -47
@@ -0,0 +1,117 @@
1
+ # Borders
2
+
3
+ Borders are the lines that go around elements to help contain them while visually communicating to users an element's usage, status, or intent.
4
+
5
+ ### Types of Borders
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. |
11
+
12
+ ### Base Borders
13
+
14
+ These borders are used throughout the SDS whenever borders in Base colors are needed.
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` |
23
+
24
+ ### Link Borders
25
+
26
+ Use this border type when implementing links with a dashed underline.
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` |
32
+
33
+ ### Accent Borders
34
+
35
+ These borders are used throughout the SDS whenever borders in Accent colors are needed.
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` |
43
+
44
+ ### Intent Borders
45
+
46
+ These borders are used on elements when needing to communicate a specific intent as indicated in the _Intent_ column.
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` |
56
+
57
+ ---
58
+
59
+ Borders are the lines that go around elements to help contain them while visually communicating to users an element's usage, status, or intent.
60
+
61
+ ### Types of Borders
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. |
67
+
68
+ ### Border Variables
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. |
87
+
88
+ ---
89
+
90
+ Borders are the lines that go around elements to help contain them while visually communicating to users an element's usage, status, or intent.
91
+
92
+ ### Types of Borders
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. |
98
+
99
+ ### Border Variables
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. |