@moser-inc/moser-labs-react 6.2.0 → 6.4.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/dist/moser-labs-react.css +1 -1
- package/dist/moser-labs-react.js +13265 -13172
- package/dist/package.json.d.ts +7 -7
- package/dist/src/lib/auth/authContext.d.ts +2 -1
- package/dist/src/lib/head/headContext.d.ts +5 -0
- package/dist/src/lib/head/index.d.ts +1 -0
- package/dist/src/lib/labs/labsContext.d.ts +2 -2
- package/dist/src/lib/prime/index.d.ts +1 -0
- package/dist/src/lib/prime/primeContext.d.ts +5 -0
- package/dist/src/main.d.ts +2 -0
- package/package.json +7 -7
package/dist/package.json.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
"name": "@moser-inc/moser-labs-react",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"description": "React components for the Moser Labs suite of applications.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,21 +37,21 @@ declare const _default: {
|
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@types/react": ">= 18.2.14 < 19",
|
|
39
39
|
"@types/react-dom": ">= 18.2.6 < 19",
|
|
40
|
+
"@unhead/react": ">=2.0.11 < 3",
|
|
40
41
|
"primereact": ">= 9.6.0 < 11",
|
|
41
42
|
"react": ">= 18.2.0 < 19",
|
|
42
43
|
"react-dom": ">= 18.2.0 < 19"
|
|
43
44
|
},
|
|
44
45
|
"dependencies": {
|
|
45
46
|
"@analytics/mixpanel": "^0.4.0",
|
|
46
|
-
"@moser-inc/moser-labs-custom-elements": "2.4.
|
|
47
|
+
"@moser-inc/moser-labs-custom-elements": "2.4.1",
|
|
47
48
|
"@react-hookz/web": "^25.1.1",
|
|
48
|
-
"@unhead/react": "^2.0.11",
|
|
49
49
|
"analytics": "^0.8.16",
|
|
50
50
|
"clsx": "^2.1.1",
|
|
51
51
|
"dayjs": "^1.11.13",
|
|
52
52
|
"keycloak-js": "23.0.3",
|
|
53
53
|
"mixpanel-browser": "^2.65.0",
|
|
54
|
-
"motion": "^12.
|
|
54
|
+
"motion": "^12.23.0",
|
|
55
55
|
"react-idle-timer": "^5.7.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
@@ -63,7 +63,7 @@ declare const _default: {
|
|
|
63
63
|
"@unocss/eslint-config": "^66.3.2",
|
|
64
64
|
"@vitejs/plugin-basic-ssl": "^2.1.0",
|
|
65
65
|
"@vitejs/plugin-react-swc": "^3.10.2",
|
|
66
|
-
"eslint": "^9.30.
|
|
66
|
+
"eslint": "^9.30.1",
|
|
67
67
|
"prettier": "^3.6.2",
|
|
68
68
|
"react-hook-form": "^7.59.0",
|
|
69
69
|
"react-router": "^7.6.3",
|
|
@@ -71,9 +71,9 @@ declare const _default: {
|
|
|
71
71
|
"sass": "^1.89.2",
|
|
72
72
|
"typescript": "^5.8.3",
|
|
73
73
|
"unocss": "^66.3.2",
|
|
74
|
-
"vite": "^7.0.
|
|
74
|
+
"vite": "^7.0.1",
|
|
75
75
|
"vite-plugin-dts": "^4.5.4",
|
|
76
|
-
"zod": "^3.25.
|
|
76
|
+
"zod": "^3.25.71"
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { KeycloakUser, auth, refreshToken } from '.';
|
|
2
3
|
export type Role = string;
|
|
3
4
|
export type LabsAuthContextValue = {
|
|
@@ -14,6 +15,6 @@ export declare const LabsAuthContext: import('react').Context<LabsAuthContextVal
|
|
|
14
15
|
export interface LabsAuthProviderProps {
|
|
15
16
|
labsApiUri?: string;
|
|
16
17
|
rolesClientId?: string;
|
|
17
|
-
children:
|
|
18
|
+
children: ReactNode;
|
|
18
19
|
}
|
|
19
20
|
export declare const LabsAuthProvider: ({ labsApiUri, rolesClientId, children, }: LabsAuthProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './headContext';
|
|
@@ -11,7 +11,7 @@ export interface LabsContextValue {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export declare const LabsContext: import('react').Context<LabsContextValue | null>;
|
|
14
|
-
export
|
|
14
|
+
export interface LabsProviderProps extends LabsContextValue {
|
|
15
15
|
children: ReactNode;
|
|
16
|
-
}
|
|
16
|
+
}
|
|
17
17
|
export declare const LabsProvider: ({ children, ...rest }: LabsProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './primeContext';
|
package/dist/src/main.d.ts
CHANGED
|
@@ -29,7 +29,9 @@ export * from './layouts/Centered.layout';
|
|
|
29
29
|
export * from './layouts/Main.layout';
|
|
30
30
|
export * from './lib/analytics';
|
|
31
31
|
export * from './lib/auth';
|
|
32
|
+
export * from './lib/head';
|
|
32
33
|
export * from './lib/labs';
|
|
34
|
+
export * from './lib/prime';
|
|
33
35
|
export * from './types/DirectoryValue.type';
|
|
34
36
|
export * from './types/ReactHookForm.type';
|
|
35
37
|
export * from './utils/animations';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moser-inc/moser-labs-react",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"description": "React components for the Moser Labs suite of applications.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,21 +37,21 @@
|
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@types/react": ">= 18.2.14 < 19",
|
|
39
39
|
"@types/react-dom": ">= 18.2.6 < 19",
|
|
40
|
+
"@unhead/react": ">=2.0.11 < 3",
|
|
40
41
|
"primereact": ">= 9.6.0 < 11",
|
|
41
42
|
"react": ">= 18.2.0 < 19",
|
|
42
43
|
"react-dom": ">= 18.2.0 < 19"
|
|
43
44
|
},
|
|
44
45
|
"dependencies": {
|
|
45
46
|
"@analytics/mixpanel": "^0.4.0",
|
|
46
|
-
"@moser-inc/moser-labs-custom-elements": "2.4.
|
|
47
|
+
"@moser-inc/moser-labs-custom-elements": "2.4.1",
|
|
47
48
|
"@react-hookz/web": "^25.1.1",
|
|
48
|
-
"@unhead/react": "^2.0.11",
|
|
49
49
|
"analytics": "^0.8.16",
|
|
50
50
|
"clsx": "^2.1.1",
|
|
51
51
|
"dayjs": "^1.11.13",
|
|
52
52
|
"keycloak-js": "23.0.3",
|
|
53
53
|
"mixpanel-browser": "^2.65.0",
|
|
54
|
-
"motion": "^12.
|
|
54
|
+
"motion": "^12.23.0",
|
|
55
55
|
"react-idle-timer": "^5.7.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@unocss/eslint-config": "^66.3.2",
|
|
64
64
|
"@vitejs/plugin-basic-ssl": "^2.1.0",
|
|
65
65
|
"@vitejs/plugin-react-swc": "^3.10.2",
|
|
66
|
-
"eslint": "^9.30.
|
|
66
|
+
"eslint": "^9.30.1",
|
|
67
67
|
"prettier": "^3.6.2",
|
|
68
68
|
"react-hook-form": "^7.59.0",
|
|
69
69
|
"react-router": "^7.6.3",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"sass": "^1.89.2",
|
|
72
72
|
"typescript": "^5.8.3",
|
|
73
73
|
"unocss": "^66.3.2",
|
|
74
|
-
"vite": "^7.0.
|
|
74
|
+
"vite": "^7.0.1",
|
|
75
75
|
"vite-plugin-dts": "^4.5.4",
|
|
76
|
-
"zod": "^3.25.
|
|
76
|
+
"zod": "^3.25.71"
|
|
77
77
|
}
|
|
78
78
|
}
|