@lemon-fe/components 0.0.1 → 0.0.2

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { BaseTableProps as Props } from './typings';
3
2
  declare function BaseTable<T extends Record<string, any>>(props: Props<T>): JSX.Element;
4
3
  declare namespace BaseTable {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Moment } from 'moment';
3
2
  import type { RangePickerProps } from 'antd/lib/date-picker';
4
3
  declare type Value = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormItemProps } from 'antd';
3
2
  import { EditableTableProps } from './typings';
4
3
  declare type Props<T> = Pick<FormItemProps, 'name' | 'label' | 'labelCol' | 'wrapperCol' | 'className' | 'required' | 'style' | 'colon'> & EditableTableProps<T>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ComponentOption, FilterProps } from './typings';
3
2
  declare function Filter<T extends Record<string, any> = Record<string, any>>(props: FilterProps<T>): JSX.Element;
4
3
  declare namespace Filter {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { MenuItem } from '../../typings';
3
2
  interface Props {
4
3
  data: MenuItem[];
@@ -12,10 +12,33 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
12
12
 
13
13
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
14
 
15
- import React, { useMemo, useRef, useState } from 'react';
15
+ import React, { useEffect, useMemo, useRef, useState } from 'react';
16
+ import { createPortal } from 'react-dom';
16
17
  import classNames from 'classnames';
17
18
  import { useDebounce } from '@lemon-fe/hooks';
18
19
  import { PREFIX_CLS as prefixCls } from '../../../constants';
20
+ var drawerIcon = /*#__PURE__*/React.createElement("svg", {
21
+ width: "20",
22
+ height: "20",
23
+ xmlns: "http://www.w3.org/2000/svg"
24
+ }, /*#__PURE__*/React.createElement("g", {
25
+ fill: "none",
26
+ fillRule: "evenodd"
27
+ }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
28
+ fill: "currentColor"
29
+ }, /*#__PURE__*/React.createElement("path", {
30
+ d: "M4.75,5 L15.25,5 C15.6642136,5 16,5.33578644 16,5.75 C16,6.16421356 15.6642136,6.5 15.25,6.5 L4.75,6.5 C4.33578644,6.5 4,6.16421356 4,5.75 C4,5.33578644 4.33578644,5 4.75,5 Z",
31
+ opacity: ".7",
32
+ transform: "translate(-274.000000, -586.000000) translate(274.000000, 586.000000)"
33
+ }), /*#__PURE__*/React.createElement("path", {
34
+ d: "M4.75,9 L15.25,9 C15.6642136,9 16,9.33578644 16,9.75 C16,10.1642136 15.6642136,10.5 15.25,10.5 L4.75,10.5 C4.33578644,10.5 4,10.1642136 4,9.75 C4,9.33578644 4.33578644,9 4.75,9 Z",
35
+ opacity: ".7",
36
+ transform: "translate(-274.000000, -586.000000) translate(274.000000, 586.000000)"
37
+ }), /*#__PURE__*/React.createElement("path", {
38
+ d: "M4.75,13 L15.25,13 C15.6642136,13 16,13.3357864 16,13.75 C16,14.1642136 15.6642136,14.5 15.25,14.5 L4.75,14.5 C4.33578644,14.5 4,14.1642136 4,13.75 C4,13.3357864 4.33578644,13 4.75,13 Z",
39
+ opacity: ".7",
40
+ transform: "translate(-274.000000, -586.000000) translate(274.000000, 586.000000)"
41
+ })))));
19
42
  export default function Menu(props) {
20
43
  var menus = props.data,
21
44
  onClick = props.onClick;
@@ -27,16 +50,22 @@ export default function Menu(props) {
27
50
  setPopover = _useState2[1];
28
51
 
29
52
  var popup = useRef(null);
53
+ var drawer = useRef(null);
30
54
 
31
55
  var _useState3 = useState(false),
32
56
  _useState4 = _slicedToArray(_useState3, 2),
33
57
  collapsed = _useState4[0],
34
58
  setCollapsed = _useState4[1];
35
59
 
36
- var _useState5 = useState(0),
60
+ var _useState5 = useState(false),
37
61
  _useState6 = _slicedToArray(_useState5, 2),
38
- top = _useState6[0],
39
- setTop = _useState6[1];
62
+ visible = _useState6[0],
63
+ setVisible = _useState6[1];
64
+
65
+ var _useState7 = useState(0),
66
+ _useState8 = _slicedToArray(_useState7, 2),
67
+ top = _useState8[0],
68
+ setTop = _useState8[1];
40
69
 
41
70
  var activeMenu = useMemo(function () {
42
71
  var check = function check(path) {
@@ -54,7 +83,10 @@ export default function Menu(props) {
54
83
  topPath = _menus$i.path;
55
84
 
56
85
  if (check(topPath)) {
57
- return i;
86
+ return {
87
+ path: [i],
88
+ key: topPath
89
+ };
58
90
  }
59
91
 
60
92
  for (var j = 0; j < subMenus.length; j += 1) {
@@ -64,12 +96,18 @@ export default function Menu(props) {
64
96
  items = _subMenus$j$children === void 0 ? [] : _subMenus$j$children;
65
97
 
66
98
  if (check(subPath)) {
67
- return i;
99
+ return {
100
+ path: [i, j],
101
+ key: subPath
102
+ };
68
103
  }
69
104
 
70
105
  for (var k = 0; k < items.length; k += 1) {
71
106
  if (check(items[k].path)) {
72
- return i;
107
+ return {
108
+ path: [i, j, k],
109
+ key: items[k].path
110
+ };
73
111
  }
74
112
  }
75
113
  }
@@ -88,13 +126,6 @@ export default function Menu(props) {
88
126
  }
89
127
  };
90
128
 
91
- var handleClick = function handleClick(item) {
92
- if (item.path) {
93
- setPopover(null);
94
- onClick(item);
95
- }
96
- };
97
-
98
129
  var handleMouseEnter = useDebounce(openMenu, 200);
99
130
 
100
131
  var toggleMenu = function toggleMenu() {
@@ -120,16 +151,119 @@ export default function Menu(props) {
120
151
  }
121
152
  };
122
153
 
154
+ useEffect(function () {
155
+ if (!visible) {
156
+ return;
157
+ }
158
+
159
+ var target = drawer.current;
160
+
161
+ if (target !== null) {
162
+ var handler = function handler(e) {
163
+ if (!target.contains(e.target)) {
164
+ closeDrawer();
165
+ }
166
+ };
167
+
168
+ requestAnimationFrame(function () {
169
+ window.addEventListener('click', handler);
170
+ });
171
+ return function () {
172
+ window.removeEventListener('click', handler);
173
+ };
174
+ }
175
+ }, [visible]);
176
+
177
+ var openDrawer = function openDrawer() {
178
+ setVisible(true);
179
+ setTimeout(function () {
180
+ var _drawer$current;
181
+
182
+ (_drawer$current = drawer.current) === null || _drawer$current === void 0 ? void 0 : _drawer$current.classList.add('animated');
183
+ }, 16);
184
+ };
185
+
186
+ var closeDrawer = function closeDrawer() {
187
+ if (drawer.current) {
188
+ drawer.current.classList.remove('animated');
189
+
190
+ var handler = function handler() {
191
+ var _drawer$current2;
192
+
193
+ (_drawer$current2 = drawer.current) === null || _drawer$current2 === void 0 ? void 0 : _drawer$current2.removeEventListener('transitionend', handler);
194
+ setVisible(false);
195
+ };
196
+
197
+ drawer.current.addEventListener('transitionend', handler);
198
+ }
199
+ };
200
+
201
+ var handleClick = function handleClick(item) {
202
+ if (item.path) {
203
+ onClick(item);
204
+ closeDrawer();
205
+ closeMenu();
206
+ }
207
+ };
208
+
123
209
  var renderItem = function renderItem(item, index) {
124
210
  return /*#__PURE__*/React.createElement("div", {
125
211
  key: index,
126
- className: "".concat(prefixCls, "-menu-item"),
212
+ className: classNames("".concat(prefixCls, "-menu-item"), _defineProperty({}, "".concat(prefixCls, "-menu-active"), activeMenu !== undefined && activeMenu.key === item.path)),
127
213
  onClick: function onClick() {
128
214
  return handleClick(item);
129
215
  }
130
216
  }, item.name);
131
217
  };
132
218
 
219
+ var renderDrawerItems = function renderDrawerItems() {
220
+ var cols = [[], [], []];
221
+ menus.forEach(function (item, index) {
222
+ cols[index % 3].push(item);
223
+ });
224
+ return cols.map(function (items) {
225
+ return /*#__PURE__*/React.createElement("div", {
226
+ className: "".concat(prefixCls, "-menu-drawer-col")
227
+ }, items.map(function (item) {
228
+ var list = [/*#__PURE__*/React.createElement("div", {
229
+ className: "".concat(prefixCls, "-menu-drawer-1"),
230
+ key: item.name,
231
+ onClick: function onClick() {
232
+ return handleClick(item);
233
+ }
234
+ }, item.name)];
235
+
236
+ if (item.children) {
237
+ item.children.forEach(function (subItem) {
238
+ list.push( /*#__PURE__*/React.createElement("div", {
239
+ className: "".concat(prefixCls, "-menu-drawer-2"),
240
+ key: subItem.name,
241
+ onClick: function onClick() {
242
+ return handleClick(subItem);
243
+ }
244
+ }, subItem.name));
245
+
246
+ if (subItem.children) {
247
+ subItem.children.forEach(function (child) {
248
+ list.push( /*#__PURE__*/React.createElement("div", {
249
+ className: classNames("".concat(prefixCls, "-menu-drawer-3"), _defineProperty({}, "".concat(prefixCls, "-menu-active"), activeMenu !== undefined && activeMenu.key === child.path)),
250
+ key: child.name,
251
+ onClick: function onClick() {
252
+ return handleClick(child);
253
+ }
254
+ }, child.name));
255
+ });
256
+ }
257
+ });
258
+ }
259
+
260
+ return /*#__PURE__*/React.createElement("div", {
261
+ className: "".concat(prefixCls, "-menu-drawer-block")
262
+ }, /*#__PURE__*/React.createElement("div", null, list));
263
+ }));
264
+ });
265
+ };
266
+
133
267
  return /*#__PURE__*/React.createElement("div", {
134
268
  className: classNames("".concat(prefixCls, "-menu"), _defineProperty({}, "".concat(prefixCls, "-menu-collapsed"), collapsed))
135
269
  }, /*#__PURE__*/React.createElement("div", {
@@ -171,7 +305,7 @@ export default function Menu(props) {
171
305
  }), /*#__PURE__*/React.createElement("path", {
172
306
  d: "M15,10 C15,10.4142136 14.6642136,10.75 14.25,10.75 L5,10.75 L5,10.75 L5,9.25 L14.25,9.25 C14.6642136,9.25 15,9.58578644 15,10 Z",
173
307
  fill: "currentColor",
174
- "fill-rule": "nonzero",
308
+ fillRule: "nonzero",
175
309
  transform: "translate(-274.000000, -57.000000) translate(284.000000, 67.000000) scale(-1, 1) translate(-284.000000, -67.000000) translate(274.000000, 57.000000)"
176
310
  }), /*#__PURE__*/React.createElement("path", {
177
311
  d: "M11.7426212,6.79290128 L5.32842371,6.79290128 L5.32842371,13.2070987",
@@ -182,11 +316,11 @@ export default function Menu(props) {
182
316
  strokeDasharray: "0,0",
183
317
  transform: "translate(-274.000000, -57.000000) translate(284.000000, 67.000000) scale(-1, 1) translate(-284.000000, -67.000000) translate(274.000000, 57.000000) translate(8.535522, 10.000000) rotate(-45.000000) translate(-8.535522, -10.000000)"
184
318
  })))))), menus.map(function (item, index) {
185
- var _classNames2;
319
+ var _classNames4;
186
320
 
187
321
  return /*#__PURE__*/React.createElement("div", {
188
322
  key: index,
189
- className: classNames("".concat(prefixCls, "-menu-top-item"), (_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefixCls, "-menu-top-item-active"), index === activeMenu), _defineProperty(_classNames2, "".concat(prefixCls, "-menu-top-item-popover-active"), item === popover), _classNames2)),
323
+ className: classNames("".concat(prefixCls, "-menu-top-item"), (_classNames4 = {}, _defineProperty(_classNames4, "".concat(prefixCls, "-menu-top-item-active"), activeMenu !== undefined && activeMenu.path[0] === index), _defineProperty(_classNames4, "".concat(prefixCls, "-menu-top-item-popover-active"), item === popover), _classNames4)),
190
324
  onClick: function onClick() {
191
325
  return handleClick(item);
192
326
  },
@@ -199,5 +333,50 @@ export default function Menu(props) {
199
333
  }), /*#__PURE__*/React.createElement("div", {
200
334
  className: "".concat(prefixCls, "-menu-title")
201
335
  }, item.name));
202
- })));
336
+ }), /*#__PURE__*/React.createElement("div", {
337
+ className: "".concat(prefixCls, "-menu-gutter")
338
+ }), collapsed ? /*#__PURE__*/React.createElement("div", {
339
+ className: "".concat(prefixCls, "-menu-top-item"),
340
+ onClick: openDrawer
341
+ }, drawerIcon) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
342
+ className: "".concat(prefixCls, "-menu-label")
343
+ }, "\u6CA1\u6709\u627E\u5230\u60F3\u8981\u7684\u529F\u80FD?"), /*#__PURE__*/React.createElement("div", {
344
+ className: "".concat(prefixCls, "-menu-more"),
345
+ onClick: openDrawer
346
+ }, drawerIcon, /*#__PURE__*/React.createElement("span", null, "\u67E5\u770B\u5168\u90E8")))), visible && /*#__PURE__*/createPortal( /*#__PURE__*/React.createElement("div", {
347
+ className: "".concat(prefixCls, "-menu-drawer"),
348
+ ref: drawer
349
+ }, /*#__PURE__*/React.createElement("div", {
350
+ className: "".concat(prefixCls, "-menu-drawer-header")
351
+ }, /*#__PURE__*/React.createElement("div", null, "\u67E5\u770B\u5168\u90E8"), /*#__PURE__*/React.createElement("div", {
352
+ className: "".concat(prefixCls, "-menu-drawer-close"),
353
+ onClick: closeDrawer
354
+ }, /*#__PURE__*/React.createElement("svg", {
355
+ width: "16",
356
+ height: "16",
357
+ xmlns: "http://www.w3.org/2000/svg"
358
+ }, /*#__PURE__*/React.createElement("g", {
359
+ fill: "none",
360
+ fillRule: "evenodd",
361
+ opacity: ".7"
362
+ }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
363
+ transform: "translate(-1880.000000, -20.000000) translate(1880.000000, 20.000000)",
364
+ fill: "currentColor"
365
+ }, /*#__PURE__*/React.createElement("rect", {
366
+ transform: "translate(8.000000, 8.000000) rotate(-45.000000) translate(-8.000000, -8.000000)",
367
+ x: "7.25",
368
+ y: "1",
369
+ width: "1.5",
370
+ height: "14",
371
+ rx: ".75"
372
+ }), /*#__PURE__*/React.createElement("rect", {
373
+ transform: "translate(8.000000, 8.000000) scale(-1, 1) rotate(-45.000000) translate(-8.000000, -8.000000)",
374
+ x: "7.25",
375
+ y: "1",
376
+ width: "1.5",
377
+ height: "14",
378
+ rx: ".75"
379
+ }))))))), /*#__PURE__*/React.createElement("div", {
380
+ className: "".concat(prefixCls, "-menu-drawer-body")
381
+ }, renderDrawerItems())), document.body));
203
382
  }
