@canopy-iiif/app 1.9.7 → 1.9.8

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.
@@ -1119,13 +1119,11 @@ function NavigationTreeList({ nodes, depth, parentKey }) {
1119
1119
  function NavigationTreeItem({ node, depth, nodeKey }) {
1120
1120
  if (!node) return null;
1121
1121
  const hasChildren = Array.isArray(node.children) && node.children.length > 0;
1122
- const isRoadmap = !!node.isRoadmap;
1123
- const isInteractive = !!(node.href && !isRoadmap);
1122
+ const isInteractive = !!node.href;
1124
1123
  const Tag = isInteractive ? "a" : "span";
1125
1124
  const depthClass = `depth-${normalizeDepth(depth + 1)}`;
1126
1125
  const classes = ["canopy-nav-tree__link", depthClass];
1127
- if (!isInteractive && !isRoadmap) classes.push("is-label");
1128
- if (isRoadmap) classes.push("is-disabled");
1126
+ if (!isInteractive) classes.push("is-label");
1129
1127
  if (node.isActive) classes.push("is-active");
1130
1128
  const isRootLevel = depth < 0;
1131
1129
  const panelId = hasChildren ? `canopy-section-${nodeKey}` : null;
@@ -1149,8 +1147,7 @@ function NavigationTreeItem({ node, depth, nodeKey }) {
1149
1147
  "aria-current": node.isActive ? "page" : void 0,
1150
1148
  tabIndex: isInteractive ? void 0 : -1
1151
1149
  },
1152
- node.title || node.slug,
1153
- isRoadmap ? /* @__PURE__ */ React11.createElement("span", { className: "canopy-nav-tree__badge" }, "Roadmap") : null
1150
+ node.title || node.slug
1154
1151
  )), allowToggle ? /* @__PURE__ */ React11.createElement(
1155
1152
  "button",
1156
1153
  {