@synertech/ui 0.45.0 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/skills/use-synertech-ui/SKILL.md +116 -18
- package/README.md +47 -5
- package/dist/components/area-chart/AreaChart.cjs +1 -1
- package/dist/components/area-chart/AreaChart.js +1 -1
- package/dist/components/avatar/Avatar.cjs +1 -1
- package/dist/components/avatar/Avatar.js +1 -1
- package/dist/components/banner/Banner.cjs +1 -1
- package/dist/components/banner/Banner.js +1 -1
- package/dist/components/bar-chart/BarChart.cjs +1 -1
- package/dist/components/bar-chart/BarChart.js +1 -1
- package/dist/components/box-plot/BoxPlot.cjs +1 -1
- package/dist/components/box-plot/BoxPlot.js +1 -1
- package/dist/components/breadcrumb/Breadcrumb.cjs +1 -1
- package/dist/components/breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/bullet-chart/BulletChart.cjs +1 -1
- package/dist/components/bullet-chart/BulletChart.js +1 -1
- package/dist/components/calendar/Calendar.cjs +1 -1
- package/dist/components/calendar/Calendar.js +1 -1
- package/dist/components/candlestick-chart/CandlestickChart.cjs +1 -1
- package/dist/components/candlestick-chart/CandlestickChart.js +1 -1
- package/dist/components/chart/ChartBrush.cjs +1 -1
- package/dist/components/chart/ChartBrush.js +1 -1
- package/dist/components/chart/ChartExportButton.cjs +1 -1
- package/dist/components/chart/ChartExportButton.js +1 -1
- package/dist/components/chart/ChartSync.cjs +1 -1
- package/dist/components/chart/ChartSync.js +1 -1
- package/dist/components/chart/utils/cartesian.cjs +1 -1
- package/dist/components/chart/utils/cartesian.js +1 -1
- package/dist/components/chart/utils/export.cjs +1 -2
- package/dist/components/chart/utils/export.js +1 -2
- package/dist/components/chart/utils/keyboard.cjs +1 -0
- package/dist/components/chart/utils/keyboard.js +1 -0
- package/dist/components/chart/utils/path.cjs +1 -1
- package/dist/components/chart/utils/path.js +1 -1
- package/dist/components/chart/utils/time.cjs +1 -1
- package/dist/components/chart/utils/time.js +1 -1
- package/dist/components/chart/utils/timestamp.cjs +1 -0
- package/dist/components/chart/utils/timestamp.js +1 -0
- package/dist/components/chart/utils/touch.cjs +1 -0
- package/dist/components/chart/utils/touch.js +1 -0
- package/dist/components/chip/Chip.cjs +1 -1
- package/dist/components/chip/Chip.js +1 -1
- package/dist/components/datagrid/DataGrid.cjs +1 -2
- package/dist/components/datagrid/DataGrid.js +1 -2
- package/dist/components/device-mockup/DeviceMockup.cjs +1 -1
- package/dist/components/device-mockup/DeviceMockup.js +1 -1
- package/dist/components/dropdown/Dropdown.cjs +1 -1
- package/dist/components/dropdown/Dropdown.js +1 -1
- package/dist/components/dropdown/DropdownCheckboxItem.cjs +1 -1
- package/dist/components/dropdown/DropdownCheckboxItem.js +1 -1
- package/dist/components/dropdown/DropdownContent.cjs +1 -1
- package/dist/components/dropdown/DropdownContent.js +1 -1
- package/dist/components/dropdown/DropdownItem.cjs +1 -1
- package/dist/components/dropdown/DropdownItem.js +1 -1
- package/dist/components/dropdown/DropdownRadio.cjs +1 -1
- package/dist/components/dropdown/DropdownRadio.js +1 -1
- package/dist/components/dropdown/DropdownSubMenu.cjs +1 -1
- package/dist/components/dropdown/DropdownSubMenu.js +1 -1
- package/dist/components/dropdown/hooks/index.cjs +1 -1
- package/dist/components/dropdown/hooks/index.js +1 -1
- package/dist/components/dropdown/hooks/useClickOutside.cjs +1 -1
- package/dist/components/dropdown/hooks/useClickOutside.js +1 -1
- package/dist/components/dropdown/index.cjs +1 -1
- package/dist/components/dropdown/index.js +1 -1
- package/dist/components/dropdown/menu-navigation.cjs +1 -0
- package/dist/components/dropdown/menu-navigation.js +1 -0
- package/dist/components/dumbbell-chart/DumbbellChart.cjs +1 -1
- package/dist/components/dumbbell-chart/DumbbellChart.js +1 -1
- package/dist/components/file-selector/FileSelector.cjs +1 -1
- package/dist/components/file-selector/FileSelector.js +1 -1
- package/dist/components/form/input/Input.cjs +1 -1
- package/dist/components/form/input/Input.js +1 -1
- package/dist/components/form/mention-input/MentionInput.cjs +1 -1
- package/dist/components/form/mention-input/MentionInput.js +1 -1
- package/dist/components/form/number-input/NumberInput.cjs +1 -1
- package/dist/components/form/number-input/NumberInput.js +1 -1
- package/dist/components/funnel-chart/FunnelChart.cjs +1 -1
- package/dist/components/funnel-chart/FunnelChart.js +1 -1
- package/dist/components/gantt-chart/GanttChart.cjs +1 -1
- package/dist/components/gantt-chart/GanttChart.js +1 -1
- package/dist/components/header/Header.cjs +1 -1
- package/dist/components/header/Header.js +1 -1
- package/dist/components/heat-map/Heatmap.cjs +1 -1
- package/dist/components/heat-map/Heatmap.js +1 -1
- package/dist/components/help-button/HelpButton.cjs +7 -7
- package/dist/components/help-button/HelpButton.js +7 -7
- package/dist/components/help-button/MarkdownEditor.cjs +1 -1
- package/dist/components/help-button/MarkdownEditor.js +1 -1
- package/dist/components/image-uploader/ImageUploader.cjs +1 -1
- package/dist/components/image-uploader/ImageUploader.js +1 -1
- package/dist/components/label/Label.cjs +1 -1
- package/dist/components/label/Label.js +1 -1
- package/dist/components/line-chart/LineChart.cjs +1 -1
- package/dist/components/line-chart/LineChart.js +1 -1
- package/dist/components/modal/Modal.cjs +1 -1
- package/dist/components/modal/Modal.js +1 -1
- package/dist/components/pagination/Pagination.cjs +1 -1
- package/dist/components/pagination/Pagination.js +1 -1
- package/dist/components/pie-chart/PieChart.cjs +1 -1
- package/dist/components/pie-chart/PieChart.js +1 -1
- package/dist/components/radio-button/RadioButton.cjs +1 -1
- package/dist/components/radio-button/RadioButton.js +1 -1
- package/dist/components/scatter-chart/ScatterChart.cjs +1 -1
- package/dist/components/scatter-chart/ScatterChart.js +1 -1
- package/dist/components/schema-editor/SchemaEditor.cjs +1 -1
- package/dist/components/schema-editor/SchemaEditor.js +1 -1
- package/dist/components/schema-editor/legend/SchemaLegend.cjs +1 -1
- package/dist/components/schema-editor/legend/SchemaLegend.js +1 -1
- package/dist/components/schema-editor/tables/SchemaTableRenderer.cjs +1 -1
- package/dist/components/schema-editor/tables/SchemaTableRenderer.js +1 -1
- package/dist/components/schema-editor/toolbar/SchemaToolbar.cjs +1 -1
- package/dist/components/schema-editor/toolbar/SchemaToolbar.js +1 -1
- package/dist/components/select/Select.cjs +1 -1
- package/dist/components/select/Select.js +1 -1
- package/dist/components/tabs/Tabs.cjs +1 -1
- package/dist/components/tabs/Tabs.js +1 -1
- package/dist/components/tabs/TabsContent.cjs +1 -1
- package/dist/components/tabs/TabsContent.js +1 -1
- package/dist/components/tabs/TabsContext.cjs +1 -1
- package/dist/components/tabs/TabsContext.js +1 -1
- package/dist/components/tabs/TabsList.cjs +1 -1
- package/dist/components/tabs/TabsList.js +1 -1
- package/dist/components/tabs/TabsTrigger.cjs +1 -1
- package/dist/components/tabs/TabsTrigger.js +1 -1
- package/dist/components/toast/Toast.cjs +1 -1
- package/dist/components/toast/Toast.js +1 -1
- package/dist/components/waterfall-chart/WaterfallChart.cjs +1 -1
- package/dist/components/waterfall-chart/WaterfallChart.js +1 -1
- package/dist/components/wizard/Wizard.cjs +1 -1
- package/dist/components/wizard/Wizard.js +1 -1
- package/dist/components/workflow-editor/WorkflowEditor.cjs +1 -1
- package/dist/components/workflow-editor/WorkflowEditor.js +1 -1
- package/dist/components/workflow-editor/toolbar/WorkflowToolbar.cjs +1 -1
- package/dist/components/workflow-editor/toolbar/WorkflowToolbar.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +830 -175
- package/dist/index.d.ts +830 -175
- package/dist/index.js +1 -1
- package/dist/lib/aria-hide.cjs +1 -1
- package/dist/lib/aria-hide.js +1 -1
- package/dist/lib/csv.cjs +2 -0
- package/dist/lib/csv.js +2 -0
- package/dist/lib/i18n.cjs +1 -1
- package/dist/lib/i18n.js +1 -1
- package/dist/lib/server-labels.cjs +1 -0
- package/dist/lib/server-labels.js +1 -0
- package/dist/lib/ui-labels.cjs +1 -0
- package/dist/lib/ui-labels.js +1 -0
- package/dist/styles.css +3070 -264
- package/package.json +14 -14
package/dist/index.d.ts
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";
|
|
@@ -637,6 +648,12 @@ interface CartesianGeometry {
|
|
|
637
648
|
* never carry — an annotation on the 14th of a weekly series.
|
|
638
649
|
*/
|
|
639
650
|
categoryScale: LinearScale | null;
|
|
651
|
+
/**
|
|
652
|
+
* Reads an x value as the number `categoryScale` places: a timestamp on a
|
|
653
|
+
* time axis, ISO strings included, and the value itself on a linear one.
|
|
654
|
+
* `NaN` when the value cannot be placed.
|
|
655
|
+
*/
|
|
656
|
+
toCategoryNumber: (value: ChartXValue) => number;
|
|
640
657
|
}
|
|
641
658
|
/**
|
|
642
659
|
* Everything a cartesian chart needs to place a mark, computed once.
|
|
@@ -662,7 +679,7 @@ declare function buildCartesianGeometry({ width, height, data, x, y, bounds, mar
|
|
|
662
679
|
* drawn without a clip path, and an out-of-window date would otherwise land in
|
|
663
680
|
* the axis gutter.
|
|
664
681
|
*/
|
|
665
|
-
declare function createCategoryLocator(geometry: Pick<CartesianGeometry, "categoryScale" | "xValues" | "categoryCenters" | "categoryLength">): (value: ChartXValue) => number | null;
|
|
682
|
+
declare function createCategoryLocator(geometry: Pick<CartesianGeometry, "categoryScale" | "xValues" | "categoryCenters" | "categoryLength" | "toCategoryNumber">): (value: ChartXValue) => number | null;
|
|
666
683
|
/**
|
|
667
684
|
* The resolved geometry of a plot, in the shape an application can draw with.
|
|
668
685
|
*
|
|
@@ -864,6 +881,8 @@ interface BannerProps extends Omit<ComponentPropsWithoutRef<"div">, "title"> {
|
|
|
864
881
|
icon?: ReactNode;
|
|
865
882
|
action?: ReactNode;
|
|
866
883
|
closable?: boolean;
|
|
884
|
+
/** Accessible name of the close button. Defaults to the `bannerClose` label. */
|
|
885
|
+
closeLabel?: string;
|
|
867
886
|
onClose?: () => void;
|
|
868
887
|
backgroundImage?: string;
|
|
869
888
|
badge?: string;
|
|
@@ -888,6 +907,13 @@ interface BreadcrumbProps extends ComponentPropsWithoutRef<"nav"> {
|
|
|
888
907
|
itemColor?: string;
|
|
889
908
|
activeColor?: string;
|
|
890
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;
|
|
891
917
|
}
|
|
892
918
|
declare function Breadcrumb({ items, separator, size, maxItems, itemColor, activeColor, separatorColor, className, ...props }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
893
919
|
|
|
@@ -935,6 +961,12 @@ interface BulletChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "chi
|
|
|
935
961
|
/** Header of the target column of the data table. */
|
|
936
962
|
targetLabel?: string;
|
|
937
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
|
+
*/
|
|
938
970
|
onRowClick?: (row: BulletRow) => void;
|
|
939
971
|
}
|
|
940
972
|
/** One measure, as the tooltip and the click handler see it. */
|
|
@@ -1301,6 +1333,12 @@ interface BoxPlotProps extends Omit<ComponentPropsWithoutRef<"figure">, "childre
|
|
|
1301
1333
|
locale?: string;
|
|
1302
1334
|
plotLabel?: string;
|
|
1303
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
|
+
*/
|
|
1304
1342
|
onBoxClick?: (box: BoxPlotBox) => void;
|
|
1305
1343
|
}
|
|
1306
1344
|
/**
|
|
@@ -1388,6 +1426,12 @@ interface CandlestickChartProps extends Omit<ComponentPropsWithoutRef<"figure">,
|
|
|
1388
1426
|
riseLabel?: string;
|
|
1389
1427
|
fallLabel?: string;
|
|
1390
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
|
+
*/
|
|
1391
1435
|
onCandleClick?: (candle: Candle) => void;
|
|
1392
1436
|
}
|
|
1393
1437
|
/**
|
|
@@ -1856,12 +1900,27 @@ interface ChartExportOptions {
|
|
|
1856
1900
|
* spreadsheet is going to compute on them, and `1 234,5 €` is a string.
|
|
1857
1901
|
*/
|
|
1858
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;
|
|
1859
1913
|
}
|
|
1860
1914
|
/** One exported row: the category, then one column per visible series. */
|
|
1861
1915
|
type ChartExportRow = Record<string, string | number | null>;
|
|
1862
1916
|
/** The chart's rows, in the shape a file wants: one object per row. */
|
|
1863
1917
|
declare function toChartRows({ data, series, xKey, xLabel, formatX, }: ChartExportOptions): ChartExportRow[];
|
|
1864
|
-
/**
|
|
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
|
+
*/
|
|
1865
1924
|
declare function toChartCsv(options: ChartExportOptions, delimiter?: string): string;
|
|
1866
1925
|
/** The chart's data table as a JSON document. */
|
|
1867
1926
|
declare function toChartJson(options: ChartExportOptions): string;
|
|
@@ -1916,7 +1975,7 @@ interface ChartExportButtonProps extends ChartExportOptions {
|
|
|
1916
1975
|
* The measurements are written raw, not formatted: whatever opens the file is
|
|
1917
1976
|
* going to compute on them.
|
|
1918
1977
|
*/
|
|
1919
|
-
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;
|
|
1920
1979
|
|
|
1921
1980
|
interface PathPoint {
|
|
1922
1981
|
x: number;
|
|
@@ -2468,6 +2527,15 @@ interface UseChartSizeResult<T extends HTMLElement> {
|
|
|
2468
2527
|
*/
|
|
2469
2528
|
declare function useChartSize<T extends HTMLElement = HTMLDivElement>(options?: UseChartSizeOptions): UseChartSizeResult<T>;
|
|
2470
2529
|
|
|
2530
|
+
/**
|
|
2531
|
+
* Turns a date, a timestamp or a parsable string into a timestamp.
|
|
2532
|
+
*
|
|
2533
|
+
* A string without a time — `2026-03-02`, `2026-03`, `2026` — is read as
|
|
2534
|
+
* midnight local time, like one with a time and no offset: the day the
|
|
2535
|
+
* string names is the day the reader sees, whatever their time zone.
|
|
2536
|
+
*/
|
|
2537
|
+
declare function toTimestamp(value: unknown): number | null;
|
|
2538
|
+
|
|
2471
2539
|
/**
|
|
2472
2540
|
* Ticks for an axis carrying dates.
|
|
2473
2541
|
*
|
|
@@ -2505,8 +2573,6 @@ declare function niceTimeTicks(min: number, max: number, count?: number): TimeTi
|
|
|
2505
2573
|
* reader has to filter out on every label.
|
|
2506
2574
|
*/
|
|
2507
2575
|
declare function formatTimeTick(value: number, unit: TimeUnit, locale?: string): string;
|
|
2508
|
-
/** Turns a date, a timestamp or a parsable string into a timestamp. */
|
|
2509
|
-
declare function toTimestamp(value: unknown): number | null;
|
|
2510
2576
|
|
|
2511
2577
|
/** Resets the series warning. Test helper. */
|
|
2512
2578
|
declare function resetDumbbellWarnings(): void;
|
|
@@ -2571,6 +2637,12 @@ interface DumbbellChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "c
|
|
|
2571
2637
|
/** Header of the change column of the data table. */
|
|
2572
2638
|
changeLabel?: string;
|
|
2573
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
|
+
*/
|
|
2574
2646
|
onRowClick?: (row: DumbbellRow) => void;
|
|
2575
2647
|
}
|
|
2576
2648
|
/**
|
|
@@ -2652,6 +2724,12 @@ interface FunnelChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "chi
|
|
|
2652
2724
|
/** Header of the step-to-step loss column. */
|
|
2653
2725
|
dropOffLabel?: string;
|
|
2654
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
|
+
*/
|
|
2655
2733
|
onStageClick?: (stage: FunnelStage) => void;
|
|
2656
2734
|
}
|
|
2657
2735
|
/**
|
|
@@ -2749,6 +2827,12 @@ interface GanttChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "chil
|
|
|
2749
2827
|
todayLabel?: string;
|
|
2750
2828
|
/** Formats a date in the tooltip and the data table. */
|
|
2751
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
|
+
*/
|
|
2752
2836
|
onTaskClick?: (task: GanttTask) => void;
|
|
2753
2837
|
}
|
|
2754
2838
|
/**
|
|
@@ -2850,6 +2934,12 @@ interface WaterfallChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "
|
|
|
2850
2934
|
increaseLabel?: string;
|
|
2851
2935
|
decreaseLabel?: string;
|
|
2852
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
|
+
*/
|
|
2853
2943
|
onStepClick?: (step: WaterfallStep) => void;
|
|
2854
2944
|
}
|
|
2855
2945
|
/**
|
|
@@ -2929,6 +3019,563 @@ declare const CheckboxGroupItem: {
|
|
|
2929
3019
|
displayName: string;
|
|
2930
3020
|
};
|
|
2931
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
|
+
|
|
2932
3579
|
type SortDirection = "asc" | "desc" | null;
|
|
2933
3580
|
interface SortState {
|
|
2934
3581
|
key: string;
|
|
@@ -2946,6 +3593,10 @@ type Density = "compact" | "default" | "comfortable";
|
|
|
2946
3593
|
type SelectionMode = "single" | "multiple";
|
|
2947
3594
|
type DataGridMode = "client" | "server";
|
|
2948
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
|
+
*/
|
|
2949
3600
|
pageSize?: number;
|
|
2950
3601
|
pageSizeOptions?: number[];
|
|
2951
3602
|
showPageSizeSelector?: boolean;
|
|
@@ -3004,7 +3655,13 @@ interface DataGridProps<T = unknown> {
|
|
|
3004
3655
|
columns: ColumnDef<T>[];
|
|
3005
3656
|
/** Data array */
|
|
3006
3657
|
data: T[];
|
|
3007
|
-
/**
|
|
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
|
+
*/
|
|
3008
3665
|
rowKey?: string | ((row: T, index: number) => string);
|
|
3009
3666
|
/** Data processing mode */
|
|
3010
3667
|
mode?: DataGridMode;
|
|
@@ -3062,7 +3719,12 @@ interface DataGridProps<T = unknown> {
|
|
|
3062
3719
|
onCellEdit?: (rowKey: string, columnKey: string, value: unknown) => void;
|
|
3063
3720
|
/** Enable row drag & drop reorder */
|
|
3064
3721
|
reorderable?: boolean;
|
|
3065
|
-
/**
|
|
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
|
+
*/
|
|
3066
3728
|
onReorder?: (fromIndex: number, toIndex: number) => void;
|
|
3067
3729
|
/** Enable column drag & drop reorder */
|
|
3068
3730
|
columnReorderable?: boolean;
|
|
@@ -3084,6 +3746,14 @@ interface DataGridProps<T = unknown> {
|
|
|
3084
3746
|
exportFormats?: ("csv" | "json")[];
|
|
3085
3747
|
/** Custom export filename */
|
|
3086
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;
|
|
3087
3757
|
/** Enable virtual scrolling for large datasets */
|
|
3088
3758
|
virtualized?: boolean;
|
|
3089
3759
|
/** Row height for virtualization (px) */
|
|
@@ -3108,6 +3778,12 @@ interface DataGridProps<T = unknown> {
|
|
|
3108
3778
|
loadingRows?: number;
|
|
3109
3779
|
/** Custom empty state */
|
|
3110
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">;
|
|
3111
3787
|
/** Show footer with aggregates */
|
|
3112
3788
|
showFooter?: boolean;
|
|
3113
3789
|
/** Row click callback */
|
|
@@ -3132,7 +3808,7 @@ interface DataGridRef {
|
|
|
3132
3808
|
resetFilters: () => void;
|
|
3133
3809
|
/** Reset sort state */
|
|
3134
3810
|
resetSort: () => void;
|
|
3135
|
-
/** Select all visible rows */
|
|
3811
|
+
/** Select all visible rows, on top of what is selected on other pages */
|
|
3136
3812
|
selectAll: () => void;
|
|
3137
3813
|
/** Deselect all rows */
|
|
3138
3814
|
deselectAll: () => void;
|
|
@@ -3164,12 +3840,14 @@ interface ChipProps extends Omit<ComponentPropsWithoutRef<"span">, "color"> {
|
|
|
3164
3840
|
avatar?: ReactNode;
|
|
3165
3841
|
onClose?: () => void;
|
|
3166
3842
|
closable?: boolean;
|
|
3843
|
+
/** Accessible name of the remove button. Defaults to the `chipRemove` label. */
|
|
3844
|
+
removeLabel?: string;
|
|
3167
3845
|
clickable?: boolean;
|
|
3168
3846
|
selected?: boolean;
|
|
3169
3847
|
disabled?: boolean;
|
|
3170
3848
|
as?: "span" | "div" | "button";
|
|
3171
3849
|
}
|
|
3172
|
-
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;
|
|
3173
3851
|
declare namespace Chip {
|
|
3174
3852
|
var displayName: string;
|
|
3175
3853
|
}
|
|
@@ -3397,13 +4075,20 @@ interface FileSelectorProps {
|
|
|
3397
4075
|
onChange?: (files: File[]) => void;
|
|
3398
4076
|
/** Accepted file types (MIME types or extensions, e.g. "image/*,.pdf,.docx") */
|
|
3399
4077
|
accept?: string;
|
|
3400
|
-
/**
|
|
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
|
+
*/
|
|
3401
4083
|
multiple?: boolean;
|
|
3402
4084
|
/** Maximum file size in bytes (default: 10MB) */
|
|
3403
4085
|
maxSize?: number;
|
|
3404
|
-
/** Maximum number of files
|
|
4086
|
+
/** Maximum number of files, wherever several can be selected */
|
|
3405
4087
|
maxFiles?: number;
|
|
3406
|
-
/**
|
|
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
|
+
*/
|
|
3407
4092
|
mode?: "file" | "directory" | "both";
|
|
3408
4093
|
/** Visual variant */
|
|
3409
4094
|
variant?: "dropzone" | "button";
|
|
@@ -3427,6 +4112,13 @@ interface FileSelectorProps {
|
|
|
3427
4112
|
browseLabel?: string;
|
|
3428
4113
|
/** Custom text for the browse folder button (used in "directory" and "both" modes) */
|
|
3429
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">;
|
|
3430
4122
|
/** Custom icon for the dropzone */
|
|
3431
4123
|
icon?: ReactNode;
|
|
3432
4124
|
/** Callback when a file is rejected (size, type, etc.) */
|
|
@@ -3434,7 +4126,7 @@ interface FileSelectorProps {
|
|
|
3434
4126
|
/** Additional class names */
|
|
3435
4127
|
className?: string;
|
|
3436
4128
|
}
|
|
3437
|
-
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;
|
|
3438
4130
|
|
|
3439
4131
|
type Side$1 = "top" | "right" | "bottom" | "left";
|
|
3440
4132
|
type Align$1 = "start" | "center" | "end";
|
|
@@ -3461,10 +4153,21 @@ interface DropdownContextValue {
|
|
|
3461
4153
|
closeOnClickOutside: boolean;
|
|
3462
4154
|
closeOnEscape: boolean;
|
|
3463
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
|
+
*/
|
|
3464
4160
|
focusedIndex: number;
|
|
4161
|
+
/** @deprecated Does nothing. Move the focus to the item instead. */
|
|
3465
4162
|
setFocusedIndex: Dispatch<SetStateAction<number>>;
|
|
4163
|
+
/** @deprecated Always empty. The menu reads its items from the document. */
|
|
3466
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
|
+
*/
|
|
3467
4169
|
registerItem: (index: number, element: HTMLElement | null) => void;
|
|
4170
|
+
/** @deprecated Kept for custom items written against the counter; unused. */
|
|
3468
4171
|
getNextItemIndex: () => number;
|
|
3469
4172
|
triggerId: string;
|
|
3470
4173
|
contentId: string;
|
|
@@ -3516,9 +4219,13 @@ interface DropdownItemProps extends Omit<ComponentPropsWithoutRef<"button">, "ch
|
|
|
3516
4219
|
closeOnSelect?: boolean;
|
|
3517
4220
|
onSelect?: () => void;
|
|
3518
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
|
+
*/
|
|
3519
4226
|
index?: number;
|
|
3520
4227
|
}
|
|
3521
|
-
declare function DropdownItem({ children, icon, iconPosition, description, shortcut, variant, closeOnSelect: closeOnSelectProp, onSelect, disabled, className, onClick, index:
|
|
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;
|
|
3522
4229
|
declare namespace DropdownItem {
|
|
3523
4230
|
var displayName: string;
|
|
3524
4231
|
}
|
|
@@ -3549,9 +4256,13 @@ interface DropdownCheckboxItemProps {
|
|
|
3549
4256
|
disabled?: boolean;
|
|
3550
4257
|
closeOnChange?: boolean;
|
|
3551
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
|
+
*/
|
|
3552
4263
|
index?: number;
|
|
3553
4264
|
}
|
|
3554
|
-
declare function DropdownCheckboxItem({ checked: controlledChecked, defaultChecked, onCheckedChange, children, icon, description, disabled, closeOnChange, className,
|
|
4265
|
+
declare function DropdownCheckboxItem({ checked: controlledChecked, defaultChecked, onCheckedChange, children, icon, description, disabled, closeOnChange, className, }: DropdownCheckboxItemProps): react_jsx_runtime.JSX.Element;
|
|
3555
4266
|
declare namespace DropdownCheckboxItem {
|
|
3556
4267
|
var displayName: string;
|
|
3557
4268
|
}
|
|
@@ -3575,9 +4286,13 @@ interface DropdownRadioItemProps {
|
|
|
3575
4286
|
disabled?: boolean;
|
|
3576
4287
|
closeOnChange?: boolean;
|
|
3577
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
|
+
*/
|
|
3578
4293
|
index?: number;
|
|
3579
4294
|
}
|
|
3580
|
-
declare function DropdownRadioItem({ value, children, icon, description, disabled, closeOnChange, className,
|
|
4295
|
+
declare function DropdownRadioItem({ value, children, icon, description, disabled, closeOnChange, className, }: DropdownRadioItemProps): react_jsx_runtime.JSX.Element;
|
|
3581
4296
|
declare namespace DropdownRadioItem {
|
|
3582
4297
|
var displayName: string;
|
|
3583
4298
|
}
|
|
@@ -3594,9 +4309,13 @@ interface DropdownSubMenuTriggerProps {
|
|
|
3594
4309
|
icon?: ReactNode;
|
|
3595
4310
|
disabled?: boolean;
|
|
3596
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
|
+
*/
|
|
3597
4316
|
index?: number;
|
|
3598
4317
|
}
|
|
3599
|
-
declare function DropdownSubMenuTrigger({ children, icon, disabled, className,
|
|
4318
|
+
declare function DropdownSubMenuTrigger({ children, icon, disabled, className, }: DropdownSubMenuTriggerProps): react_jsx_runtime.JSX.Element;
|
|
3600
4319
|
declare namespace DropdownSubMenuTrigger {
|
|
3601
4320
|
var displayName: string;
|
|
3602
4321
|
}
|
|
@@ -3610,7 +4329,14 @@ declare namespace DropdownSubMenuContent {
|
|
|
3610
4329
|
var displayName: string;
|
|
3611
4330
|
}
|
|
3612
4331
|
|
|
3613
|
-
|
|
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;
|
|
3614
4340
|
|
|
3615
4341
|
interface UseKeyboardNavigationOptions {
|
|
3616
4342
|
isOpen: boolean;
|
|
@@ -3710,6 +4436,8 @@ interface MentionInputProps extends InputStyleProps {
|
|
|
3710
4436
|
onChange?: (value: MentionInputValue) => void;
|
|
3711
4437
|
placeholder?: string;
|
|
3712
4438
|
loading?: boolean;
|
|
4439
|
+
/** Shown in the suggestion list while `loading` is set. Defaults to the `mentionInputLoading` label. */
|
|
4440
|
+
loadingLabel?: string;
|
|
3713
4441
|
maxSuggestions?: number;
|
|
3714
4442
|
chipVariant?: ChipVariant;
|
|
3715
4443
|
chipColor?: ChipColor;
|
|
@@ -3773,10 +4501,12 @@ interface HeaderProps {
|
|
|
3773
4501
|
showSearch?: boolean;
|
|
3774
4502
|
onSearch?: (query: string) => void;
|
|
3775
4503
|
searchPlaceholder?: string;
|
|
4504
|
+
/** Accessible name of the button opening the menu on a small screen. Defaults to the `headerToggleMenu` label. */
|
|
4505
|
+
menuLabel?: string;
|
|
3776
4506
|
className?: string;
|
|
3777
4507
|
containerClassName?: string;
|
|
3778
4508
|
}
|
|
3779
|
-
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;
|
|
3780
4510
|
|
|
3781
4511
|
interface HelpButtonProps {
|
|
3782
4512
|
content: string | ReactNode;
|
|
@@ -3794,6 +4524,12 @@ interface HelpButtonProps {
|
|
|
3794
4524
|
markdownEditor?: MarkdownEditorComponent;
|
|
3795
4525
|
/** Shown in place of the editor when `markdownEditor` is missing. Defaults to the `UILabels` value. */
|
|
3796
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">;
|
|
3797
4533
|
onSave?: (content: string) => Promise<boolean> | boolean;
|
|
3798
4534
|
onReset?: () => Promise<boolean> | boolean;
|
|
3799
4535
|
width?: "sm" | "md" | "lg" | "xl";
|
|
@@ -3802,8 +4538,8 @@ interface HelpButtonProps {
|
|
|
3802
4538
|
interface WithHelpButtonProps extends HelpButtonProps {
|
|
3803
4539
|
children: ReactNode;
|
|
3804
4540
|
}
|
|
3805
|
-
declare function HelpButton({ content, markdown, position, size, className, visible, editable, onSave, onReset, width, title, markdownEditor: MarkdownEditorView, markdownEditorUnavailableLabel }: HelpButtonProps): react_jsx_runtime.JSX.Element | null;
|
|
3806
|
-
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;
|
|
3807
4543
|
|
|
3808
4544
|
interface ImageUploaderProps {
|
|
3809
4545
|
value?: string;
|
|
@@ -3817,9 +4553,15 @@ interface ImageUploaderProps {
|
|
|
3817
4553
|
className?: string;
|
|
3818
4554
|
showUrlInput?: boolean;
|
|
3819
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">;
|
|
3820
4562
|
aspectRatio?: "16/9" | "4/3" | "1/1" | "auto";
|
|
3821
4563
|
}
|
|
3822
|
-
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;
|
|
3823
4565
|
|
|
3824
4566
|
type IndicatorColor = "default" | "primary" | "success" | "warning" | "error" | "info" | "dark" | "purple" | "indigo" | "teal";
|
|
3825
4567
|
type IndicatorSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
@@ -3858,7 +4600,19 @@ interface LabelProps extends HTMLAttributes<HTMLElement> {
|
|
|
3858
4600
|
htmlFor?: string;
|
|
3859
4601
|
required?: boolean;
|
|
3860
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;
|
|
3861
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
|
+
*/
|
|
3862
4616
|
optionalText?: string;
|
|
3863
4617
|
tooltip?: string;
|
|
3864
4618
|
icon?: ReactNode;
|
|
@@ -3867,7 +4621,7 @@ interface LabelProps extends HTMLAttributes<HTMLElement> {
|
|
|
3867
4621
|
truncate?: boolean;
|
|
3868
4622
|
as?: "label" | "span" | "p";
|
|
3869
4623
|
}
|
|
3870
|
-
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;
|
|
3871
4625
|
declare namespace Label {
|
|
3872
4626
|
var displayName: string;
|
|
3873
4627
|
}
|
|
@@ -3921,6 +4675,12 @@ interface HeatmapProps extends Omit<ComponentPropsWithoutRef<"figure">, "childre
|
|
|
3921
4675
|
description?: ReactNode;
|
|
3922
4676
|
locale?: string;
|
|
3923
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
|
+
*/
|
|
3924
4684
|
onCellClick?: (cell: HeatmapCell) => void;
|
|
3925
4685
|
}
|
|
3926
4686
|
/** A cell, as the tooltip and the click handler see it. */
|
|
@@ -4102,12 +4862,17 @@ interface PaginationProps extends Omit<ComponentPropsWithoutRef<"nav">, "onChang
|
|
|
4102
4862
|
siblings?: number;
|
|
4103
4863
|
boundaries?: number;
|
|
4104
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
|
+
*/
|
|
4105
4870
|
labels?: {
|
|
4106
4871
|
first?: string;
|
|
4107
4872
|
previous?: string;
|
|
4108
4873
|
next?: string;
|
|
4109
4874
|
last?: string;
|
|
4110
|
-
}
|
|
4875
|
+
} & UILabelsOf<"pagination">;
|
|
4111
4876
|
totalItems?: number;
|
|
4112
4877
|
pageSize?: number;
|
|
4113
4878
|
pageSizeOptions?: number[];
|
|
@@ -4158,6 +4923,12 @@ interface PieChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "childr
|
|
|
4158
4923
|
patterns?: boolean;
|
|
4159
4924
|
locale?: string;
|
|
4160
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
|
+
*/
|
|
4161
4932
|
onSliceClick?: (slice: {
|
|
4162
4933
|
key: string;
|
|
4163
4934
|
label: string;
|
|
@@ -4249,6 +5020,12 @@ interface SelectProps {
|
|
|
4249
5020
|
error?: string;
|
|
4250
5021
|
required?: boolean;
|
|
4251
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;
|
|
4252
5029
|
onSearchChange?: (query: string) => void;
|
|
4253
5030
|
name?: string;
|
|
4254
5031
|
className?: string;
|
|
@@ -4256,7 +5033,7 @@ interface SelectProps {
|
|
|
4256
5033
|
contentClassName?: string;
|
|
4257
5034
|
maxHeight?: number;
|
|
4258
5035
|
}
|
|
4259
|
-
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;
|
|
4260
5037
|
|
|
4261
5038
|
type SidebarVariant = "default" | "bordered" | "floating";
|
|
4262
5039
|
type SidebarPosition = "left" | "right";
|
|
@@ -4640,9 +5417,11 @@ interface ToastProps extends Omit<ComponentPropsWithoutRef<"div">, "type"> {
|
|
|
4640
5417
|
action?: ReactNode;
|
|
4641
5418
|
onClose?: () => void;
|
|
4642
5419
|
closable?: boolean;
|
|
5420
|
+
/** Accessible name of the close button. Defaults to the `toastClose` label. */
|
|
5421
|
+
closeLabel?: string;
|
|
4643
5422
|
duration?: number;
|
|
4644
5423
|
}
|
|
4645
|
-
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;
|
|
4646
5425
|
declare namespace Toast {
|
|
4647
5426
|
var displayName: string;
|
|
4648
5427
|
}
|
|
@@ -4864,6 +5643,12 @@ type SchemaEditorProps = {
|
|
|
4864
5643
|
toolbar?: boolean;
|
|
4865
5644
|
legend?: boolean;
|
|
4866
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">;
|
|
4867
5652
|
className?: string;
|
|
4868
5653
|
};
|
|
4869
5654
|
type SchemaEditorRef = {
|
|
@@ -5004,6 +5789,12 @@ type WorkflowEditorProps<TData = unknown> = {
|
|
|
5004
5789
|
showGrid?: boolean;
|
|
5005
5790
|
toolbar?: boolean;
|
|
5006
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">;
|
|
5007
5798
|
className?: string;
|
|
5008
5799
|
};
|
|
5009
5800
|
type WorkflowEditorRef = {
|
|
@@ -5112,8 +5903,10 @@ interface WizardStepsProps {
|
|
|
5112
5903
|
hideConnector?: boolean;
|
|
5113
5904
|
/** Hide step titles/descriptions (markers only) */
|
|
5114
5905
|
hideLabels?: boolean;
|
|
5906
|
+
/** Hint after the title of an optional step. Defaults to the `wizardOptional` label. */
|
|
5907
|
+
optionalLabel?: string;
|
|
5115
5908
|
}
|
|
5116
|
-
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;
|
|
5117
5910
|
declare namespace WizardSteps {
|
|
5118
5911
|
var displayName: string;
|
|
5119
5912
|
}
|
|
@@ -5176,152 +5969,6 @@ declare namespace WizardActions {
|
|
|
5176
5969
|
*/
|
|
5177
5970
|
declare function cn(...classes: (string | undefined | null | false)[]): string;
|
|
5178
5971
|
|
|
5179
|
-
/**
|
|
5180
|
-
* Every user-facing string the library renders on its own (mostly the
|
|
5181
|
-
* `aria-label` / `sr-only` text of built-in buttons).
|
|
5182
|
-
*
|
|
5183
|
-
* Each component also exposes a matching prop, so a label can be overridden
|
|
5184
|
-
* globally (provider) or per instance (prop wins).
|
|
5185
|
-
*/
|
|
5186
|
-
interface UILabels {
|
|
5187
|
-
/** Accessible name of the Modal close button. */
|
|
5188
|
-
closeModal: string;
|
|
5189
|
-
/** Accessible name of the Drawer close button. */
|
|
5190
|
-
closeDrawer: string;
|
|
5191
|
-
/** Accessible name of the Sidebar close button (mobile). */
|
|
5192
|
-
closeSidebar: string;
|
|
5193
|
-
/** Accessible name of the Sidebar toggle when it opens the mobile drawer. */
|
|
5194
|
-
openSidebar: string;
|
|
5195
|
-
/** Accessible name of the Sidebar toggle when it expands a collapsed sidebar. */
|
|
5196
|
-
expandSidebar: string;
|
|
5197
|
-
/** Accessible name of the Sidebar toggle when it collapses the sidebar. */
|
|
5198
|
-
collapseSidebar: string;
|
|
5199
|
-
/** Accessible name of the mobile Sidebar dialog when no `aria-label` is given. */
|
|
5200
|
-
sidebar: string;
|
|
5201
|
-
/** Accessible name of the Modal "expand" button. */
|
|
5202
|
-
enterFullScreen: string;
|
|
5203
|
-
/** Accessible name of the Modal "collapse" button. */
|
|
5204
|
-
exitFullScreen: string;
|
|
5205
|
-
/** Default label of the Modal submit button. */
|
|
5206
|
-
confirm: string;
|
|
5207
|
-
/** Default label of the Modal cancel button. */
|
|
5208
|
-
cancel: string;
|
|
5209
|
-
/** Shown by `<HelpButton markdown editable>` when no `markdownEditor` is passed. */
|
|
5210
|
-
markdownEditorUnavailable: string;
|
|
5211
|
-
/** Accessible name of the button revealing a chart's data table. */
|
|
5212
|
-
chartShowTable: string;
|
|
5213
|
-
/** Accessible name of the button hiding a chart's data table. */
|
|
5214
|
-
chartHideTable: string;
|
|
5215
|
-
/** Shown in place of a chart that has no data to draw. */
|
|
5216
|
-
chartNoData: string;
|
|
5217
|
-
/** Accessible name of the spinner shown while a chart loads its first data. */
|
|
5218
|
-
chartLoading: string;
|
|
5219
|
-
/** Bucket the smallest slices of a pie chart are folded into. */
|
|
5220
|
-
chartOther: string;
|
|
5221
|
-
/** Header of the "reached" column of a bullet chart's data table. */
|
|
5222
|
-
chartValue: string;
|
|
5223
|
-
/** Header of the "aimed at" column of a bullet chart's data table. */
|
|
5224
|
-
chartTarget: string;
|
|
5225
|
-
/** Legend entry and tooltip row for a waterfall step that adds. */
|
|
5226
|
-
chartIncrease: string;
|
|
5227
|
-
/** Legend entry and tooltip row for a waterfall step that takes away. */
|
|
5228
|
-
chartDecrease: string;
|
|
5229
|
-
/** Header of the running-total column of a waterfall's data table. */
|
|
5230
|
-
chartRunningTotal: string;
|
|
5231
|
-
/** Header of the "kept from the previous stage" column of a funnel. */
|
|
5232
|
-
chartConversion: string;
|
|
5233
|
-
/** Header of the "lost since the previous stage" column of a funnel. */
|
|
5234
|
-
chartDropOff: string;
|
|
5235
|
-
/** Header of the gap column of a dumbbell chart's data table. */
|
|
5236
|
-
chartChange: string;
|
|
5237
|
-
/** Header of the median column of a box plot's data table. */
|
|
5238
|
-
chartMedian: string;
|
|
5239
|
-
/** Header of the observation-count column of a box plot's data table. */
|
|
5240
|
-
chartCount: string;
|
|
5241
|
-
/** Header of the outlier column of a box plot's data table. */
|
|
5242
|
-
chartOutliers: string;
|
|
5243
|
-
/** Header of the opening-price column of a candlestick's data table. */
|
|
5244
|
-
chartOpen: string;
|
|
5245
|
-
/** Header of the high column of a candlestick's data table. */
|
|
5246
|
-
chartHigh: string;
|
|
5247
|
-
/** Header of the low column of a candlestick's data table. */
|
|
5248
|
-
chartLow: string;
|
|
5249
|
-
/** Header of the closing-price column of a candlestick's data table. */
|
|
5250
|
-
chartClose: string;
|
|
5251
|
-
/** Legend entry for a candlestick session that closed up. */
|
|
5252
|
-
chartRise: string;
|
|
5253
|
-
/** Legend entry for a candlestick session that closed down. */
|
|
5254
|
-
chartFall: string;
|
|
5255
|
-
/** Header of the start column of a schedule's data table. */
|
|
5256
|
-
chartStart: string;
|
|
5257
|
-
/** Header of the end column of a schedule's data table. */
|
|
5258
|
-
chartEnd: string;
|
|
5259
|
-
/** Header of the completion column of a schedule's data table. */
|
|
5260
|
-
chartProgress: string;
|
|
5261
|
-
/** Name of the rule marking today on a schedule. */
|
|
5262
|
-
chartToday: string;
|
|
5263
|
-
/** Word the annotation captions are announced under in a chart's name. */
|
|
5264
|
-
chartAnnotations: string;
|
|
5265
|
-
/** Accessible name of the filter row above a set of charts. */
|
|
5266
|
-
chartFilters: string;
|
|
5267
|
-
/** Accessible name of the period picker, and its caption when nothing is set. */
|
|
5268
|
-
chartPeriod: string;
|
|
5269
|
-
chartPeriodLast7Days: string;
|
|
5270
|
-
chartPeriodLast30Days: string;
|
|
5271
|
-
chartPeriodLast90Days: string;
|
|
5272
|
-
chartPeriodLast12Months: string;
|
|
5273
|
-
chartPeriodMonthToDate: string;
|
|
5274
|
-
chartPeriodQuarterToDate: string;
|
|
5275
|
-
chartPeriodYearToDate: string;
|
|
5276
|
-
/** Entry opening the calendar, for a window the presets do not cover. */
|
|
5277
|
-
chartPeriodCustom: string;
|
|
5278
|
-
/**
|
|
5279
|
-
* Shown in place of a chart whose data could not be loaded.
|
|
5280
|
-
*
|
|
5281
|
-
* Distinct from `chartNoData` on purpose: "there is nothing" and "we failed
|
|
5282
|
-
* to fetch it" are two different statements, and only the second one asks
|
|
5283
|
-
* the reader to do something about it.
|
|
5284
|
-
*/
|
|
5285
|
-
chartError: string;
|
|
5286
|
-
/** Second line of a chart's error state, under `chartError`. */
|
|
5287
|
-
chartErrorHint: string;
|
|
5288
|
-
/** Label of the button that asks a failed chart to load again. */
|
|
5289
|
-
chartRetry: string;
|
|
5290
|
-
/** Accessible name of a chart's export control. */
|
|
5291
|
-
chartExport: string;
|
|
5292
|
-
/** Entry downloading a chart's data table as a CSV file. */
|
|
5293
|
-
chartExportCsv: string;
|
|
5294
|
-
/** Entry downloading a chart's data table as a JSON file. */
|
|
5295
|
-
chartExportJson: string;
|
|
5296
|
-
/** Accessible name of the range a pointer drags across a chart's category axis. */
|
|
5297
|
-
chartBrush: string;
|
|
5298
|
-
/** Accessible name of the button dropping the dragged range. */
|
|
5299
|
-
chartClearSelection: string;
|
|
5300
|
-
}
|
|
5301
|
-
/** English labels, used when no provider is mounted. */
|
|
5302
|
-
declare const defaultUILabels: UILabels;
|
|
5303
|
-
/** Ready-to-use French translation. */
|
|
5304
|
-
declare const frenchUILabels: UILabels;
|
|
5305
|
-
interface UILabelsProviderProps {
|
|
5306
|
-
/** Partial overrides merged over the labels inherited from the parent provider. */
|
|
5307
|
-
labels?: Partial<UILabels>;
|
|
5308
|
-
children: ReactNode;
|
|
5309
|
-
}
|
|
5310
|
-
/**
|
|
5311
|
-
* Translates the strings built into the library.
|
|
5312
|
-
*
|
|
5313
|
-
* ```tsx
|
|
5314
|
-
* <UILabelsProvider labels={locale === "fr" ? frenchUILabels : defaultUILabels}>
|
|
5315
|
-
* <App />
|
|
5316
|
-
* </UILabelsProvider>
|
|
5317
|
-
* ```
|
|
5318
|
-
*
|
|
5319
|
-
* Providers can be nested: a subtree only needs to override what differs.
|
|
5320
|
-
*/
|
|
5321
|
-
declare function UILabelsProvider({ labels, children }: UILabelsProviderProps): react_jsx_runtime.JSX.Element;
|
|
5322
|
-
/** Reads the current labels (English defaults when no provider is mounted). */
|
|
5323
|
-
declare function useUILabels(): UILabels;
|
|
5324
|
-
|
|
5325
5972
|
/**
|
|
5326
5973
|
* Makes everything outside of a dialog inert for both pointer and assistive
|
|
5327
5974
|
* technology users.
|
|
@@ -5344,7 +5991,15 @@ declare const INERT_IGNORE_ATTRIBUTE = "data-synertech-inert-ignore";
|
|
|
5344
5991
|
* @returns a function unregistering the layer.
|
|
5345
5992
|
*/
|
|
5346
5993
|
declare function registerFloatingLayer(layer: Element, getOwner: () => Element | null): () => void;
|
|
5347
|
-
/**
|
|
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
|
+
*/
|
|
5348
6003
|
declare function findOwnedLayers(targets: Element[]): Element[];
|
|
5349
6004
|
/**
|
|
5350
6005
|
* Hides every element that is neither an ancestor nor a descendant of one of
|
|
@@ -5382,4 +6037,4 @@ declare function isFocusable(element: HTMLElement): boolean;
|
|
|
5382
6037
|
*/
|
|
5383
6038
|
declare function getFocusableElements(container: HTMLElement): HTMLElement[];
|
|
5384
6039
|
|
|
5385
|
-
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 };
|