@synertech/ui 0.50.1 → 0.52.0

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 (194) hide show
  1. package/.claude/skills/use-synertech-ui/SKILL.md +190 -146
  2. package/README.md +27 -19
  3. package/dist/components/accordion/Accordion.cjs +1 -1
  4. package/dist/components/accordion/Accordion.js +1 -1
  5. package/dist/components/advance-detachable/AdvanceDetachable.cjs +1 -1
  6. package/dist/components/advance-detachable/AdvanceDetachable.js +1 -1
  7. package/dist/components/area-chart/AreaChart.cjs +1 -1
  8. package/dist/components/area-chart/AreaChart.js +1 -1
  9. package/dist/components/avatar/Avatar.cjs +1 -1
  10. package/dist/components/avatar/Avatar.js +1 -1
  11. package/dist/components/avatar/AvatarImage.cjs +1 -0
  12. package/dist/components/avatar/AvatarImage.js +1 -0
  13. package/dist/components/banner/Banner.cjs +1 -1
  14. package/dist/components/banner/Banner.js +1 -1
  15. package/dist/components/bar-chart/BarChart.cjs +1 -1
  16. package/dist/components/bar-chart/BarChart.js +1 -1
  17. package/dist/components/box-plot/BoxPlot.cjs +1 -1
  18. package/dist/components/box-plot/BoxPlot.js +1 -1
  19. package/dist/components/breadcrumb/Breadcrumb.cjs +1 -1
  20. package/dist/components/breadcrumb/Breadcrumb.js +1 -1
  21. package/dist/components/bullet-chart/BulletChart.cjs +1 -1
  22. package/dist/components/bullet-chart/BulletChart.js +1 -1
  23. package/dist/components/calendar/Calendar.cjs +1 -1
  24. package/dist/components/calendar/Calendar.js +1 -1
  25. package/dist/components/candlestick-chart/CandlestickChart.cjs +1 -1
  26. package/dist/components/candlestick-chart/CandlestickChart.js +1 -1
  27. package/dist/components/card/Card.cjs +1 -1
  28. package/dist/components/card/Card.js +1 -1
  29. package/dist/components/chart/ChartAnnotations.cjs +1 -1
  30. package/dist/components/chart/ChartAnnotations.js +1 -1
  31. package/dist/components/chart/ChartBrush.cjs +1 -1
  32. package/dist/components/chart/ChartBrush.js +1 -1
  33. package/dist/components/chart/ChartContainer.cjs +1 -1
  34. package/dist/components/chart/ChartContainer.js +1 -1
  35. package/dist/components/chart/ChartExportButton.cjs +1 -1
  36. package/dist/components/chart/ChartExportButton.js +1 -1
  37. package/dist/components/chart/ChartPatterns.cjs +1 -1
  38. package/dist/components/chart/ChartPatterns.js +1 -1
  39. package/dist/components/chart/ChartPeriodPicker.cjs +1 -1
  40. package/dist/components/chart/ChartPeriodPicker.js +1 -1
  41. package/dist/components/chart/ChartPlotClip.cjs +1 -0
  42. package/dist/components/chart/ChartPlotClip.js +1 -0
  43. package/dist/components/chart/ChartSync.cjs +1 -1
  44. package/dist/components/chart/ChartSync.js +1 -1
  45. package/dist/components/chart/ChartTableView.cjs +1 -1
  46. package/dist/components/chart/ChartTableView.js +1 -1
  47. package/dist/components/chart/exportSource.cjs +1 -0
  48. package/dist/components/chart/exportSource.js +1 -0
  49. package/dist/components/chart/palette.cjs +1 -1
  50. package/dist/components/chart/palette.js +1 -1
  51. package/dist/components/chart/useChartSize.cjs +1 -1
  52. package/dist/components/chart/useChartSize.js +1 -1
  53. package/dist/components/chart/utils/bins.cjs +1 -1
  54. package/dist/components/chart/utils/bins.js +1 -1
  55. package/dist/components/chart/utils/cartesian.cjs +1 -1
  56. package/dist/components/chart/utils/cartesian.js +1 -1
  57. package/dist/components/chart/utils/export.cjs +7 -1
  58. package/dist/components/chart/utils/export.js +7 -1
  59. package/dist/components/chart/utils/format.cjs +1 -1
  60. package/dist/components/chart/utils/format.js +1 -1
  61. package/dist/components/chart/utils/keyboard.cjs +1 -1
  62. package/dist/components/chart/utils/keyboard.js +1 -1
  63. package/dist/components/chart/utils/period.cjs +1 -1
  64. package/dist/components/chart/utils/period.js +1 -1
  65. package/dist/components/chart/utils/regression.cjs +1 -0
  66. package/dist/components/chart/utils/regression.js +1 -0
  67. package/dist/components/chart/utils/stack.cjs +1 -1
  68. package/dist/components/chart/utils/stack.js +1 -1
  69. package/dist/components/chart/utils/ticks.cjs +1 -1
  70. package/dist/components/chart/utils/ticks.js +1 -1
  71. package/dist/components/checkbox/Checkbox.cjs +1 -1
  72. package/dist/components/checkbox/Checkbox.js +1 -1
  73. package/dist/components/circular-progress/CircularProgress.cjs +1 -1
  74. package/dist/components/circular-progress/CircularProgress.js +1 -1
  75. package/dist/components/datagrid/DataGrid.cjs +1 -1
  76. package/dist/components/datagrid/DataGrid.js +1 -1
  77. package/dist/components/detachable/Detachable.cjs +1 -1
  78. package/dist/components/detachable/Detachable.js +1 -1
  79. package/dist/components/detachable/popup-window.cjs +1 -0
  80. package/dist/components/detachable/popup-window.js +1 -0
  81. package/dist/components/detachable/useMovableContent.cjs +1 -0
  82. package/dist/components/detachable/useMovableContent.js +1 -0
  83. package/dist/components/device-mockup/DeviceMockup.cjs +1 -1
  84. package/dist/components/device-mockup/DeviceMockup.js +1 -1
  85. package/dist/components/divider/Divider.cjs +1 -1
  86. package/dist/components/divider/Divider.js +1 -1
  87. package/dist/components/drawer/Drawer.cjs +1 -1
  88. package/dist/components/drawer/Drawer.js +1 -1
  89. package/dist/components/dropdown/DropdownContent.cjs +1 -1
  90. package/dist/components/dropdown/DropdownContent.js +1 -1
  91. package/dist/components/dropdown/DropdownSubMenu.cjs +1 -1
  92. package/dist/components/dropdown/DropdownSubMenu.js +1 -1
  93. package/dist/components/dropdown/hooks/useClickOutside.cjs +1 -1
  94. package/dist/components/dropdown/hooks/useClickOutside.js +1 -1
  95. package/dist/components/dropdown/hooks/usePositioning.cjs +1 -1
  96. package/dist/components/dropdown/hooks/usePositioning.js +1 -1
  97. package/dist/components/dumbbell-chart/DumbbellChart.cjs +1 -1
  98. package/dist/components/dumbbell-chart/DumbbellChart.js +1 -1
  99. package/dist/components/file-selector/FileSelector.cjs +1 -1
  100. package/dist/components/file-selector/FileSelector.js +1 -1
  101. package/dist/components/footer/FooterBottom.cjs +1 -1
  102. package/dist/components/footer/FooterBottom.js +1 -1
  103. package/dist/components/form/input/Input.cjs +1 -1
  104. package/dist/components/form/input/Input.js +1 -1
  105. package/dist/components/form/mention-input/MentionInput.cjs +5 -1
  106. package/dist/components/form/mention-input/MentionInput.js +5 -1
  107. package/dist/components/form/number-input/NumberInput.cjs +1 -1
  108. package/dist/components/form/number-input/NumberInput.js +1 -1
  109. package/dist/components/form/shared/InputWrapper.cjs +1 -1
  110. package/dist/components/form/shared/InputWrapper.js +1 -1
  111. package/dist/components/funnel-chart/FunnelChart.cjs +1 -1
  112. package/dist/components/funnel-chart/FunnelChart.js +1 -1
  113. package/dist/components/gantt-chart/GanttChart.cjs +1 -1
  114. package/dist/components/gantt-chart/GanttChart.js +1 -1
  115. package/dist/components/heat-map/Heatmap.cjs +1 -1
  116. package/dist/components/heat-map/Heatmap.js +1 -1
  117. package/dist/components/image-uploader/ImageUploader.cjs +1 -1
  118. package/dist/components/image-uploader/ImageUploader.js +1 -1
  119. package/dist/components/line-chart/LineChart.cjs +1 -1
  120. package/dist/components/line-chart/LineChart.js +1 -1
  121. package/dist/components/modal/Modal.cjs +1 -1
  122. package/dist/components/modal/Modal.js +1 -1
  123. package/dist/components/pagination/Pagination.cjs +1 -1
  124. package/dist/components/pagination/Pagination.js +1 -1
  125. package/dist/components/pie-chart/PieChart.cjs +1 -1
  126. package/dist/components/pie-chart/PieChart.js +1 -1
  127. package/dist/components/progress-bar/ProgressBar.cjs +1 -1
  128. package/dist/components/progress-bar/ProgressBar.js +1 -1
  129. package/dist/components/radio-button/RadioButton.cjs +1 -1
  130. package/dist/components/radio-button/RadioButton.js +1 -1
  131. package/dist/components/scatter-chart/ScatterChart.cjs +1 -1
  132. package/dist/components/scatter-chart/ScatterChart.js +1 -1
  133. package/dist/components/scatter-chart/index.cjs +1 -1
  134. package/dist/components/scatter-chart/index.js +1 -1
  135. package/dist/components/schema-editor/SchemaEditor.cjs +1 -1
  136. package/dist/components/schema-editor/SchemaEditor.js +1 -1
  137. package/dist/components/schema-editor/SchemaEditor.types.cjs +1 -1
  138. package/dist/components/schema-editor/canvas/GridLayer.cjs +1 -1
  139. package/dist/components/schema-editor/canvas/GridLayer.js +1 -1
  140. package/dist/components/schema-editor/minimap/SchemaMinimap.cjs +1 -1
  141. package/dist/components/schema-editor/minimap/SchemaMinimap.js +1 -1
  142. package/dist/components/schema-editor/relations/SchemaRelationRenderer.cjs +1 -1
  143. package/dist/components/schema-editor/relations/SchemaRelationRenderer.js +1 -1
  144. package/dist/components/schema-editor/tables/SchemaTableRenderer.cjs +1 -1
  145. package/dist/components/schema-editor/tables/SchemaTableRenderer.js +1 -1
  146. package/dist/components/schema-editor/toolbar/SchemaToolbar.cjs +1 -1
  147. package/dist/components/schema-editor/toolbar/SchemaToolbar.js +1 -1
  148. package/dist/components/schema-editor/utils/import.cjs +1 -0
  149. package/dist/components/schema-editor/utils/import.js +1 -0
  150. package/dist/components/schema-editor/utils/sql-export.cjs +6 -5
  151. package/dist/components/schema-editor/utils/sql-export.js +7 -6
  152. package/dist/components/select/Select.cjs +1 -1
  153. package/dist/components/select/Select.js +1 -1
  154. package/dist/components/slider/Slider.cjs +1 -1
  155. package/dist/components/slider/Slider.js +1 -1
  156. package/dist/components/sparkline/Sparkline.cjs +1 -1
  157. package/dist/components/sparkline/Sparkline.js +1 -1
  158. package/dist/components/table/TableRow.cjs +1 -1
  159. package/dist/components/table/TableRow.js +1 -1
  160. package/dist/components/waterfall-chart/WaterfallChart.cjs +1 -1
  161. package/dist/components/waterfall-chart/WaterfallChart.js +1 -1
  162. package/dist/components/wizard/Wizard.cjs +1 -1
  163. package/dist/components/wizard/Wizard.js +1 -1
  164. package/dist/components/workflow-editor/WorkflowEditor.cjs +1 -1
  165. package/dist/components/workflow-editor/WorkflowEditor.js +1 -1
  166. package/dist/components/workflow-editor/canvas/GridLayer.cjs +1 -1
  167. package/dist/components/workflow-editor/canvas/GridLayer.js +1 -1
  168. package/dist/components/workflow-editor/nodes/WorkflowNodeRenderer.cjs +1 -1
  169. package/dist/components/workflow-editor/nodes/WorkflowNodeRenderer.js +1 -1
  170. package/dist/components/workflow-editor/toolbar/WorkflowToolbar.cjs +1 -1
  171. package/dist/components/workflow-editor/toolbar/WorkflowToolbar.js +1 -1
  172. package/dist/components/workflow-editor/utils/import.cjs +1 -0
  173. package/dist/components/workflow-editor/utils/import.js +1 -0
  174. package/dist/hooks/useDialogA11y.cjs +1 -1
  175. package/dist/hooks/useDialogA11y.js +1 -1
  176. package/dist/index.d.cts +522 -184
  177. package/dist/index.d.ts +522 -184
  178. package/dist/lib/accept.cjs +1 -0
  179. package/dist/lib/accept.js +1 -0
  180. package/dist/lib/canvas-events.cjs +1 -0
  181. package/dist/lib/canvas-events.js +1 -0
  182. package/dist/lib/css-value.cjs +1 -0
  183. package/dist/lib/css-value.js +1 -0
  184. package/dist/lib/dialog-stack.cjs +1 -1
  185. package/dist/lib/dialog-stack.js +1 -1
  186. package/dist/lib/layer-document.cjs +1 -0
  187. package/dist/lib/layer-document.js +1 -0
  188. package/dist/lib/owner-document.cjs +1 -0
  189. package/dist/lib/owner-document.js +1 -0
  190. package/dist/lib/ui-labels.cjs +1 -1
  191. package/dist/lib/ui-labels.js +1 -1
  192. package/dist/styles-no-preflight.css +10270 -0
  193. package/dist/styles.css +390 -450
  194. package/package.json +9 -4
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import react__default, { ReactNode, ReactElement, ComponentPropsWithoutRef, ComponentType, AnchorHTMLAttributes, MouseEvent, PointerEvent, KeyboardEvent, CSSProperties, ChangeEvent, RefObject, Dispatch, SetStateAction, HTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, TdHTMLAttributes } from 'react';
3
+ import react__default, { ReactNode, ReactElement, ComponentPropsWithoutRef, ComponentType, AnchorHTMLAttributes, MouseEvent, PointerEvent, KeyboardEvent, CSSProperties, ChangeEvent, RefObject, Dispatch, SetStateAction, DOMAttributes, ChangeEventHandler, HTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, TdHTMLAttributes } from 'react';
4
4
  import { M as MarkdownEditorComponent } from './types-99-Ej5og.js';
5
5
  export { a as MarkdownEditorProps } from './types-99-Ej5og.js';
6
6
 
@@ -69,6 +69,12 @@ interface AdvanceDetachableRenderContext {
69
69
  }
70
70
  interface AdvanceDetachableProps<T = unknown> {
71
71
  mode: "detach" | "clone";
72
+ /**
73
+ * Names the channel the value is shared on. Every instance with the same
74
+ * `id` shares one value, in every tab of the application: put the
75
+ * identifier of what is edited in it (`invoice-${invoice.id}`). A fixed
76
+ * `id` makes two tabs that edit two records hand each other their values.
77
+ */
72
78
  id: string;
73
79
  title?: string;
74
80
  children: ReactNode | ((ctx: AdvanceDetachableRenderContext) => ReactNode);
@@ -78,6 +84,13 @@ interface AdvanceDetachableProps<T = unknown> {
78
84
  isDetached?: boolean;
79
85
  defaultDetached?: boolean;
80
86
  onDetachedChange?: (detached: boolean) => void;
87
+ /**
88
+ * The browser refused to open the window (a popup blocker: expected with
89
+ * `defaultDetached`, which opens it without a click). The content stays in
90
+ * the page, and `onDetachedChange(false)` follows, so that a controlled
91
+ * parent goes back to attached too.
92
+ */
93
+ onPopupBlocked?: () => void;
81
94
  features?: string;
82
95
  target?: string;
83
96
  autoFocus?: boolean;
@@ -382,6 +395,15 @@ interface ChartBrushRange {
382
395
  to: ChartXValue;
383
396
  fromIndex: number;
384
397
  toIndex: number;
398
+ /**
399
+ * Where the interval of the last row ends: the x value of the row after
400
+ * `to`, or past the last row, `to` moved on by the step the rows were
401
+ * taking. A row of a monthly series stands for the whole month, so a window
402
+ * from January to March covers March to its end — which `brushToPeriod`
403
+ * reads here. Absent when the window cannot say, on a single row or on
404
+ * values that are not dates or numbers.
405
+ */
406
+ end?: ChartXValue;
385
407
  }
386
408
  /**
387
409
  * What a panel carries besides its data.
@@ -497,7 +519,9 @@ interface AreaChartProps extends CartesianChartBaseProps, Omit<ComponentPropsWit
497
519
  * Runs the path through LTTB, which keeps the peaks a stride sample walks
498
520
  * straight past. Only the paths are thinned: the geometry, the crosshair,
499
521
  * the tooltip and the data table keep reading every row. Left unset, a
500
- * series past `CHART_POINT_BUDGET` warns once in development.
522
+ * series past `CHART_POINT_BUDGET` warns once in development. A stack is
523
+ * thinned once for all its bands, on the rows any of their edges needs, so
524
+ * an edge two bands share is drawn from the same points by both.
501
525
  */
502
526
  maxPoints?: number;
503
527
  /**
@@ -542,6 +566,10 @@ interface AvatarProps extends ComponentPropsWithoutRef<"div"> {
542
566
  * name of the person, or `frenchUILabels.avatarAlt`.
543
567
  */
544
568
  alt?: string;
569
+ /**
570
+ * Text drawn when there is no picture, and under the picture while it
571
+ * loads or when it fails to: the first letter of `alt` without it.
572
+ */
545
573
  fallback?: string;
546
574
  size?: "xs" | "sm" | "md" | "lg" | "xl";
547
575
  variant?: "circle" | "square" | "rounded";
@@ -622,6 +650,12 @@ interface CartesianGeometryOptions {
622
650
  * is read for its slope, and forcing zero flattens the change.
623
651
  */
624
652
  defaultIncludeZero?: boolean;
653
+ /**
654
+ * Language the ticks of a time axis write their dates in — the one the
655
+ * chart resolved, never the runtime's, or a server and a browser label the
656
+ * same tick two ways.
657
+ */
658
+ locale?: string;
625
659
  }
626
660
  interface CartesianGeometry {
627
661
  margin: ChartMargin;
@@ -670,7 +704,7 @@ interface CartesianGeometry {
670
704
  * It speaks in value and category axes rather than x and y, because a
671
705
  * horizontal bar chart swaps which screen axis carries which.
672
706
  */
673
- declare function buildCartesianGeometry({ width, height, data, x, y, bounds, margin, orientation, placement, bandPaddingInner, formatValue, formatX, extraTop, defaultIncludeZero, }: CartesianGeometryOptions): CartesianGeometry;
707
+ declare function buildCartesianGeometry({ width, height, data, x, y, bounds, margin, orientation, placement, bandPaddingInner, formatValue, formatX, extraTop, defaultIncludeZero, locale, }: CartesianGeometryOptions): CartesianGeometry;
674
708
  /**
675
709
  * Where a raw x value lands on the category axis, in pixels.
676
710
  *
@@ -848,7 +882,9 @@ interface BarChartProps extends CartesianChartBaseProps, Omit<ComponentPropsWith
848
882
  * Lets a pointer drag a window across the category axis.
849
883
  *
850
884
  * Shift + arrows does the same from the keyboard, Escape drops it, and the
851
- * window is published to the surrounding `ChartSyncProvider`.
885
+ * window is published to the surrounding `ChartSyncProvider`. Ignored when
886
+ * `sort` ranks the categories: a stretch of a ranking is not a stretch of
887
+ * the data, and a group's window is not drawn on one either.
852
888
  */
853
889
  brush?: boolean;
854
890
  /** Called when a window is set, and with `null` when one is dropped. */
@@ -888,6 +924,12 @@ interface BannerProps extends Omit<ComponentPropsWithoutRef<"div">, "title"> {
888
924
  description?: ReactNode;
889
925
  icon?: ReactNode;
890
926
  action?: ReactNode;
927
+ /**
928
+ * Draws a close button. A banner closed comes back when what it says
929
+ * changes — its type, title, description or text — where the next message
930
+ * never appeared. A message written as an element is not compared: give
931
+ * the banner a `key` of its own for it.
932
+ */
891
933
  closable?: boolean;
892
934
  /** Accessible name of the close button. Defaults to the `bannerClose` label. */
893
935
  closeLabel?: string;
@@ -926,8 +968,13 @@ interface BreadcrumbItem {
926
968
  */
927
969
  href?: string;
928
970
  icon?: ReactNode;
929
- /** Called on a click, with its event: `event.preventDefault()` keeps the link from being followed. */
930
- onClick?: (event: MouseEvent<HTMLAnchorElement>) => void;
971
+ /**
972
+ * Called on a click, with its event: `event.preventDefault()` keeps the
973
+ * link from being followed. An item with an `onClick` and no `href` is a
974
+ * button, so that the keyboard reaches it: an `<a>` without an address
975
+ * takes no focus.
976
+ */
977
+ onClick?(event: MouseEvent<HTMLAnchorElement | HTMLButtonElement>): void;
931
978
  }
932
979
  interface BreadcrumbProps extends ComponentPropsWithoutRef<"nav"> {
933
980
  items: BreadcrumbItem[];
@@ -997,7 +1044,11 @@ interface BulletChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "chi
997
1044
  */
998
1045
  locale?: string;
999
1046
  plotLabel?: string;
1000
- /** Header of the value column of the data table. */
1047
+ /**
1048
+ * Header of the value column of the data table, and caption of the value
1049
+ * axis when there is one (a shared or fixed domain). `x.label` names the
1050
+ * rows, never the measure.
1051
+ */
1001
1052
  valueLabel?: string;
1002
1053
  /** Header of the target column of the data table. */
1003
1054
  targetLabel?: string;
@@ -1518,6 +1569,82 @@ interface CandlestickChartProps extends Omit<ComponentPropsWithoutRef<"figure">,
1518
1569
  */
1519
1570
  declare function CandlestickChart({ data, x, y, open, high, low, close, candleSize, fillRising, colors, referenceLines, height, width, size, grid, legend, tooltip, tableView, title, description, loading, emptyState, error, errorState, onRetry, actions, margin, locale: localeProp, plotLabel, openLabel, highLabel, lowLabel, closeLabel, riseLabel, fallLabel, format, onCandleClick, className, ...props }: CandlestickChartProps): react_jsx_runtime.JSX.Element;
1520
1571
 
1572
+ /**
1573
+ * The table a chart holds: what its data table lists, and what a file of it
1574
+ * writes.
1575
+ *
1576
+ * Every chart of the kit hands one to its `ChartContainer`, which is how a
1577
+ * `ChartExportButton` placed in its `actions` with no data of its own writes
1578
+ * the rows the table lists — in the order the table sorts them, with the
1579
+ * series the legend shows.
1580
+ */
1581
+ interface ChartExportSource {
1582
+ data: readonly ChartDatum[];
1583
+ series: readonly ChartSeries[];
1584
+ /** Field the rows are keyed on — the chart's x axis. */
1585
+ xKey: string;
1586
+ /** Header of the first column. Defaults to `xKey`. */
1587
+ xLabel?: string;
1588
+ /**
1589
+ * Formats the category of each row.
1590
+ *
1591
+ * Only the category: the measurements are written raw on purpose. A
1592
+ * spreadsheet is going to compute on them, and `1 234,5 €` is a string.
1593
+ */
1594
+ formatX?: (value: ChartXValue, index: number) => string;
1595
+ }
1596
+ /**
1597
+ * What a chart hands to a file.
1598
+ *
1599
+ * The same rows its data table draws, which is the point: `DataGrid` has
1600
+ * exported CSV and JSON since it shipped, and a chart holds an exact table of
1601
+ * its own already. Every value a reader can see is a value they can take away.
1602
+ */
1603
+ interface ChartExportOptions extends ChartExportSource {
1604
+ /**
1605
+ * Keeps a category or a series label from running as a formula.
1606
+ *
1607
+ * A file is opened by someone other than whoever named the series: text
1608
+ * starting with `=`, `+`, `-` or `@` is written to the CSV with an apostrophe
1609
+ * in front, so a spreadsheet shows it instead of computing it. The
1610
+ * measurements are numbers and are never touched. On unless it is `false`;
1611
+ * the JSON file is not concerned.
1612
+ */
1613
+ neutralizeFormulas?: boolean;
1614
+ }
1615
+ /** One exported row: the category, then one column per visible series. */
1616
+ type ChartExportRow = Record<string, string | number | null>;
1617
+ /**
1618
+ * The chart's rows, in the shape a file wants: one object per row.
1619
+ *
1620
+ * An object lists a key that reads as a number (a series named "2025") before
1621
+ * the others, whatever order it was written in: a file of these rows is
1622
+ * written by `toChartCsv` and `toChartJson`, which keep the order of the table.
1623
+ */
1624
+ declare function toChartRows(options: ChartExportOptions): ChartExportRow[];
1625
+ /**
1626
+ * The chart's data table as a CSV document.
1627
+ *
1628
+ * RFC 4180 rather than the usual "does it contain a comma": a label holding a
1629
+ * newline or a quote breaks a file just as thoroughly, and silently.
1630
+ */
1631
+ declare function toChartCsv(options: ChartExportOptions, delimiter?: string): string;
1632
+ /**
1633
+ * The chart's data table as a JSON document.
1634
+ *
1635
+ * Written key by key rather than through `JSON.stringify` of the rows, which
1636
+ * would put a series named "2025" before the category again.
1637
+ */
1638
+ declare function toChartJson(options: ChartExportOptions): string;
1639
+ type ChartExportFormat = "csv" | "json";
1640
+ /**
1641
+ * Hands the chart's rows to the browser as a file.
1642
+ *
1643
+ * Does nothing outside a browser rather than throwing: a chart is rendered on
1644
+ * the server too, and a download is the one thing that cannot happen there.
1645
+ */
1646
+ declare function downloadChartData(format: ChartExportFormat, options: ChartExportOptions, filename?: string): void;
1647
+
1521
1648
  /** Geometry handed to the render prop once the container has been measured. */
1522
1649
  interface ChartContainerRenderArgs {
1523
1650
  width: number;
@@ -1537,6 +1664,12 @@ interface ChartContainerProps extends Omit<ComponentPropsWithoutRef<"figure">, "
1537
1664
  legendPosition?: ChartLegendPosition;
1538
1665
  /** Slot on the right of the caption — a range picker, an export button. */
1539
1666
  actions?: ReactNode;
1667
+ /**
1668
+ * The table a `ChartExportButton` in `actions` writes when it is given no
1669
+ * data of its own: the rows the data table lists, in its order, with the
1670
+ * series the legend shows. Every chart of the kit sets it.
1671
+ */
1672
+ exportSource?: ChartExportSource;
1540
1673
  /**
1541
1674
  * Dims the plot while fresh data loads. The previous render is held rather
1542
1675
  * than replaced by a spinner, so nothing jumps; the spinner only shows on
@@ -1589,7 +1722,7 @@ interface ChartContainerProps extends Omit<ComponentPropsWithoutRef<"figure">, "
1589
1722
  * The plot area is a render prop: a chart cannot lay itself out before the
1590
1723
  * container has been measured.
1591
1724
  */
1592
- declare function ChartContainer({ title, description, height, width: fixedWidth, size, legend, legendPosition, actions, loading, empty, emptyState, error, errorState, onRetry, errorLabel, errorHintLabel, retryLabel, table, tableView, showTableLabel, hideTableLabel, noDataLabel, loadingLabel, ariaLabel, children, className, ...props }: ChartContainerProps): react_jsx_runtime.JSX.Element;
1725
+ declare function ChartContainer({ title, description, height, width: fixedWidth, size, legend, legendPosition, actions, exportSource, loading, empty, emptyState, error, errorState, onRetry, errorLabel, errorHintLabel, retryLabel, table, tableView, showTableLabel, hideTableLabel, noDataLabel, loadingLabel, ariaLabel, children, className, ...props }: ChartContainerProps): react_jsx_runtime.JSX.Element;
1593
1726
 
1594
1727
  type ChartAxisOrientation = "bottom" | "left";
1595
1728
  interface ChartAxisProps extends Omit<ComponentPropsWithoutRef<"g">, "children"> {
@@ -1702,6 +1835,14 @@ interface ChartAnnotationLayerProps {
1702
1835
  * skipped rather than drawn on the edge.
1703
1836
  */
1704
1837
  xAt: (value: ChartXValue) => number | null;
1838
+ /**
1839
+ * Where an end of a band lands, even past the edge of the plot — an
1840
+ * infinity on the side it lies past. A band with one end outside the
1841
+ * window is clipped to it rather than dropped: half of it is still on
1842
+ * screen. Left unset, a band reads its ends through `xAt` and is drawn only
1843
+ * when both are on the plot.
1844
+ */
1845
+ spanAt?: (value: ChartXValue) => number | null;
1705
1846
  /** Where a value lands along the value axis. */
1706
1847
  yAt: (value: number) => number;
1707
1848
  /** Size of the plot area. */
@@ -1735,7 +1876,7 @@ interface ChartAnnotationLayerProps {
1735
1876
  * Everything here is chrome by default — grey, thin, dashed. An annotation
1736
1877
  * that draws the eye more strongly than the data has become the chart.
1737
1878
  */
1738
- declare function ChartAnnotationLayer({ annotations, xAt, yAt, width, height, bandwidth, layer, }: ChartAnnotationLayerProps): react_jsx_runtime.JSX.Element | null;
1879
+ declare function ChartAnnotationLayer({ annotations, xAt, spanAt, yAt, width, height, bandwidth, layer, }: ChartAnnotationLayerProps): react_jsx_runtime.JSX.Element | null;
1739
1880
  /**
1740
1881
  * The annotations, as one sentence for the chart's accessible name.
1741
1882
  *
@@ -1759,6 +1900,14 @@ interface ChartBrushLayerProps {
1759
1900
  live?: boolean;
1760
1901
  /** Names the region for assistive technology. */
1761
1902
  label?: string;
1903
+ /**
1904
+ * Narrowest the window is drawn, in pixels.
1905
+ *
1906
+ * A window of a single row on a line runs from a point to the same point:
1907
+ * it was set, it was published, and nothing on screen showed it. Below this
1908
+ * width the window is widened around its middle.
1909
+ */
1910
+ minSpan?: number;
1762
1911
  }
1763
1912
  /**
1764
1913
  * The window a reader selected, drawn across the plot.
@@ -1767,7 +1916,7 @@ interface ChartBrushLayerProps {
1767
1916
  * of the window are the part a reader checks, and the boundary of a 14%
1768
1917
  * translucent band is not a line anybody can point at.
1769
1918
  */
1770
- declare function ChartBrushLayer({ from, to, width, height, orientation, live, label, }: ChartBrushLayerProps): react_jsx_runtime.JSX.Element | null;
1919
+ declare function ChartBrushLayer({ from, to, width, height, orientation, live, label, minSpan, }: ChartBrushLayerProps): react_jsx_runtime.JSX.Element | null;
1771
1920
  interface UseChartBrushOptions {
1772
1921
  /** `false` leaves every handler a no-op, so a chart can wire them anyway. */
1773
1922
  enabled: boolean;
@@ -1798,12 +1947,17 @@ interface UseChartBrushResult {
1798
1947
  /**
1799
1948
  * Shift + arrows to extend the window, Escape to drop it.
1800
1949
  *
1801
- * Never consumes the key: the chart's own handler still moves its crosshair
1802
- * on the same press, which is what keeps the window's head and the focused
1803
- * position in step. Keyboard parity is not optional here — a filter that can
1804
- * only be set by dragging is a filter half the readers cannot reach.
1950
+ * Never prevents the key's default itself: the chart's own handler still
1951
+ * moves its crosshair on the same press, which is what keeps the window's
1952
+ * head and the focused position in step. Keyboard parity is not optional
1953
+ * here — a filter that can only be set by dragging is a filter half the
1954
+ * readers cannot reach.
1955
+ *
1956
+ * @returns `true` when Escape dropped a window. The chart then consumes the
1957
+ * key — and only then: an Escape that dropped nothing belongs to the dialog
1958
+ * the chart may sit in.
1805
1959
  */
1806
- onKeyDown: (event: KeyboardEvent<SVGSVGElement>, focusedIndex: number | null) => void;
1960
+ onKeyDown: (event: KeyboardEvent<SVGSVGElement>, focusedIndex: number | null) => boolean;
1807
1961
  /** `true` when the press that just ended was a drag, not a click. */
1808
1962
  consumedClick: () => boolean;
1809
1963
  }
@@ -1933,7 +2087,10 @@ declare function ChartSyncProvider({ children, hover, brush, defaultBrush, onBru
1933
2087
  * The point of brushing: a reader drags a fortnight on the line and the
1934
2088
  * dashboard is now read over that fortnight. Both ends are widened to whole
1935
2089
  * days, the way `ChartPeriodPicker` resolves its own presets — a window ending
1936
- * at midnight drops its own last day.
2090
+ * at midnight drops its own last day. And the last row counts whole: on
2091
+ * monthly rows, a window from January to March runs to the 31st of March,
2092
+ * where the interval that row stands for ends, rather than stopping on the
2093
+ * 1st.
1937
2094
  *
1938
2095
  * Answers `null` when the axis that was brushed carries no date at all. It
1939
2096
  * cannot tell a timestamp from any other number, though — a time axis stores
@@ -1944,60 +2101,11 @@ declare function ChartSyncProvider({ children, hover, brush, defaultBrush, onBru
1944
2101
  declare function brushToPeriod(range: ChartBrushRange): ChartPeriod | null;
1945
2102
 
1946
2103
  /**
1947
- * What a chart hands to a file.
1948
- *
1949
- * The same rows its data table draws, which is the point: `DataGrid` has
1950
- * exported CSV and JSON since it shipped, and a chart holds an exact table of
1951
- * its own already. Every value a reader can see is a value they can take away.
1952
- */
1953
- interface ChartExportOptions {
1954
- data: readonly ChartDatum[];
1955
- series: readonly ChartSeries[];
1956
- /** Field the rows are keyed on — the chart's x axis. */
1957
- xKey: string;
1958
- /** Header of the first column. Defaults to `xKey`. */
1959
- xLabel?: string;
1960
- /**
1961
- * Formats the category of each row.
1962
- *
1963
- * Only the category: the measurements are written raw on purpose. A
1964
- * spreadsheet is going to compute on them, and `1 234,5 €` is a string.
1965
- */
1966
- formatX?: (value: ChartXValue, index: number) => string;
1967
- /**
1968
- * Keeps a category or a series label from running as a formula.
1969
- *
1970
- * A file is opened by someone other than whoever named the series: text
1971
- * starting with `=`, `+`, `-` or `@` is written to the CSV with an apostrophe
1972
- * in front, so a spreadsheet shows it instead of computing it. The
1973
- * measurements are numbers and are never touched. On unless it is `false`;
1974
- * the JSON file is not concerned.
1975
- */
1976
- neutralizeFormulas?: boolean;
1977
- }
1978
- /** One exported row: the category, then one column per visible series. */
1979
- type ChartExportRow = Record<string, string | number | null>;
1980
- /** The chart's rows, in the shape a file wants: one object per row. */
1981
- declare function toChartRows({ data, series, xKey, xLabel, formatX, }: ChartExportOptions): ChartExportRow[];
1982
- /**
1983
- * The chart's data table as a CSV document.
1984
- *
1985
- * RFC 4180 rather than the usual "does it contain a comma": a label holding a
1986
- * newline or a quote breaks a file just as thoroughly, and silently.
2104
+ * What to write, every field optional: in the `actions` of a chart, a field
2105
+ * left out is the chart's own — the rows its data table lists, in the order
2106
+ * it sorts them, with the series its legend shows.
1987
2107
  */
1988
- declare function toChartCsv(options: ChartExportOptions, delimiter?: string): string;
1989
- /** The chart's data table as a JSON document. */
1990
- declare function toChartJson(options: ChartExportOptions): string;
1991
- type ChartExportFormat = "csv" | "json";
1992
- /**
1993
- * Hands the chart's rows to the browser as a file.
1994
- *
1995
- * Does nothing outside a browser rather than throwing: a chart is rendered on
1996
- * the server too, and a download is the one thing that cannot happen there.
1997
- */
1998
- declare function downloadChartData(format: ChartExportFormat, options: ChartExportOptions, filename?: string): void;
1999
-
2000
- interface ChartExportButtonProps extends ChartExportOptions {
2108
+ interface ChartExportButtonProps extends Partial<ChartExportOptions> {
2001
2109
  className?: string;
2002
2110
  disabled?: boolean;
2003
2111
  /** Which files to offer, in the order they are listed. */
@@ -2027,12 +2135,18 @@ interface ChartExportButtonProps extends ChartExportOptions {
2027
2135
  * the other controls already are — the `actions` slot of a `ChartContainer`,
2028
2136
  * or of the `ChartFilterBar` above a whole dashboard.
2029
2137
  *
2138
+ * In the `actions` of a chart it needs nothing: it writes the chart's own
2139
+ * table, so a series hidden from the legend is left out of the file and the
2140
+ * rows come in the order the table sorts them. Outside a chart — in a
2141
+ * `ChartFilterBar` — it is handed `data`, `series` and `xKey`. A field passed
2142
+ * wins over the chart's.
2143
+ *
2030
2144
  * ```tsx
2031
2145
  * <LineChart
2032
2146
  * data={rows}
2033
2147
  * series={series}
2034
2148
  * x={{ key: "month" }}
2035
- * actions={<ChartExportButton data={rows} series={series} xKey="month" />}
2149
+ * actions={<ChartExportButton filename="revenue" />}
2036
2150
  * />
2037
2151
  * ```
2038
2152
  *
@@ -2118,83 +2232,6 @@ declare function decimateIndices(points: readonly PathPoint[], maxPoints: number
2118
2232
  */
2119
2233
  declare function decimatePath(points: readonly PathPoint[], maxPoints: number): PathPoint[];
2120
2234
 
2121
- /**
2122
- * The colour a texture is cut through — the chart surface itself.
2123
- *
2124
- * Declared in `src/styles/index.css` under both theme scopes, so a stripe is
2125
- * white on a white panel and gray-800 on a dark one without a component ever
2126
- * asking which theme is on.
2127
- */
2128
- declare const CHART_SURFACE_COLOR = "var(--color-chart-surface)";
2129
- /**
2130
- * The textures, in the order they are handed out.
2131
- *
2132
- * One per palette slot, and assigned the same way: by the series' position in
2133
- * `series`, never by its rank. Hiding a series repaints nothing, and the
2134
- * texture a reader learnt in the legend is still the one on the plot.
2135
- *
2136
- * Every hatch runs at 45° or its mirror at 135°, never horizontal and never
2137
- * vertical: those two align with the gridlines and with the edges of the
2138
- * marks, where they read as part of the chrome rather than as a fill. The
2139
- * first slot is left solid — an untextured mark is itself a texture, and the
2140
- * easiest of all to tell apart.
2141
- */
2142
- declare const CHART_PATTERNS: readonly ["solid", "diagonal", "diagonal-reverse", "cross", "dots", "diagonal-wide", "diagonal-reverse-wide", "dots-wide"];
2143
- type ChartPattern = (typeof CHART_PATTERNS)[number];
2144
- /** The texture at `index`, wrapping around once past the last one. */
2145
- declare function getPattern(index: number): ChartPattern;
2146
- /**
2147
- * Id of the SVG pattern a chart declared for its `index`-th series.
2148
- *
2149
- * The base is stripped down to id characters: `useId` returns `:r0:` on React
2150
- * 18, and a fill pointing at `url(#:r0:-texture-1)` is a fragment reference
2151
- * browsers are not obliged to resolve.
2152
- */
2153
- declare function patternId(baseId: string, index: number): string;
2154
- /**
2155
- * The fill a mark wears.
2156
- *
2157
- * The texture when they are on and the slot has one, the flat colour
2158
- * otherwise — so a chart calls this once and never branches itself.
2159
- */
2160
- declare function patternFill(enabled: boolean, baseId: string, index: number, color: string): string;
2161
- /** One texture to declare: the slot it belongs to, and the colour it paints. */
2162
- interface ChartPatternEntry {
2163
- /** Palette slot of the mark — what `patternFill` is called with. */
2164
- slot: number;
2165
- color: string;
2166
- }
2167
- interface ChartPatternDefsProps {
2168
- /** Unique per chart instance — a `useId()`, so two charts never collide. */
2169
- id: string;
2170
- /**
2171
- * The marks to declare a texture for.
2172
- *
2173
- * Keyed by slot rather than by position: a pie sorts its slices and a bar
2174
- * chart hides some of its series, and in both the texture has to keep
2175
- * following the identity it was handed out to.
2176
- */
2177
- entries: readonly ChartPatternEntry[];
2178
- }
2179
- /**
2180
- * The `<defs>` block holding one texture per series.
2181
- *
2182
- * A mark keeps its colour at full strength and the texture is *cut out* of it
2183
- * in the surface colour, rather than painted over a washed-down fill: a
2184
- * stacked band has to read as a quantity, and a fill dimmed to make room for
2185
- * stripes stops doing that.
2186
- */
2187
- declare function ChartPatternDefs({ id, entries }: ChartPatternDefsProps): react_jsx_runtime.JSX.Element;
2188
- /**
2189
- * The same texture, in CSS, for the HTML swatch of a legend.
2190
- *
2191
- * The legend and the plot have to carry the same two channels, or the texture
2192
- * becomes noise the reader cannot map onto anything. A gradient reproduces the
2193
- * SVG tile closely enough at swatch size, and it flips with the theme through
2194
- * the same surface variable.
2195
- */
2196
- declare function patternBackground(index: number, color: string): CSSProperties;
2197
-
2198
2235
  /**
2199
2236
  * Number of categorical slots the palette holds.
2200
2237
  *
@@ -2215,6 +2252,16 @@ declare const CHART_PALETTE_SIZE = 8;
2215
2252
  declare const CHART_SERIES_COLORS: readonly ["var(--color-chart-1)", "var(--color-chart-2)", "var(--color-chart-3)", "var(--color-chart-4)", "var(--color-chart-5)", "var(--color-chart-6)", "var(--color-chart-7)", "var(--color-chart-8)"];
2216
2253
  /** Grey used for de-emphasised series and for the "Other" bucket. */
2217
2254
  declare const CHART_MUTED_COLOR = "var(--color-chart-muted)";
2255
+ /**
2256
+ * The colour of the surface a chart sits on: what a texture is cut through,
2257
+ * the gap between two bands and the ring around a marker.
2258
+ *
2259
+ * Declared in `src/styles/index.css` under both theme scopes, so a stripe is
2260
+ * white on a white panel and gray-800 on a dark one without a component ever
2261
+ * asking which theme is on — and an application whose panels are another
2262
+ * colour redefines it once.
2263
+ */
2264
+ declare const CHART_SURFACE_COLOR = "var(--color-chart-surface)";
2218
2265
  declare const CHART_UP_COLOR = "var(--color-chart-up)";
2219
2266
  declare const CHART_DOWN_COLOR = "var(--color-chart-down)";
2220
2267
  /**
@@ -2341,6 +2388,75 @@ declare function createDivergingScale(domain: readonly [number, number], options
2341
2388
  */
2342
2389
  declare function getOrdinalColor(index: number, count?: number, colors?: readonly string[]): string;
2343
2390
 
2391
+ /**
2392
+ * The textures, in the order they are handed out.
2393
+ *
2394
+ * One per palette slot, and assigned the same way: by the series' position in
2395
+ * `series`, never by its rank. Hiding a series repaints nothing, and the
2396
+ * texture a reader learnt in the legend is still the one on the plot.
2397
+ *
2398
+ * Every hatch runs at 45° or its mirror at 135°, never horizontal and never
2399
+ * vertical: those two align with the gridlines and with the edges of the
2400
+ * marks, where they read as part of the chrome rather than as a fill. The
2401
+ * first slot is left solid — an untextured mark is itself a texture, and the
2402
+ * easiest of all to tell apart.
2403
+ */
2404
+ declare const CHART_PATTERNS: readonly ["solid", "diagonal", "diagonal-reverse", "cross", "dots", "diagonal-wide", "diagonal-reverse-wide", "dots-wide"];
2405
+ type ChartPattern = (typeof CHART_PATTERNS)[number];
2406
+ /** The texture at `index`, wrapping around once past the last one. */
2407
+ declare function getPattern(index: number): ChartPattern;
2408
+ /**
2409
+ * Id of the SVG pattern a chart declared for its `index`-th series.
2410
+ *
2411
+ * The base is stripped down to id characters: `useId` returns `:r0:` on React
2412
+ * 18, and a fill pointing at `url(#:r0:-texture-1)` is a fragment reference
2413
+ * browsers are not obliged to resolve.
2414
+ */
2415
+ declare function patternId(baseId: string, index: number): string;
2416
+ /**
2417
+ * The fill a mark wears.
2418
+ *
2419
+ * The texture when they are on and the slot has one, the flat colour
2420
+ * otherwise — so a chart calls this once and never branches itself.
2421
+ */
2422
+ declare function patternFill(enabled: boolean, baseId: string, index: number, color: string): string;
2423
+ /** One texture to declare: the slot it belongs to, and the colour it paints. */
2424
+ interface ChartPatternEntry {
2425
+ /** Palette slot of the mark — what `patternFill` is called with. */
2426
+ slot: number;
2427
+ color: string;
2428
+ }
2429
+ interface ChartPatternDefsProps {
2430
+ /** Unique per chart instance — a `useId()`, so two charts never collide. */
2431
+ id: string;
2432
+ /**
2433
+ * The marks to declare a texture for.
2434
+ *
2435
+ * Keyed by slot rather than by position: a pie sorts its slices and a bar
2436
+ * chart hides some of its series, and in both the texture has to keep
2437
+ * following the identity it was handed out to.
2438
+ */
2439
+ entries: readonly ChartPatternEntry[];
2440
+ }
2441
+ /**
2442
+ * The `<defs>` block holding one texture per series.
2443
+ *
2444
+ * A mark keeps its colour at full strength and the texture is *cut out* of it
2445
+ * in the surface colour, rather than painted over a washed-down fill: a
2446
+ * stacked band has to read as a quantity, and a fill dimmed to make room for
2447
+ * stripes stops doing that.
2448
+ */
2449
+ declare function ChartPatternDefs({ id, entries }: ChartPatternDefsProps): react_jsx_runtime.JSX.Element;
2450
+ /**
2451
+ * The same texture, in CSS, for the HTML swatch of a legend.
2452
+ *
2453
+ * The legend and the plot have to carry the same two channels, or the texture
2454
+ * becomes noise the reader cannot map onto anything. A gradient reproduces the
2455
+ * SVG tile closely enough at swatch size, and it flips with the theme through
2456
+ * the same surface variable.
2457
+ */
2458
+ declare function patternBackground(index: number, color: string): CSSProperties;
2459
+
2344
2460
  interface ChartScaleLegendProps extends Omit<ComponentPropsWithoutRef<"div">, "children"> {
2345
2461
  /** The ramp the chart paints with — usually the one it built for its marks. */
2346
2462
  scale: ChartColorScale;
@@ -2381,6 +2497,12 @@ interface ChartTableViewProps extends ComponentPropsWithoutRef<"div"> {
2381
2497
  xLabel?: string;
2382
2498
  formatX?: (value: ChartXValue, index: number) => string;
2383
2499
  formatValue?: (value: number) => string;
2500
+ /**
2501
+ * Formatters of the columns whose unit is not the others', by series key —
2502
+ * the size of a bubble beside its two coordinates. `formatValue` writes the
2503
+ * rest.
2504
+ */
2505
+ columnFormats?: Readonly<Record<string, (value: number) => string>>;
2384
2506
  /** Screen-reader caption. Say what the chart shows, not that it is a table. */
2385
2507
  caption?: string;
2386
2508
  emptyLabel?: string;
@@ -2393,7 +2515,7 @@ interface ChartTableViewProps extends ComponentPropsWithoutRef<"div"> {
2393
2515
  * meaning on its own, and a screen reader gets the numbers rather than a
2394
2516
  * description of a picture.
2395
2517
  */
2396
- declare function ChartTableView({ data, series, xKey, xLabel, formatX, formatValue, caption, emptyLabel, className, ...props }: ChartTableViewProps): react_jsx_runtime.JSX.Element;
2518
+ declare function ChartTableView({ data, series, xKey, xLabel, formatX, formatValue, columnFormats, caption, emptyLabel, className, ...props }: ChartTableViewProps): react_jsx_runtime.JSX.Element;
2397
2519
 
2398
2520
  /** One panel, ready to be drawn. */
2399
2521
  interface ChartFacetPanel {
@@ -2602,6 +2724,12 @@ interface UseChartSizeResult<T extends HTMLElement> {
2602
2724
  *
2603
2725
  * Height stays a prop: a chart that also grew vertically with its container
2604
2726
  * would reflow its own axis labels on every resize.
2727
+ *
2728
+ * The element is looked at again after every render, and observed again when
2729
+ * it is another one: a parent that moves the element in its tree — the frame
2730
+ * of a chart does, when its legend goes from the right to the bottom — mounts
2731
+ * a new one, and an observer left on the old element reported the zero width
2732
+ * of a node out of the document.
2605
2733
  */
2606
2734
  declare function useChartSize<T extends HTMLElement = HTMLDivElement>(options?: UseChartSizeOptions): UseChartSizeResult<T>;
2607
2735
 
@@ -2666,7 +2794,10 @@ interface DumbbellRow {
2666
2794
  /** Smallest and largest value of the row, the two ends of its bar. */
2667
2795
  from: number | null;
2668
2796
  to: number | null;
2669
- /** Last series minus first: the move the chart is read for. */
2797
+ /**
2798
+ * Last visible series minus first: the move the chart is read for. `null`
2799
+ * while fewer than two series are visible — one value has not moved.
2800
+ */
2670
2801
  change: number | null;
2671
2802
  datum: ChartDatum;
2672
2803
  }
@@ -2871,7 +3002,10 @@ interface GanttChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "chil
2871
3002
  id?: string;
2872
3003
  /** Field holding the share completed, from 0 to 1. */
2873
3004
  progress?: string;
2874
- /** Field marking a row as a point in time rather than a span. */
3005
+ /**
3006
+ * Field marking a row as a point in time rather than a span. A row without
3007
+ * an end is one either way.
3008
+ */
2875
3009
  milestone?: string;
2876
3010
  /**
2877
3011
  * Field holding the ids this task waits on, as an array.
@@ -3078,14 +3212,31 @@ interface CheckboxProps extends Omit<ComponentPropsWithoutRef<"input">, "size" |
3078
3212
  * has no fill: its mark is drawn in the colour of its outline.
3079
3213
  */
3080
3214
  checkmarkColor?: string;
3215
+ /**
3216
+ * Classes of the box under the pointer, written with their variant:
3217
+ * `hover:bg-gray-100`. Written that way, the application's Tailwind sees
3218
+ * them in its own sources and generates them; a class handed without its
3219
+ * variant is given `hover:`, and exists only if something else wrote it.
3220
+ */
3081
3221
  hoverColor?: string;
3222
+ /**
3223
+ * Classes of the focus ring, written with their variant:
3224
+ * `peer-focus-visible:ring-red-500` (the input is the peer of the box).
3225
+ * Defaults to the brand's ring.
3226
+ */
3082
3227
  focusRingColor?: string;
3228
+ /**
3229
+ * Draws a dash, the box neither checked nor not. Kept on the input as
3230
+ * long as the prop says so: a click, which clears it in the browser, does
3231
+ * not clear it while the dash is still drawn.
3232
+ */
3083
3233
  indeterminate?: boolean;
3084
3234
  icon?: ReactNode;
3085
3235
  variant?: "default" | "filled" | "outlined";
3086
3236
  shape?: "square" | "rounded" | "circle";
3087
3237
  animation?: boolean;
3088
3238
  showFocusRing?: boolean;
3239
+ /** Classes of the box. The root takes `containerClassName`. */
3089
3240
  className?: string;
3090
3241
  containerClassName?: string;
3091
3242
  }
@@ -3212,6 +3363,8 @@ interface UILabels {
3212
3363
  chartMin: string;
3213
3364
  /** Header of the maximum column of a box plot's data table, and its tooltip row. */
3214
3365
  chartMax: string;
3366
+ /** Header of the mean column of a box plot's data table, and its tooltip row. */
3367
+ chartMean: string;
3215
3368
  /** Header of the opening-price column of a candlestick's data table. */
3216
3369
  chartOpen: string;
3217
3370
  /** Header of the high column of a candlestick's data table. */
@@ -3365,6 +3518,8 @@ interface UILabels {
3365
3518
  dataGridFilterColumn: string;
3366
3519
  /** Accessible name of the value field of a DataGrid column filter. `{column}` is the header of the column. */
3367
3520
  dataGridFilterValue: string;
3521
+ /** Accessible name of the second field of a DataGrid "between" filter. `{column}` is the header of the column. */
3522
+ dataGridFilterValueTo: string;
3368
3523
  /** Placeholder of the value field of a DataGrid column filter. */
3369
3524
  dataGridFilterValuePlaceholder: string;
3370
3525
  /** Label of the button applying a DataGrid column filter. */
@@ -3391,6 +3546,14 @@ interface UILabels {
3391
3546
  dataGridOperatorLessThan: string;
3392
3547
  /** DataGrid filter operator: the number is less than or equal to the value. */
3393
3548
  dataGridOperatorLessOrEqual: string;
3549
+ /** DataGrid filter operator: the number or the date lies between two values, both included. */
3550
+ dataGridOperatorBetween: string;
3551
+ /** DataGrid filter operator: the date is that day. */
3552
+ dataGridOperatorOn: string;
3553
+ /** DataGrid filter operator: the date is before that day. */
3554
+ dataGridOperatorBefore: string;
3555
+ /** DataGrid filter operator: the date is after that day. */
3556
+ dataGridOperatorAfter: string;
3394
3557
  /** Tooltip of an editable DataGrid cell. */
3395
3558
  dataGridEditHint: string;
3396
3559
  /** Accessible name of the field editing a DataGrid cell. */
@@ -3445,6 +3608,8 @@ interface UILabels {
3445
3608
  fileSelectorTooLarge: string;
3446
3609
  /** Reason handed to `onReject` by a FileSelector for a file of the wrong type. `{accept}` is the list of types. */
3447
3610
  fileSelectorTypeNotAccepted: string;
3611
+ /** Reason handed to `onReject` by a FileSelector for a file it already holds. */
3612
+ fileSelectorAlreadyAdded: string;
3448
3613
  /** Accessible name of the button removing a file from a FileSelector. `{name}` is the name of the file. */
3449
3614
  fileSelectorRemove: string;
3450
3615
  /** Label of the button removing every file from a FileSelector. */
@@ -3475,6 +3640,8 @@ interface UILabels {
3475
3640
  imageUploaderHelp: string;
3476
3641
  /** Error shown by an ImageUploader for a file that is not an image. */
3477
3642
  imageUploaderNotImage: string;
3643
+ /** Error shown by an ImageUploader for an image in a format its `accept` leaves out, an SVG by default. `{formats}` is the list of formats. */
3644
+ imageUploaderTypeNotAccepted: string;
3478
3645
  /** Error shown by an ImageUploader for a file that is too large. `{maxSize}` is the limit in megabytes. */
3479
3646
  imageUploaderTooLarge: string;
3480
3647
  /** Error shown by an ImageUploader when the file could not be read. */
@@ -3539,6 +3706,13 @@ interface UILabels {
3539
3706
  editorImport: string;
3540
3707
  /** Label of the button closing an export dialog of WorkflowEditor and SchemaEditor. */
3541
3708
  editorClose: string;
3709
+ /** Message of the import dialog of WorkflowEditor and SchemaEditor when the text pasted is not JSON. */
3710
+ editorImportInvalidJson: string;
3711
+ /**
3712
+ * Message of the import dialog of WorkflowEditor and SchemaEditor when the JSON is not a document the
3713
+ * editor can open. `{path}` is the first thing that does not fit, as `tables[2].fields`.
3714
+ */
3715
+ editorImportInvalidContent: string;
3542
3716
  /** Tooltip and accessible name of the WorkflowEditor button laying the workflow out vertically. */
3543
3717
  workflowEditorSwitchToVertical: string;
3544
3718
  /** Tooltip and accessible name of the WorkflowEditor button laying the workflow out horizontally. */
@@ -3728,6 +3902,8 @@ interface FilterValue {
3728
3902
  column: string;
3729
3903
  operator: FilterOperator;
3730
3904
  value: string;
3905
+ /** The upper bound of `between`, included. `value` is the lower one. */
3906
+ valueTo?: string;
3731
3907
  }
3732
3908
  type FilterOperator = "contains" | "equals" | "startsWith" | "endsWith" | "gt" | "gte" | "lt" | "lte" | "between" | "isEmpty" | "isNotEmpty";
3733
3909
  type FilterType = "text" | "number" | "select" | "date";
@@ -3762,9 +3938,12 @@ interface ColumnDef<T = unknown> {
3762
3938
  sortable?: boolean;
3763
3939
  /** Custom sort comparator */
3764
3940
  sortComparator?: (a: T, b: T) => number;
3765
- /** Enable filtering on this column */
3941
+ /** Enable filtering on this column: a text filter unless `filterType` says otherwise. */
3766
3942
  filterable?: boolean;
3767
- /** Filter type */
3943
+ /**
3944
+ * What the filter compares: text, a number, a value among `filterOptions`,
3945
+ * or a date — a `Date`, a timestamp or an ISO string, read by its local day.
3946
+ */
3768
3947
  filterType?: FilterType;
3769
3948
  /** Options for select filter */
3770
3949
  filterOptions?: string[];
@@ -3774,17 +3953,29 @@ interface ColumnDef<T = unknown> {
3774
3953
  renderHeader?: (column: ColumnDef<T>) => ReactNode;
3775
3954
  /** Column is resizable */
3776
3955
  resizable?: boolean;
3777
- /** Sticky column position */
3956
+ /**
3957
+ * Keeps the column on one side while the grid scrolls sideways. Several
3958
+ * columns on one side stack after one another: each one before the last
3959
+ * needs a `width`.
3960
+ */
3778
3961
  sticky?: "left" | "right";
3779
3962
  /** Column is hidden */
3780
3963
  hidden?: boolean;
3781
- /** Column is editable */
3964
+ /**
3965
+ * `false` keeps the column out of the grid's `editable`. An edited cell
3966
+ * shows its `render` until it is double-clicked, and a cell that held a
3967
+ * number hands back a number.
3968
+ */
3782
3969
  editable?: boolean;
3783
3970
  /** Column type for special behavior */
3784
3971
  type?: "data" | "actions" | "selection" | "expand";
3785
3972
  /** Aggregate function for footer */
3786
3973
  aggregate?: AggregateFunction;
3787
- /** Custom aggregate renderer */
3974
+ /**
3975
+ * Custom aggregate renderer. Empty cells are left out of every aggregate;
3976
+ * `value` is 0 when the column holds no number to average or compare, which
3977
+ * `data` tells apart from a real zero.
3978
+ */
3788
3979
  renderAggregate?: (value: number, data: T[]) => ReactNode;
3789
3980
  /** Custom class for cells in this column */
3790
3981
  cellClassName?: string;
@@ -3879,9 +4070,16 @@ interface DataGridProps<T = unknown> {
3879
4070
  hiddenColumns?: string[];
3880
4071
  /** Column visibility change callback */
3881
4072
  onColumnVisibilityChange?: (hiddenKeys: string[]) => void;
3882
- /** Group rows by column key(s) */
4073
+ /**
4074
+ * Group rows by column key(s). The rows of a group are kept together, the
4075
+ * groups in the order their first row comes in once sorted; pagination and
4076
+ * virtualization then count those rows, and a page shows the groups it holds.
4077
+ */
3883
4078
  groupBy?: string | string[];
3884
- /** Render custom group header */
4079
+ /**
4080
+ * Render custom group header. `rows` is the whole group, on every page it
4081
+ * runs over.
4082
+ */
3885
4083
  renderGroupHeader?: (groupKey: string, groupValue: unknown, rows: T[]) => ReactNode;
3886
4084
  /** Enable export functionality */
3887
4085
  exportable?: boolean;
@@ -3897,11 +4095,22 @@ interface DataGridProps<T = unknown> {
3897
4095
  * On unless it is `false`; the JSON file is not concerned.
3898
4096
  */
3899
4097
  exportNeutralizeFormulas?: boolean;
3900
- /** Enable virtual scrolling for large datasets */
4098
+ /**
4099
+ * Enable virtual scrolling for large datasets. Every row is drawn exactly
4100
+ * `rowHeight` tall, its cells on one line, and a group header takes the
4101
+ * place of a row. The content of an expanded row is not counted: a
4102
+ * virtualized grid is not meant to be `expandable`.
4103
+ */
3901
4104
  virtualized?: boolean;
3902
- /** Row height for virtualization (px) */
4105
+ /**
4106
+ * Height of every row under `virtualized` (px): the rows are drawn at it,
4107
+ * and the scroll is computed from it.
4108
+ */
3903
4109
  rowHeight?: number;
3904
- /** Visible area height for virtualization (px) */
4110
+ /**
4111
+ * Height of the scrolling area under `virtualized` (px), when `maxHeight`
4112
+ * does not set one. The rows drawn are those the area really shows.
4113
+ */
3905
4114
  virtualHeight?: number;
3906
4115
  /** Density / padding */
3907
4116
  density?: Density;
@@ -4016,6 +4225,12 @@ interface DetachableProps {
4016
4225
  closeOnParentUnmount?: boolean;
4017
4226
  className?: string;
4018
4227
  windowClassName?: string;
4228
+ /**
4229
+ * The browser refused to open the window (a popup blocker: expected with
4230
+ * `defaultDetached`, which opens it without a click). The content stays in
4231
+ * the page; uncontrolled, the component is attached again, and a
4232
+ * controlled parent sets `detached` back to `false` here.
4233
+ */
4019
4234
  onPopupBlocked?: () => void;
4020
4235
  }
4021
4236
  interface DetachableRef {
@@ -4039,7 +4254,10 @@ interface DeviceMockupProps {
4039
4254
  alt?: string;
4040
4255
  /** React content to display inside the device screen */
4041
4256
  children?: ReactNode;
4042
- /** Device orientation */
4257
+ /**
4258
+ * Device orientation. A phone, an android and a tablet turn; a laptop, a
4259
+ * desktop, a watch and a browser keep their own shape
4260
+ */
4043
4261
  orientation?: DeviceOrientation;
4044
4262
  /** Device frame theme */
4045
4263
  theme?: DeviceTheme;
@@ -4049,7 +4267,10 @@ interface DeviceMockupProps {
4049
4267
  showStatusBar?: boolean;
4050
4268
  /** Time displayed in the status bar */
4051
4269
  statusBarTime?: string;
4052
- /** Enable auto-scroll animation for content */
4270
+ /**
4271
+ * Scroll the content slowly from top to bottom, then start again. Off when
4272
+ * the reader asked for reduced motion
4273
+ */
4053
4274
  animated?: boolean;
4054
4275
  /** Scroll animation speed in pixels per second */
4055
4276
  scrollSpeed?: number;
@@ -4060,7 +4281,7 @@ interface DeviceMockupProps {
4060
4281
  /** Additional class names for the screen/content area */
4061
4282
  contentClassName?: string;
4062
4283
  }
4063
- declare function DeviceMockup({ device, src, alt, children, orientation, theme, size, showStatusBar, statusBarTime, animated, scrollSpeed, frameColor, className, contentClassName, }: DeviceMockupProps): react_jsx_runtime.JSX.Element;
4284
+ declare function DeviceMockup({ device, src, alt, children, orientation, theme, size, showStatusBar, statusBarTime, animated, scrollSpeed, frameColor: frameColorProp, className, contentClassName, }: DeviceMockupProps): react_jsx_runtime.JSX.Element;
4064
4285
 
4065
4286
  type CircularProgressSize = "xs" | "sm" | "md" | "lg" | "xl";
4066
4287
  type CircularProgressThickness = "thin" | "normal" | "thick";
@@ -4221,7 +4442,12 @@ interface FileSelectorProps {
4221
4442
  value?: File[];
4222
4443
  /** Callback when files change */
4223
4444
  onChange?: (files: File[]) => void;
4224
- /** Accepted file types (MIME types or extensions, e.g. "image/*,.pdf,.docx") */
4445
+ /**
4446
+ * Accepted file types (MIME types or extensions, e.g. "image/*,.pdf,.docx"),
4447
+ * checked on every file, dropped ones included. Checked in the browser
4448
+ * only: a name and a type are what the reader's machine says they are, and
4449
+ * the server that receives the files checks again.
4450
+ */
4225
4451
  accept?: string;
4226
4452
  /**
4227
4453
  * Allow several files to be selected. Only `mode="file"` can mean a single
@@ -4229,13 +4455,15 @@ interface FileSelectorProps {
4229
4455
  * every file they are given
4230
4456
  */
4231
4457
  multiple?: boolean;
4232
- /** Maximum file size in bytes (default: 10MB) */
4458
+ /** Maximum file size in bytes (default: 10MB). Checked in the browser only, like `accept` */
4233
4459
  maxSize?: number;
4234
4460
  /** Maximum number of files, wherever several can be selected */
4235
4461
  maxFiles?: number;
4236
4462
  /**
4237
4463
  * Selection mode: file only, directory only, or both. A directory is handed
4238
- * to `onChange` as all the files it holds, whatever `multiple` says
4464
+ * to `onChange` as all the files it holds, whatever `multiple` says. A
4465
+ * dropped folder is read until it has given `maxFiles` accepted files, and
4466
+ * never past 10,000 entries: read to the end, a large one held the tab
4239
4467
  */
4240
4468
  mode?: "file" | "directory" | "both";
4241
4469
  /** Visual variant */
@@ -4269,7 +4497,11 @@ interface FileSelectorProps {
4269
4497
  labels?: UILabelsOf<"fileSelector">;
4270
4498
  /** Custom icon for the dropzone */
4271
4499
  icon?: ReactNode;
4272
- /** Callback when a file is rejected (size, type, etc.) */
4500
+ /**
4501
+ * Called for each file left out — too large, of a type `accept` does not
4502
+ * name, or already in the list (same name, path, size and date) — with the
4503
+ * reason, translated.
4504
+ */
4273
4505
  onReject?: (file: File, reason: string) => void;
4274
4506
  /** Additional class names */
4275
4507
  className?: string;
@@ -4560,7 +4792,11 @@ interface InputStyleProps {
4560
4792
  iconPosition?: "left" | "right";
4561
4793
  }
4562
4794
 
4563
- interface InputProps extends Omit<ComponentPropsWithoutRef<"input"> & ComponentPropsWithoutRef<"textarea">, "size">, InputStyleProps {
4795
+ /** What `Input` renders: a `<textarea>` when `multiline`, an `<input>` otherwise. */
4796
+ type FieldElement = HTMLInputElement | HTMLTextAreaElement;
4797
+ interface InputProps extends Omit<ComponentPropsWithoutRef<"input"> & ComponentPropsWithoutRef<"textarea">, "size" | keyof DOMAttributes<FieldElement>>, Omit<DOMAttributes<FieldElement>, "onChange">, InputStyleProps {
4798
+ /** Receives the change of the field rendered: an `<input>`, or a `<textarea>` when `multiline`. */
4799
+ onChange?: ChangeEventHandler<FieldElement>;
4564
4800
  label?: string;
4565
4801
  inline?: boolean;
4566
4802
  labelColor?: string;
@@ -4770,7 +5006,17 @@ interface ImageUploaderProps {
4770
5006
  onChange: (url: string) => void;
4771
5007
  onUpload?: (file: File) => Promise<string>;
4772
5008
  label?: string;
5009
+ /** Largest file accepted, in bytes. Checked in the browser only: the server checks again. */
4773
5010
  maxSize?: number;
5011
+ /**
5012
+ * The formats accepted, as the `accept` attribute writes them. Applied to
5013
+ * the file chosen as well as to the dialog, where "All files" went around
5014
+ * it. An SVG is refused unless named here (`image/svg+xml` or `.svg`): it
5015
+ * can carry a script, which runs when the image is served from the
5016
+ * application's own domain. Checked in the browser only — a name and a
5017
+ * type are what the reader's machine says they are, and the server that
5018
+ * stores the file checks again.
5019
+ */
4774
5020
  accept?: string;
4775
5021
  helpText?: string;
4776
5022
  disabled?: boolean;
@@ -4784,8 +5030,13 @@ interface ImageUploaderProps {
4784
5030
  */
4785
5031
  labels?: UILabelsOf<"imageUploader">;
4786
5032
  aspectRatio?: "16/9" | "4/3" | "1/1" | "auto";
5033
+ /**
5034
+ * BCP 47 tag the size limit is written in. Defaults to the `locale` of
5035
+ * `UILabelsProvider`, then to the language of the runtime.
5036
+ */
5037
+ locale?: string;
4787
5038
  }
4788
- declare function ImageUploader({ value, onChange, onUpload, label: labelProp, maxSize, accept, helpText, disabled, className, showUrlInput, urlPlaceholder, labels: labelsProp, aspectRatio, }: ImageUploaderProps): react_jsx_runtime.JSX.Element;
5039
+ declare function ImageUploader({ value, onChange, onUpload, label: labelProp, maxSize, accept, helpText, disabled, className, showUrlInput, urlPlaceholder, labels: labelsProp, aspectRatio, locale: localeProp, }: ImageUploaderProps): react_jsx_runtime.JSX.Element;
4789
5040
 
4790
5041
  type IndicatorColor = "default" | "primary" | "success" | "warning" | "error" | "info" | "dark" | "purple" | "indigo" | "teal";
4791
5042
  type IndicatorSize = "xs" | "sm" | "md" | "lg" | "xl";
@@ -4945,6 +5196,9 @@ interface LineChartProps extends CartesianChartBaseProps, Omit<ComponentPropsWit
4945
5196
  *
4946
5197
  * One series, two path segments: a projection is the same measurement
4947
5198
  * continued, and drawing it as a separate series would claim otherwise.
5199
+ * A date that falls between two rows starts the forecast on the first row
5200
+ * after it; one that no row reaches draws nothing dashed, and says so in
5201
+ * the console.
4948
5202
  */
4949
5203
  forecastFrom?: ChartXValue;
4950
5204
  /** Caption above the line that separates the measured past from the forecast. */
@@ -5162,7 +5416,7 @@ interface PaginationProps extends Omit<ComponentPropsWithoutRef<"nav">, "onChang
5162
5416
  pageSizeOptions?: number[];
5163
5417
  onPageSizeChange?: (size: number) => void;
5164
5418
  }
5165
- declare function Pagination({ page, totalPages, onPageChange, size, variant, showFirstLast, siblings, boundaries, disabled, labels, totalItems, pageSize, pageSizeOptions, onPageSizeChange, className, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
5419
+ declare function Pagination({ page: requestedPage, totalPages: requestedTotal, onPageChange, size, variant, showFirstLast, siblings, boundaries, disabled, labels, totalItems, pageSize, pageSizeOptions, onPageSizeChange, className, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
5166
5420
 
5167
5421
  interface PieChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "children" | "title">, ChartStatusProps {
5168
5422
  data: ChartDatum[];
@@ -5170,10 +5424,19 @@ interface PieChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "childr
5170
5424
  x: ChartXAxisConfig;
5171
5425
  /** Field holding the value of each slice. */
5172
5426
  value: string;
5427
+ /**
5428
+ * Header of the value column of the data table. `x.label` names the
5429
+ * slices, never the measure.
5430
+ */
5431
+ valueLabel?: string;
5173
5432
  variant?: "pie" | "donut";
5174
5433
  /** Share of the outer radius left open. Defaults to the donut ratio. */
5175
5434
  innerRadius?: number;
5176
- /** Slices past this fold into a single bucket. */
5435
+ /**
5436
+ * The most slices drawn, the folded bucket included. Past it, the tail
5437
+ * folds into one grey slice — of two rows at least: a bucket holding one
5438
+ * row would rename it and save nothing.
5439
+ */
5177
5440
  maxSlices?: number;
5178
5441
  otherLabel?: string;
5179
5442
  sort?: "none" | "asc" | "desc";
@@ -5233,7 +5496,7 @@ interface PieChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "childr
5233
5496
  * over six slices at most, which is why the tail folds into a single bucket
5234
5497
  * rather than taking a seventh colour.
5235
5498
  */
5236
- declare function PieChart({ data, x, value, variant, innerRadius, maxSlices, otherLabel, sort, showLabels, centerLabel, patterns, height, width, size, legend, tooltip, tableView, title, description, loading, emptyState, error, errorState, onRetry, actions, locale: localeProp, plotLabel, onSliceClick, className, ...props }: PieChartProps): react_jsx_runtime.JSX.Element;
5499
+ declare function PieChart({ data, x, value, valueLabel, variant, innerRadius, maxSlices, otherLabel, sort, showLabels, centerLabel, patterns, height, width, size, legend, tooltip, tableView, title, description, loading, emptyState, error, errorState, onRetry, actions, locale: localeProp, plotLabel, onSliceClick, className, ...props }: PieChartProps): react_jsx_runtime.JSX.Element;
5237
5500
 
5238
5501
  type ProgressBarSize = "xs" | "sm" | "md" | "lg" | "xl";
5239
5502
  type ProgressBarColor = "default" | "primary" | "success" | "warning" | "error" | "info";
@@ -5302,9 +5565,12 @@ interface RadioButtonProps extends Omit<ComponentPropsWithoutRef<"input">, "type
5302
5565
  uncheckedColor?: string;
5303
5566
  borderColor?: string;
5304
5567
  labelColor?: string;
5568
+ /** Colour of the message, and of the circle's border while in error. Any CSS colour. */
5305
5569
  errorColor?: string;
5306
5570
  dotColor?: string;
5571
+ /** Border colour of the circle under the pointer. Any CSS colour. */
5307
5572
  hoverColor?: string;
5573
+ /** Colour of the focus ring. Any CSS colour. */
5308
5574
  focusRingColor?: string;
5309
5575
  showFocusRing?: boolean;
5310
5576
  containerClassName?: string;
@@ -5682,6 +5948,11 @@ declare function TableBody({ children, className, ...props }: TableBodyProps): r
5682
5948
 
5683
5949
  interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
5684
5950
  children: ReactNode;
5951
+ /**
5952
+ * Draws the row as one that responds to a click: a hover tint and a
5953
+ * pointer. Defaults to whether it has an `onClick`; every row of a plain
5954
+ * table wore a hand cursor.
5955
+ */
5685
5956
  clickable?: boolean;
5686
5957
  }
5687
5958
  declare function TableRow({ children, onClick, clickable, className, ...props }: TableRowProps): react_jsx_runtime.JSX.Element;
@@ -5870,7 +6141,14 @@ declare namespace FooterLink {
5870
6141
  }
5871
6142
 
5872
6143
  interface FooterBottomProps extends ComponentPropsWithoutRef<"div"> {
5873
- copyright?: string;
6144
+ /**
6145
+ * The copyright line, as the application writes it: the component adds no
6146
+ * name, year or "All rights reserved" of its own. A text, or any content —
6147
+ * a link to the owner's site, a translated sentence, a year computed by the
6148
+ * application. Nothing is drawn without it.
6149
+ */
6150
+ copyright?: ReactNode;
6151
+ /** What sits beside the copyright line: legal links, a language menu, social icons. */
5874
6152
  children?: ReactNode;
5875
6153
  }
5876
6154
  declare function FooterBottom({ copyright, className, children, ...props }: FooterBottomProps): react_jsx_runtime.JSX.Element;
@@ -5905,13 +6183,28 @@ declare namespace FooterSocialLink {
5905
6183
  var displayName: string;
5906
6184
  }
5907
6185
 
6186
+ /** The third measure of a bubble chart. */
6187
+ interface ScatterBubble {
6188
+ /** Field holding the measure each mark is sized by. */
6189
+ key: string;
6190
+ /** Smallest and largest radius, in pixels. */
6191
+ range?: [number, number];
6192
+ /** Names the measure in the tooltip and the data table. Defaults to `key`. */
6193
+ label?: string;
6194
+ /**
6195
+ * Writes the measure in the tooltip and the data table. Defaults to every
6196
+ * digit, grouped in the chart's locale.
6197
+ */
6198
+ format?: (value: number) => string;
6199
+ }
5908
6200
  interface ScatterChartProps extends Omit<CartesianChartBaseProps, "grid">, Omit<ComponentPropsWithoutRef<"figure">, keyof CartesianChartBaseProps | "children" | "title"> {
5909
6201
  grid?: ChartGridLines;
5910
- /** Sizes each mark by a third field, turning the plot into a bubble chart. */
5911
- bubble?: {
5912
- key: string;
5913
- range?: [number, number];
5914
- };
6202
+ /**
6203
+ * Sizes each mark by a third field, turning the plot into a bubble chart.
6204
+ * `label` names the measure in the tooltip and the data table, which give
6205
+ * its value: a size is read for an order of magnitude, never for a figure.
6206
+ */
6207
+ bubble?: ScatterBubble;
5915
6208
  /** Fits a least-squares line through every visible point. */
5916
6209
  trendLine?: boolean;
5917
6210
  /** Splits the plot on a value of each axis. */
@@ -6004,6 +6297,7 @@ type SchemaRelation = {
6004
6297
  fieldId: string;
6005
6298
  };
6006
6299
  cardinality?: SchemaRelationCardinality;
6300
+ /** Written beside the line, under its cardinality. */
6007
6301
  label?: string;
6008
6302
  };
6009
6303
  type SchemaViewport = {
@@ -6033,8 +6327,15 @@ type SchemaEditorProps = {
6033
6327
  onTableClick?: (event: SchemaTableEvent) => void;
6034
6328
  onTableDoubleClick?: (event: SchemaTableEvent) => void;
6035
6329
  onTableContextMenu?: (event: SchemaTableEvent) => void;
6330
+ /** A click on the row of a field. `onTableClick` follows it: the field is in the table. */
6036
6331
  onFieldClick?: (event: SchemaFieldEvent) => void;
6332
+ /** A double click on the row of a field. `onTableDoubleClick` follows it. */
6037
6333
  onFieldDoubleClick?: (event: SchemaFieldEvent) => void;
6334
+ /**
6335
+ * Nothing of the schema can be changed, and nothing is greyed out: tables
6336
+ * and relations can still be selected, clicked and moved through. Where
6337
+ * `disabled` turns the whole editor off.
6338
+ */
6038
6339
  readOnly?: boolean;
6039
6340
  disabled?: boolean;
6040
6341
  draggableTables?: boolean;
@@ -6048,6 +6349,10 @@ type SchemaEditorProps = {
6048
6349
  showGrid?: boolean;
6049
6350
  toolbar?: boolean;
6050
6351
  legend?: boolean;
6352
+ /**
6353
+ * Fits the view to the tables once, as soon as there are tables to fit: at
6354
+ * mount, or when a schema loaded later arrives.
6355
+ */
6051
6356
  autoFit?: boolean;
6052
6357
  /**
6053
6358
  * The strings the editor writes itself, for this instance: any
@@ -6069,7 +6374,11 @@ type SchemaEditorRef = {
6069
6374
  addRelation(relation: SchemaRelation): void;
6070
6375
  removeRelation(relationId: string): void;
6071
6376
  toJSON(): string;
6072
- loadJSON(json: string): void;
6377
+ /**
6378
+ * Loads a schema written as JSON, and says whether it did: text that is not
6379
+ * JSON, or JSON that is not a schema this editor can open, changes nothing.
6380
+ */
6381
+ loadJSON(json: string): boolean;
6073
6382
  toSQL(): string;
6074
6383
  };
6075
6384
 
@@ -6084,6 +6393,19 @@ declare function generateRelationId(): string;
6084
6393
  declare function createDefaultField(name?: string): SchemaField;
6085
6394
  declare function createDefaultTable(x: number, y: number, name?: string): SchemaTable;
6086
6395
 
6396
+ /**
6397
+ * The schema as a PostgreSQL script. A table is created after the tables it
6398
+ * references, its foreign keys written in it; among the tables that can go,
6399
+ * the order of the schema is kept. A cycle (two tables that reference each
6400
+ * other) has no such order: its keys that point forward are added with
6401
+ * `ALTER TABLE` once every table exists. A key of two columns is one
6402
+ * `PRIMARY KEY (a, b)` of the table.
6403
+ *
6404
+ * Nothing in the schema is written as SQL of its own: names are quoted
6405
+ * identifiers, a `type` that is not a type name is quoted as one, and a
6406
+ * `defaultValue` that is not a literal, a keyword or a function of literals
6407
+ * is written as a string.
6408
+ */
6087
6409
  declare function generateSQL(value: SchemaValue): string;
6088
6410
 
6089
6411
  /**
@@ -6194,6 +6516,10 @@ type WorkflowEditorProps<TData = unknown> = {
6194
6516
  gridSize?: number;
6195
6517
  showGrid?: boolean;
6196
6518
  toolbar?: boolean;
6519
+ /**
6520
+ * Fits the view to the nodes once, as soon as there are nodes to fit: at
6521
+ * mount, or when a workflow loaded later arrives.
6522
+ */
6197
6523
  autoFit?: boolean;
6198
6524
  /**
6199
6525
  * The strings the editor writes itself, for this instance: any
@@ -6211,7 +6537,11 @@ type WorkflowEditorRef = {
6211
6537
  addNode(node: WorkflowNode<unknown>): void;
6212
6538
  removeNode(nodeId: string): void;
6213
6539
  toJSON(): string;
6214
- loadJSON(json: string): void;
6540
+ /**
6541
+ * Loads a workflow written as JSON, and says whether it did: text that is not
6542
+ * JSON, or JSON that is not a workflow this editor can open, changes nothing.
6543
+ */
6544
+ loadJSON(json: string): boolean;
6215
6545
  };
6216
6546
 
6217
6547
  declare const WorkflowEditor: <TData = unknown>(props: WorkflowEditorProps<TData> & {
@@ -6250,7 +6580,9 @@ interface WizardContextValue {
6250
6580
  steps: WizardStepDefinition[];
6251
6581
  activeStep: number;
6252
6582
  totalSteps: number;
6583
+ /** No step before this one can be entered: Previous has nowhere to go. */
6253
6584
  isFirstStep: boolean;
6585
+ /** No step after this one can be entered: Next completes the wizard. */
6254
6586
  isLastStep: boolean;
6255
6587
  orientation: WizardOrientation;
6256
6588
  variant: WizardVariant;
@@ -6259,9 +6591,12 @@ interface WizardContextValue {
6259
6591
  linear: boolean;
6260
6592
  /** Navigate to a specific step (respects accessibility rules) */
6261
6593
  goToStep: (index: number) => void;
6262
- /** Advance to the next step, or call onComplete on the last step */
6594
+ /**
6595
+ * Advance to the next step that is not disabled, or call onComplete when
6596
+ * there is none
6597
+ */
6263
6598
  goNext: () => void;
6264
- /** Go back to the previous step */
6599
+ /** Go back to the previous step that is not disabled */
6265
6600
  goBack: () => void;
6266
6601
  /** Resolve the visual status of a given step */
6267
6602
  getStepStatus: (index: number) => WizardStepStatus;
@@ -6282,7 +6617,10 @@ interface WizardProps {
6282
6617
  defaultStep?: number;
6283
6618
  /** Called whenever the active step changes */
6284
6619
  onStepChange?: (step: number, meta: WizardStepChangeMeta) => void;
6285
- /** Called when "Next" is pressed on the last step */
6620
+ /**
6621
+ * Called when "Next" is pressed on the last step, or on a step that only
6622
+ * disabled steps follow
6623
+ */
6286
6624
  onComplete?: () => void;
6287
6625
  /** Indicator orientation */
6288
6626
  orientation?: WizardOrientation;
@@ -6454,4 +6792,4 @@ declare function isFocusable(element: HTMLElement): boolean;
6454
6792
  */
6455
6793
  declare function getFocusableElements(container: HTMLElement): HTMLElement[];
6456
6794
 
6457
- export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionType, type AccordionVariant, AdvanceDetachable, type AdvanceDetachableProps, type AdvanceDetachableRef, type AdvanceDetachableRenderContext, type AggregateFunction, type Align, AreaChart, type AreaChartProps, Avatar, type AvatarProps, Badge, type BadgeColor, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerProps, type BannerType, type BannerVariant, BarChart, type BarChartOrientation, type BarChartProps, type BinSpec, BoxPlot, type BoxPlotBox, type BoxPlotProps, type BoxPlotQuantileKeys, type BoxStats, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BulletChart, type BulletChartProps, type BulletRow, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, CHART_ALL_PAIRS_LIMIT, CHART_DIVERGING_COLORS, CHART_DIVERGING_DARK_STOPS, CHART_DIVERGING_NEUTRAL_INDEX, CHART_DOWN_COLOR, CHART_MAX_COLOR_CLASSES, CHART_MUTED_COLOR, CHART_ORDINAL_COLORS, CHART_ORDINAL_DARK_STOPS, CHART_PALETTE_SIZE, CHART_PATTERNS, CHART_POINT_BUDGET, CHART_SEQUENTIAL_COLORS, CHART_SEQUENTIAL_DARK_STOPS, CHART_SERIES_COLORS, CHART_SURFACE_COLOR, CHART_UP_COLOR, Calendar, type CalendarColor, type CalendarDateRange, type CalendarDayState, type CalendarLabels, type CalendarMode, type CalendarProps, type CalendarSize, type CalendarWeekStart, type Candle, CandlestickChart, type CandlestickChartProps, Card, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, type CardProps, CardTitle, type CardTitleProps, type CartesianChartBaseProps, type CartesianGeometry, type CartesianGeometryOptions, type CartesianOrientation, type CategoryPlacement, type ChartAnnotation, type ChartAnnotationBase, ChartAnnotationLayer, type ChartAnnotationLayerProps, ChartAxis, type ChartAxisOrientation, type ChartAxisProps, type ChartBandAnnotation, ChartBrushLayer, type ChartBrushLayerProps, type ChartBrushRange, type ChartColorScale, ChartContainer, type ChartContainerProps, type ChartContainerRenderArgs, type ChartCurve, type ChartDatum, type ChartDimensions, ChartExportButton, type ChartExportButtonProps, type ChartExportFormat, type ChartExportOptions, type ChartExportRow, type ChartFacetPanel, ChartFacets, type ChartFacetsProps, ChartFilterBar, type ChartFilterBarProps, ChartGrid, type ChartGridLines, type ChartGridProps, ChartLegend, type ChartLegendItem, type ChartLegendMarker, type ChartLegendPosition, type ChartLegendProps, type ChartLineAnnotation, type ChartMargin, type ChartOrientation, type ChartOverlay, type ChartOverlayRenderer, type ChartPattern, ChartPatternDefs, type ChartPatternDefsProps, type ChartPatternEntry, type ChartPeriod, ChartPeriodPicker, type ChartPeriodPickerProps, type ChartPeriodPreset, type ChartPlotContext, type ChartPoint, type ChartPointAnnotation, type ChartPointEvent, type ChartReferenceLine, type ChartResolvedSeries, ChartScaleLegend, type ChartScaleLegendProps, type ChartScaleType, type ChartSeries, type ChartSize, type ChartStatusProps, type ChartSyncContextValue, ChartSyncProvider, type ChartSyncProviderProps, ChartTableView, type ChartTableViewProps, type ChartTick, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, type ChartTooltipPayload, type ChartTooltipProps, type ChartXAxisConfig, type ChartXValue, type ChartYAxisConfig, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipColor, type ChipProps, type ChipSize, type ChipVariant, CircularProgress, type CircularProgressColor, type CircularProgressProps, type CircularProgressSize, type CircularProgressThickness, type ColumnDef, DEFAULT_CHART_PERIOD_PRESETS, DEFAULT_CHART_WIDTH, DEFAULT_FIELD_TYPES, DataGrid, type DataGridMode, type DataGridProps, type DataGridRef, type Density, Detachable, type DetachableProps, type DetachableRef, DeviceMockup, type DeviceMockupProps, type DeviceOrientation, type DeviceSize, type DeviceTheme, type DeviceType, type DialogA11yProps, type DialogInitialFocus, type DialogReturnFocus, type DivergingScaleOptions, Divider, type DividerOrientation, type DividerProps, type DividerTextAlign, type DividerVariant, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, Dropdown, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownContextValue, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownLabelProps, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorProps, DropdownSubMenu, DropdownSubMenuContent, type DropdownSubMenuContentProps, type DropdownSubMenuProps, DropdownSubMenuTrigger, type DropdownSubMenuTriggerProps, DropdownTrigger, type DropdownTriggerProps, DumbbellChart, type DumbbellChartProps, type DumbbellRow, type DumbbellSort, FOCUSABLE_SELECTOR, FileSelector, type FileSelectorProps, type FilterOperator, type FilterType, type FilterValue, Footer, FooterBottom, type FooterBottomProps, FooterColumn, type FooterColumnProps, FooterLink, type FooterLinkProps, type FooterProps, FooterSection, type FooterSectionProps, FooterSocial, FooterSocialLink, type FooterSocialLinkProps, type FooterSocialProps, FunnelChart, type FunnelChartProps, type FunnelStage, GanttChart, type GanttChartProps, type GanttTask, Header, type HeaderProps, Heatmap, type HeatmapCell, type HeatmapProps, HelpButton, type HelpButtonProps, type HistogramBin, INERT_IGNORE_ATTRIBUTE, ImageUploader, type ImageUploaderProps, Indicator, type IndicatorColor, type IndicatorPlacement, type IndicatorProps, type IndicatorSize, type IndicatorVariant, Input, type InputProps, Label, type LabelColor, type LabelProps, type LabelSize, type LabelVariant, type LabelWeight, LineChart, type LineChartProps, MarkdownEditorComponent, type MentionData, MentionInput, type MentionInputProps, type MentionInputValue, type MentionSuggestion, Modal, type ModalProps, type NavItem, type NodeRegistryEntry, NumberInput, type NumberInputProps, Pagination, type PaginationConfig, type PaginationProps, PieChart, type PieChartProps, type Position, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarSize, type ProgressBarVariant, RadioButton, type RadioButtonProps, ScatterChart, type ScatterChartProps, SchemaEditor, type SchemaEditorProps, type SchemaEditorRef, type SchemaField, type SchemaFieldEvent, type SchemaFieldType, type SchemaRelation, type SchemaRelationCardinality, type SchemaTable, type SchemaTableEvent, type SchemaValue, type SchemaViewport, Select, type SelectOption, type SelectProps, type SelectedFile, type SelectionMode, type SequentialScaleOptions, type Side, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarPosition, type SidebarProps, SidebarSubMenu, type SidebarSubMenuProps, SidebarToggle, type SidebarToggleProps, type SidebarVariant, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Slider, type SliderColor, type SliderMark, type SliderProps, type SliderSize, type SortDirection, type SortState, Sparkline, type SparklineProps, StatCard, type StatCardDelta, type StatCardDeltaDirection, type StatCardDeltaTone, StatCardGroup, type StatCardGroupProps, type StatCardProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsColor, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, type TimeTickScale, type TimeUnit, Toast, type ToastPosition, type ToastProps, type ToastType, type ToastVariant, Tooltip, type TooltipPosition, type TooltipProps, type TooltipSize, type TooltipTrigger, type TooltipVariant, type UILabels, type UILabelsOf, UILabelsProvider, type UILabelsProviderProps, type UILinkComponent, type UILinkProps, type UseChartBrushOptions, type UseChartBrushResult, type UseChartSizeOptions, type UseChartSizeResult, type UseClickOutsideOptions, type UseDialogA11yOptions, type UseDialogA11yResult, type UseKeyboardNavigationOptions, type UsePositioningOptions, WaterfallChart, type WaterfallChartProps, type WaterfallKind, type WaterfallStep, WithHelpButton, type WithHelpButtonProps, Wizard, WizardActions, type WizardActionsProps, type WizardColor, WizardContent, type WizardContentProps, type WizardContextValue, type WizardDirection, WizardNext, type WizardNextProps, type WizardOrientation, WizardPanel, type WizardPanelProps, WizardPrevious, type WizardPreviousProps, type WizardProps, type WizardSize, type WizardStepChangeMeta, type WizardStepDefinition, type WizardStepStatus, WizardSteps, type WizardStepsProps, type WizardVariant, type WorkflowDirection, type WorkflowEdge, WorkflowEditor, type WorkflowEditorProps, type WorkflowEditorRef, type WorkflowNode, type WorkflowNodeAction, type WorkflowNodeActionEvent, type WorkflowNodeActionPosition, type WorkflowNodeEvent, type WorkflowPort, type WorkflowValue, type WorkflowViewport, autoLayoutTables, binEdges, binValues, boxStats, brushToPeriod, buildCartesianGeometry, cn, createCategoryLocator, createDefaultField, createDefaultTable, createDivergingScale, createPeriod, createPlotContext, createSequentialScale, decimateIndices, decimatePath, defaultUILabels, describeAnnotations, downloadChartData, endOfDay, findOwnedLayers, formatPeriodRange, formatTimeTick, formatUILabel, frenchUILabels, generateFieldId, generateRelationId, generateSQL, generateTableId, getFocusableElements, getOrdinalColor, getPattern, getSeriesColor, getSeriesLabel, hideOthers, isElementVisible, isFocusable, lttb, niceTimeTicks, patternBackground, patternFill, patternId, quantile, quantileSorted, rampColor, registerFloatingLayer, resetBarChartWarnings, resetDumbbellWarnings, resetFacetWarnings, resetPointBudgetWarning, resolvePeriodPreset, resolveSeriesColor, samePeriod, sampleEvenly, splitOverlay, startOfDay, sturgesBins, toChartCsv, toChartJson, toChartRows, toLegendItems, toTimestamp, useChartBrush, useChartSize, useChartSync, useClickOutside, useDialogA11y, useDropdownContext, useFocusItem, useKeyboardNavigation, usePositioning, useSidebar, useUILabels, useUILinkComponent, useUILocale, useWizard };
6795
+ export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionType, type AccordionVariant, AdvanceDetachable, type AdvanceDetachableProps, type AdvanceDetachableRef, type AdvanceDetachableRenderContext, type AggregateFunction, type Align, AreaChart, type AreaChartProps, Avatar, type AvatarProps, Badge, type BadgeColor, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerProps, type BannerType, type BannerVariant, BarChart, type BarChartOrientation, type BarChartProps, type BinSpec, BoxPlot, type BoxPlotBox, type BoxPlotProps, type BoxPlotQuantileKeys, type BoxStats, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BulletChart, type BulletChartProps, type BulletRow, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, CHART_ALL_PAIRS_LIMIT, CHART_DIVERGING_COLORS, CHART_DIVERGING_DARK_STOPS, CHART_DIVERGING_NEUTRAL_INDEX, CHART_DOWN_COLOR, CHART_MAX_COLOR_CLASSES, CHART_MUTED_COLOR, CHART_ORDINAL_COLORS, CHART_ORDINAL_DARK_STOPS, CHART_PALETTE_SIZE, CHART_PATTERNS, CHART_POINT_BUDGET, CHART_SEQUENTIAL_COLORS, CHART_SEQUENTIAL_DARK_STOPS, CHART_SERIES_COLORS, CHART_SURFACE_COLOR, CHART_UP_COLOR, Calendar, type CalendarColor, type CalendarDateRange, type CalendarDayState, type CalendarLabels, type CalendarMode, type CalendarProps, type CalendarSize, type CalendarWeekStart, type Candle, CandlestickChart, type CandlestickChartProps, Card, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, type CardProps, CardTitle, type CardTitleProps, type CartesianChartBaseProps, type CartesianGeometry, type CartesianGeometryOptions, type CartesianOrientation, type CategoryPlacement, type ChartAnnotation, type ChartAnnotationBase, ChartAnnotationLayer, type ChartAnnotationLayerProps, ChartAxis, type ChartAxisOrientation, type ChartAxisProps, type ChartBandAnnotation, ChartBrushLayer, type ChartBrushLayerProps, type ChartBrushRange, type ChartColorScale, ChartContainer, type ChartContainerProps, type ChartContainerRenderArgs, type ChartCurve, type ChartDatum, type ChartDimensions, ChartExportButton, type ChartExportButtonProps, type ChartExportFormat, type ChartExportOptions, type ChartExportRow, type ChartExportSource, type ChartFacetPanel, ChartFacets, type ChartFacetsProps, ChartFilterBar, type ChartFilterBarProps, ChartGrid, type ChartGridLines, type ChartGridProps, ChartLegend, type ChartLegendItem, type ChartLegendMarker, type ChartLegendPosition, type ChartLegendProps, type ChartLineAnnotation, type ChartMargin, type ChartOrientation, type ChartOverlay, type ChartOverlayRenderer, type ChartPattern, ChartPatternDefs, type ChartPatternDefsProps, type ChartPatternEntry, type ChartPeriod, ChartPeriodPicker, type ChartPeriodPickerProps, type ChartPeriodPreset, type ChartPlotContext, type ChartPoint, type ChartPointAnnotation, type ChartPointEvent, type ChartReferenceLine, type ChartResolvedSeries, ChartScaleLegend, type ChartScaleLegendProps, type ChartScaleType, type ChartSeries, type ChartSize, type ChartStatusProps, type ChartSyncContextValue, ChartSyncProvider, type ChartSyncProviderProps, ChartTableView, type ChartTableViewProps, type ChartTick, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, type ChartTooltipPayload, type ChartTooltipProps, type ChartXAxisConfig, type ChartXValue, type ChartYAxisConfig, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipColor, type ChipProps, type ChipSize, type ChipVariant, CircularProgress, type CircularProgressColor, type CircularProgressProps, type CircularProgressSize, type CircularProgressThickness, type ColumnDef, DEFAULT_CHART_PERIOD_PRESETS, DEFAULT_CHART_WIDTH, DEFAULT_FIELD_TYPES, DataGrid, type DataGridMode, type DataGridProps, type DataGridRef, type Density, Detachable, type DetachableProps, type DetachableRef, DeviceMockup, type DeviceMockupProps, type DeviceOrientation, type DeviceSize, type DeviceTheme, type DeviceType, type DialogA11yProps, type DialogInitialFocus, type DialogReturnFocus, type DivergingScaleOptions, Divider, type DividerOrientation, type DividerProps, type DividerTextAlign, type DividerVariant, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, Dropdown, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownContextValue, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownLabelProps, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorProps, DropdownSubMenu, DropdownSubMenuContent, type DropdownSubMenuContentProps, type DropdownSubMenuProps, DropdownSubMenuTrigger, type DropdownSubMenuTriggerProps, DropdownTrigger, type DropdownTriggerProps, DumbbellChart, type DumbbellChartProps, type DumbbellRow, type DumbbellSort, FOCUSABLE_SELECTOR, FileSelector, type FileSelectorProps, type FilterOperator, type FilterType, type FilterValue, Footer, FooterBottom, type FooterBottomProps, FooterColumn, type FooterColumnProps, FooterLink, type FooterLinkProps, type FooterProps, FooterSection, type FooterSectionProps, FooterSocial, FooterSocialLink, type FooterSocialLinkProps, type FooterSocialProps, FunnelChart, type FunnelChartProps, type FunnelStage, GanttChart, type GanttChartProps, type GanttTask, Header, type HeaderProps, Heatmap, type HeatmapCell, type HeatmapProps, HelpButton, type HelpButtonProps, type HistogramBin, INERT_IGNORE_ATTRIBUTE, ImageUploader, type ImageUploaderProps, Indicator, type IndicatorColor, type IndicatorPlacement, type IndicatorProps, type IndicatorSize, type IndicatorVariant, Input, type InputProps, Label, type LabelColor, type LabelProps, type LabelSize, type LabelVariant, type LabelWeight, LineChart, type LineChartProps, MarkdownEditorComponent, type MentionData, MentionInput, type MentionInputProps, type MentionInputValue, type MentionSuggestion, Modal, type ModalProps, type NavItem, type NodeRegistryEntry, NumberInput, type NumberInputProps, Pagination, type PaginationConfig, type PaginationProps, PieChart, type PieChartProps, type Position, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarSize, type ProgressBarVariant, RadioButton, type RadioButtonProps, type ScatterBubble, ScatterChart, type ScatterChartProps, SchemaEditor, type SchemaEditorProps, type SchemaEditorRef, type SchemaField, type SchemaFieldEvent, type SchemaFieldType, type SchemaRelation, type SchemaRelationCardinality, type SchemaTable, type SchemaTableEvent, type SchemaValue, type SchemaViewport, Select, type SelectOption, type SelectProps, type SelectedFile, type SelectionMode, type SequentialScaleOptions, type Side, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarPosition, type SidebarProps, SidebarSubMenu, type SidebarSubMenuProps, SidebarToggle, type SidebarToggleProps, type SidebarVariant, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Slider, type SliderColor, type SliderMark, type SliderProps, type SliderSize, type SortDirection, type SortState, Sparkline, type SparklineProps, StatCard, type StatCardDelta, type StatCardDeltaDirection, type StatCardDeltaTone, StatCardGroup, type StatCardGroupProps, type StatCardProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsColor, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, type TimeTickScale, type TimeUnit, Toast, type ToastPosition, type ToastProps, type ToastType, type ToastVariant, Tooltip, type TooltipPosition, type TooltipProps, type TooltipSize, type TooltipTrigger, type TooltipVariant, type UILabels, type UILabelsOf, UILabelsProvider, type UILabelsProviderProps, type UILinkComponent, type UILinkProps, type UseChartBrushOptions, type UseChartBrushResult, type UseChartSizeOptions, type UseChartSizeResult, type UseClickOutsideOptions, type UseDialogA11yOptions, type UseDialogA11yResult, type UseKeyboardNavigationOptions, type UsePositioningOptions, WaterfallChart, type WaterfallChartProps, type WaterfallKind, type WaterfallStep, WithHelpButton, type WithHelpButtonProps, Wizard, WizardActions, type WizardActionsProps, type WizardColor, WizardContent, type WizardContentProps, type WizardContextValue, type WizardDirection, WizardNext, type WizardNextProps, type WizardOrientation, WizardPanel, type WizardPanelProps, WizardPrevious, type WizardPreviousProps, type WizardProps, type WizardSize, type WizardStepChangeMeta, type WizardStepDefinition, type WizardStepStatus, WizardSteps, type WizardStepsProps, type WizardVariant, type WorkflowDirection, type WorkflowEdge, WorkflowEditor, type WorkflowEditorProps, type WorkflowEditorRef, type WorkflowNode, type WorkflowNodeAction, type WorkflowNodeActionEvent, type WorkflowNodeActionPosition, type WorkflowNodeEvent, type WorkflowPort, type WorkflowValue, type WorkflowViewport, autoLayoutTables, binEdges, binValues, boxStats, brushToPeriod, buildCartesianGeometry, cn, createCategoryLocator, createDefaultField, createDefaultTable, createDivergingScale, createPeriod, createPlotContext, createSequentialScale, decimateIndices, decimatePath, defaultUILabels, describeAnnotations, downloadChartData, endOfDay, findOwnedLayers, formatPeriodRange, formatTimeTick, formatUILabel, frenchUILabels, generateFieldId, generateRelationId, generateSQL, generateTableId, getFocusableElements, getOrdinalColor, getPattern, getSeriesColor, getSeriesLabel, hideOthers, isElementVisible, isFocusable, lttb, niceTimeTicks, patternBackground, patternFill, patternId, quantile, quantileSorted, rampColor, registerFloatingLayer, resetBarChartWarnings, resetDumbbellWarnings, resetFacetWarnings, resetPointBudgetWarning, resolvePeriodPreset, resolveSeriesColor, samePeriod, sampleEvenly, splitOverlay, startOfDay, sturgesBins, toChartCsv, toChartJson, toChartRows, toLegendItems, toTimestamp, useChartBrush, useChartSize, useChartSync, useClickOutside, useDialogA11y, useDropdownContext, useFocusItem, useKeyboardNavigation, usePositioning, useSidebar, useUILabels, useUILinkComponent, useUILocale, useWizard };