cozy-ui 130.6.1 → 130.7.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [130.7.0](https://github.com/cozy/cozy-ui/compare/v130.6.1...v130.7.0) (2025-10-07)
2
+
3
+
4
+ ### Features
5
+
6
+ * Change highlighted item color :sparkles: ([14d2a3f](https://github.com/cozy/cozy-ui/commit/14d2a3f))
7
+
1
8
  ## [130.6.1](https://github.com/cozy/cozy-ui/compare/v130.6.0...v130.6.1) (2025-10-06)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui",
3
- "version": "130.6.1",
3
+ "version": "130.7.0",
4
4
  "description": "Cozy apps UI SDK",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -87,10 +87,9 @@ const TableRow = ({ item, context, componentsProps, ...props }) => {
87
87
  <TableRowClassic
88
88
  {...props}
89
89
  ref={node => dragRef(dropRef(node))}
90
- selected={isSelected || dropCollect.isOver}
90
+ selected={isSelected || dropCollect.isOver || isNew}
91
91
  className={cx(
92
- dragCollect.isDragging ? 'virtualized u-o-50' : 'virtualized',
93
- isNew ? 'u-bg-primaryColorLight' : ''
92
+ dragCollect.isDragging ? 'virtualized u-o-50' : 'virtualized'
94
93
  )}
95
94
  disabled={isDisabled}
96
95
  hover
@@ -127,8 +127,8 @@ var TableRow = function TableRow(_ref) {
127
127
  ref: function ref(node) {
128
128
  return dragRef(dropRef(node));
129
129
  },
130
- selected: isSelected || dropCollect.isOver,
131
- className: cx(dragCollect.isDragging ? 'virtualized u-o-50' : 'virtualized', isNew ? 'u-bg-primaryColorLight' : ''),
130
+ selected: isSelected || dropCollect.isOver || isNew,
131
+ className: cx(dragCollect.isDragging ? 'virtualized u-o-50' : 'virtualized'),
132
132
  disabled: isDisabled,
133
133
  hover: true
134
134
  }));