sprintify-ui 0.0.157 → 0.0.159
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/dist/sprintify-ui.es.js +17 -3
- package/dist/types/src/components/BaseModalCenter.vue.d.ts +9 -0
- package/dist/types/src/components/BaseModalSide.vue.d.ts +9 -0
- package/package.json +1 -1
- package/src/components/BaseDatePicker.vue +3 -1
- package/src/components/BaseModalCenter.vue +8 -1
- package/src/components/BaseModalSide.vue +8 -1
package/dist/sprintify-ui.es.js
CHANGED
|
@@ -7058,6 +7058,10 @@ const Kh = {
|
|
|
7058
7058
|
closeOnOutsideClick: {
|
|
7059
7059
|
default: !0,
|
|
7060
7060
|
type: Boolean
|
|
7061
|
+
},
|
|
7062
|
+
clipped: {
|
|
7063
|
+
default: !1,
|
|
7064
|
+
type: Boolean
|
|
7061
7065
|
}
|
|
7062
7066
|
},
|
|
7063
7067
|
emits: ["update:modelValue"],
|
|
@@ -7112,7 +7116,10 @@ const Kh = {
|
|
|
7112
7116
|
style: ct({
|
|
7113
7117
|
maxWidth: N(i)
|
|
7114
7118
|
}),
|
|
7115
|
-
class: de(["pb-safe py-safe relative z-[1] ml-auto mr-0 flex h-full w-full flex-col rounded-t-lg bg-white text-left shadow-xl sm:rounded-t-none", [
|
|
7119
|
+
class: de(["pb-safe py-safe relative z-[1] ml-auto mr-0 flex h-full w-full flex-col rounded-t-lg bg-white text-left shadow-xl sm:rounded-t-none", [
|
|
7120
|
+
N(a).animationClasses.value,
|
|
7121
|
+
t.clipped ? "overflow-hidden" : ""
|
|
7122
|
+
]])
|
|
7116
7123
|
}, [
|
|
7117
7124
|
q("button", {
|
|
7118
7125
|
class: "absolute -top-[4.5rem] right-2 flex h-16 w-16 items-center justify-center rounded-full hover:bg-black hover:bg-opacity-20 sm:-left-[4.5rem] sm:top-2",
|
|
@@ -10233,7 +10240,7 @@ const Sm = { class: "base-date-picker relative" }, Em = { class: "pointer-events
|
|
|
10233
10240
|
function b() {
|
|
10234
10241
|
if (v) {
|
|
10235
10242
|
if (!l.value) {
|
|
10236
|
-
v.clear();
|
|
10243
|
+
v._selectedDateObj && v.clear();
|
|
10237
10244
|
return;
|
|
10238
10245
|
}
|
|
10239
10246
|
v.setDate(l.value, !1);
|
|
@@ -14726,6 +14733,10 @@ const Zv = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
14726
14733
|
showCloseButton: {
|
|
14727
14734
|
default: !0,
|
|
14728
14735
|
type: Boolean
|
|
14736
|
+
},
|
|
14737
|
+
clipped: {
|
|
14738
|
+
default: !1,
|
|
14739
|
+
type: Boolean
|
|
14729
14740
|
}
|
|
14730
14741
|
},
|
|
14731
14742
|
emits: ["update:modelValue"],
|
|
@@ -14785,7 +14796,10 @@ const Zv = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
14785
14796
|
default: ge(() => [
|
|
14786
14797
|
t.modelValue ? (R(), X("div", {
|
|
14787
14798
|
key: 0,
|
|
14788
|
-
class: de(["pb-safe relative z-[1] mx-auto block w-full rounded-t-xl bg-white sm:rounded-xl sm:shadow-xl", [
|
|
14799
|
+
class: de(["pb-safe relative z-[1] mx-auto block w-full rounded-t-xl bg-white sm:rounded-xl sm:shadow-xl", [
|
|
14800
|
+
N(r).animationClasses.value,
|
|
14801
|
+
t.clipped ? "overflow-hidden" : ""
|
|
14802
|
+
]]),
|
|
14789
14803
|
style: ct({
|
|
14790
14804
|
maxWidth: t.maxWidth
|
|
14791
14805
|
})
|
|
@@ -23,6 +23,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
23
23
|
default: boolean;
|
|
24
24
|
type: BooleanConstructor;
|
|
25
25
|
};
|
|
26
|
+
clipped: {
|
|
27
|
+
default: boolean;
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
};
|
|
26
30
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
31
|
modelValue: {
|
|
28
32
|
default: boolean;
|
|
@@ -48,10 +52,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
48
52
|
default: boolean;
|
|
49
53
|
type: BooleanConstructor;
|
|
50
54
|
};
|
|
55
|
+
clipped: {
|
|
56
|
+
default: boolean;
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
};
|
|
51
59
|
}>> & {
|
|
52
60
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
53
61
|
}, {
|
|
54
62
|
modelValue: boolean;
|
|
63
|
+
clipped: boolean;
|
|
55
64
|
maxWidth: string;
|
|
56
65
|
backdropClass: string;
|
|
57
66
|
closeOnOutsideClick: boolean;
|
|
@@ -15,6 +15,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
default: boolean;
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
};
|
|
18
|
+
clipped: {
|
|
19
|
+
default: boolean;
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
};
|
|
18
22
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
23
|
modelValue: {
|
|
20
24
|
default: boolean;
|
|
@@ -32,10 +36,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
32
36
|
default: boolean;
|
|
33
37
|
type: BooleanConstructor;
|
|
34
38
|
};
|
|
39
|
+
clipped: {
|
|
40
|
+
default: boolean;
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
};
|
|
35
43
|
}>> & {
|
|
36
44
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
37
45
|
}, {
|
|
38
46
|
modelValue: boolean;
|
|
47
|
+
clipped: boolean;
|
|
39
48
|
maxWidth: string;
|
|
40
49
|
backdropClass: string;
|
|
41
50
|
closeOnOutsideClick: boolean;
|
package/package.json
CHANGED
|
@@ -57,7 +57,10 @@
|
|
|
57
57
|
:style="{
|
|
58
58
|
maxWidth: maxWidth,
|
|
59
59
|
}"
|
|
60
|
-
:class="[
|
|
60
|
+
:class="[
|
|
61
|
+
modal.animationClasses.value,
|
|
62
|
+
clipped ? 'overflow-hidden' : '',
|
|
63
|
+
]"
|
|
61
64
|
>
|
|
62
65
|
<slot :close="modal.close" />
|
|
63
66
|
</div>
|
|
@@ -107,6 +110,10 @@ const props = defineProps({
|
|
|
107
110
|
default: true,
|
|
108
111
|
type: Boolean,
|
|
109
112
|
},
|
|
113
|
+
clipped: {
|
|
114
|
+
default: false,
|
|
115
|
+
type: Boolean,
|
|
116
|
+
},
|
|
110
117
|
});
|
|
111
118
|
|
|
112
119
|
const emit = defineEmits(['update:modelValue']);
|
|
@@ -48,7 +48,10 @@
|
|
|
48
48
|
maxWidth: realMaxWidth,
|
|
49
49
|
}"
|
|
50
50
|
class="pb-safe py-safe relative z-[1] ml-auto mr-0 flex h-full w-full flex-col rounded-t-lg bg-white text-left shadow-xl sm:rounded-t-none"
|
|
51
|
-
:class="[
|
|
51
|
+
:class="[
|
|
52
|
+
modal.animationClasses.value,
|
|
53
|
+
clipped ? 'overflow-hidden' : '',
|
|
54
|
+
]"
|
|
52
55
|
>
|
|
53
56
|
<button
|
|
54
57
|
class="absolute -top-[4.5rem] right-2 flex h-16 w-16 items-center justify-center rounded-full hover:bg-black hover:bg-opacity-20 sm:-left-[4.5rem] sm:top-2"
|
|
@@ -92,6 +95,10 @@ const props = defineProps({
|
|
|
92
95
|
default: true,
|
|
93
96
|
type: Boolean,
|
|
94
97
|
},
|
|
98
|
+
clipped: {
|
|
99
|
+
default: false,
|
|
100
|
+
type: Boolean,
|
|
101
|
+
},
|
|
95
102
|
});
|
|
96
103
|
|
|
97
104
|
const emit = defineEmits(['update:modelValue']);
|