@widergy/energy-ui 3.22.1 → 3.22.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,10 @@
1
+ ## [3.22.2](https://github.com/widergy/energy-ui/compare/v3.22.1...v3.22.2) (2024-09-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * minor fix ([#499](https://github.com/widergy/energy-ui/issues/499)) ([d09e87a](https://github.com/widergy/energy-ui/commit/d09e87a50f8eac7b99d418764a6ef1b598ee7597))
7
+
1
8
  ## [3.22.1](https://github.com/widergy/energy-ui/compare/v3.22.0...v3.22.1) (2024-09-25)
2
9
 
3
10
 
@@ -44,21 +44,16 @@ const getIconProps = _ref2 => {
44
44
  theme,
45
45
  shade: fillShade || _constants.DEFAULT_INTERNAL_SHADE
46
46
  });
47
- const baseIconProps = {
48
- flexShrink: 0
49
- };
50
47
  const defaultIconProps = {
51
48
  color: iconColor,
52
- size,
53
- ...baseIconProps
49
+ size
54
50
  };
55
51
  const energyIconProps = {
56
52
  stroke: iconColor,
57
53
  ...(size && {
58
54
  width: size,
59
55
  height: size
60
- }),
61
- ...baseIconProps
56
+ })
62
57
  };
63
58
  return {
64
59
  style: filled ? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/energy-ui",
3
- "version": "3.22.1",
3
+ "version": "3.22.2",
4
4
  "description": "Widergy Web Components",
5
5
  "author": "widergy",
6
6
  "license": "MIT",