@widergy/energy-ui 2.3.0 → 2.3.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
+ ## [2.3.2](https://github.com/widergy/energy-ui/compare/v2.3.1...v2.3.2) (2023-04-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * adds action colors to label theme ([3ff8b4f](https://github.com/widergy/energy-ui/commit/3ff8b4f30973180f76e05f187062d21af19faa48))
7
+
8
+ ## [2.3.1](https://github.com/widergy/energy-ui/compare/v2.3.0...v2.3.1) (2023-04-20)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * adds styles to theme ([b3b0e92](https://github.com/widergy/energy-ui/commit/b3b0e928d15f9f614d3776791d8b88139957712c))
14
+
1
15
  # [2.3.0](https://github.com/widergy/energy-ui/compare/v2.2.4...v2.3.0) (2023-04-14)
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
  };
@@ -105,7 +105,10 @@ var retrieveStyle = function retrieveStyle(_ref) {
105
105
  margin: (0, _seamlessImmutable.getIn)(theme, ['UTWorkflowContainer', 'bottomActions', 'container', 'padding'], '0'),
106
106
  minHeight: (0, _seamlessImmutable.getIn)(theme, ['UTWorkflowContainer', 'bottomActions', 'container', 'minHeight'], '90px'),
107
107
  padding: (0, _classesUtils.withImportant)((theme === null || theme === void 0 ? void 0 : (_theme$UTWorkflowCont7 = theme.UTWorkflowContainer) === null || _theme$UTWorkflowCont7 === void 0 ? void 0 : (_theme$UTWorkflowCont8 = _theme$UTWorkflowCont7.bottomActions) === null || _theme$UTWorkflowCont8 === void 0 ? void 0 : (_theme$UTWorkflowCont9 = _theme$UTWorkflowCont8.container) === null || _theme$UTWorkflowCont9 === void 0 ? void 0 : _theme$UTWorkflowCont9.padding) || 0)
108
- }
108
+ },
109
+ workflowContainer: _defineProperty({
110
+ padding: (0, _seamlessImmutable.getIn)(theme, ['UTWorkflowContainer', 'workflowContainer', 'padding'])
111
+ }, mobile, (0, _seamlessImmutable.getIn)(theme, ['UTWorkflowContainer', 'workflowContainer', 'mobile', 'padding']))
109
112
  };
110
113
  };
111
114
  exports.retrieveStyle = retrieveStyle;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/energy-ui",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "Widergy Web Components",
5
5
  "author": "widergy",
6
6
  "license": "MIT",