@wix/form-public 0.525.0 → 0.526.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 +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +0 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -59906,8 +59906,11 @@ var CountryOptionsModal = ({ children, className, overlayClassName, "aria-label"
|
|
|
59906
59906
|
selectedKeys: selectedCountryCode ? [
|
|
59907
59907
|
selectedCountryCode
|
|
59908
59908
|
] : [],
|
|
59909
|
-
|
|
59910
|
-
|
|
59909
|
+
onSelectionChange: (keys3) => {
|
|
59910
|
+
const [key] = keys3 === "all" ? [] : keys3;
|
|
59911
|
+
if (key) {
|
|
59912
|
+
handleCountryCodeChange(key);
|
|
59913
|
+
}
|
|
59911
59914
|
overlayState?.close();
|
|
59912
59915
|
}
|
|
59913
59916
|
}
|