achery-ui 0.5.2 → 0.5.3
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/index.cjs +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -798,9 +798,8 @@ function NavGroup({ label: label4, items, activeId, onItemClick, renderLink, col
|
|
|
798
798
|
] });
|
|
799
799
|
}
|
|
800
800
|
function NavItem({ item: item2, active, onClick, renderLink, collapsed }) {
|
|
801
|
-
const glyphStyle = active ? { filter: "invert(1)" } : void 0;
|
|
802
801
|
const content3 = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
803
|
-
item2.glyph ? /* @__PURE__ */ jsxRuntime.jsx(Glyph, { name: item2.glyph, size: 14,
|
|
802
|
+
item2.glyph ? /* @__PURE__ */ jsxRuntime.jsx(Glyph, { name: item2.glyph, size: 14, "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx("span", {}),
|
|
804
803
|
!collapsed && /* @__PURE__ */ jsxRuntime.jsx("span", { children: item2.label }),
|
|
805
804
|
!collapsed && item2.count !== void 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: item2.countTone === "accent" ? countAccent : navItemCount, children: item2.count })
|
|
806
805
|
] });
|