@canopy-iiif/app 1.5.14 → 1.5.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canopy-iiif/app",
3
- "version": "1.5.14",
3
+ "version": "1.5.15",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "Mat Jordan <mat@northwestern.edu>",
package/ui/dist/index.mjs CHANGED
@@ -809,7 +809,7 @@ function NavigationTreeItem({ node, depth, nodeKey }) {
809
809
  "data-expanded": allowToggle ? defaultExpanded ? "true" : "false" : void 0,
810
810
  "data-default-expanded": allowToggle && defaultExpanded ? "true" : void 0
811
811
  },
812
- /* @__PURE__ */ React14.createElement("div", { className: "canopy-nav-tree__row" }, /* @__PURE__ */ React14.createElement(
812
+ /* @__PURE__ */ React14.createElement("div", { className: "canopy-nav-tree__row" }, /* @__PURE__ */ React14.createElement("div", { className: "canopy-nav-tree__link-wrapper" }, /* @__PURE__ */ React14.createElement(
813
813
  Tag,
814
814
  {
815
815
  className: classes.join(" "),
@@ -819,7 +819,7 @@ function NavigationTreeItem({ node, depth, nodeKey }) {
819
819
  },
820
820
  node.title || node.slug,
821
821
  isRoadmap ? /* @__PURE__ */ React14.createElement("span", { className: "canopy-nav-tree__badge" }, "Roadmap") : null
822
- ), allowToggle ? /* @__PURE__ */ React14.createElement(
822
+ )), allowToggle ? /* @__PURE__ */ React14.createElement(
823
823
  "button",
824
824
  {
825
825
  type: "button",
@@ -839,7 +839,14 @@ function NavigationTreeItem({ node, depth, nodeKey }) {
839
839
  strokeWidth: "1.5",
840
840
  className: "canopy-nav-tree__toggle-icon"
841
841
  },
842
- /* @__PURE__ */ React14.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M5 9l7 7 7-7" })
842
+ /* @__PURE__ */ React14.createElement(
843
+ "path",
844
+ {
845
+ strokeLinecap: "round",
846
+ strokeLinejoin: "round",
847
+ d: "M5 9l7 7 7-7"
848
+ }
849
+ )
843
850
  ),
844
851
  /* @__PURE__ */ React14.createElement("span", { className: "sr-only" }, toggleLabel)
845
852
  ) : null),
@@ -884,7 +891,14 @@ function NavigationTree({
884
891
  ...rest
885
892
  },
886
893
  heading ? /* @__PURE__ */ React14.createElement("div", { className: headingClassName }, heading) : null,
887
- /* @__PURE__ */ React14.createElement(NavigationTreeList, { nodes, depth: includeRoot ? -1 : 0, parentKey })
894
+ /* @__PURE__ */ React14.createElement(
895
+ NavigationTreeList,
896
+ {
897
+ nodes,
898
+ depth: includeRoot ? -1 : 0,
899
+ parentKey
900
+ }
901
+ )
888
902
  );
889
903
  }
890
904