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.cjs CHANGED
@@ -954,6 +954,19 @@ var TextField = function TextField(props) {
954
954
  }
955
955
 
956
956
  function focus() {
957
+ console.log("FOCUS");
958
+
959
+ if (site && site.changeFocus) {
960
+ site.changeFocus({
961
+ lose: function lose() {// DO NOTHING
962
+ }
963
+ });
964
+ }
965
+ }
966
+
967
+ function focusOut() {
968
+ console.log("FOCUS OUT");
969
+
957
970
  if (site && site.changeFocus) {
958
971
  site.changeFocus({
959
972
  lose: function lose() {// DO NOTHING
@@ -982,6 +995,7 @@ var TextField = function TextField(props) {
982
995
  onChange: change,
983
996
  onKeyDown: onKeyPress,
984
997
  onFocus: focus,
998
+ onBlur: focusOut,
985
999
  readOnly: readOnly
986
1000
  }), !readOnly && canClear && value && value.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Icon, {
987
1001
  icon: "close",