@tangle-network/sandbox-ui 0.37.0 → 0.37.1

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.
@@ -1579,19 +1579,21 @@ function DashboardLayoutInner({
1579
1579
  badge: item.badge,
1580
1580
  showLabel: showLabels
1581
1581
  }
1582
- ) : /* @__PURE__ */ jsx14(Link, { href: item.href, to: item.href, children: /* @__PURE__ */ jsx14(
1582
+ ) : /* @__PURE__ */ jsx14(
1583
1583
  RailButton,
1584
1584
  {
1585
1585
  icon: item.icon,
1586
1586
  label: item.label,
1587
1587
  isActive: activeNavId === item.id,
1588
- showLabel: showLabels
1588
+ showLabel: showLabels,
1589
+ asChild: true,
1590
+ children: /* @__PURE__ */ jsx14(Link, { href: item.href, to: item.href })
1589
1591
  }
1590
- ) })
1592
+ )
1591
1593
  ] }, item.id);
1592
1594
  }) }),
1593
1595
  /* @__PURE__ */ jsxs13(SidebarRailFooter, { children: [
1594
- onSettingsClick ? /* @__PURE__ */ jsx14(RailButton, { icon: SettingsIconSmall, label: "Settings", onClick: onSettingsClick, showLabel: showLabels }) : /* @__PURE__ */ jsx14(Link, { href: settingsHref, to: settingsHref, children: /* @__PURE__ */ jsx14(RailButton, { icon: SettingsIconSmall, label: "Settings", showLabel: showLabels }) }),
1596
+ onSettingsClick ? /* @__PURE__ */ jsx14(RailButton, { icon: SettingsIconSmall, label: "Settings", onClick: onSettingsClick, showLabel: showLabels }) : /* @__PURE__ */ jsx14(RailButton, { icon: SettingsIconSmall, label: "Settings", showLabel: showLabels, asChild: true, children: /* @__PURE__ */ jsx14(Link, { href: settingsHref, to: settingsHref }) }),
1595
1597
  railFooter,
1596
1598
  /* @__PURE__ */ jsx14(RailSeparator, {}),
1597
1599
  /* @__PURE__ */ jsx14(
package/dist/dashboard.js CHANGED
@@ -52,7 +52,7 @@ import {
52
52
  canAdminSandbox,
53
53
  parseInsufficientBalance,
54
54
  useSidebar
55
- } from "./chunk-4PCDRCDA.js";
55
+ } from "./chunk-EX3UZWLB.js";
56
56
  import {
57
57
  BillingDashboard,
58
58
  InfoPanel,
package/dist/index.js CHANGED
@@ -199,7 +199,7 @@ import {
199
199
  canAdminSandbox,
200
200
  parseInsufficientBalance,
201
201
  useSidebar
202
- } from "./chunk-4PCDRCDA.js";
202
+ } from "./chunk-EX3UZWLB.js";
203
203
  import {
204
204
  BillingDashboard,
205
205
  InfoPanel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox-ui",
3
- "version": "0.37.0",
3
+ "version": "0.37.1",
4
4
  "description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
5
5
  "repository": {
6
6
  "type": "git",