next-ui3 1.4.7 → 1.4.9

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 +1 @@
1
- .nc-tooltip{background-color:#232629;border-radius:8px;color:#fff;display:none;font:400 11px/16px Inter,-apple-system,BlinkMacSystemFont,Segoe UI,SF Pro SC,SF Pro Display,SF Pro Icons,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px 10px;position:absolute;z-index:999999}.nc-tooltip:after{border:4px solid transparent;border-top-color:#232629;bottom:-8px;content:"";left:50%;position:absolute;transform:translateX(-50%)}
1
+ .nc-tooltip{background-color:#232629;border-radius:8px;color:#fff;display:none;font:400 11px/16px Inter,-apple-system,BlinkMacSystemFont,Segoe UI,SF Pro SC,SF Pro Display,SF Pro Icons,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px 10px;position:fixed;z-index:999999}.nc-tooltip:after{border:4px solid transparent;border-top-color:#232629;bottom:-8px;content:"";left:50%;position:absolute;transform:translateX(-50%)}
@@ -77,6 +77,30 @@
77
77
  font-size: 12px;
78
78
  color: #303133;
79
79
 
80
+ &__count {
81
+ font-size: 12px;
82
+ color: #303133;
83
+ margin-bottom: 10px;
84
+
85
+ span:not(:first-child) {
86
+ margin-left: 10px;
87
+
88
+ &::before {
89
+ content: '|';
90
+ margin-right: 10px;
91
+ color: #d7d7d7;
92
+ }
93
+ }
94
+ }
95
+
96
+ &__uploaded-count {
97
+ color: var(--el-color-success);
98
+ }
99
+
100
+ &__failed-count {
101
+ color: var(--el-color-danger);
102
+ }
103
+
80
104
  &__item {
81
105
  width: 280px;
82
106
  display: flex;
@@ -96,14 +120,20 @@
96
120
  box-shadow: 0 2px 8px rgba(64, 158, 255, 0.1);
97
121
  }
98
122
 
123
+ --name-color: var(--el-text-color-primary);
99
124
  --status-color: var(--el-color-info);
100
125
 
126
+ &--pending {
127
+ --status-color: var(--el-color-warning);
128
+ }
129
+
101
130
  &--success {
102
131
  --status-color: var(--el-color-success);
103
132
  }
104
133
 
105
134
  &--error {
106
135
  --status-color: var(--el-color-danger);
136
+ --name-color: var(--el-color-danger);
107
137
  }
108
138
  }
109
139
 
@@ -130,6 +160,7 @@
130
160
  &__name {
131
161
  flex: 1;
132
162
  white-space: nowrap;
163
+ color: var(--name-color);
133
164
  }
134
165
 
135
166
  &__status {
@@ -1,5 +1,5 @@
1
1
  .nc-tooltip {
2
- position: absolute;
2
+ position: fixed;
3
3
  z-index: 999999;
4
4
  display: none;
5
5
  font: 400 11px/16px Inter,-apple-system,BlinkMacSystemFont,Segoe UI,SF Pro SC,SF Pro Display,SF Pro Icons,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;
@@ -1,12 +0,0 @@
1
- export type IFileItem = {
2
- uid: number;
3
- file?: File;
4
- url?: string;
5
- name?: string;
6
- size?: number;
7
- status: 'ready' | 'pending' | 'uploading' | 'success' | 'error' | 'removed';
8
- controller?: AbortController;
9
- progress?: number;
10
- response?: any;
11
- error?: string;
12
- };
@@ -1,12 +0,0 @@
1
- export type IFileItem = {
2
- uid: number;
3
- file?: File;
4
- url?: string;
5
- name?: string;
6
- size?: number;
7
- status: 'ready' | 'pending' | 'uploading' | 'success' | 'error' | 'removed';
8
- controller?: AbortController;
9
- progress?: number;
10
- response?: any;
11
- error?: string;
12
- };