@synertech/ui 0.45.1 → 0.46.1

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 (144) hide show
  1. package/.claude/skills/use-synertech-ui/SKILL.md +115 -17
  2. package/README.md +47 -5
  3. package/dist/components/area-chart/AreaChart.cjs +1 -1
  4. package/dist/components/area-chart/AreaChart.js +1 -1
  5. package/dist/components/avatar/Avatar.cjs +1 -1
  6. package/dist/components/avatar/Avatar.js +1 -1
  7. package/dist/components/badge/Badge.cjs +1 -1
  8. package/dist/components/badge/Badge.js +1 -1
  9. package/dist/components/banner/Banner.cjs +1 -1
  10. package/dist/components/banner/Banner.js +1 -1
  11. package/dist/components/bar-chart/BarChart.cjs +1 -1
  12. package/dist/components/bar-chart/BarChart.js +1 -1
  13. package/dist/components/box-plot/BoxPlot.cjs +1 -1
  14. package/dist/components/box-plot/BoxPlot.js +1 -1
  15. package/dist/components/breadcrumb/Breadcrumb.cjs +1 -1
  16. package/dist/components/breadcrumb/Breadcrumb.js +1 -1
  17. package/dist/components/bullet-chart/BulletChart.cjs +1 -1
  18. package/dist/components/bullet-chart/BulletChart.js +1 -1
  19. package/dist/components/calendar/Calendar.cjs +1 -1
  20. package/dist/components/calendar/Calendar.js +1 -1
  21. package/dist/components/candlestick-chart/CandlestickChart.cjs +1 -1
  22. package/dist/components/candlestick-chart/CandlestickChart.js +1 -1
  23. package/dist/components/chart/ChartBrush.cjs +1 -1
  24. package/dist/components/chart/ChartBrush.js +1 -1
  25. package/dist/components/chart/ChartExportButton.cjs +1 -1
  26. package/dist/components/chart/ChartExportButton.js +1 -1
  27. package/dist/components/chart/utils/export.cjs +1 -2
  28. package/dist/components/chart/utils/export.js +1 -2
  29. package/dist/components/chart/utils/keyboard.cjs +1 -0
  30. package/dist/components/chart/utils/keyboard.js +1 -0
  31. package/dist/components/chip/Chip.cjs +1 -1
  32. package/dist/components/chip/Chip.js +1 -1
  33. package/dist/components/datagrid/DataGrid.cjs +1 -2
  34. package/dist/components/datagrid/DataGrid.js +1 -2
  35. package/dist/components/device-mockup/DeviceMockup.cjs +1 -1
  36. package/dist/components/device-mockup/DeviceMockup.js +1 -1
  37. package/dist/components/dropdown/Dropdown.cjs +1 -1
  38. package/dist/components/dropdown/Dropdown.js +1 -1
  39. package/dist/components/dropdown/DropdownCheckboxItem.cjs +1 -1
  40. package/dist/components/dropdown/DropdownCheckboxItem.js +1 -1
  41. package/dist/components/dropdown/DropdownContent.cjs +1 -1
  42. package/dist/components/dropdown/DropdownContent.js +1 -1
  43. package/dist/components/dropdown/DropdownItem.cjs +1 -1
  44. package/dist/components/dropdown/DropdownItem.js +1 -1
  45. package/dist/components/dropdown/DropdownRadio.cjs +1 -1
  46. package/dist/components/dropdown/DropdownRadio.js +1 -1
  47. package/dist/components/dropdown/DropdownSubMenu.cjs +1 -1
  48. package/dist/components/dropdown/DropdownSubMenu.js +1 -1
  49. package/dist/components/dropdown/hooks/index.cjs +1 -1
  50. package/dist/components/dropdown/hooks/index.js +1 -1
  51. package/dist/components/dropdown/hooks/useClickOutside.cjs +1 -1
  52. package/dist/components/dropdown/hooks/useClickOutside.js +1 -1
  53. package/dist/components/dropdown/index.cjs +1 -1
  54. package/dist/components/dropdown/index.js +1 -1
  55. package/dist/components/dropdown/menu-navigation.cjs +1 -0
  56. package/dist/components/dropdown/menu-navigation.js +1 -0
  57. package/dist/components/dumbbell-chart/DumbbellChart.cjs +1 -1
  58. package/dist/components/dumbbell-chart/DumbbellChart.js +1 -1
  59. package/dist/components/file-selector/FileSelector.cjs +1 -1
  60. package/dist/components/file-selector/FileSelector.js +1 -1
  61. package/dist/components/form/input/Input.cjs +1 -1
  62. package/dist/components/form/input/Input.js +1 -1
  63. package/dist/components/form/mention-input/MentionInput.cjs +1 -1
  64. package/dist/components/form/mention-input/MentionInput.js +1 -1
  65. package/dist/components/form/number-input/NumberInput.cjs +1 -1
  66. package/dist/components/form/number-input/NumberInput.js +1 -1
  67. package/dist/components/funnel-chart/FunnelChart.cjs +1 -1
  68. package/dist/components/funnel-chart/FunnelChart.js +1 -1
  69. package/dist/components/gantt-chart/GanttChart.cjs +1 -1
  70. package/dist/components/gantt-chart/GanttChart.js +1 -1
  71. package/dist/components/header/Header.cjs +1 -1
  72. package/dist/components/header/Header.js +1 -1
  73. package/dist/components/heat-map/Heatmap.cjs +1 -1
  74. package/dist/components/heat-map/Heatmap.js +1 -1
  75. package/dist/components/help-button/HelpButton.cjs +7 -7
  76. package/dist/components/help-button/HelpButton.js +7 -7
  77. package/dist/components/help-button/MarkdownEditor.cjs +1 -1
  78. package/dist/components/help-button/MarkdownEditor.js +1 -1
  79. package/dist/components/image-uploader/ImageUploader.cjs +1 -1
  80. package/dist/components/image-uploader/ImageUploader.js +1 -1
  81. package/dist/components/indicator/Indicator.cjs +1 -1
  82. package/dist/components/indicator/Indicator.js +1 -1
  83. package/dist/components/label/Label.cjs +1 -1
  84. package/dist/components/label/Label.js +1 -1
  85. package/dist/components/line-chart/LineChart.cjs +1 -1
  86. package/dist/components/line-chart/LineChart.js +1 -1
  87. package/dist/components/modal/Modal.cjs +1 -1
  88. package/dist/components/modal/Modal.js +1 -1
  89. package/dist/components/pagination/Pagination.cjs +1 -1
  90. package/dist/components/pagination/Pagination.js +1 -1
  91. package/dist/components/pie-chart/PieChart.cjs +1 -1
  92. package/dist/components/pie-chart/PieChart.js +1 -1
  93. package/dist/components/radio-button/RadioButton.cjs +1 -1
  94. package/dist/components/radio-button/RadioButton.js +1 -1
  95. package/dist/components/scatter-chart/ScatterChart.cjs +1 -1
  96. package/dist/components/scatter-chart/ScatterChart.js +1 -1
  97. package/dist/components/schema-editor/SchemaEditor.cjs +1 -1
  98. package/dist/components/schema-editor/SchemaEditor.js +1 -1
  99. package/dist/components/schema-editor/legend/SchemaLegend.cjs +1 -1
  100. package/dist/components/schema-editor/legend/SchemaLegend.js +1 -1
  101. package/dist/components/schema-editor/tables/SchemaTableRenderer.cjs +1 -1
  102. package/dist/components/schema-editor/tables/SchemaTableRenderer.js +1 -1
  103. package/dist/components/schema-editor/toolbar/SchemaToolbar.cjs +1 -1
  104. package/dist/components/schema-editor/toolbar/SchemaToolbar.js +1 -1
  105. package/dist/components/select/Select.cjs +1 -1
  106. package/dist/components/select/Select.js +1 -1
  107. package/dist/components/tabs/Tabs.cjs +1 -1
  108. package/dist/components/tabs/Tabs.js +1 -1
  109. package/dist/components/tabs/TabsContent.cjs +1 -1
  110. package/dist/components/tabs/TabsContent.js +1 -1
  111. package/dist/components/tabs/TabsContext.cjs +1 -1
  112. package/dist/components/tabs/TabsContext.js +1 -1
  113. package/dist/components/tabs/TabsList.cjs +1 -1
  114. package/dist/components/tabs/TabsList.js +1 -1
  115. package/dist/components/tabs/TabsTrigger.cjs +1 -1
  116. package/dist/components/tabs/TabsTrigger.js +1 -1
  117. package/dist/components/toast/Toast.cjs +1 -1
  118. package/dist/components/toast/Toast.js +1 -1
  119. package/dist/components/tooltip/Tooltip.cjs +1 -1
  120. package/dist/components/tooltip/Tooltip.js +1 -1
  121. package/dist/components/waterfall-chart/WaterfallChart.cjs +1 -1
  122. package/dist/components/waterfall-chart/WaterfallChart.js +1 -1
  123. package/dist/components/wizard/Wizard.cjs +1 -1
  124. package/dist/components/wizard/Wizard.js +1 -1
  125. package/dist/components/workflow-editor/WorkflowEditor.cjs +1 -1
  126. package/dist/components/workflow-editor/WorkflowEditor.js +1 -1
  127. package/dist/components/workflow-editor/toolbar/WorkflowToolbar.cjs +1 -1
  128. package/dist/components/workflow-editor/toolbar/WorkflowToolbar.js +1 -1
  129. package/dist/index.cjs +1 -1
  130. package/dist/index.d.cts +814 -172
  131. package/dist/index.d.ts +814 -172
  132. package/dist/index.js +1 -1
  133. package/dist/lib/aria-hide.cjs +1 -1
  134. package/dist/lib/aria-hide.js +1 -1
  135. package/dist/lib/csv.cjs +2 -0
  136. package/dist/lib/csv.js +2 -0
  137. package/dist/lib/i18n.cjs +1 -1
  138. package/dist/lib/i18n.js +1 -1
  139. package/dist/lib/server-labels.cjs +1 -0
  140. package/dist/lib/server-labels.js +1 -0
  141. package/dist/lib/ui-labels.cjs +1 -0
  142. package/dist/lib/ui-labels.js +1 -0
  143. package/dist/styles.css +3152 -309
  144. package/package.json +3 -3
package/dist/index.d.cts CHANGED
@@ -439,6 +439,12 @@ interface CartesianChartBaseProps extends ChartStatusProps {
439
439
  description?: ReactNode;
440
440
  /** Draws inside the plot, with the chart's own resolved geometry. */
441
441
  overlay?: ChartOverlay;
442
+ /**
443
+ * Called with the mark that was clicked.
444
+ *
445
+ * Enter and Space on the focused chart do the same for the mark the
446
+ * keyboard is on.
447
+ */
442
448
  onPointClick?: (event: ChartPointEvent) => void;
443
449
  className?: string;
444
450
  }
