@vaadin/upload 24.2.0-alpha9 → 24.2.0-beta2
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.2.0-
|
|
3
|
+
"version": "24.2.0-beta2",
|
|
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.2.0-
|
|
46
|
-
"@vaadin/button": "24.2.0-
|
|
47
|
-
"@vaadin/component-base": "24.2.0-
|
|
48
|
-
"@vaadin/progress-bar": "24.2.0-
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "24.2.0-
|
|
50
|
-
"@vaadin/vaadin-material-styles": "24.2.0-
|
|
51
|
-
"@vaadin/vaadin-themable-mixin": "24.2.0-
|
|
45
|
+
"@vaadin/a11y-base": "24.2.0-beta2",
|
|
46
|
+
"@vaadin/button": "24.2.0-beta2",
|
|
47
|
+
"@vaadin/component-base": "24.2.0-beta2",
|
|
48
|
+
"@vaadin/progress-bar": "24.2.0-beta2",
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "24.2.0-beta2",
|
|
50
|
+
"@vaadin/vaadin-material-styles": "24.2.0-beta2",
|
|
51
|
+
"@vaadin/vaadin-themable-mixin": "24.2.0-beta2",
|
|
52
52
|
"lit": "^2.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": "4b852f9a12d4dade7f0fb3c73b7212436cebf310"
|
|
64
64
|
}
|
|
@@ -5,12 +5,14 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import './vaadin-upload-file.js';
|
|
7
7
|
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|
|
8
|
+
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
|
|
8
9
|
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
9
10
|
import { UploadFileListMixin } from './vaadin-upload-file-list-mixin.js';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* An element used internally by `<vaadin-upload>`. Not intended to be used separately.
|
|
13
14
|
*
|
|
15
|
+
* @customElement
|
|
14
16
|
* @extends HTMLElement
|
|
15
17
|
* @mixes ThemableMixin
|
|
16
18
|
* @mixes UploadFileListMixin
|
|
@@ -45,6 +47,6 @@ class UploadFileList extends UploadFileListMixin(ThemableMixin(PolymerElement))
|
|
|
45
47
|
}
|
|
46
48
|
}
|
|
47
49
|
|
|
48
|
-
|
|
50
|
+
defineCustomElement(UploadFileList);
|
|
49
51
|
|
|
50
52
|
export { UploadFileList };
|
|
@@ -7,6 +7,7 @@ import '@vaadin/progress-bar/src/vaadin-progress-bar.js';
|
|
|
7
7
|
import './vaadin-upload-icons.js';
|
|
8
8
|
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|
|
9
9
|
import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
|
|
10
|
+
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
|
|
10
11
|
import { registerStyles, ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
11
12
|
import { UploadFileMixin } from './vaadin-upload-file-mixin.js';
|
|
12
13
|
import { uploadFileStyles } from './vaadin-upload-file-styles.js';
|
|
@@ -48,6 +49,7 @@ registerStyles('vaadin-upload-file', uploadFileStyles, { moduleId: 'vaadin-uploa
|
|
|
48
49
|
*
|
|
49
50
|
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
50
51
|
*
|
|
52
|
+
* @customElement
|
|
51
53
|
* @extends HTMLElement
|
|
52
54
|
* @mixes ControllerMixin
|
|
53
55
|
* @mixes UploadFileMixin
|
|
@@ -133,6 +135,6 @@ class UploadFile extends UploadFileMixin(ThemableMixin(ControllerMixin(PolymerEl
|
|
|
133
135
|
*/
|
|
134
136
|
}
|
|
135
137
|
|
|
136
|
-
|
|
138
|
+
defineCustomElement(UploadFile);
|
|
137
139
|
|
|
138
140
|
export { UploadFile };
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|
|
7
|
+
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
|
|
7
8
|
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* An element used internally by `<vaadin-upload>`. Not intended to be used separately.
|
|
11
12
|
*
|
|
13
|
+
* @customElement
|
|
12
14
|
* @extends HTMLElement
|
|
13
15
|
* @private
|
|
14
16
|
*/
|
|
@@ -32,6 +34,6 @@ class UploadIcon extends ThemableMixin(PolymerElement) {
|
|
|
32
34
|
}
|
|
33
35
|
}
|
|
34
36
|
|
|
35
|
-
|
|
37
|
+
defineCustomElement(UploadIcon);
|
|
36
38
|
|
|
37
39
|
export { UploadIcon };
|
package/src/vaadin-upload.js
CHANGED
|
@@ -9,6 +9,7 @@ import './vaadin-upload-icons.js';
|
|
|
9
9
|
import './vaadin-upload-file-list.js';
|
|
10
10
|
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|
|
11
11
|
import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
|
|
12
|
+
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
|
|
12
13
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
|
13
14
|
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
14
15
|
import { UploadMixin } from './vaadin-upload-mixin.js';
|
|
@@ -55,6 +56,7 @@ import { UploadMixin } from './vaadin-upload-mixin.js';
|
|
|
55
56
|
* @fires {CustomEvent} upload-retry - Fired when retry upload is requested.
|
|
56
57
|
* @fires {CustomEvent} upload-abort - Fired when upload abort is requested.
|
|
57
58
|
*
|
|
59
|
+
* @customElement
|
|
58
60
|
* @extends HTMLElement
|
|
59
61
|
* @mixes ControllerMixin
|
|
60
62
|
* @mixes ThemableMixin
|
|
@@ -212,6 +214,6 @@ class Upload extends UploadMixin(ElementMixin(ThemableMixin(ControllerMixin(Poly
|
|
|
212
214
|
*/
|
|
213
215
|
}
|
|
214
216
|
|
|
215
|
-
|
|
217
|
+
defineCustomElement(Upload);
|
|
216
218
|
|
|
217
219
|
export { Upload };
|
package/web-types.json
CHANGED