@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.
- package/README.md +203 -0
- package/consumer-instructions/.cursorrules +80 -0
- package/consumer-instructions/.windsurfrules +80 -0
- package/consumer-instructions/CLAUDE.md +87 -0
- package/consumer-instructions/redsift-design-system.instructions.md +87 -0
- package/data/demos/patterns/crossfiltered-datagrid-page/example.tsx +750 -0
- package/data/demos/patterns/crossfiltered-datagrid-page/with-empty-state.tsx +111 -0
- package/data/demos/patterns/crossfiltered-datagrid-page/with-error.tsx +122 -0
- package/data/demos/patterns/crossfiltered-datagrid-page/with-loading.tsx +88 -0
- package/data/demos/patterns/datagrid-page/example.tsx +521 -0
- package/data/demos/patterns/datagrid-page/with-empty-state.tsx +80 -0
- package/data/demos/patterns/datagrid-page/with-error.tsx +96 -0
- package/data/demos/patterns/datagrid-page/with-loading.tsx +57 -0
- package/data/demos/patterns/drilldown-datagrid-page/example.tsx +715 -0
- package/data/demos/patterns/drilldown-datagrid-page/with-empty-state.tsx +113 -0
- package/data/demos/patterns/drilldown-datagrid-page/with-error.tsx +125 -0
- package/data/demos/patterns/drilldown-datagrid-page/with-loading.tsx +90 -0
- package/data/demos/patterns/server-datagrid-page/example.tsx +757 -0
- package/data/demos/patterns/server-datagrid-page/with-empty-state.tsx +107 -0
- package/data/demos/patterns/server-datagrid-page/with-error.tsx +107 -0
- package/data/demos/patterns/server-datagrid-page/with-loading.tsx +63 -0
- package/data/docs/components/charts/Arc.json +179 -0
- package/data/docs/components/charts/Arcs.json +104 -0
- package/data/docs/components/charts/Axis.json +269 -0
- package/data/docs/components/charts/Bar.json +236 -0
- package/data/docs/components/charts/BarChart.json +852 -0
- package/data/docs/components/charts/BarChartBars.json +18 -0
- package/data/docs/components/charts/BarChartGroupedTooltip.json +9 -0
- package/data/docs/components/charts/BarChartOverlay.json +34 -0
- package/data/docs/components/charts/BarChartSection.json +94 -0
- package/data/docs/components/charts/BaseBarChart.json +852 -0
- package/data/docs/components/charts/ChartContainerTitle.json +574 -0
- package/data/docs/components/charts/DataPoint.json +160 -0
- package/data/docs/components/charts/Dot.json +191 -0
- package/data/docs/components/charts/EmptyBarChart.json +852 -0
- package/data/docs/components/charts/EmptyLineChart.json +753 -0
- package/data/docs/components/charts/EmptyPieChart.json +826 -0
- package/data/docs/components/charts/EmptyScatterPlot.json +802 -0
- package/data/docs/components/charts/Legend.json +510 -0
- package/data/docs/components/charts/LegendItem.json +128 -0
- package/data/docs/components/charts/Line.json +69 -0
- package/data/docs/components/charts/LineChart.json +753 -0
- package/data/docs/components/charts/LoadingBarChart.json +852 -0
- package/data/docs/components/charts/LoadingLineChart.json +753 -0
- package/data/docs/components/charts/LoadingPieChart.json +826 -0
- package/data/docs/components/charts/LoadingScatterPlot.json +802 -0
- package/data/docs/components/charts/PieChart.json +826 -0
- package/data/docs/components/charts/RenderedLineChart.json +753 -0
- package/data/docs/components/charts/RenderedLinearBarChart.json +823 -0
- package/data/docs/components/charts/RenderedOrdinalBarChart.json +852 -0
- package/data/docs/components/charts/RenderedPieChart.json +826 -0
- package/data/docs/components/charts/RenderedScatterPlot.json +802 -0
- package/data/docs/components/charts/ScatterPlot.json +802 -0
- package/data/docs/components/charts/getAxisType.json +9 -0
- package/data/docs/components/charts/getComponentPosition.json +9 -0
- package/data/docs/components/dashboard/ChartEmptyState.json +42 -0
- package/data/docs/components/dashboard/Dashboard.json +26 -0
- package/data/docs/components/dashboard/DataCard.json +300 -0
- package/data/docs/components/dashboard/DataCardBody.json +431 -0
- package/data/docs/components/dashboard/DataCardHeader.json +304 -0
- package/data/docs/components/dashboard/DataCardListbox.json +529 -0
- package/data/docs/components/dashboard/DataRow.json +539 -0
- package/data/docs/components/dashboard/DrilldownItem.json +342 -0
- package/data/docs/components/dashboard/FilterableBarChart.json +83 -0
- package/data/docs/components/dashboard/FilterableDataGrid.json +83 -0
- package/data/docs/components/dashboard/FilterablePieChart.json +83 -0
- package/data/docs/components/dashboard/FilterableScatterPlot.json +83 -0
- package/data/docs/components/dashboard/PdfDocument.json +58 -0
- package/data/docs/components/dashboard/PdfExportButton.json +458 -0
- package/data/docs/components/dashboard/TimeSeriesBarChart.json +172 -0
- package/data/docs/components/dashboard/WithFilters.json +83 -0
- package/data/docs/components/design-system/ActiveDescendantListbox.json +521 -0
- package/data/docs/components/design-system/Alert.json +349 -0
- package/data/docs/components/design-system/AppBar.json +64 -0
- package/data/docs/components/design-system/AppContainer.json +67 -0
- package/data/docs/components/design-system/AppContent.json +566 -0
- package/data/docs/components/design-system/AppSidePanel.json +87 -0
- package/data/docs/components/design-system/Badge.json +293 -0
- package/data/docs/components/design-system/BaseBreadcrumbs.json +298 -0
- package/data/docs/components/design-system/BaseGrid.json +543 -0
- package/data/docs/components/design-system/BaseSkeleton.json +338 -0
- package/data/docs/components/design-system/BreadcrumbItem.json +231 -0
- package/data/docs/components/design-system/Breadcrumbs.json +298 -0
- package/data/docs/components/design-system/Button.json +402 -0
- package/data/docs/components/design-system/ButtonGroup.json +415 -0
- package/data/docs/components/design-system/ButtonLink.json +568 -0
- package/data/docs/components/design-system/Card.json +328 -0
- package/data/docs/components/design-system/CardActions.json +431 -0
- package/data/docs/components/design-system/CardBody.json +431 -0
- package/data/docs/components/design-system/CardHeader.json +428 -0
- package/data/docs/components/design-system/Checkbox.json +426 -0
- package/data/docs/components/design-system/CheckboxGroup.json +382 -0
- package/data/docs/components/design-system/ConditionalWrapper.json +40 -0
- package/data/docs/components/design-system/DetailedCard.json +401 -0
- package/data/docs/components/design-system/DetailedCardCollapsibleSectionItems.json +29 -0
- package/data/docs/components/design-system/DetailedCardHeader.json +37 -0
- package/data/docs/components/design-system/DetailedCardSection.json +90 -0
- package/data/docs/components/design-system/DetailedCardSectionItem.json +109 -0
- package/data/docs/components/design-system/Flexbox.json +523 -0
- package/data/docs/components/design-system/FocusWithinGroup.json +9 -0
- package/data/docs/components/design-system/Grid.json +543 -0
- package/data/docs/components/design-system/GridItem.json +388 -0
- package/data/docs/components/design-system/Heading.json +390 -0
- package/data/docs/components/design-system/Icon.json +325 -0
- package/data/docs/components/design-system/IconButton.json +371 -0
- package/data/docs/components/design-system/IconButtonLink.json +588 -0
- package/data/docs/components/design-system/Item.json +554 -0
- package/data/docs/components/design-system/Link.json +552 -0
- package/data/docs/components/design-system/LinkButton.json +397 -0
- package/data/docs/components/design-system/Listbox.json +529 -0
- package/data/docs/components/design-system/Number.json +773 -0
- package/data/docs/components/design-system/NumberField.json +594 -0
- package/data/docs/components/design-system/Pill.json +378 -0
- package/data/docs/components/design-system/ProgressBar.json +121 -0
- package/data/docs/components/design-system/RadarSvgLinearGradient.json +9 -0
- package/data/docs/components/design-system/Radio.json +415 -0
- package/data/docs/components/design-system/RadioGroup.json +382 -0
- package/data/docs/components/design-system/RenderedListboxItem.json +18 -0
- package/data/docs/components/design-system/RovingTabindexListbox.json +521 -0
- package/data/docs/components/design-system/Shield.json +360 -0
- package/data/docs/components/design-system/SideNavigationMenu.json +144 -0
- package/data/docs/components/design-system/SideNavigationMenuBar.json +89 -0
- package/data/docs/components/design-system/SideNavigationMenuItem.json +319 -0
- package/data/docs/components/design-system/Skeleton.json +338 -0
- package/data/docs/components/design-system/SkeletonCircle.json +338 -0
- package/data/docs/components/design-system/SkeletonText.json +371 -0
- package/data/docs/components/design-system/Spinner.json +291 -0
- package/data/docs/components/design-system/Switch.json +415 -0
- package/data/docs/components/design-system/SwitchGroup.json +382 -0
- package/data/docs/components/design-system/Text.json +418 -0
- package/data/docs/components/design-system/TextArea.json +501 -0
- package/data/docs/components/design-system/TextField.json +539 -0
- package/data/docs/components/design-system/sizeToDimension.json +9 -0
- package/data/docs/components/pickers/BaseCombobox.json +320 -0
- package/data/docs/components/pickers/BaseComboboxContent.json +453 -0
- package/data/docs/components/pickers/BaseMenuButton.json +240 -0
- package/data/docs/components/pickers/BaseMenuButtonContent.json +442 -0
- package/data/docs/components/pickers/BaseSelect.json +258 -0
- package/data/docs/components/pickers/Combobox.json +320 -0
- package/data/docs/components/pickers/ComboboxContent.json +453 -0
- package/data/docs/components/pickers/ComboboxContentFooter.json +431 -0
- package/data/docs/components/pickers/ComboboxContentHeader.json +431 -0
- package/data/docs/components/pickers/ComboboxContentListbox.json +541 -0
- package/data/docs/components/pickers/ComboboxTrigger.json +336 -0
- package/data/docs/components/pickers/Item.json +554 -0
- package/data/docs/components/pickers/MenuButton.json +240 -0
- package/data/docs/components/pickers/MenuButtonContent.json +442 -0
- package/data/docs/components/pickers/MenuButtonContentFooter.json +431 -0
- package/data/docs/components/pickers/MenuButtonContentHeader.json +431 -0
- package/data/docs/components/pickers/MenuButtonContentMenu.json +523 -0
- package/data/docs/components/pickers/MenuButtonTrigger.json +287 -0
- package/data/docs/components/pickers/Select.json +258 -0
- package/data/docs/components/pickers/SelectContent.json +442 -0
- package/data/docs/components/pickers/SelectTrigger.json +298 -0
- package/data/docs/components/popovers/BaseDialog.json +114 -0
- package/data/docs/components/popovers/BaseDialogContent.json +21 -0
- package/data/docs/components/popovers/BasePopover.json +171 -0
- package/data/docs/components/popovers/BaseToggletip.json +184 -0
- package/data/docs/components/popovers/BaseTooltip.json +121 -0
- package/data/docs/components/popovers/Button.json +402 -0
- package/data/docs/components/popovers/ButtonLink.json +568 -0
- package/data/docs/components/popovers/Dialog.json +114 -0
- package/data/docs/components/popovers/DialogContent.json +21 -0
- package/data/docs/components/popovers/DialogContentActions.json +442 -0
- package/data/docs/components/popovers/DialogContentBody.json +442 -0
- package/data/docs/components/popovers/DialogContentHeader.json +76 -0
- package/data/docs/components/popovers/DialogTrigger.json +276 -0
- package/data/docs/components/popovers/IconButton.json +371 -0
- package/data/docs/components/popovers/IconButtonLink.json +588 -0
- package/data/docs/components/popovers/Link.json +552 -0
- package/data/docs/components/popovers/LinkButton.json +397 -0
- package/data/docs/components/popovers/Popover.json +171 -0
- package/data/docs/components/popovers/PopoverContent.json +442 -0
- package/data/docs/components/popovers/PopoverTrigger.json +276 -0
- package/data/docs/components/popovers/Toast.json +145 -0
- package/data/docs/components/popovers/ToastContainer.json +122 -0
- package/data/docs/components/popovers/Toggletip.json +184 -0
- package/data/docs/components/popovers/ToggletipContent.json +402 -0
- package/data/docs/components/popovers/ToggletipTrigger.json +276 -0
- package/data/docs/components/popovers/Tooltip.json +121 -0
- package/data/docs/components/popovers/TooltipContent.json +402 -0
- package/data/docs/components/popovers/TooltipTrigger.json +276 -0
- package/data/docs/components/products/Dialog.json +106 -0
- package/data/docs/components/products/MenuButton.json +232 -0
- package/data/docs/components/products/PulsedRadarImage.json +9 -0
- package/data/docs/components/products/RadarButton.json +402 -0
- package/data/docs/components/products/RadarItem.json +554 -0
- package/data/docs/components/table/ControlledPagination.json +9 -0
- package/data/docs/components/table/DataGrid.json +93 -0
- package/data/docs/components/table/GridToolbarFilterSemanticField.json +69 -0
- package/data/docs/components/table/ServerSideControlledPagination.json +9 -0
- package/data/docs/components/table/StatefulDataGrid.json +117 -0
- package/data/docs/components/table/TextCell.json +118 -0
- package/data/docs/components/table/Toolbar.json +145 -0
- package/data/docs/components/table/ToolbarWrapper.json +9 -0
- package/data/docs/components-index.json +1206 -0
- package/data/docs/components.json +55694 -0
- package/data/docs/llms-full.txt +8012 -0
- package/data/docs/llms.txt +234 -0
- package/data/docs/patterns-catalog.md +359 -0
- package/data/docs/patterns.json +712 -0
- package/data/metadata.json +4 -0
- package/data/patterns/crossfiltered-datagrid-page.mdx +386 -0
- package/data/patterns/datagrid-page.mdx +214 -0
- package/data/patterns/drilldown-datagrid-page.mdx +291 -0
- package/data/patterns/server-datagrid-page.mdx +301 -0
- package/data/tokens/properties/components/dark-components.json +1108 -0
- package/data/tokens/properties/components/light-components.json +1108 -0
- package/data/tokens/properties/core/border-radius.json +3 -0
- package/data/tokens/properties/core/color.json +280 -0
- package/data/tokens/properties/core/layout.json +14 -0
- package/data/tokens/properties/core/typography.json +199 -0
- package/data/tokens/redsift-design-tokens.css +1391 -0
- package/dist/data-store.d.ts +47 -0
- package/dist/data-store.d.ts.map +1 -0
- package/dist/data-store.js +152 -0
- package/dist/data-store.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +50 -0
- package/dist/index.js.map +1 -0
- package/dist/init.d.ts +14 -0
- package/dist/init.d.ts.map +1 -0
- package/dist/init.js +137 -0
- package/dist/init.js.map +1 -0
- package/dist/paths.d.ts +30 -0
- package/dist/paths.d.ts.map +1 -0
- package/dist/paths.js +53 -0
- package/dist/paths.js.map +1 -0
- package/dist/pattern-store.d.ts +41 -0
- package/dist/pattern-store.d.ts.map +1 -0
- package/dist/pattern-store.js +177 -0
- package/dist/pattern-store.js.map +1 -0
- package/dist/prompts.d.ts +14 -0
- package/dist/prompts.d.ts.map +1 -0
- package/dist/prompts.js +762 -0
- package/dist/prompts.js.map +1 -0
- package/dist/resources.d.ts +14 -0
- package/dist/resources.d.ts.map +1 -0
- package/dist/resources.js +482 -0
- package/dist/resources.js.map +1 -0
- package/dist/scaffold.d.ts +31 -0
- package/dist/scaffold.d.ts.map +1 -0
- package/dist/scaffold.js +239 -0
- package/dist/scaffold.js.map +1 -0
- package/dist/token-store.d.ts +70 -0
- package/dist/token-store.d.ts.map +1 -0
- package/dist/token-store.js +196 -0
- package/dist/token-store.js.map +1 -0
- package/dist/tools.d.ts +15 -0
- package/dist/tools.d.ts.map +1 -0
- package/dist/tools.js +491 -0
- package/dist/tools.js.map +1 -0
- package/dist/types.d.ts +108 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +17 -0
- package/dist/types.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "DataPoint",
|
|
3
|
+
"description": "",
|
|
4
|
+
"package": "@redsift/charts",
|
|
5
|
+
"filePath": "packages/charts/src/components/DataPoint/DataPoint.tsx",
|
|
6
|
+
"props": [
|
|
7
|
+
{
|
|
8
|
+
"name": "anchorProps",
|
|
9
|
+
"description": "Anchor props to use when the component is a navigation link.",
|
|
10
|
+
"type": "AnchorProps",
|
|
11
|
+
"required": false,
|
|
12
|
+
"defaultValue": null,
|
|
13
|
+
"category": "props"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "color",
|
|
17
|
+
"description": "Color of the DataPoint.",
|
|
18
|
+
"type": "string",
|
|
19
|
+
"required": false,
|
|
20
|
+
"defaultValue": null,
|
|
21
|
+
"category": "props"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "data",
|
|
25
|
+
"description": "Data. Also state to which the component should end the animation, if any.",
|
|
26
|
+
"type": "any",
|
|
27
|
+
"required": true,
|
|
28
|
+
"defaultValue": null,
|
|
29
|
+
"category": "props"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "dataset",
|
|
33
|
+
"description": "Entire dataset in which the data point is a part of.",
|
|
34
|
+
"type": "any[]",
|
|
35
|
+
"required": true,
|
|
36
|
+
"defaultValue": null,
|
|
37
|
+
"category": "props"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "disableAnimations",
|
|
41
|
+
"description": "Disable animations.",
|
|
42
|
+
"type": [
|
|
43
|
+
"false",
|
|
44
|
+
"true"
|
|
45
|
+
],
|
|
46
|
+
"required": false,
|
|
47
|
+
"defaultValue": null,
|
|
48
|
+
"category": "props"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "groupedData",
|
|
52
|
+
"description": "Group of data in which the data point is a part of.",
|
|
53
|
+
"type": "any[]",
|
|
54
|
+
"required": false,
|
|
55
|
+
"defaultValue": null,
|
|
56
|
+
"category": "props"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "id",
|
|
60
|
+
"description": "Id. Used for accessibility.",
|
|
61
|
+
"type": "string",
|
|
62
|
+
"required": false,
|
|
63
|
+
"defaultValue": null,
|
|
64
|
+
"category": "props"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "index",
|
|
68
|
+
"description": "Position in the list of siblings. Used for placement and selection.",
|
|
69
|
+
"type": "number",
|
|
70
|
+
"required": false,
|
|
71
|
+
"defaultValue": null,
|
|
72
|
+
"category": "props"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "isSelected",
|
|
76
|
+
"description": "Whether the component is selected or not. Used only if the component is selectable. Set to `undefined` to make nor selected nor unselected.",
|
|
77
|
+
"type": [
|
|
78
|
+
"false",
|
|
79
|
+
"true"
|
|
80
|
+
],
|
|
81
|
+
"required": false,
|
|
82
|
+
"defaultValue": null,
|
|
83
|
+
"category": "props"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "labelDecorator",
|
|
87
|
+
"description": "Method modifying the label before displaying it.",
|
|
88
|
+
"type": "(data: any, props?: { index?: number | undefined; isSelected?: boolean | undefined; color?: string | undefined; } | undefined) => string | ReactElement<any, string | JSXElementConstructor<any>>",
|
|
89
|
+
"required": false,
|
|
90
|
+
"defaultValue": null,
|
|
91
|
+
"category": "props"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "onClick",
|
|
95
|
+
"description": "Method called when a click or keydown occurs on the component.",
|
|
96
|
+
"type": "(data: any, dataset: any[]) => void",
|
|
97
|
+
"required": false,
|
|
98
|
+
"defaultValue": null,
|
|
99
|
+
"category": "props"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "previousData",
|
|
103
|
+
"description": "State from which the component should start the animation, if any.",
|
|
104
|
+
"type": "any",
|
|
105
|
+
"required": false,
|
|
106
|
+
"defaultValue": null,
|
|
107
|
+
"category": "props"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "role",
|
|
111
|
+
"description": "Role. Will be set to 'button' if onClick is provided. If 'option', then the component becomes selectable.",
|
|
112
|
+
"type": [
|
|
113
|
+
"\"button\"",
|
|
114
|
+
"\"img\"",
|
|
115
|
+
"\"link\"",
|
|
116
|
+
"\"option\""
|
|
117
|
+
],
|
|
118
|
+
"required": false,
|
|
119
|
+
"defaultValue": null,
|
|
120
|
+
"category": "props"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "theme",
|
|
124
|
+
"description": "Theme.",
|
|
125
|
+
"type": [
|
|
126
|
+
"\"light\"",
|
|
127
|
+
"\"dark\""
|
|
128
|
+
],
|
|
129
|
+
"required": false,
|
|
130
|
+
"defaultValue": null,
|
|
131
|
+
"category": "props"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "tooltipVariant",
|
|
135
|
+
"description": "Tooltip variant.",
|
|
136
|
+
"type": "string",
|
|
137
|
+
"required": false,
|
|
138
|
+
"defaultValue": null,
|
|
139
|
+
"category": "props"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "tooltipDecorator",
|
|
143
|
+
"description": "Method modifying what's displayed within the tooltip when the tooltipVariant is \"custom\".",
|
|
144
|
+
"type": "(data: any, props?: { index?: number | undefined; isSelected?: boolean | undefined; color?: string | undefined; } | undefined, dataset?: any[] | undefined, groupedData?: any[] | undefined) => string | ReactElement<any, string | JSXElementConstructor<any>>",
|
|
145
|
+
"required": false,
|
|
146
|
+
"defaultValue": null,
|
|
147
|
+
"category": "props"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "tooltipProps",
|
|
151
|
+
"description": "Default placement of the tooltip.",
|
|
152
|
+
"type": "Partial<Omit<TooltipProps, \"ref\">>",
|
|
153
|
+
"required": false,
|
|
154
|
+
"defaultValue": null,
|
|
155
|
+
"category": "props"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"examples": [],
|
|
159
|
+
"tags": {}
|
|
160
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Dot",
|
|
3
|
+
"description": "",
|
|
4
|
+
"package": "@redsift/charts",
|
|
5
|
+
"filePath": "packages/charts/src/components/Dot/Dot.tsx",
|
|
6
|
+
"props": [
|
|
7
|
+
{
|
|
8
|
+
"name": "scaleX",
|
|
9
|
+
"description": "A scale defined over a numeric/time/ordinal domain used to determine the x position based on the coordinates.",
|
|
10
|
+
"type": [
|
|
11
|
+
"ScaleLinear<number, number, never>",
|
|
12
|
+
"ScaleTime<number, number, never>",
|
|
13
|
+
"ScalePoint<string>"
|
|
14
|
+
],
|
|
15
|
+
"required": true,
|
|
16
|
+
"defaultValue": null,
|
|
17
|
+
"category": "props"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "scaleY",
|
|
21
|
+
"description": "A linear continuous scale defined over a numeric domain used to determine the y position based on the coordinates.",
|
|
22
|
+
"type": "ScaleLinear<number, number, never>",
|
|
23
|
+
"required": true,
|
|
24
|
+
"defaultValue": null,
|
|
25
|
+
"category": "props"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "variant",
|
|
29
|
+
"description": "Variant.",
|
|
30
|
+
"type": [
|
|
31
|
+
"\"plain\"",
|
|
32
|
+
"\"hollow\""
|
|
33
|
+
],
|
|
34
|
+
"required": false,
|
|
35
|
+
"defaultValue": "'plain'",
|
|
36
|
+
"category": "props"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "anchorProps",
|
|
40
|
+
"description": "Anchor props to use when the component is a navigation link.",
|
|
41
|
+
"type": "AnchorProps",
|
|
42
|
+
"required": false,
|
|
43
|
+
"defaultValue": null,
|
|
44
|
+
"category": "props"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "color",
|
|
48
|
+
"description": "Color of the DataPoint.",
|
|
49
|
+
"type": "string",
|
|
50
|
+
"required": false,
|
|
51
|
+
"defaultValue": null,
|
|
52
|
+
"category": "props"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "data",
|
|
56
|
+
"description": "Data. Also state to which the component should end the animation, if any.",
|
|
57
|
+
"type": "DotDatum",
|
|
58
|
+
"required": true,
|
|
59
|
+
"defaultValue": null,
|
|
60
|
+
"category": "props"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "dataset",
|
|
64
|
+
"description": "Entire dataset in which the data point is a part of.",
|
|
65
|
+
"type": "any[]",
|
|
66
|
+
"required": true,
|
|
67
|
+
"defaultValue": null,
|
|
68
|
+
"category": "props"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "disableAnimations",
|
|
72
|
+
"description": "Disable animations.",
|
|
73
|
+
"type": [
|
|
74
|
+
"false",
|
|
75
|
+
"true"
|
|
76
|
+
],
|
|
77
|
+
"required": false,
|
|
78
|
+
"defaultValue": null,
|
|
79
|
+
"category": "props"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "groupedData",
|
|
83
|
+
"description": "Group of data in which the data point is a part of.",
|
|
84
|
+
"type": "any[]",
|
|
85
|
+
"required": false,
|
|
86
|
+
"defaultValue": null,
|
|
87
|
+
"category": "props"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "id",
|
|
91
|
+
"description": "Id. Used for accessibility.",
|
|
92
|
+
"type": "string",
|
|
93
|
+
"required": false,
|
|
94
|
+
"defaultValue": null,
|
|
95
|
+
"category": "props"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "index",
|
|
99
|
+
"description": "Position in the list of siblings. Used for placement and selection.",
|
|
100
|
+
"type": "number",
|
|
101
|
+
"required": false,
|
|
102
|
+
"defaultValue": null,
|
|
103
|
+
"category": "props"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "isSelected",
|
|
107
|
+
"description": "Whether the component is selected or not. Used only if the component is selectable. Set to `undefined` to make nor selected nor unselected.",
|
|
108
|
+
"type": [
|
|
109
|
+
"false",
|
|
110
|
+
"true"
|
|
111
|
+
],
|
|
112
|
+
"required": false,
|
|
113
|
+
"defaultValue": null,
|
|
114
|
+
"category": "props"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "labelDecorator",
|
|
118
|
+
"description": "Method modifying the label before displaying it.",
|
|
119
|
+
"type": "(data: DotDatum, props?: { index?: number | undefined; isSelected?: boolean | undefined; color?: string | undefined; } | undefined) => string | ReactElement<any, string | JSXElementConstructor<any>>",
|
|
120
|
+
"required": false,
|
|
121
|
+
"defaultValue": null,
|
|
122
|
+
"category": "props"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "onClick",
|
|
126
|
+
"description": "Method called when a click or keydown occurs on the component.",
|
|
127
|
+
"type": "(data: DotDatum, dataset: any[]) => void",
|
|
128
|
+
"required": false,
|
|
129
|
+
"defaultValue": null,
|
|
130
|
+
"category": "props"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "previousData",
|
|
134
|
+
"description": "State from which the component should start the animation, if any.",
|
|
135
|
+
"type": "DotDatum",
|
|
136
|
+
"required": false,
|
|
137
|
+
"defaultValue": null,
|
|
138
|
+
"category": "props"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "role",
|
|
142
|
+
"description": "Role. Will be set to 'button' if onClick is provided. If 'option', then the component becomes selectable.",
|
|
143
|
+
"type": [
|
|
144
|
+
"\"button\"",
|
|
145
|
+
"\"img\"",
|
|
146
|
+
"\"link\"",
|
|
147
|
+
"\"option\""
|
|
148
|
+
],
|
|
149
|
+
"required": false,
|
|
150
|
+
"defaultValue": null,
|
|
151
|
+
"category": "props"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "theme",
|
|
155
|
+
"description": "Theme.",
|
|
156
|
+
"type": [
|
|
157
|
+
"\"light\"",
|
|
158
|
+
"\"dark\""
|
|
159
|
+
],
|
|
160
|
+
"required": false,
|
|
161
|
+
"defaultValue": null,
|
|
162
|
+
"category": "props"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "tooltipVariant",
|
|
166
|
+
"description": "Tooltip variant.",
|
|
167
|
+
"type": "string",
|
|
168
|
+
"required": false,
|
|
169
|
+
"defaultValue": null,
|
|
170
|
+
"category": "props"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "tooltipDecorator",
|
|
174
|
+
"description": "Method modifying what's displayed within the tooltip when the tooltipVariant is \"custom\".",
|
|
175
|
+
"type": "(data: DotDatum, props?: { index?: number | undefined; isSelected?: boolean | undefined; color?: string | undefined; } | undefined, dataset?: any[] | undefined, groupedData?: any[] | undefined) => string | ReactElement<any, string | JSXElementConstructor<any>>",
|
|
176
|
+
"required": false,
|
|
177
|
+
"defaultValue": null,
|
|
178
|
+
"category": "props"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "tooltipProps",
|
|
182
|
+
"description": "Default placement of the tooltip.",
|
|
183
|
+
"type": "Partial<Omit<TooltipProps, \"ref\">>",
|
|
184
|
+
"required": false,
|
|
185
|
+
"defaultValue": null,
|
|
186
|
+
"category": "props"
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"examples": [],
|
|
190
|
+
"tags": {}
|
|
191
|
+
}
|