@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,371 @@
1
+ {
2
+ "name": "SkeletonText",
3
+ "description": "The SkeletonText component.",
4
+ "package": "@redsift/design-system",
5
+ "filePath": "packages/design-system/src/components/skeleton-text/SkeletonText.tsx",
6
+ "props": [
7
+ {
8
+ "name": "fontSize",
9
+ "description": "Font size.",
10
+ "type": "string",
11
+ "required": false,
12
+ "defaultValue": null,
13
+ "category": "props"
14
+ },
15
+ {
16
+ "name": "lineHeight",
17
+ "description": "Line height.",
18
+ "type": "string",
19
+ "required": false,
20
+ "defaultValue": null,
21
+ "category": "props"
22
+ },
23
+ {
24
+ "name": "variant",
25
+ "description": "Variant.",
26
+ "type": [
27
+ "\"body\"",
28
+ "\"button\"",
29
+ "\"caption\"",
30
+ "\"h1\"",
31
+ "\"h2\"",
32
+ "\"h3\"",
33
+ "\"h4\"",
34
+ "\"h5\""
35
+ ],
36
+ "required": false,
37
+ "defaultValue": "'body'",
38
+ "category": "props"
39
+ },
40
+ {
41
+ "name": "isLoaded",
42
+ "description": "Whether the content is loaded and should be displayed instead of the skeleton.",
43
+ "type": [
44
+ "false",
45
+ "true"
46
+ ],
47
+ "required": false,
48
+ "defaultValue": null,
49
+ "category": "props"
50
+ },
51
+ {
52
+ "name": "theme",
53
+ "description": "Theme.",
54
+ "type": [
55
+ "\"light\"",
56
+ "\"dark\""
57
+ ],
58
+ "required": false,
59
+ "defaultValue": null,
60
+ "category": "props"
61
+ },
62
+ {
63
+ "name": "flex",
64
+ "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>.",
65
+ "type": "string",
66
+ "required": false,
67
+ "defaultValue": null,
68
+ "category": "layout"
69
+ },
70
+ {
71
+ "name": "flexGrow",
72
+ "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>.",
73
+ "type": "number",
74
+ "required": false,
75
+ "defaultValue": null,
76
+ "category": "layout"
77
+ },
78
+ {
79
+ "name": "flexShrink",
80
+ "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>.",
81
+ "type": "number",
82
+ "required": false,
83
+ "defaultValue": null,
84
+ "category": "layout"
85
+ },
86
+ {
87
+ "name": "flexBasis",
88
+ "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>.",
89
+ "type": "string",
90
+ "required": false,
91
+ "defaultValue": null,
92
+ "category": "layout"
93
+ },
94
+ {
95
+ "name": "alignSelf",
96
+ "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>.",
97
+ "type": [
98
+ "\"center\"",
99
+ "\"auto\"",
100
+ "\"normal\"",
101
+ "\"start\"",
102
+ "\"end\"",
103
+ "\"flex-start\"",
104
+ "\"flex-end\"",
105
+ "\"self-start\"",
106
+ "\"self-end\"",
107
+ "\"baseline\"",
108
+ "\"stretch\""
109
+ ],
110
+ "required": false,
111
+ "defaultValue": null,
112
+ "category": "layout"
113
+ },
114
+ {
115
+ "name": "justifySelf",
116
+ "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>.",
117
+ "type": "string",
118
+ "required": false,
119
+ "defaultValue": null,
120
+ "category": "layout"
121
+ },
122
+ {
123
+ "name": "order",
124
+ "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>.",
125
+ "type": "number",
126
+ "required": false,
127
+ "defaultValue": null,
128
+ "category": "layout"
129
+ },
130
+ {
131
+ "name": "gridArea",
132
+ "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>.",
133
+ "type": "string",
134
+ "required": false,
135
+ "defaultValue": null,
136
+ "category": "layout"
137
+ },
138
+ {
139
+ "name": "gridColumn",
140
+ "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>.",
141
+ "type": "string",
142
+ "required": false,
143
+ "defaultValue": null,
144
+ "category": "layout"
145
+ },
146
+ {
147
+ "name": "gridRow",
148
+ "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>.",
149
+ "type": "string",
150
+ "required": false,
151
+ "defaultValue": null,
152
+ "category": "layout"
153
+ },
154
+ {
155
+ "name": "gridColumnStart",
156
+ "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>.",
157
+ "type": "string",
158
+ "required": false,
159
+ "defaultValue": null,
160
+ "category": "layout"
161
+ },
162
+ {
163
+ "name": "gridColumnEnd",
164
+ "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>.",
165
+ "type": "string",
166
+ "required": false,
167
+ "defaultValue": null,
168
+ "category": "layout"
169
+ },
170
+ {
171
+ "name": "gridRowStart",
172
+ "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>.",
173
+ "type": "string",
174
+ "required": false,
175
+ "defaultValue": null,
176
+ "category": "layout"
177
+ },
178
+ {
179
+ "name": "gridRowEnd",
180
+ "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>.",
181
+ "type": "string",
182
+ "required": false,
183
+ "defaultValue": null,
184
+ "category": "layout"
185
+ },
186
+ {
187
+ "name": "margin",
188
+ "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>.",
189
+ "type": "string",
190
+ "required": false,
191
+ "defaultValue": null,
192
+ "category": "spacing"
193
+ },
194
+ {
195
+ "name": "marginBottom",
196
+ "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>.",
197
+ "type": "string",
198
+ "required": false,
199
+ "defaultValue": null,
200
+ "category": "spacing"
201
+ },
202
+ {
203
+ "name": "marginLeft",
204
+ "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>.",
205
+ "type": "string",
206
+ "required": false,
207
+ "defaultValue": null,
208
+ "category": "spacing"
209
+ },
210
+ {
211
+ "name": "marginRight",
212
+ "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>.",
213
+ "type": "string",
214
+ "required": false,
215
+ "defaultValue": null,
216
+ "category": "spacing"
217
+ },
218
+ {
219
+ "name": "marginTop",
220
+ "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>.",
221
+ "type": "string",
222
+ "required": false,
223
+ "defaultValue": null,
224
+ "category": "spacing"
225
+ },
226
+ {
227
+ "name": "height",
228
+ "description": "The height of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/height\">MDN</a>.",
229
+ "type": [
230
+ "string",
231
+ "number"
232
+ ],
233
+ "required": false,
234
+ "defaultValue": null,
235
+ "category": "sizing"
236
+ },
237
+ {
238
+ "name": "maxHeight",
239
+ "description": "The maximum height of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/max-height\">MDN</a>.",
240
+ "type": "string",
241
+ "required": false,
242
+ "defaultValue": null,
243
+ "category": "sizing"
244
+ },
245
+ {
246
+ "name": "maxWidth",
247
+ "description": "The maximum width of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/max-width\">MDN</a>.",
248
+ "type": "string",
249
+ "required": false,
250
+ "defaultValue": null,
251
+ "category": "sizing"
252
+ },
253
+ {
254
+ "name": "minHeight",
255
+ "description": "The minimum height of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/min-height\">MDN</a>.",
256
+ "type": "string",
257
+ "required": false,
258
+ "defaultValue": null,
259
+ "category": "sizing"
260
+ },
261
+ {
262
+ "name": "minWidth",
263
+ "description": "The minimum width of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/min-width\">MDN</a>.",
264
+ "type": "string",
265
+ "required": false,
266
+ "defaultValue": null,
267
+ "category": "sizing"
268
+ },
269
+ {
270
+ "name": "width",
271
+ "description": "The width of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/width\">MDN</a>.",
272
+ "type": [
273
+ "string",
274
+ "number"
275
+ ],
276
+ "required": false,
277
+ "defaultValue": null,
278
+ "category": "sizing"
279
+ },
280
+ {
281
+ "name": "position",
282
+ "description": "Specifies how the element is positioned. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/position\">MDN</a>.",
283
+ "type": "string",
284
+ "required": false,
285
+ "defaultValue": null,
286
+ "category": "positioning"
287
+ },
288
+ {
289
+ "name": "top",
290
+ "description": "The top position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/top\">MDN</a>.",
291
+ "type": "string",
292
+ "required": false,
293
+ "defaultValue": null,
294
+ "category": "positioning"
295
+ },
296
+ {
297
+ "name": "bottom",
298
+ "description": "The bottom position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/bottom\">MDN</a>.",
299
+ "type": "string",
300
+ "required": false,
301
+ "defaultValue": null,
302
+ "category": "positioning"
303
+ },
304
+ {
305
+ "name": "left",
306
+ "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.",
307
+ "type": "string",
308
+ "required": false,
309
+ "defaultValue": null,
310
+ "category": "positioning"
311
+ },
312
+ {
313
+ "name": "right",
314
+ "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.",
315
+ "type": "string",
316
+ "required": false,
317
+ "defaultValue": null,
318
+ "category": "positioning"
319
+ },
320
+ {
321
+ "name": "zIndex",
322
+ "description": "The stacking order for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/z-index\">MDN</a>.",
323
+ "type": "string",
324
+ "required": false,
325
+ "defaultValue": null,
326
+ "category": "positioning"
327
+ },
328
+ {
329
+ "name": "padding",
330
+ "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>.",
331
+ "type": "string",
332
+ "required": false,
333
+ "defaultValue": null,
334
+ "category": "spacing"
335
+ },
336
+ {
337
+ "name": "paddingBottom",
338
+ "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>.",
339
+ "type": "string",
340
+ "required": false,
341
+ "defaultValue": null,
342
+ "category": "spacing"
343
+ },
344
+ {
345
+ "name": "paddingLeft",
346
+ "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>.",
347
+ "type": "string",
348
+ "required": false,
349
+ "defaultValue": null,
350
+ "category": "spacing"
351
+ },
352
+ {
353
+ "name": "paddingRight",
354
+ "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>.",
355
+ "type": "string",
356
+ "required": false,
357
+ "defaultValue": null,
358
+ "category": "spacing"
359
+ },
360
+ {
361
+ "name": "paddingTop",
362
+ "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>.",
363
+ "type": "string",
364
+ "required": false,
365
+ "defaultValue": null,
366
+ "category": "spacing"
367
+ }
368
+ ],
369
+ "examples": [],
370
+ "tags": {}
371
+ }
@@ -0,0 +1,291 @@
1
+ {
2
+ "name": "Spinner",
3
+ "description": "Spinner displays a loading indicator for async operations.\nAvailable in multiple sizes and colors.",
4
+ "package": "@redsift/design-system",
5
+ "filePath": "packages/design-system/src/components/spinner/Spinner.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 Spinner.",
23
+ "type": "string",
24
+ "required": false,
25
+ "defaultValue": null,
26
+ "category": "props"
27
+ },
28
+ {
29
+ "name": "color",
30
+ "description": "Color variant.",
31
+ "type": [
32
+ "\"primary\"",
33
+ "\"grey-l1\"",
34
+ "\"grey-l2\"",
35
+ "\"grey-l3\""
36
+ ],
37
+ "required": false,
38
+ "defaultValue": null,
39
+ "category": "props"
40
+ },
41
+ {
42
+ "name": "isColored",
43
+ "description": "@deprecated : Whether the spinner is colored or not.",
44
+ "type": [
45
+ "false",
46
+ "true"
47
+ ],
48
+ "required": false,
49
+ "defaultValue": "true",
50
+ "category": "props"
51
+ },
52
+ {
53
+ "name": "size",
54
+ "description": "Spinner size.",
55
+ "type": [
56
+ "\"small\"",
57
+ "\"xsmall\"",
58
+ "\"medium\"",
59
+ "\"large\""
60
+ ],
61
+ "required": false,
62
+ "defaultValue": "'medium'",
63
+ "category": "props"
64
+ },
65
+ {
66
+ "name": "theme",
67
+ "description": "Theme.",
68
+ "type": [
69
+ "\"light\"",
70
+ "\"dark\""
71
+ ],
72
+ "required": false,
73
+ "defaultValue": null,
74
+ "category": "props"
75
+ },
76
+ {
77
+ "name": "flex",
78
+ "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>.",
79
+ "type": "string",
80
+ "required": false,
81
+ "defaultValue": null,
82
+ "category": "layout"
83
+ },
84
+ {
85
+ "name": "flexGrow",
86
+ "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>.",
87
+ "type": "number",
88
+ "required": false,
89
+ "defaultValue": null,
90
+ "category": "layout"
91
+ },
92
+ {
93
+ "name": "flexShrink",
94
+ "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>.",
95
+ "type": "number",
96
+ "required": false,
97
+ "defaultValue": null,
98
+ "category": "layout"
99
+ },
100
+ {
101
+ "name": "flexBasis",
102
+ "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>.",
103
+ "type": "string",
104
+ "required": false,
105
+ "defaultValue": null,
106
+ "category": "layout"
107
+ },
108
+ {
109
+ "name": "alignSelf",
110
+ "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>.",
111
+ "type": [
112
+ "\"center\"",
113
+ "\"auto\"",
114
+ "\"normal\"",
115
+ "\"start\"",
116
+ "\"end\"",
117
+ "\"flex-start\"",
118
+ "\"flex-end\"",
119
+ "\"self-start\"",
120
+ "\"self-end\"",
121
+ "\"baseline\"",
122
+ "\"stretch\""
123
+ ],
124
+ "required": false,
125
+ "defaultValue": null,
126
+ "category": "layout"
127
+ },
128
+ {
129
+ "name": "justifySelf",
130
+ "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>.",
131
+ "type": "string",
132
+ "required": false,
133
+ "defaultValue": null,
134
+ "category": "layout"
135
+ },
136
+ {
137
+ "name": "order",
138
+ "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>.",
139
+ "type": "number",
140
+ "required": false,
141
+ "defaultValue": null,
142
+ "category": "layout"
143
+ },
144
+ {
145
+ "name": "gridArea",
146
+ "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>.",
147
+ "type": "string",
148
+ "required": false,
149
+ "defaultValue": null,
150
+ "category": "layout"
151
+ },
152
+ {
153
+ "name": "gridColumn",
154
+ "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>.",
155
+ "type": "string",
156
+ "required": false,
157
+ "defaultValue": null,
158
+ "category": "layout"
159
+ },
160
+ {
161
+ "name": "gridRow",
162
+ "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>.",
163
+ "type": "string",
164
+ "required": false,
165
+ "defaultValue": null,
166
+ "category": "layout"
167
+ },
168
+ {
169
+ "name": "gridColumnStart",
170
+ "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>.",
171
+ "type": "string",
172
+ "required": false,
173
+ "defaultValue": null,
174
+ "category": "layout"
175
+ },
176
+ {
177
+ "name": "gridColumnEnd",
178
+ "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>.",
179
+ "type": "string",
180
+ "required": false,
181
+ "defaultValue": null,
182
+ "category": "layout"
183
+ },
184
+ {
185
+ "name": "gridRowStart",
186
+ "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>.",
187
+ "type": "string",
188
+ "required": false,
189
+ "defaultValue": null,
190
+ "category": "layout"
191
+ },
192
+ {
193
+ "name": "gridRowEnd",
194
+ "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>.",
195
+ "type": "string",
196
+ "required": false,
197
+ "defaultValue": null,
198
+ "category": "layout"
199
+ },
200
+ {
201
+ "name": "margin",
202
+ "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>.",
203
+ "type": "string",
204
+ "required": false,
205
+ "defaultValue": null,
206
+ "category": "spacing"
207
+ },
208
+ {
209
+ "name": "marginBottom",
210
+ "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>.",
211
+ "type": "string",
212
+ "required": false,
213
+ "defaultValue": null,
214
+ "category": "spacing"
215
+ },
216
+ {
217
+ "name": "marginLeft",
218
+ "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>.",
219
+ "type": "string",
220
+ "required": false,
221
+ "defaultValue": null,
222
+ "category": "spacing"
223
+ },
224
+ {
225
+ "name": "marginRight",
226
+ "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>.",
227
+ "type": "string",
228
+ "required": false,
229
+ "defaultValue": null,
230
+ "category": "spacing"
231
+ },
232
+ {
233
+ "name": "marginTop",
234
+ "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>.",
235
+ "type": "string",
236
+ "required": false,
237
+ "defaultValue": null,
238
+ "category": "spacing"
239
+ },
240
+ {
241
+ "name": "position",
242
+ "description": "Specifies how the element is positioned. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/position\">MDN</a>.",
243
+ "type": "string",
244
+ "required": false,
245
+ "defaultValue": null,
246
+ "category": "positioning"
247
+ },
248
+ {
249
+ "name": "top",
250
+ "description": "The top position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/top\">MDN</a>.",
251
+ "type": "string",
252
+ "required": false,
253
+ "defaultValue": null,
254
+ "category": "positioning"
255
+ },
256
+ {
257
+ "name": "bottom",
258
+ "description": "The bottom position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/bottom\">MDN</a>.",
259
+ "type": "string",
260
+ "required": false,
261
+ "defaultValue": null,
262
+ "category": "positioning"
263
+ },
264
+ {
265
+ "name": "left",
266
+ "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.",
267
+ "type": "string",
268
+ "required": false,
269
+ "defaultValue": null,
270
+ "category": "positioning"
271
+ },
272
+ {
273
+ "name": "right",
274
+ "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.",
275
+ "type": "string",
276
+ "required": false,
277
+ "defaultValue": null,
278
+ "category": "positioning"
279
+ },
280
+ {
281
+ "name": "zIndex",
282
+ "description": "The stacking order for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/z-index\">MDN</a>.",
283
+ "type": "string",
284
+ "required": false,
285
+ "defaultValue": null,
286
+ "category": "positioning"
287
+ }
288
+ ],
289
+ "examples": [],
290
+ "tags": {}
291
+ }