@yuntijs/ui 1.0.0-beta.8 → 1.0.0-beta.80

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.
Files changed (239) hide show
  1. package/es/Alert/index.d.ts +13 -0
  2. package/es/Alert/index.js +25 -0
  3. package/es/Alert/style.d.ts +4 -0
  4. package/es/Alert/style.js +13 -0
  5. package/es/App/index.d.ts +7 -0
  6. package/es/App/index.js +19 -0
  7. package/es/ButtonGroup/index.d.ts +24 -0
  8. package/es/ButtonGroup/index.js +66 -0
  9. package/es/Card/index.d.ts +1 -0
  10. package/es/Card/index.js +1 -0
  11. package/es/CardList/Item/index.d.ts +4 -0
  12. package/es/CardList/Item/index.js +43 -0
  13. package/es/CardList/Item/style.d.ts +0 -0
  14. package/es/CardList/Item/style.js +0 -0
  15. package/es/CardList/index.d.ts +2 -0
  16. package/es/CardList/index.js +39 -0
  17. package/es/ChatInputArea/desktop/ChatInputArea.d.ts +19 -0
  18. package/es/ChatInputArea/desktop/ChatInputArea.js +72 -0
  19. package/es/ChatInputArea/index.d.ts +6 -0
  20. package/es/ChatInputArea/index.js +6 -0
  21. package/es/ChatItem/components/MessageContent.d.ts +21 -0
  22. package/es/ChatItem/components/MessageContent.js +59 -0
  23. package/es/ChatItem/index.d.ts +4 -0
  24. package/es/ChatItem/index.js +120 -0
  25. package/es/ChatItem/style.d.ts +24 -0
  26. package/es/ChatItem/style.js +38 -0
  27. package/es/ChatItem/type.d.ts +82 -0
  28. package/es/ChatItem/type.js +1 -0
  29. package/es/CollapseGroup/index.d.ts +4 -0
  30. package/es/CollapseGroup/index.js +23 -0
  31. package/es/CollapseGroup/style.d.ts +3 -0
  32. package/es/CollapseGroup/style.js +11 -0
  33. package/es/ConfigProvider/index.d.ts +3 -0
  34. package/es/ConfigProvider/index.js +17 -11
  35. package/es/Descriptions/index.d.ts +14 -0
  36. package/es/Descriptions/index.js +31 -0
  37. package/es/Descriptions/style.d.ts +4 -0
  38. package/es/Descriptions/style.js +24 -0
  39. package/es/Divider/index.d.ts +38 -0
  40. package/es/Divider/index.js +66 -0
  41. package/es/Divider/style.d.ts +3 -0
  42. package/es/Divider/style.js +12 -0
  43. package/es/DragPanel/index.d.ts +10 -0
  44. package/es/DragPanel/index.js +97 -0
  45. package/es/DragPanel/style.d.ts +7 -0
  46. package/es/DragPanel/style.js +15 -0
  47. package/es/Drawer/index.d.ts +13 -0
  48. package/es/Drawer/index.js +20 -0
  49. package/es/Drawer/style.d.ts +4 -0
  50. package/es/Drawer/style.js +16 -0
  51. package/es/Dropdown/index.d.ts +14 -0
  52. package/es/Dropdown/index.js +59 -0
  53. package/es/Dropdown/style.d.ts +7 -0
  54. package/es/Dropdown/style.js +13 -0
  55. package/es/EditableMessage/index.d.ts +75 -0
  56. package/es/EditableMessage/index.js +99 -0
  57. package/es/Form/collapse-list/index.d.ts +40 -0
  58. package/es/Form/collapse-list/index.js +209 -0
  59. package/es/Form/collapse-list/style.d.ts +5 -0
  60. package/es/Form/collapse-list/style.js +13 -0
  61. package/es/Form/index.d.ts +8 -0
  62. package/es/Form/index.js +5 -0
  63. package/es/FormHelper/autoFocus.d.ts +10 -0
  64. package/es/FormHelper/autoFocus.js +38 -0
  65. package/es/FormHelper/index.d.ts +13 -0
  66. package/es/FormHelper/index.js +41 -0
  67. package/es/Highlighter/FullFeatured.d.ts +18 -0
  68. package/es/Highlighter/FullFeatured.js +102 -0
  69. package/es/Highlighter/SyntaxHighlighter/index.d.ts +7 -0
  70. package/es/Highlighter/SyntaxHighlighter/index.js +51 -0
  71. package/es/Highlighter/SyntaxHighlighter/style.d.ts +5 -0
  72. package/es/Highlighter/SyntaxHighlighter/style.js +16 -0
  73. package/es/Highlighter/index.d.ts +50 -0
  74. package/es/Highlighter/index.js +77 -0
  75. package/es/Highlighter/style.d.ts +9 -0
  76. package/es/Highlighter/style.js +23 -0
  77. package/es/Highlighter/theme.d.ts +1 -0
  78. package/es/Highlighter/theme.js +1661 -0
  79. package/es/LogViewer/index.d.ts +10 -0
  80. package/es/LogViewer/index.js +141 -0
  81. package/es/LogViewer/style.d.ts +6 -0
  82. package/es/LogViewer/style.js +16 -0
  83. package/es/LogViewer/types.d.ts +235 -0
  84. package/es/LogViewer/types.js +1 -0
  85. package/es/Mentions/constants.d.ts +6 -0
  86. package/es/Mentions/constants.js +28 -0
  87. package/es/Mentions/hooks.d.ts +20 -0
  88. package/es/Mentions/hooks.js +133 -0
  89. package/es/Mentions/index.d.ts +19 -0
  90. package/es/Mentions/index.js +136 -0
  91. package/es/Mentions/plugins/custom-text/node.d.ts +11 -0
  92. package/es/Mentions/plugins/custom-text/node.js +72 -0
  93. package/es/Mentions/plugins/mention-node/component.d.ts +6 -0
  94. package/es/Mentions/plugins/mention-node/component.js +64 -0
  95. package/es/Mentions/plugins/mention-node/index.d.ts +9 -0
  96. package/es/Mentions/plugins/mention-node/index.js +32 -0
  97. package/es/Mentions/plugins/mention-node/node.d.ts +23 -0
  98. package/es/Mentions/plugins/mention-node/node.js +97 -0
  99. package/es/Mentions/plugins/mention-node/replacement.d.ts +5 -0
  100. package/es/Mentions/plugins/mention-node/replacement.js +42 -0
  101. package/es/Mentions/plugins/mention-node/style.d.ts +8 -0
  102. package/es/Mentions/plugins/mention-node/style.js +47 -0
  103. package/es/Mentions/plugins/mention-node/utils.d.ts +4 -0
  104. package/es/Mentions/plugins/mention-node/utils.js +5 -0
  105. package/es/Mentions/plugins/mention-picker/hooks.d.ts +5 -0
  106. package/es/Mentions/plugins/mention-picker/hooks.js +39 -0
  107. package/es/Mentions/plugins/mention-picker/index.d.ts +36 -0
  108. package/es/Mentions/plugins/mention-picker/index.js +87 -0
  109. package/es/Mentions/plugins/mention-picker/menu-item.d.ts +11 -0
  110. package/es/Mentions/plugins/mention-picker/menu-item.js +71 -0
  111. package/es/Mentions/plugins/mention-picker/menu.d.ts +9 -0
  112. package/es/Mentions/plugins/mention-picker/menu.js +30 -0
  113. package/es/Mentions/plugins/mention-picker/style.d.ts +11 -0
  114. package/es/Mentions/plugins/mention-picker/style.js +19 -0
  115. package/es/Mentions/plugins/mention-picker/utils.d.ts +22 -0
  116. package/es/Mentions/plugins/mention-picker/utils.js +39 -0
  117. package/es/Mentions/plugins/on-blur-or-focus-block.d.ts +7 -0
  118. package/es/Mentions/plugins/on-blur-or-focus-block.js +36 -0
  119. package/es/Mentions/provider.d.ts +12 -0
  120. package/es/Mentions/provider.js +15 -0
  121. package/es/Mentions/style.d.ts +11 -0
  122. package/es/Mentions/style.js +22 -0
  123. package/es/Mentions/types.d.ts +17 -0
  124. package/es/Mentions/types.js +1 -0
  125. package/es/Mentions/utils.d.ts +9 -0
  126. package/es/Mentions/utils.js +95 -0
  127. package/es/Modal/index.d.ts +19 -0
  128. package/es/Modal/index.js +36 -0
  129. package/es/Modal/style.d.ts +4 -0
  130. package/es/Modal/style.js +17 -0
  131. package/es/MonacoEditor/base/controller.d.ts +17 -0
  132. package/es/MonacoEditor/base/controller.js +49 -0
  133. package/es/MonacoEditor/base/helper.d.ts +65 -0
  134. package/es/MonacoEditor/base/helper.js +324 -0
  135. package/es/MonacoEditor/base/index.d.ts +35 -0
  136. package/es/MonacoEditor/base/index.js +236 -0
  137. package/es/MonacoEditor/base/monaco.d.ts +6 -0
  138. package/es/MonacoEditor/base/monaco.js +64 -0
  139. package/es/MonacoEditor/base/style.d.ts +12 -0
  140. package/es/MonacoEditor/base/style.js +26 -0
  141. package/es/MonacoEditor/index.d.ts +2 -4
  142. package/es/MonacoEditor/index.js +26 -62
  143. package/es/MonacoEditor/style.js +3 -2
  144. package/es/Page/Breadcrumb/index.d.ts +9 -0
  145. package/es/Page/Breadcrumb/index.js +56 -0
  146. package/es/Page/Content/index.d.ts +4 -0
  147. package/es/Page/Content/index.js +59 -0
  148. package/es/Page/Content/style.d.ts +3 -0
  149. package/es/Page/Content/style.js +12 -0
  150. package/es/Page/Footer/index.d.ts +2 -0
  151. package/es/Page/Footer/index.js +6 -0
  152. package/es/Page/Header/Icon.d.ts +17 -0
  153. package/es/Page/Header/Icon.js +42 -0
  154. package/es/Page/Header/index.d.ts +43 -0
  155. package/es/Page/Header/index.js +202 -0
  156. package/es/Page/Header/style.d.ts +12 -0
  157. package/es/Page/Header/style.js +21 -0
  158. package/es/Page/Page.d.ts +9 -0
  159. package/es/Page/Page.js +49 -0
  160. package/es/Page/PageContext.d.ts +15 -0
  161. package/es/Page/PageContext.js +21 -0
  162. package/es/Page/Title/index.d.ts +5 -0
  163. package/es/Page/Title/index.js +18 -0
  164. package/es/Page/Title/style.d.ts +3 -0
  165. package/es/Page/Title/style.js +10 -0
  166. package/es/Page/index.d.ts +18 -0
  167. package/es/Page/index.js +15 -0
  168. package/es/Page/style.d.ts +3 -0
  169. package/es/Page/style.js +10 -0
  170. package/es/ProCard/Card/index.d.ts +6 -0
  171. package/es/ProCard/Card/index.js +25 -0
  172. package/es/ProCard/Card/style.d.ts +7 -0
  173. package/es/ProCard/Card/style.js +15 -0
  174. package/es/ProCard/Content/index.d.ts +4 -0
  175. package/es/ProCard/Content/index.js +24 -0
  176. package/es/ProCard/Content/style.d.ts +3 -0
  177. package/es/ProCard/Content/style.js +10 -0
  178. package/es/ProCard/Descriptions/index.d.ts +4 -0
  179. package/es/ProCard/Descriptions/index.js +28 -0
  180. package/es/ProCard/Descriptions/style.d.ts +3 -0
  181. package/es/ProCard/Descriptions/style.js +12 -0
  182. package/es/ProCard/Header/index.d.ts +15 -0
  183. package/es/ProCard/Header/index.js +86 -0
  184. package/es/ProCard/Header/style.d.ts +12 -0
  185. package/es/ProCard/Header/style.js +21 -0
  186. package/es/ProCard/index.d.ts +13 -0
  187. package/es/ProCard/index.js +8 -0
  188. package/es/Radio/index.d.ts +36 -0
  189. package/es/Radio/index.js +26 -0
  190. package/es/Radio/style.d.ts +4 -0
  191. package/es/Radio/style.js +66 -0
  192. package/es/SelectCard/index.d.ts +33 -0
  193. package/es/SelectCard/index.js +132 -0
  194. package/es/SelectCard/style.d.ts +10 -0
  195. package/es/SelectCard/style.js +42 -0
  196. package/es/SliderInput/index.js +2 -2
  197. package/es/Status/index.d.ts +7 -0
  198. package/es/Status/index.js +39 -0
  199. package/es/Status/style.d.ts +4 -0
  200. package/es/Status/style.js +14 -0
  201. package/es/Table/collapse/index.d.ts +8 -0
  202. package/es/Table/collapse/index.js +39 -0
  203. package/es/Table/collapse/style.d.ts +3 -0
  204. package/es/Table/collapse/style.js +11 -0
  205. package/es/Table/index.d.ts +20 -0
  206. package/es/Table/index.js +56 -0
  207. package/es/Typography/index.d.ts +32 -0
  208. package/es/Typography/index.js +77 -0
  209. package/es/WaveformIcon/index.d.ts +9 -0
  210. package/es/WaveformIcon/index.js +51 -0
  211. package/es/hooks/languageMap.d.ts +1 -0
  212. package/es/hooks/languageMap.js +1 -0
  213. package/es/hooks/useHighlight.d.ts +5 -0
  214. package/es/hooks/useHighlight.js +78 -0
  215. package/es/index.d.ts +38 -1
  216. package/es/index.js +52 -1
  217. package/es/notification/index.d.ts +24 -0
  218. package/es/notification/index.js +237 -0
  219. package/es/notification/style.d.ts +2 -0
  220. package/es/notification/style.js +28 -0
  221. package/es/styles/colors/colors.d.ts +39 -0
  222. package/es/styles/colors/colors.js +86 -0
  223. package/es/styles/colors/generateColorPalette.d.ts +11 -0
  224. package/es/styles/colors/generateColorPalette.js +31 -0
  225. package/es/styles/colors/neutralColors.d.ts +9 -0
  226. package/es/styles/colors/neutralColors.js +32 -0
  227. package/es/styles/index.d.ts +4 -0
  228. package/es/styles/index.js +4 -0
  229. package/es/useSpeechSynthes/const/polyfill.d.ts +3 -0
  230. package/es/useSpeechSynthes/const/polyfill.js +21 -0
  231. package/es/useSpeechSynthes/index.d.ts +13 -0
  232. package/es/useSpeechSynthes/index.js +69 -0
  233. package/es/utils/constants.d.ts +1 -0
  234. package/es/utils/constants.js +1 -0
  235. package/es/utils/tools.d.ts +1 -0
  236. package/es/utils/tools.js +1 -0
  237. package/package.json +30 -9
  238. package/umd/index.min.js +1 -1
  239. package/umd/index.min.js.map +1 -1
