@synerise/ds-factors 0.28.12 → 0.28.13

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
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.28.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.28.12...@synerise/ds-factors@0.28.13) (2025-03-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **factors:** empty results in promoted group ([412c1b3](https://github.com/Synerise/synerise-design/commit/412c1b345ca761c32bdc1a478b04bdd582aa1757))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.28.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.28.11...@synerise/ds-factors@0.28.12) (2025-03-04)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-factors
@@ -179,11 +179,6 @@ var ParameterDropdown = function ParameterDropdown(_ref) {
179
179
  return item.groupId === activeGroup.id;
180
180
  }).map(mapItemToDropdownItem), activeGroup);
181
181
  }
182
- if (activeTab && groups && groups[activeTab]) {
183
- return groupItems((items || []).filter(function (item) {
184
- return item.groupId === groups[activeTab].id;
185
- }).map(mapItemToDropdownItem), activeGroup);
186
- }
187
182
  if (activeTab && visibleGroups && visibleGroups[activeTab]) {
188
183
  return items == null ? void 0 : items.filter(function (item) {
189
184
  return item.groupId === visibleGroups[activeTab].id;
@@ -197,6 +192,11 @@ var ParameterDropdown = function ParameterDropdown(_ref) {
197
192
  };
198
193
  });
199
194
  }
195
+ if (activeTab && groups && groups[activeTab]) {
196
+ return groupItems((items || []).filter(function (item) {
197
+ return item.groupId === groups[activeTab].id;
198
+ }).map(mapItemToDropdownItem), activeGroup);
199
+ }
200
200
  if ((recentItems || []).length > 0) {
201
201
  var recentItemsWithGroup = (recentItems || []).map(function (item) {
202
202
  return _extends({}, item, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-factors",
3
- "version": "0.28.12",
3
+ "version": "0.28.13",
4
4
  "description": "Factors UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -65,5 +65,5 @@
65
65
  "react-intl": ">=3.12.0 <= 6.8",
66
66
  "styled-components": "^5.3.3"
67
67
  },
68
- "gitHead": "c5a647bd7a24a2c9294e781b2b69223e8543859f"
68
+ "gitHead": "e2daf4a742bb045c43773146d2347c3d093911e2"
69
69
  }