@widergy/energy-ui 3.49.0 → 3.49.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.49.2](https://github.com/widergy/energy-ui/compare/v3.49.1...v3.49.2) (2024-12-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [OUG-7622] cast option name to string ([#546](https://github.com/widergy/energy-ui/issues/546)) ([2311427](https://github.com/widergy/energy-ui/commit/23114272063d17263612be6256757a5df73f7156))
7
+
8
+ ## [3.49.1](https://github.com/widergy/energy-ui/compare/v3.49.0...v3.49.1) (2024-12-12)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * [UGC-571] workflow missing style ([#545](https://github.com/widergy/energy-ui/issues/545)) ([d7b992e](https://github.com/widergy/energy-ui/commit/d7b992ec82a3c4d58563d8e702975e880c1e9807))
14
+
1
15
  # [3.49.0](https://github.com/widergy/energy-ui/compare/v3.48.1...v3.49.0) (2024-12-12)
2
16
 
3
17
 
@@ -85,7 +85,7 @@ const UTSelect = _ref => {
85
85
  if (isPopperOpen) setSortedOptions((0, _utils2.sortOptions)(optionsSortedByCategory, value, multiple));
86
86
  }, [isPopperOpen]);
87
87
  const validationData = (0, _react.useMemo)(() => error && (0, _utils.formatErrorToValidation)(error), [error]);
88
- const filteredOptions = (0, _react.useMemo)(() => disableFilterOptions ? sortedOptions : sortedOptions.filter(option => option.name.toLowerCase().includes(searchTerm.toLowerCase())), [sortedOptions, searchTerm, disableFilterOptions]);
88
+ const filteredOptions = (0, _react.useMemo)(() => disableFilterOptions ? sortedOptions : sortedOptions.filter(option => "".concat(option.name).toLowerCase().includes(searchTerm.toLowerCase())), [sortedOptions, searchTerm, disableFilterOptions]);
89
89
  const handleSearchChange = (0, _react.useCallback)(searchValue => {
90
90
  onChangeSearchTerm === null || onChangeSearchTerm === void 0 || onChangeSearchTerm(searchValue);
91
91
  setSearchTerm(searchValue);
@@ -170,7 +170,7 @@ const UTSelect = _ref => {
170
170
  variant: "body"
171
171
  }, title), /*#__PURE__*/_react.default.createElement(_lab.Autocomplete, {
172
172
  disabled: disabled || readOnly,
173
- getOptionLabel: option => option.name,
173
+ getOptionLabel: option => "".concat(option.name),
174
174
  ListboxComponent: _ListboxComponent.default,
175
175
  ListboxProps: listBoxProps,
176
176
  multiple: multiple,
@@ -87,7 +87,7 @@ const UTWorkflowContainer = _ref => {
87
87
  return /*#__PURE__*/_react.default.createElement("div", {
88
88
  className: "".concat(_stylesModule.default.container, " ").concat(classes.container)
89
89
  }, /*#__PURE__*/_react.default.createElement("div", {
90
- className: _stylesModule.default.content
90
+ className: "".concat(_stylesModule.default.content, " ").concat(classes.content)
91
91
  }, stages && /*#__PURE__*/_react.default.createElement(_UTStepper.default, {
92
92
  stepperSize,
93
93
  currentStage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/energy-ui",
3
- "version": "3.49.0",
3
+ "version": "3.49.2",
4
4
  "description": "Widergy Web Components",
5
5
  "author": "widergy",
6
6
  "license": "MIT",