@@ -0,0 +1,21 @@
1
+ var getSpeechRecognition = function getSpeechRecognition() {
2
+ try {
3
+ var _window, _window2;
4
+ return (globalThis === null || globalThis === void 0 ? void 0 : globalThis.SpeechRecognition) || ((_window = window) === null || _window === void 0 ? void 0 : _window.SpeechRecognition) || ((_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.webkitSpeechRecognition);
5
+ } catch (_unused) {}
6
+ };
7
+ var getSpeechSynthesis = function getSpeechSynthesis() {
8
+ try {
9
+ var _window3, _window4;
10
+ return (globalThis === null || globalThis === void 0 ? void 0 : globalThis.speechSynthesis) || ((_window3 = window) === null || _window3 === void 0 ? void 0 : _window3.speechSynthesis) || ((_window4 = window) === null || _window4 === void 0 ? void 0 : _window4.webkitSpeechSynthesis);
11
+ } catch (_unused2) {}
12
+ };
13
+ var getSpeechSynthesisUtterance = function getSpeechSynthesisUtterance() {
14
+ try {
15
+ var _window5, _window6;
16
+ return (globalThis === null || globalThis === void 0 ? void 0 : globalThis.SpeechSynthesisUtterance) || ((_window5 = window) === null || _window5 === void 0 ? void 0 : _window5.SpeechSynthesisUtterance) || ((_window6 = window) === null || _window6 === void 0 ? void 0 : _window6.webkitSpeechSynthesisUtterance);
17
+ } catch (_unused3) {}
18
+ };
19
+ export var SpeechRecognition = getSpeechRecognition();
20
+ export var SpeechSynthesis = getSpeechSynthesis();
21
+ export var SpeechSynthesisUtterance = getSpeechSynthesisUtterance();
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { type SsmlOptions } from '@lobehub/tts/core/utils/genSSML';
3
+ export interface SpeechSynthesOptions extends Pick<SsmlOptions, 'voice' | 'rate' | 'pitch'> {
4
+ onStart?: () => void;
5
+ onStop?: () => void;
6
+ }
7
+ export declare const useSpeechSynthes: (defaultText: string, { voice, rate, pitch, ...options }: SpeechSynthesOptions) => {
8
+ isLoading: boolean;
9
+ setText: import("react").Dispatch<import("react").SetStateAction<string>>;
10
+ start: () => void;
11
+ stop: () => void;
12
+ };
13
+ export default useSpeechSynthes;
@@ -0,0 +1,69 @@
1
+ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["voice", "rate", "pitch"];
4
+ import { useCallback, useEffect, useMemo, useState } from 'react';
5
+ import { SpeechSynthesis, SpeechSynthesisUtterance } from "./const/polyfill";
6
+ export var useSpeechSynthes = function useSpeechSynthes(defaultText, _ref) {
7
+ var voice = _ref.voice,
8
+ rate = _ref.rate,
9
+ pitch = _ref.pitch,
10
+ options = _objectWithoutProperties(_ref, _excluded);
11
+ var _useState = useState(SpeechSynthesis === null || SpeechSynthesis === void 0 ? void 0 : SpeechSynthesis.getVoices()),
12
+ _useState2 = _slicedToArray(_useState, 2),
13
+ voiceList = _useState2[0],
14
+ setVoiceList = _useState2[1];
15
+ var _useState3 = useState(defaultText),
16
+ _useState4 = _slicedToArray(_useState3, 2),
17
+ text = _useState4[0],
18
+ setText = _useState4[1];
19
+ var _useState5 = useState(false),
20
+ _useState6 = _slicedToArray(_useState5, 2),
21
+ isLoading = _useState6[0],
22
+ setIsLoading = _useState6[1];
23
+ var speechSynthesisUtterance = useMemo(function () {
24
+ if (!SpeechSynthesisUtterance) return;
25
+ var utterance = new SpeechSynthesisUtterance(text);
26
+ utterance.voice = voiceList.find(function (item) {
27
+ return item.name === voice;
28
+ });
29
+ utterance.onstart = function () {
30
+ return setIsLoading(true);
31
+ };
32
+ utterance.onend = function () {
33
+ return setIsLoading(false);
34
+ };
35
+ if (pitch) utterance.pitch = pitch * 10;
36
+ if (rate) utterance.rate = rate * 10;
37
+ return utterance;
38
+ }, [text, voiceList, rate, pitch, voice]);
39
+ useEffect(function () {
40
+ if (!SpeechSynthesis) return;
41
+ SpeechSynthesis.onvoiceschanged = function () {
42
+ setVoiceList(SpeechSynthesis === null || SpeechSynthesis === void 0 ? void 0 : SpeechSynthesis.getVoices());
43
+ };
44
+ SpeechSynthesis.onstart = function () {
45
+ return setIsLoading(true);
46
+ };
47
+ SpeechSynthesis.onend = function () {
48
+ return setIsLoading(false);
49
+ };
50
+ }, []);
51
+ var handleStart = useCallback(function () {
52
+ var _options$onStart;
53
+ options === null || options === void 0 || (_options$onStart = options.onStart) === null || _options$onStart === void 0 || _options$onStart.call(options);
54
+ SpeechSynthesis === null || SpeechSynthesis === void 0 || SpeechSynthesis.speak(speechSynthesisUtterance);
55
+ }, [options, speechSynthesisUtterance]);
56
+ var handleStop = useCallback(function () {
57
+ var _options$onStop, _speechSynthesis;
58
+ options === null || options === void 0 || (_options$onStop = options.onStop) === null || _options$onStop === void 0 || _options$onStop.call(options);
59
+ (_speechSynthesis = speechSynthesis) === null || _speechSynthesis === void 0 || _speechSynthesis.cancel();
60
+ setIsLoading(false);
61
+ }, [options]);
62
+ return {
63
+ isLoading: isLoading,
64
+ setText: setText,
65
+ start: handleStart,
66
+ stop: handleStop
67
+ };
68
+ };
69
+ export default useSpeechSynthes;
@@ -0,0 +1 @@
1
+ export declare const prefixCls = "yunti-ui";
@@ -0,0 +1 @@
1
+ export var prefixCls = 'yunti-ui';
@@ -0,0 +1 @@
1
+ export declare const isBrowser: boolean;
@@ -0,0 +1 @@
1
+ export var isBrowser = typeof window !== 'undefined';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuntijs/ui",
3
- "version": "1.0.0-beta.8",
3
+ "version": "1.0.0-beta.80",
4
4
  "description": "☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps",
5
5
  "keywords": [
6
6
  "yuntijs",
@@ -18,6 +18,7 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "author": "Luobo Zhang <zhang.pc3@gmail.com>",
21
+ "sideEffects": false,
21
22
  "main": "es/index.js",
22
23
  "module": "es/index.js",
23
24
  "types": "es/index.d.ts",
@@ -33,6 +34,7 @@
33
34
  "dev:father": "father dev",
34
35
  "docs:build": "dumi build",
35
36
  "docs:build-analyze": "ANALYZE=1 dumi build",
37
+ "docs:build-nc": "COMPRESS=none dumi build",
36
38
  "docs:dev": "dumi dev",
37
39
  "docs:preview": "dumi preview --port 9000",
38
40
  "doctor": "father doctor",
@@ -81,14 +83,28 @@
81
83
  "@alilc/lowcode-plugin-base-monaco-editor": "^1.1.2",
82
84
  "@ant-design/icons": "^5",
83
85
  "@babel/runtime": "^7",
84
- "@lobehub/ui": "^1",
86
+ "@lexical/react": "^0.16.1",
87
+ "@lexical/selection": "^0.16.1",
88
+ "@lexical/text": "^0.16.1",
89
+ "@lexical/utils": "^0.16.1",
90
+ "@lobehub/tts": "^1.25.1",
91
+ "@lobehub/ui": "^1.164.2",
92
+ "@melloware/react-logviewer": "^5.2.0",
93
+ "@monaco-editor/loader": "^1.4.0",
94
+ "@shikijs/transformers": "^1.10.3",
85
95
  "leva": "^0",
96
+ "lexical": "^0.16.1",
86
97
  "lodash-es": "^4",
87
98
  "lucide-react": "latest",
88
99
  "query-string": "^8",
100
+ "rc-util": "^5.43.0",
101
+ "react-draggable": "^4.4.6",
89
102
  "react-error-boundary": "^4",
90
103
  "react-layout-kit": "^1",
91
- "url-join": "^5.0.0"
104
+ "shiki": "^1.10.3",
105
+ "swr": "^2.2.5",
106
+ "url-join": "^5.0.0",
107
+ "use-merge-value": "^1.2.0"
92
108
  },
93
109
  "devDependencies": {
94
110
  "@testing-library/react": "^14",
@@ -97,13 +113,14 @@
97
113
  "@types/react": "18.2.40",
98
114
  "@types/react-dom": "^18",
99
115
  "@vitest/coverage-v8": "latest",
100
- "@yuntijs/lint": "^1.4.0",
101
- "antd": "^5.12.5",
102
- "antd-style": "^3",
116
+ "@yuntijs/lint": "^1.7.0",
117
+ "antd": "^5.23.0",
118
+ "antd-style": "^3.7.1",
103
119
  "babel-plugin-antd-style": "latest",
104
120
  "commitlint": "^18",
105
- "dumi": "^2",
106
- "dumi-theme-lobehub": "^1.7.6",
121
+ "dayjs": "^1.11.10",
122
+ "dumi": "^2.4.9",
123
+ "dumi-theme-yunti": "^1.7.1",
107
124
  "eslint": "^8.56.0",
108
125
  "father": "^4.3.8",
109
126
  "husky": "^8",
@@ -124,10 +141,14 @@
124
141
  "peerDependencies": {
125
142
  "antd": ">=5",
126
143
  "antd-style": ">=3",
144
+ "dayjs": ">=1",
127
145
  "react": ">=18",
128
146
  "react-dom": ">=18"
129
147
  },
130
- "packageManager": "pnpm@8.12.1",
148
+ "engines": {
149
+ "node": ">=18.12.0",
150
+ "pnpm": ">=8.1.0"
151
+ },
131
152
  "publishConfig": {
132
153
  "access": "public",
133
154
  "registry": "https://registry.npmjs.org"