@plusscommunities/pluss-core-web 1.4.26 → 1.4.27
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 +6 -3
- package/dist/index.esm.js +6 -3
- package/dist/index.umd.js +6 -3
- package/package.json +1 -1
- package/src/components/SideNavItem.js +3 -3
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
|
|
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
|
|
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
|
|
package/package.json
CHANGED
|
@@ -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
|
}
|