sprintify-ui 0.11.6 → 0.11.7

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.
@@ -24258,6 +24258,7 @@ const wI = ["onClick"], xI = ["onClick"], kI = { class: "px-1 py-1 h-full flex i
24258
24258
  (x(), oe(Wn(l.to ? "router-link" : l.href ? "a" : "div"), {
24259
24259
  to: l.to,
24260
24260
  href: l.href,
24261
+ target: l.target ?? void 0,
24261
24262
  class: "flex items-center gap-1.5"
24262
24263
  }, {
24263
24264
  default: J(() => [
@@ -24270,7 +24271,7 @@ const wI = ["onClick"], xI = ["onClick"], kI = { class: "px-1 py-1 h-full flex i
24270
24271
  I("span", eO, se(l.label), 1)
24271
24272
  ]),
24272
24273
  _: 2
24273
- }, 1032, ["to", "href"]))
24274
+ }, 1032, ["to", "href", "target"]))
24274
24275
  ]),
24275
24276
  _: 2
24276
24277
  }, 1032, ["visible", "text"]))), 128))
@@ -13,6 +13,7 @@ type __VLS_Props = {
13
13
  tooltip?: string;
14
14
  to?: RouteRecordRaw;
15
15
  href?: string;
16
+ target?: string;
16
17
  }[];
17
18
  actions?: ActionItem[];
18
19
  badge?: BaseBadgeProps;
@@ -31,6 +32,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
31
32
  tooltip?: string;
32
33
  to?: RouteRecordRaw;
33
34
  href?: string;
35
+ target?: string;
34
36
  }[];
35
37
  subtitle: string;
36
38
  badge: BaseBadgeProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.11.6",
3
+ "version": "0.11.7",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "rimraf dist && vue-tsc && vite build",
@@ -54,6 +54,7 @@
54
54
  :is="attribute.to ? 'router-link' : (attribute.href ? 'a' : 'div')"
55
55
  :to="attribute.to"
56
56
  :href="attribute.href"
57
+ :target="attribute.target ?? undefined"
57
58
  class="flex items-center gap-1.5"
58
59
  >
59
60
  <BaseIcon
@@ -107,7 +108,7 @@ const props = withDefaults(
107
108
  defineProps<{
108
109
  title: string;
109
110
  subtitle?: string;
110
- attributes?: { icon?: string; label: string; tooltip?: string, to?: RouteRecordRaw, href?: string }[];
111
+ attributes?: { icon?: string; label: string; tooltip?: string, to?: RouteRecordRaw, href?: string, target?: string }[];
111
112
  actions?: ActionItem[];
112
113
  badge?: BaseBadgeProps;
113
114
  layout?: 'default' | 'compact';