@@ -1,3 +1,7 @@
1
+ .transition() {
2
+ transition: background-color 0.2s;
3
+ }
4
+
1
5
  .@{prefixCls}-menu {
2
6
  flex: 0 0 200px;
3
7
  min-width: 0;
@@ -14,6 +18,7 @@
14
18
  box-sizing: border-box;
15
19
  width: 100%;
16
20
  padding: 16px 0;
21
+ white-space: nowrap;
17
22
  background: #f2f2f2;
18
23
  }
19
24
 
@@ -45,15 +50,13 @@
45
50
  padding: 0 16px;
46
51
  }
47
52
 
48
- &-collapsed &-title {
49
- display: none;
50
- }
51
-
52
53
  &-collapsed &-popup {
53
54
  left: 52px;
54
55
  }
55
56
 
56
57
  &-top-item {
58
+ display: flex;
59
+ align-items: center;
57
60
  box-sizing: border-box;
58
61
  height: 44px;
59
62
  margin: 0 12px;
@@ -61,10 +64,9 @@
61
64
  overflow: hidden;
62
65
  color: #333;
63
66
  font-size: 14px;
64
- line-height: 44px;
65
67
  border-radius: 8px;
66
68
  cursor: pointer;
67
- transition: background-color 0.2s;
69
+ .transition();
68
70
 
69
71
  &:hover,
70
72
  &-popover-active {
@@ -89,12 +91,10 @@
89
91
  }
90
92
 
91
93
  &-icon {
92
- display: inline-block;
93
94
  width: 20px;
94
95
  height: 20px;
95
96
  margin-right: 8px;
96
97
  font-size: 16px;
97
- vertical-align: middle;
98
98
  opacity: 0.7;
99
99
  }
100
100
 
@@ -103,11 +103,9 @@
103
103
  }
