@dilipod/ui 0.3.1 → 0.3.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.js CHANGED
@@ -1802,7 +1802,7 @@ var SidebarNavItem = React27__namespace.forwardRef(
1802
1802
  ({ item, isActive, className, LinkComponent, ...props }, ref) => {
1803
1803
  const Icon = item.icon;
1804
1804
  const baseClassName = cn(
1805
- "flex items-center gap-3 rounded-sm px-3 py-2 text-sm transition-colors",
1805
+ "flex items-center gap-3 rounded-md px-3 py-2.5 text-sm transition-colors focus-visible:outline-none",
1806
1806
  isActive ? "bg-muted text-foreground font-medium" : "text-muted-foreground hover:text-foreground hover:bg-muted/50",
1807
1807
  className
1808
1808
  );
@@ -1816,8 +1816,8 @@ var SidebarNavItem = React27__namespace.forwardRef(
1816
1816
  className: baseClassName,
1817
1817
  ...props,
1818
1818
  children: [
1819
- /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "h-4 w-4", weight: isActive ? "fill" : "regular" }),
1820
- item.name
1819
+ /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "h-5 w-5 shrink-0", weight: isActive ? "fill" : "regular" }),
1820
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: item.name })
1821
1821
  ]
1822
1822
  }
1823
1823
  );
@@ -1830,8 +1830,8 @@ var SidebarNavItem = React27__namespace.forwardRef(
1830
1830
  className: baseClassName,
1831
1831
  ...props,
1832
1832
  children: [
1833
- /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "h-4 w-4", weight: isActive ? "fill" : "regular" }),
1834
- item.name
1833
+ /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "h-5 w-5 shrink-0", weight: isActive ? "fill" : "regular" }),
1834
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: item.name })
1835
1835
  ]
1836
1836
  }
1837
1837
  );
@@ -1881,7 +1881,7 @@ var Sidebar = React27__namespace.forwardRef(
1881
1881
  ]
1882
1882
  }
1883
1883
  ) }),
1884
- mainNav.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "flex-1 px-3 space-y-1", children: mainNav.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
1884
+ mainNav.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "flex-1 px-3 pt-4 space-y-1", children: mainNav.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
1885
1885
  SidebarNavItem,
1886
1886
  {
1887
1887
  item,