@@ -526,6 +532,11 @@ declare function AreaChart({ data, series, x, y, height, width, size, grid, lege
526
532
 
527
533
  interface AvatarProps extends ComponentPropsWithoutRef<"div"> {
528
534
  src?: string;
535
+ /**
536
+ * Alternative text of the image. English by default (`avatarAlt`): `Avatar`
537
+ * renders on the server, so `UILabelsProvider` does not reach it — pass the
538
+ * name of the person, or `frenchUILabels.avatarAlt`.
539
+ */
529
540
  alt?: string;
530
541
  fallback?: string;
531
542
  size?: "xs" | "sm" | "md" | "lg" | "xl";
@@ -870,6 +881,8 @@ interface BannerProps extends Omit<ComponentPropsWithoutRef<"div">, "title"> {
870
881
  icon?: ReactNode;
871
882
  action?: ReactNode;
872
883
  closable?: boolean;
884
+ /** Accessible name of the close button. Defaults to the `bannerClose` label. */
885
+ closeLabel?: string;
873
886
  onClose?: () => void;
874
887
  backgroundImage?: string;
875
888
  badge?: string;
@@ -894,6 +907,13 @@ interface BreadcrumbProps extends ComponentPropsWithoutRef<"nav"> {
894
907
  itemColor?: string;
895
908
  activeColor?: string;
896
909
  separatorColor?: string;
910
+ /**
911
+ * Accessible name of the navigation landmark. English by default
912
+ * (`breadcrumbLabel`): `Breadcrumb` renders on the server, so
913
+ * `UILabelsProvider` does not reach it — pass
914
+ * `frenchUILabels.breadcrumbLabel`, or your own text.
915
+ */
916
+ "aria-label"?: string;
897
917
  }
898
918
  declare function Breadcrumb({ items, separator, size, maxItems, itemColor, activeColor, separatorColor, className, ...props }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
899
919
 
@@ -941,6 +961,12 @@ interface BulletChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "chi
941
961
  /** Header of the target column of the data table. */
942
962
  targetLabel?: string;
943
963
  format?: (value: number) => string;
964
+ /**
965
+ * Called with the mark that was clicked.
966
+ *
967
+ * Enter and Space on the focused chart do the same for the mark the
968
+ * keyboard is on.
969
+ */
944
970
  onRowClick?: (row: BulletRow) => void;
945
971
  }
946
972
  /** One measure, as the tooltip and the click handler see it. */
@@ -1307,6 +1333,12 @@ interface BoxPlotProps extends Omit<ComponentPropsWithoutRef<"figure">, "childre
1307
1333
  locale?: string;
1308
1334
  plotLabel?: string;
1309
1335
  format?: (value: number) => string;
1336
+ /**
1337
+ * Called with the mark that was clicked.
1338
+ *
1339
+ * Enter and Space on the focused chart do the same for the mark the
1340
+ * keyboard is on.
1341
+ */
1310
1342
  onBoxClick?: (box: BoxPlotBox) => void;
1311
1343
  }
1312
1344
  /**
@@ -1394,6 +1426,12 @@ interface CandlestickChartProps extends Omit<ComponentPropsWithoutRef<"figure">,
1394
1426
  riseLabel?: string;
1395
1427
  fallLabel?: string;
1396
1428
  format?: (value: number) => string;
1429
+ /**
1430
+ * Called with the mark that was clicked.
1431
+ *
1432
+ * Enter and Space on the focused chart do the same for the mark the
1433
+ * keyboard is on.
1434
+ */
1397
1435
  onCandleClick?: (candle: Candle) => void;
1398
1436
  }
1399
1437
  /**
@@ -1862,12 +1900,27 @@ interface ChartExportOptions {
1862
1900
  * spreadsheet is going to compute on them, and `1 234,5 €` is a string.
1863
1901
  */
1864
1902
  formatX?: (value: ChartXValue, index: number) => string;
1903
+ /**
1904
+ * Keeps a category or a series label from running as a formula.
1905
+ *
1906
+ * A file is opened by someone other than whoever named the series: text
1907
+ * starting with `=`, `+`, `-` or `@` is written to the CSV with an apostrophe
1908
+ * in front, so a spreadsheet shows it instead of computing it. The
1909
+ * measurements are numbers and are never touched. On unless it is `false`;
1910
+ * the JSON file is not concerned.
1911
+ */
1912
+ neutralizeFormulas?: boolean;
1865
1913
  }
1866
1914
  /** One exported row: the category, then one column per visible series. */
1867
1915
  type ChartExportRow = Record<string, string | number | null>;
1868
1916
  /** The chart's rows, in the shape a file wants: one object per row. */
1869
1917
  declare function toChartRows({ data, series, xKey, xLabel, formatX, }: ChartExportOptions): ChartExportRow[];
1870
- /** The chart's data table as a CSV document. */
1918
+ /**
1919
+ * The chart's data table as a CSV document.
1920
+ *
1921
+ * RFC 4180 rather than the usual "does it contain a comma": a label holding a
1922
+ * newline or a quote breaks a file just as thoroughly, and silently.
1923
+ */
1871
1924
  declare function toChartCsv(options: ChartExportOptions, delimiter?: string): string;
1872
1925
  /** The chart's data table as a JSON document. */
1873
1926
  declare function toChartJson(options: ChartExportOptions): string;
@@ -1922,7 +1975,7 @@ interface ChartExportButtonProps extends ChartExportOptions {
1922
1975
  * The measurements are written raw, not formatted: whatever opens the file is
1923
1976
  * going to compute on them.
1924
1977
  */
1925
- declare function ChartExportButton({ data, series, xKey, xLabel, formatX, formats, filename, size, label, onExport, className, disabled, }: ChartExportButtonProps): react_jsx_runtime.JSX.Element;
1978
+ declare function ChartExportButton({ data, series, xKey, xLabel, formatX, neutralizeFormulas, formats, filename, size, label, onExport, className, disabled, }: ChartExportButtonProps): react_jsx_runtime.JSX.Element;
1926
1979
 
1927
1980
  interface PathPoint {
1928
1981
  x: number;
@@ -2584,6 +2637,12 @@ interface DumbbellChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "c
2584
2637
  /** Header of the change column of the data table. */
2585
2638
  changeLabel?: string;
2586
2639
  format?: (value: number) => string;
2640
+ /**
2641
+ * Called with the mark that was clicked.
2642
+ *
2643
+ * Enter and Space on the focused chart do the same for the mark the
2644
+ * keyboard is on.
2645
+ */
2587
2646
  onRowClick?: (row: DumbbellRow) => void;
2588
2647
  }
2589
2648
  /**
@@ -2665,6 +2724,12 @@ interface FunnelChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "chi
2665
2724
  /** Header of the step-to-step loss column. */
2666
2725
  dropOffLabel?: string;
2667
2726
  format?: (value: number) => string;
2727
+ /**
2728
+ * Called with the mark that was clicked.
2729
+ *
2730
+ * Enter and Space on the focused chart do the same for the mark the
2731
+ * keyboard is on.
2732
+ */
2668
2733
  onStageClick?: (stage: FunnelStage) => void;
2669
2734
  }
2670
2735
  /**
@@ -2762,6 +2827,12 @@ interface GanttChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "chil
2762
2827
  todayLabel?: string;
2763
2828
  /** Formats a date in the tooltip and the data table. */
2764
2829
  formatDate?: (value: number) => string;
2830
+ /**
2831
+ * Called with the mark that was clicked.
2832
+ *
2833
+ * Enter and Space on the focused chart do the same for the mark the
2834
+ * keyboard is on.
2835
+ */
2765
2836
  onTaskClick?: (task: GanttTask) => void;
2766
2837
  }
2767
2838
  /**
@@ -2863,6 +2934,12 @@ interface WaterfallChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "
2863
2934
  increaseLabel?: string;
2864
2935
  decreaseLabel?: string;
2865
2936
  format?: (value: number) => string;
2937
+ /**
2938
+ * Called with the mark that was clicked.
2939
+ *
2940
+ * Enter and Space on the focused chart do the same for the mark the
2941
+ * keyboard is on.
2942
+ */
2866
2943
  onStepClick?: (step: WaterfallStep) => void;
2867
2944
  }
