@dilipod/ui 0.4.32 → 0.4.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dilipod/ui",
3
- "version": "0.4.32",
3
+ "version": "0.4.33",
4
4
  "description": "Dilipod Design System - Shared UI components and styles",
5
5
  "author": "Dilipod <hello@dilipod.com>",
6
6
  "license": "MIT",
@@ -71,9 +71,9 @@
71
71
  "@phosphor-icons/react": "^2.1.7",
72
72
  "@radix-ui/react-accordion": "^1.2.12",
73
73
  "@radix-ui/react-alert-dialog": "^1.1.15",
74
- "@radix-ui/react-avatar": "^1.1.3",
75
- "@radix-ui/react-dialog": "^1.1.14",
76
- "@radix-ui/react-dropdown-menu": "^2.1.3",
74
+ "@radix-ui/react-avatar": "^1.1.11",
75
+ "@radix-ui/react-dialog": "^1.1.15",
76
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
77
77
  "@radix-ui/react-navigation-menu": "^1.2.14",
78
78
  "@radix-ui/react-popover": "^1.1.15",
79
79
  "@radix-ui/react-radio-group": "^1.3.8",
@@ -105,7 +105,7 @@
105
105
  "@testing-library/user-event": "^14.0.0",
106
106
  "@types/react": "^19.0.0",
107
107
  "@types/react-dom": "^19.0.0",
108
- "@vitejs/plugin-react": "^4.2.0",
108
+ "@vitejs/plugin-react": "^5.1.2",
109
109
  "autoprefixer": "^10.4.21",
110
110
  "jsdom": "^23.0.0",
111
111
  "playwright": "^1.57.0",
@@ -117,6 +117,6 @@
117
117
  "tsup": "^8.5.0",
118
118
  "typescript": "^5.8.3",
119
119
  "vite": "^6.0.0",
120
- "vitest": "^1.2.0"
120
+ "vitest": "^4.0.17"
121
121
  }
122
122
  }
@@ -37,14 +37,14 @@ const SettingsNav = React.forwardRef<HTMLDivElement, SettingsNavProps>(
37
37
  <h2 className="text-sm font-medium text-muted-foreground uppercase tracking-wide mb-3 px-1">
38
38
  {group.title}
39
39
  </h2>
40
- <div className="space-y-1">
40
+ <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3">
41
41
  {group.items.map((item) => (
42
42
  <Link
43
43
  key={item.href}
44
44
  href={item.href}
45
- className="group flex items-center gap-4 p-4 rounded-sm transition-all hover:bg-gray-50 border border-transparent hover:border-gray-200"
45
+ className="group flex items-start gap-4 p-5 rounded-lg transition-all bg-white border border-gray-200 hover:border-[var(--cyan)]/40 hover:shadow-sm"
46
46
  >
47
- <div className="flex items-center justify-center w-10 h-10 rounded-sm bg-gray-100 group-hover:bg-[var(--cyan)]/10 transition-colors">
47
+ <div className="flex items-center justify-center w-10 h-10 rounded-lg bg-gray-100 group-hover:bg-[var(--cyan)]/10 transition-colors shrink-0">
48
48
  <span className="text-gray-600 group-hover:text-[var(--cyan)] transition-colors [&>svg]:w-5 [&>svg]:h-5">
49
49
  {item.icon}
50
50
  </span>
@@ -53,14 +53,10 @@ const SettingsNav = React.forwardRef<HTMLDivElement, SettingsNavProps>(
53
53
  <h3 className="font-medium text-[var(--black)] group-hover:text-[var(--cyan)] transition-colors">
54
54
  {item.title}
55
55
  </h3>
56
- <p className="text-sm text-muted-foreground">
56
+ <p className="text-sm text-muted-foreground mt-0.5 leading-snug">
57
57
  {item.description}
58
58
  </p>
59
59
  </div>
60
- <CaretRight
61
- size={18}
62
- className="text-gray-300 group-hover:text-[var(--cyan)] group-hover:translate-x-0.5 transition-all shrink-0"
63
- />
64
60
  </Link>
65
61
  ))}
66
62
  </div>