@acuteinfo/common-base 1.0.70 → 1.0.72

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.
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { AlertProps } from "@mui/lab/Alert";
2
+ import { AlertProps } from "@mui/material/Alert";
3
3
  interface MyAlertProps {
4
4
  errorMsg: string;
5
5
  errorDetail?: string;
@@ -35,6 +35,11 @@ interface MyGridExtendedProps {
35
35
  label?: string;
36
36
  preventSpecialChars?: string | null;
37
37
  handleKeyDown?: (event: any, dependentValues: any, authState: any, formState: any, externalValueSet: (data: any) => void) => void;
38
+ /**
39
+ * CBS: Adds handleKeyDown to current textField from extended metadata field (accountCode)
40
+ * @default false
41
+ */
42
+ addHandleKeyDownFromExtenedType?: boolean;
38
43
  }
39
44
  type MyTextFieldAllProps = Merge<TextFieldProps, MyGridExtendedProps>;
40
45
  export type MyTextFieldProps = UseFieldHookProps & MyTextFieldAllProps;