@true-engineering/true-react-common-ui-kit 3.0.0 → 3.0.2

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.
@@ -8705,8 +8705,7 @@ var useStyles$F = createThemedStyles("Button", {
8705
8705
  icon: {
8706
8706
  width: 20,
8707
8707
  height: 20,
8708
- flexShrink: 0,
8709
- transition: "color 0.25s ease-in-out"
8708
+ flexShrink: 0
8710
8709
  },
8711
8710
  iconFromLeft: {
8712
8711
  flexDirection: "row",
@@ -24939,11 +24938,12 @@ function FlexibleTableRowInner(param) {
24939
24938
  }
24940
24939
  };
24941
24940
  var items = enabledColumns !== null && enabledColumns !== void 0 ? enabledColumns : Object.keys(config);
24941
+ var isEditable = isNotEmpty(onRowClick) || isNotEmpty(onRowHover);
24942
24942
  var _obj;
24943
24943
  return /* @__PURE__ */ jsxs(Fragment, {
24944
24944
  children: [
24945
24945
  /* @__PURE__ */ jsx("tr", _object_spread_props$f(_object_spread$g({
24946
- className: clsx(classes.root, (_obj = {}, _define_property$h(_obj, classes.active, isActive), _define_property$h(_obj, classes.editable, isNotEmpty(onRowClick) || isNotEmpty(onRowHover)), _define_property$h(_obj, classes.clickable, isNotEmpty(onRowClick) || isNotEmpty(expandableRowComponent)), _obj)),
24946
+ className: clsx(classes.root, (_obj = {}, _define_property$h(_obj, classes.active, isActive), _define_property$h(_obj, classes.editable, isEditable), _define_property$h(_obj, classes.clickable, isNotEmpty(onRowClick) || isNotEmpty(expandableRowComponent)), _obj)),
24947
24947
  onMouseEnter: function(e) {
24948
24948
  if (uniqueField !== void 0 && onRowHover !== void 0) {
24949
24949
  e.stopPropagation();
@@ -24954,6 +24954,8 @@ function FlexibleTableRowInner(param) {
24954
24954
  onMouseLeave: handleMouseLeave,
24955
24955
  onClick: handleRowClick
24956
24956
  }, addDataAttributes(_object_spread_props$f(_object_spread$g({}, rowData), {
24957
+ active: isActive ? true : void 0,
24958
+ editable: isEditable ? true : void 0,
24957
24959
  isExpandableComponentActive: nestedComponent.isOpen ? true : void 0
24958
24960
  }))), {
24959
24961
  children: items.map(function(key, i) {