@kdcloudjs/kdesign 1.5.8 → 1.5.11

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 (125) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/default-theme.js +1 -1
  3. package/dist/kdesign-complete.less +156 -114
  4. package/dist/kdesign.css +122 -101
  5. package/dist/kdesign.css.map +1 -1
  6. package/dist/kdesign.js +1083 -321
  7. package/dist/kdesign.js.map +1 -1
  8. package/dist/kdesign.min.css +3 -3
  9. package/dist/kdesign.min.js +8 -8
  10. package/dist/kdesign.min.js.map +1 -1
  11. package/es/_utils/KeyCode.d.ts +436 -0
  12. package/es/_utils/KeyCode.js +623 -0
  13. package/es/_utils/hooks.d.ts +1 -0
  14. package/es/_utils/hooks.js +51 -1
  15. package/es/_utils/usePopper.js +2 -2
  16. package/es/alert/style/index.css +0 -1
  17. package/es/alert/style/index.less +0 -1
  18. package/es/button/style/index.css +3 -0
  19. package/es/button/style/mixin.less +3 -0
  20. package/es/carousel/slidebar.d.ts +1 -0
  21. package/es/checkbox/checkbox.d.ts +1 -0
  22. package/es/checkbox/checkbox.js +21 -3
  23. package/es/city-picker/no-data.d.ts +1 -0
  24. package/es/config-provider/compDefaultProps.d.ts +1 -0
  25. package/es/config-provider/compDefaultProps.js +2 -1
  26. package/es/date-picker/calendar.d.ts +1 -0
  27. package/es/date-picker/date-picker.js +15 -14
  28. package/es/date-picker/hooks/use-picker-input.js +44 -38
  29. package/es/date-picker/panel/month/month.d.ts +1 -0
  30. package/es/date-picker/panel/quarter/quarter.d.ts +1 -0
  31. package/es/date-picker/panel/time/time.d.ts +1 -0
  32. package/es/date-picker/panel/week/week.d.ts +1 -0
  33. package/es/date-picker/panel/year/year.d.ts +1 -0
  34. package/es/date-picker/range-picker.js +24 -13
  35. package/es/date-picker/utils/get-ranges.d.ts +1 -0
  36. package/es/drawer/drawer.d.ts +1 -0
  37. package/es/drawer/drawer.js +6 -3
  38. package/es/dropdown/dropdown.js +1 -1
  39. package/es/empty/defaultEmptyImg.d.ts +1 -0
  40. package/es/empty/illustrationEmptyImg.d.ts +1 -0
  41. package/es/modal/style/index.css +1 -7
  42. package/es/modal/style/index.less +1 -7
  43. package/es/modal/style/token.less +7 -4
  44. package/es/notification-base/notification.js +4 -4
  45. package/es/pagination/style/index.css +1 -3
  46. package/es/pagination/style/index.less +1 -3
  47. package/es/progress/progress.js +1 -1
  48. package/es/progress/style/index.css +18 -5
  49. package/es/progress/style/index.less +19 -5
  50. package/es/progress/style/token.less +5 -1
  51. package/es/slider/track.d.ts +1 -0
  52. package/es/style/themes/default.less +1 -1
  53. package/es/table/table.d.ts +1 -0
  54. package/es/tabs/style/index.css +79 -74
  55. package/es/tabs/style/index.less +76 -73
  56. package/es/tabs/style/mixin.less +0 -6
  57. package/es/tabs/style/token.less +8 -3
  58. package/es/transfer/style/index.css +0 -3
  59. package/es/transfer/style/index.less +0 -3
  60. package/es/tree/style/index.css +2 -1
  61. package/es/tree/style/index.less +5 -4
  62. package/es/tree/style/token.less +2 -1
  63. package/es/tree/treeNode.js +4 -1
  64. package/es/upload/style/index.css +17 -6
  65. package/es/upload/style/index.less +18 -5
  66. package/es/upload/style/token.less +11 -0
  67. package/es/upload/upload.js +6 -4
  68. package/lib/_utils/KeyCode.d.ts +436 -0
  69. package/lib/_utils/KeyCode.js +631 -0
  70. package/lib/_utils/hooks.d.ts +1 -0
  71. package/lib/_utils/hooks.js +54 -1
  72. package/lib/_utils/usePopper.js +2 -2
  73. package/lib/alert/style/index.css +0 -1
  74. package/lib/alert/style/index.less +0 -1
  75. package/lib/button/style/index.css +3 -0
  76. package/lib/button/style/mixin.less +3 -0
  77. package/lib/carousel/slidebar.d.ts +1 -0
  78. package/lib/checkbox/checkbox.d.ts +1 -0
  79. package/lib/checkbox/checkbox.js +23 -4
  80. package/lib/city-picker/no-data.d.ts +1 -0
  81. package/lib/config-provider/compDefaultProps.d.ts +1 -0
  82. package/lib/config-provider/compDefaultProps.js +2 -1
  83. package/lib/date-picker/calendar.d.ts +1 -0
  84. package/lib/date-picker/date-picker.js +15 -15
  85. package/lib/date-picker/hooks/use-picker-input.js +45 -37
  86. package/lib/date-picker/panel/month/month.d.ts +1 -0
  87. package/lib/date-picker/panel/quarter/quarter.d.ts +1 -0
  88. package/lib/date-picker/panel/time/time.d.ts +1 -0
  89. package/lib/date-picker/panel/week/week.d.ts +1 -0
  90. package/lib/date-picker/panel/year/year.d.ts +1 -0
  91. package/lib/date-picker/range-picker.js +24 -14
  92. package/lib/date-picker/utils/get-ranges.d.ts +1 -0
  93. package/lib/drawer/drawer.d.ts +1 -0
  94. package/lib/drawer/drawer.js +5 -2
  95. package/lib/dropdown/dropdown.js +1 -1
  96. package/lib/empty/defaultEmptyImg.d.ts +1 -0
  97. package/lib/empty/illustrationEmptyImg.d.ts +1 -0
  98. package/lib/modal/style/index.css +1 -7
  99. package/lib/modal/style/index.less +1 -7
  100. package/lib/modal/style/token.less +7 -4
  101. package/lib/notification-base/notification.js +4 -3
  102. package/lib/pagination/style/index.css +1 -3
  103. package/lib/pagination/style/index.less +1 -3
  104. package/lib/progress/progress.js +1 -1
  105. package/lib/progress/style/index.css +18 -5
  106. package/lib/progress/style/index.less +19 -5
  107. package/lib/progress/style/token.less +5 -1
  108. package/lib/slider/track.d.ts +1 -0
  109. package/lib/style/themes/default.less +1 -1
  110. package/lib/table/table.d.ts +1 -0
  111. package/lib/tabs/style/index.css +79 -74
  112. package/lib/tabs/style/index.less +76 -73
  113. package/lib/tabs/style/mixin.less +0 -6
  114. package/lib/tabs/style/token.less +8 -3
  115. package/lib/transfer/style/index.css +0 -3
  116. package/lib/transfer/style/index.less +0 -3
  117. package/lib/tree/style/index.css +2 -1
  118. package/lib/tree/style/index.less +5 -4
  119. package/lib/tree/style/token.less +2 -1
  120. package/lib/tree/treeNode.js +4 -1
  121. package/lib/upload/style/index.css +17 -6
  122. package/lib/upload/style/index.less +18 -5
  123. package/lib/upload/style/token.less +11 -0
  124. package/lib/upload/upload.js +6 -4
  125. package/package.json +2 -2
