@mcurros2/microm 1.1.448-0 → 1.1.450-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/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +42 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1928,7 +1928,7 @@ export interface useTextTransformProps {
|
|
|
1928
1928
|
transform?: "uppercase" | "lowercase" | "capitalize" | "titlecase";
|
|
1929
1929
|
autoTrim?: boolean;
|
|
1930
1930
|
}
|
|
1931
|
-
export function useTextTransform(props: useTextTransformProps): (text: string) =>
|
|
1931
|
+
export function useTextTransform(props: useTextTransformProps): (text: string) => string;
|
|
1932
1932
|
type TextAreaFieldAllowedValidators = 'regex' | 'length' | 'field' | 'required';
|
|
1933
1933
|
export type TextAreaFieldValidatorConfiguration = Partial<Record<TextAreaFieldAllowedValidators, ValidatorConfigurationParms>>;
|
|
1934
1934
|
export interface TextAreaFieldProps extends Omit<TextareaProps, 'autoFocus'>, Omit<useTextTransformProps, 'entityForm' | 'column' | 'onBlur' | 'mantineOnBlur'> {
|
|
@@ -2540,7 +2540,7 @@ export interface UseLookupOptions {
|
|
|
2540
2540
|
enableEdit?: boolean;
|
|
2541
2541
|
enableDelete?: boolean;
|
|
2542
2542
|
enableView?: boolean;
|
|
2543
|
-
transform?: (value: string) => void;
|
|
2543
|
+
transform?: (value: string) => string | void;
|
|
2544
2544
|
}
|
|
2545
2545
|
export interface UseLookupReturnType {
|
|
2546
2546
|
status: OperationStatus<ValuesObject>;
|