@eightyfourthousand/lib-editing 2026.6.0 → 2026.6.2
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.js +1 -1
- package/lib/components/editor/EditorProvider.js.map +1 -1
- package/lib/components/editor/TranslationEditor.js +2 -1
- package/lib/components/editor/TranslationEditor.js.map +1 -1
- package/lib/components/editor/extensions/EndNoteLink/EndNoteLinkMark.js +2 -1
- package/lib/components/editor/extensions/EndNoteLink/EndNoteLinkMark.js.map +1 -1
- package/lib/components/editor/extensions/GlossaryInstance/GlossaryInstanceNode.js +4 -1
- package/lib/components/editor/extensions/GlossaryInstance/GlossaryInstanceNode.js.map +1 -1
- package/lib/components/editor/extensions/GlossaryInstance/GlossaryInstanceNode.ssr.js +3 -1
- package/lib/components/editor/extensions/GlossaryInstance/GlossaryInstanceNode.ssr.js.map +1 -1
- package/lib/components/editor/extensions/InternalLink/InternalLink.js +4 -1
- package/lib/components/editor/extensions/InternalLink/InternalLink.js.map +1 -1
- package/lib/components/editor/extensions/InternalLink/InternalLink.ssr.js +3 -1
- package/lib/components/editor/extensions/InternalLink/InternalLink.ssr.js.map +1 -1
- package/lib/components/editor/extensions/Mention/Mention.d.ts +0 -10
- package/lib/components/editor/extensions/Mention/Mention.js +3 -0
- package/lib/components/editor/extensions/Mention/Mention.js.map +1 -1
- package/lib/components/editor/extensions/Mention/Mention.ssr.d.ts +11 -0
- package/lib/components/editor/extensions/Mention/Mention.ssr.js +18 -4
- package/lib/components/editor/extensions/Mention/Mention.ssr.js.map +1 -1
- package/lib/components/editor/extensions/Passage/EditLabel.d.ts +5 -2
- package/lib/components/editor/extensions/Passage/EditLabel.js +5 -5
- package/lib/components/editor/extensions/Passage/EditLabel.js.map +1 -1
- package/lib/components/editor/extensions/Passage/EditorOptions.d.ts +2 -2
- package/lib/components/editor/extensions/Passage/EditorOptions.js +4 -6
- package/lib/components/editor/extensions/Passage/EditorOptions.js.map +1 -1
- package/lib/components/editor/extensions/Passage/PassageMenuOverlay.d.ts +13 -0
- package/lib/components/editor/extensions/Passage/PassageMenuOverlay.js +150 -0
- package/lib/components/editor/extensions/Passage/PassageMenuOverlay.js.map +1 -0
- package/lib/components/editor/extensions/Passage/PassageNode.d.ts +33 -2
- package/lib/components/editor/extensions/Passage/PassageNode.js +294 -107
- package/lib/components/editor/extensions/Passage/PassageNode.js.map +1 -1
- package/lib/components/editor/extensions/Passage/PassageNode.ssr.js +70 -8
- package/lib/components/editor/extensions/Passage/PassageNode.ssr.js.map +1 -1
- package/lib/components/editor/extensions/Passage/ReaderOptions.d.ts +2 -2
- package/lib/components/editor/extensions/Passage/ReaderOptions.js +4 -7
- package/lib/components/editor/extensions/Passage/ReaderOptions.js.map +1 -1
- package/lib/components/editor/extensions/Passage/ShowAnnotations.d.ts +7 -2
- package/lib/components/editor/extensions/Passage/ShowAnnotations.js +10 -7
- package/lib/components/editor/extensions/Passage/ShowAnnotations.js.map +1 -1
- package/lib/components/editor/extensions/WordBreak.d.ts +41 -0
- package/lib/components/editor/extensions/WordBreak.js +59 -0
- package/lib/components/editor/extensions/WordBreak.js.map +1 -0
- package/lib/components/editor/extensions/translationSSRExtensions.js +4 -0
- package/lib/components/editor/extensions/translationSSRExtensions.js.map +1 -1
- package/lib/components/editor/hooks/useDefaultExtensions.d.ts +1 -1
- package/lib/components/editor/hooks/useDefaultExtensions.js +2 -0
- package/lib/components/editor/hooks/useDefaultExtensions.js.map +1 -1
- package/lib/components/editor/hooks/useTranslationExtensions.d.ts +1 -1
- package/lib/components/editor/hooks/useTranslationExtensions.js +2 -0
- package/lib/components/editor/hooks/useTranslationExtensions.js.map +1 -1
- package/lib/components/editor/menus/MainBubbleMenu.js +17 -4
- package/lib/components/editor/menus/MainBubbleMenu.js.map +1 -1
- package/lib/components/editor/menus/TranslationBubbleMenu.js +3 -2
- package/lib/components/editor/menus/TranslationBubbleMenu.js.map +1 -1
- package/lib/components/editor/menus/selectors/TextAlignSelector.d.ts +1 -1
- package/lib/components/editor/menus/selectors/TextAlignSelector.js +33 -24
- package/lib/components/editor/menus/selectors/TextAlignSelector.js.map +1 -1
- package/lib/components/editor/menus/selectors/TranslationNodeSelector.js +1 -1
- package/lib/components/editor/menus/selectors/TranslationNodeSelector.js.map +1 -1
- package/lib/components/editor/menus/selectors/WordBreakSelector.d.ts +4 -0
- package/lib/components/editor/menus/selectors/WordBreakSelector.js +38 -0
- package/lib/components/editor/menus/selectors/WordBreakSelector.js.map +1 -0
- package/lib/components/editor/menus/selectors/index.d.ts +1 -0
- package/lib/components/editor/menus/selectors/index.js +1 -0
- package/lib/components/editor/menus/selectors/index.js.map +1 -1
- package/lib/components/reader/TranslationSSRContent.js +3 -1
- package/lib/components/reader/TranslationSSRContent.js.map +1 -1
- package/lib/components/shared/LeftPanel.js +1 -1
- package/lib/components/shared/LeftPanel.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/hooks/useTohToggle.d.ts +2 -3
- package/lib/components/shared/hooks/useTohToggle.js +31 -30
- package/lib/components/shared/hooks/useTohToggle.js.map +1 -1
- package/lib/exporters/heading.js +3 -0
- package/lib/exporters/heading.js.map +1 -1
- package/lib/exporters/paragraph.js +5 -0
- package/lib/exporters/paragraph.js.map +1 -1
- package/lib/transformers/heading.js +2 -0
- package/lib/transformers/heading.js.map +1 -1
- package/lib/transformers/mention.js +2 -1
- package/lib/transformers/mention.js.map +1 -1
- package/lib/transformers/paragraph.js +3 -1
- package/lib/transformers/paragraph.js.map +1 -1
- package/package.json +7 -7
- package/lib/components/editor/extensions/Passage/Passage.d.ts +0 -3
- package/lib/components/editor/extensions/Passage/Passage.js +0 -86
- package/lib/components/editor/extensions/Passage/Passage.js.map +0 -1
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from '@eightyfourthousand/lib-utils';
|
|
3
|
-
import { NodeViewContent, NodeViewWrapper, } from '@tiptap/react';
|
|
4
|
-
import { Button, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DropdownMenu, DropdownMenuContent, DropdownMenuTrigger, } from '@eightyfourthousand/design-system';
|
|
5
|
-
import { EditorOptions } from './EditorOptions';
|
|
6
|
-
import { ReaderOptions } from './ReaderOptions';
|
|
7
|
-
import { memo, useCallback, useMemo, useState } from 'react';
|
|
8
|
-
import { EditLabel } from './EditLabel';
|
|
9
|
-
import { ShowAnnotations } from './ShowAnnotations';
|
|
10
|
-
import { LabeledElement, useNavigation, SuggestRevisionForm, PANEL_FOR_SECTION, TAB_FOR_SECTION, } from '../../../shared';
|
|
11
|
-
import { useBookmark } from '@eightyfourthousand/data-access';
|
|
12
|
-
import { BookmarkIcon } from 'lucide-react';
|
|
13
|
-
import { deleteEndnotePassageNode } from '../EndNoteLink/endnote-utils';
|
|
14
|
-
import { PASSAGE_CONTENT_CLASS, PASSAGE_INNER_CLASS, PASSAGE_LABEL_CLASS, PASSAGE_REFERENCES_CLASS, PASSAGE_WRAPPER_CLASS, } from './classes';
|
|
15
|
-
const PassageComponent = (props) => {
|
|
16
|
-
const { node, editor } = props;
|
|
17
|
-
const [isDialogOpen, setIsDialogOpen] = useState(false);
|
|
18
|
-
const [dialogType, setDialogType] = useState();
|
|
19
|
-
const [showRevisionForm, setShowRevisionForm] = useState(false);
|
|
20
|
-
const [dropdownOpen, setDropdownOpen] = useState(false);
|
|
21
|
-
const textContent = node.textContent || '';
|
|
22
|
-
const excerpt = textContent.slice(0, 100) + (textContent.length > 100 ? '...' : '');
|
|
23
|
-
const { panels, toh, updatePanel, imprint } = useNavigation();
|
|
24
|
-
const workTitle = imprint?.mainTitles?.en ?? toh;
|
|
25
|
-
const { isBookmarked, toggle: toggleBookmark } = useBookmark(node.attrs.uuid, {
|
|
26
|
-
type: 'passage',
|
|
27
|
-
subType: node.attrs.type,
|
|
28
|
-
tab: node.attrs.type ?? '',
|
|
29
|
-
label: node.attrs.label,
|
|
30
|
-
body: excerpt,
|
|
31
|
-
workTitle,
|
|
32
|
-
toh,
|
|
33
|
-
});
|
|
34
|
-
// Compute values directly instead of using effects to avoid re-render loops
|
|
35
|
-
const isCompare = panels.main.open && panels.main.tab === 'compare';
|
|
36
|
-
const { source, compareLeadingSpace } = useMemo(() => {
|
|
37
|
-
if (!isCompare || !toh) {
|
|
38
|
-
return { source: '', compareLeadingSpace: 'md:mt-1' };
|
|
39
|
-
}
|
|
40
|
-
const alignment = node.attrs.alignments?.[toh];
|
|
41
|
-
const source = alignment?.tibetan.trim() || '';
|
|
42
|
-
const firstChild = node.content.firstChild;
|
|
43
|
-
let compareLeadingSpace = 'md:mt-1';
|
|
44
|
-
if (firstChild?.attrs.hasLeadingSpace) {
|
|
45
|
-
compareLeadingSpace = 'md:mt-5';
|
|
46
|
-
}
|
|
47
|
-
else if (['lineGroup', 'list'].includes(firstChild?.type.name || '')) {
|
|
48
|
-
compareLeadingSpace = 'md:mt-2';
|
|
49
|
-
}
|
|
50
|
-
return { source, compareLeadingSpace };
|
|
51
|
-
}, [isCompare, toh, node.attrs.alignments, node.content.firstChild]);
|
|
52
|
-
const references = node.attrs.references;
|
|
53
|
-
const handleReferenceClick = useCallback((passage) => {
|
|
54
|
-
updatePanel({
|
|
55
|
-
name: PANEL_FOR_SECTION[passage.type] || 'main',
|
|
56
|
-
state: {
|
|
57
|
-
open: true,
|
|
58
|
-
tab: TAB_FOR_SECTION[passage.type] || 'translation',
|
|
59
|
-
hash: passage.uuid,
|
|
60
|
-
},
|
|
61
|
-
});
|
|
62
|
-
}, [updatePanel]);
|
|
63
|
-
const handleDeletePassage = useCallback(() => {
|
|
64
|
-
deleteEndnotePassageNode(editor, node.attrs.uuid);
|
|
65
|
-
setIsDialogOpen(false);
|
|
66
|
-
}, [node.attrs.uuid, editor]);
|
|
67
|
-
const className = PASSAGE_LABEL_CLASS;
|
|
68
|
-
const borderClassName = editor.storage.globalConfig.debug && node.attrs.invalid
|
|
69
|
-
? 'after:content-["⚠️"] after:absolute after:top-0 after:-right-5'
|
|
70
|
-
: '';
|
|
71
|
-
return (_jsxs(NodeViewWrapper, { id: node.attrs.uuid, as: "div", className: cn(PASSAGE_WRAPPER_CLASS, node.attrs.toh), children: [_jsx("div", { className: "w-full", children: _jsxs("div", { className: cn(PASSAGE_INNER_CLASS, borderClassName), children: [_jsxs(DropdownMenu, { open: dropdownOpen, onOpenChange: (open) => {
|
|
72
|
-
setDropdownOpen(open);
|
|
73
|
-
if (!open)
|
|
74
|
-
setShowRevisionForm(false);
|
|
75
|
-
}, children: [!editor.isEditable && isBookmarked && (_jsx("div", { className: "absolute -left-15.75 top-6 w-16 flex justify-end", children: _jsx(BookmarkIcon, { className: "text-accent size-3", fill: "currentColor" }) })), _jsx(DropdownMenuTrigger, { className: className, contentEditable: false, children: node.attrs.label || '' }), _jsx(DropdownMenuContent, { align: "start", alignOffset: 48, className: cn(showRevisionForm ? 'w-80' : 'w-64'), children: showRevisionForm ? (_jsx(SuggestRevisionForm, { toh: toh ?? '', type: 'passage', label: node.attrs.label ?? '', onClose: () => {
|
|
76
|
-
setShowRevisionForm(false);
|
|
77
|
-
setDropdownOpen(false);
|
|
78
|
-
} })) : editor.isEditable ? (_jsx(EditorOptions, { ...props, contentType: source ? 'compare' : node.attrs.type, onSelection: (item) => {
|
|
79
|
-
setDialogType(item);
|
|
80
|
-
setIsDialogOpen(true);
|
|
81
|
-
} })) : (_jsx(ReaderOptions, { ...props, contentType: source ? 'compare' : node.attrs.type, isBookmarked: isBookmarked, toggleBookmark: toggleBookmark, onSuggestRevision: () => setShowRevisionForm(true) })) })] }), _jsx(NodeViewContent, { className: PASSAGE_CONTENT_CLASS }), references && references.length > 0 && (_jsx("div", { className: PASSAGE_REFERENCES_CLASS, contentEditable: false, children: references.map((ref, index) => (_jsxs("span", { children: [index > 0 && ', ', _jsx(Button, { variant: "link", className: "p-0 h-6 font-normal hover:cursor-pointer", onClick: () => handleReferenceClick(ref), children: ref.label || ref.uuid.slice(0, 6) })] }, ref.uuid))) })), editor.isEditable && (_jsxs(Dialog, { open: isDialogOpen, onOpenChange: setIsDialogOpen, children: [dialogType === 'label' && (_jsx(EditLabel, { ...props, close: () => setIsDialogOpen(false) })), dialogType === 'attributes' && _jsx(ShowAnnotations, { ...props }), dialogType === 'delete' && (_jsxs(DialogContent, { className: "max-w-readable w-full font-serif", showCloseButton: false, children: [_jsxs(DialogHeader, { children: [_jsx(DialogTitle, { children: "Delete Passage" }), _jsxs(DialogDescription, { children: ["This will delete passage ", node.attrs.label, node.attrs.type === 'endnotes' &&
|
|
82
|
-
' and remove all links to it in the translation', ". This action cannot be undone after saving."] })] }), _jsxs(DialogFooter, { children: [_jsx(Button, { variant: "outline", onClick: () => setIsDialogOpen(false), children: "Cancel" }), _jsx(Button, { variant: "destructive", onClick: handleDeletePassage, children: "Delete" })] })] }))] }))] }) }), _jsx("div", { className: cn('w-full', source ? '' : 'hidden', compareLeadingSpace), contentEditable: false, "data-compare-source": true, children: _jsx(LabeledElement, { className: "mt-0.5", children: _jsx("div", { className: "leading-7 font-tibetan text-lg whitespace-normal mt-1.5 pb-4 md:pb-2", children: source }) }) })] }));
|
|
83
|
-
};
|
|
84
|
-
export const Passage = memo(PassageComponent);
|
|
85
|
-
export default Passage;
|
|
86
|
-
//# sourceMappingURL=Passage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Passage.js","sourceRoot":"","sources":["../../../../../../../../libs/lib-editing/src/lib/components/editor/extensions/Passage/Passage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAC;AACnD,OAAO,EACL,eAAe,EACf,eAAe,GAEhB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,MAAM,EACN,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,mBAAmB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