@lobehub/ui 1.119.3 → 1.119.4

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.
@@ -34,7 +34,9 @@ var EmojiPicker = /*#__PURE__*/memo(function (_ref) {
34
34
  return _context.stop();
35
35
  }
36
36
  }, _callee);
37
- }))),
37
+ })), {
38
+ revalidateOnFocus: false
39
+ }),
38
40
  i18n = _useSWR.data;
39
41
  var _useMergeState = useMergeState('🤖', {
40
42
  defaultValue: defaultAvatar,
@@ -1,3 +1,5 @@
1
1
  export declare const FALLBACK_LANG = "txt";
2
- export declare const useHighlight: (text: string, lang: string, isDarkMode: boolean) => import("swr/_internal").SWRResponse<string, any, any>;
2
+ export declare const useHighlight: (text: string, lang: string, isDarkMode: boolean) => import("swr/_internal").SWRResponse<string, any, {
3
+ revalidateOnFocus: false;
4
+ }>;
3
5
  export { default as languageMap } from './languageMap';
@@ -69,6 +69,8 @@ export var useHighlight = function useHighlight(text, lang, isDarkMode) {
69
69
  return _context2.stop();
70
70
  }
71
71
  }, _callee2, null, [[0, 9]]);
72
- })));
72
+ })), {
73
+ revalidateOnFocus: false
74
+ });
73
75
  };
74
76
  export { default as languageMap } from "./languageMap";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "1.119.3",
3
+ "version": "1.119.4",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",