@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/dist/components/settings-nav.d.ts.map +1 -1
- package/dist/index.js +5 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
- package/src/components/settings-nav.tsx +4 -8
package/dist/index.mjs
CHANGED
|
@@ -4152,24 +4152,17 @@ var SettingsNav = React51.forwardRef(
|
|
|
4152
4152
|
const Link2 = LinkComponent || "a";
|
|
4153
4153
|
return /* @__PURE__ */ jsx("div", { ref, className: cn("space-y-8", className), ...props, children: groups.map((group) => /* @__PURE__ */ jsxs("div", { children: [
|
|
4154
4154
|
/* @__PURE__ */ jsx("h2", { className: "text-sm font-medium text-muted-foreground uppercase tracking-wide mb-3 px-1", children: group.title }),
|
|
4155
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
4155
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3", children: group.items.map((item) => /* @__PURE__ */ jsxs(
|
|
4156
4156
|
Link2,
|
|
4157
4157
|
{
|
|
4158
4158
|
href: item.href,
|
|
4159
|
-
className: "group flex items-
|
|
4159
|
+
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",
|
|
4160
4160
|
children: [
|
|
4161
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-center w-10 h-10 rounded-
|
|
4161
|
+
/* @__PURE__ */ jsx("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", children: /* @__PURE__ */ jsx("span", { className: "text-gray-600 group-hover:text-[var(--cyan)] transition-colors [&>svg]:w-5 [&>svg]:h-5", children: item.icon }) }),
|
|
4162
4162
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
4163
4163
|
/* @__PURE__ */ jsx("h3", { className: "font-medium text-[var(--black)] group-hover:text-[var(--cyan)] transition-colors", children: item.title }),
|
|
4164
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: item.description })
|
|
4165
|
-
] })
|
|
4166
|
-
/* @__PURE__ */ jsx(
|
|
4167
|
-
CaretRight,
|
|
4168
|
-
{
|
|
4169
|
-
size: 18,
|
|
4170
|
-
className: "text-gray-300 group-hover:text-[var(--cyan)] group-hover:translate-x-0.5 transition-all shrink-0"
|
|
4171
|
-
}
|
|
4172
|
-
)
|
|
4164
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mt-0.5 leading-snug", children: item.description })
|
|
4165
|
+
] })
|
|
4173
4166
|
]
|
|
4174
4167
|
},
|
|
4175
4168
|
item.href
|