@plusscommunities/pluss-core-web 1.4.26 → 1.4.28

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
@@ -6284,18 +6284,21 @@ var SideNavItem = /*#__PURE__*/function (_Component) {
6284
6284
  if (this.props.isFontAwesome) {
6285
6285
  content = /*#__PURE__*/React__default['default'].createElement(FontAwesome__default['default'], {
6286
6286
  className: "sideNav-item-icon",
6287
- name: this.props.Icon
6287
+ name: this.props.Icon,
6288
+ style: this.props.iconStyle
6288
6289
  });
6289
6290
  } else if (this.props.isSVG) {
6290
6291
  content = /*#__PURE__*/React__default['default'].createElement(SVGIcon, {
6291
6292
  className: "sideNav-item-icon",
6292
6293
  icon: this.props.Icon,
6293
- colour: COLOUR_DUSK_LIGHTER
6294
+ colour: COLOUR_DUSK_LIGHTER,
6295
+ style: this.props.iconStyle
6294
6296
  });
6295
6297
  } else {
6296
6298
  content = /*#__PURE__*/React__default['default'].createElement(P60Icon, {
6297
6299
  className: "sideNav-item-icon",
6298
- icon: this.props.Icon
6300
+ icon: this.props.Icon,
6301
+ style: this.props.iconStyle
6299
6302
  });
6300
6303
  }
6301
6304
 
@@ -6580,6 +6583,7 @@ var Popup = /*#__PURE__*/function (_Component) {
6580
6583
  style: _objectSpread$b({
6581
6584
  marginLeft: 16
6582
6585
  }, b.style),
6586
+ buttonStyle: b.buttonStyle,
6583
6587
  className: b.className,
6584
6588
  onClick: b.onClick,
6585
6589
  isActive: b.isActive
package/dist/index.esm.js CHANGED
@@ -6254,18 +6254,21 @@ var SideNavItem = /*#__PURE__*/function (_Component) {
6254
6254
  if (this.props.isFontAwesome) {
6255
6255
  content = /*#__PURE__*/React.createElement(FontAwesome, {
6256
6256
  className: "sideNav-item-icon",
6257
- name: this.props.Icon
6257
+ name: this.props.Icon,
6258
+ style: this.props.iconStyle
6258
6259
  });
6259
6260
  } else if (this.props.isSVG) {
6260
6261
  content = /*#__PURE__*/React.createElement(SVGIcon, {
6261
6262
  className: "sideNav-item-icon",
6262
6263
  icon: this.props.Icon,
6263
- colour: COLOUR_DUSK_LIGHTER
6264
+ colour: COLOUR_DUSK_LIGHTER,
6265
+ style: this.props.iconStyle
6264
6266
  });
6265
6267
  } else {
6266
6268
  content = /*#__PURE__*/React.createElement(P60Icon, {
6267
6269
  className: "sideNav-item-icon",
6268
- icon: this.props.Icon
6270
+ icon: this.props.Icon,
6271
+ style: this.props.iconStyle
6269
6272
  });
6270
6273
  }
6271
6274
 
@@ -6550,6 +6553,7 @@ var Popup = /*#__PURE__*/function (_Component) {
6550
6553
  style: _objectSpread$b({
6551
6554
  marginLeft: 16
6552
6555
  }, b.style),
6556
+ buttonStyle: b.buttonStyle,
6553
6557
  className: b.className,
6554
6558
  onClick: b.onClick,
6555
6559
  isActive: b.isActive
package/dist/index.umd.js CHANGED
@@ -6252,18 +6252,21 @@
6252
6252
  if (this.props.isFontAwesome) {
6253
6253
  content = /*#__PURE__*/React__default['default'].createElement(FontAwesome__default['default'], {
6254
6254
  className: "sideNav-item-icon",
6255
- name: this.props.Icon
6255
+ name: this.props.Icon,
6256
+ style: this.props.iconStyle
6256
6257
  });
6257
6258
  } else if (this.props.isSVG) {
6258
6259
  content = /*#__PURE__*/React__default['default'].createElement(SVGIcon, {
6259
6260
  className: "sideNav-item-icon",
6260
6261
  icon: this.props.Icon,
6261
- colour: COLOUR_DUSK_LIGHTER
6262
+ colour: COLOUR_DUSK_LIGHTER,
6263
+ style: this.props.iconStyle
6262
6264
  });
6263
6265
  } else {
6264
6266
  content = /*#__PURE__*/React__default['default'].createElement(P60Icon, {
6265
6267
  className: "sideNav-item-icon",
6266
- icon: this.props.Icon
6268
+ icon: this.props.Icon,
6269
+ style: this.props.iconStyle
6267
6270
  });
6268
6271
  }
6269
6272
 
@@ -6548,6 +6551,7 @@
6548
6551
  style: _objectSpread$b({
6549
6552
  marginLeft: 16
6550
6553
  }, b.style),
6554
+ buttonStyle: b.buttonStyle,
6551
6555
  className: b.className,
6552
6556
  onClick: b.onClick,
6553
6557
  isActive: b.isActive
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-core-web",
3
- "version": "1.4.26",
3
+ "version": "1.4.28",
4
4
  "description": "Core extension package for Pluss Communities platform",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {
@@ -59,6 +59,7 @@ class Popup extends Component {
59
59
  key={index}
60
60
  buttonType={b.type}
61
61
  style={{ marginLeft: 16, ...b.style }}
62
+ buttonStyle={b.buttonStyle}
62
63
  className={b.className}
63
64
  onClick={b.onClick}
64
65
  isActive={b.isActive}
@@ -49,11 +49,11 @@ class SideNavItem extends Component {
49
49
  }
50
50
  let content = null;
51
51
  if (this.props.isFontAwesome) {
52
- content = <FontAwesome className="sideNav-item-icon" name={this.props.Icon} />;
52
+ content = <FontAwesome className="sideNav-item-icon" name={this.props.Icon} style={this.props.iconStyle} />;
53
53
  } else if (this.props.isSVG) {
54
- content = <SVGIcon className="sideNav-item-icon" icon={this.props.Icon} colour={COLOUR_DUSK_LIGHTER} />;
54
+ content = <SVGIcon className="sideNav-item-icon" icon={this.props.Icon} colour={COLOUR_DUSK_LIGHTER} style={this.props.iconStyle} />;
55
55
  } else {
56
- content = <P60Icon className="sideNav-item-icon" icon={this.props.Icon} />;
56
+ content = <P60Icon className="sideNav-item-icon" icon={this.props.Icon} style={this.props.iconStyle} />;
57
57
  }
58
58
  return <div style={{ ...styles.section, width: 18, marginRight: 16 }}>{content}</div>;
59
59
  }