@@ -5,11 +5,6 @@
5
5
  flex-direction: column;
6
6
  flex-wrap: nowrap;
7
7
  height: 100%;
8
- // box-sizing: border-box;
9
- // width: 100%;
10
- // height: @tabs-height;
11
- // color: @tabs-font-color;
12
- // border-bottom: @tabs-border-width solid @tabs-border-color;
13
8
  }
14
9
  .tabNavs() {
15
10
  position: relative;
@@ -29,6 +24,5 @@
29
24
  color: @tabs-font-color;
30
25
  height: @tab-pane-height;
31
26
  line-height: @tab-pane-line-height;
32
- margin-right: @tab-pane-margin-right;
33
27
  cursor: pointer;
34
28
  }
@@ -6,7 +6,7 @@
6
6
  @tabs-border-color: var(~'@{tabs-custom-prefix}-color-border', @color-border-strong);
7
7
  @tab-line-color-active: var(~'@{tabs-custom-prefix}-line-color-active', @color-theme);
8
8
  @tabs-card-bg: var(~'@{tabs-custom-prefix}-card-color-background', @color-background-contain-disabled);
9
- @tab-disabled-bg: var(~'@{tabs-custom-prefix}-color-background-disabled', @color-background-2);
9
+ @tab-disabled-bg: var(~'@{tabs-custom-prefix}-color-background-disabled', transparent);
10
10
  @tabs-font-color: var(~'@{tabs-custom-prefix}-color-text', @color-text-secondary);
