@rafal.lemieszewski/tide-ui 0.42.0 → 0.44.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/components/index.d.ts +6 -2
- package/dist/components/ui/activity-log.d.ts +61 -0
- package/dist/components/ui/attributes-list.d.ts +94 -0
- package/dist/components/ui/avatar-group.d.ts +16 -0
- package/dist/components/ui/avatar.d.ts +2 -2
- package/dist/components/ui/badge.d.ts +1 -2
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/data-table.d.ts +50 -2
- package/dist/components/ui/spinner.d.ts +1 -1
- package/dist/index.cjs.js +1698 -1698
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +22125 -21535
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/ui/timeline.d.ts +0 -58
|
@@ -4,6 +4,8 @@ export { Chart, generateChartColors, createChartConfig, chartColorSchemes } from
|
|
|
4
4
|
export type { ChartProps, ChartConfig, ChartDataPoint, ChartType, ChartColorScheme } from './ui/chart';
|
|
5
5
|
export { Avatar, AvatarImage, AvatarFallback, avatarVariants, avatarFallbackVariants } from './ui/avatar';
|
|
6
6
|
export type { AvatarProps, AvatarFallbackProps } from './ui/avatar';
|
|
7
|
+
export { AvatarGroup } from './ui/avatar-group';
|
|
8
|
+
export type { AvatarGroupProps, AvatarGroupSize } from './ui/avatar-group';
|
|
7
9
|
export { Badge } from './ui/badge';
|
|
8
10
|
export type { BadgeProps } from './ui/badge';
|
|
9
11
|
export { Collapsible, CollapsibleTrigger, CollapsibleContent } from './ui/collapsible';
|
|
@@ -27,8 +29,10 @@ export type { FixtureStatusProps, StatusValue, StatusConfig } from './ui/fixture
|
|
|
27
29
|
export { Switch } from './ui/switch';
|
|
28
30
|
export { Textarea } from './ui/textarea';
|
|
29
31
|
export type { TextareaProps } from './ui/textarea';
|
|
30
|
-
export {
|
|
31
|
-
export type {
|
|
32
|
+
export { ActivityLog, ActivityLogItem, ActivityLogSeparator, ActivityLogHeader, ActivityLogContent, ActivityLogDescription, ActivityLogTime, ActivityLogChevron, ActivityLogValue, } from './ui/activity-log';
|
|
33
|
+
export type { ActivityLogProps, ActivityLogItemProps, ActivityLogSeparatorProps, ActivityLogHeaderProps, ActivityLogContentProps, ActivityLogDescriptionProps, ActivityLogTimeProps, ActivityLogChevronProps, ActivityLogValueProps, } from './ui/activity-log';
|
|
34
|
+
export { AttributesList, AttributesSeparator, AttributesGroup, AttributesItem, AttributesRow, AttributesLabel, AttributesValue, AttributesContent, AttributesChevron, } from './ui/attributes-list';
|
|
35
|
+
export type { AttributesListProps, AttributesSeparatorProps, AttributesGroupProps, AttributesItemProps, AttributesRowProps, AttributesLabelProps, AttributesValueProps, AttributesContentProps, AttributesChevronProps, } from './ui/attributes-list';
|
|
32
36
|
export { Editable, EditablePreview, EditableInput, EditableDisplay, EditableField } from './ui/editable';
|
|
33
37
|
export type { EditableProps, EditablePreviewProps, EditableInputProps } from './ui/editable';
|
|
34
38
|
export { FormField, FormLabel, FormControl, FormHelperText, FormErrorMessage } from './ui/form-field';
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { CollapsibleContent } from './collapsible';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface ActivityLogProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/**
|
|
5
|
+
* Time threshold in milliseconds. If the time difference between consecutive
|
|
6
|
+
* ActivityLogItem timestamps exceeds this value, a ActivityLogSeparator will be
|
|
7
|
+
* automatically inserted between them.
|
|
8
|
+
*/
|
|
9
|
+
separatorThreshold?: number;
|
|
10
|
+
}
|
|
11
|
+
declare const ActivityLog: React.ForwardRefExoticComponent<ActivityLogProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export interface ActivityLogItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
13
|
+
/**
|
|
14
|
+
* Whether this timeline item can be expanded/collapsed
|
|
15
|
+
*/
|
|
16
|
+
collapsible?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Default open state for uncontrolled collapsible items
|
|
19
|
+
*/
|
|
20
|
+
defaultOpen?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Controlled open state
|
|
23
|
+
*/
|
|
24
|
+
open?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Callback when open state changes
|
|
27
|
+
*/
|
|
28
|
+
onOpenChange?: (open: boolean) => void;
|
|
29
|
+
/**
|
|
30
|
+
* Timestamp for this activity log item (used for automatic separator insertion)
|
|
31
|
+
*/
|
|
32
|
+
timestamp?: Date | number | string;
|
|
33
|
+
}
|
|
34
|
+
declare const ActivityLogItem: React.ForwardRefExoticComponent<ActivityLogItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
export interface ActivityLogSeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
36
|
+
}
|
|
37
|
+
declare const ActivityLogSeparator: React.ForwardRefExoticComponent<ActivityLogSeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
export interface ActivityLogHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
39
|
+
/**
|
|
40
|
+
* If true, the header will render as a CollapsibleTrigger
|
|
41
|
+
* This is automatically set when ActivityLogItem has collapsible={true}
|
|
42
|
+
*/
|
|
43
|
+
asCollapsibleTrigger?: boolean;
|
|
44
|
+
}
|
|
45
|
+
declare const ActivityLogHeader: React.ForwardRefExoticComponent<ActivityLogHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
46
|
+
export interface ActivityLogContentProps extends React.ComponentPropsWithoutRef<typeof CollapsibleContent> {
|
|
47
|
+
}
|
|
48
|
+
declare const ActivityLogContent: React.ForwardRefExoticComponent<ActivityLogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
49
|
+
export interface ActivityLogDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
50
|
+
}
|
|
51
|
+
declare const ActivityLogDescription: React.ForwardRefExoticComponent<ActivityLogDescriptionProps & React.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
export interface ActivityLogTimeProps extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
53
|
+
}
|
|
54
|
+
declare const ActivityLogTime: React.ForwardRefExoticComponent<ActivityLogTimeProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
55
|
+
export interface ActivityLogChevronProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
56
|
+
}
|
|
57
|
+
declare const ActivityLogChevron: React.ForwardRefExoticComponent<ActivityLogChevronProps & React.RefAttributes<HTMLDivElement>>;
|
|
58
|
+
export interface ActivityLogValueProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
59
|
+
}
|
|
60
|
+
declare const ActivityLogValue: React.ForwardRefExoticComponent<ActivityLogValueProps & React.RefAttributes<HTMLDivElement>>;
|
|
61
|
+
export { ActivityLog, ActivityLogItem, ActivityLogSeparator, ActivityLogHeader, ActivityLogContent, ActivityLogDescription, ActivityLogTime, ActivityLogChevron, ActivityLogValue, };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { CollapsibleContent } from './collapsible';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface AttributesListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/**
|
|
5
|
+
* Label for the "View all" button that shows hidden items
|
|
6
|
+
* @default "More details"
|
|
7
|
+
*/
|
|
8
|
+
showHiddenLabel?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Label for the "View less" button that hides hidden items
|
|
11
|
+
* @default "Less details"
|
|
12
|
+
*/
|
|
13
|
+
hideLabel?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Default visibility state for hidden items
|
|
16
|
+
*/
|
|
17
|
+
defaultShowHidden?: boolean;
|
|
18
|
+
}
|
|
19
|
+
declare const AttributesList: React.ForwardRefExoticComponent<AttributesListProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
export interface AttributesSeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
21
|
+
}
|
|
22
|
+
declare const AttributesSeparator: React.ForwardRefExoticComponent<AttributesSeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
export interface AttributesGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
24
|
+
/**
|
|
25
|
+
* Section label/header
|
|
26
|
+
*/
|
|
27
|
+
label?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Label for the "View all" button that shows hidden items
|
|
30
|
+
* @default "More details"
|
|
31
|
+
*/
|
|
32
|
+
showHiddenLabel?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Label for the "View less" button that hides hidden items
|
|
35
|
+
* @default "Less details"
|
|
36
|
+
*/
|
|
37
|
+
hideLabel?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Default visibility state for hidden items
|
|
40
|
+
*/
|
|
41
|
+
defaultShowHidden?: boolean;
|
|
42
|
+
}
|
|
43
|
+
declare const AttributesGroup: React.ForwardRefExoticComponent<AttributesGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
export interface AttributesItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
45
|
+
/**
|
|
46
|
+
* Whether this item can be expanded/collapsed
|
|
47
|
+
*/
|
|
48
|
+
collapsible?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Default open state for uncontrolled collapsible items
|
|
51
|
+
*/
|
|
52
|
+
defaultOpen?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Controlled open state
|
|
55
|
+
*/
|
|
56
|
+
open?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Callback when open state changes
|
|
59
|
+
*/
|
|
60
|
+
onOpenChange?: (open: boolean) => void;
|
|
61
|
+
/**
|
|
62
|
+
* Whether this item should be hidden until "View all" is clicked
|
|
63
|
+
*/
|
|
64
|
+
hidden?: boolean;
|
|
65
|
+
}
|
|
66
|
+
declare const AttributesItem: React.ForwardRefExoticComponent<AttributesItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
67
|
+
export interface AttributesRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
68
|
+
/**
|
|
69
|
+
* If true, the row will render as a CollapsibleTrigger
|
|
70
|
+
* This is automatically set when AttributesItem has collapsible={true}
|
|
71
|
+
*/
|
|
72
|
+
asCollapsibleTrigger?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Optional external link configuration
|
|
75
|
+
*/
|
|
76
|
+
externalLink?: {
|
|
77
|
+
href: string;
|
|
78
|
+
label: string;
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
declare const AttributesRow: React.ForwardRefExoticComponent<AttributesRowProps & React.RefAttributes<HTMLDivElement>>;
|
|
82
|
+
export interface AttributesLabelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
83
|
+
}
|
|
84
|
+
declare const AttributesLabel: React.ForwardRefExoticComponent<AttributesLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
85
|
+
export interface AttributesValueProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
86
|
+
}
|
|
87
|
+
declare const AttributesValue: React.ForwardRefExoticComponent<AttributesValueProps & React.RefAttributes<HTMLDivElement>>;
|
|
88
|
+
export interface AttributesContentProps extends React.ComponentPropsWithoutRef<typeof CollapsibleContent> {
|
|
89
|
+
}
|
|
90
|
+
declare const AttributesContent: React.ForwardRefExoticComponent<AttributesContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
91
|
+
export interface AttributesChevronProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
92
|
+
}
|
|
93
|
+
declare const AttributesChevron: React.ForwardRefExoticComponent<AttributesChevronProps & React.RefAttributes<HTMLDivElement>>;
|
|
94
|
+
export { AttributesList, AttributesSeparator, AttributesGroup, AttributesItem, AttributesRow, AttributesLabel, AttributesValue, AttributesContent, AttributesChevron, };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const avatarGroupOverlapClasses: {
|
|
3
|
+
readonly xxs: "-ml-[6px]";
|
|
4
|
+
readonly xs: "-ml-[var(--space-xsm)]";
|
|
5
|
+
readonly sm: "-ml-[var(--space-sm)]";
|
|
6
|
+
readonly md: "-ml-[var(--space-md)]";
|
|
7
|
+
readonly lg: "-ml-[var(--space-lg)]";
|
|
8
|
+
readonly xl: "-ml-[var(--space-lg)]";
|
|
9
|
+
};
|
|
10
|
+
export type AvatarGroupSize = keyof typeof avatarGroupOverlapClasses;
|
|
11
|
+
export interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
12
|
+
/** Size of avatars in the group (determines overlap amount) */
|
|
13
|
+
size?: AvatarGroupSize;
|
|
14
|
+
}
|
|
15
|
+
declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export { AvatarGroup };
|
|
@@ -3,11 +3,11 @@ import * as React from "react";
|
|
|
3
3
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
4
4
|
declare const avatarVariants: (props?: ({
|
|
5
5
|
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
6
|
-
|
|
6
|
+
type?: "user" | "organization" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
declare const avatarFallbackVariants: (props?: ({
|
|
9
9
|
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
10
|
-
|
|
10
|
+
type?: "user" | "organization" | null | undefined;
|
|
11
11
|
variant?: "success" | "warning" | "magenta" | "violet" | "information" | "error" | null | undefined;
|
|
12
12
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
13
13
|
interface AvatarProps extends React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
|
|
5
4
|
intent?: "success" | "warning" | "destructive" | "magenta" | "violet" | "information" | "neutral" | "brand" | null | undefined;
|
|
6
|
-
appearance?: "solid" | "
|
|
5
|
+
appearance?: "solid" | "subtle" | "outline" | null | undefined;
|
|
7
6
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
8
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
8
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
import { IconType } from './icon';
|
|
4
4
|
declare const buttonVariants: (props?: ({
|
|
5
|
-
variant?: "default" | "success" | "destructive" | "
|
|
5
|
+
variant?: "default" | "success" | "destructive" | "primary" | "secondary" | "ghost" | null | undefined;
|
|
6
6
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
7
|
iconPosition?: "none" | "left" | "right" | "only" | null | undefined;
|
|
8
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -40,9 +40,35 @@ declare module '@tanstack/react-table' {
|
|
|
40
40
|
align?: 'left' | 'right';
|
|
41
41
|
truncate?: boolean;
|
|
42
42
|
}
|
|
43
|
+
interface ColumnDefBase<TData extends unknown, TValue = unknown> {
|
|
44
|
+
/**
|
|
45
|
+
* Custom cell renderer for section header rows.
|
|
46
|
+
* Similar to aggregatedCell for grouped rows, this allows rendering
|
|
47
|
+
* custom content for rows that act as section headers.
|
|
48
|
+
*
|
|
49
|
+
* When this returns non-null content, the row is treated as a section header:
|
|
50
|
+
* - The cell spans the full table width (colSpan = all columns)
|
|
51
|
+
* - Appropriate section header styling is applied
|
|
52
|
+
* - Other cells in the row are not rendered
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* {
|
|
56
|
+
* id: 'broker',
|
|
57
|
+
* accessorKey: 'broker',
|
|
58
|
+
* sectionHeaderCell: ({ row }) => {
|
|
59
|
+
* if (row.original.isSectionHeader) {
|
|
60
|
+
* return <div>Section: {row.original.name}</div>
|
|
61
|
+
* }
|
|
62
|
+
* return null
|
|
63
|
+
* }
|
|
64
|
+
* }
|
|
65
|
+
*/
|
|
66
|
+
sectionHeaderCell?: (info: any) => React.ReactNode;
|
|
67
|
+
}
|
|
43
68
|
}
|
|
44
69
|
declare const fuzzyFilter: FilterFn<any>;
|
|
45
70
|
declare const multiSelectFilter: FilterFn<any>;
|
|
71
|
+
declare const groupPreservingGlobalFilter: FilterFn<any>;
|
|
46
72
|
interface DataTableSkeletonProps {
|
|
47
73
|
columns: number;
|
|
48
74
|
rows: number;
|
|
@@ -104,6 +130,22 @@ export interface DataTableProps<TData, TValue> {
|
|
|
104
130
|
globalSearchPlaceholder?: string;
|
|
105
131
|
enableExpanding?: boolean;
|
|
106
132
|
getSubRows?: (row: TData) => TData[] | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* Custom color overrides for expanding rows at different depths and states.
|
|
135
|
+
* If not provided, uses smart context-aware defaults that match grouping colors.
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* expandingRowColors={{
|
|
139
|
+
* expandedParent: 'var(--blue-50)',
|
|
140
|
+
* collapsedParent: 'var(--color-background-neutral-subtle)',
|
|
141
|
+
* children: 'var(--blue-25)'
|
|
142
|
+
* }}
|
|
143
|
+
*/
|
|
144
|
+
expandingRowColors?: {
|
|
145
|
+
expandedParent?: string;
|
|
146
|
+
collapsedParent?: string;
|
|
147
|
+
children?: string;
|
|
148
|
+
};
|
|
107
149
|
enableGrouping?: boolean;
|
|
108
150
|
groupedColumnMode?: 'reorder' | 'remove' | false;
|
|
109
151
|
enableManualGrouping?: boolean;
|
|
@@ -219,8 +261,14 @@ export interface DataTableProps<TData, TValue> {
|
|
|
219
261
|
* Default: applies cursor-pointer and hover background if onRowClick is provided
|
|
220
262
|
*/
|
|
221
263
|
clickableRowClassName?: string;
|
|
264
|
+
/**
|
|
265
|
+
* When enabled with grouping, preserves entire groups during global search.
|
|
266
|
+
* If any row in a group matches, the entire group is shown and auto-expanded.
|
|
267
|
+
* Also enables highlighting of matched search terms.
|
|
268
|
+
*/
|
|
269
|
+
groupPreservingSearch?: boolean;
|
|
222
270
|
}
|
|
223
|
-
export declare function DataTable<TData, TValue>({ columns, data, searchKey, searchPlaceholder, title, className, stickyHeader, stickyFirstColumn, stickyLeftColumns, stickyRightColumns, enableResponsiveWrapper, showScrollIndicators, isLoading, loadingRowCount, borderStyle, enableGlobalSearch, globalSearchPlaceholder, enableGlobalFaceting, enableColumnResizing, columnResizeMode, enableColumnResizePersistence, storageKey, enableExpanding, getSubRows, enableGrouping, groupedColumnMode, enableManualGrouping, groupDisplayColumn, hideChildrenForSingleItemGroups, hideExpanderForSingleItemGroups, enableRowPinning, keepPinnedRows, enableVirtualization, nestedHeaders, enableNestedHeaders, enableColumnOrdering, enableRowSelection, showHeader, showPagination, onTableReady, initialState, sorting: controlledSorting, onSortingChange: onControlledSortingChange, columnVisibility: controlledColumnVisibility, onColumnVisibilityChange: onControlledColumnVisibilityChange, grouping: controlledGrouping, onGroupingChange: onControlledGroupingChange, columnOrder: controlledColumnOrder, onColumnOrderChange: onControlledColumnOrderChange, columnSizing: controlledColumnSizing, onColumnSizingChange: onControlledColumnSizingChange, renderSectionHeaderRow, autoExpandChildren, onRowClick, isRowClickable, clickableRowClassName, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
|
|
224
|
-
export { DataTableColumnHeader, DataTableFilter, DataTableToolbar, DataTablePagination, DataTableSkeleton, fuzzyFilter, multiSelectFilter };
|
|
271
|
+
export declare function DataTable<TData, TValue>({ columns, data, searchKey, searchPlaceholder, title, className, stickyHeader, stickyFirstColumn, stickyLeftColumns, stickyRightColumns, enableResponsiveWrapper, showScrollIndicators, isLoading, loadingRowCount, borderStyle, enableGlobalSearch, globalSearchPlaceholder, enableGlobalFaceting, enableColumnResizing, columnResizeMode, enableColumnResizePersistence, storageKey, enableExpanding, getSubRows, expandingRowColors, enableGrouping, groupedColumnMode, enableManualGrouping, groupDisplayColumn, hideChildrenForSingleItemGroups, hideExpanderForSingleItemGroups, enableRowPinning, keepPinnedRows, enableVirtualization, nestedHeaders, enableNestedHeaders, enableColumnOrdering, enableRowSelection, showHeader, showPagination, onTableReady, initialState, sorting: controlledSorting, onSortingChange: onControlledSortingChange, columnVisibility: controlledColumnVisibility, onColumnVisibilityChange: onControlledColumnVisibilityChange, grouping: controlledGrouping, onGroupingChange: onControlledGroupingChange, columnOrder: controlledColumnOrder, onColumnOrderChange: onControlledColumnOrderChange, columnSizing: controlledColumnSizing, onColumnSizingChange: onControlledColumnSizingChange, renderSectionHeaderRow, autoExpandChildren, onRowClick, isRowClickable, clickableRowClassName, groupPreservingSearch, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
|
|
272
|
+
export { DataTableColumnHeader, DataTableFilter, DataTableToolbar, DataTablePagination, DataTableSkeleton, fuzzyFilter, multiSelectFilter, groupPreservingGlobalFilter };
|
|
225
273
|
export { useReactTable } from '@tanstack/react-table';
|
|
226
274
|
export type { SortingState, ColumnFiltersState, VisibilityState, ExpandedState, GroupingState, ColumnOrderState, FilterFn, ColumnResizeMode, } from '@tanstack/react-table';
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const spinnerVariants: (props?: ({
|
|
4
4
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
5
|
-
variant?: "default" | "success" | "warning" | "error" | "
|
|
5
|
+
variant?: "default" | "success" | "warning" | "error" | "primary" | "secondary" | "tertiary" | "disabled" | "inverse" | null | undefined;
|
|
6
6
|
speed?: "normal" | "slow" | "fast" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
export interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
|