@widergy/energy-ui 3.58.0 → 3.58.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.58.2](https://github.com/widergy/energy-ui/compare/v3.58.1...v3.58.2) (2025-02-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [CGE-667] button hover disabled responsive ([#572](https://github.com/widergy/energy-ui/issues/572)) ([dfb74ea](https://github.com/widergy/energy-ui/commit/dfb74ea728e16b84795c489cd01088e4044c11c4))
|
|
7
|
+
|
|
8
|
+
## [3.58.1](https://github.com/widergy/energy-ui/compare/v3.58.0...v3.58.1) (2025-02-05)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* product item discount ([#567](https://github.com/widergy/energy-ui/issues/567)) ([9e5091d](https://github.com/widergy/energy-ui/commit/9e5091db2efaa054e37e1e4718aa28e6880ae019))
|
|
14
|
+
|
|
1
15
|
# [3.58.0](https://github.com/widergy/energy-ui/compare/v3.57.0...v3.58.0) (2025-02-04)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -97,7 +97,10 @@ const variantsColorTheme = (theme, colorTheme, variant) => {
|
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
const disabledStyle = {
|
|
100
|
-
opacity: (0, _classesUtils.withImportant)(0.5)
|
|
100
|
+
opacity: (0, _classesUtils.withImportant)(0.5),
|
|
101
|
+
'&.MuiButton-root:hover.Mui-disabled': {
|
|
102
|
+
backgroundColor: (definition[variant] || definition[_constants.DEFAULT_PROPS.variant]).backgroundColor
|
|
103
|
+
}
|
|
101
104
|
};
|
|
102
105
|
return {
|
|
103
106
|
...(definition[variant] || definition[_constants.DEFAULT_PROPS.variant]),
|
|
@@ -58,7 +58,7 @@ const UTProductItem = _ref => {
|
|
|
58
58
|
}, /*#__PURE__*/_react.default.createElement(_UTLabel.default, {
|
|
59
59
|
colorTheme: "light",
|
|
60
60
|
variant: discountSize
|
|
61
|
-
},
|
|
61
|
+
}, discount)), !!previousAmount && /*#__PURE__*/_react.default.createElement(_UTLabel.default, {
|
|
62
62
|
colorTheme: "gray",
|
|
63
63
|
className: classes.previousAmount
|
|
64
64
|
}, "$ ".concat(previousAmount))), /*#__PURE__*/_react.default.createElement(_UTLabel.default, {
|