notionsoft-ui 1.0.22 → 1.0.23
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/package.json
CHANGED
|
@@ -67,10 +67,9 @@ const VirtualList: React.FC<VirtualListProps> = ({
|
|
|
67
67
|
</div>
|
|
68
68
|
);
|
|
69
69
|
};
|
|
70
|
-
export type
|
|
70
|
+
export type PhoneInputSize = "sm" | "md" | "lg";
|
|
71
71
|
|
|
72
|
-
interface
|
|
73
|
-
extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
72
|
+
interface PhoneInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
74
73
|
requiredHint?: string;
|
|
75
74
|
label?: string;
|
|
76
75
|
errorMessage?: string;
|
|
@@ -78,13 +77,13 @@ interface PhoneCountryPickerProps
|
|
|
78
77
|
rootDivClassName?: string;
|
|
79
78
|
iconClassName?: string;
|
|
80
79
|
};
|
|
81
|
-
measurement?:
|
|
80
|
+
measurement?: PhoneInputSize;
|
|
82
81
|
ROW_HEIGHT?: number;
|
|
83
82
|
VISIBLE_ROWS?: number;
|
|
84
83
|
BUFFER?: number;
|
|
85
84
|
}
|
|
86
85
|
|
|
87
|
-
|
|
86
|
+
const PhoneInput: React.FC<PhoneInputProps> = ({
|
|
88
87
|
measurement = "sm",
|
|
89
88
|
errorMessage,
|
|
90
89
|
label,
|
|
@@ -398,3 +397,4 @@ export const PhoneCountryPicker: React.FC<PhoneCountryPickerProps> = ({
|
|
|
398
397
|
</div>
|
|
399
398
|
);
|
|
400
399
|
};
|
|
400
|
+
export default PhoneInput;
|