11
11
  @tabPane-font-color-active: var(~'@{tabs-custom-prefix}-color-text-active', @color-theme);
12
12
  @tabPane-font-color-hover: var(~'@{tabs-custom-prefix}-color-text-hover', @color-theme);
@@ -16,7 +16,7 @@
16
16
  @tabPane-font-size: var(~'@{tabs-custom-prefix}-pane-font-size', @font-size-middle);
17
17
 
18
18
  // line-height
19
- @tab-pane-line-height: var(~'@{tabs-custom-prefix}-pane-line-height', 48px);
19
+ @tab-pane-line-height: var(~'@{tabs-custom-prefix}-pane-height', 48px);
20
20
 
21
21
  // motion
22
22
  @tab-transition-fn: var(~'@{tabs-custom-prefix}-motion-timing-function', cubic-bezier(0.42, 0, 1, 1));
@@ -26,7 +26,12 @@
26
26
  @tabs-height: var(~'@{tabs-custom-prefix}-sizing-height', 48px);
27
27
  @tabs-border-width: var(~'@{tabs-custom-prefix}-sizing-border', 1px);
28
28
  @tab-pane-height: var(~'@{tabs-custom-prefix}-pane-sizing-height', 48px);
29
+ @tab-pane-type-line-height-small: var(~'@{tabs-custom-prefix}-pane-type-line-sizing-height-small', 32px);
30
+ @tab-pane-type-line-height-middle: var(~'@{tabs-custom-prefix}-pane-type-line-sizing-height-middle', 32px);
31
+ @tab-pane-type-dynamic-height: var(~'@{tabs-custom-prefix}-pane-type-dynamic-sizing-height', 32px);
29
32
 
30
33
 
31
34
  // spacing
32
- @tab-pane-margin-right: var(~'@{tabs-custom-prefix}-pane-spacing-margin-right', 24px);
35
+ @tab-pane-line-paddinng-horizontal: var(~'@{tabs-custom-prefix}-pane-line-paddinng-horizontal', 20px);
36
+ @tab-pane-card-paddinng-horizontal: var(~'@{tabs-custom-prefix}-pane-card-paddinng-horizontal', 18px);
37
+ @tab-pane-grid-paddinng-horizontal: var(~'@{tabs-custom-prefix}-pane-grid-paddinng-horizontal', 20px);
@@ -352,6 +352,3 @@
352
352
  .kd-transfer-operation .kd-btn + .kd-btn {
353
353
  margin-top: 20px;
354
354
  }
355
- .kd-transfer-operation .kd-btn .kd-btn-iconWrapper-left {
356
- float: none;
357
- }
@@ -182,9 +182,6 @@
182
182
  & + .@{kd-prefix}-btn {
183
183
  margin-top: 20px;
184
184
  }
185
- .@{kd-prefix}-btn-iconWrapper-left {
186
- float: none;
187
- }
188
185
  }
189
186
  }
190
187
  }
@@ -131,6 +131,7 @@
131
131
  flex-grow: 1;
132
132
  font-size: var(--kd-c-tree-font-size, var(--kd-g-font-size-small, 12px));
