@discuss-ds/ui 0.33.0 → 0.35.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.ts CHANGED
@@ -6,6 +6,8 @@ import { DayPickerProps } from 'react-day-picker';
6
6
  import * as react_hook_form from 'react-hook-form';
7
7
  import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
8
8
  import { IconProps } from '@phosphor-icons/react';
9
+ import * as _tanstack_react_table from '@tanstack/react-table';
10
+ import { RowData, ColumnDef, SortingState, RowSelectionState, ColumnVisibilityState, ColumnPinningState, ColumnOrderState, ColumnFiltersState, GroupingState, ExpandedState, RowPinningState, PaginationState, Row, CellSelectionState } from '@tanstack/react-table';
9
11
 
10
12
  declare const buttonVariants: (props?: ({
11
13
  variant?: "link" | "default" | "subtle" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
@@ -360,8 +362,8 @@ interface InlineEditProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'on
360
362
  validate?: (value: string) => string | null | undefined;
361
363
  /**
362
364
  * While editing, shows the allowed length under the field (from `minLength` and `maxLength`) with a live character
363
- * counter. After a refused save the same line turns into the error state (error colour and icon) instead of a
364
- * different message appears.
365
+ * counter, but only while the text is too short or too long (the count is an error hint, not a running total). After a
366
+ * refused save the same line turns into the error state (error colour and icon) instead of a different message appears.
365
367
  */
366
368
  showLimits?: boolean;
367
369
  /**
@@ -796,7 +798,7 @@ interface QuestionHeaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
796
798
  maxLength?: number;
797
799
  /** Editor mode: the question is being edited — the number tag turns accent. */
798
800
  active?: boolean;
799
- /** Editor mode: show the "n/2000 characters" counter. Defaults to `true`. */
801
+ /** Editor mode: allow the "n/2000 characters" counter, which shows only when the title is over the maximum. Defaults to `true`. */
800
802
  showCounter?: boolean;
801
803
  /**
802
804
  * Editor mode: turns the "Question N" tag into a drag handle. Spread onto the tag, so it takes anything a drag-and-drop
@@ -829,8 +831,10 @@ interface QuestionNavItemProps extends React.ButtonHTMLAttributes<HTMLButtonElem
829
831
  selected?: boolean;
830
832
  /** Question type, shown as the leading 16px duotone icon. */
831
833
  questionType?: QuestionType;
832
- /** The question has validation problems — the type icon becomes a warning icon. */
834
+ /** The question has validation problems — the type icon becomes the exclamation circle, in the destructive colour. */
833
835
  error?: boolean;
836
+ /** The question has recommendations — the type icon becomes the exclamation triangle, in the warning colour. `error` wins when both are set. */
837
+ warning?: boolean;
834
838
  /** Render the child element instead of a `<button>` (e.g. a router link). */
835
839
  asChild?: boolean;
836
840
  /**
@@ -885,7 +889,7 @@ interface QuestionOptionEditorProps {
885
889
  * Shortest label (in characters, ignoring surrounding spaces) that may be saved. With `minLength` or `maxLength` the label is
886
890
  * guarded like an `InlineEdit`: typing only changes a draft, Enter or leaving the field saves it through `onLabelChange`, a label
887
891
  * that is too short is not saved (the field stays open and says why), Escape reverts, and while it is being edited a line under
888
- * the row shows the allowed range and the live count. An unchanged label is never refused. Without either, `onLabelChange` is
892
+ * the row shows the allowed range and the live count, but only while the label is too short or too long. An unchanged label is never refused. Without either, `onLabelChange` is
889
893
  * called on every keystroke as before.
890
894
  */
891
895
  minLength?: number;
@@ -984,7 +988,7 @@ interface StimulusCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, '
984
988
  captionPlaceholder?: string;
985
989
  /** Editor mode: caption length limit. Also what the counter counts against. */
986
990
  maxLength?: number;
987
- /** Editor mode: shows the "n/2000 characters" counter under the caption (it counts live while typing). Defaults to `true`; needs `maxLength`. */
991
+ /** Editor mode: allow the "n/2000 characters" counter under the caption, which shows only when the caption is over `maxLength`. Defaults to `true`; needs `maxLength`. */
988
992
  showCounter?: boolean;
989
993
  /** Shows the trash button. */
990
994
  onRemove?: () => void;
@@ -1010,9 +1014,12 @@ interface TableProps extends React.TableHTMLAttributes<HTMLTableElement> {
1010
1014
  striped?: boolean;
1011
1015
  /** Class names for the bordered, rounded scroll container around the `<table>`. */
1012
1016
  containerClassName?: string;
1017
+ /** Ref to the scroll container around the `<table>`, e.g. for virtualization or infinite scrolling. */
1018
+ containerRef?: React.Ref<HTMLDivElement>;
1013
1019
  }
1014
1020
  declare const Table: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
1015
1021
  declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
1022
+ declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
1016
1023
  declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
1017
1024
  interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
1018
1025
  /** Highlights the row and marks it with the accent edge (Figma: State = Selected). */
@@ -1028,6 +1035,8 @@ interface TableHeadProps extends Omit<React.ThHTMLAttributes<HTMLTableCellElemen
1028
1035
  onSort?: () => void;
1029
1036
  /** Narrow centred column for a select-all checkbox. */
1030
1037
  checkbox?: boolean;
1038
+ /** Drag handle rendered at the trailing edge of the header, e.g. for column resizing. Makes the cell `relative`. */
1039
+ resizer?: React.ReactNode;
1031
1040
  }
1032
1041
  declare const TableHead: React.ForwardRefExoticComponent<TableHeadProps & React.RefAttributes<HTMLTableCellElement>>;
1033
1042
  interface TableCellProps extends Omit<React.TdHTMLAttributes<HTMLTableCellElement>, 'align'> {
@@ -1049,6 +1058,230 @@ interface TableCellTwoLinesProps extends React.HTMLAttributes<HTMLDivElement> {
1049
1058
  /** Primary + support text stack for a `TableCell` (Figma: Type = Two Lines / Option). Set the row/cell height to `h-14`. */
1050
1059
  declare function TableCellTwoLines({ primary, secondary, avatar, className, ...props }: TableCellTwoLinesProps): React.JSX.Element;
1051
1060
 
1061
+ declare const features: {
1062
+ rowSortingFeature: _tanstack_react_table.TableFeature;
1063
+ rowPaginationFeature: _tanstack_react_table.TableFeature;
1064
+ rowSelectionFeature: _tanstack_react_table.TableFeature;
1065
+ rowExpandingFeature: _tanstack_react_table.TableFeature;
1066
+ rowPinningFeature: _tanstack_react_table.TableFeature;
1067
+ rowAggregationFeature: _tanstack_react_table.TableFeature;
1068
+ columnVisibilityFeature: _tanstack_react_table.TableFeature;
1069
+ columnOrderingFeature: _tanstack_react_table.TableFeature;
1070
+ columnPinningFeature: _tanstack_react_table.TableFeature;
1071
+ columnSizingFeature: _tanstack_react_table.TableFeature;
1072
+ columnResizingFeature: _tanstack_react_table.TableFeature;
1073
+ columnFilteringFeature: _tanstack_react_table.TableFeature;
1074
+ globalFilteringFeature: _tanstack_react_table.TableFeature;
1075
+ columnFacetingFeature: _tanstack_react_table.TableFeature;
1076
+ columnGroupingFeature: _tanstack_react_table.TableFeature;
1077
+ cellSelectionFeature: _tanstack_react_table.TableFeature;
1078
+ cellSpanningFeature: _tanstack_react_table.TableFeature;
1079
+ facetedRowModel: (table: _tanstack_react_table.Table<any, any>, columnId: string) => () => _tanstack_react_table.RowModel<any, any>;
1080
+ facetedUniqueValues: (table: _tanstack_react_table.Table<_tanstack_react_table.TableFeatures, any>, columnId: string) => () => Map<any, number>;
1081
+ facetedMinMaxValues: (table: _tanstack_react_table.Table<_tanstack_react_table.TableFeatures, any>, columnId: string) => () => undefined | [number, number];
1082
+ filteredRowModel: (table: _tanstack_react_table.Table<any, any>) => () => _tanstack_react_table.RowModel<any, any>;
1083
+ groupedRowModel: (table: _tanstack_react_table.Table<any, any>) => () => _tanstack_react_table.RowModel<any, any>;
1084
+ sortedRowModel: (table: _tanstack_react_table.Table<any, any>) => () => _tanstack_react_table.RowModel<any, any>;
1085
+ expandedRowModel: (table: _tanstack_react_table.Table<any, any>) => () => _tanstack_react_table.RowModel<any, any>;
1086
+ paginatedRowModel: (table: _tanstack_react_table.Table<any, any>) => () => _tanstack_react_table.RowModel<any, any>;
1087
+ sortFns: {
1088
+ alphanumeric: _tanstack_react_table.CreatedSortFn<any, any>;
1089
+ basic: _tanstack_react_table.CreatedSortFn<any, any>;
1090
+ datetime: _tanstack_react_table.CreatedSortFn<any, any>;
1091
+ text: _tanstack_react_table.CreatedSortFn<any, any>;
1092
+ };
1093
+ filterFns: {
1094
+ arrIncludesSome: _tanstack_react_table.CreatedFilterFn<any, any>;
1095
+ equals: _tanstack_react_table.CreatedFilterFn<any, any>;
1096
+ equalsString: _tanstack_react_table.CreatedFilterFn<any, any>;
1097
+ includesString: _tanstack_react_table.CreatedFilterFn<any, any>;
1098
+ inNumberRange: _tanstack_react_table.CreatedFilterFn<any, any>;
1099
+ };
1100
+ aggregationFns: {
1101
+ count: _tanstack_react_table.AggregationFnDef<any, any, unknown, number>;
1102
+ extent: _tanstack_react_table.AggregationFnDef<any, any, unknown, [(number | Date) | undefined, (number | Date) | undefined]>;
1103
+ max: _tanstack_react_table.AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
1104
+ mean: _tanstack_react_table.AggregationFnDef<any, any, unknown, number | undefined>;
1105
+ median: _tanstack_react_table.AggregationFnDef<any, any, unknown, number | undefined>;
1106
+ min: _tanstack_react_table.AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
1107
+ sum: _tanstack_react_table.AggregationFnDef<any, any, unknown, number>;
1108
+ unique: _tanstack_react_table.AggregationFnDef<any, any, unknown, unknown[]>;
1109
+ uniqueCount: _tanstack_react_table.AggregationFnDef<any, any, unknown, number>;
1110
+ };
1111
+ };
1112
+ /**
1113
+ * A column definition for `DataTable`. Built with TanStack Table's `ColumnDef`, e.g. `{ accessorKey: 'name', header: 'Name' }`.
1114
+ * Besides the usual options it understands `aggregationFn` / `aggregatedCell` (grouping), `spanRows` / `spanColumns`
1115
+ * (cell spanning), `size` / `minSize` / `maxSize` (sizing and resizing), `footer`, and the `meta` below.
1116
+ */
1117
+ type DataTableColumnDef<TData extends RowData> = ColumnDef<typeof features, TData>;
1118
+ /** Optional `meta` on a column that `DataTable` understands. */
1119
+ interface DataTableColumnMeta {
1120
+ /** Right-align the header and cells, for numbers and amounts. */
1121
+ align?: 'left' | 'right';
1122
+ /** Secondary text colour for the column's cells. */
1123
+ muted?: boolean;
1124
+ /** Label shown in menus and used for accessible names. Defaults to the column id. */
1125
+ label?: string;
1126
+ /** Control shown in the filter row (`enableColumnFilters`). `select` offers the values found in the data, with counts. */
1127
+ filterVariant?: 'text' | 'select' | 'range';
1128
+ /** Render the cell as an input; pair with the table's `onCellEdit`. */
1129
+ editable?: boolean;
1130
+ /** Input type of an editable cell. */
1131
+ editType?: 'text' | 'number';
1132
+ }
1133
+ /** Everything `DataTable` can start with when its state is not controlled. */
1134
+ interface DataTableInitialState {
1135
+ sorting?: SortingState;
1136
+ rowSelection?: RowSelectionState;
1137
+ columnVisibility?: ColumnVisibilityState;
1138
+ columnPinning?: Partial<ColumnPinningState>;
1139
+ columnOrder?: ColumnOrderState;
1140
+ columnFilters?: ColumnFiltersState;
1141
+ globalFilter?: string;
1142
+ grouping?: GroupingState;
1143
+ expanded?: ExpandedState;
1144
+ rowPinning?: Partial<RowPinningState>;
1145
+ pagination?: PaginationState;
1146
+ }
1147
+ interface DataTableProps<TData extends RowData> extends Omit<TableProps, 'children' | 'onSelect' | 'onChange'> {
1148
+ /** Column definitions (TanStack `ColumnDef`). Keep the array referentially stable (module scope or `useMemo`). */
1149
+ columns: DataTableColumnDef<TData>[];
1150
+ /** Row data. Keep referentially stable between renders. */
1151
+ data: TData[];
1152
+ /** Stable row id, used for selection, pinning and expansion. Defaults to the row index. */
1153
+ getRowId?: (row: TData, index: number) => string;
1154
+ /** Starting values for state the table owns. Ignored for state you control. */
1155
+ initialState?: DataTableInitialState;
1156
+ /** Let columns be sorted by clicking their header. Opt a single column out with `enableSorting: false`. */
1157
+ enableSorting?: boolean;
1158
+ /** Add a leading checkbox column with a select-all header checkbox. */
1159
+ enableRowSelection?: boolean;
1160
+ /** Show a "Columns" menu that toggles column visibility. */
1161
+ enableColumnVisibility?: boolean;
1162
+ /** Stick columns to the start or end edge. Pin with `initialState.columnPinning` or `column.pin('start' | 'end')`. */
1163
+ enableColumnPinning?: boolean;
1164
+ /** Apply each column's `size` (and `minSize` / `maxSize`) as its width. Implied by column pinning and resizing. */
1165
+ enableColumnSizing?: boolean;
1166
+ /** Drag the header edge to resize columns. Size columns with `size`, `minSize` and `maxSize` in the column definition. */
1167
+ enableColumnResizing?: boolean;
1168
+ /** `onChange` resizes live while dragging; `onEnd` applies the new width on release. */
1169
+ columnResizeMode?: 'onChange' | 'onEnd';
1170
+ /** Reorder columns by dragging their headers, or with Alt + arrow keys on a focused header. */
1171
+ enableColumnOrdering?: boolean;
1172
+ /** Show a filter row under the header. Pick each column's control with `meta.filterVariant`. */
1173
+ enableColumnFilters?: boolean;
1174
+ /** Show a search field above the table that filters across all columns. */
1175
+ enableGlobalFilter?: boolean;
1176
+ /** Placeholder of the global search field. */
1177
+ globalFilterPlaceholder?: string;
1178
+ /** Group rows by one or more columns, with a "Group by" menu. Aggregate with each column's `aggregationFn`. */
1179
+ enableGrouping?: boolean;
1180
+ /** Add a disclosure column to expand sub-rows (`getSubRows`) or a detail panel (`renderSubComponent`). */
1181
+ enableExpanding?: boolean;
1182
+ /** Add a column with a button that pins the row to the top of the table. */
1183
+ enableRowPinning?: boolean;
1184
+ /** Spreadsheet-style selection of cell ranges: drag, Shift-click, Ctrl/Cmd-click, arrow keys, Ctrl/Cmd + A. */
1185
+ enableCellSelection?: boolean;
1186
+ /** Render a footer row from each column's `footer`. */
1187
+ showFooter?: boolean;
1188
+ /** Show the row-density toggle in the toolbar. */
1189
+ enableDensityToggle?: boolean;
1190
+ /** Row density. `compact` uses shorter rows. */
1191
+ density?: 'default' | 'compact';
1192
+ onDensityChange?: (density: 'default' | 'compact') => void;
1193
+ /** Sub-rows of a row, for tree data. */
1194
+ getSubRows?: (row: TData, index: number) => TData[] | undefined;
1195
+ /** Whether a row can expand. Defaults to "has sub-rows", or "always" when `renderSubComponent` is set. */
1196
+ getRowCanExpand?: (row: Row<typeof features, TData>) => boolean;
1197
+ /** Detail panel shown under an expanded row. */
1198
+ renderSubComponent?: (row: TData) => React.ReactNode;
1199
+ /** Rows per page. The pagination bar is hidden when everything fits on one page. */
1200
+ pageSize?: number;
1201
+ /**
1202
+ * Sorting, filtering and pagination happen on your server: pass one page of already processed `data` plus the total `rowCount`,
1203
+ * and read the state through the controlled props below to build the request.
1204
+ */
1205
+ serverSide?: boolean;
1206
+ /** Total number of rows on the server. Required with `serverSide` for the page count. */
1207
+ rowCount?: number;
1208
+ /** Controlled sorting state. Pair with `onSortingChange`. */
1209
+ sorting?: SortingState;
1210
+ onSortingChange?: (sorting: SortingState) => void;
1211
+ /** Controlled selection state, keyed by row id. Pair with `onRowSelectionChange`. */
1212
+ rowSelection?: RowSelectionState;
1213
+ onRowSelectionChange?: (rowSelection: RowSelectionState) => void;
1214
+ /** Controlled pagination state. Pair with `onPaginationChange`. */
1215
+ pagination?: PaginationState;
1216
+ onPaginationChange?: (pagination: PaginationState) => void;
1217
+ /** Controlled column visibility, keyed by column id. Pair with `onColumnVisibilityChange`. */
1218
+ columnVisibility?: ColumnVisibilityState;
1219
+ onColumnVisibilityChange?: (columnVisibility: ColumnVisibilityState) => void;
1220
+ /** Controlled column pinning. Pair with `onColumnPinningChange`. */
1221
+ columnPinning?: ColumnPinningState;
1222
+ onColumnPinningChange?: (columnPinning: ColumnPinningState) => void;
1223
+ /** Controlled column order (column ids). Pair with `onColumnOrderChange`. */
1224
+ columnOrder?: ColumnOrderState;
1225
+ onColumnOrderChange?: (columnOrder: ColumnOrderState) => void;
1226
+ /** Controlled column filters. Pair with `onColumnFiltersChange`. */
1227
+ columnFilters?: ColumnFiltersState;
1228
+ onColumnFiltersChange?: (columnFilters: ColumnFiltersState) => void;
1229
+ /** Controlled global search text. Pair with `onGlobalFilterChange`. */
1230
+ globalFilter?: string;
1231
+ onGlobalFilterChange?: (globalFilter: string) => void;
1232
+ /** Controlled grouping (column ids). Pair with `onGroupingChange`. */
1233
+ grouping?: GroupingState;
1234
+ onGroupingChange?: (grouping: GroupingState) => void;
1235
+ /** Controlled expansion. Pair with `onExpandedChange`. */
1236
+ expanded?: ExpandedState;
1237
+ onExpandedChange?: (expanded: ExpandedState) => void;
1238
+ /** Controlled row pinning. Pair with `onRowPinningChange`. */
1239
+ rowPinning?: RowPinningState;
1240
+ onRowPinningChange?: (rowPinning: RowPinningState) => void;
1241
+ /** Called whenever the selected cell ranges change. */
1242
+ onCellSelectionChange?: (cellSelection: CellSelectionState) => void;
1243
+ /** Called when an editable cell (`meta.editable`) is committed with Enter or blur. Update your data in response. */
1244
+ onCellEdit?: (edit: {
1245
+ row: TData;
1246
+ rowId: string;
1247
+ columnId: string;
1248
+ value: string;
1249
+ }) => void;
1250
+ /** Render only the visible rows. Give the table a bounded height with `containerClassName`, e.g. `max-h-96`. */
1251
+ virtualized?: boolean;
1252
+ /** Row height in pixels used before a row has been measured. Match `h-10` (40) unless rows are taller. */
1253
+ estimateRowHeight?: number;
1254
+ /** Infinite scrolling: called when the end of the table scrolls into view and `hasMore` is true. Disables pagination. Bound the height with `containerClassName` to scroll inside the table. */
1255
+ onLoadMore?: () => void;
1256
+ /** Whether more rows can be loaded. */
1257
+ hasMore?: boolean;
1258
+ /** A page of rows is loading; shows placeholder rows at the end. */
1259
+ loadingMore?: boolean;
1260
+ /** Keep the header in view while the table scrolls. On by default with row pinning and virtualization. */
1261
+ stickyHeader?: boolean;
1262
+ /** Show placeholder rows instead of data. */
1263
+ loading?: boolean;
1264
+ /** Content of the empty state. Defaults to "No results." */
1265
+ emptyState?: React.ReactNode;
1266
+ /** Called when a row is clicked (not when its controls are). */
1267
+ onRowClick?: (row: TData) => void;
1268
+ /** Content for the left side of the toolbar, e.g. filter tabs. */
1269
+ toolbar?: React.ReactNode;
1270
+ /** Class names for the wrapper around the toolbar, table and pagination. */
1271
+ wrapperClassName?: string;
1272
+ }
1273
+ declare function DataTableInner<TData extends RowData>({ columns, data, getRowId, initialState, enableSorting, enableRowSelection, enableColumnVisibility, enableColumnPinning, enableColumnSizing, enableColumnResizing, columnResizeMode, enableColumnOrdering, enableColumnFilters, enableGlobalFilter, globalFilterPlaceholder, enableGrouping, enableExpanding, enableRowPinning, enableCellSelection, showFooter, enableDensityToggle, density: densityProp, onDensityChange, getSubRows, getRowCanExpand, renderSubComponent, pageSize, serverSide, rowCount, sorting: sortingProp, onSortingChange, rowSelection: rowSelectionProp, onRowSelectionChange, pagination: paginationProp, onPaginationChange, columnVisibility: columnVisibilityProp, onColumnVisibilityChange, columnPinning: columnPinningProp, onColumnPinningChange, columnOrder: columnOrderProp, onColumnOrderChange, columnFilters: columnFiltersProp, onColumnFiltersChange, globalFilter: globalFilterProp, onGlobalFilterChange, grouping: groupingProp, onGroupingChange, expanded: expandedProp, onExpandedChange, rowPinning: rowPinningProp, onRowPinningChange, onCellSelectionChange, onCellEdit, virtualized, estimateRowHeight, onLoadMore, hasMore, loadingMore, stickyHeader, loading, emptyState, onRowClick, toolbar, wrapperClassName, striped, containerClassName, containerRef, style: tableStyle, ...tableProps }: DataTableProps<TData>, ref: React.ForwardedRef<HTMLTableElement>): React.JSX.Element;
1274
+ /**
1275
+ * Data-driven table. Wraps `Table` with TanStack Table (`@tanstack/react-table`): sorting, row selection, pagination,
1276
+ * column visibility, pinning, sizing, resizing and ordering, column and global filtering with faceted options, grouping with
1277
+ * aggregation, row expansion and detail panels, row pinning, cell selection and spanning, grouped headers, footers,
1278
+ * inline editing, server-side data, virtualization and infinite scrolling. Every feature is off until its prop is set.
1279
+ * Pass `columns` and `data`; state is local unless you control it.
1280
+ */
1281
+ declare const DataTable: <TData extends RowData>(props: DataTableProps<TData> & {
1282
+ ref?: React.ForwardedRef<HTMLTableElement>;
1283
+ }) => ReturnType<typeof DataTableInner>;
1284
+
1052
1285
  declare const statCardVariants: (props?: ({
1053
1286
  variant?: "default" | "subtle" | "destructive" | "success" | "warning" | null | undefined;
1054
1287
  } & class_variance_authority_types.ClassProp) | undefined) => string;
@@ -1149,4 +1382,4 @@ interface PaginationProps extends Omit<React.HTMLAttributes<HTMLElement>, 'onCha
1149
1382
  }
1150
1383
  declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLElement>>;
1151
1384
 
1152
- export { AIMiniAvatar, type AIMiniAvatarProps, AIResponseContainer, type AIResponseContainerProps, type AIStatus, type ActivitySection, type ActivityStat, ActivityStructure, type ActivityStructureProps, AskAiInput, type AskAiInputProps, AskAiToggle, type AskAiToggleProps, Badge, type BadgeProps, Button, type ButtonProps, Calendar, type CalendarProps, ChatChoices, type ChatChoicesProps, ChatInput, type ChatInputProps, ChatOption, type ChatOptionActionProps, type ChatOptionCheckboxProps, type ChatOptionProps, type ChatOptionRadioProps, Checkbox, CheckboxField, type CheckboxFieldProps, type CheckboxProps, DatePicker, type DatePickerProps, DateTimePicker, type DateTimePickerProps, Dialog, DialogBody, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuSelectableItemProps, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableTag, type EditableTagProps, Field, type FieldControlProps, type FieldProps, type FieldStatus, FileAttachment, type FileAttachmentProps, FileUploadItem, type FileUploadItemProps, FileUploadZone, type FileUploadZoneProps, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, ImagePreview, type ImagePreviewProps, ImageThumbnails, type ImageThumbnailsProps, InlineEdit, type InlineEditMark, type InlineEditProps, Input, type InputProps, InputWithAction, type InputWithActionProps, Label, type LabelProps, MediaInfo, type MediaInfoProps, NumberInput, type NumberInputProps, OpenEndAnswer, type OpenEndAnswerProps, Pagination, type PaginationItemValue, type PaginationProps, Progress, type ProgressProps, ProjectSelector, type ProjectSelectorProps, QuestionCard, type QuestionCheckboxOptionProps, QuestionEditorCard, type QuestionEditorCardProps, QuestionHeader, type QuestionHeaderProps, QuestionNavItem, type QuestionNavItemProps, QuestionOption, QuestionOptionEditor, type QuestionOptionEditorProps, type QuestionOptionProps, QuestionOtherOption, type QuestionOtherOptionProps, type QuestionRadioOptionProps, type QuestionType, QuestionTypeIcon, type QuestionTypeIconProps, RadioGroup, RadioGroupFieldItem, type RadioGroupFieldItemProps, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RankItemData, RankList, type RankListProps, RatingScale, type RatingScaleProps, SearchBar, type SearchBarProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectTrigger, type SelectTriggerProps, SelectValue, Slider, type SliderProps, StatCard, type StatCardProps, StatusTag, type StatusTagProps, StimulusCard, type StimulusCardProps, Switch, type SwitchProps, TabItem, type TabItemProps, TabNavigation, TabNavigationContext, type TabNavigationProps, type TabNavigationVariant, Table, TableBody, TableCell, type TableCellProps, TableCellTwoLines, type TableCellTwoLinesProps, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, Tag, type TagProps, Textarea, type TextareaProps, TimeItem, type TimeItemProps, TimePicker, type TimePickerProps, type TimeValue, Timestamp, type TimestampProps, Toast, ToastAction, ToastInline, type ToastInlineProps, type ToastInlineVariant, type ToastProps, ToastProvider, type ToastVariant, ToastViewport, Toggle, type ToggleProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, TopicActivityRow, type TopicActivityRowProps, TopicCard, TopicCardMetaItem, type TopicCardMetaItemProps, type TopicCardProps, TopicCardTag, UserMessageBubble, type UserMessageBubbleProps, VideoPlayer, type VideoPlayerProps, VolumeControl, type VolumeControlProps, fieldSurfaceClasses, formatDateTime, getPaginationItems, useFormField };
1385
+ export { AIMiniAvatar, type AIMiniAvatarProps, AIResponseContainer, type AIResponseContainerProps, type AIStatus, type ActivitySection, type ActivityStat, ActivityStructure, type ActivityStructureProps, AskAiInput, type AskAiInputProps, AskAiToggle, type AskAiToggleProps, Badge, type BadgeProps, Button, type ButtonProps, Calendar, type CalendarProps, ChatChoices, type ChatChoicesProps, ChatInput, type ChatInputProps, ChatOption, type ChatOptionActionProps, type ChatOptionCheckboxProps, type ChatOptionProps, type ChatOptionRadioProps, Checkbox, CheckboxField, type CheckboxFieldProps, type CheckboxProps, DataTable, type DataTableColumnDef, type DataTableColumnMeta, type DataTableInitialState, type DataTableProps, DatePicker, type DatePickerProps, DateTimePicker, type DateTimePickerProps, Dialog, DialogBody, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuSelectableItemProps, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableTag, type EditableTagProps, Field, type FieldControlProps, type FieldProps, type FieldStatus, FileAttachment, type FileAttachmentProps, FileUploadItem, type FileUploadItemProps, FileUploadZone, type FileUploadZoneProps, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, ImagePreview, type ImagePreviewProps, ImageThumbnails, type ImageThumbnailsProps, InlineEdit, type InlineEditMark, type InlineEditProps, Input, type InputProps, InputWithAction, type InputWithActionProps, Label, type LabelProps, MediaInfo, type MediaInfoProps, NumberInput, type NumberInputProps, OpenEndAnswer, type OpenEndAnswerProps, Pagination, type PaginationItemValue, type PaginationProps, Progress, type ProgressProps, ProjectSelector, type ProjectSelectorProps, QuestionCard, type QuestionCheckboxOptionProps, QuestionEditorCard, type QuestionEditorCardProps, QuestionHeader, type QuestionHeaderProps, QuestionNavItem, type QuestionNavItemProps, QuestionOption, QuestionOptionEditor, type QuestionOptionEditorProps, type QuestionOptionProps, QuestionOtherOption, type QuestionOtherOptionProps, type QuestionRadioOptionProps, type QuestionType, QuestionTypeIcon, type QuestionTypeIconProps, RadioGroup, RadioGroupFieldItem, type RadioGroupFieldItemProps, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RankItemData, RankList, type RankListProps, RatingScale, type RatingScaleProps, SearchBar, type SearchBarProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectTrigger, type SelectTriggerProps, SelectValue, Slider, type SliderProps, StatCard, type StatCardProps, StatusTag, type StatusTagProps, StimulusCard, type StimulusCardProps, Switch, type SwitchProps, TabItem, type TabItemProps, TabNavigation, TabNavigationContext, type TabNavigationProps, type TabNavigationVariant, Table, TableBody, TableCell, type TableCellProps, TableCellTwoLines, type TableCellTwoLinesProps, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, Tag, type TagProps, Textarea, type TextareaProps, TimeItem, type TimeItemProps, TimePicker, type TimePickerProps, type TimeValue, Timestamp, type TimestampProps, Toast, ToastAction, ToastInline, type ToastInlineProps, type ToastInlineVariant, type ToastProps, ToastProvider, type ToastVariant, ToastViewport, Toggle, type ToggleProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, TopicActivityRow, type TopicActivityRowProps, TopicCard, TopicCardMetaItem, type TopicCardMetaItemProps, type TopicCardProps, TopicCardTag, UserMessageBubble, type UserMessageBubbleProps, VideoPlayer, type VideoPlayerProps, VolumeControl, type VolumeControlProps, fieldSurfaceClasses, formatDateTime, getPaginationItems, useFormField };