@moser-inc/moser-labs-react 4.0.0 → 4.1.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.js +15349 -19098
- package/dist/package.json.d.ts +10 -12
- package/dist/src/components/LabsLoader.d.ts +3 -3
- package/dist/src/utils/fieldHelpers.d.ts +14 -1
- package/package.json +10 -12
- package/dist/keycloak.json +0 -8
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": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "React components for the Moser Labs suite of applications.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,7 +44,6 @@ declare const _default: {
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@analytics/mixpanel": "^0.4.0",
|
|
47
|
-
"@hookform/resolvers": "^5.0.1",
|
|
48
47
|
"@moser-inc/moser-labs-custom-elements": "2.3.8",
|
|
49
48
|
"@react-hookz/web": "^25.1.1",
|
|
50
49
|
"@unhead/react": "^2.0.10",
|
|
@@ -53,28 +52,27 @@ declare const _default: {
|
|
|
53
52
|
"dayjs": "^1.11.13",
|
|
54
53
|
"js-sha256": "^0.11.1",
|
|
55
54
|
"keycloak-js": "23.0.3",
|
|
56
|
-
"lodash": "^4.17.21",
|
|
57
55
|
"mixpanel-browser": "^2.65.0",
|
|
58
|
-
"motion": "^12.
|
|
59
|
-
"react-
|
|
60
|
-
"react-idle-timer": "^5.7.2",
|
|
61
|
-
"zod": "^3.25.42"
|
|
56
|
+
"motion": "^12.16.0",
|
|
57
|
+
"react-idle-timer": "^5.7.2"
|
|
62
58
|
},
|
|
63
59
|
"devDependencies": {
|
|
64
|
-
"@
|
|
60
|
+
"@hookform/resolvers": "^5.0.1",
|
|
61
|
+
"@moser-inc/eslint-config-react": "^4.1.0",
|
|
65
62
|
"@moser-inc/unocss-preset-moser-labs": "^2.2.1",
|
|
66
63
|
"@tsconfig/node22": "^22.0.2",
|
|
67
64
|
"@tsconfig/vite-react": "^6.3.5",
|
|
68
|
-
"@types/lodash": "^4.17.17",
|
|
69
65
|
"@unocss/eslint-config": "^66.1.3",
|
|
70
66
|
"@vitejs/plugin-basic-ssl": "^2.0.0",
|
|
71
|
-
"@vitejs/plugin-react-swc": "^3.10.
|
|
72
|
-
"eslint": "^9.
|
|
67
|
+
"@vitejs/plugin-react-swc": "^3.10.1",
|
|
68
|
+
"eslint": "^9.28.0",
|
|
73
69
|
"prettier": "^3.5.3",
|
|
70
|
+
"react-hook-form": "^7.57.0",
|
|
74
71
|
"typescript": "^5.8.3",
|
|
75
72
|
"unocss": "^66.1.3",
|
|
76
73
|
"vite": "^6.3.5",
|
|
77
|
-
"vite-plugin-dts": "^4.5.4"
|
|
74
|
+
"vite-plugin-dts": "^4.5.4",
|
|
75
|
+
"zod": "^3.25.55"
|
|
78
76
|
}
|
|
79
77
|
}
|
|
80
78
|
;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { ProgressSpinnerProps } from 'primereact/progressspinner';
|
|
2
|
+
export interface LabsLoaderProps extends ProgressSpinnerProps {
|
|
2
3
|
label?: string;
|
|
3
4
|
size?: 'sm' | 'md' | 'lg';
|
|
4
5
|
}
|
|
5
|
-
export declare const LabsLoader:
|
|
6
|
-
export {};
|
|
6
|
+
export declare const LabsLoader: ({ label, size, className, ...rest }: LabsLoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import { FieldContainerInputProps } from '../components/FieldContainer/FieldContainerInput';
|
|
2
|
-
export declare const toFieldInputProps: (fieldProps: Partial<FieldContainerInputProps>) =>
|
|
2
|
+
export declare const toFieldInputProps: (fieldProps: Partial<FieldContainerInputProps>) => {
|
|
3
|
+
floatLabel?: boolean | undefined;
|
|
4
|
+
prependIcon?: string | undefined;
|
|
5
|
+
appendIcon?: string | undefined;
|
|
6
|
+
id?: string | undefined;
|
|
7
|
+
labelId?: string | undefined;
|
|
8
|
+
messageId?: string | undefined;
|
|
9
|
+
containerId?: string | undefined;
|
|
10
|
+
label?: string | undefined;
|
|
11
|
+
message?: string | undefined;
|
|
12
|
+
animation?: import('framer-motion').MotionProps | undefined;
|
|
13
|
+
className?: string | undefined;
|
|
14
|
+
children?: import('react').ReactNode;
|
|
15
|
+
};
|
|
3
16
|
export declare const toFieldSharedProps: (fieldProps: FieldContainerInputProps) => {
|
|
4
17
|
className: string;
|
|
5
18
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moser-inc/moser-labs-react",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "React components for the Moser Labs suite of applications.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@analytics/mixpanel": "^0.4.0",
|
|
47
|
-
"@hookform/resolvers": "^5.0.1",
|
|
48
47
|
"@moser-inc/moser-labs-custom-elements": "2.3.8",
|
|
49
48
|
"@react-hookz/web": "^25.1.1",
|
|
50
49
|
"@unhead/react": "^2.0.10",
|
|
@@ -53,27 +52,26 @@
|
|
|
53
52
|
"dayjs": "^1.11.13",
|
|
54
53
|
"js-sha256": "^0.11.1",
|
|
55
54
|
"keycloak-js": "23.0.3",
|
|
56
|
-
"lodash": "^4.17.21",
|
|
57
55
|
"mixpanel-browser": "^2.65.0",
|
|
58
|
-
"motion": "^12.
|
|
59
|
-
"react-
|
|
60
|
-
"react-idle-timer": "^5.7.2",
|
|
61
|
-
"zod": "^3.25.42"
|
|
56
|
+
"motion": "^12.16.0",
|
|
57
|
+
"react-idle-timer": "^5.7.2"
|
|
62
58
|
},
|
|
63
59
|
"devDependencies": {
|
|
64
|
-
"@
|
|
60
|
+
"@hookform/resolvers": "^5.0.1",
|
|
61
|
+
"@moser-inc/eslint-config-react": "^4.1.0",
|
|
65
62
|
"@moser-inc/unocss-preset-moser-labs": "^2.2.1",
|
|
66
63
|
"@tsconfig/node22": "^22.0.2",
|
|
67
64
|
"@tsconfig/vite-react": "^6.3.5",
|
|
68
|
-
"@types/lodash": "^4.17.17",
|
|
69
65
|
"@unocss/eslint-config": "^66.1.3",
|
|
70
66
|
"@vitejs/plugin-basic-ssl": "^2.0.0",
|
|
71
|
-
"@vitejs/plugin-react-swc": "^3.10.
|
|
72
|
-
"eslint": "^9.
|
|
67
|
+
"@vitejs/plugin-react-swc": "^3.10.1",
|
|
68
|
+
"eslint": "^9.28.0",
|
|
73
69
|
"prettier": "^3.5.3",
|
|
70
|
+
"react-hook-form": "^7.57.0",
|
|
74
71
|
"typescript": "^5.8.3",
|
|
75
72
|
"unocss": "^66.1.3",
|
|
76
73
|
"vite": "^6.3.5",
|
|
77
|
-
"vite-plugin-dts": "^4.5.4"
|
|
74
|
+
"vite-plugin-dts": "^4.5.4",
|
|
75
|
+
"zod": "^3.25.55"
|
|
78
76
|
}
|
|
79
77
|
}
|