@ahmadmubarak98/namozaj 1.16.11 → 1.16.13
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/main.d.ts +12 -4
- package/dist/namozaj.js +9596 -9476
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -13,6 +13,14 @@ import { SxProps } from '@mui/material';
|
|
|
13
13
|
import { Theme } from '@mui/material';
|
|
14
14
|
import { UseFormReturn } from 'react-hook-form';
|
|
15
15
|
|
|
16
|
+
export declare type AdornmentConfig = {
|
|
17
|
+
content: React.ReactNode | string;
|
|
18
|
+
bgColor?: string;
|
|
19
|
+
separator?: boolean;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export declare type AdornmentValue = React.ReactNode | string | AdornmentConfig;
|
|
23
|
+
|
|
16
24
|
export declare type AutoPlacement = "auto" | "auto-start" | "auto-end";
|
|
17
25
|
|
|
18
26
|
export declare type BaseColors = "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
@@ -469,8 +477,8 @@ export declare type NumberFieldConfig = BaseFieldConfig & {
|
|
|
469
477
|
meta: BaseFieldConfig["meta"] & {
|
|
470
478
|
variant?: FieldVariant;
|
|
471
479
|
size?: FieldSize;
|
|
472
|
-
startAdornment?:
|
|
473
|
-
endAdornment?:
|
|
480
|
+
startAdornment?: AdornmentValue;
|
|
481
|
+
endAdornment?: AdornmentValue;
|
|
474
482
|
min?: NumberMinMaxValue;
|
|
475
483
|
max?: NumberMinMaxValue;
|
|
476
484
|
step?: number;
|
|
@@ -683,8 +691,8 @@ export declare type TextFieldConfig = BaseFieldConfig & {
|
|
|
683
691
|
secured?: boolean;
|
|
684
692
|
multiline?: boolean;
|
|
685
693
|
rows?: number;
|
|
686
|
-
startAdornment?:
|
|
687
|
-
endAdornment?:
|
|
694
|
+
startAdornment?: AdornmentValue;
|
|
695
|
+
endAdornment?: AdornmentValue;
|
|
688
696
|
inputRestriction?: InputRestriction;
|
|
689
697
|
preventDoubleSpaces?: boolean;
|
|
690
698
|
};
|