@vaadin/vaadin-dialog 2.5.2 → 2.6.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
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
[](https://github.com/vaadin/vaadin-dialog/releases)
|
|
3
|
-
[](https://www.webcomponents.org/element/vaadin/vaadin-dialog)
|
|
4
|
-
[](https://travis-ci.org/vaadin/vaadin-dialog)
|
|
5
|
-
[](https://coveralls.io/github/vaadin/vaadin-dialog?branch=master)
|
|
6
|
-
[](https://gitter.im/vaadin/web-components?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
|
1
|
+
# <vaadin-dialog>
|
|
7
2
|
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
> ⚠️ Starting from Vaadin 20, the source code and issues for this component are migrated to the [`vaadin/web-components`](https://github.com/vaadin/web-components/tree/master/packages/vaadin-dialog) monorepository.
|
|
4
|
+
> This repository contains the source code and releases of `<vaadin-dialog>` for the Vaadin versions 10 to 19.
|
|
10
5
|
|
|
11
|
-
|
|
6
|
+
[<vaadin-dialog>](https://vaadin.com/components/vaadin-dialog) is a Web Component for customized modal dialogs, part of the [Vaadin components](https://vaadin.com/components).
|
|
12
7
|
|
|
13
8
|
[Live Demo ↗](https://vaadin.com/components/vaadin-dialog/html-examples/dialog-basic-demos)
|
|
14
9
|
|
|
|
15
10
|
[API documentation ↗](https://vaadin.com/components/vaadin-dialog/html-api)
|
|
16
11
|
|
|
17
|
-
|
|
18
|
-
[
|
|
12
|
+
[](https://www.npmjs.com/package/@vaadin/vaadin-dialog)
|
|
13
|
+
[](https://github.com/vaadin/vaadin-dialog/releases)
|
|
14
|
+
[](https://www.webcomponents.org/element/vaadin/vaadin-dialog)
|
|
15
|
+
[](https://travis-ci.org/vaadin/vaadin-dialog)
|
|
16
|
+
[](https://coveralls.io/github/vaadin/vaadin-dialog?branch=master)
|
|
17
|
+
[](https://vaadin.com/directory/component/vaadinvaadin-dialog)
|
|
18
|
+
[](https://vaadin.com/directory/component/vaadinvaadin-dialog)
|
|
19
19
|
|
|
20
20
|
<!--
|
|
21
21
|
```
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"repository": "vaadin/vaadin-dialog",
|
|
11
11
|
"homepage": "https://vaadin.com/components",
|
|
12
12
|
"name": "@vaadin/vaadin-dialog",
|
|
13
|
-
"version": "2.
|
|
13
|
+
"version": "2.6.0",
|
|
14
14
|
"main": "vaadin-dialog.js",
|
|
15
15
|
"author": "Vaadin Ltd",
|
|
16
16
|
"license": "Apache-2.0",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"@vaadin/vaadin-element-mixin": "^2.4.1"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
"generate-typings": "gen-typescript-declarations --outDir . --verify"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
48
|
"@polymer/iron-component-page": "^4.0.0",
|
|
49
49
|
"@polymer/iron-test-helpers": "^3.0.0",
|
|
50
50
|
"@vaadin/vaadin-button": "^2.4.0",
|
|
@@ -28,6 +28,11 @@ const $_documentContainer = html`<dom-module id="lumo-dialog" theme-for="vaadin-
|
|
|
28
28
|
padding: var(--lumo-space-l);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
/* No padding */
|
|
32
|
+
:host([theme~='no-padding']) [part='content'] {
|
|
33
|
+
padding: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
31
36
|
/* Animations */
|
|
32
37
|
|
|
33
38
|
:host([opening]),
|
|
@@ -16,6 +16,11 @@ const $_documentContainer = html`<dom-module id="material-dialog" theme-for="vaa
|
|
|
16
16
|
[part="content"] {
|
|
17
17
|
padding: 24px;
|
|
18
18
|
}
|
|
19
|
+
|
|
20
|
+
/* No padding */
|
|
21
|
+
:host([theme~='no-padding']) [part='content'] {
|
|
22
|
+
padding: 0;
|
|
23
|
+
}
|
|
19
24
|
</style>
|
|
20
25
|
</template>
|
|
21
26
|
</dom-module>`;
|