@vaadin/crud 22.0.0-rc1 → 23.0.0-alpha2
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 +12 -13
- package/src/vaadin-crud-dialog.js +121 -0
- package/src/vaadin-crud-edit.d.ts +2 -2
- package/src/vaadin-crud-edit.js +5 -5
- package/src/vaadin-crud-grid.js +81 -30
- package/src/vaadin-crud.js +227 -71
- package/theme/lumo/vaadin-crud-styles.js +94 -105
- package/theme/material/vaadin-crud-styles.js +84 -81
- package/src/vaadin-dialog-layout.js +0 -241
- package/theme/vaadin-dialog-layout-overlay-styles.js +0 -45
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
DISCLAIMER: These are the styles of an internal implementation of a web
|
|
5
|
-
component, hence its API and implementation details might change without
|
|
6
|
-
any advise in future releases.
|
|
7
|
-
*/
|
|
8
|
-
registerStyles(
|
|
9
|
-
'vaadin-dialog-overlay',
|
|
10
|
-
css`
|
|
11
|
-
:host([theme~='layout']) [part='overlay'],
|
|
12
|
-
:host([theme~='layout']) [part='content'] {
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
padding: 0;
|
|
16
|
-
max-height: 100vh;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
:host([theme~='layout']) [part='overlay'] {
|
|
20
|
-
max-width: 54em;
|
|
21
|
-
min-width: 20em;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@media (max-width: 600px), (max-height: 600px) {
|
|
25
|
-
:host([theme~='layout']) {
|
|
26
|
-
top: 0;
|
|
27
|
-
left: 0;
|
|
28
|
-
right: 0;
|
|
29
|
-
bottom: 0;
|
|
30
|
-
padding: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:host([theme~='layout']) [part='overlay'] {
|
|
34
|
-
height: 100vh;
|
|
35
|
-
width: 100vw;
|
|
36
|
-
border-radius: 0 !important;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
:host([theme~='layout']) [part='content'] {
|
|
40
|
-
flex: 1;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
`,
|
|
44
|
-
{ moduleId: 'vaadin-dialog-layout-overlay' }
|
|
45
|
-
);
|