@ikas/storefront 0.1.18 → 0.1.19

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/build/index.es.js CHANGED
@@ -68440,8 +68440,11 @@ var FormItem = observer(function (props) {
68440
68440
  });
68441
68441
  }, [props.onChange]);
68442
68442
  useEffect(function () {
68443
- if (!vm.country && props.currentCountryCode)
68443
+ console.log("currentCountry:", props.currentCountryCode);
68444
+ if (!vm.country && props.currentCountryCode) {
68445
+ console.log("onchange");
68444
68446
  vm.onPhoneChange(props.currentCountryCode);
68447
+ }
68445
68448
  }, [props.currentCountryCode]);
68446
68449
  return (createElement("div", { className: vm.formItemStyle, style: props.style },
68447
68450
  createElement("div", { className: styles.FormItemWrapper },
package/build/index.js CHANGED
@@ -68419,8 +68419,11 @@ var FormItem = mobxReactLite.observer(function (props) {
68419
68419
  });
68420
68420
  }, [props.onChange]);
68421
68421
  React.useEffect(function () {
68422
- if (!vm.country && props.currentCountryCode)
68422
+ console.log("currentCountry:", props.currentCountryCode);
68423
+ if (!vm.country && props.currentCountryCode) {
68424
+ console.log("onchange");
68423
68425
  vm.onPhoneChange(props.currentCountryCode);
68426
+ }
68424
68427
  }, [props.currentCountryCode]);
68425
68428
  return (React.createElement("div", { className: vm.formItemStyle, style: props.style },
68426
68429
  React.createElement("div", { className: styles.FormItemWrapper },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",