@pdg/react-table 1.1.14 → 1.2.1

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.
Files changed (34) hide show
  1. package/README.md +13 -2
  2. package/dist/PInfoTable/PInfoTable.d.ts +1 -4
  3. package/dist/PInfoTable/PInfoTable.types.d.ts +3 -3
  4. package/dist/PSearchTable/PSearchTable.d.ts +2 -5
  5. package/dist/PSearchTable/PSearchTable.types.d.ts +10 -9
  6. package/dist/PTable/PTable.d.ts +2 -5
  7. package/dist/PTable/PTable.types.d.ts +8 -7
  8. package/dist/PTableBodyCell/PTableBodyCell.d.ts +2 -1
  9. package/dist/PTableBodyCell/PTableBodyCell.types.d.ts +9 -7
  10. package/dist/PTableBodyRow/PTableBodyRow.d.ts +2 -1
  11. package/dist/PTableBodyRow/PTableBodyRow.types.d.ts +8 -8
  12. package/dist/PTableButton/PTableButton.d.ts +1 -1
  13. package/dist/PTableCommonCell/PTableCommonCell.d.ts +3 -2
  14. package/dist/PTableCommonCell/PTableCommonCell.types.d.ts +5 -5
  15. package/dist/PTableContext/PTableContext.d.ts +1 -1
  16. package/dist/PTableContext/PTableContext.types.d.ts +6 -6
  17. package/dist/PTableContext/useTableState.d.ts +2 -1
  18. package/dist/PTableContextProvider/PTableContextProvider.d.ts +2 -1
  19. package/dist/PTableContextProvider/PTableContextProvider.types.d.ts +3 -2
  20. package/dist/PTableFooterCell/PTableFooterCell.d.ts +3 -2
  21. package/dist/PTableFooterCell/PTableFooterCell.types.d.ts +3 -3
  22. package/dist/PTableHeadCell/PTableHeadCell.d.ts +3 -2
  23. package/dist/PTableHeadCell/PTableHeadCell.types.d.ts +4 -4
  24. package/dist/PTableMenuButton/PTableMenuButton.d.ts +1 -1
  25. package/dist/PTablePagination/PTablePagination.d.ts +2 -2
  26. package/dist/PTableSortableBody/PTableSortableBody.d.ts +2 -1
  27. package/dist/PTableSortableBody/PTableSortableBody.types.d.ts +4 -4
  28. package/dist/PTableSortableBodyBlock/PTableSortableBodyBlock.d.ts +2 -1
  29. package/dist/PTableSortableBodyBlock/PTableSortableBodyBlock.types.d.ts +3 -2
  30. package/dist/PTableTopHead/PTableTopHead.d.ts +2 -1
  31. package/dist/PTableTopHead/PTableTopHead.types.d.ts +5 -5
  32. package/dist/index.esm.js +4948 -3819
  33. package/dist/index.js +4948 -3819
  34. package/package.json +37 -16
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pdg/react-table",
3
3
  "title": "Typescript React Table Module",
4
4
  "description": "Typescript React Table Module",
5
- "version": "1.1.14",
5
+ "version": "1.2.1",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
8
8
  "module": "./dist/index.esm.js",
@@ -31,14 +31,15 @@
31
31
  "dev": "cd examples && npm run dev",
32
32
  "watchman:del": "watchman watch-del \"${PWD}\" ; watchman watch-project \"${PWD}\"",
33
33
  "build:examples": "cd examples && npm run build",
34
- "build": "npm run watchman:del && npm run lint && rollup -c --bundleConfigAsCjs",
34
+ "build": "npm run watchman:del && rollup -c --bundleConfigAsCjs",
35
35
  "git:commit": "node .git-commit.cjs",
36
36
  "git:push": "git push",
37
37
  "git:commit:push": "npm run git:commit && npm run git:push",
38
38
  "git:merge:mirror": "node .git-merge.cjs mirror main",
39
39
  "reset:gitignore": "git rm -r --cached . && git add .",
40
- "pub": "npm i && npm run build:examples && npm run build && npm publish --access=public && rm ./.git/hooks/pre-commit",
40
+ "pub": "npm i && npm run build:examples && npm run build && npm publish --access=public && [ -f ./.git/hooks/pre-commit ] && rm ./.git/hooks/pre-commit || true",
41
41
  "lint": "eslint './src/**/*.{ts,tsx}'",
