@vaadin/upload 24.5.0-alpha4 → 24.5.0-alpha6
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/upload",
|
|
3
|
-
"version": "24.5.0-
|
|
3
|
+
"version": "24.5.0-alpha6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
44
44
|
"@polymer/polymer": "^3.0.0",
|
|
45
|
-
"@vaadin/a11y-base": "24.5.0-
|
|
46
|
-
"@vaadin/button": "24.5.0-
|
|
47
|
-
"@vaadin/component-base": "24.5.0-
|
|
48
|
-
"@vaadin/progress-bar": "24.5.0-
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "24.5.0-
|
|
50
|
-
"@vaadin/vaadin-material-styles": "24.5.0-
|
|
51
|
-
"@vaadin/vaadin-themable-mixin": "24.5.0-
|
|
45
|
+
"@vaadin/a11y-base": "24.5.0-alpha6",
|
|
46
|
+
"@vaadin/button": "24.5.0-alpha6",
|
|
47
|
+
"@vaadin/component-base": "24.5.0-alpha6",
|
|
48
|
+
"@vaadin/progress-bar": "24.5.0-alpha6",
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "24.5.0-alpha6",
|
|
50
|
+
"@vaadin/vaadin-material-styles": "24.5.0-alpha6",
|
|
51
|
+
"@vaadin/vaadin-themable-mixin": "24.5.0-alpha6",
|
|
52
52
|
"lit": "^3.0.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"web-types.json",
|
|
61
61
|
"web-types.lit.json"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "c5f541dbe961a994730d4c60472ae957bf6b4c12"
|
|
64
64
|
}
|
|
@@ -697,7 +697,9 @@ export const UploadMixin = (superClass) =>
|
|
|
697
697
|
|
|
698
698
|
const formData = new FormData();
|
|
699
699
|
|
|
700
|
-
|
|
700
|
+
if (!file.uploadTarget) {
|
|
701
|
+
file.uploadTarget = this.target || '';
|
|
702
|
+
}
|
|
701
703
|
file.formDataName = this.formDataName;
|
|
702
704
|
|
|
703
705
|
const evt = this.dispatchEvent(
|
|
@@ -21,7 +21,9 @@ registerStyles(
|
|
|
21
21
|
border: 1px dashed var(--lumo-contrast-20pct);
|
|
22
22
|
border-radius: var(--lumo-border-radius-l);
|
|
23
23
|
padding: var(--lumo-space-m);
|
|
24
|
-
transition:
|
|
24
|
+
transition:
|
|
25
|
+
background-color 0.6s,
|
|
26
|
+
border-color 0.6s;
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
[part='drop-label'] {
|
|
@@ -35,7 +37,9 @@ registerStyles(
|
|
|
35
37
|
:host([dragover-valid]) {
|
|
36
38
|
border-color: var(--lumo-primary-color-50pct);
|
|
37
39
|
background: var(--lumo-primary-color-10pct);
|
|
38
|
-
transition:
|
|
40
|
+
transition:
|
|
41
|
+
background-color 0.1s,
|
|
42
|
+
border-color 0.1s;
|
|
39
43
|
}
|
|
40
44
|
|
|
41
45
|
:host([dragover-valid]) [part='drop-label'] {
|
|
@@ -63,7 +63,9 @@ registerStyles(
|
|
|
63
63
|
background-color: var(--material-primary-color);
|
|
64
64
|
opacity: 0;
|
|
65
65
|
transform: translate(-50%, -50%) scale(0);
|
|
66
|
-
transition:
|
|
66
|
+
transition:
|
|
67
|
+
transform 0s cubic-bezier(0.075, 0.82, 0.165, 1),
|
|
68
|
+
opacity 0.4s linear;
|
|
67
69
|
transition-delay: 0.4s, 0s;
|
|
68
70
|
}
|
|
69
71
|
|
|
@@ -210,7 +212,9 @@ registerStyles(
|
|
|
210
212
|
background-color: var(--material-body-text-color);
|
|
211
213
|
transform: scale(0);
|
|
212
214
|
opacity: 0;
|
|
213
|
-
transition:
|
|
215
|
+
transition:
|
|
216
|
+
transform 0.08s,
|
|
217
|
+
opacity 0.01s;
|
|
214
218
|
will-change: transform, opacity;
|
|
215
219
|
}
|
|
216
220
|
|
package/web-types.json
CHANGED