sprintify-ui 0.6.50 → 0.6.51

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.
@@ -31306,13 +31306,14 @@ const hI = ["onClick"], pI = { class: "px-2 flex items-center" }, mI = { class:
31306
31306
  }, [
31307
31307
  (B(!0), K(Je, null, dt(d.attributes, (p) => (B(), K("div", {
31308
31308
  key: p.label,
31309
- class: "flex items-center"
31309
+ class: "flex items-center gap-1.5"
31310
31310
  }, [
31311
- be(C(rt), {
31311
+ p.icon ? (B(), De(C(rt), {
31312
+ key: 0,
31312
31313
  icon: p.icon,
31313
- class: "mr-1.5 h-4 w-4 shrink-0 text-slate-600",
31314
+ class: "h-4 w-4 shrink-0 text-slate-600",
31314
31315
  "aria-hidden": "true"
31315
- }, null, 8, ["icon"]),
31316
+ }, null, 8, ["icon"])) : ke("", !0),
31316
31317
  j("span", $I, Me(p.label), 1)
31317
31318
  ]))), 128))
31318
31319
  ], 2)) : ke("", !0)
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
22
22
  };
23
23
  attributes: {
24
24
  type: import("vue").PropType<{
25
- icon: string;
25
+ icon?: string | undefined;
26
26
  label: string;
27
27
  }[]>;
28
28
  default: undefined;
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
58
58
  };
59
59
  attributes: {
60
60
  type: import("vue").PropType<{
61
- icon: string;
61
+ icon?: string | undefined;
62
62
  label: string;
63
63
  }[]>;
64
64
  default: undefined;
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
80
80
  breadcrumbs: Breadcrumb[];
81
81
  layout: 'default' | 'compact';
82
82
  attributes: {
83
- icon: string;
83
+ icon?: string;
84
84
  label: string;
85
85
  }[];
86
86
  subtitle: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.6.50",
3
+ "version": "0.6.51",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -44,11 +44,12 @@
44
44
  <div
45
45
  v-for="attribute in attributes"
46
46
  :key="attribute.label"
47
- class="flex items-center"
47
+ class="flex items-center gap-1.5"
48
48
  >
49
49
  <BaseIcon
50
+ v-if="attribute.icon"
50
51
  :icon="attribute.icon"
51
- class="mr-1.5 h-4 w-4 shrink-0 text-slate-600"
52
+ class="h-4 w-4 shrink-0 text-slate-600"
52
53
  aria-hidden="true"
53
54
  />
54
55
  <span class="text-sm text-slate-600">
@@ -113,7 +114,7 @@ const props = withDefaults(
113
114
  defineProps<{
114
115
  title: string;
115
116
  subtitle?: string;
116
- attributes?: { icon: string; label: string }[];
117
+ attributes?: { icon?: string; label: string }[];
117
118
  actions?: ActionItem[];
118
119
  badge?: BaseBadgeProps;
119
120
  layout?: 'default' | 'compact';