@redsift/ds-mcp-server 12.3.1-muiv6-alpha.2

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 (258) hide show
  1. package/README.md +203 -0
  2. package/consumer-instructions/.cursorrules +80 -0
  3. package/consumer-instructions/.windsurfrules +80 -0
  4. package/consumer-instructions/CLAUDE.md +87 -0
  5. package/consumer-instructions/redsift-design-system.instructions.md +87 -0
  6. package/data/demos/patterns/crossfiltered-datagrid-page/example.tsx +750 -0
  7. package/data/demos/patterns/crossfiltered-datagrid-page/with-empty-state.tsx +111 -0
  8. package/data/demos/patterns/crossfiltered-datagrid-page/with-error.tsx +122 -0
  9. package/data/demos/patterns/crossfiltered-datagrid-page/with-loading.tsx +88 -0
  10. package/data/demos/patterns/datagrid-page/example.tsx +521 -0
  11. package/data/demos/patterns/datagrid-page/with-empty-state.tsx +80 -0
  12. package/data/demos/patterns/datagrid-page/with-error.tsx +96 -0
  13. package/data/demos/patterns/datagrid-page/with-loading.tsx +57 -0
  14. package/data/demos/patterns/drilldown-datagrid-page/example.tsx +715 -0
  15. package/data/demos/patterns/drilldown-datagrid-page/with-empty-state.tsx +113 -0
  16. package/data/demos/patterns/drilldown-datagrid-page/with-error.tsx +125 -0
  17. package/data/demos/patterns/drilldown-datagrid-page/with-loading.tsx +90 -0
  18. package/data/demos/patterns/server-datagrid-page/example.tsx +757 -0
  19. package/data/demos/patterns/server-datagrid-page/with-empty-state.tsx +107 -0
  20. package/data/demos/patterns/server-datagrid-page/with-error.tsx +107 -0
  21. package/data/demos/patterns/server-datagrid-page/with-loading.tsx +63 -0
  22. package/data/docs/components/charts/Arc.json +179 -0
  23. package/data/docs/components/charts/Arcs.json +104 -0
  24. package/data/docs/components/charts/Axis.json +269 -0
  25. package/data/docs/components/charts/Bar.json +236 -0
  26. package/data/docs/components/charts/BarChart.json +852 -0
  27. package/data/docs/components/charts/BarChartBars.json +18 -0
  28. package/data/docs/components/charts/BarChartGroupedTooltip.json +9 -0
  29. package/data/docs/components/charts/BarChartOverlay.json +34 -0
  30. package/data/docs/components/charts/BarChartSection.json +94 -0
  31. package/data/docs/components/charts/BaseBarChart.json +852 -0
  32. package/data/docs/components/charts/ChartContainerTitle.json +574 -0
  33. package/data/docs/components/charts/DataPoint.json +160 -0
  34. package/data/docs/components/charts/Dot.json +191 -0
  35. package/data/docs/components/charts/EmptyBarChart.json +852 -0
  36. package/data/docs/components/charts/EmptyLineChart.json +753 -0
  37. package/data/docs/components/charts/EmptyPieChart.json +826 -0
  38. package/data/docs/components/charts/EmptyScatterPlot.json +802 -0
  39. package/data/docs/components/charts/Legend.json +510 -0
  40. package/data/docs/components/charts/LegendItem.json +128 -0
  41. package/data/docs/components/charts/Line.json +69 -0
  42. package/data/docs/components/charts/LineChart.json +753 -0
  43. package/data/docs/components/charts/LoadingBarChart.json +852 -0
  44. package/data/docs/components/charts/LoadingLineChart.json +753 -0
  45. package/data/docs/components/charts/LoadingPieChart.json +826 -0
  46. package/data/docs/components/charts/LoadingScatterPlot.json +802 -0
  47. package/data/docs/components/charts/PieChart.json +826 -0
  48. package/data/docs/components/charts/RenderedLineChart.json +753 -0
  49. package/data/docs/components/charts/RenderedLinearBarChart.json +823 -0
  50. package/data/docs/components/charts/RenderedOrdinalBarChart.json +852 -0
  51. package/data/docs/components/charts/RenderedPieChart.json +826 -0
  52. package/data/docs/components/charts/RenderedScatterPlot.json +802 -0
  53. package/data/docs/components/charts/ScatterPlot.json +802 -0
  54. package/data/docs/components/charts/getAxisType.json +9 -0
  55. package/data/docs/components/charts/getComponentPosition.json +9 -0
  56. package/data/docs/components/dashboard/ChartEmptyState.json +42 -0
  57. package/data/docs/components/dashboard/Dashboard.json +26 -0
  58. package/data/docs/components/dashboard/DataCard.json +300 -0
  59. package/data/docs/components/dashboard/DataCardBody.json +431 -0
  60. package/data/docs/components/dashboard/DataCardHeader.json +304 -0
  61. package/data/docs/components/dashboard/DataCardListbox.json +529 -0
  62. package/data/docs/components/dashboard/DataRow.json +539 -0
  63. package/data/docs/components/dashboard/DrilldownItem.json +342 -0
  64. package/data/docs/components/dashboard/FilterableBarChart.json +83 -0
  65. package/data/docs/components/dashboard/FilterableDataGrid.json +83 -0
  66. package/data/docs/components/dashboard/FilterablePieChart.json +83 -0
  67. package/data/docs/components/dashboard/FilterableScatterPlot.json +83 -0
  68. package/data/docs/components/dashboard/PdfDocument.json +58 -0
  69. package/data/docs/components/dashboard/PdfExportButton.json +458 -0
  70. package/data/docs/components/dashboard/TimeSeriesBarChart.json +172 -0
  71. package/data/docs/components/dashboard/WithFilters.json +83 -0
  72. package/data/docs/components/design-system/ActiveDescendantListbox.json +521 -0
  73. package/data/docs/components/design-system/Alert.json +349 -0
  74. package/data/docs/components/design-system/AppBar.json +64 -0
  75. package/data/docs/components/design-system/AppContainer.json +67 -0
  76. package/data/docs/components/design-system/AppContent.json +566 -0
  77. package/data/docs/components/design-system/AppSidePanel.json +87 -0
  78. package/data/docs/components/design-system/Badge.json +293 -0
  79. package/data/docs/components/design-system/BaseBreadcrumbs.json +298 -0
  80. package/data/docs/components/design-system/BaseGrid.json +543 -0
  81. package/data/docs/components/design-system/BaseSkeleton.json +338 -0
  82. package/data/docs/components/design-system/BreadcrumbItem.json +231 -0
  83. package/data/docs/components/design-system/Breadcrumbs.json +298 -0
  84. package/data/docs/components/design-system/Button.json +402 -0
  85. package/data/docs/components/design-system/ButtonGroup.json +415 -0
  86. package/data/docs/components/design-system/ButtonLink.json +568 -0
  87. package/data/docs/components/design-system/Card.json +328 -0
  88. package/data/docs/components/design-system/CardActions.json +431 -0
  89. package/data/docs/components/design-system/CardBody.json +431 -0
  90. package/data/docs/components/design-system/CardHeader.json +428 -0
  91. package/data/docs/components/design-system/Checkbox.json +426 -0
  92. package/data/docs/components/design-system/CheckboxGroup.json +382 -0
  93. package/data/docs/components/design-system/ConditionalWrapper.json +40 -0
  94. package/data/docs/components/design-system/DetailedCard.json +401 -0
  95. package/data/docs/components/design-system/DetailedCardCollapsibleSectionItems.json +29 -0
  96. package/data/docs/components/design-system/DetailedCardHeader.json +37 -0
  97. package/data/docs/components/design-system/DetailedCardSection.json +90 -0
  98. package/data/docs/components/design-system/DetailedCardSectionItem.json +109 -0
  99. package/data/docs/components/design-system/Flexbox.json +523 -0
  100. package/data/docs/components/design-system/FocusWithinGroup.json +9 -0
  101. package/data/docs/components/design-system/Grid.json +543 -0
  102. package/data/docs/components/design-system/GridItem.json +388 -0
  103. package/data/docs/components/design-system/Heading.json +390 -0
  104. package/data/docs/components/design-system/Icon.json +325 -0
  105. package/data/docs/components/design-system/IconButton.json +371 -0
  106. package/data/docs/components/design-system/IconButtonLink.json +588 -0
  107. package/data/docs/components/design-system/Item.json +554 -0
  108. package/data/docs/components/design-system/Link.json +552 -0
  109. package/data/docs/components/design-system/LinkButton.json +397 -0
  110. package/data/docs/components/design-system/Listbox.json +529 -0
  111. package/data/docs/components/design-system/Number.json +773 -0
  112. package/data/docs/components/design-system/NumberField.json +594 -0
  113. package/data/docs/components/design-system/Pill.json +378 -0
  114. package/data/docs/components/design-system/ProgressBar.json +121 -0
  115. package/data/docs/components/design-system/RadarSvgLinearGradient.json +9 -0
  116. package/data/docs/components/design-system/Radio.json +415 -0
  117. package/data/docs/components/design-system/RadioGroup.json +382 -0
  118. package/data/docs/components/design-system/RenderedListboxItem.json +18 -0
  119. package/data/docs/components/design-system/RovingTabindexListbox.json +521 -0
  120. package/data/docs/components/design-system/Shield.json +360 -0
  121. package/data/docs/components/design-system/SideNavigationMenu.json +144 -0
  122. package/data/docs/components/design-system/SideNavigationMenuBar.json +89 -0
  123. package/data/docs/components/design-system/SideNavigationMenuItem.json +319 -0
  124. package/data/docs/components/design-system/Skeleton.json +338 -0
  125. package/data/docs/components/design-system/SkeletonCircle.json +338 -0
  126. package/data/docs/components/design-system/SkeletonText.json +371 -0
  127. package/data/docs/components/design-system/Spinner.json +291 -0
  128. package/data/docs/components/design-system/Switch.json +415 -0
  129. package/data/docs/components/design-system/SwitchGroup.json +382 -0
  130. package/data/docs/components/design-system/Text.json +418 -0
  131. package/data/docs/components/design-system/TextArea.json +501 -0
  132. package/data/docs/components/design-system/TextField.json +539 -0
  133. package/data/docs/components/design-system/sizeToDimension.json +9 -0
  134. package/data/docs/components/pickers/BaseCombobox.json +320 -0
  135. package/data/docs/components/pickers/BaseComboboxContent.json +453 -0
  136. package/data/docs/components/pickers/BaseMenuButton.json +240 -0
  137. package/data/docs/components/pickers/BaseMenuButtonContent.json +442 -0
  138. package/data/docs/components/pickers/BaseSelect.json +258 -0
  139. package/data/docs/components/pickers/Combobox.json +320 -0
  140. package/data/docs/components/pickers/ComboboxContent.json +453 -0
  141. package/data/docs/components/pickers/ComboboxContentFooter.json +431 -0
  142. package/data/docs/components/pickers/ComboboxContentHeader.json +431 -0
  143. package/data/docs/components/pickers/ComboboxContentListbox.json +541 -0
  144. package/data/docs/components/pickers/ComboboxTrigger.json +336 -0
  145. package/data/docs/components/pickers/Item.json +554 -0
  146. package/data/docs/components/pickers/MenuButton.json +240 -0
  147. package/data/docs/components/pickers/MenuButtonContent.json +442 -0
  148. package/data/docs/components/pickers/MenuButtonContentFooter.json +431 -0
  149. package/data/docs/components/pickers/MenuButtonContentHeader.json +431 -0
  150. package/data/docs/components/pickers/MenuButtonContentMenu.json +523 -0
  151. package/data/docs/components/pickers/MenuButtonTrigger.json +287 -0
  152. package/data/docs/components/pickers/Select.json +258 -0
  153. package/data/docs/components/pickers/SelectContent.json +442 -0
  154. package/data/docs/components/pickers/SelectTrigger.json +298 -0
  155. package/data/docs/components/popovers/BaseDialog.json +114 -0
  156. package/data/docs/components/popovers/BaseDialogContent.json +21 -0
  157. package/data/docs/components/popovers/BasePopover.json +171 -0
  158. package/data/docs/components/popovers/BaseToggletip.json +184 -0
  159. package/data/docs/components/popovers/BaseTooltip.json +121 -0
  160. package/data/docs/components/popovers/Button.json +402 -0
  161. package/data/docs/components/popovers/ButtonLink.json +568 -0
  162. package/data/docs/components/popovers/Dialog.json +114 -0
  163. package/data/docs/components/popovers/DialogContent.json +21 -0
  164. package/data/docs/components/popovers/DialogContentActions.json +442 -0
  165. package/data/docs/components/popovers/DialogContentBody.json +442 -0
  166. package/data/docs/components/popovers/DialogContentHeader.json +76 -0
  167. package/data/docs/components/popovers/DialogTrigger.json +276 -0
  168. package/data/docs/components/popovers/IconButton.json +371 -0
  169. package/data/docs/components/popovers/IconButtonLink.json +588 -0
  170. package/data/docs/components/popovers/Link.json +552 -0
  171. package/data/docs/components/popovers/LinkButton.json +397 -0
  172. package/data/docs/components/popovers/Popover.json +171 -0
  173. package/data/docs/components/popovers/PopoverContent.json +442 -0
  174. package/data/docs/components/popovers/PopoverTrigger.json +276 -0
  175. package/data/docs/components/popovers/Toast.json +145 -0
  176. package/data/docs/components/popovers/ToastContainer.json +122 -0
  177. package/data/docs/components/popovers/Toggletip.json +184 -0
  178. package/data/docs/components/popovers/ToggletipContent.json +402 -0
  179. package/data/docs/components/popovers/ToggletipTrigger.json +276 -0
  180. package/data/docs/components/popovers/Tooltip.json +121 -0
  181. package/data/docs/components/popovers/TooltipContent.json +402 -0
  182. package/data/docs/components/popovers/TooltipTrigger.json +276 -0
  183. package/data/docs/components/products/Dialog.json +106 -0
  184. package/data/docs/components/products/MenuButton.json +232 -0
  185. package/data/docs/components/products/PulsedRadarImage.json +9 -0
  186. package/data/docs/components/products/RadarButton.json +402 -0
  187. package/data/docs/components/products/RadarItem.json +554 -0
  188. package/data/docs/components/table/ControlledPagination.json +9 -0
  189. package/data/docs/components/table/DataGrid.json +93 -0
  190. package/data/docs/components/table/GridToolbarFilterSemanticField.json +69 -0
  191. package/data/docs/components/table/ServerSideControlledPagination.json +9 -0
  192. package/data/docs/components/table/StatefulDataGrid.json +117 -0
  193. package/data/docs/components/table/TextCell.json +118 -0
  194. package/data/docs/components/table/Toolbar.json +145 -0
  195. package/data/docs/components/table/ToolbarWrapper.json +9 -0
  196. package/data/docs/components-index.json +1206 -0
  197. package/data/docs/components.json +55694 -0
  198. package/data/docs/llms-full.txt +8012 -0
  199. package/data/docs/llms.txt +234 -0
  200. package/data/docs/patterns-catalog.md +359 -0
  201. package/data/docs/patterns.json +712 -0
  202. package/data/metadata.json +4 -0
  203. package/data/patterns/crossfiltered-datagrid-page.mdx +386 -0
  204. package/data/patterns/datagrid-page.mdx +214 -0
  205. package/data/patterns/drilldown-datagrid-page.mdx +291 -0
  206. package/data/patterns/server-datagrid-page.mdx +301 -0
  207. package/data/tokens/properties/components/dark-components.json +1108 -0
  208. package/data/tokens/properties/components/light-components.json +1108 -0
  209. package/data/tokens/properties/core/border-radius.json +3 -0
  210. package/data/tokens/properties/core/color.json +280 -0
  211. package/data/tokens/properties/core/layout.json +14 -0
  212. package/data/tokens/properties/core/typography.json +199 -0
  213. package/data/tokens/redsift-design-tokens.css +1391 -0
  214. package/dist/data-store.d.ts +47 -0
  215. package/dist/data-store.d.ts.map +1 -0
  216. package/dist/data-store.js +152 -0
  217. package/dist/data-store.js.map +1 -0
  218. package/dist/index.d.ts +16 -0
  219. package/dist/index.d.ts.map +1 -0
  220. package/dist/index.js +50 -0
  221. package/dist/index.js.map +1 -0
  222. package/dist/init.d.ts +14 -0
  223. package/dist/init.d.ts.map +1 -0
  224. package/dist/init.js +137 -0
  225. package/dist/init.js.map +1 -0
  226. package/dist/paths.d.ts +30 -0
  227. package/dist/paths.d.ts.map +1 -0
  228. package/dist/paths.js +53 -0
  229. package/dist/paths.js.map +1 -0
  230. package/dist/pattern-store.d.ts +41 -0
  231. package/dist/pattern-store.d.ts.map +1 -0
  232. package/dist/pattern-store.js +177 -0
  233. package/dist/pattern-store.js.map +1 -0
  234. package/dist/prompts.d.ts +14 -0
  235. package/dist/prompts.d.ts.map +1 -0
  236. package/dist/prompts.js +762 -0
  237. package/dist/prompts.js.map +1 -0
  238. package/dist/resources.d.ts +14 -0
  239. package/dist/resources.d.ts.map +1 -0
  240. package/dist/resources.js +482 -0
  241. package/dist/resources.js.map +1 -0
  242. package/dist/scaffold.d.ts +31 -0
  243. package/dist/scaffold.d.ts.map +1 -0
  244. package/dist/scaffold.js +239 -0
  245. package/dist/scaffold.js.map +1 -0
  246. package/dist/token-store.d.ts +70 -0
  247. package/dist/token-store.d.ts.map +1 -0
  248. package/dist/token-store.js +196 -0
  249. package/dist/token-store.js.map +1 -0
  250. package/dist/tools.d.ts +15 -0
  251. package/dist/tools.d.ts.map +1 -0
  252. package/dist/tools.js +491 -0
  253. package/dist/tools.js.map +1 -0
  254. package/dist/types.d.ts +108 -0
  255. package/dist/types.d.ts.map +1 -0
  256. package/dist/types.js +17 -0
  257. package/dist/types.js.map +1 -0
  258. package/package.json +39 -0
