acud 0.0.65 → 0.0.68
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/dist/acud.css +299 -147
- package/dist/acud.css.map +1 -1
- package/dist/acud.js +1512 -1078
- package/dist/acud.js.map +1 -1
- package/dist/acud.min.css +1 -1
- package/dist/acud.min.css.map +1 -1
- package/dist/acud.min.js +11 -5
- package/dist/acud.min.js.map +1 -1
- package/es/breadcrumb/BreadcrumbItem.d.ts +1 -1
- package/es/breadcrumb/BreadcrumbItem.js +16 -4
- package/es/button/button.d.ts +1 -0
- package/es/button/button.js +1 -0
- package/es/cascader/index.js +20 -5
- package/es/cascader/style/index.css +2 -57
- package/es/cascader/style/index.less +2 -17
- package/es/clear/index.d.ts +12 -0
- package/es/clear/index.js +41 -0
- package/es/clear/style/css.js +2 -0
- package/es/clear/style/index.css +63 -0
- package/es/clear/style/index.d.ts +2 -0
- package/es/clear/style/index.js +2 -0
- package/es/clear/style/index.less +18 -0
- package/es/date-picker/generatePicker/generateRangePicker.js +2 -2
- package/es/date-picker/generatePicker/generateSinglePicker.js +2 -2
- package/es/date-picker/src/PickerPanel.js +4 -1
- package/es/date-picker/src/utils/uiUtil.js +4 -4
- package/es/date-picker/style/index.css +106 -53
- package/es/date-picker/style/panel.less +83 -18
- package/es/dialog-box/style/index.css +4 -4
- package/es/dropdown/dropdown-button.js +7 -1
- package/es/dropdown/rc-dropdown/Dropdown.js +1 -0
- package/es/dropdown/style/index.css +2 -1
- package/es/dropdown/style/index.less +2 -1
- package/es/form/style/horizontal.less +1 -0
- package/es/form/style/index.css +3 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/modal/DialogBox.d.ts +1 -1
- package/es/modal/Modal.d.ts +5 -2
- package/es/modal/Modal.js +6 -4
- package/es/modal/style/index.css +41 -11
- package/es/modal/style/index.less +35 -7
- package/es/modal/style/mixin.less +4 -4
- package/es/progress/CircleProgress.js +2 -2
- package/es/progress/LineProgress.js +4 -2
- package/es/progress/style/common.less +5 -3
- package/es/progress/style/index.css +2 -1
- package/es/radio/index.d.ts +3 -0
- package/es/style/themes/dark/components/modal.less +14 -9
- package/es/style/themes/default/components/cascader.less +0 -4
- package/es/style/themes/default/components/clear.less +2 -0
- package/es/style/themes/default/components/datePicker.less +1 -0
- package/es/style/themes/default/components/index.less +1 -0
- package/es/style/themes/default/components/modal.less +13 -13
- package/es/switch/index.d.ts +2 -3
- package/es/switch/index.js +11 -3
- package/es/switch/interface.d.ts +4 -0
- package/es/switch/style/index.css +31 -0
- package/es/switch/style/index.less +33 -1
- package/es/tabs/src/TabNavList/index.js +2 -2
- package/es/tabs/style/index.css +0 -1
- package/es/tabs/style/index.less +0 -1
- package/es/time-picker/style/index.css +1 -0
- package/es/time-picker/style/index.less +1 -0
- package/es/tooltip/index.js +1 -1
- package/es/transfer/{dataSource.d.ts → DataSource.d.ts} +1 -1
- package/es/transfer/{dataSource.js → DataSource.js} +37 -6
- package/{lib/transfer/sourceList.d.ts → es/transfer/SourceList.d.ts} +2 -2
- package/es/transfer/{sourceList.js → SourceList.js} +0 -0
- package/es/transfer/{target.d.ts → Target.d.ts} +1 -1
- package/es/transfer/{target.js → Target.js} +60 -4
- package/{lib/transfer/targetList.d.ts → es/transfer/TargetList.d.ts} +2 -2
- package/es/transfer/{targetList.js → TargetList.js} +0 -0
- package/es/transfer/index.d.ts +3 -0
- package/es/transfer/index.js +16 -7
- package/es/transfer/style/css.js +3 -1
- package/es/transfer/style/index.css +25 -5
- package/es/transfer/style/index.d.ts +1 -0
- package/es/transfer/style/index.js +3 -1
- package/es/transfer/style/index.less +30 -5
- package/es/upload/UploadList/ListItem.js +7 -2
- package/es/upload/UploadList/index.js +4 -7
- package/es/upload/style/index.css +17 -13
- package/es/upload/style/index.less +25 -20
- package/es/upload/utils.js +1 -1
- package/lib/breadcrumb/BreadcrumbItem.d.ts +1 -1
- package/lib/breadcrumb/BreadcrumbItem.js +21 -8
- package/lib/button/button.d.ts +1 -0
- package/lib/button/button.js +1 -0
- package/lib/cascader/index.js +21 -6
- package/lib/cascader/style/index.css +2 -57
- package/lib/cascader/style/index.less +2 -17
- package/lib/clear/index.d.ts +12 -0
- package/lib/clear/index.js +55 -0
- package/lib/clear/style/css.js +5 -0
- package/lib/clear/style/index.css +63 -0
- package/lib/clear/style/index.d.ts +2 -0
- package/lib/clear/style/index.js +5 -0
- package/lib/clear/style/index.less +18 -0
- package/lib/date-picker/generatePicker/generateRangePicker.js +3 -3
- package/lib/date-picker/generatePicker/generateSinglePicker.js +3 -3
- package/lib/date-picker/src/PickerPanel.js +4 -1
- package/lib/date-picker/src/utils/uiUtil.js +4 -4
- package/lib/date-picker/style/index.css +106 -53
- package/lib/date-picker/style/panel.less +83 -18
- package/lib/dialog-box/style/index.css +4 -4
- package/lib/dropdown/dropdown-button.js +7 -1
- package/lib/dropdown/rc-dropdown/Dropdown.js +1 -0
- package/lib/dropdown/style/index.css +2 -1
- package/lib/dropdown/style/index.less +2 -1
- package/lib/form/style/horizontal.less +1 -0
- package/lib/form/style/index.css +3 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +8 -0
- package/lib/modal/DialogBox.d.ts +1 -1
- package/lib/modal/Modal.d.ts +5 -2
- package/lib/modal/Modal.js +6 -4
- package/lib/modal/style/index.css +41 -11
- package/lib/modal/style/index.less +35 -7
- package/lib/modal/style/mixin.less +4 -4
- package/lib/progress/CircleProgress.js +2 -2
- package/lib/progress/LineProgress.js +4 -2
- package/lib/progress/style/common.less +5 -3
- package/lib/progress/style/index.css +2 -1
- package/lib/radio/index.d.ts +3 -0
- package/lib/style/components.less +1 -0
- package/lib/style/themes/dark/components/modal.less +14 -9
- package/lib/style/themes/default/components/cascader.less +0 -4
- package/lib/style/themes/default/components/clear.less +2 -0
- package/lib/style/themes/default/components/datePicker.less +1 -0
- package/lib/style/themes/default/components/index.less +1 -0
- package/lib/style/themes/default/components/modal.less +13 -13
- package/lib/switch/index.d.ts +2 -3
- package/lib/switch/index.js +12 -3
- package/lib/switch/interface.d.ts +4 -0
- package/lib/switch/style/index.css +31 -0
- package/lib/switch/style/index.less +33 -1
- package/lib/tabs/src/TabNavList/index.js +2 -2
- package/lib/tabs/style/index.css +0 -1
- package/lib/tabs/style/index.less +0 -1
- package/lib/time-picker/style/index.css +1 -0
- package/lib/time-picker/style/index.less +1 -0
- package/lib/tooltip/index.js +1 -1
- package/lib/transfer/{dataSource.d.ts → DataSource.d.ts} +1 -1
- package/lib/transfer/{dataSource.js → DataSource.js} +38 -6
- package/{es/transfer/sourceList.d.ts → lib/transfer/SourceList.d.ts} +2 -2
- package/lib/transfer/{sourceList.js → SourceList.js} +0 -0
- package/lib/transfer/{target.d.ts → Target.d.ts} +1 -1
- package/lib/transfer/{target.js → Target.js} +63 -5
- package/{es/transfer/targetList.d.ts → lib/transfer/TargetList.d.ts} +2 -2
- package/lib/transfer/{targetList.js → TargetList.js} +0 -0
- package/lib/transfer/index.d.ts +3 -0
- package/lib/transfer/index.js +18 -10
- package/lib/transfer/style/css.js +3 -1
- package/lib/transfer/style/index.css +25 -5
- package/lib/transfer/style/index.d.ts +1 -0
- package/lib/transfer/style/index.js +3 -1
- package/lib/transfer/style/index.less +30 -5
- package/lib/upload/UploadList/ListItem.js +7 -2
- package/lib/upload/UploadList/index.js +4 -7
- package/lib/upload/style/index.css +17 -13
- package/lib/upload/style/index.less +25 -20
- package/lib/upload/utils.js +1 -1
- package/package.json +2 -2
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
@upload-item: ~'@{acud-prefix}-upload-list-item';
|
|
6
6
|
@upload-picture-card-size: 120px;
|
|
7
7
|
@upload-picture-card-border-style: 1px;
|
|
8
|
-
|
|
9
8
|
@heading-color: fade(#000, 85%);
|
|
10
9
|
@background-color-light: hsv(0, 0, 98%);
|
|
11
10
|
@border-color-base: hsv(0, 0, 85%);
|
|
12
|
-
@primary-7:
|
|
11
|
+
@primary-7: @B7;
|
|
13
12
|
@primary-5: @B5;
|
|
14
13
|
@item-hover-bg: #f5f5f5;
|
|
15
14
|
@error-color: @E6;
|
|
@@ -61,6 +60,7 @@
|
|
|
61
60
|
border-style: solid;
|
|
62
61
|
cursor: pointer;
|
|
63
62
|
transition: border-color .3s;
|
|
63
|
+
overflow: hidden;
|
|
64
64
|
.basic-tp-config(@upload-pic-tp);
|
|
65
65
|
.basic-p-config(@upload-pic-p);
|
|
66
66
|
|
|
@@ -90,14 +90,10 @@
|
|
|
90
90
|
height: 100%;
|
|
91
91
|
text-align: center;
|
|
92
92
|
border: @border-width-base dashed @border-color-base;
|
|
93
|
-
border-radius: @
|
|
93
|
+
border-radius: @R4;
|
|
94
94
|
cursor: pointer;
|
|
95
95
|
transition: border-color .3s;
|
|
96
96
|
|
|
97
|
-
.@{upload-prefix-cls} {
|
|
98
|
-
padding: @padding-md 0;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
97
|
&.@{upload-prefix-cls}-drag-hover:not(.@{upload-prefix-cls}-disabled) {
|
|
102
98
|
border-color: @primary-7;
|
|
103
99
|
}
|
|
@@ -253,10 +249,10 @@
|
|
|
253
249
|
}
|
|
254
250
|
|
|
255
251
|
.@{iconfont-css-prefix}-outlined-close {
|
|
256
|
-
position: absolute;
|
|
257
|
-
top: 4px;
|
|
258
|
-
right: 4px;
|
|
259
|
-
color: @text-color-secondary;
|
|
252
|
+
// position: absolute;
|
|
253
|
+
// top: 4px;
|
|
254
|
+
// right: 4px;
|
|
255
|
+
// color: @text-color-secondary;
|
|
260
256
|
font-size: 10px;
|
|
261
257
|
line-height: 0;
|
|
262
258
|
cursor: pointer;
|
|
@@ -276,7 +272,20 @@
|
|
|
276
272
|
&:hover .@{iconfont-css-prefix}-outlined-close {
|
|
277
273
|
opacity: 1;
|
|
278
274
|
}
|
|
275
|
+
.@{iconfont-css-prefix}-outlined-cloud-download {
|
|
276
|
+
transition: all .3s;
|
|
277
|
+
opacity: 0;
|
|
278
|
+
}
|
|
279
|
+
&:hover .@{iconfont-css-prefix}-outlined-cloud-download {
|
|
280
|
+
opacity: 1;
|
|
281
|
+
}
|
|
279
282
|
|
|
283
|
+
&-card-actions-btn {
|
|
284
|
+
margin-right: 6px;
|
|
285
|
+
&:last-child {
|
|
286
|
+
margin-right: 0;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
280
289
|
&:hover &-card-actions-btn {
|
|
281
290
|
opacity: 1;
|
|
282
291
|
}
|
|
@@ -287,15 +296,10 @@
|
|
|
287
296
|
&-error .@{upload-prefix-cls}-list-item-info .@{upload-prefix-cls}-text-icon .acuicon:hover {
|
|
288
297
|
color: @error-color;
|
|
289
298
|
}
|
|
290
|
-
|
|
291
299
|
&-error &-card-actions {
|
|
292
|
-
.@{
|
|
300
|
+
.@{upload-prefix-cls}-text-icon {
|
|
293
301
|
color: @error-color;
|
|
294
302
|
}
|
|
295
|
-
|
|
296
|
-
&-btn {
|
|
297
|
-
opacity: 1;
|
|
298
|
-
}
|
|
299
303
|
}
|
|
300
304
|
|
|
301
305
|
&-progress {
|
|
@@ -431,9 +435,10 @@
|
|
|
431
435
|
margin: 0 @margin-xs @margin-xs 0;
|
|
432
436
|
vertical-align: top;
|
|
433
437
|
}
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
438
|
+
&.@{upload-prefix-cls}-list {
|
|
439
|
+
&::after {
|
|
440
|
+
display: none;
|
|
441
|
+
}
|
|
437
442
|
}
|
|
438
443
|
|
|
439
444
|
.@{upload-item} {
|
package/lib/upload/utils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "acud",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.68",
|
|
4
4
|
"description": "acg react 组件库",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"pub": "npm publish"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"acud-icon": "^0.0.
|
|
28
|
+
"acud-icon": "^0.0.22",
|
|
29
29
|
"aiflow": "^2.0.4",
|
|
30
30
|
"array-tree-filter": "^2.1.0",
|
|
31
31
|
"classnames": "2.2.6",
|