@cu-mkp/editioncrafter 1.3.1-beta.4 → 1.3.1-beta.5

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.
@@ -54025,13 +54025,13 @@ function Gte(e) {
54025
54025
  };
54026
54026
  return /* @__PURE__ */ B.jsxs(Nh, { className: "surface-thumbnail", children: [
54027
54027
  /* @__PURE__ */ B.jsxs("figure", { className: "surface-thumbnail-figure", children: [
54028
- f ? /* @__PURE__ */ B.jsx("div", { className: "surface-thumbnail-overlay-selected left", children: /* @__PURE__ */ B.jsxs("div", { children: [
54028
+ f ? /* @__PURE__ */ B.jsx("div", { className: "surface-thumbnail-overlay-selected left", children: /* @__PURE__ */ B.jsx("a", { onDoubleClick: s.right, children: /* @__PURE__ */ B.jsxs("div", { children: [
54029
54029
  /* @__PURE__ */ B.jsx(ZP, {}),
54030
54030
  /* @__PURE__ */ B.jsx(Kn, { children: "Left" })
54031
- ] }) }) : p ? /* @__PURE__ */ B.jsx("div", { className: "surface-thumbnail-overlay-selected right", children: /* @__PURE__ */ B.jsxs("div", { children: [
54031
+ ] }) }) }) : p ? /* @__PURE__ */ B.jsx("div", { className: "surface-thumbnail-overlay-selected right", children: /* @__PURE__ */ B.jsx("a", { onDoubleClick: s.left, children: /* @__PURE__ */ B.jsxs("div", { children: [
54032
54032
  /* @__PURE__ */ B.jsx(KP, {}),
54033
54033
  /* @__PURE__ */ B.jsx(Kn, { children: "Right" })
54034
- ] }) }) : /* @__PURE__ */ B.jsx("div", { className: "surface-thumbnail-overlay", children: /* @__PURE__ */ B.jsxs("div", { className: "surface-thumbnail-overlay-content", children: [
54034
+ ] }) }) }) : /* @__PURE__ */ B.jsx("div", { className: "surface-thumbnail-overlay", children: /* @__PURE__ */ B.jsxs("div", { className: "surface-thumbnail-overlay-content", children: [
54035
54035
  /* @__PURE__ */ B.jsx("a", { onClick: s.left, title: "Insert left", children: /* @__PURE__ */ B.jsx(Hte, {}) }),
54036
54036
  /* @__PURE__ */ B.jsx("a", { onClick: s.right, title: "Insert right", children: /* @__PURE__ */ B.jsx(Vte, {}) })
54037
54037
  ] }) }),
@@ -54431,7 +54431,7 @@ function ine(e, n) {
54431
54431
  c[u.local_id] = {
54432
54432
  documentName: u.name,
54433
54433
  transcriptionTypes: s,
54434
- iiifManifest: `${i}/${u.local_id}/iiif/manifest.json`
54434
+ iiifManifest: `${i}/${u.local_id}/iiif/`
54435
54435
  };
54436
54436
  return {
54437
54437
  documentName: r,
@@ -86,19 +86,23 @@ function Thumbnail(props) {
86
86
  {isLeft
87
87
  ? (
88
88
  <div className="surface-thumbnail-overlay-selected left">
89
- <div>
90
- <Left />
91
- <Typography>Left</Typography>
92
- </div>
89
+ <a onDoubleClick={onClick.right}>
90
+ <div>
91
+ <Left />
92
+ <Typography>Left</Typography>
93
+ </div>
94
+ </a>
93
95
  </div>
94
96
  )
95
97
  : isRight
96
98
  ? (
97
99
  <div className="surface-thumbnail-overlay-selected right">
98
- <div>
99
- <Right />
100
- <Typography>Right</Typography>
101
- </div>
100
+ <a onDoubleClick={onClick.left}>
101
+ <div>
102
+ <Right />
103
+ <Typography>Right</Typography>
104
+ </div>
105
+ </a>
102
106
  </div>
103
107
  )
104
108
  : (
@@ -55,7 +55,7 @@ function generateECProps(props, db) {
55
55
  documentInfo[document.local_id] = {
56
56
  documentName: document.name,
57
57
  transcriptionTypes,
58
- iiifManifest: `${baseURL}/${document.local_id}/iiif/manifest.json`,
58
+ iiifManifest: `${baseURL}/${document.local_id}/iiif/`,
59
59
  }
60
60
  }
61
61
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cu-mkp/editioncrafter",
3
3
  "type": "module",
4
- "version": "1.3.1-beta.4",
4
+ "version": "1.3.1-beta.5",
5
5
  "private": false,
6
6
  "description": "A simple digital critical edition publication tool",
7
7
  "license": "MIT",