@vaadin/vaadin-upload 22.0.0-alpha9 → 22.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.
Files changed (2) hide show
  1. package/README.md +7 -51
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,56 +1,11 @@
1
- # <vaadin-upload>
1
+ # @vaadin/vaadin-upload
2
2
 
3
- [Live Demo ↗](https://vaadin.com/components/vaadin-upload/html-examples/upload-basic-demos)
4
- |
5
- [API documentation ↗](https://vaadin.com/components/vaadin-upload/html-api)
3
+ > ⚠️  Starting from Vaadin 22, this package is deprecated.
4
+ > Please use [`@vaadin/upload`](https://www.npmjs.com/package/@vaadin/upload) instead.
6
5
 
7
- [<vaadin-upload>](https://vaadin.com/components/vaadin-upload) is a Web Component for uploading files, part of the [Vaadin components](https://vaadin.com/components).
6
+ A web component for uploading files.
8
7
 
9
- [![npm version](https://badgen.net/npm/v/@vaadin/vaadin-upload)](https://www.npmjs.com/package/@vaadin/vaadin-upload)
10
- [![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/vaadinvaadin-upload)
11
- [![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC)
12
-
13
- ```html
14
- <vaadin-upload accept=".pdf">
15
- <span slot="drop-label">Drop your favourite Novels here (PDF files only)</span>
16
- </vaadin-upload>
17
- ```
18
-
19
- [<img src="https://raw.githubusercontent.com/vaadin/vaadin-upload/master/screenshot.png" alt="Screenshot of vaadin-upload" width="670" />](https://vaadin.com/components/vaadin-upload)
20
-
21
- ## Installation
22
-
23
- Install `vaadin-upload`:
24
-
25
- ```sh
26
- npm i @vaadin/vaadin-upload --save
27
- ```
28
-
29
- Once installed, import it in your application:
30
-
31
- ```js
32
- import '@vaadin/vaadin-upload/vaadin-upload.js';
33
- ```
34
-
35
- ## Getting started
36
-
37
- Vaadin components use the Lumo theme by default.
38
-
39
- To use the Material theme, import the correspondent file from the `theme/material` folder.
40
-
41
- ## Entry points
42
-
43
- - The component with the Lumo theme:
44
-
45
- `theme/lumo/vaadin-upload.js`
46
-
47
- - The component with the Material theme:
48
-
49
- `theme/material/vaadin-upload.js`
50
-
51
- - Alias for `theme/lumo/vaadin-upload.js`:
52
-
53
- `vaadin-upload.js`
8
+ [Documentation + Live Demo ↗](https://vaadin.com/docs/latest/ds/components/upload)
54
9
 
55
10
  ## Contributing
56
11
 
@@ -60,4 +15,5 @@ Read the [contributing guide](https://vaadin.com/docs/latest/guide/contributing/
60
15
 
61
16
  Apache License 2.0
62
17
 
63
- Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
18
+ Vaadin collects usage statistics at development time to improve this product..
19
+ For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/vaadin-upload",
3
- "version": "22.0.0-alpha9",
3
+ "version": "22.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,7 +32,7 @@
32
32
  "polymer"
33
33
  ],
34
34
  "dependencies": {
35
- "@vaadin/upload": "22.0.0-alpha9"
35
+ "@vaadin/upload": "^22.0.0"
36
36
  },
37
- "gitHead": "6e8c899dc65918f97e3c0acb2076122c4b2ef274"
37
+ "gitHead": "b668e9b1a975227fbe34beb70d1cd5b03dce2348"
38
38
  }