@equinor/echo-components 0.5.30 → 0.5.31
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -18522,7 +18522,7 @@ function ListItem(props) {
|
|
|
18522
18522
|
var caption = resolvePropToComponent('caption', props.caption);
|
|
18523
18523
|
// Container styling
|
|
18524
18524
|
var Container = (_a = props.as) !== null && _a !== void 0 ? _a : 'li';
|
|
18525
|
-
var containerClassNames = classnames$1(styles$g.listItemContainer, _defineProperty$1({}, styles$g.hoverItem,
|
|
18525
|
+
var containerClassNames = classnames$1(styles$g.listItemContainer, _defineProperty$1({}, styles$g.hoverItem, !!props.onCardClick), props.className);
|
|
18526
18526
|
return /*#__PURE__*/React__default.createElement(Container, {
|
|
18527
18527
|
className: containerClassNames,
|
|
18528
18528
|
style: props.style,
|