@semiont/react-ui 0.3.5 → 0.3.7
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.mjs +21 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/components/resource/panels/AssessmentEntry.tsx +5 -0
- package/src/components/resource/panels/CommentEntry.tsx +5 -0
- package/src/components/resource/panels/HighlightEntry.tsx +5 -0
- package/src/components/resource/panels/ReferenceEntry.tsx +5 -0
- package/src/components/resource/panels/TagEntry.tsx +5 -0
package/dist/index.mjs
CHANGED
|
@@ -46307,6 +46307,10 @@ function AssessmentEntry({
|
|
|
46307
46307
|
typeof assessment.creator === "string" ? assessment.creator : assessment.creator?.name || "Unknown",
|
|
46308
46308
|
" \u2022 ",
|
|
46309
46309
|
formatRelativeTime2(assessment.created || (/* @__PURE__ */ new Date()).toISOString())
|
|
46310
|
+
] }),
|
|
46311
|
+
assessment.generator && /* @__PURE__ */ jsxs19("div", { className: "semiont-annotation-entry__metadata", children: [
|
|
46312
|
+
"Via ",
|
|
46313
|
+
typeof assessment.generator === "string" ? assessment.generator : assessment.generator.name
|
|
46310
46314
|
] })
|
|
46311
46315
|
]
|
|
46312
46316
|
}
|
|
@@ -46908,6 +46912,10 @@ function CommentEntry({
|
|
|
46908
46912
|
" \u2022 ",
|
|
46909
46913
|
formatRelativeTime3(comment2.created || (/* @__PURE__ */ new Date()).toISOString())
|
|
46910
46914
|
] }),
|
|
46915
|
+
comment2.generator && /* @__PURE__ */ jsxs24("div", { className: "semiont-annotation-entry__metadata", children: [
|
|
46916
|
+
"Via ",
|
|
46917
|
+
typeof comment2.generator === "string" ? comment2.generator : comment2.generator.name
|
|
46918
|
+
] }),
|
|
46911
46919
|
annotateMode && /* @__PURE__ */ jsx34("div", { className: "semiont-annotation-entry__actions", onClick: (e6) => e6.stopPropagation(), children: /* @__PURE__ */ jsx34(
|
|
46912
46920
|
"button",
|
|
46913
46921
|
{
|
|
@@ -47158,6 +47166,10 @@ function HighlightEntry({
|
|
|
47158
47166
|
typeof highlight.creator === "string" ? highlight.creator : highlight.creator?.name || "Unknown",
|
|
47159
47167
|
" \u2022 ",
|
|
47160
47168
|
formatRelativeTime4(highlight.created || (/* @__PURE__ */ new Date()).toISOString())
|
|
47169
|
+
] }),
|
|
47170
|
+
highlight.generator && /* @__PURE__ */ jsxs26("div", { className: "semiont-annotation-entry__metadata", children: [
|
|
47171
|
+
"Via ",
|
|
47172
|
+
typeof highlight.generator === "string" ? highlight.generator : highlight.generator.name
|
|
47161
47173
|
] })
|
|
47162
47174
|
]
|
|
47163
47175
|
}
|
|
@@ -47462,7 +47474,11 @@ function ReferenceEntry({
|
|
|
47462
47474
|
children: type
|
|
47463
47475
|
},
|
|
47464
47476
|
index2
|
|
47465
|
-
)) })
|
|
47477
|
+
)) }),
|
|
47478
|
+
reference.generator && /* @__PURE__ */ jsxs29("div", { className: "semiont-annotation-entry__metadata", children: [
|
|
47479
|
+
"Via ",
|
|
47480
|
+
typeof reference.generator === "string" ? reference.generator : reference.generator.name
|
|
47481
|
+
] })
|
|
47466
47482
|
]
|
|
47467
47483
|
}
|
|
47468
47484
|
);
|
|
@@ -48018,6 +48034,10 @@ function TagEntry({
|
|
|
48018
48034
|
selectedText.substring(0, 150),
|
|
48019
48035
|
selectedText.length > 150 ? "..." : "",
|
|
48020
48036
|
'"'
|
|
48037
|
+
] }),
|
|
48038
|
+
tag.generator && /* @__PURE__ */ jsxs33("div", { className: "semiont-annotation-entry__metadata", children: [
|
|
48039
|
+
"Via ",
|
|
48040
|
+
typeof tag.generator === "string" ? tag.generator : tag.generator.name
|
|
48021
48041
|
] })
|
|
48022
48042
|
]
|
|
48023
48043
|
}
|