@synertech/ui 0.51.0 → 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 (147) hide show
  1. package/.claude/skills/use-synertech-ui/SKILL.md +183 -147
  2. package/README.md +27 -19
  3. package/dist/components/advance-detachable/AdvanceDetachable.cjs +1 -1
  4. package/dist/components/advance-detachable/AdvanceDetachable.js +1 -1
  5. package/dist/components/area-chart/AreaChart.cjs +1 -1
  6. package/dist/components/area-chart/AreaChart.js +1 -1
  7. package/dist/components/avatar/Avatar.cjs +1 -1
  8. package/dist/components/avatar/Avatar.js +1 -1
  9. package/dist/components/avatar/AvatarImage.cjs +1 -0
  10. package/dist/components/avatar/AvatarImage.js +1 -0
  11. package/dist/components/banner/Banner.cjs +1 -1
  12. package/dist/components/banner/Banner.js +1 -1
  13. package/dist/components/bar-chart/BarChart.cjs +1 -1
  14. package/dist/components/bar-chart/BarChart.js +1 -1
  15. package/dist/components/box-plot/BoxPlot.cjs +1 -1
  16. package/dist/components/box-plot/BoxPlot.js +1 -1
  17. package/dist/components/breadcrumb/Breadcrumb.cjs +1 -1
  18. package/dist/components/breadcrumb/Breadcrumb.js +1 -1
  19. package/dist/components/bullet-chart/BulletChart.cjs +1 -1
  20. package/dist/components/bullet-chart/BulletChart.js +1 -1
  21. package/dist/components/calendar/Calendar.cjs +1 -1
  22. package/dist/components/calendar/Calendar.js +1 -1
  23. package/dist/components/candlestick-chart/CandlestickChart.cjs +1 -1
  24. package/dist/components/candlestick-chart/CandlestickChart.js +1 -1
  25. package/dist/components/card/Card.cjs +1 -1
  26. package/dist/components/card/Card.js +1 -1
  27. package/dist/components/chart/ChartAnnotations.cjs +1 -1
  28. package/dist/components/chart/ChartAnnotations.js +1 -1
  29. package/dist/components/chart/ChartBrush.cjs +1 -1
  30. package/dist/components/chart/ChartBrush.js +1 -1
  31. package/dist/components/chart/ChartContainer.cjs +1 -1
  32. package/dist/components/chart/ChartContainer.js +1 -1
  33. package/dist/components/chart/ChartExportButton.cjs +1 -1
  34. package/dist/components/chart/ChartExportButton.js +1 -1
  35. package/dist/components/chart/ChartPatterns.cjs +1 -1
  36. package/dist/components/chart/ChartPatterns.js +1 -1
  37. package/dist/components/chart/ChartPlotClip.cjs +1 -0
  38. package/dist/components/chart/ChartPlotClip.js +1 -0
  39. package/dist/components/chart/ChartSync.cjs +1 -1
  40. package/dist/components/chart/ChartSync.js +1 -1
  41. package/dist/components/chart/ChartTableView.cjs +1 -1
  42. package/dist/components/chart/ChartTableView.js +1 -1
  43. package/dist/components/chart/exportSource.cjs +1 -0
  44. package/dist/components/chart/exportSource.js +1 -0
  45. package/dist/components/chart/palette.cjs +1 -1
  46. package/dist/components/chart/palette.js +1 -1
  47. package/dist/components/chart/useChartSize.cjs +1 -1
  48. package/dist/components/chart/useChartSize.js +1 -1
  49. package/dist/components/chart/utils/bins.cjs +1 -1
  50. package/dist/components/chart/utils/bins.js +1 -1
  51. package/dist/components/chart/utils/cartesian.cjs +1 -1
  52. package/dist/components/chart/utils/cartesian.js +1 -1
  53. package/dist/components/chart/utils/export.cjs +7 -1
  54. package/dist/components/chart/utils/export.js +7 -1
  55. package/dist/components/chart/utils/format.cjs +1 -1
  56. package/dist/components/chart/utils/format.js +1 -1
  57. package/dist/components/chart/utils/keyboard.cjs +1 -1
  58. package/dist/components/chart/utils/keyboard.js +1 -1
  59. package/dist/components/chart/utils/period.cjs +1 -1
  60. package/dist/components/chart/utils/period.js +1 -1
  61. package/dist/components/chart/utils/regression.cjs +1 -0
  62. package/dist/components/chart/utils/regression.js +1 -0
  63. package/dist/components/chart/utils/stack.cjs +1 -1
  64. package/dist/components/chart/utils/stack.js +1 -1
  65. package/dist/components/chart/utils/ticks.cjs +1 -1
  66. package/dist/components/chart/utils/ticks.js +1 -1
  67. package/dist/components/checkbox/Checkbox.cjs +1 -1
  68. package/dist/components/checkbox/Checkbox.js +1 -1
  69. package/dist/components/circular-progress/CircularProgress.cjs +1 -1
  70. package/dist/components/circular-progress/CircularProgress.js +1 -1
  71. package/dist/components/datagrid/DataGrid.cjs +1 -1
  72. package/dist/components/datagrid/DataGrid.js +1 -1
  73. package/dist/components/detachable/Detachable.cjs +1 -1
  74. package/dist/components/detachable/Detachable.js +1 -1
  75. package/dist/components/detachable/popup-window.cjs +1 -0
  76. package/dist/components/detachable/popup-window.js +1 -0
  77. package/dist/components/device-mockup/DeviceMockup.cjs +1 -1
  78. package/dist/components/device-mockup/DeviceMockup.js +1 -1
  79. package/dist/components/divider/Divider.cjs +1 -1
  80. package/dist/components/divider/Divider.js +1 -1
  81. package/dist/components/dumbbell-chart/DumbbellChart.cjs +1 -1
  82. package/dist/components/dumbbell-chart/DumbbellChart.js +1 -1
  83. package/dist/components/file-selector/FileSelector.cjs +1 -1
  84. package/dist/components/file-selector/FileSelector.js +1 -1
  85. package/dist/components/footer/FooterBottom.cjs +1 -1
  86. package/dist/components/footer/FooterBottom.js +1 -1
  87. package/dist/components/form/input/Input.cjs +1 -1
  88. package/dist/components/form/input/Input.js +1 -1
  89. package/dist/components/form/mention-input/MentionInput.cjs +5 -4
  90. package/dist/components/form/mention-input/MentionInput.js +5 -4
  91. package/dist/components/form/number-input/NumberInput.cjs +1 -1
  92. package/dist/components/form/number-input/NumberInput.js +1 -1
  93. package/dist/components/form/shared/InputWrapper.cjs +1 -1
  94. package/dist/components/form/shared/InputWrapper.js +1 -1
  95. package/dist/components/funnel-chart/FunnelChart.cjs +1 -1
  96. package/dist/components/funnel-chart/FunnelChart.js +1 -1
  97. package/dist/components/gantt-chart/GanttChart.cjs +1 -1
  98. package/dist/components/gantt-chart/GanttChart.js +1 -1
  99. package/dist/components/heat-map/Heatmap.cjs +1 -1
  100. package/dist/components/heat-map/Heatmap.js +1 -1
  101. package/dist/components/image-uploader/ImageUploader.cjs +1 -1
  102. package/dist/components/image-uploader/ImageUploader.js +1 -1
  103. package/dist/components/line-chart/LineChart.cjs +1 -1
  104. package/dist/components/line-chart/LineChart.js +1 -1
  105. package/dist/components/pagination/Pagination.cjs +1 -1
  106. package/dist/components/pagination/Pagination.js +1 -1
  107. package/dist/components/pie-chart/PieChart.cjs +1 -1
  108. package/dist/components/pie-chart/PieChart.js +1 -1
  109. package/dist/components/progress-bar/ProgressBar.cjs +1 -1
  110. package/dist/components/progress-bar/ProgressBar.js +1 -1
  111. package/dist/components/radio-button/RadioButton.cjs +1 -1
  112. package/dist/components/radio-button/RadioButton.js +1 -1
  113. package/dist/components/scatter-chart/ScatterChart.cjs +1 -1
  114. package/dist/components/scatter-chart/ScatterChart.js +1 -1
  115. package/dist/components/scatter-chart/index.cjs +1 -1
  116. package/dist/components/scatter-chart/index.js +1 -1
  117. package/dist/components/schema-editor/SchemaEditor.cjs +1 -1
  118. package/dist/components/schema-editor/SchemaEditor.js +1 -1
  119. package/dist/components/schema-editor/canvas/GridLayer.cjs +1 -1
  120. package/dist/components/schema-editor/canvas/GridLayer.js +1 -1
  121. package/dist/components/schema-editor/relations/SchemaRelationRenderer.cjs +1 -1
  122. package/dist/components/schema-editor/relations/SchemaRelationRenderer.js +1 -1
  123. package/dist/components/schema-editor/utils/sql-export.cjs +4 -4
  124. package/dist/components/schema-editor/utils/sql-export.js +7 -7
  125. package/dist/components/slider/Slider.cjs +1 -1
  126. package/dist/components/slider/Slider.js +1 -1
  127. package/dist/components/sparkline/Sparkline.cjs +1 -1
  128. package/dist/components/sparkline/Sparkline.js +1 -1
  129. package/dist/components/table/TableRow.cjs +1 -1
  130. package/dist/components/table/TableRow.js +1 -1
  131. package/dist/components/waterfall-chart/WaterfallChart.cjs +1 -1
  132. package/dist/components/waterfall-chart/WaterfallChart.js +1 -1
  133. package/dist/components/workflow-editor/WorkflowEditor.cjs +1 -1
  134. package/dist/components/workflow-editor/WorkflowEditor.js +1 -1
  135. package/dist/components/workflow-editor/canvas/GridLayer.cjs +1 -1
  136. package/dist/components/workflow-editor/canvas/GridLayer.js +1 -1
  137. package/dist/index.d.cts +433 -170
  138. package/dist/index.d.ts +433 -170
  139. package/dist/lib/accept.cjs +1 -0
  140. package/dist/lib/accept.js +1 -0
  141. package/dist/lib/css-value.cjs +1 -0
  142. package/dist/lib/css-value.js +1 -0
  143. package/dist/lib/ui-labels.cjs +1 -1
  144. package/dist/lib/ui-labels.js +1 -1
  145. package/dist/styles-no-preflight.css +10270 -0
  146. package/dist/styles.css +301 -28
  147. package/package.json +9 -4
