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