104
104
 
105
105
  &-title {
106
- display: inline-block;
107
106
  overflow: hidden;
108
107
  white-space: nowrap;
109
108
  text-overflow: ellipsis;
110
- vertical-align: middle;
111
109
  }
112
110
 
113
111
  &-popup {
@@ -120,6 +118,7 @@
120
118
  &-body {
121
119
  position: relative;
122
120
  z-index: 1;
121
+ display: flex;
123
122
  margin-left: 4px;
124
123
  padding: 8px;
125
124
  background: #f9f9f9;
@@ -128,7 +127,7 @@
128
127
  0 6px 16px -8px rgba(0, 0, 0, 0.08);
129
128
  transform: translate3d(-40px, 0, 0);
130
129
  opacity: 0;
131
- transition: all 0.3s;
130
+ transition: all 0.2s;
132
131
  }
133
132
 
134
133
  &.animated &-body {
@@ -161,8 +160,7 @@
161
160
  width: 120px;
162
161
  height: 40px;
163
162
  padding: 0 16px;
164
- color: #979797;
165
- font-weight: 600;
163
+ color: rgba(51, 51, 51, 0.5);
166
164
  font-size: 14px;
167
165
  line-height: 40px;
168
166
  }
@@ -175,12 +173,12 @@
175
173
  width: 120px;
176
174
  height: 40px;
177
175
  padding: 0 16px;
178
- color: rgba(51, 51, 51, 0.85);
176
+ color: rgba(51, 51, 51, 1);
179
177
  font-size: 14px;
180
178
  line-height: 40px;
181
179
  border-radius: 8px;
182
180
  cursor: pointer;
183
- transition: background-color 0.2s;
181
+ .transition();
184
182
 
185
183
  &:hover {
186
184
  background-color: #e6e6e6;
@@ -202,4 +200,144 @@
202
200
  display: block;
203
201
  }
204
202
  }