@@ -0,0 +1,360 @@
1
+ {
2
+ "name": "Shield",
3
+ "description": "The Shield component.",
4
+ "package": "@redsift/design-system",
5
+ "filePath": "packages/design-system/src/components/shield/Shield.tsx",
6
+ "props": [
7
+ {
8
+ "name": "aria-hidden",
9
+ "description": "Indicates whether the element is exposed to an accessibility API.",
10
+ "type": [
11
+ "false",
12
+ "true",
13
+ "\"false\"",
14
+ "\"true\""
15
+ ],
16
+ "required": false,
17
+ "defaultValue": null,
18
+ "category": "props"
19
+ },
20
+ {
21
+ "name": "aria-label",
22
+ "description": "A screen reader only label for the Icon.",
23
+ "type": "string",
24
+ "required": false,
25
+ "defaultValue": null,
26
+ "category": "props"
27
+ },
28
+ {
29
+ "name": "svgProps",
30
+ "description": "Additional properties to forward to the SVG tag.",
31
+ "type": "SVGProps<SVGSVGElement>",
32
+ "required": false,
33
+ "defaultValue": null,
34
+ "category": "props"
35
+ },
36
+ {
37
+ "name": "isOutlined",
38
+ "description": "Whether the shield has an outline or not.",
39
+ "type": [
40
+ "false",
41
+ "true"
42
+ ],
43
+ "required": false,
44
+ "defaultValue": null,
45
+ "category": "props"
46
+ },
47
+ {
48
+ "name": "isReversed",
49
+ "description": "Whether the shield has its colors reversed or not.",
50
+ "type": [
51
+ "false",
52
+ "true"
53
+ ],
54
+ "required": false,
55
+ "defaultValue": null,
56
+ "category": "props"
57
+ },
58
+ {
59
+ "name": "theme",
60
+ "description": "Theme.",
61
+ "type": [
62
+ "\"light\"",
63
+ "\"dark\""
64
+ ],
65
+ "required": false,
66
+ "defaultValue": null,
67
+ "category": "props"
68
+ },
69
+ {
70
+ "name": "variant",
71
+ "description": "Shield variant.",
72
+ "type": [
73
+ "\"success\"",
74
+ "\"successLocked\"",
75
+ "\"successUnlocked\"",
76
+ "\"fail\"",
77
+ "\"failLocked\"",
78
+ "\"failUnlocked\"",
79
+ "\"warning\"",
80
+ "\"warningLocked\"",
81
+ "\"warningUnlocked\"",
82
+ "\"ignored\"",
83
+ "\"noData\"",
84
+ "\"question\"",
85
+ "\"email\""
86
+ ],
87
+ "required": false,
88
+ "defaultValue": "'noData'",
89
+ "category": "props"
90
+ },
91
+ {
92
+ "name": "flex",
93
+ "description": "When used in a flex layout, specifies how the element will grow or shrink to fit the space available. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/flex\">MDN</a>.",
94
+ "type": "string",
95
+ "required": false,
96
+ "defaultValue": null,
97
+ "category": "layout"
98
+ },
99
+ {
100
+ "name": "flexGrow",
101
+ "description": "When used in a flex layout, specifies how the element will grow to fit the space available. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow\">MDN</a>.",
102
+ "type": "number",
103
+ "required": false,
104
+ "defaultValue": null,
105
+ "category": "layout"
106
+ },
107
+ {
108
+ "name": "flexShrink",
109
+ "description": "When used in a flex layout, specifies how the element will shrink to fit the space available. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/flex-shrink\">MDN</a>.",
110
+ "type": "number",
111
+ "required": false,
112
+ "defaultValue": null,
113
+ "category": "layout"
114
+ },
115
+ {
116
+ "name": "flexBasis",
117
+ "description": "When used in a flex layout, specifies the initial main size of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/flex_basis\">MDN</a>.",
118
+ "type": "string",
119
+ "required": false,
120
+ "defaultValue": null,
121
+ "category": "layout"
122
+ },
123
+ {
124
+ "name": "alignSelf",
125
+ "description": "Overrides the alignItems property of a flex or grid container. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/align-self\">MDN</a>.",
126
+ "type": [
127
+ "\"center\"",
128
+ "\"auto\"",
129
+ "\"normal\"",
130
+ "\"start\"",
131
+ "\"end\"",
132
+ "\"flex-start\"",
133
+ "\"flex-end\"",
134
+ "\"self-start\"",
135
+ "\"self-end\"",
136
+ "\"baseline\"",
137
+ "\"stretch\""
138
+ ],
139
+ "required": false,
140
+ "defaultValue": null,
141
+ "category": "layout"
142
+ },
143
+ {
144
+ "name": "justifySelf",
145
+ "description": "Specifies how the element is justified inside a flex or grid container. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/justify-self\">MDN</a>.",
146
+ "type": "string",
147
+ "required": false,
148
+ "defaultValue": null,
149
+ "category": "layout"
150
+ },
151
+ {
152
+ "name": "order",
153
+ "description": "The layout order for the element within a flex or grid container. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/order\">MDN</a>.",
154
+ "type": "number",
155
+ "required": false,
156
+ "defaultValue": null,
157
+ "category": "layout"
158
+ },
159
+ {
160
+ "name": "gridArea",
161
+ "description": "When used in a grid layout, specifies the named grid area that the element should be placed in within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-area\">MDN</a>.",
162
+ "type": "string",
163
+ "required": false,
164
+ "defaultValue": null,
165
+ "category": "layout"
166
+ },
167
+ {
168
+ "name": "gridColumn",
169
+ "description": "When used in a grid layout, specifies the column the element should be placed in within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column\">MDN</a>.",
170
+ "type": "string",
171
+ "required": false,
172
+ "defaultValue": null,
173
+ "category": "layout"
174
+ },
175
+ {
176
+ "name": "gridRow",
177
+ "description": "When used in a grid layout, specifies the row the element should be placed in within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row\">MDN</a>.",
178
+ "type": "string",
179
+ "required": false,
180
+ "defaultValue": null,
181
+ "category": "layout"
182
+ },
183
+ {
184
+ "name": "gridColumnStart",
185
+ "description": "When used in a grid layout, specifies the starting column to span within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-start\">MDN</a>.",
186
+ "type": "string",
187
+ "required": false,
188
+ "defaultValue": null,
189
+ "category": "layout"
190
+ },
191
+ {
192
+ "name": "gridColumnEnd",
193
+ "description": "When used in a grid layout, specifies the ending column to span within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-end\">MDN</a>.",
194
+ "type": "string",
195
+ "required": false,
196
+ "defaultValue": null,
197
+ "category": "layout"
198
+ },
199
+ {
200
+ "name": "gridRowStart",
201
+ "description": "When used in a grid layout, specifies the starting row to span within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-start\">MDN</a>.",
202
+ "type": "string",
203
+ "required": false,
204
+ "defaultValue": null,
205
+ "category": "layout"
206
+ },
207
+ {
208
+ "name": "gridRowEnd",
209
+ "description": "When used in a grid layout, specifies the ending row to span within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-end\">MDN</a>.",
210
+ "type": "string",
211
+ "required": false,
212
+ "defaultValue": null,
213
+ "category": "layout"
214
+ },
215
+ {
216
+ "name": "margin",
217
+ "description": "The margin for all four sides of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/margin\">MDN</a>.",
218
+ "type": "string",
219
+ "required": false,
220
+ "defaultValue": null,
221
+ "category": "spacing"
222
+ },
223
+ {
224
+ "name": "marginBottom",
225
+ "description": "The margin for the bottom side of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom\">MDN</a>.",
226
+ "type": "string",
227
+ "required": false,
228
+ "defaultValue": null,
229
+ "category": "spacing"
230
+ },
231
+ {
232
+ "name": "marginLeft",
233
+ "description": "The margin for the left side of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left\">MDN</a>.",
234
+ "type": "string",
235
+ "required": false,
236
+ "defaultValue": null,
237
+ "category": "spacing"
238
+ },
239
+ {
240
+ "name": "marginRight",
241
+ "description": "The margin for the right side of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right\">MDN</a>.",
242
+ "type": "string",
243
+ "required": false,
244
+ "defaultValue": null,
245
+ "category": "spacing"
246
+ },
247
+ {
248
+ "name": "marginTop",
249
+ "description": "The margin for the top side of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top\">MDN</a>.",
250
+ "type": "string",
251
+ "required": false,
252
+ "defaultValue": null,
253
+ "category": "spacing"
254
+ },
255
+ {
256
+ "name": "height",
257
+ "description": "The height of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/height\">MDN</a>.",
258
+ "type": [
259
+ "string",
260
+ "number"
261
+ ],
262
+ "required": false,
263
+ "defaultValue": null,
264
+ "category": "sizing"
265
+ },
266
+ {
267
+ "name": "maxHeight",
268
+ "description": "The maximum height of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/max-height\">MDN</a>.",
269
+ "type": "string",
270
+ "required": false,
271
+ "defaultValue": null,
272
+ "category": "sizing"
273
+ },
274
+ {
275
+ "name": "maxWidth",
276
+ "description": "The maximum width of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/max-width\">MDN</a>.",
277
+ "type": "string",
278
+ "required": false,
279
+ "defaultValue": null,
280
+ "category": "sizing"
281
+ },
282
+ {
283
+ "name": "minHeight",
284
+ "description": "The minimum height of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/min-height\">MDN</a>.",
285
+ "type": "string",
286
+ "required": false,
287
+ "defaultValue": null,
288
+ "category": "sizing"
289
+ },
290
+ {
291
+ "name": "minWidth",
292
+ "description": "The minimum width of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/min-width\">MDN</a>.",
293
+ "type": "string",
294
+ "required": false,
295
+ "defaultValue": null,
296
+ "category": "sizing"
297
+ },
298
+ {
299
+ "name": "width",
300
+ "description": "The width of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/width\">MDN</a>.",
301
+ "type": [
302
+ "string",
303
+ "number"
304
+ ],
305
+ "required": false,
306
+ "defaultValue": null,
307
+ "category": "sizing"
308
+ },
309
+ {
310
+ "name": "position",
311
+ "description": "Specifies how the element is positioned. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/position\">MDN</a>.",
312
+ "type": "string",
313
+ "required": false,
314
+ "defaultValue": null,
315
+ "category": "positioning"
316
+ },
317
+ {
318
+ "name": "top",
319
+ "description": "The top position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/top\">MDN</a>.",
320
+ "type": "string",
321
+ "required": false,
322
+ "defaultValue": null,
323
+ "category": "positioning"
324
+ },
325
+ {
326
+ "name": "bottom",
327
+ "description": "The bottom position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/bottom\">MDN</a>.",
328
+ "type": "string",
329
+ "required": false,
330
+ "defaultValue": null,
331
+ "category": "positioning"
332
+ },
333
+ {
334
+ "name": "left",
335
+ "description": "The left position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/left\">MDN</a>. Consider using start instead for RTL support.",
336
+ "type": "string",
337
+ "required": false,
338
+ "defaultValue": null,
339
+ "category": "positioning"
340
+ },
341
+ {
342
+ "name": "right",
343
+ "description": "The right position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/right\">MDN</a>. Consider using start instead for RTL support.",
344
+ "type": "string",
345
+ "required": false,
346
+ "defaultValue": null,
347
+ "category": "positioning"
348
+ },
349
+ {
350
+ "name": "zIndex",
351
+ "description": "The stacking order for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/z-index\">MDN</a>.",
352
+ "type": "string",
353
+ "required": false,
354
+ "defaultValue": null,
355
+ "category": "positioning"
356
+ }
357
+ ],
358
+ "examples": [],
359
+ "tags": {}
360
+ }
@@ -0,0 +1,144 @@
1
+ {
2
+ "name": "SideNavigationMenu",
3
+ "description": "SideNavigationMenu provides hierarchical navigation within the AppSidePanel.\nSupports nested menus, icons, badges, and keyboard navigation.\n\nCan be populated manually with SideNavigationMenu.Item children or via\nthe `useAppSidePanel` hook for easier configuration.",
4
+ "package": "@redsift/design-system",
5
+ "filePath": "packages/design-system/src/components/side-navigation-menu/SideNavigationMenu.tsx",
6
+ "props": [
7
+ {
8
+ "name": "buttonProps",
9
+ "description": "Custom props to pass to the button.",
10
+ "type": "DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>",
11
+ "required": false,
12
+ "defaultValue": null,
13
+ "category": "props"
14
+ },
15
+ {
16
+ "name": "buttonRef",
17
+ "description": "Custom ref to pass to the button.",
18
+ "type": "MutableRefObject<HTMLButtonElement>",
19
+ "required": false,
20
+ "defaultValue": null,
21
+ "category": "props"
22
+ },
23
+ {
24
+ "name": "badgeProps",
25
+ "description": "Custom props to pass to the Badge component, if any.",
26
+ "type": "Omit<BadgeProps, \"ref\">",
27
+ "required": false,
28
+ "defaultValue": null,
29
+ "category": "props"
30
+ },
31
+ {
32
+ "name": "hasBadge",
33
+ "description": "Whether or not the menu contains children that have a badge.",
34
+ "type": [
35
+ "false",
36
+ "true"
37
+ ],
38
+ "required": false,
39
+ "defaultValue": null,
40
+ "category": "props"
41
+ },
42
+ {
43
+ "name": "icon",
44
+ "description": "Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />\nCan also be a ReactElement.",
45
+ "type": [
46
+ "string",
47
+ "string[]",
48
+ "ReactElement<any, string | JSXElementConstructor<any>>"
49
+ ],
50
+ "required": false,
51
+ "defaultValue": null,
52
+ "category": "props"
53
+ },
54
+ {
55
+ "name": "iconProps",
56
+ "description": "Custom props to pass to the Icon component.",
57
+ "type": "Omit<IconProps, \"ref\" | \"icon\">",
58
+ "required": false,
59
+ "defaultValue": null,
60
+ "category": "props"
61
+ },
62
+ {
63
+ "name": "iconRef",
64
+ "description": "Custom ref to pass to the Icon component.",
65
+ "type": "MutableRefObject<HTMLElement>",
66
+ "required": false,
67
+ "defaultValue": null,
68
+ "category": "props"
69
+ },
70
+ {
71
+ "name": "defaultExpanded",
72
+ "description": "Whether the menu should be expanded by default (uncontrolled).\nUse `isExpanded` for controlled behavior.",
73
+ "type": [
74
+ "false",
75
+ "true"
76
+ ],
77
+ "required": false,
78
+ "defaultValue": null,
79
+ "category": "props"
80
+ },
81
+ {
82
+ "name": "isDisabled",
83
+ "description": "Whether the component is disabled or not.",
84
+ "type": [
85
+ "false",
86
+ "true"
87
+ ],
88
+ "required": false,
89
+ "defaultValue": null,
90
+ "category": "props"
91
+ },
92
+ {
93
+ "name": "isExpanded",
94
+ "description": "Whether the menu is expanded or not (controlled).",
95
+ "type": [
96
+ "false",
97
+ "true"
98
+ ],
99
+ "required": false,
100
+ "defaultValue": null,
101
+ "category": "props"
102
+ },
103
+ {
104
+ "name": "keepBadgeVisible",
105
+ "description": "By default, the badge is hidden when the menu is expanded. This prop controls this behavior.",
106
+ "type": [
107
+ "false",
108
+ "true"
109
+ ],
110
+ "required": false,
111
+ "defaultValue": null,
112
+ "category": "props"
113
+ },
114
+ {
115
+ "name": "menuProps",
116
+ "description": "Custom props to pass to the menu.",
117
+ "type": "DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>",
118
+ "required": false,
119
+ "defaultValue": null,
120
+ "category": "props"
121
+ },
122
+ {
123
+ "name": "menuRef",
124
+ "description": "Custom ref to pass to the menu.",
125
+ "type": "MutableRefObject<HTMLUListElement>",
126
+ "required": false,
127
+ "defaultValue": null,
128
+ "category": "props"
129
+ },
130
+ {
131
+ "name": "theme",
132
+ "description": "Theme.",
133
+ "type": [
134
+ "\"light\"",
135
+ "\"dark\""
136
+ ],
137
+ "required": false,
138
+ "defaultValue": null,
139
+ "category": "props"
140
+ }
141
+ ],
142
+ "examples": [],
143
+ "tags": {}
144
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "name": "SideNavigationMenuBar",
3
+ "description": "The SideNavigationMenuBar component.",
4
+ "package": "@redsift/design-system",
5
+ "filePath": "packages/design-system/src/components/side-navigation-menu-bar/SideNavigationMenuBar.tsx",
6
+ "props": [
7
+ {
8
+ "name": "canHaveMultipleMenuOpenAtOnce",
9
+ "description": "Whether or not opening a menu closes the others.",
10
+ "type": [
11
+ "false",
12
+ "true"
13
+ ],
14
+ "required": false,
15
+ "defaultValue": null,
16
+ "category": "props"
17
+ },
18
+ {
19
+ "name": "defaultExpandAll",
20
+ "description": "Whether all menus should be expanded by default.\nWhen true, automatically enables `canHaveMultipleMenuOpenAtOnce`.",
21
+ "type": [
22
+ "false",
23
+ "true"
24
+ ],
25
+ "required": false,
26
+ "defaultValue": null,
27
+ "category": "props"
28
+ },
29
+ {
30
+ "name": "isDisabled",
31
+ "description": "Whether the component is disabled or not.",
32
+ "type": [
33
+ "false",
34
+ "true"
35
+ ],
36
+ "required": false,
37
+ "defaultValue": null,
38
+ "category": "props"
39
+ },
40
+ {
41
+ "name": "menubarProps",
42
+ "description": "Custom props to pass to the list.",
43
+ "type": "DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>",
44
+ "required": false,
45
+ "defaultValue": null,
46
+ "category": "props"
47
+ },
48
+ {
49
+ "name": "menubarRef",
50
+ "description": "Custom ref to pass to the list.",
51
+ "type": "MutableRefObject<HTMLUListElement>",
52
+ "required": false,
53
+ "defaultValue": null,
54
+ "category": "props"
55
+ },
56
+ {
57
+ "name": "storageKey",
58
+ "description": "When set, persists menu expand/collapse states in localStorage using this key as prefix.\nEach menu is identified by its `aria-label` prop.",
59
+ "type": "string",
60
+ "required": false,
61
+ "defaultValue": null,
62
+ "category": "props"
63
+ },
64
+ {
65
+ "name": "theme",
66
+ "description": "Theme.",
67
+ "type": [
68
+ "\"light\"",
69
+ "\"dark\""
70
+ ],
71
+ "required": false,
72
+ "defaultValue": null,
73
+ "category": "props"
74
+ },
75
+ {
76
+ "name": "variant",
77
+ "description": "Variant.",
78
+ "type": [
79
+ "\"shrinked\"",
80
+ "\"standard\""
81
+ ],
82
+ "required": false,
83
+ "defaultValue": "'standard'",
84
+ "category": "props"
85
+ }
86
+ ],
87
+ "examples": [],
88
+ "tags": {}
89
+ }