@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.
- package/es/Alert/index.d.ts +13 -0
- package/es/Alert/index.js +25 -0
- package/es/Alert/style.d.ts +4 -0
- package/es/Alert/style.js +13 -0
- package/es/App/index.d.ts +7 -0
- package/es/App/index.js +19 -0
- package/es/ButtonGroup/index.d.ts +24 -0
- package/es/ButtonGroup/index.js +66 -0
- package/es/Card/index.d.ts +1 -0
- package/es/Card/index.js +1 -0
- package/es/CardList/Item/index.d.ts +4 -0
- package/es/CardList/Item/index.js +43 -0
- package/es/CardList/Item/style.d.ts +0 -0
- package/es/CardList/Item/style.js +0 -0
- package/es/CardList/index.d.ts +2 -0
- package/es/CardList/index.js +39 -0
- package/es/ChatInputArea/desktop/ChatInputArea.d.ts +19 -0
- package/es/ChatInputArea/desktop/ChatInputArea.js +72 -0
- package/es/ChatInputArea/index.d.ts +6 -0
- package/es/ChatInputArea/index.js +6 -0
- package/es/ChatItem/components/MessageContent.d.ts +21 -0
- package/es/ChatItem/components/MessageContent.js +59 -0
- package/es/ChatItem/index.d.ts +4 -0
- package/es/ChatItem/index.js +120 -0
- package/es/ChatItem/style.d.ts +24 -0
- package/es/ChatItem/style.js +38 -0
- package/es/ChatItem/type.d.ts +82 -0
- package/es/ChatItem/type.js +1 -0
- package/es/CollapseGroup/index.d.ts +4 -0
- package/es/CollapseGroup/index.js +23 -0
- package/es/CollapseGroup/style.d.ts +3 -0
- package/es/CollapseGroup/style.js +11 -0
- package/es/ConfigProvider/index.d.ts +3 -0
- package/es/ConfigProvider/index.js +17 -11
- package/es/Descriptions/index.d.ts +14 -0
- package/es/Descriptions/index.js +31 -0
- package/es/Descriptions/style.d.ts +4 -0
- package/es/Descriptions/style.js +24 -0
- package/es/Divider/index.d.ts +38 -0
- package/es/Divider/index.js +66 -0
- package/es/Divider/style.d.ts +3 -0
- package/es/Divider/style.js +12 -0
- package/es/DragPanel/index.d.ts +10 -0
- package/es/DragPanel/index.js +97 -0
- package/es/DragPanel/style.d.ts +7 -0
- package/es/DragPanel/style.js +15 -0
- package/es/Drawer/index.d.ts +13 -0
- package/es/Drawer/index.js +20 -0
- package/es/Drawer/style.d.ts +4 -0
- package/es/Drawer/style.js +16 -0
- package/es/Dropdown/index.d.ts +14 -0
- package/es/Dropdown/index.js +59 -0
- package/es/Dropdown/style.d.ts +7 -0
- package/es/Dropdown/style.js +13 -0
- package/es/EditableMessage/index.d.ts +75 -0
- package/es/EditableMessage/index.js +99 -0
- package/es/Form/collapse-list/index.d.ts +40 -0
- package/es/Form/collapse-list/index.js +209 -0
- package/es/Form/collapse-list/style.d.ts +5 -0
- package/es/Form/collapse-list/style.js +13 -0
- package/es/Form/index.d.ts +8 -0
- package/es/Form/index.js +5 -0
- package/es/FormHelper/autoFocus.d.ts +10 -0
- package/es/FormHelper/autoFocus.js +38 -0
- package/es/FormHelper/index.d.ts +13 -0
- package/es/FormHelper/index.js +41 -0
- package/es/Highlighter/FullFeatured.d.ts +18 -0
- package/es/Highlighter/FullFeatured.js +102 -0
- package/es/Highlighter/SyntaxHighlighter/index.d.ts +7 -0
- package/es/Highlighter/SyntaxHighlighter/index.js +51 -0
- package/es/Highlighter/SyntaxHighlighter/style.d.ts +5 -0
- package/es/Highlighter/SyntaxHighlighter/style.js +16 -0
- package/es/Highlighter/index.d.ts +50 -0
- package/es/Highlighter/index.js +77 -0
- package/es/Highlighter/style.d.ts +9 -0
- package/es/Highlighter/style.js +23 -0
- package/es/Highlighter/theme.d.ts +1 -0
- package/es/Highlighter/theme.js +1661 -0
- package/es/LogViewer/index.d.ts +10 -0
- package/es/LogViewer/index.js +141 -0
- package/es/LogViewer/style.d.ts +6 -0
- package/es/LogViewer/style.js +16 -0
- package/es/LogViewer/types.d.ts +235 -0
- package/es/LogViewer/types.js +1 -0
- package/es/Mentions/constants.d.ts +6 -0
- package/es/Mentions/constants.js +28 -0
- package/es/Mentions/hooks.d.ts +20 -0
- package/es/Mentions/hooks.js +133 -0
- package/es/Mentions/index.d.ts +19 -0
- package/es/Mentions/index.js +136 -0
- package/es/Mentions/plugins/custom-text/node.d.ts +11 -0
- package/es/Mentions/plugins/custom-text/node.js +72 -0
- package/es/Mentions/plugins/mention-node/component.d.ts +6 -0
- package/es/Mentions/plugins/mention-node/component.js +64 -0
- package/es/Mentions/plugins/mention-node/index.d.ts +9 -0
- package/es/Mentions/plugins/mention-node/index.js +32 -0
- package/es/Mentions/plugins/mention-node/node.d.ts +23 -0
- package/es/Mentions/plugins/mention-node/node.js +97 -0
- package/es/Mentions/plugins/mention-node/replacement.d.ts +5 -0
- package/es/Mentions/plugins/mention-node/replacement.js +42 -0
- package/es/Mentions/plugins/mention-node/style.d.ts +8 -0
- package/es/Mentions/plugins/mention-node/style.js +47 -0
- package/es/Mentions/plugins/mention-node/utils.d.ts +4 -0
- package/es/Mentions/plugins/mention-node/utils.js +5 -0
- package/es/Mentions/plugins/mention-picker/hooks.d.ts +5 -0
- package/es/Mentions/plugins/mention-picker/hooks.js +39 -0
- package/es/Mentions/plugins/mention-picker/index.d.ts +36 -0
- package/es/Mentions/plugins/mention-picker/index.js +87 -0
- package/es/Mentions/plugins/mention-picker/menu-item.d.ts +11 -0
- package/es/Mentions/plugins/mention-picker/menu-item.js +71 -0
- package/es/Mentions/plugins/mention-picker/menu.d.ts +9 -0
- package/es/Mentions/plugins/mention-picker/menu.js +30 -0
- package/es/Mentions/plugins/mention-picker/style.d.ts +11 -0
- package/es/Mentions/plugins/mention-picker/style.js +19 -0
- package/es/Mentions/plugins/mention-picker/utils.d.ts +22 -0
- package/es/Mentions/plugins/mention-picker/utils.js +39 -0
- package/es/Mentions/plugins/on-blur-or-focus-block.d.ts +7 -0
- package/es/Mentions/plugins/on-blur-or-focus-block.js +36 -0
- package/es/Mentions/provider.d.ts +12 -0
- package/es/Mentions/provider.js +15 -0
- package/es/Mentions/style.d.ts +11 -0
- package/es/Mentions/style.js +22 -0
- package/es/Mentions/types.d.ts +17 -0
- package/es/Mentions/types.js +1 -0
- package/es/Mentions/utils.d.ts +9 -0
- package/es/Mentions/utils.js +95 -0
- package/es/Modal/index.d.ts +19 -0
- package/es/Modal/index.js +36 -0
- package/es/Modal/style.d.ts +4 -0
- package/es/Modal/style.js +17 -0
- package/es/MonacoEditor/base/controller.d.ts +17 -0
- package/es/MonacoEditor/base/controller.js +49 -0
- package/es/MonacoEditor/base/helper.d.ts +65 -0
- package/es/MonacoEditor/base/helper.js +324 -0
- package/es/MonacoEditor/base/index.d.ts +35 -0
- package/es/MonacoEditor/base/index.js +236 -0
- package/es/MonacoEditor/base/monaco.d.ts +6 -0
- package/es/MonacoEditor/base/monaco.js +64 -0
- package/es/MonacoEditor/base/style.d.ts +12 -0
- package/es/MonacoEditor/base/style.js +26 -0
- package/es/MonacoEditor/index.d.ts +2 -4
- package/es/MonacoEditor/index.js +26 -62
- package/es/MonacoEditor/style.js +3 -2
- package/es/Page/Breadcrumb/index.d.ts +9 -0
- package/es/Page/Breadcrumb/index.js +56 -0
- package/es/Page/Content/index.d.ts +4 -0
- package/es/Page/Content/index.js +59 -0
- package/es/Page/Content/style.d.ts +3 -0
- package/es/Page/Content/style.js +12 -0
- package/es/Page/Footer/index.d.ts +2 -0
- package/es/Page/Footer/index.js +6 -0
- package/es/Page/Header/Icon.d.ts +17 -0
- package/es/Page/Header/Icon.js +42 -0
- package/es/Page/Header/index.d.ts +43 -0
- package/es/Page/Header/index.js +202 -0
- package/es/Page/Header/style.d.ts +12 -0
- package/es/Page/Header/style.js +21 -0
- package/es/Page/Page.d.ts +9 -0
- package/es/Page/Page.js +49 -0
- package/es/Page/PageContext.d.ts +15 -0
- package/es/Page/PageContext.js +21 -0
- package/es/Page/Title/index.d.ts +5 -0
- package/es/Page/Title/index.js +18 -0
- package/es/Page/Title/style.d.ts +3 -0
- package/es/Page/Title/style.js +10 -0
- package/es/Page/index.d.ts +18 -0
- package/es/Page/index.js +15 -0
- package/es/Page/style.d.ts +3 -0
- package/es/Page/style.js +10 -0
- package/es/ProCard/Card/index.d.ts +6 -0
- package/es/ProCard/Card/index.js +25 -0
- package/es/ProCard/Card/style.d.ts +7 -0
- package/es/ProCard/Card/style.js +15 -0
- package/es/ProCard/Content/index.d.ts +4 -0
- package/es/ProCard/Content/index.js +24 -0
- package/es/ProCard/Content/style.d.ts +3 -0
- package/es/ProCard/Content/style.js +10 -0
- package/es/ProCard/Descriptions/index.d.ts +4 -0
- package/es/ProCard/Descriptions/index.js +28 -0
- package/es/ProCard/Descriptions/style.d.ts +3 -0
- package/es/ProCard/Descriptions/style.js +12 -0
- package/es/ProCard/Header/index.d.ts +15 -0
- package/es/ProCard/Header/index.js +86 -0
- package/es/ProCard/Header/style.d.ts +12 -0
- package/es/ProCard/Header/style.js +21 -0
- package/es/ProCard/index.d.ts +13 -0
- package/es/ProCard/index.js +8 -0
- package/es/Radio/index.d.ts +36 -0
- package/es/Radio/index.js +26 -0
- package/es/Radio/style.d.ts +4 -0
- package/es/Radio/style.js +66 -0
- package/es/SelectCard/index.d.ts +33 -0
- package/es/SelectCard/index.js +132 -0
- package/es/SelectCard/style.d.ts +10 -0
- package/es/SelectCard/style.js +42 -0
- package/es/SliderInput/index.js +2 -2
- package/es/Status/index.d.ts +7 -0
- package/es/Status/index.js +39 -0
- package/es/Status/style.d.ts +4 -0
- package/es/Status/style.js +14 -0
- package/es/Table/collapse/index.d.ts +8 -0
- package/es/Table/collapse/index.js +39 -0
- package/es/Table/collapse/style.d.ts +3 -0
- package/es/Table/collapse/style.js +11 -0
- package/es/Table/index.d.ts +20 -0
- package/es/Table/index.js +56 -0
- package/es/Typography/index.d.ts +32 -0
- package/es/Typography/index.js +77 -0
- package/es/WaveformIcon/index.d.ts +9 -0
- package/es/WaveformIcon/index.js +51 -0
- package/es/hooks/languageMap.d.ts +1 -0
- package/es/hooks/languageMap.js +1 -0
- package/es/hooks/useHighlight.d.ts +5 -0
- package/es/hooks/useHighlight.js +78 -0
- package/es/index.d.ts +38 -1
- package/es/index.js +52 -1
- package/es/notification/index.d.ts +24 -0
- package/es/notification/index.js +237 -0
- package/es/notification/style.d.ts +2 -0
- package/es/notification/style.js +28 -0
- package/es/styles/colors/colors.d.ts +39 -0
- package/es/styles/colors/colors.js +86 -0
- package/es/styles/colors/generateColorPalette.d.ts +11 -0
- package/es/styles/colors/generateColorPalette.js +31 -0
- package/es/styles/colors/neutralColors.d.ts +9 -0
- package/es/styles/colors/neutralColors.js +32 -0
- package/es/styles/index.d.ts +4 -0
- package/es/styles/index.js +4 -0
- package/es/useSpeechSynthes/const/polyfill.d.ts +3 -0
- package/es/useSpeechSynthes/const/polyfill.js +21 -0
- package/es/useSpeechSynthes/index.d.ts +13 -0
- package/es/useSpeechSynthes/index.js +69 -0
- package/es/utils/constants.d.ts +1 -0
- package/es/utils/constants.js +1 -0
- package/es/utils/tools.d.ts +1 -0
- package/es/utils/tools.js +1 -0
- package/package.json +30 -9
- package/umd/index.min.js +1 -1
- 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.
|
|
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
|
-
"@
|
|
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
|
-
"
|
|
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.
|
|
101
|
-
"antd": "^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
|
-
"
|
|
106
|
-
"dumi
|
|
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
|
-
"
|
|
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"
|