@vandeurenglenn/lite-elements 0.3.39 → 0.3.41
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/exports/bundle/dialog.js +2 -2
- package/exports/bundle/pane.js +4 -2
- package/exports/dialog.js +2 -2
- package/exports/pane.js +4 -2
- package/package.json +1 -1
package/exports/bundle/dialog.js
CHANGED
|
@@ -31,8 +31,8 @@ import{_ as e,a as t,e as s}from"./custom-element-BOdKJYdz.js";import{a as o,i a
|
|
|
31
31
|
dialog {
|
|
32
32
|
pointer-events: none;
|
|
33
33
|
border: none;
|
|
34
|
-
min-width: var(
|
|
35
|
-
max-width: var(
|
|
34
|
+
min-width: var(--custom-dialog-min-width, 280px);
|
|
35
|
+
max-width: var(--custom-dialog-max-width, 560px);
|
|
36
36
|
width: fit-content;
|
|
37
37
|
border-radius: var(--md-sys-shape-corner-extra-large);
|
|
38
38
|
background-color: var(--md-sys-color-surface-container-high);
|
package/exports/bundle/pane.js
CHANGED
|
@@ -17,6 +17,8 @@ import{_ as e,a as t,e as s}from"./custom-element-BOdKJYdz.js";import{a as o,x a
|
|
|
17
17
|
max-width: var(--custom-pane-width);
|
|
18
18
|
transition: var(--md-sys-motion-easing-emphasized-accelerate) 200ms opacity,
|
|
19
19
|
var(--md-sys-motion-easing-emphasized-accelerate) 200ms transform;
|
|
20
|
+
|
|
21
|
+
--custom-pane-footer-height: 54px;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
:host([left]) {
|
|
@@ -63,13 +65,13 @@ import{_ as e,a as t,e as s}from"./custom-element-BOdKJYdz.js";import{a as o,x a
|
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
.content {
|
|
66
|
-
height: 100
|
|
68
|
+
height: calc(100% - var(--custom-pane-footer-height));
|
|
67
69
|
width: 100%;
|
|
68
70
|
overflow-y: auto;
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
.footer {
|
|
72
|
-
height:
|
|
74
|
+
height: var(--custom-pane-footer-height);
|
|
73
75
|
}
|
|
74
76
|
|
|
75
77
|
:host([right]) custom-icon-button {
|
package/exports/dialog.js
CHANGED
|
@@ -127,8 +127,8 @@ let CustomDialog = (() => {
|
|
|
127
127
|
dialog {
|
|
128
128
|
pointer-events: none;
|
|
129
129
|
border: none;
|
|
130
|
-
min-width: var(
|
|
131
|
-
max-width: var(
|
|
130
|
+
min-width: var(--custom-dialog-min-width, 280px);
|
|
131
|
+
max-width: var(--custom-dialog-max-width, 560px);
|
|
132
132
|
width: fit-content;
|
|
133
133
|
border-radius: var(--md-sys-shape-corner-extra-large);
|
|
134
134
|
background-color: var(--md-sys-color-surface-container-high);
|
package/exports/pane.js
CHANGED
|
@@ -94,6 +94,8 @@ let CustomPane = (() => {
|
|
|
94
94
|
max-width: var(--custom-pane-width);
|
|
95
95
|
transition: var(--md-sys-motion-easing-emphasized-accelerate) 200ms opacity,
|
|
96
96
|
var(--md-sys-motion-easing-emphasized-accelerate) 200ms transform;
|
|
97
|
+
|
|
98
|
+
--custom-pane-footer-height: 54px;
|
|
97
99
|
}
|
|
98
100
|
|
|
99
101
|
:host([left]) {
|
|
@@ -140,13 +142,13 @@ let CustomPane = (() => {
|
|
|
140
142
|
}
|
|
141
143
|
|
|
142
144
|
.content {
|
|
143
|
-
height: 100
|
|
145
|
+
height: calc(100% - var(--custom-pane-footer-height));
|
|
144
146
|
width: 100%;
|
|
145
147
|
overflow-y: auto;
|
|
146
148
|
}
|
|
147
149
|
|
|
148
150
|
.footer {
|
|
149
|
-
height:
|
|
151
|
+
height: var(--custom-pane-footer-height);
|
|
150
152
|
}
|
|
151
153
|
|
|
152
154
|
:host([right]) custom-icon-button {
|