@dtjoy/dt-design 1.0.1 → 1.0.3
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/esm/_util/gapSize.d.ts +3 -0
- package/esm/_util/gapSize.js +10 -0
- package/esm/_util/hooks/index.d.ts +1 -0
- package/esm/_util/hooks/index.js +1 -0
- package/esm/_util/hooks/useOrientation.d.ts +2 -0
- package/esm/_util/hooks/useOrientation.js +19 -0
- package/esm/_util/isNonNullable.d.ts +2 -0
- package/esm/_util/isNonNullable.js +4 -0
- package/esm/_util/type.d.ts +2 -1
- package/esm/blockHeader/index.js +12 -11
- package/esm/blockHeader/style/index.d.ts +1 -1
- package/esm/blockHeader/style/index.js +1 -1
- package/esm/blockHeader/style/index.less +9 -8
- package/esm/button/style/index.less +60 -46
- package/esm/button/style/mixin.less +47 -0
- package/esm/collapsible/index.d.ts +97 -0
- package/esm/collapsible/index.js +234 -0
- package/esm/collapsible/style/index.d.ts +1 -0
- package/esm/collapsible/style/index.js +1 -0
- package/esm/collapsible/style/index.less +24 -0
- package/esm/collapsibleActionItems/index.d.ts +24 -0
- package/esm/collapsibleActionItems/index.js +74 -0
- package/esm/collapsibleActionItems/style/index.d.ts +2 -0
- package/esm/collapsibleActionItems/style/index.js +2 -0
- package/esm/collapsibleActionItems/style/index.less +7 -0
- package/esm/flex/index.d.ts +7 -0
- package/esm/flex/index.js +62 -0
- package/esm/flex/interface.d.ts +16 -0
- package/esm/flex/interface.js +1 -0
- package/esm/flex/style/index.d.ts +2 -0
- package/esm/flex/style/index.js +2 -0
- package/esm/flex/style/index.less +77 -0
- package/esm/flex/utils.d.ts +7 -0
- package/esm/flex/utils.js +33 -0
- package/esm/index.d.ts +10 -1
- package/esm/index.js +8 -6
- package/esm/overflowList/index.d.ts +39 -0
- package/esm/overflowList/index.js +165 -0
- package/esm/overflowList/style/index.d.ts +2 -0
- package/esm/overflowList/style/index.js +2 -0
- package/esm/overflowList/style/index.less +9 -0
- package/esm/resize/index.d.ts +8 -0
- package/esm/resize/index.js +29 -0
- package/esm/resizeObserver/index.d.ts +45 -0
- package/esm/resizeObserver/index.js +175 -0
- package/esm/splitter/Panel.d.ts +7 -0
- package/esm/splitter/Panel.js +38 -0
- package/esm/splitter/SplitBar.d.ts +24 -0
- package/esm/splitter/SplitBar.js +185 -0
- package/esm/splitter/Splitter.d.ts +5 -0
- package/esm/splitter/Splitter.js +197 -0
- package/esm/splitter/hooks/sizeUtil.d.ts +3 -0
- package/esm/splitter/hooks/sizeUtil.js +63 -0
- package/esm/splitter/hooks/useItems.d.ts +14 -0
- package/esm/splitter/hooks/useItems.js +44 -0
- package/esm/splitter/hooks/useResizable.d.ts +10 -0
- package/esm/splitter/hooks/useResizable.js +73 -0
- package/esm/splitter/hooks/useResize.d.ts +6 -0
- package/esm/splitter/hooks/useResize.js +158 -0
- package/esm/splitter/hooks/useSizes.d.ts +4 -0
- package/esm/splitter/hooks/useSizes.js +80 -0
- package/esm/splitter/index.d.ts +8 -0
- package/esm/splitter/index.js +5 -0
- package/esm/splitter/interface.d.ts +68 -0
- package/esm/splitter/interface.js +1 -0
- package/esm/splitter/style/index.d.ts +2 -0
- package/esm/splitter/style/index.js +2 -0
- package/esm/splitter/style/index.less +312 -0
- package/esm/statusTag/index.d.ts +28 -0
- package/esm/statusTag/index.js +122 -0
- package/esm/statusTag/style/index.d.ts +2 -0
- package/esm/statusTag/style/index.js +2 -0
- package/esm/statusTag/style/index.less +70 -0
- package/esm/statusTag/style/mixin.less +39 -0
- package/esm/style/mixins/index.less +0 -0
- package/esm/style/themes/index.less +2 -1
- package/esm/style/themes/variable.less +1 -0
- package/lib/_util/gapSize.d.ts +3 -0
- package/lib/_util/gapSize.js +17 -0
- package/lib/_util/hooks/index.d.ts +1 -0
- package/lib/_util/hooks/index.js +16 -0
- package/lib/_util/hooks/useOrientation.d.ts +2 -0
- package/lib/_util/hooks/useOrientation.js +26 -0
- package/lib/_util/isNonNullable.d.ts +2 -0
- package/lib/_util/isNonNullable.js +10 -0
- package/lib/_util/type.d.ts +2 -1
- package/lib/blockHeader/index.js +12 -12
- package/lib/blockHeader/style/index.d.ts +1 -1
- package/lib/blockHeader/style/index.js +1 -1
- package/lib/blockHeader/style/index.less +9 -8
- package/lib/button/style/index.less +60 -46
- package/lib/button/style/mixin.less +47 -0
- package/lib/collapsible/index.d.ts +97 -0
- package/lib/collapsible/index.js +199 -0
- package/lib/collapsible/style/index.d.ts +1 -0
- package/lib/collapsible/style/index.js +3 -0
- package/lib/collapsible/style/index.less +24 -0
- package/lib/collapsibleActionItems/index.d.ts +24 -0
- package/lib/collapsibleActionItems/index.js +68 -0
- package/lib/collapsibleActionItems/style/index.d.ts +2 -0
- package/lib/collapsibleActionItems/style/index.js +4 -0
- package/lib/collapsibleActionItems/style/index.less +7 -0
- package/lib/flex/index.d.ts +7 -0
- package/lib/flex/index.js +60 -0
- package/lib/flex/interface.d.ts +16 -0
- package/lib/flex/interface.js +5 -0
- package/lib/flex/style/index.d.ts +2 -0
- package/lib/flex/style/index.js +4 -0
- package/lib/flex/style/index.less +77 -0
- package/lib/flex/utils.d.ts +7 -0
- package/lib/flex/utils.js +40 -0
- package/lib/index.d.ts +10 -1
- package/lib/index.js +73 -1
- package/lib/overflowList/index.d.ts +39 -0
- package/lib/overflowList/index.js +143 -0
- package/lib/overflowList/style/index.d.ts +2 -0
- package/lib/overflowList/style/index.js +4 -0
- package/lib/overflowList/style/index.less +9 -0
- package/lib/resize/index.d.ts +8 -0
- package/lib/resize/index.js +38 -0
- package/lib/resizeObserver/index.d.ts +45 -0
- package/lib/resizeObserver/index.js +136 -0
- package/lib/splitter/Panel.d.ts +7 -0
- package/lib/splitter/Panel.js +44 -0
- package/lib/splitter/SplitBar.d.ts +24 -0
- package/lib/splitter/SplitBar.js +179 -0
- package/lib/splitter/Splitter.d.ts +5 -0
- package/lib/splitter/Splitter.js +186 -0
- package/lib/splitter/hooks/sizeUtil.d.ts +3 -0
- package/lib/splitter/hooks/sizeUtil.js +56 -0
- package/lib/splitter/hooks/useItems.d.ts +14 -0
- package/lib/splitter/hooks/useItems.js +46 -0
- package/lib/splitter/hooks/useResizable.d.ts +10 -0
- package/lib/splitter/hooks/useResizable.js +83 -0
- package/lib/splitter/hooks/useResize.d.ts +6 -0
- package/lib/splitter/hooks/useResize.js +142 -0
- package/lib/splitter/hooks/useSizes.d.ts +4 -0
- package/lib/splitter/hooks/useSizes.js +62 -0
- package/lib/splitter/index.d.ts +8 -0
- package/lib/splitter/index.js +12 -0
- package/lib/splitter/interface.d.ts +68 -0
- package/lib/splitter/interface.js +5 -0
- package/lib/splitter/style/index.d.ts +2 -0
- package/lib/splitter/style/index.js +4 -0
- package/lib/splitter/style/index.less +312 -0
- package/lib/statusTag/index.d.ts +28 -0
- package/lib/statusTag/index.js +125 -0
- package/lib/statusTag/style/index.d.ts +2 -0
- package/lib/statusTag/style/index.js +4 -0
- package/lib/statusTag/style/index.less +70 -0
- package/lib/statusTag/style/mixin.less +39 -0
- package/lib/style/mixins/index.less +0 -0
- package/lib/style/themes/index.less +2 -1
- package/lib/style/themes/variable.less +1 -0
- package/package.json +11 -19
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.STATUS_TAG_TYPES = exports.PRESET_COLOR_TYPES = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _icons = require("@ant-design/icons");
|
|
9
|
+
var _antd = require("antd");
|
|
10
|
+
var _configProvider = require("antd/es/config-provider");
|
|
11
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
12
|
+
require("./style");
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
17
|
+
const PRESET_COLOR_TYPES = exports.PRESET_COLOR_TYPES = Object.freeze(['blue', 'yellow', 'green', 'gray', 'red', 'purple', 'cyan', 'pink']);
|
|
18
|
+
const STATUS_TAG_TYPES = exports.STATUS_TAG_TYPES = Object.freeze(['default', 'outline', 'fill']);
|
|
19
|
+
const DEFAULT_OPACITY = 0.15;
|
|
20
|
+
/**
|
|
21
|
+
* 校验是否为预设颜色
|
|
22
|
+
* @param color 待校验颜色值
|
|
23
|
+
*/
|
|
24
|
+
function isPresetColor(color) {
|
|
25
|
+
if (!color || typeof color !== 'string') return false;
|
|
26
|
+
return PRESET_COLOR_TYPES.includes(color);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* 计算颜色的透明版本
|
|
31
|
+
* @param color 原始颜色(支持hex/rgb/rgba)
|
|
32
|
+
* @param opacity 透明度(默认0.15)
|
|
33
|
+
*/
|
|
34
|
+
function calculateTransparentColor(color, opacity = DEFAULT_OPACITY) {
|
|
35
|
+
if (!color) return 'rgba(0, 0, 0, 0.15)';
|
|
36
|
+
if (color.startsWith('rgb')) {
|
|
37
|
+
if (color.startsWith('rgba')) return color.replace(/,\s*[\d.]+(?=\))/, `,${opacity}`);
|
|
38
|
+
return `${color.slice(0, -1)},${opacity})`;
|
|
39
|
+
}
|
|
40
|
+
let hex = color.trim().replace(/^#/, '');
|
|
41
|
+
if (hex.length === 3) {
|
|
42
|
+
hex = hex.split('').map(char => char + char).join('');
|
|
43
|
+
}
|
|
44
|
+
if (!/^[0-9A-Fa-f]{6}$/.test(hex)) return 'rgba(0, 0, 0, 0.15)';
|
|
45
|
+
const r = parseInt(hex.substring(0, 2), 16);
|
|
46
|
+
const g = parseInt(hex.substring(2, 4), 16);
|
|
47
|
+
const b = parseInt(hex.substring(4, 6), 16);
|
|
48
|
+
return `rgba(${r}, ${g}, ${b}, ${opacity})`;
|
|
49
|
+
}
|
|
50
|
+
const StatusTag = /*#__PURE__*/_react.default.memo(props => {
|
|
51
|
+
const {
|
|
52
|
+
className,
|
|
53
|
+
type = 'default',
|
|
54
|
+
icon,
|
|
55
|
+
color = 'green',
|
|
56
|
+
loading = false,
|
|
57
|
+
rounded = false,
|
|
58
|
+
background,
|
|
59
|
+
style,
|
|
60
|
+
children,
|
|
61
|
+
...restProps
|
|
62
|
+
} = props;
|
|
63
|
+
const prefixCls = (0, _configProvider.globalConfig)().getPrefixCls('status-tag');
|
|
64
|
+
const showDefaultIcon = (0, _react.useMemo)(() => icon === undefined, [icon]);
|
|
65
|
+
const containerClasses = (0, _react.useMemo)(() => (0, _classnames.default)(prefixCls, className, {
|
|
66
|
+
[`${prefixCls}--border`]: type === 'outline',
|
|
67
|
+
[`${prefixCls}--fill`]: type === 'fill',
|
|
68
|
+
[`${prefixCls}--rounded`]: rounded,
|
|
69
|
+
[`${prefixCls}__${color}--fill`]: type === 'fill' && isPresetColor(color)
|
|
70
|
+
}), [className, type, color, rounded, prefixCls]);
|
|
71
|
+
const customColorStyle = (0, _react.useMemo)(() => {
|
|
72
|
+
if (type !== 'fill' || isPresetColor(color)) return {};
|
|
73
|
+
return {
|
|
74
|
+
color,
|
|
75
|
+
background: background || calculateTransparentColor(color)
|
|
76
|
+
};
|
|
77
|
+
}, [type, color, background]);
|
|
78
|
+
const iconStyleConfig = (0, _react.useMemo)(() => {
|
|
79
|
+
if (isPresetColor(color)) {
|
|
80
|
+
return {
|
|
81
|
+
className: (0, _classnames.default)('anticon', {
|
|
82
|
+
[`${prefixCls}__${color}--icon`]: true,
|
|
83
|
+
[`${prefixCls}__icon--default`]: !icon,
|
|
84
|
+
[`${prefixCls}__${color}--iconBg`]: !icon
|
|
85
|
+
}),
|
|
86
|
+
style: {}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
className: (0, _classnames.default)('anticon', {
|
|
91
|
+
[`${prefixCls}__icon--default`]: !icon
|
|
92
|
+
}),
|
|
93
|
+
style: {
|
|
94
|
+
color: icon ? color : undefined,
|
|
95
|
+
background: !icon ? color : undefined
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
}, [color, icon, prefixCls]);
|
|
99
|
+
const loadingIndicator = (0, _react.useMemo)(() => /*#__PURE__*/_react.default.createElement(_icons.LoadingOutlined, {
|
|
100
|
+
className: `${prefixCls}__icon ${prefixCls}__icon--loading`
|
|
101
|
+
}), [prefixCls]);
|
|
102
|
+
return /*#__PURE__*/_react.default.createElement("div", _extends({}, restProps, {
|
|
103
|
+
className: containerClasses,
|
|
104
|
+
style: {
|
|
105
|
+
...customColorStyle,
|
|
106
|
+
...style
|
|
107
|
+
},
|
|
108
|
+
"aria-busy": loading
|
|
109
|
+
}), loading ? /*#__PURE__*/_react.default.createElement(_antd.Spin, {
|
|
110
|
+
spinning: true,
|
|
111
|
+
indicator: loadingIndicator,
|
|
112
|
+
size: "small"
|
|
113
|
+
}) : (icon || showDefaultIcon) && /*#__PURE__*/_react.default.createElement("div", {
|
|
114
|
+
className: `${prefixCls}__icon`
|
|
115
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
116
|
+
className: iconStyleConfig.className,
|
|
117
|
+
style: iconStyleConfig.style
|
|
118
|
+
}, icon ?? null)), children && /*#__PURE__*/_react.default.createElement("span", {
|
|
119
|
+
className: `${prefixCls}__text`
|
|
120
|
+
}, children));
|
|
121
|
+
});
|
|
122
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
123
|
+
StatusTag.displayName = 'StatusTag';
|
|
124
|
+
}
|
|
125
|
+
var _default = exports.default = StatusTag;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
@import '../../style/themes/index.less';
|
|
2
|
+
@import './mixin.less';
|
|
3
|
+
@import './mixin.less';
|
|
4
|
+
|
|
5
|
+
@status-tag-prefix-cls: ~'@{ant-prefix}-status-tag';
|
|
6
|
+
|
|
7
|
+
@keyframes spin {
|
|
8
|
+
from {
|
|
9
|
+
transform: rotate(0deg);
|
|
10
|
+
}
|
|
11
|
+
to {
|
|
12
|
+
transform: rotate(360deg);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// 主选择器
|
|
17
|
+
.@{status-tag-prefix-cls} {
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
width: fit-content;
|
|
21
|
+
height: 24px;
|
|
22
|
+
font-size: 12px;
|
|
23
|
+
color: #3d446e;
|
|
24
|
+
|
|
25
|
+
.ant-spin {
|
|
26
|
+
font-size: 14px; // 修复 antd 字体居中问题
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&--border {
|
|
30
|
+
padding: 2px 12px;
|
|
31
|
+
border: 1px solid #d8dae2;
|
|
32
|
+
background-color: #fff;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&--fill {
|
|
36
|
+
padding: 2px 12px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&--rounded {
|
|
40
|
+
border-radius: 14px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__icon {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
font-size: 16px;
|
|
47
|
+
margin-right: 8px;
|
|
48
|
+
|
|
49
|
+
&--default {
|
|
50
|
+
display: inline-block;
|
|
51
|
+
width: 6px;
|
|
52
|
+
height: 6px;
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&--loading {
|
|
57
|
+
animation: spin 1s linear infinite;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&__text {
|
|
62
|
+
font-size: 12px;
|
|
63
|
+
font-weight: 400;
|
|
64
|
+
line-height: 22px;
|
|
65
|
+
white-space: nowrap;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// 调用颜色映射 Mixin,生成所有颜色的样式
|
|
69
|
+
.color-map();
|
|
70
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.status-color(@color, @bg) {
|
|
2
|
+
&--icon {
|
|
3
|
+
color: @color;
|
|
4
|
+
}
|
|
5
|
+
&--fill {
|
|
6
|
+
color: @color;
|
|
7
|
+
background-color: @bg;
|
|
8
|
+
}
|
|
9
|
+
&--iconBg {
|
|
10
|
+
background: @color;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.color-map() {
|
|
15
|
+
&__yellow {
|
|
16
|
+
.status-color(#FBB310, #FFF4D9);
|
|
17
|
+
}
|
|
18
|
+
&__blue {
|
|
19
|
+
.status-color(#1d78ff, #E8F1FF);
|
|
20
|
+
}
|
|
21
|
+
&__green {
|
|
22
|
+
.status-color(#11d782, #E7FBF7);
|
|
23
|
+
}
|
|
24
|
+
&__gray {
|
|
25
|
+
.status-color(#B1B4C5, #F5F5F8);
|
|
26
|
+
}
|
|
27
|
+
&__red {
|
|
28
|
+
.status-color(#F96C5B, #FDE9E7);
|
|
29
|
+
}
|
|
30
|
+
&__purple {
|
|
31
|
+
.status-color(#AC9DFF, #EAE6FF);
|
|
32
|
+
}
|
|
33
|
+
&__cyan {
|
|
34
|
+
.status-color(#2cccdf, #E7F8FA);
|
|
35
|
+
}
|
|
36
|
+
&__pink {
|
|
37
|
+
.status-color(#FF82AE, #FFE6EF);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
File without changes
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
@import
|
|
1
|
+
@import '~antd/es/style/themes/default.less';
|
|
2
|
+
@import './variable.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@primary-color-disabled: #f3f3f3;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dtjoy/dt-design",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "react-component",
|
|
5
5
|
"repository": "https://github.com/ZhaoFxxkSky/dt-design",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"esm"
|
|
36
36
|
],
|
|
37
37
|
"sideEffects": [
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
38
|
+
"esm/**/style/*",
|
|
39
|
+
"lib/**/style/*",
|
|
40
|
+
"**/style/*"
|
|
41
41
|
],
|
|
42
42
|
"keywords": [
|
|
43
43
|
"react",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"*.{ts,tsx}": [
|
|
66
66
|
"eslint --fix",
|
|
67
67
|
"prettier --parser=typescript --write"
|
|
68
|
+
|
|
68
69
|
]
|
|
69
70
|
},
|
|
70
71
|
"publishConfig": {
|
|
@@ -72,7 +73,8 @@
|
|
|
72
73
|
},
|
|
73
74
|
"peerDependencies": {
|
|
74
75
|
"react": ">=16.9.0",
|
|
75
|
-
"react-dom": ">=16.9.0"
|
|
76
|
+
"react-dom": ">=16.9.0",
|
|
77
|
+
"antd": "^4.x"
|
|
76
78
|
},
|
|
77
79
|
"devDependencies": {
|
|
78
80
|
"@commitlint/cli": "^17.1.2",
|
|
@@ -105,7 +107,6 @@
|
|
|
105
107
|
"lint-staged": "^13.0.3",
|
|
106
108
|
"prettier": "^2.7.1",
|
|
107
109
|
"rc-motion": "2.6.2",
|
|
108
|
-
"rc-util": "^5.44.4",
|
|
109
110
|
"react": "^18.0.0",
|
|
110
111
|
"react-dom": "^18.0.0",
|
|
111
112
|
"react-test-renderer": "^18.2.0",
|
|
@@ -116,26 +117,17 @@
|
|
|
116
117
|
"typescript": "~4.5.2"
|
|
117
118
|
},
|
|
118
119
|
"dependencies": {
|
|
120
|
+
"@ant-design/icons": "^4.8.3",
|
|
119
121
|
"@dtinsight/dt-utils": "^1.3.1",
|
|
120
|
-
"
|
|
121
|
-
"@handsontable/react": "2.1.0",
|
|
122
|
-
"antd": "4.24.16",
|
|
122
|
+
"rc-util": "^5.44.4",
|
|
123
123
|
"classnames": "^2.2.6",
|
|
124
|
-
"handsontable": "6.2.2",
|
|
125
|
-
"highlight.js": "^10.5.0",
|
|
126
124
|
"immer": "~10.1.1",
|
|
127
125
|
"lodash-es": "^4.17.21",
|
|
128
126
|
"rc-drawer": "~5.1.0",
|
|
129
127
|
"rc-resize-observer": "^1.4.3",
|
|
130
|
-
"rc-virtual-list": "^3.4.13"
|
|
131
|
-
"react-draggable": "~4.4.6",
|
|
132
|
-
"react-markdown": "~8.0.6",
|
|
133
|
-
"react-resizable": "^3.0.5",
|
|
134
|
-
"react-syntax-highlighter": "~15.5.0",
|
|
135
|
-
"remark-gfm": "~3.0.1",
|
|
136
|
-
"shortid": "^2.2.16",
|
|
137
|
-
"showdown": "^1.9.0"
|
|
128
|
+
"rc-virtual-list": "^3.4.13"
|
|
138
129
|
},
|
|
130
|
+
|
|
139
131
|
"config": {
|
|
140
132
|
"commitizen": {
|
|
141
133
|
"path": "./node_modules/cz-conventional-changelog"
|