package/dist/index.d.cts CHANGED
@@ -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);
@@ -389,6 +395,15 @@ interface ChartBrushRange {
389
395
  to: ChartXValue;
390
396
  fromIndex: number;
391
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;
392
407
  }
393
408
  /**
394
409
  * What a panel carries besides its data.
@@ -504,7 +519,9 @@ interface AreaChartProps extends CartesianChartBaseProps, Omit<ComponentPropsWit
504
519
  * Runs the path through LTTB, which keeps the peaks a stride sample walks
505
520
  * straight past. Only the paths are thinned: the geometry, the crosshair,
506
521
  * the tooltip and the data table keep reading every row. Left unset, a
507
- * 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.
508
525
  */
509
526
  maxPoints?: number;
510
527
  /**
@@ -549,6 +566,10 @@ interface AvatarProps extends ComponentPropsWithoutRef<"div"> {
549
566
  * name of the person, or `frenchUILabels.avatarAlt`.
550
567
  */
551
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
+ */
552
573
  fallback?: string;
553
574
  size?: "xs" | "sm" | "md" | "lg" | "xl";
554
575
  variant?: "circle" | "square" | "rounded";
@@ -629,6 +650,12 @@ interface CartesianGeometryOptions {
629
650
  * is read for its slope, and forcing zero flattens the change.
630
651
  */
631
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;
632
659
  }
