@xy-planning-network/trees 0.9.5 → 0.9.6
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
|
@@ -13,12 +13,14 @@ withDefaults(
|
|
|
13
13
|
destructive?: boolean
|
|
14
14
|
disabled?: boolean
|
|
15
15
|
modelValue: boolean
|
|
16
|
+
wide?: boolean
|
|
16
17
|
submitText?: string
|
|
17
18
|
title?: string
|
|
18
19
|
}>(),
|
|
19
20
|
{
|
|
20
21
|
destructive: false,
|
|
21
22
|
disabled: false,
|
|
23
|
+
wide: false,
|
|
22
24
|
submitText: "",
|
|
23
25
|
title: "",
|
|
24
26
|
}
|
|
@@ -79,7 +81,8 @@ const updateModelValue = (value: boolean) => {
|
|
|
79
81
|
leave-to="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
|
|
80
82
|
>
|
|
81
83
|
<div
|
|
82
|
-
class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle
|
|
84
|
+
class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle w-full"
|
|
85
|
+
:class="wide ? 'sm:max-w-6xl' : 'sm:max-w-2xl'"
|
|
83
86
|
>
|
|
84
87
|
<div class="block absolute top-0 right-0 pt-4 pr-4">
|
|
85
88
|
<button
|
|
@@ -15,6 +15,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
type: import("vue").PropType<boolean>;
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
|
+
wide: {
|
|
19
|
+
type: import("vue").PropType<boolean>;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
18
22
|
submitText: {
|
|
19
23
|
type: import("vue").PropType<string>;
|
|
20
24
|
default: string;
|
|
@@ -39,6 +43,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
39
43
|
type: import("vue").PropType<boolean>;
|
|
40
44
|
default: boolean;
|
|
41
45
|
};
|
|
46
|
+
wide: {
|
|
47
|
+
type: import("vue").PropType<boolean>;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
42
50
|
submitText: {
|
|
43
51
|
type: import("vue").PropType<string>;
|
|
44
52
|
default: string;
|
|
@@ -50,6 +58,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
50
58
|
title: string;
|
|
51
59
|
disabled: boolean;
|
|
52
60
|
destructive: boolean;
|
|
61
|
+
wide: boolean;
|
|
53
62
|
submitText: string;
|
|
54
63
|
}, {}>, {
|
|
55
64
|
default?(_: {}): any;
|