@vaadin/vaadin-confirm-dialog 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.
- package/README.md +8 -50
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,56 +1,13 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @vaadin/vaadin-confirm-dialog
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[API documentation ↗](https://vaadin.com/components/vaadin-confirm-dialog/html-api)
|
|
3
|
+
> ⚠️ Starting from Vaadin 22, this package is deprecated.
|
|
4
|
+
> Please use [`@vaadin/confirm-dialog`](https://www.npmjs.com/package/@vaadin/confirm-dialog) instead.
|
|
6
5
|
|
|
7
|
-
|
|
6
|
+
A modal dialog web component for confirming user actions.
|
|
8
7
|
|
|
9
|
-
[
|
|
10
|
-
[](https://vaadin.com/directory/component/vaadinvaadin-confirm-dialog)
|
|
11
|
-
[](https://discord.gg/PHmkCKC)
|
|
8
|
+
> ℹ️ A commercial Vaadin [subscription](https://vaadin.com/pricing) is required to use Confirm Dialog in your project.
|
|
12
9
|
|
|
13
|
-
|
|
14
|
-
<vaadin-confirm-dialog header="Unsaved changes" confirm-text="Save" reject-text="Discard" cancel reject>
|
|
15
|
-
Do you want to save or discard your changes before navigating away?
|
|
16
|
-
</vaadin-confirm-dialog>
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
[<img src="https://raw.githubusercontent.com/vaadin/vaadin-confirm-dialog/master/screenshot.png" width="200" alt="Screenshot of vaadin-confirm-dialog">](https://vaadin.com/components/vaadin-confirm-dialog)
|
|
20
|
-
|
|
21
|
-
## Installation
|
|
22
|
-
|
|
23
|
-
Install `vaadin-confirm-dialog`:
|
|
24
|
-
|
|
25
|
-
```sh
|
|
26
|
-
npm i @vaadin/vaadin-confirm-dialog --save
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Once installed, import it in your application:
|
|
30
|
-
|
|
31
|
-
```js
|
|
32
|
-
import '@vaadin/vaadin-confirm-dialog/vaadin-confirm-dialog.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-confirm-dialog.js`
|
|
46
|
-
|
|
47
|
-
- The component with the Material theme:
|
|
48
|
-
|
|
49
|
-
`theme/material/vaadin-confirm-dialog.js`
|
|
50
|
-
|
|
51
|
-
- Alias for `theme/lumo/vaadin-confirm-dialog.js`:
|
|
52
|
-
|
|
53
|
-
`vaadin-confirm-dialog.js`
|
|
10
|
+
[Documentation + Live Demo ↗](https://vaadin.com/docs/latest/ds/components/confirm-dialog)
|
|
54
11
|
|
|
55
12
|
## Contributing
|
|
56
13
|
|
|
@@ -60,4 +17,5 @@ Read the [contributing guide](https://vaadin.com/docs/latest/guide/contributing/
|
|
|
60
17
|
|
|
61
18
|
Commercial Vaadin Developer License 4.0 (CVDLv4). For license terms, see LICENSE.
|
|
62
19
|
|
|
63
|
-
Vaadin collects development time
|
|
20
|
+
Vaadin collects usage statistics at development time to improve this product..
|
|
21
|
+
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-confirm-dialog",
|
|
3
|
-
"version": "22.0.0
|
|
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/confirm-dialog": "22.0.0
|
|
35
|
+
"@vaadin/confirm-dialog": "^22.0.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "b668e9b1a975227fbe34beb70d1cd5b03dce2348"
|
|
38
38
|
}
|