sprintify-ui 0.6.24 → 0.6.25
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
CHANGED
|
@@ -8754,6 +8754,7 @@ const Dd = /* @__PURE__ */ _e({
|
|
|
8754
8754
|
class: { type: [Array, String, null, Number, Boolean], default: "" },
|
|
8755
8755
|
loading: { type: Boolean, default: !1 },
|
|
8756
8756
|
icon: { default: "" },
|
|
8757
|
+
type: { default: "submit" },
|
|
8757
8758
|
iconPosition: { default: "start" },
|
|
8758
8759
|
size: { default: "md" },
|
|
8759
8760
|
color: { default: "" },
|
|
@@ -8800,6 +8801,7 @@ const Dd = /* @__PURE__ */ _e({
|
|
|
8800
8801
|
ref: "button",
|
|
8801
8802
|
class: fe(T(i)),
|
|
8802
8803
|
to: l.to,
|
|
8804
|
+
type: l.type,
|
|
8803
8805
|
onClick: s[0] || (s[0] = (c) => l.$emit("click"))
|
|
8804
8806
|
}, {
|
|
8805
8807
|
default: ye(() => [
|
|
@@ -8821,7 +8823,7 @@ const Dd = /* @__PURE__ */ _e({
|
|
|
8821
8823
|
l.loading ? (P(), G("div", wE, EE)) : Se("", !0)
|
|
8822
8824
|
]),
|
|
8823
8825
|
_: 3
|
|
8824
|
-
}, 8, ["class", "to"]));
|
|
8826
|
+
}, 8, ["class", "to", "type"]));
|
|
8825
8827
|
}
|
|
8826
8828
|
}), SE = ["type", "disabled", "onClick"], ig = /* @__PURE__ */ _e({
|
|
8827
8829
|
__name: "BaseButtonGroup",
|
|
@@ -5,6 +5,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
5
5
|
type: import("vue").PropType<string | false | 0 | ClassNameValue[] | null>;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
|
+
type: {
|
|
9
|
+
type: import("vue").PropType<"button" | "submit" | "reset">;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
8
12
|
to: {
|
|
9
13
|
type: import("vue").PropType<RouteLocationRaw>;
|
|
10
14
|
default: undefined;
|
|
@@ -40,6 +44,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
40
44
|
type: import("vue").PropType<string | false | 0 | ClassNameValue[] | null>;
|
|
41
45
|
default: string;
|
|
42
46
|
};
|
|
47
|
+
type: {
|
|
48
|
+
type: import("vue").PropType<"button" | "submit" | "reset">;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
43
51
|
to: {
|
|
44
52
|
type: import("vue").PropType<RouteLocationRaw>;
|
|
45
53
|
default: undefined;
|
|
@@ -72,6 +80,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
72
80
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
73
81
|
}, {
|
|
74
82
|
class: string | false | 0 | ClassNameValue[] | null;
|
|
83
|
+
type: "button" | "submit" | "reset";
|
|
75
84
|
to: RouteLocationRaw;
|
|
76
85
|
color: "" | "danger" | "success" | "warning" | "primary" | "secondary" | "info" | "black" | "white" | "secondary-outline" | "success-outline" | "danger-outline" | "warning-outline" | "info-outline" | "slate-100" | "slate-100-outline" | "slate-200" | "slate-200-outline";
|
|
77
86
|
icon: string;
|
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
ref="button"
|
|
5
5
|
:class="classes"
|
|
6
6
|
:to="to"
|
|
7
|
+
:type="type"
|
|
7
8
|
@click="$emit('click')"
|
|
8
9
|
>
|
|
9
10
|
<div
|
|
@@ -83,6 +84,7 @@ const props = withDefaults(defineProps<{
|
|
|
83
84
|
class?: ClassNameValue,
|
|
84
85
|
loading?: boolean;
|
|
85
86
|
icon?: string;
|
|
87
|
+
type?: 'button' | 'submit' | 'reset';
|
|
86
88
|
iconPosition?: 'start' | 'end';
|
|
87
89
|
size?: keyof typeof sizes;
|
|
88
90
|
color?: keyof typeof colors;
|
|
@@ -92,6 +94,7 @@ const props = withDefaults(defineProps<{
|
|
|
92
94
|
class: '',
|
|
93
95
|
loading: false,
|
|
94
96
|
icon: '',
|
|
97
|
+
type: 'submit',
|
|
95
98
|
iconPosition: 'start',
|
|
96
99
|
size: 'md',
|
|
97
100
|
color: '',
|