sprintify-ui 0.6.66 → 0.6.68

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.
@@ -6771,6 +6771,7 @@ const Ex = {
6771
6771
  class: { type: [Array, String, null, Number, Boolean], default: "" },
6772
6772
  loading: { type: Boolean, default: !1 },
6773
6773
  icon: { default: "" },
6774
+ href: { default: void 0 },
6774
6775
  type: { default: "submit" },
6775
6776
  iconPosition: { default: "start" },
6776
6777
  size: { default: "md" },
@@ -6837,6 +6838,7 @@ const Ex = {
6837
6838
  class: de(C(l)),
6838
6839
  style: it(C(s)),
6839
6840
  to: h.to,
6841
+ href: h.href,
6840
6842
  disabled: h.disabled,
6841
6843
  type: h.type,
6842
6844
  onClick: g[0] || (g[0] = (m) => h.$emit("click"))
@@ -6860,7 +6862,7 @@ const Ex = {
6860
6862
  h.loading ? (B(), K("div", Ex, _x)) : ke("", !0)
6861
6863
  ]),
6862
6864
  _: 3
6863
- }, 8, ["class", "style", "to", "disabled", "type"]));
6865
+ }, 8, ["class", "style", "to", "href", "disabled", "type"]));
6864
6866
  }
6865
6867
  }), kx = { class: "relative transform overflow-hidden rounded-lg bg-white ring-1 ring-black ring-opacity-10 p-4 text-left shadow-xl transition-all || sm:my-8 sm:w-full sm:max-w-lg" }, Ax = { class: "sm:flex sm:items-start || sm:gap-4" }, Cx = { class: "mt-3 text-center || sm:mt-0 sm:text-left" }, Tx = {
6866
6868
  id: "modal-title",
@@ -14,6 +14,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
14
14
  type: import("vue").PropType<RouteLocationRaw>;
15
15
  default: undefined;
16
16
  };
17
+ href: {
18
+ type: import("vue").PropType<string>;
19
+ default: undefined;
20
+ };
17
21
  color: {
18
22
  type: import("vue").PropType<string>;
19
23
  default: string;
@@ -59,6 +63,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
59
63
  type: import("vue").PropType<RouteLocationRaw>;
60
64
  default: undefined;
61
65
  };
66
+ href: {
67
+ type: import("vue").PropType<string>;
68
+ default: undefined;
69
+ };
62
70
  color: {
63
71
  type: import("vue").PropType<string>;
64
72
  default: string;
@@ -93,6 +101,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
93
101
  class: string | false | 0 | ClassNameValue[] | null;
94
102
  type: "button" | "submit" | "reset";
95
103
  to: RouteLocationRaw;
104
+ href: string;
96
105
  color: string;
97
106
  icon: string;
98
107
  size: "xs" | "sm" | "md" | "lg" | "xl";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.6.66",
3
+ "version": "0.6.68",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -5,6 +5,7 @@
5
5
  :class="classes"
6
6
  :style="styles"
7
7
  :to="to"
8
+ :href="href"
8
9
  :disabled="disabled"
9
10
  :type="type"
10
11
  @click="$emit('click')"
@@ -91,6 +92,7 @@ const props = withDefaults(defineProps<{
91
92
  class?: ClassNameValue,
92
93
  loading?: boolean;
93
94
  icon?: string;
95
+ href?: string;
94
96
  type?: 'button' | 'submit' | 'reset';
95
97
  iconPosition?: 'start' | 'end';
96
98
  size?: keyof typeof sizes;
@@ -102,6 +104,7 @@ const props = withDefaults(defineProps<{
102
104
  class: '',
103
105
  loading: false,
104
106
  icon: '',
107
+ href: undefined,
105
108
  type: 'submit',
106
109
  iconPosition: 'start',
107
110
  size: 'md',