@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exmg/exm-form-drawer",
3
- "version": "1.0.13",
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.3",
34
- "@exmg/exm-form": "^1.0.8",
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": "a446e21753fb94b2f8995796b0cd905e82c45ed1"
50
+ "gitHead": "e7086831faea0bdfe8628b0de9b7ddcc45174558"
51
51
  }
@@ -1,2 +1 @@
1
1
  export declare const style: import("lit").CSSResult;
2
- export default style;
@@ -1,4 +1,17 @@
1
1
  import { css } from 'lit';
2
- export const style = css `paper-dialog{margin:0;padding:0;position:fixed;top:0;right:0;bottom:0;width:100%;box-shadow:none;overflow:scroll;color:var(--exm-drawer-color, var(--md-sys-color-on-surface, black));background-color:var(--exm-drawer-bg-color, var(--md-sys-color-surface-variant, white))}`;
3
- export default style;
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,2 +1 @@
1
1
  export declare const style: import("lit").CSSResult;
2
- export default style;
@@ -1,4 +1,59 @@
1
1
  import { css } from 'lit';
2
- export const style = css `:host{display:flex}:host .header{display:flex;flex-direction:row;align-items:center;margin:0;padding:20px;border-bottom:1px solid var(--exm-form-drawer-header-separator-color, var(--mdc-theme-on-surface, rgba(2, 24, 43, 0.1)))}:host .header .title{font-size:1.4rem}:host .form-elements{padding:0 0px}.header-buttons{display:flex;flex-direction:row;flex:1;justify-content:flex-end}.header-buttons>*{margin-left:20px}:host(:not([disable-sticky-header])) .header{position:sticky;top:0;background-color:var(--exm-drawer-bg-color, var(--md-sys-color-surface-variant, white));z-index:2}form{margin:0 !important;padding:.5rem 1rem;box-sizing:border-box}.error{background-color:var(--md-sys-color-error-container);color:var(--md-sys-color-on-error-container);padding:.5rem}.error>*{margin:1rem}`;
3
- export default style;
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
- }