@wix/form-public 0.518.0 → 0.519.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.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -59907,8 +59907,9 @@ var Control7 = ({ children, className }) => {
|
|
|
59907
59907
|
const phoneNumberElement = findChildOfType(children, PhoneInput.PhoneNumber);
|
|
59908
59908
|
const hasCountryOptions2 = countries.length > 1;
|
|
59909
59909
|
const isForcedOpen = useIsForcedOpenDropdown(id6) && !!popoverElement && hasCountryOptions2;
|
|
59910
|
-
const controlClassName = typeof className === "function" ? className({
|
|
59911
|
-
hasCountryOptions: hasCountryOptions2
|
|
59910
|
+
const controlClassName = typeof className === "function" ? ({ isHovered }) => className({
|
|
59911
|
+
hasCountryOptions: hasCountryOptions2,
|
|
59912
|
+
isHovered
|
|
59912
59913
|
}) : className;
|
|
59913
59914
|
const pickerProps = {
|
|
59914
59915
|
triggerRef: controlRef,
|