@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,258 @@
1
+ {
2
+ "name": "BaseSelect",
3
+ "description": "Select allows users to choose a single option from a dropdown list.\nBuilt on Floating UI with keyboard navigation and screen reader support.\n\nComposed of `Select.Trigger` and `Select.Content` sub-components.\nUse the `Item` component for options.\n\nFor searchable/filterable lists, use Combobox instead.",
4
+ "package": "@redsift/pickers",
5
+ "filePath": "packages/pickers/src/components/select/Select.tsx",
6
+ "props": [
7
+ {
8
+ "name": "color",
9
+ "description": "Button color that will be forward to the trigger.",
10
+ "type": "string",
11
+ "required": false,
12
+ "defaultValue": null,
13
+ "category": "props"
14
+ },
15
+ {
16
+ "name": "defaultValue",
17
+ "description": "Default selected value.\nUsed for uncontrolled version.",
18
+ "type": "string",
19
+ "required": false,
20
+ "defaultValue": null,
21
+ "category": "props"
22
+ },
23
+ {
24
+ "name": "description",
25
+ "description": "Description of the select.",
26
+ "type": [
27
+ "string",
28
+ "ReactElement<any, string | JSXElementConstructor<any>>"
29
+ ],
30
+ "required": false,
31
+ "defaultValue": null,
32
+ "category": "props"
33
+ },
34
+ {
35
+ "name": "descriptionProps",
36
+ "description": "Additional description properties.",
37
+ "type": "Omit<TextProps, \"ref\">",
38
+ "required": false,
39
+ "defaultValue": null,
40
+ "category": "props"
41
+ },
42
+ {
43
+ "name": "isDisabled",
44
+ "description": "Whether the component is disabled or not.",
45
+ "type": [
46
+ "false",
47
+ "true"
48
+ ],
49
+ "required": false,
50
+ "defaultValue": null,
51
+ "category": "props"
52
+ },
53
+ {
54
+ "name": "isInvalid",
55
+ "description": "Whether the component is invalid or not.",
56
+ "type": [
57
+ "false",
58
+ "true"
59
+ ],
60
+ "required": false,
61
+ "defaultValue": null,
62
+ "category": "props"
63
+ },
64
+ {
65
+ "name": "onChange",
66
+ "description": "Method to handle component change.",
67
+ "type": "(value: string) => void",
68
+ "required": false,
69
+ "defaultValue": null,
70
+ "category": "props"
71
+ },
72
+ {
73
+ "name": "value",
74
+ "description": "Currently selected value.\nUsed for controlled version.",
75
+ "type": "string",
76
+ "required": false,
77
+ "defaultValue": null,
78
+ "category": "props"
79
+ },
80
+ {
81
+ "name": "variant",
82
+ "description": "Button variant that will be forward to the trigger.",
83
+ "type": [
84
+ "\"primary\"",
85
+ "\"secondary\"",
86
+ "\"unstyled\"",
87
+ "\"default\"",
88
+ "\"underline\""
89
+ ],
90
+ "required": false,
91
+ "defaultValue": "'secondary'",
92
+ "category": "props"
93
+ },
94
+ {
95
+ "name": "theme",
96
+ "description": "Theme.",
97
+ "type": [
98
+ "\"light\"",
99
+ "\"dark\""
100
+ ],
101
+ "required": false,
102
+ "defaultValue": null,
103
+ "category": "props"
104
+ },
105
+ {
106
+ "name": "triggerClassName",
107
+ "description": "Class name to append to the trigger.",
108
+ "type": "string",
109
+ "required": false,
110
+ "defaultValue": null,
111
+ "category": "props"
112
+ },
113
+ {
114
+ "name": "wrapperProps",
115
+ "description": "Props to forward to the wrapper.",
116
+ "type": "Omit<FlexboxProps, \"ref\">",
117
+ "required": false,
118
+ "defaultValue": null,
119
+ "category": "props"
120
+ },
121
+ {
122
+ "name": "width",
123
+ "description": "Popover content width. Can be either based on the trigger, the available space or define with a number of pixels.",
124
+ "type": [
125
+ "number",
126
+ "\"trigger-width\"",
127
+ "\"available-width\""
128
+ ],
129
+ "required": false,
130
+ "defaultValue": null,
131
+ "category": "props"
132
+ },
133
+ {
134
+ "name": "minWidth",
135
+ "description": "Popover content min width. Can be either based on the trigger, the available space or define with a number of pixels.",
136
+ "type": [
137
+ "number",
138
+ "\"trigger-width\"",
139
+ "\"available-width\""
140
+ ],
141
+ "required": false,
142
+ "defaultValue": null,
143
+ "category": "props"
144
+ },
145
+ {
146
+ "name": "maxWidth",
147
+ "description": "Popover content max width. Can be either based on the trigger, the available space or define with a number of pixels.",
148
+ "type": [
149
+ "number",
150
+ "\"trigger-width\"",
151
+ "\"available-width\""
152
+ ],
153
+ "required": false,
154
+ "defaultValue": null,
155
+ "category": "props"
156
+ },
157
+ {
158
+ "name": "children",
159
+ "description": "Children. Can only be PopoverTrigger and PopoverContent.",
160
+ "type": "ReactNode",
161
+ "required": true,
162
+ "defaultValue": null,
163
+ "category": "props"
164
+ },
165
+ {
166
+ "name": "defaultOpen",
167
+ "description": "Default open status.\nUsed for uncontrolled version.",
168
+ "type": [
169
+ "false",
170
+ "true"
171
+ ],
172
+ "required": false,
173
+ "defaultValue": null,
174
+ "category": "props"
175
+ },
176
+ {
177
+ "name": "placement",
178
+ "description": "Default placement of the popover.",
179
+ "type": [
180
+ "\"top\"",
181
+ "\"bottom\"",
182
+ "\"left\"",
183
+ "\"right\"",
184
+ "\"top-start\"",
185
+ "\"top-end\"",
186
+ "\"right-start\"",
187
+ "\"right-end\"",
188
+ "\"bottom-start\"",
189
+ "\"bottom-end\"",
190
+ "\"left-start\"",
191
+ "\"left-end\""
192
+ ],
193
+ "required": false,
194
+ "defaultValue": "'bottom'",
195
+ "category": "props"
196
+ },
197
+ {
198
+ "name": "isModal",
199
+ "description": "Whether the popover is a modal or not.",
200
+ "type": [
201
+ "false",
202
+ "true"
203
+ ],
204
+ "required": false,
205
+ "defaultValue": "false",
206
+ "category": "props"
207
+ },
208
+ {
209
+ "name": "isOpen",
210
+ "description": "Whether the component is opened or not.\nUsed for controlled version.",
211
+ "type": [
212
+ "false",
213
+ "true"
214
+ ],
215
+ "required": false,
216
+ "defaultValue": null,
217
+ "category": "props"
218
+ },
219
+ {
220
+ "name": "offset",
221
+ "description": "Space between trigger and content (in pixels).",
222
+ "type": "number",
223
+ "required": false,
224
+ "defaultValue": "2",
225
+ "category": "props"
226
+ },
227
+ {
228
+ "name": "onOpen",
229
+ "description": "Method to handle component change.",
230
+ "type": "(open: boolean) => void",
231
+ "required": false,
232
+ "defaultValue": null,
233
+ "category": "props"
234
+ },
235
+ {
236
+ "name": "overrideDisplayName",
237
+ "description": "Allows other components to be treated as trigger and content.",
238
+ "type": "{ content?: string | undefined; trigger?: string | undefined; }",
239
+ "required": false,
240
+ "defaultValue": null,
241
+ "category": "props"
242
+ },
243
+ {
244
+ "name": "role",
245
+ "description": "Role to apply to the popover.",
246
+ "type": [
247
+ "\"dialog\"",
248
+ "\"menu\"",
249
+ "\"listbox\""
250
+ ],
251
+ "required": false,
252
+ "defaultValue": null,
253
+ "category": "props"
254
+ }
255
+ ],
256
+ "examples": [],
257
+ "tags": {}
258
+ }
@@ -0,0 +1,320 @@
1
+ {
2
+ "name": "Combobox",
3
+ "description": "",
4
+ "package": "@redsift/pickers",
5
+ "filePath": "packages/pickers/src/components/combobox/Combobox.tsx",
6
+ "props": [
7
+ {
8
+ "name": "variant",
9
+ "description": "If 'options', the input field cannot have free text, the selection has to be made within the options. If 'suggestions', then choosing from the list isn't mandatory and the user can write free text within the input.",
10
+ "type": [
11
+ "\"options\"",
12
+ "\"suggestions\""
13
+ ],
14
+ "required": false,
15
+ "defaultValue": "'options'",
16
+ "category": "props"
17
+ },
18
+ {
19
+ "name": "defaultValue",
20
+ "description": "Default selected value.\nUsed for uncontrolled version.",
21
+ "type": [
22
+ "string",
23
+ "string[]"
24
+ ],
25
+ "required": false,
26
+ "defaultValue": null,
27
+ "category": "props"
28
+ },
29
+ {
30
+ "name": "description",
31
+ "description": "Description of the combobox.",
32
+ "type": [
33
+ "string",
34
+ "ReactElement<any, string | JSXElementConstructor<any>>"
35
+ ],
36
+ "required": false,
37
+ "defaultValue": null,
38
+ "category": "props"
39
+ },
40
+ {
41
+ "name": "descriptionProps",
42
+ "description": "Additional description properties.",
43
+ "type": "Omit<TextProps, \"ref\">",
44
+ "required": false,
45
+ "defaultValue": null,
46
+ "category": "props"
47
+ },
48
+ {
49
+ "name": "filter",
50
+ "description": "Filtering parameters.",
51
+ "type": "{ type: \"startsWith\" | \"contains\" | \"endsWith\"; caseSensitive?: boolean | undefined; }",
52
+ "required": false,
53
+ "defaultValue": null,
54
+ "category": "props"
55
+ },
56
+ {
57
+ "name": "formRef",
58
+ "description": "Ref to the form, if any.",
59
+ "type": "RefObject<HTMLFormElement>",
60
+ "required": false,
61
+ "defaultValue": null,
62
+ "category": "props"
63
+ },
64
+ {
65
+ "name": "submitRef",
66
+ "description": "Ref to the submit button, if any.",
67
+ "type": "RefObject<HTMLButtonElement>",
68
+ "required": false,
69
+ "defaultValue": null,
70
+ "category": "props"
71
+ },
72
+ {
73
+ "name": "isDisabled",
74
+ "description": "Whether the component is disabled or not.",
75
+ "type": [
76
+ "false",
77
+ "true"
78
+ ],
79
+ "required": false,
80
+ "defaultValue": null,
81
+ "category": "props"
82
+ },
83
+ {
84
+ "name": "isInvalid",
85
+ "description": "Whether the component is invalid or not.",
86
+ "type": [
87
+ "false",
88
+ "true"
89
+ ],
90
+ "required": false,
91
+ "defaultValue": null,
92
+ "category": "props"
93
+ },
94
+ {
95
+ "name": "maxOptionsLength",
96
+ "description": "Maximum number of options displayed. Useful when too many options are displayed.",
97
+ "type": "number",
98
+ "required": false,
99
+ "defaultValue": null,
100
+ "category": "props"
101
+ },
102
+ {
103
+ "name": "onChange",
104
+ "description": "Method to handle selection change.",
105
+ "type": "(value: ComboboxValue) => void",
106
+ "required": false,
107
+ "defaultValue": null,
108
+ "category": "props"
109
+ },
110
+ {
111
+ "name": "onInputChange",
112
+ "description": "Method to handle input change.",
113
+ "type": "(value: string) => void",
114
+ "required": false,
115
+ "defaultValue": null,
116
+ "category": "props"
117
+ },
118
+ {
119
+ "name": "value",
120
+ "description": "Currently selected value.\nUsed for controlled version.",
121
+ "type": [
122
+ "string",
123
+ "string[]"
124
+ ],
125
+ "required": false,
126
+ "defaultValue": null,
127
+ "category": "props"
128
+ },
129
+ {
130
+ "name": "inputValue",
131
+ "description": "Input value.",
132
+ "type": "string",
133
+ "required": false,
134
+ "defaultValue": null,
135
+ "category": "props"
136
+ },
137
+ {
138
+ "name": "selectionMode",
139
+ "description": "Whether the Combobox allow multiple selection or not.",
140
+ "type": [
141
+ "\"single\"",
142
+ "\"multiple\""
143
+ ],
144
+ "required": false,
145
+ "defaultValue": null,
146
+ "category": "props"
147
+ },
148
+ {
149
+ "name": "theme",
150
+ "description": "Theme.",
151
+ "type": [
152
+ "\"light\"",
153
+ "\"dark\""
154
+ ],
155
+ "required": false,
156
+ "defaultValue": null,
157
+ "category": "props"
158
+ },
159
+ {
160
+ "name": "triggerClassName",
161
+ "description": "Class name to append to the trigger.",
162
+ "type": "string",
163
+ "required": false,
164
+ "defaultValue": null,
165
+ "category": "props"
166
+ },
167
+ {
168
+ "name": "wrapperProps",
169
+ "description": "Props to forward to the wrapper.",
170
+ "type": "Omit<FlexboxProps, \"ref\">",
171
+ "required": false,
172
+ "defaultValue": null,
173
+ "category": "props"
174
+ },
175
+ {
176
+ "name": "width",
177
+ "description": "Popover content width. Can be either based on the trigger, the available space or define with a number of pixels.",
178
+ "type": [
179
+ "number",
180
+ "\"trigger-width\"",
181
+ "\"available-width\""
182
+ ],
183
+ "required": false,
184
+ "defaultValue": null,
185
+ "category": "props"
186
+ },
187
+ {
188
+ "name": "minWidth",
189
+ "description": "Popover content min width. Can be either based on the trigger, the available space or define with a number of pixels.",
190
+ "type": [
191
+ "number",
192
+ "\"trigger-width\"",
193
+ "\"available-width\""
194
+ ],
195
+ "required": false,
196
+ "defaultValue": null,
197
+ "category": "props"
198
+ },
199
+ {
200
+ "name": "maxWidth",
201
+ "description": "Popover content max width. Can be either based on the trigger, the available space or define with a number of pixels.",
202
+ "type": [
203
+ "number",
204
+ "\"trigger-width\"",
205
+ "\"available-width\""
206
+ ],
207
+ "required": false,
208
+ "defaultValue": null,
209
+ "category": "props"
210
+ },
211
+ {
212
+ "name": "color",
213
+ "description": "Button color that will be forward to the trigger.",
214
+ "type": "string",
215
+ "required": false,
216
+ "defaultValue": null,
217
+ "category": "props"
218
+ },
219
+ {
220
+ "name": "children",
221
+ "description": "Children. Can only be PopoverTrigger and PopoverContent.",
222
+ "type": "ReactNode",
223
+ "required": true,
224
+ "defaultValue": null,
225
+ "category": "props"
226
+ },
227
+ {
228
+ "name": "defaultOpen",
229
+ "description": "Default open status.\nUsed for uncontrolled version.",
230
+ "type": [
231
+ "false",
232
+ "true"
233
+ ],
234
+ "required": false,
235
+ "defaultValue": null,
236
+ "category": "props"
237
+ },
238
+ {
239
+ "name": "placement",
240
+ "description": "Default placement of the popover.",
241
+ "type": [
242
+ "\"top\"",
243
+ "\"bottom\"",
244
+ "\"left\"",
245
+ "\"right\"",
246
+ "\"top-start\"",
247
+ "\"top-end\"",
248
+ "\"right-start\"",
249
+ "\"right-end\"",
250
+ "\"bottom-start\"",
251
+ "\"bottom-end\"",
252
+ "\"left-start\"",
253
+ "\"left-end\""
254
+ ],
255
+ "required": false,
256
+ "defaultValue": "'bottom'",
257
+ "category": "props"
258
+ },
259
+ {
260
+ "name": "isModal",
261
+ "description": "Whether the popover is a modal or not.",
262
+ "type": [
263
+ "false",
264
+ "true"
265
+ ],
266
+ "required": false,
267
+ "defaultValue": "false",
268
+ "category": "props"
269
+ },
270
+ {
271
+ "name": "isOpen",
272
+ "description": "Whether the component is opened or not.\nUsed for controlled version.",
273
+ "type": [
274
+ "false",
275
+ "true"
276
+ ],
277
+ "required": false,
278
+ "defaultValue": null,
279
+ "category": "props"
280
+ },
281
+ {
282
+ "name": "offset",
283
+ "description": "Space between trigger and content (in pixels).",
284
+ "type": "number",
285
+ "required": false,
286
+ "defaultValue": "2",
287
+ "category": "props"
288
+ },
289
+ {
290
+ "name": "onOpen",
291
+ "description": "Method to handle component change.",
292
+ "type": "(open: boolean) => void",
293
+ "required": false,
294
+ "defaultValue": null,
295
+ "category": "props"
296
+ },
297
+ {
298
+ "name": "overrideDisplayName",
299
+ "description": "Allows other components to be treated as trigger and content.",
300
+ "type": "{ content?: string | undefined; trigger?: string | undefined; }",
301
+ "required": false,
302
+ "defaultValue": null,
303
+ "category": "props"
304
+ },
305
+ {
306
+ "name": "role",
307
+ "description": "Role to apply to the popover.",
308
+ "type": [
309
+ "\"dialog\"",
310
+ "\"menu\"",
311
+ "\"listbox\""
312
+ ],
313
+ "required": false,
314
+ "defaultValue": null,
315
+ "category": "props"
316
+ }
317
+ ],
318
+ "examples": [],
319
+ "tags": {}
320
+ }