633
660
  interface CartesianGeometry {
634
661
  margin: ChartMargin;
@@ -677,7 +704,7 @@ interface CartesianGeometry {
677
704
  * It speaks in value and category axes rather than x and y, because a
678
705
  * horizontal bar chart swaps which screen axis carries which.
679
706
  */
680
- 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;
681
708
  /**
682
709
  * Where a raw x value lands on the category axis, in pixels.
683
710
  *
@@ -855,7 +882,9 @@ interface BarChartProps extends CartesianChartBaseProps, Omit<ComponentPropsWith
855
882
  * Lets a pointer drag a window across the category axis.
856
883
  *
857
884
  * Shift + arrows does the same from the keyboard, Escape drops it, and the
858
- * 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.
859
888
  */
860
889
  brush?: boolean;
861
890
  /** Called when a window is set, and with `null` when one is dropped. */
@@ -895,6 +924,12 @@ interface BannerProps extends Omit<ComponentPropsWithoutRef<"div">, "title"> {
895
924
  description?: ReactNode;
896
925
  icon?: ReactNode;
897
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
+ */
898
933
  closable?: boolean;
899
934
  /** Accessible name of the close button. Defaults to the `bannerClose` label. */
900
935
  closeLabel?: string;
@@ -933,8 +968,13 @@ interface BreadcrumbItem {
933
968
  */
934
969
  href?: string;
935
970
  icon?: ReactNode;
936
- /** Called on a click, with its event: `event.preventDefault()` keeps the link from being followed. */
937
- 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;
938
978
  }
939
979
  interface BreadcrumbProps extends ComponentPropsWithoutRef<"nav"> {
940
980
  items: BreadcrumbItem[];
@@ -1004,7 +1044,11 @@ interface BulletChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "chi
1004
1044
  */
1005
1045
  locale?: string;
1006
1046
  plotLabel?: string;
1007
- /** 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
+ */
1008
1052
  valueLabel?: string;
1009
1053
  /** Header of the target column of the data table. */
1010
1054
  targetLabel?: string;
@@ -1525,6 +1569,82 @@ interface CandlestickChartProps extends Omit<ComponentPropsWithoutRef<"figure">,
1525
1569
  */
1526
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;
1527
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
+
1528
1648
  /** Geometry handed to the render prop once the container has been measured. */
1529
1649
  interface ChartContainerRenderArgs {
1530
1650
  width: number;
@@ -1544,6 +1664,12 @@ interface ChartContainerProps extends Omit<ComponentPropsWithoutRef<"figure">, "
1544
1664
  legendPosition?: ChartLegendPosition;
1545
1665
  /** Slot on the right of the caption — a range picker, an export button. */
1546
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;
1547
1673
  /**
1548
1674
  * Dims the plot while fresh data loads. The previous render is held rather
1549
1675
  * than replaced by a spinner, so nothing jumps; the spinner only shows on
@@ -1596,7 +1722,7 @@ interface ChartContainerProps extends Omit<ComponentPropsWithoutRef<"figure">, "
1596
1722
  * The plot area is a render prop: a chart cannot lay itself out before the
1597
1723
  * container has been measured.
1598
1724
  */
1599
- 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;
1600
1726
 
1601
1727
  type ChartAxisOrientation = "bottom" | "left";
1602
1728
  interface ChartAxisProps extends Omit<ComponentPropsWithoutRef<"g">, "children"> {
@@ -1709,6 +1835,14 @@ interface ChartAnnotationLayerProps {
1709
1835
  * skipped rather than drawn on the edge.
1710
1836
  */
1711
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;
1712
1846
  /** Where a value lands along the value axis. */
1713
1847
  yAt: (value: number) => number;
1714
1848
  /** Size of the plot area. */
@@ -1742,7 +1876,7 @@ interface ChartAnnotationLayerProps {
1742
1876
  * Everything here is chrome by default — grey, thin, dashed. An annotation
1743
1877
  * that draws the eye more strongly than the data has become the chart.
1744
1878
  */
1745
- 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;
1746
1880
  /**
1747
1881
  * The annotations, as one sentence for the chart's accessible name.
1748
1882
  *
@@ -1766,6 +1900,14 @@ interface ChartBrushLayerProps {
1766
1900
  live?: boolean;
1767
1901
  /** Names the region for assistive technology. */
1768
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;
1769
1911
  }
1770
1912
  /**
1771
1913
  * The window a reader selected, drawn across the plot.
@@ -1774,7 +1916,7 @@ interface ChartBrushLayerProps {
1774
1916
  * of the window are the part a reader checks, and the boundary of a 14%
1775
1917
  * translucent band is not a line anybody can point at.
1776
1918
  */
1777
- 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;
1778
1920
  interface UseChartBrushOptions {
1779
1921
  /** `false` leaves every handler a no-op, so a chart can wire them anyway. */
1780
1922
  enabled: boolean;
@@ -1805,12 +1947,17 @@ interface UseChartBrushResult {
1805
1947
  /**
1806
1948
  * Shift + arrows to extend the window, Escape to drop it.
1807
1949
  *
1808
- * Never consumes the key: the chart's own handler still moves its crosshair
1809
- * on the same press, which is what keeps the window's head and the focused
1810
- * position in step. Keyboard parity is not optional here — a filter that can
1811
- * 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.
1812
1959
  */
1813
- onKeyDown: (event: KeyboardEvent<SVGSVGElement>, focusedIndex: number | null) => void;
1960
+ onKeyDown: (event: KeyboardEvent<SVGSVGElement>, focusedIndex: number | null) => boolean;
1814
1961
  /** `true` when the press that just ended was a drag, not a click. */
1815
1962
  consumedClick: () => boolean;
1816
1963
  }
@@ -1940,7 +2087,10 @@ declare function ChartSyncProvider({ children, hover, brush, defaultBrush, onBru
1940
2087
  * The point of brushing: a reader drags a fortnight on the line and the
1941
2088
  * dashboard is now read over that fortnight. Both ends are widened to whole
1942
2089
  * days, the way `ChartPeriodPicker` resolves its own presets — a window ending
1943
- * 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.
1944
2094
  *
1945
2095
  * Answers `null` when the axis that was brushed carries no date at all. It
1946
2096
  * cannot tell a timestamp from any other number, though — a time axis stores
@@ -1951,60 +2101,11 @@ declare function ChartSyncProvider({ children, hover, brush, defaultBrush, onBru
1951
2101
  declare function brushToPeriod(range: ChartBrushRange): ChartPeriod | null;
1952
2102
 
1953
2103
  /**
1954
- * What a chart hands to a file.
1955
- *
1956
- * The same rows its data table draws, which is the point: `DataGrid` has
1957
- * exported CSV and JSON since it shipped, and a chart holds an exact table of
1958
- * its own already. Every value a reader can see is a value they can take away.
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.
1959
2107
  */
1960
- interface ChartExportOptions {
1961
- data: readonly ChartDatum[];
1962
- series: readonly ChartSeries[];
1963
- /** Field the rows are keyed on — the chart's x axis. */
1964
- xKey: string;
1965
- /** Header of the first column. Defaults to `xKey`. */
1966
- xLabel?: string;
1967
- /**
1968
- * Formats the category of each row.
1969
- *
1970
- * Only the category: the measurements are written raw on purpose. A
1971
- * spreadsheet is going to compute on them, and `1 234,5 €` is a string.
1972
- */
1973
- formatX?: (value: ChartXValue, index: number) => string;
1974
- /**
1975
- * Keeps a category or a series label from running as a formula.
1976
- *
1977
- * A file is opened by someone other than whoever named the series: text
1978
- * starting with `=`, `+`, `-` or `@` is written to the CSV with an apostrophe
1979
- * in front, so a spreadsheet shows it instead of computing it. The
1980
- * measurements are numbers and are never touched. On unless it is `false`;
1981
- * the JSON file is not concerned.
1982
- */
1983
- neutralizeFormulas?: boolean;
1984
- }
1985
- /** One exported row: the category, then one column per visible series. */
1986
- type ChartExportRow = Record<string, string | number | null>;
1987
- /** The chart's rows, in the shape a file wants: one object per row. */
1988
- declare function toChartRows({ data, series, xKey, xLabel, formatX, }: ChartExportOptions): ChartExportRow[];
1989
- /**
1990
- * The chart's data table as a CSV document.
1991
- *
1992
- * RFC 4180 rather than the usual "does it contain a comma": a label holding a
1993
- * newline or a quote breaks a file just as thoroughly, and silently.
1994
- */
1995
- declare function toChartCsv(options: ChartExportOptions, delimiter?: string): string;
1996
- /** The chart's data table as a JSON document. */
1997
- declare function toChartJson(options: ChartExportOptions): string;
1998
- type ChartExportFormat = "csv" | "json";
1999
- /**
2000
- * Hands the chart's rows to the browser as a file.
2001
- *
2002
- * Does nothing outside a browser rather than throwing: a chart is rendered on
2003
- * the server too, and a download is the one thing that cannot happen there.
2004
- */
2005
- declare function downloadChartData(format: ChartExportFormat, options: ChartExportOptions, filename?: string): void;
2006
-
2007
- interface ChartExportButtonProps extends ChartExportOptions {
2108
+ interface ChartExportButtonProps extends Partial<ChartExportOptions> {
2008
2109
  className?: string;
2009
2110
  disabled?: boolean;
2010
2111
  /** Which files to offer, in the order they are listed. */
@@ -2034,12 +2135,18 @@ interface ChartExportButtonProps extends ChartExportOptions {
2034
2135
  * the other controls already are — the `actions` slot of a `ChartContainer`,
2035
2136
  * or of the `ChartFilterBar` above a whole dashboard.
2036
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
+ *
2037
2144
  * ```tsx
2038
2145
  * <LineChart
2039
2146
  * data={rows}
2040
2147
  * series={series}
2041
2148
  * x={{ key: "month" }}
2042
- * actions={<ChartExportButton data={rows} series={series} xKey="month" />}
2149
+ * actions={<ChartExportButton filename="revenue" />}
2043
2150
  * />
2044
2151
  * ```
2045
2152
  *
@@ -2125,83 +2232,6 @@ declare function decimateIndices(points: readonly PathPoint[], maxPoints: number
2125
2232
  */
2126
2233
  declare function decimatePath(points: readonly PathPoint[], maxPoints: number): PathPoint[];
2127
2234
 
2128
- /**
2129
- * The colour a texture is cut through — the chart surface itself.
2130
- *
2131
- * Declared in `src/styles/index.css` under both theme scopes, so a stripe is
2132
- * white on a white panel and gray-800 on a dark one without a component ever
2133
- * asking which theme is on.
2134
- */
2135
- declare const CHART_SURFACE_COLOR = "var(--color-chart-surface)";
2136
- /**
2137
- * The textures, in the order they are handed out.
2138
- *
2139
- * One per palette slot, and assigned the same way: by the series' position in
2140
- * `series`, never by its rank. Hiding a series repaints nothing, and the
2141
- * texture a reader learnt in the legend is still the one on the plot.
2142
- *
2143
- * Every hatch runs at 45° or its mirror at 135°, never horizontal and never
2144
- * vertical: those two align with the gridlines and with the edges of the
2145
- * marks, where they read as part of the chrome rather than as a fill. The
2146
- * first slot is left solid — an untextured mark is itself a texture, and the
2147
- * easiest of all to tell apart.
2148
- */
2149
- declare const CHART_PATTERNS: readonly ["solid", "diagonal", "diagonal-reverse", "cross", "dots", "diagonal-wide", "diagonal-reverse-wide", "dots-wide"];
2150
- type ChartPattern = (typeof CHART_PATTERNS)[number];
2151
- /** The texture at `index`, wrapping around once past the last one. */
2152
- declare function getPattern(index: number): ChartPattern;
2153
- /**
2154
- * Id of the SVG pattern a chart declared for its `index`-th series.
2155
- *
2156
- * The base is stripped down to id characters: `useId` returns `:r0:` on React
2157
- * 18, and a fill pointing at `url(#:r0:-texture-1)` is a fragment reference
2158
- * browsers are not obliged to resolve.
2159
- */
2160
- declare function patternId(baseId: string, index: number): string;
2161
- /**
2162
- * The fill a mark wears.
2163
- *
2164
- * The texture when they are on and the slot has one, the flat colour
2165
- * otherwise — so a chart calls this once and never branches itself.
2166
- */
2167
- declare function patternFill(enabled: boolean, baseId: string, index: number, color: string): string;
2168
- /** One texture to declare: the slot it belongs to, and the colour it paints. */
2169
- interface ChartPatternEntry {
2170
- /** Palette slot of the mark — what `patternFill` is called with. */
2171
- slot: number;
2172
- color: string;
2173
- }
2174
- interface ChartPatternDefsProps {
2175
- /** Unique per chart instance — a `useId()`, so two charts never collide. */
2176
- id: string;
2177
- /**
2178
- * The marks to declare a texture for.
2179
- *
2180
- * Keyed by slot rather than by position: a pie sorts its slices and a bar
2181
- * chart hides some of its series, and in both the texture has to keep
2182
- * following the identity it was handed out to.
2183
- */
2184
- entries: readonly ChartPatternEntry[];
2185
- }
2186
- /**
2187
- * The `<defs>` block holding one texture per series.
2188
- *
2189
- * A mark keeps its colour at full strength and the texture is *cut out* of it
2190
- * in the surface colour, rather than painted over a washed-down fill: a
2191
- * stacked band has to read as a quantity, and a fill dimmed to make room for
2192
- * stripes stops doing that.
2193
- */
2194
- declare function ChartPatternDefs({ id, entries }: ChartPatternDefsProps): react_jsx_runtime.JSX.Element;
2195
- /**
2196
- * The same texture, in CSS, for the HTML swatch of a legend.
2197
- *
2198
- * The legend and the plot have to carry the same two channels, or the texture
2199
- * becomes noise the reader cannot map onto anything. A gradient reproduces the
2200
- * SVG tile closely enough at swatch size, and it flips with the theme through
2201
- * the same surface variable.
2202
- */
2203
- declare function patternBackground(index: number, color: string): CSSProperties;
2204
-
2205
2235
  /**
2206
2236
  * Number of categorical slots the palette holds.
2207
2237
  *
@@ -2222,6 +2252,16 @@ declare const CHART_PALETTE_SIZE = 8;
2222
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)"];
2223
2253
  /** Grey used for de-emphasised series and for the "Other" bucket. */
2224
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)";
2225
2265
  declare const CHART_UP_COLOR = "var(--color-chart-up)";
2226
2266
  declare const CHART_DOWN_COLOR = "var(--color-chart-down)";
2227
2267
  /**
@@ -2348,6 +2388,75 @@ declare function createDivergingScale(domain: readonly [number, number], options
2348
2388
  */
2349
2389
  declare function getOrdinalColor(index: number, count?: number, colors?: readonly string[]): string;
2350
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
+
2351
2460
  interface ChartScaleLegendProps extends Omit<ComponentPropsWithoutRef<"div">, "children"> {
2352
2461
  /** The ramp the chart paints with — usually the one it built for its marks. */
2353
2462
  scale: ChartColorScale;
@@ -2388,6 +2497,12 @@ interface ChartTableViewProps extends ComponentPropsWithoutRef<"div"> {
2388
2497
  xLabel?: string;
2389
2498
  formatX?: (value: ChartXValue, index: number) => string;
2390
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>>;
2391
2506
  /** Screen-reader caption. Say what the chart shows, not that it is a table. */
2392
2507
  caption?: string;
2393
2508
  emptyLabel?: string;
@@ -2400,7 +2515,7 @@ interface ChartTableViewProps extends ComponentPropsWithoutRef<"div"> {
2400
2515
  * meaning on its own, and a screen reader gets the numbers rather than a
2401
2516
  * description of a picture.
2402
2517
  */
2403
- 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;
2404
2519
 
2405
2520
  /** One panel, ready to be drawn. */
2406
2521
  interface ChartFacetPanel {
@@ -2609,6 +2724,12 @@ interface UseChartSizeResult<T extends HTMLElement> {
2609
2724
  *
2610
2725
  * Height stays a prop: a chart that also grew vertically with its container
2611
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.
2612
2733
  */
2613
2734
  declare function useChartSize<T extends HTMLElement = HTMLDivElement>(options?: UseChartSizeOptions): UseChartSizeResult<T>;
2614
2735
 
@@ -2673,7 +2794,10 @@ interface DumbbellRow {
2673
2794
  /** Smallest and largest value of the row, the two ends of its bar. */
2674
2795
  from: number | null;
2675
2796
  to: number | null;
2676
- /** 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
+ */
2677
2801
  change: number | null;
2678
2802
  datum: ChartDatum;
2679
2803
  }
@@ -2878,7 +3002,10 @@ interface GanttChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "chil
2878
3002
  id?: string;
2879
3003
  /** Field holding the share completed, from 0 to 1. */
2880
3004
  progress?: string;
2881
- /** 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
+ */
2882
3009
  milestone?: string;
2883
3010
  /**
2884
3011
  * Field holding the ids this task waits on, as an array.
@@ -3085,14 +3212,31 @@ interface CheckboxProps extends Omit<ComponentPropsWithoutRef<"input">, "size" |
3085
3212
  * has no fill: its mark is drawn in the colour of its outline.
3086
3213
  */
3087
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
+ */
3088
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
+ */
3089
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
+ */
3090
3233
  indeterminate?: boolean;
3091
3234
  icon?: ReactNode;
3092
3235
  variant?: "default" | "filled" | "outlined";
3093
3236
  shape?: "square" | "rounded" | "circle";
3094
3237
  animation?: boolean;
3095
3238
  showFocusRing?: boolean;
3239
+ /** Classes of the box. The root takes `containerClassName`. */
3096
3240
  className?: string;
3097
3241
  containerClassName?: string;
3098
3242
  }
@@ -3219,6 +3363,8 @@ interface UILabels {
3219
3363
  chartMin: string;
3220
3364
  /** Header of the maximum column of a box plot's data table, and its tooltip row. */
3221
3365
  chartMax: string;
3366
+ /** Header of the mean column of a box plot's data table, and its tooltip row. */
3367
+ chartMean: string;
3222
3368
  /** Header of the opening-price column of a candlestick's data table. */
3223
3369
  chartOpen: string;
3224
3370
  /** Header of the high column of a candlestick's data table. */
@@ -3372,6 +3518,8 @@ interface UILabels {
3372
3518
  dataGridFilterColumn: string;
3373
3519
  /** Accessible name of the value field of a DataGrid column filter. `{column}` is the header of the column. */
3374
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;
3375
3523
  /** Placeholder of the value field of a DataGrid column filter. */
3376
3524
  dataGridFilterValuePlaceholder: string;
3377
3525
  /** Label of the button applying a DataGrid column filter. */
@@ -3398,6 +3546,14 @@ interface UILabels {
3398
3546
  dataGridOperatorLessThan: string;
3399
3547
  /** DataGrid filter operator: the number is less than or equal to the value. */
3400
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;
3401
3557
  /** Tooltip of an editable DataGrid cell. */
3402
3558
  dataGridEditHint: string;
3403
3559
  /** Accessible name of the field editing a DataGrid cell. */
@@ -3452,6 +3608,8 @@ interface UILabels {
3452
3608
  fileSelectorTooLarge: string;
3453
3609
  /** Reason handed to `onReject` by a FileSelector for a file of the wrong type. `{accept}` is the list of types. */
3454
3610
  fileSelectorTypeNotAccepted: string;
3611
+ /** Reason handed to `onReject` by a FileSelector for a file it already holds. */
3612
+ fileSelectorAlreadyAdded: string;
3455
3613
  /** Accessible name of the button removing a file from a FileSelector. `{name}` is the name of the file. */
3456
3614
  fileSelectorRemove: string;
3457
3615
  /** Label of the button removing every file from a FileSelector. */
@@ -3482,6 +3640,8 @@ interface UILabels {
3482
3640
  imageUploaderHelp: string;
3483
3641
  /** Error shown by an ImageUploader for a file that is not an image. */
3484
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;
3485
3645
  /** Error shown by an ImageUploader for a file that is too large. `{maxSize}` is the limit in megabytes. */
3486
3646
  imageUploaderTooLarge: string;
3487
3647
  /** Error shown by an ImageUploader when the file could not be read. */
@@ -3742,6 +3902,8 @@ interface FilterValue {
3742
3902
  column: string;
3743
3903
  operator: FilterOperator;
3744
3904
  value: string;
3905
+ /** The upper bound of `between`, included. `value` is the lower one. */
3906
+ valueTo?: string;
3745
3907
  }
3746
3908
  type FilterOperator = "contains" | "equals" | "startsWith" | "endsWith" | "gt" | "gte" | "lt" | "lte" | "between" | "isEmpty" | "isNotEmpty";
3747
3909
  type FilterType = "text" | "number" | "select" | "date";
@@ -3776,9 +3938,12 @@ interface ColumnDef<T = unknown> {
3776
3938
  sortable?: boolean;
3777
3939
  /** Custom sort comparator */
3778
3940
  sortComparator?: (a: T, b: T) => number;
3779
- /** Enable filtering on this column */
3941
+ /** Enable filtering on this column: a text filter unless `filterType` says otherwise. */
3780
3942
  filterable?: boolean;
3781
- /** 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
+ */
3782
3947
  filterType?: FilterType;
3783
3948
  /** Options for select filter */
3784
3949
  filterOptions?: string[];
@@ -3788,11 +3953,19 @@ interface ColumnDef<T = unknown> {
3788
3953
  renderHeader?: (column: ColumnDef<T>) => ReactNode;
3789
3954
  /** Column is resizable */
3790
3955
  resizable?: boolean;
3791
- /** 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
+ */
3792
3961
  sticky?: "left" | "right";
3793
3962
  /** Column is hidden */
3794
3963
  hidden?: boolean;
3795
- /** 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
+ */
3796
3969
  editable?: boolean;
3797
3970
  /** Column type for special behavior */
3798
3971
  type?: "data" | "actions" | "selection" | "expand";
@@ -4081,7 +4254,10 @@ interface DeviceMockupProps {
4081
4254
  alt?: string;
4082
4255
  /** React content to display inside the device screen */
4083
4256
  children?: ReactNode;
4084
- /** 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
+ */
4085
4261
  orientation?: DeviceOrientation;
4086
4262
  /** Device frame theme */
4087
4263
  theme?: DeviceTheme;
@@ -4091,7 +4267,10 @@ interface DeviceMockupProps {
4091
4267
  showStatusBar?: boolean;
4092
4268
  /** Time displayed in the status bar */
4093
4269
  statusBarTime?: string;
4094
- /** 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
+ */
4095
4274
  animated?: boolean;
4096
4275
  /** Scroll animation speed in pixels per second */
4097
4276
  scrollSpeed?: number;
@@ -4102,7 +4281,7 @@ interface DeviceMockupProps {
4102
4281
  /** Additional class names for the screen/content area */
4103
4282
  contentClassName?: string;
4104
4283
  }
4105
- 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;
4106
4285
 
4107
4286
  type CircularProgressSize = "xs" | "sm" | "md" | "lg" | "xl";
4108
4287
  type CircularProgressThickness = "thin" | "normal" | "thick";
@@ -4263,7 +4442,12 @@ interface FileSelectorProps {
4263
4442
  value?: File[];
4264
4443
  /** Callback when files change */
4265
4444
  onChange?: (files: File[]) => void;
4266
- /** 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
+ */
4267
4451
  accept?: string;
4268
4452
  /**
4269
4453
  * Allow several files to be selected. Only `mode="file"` can mean a single
@@ -4271,13 +4455,15 @@ interface FileSelectorProps {
4271
4455
  * every file they are given
4272
4456
  */
4273
4457
  multiple?: boolean;
4274
- /** Maximum file size in bytes (default: 10MB) */
4458
+ /** Maximum file size in bytes (default: 10MB). Checked in the browser only, like `accept` */
4275
4459
  maxSize?: number;
4276
4460
  /** Maximum number of files, wherever several can be selected */
4277
4461
  maxFiles?: number;
4278
4462
  /**
4279
4463
  * Selection mode: file only, directory only, or both. A directory is handed
4280
- * 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
4281
4467
  */
4282
4468
  mode?: "file" | "directory" | "both";
4283
4469
  /** Visual variant */
@@ -4311,7 +4497,11 @@ interface FileSelectorProps {
4311
4497
  labels?: UILabelsOf<"fileSelector">;
4312
4498
  /** Custom icon for the dropzone */
4313
4499
  icon?: ReactNode;
4314
- /** 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
+ */
4315
4505
  onReject?: (file: File, reason: string) => void;
4316
4506
  /** Additional class names */
4317
4507
  className?: string;
@@ -4816,7 +5006,17 @@ interface ImageUploaderProps {
4816
5006
  onChange: (url: string) => void;
4817
5007
  onUpload?: (file: File) => Promise<string>;
4818
5008
  label?: string;
5009
+ /** Largest file accepted, in bytes. Checked in the browser only: the server checks again. */
4819
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
+ */
4820
5020
  accept?: string;
4821
5021
  helpText?: string;
4822
5022
  disabled?: boolean;
@@ -4996,6 +5196,9 @@ interface LineChartProps extends CartesianChartBaseProps, Omit<ComponentPropsWit
4996
5196
  *
4997
5197
  * One series, two path segments: a projection is the same measurement
4998
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.
4999
5202
  */
5000
5203
  forecastFrom?: ChartXValue;
5001
5204
  /** Caption above the line that separates the measured past from the forecast. */
@@ -5213,7 +5416,7 @@ interface PaginationProps extends Omit<ComponentPropsWithoutRef<"nav">, "onChang
5213
5416
  pageSizeOptions?: number[];
5214
5417
  onPageSizeChange?: (size: number) => void;
5215
5418
  }
5216
- 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;
5217
5420
 
5218
5421
  interface PieChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "children" | "title">, ChartStatusProps {
5219
5422
  data: ChartDatum[];
@@ -5221,10 +5424,19 @@ interface PieChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "childr
5221
5424
  x: ChartXAxisConfig;
5222
5425
  /** Field holding the value of each slice. */
5223
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;
5224
5432
  variant?: "pie" | "donut";
5225
5433
  /** Share of the outer radius left open. Defaults to the donut ratio. */
5226
5434
  innerRadius?: number;
5227
- /** 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
+ */
5228
5440
  maxSlices?: number;
5229
5441
  otherLabel?: string;
5230
5442
  sort?: "none" | "asc" | "desc";
@@ -5284,7 +5496,7 @@ interface PieChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "childr
5284
5496
  * over six slices at most, which is why the tail folds into a single bucket
5285
5497
  * rather than taking a seventh colour.
5286
5498
  */
5287
- 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;
5288
5500
 
5289
5501
  type ProgressBarSize = "xs" | "sm" | "md" | "lg" | "xl";
5290
5502
  type ProgressBarColor = "default" | "primary" | "success" | "warning" | "error" | "info";
@@ -5353,9 +5565,12 @@ interface RadioButtonProps extends Omit<ComponentPropsWithoutRef<"input">, "type
5353
5565
  uncheckedColor?: string;
5354
5566
  borderColor?: string;
5355
5567
  labelColor?: string;
5568
+ /** Colour of the message, and of the circle's border while in error. Any CSS colour. */
5356
5569
  errorColor?: string;
5357
5570
  dotColor?: string;
5571
+ /** Border colour of the circle under the pointer. Any CSS colour. */
5358
5572
  hoverColor?: string;
5573
+ /** Colour of the focus ring. Any CSS colour. */
5359
5574
  focusRingColor?: string;
5360
5575
  showFocusRing?: boolean;
5361
5576
  containerClassName?: string;
@@ -5733,6 +5948,11 @@ declare function TableBody({ children, className, ...props }: TableBodyProps): r
5733
5948
 
5734
5949
  interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
5735
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
+ */
5736
5956
  clickable?: boolean;
5737
5957
  }
5738
5958
  declare function TableRow({ children, onClick, clickable, className, ...props }: TableRowProps): react_jsx_runtime.JSX.Element;
@@ -5921,7 +6141,14 @@ declare namespace FooterLink {
5921
6141
  }
5922
6142
 
5923
6143
  interface FooterBottomProps extends ComponentPropsWithoutRef<"div"> {
5924
- 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. */
5925
6152
  children?: ReactNode;
5926
6153
  }
5927
6154
  declare function FooterBottom({ copyright, className, children, ...props }: FooterBottomProps): react_jsx_runtime.JSX.Element;
@@ -5956,13 +6183,28 @@ declare namespace FooterSocialLink {
5956
6183
  var displayName: string;
5957
6184
  }
5958
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
+ }
5959
6200
  interface ScatterChartProps extends Omit<CartesianChartBaseProps, "grid">, Omit<ComponentPropsWithoutRef<"figure">, keyof CartesianChartBaseProps | "children" | "title"> {
5960
6201
  grid?: ChartGridLines;
5961
- /** Sizes each mark by a third field, turning the plot into a bubble chart. */
5962
- bubble?: {
5963
- key: string;
5964
- range?: [number, number];
5965
- };
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;
5966
6208
  /** Fits a least-squares line through every visible point. */
5967
6209
  trendLine?: boolean;
5968
6210
  /** Splits the plot on a value of each axis. */
@@ -6055,6 +6297,7 @@ type SchemaRelation = {
6055
6297
  fieldId: string;
6056
6298
  };
6057
6299
  cardinality?: SchemaRelationCardinality;
6300
+ /** Written beside the line, under its cardinality. */
6058
6301
  label?: string;
6059
6302
  };
6060
6303
  type SchemaViewport = {
@@ -6084,8 +6327,15 @@ type SchemaEditorProps = {
6084
6327
  onTableClick?: (event: SchemaTableEvent) => void;
6085
6328
  onTableDoubleClick?: (event: SchemaTableEvent) => void;
6086
6329
  onTableContextMenu?: (event: SchemaTableEvent) => void;
6330
+ /** A click on the row of a field. `onTableClick` follows it: the field is in the table. */
6087
6331
  onFieldClick?: (event: SchemaFieldEvent) => void;
6332
+ /** A double click on the row of a field. `onTableDoubleClick` follows it. */
6088
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
+ */
6089
6339
  readOnly?: boolean;
6090
6340
  disabled?: boolean;
6091
6341
  draggableTables?: boolean;
@@ -6099,6 +6349,10 @@ type SchemaEditorProps = {
6099
6349
  showGrid?: boolean;
6100
6350
  toolbar?: boolean;
6101
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
+ */
6102
6356
  autoFit?: boolean;
6103
6357
  /**
6104
6358
  * The strings the editor writes itself, for this instance: any
@@ -6146,6 +6400,11 @@ declare function createDefaultTable(x: number, y: number, name?: string): Schema
6146
6400
  * other) has no such order: its keys that point forward are added with
6147
6401
  * `ALTER TABLE` once every table exists. A key of two columns is one
6148
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.
6149
6408
  */
6150
6409
  declare function generateSQL(value: SchemaValue): string;
6151
6410
 
@@ -6257,6 +6516,10 @@ type WorkflowEditorProps<TData = unknown> = {
6257
6516
  gridSize?: number;
6258
6517
  showGrid?: boolean;
6259
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
+ */
6260
6523
  autoFit?: boolean;
6261
6524
  /**
6262
6525
  * The strings the editor writes itself, for this instance: any
@@ -6529,4 +6792,4 @@ declare function isFocusable(element: HTMLElement): boolean;
6529
6792
  */
6530
6793
  declare function getFocusableElements(container: HTMLElement): HTMLElement[];
6531
6794
 
6532
- 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 };