assui 3.1.56 → 3.1.57

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 (33) hide show
  1. package/es/index.d.ts +2 -0
  2. package/es/index.js +2 -1
  3. package/es/label-select/index.js +6 -1
  4. package/es/label-select/style/index.css +1 -0
  5. package/es/label-select/style/index.less +1 -0
  6. package/es/multipart-upload/getMultipartUploadHandler.d.ts +2 -0
  7. package/es/multipart-upload/getMultipartUploadHandler.js +38 -0
  8. package/es/multipart-upload/index.d.ts +43 -0
  9. package/es/multipart-upload/index.js +220 -0
  10. package/es/multipart-upload/parse2RegexOption.d.ts +13 -0
  11. package/es/multipart-upload/parse2RegexOption.js +46 -0
  12. package/es/multipart-upload/style/index.css +1323 -0
  13. package/es/multipart-upload/style/index.d.ts +2 -0
  14. package/es/multipart-upload/style/index.js +2 -0
  15. package/es/multipart-upload/style/index.less +102 -0
  16. package/es/style/variables.less +6 -0
  17. package/lib/index.d.ts +2 -0
  18. package/lib/index.js +8 -1
  19. package/lib/label-select/index.js +6 -1
  20. package/lib/label-select/style/index.css +1 -0
  21. package/lib/label-select/style/index.less +1 -0
  22. package/lib/multipart-upload/getMultipartUploadHandler.d.ts +2 -0
  23. package/lib/multipart-upload/getMultipartUploadHandler.js +43 -0
  24. package/lib/multipart-upload/index.d.ts +43 -0
  25. package/lib/multipart-upload/index.js +263 -0
  26. package/lib/multipart-upload/parse2RegexOption.d.ts +13 -0
  27. package/lib/multipart-upload/parse2RegexOption.js +56 -0
  28. package/lib/multipart-upload/style/index.css +1323 -0
  29. package/lib/multipart-upload/style/index.d.ts +2 -0
  30. package/lib/multipart-upload/style/index.js +7 -0
  31. package/lib/multipart-upload/style/index.less +102 -0
  32. package/lib/style/variables.less +6 -0
  33. package/package.json +2 -2
@@ -0,0 +1,2 @@
1
+ import 'antd/lib/input/style';
2
+ import './index.less';
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ require("antd/lib/input/style");
7
+ require("./index.less");
@@ -0,0 +1,102 @@
1
+ @import '~antd/lib/style/index.less';
2
+ @import '../../style/variables.less';
3
+
4
+ .multipart-upload-container {
5
+ width: 130px;
6
+ height: 100px;
7
+ border-radius: 4px;
8
+ }
9
+
10
+ .multipart-uploading-file-container {
11
+ display: flex;
12
+ flex-direction: column;
13
+ align-items: center;
14
+ justify-content: center;
15
+ width: 100%;
16
+ height: 100%;
17
+ overflow: hidden;
18
+ color: @color_9f9f9f;
19
+ font-size: @font-size-sm;
20
+ background-color: @color_f5f5f5;
21
+ border-radius: 8px;
22
+ cursor: pointer;
23
+
24
+ .spotecicon {
25
+ width: 30px;
26
+ height: 30px;
27
+ color: @color_d4d4d4;
28
+ fill: @white;
29
+ }
30
+ }
31
+
32
+ .multipart-uploading-file-container-disabled {
33
+ cursor: not-allowed;
34
+ }
35
+
36
+ .multipart-uploading-container {
37
+ position: relative;
38
+ z-index: @zindex-modal-mask;
39
+ width: 100%;
40
+ height: 100%;
41
+ overflow: hidden;
42
+ background-color: @white;
43
+ }
44
+
45
+ .multipart-package-icon-files {
46
+ display: flex;
47
+ flex-direction: column;
48
+ align-items: center;
49
+ justify-content: center;
50
+ width: 100%;
51
+ height: 100%;
52
+ overflow: hidden;
53
+ }
54
+
55
+ .multipart-upload-file-name {
56
+ width: 85%;
57
+ overflow: hidden;
58
+ white-space: nowrap;
59
+ text-overflow: ellipsis;
60
+ }
61
+
62
+ .multipart-upload-progress {
63
+ position: absolute !important;
64
+ top: 50%;
65
+ left: 0;
66
+ z-index: @zindex-table-fixed;
67
+ transform: translateY(-34%);
68
+
69
+ .@{ant-prefix}-progress-outer {
70
+ margin-right: 0;
71
+ padding-right: 0;
72
+ }
73
+
74
+ .@{ant-prefix}-progress-text {
75
+ display: inline-block;
76
+ width: 100%;
77
+ text-align: center;
78
+ }
79
+ }
80
+
81
+ .multipart-package-upload-close-button {
82
+ position: absolute;
83
+ top: 0;
84
+ right: 0;
85
+ z-index: @zindex-affix;
86
+ width: 20px;
87
+ height: 20px;
88
+ text-align: center;
89
+ background-color: @color_9f9f9f;
90
+ cursor: pointer;
91
+ opacity: 0.6;
92
+
93
+ .spotecicon {
94
+ width: 15px;
95
+ height: 15px;
96
+ color: @white;
97
+ }
98
+ }
99
+
100
+ .multipart-upload-icon-files {
101
+ text-align: center;
102
+ }
@@ -22,9 +22,15 @@
22
22
  @color_dc4946: #dc4946;
23
23
  @color_a3daff: #a3daff;
24
24
  @color_bfbfbf: #bfbfbf;
25
+ @color_d4d4d4: #d4d4d4;
26
+ @color_9f9f9f: #9f9f9f;
25
27
 
28
+ @font-size-sm: 12px;
26
29
  @font-size-base: 14px;
27
30
  @font-size-lg: @font-size-base + 2px;
28
31
  @font-size_18: 18px;
29
32
 
30
33
  @font-weight-500: 500;
34
+
35
+ @zindex-affix: 10;
36
+ @zindex-modal-mask: 1010;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "3.1.56",
3
+ "version": "3.1.57",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -80,5 +80,5 @@
80
80
  "node": ">=10.0.0"
81
81
  },
82
82
  "license": "MIT",
83
- "gitHead": "98bbe97e5631319765af90865680730898aee668"
83
+ "gitHead": "000bbea5e57e79df207ce397e14135f9272f2cc5"
84
84
  }