@widergy/energy-ui 3.141.2 → 3.141.3

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
+ ## [3.141.3](https://github.com/widergy/energy-ui/compare/v3.141.2...v3.141.3) (2026-04-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * some component adjusments ([#771](https://github.com/widergy/energy-ui/issues/771)) ([ee49e34](https://github.com/widergy/energy-ui/commit/ee49e34719bfb9bdaa2f7ae12ba337aa46890a64))
7
+
1
8
  ## [3.141.2](https://github.com/widergy/energy-ui/compare/v3.141.1...v3.141.2) (2026-04-09)
2
9
 
3
10
 
@@ -101,7 +101,7 @@ const UTStatus = _ref => {
101
101
  return Component ? /*#__PURE__*/_react.default.createElement(Component, _extends({}, adornmentProps, {
102
102
  key: (adornment === null || adornment === void 0 ? void 0 : adornment.key) || adornment.name
103
103
  })) : null;
104
- }, []);
104
+ }, [adornments, size, variant]);
105
105
  const StatusRender = /*#__PURE__*/_react.default.createElement("div", {
106
106
  className: "".concat(classes.root, " ").concat(className || '', " ").concat(area ? '' : classes.withoutArea, " ").concat(areaType === _constants.AREA_TYPES.SQUARE ? '' : classes.roundedArea),
107
107
  title: title
@@ -26,7 +26,7 @@ const Cell = _ref => {
26
26
  rowData,
27
27
  style
28
28
  } = _ref;
29
- const cellAlignStyles = [_constants.CELL_TYPES.ACTION_ICONS, _constants.CELL_TYPES.ACTION_BUTTON].includes(column.type) ? _stylesModule.default.centerAlign : _stylesModule.default["".concat(align, "Align")];
29
+ const cellAlignStyles = column.align ? _stylesModule.default["".concat(column.align, "Align")] : [_constants.CELL_TYPES.ACTION_ICONS, _constants.CELL_TYPES.ACTION_BUTTON].includes(column.type) ? _stylesModule.default.centerAlign : _stylesModule.default["".concat(align, "Align")];
30
30
  const cellStyle = {
31
31
  width: column.withoutPadding ? style.paddingLeft + style.paddingRight + columnSizes[column.key] : columnSizes[column.key],
32
32
  ...style,
@@ -30,7 +30,7 @@ const HeaderCell = _ref => {
30
30
  } = _ref;
31
31
  const handleClick = () => handleOrder((0, _utils.getNewOrder)(order, column));
32
32
  const OrderICon = order.key !== column.key ? _UnfoldMore.default : _ArrowUpward.default;
33
- const cellAlignStyles = [_constants.CELL_TYPES.ACTION_ICONS, _constants.CELL_TYPES.ACTION_BUTTON].includes(column.type) ? _stylesModule.default.centerAlign : _stylesModule.default["".concat(align, "Align")];
33
+ const cellAlignStyles = column.align ? _stylesModule.default["".concat(column.align, "Align")] : [_constants.CELL_TYPES.ACTION_ICONS, _constants.CELL_TYPES.ACTION_BUTTON].includes(column.type) ? _stylesModule.default.centerAlign : _stylesModule.default["".concat(align, "Align")];
34
34
  const activeCell = order.key === column.key;
35
35
  const isSortable = column.sortable && !_constants.CELL_ACTION_TYPES.includes(column.type);
36
36
  return /*#__PURE__*/_react.default.createElement(_UTTouchableWithoutFeedback.default, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/energy-ui",
3
- "version": "3.141.2",
3
+ "version": "3.141.3",
4
4
  "description": "Widergy Web Components",
5
5
  "author": "widergy",
6
6
  "license": "MIT",