@entur/fileupload 0.4.13-beta.7 → 0.4.13-beta.8
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/styles.css +80 -80
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,85 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
+
.eds-file-upload__wrapper {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
min-width: 13.75rem;
|
|
6
|
+
}
|
|
7
|
+
.eds-file-upload__input {
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
.eds-file-upload__input:focus-visible {
|
|
11
|
+
outline: 2px solid #181c56;
|
|
12
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
13
|
+
outline-offset: 0.125rem;
|
|
14
|
+
}
|
|
15
|
+
.eds-contrast .eds-file-upload__input:focus-visible {
|
|
16
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
17
|
+
}
|
|
18
|
+
.eds-file-upload__dropzone {
|
|
19
|
+
border: 0.125rem var(--components-loader-fileupload-standard-stroke-default) dashed;
|
|
20
|
+
display: inline-block;
|
|
21
|
+
color: var(--components-loader-fileupload-standard-text);
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
font-family: inherit;
|
|
24
|
+
height: 3rem;
|
|
25
|
+
padding: 0.5rem;
|
|
26
|
+
text-align: center;
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
.eds-contrast .eds-file-upload__dropzone {
|
|
30
|
+
border-color: var(--components-loader-fileupload-contrast-stroke-default);
|
|
31
|
+
color: var(--components-loader-fileupload-contrast-text);
|
|
32
|
+
}
|
|
33
|
+
.eds-file-upload__dropzone--success {
|
|
34
|
+
border-color: var(--components-loader-fileupload-standard-stroke-success);
|
|
35
|
+
border-style: solid;
|
|
36
|
+
}
|
|
37
|
+
.eds-contrast .eds-file-upload__dropzone--success {
|
|
38
|
+
border-color: var(--components-loader-fileupload-contrast-stroke-success);
|
|
39
|
+
}
|
|
40
|
+
.eds-file-upload__dropzone--error {
|
|
41
|
+
border-color: var(--components-loader-fileupload-standard-stroke-negative);
|
|
42
|
+
border-style: solid;
|
|
43
|
+
}
|
|
44
|
+
.eds-contrast .eds-file-upload__dropzone--error {
|
|
45
|
+
border-color: var(--components-loader-fileupload-contrast-stroke-negative);
|
|
46
|
+
}
|
|
47
|
+
.eds-file-upload__dropzone--reject {
|
|
48
|
+
color: var(--components-loader-fileupload-standard-text-disabled);
|
|
49
|
+
border-color: var(--components-loader-fileupload-standard-stroke-disabled);
|
|
50
|
+
opacity: 0.5;
|
|
51
|
+
}
|
|
52
|
+
.eds-contrast .eds-file-upload__dropzone--reject {
|
|
53
|
+
color: var(--components-loader-fileupload-contrast-text-disabled);
|
|
54
|
+
border-color: var(--components-loader-fileupload-contrast-stroke-disabled);
|
|
55
|
+
}
|
|
56
|
+
.eds-file-upload__file-list {
|
|
57
|
+
width: 100%;
|
|
58
|
+
}
|
|
59
|
+
.eds-file-upload__file-name {
|
|
60
|
+
display: grid;
|
|
61
|
+
grid-template-columns: auto 1fr auto;
|
|
62
|
+
align-items: center;
|
|
63
|
+
font-size: 0.875rem;
|
|
64
|
+
}
|
|
65
|
+
.eds-file-upload__file-name > .eds-file-upload__file-name-icon {
|
|
66
|
+
align-self: flex-start;
|
|
67
|
+
color: var(--components-loader-fileupload-standard-icon);
|
|
68
|
+
margin: 0.5rem 0;
|
|
69
|
+
margin-right: 0.25rem;
|
|
70
|
+
}
|
|
71
|
+
.eds-contrast .eds-file-upload__file-name > .eds-file-upload__file-name-icon {
|
|
72
|
+
color: var(--components-loader-fileupload-contrast-icon);
|
|
73
|
+
}
|
|
74
|
+
.eds-file-upload__file-name-path {
|
|
75
|
+
word-break: break-word;
|
|
76
|
+
}
|
|
77
|
+
.eds-file-upload__file-name .eds-icon-button {
|
|
78
|
+
align-self: flex-start;
|
|
79
|
+
margin-left: 0.75rem;
|
|
80
|
+
}
|
|
81
|
+
/* DO NOT CHANGE!*/
|
|
82
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
83
|
/* DO NOT CHANGE!*/
|
|
4
84
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
85
|
/* DO NOT CHANGE!*/
|
|
@@ -187,83 +267,3 @@
|
|
|
187
267
|
:root {
|
|
188
268
|
--eds-fileupload: 1;
|
|
189
269
|
}
|
|
190
|
-
/* DO NOT CHANGE!*/
|
|
191
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
192
|
-
.eds-file-upload__wrapper {
|
|
193
|
-
display: inline-block;
|
|
194
|
-
min-width: 13.75rem;
|
|
195
|
-
}
|
|
196
|
-
.eds-file-upload__input {
|
|
197
|
-
width: 100%;
|
|
198
|
-
}
|
|
199
|
-
.eds-file-upload__input:focus-visible {
|
|
200
|
-
outline: 2px solid #181c56;
|
|
201
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
202
|
-
outline-offset: 0.125rem;
|
|
203
|
-
}
|
|
204
|
-
.eds-contrast .eds-file-upload__input:focus-visible {
|
|
205
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
206
|
-
}
|
|
207
|
-
.eds-file-upload__dropzone {
|
|
208
|
-
border: 0.125rem var(--components-loader-fileupload-standard-stroke-default) dashed;
|
|
209
|
-
display: inline-block;
|
|
210
|
-
color: var(--components-loader-fileupload-standard-text);
|
|
211
|
-
cursor: pointer;
|
|
212
|
-
font-family: inherit;
|
|
213
|
-
height: 3rem;
|
|
214
|
-
padding: 0.5rem;
|
|
215
|
-
text-align: center;
|
|
216
|
-
width: 100%;
|
|
217
|
-
}
|
|
218
|
-
.eds-contrast .eds-file-upload__dropzone {
|
|
219
|
-
border-color: var(--components-loader-fileupload-contrast-stroke-default);
|
|
220
|
-
color: var(--components-loader-fileupload-contrast-text);
|
|
221
|
-
}
|
|
222
|
-
.eds-file-upload__dropzone--success {
|
|
223
|
-
border-color: var(--components-loader-fileupload-standard-stroke-success);
|
|
224
|
-
border-style: solid;
|
|
225
|
-
}
|
|
226
|
-
.eds-contrast .eds-file-upload__dropzone--success {
|
|
227
|
-
border-color: var(--components-loader-fileupload-contrast-stroke-success);
|
|
228
|
-
}
|
|
229
|
-
.eds-file-upload__dropzone--error {
|
|
230
|
-
border-color: var(--components-loader-fileupload-standard-stroke-negative);
|
|
231
|
-
border-style: solid;
|
|
232
|
-
}
|
|
233
|
-
.eds-contrast .eds-file-upload__dropzone--error {
|
|
234
|
-
border-color: var(--components-loader-fileupload-contrast-stroke-negative);
|
|
235
|
-
}
|
|
236
|
-
.eds-file-upload__dropzone--reject {
|
|
237
|
-
color: var(--components-loader-fileupload-standard-text-disabled);
|
|
238
|
-
border-color: var(--components-loader-fileupload-standard-stroke-disabled);
|
|
239
|
-
opacity: 0.5;
|
|
240
|
-
}
|
|
241
|
-
.eds-contrast .eds-file-upload__dropzone--reject {
|
|
242
|
-
color: var(--components-loader-fileupload-contrast-text-disabled);
|
|
243
|
-
border-color: var(--components-loader-fileupload-contrast-stroke-disabled);
|
|
244
|
-
}
|
|
245
|
-
.eds-file-upload__file-list {
|
|
246
|
-
width: 100%;
|
|
247
|
-
}
|
|
248
|
-
.eds-file-upload__file-name {
|
|
249
|
-
display: grid;
|
|
250
|
-
grid-template-columns: auto 1fr auto;
|
|
251
|
-
align-items: center;
|
|
252
|
-
font-size: 0.875rem;
|
|
253
|
-
}
|
|
254
|
-
.eds-file-upload__file-name > .eds-file-upload__file-name-icon {
|
|
255
|
-
align-self: flex-start;
|
|
256
|
-
color: var(--components-loader-fileupload-standard-icon);
|
|
257
|
-
margin: 0.5rem 0;
|
|
258
|
-
margin-right: 0.25rem;
|
|
259
|
-
}
|
|
260
|
-
.eds-contrast .eds-file-upload__file-name > .eds-file-upload__file-name-icon {
|
|
261
|
-
color: var(--components-loader-fileupload-contrast-icon);
|
|
262
|
-
}
|
|
263
|
-
.eds-file-upload__file-name-path {
|
|
264
|
-
word-break: break-word;
|
|
265
|
-
}
|
|
266
|
-
.eds-file-upload__file-name .eds-icon-button {
|
|
267
|
-
align-self: flex-start;
|
|
268
|
-
margin-left: 0.75rem;
|
|
269
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/fileupload",
|
|
3
|
-
"version": "0.4.13-beta.
|
|
3
|
+
"version": "0.4.13-beta.8",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/fileupload.esm.js",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.99",
|
|
31
|
-
"@entur/button": "^3.3.13-beta.
|
|
31
|
+
"@entur/button": "^3.3.13-beta.8",
|
|
32
32
|
"@entur/icons": "^8.0.0",
|
|
33
33
|
"@entur/tokens": "^3.19.1",
|
|
34
|
-
"@entur/typography": "^1.10.0-beta.
|
|
34
|
+
"@entur/typography": "^1.10.0-beta.8",
|
|
35
35
|
"@entur/utils": "^0.12.3",
|
|
36
36
|
"classnames": "^2.3.1",
|
|
37
37
|
"react-dropzone": "^11.3.4"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"dts-cli": "2.0.5"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "75f853e86839313d80d1ea5aa89fb133f42102de"
|
|
43
43
|
}
|