@unicef-polymer/etools-form-builder 2.1.0 → 2.1.2

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.
Files changed (87) hide show
  1. package/LICENSE +674 -674
  2. package/README.md +1 -1
  3. package/dist/assets/translations.d.ts +6 -0
  4. package/dist/assets/translations.js +67 -0
  5. package/dist/form-attachments-popup/form-attachments-popup.d.ts +86 -85
  6. package/dist/form-attachments-popup/form-attachments-popup.helper.d.ts +8 -8
  7. package/dist/form-attachments-popup/form-attachments-popup.helper.js +14 -14
  8. package/dist/form-attachments-popup/form-attachments-popup.js +255 -248
  9. package/dist/form-attachments-popup/form-attachments-popup.tpl.d.ts +3 -3
  10. package/dist/form-attachments-popup/form-attachments-popup.tpl.js +91 -89
  11. package/dist/form-attachments-popup/index.d.ts +2 -2
  12. package/dist/form-attachments-popup/index.js +2 -2
  13. package/dist/form-fields/abstract-field-base.class.d.ts +33 -28
  14. package/dist/form-fields/abstract-field-base.class.js +194 -176
  15. package/dist/form-fields/field-renderer-component.d.ts +20 -20
  16. package/dist/form-fields/field-renderer-component.js +249 -249
  17. package/dist/form-fields/index.d.ts +12 -12
  18. package/dist/form-fields/index.js +12 -12
  19. package/dist/form-fields/repeatable-fields/repeatable-attachment-field.d.ts +17 -17
  20. package/dist/form-fields/repeatable-fields/repeatable-attachment-field.js +209 -208
  21. package/dist/form-fields/repeatable-fields/repeatable-base-field.d.ts +20 -20
  22. package/dist/form-fields/repeatable-fields/repeatable-base-field.js +124 -123
  23. package/dist/form-fields/repeatable-fields/repeatable-number-field.d.ts +10 -10
  24. package/dist/form-fields/repeatable-fields/repeatable-number-field.js +67 -66
  25. package/dist/form-fields/repeatable-fields/repeatable-scale-field.d.ts +15 -15
  26. package/dist/form-fields/repeatable-fields/repeatable-scale-field.js +108 -108
  27. package/dist/form-fields/repeatable-fields/repeatable-text-field.d.ts +8 -8
  28. package/dist/form-fields/repeatable-fields/repeatable-text-field.js +53 -53
  29. package/dist/form-fields/single-fields/attachment-field.d.ts +16 -16
  30. package/dist/form-fields/single-fields/attachment-field.js +98 -97
  31. package/dist/form-fields/single-fields/base-field.d.ts +11 -11
  32. package/dist/form-fields/single-fields/base-field.js +58 -57
  33. package/dist/form-fields/single-fields/boolean-field.d.ts +8 -8
  34. package/dist/form-fields/single-fields/boolean-field.js +49 -49
  35. package/dist/form-fields/single-fields/number-field.d.ts +10 -10
  36. package/dist/form-fields/single-fields/number-field.js +67 -66
  37. package/dist/form-fields/single-fields/scale-field.d.ts +18 -18
  38. package/dist/form-fields/single-fields/scale-field.js +108 -107
  39. package/dist/form-fields/single-fields/text-field.d.ts +8 -8
  40. package/dist/form-fields/single-fields/text-field.js +54 -54
  41. package/dist/form-groups/form-abstract-group.d.ts +65 -60
  42. package/dist/form-groups/form-abstract-group.js +375 -353
  43. package/dist/form-groups/form-card.d.ts +32 -32
  44. package/dist/form-groups/form-card.js +113 -108
  45. package/dist/form-groups/form-collapsed-card.d.ts +70 -70
  46. package/dist/form-groups/form-collapsed-card.js +254 -253
  47. package/dist/form-groups/index.d.ts +3 -3
  48. package/dist/form-groups/index.js +3 -3
  49. package/dist/index.d.ts +3 -3
  50. package/dist/index.js +3 -3
  51. package/dist/lib/additional-components/confirmation-dialog.d.ts +18 -16
  52. package/dist/lib/additional-components/confirmation-dialog.js +72 -65
  53. package/dist/lib/additional-components/etools-fb-card.d.ts +21 -16
  54. package/dist/lib/additional-components/etools-fb-card.js +238 -215
  55. package/dist/lib/styles/attachments.styles.d.ts +2 -2
  56. package/dist/lib/styles/attachments.styles.js +72 -72
  57. package/dist/lib/styles/card-styles.d.ts +2 -2
  58. package/dist/lib/styles/card-styles.js +154 -154
  59. package/dist/lib/styles/dialog.styles.d.ts +2 -2
  60. package/dist/lib/styles/dialog.styles.js +85 -85
  61. package/dist/lib/styles/elevation-styles.d.ts +9 -9
  62. package/dist/lib/styles/elevation-styles.js +43 -43
  63. package/dist/lib/styles/flex-layout-classes.d.ts +2 -2
  64. package/dist/lib/styles/flex-layout-classes.js +319 -319
  65. package/dist/lib/styles/form-builder-card.styles.d.ts +2 -2
  66. package/dist/lib/styles/form-builder-card.styles.js +49 -49
  67. package/dist/lib/styles/input-styles.d.ts +2 -2
  68. package/dist/lib/styles/input-styles.js +138 -138
  69. package/dist/lib/styles/page-layout-styles.d.ts +2 -2
  70. package/dist/lib/styles/page-layout-styles.js +201 -201
  71. package/dist/lib/styles/shared-styles.d.ts +2 -2
  72. package/dist/lib/styles/shared-styles.js +70 -70
  73. package/dist/lib/types/form-builder.interfaces.d.ts +83 -83
  74. package/dist/lib/types/form-builder.interfaces.js +0 -0
  75. package/dist/lib/types/form-builder.types.d.ts +59 -59
  76. package/dist/lib/types/form-builder.types.js +0 -0
  77. package/dist/lib/types/global.types.d.ts +4 -4
  78. package/dist/lib/types/global.types.js +0 -0
  79. package/dist/lib/utils/dialog.d.ts +10 -10
  80. package/dist/lib/utils/dialog.js +21 -21
  81. package/dist/lib/utils/fire-custom-event.d.ts +1 -1
  82. package/dist/lib/utils/fire-custom-event.js +7 -7
  83. package/dist/lib/utils/translate.d.ts +1 -0
  84. package/dist/lib/utils/translate.js +9 -0
  85. package/dist/lib/utils/validations.helper.d.ts +26 -26
  86. package/dist/lib/utils/validations.helper.js +42 -35
  87. package/package.json +56 -56
