@plusscommunities/pluss-circles-web 1.0.21-beta.0 → 1.5.1

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.js CHANGED
@@ -1105,7 +1105,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1105
1105
  this.setState({
1106
1106
  image: url
1107
1107
  });
1108
- this.imageInput.setValue(url);
1108
+ this.imageInput.getWrappedInstance().setValue(url);
1109
1109
  } else {
1110
1110
  setTimeout(function () {
1111
1111
  _this2.checkSetImage(url);
@@ -1702,8 +1702,8 @@ var Circle = /*#__PURE__*/function (_Component) {
1702
1702
 
1703
1703
  _this.scrollToBottom();
1704
1704
 
1705
- _this.imageInput && _this.imageInput.setValue(null);
1706
- _this.fileInput && _this.fileInput.setValue(null);
1705
+ _this.imageInput && _this.imageInput.getWrappedInstance().setValue(null);
1706
+ _this.fileInput && _this.fileInput.getWrappedInstance().setValue(null);
1707
1707
  }, 100);
1708
1708
  });
1709
1709
 
package/dist/index.esm.js CHANGED
@@ -1062,7 +1062,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1062
1062
  this.setState({
1063
1063
  image: url
1064
1064
  });
1065
- this.imageInput.setValue(url);
1065
+ this.imageInput.getWrappedInstance().setValue(url);
1066
1066
  } else {
1067
1067
  setTimeout(function () {
1068
1068
  _this2.checkSetImage(url);
@@ -1659,8 +1659,8 @@ var Circle = /*#__PURE__*/function (_Component) {
1659
1659
 
1660
1660
  _this.scrollToBottom();
1661
1661
 
1662
- _this.imageInput && _this.imageInput.setValue(null);
1663
- _this.fileInput && _this.fileInput.setValue(null);
1662
+ _this.imageInput && _this.imageInput.getWrappedInstance().setValue(null);
1663
+ _this.fileInput && _this.fileInput.getWrappedInstance().setValue(null);
1664
1664
  }, 100);
1665
1665
  });
1666
1666
 
package/dist/index.umd.js CHANGED
@@ -1085,7 +1085,7 @@
1085
1085
  this.setState({
1086
1086
  image: url
1087
1087
  });
1088
- this.imageInput.setValue(url);
1088
+ this.imageInput.getWrappedInstance().setValue(url);
1089
1089
  } else {
1090
1090
  setTimeout(function () {
1091
1091
  _this2.checkSetImage(url);
@@ -1682,8 +1682,8 @@
1682
1682
 
1683
1683
  _this.scrollToBottom();
1684
1684
 
1685
- _this.imageInput && _this.imageInput.setValue(null);
1686
- _this.fileInput && _this.fileInput.setValue(null);
1685
+ _this.imageInput && _this.imageInput.getWrappedInstance().setValue(null);
1686
+ _this.fileInput && _this.fileInput.getWrappedInstance().setValue(null);
1687
1687
  }, 100);
1688
1688
  });
1689
1689
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-circles-web",
3
- "version": "1.0.21-beta.0",
3
+ "version": "1.5.1",
4
4
  "description": "Extension package to enable circles on Pluss Communities Platform",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {
@@ -34,20 +34,19 @@
34
34
  "rollup-plugin-styles": "^3.14.1"
35
35
  },
36
36
  "dependencies": {
37
- "@babel/runtime": "^7.14.0",
38
- "@plusscommunities/pluss-core-web": "1.4.33-beta.0",
37
+ "@babel/runtime": "^7.14.0"
38
+ },
39
+ "peerDependencies": {
40
+ "@plusscommunities/pluss-core-web": "^1.5.0",
39
41
  "@fortawesome/fontawesome-svg-core": "^6.4.0",
40
42
  "@fortawesome/free-solid-svg-icons": "^6.4.0",
41
43
  "@fortawesome/react-fontawesome": "^0.2.0",
42
44
  "lodash": "^4.17.4",
43
- "moment": "^2.18.1",
45
+ "moment": "^2.30.1",
44
46
  "react": "^16.14.0",
45
47
  "react-bootstrap": "^0.31.2",
46
48
  "react-dom": "^16.14.0",
47
49
  "react-fontawesome": "^1.6.1"
48
50
  },
49
- "peerDependencies": {
50
- "react-redux": "^7.2.9"
51
- },
52
51
  "keywords": []
53
52
  }
@@ -105,7 +105,7 @@ class AddCircle extends Component {
105
105
  this.setState({
106
106
  image: url,
107
107
  });
108
- this.imageInput.setValue(url);
108
+ this.imageInput.getWrappedInstance().setValue(url);
109
109
  } else {
110
110
  setTimeout(() => {
111
111
  this.checkSetImage(url);
@@ -304,8 +304,8 @@ class Circle extends Component {
304
304
  setTimeout(() => {
305
305
  this.onReply(null);
306
306
  this.scrollToBottom();
307
- this.imageInput && this.imageInput.setValue(null);
308
- this.fileInput && this.fileInput.setValue(null);
307
+ this.imageInput && this.imageInput.getWrappedInstance().setValue(null);
308
+ this.fileInput && this.fileInput.getWrappedInstance().setValue(null);
309
309
  }, 100);
310
310
  };
311
311