2868
2945
  /**
@@ -2942,6 +3019,563 @@ declare const CheckboxGroupItem: {
2942
3019
  displayName: string;
2943
3020
  };
2944
3021
 
3022
+ /**
3023
+ * The strings the library renders on its own, as plain data.
3024
+ *
3025
+ * This module carries no `"use client"` on purpose. A value exported by a
3026
+ * client module is only a reference on the server: a Server Component could
3027
+ * not read `frenchUILabels.labelRequired`, and a server-compatible component
3028
+ * (`Label`, `Breadcrumb`, `Avatar`…) could not take its English default from
3029
+ * here. The provider and the hook, which need the context, live next door in
3030
+ * `i18n.tsx` and re-export everything below.
3031
+ *
3032
+ * - A component with `"use client"` reads the labels with `useUILabels()`.
3033
+ * - A server-compatible component exposes a prop, since the provider does not
3034
+ * reach it, and takes its English default from `./server-labels`: never
3035
+ * from `./i18n`, and not from here either, which would make an avatar carry
3036
+ * the whole dictionary.
3037
+ *
3038
+ * `scripts/check-ui-strings.mjs` fails the build on a user-facing string
3039
+ * written anywhere else.
3040
+ */
3041
+ /**
3042
+ * Every user-facing string the library renders on its own (mostly the
3043
+ * `aria-label` / `sr-only` text of built-in buttons).
3044
+ *
3045
+ * Each component also exposes a matching prop, so a label can be overridden
3046
+ * globally (provider) or per instance (prop wins).
3047
+ */
3048
+ interface UILabels {
3049
+ /** Accessible name of the Modal close button. */
3050
+ closeModal: string;
3051
+ /** Accessible name of the Drawer close button. */
3052
+ closeDrawer: string;
3053
+ /** Accessible name of the Sidebar close button (mobile). */
3054
+ closeSidebar: string;
3055
+ /** Accessible name of the Sidebar toggle when it opens the mobile drawer. */
3056
+ openSidebar: string;
3057
+ /** Accessible name of the Sidebar toggle when it expands a collapsed sidebar. */
3058
+ expandSidebar: string;
3059
+ /** Accessible name of the Sidebar toggle when it collapses the sidebar. */
3060
+ collapseSidebar: string;
3061
+ /** Accessible name of the mobile Sidebar dialog when no `aria-label` is given. */
3062
+ sidebar: string;
3063
+ /** Accessible name of the Modal "expand" button. */
3064
+ enterFullScreen: string;
3065
+ /** Accessible name of the Modal "collapse" button. */
3066
+ exitFullScreen: string;
3067
+ /** Default label of the Modal submit button. */
3068
+ confirm: string;
3069
+ /** Default label of the Modal cancel button. */
3070
+ cancel: string;
3071
+ /** Shown by `<HelpButton markdown editable>` when no `markdownEditor` is passed. */
3072
+ markdownEditorUnavailable: string;
3073
+ /** Accessible name of the button revealing a chart's data table. */
3074
+ chartShowTable: string;
3075
+ /** Accessible name of the button hiding a chart's data table. */
3076
+ chartHideTable: string;
3077
+ /** Shown in place of a chart that has no data to draw. */
3078
+ chartNoData: string;
3079
+ /** Accessible name of the spinner shown while a chart loads its first data. */
3080
+ chartLoading: string;
3081
+ /** Bucket the smallest slices of a pie chart are folded into. */
3082
+ chartOther: string;
3083
+ /** Header of the "reached" column of a bullet chart's data table. */
3084
+ chartValue: string;
3085
+ /** Header of the "aimed at" column of a bullet chart's data table. */
3086
+ chartTarget: string;
3087
+ /** Legend entry and tooltip row for a waterfall step that adds. */
3088
+ chartIncrease: string;
3089
+ /** Legend entry and tooltip row for a waterfall step that takes away. */
3090
+ chartDecrease: string;
3091
+ /** Header of the running-total column of a waterfall's data table. */
3092
+ chartRunningTotal: string;
3093
+ /** Header of the "kept from the previous stage" column of a funnel. */
3094
+ chartConversion: string;
3095
+ /** Header of the "lost since the previous stage" column of a funnel. */
3096
+ chartDropOff: string;
3097
+ /** Header of the gap column of a dumbbell chart's data table. */
3098
+ chartChange: string;
3099
+ /** Header of the median column of a box plot's data table. */
3100
+ chartMedian: string;
3101
+ /** Header of the observation-count column of a box plot's data table. */
3102
+ chartCount: string;
3103
+ /** Header of the outlier column of a box plot's data table. */
3104
+ chartOutliers: string;
3105
+ /** Header of the minimum column of a box plot's data table, and its tooltip row. */
3106
+ chartMin: string;
3107
+ /** Header of the maximum column of a box plot's data table, and its tooltip row. */
3108
+ chartMax: string;
3109
+ /** Header of the opening-price column of a candlestick's data table. */
3110
+ chartOpen: string;
3111
+ /** Header of the high column of a candlestick's data table. */
3112
+ chartHigh: string;
3113
+ /** Header of the low column of a candlestick's data table. */
3114
+ chartLow: string;
3115
+ /** Header of the closing-price column of a candlestick's data table. */
3116
+ chartClose: string;
3117
+ /** Legend entry for a candlestick session that closed up. */
3118
+ chartRise: string;
3119
+ /** Legend entry for a candlestick session that closed down. */
3120
+ chartFall: string;
3121
+ /** Header of the start column of a schedule's data table. */
3122
+ chartStart: string;
3123
+ /** Header of the end column of a schedule's data table. */
3124
+ chartEnd: string;
3125
+ /** Header of the completion column of a schedule's data table. */
3126
+ chartProgress: string;
3127
+ /** Name of the rule marking today on a schedule. */
3128
+ chartToday: string;
3129
+ /** Word the annotation captions are announced under in a chart's name. */
3130
+ chartAnnotations: string;
3131
+ /** Accessible name of the filter row above a set of charts. */
3132
+ chartFilters: string;
3133
+ /** Accessible name of the period picker, and its caption when nothing is set. */
3134
+ chartPeriod: string;
3135
+ chartPeriodLast7Days: string;
3136
+ chartPeriodLast30Days: string;
3137
+ chartPeriodLast90Days: string;
3138
+ chartPeriodLast12Months: string;
3139
+ chartPeriodMonthToDate: string;
3140
+ chartPeriodQuarterToDate: string;
3141
+ chartPeriodYearToDate: string;
3142
+ /** Entry opening the calendar, for a window the presets do not cover. */
3143
+ chartPeriodCustom: string;
3144
+ /**
3145
+ * Shown in place of a chart whose data could not be loaded.
3146
+ *
3147
+ * Distinct from `chartNoData` on purpose: "there is nothing" and "we failed
3148
+ * to fetch it" are two different statements, and only the second one asks
3149
+ * the reader to do something about it.
3150
+ */
3151
+ chartError: string;
3152
+ /** Second line of a chart's error state, under `chartError`. */
3153
+ chartErrorHint: string;
3154
+ /** Label of the button that asks a failed chart to load again. */
3155
+ chartRetry: string;
3156
+ /** Accessible name of a chart's export control. */
3157
+ chartExport: string;
3158
+ /** Entry downloading a chart's data table as a CSV file. */
3159
+ chartExportCsv: string;
3160
+ /** Entry downloading a chart's data table as a JSON file. */
3161
+ chartExportJson: string;
3162
+ /** Accessible name of the range a pointer drags across a chart's category axis. */
3163
+ chartBrush: string;
3164
+ /** Accessible name of the button dropping the dragged range. */
3165
+ chartClearSelection: string;
3166
+ /** Title of a Modal that was given none. */
3167
+ modalDefaultTitle: string;
3168
+ /** Accessible name of the Banner close button. */
3169
+ bannerClose: string;
3170
+ /** Accessible name of the Toast close button. */
3171
+ toastClose: string;
3172
+ /** Accessible name of the Chip remove button. */
3173
+ chipRemove: string;
3174
+ /** Placeholder and accessible name of the Header search field. */
3175
+ headerSearchPlaceholder: string;
3176
+ /** Accessible name of the button opening the Header menu on a small screen. */
3177
+ headerToggleMenu: string;
3178
+ /** Hint after an optional Label. Not read from the provider: `Label` renders on the server, pass it as `optionalText`. */
3179
+ labelOptional: string;
3180
+ /** Screen-reader text after a required Label. Not read from the provider: `Label` renders on the server, pass it as `requiredLabel`. */
3181
+ labelRequired: string;
3182
+ /** Accessible name of the Breadcrumb landmark. Not read from the provider: `Breadcrumb` renders on the server, pass it as `aria-label`. */
3183
+ breadcrumbLabel: string;
3184
+ /** Alternative text of an Avatar image that was given none. Not read from the provider: `Avatar` renders on the server, pass it as `alt`. */
3185
+ avatarAlt: string;
3186
+ /** Shown by a Select that has no value. */
3187
+ selectPlaceholder: string;
3188
+ /** Shown by a Select whose list is empty. */
3189
+ selectNoOptions: string;
3190
+ /** Accessible name of the button clearing the value of a Select. */
3191
+ selectClear: string;
3192
+ /** Accessible name of the search field of a Select. */
3193
+ selectSearch: string;
3194
+ /** Placeholder of the search field of a Select. */
3195
+ selectSearchPlaceholder: string;
3196
+ /** Shown in the suggestion list of a MentionInput while it loads. */
3197
+ mentionInputLoading: string;
3198
+ /** Hint after the title of an optional Wizard step. */
3199
+ wizardOptional: string;
3200
+ /** Label of the WizardPrevious button. */
3201
+ wizardPrevious: string;
3202
+ /** Label of the WizardNext button before the last step. */
3203
+ wizardNext: string;
3204
+ /** Label of the WizardNext button on the last step. */
3205
+ wizardFinish: string;
3206
+ /** Accessible name of the Calendar button going back a month. */
3207
+ calendarPreviousMonth: string;
3208
+ /** Accessible name of the Calendar button going forward a month. */
3209
+ calendarNextMonth: string;
3210
+ /** Accessible name of the month menu of a Calendar. */
3211
+ calendarMonth: string;
3212
+ /** Accessible name of the year menu of a Calendar. */
3213
+ calendarYear: string;
3214
+ /** Screen-reader header of the week-number column of a Calendar. */
3215
+ calendarWeekNumber: string;
3216
+ /** Label of the Calendar button jumping to today. */
3217
+ calendarToday: string;
3218
+ /** Label of the Calendar button clearing the selection. */
3219
+ calendarClear: string;
3220
+ /** Alternative text of the image shown on a DeviceMockup screen. */
3221
+ deviceMockupAlt: string;
3222
+ /** Accessible name of the Pagination landmark. */
3223
+ paginationLabel: string;
3224
+ /** Range of items shown by a Pagination. `{start}` and `{end}` are the first and last item of the page, `{total}` the number of items. */
3225
+ paginationRange: string;
3226
+ /** Label of the page-size menu of a Pagination. */
3227
+ paginationRowsPerPage: string;
3228
+ /** Accessible name of the Pagination button going to the first page. */
3229
+ paginationFirst: string;
3230
+ /** Accessible name of the Pagination button going to the previous page. */
3231
+ paginationPrevious: string;
3232
+ /** Accessible name of the Pagination button going to the next page. */
3233
+ paginationNext: string;
3234
+ /** Accessible name of the Pagination button going to the last page. */
3235
+ paginationLast: string;
3236
+ /** Accessible name of a page button of a Pagination. `{page}` is its number. */
3237
+ paginationPage: string;
3238
+ /** Accessible name of the DataGrid search field. */
3239
+ dataGridSearch: string;
3240
+ /** Placeholder of the DataGrid search field. */
3241
+ dataGridSearchPlaceholder: string;
3242
+ /** Shown in place of the rows of a DataGrid that has none. */
3243
+ dataGridNoData: string;
3244
+ /** Number of selected rows, above a DataGrid. `{count}` is that number. */
3245
+ dataGridSelectedCount: string;
3246
+ /** Accessible name of the checkbox of a DataGrid row. `{row}` is the key of the row. */
3247
+ dataGridSelectRow: string;
3248
+ /** Accessible name of the checkbox selecting every row of a DataGrid. */
3249
+ dataGridSelectAllRows: string;
3250
+ /** Accessible name of the button expanding a DataGrid row. */
3251
+ dataGridExpandRow: string;
3252
+ /** Accessible name of the button collapsing a DataGrid row. */
3253
+ dataGridCollapseRow: string;
3254
+ /** Accessible name and tooltip of the DataGrid column visibility button. */
3255
+ dataGridToggleColumns: string;
3256
+ /** Tooltip of a DataGrid export button. `{format}` is CSV or JSON. */
3257
+ dataGridExportAs: string;
3258
+ /** Accessible name of the filter button of a DataGrid column. `{column}` is the header of the column. */
3259
+ dataGridFilterColumn: string;
3260
+ /** Accessible name of the value field of a DataGrid column filter. `{column}` is the header of the column. */
3261
+ dataGridFilterValue: string;
3262
+ /** Placeholder of the value field of a DataGrid column filter. */
3263
+ dataGridFilterValuePlaceholder: string;
3264
+ /** Label of the button applying a DataGrid column filter. */
3265
+ dataGridFilterApply: string;
3266
+ /** Label of the button clearing a DataGrid column filter. */
3267
+ dataGridFilterClear: string;
3268
+ /** DataGrid filter operator: the cell contains the text. */
3269
+ dataGridOperatorContains: string;
3270
+ /** DataGrid filter operator: the cell equals the value. */
3271
+ dataGridOperatorEquals: string;
3272
+ /** DataGrid filter operator: the cell starts with the text. */
3273
+ dataGridOperatorStartsWith: string;
3274
+ /** DataGrid filter operator: the cell ends with the text. */
3275
+ dataGridOperatorEndsWith: string;
3276
+ /** DataGrid filter operator: the cell is empty. */
3277
+ dataGridOperatorIsEmpty: string;
3278
+ /** DataGrid filter operator: the cell is not empty. */
3279
+ dataGridOperatorIsNotEmpty: string;
3280
+ /** DataGrid filter operator: the number is greater than the value. */
3281
+ dataGridOperatorGreaterThan: string;
3282
+ /** DataGrid filter operator: the number is greater than or equal to the value. */
3283
+ dataGridOperatorGreaterOrEqual: string;
3284
+ /** DataGrid filter operator: the number is less than the value. */
3285
+ dataGridOperatorLessThan: string;
3286
+ /** DataGrid filter operator: the number is less than or equal to the value. */
3287
+ dataGridOperatorLessOrEqual: string;
3288
+ /** Tooltip of an editable DataGrid cell. */
3289
+ dataGridEditHint: string;
3290
+ /** Accessible name of the field editing a DataGrid cell. */
3291
+ dataGridEditCell: string;
3292
+ /** Footer of a DataGrid column aggregated as a sum. `{value}` is the result. */
3293
+ dataGridAggregateSum: string;
3294
+ /** Footer of a DataGrid column aggregated as an average. `{value}` is the result. */
3295
+ dataGridAggregateAvg: string;
3296
+ /** Footer of a DataGrid column aggregated as a minimum. `{value}` is the result. */
3297
+ dataGridAggregateMin: string;
3298
+ /** Footer of a DataGrid column aggregated as a maximum. `{value}` is the result. */
3299
+ dataGridAggregateMax: string;
3300
+ /** Number of rows under a DataGrid when there is exactly one. `{count}` is that number. */
3301
+ dataGridItemCount: string;
3302
+ /** Number of rows under a DataGrid when there is not exactly one. `{count}` is that number. */
3303
+ dataGridItemsCount: string;
3304
+ /** Label of the page-size menu of a DataGrid. */
3305
+ dataGridRowsPerPage: string;
3306
+ /** Position in the pages of a DataGrid. `{page}` is the current page, `{total}` the number of pages. */
3307
+ dataGridPageOf: string;
3308
+ /** Accessible name of the DataGrid button going to the first page. */
3309
+ dataGridFirstPage: string;
3310
+ /** Accessible name of the DataGrid button going to the previous page. */
3311
+ dataGridPreviousPage: string;
3312
+ /** Accessible name of the DataGrid button going to the next page. */
3313
+ dataGridNextPage: string;
3314
+ /** Accessible name of the DataGrid button going to the last page. */
3315
+ dataGridLastPage: string;
3316
+ /** What a FileSelector says it accepts when `accept` is not set. */
3317
+ fileSelectorAllFiles: string;
3318
+ /** Invitation of a FileSelector drop zone taking one file. */
3319
+ fileSelectorDropFile: string;
3320
+ /** Invitation of a FileSelector drop zone taking several files. */
3321
+ fileSelectorDropFiles: string;
3322
+ /** Invitation of a FileSelector drop zone taking a folder. */
3323
+ fileSelectorDropFolder: string;
3324
+ /** Invitation of a FileSelector drop zone taking files and folders. */
3325
+ fileSelectorDropFilesOrFolders: string;
3326
+ /** Link ending the invitation of a FileSelector drop zone taking files. */
3327
+ fileSelectorBrowse: string;
3328
+ /** Button opening the file picker of a FileSelector taking files and folders. */
3329
+ fileSelectorBrowseFiles: string;
3330
+ /** Link or button opening the folder picker of a FileSelector. */
3331
+ fileSelectorBrowseFolder: string;
3332
+ /** Accessible name of a FileSelector drop zone taking files and folders. */
3333
+ fileSelectorDropZone: string;
3334
+ /** What a FileSelector drop zone accepts. `{accept}` is the list of types, `{maxSize}` the largest size of a file. */
3335
+ fileSelectorConstraints: string;
3336
+ /** What a FileSelector drop zone accepts when `maxFiles` is set. `{accept}` is the list of types, `{maxSize}` the largest size of a file, `{maxFiles}` the number of files. */
3337
+ fileSelectorConstraintsMaxFiles: string;
3338
+ /** Reason handed to `onReject` by a FileSelector for a file that is too large. `{maxSize}` is the limit. */
3339
+ fileSelectorTooLarge: string;
3340
+ /** Reason handed to `onReject` by a FileSelector for a file of the wrong type. `{accept}` is the list of types. */
3341
+ fileSelectorTypeNotAccepted: string;
3342
+ /** Accessible name of the button removing a file from a FileSelector. `{name}` is the name of the file. */
3343
+ fileSelectorRemove: string;
3344
+ /** Label of the button removing every file from a FileSelector. */
3345
+ fileSelectorRemoveAll: string;
3346
+ /** Button of a FileSelector taking one file, when none is selected. */
3347
+ fileSelectorChooseFile: string;
3348
+ /** Button of a FileSelector taking one file, when one is selected. */
3349
+ fileSelectorChangeFile: string;
3350
+ /** Files button of a FileSelector taking files and folders, when nothing is selected. */
3351
+ fileSelectorChooseFiles: string;
3352
+ /** Files button of a FileSelector taking files and folders, when something is selected. */
3353
+ fileSelectorChangeFiles: string;
3354
+ /** Button of a FileSelector taking a folder, when none is selected. */
3355
+ fileSelectorChooseFolder: string;
3356
+ /** Button of a FileSelector taking a folder, when one is selected. */
3357
+ fileSelectorChangeFolder: string;
3358
+ /** Shown beside the button of a FileSelector taking files, when none is selected. */
3359
+ fileSelectorNoFile: string;
3360
+ /** Shown beside the button of a FileSelector taking a folder, when none is selected. */
3361
+ fileSelectorNoFolder: string;
3362
+ /** Shown beside the buttons of a FileSelector taking files and folders, when nothing is selected. */
3363
+ fileSelectorNoFileOrFolder: string;
3364
+ /** Shown beside the button of a FileSelector holding several files while its list is hidden. `{count}` is their number. */
3365
+ fileSelectorFilesSelected: string;
3366
+ /** Label of an ImageUploader that was given none. */
3367
+ imageUploaderLabel: string;
3368
+ /** Help line of an ImageUploader that was given none. `{formats}` is the list of formats, `{maxSize}` the largest size in megabytes. */
3369
+ imageUploaderHelp: string;
3370
+ /** Error shown by an ImageUploader for a file that is not an image. */
3371
+ imageUploaderNotImage: string;
3372
+ /** Error shown by an ImageUploader for a file that is too large. `{maxSize}` is the limit in megabytes. */
3373
+ imageUploaderTooLarge: string;
3374
+ /** Error shown by an ImageUploader when the file could not be read. */
3375
+ imageUploaderReadError: string;
3376
+ /** Error shown by an ImageUploader when `onUpload` fails without a message. */
3377
+ imageUploaderUploadError: string;
3378
+ /** Alternative text of the preview of an ImageUploader. */
3379
+ imageUploaderPreview: string;
3380
+ /** Tooltip of the button removing the image of an ImageUploader. */
3381
+ imageUploaderRemove: string;
3382
+ /** Accessible name of the file field of an ImageUploader. */
3383
+ imageUploaderChoose: string;
3384
+ /** Button of an ImageUploader that holds no image. */
3385
+ imageUploaderChooseButton: string;
3386
+ /** Button of an ImageUploader that holds an image. */
3387
+ imageUploaderChangeButton: string;
3388
+ /** Button of an ImageUploader while the image is being sent. */
3389
+ imageUploaderUploading: string;
3390
+ /** Label of the URL field of an ImageUploader. */
3391
+ imageUploaderUrlLabel: string;
3392
+ /** Accessible name of the HelpButton. */
3393
+ helpButtonShow: string;
3394
+ /** Tooltip of the HelpButton button opening the editor. */
3395
+ helpButtonEdit: string;
3396
+ /** Tooltip of the HelpButton button saving the content. */
3397
+ helpButtonSave: string;
3398
+ /** Tooltip of the HelpButton button leaving the editor. */
3399
+ helpButtonCancel: string;
3400
+ /** Tooltip of the HelpButton button resetting the content. */
3401
+ helpButtonReset: string;
3402
+ /** Accessible name of the plain-text editor of a HelpButton. */
3403
+ helpButtonContent: string;
3404
+ /** Placeholder of the plain-text editor of a HelpButton. */
3405
+ helpButtonContentPlaceholder: string;
3406
+ /** Error shown by a HelpButton saved without `onSave`. */
3407
+ helpButtonNoSave: string;
3408
+ /** Shown by a HelpButton once its content is saved. */
3409
+ helpButtonSaved: string;
3410
+ /** Error shown by a HelpButton whose content could not be saved. */
3411
+ helpButtonSaveError: string;
3412
+ /** Question asked by a HelpButton before it resets its content. */
3413
+ helpButtonResetConfirm: string;
3414
+ /** Shown by a HelpButton once its content is reset. */
3415
+ helpButtonResetDone: string;
3416
+ /** Error shown by a HelpButton whose content could not be reset. */
3417
+ helpButtonResetError: string;
3418
+ /** Placeholder of a MarkdownEditor that was given none. */
3419
+ markdownEditorPlaceholder: string;
3420
+ /** Tooltip and accessible name of the zoom-in button of WorkflowEditor and SchemaEditor. */
3421
+ editorZoomIn: string;
3422
+ /** Tooltip and accessible name of the zoom-out button of WorkflowEditor and SchemaEditor. */
3423
+ editorZoomOut: string;
3424
+ /** Tooltip and accessible name of the button resetting the view of WorkflowEditor and SchemaEditor. */
3425
+ editorResetView: string;
3426
+ /** Tooltip and accessible name of the button fitting the view of WorkflowEditor and SchemaEditor to their content. */
3427
+ editorFitToContent: string;
3428
+ /** Tooltip and accessible name of the JSON export button of WorkflowEditor and SchemaEditor. */
3429
+ editorExportJson: string;
3430
+ /** Tooltip and accessible name of the JSON import button of WorkflowEditor and SchemaEditor. */
3431
+ editorImportJson: string;
3432
+ /** Label of the button confirming the import dialog of WorkflowEditor and SchemaEditor. */
3433
+ editorImport: string;
3434
+ /** Label of the button closing an export dialog of WorkflowEditor and SchemaEditor. */
3435
+ editorClose: string;
3436
+ /** Tooltip and accessible name of the WorkflowEditor button laying the workflow out vertically. */
3437
+ workflowEditorSwitchToVertical: string;
3438
+ /** Tooltip and accessible name of the WorkflowEditor button laying the workflow out horizontally. */
3439
+ workflowEditorSwitchToHorizontal: string;
3440
+ /** Title of the export dialog of a WorkflowEditor. */
3441
+ workflowEditorExportTitle: string;
3442
+ /** Description of the export dialog of a WorkflowEditor. */
3443
+ workflowEditorExportDescription: string;
3444
+ /** Title of the import dialog of a WorkflowEditor. */
3445
+ workflowEditorImportTitle: string;
3446
+ /** Description of the import dialog of a WorkflowEditor. */
3447
+ workflowEditorImportDescription: string;
3448
+ /** Label of the JSON field in the dialogs of a WorkflowEditor. */
3449
+ workflowEditorJsonField: string;
3450
+ /** Tooltip and accessible name of the SchemaEditor button adding a table. */
3451
+ schemaEditorAddTable: string;
3452
+ /** Tooltip and accessible name of the SQL export button of a SchemaEditor, and title of its dialog. */
3453
+ schemaEditorExportSql: string;
3454
+ /** Accessible name of the undo button of a SchemaEditor. */
3455
+ schemaEditorUndo: string;
3456
+ /** Tooltip of the undo button of a SchemaEditor. */
3457
+ schemaEditorUndoTooltip: string;
3458
+ /** Accessible name of the redo button of a SchemaEditor. */
3459
+ schemaEditorRedo: string;
3460
+ /** Tooltip of the redo button of a SchemaEditor. */
3461
+ schemaEditorRedoTooltip: string;
3462
+ /** Tooltip and accessible name of the SchemaEditor button arranging the tables. */
3463
+ schemaEditorAutoLayout: string;
3464
+ /** Title of the JSON export dialog of a SchemaEditor. */
3465
+ schemaEditorExportTitle: string;
3466
+ /** Description of the JSON export dialog of a SchemaEditor. */
3467
+ schemaEditorExportDescription: string;
3468
+ /** Title of the import dialog of a SchemaEditor. */
3469
+ schemaEditorImportTitle: string;
3470
+ /** Description of the import dialog of a SchemaEditor. */
3471
+ schemaEditorImportDescription: string;
3472
+ /** Label of the JSON field in the dialogs of a SchemaEditor. */
3473
+ schemaEditorJsonField: string;
3474
+ /** Description of the SQL export dialog of a SchemaEditor. */
3475
+ schemaEditorSqlDescription: string;
3476
+ /** Accessible name of the name field of a SchemaEditor table. */
3477
+ schemaEditorTableName: string;
3478
+ /** Accessible name of the button expanding a SchemaEditor table. */
3479
+ schemaEditorExpandTable: string;
3480
+ /** Accessible name of the button collapsing a SchemaEditor table. */
3481
+ schemaEditorCollapseTable: string;
3482
+ /** Accessible name of the notes field of a SchemaEditor table. */
3483
+ schemaEditorTableNotes: string;
3484
+ /** Placeholder of the notes field of a SchemaEditor table. */
3485
+ schemaEditorNotesPlaceholder: string;
3486
+ /** Accessible name of the name field of a SchemaEditor column. */
3487
+ schemaEditorFieldName: string;
3488
+ /** Label of the button adding a column to a SchemaEditor table. */
3489
+ schemaEditorAddField: string;
3490
+ /** Tooltip of the button removing a column from a SchemaEditor table. */
3491
+ schemaEditorRemoveField: string;
3492
+ /** Tooltip of the default value of a SchemaEditor column. `{value}` is that value. */
3493
+ schemaEditorDefaultValue: string;
3494
+ /** Accessible name of the default-value field of a SchemaEditor column. `{field}` is the name of the column. */
3495
+ schemaEditorDefaultValueFor: string;
3496
+ /** Tooltip of the button giving a SchemaEditor column a default value. */
3497
+ schemaEditorSetDefaultValue: string;
3498
+ /** Tooltip of a nullable SchemaEditor column, and its entry in the legend. */
3499
+ schemaEditorNullable: string;
3500
+ /** Tooltip of a SchemaEditor column that is not nullable. */
3501
+ schemaEditorNotNullable: string;
3502
+ /** Legend entry of the primary-key icon of a SchemaEditor. */
3503
+ schemaEditorPrimaryKey: string;
3504
+ /** Tooltip and accessible name of the button making a SchemaEditor column the primary key. */
3505
+ schemaEditorSetPrimaryKey: string;
3506
+ /** Tooltip of the primary-key icon of an editable SchemaEditor column. */
3507
+ schemaEditorRemovePrimaryKey: string;
3508
+ /** Legend entry of the foreign-key icon of a SchemaEditor. */
3509
+ schemaEditorForeignKey: string;
3510
+ /** Legend entry of the index icon of a SchemaEditor. */
3511
+ schemaEditorIndex: string;
3512
+ /** Tooltip of the button indexing a SchemaEditor column. */
3513
+ schemaEditorAddIndex: string;
3514
+ /** Tooltip of the index button of an indexed SchemaEditor column. */
3515
+ schemaEditorRemoveIndex: string;
3516
+ /** Legend entry of the unique-constraint icon of a SchemaEditor. */
3517
+ schemaEditorUnique: string;
3518
+ /** Tooltip of the button making a SchemaEditor column unique. */
3519
+ schemaEditorAddUnique: string;
3520
+ /** Tooltip of the unique button of a unique SchemaEditor column. */
3521
+ schemaEditorRemoveUnique: string;
3522
+ }
3523
+ /** English labels, used when no provider is mounted. */
3524
+ declare const defaultUILabels: UILabels;
3525
+ /** Ready-to-use French translation. */
3526
+ declare const frenchUILabels: UILabels;
3527
+ /**
3528
+ * The labels of one component, all optional: the keys of `UILabels` starting
3529
+ * with its prefix.
3530
+ *
3531
+ * It is the type of the `labels` prop of the components that render more than
3532
+ * three strings — `UILabelsOf<"dataGrid">` — and takes the very keys the
3533
+ * provider does, so a label is written the same way for one instance and for
3534
+ * the whole application.
3535
+ */
3536
+ type UILabelsOf<Prefix extends string> = Partial<Pick<UILabels, Extract<keyof UILabels, `${Prefix}${string}`>>>;
3537
+ /**
3538
+ * Fills the `{name}` placeholders of a label.
3539
+ *
3540
+ * Labels stay plain strings, so that a set of them can be written in JSON and
3541
+ * overridden one by one; what varies is written as a placeholder and filled
3542
+ * in where the label is rendered.
3543
+ *
3544
+ * ```ts
3545
+ * formatUILabel("Page {page} of {total}", { page: 2, total: 9 }); // "Page 2 of 9"
3546
+ * ```
3547
+ *
3548
+ * A placeholder with no matching value is left as written, which shows the
3549
+ * mistake instead of hiding it.
3550
+ */
3551
+ declare function formatUILabel(template: string, values: Record<string, string | number>): string;
3552
+
3553
+ interface UILabelsProviderProps {
3554
+ /** Partial overrides merged over the labels inherited from the parent provider. */
3555
+ labels?: Partial<UILabels>;
3556
+ children: ReactNode;
3557
+ }
3558
+ /**
3559
+ * Translates the strings built into the library.
3560
+ *
3561
+ * ```tsx
3562
+ * <UILabelsProvider labels={locale === "fr" ? frenchUILabels : defaultUILabels}>
3563
+ * <App />
3564
+ * </UILabelsProvider>
3565
+ * ```
3566
+ *
3567
+ * Providers can be nested: a subtree only needs to override what differs.
3568
+ */
3569
+ declare function UILabelsProvider({ labels, children }: UILabelsProviderProps): react_jsx_runtime.JSX.Element;
3570
+ /**
3571
+ * Reads the current labels (English defaults when no provider is mounted).
3572
+ *
3573
+ * `overrides` is the `labels` prop of one instance, laid over what the
3574
+ * provider gives: the prop first, then the provider, then the English
3575
+ * default. An entry left `undefined` overrides nothing.
3576
+ */
3577
+ declare function useUILabels(overrides?: Partial<UILabels>): UILabels;
3578
+
2945
3579
  type SortDirection = "asc" | "desc" | null;
