@trackunit/react-table 2.7.73 → 2.7.75
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/package.json +7 -7
- package/src/ActionSheet/ActionButton.d.ts +2 -2
- package/src/ActionSheet/ActionSheet.d.ts +1 -1
- package/src/components/TextWithTooltip.d.ts +1 -1
- package/src/menus/ColumnActions.d.ts +1 -1
- package/src/menus/ColumnFilter.d.ts +1 -1
- package/src/menus/ColumnFilterItem.d.ts +1 -1
- package/src/translation.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-table",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.75",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
"react-dnd": "16.0.1",
|
|
12
12
|
"react-dnd-html5-backend": "16.0.1",
|
|
13
13
|
"tailwind-merge": "^2.0.0",
|
|
14
|
-
"@trackunit/react-components": "2.13.
|
|
15
|
-
"@trackunit/react-core-hooks": "1.21.
|
|
14
|
+
"@trackunit/react-components": "2.13.26",
|
|
15
|
+
"@trackunit/react-core-hooks": "1.21.64",
|
|
16
16
|
"@trackunit/shared-utils": "1.16.49",
|
|
17
17
|
"@trackunit/css-class-variance-utilities": "2.0.14",
|
|
18
18
|
"@trackunit/ui-icons": "1.14.43",
|
|
19
|
-
"@trackunit/react-table-base-components": "2.7.
|
|
20
|
-
"@trackunit/react-form-components": "2.6.
|
|
21
|
-
"@trackunit/i18n-library-translation": "2.4.
|
|
22
|
-
"@trackunit/iris-app-runtime-core-api": "1.17.
|
|
19
|
+
"@trackunit/react-table-base-components": "2.7.20",
|
|
20
|
+
"@trackunit/react-form-components": "2.6.74",
|
|
21
|
+
"@trackunit/i18n-library-translation": "2.4.64",
|
|
22
|
+
"@trackunit/iris-app-runtime-core-api": "1.17.61",
|
|
23
23
|
"zod": "^3.25.76"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
@@ -27,7 +27,7 @@ export declare const ActionButton: ({ action, id, ...rest }: ActionButtonProps)
|
|
|
27
27
|
* @param {string} [dataTestId] - Optional data test ID.
|
|
28
28
|
* @returns {ReactElement} - The MenuItem component for the given action.
|
|
29
29
|
*/
|
|
30
|
-
export declare const actionDataToMenuItem: (action: ActionModel, dataTestId?: string) => import("react
|
|
30
|
+
export declare const actionDataToMenuItem: (action: ActionModel, dataTestId?: string) => import("react").JSX.Element;
|
|
31
31
|
/**
|
|
32
32
|
* Converts an action model to an ActionButton component.
|
|
33
33
|
* These should be shown in the ActionSheet.
|
|
@@ -36,5 +36,5 @@ export declare const actionDataToMenuItem: (action: ActionModel, dataTestId?: st
|
|
|
36
36
|
* @param action - The action model to convert.
|
|
37
37
|
* @returns {*} The ActionButton component for the given action.
|
|
38
38
|
*/
|
|
39
|
-
export declare const actionDataToActionButton: (action: ActionModel) => import("react
|
|
39
|
+
export declare const actionDataToActionButton: (action: ActionModel) => import("react").JSX.Element;
|
|
40
40
|
export {};
|
|
@@ -127,4 +127,4 @@ export interface ActionSheetProps extends CommonProps, Styleable {
|
|
|
127
127
|
* @param {ActionSheetProps} props - The props for the ActionSheet component
|
|
128
128
|
* @returns {ReactElement} ActionSheet component
|
|
129
129
|
*/
|
|
130
|
-
export declare const ActionSheet: ({ actions, dropdownActions, moreActions, selections, resetSelection, className, style, "data-testid": dataTestId, }: ActionSheetProps) => import("react
|
|
130
|
+
export declare const ActionSheet: ({ actions, dropdownActions, moreActions, selections, resetSelection, className, style, "data-testid": dataTestId, }: ActionSheetProps) => import("react").JSX.Element;
|
|
@@ -13,5 +13,5 @@ interface ColumnActionsProps<TData> {
|
|
|
13
13
|
* @param {Header<TData, unknown>} props.header The header of the current column provided by React Table.
|
|
14
14
|
* @param {number} props.visibleColumnsCount The number of visible columns in the table.
|
|
15
15
|
*/
|
|
16
|
-
declare const ColumnActions: <TData>({ header, visibleColumnsCount, setSorting, getColumn }: ColumnActionsProps<TData>) => import("react
|
|
16
|
+
declare const ColumnActions: <TData>({ header, visibleColumnsCount, setSorting, getColumn }: ColumnActionsProps<TData>) => import("react").JSX.Element | null;
|
|
17
17
|
export default ColumnActions;
|
|
@@ -15,7 +15,7 @@ export interface ColumnFilterProps<TColumnFilter extends object, TColumnFilterVa
|
|
|
15
15
|
* @param {ColumnFilterProps<TColumnFilter, TColumnFilterValue>} props - The props object containing necessary properties.
|
|
16
16
|
* @returns {ReactElement | null} A React JSX element representing the ColumnFilter component or null if columns are not provided.
|
|
17
17
|
*/
|
|
18
|
-
export declare const ColumnFilter: <TColumnFilter extends object, TColumnFilterValue>({ columns, setColumnOrder, defaultColumnOrder, columnOrder, onUserEvent, setColumnSize, }: ColumnFilterProps<TColumnFilter, TColumnFilterValue>) => import("react
|
|
18
|
+
export declare const ColumnFilter: <TColumnFilter extends object, TColumnFilterValue>({ columns, setColumnOrder, defaultColumnOrder, columnOrder, onUserEvent, setColumnSize, }: ColumnFilterProps<TColumnFilter, TColumnFilterValue>) => import("react").JSX.Element;
|
|
19
19
|
export interface ColumnFiltersDragAndDropProps<TColumnFiltersDragAndDrop extends object, TColumnFiltersDragAndDropValue> {
|
|
20
20
|
columns: Array<Column<TColumnFiltersDragAndDrop, TColumnFiltersDragAndDropValue>>;
|
|
21
21
|
setColumnOrder: (updater: Updater<ColumnOrderState>) => void;
|
|
@@ -28,5 +28,5 @@ interface ColumnFilterItemProps {
|
|
|
28
28
|
* @param {boolean} [props.isSortDisabled] - Optional flag to disable sorting.
|
|
29
29
|
* @returns {Element} A React component rendering the column filter item.
|
|
30
30
|
*/
|
|
31
|
-
export declare const ColumnFilterItem: ({ name, onToggle, toggled, disabled, index, moveColumn, onDrop, onCancelDrop, id, isSortDisabled, }: ColumnFilterItemProps) => import("react
|
|
31
|
+
export declare const ColumnFilterItem: ({ name, onToggle, toggled, disabled, index, moveColumn, onDrop, onCancelDrop, id, isSortDisabled, }: ColumnFilterItemProps) => import("react").JSX.Element;
|
|
32
32
|
export {};
|
package/src/translation.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export type TranslationFunction = TransForLibs<TranslationKeys>;
|
|
|
26
26
|
/**
|
|
27
27
|
* Trans for this specific library.
|
|
28
28
|
*/
|
|
29
|
-
export declare const Trans: (props: NamespaceTransProps<TranslationKeys>) => import("react
|
|
29
|
+
export declare const Trans: (props: NamespaceTransProps<TranslationKeys>) => import("react").JSX.Element;
|
|
30
30
|
/**
|
|
31
31
|
* Registers the translations for this library
|
|
32
32
|
*/
|