@acvl/frontend-components 0.0.34 → 0.0.35
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/cjs/index.js +66 -37
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/components/v1/forms/utils.d.ts +1 -1
- package/dist/cjs/types/src/components/v1/theme/compStyleOverride.d.ts +15 -12
- package/dist/esm/index.js +66 -37
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/v1/forms/utils.d.ts +1 -1
- package/dist/esm/types/src/components/v1/theme/compStyleOverride.d.ts +15 -12
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -14,5 +14,5 @@ export interface JSONFormProps {
|
|
|
14
14
|
useLabel?: boolean;
|
|
15
15
|
props?: JSONParserProps;
|
|
16
16
|
}
|
|
17
|
-
export declare const formParser: ({ type, submitData, data, useLabel, props
|
|
17
|
+
export declare const formParser: ({ type, submitData, data, useLabel, props }: JSONFormProps) => any;
|
|
18
18
|
export declare const setErrors: (form: any, error: any) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Cambia el diseño default de ciertos componentes de Material UI
|
|
3
|
-
**/
|
|
3
|
+
**/
|
|
4
4
|
export default function componentStyleOverrides(theme: any): {
|
|
5
5
|
MuiAlert: {
|
|
6
6
|
defaultProps: {
|
|
@@ -10,12 +10,12 @@ export default function componentStyleOverrides(theme: any): {
|
|
|
10
10
|
MuiListItemButton: {
|
|
11
11
|
styleOverrides: {
|
|
12
12
|
root: {
|
|
13
|
-
|
|
13
|
+
"&:hover": {
|
|
14
14
|
backgroundColor: string;
|
|
15
|
-
|
|
15
|
+
"& .MuiTypography-root": {
|
|
16
16
|
color: string;
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
"& .MuiSvgIcon-root": {
|
|
19
19
|
color: string;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
@@ -25,35 +25,38 @@ export default function componentStyleOverrides(theme: any): {
|
|
|
25
25
|
MuiDataGrid: {
|
|
26
26
|
styleOverrides: {
|
|
27
27
|
columnHeader: {
|
|
28
|
-
|
|
28
|
+
"& .MuiDataGrid-columnHeaderTitle": {
|
|
29
29
|
fontWeight: string;
|
|
30
30
|
};
|
|
31
|
-
|
|
31
|
+
"&:focus": {
|
|
32
32
|
outline: string;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
row: {
|
|
36
|
+
"&.row-error": {
|
|
37
|
+
backgroundColor: "#ffcdd2";
|
|
38
|
+
};
|
|
36
39
|
"&.even": {
|
|
37
40
|
backgroundColor: "#fafafa";
|
|
38
41
|
};
|
|
39
|
-
|
|
42
|
+
"&:hover": {
|
|
40
43
|
backgroundColor: string;
|
|
41
|
-
|
|
44
|
+
"@media (hover: none)": {
|
|
42
45
|
backgroundColor: string;
|
|
43
46
|
};
|
|
44
47
|
};
|
|
45
48
|
};
|
|
46
49
|
cell: {
|
|
47
|
-
|
|
50
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
48
51
|
border: string;
|
|
49
52
|
};
|
|
50
|
-
|
|
53
|
+
"&.MuiDataGrid-cell--editing": {
|
|
51
54
|
backgroundColor: string;
|
|
52
|
-
|
|
55
|
+
"& .MuiInputBase-root": {
|
|
53
56
|
height: string;
|
|
54
57
|
};
|
|
55
58
|
};
|
|
56
|
-
|
|
59
|
+
"& .Mui-error": {
|
|
57
60
|
backgroundColor: string;
|
|
58
61
|
color: string;
|
|
59
62
|
fontWeight: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -177,7 +177,7 @@ interface JSONFormProps {
|
|
|
177
177
|
useLabel?: boolean;
|
|
178
178
|
props?: JSONParserProps;
|
|
179
179
|
}
|
|
180
|
-
declare const formParser: ({ type, submitData, data, useLabel, props
|
|
180
|
+
declare const formParser: ({ type, submitData, data, useLabel, props }: JSONFormProps) => any;
|
|
181
181
|
declare const setErrors: (form: any, error: any) => void;
|
|
182
182
|
|
|
183
183
|
declare const valueLabel: zod.ZodObject<{
|
package/package.json
CHANGED