203
+
204
+ &-gutter {
205
+ height: 1px;
206
+ margin: 12px 0 16px 12px;
207
+ background-color: rgba(196, 196, 196, 0.2);
208
+ }
209
+
210
+ &-collapsed &-gutter {
211
+ margin: 0 12px;
212
+ }
213
+
214
+ &-label {
215
+ margin: 0 0 12px 12px;
216
+ color: rgba(0, 0, 0, 0.5);
217
+ font-weight: 400;
218
+ font-size: 14px;
219
+ line-height: 22px;
220
+ }
221
+
222
+ &-more {
223
+ display: flex;
224
+ align-items: center;
225
+ justify-content: center;
226
+ box-sizing: border-box;
227
+ width: 107px;
228
+ height: 36px;
229
+ margin-left: 12px;
230
+ color: rgba(5, 96, 253, 1);
231
+ font-size: 14px;
232
+ text-align: center;
233
+ background-color: #fff;
234
+ border: 1px solid rgba(5, 96, 253, 1);
235
+ border-radius: 4px;
236
+ cursor: pointer;
237
+ user-select: none;
238
+ .transition();
239
+
240
+ &:hover {
241
+ background-color: rgba(222, 234, 255, 1);
242
+ }
243
+
244
+ & > span {
245
+ margin-left: 8px;
246
+ }
247
+ }
248
+
249
+ &-drawer {
250
+ position: absolute;
251
+ top: 0;
252
+ right: 0;
253
+ z-index: 10;
254
+ width: 740px;
255
+ height: 100vh;
256
+ background-color: #fff;
257
+ box-shadow: 0 12px 48px 16px rgba(0, 0, 0, 0.03), 0 9px 28px 0 rgba(0, 0, 0, 0.05),
258
+ 0px 6px 16px -8px rgba(0, 0, 0, 0.08);
259
+ transform: translate3d(60px, 0, 0);
260
+ opacity: 0;
261
+ transition: all 0.2s;
262
+
263
+ &.animated {
264
+ transform: translate3d(0, 0, 0);
265
+ opacity: 1;
266
+ }
267
+
268
+ &-header {
269
+ display: flex;
270
+ align-items: center;
271
+ justify-content: space-between;
272
+ height: 56px;
273
+ padding: 0 24px;
274
+ color: #333;
275
+ font-weight: 500;
276
+ font-size: 16px;
277
+ border-bottom: 1px solid rgba(0, 0, 0, 0.08);
278
+ }
279
+
280
+ &-body {
281
+ display: flex;
282
+ padding: 16px;
283
+ overflow-x: hidden;
284
+ overflow-y: auto;
285
+ }
286
+
287
+ &-col {
288
+ width: 33.33333333%;
289
+ }
290
+
291
+ .item() {
292
+ height: 44px;
293
+ padding: 0 16px;
294
+ font-size: 14px;
295
+ line-height: 44px;
296
+ }
297
+
298
+ &-1 {
299
+ color: rgba(51, 51, 51, 1);
300
+ font-weight: 500;
301
+ .item();
302
+ }
303
+
304
+ &-2 {
305
+ color: rgba(51, 51, 51, 0.5);
306
+ font-weight: 500;
307
+ .item();
308
+ }
309
+
310
+ &-3 {
311
+ color: rgba(51, 51, 51, 1);
312
+ cursor: pointer;
313
+ .item();
314
+ .transition();
315
+
316
+ &:hover {
317
+ color: rgba(5, 96, 253, 1);
318
+ background-color: rgba(238, 238, 238, 1);
319
+ }
320
+ }
321
+
322
+ &-block {
323
+ padding: 8px;
324
+
325
+ & > div {
326
+ background-color: rgba(238, 238, 238, 0.5);
327
+ border-radius: 8px;
328
+ }
329
+ }
330
+
331
+ &-close {
332
+ cursor: pointer;
333
+
334
+ &:hover {
335
+ color: rgba(5, 96, 253, 1);
336
+ }
337
+ }
338
+ }
339
+
340
+ &-active {
341
+ color: rgba(5, 96, 253, 1);
342
+ }
205
343
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export default function TabBar<T extends {
3
2
  title: string;
4
3
  }>(props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { OperationType, TreeData } from './typings';
3
2
  interface Props<T> {
4
3
  node: TreeData<T>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { TableProps } from './typings';
3
2
  export default function Table<RecordType extends Record<string, any>>(props: TableProps<RecordType>): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "> TODO: description",
5
5
  "author": "鲁盛杰 <lusj@cnlemon.net>",
6
6
  "homepage": "",
@@ -13,7 +13,7 @@
13
13
  "test": "echo \"Error: run tests from root\" && exit 1"
14
14
  },
15
15
  "dependencies": {
16
- "@lemon-fe/hooks": "^0.0.1",
16
+ "@lemon-fe/hooks": "^0.0.2",
17
17
  "antd": "^4.17.0",
18
18
  "classnames": "^2.2.6",
19
19
  "lodash": "^4.17.21",
@@ -35,5 +35,6 @@
35
35
  "@types/color-string": "^1.5.2",
36
36
  "@types/lodash": "^4.14.179",
37
37
  "@types/react-resizable": "^1.7.4"
38
- }
38
+ },
39
+ "gitHead": "fb99301b92d7fce50677a82ba546bf4309b33413"
39
40
  }