@dataloop-ai/components 0.13.17 → 0.13.18
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
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
}"
|
|
19
19
|
:class="{
|
|
20
20
|
'dialog-wrapper--fullscreen': fullscreen,
|
|
21
|
+
'dialog-wrapper--fullheight': fullHeight,
|
|
21
22
|
'dialog-wrapper--right': position === 'right',
|
|
22
23
|
'dialog-wrapper--left': position === 'left'
|
|
23
24
|
}"
|
|
@@ -30,7 +31,10 @@
|
|
|
30
31
|
</div>
|
|
31
32
|
<div
|
|
32
33
|
class="content"
|
|
33
|
-
:class="{
|
|
34
|
+
:class="{
|
|
35
|
+
'content--fullscreen': fullscreen,
|
|
36
|
+
'content--fullheight': fullHeight
|
|
37
|
+
}"
|
|
34
38
|
>
|
|
35
39
|
<slot name="body" />
|
|
36
40
|
</div>
|
|
@@ -59,6 +63,7 @@ export default defineComponent({
|
|
|
59
63
|
width: { type: [Number, String], default: 400 },
|
|
60
64
|
height: { type: [Number, String], default: 'fit-content' },
|
|
61
65
|
fullscreen: Boolean,
|
|
66
|
+
fullHeight: Boolean,
|
|
62
67
|
separators: { type: Boolean, default: true },
|
|
63
68
|
position: {
|
|
64
69
|
type: String as PropType<'left' | 'right' | 'center'>,
|
|
@@ -178,6 +183,11 @@ export default defineComponent({
|
|
|
178
183
|
height: 100vh !important;
|
|
179
184
|
border-radius: 0px;
|
|
180
185
|
}
|
|
186
|
+
&--fullheight {
|
|
187
|
+
margin: 0;
|
|
188
|
+
height: 100vh !important;
|
|
189
|
+
border-radius: 0px;
|
|
190
|
+
}
|
|
181
191
|
&--right {
|
|
182
192
|
position: absolute !important;
|
|
183
193
|
right: 0;
|
|
@@ -202,6 +212,9 @@ export default defineComponent({
|
|
|
202
212
|
&--fullscreen {
|
|
203
213
|
flex-grow: 1 !important;
|
|
204
214
|
}
|
|
215
|
+
&--fullheight {
|
|
216
|
+
flex-grow: 1 !important;
|
|
217
|
+
}
|
|
205
218
|
}
|
|
206
219
|
|
|
207
220
|
.footer {
|