@bigbinary/neeto-molecules 1.0.63 → 1.0.64

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.
@@ -2143,6 +2143,7 @@ var HotKey = function HotKey(_ref) {
2143
2143
  }));
2144
2144
  }))));
2145
2145
  };
2146
+ var HotKey$1 = /*#__PURE__*/React__default["default"].memo(HotKey);
2146
2147
 
2147
2148
  var HotKeyList = function HotKeyList(_ref) {
2148
2149
  var hotkeys = _ref.hotkeys;
@@ -2163,7 +2164,7 @@ var HotKeyList = function HotKeyList(_ref) {
2163
2164
  _ref3$ = _ref3[1],
2164
2165
  sequence = _ref3$.sequence,
2165
2166
  description = _ref3$.description;
2166
- return sequence && /*#__PURE__*/React__default["default"].createElement(HotKey, {
2167
+ return sequence && /*#__PURE__*/React__default["default"].createElement(HotKey$1, {
2167
2168
  description: description,
2168
2169
  key: sequence,
2169
2170
  sequence: sequence
@@ -2177,6 +2178,7 @@ var HotKeyList = function HotKeyList(_ref) {
2177
2178
  }));
2178
2179
  });
2179
2180
  };
2181
+ var HotKeyList$1 = /*#__PURE__*/React__default["default"].memo(HotKeyList);
2180
2182
 
2181
2183
  var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
2182
2184
 
@@ -2223,9 +2225,9 @@ var KeyboardShortcutsPane = function KeyboardShortcutsPane(_ref) {
2223
2225
  onClick: function onClick() {
2224
2226
  return setIsOpen(false);
2225
2227
  }
2226
- })), /*#__PURE__*/React__default["default"].createElement(HotKeyList, {
2228
+ })), /*#__PURE__*/React__default["default"].createElement(HotKeyList$1, {
2227
2229
  hotkeys: GLOBAL_SHORTCUTS
2228
- }), /*#__PURE__*/React__default["default"].createElement(HotKeyList, {
2230
+ }), /*#__PURE__*/React__default["default"].createElement(HotKeyList$1, {
2229
2231
  hotkeys: productShortcuts
2230
2232
  })));
2231
2233
  };