@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.js
CHANGED
|
@@ -59897,8 +59897,9 @@ var Control7 = ({ children, className }) => {
|
|
|
59897
59897
|
const phoneNumberElement = findChildOfType(children, PhoneInput.PhoneNumber);
|
|
59898
59898
|
const hasCountryOptions2 = countries.length > 1;
|
|
59899
59899
|
const isForcedOpen = useIsForcedOpenDropdown(id6) && !!popoverElement && hasCountryOptions2;
|
|
59900
|
-
const controlClassName = typeof className === "function" ? className({
|
|
59901
|
-
hasCountryOptions: hasCountryOptions2
|
|
59900
|
+
const controlClassName = typeof className === "function" ? ({ isHovered }) => className({
|
|
59901
|
+
hasCountryOptions: hasCountryOptions2,
|
|
59902
|
+
isHovered
|
|
59902
59903
|
}) : className;
|
|
59903
59904
|
const pickerProps = {
|
|
59904
59905
|
triggerRef: controlRef,
|