@joaogabrielsp/cs-frontend-core 0.0.3 → 0.0.4

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7287,18 +7287,18 @@ function Nf({ navigation: r, user: i, logo: a }) {
7287
7287
  /* @__PURE__ */ t("span", { children: e.title }),
7288
7288
  /* @__PURE__ */ t(bi, { className: "ml-auto h-4 w-4 transition-transform group-data-[state=open]/collapsible:rotate-90" })
7289
7289
  ] })
7290
- }), /* @__PURE__ */ t(zd, { children: /* @__PURE__ */ t(Af, { children: e.items.map((e) => /* @__PURE__ */ t(jf, { children: /* @__PURE__ */ t(f, {
7291
- to: e.url,
7292
- children: ({ isActive: n }) => /* @__PURE__ */ t(Mf, {
7293
- isActive: n,
7290
+ }), /* @__PURE__ */ t(zd, { children: /* @__PURE__ */ t(Af, { children: e.items.map((e) => /* @__PURE__ */ t(jf, { children: /* @__PURE__ */ t(Mf, {
7291
+ asChild: !0,
7292
+ children: /* @__PURE__ */ t(f, {
7293
+ to: e.url,
7294
7294
  children: /* @__PURE__ */ t("span", { children: e.title })
7295
7295
  })
7296
7296
  }) }, e.title)) }) })] })
7297
- }, e.title) : /* @__PURE__ */ t(wf, { children: /* @__PURE__ */ t(f, {
7298
- to: e.url,
7299
- children: ({ isActive: i }) => /* @__PURE__ */ n(Ef, {
7300
- isActive: i,
7301
- className: "\n transition-all\n duration-200\n\n hover:bg-sidebar-accent\n hover:text-sidebar-accent-foreground\n hover:translate-x-1\n\n data-[active=true]:bg-primary/10\n data-[active=true]:text-primary\n data-[active=true]:font-medium\n ",
7297
+ }, e.title) : /* @__PURE__ */ t(wf, { children: /* @__PURE__ */ t(Ef, {
7298
+ asChild: !0,
7299
+ className: "transition-all duration-200 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:translate-x-1 data-[active=true]:bg-primary/10 data-[active=true]:text-primary data-[active=true]:font-medium",
7300
+ children: /* @__PURE__ */ n(f, {
7301
+ to: e.url,
7302
7302
  children: [r && /* @__PURE__ */ t(r, { className: "h-4 w-4" }), /* @__PURE__ */ t("span", { children: e.title })]
7303
7303
  })
7304
7304
  }) }, e.title);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@joaogabrielsp/cs-frontend-core",
3
3
  "private": false,
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "type": "module",
6
6
 
7
7
  "main": "./dist/index.js",