133
133
  color: var(--kd-c-tree-color-text, var(--kd-g-color-text-primary, #212121));
134
+ margin-left: var(--kd-c-tree-spacing-margin-left, 16px);
134
135
  }
135
136
  .kd-tree-root {
136
137
  min-width: 100%;
@@ -155,7 +156,7 @@
155
156
  align-items: center;
156
157
  }
157
158
  .kd-tree-node-root .kd-spin-dot-spin {
158
- border: none;
159
+ border: 2px solid transparent;
159
160
  width: var(--kd-c-tree-expand-icon-loading-sizing-width, 16px);
160
161
  height: var(--kd-c-tree-expand-icon-loading-sizing-height, 16px);
161
162
  }
@@ -11,6 +11,7 @@
11
11
  flex-grow: 1;
12
12
  font-size: @tree-font-size;
13
13
  color: @tree-color-text;
14
+ margin-left: @tree-margin-left;
14
15
  &-root {
15
16
  min-width: 100%;
16
17
  flex-shrink: 0;
@@ -30,7 +31,7 @@
30
31
  align-items: center;
31
32
 
32
33
  .@{kd-prefix}-spin-dot-spin {
33
- border: none;
34
+ border: 2px solid transparent;
34
35
  width: @tree-expand-icon-loading-width;
35
36
  height: @tree-expand-icon-loading-height;
36
37
 
@@ -47,7 +48,7 @@
47
48
  display: flex;
48
49
  align-items: center;
49
50
 
50
- .node-hover()
51
+ .node-hover();
51
52
  }
52
53
 
53
54
  &-indent {
@@ -115,14 +116,14 @@
115
116
  .node-hover();
116
117
 
117
118
  &-selected {
118
- .node-selected()
119
+ .node-selected();
119
120
  }
120
121
  }
121
122
  &-title {
122
123
  white-space: nowrap;
123
124
  }
124
125
  &-selected {
125
- .node-selected()
126
+ .node-selected();
126
127
  }
127
128
 
128
129
  &-draggabled {
@@ -22,10 +22,11 @@
22
22
  @tree-expand-icon-loading-width: var(~'@{tree-prefix}-expand-icon-loading-sizing-width', 16px);
23
23
  @tree-node-icon-height: var(~'@{tree-prefix}-node-icon-sizing-height', 16px);
24
24
  @tree-node-icon-width: var(~'@{tree-prefix}-node-icon-sizing-width', 16px);
25
+ @tree-margin-left: var(~'@{tree-prefix}-spacing-margin-left', 16px);
25
26
 
26
27
  // font
27
28
  @tree-font-size: var(~'@{tree-prefix}-font-size', @font-size-small);
28
29
  @tree-node-icon-size: var(~'@{tree-prefix}-node-icon-font-size', 16px);
29
30
 
30
31
  // motion
31
- @tree-transition-duration: var(~'@{tree-prefix}-motion-duration', @duration-promptly);
32
+ @tree-transition-duration: var(~'@{tree-prefix}-motion-duration', @duration-promptly);
@@ -271,7 +271,10 @@ var TreeNode = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
271
271
  onChange: handleOnchange,
272
272
  checked: checked,
273
273
  indeterminate: !disabled && indeterminate,
274
- disabled: disabled
274
+ disabled: disabled,
275
+ onClick: function onClick(e) {
276
+ return e.stopPropagation();
277
+ }
275
278
  }, /*#__PURE__*/_react.default.createElement("span", {
276
279
  className: (0, _classnames.default)("".concat(treeNodePrefixCls, "-title"), (0, _defineProperty2.default)({}, "".concat(treeNodePrefixCls, "-title-disabled"), disabled))
277
280
  }, title)) : /*#__PURE__*/_react.default.createElement("span", {
@@ -180,13 +180,14 @@
180
180
  list-style: none;
181
181
  -webkit-font-feature-settings: 'tnum';
182
182
  font-feature-settings: 'tnum';
183
- margin-top: 16px;
183
+ margin-top: var(--kd-c-upload-text-list-margin-top, 16px);
184
184
  font-size: var(--kd-c-upload-font-size, var(--kd-g-font-size-middle, 14px));
185
185
  border-top: 1px dashed var(--kd-c-upload-division-color, var(--kd-g-color-border-strong, #d9d9d9));
186
186
  }
187
187
  .kd-upload .kd-upload-text-list-item {
188
188
  position: relative;
189
- padding: 12px 20px;
189
+ padding: 0 var(--kd-c-upload-text-list-item-padding-horizontal, 20px);
190
+ height: var(--kd-c-upload-list-item-height, 44px);
190
191
  overflow: hidden;
191
192
  white-space: nowrap;
192
193
  display: -webkit-box;
@@ -212,9 +213,12 @@
212
213
  .kd-upload .kd-upload-text-list-item.error .kd-upload-text-list-item-name {
213
214
  color: var(--kd-c-upload-error-color, var(--kd-g-color-error, #fb2323));
214
215
  }
216
+ .kd-upload .kd-upload-text-list-item-icon > i {
217
+ font-size: var(--kd-c-upload-font-size, var(--kd-g-font-size-middle, 14px));
218
+ }
215
219
  .kd-upload .kd-upload-text-list-item-name {
216
220
  display: inline-block;
217
- margin: 0 5px;
221
+ margin: 0 var(--kd-c-upload-text-list-item-name-padding-right, 8px) 0 var(--kd-c-upload-text-list-item-name-padding-left, 4px);
218
222
  white-space: nowrap;
219
223
  overflow: hidden;
220
224
  text-overflow: ellipsis;
@@ -227,7 +231,9 @@
227
231
  position: absolute;
228
232
  top: 0;
229
233
  right: 0;
230
- padding: 12px 20px;
234
+ padding: 0 var(--kd-c-upload-text-list-item-padding-horizontal, 20px);
235
+ height: var(--kd-c-upload-list-item-height, 44px);
236
+ line-height: var(--kd-c-upload-list-item-height, 44px);
231
237
  background-color: transparent;
232
238
  opacity: 0;
233
239
  visibility: hidden;
@@ -321,7 +327,8 @@
321
327
  max-height: 100%;
322
328
  }
323
329
  .kd-upload .kd-upload-picture-list-item.error {
324
- border-color: var(--kd-c-upload-color-border-error, var(--kd-g-color-border-error, #ff8088));
330
+ border-color: var(--kd-c-upload-color-border-error, var(--kd-g-color-border-error, #fc808B));
331
+ background-color: var(--kd-c-upload-color-background-error, var(--kd-g-color-background-error, #fff2f4));
325
332
  }
326
333
  .kd-upload .kd-upload-picture-list-item-loading {
327
334
  width: 100%;
@@ -361,7 +368,7 @@
361
368
  justify-content: center;
362
369
  }
363
370
  .kd-upload .kd-upload-picture-list-item-error-text {
364
- margin-bottom: 5px;
371
+ margin-bottom: 4px;
365
372
  color: var(--kd-c-upload-error-color, var(--kd-g-color-error, #fb2323));
366
373
  }
367
374
  .kd-upload .kd-upload-picture-list-item-error a {
@@ -370,3 +377,7 @@
370
377
  .kd-upload .kd-upload-picture-list-item-error a:not(:first-child) {
371
378
  margin-left: 10px;
372
379
  }
380
+ .kd-upload .kd-upload-picture-list-item-action > a {
381
+ color: var(--kd-c-upload-panel-button-color, #0E5FD8);
382
+ font-size: var(--kd-c-upload-picture-action-font-size, var(--kd-g-font-size-small, 12px));
383
+ }
@@ -59,13 +59,14 @@
59
59
 
60
60
  .@{upload-prefix-text-list-cls} {
61
61
  .reset-component;
62
- margin-top: 16px;
62
+ margin-top: @upload-text-list-margin-top;
63
63
  font-size: @upload-font-size;
64
64
  border-top: 1px dashed @upload-border-color-strong;
65
65
 
66
66
  &-item {
67
67
  position: relative;
68
- padding: 12px 20px;
68
+ padding: 0 @upload-text-list-item-padding-horizontal;
69
+ height: @upload-list-item-height;
69
70
  overflow: hidden;
70
71
  white-space: nowrap;
71
72
  display: flex;
@@ -90,9 +91,13 @@
90
91
  }
91
92
  }
92
93
 
94
+ &-icon > i {
95
+ font-size: @upload-font-size;
96
+ }
97
+
93
98
  &-name {
94
99
  display: inline-block;
95
- margin: 0 5px;
100
+ margin: 0 @upload-text-list-item-name-padding-right 0 @upload-text-list-item-name-padding-left;
96
101
  .ellipsis;
97
102
  color: @upload-panel-color;
98
103
  }
@@ -105,7 +110,9 @@
105
110
  position: absolute;
106
111
  top: 0;
107
112
  right: 0;
108
- padding: 12px 20px;
113
+ padding: 0 @upload-text-list-item-padding-horizontal;
114
+ height: @upload-list-item-height;
115
+ line-height: @upload-list-item-height;
109
116
  background-color: transparent;
110
117
  opacity: 0;
111
118
  visibility: hidden;
@@ -185,6 +192,7 @@
185
192
 
186
193
  &.error {
187
194
  border-color: @upload-border-error-color;
195
+ background-color: @upload-background-error-color;
188
196
  }
189
197
 
190
198
  &-loading {
@@ -209,7 +217,7 @@
209
217
  justify-content: center;
210
218
 
211
219
  &-text {
212
- margin-bottom: 5px;
220
+ margin-bottom: 4px;
213
221
  color: @upload-text-error-color;
214
222
  }
215
223
 
@@ -220,6 +228,11 @@
220
228
  }
221
229
  }
222
230
  }
231
+
232
+ &-action > a {
233
+ color: @upload-panel-button-color;
234
+ font-size: @upload-picture-action-font-size;
235
+ }
223
236
  }
224
237
  }
225
238
  }
@@ -6,6 +6,7 @@
6
6
  @upload-text-color: var(~'@{upload-prefix}-color', @color-text-third);
7
7
 
8
8
  @upload-text-error-color: var(~'@{upload-prefix}-error-color', @color-error);
9
+ @upload-background-error-color: var(~'@{upload-prefix}-color-background-error', @color-background-error);
9
10
  @upload-border-error-color: var(~'@{upload-prefix}-color-border-error', @color-border-error);
10
11
  @upload-border-color: var(~'@{upload-prefix}-color-border', @color-border-weak);
11
12
  @upload-border-color-strong: var(~'@{upload-prefix}-division-color', @color-border-strong);
@@ -22,7 +23,17 @@
22
23
 
23
24
  // font
24
25
  @upload-font-size: var(~'@{upload-prefix}-font-size', @font-size-middle);
26
+ @upload-picture-action-font-size: var(~'@{upload-prefix}-picture-action-font-size', @font-size-small);
25
27
 
26
28
  // radius
27
29
  @upload-border-radius: var(~'@{upload-prefix}-radius-border', @radius-border);
28
30
 
31
+ // sizing
32
+ @upload-list-item-height: var(~'@{upload-prefix}-list-item-height', 44px);
33
+
34
+ //spacing
35
+ @upload-text-list-margin-top: var(~'@{upload-prefix}-text-list-margin-top', 16px);
36
+ @upload-text-list-item-padding-horizontal: var(~'@{upload-prefix}-text-list-item-padding-horizontal', 20px);
37
+ @upload-text-list-item-name-padding-left: var(~'@{upload-prefix}-text-list-item-name-padding-left', 4px);
38
+ @upload-text-list-item-name-padding-right: var(~'@{upload-prefix}-text-list-item-name-padding-right', 8px);
39
+
@@ -493,7 +493,7 @@ var InternalUpload = function InternalUpload(props, ref) {
493
493
  }, inputFileProps, {
494
494
  ref: mergedRef
495
495
  }))))), showUploadList && (0, _map.default)(fileList).call(fileList, function (file) {
496
- var _context8, _context9, _context10, _context11, _context12, _context13, _context14, _context15, _context16, _context17, _context18, _context19;
496
+ var _context8, _context9, _context10, _context11, _context12, _context13, _context14, _context15, _context16, _context17, _context18, _context19, _context20;
497
497
 
498
498
  return /*#__PURE__*/React.createElement("li", {
499
499
  key: file.uid,
@@ -535,13 +535,15 @@ var InternalUpload = function InternalUpload(props, ref) {
535
535
  style: {
536
536
  verticalAlign: 'top'
537
537
  }
538
- }), "\u4E0A\u4F20\u5931\u8D25"), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("a", {
538
+ }), "\u4E0A\u4F20\u5931\u8D25"), /*#__PURE__*/React.createElement("div", {
539
+ className: (0, _concat.default)(_context18 = "".concat(prefixCls, "-")).call(_context18, listType, "-list-item-action")
540
+ }, /*#__PURE__*/React.createElement("a", {
539
541
  href: "true",
540
- className: (0, _concat.default)(_context18 = "".concat(prefixCls, "-")).call(_context18, listType, "-list-item-reupload"),
542
+ className: (0, _concat.default)(_context19 = "".concat(prefixCls, "-")).call(_context19, listType, "-list-item-reupload"),
541
543
  onClick: handleReUpload.bind(_this, file)
542
544
  }, "\u91CD\u65B0\u4E0A\u4F20"), /*#__PURE__*/React.createElement("a", {
543
545
  href: "true",
544
- className: (0, _concat.default)(_context19 = "".concat(prefixCls, "-")).call(_context19, listType, "-list-item-delete"),
546
+ className: (0, _concat.default)(_context20 = "".concat(prefixCls, "-")).call(_context20, listType, "-list-item-delete"),
545
547
  onClick: handleRemove.bind(_this, file)
546
548
  }, "\u5220\u9664"))) : /*#__PURE__*/React.createElement(_image.default, {
547
549
  previewType: "upload",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/kdesign",
3
- "version": "1.5.8",
3
+ "version": "1.5.11",
4
4
  "description": "KDesign 金蝶前端react 组件库",
5
5
  "title": "kdesign",
6
6
  "keywords": [
@@ -76,7 +76,7 @@
76
76
  "@babel/runtime": "^7.10.4",
77
77
  "@babel/runtime-corejs3": "^7.11.2",
78
78
  "@babel/standalone": "^7.14.3",
79
- "@kdcloudjs/table": "^1.1.2",
79
+ "@kdcloudjs/table": "canary",
80
80
  "@popperjs/core": "^2.5.4",
81
81
  "async-validator": "^3.5.1",
82
82
  "axios": "^0.21.1",