ywana-core8 0.0.364 → 0.0.365

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.umd.js CHANGED
@@ -949,6 +949,19 @@
949
949
  }
950
950
 
951
951
  function focus() {
952
+ console.log("FOCUS");
953
+
954
+ if (site && site.changeFocus) {
955
+ site.changeFocus({
956
+ lose: function lose() {// DO NOTHING
957
+ }
958
+ });
959
+ }
960
+ }
961
+
962
+ function focusOut() {
963
+ console.log("FOCUS OUT");
964
+
952
965
  if (site && site.changeFocus) {
953
966
  site.changeFocus({
954
967
  lose: function lose() {// DO NOTHING
@@ -977,6 +990,7 @@
977
990
  onChange: change,
978
991
  onKeyDown: onKeyPress,
979
992
  onFocus: focus,
993
+ onBlur: focusOut,
980
994
  readOnly: readOnly
981
995
  }), !readOnly && canClear && value && value.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Icon, {
982
996
  icon: "close",