@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,566 @@
1
+ {
2
+ "name": "AppContent",
3
+ "description": "AppContent is the main content area of a Red Sift application. It automatically\nadjusts its position and width based on the side panel's collapsed state.\n\nMust be used within an `AppContainer` to work properly.",
4
+ "package": "@redsift/design-system",
5
+ "filePath": "packages/design-system/src/components/app-content/AppContent.tsx",
6
+ "props": [
7
+ {
8
+ "name": "theme",
9
+ "description": "Theme.",
10
+ "type": [
11
+ "\"light\"",
12
+ "\"dark\""
13
+ ],
14
+ "required": false,
15
+ "defaultValue": null,
16
+ "category": "props"
17
+ },
18
+ {
19
+ "name": "flex",
20
+ "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>.",
21
+ "type": "string",
22
+ "required": false,
23
+ "defaultValue": null,
24
+ "category": "layout"
25
+ },
26
+ {
27
+ "name": "flexGrow",
28
+ "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>.",
29
+ "type": "number",
30
+ "required": false,
31
+ "defaultValue": null,
32
+ "category": "layout"
33
+ },
34
+ {
35
+ "name": "flexShrink",
36
+ "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>.",
37
+ "type": "number",
38
+ "required": false,
39
+ "defaultValue": null,
40
+ "category": "layout"
41
+ },
42
+ {
43
+ "name": "flexBasis",
44
+ "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>.",
45
+ "type": "string",
46
+ "required": false,
47
+ "defaultValue": null,
48
+ "category": "layout"
49
+ },
50
+ {
51
+ "name": "alignSelf",
52
+ "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>.",
53
+ "type": [
54
+ "\"center\"",
55
+ "\"auto\"",
56
+ "\"normal\"",
57
+ "\"start\"",
58
+ "\"end\"",
59
+ "\"flex-start\"",
60
+ "\"flex-end\"",
61
+ "\"self-start\"",
62
+ "\"self-end\"",
63
+ "\"baseline\"",
64
+ "\"stretch\""
65
+ ],
66
+ "required": false,
67
+ "defaultValue": null,
68
+ "category": "layout"
69
+ },
70
+ {
71
+ "name": "justifySelf",
72
+ "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>.",
73
+ "type": "string",
74
+ "required": false,
75
+ "defaultValue": null,
76
+ "category": "layout"
77
+ },
78
+ {
79
+ "name": "order",
80
+ "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>.",
81
+ "type": "number",
82
+ "required": false,
83
+ "defaultValue": null,
84
+ "category": "layout"
85
+ },
86
+ {
87
+ "name": "gridArea",
88
+ "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>.",
89
+ "type": "string",
90
+ "required": false,
91
+ "defaultValue": null,
92
+ "category": "layout"
93
+ },
94
+ {
95
+ "name": "gridColumn",
96
+ "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>.",
97
+ "type": "string",
98
+ "required": false,
99
+ "defaultValue": null,
100
+ "category": "layout"
101
+ },
102
+ {
103
+ "name": "gridRow",
104
+ "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>.",
105
+ "type": "string",
106
+ "required": false,
107
+ "defaultValue": null,
108
+ "category": "layout"
109
+ },
110
+ {
111
+ "name": "gridColumnStart",
112
+ "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>.",
113
+ "type": "string",
114
+ "required": false,
115
+ "defaultValue": null,
116
+ "category": "layout"
117
+ },
118
+ {
119
+ "name": "gridColumnEnd",
120
+ "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>.",
121
+ "type": "string",
122
+ "required": false,
123
+ "defaultValue": null,
124
+ "category": "layout"
125
+ },
126
+ {
127
+ "name": "gridRowStart",
128
+ "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>.",
129
+ "type": "string",
130
+ "required": false,
131
+ "defaultValue": null,
132
+ "category": "layout"
133
+ },
134
+ {
135
+ "name": "gridRowEnd",
136
+ "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>.",
137
+ "type": "string",
138
+ "required": false,
139
+ "defaultValue": null,
140
+ "category": "layout"
141
+ },
142
+ {
143
+ "name": "margin",
144
+ "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>.",
145
+ "type": "string",
146
+ "required": false,
147
+ "defaultValue": null,
148
+ "category": "spacing"
149
+ },
150
+ {
151
+ "name": "marginBottom",
152
+ "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>.",
153
+ "type": "string",
154
+ "required": false,
155
+ "defaultValue": null,
156
+ "category": "spacing"
157
+ },
158
+ {
159
+ "name": "marginLeft",
160
+ "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>.",
161
+ "type": "string",
162
+ "required": false,
163
+ "defaultValue": null,
164
+ "category": "spacing"
165
+ },
166
+ {
167
+ "name": "marginRight",
168
+ "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>.",
169
+ "type": "string",
170
+ "required": false,
171
+ "defaultValue": null,
172
+ "category": "spacing"
173
+ },
174
+ {
175
+ "name": "marginTop",
176
+ "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>.",
177
+ "type": "string",
178
+ "required": false,
179
+ "defaultValue": null,
180
+ "category": "spacing"
181
+ },
182
+ {
183
+ "name": "height",
184
+ "description": "The height of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/height\">MDN</a>.",
185
+ "type": [
186
+ "string",
187
+ "number"
188
+ ],
189
+ "required": false,
190
+ "defaultValue": null,
191
+ "category": "sizing"
192
+ },
193
+ {
194
+ "name": "maxHeight",
195
+ "description": "The maximum height of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/max-height\">MDN</a>.",
196
+ "type": "string",
197
+ "required": false,
198
+ "defaultValue": null,
199
+ "category": "sizing"
200
+ },
201
+ {
202
+ "name": "maxWidth",
203
+ "description": "The maximum width of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/max-width\">MDN</a>.",
204
+ "type": "string",
205
+ "required": false,
206
+ "defaultValue": null,
207
+ "category": "sizing"
208
+ },
209
+ {
210
+ "name": "minHeight",
211
+ "description": "The minimum height of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/min-height\">MDN</a>.",
212
+ "type": "string",
213
+ "required": false,
214
+ "defaultValue": null,
215
+ "category": "sizing"
216
+ },
217
+ {
218
+ "name": "minWidth",
219
+ "description": "The minimum width of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/min-width\">MDN</a>.",
220
+ "type": "string",
221
+ "required": false,
222
+ "defaultValue": null,
223
+ "category": "sizing"
224
+ },
225
+ {
226
+ "name": "width",
227
+ "description": "The width of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/width\">MDN</a>.",
228
+ "type": [
229
+ "string",
230
+ "number"
231
+ ],
232
+ "required": false,
233
+ "defaultValue": null,
234
+ "category": "sizing"
235
+ },
236
+ {
237
+ "name": "position",
238
+ "description": "Specifies how the element is positioned. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/position\">MDN</a>.",
239
+ "type": "string",
240
+ "required": false,
241
+ "defaultValue": null,
242
+ "category": "positioning"
243
+ },
244
+ {
245
+ "name": "top",
246
+ "description": "The top position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/top\">MDN</a>.",
247
+ "type": "string",
248
+ "required": false,
249
+ "defaultValue": null,
250
+ "category": "positioning"
251
+ },
252
+ {
253
+ "name": "bottom",
254
+ "description": "The bottom position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/bottom\">MDN</a>.",
255
+ "type": "string",
256
+ "required": false,
257
+ "defaultValue": null,
258
+ "category": "positioning"
259
+ },
260
+ {
261
+ "name": "left",
262
+ "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.",
263
+ "type": "string",
264
+ "required": false,
265
+ "defaultValue": null,
266
+ "category": "positioning"
267
+ },
268
+ {
269
+ "name": "right",
270
+ "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.",
271
+ "type": "string",
272
+ "required": false,
273
+ "defaultValue": null,
274
+ "category": "positioning"
275
+ },
276
+ {
277
+ "name": "zIndex",
278
+ "description": "The stacking order for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/z-index\">MDN</a>.",
279
+ "type": "string",
280
+ "required": false,
281
+ "defaultValue": null,
282
+ "category": "positioning"
283
+ },
284
+ {
285
+ "name": "display",
286
+ "description": "Sets whether an element is treated as a block or inline element and the layout used for its children, such as flow layout, grid or flex. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/display\">MDN</a>.",
287
+ "type": [
288
+ "\"inline\"",
289
+ "\"inherit\"",
290
+ "\"grid\"",
291
+ "\"flex\"",
292
+ "\"block\"",
293
+ "\"inline-block\"",
294
+ "\"inline-flex\"",
295
+ "\"inline-grid\""
296
+ ],
297
+ "required": false,
298
+ "defaultValue": null,
299
+ "category": "props"
300
+ },
301
+ {
302
+ "name": "alignContent",
303
+ "description": "The distribution of space around child items along the cross axis. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/align-content\">MDN</a>.",
304
+ "type": [
305
+ "\"center\"",
306
+ "\"start\"",
307
+ "\"end\"",
308
+ "\"flex-start\"",
309
+ "\"flex-end\"",
310
+ "\"baseline\"",
311
+ "\"stretch\"",
312
+ "\"space-between\"",
313
+ "\"space-around\"",
314
+ "\"space-evenly\"",
315
+ "\"first baseline\"",
316
+ "\"last baseline\""
317
+ ],
318
+ "required": false,
319
+ "defaultValue": null,
320
+ "category": "layout"
321
+ },
322
+ {
323
+ "name": "alignItems",
324
+ "description": "The alignment of children within their container. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/align-items\">MDN</a>.",
325
+ "type": [
326
+ "\"center\"",
327
+ "\"start\"",
328
+ "\"end\"",
329
+ "\"flex-start\"",
330
+ "\"flex-end\"",
331
+ "\"self-start\"",
332
+ "\"self-end\"",
333
+ "\"baseline\"",
334
+ "\"stretch\"",
335
+ "\"first baseline\"",
336
+ "\"last baseline\""
337
+ ],
338
+ "required": false,
339
+ "defaultValue": null,
340
+ "category": "layout"
341
+ },
342
+ {
343
+ "name": "flexDirection",
344
+ "description": "The direction in which to layout children. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction\">MDN</a>.",
345
+ "type": [
346
+ "\"row\"",
347
+ "\"row-reverse\"",
348
+ "\"column\"",
349
+ "\"column-reverse\""
350
+ ],
351
+ "required": false,
352
+ "defaultValue": null,
353
+ "category": "layout"
354
+ },
355
+ {
356
+ "name": "flexWrap",
357
+ "description": "Whether to wrap items onto multiple lines. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/flex-wrap\">MDN</a>.",
358
+ "type": [
359
+ "\"nowrap\"",
360
+ "\"wrap\"",
361
+ "\"wrap-reverse\""
362
+ ],
363
+ "required": false,
364
+ "defaultValue": null,
365
+ "category": "layout"
366
+ },
367
+ {
368
+ "name": "gap",
369
+ "description": "The space to display between both rows and columns. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/gap\">MDN</a>.",
370
+ "type": "string",
371
+ "required": false,
372
+ "defaultValue": null,
373
+ "category": "layout"
374
+ },
375
+ {
376
+ "name": "justifyContent",
377
+ "description": "The distribution of space around items along the main axis. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content\">MDN</a>.",
378
+ "type": [
379
+ "\"center\"",
380
+ "\"start\"",
381
+ "\"end\"",
382
+ "\"flex-start\"",
383
+ "\"flex-end\"",
384
+ "\"baseline\"",
385
+ "\"stretch\"",
386
+ "\"left\"",
387
+ "\"right\"",
388
+ "\"space-between\"",
389
+ "\"space-around\"",
390
+ "\"space-evenly\"",
391
+ "\"first baseline\"",
392
+ "\"last baseline\""
393
+ ],
394
+ "required": false,
395
+ "defaultValue": null,
396
+ "category": "layout"
397
+ },
398
+ {
399
+ "name": "gridAutoColumns",
400
+ "description": "Defines the size of implicitly generated columns. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-columns\">MDN</a>.",
401
+ "type": "string",
402
+ "required": false,
403
+ "defaultValue": null,
404
+ "category": "layout"
405
+ },
406
+ {
407
+ "name": "gridAutoRows",
408
+ "description": "Defines the size of implicitly generated rows. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-rows\">MDN</a>.",
409
+ "type": "string",
410
+ "required": false,
411
+ "defaultValue": null,
412
+ "category": "layout"
413
+ },
414
+ {
415
+ "name": "gridTemplateAreas",
416
+ "description": "Defines named grid areas. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-areas\">MDN</a>.",
417
+ "type": "string",
418
+ "required": false,
419
+ "defaultValue": null,
420
+ "category": "layout"
421
+ },
422
+ {
423
+ "name": "gridTemplateColumns",
424
+ "description": "Defines the sizes of each column in the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns\">MDN</a>.",
425
+ "type": "string",
426
+ "required": false,
427
+ "defaultValue": null,
428
+ "category": "layout"
429
+ },
430
+ {
431
+ "name": "gridTemplateRows",
432
+ "description": "Defines the sizes of each row in the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows\">MDN</a>.",
433
+ "type": "string",
434
+ "required": false,
435
+ "defaultValue": null,
436
+ "category": "layout"
437
+ },
438
+ {
439
+ "name": "justifyItems",
440
+ "description": "Defines the default justifySelf for all items in the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items\">MDN</a>.",
441
+ "type": [
442
+ "\"center\"",
443
+ "\"start\"",
444
+ "\"end\"",
445
+ "\"stretch\""
446
+ ],
447
+ "required": false,
448
+ "defaultValue": null,
449
+ "category": "layout"
450
+ },
451
+ {
452
+ "name": "background",
453
+ "description": "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method. Component properties not set in the background shorthand property value declaration are set to their default values. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/background\">MDN</a>.",
454
+ "type": "string",
455
+ "required": false,
456
+ "defaultValue": null,
457
+ "category": "props"
458
+ },
459
+ {
460
+ "name": "backgroundColor",
461
+ "description": "The background-color CSS property sets the background color of an element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/background-color\">MDN</a>.",
462
+ "type": "string",
463
+ "required": false,
464
+ "defaultValue": null,
465
+ "category": "props"
466
+ },
467
+ {
468
+ "name": "border",
469
+ "description": "The border shorthand CSS property sets an element's border. It sets the values of border-width, border-style, and border-color. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/border\">MDN</a>.",
470
+ "type": "string",
471
+ "required": false,
472
+ "defaultValue": null,
473
+ "category": "props"
474
+ },
475
+ {
476
+ "name": "borderTop",
477
+ "description": "The border-top CSS property sets all the properties of an element's top border. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/border-top\">MDN</a>.",
478
+ "type": "string",
479
+ "required": false,
480
+ "defaultValue": null,
481
+ "category": "props"
482
+ },
483
+ {
484
+ "name": "borderBottom",
485
+ "description": "The border-top CSS property sets all the properties of an element's bottom border. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom\">MDN</a>.",
486
+ "type": "string",
487
+ "required": false,
488
+ "defaultValue": null,
489
+ "category": "props"
490
+ },
491
+ {
492
+ "name": "borderLeft",
493
+ "description": "The border-top CSS property sets all the properties of an element's left border. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/border-left\">MDN</a>. Consider using start instead for RTL support.",
494
+ "type": "string",
495
+ "required": false,
496
+ "defaultValue": null,
497
+ "category": "props"
498
+ },
499
+ {
500
+ "name": "borderRight",
501
+ "description": "The border-top CSS property sets all the properties of an element's right border. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/border-right\">MDN</a>. Consider using start instead for RTL support.",
502
+ "type": "string",
503
+ "required": false,
504
+ "defaultValue": null,
505
+ "category": "props"
506
+ },
507
+ {
508
+ "name": "borderRadius",
509
+ "description": "The border-radius CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius\">MDN</a>.",
510
+ "type": "string",
511
+ "required": false,
512
+ "defaultValue": null,
513
+ "category": "props"
514
+ },
515
+ {
516
+ "name": "boxShadow",
517
+ "description": "The box-shadow CSS property adds shadow effects around an element's frame. You can set multiple effects separated by commas. A box shadow is described by X and Y offsets relative to the element, blur and spread radius, and color. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow\">MDN</a>.",
518
+ "type": "string",
519
+ "required": false,
520
+ "defaultValue": null,
521
+ "category": "props"
522
+ },
523
+ {
524
+ "name": "padding",
525
+ "description": "The padding for all four sides of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/padding\">MDN</a>.",
526
+ "type": "string",
527
+ "required": false,
528
+ "defaultValue": null,
529
+ "category": "spacing"
530
+ },
531
+ {
532
+ "name": "paddingBottom",
533
+ "description": "The padding for the bottom side of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/padding-bottom\">MDN</a>.",
534
+ "type": "string",
535
+ "required": false,
536
+ "defaultValue": null,
537
+ "category": "spacing"
538
+ },
539
+ {
540
+ "name": "paddingLeft",
541
+ "description": "The padding for the left side of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/padding-left\">MDN</a>.",
542
+ "type": "string",
543
+ "required": false,
544
+ "defaultValue": null,
545
+ "category": "spacing"
546
+ },
547
+ {
548
+ "name": "paddingRight",
549
+ "description": "The padding for the right side of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/padding-right\">MDN</a>.",
550
+ "type": "string",
551
+ "required": false,
552
+ "defaultValue": null,
553
+ "category": "spacing"
554
+ },
555
+ {
556
+ "name": "paddingTop",
557
+ "description": "The padding for the top side of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/padding-top\">MDN</a>.",
558
+ "type": "string",
559
+ "required": false,
560
+ "defaultValue": null,
561
+ "category": "spacing"
562
+ }
563
+ ],
564
+ "examples": [],
565
+ "tags": {}
566
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "AppSidePanel",
3
+ "description": "AppSidePanel is the collapsible side navigation panel of a Red Sift application.\nIt contains the product logo and navigation menu items.\n\nThe panel has three states:\n- `standard`: Fully expanded with icons and labels\n- `shrinked`: Collapsed to show only icons\n- `hidden`: Completely hidden (used with `isFullScreen` on AppContainer)\n\nMust be used within an `AppContainer` to work properly.",
4
+ "package": "@redsift/design-system",
5
+ "filePath": "packages/design-system/src/components/app-side-panel/AppSidePanel.tsx",
6
+ "props": [
7
+ {
8
+ "name": "featuredElements",
9
+ "description": "Elements to display on top of the navigation menu. Usually a button.",
10
+ "type": [
11
+ "ReactElement<any, string | JSXElementConstructor<any>>",
12
+ "ReactElement<any, string | JSXElementConstructor<any>>[]"
13
+ ],
14
+ "required": false,
15
+ "defaultValue": null,
16
+ "category": "props"
17
+ },
18
+ {
19
+ "name": "iconButtonProps",
20
+ "description": "Custom props to pass to the IconButton used to collapse the side panel.",
21
+ "type": "Omit<IconButtonProps, \"icon\">",
22
+ "required": false,
23
+ "defaultValue": null,
24
+ "category": "props"
25
+ },
26
+ {
27
+ "name": "iconButtonRef",
28
+ "description": "Custom ref to pass to the IconButton used to collapse the side panel.",
29
+ "type": "RefObject<HTMLButtonElement>",
30
+ "required": false,
31
+ "defaultValue": null,
32
+ "category": "props"
33
+ },
34
+ {
35
+ "name": "logo",
36
+ "description": "Place to display the logo app.",
37
+ "type": [
38
+ "ReactElement<any, string | JSXElementConstructor<any>>",
39
+ "DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>"
40
+ ],
41
+ "required": false,
42
+ "defaultValue": null,
43
+ "category": "props"
44
+ },
45
+ {
46
+ "name": "menuStorageKey",
47
+ "description": "When set, persists menu expand/collapse states in localStorage using this key as prefix.\nEach menu is identified by its `aria-label` prop.",
48
+ "type": "string",
49
+ "required": false,
50
+ "defaultValue": null,
51
+ "category": "props"
52
+ },
53
+ {
54
+ "name": "onOpen",
55
+ "description": "Method called when a click occurs on the top open button - which is displayed only in shrinked variant.",
56
+ "type": "(e: MouseEvent<Element, MouseEvent>) => void",
57
+ "required": false,
58
+ "defaultValue": null,
59
+ "category": "props"
60
+ },
61
+ {
62
+ "name": "theme",
63
+ "description": "Theme.",
64
+ "type": [
65
+ "\"light\"",
66
+ "\"dark\""
67
+ ],
68
+ "required": false,
69
+ "defaultValue": null,
70
+ "category": "props"
71
+ },
72
+ {
73
+ "name": "variant",
74
+ "description": "Variant.",
75
+ "type": [
76
+ "\"hidden\"",
77
+ "\"shrinked\"",
78
+ "\"standard\""
79
+ ],
80
+ "required": false,
81
+ "defaultValue": null,
82
+ "category": "props"
83
+ }
84
+ ],
85
+ "examples": [],
86
+ "tags": {}
87
+ }