@moontra/moonui-pro 2.36.1 → 2.36.3

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/index.mjs CHANGED
@@ -63872,18 +63872,27 @@ function TimelineInternal({
63872
63872
  /* @__PURE__ */ jsxs("div", { className: "mb-4", children: [
63873
63873
  /* @__PURE__ */ jsxs("h3", { className: "text-2xl font-bold mb-2 bg-gradient-to-r from-foreground to-foreground/70 bg-clip-text text-transparent", children: [
63874
63874
  event.title,
63875
- isMilestoneEvent && /* @__PURE__ */ jsxs(MoonUIBadgePro, { variant: "secondary", className: "ml-2 text-xs", children: [
63876
- /* @__PURE__ */ jsx(Target, { className: "h-3 w-3 mr-1" }),
63877
- "Milestone"
63878
- ] })
63875
+ isMilestoneEvent && /* @__PURE__ */ jsx(
63876
+ MoonUIBadgePro,
63877
+ {
63878
+ variant: "secondary",
63879
+ className: "ml-2 text-xs",
63880
+ leftIcon: /* @__PURE__ */ jsx(Target, { className: "h-3 w-3" }),
63881
+ children: "Milestone"
63882
+ }
63883
+ )
63879
63884
  ] }),
63880
63885
  event.description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: event.description })
63881
63886
  ] }),
63882
63887
  (customMeta?.duration || event.metadata?.tags) && /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-2 mb-4", children: [
63883
- customMeta?.duration && /* @__PURE__ */ jsxs(MoonUIBadgePro, { variant: "secondary", className: "gap-1", children: [
63884
- /* @__PURE__ */ jsx(Clock, { className: "w-3 h-3" }),
63885
- customMeta.duration
63886
- ] }),
63888
+ customMeta?.duration && /* @__PURE__ */ jsx(
63889
+ MoonUIBadgePro,
63890
+ {
63891
+ variant: "secondary",
63892
+ leftIcon: /* @__PURE__ */ jsx(Clock, { className: "w-3 h-3" }),
63893
+ children: customMeta.duration
63894
+ }
63895
+ ),
63887
63896
  event.metadata?.tags?.map((tag) => /* @__PURE__ */ jsx(MoonUIBadgePro, { variant: "outline", children: tag }, tag))
63888
63897
  ] }),
63889
63898
  event.metadata?.progress !== void 0 && /* @__PURE__ */ jsxs("div", { className: "mb-4", children: [
@@ -63927,7 +63936,7 @@ function TimelineInternal({
63927
63936
  /* @__PURE__ */ jsx("span", { children: activity })
63928
63937
  ]
63929
63938
  },
63930
- i
63939
+ `activity-${event.id}-${i}`
63931
63940
  )),
63932
63941
  customMeta.activities.length > 3 && /* @__PURE__ */ jsxs("li", { className: "text-sm text-muted-foreground/60 pl-5", children: [
63933
63942
  "+",
@@ -63952,7 +63961,7 @@ function TimelineInternal({
63952
63961
  )) })
63953
63962
  ] }),
63954
63963
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between mt-4 pt-4 border-t", children: [
63955
- /* @__PURE__ */ jsx("div", { className: "flex items-center gap-4 text-sm text-muted-foreground", children: showRelativeTime && event.date ? /* @__PURE__ */ jsx("span", { children: getRelativeTime(event.date) }) : /* @__PURE__ */ jsx("span", { children: event.date?.toLocaleDateString() }) }),
63964
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-4 text-sm text-muted-foreground", children: showRelativeTime && event.date ? /* @__PURE__ */ jsx("span", { children: getRelativeTime(event.date) }) : /* @__PURE__ */ jsx("span", { children: event.date?.toLocaleDateString("en-US") }) }),
63956
63965
  (editable || onEventEdit || onEventDelete) && /* @__PURE__ */ jsxs("div", { className: "flex gap-2", children: [
63957
63966
  onEventEdit && /* @__PURE__ */ jsx(
63958
63967
  MoonUIButtonPro,
@@ -64194,7 +64203,7 @@ function TimelineInternal({
64194
64203
  /* @__PURE__ */ jsx("span", { children: activity })
64195
64204
  ]
64196
64205
  },
64197
- i
64206
+ `activity-${event.id}-${i}`
64198
64207
  )),
64199
64208
  customMeta.activities.length > 3 && /* @__PURE__ */ jsxs("li", { className: "text-sm text-muted-foreground/60 pl-5", children: [
64200
64209
  "+",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.36.1",
3
+ "version": "2.36.3",
4
4
  "description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",