2946
3580
  interface SortState {
2947
3581
  key: string;
@@ -2959,6 +3593,10 @@ type Density = "compact" | "default" | "comfortable";
2959
3593
  type SelectionMode = "single" | "multiple";
2960
3594
  type DataGridMode = "client" | "server";
2961
3595
  interface PaginationConfig {
3596
+ /**
3597
+ * Rows per page the grid starts with. The size selector changes it from
3598
+ * there; passing another value later sets it again.
3599
+ */
2962
3600
  pageSize?: number;
2963
3601
  pageSizeOptions?: number[];
2964
3602
  showPageSizeSelector?: boolean;
@@ -3017,7 +3655,13 @@ interface DataGridProps<T = unknown> {
3017
3655
  columns: ColumnDef<T>[];
3018
3656
  /** Data array */
3019
3657
  data: T[];
3020
- /** Unique key extractor for rows */
3658
+ /**
3659
+ * Unique key extractor for rows. Selection, expansion and edits are held by
3660
+ * this key, so a row keeps them wherever sorting, filtering and paging put
3661
+ * it. Without it a row is known by its position in `data`: enough while
3662
+ * `data` keeps its order, wrong as soon as it is refetched or paged by a
3663
+ * server. The function receives that position as `index`.
3664
+ */
3021
3665
  rowKey?: string | ((row: T, index: number) => string);
3022
3666
  /** Data processing mode */
3023
3667
  mode?: DataGridMode;
@@ -3075,7 +3719,12 @@ interface DataGridProps<T = unknown> {
3075
3719
  onCellEdit?: (rowKey: string, columnKey: string, value: unknown) => void;
3076
3720
  /** Enable row drag & drop reorder */
3077
3721
  reorderable?: boolean;
3078
- /** Reorder callback */
3722
+ /**
3723
+ * Reorder callback. Both indices are positions in `data`, not on screen, so
3724
+ * they stay right on any page and under a filter. Rows cannot be dragged
3725
+ * while the grid sorts them itself: the row would jump back to where the
3726
+ * sort puts it.
3727
+ */
3079
3728
  onReorder?: (fromIndex: number, toIndex: number) => void;
3080
3729
  /** Enable column drag & drop reorder */
3081
3730
  columnReorderable?: boolean;
@@ -3097,6 +3746,14 @@ interface DataGridProps<T = unknown> {
3097
3746
  exportFormats?: ("csv" | "json")[];
3098
3747
  /** Custom export filename */
3099
3748
  exportFilename?: string;
3749
+ /**
3750
+ * Keeps a cell from running as a formula in the exported CSV. A file is
3751
+ * opened by someone other than whoever typed its values: text starting with
3752
+ * `=`, `+`, `-` or `@` is written with an apostrophe in front, so a
3753
+ * spreadsheet shows it instead of computing it. Numbers are never touched.
3754
+ * On unless it is `false`; the JSON file is not concerned.
3755
+ */
3756
+ exportNeutralizeFormulas?: boolean;
3100
3757
  /** Enable virtual scrolling for large datasets */
3101
3758
  virtualized?: boolean;
3102
3759
  /** Row height for virtualization (px) */
@@ -3121,6 +3778,12 @@ interface DataGridProps<T = unknown> {
3121
3778
  loadingRows?: number;
3122
3779
  /** Custom empty state */
3123
3780
  emptyState?: ReactNode;
3781
+ /**
3782
+ * The strings the grid writes itself, for this instance: any `dataGrid…` key
3783
+ * of `UILabels`. Wins over `UILabelsProvider`; `searchPlaceholder` and
3784
+ * `emptyState` win over both.
3785
+ */
3786
+ labels?: UILabelsOf<"dataGrid">;
3124
3787
  /** Show footer with aggregates */
3125
3788
  showFooter?: boolean;
3126
3789
  /** Row click callback */
@@ -3145,7 +3808,7 @@ interface DataGridRef {
3145
3808
  resetFilters: () => void;
3146
3809
  /** Reset sort state */
3147
3810
  resetSort: () => void;
3148
- /** Select all visible rows */
3811
+ /** Select all visible rows, on top of what is selected on other pages */
3149
3812
  selectAll: () => void;
3150
3813
  /** Deselect all rows */
3151
3814
  deselectAll: () => void;
@@ -3177,12 +3840,14 @@ interface ChipProps extends Omit<ComponentPropsWithoutRef<"span">, "color"> {
3177
3840
  avatar?: ReactNode;
3178
3841
  onClose?: () => void;
3179
3842
  closable?: boolean;
3843
+ /** Accessible name of the remove button. Defaults to the `chipRemove` label. */
3844
+ removeLabel?: string;
3180
3845
  clickable?: boolean;
3181
3846
  selected?: boolean;
3182
3847
  disabled?: boolean;
3183
3848
  as?: "span" | "div" | "button";
3184
3849
  }
3185
- declare function Chip({ label, children, variant, size, color, bgColor, textColor, borderColor, rounded, icon, endIcon, avatar, onClose, closable, clickable, selected, disabled, as, className, onClick, ...props }: ChipProps): react_jsx_runtime.JSX.Element;
3850
+ declare function Chip({ label, children, variant, size, color, bgColor, textColor, borderColor, rounded, icon, endIcon, avatar, onClose, closable, removeLabel, clickable, selected, disabled, as, className, onClick, ...props }: ChipProps): react_jsx_runtime.JSX.Element;
3186
3851
  declare namespace Chip {
3187
3852
  var displayName: string;
3188
3853
  }
@@ -3410,13 +4075,20 @@ interface FileSelectorProps {
3410
4075
  onChange?: (files: File[]) => void;
3411
4076
  /** Accepted file types (MIME types or extensions, e.g. "image/*,.pdf,.docx") */
3412
4077
  accept?: string;
3413
- /** Allow multiple file selection */
4078
+ /**
4079
+ * Allow several files to be selected. Only `mode="file"` can mean a single
4080
+ * one: a folder is a list of files, so `directory` and `both` always keep
4081
+ * every file they are given
4082
+ */
3414
4083
  multiple?: boolean;
3415
4084
  /** Maximum file size in bytes (default: 10MB) */
3416
4085
  maxSize?: number;
3417
- /** Maximum number of files (only when multiple=true) */
4086
+ /** Maximum number of files, wherever several can be selected */
3418
4087
  maxFiles?: number;
3419
- /** Selection mode: file only, directory only, or both */
4088
+ /**
4089
+ * Selection mode: file only, directory only, or both. A directory is handed
4090
+ * to `onChange` as all the files it holds, whatever `multiple` says
4091
+ */
3420
4092
  mode?: "file" | "directory" | "both";
3421
4093
  /** Visual variant */
3422
4094
  variant?: "dropzone" | "button";
@@ -3440,6 +4112,13 @@ interface FileSelectorProps {
3440
4112
  browseLabel?: string;
3441
4113
  /** Custom text for the browse folder button (used in "directory" and "both" modes) */
3442
4114
  browseFolderLabel?: string;
4115
+ /**
4116
+ * The strings the selector writes itself, for this instance: any
4117
+ * `fileSelector…` key of `UILabels`, the reasons handed to `onReject`
4118
+ * included. Wins over `UILabelsProvider`; `placeholder`, `browseLabel` and
4119
+ * `browseFolderLabel` win over both.
4120
+ */
4121
+ labels?: UILabelsOf<"fileSelector">;
3443
4122
  /** Custom icon for the dropzone */
3444
4123
  icon?: ReactNode;
3445
4124
  /** Callback when a file is rejected (size, type, etc.) */
@@ -3447,7 +4126,7 @@ interface FileSelectorProps {
3447
4126
  /** Additional class names */
3448
4127
  className?: string;
3449
4128
  }
3450
- declare function FileSelector({ value, onChange, accept, multiple, maxSize, maxFiles, mode, variant, size, disabled, readOnly, label, helperText, error, showFileList, placeholder, browseLabel, browseFolderLabel, icon, onReject, className, }: FileSelectorProps): react_jsx_runtime.JSX.Element;
4129
+ declare function FileSelector({ value, onChange, accept, multiple, maxSize, maxFiles, mode, variant, size, disabled, readOnly, label, helperText, error, showFileList, placeholder, browseLabel, browseFolderLabel, labels: labelsProp, icon, onReject, className, }: FileSelectorProps): react_jsx_runtime.JSX.Element;
3451
4130
 
3452
4131
  type Side$1 = "top" | "right" | "bottom" | "left";
3453
4132
  type Align$1 = "start" | "center" | "end";
@@ -3474,10 +4153,21 @@ interface DropdownContextValue {
3474
4153
  closeOnClickOutside: boolean;
3475
4154
  closeOnEscape: boolean;
3476
4155
  modal: boolean;
4156
+ /**
4157
+ * @deprecated Always `-1`. The item a key lands on is the one that has the
4158
+ * focus: read `document.activeElement`.
4159
+ */
3477
4160
  focusedIndex: number;
4161
+ /** @deprecated Does nothing. Move the focus to the item instead. */
3478
4162
  setFocusedIndex: Dispatch<SetStateAction<number>>;
4163
+ /** @deprecated Always empty. The menu reads its items from the document. */
3479
4164
  itemsRef: RefObject<(HTMLElement | null)[]>;
4165
+ /**
4166
+ * @deprecated Does nothing. An element with a `menuitem` role inside the
4167
+ * menu is reached by the arrow keys without being registered.
4168
+ */
3480
4169
  registerItem: (index: number, element: HTMLElement | null) => void;
4170
+ /** @deprecated Kept for custom items written against the counter; unused. */
3481
4171
  getNextItemIndex: () => number;
3482
4172
  triggerId: string;
3483
4173
  contentId: string;
@@ -3529,9 +4219,13 @@ interface DropdownItemProps extends Omit<ComponentPropsWithoutRef<"button">, "ch
3529
4219
  closeOnSelect?: boolean;
3530
4220
  onSelect?: () => void;
3531
4221
  disabled?: boolean;
4222
+ /**
4223
+ * @deprecated Ignored. The arrow keys follow the order of the items on
4224
+ * screen, read from the document when a key is pressed.
4225
+ */
3532
4226
  index?: number;
3533
4227
  }
3534
- declare function DropdownItem({ children, icon, iconPosition, description, shortcut, variant, closeOnSelect: closeOnSelectProp, onSelect, disabled, className, onClick, index: providedIndex, ...rest }: DropdownItemProps): react_jsx_runtime.JSX.Element;
4228
+ declare function DropdownItem({ children, icon, iconPosition, description, shortcut, variant, closeOnSelect: closeOnSelectProp, onSelect, disabled, className, onClick, index: _index, ...rest }: DropdownItemProps): react_jsx_runtime.JSX.Element;
3535
4229
  declare namespace DropdownItem {
3536
4230
  var displayName: string;
3537
4231
  }
@@ -3562,9 +4256,13 @@ interface DropdownCheckboxItemProps {
3562
4256
  disabled?: boolean;
3563
4257
  closeOnChange?: boolean;
3564
4258
  className?: string;
4259
+ /**
4260
+ * @deprecated Ignored. The arrow keys follow the order of the items on
4261
+ * screen, read from the document when a key is pressed.
4262
+ */
3565
4263
  index?: number;
3566
4264
  }
3567
- declare function DropdownCheckboxItem({ checked: controlledChecked, defaultChecked, onCheckedChange, children, icon, description, disabled, closeOnChange, className, index: providedIndex, }: DropdownCheckboxItemProps): react_jsx_runtime.JSX.Element;
4265
+ declare function DropdownCheckboxItem({ checked: controlledChecked, defaultChecked, onCheckedChange, children, icon, description, disabled, closeOnChange, className, }: DropdownCheckboxItemProps): react_jsx_runtime.JSX.Element;
3568
4266
  declare namespace DropdownCheckboxItem {
3569
4267
  var displayName: string;
3570
4268
  }
@@ -3588,9 +4286,13 @@ interface DropdownRadioItemProps {
3588
4286
  disabled?: boolean;
3589
4287
  closeOnChange?: boolean;
3590
4288
  className?: string;
4289
+ /**
4290
+ * @deprecated Ignored. The arrow keys follow the order of the items on
4291
+ * screen, read from the document when a key is pressed.
4292
+ */
3591
4293
  index?: number;
3592
4294
  }
3593
- declare function DropdownRadioItem({ value, children, icon, description, disabled, closeOnChange, className, index: providedIndex, }: DropdownRadioItemProps): react_jsx_runtime.JSX.Element;
4295
+ declare function DropdownRadioItem({ value, children, icon, description, disabled, closeOnChange, className, }: DropdownRadioItemProps): react_jsx_runtime.JSX.Element;
3594
4296
  declare namespace DropdownRadioItem {
3595
4297
  var displayName: string;
3596
4298
  }
@@ -3607,9 +4309,13 @@ interface DropdownSubMenuTriggerProps {
3607
4309
  icon?: ReactNode;
3608
4310
  disabled?: boolean;
3609
4311
  className?: string;
4312
+ /**
4313
+ * @deprecated Ignored. The arrow keys follow the order of the items on
4314
+ * screen, read from the document when a key is pressed.
4315
+ */
3610
4316
  index?: number;
3611
4317
  }
3612
- declare function DropdownSubMenuTrigger({ children, icon, disabled, className, index: providedIndex, }: DropdownSubMenuTriggerProps): react_jsx_runtime.JSX.Element;
4318
+ declare function DropdownSubMenuTrigger({ children, icon, disabled, className, }: DropdownSubMenuTriggerProps): react_jsx_runtime.JSX.Element;
3613
4319
  declare namespace DropdownSubMenuTrigger {
3614
4320
  var displayName: string;
3615
4321
  }
@@ -3623,7 +4329,14 @@ declare namespace DropdownSubMenuContent {
3623
4329
  var displayName: string;
3624
4330
  }
3625
4331
 
3626
- declare function useClickOutside(ref: RefObject<HTMLElement | null>, handler: () => void, enabled?: boolean): void;
4332
+ interface UseClickOutsideOptions {
4333
+ /**
4334
+ * Says that a press landed inside although it is not in `ref`: on the
4335
+ * trigger, which closes its menu itself, or in a layer portalled next to it.
4336
+ */
4337
+ isInside?: (target: Node) => boolean;
4338
+ }
4339
+ declare function useClickOutside(ref: RefObject<HTMLElement | null>, handler: () => void, enabled?: boolean, options?: UseClickOutsideOptions): void;
3627
4340
 
3628
4341
  interface UseKeyboardNavigationOptions {
3629
4342
  isOpen: boolean;
@@ -3723,6 +4436,8 @@ interface MentionInputProps extends InputStyleProps {
3723
4436
  onChange?: (value: MentionInputValue) => void;
3724
4437
  placeholder?: string;
3725
4438
  loading?: boolean;
4439
+ /** Shown in the suggestion list while `loading` is set. Defaults to the `mentionInputLoading` label. */
4440
+ loadingLabel?: string;
3726
4441
  maxSuggestions?: number;
3727
4442
  chipVariant?: ChipVariant;
3728
4443
  chipColor?: ChipColor;
@@ -3786,10 +4501,12 @@ interface HeaderProps {
3786
4501
  showSearch?: boolean;
3787
4502
  onSearch?: (query: string) => void;
3788
4503
  searchPlaceholder?: string;
4504
+ /** Accessible name of the button opening the menu on a small screen. Defaults to the `headerToggleMenu` label. */
4505
+ menuLabel?: string;
3789
4506
  className?: string;
3790
4507
  containerClassName?: string;
3791
4508
  }
3792
- declare function Header({ logo, logoHref, onLogoClick, navItems, actions, rightContent, variant, size, backgroundColor, textColor, hoverColor, navItemTextColor, navItemHoverColor, navItemBgHover, navItemActiveColor, sticky, fixed, showSearch, onSearch, searchPlaceholder, className, containerClassName, }: HeaderProps): react_jsx_runtime.JSX.Element;
4509
+ declare function Header({ logo, logoHref, onLogoClick, navItems, actions, rightContent, variant, size, backgroundColor, textColor, hoverColor, navItemTextColor, navItemHoverColor, navItemBgHover, navItemActiveColor, sticky, fixed, showSearch, onSearch, searchPlaceholder: searchPlaceholderProp, menuLabel, className, containerClassName, }: HeaderProps): react_jsx_runtime.JSX.Element;
3793
4510
 
3794
4511
  interface HelpButtonProps {
3795
4512
  content: string | ReactNode;
@@ -3807,6 +4524,12 @@ interface HelpButtonProps {
3807
4524
  markdownEditor?: MarkdownEditorComponent;
3808
4525
  /** Shown in place of the editor when `markdownEditor` is missing. Defaults to the `UILabels` value. */
3809
4526
  markdownEditorUnavailableLabel?: string;
4527
+ /**
4528
+ * The strings the button writes itself, for this instance: any `helpButton…`
4529
+ * key of `UILabels`, and `markdownEditorPlaceholder`. Wins over
4530
+ * `UILabelsProvider`.
4531
+ */
4532
+ labels?: UILabelsOf<"helpButton" | "markdownEditor">;
3810
4533
  onSave?: (content: string) => Promise<boolean> | boolean;
3811
4534
  onReset?: () => Promise<boolean> | boolean;
3812
4535
  width?: "sm" | "md" | "lg" | "xl";
@@ -3815,8 +4538,8 @@ interface HelpButtonProps {
3815
4538
  interface WithHelpButtonProps extends HelpButtonProps {
3816
4539
  children: ReactNode;
3817
4540
  }
3818
- declare function HelpButton({ content, markdown, position, size, className, visible, editable, onSave, onReset, width, title, markdownEditor: MarkdownEditorView, markdownEditorUnavailableLabel }: HelpButtonProps): react_jsx_runtime.JSX.Element | null;
3819
- declare function WithHelpButton({ children, content, markdown, position, size, visible, editable, onSave, onReset, width, title, className, markdownEditor, markdownEditorUnavailableLabel }: WithHelpButtonProps): react_jsx_runtime.JSX.Element;
4541
+ declare function HelpButton({ content, markdown, position, size, className, visible, editable, onSave, onReset, width, title, markdownEditor: MarkdownEditorView, markdownEditorUnavailableLabel, labels: labelsProp, }: HelpButtonProps): react_jsx_runtime.JSX.Element | null;
4542
+ declare function WithHelpButton({ children, content, markdown, position, size, visible, editable, onSave, onReset, width, title, className, markdownEditor, markdownEditorUnavailableLabel, labels, }: WithHelpButtonProps): react_jsx_runtime.JSX.Element;
3820
4543
 
3821
4544
  interface ImageUploaderProps {
3822
4545
  value?: string;
@@ -3830,9 +4553,15 @@ interface ImageUploaderProps {
3830
4553
  className?: string;
3831
4554
  showUrlInput?: boolean;
3832
4555
  urlPlaceholder?: string;
4556
+ /**
4557
+ * The strings the uploader writes itself, for this instance: any
4558
+ * `imageUploader…` key of `UILabels`, its error messages included. Wins over
4559
+ * `UILabelsProvider`; `label` and `helpText` win over both.
4560
+ */
4561
+ labels?: UILabelsOf<"imageUploader">;
3833
4562
  aspectRatio?: "16/9" | "4/3" | "1/1" | "auto";
3834
4563
  }
3835
- declare function ImageUploader({ value, onChange, onUpload, label, maxSize, accept, helpText, disabled, className, showUrlInput, urlPlaceholder, aspectRatio }: ImageUploaderProps): react_jsx_runtime.JSX.Element;
4564
+ declare function ImageUploader({ value, onChange, onUpload, label: labelProp, maxSize, accept, helpText, disabled, className, showUrlInput, urlPlaceholder, labels: labelsProp, aspectRatio, }: ImageUploaderProps): react_jsx_runtime.JSX.Element;
3836
4565
 
3837
4566
  type IndicatorColor = "default" | "primary" | "success" | "warning" | "error" | "info" | "dark" | "purple" | "indigo" | "teal";
3838
4567
  type IndicatorSize = "xs" | "sm" | "md" | "lg" | "xl";
@@ -3871,7 +4600,19 @@ interface LabelProps extends HTMLAttributes<HTMLElement> {
3871
4600
  htmlFor?: string;
3872
4601
  required?: boolean;
3873
4602
  requiredIndicator?: ReactNode;
4603
+ /**
4604
+ * What a screen reader hears after a required label, in place of the
4605
+ * indicator. English by default (`labelRequired`): `Label` renders on the
4606
+ * server, so `UILabelsProvider` does not reach it — pass
4607
+ * `frenchUILabels.labelRequired`, or your own text.
4608
+ */
4609
+ requiredLabel?: string;
3874
4610
  optional?: boolean;
4611
+ /**
4612
+ * Hint shown after an optional label. English by default (`labelOptional`):
4613
+ * `Label` renders on the server, so `UILabelsProvider` does not reach it —
4614
+ * pass `frenchUILabels.labelOptional`, or your own text.
4615
+ */
3875
4616
  optionalText?: string;
3876
4617
  tooltip?: string;
3877
4618
  icon?: ReactNode;
@@ -3880,7 +4621,7 @@ interface LabelProps extends HTMLAttributes<HTMLElement> {
3880
4621
  truncate?: boolean;
3881
4622
  as?: "label" | "span" | "p";
3882
4623
  }
3883
- declare function Label({ children, size, color, variant, weight, textColor, required, requiredIndicator, optional, optionalText, tooltip, icon, endIcon, disabled, truncate, as, className, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
4624
+ declare function Label({ children, size, color, variant, weight, textColor, required, requiredIndicator, requiredLabel, optional, optionalText, tooltip, icon, endIcon, disabled, truncate, as, className, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
3884
4625
  declare namespace Label {
3885
4626
  var displayName: string;
3886
4627
  }
@@ -3934,6 +4675,12 @@ interface HeatmapProps extends Omit<ComponentPropsWithoutRef<"figure">, "childre
3934
4675
  description?: ReactNode;
3935
4676
  locale?: string;
3936
4677
  plotLabel?: string;
4678
+ /**
4679
+ * Called with the mark that was clicked.
4680
+ *
4681
+ * Enter and Space on the focused chart do the same for the mark the
4682
+ * keyboard is on.
4683
+ */
3937
4684
  onCellClick?: (cell: HeatmapCell) => void;
3938
4685
  }
3939
4686
  /** A cell, as the tooltip and the click handler see it. */
@@ -4115,12 +4862,17 @@ interface PaginationProps extends Omit<ComponentPropsWithoutRef<"nav">, "onChang
4115
4862
  siblings?: number;
4116
4863
  boundaries?: number;
4117
4864
  disabled?: boolean;
4865
+ /**
4866
+ * The strings the pagination writes itself, for this instance. `first`,
4867
+ * `previous`, `next` and `last` name the four navigation buttons; any
4868
+ * `pagination…` key of `UILabels` is taken too. Wins over `UILabelsProvider`.
4869
+ */
4118
4870
  labels?: {
4119
4871
  first?: string;
4120
4872
  previous?: string;
4121
4873
  next?: string;
4122
4874
  last?: string;
4123
- };
4875
+ } & UILabelsOf<"pagination">;
4124
4876
  totalItems?: number;
4125
4877
  pageSize?: number;
4126
4878
  pageSizeOptions?: number[];
@@ -4171,6 +4923,12 @@ interface PieChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "childr
4171
4923
  patterns?: boolean;
4172
4924
  locale?: string;
4173
4925
  plotLabel?: string;
4926
+ /**
4927
+ * Called with the mark that was clicked.
4928
+ *
4929
+ * Enter and Space on the focused chart do the same for the mark the
4930
+ * keyboard is on.
4931
+ */
4174
4932
  onSliceClick?: (slice: {
4175
4933
  key: string;
4176
4934
  label: string;
@@ -4262,6 +5020,12 @@ interface SelectProps {
4262
5020
  error?: string;
4263
5021
  required?: boolean;
4264
5022
  noOptionsText?: string;
5023
+ /** Accessible name of the button clearing the value. Defaults to the `selectClear` label. */
5024
+ clearLabel?: string;
5025
+ /** Accessible name of the search field. Defaults to the `selectSearch` label. */
5026
+ searchLabel?: string;
5027
+ /** Placeholder of the search field. Defaults to the `selectSearchPlaceholder` label. */
5028
+ searchPlaceholder?: string;
4265
5029
  onSearchChange?: (query: string) => void;
4266
5030
  name?: string;
4267
5031
  className?: string;
@@ -4269,7 +5033,7 @@ interface SelectProps {
4269
5033
  contentClassName?: string;
4270
5034
  maxHeight?: number;
4271
5035
  }
4272
- declare function Select({ options, value, defaultValue, onValueChange, searchable, clearable, disabled, readOnly, loading, size, variant, placeholder, label, description, helperText, error, required, noOptionsText, onSearchChange, name, className, triggerClassName, contentClassName, maxHeight, }: SelectProps): react_jsx_runtime.JSX.Element;
5036
+ declare function Select({ options, value, defaultValue, onValueChange, searchable, clearable, disabled, readOnly, loading, size, variant, placeholder: placeholderProp, label, description, helperText, error, required, noOptionsText: noOptionsTextProp, clearLabel, searchLabel, searchPlaceholder, onSearchChange, name, className, triggerClassName, contentClassName, maxHeight, }: SelectProps): react_jsx_runtime.JSX.Element;
4273
5037
 
4274
5038
  type SidebarVariant = "default" | "bordered" | "floating";
4275
5039
  type SidebarPosition = "left" | "right";
@@ -4653,9 +5417,11 @@ interface ToastProps extends Omit<ComponentPropsWithoutRef<"div">, "type"> {
4653
5417
  action?: ReactNode;
4654
5418
  onClose?: () => void;
4655
5419
  closable?: boolean;
5420
+ /** Accessible name of the close button. Defaults to the `toastClose` label. */
5421
+ closeLabel?: string;
4656
5422
  duration?: number;
4657
5423
  }
4658
- declare function Toast({ children, title, description, type, variant, icon, action, onClose, closable, className, ...props }: ToastProps): react_jsx_runtime.JSX.Element;
5424
+ declare function Toast({ children, title, description, type, variant, icon, action, onClose, closable, closeLabel, className, ...props }: ToastProps): react_jsx_runtime.JSX.Element;
4659
5425
  declare namespace Toast {
4660
5426
  var displayName: string;
4661
5427
  }
@@ -4877,6 +5643,12 @@ type SchemaEditorProps = {
4877
5643
  toolbar?: boolean;
4878
5644
  legend?: boolean;
4879
5645
  autoFit?: boolean;
5646
+ /**
5647
+ * The strings the editor writes itself, for this instance: any
5648
+ * `schemaEditor…` key of `UILabels`, and the `editor…` keys its toolbar
5649
+ * shares with `WorkflowEditor`. Wins over `UILabelsProvider`.
5650
+ */
5651
+ labels?: UILabelsOf<"schemaEditor" | "editor">;
4880
5652
  className?: string;
4881
5653
  };
4882
5654
  type SchemaEditorRef = {
@@ -5017,6 +5789,12 @@ type WorkflowEditorProps<TData = unknown> = {
5017
5789
  showGrid?: boolean;
5018
5790
  toolbar?: boolean;
5019
5791
  autoFit?: boolean;
5792
+ /**
5793
+ * The strings the editor writes itself, for this instance: any
5794
+ * `workflowEditor…` key of `UILabels`, and the `editor…` keys its toolbar
5795
+ * shares with `SchemaEditor`. Wins over `UILabelsProvider`.
5796
+ */
5797
+ labels?: UILabelsOf<"workflowEditor" | "editor">;
5020
5798
  className?: string;
5021
5799
  };
5022
5800
  type WorkflowEditorRef = {
@@ -5125,8 +5903,10 @@ interface WizardStepsProps {
5125
5903
  hideConnector?: boolean;
5126
5904
  /** Hide step titles/descriptions (markers only) */
5127
5905
  hideLabels?: boolean;
5906
+ /** Hint after the title of an optional step. Defaults to the `wizardOptional` label. */
5907
+ optionalLabel?: string;
5128
5908
  }
5129
- declare function WizardSteps({ className, hideConnector, hideLabels, }: WizardStepsProps): react_jsx_runtime.JSX.Element;
5909
+ declare function WizardSteps({ className, hideConnector, hideLabels, optionalLabel: optionalLabelProp, }: WizardStepsProps): react_jsx_runtime.JSX.Element;
5130
5910
  declare namespace WizardSteps {
5131
5911
  var displayName: string;
5132
5912
  }
@@ -5189,152 +5969,6 @@ declare namespace WizardActions {
5189
5969
  */
5190
5970
  declare function cn(...classes: (string | undefined | null | false)[]): string;
5191
5971
 
5192
- /**
5193
- * Every user-facing string the library renders on its own (mostly the
5194
- * `aria-label` / `sr-only` text of built-in buttons).
5195
- *
5196
- * Each component also exposes a matching prop, so a label can be overridden
5197
- * globally (provider) or per instance (prop wins).
5198
- */
5199
- interface UILabels {
5200
- /** Accessible name of the Modal close button. */
5201
- closeModal: string;
5202
- /** Accessible name of the Drawer close button. */
5203
- closeDrawer: string;
5204
- /** Accessible name of the Sidebar close button (mobile). */
5205
- closeSidebar: string;
5206
- /** Accessible name of the Sidebar toggle when it opens the mobile drawer. */
5207
- openSidebar: string;
5208
- /** Accessible name of the Sidebar toggle when it expands a collapsed sidebar. */
5209
- expandSidebar: string;
5210
- /** Accessible name of the Sidebar toggle when it collapses the sidebar. */
5211
- collapseSidebar: string;
5212
- /** Accessible name of the mobile Sidebar dialog when no `aria-label` is given. */
5213
- sidebar: string;
5214
- /** Accessible name of the Modal "expand" button. */
5215
- enterFullScreen: string;
5216
- /** Accessible name of the Modal "collapse" button. */
5217
- exitFullScreen: string;
5218
- /** Default label of the Modal submit button. */
5219
- confirm: string;
5220
- /** Default label of the Modal cancel button. */
5221
- cancel: string;
5222
- /** Shown by `<HelpButton markdown editable>` when no `markdownEditor` is passed. */
5223
- markdownEditorUnavailable: string;
5224
- /** Accessible name of the button revealing a chart's data table. */
5225
- chartShowTable: string;
5226
- /** Accessible name of the button hiding a chart's data table. */
5227
- chartHideTable: string;
5228
- /** Shown in place of a chart that has no data to draw. */
5229
- chartNoData: string;
5230
- /** Accessible name of the spinner shown while a chart loads its first data. */
5231
- chartLoading: string;
5232
- /** Bucket the smallest slices of a pie chart are folded into. */
5233
- chartOther: string;
5234
- /** Header of the "reached" column of a bullet chart's data table. */
5235
- chartValue: string;
5236
- /** Header of the "aimed at" column of a bullet chart's data table. */
5237
- chartTarget: string;
5238
- /** Legend entry and tooltip row for a waterfall step that adds. */
5239
- chartIncrease: string;
5240
- /** Legend entry and tooltip row for a waterfall step that takes away. */
5241
- chartDecrease: string;
5242
- /** Header of the running-total column of a waterfall's data table. */
5243
- chartRunningTotal: string;
5244
- /** Header of the "kept from the previous stage" column of a funnel. */
5245
- chartConversion: string;
5246
- /** Header of the "lost since the previous stage" column of a funnel. */
5247
- chartDropOff: string;
5248
- /** Header of the gap column of a dumbbell chart's data table. */
5249
- chartChange: string;
5250
- /** Header of the median column of a box plot's data table. */
5251
- chartMedian: string;
5252
- /** Header of the observation-count column of a box plot's data table. */
5253
- chartCount: string;
5254
- /** Header of the outlier column of a box plot's data table. */
5255
- chartOutliers: string;
5256
- /** Header of the opening-price column of a candlestick's data table. */
5257
- chartOpen: string;
5258
- /** Header of the high column of a candlestick's data table. */
5259
- chartHigh: string;
5260
- /** Header of the low column of a candlestick's data table. */
5261
- chartLow: string;
5262
- /** Header of the closing-price column of a candlestick's data table. */
5263
- chartClose: string;
5264
- /** Legend entry for a candlestick session that closed up. */
5265
- chartRise: string;
5266
- /** Legend entry for a candlestick session that closed down. */
5267
- chartFall: string;
5268
- /** Header of the start column of a schedule's data table. */
5269
- chartStart: string;
5270
- /** Header of the end column of a schedule's data table. */
5271
- chartEnd: string;
5272
- /** Header of the completion column of a schedule's data table. */
5273
- chartProgress: string;
5274
- /** Name of the rule marking today on a schedule. */
5275
- chartToday: string;
5276
- /** Word the annotation captions are announced under in a chart's name. */
5277
- chartAnnotations: string;
5278
- /** Accessible name of the filter row above a set of charts. */
5279
- chartFilters: string;
5280
- /** Accessible name of the period picker, and its caption when nothing is set. */
5281
- chartPeriod: string;
5282
- chartPeriodLast7Days: string;
5283
- chartPeriodLast30Days: string;
5284
- chartPeriodLast90Days: string;
5285
- chartPeriodLast12Months: string;
5286
- chartPeriodMonthToDate: string;
5287
- chartPeriodQuarterToDate: string;
5288
- chartPeriodYearToDate: string;
5289
- /** Entry opening the calendar, for a window the presets do not cover. */
5290
- chartPeriodCustom: string;
5291
- /**
5292
- * Shown in place of a chart whose data could not be loaded.
5293
- *
5294
- * Distinct from `chartNoData` on purpose: "there is nothing" and "we failed
5295
- * to fetch it" are two different statements, and only the second one asks
5296
- * the reader to do something about it.
5297
- */
5298
- chartError: string;
5299
- /** Second line of a chart's error state, under `chartError`. */
5300
- chartErrorHint: string;
5301
- /** Label of the button that asks a failed chart to load again. */
5302
- chartRetry: string;
5303
- /** Accessible name of a chart's export control. */
5304
- chartExport: string;
5305
- /** Entry downloading a chart's data table as a CSV file. */
5306
- chartExportCsv: string;
5307
- /** Entry downloading a chart's data table as a JSON file. */
5308
- chartExportJson: string;
5309
- /** Accessible name of the range a pointer drags across a chart's category axis. */
5310
- chartBrush: string;
5311
- /** Accessible name of the button dropping the dragged range. */
5312
- chartClearSelection: string;
5313
- }
5314
- /** English labels, used when no provider is mounted. */
5315
- declare const defaultUILabels: UILabels;
5316
- /** Ready-to-use French translation. */
5317
- declare const frenchUILabels: UILabels;
5318
- interface UILabelsProviderProps {
5319
- /** Partial overrides merged over the labels inherited from the parent provider. */
5320
- labels?: Partial<UILabels>;
5321
- children: ReactNode;
5322
- }
5323
- /**
5324
- * Translates the strings built into the library.
5325
- *
5326
- * ```tsx
5327
- * <UILabelsProvider labels={locale === "fr" ? frenchUILabels : defaultUILabels}>
5328
- * <App />
5329
- * </UILabelsProvider>
5330
- * ```
5331
- *
5332
- * Providers can be nested: a subtree only needs to override what differs.
5333
- */
5334
- declare function UILabelsProvider({ labels, children }: UILabelsProviderProps): react_jsx_runtime.JSX.Element;
5335
- /** Reads the current labels (English defaults when no provider is mounted). */
5336
- declare function useUILabels(): UILabels;
5337
-
5338
5972
  /**
5339
5973
  * Makes everything outside of a dialog inert for both pointer and assistive
5340
5974
  * technology users.
@@ -5357,7 +5991,15 @@ declare const INERT_IGNORE_ATTRIBUTE = "data-synertech-inert-ignore";
5357
5991
  * @returns a function unregistering the layer.
5358
5992
  */
5359
5993
  declare function registerFloatingLayer(layer: Element, getOwner: () => Element | null): () => void;
5360
- /** Registered layers whose owner lives inside one of `targets`. */
5994
+ /**
5995
+ * Registered layers whose owner lives inside one of `targets`, or inside a
5996
+ * layer that does.
5997
+ *
5998
+ * Ownership is followed from layer to layer. The entry that opens a submenu
5999
+ * sits in its menu, and that menu is portalled next to the dialog, not inside
6000
+ * it: looked up one step only, the menu belonged to the dialog and its submenu
6001
+ * to nobody, so the submenu went inert with the page behind.
6002
+ */
5361
6003
  declare function findOwnedLayers(targets: Element[]): Element[];
5362
6004
  /**
5363
6005
  * Hides every element that is neither an ancestor nor a descendant of one of
@@ -5395,4 +6037,4 @@ declare function isFocusable(element: HTMLElement): boolean;
5395
6037
  */
5396
6038
  declare function getFocusableElements(container: HTMLElement): HTMLElement[];
5397
6039
 
5398
- 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, UILabelsProvider, type UILabelsProviderProps, type UseChartBrushOptions, type UseChartBrushResult, type UseChartSizeOptions, type UseChartSizeResult, 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, 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, useWizard };
6040
+ 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 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, useWizard };