42
+ "tsc": "tsc --noEmit",
42
43
  "reinstall": "npm run reinstall:module",
43
44
  "reinstall:module": "rm -rf node_modules && rm -f package-lock.json && npm i"
44
45
  },
@@ -51,38 +52,58 @@
51
52
  "javascript"
52
53
  ],
53
54
  "peerDependencies": {
54
- "react": ">=17.0.0",
55
- "react-dom": ">=17.0.0"
55
+ "@dnd-kit/core": "^6.3.0",
56
+ "@dnd-kit/sortable": "^10.0.0",
57
+ "@emotion/react": "^11.0.0",
58
+ "@emotion/styled": "^11.0.0",
59
+ "@mui/icons-material": "^7.0.0",
60
+ "@mui/material": "^7.0.0",
61
+ "@mui/x-date-pickers": "^7.0.0",
62
+ "@pdg/react-component": "^1.1.10",
63
+ "@pdg/react-form": "^1.2.2",
64
+ "dayjs": "^1.11.19",
65
+ "react": ">=19.0.0",
66
+ "react-dom": ">=19.0.0",
67
+ "react-router": ">=7.6.0",
68
+ "simplebar-react": "^3.0.0"
56
69
  },
57
70
  "dependencies": {
58
- "@dnd-kit/core": "^6.3.1",
59
- "@dnd-kit/sortable": "^10.0.0",
60
- "@emotion/react": "^11.14.0",
61
- "@emotion/styled": "^11.14.1",
62
- "@mui/icons-material": "^7.3.6",
63
- "@mui/material": "^7.3.6",
64
- "@mui/x-date-pickers": "^7.29.4",
65
71
  "@pdg/compare": "^1.0.8",
66
72
  "@pdg/formatting": "^1.0.8",
67
- "@pdg/react-component": "^1.1.6",
68
- "@pdg/react-form": "^1.1.23",
69
- "@pdg/react-hook": "^1.0.43",
73
+ "@pdg/react-hook": "^2.0.9",
70
74
  "@pdg/types": "^1.0.9",
75
+ "classnames": "^2.5.1",
71
76
  "react-intersection-observer": "^9.16.0",
72
77
  "uuid": "^13.0.0"
73
78
  },
74
79
  "devDependencies": {
80
+ "@babel/core": "^7.28.5",
81
+ "@babel/preset-env": "^7.28.5",
82
+ "@babel/preset-react": "^7.28.5",
83
+ "@babel/preset-typescript": "^7.28.5",
84
+ "@dnd-kit/core": "^6.3.1",
85
+ "@dnd-kit/sortable": "^10.0.0",
86
+ "@emotion/react": "^11.14.0",
87
+ "@emotion/styled": "^11.14.1",
75
88
  "@eslint/js": "9.39.1",
89
+ "@mui/icons-material": "^7.3.6",
90
+ "@mui/material": "^7.3.6",
91
+ "@mui/x-date-pickers": "^7.29.4",
92
+ "@pdg/react-component": "^1.1.10",
93
+ "@pdg/react-form": "^1.2.2",
94
+ "@rollup/plugin-babel": "^6.1.0",
76
95
  "@rollup/plugin-commonjs": "29.0.0",
96
+ "@rollup/plugin-eslint": "^9.2.0",
77
97
  "@rollup/plugin-node-resolve": "16.0.3",
78
98
  "@types/node": "^22.19.2",
79
99
  "@types/react": "19.2.7",
80
100
  "@typescript-eslint/parser": "8.49.0",
101
+ "babel-plugin-react-compiler": "1.0.0",
81
102
  "eslint": "9.39.1",
82
103
  "eslint-config-prettier": "10.1.8",
83
104
  "eslint-plugin-prettier": "5.5.4",
84
105
  "eslint-plugin-react": "7.37.5",
85
- "eslint-plugin-react-hooks": "5.2.0",
106
+ "eslint-plugin-react-hooks": "^7.0.1",
86
107
  "eslint-plugin-react-refresh": "0.4.24",
87
108
  "globals": "^16.5.0",
88
109
  "prettier": "3.7.4",