@synerise/ds-context-selector 0.21.10 → 0.21.11

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,14 @@
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.21.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-context-selector@0.21.10...@synerise/ds-context-selector@0.21.11) (2024-04-17)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-context-selector
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.21.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-context-selector@0.21.9...@synerise/ds-context-selector@0.21.10) (2024-04-17)
7
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-context-selector
@@ -193,7 +193,7 @@ var ContextSelectorDropdown = function ContextSelectorDropdown(_ref) {
193
193
  if (hasSubgroups && !activeGroup) {
194
194
  var _currentTabItems$subG;
195
195
 
196
- var subGroups = currentTabItems != null && currentTabItems.subGroups ? currentTabItems == null ? void 0 : (_currentTabItems$subG = currentTabItems.subGroups) == null ? void 0 : _currentTabItems$subG.map(function (group) {
196
+ var subGroups = currentTabItems != null && currentTabItems.subGroups ? currentTabItems == null || (_currentTabItems$subG = currentTabItems.subGroups) == null ? void 0 : _currentTabItems$subG.map(function (group) {
197
197
  return _objectSpread({}, group, {
198
198
  isGroup: true
199
199
  });
@@ -228,7 +228,7 @@ var ContextSelectorDropdown = function ContextSelectorDropdown(_ref) {
228
228
  var _listRef$current;
229
229
 
230
230
  // eslint-disable-next-line no-unused-expressions
231
- (_listRef$current = listRef.current) == null ? void 0 : _listRef$current.resetAfterIndex(0, false);
231
+ (_listRef$current = listRef.current) == null || _listRef$current.resetAfterIndex(0, false);
232
232
  }, [activeItems, listRef]);
233
233
  var handleSearch = React.useCallback(function (val) {
234
234
  setSearchQuery(val);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-context-selector",
3
- "version": "0.21.10",
3
+ "version": "0.21.11",
4
4
  "description": "ContextSelector UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -27,7 +27,7 @@
27
27
  "test:watch": "npm run test -- --watchAll",
28
28
  "types": "tsc --noEmit"
29
29
  },
30
- "gitHead": "9ac88a61f9511ed9862372e63079aab27bb7511b",
30
+ "gitHead": "2b3ed7503dacc36c207049a5a3e81bfe190de0be",
31
31
  "sideEffects": [
32
32
  "dist/style/*",
33
33
  "*.less"
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "@synerise/ds-button": "^0.19.7",
38
38
  "@synerise/ds-dropdown": "^0.17.105",
39
- "@synerise/ds-factors": "^0.22.10",
39
+ "@synerise/ds-factors": "^0.22.11",
40
40
  "@synerise/ds-icon": "^0.60.7",
41
41
  "@synerise/ds-information-card": "^0.3.68",
42
42
  "@synerise/ds-menu": "^0.18.20",