@evenicanpm/portal-table-ui 1.8.1 → 1.8.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evenicanpm/portal-table-ui",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",
@@ -47,5 +47,5 @@
47
47
  "@tanstack/react-query": "^5.90.11",
48
48
  "date-fns": "^4.1.0"
49
49
  },
50
- "gitHead": "07cfd4496c6a137e1420a6572298998b25b6369d"
50
+ "gitHead": "d82197e04ab3e322c51a112929cec75dd842d5f6"
51
51
  }
@@ -1,10 +1,10 @@
1
1
  import { Button, CircularProgress, IconButton } from "@mui/material";
2
2
  import { useMutation } from "@tanstack/react-query";
3
- import type { UIAction } from "src/features/table/types/schemas";
3
+ import type * as Types from "../../../../types";
4
4
 
5
5
  interface ActionButtonProps {
6
6
  docId: string;
7
- action: UIAction;
7
+ action: Types.Schemas.UIAction;
8
8
  resourceName: string;
9
9
  }
10
10
 
@@ -4,7 +4,6 @@ import TableCell from "@mui/material/TableCell";
4
4
  import TableRow from "@mui/material/TableRow";
5
5
  import { styled } from "@mui/system";
6
6
  import type React from "react";
7
- import type { UIAction } from "src/features/table/types/schemas";
8
7
  import type * as Types from "../../../../types";
9
8
  import { ActionButton } from "./action-button";
10
9
 
@@ -39,7 +38,7 @@ export type DocumentTableProps = {
39
38
  /** */
40
39
  handleClick: React.Dispatch<React.SetStateAction<string | number | null>>;
41
40
  /** Actions renderer */
42
- actions: UIAction[];
41
+ actions: Types.Schemas.UIAction[];
43
42
  /** Does this view config have actions? */
44
43
  /** The id field for the document (used for knowing what to set selected id to) */
45
44
  id: string | number;