@@ -1,72 +1,72 @@
1
- import { css } from 'lit-element';
2
- // language=CSS
3
- export const AttachmentsStyles = css `
4
- .file-selector-container {
5
- display: flex;
6
- flex-flow: row;
7
- align-items: center;
8
- padding: 8px 0;
9
- }
10
- .filename-container {
11
- display: flex;
12
- align-items: center;
13
- border-bottom: 1px solid var(--secondary-text-color, rgba(0, 0, 0, 0.54));
14
- margin: 0 14px 0 0;
15
- min-width: 145px;
16
- overflow-wrap: break-word;
17
- font-size: 16px;
18
- }
19
- :host([is-readonly]) .filename-container {
20
- border-bottom-color: transparent;
21
- }
22
- .filename {
23
- overflow: hidden;
24
- text-overflow: ellipsis;
25
- white-space: nowrap;
26
- }
27
- .file-icon {
28
- width: 24px;
29
- flex: none;
30
- color: var(--secondary-text-color, rgba(0, 0, 0, 0.54));
31
- }
32
- .delete-button {
33
- color: #ea4022;
34
- }
35
- .upload-button,
36
- .download-button {
37
- color: var(--primary-color);
38
- min-width: 130px;
39
- }
40
- .change-button {
41
- color: var(--secondary-text-color, rgba(0, 0, 0, 0.54));
42
- }
43
- iron-icon {
44
- margin-right: 8px;
45
- }
46
- paper-button {
47
- font-weight: 700;
48
- margin: 0 0;
49
- padding: 0 0;
50
- }
51
- .file-selector-container.with-type-dropdown {
52
- padding: 0;
53
- }
54
- .file-selector-container.with-type-dropdown etools-dropdown.type-dropdown {
55
- flex: none;
56
- width: 209px;
57
- }
58
- .file-selector-container.with-type-dropdown .filename-container {
59
- height: 32px;
60
- box-sizing: border-box;
61
- margin: 22px 0 8px;
62
- border-bottom: 1px solid var(--gray-20);
63
- }
64
- .file-selector-container.with-type-dropdown .delete-button,
65
- .file-selector-container.with-type-dropdown .download-button {
66
- margin-top: 15px;
67
- }
68
- etools-upload-multi.with-padding {
69
- padding: 12px 9px 12px 0;
70
- box-sizing: border-box;
71
- }
72
- `;
1
+ import { css } from 'lit-element';
2
+ // language=CSS
3
+ export const AttachmentsStyles = css `
4
+ .file-selector-container {
5
+ display: flex;
6
+ flex-flow: row;
7
+ align-items: center;
8
+ padding: 8px 0;
9
+ }
10
+ .filename-container {
11
+ display: flex;
12
+ align-items: center;
13
+ border-bottom: 1px solid var(--secondary-text-color, rgba(0, 0, 0, 0.54));
14
+ margin: 0 14px 0 0;
15
+ min-width: 145px;
16
+ overflow-wrap: break-word;
17
+ font-size: 16px;
18
+ }
19
+ :host([is-readonly]) .filename-container {
20
+ border-bottom-color: transparent;
21
+ }
22
+ .filename {
23
+ overflow: hidden;
24
+ text-overflow: ellipsis;
25
+ white-space: nowrap;
26
+ }
27
+ .file-icon {
28
+ width: 24px;
29
+ flex: none;
30
+ color: var(--secondary-text-color, rgba(0, 0, 0, 0.54));
31
+ }
32
+ .delete-button {
33
+ color: #ea4022;
34
+ }
35
+ .upload-button,
36
+ .download-button {
37
+ color: var(--primary-color);
38
+ min-width: 130px;
39
+ }
40
+ .change-button {
41
+ color: var(--secondary-text-color, rgba(0, 0, 0, 0.54));
42
+ }
43
+ iron-icon {
44
+ margin-right: 8px;
45
+ }
46
+ paper-button {
47
+ font-weight: 700;
48
+ margin: 0 0;
49
+ padding: 0 0;
50
+ }
51
+ .file-selector-container.with-type-dropdown {
52
+ padding: 0;
53
+ }
54
+ .file-selector-container.with-type-dropdown etools-dropdown.type-dropdown {
55
+ flex: none;
56
+ width: 209px;
57
+ }
58
+ .file-selector-container.with-type-dropdown .filename-container {
59
+ height: 32px;
60
+ box-sizing: border-box;
61
+ margin: 22px 0 8px;
62
+ border-bottom: 1px solid var(--gray-20);
63
+ }
64
+ .file-selector-container.with-type-dropdown .delete-button,
65
+ .file-selector-container.with-type-dropdown .download-button {
66
+ margin-top: 15px;
67
+ }
68
+ etools-upload-multi.with-padding {
69
+ padding: 12px 9px 12px 0;
70
+ box-sizing: border-box;
71
+ }
72
+ `;
@@ -1,2 +1,2 @@
1
- import { CSSResult } from 'lit-element';
2
- export declare const CardStyles: CSSResult;
1
+ import { CSSResult } from 'lit-element';
2
+ export declare const CardStyles: CSSResult;
@@ -1,154 +1,154 @@
1
- import { css } from 'lit-element';
2
- // language=CSS
3
- export const CardStyles = css `
4
- .card-title-box {
5
- position: relative;
6
- display: flex;
7
- align-items: center;
8
- min-height: 60px;
9
- padding: 0 10px 0 25px;
10
- }
11
-
12
- .card-title-box.with-bottom-line {
13
- border-bottom: 1px solid #9c9c9c;
14
- }
15
-
16
- .card-title-box .card-title {
17
- flex: auto;
18
- overflow: hidden;
19
- white-space: nowrap;
20
- text-overflow: ellipsis;
21
- font-size: 18px;
22
- }
23
-
24
- .card-title-box .card-title.counter {
25
- font-size: 20px;
26
- font-weight: 500;
27
- }
28
-
29
- .card-title-box .buttons-container {
30
- position: relative;
31
- display: flex;
32
- align-items: center;
33
- height: 100%;
34
- }
35
-
36
- .panel-button {
37
- opacity: 0.45;
38
- transition: 0.15s;
39
- }
40
-
41
- .panel-button:hover {
42
- opacity: 0.57;
43
- }
44
-
45
- .card-content {
46
- padding: 0 10px;
47
- }
48
-
49
- .editable-row {
50
- position: relative;
51
- }
52
-
53
- .editable-row .hover-block {
54
- display: none;
55
- position: absolute;
56
- top: 0;
57
- right: 0;
58
- bottom: 0;
59
- line-height: 48px;
60
- background-color: #eeeeee;
61
- z-index: 100;
62
- }
63
-
64
- .editable-row .hover-block paper-icon-button {
65
- color: rgba(0, 0, 0, 0.54);
66
- padding-left: 5px;
67
- }
68
-
69
- .editable-row:hover > .hover-block {
70
- display: block;
71
- cursor: pointer;
72
- }
73
-
74
- .col-data {
75
- height: auto;
76
- min-height: 47px;
77
- display: flex;
78
- align-items: center;
79
- min-width: 0;
80
- overflow: hidden;
81
- margin-right: 5px;
82
- }
83
-
84
- .col-data:last-child {
85
- margin-right: 0;
86
- }
87
-
88
- .col-data.edited-col {
89
- cursor: pointer;
90
- }
91
-
92
- .col-data .two-line-truncate {
93
- height: 38px;
94
- overflow: hidden;
95
- }
96
-
97
- .col-data.truncated,
98
- .col-data .truncate {
99
- flex-wrap: nowrap;
100
- overflow: hidden;
101
- text-overflow: ellipsis;
102
- white-space: nowrap;
103
- }
104
-
105
- .col-data .flexible-text {
106
- display: block;
107
- margin: 4px 0;
108
- }
109
-
110
- .row-details-content {
111
- font-size: 12px;
112
- padding-right: 100px;
113
- }
114
-
115
- .row-details-content .rdc-title {
116
- display: inline-block;
117
- color: var(--list-secondary-text-color, #757575);
118
- font-weight: bold;
119
- margin-bottom: 5px;
120
- }
121
-
122
- etools-data-table-row {
123
- --list-divider-color: #e0e0e0;
124
- --list-icon-color: rgba(0, 0, 0, 0.54);
125
- }
126
-
127
- etools-data-table-header {
128
- --list-divider-color: 1px solid rgba(244, 243, 242, 0.26);
129
- --list-bg-color: #f2eee8;
130
- border-bottom: 1px solid rgba(0, 0, 0, 0.26);
131
- }
132
-
133
- .card-container {
134
- padding: 0;
135
- }
136
-
137
- .remove-title {
138
- padding: 16px 25px 15px;
139
- font-size: 17px;
140
- color: rgba(0, 0, 0, 0.87);
141
- font-weight: 500;
142
- line-height: 28px;
143
- }
144
-
145
- paper-textarea {
146
- overflow: hidden;
147
- }
148
-
149
- a.link-cell {
150
- font-weight: 500;
151
- text-decoration: none;
152
- color: var(--primary-color);
153
- }
154
- `;
1
+ import { css } from 'lit-element';
2
+ // language=CSS
3
+ export const CardStyles = css `
4
+ .card-title-box {
5
+ position: relative;
6
+ display: flex;
7
+ align-items: center;
8
+ min-height: 60px;
9
+ padding: 0 10px 0 25px;
10
+ }
11
+
12
+ .card-title-box.with-bottom-line {
13
+ border-bottom: 1px solid #9c9c9c;
14
+ }
15
+
16
+ .card-title-box .card-title {
17
+ flex: auto;
18
+ overflow: hidden;
19
+ white-space: nowrap;
20
+ text-overflow: ellipsis;
21
+ font-size: 18px;
22
+ }
23
+
24
+ .card-title-box .card-title.counter {
25
+ font-size: 20px;
26
+ font-weight: 500;
27
+ }
28
+
29
+ .card-title-box .buttons-container {
30
+ position: relative;
31
+ display: flex;
32
+ align-items: center;
33
+ height: 100%;
34
+ }
35
+
36
+ .panel-button {
37
+ opacity: 0.45;
38
+ transition: 0.15s;
39
+ }
40
+
41
+ .panel-button:hover {
42
+ opacity: 0.57;
43
+ }
44
+
45
+ .card-content {
46
+ padding: 0 10px;
47
+ }
48
+
49
+ .editable-row {
50
+ position: relative;
51
+ }
52
+
53
+ .editable-row .hover-block {
54
+ display: none;
55
+ position: absolute;
56
+ top: 0;
57
+ right: 0;
58
+ bottom: 0;
59
+ line-height: 48px;
60
+ background-color: #eeeeee;
61
+ z-index: 100;
62
+ }
63
+
64
+ .editable-row .hover-block paper-icon-button {
65
+ color: rgba(0, 0, 0, 0.54);
66
+ padding-left: 5px;
67
+ }
68
+
69
+ .editable-row:hover > .hover-block {
70
+ display: block;
71
+ cursor: pointer;
72
+ }
73
+
74
+ .col-data {
75
+ height: auto;
76
+ min-height: 47px;
77
+ display: flex;
78
+ align-items: center;
79
+ min-width: 0;
80
+ overflow: hidden;
81
+ margin-right: 5px;
82
+ }
83
+
84
+ .col-data:last-child {
85
+ margin-right: 0;
86
+ }
87
+
88
+ .col-data.edited-col {
89
+ cursor: pointer;
90
+ }
91
+
92
+ .col-data .two-line-truncate {
93
+ height: 38px;
94
+ overflow: hidden;
95
+ }
96
+
97
+ .col-data.truncated,
98
+ .col-data .truncate {
99
+ flex-wrap: nowrap;
100
+ overflow: hidden;
101
+ text-overflow: ellipsis;
102
+ white-space: nowrap;
103
+ }
104
+
105
+ .col-data .flexible-text {
106
+ display: block;
107
+ margin: 4px 0;
108
+ }
109
+
110
+ .row-details-content {
111
+ font-size: 12px;
112
+ padding-right: 100px;
113
+ }
114
+
115
+ .row-details-content .rdc-title {
116
+ display: inline-block;
117
+ color: var(--list-secondary-text-color, #757575);
118
+ font-weight: bold;
119
+ margin-bottom: 5px;
120
+ }
121
+
122
+ etools-data-table-row {
123
+ --list-divider-color: #e0e0e0;
124
+ --list-icon-color: rgba(0, 0, 0, 0.54);
125
+ }
126
+
127
+ etools-data-table-header {
128
+ --list-divider-color: 1px solid rgba(244, 243, 242, 0.26);
129
+ --list-bg-color: #f2eee8;
130
+ border-bottom: 1px solid rgba(0, 0, 0, 0.26);
131
+ }
132
+
133
+ .card-container {
134
+ padding: 0;
135
+ }
136
+
137
+ .remove-title {
138
+ padding: 16px 25px 15px;
139
+ font-size: 17px;
140
+ color: rgba(0, 0, 0, 0.87);
141
+ font-weight: 500;
142
+ line-height: 28px;
143
+ }
144
+
145
+ paper-textarea {
146
+ overflow: hidden;
147
+ }
148
+
149
+ a.link-cell {
150
+ font-weight: 500;
151
+ text-decoration: none;
152
+ color: var(--primary-color);
153
+ }
154
+ `;
@@ -1,2 +1,2 @@
1
- import { TemplateResult } from 'lit-element';
2
- export declare const DialogStyles: TemplateResult;
1
+ import { TemplateResult } from 'lit-element';
2
+ export declare const DialogStyles: TemplateResult;
@@ -1,85 +1,85 @@
1
- import { html } from 'lit-element';
2
- // language=HTML
3
- export const DialogStyles = html `
4
- <style>
5
- #form-attachments-dialog etools-dialog etools-loading {
6
- font-size: 14px;
7
- }
8
-
9
- #form-attachments-dialog etools-dialog[no-padding] {
10
- --etools-dialog-scrollable: {
11
- padding-top: 0 !important;
12
- }
13
- }
14
-
15
- #form-attachments-dialog etools-dialog {
16
- --etools-dialog-primary-color: var(--primary-color);
17
- --etools-dialog-content: {
18
- min-height: 80px;
19
- padding-bottom: 8px !important;
20
- padding-top: 0px !important;
21
- }
22
- }
23
-
24
- #form-attachments-dialog etools-dialog::part(ed-scrollable) {
25
- margin-top: 0;
26
- padding-top: 12px !important;
27
- }
28
-
29
- #form-attachments-dialog etools-dialog::part(ecp-header-title) {
30
- padding: 8px 45px 8px 24px;
31
- }
32
-
33
- #form-attachments-dialog etools-dialog::part(ed-button-styles) {
34
- margin-top: 0;
35
- }
36
-
37
- #form-attachments-dialog etools-dialog > etools-loading {
38
- margin-bottom: -56px;
39
- }
40
-
41
- #form-attachments-dialog etools-content-panel {
42
- position: relative;
43
- }
44
-
45
- #form-attachments-dialog etools-content-panel::part(ecp-header-title) {
46
- font-weight: 500;
47
- line-height: 48px;
48
- padding: 0 30px;
49
- }
50
-
51
- #form-attachments-dialog etools-content-panel::part(ecp-toggle-btn) {
52
- position: absolute;
53
- top: 3px;
54
- left: 13px;
55
- width: 45px;
56
- height: 45px;
57
- }
58
-
59
- #form-attachments-dialog etools-dialog .container {
60
- padding: 14px;
61
- }
62
-
63
- #form-attachments-dialog etools-dialog .content {
64
- padding: 0 14px;
65
- }
66
-
67
- #form-attachments-dialog etools-dialog {
68
- --etools-dialog-confirmation-content: {
69
- min-height: 0;
70
- margin-top: 0;
71
- margin-right: 0;
72
- }
73
-
74
- --etools-dialog-content: {
75
- width: 100%;
76
- max-width: 100% !important;
77
-
78
- overflow-x: hidden;
79
- overflow-y: auto;
80
- display: block;
81
- margin-top: 0;
82
- }
83
- }
84
- </style>
85
- `;
1
+ import { html } from 'lit-element';
2
+ // language=HTML
3
+ export const DialogStyles = html `
4
+ <style>
5
+ #form-attachments-dialog etools-dialog etools-loading {
6
+ font-size: 14px;
7
+ }
8
+
9
+ #form-attachments-dialog etools-dialog[no-padding] {
10
+ --etools-dialog-scrollable: {
11
+ padding-top: 0 !important;
12
+ }
13
+ }
14
+
15
+ #form-attachments-dialog etools-dialog {
16
+ --etools-dialog-primary-color: var(--primary-color);
17
+ --etools-dialog-content: {
18
+ min-height: 80px;
19
+ padding-bottom: 8px !important;
20
+ padding-top: 0px !important;
21
+ }
22
+ }
23
+
24
+ #form-attachments-dialog etools-dialog::part(ed-scrollable) {
25
+ margin-top: 0;
26
+ padding-top: 12px !important;
27
+ }
28
+
29
+ #form-attachments-dialog etools-dialog::part(ecp-header-title) {
30
+ padding: 8px 45px 8px 24px;
31
+ }
32
+
33
+ #form-attachments-dialog etools-dialog::part(ed-button-styles) {
34
+ margin-top: 0;
35
+ }
36
+
37
+ #form-attachments-dialog etools-dialog > etools-loading {
38
+ margin-bottom: -56px;
39
+ }
40
+
41
+ #form-attachments-dialog etools-content-panel {
42
+ position: relative;
43
+ }
44
+
45
+ #form-attachments-dialog etools-content-panel::part(ecp-header-title) {
46
+ font-weight: 500;
47
+ line-height: 48px;
48
+ padding: 0 30px;
49
+ }
50
+
51
+ #form-attachments-dialog etools-content-panel::part(ecp-toggle-btn) {
52
+ position: absolute;
53
+ top: 3px;
54
+ left: 13px;
55
+ width: 45px;
56
+ height: 45px;
57
+ }
58
+
59
+ #form-attachments-dialog etools-dialog .container {
60
+ padding: 14px;
61
+ }
62
+
63
+ #form-attachments-dialog etools-dialog .content {
64
+ padding: 0 14px;
65
+ }
66
+
67
+ #form-attachments-dialog etools-dialog {
68
+ --etools-dialog-confirmation-content: {
69
+ min-height: 0;
70
+ margin-top: 0;
71
+ margin-right: 0;
72
+ }
73
+
74
+ --etools-dialog-content: {
75
+ width: 100%;
76
+ max-width: 100% !important;
77
+
78
+ overflow-x: hidden;
79
+ overflow-y: auto;
80
+ display: block;
81
+ margin-top: 0;
82
+ }
83
+ }
84
+ </style>
85
+ `;
@@ -1,9 +1,9 @@
1
- import { CSSResult } from 'lit-element';
2
- /**
3
- * LitElement css version for used paper-material-styles
4
- * TODO:
5
- * - use only in new litElements
6
- * - add more elevations if needed
7
- * - replace all paper-material-styles with this css module
8
- */
9
- export declare const elevationStyles: CSSResult;
1
+ import { CSSResult } from 'lit-element';
2
+ /**
3
+ * LitElement css version for used paper-material-styles
4
+ * TODO:
5
+ * - use only in new litElements
6
+ * - add more elevations if needed
7
+ * - replace all paper-material-styles with this css module
8
+ */
9
+ export declare const elevationStyles: CSSResult;