@moontra/moonui-pro 2.15.1 → 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-4 -ml-px",
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(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.15.1",
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-4 -ml-px",
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