@plusscommunities/pluss-core-web 1.4.9 → 1.4.10

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
@@ -5775,8 +5775,8 @@ var Header = /*#__PURE__*/function (_Component) {
5775
5775
 
5776
5776
  _this = _super.call.apply(_super, [this].concat(args));
5777
5777
 
5778
- _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "goToRoadmap", function () {
5779
- _this.props.history.push('/improvements');
5778
+ _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "goToHelpGuide", function () {
5779
+ window.location.href = 'https://plusscommunities.notion.site/Pluss-Communities-User-Guide-fb54cc32718946d09176589b4a2fa8d1';
5780
5780
  });
5781
5781
 
5782
5782
  _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "toggleSideMenu", function () {
@@ -5804,11 +5804,11 @@ var Header = /*#__PURE__*/function (_Component) {
5804
5804
  className: "flex flex-center"
5805
5805
  }, /*#__PURE__*/React__default['default'].createElement(Button, {
5806
5806
  buttonType: "primary",
5807
- onClick: this.goToRoadmap,
5807
+ onClick: this.goToHelpGuide,
5808
5808
  narrow: true,
5809
5809
  isActive: true,
5810
5810
  className: "marginRight-16"
5811
- }, "Roadmap"), /*#__PURE__*/React__default['default'].createElement("div", {
5811
+ }, "Help Guide"), /*#__PURE__*/React__default['default'].createElement("div", {
5812
5812
  className: "sideMenuButtonContainer"
5813
5813
  }));
5814
5814
  }
package/dist/index.esm.js CHANGED
@@ -5745,8 +5745,8 @@ var Header = /*#__PURE__*/function (_Component) {
5745
5745
 
5746
5746
  _this = _super.call.apply(_super, [this].concat(args));
5747
5747
 
5748
- _defineProperty(_assertThisInitialized(_this), "goToRoadmap", function () {
5749
- _this.props.history.push('/improvements');
5748
+ _defineProperty(_assertThisInitialized(_this), "goToHelpGuide", function () {
5749
+ window.location.href = 'https://plusscommunities.notion.site/Pluss-Communities-User-Guide-fb54cc32718946d09176589b4a2fa8d1';
5750
5750
  });
5751
5751
 
5752
5752
  _defineProperty(_assertThisInitialized(_this), "toggleSideMenu", function () {
@@ -5774,11 +5774,11 @@ var Header = /*#__PURE__*/function (_Component) {
5774
5774
  className: "flex flex-center"
5775
5775
  }, /*#__PURE__*/React.createElement(Button, {
5776
5776
  buttonType: "primary",
5777
- onClick: this.goToRoadmap,
5777
+ onClick: this.goToHelpGuide,
5778
5778
  narrow: true,
5779
5779
  isActive: true,
5780
5780
  className: "marginRight-16"
5781
- }, "Roadmap"), /*#__PURE__*/React.createElement("div", {
5781
+ }, "Help Guide"), /*#__PURE__*/React.createElement("div", {
5782
5782
  className: "sideMenuButtonContainer"
5783
5783
  }));
5784
5784
  }
package/dist/index.umd.js CHANGED
@@ -5746,8 +5746,8 @@
5746
5746
 
5747
5747
  _this = _super.call.apply(_super, [this].concat(args));
5748
5748
 
5749
- _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "goToRoadmap", function () {
5750
- _this.props.history.push('/improvements');
5749
+ _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "goToHelpGuide", function () {
5750
+ window.location.href = 'https://plusscommunities.notion.site/Pluss-Communities-User-Guide-fb54cc32718946d09176589b4a2fa8d1';
5751
5751
  });
5752
5752
 
5753
5753
  _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "toggleSideMenu", function () {
@@ -5775,11 +5775,11 @@
5775
5775
  className: "flex flex-center"
5776
5776
  }, /*#__PURE__*/React__default['default'].createElement(Button, {
5777
5777
  buttonType: "primary",
5778
- onClick: this.goToRoadmap,
5778
+ onClick: this.goToHelpGuide,
5779
5779
  narrow: true,
5780
5780
  isActive: true,
5781
5781
  className: "marginRight-16"
5782
- }, "Roadmap"), /*#__PURE__*/React__default['default'].createElement("div", {
5782
+ }, "Help Guide"), /*#__PURE__*/React__default['default'].createElement("div", {
5783
5783
  className: "sideMenuButtonContainer"
5784
5784
  }));
5785
5785
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-core-web",
3
- "version": "1.4.9",
3
+ "version": "1.4.10",
4
4
  "description": "Core extension package for Pluss Communities platform",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {
@@ -9,8 +9,8 @@ class Header extends Component {
9
9
  this.props.history.replace('/');
10
10
  }
11
11
 
12
- goToRoadmap = () => {
13
- this.props.history.push('/improvements');
12
+ goToHelpGuide = () => {
13
+ window.location.href = 'https://plusscommunities.notion.site/Pluss-Communities-User-Guide-fb54cc32718946d09176589b4a2fa8d1';
14
14
  };
15
15
 
16
16
  toggleSideMenu = () => {
@@ -23,8 +23,8 @@ class Header extends Component {
23
23
  }
24
24
  return (
25
25
  <div className="flex flex-center">
26
- <Button buttonType="primary" onClick={this.goToRoadmap} narrow isActive className="marginRight-16">
27
- Roadmap
26
+ <Button buttonType="primary" onClick={this.goToHelpGuide} narrow isActive className="marginRight-16">
27
+ Help Guide
28
28
  </Button>
29
29
  <div className="sideMenuButtonContainer"></div>
30
30
  </div>