@eightyfourthousand/lib-editing 2026.4.3 → 2026.5.0
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/lib/components/editor/EditorProvider.d.ts +2 -1
- package/lib/components/editor/EditorProvider.js +181 -112
- package/lib/components/editor/EditorProvider.js.map +1 -1
- package/lib/components/editor/PaginationProvider.js +28 -4
- package/lib/components/editor/PaginationProvider.js.map +1 -1
- package/lib/components/editor/TranslationBuilder.js +15 -2
- package/lib/components/editor/TranslationBuilder.js.map +1 -1
- package/lib/components/editor/extensions/EndNoteLink/EndNoteLinkHoverContent.d.ts +3 -1
- package/lib/components/editor/extensions/EndNoteLink/EndNoteLinkHoverContent.js +5 -7
- package/lib/components/editor/extensions/EndNoteLink/EndNoteLinkHoverContent.js.map +1 -1
- package/lib/components/editor/extensions/GlossaryInstance/GlossaryInstance.d.ts +3 -1
- package/lib/components/editor/extensions/GlossaryInstance/GlossaryInstance.js +39 -25
- package/lib/components/editor/extensions/GlossaryInstance/GlossaryInstance.js.map +1 -1
- package/lib/components/editor/extensions/GlossaryInstance/GlossaryInstanceNode.d.ts +4 -1
- package/lib/components/editor/extensions/GlossaryInstance/GlossaryInstanceNode.js +8 -6
- package/lib/components/editor/extensions/GlossaryInstance/GlossaryInstanceNode.js.map +1 -1
- package/lib/components/editor/extensions/GlossaryInstance/GlossarySearch.d.ts +11 -0
- package/lib/components/editor/extensions/GlossaryInstance/GlossarySearch.js +59 -0
- package/lib/components/editor/extensions/GlossaryInstance/GlossarySearch.js.map +1 -0
- package/lib/components/editor/extensions/InternalLink/InternalLink.js +5 -4
- package/lib/components/editor/extensions/InternalLink/InternalLink.js.map +1 -1
- package/lib/components/editor/extensions/InternalLink/InternalLinkHoverContent.d.ts +3 -1
- package/lib/components/editor/extensions/InternalLink/InternalLinkHoverContent.js +3 -5
- package/lib/components/editor/extensions/InternalLink/InternalLinkHoverContent.js.map +1 -1
- package/lib/components/editor/extensions/Link/LinkHoverContent.d.ts +3 -1
- package/lib/components/editor/extensions/Link/LinkHoverContent.js +3 -5
- package/lib/components/editor/extensions/Link/LinkHoverContent.js.map +1 -1
- package/lib/components/editor/extensions/Mention/MentionHoverContent.d.ts +3 -1
- package/lib/components/editor/extensions/Mention/MentionHoverContent.js +3 -5
- package/lib/components/editor/extensions/Mention/MentionHoverContent.js.map +1 -1
- package/lib/components/editor/extensions/Passage/EditorOptions.d.ts +4 -1
- package/lib/components/editor/extensions/Passage/EditorOptions.js +16 -4
- package/lib/components/editor/extensions/Passage/EditorOptions.js.map +1 -1
- package/lib/components/editor/extensions/Passage/Passage.js +10 -2
- package/lib/components/editor/extensions/Passage/Passage.js.map +1 -1
- package/lib/components/editor/extensions/Passage/PassageNode.js +63 -0
- package/lib/components/editor/extensions/Passage/PassageNode.js.map +1 -1
- package/lib/components/editor/extensions/Passage/ReaderOptions.js +6 -6
- package/lib/components/editor/extensions/Passage/ReaderOptions.js.map +1 -1
- package/lib/components/editor/menus/selectors/GlossarySelector.js +13 -9
- package/lib/components/editor/menus/selectors/GlossarySelector.js.map +1 -1
- package/lib/components/editor/save-filter.d.ts +4 -7
- package/lib/components/editor/save-filter.js +27 -11
- package/lib/components/editor/save-filter.js.map +1 -1
- package/lib/components/shared/HoverCardProvider.d.ts +2 -16
- package/lib/components/shared/HoverCardProvider.js +35 -52
- package/lib/components/shared/HoverCardProvider.js.map +1 -1
- package/lib/components/shared/LabeledElement.d.ts +3 -1
- package/lib/components/shared/LabeledElement.js +6 -4
- package/lib/components/shared/LabeledElement.js.map +1 -1
- package/lib/components/shared/NavigationProvider.js +1 -1
- package/lib/components/shared/NavigationProvider.js.map +1 -1
- package/lib/components/shared/SearchReplacePanel.js +5 -2
- package/lib/components/shared/SearchReplacePanel.js.map +1 -1
- package/lib/components/shared/SourceReader.js +1 -1
- package/lib/components/shared/SourceReader.js.map +1 -1
- package/lib/components/shared/bibliography/BibliographyBody.js +4 -1
- package/lib/components/shared/bibliography/BibliographyBody.js.map +1 -1
- package/lib/components/shared/bibliography/BibliographyList.js +1 -1
- package/lib/components/shared/bibliography/BibliographyList.js.map +1 -1
- package/lib/components/shared/glossary/GlossaryTermList.js +1 -1
- package/lib/components/shared/glossary/GlossaryTermList.js.map +1 -1
- package/lib/passage.d.ts +4 -1
- package/lib/passage.js +28 -1
- package/lib/passage.js.map +1 -1
- package/package.json +7 -7
- package/lib/components/editor/extensions/GlossaryInstance/GlossaryInput.d.ts +0 -4
- package/lib/components/editor/extensions/GlossaryInstance/GlossaryInput.js +0 -22
- package/lib/components/editor/extensions/GlossaryInstance/GlossaryInput.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eightyfourthousand/lib-editing",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.5.0",
|
|
4
4
|
"description": "Shared editing and reader components for 84000 translation workflows.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@eightyfourthousand/client-graphql": "^2026.
|
|
21
|
-
"@eightyfourthousand/data-access": "^2026.
|
|
22
|
-
"@eightyfourthousand/design-system": "^2026.
|
|
23
|
-
"@eightyfourthousand/lib-instr": "^2026.
|
|
24
|
-
"@eightyfourthousand/lib-search": "^2026.
|
|
25
|
-
"@eightyfourthousand/lib-utils": "^2026.
|
|
20
|
+
"@eightyfourthousand/client-graphql": "^2026.5.0",
|
|
21
|
+
"@eightyfourthousand/data-access": "^2026.5.0",
|
|
22
|
+
"@eightyfourthousand/design-system": "^2026.5.0",
|
|
23
|
+
"@eightyfourthousand/lib-instr": "^2026.5.0",
|
|
24
|
+
"@eightyfourthousand/lib-search": "^2026.5.0",
|
|
25
|
+
"@eightyfourthousand/lib-utils": "^2026.5.0",
|
|
26
26
|
"@floating-ui/react": "^0.27.16",
|
|
27
27
|
"@tanstack/react-table": "^8.21.2",
|
|
28
28
|
"@tiptap/core": "^3.13.0",
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button, Input } from '@eightyfourthousand/design-system';
|
|
3
|
-
import { CheckIcon, Trash2Icon } from 'lucide-react';
|
|
4
|
-
import { useRef } from 'react';
|
|
5
|
-
export const GlossaryInput = ({ uuid, onSubmit, }) => {
|
|
6
|
-
const uuidRef = useRef(null);
|
|
7
|
-
const submit = () => {
|
|
8
|
-
onSubmit(uuidRef.current?.value);
|
|
9
|
-
};
|
|
10
|
-
return (_jsxs("div", { className: "flex space-x-1 items-center", children: [_jsx(Input, { ref: uuidRef, placeholder: "Glossary uuid...", value: uuid, onKeyDown: (e) => {
|
|
11
|
-
if (e.key === 'Enter') {
|
|
12
|
-
e.preventDefault();
|
|
13
|
-
submit();
|
|
14
|
-
}
|
|
15
|
-
} }), _jsx(Button, { size: "icon", variant: "ghost", disabled: !!uuidRef.current, onClick: submit, children: _jsx(CheckIcon, {}) }), _jsx(Button, { variant: "ghost", size: "icon", type: "button", onClick: () => {
|
|
16
|
-
if (uuidRef.current) {
|
|
17
|
-
uuidRef.current.value = '';
|
|
18
|
-
}
|
|
19
|
-
onSubmit();
|
|
20
|
-
}, children: _jsx(Trash2Icon, { className: "text-destructive" }) })] }));
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=GlossaryInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GlossaryInput.js","sourceRoot":"","sources":["../../../../../../../../libs/lib-editing/src/lib/components/editor/extensions/GlossaryInstance/GlossaryInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,OA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