@apotech-os/ui-sdk 7.2.0 → 7.4.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/dist/index.d.cts CHANGED
@@ -176,7 +176,7 @@ declare const Input: React.ForwardRefExoticComponent<React.InputHTMLAttributes<H
176
176
  declare function Table({ className, ...props }: React.HTMLAttributes<HTMLTableElement>): React.JSX.Element;
177
177
  declare function TableHeader({ className, ...props }: React.HTMLAttributes<HTMLTableSectionElement>): React.JSX.Element;
178
178
  declare function TableBody({ className, ...props }: React.HTMLAttributes<HTMLTableSectionElement>): React.JSX.Element;
179
- declare function TableRow({ className, ...props }: React.HTMLAttributes<HTMLTableRowElement>): React.JSX.Element;
179
+ declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
180
180
  declare function TableHead({ className, ...props }: React.ThHTMLAttributes<HTMLTableCellElement>): React.JSX.Element;
181
181
  declare function TableCell({ className, ...props }: React.TdHTMLAttributes<HTMLTableCellElement>): React.JSX.Element;
182
182
  interface SelectOption {
@@ -342,18 +342,48 @@ interface DropdownMenuProps {
342
342
  /** Uncontrolled menu. Selecting an item closes it; arrow keys move between them. */
343
343
  declare function DropdownMenu({ trigger, items, align, className }: DropdownMenuProps): React.JSX.Element;
344
344
 
345
+ /**
346
+ * How a column's value is printed when it has no `cell`.
347
+ *
348
+ * The point is not convenience but sameness: every app used to format euros,
349
+ * thousands and dates its own way, and right-align them or not. A numeric
350
+ * format right-aligns and uses tabular figures, so digits line up down the
351
+ * column. `percent` expects a ratio — `0.125` prints `12,5 %`.
352
+ */
353
+ type DataTableColumnFormat = 'text' | 'number' | 'currency' | 'percent' | 'date';
345
354
  interface DataTableColumn<Row> {
346
355
  /** Stable identifier — also the key used for sorting and hiding. */
347
356
  key: string;
348
357
  header: React.ReactNode;
349
- /** Defaults to `String(row[key])`. */
358
+ /** Defaults to the value printed with `format`, or `—` when it is absent. */
350
359
  cell?: (row: Row) => React.ReactNode;
351
- /** Raw value used for client-side sorting and faceting. */
360
+ /** Raw value used for client-side sorting, faceting, formatting and export. */
352
361
  value?: (row: Row) => unknown;
353
362
  sortable?: boolean;
363
+ /** Defaults to `right` for a numeric `format`, `left` otherwise. */
354
364
  align?: 'left' | 'right';
355
365
  /** Starting width in pixels; the user can drag from there. */
356
366
  width?: number;
367
+ format?: DataTableColumnFormat;
368
+ /** ISO 4217 code for `format: 'currency'`. Defaults to EUR. */
369
+ currency?: string;
370
+ /**
371
+ * The column's cell in the footer row — typically a total. A function gets
372
+ * every row that passes the search and filters (not only the current page);
373
+ * a number it returns is printed with the column's `format`.
374
+ */
375
+ footer?: React.ReactNode | ((rows: Row[]) => React.ReactNode);
376
+ /** Value written to the CSV export. Defaults to `value`, then the raw field. */
377
+ exportValue?: (row: Row) => string | number | null | undefined;
378
+ /** Secondary column: dropped on narrow screens rather than squeezing the rest. */
379
+ hideOnMobile?: boolean;
380
+ }
381
+ /** One entry of the action bar shown while rows are selected. */
382
+ interface DataTableBulkAction {
383
+ label: React.ReactNode;
384
+ onSelect: (selectedIds: string[]) => void;
385
+ destructive?: boolean;
386
+ disabled?: boolean;
357
387
  }
358
388
  /**
359
389
  * The operators a filter can use — the same ten names the app manifest declares
@@ -396,35 +426,90 @@ interface DataTableState {
396
426
  hidden: string[];
397
427
  selected: string[];
398
428
  }
429
+ /** Server-driven paging by cursor: previous / next. */
399
430
  interface DataTablePagination {
400
431
  hasNext: boolean;
401
432
  hasPrevious: boolean;
402
433
  onNext: () => void;
403
434
  onPrevious: () => void;
435
+ /** Where the user is, e.g. `Page 2` or `51–100 sur 340`. */
436
+ label?: React.ReactNode;
437
+ }
438
+ /** Server-driven paging that appends: one "Charger plus" button under the rows. */
439
+ interface DataTableLoadMore {
440
+ hasMore: boolean;
441
+ onLoadMore: () => void;
442
+ loading?: boolean;
443
+ }
444
+ type DataTableCsvExport =
445
+ /** Exports every row that passes the search and filters, visible columns only. */
446
+ {
447
+ filename: string;
404
448
  }
449
+ /** The host builds the file — the only correct choice when the server pages. */
450
+ | {
451
+ onExport: () => void;
452
+ };
405
453
  interface DataTableProps<Row> {
406
454
  columns: Array<DataTableColumn<Row>>;
407
455
  rows: Row[];
408
456
  rowId: (row: Row) => string;
457
+ /**
458
+ * How a row is named to a screen reader — « Sélectionner Alice Martin », not
459
+ * « Sélectionner a1 ». Defaults to `rowId`.
460
+ */
461
+ rowLabel?: (row: Row) => string;
462
+ /** Accessible name of the table, e.g. "Ambassadeurs". */
463
+ label?: string;
409
464
  /** Controlled state. Anything left out falls back to `defaultState`. */
410
465
  state?: Partial<DataTableState>;
411
466
  defaultState?: Partial<DataTableState>;
412
467
  onStateChange?: (state: DataTableState) => void;
413
468
  facets?: DataTableFacet[];
469
+ /** Show the search field. On by default. */
470
+ searchable?: boolean;
414
471
  searchPlaceholder?: string;
472
+ /** Show the "Colonnes" picker. On by default. */
473
+ columnPicker?: boolean;
474
+ /** Extra filters of the host's own — tabs, pills — placed after the facets. */
475
+ filters?: React.ReactNode;
476
+ /** Page-level actions placed at the right of the toolbar (create, import…). */
477
+ actions?: React.ReactNode;
478
+ csvExport?: DataTableCsvExport;
415
479
  selectable?: boolean;
480
+ /** Rows refused here get a disabled checkbox and are skipped by "select all". */
481
+ isRowSelectable?: (row: Row) => boolean;
482
+ /** Shown in the toolbar while at least one row is selected. */
483
+ bulkActions?: DataTableBulkAction[];
416
484
  onRowClick?: (row: Row) => void;
417
- pagination?: DataTablePagination;
485
+ /** Per-row menu in a trailing "⋯" column. An empty list shows no menu. */
486
+ rowActions?: (row: Row) => DropdownMenuItem[];
487
+ /** Content revealed under a row by its chevron. `null` means nothing to expand. */
488
+ renderExpanded?: (row: Row) => React.ReactNode;
489
+ pagination?: DataTablePagination | DataTableLoadMore;
490
+ /**
491
+ * Client-side paging over the rows the table holds. Ignored with `manual`,
492
+ * where the server pages and `pagination` says so.
493
+ */
494
+ pageSize?: number;
418
495
  /** Server does the sorting, filtering and searching; render `rows` as given. */
419
496
  manual?: boolean;
420
497
  loading?: boolean;
421
498
  error?: React.ReactNode;
422
499
  empty?: React.ReactNode;
500
+ /** `compact` for dense analytical tables: tighter rows, same typography. */
501
+ density?: 'comfortable' | 'compact';
502
+ /**
503
+ * `embedded` drops the table's own frame so it sits flush inside a `Card`,
504
+ * its first and last columns aligned on the card's padding.
505
+ */
506
+ variant?: 'default' | 'embedded';
423
507
  /** Beyond this many rows the body is virtualised. */
424
508
  virtualizeFrom?: number;
425
509
  className?: string;
426
510
  }
427
- declare function DataTable<Row>({ columns, rows, rowId, state: controlled, defaultState, onStateChange, facets, searchPlaceholder, selectable, onRowClick, pagination, manual, loading, error, empty, virtualizeFrom, className, }: DataTableProps<Row>): React.JSX.Element;
511
+ declare function DataTable<Row>({ columns, rows, rowId, rowLabel, label, state: controlled, defaultState, onStateChange, facets, searchable, searchPlaceholder, columnPicker, filters, actions, csvExport, selectable, isRowSelectable, bulkActions, onRowClick, rowActions, renderExpanded, pagination, pageSize, manual, loading, error, empty, density, variant, virtualizeFrom, className, }: DataTableProps<Row>): React.JSX.Element;
512
+ declare function formatCellValue(value: unknown, format?: DataTableColumnFormat, currency?: string): string;
428
513
 
429
514
  type PeriodPresetKey = 'today' | 'yesterday' | 'last7' | 'last30' | 'last90' | 'thisMonth' | 'lastMonth' | 'thisQuarter' | 'last12Months' | 'thisYear' | 'all' | 'custom';
430
515
  interface PeriodRange {
@@ -680,4 +765,4 @@ declare function toCsv(rows: string[][]): string;
680
765
  */
681
766
  declare function downloadCsv(rows: string[][], filename: string): void;
682
767
 
683
- export { type AppApiClient, AppApiProvider, AppContextProvider, type AppContextValue, AppInvokeError, AreaChart, Badge, type BadgeProps, BarChart, Button, type ButtonProps, COMPARE_LABELS, COMPARE_SHORT_LABELS, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CartesianChartProps, type ChartRow, type ChartSeries, Checkbox, type CheckboxProps, CopyButton, type CopyButtonProps, DataTable, type DataTableColumn, type DataTableFacet, type DataTableFilter, type DataTableFilterOperator, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableState, type DateRange, DateRangeCompare, type DateRangeCompareProps, DateRangePicker, type DateRangePickerProps, DropdownMenu, type DropdownMenuItem, type DropdownMenuProps, FunnelChart, type FunnelChartProps, type FunnelStep, Input, KpiCard, type KpiCardProps, LineChart, Link, type LinkProps, Modal, type ModalProps, PERIOD_PRESETS, type PeriodCompareMode, type PeriodPreset, type PeriodPresetKey, type PeriodRange, type PeriodValue, Popover, type PopoverProps, Select, type SelectOption, type SelectProps, SidePanel, type SidePanelProps, Spinner, type SpinnerProps, StackedBarChart, Switch, type SwitchProps, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, type TabsProps, TabsTrigger, Textarea, type TextareaProps, type ToastInput, ToastProvider, Tooltip, type TooltipProps, type ValueFormatter, badgeVariants, buttonVariants, cn, comparisonRange, copyToClipboard, downloadBlob, downloadCsv, formatPeriod, formatRange, makePeriod, periodFromPreset, relativeDelta, toCsv, useAppApi, useAppContext, useAppRun, useAppRuns, useAppSettings, useToast };
768
+ export { type AppApiClient, AppApiProvider, AppContextProvider, type AppContextValue, AppInvokeError, AreaChart, Badge, type BadgeProps, BarChart, Button, type ButtonProps, COMPARE_LABELS, COMPARE_SHORT_LABELS, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CartesianChartProps, type ChartRow, type ChartSeries, Checkbox, type CheckboxProps, CopyButton, type CopyButtonProps, DataTable, type DataTableBulkAction, type DataTableColumn, type DataTableColumnFormat, type DataTableCsvExport, type DataTableFacet, type DataTableFilter, type DataTableFilterOperator, type DataTableLoadMore, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableState, type DateRange, DateRangeCompare, type DateRangeCompareProps, DateRangePicker, type DateRangePickerProps, DropdownMenu, type DropdownMenuItem, type DropdownMenuProps, FunnelChart, type FunnelChartProps, type FunnelStep, Input, KpiCard, type KpiCardProps, LineChart, Link, type LinkProps, Modal, type ModalProps, PERIOD_PRESETS, type PeriodCompareMode, type PeriodPreset, type PeriodPresetKey, type PeriodRange, type PeriodValue, Popover, type PopoverProps, Select, type SelectOption, type SelectProps, SidePanel, type SidePanelProps, Spinner, type SpinnerProps, StackedBarChart, Switch, type SwitchProps, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, type TabsProps, TabsTrigger, Textarea, type TextareaProps, type ToastInput, ToastProvider, Tooltip, type TooltipProps, type ValueFormatter, badgeVariants, buttonVariants, cn, comparisonRange, copyToClipboard, downloadBlob, downloadCsv, formatCellValue, formatPeriod, formatRange, makePeriod, periodFromPreset, relativeDelta, toCsv, useAppApi, useAppContext, useAppRun, useAppRuns, useAppSettings, useToast };
package/dist/index.d.ts CHANGED
@@ -176,7 +176,7 @@ declare const Input: React.ForwardRefExoticComponent<React.InputHTMLAttributes<H
176
176
  declare function Table({ className, ...props }: React.HTMLAttributes<HTMLTableElement>): React.JSX.Element;
177
177
  declare function TableHeader({ className, ...props }: React.HTMLAttributes<HTMLTableSectionElement>): React.JSX.Element;
178
178
  declare function TableBody({ className, ...props }: React.HTMLAttributes<HTMLTableSectionElement>): React.JSX.Element;
179
- declare function TableRow({ className, ...props }: React.HTMLAttributes<HTMLTableRowElement>): React.JSX.Element;
179
+ declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
180
180
  declare function TableHead({ className, ...props }: React.ThHTMLAttributes<HTMLTableCellElement>): React.JSX.Element;
181
181
  declare function TableCell({ className, ...props }: React.TdHTMLAttributes<HTMLTableCellElement>): React.JSX.Element;
182
182
  interface SelectOption {
@@ -342,18 +342,48 @@ interface DropdownMenuProps {
342
342
  /** Uncontrolled menu. Selecting an item closes it; arrow keys move between them. */
343
343
  declare function DropdownMenu({ trigger, items, align, className }: DropdownMenuProps): React.JSX.Element;
344
344
 
345
+ /**
346
+ * How a column's value is printed when it has no `cell`.
347
+ *
348
+ * The point is not convenience but sameness: every app used to format euros,
349
+ * thousands and dates its own way, and right-align them or not. A numeric
350
+ * format right-aligns and uses tabular figures, so digits line up down the
351
+ * column. `percent` expects a ratio — `0.125` prints `12,5 %`.
352
+ */
353
+ type DataTableColumnFormat = 'text' | 'number' | 'currency' | 'percent' | 'date';
345
354
  interface DataTableColumn<Row> {
346
355
  /** Stable identifier — also the key used for sorting and hiding. */
347
356
  key: string;
348
357
  header: React.ReactNode;
349
- /** Defaults to `String(row[key])`. */
358
+ /** Defaults to the value printed with `format`, or `—` when it is absent. */
350
359
  cell?: (row: Row) => React.ReactNode;
351
- /** Raw value used for client-side sorting and faceting. */
360
+ /** Raw value used for client-side sorting, faceting, formatting and export. */
352
361
  value?: (row: Row) => unknown;
353
362
  sortable?: boolean;
363
+ /** Defaults to `right` for a numeric `format`, `left` otherwise. */
354
364
  align?: 'left' | 'right';
355
365
  /** Starting width in pixels; the user can drag from there. */
356
366
  width?: number;
367
+ format?: DataTableColumnFormat;
368
+ /** ISO 4217 code for `format: 'currency'`. Defaults to EUR. */
369
+ currency?: string;
370
+ /**
371
+ * The column's cell in the footer row — typically a total. A function gets
372
+ * every row that passes the search and filters (not only the current page);
373
+ * a number it returns is printed with the column's `format`.
374
+ */
375
+ footer?: React.ReactNode | ((rows: Row[]) => React.ReactNode);
376
+ /** Value written to the CSV export. Defaults to `value`, then the raw field. */
377
+ exportValue?: (row: Row) => string | number | null | undefined;
378
+ /** Secondary column: dropped on narrow screens rather than squeezing the rest. */
379
+ hideOnMobile?: boolean;
380
+ }
381
+ /** One entry of the action bar shown while rows are selected. */
382
+ interface DataTableBulkAction {
383
+ label: React.ReactNode;
384
+ onSelect: (selectedIds: string[]) => void;
385
+ destructive?: boolean;
386
+ disabled?: boolean;
357
387
  }
358
388
  /**
359
389
  * The operators a filter can use — the same ten names the app manifest declares
@@ -396,35 +426,90 @@ interface DataTableState {
396
426
  hidden: string[];
397
427
  selected: string[];
398
428
  }
429
+ /** Server-driven paging by cursor: previous / next. */
399
430
  interface DataTablePagination {
400
431
  hasNext: boolean;
401
432
  hasPrevious: boolean;
402
433
  onNext: () => void;
403
434
  onPrevious: () => void;
435
+ /** Where the user is, e.g. `Page 2` or `51–100 sur 340`. */
436
+ label?: React.ReactNode;
437
+ }
438
+ /** Server-driven paging that appends: one "Charger plus" button under the rows. */
439
+ interface DataTableLoadMore {
440
+ hasMore: boolean;
441
+ onLoadMore: () => void;
442
+ loading?: boolean;
443
+ }
444
+ type DataTableCsvExport =
445
+ /** Exports every row that passes the search and filters, visible columns only. */
446
+ {
447
+ filename: string;
404
448
  }
449
+ /** The host builds the file — the only correct choice when the server pages. */
450
+ | {
451
+ onExport: () => void;
452
+ };
405
453
  interface DataTableProps<Row> {
406
454
  columns: Array<DataTableColumn<Row>>;
407
455
  rows: Row[];
408
456
  rowId: (row: Row) => string;
457
+ /**
458
+ * How a row is named to a screen reader — « Sélectionner Alice Martin », not
459
+ * « Sélectionner a1 ». Defaults to `rowId`.
460
+ */
461
+ rowLabel?: (row: Row) => string;
462
+ /** Accessible name of the table, e.g. "Ambassadeurs". */
463
+ label?: string;
409
464
  /** Controlled state. Anything left out falls back to `defaultState`. */
410
465
  state?: Partial<DataTableState>;
411
466
  defaultState?: Partial<DataTableState>;
412
467
  onStateChange?: (state: DataTableState) => void;
413
468
  facets?: DataTableFacet[];
469
+ /** Show the search field. On by default. */
470
+ searchable?: boolean;
414
471
  searchPlaceholder?: string;
472
+ /** Show the "Colonnes" picker. On by default. */
473
+ columnPicker?: boolean;
474
+ /** Extra filters of the host's own — tabs, pills — placed after the facets. */
475
+ filters?: React.ReactNode;
476
+ /** Page-level actions placed at the right of the toolbar (create, import…). */
477
+ actions?: React.ReactNode;
478
+ csvExport?: DataTableCsvExport;
415
479
  selectable?: boolean;
480
+ /** Rows refused here get a disabled checkbox and are skipped by "select all". */
481
+ isRowSelectable?: (row: Row) => boolean;
482
+ /** Shown in the toolbar while at least one row is selected. */
483
+ bulkActions?: DataTableBulkAction[];
416
484
  onRowClick?: (row: Row) => void;
417
- pagination?: DataTablePagination;
485
+ /** Per-row menu in a trailing "⋯" column. An empty list shows no menu. */
486
+ rowActions?: (row: Row) => DropdownMenuItem[];
487
+ /** Content revealed under a row by its chevron. `null` means nothing to expand. */
488
+ renderExpanded?: (row: Row) => React.ReactNode;
489
+ pagination?: DataTablePagination | DataTableLoadMore;
490
+ /**
491
+ * Client-side paging over the rows the table holds. Ignored with `manual`,
492
+ * where the server pages and `pagination` says so.
493
+ */
494
+ pageSize?: number;
418
495
  /** Server does the sorting, filtering and searching; render `rows` as given. */
419
496
  manual?: boolean;
420
497
  loading?: boolean;
421
498
  error?: React.ReactNode;
422
499
  empty?: React.ReactNode;
500
+ /** `compact` for dense analytical tables: tighter rows, same typography. */
501
+ density?: 'comfortable' | 'compact';
502
+ /**
503
+ * `embedded` drops the table's own frame so it sits flush inside a `Card`,
504
+ * its first and last columns aligned on the card's padding.
505
+ */
506
+ variant?: 'default' | 'embedded';
423
507
  /** Beyond this many rows the body is virtualised. */
424
508
  virtualizeFrom?: number;
425
509
  className?: string;
426
510
  }
427
- declare function DataTable<Row>({ columns, rows, rowId, state: controlled, defaultState, onStateChange, facets, searchPlaceholder, selectable, onRowClick, pagination, manual, loading, error, empty, virtualizeFrom, className, }: DataTableProps<Row>): React.JSX.Element;
511
+ declare function DataTable<Row>({ columns, rows, rowId, rowLabel, label, state: controlled, defaultState, onStateChange, facets, searchable, searchPlaceholder, columnPicker, filters, actions, csvExport, selectable, isRowSelectable, bulkActions, onRowClick, rowActions, renderExpanded, pagination, pageSize, manual, loading, error, empty, density, variant, virtualizeFrom, className, }: DataTableProps<Row>): React.JSX.Element;
512
+ declare function formatCellValue(value: unknown, format?: DataTableColumnFormat, currency?: string): string;
428
513
 
429
514
  type PeriodPresetKey = 'today' | 'yesterday' | 'last7' | 'last30' | 'last90' | 'thisMonth' | 'lastMonth' | 'thisQuarter' | 'last12Months' | 'thisYear' | 'all' | 'custom';
430
515
  interface PeriodRange {
@@ -680,4 +765,4 @@ declare function toCsv(rows: string[][]): string;
680
765
  */
681
766
  declare function downloadCsv(rows: string[][], filename: string): void;
682
767
 
683
- export { type AppApiClient, AppApiProvider, AppContextProvider, type AppContextValue, AppInvokeError, AreaChart, Badge, type BadgeProps, BarChart, Button, type ButtonProps, COMPARE_LABELS, COMPARE_SHORT_LABELS, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CartesianChartProps, type ChartRow, type ChartSeries, Checkbox, type CheckboxProps, CopyButton, type CopyButtonProps, DataTable, type DataTableColumn, type DataTableFacet, type DataTableFilter, type DataTableFilterOperator, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableState, type DateRange, DateRangeCompare, type DateRangeCompareProps, DateRangePicker, type DateRangePickerProps, DropdownMenu, type DropdownMenuItem, type DropdownMenuProps, FunnelChart, type FunnelChartProps, type FunnelStep, Input, KpiCard, type KpiCardProps, LineChart, Link, type LinkProps, Modal, type ModalProps, PERIOD_PRESETS, type PeriodCompareMode, type PeriodPreset, type PeriodPresetKey, type PeriodRange, type PeriodValue, Popover, type PopoverProps, Select, type SelectOption, type SelectProps, SidePanel, type SidePanelProps, Spinner, type SpinnerProps, StackedBarChart, Switch, type SwitchProps, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, type TabsProps, TabsTrigger, Textarea, type TextareaProps, type ToastInput, ToastProvider, Tooltip, type TooltipProps, type ValueFormatter, badgeVariants, buttonVariants, cn, comparisonRange, copyToClipboard, downloadBlob, downloadCsv, formatPeriod, formatRange, makePeriod, periodFromPreset, relativeDelta, toCsv, useAppApi, useAppContext, useAppRun, useAppRuns, useAppSettings, useToast };
768
+ export { type AppApiClient, AppApiProvider, AppContextProvider, type AppContextValue, AppInvokeError, AreaChart, Badge, type BadgeProps, BarChart, Button, type ButtonProps, COMPARE_LABELS, COMPARE_SHORT_LABELS, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CartesianChartProps, type ChartRow, type ChartSeries, Checkbox, type CheckboxProps, CopyButton, type CopyButtonProps, DataTable, type DataTableBulkAction, type DataTableColumn, type DataTableColumnFormat, type DataTableCsvExport, type DataTableFacet, type DataTableFilter, type DataTableFilterOperator, type DataTableLoadMore, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableState, type DateRange, DateRangeCompare, type DateRangeCompareProps, DateRangePicker, type DateRangePickerProps, DropdownMenu, type DropdownMenuItem, type DropdownMenuProps, FunnelChart, type FunnelChartProps, type FunnelStep, Input, KpiCard, type KpiCardProps, LineChart, Link, type LinkProps, Modal, type ModalProps, PERIOD_PRESETS, type PeriodCompareMode, type PeriodPreset, type PeriodPresetKey, type PeriodRange, type PeriodValue, Popover, type PopoverProps, Select, type SelectOption, type SelectProps, SidePanel, type SidePanelProps, Spinner, type SpinnerProps, StackedBarChart, Switch, type SwitchProps, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, type TabsProps, TabsTrigger, Textarea, type TextareaProps, type ToastInput, ToastProvider, Tooltip, type TooltipProps, type ValueFormatter, badgeVariants, buttonVariants, cn, comparisonRange, copyToClipboard, downloadBlob, downloadCsv, formatCellValue, formatPeriod, formatRange, makePeriod, periodFromPreset, relativeDelta, toCsv, useAppApi, useAppContext, useAppRun, useAppRuns, useAppSettings, useToast };