@campxdev/campx-web-utils 0.3.0 → 0.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,19 +1,19 @@
1
1
  {
2
2
  "name": "@campxdev/campx-web-utils",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "main": "./export.ts",
5
5
  "private": false,
6
6
  "peerDependencies": {
7
- "@campxdev/react-blueprint": ">=1.5.0",
8
- "@emotion/react": ">=11.11.4",
9
- "@emotion/styled": ">=11.11.5",
7
+ "@campxdev/react-blueprint": ">=^1.5.7",
8
+ "@emotion/react": ">=^11.13.3",
9
+ "@emotion/styled": ">=^11.13.0",
10
10
  "@mui/icons-material": ">=6.1.5",
11
11
  "@mui/material": ">=6.1.5",
12
12
  "@mui/x-data-grid": ">=7.22.1",
13
13
  "@mui/x-date-pickers": ">=7.22.1"
14
14
  },
15
15
  "dependencies": {
16
- "@campxdev/react-blueprint": "1.5.0",
16
+ "@campxdev/react-blueprint": "1.5.7",
17
17
  "@hookform/resolvers": "^3.9.0",
18
18
  "@mui/x-date-pickers": "^7.22.1",
19
19
  "axios": "^1.7.2",
@@ -12,7 +12,7 @@ const defaultConfirmDialogState = {
12
12
  onCancel: () => {},
13
13
  };
14
14
 
15
- const useConfirm = () => {
15
+ export const useConfirm = () => {
16
16
  const isConfirmed = ({
17
17
  title,
18
18
  message,
@@ -55,5 +55,3 @@ const useConfirm = () => {
55
55
 
56
56
  return isConfirmed;
57
57
  };
58
-
59
- export default useConfirm;