docthub-core-components 2.55.0 → 2.56.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.
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as RPNInput from "react-phone-number-input";
|
|
3
|
-
/** Re-exported for form validation: checks if value
|
|
4
|
-
|
|
5
|
-
export { isPossiblePhoneNumber, isValidPhoneNumber } from 'react-phone-number-input/mobile';
|
|
3
|
+
/** Re-exported for form validation: checks if value is a possible/valid phone number (no country length restriction). */
|
|
4
|
+
export { isPossiblePhoneNumber, isValidPhoneNumber } from 'react-phone-number-input';
|
|
6
5
|
type DoctPhoneInputVariant = "default" | "flag";
|
|
7
6
|
interface DoctPhoneInputBaseProps extends Omit<React.ComponentProps<typeof RPNInput.default>, "onChange" | "value" | "id" | "inputComponent" | "flagComponent" | "countrySelectComponent"> {
|
|
8
7
|
value?: string;
|