@sb1/ffe-file-upload 8.0.6 → 9.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.
@@ -228,10 +228,28 @@
228
228
  }
229
229
 
230
230
  &__file-item-error-icon {
231
- .ffe-field-error-message();
232
-
231
+ background-color: var(--ffe-v-error-message-icon-color);
232
+ text-align: center;
233
+ border-radius: 50%;
234
+ width: 18px;
235
+ height: 18px;
236
+ margin-right: 4px;
237
+ padding: 2px;
238
+ font-family: arial, sans-serif;
239
+ line-height: 16px;
240
+ display: inline-block;
233
241
  grid-column: 1;
234
242
  grid-row: 1;
243
+
244
+ &::before {
245
+ content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23ffffff" height="12" width="12" x="1650" y="1200" viewBox="0 0 200 200"%3E%3Cpath d="M99.882.64a16.562 16.562 0 0 0-16.294 16.772v93.863a16.562 16.562 0 1 0 33.102 0V17.412A16.562 16.562 0 0 0 99.882.64zm.257 162.054c-9.145 0-16.55 7.405-16.55 16.55 0 9.147 7.405 16.589 16.55 16.589 9.146 0 16.551-7.442 16.551-16.588s-7.405-16.551-16.55-16.551z"/%3E%3C/svg%3E');
246
+
247
+ .native & {
248
+ @media (prefers-color-scheme: dark) {
249
+ content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23002776" height="12" width="12" x="1650" y="1200" viewBox="0 0 200 200"%3E%3Cpath d="M99.882.64a16.562 16.562 0 0 0-16.294 16.772v93.863a16.562 16.562 0 1 0 33.102 0V17.412A16.562 16.562 0 0 0 99.882.64zm.257 162.054c-9.145 0-16.55 7.405-16.55 16.55 0 9.147 7.405 16.589 16.55 16.589 9.146 0 16.551-7.442 16.551-16.588s-7.405-16.551-16.55-16.551z"/%3E%3C/svg%3E');
250
+ }
251
+ }
252
+ }
235
253
  }
236
254
 
237
255
  &__file-item-error-info {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-file-upload",
3
- "version": "8.0.6",
3
+ "version": "9.0.0",
4
4
  "description": "File upload module",
5
5
  "license": "MIT",
6
6
  "author": "SpareBank 1",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@sb1/ffe-core": "^27.0.1",
20
- "@sb1/ffe-form": "^23.0.6"
20
+ "@sb1/ffe-form": "^24.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": "1ab898e744977e4cb4db1bee9b65369a0deeef9a"
28
+ "gitHead": "cddb926ce3d1487b0307cba35bfbdfaae5ce5604"
29
29
  }