mui-tel-input 2.0.0 → 2.0.1
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/README.md +3 -0
- package/dist/index.types.d.ts +1 -1
- package/dist/mui-tel-input.es.js +8 -5
- package/dist/mui-tel-input.umd.js +16 -16
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.types.d.ts
CHANGED
|
@@ -24,6 +24,6 @@ export interface MuiTelInputProps extends BaseTextFieldProps {
|
|
|
24
24
|
disableFormatting?: boolean;
|
|
25
25
|
continents?: MuiTelInputContinent[];
|
|
26
26
|
onChange?: (value: string, info: MuiTelInputInfo) => void;
|
|
27
|
-
value
|
|
27
|
+
value?: string | undefined;
|
|
28
28
|
MenuProps?: Partial<MenuProps>;
|
|
29
29
|
}
|
package/dist/mui-tel-input.es.js
CHANGED
|
@@ -3580,7 +3580,7 @@ var U1 = /* @__PURE__ */ function() {
|
|
|
3580
3580
|
}
|
|
3581
3581
|
}]), t;
|
|
3582
3582
|
}();
|
|
3583
|
-
function
|
|
3583
|
+
function A5() {
|
|
3584
3584
|
return A2(v4, arguments);
|
|
3585
3585
|
}
|
|
3586
3586
|
function I(t) {
|
|
@@ -3696,7 +3696,7 @@ function f5({
|
|
|
3696
3696
|
inputRef: s
|
|
3697
3697
|
};
|
|
3698
3698
|
}
|
|
3699
|
-
const
|
|
3699
|
+
const u5 = $.forwardRef((t, l) => {
|
|
3700
3700
|
const {
|
|
3701
3701
|
forceCallingCode: e,
|
|
3702
3702
|
onlyCountries: i,
|
|
@@ -3730,7 +3730,7 @@ const A5 = $.forwardRef((t, l) => {
|
|
|
3730
3730
|
inputValue: W1
|
|
3731
3731
|
} = f5({
|
|
3732
3732
|
defaultCountry: d,
|
|
3733
|
-
value: h,
|
|
3733
|
+
value: h ?? "",
|
|
3734
3734
|
onChange: w,
|
|
3735
3735
|
forceCallingCode: e,
|
|
3736
3736
|
excludedCountries: a,
|
|
@@ -3810,8 +3810,11 @@ const A5 = $.forwardRef((t, l) => {
|
|
|
3810
3810
|
})]
|
|
3811
3811
|
});
|
|
3812
3812
|
});
|
|
3813
|
+
u5.defaultProps = {
|
|
3814
|
+
value: ""
|
|
3815
|
+
};
|
|
3813
3816
|
export {
|
|
3814
3817
|
I as AsYouType,
|
|
3815
|
-
|
|
3816
|
-
|
|
3818
|
+
u5 as MuiTelInput,
|
|
3819
|
+
A5 as matchIsValidTel
|
|
3817
3820
|
};
|