@bigbinary/neeto-molecules 1.0.49 → 1.0.51

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.
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var React = require('react');
4
3
  var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
4
+ var React = require('react');
5
5
  var neetoIcons = require('@bigbinary/neeto-icons');
6
6
  var neetoui = require('@bigbinary/neetoui');
7
7
  var managers = require('@bigbinary/neetoui/managers');
@@ -608,7 +608,8 @@ function shallow(objA, objB) {
608
608
  return true;
609
609
  }
610
610
 
611
- var useKeyboardShortcutsStore = create(function (set) {
611
+ /** @type {import("neetocommons/react-utils").ZustandStoreHook} */
612
+ var useKeyboardShortcutsStore = create(reactUtils.withImmutableActions(function (set) {
612
613
  return {
613
614
  isOpen: false,
614
615
  setIsOpen: function setIsOpen(arg) {
@@ -625,7 +626,7 @@ var useKeyboardShortcutsStore = create(function (set) {
625
626
  }
626
627
  }
627
628
  };
628
- });
629
+ }));
629
630
  var useKeyboardShortcutsPaneState = function useKeyboardShortcutsPaneState() {
630
631
  return useKeyboardShortcutsStore(function (_ref) {
631
632
  var isOpen = _ref.isOpen,