@deix/rossini-identity-management 3.1.0 → 4.0.0
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/lib/app/[locale]/groups/page.js +2 -2
- package/lib/app/[locale]/layout.d.ts +1 -1
- package/lib/app/[locale]/layout.d.ts.map +1 -1
- package/lib/app/[locale]/layout.js +2 -4
- package/lib/app/[locale]/users/page.d.ts +1 -2
- package/lib/app/[locale]/users/page.d.ts.map +1 -1
- package/lib/app/[locale]/users/page.js +2 -2
- package/lib/app/layout.d.ts +1 -1
- package/lib/app/layout.d.ts.map +1 -1
- package/lib/app/layout.js +2 -4
- package/lib/components/AddItemDialog.d.ts +1 -2
- package/lib/components/AddItemDialog.d.ts.map +1 -1
- package/lib/components/AddItemDialog.js +10 -16
- package/lib/components/DeleteConfirmationDialog.d.ts +1 -2
- package/lib/components/DeleteConfirmationDialog.d.ts.map +1 -1
- package/lib/components/DeleteConfirmationDialog.js +5 -11
- package/lib/components/SearchField.d.ts +1 -2
- package/lib/components/SearchField.d.ts.map +1 -1
- package/lib/components/SearchField.js +4 -6
- package/lib/components/groups/CreateGroupDialog.d.ts +1 -2
- package/lib/components/groups/CreateGroupDialog.d.ts.map +1 -1
- package/lib/components/groups/CreateGroupDialog.js +2 -5
- package/lib/components/groups/GroupDetails.d.ts +1 -2
- package/lib/components/groups/GroupDetails.d.ts.map +1 -1
- package/lib/components/groups/GroupDetails.js +2 -3
- package/lib/components/groups/GroupForm.d.ts +1 -2
- package/lib/components/groups/GroupForm.d.ts.map +1 -1
- package/lib/components/groups/GroupForm.js +8 -14
- package/lib/components/groups/GroupTabs.d.ts +1 -1
- package/lib/components/groups/GroupTabs.d.ts.map +1 -1
- package/lib/components/groups/GroupTabs.js +6 -14
- package/lib/components/groups/GroupUsers.d.ts +1 -2
- package/lib/components/groups/GroupUsers.d.ts.map +1 -1
- package/lib/components/groups/GroupUsers.js +17 -34
- package/lib/components/groups/Groups.d.ts +1 -2
- package/lib/components/groups/Groups.d.ts.map +1 -1
- package/lib/components/groups/Groups.js +19 -35
- package/lib/components/groups/GroupsTable.d.ts +1 -2
- package/lib/components/groups/GroupsTable.d.ts.map +1 -1
- package/lib/components/groups/GroupsTable.js +13 -25
- package/lib/components/users/CreateUserDialog.d.ts +1 -2
- package/lib/components/users/CreateUserDialog.d.ts.map +1 -1
- package/lib/components/users/CreateUserDialog.js +2 -5
- package/lib/components/users/UserCredentials.d.ts +1 -2
- package/lib/components/users/UserCredentials.d.ts.map +1 -1
- package/lib/components/users/UserCredentials.js +2 -3
- package/lib/components/users/UserDetails.d.ts +1 -2
- package/lib/components/users/UserDetails.d.ts.map +1 -1
- package/lib/components/users/UserDetails.js +2 -3
- package/lib/components/users/UserForm.d.ts +1 -2
- package/lib/components/users/UserForm.d.ts.map +1 -1
- package/lib/components/users/UserForm.js +10 -26
- package/lib/components/users/UserGroups.d.ts +1 -2
- package/lib/components/users/UserGroups.d.ts.map +1 -1
- package/lib/components/users/UserGroups.js +17 -32
- package/lib/components/users/Users.d.ts +1 -2
- package/lib/components/users/Users.d.ts.map +1 -1
- package/lib/components/users/Users.js +19 -35
- package/lib/components/users/UsersTable.d.ts +1 -2
- package/lib/components/users/UsersTable.d.ts.map +1 -1
- package/lib/components/users/UsersTable.js +15 -31
- package/lib/components/users/UsersTabs.d.ts +1 -1
- package/lib/components/users/UsersTabs.d.ts.map +1 -1
- package/lib/components/users/UsersTabs.js +6 -16
- package/lib/config/index.d.ts +1 -1
- package/lib/config/index.d.ts.map +1 -1
- package/lib/config/index.js +3 -2
- package/lib/proxy.d.ts +5 -0
- package/lib/proxy.d.ts.map +1 -0
- package/lib/{middleware.js → proxy.js} +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/hooks/useAPIClient.d.ts +1 -1
- package/lib/utils/hooks/useAPIClient.d.ts.map +1 -1
- package/lib/utils/hooks/useAPIClient.js +4 -3
- package/package.json +26 -23
- package/lib/middleware.d.ts +0 -5
- package/lib/middleware.d.ts.map +0 -1
|
@@ -4,7 +4,7 @@ interface APIClientProviderProps {
|
|
|
4
4
|
baseURL: string;
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
}
|
|
7
|
-
export declare const APIClientProvider: ({ baseURL, children, }: APIClientProviderProps) =>
|
|
7
|
+
export declare const APIClientProvider: ({ baseURL, children, }: APIClientProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export declare const useAPIClient: () => AxiosInstance;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=useAPIClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAPIClient.d.ts","sourceRoot":"","sources":["../../../src/utils/hooks/useAPIClient.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAoC,MAAM,OAAO,CAAC;AAUzD,UAAU,sBAAsB;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,iBAAiB,GAAI,wBAG/B,sBAAsB,
|
|
1
|
+
{"version":3,"file":"useAPIClient.d.ts","sourceRoot":"","sources":["../../../src/utils/hooks/useAPIClient.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAoC,MAAM,OAAO,CAAC;AAUzD,UAAU,sBAAsB;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,iBAAiB,GAAI,wBAG/B,sBAAsB,4CAaxB,CAAC;AAEF,eAAO,MAAM,YAAY,qBAA+B,CAAC"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
2
|
import axios from 'axios';
|
|
2
|
-
import
|
|
3
|
+
import { createContext, useContext } from 'react';
|
|
3
4
|
const APIContext = createContext(axios.create({
|
|
4
5
|
headers: {
|
|
5
6
|
Accept: 'application/json',
|
|
6
7
|
},
|
|
7
8
|
}));
|
|
8
9
|
export const APIClientProvider = ({ baseURL, children, }) => {
|
|
9
|
-
return (
|
|
10
|
+
return (_jsx(APIContext.Provider, { value: axios.create({
|
|
10
11
|
baseURL,
|
|
11
12
|
headers: {
|
|
12
13
|
Accept: 'application/json',
|
|
13
14
|
},
|
|
14
|
-
})
|
|
15
|
+
}), children: children }));
|
|
15
16
|
};
|
|
16
17
|
export const useAPIClient = () => useContext(APIContext);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deix/rossini-identity-management",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"@mui/material": "^7.2.0",
|
|
28
28
|
"@tanstack/react-query": "^5.66.0",
|
|
29
29
|
"@tanstack/react-query-devtools": "^5.66.0",
|
|
30
|
-
"@types/react": "^19.0
|
|
31
|
-
"@types/react-dom": "^19.
|
|
30
|
+
"@types/react": "^19.1.0",
|
|
31
|
+
"@types/react-dom": "^19.1.1",
|
|
32
32
|
"axios": "^1.7.9",
|
|
33
33
|
"next": "^15.1.6",
|
|
34
|
-
"react": "^19.
|
|
35
|
-
"react-dom": "^19.
|
|
34
|
+
"react": "^19.1.0",
|
|
35
|
+
"react-dom": "^19.1.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@babel/core": "^7.
|
|
38
|
+
"@babel/core": "^7.26.0",
|
|
39
39
|
"@emotion/react": "^11.14.0",
|
|
40
40
|
"@emotion/styled": "^11.14.0",
|
|
41
41
|
"@eslint/js": "^9.15.0",
|
|
@@ -44,29 +44,30 @@
|
|
|
44
44
|
"@mdx-js/react": "^3.1.0",
|
|
45
45
|
"@mui/icons-material": "^7.2.0",
|
|
46
46
|
"@mui/material": "^7.2.0",
|
|
47
|
-
"@storybook/addon-docs": "
|
|
48
|
-
"@storybook/addon-links": "^
|
|
49
|
-
"@storybook/addon-onboarding": "^
|
|
50
|
-
"@storybook/nextjs": "^9.0.15",
|
|
47
|
+
"@storybook/addon-docs": "^10.0.0",
|
|
48
|
+
"@storybook/addon-links": "^10.0.0",
|
|
49
|
+
"@storybook/addon-onboarding": "^10.0.0",
|
|
51
50
|
"@storybook/mdx2-csf": "^1.1.0",
|
|
52
|
-
"@
|
|
53
|
-
"@tanstack/react-query
|
|
51
|
+
"@storybook/nextjs": "^10.0.0",
|
|
52
|
+
"@tanstack/react-query": "^5.64.2",
|
|
53
|
+
"@tanstack/react-query-devtools": "^5.64.2",
|
|
54
54
|
"@types/node": "^24.0.10",
|
|
55
|
-
"@types/react": "
|
|
56
|
-
"@types/react-dom": "
|
|
55
|
+
"@types/react": "19.2.7",
|
|
56
|
+
"@types/react-dom": "19.2.3",
|
|
57
57
|
"axios": "^1.7.9",
|
|
58
58
|
"babel-loader": "^10.0.0",
|
|
59
59
|
"commitizen": "^4.3.0",
|
|
60
60
|
"cz-conventional-changelog": "^3.3.0",
|
|
61
61
|
"eslint": "^9.19.0",
|
|
62
|
-
"eslint-config-prettier": "^10.
|
|
62
|
+
"eslint-config-prettier": "^10.1.1",
|
|
63
63
|
"eslint-plugin-prettier": "^5.2.3",
|
|
64
|
-
"eslint-plugin-storybook": "
|
|
64
|
+
"eslint-plugin-storybook": "^10.0.0",
|
|
65
|
+
"storybook": "^10.0.0",
|
|
65
66
|
"json-server": "^1.0.0-alpha.21",
|
|
66
|
-
"next": "
|
|
67
|
-
"react": "
|
|
68
|
-
"react-docgen-typescript-plugin": "^1.0.
|
|
69
|
-
"react-dom": "
|
|
67
|
+
"next": "16.0.10",
|
|
68
|
+
"react": "19.2.3",
|
|
69
|
+
"react-docgen-typescript-plugin": "^1.0.8",
|
|
70
|
+
"react-dom": "19.2.3",
|
|
70
71
|
"remark-mdx": "^3.0.0",
|
|
71
72
|
"ts-loader": "^9.5.1",
|
|
72
73
|
"typescript": "^5.7.3",
|
|
@@ -84,13 +85,15 @@
|
|
|
84
85
|
}
|
|
85
86
|
},
|
|
86
87
|
"dependencies": {
|
|
87
|
-
"@deix/rossini-core": "^
|
|
88
|
+
"@deix/rossini-core": "^6.0.2",
|
|
88
89
|
"@mui/icons-material": "^7.2.0",
|
|
89
90
|
"@mui/material": "^7.2.0",
|
|
90
|
-
"notistack": "^3.0.
|
|
91
|
+
"notistack": "^3.0.2",
|
|
91
92
|
"react-hook-form": "^7.49.3"
|
|
92
93
|
},
|
|
93
94
|
"overrides": {
|
|
94
|
-
"tmp": "^0.2.4"
|
|
95
|
+
"tmp": "^0.2.4",
|
|
96
|
+
"@types/react": "19.2.7",
|
|
97
|
+
"@types/react-dom": "19.2.3"
|
|
95
98
|
}
|
|
96
99
|
}
|
package/lib/middleware.d.ts
DELETED
package/lib/middleware.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../src/middleware.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU,6FAAmD,CAAC;AAE3E,eAAO,MAAM,MAAM;;CAGlB,CAAC"}
|