@pdg/react-table 1.1.8 → 1.1.10

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.
@@ -31,7 +31,7 @@ export interface PSearchTableProps<T = PTableItem> extends PTableCommonSxProps {
31
31
  search?: PSearchTableSearchProps;
32
32
  table: PSearchTableTableProps<T>;
33
33
  betweenSearchTableComponent?: ReactNode;
34
- onGetData?: (data: PFormValueMap) => Promise<PSearchTableData<T>>;
34
+ onGetData?(data: PFormValueMap): Promise<PSearchTableData<T>>;
35
35
  onRequestHashChange?: (hash: string) => void;
36
36
  }
37
37
  export interface PSearchTableCommands<T = PTableItem> {
package/dist/index.esm.js CHANGED
@@ -1266,7 +1266,7 @@ var StyledNoDataDiv = styled('div')(templateObject_1$3 || (templateObject_1$3 =
1266
1266
  var templateObject_1$3;var PTableContext = createContext({});function useTableState() {
1267
1267
  var value = useContext(PTableContext);
1268
1268
  if (empty(value)) {
1269
- throw new Error('useFormState should be used within TableContext.Provider');
1269
+ throw new Error('useTableState should be used within TableContext.Provider');
1270
1270
  }
1271
1271
  return value;
1272
1272
  }var StyledTableCell = styled(TableCell)(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n &.ellipsis {\n position: relative;\n max-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"], ["\n &.ellipsis {\n position: relative;\n max-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"])));
package/dist/index.js CHANGED
@@ -1266,7 +1266,7 @@ var StyledNoDataDiv = material.styled('div')(templateObject_1$3 || (templateObje
1266
1266
  var templateObject_1$3;var PTableContext = React.createContext({});function useTableState() {
1267
1267
  var value = React.useContext(PTableContext);
1268
1268
  if (compare.empty(value)) {
1269
- throw new Error('useFormState should be used within TableContext.Provider');
1269
+ throw new Error('useTableState should be used within TableContext.Provider');
1270
1270
  }
1271
1271
  return value;
1272
1272
  }var StyledTableCell = material.styled(material.TableCell)(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n &.ellipsis {\n position: relative;\n max-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"], ["\n &.ellipsis {\n position: relative;\n max-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"])));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pdg/react-table",
3
3
  "title": "React Table",
4
- "version": "1.1.8",
4
+ "version": "1.1.10",
5
5
  "description": "React Table",
6
6
  "type": "module",
7
7
  "types": "dist/index.d.ts",
@@ -58,10 +58,10 @@
58
58
  "@mui/x-date-pickers": "^7.29.4",
59
59
  "@pdg/compare": "^1.0.6",
60
60
  "@pdg/formatting": "^1.0.5",
61
- "@pdg/react-component": "^1.1.1",
62
- "@pdg/react-form": "^1.1.5",
63
- "@pdg/react-hook": "^1.0.32",
64
- "@pdg/types": "^1.0.2",
61
+ "@pdg/react-component": "^1.1.2",
62
+ "@pdg/react-form": "^1.1.15",
63
+ "@pdg/react-hook": "^1.0.39",
64
+ "@pdg/types": "^1.0.6",
65
65
  "@types/uuid": "^10.0.0",
66
66
  "react-intersection-observer": "^9.16.0",
67
67
  "uuid": "^11.1.0"
@@ -86,7 +86,7 @@
86
86
  "rollup-plugin-sass": "^1.15.2",
87
87
  "rollup-plugin-typescript2": "^0.36.0",
88
88
  "sass": "^1.89.1",
89
- "typescript": "^5.8.3",
89
+ "typescript": "5.8.3",
90
90
  "typescript-eslint": "^8.33.0"
91
91
  }
92
92
  }