@moontra/moonui-pro 2.15.0 → 2.15.2
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
|
@@ -55067,7 +55067,7 @@ function Timeline({
|
|
|
55067
55067
|
return null;
|
|
55068
55068
|
const baseClasses = cn(
|
|
55069
55069
|
"absolute",
|
|
55070
|
-
layout === "horizontal" ? "h-0.5 top-4" : "w-0.5 left-
|
|
55070
|
+
layout === "horizontal" ? "h-0.5 top-4" : "w-0.5 left-1/2 -ml-px transform -translate-x-1/2",
|
|
55071
55071
|
gradientConnectors && "bg-gradient-to-b from-border to-transparent"
|
|
55072
55072
|
);
|
|
55073
55073
|
if (layout === "horizontal") {
|
|
@@ -55126,7 +55126,7 @@ function Timeline({
|
|
|
55126
55126
|
"aria-expanded": isNestedEvent ? isExpanded : void 0,
|
|
55127
55127
|
children: [
|
|
55128
55128
|
/* @__PURE__ */ jsxs("div", { className: cn(
|
|
55129
|
-
"flex flex-col items-center",
|
|
55129
|
+
"flex flex-col items-center relative",
|
|
55130
55130
|
layout === "horizontal" && "flex-row"
|
|
55131
55131
|
), children: [
|
|
55132
55132
|
/* @__PURE__ */ jsx(
|
|
@@ -55458,11 +55458,7 @@ function Timeline({
|
|
|
55458
55458
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
55459
55459
|
/* @__PURE__ */ jsxs(MoonUICardTitlePro, { className: "flex items-center gap-2", children: [
|
|
55460
55460
|
/* @__PURE__ */ jsx(Clock, { className: "h-5 w-5" }),
|
|
55461
|
-
"Timeline"
|
|
55462
|
-
/* @__PURE__ */ jsxs(MoonUIBadgePro, { variant: "pro", className: "ml-2", children: [
|
|
55463
|
-
/* @__PURE__ */ jsx(Sparkles, { className: "mr-1 h-3 w-3" }),
|
|
55464
|
-
"Pro"
|
|
55465
|
-
] })
|
|
55461
|
+
"Timeline"
|
|
55466
55462
|
] }),
|
|
55467
55463
|
/* @__PURE__ */ jsxs(MoonUICardDescriptionPro, { children: [
|
|
55468
55464
|
filteredAndSortedEvents.length,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.2",
|
|
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",
|
|
@@ -542,7 +542,7 @@ export function Timeline({
|
|
|
542
542
|
|
|
543
543
|
const baseClasses = cn(
|
|
544
544
|
"absolute",
|
|
545
|
-
layout === 'horizontal' ? "h-0.5 top-4" : "w-0.5 left-
|
|
545
|
+
layout === 'horizontal' ? "h-0.5 top-4" : "w-0.5 left-1/2 -ml-px transform -translate-x-1/2",
|
|
546
546
|
gradientConnectors && "bg-gradient-to-b from-border to-transparent"
|
|
547
547
|
)
|
|
548
548
|
|
|
@@ -605,7 +605,7 @@ export function Timeline({
|
|
|
605
605
|
>
|
|
606
606
|
{/* Timeline Node */}
|
|
607
607
|
<div className={cn(
|
|
608
|
-
"flex flex-col items-center",
|
|
608
|
+
"flex flex-col items-center relative",
|
|
609
609
|
layout === 'horizontal' && "flex-row"
|
|
610
610
|
)}>
|
|
611
611
|
<motion.div
|
|
@@ -1056,10 +1056,6 @@ export function Timeline({
|
|
|
1056
1056
|
<CardTitle className="flex items-center gap-2">
|
|
1057
1057
|
<Clock className="h-5 w-5" />
|
|
1058
1058
|
Timeline
|
|
1059
|
-
<Badge variant="pro" className="ml-2">
|
|
1060
|
-
<Sparkles className="mr-1 h-3 w-3" />
|
|
1061
|
-
Pro
|
|
1062
|
-
</Badge>
|
|
1063
1059
|
</CardTitle>
|
|
1064
1060
|
<CardDescription>
|
|
1065
1061
|
{filteredAndSortedEvents.length} event{filteredAndSortedEvents.length !== 1 ? 's' : ''}
|