@exmg/exm-form-drawer 1.0.13 → 1.0.14
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 +4 -4
- package/src/styles/exm-drawer-styles-css.d.ts +0 -1
- package/src/styles/exm-drawer-styles-css.js +15 -2
- package/src/styles/exm-form-drawer-styles-css.d.ts +0 -1
- package/src/styles/exm-form-drawer-styles-css.js +57 -2
- package/src/styles/exm-drawer-styles.scss +0 -15
- package/src/styles/exm-form-drawer-styles.scss +0 -55
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exmg/exm-form-drawer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
},
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@exmg/exm-button": "^1.0.
|
|
34
|
-
"@exmg/exm-form": "^1.0.
|
|
33
|
+
"@exmg/exm-button": "^1.0.4",
|
|
34
|
+
"@exmg/exm-form": "^1.0.9",
|
|
35
35
|
"@material/typography": "^14.0.0",
|
|
36
36
|
"@polymer/neon-animation": "^3.0.1",
|
|
37
37
|
"@polymer/paper-dialog": "^3.0.1",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "e7086831faea0bdfe8628b0de9b7ddcc45174558"
|
|
51
51
|
}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
-
export const style = css `
|
|
3
|
-
|
|
2
|
+
export const style = css `
|
|
3
|
+
paper-dialog {
|
|
4
|
+
margin: 0;
|
|
5
|
+
padding: 0;
|
|
6
|
+
position: fixed;
|
|
7
|
+
top: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
width: 100%;
|
|
11
|
+
box-shadow: none;
|
|
12
|
+
overflow: scroll;
|
|
13
|
+
color: var(--exm-drawer-color, var(--md-sys-color-on-surface, black));
|
|
14
|
+
background-color: var(--exm-drawer-bg-color, var(--md-sys-color-surface-variant, white));
|
|
15
|
+
}
|
|
16
|
+
`;
|
|
4
17
|
//# sourceMappingURL=exm-drawer-styles-css.js.map
|
|
@@ -1,4 +1,59 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
-
export const style = css
|
|
3
|
-
|
|
2
|
+
export const style = css `
|
|
3
|
+
:host {
|
|
4
|
+
display: flex;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host .header {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
align-items: center;
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 20px;
|
|
13
|
+
border-bottom: 1px solid
|
|
14
|
+
var(--exm-form-drawer-header-separator-color, var(--mdc-theme-on-surface, rgba(2, 24, 43, 0.1)));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host .header .title {
|
|
18
|
+
font-size: 1.4rem;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host .form-elements {
|
|
22
|
+
padding: 0 0px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.header-buttons {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
flex: 1;
|
|
29
|
+
justify-content: flex-end;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.header-buttons > * {
|
|
33
|
+
margin-left: 20px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:host(:not([disable-sticky-header])) .header {
|
|
37
|
+
position: sticky;
|
|
38
|
+
top: 0;
|
|
39
|
+
background-color: var(--exm-drawer-bg-color, var(--md-sys-color-surface-variant, white));
|
|
40
|
+
z-index: 2;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
form {
|
|
44
|
+
margin: 0 !important;
|
|
45
|
+
padding: 0.5rem 1rem;
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.error {
|
|
50
|
+
background-color: var(--md-sys-color-error-container);
|
|
51
|
+
color: var(--md-sys-color-on-error-container);
|
|
52
|
+
padding: 0.5rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.error > * {
|
|
56
|
+
margin: 1rem;
|
|
57
|
+
}
|
|
58
|
+
`;
|
|
4
59
|
//# sourceMappingURL=exm-form-drawer-styles-css.js.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
paper-dialog {
|
|
2
|
-
margin: 0;
|
|
3
|
-
padding: 0;
|
|
4
|
-
position: fixed;
|
|
5
|
-
top: 0;
|
|
6
|
-
right: 0;
|
|
7
|
-
bottom: 0;
|
|
8
|
-
width: 100%;
|
|
9
|
-
box-shadow: none;
|
|
10
|
-
overflow: scroll;
|
|
11
|
-
|
|
12
|
-
color: var(--exm-drawer-color, var(--md-sys-color-on-surface, black));
|
|
13
|
-
// background-color: var(--exm-drawer-bg-color, var(--mdc-theme-surface, $exm-drawer-bg-color));
|
|
14
|
-
background-color: var(--exm-drawer-bg-color, var(--md-sys-color-surface-variant, white));
|
|
15
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: flex;
|
|
3
|
-
|
|
4
|
-
.header {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: row;
|
|
7
|
-
align-items: center;
|
|
8
|
-
|
|
9
|
-
margin: 0;
|
|
10
|
-
padding: 20px;
|
|
11
|
-
border-bottom: 1px solid
|
|
12
|
-
var(--exm-form-drawer-header-separator-color, var(--mdc-theme-on-surface, rgba(#02182b, 0.1)));
|
|
13
|
-
|
|
14
|
-
.title {
|
|
15
|
-
font-size: 1.4rem;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.form-elements {
|
|
20
|
-
padding: 0 0px;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.header-buttons {
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: row;
|
|
27
|
-
flex: 1;
|
|
28
|
-
justify-content: flex-end;
|
|
29
|
-
|
|
30
|
-
> * {
|
|
31
|
-
margin-left: 20px;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
:host(:not([disable-sticky-header])) .header {
|
|
36
|
-
position: sticky;
|
|
37
|
-
top: 0;
|
|
38
|
-
background-color: var(--exm-drawer-bg-color, var(--md-sys-color-surface-variant, white));
|
|
39
|
-
z-index: 2;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
form {
|
|
43
|
-
margin: 0 !important;
|
|
44
|
-
padding: 0.5rem 1rem;
|
|
45
|
-
box-sizing: border-box;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.error {
|
|
49
|
-
background-color: var(--md-sys-color-error-container);
|
|
50
|
-
color: var(--md-sys-color-on-error-container);
|
|
51
|
-
padding: 0.5rem;
|
|
52
|
-
> * {
|
|
53
|
-
margin: 1rem;
|
|
54
|
-
}
|
|
55
|
-
}
|