@widergy/energy-ui 3.87.0 → 3.87.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [3.87.2](https://github.com/widergy/energy-ui/compare/v3.87.1...v3.87.2) (2025-07-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* default align label prop ([#645](https://github.com/widergy/energy-ui/issues/645)) ([a78a7d2](https://github.com/widergy/energy-ui/commit/a78a7d2bc635bc38e1563d7ea8eca8b308a96c13))
|
|
7
|
+
|
|
8
|
+
## [3.87.1](https://github.com/widergy/energy-ui/compare/v3.87.0...v3.87.1) (2025-07-14)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* [SFPE-426] actions row cell ([#642](https://github.com/widergy/energy-ui/issues/642)) ([d3585ab](https://github.com/widergy/energy-ui/commit/d3585ab80116a9efb6d242ea1bc143dce0384bf6))
|
|
14
|
+
|
|
1
15
|
# [3.87.0](https://github.com/widergy/energy-ui/compare/v3.86.3...v3.87.0) (2025-07-14)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -62,7 +62,7 @@ const TableRow = _ref => {
|
|
|
62
62
|
} = columnsDefinition;
|
|
63
63
|
const SelectionComponent = exclusiveSelection ? _Radio.default : _Checkbox.default;
|
|
64
64
|
const hasActionsRow = selectable || (0, _utils.hasVisibleActions)(secondaryActions, cellProps.rowData);
|
|
65
|
-
const selectableCellStyles = isResponsive ? "".concat(_stylesModule.default.secondaryActionsContainer, "\n ").concat(cellProps.classes.responsiveCell, "\n ").concat(hasActionsRow ? cellProps.classes.responsiveRowTopBorder : _stylesModule.default.hidden, "\n ") : "\n\t".concat(_stylesModule.default.fixedRowLeft, "\n\t").concat(fixedRowsLeftClassName, "\n\t").concat((removeFixedRowsDivisors || (0, _array.isEmpty)(fixedLeftColumns)) && _stylesModule.default.disableBorderRight, "\n\t").concat(!selectable && (0, _array.isEmpty)(fixedLeftColumns) && _stylesModule.default.cleanFixedColumns, "\n");
|
|
65
|
+
const selectableCellStyles = isResponsive ? "".concat(_stylesModule.default.secondaryActionsContainer, "\n ").concat(cellProps.classes.responsiveCell, "\n ").concat(hasActionsRow ? cellProps.classes.responsiveRowTopBorder : _stylesModule.default.hidden, "\n ").concat(selectable ? _stylesModule.default.secondaryActionsSelectable : '', "\n ") : "\n\t".concat(_stylesModule.default.fixedRowLeft, "\n\t").concat(fixedRowsLeftClassName, "\n\t").concat((removeFixedRowsDivisors || (0, _array.isEmpty)(fixedLeftColumns)) && _stylesModule.default.disableBorderRight, "\n\t").concat(!selectable && (0, _array.isEmpty)(fixedLeftColumns) && _stylesModule.default.cleanFixedColumns, "\n");
|
|
66
66
|
return /*#__PURE__*/_react.default.createElement(_UTTouchableWithoutFeedback.default, {
|
|
67
67
|
className: "\n ".concat(_stylesModule.default.row, "\n ").concat((!handleRowClick || isResponsive) && _stylesModule.default.noClick, "\n ").concat(isResponsive && cellProps.classes.responsiveRow, "\n ").concat(isResponsive && _stylesModule.default.responsiveRow, "\n ").concat(className, "\n "),
|
|
68
68
|
onClick: handleRowClick,
|
|
@@ -86,7 +86,7 @@ const UTTable = _ref => {
|
|
|
86
86
|
rowSpacing = _constants.ROW_SPACING_NAMES.NONE,
|
|
87
87
|
rowsPerPageOptions = _constants.ROWS_PER_PAGE,
|
|
88
88
|
selectAllInCurrentPageOnly = false,
|
|
89
|
-
selectable,
|
|
89
|
+
selectable = false,
|
|
90
90
|
selectionComponentDataTestId,
|
|
91
91
|
stickyHeader,
|
|
92
92
|
tableTitle,
|