cozy-ui 139.0.0 → 139.0.1
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
|
+
## [139.0.1](https://github.com/cozy/cozy-ui/compare/v139.0.0...v139.0.1) (2026-06-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **Table:** Disable double click when `disableClick` is true in column config ([6da0985](https://github.com/cozy/cozy-ui/commit/6da0985))
|
|
7
|
+
|
|
1
8
|
# [139.0.0](https://github.com/cozy/cozy-ui/compare/v138.13.1...v139.0.0) (2026-06-01)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/react/Table/Readme.md
CHANGED
|
@@ -70,7 +70,9 @@ const Cell = ({
|
|
|
70
70
|
align={column.textAlign ?? 'left'}
|
|
71
71
|
padding={column.disablePadding ? 'none' : 'normal'}
|
|
72
72
|
onClick={handleClick}
|
|
73
|
-
onDoubleClick={() =>
|
|
73
|
+
onDoubleClick={() =>
|
|
74
|
+
column.disableClick ? undefined : onDoubleClick?.(row, column)
|
|
75
|
+
}
|
|
74
76
|
onContextMenu={isLongPress ? ev => ev.preventDefault() : undefined}
|
|
75
77
|
>
|
|
76
78
|
{children
|
|
@@ -88,7 +88,7 @@ var Cell = function Cell(_ref4) {
|
|
|
88
88
|
padding: column.disablePadding ? 'none' : 'normal',
|
|
89
89
|
onClick: handleClick,
|
|
90
90
|
onDoubleClick: function onDoubleClick() {
|
|
91
|
-
return _onDoubleClick === null || _onDoubleClick === void 0 ? void 0 : _onDoubleClick(row, column);
|
|
91
|
+
return column.disableClick ? undefined : _onDoubleClick === null || _onDoubleClick === void 0 ? void 0 : _onDoubleClick(row, column);
|
|
92
92
|
},
|
|
93
93
|
onContextMenu: isLongPress ? function (ev) {
|
|
94
94
|
return ev.preventDefault();
|