@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.
@@ -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, }: JSONFormProps) => any;
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
- '&:hover': {
13
+ "&:hover": {
14
14
  backgroundColor: string;
15
- '& .MuiTypography-root': {
15
+ "& .MuiTypography-root": {
16
16
  color: string;
17
17
  };
18
- '& .MuiSvgIcon-root': {
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
- '& .MuiDataGrid-columnHeaderTitle': {
28
+ "& .MuiDataGrid-columnHeaderTitle": {
29
29
  fontWeight: string;
30
30
  };
31
- '&:focus': {
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
- '&:hover': {
42
+ "&:hover": {
40
43
  backgroundColor: string;
41
- '@media (hover: none)': {
44
+ "@media (hover: none)": {
42
45
  backgroundColor: string;
43
46
  };
44
47
  };
45
48
  };
46
49
  cell: {
47
- '& .MuiOutlinedInput-notchedOutline': {
50
+ "& .MuiOutlinedInput-notchedOutline": {
48
51
  border: string;
49
52
  };
50
- '&.MuiDataGrid-cell--editing': {
53
+ "&.MuiDataGrid-cell--editing": {
51
54
  backgroundColor: string;
52
- '& .MuiInputBase-root': {
55
+ "& .MuiInputBase-root": {
53
56
  height: string;
54
57
  };
55
58
  };
56
- '& .Mui-error': {
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, }: JSONFormProps) => any;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acvl/frontend-components",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "description": "Component library for ACV frontend projects.",
5
5
  "homepage": "https://github.com/ACV-Logistics/acv-frontend-components#readme",
6
6
  "access": "public",