@widergy/energy-ui 3.173.1 → 3.173.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 +14 -0
- package/dist/components/UTShortcutPanel/components/GroupingPanel/components/ExpandedPanelContent/components/ExpandedPanelContentCategory/index.js +2 -1
- package/dist/components/UTShortcutPanel/styles.module.scss +1 -1
- package/dist/esm/components/UTShortcutPanel/components/GroupingPanel/components/ExpandedPanelContent/components/ExpandedPanelContentCategory/index.js +2 -1
- package/dist/esm/components/UTShortcutPanel/styles.module.scss +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [3.173.3](https://github.com/widergy/energy-ui/compare/v3.173.2...v3.173.3) (2026-07-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [AXCH-2058] show pinned filters when checking for empty category ([#839](https://github.com/widergy/energy-ui/issues/839)) ([b5290c5](https://github.com/widergy/energy-ui/commit/b5290c54a9909adaadb88cfe3ab87fc7700e562c))
|
|
7
|
+
|
|
8
|
+
## [3.173.2](https://github.com/widergy/energy-ui/compare/v3.173.1...v3.173.2) (2026-07-23)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* animation delay time ([#838](https://github.com/widergy/energy-ui/issues/838)) ([790208d](https://github.com/widergy/energy-ui/commit/790208d382461fcaf07067a525fe0168099f44ee))
|
|
14
|
+
|
|
1
15
|
## [3.173.1](https://github.com/widergy/energy-ui/compare/v3.173.0...v3.173.1) (2026-07-22)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -38,7 +38,8 @@ const ExpandedPanelContentCategoryContainer = _ref => {
|
|
|
38
38
|
userFilters
|
|
39
39
|
} = (0, _utils.getSegregatedFilters)(category.filters);
|
|
40
40
|
const shouldFadeIn = !filteredValues && !(0, _isEmpty.default)(selectedFilter) && collapsedCategory && selectedFilterIsInCategory;
|
|
41
|
-
const
|
|
41
|
+
const hasNoFilters = (0, _isEmpty.default)(userFilters) && (0, _isEmpty.default)(clientFilters);
|
|
42
|
+
const shouldShowEmptyState = filteredValues && hasNoFilters ? null : hasNoFilters;
|
|
42
43
|
return /*#__PURE__*/_react.default.createElement(_layout.default, {
|
|
43
44
|
category: category,
|
|
44
45
|
categoryConfig: categoryConfig,
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
overflow: hidden !important;
|
|
55
55
|
padding: var(--padding-lg, 24px) 0;
|
|
56
56
|
position: relative !important;
|
|
57
|
-
transition: width
|
|
57
|
+
transition: width 30ms cubic-bezier(0.4, 0, 0.2, 1) 0ms !important;
|
|
58
58
|
width: var(--UT-shortcutPanel-width-collapsed, 3.5rem);
|
|
59
59
|
|
|
60
60
|
&Open {
|
|
@@ -30,7 +30,8 @@ const ExpandedPanelContentCategoryContainer = _ref => {
|
|
|
30
30
|
userFilters
|
|
31
31
|
} = getSegregatedFilters(category.filters);
|
|
32
32
|
const shouldFadeIn = !filteredValues && !isEmpty(selectedFilter) && collapsedCategory && selectedFilterIsInCategory;
|
|
33
|
-
const
|
|
33
|
+
const hasNoFilters = isEmpty(userFilters) && isEmpty(clientFilters);
|
|
34
|
+
const shouldShowEmptyState = filteredValues && hasNoFilters ? null : hasNoFilters;
|
|
34
35
|
return /*#__PURE__*/React.createElement(ExpandedPanelContentCategory, {
|
|
35
36
|
category: category,
|
|
36
37
|
categoryConfig: categoryConfig,
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
overflow: hidden !important;
|
|
55
55
|
padding: var(--padding-lg, 24px) 0;
|
|
56
56
|
position: relative !important;
|
|
57
|
-
transition: width
|
|
57
|
+
transition: width 30ms cubic-bezier(0.4, 0, 0.2, 1) 0ms !important;
|
|
58
58
|
width: var(--UT-shortcutPanel-width-collapsed, 3.5rem);
|
|
59
59
|
|
|
60
60
|
&Open {
|