@widergy/energy-ui 2.3.1 → 2.3.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,17 @@
|
|
|
1
|
+
## [2.3.3](https://github.com/widergy/energy-ui/compare/v2.3.2...v2.3.3) (2023-05-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* fixes mobile theme ([3393de2](https://github.com/widergy/energy-ui/commit/3393de23e01c3913e5f3e41bb2e28d381cc6e808))
|
|
7
|
+
|
|
8
|
+
## [2.3.2](https://github.com/widergy/energy-ui/compare/v2.3.1...v2.3.2) (2023-04-28)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* adds action colors to label theme ([3ff8b4f](https://github.com/widergy/energy-ui/commit/3ff8b4f30973180f76e05f187062d21af19faa48))
|
|
14
|
+
|
|
1
15
|
## [2.3.1](https://github.com/widergy/energy-ui/compare/v2.3.0...v2.3.1) (2023-04-20)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -11,7 +11,7 @@ var getDefaultColorShade = function getDefaultColorShade(colorTheme) {
|
|
|
11
11
|
return colorTheme === _constants.COLOR_THEMES.gray ? _constants.SHADES.shade04 : colorTheme === _constants.COLOR_THEMES.light ? _constants.SHADES.shade01 : _constants.SHADES.shade05;
|
|
12
12
|
};
|
|
13
13
|
var variantsColorTheme = function variantsColorTheme(colorTheme, shade, theme) {
|
|
14
|
-
var colorThemeDefinition = theme.Palette[colorTheme] || theme.Palette[_constants.DEFAULT_PROPS.colorTheme];
|
|
14
|
+
var colorThemeDefinition = theme.Palette[colorTheme] || theme.Palette.actions[colorTheme] || theme.Palette[_constants.DEFAULT_PROPS.colorTheme];
|
|
15
15
|
var colorShade = Object.values(_constants.SHADES).includes(shade) ? shade : getDefaultColorShade(colorTheme);
|
|
16
16
|
return colorThemeDefinition[colorShade] || _colors.default.black;
|
|
17
17
|
};
|
|
@@ -108,7 +108,9 @@ var retrieveStyle = function retrieveStyle(_ref) {
|
|
|
108
108
|
},
|
|
109
109
|
workflowContainer: _defineProperty({
|
|
110
110
|
padding: (0, _seamlessImmutable.getIn)(theme, ['UTWorkflowContainer', 'workflowContainer', 'padding'])
|
|
111
|
-
}, mobile,
|
|
111
|
+
}, mobile, {
|
|
112
|
+
padding: (0, _seamlessImmutable.getIn)(theme, ['UTWorkflowContainer', 'workflowContainer', 'mobile', 'padding'])
|
|
113
|
+
})
|
|
112
114
|
};
|
|
113
115
|
};
|
|
114
116
|
exports.retrieveStyle = retrieveStyle;
|