@widergy/energy-ui 3.86.2 → 3.86.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.86.3](https://github.com/widergy/energy-ui/compare/v3.86.2...v3.86.3) (2025-07-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [SFPE-406] minimatch resolution ([#643](https://github.com/widergy/energy-ui/issues/643)) ([afde69e](https://github.com/widergy/energy-ui/commit/afde69e7d1e458655ae0497f25a971c1d38351a6))
|
|
7
|
+
|
|
1
8
|
## [3.86.2](https://github.com/widergy/energy-ui/compare/v3.86.1...v3.86.2) (2025-07-11)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -13,5 +13,8 @@ const isChecked = (item, inputValue) => {
|
|
|
13
13
|
exports.isChecked = isChecked;
|
|
14
14
|
const convertIfIsString = value => (0, _lodash.isString)(value) ? value.length === 0 ? [] : JSON.parse(value.replace(/'/g, '"')) : value;
|
|
15
15
|
exports.convertIfIsString = convertIfIsString;
|
|
16
|
-
const getPropValueBasedOnVariant = (variant, prop, defaultValue) =>
|
|
16
|
+
const getPropValueBasedOnVariant = (variant, prop, defaultValue) => {
|
|
17
|
+
const defaultButtonProp = prop !== null && prop !== void 0 ? prop : defaultValue;
|
|
18
|
+
return variant === _constants.BUTTON_VARIANT ? defaultButtonProp : prop;
|
|
19
|
+
};
|
|
17
20
|
exports.getPropValueBasedOnVariant = getPropValueBasedOnVariant;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@widergy/energy-ui",
|
|
3
|
-
"version": "3.86.
|
|
3
|
+
"version": "3.86.3",
|
|
4
4
|
"description": "Widergy Web Components",
|
|
5
5
|
"author": "widergy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"resolutions": {
|
|
96
96
|
"@babel/preset-env": "^7.8.7",
|
|
97
97
|
"caniuse-lite": "1.0.30001632",
|
|
98
|
-
"minimatch": "
|
|
98
|
+
"minimatch": "3.1.2",
|
|
99
99
|
"react-error-overlay": "6.0.9"
|
|
100
100
|
},
|
|
101
101
|
"browserslist": [
|