sprintify-ui 0.6.25 → 0.6.26

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.
@@ -8751,6 +8751,7 @@ const Dd = /* @__PURE__ */ _e({
8751
8751
  __name: "BaseButton",
8752
8752
  props: {
8753
8753
  as: { default: "button" },
8754
+ disabled: { type: Boolean, default: !1 },
8754
8755
  class: { type: [Array, String, null, Number, Boolean], default: "" },
8755
8756
  loading: { type: Boolean, default: !1 },
8756
8757
  icon: { default: "" },
@@ -8801,6 +8802,7 @@ const Dd = /* @__PURE__ */ _e({
8801
8802
  ref: "button",
8802
8803
  class: fe(T(i)),
8803
8804
  to: l.to,
8805
+ disabled: l.disabled,
8804
8806
  type: l.type,
8805
8807
  onClick: s[0] || (s[0] = (c) => l.$emit("click"))
8806
8808
  }, {
@@ -8823,7 +8825,7 @@ const Dd = /* @__PURE__ */ _e({
8823
8825
  l.loading ? (P(), G("div", wE, EE)) : Se("", !0)
8824
8826
  ]),
8825
8827
  _: 3
8826
- }, 8, ["class", "to", "type"]));
8828
+ }, 8, ["class", "to", "disabled", "type"]));
8827
8829
  }
8828
8830
  }), SE = ["type", "disabled", "onClick"], ig = /* @__PURE__ */ _e({
8829
8831
  __name: "BaseButtonGroup",
@@ -21,6 +21,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
21
21
  type: import("vue").PropType<string>;
22
22
  default: string;
23
23
  };
24
+ disabled: {
25
+ type: import("vue").PropType<boolean>;
26
+ default: boolean;
27
+ };
24
28
  loading: {
25
29
  type: import("vue").PropType<boolean>;
26
30
  default: boolean;
@@ -60,6 +64,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
60
64
  type: import("vue").PropType<string>;
61
65
  default: string;
62
66
  };
67
+ disabled: {
68
+ type: import("vue").PropType<boolean>;
69
+ default: boolean;
70
+ };
63
71
  loading: {
64
72
  type: import("vue").PropType<boolean>;
65
73
  default: boolean;
@@ -84,6 +92,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
84
92
  to: RouteLocationRaw;
85
93
  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";
86
94
  icon: string;
95
+ disabled: boolean;
87
96
  loading: boolean;
88
97
  size: "xs" | "sm" | "lg" | "xl" | "md";
89
98
  as: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.6.25",
3
+ "version": "0.6.26",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -4,6 +4,7 @@
4
4
  ref="button"
5
5
  :class="classes"
6
6
  :to="to"
7
+ :disabled="disabled"
7
8
  :type="type"
8
9
  @click="$emit('click')"
9
10
  >
@@ -81,6 +82,7 @@ const colors = {
81
82
 
82
83
  const props = withDefaults(defineProps<{
83
84
  as?: string;
85
+ disabled?: boolean;
84
86
  class?: ClassNameValue,
85
87
  loading?: boolean;
86
88
  icon?: string;
@@ -91,6 +93,7 @@ const props = withDefaults(defineProps<{
91
93
  to?: RouteLocationRaw;
92
94
  }>(), {
93
95
  as: 'button',
96
+ disabled: false,
94
97
  class: '',
95
98
  loading: false,
96
99
  icon: '',