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.js
CHANGED
|
@@ -771,9 +771,8 @@ function NavGroup({ label: label4, items, activeId, onItemClick, renderLink, col
|
|
|
771
771
|
] });
|
|
772
772
|
}
|
|
773
773
|
function NavItem({ item: item2, active, onClick, renderLink, collapsed }) {
|
|
774
|
-
const glyphStyle = active ? { filter: "invert(1)" } : void 0;
|
|
775
774
|
const content3 = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
776
|
-
item2.glyph ? /* @__PURE__ */ jsx(Glyph, { name: item2.glyph, size: 14,
|
|
775
|
+
item2.glyph ? /* @__PURE__ */ jsx(Glyph, { name: item2.glyph, size: 14, "aria-hidden": "true" }) : /* @__PURE__ */ jsx("span", {}),
|
|
777
776
|
!collapsed && /* @__PURE__ */ jsx("span", { children: item2.label }),
|
|
778
777
|
!collapsed && item2.count !== void 0 && /* @__PURE__ */ jsx("span", { className: item2.countTone === "accent" ? countAccent : navItemCount, children: item2.count })
|
|
779
778
|
] });
|