@bsol-oss/react-datatable5 12.0.0-beta.44 → 12.0.0-beta.46
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 +89 -24
- package/dist/index.js +125 -56
- package/dist/index.mjs +125 -56
- package/dist/types/components/DataTable/context/DataTableContext.d.ts +14 -0
- package/dist/types/components/DataTable/controls/ReloadButton.d.ts +1 -2
- package/dist/types/components/DataTable/controls/ResetFilteringButton.d.ts +1 -4
- package/dist/types/components/DataTable/controls/ResetSelectionButton.d.ts +1 -4
- package/dist/types/components/DataTable/controls/ResetSortingButton.d.ts +1 -4
- package/dist/types/components/DataTable/controls/TableControls.d.ts +4 -1
- package/dist/types/components/DataTable/display/TableBody.d.ts +1 -2
- package/dist/types/components/DataTable/display/TableCardContainer.d.ts +6 -3
- package/dist/types/components/DataTable/display/TableHeader.d.ts +43 -1
- package/dist/types/components/Form/components/types/CustomJSONSchema7.d.ts +1 -1
- package/dist/types/components/Form/utils/translateWrapper.d.ts +6 -0
- package/dist/types/index.d.ts +16 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -12,6 +12,17 @@ declare module "@tanstack/react-table" {
|
|
|
12
12
|
* The display name of the column, used for rendering headers.
|
|
13
13
|
*/
|
|
14
14
|
displayName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Text configuration for the column header menu items.
|
|
17
|
+
* These strings can be customized per column.
|
|
18
|
+
*/
|
|
19
|
+
headerTexts?: {
|
|
20
|
+
pinColumn?: string;
|
|
21
|
+
cancelPin?: string;
|
|
22
|
+
sortAscending?: string;
|
|
23
|
+
sortDescending?: string;
|
|
24
|
+
clearSorting?: string;
|
|
25
|
+
};
|
|
15
26
|
/**
|
|
16
27
|
* Specifies the type of filter to be used for the column.
|
|
17
28
|
*
|
|
@@ -32,7 +43,10 @@ declare module "@tanstack/react-table" {
|
|
|
32
43
|
/**
|
|
33
44
|
* Options for the select filter variant, if applicable.
|
|
34
45
|
*/
|
|
35
|
-
filterOptions?:
|
|
46
|
+
filterOptions?: {
|
|
47
|
+
label: string;
|
|
48
|
+
value: string;
|
|
49
|
+
}[];
|
|
36
50
|
/**
|
|
37
51
|
* Configuration for the range filter variant, if applicable.
|
|
38
52
|
*
|
|
@@ -86,6 +100,7 @@ export * from "./components/DataTable/controls/TableFilters";
|
|
|
86
100
|
export * from "./components/DataTable/controls/TableFilterTags";
|
|
87
101
|
export * from "./components/DataTable/display/TableFooter";
|
|
88
102
|
export * from "./components/DataTable/display/TableHeader";
|
|
103
|
+
export type { TableHeaderTexts } from "./components/DataTable/display/TableHeader";
|
|
89
104
|
export * from "./components/DataTable/display/TableLoadingComponent";
|
|
90
105
|
export * from "./components/DataTable/controls/TableSelector";
|
|
91
106
|
export * from "./components/DataTable/controls/TableSorter";
|