rez-table-listing-mui 1.3.0 → 1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez-table-listing-mui",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "type": "module",
5
5
  "description": "A rez table listing component built on TanStack Table",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -9,3 +9,4 @@ export { default as KanbanWrapper } from "./kanban";
9
9
 
10
10
  export * from "./listing/types/table";
11
11
  export * from "./listing/types/table-options";
12
+ export * from "./listing/types/filter";
@@ -40,7 +40,7 @@ const CustomSearch = ({
40
40
  startAdornment: (
41
41
  <InputAdornment position="start">
42
42
  <SearchIcon
43
- sx={{ color: "#888888", fontSize: "20px" }}
43
+ sx={{ color: "#888888", fontSize: "20px", paddingLeft: 1.5 }}
44
44
  className="search-icon-svg"
45
45
  />
46
46
  </InputAdornment>
@@ -50,7 +50,7 @@ const CustomSearch = ({
50
50
  <IconButton
51
51
  edge="end"
52
52
  onClick={handleClear}
53
- sx={{ color: "#888888", fontSize: "20px" }}
53
+ sx={{ color: "#888888", fontSize: "20px", paddingRight: 1.5 }}
54
54
  >
55
55
  <CloseIcon />
56
56
  </IconButton>
@@ -15,7 +15,7 @@ import {
15
15
  commonGetDropdownDataAPI,
16
16
  createSavedFilter,
17
17
  deleteSavedFilter,
18
- getFilteEntityList,
18
+ getFilterEntityList,
19
19
  getFilterCriteriaByEntity,
20
20
  getSettingsData,
21
21
  saveSettingsData,
@@ -310,7 +310,7 @@ export const useGetFilterEntityListAndCriteria = ({
310
310
  }) => {
311
311
  const filterEntityList = useQuery({
312
312
  queryKey: ["filterEntityList", entity_type],
313
- queryFn: () => getFilteEntityList(entity_type),
313
+ queryFn: () => getFilterEntityList(entity_type),
314
314
  enabled: !!entity_type,
315
315
  });
316
316
 
@@ -162,7 +162,7 @@ export const viewSettingsDropDown = async ({
162
162
  return response.data;
163
163
  };
164
164
 
165
- export const getFilteEntityList = async (entity_type: string) => {
165
+ export const getFilterEntityList = async (entity_type: string) => {
166
166
  const response = await api.get(`/entity-relation/${entity_type}`);
167
167
 
168
168
  return response.data;