@plusscommunities/pluss-circles-web 1.5.4-auth.0 → 1.5.5

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
@@ -1134,7 +1134,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1134
1134
  this.setState({
1135
1135
  image: url
1136
1136
  });
1137
- this.imageInput.setValue(url);
1137
+ this.imageInput.getWrappedInstance().setValue(url);
1138
1138
  } else {
1139
1139
  setTimeout(function () {
1140
1140
  _this2.checkSetImage(url);
@@ -1825,8 +1825,8 @@ var Circle = /*#__PURE__*/function (_Component) {
1825
1825
 
1826
1826
  _this.scrollToBottom();
1827
1827
 
1828
- _this.imageInput && _this.imageInput.setValue(null);
1829
- _this.fileInput && _this.fileInput.setValue(null);
1828
+ _this.imageInput && _this.imageInput.getWrappedInstance().setValue(null);
1829
+ _this.fileInput && _this.fileInput.getWrappedInstance().setValue(null);
1830
1830
  }, 100);
1831
1831
  });
1832
1832
 
package/dist/index.esm.js CHANGED
@@ -1091,7 +1091,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1091
1091
  this.setState({
1092
1092
  image: url
1093
1093
  });
1094
- this.imageInput.setValue(url);
1094
+ this.imageInput.getWrappedInstance().setValue(url);
1095
1095
  } else {
1096
1096
  setTimeout(function () {
1097
1097
  _this2.checkSetImage(url);
@@ -1782,8 +1782,8 @@ var Circle = /*#__PURE__*/function (_Component) {
1782
1782
 
1783
1783
  _this.scrollToBottom();
1784
1784
 
1785
- _this.imageInput && _this.imageInput.setValue(null);
1786
- _this.fileInput && _this.fileInput.setValue(null);
1785
+ _this.imageInput && _this.imageInput.getWrappedInstance().setValue(null);
1786
+ _this.fileInput && _this.fileInput.getWrappedInstance().setValue(null);
1787
1787
  }, 100);
1788
1788
  });
1789
1789
 
package/dist/index.umd.js CHANGED
@@ -1114,7 +1114,7 @@
1114
1114
  this.setState({
1115
1115
  image: url
1116
1116
  });
1117
- this.imageInput.setValue(url);
1117
+ this.imageInput.getWrappedInstance().setValue(url);
1118
1118
  } else {
1119
1119
  setTimeout(function () {
1120
1120
  _this2.checkSetImage(url);
@@ -1805,8 +1805,8 @@
1805
1805
 
1806
1806
  _this.scrollToBottom();
1807
1807
 
1808
- _this.imageInput && _this.imageInput.setValue(null);
1809
- _this.fileInput && _this.fileInput.setValue(null);
1808
+ _this.imageInput && _this.imageInput.getWrappedInstance().setValue(null);
1809
+ _this.fileInput && _this.fileInput.getWrappedInstance().setValue(null);
1810
1810
  }, 100);
1811
1811
  });
1812
1812
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-circles-web",
3
- "version": "1.5.4-auth.0",
3
+ "version": "1.5.5",
4
4
  "description": "Extension package to enable circles on Pluss Communities Platform",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {
@@ -9,16 +9,12 @@
9
9
  "patch": "npm version patch",
10
10
  "betaupload": "npm run build && npm publish --access public --tag beta && rm -rf node_modules",
11
11
  "betaupload:p": "npm run betapatch && npm run betaupload",
12
- "authpatch": "npm version prepatch --preid=auth",
13
- "authupload": "npm run build && npm publish --access public --tag auth && rm -rf node_modules",
14
- "authupload:p": "npm run authpatch && npm run authupload",
15
12
  "upload": "npm run build && npm publish --access public && rm -rf node_modules",
16
13
  "upload:p": "npm run patch && npm run upload",
17
14
  "copy:add": "run(){ ext=${1:-default}; test -f src/values.config.$ext.js || cp src/values.config.default.js src/values.config.$ext.js; }; run",
18
15
  "copy:get": "echo $npm_package_name",
19
16
  "copy:set": "run(){ target='\\@plusscommunities\\/pluss-circles-web'; ext=${1:-default}; [ $ext == 'default' ] && replace=$target || replace=$target'-'$ext; echo 'Setting target to '$replace; test -f src/values.config.$ext.js && cp -f src/values.config.$ext.js src/values.config.js; sed -i '' -e 's/'$target'.*\"/'$replace'\"/g' package.json; }; run",
20
17
  "copy:betaupload": "npm run betapatch; for file in `ls ./src/values.config.*.js`; do dup=`echo $file | sed 's/.*values\\.config\\.\\(.*\\)\\.js/\\1/'`; npm run copy:set $dup; npm run betaupload; done; npm run copy:set;",
21
- "copy:authupload": "npm run authpatch; for file in `ls ./src/values.config.*.js`; do dup=`echo $file | sed 's/.*values\\.config\\.\\(.*\\)\\.js/\\1/'`; npm run copy:set $dup; npm run authupload; done; npm run copy:set;",
22
18
  "copy:upload": "npm run patch; for file in `ls ./src/values.config.*.js`; do dup=`echo $file | sed 's/.*values\\.config\\.\\(.*\\)\\.js/\\1/'`; npm run copy:set $dup; npm run upload; done; npm run copy:set;"
23
19
  },
24
20
  "author": "Phillip Suh",
@@ -41,7 +37,7 @@
41
37
  "@babel/runtime": "^7.14.0"
42
38
  },
43
39
  "peerDependencies": {
44
- "@plusscommunities/pluss-core-web": "^1.6.9-auth.0",
40
+ "@plusscommunities/pluss-core-web": "^1.6.13",
45
41
  "@fortawesome/fontawesome-svg-core": "^6.4.0",
46
42
  "@fortawesome/free-solid-svg-icons": "^6.4.0",
47
43
  "@fortawesome/react-fontawesome": "^0.2.0",
@@ -50,8 +46,7 @@
50
46
  "react": "^16.14.0",
51
47
  "react-bootstrap": "^0.31.2",
52
48
  "react-dom": "^16.14.0",
53
- "react-fontawesome": "^1.6.1",
54
- "react-redux": "^7.2.9"
49
+ "react-fontawesome": "^1.6.1"
55
50
  },
56
51
  "keywords": []
57
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);
@@ -365,8 +365,8 @@ class Circle extends Component {
365
365
  setTimeout(() => {
366
366
  this.onReply(null);
367
367
  this.scrollToBottom();
368
- this.imageInput && this.imageInput.setValue(null);
369
- this.fileInput && this.fileInput.setValue(null);
368
+ this.imageInput && this.imageInput.getWrappedInstance().setValue(null);
369
+ this.fileInput && this.fileInput.getWrappedInstance().setValue(null);
370
370
  }, 100);
371
371
  };
372
372