@mechane-ai/elements 0.24.0 → 0.24.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.
package/dist/elements.css CHANGED
@@ -1834,7 +1834,7 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
1834
1834
  background-color: var(--x1umbgym);
1835
1835
  }
1836
1836
 
1837
- .x13rtz23[data-dragging]:not([data-disabled]), .xf2ykmf[data-highlighted], .xgm7wsc[data-checked], .xhtu79c[data-pressed], .xyg3wme:active:not([data-disabled]) {
1837
+ .x13rtz23[data-dragging]:not([data-disabled]), .x1yk04ar[aria-current="location"], .xf2ykmf[data-highlighted], .xgm7wsc[data-checked], .xhtu79c[data-pressed], .xyg3wme:active:not([data-disabled]) {
1838
1838
  background-color: var(--x7wqmh8);
1839
1839
  }
1840
1840
 
package/dist/layout.js CHANGED
@@ -248,8 +248,8 @@ function V() {
248
248
  }
249
249
  // packages/layout/src/navigation-rail.tsx
250
250
  var H = g("rail"), U = {
251
- mobileSelected: {
252
- kWkggS: "x1r7kqkb",
251
+ selected: {
252
+ kHjaVl: "x1yk04ar",
253
253
  $$css: !0
254
254
  },
255
255
  mobileLink: {
@@ -293,7 +293,7 @@ function W({ label: e, links: t, action: o }) {
293
293
  "aria-label": e,
294
294
  className: "xrvj5dj x1mt1orb x1rnidkh xunmzkg x1s01oa9",
295
295
  children: t.map(({ label: e, icon: t, isCurrent: n = !1, ...r }) => /* @__PURE__ */ w("a", {
296
- ...p(m.props(i.base, i.button, U.mobileLink, U.rounded, n && U.mobileSelected), r),
296
+ ...p(m.props(i.base, i.button, U.mobileLink, U.rounded, U.selected), r),
297
297
  "aria-current": n ? "location" : void 0,
298
298
  onClick: (e) => u(r.onClick, e),
299
299
  children: [/* @__PURE__ */ C("span", {
@@ -323,13 +323,10 @@ function W({ label: e, links: t, action: o }) {
323
323
  "aria-label": e,
324
324
  className: "x78zum5 xdt5ytf x1qjc9v5",
325
325
  children: t.map(({ label: e, icon: t, isCurrent: r = !1, ...i }) => /* @__PURE__ */ C("div", {
326
- ...{
327
- 0: { className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp" },
328
- 1: { className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp x1r7kqkb xh3r7i3" }
329
- }[!!r | 0],
326
+ className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp",
330
327
  children: /* @__PURE__ */ w(n.Root, { children: [/* @__PURE__ */ C(n.Trigger, {
331
328
  render: /* @__PURE__ */ C(a, {
332
- ...i,
329
+ ...p({ className: "x1yk04ar" }, i),
333
330
  "aria-label": e,
334
331
  "aria-current": r ? "location" : void 0,
335
332
  onClick: (e) => u(i.onClick, e)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mechane-ai/elements",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
4
4
  "description": "Elements by Mechane — React components for applications, AI interfaces, and analytical graphics",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {