@sb1/ffe-file-upload 9.1.0 → 10.0.0
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/less/ffe-file-upload.less +7 -10
- package/package.json +4 -4
|
@@ -128,18 +128,10 @@
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
&__file-item-delete-icon {
|
|
131
|
-
right: 0;
|
|
132
|
-
content: '';
|
|
133
131
|
display: inline-block;
|
|
134
|
-
position: absolute;
|
|
135
|
-
background-color: currentColor;
|
|
136
|
-
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 200 200'%3E%3Cpath d='M18.77,0c-3.562,0-7.125,1.347-9.834,4.044l-4.429,4.439c-5.381,5.394-5.381,14.25,0,19.68l71.19,71.83-71.66,71.83c-5.381,5.394-5.381,14.25,0,19.68l4.429,4.439c5.381,5.394,14.22,5.394,19.64,0l71.66-71.83,71.65,71.83c5.381,5.394,14.23,5.394,19.65,0l4.429-4.439c5.381-5.394,5.381-14.25,0-19.68l-71.19-71.83,71.66-71.83c5.381-4.914,5.381-13.78,0-19.21l-4.429-4.423c-5.381-5.394-14.22-5.394-19.64,0l-72.13,71.34-71.17-71.83c-2.691-2.697-6.257-4.044-9.819-4.044z'/%3E%3C/svg%3E");
|
|
137
|
-
height: 14px;
|
|
138
|
-
width: 14px;
|
|
139
132
|
}
|
|
140
133
|
|
|
141
134
|
&__file-item-delete-button {
|
|
142
|
-
padding-right: @ffe-spacing-sm;
|
|
143
135
|
padding-top: @ffe-spacing-2xs;
|
|
144
136
|
margin-left: auto;
|
|
145
137
|
background-color: transparent;
|
|
@@ -151,6 +143,8 @@
|
|
|
151
143
|
font-size: 0.875rem;
|
|
152
144
|
grid-column: 3;
|
|
153
145
|
grid-row: 1;
|
|
146
|
+
display: flex;
|
|
147
|
+
align-items: center;
|
|
154
148
|
|
|
155
149
|
@media (min-width: @breakpoint-md) {
|
|
156
150
|
margin-right: @ffe-spacing-sm;
|
|
@@ -159,7 +153,6 @@
|
|
|
159
153
|
&:active,
|
|
160
154
|
&:focus,
|
|
161
155
|
&:hover {
|
|
162
|
-
text-decoration: underline;
|
|
163
156
|
color: var(--ffe-v-fileupload-btn-delete-color-hover);
|
|
164
157
|
|
|
165
158
|
~ .ffe-file-upload__file-item-filename {
|
|
@@ -175,6 +168,10 @@
|
|
|
175
168
|
> .ffe-file-upload__file-item-stencil-info-filename {
|
|
176
169
|
text-decoration: underline;
|
|
177
170
|
}
|
|
171
|
+
|
|
172
|
+
.ffe-file-upload__file-item-delete-button-text {
|
|
173
|
+
text-decoration: underline;
|
|
174
|
+
}
|
|
178
175
|
}
|
|
179
176
|
}
|
|
180
177
|
|
|
@@ -229,7 +226,7 @@
|
|
|
229
226
|
|
|
230
227
|
&__file-item-error-icon {
|
|
231
228
|
background-color: var(--ffe-v-error-message-icon-color);
|
|
232
|
-
|
|
229
|
+
color: var(--ffe-v-fileupload-error-icon-color);
|
|
233
230
|
border-radius: 50%;
|
|
234
231
|
width: 18px;
|
|
235
232
|
height: 18px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-file-upload",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "File upload module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"test": "npm run lint"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@sb1/ffe-core": "^27.1.
|
|
20
|
-
"@sb1/ffe-form": "^
|
|
19
|
+
"@sb1/ffe-core": "^27.1.1",
|
|
20
|
+
"@sb1/ffe-form": "^25.0.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@sb1/ffe-buildtool": "^0.5.0"
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "04cfeec9eb6e5f7c351765a75292f795c7024cd5"
|
|
29
29
|
}
|