@redis-ui/table 2.25.0 → 3.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/Table/Table.cjs +27 -4
  2. package/dist/Table/Table.context.d.ts +0 -1
  3. package/dist/Table/Table.d.ts +18 -14
  4. package/dist/Table/Table.js +27 -4
  5. package/dist/Table/Table.style.cjs +65 -39
  6. package/dist/Table/Table.style.d.ts +9 -6
  7. package/dist/Table/Table.style.js +65 -39
  8. package/dist/Table/Table.types.d.ts +8 -20
  9. package/dist/Table/components/Compose/Compose.cjs +2 -3
  10. package/dist/Table/components/Compose/Compose.d.ts +1 -1
  11. package/dist/Table/components/Compose/Compose.js +2 -3
  12. package/dist/Table/components/PluggableTable/PluggableTable.cjs +7 -1
  13. package/dist/Table/components/PluggableTable/PluggableTable.d.ts +3 -1
  14. package/dist/Table/components/PluggableTable/PluggableTable.js +7 -1
  15. package/dist/Table/components/PluggableTable/compositionComponents.cjs +4 -0
  16. package/dist/Table/components/PluggableTable/compositionComponents.d.ts +6 -4
  17. package/dist/Table/components/PluggableTable/compositionComponents.js +4 -0
  18. package/dist/Table/components/TableBody/TableBody.d.ts +2 -2
  19. package/dist/Table/components/TableBodyCell/TableBodyCell.d.ts +1 -1
  20. package/dist/Table/components/TableBodyCell/components/Compose/Compose.d.ts +1 -1
  21. package/dist/Table/components/TableBodyRow/TableBodyRow.d.ts +1 -1
  22. package/dist/Table/components/TableBodyRow/components/Compose/Compose.d.ts +1 -1
  23. package/dist/Table/components/TableBottomBar/TableBottomBar.cjs +12 -0
  24. package/dist/Table/components/TableBottomBar/TableBottomBar.d.ts +2 -0
  25. package/dist/Table/components/TableBottomBar/TableBottomBar.js +12 -0
  26. package/dist/Table/components/TableBottomBar/TableBottomBar.test.d.ts +1 -0
  27. package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.cjs +8 -1
  28. package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.d.ts +1 -1
  29. package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.js +9 -2
  30. package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.style.cjs +11 -1
  31. package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.style.d.ts +3 -2
  32. package/dist/Table/components/TableExpandedRow/TableAnimatedExpandedRow.style.js +11 -1
  33. package/dist/Table/components/TableExpandedRow/TableExpandedRow.cjs +2 -1
  34. package/dist/Table/components/TableExpandedRow/TableExpandedRow.d.ts +1 -1
  35. package/dist/Table/components/TableExpandedRow/TableExpandedRow.js +2 -1
  36. package/dist/Table/components/TableExpandedRow/TableExpandedRow.style.cjs +2 -2
  37. package/dist/Table/components/TableExpandedRow/TableExpandedRow.style.js +2 -2
  38. package/dist/Table/components/TableExpandedRow/TableExpandedRow.types.d.ts +3 -2
  39. package/dist/Table/components/TableHeader/TableHeader.d.ts +1 -1
  40. package/dist/Table/components/TableHeaderCell/TableHeaderCell.d.ts +1 -1
  41. package/dist/Table/components/TableHeaderCell/components/Compose/Compose.cjs +1 -1
  42. package/dist/Table/components/TableHeaderCell/components/Compose/Compose.d.ts +1 -1
  43. package/dist/Table/components/TableHeaderCell/components/Compose/Compose.js +2 -2
  44. package/dist/Table/components/TablePagination/TablePagination.style.cjs +1 -1
  45. package/dist/Table/components/TablePagination/TablePagination.style.js +1 -1
  46. package/dist/Table/components/TableRoot/TableRoot.cjs +6 -3
  47. package/dist/Table/components/TableRoot/TableRoot.js +7 -4
  48. package/dist/Table/components/TableTopBar/TableTopBar.cjs +12 -0
  49. package/dist/Table/components/TableTopBar/TableTopBar.d.ts +2 -0
  50. package/dist/Table/components/TableTopBar/TableTopBar.js +12 -0
  51. package/dist/Table/components/TableTopBar/TableTopBar.test.d.ts +1 -0
  52. package/dist/Table/index.d.ts +1 -0
  53. package/dist/Table/plugins/ColumnVisibilityPlugin.cjs +14 -0
  54. package/dist/Table/plugins/ColumnVisibilityPlugin.d.ts +10 -0
  55. package/dist/Table/plugins/ColumnVisibilityPlugin.js +14 -0
  56. package/dist/Table/plugins/ColumnVisibilityPlugin.test.d.ts +1 -0
  57. package/dist/Table/plugins/FilteringPlugin.cjs +25 -0
  58. package/dist/Table/plugins/FilteringPlugin.d.ts +20 -0
  59. package/dist/Table/plugins/FilteringPlugin.js +25 -0
  60. package/dist/Table/plugins/FilteringPlugin.test.d.ts +1 -0
  61. package/dist/Table/tanStackExtendedTypes.d.ts +3 -3
  62. package/dist/Table/utils/table.utils.cjs +13 -0
  63. package/dist/Table/utils/table.utils.d.ts +12 -0
  64. package/dist/Table/utils/table.utils.js +13 -0
  65. package/dist/index.cjs +2 -0
  66. package/dist/index.js +2 -0
  67. package/package.json +4 -4
@@ -19,6 +19,8 @@ const ShowOnRowHover_style = require("./components/ShowOnRowHover/ShowOnRowHover
19
19
  const ExpandAllRowsButton = require("./components/ExpandRowButton/ExpandAllRowsButton.cjs");
20
20
  const useExpanderColumn = require("./components/ExpandRowButton/useExpanderColumn.cjs");
21
21
  const useRowSelectionColumn = require("./components/RowSelection/useRowSelectionColumn.cjs");
22
+ const FilteringPlugin = require("./plugins/FilteringPlugin.cjs");
23
+ const ColumnVisibilityPlugin = require("./plugins/ColumnVisibilityPlugin.cjs");
22
24
  const Table = Object.assign(({
23
25
  columns,
24
26
  caption,
@@ -26,7 +28,6 @@ const Table = Object.assign(({
26
28
  data,
27
29
  getRowId,
28
30
  emptyState,
29
- maxHeight,
30
31
  minWidth,
31
32
  stripedRows = false,
32
33
  // sorting
@@ -61,12 +62,32 @@ const Table = Object.assign(({
61
62
  getRowCanSelect,
62
63
  selectRowOnClick,
63
64
  // row navigation
64
- enableRowNavigation = false
65
+ enableRowNavigation = false,
66
+ // filtering and searching
67
+ enableFiltering,
68
+ columnFilters,
69
+ globalFilter,
70
+ globalFilterFn,
71
+ filterFns,
72
+ // column visibility
73
+ columnVisibility,
74
+ // rest
75
+ ...restProps
65
76
  }) => {
66
77
  const clickableRowPluginData = ClickableRowPlugin.useClickableRowPlugin({
67
78
  onRowClick: onRowClick && ((row) => onRowClick(row.original)),
68
79
  shouldClickOnEnter: true
69
80
  });
81
+ const columnVisibilityPluginData = ColumnVisibilityPlugin.useColumnVisibilityPlugin({
82
+ columnVisibility
83
+ });
84
+ const filteringPluginData = FilteringPlugin.useFilteringPlugin({
85
+ enableFiltering,
86
+ columnFilters,
87
+ globalFilter,
88
+ globalFilterFn,
89
+ filterFns
90
+ });
70
91
  const sortingPluginData = SortingPlugin.useSortingPlugin({
71
92
  enableSorting,
72
93
  defaultSorting,
@@ -109,10 +130,10 @@ const Table = Object.assign(({
109
130
  enableRowNavigation
110
131
  });
111
132
  return jsxRuntime.jsxRuntimeExports.jsx(Table.PluggableTable, {
133
+ ...restProps,
112
134
  ...{
113
135
  data,
114
136
  columns,
115
- maxHeight,
116
137
  minWidth,
117
138
  stripedRows,
118
139
  caption,
@@ -121,7 +142,7 @@ const Table = Object.assign(({
121
142
  tableOptions: {
122
143
  getRowId
123
144
  },
124
- pluginsData: [clickableRowPluginData, sortingPluginData, paginationPluginData, expandableRowPluginData, rowSelectionPluginData, rowNavigationPluginData]
145
+ pluginsData: [clickableRowPluginData, sortingPluginData, columnVisibilityPluginData, filteringPluginData, paginationPluginData, expandableRowPluginData, rowSelectionPluginData, rowNavigationPluginData]
125
146
  });
126
147
  }, {
127
148
  ExpandRowButton: ExpandRowButton.ExpandRowButton,
@@ -136,6 +157,8 @@ const Table = Object.assign(({
136
157
  // plugins
137
158
  useClickableRowPlugin: ClickableRowPlugin.useClickableRowPlugin,
138
159
  useSortingPlugin: SortingPlugin.useSortingPlugin,
160
+ useColumnVisibilityPlugin: ColumnVisibilityPlugin.useColumnVisibilityPlugin,
161
+ useFilteringPlugin: FilteringPlugin.useFilteringPlugin,
139
162
  usePaginationPlugin: PaginationPlugin.usePaginationPlugin,
140
163
  useExpandableRowPlugin: ExpandableRowPlugin.useExpandableRowPlugin,
141
164
  useRowSelectionPlugin: RowSelectionPlugin.useRowSelectionPlugin,
@@ -12,7 +12,6 @@ export type CompositionContextProps<T extends object> = {
12
12
  };
13
13
  export type TableMainContextProps = {
14
14
  stripedRows?: boolean;
15
- maxHeight?: string;
16
15
  minWidth?: string;
17
16
  };
18
17
  export type TableContextProps<T extends object> = TableMainContextProps & {
@@ -2,8 +2,10 @@
2
2
  import './tanStackExtendedTypes';
3
3
  import type { Row } from '@tanstack/react-table';
4
4
  import { TableProps } from './Table.types';
5
- declare const Table: (<T extends object>({ columns, caption, onRowClick, data, getRowId, emptyState, maxHeight, minWidth, stripedRows, enableSorting, defaultSorting, onSortingChange, sorting, manualSorting, defaultExpanded, expanded, onExpandedChange, getIsRowExpandable, renderExpandedRow, expandRowOnClick, expandedRowComponent, getSubRows, pagination, defaultPagination, onPaginationChange, manualPagination, totalRowCount, totalPageCount, pageSizes, paginationEnabled, rowSelection, defaultRowSelection, onRowSelectionChange, rowSelectionMode, getRowCanSelect, selectRowOnClick, enableRowNavigation }: TableProps<T>) => import("react/jsx-runtime").JSX.Element) & {
6
- Compose: <T_1 extends object>({ data, columns, pluginsData, tableOptions, components, maxHeight, minWidth, stripedRows, ...restProps }: import("./components/Compose/Compose").TableComposeProps<T_1>) => import("react/jsx-runtime").JSX.Element;
5
+ declare const Table: (<T extends object>({ columns, caption, onRowClick, data, getRowId, emptyState, minWidth, stripedRows, enableSorting, defaultSorting, onSortingChange, sorting, manualSorting, defaultExpanded, expanded, onExpandedChange, getIsRowExpandable, renderExpandedRow, expandRowOnClick, expandedRowComponent, getSubRows, pagination, defaultPagination, onPaginationChange, manualPagination, totalRowCount, totalPageCount, pageSizes, paginationEnabled, rowSelection, defaultRowSelection, onRowSelectionChange, rowSelectionMode, getRowCanSelect, selectRowOnClick, enableRowNavigation, enableFiltering, columnFilters, globalFilter, globalFilterFn, filterFns, columnVisibility, ...restProps }: TableProps<T>) => import("react/jsx-runtime").JSX.Element) & {
6
+ Compose: <T_1 extends object>({ data, columns, pluginsData, tableOptions, components, minWidth, stripedRows, ...restProps }: import("./components/Compose/Compose").TableComposeProps<T_1>) => import("react/jsx-runtime").JSX.Element;
7
+ TopBar: (props: import("@redislabsdev/redis-ui-components").ComposeElementProps<HTMLElement>) => import("react/jsx-runtime").JSX.Element | null;
8
+ BottomBar: (props: import("@redislabsdev/redis-ui-components").ComposeElementProps<HTMLElement>) => import("react/jsx-runtime").JSX.Element | null;
7
9
  Root: (props: import("react").HTMLAttributes<HTMLTableElement>) => import("react/jsx-runtime").JSX.Element;
8
10
  SRCaption: ({ caption }: {
9
11
  caption?: string | undefined;
@@ -14,7 +16,7 @@ declare const Table: (<T extends object>({ columns, caption, onRowClick, data, g
14
16
  Compose: import("styled-components").StyledComponent<"tr", any, {}, never>;
15
17
  };
16
18
  Cell: (<T_4 extends object>(props: import("./components/TableHeaderCell/TableHeaderCell").OwnTableHeaderCellProps<T_4> & import("./components/TableHeaderCell/TableHeaderCell").RestTableHeaderCellProps & import("react").RefAttributes<HTMLTableCellElement>) => import("react").ReactElement<any, any> | null) & {
17
- Compose: <T_5 extends object>(props: import("./components/TableHeaderCell/components/Compose/Compose").OwnTableHeaderCellComposeProps<T_5> & import("@redislabsdev/redis-ui-components").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLTableCellElement>, "content" | "children"> & import("react").RefAttributes<HTMLTableCellElement>) => import("react").ReactElement<any, any> | null;
19
+ Compose: <T_5 extends object>(props: import("./components/TableHeaderCell/components/Compose/Compose").OwnTableHeaderCellComposeProps<T_5> & import("@redislabsdev/redis-ui-components").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLTableCellElement>, "children" | "content"> & import("react").RefAttributes<HTMLTableCellElement>) => import("react").ReactElement<any, any> | null;
18
20
  SortableHeading: (({ children, ...restProps }: import("@redislabsdev/redis-ui-components").ComposeElementProps<HTMLElement>) => import("react/jsx-runtime").JSX.Element) & {
19
21
  Compose: ((props: import("@redislabsdev/redis-ui-components").ComposeElementProps<HTMLElement>) => import("react/jsx-runtime").JSX.Element) & {
20
22
  SortIndicator: () => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
@@ -28,7 +30,7 @@ declare const Table: (<T extends object>({ columns, caption, onRowClick, data, g
28
30
  Body: (<T_6 extends object>(props: import("./components/TableBody/TableBody").RestTableBodyProps) => import("react/jsx-runtime").JSX.Element | null) & {
29
31
  Compose: (props: import("./components/TableBody/components/Compose/Compose").TableBodyComposeProps) => import("react/jsx-runtime").JSX.Element;
30
32
  Row: (<T_7 extends object>(props: import("./components/TableBodyRow/TableBodyRow").OwnTableBodyRowProps<T_7> & import("./components/TableBodyRow/TableBodyRow").RestTableBodyRowProps & import("react").RefAttributes<HTMLTableRowElement>) => import("react").ReactElement<any, any> | null) & {
31
- Compose: (props: import("@redislabsdev/redis-ui-components").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLTableRowElement>, "content" | "children"> & import("react").RefAttributes<HTMLTableRowElement>) => import("react").ReactElement<any, any> | null;
33
+ Compose: (props: import("@redislabsdev/redis-ui-components").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLTableRowElement>, "children" | "content"> & import("react").RefAttributes<HTMLTableRowElement>) => import("react").ReactElement<any, any> | null;
32
34
  useHandleClickableRow: <T_8 extends object>({ row, onClick, onKeyDown }: {
33
35
  row: Row<T_8>;
34
36
  onClick?: import("react").MouseEventHandler<HTMLTableRowElement> | undefined;
@@ -40,7 +42,7 @@ declare const Table: (<T extends object>({ columns, caption, onRowClick, data, g
40
42
  };
41
43
  ExpandableRow: <T_9 extends object>(props: import("./components/TableBodyRow/TableBodyRow").OwnTableBodyRowProps<T_9> & import("./components/TableBodyRow/TableBodyRow").RestTableBodyRowProps & import("react").RefAttributes<HTMLTableRowElement>) => import("react").ReactElement<any, any> | null;
42
44
  Cell: (<T_10 extends object>(props: import("./components/TableBodyCell/TableBodyCell").OwnTableBodyCellProps<T_10> & import("./components/TableBodyCell/TableBodyCell").RestTableBodyCellProps & import("react").RefAttributes<HTMLTableCellElement>) => import("react").ReactElement<any, any> | null) & {
43
- Compose: <T_11 extends object>(props: import("@redislabsdev/redis-ui-components").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLTableCellElement>, "content" | "children"> & import("./components/TableBodyCell/components/Compose/Compose").OwnTableBodyCellComposeProps<T_11> & import("react").RefAttributes<HTMLTableCellElement>) => import("react").ReactElement<any, any> | null;
45
+ Compose: <T_11 extends object>(props: import("@redislabsdev/redis-ui-components").ComposeChildrenProps & Omit<import("react").HTMLAttributes<HTMLTableCellElement>, "children" | "content"> & import("./components/TableBodyCell/components/Compose/Compose").OwnTableBodyCellComposeProps<T_11> & import("react").RefAttributes<HTMLTableCellElement>) => import("react").ReactElement<any, any> | null;
44
46
  };
45
47
  };
46
48
  Pagination: (() => import("react/jsx-runtime").JSX.Element | null) & {
@@ -69,24 +71,26 @@ declare const Table: (<T extends object>({ columns, caption, onRowClick, data, g
69
71
  ExpandRowButton: ({ row, expandedIcon, collapsedIcon, ...restProps }: import("./components/ExpandRowButton/ExpandRowButton").ExpandRowButtonProps) => import("react/jsx-runtime").JSX.Element | null;
70
72
  ExpandAllRowsButton: ({ table, expandedIcon, collapsedIcon, ...restProps }: import("./components/ExpandRowButton/ExpandAllRowsButton").ExpandAllRowsButtonProps) => import("react/jsx-runtime").JSX.Element | null;
71
73
  useExpanderColumn: <T_12 extends object>({ allowExpandAll, ...colDef }?: import("./components/ExpandRowButton/useExpanderColumn").UseExpanderColumnParams<T_12>) => import("@tanstack/react-table").ColumnDef<T_12, unknown>;
72
- ExpandedRow: <T_13 extends object>({ row, keepInDom, rowRef, ...restProps }: import("./components/TableExpandedRow").TableExpandedRowProps<T_13>) => import("react/jsx-runtime").JSX.Element | null;
73
- AnimatedExpandedRow: <T_14 extends object>({ rowRef, ...restProps }: import("./components/TableExpandedRow").TableExpandedRowProps<T_14>) => import("react/jsx-runtime").JSX.Element;
74
+ ExpandedRow: <T_13 extends object>({ row, keepInDom, rowRef, contentWrapper, ...restProps }: import("./components/TableExpandedRow").TableExpandedRowProps<T_13>) => import("react/jsx-runtime").JSX.Element | null;
75
+ AnimatedExpandedRow: <T_14 extends object>({ rowRef, contentWrapper, ...restProps }: import("./components/TableExpandedRow").TableExpandedRowProps<T_14>) => import("react/jsx-runtime").JSX.Element;
74
76
  RowSelectionButton: <T_15 extends object>({ row, ...restProps }: import("./components/RowSelection/RowSelectionButton").RowSelectionButtonProps<T_15>) => import("react/jsx-runtime").JSX.Element;
75
77
  HeaderMultiRowSelectionButton: <T_16 extends object>({ table, managePage, ...restProps }: import("./components/RowSelection/HeaderMultiRowSelectionButton").HeaderMultiRowSelectionButtonProps<T_16>) => import("react/jsx-runtime").JSX.Element | null;
76
78
  useRowSelectionColumn: <T_17 extends object>({ disableSelectAll, managePage, ...colDef }?: import("./components/RowSelection/useRowSelectionColumn").UseRowSelectionColumnParams<T_17>) => import("@tanstack/react-table").ColumnDef<T_17, unknown>;
77
79
  ShowOnActiveRow: import("styled-components").StyledComponent<"div", any, {}, never>;
78
80
  useClickableRowPlugin: <T_18 extends object>({ getCanRowClick, onRowClick, shouldClickOnEnter }: Partial<import("./plugins/ClickableRowPlugin").TableClickableRowContext<T_18>>) => import(".").TablePluginData<T_18>;
79
81
  useSortingPlugin: <T_19 extends object>({ defaultSorting, onSortingChange, sorting, manualSorting, enableSorting }?: import("./plugins/SortingPlugin").TableSortingParams) => import(".").TablePluginData<T_19>;
82
+ useColumnVisibilityPlugin: ({ columnVisibility }: import("./plugins/ColumnVisibilityPlugin").TableColumnVisibilityParams) => import(".").TablePluginData<any>;
83
+ useFilteringPlugin: <T_20 extends object>({ globalFilter, globalFilterFn, columnFilters, enableFiltering, filterFns }?: import("./plugins/FilteringPlugin").TableFilteringParams<T_20>) => import(".").TablePluginData<T_20>;
80
84
  usePaginationPlugin: ({ pagination, defaultPagination, onPaginationChange, manualPagination, totalRowCount, totalPageCount, pageSizes, paginationEnabled }: import("./plugins/PaginationPlugin").TablePaginationParams) => import(".").TablePluginData<any>;
81
- useExpandableRowPlugin: <T_20 extends object>({ defaultExpanded, expanded, onExpandedChange, getRowCanExpand, renderExpandedRow, expandRowOnClick, expandedRowComponent, getSubRows }: import("./plugins/ExpandableRowPlugin").TableExpandableRowParams<T_20>) => import(".").TablePluginData<T_20>;
82
- useRowSelectionPlugin: <T_21 extends object>({ rowSelection, defaultRowSelection, onRowSelectionChange, rowSelectionMode, getRowCanSelect, selectRowOnClick }: import("./plugins/RowSelectionPlugin").TableRowSelectionParams<T_21>) => import(".").TablePluginData<T_21>;
85
+ useExpandableRowPlugin: <T_21 extends object>({ defaultExpanded, expanded, onExpandedChange, getRowCanExpand, renderExpandedRow, expandRowOnClick, expandedRowComponent, getSubRows }: import("./plugins/ExpandableRowPlugin").TableExpandableRowParams<T_21>) => import(".").TablePluginData<T_21>;
86
+ useRowSelectionPlugin: <T_22 extends object>({ rowSelection, defaultRowSelection, onRowSelectionChange, rowSelectionMode, getRowCanSelect, selectRowOnClick }: import("./plugins/RowSelectionPlugin").TableRowSelectionParams<T_22>) => import(".").TablePluginData<T_22>;
83
87
  useRowNavigationPlugin: ({ enableRowNavigation }: import("./plugins/RowNavigationPlugin").TableRowNavigationParams) => import(".").TablePluginData<any>;
84
- useTableContext: <T_22 extends object = object>() => import("./Table.context").TableContextProps<T_22>;
85
- useComposeContext: <T_23 extends object, C extends import("./Table.context").CompositionContextProps<T_23> = import("./Table.context").CompositionContextProps<T_23>>(defaults: Partial<C>) => C;
86
- useClickableRowContext: <T_24 extends object>() => import("./plugins/ClickableRowPlugin").TableClickableRowContext<T_24> | undefined;
87
- useExpandableRowContext: <T_25 extends object>() => import("./plugins/ExpandableRowPlugin").TableExpandableRowContext<T_25> | undefined;
88
+ useTableContext: <T_23 extends object = object>() => import("./Table.context").TableContextProps<T_23>;
89
+ useComposeContext: <T_24 extends object, C extends import("./Table.context").CompositionContextProps<T_24> = import("./Table.context").CompositionContextProps<T_24>>(defaults: Partial<C>) => C;
90
+ useClickableRowContext: <T_25 extends object>() => import("./plugins/ClickableRowPlugin").TableClickableRowContext<T_25> | undefined;
91
+ useExpandableRowContext: <T_26 extends object>() => import("./plugins/ExpandableRowPlugin").TableExpandableRowContext<T_26> | undefined;
88
92
  usePaginationContext: () => import("./plugins/PaginationPlugin").TablePaginationContext | undefined;
89
93
  useSortingContext: () => import("./plugins/SortingPlugin").TableSortingContext | undefined;
90
- PluggableTable: <T_26 extends object>({ caption, emptyStateRender, ...restProps }: import("./components/PluggableTable/PluggableTable").PluggableTableProps<T_26>) => import("react/jsx-runtime").JSX.Element;
94
+ PluggableTable: <T_27 extends object>({ caption, emptyStateRender, topBar, bottomBar, ...restProps }: import("./components/PluggableTable/PluggableTable").PluggableTableProps<T_27>) => import("react/jsx-runtime").JSX.Element;
91
95
  };
92
96
  export default Table;
@@ -17,6 +17,8 @@ import { ShowOnRowHover } from "./components/ShowOnRowHover/ShowOnRowHover.style
17
17
  import { ExpandAllRowsButton } from "./components/ExpandRowButton/ExpandAllRowsButton.js";
18
18
  import { useExpanderColumn } from "./components/ExpandRowButton/useExpanderColumn.js";
19
19
  import { useRowSelectionColumn } from "./components/RowSelection/useRowSelectionColumn.js";
20
+ import { useFilteringPlugin } from "./plugins/FilteringPlugin.js";
21
+ import { useColumnVisibilityPlugin } from "./plugins/ColumnVisibilityPlugin.js";
20
22
  const Table = Object.assign(({
21
23
  columns,
22
24
  caption,
@@ -24,7 +26,6 @@ const Table = Object.assign(({
24
26
  data,
25
27
  getRowId,
26
28
  emptyState,
27
- maxHeight,
28
29
  minWidth,
29
30
  stripedRows = false,
30
31
  // sorting
@@ -59,12 +60,32 @@ const Table = Object.assign(({
59
60
  getRowCanSelect,
60
61
  selectRowOnClick,
61
62
  // row navigation
62
- enableRowNavigation = false
63
+ enableRowNavigation = false,
64
+ // filtering and searching
65
+ enableFiltering,
66
+ columnFilters,
67
+ globalFilter,
68
+ globalFilterFn,
69
+ filterFns,
70
+ // column visibility
71
+ columnVisibility,
72
+ // rest
73
+ ...restProps
63
74
  }) => {
64
75
  const clickableRowPluginData = useClickableRowPlugin({
65
76
  onRowClick: onRowClick && ((row) => onRowClick(row.original)),
66
77
  shouldClickOnEnter: true
67
78
  });
79
+ const columnVisibilityPluginData = useColumnVisibilityPlugin({
80
+ columnVisibility
81
+ });
82
+ const filteringPluginData = useFilteringPlugin({
83
+ enableFiltering,
84
+ columnFilters,
85
+ globalFilter,
86
+ globalFilterFn,
87
+ filterFns
88
+ });
68
89
  const sortingPluginData = useSortingPlugin({
69
90
  enableSorting,
70
91
  defaultSorting,
@@ -107,10 +128,10 @@ const Table = Object.assign(({
107
128
  enableRowNavigation
108
129
  });
109
130
  return jsxRuntimeExports.jsx(Table.PluggableTable, {
131
+ ...restProps,
110
132
  ...{
111
133
  data,
112
134
  columns,
113
- maxHeight,
114
135
  minWidth,
115
136
  stripedRows,
116
137
  caption,
@@ -119,7 +140,7 @@ const Table = Object.assign(({
119
140
  tableOptions: {
120
141
  getRowId
121
142
  },
122
- pluginsData: [clickableRowPluginData, sortingPluginData, paginationPluginData, expandableRowPluginData, rowSelectionPluginData, rowNavigationPluginData]
143
+ pluginsData: [clickableRowPluginData, sortingPluginData, columnVisibilityPluginData, filteringPluginData, paginationPluginData, expandableRowPluginData, rowSelectionPluginData, rowNavigationPluginData]
123
144
  });
124
145
  }, {
125
146
  ExpandRowButton,
@@ -134,6 +155,8 @@ const Table = Object.assign(({
134
155
  // plugins
135
156
  useClickableRowPlugin,
136
157
  useSortingPlugin,
158
+ useColumnVisibilityPlugin,
159
+ useFilteringPlugin,
137
160
  usePaginationPlugin,
138
161
  useExpandableRowPlugin,
139
162
  useRowSelectionPlugin,
@@ -10,11 +10,11 @@ const _styled__default = /* @__PURE__ */ _interopDefault(_styled);
10
10
  const TableContainer = _styled__default.default.div.withConfig({
11
11
  displayName: "Tablestyle__TableContainer",
12
12
  componentId: "RedisUI__sc-o0xfty-0"
13
- })(["width:100%;border-radius:0.8rem;box-shadow:", ";background-color:", ";overflow:hidden;"], () => redisUiStyles.useTheme().components.table.table.tableContainer.boxShadow, () => redisUiStyles.useTheme().components.table.table.tableContainer.backgroundColor);
14
- const Table = _styled__default.default.table.withConfig({
15
- displayName: "Tablestyle__Table",
13
+ })(["width:100%;border-radius:", ";box-shadow:", ";background-color:", ";overflow:hidden;display:flex;flex-direction:column;"], () => redisUiStyles.useTheme().components.table.table.tableContainer.borderRadius, () => redisUiStyles.useTheme().components.table.table.tableContainer.boxShadow, () => redisUiStyles.useTheme().components.table.table.tableContainer.backgroundColor);
14
+ const TableScroller = _styled__default.default.div.withConfig({
15
+ displayName: "Tablestyle__TableScroller",
16
16
  componentId: "RedisUI__sc-o0xfty-1"
17
- })(["width:100%;border-collapse:collapse;border-spacing:0;overflow-x:auto;display:block;table-layout:fixed;", ""], () => {
17
+ })(["flex:1;width:100%;overflow:auto;", ""], () => {
18
18
  const {
19
19
  table
20
20
  } = Table_context.useTableContext();
@@ -22,33 +22,66 @@ const Table = _styled__default.default.table.withConfig({
22
22
  overflow-x: ${table.getRowModel().rows.length ? "auto" : "hidden"};
23
23
  `;
24
24
  });
25
- const TableHead = _styled__default.default.thead.attrs((props) => ({
26
- "data-role": "table-header",
27
- ...props
28
- })).withConfig({
29
- displayName: "Tablestyle__TableHead",
25
+ const TableTopBar = _styled__default.default.div.withConfig({
26
+ displayName: "Tablestyle__TableTopBar",
30
27
  componentId: "RedisUI__sc-o0xfty-2"
31
- })(["display:table;table-layout:fixed;", ""], () => {
28
+ })(["", ""], () => {
29
+ const styles = redisUiStyles.useTheme().components.table.table.topBar;
30
+ return _styled.css`
31
+ display: flex;
32
+ align-items: center;
33
+ gap: ${styles.gap};
34
+ padding: ${styles.padding};
35
+ min-height: ${styles.minHeight};
36
+ border-bottom: ${styles.separator.width} solid ${styles.separator.color};
37
+ background-color: ${styles.bgColor};
38
+ `;
39
+ });
40
+ const TableBottomBar = _styled__default.default.div.withConfig({
41
+ displayName: "Tablestyle__TableBottomBar",
42
+ componentId: "RedisUI__sc-o0xfty-3"
43
+ })(["", ""], () => {
44
+ const styles = redisUiStyles.useTheme().components.table.table.bottomBar;
45
+ return _styled.css`
46
+ display: flex;
47
+ align-items: center;
48
+ gap: ${styles.gap};
49
+ padding: ${styles.padding};
50
+ min-height: ${styles.minHeight};
51
+ border-top: ${styles.separator.width} solid ${styles.separator.color};
52
+ background-color: ${styles.bgColor};
53
+ `;
54
+ });
55
+ const Table = _styled__default.default.table.withConfig({
56
+ displayName: "Tablestyle__Table",
57
+ componentId: "RedisUI__sc-o0xfty-4"
58
+ })(["border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;min-width:", ";"], () => {
32
59
  const {
60
+ table,
33
61
  minWidth
34
62
  } = Table_context.useTableContext();
35
- return _styled.css`
36
- min-width: ${minWidth || void 0};
37
- `;
63
+ return table.getRowModel().rows.length && minWidth || void 0;
38
64
  });
65
+ const TableHead = _styled__default.default.thead.attrs((props) => ({
66
+ "data-role": "table-header",
67
+ ...props
68
+ })).withConfig({
69
+ displayName: "Tablestyle__TableHead",
70
+ componentId: "RedisUI__sc-o0xfty-5"
71
+ })(["position:sticky;top:0;z-index:3;background-color:", ";"], () => redisUiStyles.useTheme().components.table.table.tableHeaderRow.bgColor);
39
72
  const TableHeaderRow = _styled__default.default.tr.withConfig({
40
73
  displayName: "Tablestyle__TableHeaderRow",
41
- componentId: "RedisUI__sc-o0xfty-3"
42
- })(["height:5.6rem;display:table;width:100%;table-layout:fixed;"]);
74
+ componentId: "RedisUI__sc-o0xfty-6"
75
+ })(["height:", ";"], () => redisUiStyles.useTheme().components.table.table.tableHeaderRow.minHeight);
43
76
  const SortableHeadingCompose = _styled__default.default.button.withConfig({
44
77
  displayName: "Tablestyle__SortableHeadingCompose",
45
- componentId: "RedisUI__sc-o0xfty-4"
78
+ componentId: "RedisUI__sc-o0xfty-7"
46
79
  })(["all:unset;border-radius:0.03rem;display:flex;align-items:center;justify-content:flex-start;gap:0.8rem;height:100%;width:100%;min-height:35px;max-width:100%;overflow:", ";", " svg{flex:none;}"], ({
47
80
  $custom
48
81
  }) => $custom ? void 0 : "hidden", redisUiStyles.getFocusStyle("0.6rem"));
49
82
  const HeaderTitleWrapper = _styled__default.default(redisUiComponents.Typography.Body).withConfig({
50
83
  displayName: "Tablestyle__HeaderTitleWrapper",
51
- componentId: "RedisUI__sc-o0xfty-5"
84
+ componentId: "RedisUI__sc-o0xfty-8"
52
85
  })(["flex:0 1 auto;white-space:inherit;text-align:start;", ""], ({
53
86
  $isTextual
54
87
  }) => $isTextual ? null : _styled.css`
@@ -56,28 +89,18 @@ const HeaderTitleWrapper = _styled__default.default(redisUiComponents.Typography
56
89
  align-items: center;
57
90
  justify-content: flex-start;
58
91
  `);
59
- const TableTh = _styled__default.default.th.withConfig({
60
- displayName: "Tablestyle__TableTh",
61
- componentId: "RedisUI__sc-o0xfty-6"
62
- })(["padding:1.05rem 1.2rem;color:", ";user-select:none;white-space:nowrap;word-break:break-word;line-height:normal;position:relative;overflow:hidden;&[aria-sort]{cursor:pointer;}&:not(:last-child)::after{content:'';position:absolute;inset:1.05rem 0 1.05rem auto;border-right:1px solid ", ";}"], () => redisUiStyles.useTheme().components.table.table.tableTh.color, () => redisUiStyles.useTheme().components.table.table.tableTh.borderRight);
92
+ const TableHeaderCell = _styled__default.default.th.withConfig({
93
+ displayName: "Tablestyle__TableHeaderCell",
94
+ componentId: "RedisUI__sc-o0xfty-9"
95
+ })(["padding:", ";color:", ";user-select:none;white-space:nowrap;word-break:break-word;line-height:normal;position:relative;overflow:hidden;border-bottom:", " solid ", ";&[aria-sort]{cursor:pointer;}&:not(:last-child)::after{content:'';position:absolute;inset-inline-end:0;inset-block:", ";border-right:", " solid ", ";}"], () => redisUiStyles.useTheme().components.table.table.tableHeaderCell.padding, () => redisUiStyles.useTheme().components.table.table.tableHeaderCell.color, () => redisUiStyles.useTheme().components.table.table.tableHeaderRow.separator.width, () => redisUiStyles.useTheme().components.table.table.tableHeaderRow.separator.color, () => redisUiStyles.useTheme().components.table.table.tableHeaderCell.separator.blockPadding, () => redisUiStyles.useTheme().components.table.table.tableHeaderCell.separator.width, () => redisUiStyles.useTheme().components.table.table.tableHeaderCell.separator.color);
63
96
  const TableBody = _styled__default.default.tbody.withConfig({
64
97
  displayName: "Tablestyle__TableBody",
65
- componentId: "RedisUI__sc-o0xfty-7"
66
- })(["", " overflow-y:auto;overflow-x:hidden;display:inline-block;table-layout:fixed;"], () => {
67
- const {
68
- maxHeight,
69
- minWidth,
70
- table
71
- } = Table_context.useTableContext();
72
- return _styled.css`
73
- max-height: ${maxHeight};
74
- min-width: ${table.getRowModel().rows.length && minWidth || void 0};
75
- `;
76
- });
98
+ componentId: "RedisUI__sc-o0xfty-10"
99
+ })([""]);
77
100
  const TableBodyRow = _styled__default.default.tr.withConfig({
78
101
  displayName: "Tablestyle__TableBodyRow",
79
- componentId: "RedisUI__sc-o0xfty-8"
80
- })(["border-top:1px solid ", ";height:4.8rem;transition:box-shadow 0.2s ease-in-out;position:relative;&:hover,&:focus,&:focus-within{cursor:", ";z-index:1;box-shadow:", ";", "{opacity:1;visibility:visible;}}", " display:table;width:100%;table-layout:fixed;"], () => redisUiStyles.useTheme().components.table.table.tableBodyRow.borderTop, ({
102
+ componentId: "RedisUI__sc-o0xfty-11"
103
+ })(["> *{border-top:", " solid transparent;}&:not(:first-child) > *{border-top-color:", ";}height:", ";transition:box-shadow 0.2s ease-in-out;position:relative;&:hover,&:focus,&:focus-within{cursor:", ";z-index:1;box-shadow:", ";", "{opacity:1;visibility:visible;}}", ""], () => redisUiStyles.useTheme().components.table.table.tableBodyRow.separator.width, () => redisUiStyles.useTheme().components.table.table.tableBodyRow.separator.color, () => redisUiStyles.useTheme().components.table.table.tableBodyRow.minHeight, ({
81
104
  onClick
82
105
  }) => onClick ? "pointer" : "default", () => redisUiStyles.useTheme().components.table.table.tableBodyRow.hoverBoxShadow, ShowOnRowHover_style.ShowOnRowHover, ({
83
106
  $stripedRows
@@ -88,11 +111,11 @@ const TableBodyRow = _styled__default.default.tr.withConfig({
88
111
  `);
89
112
  const TableBodyCell = _styled__default.default.td.withConfig({
90
113
  displayName: "Tablestyle__TableBodyCell",
91
- componentId: "RedisUI__sc-o0xfty-9"
92
- })(["color:", ";padding:0 1.2rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;"], () => redisUiStyles.useTheme().components.table.table.tableBodyCell.color);
114
+ componentId: "RedisUI__sc-o0xfty-12"
115
+ })(["color:", ";padding:", ";text-overflow:ellipsis;overflow:hidden;white-space:nowrap;"], () => redisUiStyles.useTheme().components.table.table.tableBodyCell.color, () => redisUiStyles.useTheme().components.table.table.tableBodyCell.padding);
93
116
  const EmptyStateContainer = _styled__default.default.div.withConfig({
94
117
  displayName: "Tablestyle__EmptyStateContainer",
95
- componentId: "RedisUI__sc-o0xfty-10"
118
+ componentId: "RedisUI__sc-o0xfty-13"
96
119
  })(["text-align:center;"]);
97
120
  exports.EmptyStateContainer = EmptyStateContainer;
98
121
  exports.HeaderTitleWrapper = HeaderTitleWrapper;
@@ -101,7 +124,10 @@ exports.Table = Table;
101
124
  exports.TableBody = TableBody;
102
125
  exports.TableBodyCell = TableBodyCell;
103
126
  exports.TableBodyRow = TableBodyRow;
127
+ exports.TableBottomBar = TableBottomBar;
104
128
  exports.TableContainer = TableContainer;
105
129
  exports.TableHead = TableHead;
130
+ exports.TableHeaderCell = TableHeaderCell;
106
131
  exports.TableHeaderRow = TableHeaderRow;
107
- exports.TableTh = TableTh;
132
+ exports.TableScroller = TableScroller;
133
+ exports.TableTopBar = TableTopBar;
@@ -1,13 +1,14 @@
1
1
  /// <reference types="react" />
2
2
  /// <reference types="react" />
3
3
  export declare const TableContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const TableScroller: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const TableTopBar: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const TableBottomBar: import("styled-components").StyledComponent<"div", any, {}, never>;
4
7
  export declare const Table: import("styled-components").StyledComponent<"table", any, {}, never>;
5
8
  export declare const TableHead: import("styled-components").StyledComponent<"thead", any, {
6
9
  id?: string | undefined;
7
10
  onChange?: import("react").FormEventHandler<HTMLTableSectionElement> | undefined;
8
- slot?: string | undefined;
9
- style?: import("react").CSSProperties | undefined;
10
- title?: string | undefined;
11
+ children?: import("react").ReactNode;
11
12
  defaultChecked?: boolean | undefined;
12
13
  defaultValue?: string | number | readonly string[] | undefined;
13
14
  suppressContentEditableWarning?: boolean | undefined;
@@ -22,8 +23,11 @@ export declare const TableHead: import("styled-components").StyledComponent<"the
22
23
  hidden?: boolean | undefined;
23
24
  lang?: string | undefined;
24
25
  nonce?: string | undefined;
26
+ slot?: string | undefined;
25
27
  spellCheck?: (boolean | "true" | "false") | undefined;
28
+ style?: import("react").CSSProperties | undefined;
26
29
  tabIndex?: number | undefined;
30
+ title?: string | undefined;
27
31
  translate?: "yes" | "no" | undefined;
28
32
  radioGroup?: string | undefined;
29
33
  role?: import("react").AriaRole | undefined;
@@ -105,7 +109,6 @@ export declare const TableHead: import("styled-components").StyledComponent<"the
105
109
  "aria-valuemin"?: number | undefined;
106
110
  "aria-valuenow"?: number | undefined;
107
111
  "aria-valuetext"?: string | undefined;
108
- children?: import("react").ReactNode;
109
112
  dangerouslySetInnerHTML?: {
110
113
  __html: string | TrustedHTML;
111
114
  } | undefined;
@@ -272,7 +275,7 @@ export declare const TableHead: import("styled-components").StyledComponent<"the
272
275
  ref?: ((instance: HTMLTableSectionElement | null) => void) | import("react").RefObject<HTMLTableSectionElement> | null | undefined;
273
276
  theme: any;
274
277
  'data-role': string;
275
- }, "id" | "onChange" | "slot" | "style" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "theme" | "ref" | "key" | "data-role">;
278
+ }, "id" | "onChange" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "theme" | "ref" | "key" | "data-role">;
276
279
  export declare const TableHeaderRow: import("styled-components").StyledComponent<"tr", any, {}, never>;
277
280
  export declare const SortableHeadingCompose: import("styled-components").StyledComponent<"button", any, {
278
281
  $custom: boolean;
@@ -280,7 +283,7 @@ export declare const SortableHeadingCompose: import("styled-components").StyledC
280
283
  export declare const HeaderTitleWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@redislabsdev/redis-ui-components").TypographyBodyProps & import("react").RefAttributes<HTMLElement>>, any, {
281
284
  $isTextual: boolean;
282
285
  }, never>;
283
- export declare const TableTh: import("styled-components").StyledComponent<"th", any, {}, never>;
286
+ export declare const TableHeaderCell: import("styled-components").StyledComponent<"th", any, {}, never>;
284
287
  export declare const TableBody: import("styled-components").StyledComponent<"tbody", any, {}, never>;
285
288
  export declare const TableBodyRow: import("styled-components").StyledComponent<"tr", any, {
286
289
  $stripedRows: boolean;